@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,25 +1,25 @@
1
- import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-C6U-DqLr.js";
2
- import { t as action_close } from "./action_close-lFKBqBwg.js";
3
- import { _ as auth_password, a as settings_theme, c as settings_name, d as settings_appearance, f as settings_account, g as change_password, h as confirm_password, i as settings_title, l as settings_email_change_warning, m as new_password, n as theme_light, o as settings_save, p as password_label, r as theme_dark, s as settings_profile, t as theme_system, u as settings_email, v as auth_logout } from "./theme_system-E97FASeq.js";
4
- import { t as Input } from "./input-Bxw9sFF0.js";
5
- import { t as Label } from "./label-CMWedjs6.js";
6
- import { t as cn } from "./utils-DF6CmRDX.js";
7
- import { t as Icon } from "./Icon-CrIRbT5O.js";
8
- import { r as getProfile } from "./settings-B1MA_FjO.js";
9
- import { r as signOut } from "./auth-client-BnnnJDAb.js";
1
+ import * as $ from "svelte/internal/server";
2
+ import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-B09MN2S-.js";
3
+ import { t as action_close } from "./action_close-DPgIB-cY.js";
4
+ import { _ as auth_password, a as settings_theme, c as settings_name, d as settings_appearance, f as settings_account, g as change_password, h as confirm_password, i as settings_title, l as settings_email_change_warning, m as new_password, n as theme_light, o as settings_save, p as password_label, r as theme_dark, s as settings_profile, t as theme_system, u as settings_email, v as auth_logout } from "./theme_system-DjbsL0RQ.js";
5
+ import { t as Input } from "./input-Cc45dG_S.js";
6
+ import { t as Label } from "./label-C1_J2397.js";
7
+ import { t as cn } from "./utils-DF93j6z-.js";
8
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
9
+ import { onMount } from "svelte";
10
+ import { r as getProfile } from "./settings-BqyemuQv.js";
11
+ import { r as signOut } from "./auth-client-CwXGsJIQ.js";
10
12
  import { a as listApiKeys, i as createGlobalApiKey, n as categoryIdFromScopes, o as revealCategoryApiKey, s as revokeApiKey, t as apiKeyClipboardValue } from "./api-keys-G6oimJIv.js";
11
- import { i as listCategories } from "./categories-bBPviKjl.js";
13
+ import { i as listCategories } from "./categories-CMmudpEk.js";
12
14
  import { a as getDocsmintRequestAdapter, n as navigateDocsmintRoute, t as getDocsmintRouteAdapter } from "./route-context-BsqLFt5Y.js";
13
15
  import { t as getFrontendExtensions } from "./context-C_xxvxnR.js";
14
16
  import { t as resolveExtensions } from "./resolve-Wqdff4CL.js";
15
- import { n as getOfflineDB, t as deleteOfflineDB } from "./db-BEKLU5Fc.js";
16
- import { a as resolveOfflineIdentity, t as disableOfflineAccess } from "./identity-DTz1SQwC.js";
17
+ import { n as getOfflineDB, t as deleteOfflineDB } from "./db-NhMsSg1f.js";
18
+ import { a as resolveOfflineIdentity, t as disableOfflineAccess } from "./identity-CigCqYEA.js";
17
19
  import { t as editorPreferences } from "./editor-preferences.svelte-CdAXTd-I.js";
18
- import { t as themeStore } from "./theme.svelte-CdHah46l.js";
19
- import * as $ from "svelte/internal/server";
20
- import { onMount } from "svelte";
20
+ import { t as themeStore } from "./theme.svelte-CqAzqvik.js";
21
21
  import { page } from "$app/state";
