@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,93 +1,91 @@
|
|
|
1
|
-
import { t as e } from "../
|
|
2
|
-
import { t } from "../camera-
|
|
3
|
-
import { t as n } from "../circle-check-
|
|
4
|
-
import { t as r } from "../clock-
|
|
5
|
-
import { t as i } from "../
|
|
6
|
-
import { t as a } from "../
|
|
7
|
-
import { t as o } from "../action_cancel-
|
|
8
|
-
import { t as s } from "../action_loading-
|
|
9
|
-
import { t as c } from "../error_generic-
|
|
10
|
-
import { l } from "../version_snapshot_label_placeholder-
|
|
11
|
-
import { a as u, c as d, d as f, f as p, i as m, l as h, n as g, o as _, r as v, s as y, t as ee, u as b } from "../version_restored_from-
|
|
12
|
-
import { t as x } from "../version_create_snapshot-
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
1
|
+
import { t as e } from "../ConfirmDialog-0JwB8mKN.js";
|
|
2
|
+
import { t } from "../camera-DsdOPOcD.js";
|
|
3
|
+
import { t as n } from "../circle-check-B4F_qgPx.js";
|
|
4
|
+
import { t as r } from "../clock-dcpueRk-.js";
|
|
5
|
+
import { t as i } from "../Icon-CiHcxcpv.js";
|
|
6
|
+
import { t as a } from "../loader-circle-skKwfRCB.js";
|
|
7
|
+
import { t as o } from "../action_cancel-BdsWzQKU.js";
|
|
8
|
+
import { t as s } from "../action_loading-iQ0KsN6i.js";
|
|
9
|
+
import { t as c } from "../error_generic-BlWqOE-a.js";
|
|
10
|
+
import { l } from "../version_snapshot_label_placeholder-BhKq1NQ7.js";
|
|
11
|
+
import { a as u, c as d, d as f, f as p, i as m, l as h, n as g, o as _, r as v, s as y, t as ee, u as b } from "../version_restored_from-DYFFSuQj.js";
|
|
12
|
+
import { t as x } from "../version_create_snapshot-D8xjbuCq.js";
|
|
13
|
+
import { t as te } from "../rotate-ccw-DAUX7np7.js";
|
|
14
|
+
import { n as S, t as C } from "../client-BDdDd84W.js";
|
|
15
|
+
import { t as w } from "../CreateSnapshotDialog-BLrtuYs5.js";
|
|
16
|
+
import { a as T } from "../route-context-6OHiGtfb.js";
|
|
17
17
|
import "svelte/internal/disclose-version";
|
|
18
|
-
import * as
|
|
18
|
+
import * as E from "svelte/internal/client";
|
|
19
19
|
import "svelte/internal/flags/legacy";
|
|
20
|
-
|
|
21
|
-
function
|
|
22
|
-
let
|
|
20
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/history.svelte
|
|
21
|
+
function D(e, t) {
|
|
22
|
+
let n = E.legacy_rest_props(t, [
|
|
23
23
|
"children",
|
|
24
24
|
"$$slots",
|
|
25
25
|
"$$events",
|
|
26
26
|
"$$legacy"
|
|
27
|
-
]),
|
|
27
|
+
]), r = [
|
|
28
28
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }],
|
|
29
29
|
["path", { d: "M3 3v5h5" }],
|
|
30
30
|
["path", { d: "M12 7v5l4 2" }]
|
|
31
31
|
];
|
|
32
|
-
e
|
|
32
|
+
i(e, E.spread_props({ name: "history" }, () => n, {
|
|
33
33
|
get iconNode() {
|
|
34
|
-
return
|
|
34
|
+
return r;
|
|
35
35
|
},
|
|
36
|
-
children: (e,
|
|
37
|
-
var r =
|
|
38
|
-
|
|
36
|
+
children: (e, n) => {
|
|
37
|
+
var r = E.comment(), i = E.first_child(r);
|
|
38
|
+
E.slot(i, t, "default", {}, null), E.append(e, r);
|
|
39
39
|
},
|
|
40
40
|
$$slots: { default: !0 }
|
|
41
41
|
}));
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
let r = D.legacy_rest_props(n, [
|
|
43
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/star.svelte
|
|
44
|
+
function O(e, t) {
|
|
45
|
+
let n = E.legacy_rest_props(t, [
|
|
47
46
|
"children",
|
|
48
47
|
"$$slots",
|
|
49
48
|
"$$events",
|
|
50
49
|
"$$legacy"
|
|
51
|
-
]),
|
|
52
|
-
e
|
|
50
|
+
]), r = [["path", { d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" }]];
|
|
51
|
+
i(e, E.spread_props({ name: "star" }, () => n, {
|
|
53
52
|
get iconNode() {
|
|
54
|
-
return
|
|
53
|
+
return r;
|
|
55
54
|
},
|
|
56
|
-
children: (e,
|
|
57
|
-
var r =
|
|
58
|
-
|
|
55
|
+
children: (e, n) => {
|
|
56
|
+
var r = E.comment(), i = E.first_child(r);
|
|
57
|
+
E.slot(i, t, "default", {}, null), E.append(e, r);
|
|
59
58
|
},
|
|
60
59
|
$$slots: { default: !0 }
|
|
61
60
|
}));
|
|
62
61
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
D.set(M, !0), D.set(N, null);
|
|
62
|
+
// src/lib/components/VersionHistory.svelte
|
|
63
|
+
var ne = E.from_html("<div class=\"inline-flex w-full overflow-hidden rounded-md border border-border text-xs\" role=\"tablist\"><button type=\"button\" role=\"tab\"> </button> <button type=\"button\" role=\"tab\"> </button></div>"), re = E.from_html("<div class=\"flex items-center justify-center gap-2 py-6 text-sm text-muted-foreground\"><!> <span> </span></div>"), ie = E.from_html("<p class=\"py-4 text-center text-xs text-destructive\"> </p>"), ae = E.from_html("<p class=\"py-4 text-center text-xs text-muted-foreground\"> </p>"), oe = E.from_html("<span class=\"truncate text-xs font-medium text-foreground\"> </span>"), se = E.from_html("<span class=\"truncate text-[11px] text-muted-foreground\"> </span>"), ce = E.from_html("<div class=\"mt-1 flex flex-wrap items-center gap-1\"><span class=\"inline-flex items-center gap-1 rounded-full bg-amber-100 px-2 py-0.5 text-[10px] font-medium text-amber-800 dark:bg-amber-900/30 dark:text-amber-300\"><!> </span> <!></div>"), le = E.from_html("<div class=\"mt-1 inline-flex items-center gap-1 text-[11px] text-muted-foreground\"><!> <code class=\"rounded bg-muted px-1 font-mono text-[10px]\"> </code></div>"), ue = E.from_html("<div class=\"flex items-start gap-3 rounded-md border border-border p-3 text-sm hover:bg-accent transition-colors\"><!> <div class=\"flex-1 min-w-0\"><div class=\"flex items-center justify-between gap-2\"><div class=\"flex flex-col gap-0.5 min-w-0\"><!> <span class=\"text-xs text-muted-foreground\"> </span></div> <button type=\"button\" class=\"inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs text-muted-foreground hover:bg-background hover:text-foreground transition-colors\"><!> </button></div> <!> <!> <p class=\"mt-1 truncate text-xs text-muted-foreground\"> </p></div></div>"), de = E.from_html("<div class=\"flex flex-col gap-1 overflow-y-auto max-h-80\"></div>"), fe = E.from_html("<p class=\"sr-only\" role=\"alert\"> </p>"), pe = E.from_html("<div class=\"flex flex-col gap-2 p-4\"><div class=\"flex items-center justify-between gap-2\"><div class=\"flex items-center gap-2 text-sm font-medium text-foreground\"><!> <span> </span></div> <button type=\"button\" class=\"inline-flex items-center gap-1 rounded-md border border-border bg-background px-2 py-1 text-xs font-medium hover:bg-accent disabled:opacity-50\"><!> </button></div> <!> <!></div> <!> <!> <!>", 1);
|
|
64
|
+
function k(i, k) {
|
|
65
|
+
E.push(k, !0);
|
|
66
|
+
let A = E.state(E.proxy([])), j = E.state(!0), M = E.state(null), N = E.state("all"), P = E.state(!1), F = E.state(!1), I = E.state(null), L = E.state(!1), R = E.state(null), z = T();
|
|
67
|
+
async function B() {
|
|
68
|
+
E.set(j, !0), E.set(M, null);
|
|
71
69
|
try {
|
|
72
|
-
|
|
70
|
+
E.set(A, await S(`/api/documents/${k.documentId}/versions`, {}, z.fetch), !0);
|
|
73
71
|
} catch (e) {
|
|
74
|
-
|
|
72
|
+
E.set(M, e instanceof Error ? e.message : String(e), !0), console.error("Failed to load versions", e);
|
|
75
73
|
} finally {
|
|
76
|
-
|
|
74
|
+
E.set(j, !1);
|
|
77
75
|
}
|
|
78
76
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}),
|
|
82
|
-
|
|
77
|
+
E.user_effect(() => {
|
|
78
|
+
k.documentId, B();
|
|
79
|
+
}), E.user_effect(() => {
|
|
80
|
+
E.get(F) || E.get(L) || E.get(I) !== null && E.set(I, null);
|
|
83
81
|
});
|
|
84
|
-
let
|
|
85
|
-
function
|
|
82
|
+
let V = E.derived(() => E.get(N) === "snapshots" ? E.get(A).filter((e) => e.isSnapshot === !0) : E.get(A)), me = E.derived(() => E.get(A).reduce((e, t) => t.isSnapshot ? e + 1 : e, 0)), he = E.derived(() => E.get(I)?.label ? `${v()} (${E.get(I).label})` : v());
|
|
83
|
+
function H(e) {
|
|
86
84
|
if (!e) return "";
|
|
87
85
|
let t = e.replace(/```[\s\S]*?```/g, "").replace(/[#*_`>~-]/g, "").replace(/\s+/g, " ").trim();
|
|
88
86
|
return t.length > 100 ? `${t.slice(0, 100)}…` : t;
|
|
89
87
|
}
|
|
90
|
-
function
|
|
88
|
+
function ge(e) {
|
|
91
89
|
let t = typeof e == "string" ? new Date(e) : e, n = Date.now() - t.getTime();
|
|
92
90
|
if (Number.isNaN(n)) return "";
|
|
93
91
|
let r = Math.floor(n / 6e4);
|
|
@@ -96,205 +94,204 @@ function A(e, A) {
|
|
|
96
94
|
let i = Math.floor(r / 60);
|
|
97
95
|
return i < 24 ? f({ count: i }) : p({ count: Math.floor(i / 24) });
|
|
98
96
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
97
|
+
function _e(e) {
|
|
98
|
+
E.set(I, e, !0), E.set(R, null), E.set(F, !0);
|
|
101
99
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
100
|
+
function ve() {
|
|
101
|
+
E.get(L) || (E.set(I, null), E.set(R, null));
|
|
104
102
|
}
|
|
105
|
-
async function
|
|
106
|
-
let e =
|
|
107
|
-
if (
|
|
108
|
-
|
|
103
|
+
async function ye() {
|
|
104
|
+
let e = E.get(I);
|
|
105
|
+
if (e && !E.get(L)) {
|
|
106
|
+
E.set(L, !0), E.set(R, null);
|
|
109
107
|
try {
|
|
110
|
-
await
|
|
111
|
-
documentId:
|
|
108
|
+
await S(`/api/documents/${k.documentId}/versions/${e.id}/restore`, { method: "POST" }, z.fetch), await B(), E.set(I, null), E.set(F, !1), k.onRestored?.(e), typeof window < "u" && window.dispatchEvent(new CustomEvent("version-restored", { detail: {
|
|
109
|
+
documentId: k.documentId,
|
|
112
110
|
versionId: e.id
|
|
113
111
|
} }));
|
|
114
112
|
} catch (e) {
|
|
115
|
-
e instanceof
|
|
113
|
+
e instanceof C ? E.set(R, `${l()}: ${e.message}`) : E.set(R, e instanceof Error ? e.message : c(), !0), console.error("Failed to restore version", e);
|
|
116
114
|
} finally {
|
|
117
|
-
|
|
115
|
+
E.set(L, !1);
|
|
118
116
|
}
|
|
119
117
|
}
|
|
120
118
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
119
|
+
function be() {
|
|
120
|
+
B();
|
|
123
121
|
}
|
|
124
|
-
function
|
|
122
|
+
function xe(e) {
|
|
125
123
|
if (!e) return null;
|
|
126
|
-
let t =
|
|
124
|
+
let t = E.get(A).find((t) => t.id === e);
|
|
127
125
|
return t ? t.label ?? e.slice(0, 8) : e.slice(0, 8);
|
|
128
126
|
}
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
var
|
|
132
|
-
|
|
133
|
-
var
|
|
134
|
-
t(
|
|
135
|
-
var
|
|
136
|
-
|
|
137
|
-
var
|
|
138
|
-
var t =
|
|
139
|
-
|
|
140
|
-
|
|
127
|
+
var U = pe(), W = E.first_child(U), G = E.child(W), K = E.child(G), q = E.child(K);
|
|
128
|
+
D(q, { class: "h-4 w-4" });
|
|
129
|
+
var Se = E.sibling(q, 2), Ce = E.only_child(Se, !0);
|
|
130
|
+
E.reset(K);
|
|
131
|
+
var J = E.sibling(K, 2), Y = E.child(J);
|
|
132
|
+
t(Y, { class: "h-3 w-3" });
|
|
133
|
+
var we = E.sibling(Y);
|
|
134
|
+
E.reset(J), E.reset(G);
|
|
135
|
+
var X = E.sibling(G, 2), Te = (e) => {
|
|
136
|
+
var t = ne(), n = E.child(t), r = E.only_child(n), i = E.sibling(n, 2), a = E.only_child(i);
|
|
137
|
+
E.reset(t), E.template_effect((e, o, s) => {
|
|
138
|
+
E.set_attribute(t, "aria-label", e), E.set_attribute(n, "aria-selected", E.get(N) === "all"), E.set_class(n, 1, `flex-1 px-2 py-1 transition-colors ${E.get(N) === "all" ? "bg-primary text-primary-foreground" : "bg-background text-muted-foreground hover:bg-accent"}`), E.set_text(r, `${o ?? ""} (${E.get(A).length ?? ""})`), E.set_attribute(i, "aria-selected", E.get(N) === "snapshots"), E.set_class(i, 1, `flex-1 px-2 py-1 transition-colors ${E.get(N) === "snapshots" ? "bg-primary text-primary-foreground" : "bg-background text-muted-foreground hover:bg-accent"}`), E.set_text(a, `${s ?? ""} (${E.get(me) ?? ""})`);
|
|
141
139
|
}, [
|
|
142
140
|
() => d(),
|
|
143
141
|
() => d(),
|
|
144
142
|
() => y()
|
|
145
|
-
]),
|
|
143
|
+
]), E.delegated("click", n, () => E.set(N, "all")), E.delegated("click", i, () => E.set(N, "snapshots")), E.append(e, t);
|
|
146
144
|
};
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
E.if(X, (e) => {
|
|
146
|
+
E.get(A).length > 0 && e(Te);
|
|
149
147
|
});
|
|
150
|
-
var
|
|
151
|
-
var t =
|
|
152
|
-
|
|
153
|
-
var r =
|
|
154
|
-
|
|
155
|
-
},
|
|
156
|
-
var t =
|
|
157
|
-
|
|
148
|
+
var Ee = E.sibling(X, 2), De = (e) => {
|
|
149
|
+
var t = re(), n = E.child(t);
|
|
150
|
+
a(n, { class: "h-3.5 w-3.5 animate-spin" });
|
|
151
|
+
var r = E.sibling(n, 2), i = E.only_child(r, !0);
|
|
152
|
+
E.reset(t), E.template_effect((e) => E.set_text(i, e), [() => s()]), E.append(e, t);
|
|
153
|
+
}, Z = (e) => {
|
|
154
|
+
var t = ie(), n = E.only_child(t, !0);
|
|
155
|
+
E.template_effect(() => E.set_text(n, E.get(M))), E.append(e, t);
|
|
158
156
|
}, Oe = (e) => {
|
|
159
|
-
var t =
|
|
160
|
-
|
|
157
|
+
var t = ae(), n = E.only_child(t, !0);
|
|
158
|
+
E.template_effect((e) => E.set_text(n, e), [() => _()]), E.append(e, t);
|
|
161
159
|
}, ke = (e) => {
|
|
162
|
-
var t =
|
|
163
|
-
|
|
164
|
-
var i =
|
|
160
|
+
var t = de();
|
|
161
|
+
E.each(t, 21, () => E.get(V), (e) => e.id, (e, t) => {
|
|
162
|
+
var i = ue(), a = E.child(i), o = (e) => {
|
|
165
163
|
{
|
|
166
|
-
let t =
|
|
167
|
-
|
|
164
|
+
let t = E.derived(() => h());
|
|
165
|
+
O(e, {
|
|
168
166
|
class: "mt-0.5 h-3.5 w-3.5 shrink-0 fill-amber-400 text-amber-500",
|
|
169
167
|
get "aria-label"() {
|
|
170
|
-
return
|
|
168
|
+
return E.get(t);
|
|
171
169
|
}
|
|
172
170
|
});
|
|
173
171
|
}
|
|
174
|
-
},
|
|
172
|
+
}, s = (e) => {
|
|
175
173
|
r(e, { class: "mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" });
|
|
176
174
|
};
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
E.if(a, (e) => {
|
|
176
|
+
E.get(t).isSnapshot ? e(o) : e(s, -1);
|
|
179
177
|
});
|
|
180
|
-
var
|
|
181
|
-
var n =
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}),
|
|
178
|
+
var c = E.sibling(a, 2), l = E.child(c), u = E.child(l), d = E.child(u), f = (e) => {
|
|
179
|
+
var n = oe(), r = E.only_child(n, !0);
|
|
180
|
+
E.template_effect(() => {
|
|
181
|
+
E.set_attribute(n, "title", E.get(t).label), E.set_text(r, E.get(t).label);
|
|
182
|
+
}), E.append(e, n);
|
|
185
183
|
};
|
|
186
|
-
|
|
187
|
-
|
|
184
|
+
E.if(d, (e) => {
|
|
185
|
+
E.get(t).label && e(f);
|
|
188
186
|
});
|
|
189
|
-
var
|
|
190
|
-
|
|
191
|
-
var
|
|
192
|
-
|
|
193
|
-
var
|
|
194
|
-
|
|
195
|
-
var
|
|
196
|
-
var n =
|
|
197
|
-
|
|
198
|
-
var a =
|
|
199
|
-
|
|
200
|
-
var o =
|
|
201
|
-
var n =
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}),
|
|
187
|
+
var p = E.sibling(d, 2), _ = E.only_child(p, !0);
|
|
188
|
+
E.reset(u);
|
|
189
|
+
var v = E.sibling(u, 2), y = E.child(v);
|
|
190
|
+
te(y, { class: "h-3 w-3" });
|
|
191
|
+
var b = E.sibling(y);
|
|
192
|
+
E.reset(v), E.reset(l);
|
|
193
|
+
var x = E.sibling(l, 2), S = (e) => {
|
|
194
|
+
var n = ce(), r = E.child(n), i = E.child(r);
|
|
195
|
+
O(i, { class: "h-2.5 w-2.5" });
|
|
196
|
+
var a = E.sibling(i);
|
|
197
|
+
E.reset(r);
|
|
198
|
+
var o = E.sibling(r, 2), s = (e) => {
|
|
199
|
+
var n = se(), r = E.only_child(n, !0);
|
|
200
|
+
E.template_effect(() => {
|
|
201
|
+
E.set_attribute(n, "title", E.get(t).description), E.set_text(r, E.get(t).description);
|
|
202
|
+
}), E.append(e, n);
|
|
205
203
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}),
|
|
204
|
+
E.if(o, (e) => {
|
|
205
|
+
E.get(t).description && e(s);
|
|
206
|
+
}), E.reset(n), E.template_effect((e) => E.set_text(a, ` ${e ?? ""}`), [() => h()]), E.append(e, n);
|
|
209
207
|
};
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
E.if(x, (e) => {
|
|
209
|
+
E.get(t).isSnapshot && e(S);
|
|
212
210
|
});
|
|
213
|
-
var
|
|
214
|
-
var r =
|
|
211
|
+
var C = E.sibling(x, 2), w = (e) => {
|
|
212
|
+
var r = le(), i = E.child(r);
|
|
215
213
|
n(i, { class: "h-3 w-3" });
|
|
216
|
-
var a =
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}, [() => ee(), () =>
|
|
214
|
+
var a = E.sibling(i), o = E.sibling(a), s = E.only_child(o, !0);
|
|
215
|
+
E.reset(r), E.template_effect((e, t) => {
|
|
216
|
+
E.set_text(a, ` ${e ?? ""} `), E.set_text(s, t);
|
|
217
|
+
}, [() => ee(), () => xe(E.get(t).restoredFrom) ?? "—"]), E.append(e, r);
|
|
220
218
|
};
|
|
221
|
-
|
|
222
|
-
|
|
219
|
+
E.if(C, (e) => {
|
|
220
|
+
E.get(t).restoredFrom && e(w);
|
|
223
221
|
});
|
|
224
|
-
var
|
|
225
|
-
|
|
226
|
-
|
|
222
|
+
var T = E.sibling(C, 2), D = E.only_child(T, !0);
|
|
223
|
+
E.reset(c), E.reset(i), E.template_effect((e, t, n, r, i, a) => {
|
|
224
|
+
E.set_text(_, e), E.set_attribute(v, "title", t), E.set_attribute(v, "aria-label", n), E.set_text(b, ` ${r ?? ""}`), E.set_attribute(T, "title", i), E.set_text(D, a);
|
|
227
225
|
}, [
|
|
228
|
-
() =>
|
|
226
|
+
() => ge(E.get(t).createdAt),
|
|
229
227
|
() => m(),
|
|
230
228
|
() => m(),
|
|
231
229
|
() => g(),
|
|
232
|
-
() =>
|
|
233
|
-
() =>
|
|
234
|
-
]),
|
|
235
|
-
}),
|
|
230
|
+
() => H(E.get(t).content),
|
|
231
|
+
() => H(E.get(t).content)
|
|
232
|
+
]), E.delegated("click", v, () => _e(E.get(t))), E.append(e, i);
|
|
233
|
+
}), E.reset(t), E.append(e, t);
|
|
236
234
|
};
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}),
|
|
240
|
-
var Q =
|
|
235
|
+
E.if(Ee, (e) => {
|
|
236
|
+
E.get(j) ? e(De) : E.get(M) ? e(Z, 1) : E.get(V).length === 0 ? e(Oe, 2) : e(ke, -1);
|
|
237
|
+
}), E.reset(W);
|
|
238
|
+
var Q = E.sibling(W, 2);
|
|
241
239
|
{
|
|
242
|
-
let
|
|
243
|
-
|
|
240
|
+
let t = E.derived(() => m()), n = E.derived(() => g()), r = E.derived(() => o());
|
|
241
|
+
e(Q, {
|
|
244
242
|
get title() {
|
|
245
|
-
return
|
|
243
|
+
return E.get(t);
|
|
246
244
|
},
|
|
247
245
|
get description() {
|
|
248
|
-
return
|
|
246
|
+
return E.get(he);
|
|
249
247
|
},
|
|
250
248
|
get confirmLabel() {
|
|
251
|
-
return
|
|
249
|
+
return E.get(n);
|
|
252
250
|
},
|
|
253
251
|
get cancelLabel() {
|
|
254
|
-
return
|
|
252
|
+
return E.get(r);
|
|
255
253
|
},
|
|
256
254
|
variant: "default",
|
|
257
255
|
get busy() {
|
|
258
|
-
return
|
|
256
|
+
return E.get(L);
|
|
259
257
|
},
|
|
260
|
-
onConfirm:
|
|
261
|
-
onCancel:
|
|
258
|
+
onConfirm: ye,
|
|
259
|
+
onCancel: ve,
|
|
262
260
|
get open() {
|
|
263
|
-
return
|
|
261
|
+
return E.get(F);
|
|
264
262
|
},
|
|
265
263
|
set open(e) {
|
|
266
|
-
|
|
264
|
+
E.set(F, e, !0);
|
|
267
265
|
}
|
|
268
266
|
});
|
|
269
267
|
}
|
|
270
|
-
var $ =
|
|
271
|
-
var t =
|
|
272
|
-
|
|
268
|
+
var $ = E.sibling(Q, 2), Ae = (e) => {
|
|
269
|
+
var t = fe(), n = E.only_child(t, !0);
|
|
270
|
+
E.template_effect(() => E.set_text(n, E.get(R))), E.append(e, t);
|
|
273
271
|
};
|
|
274
|
-
|
|
275
|
-
|
|
272
|
+
E.if($, (e) => {
|
|
273
|
+
E.get(R) && e(Ae);
|
|
276
274
|
});
|
|
277
|
-
var je =
|
|
278
|
-
|
|
275
|
+
var je = E.sibling($, 2);
|
|
276
|
+
w(je, {
|
|
279
277
|
get documentId() {
|
|
280
|
-
return
|
|
278
|
+
return k.documentId;
|
|
281
279
|
},
|
|
282
|
-
onSuccess:
|
|
280
|
+
onSuccess: be,
|
|
283
281
|
get open() {
|
|
284
|
-
return
|
|
282
|
+
return E.get(P);
|
|
285
283
|
},
|
|
286
284
|
set open(e) {
|
|
287
|
-
|
|
285
|
+
E.set(P, e, !0);
|
|
288
286
|
}
|
|
289
|
-
}),
|
|
290
|
-
|
|
287
|
+
}), E.template_effect((e, t, n, r) => {
|
|
288
|
+
E.set_text(Ce, e), J.disabled = E.get(j), E.set_attribute(J, "title", t), E.set_attribute(J, "aria-label", n), E.set_text(we, ` ${r ?? ""}`);
|
|
291
289
|
}, [
|
|
292
290
|
() => u(),
|
|
293
291
|
() => x(),
|
|
294
292
|
() => x(),
|
|
295
293
|
() => x()
|
|
296
|
-
]),
|
|
294
|
+
]), E.delegated("click", J, () => E.set(P, !0)), E.append(i, U), E.pop();
|
|
297
295
|
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
export { A as VersionHistory };
|
|
296
|
+
E.delegate(["click"]);
|
|
297
|
+
export { k as VersionHistory };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext as e } from "svelte";
|
|
2
|
-
|
|
2
|
+
// src/lib/extensions/context.ts
|
|
3
3
|
function t(e = {}) {
|
|
4
4
|
return {
|
|
5
5
|
sidebarTop: [...e.sidebarTop ?? []],
|
|
@@ -27,5 +27,4 @@ function a(e = {}) {
|
|
|
27
27
|
let n = t(e);
|
|
28
28
|
return r(n), n;
|
|
29
29
|
}
|
|
30
|
-
//#endregion
|
|
31
30
|
export { a as n, i as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
1
|
+
import { t as e } from "./Icon-CiHcxcpv.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
import "svelte/internal/flags/legacy";
|
|
5
|
-
|
|
5
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/copy.svelte
|
|
6
6
|
function n(n, r) {
|
|
7
7
|
let i = t.legacy_rest_props(r, [
|
|
8
8
|
"children",
|
|
@@ -28,5 +28,4 @@ function n(n, r) {
|
|
|
28
28
|
$$slots: { default: !0 }
|
|
29
29
|
}));
|
|
30
30
|
}
|
|
31
|
-
//#endregion
|
|
32
31
|
export { n as t };
|