@hiai-gg/docsmint 0.3.7 → 0.3.8

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 (196) hide show
  1. package/backend/src/lib/logger.ts +45 -15
  2. package/dist/backend/index.js +238 -150
  3. package/dist/frontend/CategoryDialog-DphkZqIB.js +611 -0
  4. package/dist/frontend/ConfirmDialog-BLF3x_hr.js +214 -0
  5. package/dist/frontend/CreateSnapshotDialog-D5vPvFTL.js +216 -0
  6. package/dist/frontend/DatePicker-CLNTdvTk.js +259 -0
  7. package/dist/frontend/DeleteDialog-DxYFJivN.js +174 -0
  8. package/dist/frontend/FolderDialog-CRVZM2Oi.js +250 -0
  9. package/dist/frontend/FolderNode-C2zG7uii.js +298 -0
  10. package/dist/frontend/FolderTreeSelector-CyB8y2Sm.js +103 -0
  11. package/dist/frontend/Icon-CooFj4Ee.js +64 -0
  12. package/dist/frontend/SettingsDialog-DCM4-N6_.js +1016 -0
  13. package/dist/frontend/ShareDialog-DYu3RKQu.js +165 -0
  14. package/dist/frontend/TagCreateDialog-DXQs2bL9.js +260 -0
  15. package/dist/frontend/camera-iKXDOOWT.js +29 -0
  16. package/dist/frontend/check-D-UuvBuh.js +25 -0
  17. package/dist/frontend/chevron-down-CiPtYyFh.js +25 -0
  18. package/dist/frontend/circle-check-tSPE1V6t.js +29 -0
  19. package/dist/frontend/clock-DJHbHZb8.js +29 -0
  20. package/dist/frontend/{bundle-mjs-CP6Owz-8.js → clsx-C7bIvsDS.js} +16 -1
  21. package/dist/frontend/components/category-dialog.js +1 -1
  22. package/dist/frontend/components/create-snapshot-dialog.js +1 -1
  23. package/dist/frontend/components/delete-dialog.js +1 -1
  24. package/dist/frontend/components/editor/document-editor.js +1364 -1353
  25. package/dist/frontend/components/editor/document-title.js +25 -25
  26. package/dist/frontend/components/editor/markdown-toggle.js +45 -45
  27. package/dist/frontend/components/folder-node.js +1 -1
  28. package/dist/frontend/components/folder-tree-selector.js +1 -1
  29. package/dist/frontend/components/save-as-dialog.js +169 -151
  30. package/dist/frontend/components/settings.js +1 -1
  31. package/dist/frontend/components/share-dialog.js +1 -1
  32. package/dist/frontend/components/sidebar.js +1161 -1153
  33. package/dist/frontend/components/tag-create-dialog.js +1 -1
  34. package/dist/frontend/components/version-history.js +188 -187
  35. package/dist/frontend/copy-GppwRMjX.js +32 -0
  36. package/dist/frontend/dashboard.js +1188 -1156
  37. package/dist/frontend/dialog-D6NxYVmy.js +213 -0
  38. package/dist/frontend/doc-tabs.js +2 -2
  39. package/dist/frontend/ellipsis-vertical-P9MHvCps.js +530 -0
  40. package/dist/frontend/extension.js +8 -8
  41. package/dist/frontend/{floating-layer-anchor-C51M4l6v.js → floating-layer-anchor-CPwucTfd.js} +1414 -1412
  42. package/dist/frontend/folder-DeWhnD7O.js +45 -0
  43. package/dist/frontend/folder-refresh.js +1 -1
  44. package/dist/frontend/input-B5Rak-5G.js +23 -0
  45. package/dist/frontend/keyboard.js +1 -1
  46. package/dist/frontend/{keyboard.svelte-D7H8DihC.js → keyboard.svelte-CApmX0vl.js} +53 -53
  47. package/dist/frontend/label-CW9rxoAb.js +30 -0
  48. package/dist/frontend/{loader-circle-Bk-WFz9g.js → loader-circle-BA6aLO71.js} +86 -85
  49. package/dist/frontend/rotate-ccw-B4Q7brmV.js +25 -0
  50. package/dist/frontend/search.js +680 -654
  51. package/dist/frontend/select-value-sF86Geyh.js +1446 -0
  52. package/dist/frontend/shared-document.js +94 -94
  53. package/dist/frontend/subfolders-refresh-store.svelte-B2dKVmgz.js +65 -0
  54. package/dist/frontend/tag-HxRazVN_.js +54 -0
  55. package/dist/frontend/tag-store.svelte-CqrUXo0o.js +29 -0
  56. package/dist/frontend/textarea-i1720bE7.js +23 -0
  57. package/dist/frontend/theme.js +1 -1
  58. package/dist/frontend/theme.svelte-DKfCy12k.js +49 -0
  59. package/dist/frontend/{utils-C0OW2678.js → utils-CffiyuTo.js} +2 -3
  60. package/dist/frontend/{utils-D8kmM3ub.js → utils-hzdMVeCv.js} +2 -3
  61. package/dist/frontend/utils.js +1 -1
  62. package/dist/frontend/x-CzBsnJ2x.js +25 -0
  63. package/dist/frontend-ssr/api/attachments.js +2 -0
  64. package/dist/frontend-ssr/api/categories.js +2 -0
  65. package/dist/frontend-ssr/api/documents.js +2 -0
  66. package/dist/frontend-ssr/api/folders.js +2 -0
  67. package/dist/frontend-ssr/api/settings.js +2 -0
  68. package/dist/frontend-ssr/api/share.js +2 -0
  69. package/dist/frontend-ssr/api/tags.js +2 -0
  70. package/dist/frontend-ssr/assets/CategoryDialog-C2xaZKHq.js +584 -0
  71. package/dist/frontend-ssr/assets/ConfirmDialog-DjMFKc0V.js +420 -0
  72. package/dist/frontend-ssr/assets/CreateSnapshotDialog-BRw1xJW1.js +214 -0
  73. package/dist/frontend-ssr/assets/DatePicker-DnXniwlZ.js +312 -0
  74. package/dist/frontend-ssr/assets/DeleteDialog-BCfZy3Zn.js +154 -0
  75. package/dist/frontend-ssr/assets/FolderDialog-Dq7I2cKZ.js +429 -0
  76. package/dist/frontend-ssr/assets/FolderNode-DRfBfpft.js +171 -0
  77. package/dist/frontend-ssr/assets/FolderTreeSelector-DZNZ2oI6.js +147 -0
  78. package/dist/frontend-ssr/assets/Icon-B0Zqppjo.js +231 -0
  79. package/dist/frontend-ssr/assets/SettingsDialog-CX8Noa8A.js +1107 -0
  80. package/dist/frontend-ssr/assets/ShareDialog-Cge49ZdJ.js +54 -0
  81. package/dist/frontend-ssr/assets/TagCreateDialog-EAChgBF-.js +264 -0
  82. package/dist/frontend-ssr/assets/api-keys-DFqX39MT.js +35 -0
  83. package/dist/frontend-ssr/assets/attachments-CWBxE3Vz.js +85 -0
  84. package/dist/frontend-ssr/assets/auth-client-x26kqY8Z.js +1286 -0
  85. package/dist/frontend-ssr/assets/camera-CdxscTw-.js +84 -0
  86. package/dist/frontend-ssr/assets/categories-AOqgcsn4.js +75 -0
  87. package/dist/frontend-ssr/assets/chevron-down-CSSNGNh_.js +80 -0
  88. package/dist/frontend-ssr/assets/chevron-right-B4p7Sk6X.js +80 -0
  89. package/dist/frontend-ssr/assets/circle-check-CI1v4vYh.js +84 -0
  90. package/dist/frontend-ssr/assets/client-DZMkDkDn.js +129 -0
  91. package/dist/frontend-ssr/assets/clipboard-CXOaoz2W.js +30 -0
  92. package/dist/frontend-ssr/assets/clock-IL-eX2di.js +84 -0
  93. package/dist/frontend-ssr/assets/context-jz1GGEUi.js +45 -0
  94. package/dist/frontend-ssr/assets/copy-CjV57nGQ.js +87 -0
  95. package/dist/frontend-ssr/assets/db-CnxeO66n.js +65 -0
  96. package/dist/frontend-ssr/assets/dialog-BOV1u6zP.js +157 -0
  97. package/dist/frontend-ssr/assets/dndzone-DMvTO_Jz.js +2114 -0
  98. package/dist/frontend-ssr/assets/document-drop-coordinator-CEaYACsC.js +109 -0
  99. package/dist/frontend-ssr/assets/documents-BnOTRdTY.js +108 -0
  100. package/dist/frontend-ssr/assets/editorExtensions-DUzwndMy.js +186 -0
  101. package/dist/frontend-ssr/assets/ellipsis-vertical-C-0hgkZn.js +555 -0
  102. package/dist/frontend-ssr/assets/floating-layer-anchor-uzw9K8qN.js +6114 -0
  103. package/dist/frontend-ssr/assets/folder-DChhG7qN.js +80 -0
  104. package/dist/frontend-ssr/assets/folders-CTfbS24J.js +127 -0
  105. package/dist/frontend-ssr/assets/identity-B3uHoDtf.js +99 -0
  106. package/dist/frontend-ssr/assets/input-DezGsU3y.js +19 -0
  107. package/dist/frontend-ssr/assets/keyboard.svelte-BgF47N3L.js +174 -0
  108. package/dist/frontend-ssr/assets/label-Bj8-TfFN.js +21 -0
  109. package/dist/frontend-ssr/assets/loader-circle-DZsrZ-er.js +80 -0
  110. package/dist/frontend-ssr/assets/markdown-CjqvGi5W.js +20 -0
  111. package/dist/frontend-ssr/assets/messages-DhXqlcJI.js +11125 -0
  112. package/dist/frontend-ssr/assets/resolve-BqHozBXl.js +32 -0
  113. package/dist/frontend-ssr/assets/rotate-ccw-BlgWwaiq.js +80 -0
  114. package/dist/frontend-ssr/assets/select-value-DngdSmLI.js +1526 -0
  115. package/dist/frontend-ssr/assets/settings-E6qSAWM2.js +64 -0
  116. package/dist/frontend-ssr/assets/share-BTBJelxA.js +30 -0
  117. package/dist/frontend-ssr/assets/subfolders-refresh-store.svelte-DAh4gT16.js +77 -0
  118. package/dist/frontend-ssr/assets/tag-GZEuGWk1.js +166 -0
  119. package/dist/frontend-ssr/assets/tag-store.svelte-DPodKj6Z.js +21 -0
  120. package/dist/frontend-ssr/assets/tags-BId2wdYd.js +49 -0
  121. package/dist/frontend-ssr/assets/textarea-Dev-qSEc.js +21 -0
  122. package/dist/frontend-ssr/assets/theme.svelte-Co0-ssaD.js +67 -0
  123. package/dist/frontend-ssr/assets/utils-DtlPPXpJ.js +9 -0
  124. package/dist/frontend-ssr/assets/utils-DvZnctjz.js +23 -0
  125. package/dist/frontend-ssr/collaboration.js +39 -0
  126. package/dist/frontend-ssr/components/category-dialog.js +2 -0
  127. package/dist/frontend-ssr/components/create-snapshot-dialog.js +2 -0
  128. package/dist/frontend-ssr/components/delete-dialog.js +2 -0
  129. package/dist/frontend-ssr/components/editor/document-editor.js +2499 -0
  130. package/dist/frontend-ssr/components/editor/document-title.js +11 -0
  131. package/dist/frontend-ssr/components/editor/docx-serializer.js +186 -0
  132. package/dist/frontend-ssr/components/editor/extensions.js +2 -0
  133. package/dist/frontend-ssr/components/editor/markdown-toggle.js +20 -0
  134. package/dist/frontend-ssr/components/editor/markdown.js +2 -0
  135. package/dist/frontend-ssr/components/folder-node.js +2 -0
  136. package/dist/frontend-ssr/components/folder-tree-selector.js +2 -0
  137. package/dist/frontend-ssr/components/save-as-dialog.js +280 -0
  138. package/dist/frontend-ssr/components/settings.js +2 -0
  139. package/dist/frontend-ssr/components/share-dialog.js +2 -0
  140. package/dist/frontend-ssr/components/sidebar.js +2033 -0
  141. package/dist/frontend-ssr/components/tag-create-dialog.js +2 -0
  142. package/dist/frontend-ssr/components/version-history.js +370 -0
  143. package/dist/frontend-ssr/dashboard.js +2542 -0
  144. package/dist/frontend-ssr/doc-tabs.js +23 -0
  145. package/dist/frontend-ssr/document-drop-coordinator.js +2 -0
  146. package/dist/frontend-ssr/extension.js +13 -0
  147. package/dist/frontend-ssr/folder-refresh.js +2 -0
  148. package/dist/frontend-ssr/i18n.js +10 -0
  149. package/dist/frontend-ssr/keyboard.js +2 -0
  150. package/dist/frontend-ssr/offline/identity.js +2 -0
  151. package/dist/frontend-ssr/search.js +332 -0
  152. package/dist/frontend-ssr/shared-document.js +273 -0
  153. package/dist/frontend-ssr/theme.js +9 -0
  154. package/dist/frontend-ssr/types.js +1 -0
  155. package/dist/frontend-ssr/utils/clipboard.js +2 -0
  156. package/dist/frontend-ssr/utils/dndzone.js +2 -0
  157. package/dist/frontend-ssr/utils.js +2 -0
  158. package/package.json +22 -1
  159. package/packages/cli/src/index.ts +1 -1
  160. package/packages/db/src/schema.ts +3 -0
  161. package/packages/mcp-server/src/index.ts +1 -1
  162. package/dist/frontend/CategoryDialog--rIE7FrH.js +0 -580
  163. package/dist/frontend/ConfirmDialog-Cpzyb55f.js +0 -212
  164. package/dist/frontend/CreateSnapshotDialog-CmkV-n2A.js +0 -216
  165. package/dist/frontend/DatePicker-Byynca7V.js +0 -257
  166. package/dist/frontend/DeleteDialog-ap6nOywZ.js +0 -174
  167. package/dist/frontend/FolderDialog-DmN_trV0.js +0 -247
  168. package/dist/frontend/FolderNode-C4B8a2fd.js +0 -317
  169. package/dist/frontend/FolderTreeSelector-D6ijiZTA.js +0 -100
  170. package/dist/frontend/Icon-DtNo0N1U.js +0 -64
  171. package/dist/frontend/SettingsDialog-2kTaTXAs.js +0 -992
  172. package/dist/frontend/ShareDialog-BBDGNF5n.js +0 -165
  173. package/dist/frontend/TagCreateDialog-DiLZnJo4.js +0 -258
  174. package/dist/frontend/camera-B7dAOd4s.js +0 -28
  175. package/dist/frontend/check-CDwRlG9T.js +0 -24
  176. package/dist/frontend/chevron-down-B7ZrjUmT.js +0 -24
  177. package/dist/frontend/circle-check-CDqeMB2d.js +0 -28
  178. package/dist/frontend/client-Bc5Fzx40.js +0 -2785
  179. package/dist/frontend/clock-Ck5Sn-Zl.js +0 -28
  180. package/dist/frontend/clsx-nmtDPO_P.js +0 -16
  181. package/dist/frontend/copy-CMAA6GP0.js +0 -31
  182. package/dist/frontend/dialog-BDkiG42a.js +0 -213
  183. package/dist/frontend/disclose-version-5I57E3LD.js +0 -3
  184. package/dist/frontend/ellipsis-vertical-BBuPldbW.js +0 -519
  185. package/dist/frontend/folder-TQjKY4yn.js +0 -44
  186. package/dist/frontend/index-client-jobkrWVL.js +0 -86
  187. package/dist/frontend/input-CBI6p4Xl.js +0 -23
  188. package/dist/frontend/label-C-GkhEp4.js +0 -30
  189. package/dist/frontend/rotate-ccw-CleZtJ5D.js +0 -24
  190. package/dist/frontend/select-value-CvrWRkXW.js +0 -1436
  191. package/dist/frontend/subfolders-refresh-store.svelte-BsheoQma.js +0 -65
  192. package/dist/frontend/tag-Dx3SmucJ.js +0 -53
  193. package/dist/frontend/tag-store.svelte-CIaF4sdZ.js +0 -29
  194. package/dist/frontend/textarea-Dfp78XlL.js +0 -23
  195. package/dist/frontend/theme.svelte-CROg1Hi5.js +0 -49
  196. package/dist/frontend/x-DaTdeDXv.js +0 -24