22
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/log-out.svelte
22
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/log-out.svelte
23
23
  function Log_out($$renderer, $$props) {
24
24
  const $$sanitized_props = $.sanitize_props($$props);
25
25
  /**
@@ -99,7 +99,7 @@ function Log_out($$renderer, $$props) {
99
99
  }
100
100
  ]));
101
101
  }
102
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/save.svelte
102
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/save.svelte
103
103
  function Save($$renderer, $$props) {
104
104
  const $$sanitized_props = $.sanitize_props($$props);
105
105
  /**
@@ -179,7 +179,7 @@ function Save($$renderer, $$props) {
179
179
  }
180
180
  ]));
181
181
  }
182
- // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs.svelte
182
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+53b8171973259528/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs.svelte
183
183
  function Tabs($$renderer, $$props) {
184
184
  $$renderer.component(($$renderer) => {
185
185
  let { value = "", class: className, children } = $$props;
@@ -193,7 +193,7 @@ function Tabs($$renderer, $$props) {
193
193
  $.bind_props($$props, { value });
194
194
  });
195
195
  }
196
- // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs-content.svelte
196
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+53b8171973259528/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs-content.svelte
197
197
  function Tabs_content($$renderer, $$props) {
198
198
  $$renderer.component(($$renderer) => {
199
199
  const { value: tabValue, currentValue, class: className, children } = $$props;
@@ -209,7 +209,7 @@ function Tabs_content($$renderer, $$props) {
209
209
  $$renderer.push(`<!--]-->`);
210
210
  });
211
211
  }
212
- // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs-list.svelte
212
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+53b8171973259528/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs-list.svelte
213
213
  function Tabs_list($$renderer, $$props) {
214
214
  $$renderer.component(($$renderer) => {
215
215
  const { class: className, children } = $$props;
@@ -222,7 +222,7 @@ function Tabs_list($$renderer, $$props) {
222
222
  $$renderer.push(`<!--]--></div>`);
223
223
  });
224
224
  }
225
- // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs-trigger.svelte
225
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+53b8171973259528/node_modules/@hiai-gg/hiai-ui/dist/components/ui/tabs/tabs-trigger.svelte
226
226
  function Tabs_trigger($$renderer, $$props) {
227
227
  $$renderer.component(($$renderer) => {
228
228
  const { value, selected = false, class: className, children, onclick } = $$props;
@@ -1,9 +1,9 @@
1
- import { t as action_close } from "./action_close-lFKBqBwg.js";
2
- import { a as share_expires_30d, c as share_expires, i as share_expires_7d, l as share_create_title, n as share_password_protection, o as share_expires_1h, r as share_expires_never, s as share_expires_1d, t as share_toggle_password, u as share_create_link } from "./share_toggle_password-Co56z0Ha.js";
3
- import "./select-value-TgslfiUB.js";
1
+ import { t as action_close } from "./action_close-DPgIB-cY.js";
2
+ import { a as share_expires_30d, c as share_expires, i as share_expires_7d, l as share_create_title, n as share_password_protection, o as share_expires_1h, r as share_expires_never, s as share_expires_1d, t as share_toggle_password, u as share_create_link } from "./share_toggle_password-z0gwy0TG.js";
3
+ import * as $ from "svelte/internal/server";
4
+ import "./select-value-BeUHHkLq.js";
4
5
  import { a as getDocsmintRequestAdapter } from "./route-context-BsqLFt5Y.js";
5
6
  import "./keyboard.svelte-njehUCm3.js";
6
- import * as $ from "svelte/internal/server";
7
7
  // src/lib/components/share-configuration.ts
8
8
  function shareAccessModesForDisplay(displayMode) {
9
9
  return displayMode === "standalone" ? ["public"] : ["public", "restricted"];
@@ -1,55 +1,55 @@
1
- import { t as Clock } from "./clock-B08dVWtf.js";
2
- import { t as Folder } from "./folder-CXa1_bm5.js";
3
- import { t as Icon } from "./Icon-CrIRbT5O.js";
4
- import { n as Search, t as Tag } from "./tag-BGhtDKpP.js";
1
+ import * as $ from "svelte/internal/server";
2
+ import { t as Clock } from "./clock-CoRtIDhT.js";
3
+ import { t as Folder } from "./folder-Ptjeaody.js";
4
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
5
+ import { n as Search, t as Tag } from "./tag-D_ZqINN3.js";
6
+ import { onDestroy, onMount } from "svelte";
5
7
  import { a as getDocsmintRequestAdapter, i as resolveDocsmintRoute, n as navigateDocsmintRoute, t as getDocsmintRouteAdapter } from "./route-context-BsqLFt5Y.js";
6
8
  import { t as cn } from "./utils-085zSPe5.js";
7
- import { t as SettingsDialog } from "./SettingsDialog-BpHY3IMb.js";
8
- import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-C6U-DqLr.js";
9
- import { a as Dropdown_menu, i as Dropdown_menu_content, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-BS5fcN9l.js";
10
- import { t as Input } from "./input-Bxw9sFF0.js";
11
- import { t as Label } from "./label-CMWedjs6.js";
12
- import { t as action_cancel } from "./action_cancel-CsBbxW0m.js";
13
- import { a as action_copy_content, i as dashboard_title, n as folders_delete_title, t as sidebar_uncategorized } from "./sidebar_uncategorized-COWdmZ3d.js";
14
- import { t as action_delete } from "./action_delete-CNmRhKQP.js";
15
- import { _ as categories_new, a as sidebar_recent, c as search_placeholder, d as folders_delete_success, f as doc_tags, g as doc_delete, h as doc_delete_confirm, i as tags_add, l as folders_name_placeholder, m as doc_delete_success, n as tags_delete_title, o as sidebar_powered_by, p as doc_delete_success_description, r as tags_delete_description, s as sidebar_folders, t as tags_load_error, u as folders_delete_success_description, v as action_edit } from "./tags_load_error-DW4FbHvr.js";
16
- import { t as action_go_to } from "./action_go_to-tN5I26xM.js";
17
- import { n as action_loading, t as error_generic } from "./error_generic-BB80i0Vk.js";
18
- import { t as action_save } from "./action_save-YCfMiKb4.js";
19
- import { i as settings_title } from "./theme_system-E97FASeq.js";
20
- import { a as doc_share, i as editor_more_options, n as folders_new, o as dashboard_new_document, t as folders_rename } from "./folders_rename-ydbfwQlj.js";
21
- import { t as doc_title_label } from "./doc_title_label-CE_l-Gum.js";
22
- import { t as search_title } from "./search_title-C7NVXXq3.js";
23
- import { t as tags_new } from "./tags_new-Dr3ByMPZ.js";
24
- import { a as File_text, i as Plus, o as Check, r as FolderDialog, t as getDocsmintShareAdapter } from "./share-context-RVh8AExX.js";
25
- import { t as Chevron_down } from "./chevron-down-DB6YsSbQ.js";
26
- import { t as Chevron_right } from "./chevron-right-DOt2uY6b.js";
27
- import { t as Copy } from "./copy-2jsznHar.js";
28
- import { t as Loader_circle } from "./loader-circle-zbKj9Qb-.js";
29
- import { t as Ellipsis_vertical } from "./ellipsis-vertical-IFHt2NM1.js";
30
- import { i as TRIGGERS, n as SHADOW_ITEM_MARKER_PROPERTY_NAME, r as SOURCES } from "./dndzone-C7KnICM0.js";
31
- import { i as listCategories, r as deleteCategory } from "./categories-bBPviKjl.js";
9
+ import { t as SettingsDialog } from "./SettingsDialog-kc3O9PXG.js";
10
+ import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-B09MN2S-.js";
11
+ import { a as Dropdown_menu, i as Dropdown_menu_content, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-C9H45F9X.js";
12
+ import { t as Input } from "./input-Cc45dG_S.js";
13
+ import { t as Label } from "./label-C1_J2397.js";
14
+ import { t as action_cancel } from "./action_cancel-B8i5P3wt.js";
15
+ import { a as action_copy_content, i as dashboard_title, n as folders_delete_title, t as sidebar_uncategorized } from "./sidebar_uncategorized-rpbsgLVr.js";
16
+ import { t as action_delete } from "./action_delete-C6lsQCtY.js";
17
+ import { _ as categories_new, a as sidebar_recent, c as search_placeholder, d as folders_delete_success, f as doc_tags, g as doc_delete, h as doc_delete_confirm, i as tags_add, l as folders_name_placeholder, m as doc_delete_success, n as tags_delete_title, o as sidebar_powered_by, p as doc_delete_success_description, r as tags_delete_description, s as sidebar_folders, t as tags_load_error, u as folders_delete_success_description, v as action_edit } from "./tags_load_error-DvhlyMMY.js";
18
+ import { t as action_go_to } from "./action_go_to-C6tegi-k.js";
19
+ import { n as action_loading, t as error_generic } from "./error_generic-BSoVZ_4p.js";
20
+ import { t as action_save } from "./action_save-BQCej1sh.js";
21
+ import { i as settings_title } from "./theme_system-DjbsL0RQ.js";
22
+ import { a as doc_share, i as editor_more_options, n as folders_new, o as dashboard_new_document, t as folders_rename } from "./folders_rename-DBtQcf2R.js";
23
+ import { t as doc_title_label } from "./doc_title_label-BqCuH3eY.js";
24
+ import { t as search_title } from "./search_title-CZIl0wkq.js";
25
+ import { t as tags_new } from "./tags_new-DStxzBII.js";
26
+ import { a as File_text, i as Plus, o as Check, r as FolderDialog, t as getDocsmintShareAdapter } from "./share-context-BM1sUnlP.js";
27
+ import { t as Chevron_down } from "./chevron-down-DPc-Owbl.js";
28
+ import { t as Chevron_right } from "./chevron-right-C-jY4mqk.js";
29
+ import { t as Copy } from "./copy-CDNZIGVg.js";
30
+ import { t as Loader_circle } from "./loader-circle-CK3McH5n.js";
31
+ import { t as Ellipsis_vertical } from "./ellipsis-vertical-oBvMj3Jm.js";
32
+ import "svelte/animate";
33
+ import { i as TRIGGERS, n as SHADOW_ITEM_MARKER_PROPERTY_NAME, r as SOURCES } from "./dndzone-DyM8UtoT.js";
34
+ import { i as listCategories, r as deleteCategory } from "./categories-CMmudpEk.js";
32
35
  import { n as apiFetch } from "./client-B2AniXwV.js";
33
36
  import { c as updateDocument, r as deleteDocument, s as listDocuments, t as clearDocumentsCache } from "./documents-B_wpQFTh.js";
34
- import { t as ConfirmDialog } from "./ConfirmDialog-Cc6lcY1N.js";
37
+ import { t as ConfirmDialog } from "./ConfirmDialog-B0NXRrel.js";
35
38
  import { c as updateFolder, r as deleteFolder, s as listFolders, t as createFolder } from "./folders-CTLqWbMm.js";
36
- import { t as DeleteDialog } from "./DeleteDialog-DRU4UgOW.js";
37
- import { t as ShareDialog } from "./ShareDialog-CY40nWZJ.js";
38
- import { t as CategoryDialog } from "./CategoryDialog-2CCX508O.js";
39
+ import { t as DeleteDialog } from "./DeleteDialog-B83NoxAg.js";
40
+ import { t as ShareDialog } from "./ShareDialog-Dmrj55QP.js";
41
+ import { t as CategoryDialog } from "./CategoryDialog-DRItbO_9.js";
39
42
  import { n as createDocumentPlacementWriter, t as createDocumentDropCoordinator } from "./document-drop-coordinator-BVytYy2K.js";
40
- import { t as FolderNode } from "./FolderNode-CyOrLJ2Y.js";
43
+ import { t as FolderNode } from "./FolderNode-CSeC3051.js";
41
44
  import { a as getFolderFromRegistry, c as getPendingDocumentPlacement, d as refreshFolders, f as registerDocument, n as bumpSubfoldersRefresh, p as registerFolder, r as getDocumentFromRegistry, t as acknowledgeDocumentPlacement, u as publishDocumentPlacement } from "./subfolders-refresh-store.svelte-LxG18U0n.js";
42
- import { i as setSelectedTag, n as refreshDocs, r as refreshTags, t as getSelectedTag } from "./tag-store.svelte-CUUgAaDD.js";
43
- import "./dist-DqXTz_zE.js";
44
- import { i as deleteTag, o as listTags } from "./tags-C7u-LBsl.js";
45
- import { t as TagCreateDialog } from "./TagCreateDialog-C2tpdEuj.js";
45
+ import { i as setSelectedTag, n as refreshDocs, r as refreshTags, t as getSelectedTag } from "./tag-store.svelte-Djpf1W0n.js";
46
+ import { page } from "$app/state";
47
+ import "./dist-D4MAfF0i.js";
48
+ import { i as deleteTag, o as listTags } from "./tags-GQOEtqET.js";
49
+ import { t as TagCreateDialog } from "./TagCreateDialog-CP-yYfpQ.js";
46
50
  import { t as getFrontendExtensions } from "./context-C_xxvxnR.js";
47
51
  import { t as resolveExtensions } from "./resolve-Wqdff4CL.js";
48
- import * as $ from "svelte/internal/server";
49
- import { onDestroy, onMount } from "svelte";
50
- import { page } from "$app/state";
51
- import "svelte/animate";
52
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/panel-left-close.svelte
52
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/panel-left-close.svelte
53
53
  function Panel_left_close($$renderer, $$props) {
54
54
  const $$sanitized_props = $.sanitize_props($$props);
55
55
  /**
@@ -135,7 +135,7 @@ function Panel_left_close($$renderer, $$props) {
135
135
  }
136
136
  ]));
137
137
  }
138
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/panel-left-open.svelte
138
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/panel-left-open.svelte
139
139
  function Panel_left_open($$renderer, $$props) {
140
140
  const $$sanitized_props = $.sanitize_props($$props);
141
141
  /**
@@ -221,7 +221,7 @@ function Panel_left_open($$renderer, $$props) {
221
221
  }
222
222
  ]));
223
223
  }
224
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/settings.svelte
224
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/settings.svelte
225
225
  function Settings($$renderer, $$props) {
226
226
  const $$sanitized_props = $.sanitize_props($$props);
227
227
  /**
@@ -1,16 +1,16 @@
1
- import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-C6U-DqLr.js";
2
- import { t as action_cancel } from "./action_cancel-CsBbxW0m.js";
3
- import { t as action_create } from "./action_create-BV4ZOcQW.js";
4
- import { n as action_loading, t as error_generic } from "./error_generic-BB80i0Vk.js";
5
- import { t as action_save } from "./action_save-YCfMiKb4.js";
6
- import { n as tags_name_placeholder, r as tags_edit, t as tags_new } from "./tags_new-Dr3ByMPZ.js";
7
- import { t as Input } from "./input-Bxw9sFF0.js";
8
- import { t as Label } from "./label-CMWedjs6.js";
9
- import { t as Loader_circle } from "./loader-circle-zbKj9Qb-.js";
10
- import { c as updateTag, l as updateTagInputSchema, n as createTag, r as createTagInputSchema } from "./tags-C7u-LBsl.js";
1
+ import * as $ from "svelte/internal/server";
2
+ import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-B09MN2S-.js";
3
+ import { t as action_cancel } from "./action_cancel-B8i5P3wt.js";
4
+ import { t as action_create } from "./action_create-DAlNPFeN.js";
5
+ import { n as action_loading, t as error_generic } from "./error_generic-BSoVZ_4p.js";
6
+ import { t as action_save } from "./action_save-BQCej1sh.js";
7
+ import { n as tags_name_placeholder, r as tags_edit, t as tags_new } from "./tags_new-DStxzBII.js";
8
+ import { t as Input } from "./input-Cc45dG_S.js";
9
+ import { t as Label } from "./label-C1_J2397.js";
10
+ import { t as Loader_circle } from "./loader-circle-CK3McH5n.js";
11
+ import { c as updateTag, l as updateTagInputSchema, n as createTag, r as createTagInputSchema } from "./tags-GQOEtqET.js";
11
12
  import { a as getDocsmintRequestAdapter } from "./route-context-BsqLFt5Y.js";
12
13
  import { t as cn } from "./utils-085zSPe5.js";
13
- import * as $ from "svelte/internal/server";
14
14
  // src/lib/components/TagCreateDialog.svelte
15
15
  function TagCreateDialog($$renderer, $$props) {
16
16
  $$renderer.component(($$renderer) => {
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/action_cancel.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Action_CancelInputs */
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/action_close.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Action_CloseInputs */
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/action_create.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Action_CreateInputs */
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/action_delete.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Action_DeleteInputs */
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/action_go_to.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Action_Go_ToInputs */
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/action_save.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Action_SaveInputs */
@@ -1,9 +1,9 @@
1
- import { STORE_UNMOUNT_DELAY, atom, onMount, onSet } from "nanostores";
2
1
  import { env } from "@better-auth/core/env";
3
2
  import { BetterAuthError } from "@better-auth/core/error";
4
3
  import { isSafeUrlScheme } from "@better-auth/core/utils/url";
4
+ import { STORE_UNMOUNT_DELAY, atom, onMount, onSet } from "nanostores";
5
5
  import { capitalizeFirstLetter, toKebabCase } from "@better-auth/core/utils/string";
6
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/broadcast-channel.mjs
6
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/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 {
@@ -29,15 +29,16 @@ var WindowBroadcastChannel = class {
29
29
  }
30
30
  setup() {
31
31
  if (typeof window === "undefined" || typeof window.addEventListener === "undefined") return () => {};
32
+ const target = window;
32
33
  const handler = (event) => {
33
34
  if (event.key !== this.name) return;
34
35
  const message = JSON.parse(event.newValue ?? "{}");
35
36
  if (message?.event !== "session" || !message?.data) return;
36
37
  this.listeners.forEach((listener) => listener(message));
37
38
  };
38
- window.addEventListener("storage", handler);
39
+ target.addEventListener("storage", handler);
39
40
  return () => {
40
- window.removeEventListener("storage", handler);
41
+ target.removeEventListener("storage", handler);
41
42
  };
42
43
  }
43
44
  };
@@ -45,7 +46,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
45
46
  if (!globalThis[kBroadcastChannel]) globalThis[kBroadcastChannel] = new WindowBroadcastChannel(name);
46
47
  return globalThis[kBroadcastChannel];
47
48
  }
