@hiai-gg/docsmint 0.7.4 → 0.7.6

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 (246) hide show
  1. package/README.md +2 -2
  2. package/dist/backend/index.js +130026 -129609
  3. package/dist/backend-account-runtime-cleanup.js +2 -0
  4. package/dist/backend-api-key-facade.js +2 -0
  5. package/dist/backend-pipeline-cancellation.js +2 -0
  6. package/dist/frontend/CategoryDialog-D_xFSWGh.js +630 -0
  7. package/dist/frontend/ConfirmDialog-Cfq3D2Di.js +221 -0
  8. package/dist/frontend/{CreateSnapshotDialog-CojnWChs.js → CreateSnapshotDialog-BHODxZWK.js} +53 -52
  9. package/dist/frontend/{DatePicker-7FAbIOGg.js → DatePicker-CZyCnQ1q.js} +62 -64
  10. package/dist/frontend/{DeleteDialog-BIlqRb1u.js → DeleteDialog-DaJOO6SB.js} +17 -17
  11. package/dist/frontend/FolderNode-C_91NlEO.js +307 -0
  12. package/dist/frontend/{FolderTreeSelector-BMB1MS9N.js → FolderTreeSelector-DqO-f0nt.js} +7 -7
  13. package/dist/frontend/HiAiEditor-DtUGbQg6.js +3160 -0
  14. package/dist/frontend/{HiaiDocsExtensionProvider-OSn96BBw.js → HiaiDocsExtensionProvider-Cc3yzW5I.js} +5 -3
  15. package/dist/frontend/{Icon-Db-o32_E.js → Icon-y7xxAIC6.js} +1 -1
  16. package/dist/frontend/{SettingsDialog-DatuxOVX.js → SettingsDialog-BlIZqk2-.js} +169 -158
  17. package/dist/frontend/ShareDialog-CmX-VoJ9.js +273 -0
  18. package/dist/frontend/Sidebar-BVGm5BRR.js +2147 -0
  19. package/dist/frontend/{TagCreateDialog-Ch21yuWV.js → TagCreateDialog-BlGz4O9Z.js} +45 -36
  20. package/dist/frontend/action_cancel-Cuxsznzz.js +5 -0
  21. package/dist/frontend/action_close-BJm_52wm.js +5 -0
  22. package/dist/frontend/action_create-CtBQrRuj.js +5 -0
  23. package/dist/frontend/action_delete-BXBIzvn0.js +5 -0
  24. package/dist/frontend/action_go_to-VmK5jmEk.js +5 -0
  25. package/dist/frontend/action_loading-BLCGJVA9.js +5 -0
  26. package/dist/frontend/action_save-BRN2Z_GP.js +5 -0
  27. package/dist/frontend/api/attachments.js +1 -1
  28. package/dist/frontend/api/categories.js +1 -1
  29. package/dist/frontend/api/folders.js +1 -1
  30. package/dist/frontend/api/settings.js +1 -1
  31. package/dist/frontend/api/share.js +1 -1
  32. package/dist/frontend/api/tags.js +1 -1
  33. package/dist/frontend/app-shell.js +8 -8
  34. package/dist/frontend/{attachments-B2aH3hXF.js → attachments-C225gTA7.js} +2 -2
  35. package/dist/frontend/{auth-client-CnDZwPfp.js → auth-client-DCMne8vd.js} +630 -615
  36. package/dist/frontend/{bundle-mjs-DllmqUxV.js → bundle-mjs-CZ3g1Uzr.js} +35 -42
  37. package/dist/frontend/{camera-CzCxBOpc.js → camera-BI-BtnIm.js} +2 -2
  38. package/dist/frontend/{categories-X7gK8azc.js → categories-Bjcc41We.js} +1 -1
  39. package/dist/frontend/categories_update_error-4aSI8PTr.js +5 -0
  40. package/dist/frontend/{check-BIi-Ghti.js → check-sdTlLwi9.js} +2 -2
  41. package/dist/frontend/{chevron-down-C2ft7XUV.js → chevron-down-DlBnIE7Y.js} +2 -2
  42. package/dist/frontend/{circle-check-BrqfiQH1.js → circle-check-hWC-HeKu.js} +2 -2
  43. package/dist/frontend/{clock-Dz86E4Kz.js → clock-C4FHq-9q.js} +2 -2
  44. package/dist/frontend/collaboration.js +208 -103
  45. package/dist/frontend/components/category-dialog.js +1 -1
  46. package/dist/frontend/components/create-snapshot-dialog.js +1 -1
  47. package/dist/frontend/components/delete-dialog.js +1 -1
  48. package/dist/frontend/components/editor/compact-editor.js +1 -1
  49. package/dist/frontend/components/editor/document-editor.js +1 -1
  50. package/dist/frontend/components/editor/document-title.js +3 -2
  51. package/dist/frontend/components/editor/docx-serializer.js +140 -125
  52. package/dist/frontend/components/editor/extensions.js +1 -1
  53. package/dist/frontend/components/editor/markdown-toggle.js +9 -9
  54. package/dist/frontend/components/editor/markdown.js +1 -1
  55. package/dist/frontend/components/folder-node.js +1 -1
  56. package/dist/frontend/components/folder-tree-selector.js +1 -1
  57. package/dist/frontend/components/save-as-dialog.js +34 -25
  58. package/dist/frontend/components/settings.js +1 -1
  59. package/dist/frontend/components/share-dialog.js +1 -1
  60. package/dist/frontend/components/sidebar.js +1 -1
  61. package/dist/frontend/components/tag-create-dialog.js +1 -1
  62. package/dist/frontend/components/version-history.js +181 -176
  63. package/dist/frontend/{confirm-dialog-8T6vsWL7.js → confirm-dialog-BFTxjLv-.js} +46 -37
  64. package/dist/frontend/{copy-CvCh4ZVt.js → copy-4H99lwAQ.js} +2 -2
  65. package/dist/frontend/dashboard.js +462 -456
  66. package/dist/frontend/{db-Bo1t_76T.js → db-CbFRFAm2.js} +40 -38
  67. package/dist/frontend/{dialog-CiSwD-_v.js → dialog-tHAH3-9M.js} +10 -10
  68. package/dist/frontend/dist-Cg1BpNS7.js +2262 -0
  69. package/dist/frontend/dndzone-BrakBHwm.js +1375 -0
  70. package/dist/frontend/doc_title_label-DS9jSIh2.js +5 -0
  71. package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +5 -0
  72. package/dist/frontend/{document-drop-coordinator-C4xHMjwC.js → document-drop-coordinator-Da7HcXgv.js} +1 -1
  73. package/dist/frontend/document-drop-coordinator.js +1 -1
  74. package/dist/frontend/{dropdown-menu-Bi5Iipwf.js → dropdown-menu-AJYeFPHu.js} +145 -145
  75. package/dist/frontend/{editor-content-sanitizer-CC_A8aaI.js → editor-content-sanitizer-CWjqiz0T.js} +30 -30
  76. package/dist/frontend/{editorExtensions--HusV819.js → editorExtensions-B-mKiWqq.js} +5085 -6220
  77. package/dist/frontend/editor_markdown_placeholder-BIWDUF1E.js +5 -0
  78. package/dist/frontend/error_dismiss-Dx_JbRjs.js +5 -0
  79. package/dist/frontend/error_generic-CzNtmBT4.js +5 -0
  80. package/dist/frontend/extension.js +1 -1
  81. package/dist/frontend/{folder-Cx60MRpi.js → folder-BAX6qBYy.js} +3 -3
  82. package/dist/frontend/{folders-ONG03Dkv.js → folders-CC0UWkZH.js} +3 -3
  83. package/dist/frontend/folders_rename-BJo4Gipq.js +5 -0
  84. package/dist/frontend/i18n.js +1007 -6
  85. package/dist/frontend/{identity-Ynrglr5i.js → identity-O4lAuchv.js} +2 -2
  86. package/dist/frontend/{input-N9dNSOWF.js → input-CrlYAH2S.js} +2 -2
  87. package/dist/frontend/{label-CK72_fw8.js → label-B0syEfns.js} +2 -2
  88. package/dist/frontend/{markdown-H6QB53zu.js → markdown-CMij27Gg.js} +1 -1
  89. package/dist/frontend/offline/identity.js +1 -1
  90. package/dist/frontend/{floating-layer-anchor-BGIndLY-.js → popper-layer-force-mount-BAYjg6Pp.js} +2476 -2564
  91. package/dist/frontend/{rolldown-runtime-CWhphoD1.js → rolldown-runtime-DArdT4gl.js} +2 -2
  92. package/dist/frontend/{rotate-ccw-ta4NosZ0.js → rotate-ccw-DtZDfSK3.js} +2 -2
  93. package/dist/frontend/runtime-CwWSo6c9.js +128 -0
  94. package/dist/frontend/{schemas-DwtKylCJ.js → schemas-CdPhcuru.js} +6 -7
  95. package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +5 -0
  96. package/dist/frontend/search.js +237 -265
  97. package/dist/frontend/search_title-DOC0cPlQ.js +5 -0
  98. package/dist/frontend/{select-value-BD1DToYs.js → select-value-D9VqY5n5.js} +575 -572
  99. package/dist/frontend/{settings-BR48ihB4.js → settings-DJW8JkdF.js} +1 -1
  100. package/dist/frontend/{share-D7JtkC85.js → share-D5yo0JOh.js} +2 -1
  101. package/dist/frontend/share_copied-DPxVzfWh.js +5 -0
  102. package/dist/frontend/share_toggle_password-DdxfIjj1.js +5 -0
  103. package/dist/frontend/shared-document.js +1 -1
  104. package/dist/frontend/sidebar_uncategorized-qJ2_Aonf.js +5 -0
  105. package/dist/frontend/sort_relevance-DwYX5MO9.js +5 -0
  106. package/dist/frontend/{tag-DhVFHMcV.js → tag-ChpMfbfa.js} +3 -3
  107. package/dist/frontend/{tags-BdCaMGfj.js → tags-CzPNUoFw.js} +1 -1
  108. package/dist/frontend/tags_load_error-BKjA1pI0.js +5 -0
  109. package/dist/frontend/tags_new-BiNAJ9Bx.js +5 -0
  110. package/dist/frontend/{textarea-pl_fDBre.js → textarea-l_gRXsrH.js} +2 -2
  111. package/dist/frontend/theme.js +1 -1
  112. package/dist/frontend/{theme.svelte-DG3RS7wv.js → theme.svelte-Bzitjfh9.js} +2 -2
  113. package/dist/frontend/theme_system-BBNUhYKh.js +5 -0
  114. package/dist/frontend/utils/dndzone.js +1 -1
  115. package/dist/frontend/utils-B4LKx7VS.js +7 -0
  116. package/dist/frontend/{utils-DrfHTcei.js → utils-BovMJHdA.js} +2 -2
  117. package/dist/frontend/utils.js +1 -1
  118. package/dist/frontend/version_create_snapshot-3bu-0qzH.js +5 -0
  119. package/dist/frontend/version_restored_from-dVRN3Zdk.js +5 -0
  120. package/dist/frontend/version_snapshot_label_placeholder-DrMikux0.js +5 -0
  121. package/dist/frontend/weekday_we-C5H_M-df.js +5 -0
  122. package/dist/frontend/{x-cfdlccjs.js → x-B2ifxSH7.js} +2 -2
  123. package/dist/frontend/{awareness-snQ3RD9f.js → yjs-VUcKqaKW.js} +835 -944
  124. package/dist/frontend-ssr/api/attachments.js +92 -1
  125. package/dist/frontend-ssr/api/categories.js +1 -1
  126. package/dist/frontend-ssr/api/documents.js +1 -1
  127. package/dist/frontend-ssr/api/folders.js +1 -1
  128. package/dist/frontend-ssr/api/settings.js +1 -1
  129. package/dist/frontend-ssr/api/share.js +30 -1
  130. package/dist/frontend-ssr/api/tags.js +1 -1
  131. package/dist/frontend-ssr/app-shell.js +25 -18
  132. package/dist/frontend-ssr/assets/{CategoryDialog-DsXe54EF.js → CategoryDialog-C41IBNWG.js} +26 -35
  133. package/dist/frontend-ssr/assets/ConfirmDialog-CWO0HBaS.js +424 -0
  134. package/dist/frontend-ssr/assets/{CreateSnapshotDialog-D3-PjXVr.js → CreateSnapshotDialog-CECCRK0d.js} +12 -18
  135. package/dist/frontend-ssr/assets/{DatePicker-C9suIA1S.js → DatePicker-TZVeMZ2S.js} +32 -20
  136. package/dist/frontend-ssr/assets/{DeleteDialog-DxtMrS1O.js → DeleteDialog-BVnmzR2e.js} +5 -7
  137. package/dist/frontend-ssr/assets/{FolderNode-ChD10Elp.js → FolderNode-CClgk8BL.js} +7 -7
  138. package/dist/frontend-ssr/assets/{FolderTreeSelector-Bxi8EqMm.js → FolderTreeSelector-DnrKCYtl.js} +17 -20
  139. package/dist/frontend-ssr/assets/{HiAiEditor-2X3Uyg1B.js → HiAiEditor-_-m7MJDd.js} +330 -254
  140. package/dist/frontend-ssr/assets/{Icon-QwirKi9Y.js → Icon-Clqe8D8X.js} +28 -16
  141. package/dist/frontend-ssr/assets/{SettingsDialog-DDy0hN8x.js → SettingsDialog-BdvHRAxF.js} +45 -49
  142. package/dist/frontend-ssr/assets/{ShareDialog-BwW_wF4G.js → ShareDialog-DHPbSHZg.js} +5 -6
  143. package/dist/frontend-ssr/assets/{Sidebar-Dy-5gXOf.js → Sidebar-B3Saqn0O.js} +90 -93
  144. package/dist/frontend-ssr/assets/{TagCreateDialog-BPzgOaX8.js → TagCreateDialog-CPg-nG0D.js} +14 -14
  145. package/dist/frontend-ssr/assets/action_cancel-OVgQDP5Q.js +22 -0
  146. package/dist/frontend-ssr/assets/action_close-DagDyMXk.js +22 -0
  147. package/dist/frontend-ssr/assets/action_create-hqJWjyqh.js +22 -0
  148. package/dist/frontend-ssr/assets/action_delete-B1-16jSo.js +22 -0
  149. package/dist/frontend-ssr/assets/action_go_to-DQScgw7P.js +22 -0
  150. package/dist/frontend-ssr/assets/action_save-Bx7vlLZI.js +22 -0
  151. package/dist/frontend-ssr/assets/{api-keys-DIbclwj5.js → api-keys-CHOrbU-Q.js} +1 -1
  152. package/dist/frontend-ssr/assets/{auth-client-CojKIzqy.js → auth-client-DzkZlSQ8.js} +295 -261
  153. package/dist/frontend-ssr/assets/{camera-D6s20LDi.js → camera-Dwwtgvfn.js} +10 -6
  154. package/dist/frontend-ssr/assets/{categories-av9xjeg5.js → categories-C_dxFoHi.js} +1 -1
  155. package/dist/frontend-ssr/assets/categories_update_error-DkKgsqdD.js +202 -0
  156. package/dist/frontend-ssr/assets/{chevron-down-CvqKATjM.js → chevron-down-C6BTPJFz.js} +10 -6
  157. package/dist/frontend-ssr/assets/{chevron-right-DKD7WXjz.js → chevron-right-CseGE1qd.js} +10 -6
  158. package/dist/frontend-ssr/assets/{circle-check-CPS9dKEo.js → circle-check-BRhWPZo1.js} +10 -6
  159. package/dist/frontend-ssr/assets/{client-DZMkDkDn.js → client-rfwQYYHY.js} +4 -2
  160. package/dist/frontend-ssr/assets/{clock-CzsE58TH.js → clock-DpP_Y7WP.js} +10 -6
  161. package/dist/frontend-ssr/assets/{confirm-dialog-wYC07DPx.js → confirm-dialog-DeOR0SnQ.js} +44 -31
  162. package/dist/frontend-ssr/assets/{copy-DkkCPkBL.js → copy-DRMKiRZ0.js} +10 -6
  163. package/dist/frontend-ssr/assets/{db-BhwJPEkn.js → db-CUkQe9AU.js} +1 -1
  164. package/dist/frontend-ssr/assets/{dialog-ClcuF7nD.js → dialog--tDgDGw9.js} +12 -15
  165. package/dist/frontend-ssr/assets/{dndzone-DMvTO_Jz.js → dndzone-WtNaDxoQ.js} +309 -77
  166. package/dist/frontend-ssr/assets/doc_title_label-Ev_ltlh3.js +22 -0
  167. package/dist/frontend-ssr/assets/doc_title_placeholder-DSHpUb7w.js +22 -0
  168. package/dist/frontend-ssr/assets/{documents-CZ-wQohy.js → documents-CEuA1V6N.js} +1 -1
  169. package/dist/frontend-ssr/assets/{dropdown-menu-BKMGVNLL.js → dropdown-menu-CdEpn_LT.js} +74 -75
  170. package/dist/frontend-ssr/assets/editor_markdown_placeholder-BpezdkOr.js +42 -0
  171. package/dist/frontend-ssr/assets/editor_toolbar_undo-CKJAOqv2.js +562 -0
  172. package/dist/frontend-ssr/assets/error_generic-DTK0kwxT.js +42 -0
  173. package/dist/frontend-ssr/assets/{folder-DYIE-XPP.js → folder-DszunwKc.js} +10 -6
  174. package/dist/frontend-ssr/assets/{folders-BX30gHv6.js → folders-BOXeb9hz.js} +3 -2
  175. package/dist/frontend-ssr/assets/folders_rename-DvciOb6K.js +122 -0
  176. package/dist/frontend-ssr/assets/{identity-DcMMBKWg.js → identity-veXobEfE.js} +2 -2
  177. package/dist/frontend-ssr/assets/{input-DcDR8L8M.js → input-BlAj7LzC.js} +2 -2
  178. package/dist/frontend-ssr/assets/{label-Cz0_svJx.js → label-BRToaMg9.js} +2 -2
  179. package/dist/frontend-ssr/assets/{loader-circle-CIEWGyfP.js → loader-circle-BpRVrMZg.js} +10 -6
  180. package/dist/frontend-ssr/assets/{floating-layer-anchor-BoiiIEiK.js → popper-layer-force-mount-Djnq7l7a.js} +3684 -3674
  181. package/dist/frontend-ssr/assets/{rotate-ccw-dJSqPyTd.js → rotate-ccw-1GOD_yt_.js} +10 -6
  182. package/dist/frontend-ssr/assets/runtime-O78RzRqx.js +559 -0
  183. package/dist/frontend-ssr/assets/scroll_to_top_aria-BN4ZfOnM.js +22 -0
  184. package/dist/frontend-ssr/assets/search_title-CKUsQDT0.js +22 -0
  185. package/dist/frontend-ssr/assets/search_toggle_filters-hS9rvQhC.js +282 -0
  186. package/dist/frontend-ssr/assets/{select-value-CaDktvDW.js → select-value-BCWSsoTd.js} +204 -218
  187. package/dist/frontend-ssr/assets/{settings-Mp8EuFSn.js → settings-DwAcLGM1.js} +2 -2
  188. package/dist/frontend-ssr/assets/share_copied-BxU9rjXG.js +602 -0
  189. package/dist/frontend-ssr/assets/share_toggle_password-C6OmroqR.js +202 -0
  190. package/dist/frontend-ssr/assets/sidebar_uncategorized-Dx-LTd5w.js +102 -0
  191. package/dist/frontend-ssr/assets/{tag-BmiVU_Ej.js → tag-DFh6nF9R.js} +19 -11
  192. package/dist/frontend-ssr/assets/{tag-store.svelte-BM1lUI_P.js → tag-store.svelte-QRysvGKe.js} +1 -1
  193. package/dist/frontend-ssr/assets/{tags-BQsI_6OW.js → tags-BBCoFYro.js} +1 -1
  194. package/dist/frontend-ssr/assets/tags_load_error-CPrc6Gzs.js +362 -0
  195. package/dist/frontend-ssr/assets/tags_new-VmMr9v2V.js +62 -0
  196. package/dist/frontend-ssr/assets/{textarea-BGrjPOgU.js → textarea-BuszTo9i.js} +2 -2
  197. package/dist/frontend-ssr/assets/{theme.svelte-CN3BUhJG.js → theme.svelte-shZrSxz8.js} +1 -1
  198. package/dist/frontend-ssr/assets/theme_system-BucaNntV.js +362 -0
  199. package/dist/frontend-ssr/assets/{utils-Cg_R05dR.js → utils-BK35BJKQ.js} +1 -1
  200. package/dist/frontend-ssr/assets/version_create_snapshot-COHzwjle.js +22 -0
  201. package/dist/frontend-ssr/assets/version_restored_from-CertjFDl.js +242 -0
  202. package/dist/frontend-ssr/assets/version_snapshot_label_placeholder-Cy_rMCij.js +222 -0
  203. package/dist/frontend-ssr/assets/weekday_we-DrI3U230.js +422 -0
  204. package/dist/frontend-ssr/components/category-dialog.js +1 -1
  205. package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
  206. package/dist/frontend-ssr/components/delete-dialog.js +1 -1
  207. package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
  208. package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
  209. package/dist/frontend-ssr/components/editor/document-title.js +2 -1
  210. package/dist/frontend-ssr/components/editor/markdown-toggle.js +2 -2
  211. package/dist/frontend-ssr/components/folder-node.js +1 -1
  212. package/dist/frontend-ssr/components/folder-tree-selector.js +1 -1
  213. package/dist/frontend-ssr/components/save-as-dialog.js +12 -14
  214. package/dist/frontend-ssr/components/settings.js +1 -1
  215. package/dist/frontend-ssr/components/share-dialog.js +1 -1
  216. package/dist/frontend-ssr/components/sidebar.js +1 -1
  217. package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
  218. package/dist/frontend-ssr/components/version-history.js +47 -51
  219. package/dist/frontend-ssr/dashboard.js +243 -232
  220. package/dist/frontend-ssr/i18n.js +6698 -1
  221. package/dist/frontend-ssr/offline/identity.js +1 -1
  222. package/dist/frontend-ssr/search.js +28 -31
  223. package/dist/frontend-ssr/shared-document.js +1 -2
  224. package/dist/frontend-ssr/theme.js +1 -1
  225. package/dist/frontend-ssr/utils/dndzone.js +1 -1
  226. package/dist/lifecycle-runtime.js +4437 -2019
  227. package/dist/mcp-cli.js +1 -1
  228. package/dist/mcp-server.js +1 -1
  229. package/package.json +7 -7
  230. package/packages/cli/src/index.ts +1 -1
  231. package/packages/db/src/schema.ts +2 -0
  232. package/server.json +2 -2
  233. package/dist/frontend/CategoryDialog-bQKMpVFD.js +0 -631
  234. package/dist/frontend/ConfirmDialog-DF7kgkyq.js +0 -139
  235. package/dist/frontend/FolderNode-Cf443LBa.js +0 -298
  236. package/dist/frontend/HiAiEditor-CMZ-eL8s.js +0 -2992
  237. package/dist/frontend/ShareDialog-Bwz2y3Le.js +0 -281
  238. package/dist/frontend/Sidebar-C_t5RrOJ.js +0 -2101
  239. package/dist/frontend/dist-DQa_OHOa.js +0 -268
  240. package/dist/frontend/dndzone-BzsOINtP.js +0 -1199
  241. package/dist/frontend/messages-DTRe4U2V.js +0 -1093
  242. package/dist/frontend/utils-CMQRlxbx.js +0 -7
  243. package/dist/frontend-ssr/assets/ConfirmDialog-DrH653ua.js +0 -136
  244. package/dist/frontend-ssr/assets/attachments-BdkOp8ha.js +0 -93
  245. package/dist/frontend-ssr/assets/messages-B1TjVIH8.js +0 -11147
  246. package/dist/frontend-ssr/assets/share-qTqvd6Lu.js +0 -30
