@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,50 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as Folder } from "./folder-
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
1
|
+
import { t as Icon } from "./Icon-Clqe8D8X.js";
|
|
2
|
+
import { a as File_text, i as Plus, o as Check, r as FolderDialog, t as getDocsmintShareAdapter } from "./confirm-dialog-DeOR0SnQ.js";
|
|
3
|
+
import { t as Chevron_down } from "./chevron-down-C6BTPJFz.js";
|
|
4
|
+
import { t as Chevron_right } from "./chevron-right-CseGE1qd.js";
|
|
5
|
+
import { t as Clock } from "./clock-DpP_Y7WP.js";
|
|
6
|
+
import { t as Copy } from "./copy-DRMKiRZ0.js";
|
|
7
|
+
import { a as Dropdown_menu, i as Dropdown_menu_content, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-CdEpn_LT.js";
|
|
8
|
+
import { t as Folder } from "./folder-DszunwKc.js";
|
|
9
|
+
import { t as Loader_circle } from "./loader-circle-BpRVrMZg.js";
|
|
10
|
+
import { t as SettingsDialog } from "./SettingsDialog-BdvHRAxF.js";
|
|
11
|
+
import { n as Search, t as Tag } from "./tag-DFh6nF9R.js";
|
|
12
|
+
import { t as action_cancel } from "./action_cancel-OVgQDP5Q.js";
|
|
13
|
+
import { a as action_copy_content, i as dashboard_title, n as folders_delete_title, t as sidebar_uncategorized } from "./sidebar_uncategorized-Dx-LTd5w.js";
|
|
14
|
+
import { t as action_delete } from "./action_delete-B1-16jSo.js";
|
|
15
|
+
import { _ as categories_new, a as sidebar_recent, c as search_placeholder, d as folders_delete_success, f as doc_tags, g as doc_delete, h as doc_delete_confirm, i as tags_add, l as folders_name_placeholder, m as doc_delete_success, n as tags_delete_title, o as sidebar_powered_by, p as doc_delete_success_description, r as tags_delete_description, s as sidebar_folders, t as tags_load_error, u as folders_delete_success_description, v as action_edit } from "./tags_load_error-CPrc6Gzs.js";
|
|
16
|
+
import { t as action_go_to } from "./action_go_to-DQScgw7P.js";
|
|
17
|
+
import { n as action_loading, t as error_generic } from "./error_generic-DTK0kwxT.js";
|
|
18
|
+
import { t as action_save } from "./action_save-Bx7vlLZI.js";
|
|
19
|
+
import { i as settings_title } from "./theme_system-BucaNntV.js";
|
|
20
|
+
import { a as doc_share, i as editor_more_options, n as folders_new, o as dashboard_new_document, t as folders_rename } from "./folders_rename-DvciOb6K.js";
|
|
21
|
+
import { t as doc_title_label } from "./doc_title_label-Ev_ltlh3.js";
|
|
22
|
+
import { t as search_title } from "./search_title-CKUsQDT0.js";
|
|
23
|
+
import { t as tags_new } from "./tags_new-VmMr9v2V.js";
|
|
13
24
|
import { a as getDocsmintRequestAdapter, i as resolveDocsmintRoute, n as navigateDocsmintRoute, t as getDocsmintRouteAdapter } from "./route-context-BPRerEtZ.js";
|
|
14
25
|
import { t as cn } from "./utils-DvZnctjz.js";
|
|
15
|
-
import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog
|
|
16
|
-
import { t as Input } from "./input-
|
|
17
|
-
import { t as Label } from "./label-
|
|
18
|
-
import { n as apiFetch } from "./client-
|
|
19
|
-
import { i as listCategories, r as deleteCategory } from "./categories-
|
|
26
|
+
import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog--tDgDGw9.js";
|
|
27
|
+
import { t as Input } from "./input-BlAj7LzC.js";
|
|
28
|
+
import { t as Label } from "./label-BRToaMg9.js";
|
|
29
|
+
import { n as apiFetch } from "./client-rfwQYYHY.js";
|
|
30
|
+
import { i as listCategories, r as deleteCategory } from "./categories-C_dxFoHi.js";
|
|
20
31
|
import { t as getFrontendExtensions } from "./context-Bi_mO-NS.js";
|
|
21
32
|
import { t as resolveExtensions } from "./resolve-BqHozBXl.js";
|
|
22
|
-
import { n as SHADOW_ITEM_MARKER_PROPERTY_NAME } from "./dndzone-
|
|
23
|
-
import { c as updateDocument, r as deleteDocument, s as listDocuments, t as clearDocumentsCache } from "./documents-
|
|
24
|
-
import { c as updateFolder, r as deleteFolder, s as listFolders, t as createFolder } from "./folders-
|
|
25
|
-
import { t as DeleteDialog } from "./DeleteDialog-
|
|
26
|
-
import { t as ShareDialog } from "./ShareDialog-
|
|
27
|
-
import { t as CategoryDialog } from "./CategoryDialog-
|
|
33
|
+
import { n as SHADOW_ITEM_MARKER_PROPERTY_NAME } from "./dndzone-WtNaDxoQ.js";
|
|
34
|
+
import { c as updateDocument, r as deleteDocument, s as listDocuments, t as clearDocumentsCache } from "./documents-CEuA1V6N.js";
|
|
35
|
+
import { c as updateFolder, r as deleteFolder, s as listFolders, t as createFolder } from "./folders-BOXeb9hz.js";
|
|
36
|
+
import { t as DeleteDialog } from "./DeleteDialog-BVnmzR2e.js";
|
|
37
|
+
import { t as ShareDialog } from "./ShareDialog-DHPbSHZg.js";
|
|
38
|
+
import { t as CategoryDialog } from "./CategoryDialog-C41IBNWG.js";
|
|
28
39
|
import { n as createDocumentPlacementWriter, t as createDocumentDropCoordinator } from "./document-drop-coordinator-CEaYACsC.js";
|
|
29
40
|
import { a as getFolderFromRegistry, c as getPendingDocumentPlacement, d as refreshFolders, f as registerDocument, n as bumpSubfoldersRefresh, p as registerFolder, r as getDocumentFromRegistry, t as acknowledgeDocumentPlacement, u as publishDocumentPlacement } from "./subfolders-refresh-store.svelte-CXHxQWKh.js";
|
|
30
|
-
import { t as FolderNode } from "./FolderNode-
|
|
31
|
-
import { i as setSelectedTag, n as refreshDocs, r as refreshTags, t as getSelectedTag } from "./tag-store.svelte-
|
|
32
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
33
|
-
import { i as deleteTag, o as listTags } from "./tags-
|
|
34
|
-
import { t as TagCreateDialog } from "./TagCreateDialog-
|
|
41
|
+
import { t as FolderNode } from "./FolderNode-CClgk8BL.js";
|
|
42
|
+
import { i as setSelectedTag, n as refreshDocs, r as refreshTags, t as getSelectedTag } from "./tag-store.svelte-QRysvGKe.js";
|
|
43
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-CWO0HBaS.js";
|
|
44
|
+
import { i as deleteTag, o as listTags } from "./tags-BBCoFYro.js";
|
|
45
|
+
import { t as TagCreateDialog } from "./TagCreateDialog-CPg-nG0D.js";
|
|
35
46
|
import * as $ from "svelte/internal/server";
|
|
36
47
|
import { onDestroy, onMount } from "svelte";
|
|
37
48
|
import { page } from "$app/state";
|
|
38
49
|
import "svelte/animate";
|
|
39
|
-
//#region ../node_modules/.bun/lucide-svelte@0.
|
|
50
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/panel-left-close.svelte
|
|
40
51
|
function Panel_left_close($$renderer, $$props) {
|
|
41
52
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
42
53
|
/**
|
|
43
|
-
* @license lucide-svelte
|
|
54
|
+
* @license lucide-svelte v1.0.1 - ISC
|
|
44
55
|
*
|
|
45
56
|
* ISC License
|
|
46
57
|
*
|
|
47
|
-
* Copyright (c)
|
|
58
|
+
* Copyright (c) 2026 Lucide Icons and Contributors
|
|
48
59
|
*
|
|
49
60
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
50
61
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -60,9 +71,13 @@ function Panel_left_close($$renderer, $$props) {
|
|
|
60
71
|
*
|
|
61
72
|
* ---
|
|
62
73
|
*
|
|
63
|
-
* The
|
|
74
|
+
* The following Lucide icons are derived from the Feather project:
|
|
64
75
|
*
|
|
65
|
-
*
|
|
76
|
+
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
77
|
+
*
|
|
78
|
+
* The MIT License (MIT) (for the icons listed above)
|
|
79
|
+
*
|
|
80
|
+
* Copyright (c) 2013-present Cole Bemis
|
|
66
81
|
*
|
|
67
82
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
68
83
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -119,15 +134,15 @@ function Panel_left_close($$renderer, $$props) {
|
|
|
119
134
|
]));
|
|
120
135
|
}
|
|
121
136
|
//#endregion
|
|
122
|
-
//#region ../node_modules/.bun/lucide-svelte@0.
|
|
137
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/panel-left-open.svelte
|
|
123
138
|
function Panel_left_open($$renderer, $$props) {
|
|
124
139
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
125
140
|
/**
|
|
126
|
-
* @license lucide-svelte
|
|
141
|
+
* @license lucide-svelte v1.0.1 - ISC
|
|
127
142
|
*
|
|
128
143
|
* ISC License
|
|
129
144
|
*
|
|
130
|
-
* Copyright (c)
|
|
145
|
+
* Copyright (c) 2026 Lucide Icons and Contributors
|
|
131
146
|
*
|
|
132
147
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
133
148
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -143,9 +158,13 @@ function Panel_left_open($$renderer, $$props) {
|
|
|
143
158
|
*
|
|
144
159
|
* ---
|
|
145
160
|
*
|
|
146
|
-
* The
|
|
161
|
+
* The following Lucide icons are derived from the Feather project:
|
|
162
|
+
*
|
|
163
|
+
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
164
|
+
*
|
|
165
|
+
* The MIT License (MIT) (for the icons listed above)
|
|
147
166
|
*
|
|
148
|
-
* Copyright (c) 2013-
|
|
167
|
+
* Copyright (c) 2013-present Cole Bemis
|
|
149
168
|
*
|
|
150
169
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
151
170
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -202,15 +221,15 @@ function Panel_left_open($$renderer, $$props) {
|
|
|
202
221
|
]));
|
|
203
222
|
}
|
|
204
223
|
//#endregion
|
|
205
|
-
//#region ../node_modules/.bun/lucide-svelte@0.
|
|
224
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/settings.svelte
|
|
206
225
|
function Settings($$renderer, $$props) {
|
|
207
226
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
208
227
|
/**
|
|
209
|
-
* @license lucide-svelte
|
|
228
|
+
* @license lucide-svelte v1.0.1 - ISC
|
|
210
229
|
*
|
|
211
230
|
* ISC License
|
|
212
231
|
*
|
|
213
|
-
* Copyright (c)
|
|
232
|
+
* Copyright (c) 2026 Lucide Icons and Contributors
|
|
214
233
|
*
|
|
215
234
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
216
235
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -226,9 +245,13 @@ function Settings($$renderer, $$props) {
|
|
|
226
245
|
*
|
|
227
246
|
* ---
|
|
228
247
|
*
|
|
229
|
-
* The
|
|
248
|
+
* The following Lucide icons are derived from the Feather project:
|
|
230
249
|
*
|
|
231
|
-
*
|
|
250
|
+
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
251
|
+
*
|
|
252
|
+
* The MIT License (MIT) (for the icons listed above)
|
|
253
|
+
*
|
|
254
|
+
* Copyright (c) 2013-present Cole Bemis
|
|
232
255
|
*
|
|
233
256
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
234
257
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1048,15 +1071,11 @@ function FolderTree($$renderer, $$props) {
|
|
|
1048
1071
|
$$renderer.push(`<div class="space-y-1"><div class="mb-2 flex items-center justify-between gap-1"><a${$.attr("href", resolveDocsmintRoute(route, "/"))} class="block flex-1 px-2 text-xs font-medium uppercase tracking-wider text-muted-foreground transition-colors hover:text-foreground"${$.attr("title", dashboard_title())}>${$.escape(sidebar_folders())}</a> <button type="button" class="inline-flex size-6 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"${$.attr("aria-label", categories_new())}${$.attr("title", categories_new())}>`);
|
|
1049
1072
|
Plus($$renderer, { class: "size-3.5" });
|
|
1050
1073
|
$$renderer.push(`<!----></button></div> `);
|
|
1051
|
-
if (loadError) {
|
|
1052
|
-
|
|
1053
|
-
$$renderer.push(`<p class="px-2 text-xs text-destructive">${$.escape(loadError)}</p>`);
|
|
1054
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1074
|
+
if (loadError) $$renderer.push(`<!--[0--><p class="px-2 text-xs text-destructive">${$.escape(loadError)}</p>`);
|
|
1075
|
+
else $$renderer.push("<!--[-1-->");
|
|
1055
1076
|
$$renderer.push(`<!--]--> `);
|
|
1056
|
-
if (dndError) {
|
|
1057
|
-
|
|
1058
|
-
$$renderer.push(`<p class="px-2 text-xs text-destructive">${$.escape(dndError)}</p>`);
|
|
1059
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1077
|
+
if (dndError) $$renderer.push(`<!--[0--><p class="px-2 text-xs text-destructive">${$.escape(dndError)}</p>`);
|
|
1078
|
+
else $$renderer.push("<!--[-1-->");
|
|
1060
1079
|
$$renderer.push(`<!--]--> <div class="min-h-[8px] space-y-1"><!--[-->`);
|
|
1061
1080
|
const each_array = $.ensure_array_like(categoryBuckets());
|
|
1062
1081
|
for (let $$index_2 = 0, $$length = each_array.length; $$index_2 < $$length; $$index_2++) {
|
|
@@ -1181,8 +1200,7 @@ function FolderTree($$renderer, $$props) {
|
|
|
1181
1200
|
}
|
|
1182
1201
|
$$renderer.push(`<!--]--></div> `);
|
|
1183
1202
|
if (uncatBucket()) {
|
|
1184
|
-
$$renderer.push(
|
|
1185
|
-
$$renderer.push(`<div class="group/bucket"><div class="flex w-full min-w-0 items-center gap-0.5"><button type="button"${$.attr("aria-expanded", uncategorizedExpanded)}${$.attr_class($.clsx(cn("flex min-w-0 flex-1 items-center gap-1.5 rounded-md px-2 py-1.5 text-xs font-medium uppercase tracking-wider text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground", draggedDocId && "hover:bg-accent/40 border border-dashed border-primary/30")), "svelte-1nshngr")}>`);
|
|
1203
|
+
$$renderer.push(`<!--[0--><div class="group/bucket"><div class="flex w-full min-w-0 items-center gap-0.5"><button type="button"${$.attr("aria-expanded", uncategorizedExpanded)}${$.attr_class($.clsx(cn("flex min-w-0 flex-1 items-center gap-1.5 rounded-md px-2 py-1.5 text-xs font-medium uppercase tracking-wider text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground", draggedDocId && "hover:bg-accent/40 border border-dashed border-primary/30")), "svelte-1nshngr")}>`);
|
|
1186
1204
|
$$renderer.push("<!--[0-->");
|
|
1187
1205
|
Chevron_down($$renderer, { class: "size-3.5 shrink-0" });
|
|
1188
1206
|
$$renderer.push(`<!--]--> <span class="min-w-0 truncate">${$.escape(sidebar_uncategorized())}</span></button></div> `);
|
|
@@ -1290,10 +1308,8 @@ function FolderTree($$renderer, $$props) {
|
|
|
1290
1308
|
}
|
|
1291
1309
|
});
|
|
1292
1310
|
$$renderer.push(`<!----> `);
|
|
1293
|
-
if (renameError) {
|
|
1294
|
-
|
|
1295
|
-
$$renderer.push(`<p id="rename-input-error" class="text-xs text-destructive" role="alert">${$.escape(renameError)}</p>`);
|
|
1296
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1311
|
+
if (renameError) $$renderer.push(`<!--[0--><p id="rename-input-error" class="text-xs text-destructive" role="alert">${$.escape(renameError)}</p>`);
|
|
1312
|
+
else $$renderer.push("<!--[-1-->");
|
|
1297
1313
|
$$renderer.push(`<!--]--></div></form> `);
|
|
1298
1314
|
Dialog_footer($$renderer, {
|
|
1299
1315
|
children: ($$renderer) => {
|
|
@@ -1518,10 +1534,8 @@ function RecentDocs($$renderer, $$props) {
|
|
|
1518
1534
|
let $$inner_renderer;
|
|
1519
1535
|
function $$render_inner($$renderer) {
|
|
1520
1536
|
$$renderer.push(`<div class="space-y-1"><h3 class="mb-2 px-2 text-xs font-medium uppercase tracking-wider text-muted-foreground">${$.escape(sidebar_recent())}</h3> `);
|
|
1521
|
-
if (loadError) {
|
|
1522
|
-
|
|
1523
|
-
$$renderer.push(`<p class="px-2 text-xs text-destructive">${$.escape(loadError)}</p>`);
|
|
1524
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1537
|
+
if (loadError) $$renderer.push(`<!--[0--><p class="px-2 text-xs text-destructive">${$.escape(loadError)}</p>`);
|
|
1538
|
+
else $$renderer.push("<!--[-1-->");
|
|
1525
1539
|
$$renderer.push(`<!--]--> <!--[-->`);
|
|
1526
1540
|
const each_array = $.ensure_array_like(recentDocs);
|
|
1527
1541
|
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
@@ -1659,10 +1673,8 @@ function RecentDocs($$renderer, $$props) {
|
|
|
1659
1673
|
}
|
|
1660
1674
|
});
|
|
1661
1675
|
$$renderer.push(`<!----> `);
|
|
1662
|
-
if (renameError) {
|
|
1663
|
-
|
|
1664
|
-
$$renderer.push(`<p id="recent-rename-input-error" class="text-xs text-destructive" role="alert">${$.escape(renameError)}</p>`);
|
|
1665
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1676
|
+
if (renameError) $$renderer.push(`<!--[0--><p id="recent-rename-input-error" class="text-xs text-destructive" role="alert">${$.escape(renameError)}</p>`);
|
|
1677
|
+
else $$renderer.push("<!--[-1-->");
|
|
1666
1678
|
$$renderer.push(`<!--]--></div></form> `);
|
|
1667
1679
|
Dialog_footer($$renderer, {
|
|
1668
1680
|
children: ($$renderer) => {
|
|
@@ -1808,10 +1820,8 @@ function TagList($$renderer, $$props) {
|
|
|
1808
1820
|
let $$inner_renderer;
|
|
1809
1821
|
function $$render_inner($$renderer) {
|
|
1810
1822
|
$$renderer.push(`<div class="space-y-1"><h3 class="mb-2 px-2 text-xs font-medium uppercase tracking-wider text-muted-foreground">${$.escape(doc_tags())}</h3> `);
|
|
1811
|
-
if (loadError) {
|
|
1812
|
-
|
|
1813
|
-
$$renderer.push(`<p class="px-2 text-xs text-destructive">${$.escape(loadError)}</p>`);
|
|
1814
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1823
|
+
if (loadError) $$renderer.push(`<!--[0--><p class="px-2 text-xs text-destructive">${$.escape(loadError)}</p>`);
|
|
1824
|
+
else $$renderer.push("<!--[-1-->");
|
|
1815
1825
|
$$renderer.push(`<!--]--> <div class="flex flex-wrap gap-1 px-2"><!--[-->`);
|
|
1816
1826
|
const each_array = $.ensure_array_like(tags);
|
|
1817
1827
|
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
@@ -1945,14 +1955,11 @@ function Sidebar($$renderer, $$props) {
|
|
|
1945
1955
|
let $$inner_renderer;
|
|
1946
1956
|
function $$render_inner($$renderer) {
|
|
1947
1957
|
$$renderer.push(`<aside${$.attr("id", mobile ? "mobile-navigation" : void 0)}${$.attr("role", mobile && mobileOpen ? "dialog" : void 0)}${$.attr("aria-modal", mobile && mobileOpen ? "true" : void 0)}${$.attr("aria-label", mobile ? "Navigation" : void 0)}${$.attr("aria-hidden", mobile && !mobileOpen ? "true" : void 0)} tabindex="-1"${$.attr("inert", mobile && !mobileOpen, true)}${$.attr_class($.clsx(cn("flex flex-col border-r border-border bg-card font-sans", mobile && "fixed inset-y-0 left-0 z-50 h-full w-[80%] max-w-[320px] shadow-xl transition-transform duration-300 ease-out", mobile && (mobileOpen ? "translate-x-0" : "-translate-x-full"), !mobile && "relative h-screen", !mobile && "transition-[width] duration-200")))}${$.attr_style(mobile ? "padding-top: env(safe-area-inset-top);" : isCollapsed() ? "width: 48px;" : `width: ${width}px;`)}>`);
|
|
1948
|
-
if (!mobile && !isCollapsed()) {
|
|
1949
|
-
|
|
1950
|
-
$$renderer.push(`<div role="separator" tabindex="-1"${$.attr_class($.clsx(cn("absolute right-0 top-0 z-40 h-full w-1 cursor-col-resize hover:bg-primary/50 transition-colors", isResizing)))}></div>`);
|
|
1951
|
-
} else $$renderer.push("<!--[-1-->");
|
|
1958
|
+
if (!mobile && !isCollapsed()) $$renderer.push(`<!--[0--><div role="separator" tabindex="-1"${$.attr_class($.clsx(cn("absolute right-0 top-0 z-40 h-full w-1 cursor-col-resize hover:bg-primary/50 transition-colors", isResizing)))}></div>`);
|
|
1959
|
+
else $$renderer.push("<!--[-1-->");
|
|
1952
1960
|
$$renderer.push(`<!--]--> `);
|
|
1953
1961
|
if (!mobile) {
|
|
1954
|
-
$$renderer.push(
|
|
1955
|
-
$$renderer.push(`<button class="sidebar-collapse-toggle absolute -right-3 top-4 z-40 flex size-6 items-center justify-center rounded-full border border-border bg-background shadow-sm hover:bg-accent">`);
|
|
1962
|
+
$$renderer.push(`<!--[0--><button class="sidebar-collapse-toggle absolute -right-3 top-4 z-40 flex size-6 items-center justify-center rounded-full border border-border bg-background shadow-sm hover:bg-accent">`);
|
|
1956
1963
|
if (isCollapsed()) {
|
|
1957
1964
|
$$renderer.push("<!--[0-->");
|
|
1958
1965
|
Panel_left_open($$renderer, { class: "size-3.5" });
|
|
@@ -1964,8 +1971,7 @@ function Sidebar($$renderer, $$props) {
|
|
|
1964
1971
|
} else $$renderer.push("<!--[-1-->");
|
|
1965
1972
|
$$renderer.push(`<!--]--> `);
|
|
1966
1973
|
if (!isCollapsed()) {
|
|
1967
|
-
$$renderer.push(
|
|
1968
|
-
$$renderer.push(`<div class="flex flex-1 flex-col gap-4 overflow-y-auto p-3"><!--[-->`);
|
|
1974
|
+
$$renderer.push(`<!--[0--><div class="flex flex-1 flex-col gap-4 overflow-y-auto p-3"><!--[-->`);
|
|
1969
1975
|
const each_array = $.ensure_array_like(sidebarTopExtensions());
|
|
1970
1976
|
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
1971
1977
|
const SidebarTop = each_array[$$index].component;
|
|
@@ -1993,8 +1999,7 @@ function Sidebar($$renderer, $$props) {
|
|
|
1993
1999
|
TagList($$renderer, {});
|
|
1994
2000
|
$$renderer.push(`<!--]--> `);
|
|
1995
2001
|
if (navigationExtensions().length > 0) {
|
|
1996
|
-
$$renderer.push(
|
|
1997
|
-
$$renderer.push(`<div class="h-px bg-border"></div> <nav class="space-y-1" aria-label="Product navigation"><!--[-->`);
|
|
2002
|
+
$$renderer.push(`<!--[0--><div class="h-px bg-border"></div> <nav class="space-y-1" aria-label="Product navigation"><!--[-->`);
|
|
1998
2003
|
const each_array_1 = $.ensure_array_like(navigationExtensions());
|
|
1999
2004
|
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
2000
2005
|
let extension = each_array_1[$$index_1];
|
|
@@ -2012,18 +2017,15 @@ function Sidebar($$renderer, $$props) {
|
|
|
2012
2017
|
}
|
|
2013
2018
|
} else $$renderer.push("<!--[-1-->");
|
|
2014
2019
|
$$renderer.push(`<!--]--> <span class="min-w-0 flex-1 truncate">${$.escape(extension.label)}</span> `);
|
|
2015
|
-
if (extension.badge !== void 0) {
|
|
2016
|
-
|
|
2017
|
-
$$renderer.push(`<span class="rounded bg-muted px-1.5 py-0.5 text-xs">${$.escape(extension.badge)}</span>`);
|
|
2018
|
-
} else $$renderer.push("<!--[-1-->");
|
|
2020
|
+
if (extension.badge !== void 0) $$renderer.push(`<!--[0--><span class="rounded bg-muted px-1.5 py-0.5 text-xs">${$.escape(extension.badge)}</span>`);
|
|
2021
|
+
else $$renderer.push("<!--[-1-->");
|
|
2019
2022
|
$$renderer.push(`<!--]--></a>`);
|
|
2020
2023
|
}
|
|
2021
2024
|
$$renderer.push(`<!--]--></nav>`);
|
|
2022
2025
|
} else $$renderer.push("<!--[-1-->");
|
|
2023
2026
|
$$renderer.push(`<!--]--></div>`);
|
|
2024
2027
|
} else {
|
|
2025
|
-
$$renderer.push(
|
|
2026
|
-
$$renderer.push(`<div class="flex flex-1 flex-col items-center gap-1 pt-14"><!--[-->`);
|
|
2028
|
+
$$renderer.push(`<!--[-1--><div class="flex flex-1 flex-col items-center gap-1 pt-14"><!--[-->`);
|
|
2027
2029
|
const each_array_2 = $.ensure_array_like(sidebarTopExtensions());
|
|
2028
2030
|
for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
|
|
2029
2031
|
const SidebarTop = each_array_2[$$index_2].component;
|
|
@@ -2060,18 +2062,14 @@ function Sidebar($$renderer, $$props) {
|
|
|
2060
2062
|
$$renderer.push("<!--[!-->");
|
|
2061
2063
|
$$renderer.push("<!--]-->");
|
|
2062
2064
|
}
|
|
2063
|
-
} else {
|
|
2064
|
-
$$renderer.push("<!--[-1-->");
|
|
2065
|
-
$$renderer.push(`<span class="text-xs">${$.escape(extension.label.slice(0, 1))}</span>`);
|
|
2066
|
-
}
|
|
2065
|
+
} else $$renderer.push(`<!--[-1--><span class="text-xs">${$.escape(extension.label.slice(0, 1))}</span>`);
|
|
2067
2066
|
$$renderer.push(`<!--]--></a>`);
|
|
2068
2067
|
}
|
|
2069
2068
|
$$renderer.push(`<!--]--></div>`);
|
|
2070
2069
|
}
|
|
2071
2070
|
$$renderer.push(`<!--]--> <div class="border-t border-border p-2">`);
|
|
2072
2071
|
if (isCollapsed()) {
|
|
2073
|
-
$$renderer.push(
|
|
2074
|
-
$$renderer.push(`<div class="flex flex-col items-center gap-2"><!--[-->`);
|
|
2072
|
+
$$renderer.push(`<!--[0--><div class="flex flex-col items-center gap-2"><!--[-->`);
|
|
2075
2073
|
const each_array_4 = $.ensure_array_like(sidebarFooterActions());
|
|
2076
2074
|
for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {
|
|
2077
2075
|
const FooterAction = each_array_4[$$index_4].component;
|
|
@@ -2088,8 +2086,7 @@ function Sidebar($$renderer, $$props) {
|
|
|
2088
2086
|
Settings($$renderer, { class: "size-4" });
|
|
2089
2087
|
$$renderer.push(`<!----></button> <a href="https://docsmint.com" target="_blank" rel="noopener noreferrer" class="flex size-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"${$.attr("title", sidebar_powered_by())}${$.attr("aria-label", sidebar_powered_by())}><img src="/favicon.ico" alt="DocsMint" class="size-5 object-contain dark:hidden"/> <img src="/favicon_white.ico" alt="" aria-hidden="true" class="hidden size-5 object-contain dark:block"/></a></div>`);
|
|
2090
2088
|
} else {
|
|
2091
|
-
$$renderer.push(
|
|
2092
|
-
$$renderer.push(`<div class="flex items-center justify-between"><a href="https://docsmint.com" target="_blank" rel="noopener noreferrer" class="text-xs text-muted-foreground hover:text-foreground transition-colors"${$.attr("title", sidebar_powered_by())}>${$.escape(sidebar_powered_by())}</a> <div class="flex items-center gap-1"><!--[-->`);
|
|
2089
|
+
$$renderer.push(`<!--[-1--><div class="flex items-center justify-between"><a href="https://docsmint.com" target="_blank" rel="noopener noreferrer" class="text-xs text-muted-foreground hover:text-foreground transition-colors"${$.attr("title", sidebar_powered_by())}>${$.escape(sidebar_powered_by())}</a> <div class="flex items-center gap-1"><!--[-->`);
|
|
2093
2090
|
const each_array_5 = $.ensure_array_like(sidebarFooterActions());
|
|
2094
2091
|
for (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {
|
|
2095
2092
|
const FooterAction = each_array_5[$$index_5].component;
|
package/dist/frontend-ssr/assets/{TagCreateDialog-BPzgOaX8.js → TagCreateDialog-CPg-nG0D.js}
RENAMED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
1
|
+
import { t as Loader_circle } from "./loader-circle-BpRVrMZg.js";
|
|
2
|
+
import { t as action_cancel } from "./action_cancel-OVgQDP5Q.js";
|
|
3
|
+
import { t as action_create } from "./action_create-hqJWjyqh.js";
|
|
4
|
+
import { n as action_loading, t as error_generic } from "./error_generic-DTK0kwxT.js";
|
|
5
|
+
import { t as action_save } from "./action_save-Bx7vlLZI.js";
|
|
6
|
+
import { n as tags_name_placeholder, r as tags_edit, t as tags_new } from "./tags_new-VmMr9v2V.js";
|
|
3
7
|
import { a as getDocsmintRequestAdapter } from "./route-context-BPRerEtZ.js";
|
|
4
8
|
import { t as cn } from "./utils-DvZnctjz.js";
|
|
5
|
-
import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog
|
|
6
|
-
import { t as Input } from "./input-
|
|
7
|
-
import { t as Label } from "./label-
|
|
8
|
-
import { c as updateTag, l as updateTagInputSchema, n as createTag, r as createTagInputSchema } from "./tags-
|
|
9
|
+
import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog--tDgDGw9.js";
|
|
10
|
+
import { t as Input } from "./input-BlAj7LzC.js";
|
|
11
|
+
import { t as Label } from "./label-BRToaMg9.js";
|
|
12
|
+
import { c as updateTag, l as updateTagInputSchema, n as createTag, r as createTagInputSchema } from "./tags-BBCoFYro.js";
|
|
9
13
|
import * as $ from "svelte/internal/server";
|
|
10
14
|
//#region src/lib/components/TagCreateDialog.svelte
|
|
11
15
|
function TagCreateDialog($$renderer, $$props) {
|
|
@@ -193,10 +197,8 @@ function TagCreateDialog($$renderer, $$props) {
|
|
|
193
197
|
}
|
|
194
198
|
});
|
|
195
199
|
$$renderer.push(`<!----> `);
|
|
196
|
-
if (nameError) {
|
|
197
|
-
|
|
198
|
-
$$renderer.push(`<p id="tag-name-error" class="text-xs text-destructive">${$.escape(nameError)}</p>`);
|
|
199
|
-
} else $$renderer.push("<!--[-1-->");
|
|
200
|
+
if (nameError) $$renderer.push(`<!--[0--><p id="tag-name-error" class="text-xs text-destructive">${$.escape(nameError)}</p>`);
|
|
201
|
+
else $$renderer.push("<!--[-1-->");
|
|
200
202
|
$$renderer.push(`<!--]--></div> <div class="space-y-2">`);
|
|
201
203
|
Label($$renderer, {
|
|
202
204
|
for: "tag-color",
|
|
@@ -214,10 +216,8 @@ function TagCreateDialog($$renderer, $$props) {
|
|
|
214
216
|
$$renderer.push(`<button type="button"${$.attr_class($.clsx(cn("size-6 shrink-0 rounded-full border-2 transition-all", selected ? "scale-110 border-foreground" : "border-transparent hover:scale-105")))}${$.attr_style(`background-color: ${$.stringify(preset)};`)}${$.attr("aria-label", `Color ${$.stringify(preset)}`)}${$.attr("aria-pressed", selected)}${$.attr("disabled", submitting, true)}></button>`);
|
|
215
217
|
}
|
|
216
218
|
$$renderer.push(`<!--]--> <label${$.attr_class($.clsx(cn("relative inline-flex size-6 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full border-2 transition-all", !PRESET_COLORS.includes(color) ? "scale-110 border-foreground" : "border-transparent hover:scale-105")))}${$.attr_style(`background-color: ${$.stringify(color)};`)} title="Custom color"><input type="color"${$.attr("value", color)}${$.attr("disabled", submitting, true)} class="absolute inset-0 h-full w-full cursor-pointer opacity-0" aria-label="Custom color"/></label></div></div> `);
|
|
217
|
-
if (submitError) {
|
|
218
|
-
|
|
219
|
-
$$renderer.push(`<p class="text-xs text-destructive" role="alert">${$.escape(submitError)}</p>`);
|
|
220
|
-
} else $$renderer.push("<!--[-1-->");
|
|
219
|
+
if (submitError) $$renderer.push(`<!--[0--><p class="text-xs text-destructive" role="alert">${$.escape(submitError)}</p>`);
|
|
220
|
+
else $$renderer.push("<!--[-1-->");
|
|
221
221
|
$$renderer.push(`<!--]--></form> `);
|
|
222
222
|
Dialog_footer($$renderer, {
|
|
223
223
|
class: "gap-2 max-sm:flex-col max-sm:items-stretch",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as getLocale } from "./runtime-O78RzRqx.js";
|
|
2
|
+
//#region src/lib/paraglide/messages/action_cancel.js
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
/** @typedef {{}} Action_CancelInputs */
|
|
5
|
+
var en_action_cancel = () => {
|
|
6
|
+
return `Cancel`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* | output |
|
|
10
|
+
* | --- |
|
|
11
|
+
* | "Cancel" |
|
|
12
|
+
*
|
|
13
|
+
* @param {Action_CancelInputs} inputs
|
|
14
|
+
* @param {{ locale?: "en" }} options
|
|
15
|
+
* @returns {LocalizedString}
|
|
16
|
+
*/
|
|
17
|
+
var action_cancel = ((inputs = {}, options = {}) => {
|
|
18
|
+
options.locale ?? getLocale();
|
|
19
|
+
return en_action_cancel(inputs);
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { action_cancel as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as getLocale } from "./runtime-O78RzRqx.js";
|
|
2
|
+
//#region src/lib/paraglide/messages/action_close.js
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
/** @typedef {{}} Action_CloseInputs */
|
|
5
|
+
var en_action_close = () => {
|
|
6
|
+
return `Close`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* | output |
|
|
10
|
+
* | --- |
|
|
11
|
+
* | "Close" |
|
|
12
|
+
*
|
|
13
|
+
* @param {Action_CloseInputs} inputs
|
|
14
|
+
* @param {{ locale?: "en" }} options
|
|
15
|
+
* @returns {LocalizedString}
|
|
16
|
+
*/
|
|
17
|
+
var action_close = ((inputs = {}, options = {}) => {
|
|
18
|
+
options.locale ?? getLocale();
|
|
19
|
+
return en_action_close(inputs);
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { action_close as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as getLocale } from "./runtime-O78RzRqx.js";
|
|
2
|
+
//#region src/lib/paraglide/messages/action_create.js
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
/** @typedef {{}} Action_CreateInputs */
|
|
5
|
+
var en_action_create = () => {
|
|
6
|
+
return `Create`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* | output |
|
|
10
|
+
* | --- |
|
|
11
|
+
* | "Create" |
|
|
12
|
+
*
|
|
13
|
+
* @param {Action_CreateInputs} inputs
|
|
14
|
+
* @param {{ locale?: "en" }} options
|
|
15
|
+
* @returns {LocalizedString}
|
|
16
|
+
*/
|
|
17
|
+
var action_create = ((inputs = {}, options = {}) => {
|
|
18
|
+
options.locale ?? getLocale();
|
|
19
|
+
return en_action_create(inputs);
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { action_create as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as getLocale } from "./runtime-O78RzRqx.js";
|
|
2
|
+
//#region src/lib/paraglide/messages/action_delete.js
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
/** @typedef {{}} Action_DeleteInputs */
|
|
5
|
+
var en_action_delete = () => {
|
|
6
|
+
return `Delete`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* | output |
|
|
10
|
+
* | --- |
|
|
11
|
+
* | "Delete" |
|
|
12
|
+
*
|
|
13
|
+
* @param {Action_DeleteInputs} inputs
|
|
14
|
+
* @param {{ locale?: "en" }} options
|
|
15
|
+
* @returns {LocalizedString}
|
|
16
|
+
*/
|
|
17
|
+
var action_delete = ((inputs = {}, options = {}) => {
|
|
18
|
+
options.locale ?? getLocale();
|
|
19
|
+
return en_action_delete(inputs);
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { action_delete as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as getLocale } from "./runtime-O78RzRqx.js";
|
|
2
|
+
//#region src/lib/paraglide/messages/action_go_to.js
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
/** @typedef {{}} Action_Go_ToInputs */
|
|
5
|
+
var en_action_go_to = () => {
|
|
6
|
+
return `Go to`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* | output |
|
|
10
|
+
* | --- |
|
|
11
|
+
* | "Go to" |
|
|
12
|
+
*
|
|
13
|
+
* @param {Action_Go_ToInputs} inputs
|
|
14
|
+
* @param {{ locale?: "en" }} options
|
|
15
|
+
* @returns {LocalizedString}
|
|
16
|
+
*/
|
|
17
|
+
var action_go_to = ((inputs = {}, options = {}) => {
|
|
18
|
+
options.locale ?? getLocale();
|
|
19
|
+
return en_action_go_to(inputs);
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { action_go_to as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as getLocale } from "./runtime-O78RzRqx.js";
|
|
2
|
+
//#region src/lib/paraglide/messages/action_save.js
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
/** @typedef {{}} Action_SaveInputs */
|
|
5
|
+
var en_action_save = () => {
|
|
6
|
+
return `Save`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* | output |
|
|
10
|
+
* | --- |
|
|
11
|
+
* | "Save" |
|
|
12
|
+
*
|
|
13
|
+
* @param {Action_SaveInputs} inputs
|
|
14
|
+
* @param {{ locale?: "en" }} options
|
|
15
|
+
* @returns {LocalizedString}
|
|
16
|
+
*/
|
|
17
|
+
var action_save = ((inputs = {}, options = {}) => {
|
|
18
|
+
options.locale ?? getLocale();
|
|
19
|
+
return en_action_save(inputs);
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { action_save as t };
|