@hiai-gg/docsmint 0.7.6 → 0.8.2

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 (84) hide show
  1. package/README.md +46 -113
  2. package/dist/backend/index.js +860 -132
  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/client.d.ts +4 -3
  7. package/dist/client.js +9 -6
  8. package/dist/frontend/{CategoryDialog-D_xFSWGh.js → CategoryDialog-B6zqtwE6.js} +2 -2
  9. package/dist/frontend/{ConfirmDialog-Cfq3D2Di.js → ConfirmDialog-Dk7wwcj9.js} +1 -1
  10. package/dist/frontend/{CreateSnapshotDialog-BHODxZWK.js → CreateSnapshotDialog-BPYjO1qN.js} +2 -2
  11. package/dist/frontend/{DatePicker-CZyCnQ1q.js → DatePicker-SiGLx9yh.js} +46 -46
  12. package/dist/frontend/{DeleteDialog-DaJOO6SB.js → DeleteDialog-D1jox8h1.js} +2 -2
  13. package/dist/frontend/{FolderNode-C_91NlEO.js → FolderNode-BG4l6I5C.js} +100 -99
  14. package/dist/frontend/{HiAiEditor-DtUGbQg6.js → HiAiEditor-BpmzvTCP.js} +977 -1008
  15. package/dist/frontend/{SettingsDialog-BlIZqk2-.js → SettingsDialog-2d6ZA4Ze.js} +3 -3
  16. package/dist/frontend/Sidebar-Db_ffhAb.js +2149 -0
  17. package/dist/frontend/{TagCreateDialog-BlGz4O9Z.js → TagCreateDialog-C5j3H49u.js} +2 -2
  18. package/dist/frontend/app-shell.js +3 -3
  19. package/dist/frontend/components/category-dialog.js +1 -1
  20. package/dist/frontend/components/create-snapshot-dialog.js +1 -1
  21. package/dist/frontend/components/delete-dialog.js +1 -1
  22. package/dist/frontend/components/editor/compact-editor.js +1 -1
  23. package/dist/frontend/components/editor/document-editor.js +1 -1
  24. package/dist/frontend/components/editor/extensions.js +1 -1
  25. package/dist/frontend/components/editor/markdown-toggle.js +1 -1
  26. package/dist/frontend/components/editor/markdown.js +1 -1
  27. package/dist/frontend/components/folder-node.js +1 -1
  28. package/dist/frontend/components/save-as-dialog.js +2 -2
  29. package/dist/frontend/components/settings.js +1 -1
  30. package/dist/frontend/components/sidebar.js +1 -1
  31. package/dist/frontend/components/tag-create-dialog.js +1 -1
  32. package/dist/frontend/components/version-history.js +3 -3
  33. package/dist/frontend/dashboard.js +1034 -1034
  34. package/dist/frontend/{dialog-tHAH3-9M.js → dialog-DC97Hnxo.js} +1 -1
  35. package/dist/frontend/dist-BLpDfrDC.js +316 -0
  36. package/dist/frontend/dist-D7zL6zdU.js +40 -0
  37. package/dist/frontend/{dist-Cg1BpNS7.js → dist-qd_OnyUC.js} +492 -516
  38. package/dist/frontend/dropdown-menu-COZwS7c0.js +493 -0
  39. package/dist/frontend/editorExtensions-Cu__YKW7.js +158 -0
  40. package/dist/frontend/ellipsis-vertical-CObXWXZW.js +41 -0
  41. package/dist/frontend/frontend.css +1 -1
  42. package/dist/frontend/{editorExtensions-B-mKiWqq.js → lib-DYgslUw1.js} +6782 -6935
  43. package/dist/frontend/loader-circle-DnyUzAmN.js +25 -0
  44. package/dist/frontend/{markdown-CMij27Gg.js → markdown-Co8ZAKf4.js} +2 -1
  45. package/dist/frontend/search.js +2 -2
  46. package/dist/frontend/{confirm-dialog-BFTxjLv-.js → share-context-DooXPYKd.js} +2 -3
  47. package/dist/frontend/theme.js +1 -1
  48. package/dist/frontend/{theme.svelte-Bzitjfh9.js → theme.svelte-gLPpG6eU.js} +1 -0
  49. package/dist/frontend-ssr/app-shell.js +3 -3
  50. package/dist/frontend-ssr/assets/{FolderNode-CClgk8BL.js → FolderNode-CscMQ9sf.js} +2 -1
  51. package/dist/frontend-ssr/assets/{HiAiEditor-_-m7MJDd.js → HiAiEditor-DCpulE6N.js} +4 -50
  52. package/dist/frontend-ssr/assets/{SettingsDialog-BdvHRAxF.js → SettingsDialog-CpPxZahd.js} +1 -1
  53. package/dist/frontend-ssr/assets/{Sidebar-B3Saqn0O.js → Sidebar-BJ1XZ1DH.js} +7 -5
  54. package/dist/frontend-ssr/assets/dist-CshZmNmp.js +50 -0
  55. package/dist/frontend-ssr/assets/dist-DqeAICTy.js +300 -0
  56. package/dist/frontend-ssr/assets/{dropdown-menu-CdEpn_LT.js → dropdown-menu--acO7nXs.js} +1 -94
  57. package/dist/frontend-ssr/assets/ellipsis-vertical-BErUuhWg.js +96 -0
  58. package/dist/frontend-ssr/assets/{markdown-MhPwNWrC.js → markdown-Co31-Tl2.js} +1 -1
  59. package/dist/frontend-ssr/assets/{confirm-dialog-DeOR0SnQ.js → share-context-BvXQrIIH.js} +0 -1
  60. package/dist/frontend-ssr/assets/{theme.svelte-shZrSxz8.js → theme.svelte-CGgnJc3k.js} +1 -0
  61. package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
  62. package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
  63. package/dist/frontend-ssr/components/editor/extensions.js +1 -1
  64. package/dist/frontend-ssr/components/editor/markdown-toggle.js +1 -1
  65. package/dist/frontend-ssr/components/editor/markdown.js +1 -1
  66. package/dist/frontend-ssr/components/folder-node.js +1 -1
  67. package/dist/frontend-ssr/components/settings.js +1 -1
  68. package/dist/frontend-ssr/components/sidebar.js +1 -1
  69. package/dist/frontend-ssr/dashboard.js +6 -4
  70. package/dist/frontend-ssr/search.js +1 -1
  71. package/dist/frontend-ssr/theme.js +1 -1
  72. package/dist/lifecycle-runtime.js +42 -4
  73. package/dist/mcp-cli.js +9 -6
  74. package/dist/mcp-server.js +9 -6
  75. package/dist/types.d.ts +12 -0
  76. package/package.json +1 -1
  77. package/packages/cli/src/index.ts +1 -1
  78. package/packages/db/src/schema.ts +2 -0
  79. package/server.json +2 -2
  80. package/skills/docsmint-document-manager/SKILL.md +2 -2
  81. package/dist/frontend/Sidebar-BVGm5BRR.js +0 -2147
  82. package/dist/frontend/dropdown-menu-AJYeFPHu.js +0 -530
  83. package/dist/frontend-ssr/assets/{DatePicker-TZVeMZ2S.js → DatePicker-CCylVH0q.js} +12 -12
  84. package/dist/frontend-ssr/assets/{editorExtensions-qNlZVP98.js → editorExtensions-rhletNji.js} +1 -1