@@ -0,0 +1,424 @@
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--tDgDGw9.js";
2
+ import { t as Textarea } from "./textarea-BuszTo9i.js";
3
+ import * as $ from "svelte/internal/server";
4
+ //#region ../node_modules/.bun/lucide-svelte@0.577.0+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/defaultAttributes.js
5
+ /**
6
+ * @license lucide-svelte v0.577.0 - ISC
7
+ *
8
+ * ISC License
9
+ *
10
+ * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
11
+ *
12
+ * Permission to use, copy, modify, and/or distribute this software for any
13
+ * purpose with or without fee is hereby granted, provided that the above
14
+ * copyright notice and this permission notice appear in all copies.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
17
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
18
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
19
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
+ *
24
+ * ---
25
+ *
26
+ * The MIT License (MIT) (for portions derived from Feather)
27
+ *
28
+ * Copyright (c) 2013-2026 Cole Bemis
29
+ *
30
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
31
+ * of this software and associated documentation files (the "Software"), to deal
32
+ * in the Software without restriction, including without limitation the rights
33
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
34
+ * copies of the Software, and to permit persons to whom the Software is
35
+ * furnished to do so, subject to the following conditions:
36
+ *
37
+ * The above copyright notice and this permission notice shall be included in all
38
+ * copies or substantial portions of the Software.
39
+ *
40
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
43
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
44
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
45
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
46
+ * SOFTWARE.
47
+ *
48
+ */
49
+ var defaultAttributes = {
50
+ xmlns: "http://www.w3.org/2000/svg",
51
+ width: 24,
52
+ height: 24,
53
+ viewBox: "0 0 24 24",
54
+ fill: "none",
55
+ stroke: "currentColor",
56
+ "stroke-width": 2,
57
+ "stroke-linecap": "round",
58
+ "stroke-linejoin": "round"
59
+ };
60
+ //#endregion
61
+ //#region ../node_modules/.bun/lucide-svelte@0.577.0+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/utils/hasA11yProp.js
62
+ /**
63
+ * @license lucide-svelte v0.577.0 - ISC
64
+ *
65
+ * ISC License
66
+ *
67
+ * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
68
+ *
69
+ * Permission to use, copy, modify, and/or distribute this software for any
70
+ * purpose with or without fee is hereby granted, provided that the above
71
+ * copyright notice and this permission notice appear in all copies.
72
+ *
73
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
74
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
75
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
76
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
77
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
78
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
79
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
80
+ *
81
+ * ---
82
+ *
83
+ * The MIT License (MIT) (for portions derived from Feather)
84
+ *
85
+ * Copyright (c) 2013-2026 Cole Bemis
86
+ *
87
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
88
+ * of this software and associated documentation files (the "Software"), to deal
89
+ * in the Software without restriction, including without limitation the rights
90
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
91
+ * copies of the Software, and to permit persons to whom the Software is
92
+ * furnished to do so, subject to the following conditions:
93
+ *
94
+ * The above copyright notice and this permission notice shall be included in all
95
+ * copies or substantial portions of the Software.
96
+ *
97
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
99
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
100
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
101
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
102
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
103
+ * SOFTWARE.
104
+ *
105
+ */
106
+ /**
107
+ * Check if a component has an accessibility prop
108
+ *
109
+ * @param {object} props
110
+ * @returns {boolean} Whether the component has an accessibility prop
111
+ */
112
+ var hasA11yProp = (props) => {
113
+ for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
114
+ return false;
115
+ };
116
+ //#endregion
117
+ //#region ../node_modules/.bun/lucide-svelte@0.577.0+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/utils/mergeClasses.js
118
+ /**
119
+ * @license lucide-svelte v0.577.0 - ISC
120
+ *
121
+ * ISC License
122
+ *
123
+ * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
124
+ *
125
+ * Permission to use, copy, modify, and/or distribute this software for any
126
+ * purpose with or without fee is hereby granted, provided that the above
127
+ * copyright notice and this permission notice appear in all copies.
128
+ *
129
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
130
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
131
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
132
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
133
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
134
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
135
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
136
+ *
137
+ * ---
138
+ *
139
+ * The MIT License (MIT) (for portions derived from Feather)
140
+ *
141
+ * Copyright (c) 2013-2026 Cole Bemis
142
+ *
143
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
144
+ * of this software and associated documentation files (the "Software"), to deal
145
+ * in the Software without restriction, including without limitation the rights
146
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
147
+ * copies of the Software, and to permit persons to whom the Software is
148
+ * furnished to do so, subject to the following conditions:
149
+ *
150
+ * The above copyright notice and this permission notice shall be included in all
151
+ * copies or substantial portions of the Software.
152
+ *
153
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
154
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
155
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
156
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
157
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
158
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
159
+ * SOFTWARE.
160
+ *
161
+ */
162
+ /**
163
+ * Merges classes into a single string
164
+ *
165
+ * @param {array} classes
166
+ * @returns {string} A string of classes
167
+ */
168
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
169
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
170
+ }).join(" ").trim();
171
+ //#endregion
172
+ //#region ../node_modules/.bun/lucide-svelte@0.577.0+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/Icon.svelte
173
+ function Icon($$renderer, $$props) {
174
+ const $$sanitized_props = $.sanitize_props($$props);
175
+ const $$restProps = $.rest_props($$sanitized_props, [
176
+ "name",
177
+ "color",
178
+ "size",
179
+ "strokeWidth",
180
+ "absoluteStrokeWidth",
181
+ "iconNode"
182
+ ]);
183
+ $$renderer.component(($$renderer) => {
184
+ let name = $.fallback($$props["name"], void 0);
185
+ let color = $.fallback($$props["color"], "currentColor");
186
+ let size = $.fallback($$props["size"], 24);
187
+ let strokeWidth = $.fallback($$props["strokeWidth"], 2);
188
+ let absoluteStrokeWidth = $.fallback($$props["absoluteStrokeWidth"], false);
189
+ let iconNode = $.fallback($$props["iconNode"], () => [], true);
190
+ $$renderer.push(`<svg${$.attributes({
191
+ ...defaultAttributes,
192
+ ...!hasA11yProp($$restProps) ? { "aria-hidden": "true" } : void 0,
193
+ ...$$restProps,
194
+ width: size,
195
+ height: size,
196
+ stroke: color,
197
+ "stroke-width": absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
198
+ class: $.clsx(mergeClasses("lucide-icon", "lucide", name ? `lucide-${name}` : "", $$sanitized_props.class))
199
+ }, void 0, void 0, void 0, 3)}><!--[-->`);
200
+ const each_array = $.ensure_array_like(iconNode);
201
+ for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
202
+ let [tag, attrs] = each_array[$$index];
203
+ $.element($$renderer, tag, () => {
204
+ $$renderer.push(`${$.attributes({ ...attrs }, void 0, void 0, void 0, 3)}`);
205
+ });
206
+ }
207
+ $$renderer.push(`<!--]--><!--[-->`);
208
+ $.slot($$renderer, $$props, "default", {}, null);
209
+ $$renderer.push(`<!--]--></svg>`);
210
+ $.bind_props($$props, {
211
+ name,
212
+ color,
213
+ size,
214
+ strokeWidth,
215
+ absoluteStrokeWidth,
216
+ iconNode
217
+ });
218
+ });
219
+ }
220
+ //#endregion
221
+ //#region ../node_modules/.bun/lucide-svelte@0.577.0+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/loader-circle.svelte
222
+ function Loader_circle($$renderer, $$props) {
223
+ const $$sanitized_props = $.sanitize_props($$props);
224
+ /**
225
+ * @license lucide-svelte v0.577.0 - ISC
226
+ *
227
+ * ISC License
228
+ *
229
+ * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
230
+ *
231
+ * Permission to use, copy, modify, and/or distribute this software for any
232
+ * purpose with or without fee is hereby granted, provided that the above
233
+ * copyright notice and this permission notice appear in all copies.
234
+ *
235
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
236
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
237
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
238
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
239
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
240
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
241
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
242
+ *
243
+ * ---
244
+ *
245
+ * The MIT License (MIT) (for portions derived from Feather)
246
+ *
247
+ * Copyright (c) 2013-2026 Cole Bemis
248
+ *
249
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
250
+ * of this software and associated documentation files (the "Software"), to deal
251
+ * in the Software without restriction, including without limitation the rights
252
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
253
+ * copies of the Software, and to permit persons to whom the Software is
254
+ * furnished to do so, subject to the following conditions:
255
+ *
256
+ * The above copyright notice and this permission notice shall be included in all
257
+ * copies or substantial portions of the Software.
258
+ *
259
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
260
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
261
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
262
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
263
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
264
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
265
+ * SOFTWARE.
266
+ *
267
+ */
268
+ Icon($$renderer, $.spread_props([
269
+ { name: "loader-circle" },
270
+ $$sanitized_props,
271
+ {
272
+ /**
273
+ * @component @name LoaderCircle
274
+ * @description Lucide SVG icon component, renders SVG Element with children.
275
+ *
276
+ * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle
277
+ * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation
278
+ *
279
+ * @param {Object} props - Lucide icons props and any valid SVG attribute
280
+ * @returns {FunctionalComponent} Svelte component
281
+ *
282
+ */
283
+ iconNode: [["path", { "d": "M21 12a9 9 0 1 1-6.219-8.56" }]],
284
+ children: ($$renderer) => {
285
+ $$renderer.push(`<!--[-->`);
286
+ $.slot($$renderer, $$props, "default", {}, null);
287
+ $$renderer.push(`<!--]-->`);
288
+ },
289
+ $$slots: { default: true }
290
+ }
291
+ ]));
292
+ }
293
+ //#endregion
294
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/confirm-dialog/ConfirmDialog.svelte
295
+ function ConfirmDialog($$renderer, $$props) {
296
+ $$renderer.component(($$renderer) => {
297
+ let { open = false, title, description, confirmLabel = "Confirm", cancelLabel = "Cancel", variant = "default", busy = false, requireReason = false, reasonLabel = "Reason", reasonPlaceholder = "Provide a reason...", onConfirm, onCancel } = $$props;
298
+ let reason = "";
299
+ const reasonMissing = $.derived(() => requireReason && reason.trim().length === 0);
300
+ function reset() {
301
+ reason = "";
302
+ }
303
+ function handleConfirm() {
304
+ if (reasonMissing()) return;
305
+ onConfirm?.(requireReason ? reason : void 0);
306
+ reset();
307
+ }
308
+ function handleCancel() {
309
+ if (busy) return;
310
+ open = false;
311
+ onCancel?.();
312
+ reset();
313
+ }
314
+ let $$settled = true;
315
+ let $$inner_renderer;
316
+ function $$render_inner($$renderer) {
317
+ Dialog($$renderer, {
318
+ onOpenChange: (next) => {
319
+ if (!next) {
320
+ reset();
321
+ onCancel?.();
322
+ }
323
+ },
324
+ get open() {
325
+ return open;
326
+ },
327
+ set open($$value) {
328
+ open = $$value;
329
+ $$settled = false;
330
+ },
331
+ children: ($$renderer) => {
332
+ Dialog_content($$renderer, {
333
+ children: ($$renderer) => {
334
+ Dialog_header($$renderer, {
335
+ children: ($$renderer) => {
336
+ Dialog_title($$renderer, {
337
+ children: ($$renderer) => {
338
+ $$renderer.push(`<!---->${$.escape(title)}`);
339
+ },
340
+ $$slots: { default: true }
341
+ });
342
+ $$renderer.push(`<!----> `);
343
+ if (description) {
344
+ $$renderer.push("<!--[0-->");
345
+ Dialog_description($$renderer, {
346
+ children: ($$renderer) => {
347
+ $$renderer.push(`<!---->${$.escape(description)}`);
348
+ },
349
+ $$slots: { default: true }
350
+ });
351
+ } else $$renderer.push("<!--[-1-->");
352
+ $$renderer.push(`<!--]-->`);
353
+ },
354
+ $$slots: { default: true }
355
+ });
356
+ $$renderer.push(`<!----> `);
357
+ if (requireReason) {
358
+ $$renderer.push(`<!--[0--><div class="grid gap-2 py-2"><label for="confirm-dialog-reason" class="text-sm font-medium">${$.escape(reasonLabel)}</label> `);
359
+ Textarea($$renderer, {
360
+ id: "confirm-dialog-reason",
361
+ rows: 3,
362
+ placeholder: reasonPlaceholder,
363
+ disabled: busy,
364
+ get value() {
365
+ return reason;
366
+ },
367
+ set value($$value) {
368
+ reason = $$value;
369
+ $$settled = false;
370
+ }
371
+ });
372
+ $$renderer.push(`<!----></div>`);
373
+ } else $$renderer.push("<!--[-1-->");
374
+ $$renderer.push(`<!--]--> `);
375
+ Dialog_footer($$renderer, {
376
+ children: ($$renderer) => {
377
+ Button($$renderer, {
378
+ variant: "outline",
379
+ type: "button",
380
+ onclick: handleCancel,
381
+ disabled: busy,
382
+ children: ($$renderer) => {
383
+ $$renderer.push(`<!---->${$.escape(cancelLabel)}`);
384
+ },
385
+ $$slots: { default: true }
386
+ });
387
+ $$renderer.push(`<!----> `);
388
+ Button($$renderer, {
389
+ type: "button",
390
+ variant: variant === "destructive" ? "destructive" : "default",
391
+ onclick: handleConfirm,
392
+ disabled: busy || reasonMissing(),
393
+ children: ($$renderer) => {
394
+ if (busy) {
395
+ $$renderer.push("<!--[0-->");
396
+ Loader_circle($$renderer, { class: "mr-1 size-4 animate-spin" });
397
+ } else $$renderer.push("<!--[-1-->");
398
+ $$renderer.push(`<!--]--> ${$.escape(confirmLabel)}`);
399
+ },
400
+ $$slots: { default: true }
401
+ });
402
+ $$renderer.push(`<!---->`);
403
+ },
404
+ $$slots: { default: true }
405
+ });
406
+ $$renderer.push(`<!---->`);
407
+ },
408
+ $$slots: { default: true }
409
+ });
410
+ },
411
+ $$slots: { default: true }
412
+ });
413
+ }
414
+ do {
415
+ $$settled = true;
416
+ $$inner_renderer = $$renderer.copy();
417
+ $$render_inner($$inner_renderer);
418
+ } while (!$$settled);
419
+ $$renderer.subsume($$inner_renderer);
420
+ $.bind_props($$props, { open });
421
+ });
422
+ }
423
+ //#endregion
424
+ export { ConfirmDialog as t };
@@ -1,10 +1,11 @@
1
- import { At as version_snapshot_description_placeholder, Dt as version_snapshot_dialog_title, Et as version_snapshot_dialog_description, Mt as version_snapshot_description, Nt as version_snapshot_label, Ot as version_snapshot_creating, _n as action_cancel, jt as version_snapshot_label_placeholder, kt as version_snapshot_create, xt as version_restore_failed, yn as error_server, z as error_validation } from "./messages-B1TjVIH8.js";
2
- import { t as Loader_circle } from "./loader-circle-CIEWGyfP.js";
1
+ import { t as Loader_circle } from "./loader-circle-BpRVrMZg.js";
2
+ import { t as action_cancel } from "./action_cancel-OVgQDP5Q.js";
3
+ import { a as version_snapshot_description_placeholder, c as version_snapshot_create, d as error_server, i as version_snapshot_dialog_description, l as version_restore_failed, n as version_snapshot_label, o as version_snapshot_description, r as version_snapshot_dialog_title, s as version_snapshot_creating, t as version_snapshot_label_placeholder, u as error_validation } from "./version_snapshot_label_placeholder-Cy_rMCij.js";
3
4
  import { a as getDocsmintRequestAdapter } from "./route-context-BPRerEtZ.js";
