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