@@ -1,530 +0,0 @@
1
- import { t as e } from "./Icon-y7xxAIC6.js";
2
- import { t } from "./utils-B4LKx7VS.js";
3
- import { Q as n, S as r, a as i, d as a, et as o, f as s, i as c, l, n as u, o as d, r as f, s as p, t as m, u as h, x as g } from "./popper-layer-force-mount-BAYjg6Pp.js";
4
- import "svelte/internal/disclose-version";
5
- import * as _ from "svelte/internal/client";
6
- import "svelte/internal/flags/legacy";
7
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/ellipsis-vertical.svelte
8
- function v(t, n) {
9
- let r = _.legacy_rest_props(n, [
10
- "children",
11
- "$$slots",
12
- "$$events",
13
- "$$legacy"
14
- ]), i = [
15
- ["circle", {
16
- cx: "12",
17
- cy: "12",
18
- r: "1"
19
- }],
20
- ["circle", {
21
- cx: "12",
22
- cy: "5",
23
- r: "1"
24
- }],
25
- ["circle", {
26
- cx: "12",
27
- cy: "19",
28
- r: "1"
29
- }]
30
- ];
31
- e(t, _.spread_props({ name: "ellipsis-vertical" }, () => r, {
32
- get iconNode() {
33
- return i;
34
- },
35
- children: (e, t) => {
36
- var r = _.comment(), i = _.first_child(r);
37
- _.slot(i, n, "default", {}, null), _.append(e, r);
38
- },
39
- $$slots: { default: !0 }
40
- }));
41
- }
42
- //#endregion
43
- //#region ../node_modules/.bun/bits-ui@2.19.0+6b8313878b0747a6/node_modules/bits-ui/dist/bits/menu/components/menu-item.svelte
44
- var y = /* @__PURE__ */ new Set([
45
- "$$slots",
46
- "$$events",
47
- "$$legacy",
48
- "child",
49
- "children",
50
- "ref",
51
- "id",
52
- "disabled",
53
- "onSelect",
54
- "closeOnSelect"
55
- ]), b = _.from_html("<div><!></div>");
56
- function x(e, t) {
57
- let i = _.props_id();
58
- _.push(t, !0);
59
- let a = _.prop(t, "ref", 15, null), s = _.prop(t, "id", 19, () => g(i)), c = _.prop(t, "disabled", 3, !1), u = _.prop(t, "onSelect", 3, r), d = _.prop(t, "closeOnSelect", 3, !0), f = _.rest_props(t, y), p = l.create({
60
- id: o(() => s()),
61
- disabled: o(() => c()),
62
- onSelect: o(() => u()),
63
- ref: o(() => a(), (e) => a(e)),
64
- closeOnSelect: o(() => d())
65
- }), m = _.derived(() => n(f, p.props));
66
- var h = _.comment(), v = _.first_child(h), x = (e) => {
67
- var n = _.comment(), r = _.first_child(n);
68
- _.snippet(r, () => t.child, () => ({ props: _.get(m) })), _.append(e, n);
69
- }, S = (e) => {
70
- var n = b();
71
- _.attribute_effect(n, () => ({ ..._.get(m) }));
72
- var r = _.child(n);
73
- _.snippet(r, () => t.children ?? _.noop), _.reset(n), _.append(e, n);
74
- };
75
- _.if(v, (e) => {
76
- t.child ? e(x) : e(S, -1);
77
- }), _.append(e, h), _.pop();
78
- }
79
- _.from_html("<div><!></div>");
80
- //#endregion
81
- //#region ../node_modules/.bun/bits-ui@2.19.0+6b8313878b0747a6/node_modules/bits-ui/dist/bits/menu/components/menu-group.svelte
82
- var S = /* @__PURE__ */ new Set([
83
- "$$slots",
84
- "$$events",
85
- "$$legacy",
86
- "ref",
87
- "id",
88
- "child",
89
- "children"
90
- ]), C = _.from_html("<div><!></div>");
91
- function w(e, t) {
92
- let r = _.props_id();
93
- _.push(t, !0);
94
- let i = _.prop(t, "ref", 15, null), a = _.prop(t, "id", 19, () => g(r)), c = _.rest_props(t, S), l = s.create({
95
- id: o(() => a()),
96
- ref: o(() => i(), (e) => i(e))
97
- }), u = _.derived(() => n(c, l.props));
98
- var d = _.comment(), f = _.first_child(d), p = (e) => {
99
- var n = _.comment(), r = _.first_child(n);
100
- _.snippet(r, () => t.child, () => ({ props: _.get(u) })), _.append(e, n);
101
- }, m = (e) => {
102
- var n = C();
103
- _.attribute_effect(n, () => ({ ..._.get(u) }));
104
- var r = _.child(n);
105
- _.snippet(r, () => t.children ?? _.noop), _.reset(n), _.append(e, n);
106
- };
107
- _.if(f, (e) => {
108
- t.child ? e(p) : e(m, -1);
109
- }), _.append(e, d), _.pop();
110
- }
111
- //#endregion
112
- //#region ../node_modules/.bun/bits-ui@2.19.0+6b8313878b0747a6/node_modules/bits-ui/dist/bits/menu/components/menu.svelte
113
- function T(e, t) {
114
- _.push(t, !0);
115
- let n = _.prop(t, "open", 15, !1), i = _.prop(t, "dir", 3, "ltr"), s = _.prop(t, "onOpenChange", 3, r), l = _.prop(t, "onOpenChangeComplete", 3, r), u = _.prop(t, "_internal_variant", 3, "dropdown-menu"), d = _.prop(t, "_internal_should_skip_exit_animation", 3, void 0), f = a.create({
116
- variant: o(() => u()),
117
- dir: o(() => i()),
118
- onClose: () => {
119
- n(!1), s()(!1);
120
- },
121
- shouldSkipExitAnimation: () => d()?.() ?? !1
122
- });
123
- h.create({
124
- open: o(() => n(), (e) => {
125
- n(e), s()(e);
126
- }),
127
- onOpenChangeComplete: o(() => l())
128
- }, f), c(e, {
129
- children: (e, n) => {
130
- var r = _.comment(), i = _.first_child(r);
131
- _.snippet(i, () => t.children ?? _.noop), _.append(e, r);
132
- },
133
- $$slots: { default: !0 }
134
- }), _.pop();
135
- }
136
- //#endregion
137
- //#region ../node_modules/.bun/bits-ui@2.19.0+6b8313878b0747a6/node_modules/bits-ui/dist/bits/dropdown-menu/components/dropdown-menu-content.svelte
138
- var E = /* @__PURE__ */ new Set([
139
- "$$slots",
140
- "$$events",
141
- "$$legacy",
142
- "id",
143
- "child",
144
- "children",
145
- "ref",
146
- "loop",
147
- "onInteractOutside",
148
- "onEscapeKeydown",
149
- "onCloseAutoFocus",
150
- "forceMount",
151
- "trapFocus",
152
- "style"
153
- ]), D = _.from_html("<div><div><!></div></div>");
154
- function O(e, t) {
155
- let a = _.props_id();
156
- _.push(t, !0);
157
- let s = _.prop(t, "id", 19, () => g(a)), c = _.prop(t, "ref", 15, null), l = _.prop(t, "loop", 3, !0), d = _.prop(t, "onInteractOutside", 3, r), f = _.prop(t, "onEscapeKeydown", 3, r), h = _.prop(t, "onCloseAutoFocus", 3, r), v = _.prop(t, "forceMount", 3, !1), y = _.prop(t, "trapFocus", 3, !1), b = _.rest_props(t, E), x = p.create({
158
- id: o(() => s()),
159
- loop: o(() => l()),
160
- ref: o(() => c(), (e) => c(e)),
161
- onCloseAutoFocus: o(() => h())
162
- }), S = _.derived(() => n(b, x.props));
163
- function C(e) {
164
- if (x.handleInteractOutside(e), !e.defaultPrevented && (d()(e), !e.defaultPrevented)) {
165
- if (e.target && e.target instanceof Element) {
166
- let t = `[${x.parentMenu.root.getBitsAttr("sub-content")}]`;
167
- if (e.target.closest(t)) return;
168
- }
169
- x.parentMenu.onClose();
170
- }
171
- }
172
- function w(e) {
173
- f()(e), !e.defaultPrevented && x.parentMenu.onClose();
174
- }
175
- var T = _.comment(), O = _.first_child(T), k = (e) => {
176
- m(e, _.spread_props(() => _.get(S), () => x.popperProps, {
177
- get ref() {
178
- return x.opts.ref;
179
- },
180
- get enabled() {
181
- return x.parentMenu.opts.open.current;
182
- },
183
- onInteractOutside: C,
184
- onEscapeKeydown: w,
185
- get trapFocus() {
186
- return y();
187
- },
188
- get loop() {
189
- return l();
190
- },
191
- forceMount: !0,
192
- get id() {
193
- return s();
194
- },
195
- get shouldRender() {
196
- return x.shouldRender;
197
- },
198
- popper: (e, r) => {
199
- let a = () => (r?.()).props, o = () => (r?.()).wrapperProps, s = _.derived(() => n(a(), { style: i("dropdown-menu") }, { style: t.style }));
200
- var c = _.comment(), l = _.first_child(c), u = (e) => {
201
- var n = _.comment(), r = _.first_child(n);
202
- {
203
- let e = _.derived(() => ({
204
- props: _.get(s),
205
- wrapperProps: o(),
206
- ...x.snippetProps
207
- }));
208
- _.snippet(r, () => t.child, () => _.get(e));
209
- }
210
- _.append(e, n);
211
- }, d = (e) => {
212
- var n = D();
213
- _.attribute_effect(n, () => ({ ...o() }));
214
- var r = _.child(n);
215
- _.attribute_effect(r, () => ({ ..._.get(s) }));
216
- var i = _.child(r);
217
- _.snippet(i, () => t.children ?? _.noop), _.reset(r), _.reset(n), _.append(e, n);
218
- };
219
- _.if(l, (e) => {
220
- t.child ? e(u) : e(d, -1);
221
- }), _.append(e, c);
222
- },
223
- $$slots: { popper: !0 }
224
- }));
225
- }, A = (e) => {
226
- u(e, _.spread_props(() => _.get(S), () => x.popperProps, {
227
- get ref() {
228
- return x.opts.ref;
229
- },
230
- get open() {
231
- return x.parentMenu.opts.open.current;
232
- },
233
- onInteractOutside: C,
234
- onEscapeKeydown: w,
235
- get trapFocus() {
236
- return y();
237
- },
238
- get loop() {
239
- return l();
240
- },
241
- forceMount: !1,
242
- get id() {
243
- return s();
244
- },
245
- get shouldRender() {
246
- return x.shouldRender;
247
- },
248
- popper: (e, r) => {
249
- let a = () => (r?.()).props, o = () => (r?.()).wrapperProps, s = _.derived(() => n(a(), { style: i("dropdown-menu") }, { style: t.style }));
250
- var c = _.comment(), l = _.first_child(c), u = (e) => {
251
- var n = _.comment(), r = _.first_child(n);
252
- {
253
- let e = _.derived(() => ({
254
- props: _.get(s),
255
- wrapperProps: o(),
256
- ...x.snippetProps
257
- }));
258
- _.snippet(r, () => t.child, () => _.get(e));
259
- }
260
- _.append(e, n);
261
- }, d = (e) => {
262
- var n = D();
263
- _.attribute_effect(n, () => ({ ...o() }));
264
- var r = _.child(n);
265
- _.attribute_effect(r, () => ({ ..._.get(s) }));
266
- var i = _.child(r);
267
- _.snippet(i, () => t.children ?? _.noop), _.reset(r), _.reset(n), _.append(e, n);
268
- };
269
- _.if(l, (e) => {
270
- t.child ? e(u) : e(d, -1);
271
- }), _.append(e, c);
272
- },
273
- $$slots: { popper: !0 }
274
- }));
275
- };
276
- _.if(O, (e) => {
277
- v() ? e(k) : v() || e(A, 1);
278
- }), _.append(e, T), _.pop();
279
- }
280
- //#endregion
281
- //#region ../node_modules/.bun/bits-ui@2.19.0+6b8313878b0747a6/node_modules/bits-ui/dist/bits/menu/components/menu-trigger.svelte
282
- var k = /* @__PURE__ */ new Set([
283
- "$$slots",
284
- "$$events",
285
- "$$legacy",
286
- "id",
287
- "ref",
288
- "child",
289
- "children",
290
- "disabled",
291
- "type"
292
- ]), A = _.from_html("<button><!></button>");
293
- function j(e, t) {
294
- let r = _.props_id();
295
- _.push(t, !0);
296
- let i = _.prop(t, "id", 19, () => g(r)), a = _.prop(t, "ref", 15, null), s = _.prop(t, "disabled", 3, !1), c = _.prop(t, "type", 3, "button"), l = _.rest_props(t, k), u = d.create({
297
- id: o(() => i()),
298
- disabled: o(() => s() ?? !1),
299
- ref: o(() => a(), (e) => a(e))
300
- }), p = _.derived(() => n(l, u.props, { type: c() }));
301
- f(e, {
302
- get id() {
303
- return i();
304
- },
305
- get ref() {
306
- return u.opts.ref;
307
- },
308
- children: (e, n) => {
309
- var r = _.comment(), i = _.first_child(r), a = (e) => {
310
- var n = _.comment(), r = _.first_child(n);
311
- _.snippet(r, () => t.child, () => ({ props: _.get(p) })), _.append(e, n);
312
- }, o = (e) => {
313
- var n = A();
314
- _.attribute_effect(n, () => ({ ..._.get(p) }));
315
- var r = _.child(n);
316
- _.snippet(r, () => t.children ?? _.noop), _.reset(n), _.append(e, n);
317
- };
318
- _.if(i, (e) => {
319
- t.child ? e(a) : e(o, -1);
320
- }), _.append(e, r);
321
- },
322
- $$slots: { default: !0 }
323
- }), _.pop();
324
- }
325
- //#endregion
326
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu.svelte
327
- var M = /* @__PURE__ */ new Set([
328
- "$$slots",
329
- "$$events",
330
- "$$legacy",
331
- "children"
332
- ]);
333
- function N(e, t) {
334
- let n = _.rest_props(t, M);
335
- var r = _.comment(), i = _.first_child(r);
336
- _.component(i, () => T, (e, r) => {
337
- r(e, _.spread_props(() => n, {
338
- children: (e, n) => {
339
- var r = _.comment(), i = _.first_child(r), a = (e) => {
340
- var n = _.comment(), r = _.first_child(n);
341
- _.snippet(r, () => t.children), _.append(e, n);
342
- };
343
- _.if(i, (e) => {
344
- t.children && e(a);
345
- }), _.append(e, r);
346
- },
347
- $$slots: { default: !0 }
348
- }));
349
- }), _.append(e, r);
350
- }
351
- //#endregion
352
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte
353
- var P = /* @__PURE__ */ new Set([
354
- "$$slots",
355
- "$$events",
356
- "$$legacy",
357
- "ref",
358
- "class",
359
- "sideOffset",
360
- "children"
361
- ]);
362
- function F(e, n) {
363
- _.push(n, !0);
364
- let r = _.prop(n, "ref", 15, null), i = _.prop(n, "sideOffset", 3, 4), a = _.rest_props(n, P);
365
- var o = _.comment(), s = _.first_child(o);
366
- {
367
- let e = _.derived(() => t("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md", n.class));
368
- _.component(s, () => O, (t, o) => {
369
- o(t, _.spread_props({
370
- get sideOffset() {
371
- return i();
372
- },
373
- get class() {
374
- return _.get(e);
375
- }
376
- }, () => a, {
377
- get ref() {
378
- return r();
379
- },
380
- set ref(e) {
381
- r(e);
382
- },
383
- children: (e, t) => {
384
- var r = _.comment(), i = _.first_child(r), a = (e) => {
385
- var t = _.comment(), r = _.first_child(t);
386
- _.snippet(r, () => n.children), _.append(e, t);
387
- };
388
- _.if(i, (e) => {
389
- n.children && e(a);
390
- }), _.append(e, r);
391
- },
392
- $$slots: { default: !0 }
393
- }));
394
- });
395
- }
396
- _.append(e, o), _.pop();
397
- }
398
- //#endregion
399
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte
400
- var I = /* @__PURE__ */ new Set([
401
- "$$slots",
402
- "$$events",
403
- "$$legacy",
404
- "ref",
405
- "class",
406
- "inset",
407
- "children"
408
- ]);
409
- function L(e, n) {
410
- _.push(n, !0);
411
- let r = _.prop(n, "ref", 15, null), i = _.rest_props(n, I);
412
- var a = _.comment(), o = _.first_child(a);
413
- {
414
- let e = _.derived(() => t("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", n.inset && "pl-8", n.class));
415
- _.component(o, () => x, (t, a) => {
416
- a(t, _.spread_props({ get class() {
417
- return _.get(e);
418
- } }, () => i, {
419
- get ref() {
420
- return r();
421
- },
422
- set ref(e) {
423
- r(e);
424
- },
425
- children: (e, t) => {
426
- var r = _.comment(), i = _.first_child(r), a = (e) => {
427
- var t = _.comment(), r = _.first_child(t);
428
- _.snippet(r, () => n.children), _.append(e, t);
429
- };
430
- _.if(i, (e) => {
431
- n.children && e(a);
432
- }), _.append(e, r);
433
- },
434
- $$slots: { default: !0 }
435
- }));
436
- });
437
- }
438
- _.append(e, a), _.pop();
439
- }
440
- //#endregion
441
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte
442
- var R = /* @__PURE__ */ new Set([
443
- "$$slots",
444
- "$$events",
445
- "$$legacy",
446
- "ref",
447
- "class"
448
- ]);
449
- function z(e, n) {
450
- _.push(n, !0);
451
- let r = _.prop(n, "ref", 15, null), i = _.rest_props(n, R);
452
- var a = _.comment(), o = _.first_child(a);
453
- {
454
- let e = _.derived(() => t("-mx-1 my-1 h-px bg-muted", n.class));
455
- _.component(o, () => w, (t, n) => {
456
- n(t, _.spread_props({ get class() {
457
- return _.get(e);
458
- } }, () => i, {
459
- get ref() {
460
- return r();
461
- },
462
- set ref(e) {
463
- r(e);
464
- }
465
- }));
466
- });
467
- }
468
- _.append(e, a), _.pop();
469
- }
470
- //#endregion
471
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte
472
- var B = /* @__PURE__ */ new Set([
473
- "$$slots",
474
- "$$events",
475
- "$$legacy",
476
- "ref",
477
- "child",
478
- "children"
479
- ]);
480
- function V(e, t) {
481
- _.push(t, !0);
482
- let n = _.prop(t, "ref", 15, null), r = _.rest_props(t, B);
483
- var i = _.comment(), a = _.first_child(i), o = (e) => {
484
- let i = (e, n = _.noop) => {
485
- var r = _.comment(), i = _.first_child(r);
486
- _.snippet(i, () => t.child ?? _.noop, n), _.append(e, r);
487
- };
488
- var a = _.comment(), o = _.first_child(a);
489
- _.component(o, () => j, (e, t) => {
490
- t(e, _.spread_props(() => r, {
491
- get child() {
492
- return i;
493
- },
494
- get ref() {
495
- return n();
496
- },
497
- set ref(e) {
498
- n(e);
499
- }
500
- }));
501
- }), _.append(e, a);
502
- }, s = (e) => {
503
- var i = _.comment(), a = _.first_child(i);
504
- _.component(a, () => j, (e, i) => {
505
- i(e, _.spread_props(() => r, {
506
- get ref() {
507
- return n();
508
- },
509
- set ref(e) {
510
- n(e);
511
- },
512
- children: (e, n) => {
513
- var r = _.comment(), i = _.first_child(r), a = (e) => {
514
- var n = _.comment(), r = _.first_child(n);
515
- _.snippet(r, () => t.children), _.append(e, n);
516
- };
517
- _.if(i, (e) => {
518
- t.children && e(a);
519
- }), _.append(e, r);
520
- },
521
- $$slots: { default: !0 }
522
- }));
523
- }), _.append(e, i);
524
- };
525
- _.if(a, (e) => {
526
- t.child ? e(o) : e(s, -1);
527
- }), _.append(e, i), _.pop();
528
- }
529
- //#endregion
530
- export { N as a, F as i, z as n, v as o, L as r, V as t };
@@ -250,6 +250,18 @@ function X($$renderer, $$props) {
250
250
  ]));