4
- 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-ClcuF7nD.js";
5
- import { t as Input } from "./input-DcDR8L8M.js";
6
- import { n as apiFetch, t as ApiError } from "./client-DZMkDkDn.js";
7
- import { t as Textarea } from "./textarea-BGrjPOgU.js";
5
+ 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--tDgDGw9.js";
6
+ import { t as Input } from "./input-BlAj7LzC.js";
7
+ import { n as apiFetch, t as ApiError } from "./client-rfwQYYHY.js";
8
+ import { t as Textarea } from "./textarea-BuszTo9i.js";
8
9
  import * as $ from "svelte/internal/server";
9
10
  //#region src/lib/components/CreateSnapshotDialog.svelte
10
11
  function CreateSnapshotDialog($$renderer, $$props) {
@@ -140,10 +141,8 @@ function CreateSnapshotDialog($$renderer, $$props) {
140
141
  }
141
142
  });
142
143
  $$renderer.push(`<!----> `);
143
- if (labelError) {
144
- $$renderer.push("<!--[0-->");
145
- $$renderer.push(`<p id="snapshot-label-error" class="text-xs text-destructive">${$.escape(labelError)}</p>`);
146
- } else $$renderer.push("<!--[-1-->");
144
+ if (labelError) $$renderer.push(`<!--[0--><p id="snapshot-label-error" class="text-xs text-destructive">${$.escape(labelError)}</p>`);
145
+ else $$renderer.push("<!--[-1-->");
147
146
  $$renderer.push(`<!--]--></div> <div class="space-y-2"><label for="snapshot-description" class="text-sm font-medium">${$.escape(version_snapshot_description())}</label> `);
