2025-04-12 09:51:16 +03:00
|
|
|
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";
|
2025-04-12 09:53:58 +03:00
|
|
|
import BranchPrefixDialog from "../widgets/dialogs/branch_prefix.js";
|
2025-04-12 09:55:02 +03:00
|
|
|
import SortChildNotesDialog from "../widgets/dialogs/sort_child_notes.js";
|
2025-04-12 10:01:31 +03:00
|
|
|
import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js";
|
2025-04-12 10:06:27 +03:00
|
|
|
import MoveToDialog from "../widgets/dialogs/move_to.js";
|
|
|
|
|
import CloneToDialog from "../widgets/dialogs/clone_to.js";
|
2025-04-12 10:09:52 +03:00
|
|
|
import ImportDialog from "../widgets/dialogs/import.js";
|
|
|
|
|
import ExportDialog from "../widgets/dialogs/export.js";
|
2025-04-12 10:11:42 +03:00
|
|
|
import MarkdownImportDialog from "../widgets/dialogs/markdown_import.js";
|
2025-04-12 10:13:12 +03:00
|
|
|
import ProtectedSessionPasswordDialog from "../widgets/dialogs/protected_session_password.js";
|
|
|
|
|
import ConfirmDialog from "../widgets/dialogs/confirm.js";
|
2025-04-12 10:31:53 +03:00
|
|
|
import RevisionsDialog from "../widgets/dialogs/revisions.js";
|
2025-04-12 09:51:16 +03:00
|
|
|
|
|
|
|
|
export function applyModals(rootContainer: RootContainer) {
|
|
|
|
|
rootContainer
|
|
|
|
|
.child(new BulkActionsDialog())
|
|
|
|
|
.child(new AboutDialog())
|
|
|
|
|
.child(new HelpDialog())
|
|
|
|
|
.child(new RecentChangesDialog())
|
2025-04-12 09:53:58 +03:00
|
|
|
.child(new BranchPrefixDialog())
|
2025-04-12 09:55:02 +03:00
|
|
|
.child(new SortChildNotesDialog())
|
2025-04-12 09:51:16 +03:00
|
|
|
.child(new IncludeNoteDialog())
|
2025-04-12 10:01:31 +03:00
|
|
|
.child(new NoteTypeChooserDialog())
|
2025-04-12 09:51:16 +03:00
|
|
|
.child(new JumpToNoteDialog())
|
|
|
|
|
.child(new AddLinkDialog())
|
2025-04-12 10:06:27 +03:00
|
|
|
.child(new CloneToDialog())
|
|
|
|
|
.child(new MoveToDialog())
|
2025-04-12 10:09:52 +03:00
|
|
|
.child(new ImportDialog())
|
|
|
|
|
.child(new ExportDialog())
|
2025-04-12 10:11:42 +03:00
|
|
|
.child(new MarkdownImportDialog())
|
2025-04-12 10:13:12 +03:00
|
|
|
.child(new ProtectedSessionPasswordDialog())
|
2025-04-12 10:31:53 +03:00
|
|
|
.child(new RevisionsDialog())
|
2025-04-12 09:51:16 +03:00
|
|
|
// .child(new DeleteNotesDialog())
|
|
|
|
|
// .child(new InfoDialog())
|
2025-04-12 10:13:12 +03:00
|
|
|
.child(new ConfirmDialog())
|
2025-04-12 09:51:16 +03:00
|
|
|
.child(new PromptDialog())
|
|
|
|
|
}
|