48
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/equality.mjs
49
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/equality.mjs
49
50
  function isPlainObject$1(value) {
50
51
  if (typeof value !== "object" || value === null) return false;
51
52
  const prototype = Object.getPrototypeOf(value);
@@ -84,7 +85,7 @@ function withEquality(store, isEqual) {
84
85
  if (isEqual(store.value, newValue)) abort();
85
86
  });
86
87
  }
87
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/focus-manager.mjs
88
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/focus-manager.mjs
88
89
  var kFocusManager = Symbol.for("better-auth:focus-manager");
89
90
  var WindowFocusManager = class {
90
91
  listeners = /* @__PURE__ */ new Set();
@@ -99,12 +100,13 @@ var WindowFocusManager = class {
99
100
  }
100
101
  setup() {
101
102
  if (typeof window === "undefined" || typeof document === "undefined" || typeof window.addEventListener === "undefined") return () => {};
103
+ const target = document;
102
104
  const visibilityHandler = () => {
103
105
  if (document.visibilityState === "visible") this.setFocused(true);
104
106
  };
105
- document.addEventListener("visibilitychange", visibilityHandler, false);
107
+ target.addEventListener("visibilitychange", visibilityHandler, false);
106
108
  return () => {
107
- document.removeEventListener("visibilitychange", visibilityHandler, false);
109
+ target.removeEventListener("visibilitychange", visibilityHandler, false);
108
110
  };
109
111
  }
110
112
  };
