@hiai-gg/docsmint 2.0.4 → 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 +74 -5
- package/dist/backend/index.js +94475 -92073
- package/dist/backend-account-runtime-cleanup.js +293 -292
- package/dist/backend-api-key-facade.js +6 -5
- package/dist/backend-pipeline-cancellation.js +287 -286
- package/dist/client.d.ts +33 -7
- package/dist/client.js +55 -1
- 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-CXR-7mIO.js → auth-client-Dx7d9Tzo.js} +409 -343
- 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-Dya0HRhS.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-BOA7Jejv.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-BRcYFQa_.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-Bj6tiE97.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-h4SFwpUa.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-BFBpsd3L.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-BC4hSFKF.js → auth-client-BnnnJDAb.js} +368 -256
- 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-C3rFdTZa.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-DNIo1bgc.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-DWCpfCPj.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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lifecycle-runtime.js +3998 -17872
- package/dist/mcp-cli.js +357 -78
- package/dist/mcp-server.d.ts +92 -23
- package/dist/mcp-server.js +525 -78
- package/dist/types.d.ts +68 -1
- package/package.json +5 -5
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/schema.ts +3 -1
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-CJeAYxcd.js +0 -630
- package/dist/frontend/HiAiEditor-DDpfdQEg.js +0 -3129
- package/dist/frontend/SettingsDialog-DzlYW50I.js +0 -991
- package/dist/frontend/Sidebar-rFiVen96.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,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./action_cancel-
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as x } from "./
|
|
7
|
-
import { n as S, t as C } from "./client-
|
|
8
|
-
import {
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./dialog-C0Bpok1d.js";
|
|
2
|
+
import { t as s } from "./action_cancel-BdsWzQKU.js";
|
|
3
|
+
import { a as c, c as l, d as u, i as d, l as f, n as p, o as m, r as h, s as g, t as _, u as v } from "./version_snapshot_label_placeholder-BhKq1NQ7.js";
|
|
4
|
+
import { t as y } from "./input-CbeB9220.js";
|
|
5
|
+
import { t as b } from "./textarea-D6emvAwM.js";
|
|
6
|
+
import { t as x } from "./loader-circle-skKwfRCB.js";
|
|
7
|
+
import { n as S, t as C } from "./client-BDdDd84W.js";
|
|
8
|
+
import { a as w } from "./route-context-6OHiGtfb.js";
|
|
9
9
|
import "svelte/internal/disclose-version";
|
|
10
10
|
import * as T from "svelte/internal/client";
|
|
11
|
-
|
|
11
|
+
// src/lib/components/CreateSnapshotDialog.svelte
|
|
12
12
|
var E = T.from_html("<!> <!>", 1), D = T.from_html("<p id=\"snapshot-label-error\" class=\"text-xs text-destructive\"> </p>"), O = T.from_html("<p class=\"text-xs text-destructive\" role=\"alert\"> </p>"), k = T.from_html("<!> ", 1), A = T.from_html("<!> <form class=\"space-y-4\"><div class=\"space-y-2\"><label for=\"snapshot-label\" class=\"text-sm font-medium\"> </label> <!> <!></div> <div class=\"space-y-2\"><label for=\"snapshot-description\" class=\"text-sm font-medium\"> </label> <!></div> <!></form> <!>", 1);
|
|
13
13
|
function j(j, M) {
|
|
14
14
|
T.push(M, !0);
|
|
15
|
-
let N = T.prop(M, "open", 15, !1), P = T.state(""), F = T.state(""), I = T.state(null), L = T.state(null), R = T.state(!1), z =
|
|
15
|
+
let N = T.prop(M, "open", 15, !1), P = T.state(""), F = T.state(""), I = T.state(null), L = T.state(null), R = T.state(!1), z = w();
|
|
16
16
|
function B() {
|
|
17
17
|
T.set(P, ""), T.set(F, ""), T.set(I, null), T.set(L, null), T.set(R, !1);
|
|
18
18
|
}
|
|
@@ -26,19 +26,15 @@ function j(j, M) {
|
|
|
26
26
|
if (e?.preventDefault(), T.get(R)) return;
|
|
27
27
|
let t = T.get(P).trim();
|
|
28
28
|
if (t.length === 0) {
|
|
29
|
-
T.set(I,
|
|
29
|
+
T.set(I, p(), !0);
|
|
30
30
|
return;
|
|
31
31
|
}
|
|
32
32
|
if (t.length > 100) {
|
|
33
|
-
T.set(I,
|
|
33
|
+
T.set(I, v(), !0);
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
let n = T.get(F).trim();
|
|
37
|
-
|
|
38
|
-
T.set(L, f(), !0);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
W(t, n);
|
|
37
|
+
n.length > 500 ? T.set(L, v(), !0) : W(t, n);
|
|
42
38
|
}
|
|
43
39
|
async function W(e, t) {
|
|
44
40
|
T.set(R, !0), T.set(I, null), T.set(L, null);
|
|
@@ -49,7 +45,7 @@ function j(j, M) {
|
|
|
49
45
|
body: JSON.stringify(n)
|
|
50
46
|
}, z.fetch), M.onSuccess?.(), N(!1), B();
|
|
51
47
|
} catch (e) {
|
|
52
|
-
e instanceof C ? T.set(L, `${
|
|
48
|
+
e instanceof C ? T.set(L, `${f()}: ${e.message}`) : T.set(L, e instanceof Error ? e.message : u(), !0), console.error("CreateSnapshotDialog: failed", e);
|
|
53
49
|
} finally {
|
|
54
50
|
T.set(R, !1);
|
|
55
51
|
}
|
|
@@ -57,7 +53,7 @@ function j(j, M) {
|
|
|
57
53
|
function G(e) {
|
|
58
54
|
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), U());
|
|
59
55
|
}
|
|
60
|
-
|
|
56
|
+
r(j, {
|
|
61
57
|
onOpenChange: H,
|
|
62
58
|
get open() {
|
|
63
59
|
return N();
|
|
@@ -65,37 +61,37 @@ function j(j, M) {
|
|
|
65
61
|
set open(e) {
|
|
66
62
|
N(e);
|
|
67
63
|
},
|
|
68
|
-
children: (
|
|
69
|
-
|
|
70
|
-
children: (
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
children: (e,
|
|
74
|
-
var
|
|
75
|
-
|
|
64
|
+
children: (r, u) => {
|
|
65
|
+
e(r, {
|
|
66
|
+
children: (e, r) => {
|
|
67
|
+
var u = A(), f = T.first_child(u);
|
|
68
|
+
n(f, {
|
|
69
|
+
children: (e, n) => {
|
|
70
|
+
var r = E(), i = T.first_child(r);
|
|
71
|
+
o(i, {
|
|
76
72
|
children: (e, t) => {
|
|
77
73
|
T.next();
|
|
78
74
|
var n = T.text();
|
|
79
|
-
T.template_effect((e) => T.set_text(n, e), [() =>
|
|
75
|
+
T.template_effect((e) => T.set_text(n, e), [() => h()]), T.append(e, n);
|
|
80
76
|
},
|
|
81
77
|
$$slots: { default: !0 }
|
|
82
78
|
});
|
|
83
|
-
var
|
|
84
|
-
|
|
79
|
+
var a = T.sibling(i, 2);
|
|
80
|
+
t(a, {
|
|
85
81
|
children: (e, t) => {
|
|
86
82
|
T.next();
|
|
87
83
|
var n = T.text();
|
|
88
|
-
T.template_effect((e) => T.set_text(n, e), [() =>
|
|
84
|
+
T.template_effect((e) => T.set_text(n, e), [() => d()]), T.append(e, n);
|
|
89
85
|
},
|
|
90
86
|
$$slots: { default: !0 }
|
|
91
|
-
}), T.append(e,
|
|
87
|
+
}), T.append(e, r);
|
|
92
88
|
},
|
|
93
89
|
$$slots: { default: !0 }
|
|
94
90
|
});
|
|
95
|
-
var
|
|
91
|
+
var v = T.sibling(f, 2), S = T.child(v), C = T.child(S), w = T.only_child(C, !0), j = T.sibling(C, 2);
|
|
96
92
|
{
|
|
97
|
-
let e = T.derived(() =>
|
|
98
|
-
|
|
93
|
+
let e = T.derived(() => _()), t = T.derived(() => T.get(I) ? "true" : void 0), n = T.derived(() => T.get(I) ? "snapshot-label-error" : void 0);
|
|
94
|
+
y(j, {
|
|
99
95
|
id: "snapshot-label",
|
|
100
96
|
name: "label",
|
|
101
97
|
type: "text",
|
|
@@ -129,11 +125,11 @@ function j(j, M) {
|
|
|
129
125
|
};
|
|
130
126
|
T.if(M, (e) => {
|
|
131
127
|
T.get(I) && e(N);
|
|
132
|
-
}), T.reset(
|
|
133
|
-
var z = T.sibling(
|
|
128
|
+
}), T.reset(S);
|
|
129
|
+
var z = T.sibling(S, 2), B = T.child(z), H = T.only_child(B, !0), W = T.sibling(B, 2);
|
|
134
130
|
{
|
|
135
|
-
let e = T.derived(() =>
|
|
136
|
-
|
|
131
|
+
let e = T.derived(() => c());
|
|
132
|
+
b(W, {
|
|
137
133
|
id: "snapshot-description",
|
|
138
134
|
name: "description",
|
|
139
135
|
get placeholder() {
|
|
@@ -159,59 +155,59 @@ function j(j, M) {
|
|
|
159
155
|
};
|
|
160
156
|
T.if(K, (e) => {
|
|
161
157
|
T.get(L) && e(q);
|
|
162
|
-
}), T.reset(
|
|
163
|
-
var J = T.sibling(
|
|
164
|
-
|
|
165
|
-
children: (
|
|
166
|
-
var
|
|
167
|
-
|
|
158
|
+
}), T.reset(v);
|
|
159
|
+
var J = T.sibling(v, 2);
|
|
160
|
+
i(J, {
|
|
161
|
+
children: (e, t) => {
|
|
162
|
+
var n = E(), r = T.first_child(n);
|
|
163
|
+
a(r, {
|
|
168
164
|
variant: "outline",
|
|
169
165
|
type: "button",
|
|
170
166
|
onclick: V,
|
|
171
167
|
get disabled() {
|
|
172
168
|
return T.get(R);
|
|
173
169
|
},
|
|
174
|
-
children: (e,
|
|
170
|
+
children: (e, t) => {
|
|
175
171
|
T.next();
|
|
176
|
-
var
|
|
177
|
-
T.template_effect((e) => T.set_text(
|
|
172
|
+
var n = T.text();
|
|
173
|
+
T.template_effect((e) => T.set_text(n, e), [() => s()]), T.append(e, n);
|
|
178
174
|
},
|
|
179
175
|
$$slots: { default: !0 }
|
|
180
176
|
});
|
|
181
|
-
var
|
|
177
|
+
var i = T.sibling(r, 2);
|
|
182
178
|
{
|
|
183
|
-
let
|
|
184
|
-
|
|
179
|
+
let e = T.derived(() => T.get(R) || T.get(P).trim().length === 0);
|
|
180
|
+
a(i, {
|
|
185
181
|
type: "button",
|
|
186
182
|
onclick: () => U(),
|
|
187
183
|
get disabled() {
|
|
188
|
-
return T.get(
|
|
184
|
+
return T.get(e);
|
|
189
185
|
},
|
|
190
|
-
children: (
|
|
191
|
-
var
|
|
192
|
-
var
|
|
193
|
-
|
|
194
|
-
var
|
|
195
|
-
T.template_effect((e) => T.set_text(
|
|
196
|
-
},
|
|
186
|
+
children: (e, t) => {
|
|
187
|
+
var n = T.comment(), r = T.first_child(n), i = (e) => {
|
|
188
|
+
var t = k(), n = T.first_child(t);
|
|
189
|
+
x(n, { class: "mr-1 size-4 animate-spin" });
|
|
190
|
+
var r = T.sibling(n);
|
|
191
|
+
T.template_effect((e) => T.set_text(r, ` ${e ?? ""}`), [() => g()]), T.append(e, t);
|
|
192
|
+
}, a = (e) => {
|
|
197
193
|
var t = T.text();
|
|
198
|
-
T.template_effect((e) => T.set_text(t, e), [() =>
|
|
194
|
+
T.template_effect((e) => T.set_text(t, e), [() => l()]), T.append(e, t);
|
|
199
195
|
};
|
|
200
|
-
T.if(
|
|
201
|
-
T.get(R) ? e(
|
|
202
|
-
}), T.append(
|
|
196
|
+
T.if(r, (e) => {
|
|
197
|
+
T.get(R) ? e(i) : e(a, -1);
|
|
198
|
+
}), T.append(e, n);
|
|
203
199
|
},
|
|
204
200
|
$$slots: { default: !0 }
|
|
205
201
|
});
|
|
206
202
|
}
|
|
207
|
-
T.append(
|
|
203
|
+
T.append(e, n);
|
|
208
204
|
},
|
|
209
205
|
$$slots: { default: !0 }
|
|
210
206
|
}), T.template_effect((e, t) => {
|
|
211
|
-
T.set_text(
|
|
212
|
-
}, [() =>
|
|
207
|
+
T.set_text(w, e), T.set_text(H, t);
|
|
208
|
+
}, [() => p(), () => m()]), T.event("submit", v, (e) => {
|
|
213
209
|
e.preventDefault(), U();
|
|
214
|
-
}), T.append(
|
|
210
|
+
}), T.append(e, u);
|
|
215
211
|
},
|
|
216
212
|
$$slots: { default: !0 }
|
|
217
213
|
});
|
|
@@ -219,5 +215,4 @@ function j(j, M) {
|
|
|
219
215
|
$$slots: { default: !0 }
|
|
220
216
|
}), T.pop();
|
|
221
217
|
}
|
|
222
|
-
//#endregion
|
|
223
218
|
export { j as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
2
|
-
import { n as t } from "./folder-
|
|
3
|
-
import { C as n, S as r, T as i, _ as a, a as o, b as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as ee, t as te, u as y, v as ne, w as b, x, y as S } from "./weekday_we-
|
|
4
|
-
import { t as C } from "./dist-
|
|
5
|
-
import { t as w } from "./utils-
|
|
6
|
-
import { X as T, Z as E, et as D, w as O } from "./popper-layer-force-mount-
|
|
1
|
+
import { t as e } from "./Icon-CiHcxcpv.js";
|
|
2
|
+
import { n as t } from "./folder-BpmB_sAy.js";
|
|
3
|
+
import { C as n, S as r, T as i, _ as a, a as o, b as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as ee, t as te, u as y, v as ne, w as b, x, y as S } from "./weekday_we-BxbzNVWR.js";
|
|
4
|
+
import { t as C } from "./dist-DjId3RKL.js";
|
|
5
|
+
import { t as w } from "./utils-DH0uqK40.js";
|
|
6
|
+
import { X as T, Z as E, et as D, w as O } from "./popper-layer-force-mount-BG0eyrCk.js";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
8
|
import * as k from "svelte/internal/client";
|
|
9
9
|
import { getAllContexts as A, mount as j, unmount as M } from "svelte";
|
|
10
10
|
import "svelte/internal/flags/legacy";
|
|
11
|
-
|
|
11
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/calendar.svelte
|
|
12
12
|
function N(t, n) {
|
|
13
13
|
let r = k.legacy_rest_props(n, [
|
|
14
14
|
"children",
|
|
@@ -38,8 +38,7 @@ function N(t, n) {
|
|
|
38
38
|
$$slots: { default: !0 }
|
|
39
39
|
}));
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-left.svelte
|
|
41
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-left.svelte
|
|
43
42
|
function P(t, n) {
|
|
44
43
|
let r = k.legacy_rest_props(n, [
|
|
45
44
|
"children",
|
|
@@ -58,8 +57,7 @@ function P(t, n) {
|
|
|
58
57
|
$$slots: { default: !0 }
|
|
59
58
|
}));
|
|
60
59
|
}
|
|
61
|
-
|
|
62
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/folder-kanban.svelte
|
|
60
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/folder-kanban.svelte
|
|
63
61
|
function F(t, n) {
|
|
64
62
|
let r = k.legacy_rest_props(n, [
|
|
65
63
|
"children",
|
|
@@ -83,8 +81,7 @@ function F(t, n) {
|
|
|
83
81
|
$$slots: { default: !0 }
|
|
84
82
|
}));
|
|
85
83
|
}
|
|
86
|
-
|
|
87
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte
|
|
84
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte
|
|
88
85
|
function I(e, t) {
|
|
89
86
|
var n = k.comment(), r = k.first_child(n);
|
|
90
87
|
k.key(r, () => t.children, (e) => {
|
|
@@ -92,8 +89,7 @@ function I(e, t) {
|
|
|
92
89
|
k.snippet(r, () => t.children ?? k.noop), k.append(e, n);
|
|
93
90
|
}), k.append(e, n);
|
|
94
91
|
}
|
|
95
|
-
|
|
96
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/config/bits-config.js
|
|
92
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/config/bits-config.js
|
|
97
93
|
var L = new E("BitsConfig");
|
|
98
94
|
function R() {
|
|
99
95
|
let e = new z(null, {});
|
|
@@ -116,8 +112,7 @@ function B(e, t) {
|
|
|
116
112
|
if (e !== null) return n(e.opts)?.current;
|
|
117
113
|
});
|
|
118
114
|
}
|
|
119
|
-
|
|
120
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/config/prop-resolvers.js
|
|
115
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/config/prop-resolvers.js
|
|
121
116
|
function V(e, t) {
|
|
122
117
|
return (n) => {
|
|
123
118
|
let r = R();
|
|
@@ -130,8 +125,7 @@ function V(e, t) {
|
|
|
130
125
|
};
|
|
131
126
|
}
|
|
132
127
|
var H = V((e) => e.defaultPortalTo, "body");
|
|
133
|
-
|
|
134
|
-
//#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte
|
|
128
|
+
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte
|
|
135
129
|
function U(e, t) {
|
|
136
130
|
k.push(t, !0);
|
|
137
131
|
let n = H(() => t.to), r = A(), i = k.derived(a);
|
|
@@ -145,11 +139,8 @@ function U(e, t) {
|
|
|
145
139
|
o &&= (M(o), null);
|
|
146
140
|
}
|
|
147
141
|
T([() => k.get(i), () => t.disabled], ([e, n]) => {
|
|
148
|
-
if (!e || n)
|
|
149
|
-
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
return o = j(I, {
|
|
142
|
+
if (!e || n) s();
|
|
143
|
+
else return o = j(I, {
|
|
153
144
|
target: e,
|
|
154
145
|
props: { children: t.children },
|
|
155
146
|
context: r
|
|
@@ -165,8 +156,7 @@ function U(e, t) {
|
|
|
165
156
|
t.disabled && e(u);
|
|
166
157
|
}), k.append(e, c), k.pop();
|
|
167
158
|
}
|
|
168
|
-
|
|
169
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/index.js
|
|
159
|
+
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/index.js
|
|
170
160
|
var W = C({
|
|
171
161
|
base: "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
172
162
|
variants: { variant: {
|
|
@@ -201,8 +191,7 @@ function q(e, t) {
|
|
|
201
191
|
t.children && e(s);
|
|
202
192
|
}), k.reset(a), k.bind_this(a, (e) => n(e), () => n()), k.append(e, a), k.pop();
|
|
203
193
|
}
|
|
204
|
-
|
|
205
|
-
//#region src/lib/components/DatePicker.svelte
|
|
194
|
+
// src/lib/components/DatePicker.svelte
|
|
206
195
|
var J = k.from_html("<span class=\"dp-weekday svelte-zmry26\"> </span>"), Y = k.from_html("<span class=\"dp-empty svelte-zmry26\"></span>"), X = k.from_html("<button type=\"button\"> </button>"), re = k.from_html("<button type=\"button\" class=\"dp-clear svelte-zmry26\"> </button>"), ie = k.from_html("<div class=\"dp-popover svelte-zmry26\" role=\"dialog\"><div class=\"dp-header svelte-zmry26\"><button type=\"button\" class=\"dp-nav svelte-zmry26\"><!></button> <span class=\"dp-title svelte-zmry26\"> </span> <button type=\"button\" class=\"dp-nav svelte-zmry26\"><!></button></div> <div class=\"dp-weekdays svelte-zmry26\"></div> <div class=\"dp-grid svelte-zmry26\"></div> <!></div>"), ae = k.from_html("<div class=\"datepicker svelte-zmry26\"><button type=\"button\" aria-haspopup=\"dialog\" class=\"dp-trigger svelte-zmry26\"><!> <span> </span></button> <!></div>");
|
|
207
196
|
function Z(e, C) {
|
|
208
197
|
k.push(C, !0);
|
|
@@ -334,5 +323,4 @@ function Z(e, C) {
|
|
|
334
323
|
}), k.delegated("click", Z, () => k.set(D, !k.get(D))), k.append(e, q), k.pop();
|
|
335
324
|
}
|
|
336
325
|
k.delegate(["click"]);
|
|
337
|
-
//#endregion
|
|
338
326
|
export { P as a, F as i, q as n, N as o, U as r, Z as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./dialog-C0Bpok1d.js";
|
|
2
|
+
import { t as s } from "./circle-check-B4F_qgPx.js";
|
|
3
|
+
import { t as c } from "./loader-circle-skKwfRCB.js";
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
5
5
|
import * as l from "svelte/internal/client";
|
|
6
|
-
|
|
6
|
+
// src/lib/components/DeleteDialog.svelte
|
|
7
7
|
var u = l.from_html("<span class=\"font-medium text-foreground\"> </span> ", 1), d = l.from_html("<!> <!>", 1), f = l.from_html("<!> <div class=\"flex items-start gap-3 rounded-lg border border-primary/30 bg-primary/10 p-4\" role=\"status\" aria-live=\"polite\"><!> <p class=\"text-sm text-muted-foreground\"><span class=\"font-medium text-foreground\"> </span> </p></div>", 1), p = l.from_html("Delete <span class=\"font-medium text-foreground\"> </span> ", 1), m = l.from_html("<p class=\"text-sm text-destructive\" role=\"alert\"> </p>"), h = l.from_html("<!> ", 1);
|
|
8
8
|
function g(g, _) {
|
|
9
9
|
l.push(_, !0);
|
|
@@ -27,13 +27,9 @@ function g(g, _) {
|
|
|
27
27
|
l.get(C) || (v(!1), _.onCancel?.());
|
|
28
28
|
}
|
|
29
29
|
function O(e) {
|
|
30
|
-
|
|
31
|
-
v(!0);
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
e || D();
|
|
30
|
+
!e && l.get(C) ? v(!0) : e || D();
|
|
35
31
|
}
|
|
36
|
-
|
|
32
|
+
r(g, {
|
|
37
33
|
onOpenChange: O,
|
|
38
34
|
get open() {
|
|
39
35
|
return v();
|
|
@@ -41,15 +37,15 @@ function g(g, _) {
|
|
|
41
37
|
set open(e) {
|
|
42
38
|
v(e);
|
|
43
39
|
},
|
|
44
|
-
children: (
|
|
45
|
-
|
|
46
|
-
children: (
|
|
47
|
-
var g = d(), v = l.first_child(g), S = (
|
|
48
|
-
var
|
|
49
|
-
i
|
|
50
|
-
children: (e,
|
|
51
|
-
var
|
|
52
|
-
|
|
40
|
+
children: (r, g) => {
|
|
41
|
+
e(r, {
|
|
42
|
+
children: (e, r) => {
|
|
43
|
+
var g = d(), v = l.first_child(g), S = (e) => {
|
|
44
|
+
var r = f(), i = l.first_child(r);
|
|
45
|
+
n(i, {
|
|
46
|
+
children: (e, n) => {
|
|
47
|
+
var r = d(), i = l.first_child(r);
|
|
48
|
+
o(i, {
|
|
53
49
|
children: (e, t) => {
|
|
54
50
|
l.next();
|
|
55
51
|
var n = l.text();
|
|
@@ -58,7 +54,7 @@ function g(g, _) {
|
|
|
58
54
|
$$slots: { default: !0 }
|
|
59
55
|
});
|
|
60
56
|
var a = l.sibling(i, 2);
|
|
61
|
-
|
|
57
|
+
t(a, {
|
|
62
58
|
children: (e, t) => {
|
|
63
59
|
var n = u(), r = l.first_child(n), i = l.only_child(r), a = l.sibling(r);
|
|
64
60
|
l.template_effect(() => {
|
|
@@ -66,22 +62,22 @@ function g(g, _) {
|
|
|
66
62
|
}), l.append(e, n);
|
|
67
63
|
},
|
|
68
64
|
$$slots: { default: !0 }
|
|
69
|
-
}), l.append(e,
|
|
65
|
+
}), l.append(e, r);
|
|
70
66
|
},
|
|
71
67
|
$$slots: { default: !0 }
|
|
72
68
|
});
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
var p = l.sibling(
|
|
76
|
-
l.reset(p), l.reset(
|
|
69
|
+
var a = l.sibling(i, 2), c = l.child(a);
|
|
70
|
+
s(c, { class: "mt-0.5 size-5 shrink-0 text-primary" });
|
|
71
|
+
var p = l.sibling(c, 2), m = l.child(p), h = l.only_child(m), g = l.sibling(m);
|
|
72
|
+
l.reset(p), l.reset(a), l.template_effect(() => {
|
|
77
73
|
l.set_text(h, `“${_.targetName ?? ""}”`), l.set_text(g, ` ${_.successDescription ?? ""}`);
|
|
78
|
-
}), l.append(
|
|
74
|
+
}), l.append(e, r);
|
|
79
75
|
}, O = (e) => {
|
|
80
|
-
var
|
|
81
|
-
i
|
|
82
|
-
children: (e,
|
|
83
|
-
var
|
|
84
|
-
|
|
76
|
+
var r = d(), i = l.first_child(r);
|
|
77
|
+
n(i, {
|
|
78
|
+
children: (e, n) => {
|
|
79
|
+
var r = d(), i = l.first_child(r);
|
|
80
|
+
o(i, {
|
|
85
81
|
children: (e, t) => {
|
|
86
82
|
l.next();
|
|
87
83
|
var n = l.text();
|
|
@@ -90,7 +86,7 @@ function g(g, _) {
|
|
|
90
86
|
$$slots: { default: !0 }
|
|
91
87
|
});
|
|
92
88
|
var a = l.sibling(i, 2);
|
|
93
|
-
|
|
89
|
+
t(a, {
|
|
94
90
|
children: (e, t) => {
|
|
95
91
|
l.next();
|
|
96
92
|
var n = p(), r = l.sibling(l.first_child(n)), i = l.only_child(r), a = l.sibling(r);
|
|
@@ -100,26 +96,26 @@ function g(g, _) {
|
|
|
100
96
|
}), l.append(e, n);
|
|
101
97
|
},
|
|
102
98
|
$$slots: { default: !0 }
|
|
103
|
-
}), l.append(e,
|
|
99
|
+
}), l.append(e, r);
|
|
104
100
|
},
|
|
105
101
|
$$slots: { default: !0 }
|
|
106
102
|
});
|
|
107
|
-
var a = l.sibling(
|
|
103
|
+
var a = l.sibling(i, 2), s = (e) => {
|
|
108
104
|
var t = m(), n = l.only_child(t, !0);
|
|
109
105
|
l.template_effect(() => l.set_text(n, l.get(T))), l.append(e, t);
|
|
110
106
|
};
|
|
111
107
|
l.if(a, (e) => {
|
|
112
|
-
l.get(T) && e(
|
|
113
|
-
}), l.append(e,
|
|
108
|
+
l.get(T) && e(s);
|
|
109
|
+
}), l.append(e, r);
|
|
114
110
|
};
|
|
115
111
|
l.if(v, (e) => {
|
|
116
112
|
l.get(w) ? e(S) : e(O, -1);
|
|
117
113
|
});
|
|
118
114
|
var k = l.sibling(v, 2);
|
|
119
|
-
|
|
120
|
-
children: (e,
|
|
121
|
-
var
|
|
122
|
-
|
|
115
|
+
i(k, {
|
|
116
|
+
children: (e, t) => {
|
|
117
|
+
var n = d(), r = l.first_child(n), i = (e) => {
|
|
118
|
+
a(e, {
|
|
123
119
|
variant: "outline",
|
|
124
120
|
type: "button",
|
|
125
121
|
onclick: D,
|
|
@@ -134,40 +130,40 @@ function g(g, _) {
|
|
|
134
130
|
$$slots: { default: !0 }
|
|
135
131
|
});
|
|
136
132
|
};
|
|
137
|
-
l.if(
|
|
138
|
-
l.get(w) || e(
|
|
133
|
+
l.if(r, (e) => {
|
|
134
|
+
l.get(w) || e(i);
|
|
139
135
|
});
|
|
140
|
-
var o = l.sibling(
|
|
136
|
+
var o = l.sibling(r, 2);
|
|
141
137
|
{
|
|
142
|
-
let e = l.derived(() => l.get(w) ? "default" : "destructive"),
|
|
143
|
-
|
|
138
|
+
let e = l.derived(() => l.get(w) ? "default" : "destructive"), t = l.derived(() => l.get(w) ? D : E);
|
|
139
|
+
a(o, {
|
|
144
140
|
type: "button",
|
|
145
141
|
get variant() {
|
|
146
142
|
return l.get(e);
|
|
147
143
|
},
|
|
148
144
|
get onclick() {
|
|
149
|
-
return l.get(
|
|
145
|
+
return l.get(t);
|
|
150
146
|
},
|
|
151
147
|
get disabled() {
|
|
152
148
|
return l.get(C);
|
|
153
149
|
},
|
|
154
|
-
children: (e,
|
|
155
|
-
var
|
|
156
|
-
|
|
150
|
+
children: (e, t) => {
|
|
151
|
+
var n = h(), r = l.first_child(n), i = (e) => {
|
|
152
|
+
c(e, { class: "mr-1 size-4 animate-spin" });
|
|
157
153
|
};
|
|
158
|
-
l.if(
|
|
159
|
-
l.get(C) && e(
|
|
154
|
+
l.if(r, (e) => {
|
|
155
|
+
l.get(C) && e(i);
|
|
160
156
|
});
|
|
161
|
-
var
|
|
162
|
-
l.template_effect(() => l.set_text(
|
|
157
|
+
var a = l.sibling(r);
|
|
158
|
+
l.template_effect(() => l.set_text(a, ` ${(l.get(w) ? x() : y()) ?? ""}`)), l.append(e, n);
|
|
163
159
|
},
|
|
164
160
|
$$slots: { default: !0 }
|
|
165
161
|
});
|
|
166
162
|
}
|
|
167
|
-
l.append(e,
|
|
163
|
+
l.append(e, n);
|
|
168
164
|
},
|
|
169
165
|
$$slots: { default: !0 }
|
|
170
|
-
}), l.append(
|
|
166
|
+
}), l.append(e, g);
|
|
171
167
|
},
|
|
172
168
|
$$slots: { default: !0 }
|
|
173
169
|
});
|
|
@@ -175,5 +171,4 @@ function g(g, _) {
|
|
|
175
171
|
$$slots: { default: !0 }
|
|
176
172
|
}), l.pop();
|
|
177
173
|
}
|
|
178
|
-
//#endregion
|
|
179
174
|
export { g as t };
|