@@ -0,0 +1,312 @@
1
+ import { $ as month_june, B as weekday_su, G as weekday_tu, H as weekday_fr, J as month_november, K as weekday_mo, Q as month_july, R as date_picker_aria, U as weekday_th, V as weekday_sa, W as weekday_we, X as month_september, Y as month_october, Z as month_august, et as month_may, it as month_january, nt as month_march, q as month_december, rt as month_february, tt as month_april, z as date_picker_placeholder } from "./messages-DhXqlcJI.js";
2
+ import { t as cn } from "./utils-DtlPPXpJ.js";
3
+ import { t as Icon } from "./Icon-B0Zqppjo.js";
4
+ import * as $ from "svelte/internal/server";
5
+ import { tv } from "tailwind-variants";
6
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/badge.svelte
7
+ function Badge($$renderer, $$props) {
8
+ $$renderer.component(($$renderer) => {
9
+ let { ref = null, class: className, variant = "default", children, $$slots, $$events, ...restProps } = $$props;
10
+ $$renderer.push(`<div${$.attributes({
11
+ class: $.clsx(cn(badgeVariants({ variant }), className)),
12
+ ...restProps
13
+ })}>`);
14
+ if (children) {
15
+ $$renderer.push("<!--[0-->");
16
+ children($$renderer);
17
+ $$renderer.push(`<!---->`);
18
+ } else $$renderer.push("<!--[-1-->");
19
+ $$renderer.push(`<!--]--></div>`);
20
+ $.bind_props($$props, { ref });
21
+ });
22
+ }
23
+ //#endregion
24
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/index.js
25
+ var badgeVariants = tv({
26
+ 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",
27
+ variants: { variant: {
28
+ default: "border-transparent bg-primary text-primary-foreground shadow",
29
+ secondary: "border-transparent bg-secondary text-secondary-foreground",
30
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow",
31
+ outline: "text-foreground"
32
+ } },
33
+ defaultVariants: { variant: "default" }
34
+ });
35
+ //#endregion
36
+ //#region ../node_modules/.bun/lucide-svelte@1.0.1+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/calendar.svelte
37
+ function Calendar($$renderer, $$props) {
38
+ const $$sanitized_props = $.sanitize_props($$props);
39
+ /**
40
+ * @license lucide-svelte v1.0.1 - ISC
41
+ *
42
+ * ISC License
43
+ *
44
+ * Copyright (c) 2026 Lucide Icons and Contributors
45
+ *
46
+ * Permission to use, copy, modify, and/or distribute this software for any
47
+ * purpose with or without fee is hereby granted, provided that the above
48
+ * copyright notice and this permission notice appear in all copies.
49
+ *
50
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
51
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
52
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
53
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
54
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
55
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
56
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
57
+ *
58
+ * ---
59
+ *
60
+ * The following Lucide icons are derived from the Feather project:
61
+ *
62
+ * 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
63
+ *
64
+ * The MIT License (MIT) (for the icons listed above)
65
+ *
66
+ * Copyright (c) 2013-present Cole Bemis
67
+ *
68
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ * of this software and associated documentation files (the "Software"), to deal
70
+ * in the Software without restriction, including without limitation the rights
71
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ * copies of the Software, and to permit persons to whom the Software is
73
+ * furnished to do so, subject to the following conditions:
74
+ *
75
+ * The above copyright notice and this permission notice shall be included in all
76
+ * copies or substantial portions of the Software.
77
+ *
78
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
84
+ * SOFTWARE.
85
+ *
86
+ */
87
+ Icon($$renderer, $.spread_props([
88
+ { name: "calendar" },
89
+ $$sanitized_props,
90
+ {
91
+ /**
92
+ * @component @name Calendar
93
+ * @description Lucide SVG icon component, renders SVG Element with children.
94
+ *
95
+ * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOCAydjQiIC8+CiAgPHBhdGggZD0iTTE2IDJ2NCIgLz4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjQiIHJ4PSIyIiAvPgogIDxwYXRoIGQ9Ik0zIDEwaDE4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/calendar
96
+ * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation
97
+ *
98
+ * @param {Object} props - Lucide icons props and any valid SVG attribute
99
+ * @returns {FunctionalComponent} Svelte component
100
+ *
101
+ */
102
+ iconNode: [
103
+ ["path", { "d": "M8 2v4" }],
104
+ ["path", { "d": "M16 2v4" }],
105
+ ["rect", {
106
+ "width": "18",
107
+ "height": "18",
108
+ "x": "3",
109
+ "y": "4",
110
+ "rx": "2"
111
+ }],
112
+ ["path", { "d": "M3 10h18" }]
113
+ ],
114
+ children: ($$renderer) => {
115
+ $$renderer.push(`<!--[-->`);
116
+ $.slot($$renderer, $$props, "default", {}, null);
117
+ $$renderer.push(`<!--]-->`);
118
+ },
119
+ $$slots: { default: true }
120
+ }
121
+ ]));
122
+ }
123
+ //#endregion
124
+ //#region ../node_modules/.bun/lucide-svelte@1.0.1+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/folder-kanban.svelte
125
+ function Folder_kanban($$renderer, $$props) {
126
+ const $$sanitized_props = $.sanitize_props($$props);
127
+ /**
128
+ * @license lucide-svelte v1.0.1 - ISC
129
+ *
130
+ * ISC License
131
+ *
132
+ * Copyright (c) 2026 Lucide Icons and Contributors
133
+ *
134
+ * Permission to use, copy, modify, and/or distribute this software for any
135
+ * purpose with or without fee is hereby granted, provided that the above
136
+ * copyright notice and this permission notice appear in all copies.
137
+ *
138
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
139
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
140
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
141
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
142
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
143
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
144
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
145
+ *
146
+ * ---
147
+ *
148
+ * The following Lucide icons are derived from the Feather project:
149
+ *
150
+ * 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
151
+ *
152
+ * The MIT License (MIT) (for the icons listed above)
153
+ *
154
+ * Copyright (c) 2013-present Cole Bemis
155
+ *
156
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
157
+ * of this software and associated documentation files (the "Software"), to deal
158
+ * in the Software without restriction, including without limitation the rights
159
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
160
+ * copies of the Software, and to permit persons to whom the Software is
161
+ * furnished to do so, subject to the following conditions:
162
+ *
163
+ * The above copyright notice and this permission notice shall be included in all
164
+ * copies or substantial portions of the Software.
165
+ *
166
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
167
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
168
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
169
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
170
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
171
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
172
+ * SOFTWARE.
173
+ *
174
+ */
175
+ Icon($$renderer, $.spread_props([
176
+ { name: "folder-kanban" },
177
+ $$sanitized_props,
178
+ {
179
+ /**
180
+ * @component @name FolderKanban
181
+ * @description Lucide SVG icon component, renders SVG Element with children.
182
+ *
183
+ * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAyMGgxNmEyIDIgMCAwIDAgMi0yVjhhMiAyIDAgMCAwLTItMmgtNy45M2EyIDIgMCAwIDEtMS42Ni0uOWwtLjgyLTEuMkEyIDIgMCAwIDAgNy45MyAzSDRhMiAyIDAgMCAwLTIgMnYxM2MwIDEuMS45IDIgMiAyWiIgLz4KICA8cGF0aCBkPSJNOCAxMHY0IiAvPgogIDxwYXRoIGQ9Ik0xMiAxMHYyIiAvPgogIDxwYXRoIGQ9Ik0xNiAxMHY2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/folder-kanban
184
+ * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation
185
+ *
186
+ * @param {Object} props - Lucide icons props and any valid SVG attribute
187
+ * @returns {FunctionalComponent} Svelte component
188
+ *
189
+ */
190
+ iconNode: [
191
+ ["path", { "d": "M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z" }],
192
+ ["path", { "d": "M8 10v4" }],
193
+ ["path", { "d": "M12 10v2" }],
194
+ ["path", { "d": "M16 10v6" }]
195
+ ],
196
+ children: ($$renderer) => {
197
+ $$renderer.push(`<!--[-->`);
198
+ $.slot($$renderer, $$props, "default", {}, null);
199
+ $$renderer.push(`<!--]-->`);
200
+ },
201
+ $$slots: { default: true }
202
+ }
203
+ ]));
204
+ }
205
+ //#endregion
206
+ //#region ../node_modules/.bun/lucide-svelte@1.0.1+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/x.svelte
207
+ function X($$renderer, $$props) {
208
+ const $$sanitized_props = $.sanitize_props($$props);
209
+ /**
210
+ * @license lucide-svelte v1.0.1 - ISC
211
+ *
212
+ * ISC License
213
+ *
214
+ * Copyright (c) 2026 Lucide Icons and Contributors
215
+ *
216
+ * Permission to use, copy, modify, and/or distribute this software for any
217
+ * purpose with or without fee is hereby granted, provided that the above
218
+ * copyright notice and this permission notice appear in all copies.
219
+ *
220
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
221
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
222
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
223
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
224
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
225
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
226
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
227
+ *
228
+ * ---
229
+ *
230
+ * The following Lucide icons are derived from the Feather project:
231
+ *
232
+ * 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
233
+ *
234
+ * The MIT License (MIT) (for the icons listed above)
235
+ *
236
+ * Copyright (c) 2013-present Cole Bemis
237
+ *
238
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
239
+ * of this software and associated documentation files (the "Software"), to deal
240
+ * in the Software without restriction, including without limitation the rights
241
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
242
+ * copies of the Software, and to permit persons to whom the Software is
243
+ * furnished to do so, subject to the following conditions:
244
+ *
245
+ * The above copyright notice and this permission notice shall be included in all
246
+ * copies or substantial portions of the Software.
247
+ *
248
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
249
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
250
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
251
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
252
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
253
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
254
+ * SOFTWARE.
255
+ *
256
+ */
257
+ Icon($$renderer, $.spread_props([
258
+ { name: "x" },
259
+ $$sanitized_props,
260
+ {
261
+ /**
262
+ * @component @name X
263
+ * @description Lucide SVG icon component, renders SVG Element with children.
264
+ *
265
+ * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggNiA2IDE4IiAvPgogIDxwYXRoIGQ9Im02IDYgMTIgMTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/x
266
+ * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation
267
+ *
268
+ * @param {Object} props - Lucide icons props and any valid SVG attribute
269
+ * @returns {FunctionalComponent} Svelte component
270
+ *
271
+ */
272
+ iconNode: [["path", { "d": "M18 6 6 18" }], ["path", { "d": "m6 6 12 12" }]],
273
+ children: ($$renderer) => {
274
+ $$renderer.push(`<!--[-->`);
275
+ $.slot($$renderer, $$props, "default", {}, null);
276
+ $$renderer.push(`<!--]-->`);
277
+ },
278
+ $$slots: { default: true }
279
+ }
280
+ ]));
281
+ }
282
+ //#endregion
283
+ //#region src/lib/components/DatePicker.svelte
284
+ function DatePicker($$renderer, $$props) {
285
+ $$renderer.component(($$renderer) => {
286
+ let { value = "", onchange, id, ariaLabel = date_picker_aria(), placeholder = date_picker_placeholder() } = $$props;
287
+ let open = false;
288
+ weekday_mo(), weekday_tu(), weekday_we(), weekday_th(), weekday_fr(), weekday_sa(), weekday_su();
289
+ month_january(), month_february(), month_march(), month_april(), month_may(), month_june(), month_july(), month_august(), month_september(), month_october(), month_november(), month_december();
290
+ function parse(v) {
291
+ const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(v);
292
+ if (!match) return null;
293
+ return {
294
+ y: Number(match[1]),
295
+ m: Number(match[2]) - 1,
296
+ d: Number(match[3])
297
+ };
298
+ }
299
+ const today = /* @__PURE__ */ new Date();
300
+ today.getFullYear();
301
+ today.getMonth();
302
+ $.derived(() => parse(value));
303
+ $$renderer.push(`<div class="datepicker svelte-zmry26"><button type="button"${$.attr("id", id)}${$.attr("aria-label", ariaLabel)} aria-haspopup="dialog"${$.attr("aria-expanded", open)} class="dp-trigger svelte-zmry26">`);
304
+ Calendar($$renderer, { class: "size-3.5 shrink-0 opacity-70" });
305
+ $$renderer.push(`<!----> <span${$.attr_class($.clsx(value ? "" : "dp-placeholder"), "svelte-zmry26")}>${$.escape(value || placeholder)}</span></button> `);
306
+ $$renderer.push("<!--[-1-->");
307
+ $$renderer.push(`<!--]--></div>`);
308
+ $.bind_props($$props, { value });
309
+ });
310
+ }
311
+ //#endregion
312
+ export { Badge as a, Calendar as i, X as n, Folder_kanban as r, DatePicker as t };
@@ -0,0 +1,154 @@
1
+ import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./dialog-BOV1u6zP.js";
2
+ import { t as Circle_check } from "./circle-check-CI1v4vYh.js";
3
+ import { t as Loader_circle } from "./loader-circle-DZsrZ-er.js";
4
+ import * as $ from "svelte/internal/server";
5
+ //#region src/lib/components/DeleteDialog.svelte
6
+ function DeleteDialog($$renderer, $$props) {
7
+ $$renderer.component(($$renderer) => {
8
+ let { open = false, targetName, title, description, successTitle, successDescription, confirmLabel = "Delete", cancelLabel = "Cancel", doneLabel = "Done", errorFallback = "Failed to delete", onConfirm, onCancel } = $$props;
9
+ let busy = false;
10
+ let success = false;
11
+ let error = null;
12
+ async function handleConfirm() {
13
+ if (busy || success) return;
14
+ busy = true;
15
+ error = null;
16
+ try {
17
+ await onConfirm?.();
18
+ success = true;
19
+ } catch (cause) {
20
+ console.error("DeleteDialog: delete failed", cause);
21
+ error = cause instanceof Error && cause.message.trim() ? cause.message : errorFallback;
22
+ } finally {
23
+ busy = false;
24
+ }
25
+ }
26
+ function handleCancel() {
27
+ if (busy) return;
28
+ open = false;
29
+ onCancel?.();
30
+ }
31
+ function handleOpenChange(next) {
32
+ if (!next && busy) {
33
+ open = true;
34
+ return;
35
+ }
36
+ if (!next) handleCancel();
37
+ }
38
+ let $$settled = true;
39
+ let $$inner_renderer;
40
+ function $$render_inner($$renderer) {
41
+ Dialog($$renderer, {
42
+ onOpenChange: handleOpenChange,
43
+ get open() {
44
+ return open;
45
+ },
46
+ set open($$value) {
47
+ open = $$value;
48
+ $$settled = false;
49
+ },
50
+ children: ($$renderer) => {
51
+ if (success) {
52
+ $$renderer.push("<!--[0-->");
53
+ Dialog_header($$renderer, {
54
+ children: ($$renderer) => {
55
+ Dialog_title($$renderer, {
56
+ children: ($$renderer) => {
57
+ $$renderer.push(`<!---->${$.escape(successTitle)}`);
58
+ },
59
+ $$slots: { default: true }
60
+ });
61
+ $$renderer.push(`<!----> `);
62
+ Dialog_description($$renderer, {
63
+ children: ($$renderer) => {
64
+ $$renderer.push(`<span class="font-medium text-foreground">“${$.escape(targetName)}”</span> ${$.escape(successDescription)}`);
65
+ },
66
+ $$slots: { default: true }
67
+ });
68
+ $$renderer.push(`<!---->`);
69
+ },
70
+ $$slots: { default: true }
71
+ });
72
+ $$renderer.push(`<!----> <div class="flex items-start gap-3 rounded-lg border border-primary/30 bg-primary/10 p-4" role="status" aria-live="polite">`);
73
+ Circle_check($$renderer, { class: "mt-0.5 size-5 shrink-0 text-primary" });
74
+ $$renderer.push(`<!----> <p class="text-sm text-muted-foreground"><span class="font-medium text-foreground">“${$.escape(targetName)}”</span> ${$.escape(successDescription)}</p></div>`);
75
+ } else {
76
+ $$renderer.push("<!--[-1-->");
77
+ Dialog_header($$renderer, {
78
+ children: ($$renderer) => {
79
+ Dialog_title($$renderer, {
80
+ children: ($$renderer) => {
81
+ $$renderer.push(`<!---->${$.escape(title)}`);
82
+ },
83
+ $$slots: { default: true }
84
+ });
85
+ $$renderer.push(`<!----> `);
86
+ Dialog_description($$renderer, {
87
+ children: ($$renderer) => {
88
+ $$renderer.push(`<!---->Delete <span class="font-medium text-foreground">“${$.escape(targetName)}”</span>?
89
+ ${$.escape(description)}`);
90
+ },
91
+ $$slots: { default: true }
92
+ });
93
+ $$renderer.push(`<!---->`);
94
+ },
95
+ $$slots: { default: true }
96
+ });
97
+ $$renderer.push(`<!----> `);
98
+ if (error) {
99
+ $$renderer.push("<!--[0-->");
100
+ $$renderer.push(`<p class="text-sm text-destructive" role="alert">${$.escape(error)}</p>`);
101
+ } else $$renderer.push("<!--[-1-->");
102
+ $$renderer.push(`<!--]-->`);
103
+ }
104
+ $$renderer.push(`<!--]--> `);
105
+ Dialog_footer($$renderer, {
106
+ children: ($$renderer) => {
107
+ if (!success) {
108
+ $$renderer.push("<!--[0-->");
109
+ Button($$renderer, {
110
+ variant: "outline",
111
+ type: "button",
112
+ onclick: handleCancel,
113
+ disabled: busy,
114
+ children: ($$renderer) => {
115
+ $$renderer.push(`<!---->${$.escape(cancelLabel)}`);
116
+ },
117
+ $$slots: { default: true }
118
+ });
119
+ } else $$renderer.push("<!--[-1-->");
120
+ $$renderer.push(`<!--]--> `);
121
+ Button($$renderer, {
122
+ type: "button",
123
+ variant: success ? "default" : "destructive",
124
+ onclick: success ? handleCancel : handleConfirm,
125
+ disabled: busy,
126
+ children: ($$renderer) => {
127
+ if (busy) {
128
+ $$renderer.push("<!--[0-->");
129
+ Loader_circle($$renderer, { class: "mr-1 size-4 animate-spin" });
130
+ } else $$renderer.push("<!--[-1-->");
131
+ $$renderer.push(`<!--]--> ${$.escape(success ? doneLabel : confirmLabel)}`);
132
+ },
133
+ $$slots: { default: true }
134
+ });
135
+ $$renderer.push(`<!---->`);
136
+ },
137
+ $$slots: { default: true }
138
+ });
139
+ $$renderer.push(`<!---->`);
140
+ },
141
+ $$slots: { default: true }
142
+ });
143
+ }
144
+ do {
145
+ $$settled = true;
146
+ $$inner_renderer = $$renderer.copy();
147
+ $$render_inner($$inner_renderer);
148
+ } while (!$$settled);
149
+ $$renderer.subsume($$inner_renderer);
150
+ $.bind_props($$props, { open });
151
+ });
152
+ }
153
+ //#endregion
154
+ export { DeleteDialog as t };