@@ -112,11 +114,11 @@ function getGlobalFocusManager() {
112
114
  if (!globalThis[kFocusManager]) globalThis[kFocusManager] = new WindowFocusManager();
113
115
  return globalThis[kFocusManager];
114
116
  }
115
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/online-manager.mjs
117
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/online-manager.mjs
116
118
  var kOnlineManager = Symbol.for("better-auth:online-manager");
117
119
  var WindowOnlineManager = class {
118
120
  listeners = /* @__PURE__ */ new Set();
119
- isOnline = typeof navigator !== "undefined" ? navigator.onLine : true;
121
+ isOnline = globalThis.navigator?.onLine ?? true;
120
122
  subscribe(listener) {
121
123
  this.listeners.add(listener);
122
124
  return () => {
@@ -129,13 +131,14 @@ var WindowOnlineManager = class {
129
131
  }
130
132
  setup() {
131
133
  if (typeof window === "undefined" || typeof window.addEventListener === "undefined") return () => {};
134
+ const target = window;
132
135
  const onOnline = () => this.setOnline(true);
133
136
  const onOffline = () => this.setOnline(false);
134
- window.addEventListener("online", onOnline, false);
135
- window.addEventListener("offline", onOffline, false);
137
+ target.addEventListener("online", onOnline, false);
138
+ target.addEventListener("offline", onOffline, false);
136
139
  return () => {
137
- window.removeEventListener("online", onOnline, false);
138
- window.removeEventListener("offline", onOffline, false);
140
+ target.removeEventListener("online", onOnline, false);
141
+ target.removeEventListener("offline", onOffline, false);
139
142
  };
140
143
  }
141
144
  };
@@ -143,7 +146,7 @@ function getGlobalOnlineManager() {
143
146
  if (!globalThis[kOnlineManager]) globalThis[kOnlineManager] = new WindowOnlineManager();
144
147
  return globalThis[kOnlineManager];
145
148
  }
146
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/parser.mjs
149
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/parser.mjs
147
150
  var JSON_SIGNATURE = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
148
151
  var SPECIAL_VALUES = {
149
152
  true: true,
@@ -201,14 +204,14 @@ function betterJSONParse(value, options = {}) {
201
204
  function parseJSON(value, options = { strict: true }) {
202
205
  return betterJSONParse(value, options);
203
206
  }
204
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/query-atom.mjs
207
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/query-atom.mjs
205
208
  var kAuthQuery = Symbol.for("better-auth:auth-query");
206
209
  function createAuthQueryAtom(initialValue) {
207
210
  const queryAtom = atom(initialValue);
208
211
  Object.defineProperty(queryAtom, kAuthQuery, { value: true });
209
212
  return queryAtom;
210
213
  }
211
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/session-refresh.mjs
214
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/session-refresh.mjs
212
215
  var now = () => Math.floor(Date.now() / 1e3);
213
216
  /**
214
217
  * Rate limit: don't refetch on focus if a session request was made within this many seconds
@@ -281,11 +284,12 @@ function createSessionRefreshManager(opts) {
281
284
  const init = () => {
282
285
  if (state.isInitialized) return;
283
286
  state.isInitialized = true;
287
+ setupSignalSubscription();
288
+ if (typeof window === "undefined") return;
284
289
  setupPolling();
285
290
  setupBroadcast();
286
291
  setupFocusRefetch();
287
292
  setupOnlineRefetch();
288
- setupSignalSubscription();
289
293
  state.cleanupBroadcastSetup = getGlobalBroadcastChannel().setup();
290
294
  state.cleanupFocusSetup = getGlobalFocusManager().setup();
291
295
  state.cleanupOnlineSetup = getGlobalOnlineManager().setup();
@@ -334,7 +338,7 @@ function createSessionRefreshManager(opts) {
334
338
  broadcastSessionUpdate
335
339
  };
336
340
  }
337
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/utils/url.mjs
341
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/utils/url.mjs
338
342
  var SLASH_CHAR_CODE = "/".charCodeAt(0);
339
343
  function trimTrailingSlashes(value) {
340
344
  let end = value.length;
@@ -411,7 +415,7 @@ function getOrigin(url) {
411
415
  return null;
412
416
  }
413
417
  }
414
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/fetch-plugins.mjs
418
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/fetch-plugins.mjs
415
419
  var redirectPlugin = {
416
420
  id: "redirect",
417
421
  name: "Redirect",
@@ -425,7 +429,7 @@ var redirectPlugin = {
425
429
  }
426
430
  } }
427
431
  };
428
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/session-atom.mjs
432
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/session-atom.mjs
429
433
  var isServer = () => typeof window === "undefined";
430
434
  var SESSION_MOUNT_DEDUPE_INTERVAL = STORE_UNMOUNT_DELAY;
431
435
  function hydrateSessionAtom(sessionAtom, session) {
@@ -498,6 +502,7 @@ function getSessionAtom($fetch, options) {
498
502
  if (data?.needsRefresh) try {
499
503
  const refreshRes = await $fetch("/get-session", {
500
504
  method: "POST",
505
+ body: {},
501
506
  signal
502
507
  });
503
508
  if (signal.aborted) return "aborted";
@@ -902,6 +907,15 @@ function getFetch(options) {
902
907
  if (typeof window !== "undefined" && isFunction(window.fetch)) return window.fetch;
903
908
  throw new Error("No fetch implementation found");
904
909
  }
910
+ function isPayloadMethod(method) {
911
+ if (!method) return false;
912
+ return [
913
+ "POST",
914
+ "PUT",
915
+ "PATCH",
916
+ "DELETE"
917
+ ].includes(method.toUpperCase());
918
+ }
905
919
  function mergeHeaders(...sources) {
906
920
  const merged = {};
907
921
  for (const source of sources) {
@@ -940,7 +954,7 @@ function getBody(options, headers) {
940
954
  if (getMediaType(headers) === "application/x-www-form-urlencoded") return new URLSearchParams(body).toString();
941
955
  return JSON.stringify(body);
942
956
  }
943
- function getMethod$1(url, options) {
957
+ function getMethod(url, options) {
944
958
  if (options === null || options === void 0 ? void 0 : options.method) return options.method.toUpperCase();
945
959
  const { method } = parseMethodModifier(url);
946
960
  if (method) return method.toUpperCase();
@@ -1028,7 +1042,7 @@ var betterFetch = async (url, options) => {
1028
1042
  const _url = getURL$1(__url, opts);
1029
1043
  const headers = await getHeaders(opts);
1030
1044
  const body = getBody(opts, headers);
1031
- const method = getMethod$1(__url, opts);
1045
+ const method = getMethod(__url, opts);
1032
1046
  const context = _objectSpread2(_objectSpread2({}, opts), {}, {
1033
1047
  url: _url,
1034
1048
  headers,
@@ -1231,7 +1245,7 @@ var createFetch = (config) => {
1231
1245
  }
1232
1246
  return $fetch;
1233
1247
  };
1234
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/config.mjs
1248
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/config.mjs
1235
1249
  var resolvePublicAuthUrl = (basePath) => {
1236
1250
  if (typeof process === "undefined") return void 0;
1237
1251
  const path = basePath ?? "/api/auth";
@@ -1335,19 +1349,11 @@ var getClientConfig = (options, loadEnv) => {
1335
1349
  $store
1336
1350
  };
1337
1351
  };
1338
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/utils/is-atom.mjs
1352
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/utils/is-atom.mjs
1339
1353
  function isAtom(value) {
1340
1354
  return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
1341
1355
  }
1342
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/proxy.mjs
1343
- function getMethod(path, knownPathMethods, args) {
1344
- const method = knownPathMethods[path];
1345
- const { fetchOptions, query: _query, ...body } = args || {};
1346
- if (method) return method;
1347
- if (fetchOptions?.method) return fetchOptions.method;
1348
- if (body && Object.keys(body).length > 0) return "POST";
1349
- return "GET";
1350
- }
1356
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/proxy.mjs
1351
1357
  function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomListeners) {
1352
1358
  function createProxy(path = []) {
1353
1359
  return new Proxy(function() {}, {
@@ -1374,13 +1380,13 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
1374
1380
  ...fetchOptions,
1375
1381
  ...argFetchOptions
1376
1382
  };
1377
- const method = getMethod(routePath, knownPathMethods, arg);
1383
+ const method = knownPathMethods[routePath] || options.method || (Object.keys(body).length > 0 ? "POST" : "GET");
1378
1384
  return await client(routePath, {
1379
1385
  ...options,
1380
- body: method === "GET" ? void 0 : {
1386
+ body: isPayloadMethod(method) ? {
1381
1387
  ...body,
1382
1388
  ...options?.body || {}
1383
- },
1389
+ } : void 0,
1384
1390
  query: query || options?.query,
1385
1391
  method,
1386
1392
  async onSuccess(context) {
@@ -1413,7 +1419,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
1413
1419
  }
1414
1420
  return createProxy();
1415
1421
  }
1416
- // ../node_modules/.bun/better-auth@1.7.15+951101794207a33e/node_modules/better-auth/dist/client/vanilla.mjs
1422
+ // ../node_modules/.bun/better-auth@1.7.29+21e7ec724477b6ed/node_modules/better-auth/dist/client/vanilla.mjs
1417
1423
  function createAuthClient(options) {
1418
1424
  const { pluginPathMethods, pluginsActions, pluginsAtoms, hydrateSession, $fetch, atomListeners, $store } = getClientConfig(options);
1419
1425
  const resolvedHooks = {};
@@ -1,6 +1,6 @@
1
- import { t as Icon } from "./Icon-CrIRbT5O.js";
2
1
  import * as $ from "svelte/internal/server";
3
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/camera.svelte
2
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
3
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/camera.svelte
4
4
  function Camera($$renderer, $$props) {
5
5
  const $$sanitized_props = $.sanitize_props($$props);
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { t as getLocale } from "./runtime-BX6-jTn_.js";
1
+ import { t as getLocale } from "./runtime-CoxALrm1.js";
2
2
  // src/lib/paraglide/messages/categories_create_error.js
3
3
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
4
4
  /** @typedef {{}} Categories_Create_ErrorInputs */
@@ -1,6 +1,6 @@
1
- import { t as Icon } from "./Icon-CrIRbT5O.js";
2
1
  import * as $ from "svelte/internal/server";
3
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-down.svelte
2
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
3
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/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
  /**
@@ -1,6 +1,6 @@
1
- import { t as Icon } from "./Icon-CrIRbT5O.js";
2
1
  import * as $ from "svelte/internal/server";
3
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/chevron-right.svelte
2
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
3
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/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
  /**
@@ -1,6 +1,6 @@
1
- import { t as Icon } from "./Icon-CrIRbT5O.js";
2
1
  import * as $ from "svelte/internal/server";
3
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/circle-check.svelte
2
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
3
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/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
  /**
@@ -1,6 +1,6 @@
1
- import { t as Icon } from "./Icon-CrIRbT5O.js";
2
1
  import * as $ from "svelte/internal/server";
3
- // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/clock.svelte
2
+ import { t as Icon } from "./Icon-CBEeswQ2.js";
3
+ // ../node_modules/.bun/lucide-svelte@1.0.1+39695945a324e2d8/node_modules/lucide-svelte/dist/icons/clock.svelte
4
4
  function Clock($$renderer, $$props) {
5
5
  const $$sanitized_props = $.sanitize_props($$props);
6
6
  /**