2020-04-12 04:06:04 +08:00
|
|
|
import treeCache from './services/tree_cache.js';
|
2020-03-01 18:04:42 +08:00
|
|
|
import options from "./services/options.js";
|
2020-01-12 18:15:23 +08:00
|
|
|
import appContext from "./services/app_context.js";
|
2020-04-12 04:06:04 +08:00
|
|
|
import glob from './services/glob.js';
|
|
|
|
import noteContentRenderer from "./services/note_content_renderer.js";
|
2020-03-01 18:04:42 +08:00
|
|
|
import FlexContainer from "./widgets/flex_container.js";
|
|
|
|
import EmptyTypeWidget from "./widgets/type_widgets/empty.js";
|
2020-04-12 04:06:04 +08:00
|
|
|
import AbstractTextTypeWidget from "./widgets/type_widgets/abstract_text_type_widget.js";
|
|
|
|
import EditableTextTypeWidget from "./widgets/type_widgets/editable_text.js";
|
|
|
|
import ReadonlyTextTypeWidget from "./widgets/type_widgets/read_only_text.js";
|
|
|
|
import DeletedTypeWidget from "./widgets/type_widgets/deleted.js";
|
2020-03-01 18:04:42 +08:00
|
|
|
import CodeTypeWidget from "./widgets/type_widgets/code.js";
|
|
|
|
import FileTypeWidget from "./widgets/type_widgets/file.js";
|
|
|
|
import ImageTypeWidget from "./widgets/type_widgets/image.js";
|
|
|
|
import SearchTypeWidget from "./widgets/type_widgets/search.js";
|
|
|
|
import RenderTypeWidget from "./widgets/type_widgets/render.js";
|
|
|
|
import RelationMapTypeWidget from "./widgets/type_widgets/relation_map.js";
|
|
|
|
import ProtectedSessionTypeWidget from "./widgets/type_widgets/protected_session.js";
|
|
|
|
import BookTypeWidget from "./widgets/type_widgets/book.js";
|
|
|
|
import MobileLayout from "./widgets/mobile_layout.js";
|
2020-04-12 04:06:04 +08:00
|
|
|
import utils from "./services/utils.js";
|
|
|
|
import link from './services/link.js';
|
|
|
|
import ws from './services/ws.js';
|
|
|
|
import noteType from './widgets/note_type.js';
|
|
|
|
import protectedSessionService from './services/protected_session.js';
|
|
|
|
import protectedSessionHolder from './services/protected_session_holder.js';
|
|
|
|
import treeService from './services/tree.js';
|
|
|
|
import branchService from './services/branches.js';
|
|
|
|
import server from './services/server.js';
|
|
|
|
import Entrypoints from './services/entrypoints.js';
|
|
|
|
import noteTooltipService from './services/note_tooltip.js';
|
|
|
|
import bundle from "./services/bundle.js";
|
|
|
|
import libraryLoader from "./services/library_loader.js";
|
|
|
|
import hoistedNoteService from './services/hoisted_note.js';
|
|
|
|
import noteTypeService from './widgets/note_type.js';
|
|
|
|
import linkService from './services/link.js';
|
|
|
|
import dateNoteService from './services/date_notes.js';
|
|
|
|
import importService from './services/import.js';
|
|
|
|
import keyboardActionService from "./services/keyboard_actions.js";
|
|
|
|
import splitService from "./services/split.js";
|
|
|
|
import GlobalMenuWidget from "./widgets/global_menu.js";
|
|
|
|
import TabRowWidget from "./widgets/tab_row.js";
|
|
|
|
import NoteTreeWidget from "./widgets/note_tree.js";
|
|
|
|
import treeBuilderService from "./services/tree_builder.js";
|
|
|
|
import spacedUpdateService from "./services/spaced_update.js";
|
|
|
|
import toastService from "./services/toast.js";
|
|
|
|
import BasicWidget from "./widgets/basic_widget.js";
|
|
|
|
import TabAwareWidget from "./widgets/tab_aware_widget.js";
|
|
|
|
import TabCachingWidget from "./widgets/tab_caching_widget.js";
|
|
|
|
import NoteTitleWidget from "./widgets/note_title.js";
|
|
|
|
import PromotedAttributesWidget from "./widgets/promoted_attributes.js";
|
|
|
|
import NoteDetailWidget from "./widgets/note_detail.js";
|
|
|
|
import bundleService from "./services/bundle.js";
|
|
|
|
import dialogCommandExecutor from "./services/dialog_command_executor.js";
|
|
|
|
import mainTreeExecutor from "./services/main_tree_executors.js";
|
|
|
|
import zoom from "./services/zoom.js";
|
|
|
|
import tabManager from "./services/tab_manager.js";
|
|
|
|
import tabContext from "./services/tab_context.js";
|
|
|
|
import Component from "./widgets/component.js";
|
|
|
|
import mimeTypes from "./services/mime_types.js";
|
|
|
|
import screenContainer from "./widgets/screen_container.js";
|
|
|
|
import clipboard from "./services/clipboard.js";
|
|
|
|
import renderService from "./services/render.js";
|
|
|
|
import NoteShort from "./entities/note_short.js"
|
|
|
|
import NoteCompletement from "./entities/note_complement.js"
|
|
|
|
import Branch from "./entities/branch.js"
|
|
|
|
import Attribute from "./entities/attribute.js"
|
|
|
|
import mutex from "./services/mutex.js"
|
|
|
|
import noteCreateService from "./services/note_create.js"
|
|
|
|
import closeDetailWidget from "./widgets/close_detail_button.js"
|
|
|
|
import mobileDetailMenu from "./widgets/mobile_detail_menu.js"
|
|
|
|
import mobileGlobalButtons from "./widgets/mobile_global_buttons.js"
|
|
|
|
import mobileScreenSwitcher from "./widgets/mobile_screen_switcher.js";
|
|
|
|
import frontendScriptApi from "./services/frontend_script_api.js";
|
|
|
|
import CollapsibleWidget from "./widgets/collapsible_widget.js";
|
|
|
|
import LoadResults from "./services/load_results.js";
|
|
|
|
import syncService from "./services/sync.js";
|
2020-03-01 18:04:42 +08:00
|
|
|
|
|
|
|
appContext.setLayout(new MobileLayout());
|
|
|
|
appContext.start();
|