@hiai-gg/docsmint 2.2.4 → 2.2.5
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 +10 -8
- package/dist/backend/index.js +59962 -40726
- package/dist/frontend/CategoryDialog-CtBDBrmR.js +603 -0
- package/dist/frontend/ConfirmDialog-B7rUgX7M.js +219 -0
- package/dist/frontend/CreateSnapshotDialog-bUKdc0Zb.js +219 -0
- package/dist/frontend/DatePicker-CKTDDpVx.js +291 -0
- package/dist/frontend/DeleteDialog-D28HGxN7.js +175 -0
- package/dist/frontend/FolderNode-CVd22MJS.js +291 -0
- package/dist/frontend/FolderTreeSelector-DObSptCD.js +102 -0
- package/dist/frontend/HiAiEditor--V0-gKwv.js +3266 -0
- package/dist/frontend/HiaiDocsExtensionProvider-B1bCAtpa.js +13 -0
- package/dist/frontend/{Icon-CiHcxcpv.js → Icon-DNapb_KY.js} +3 -2
- package/dist/frontend/SettingsDialog-CN-PrNpM.js +979 -0
- package/dist/frontend/ShareDialog-UO_6vvoT.js +272 -0
- package/dist/frontend/Sidebar-CAxrqTAQ.js +2169 -0
- package/dist/frontend/TagCreateDialog-BdWu4bPX.js +268 -0
- package/dist/frontend/{action_cancel-BdsWzQKU.js → action_cancel-DxbRD-bG.js} +1 -1
- package/dist/frontend/{action_close-CVhfLPRQ.js → action_close-Ct6lVumm.js} +1 -1
- package/dist/frontend/{action_create-ByaroO1_.js → action_create-DKOlnVyX.js} +1 -1
- package/dist/frontend/{action_delete-SRloglWY.js → action_delete-DRb7fBnB.js} +1 -1
- package/dist/frontend/{action_go_to-DO1bicF-.js → action_go_to-D0fF5t1d.js} +1 -1
- package/dist/frontend/{action_loading-iQ0KsN6i.js → action_loading-YGvDyzYG.js} +1 -1
- package/dist/frontend/{action_save-DeqrZQwV.js → action_save-BHYTeFmm.js} +1 -1
- package/dist/frontend/api/categories.js +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/api/tags.js +1 -1
- package/dist/frontend/app-shell.js +177 -176
- package/dist/frontend/{auth-client-Dx7d9Tzo.js → auth-client-DahfoSYo.js} +297 -277
- package/dist/frontend/{bundle-mjs-clTO1WW-.js → bundle-mjs-654jE5XN.js} +397 -300
- package/dist/frontend/{camera-DsdOPOcD.js → camera-C6JuKKhr.js} +9 -8
- package/dist/frontend/{categories-CusvHb5Y.js → categories-CUfKlgrs.js} +1 -1
- package/dist/frontend/{categories_update_error-Cn8DBBHv.js → categories_update_error-BrLD-j9s.js} +1 -1
- package/dist/frontend/check-B_e1XqT2.js +25 -0
- package/dist/frontend/chevron-down-BsnN2mp2.js +25 -0
- package/dist/frontend/circle-check-CJH5zxd9.js +29 -0
- package/dist/frontend/clock-CU0gCiiM.js +29 -0
- package/dist/frontend/collaboration.js +113 -113
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend/components/delete-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.js +5 -4
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/editor/document-title.js +3 -2
- package/dist/frontend/components/editor/docx-serializer.js +8359 -12358
- package/dist/frontend/components/editor/extensions.js +1 -1
- package/dist/frontend/components/editor/markdown-toggle.js +33 -32
- package/dist/frontend/components/editor/markdown.js +1 -1
- package/dist/frontend/components/folder-node.js +1 -1
- package/dist/frontend/components/folder-tree-selector.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +168 -167
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/components/tag-create-dialog.js +1 -1
- package/dist/frontend/components/version-history.js +252 -251
- package/dist/frontend/{copy-Bag46YaR.js → copy-DYNRCHgk.js} +9 -8
- package/dist/frontend/dashboard.js +1301 -1300
- package/dist/frontend/db-yN0Vve_2.js +4296 -0
- package/dist/frontend/{dialog-C0Bpok1d.js → dialog-Dqp04jso.js} +11 -10
- package/dist/frontend/dist-4xBCgXNT.js +40 -0
- package/dist/frontend/{dist-DjId3RKL.js → dist-BaAULhmK.js} +3 -9
- package/dist/frontend/dist-C1oIyJLI.js +302 -0
- package/dist/frontend/dndzone-CWg1kmdZ.js +1483 -0
- package/dist/frontend/{doc_title_label-BOuZzvqv.js → doc_title_label-BPlghiRM.js} +1 -1
- package/dist/frontend/{doc_title_placeholder-ZxpdWWEn.js → doc_title_placeholder-D-LfSoC5.js} +1 -1
- package/dist/frontend/dropdown-menu-HePwCxoQ.js +1429 -0
- package/dist/frontend/{editorExtensions-DbiFj4tn.js → editorExtensions-QKIFSqEG.js} +9 -9
- package/dist/frontend/{editor_markdown_placeholder-BztIY9Ci.js → editor_markdown_placeholder-BXRPm7JG.js} +1 -1
- package/dist/frontend/{ellipsis-vertical-Oymsv1R4.js → ellipsis-vertical-CR25MyeP.js} +9 -8
- package/dist/frontend/{error_dismiss-C651ZdWI.js → error_dismiss-Ckia7GQe.js} +1 -1
- package/dist/frontend/{error_generic-BlWqOE-a.js → error_generic-gyQMdET_.js} +1 -1
- package/dist/frontend/extension.js +1 -1
- package/dist/frontend/{folder-BpmB_sAy.js → folder-BpA690ie.js} +4 -3
- package/dist/frontend/{folders_rename-Cxbg5GIw.js → folders_rename-BHa_gSXw.js} +1 -1
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/i18n.js +29 -29
- package/dist/frontend/{identity-B7HeOzDJ.js → identity-ndFYB8Nt.js} +1 -1
- package/dist/frontend/{input-CbeB9220.js → input-Cv3qF4J3.js} +9 -8
- package/dist/frontend/label-DXjefKfF.js +30 -0
- package/dist/frontend/{lib-CITdCbKa.js → lib-DJthN0w9.js} +7108 -5196
- package/dist/frontend/loader-circle-CvWX1HHL.js +25 -0
- package/dist/frontend/{markdown-6E9TWC6V.js → markdown-CksQVQ6a.js} +2 -2
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/popper-layer-force-mount-DS--Cvfo.js +3493 -0
- package/dist/frontend/rolldown-runtime-DKYsOz5J.js +19 -0
- package/dist/frontend/{rotate-ccw-DAUX7np7.js → rotate-ccw-Box7QP5X.js} +9 -8
- package/dist/frontend/{runtime-CGUiMzK6.js → runtime-CJv8UGYl.js} +1 -4
- package/dist/frontend/{schemas-YXxhj5o8.js → schemas-BYbeR0Ky.js} +11 -11
- package/dist/frontend/{scroll_to_top_aria-lJc2RSx_.js → scroll_to_top_aria-CP7_oyCo.js} +1 -1
- package/dist/frontend/search.js +650 -649
- package/dist/frontend/{search_title-BETwQYJq.js → search_title-C2aOzN_J.js} +1 -1
- package/dist/frontend/select-value-DAMTi0zc.js +1473 -0
- package/dist/frontend/{settings-DyePuqjp.js → settings-DTsCVJEi.js} +1 -1
- package/dist/frontend/{share-context-C2xyVP9M.js → share-context-CtRMIIhL.js} +15 -14
- package/dist/frontend/{share_copied-BuAnmpbz.js → share_copied-BHb_9sOo.js} +1 -1
- package/dist/frontend/{share_toggle_password-LEYUeHWr.js → share_toggle_password-DjCMq4Eq.js} +1 -1
- package/dist/frontend/shared-document.js +49 -48
- package/dist/frontend/{sidebar_uncategorized-C5PGOflV.js → sidebar_uncategorized-BJSB_sc9.js} +1 -1
- package/dist/frontend/{sort_relevance-DpCVLby_.js → sort_relevance-CXuNTq6L.js} +1 -1
- package/dist/frontend/{tag-Wdfe0rKU.js → tag-BPOFgBQw.js} +4 -3
- package/dist/frontend/tag-store.svelte-DyqQNx7H.js +28 -0
- package/dist/frontend/{tags-DlDVothf.js → tags-DwilrkrM.js} +1 -1
- package/dist/frontend/{tags_load_error-BINNpPPV.js → tags_load_error-BOyuQEGc.js} +1 -1
- package/dist/frontend/{tags_new-Dw0Uy43-.js → tags_new-CGF3Hi1j.js} +1 -1
- package/dist/frontend/textarea-DDdgNvnf.js +23 -0
- package/dist/frontend/theme.js +1 -1
- package/dist/frontend/{theme.svelte-BiXvrqwh.js → theme.svelte-Dx01qWc3.js} +2 -2
- package/dist/frontend/{theme_system-YIfa_2Xt.js → theme_system-Bt9ItDgj.js} +1 -1
- package/dist/frontend/utils/dndzone.js +1 -1
- package/dist/frontend/{utils-CnAmIMwr.js → utils-BQMesoNf.js} +1 -1
- package/dist/frontend/utils-BavN35Bw.js +6 -0
- package/dist/frontend/utils.js +1 -1
- package/dist/frontend/{version_create_snapshot-D8xjbuCq.js → version_create_snapshot-BvoOuUeh.js} +1 -1
- package/dist/frontend/{version_restored_from-DYFFSuQj.js → version_restored_from-BIEEKFbx.js} +1 -1
- package/dist/frontend/{version_snapshot_label_placeholder-BhKq1NQ7.js → version_snapshot_label_placeholder-h9r2_0u3.js} +1 -1
- package/dist/frontend/{weekday_we-BxbzNVWR.js → weekday_we-DsuVW6rh.js} +1 -1
- package/dist/frontend/x-hIpDH7DU.js +25 -0
- package/dist/frontend/{yjs-BbwnvxgY.js → yjs--VgxqIlB.js} +607 -628
- package/dist/frontend-ssr/api/categories.js +1 -1
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/api/tags.js +1 -1
- package/dist/frontend-ssr/app-shell.js +11 -11
- package/dist/frontend-ssr/assets/{CategoryDialog-2CCX508O.js → CategoryDialog-DRItbO_9.js} +13 -13
- package/dist/frontend-ssr/assets/{ConfirmDialog-Cc6lcY1N.js → ConfirmDialog-B0NXRrel.js} +8 -8
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-BB8fXF9W.js → CreateSnapshotDialog-nj8PjuON.js} +7 -7
- package/dist/frontend-ssr/assets/{DatePicker-CfzKzipR.js → DatePicker-CdUKLPtP.js} +8 -8
- package/dist/frontend-ssr/assets/{DeleteDialog-DRU4UgOW.js → DeleteDialog-B83NoxAg.js} +3 -3
- package/dist/frontend-ssr/assets/{FolderNode-CyOrLJ2Y.js → FolderNode-CSeC3051.js} +10 -10
- package/dist/frontend-ssr/assets/{FolderTreeSelector-D0reTdFS.js → FolderTreeSelector-Dh-ViJPU.js} +4 -4
- package/dist/frontend-ssr/assets/{HiAiEditor-BQGlGd3z.js → HiAiEditor-DB2PjHm9.js} +41 -41
- package/dist/frontend-ssr/assets/{Icon-CrIRbT5O.js → Icon-CBEeswQ2.js} +4 -4
- package/dist/frontend-ssr/assets/{SettingsDialog-BpHY3IMb.js → SettingsDialog-kc3O9PXG.js} +21 -21
- package/dist/frontend-ssr/assets/{ShareDialog-CY40nWZJ.js → ShareDialog-Dmrj55QP.js} +4 -4
- package/dist/frontend-ssr/assets/{Sidebar-dTp4DyW4.js → Sidebar-CDQcIuyv.js} +45 -45
- package/dist/frontend-ssr/assets/{TagCreateDialog-C2tpdEuj.js → TagCreateDialog-CP-yYfpQ.js} +11 -11
- package/dist/frontend-ssr/assets/{action_cancel-CsBbxW0m.js → action_cancel-B8i5P3wt.js} +1 -1
- package/dist/frontend-ssr/assets/{action_close-lFKBqBwg.js → action_close-DPgIB-cY.js} +1 -1
- package/dist/frontend-ssr/assets/{action_create-BV4ZOcQW.js → action_create-DAlNPFeN.js} +1 -1
- package/dist/frontend-ssr/assets/{action_delete-CNmRhKQP.js → action_delete-C6lsQCtY.js} +1 -1
- package/dist/frontend-ssr/assets/{action_go_to-tN5I26xM.js → action_go_to-C6tegi-k.js} +1 -1
- package/dist/frontend-ssr/assets/{action_save-YCfMiKb4.js → action_save-BQCej1sh.js} +1 -1
- package/dist/frontend-ssr/assets/{auth-client-BnnnJDAb.js → auth-client-CwXGsJIQ.js} +44 -38
- package/dist/frontend-ssr/assets/{camera-OYNSMvMd.js → camera-kjjsHmQu.js} +2 -2
- package/dist/frontend-ssr/assets/{categories_update_error-Bfx5vtvt.js → categories_update_error-Kq8q_FJp.js} +1 -1
- package/dist/frontend-ssr/assets/{chevron-down-DB6YsSbQ.js → chevron-down-DPc-Owbl.js} +2 -2
- package/dist/frontend-ssr/assets/{chevron-right-DOt2uY6b.js → chevron-right-C-jY4mqk.js} +2 -2
- package/dist/frontend-ssr/assets/{circle-check-DQhTm9YR.js → circle-check-CnueRXrc.js} +2 -2
- package/dist/frontend-ssr/assets/{clock-B08dVWtf.js → clock-CoRtIDhT.js} +2 -2
- package/dist/frontend-ssr/assets/{copy-2jsznHar.js → copy-CDNZIGVg.js} +2 -2
- package/dist/frontend-ssr/assets/{db-BEKLU5Fc.js → db-NhMsSg1f.js} +1 -1
- package/dist/frontend-ssr/assets/{dialog-C6U-DqLr.js → dialog-B09MN2S-.js} +9 -9
- package/dist/frontend-ssr/assets/{dist-DqXTz_zE.js → dist-D4MAfF0i.js} +13 -13
- package/dist/frontend-ssr/assets/{dist-ip9bPdma.js → dist-cDG_u5EF.js} +8 -8
- package/dist/frontend-ssr/assets/{dndzone-C7KnICM0.js → dndzone-DyM8UtoT.js} +378 -216
- package/dist/frontend-ssr/assets/{doc_title_label-CE_l-Gum.js → doc_title_label-BqCuH3eY.js} +1 -1
- package/dist/frontend-ssr/assets/{doc_title_placeholder-7_i7PtG6.js → doc_title_placeholder-C3tGSpRB.js} +1 -1
- package/dist/frontend-ssr/assets/dropdown-menu-C9H45F9X.js +1721 -0
- package/dist/frontend-ssr/assets/{editor_markdown_placeholder-CAeLJjFT.js → editor_markdown_placeholder-Cxa5uq87.js} +1 -1
- package/dist/frontend-ssr/assets/{editor_toolbar_undo-CVCfQIS1.js → editor_toolbar_undo-D-gLz88j.js} +1 -1
- package/dist/frontend-ssr/assets/{ellipsis-vertical-IFHt2NM1.js → ellipsis-vertical-oBvMj3Jm.js} +2 -2
- package/dist/frontend-ssr/assets/{error_generic-BB80i0Vk.js → error_generic-BSoVZ_4p.js} +1 -1
- package/dist/frontend-ssr/assets/{folder-CXa1_bm5.js → folder-Ptjeaody.js} +2 -2
- package/dist/frontend-ssr/assets/{folders_rename-ydbfwQlj.js → folders_rename-DBtQcf2R.js} +1 -1
- package/dist/frontend-ssr/assets/{identity-DTz1SQwC.js → identity-CigCqYEA.js} +1 -1
- package/dist/frontend-ssr/assets/{input-Bxw9sFF0.js → input-Cc45dG_S.js} +2 -2
- package/dist/frontend-ssr/assets/{label-CMWedjs6.js → label-C1_J2397.js} +2 -2
- package/dist/frontend-ssr/assets/{loader-circle-zbKj9Qb-.js → loader-circle-CK3McH5n.js} +2 -2
- package/dist/frontend-ssr/assets/{markdown-BmIhDQp7.js → markdown-WQsa_gay.js} +1 -1
- package/dist/frontend-ssr/assets/{popper-layer-force-mount-CSHZsG2E.js → popper-layer-force-mount-CGKwdZaZ.js} +1448 -2402
- package/dist/frontend-ssr/assets/{rotate-ccw-B7SaTFWf.js → rotate-ccw-B1lCxJ5d.js} +2 -2
- package/dist/frontend-ssr/assets/{runtime-BX6-jTn_.js → runtime-CoxALrm1.js} +2 -28
- package/dist/frontend-ssr/assets/{scroll_to_top_aria-CAYSiGHO.js → scroll_to_top_aria-CmLwsPln.js} +1 -1
- package/dist/frontend-ssr/assets/{search_title-C7NVXXq3.js → search_title-CZIl0wkq.js} +1 -1
- package/dist/frontend-ssr/assets/{search_toggle_filters-Bq_YVD8s.js → search_toggle_filters-BG-CRM9G.js} +1 -1
- package/dist/frontend-ssr/assets/{select-value-TgslfiUB.js → select-value-BeUHHkLq.js} +157 -66
- package/dist/frontend-ssr/assets/{settings-B1MA_FjO.js → settings-BqyemuQv.js} +1 -1
- package/dist/frontend-ssr/assets/{share-context-RVh8AExX.js → share-context-BM1sUnlP.js} +15 -15
- package/dist/frontend-ssr/assets/{share_copied-CrwEwkb3.js → share_copied-BVGtm9Ud.js} +1 -1
- package/dist/frontend-ssr/assets/{share_toggle_password-Co56z0Ha.js → share_toggle_password-z0gwy0TG.js} +1 -1
- package/dist/frontend-ssr/assets/{sidebar_uncategorized-COWdmZ3d.js → sidebar_uncategorized-rpbsgLVr.js} +1 -1
- package/dist/frontend-ssr/assets/{tag-BGhtDKpP.js → tag-D_ZqINN3.js} +3 -3
- package/dist/frontend-ssr/assets/{tags_load_error-DW4FbHvr.js → tags_load_error-DvhlyMMY.js} +1 -1
- package/dist/frontend-ssr/assets/{tags_new-Dr3ByMPZ.js → tags_new-DStxzBII.js} +1 -1
- package/dist/frontend-ssr/assets/{textarea-Bz5Tz4rw.js → textarea-S9uzw6je.js} +2 -2
- package/dist/frontend-ssr/assets/{theme.svelte-CdHah46l.js → theme.svelte-CqAzqvik.js} +2 -2
- package/dist/frontend-ssr/assets/{theme_system-E97FASeq.js → theme_system-DjbsL0RQ.js} +1 -1
- package/dist/frontend-ssr/assets/{utils-DF6CmRDX.js → utils-DF93j6z-.js} +1 -1
- package/dist/frontend-ssr/assets/{version_create_snapshot-DeeYB7bb.js → version_create_snapshot-SwYsTZ56.js} +1 -1
- package/dist/frontend-ssr/assets/{version_restored_from-CTt2LM4A.js → version_restored_from-pYBnudye.js} +1 -1
- package/dist/frontend-ssr/assets/{version_snapshot_label_placeholder-BbGD9YuN.js → version_snapshot_label_placeholder-DtDnHip8.js} +1 -1
- package/dist/frontend-ssr/assets/{weekday_we-BzGQ-iFc.js → weekday_we-CV1TMROW.js} +1 -1
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend-ssr/components/delete-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-title.js +2 -2
- package/dist/frontend-ssr/components/editor/extensions.js +1 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +3 -3
- package/dist/frontend-ssr/components/editor/markdown.js +1 -1
- package/dist/frontend-ssr/components/folder-node.js +1 -1
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +10 -10
- package/dist/frontend-ssr/components/settings.js +1 -1
- package/dist/frontend-ssr/components/share-dialog.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
- package/dist/frontend-ssr/components/version-history.js +17 -17
- package/dist/frontend-ssr/dashboard.js +61 -158
- package/dist/frontend-ssr/extension.js +1 -1
- package/dist/frontend-ssr/i18n.js +31 -31
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/frontend-ssr/search.js +13 -13
- package/dist/frontend-ssr/shared-document.js +1 -1
- package/dist/frontend-ssr/theme.js +1 -1
- package/dist/frontend-ssr/utils/dndzone.js +1 -1
- package/dist/lifecycle-runtime.js +17768 -11203
- package/dist/mcp-cli.js +1 -1
- package/dist/mcp-server.js +1 -1
- package/package.json +13 -13
- package/packages/cli/src/index.ts +1 -1
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-CVJi5PJu.js +0 -602
- package/dist/frontend/ConfirmDialog-0JwB8mKN.js +0 -218
- package/dist/frontend/CreateSnapshotDialog-BLrtuYs5.js +0 -218
- package/dist/frontend/DatePicker-BwSb8TRv.js +0 -326
- package/dist/frontend/DeleteDialog-s7Dr6bXg.js +0 -174
- package/dist/frontend/FolderNode-Ds0LDfK3.js +0 -290
- package/dist/frontend/FolderTreeSelector-BR3lYmPU.js +0 -101
- package/dist/frontend/HiAiEditor-BHz46Iqd.js +0 -3078
- package/dist/frontend/HiaiDocsExtensionProvider-A2nGddUR.js +0 -12
- package/dist/frontend/SettingsDialog-BvS74JZu.js +0 -978
- package/dist/frontend/ShareDialog-Bo50h_Oe.js +0 -271
- package/dist/frontend/Sidebar-DerKtpWB.js +0 -2168
- package/dist/frontend/TagCreateDialog-DhKfsfv3.js +0 -267
- package/dist/frontend/check-DiMZRkKS.js +0 -24
- package/dist/frontend/chevron-down-CxFrMFDJ.js +0 -24
- package/dist/frontend/circle-check-B4F_qgPx.js +0 -28
- package/dist/frontend/clock-dcpueRk-.js +0 -28
- package/dist/frontend/db-B1ZV452J.js +0 -3792
- package/dist/frontend/dist-BlcV_BOY.js +0 -39
- package/dist/frontend/dist-Dl9qg10h.js +0 -301
- package/dist/frontend/dndzone-B9jA0yIS.js +0 -1372
- package/dist/frontend/dropdown-menu-B3nk2aM-.js +0 -482
- package/dist/frontend/label-CfBWf3gI.js +0 -29
- package/dist/frontend/loader-circle-skKwfRCB.js +0 -24
- package/dist/frontend/popper-layer-force-mount-BG0eyrCk.js +0 -4255
- package/dist/frontend/rolldown-runtime-CwxnZyOB.js +0 -22
- package/dist/frontend/select-value-BY5Hw6Rl.js +0 -1412
- package/dist/frontend/tag-store.svelte-C9VYWqLQ.js +0 -28
- package/dist/frontend/textarea-D6emvAwM.js +0 -22
- package/dist/frontend/utils-DH0uqK40.js +0 -6
- package/dist/frontend/x-CBUgPygC.js +0 -24
- package/dist/frontend-ssr/assets/dropdown-menu-BS5fcN9l.js +0 -446
- package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-D6cGL-9s.js → HiaiDocsExtensionProvider-BdfQP817.js} +1 -1
- package/dist/frontend-ssr/assets/{categories-bBPviKjl.js → categories-CMmudpEk.js} +1 -1
- package/dist/frontend-ssr/assets/{editorExtensions-2O7O2Nhv.js → editorExtensions-DOPTTKUS.js} +2 -2
- package/dist/frontend-ssr/assets/{tag-store.svelte-CUUgAaDD.js → tag-store.svelte-Djpf1W0n.js} +1 -1
- package/dist/frontend-ssr/assets/{tags-C7u-LBsl.js → tags-GQOEtqET.js} +1 -1
|
@@ -1,267 +0,0 @@
|
|
|
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 { t as c } from "./action_create-ByaroO1_.js";
|
|
4
|
-
import { t as l } from "./action_loading-iQ0KsN6i.js";
|
|
5
|
-
import { t as u } from "./action_save-DeqrZQwV.js";
|
|
6
|
-
import { t as d } from "./error_generic-BlWqOE-a.js";
|
|
7
|
-
import { n as f, r as p, t as m } from "./tags_new-Dw0Uy43-.js";
|
|
8
|
-
import { t as h } from "./input-CbeB9220.js";
|
|
9
|
-
import { t as g } from "./label-CfBWf3gI.js";
|
|
10
|
-
import { t as _ } from "./loader-circle-skKwfRCB.js";
|
|
11
|
-
import { c as v, l as y, n as b, r as x } from "./tags-DlDVothf.js";
|
|
12
|
-
import { a as S } from "./route-context-6OHiGtfb.js";
|
|
13
|
-
import { t as C } from "./utils-CnAmIMwr.js";
|
|
14
|
-
import "svelte/internal/disclose-version";
|
|
15
|
-
import * as w from "svelte/internal/client";
|
|
16
|
-
// src/lib/components/TagCreateDialog.svelte
|
|
17
|
-
var T = w.from_html("<!> <!>", 1), E = w.from_html("<p id=\"tag-name-error\" class=\"text-xs text-destructive\"> </p>"), D = w.from_html("<button type=\"button\"></button>"), O = w.from_html("<p class=\"text-xs text-destructive\" role=\"alert\"> </p>"), k = w.from_html("<!> ", 1), A = w.from_html("<!> <form class=\"space-y-4\"><div class=\"space-y-2\"><!> <!> <!></div> <div class=\"space-y-2\"><!> <div id=\"tag-color\" class=\"flex flex-wrap gap-2\"><!> <label title=\"Custom color\"><input type=\"color\" class=\"absolute inset-0 h-full w-full cursor-pointer opacity-0\" aria-label=\"Custom color\"/></label></div></div> <!></form> <!>", 1);
|
|
18
|
-
function j(j, M) {
|
|
19
|
-
w.push(M, !0);
|
|
20
|
-
let N = S(), P = [
|
|
21
|
-
"#ef4444",
|
|
22
|
-
"#f97316",
|
|
23
|
-
"#f59e0b",
|
|
24
|
-
"#eab308",
|
|
25
|
-
"#84cc16",
|
|
26
|
-
"#22c55e",
|
|
27
|
-
"#10b981",
|
|
28
|
-
"#06b6d4",
|
|
29
|
-
"#3b82f6",
|
|
30
|
-
"#8b5cf6",
|
|
31
|
-
"#ec4899"
|
|
32
|
-
], F = P[9], I = w.prop(M, "open", 15, !1), L = w.prop(M, "mode", 3, "create"), R = w.prop(M, "tag", 3, null), z = w.state(""), B = w.state(w.proxy(F)), V = w.state(null), H = w.state(null), U = w.state(!1), W = w.derived(() => L() === "edit"), G = w.derived(() => w.get(W) ? p() : m()), K = w.derived(() => w.get(U) ? l() : w.get(W) ? u() : c());
|
|
33
|
-
function q() {
|
|
34
|
-
w.set(z, ""), w.set(B, F, !0), w.set(V, null), w.set(H, null), w.set(U, !1);
|
|
35
|
-
}
|
|
36
|
-
function J(e) {
|
|
37
|
-
e ? (w.set(z, e.name, !0), w.set(B, e.color ?? F, !0), w.set(V, null), w.set(H, null), w.set(U, !1)) : q();
|
|
38
|
-
}
|
|
39
|
-
function Y() {
|
|
40
|
-
I(!1), q(), M.onClose?.();
|
|
41
|
-
}
|
|
42
|
-
function X(e) {
|
|
43
|
-
e ? J(R()) : (q(), I(!1), M.onClose?.());
|
|
44
|
-
}
|
|
45
|
-
function Z(e) {
|
|
46
|
-
e.preventDefault(), w.set(V, null), w.set(H, null);
|
|
47
|
-
let t = w.get(z).trim();
|
|
48
|
-
if (t.length === 0) w.set(V, f(), !0);
|
|
49
|
-
else if (w.get(W) && R()) {
|
|
50
|
-
let e = y.safeParse({
|
|
51
|
-
name: t,
|
|
52
|
-
color: w.get(B)
|
|
53
|
-
});
|
|
54
|
-
if (!e.success) {
|
|
55
|
-
let t = e.error.issues[0];
|
|
56
|
-
w.set(V, t?.message ?? d(), !0);
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
$(R().id, e.data);
|
|
60
|
-
} else {
|
|
61
|
-
let e = x.safeParse({
|
|
62
|
-
name: t,
|
|
63
|
-
color: w.get(B)
|
|
64
|
-
});
|
|
65
|
-
if (!e.success) {
|
|
66
|
-
let t = e.error.issues[0];
|
|
67
|
-
w.set(V, t?.message ?? d(), !0);
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
Q(e.data.name, w.get(B));
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
async function Q(e, t) {
|
|
74
|
-
w.set(U, !0);
|
|
75
|
-
try {
|
|
76
|
-
let n = await b(e, t, N.fetch);
|
|
77
|
-
M.onCreated?.(n), Y();
|
|
78
|
-
} catch (e) {
|
|
79
|
-
w.set(H, e instanceof Error ? e.message : d(), !0), console.error("TagCreateDialog: createTag failed", e);
|
|
80
|
-
} finally {
|
|
81
|
-
w.set(U, !1);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
async function $(e, t) {
|
|
85
|
-
w.set(U, !0);
|
|
86
|
-
try {
|
|
87
|
-
let n = await v(e, t, N.fetch);
|
|
88
|
-
M.onUpdated?.(n), Y();
|
|
89
|
-
} catch (e) {
|
|
90
|
-
w.set(H, e instanceof Error ? e.message : d(), !0), console.error("TagCreateDialog: updateTag failed", e);
|
|
91
|
-
} finally {
|
|
92
|
-
w.set(U, !1);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
function ee(e) {
|
|
96
|
-
e.key === "Enter" && !w.get(U) && (e.preventDefault(), Z(new Event("submit")));
|
|
97
|
-
}
|
|
98
|
-
w.user_effect(() => {
|
|
99
|
-
I() && L() === "edit" && R() && (w.set(z, R().name, !0), w.set(B, R().color ?? F, !0), w.set(V, null), w.set(H, null));
|
|
100
|
-
}), r(j, {
|
|
101
|
-
onOpenChange: X,
|
|
102
|
-
get open() {
|
|
103
|
-
return I();
|
|
104
|
-
},
|
|
105
|
-
set open(e) {
|
|
106
|
-
I(e);
|
|
107
|
-
},
|
|
108
|
-
children: (r, c) => {
|
|
109
|
-
e(r, {
|
|
110
|
-
children: (e, r) => {
|
|
111
|
-
var c = A(), l = w.first_child(c);
|
|
112
|
-
n(l, {
|
|
113
|
-
children: (e, n) => {
|
|
114
|
-
var r = T(), i = w.first_child(r);
|
|
115
|
-
o(i, {
|
|
116
|
-
children: (e, t) => {
|
|
117
|
-
w.next();
|
|
118
|
-
var n = w.text();
|
|
119
|
-
w.template_effect(() => w.set_text(n, w.get(G))), w.append(e, n);
|
|
120
|
-
},
|
|
121
|
-
$$slots: { default: !0 }
|
|
122
|
-
});
|
|
123
|
-
var a = w.sibling(i, 2);
|
|
124
|
-
t(a, {
|
|
125
|
-
children: (e, t) => {
|
|
126
|
-
w.next();
|
|
127
|
-
var n = w.text();
|
|
128
|
-
w.template_effect((e) => w.set_text(n, e), [() => f()]), w.append(e, n);
|
|
129
|
-
},
|
|
130
|
-
$$slots: { default: !0 }
|
|
131
|
-
}), w.append(e, r);
|
|
132
|
-
},
|
|
133
|
-
$$slots: { default: !0 }
|
|
134
|
-
});
|
|
135
|
-
var u = w.sibling(l, 2), d = w.child(u), p = w.child(d);
|
|
136
|
-
g(p, {
|
|
137
|
-
for: "tag-name",
|
|
138
|
-
class: "sr-only",
|
|
139
|
-
children: (e, t) => {
|
|
140
|
-
w.next();
|
|
141
|
-
var n = w.text();
|
|
142
|
-
w.template_effect((e) => w.set_text(n, e), [() => f()]), w.append(e, n);
|
|
143
|
-
},
|
|
144
|
-
$$slots: { default: !0 }
|
|
145
|
-
});
|
|
146
|
-
var m = w.sibling(p, 2);
|
|
147
|
-
{
|
|
148
|
-
let e = w.derived(() => f()), t = w.derived(() => w.get(V) ? "true" : void 0), n = w.derived(() => w.get(V) ? "tag-name-error" : void 0);
|
|
149
|
-
h(m, {
|
|
150
|
-
id: "tag-name",
|
|
151
|
-
name: "name",
|
|
152
|
-
type: "text",
|
|
153
|
-
get placeholder() {
|
|
154
|
-
return w.get(e);
|
|
155
|
-
},
|
|
156
|
-
maxlength: 50,
|
|
157
|
-
required: !0,
|
|
158
|
-
get disabled() {
|
|
159
|
-
return w.get(U);
|
|
160
|
-
},
|
|
161
|
-
get "aria-invalid"() {
|
|
162
|
-
return w.get(t);
|
|
163
|
-
},
|
|
164
|
-
get "aria-describedby"() {
|
|
165
|
-
return w.get(n);
|
|
166
|
-
},
|
|
167
|
-
autocomplete: "off",
|
|
168
|
-
onkeydown: ee,
|
|
169
|
-
get value() {
|
|
170
|
-
return w.get(z);
|
|
171
|
-
},
|
|
172
|
-
set value(e) {
|
|
173
|
-
w.set(z, e, !0);
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
var v = w.sibling(m, 2), y = (e) => {
|
|
178
|
-
var t = E(), n = w.only_child(t, !0);
|
|
179
|
-
w.template_effect(() => w.set_text(n, w.get(V))), w.append(e, t);
|
|
180
|
-
};
|
|
181
|
-
w.if(v, (e) => {
|
|
182
|
-
w.get(V) && e(y);
|
|
183
|
-
}), w.reset(d);
|
|
184
|
-
var b = w.sibling(d, 2), x = w.child(b);
|
|
185
|
-
g(x, {
|
|
186
|
-
for: "tag-color",
|
|
187
|
-
class: "text-xs text-muted-foreground",
|
|
188
|
-
children: (e, t) => {
|
|
189
|
-
w.next();
|
|
190
|
-
var n = w.text("Color");
|
|
191
|
-
w.append(e, n);
|
|
192
|
-
},
|
|
193
|
-
$$slots: { default: !0 }
|
|
194
|
-
});
|
|
195
|
-
var S = w.sibling(x, 2), j = w.child(S);
|
|
196
|
-
w.each(j, 16, () => P, (e) => e, (e, t) => {
|
|
197
|
-
let n = w.derived(() => w.get(B) === t);
|
|
198
|
-
var r = D();
|
|
199
|
-
w.template_effect((e) => {
|
|
200
|
-
w.set_class(r, 1, e), w.set_style(r, `background-color: ${t ?? ""};`), w.set_attribute(r, "aria-label", `Color ${t ?? ""}`), w.set_attribute(r, "aria-pressed", w.get(n)), r.disabled = w.get(U);
|
|
201
|
-
}, [() => w.clsx(C("size-6 shrink-0 rounded-full border-2 transition-all", w.get(n) ? "scale-110 border-foreground" : "border-transparent hover:scale-105"))]), w.delegated("click", r, () => w.set(B, t, !0)), w.append(e, r);
|
|
202
|
-
});
|
|
203
|
-
var M = w.sibling(j, 2), N = w.child(M);
|
|
204
|
-
w.remove_input_defaults(N), w.reset(M), w.reset(S), w.reset(b);
|
|
205
|
-
var F = w.sibling(b, 2), I = (e) => {
|
|
206
|
-
var t = O(), n = w.only_child(t, !0);
|
|
207
|
-
w.template_effect(() => w.set_text(n, w.get(H))), w.append(e, t);
|
|
208
|
-
};
|
|
209
|
-
w.if(F, (e) => {
|
|
210
|
-
w.get(H) && e(I);
|
|
211
|
-
}), w.reset(u);
|
|
212
|
-
var L = w.sibling(u, 2);
|
|
213
|
-
i(L, {
|
|
214
|
-
class: "gap-2 max-sm:flex-col max-sm:items-stretch",
|
|
215
|
-
children: (e, t) => {
|
|
216
|
-
var n = T(), r = w.first_child(n);
|
|
217
|
-
a(r, {
|
|
218
|
-
variant: "outline",
|
|
219
|
-
type: "button",
|
|
220
|
-
onclick: Y,
|
|
221
|
-
get disabled() {
|
|
222
|
-
return w.get(U);
|
|
223
|
-
},
|
|
224
|
-
children: (e, t) => {
|
|
225
|
-
w.next();
|
|
226
|
-
var n = w.text();
|
|
227
|
-
w.template_effect((e) => w.set_text(n, e), [() => s()]), w.append(e, n);
|
|
228
|
-
},
|
|
229
|
-
$$slots: { default: !0 }
|
|
230
|
-
});
|
|
231
|
-
var i = w.sibling(r, 2);
|
|
232
|
-
{
|
|
233
|
-
let e = w.derived(() => w.get(U) || w.get(z).trim().length === 0);
|
|
234
|
-
a(i, {
|
|
235
|
-
type: "submit",
|
|
236
|
-
onclick: Z,
|
|
237
|
-
get disabled() {
|
|
238
|
-
return w.get(e);
|
|
239
|
-
},
|
|
240
|
-
children: (e, t) => {
|
|
241
|
-
var n = k(), r = w.first_child(n), i = (e) => {
|
|
242
|
-
_(e, { class: "mr-1 size-4 animate-spin" });
|
|
243
|
-
};
|
|
244
|
-
w.if(r, (e) => {
|
|
245
|
-
w.get(U) && e(i);
|
|
246
|
-
});
|
|
247
|
-
var a = w.sibling(r);
|
|
248
|
-
w.template_effect(() => w.set_text(a, ` ${w.get(K) ?? ""}`)), w.append(e, n);
|
|
249
|
-
},
|
|
250
|
-
$$slots: { default: !0 }
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
w.append(e, n);
|
|
254
|
-
},
|
|
255
|
-
$$slots: { default: !0 }
|
|
256
|
-
}), w.template_effect((e) => {
|
|
257
|
-
w.set_class(M, 1, e), w.set_style(M, `background-color: ${w.get(B) ?? ""};`), w.set_value(N, w.get(B)), N.disabled = w.get(U);
|
|
258
|
-
}, [() => w.clsx(C("relative inline-flex size-6 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full border-2 transition-all", P.includes(w.get(B)) ? "border-transparent hover:scale-105" : "scale-110 border-foreground"))]), w.event("submit", u, Z), w.delegated("input", N, (e) => w.set(B, e.currentTarget.value, !0)), w.append(e, c);
|
|
259
|
-
},
|
|
260
|
-
$$slots: { default: !0 }
|
|
261
|
-
});
|
|
262
|
-
},
|
|
263
|
-
$$slots: { default: !0 }
|
|
264
|
-
}), w.pop();
|
|
265
|
-
}
|
|
266
|
-
w.delegate(["click", "input"]);
|
|
267
|
-
export { j as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-CiHcxcpv.js";
|
|
2
|
-
import "svelte/internal/disclose-version";
|
|
3
|
-
import * as t from "svelte/internal/client";
|
|
4
|
-
import "svelte/internal/flags/legacy";
|
|
5
|
-
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/check.svelte
|
|
6
|
-
function n(n, r) {
|
|
7
|
-
let i = t.legacy_rest_props(r, [
|
|
8
|
-
"children",
|
|
9
|
-
"$$slots",
|
|
10
|
-
"$$events",
|
|
11
|
-
"$$legacy"
|
|
12
|
-
]), a = [["path", { d: "M20 6 9 17l-5-5" }]];
|
|
13
|
-
e(n, t.spread_props({ name: "check" }, () => i, {
|
|
14
|
-
get iconNode() {
|
|
15
|
-
return a;
|
|
16
|
-
},
|
|
17
|
-
children: (e, n) => {
|
|
18
|
-
var i = t.comment(), a = t.first_child(i);
|
|
19
|
-
t.slot(a, r, "default", {}, null), t.append(e, i);
|
|
20
|
-
},
|
|
21
|
-
$$slots: { default: !0 }
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
export { n as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-CiHcxcpv.js";
|
|
2
|
-
import "svelte/internal/disclose-version";
|
|
3
|
-
import * as t from "svelte/internal/client";
|
|
4
|
-
import "svelte/internal/flags/legacy";
|
|
5
|
-
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-down.svelte
|
|
6
|
-
function n(n, r) {
|
|
7
|
-
let i = t.legacy_rest_props(r, [
|
|
8
|
-
"children",
|
|
9
|
-
"$$slots",
|
|
10
|
-
"$$events",
|
|
11
|
-
"$$legacy"
|
|
12
|
-
]), a = [["path", { d: "m6 9 6 6 6-6" }]];
|
|
13
|
-
e(n, t.spread_props({ name: "chevron-down" }, () => i, {
|
|
14
|
-
get iconNode() {
|
|
15
|
-
return a;
|
|
16
|
-
},
|
|
17
|
-
children: (e, n) => {
|
|
18
|
-
var i = t.comment(), a = t.first_child(i);
|
|
19
|
-
t.slot(a, r, "default", {}, null), t.append(e, i);
|
|
20
|
-
},
|
|
21
|
-
$$slots: { default: !0 }
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
export { n as t };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-CiHcxcpv.js";
|
|
2
|
-
import "svelte/internal/disclose-version";
|
|
3
|
-
import * as t from "svelte/internal/client";
|
|
4
|
-
import "svelte/internal/flags/legacy";
|
|
5
|
-
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/circle-check.svelte
|
|
6
|
-
function n(n, r) {
|
|
7
|
-
let i = t.legacy_rest_props(r, [
|
|
8
|
-
"children",
|
|
9
|
-
"$$slots",
|
|
10
|
-
"$$events",
|
|
11
|
-
"$$legacy"
|
|
12
|
-
]), a = [["circle", {
|
|
13
|
-
cx: "12",
|
|
14
|
-
cy: "12",
|
|
15
|
-
r: "10"
|
|
16
|
-
}], ["path", { d: "m9 12 2 2 4-4" }]];
|
|
17
|
-
e(n, t.spread_props({ name: "circle-check" }, () => i, {
|
|
18
|
-
get iconNode() {
|
|
19
|
-
return a;
|
|
20
|
-
},
|
|
21
|
-
children: (e, n) => {
|
|
22
|
-
var i = t.comment(), a = t.first_child(i);
|
|
23
|
-
t.slot(a, r, "default", {}, null), t.append(e, i);
|
|
24
|
-
},
|
|
25
|
-
$$slots: { default: !0 }
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
|
-
export { n as t };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-CiHcxcpv.js";
|
|
2
|
-
import "svelte/internal/disclose-version";
|
|
3
|
-
import * as t from "svelte/internal/client";
|
|
4
|
-
import "svelte/internal/flags/legacy";
|
|
5
|
-
// ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/clock.svelte
|
|
6
|
-
function n(n, r) {
|
|
7
|
-
let i = t.legacy_rest_props(r, [
|
|
8
|
-
"children",
|
|
9
|
-
"$$slots",
|
|
10
|
-
"$$events",
|
|
11
|
-
"$$legacy"
|
|
12
|
-
]), a = [["circle", {
|
|
13
|
-
cx: "12",
|
|
14
|
-
cy: "12",
|
|
15
|
-
r: "10"
|
|
16
|
-
}], ["path", { d: "M12 6v6l4 2" }]];
|
|
17
|
-
e(n, t.spread_props({ name: "clock" }, () => i, {
|
|
18
|
-
get iconNode() {
|
|
19
|
-
return a;
|
|
20
|
-
},
|
|
21
|
-
children: (e, n) => {
|
|
22
|
-
var i = t.comment(), a = t.first_child(i);
|
|
23
|
-
t.slot(a, r, "default", {}, null), t.append(e, i);
|
|
24
|
-
},
|
|
25
|
-
$$slots: { default: !0 }
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
|
-
export { n as t };
|