148
147
  Textarea($$renderer, {
149
148
  id: "snapshot-description",
@@ -161,10 +160,8 @@ function CreateSnapshotDialog($$renderer, $$props) {
161
160
  }
162
161
  });
163
162
  $$renderer.push(`<!----></div> `);
164
- if (submitError) {
165
- $$renderer.push("<!--[0-->");
166
- $$renderer.push(`<p class="text-xs text-destructive" role="alert">${$.escape(submitError)}</p>`);
167
- } else $$renderer.push("<!--[-1-->");
163
+ if (submitError) $$renderer.push(`<!--[0--><p class="text-xs text-destructive" role="alert">${$.escape(submitError)}</p>`);
164
+ else $$renderer.push("<!--[-1-->");
168
165
  $$renderer.push(`<!--]--></form> `);
169
166
  Dialog_footer($$renderer, {
170
167
  children: ($$renderer) => {
@@ -188,10 +185,7 @@ function CreateSnapshotDialog($$renderer, $$props) {
188
185
  $$renderer.push("<!--[0-->");
189
186
  Loader_circle($$renderer, { class: "mr-1 size-4 animate-spin" });
190
187
  $$renderer.push(`<!----> ${$.escape(version_snapshot_creating())}`);
191
- } else {
192
- $$renderer.push("<!--[-1-->");
193
- $$renderer.push(`${$.escape(version_snapshot_create())}`);
194
- }
188
+ } else $$renderer.push(`<!--[-1-->${$.escape(version_snapshot_create())}`);
195
189
  $$renderer.push(`<!--]-->`);
196
190
  },
197
191
  $$slots: { default: true }
@@ -1,17 +1,17 @@
1
- import { $ as month_august, B as date_picker_aria, G as weekday_th, H as weekday_su, J as weekday_mo, K as weekday_we, Q as month_september, U as weekday_sa, V as date_picker_placeholder, W as weekday_fr, X as month_november, Y as month_december, Z as month_october, at as month_february, et as month_july, it as month_march, nt as month_may, ot as month_january, q as weekday_tu, rt as month_april, tt as month_june } from "./messages-B1TjVIH8.js";
2
- import { t as Icon } from "./Icon-QwirKi9Y.js";
3
- import { t as cn } from "./utils-Cg_R05dR.js";
1
+ import { t as Icon } from "./Icon-Clqe8D8X.js";
2
+ import { _ as month_december, a as weekday_sa, b as date_picker_placeholder, c as month_september, d as month_may, f as month_march, g as month_february, h as month_january, i as weekday_su, l as month_october, m as month_july, n as weekday_tu, o as weekday_mo, p as month_june, r as weekday_th, s as weekday_fr, t as weekday_we, u as month_november, v as month_august, x as date_picker_aria, y as month_april } from "./weekday_we-DrI3U230.js";
3
+ import { t as cn } from "./utils-BK35BJKQ.js";
4
4
  import * as $ from "svelte/internal/server";
5
5
  import { tv } from "tailwind-variants";
6
- //#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/calendar.svelte
6
+ //#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/calendar.svelte
7
7
  function Calendar($$renderer, $$props) {
8
8
  const $$sanitized_props = $.sanitize_props($$props);
9
9
  /**
10
- * @license lucide-svelte v0.577.0 - ISC
10
+ * @license lucide-svelte v1.0.1 - ISC
11
11
  *
12
12
  * ISC License
13
13
  *
14
- * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
14
+ * Copyright (c) 2026 Lucide Icons and Contributors
15
15
  *
16
16
  * Permission to use, copy, modify, and/or distribute this software for any
17
17
  * purpose with or without fee is hereby granted, provided that the above
@@ -27,9 +27,13 @@ function Calendar($$renderer, $$props) {
27
27
  *
28
28
  * ---
29
29
  *
30
- * The MIT License (MIT) (for portions derived from Feather)
30
+ * The following Lucide icons are derived from the Feather project:
31
31
  *
32
- * Copyright (c) 2013-2026 Cole Bemis
32
+ * airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
33
+ *
34
+ * The MIT License (MIT) (for the icons listed above)
35
+ *
36
+ * Copyright (c) 2013-present Cole Bemis
33
37
  *
34
38
  * Permission is hereby granted, free of charge, to any person obtaining a copy
35
39
  * of this software and associated documentation files (the "Software"), to deal
@@ -87,15 +91,15 @@ function Calendar($$renderer, $$props) {
87
91
  ]));
88
92
  }
89
93
  //#endregion
90
- //#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/folder-kanban.svelte
94
+ //#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/folder-kanban.svelte
91
95
  function Folder_kanban($$renderer, $$props) {
92
96
  const $$sanitized_props = $.sanitize_props($$props);
93
97
  /**
94
- * @license lucide-svelte v0.577.0 - ISC
98
+ * @license lucide-svelte v1.0.1 - ISC
95
99
  *
96
100
  * ISC License
97
101
  *
98
- * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
102
+ * Copyright (c) 2026 Lucide Icons and Contributors
99
103
  *
100
104
  * Permission to use, copy, modify, and/or distribute this software for any
101
105
  * purpose with or without fee is hereby granted, provided that the above
@@ -111,9 +115,13 @@ function Folder_kanban($$renderer, $$props) {
111
115
  *
112
116
  * ---
113
117
  *
114
- * The MIT License (MIT) (for portions derived from Feather)
118
+ * The following Lucide icons are derived from the Feather project:
119
+ *
120
+ * airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
115
121
  *
116
- * Copyright (c) 2013-2026 Cole Bemis
122
+ * The MIT License (MIT) (for the icons listed above)
123
+ *
124
+ * Copyright (c) 2013-present Cole Bemis
117
125
  *
118
126
  * Permission is hereby granted, free of charge, to any person obtaining a copy
119
127
  * of this software and associated documentation files (the "Software"), to deal
@@ -165,15 +173,15 @@ function Folder_kanban($$renderer, $$props) {
165
173
  ]));
166
174
  }
167
175
  //#endregion
168
- //#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/x.svelte
176
+ //#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/x.svelte
169
177
  function X($$renderer, $$props) {
170
178
  const $$sanitized_props = $.sanitize_props($$props);
171
179
  /**
172
- * @license lucide-svelte v0.577.0 - ISC
180
+ * @license lucide-svelte v1.0.1 - ISC
173
181
  *
174
182
  * ISC License
175
183
  *
176
- * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
184
+ * Copyright (c) 2026 Lucide Icons and Contributors
177
185
  *
178
186
  * Permission to use, copy, modify, and/or distribute this software for any
179
187
  * purpose with or without fee is hereby granted, provided that the above
@@ -189,9 +197,13 @@ function X($$renderer, $$props) {
189
197
  *
190
198
  * ---
191
199
  *
192
- * The MIT License (MIT) (for portions derived from Feather)
200
+ * The following Lucide icons are derived from the Feather project:
201
+ *
202
+ * airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
203
+ *
204
+ * The MIT License (MIT) (for the icons listed above)
193
205
  *
194
- * Copyright (c) 2013-2026 Cole Bemis
206
+ * Copyright (c) 2013-present Cole Bemis
195
207
  *
196
208
  * Permission is hereby granted, free of charge, to any person obtaining a copy
197
209
  * of this software and associated documentation files (the "Software"), to deal
@@ -238,7 +250,7 @@ function X($$renderer, $$props) {
238
250
  ]));
239
251
  }
240
252
  //#endregion
241
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/badge.svelte
253
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/badge.svelte
242
254
  function Badge($$renderer, $$props) {
243
255
  $$renderer.component(($$renderer) => {
244
256
  let { ref = null, class: className, variant = "default", children, $$slots, $$events, ...restProps } = $$props;
@@ -256,7 +268,7 @@ function Badge($$renderer, $$props) {
256
268
  });
257
269
  }
258
270
  //#endregion
259
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/index.js
271
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/index.js
260
272
  var badgeVariants = tv({
261
273
  base: "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
262
274
  variants: { variant: {
@@ -1,6 +1,6 @@
1
- import { t as Circle_check } from "./circle-check-CPS9dKEo.js";
2
- import { t as Loader_circle } from "./loader-circle-CIEWGyfP.js";
3
- 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-ClcuF7nD.js";
1
+ import { t as Circle_check } from "./circle-check-BRhWPZo1.js";
2
+ import { t as Loader_circle } from "./loader-circle-BpRVrMZg.js";
3
+ 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--tDgDGw9.js";
4
4
  import * as $ from "svelte/internal/server";
5
5
  //#region src/lib/components/DeleteDialog.svelte
6
6
  function DeleteDialog($$renderer, $$props) {
@@ -97,10 +97,8 @@ function DeleteDialog($$renderer, $$props) {
97
97
  $$slots: { default: true }
98
98
  });
99
99
  $$renderer.push(`<!----> `);
100
- if (error) {
101
- $$renderer.push("<!--[0-->");
102
- $$renderer.push(`<p class="text-sm text-destructive" role="alert">${$.escape(error)}</p>`);
103
- } else $$renderer.push("<!--[-1-->");
100
+ if (error) $$renderer.push(`<!--[0--><p class="text-sm text-destructive" role="alert">${$.escape(error)}</p>`);
101
+ else $$renderer.push("<!--[-1-->");
104
102
  $$renderer.push(`<!--]-->`);
105
103
  }
106
104
  $$renderer.push(`<!--]--> `);
@@ -1,10 +1,11 @@
1
- import { Dr as doc_share, Ir as dashboard_new_document, _r as folders_rename, br as folders_new, bt as editor_more_options, dn as action_go_to, gr as folders_delete } from "./messages-B1TjVIH8.js";
2
- import { t as Chevron_right } from "./chevron-right-DKD7WXjz.js";
3
- import { t as Folder } from "./folder-DYIE-XPP.js";
4
- import { a as Dropdown_menu, i as Dropdown_menu_content, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-BKMGVNLL.js";
1
+ import { t as Chevron_right } from "./chevron-right-CseGE1qd.js";
2
+ import { a as Dropdown_menu, i as Dropdown_menu_content, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-CdEpn_LT.js";
3
+ import { t as Folder } from "./folder-DszunwKc.js";
4
+ import { t as action_go_to } from "./action_go_to-DQScgw7P.js";
5
+ import { a as doc_share, i as editor_more_options, n as folders_new, o as dashboard_new_document, r as folders_delete, t as folders_rename } from "./folders_rename-DvciOb6K.js";
5
6
  import { a as getDocsmintRequestAdapter, n as navigateDocsmintRoute, t as getDocsmintRouteAdapter } from "./route-context-BPRerEtZ.js";
6
7
  import { t as cn } from "./utils-DvZnctjz.js";
7
- import "./dndzone-DMvTO_Jz.js";
8
+ import "./dndzone-WtNaDxoQ.js";
8
9
  import "./subfolders-refresh-store.svelte-CXHxQWKh.js";
9
10
  import * as $ from "svelte/internal/server";
10
11
  import { page } from "$app/state";
@@ -104,8 +105,7 @@ function FolderNode($$renderer, $$props) {
104
105
  });
105
106
  $$renderer.push(`<!----></div> `);
106
107
  if (isExpanded()) {
107
- $$renderer.push("<!--[0-->");
108
- $$renderer.push(`<div class="ml-0.5 space-y-0.5 border-l border-border pl-0.5"><div${$.attr_class($.clsx(cn("min-h-[8px] space-y-0.5 transition-all duration-150", isDraggingFolder && subfolderZone.length === 0 && "min-h-[36px] bg-accent/20 rounded border border-dashed border-muted-foreground/20")))}><!--[-->`);
108
+ $$renderer.push(`<!--[0--><div class="ml-0.5 space-y-0.5 border-l border-border pl-0.5"><div${$.attr_class($.clsx(cn("min-h-[8px] space-y-0.5 transition-all duration-150", isDraggingFolder && subfolderZone.length === 0 && "min-h-[36px] bg-accent/20 rounded border border-dashed border-muted-foreground/20")))}><!--[-->`);
109
109
  const each_array = $.ensure_array_like(subfolderZone);
110
110
  for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
111
111
  let sub = each_array[$$index];