@hiai-gg/docsmint 0.7.4 → 0.7.6
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 +2 -2
- package/dist/backend/index.js +130026 -129609
- package/dist/backend-account-runtime-cleanup.js +2 -0
- package/dist/backend-api-key-facade.js +2 -0
- package/dist/backend-pipeline-cancellation.js +2 -0
- package/dist/frontend/CategoryDialog-D_xFSWGh.js +630 -0
- package/dist/frontend/ConfirmDialog-Cfq3D2Di.js +221 -0
- package/dist/frontend/{CreateSnapshotDialog-CojnWChs.js → CreateSnapshotDialog-BHODxZWK.js} +53 -52
- package/dist/frontend/{DatePicker-7FAbIOGg.js → DatePicker-CZyCnQ1q.js} +62 -64
- package/dist/frontend/{DeleteDialog-BIlqRb1u.js → DeleteDialog-DaJOO6SB.js} +17 -17
- package/dist/frontend/FolderNode-C_91NlEO.js +307 -0
- package/dist/frontend/{FolderTreeSelector-BMB1MS9N.js → FolderTreeSelector-DqO-f0nt.js} +7 -7
- package/dist/frontend/HiAiEditor-DtUGbQg6.js +3160 -0
- package/dist/frontend/{HiaiDocsExtensionProvider-OSn96BBw.js → HiaiDocsExtensionProvider-Cc3yzW5I.js} +5 -3
- package/dist/frontend/{Icon-Db-o32_E.js → Icon-y7xxAIC6.js} +1 -1
- package/dist/frontend/{SettingsDialog-DatuxOVX.js → SettingsDialog-BlIZqk2-.js} +169 -158
- package/dist/frontend/ShareDialog-CmX-VoJ9.js +273 -0
- package/dist/frontend/Sidebar-BVGm5BRR.js +2147 -0
- package/dist/frontend/{TagCreateDialog-Ch21yuWV.js → TagCreateDialog-BlGz4O9Z.js} +45 -36
- package/dist/frontend/action_cancel-Cuxsznzz.js +5 -0
- package/dist/frontend/action_close-BJm_52wm.js +5 -0
- package/dist/frontend/action_create-CtBQrRuj.js +5 -0
- package/dist/frontend/action_delete-BXBIzvn0.js +5 -0
- package/dist/frontend/action_go_to-VmK5jmEk.js +5 -0
- package/dist/frontend/action_loading-BLCGJVA9.js +5 -0
- package/dist/frontend/action_save-BRN2Z_GP.js +5 -0
- package/dist/frontend/api/attachments.js +1 -1
- package/dist/frontend/api/categories.js +1 -1
- package/dist/frontend/api/folders.js +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/api/share.js +1 -1
- package/dist/frontend/api/tags.js +1 -1
- package/dist/frontend/app-shell.js +8 -8
- package/dist/frontend/{attachments-B2aH3hXF.js → attachments-C225gTA7.js} +2 -2
- package/dist/frontend/{auth-client-CnDZwPfp.js → auth-client-DCMne8vd.js} +630 -615
- package/dist/frontend/{bundle-mjs-DllmqUxV.js → bundle-mjs-CZ3g1Uzr.js} +35 -42
- package/dist/frontend/{camera-CzCxBOpc.js → camera-BI-BtnIm.js} +2 -2
- package/dist/frontend/{categories-X7gK8azc.js → categories-Bjcc41We.js} +1 -1
- package/dist/frontend/categories_update_error-4aSI8PTr.js +5 -0
- package/dist/frontend/{check-BIi-Ghti.js → check-sdTlLwi9.js} +2 -2
- package/dist/frontend/{chevron-down-C2ft7XUV.js → chevron-down-DlBnIE7Y.js} +2 -2
- package/dist/frontend/{circle-check-BrqfiQH1.js → circle-check-hWC-HeKu.js} +2 -2
- package/dist/frontend/{clock-Dz86E4Kz.js → clock-C4FHq-9q.js} +2 -2
- package/dist/frontend/collaboration.js +208 -103
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend/components/delete-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.js +1 -1
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/editor/document-title.js +3 -2
- package/dist/frontend/components/editor/docx-serializer.js +140 -125
- package/dist/frontend/components/editor/extensions.js +1 -1
- package/dist/frontend/components/editor/markdown-toggle.js +9 -9
- package/dist/frontend/components/editor/markdown.js +1 -1
- package/dist/frontend/components/folder-node.js +1 -1
- package/dist/frontend/components/folder-tree-selector.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +34 -25
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/components/tag-create-dialog.js +1 -1
- package/dist/frontend/components/version-history.js +181 -176
- package/dist/frontend/{confirm-dialog-8T6vsWL7.js → confirm-dialog-BFTxjLv-.js} +46 -37
- package/dist/frontend/{copy-CvCh4ZVt.js → copy-4H99lwAQ.js} +2 -2
- package/dist/frontend/dashboard.js +462 -456
- package/dist/frontend/{db-Bo1t_76T.js → db-CbFRFAm2.js} +40 -38
- package/dist/frontend/{dialog-CiSwD-_v.js → dialog-tHAH3-9M.js} +10 -10
- package/dist/frontend/dist-Cg1BpNS7.js +2262 -0
- package/dist/frontend/dndzone-BrakBHwm.js +1375 -0
- package/dist/frontend/doc_title_label-DS9jSIh2.js +5 -0
- package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +5 -0
- package/dist/frontend/{document-drop-coordinator-C4xHMjwC.js → document-drop-coordinator-Da7HcXgv.js} +1 -1
- package/dist/frontend/document-drop-coordinator.js +1 -1
- package/dist/frontend/{dropdown-menu-Bi5Iipwf.js → dropdown-menu-AJYeFPHu.js} +145 -145
- package/dist/frontend/{editor-content-sanitizer-CC_A8aaI.js → editor-content-sanitizer-CWjqiz0T.js} +30 -30
- package/dist/frontend/{editorExtensions--HusV819.js → editorExtensions-B-mKiWqq.js} +5085 -6220
- package/dist/frontend/editor_markdown_placeholder-BIWDUF1E.js +5 -0
- package/dist/frontend/error_dismiss-Dx_JbRjs.js +5 -0
- package/dist/frontend/error_generic-CzNtmBT4.js +5 -0
- package/dist/frontend/extension.js +1 -1
- package/dist/frontend/{folder-Cx60MRpi.js → folder-BAX6qBYy.js} +3 -3
- package/dist/frontend/{folders-ONG03Dkv.js → folders-CC0UWkZH.js} +3 -3
- package/dist/frontend/folders_rename-BJo4Gipq.js +5 -0
- package/dist/frontend/i18n.js +1007 -6
- package/dist/frontend/{identity-Ynrglr5i.js → identity-O4lAuchv.js} +2 -2
- package/dist/frontend/{input-N9dNSOWF.js → input-CrlYAH2S.js} +2 -2
- package/dist/frontend/{label-CK72_fw8.js → label-B0syEfns.js} +2 -2
- package/dist/frontend/{markdown-H6QB53zu.js → markdown-CMij27Gg.js} +1 -1
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/{floating-layer-anchor-BGIndLY-.js → popper-layer-force-mount-BAYjg6Pp.js} +2476 -2564
- package/dist/frontend/{rolldown-runtime-CWhphoD1.js → rolldown-runtime-DArdT4gl.js} +2 -2
- package/dist/frontend/{rotate-ccw-ta4NosZ0.js → rotate-ccw-DtZDfSK3.js} +2 -2
- package/dist/frontend/runtime-CwWSo6c9.js +128 -0
- package/dist/frontend/{schemas-DwtKylCJ.js → schemas-CdPhcuru.js} +6 -7
- package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +5 -0
- package/dist/frontend/search.js +237 -265
- package/dist/frontend/search_title-DOC0cPlQ.js +5 -0
- package/dist/frontend/{select-value-BD1DToYs.js → select-value-D9VqY5n5.js} +575 -572
- package/dist/frontend/{settings-BR48ihB4.js → settings-DJW8JkdF.js} +1 -1
- package/dist/frontend/{share-D7JtkC85.js → share-D5yo0JOh.js} +2 -1
- package/dist/frontend/share_copied-DPxVzfWh.js +5 -0
- package/dist/frontend/share_toggle_password-DdxfIjj1.js +5 -0
- package/dist/frontend/shared-document.js +1 -1
- package/dist/frontend/sidebar_uncategorized-qJ2_Aonf.js +5 -0
- package/dist/frontend/sort_relevance-DwYX5MO9.js +5 -0
- package/dist/frontend/{tag-DhVFHMcV.js → tag-ChpMfbfa.js} +3 -3
- package/dist/frontend/{tags-BdCaMGfj.js → tags-CzPNUoFw.js} +1 -1
- package/dist/frontend/tags_load_error-BKjA1pI0.js +5 -0
- package/dist/frontend/tags_new-BiNAJ9Bx.js +5 -0
- package/dist/frontend/{textarea-pl_fDBre.js → textarea-l_gRXsrH.js} +2 -2
- package/dist/frontend/theme.js +1 -1
- package/dist/frontend/{theme.svelte-DG3RS7wv.js → theme.svelte-Bzitjfh9.js} +2 -2
- package/dist/frontend/theme_system-BBNUhYKh.js +5 -0
- package/dist/frontend/utils/dndzone.js +1 -1
- package/dist/frontend/utils-B4LKx7VS.js +7 -0
- package/dist/frontend/{utils-DrfHTcei.js → utils-BovMJHdA.js} +2 -2
- package/dist/frontend/utils.js +1 -1
- package/dist/frontend/version_create_snapshot-3bu-0qzH.js +5 -0
- package/dist/frontend/version_restored_from-dVRN3Zdk.js +5 -0
- package/dist/frontend/version_snapshot_label_placeholder-DrMikux0.js +5 -0
- package/dist/frontend/weekday_we-C5H_M-df.js +5 -0
- package/dist/frontend/{x-cfdlccjs.js → x-B2ifxSH7.js} +2 -2
- package/dist/frontend/{awareness-snQ3RD9f.js → yjs-VUcKqaKW.js} +835 -944
- package/dist/frontend-ssr/api/attachments.js +92 -1
- package/dist/frontend-ssr/api/categories.js +1 -1
- package/dist/frontend-ssr/api/documents.js +1 -1
- package/dist/frontend-ssr/api/folders.js +1 -1
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/api/share.js +30 -1
- package/dist/frontend-ssr/api/tags.js +1 -1
- package/dist/frontend-ssr/app-shell.js +25 -18
- package/dist/frontend-ssr/assets/{CategoryDialog-DsXe54EF.js → CategoryDialog-C41IBNWG.js} +26 -35
- package/dist/frontend-ssr/assets/ConfirmDialog-CWO0HBaS.js +424 -0
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-D3-PjXVr.js → CreateSnapshotDialog-CECCRK0d.js} +12 -18
- package/dist/frontend-ssr/assets/{DatePicker-C9suIA1S.js → DatePicker-TZVeMZ2S.js} +32 -20
- package/dist/frontend-ssr/assets/{DeleteDialog-DxtMrS1O.js → DeleteDialog-BVnmzR2e.js} +5 -7
- package/dist/frontend-ssr/assets/{FolderNode-ChD10Elp.js → FolderNode-CClgk8BL.js} +7 -7
- package/dist/frontend-ssr/assets/{FolderTreeSelector-Bxi8EqMm.js → FolderTreeSelector-DnrKCYtl.js} +17 -20
- package/dist/frontend-ssr/assets/{HiAiEditor-2X3Uyg1B.js → HiAiEditor-_-m7MJDd.js} +330 -254
- package/dist/frontend-ssr/assets/{Icon-QwirKi9Y.js → Icon-Clqe8D8X.js} +28 -16
- package/dist/frontend-ssr/assets/{SettingsDialog-DDy0hN8x.js → SettingsDialog-BdvHRAxF.js} +45 -49
- package/dist/frontend-ssr/assets/{ShareDialog-BwW_wF4G.js → ShareDialog-DHPbSHZg.js} +5 -6
- package/dist/frontend-ssr/assets/{Sidebar-Dy-5gXOf.js → Sidebar-B3Saqn0O.js} +90 -93
- package/dist/frontend-ssr/assets/{TagCreateDialog-BPzgOaX8.js → TagCreateDialog-CPg-nG0D.js} +14 -14
- package/dist/frontend-ssr/assets/action_cancel-OVgQDP5Q.js +22 -0
- package/dist/frontend-ssr/assets/action_close-DagDyMXk.js +22 -0
- package/dist/frontend-ssr/assets/action_create-hqJWjyqh.js +22 -0
- package/dist/frontend-ssr/assets/action_delete-B1-16jSo.js +22 -0
- package/dist/frontend-ssr/assets/action_go_to-DQScgw7P.js +22 -0
- package/dist/frontend-ssr/assets/action_save-Bx7vlLZI.js +22 -0
- package/dist/frontend-ssr/assets/{api-keys-DIbclwj5.js → api-keys-CHOrbU-Q.js} +1 -1
- package/dist/frontend-ssr/assets/{auth-client-CojKIzqy.js → auth-client-DzkZlSQ8.js} +295 -261
- package/dist/frontend-ssr/assets/{camera-D6s20LDi.js → camera-Dwwtgvfn.js} +10 -6
- package/dist/frontend-ssr/assets/{categories-av9xjeg5.js → categories-C_dxFoHi.js} +1 -1
- package/dist/frontend-ssr/assets/categories_update_error-DkKgsqdD.js +202 -0
- package/dist/frontend-ssr/assets/{chevron-down-CvqKATjM.js → chevron-down-C6BTPJFz.js} +10 -6
- package/dist/frontend-ssr/assets/{chevron-right-DKD7WXjz.js → chevron-right-CseGE1qd.js} +10 -6
- package/dist/frontend-ssr/assets/{circle-check-CPS9dKEo.js → circle-check-BRhWPZo1.js} +10 -6
- package/dist/frontend-ssr/assets/{client-DZMkDkDn.js → client-rfwQYYHY.js} +4 -2
- package/dist/frontend-ssr/assets/{clock-CzsE58TH.js → clock-DpP_Y7WP.js} +10 -6
- package/dist/frontend-ssr/assets/{confirm-dialog-wYC07DPx.js → confirm-dialog-DeOR0SnQ.js} +44 -31
- package/dist/frontend-ssr/assets/{copy-DkkCPkBL.js → copy-DRMKiRZ0.js} +10 -6
- package/dist/frontend-ssr/assets/{db-BhwJPEkn.js → db-CUkQe9AU.js} +1 -1
- package/dist/frontend-ssr/assets/{dialog-ClcuF7nD.js → dialog--tDgDGw9.js} +12 -15
- package/dist/frontend-ssr/assets/{dndzone-DMvTO_Jz.js → dndzone-WtNaDxoQ.js} +309 -77
- package/dist/frontend-ssr/assets/doc_title_label-Ev_ltlh3.js +22 -0
- package/dist/frontend-ssr/assets/doc_title_placeholder-DSHpUb7w.js +22 -0
- package/dist/frontend-ssr/assets/{documents-CZ-wQohy.js → documents-CEuA1V6N.js} +1 -1
- package/dist/frontend-ssr/assets/{dropdown-menu-BKMGVNLL.js → dropdown-menu-CdEpn_LT.js} +74 -75
- package/dist/frontend-ssr/assets/editor_markdown_placeholder-BpezdkOr.js +42 -0
- package/dist/frontend-ssr/assets/editor_toolbar_undo-CKJAOqv2.js +562 -0
- package/dist/frontend-ssr/assets/error_generic-DTK0kwxT.js +42 -0
- package/dist/frontend-ssr/assets/{folder-DYIE-XPP.js → folder-DszunwKc.js} +10 -6
- package/dist/frontend-ssr/assets/{folders-BX30gHv6.js → folders-BOXeb9hz.js} +3 -2
- package/dist/frontend-ssr/assets/folders_rename-DvciOb6K.js +122 -0
- package/dist/frontend-ssr/assets/{identity-DcMMBKWg.js → identity-veXobEfE.js} +2 -2
- package/dist/frontend-ssr/assets/{input-DcDR8L8M.js → input-BlAj7LzC.js} +2 -2
- package/dist/frontend-ssr/assets/{label-Cz0_svJx.js → label-BRToaMg9.js} +2 -2
- package/dist/frontend-ssr/assets/{loader-circle-CIEWGyfP.js → loader-circle-BpRVrMZg.js} +10 -6
- package/dist/frontend-ssr/assets/{floating-layer-anchor-BoiiIEiK.js → popper-layer-force-mount-Djnq7l7a.js} +3684 -3674
- package/dist/frontend-ssr/assets/{rotate-ccw-dJSqPyTd.js → rotate-ccw-1GOD_yt_.js} +10 -6
- package/dist/frontend-ssr/assets/runtime-O78RzRqx.js +559 -0
- package/dist/frontend-ssr/assets/scroll_to_top_aria-BN4ZfOnM.js +22 -0
- package/dist/frontend-ssr/assets/search_title-CKUsQDT0.js +22 -0
- package/dist/frontend-ssr/assets/search_toggle_filters-hS9rvQhC.js +282 -0
- package/dist/frontend-ssr/assets/{select-value-CaDktvDW.js → select-value-BCWSsoTd.js} +204 -218
- package/dist/frontend-ssr/assets/{settings-Mp8EuFSn.js → settings-DwAcLGM1.js} +2 -2
- package/dist/frontend-ssr/assets/share_copied-BxU9rjXG.js +602 -0
- package/dist/frontend-ssr/assets/share_toggle_password-C6OmroqR.js +202 -0
- package/dist/frontend-ssr/assets/sidebar_uncategorized-Dx-LTd5w.js +102 -0
- package/dist/frontend-ssr/assets/{tag-BmiVU_Ej.js → tag-DFh6nF9R.js} +19 -11
- package/dist/frontend-ssr/assets/{tag-store.svelte-BM1lUI_P.js → tag-store.svelte-QRysvGKe.js} +1 -1
- package/dist/frontend-ssr/assets/{tags-BQsI_6OW.js → tags-BBCoFYro.js} +1 -1
- package/dist/frontend-ssr/assets/tags_load_error-CPrc6Gzs.js +362 -0
- package/dist/frontend-ssr/assets/tags_new-VmMr9v2V.js +62 -0
- package/dist/frontend-ssr/assets/{textarea-BGrjPOgU.js → textarea-BuszTo9i.js} +2 -2
- package/dist/frontend-ssr/assets/{theme.svelte-CN3BUhJG.js → theme.svelte-shZrSxz8.js} +1 -1
- package/dist/frontend-ssr/assets/theme_system-BucaNntV.js +362 -0
- package/dist/frontend-ssr/assets/{utils-Cg_R05dR.js → utils-BK35BJKQ.js} +1 -1
- package/dist/frontend-ssr/assets/version_create_snapshot-COHzwjle.js +22 -0
- package/dist/frontend-ssr/assets/version_restored_from-CertjFDl.js +242 -0
- package/dist/frontend-ssr/assets/version_snapshot_label_placeholder-Cy_rMCij.js +222 -0
- package/dist/frontend-ssr/assets/weekday_we-DrI3U230.js +422 -0
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend-ssr/components/delete-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-title.js +2 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +2 -2
- package/dist/frontend-ssr/components/folder-node.js +1 -1
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +12 -14
- package/dist/frontend-ssr/components/settings.js +1 -1
- package/dist/frontend-ssr/components/share-dialog.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
- package/dist/frontend-ssr/components/version-history.js +47 -51
- package/dist/frontend-ssr/dashboard.js +243 -232
- package/dist/frontend-ssr/i18n.js +6698 -1
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/frontend-ssr/search.js +28 -31
- package/dist/frontend-ssr/shared-document.js +1 -2
- package/dist/frontend-ssr/theme.js +1 -1
- package/dist/frontend-ssr/utils/dndzone.js +1 -1
- package/dist/lifecycle-runtime.js +4437 -2019
- package/dist/mcp-cli.js +1 -1
- package/dist/mcp-server.js +1 -1
- package/package.json +7 -7
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/schema.ts +2 -0
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-bQKMpVFD.js +0 -631
- package/dist/frontend/ConfirmDialog-DF7kgkyq.js +0 -139
- package/dist/frontend/FolderNode-Cf443LBa.js +0 -298
- package/dist/frontend/HiAiEditor-CMZ-eL8s.js +0 -2992
- package/dist/frontend/ShareDialog-Bwz2y3Le.js +0 -281
- package/dist/frontend/Sidebar-C_t5RrOJ.js +0 -2101
- package/dist/frontend/dist-DQa_OHOa.js +0 -268
- package/dist/frontend/dndzone-BzsOINtP.js +0 -1199
- package/dist/frontend/messages-DTRe4U2V.js +0 -1093
- package/dist/frontend/utils-CMQRlxbx.js +0 -7
- package/dist/frontend-ssr/assets/ConfirmDialog-DrH653ua.js +0 -136
- package/dist/frontend-ssr/assets/attachments-BdkOp8ha.js +0 -93
- package/dist/frontend-ssr/assets/messages-B1TjVIH8.js +0 -11147
- package/dist/frontend-ssr/assets/share-qTqvd6Lu.js +0 -30
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { n as e } from "./dist-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./dist-Cg1BpNS7.js";
|
|
2
|
+
import { t } from "./action_cancel-Cuxsznzz.js";
|
|
3
|
+
import { t as n } from "./action_create-CtBQrRuj.js";
|
|
4
|
+
import { t as r } from "./action_loading-BLCGJVA9.js";
|
|
5
|
+
import { t as i } from "./action_save-BRN2Z_GP.js";
|
|
6
|
+
import { t as a } from "./error_generic-CzNtmBT4.js";
|
|
7
|
+
import { n as o, r as s, t as c } from "./tags_new-BiNAJ9Bx.js";
|
|
3
8
|
import { a as l } from "./route-context-DYQlUfzL.js";
|
|
4
|
-
import { t as u } from "./utils-
|
|
5
|
-
import { a as d, i as f, n as p, o as m, r as h, s as g, t as _ } from "./dialog-
|
|
6
|
-
import { t as v } from "./input-
|
|
7
|
-
import { t as y } from "./label-
|
|
8
|
-
import { c as b, l as x, n as S, r as C } from "./tags-
|
|
9
|
+
import { t as u } from "./utils-BovMJHdA.js";
|
|
10
|
+
import { a as d, i as f, n as p, o as m, r as h, s as g, t as _ } from "./dialog-tHAH3-9M.js";
|
|
11
|
+
import { t as v } from "./input-CrlYAH2S.js";
|
|
12
|
+
import { t as y } from "./label-B0syEfns.js";
|
|
13
|
+
import { c as b, l as x, n as S, r as C } from "./tags-CzPNUoFw.js";
|
|
9
14
|
import "svelte/internal/disclose-version";
|
|
10
15
|
import * as w from "svelte/internal/client";
|
|
11
16
|
//#region src/lib/components/TagCreateDialog.svelte
|
|
@@ -24,7 +29,7 @@ function j(j, M) {
|
|
|
24
29
|
"#3b82f6",
|
|
25
30
|
"#8b5cf6",
|
|
26
31
|
"#ec4899"
|
|
27
|
-
], F = P[9], I = w.prop(M, "open", 15, !1), L = w.prop(M, "mode", 3, "create"), R = w.prop(M, "tag", 3, null), z = w.state(""), B = w.state(w.proxy(F)), V = w.state(null), H = w.state(null), U = w.state(!1), W = w.derived(() => L() === "edit"), G = w.derived(() => w.get(W) ?
|
|
32
|
+
], F = P[9], I = w.prop(M, "open", 15, !1), L = w.prop(M, "mode", 3, "create"), R = w.prop(M, "tag", 3, null), z = w.state(""), B = w.state(w.proxy(F)), V = w.state(null), H = w.state(null), U = w.state(!1), W = w.derived(() => L() === "edit"), G = w.derived(() => w.get(W) ? s() : c()), K = w.derived(() => w.get(U) ? r() : w.get(W) ? i() : n());
|
|
28
33
|
function q() {
|
|
29
34
|
w.set(z, ""), w.set(B, F, !0), w.set(V, null), w.set(H, null), w.set(U, !1);
|
|
30
35
|
}
|
|
@@ -45,7 +50,7 @@ function j(j, M) {
|
|
|
45
50
|
e.preventDefault(), w.set(V, null), w.set(H, null);
|
|
46
51
|
let t = w.get(z).trim();
|
|
47
52
|
if (t.length === 0) {
|
|
48
|
-
w.set(V,
|
|
53
|
+
w.set(V, o(), !0);
|
|
49
54
|
return;
|
|
50
55
|
}
|
|
51
56
|
if (w.get(W) && R()) {
|
|
@@ -107,11 +112,11 @@ function j(j, M) {
|
|
|
107
112
|
set open(e) {
|
|
108
113
|
I(e);
|
|
109
114
|
},
|
|
110
|
-
children: (
|
|
111
|
-
d(
|
|
112
|
-
children: (
|
|
113
|
-
var
|
|
114
|
-
p(
|
|
115
|
+
children: (n, r) => {
|
|
116
|
+
d(n, {
|
|
117
|
+
children: (n, r) => {
|
|
118
|
+
var i = A(), a = w.first_child(i);
|
|
119
|
+
p(a, {
|
|
115
120
|
children: (e, t) => {
|
|
116
121
|
var n = T(), r = w.first_child(n);
|
|
117
122
|
_(r, {
|
|
@@ -121,31 +126,33 @@ function j(j, M) {
|
|
|
121
126
|
w.template_effect(() => w.set_text(n, w.get(G))), w.append(e, n);
|
|
122
127
|
},
|
|
123
128
|
$$slots: { default: !0 }
|
|
124
|
-
})
|
|
129
|
+
});
|
|
130
|
+
var i = w.sibling(r, 2);
|
|
131
|
+
f(i, {
|
|
125
132
|
children: (e, t) => {
|
|
126
133
|
w.next();
|
|
127
134
|
var n = w.text();
|
|
128
|
-
w.template_effect((e) => w.set_text(n, e), [() =>
|
|
135
|
+
w.template_effect((e) => w.set_text(n, e), [() => o()]), w.append(e, n);
|
|
129
136
|
},
|
|
130
137
|
$$slots: { default: !0 }
|
|
131
138
|
}), w.append(e, n);
|
|
132
139
|
},
|
|
133
140
|
$$slots: { default: !0 }
|
|
134
141
|
});
|
|
135
|
-
var
|
|
142
|
+
var s = w.sibling(a, 2), c = w.child(s), l = w.child(c);
|
|
136
143
|
y(l, {
|
|
137
144
|
for: "tag-name",
|
|
138
145
|
class: "sr-only",
|
|
139
146
|
children: (e, t) => {
|
|
140
147
|
w.next();
|
|
141
148
|
var n = w.text();
|
|
142
|
-
w.template_effect((e) => w.set_text(n, e), [() =>
|
|
149
|
+
w.template_effect((e) => w.set_text(n, e), [() => o()]), w.append(e, n);
|
|
143
150
|
},
|
|
144
151
|
$$slots: { default: !0 }
|
|
145
152
|
});
|
|
146
153
|
var d = w.sibling(l, 2);
|
|
147
154
|
{
|
|
148
|
-
let e = w.derived(() =>
|
|
155
|
+
let e = w.derived(() => o()), t = w.derived(() => w.get(V) ? "true" : void 0), n = w.derived(() => w.get(V) ? "tag-name-error" : void 0);
|
|
149
156
|
v(d, {
|
|
150
157
|
id: "tag-name",
|
|
151
158
|
name: "name",
|
|
@@ -175,13 +182,13 @@ function j(j, M) {
|
|
|
175
182
|
});
|
|
176
183
|
}
|
|
177
184
|
var m = w.sibling(d, 2), b = (e) => {
|
|
178
|
-
var t = E(), n = w.
|
|
179
|
-
w.
|
|
185
|
+
var t = E(), n = w.only_child(t, !0);
|
|
186
|
+
w.template_effect(() => w.set_text(n, w.get(V))), w.append(e, t);
|
|
180
187
|
};
|
|
181
188
|
w.if(m, (e) => {
|
|
182
189
|
w.get(V) && e(b);
|
|
183
|
-
}), w.reset(
|
|
184
|
-
var x = w.sibling(
|
|
190
|
+
}), w.reset(c);
|
|
191
|
+
var x = w.sibling(c, 2), S = w.child(x);
|
|
185
192
|
y(S, {
|
|
186
193
|
for: "tag-color",
|
|
187
194
|
class: "text-xs text-muted-foreground",
|
|
@@ -203,33 +210,35 @@ function j(j, M) {
|
|
|
203
210
|
var M = w.sibling(j, 2), N = w.child(M);
|
|
204
211
|
w.remove_input_defaults(N), w.reset(M), w.reset(C), w.reset(x);
|
|
205
212
|
var F = w.sibling(x, 2), I = (e) => {
|
|
206
|
-
var t = O(), n = w.
|
|
207
|
-
w.
|
|
213
|
+
var t = O(), n = w.only_child(t, !0);
|
|
214
|
+
w.template_effect(() => w.set_text(n, w.get(H))), w.append(e, t);
|
|
208
215
|
};
|
|
209
216
|
w.if(F, (e) => {
|
|
210
217
|
w.get(H) && e(I);
|
|
211
|
-
}), w.reset(
|
|
218
|
+
}), w.reset(s);
|
|
219
|
+
var L = w.sibling(s, 2);
|
|
220
|
+
h(L, {
|
|
212
221
|
class: "gap-2 max-sm:flex-col max-sm:items-stretch",
|
|
213
|
-
children: (
|
|
214
|
-
var
|
|
215
|
-
g(
|
|
222
|
+
children: (n, r) => {
|
|
223
|
+
var i = T(), a = w.first_child(i);
|
|
224
|
+
g(a, {
|
|
216
225
|
variant: "outline",
|
|
217
226
|
type: "button",
|
|
218
227
|
onclick: Y,
|
|
219
228
|
get disabled() {
|
|
220
229
|
return w.get(U);
|
|
221
230
|
},
|
|
222
|
-
children: (e,
|
|
231
|
+
children: (e, n) => {
|
|
223
232
|
w.next();
|
|
224
|
-
var
|
|
225
|
-
w.template_effect((e) => w.set_text(
|
|
233
|
+
var r = w.text();
|
|
234
|
+
w.template_effect((e) => w.set_text(r, e), [() => t()]), w.append(e, r);
|
|
226
235
|
},
|
|
227
236
|
$$slots: { default: !0 }
|
|
228
237
|
});
|
|
229
|
-
var
|
|
238
|
+
var o = w.sibling(a, 2);
|
|
230
239
|
{
|
|
231
240
|
let t = w.derived(() => w.get(U) || w.get(z).trim().length === 0);
|
|
232
|
-
g(
|
|
241
|
+
g(o, {
|
|
233
242
|
type: "submit",
|
|
234
243
|
onclick: Z,
|
|
235
244
|
get disabled() {
|
|
@@ -248,12 +257,12 @@ function j(j, M) {
|
|
|
248
257
|
$$slots: { default: !0 }
|
|
249
258
|
});
|
|
250
259
|
}
|
|
251
|
-
w.append(
|
|
260
|
+
w.append(n, i);
|
|
252
261
|
},
|
|
253
262
|
$$slots: { default: !0 }
|
|
254
263
|
}), w.template_effect((e) => {
|
|
255
264
|
w.set_class(M, 1, e), w.set_style(M, `background-color: ${w.get(B) ?? ""};`), w.set_value(N, w.get(B)), N.disabled = w.get(U);
|
|
256
|
-
}, [() => w.clsx(u("relative inline-flex size-6 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full border-2 transition-all", P.includes(w.get(B)) ? "border-transparent hover:scale-105" : "scale-110 border-foreground"))]), w.event("submit",
|
|
265
|
+
}, [() => w.clsx(u("relative inline-flex size-6 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full border-2 transition-all", P.includes(w.get(B)) ? "border-transparent hover:scale-105" : "scale-110 border-foreground"))]), w.event("submit", s, Z), w.delegated("input", N, (e) => w.set(B, e.currentTarget.value, !0)), w.append(n, i);
|
|
257
266
|
},
|
|
258
267
|
$$slots: { default: !0 }
|
|
259
268
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../attachments-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../attachments-C225gTA7.js";
|
|
2
2
|
export { a as confirmAttachment, n as isFileSizeAllowed, i as isImageFile, t as listAttachments, e as presignAttachment, r as uploadAttachment };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../categories-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../categories-Bjcc41We.js";
|
|
2
2
|
export { s as createCategory, r as createCategoryInputSchema, a as deleteCategory, n as listCategories, e as setDocumentCategory, i as setFolderCategory, o as updateCategory, t as updateCategoryInputSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../folders-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../folders-CC0UWkZH.js";
|
|
2
2
|
export { s as createFolder, r as deleteDocument, a as deleteFolder, n as duplicateDocument, e as getFolder, i as getFolderPath, o as listFolders, t as updateFolder };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../settings-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../settings-DJW8JkdF.js";
|
|
2
2
|
export { i as deleteAccount, n as getEmbeddingConfig, r as getProfile, t as updateEmbeddingConfig, e as updateProfile };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../share-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../share-D5yo0JOh.js";
|
|
2
2
|
export { a as addGuest, n as createShareLink, i as getShareLink, t as listShareLinks, e as removeGuest, r as revokeShareLink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../tags-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../tags-CzPNUoFw.js";
|
|
2
2
|
export { c as addTagToDocument, i as createTag, o as createTagInputSchema, n as deleteTag, e as getTag, a as listTags, s as removeTagFromDocument, t as updateTag, r as updateTagInputSchema };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
2
|
-
import { n as t, t as n } from "./confirm-dialog-
|
|
3
|
-
import { n as r } from "./SettingsDialog-
|
|
4
|
-
import { t as i } from "./Sidebar-
|
|
5
|
-
import {
|
|
1
|
+
import { t as e } from "./Icon-y7xxAIC6.js";
|
|
2
|
+
import { n as t, t as n } from "./confirm-dialog-BFTxjLv-.js";
|
|
3
|
+
import { n as r } from "./SettingsDialog-BlIZqk2-.js";
|
|
4
|
+
import { t as i } from "./Sidebar-BVGm5BRR.js";
|
|
5
|
+
import { t as a } from "./scroll_to_top_aria-CvkNF_Hu.js";
|
|
6
6
|
import { o, r as s } from "./route-context-DYQlUfzL.js";
|
|
7
7
|
import { t as c } from "./editor-preferences.svelte-Bt_A9k7n.js";
|
|
8
8
|
import { d as l } from "./subfolders-refresh-store.svelte-DxP21a1c.js";
|
|
9
9
|
import { a as u, o as d } from "./tag-store.svelte-ogVCMCbv.js";
|
|
10
|
-
import { t as f } from "./HiaiDocsExtensionProvider-
|
|
10
|
+
import { t as f } from "./HiaiDocsExtensionProvider-Cc3yzW5I.js";
|
|
11
11
|
import "svelte/internal/disclose-version";
|
|
12
12
|
import * as p from "svelte/internal/client";
|
|
13
13
|
import { getContext as m, onDestroy as h, setContext as g, untrack as _ } from "svelte";
|
|
14
14
|
import "svelte/internal/flags/legacy";
|
|
15
|
-
//#region ../node_modules/.bun/lucide-svelte@0.
|
|
15
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/arrow-up.svelte
|
|
16
16
|
function v(t, n) {
|
|
17
17
|
let r = p.legacy_rest_props(n, [
|
|
18
18
|
"children",
|
|
@@ -32,7 +32,7 @@ function v(t, n) {
|
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
|
-
//#region ../node_modules/.bun/lucide-svelte@0.
|
|
35
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/menu.svelte
|
|
36
36
|
function y(t, n) {
|
|
37
37
|
let r = p.legacy_rest_props(n, [
|
|
38
38
|
"children",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./client-GbtOH90i.js";
|
|
2
2
|
//#region src/lib/api/attachments.ts
|
|
3
|
-
var t =
|
|
3
|
+
var t = 26214400;
|
|
4
4
|
function n(t, n, r) {
|
|
5
5
|
return e(`/api/documents/${t}/attachments/presign`, {
|
|
6
6
|
method: "POST",
|
|
@@ -25,7 +25,7 @@ function r(t, n, r, i, a, o) {
|
|
|
25
25
|
}, o);
|
|
26
26
|
}
|
|
27
27
|
async function i(e, t, i) {
|
|
28
|
-
let a = await n(e, t, i), o = new AbortController(), s = setTimeout(() => o.abort(),
|
|
28
|
+
let a = await n(e, t, i), o = new AbortController(), s = setTimeout(() => o.abort(), 3e5), c;
|
|
29
29
|
try {
|
|
30
30
|
c = await fetch(a.url, {
|
|
31
31
|
method: "PUT",
|