mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
38 lines
1.6 KiB
TypeScript
38 lines
1.6 KiB
TypeScript
![]() |
import type RootContainer from "../widgets/containers/root_container.js";
|
||
|
|
||
|
import AboutDialog from "../widgets/dialogs/about.js";
|
||
|
import HelpDialog from "../widgets/dialogs/help.js";
|
||
|
import JumpToNoteDialog from "../widgets/dialogs/jump_to_note.js";
|
||
|
import RecentChangesDialog from "../widgets/dialogs/recent_changes.js";
|
||
|
import PromptDialog from "../widgets/dialogs/prompt.js";
|
||
|
import AddLinkDialog from "../widgets/dialogs/add_link.js";
|
||
|
import IncludeNoteDialog from "../widgets/dialogs/include_note.js";
|
||
|
import BulkActionsDialog from "../widgets/dialogs/bulk_actions.js";
|
||
|
|
||
|
export function applyModals(rootContainer: RootContainer) {
|
||
|
rootContainer
|
||
|
.child(new BulkActionsDialog())
|
||
|
.child(new AboutDialog())
|
||
|
.child(new HelpDialog())
|
||
|
.child(new RecentChangesDialog())
|
||
|
// .child(new BranchPrefixDialog())
|
||
|
// .child(new SortChildNotesDialog())
|
||
|
// .child(new PasswordNoteSetDialog())
|
||
|
.child(new IncludeNoteDialog())
|
||
|
// .child(new NoteTypeChooserDialog())
|
||
|
.child(new JumpToNoteDialog())
|
||
|
.child(new AddLinkDialog())
|
||
|
// .child(new CloneToDialog())
|
||
|
// .child(new MoveToDialog())
|
||
|
// .child(new ImportDialog())
|
||
|
// .child(new ExportDialog())
|
||
|
// .child(new UploadAttachmentsDialog())
|
||
|
// .child(new MarkdownImportDialog())
|
||
|
// .child(new ProtectedSessionPasswordDialog())
|
||
|
// .child(new RevisionsDialog())
|
||
|
// .child(new DeleteNotesDialog())
|
||
|
// .child(new InfoDialog())
|
||
|
// .child(new ConfirmDialog())
|
||
|
.child(new PromptDialog())
|
||
|
}
|