251
251
  }
252
252
  //#endregion
253
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/index.js
254
+ var badgeVariants = tv({
255
+ 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",
256
+ variants: { variant: {
257
+ default: "border-transparent bg-primary text-primary-foreground shadow",
258
+ secondary: "border-transparent bg-secondary text-secondary-foreground",
259
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow",
260
+ outline: "text-foreground"
261
+ } },
262
+ defaultVariants: { variant: "default" }
263
+ });
264
+ //#endregion
253
265
  //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+2be6617fd6e54084/node_modules/@hiai-gg/hiai-ui/dist/components/ui/badge/badge.svelte
254
266
  function Badge($$renderer, $$props) {
255
267
  $$renderer.component(($$renderer) => {
@@ -268,18 +280,6 @@ function Badge($$renderer, $$props) {
268
280
  });
269
281
  }
270
282
  //#endregion
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
272
- var badgeVariants = tv({
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",
274
- variants: { variant: {
275
- default: "border-transparent bg-primary text-primary-foreground shadow",
276
- secondary: "border-transparent bg-secondary text-secondary-foreground",
277
- destructive: "border-transparent bg-destructive text-destructive-foreground shadow",
278
- outline: "text-foreground"
279
- } },
280
- defaultVariants: { variant: "default" }
281
- });
282
- //#endregion
283
283
  //#region src/lib/components/DatePicker.svelte
284
284
  function DatePicker($$renderer, $$props) {
285
285
  $$renderer.component(($$renderer) => {
@@ -1,5 +1,4 @@
1
1
  import { n as isSafeEditorImageSource } from "./editor-content-sanitizer-Gjm93iR-.js";
2
- import { Node, mergeAttributes, textblockTypeInputRule } from "@tiptap/core";
3
2
  import CodeBlockLowlight from "@tiptap/extension-code-block-lowlight";
4
3
  import Highlight from "@tiptap/extension-highlight";
5
4
  import Image from "@tiptap/extension-image";
@@ -10,6 +9,7 @@ import TextAlign from "@tiptap/extension-text-align";
10
9
  import { Markdown } from "@tiptap/markdown";
11
10
  import StarterKit from "@tiptap/starter-kit";
12
11
  import { common, createLowlight } from "lowlight";
12
+ import { Node, mergeAttributes, textblockTypeInputRule } from "@tiptap/core";
13
13
  //#region src/lib/components/editor/editorExtensions.ts
14
14
  var lowlight = createLowlight(common);
15
15
  var SafeImage = Image.extend({ addAttributes() {