@hiai-gg/docsmint 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/backend/index.js +49330 -66661
- package/dist/backend-account-runtime-cleanup.js +291 -291
- package/dist/backend-api-key-facade.js +4 -4
- package/dist/backend-pipeline-cancellation.js +285 -285
- package/dist/frontend/CategoryDialog-CVJi5PJu.js +602 -0
- package/dist/frontend/{ConfirmDialog-B1MjKlVQ.js → ConfirmDialog-0JwB8mKN.js} +5 -8
- package/dist/frontend/{CreateSnapshotDialog-BTMoPFdj.js → CreateSnapshotDialog-BLrtuYs5.js} +63 -68
- package/dist/frontend/{DatePicker-Bmjko3X7.js → DatePicker-BwSb8TRv.js} +17 -29
- package/dist/frontend/{DeleteDialog-BkfIeKXO.js → DeleteDialog-s7Dr6bXg.js} +51 -56
- package/dist/frontend/{FolderNode-Do8pIfyA.js → FolderNode-Y7cV9xeX.js} +105 -106
- package/dist/frontend/{FolderTreeSelector-FyxhcHjr.js → FolderTreeSelector-BR3lYmPU.js} +18 -20
- package/dist/frontend/HiAiEditor-BQERr-cd.js +3077 -0
- package/dist/frontend/{HiaiDocsExtensionProvider-Cc3yzW5I.js → HiaiDocsExtensionProvider-A2nGddUR.js} +2 -3
- package/dist/frontend/{Icon-3EYzvNyk.js → Icon-CiHcxcpv.js} +1 -2
- package/dist/frontend/SettingsDialog-BvS74JZu.js +978 -0
- package/dist/frontend/{ShareDialog-Ddvl7xvb.js → ShareDialog-Bo50h_Oe.js} +23 -25
- package/dist/frontend/Sidebar-i0kbanpg.js +2123 -0
- package/dist/frontend/{TagCreateDialog-DQmMJe_E.js → TagCreateDialog-DhKfsfv3.js} +78 -86
- package/dist/frontend/action_cancel-BdsWzQKU.js +4 -0
- package/dist/frontend/action_close-CVhfLPRQ.js +4 -0
- package/dist/frontend/action_create-ByaroO1_.js +4 -0
- package/dist/frontend/action_delete-SRloglWY.js +4 -0
- package/dist/frontend/action_go_to-DO1bicF-.js +4 -0
- package/dist/frontend/action_loading-iQ0KsN6i.js +4 -0
- package/dist/frontend/action_save-DeqrZQwV.js +4 -0
- package/dist/frontend/api/attachments.js +1 -2
- package/dist/frontend/api/categories.js +1 -2
- package/dist/frontend/api/documents.js +1 -2
- package/dist/frontend/api/folders.js +1 -2
- package/dist/frontend/api/settings.js +1 -2
- package/dist/frontend/api/share.js +1 -2
- package/dist/frontend/api/tags.js +1 -2
- package/dist/frontend/{api-keys-DIwAdYkg.js → api-keys-B63imiLr.js} +2 -3
- package/dist/frontend/app-shell.js +55 -79
- package/dist/frontend/{attachments-C225gTA7.js → attachments-Bfly-sam.js} +2 -3
- package/dist/frontend/{auth-client-C5EyWdAF.js → auth-client-Dx7d9Tzo.js} +252 -253
- package/dist/frontend/{bundle-mjs-CZ3g1Uzr.js → bundle-mjs-clTO1WW-.js} +5 -23
- package/dist/frontend/{camera-DtgHzfVI.js → camera-DsdOPOcD.js} +2 -3
- package/dist/frontend/{categories-C8AAkhCR.js → categories-CusvHb5Y.js} +3 -4
- package/dist/frontend/{categories_update_error-4aSI8PTr.js → categories_update_error-Cn8DBBHv.js} +2 -3
- package/dist/frontend/{check-DVx65aSv.js → check-DiMZRkKS.js} +2 -3
- package/dist/frontend/{chevron-down-C2tbZ8Ol.js → chevron-down-CxFrMFDJ.js} +2 -3
- package/dist/frontend/{circle-check-BAN-D7yg.js → circle-check-B4F_qgPx.js} +2 -3
- package/dist/frontend/{client-GbtOH90i.js → client-BDdDd84W.js} +1 -2
- package/dist/frontend/{clipboard-Cgzxc0_R.js → clipboard-Dt1oW6nm.js} +1 -2
- package/dist/frontend/{clock-ByiB0SwQ.js → clock-dcpueRk-.js} +2 -3
- package/dist/frontend/collaboration.js +6 -12
- package/dist/frontend/components/category-dialog.js +1 -2
- package/dist/frontend/components/create-snapshot-dialog.js +1 -2
- package/dist/frontend/components/delete-dialog.js +1 -2
- package/dist/frontend/components/editor/compact-editor.js +2 -3
- package/dist/frontend/components/editor/document-editor.js +1 -2
- package/dist/frontend/components/editor/document-title.js +3 -4
- package/dist/frontend/components/editor/docx-serializer.js +123 -167
- package/dist/frontend/components/editor/extensions.js +1 -2
- package/dist/frontend/components/editor/markdown-toggle.js +5 -6
- package/dist/frontend/components/editor/markdown.js +1 -2
- package/dist/frontend/components/folder-node.js +1 -2
- package/dist/frontend/components/folder-tree-selector.js +1 -2
- package/dist/frontend/components/save-as-dialog.js +86 -90
- package/dist/frontend/components/settings.js +1 -2
- package/dist/frontend/components/share-dialog.js +1 -2
- package/dist/frontend/components/sidebar.js +1 -2
- package/dist/frontend/components/tag-create-dialog.js +1 -2
- package/dist/frontend/components/version-history.js +177 -180
- package/dist/frontend/{context-D0zPFXZ4.js → context-BguSRnCt.js} +1 -2
- package/dist/frontend/{copy-CRzvfZGb.js → copy-Bag46YaR.js} +2 -3
- package/dist/frontend/dashboard.js +666 -690
- package/dist/frontend/{db-CgTtukT4.js → db-B1ZV452J.js} +22 -39
- package/dist/frontend/{dialog-a_ZcpEC5.js → dialog-C0Bpok1d.js} +10 -18
- package/dist/frontend/{dist-CcHOStsA.js → dist-BlcV_BOY.js} +2 -3
- package/dist/frontend/{dist-qd_OnyUC.js → dist-DjId3RKL.js} +8 -21
- package/dist/frontend/dist-Dl9qg10h.js +301 -0
- package/dist/frontend/{dndzone-CDhrbpTg.js → dndzone-C62yjeG3.js} +38 -53
- package/dist/frontend/doc-tabs.js +1 -2
- package/dist/frontend/doc_title_label-BOuZzvqv.js +4 -0
- package/dist/frontend/doc_title_placeholder-ZxpdWWEn.js +4 -0
- package/dist/frontend/{document-drop-coordinator-Da7HcXgv.js → document-drop-coordinator-C_o93kKW.js} +3 -4
- package/dist/frontend/document-drop-coordinator.js +1 -2
- package/dist/frontend/{documents-CwCs1rA7.js → documents-CDJb8dv-.js} +4 -8
- package/dist/frontend/{dropdown-menu-DrHYReIC.js → dropdown-menu-B3nk2aM-.js} +13 -24
- package/dist/frontend/{editor-content-sanitizer-CWjqiz0T.js → editor-content-sanitizer-5MjSVPVn.js} +1 -2
- package/dist/frontend/editor-preferences.js +1 -2
- package/dist/frontend/{editor-preferences.svelte-Bt_A9k7n.js → editor-preferences.svelte-BpTE4mbz.js} +3 -5
- package/dist/frontend/{editorExtensions-DPR-CjMu.js → editorExtensions-DbiFj4tn.js} +3 -4
- package/dist/frontend/{editor_markdown_placeholder-BIWDUF1E.js → editor_markdown_placeholder-BztIY9Ci.js} +2 -3
- package/dist/frontend/{ellipsis-vertical-qxNgoXu-.js → ellipsis-vertical-Oymsv1R4.js} +2 -3
- package/dist/frontend/{error_dismiss-Dx_JbRjs.js → error_dismiss-C651ZdWI.js} +2 -3
- package/dist/frontend/error_generic-BlWqOE-a.js +4 -0
- package/dist/frontend/extension.js +1 -2
- package/dist/frontend/{folder-D74E-Kdp.js → folder-BpmB_sAy.js} +3 -5
- package/dist/frontend/folder-refresh.js +1 -2
- package/dist/frontend/{folders-CC0UWkZH.js → folders-DgKSovXa.js} +2 -3
- package/dist/frontend/{folders_rename-BJo4Gipq.js → folders_rename-Cxbg5GIw.js} +2 -3
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/i18n.js +144 -145
- package/dist/frontend/{identity-CNhtuCJV.js → identity-B7HeOzDJ.js} +4 -5
- package/dist/frontend/{input-Q_7qCfnU.js → input-CbeB9220.js} +2 -3
- package/dist/frontend/keyboard.js +1 -2
- package/dist/frontend/{keyboard.svelte-CApmX0vl.js → keyboard.svelte-BBUdhTsM.js} +2 -3
- package/dist/frontend/{label-Dj8FDEhf.js → label-CfBWf3gI.js} +2 -3
- package/dist/frontend/{lib-aUbBbIW2.js → lib-CITdCbKa.js} +176 -365
- package/dist/frontend/{loader-circle-D3t5NkvC.js → loader-circle-skKwfRCB.js} +2 -3
- package/dist/frontend/markdown-6E9TWC6V.js +11 -0
- package/dist/frontend/offline/identity.js +1 -2
- package/dist/frontend/{popper-layer-force-mount-CNtiLgbV.js → popper-layer-force-mount-BG0eyrCk.js} +112 -284
- package/dist/frontend/{resolve-BG4HgzpN.js → resolve-DbT-KhGZ.js} +2 -3
- package/dist/frontend/{rolldown-runtime-DArdT4gl.js → rolldown-runtime-CwxnZyOB.js} +2 -3
- package/dist/frontend/{rotate-ccw-B1ybQ8oQ.js → rotate-ccw-DAUX7np7.js} +2 -3
- package/dist/frontend/{route-context-DYQlUfzL.js → route-context-6OHiGtfb.js} +2 -4
- package/dist/frontend/{runtime-CwWSo6c9.js → runtime-CGUiMzK6.js} +1 -2
- package/dist/frontend/{schemas-1Na35n71.js → schemas-YXxhj5o8.js} +850 -880
- package/dist/frontend/scroll_to_top_aria-lJc2RSx_.js +4 -0
- package/dist/frontend/{search-preferences-B1GdbdUc.js → search-preferences-DuLDczRu.js} +1 -2
- package/dist/frontend/search.js +277 -292
- package/dist/frontend/{search_title-DOC0cPlQ.js → search_title-BETwQYJq.js} +2 -3
- package/dist/frontend/{select-value-BkI1W1bn.js → select-value-BY5Hw6Rl.js} +28 -65
- package/dist/frontend/{settings-CHx4wBwb.js → settings-DyePuqjp.js} +3 -4
- package/dist/frontend/{share-D5yo0JOh.js → share-3gWTTYvH.js} +2 -3
- package/dist/frontend/{share-context-BJ4GF4yT.js → share-context-C2xyVP9M.js} +29 -37
- package/dist/frontend/{share_copied-DPxVzfWh.js → share_copied-BuAnmpbz.js} +2 -3
- package/dist/frontend/{share_toggle_password-DdxfIjj1.js → share_toggle_password-LEYUeHWr.js} +2 -3
- package/dist/frontend/shared-document.js +27 -36
- package/dist/frontend/{sidebar_uncategorized-qJ2_Aonf.js → sidebar_uncategorized-C5PGOflV.js} +2 -3
- package/dist/frontend/{sort_relevance-DwYX5MO9.js → sort_relevance-DpCVLby_.js} +2 -3
- package/dist/frontend/{subfolders-refresh-store.svelte-DxP21a1c.js → subfolders-refresh-store.svelte-CeyqvNpu.js} +1 -2
- package/dist/frontend/{tag-qbTBLj-g.js → tag-Wdfe0rKU.js} +3 -5
- package/dist/frontend/{tag-store.svelte-ogVCMCbv.js → tag-store.svelte-C9VYWqLQ.js} +2 -3
- package/dist/frontend/{tags-CF_cqzSV.js → tags-DlDVothf.js} +3 -4
- package/dist/frontend/{tags_load_error-BKjA1pI0.js → tags_load_error-BINNpPPV.js} +2 -3
- package/dist/frontend/{tags_new-BiNAJ9Bx.js → tags_new-Dw0Uy43-.js} +2 -3
- package/dist/frontend/{textarea-BNK0LFUK.js → textarea-D6emvAwM.js} +2 -3
- package/dist/frontend/theme.js +2 -3
- package/dist/frontend/{theme.svelte-BRdxXd-B.js → theme.svelte-BiXvrqwh.js} +7 -23
- package/dist/frontend/{theme_system-BBNUhYKh.js → theme_system-YIfa_2Xt.js} +2 -3
- package/dist/frontend/utils/clipboard.js +1 -2
- package/dist/frontend/utils/dndzone.js +1 -2
- package/dist/frontend/{utils-BovMJHdA.js → utils-CnAmIMwr.js} +2 -3
- package/dist/frontend/utils-DH0uqK40.js +6 -0
- package/dist/frontend/utils.js +1 -2
- package/dist/frontend/version_create_snapshot-D8xjbuCq.js +4 -0
- package/dist/frontend/{version_restored_from-dVRN3Zdk.js → version_restored_from-DYFFSuQj.js} +2 -3
- package/dist/frontend/{version_snapshot_label_placeholder-DrMikux0.js → version_snapshot_label_placeholder-BhKq1NQ7.js} +2 -3
- package/dist/frontend/{weekday_we-C5H_M-df.js → weekday_we-BxbzNVWR.js} +2 -3
- package/dist/frontend/{x-CvSSnrjl.js → x-CBUgPygC.js} +2 -3
- package/dist/frontend/{yjs-VUcKqaKW.js → yjs-BbwnvxgY.js} +9 -23
- package/dist/frontend-ssr/api/attachments.js +2 -3
- package/dist/frontend-ssr/api/categories.js +1 -2
- package/dist/frontend-ssr/api/documents.js +1 -2
- package/dist/frontend-ssr/api/folders.js +1 -2
- package/dist/frontend-ssr/api/settings.js +1 -2
- package/dist/frontend-ssr/api/share.js +2 -3
- package/dist/frontend-ssr/api/tags.js +1 -2
- package/dist/frontend-ssr/app-shell.js +19 -28
- package/dist/frontend-ssr/assets/{CategoryDialog-DuZLLlt7.js → CategoryDialog-2CCX508O.js} +17 -20
- package/dist/frontend-ssr/assets/{ConfirmDialog-0WVu9BCE.js → ConfirmDialog-Cc6lcY1N.js} +8 -14
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-3vhDTFNu.js → CreateSnapshotDialog-BB8fXF9W.js} +9 -10
- package/dist/frontend-ssr/assets/{DatePicker-t12leL2Y.js → DatePicker-CfzKzipR.js} +9 -15
- package/dist/frontend-ssr/assets/{DeleteDialog-B0AU1fJR.js → DeleteDialog-DRU4UgOW.js} +4 -5
- package/dist/frontend-ssr/assets/{FolderNode-C-B-s8x1.js → FolderNode-Dg_5-orQ.js} +11 -12
- package/dist/frontend-ssr/assets/{FolderTreeSelector-DdQuEcj0.js → FolderTreeSelector-D0reTdFS.js} +5 -7
- package/dist/frontend-ssr/assets/{HiAiEditor-Cj3B2Dt6.js → HiAiEditor-DeHWAIj-.js} +44 -69
- package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-BRKWmcDd.js → HiaiDocsExtensionProvider-D6cGL-9s.js} +2 -3
- package/dist/frontend-ssr/assets/{Icon-DE_3EnuF.js → Icon-CrIRbT5O.js} +4 -8
- package/dist/frontend-ssr/assets/{SettingsDialog-DAT-Zxu0.js → SettingsDialog-BpHY3IMb.js} +29 -40
- package/dist/frontend-ssr/assets/{ShareDialog-CpE9zd_f.js → ShareDialog-CY40nWZJ.js} +7 -9
- package/dist/frontend-ssr/assets/{Sidebar-B_Ey6QNL.js → Sidebar-fpYk5MGO.js} +55 -63
- package/dist/frontend-ssr/assets/{TagCreateDialog-DBHO1DPU.js → TagCreateDialog-C2tpdEuj.js} +13 -14
- package/dist/frontend-ssr/assets/{action_cancel-OVgQDP5Q.js → action_cancel-CsBbxW0m.js} +2 -3
- package/dist/frontend-ssr/assets/{action_close-DagDyMXk.js → action_close-lFKBqBwg.js} +2 -3
- package/dist/frontend-ssr/assets/{action_create-hqJWjyqh.js → action_create-BV4ZOcQW.js} +2 -3
- package/dist/frontend-ssr/assets/{action_delete-B1-16jSo.js → action_delete-CNmRhKQP.js} +2 -3
- package/dist/frontend-ssr/assets/{action_go_to-DQScgw7P.js → action_go_to-tN5I26xM.js} +2 -3
- package/dist/frontend-ssr/assets/{action_save-Bx7vlLZI.js → action_save-YCfMiKb4.js} +2 -3
- package/dist/frontend-ssr/assets/{api-keys-CHOrbU-Q.js → api-keys-G6oimJIv.js} +2 -3
- package/dist/frontend-ssr/assets/{auth-client-CITU3xkE.js → auth-client-BnnnJDAb.js} +102 -71
- package/dist/frontend-ssr/assets/{camera-B6ldo_Js.js → camera-OYNSMvMd.js} +2 -3
- package/dist/frontend-ssr/assets/{categories-C_dxFoHi.js → categories-bBPviKjl.js} +2 -3
- package/dist/frontend-ssr/assets/{categories_update_error-DkKgsqdD.js → categories_update_error-Bfx5vtvt.js} +11 -21
- package/dist/frontend-ssr/assets/{chevron-down-DQcr6JUc.js → chevron-down-DB6YsSbQ.js} +2 -3
- package/dist/frontend-ssr/assets/{chevron-right-9szrliZx.js → chevron-right-DOt2uY6b.js} +2 -3
- package/dist/frontend-ssr/assets/{circle-check-BgP9MRRv.js → circle-check-DQhTm9YR.js} +2 -3
- package/dist/frontend-ssr/assets/{client-rfwQYYHY.js → client-B2AniXwV.js} +1 -2
- package/dist/frontend-ssr/assets/{clipboard-CXOaoz2W.js → clipboard-CXKnyYba.js} +1 -2
- package/dist/frontend-ssr/assets/{clock-roNtGlT6.js → clock-B08dVWtf.js} +2 -3
- package/dist/frontend-ssr/assets/{context-Bi_mO-NS.js → context-C_xxvxnR.js} +1 -2
- package/dist/frontend-ssr/assets/{copy-BYqYnBIQ.js → copy-2jsznHar.js} +2 -3
- package/dist/frontend-ssr/assets/{db-DxRzq-kx.js → db-BEKLU5Fc.js} +2 -3
- package/dist/frontend-ssr/assets/{dialog-SqCnTT43.js → dialog-C6U-DqLr.js} +9 -17
- package/dist/frontend-ssr/assets/{dist-CaZQ1FhA.js → dist-DqXTz_zE.js} +9 -12
- package/dist/frontend-ssr/assets/{dist-CqxHwOlp.js → dist-ip9bPdma.js} +3 -6
- package/dist/frontend-ssr/assets/{dndzone-CnTCMhPd.js → dndzone-Dx3jt_e4.js} +4 -6
- package/dist/frontend-ssr/assets/{doc_title_label-Ev_ltlh3.js → doc_title_label-CE_l-Gum.js} +2 -3
- package/dist/frontend-ssr/assets/{doc_title_placeholder-DSHpUb7w.js → doc_title_placeholder-7_i7PtG6.js} +2 -3
- package/dist/frontend-ssr/assets/{document-drop-coordinator-CEaYACsC.js → document-drop-coordinator-BVytYy2K.js} +1 -2
- package/dist/frontend-ssr/assets/{documents-CEuA1V6N.js → documents-B_wpQFTh.js} +2 -3
- package/dist/frontend-ssr/assets/{dropdown-menu-CE6U0f1b.js → dropdown-menu-BS5fcN9l.js} +12 -23
- package/dist/frontend-ssr/assets/{editor-content-sanitizer-Gjm93iR-.js → editor-content-sanitizer-CIdFjBSC.js} +1 -2
- package/dist/frontend-ssr/assets/{editor-preferences.svelte-iI5jJM1x.js → editor-preferences.svelte-CdAXTd-I.js} +2 -4
- package/dist/frontend-ssr/assets/{editorExtensions-rhletNji.js → editorExtensions-2O7O2Nhv.js} +2 -3
- package/dist/frontend-ssr/assets/{editor_markdown_placeholder-BpezdkOr.js → editor_markdown_placeholder-CAeLJjFT.js} +3 -5
- package/dist/frontend-ssr/assets/{editor_toolbar_undo-CKJAOqv2.js → editor_toolbar_undo-CVCfQIS1.js} +29 -57
- package/dist/frontend-ssr/assets/{ellipsis-vertical-Cg1MrZsl.js → ellipsis-vertical-IFHt2NM1.js} +2 -3
- package/dist/frontend-ssr/assets/{error_generic-DTK0kwxT.js → error_generic-BB80i0Vk.js} +3 -5
- package/dist/frontend-ssr/assets/{folder-DHB-CEcQ.js → folder-CXa1_bm5.js} +2 -3
- package/dist/frontend-ssr/assets/{folders-BOXeb9hz.js → folders-CTLqWbMm.js} +2 -3
- package/dist/frontend-ssr/assets/{folders_rename-DvciOb6K.js → folders_rename-ydbfwQlj.js} +7 -13
- package/dist/frontend-ssr/assets/{identity-B7ngLQzZ.js → identity-DTz1SQwC.js} +2 -3
- package/dist/frontend-ssr/assets/{input-DVrBVPgs.js → input-Bxw9sFF0.js} +2 -3
- package/dist/frontend-ssr/assets/{keyboard.svelte-BgF47N3L.js → keyboard.svelte-njehUCm3.js} +1 -2
- package/dist/frontend-ssr/assets/{label-vtCK3pTp.js → label-CMWedjs6.js} +2 -3
- package/dist/frontend-ssr/assets/{loader-circle-D3NWhCif.js → loader-circle-zbKj9Qb-.js} +2 -3
- package/dist/frontend-ssr/assets/{markdown-Co31-Tl2.js → markdown-BmIhDQp7.js} +2 -3
- package/dist/frontend-ssr/assets/{popper-layer-force-mount-C4dMMt-f.js → popper-layer-force-mount-CSHZsG2E.js} +78 -156
- package/dist/frontend-ssr/assets/{resolve-BqHozBXl.js → resolve-Wqdff4CL.js} +1 -2
- package/dist/frontend-ssr/assets/{rotate-ccw-DNf3nwMD.js → rotate-ccw-B7SaTFWf.js} +2 -3
- package/dist/frontend-ssr/assets/{route-context-BPRerEtZ.js → route-context-BsqLFt5Y.js} +2 -4
- package/dist/frontend-ssr/assets/{runtime-O78RzRqx.js → runtime-BX6-jTn_.js} +1 -2
- package/dist/frontend-ssr/assets/{scroll_to_top_aria-BN4ZfOnM.js → scroll_to_top_aria-CAYSiGHO.js} +2 -3
- package/dist/frontend-ssr/assets/{search_title-CKUsQDT0.js → search_title-C7NVXXq3.js} +2 -3
- package/dist/frontend-ssr/assets/{search_toggle_filters-hS9rvQhC.js → search_toggle_filters-Bq_YVD8s.js} +15 -29
- package/dist/frontend-ssr/assets/{select-value-Ce5c_fuA.js → select-value-TgslfiUB.js} +18 -34
- package/dist/frontend-ssr/assets/{settings-BRxvn30Y.js → settings-B1MA_FjO.js} +3 -4
- package/dist/frontend-ssr/assets/{share-context-B4UpvTSw.js → share-context-RVh8AExX.js} +17 -22
- package/dist/frontend-ssr/assets/{share_copied-BxU9rjXG.js → share_copied-CrwEwkb3.js} +31 -61
- package/dist/frontend-ssr/assets/{share_toggle_password-C6OmroqR.js → share_toggle_password-Co56z0Ha.js} +11 -21
- package/dist/frontend-ssr/assets/{sidebar_uncategorized-Dx-LTd5w.js → sidebar_uncategorized-COWdmZ3d.js} +6 -11
- package/dist/frontend-ssr/assets/{subfolders-refresh-store.svelte-CXHxQWKh.js → subfolders-refresh-store.svelte-LxG18U0n.js} +1 -2
- package/dist/frontend-ssr/assets/{tag-Cqv0fWVG.js → tag-BGhtDKpP.js} +3 -5
- package/dist/frontend-ssr/assets/{tag-store.svelte-QRysvGKe.js → tag-store.svelte-CUUgAaDD.js} +2 -3
- package/dist/frontend-ssr/assets/{tags-BBCoFYro.js → tags-C7u-LBsl.js} +2 -3
- package/dist/frontend-ssr/assets/{tags_load_error-CPrc6Gzs.js → tags_load_error-DW4FbHvr.js} +19 -37
- package/dist/frontend-ssr/assets/{tags_new-VmMr9v2V.js → tags_new-Dr3ByMPZ.js} +4 -7
- package/dist/frontend-ssr/assets/{textarea-BdjOJJVb.js → textarea-Bz5Tz4rw.js} +2 -3
- package/dist/frontend-ssr/assets/{theme.svelte-D6bbaJ9m.js → theme.svelte-CdHah46l.js} +3 -5
- package/dist/frontend-ssr/assets/{theme_system-BucaNntV.js → theme_system-E97FASeq.js} +19 -37
- package/dist/frontend-ssr/assets/{utils-DvZnctjz.js → utils-085zSPe5.js} +1 -2
- package/dist/frontend-ssr/assets/{utils-D3X7I8nz.js → utils-DF6CmRDX.js} +1 -2
- package/dist/frontend-ssr/assets/{version_create_snapshot-COHzwjle.js → version_create_snapshot-DeeYB7bb.js} +2 -3
- package/dist/frontend-ssr/assets/{version_restored_from-CertjFDl.js → version_restored_from-CTt2LM4A.js} +13 -25
- package/dist/frontend-ssr/assets/{version_snapshot_label_placeholder-Cy_rMCij.js → version_snapshot_label_placeholder-BbGD9YuN.js} +12 -23
- package/dist/frontend-ssr/assets/{weekday_we-DrI3U230.js → weekday_we-BzGQ-iFc.js} +22 -43
- package/dist/frontend-ssr/collaboration.js +2 -4
- package/dist/frontend-ssr/components/category-dialog.js +1 -2
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -2
- package/dist/frontend-ssr/components/delete-dialog.js +1 -2
- package/dist/frontend-ssr/components/editor/compact-editor.js +2 -3
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -2
- package/dist/frontend-ssr/components/editor/document-title.js +3 -4
- package/dist/frontend-ssr/components/editor/docx-serializer.js +1 -2
- package/dist/frontend-ssr/components/editor/extensions.js +1 -2
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +4 -5
- package/dist/frontend-ssr/components/editor/markdown.js +1 -2
- package/dist/frontend-ssr/components/folder-node.js +1 -2
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -2
- package/dist/frontend-ssr/components/save-as-dialog.js +12 -13
- package/dist/frontend-ssr/components/settings.js +1 -2
- package/dist/frontend-ssr/components/share-dialog.js +1 -2
- package/dist/frontend-ssr/components/sidebar.js +1 -2
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -2
- package/dist/frontend-ssr/components/version-history.js +18 -21
- package/dist/frontend-ssr/dashboard.js +64 -88
- package/dist/frontend-ssr/doc-tabs.js +1 -2
- package/dist/frontend-ssr/document-drop-coordinator.js +1 -2
- package/dist/frontend-ssr/editor-preferences.js +1 -2
- package/dist/frontend-ssr/extension.js +1 -2
- package/dist/frontend-ssr/folder-refresh.js +1 -2
- package/dist/frontend-ssr/i18n.js +315 -603
- package/dist/frontend-ssr/keyboard.js +1 -2
- package/dist/frontend-ssr/offline/identity.js +1 -2
- package/dist/frontend-ssr/search.js +17 -20
- package/dist/frontend-ssr/shared-document.js +5 -8
- package/dist/frontend-ssr/theme.js +2 -3
- package/dist/frontend-ssr/utils/clipboard.js +1 -2
- package/dist/frontend-ssr/utils/dndzone.js +1 -2
- package/dist/frontend-ssr/utils.js +1 -2
- package/dist/lifecycle-runtime.js +3996 -17873
- package/dist/mcp-cli.js +64 -64
- package/dist/mcp-server.js +68 -68
- package/package.json +4 -4
- package/packages/cli/src/index.ts +1 -1
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-CJeAYxcd.js +0 -630
- package/dist/frontend/HiAiEditor-D6ad_auS.js +0 -3129
- package/dist/frontend/SettingsDialog-B8Oswuqb.js +0 -991
- package/dist/frontend/Sidebar-BV0IDqTS.js +0 -2149
- package/dist/frontend/action_cancel-Cuxsznzz.js +0 -5
- package/dist/frontend/action_close-BJm_52wm.js +0 -5
- package/dist/frontend/action_create-CtBQrRuj.js +0 -5
- package/dist/frontend/action_delete-BXBIzvn0.js +0 -5
- package/dist/frontend/action_go_to-VmK5jmEk.js +0 -5
- package/dist/frontend/action_loading-BLCGJVA9.js +0 -5
- package/dist/frontend/action_save-BRN2Z_GP.js +0 -5
- package/dist/frontend/dist-DcHl92QO.js +0 -316
- package/dist/frontend/doc_title_label-DS9jSIh2.js +0 -5
- package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +0 -5
- package/dist/frontend/error_generic-CzNtmBT4.js +0 -5
- package/dist/frontend/markdown-O9YJA70S.js +0 -12
- package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +0 -5
- package/dist/frontend/utils-BlHvR6OL.js +0 -7
- package/dist/frontend/version_create_snapshot-3bu-0qzH.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-DF6CmRDX.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
3
|
import { getContext, setContext } from "svelte";
|
|
4
4
|
import { tv } from "tailwind-variants";
|
|
5
|
-
|
|
5
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/button.svelte
|
|
6
6
|
function Button($$renderer, $$props) {
|
|
7
7
|
$$renderer.component(($$renderer) => {
|
|
8
8
|
let { class: className, variant = "default", size = "default", ref = null, href = void 0, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -40,8 +40,7 @@ function Button($$renderer, $$props) {
|
|
|
40
40
|
$.bind_props($$props, { ref });
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/index.js
|
|
43
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/index.js
|
|
45
44
|
var buttonVariants = tv({
|
|
46
45
|
base: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
47
46
|
variants: {
|
|
@@ -65,8 +64,7 @@ var buttonVariants = tv({
|
|
|
65
64
|
size: "default"
|
|
66
65
|
}
|
|
67
66
|
});
|
|
68
|
-
|
|
69
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog.svelte
|
|
67
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog.svelte
|
|
70
68
|
function Dialog($$renderer, $$props) {
|
|
71
69
|
$$renderer.component(($$renderer) => {
|
|
72
70
|
let { open = false, onOpenChange, children } = $$props;
|
|
@@ -93,8 +91,7 @@ function Dialog($$renderer, $$props) {
|
|
|
93
91
|
$.bind_props($$props, { open });
|
|
94
92
|
});
|
|
95
93
|
}
|
|
96
|
-
|
|
97
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-content.svelte
|
|
94
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-content.svelte
|
|
98
95
|
function Dialog_content($$renderer, $$props) {
|
|
99
96
|
$$renderer.component(($$renderer) => {
|
|
100
97
|
let { class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -117,8 +114,7 @@ function Dialog_content($$renderer, $$props) {
|
|
|
117
114
|
$$renderer.push(`<!--]-->`);
|
|
118
115
|
});
|
|
119
116
|
}
|
|
120
|
-
|
|
121
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-description.svelte
|
|
117
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-description.svelte
|
|
122
118
|
function Dialog_description($$renderer, $$props) {
|
|
123
119
|
$$renderer.component(($$renderer) => {
|
|
124
120
|
const { class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -134,8 +130,7 @@ function Dialog_description($$renderer, $$props) {
|
|
|
134
130
|
$$renderer.push(`<!--]--></p>`);
|
|
135
131
|
});
|
|
136
132
|
}
|
|
137
|
-
|
|
138
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-footer.svelte
|
|
133
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-footer.svelte
|
|
139
134
|
function Dialog_footer($$renderer, $$props) {
|
|
140
135
|
$$renderer.component(($$renderer) => {
|
|
141
136
|
const { class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -151,8 +146,7 @@ function Dialog_footer($$renderer, $$props) {
|
|
|
151
146
|
$$renderer.push(`<!--]--></div>`);
|
|
152
147
|
});
|
|
153
148
|
}
|
|
154
|
-
|
|
155
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-header.svelte
|
|
149
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-header.svelte
|
|
156
150
|
function Dialog_header($$renderer, $$props) {
|
|
157
151
|
$$renderer.component(($$renderer) => {
|
|
158
152
|
const { class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -168,8 +162,7 @@ function Dialog_header($$renderer, $$props) {
|
|
|
168
162
|
$$renderer.push(`<!--]--></div>`);
|
|
169
163
|
});
|
|
170
164
|
}
|
|
171
|
-
|
|
172
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-title.svelte
|
|
165
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-title.svelte
|
|
173
166
|
function Dialog_title($$renderer, $$props) {
|
|
174
167
|
$$renderer.component(($$renderer) => {
|
|
175
168
|
const { class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -185,5 +178,4 @@ function Dialog_title($$renderer, $$props) {
|
|
|
185
178
|
$$renderer.push(`<!--]--></h2>`);
|
|
186
179
|
});
|
|
187
180
|
}
|
|
188
|
-
//#endregion
|
|
189
181
|
export { Dialog_content as a, Dialog_description as i, Dialog_header as n, Dialog as o, Dialog_footer as r, Button as s, Dialog_title as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
1
|
+
import "./dropdown-menu-BS5fcN9l.js";
|
|
2
|
+
import "./utils-DF6CmRDX.js";
|
|
3
|
+
import "./dist-ip9bPdma.js";
|
|
4
|
+
import "./dialog-C6U-DqLr.js";
|
|
5
|
+
import "./input-Bxw9sFF0.js";
|
|
6
|
+
import "./ConfirmDialog-Cc6lcY1N.js";
|
|
7
7
|
import "svelte/internal/server";
|
|
8
8
|
import "svelte";
|
|
9
9
|
import "$app/navigation";
|
|
@@ -22,7 +22,7 @@ import { get, writable } from "svelte/store";
|
|
|
22
22
|
import "$app/environment";
|
|
23
23
|
import "svelte/transition";
|
|
24
24
|
import "$app/stores";
|
|
25
|
-
|
|
25
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/lib/editor/editorExtensions.js
|
|
26
26
|
var lowlight = createLowlight(common);
|
|
27
27
|
function getEditorExtensions() {
|
|
28
28
|
return [
|
|
@@ -54,8 +54,7 @@ function getEditorExtensions() {
|
|
|
54
54
|
];
|
|
55
55
|
}
|
|
56
56
|
getEditorExtensions();
|
|
57
|
-
|
|
58
|
-
//#region ../node_modules/.bun/svelte-sonner@0.3.28+5d720e49779a0e36/node_modules/svelte-sonner/dist/internal/helpers.js
|
|
57
|
+
// ../node_modules/.bun/svelte-sonner@0.3.28+5d720e49779a0e36/node_modules/svelte-sonner/dist/internal/helpers.js
|
|
59
58
|
var isBrowser = typeof document !== "undefined";
|
|
60
59
|
/**
|
|
61
60
|
* A custom store that only allows setting/updating the value from the
|
|
@@ -80,8 +79,7 @@ function clientWritable(initialValue) {
|
|
|
80
79
|
update
|
|
81
80
|
};
|
|
82
81
|
}
|
|
83
|
-
|
|
84
|
-
//#region ../node_modules/.bun/svelte-sonner@0.3.28+5d720e49779a0e36/node_modules/svelte-sonner/dist/state.js
|
|
82
|
+
// ../node_modules/.bun/svelte-sonner@0.3.28+5d720e49779a0e36/node_modules/svelte-sonner/dist/state.js
|
|
85
83
|
var toastsCounter = 0;
|
|
86
84
|
function createToastState() {
|
|
87
85
|
const toasts = clientWritable([]);
|
|
@@ -296,5 +294,4 @@ Object.assign(toastFunction, {
|
|
|
296
294
|
dismiss: toastState.dismiss,
|
|
297
295
|
loading: toastState.loading
|
|
298
296
|
});
|
|
299
|
-
//#endregion
|
|
300
297
|
export {};
|
|
@@ -3,12 +3,11 @@ import { onDestroy, onMount, tick } from "svelte";
|
|
|
3
3
|
import "svelte/reactivity";
|
|
4
4
|
import { Editor } from "@tiptap/core";
|
|
5
5
|
import { readable } from "svelte/store";
|
|
6
|
-
|
|
6
|
+
// ../node_modules/.bun/svelte-tiptap@3.0.1+199bc865be18f12b/node_modules/svelte-tiptap/dist/Editor.js
|
|
7
7
|
var Editor$1 = class extends Editor {
|
|
8
8
|
contentElement = null;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
//#region ../node_modules/.bun/svelte-tiptap@3.0.1+199bc865be18f12b/node_modules/svelte-tiptap/dist/createEditor.js
|
|
10
|
+
// ../node_modules/.bun/svelte-tiptap@3.0.1+199bc865be18f12b/node_modules/svelte-tiptap/dist/createEditor.js
|
|
12
11
|
var createEditor = (options) => {
|
|
13
12
|
const editor = new Editor$1(options);
|
|
14
13
|
return readable(editor, (set) => {
|
|
@@ -20,8 +19,7 @@ var createEditor = (options) => {
|
|
|
20
19
|
};
|
|
21
20
|
});
|
|
22
21
|
};
|
|
23
|
-
|
|
24
|
-
//#region ../node_modules/.bun/svelte-tiptap@3.0.1+199bc865be18f12b/node_modules/svelte-tiptap/dist/EditorContent.svelte
|
|
22
|
+
// ../node_modules/.bun/svelte-tiptap@3.0.1+199bc865be18f12b/node_modules/svelte-tiptap/dist/EditorContent.svelte
|
|
25
23
|
function EditorContent($$renderer, $$props) {
|
|
26
24
|
$$renderer.component(($$renderer) => {
|
|
27
25
|
const { editor, children, class: className } = $$props;
|
|
@@ -46,5 +44,4 @@ function EditorContent($$renderer, $$props) {
|
|
|
46
44
|
$$renderer.push(`<!--]-->`);
|
|
47
45
|
});
|
|
48
46
|
}
|
|
49
|
-
//#endregion
|
|
50
47
|
export { createEditor as n, EditorContent as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../node_modules/.bun/svelte-dnd-action@0.9.79+5d720e49779a0e36/node_modules/svelte-dnd-action/dist/index.mjs
|
|
2
2
|
function ownKeys(object, enumerableOnly) {
|
|
3
3
|
var keys = Object.keys(object);
|
|
4
4
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -42,8 +42,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
42
42
|
if (source == null) return {};
|
|
43
43
|
var target = {};
|
|
44
44
|
var sourceKeys = Object.keys(source);
|
|
45
|
-
var key, i;
|
|
46
|
-
for (
|
|
45
|
+
var key, i = 0;
|
|
46
|
+
for (; i < sourceKeys.length; i++) {
|
|
47
47
|
key = sourceKeys[i];
|
|
48
48
|
if (excluded.indexOf(key) >= 0) continue;
|
|
49
49
|
target[key] = source[key];
|
|
@@ -2299,8 +2299,7 @@ function isInt(value) {
|
|
|
2299
2299
|
return (x | 0) === x;
|
|
2300
2300
|
}(parseFloat(value));
|
|
2301
2301
|
}
|
|
2302
|
-
|
|
2303
|
-
//#region src/lib/utils/dndzone.ts
|
|
2302
|
+
// src/lib/utils/dndzone.ts
|
|
2304
2303
|
/**
|
|
2305
2304
|
* Hydration-safe `dndzone` action. Defers the real setup to a microtask so
|
|
2306
2305
|
* the library's `document.body.prepend(...)` aria injection runs *after*
|
|
@@ -2342,5 +2341,4 @@ function dndzone(node, options) {
|
|
|
2342
2341
|
}
|
|
2343
2342
|
};
|
|
2344
2343
|
}
|
|
2345
|
-
//#endregion
|
|
2346
2344
|
export { SHADOW_ITEM_MARKER_PROPERTY_NAME as n, dndzone as t };
|
package/dist/frontend-ssr/assets/{doc_title_label-Ev_ltlh3.js → doc_title_label-CE_l-Gum.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getLocale } from "./runtime-
|
|
2
|
-
|
|
1
|
+
import { t as getLocale } from "./runtime-BX6-jTn_.js";
|
|
2
|
+
// src/lib/paraglide/messages/doc_title_label.js
|
|
3
3
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
4
|
/** @typedef {{}} Doc_Title_LabelInputs */
|
|
5
5
|
var en_doc_title_label = () => {
|
|
@@ -18,5 +18,4 @@ var doc_title_label = ((inputs = {}, options = {}) => {
|
|
|
18
18
|
options.locale ?? getLocale();
|
|
19
19
|
return en_doc_title_label(inputs);
|
|
20
20
|
});
|
|
21
|
-
//#endregion
|
|
22
21
|
export { doc_title_label as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getLocale } from "./runtime-
|
|
2
|
-
|
|
1
|
+
import { t as getLocale } from "./runtime-BX6-jTn_.js";
|
|
2
|
+
// src/lib/paraglide/messages/doc_title_placeholder.js
|
|
3
3
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
4
|
/** @typedef {{}} Doc_Title_PlaceholderInputs */
|
|
5
5
|
var en_doc_title_placeholder = () => {
|
|
@@ -18,5 +18,4 @@ var doc_title_placeholder = ((inputs = {}, options = {}) => {
|
|
|
18
18
|
options.locale ?? getLocale();
|
|
19
19
|
return en_doc_title_placeholder(inputs);
|
|
20
20
|
});
|
|
21
|
-
//#endregion
|
|
22
21
|
export { doc_title_placeholder as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/lib/components/sidebar/document-drop-coordinator.ts
|
|
2
2
|
function createDocumentPlacementWriter(options) {
|
|
3
3
|
const states = /* @__PURE__ */ new Map();
|
|
4
4
|
return function move(id, placement, initialConfirmed) {
|
|
@@ -105,5 +105,4 @@ function createDocumentDropCoordinator(options) {
|
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
//#endregion
|
|
109
108
|
export { createDocumentPlacementWriter as n, createDocumentDropCoordinator as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as apiFetch } from "./client-
|
|
2
|
-
|
|
1
|
+
import { n as apiFetch } from "./client-B2AniXwV.js";
|
|
2
|
+
// src/lib/api/documents.ts
|
|
3
3
|
var listDocumentsInflight = /* @__PURE__ */ new Map();
|
|
4
4
|
var listDocumentsTtl = /* @__PURE__ */ new Map();
|
|
5
5
|
var LIST_CACHE_TTL_MS = 5e3;
|
|
@@ -150,5 +150,4 @@ async function importDocuments(files, folderId, fetcher, options = {}) {
|
|
|
150
150
|
failed: results.length - imported
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
//#endregion
|
|
154
153
|
export { importDocument as a, updateDocument as c, getDocument as i, createDocument as n, importDocuments as o, deleteDocument as r, listDocuments as s, clearDocumentsCache as t };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
2
|
-
import { Q as mergeProps, S as noop, a as getFloatingContentCSSVars, d as MenuRootState, et as boxWith, f as MenuSeparatorState, i as Floating_layer, l as MenuItemState, n as Popper_layer, o as DropdownMenuTriggerState, r as Floating_layer_anchor, s as MenuContentState, t as Popper_layer_force_mount, u as MenuMenuState, x as createId } from "./popper-layer-force-mount-
|
|
1
|
+
import { t as cn } from "./utils-DF6CmRDX.js";
|
|
2
|
+
import { Q as mergeProps, S as noop, a as getFloatingContentCSSVars, d as MenuRootState, et as boxWith, f as MenuSeparatorState, i as Floating_layer, l as MenuItemState, n as Popper_layer, o as DropdownMenuTriggerState, r as Floating_layer_anchor, s as MenuContentState, t as Popper_layer_force_mount, u as MenuMenuState, x as createId } from "./popper-layer-force-mount-CSHZsG2E.js";
|
|
3
3
|
import * as $ from "svelte/internal/server";
|
|
4
|
-
|
|
5
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/menu/components/menu-item.svelte
|
|
4
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/menu/components/menu-item.svelte
|
|
6
5
|
function Menu_item($$renderer, $$props) {
|
|
7
6
|
$$renderer.component(($$renderer) => {
|
|
8
7
|
const uid = $.props_id($$renderer);
|
|
@@ -28,8 +27,7 @@ function Menu_item($$renderer, $$props) {
|
|
|
28
27
|
$.bind_props($$props, { ref });
|
|
29
28
|
});
|
|
30
29
|
}
|
|
31
|
-
|
|
32
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/menu/components/menu-separator.svelte
|
|
30
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/menu/components/menu-separator.svelte
|
|
33
31
|
function Menu_separator($$renderer, $$props) {
|
|
34
32
|
$$renderer.component(($$renderer) => {
|
|
35
33
|
const uid = $.props_id($$renderer);
|
|
@@ -52,8 +50,7 @@ function Menu_separator($$renderer, $$props) {
|
|
|
52
50
|
$.bind_props($$props, { ref });
|
|
53
51
|
});
|
|
54
52
|
}
|
|
55
|
-
|
|
56
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/menu/components/menu.svelte
|
|
53
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/menu/components/menu.svelte
|
|
57
54
|
function Menu($$renderer, $$props) {
|
|
58
55
|
$$renderer.component(($$renderer) => {
|
|
59
56
|
let { open = false, dir = "ltr", onOpenChange = noop, onOpenChangeComplete = noop, _internal_variant: variant = "dropdown-menu", _internal_should_skip_exit_animation: shouldSkipExitAnimation = void 0, children } = $$props;
|
|
@@ -83,8 +80,7 @@ function Menu($$renderer, $$props) {
|
|
|
83
80
|
$.bind_props($$props, { open });
|
|
84
81
|
});
|
|
85
82
|
}
|
|
86
|
-
|
|
87
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/dropdown-menu/components/dropdown-menu-content.svelte
|
|
83
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/dropdown-menu/components/dropdown-menu-content.svelte
|
|
88
84
|
function Dropdown_menu_content$1($$renderer, $$props) {
|
|
89
85
|
$$renderer.component(($$renderer) => {
|
|
90
86
|
const uid = $.props_id($$renderer);
|
|
@@ -193,8 +189,7 @@ function Dropdown_menu_content$1($$renderer, $$props) {
|
|
|
193
189
|
$.bind_props($$props, { ref });
|
|
194
190
|
});
|
|
195
191
|
}
|
|
196
|
-
|
|
197
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/menu/components/menu-trigger.svelte
|
|
192
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/menu/components/menu-trigger.svelte
|
|
198
193
|
function Menu_trigger($$renderer, $$props) {
|
|
199
194
|
$$renderer.component(($$renderer) => {
|
|
200
195
|
const uid = $.props_id($$renderer);
|
|
@@ -225,8 +220,7 @@ function Menu_trigger($$renderer, $$props) {
|
|
|
225
220
|
$.bind_props($$props, { ref });
|
|
226
221
|
});
|
|
227
222
|
}
|
|
228
|
-
|
|
229
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu.svelte
|
|
223
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu.svelte
|
|
230
224
|
function Dropdown_menu($$renderer, $$props) {
|
|
231
225
|
const { children, $$slots, $$events, ...restProps } = $$props;
|
|
232
226
|
if (Menu) {
|
|
@@ -248,8 +242,7 @@ function Dropdown_menu($$renderer, $$props) {
|
|
|
248
242
|
$$renderer.push("<!--]-->");
|
|
249
243
|
}
|
|
250
244
|
}
|
|
251
|
-
|
|
252
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte
|
|
245
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte
|
|
253
246
|
function Dropdown_menu_content($$renderer, $$props) {
|
|
254
247
|
$$renderer.component(($$renderer) => {
|
|
255
248
|
let { ref = null, class: className, sideOffset = 4, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -298,8 +291,7 @@ function Dropdown_menu_content($$renderer, $$props) {
|
|
|
298
291
|
$.bind_props($$props, { ref });
|
|
299
292
|
});
|
|
300
293
|
}
|
|
301
|
-
|
|
302
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte
|
|
294
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte
|
|
303
295
|
function Dropdown_menu_item($$renderer, $$props) {
|
|
304
296
|
$$renderer.component(($$renderer) => {
|
|
305
297
|
let { ref = null, class: className, inset, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -345,8 +337,7 @@ function Dropdown_menu_item($$renderer, $$props) {
|
|
|
345
337
|
$.bind_props($$props, { ref });
|
|
346
338
|
});
|
|
347
339
|
}
|
|
348
|
-
|
|
349
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte
|
|
340
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte
|
|
350
341
|
function Dropdown_menu_separator($$renderer, $$props) {
|
|
351
342
|
$$renderer.component(($$renderer) => {
|
|
352
343
|
let { ref = null, class: className, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -383,8 +374,7 @@ function Dropdown_menu_separator($$renderer, $$props) {
|
|
|
383
374
|
$.bind_props($$props, { ref });
|
|
384
375
|
});
|
|
385
376
|
}
|
|
386
|
-
|
|
387
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte
|
|
377
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte
|
|
388
378
|
function Dropdown_menu_trigger($$renderer, $$props) {
|
|
389
379
|
$$renderer.component(($$renderer) => {
|
|
390
380
|
let { ref = null, child, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -453,5 +443,4 @@ function Dropdown_menu_trigger($$renderer, $$props) {
|
|
|
453
443
|
$.bind_props($$props, { ref });
|
|
454
444
|
});
|
|
455
445
|
}
|
|
456
|
-
//#endregion
|
|
457
446
|
export { Dropdown_menu as a, Dropdown_menu_content as i, Dropdown_menu_separator as n, Dropdown_menu_item as r, Dropdown_menu_trigger as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/lib/components/editor/editor-content-sanitizer.ts
|
|
2
2
|
var ATTACHMENT_RAW_URL = /^\/api\/attachments\/[0-9a-f-]+\/raw$/i;
|
|
3
3
|
var EMOJI_IMAGE_HOST = /(?:abs\.twimg\.com\/emoji\/|twemoji\.maxcdn\.com\/|(?:cdnjs\.cloudflare\.com|cdn\.jsdelivr\.net)\/(?:ajax\/libs\/)?twemoji)/i;
|
|
4
4
|
var EMOJI_SVG_CODEPOINTS = /\/(?:emoji\/v2\/svg|twemoji\/[\d.]+\/(?:svg|72x72))\/([0-9a-f][0-9a-f-]*)\.svg(?:[?#].*)?$/i;
|
|
@@ -141,5 +141,4 @@ async function removeUnavailableAttachmentImages(value, fetchImpl = fetch) {
|
|
|
141
141
|
removed
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
//#endregion
|
|
145
144
|
export { sanitizeEditorContent as i, isSafeEditorImageSource as n, removeUnavailableAttachmentImages as r, emojiGlyphFromImageAttrs as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "svelte/internal/server";
|
|
2
|
-
|
|
2
|
+
// src/lib/stores/editor-preferences.ts
|
|
3
3
|
var DEFAULT_EDITOR_PREFERENCES = {
|
|
4
4
|
showVisualMode: true,
|
|
5
5
|
showMarkdownMode: true,
|
|
@@ -18,8 +18,7 @@ function normalizeEditorPreferences(value) {
|
|
|
18
18
|
showScrollToTop: typeof candidate.showScrollToTop === "boolean" ? candidate.showScrollToTop : DEFAULT_EDITOR_PREFERENCES.showScrollToTop
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
//#region src/lib/stores/editor-preferences.svelte.ts
|
|
21
|
+
// src/lib/stores/editor-preferences.svelte.ts
|
|
23
22
|
var STORAGE_KEY = "docsmint-editor-preferences";
|
|
24
23
|
var preferences = { ...DEFAULT_EDITOR_PREFERENCES };
|
|
25
24
|
var initialized = false;
|
|
@@ -61,5 +60,4 @@ var editorPreferences = {
|
|
|
61
60
|
init,
|
|
62
61
|
update
|
|
63
62
|
};
|
|
64
|
-
//#endregion
|
|
65
63
|
export { DEFAULT_EDITOR_PREFERENCES as n, normalizeEditorPreferences as r, editorPreferences as t };
|
package/dist/frontend-ssr/assets/{editorExtensions-rhletNji.js → editorExtensions-2O7O2Nhv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as isSafeEditorImageSource } from "./editor-content-sanitizer-
|
|
1
|
+
import { n as isSafeEditorImageSource } from "./editor-content-sanitizer-CIdFjBSC.js";
|
|
2
2
|
import CodeBlockLowlight from "@tiptap/extension-code-block-lowlight";
|
|
3
3
|
import Highlight from "@tiptap/extension-highlight";
|
|
4
4
|
import Image from "@tiptap/extension-image";
|
|
@@ -10,7 +10,7 @@ import { Markdown } from "@tiptap/markdown";
|
|
|
10
10
|
import StarterKit from "@tiptap/starter-kit";
|
|
11
11
|
import { common, createLowlight } from "lowlight";
|
|
12
12
|
import { Node, mergeAttributes, textblockTypeInputRule } from "@tiptap/core";
|
|
13
|
-
|
|
13
|
+
// src/lib/components/editor/editorExtensions.ts
|
|
14
14
|
var lowlight = createLowlight(common);
|
|
15
15
|
var SafeImage = Image.extend({ addAttributes() {
|
|
16
16
|
return {
|
|
@@ -195,5 +195,4 @@ var editorExtensions = [
|
|
|
195
195
|
TaskList,
|
|
196
196
|
TaskItem.configure({ nested: true })
|
|
197
197
|
];
|
|
198
|
-
//#endregion
|
|
199
198
|
export { TextAlignParagraph as n, editorExtensions as r, TextAlignHeading as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getLocale } from "./runtime-
|
|
2
|
-
|
|
1
|
+
import { t as getLocale } from "./runtime-BX6-jTn_.js";
|
|
2
|
+
// src/lib/paraglide/messages/editor_markdown_label.js
|
|
3
3
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
4
|
/** @typedef {{}} Editor_Markdown_LabelInputs */
|
|
5
5
|
var en_editor_markdown_label = () => {
|
|
@@ -18,8 +18,7 @@ var editor_markdown_label = ((inputs = {}, options = {}) => {
|
|
|
18
18
|
options.locale ?? getLocale();
|
|
19
19
|
return en_editor_markdown_label(inputs);
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
//#region src/lib/paraglide/messages/editor_markdown_placeholder.js
|
|
21
|
+
// src/lib/paraglide/messages/editor_markdown_placeholder.js
|
|
23
22
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
24
23
|
/** @typedef {{}} Editor_Markdown_PlaceholderInputs */
|
|
25
24
|
var en_editor_markdown_placeholder = () => {
|
|
@@ -38,5 +37,4 @@ var editor_markdown_placeholder = ((inputs = {}, options = {}) => {
|
|
|
38
37
|
options.locale ?? getLocale();
|
|
39
38
|
return en_editor_markdown_placeholder(inputs);
|
|
40
39
|
});
|
|
41
|
-
//#endregion
|
|
42
40
|
export { editor_markdown_label as n, editor_markdown_placeholder as t };
|