@hiai-gg/docsmint 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/backend/index.js +49330 -66661
- package/dist/backend-account-runtime-cleanup.js +291 -291
- package/dist/backend-api-key-facade.js +4 -4
- package/dist/backend-pipeline-cancellation.js +285 -285
- package/dist/frontend/CategoryDialog-CVJi5PJu.js +602 -0
- package/dist/frontend/{ConfirmDialog-B1MjKlVQ.js → ConfirmDialog-0JwB8mKN.js} +5 -8
- package/dist/frontend/{CreateSnapshotDialog-BTMoPFdj.js → CreateSnapshotDialog-BLrtuYs5.js} +63 -68
- package/dist/frontend/{DatePicker-Bmjko3X7.js → DatePicker-BwSb8TRv.js} +17 -29
- package/dist/frontend/{DeleteDialog-BkfIeKXO.js → DeleteDialog-s7Dr6bXg.js} +51 -56
- package/dist/frontend/{FolderNode-Do8pIfyA.js → FolderNode-Y7cV9xeX.js} +105 -106
- package/dist/frontend/{FolderTreeSelector-FyxhcHjr.js → FolderTreeSelector-BR3lYmPU.js} +18 -20
- package/dist/frontend/HiAiEditor-BQERr-cd.js +3077 -0
- package/dist/frontend/{HiaiDocsExtensionProvider-Cc3yzW5I.js → HiaiDocsExtensionProvider-A2nGddUR.js} +2 -3
- package/dist/frontend/{Icon-3EYzvNyk.js → Icon-CiHcxcpv.js} +1 -2
- package/dist/frontend/SettingsDialog-BvS74JZu.js +978 -0
- package/dist/frontend/{ShareDialog-Ddvl7xvb.js → ShareDialog-Bo50h_Oe.js} +23 -25
- package/dist/frontend/Sidebar-i0kbanpg.js +2123 -0
- package/dist/frontend/{TagCreateDialog-DQmMJe_E.js → TagCreateDialog-DhKfsfv3.js} +78 -86
- package/dist/frontend/action_cancel-BdsWzQKU.js +4 -0
- package/dist/frontend/action_close-CVhfLPRQ.js +4 -0
- package/dist/frontend/action_create-ByaroO1_.js +4 -0
- package/dist/frontend/action_delete-SRloglWY.js +4 -0
- package/dist/frontend/action_go_to-DO1bicF-.js +4 -0
- package/dist/frontend/action_loading-iQ0KsN6i.js +4 -0
- package/dist/frontend/action_save-DeqrZQwV.js +4 -0
- package/dist/frontend/api/attachments.js +1 -2
- package/dist/frontend/api/categories.js +1 -2
- package/dist/frontend/api/documents.js +1 -2
- package/dist/frontend/api/folders.js +1 -2
- package/dist/frontend/api/settings.js +1 -2
- package/dist/frontend/api/share.js +1 -2
- package/dist/frontend/api/tags.js +1 -2
- package/dist/frontend/{api-keys-DIwAdYkg.js → api-keys-B63imiLr.js} +2 -3
- package/dist/frontend/app-shell.js +55 -79
- package/dist/frontend/{attachments-C225gTA7.js → attachments-Bfly-sam.js} +2 -3
- package/dist/frontend/{auth-client-C5EyWdAF.js → auth-client-Dx7d9Tzo.js} +252 -253
- package/dist/frontend/{bundle-mjs-CZ3g1Uzr.js → bundle-mjs-clTO1WW-.js} +5 -23
- package/dist/frontend/{camera-DtgHzfVI.js → camera-DsdOPOcD.js} +2 -3
- package/dist/frontend/{categories-C8AAkhCR.js → categories-CusvHb5Y.js} +3 -4
- package/dist/frontend/{categories_update_error-4aSI8PTr.js → categories_update_error-Cn8DBBHv.js} +2 -3
- package/dist/frontend/{check-DVx65aSv.js → check-DiMZRkKS.js} +2 -3
- package/dist/frontend/{chevron-down-C2tbZ8Ol.js → chevron-down-CxFrMFDJ.js} +2 -3
- package/dist/frontend/{circle-check-BAN-D7yg.js → circle-check-B4F_qgPx.js} +2 -3
- package/dist/frontend/{client-GbtOH90i.js → client-BDdDd84W.js} +1 -2
- package/dist/frontend/{clipboard-Cgzxc0_R.js → clipboard-Dt1oW6nm.js} +1 -2
- package/dist/frontend/{clock-ByiB0SwQ.js → clock-dcpueRk-.js} +2 -3
- package/dist/frontend/collaboration.js +6 -12
- package/dist/frontend/components/category-dialog.js +1 -2
- package/dist/frontend/components/create-snapshot-dialog.js +1 -2
- package/dist/frontend/components/delete-dialog.js +1 -2
- package/dist/frontend/components/editor/compact-editor.js +2 -3
- package/dist/frontend/components/editor/document-editor.js +1 -2
- package/dist/frontend/components/editor/document-title.js +3 -4
- package/dist/frontend/components/editor/docx-serializer.js +123 -167
- package/dist/frontend/components/editor/extensions.js +1 -2
- package/dist/frontend/components/editor/markdown-toggle.js +5 -6
- package/dist/frontend/components/editor/markdown.js +1 -2
- package/dist/frontend/components/folder-node.js +1 -2
- package/dist/frontend/components/folder-tree-selector.js +1 -2
- package/dist/frontend/components/save-as-dialog.js +86 -90
- package/dist/frontend/components/settings.js +1 -2
- package/dist/frontend/components/share-dialog.js +1 -2
- package/dist/frontend/components/sidebar.js +1 -2
- package/dist/frontend/components/tag-create-dialog.js +1 -2
- package/dist/frontend/components/version-history.js +177 -180
- package/dist/frontend/{context-D0zPFXZ4.js → context-BguSRnCt.js} +1 -2
- package/dist/frontend/{copy-CRzvfZGb.js → copy-Bag46YaR.js} +2 -3
- package/dist/frontend/dashboard.js +666 -690
- package/dist/frontend/{db-CgTtukT4.js → db-B1ZV452J.js} +22 -39
- package/dist/frontend/{dialog-a_ZcpEC5.js → dialog-C0Bpok1d.js} +10 -18
- package/dist/frontend/{dist-CcHOStsA.js → dist-BlcV_BOY.js} +2 -3
- package/dist/frontend/{dist-qd_OnyUC.js → dist-DjId3RKL.js} +8 -21
- package/dist/frontend/dist-Dl9qg10h.js +301 -0
- package/dist/frontend/{dndzone-CDhrbpTg.js → dndzone-C62yjeG3.js} +38 -53
- package/dist/frontend/doc-tabs.js +1 -2
- package/dist/frontend/doc_title_label-BOuZzvqv.js +4 -0
- package/dist/frontend/doc_title_placeholder-ZxpdWWEn.js +4 -0
- package/dist/frontend/{document-drop-coordinator-Da7HcXgv.js → document-drop-coordinator-C_o93kKW.js} +3 -4
- package/dist/frontend/document-drop-coordinator.js +1 -2
- package/dist/frontend/{documents-CwCs1rA7.js → documents-CDJb8dv-.js} +4 -8
- package/dist/frontend/{dropdown-menu-DrHYReIC.js → dropdown-menu-B3nk2aM-.js} +13 -24
- package/dist/frontend/{editor-content-sanitizer-CWjqiz0T.js → editor-content-sanitizer-5MjSVPVn.js} +1 -2
- package/dist/frontend/editor-preferences.js +1 -2
- package/dist/frontend/{editor-preferences.svelte-Bt_A9k7n.js → editor-preferences.svelte-BpTE4mbz.js} +3 -5
- package/dist/frontend/{editorExtensions-DPR-CjMu.js → editorExtensions-DbiFj4tn.js} +3 -4
- package/dist/frontend/{editor_markdown_placeholder-BIWDUF1E.js → editor_markdown_placeholder-BztIY9Ci.js} +2 -3
- package/dist/frontend/{ellipsis-vertical-qxNgoXu-.js → ellipsis-vertical-Oymsv1R4.js} +2 -3
- package/dist/frontend/{error_dismiss-Dx_JbRjs.js → error_dismiss-C651ZdWI.js} +2 -3
- package/dist/frontend/error_generic-BlWqOE-a.js +4 -0
- package/dist/frontend/extension.js +1 -2
- package/dist/frontend/{folder-D74E-Kdp.js → folder-BpmB_sAy.js} +3 -5
- package/dist/frontend/folder-refresh.js +1 -2
- package/dist/frontend/{folders-CC0UWkZH.js → folders-DgKSovXa.js} +2 -3
- package/dist/frontend/{folders_rename-BJo4Gipq.js → folders_rename-Cxbg5GIw.js} +2 -3
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/i18n.js +144 -145
- package/dist/frontend/{identity-CNhtuCJV.js → identity-B7HeOzDJ.js} +4 -5
- package/dist/frontend/{input-Q_7qCfnU.js → input-CbeB9220.js} +2 -3
- package/dist/frontend/keyboard.js +1 -2
- package/dist/frontend/{keyboard.svelte-CApmX0vl.js → keyboard.svelte-BBUdhTsM.js} +2 -3
- package/dist/frontend/{label-Dj8FDEhf.js → label-CfBWf3gI.js} +2 -3
- package/dist/frontend/{lib-aUbBbIW2.js → lib-CITdCbKa.js} +176 -365
- package/dist/frontend/{loader-circle-D3t5NkvC.js → loader-circle-skKwfRCB.js} +2 -3
- package/dist/frontend/markdown-6E9TWC6V.js +11 -0
- package/dist/frontend/offline/identity.js +1 -2
- package/dist/frontend/{popper-layer-force-mount-CNtiLgbV.js → popper-layer-force-mount-BG0eyrCk.js} +112 -284
- package/dist/frontend/{resolve-BG4HgzpN.js → resolve-DbT-KhGZ.js} +2 -3
- package/dist/frontend/{rolldown-runtime-DArdT4gl.js → rolldown-runtime-CwxnZyOB.js} +2 -3
- package/dist/frontend/{rotate-ccw-B1ybQ8oQ.js → rotate-ccw-DAUX7np7.js} +2 -3
- package/dist/frontend/{route-context-DYQlUfzL.js → route-context-6OHiGtfb.js} +2 -4
- package/dist/frontend/{runtime-CwWSo6c9.js → runtime-CGUiMzK6.js} +1 -2
- package/dist/frontend/{schemas-1Na35n71.js → schemas-YXxhj5o8.js} +850 -880
- package/dist/frontend/scroll_to_top_aria-lJc2RSx_.js +4 -0
- package/dist/frontend/{search-preferences-B1GdbdUc.js → search-preferences-DuLDczRu.js} +1 -2
- package/dist/frontend/search.js +277 -292
- package/dist/frontend/{search_title-DOC0cPlQ.js → search_title-BETwQYJq.js} +2 -3
- package/dist/frontend/{select-value-BkI1W1bn.js → select-value-BY5Hw6Rl.js} +28 -65
- package/dist/frontend/{settings-CHx4wBwb.js → settings-DyePuqjp.js} +3 -4
- package/dist/frontend/{share-D5yo0JOh.js → share-3gWTTYvH.js} +2 -3
- package/dist/frontend/{share-context-BJ4GF4yT.js → share-context-C2xyVP9M.js} +29 -37
- package/dist/frontend/{share_copied-DPxVzfWh.js → share_copied-BuAnmpbz.js} +2 -3
- package/dist/frontend/{share_toggle_password-DdxfIjj1.js → share_toggle_password-LEYUeHWr.js} +2 -3
- package/dist/frontend/shared-document.js +27 -36
- package/dist/frontend/{sidebar_uncategorized-qJ2_Aonf.js → sidebar_uncategorized-C5PGOflV.js} +2 -3
- package/dist/frontend/{sort_relevance-DwYX5MO9.js → sort_relevance-DpCVLby_.js} +2 -3
- package/dist/frontend/{subfolders-refresh-store.svelte-DxP21a1c.js → subfolders-refresh-store.svelte-CeyqvNpu.js} +1 -2
- package/dist/frontend/{tag-qbTBLj-g.js → tag-Wdfe0rKU.js} +3 -5
- package/dist/frontend/{tag-store.svelte-ogVCMCbv.js → tag-store.svelte-C9VYWqLQ.js} +2 -3
- package/dist/frontend/{tags-CF_cqzSV.js → tags-DlDVothf.js} +3 -4
- package/dist/frontend/{tags_load_error-BKjA1pI0.js → tags_load_error-BINNpPPV.js} +2 -3
- package/dist/frontend/{tags_new-BiNAJ9Bx.js → tags_new-Dw0Uy43-.js} +2 -3
- package/dist/frontend/{textarea-BNK0LFUK.js → textarea-D6emvAwM.js} +2 -3
- package/dist/frontend/theme.js +2 -3
- package/dist/frontend/{theme.svelte-BRdxXd-B.js → theme.svelte-BiXvrqwh.js} +7 -23
- package/dist/frontend/{theme_system-BBNUhYKh.js → theme_system-YIfa_2Xt.js} +2 -3
- package/dist/frontend/utils/clipboard.js +1 -2
- package/dist/frontend/utils/dndzone.js +1 -2
- package/dist/frontend/{utils-BovMJHdA.js → utils-CnAmIMwr.js} +2 -3
- package/dist/frontend/utils-DH0uqK40.js +6 -0
- package/dist/frontend/utils.js +1 -2
- package/dist/frontend/version_create_snapshot-D8xjbuCq.js +4 -0
- package/dist/frontend/{version_restored_from-dVRN3Zdk.js → version_restored_from-DYFFSuQj.js} +2 -3
- package/dist/frontend/{version_snapshot_label_placeholder-DrMikux0.js → version_snapshot_label_placeholder-BhKq1NQ7.js} +2 -3
- package/dist/frontend/{weekday_we-C5H_M-df.js → weekday_we-BxbzNVWR.js} +2 -3
- package/dist/frontend/{x-CvSSnrjl.js → x-CBUgPygC.js} +2 -3
- package/dist/frontend/{yjs-VUcKqaKW.js → yjs-BbwnvxgY.js} +9 -23
- package/dist/frontend-ssr/api/attachments.js +2 -3
- package/dist/frontend-ssr/api/categories.js +1 -2
- package/dist/frontend-ssr/api/documents.js +1 -2
- package/dist/frontend-ssr/api/folders.js +1 -2
- package/dist/frontend-ssr/api/settings.js +1 -2
- package/dist/frontend-ssr/api/share.js +2 -3
- package/dist/frontend-ssr/api/tags.js +1 -2
- package/dist/frontend-ssr/app-shell.js +19 -28
- package/dist/frontend-ssr/assets/{CategoryDialog-DuZLLlt7.js → CategoryDialog-2CCX508O.js} +17 -20
- package/dist/frontend-ssr/assets/{ConfirmDialog-0WVu9BCE.js → ConfirmDialog-Cc6lcY1N.js} +8 -14
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-3vhDTFNu.js → CreateSnapshotDialog-BB8fXF9W.js} +9 -10
- package/dist/frontend-ssr/assets/{DatePicker-t12leL2Y.js → DatePicker-CfzKzipR.js} +9 -15
- package/dist/frontend-ssr/assets/{DeleteDialog-B0AU1fJR.js → DeleteDialog-DRU4UgOW.js} +4 -5
- package/dist/frontend-ssr/assets/{FolderNode-C-B-s8x1.js → FolderNode-Dg_5-orQ.js} +11 -12
- package/dist/frontend-ssr/assets/{FolderTreeSelector-DdQuEcj0.js → FolderTreeSelector-D0reTdFS.js} +5 -7
- package/dist/frontend-ssr/assets/{HiAiEditor-Cj3B2Dt6.js → HiAiEditor-DeHWAIj-.js} +44 -69
- package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-BRKWmcDd.js → HiaiDocsExtensionProvider-D6cGL-9s.js} +2 -3
- package/dist/frontend-ssr/assets/{Icon-DE_3EnuF.js → Icon-CrIRbT5O.js} +4 -8
- package/dist/frontend-ssr/assets/{SettingsDialog-DAT-Zxu0.js → SettingsDialog-BpHY3IMb.js} +29 -40
- package/dist/frontend-ssr/assets/{ShareDialog-CpE9zd_f.js → ShareDialog-CY40nWZJ.js} +7 -9
- package/dist/frontend-ssr/assets/{Sidebar-B_Ey6QNL.js → Sidebar-fpYk5MGO.js} +55 -63
- package/dist/frontend-ssr/assets/{TagCreateDialog-DBHO1DPU.js → TagCreateDialog-C2tpdEuj.js} +13 -14
- package/dist/frontend-ssr/assets/{action_cancel-OVgQDP5Q.js → action_cancel-CsBbxW0m.js} +2 -3
- package/dist/frontend-ssr/assets/{action_close-DagDyMXk.js → action_close-lFKBqBwg.js} +2 -3
- package/dist/frontend-ssr/assets/{action_create-hqJWjyqh.js → action_create-BV4ZOcQW.js} +2 -3
- package/dist/frontend-ssr/assets/{action_delete-B1-16jSo.js → action_delete-CNmRhKQP.js} +2 -3
- package/dist/frontend-ssr/assets/{action_go_to-DQScgw7P.js → action_go_to-tN5I26xM.js} +2 -3
- package/dist/frontend-ssr/assets/{action_save-Bx7vlLZI.js → action_save-YCfMiKb4.js} +2 -3
- package/dist/frontend-ssr/assets/{api-keys-CHOrbU-Q.js → api-keys-G6oimJIv.js} +2 -3
- package/dist/frontend-ssr/assets/{auth-client-CITU3xkE.js → auth-client-BnnnJDAb.js} +102 -71
- package/dist/frontend-ssr/assets/{camera-B6ldo_Js.js → camera-OYNSMvMd.js} +2 -3
- package/dist/frontend-ssr/assets/{categories-C_dxFoHi.js → categories-bBPviKjl.js} +2 -3
- package/dist/frontend-ssr/assets/{categories_update_error-DkKgsqdD.js → categories_update_error-Bfx5vtvt.js} +11 -21
- package/dist/frontend-ssr/assets/{chevron-down-DQcr6JUc.js → chevron-down-DB6YsSbQ.js} +2 -3
- package/dist/frontend-ssr/assets/{chevron-right-9szrliZx.js → chevron-right-DOt2uY6b.js} +2 -3
- package/dist/frontend-ssr/assets/{circle-check-BgP9MRRv.js → circle-check-DQhTm9YR.js} +2 -3
- package/dist/frontend-ssr/assets/{client-rfwQYYHY.js → client-B2AniXwV.js} +1 -2
- package/dist/frontend-ssr/assets/{clipboard-CXOaoz2W.js → clipboard-CXKnyYba.js} +1 -2
- package/dist/frontend-ssr/assets/{clock-roNtGlT6.js → clock-B08dVWtf.js} +2 -3
- package/dist/frontend-ssr/assets/{context-Bi_mO-NS.js → context-C_xxvxnR.js} +1 -2
- package/dist/frontend-ssr/assets/{copy-BYqYnBIQ.js → copy-2jsznHar.js} +2 -3
- package/dist/frontend-ssr/assets/{db-DxRzq-kx.js → db-BEKLU5Fc.js} +2 -3
- package/dist/frontend-ssr/assets/{dialog-SqCnTT43.js → dialog-C6U-DqLr.js} +9 -17
- package/dist/frontend-ssr/assets/{dist-CaZQ1FhA.js → dist-DqXTz_zE.js} +9 -12
- package/dist/frontend-ssr/assets/{dist-CqxHwOlp.js → dist-ip9bPdma.js} +3 -6
- package/dist/frontend-ssr/assets/{dndzone-CnTCMhPd.js → dndzone-Dx3jt_e4.js} +4 -6
- package/dist/frontend-ssr/assets/{doc_title_label-Ev_ltlh3.js → doc_title_label-CE_l-Gum.js} +2 -3
- package/dist/frontend-ssr/assets/{doc_title_placeholder-DSHpUb7w.js → doc_title_placeholder-7_i7PtG6.js} +2 -3
- package/dist/frontend-ssr/assets/{document-drop-coordinator-CEaYACsC.js → document-drop-coordinator-BVytYy2K.js} +1 -2
- package/dist/frontend-ssr/assets/{documents-CEuA1V6N.js → documents-B_wpQFTh.js} +2 -3
- package/dist/frontend-ssr/assets/{dropdown-menu-CE6U0f1b.js → dropdown-menu-BS5fcN9l.js} +12 -23
- package/dist/frontend-ssr/assets/{editor-content-sanitizer-Gjm93iR-.js → editor-content-sanitizer-CIdFjBSC.js} +1 -2
- package/dist/frontend-ssr/assets/{editor-preferences.svelte-iI5jJM1x.js → editor-preferences.svelte-CdAXTd-I.js} +2 -4
- package/dist/frontend-ssr/assets/{editorExtensions-rhletNji.js → editorExtensions-2O7O2Nhv.js} +2 -3
- package/dist/frontend-ssr/assets/{editor_markdown_placeholder-BpezdkOr.js → editor_markdown_placeholder-CAeLJjFT.js} +3 -5
- package/dist/frontend-ssr/assets/{editor_toolbar_undo-CKJAOqv2.js → editor_toolbar_undo-CVCfQIS1.js} +29 -57
- package/dist/frontend-ssr/assets/{ellipsis-vertical-Cg1MrZsl.js → ellipsis-vertical-IFHt2NM1.js} +2 -3
- package/dist/frontend-ssr/assets/{error_generic-DTK0kwxT.js → error_generic-BB80i0Vk.js} +3 -5
- package/dist/frontend-ssr/assets/{folder-DHB-CEcQ.js → folder-CXa1_bm5.js} +2 -3
- package/dist/frontend-ssr/assets/{folders-BOXeb9hz.js → folders-CTLqWbMm.js} +2 -3
- package/dist/frontend-ssr/assets/{folders_rename-DvciOb6K.js → folders_rename-ydbfwQlj.js} +7 -13
- package/dist/frontend-ssr/assets/{identity-B7ngLQzZ.js → identity-DTz1SQwC.js} +2 -3
- package/dist/frontend-ssr/assets/{input-DVrBVPgs.js → input-Bxw9sFF0.js} +2 -3
- package/dist/frontend-ssr/assets/{keyboard.svelte-BgF47N3L.js → keyboard.svelte-njehUCm3.js} +1 -2
- package/dist/frontend-ssr/assets/{label-vtCK3pTp.js → label-CMWedjs6.js} +2 -3
- package/dist/frontend-ssr/assets/{loader-circle-D3NWhCif.js → loader-circle-zbKj9Qb-.js} +2 -3
- package/dist/frontend-ssr/assets/{markdown-Co31-Tl2.js → markdown-BmIhDQp7.js} +2 -3
- package/dist/frontend-ssr/assets/{popper-layer-force-mount-C4dMMt-f.js → popper-layer-force-mount-CSHZsG2E.js} +78 -156
- package/dist/frontend-ssr/assets/{resolve-BqHozBXl.js → resolve-Wqdff4CL.js} +1 -2
- package/dist/frontend-ssr/assets/{rotate-ccw-DNf3nwMD.js → rotate-ccw-B7SaTFWf.js} +2 -3
- package/dist/frontend-ssr/assets/{route-context-BPRerEtZ.js → route-context-BsqLFt5Y.js} +2 -4
- package/dist/frontend-ssr/assets/{runtime-O78RzRqx.js → runtime-BX6-jTn_.js} +1 -2
- package/dist/frontend-ssr/assets/{scroll_to_top_aria-BN4ZfOnM.js → scroll_to_top_aria-CAYSiGHO.js} +2 -3
- package/dist/frontend-ssr/assets/{search_title-CKUsQDT0.js → search_title-C7NVXXq3.js} +2 -3
- package/dist/frontend-ssr/assets/{search_toggle_filters-hS9rvQhC.js → search_toggle_filters-Bq_YVD8s.js} +15 -29
- package/dist/frontend-ssr/assets/{select-value-Ce5c_fuA.js → select-value-TgslfiUB.js} +18 -34
- package/dist/frontend-ssr/assets/{settings-BRxvn30Y.js → settings-B1MA_FjO.js} +3 -4
- package/dist/frontend-ssr/assets/{share-context-B4UpvTSw.js → share-context-RVh8AExX.js} +17 -22
- package/dist/frontend-ssr/assets/{share_copied-BxU9rjXG.js → share_copied-CrwEwkb3.js} +31 -61
- package/dist/frontend-ssr/assets/{share_toggle_password-C6OmroqR.js → share_toggle_password-Co56z0Ha.js} +11 -21
- package/dist/frontend-ssr/assets/{sidebar_uncategorized-Dx-LTd5w.js → sidebar_uncategorized-COWdmZ3d.js} +6 -11
- package/dist/frontend-ssr/assets/{subfolders-refresh-store.svelte-CXHxQWKh.js → subfolders-refresh-store.svelte-LxG18U0n.js} +1 -2
- package/dist/frontend-ssr/assets/{tag-Cqv0fWVG.js → tag-BGhtDKpP.js} +3 -5
- package/dist/frontend-ssr/assets/{tag-store.svelte-QRysvGKe.js → tag-store.svelte-CUUgAaDD.js} +2 -3
- package/dist/frontend-ssr/assets/{tags-BBCoFYro.js → tags-C7u-LBsl.js} +2 -3
- package/dist/frontend-ssr/assets/{tags_load_error-CPrc6Gzs.js → tags_load_error-DW4FbHvr.js} +19 -37
- package/dist/frontend-ssr/assets/{tags_new-VmMr9v2V.js → tags_new-Dr3ByMPZ.js} +4 -7
- package/dist/frontend-ssr/assets/{textarea-BdjOJJVb.js → textarea-Bz5Tz4rw.js} +2 -3
- package/dist/frontend-ssr/assets/{theme.svelte-D6bbaJ9m.js → theme.svelte-CdHah46l.js} +3 -5
- package/dist/frontend-ssr/assets/{theme_system-BucaNntV.js → theme_system-E97FASeq.js} +19 -37
- package/dist/frontend-ssr/assets/{utils-DvZnctjz.js → utils-085zSPe5.js} +1 -2
- package/dist/frontend-ssr/assets/{utils-D3X7I8nz.js → utils-DF6CmRDX.js} +1 -2
- package/dist/frontend-ssr/assets/{version_create_snapshot-COHzwjle.js → version_create_snapshot-DeeYB7bb.js} +2 -3
- package/dist/frontend-ssr/assets/{version_restored_from-CertjFDl.js → version_restored_from-CTt2LM4A.js} +13 -25
- package/dist/frontend-ssr/assets/{version_snapshot_label_placeholder-Cy_rMCij.js → version_snapshot_label_placeholder-BbGD9YuN.js} +12 -23
- package/dist/frontend-ssr/assets/{weekday_we-DrI3U230.js → weekday_we-BzGQ-iFc.js} +22 -43
- package/dist/frontend-ssr/collaboration.js +2 -4
- package/dist/frontend-ssr/components/category-dialog.js +1 -2
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -2
- package/dist/frontend-ssr/components/delete-dialog.js +1 -2
- package/dist/frontend-ssr/components/editor/compact-editor.js +2 -3
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -2
- package/dist/frontend-ssr/components/editor/document-title.js +3 -4
- package/dist/frontend-ssr/components/editor/docx-serializer.js +1 -2
- package/dist/frontend-ssr/components/editor/extensions.js +1 -2
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +4 -5
- package/dist/frontend-ssr/components/editor/markdown.js +1 -2
- package/dist/frontend-ssr/components/folder-node.js +1 -2
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -2
- package/dist/frontend-ssr/components/save-as-dialog.js +12 -13
- package/dist/frontend-ssr/components/settings.js +1 -2
- package/dist/frontend-ssr/components/share-dialog.js +1 -2
- package/dist/frontend-ssr/components/sidebar.js +1 -2
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -2
- package/dist/frontend-ssr/components/version-history.js +18 -21
- package/dist/frontend-ssr/dashboard.js +64 -88
- package/dist/frontend-ssr/doc-tabs.js +1 -2
- package/dist/frontend-ssr/document-drop-coordinator.js +1 -2
- package/dist/frontend-ssr/editor-preferences.js +1 -2
- package/dist/frontend-ssr/extension.js +1 -2
- package/dist/frontend-ssr/folder-refresh.js +1 -2
- package/dist/frontend-ssr/i18n.js +315 -603
- package/dist/frontend-ssr/keyboard.js +1 -2
- package/dist/frontend-ssr/offline/identity.js +1 -2
- package/dist/frontend-ssr/search.js +17 -20
- package/dist/frontend-ssr/shared-document.js +5 -8
- package/dist/frontend-ssr/theme.js +2 -3
- package/dist/frontend-ssr/utils/clipboard.js +1 -2
- package/dist/frontend-ssr/utils/dndzone.js +1 -2
- package/dist/frontend-ssr/utils.js +1 -2
- package/dist/lifecycle-runtime.js +3996 -17873
- package/dist/mcp-cli.js +64 -64
- package/dist/mcp-server.js +68 -68
- package/package.json +4 -4
- package/packages/cli/src/index.ts +1 -1
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-CJeAYxcd.js +0 -630
- package/dist/frontend/HiAiEditor-D6ad_auS.js +0 -3129
- package/dist/frontend/SettingsDialog-B8Oswuqb.js +0 -991
- package/dist/frontend/Sidebar-BV0IDqTS.js +0 -2149
- package/dist/frontend/action_cancel-Cuxsznzz.js +0 -5
- package/dist/frontend/action_close-BJm_52wm.js +0 -5
- package/dist/frontend/action_create-CtBQrRuj.js +0 -5
- package/dist/frontend/action_delete-BXBIzvn0.js +0 -5
- package/dist/frontend/action_go_to-VmK5jmEk.js +0 -5
- package/dist/frontend/action_loading-BLCGJVA9.js +0 -5
- package/dist/frontend/action_save-BRN2Z_GP.js +0 -5
- package/dist/frontend/dist-DcHl92QO.js +0 -316
- package/dist/frontend/doc_title_label-DS9jSIh2.js +0 -5
- package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +0 -5
- package/dist/frontend/error_generic-CzNtmBT4.js +0 -5
- package/dist/frontend/markdown-O9YJA70S.js +0 -12
- package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +0 -5
- package/dist/frontend/utils-BlHvR6OL.js +0 -7
- package/dist/frontend/version_create_snapshot-3bu-0qzH.js +0 -5
|
@@ -3,7 +3,7 @@ import { env } from "@better-auth/core/env";
|
|
|
3
3
|
import { BetterAuthError } from "@better-auth/core/error";
|
|
4
4
|
import { isSafeUrlScheme } from "@better-auth/core/utils/url";
|
|
5
5
|
import { capitalizeFirstLetter, toKebabCase } from "@better-auth/core/utils/string";
|
|
6
|
-
|
|
6
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
7
7
|
var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
8
8
|
var now$1 = () => Math.floor(Date.now() / 1e3);
|
|
9
9
|
var WindowBroadcastChannel = class {
|
|
@@ -45,8 +45,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
45
45
|
if (!globalThis[kBroadcastChannel]) globalThis[kBroadcastChannel] = new WindowBroadcastChannel(name);
|
|
46
46
|
return globalThis[kBroadcastChannel];
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/equality.mjs
|
|
48
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/equality.mjs
|
|
50
49
|
function isPlainObject$1(value) {
|
|
51
50
|
if (typeof value !== "object" || value === null) return false;
|
|
52
51
|
const prototype = Object.getPrototypeOf(value);
|
|
@@ -85,8 +84,7 @@ function withEquality(store, isEqual) {
|
|
|
85
84
|
if (isEqual(store.value, newValue)) abort();
|
|
86
85
|
});
|
|
87
86
|
}
|
|
88
|
-
|
|
89
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
87
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
90
88
|
var kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
91
89
|
var WindowFocusManager = class {
|
|
92
90
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -114,8 +112,7 @@ function getGlobalFocusManager() {
|
|
|
114
112
|
if (!globalThis[kFocusManager]) globalThis[kFocusManager] = new WindowFocusManager();
|
|
115
113
|
return globalThis[kFocusManager];
|
|
116
114
|
}
|
|
117
|
-
|
|
118
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/online-manager.mjs
|
|
115
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/online-manager.mjs
|
|
119
116
|
var kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
120
117
|
var WindowOnlineManager = class {
|
|
121
118
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -146,14 +143,7 @@ function getGlobalOnlineManager() {
|
|
|
146
143
|
if (!globalThis[kOnlineManager]) globalThis[kOnlineManager] = new WindowOnlineManager();
|
|
147
144
|
return globalThis[kOnlineManager];
|
|
148
145
|
}
|
|
149
|
-
|
|
150
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/parser.mjs
|
|
151
|
-
var PROTO_POLLUTION_PATTERNS = {
|
|
152
|
-
proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
|
|
153
|
-
constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
|
|
154
|
-
protoShort: /"__proto__"\s*:/,
|
|
155
|
-
constructorShort: /"constructor"\s*:/
|
|
156
|
-
};
|
|
146
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/parser.mjs
|
|
157
147
|
var JSON_SIGNATURE = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
158
148
|
var SPECIAL_VALUES = {
|
|
159
149
|
true: true,
|
|
@@ -189,14 +179,10 @@ function betterJSONParse(value, options = {}) {
|
|
|
189
179
|
if (strict) throw new SyntaxError("[better-json] Invalid JSON");
|
|
190
180
|
return value;
|
|
191
181
|
}
|
|
192
|
-
if (Object.entries(PROTO_POLLUTION_PATTERNS).some(([key, pattern]) => {
|
|
193
|
-
const matches = pattern.test(trimmed);
|
|
194
|
-
if (matches && warnings) console.warn(`[better-json] Detected potential prototype pollution attempt using ${key} pattern`);
|
|
195
|
-
return matches;
|
|
196
|
-
}) && strict) throw new Error("[better-json] Potential prototype pollution attempt detected");
|
|
197
182
|
try {
|
|
198
183
|
const secureReviver = (key, value) => {
|
|
199
184
|
if (key === "__proto__" || key === "constructor" && value && typeof value === "object" && "prototype" in value) {
|
|
185
|
+
if (strict) throw new Error("[better-json] Potential prototype pollution attempt detected");
|
|
200
186
|
if (warnings) console.warn(`[better-json] Dropping "${key}" key to prevent prototype pollution`);
|
|
201
187
|
return;
|
|
202
188
|
}
|
|
@@ -215,16 +201,14 @@ function betterJSONParse(value, options = {}) {
|
|
|
215
201
|
function parseJSON(value, options = { strict: true }) {
|
|
216
202
|
return betterJSONParse(value, options);
|
|
217
203
|
}
|
|
218
|
-
|
|
219
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/query-atom.mjs
|
|
204
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/query-atom.mjs
|
|
220
205
|
var kAuthQuery = Symbol.for("better-auth:auth-query");
|
|
221
206
|
function createAuthQueryAtom(initialValue) {
|
|
222
207
|
const queryAtom = atom(initialValue);
|
|
223
208
|
Object.defineProperty(queryAtom, kAuthQuery, { value: true });
|
|
224
209
|
return queryAtom;
|
|
225
210
|
}
|
|
226
|
-
|
|
227
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
211
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
228
212
|
var now = () => Math.floor(Date.now() / 1e3);
|
|
229
213
|
/**
|
|
230
214
|
* Rate limit: don't refetch on focus if a session request was made within this many seconds
|
|
@@ -350,8 +334,7 @@ function createSessionRefreshManager(opts) {
|
|
|
350
334
|
broadcastSessionUpdate
|
|
351
335
|
};
|
|
352
336
|
}
|
|
353
|
-
|
|
354
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/utils/url.mjs
|
|
337
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/utils/url.mjs
|
|
355
338
|
var SLASH_CHAR_CODE = "/".charCodeAt(0);
|
|
356
339
|
function trimTrailingSlashes(value) {
|
|
357
340
|
let end = value.length;
|
|
@@ -428,8 +411,7 @@ function getOrigin(url) {
|
|
|
428
411
|
return null;
|
|
429
412
|
}
|
|
430
413
|
}
|
|
431
|
-
|
|
432
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
414
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
433
415
|
var redirectPlugin = {
|
|
434
416
|
id: "redirect",
|
|
435
417
|
name: "Redirect",
|
|
@@ -443,8 +425,7 @@ var redirectPlugin = {
|
|
|
443
425
|
}
|
|
444
426
|
} }
|
|
445
427
|
};
|
|
446
|
-
|
|
447
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/session-atom.mjs
|
|
428
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/session-atom.mjs
|
|
448
429
|
var isServer = () => typeof window === "undefined";
|
|
449
430
|
var SESSION_MOUNT_DEDUPE_INTERVAL = STORE_UNMOUNT_DELAY;
|
|
450
431
|
function hydrateSessionAtom(sessionAtom, session) {
|
|
@@ -617,8 +598,7 @@ function getSessionAtom($fetch, options) {
|
|
|
617
598
|
broadcastSessionUpdate: (trigger) => broadcastSessionUpdate(trigger)
|
|
618
599
|
};
|
|
619
600
|
}
|
|
620
|
-
|
|
621
|
-
//#region ../node_modules/.bun/defu@6.1.7/node_modules/defu/dist/defu.mjs
|
|
601
|
+
// ../node_modules/.bun/defu@6.1.7/node_modules/defu/dist/defu.mjs
|
|
622
602
|
function isPlainObject(value) {
|
|
623
603
|
if (value === null || typeof value !== "object") return false;
|
|
624
604
|
const prototype = Object.getPrototypeOf(value);
|
|
@@ -645,8 +625,7 @@ function createDefu(merger) {
|
|
|
645
625
|
return (...arguments_) => arguments_.reduce((p, c) => _defu(p, c, "", merger), {});
|
|
646
626
|
}
|
|
647
627
|
var defu = createDefu();
|
|
648
|
-
|
|
649
|
-
//#region ../node_modules/.bun/@better-fetch+fetch@1.3.2/node_modules/@better-fetch/fetch/dist/index.js
|
|
628
|
+
// ../node_modules/.bun/@better-fetch+fetch@1.3.3/node_modules/@better-fetch/fetch/dist/index.js
|
|
650
629
|
var BetterFetchError = class extends Error {
|
|
651
630
|
constructor(status, statusText, error) {
|
|
652
631
|
super(statusText || status.toString(), { cause: error });
|
|
@@ -749,6 +728,36 @@ function parseMethodModifier(path) {
|
|
|
749
728
|
path: separator === -1 ? path : path.slice(separator + 1)
|
|
750
729
|
};
|
|
751
730
|
}
|
|
731
|
+
/**
|
|
732
|
+
* Matches the scheme, `//` and host at the start of a URL that names its own
|
|
733
|
+
* host, such as `https://example.com` in `https://example.com/users`.
|
|
734
|
+
*
|
|
735
|
+
* @see https://www.rfc-editor.org/rfc/rfc3986#section-3
|
|
736
|
+
*/
|
|
737
|
+
var ORIGIN_RE = /^[a-z][a-z\d+.-]*:\/\/[^/?#]+/i;
|
|
738
|
+
/**
|
|
739
|
+
* Matches the slashes at the start of a path, such as `///` in `///users`.
|
|
740
|
+
*/
|
|
741
|
+
var LEADING_SLASHES_RE = /^\/+/;
|
|
742
|
+
/**
|
|
743
|
+
* Removes every slash at the end, so `"a//"` becomes `"a"`. A loop rather than
|
|
744
|
+
* a regex, as a pattern anchored at the end backtracks over a long run of
|
|
745
|
+
* slashes.
|
|
746
|
+
*/
|
|
747
|
+
function withoutTrailingSlashes(value) {
|
|
748
|
+
let end = value.length;
|
|
749
|
+
while (end > 0 && value[end - 1] === "/") end--;
|
|
750
|
+
return value.slice(0, end);
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Splits at the first occurrence of the separator, so a separator inside the
|
|
754
|
+
* remainder is kept. `"a?b?c"` splits into `"a"` and `"b?c"`.
|
|
755
|
+
*/
|
|
756
|
+
function splitOnce(value, separator) {
|
|
757
|
+
const index = value.indexOf(separator);
|
|
758
|
+
if (index === -1) return [value, void 0];
|
|
759
|
+
return [value.slice(0, index), value.slice(index + 1)];
|
|
760
|
+
}
|
|
752
761
|
var isReservedPathSegment = (value) => value === "." || value === "..";
|
|
753
762
|
var encodeLiteralPathSegment = (segment) => segment.split(":").map((part) => encodeURIComponent(part)).join(":");
|
|
754
763
|
function resolvePathSegment(segment, pathParams) {
|
|
@@ -757,20 +766,25 @@ function resolvePathSegment(segment, pathParams) {
|
|
|
757
766
|
if (isReservedPathSegment(pathParam)) throw new TypeError("Path parameters cannot be reserved path segments");
|
|
758
767
|
return encodeURIComponent(pathParam);
|
|
759
768
|
}
|
|
769
|
+
function getPathParams(path, params) {
|
|
770
|
+
const pathParams = /* @__PURE__ */ new Map();
|
|
771
|
+
if (params) if (Array.isArray(params)) {
|
|
772
|
+
const paramPaths = path.split("/").filter((p) => p.startsWith(":"));
|
|
773
|
+
for (const [index, key] of paramPaths.entries()) {
|
|
774
|
+
const value = params[index];
|
|
775
|
+
pathParams.set(key, String(value));
|
|
776
|
+
}
|
|
777
|
+
} else for (const [key, value] of Object.entries(params)) pathParams.set(`:${key}`, String(value));
|
|
778
|
+
return pathParams;
|
|
779
|
+
}
|
|
760
780
|
/**
|
|
761
|
-
*
|
|
781
|
+
* Replaces `:name` segments with their encoded params.
|
|
762
782
|
*/
|
|
763
|
-
function
|
|
764
|
-
const
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
};
|
|
769
|
-
let basePath = url.startsWith("http") ? url.split("/").slice(0, 3).join("/") : baseURL || "";
|
|
770
|
-
const { path: requestPath } = parseMethodModifier(url);
|
|
771
|
-
if (requestPath !== url) url = `/${requestPath}`;
|
|
772
|
-
if (!basePath.endsWith("/")) basePath += "/";
|
|
773
|
-
let [path, urlQuery] = url.replace(basePath, "").split("?");
|
|
783
|
+
function fillPath(path, params) {
|
|
784
|
+
const pathParams = getPathParams(path, params);
|
|
785
|
+
return path.split("/").map((segment) => resolvePathSegment(segment, pathParams)).join("/");
|
|
786
|
+
}
|
|
787
|
+
function serializeQuery(urlQuery, query) {
|
|
774
788
|
const queryParams = new URLSearchParams(urlQuery);
|
|
775
789
|
for (const [key, value] of Object.entries(query || {})) {
|
|
776
790
|
if (value == null) continue;
|
|
@@ -782,20 +796,43 @@ function getURL$1(url, option) {
|
|
|
782
796
|
} else serializedValue = JSON.stringify(value);
|
|
783
797
|
queryParams.set(key, serializedValue);
|
|
784
798
|
}
|
|
785
|
-
const
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
+
const queryParamString = queryParams.toString();
|
|
800
|
+
return queryParamString.length > 0 ? `?${queryParamString}`.replace(/\+/g, "%20") : "";
|
|
801
|
+
}
|
|
802
|
+
function withoutBase(input, baseURL) {
|
|
803
|
+
if (!baseURL) return input;
|
|
804
|
+
const basePath = `${withoutTrailingSlashes(baseURL)}/`;
|
|
805
|
+
return input.startsWith(basePath) ? input.slice(basePath.length) : input;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Appends a path and query to a base as strings, with exactly one slash at the
|
|
809
|
+
* boundary. The path never decides the scheme or host. The base's own query
|
|
810
|
+
* comes first, and its fragment is dropped as it belongs to the base document.
|
|
811
|
+
*/
|
|
812
|
+
function joinURL(base, path, urlQuery, query) {
|
|
813
|
+
const [baseWithoutHash] = splitOnce(base, "#");
|
|
814
|
+
const [basePath, baseQuery = ""] = splitOnce(baseWithoutHash, "?");
|
|
815
|
+
const relativePath = path.replace(LEADING_SLASHES_RE, "");
|
|
816
|
+
const search = serializeQuery(`${baseQuery}&${urlQuery !== null && urlQuery !== void 0 ? urlQuery : ""}`, query);
|
|
817
|
+
const href = `${withoutTrailingSlashes(basePath)}/${relativePath}${search}`;
|
|
818
|
+
return ORIGIN_RE.test(href) ? new URL(href) : href;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Normalize URL
|
|
822
|
+
*/
|
|
823
|
+
function getURL$1(url, option) {
|
|
824
|
+
var _input$match, _ref;
|
|
825
|
+
const { baseURL, params, query } = option || {
|
|
826
|
+
query: {},
|
|
827
|
+
params: {},
|
|
828
|
+
baseURL: ""
|
|
829
|
+
};
|
|
830
|
+
const { path: requestPath } = parseMethodModifier(url);
|
|
831
|
+
const input = requestPath === url ? url : `/${requestPath}`;
|
|
832
|
+
const origin = (_input$match = input.match(ORIGIN_RE)) === null || _input$match === void 0 ? void 0 : _input$match[0];
|
|
833
|
+
const [path, urlQuery] = splitOnce(origin ? input.slice(origin.length) : withoutBase(input, baseURL), "?");
|
|
834
|
+
const filledPath = fillPath(path, params);
|
|
835
|
+
return joinURL((_ref = origin !== null && origin !== void 0 ? origin : baseURL) !== null && _ref !== void 0 ? _ref : "", filledPath, urlQuery, query);
|
|
799
836
|
}
|
|
800
837
|
var getAuthHeader = async (options) => {
|
|
801
838
|
const headers = {};
|
|
@@ -1194,8 +1231,7 @@ var createFetch = (config) => {
|
|
|
1194
1231
|
}
|
|
1195
1232
|
return $fetch;
|
|
1196
1233
|
};
|
|
1197
|
-
|
|
1198
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/config.mjs
|
|
1234
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/config.mjs
|
|
1199
1235
|
var resolvePublicAuthUrl = (basePath) => {
|
|
1200
1236
|
if (typeof process === "undefined") return void 0;
|
|
1201
1237
|
const path = basePath ?? "/api/auth";
|
|
@@ -1299,13 +1335,11 @@ var getClientConfig = (options, loadEnv) => {
|
|
|
1299
1335
|
$store
|
|
1300
1336
|
};
|
|
1301
1337
|
};
|
|
1302
|
-
|
|
1303
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
1338
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
1304
1339
|
function isAtom(value) {
|
|
1305
1340
|
return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
|
|
1306
1341
|
}
|
|
1307
|
-
|
|
1308
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/proxy.mjs
|
|
1342
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/proxy.mjs
|
|
1309
1343
|
function getMethod(path, knownPathMethods, args) {
|
|
1310
1344
|
const method = knownPathMethods[path];
|
|
1311
1345
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -1379,8 +1413,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
|
|
|
1379
1413
|
}
|
|
1380
1414
|
return createProxy();
|
|
1381
1415
|
}
|
|
1382
|
-
|
|
1383
|
-
//#region ../node_modules/.bun/better-auth@1.7.7+7ee5f890295c53f0/node_modules/better-auth/dist/client/vanilla.mjs
|
|
1416
|
+
// ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/vanilla.mjs
|
|
1384
1417
|
function createAuthClient(options) {
|
|
1385
1418
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, hydrateSession, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
1386
1419
|
const resolvedHooks = {};
|
|
@@ -1393,9 +1426,7 @@ function createAuthClient(options) {
|
|
|
1393
1426
|
$store
|
|
1394
1427
|
}, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
|
|
1395
1428
|
}
|
|
1396
|
-
|
|
1397
|
-
//#region src/lib/auth-client.ts
|
|
1429
|
+
// src/lib/auth-client.ts
|
|
1398
1430
|
var authClient = createAuthClient({ baseURL: typeof window !== "undefined" ? window.location.origin : "" });
|
|
1399
1431
|
var { signIn, signUp, signOut, getSession } = authClient;
|
|
1400
|
-
//#endregion
|
|
1401
1432
|
export { getSession as n, signOut as r, authClient as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { t as Icon } from "./Icon-CrIRbT5O.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
|
|
3
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/camera.svelte
|
|
4
4
|
function Camera($$renderer, $$props) {
|
|
5
5
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
6
|
/**
|
|
@@ -80,5 +80,4 @@ function Camera($$renderer, $$props) {
|
|
|
80
80
|
}
|
|
81
81
|
]));
|
|
82
82
|
}
|
|
83
|
-
//#endregion
|
|
84
83
|
export { Camera as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as apiFetch } from "./client-
|
|
1
|
+
import { n as apiFetch } from "./client-B2AniXwV.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
3
|
+
// src/lib/api/categories.ts
|
|
4
4
|
var createCategoryInputSchema = z.object({
|
|
5
5
|
name: z.string().trim().min(1, "Name is required").max(255, "Name must be 255 characters or less"),
|
|
6
6
|
apiMode: z.enum([
|
|
@@ -69,5 +69,4 @@ function setFolderCategory(folderId, categoryId, fetcher) {
|
|
|
69
69
|
body: JSON.stringify({ categoryId })
|
|
70
70
|
}, fetcher);
|
|
71
71
|
}
|
|
72
|
-
//#endregion
|
|
73
72
|
export { setDocumentCategory as a, updateCategoryInputSchema as c, listCategories as i, createCategoryInputSchema as n, setFolderCategory as o, deleteCategory as r, updateCategory as s, createCategory as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getLocale } from "./runtime-
|
|
2
|
-
|
|
1
|
+
import { t as getLocale } from "./runtime-BX6-jTn_.js";
|
|
2
|
+
// src/lib/paraglide/messages/categories_create_error.js
|
|
3
3
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
4
|
/** @typedef {{}} Categories_Create_ErrorInputs */
|
|
5
5
|
var en_categories_create_error = () => {
|
|
@@ -18,8 +18,7 @@ var categories_create_error = ((inputs = {}, options = {}) => {
|
|
|
18
18
|
options.locale ?? getLocale();
|
|
19
19
|
return en_categories_create_error(inputs);
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
//#region src/lib/paraglide/messages/categories_create_title.js
|
|
21
|
+
// src/lib/paraglide/messages/categories_create_title.js
|
|
23
22
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
24
23
|
/** @typedef {{}} Categories_Create_TitleInputs */
|
|
25
24
|
var en_categories_create_title = () => {
|
|
@@ -38,8 +37,7 @@ var categories_create_title = ((inputs = {}, options = {}) => {
|
|
|
38
37
|
options.locale ?? getLocale();
|
|
39
38
|
return en_categories_create_title(inputs);
|
|
40
39
|
});
|
|
41
|
-
|
|
42
|
-
//#region src/lib/paraglide/messages/categories_delete_description.js
|
|
40
|
+
// src/lib/paraglide/messages/categories_delete_description.js
|
|
43
41
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
44
42
|
/** @typedef {{}} Categories_Delete_DescriptionInputs */
|
|
45
43
|
var en_categories_delete_description = () => {
|
|
@@ -58,8 +56,7 @@ var categories_delete_description = ((inputs = {}, options = {}) => {
|
|
|
58
56
|
options.locale ?? getLocale();
|
|
59
57
|
return en_categories_delete_description(inputs);
|
|
60
58
|
});
|
|
61
|
-
|
|
62
|
-
//#region src/lib/paraglide/messages/categories_delete_error.js
|
|
59
|
+
// src/lib/paraglide/messages/categories_delete_error.js
|
|
63
60
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
64
61
|
/** @typedef {{}} Categories_Delete_ErrorInputs */
|
|
65
62
|
var en_categories_delete_error = () => {
|
|
@@ -78,8 +75,7 @@ var categories_delete_error = ((inputs = {}, options = {}) => {
|
|
|
78
75
|
options.locale ?? getLocale();
|
|
79
76
|
return en_categories_delete_error(inputs);
|
|
80
77
|
});
|
|
81
|
-
|
|
82
|
-
//#region src/lib/paraglide/messages/categories_delete_success.js
|
|
78
|
+
// src/lib/paraglide/messages/categories_delete_success.js
|
|
83
79
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
84
80
|
/** @typedef {{}} Categories_Delete_SuccessInputs */
|
|
85
81
|
var en_categories_delete_success = () => {
|
|
@@ -98,8 +94,7 @@ var categories_delete_success = ((inputs = {}, options = {}) => {
|
|
|
98
94
|
options.locale ?? getLocale();
|
|
99
95
|
return en_categories_delete_success(inputs);
|
|
100
96
|
});
|
|
101
|
-
|
|
102
|
-
//#region src/lib/paraglide/messages/categories_delete_success_description.js
|
|
97
|
+
// src/lib/paraglide/messages/categories_delete_success_description.js
|
|
103
98
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
104
99
|
/** @typedef {{}} Categories_Delete_Success_DescriptionInputs */
|
|
105
100
|
var en_categories_delete_success_description = () => {
|
|
@@ -118,8 +113,7 @@ var categories_delete_success_description = ((inputs = {}, options = {}) => {
|
|
|
118
113
|
options.locale ?? getLocale();
|
|
119
114
|
return en_categories_delete_success_description(inputs);
|
|
120
115
|
});
|
|
121
|
-
|
|
122
|
-
//#region src/lib/paraglide/messages/categories_delete_title.js
|
|
116
|
+
// src/lib/paraglide/messages/categories_delete_title.js
|
|
123
117
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
124
118
|
/** @typedef {{}} Categories_Delete_TitleInputs */
|
|
125
119
|
var en_categories_delete_title = () => {
|
|
@@ -138,8 +132,7 @@ var categories_delete_title = ((inputs = {}, options = {}) => {
|
|
|
138
132
|
options.locale ?? getLocale();
|
|
139
133
|
return en_categories_delete_title(inputs);
|
|
140
134
|
});
|
|
141
|
-
|
|
142
|
-
//#region src/lib/paraglide/messages/categories_edit_title.js
|
|
135
|
+
// src/lib/paraglide/messages/categories_edit_title.js
|
|
143
136
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
144
137
|
/** @typedef {{}} Categories_Edit_TitleInputs */
|
|
145
138
|
var en_categories_edit_title = () => {
|
|
@@ -158,8 +151,7 @@ var categories_edit_title = ((inputs = {}, options = {}) => {
|
|
|
158
151
|
options.locale ?? getLocale();
|
|
159
152
|
return en_categories_edit_title(inputs);
|
|
160
153
|
});
|
|
161
|
-
|
|
162
|
-
//#region src/lib/paraglide/messages/categories_name_placeholder.js
|
|
154
|
+
// src/lib/paraglide/messages/categories_name_placeholder.js
|
|
163
155
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
164
156
|
/** @typedef {{}} Categories_Name_PlaceholderInputs */
|
|
165
157
|
var en_categories_name_placeholder = () => {
|
|
@@ -178,8 +170,7 @@ var categories_name_placeholder = ((inputs = {}, options = {}) => {
|
|
|
178
170
|
options.locale ?? getLocale();
|
|
179
171
|
return en_categories_name_placeholder(inputs);
|
|
180
172
|
});
|
|
181
|
-
|
|
182
|
-
//#region src/lib/paraglide/messages/categories_update_error.js
|
|
173
|
+
// src/lib/paraglide/messages/categories_update_error.js
|
|
183
174
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
184
175
|
/** @typedef {{}} Categories_Update_ErrorInputs */
|
|
185
176
|
var en_categories_update_error = () => {
|
|
@@ -198,5 +189,4 @@ var categories_update_error = ((inputs = {}, options = {}) => {
|
|
|
198
189
|
options.locale ?? getLocale();
|
|
199
190
|
return en_categories_update_error(inputs);
|
|
200
191
|
});
|
|
201
|
-
//#endregion
|
|
202
192
|
export { categories_delete_success_description as a, categories_delete_description as c, categories_delete_title as i, categories_create_title as l, categories_name_placeholder as n, categories_delete_success as o, categories_edit_title as r, categories_delete_error as s, categories_update_error as t, categories_create_error as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { t as Icon } from "./Icon-CrIRbT5O.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
|
|
3
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-down.svelte
|
|
4
4
|
function Chevron_down($$renderer, $$props) {
|
|
5
5
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
6
|
/**
|
|
@@ -76,5 +76,4 @@ function Chevron_down($$renderer, $$props) {
|
|
|
76
76
|
}
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
|
-
//#endregion
|
|
80
79
|
export { Chevron_down as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { t as Icon } from "./Icon-CrIRbT5O.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
|
|
3
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-right.svelte
|
|
4
4
|
function Chevron_right($$renderer, $$props) {
|
|
5
5
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
6
|
/**
|
|
@@ -76,5 +76,4 @@ function Chevron_right($$renderer, $$props) {
|
|
|
76
76
|
}
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
|
-
//#endregion
|
|
80
79
|
export { Chevron_right as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { t as Icon } from "./Icon-CrIRbT5O.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
|
|
3
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/circle-check.svelte
|
|
4
4
|
function Circle_check($$renderer, $$props) {
|
|
5
5
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
6
|
/**
|
|
@@ -80,5 +80,4 @@ function Circle_check($$renderer, $$props) {
|
|
|
80
80
|
}
|
|
81
81
|
]));
|
|
82
82
|
}
|
|
83
|
-
//#endregion
|
|
84
83
|
export { Circle_check as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/lib/api/client.ts
|
|
2
2
|
var ApiError = class extends Error {
|
|
3
3
|
status;
|
|
4
4
|
constructor(message, status) {
|
|
@@ -127,5 +127,4 @@ var Retry429Error = class extends Error {
|
|
|
127
127
|
this.name = "Retry429Error";
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
|
-
//#endregion
|
|
131
130
|
export { apiFetch as n, ApiError as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/lib/utils/clipboard.ts
|
|
2
2
|
/**
|
|
3
3
|
* Copy `text` to the system clipboard via the async Clipboard API.
|
|
4
4
|
*
|
|
@@ -26,5 +26,4 @@ async function copyToClipboard(text) {
|
|
|
26
26
|
return false;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
29
|
export { copyToClipboard as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { t as Icon } from "./Icon-CrIRbT5O.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
|
|
3
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/clock.svelte
|
|
4
4
|
function Clock($$renderer, $$props) {
|
|
5
5
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
6
|
/**
|
|
@@ -80,5 +80,4 @@ function Clock($$renderer, $$props) {
|
|
|
80
80
|
}
|
|
81
81
|
]));
|
|
82
82
|
}
|
|
83
|
-
//#endregion
|
|
84
83
|
export { Clock as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext } from "svelte";
|
|
2
|
-
|
|
2
|
+
// src/lib/extensions/context.ts
|
|
3
3
|
/**
|
|
4
4
|
* Create a fresh manifest for one app/request.
|
|
5
5
|
*
|
|
@@ -44,5 +44,4 @@ function provideFrontendExtensions(initial = {}) {
|
|
|
44
44
|
setFrontendExtensions(extensions);
|
|
45
45
|
return extensions;
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { provideFrontendExtensions as n, getFrontendExtensions as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { t as Icon } from "./Icon-CrIRbT5O.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
|
|
3
|
+
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/copy.svelte
|
|
4
4
|
function Copy($$renderer, $$props) {
|
|
5
5
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
6
|
/**
|
|
@@ -83,5 +83,4 @@ function Copy($$renderer, $$props) {
|
|
|
83
83
|
}
|
|
84
84
|
]));
|
|
85
85
|
}
|
|
86
|
-
//#endregion
|
|
87
86
|
export { Copy as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as offlineDbName } from "./identity-
|
|
1
|
+
import { i as offlineDbName } from "./identity-DTz1SQwC.js";
|
|
2
2
|
import Dexie from "dexie";
|
|
3
|
-
|
|
3
|
+
// src/lib/db/index.ts
|
|
4
4
|
/**
|
|
5
5
|
* Dexie-backed offline database. One instance per offline identity; the
|
|
6
6
|
* instance is scoped by `offlineDbName(identity)`.
|
|
@@ -61,5 +61,4 @@ async function deleteOfflineDB(identity) {
|
|
|
61
61
|
}
|
|
62
62
|
await Dexie.delete(name);
|
|
63
63
|
}
|
|
64
|
-
//#endregion
|
|
65
64
|
export { getOfflineDB as n, deleteOfflineDB as t };
|