@ghentcdh/ui 0.8.5 → 1.0.1

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.
package/index.mjs CHANGED
@@ -1,45 +1,45 @@
1
- import { defineComponent as k, computed as v, openBlock as r, createBlock as w, resolveDynamicComponent as ne, normalizeClass as C, createCommentVNode as _, createElementBlock as f, createElementVNode as u, toDisplayString as h, unref as g, Fragment as L, renderList as P, mergeProps as B, resolveComponent as ce, withCtx as S, createTextVNode as E, ref as x, watch as q, onUnmounted as _e, onMounted as Ce, withModifiers as le, renderSlot as M, createVNode as V, withDirectives as Y, vModelCheckbox as $e, normalizeStyle as X, useAttrs as Oe, getCurrentInstance as Ie, camelize as De, toHandlerKey as re, nextTick as xe, normalizeProps as ee, guardReactiveProps as te, Transition as Re, useModel as F, mergeModels as I, onBeforeUnmount as Te, vModelDynamic as Ee, vModelText as Le, useSlots as Se, toRef as we } from "vue";
2
- import { RouterLink as ze } from "vue-router";
1
+ import { defineComponent as k, computed as h, openBlock as r, createBlock as y, resolveDynamicComponent as ne, normalizeClass as $, createCommentVNode as _, createElementBlock as f, createElementVNode as u, toDisplayString as w, unref as g, Fragment as L, renderList as M, mergeProps as B, resolveComponent as ce, withCtx as S, createTextVNode as E, ref as x, watch as j, onUnmounted as _e, onMounted as $e, withModifiers as le, renderSlot as P, createVNode as V, withDirectives as Y, vModelCheckbox as Ce, normalizeStyle as X, useAttrs as Ie, getCurrentInstance as De, camelize as Te, toHandlerKey as re, nextTick as xe, normalizeProps as ee, guardReactiveProps as te, Transition as Re, useModel as F, mergeModels as I, onBeforeUnmount as Ee, vModelDynamic as ze, vModelText as Le, useSlots as Se, toRef as we } from "vue";
2
+ import { RouterLink as Ne } from "vue-router";
3
3
  import { v4 as de } from "uuid";
4
- import { LinkIcon as Ne, DocumentTextIcon as qe, EyeIcon as je, CheckIcon as Fe, LanguageIcon as Ke, ChevronDoubleRightIcon as Ue, ChevronDoubleLeftIcon as He, ChevronUpIcon as We, ChevronDownIcon as Ge, ChevronLeftIcon as Xe, ChevronRightIcon as Ze, Bars3Icon as Je, PaperClipIcon as Qe, PlusCircleIcon as Ye, XMarkIcon as et, FunnelIcon as tt, BarsArrowUpIcon as ot, BarsArrowDownIcon as st, TrashIcon as nt, PencilSquareIcon as lt } from "@heroicons/vue/24/outline";
5
- import at from "@tiptap/starter-kit";
6
- import { useEditor as rt, EditorContent as it } from "@tiptap/vue-3";
7
- import { Markdown as ut } from "tiptap-markdown";
8
- import { ChevronDownIcon as ct, ChevronRightIcon as dt } from "@heroicons/vue/24/solid";
4
+ import { LinkIcon as qe, DocumentTextIcon as je, EyeIcon as Fe, CheckIcon as Ke, LanguageIcon as Ue, ChevronDoubleRightIcon as He, ChevronDoubleLeftIcon as We, ChevronUpIcon as Ge, ChevronDownIcon as Xe, ChevronLeftIcon as Ze, ChevronRightIcon as Je, Bars3Icon as Qe, PaperClipIcon as Ye, PlusCircleIcon as et, XMarkIcon as tt, FunnelIcon as ot, BarsArrowUpIcon as st, BarsArrowDownIcon as nt, TrashIcon as lt, PencilSquareIcon as at } from "@heroicons/vue/24/outline";
5
+ import rt from "@tiptap/starter-kit";
6
+ import { useEditor as it, EditorContent as ut } from "@tiptap/vue-3";
7
+ import { Markdown as ct } from "tiptap-markdown";
8
+ import { ChevronDownIcon as dt, ChevronRightIcon as pt } from "@heroicons/vue/24/solid";
9
9
  var T = /* @__PURE__ */ ((e) => (e.Edit = "Edit", e.Delete = "Delete", e.BarsArrowDown = "BarsArrowDown", e.BarsArrowUp = "BarsArrowUp", e.Funnel = "Funnel", e.Close = "Close", e.Plus = "Plus", e.PaperClip = "PaperClip", e.Hamburger = "Hamburger", e.ChevronRight = "ChevronRight", e.ChevronLeft = "ChevronLeft", e.ChevronDown = "ChevronDown", e.ChevronUp = "ChevronUp", e.DblChevronLeft = "DblChevronLeft", e.DblChevronRight = "DblChevronRight", e.Language = "Language", e.Check = "Check", e.View = "View", e.Text = "Text", e.Link = "Link", e))(T || {});
10
- const pt = {
11
- Edit: lt,
12
- Delete: nt,
13
- BarsArrowDown: st,
14
- BarsArrowUp: ot,
15
- Funnel: tt,
16
- Close: et,
17
- Plus: Ye,
18
- PaperClip: Qe,
19
- Hamburger: Je,
20
- ChevronRight: Ze,
21
- ChevronLeft: Xe,
22
- ChevronDown: Ge,
23
- ChevronUp: We,
24
- DblChevronLeft: He,
25
- DblChevronRight: Ue,
26
- Language: Ke,
27
- Check: Fe,
28
- View: je,
29
- Text: qe,
30
- Link: Ne
31
- }, ft = {
10
+ const ft = {
11
+ Edit: at,
12
+ Delete: lt,
13
+ BarsArrowDown: nt,
14
+ BarsArrowUp: st,
15
+ Funnel: ot,
16
+ Close: tt,
17
+ Plus: et,
18
+ PaperClip: Ye,
19
+ Hamburger: Qe,
20
+ ChevronRight: Je,
21
+ ChevronLeft: Ze,
22
+ ChevronDown: Xe,
23
+ ChevronUp: Ge,
24
+ DblChevronLeft: We,
25
+ DblChevronRight: He,
26
+ Language: Ue,
27
+ Check: Ke,
28
+ View: Fe,
29
+ Text: je,
30
+ Link: qe
31
+ }, mt = {
32
32
  icon: { type: [String, Object, Function] },
33
33
  size: { type: String }
34
- }, j = /* @__PURE__ */ k({
34
+ }, q = /* @__PURE__ */ k({
35
35
  __name: "icon",
36
- props: ft,
36
+ props: mt,
37
37
  setup(e) {
38
- const t = e, o = v(() => t.icon ? typeof t.icon == "string" ? pt[t.icon] : t.icon : null);
39
- return (n, l) => o.value ? (r(), w(ne(o.value), {
38
+ const t = e, o = h(() => t.icon ? typeof t.icon == "string" ? ft[t.icon] : t.icon : null);
39
+ return (n, l) => o.value ? (r(), y(ne(o.value), {
40
40
  key: 0,
41
41
  "aria-hidden": "true",
42
- class: C([
42
+ class: $([
43
43
  {
44
44
  "w-full h-full": !n.size,
45
45
  "w-2 h-2": n.size === "xs",
@@ -50,11 +50,11 @@ const pt = {
50
50
  ])
51
51
  }, null, 8, ["class"])) : _("", !0);
52
52
  }
53
- }), mt = { class: "dropdown dropdown-end" }, bt = {
53
+ }), bt = { class: "dropdown dropdown-end" }, gt = {
54
54
  tabindex: "0",
55
55
  role: "menu",
56
56
  class: "menu dropdown-content bg-white z-1 mt-4 p-2 shadow-sm"
57
- }, gt = { class: "min-w-max flex-no-wrap text-black" }, pe = /* @__PURE__ */ k({
57
+ }, vt = { class: "min-w-max flex-no-wrap text-black" }, pe = /* @__PURE__ */ k({
58
58
  __name: "sub-menu",
59
59
  props: {
60
60
  label: {},
@@ -65,23 +65,23 @@ const pt = {
65
65
  disableArrow: { type: Boolean }
66
66
  },
67
67
  setup(e) {
68
- return (t, o) => (r(), f("div", mt, [
68
+ return (t, o) => (r(), f("div", bt, [
69
69
  u("div", {
70
70
  tabindex: "0",
71
71
  role: "button",
72
72
  "aria-haspopup": "menu",
73
- class: C([e.btnClass, "btn btn-ghost text-right flex-nowrap flex"])
73
+ class: $([e.btnClass, "btn btn-ghost text-right flex-nowrap flex"])
74
74
  }, [
75
- u("span", null, h(e.label), 1),
76
- e.disableArrow ? _("", !0) : (r(), w(g(j), {
75
+ u("span", null, w(e.label), 1),
76
+ e.disableArrow ? _("", !0) : (r(), y(g(q), {
77
77
  key: 0,
78
78
  icon: g(T).ChevronDown,
79
79
  size: "sm"
80
80
  }, null, 8, ["icon"]))
81
81
  ], 2),
82
- u("ul", bt, [
83
- u("li", gt, [
84
- (r(!0), f(L, null, P(e.items, (n) => (r(), w(Pe, B({
82
+ u("ul", gt, [
83
+ u("li", vt, [
84
+ (r(!0), f(L, null, M(e.items, (n) => (r(), y(Pe, B({
85
85
  key: n.label
86
86
  }, { ref_for: !0 }, n), null, 16))), 128))
87
87
  ])
@@ -97,7 +97,7 @@ const pt = {
97
97
  disabled: { type: Boolean, default: !1 }
98
98
  },
99
99
  setup(e) {
100
- const t = e, o = v(() => !t.disabled && t.action && "routerLink" in t.action), n = v(() => !t.disabled && t.action), l = v(() => t.items?.length), a = v(() => {
100
+ const t = e, o = h(() => !t.disabled && t.action && "routerLink" in t.action), n = h(() => !t.disabled && t.action), l = h(() => t.items?.length), a = h(() => {
101
101
  const d = t.action;
102
102
  return d && "routerLink" in d && "params" in d ? {
103
103
  name: d.routerLink,
@@ -108,30 +108,30 @@ const pt = {
108
108
  };
109
109
  return (d, p) => {
110
110
  const i = ce("RouterLink");
111
- return l.value ? (r(), w(pe, B({ key: 0 }, t, { "btn-class": oe }), null, 16)) : o.value ? (r(), w(i, {
111
+ return l.value ? (r(), y(pe, B({ key: 0 }, t, { "btn-class": oe }), null, 16)) : o.value ? (r(), y(i, {
112
112
  key: 1,
113
113
  to: a.value,
114
- class: C(oe),
114
+ class: $(oe),
115
115
  onClick: c
116
116
  }, {
117
117
  default: S(() => [
118
- E(h(e.label), 1)
118
+ E(w(e.label), 1)
119
119
  ]),
120
120
  _: 1
121
121
  }, 8, ["to"])) : n.value ? (r(), f("button", {
122
122
  key: 2,
123
- class: C(oe),
123
+ class: $(oe),
124
124
  onClick: c
125
- }, h(e.label), 1)) : (r(), f("div", {
125
+ }, w(e.label), 1)) : (r(), f("div", {
126
126
  key: 3,
127
- class: C([oe, { "btn-disabled": e.disabled }])
128
- }, h(e.label), 3));
127
+ class: $([oe, { "btn-disabled": e.disabled }])
128
+ }, w(e.label), 3));
129
129
  };
130
130
  }
131
- }), vt = { class: "navbar bg-base-100 shadow-sm" }, ht = { class: "flex-1" }, yt = {
131
+ }), ht = { class: "navbar bg-base-100 shadow-sm" }, yt = { class: "flex-1" }, wt = {
132
132
  key: 0,
133
133
  class: "breadcrumbs text-sm"
134
- }, wt = { class: "flex grow justify-end px-2" }, kt = { class: "flex items-stretch" }, hn = /* @__PURE__ */ k({
134
+ }, kt = { class: "flex grow justify-end px-2" }, _t = { class: "flex items-stretch" }, kn = /* @__PURE__ */ k({
135
135
  __name: "menu",
136
136
  props: {
137
137
  menu: {},
@@ -140,33 +140,33 @@ const pt = {
140
140
  setup(e) {
141
141
  return (t, o) => {
142
142
  const n = ce("RouterLink");
143
- return r(), f("nav", vt, [
144
- u("div", ht, [
145
- e.breadcrumbs ? (r(), f("div", yt, [
143
+ return r(), f("nav", ht, [
144
+ u("div", yt, [
145
+ e.breadcrumbs ? (r(), f("div", wt, [
146
146
  u("ul", null, [
147
- (r(!0), f(L, null, P(e.breadcrumbs, (l) => (r(), f("li", {
147
+ (r(!0), f(L, null, M(e.breadcrumbs, (l) => (r(), f("li", {
148
148
  key: l.label
149
149
  }, [
150
- l.routerLink ? (r(), w(n, {
150
+ l.routerLink ? (r(), y(n, {
151
151
  key: 0,
152
152
  to: { name: l.routerLink, params: l.params },
153
153
  role: "navigation",
154
154
  "aria-label": l.label
155
155
  }, {
156
156
  default: S(() => [
157
- E(h(l.label), 1)
157
+ E(w(l.label), 1)
158
158
  ]),
159
159
  _: 2
160
160
  }, 1032, ["to", "aria-label"])) : (r(), f(L, { key: 1 }, [
161
- E(h(l.label), 1)
161
+ E(w(l.label), 1)
162
162
  ], 64))
163
163
  ]))), 128))
164
164
  ])
165
165
  ])) : _("", !0)
166
166
  ]),
167
- u("div", wt, [
168
- u("div", kt, [
169
- (r(!0), f(L, null, P(e.menu, (l) => (r(), w(Pe, B({
167
+ u("div", kt, [
168
+ u("div", _t, [
169
+ (r(!0), f(L, null, M(e.menu, (l) => (r(), y(Pe, B({
170
170
  key: l.label
171
171
  }, { ref_for: !0 }, l), null, 16))), 128))
172
172
  ])
@@ -174,14 +174,14 @@ const pt = {
174
174
  ]);
175
175
  };
176
176
  }
177
- }), yn = /* @__PURE__ */ k({
177
+ }), _n = /* @__PURE__ */ k({
178
178
  __name: "dropdown",
179
179
  props: {
180
180
  items: {}
181
181
  },
182
182
  setup(e) {
183
183
  const t = x(!0);
184
- return (o, n) => (r(), w(pe, {
184
+ return (o, n) => (r(), y(pe, {
185
185
  items: e.items,
186
186
  label: "test",
187
187
  open: t.value,
@@ -189,16 +189,15 @@ const pt = {
189
189
  "disable-arrow": !0
190
190
  }, null, 8, ["items", "open"]));
191
191
  }
192
- }), _t = {
192
+ }), $t = {
193
193
  modalTitle: { type: String, required: !0 },
194
194
  buttonLabel: { type: String },
195
195
  buttonSaveLabel: { type: String },
196
196
  data: { default: void 0 },
197
197
  open: { type: Boolean, default: !1 },
198
198
  disableClose: { type: Boolean, default: !1 },
199
- width: { type: String, default: "sm" },
200
- name: { type: String, required: !0 }
201
- }, Ct = ["closeModal"], $t = 'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])', ke = (e) => Array.from(e.querySelectorAll($t)), xt = ({
199
+ width: { type: String, default: "sm" }
200
+ }, Ct = ["closeModal"], xt = 'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])', ke = (e) => Array.from(e.querySelectorAll(xt)), Lt = ({
202
201
  containerRef: e,
203
202
  isActive: t,
204
203
  onEscape: o,
@@ -226,29 +225,29 @@ const pt = {
226
225
  }, d = () => {
227
226
  document.removeEventListener("keydown", a), n && l && (l.focus(), l = null);
228
227
  };
229
- q(t, (p) => {
228
+ j(t, (p) => {
230
229
  p ? c() : d();
231
230
  }), _e(() => {
232
231
  d();
233
232
  });
234
- }, Lt = {
233
+ }, St = {
235
234
  xs: "max-w-xs w-[50VW]",
236
235
  sm: "max-w-sm w-[50VW]",
237
236
  lg: "max-w-2xl w-[80VW]",
238
237
  xl: "max-w-[80VW] w-[80VW]"
239
- }, St = {
238
+ }, Pt = {
240
239
  xs: "btn-xs",
241
240
  sm: "btn-sm",
242
241
  lg: "btn-sm",
243
242
  xl: "btn"
244
- }, Pt = {
243
+ }, Mt = {
245
244
  xs: "badge-xs text-xxs",
246
245
  sm: "badge-sm text-xs",
247
246
  lg: "badge-sm text-xs",
248
247
  xl: "badge text-xs"
249
- }, Mt = { class: "flex justify-end gap-2 p-2 mt-2 border-t border-gray-300" }, Bt = /* @__PURE__ */ k({
248
+ }, Bt = ["aria-labelledby", "aria-describedby"], Vt = { class: "flex justify-end gap-2 pt-2 mt-2 border-t border-gray-300 shrink-0" }, At = /* @__PURE__ */ k({
250
249
  __name: "modal",
251
- props: _t,
250
+ props: $t,
252
251
  emits: Ct,
253
252
  setup(e, { expose: t, emit: o }) {
254
253
  const n = e, l = `modal_${de()}`, a = `${l}_title`, c = `${l}_content`, d = x(null), p = x(!1), i = o, s = () => {
@@ -258,33 +257,36 @@ const pt = {
258
257
  }, b = () => {
259
258
  n.disableClose || m();
260
259
  };
261
- return xt({
260
+ return Lt({
262
261
  containerRef: d,
263
262
  isActive: p,
264
263
  onEscape: () => {
265
264
  n.disableClose || m();
266
265
  }
267
- }), t({ closeModal: m, openModal: s }), q(
266
+ }), t({ closeModal: m, openModal: s }), j(
268
267
  () => n.open,
269
268
  () => {
270
269
  n.open ? s() : m();
271
270
  }
272
- ), Ce(() => {
271
+ ), $e(() => {
273
272
  n.open && s();
274
- }), (y, D) => (r(), f("dialog", {
273
+ }), (v, D) => (r(), f("dialog", {
275
274
  ref_key: "dialogRef",
276
275
  ref: d,
277
276
  class: "modal",
278
277
  role: "dialog",
279
278
  "aria-modal": "true",
280
- "aria-labelledby": a,
281
- "aria-describedby": c,
279
+ "aria-labelledby": v.modalTitle,
280
+ "aria-describedby": v.modalTitle,
282
281
  onCancel: le(b, ["prevent"])
283
282
  }, [
284
283
  u("div", {
285
- class: C(["modal-box bg-white", g(Lt)[y.width]])
284
+ class: $([
285
+ "modal-box bg-white min-h-0 max-h-[90vh] flex flex-col overflow-hidden",
286
+ g(St)[v.width]
287
+ ])
286
288
  }, [
287
- y.disableClose ? _("", !0) : (r(), f("button", {
289
+ v.disableClose ? _("", !0) : (r(), f("button", {
288
290
  key: 0,
289
291
  type: "button",
290
292
  class: "btn btn-sm btn-circle btn-ghost absolute right-2 top-2",
@@ -293,33 +295,33 @@ const pt = {
293
295
  }, " ✕ ")),
294
296
  u("h3", {
295
297
  id: a,
296
- class: "font-bold"
297
- }, h(y.modalTitle), 1),
298
+ class: "font-bold shrink-0"
299
+ }, w(v.modalTitle), 1),
298
300
  u("div", {
299
301
  id: c,
300
- class: "pt-4"
302
+ class: "pt-4 flex-1 min-h-0 flex flex-col"
301
303
  }, [
302
- M(y.$slots, "content")
304
+ P(v.$slots, "content")
303
305
  ]),
304
- u("div", Mt, [
305
- M(y.$slots, "actions")
306
+ u("div", Vt, [
307
+ P(v.$slots, "actions")
306
308
  ])
307
309
  ], 2)
308
- ], 544));
310
+ ], 40, Bt));
309
311
  }
310
312
  });
311
- var fe = /* @__PURE__ */ ((e) => (e.button = "button", e.submit = "submit", e.reset = "reset", e))(fe || {}), Me = /* @__PURE__ */ ((e) => (e.a = "a", e.button = "button", e))(Me || {}), N = /* @__PURE__ */ ((e) => (e.blank = "blank", e.primary = "primary", e.secondary = "secondary", e.error = "error", e))(N || {});
312
- const Vt = {
313
+ var fe = /* @__PURE__ */ ((e) => (e.button = "button", e.submit = "submit", e.reset = "reset", e))(fe || {}), Me = /* @__PURE__ */ ((e) => (e.a = "a", e.button = "button", e))(Me || {}), z = /* @__PURE__ */ ((e) => (e.blank = "blank", e.primary = "primary", e.secondary = "secondary", e.error = "error", e))(z || {});
314
+ const Ot = {
313
315
  blank: "btn-ghost",
314
316
  primary: "btn-primary",
315
317
  secondary: "btn-soft btn-primary",
316
318
  error: "btn-error"
317
- }, At = {
319
+ }, It = {
318
320
  blank: "badge-ghost",
319
321
  primary: "badge-primary",
320
322
  secondary: "badge-soft badge-primary",
321
323
  error: "badge-error"
322
- }, Ot = {
324
+ }, Dt = {
323
325
  href: { type: String },
324
326
  disabled: { type: Boolean, default: !1 },
325
327
  tooltip: { type: String },
@@ -327,26 +329,26 @@ const Vt = {
327
329
  icon: { type: [String, Object, Function] },
328
330
  type: { type: String, default: fe.button },
329
331
  outline: { type: Boolean, default: !1 },
330
- color: { type: String, default: N.primary },
332
+ color: { type: String, default: z.primary },
331
333
  size: { type: String, default: "sm" },
332
334
  square: { type: Boolean, default: !1 }
333
- }, It = ["click"], Dt = {
335
+ }, Tt = ["click"], Rt = {
334
336
  icon: { type: [String, Object, Function] },
335
337
  type: { type: String, default: fe.button },
336
- color: { type: String },
338
+ color: { type: String, default: z.primary },
337
339
  disabled: { type: Boolean, default: !1 },
338
340
  size: { type: String, default: "sm" }
339
- }, Rt = ["click"], z = /* @__PURE__ */ k({
341
+ }, Et = ["click"], N = /* @__PURE__ */ k({
340
342
  __name: "btn",
341
- props: Ot,
342
- emits: It,
343
+ props: Dt,
344
+ emits: Tt,
343
345
  setup(e, { emit: t }) {
344
346
  const o = e, n = t;
345
- return (l, a) => (r(), w(ne(o.as), {
346
- class: C([
347
+ return (l, a) => (r(), y(ne(o.as), {
348
+ class: $([
347
349
  "btn p-1 flex justify-center flex-nowrap",
348
- g(Vt)[o.color],
349
- g(St)[o.size],
350
+ g(Ot)[o.color],
351
+ g(Pt)[o.size],
350
352
  { "btn-outline": o.outline, "btn-square": o.square, tooltip: o.tooltip }
351
353
  ]),
352
354
  href: o.href,
@@ -356,37 +358,37 @@ const Vt = {
356
358
  onClick: a[0] || (a[0] = (c) => n("click"))
357
359
  }, {
358
360
  default: S(() => [
359
- o.icon ? (r(), w(g(j), {
361
+ o.icon ? (r(), y(g(q), {
360
362
  key: 0,
361
363
  icon: o.icon,
362
364
  size: o.size
363
365
  }, null, 8, ["icon", "size"])) : _("", !0),
364
- M(l.$slots, "default")
366
+ P(l.$slots, "default")
365
367
  ]),
366
368
  _: 3
367
369
  }, 8, ["class", "href", "type", "disabled", "data-tip"]));
368
370
  }
369
- }), Tt = ["type", "disabled"], wn = /* @__PURE__ */ k({
371
+ }), zt = ["type", "disabled"], $n = /* @__PURE__ */ k({
370
372
  __name: "btn-badge",
371
- props: Dt,
372
- emits: Rt,
373
+ props: Rt,
374
+ emits: Et,
373
375
  setup(e, { emit: t }) {
374
376
  const o = e, n = t;
375
377
  return (l, a) => (r(), f("button", {
376
- class: C(["badge gap-1", g(Pt)[o.size], g(At)[o.color]]),
378
+ class: $(["badge gap-1", g(Mt)[o.size], g(It)[o.color]]),
377
379
  type: o.type,
378
380
  disabled: o.disabled,
379
381
  onClick: a[0] || (a[0] = (c) => n("click"))
380
382
  }, [
381
- M(l.$slots, "default"),
382
- o.icon ? (r(), w(g(j), {
383
+ P(l.$slots, "default"),
384
+ o.icon ? (r(), y(g(q), {
383
385
  key: 0,
384
386
  icon: o.icon,
385
387
  size: o.size
386
388
  }, null, 8, ["icon", "size"])) : _("", !0)
387
- ], 10, Tt));
389
+ ], 10, zt));
388
390
  }
389
- }), Et = /* @__PURE__ */ k({
391
+ }), Nt = /* @__PURE__ */ k({
390
392
  __name: "confirmModal",
391
393
  props: {
392
394
  title: {},
@@ -399,32 +401,32 @@ const Vt = {
399
401
  const o = t, n = (l) => {
400
402
  o("closeModal", { confirmed: l });
401
403
  };
402
- return (l, a) => (r(), w(Bt, {
404
+ return (l, a) => (r(), y(At, {
403
405
  "modal-title": e.title,
404
406
  open: !0,
405
407
  "disable-close": !0
406
408
  }, {
407
409
  content: S(() => [
408
- E(h(e.message), 1)
410
+ E(w(e.message), 1)
409
411
  ]),
410
412
  actions: S(() => [
411
- V(g(z), {
412
- color: g(N).secondary,
413
+ V(g(N), {
414
+ color: g(z).secondary,
413
415
  outline: !0,
414
416
  "aria-label": e.cancelLabel,
415
417
  onClick: a[0] || (a[0] = (c) => n(!1))
416
418
  }, {
417
419
  default: S(() => [
418
- E(h(e.cancelLabel), 1)
420
+ E(w(e.cancelLabel), 1)
419
421
  ]),
420
422
  _: 1
421
423
  }, 8, ["color", "aria-label"]),
422
- V(g(z), {
424
+ V(g(N), {
423
425
  "aria-label": e.confirmLabel,
424
426
  onClick: a[1] || (a[1] = (c) => n(!0))
425
427
  }, {
426
428
  default: S(() => [
427
- E(h(e.confirmLabel), 1)
429
+ E(w(e.confirmLabel), 1)
428
430
  ]),
429
431
  _: 1
430
432
  }, 8, ["aria-label"])
@@ -448,7 +450,7 @@ class me {
448
450
  }
449
451
  static showConfirm(t) {
450
452
  this.getInstance().openModal({
451
- component: Et,
453
+ component: Nt,
452
454
  props: t
453
455
  });
454
456
  }
@@ -465,11 +467,11 @@ class me {
465
467
  this.modals = [], this.showModal.value = !1;
466
468
  }
467
469
  }
468
- const zt = /* @__PURE__ */ k({
470
+ const qt = /* @__PURE__ */ k({
469
471
  __name: "modalWrapper",
470
472
  setup(e) {
471
- const t = me.getInstance(), o = v(() => t.showModal.value ? t.modals : []);
472
- return (n, l) => (r(!0), f(L, null, P(o.value, (a) => (r(), w(ne(a?.component), B({
473
+ const t = me.getInstance(), o = h(() => t.showModal.value ? t.modals : []);
474
+ return (n, l) => (r(!0), f(L, null, M(o.value, (a) => (r(), y(ne(a?.component), B({
473
475
  key: a.id,
474
476
  ref_for: !0
475
477
  }, a?.props, {
@@ -477,7 +479,7 @@ const zt = /* @__PURE__ */ k({
477
479
  onCloseModal: a?.props?.onClose
478
480
  }), null, 16, ["onCloseModal"]))), 128));
479
481
  }
480
- }), Nt = /* @__PURE__ */ k({
482
+ }), jt = /* @__PURE__ */ k({
481
483
  __name: "notification-message",
482
484
  props: {
483
485
  message: {},
@@ -492,18 +494,18 @@ const zt = /* @__PURE__ */ k({
492
494
  };
493
495
  return (o, n) => (r(), f("div", {
494
496
  role: "alert",
495
- class: C(`alert ${t[e.type]} `)
497
+ class: $(`alert ${t[e.type]} `)
496
498
  }, [
497
- u("span", null, h(e.message), 1)
499
+ u("span", null, w(e.message), 1)
498
500
  ], 2));
499
501
  }
500
- }), qt = 5e3;
502
+ }), Ft = 5e3;
501
503
  class be {
502
504
  constructor() {
503
505
  this.notifications = x([]), this.addNotification = (t, o = "info") => {
504
506
  const n = {
505
507
  id: de(),
506
- duration: qt,
508
+ duration: Ft,
507
509
  message: t,
508
510
  type: o
509
511
  };
@@ -535,17 +537,17 @@ class be {
535
537
  this.getInstance().removeNotification(t);
536
538
  }
537
539
  }
538
- const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__ */ k({
540
+ const Kt = { class: "toast toast-top toast-center z-[999]" }, Ut = /* @__PURE__ */ k({
539
541
  __name: "notifications",
540
542
  setup(e) {
541
543
  const t = be.getInstance();
542
- return (o, n) => (r(), f("div", jt, [
543
- (r(!0), f(L, null, P(g(t).notifications.value, (l) => (r(), w(Nt, B({
544
+ return (o, n) => (r(), f("div", Kt, [
545
+ (r(!0), f(L, null, M(g(t).notifications.value, (l) => (r(), y(jt, B({
544
546
  key: l.id
545
547
  }, { ref_for: !0 }, l), null, 16))), 128))
546
548
  ]));
547
549
  }
548
- }), Kt = { class: "flex h-screen flex-col" }, Ut = { class: "shrink-0" }, Ht = { class: "navbar bg-primary text-primary-content w-full z-100" }, Wt = { class: "navbar-start" }, Gt = { class: "navbar-center" }, Xt = ["href"], Zt = { class: "navbar-end" }, Jt = { class: "drawer-content overflow-y-auto mb-2 mr-2 shadow-md" }, Qt = { class: "drawer-side h-full shadow-md" }, Yt = { class: "flex-grow overflow-y-auto" }, eo = { class: "bg-base-200 p-4" }, kn = /* @__PURE__ */ k({
550
+ }), Ht = { class: "flex h-screen flex-col" }, Wt = { class: "shrink-0" }, Gt = { class: "navbar bg-primary text-primary-content w-full z-100" }, Xt = { class: "navbar-start" }, Zt = { class: "navbar-center" }, Jt = ["href"], Qt = { class: "navbar-end" }, Yt = { class: "drawer-content overflow-y-auto mb-2 mr-2 shadow-md" }, eo = { class: "drawer-side h-full shadow-md" }, to = { class: "flex-grow overflow-y-auto" }, oo = { class: "bg-base-200 p-4" }, Cn = /* @__PURE__ */ k({
549
551
  __name: "shell.component",
550
552
  props: {
551
553
  title: {},
@@ -558,7 +560,7 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
558
560
  setup(e, { emit: t }) {
559
561
  const n = e, l = x(!1), a = () => {
560
562
  l.value = !l.value;
561
- }, c = t, d = v(() => n.user ? {
563
+ }, c = t, d = h(() => n.user ? {
562
564
  label: n.user.name,
563
565
  items: [
564
566
  {
@@ -570,35 +572,35 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
570
572
  ]
571
573
  } : null);
572
574
  return (p, i) => (r(), f(L, null, [
573
- V(Ft),
574
- V(g(zt)),
575
- u("div", Kt, [
576
- u("header", Ut, [
577
- u("nav", Ht, [
578
- u("div", Wt, [
575
+ V(Ut),
576
+ V(g(qt)),
577
+ u("div", Ht, [
578
+ u("header", Wt, [
579
+ u("nav", Gt, [
580
+ u("div", Xt, [
579
581
  u("button", {
580
582
  "aria-label": "open sidebar",
581
583
  class: "btn btn-square btn-ghost p-1",
582
584
  onClick: a
583
585
  }, [
584
- V(g(j), {
586
+ V(g(q), {
585
587
  icon: g(T).Hamburger
586
588
  }, null, 8, ["icon"])
587
589
  ])
588
590
  ]),
589
- u("div", Gt, [
591
+ u("div", Zt, [
590
592
  u("a", {
591
593
  class: "btn btn-ghost text-primary-content text-lg color-white",
592
594
  href: g("/")
593
- }, h(e.title), 9, Xt)
595
+ }, w(e.title), 9, Jt)
594
596
  ]),
595
- u("div", Zt, [
596
- d.value ? (r(), w(g(pe), B({ key: 0 }, d.value, { "btn-class": "" }), null, 16)) : _("", !0)
597
+ u("div", Qt, [
598
+ d.value ? (r(), y(g(pe), B({ key: 0 }, d.value, { "btn-class": "" }), null, 16)) : _("", !0)
597
599
  ])
598
600
  ])
599
601
  ]),
600
602
  u("div", {
601
- class: C(["drawer flex-1 overflow-hidden", { "drawer-open": l.value }])
603
+ class: $(["drawer flex-1 overflow-hidden", { "drawer-open": l.value }])
602
604
  }, [
603
605
  Y(u("input", {
604
606
  id: "app-drawer",
@@ -606,12 +608,12 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
606
608
  type: "checkbox",
607
609
  class: "drawer-toggle"
608
610
  }, null, 512), [
609
- [$e, l.value]
611
+ [Ce, l.value]
610
612
  ]),
611
- u("main", Jt, [
612
- M(p.$slots, "default")
613
+ u("main", Yt, [
614
+ P(p.$slots, "default")
613
615
  ]),
614
- u("div", Qt, [
616
+ u("div", eo, [
615
617
  i[1] || (i[1] = u("label", {
616
618
  for: "app-drawer",
617
619
  "aria-label": "close sidebar",
@@ -621,44 +623,44 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
621
623
  class: "menu bg-base-100 h-full flex flex-col justify-between",
622
624
  style: X({ width: e.widthSidebar + "px" })
623
625
  }, [
624
- u("ul", Yt, [
625
- (r(!0), f(L, null, P(e.menu, (s) => (r(), f("li", {
626
+ u("ul", to, [
627
+ (r(!0), f(L, null, M(e.menu, (s) => (r(), f("li", {
626
628
  key: s.label
627
629
  }, [
628
- V(g(ze), {
630
+ V(g(Ne), {
629
631
  to: { name: s.routerLink, params: s.params }
630
632
  }, {
631
633
  default: S(() => [
632
- E(h(s.label), 1)
634
+ E(w(s.label), 1)
633
635
  ]),
634
636
  _: 2
635
637
  }, 1032, ["to"])
636
638
  ]))), 128))
637
639
  ]),
638
- u("div", eo, " version: " + h(e.version), 1)
640
+ u("div", oo, " version: " + w(e.version), 1)
639
641
  ], 4)
640
642
  ])
641
643
  ], 2)
642
644
  ])
643
645
  ], 64));
644
646
  }
645
- }), to = {
647
+ }), so = {
646
648
  currentPage: { type: Number, required: !0 },
647
649
  page: { type: Number, required: !0 },
648
650
  label: { type: String, required: !0 },
649
651
  neverActive: { type: Boolean, default: !1 },
650
652
  disabled: { type: Boolean, default: !1 }
651
- }, oo = ["updatePage", "updatePageSize"], J = /* @__PURE__ */ k({
653
+ }, no = ["updatePage", "updatePageSize"], J = /* @__PURE__ */ k({
652
654
  __name: "pagination-button.component",
653
- props: to,
654
- emits: oo,
655
+ props: so,
656
+ emits: no,
655
657
  setup(e, { emit: t }) {
656
- const o = e, n = t, l = v(
658
+ const o = e, n = t, l = h(
657
659
  () => o.neverActive ? !1 : o.page === o.currentPage
658
- ), a = v(() => o.neverActive ? N.blank : l.value ? N.primary : N.secondary), c = () => {
660
+ ), a = h(() => o.neverActive ? z.blank : l.value ? z.primary : z.secondary), c = () => {
659
661
  n("updatePage", o.page);
660
662
  };
661
- return (d, p) => (r(), w(g(z), {
663
+ return (d, p) => (r(), y(g(N), {
662
664
  disabled: d.disabled,
663
665
  square: !0,
664
666
  size: "xs",
@@ -666,24 +668,24 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
666
668
  onClick: p[0] || (p[0] = (i) => c())
667
669
  }, {
668
670
  default: S(() => [
669
- E(h(d.label), 1)
671
+ E(w(d.label), 1)
670
672
  ]),
671
673
  _: 1
672
674
  }, 8, ["disabled", "color"]));
673
675
  }
674
- }), so = {
676
+ }), lo = {
675
677
  totalItems: { type: Number, default: 0 },
676
678
  itemsPerPage: { type: Number, default: 1 },
677
679
  currentPage: { type: Number, default: 1 }
678
- }, no = ["updatePage", "updatePageSize"], lo = { class: "flex gap-2" }, ao = { class: "flex flex-1 justify-center items-center" }, ro = { class: "flex gap-1" }, io = { class: "text-sm" }, Q = 6, uo = /* @__PURE__ */ k({
680
+ }, ao = ["updatePage", "updatePageSize"], ro = { class: "flex gap-2" }, io = { class: "flex flex-1 justify-center items-center" }, uo = { class: "flex gap-1" }, co = { class: "text-sm" }, Q = 6, po = /* @__PURE__ */ k({
679
681
  __name: "pagination.component",
680
- props: so,
681
- emits: no,
682
+ props: lo,
683
+ emits: ao,
682
684
  setup(e, { emit: t }) {
683
- const o = e, n = t, l = v(() => {
685
+ const o = e, n = t, l = h(() => {
684
686
  let s = Math.ceil(o.totalItems / o.itemsPerPage);
685
687
  return s < 1 ? 1 : s;
686
- }), a = Q / 2, c = v(() => {
688
+ }), a = Q / 2, c = h(() => {
687
689
  if (l.value <= Q)
688
690
  return {
689
691
  min: 1,
@@ -702,25 +704,25 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
702
704
  page: -10,
703
705
  disabled: !0,
704
706
  neverActive: !0
705
- }), p = v(() => {
707
+ }), p = h(() => {
706
708
  let s = l.value;
707
709
  s < 1 && (s = 1);
708
- const m = o.currentPage, b = [], { min: y, max: D } = c.value;
710
+ const m = o.currentPage, b = [], { min: v, max: D } = c.value;
709
711
  return Array.from({ length: s }, (H, A) => {
710
- const $ = A + 1;
711
- $ !== 1 && $ !== s && ($ > D || $ < y) || ($ === s && s > 1 && D < s && b.push(d(m)), b.push({
712
- label: `${$}`,
712
+ const C = A + 1;
713
+ C !== 1 && C !== s && (C > D || C < v) || (C === s && s > 1 && D < s && b.push(d(m)), b.push({
714
+ label: `${C}`,
713
715
  totalPages: s,
714
716
  currentPage: m,
715
- page: $
716
- }), $ === 1 && s > 1 && y > 1 && b.push(d(m)));
717
+ page: C
718
+ }), C === 1 && s > 1 && v > 1 && b.push(d(m)));
717
719
  }), b;
718
720
  }), i = (s) => {
719
721
  n("updatePage", s);
720
722
  };
721
- return (s, m) => (r(), f("div", lo, [
722
- u("div", ao, [
723
- u("div", ro, [
723
+ return (s, m) => (r(), f("div", ro, [
724
+ u("div", io, [
725
+ u("div", uo, [
724
726
  V(J, B(o, {
725
727
  page: 1,
726
728
  label: "<<",
@@ -737,7 +739,7 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
737
739
  disabled: s.currentPage === 1,
738
740
  onUpdatePage: i
739
741
  }), null, 16, ["page", "current-page", "disabled"]),
740
- (r(!0), f(L, null, P(p.value, (b) => (r(), w(J, B({
742
+ (r(!0), f(L, null, M(p.value, (b) => (r(), y(J, B({
741
743
  key: b.page,
742
744
  ref_for: !0
743
745
  }, b, { onUpdatePage: i }), null, 16))), 128)),
@@ -759,63 +761,66 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
759
761
  }), null, 16, ["page", "current-page", "disabled"])
760
762
  ])
761
763
  ]),
762
- u("div", io, " page " + h(s.currentPage) + " of " + h(l.value), 1)
764
+ u("div", co, " page " + w(s.currentPage) + " of " + w(l.value), 1)
763
765
  ]));
764
766
  }
765
- }), co = {
767
+ }), Be = {
766
768
  data: { type: Object, required: !0 },
767
769
  column: { type: Object, required: !0 },
768
770
  options: { type: Object }
769
- }, _n = /* @__PURE__ */ k({
771
+ }, xn = /* @__PURE__ */ k({
770
772
  __name: "text.cell",
771
- props: co,
773
+ props: Be,
772
774
  setup(e) {
773
- const t = e, o = v(() => {
775
+ const t = e, o = h(() => {
774
776
  const n = t.data[t.column.id];
775
777
  return n ? t.column.options?.format === "keyValue" ? n[t.column.options.key] : n : null;
776
778
  });
777
- return (n, l) => h(o.value);
779
+ return (n, l) => w(o.value);
778
780
  }
779
- }), po = {
781
+ }), fo = {
780
782
  column: { type: Object, required: !0 },
781
783
  sortColumn: { type: String },
782
784
  sortDirection: { type: String }
783
- }, fo = ["sort"], mo = { class: "flex-grow pr-2" }, bo = { class: "h-4 w-4" }, go = /* @__PURE__ */ k({
785
+ }, mo = ["sort"], bo = { class: "flex-grow pr-2" }, go = { class: "h-4 w-4" }, vo = /* @__PURE__ */ k({
784
786
  __name: "sort.header",
785
- props: po,
786
- emits: fo,
787
+ props: fo,
788
+ emits: mo,
787
789
  setup(e, { emit: t }) {
788
- const o = e, n = t, l = v(
790
+ const o = e, n = t, l = h(
789
791
  () => o.sortDirection === "asc" ? T.BarsArrowUp : T.BarsArrowDown
790
- ), a = v(() => o.column.options?.sortId ?? o.column.id), c = () => {
792
+ ), a = h(() => o.column.options?.sortId ?? o.column.id), c = () => {
791
793
  n("sort", a.value);
792
794
  };
793
795
  return (d, p) => (r(), f("button", {
794
796
  class: "flex items-center",
795
797
  onClick: c
796
798
  }, [
797
- u("span", mo, h(d.column.label), 1),
798
- u("div", bo, [
799
- d.sortColumn === a.value ? (r(), w(g(j), {
799
+ u("span", bo, w(d.column.label), 1),
800
+ u("div", go, [
801
+ d.sortColumn === a.value ? (r(), y(g(q), {
800
802
  key: 0,
801
803
  icon: l.value
802
804
  }, null, 8, ["icon"])) : _("", !0)
803
805
  ])
804
806
  ]));
805
807
  }
806
- }), vo = {
808
+ }), ho = {
807
809
  loading: { type: Boolean, default: !1 },
808
810
  actions: { type: Array },
809
811
  data: { type: Array },
810
- displayColumns: { type: Array, required: !0 },
812
+ displayColumns: {
813
+ type: Array,
814
+ required: !0
815
+ },
811
816
  page: { type: Object },
812
817
  sort: { type: Object }
813
- }, ho = ["updatePage", "sort"], yo = { class: "table w-full" }, wo = { key: 0 }, ko = ["colspan"], _o = ["ui-id"], Co = { class: "flex gap-2" }, Cn = /* @__PURE__ */ k({
818
+ }, yo = ["updatePage", "sort"], wo = { class: "table w-full" }, ko = { key: 0 }, _o = ["colspan"], $o = ["ui-id"], Co = { class: "flex gap-2" }, Ln = /* @__PURE__ */ k({
814
819
  __name: "table.component",
815
- props: vo,
816
- emits: ho,
820
+ props: ho,
821
+ emits: yo,
817
822
  setup(e, { emit: t }) {
818
- const o = t, n = Oe(), l = v(() => "onEdit" in n), a = v(() => "onDelete" in n), c = (s) => {
823
+ const o = t, n = Ie(), l = h(() => "onEdit" in n), a = h(() => "onDelete" in n), c = (s) => {
819
824
  n.onEdit?.(s);
820
825
  }, d = (s) => {
821
826
  n.onDelete?.(s);
@@ -825,72 +830,72 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
825
830
  o("sort", s);
826
831
  };
827
832
  return (s, m) => (r(), f(L, null, [
828
- u("table", yo, [
833
+ u("table", wo, [
829
834
  u("thead", null, [
830
835
  u("tr", null, [
831
- (r(!0), f(L, null, P(s.displayColumns, (b) => (r(), f("th", {
836
+ (r(!0), f(L, null, M(s.displayColumns, (b) => (r(), f("th", {
832
837
  key: b.scope
833
838
  }, [
834
- V(go, B({ column: b }, { ref_for: !0 }, s.sort, { onSort: i }), null, 16, ["column"])
839
+ V(vo, B({ column: b }, { ref_for: !0 }, s.sort, { onSort: i }), null, 16, ["column"])
835
840
  ]))), 128)),
836
841
  m[0] || (m[0] = u("th", null, null, -1))
837
842
  ])
838
843
  ]),
839
844
  u("tbody", null, [
840
- s.loading ? (r(), f("tr", wo, [
845
+ s.loading ? (r(), f("tr", ko, [
841
846
  u("td", {
842
847
  colspan: s.displayColumns.length + 1,
843
848
  class: "text-center"
844
849
  }, [...m[1] || (m[1] = [
845
850
  u("span", { class: "loading loading-bars loading-xs" }, null, -1)
846
- ])], 8, ko)
851
+ ])], 8, _o)
847
852
  ])) : _("", !0),
848
- (r(!0), f(L, null, P(s.data, (b) => (r(), f("tr", {
853
+ (r(!0), f(L, null, M(s.data, (b) => (r(), f("tr", {
849
854
  key: b.id,
850
855
  "ui-id": `table_${b.id}`
851
856
  }, [
852
- (r(!0), f(L, null, P(s.displayColumns, (y) => (r(), f("td", {
853
- key: y.scope
857
+ (r(!0), f(L, null, M(s.displayColumns, (v) => (r(), f("td", {
858
+ key: v.scope
854
859
  }, [
855
- (r(), w(ne(y.component), B({ ref_for: !0 }, y, {
860
+ (r(), y(ne(v.component), B({ ref_for: !0 }, v, {
856
861
  data: b,
857
- column: y
862
+ column: v
858
863
  }), null, 16, ["data", "column"]))
859
864
  ]))), 128)),
860
865
  u("td", null, [
861
866
  u("span", Co, [
862
- (r(!0), f(L, null, P(s.actions, (y) => (r(), w(z, {
863
- key: y.label,
864
- "aria-label": y.label,
865
- icon: y.icon,
867
+ (r(!0), f(L, null, M(s.actions, (v) => (r(), y(N, {
868
+ key: v.label,
869
+ "aria-label": v.label,
870
+ icon: v.icon,
866
871
  outline: !0,
867
- onClick: (D) => y.action(b)
872
+ onClick: (D) => v.action(b)
868
873
  }, {
869
874
  default: S(() => [
870
- E(h(y.label), 1)
875
+ E(w(v.label), 1)
871
876
  ]),
872
877
  _: 2
873
878
  }, 1032, ["aria-label", "icon", "onClick"]))), 128)),
874
- l.value ? (r(), w(z, {
879
+ l.value ? (r(), y(N, {
875
880
  key: 0,
876
881
  "aria-label": "Edit",
877
882
  icon: g(T).Edit,
878
883
  outline: !0,
879
- onClick: (y) => c(b)
884
+ onClick: (v) => c(b)
880
885
  }, null, 8, ["icon", "onClick"])) : _("", !0),
881
- a.value ? (r(), w(z, {
886
+ a.value ? (r(), y(N, {
882
887
  key: 1,
883
888
  "aria-label": "Delete",
884
889
  icon: g(T).Delete,
885
890
  outline: !0,
886
- onClick: (y) => d(b)
891
+ onClick: (v) => d(b)
887
892
  }, null, 8, ["icon", "onClick"])) : _("", !0)
888
893
  ])
889
894
  ])
890
- ], 8, _o))), 128))
895
+ ], 8, $o))), 128))
891
896
  ])
892
897
  ]),
893
- s.page ? (r(), w(uo, {
898
+ s.page ? (r(), y(po, {
894
899
  key: 0,
895
900
  class: "border-gray-300 border-t pt-4 border-x-0 border-b-0",
896
901
  "total-items": s.page.count,
@@ -900,43 +905,59 @@ const jt = { class: "toast toast-top toast-center z-[999]" }, Ft = /* @__PURE__
900
905
  }, null, 8, ["total-items", "items-per-page", "current-page"])) : _("", !0)
901
906
  ], 64));
902
907
  }
903
- }), $o = (e, t) => {
908
+ }), xo = { class: "flex justify-center" }, Sn = /* @__PURE__ */ k({
909
+ __name: "boolean.cell",
910
+ props: Be,
911
+ setup(e) {
912
+ const t = e, o = h(() => {
913
+ const n = t.data[t.column.id];
914
+ return n ? t.column.options?.format === "keyValue" ? n[t.column.options.key] : n : null;
915
+ });
916
+ return (n, l) => (r(), f("div", xo, [
917
+ o.value === !0 ? (r(), y(q, {
918
+ key: 0,
919
+ icon: g(T).Check,
920
+ size: "sm"
921
+ }, null, 8, ["icon"])) : _("", !0)
922
+ ]));
923
+ }
924
+ }), Lo = (e, t) => {
904
925
  const o = e.__vccOpts || e;
905
926
  for (const [n, l] of t)
906
927
  o[n] = l;
907
928
  return o;
908
- }, xo = {}, Lo = { class: "card bg-base-100 shadow-sm" }, So = { class: "card-body" }, Po = {
929
+ }, So = {}, Po = { class: "card bg-base-100 shadow-sm" }, Mo = { class: "card-body" }, Bo = {
909
930
  key: 0,
910
931
  class: "card-title"
911
- }, Mo = {
932
+ }, Vo = {
912
933
  key: 1,
913
934
  class: "card-actions justify-end"
914
935
  };
915
- function Bo(e, t) {
916
- return r(), f("div", Lo, [
917
- u("div", So, [
918
- e.$slots.title ? (r(), f("h2", Po, [
919
- M(e.$slots, "title")
936
+ function Ao(e, t) {
937
+ return r(), f("div", Po, [
938
+ u("div", Mo, [
939
+ e.$slots.title ? (r(), f("h2", Bo, [
940
+ P(e.$slots, "title")
920
941
  ])) : _("", !0),
921
942
  u("p", null, [
922
- M(e.$slots, "default"),
923
- M(e.$slots, "content")
943
+ P(e.$slots, "default"),
944
+ P(e.$slots, "content")
924
945
  ]),
925
- e.$slots.actions ? (r(), f("div", Mo, [
926
- M(e.$slots, "actions")
946
+ e.$slots.actions ? (r(), f("div", Vo, [
947
+ P(e.$slots, "actions")
927
948
  ])) : _("", !0)
928
949
  ])
929
950
  ]);
930
951
  }
931
- const $n = /* @__PURE__ */ $o(xo, [["render", Bo]]), xn = (e, t) => {
952
+ const Pn = /* @__PURE__ */ Lo(So, [["render", Ao]]), Mn = (e, t) => {
932
953
  if (!e) return null;
933
954
  const o = (n) => {
934
955
  e.contains(n.target) || t();
935
956
  };
936
957
  return document.addEventListener("click", o), o;
937
- }, Ln = (e) => {
958
+ }, Bn = (e) => {
938
959
  document.removeEventListener("click", e);
939
- }, Sn = {
960
+ }, Vn = {
940
961
  beforeMount(e, t) {
941
962
  e.clickOutsideEvent = function(o) {
942
963
  e === o.target || e.contains(o.target) || t.value(o);
@@ -946,17 +967,17 @@ const $n = /* @__PURE__ */ $o(xo, [["render", Bo]]), xn = (e, t) => {
946
967
  document.removeEventListener("click", e.clickOutsideEvent);
947
968
  }
948
969
  };
949
- function Vo(e) {
970
+ function Oo(e) {
950
971
  return e.replace(/[:\s_-]+(.)/g, (t, o) => o.toUpperCase()).replace(/^[A-Z]/, (t) => t.toLowerCase());
951
972
  }
952
- function Pn(e) {
953
- const t = Ie();
973
+ function An(e) {
974
+ const t = De();
954
975
  if (!t)
955
976
  return !1;
956
977
  const o = t.vnode.props;
957
978
  if (!o)
958
979
  return !1;
959
- const n = Vo(e), l = De(e);
980
+ const n = Oo(e), l = Te(e);
960
981
  return [
961
982
  re(e),
962
983
  re(l),
@@ -968,7 +989,7 @@ function Pn(e) {
968
989
  (c) => !!o[c]
969
990
  );
970
991
  }
971
- const Ao = ["select"], ge = {
992
+ const Io = ["select"], ge = {
972
993
  options: { type: Array, required: !1 },
973
994
  isLoading: {
974
995
  type: Boolean,
@@ -1044,16 +1065,16 @@ const Ao = ["select"], ge = {
1044
1065
  valueKey: { type: String, default: "value" },
1045
1066
  /** add a new button next to the list*/
1046
1067
  enableCreate: { type: Boolean, default: !1 }
1047
- }, Oo = ["select", "clear", "close", "create"], Be = {
1068
+ }, Do = ["select", "clear", "close", "create"], Ve = {
1048
1069
  ...ge,
1049
1070
  ...ve,
1050
1071
  isOpen: { type: Boolean, default: !1 },
1051
1072
  isActive: { type: Function, default: (e) => !1 }
1052
- }, Io = {
1073
+ }, To = {
1053
1074
  key: 1,
1054
1075
  tabindex: "-1",
1055
1076
  class: "pointer-events-none"
1056
- }, Do = ["data-index", "aria-selected", "onMousedown", "onMousemove"], Ro = ["innerHTML"], To = {
1077
+ }, Ro = ["data-index", "aria-selected", "onMousedown", "onMousemove"], Eo = ["innerHTML"], zo = {
1057
1078
  key: 0,
1058
1079
  xmlns: "http://www.w3.org/2000/svg",
1059
1080
  class: "h-4 w-4 shrink-0 opacity-80",
@@ -1062,7 +1083,7 @@ const Ao = ["select"], ge = {
1062
1083
  stroke: "currentColor",
1063
1084
  "stroke-width": "2.5"
1064
1085
  };
1065
- function Eo(e, t) {
1086
+ function No(e, t) {
1066
1087
  if (!t) return e;
1067
1088
  const o = t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
1068
1089
  return e.replace(
@@ -1070,13 +1091,13 @@ function Eo(e, t) {
1070
1091
  '<mark class="bg-warning/40 text-inherit rounded-sm px-0.5">$1</mark>'
1071
1092
  );
1072
1093
  }
1073
- const zo = /* @__PURE__ */ k({
1094
+ const qo = /* @__PURE__ */ k({
1074
1095
  __name: "ListResults",
1075
1096
  props: ge,
1076
- emits: Ao,
1097
+ emits: Io,
1077
1098
  setup(e, { expose: t, emit: o }) {
1078
1099
  const n = e, l = x(-1), a = x(), c = o;
1079
- q(
1100
+ j(
1080
1101
  () => n.options,
1081
1102
  () => {
1082
1103
  l.value = -1;
@@ -1113,34 +1134,34 @@ const zo = /* @__PURE__ */ k({
1113
1134
  role: "listbox",
1114
1135
  class: "absolute z-50 w-full mt-1 bg-base-100 border border-base-300 rounded-box shadow-xl overflow-auto max-h-64 origin-top p-1"
1115
1136
  }, [
1116
- s.isLoading ? (r(), f(L, { key: 0 }, P(2, (b) => u("li", {
1137
+ s.isLoading ? (r(), f(L, { key: 0 }, M(2, (b) => u("li", {
1117
1138
  key: `skel-${b}`,
1118
1139
  class: "pointer-events-none px-3 py-2"
1119
1140
  }, [...m[0] || (m[0] = [
1120
1141
  u("div", { class: "flex items-center gap-3" }, [
1121
1142
  u("div", { class: "skeleton h-3 w-3/4 rounded" })
1122
1143
  ], -1)
1123
- ])])), 64)) : s.options.length === 0 ? (r(), f("li", Io, [...m[1] || (m[1] = [
1144
+ ])])), 64)) : s.options?.length === 0 ? (r(), f("li", To, [...m[1] || (m[1] = [
1124
1145
  u("span", { class: "px-3 py-2 text-sm opacity-50 italic" }, " No results found ", -1)
1125
- ])])) : (r(!0), f(L, { key: 2 }, P(s.options, (b, y) => (r(), f("li", {
1146
+ ])])) : (r(!0), f(L, { key: 2 }, M(s.options, (b, v) => (r(), f("li", {
1126
1147
  key: b.value,
1127
- "data-index": y,
1148
+ "data-index": v,
1128
1149
  role: "option",
1129
- "aria-selected": y === l.value,
1150
+ "aria-selected": v === l.value,
1130
1151
  onMousedown: le((D) => i(b), ["prevent"]),
1131
- onMousemove: (D) => l.value = y
1152
+ onMousemove: (D) => l.value = v
1132
1153
  }, [
1133
1154
  u("a", {
1134
- class: C(["flex items-center justify-between gap-2 rounded-lg px-3 py-2 text-sm transition-colors duration-100", {
1135
- "active bg-secondary text-primary-content": y === l.value,
1136
- "hover:bg-base-200": y !== l.value
1155
+ class: $(["flex items-center justify-between gap-2 rounded-lg px-3 py-2 text-sm transition-colors duration-100", {
1156
+ "active bg-secondary text-primary-content": v === l.value,
1157
+ "hover:bg-base-200": v !== l.value
1137
1158
  }])
1138
1159
  }, [
1139
1160
  u("span", {
1140
1161
  class: "whitespace-nowrap",
1141
- innerHTML: Eo(b.label, s.query)
1142
- }, null, 8, Ro),
1143
- s.isActive(b) ? (r(), f("svg", To, [...m[2] || (m[2] = [
1162
+ innerHTML: No(b.label, s.query)
1163
+ }, null, 8, Eo),
1164
+ s.isActive(b) ? (r(), f("svg", zo, [...m[2] || (m[2] = [
1144
1165
  u("path", {
1145
1166
  "stroke-linecap": "round",
1146
1167
  "stroke-linejoin": "round",
@@ -1148,44 +1169,44 @@ const zo = /* @__PURE__ */ k({
1148
1169
  }, null, -1)
1149
1170
  ])])) : _("", !0)
1150
1171
  ], 2)
1151
- ], 40, Do))), 128))
1172
+ ], 40, Ro))), 128))
1152
1173
  ], 512));
1153
1174
  }
1154
- }), Ve = ({ isTouched: e, errors: t }) => !!(e && t), No = (e, t, o, n) => t === void 0 || t !== void 0 && !e || !n && !o, U = (e, t) => [e, { "input-error": Ve(t) }], qo = { key: 0 }, Z = /* @__PURE__ */ k({
1175
+ }), Ae = ({ isTouched: e, errors: t }) => !!(e && t), jo = (e, t, o, n) => t === void 0 || t !== void 0 && !e || !n && !o, U = (e, t) => [e, { "input-error": Ae(t) }], Fo = { key: 0 }, Z = /* @__PURE__ */ k({
1155
1176
  __name: "ControlWrapper",
1156
1177
  props: K,
1157
1178
  setup(e) {
1158
- const t = e, o = v(() => !No(
1179
+ const t = e, o = h(() => !jo(
1159
1180
  t.visible,
1160
1181
  t.description,
1161
1182
  t.isFocused,
1162
1183
  !0
1163
- )), n = v(() => t.required), l = v(() => Ve(t)), a = v(() => ae(t.styles));
1184
+ )), n = h(() => t.required), l = h(() => Ae(t)), a = h(() => ae(t.styles));
1164
1185
  return (c, d) => (r(), f("fieldset", {
1165
- class: C(["fieldset", [c.width, a.value.control.wrapper]])
1186
+ class: $(["fieldset", [c.width, a.value.control.wrapper]])
1166
1187
  }, [
1167
1188
  u("legend", {
1168
- class: C(a.value.control.label)
1189
+ class: $(a.value.control.label)
1169
1190
  }, [
1170
1191
  c.hideLabel ? _("", !0) : (r(), f(L, { key: 0 }, [
1171
- u("span", null, h(c.label), 1),
1172
- n.value ? (r(), f("span", qo, "*")) : _("", !0)
1192
+ u("span", null, w(c.label), 1),
1193
+ n.value ? (r(), f("span", Fo, "*")) : _("", !0)
1173
1194
  ], 64)),
1174
1195
  d[0] || (d[0] = E("   ", -1))
1175
1196
  ], 2),
1176
- M(c.$slots, "default"),
1197
+ P(c.$slots, "default"),
1177
1198
  u("p", {
1178
- class: C(["fieldset-label h-4", { "text-error": l.value }])
1179
- }, h(l.value ? c.errors : o.value ? c.description : null), 3)
1199
+ class: $(["fieldset-label h-4", { "text-error": l.value }])
1200
+ }, w(l.value ? c.errors : o.value ? c.description : null), 3)
1180
1201
  ], 2));
1181
1202
  }
1182
- }), jo = ["aria-label"], Fo = { class: "flex items-center w-full" }, Ko = { class: "overflow-hidden w-full" }, Uo = { class: "absolute inset-y-0 right-0 flex items-center pr-3 gap-1 pointer-events-none" }, Ho = {
1203
+ }), Ko = ["aria-label"], Uo = { class: "flex items-center w-full" }, Ho = { class: "overflow-hidden w-full" }, Wo = { class: "absolute inset-y-0 right-0 flex items-center pr-3 gap-1 pointer-events-none" }, Go = {
1183
1204
  key: 0,
1184
1205
  class: "loading loading-spinner loading-xs text-primary pointer-events-none"
1185
1206
  }, he = /* @__PURE__ */ k({
1186
1207
  __name: "SelectWrapper",
1187
- props: Be,
1188
- emits: Oo,
1208
+ props: Ve,
1209
+ emits: Do,
1189
1210
  setup(e, { emit: t }) {
1190
1211
  const o = e, n = x(), l = x(), a = t, c = () => {
1191
1212
  d(), a("clear");
@@ -1200,7 +1221,7 @@ const zo = /* @__PURE__ */ k({
1200
1221
  }, i = (s) => {
1201
1222
  n.value && !n.value.contains(s.target) && d();
1202
1223
  };
1203
- return Ce(() => {
1224
+ return $e(() => {
1204
1225
  document.addEventListener("click", i);
1205
1226
  }), _e(() => {
1206
1227
  document.removeEventListener("click", i);
@@ -1212,16 +1233,16 @@ const zo = /* @__PURE__ */ k({
1212
1233
  }, [
1213
1234
  V(Z, ee(te(o)), {
1214
1235
  default: S(() => [
1215
- u("div", Fo, [
1236
+ u("div", Uo, [
1216
1237
  u("div", {
1217
1238
  class: "relative w-full",
1218
1239
  onKeydown: p
1219
1240
  }, [
1220
- u("div", Ko, [
1221
- M(s.$slots, "default")
1241
+ u("div", Ho, [
1242
+ P(s.$slots, "default")
1222
1243
  ]),
1223
- u("div", Uo, [
1224
- s.isLoading && !s.label ? (r(), f("span", Ho)) : _("", !0),
1244
+ u("div", Wo, [
1245
+ s.isLoading && !s.label ? (r(), f("span", Go)) : _("", !0),
1225
1246
  s.query && !s.isLoading ? (r(), f("button", {
1226
1247
  key: 1,
1227
1248
  type: "button",
@@ -1247,7 +1268,7 @@ const zo = /* @__PURE__ */ k({
1247
1268
  ])], 32)) : _("", !0),
1248
1269
  (r(), f("svg", {
1249
1270
  xmlns: "http://www.w3.org/2000/svg",
1250
- class: C(["h-4 w-4 opacity-40 transition-transform duration-200", { "rotate-180": s.isOpen }]),
1271
+ class: $(["h-4 w-4 opacity-40 transition-transform duration-200", { "rotate-180": s.isOpen }]),
1251
1272
  fill: "none",
1252
1273
  viewBox: "0 0 24 24",
1253
1274
  stroke: "currentColor",
@@ -1269,7 +1290,7 @@ const zo = /* @__PURE__ */ k({
1269
1290
  "leave-to-class": "opacity-0 -translate-y-1 scale-y-95"
1270
1291
  }, {
1271
1292
  default: S(() => [
1272
- s.isOpen ? (r(), w(zo, {
1293
+ s.isOpen ? (r(), y(qo, {
1273
1294
  key: 0,
1274
1295
  ref_key: "listResultsRef",
1275
1296
  ref: l,
@@ -1283,20 +1304,20 @@ const zo = /* @__PURE__ */ k({
1283
1304
  _: 1
1284
1305
  })
1285
1306
  ], 32),
1286
- s.enableCreate ? (r(), w(z, {
1307
+ s.enableCreate ? (r(), y(N, {
1287
1308
  key: 0,
1288
- icon: "Plus",
1289
- color: "blank",
1309
+ icon: g(T).Plus,
1310
+ color: g(z).blank,
1290
1311
  size: "lg",
1291
1312
  tooltip: "Create new",
1292
1313
  "aria-label": "create",
1293
1314
  onClick: m[1] || (m[1] = (b) => a("create"))
1294
- })) : _("", !0)
1315
+ }, null, 8, ["icon", "color"])) : _("", !0)
1295
1316
  ])
1296
1317
  ]),
1297
1318
  _: 3
1298
1319
  }, 16)
1299
- ], 8, jo));
1320
+ ], 8, Ko));
1300
1321
  }
1301
1322
  }), ue = (e, t) => {
1302
1323
  if (e)
@@ -1304,15 +1325,15 @@ const zo = /* @__PURE__ */ k({
1304
1325
  }, ie = (e, t) => {
1305
1326
  if (e)
1306
1327
  return typeof e == "object" ? e[t.valueKey] : e;
1307
- }, Wo = (e) => {
1328
+ }, Xo = (e) => {
1308
1329
  const t = x([]), o = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), l = (s) => {
1309
1330
  const m = [];
1310
1331
  o.clear(), n.clear(), s?.forEach((b) => {
1311
- const y = {
1332
+ const v = {
1312
1333
  value: ie(b, e),
1313
1334
  label: ue(b, e)
1314
1335
  };
1315
- o.set(y.value, b), m.push(y);
1336
+ o.set(v.value, b), n.set(v.value, v), m.push(v);
1316
1337
  }), t.value = m;
1317
1338
  }, a = (s) => o.get(s.value);
1318
1339
  return {
@@ -1324,7 +1345,7 @@ const zo = /* @__PURE__ */ k({
1324
1345
  getOption: (s) => n.get(ie(s, e)),
1325
1346
  getOriginals: (...s) => s.map(a).filter(Boolean)
1326
1347
  };
1327
- }, ye = (e) => Wo(e), Go = ["aria-label"], Mn = /* @__PURE__ */ k({
1348
+ }, ye = (e) => Xo(e), Zo = ["aria-label"], On = /* @__PURE__ */ k({
1328
1349
  __name: "SelectComponent",
1329
1350
  props: /* @__PURE__ */ I(ve, {
1330
1351
  modelValue: {},
@@ -1333,7 +1354,7 @@ const zo = /* @__PURE__ */ k({
1333
1354
  emits: /* @__PURE__ */ I(["update:modelValue", "change", "clear", "focus", "blur"], ["update:modelValue"]),
1334
1355
  setup(e, { emit: t }) {
1335
1356
  const o = x(!1), n = e, l = t, a = F(e, "modelValue"), c = ye(n), { options: d } = c;
1336
- q(
1357
+ j(
1337
1358
  () => n.options,
1338
1359
  () => {
1339
1360
  c.setOptions(n.options);
@@ -1342,19 +1363,19 @@ const zo = /* @__PURE__ */ k({
1342
1363
  );
1343
1364
  const p = (A) => {
1344
1365
  l("change", A);
1345
- }, i = v(
1366
+ }, i = h(
1346
1367
  () => a.value ? c.getLabels(a.value)[0] : ""
1347
- ), s = v(() => ae(n.styles)), m = v(
1368
+ ), s = h(() => ae(n.styles)), m = h(
1348
1369
  () => U(s.value.control.select, n)
1349
1370
  ), b = (A) => {
1350
- const $ = c.getOriginal(A);
1351
- a.value = $, p($);
1352
- }, y = () => {
1371
+ const C = c.getOriginal(A);
1372
+ a.value = C, p(C);
1373
+ }, v = () => {
1353
1374
  o.value = !1, a.value = null, p(void 0);
1354
1375
  }, D = (A) => c.getValues(a.value)?.[0] === A.value, H = () => {
1355
1376
  o.value = !1;
1356
1377
  };
1357
- return (A, $) => (r(), w(he, B(n, {
1378
+ return (A, C) => (r(), y(he, B(n, {
1358
1379
  options: g(d),
1359
1380
  disabled: !A.enabled,
1360
1381
  "is-open": o.value,
@@ -1362,21 +1383,21 @@ const zo = /* @__PURE__ */ k({
1362
1383
  "is-active": D,
1363
1384
  onClose: H,
1364
1385
  onSelect: b,
1365
- onClear: y
1386
+ onClear: v
1366
1387
  }), {
1367
1388
  default: S(() => [
1368
1389
  u("button", {
1369
1390
  type: "button",
1370
- class: C(["truncate block text-left", [m.value, A.width]]),
1391
+ class: $(["truncate block text-left", [m.value, A.width]]),
1371
1392
  "aria-label": A.id,
1372
1393
  role: "combobox",
1373
- onClick: $[0] || ($[0] = (R) => o.value = !0)
1374
- }, h(i.value ?? "Select value"), 11, Go)
1394
+ onClick: C[0] || (C[0] = (R) => o.value = !0)
1395
+ }, w(i.value ?? "Select value"), 11, Zo)
1375
1396
  ]),
1376
1397
  _: 1
1377
1398
  }, 16, ["options", "disabled", "is-open", "query"]));
1378
1399
  }
1379
- }), Xo = {
1400
+ }), Jo = {
1380
1401
  ...ve,
1381
1402
  ...ge,
1382
1403
  /** v-model binding */
@@ -1409,7 +1430,7 @@ const zo = /* @__PURE__ */ k({
1409
1430
  default: !1
1410
1431
  }
1411
1432
  };
1412
- function Zo(e) {
1433
+ function Qo(e) {
1413
1434
  const t = x([]), o = x(!1);
1414
1435
  function n(a) {
1415
1436
  if (!e.options) {
@@ -1426,7 +1447,7 @@ function Zo(e) {
1426
1447
  }
1427
1448
  return { results: t, isLoading: o, search: n, clear: l };
1428
1449
  }
1429
- function Jo(e) {
1450
+ function Yo(e) {
1430
1451
  const t = x([]), o = x(!1);
1431
1452
  let n = null, l = null;
1432
1453
  async function a(p) {
@@ -1450,8 +1471,8 @@ function Jo(e) {
1450
1471
  }
1451
1472
  return { results: t, isLoading: o, search: c, clear: d };
1452
1473
  }
1453
- function Qo(e) {
1454
- const t = e.fetchOptions ? Jo(e) : Zo(e);
1474
+ function es(e) {
1475
+ const t = e.fetchOptions ? Yo(e) : Qo(e);
1455
1476
  function o(n) {
1456
1477
  t.search(n);
1457
1478
  }
@@ -1462,19 +1483,19 @@ function Qo(e) {
1462
1483
  clear: t.clear
1463
1484
  };
1464
1485
  }
1465
- const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"], Bn = /* @__PURE__ */ k({
1486
+ const ts = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"], In = /* @__PURE__ */ k({
1466
1487
  __name: "AutoComplete",
1467
- props: Xo,
1488
+ props: Jo,
1468
1489
  emits: ["update:modelValue", "change", "clear", "focus", "blur"],
1469
1490
  setup(e, { emit: t }) {
1470
- const o = e, n = t, l = x(null), a = x(""), c = x(!1), d = Qo(o), { isLoading: p, triggerSearch: i, clear: s } = d, m = ye(o), { options: b } = m;
1471
- q(
1491
+ const o = e, n = t, l = x(null), a = x(""), c = x(!1), d = es(o), { isLoading: p, triggerSearch: i, clear: s } = d, m = ye(o), { options: b } = m;
1492
+ j(
1472
1493
  () => d.results.value,
1473
1494
  () => {
1474
1495
  m.setOptions(d.results.value);
1475
1496
  },
1476
1497
  { immediate: !0 }
1477
- ), q(
1498
+ ), j(
1478
1499
  () => o.modelValue,
1479
1500
  (O) => {
1480
1501
  if (O == null || O === "") {
@@ -1486,7 +1507,7 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1486
1507
  },
1487
1508
  { immediate: !0 }
1488
1509
  );
1489
- const y = (O) => {
1510
+ const v = (O) => {
1490
1511
  a.value = O.target.value, o.freeText ? n("update:modelValue", a.value) : n("update:modelValue", ""), i(a.value), c.value = !0;
1491
1512
  }, D = () => {
1492
1513
  i(a.value), c.value = !0;
@@ -1499,21 +1520,21 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1499
1520
  const A = (O) => {
1500
1521
  const G = m.getOriginal(O);
1501
1522
  a.value = O.label, c.value = !1, n("update:modelValue", G), n("change", G);
1502
- }, $ = () => {
1523
+ }, C = () => {
1503
1524
  a.value = "", s(), c.value = !1, n("update:modelValue", ""), n("clear"), xe(() => l.value?.focus());
1504
1525
  }, R = () => {
1505
1526
  c.value = !1;
1506
- }, W = v(() => ae(o.styles)), Ae = v(
1527
+ }, W = h(() => ae(o.styles)), Oe = h(
1507
1528
  () => U(W.value.control.select, o)
1508
1529
  );
1509
- return (O, G) => (r(), w(he, B(o, {
1530
+ return (O, G) => (r(), y(he, B(o, {
1510
1531
  options: g(b),
1511
1532
  "is-loading": g(p),
1512
1533
  "is-open": c.value,
1513
1534
  query: a.value,
1514
1535
  onClose: R,
1515
1536
  onSelect: A,
1516
- onClear: $
1537
+ onClear: C
1517
1538
  }), {
1518
1539
  default: S(() => [
1519
1540
  u("input", {
@@ -1528,84 +1549,84 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1528
1549
  autocomplete: "off",
1529
1550
  autocorrect: "off",
1530
1551
  spellcheck: "false",
1531
- class: C([Ae.value, "w-full"]),
1552
+ class: $([Oe.value, "w-full"]),
1532
1553
  value: a.value,
1533
1554
  placeholder: O.placeholder,
1534
1555
  disabled: !O.enabled,
1535
- onInput: y,
1556
+ onInput: v,
1536
1557
  onFocus: D,
1537
1558
  onBlur: H
1538
- }, null, 42, Yo)
1559
+ }, null, 42, ts)
1539
1560
  ]),
1540
1561
  _: 1
1541
1562
  }, 16, ["options", "is-loading", "is-open", "query"]));
1542
1563
  }
1543
- }), es = ["aria-label"], Vn = /* @__PURE__ */ k({
1564
+ }), os = ["aria-label"], Dn = /* @__PURE__ */ k({
1544
1565
  __name: "MultiSelect",
1545
- props: /* @__PURE__ */ I(Be, {
1566
+ props: /* @__PURE__ */ I(Ve, {
1546
1567
  modelValue: {},
1547
1568
  modelModifiers: {}
1548
1569
  }),
1549
1570
  emits: /* @__PURE__ */ I(["update:modelValue", "change", "clear", "focus", "blur"], ["update:modelValue"]),
1550
1571
  setup(e, { emit: t }) {
1551
- const o = x(!1), n = e, l = t, a = F(e, "modelValue"), c = ($) => {
1552
- l("change", $);
1572
+ const o = x(!1), n = e, l = t, a = F(e, "modelValue"), c = (C) => {
1573
+ l("change", C);
1553
1574
  }, d = ye(n), { options: p } = d;
1554
- q(
1575
+ j(
1555
1576
  () => n.options,
1556
1577
  () => {
1557
1578
  d.setOptions(n.options);
1558
1579
  },
1559
1580
  { immediate: !0 }
1560
1581
  );
1561
- const i = v(
1582
+ const i = h(
1562
1583
  () => a.value ? d.getLabels(...a.value).join(", ") : void 0
1563
- ), s = v(
1584
+ ), s = h(
1564
1585
  () => d.getValues(...a.value ?? [])
1565
- ), m = ($) => {
1586
+ ), m = (C) => {
1566
1587
  let R = a.value ?? [];
1567
- if (D($))
1588
+ if (D(C))
1568
1589
  R = R.filter(
1569
- (W) => d.getOption(W) !== $.value
1590
+ (W) => d.getOption(W)?.value !== C.value
1570
1591
  );
1571
1592
  else {
1572
- const W = d.getOriginal($);
1593
+ const W = d.getOriginal(C);
1573
1594
  R.push(W);
1574
1595
  }
1575
1596
  a.value = R, c(R);
1576
1597
  }, b = () => {
1577
1598
  o.value = !1, a.value = [], c([]);
1578
- }, y = () => {
1599
+ }, v = () => {
1579
1600
  o.value = !1;
1580
- }, D = ($) => s.value?.includes($.value) ?? !1, H = v(() => ae(n.styles)), A = v(
1601
+ }, D = (C) => s.value?.includes(C.value) ?? !1, H = h(() => ae(n.styles)), A = h(
1581
1602
  () => U(H.value.control.select, n)
1582
1603
  );
1583
- return ($, R) => (r(), w(he, B(n, {
1604
+ return (C, R) => (r(), y(he, B(n, {
1584
1605
  options: g(p),
1585
1606
  "is-open": o.value,
1586
- disabled: !$.enabled,
1607
+ disabled: !C.enabled,
1587
1608
  query: i.value,
1588
1609
  "is-active": D,
1589
- onClose: y,
1610
+ onClose: v,
1590
1611
  onSelect: m,
1591
1612
  onClear: b
1592
1613
  }), {
1593
1614
  default: S(() => [
1594
1615
  u("button", {
1595
1616
  type: "button",
1596
- class: C(["truncate block text-left", [A.value, $.width]]),
1597
- "aria-label": $.id,
1617
+ class: $(["truncate block text-left", [A.value, C.width]]),
1618
+ "aria-label": C.id,
1598
1619
  role: "combobox",
1599
1620
  onClick: R[0] || (R[0] = (W) => o.value = !0)
1600
- }, h(i.value ?? "Select value"), 11, es)
1621
+ }, w(i.value ?? "Select value"), 11, os)
1601
1622
  ]),
1602
1623
  _: 1
1603
1624
  }, 16, ["options", "is-open", "disabled", "query"]));
1604
1625
  }
1605
- }), ts = ["change"], os = {
1626
+ }), ss = ["change"], ns = {
1606
1627
  ...K,
1607
1628
  width: { type: String, default: "w-48" },
1608
- minHeight: { type: String, default: "min-h-96" },
1629
+ minHeight: { type: String, default: "min-h-[50vh]" },
1609
1630
  actions: {
1610
1631
  type: Object,
1611
1632
  default: () => [
@@ -1621,18 +1642,18 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1621
1642
  }
1622
1643
  ]
1623
1644
  }
1624
- }, ss = ["aria-label"], ns = { class: "flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200" }, ls = ["title", "onClick"], as = ["innerHTML"], rs = { class: "card-body p-3" }, An = /* @__PURE__ */ k({
1645
+ }, ls = ["aria-label"], as = { class: "flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200" }, rs = ["title", "onClick"], is = ["innerHTML"], us = { class: "card-body p-3" }, Tn = /* @__PURE__ */ k({
1625
1646
  __name: "Markdown",
1626
- props: /* @__PURE__ */ I(os, {
1647
+ props: /* @__PURE__ */ I(ns, {
1627
1648
  modelValue: {},
1628
1649
  modelModifiers: {}
1629
1650
  }),
1630
- emits: /* @__PURE__ */ I(ts, ["update:modelValue"]),
1651
+ emits: /* @__PURE__ */ I(ss, ["update:modelValue"]),
1631
1652
  setup(e, { emit: t }) {
1632
- const o = e, n = t, l = F(e, "modelValue"), a = rt({
1653
+ const o = e, n = t, l = F(e, "modelValue"), a = it({
1633
1654
  content: l.value ?? "",
1634
1655
  extensions: [
1635
- at.configure({
1656
+ rt.configure({
1636
1657
  heading: !1,
1637
1658
  blockquote: !1,
1638
1659
  bulletList: !1,
@@ -1643,7 +1664,7 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1643
1664
  horizontalRule: !1,
1644
1665
  hardBreak: !1
1645
1666
  }),
1646
- ut.configure({
1667
+ ct.configure({
1647
1668
  html: !1,
1648
1669
  transformPastedText: !0
1649
1670
  // parse markdown on paste
@@ -1653,93 +1674,93 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1653
1674
  n("change", c.storage.markdown.getMarkdown());
1654
1675
  }
1655
1676
  });
1656
- return Te(() => {
1677
+ return Ee(() => {
1657
1678
  a.value?.destroy();
1658
- }), (c, d) => (r(), w(Z, ee(te(o)), {
1679
+ }), (c, d) => (r(), y(Z, ee(te(o)), {
1659
1680
  default: S(() => [
1660
1681
  u("div", {
1661
- class: C([[c.minHeight], "card bg-base-100 border border-base-300 w-full"]),
1682
+ class: $([[c.minHeight], "card bg-base-100 border border-base-300 w-full"]),
1662
1683
  "aria-label": c.id,
1663
1684
  role: "textbox"
1664
1685
  }, [
1665
- u("div", ns, [
1666
- (r(!0), f(L, null, P(c.actions, (p) => (r(), f("button", {
1686
+ u("div", as, [
1687
+ (r(!0), f(L, null, M(c.actions, (p) => (r(), f("button", {
1667
1688
  key: p.name,
1668
1689
  tabindex: "-1",
1669
1690
  type: "button",
1670
- class: C(["btn btn-sm btn-ghost", { "btn-active": g(a)?.isActive(p.name) }]),
1691
+ class: $(["btn btn-sm btn-ghost", { "btn-active": g(a)?.isActive(p.name) }]),
1671
1692
  title: p.label,
1672
1693
  onClick: (i) => p.action(g(a))
1673
1694
  }, [
1674
1695
  u("span", {
1675
1696
  innerHTML: p.label
1676
- }, null, 8, as)
1677
- ], 10, ls))), 128))
1697
+ }, null, 8, is)
1698
+ ], 10, rs))), 128))
1678
1699
  ]),
1679
- u("div", rs, [
1680
- V(g(it), {
1700
+ u("div", us, [
1701
+ V(g(ut), {
1681
1702
  editor: g(a),
1682
1703
  class: "prose prose-sm max-w-none h-full"
1683
1704
  }, null, 8, ["editor"])
1684
1705
  ])
1685
- ], 10, ss)
1706
+ ], 10, ls)
1686
1707
  ]),
1687
1708
  _: 1
1688
1709
  }, 16));
1689
1710
  }
1690
- }), is = {
1711
+ }), cs = {
1691
1712
  ...K
1692
- }, us = ["change", "focus", "blur"], cs = { class: "flex items-center justify-center h-full" }, ds = { class: "fieldset-label" }, ps = ["aria-label", "disabled"], fs = { class: "font-bold text-gray-500 text-sm" }, On = /* @__PURE__ */ k({
1713
+ }, ds = ["change", "focus", "blur"], ps = { class: "flex items-center justify-center h-full" }, fs = { class: "fieldset-label" }, ms = ["aria-label", "disabled"], bs = { class: "font-bold text-gray-500 text-sm" }, Rn = /* @__PURE__ */ k({
1693
1714
  __name: "Checkbox",
1694
- props: /* @__PURE__ */ I(is, {
1715
+ props: /* @__PURE__ */ I(cs, {
1695
1716
  modelValue: {},
1696
1717
  modelModifiers: {}
1697
1718
  }),
1698
- emits: /* @__PURE__ */ I(us, ["update:modelValue"]),
1719
+ emits: /* @__PURE__ */ I(ds, ["update:modelValue"]),
1699
1720
  setup(e, { emit: t }) {
1700
1721
  const o = e, n = t, l = F(e, "modelValue"), a = (i) => {
1701
- n("change", i);
1722
+ n("change", l.value);
1702
1723
  }, c = (i) => {
1703
1724
  n("focus", i);
1704
1725
  }, d = (i) => {
1705
1726
  n("blur", i);
1706
- }, p = v(
1727
+ }, p = h(
1707
1728
  () => U(o.styles.control.checkbox, o)
1708
1729
  );
1709
- return (i, s) => (r(), f("div", cs, [
1730
+ return (i, s) => (r(), f("div", ps, [
1710
1731
  V(Z, B(o, { "hide-label": !0 }), {
1711
1732
  default: S(() => [
1712
- u("label", ds, [
1733
+ u("label", fs, [
1713
1734
  Y(u("input", {
1714
1735
  "onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
1715
1736
  "aria-label": i.id,
1716
1737
  role: "checkbox",
1717
1738
  type: "checkbox",
1718
- class: C(p.value),
1739
+ class: $(p.value),
1719
1740
  disabled: !i.enabled,
1720
1741
  onChange: a,
1721
1742
  onFocus: c,
1722
1743
  onBlur: d
1723
- }, null, 42, ps), [
1724
- [$e, l.value]
1744
+ }, null, 42, ms), [
1745
+ [Ce, l.value]
1725
1746
  ]),
1726
- u("span", fs, h(i.label), 1)
1747
+ u("span", bs, w(i.label), 1)
1727
1748
  ])
1728
1749
  ]),
1729
1750
  _: 1
1730
1751
  }, 16)
1731
1752
  ]));
1732
1753
  }
1733
- }), ms = {
1754
+ }), gs = {
1734
1755
  ...K,
1735
1756
  type: { type: String, default: "text" }
1736
- }, bs = ["change", "focus", "blur"], gs = ["aria-label", "type", "disabled", "autofocus", "placeholder"], In = /* @__PURE__ */ k({
1757
+ }, vs = ["change", "focus", "blur"], hs = ["aria-label", "type", "disabled", "autofocus", "placeholder"], En = /* @__PURE__ */ k({
1737
1758
  __name: "Input",
1738
- props: /* @__PURE__ */ I(ms, {
1759
+ props: /* @__PURE__ */ I(gs, {
1739
1760
  modelValue: {},
1740
1761
  modelModifiers: {}
1741
1762
  }),
1742
- emits: /* @__PURE__ */ I(bs, ["update:modelValue"]),
1763
+ emits: /* @__PURE__ */ I(vs, ["update:modelValue"]),
1743
1764
  setup(e, { emit: t }) {
1744
1765
  const o = e, n = t, l = F(e, "modelValue"), a = (i) => {
1745
1766
  n("change", i);
@@ -1747,40 +1768,40 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1747
1768
  n("focus", i);
1748
1769
  }, d = (i) => {
1749
1770
  n("blur", i);
1750
- }, p = v(
1771
+ }, p = h(
1751
1772
  () => U(o.styles.control.input, o)
1752
1773
  );
1753
- return (i, s) => (r(), w(Z, ee(te(o)), {
1774
+ return (i, s) => (r(), y(Z, ee(te(o)), {
1754
1775
  default: S(() => [
1755
1776
  Y(u("input", {
1756
1777
  "onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
1757
1778
  "aria-label": i.id,
1758
1779
  autocomplete: "off",
1759
1780
  type: i.type,
1760
- class: C(["w-full", p.value]),
1781
+ class: $(["w-full", p.value]),
1761
1782
  disabled: !i.enabled,
1762
1783
  autofocus: i.isFocused,
1763
1784
  placeholder: i.placeholder,
1764
1785
  onChange: a,
1765
1786
  onFocus: c,
1766
1787
  onBlur: d
1767
- }, null, 42, gs), [
1768
- [Ee, l.value]
1788
+ }, null, 42, hs), [
1789
+ [ze, l.value]
1769
1790
  ])
1770
1791
  ]),
1771
1792
  _: 1
1772
1793
  }, 16));
1773
1794
  }
1774
- }), vs = {
1795
+ }), ys = {
1775
1796
  ...K,
1776
1797
  steps: { type: Number, default: 1 }
1777
- }, hs = ["change", "focus", "blur"], ys = ["aria-label", "disabled", "step", "autofocus", "placeholder"], Dn = /* @__PURE__ */ k({
1798
+ }, ws = ["change", "focus", "blur"], ks = ["aria-label", "disabled", "step", "autofocus", "placeholder"], zn = /* @__PURE__ */ k({
1778
1799
  __name: "InputNumber",
1779
- props: /* @__PURE__ */ I(vs, {
1800
+ props: /* @__PURE__ */ I(ys, {
1780
1801
  modelValue: {},
1781
1802
  modelModifiers: {}
1782
1803
  }),
1783
- emits: /* @__PURE__ */ I(hs, ["update:modelValue"]),
1804
+ emits: /* @__PURE__ */ I(ws, ["update:modelValue"]),
1784
1805
  setup(e, { emit: t }) {
1785
1806
  const o = e, n = t, l = F(e, "modelValue"), a = (i) => {
1786
1807
  n("change", i);
@@ -1788,17 +1809,17 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1788
1809
  n("focus", i);
1789
1810
  }, d = (i) => {
1790
1811
  n("blur", i);
1791
- }, p = v(
1792
- () => U(o.styles.control.input, o)
1812
+ }, p = h(
1813
+ () => U(o.styles?.control?.input, o)
1793
1814
  );
1794
- return (i, s) => (r(), w(Z, ee(te(o)), {
1815
+ return (i, s) => (r(), y(Z, ee(te(o)), {
1795
1816
  default: S(() => [
1796
1817
  Y(u("input", {
1797
1818
  "onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
1798
1819
  autocomplete: "off",
1799
1820
  "aria-label": i.id,
1800
1821
  type: "number",
1801
- class: C(["w-full", [p.value]]),
1822
+ class: $(["w-full", [p.value]]),
1802
1823
  disabled: !i.enabled,
1803
1824
  step: i.steps,
1804
1825
  autofocus: i.isFocused,
@@ -1806,23 +1827,23 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1806
1827
  onChange: a,
1807
1828
  onFocus: c,
1808
1829
  onBlur: d
1809
- }, null, 42, ys), [
1830
+ }, null, 42, ks), [
1810
1831
  [Le, l.value]
1811
1832
  ])
1812
1833
  ]),
1813
1834
  _: 1
1814
1835
  }, 16));
1815
1836
  }
1816
- }), ws = {
1837
+ }), _s = {
1817
1838
  ...K,
1818
1839
  rows: { type: Number, default: 4 }
1819
- }, ks = ["change", "focus", "blur"], _s = ["aria-label", "disabled", "rows", "autofocus", "placeholder"], Rn = /* @__PURE__ */ k({
1840
+ }, $s = ["change", "focus", "blur"], Cs = ["aria-label", "disabled", "rows", "autofocus", "placeholder"], Nn = /* @__PURE__ */ k({
1820
1841
  __name: "Textarea",
1821
- props: /* @__PURE__ */ I(ws, {
1842
+ props: /* @__PURE__ */ I(_s, {
1822
1843
  modelValue: {},
1823
1844
  modelModifiers: {}
1824
1845
  }),
1825
- emits: /* @__PURE__ */ I(ks, ["update:modelValue"]),
1846
+ emits: /* @__PURE__ */ I($s, ["update:modelValue"]),
1826
1847
  setup(e, { emit: t }) {
1827
1848
  const o = e, n = t, l = F(e, "modelValue"), a = (i) => {
1828
1849
  n("change", i);
@@ -1830,17 +1851,17 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1830
1851
  n("focus", i);
1831
1852
  }, d = (i) => {
1832
1853
  n("blur", i);
1833
- }, p = v(
1854
+ }, p = h(
1834
1855
  () => U(o.styles.control.textarea, o)
1835
1856
  );
1836
- return (i, s) => (r(), w(Z, ee(te(o)), {
1857
+ return (i, s) => (r(), y(Z, ee(te(o)), {
1837
1858
  default: S(() => [
1838
1859
  Y(u("textarea", {
1839
1860
  "onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
1840
1861
  autocomplete: "off",
1841
1862
  type: "text",
1842
1863
  "aria-label": i.id,
1843
- class: C(["w-full", p.value]),
1864
+ class: $(["w-full", p.value]),
1844
1865
  disabled: !i.enabled,
1845
1866
  rows: i.rows,
1846
1867
  autofocus: i.isFocused,
@@ -1848,37 +1869,37 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1848
1869
  onChange: a,
1849
1870
  onFocus: c,
1850
1871
  onBlur: d
1851
- }, null, 42, _s), [
1872
+ }, null, 42, Cs), [
1852
1873
  [Le, l.value]
1853
1874
  ])
1854
1875
  ]),
1855
1876
  _: 1
1856
1877
  }, 16));
1857
1878
  }
1858
- }), Cs = {
1879
+ }), xs = {
1859
1880
  widthLeft: { type: Number, default: 200 },
1860
1881
  widthRight: { type: Number, default: 200 },
1861
1882
  initialLeftOpen: { type: Boolean, default: !0 },
1862
1883
  initialRightOpen: { type: Boolean, default: !0 }
1863
- }, $s = { class: "flex h-full overflow-hidden gap-2" }, xs = {
1884
+ }, Ls = { class: "flex h-full overflow-hidden gap-2" }, Ss = {
1864
1885
  key: 0,
1865
1886
  id: "drawer-left",
1866
1887
  class: "min-h-0 relative flex-shrink-0 bg-white overflow-visible flex"
1867
- }, Ls = ["aria-expanded", "aria-label"], Ss = { class: "flex-1 overflow-y-auto bg-white" }, Ps = {
1888
+ }, Ps = ["aria-expanded", "aria-label"], Ms = { class: "flex-1 overflow-y-auto bg-white" }, Bs = {
1868
1889
  key: 1,
1869
1890
  class: "min-h-0 relative flex-shrink-0 bg-white overflow-visible flex"
1870
- }, Ms = ["aria-expanded", "aria-label"], Tn = /* @__PURE__ */ k({
1891
+ }, Vs = ["aria-expanded", "aria-label"], qn = /* @__PURE__ */ k({
1871
1892
  __name: "drawer",
1872
- props: Cs,
1893
+ props: xs,
1873
1894
  setup(e) {
1874
- const t = e, o = Se(), n = v(() => !!o["left-drawer"]), l = v(() => !!o["right-drawer"]), a = x({
1895
+ const t = e, o = Se(), n = h(() => !!o["left-drawer"]), l = h(() => !!o["right-drawer"]), a = x({
1875
1896
  left: t.initialLeftOpen,
1876
1897
  right: t.initialRightOpen
1877
1898
  }), c = (d) => {
1878
1899
  a.value[d] = !a.value[d];
1879
1900
  };
1880
- return (d, p) => (r(), f("main", $s, [
1881
- n.value ? (r(), f("aside", xs, [
1901
+ return (d, p) => (r(), f("main", Ls, [
1902
+ n.value ? (r(), f("aside", Ss, [
1882
1903
  u("div", {
1883
1904
  id: "drawer-left-panel",
1884
1905
  style: X({ width: a.value.left ? d.widthLeft + "px" : "0px" }),
@@ -1888,7 +1909,7 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1888
1909
  style: X({ width: d.widthLeft + "px" }),
1889
1910
  class: "h-full overflow-y-auto p-4"
1890
1911
  }, [
1891
- M(d.$slots, "left-drawer")
1912
+ P(d.$slots, "left-drawer")
1892
1913
  ], 4)
1893
1914
  ], 4),
1894
1915
  u("button", {
@@ -1898,16 +1919,16 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1898
1919
  class: "hover:bg-base-300 hover:text-base-content transition-colors cursor-pointer",
1899
1920
  onClick: p[0] || (p[0] = (i) => c("left"))
1900
1921
  }, [
1901
- V(g(j), {
1922
+ V(g(q), {
1902
1923
  size: "lg",
1903
1924
  icon: a.value.left ? g(T).ChevronLeft : g(T).ChevronRight
1904
1925
  }, null, 8, ["icon"])
1905
- ], 8, Ls)
1926
+ ], 8, Ps)
1906
1927
  ])) : _("", !0),
1907
- u("div", Ss, [
1908
- M(d.$slots, "default")
1928
+ u("div", Ms, [
1929
+ P(d.$slots, "default")
1909
1930
  ]),
1910
- l.value ? (r(), f("aside", Ps, [
1931
+ l.value ? (r(), f("aside", Bs, [
1911
1932
  u("button", {
1912
1933
  "aria-expanded": a.value.right,
1913
1934
  "aria-controls": "drawer-right-panel",
@@ -1915,11 +1936,11 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1915
1936
  class: "hover:bg-base-300 hover:text-base-content transition-colors cursor-pointer",
1916
1937
  onClick: p[1] || (p[1] = (i) => c("right"))
1917
1938
  }, [
1918
- V(g(j), {
1939
+ V(g(q), {
1919
1940
  size: "lg",
1920
1941
  icon: a.value.right ? g(T).ChevronRight : g(T).ChevronLeft
1921
1942
  }, null, 8, ["icon"])
1922
- ], 8, Ms),
1943
+ ], 8, Vs),
1923
1944
  u("div", {
1924
1945
  id: "drawer-right-panel",
1925
1946
  style: X({ width: a.value.right ? d.widthRight + "px" : "0px" }),
@@ -1929,16 +1950,16 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1929
1950
  style: X({ width: d.widthRight + "px" }),
1930
1951
  class: "h-full overflow-y-auto p-4"
1931
1952
  }, [
1932
- M(d.$slots, "right-drawer")
1953
+ P(d.$slots, "right-drawer")
1933
1954
  ], 4)
1934
1955
  ], 4)
1935
1956
  ])) : _("", !0)
1936
1957
  ]));
1937
1958
  }
1938
- }), Bs = { class: "ml-1" }, Vs = { class: "truncate flex-1 min-w-0 text-left" }, As = {
1959
+ }), As = { class: "ml-1" }, Os = { class: "truncate flex-1 min-w-0 text-left" }, Is = {
1939
1960
  key: 0,
1940
1961
  class: "badge badge-ghost badge-sm flex-shrink-0"
1941
- }, Os = /* @__PURE__ */ k({
1962
+ }, Ds = /* @__PURE__ */ k({
1942
1963
  __name: "TreeItem",
1943
1964
  props: {
1944
1965
  active: {},
@@ -1948,12 +1969,12 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1948
1969
  },
1949
1970
  emits: ["toggle", "select"],
1950
1971
  setup(e, { emit: t }) {
1951
- const o = e, n = t, l = v(() => o.active === o.node.id);
1972
+ const o = e, n = t, l = h(() => o.active === o.node.id);
1952
1973
  return (a, c) => {
1953
1974
  const d = ce("TreeItem", !0);
1954
- return r(), f("li", Bs, [
1975
+ return r(), f("li", As, [
1955
1976
  u("div", {
1956
- class: C([
1977
+ class: $([
1957
1978
  `flex items-center gap-1 cursor-pointer rounded-md px-1 py-0.5
1958
1979
  hover:bg-gray-100`,
1959
1980
  l.value ? "text-primary" : ""
@@ -1964,10 +1985,10 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1964
1985
  class: "flex items-center justify-center",
1965
1986
  onClick: c[0] || (c[0] = (p) => n("toggle", e.node))
1966
1987
  }, [
1967
- e.node.children && e.isExpanded(e.node.id) ? (r(), w(g(ct), {
1988
+ e.node.children && e.isExpanded(e.node.id) ? (r(), y(g(dt), {
1968
1989
  key: 0,
1969
1990
  class: "w-3 h-3"
1970
- })) : (r(), w(g(dt), {
1991
+ })) : (r(), y(g(pt), {
1971
1992
  key: 1,
1972
1993
  class: "w-3 h-3"
1973
1994
  }))
@@ -1976,18 +1997,18 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
1976
1997
  class: "flex items-center gap-2 w-full min-w-0",
1977
1998
  onClick: c[1] || (c[1] = (p) => n("select", e.node))
1978
1999
  }, [
1979
- u("div", Vs, h(e.node.label), 1),
1980
- e.node.tag ? (r(), f("div", As, h(e.node.tag), 1)) : _("", !0)
2000
+ u("div", Os, w(e.node.label), 1),
2001
+ e.node.tag ? (r(), f("div", Is, w(e.node.tag), 1)) : _("", !0)
1981
2002
  ])
1982
2003
  ], 2),
1983
2004
  e.node.children && e.isExpanded(e.node.id) ? (r(), f("ul", {
1984
2005
  key: 0,
1985
- class: C([
2006
+ class: $([
1986
2007
  "ml-4 border-l pl-2",
1987
2008
  { "border-gray-200": !l.value, "border-primary": l.value }
1988
2009
  ])
1989
2010
  }, [
1990
- (r(!0), f(L, null, P(e.node.children, (p) => (r(), w(d, {
2011
+ (r(!0), f(L, null, M(e.node.children, (p) => (r(), y(d, {
1991
2012
  key: p.id,
1992
2013
  node: p,
1993
2014
  expanded: e.expanded,
@@ -2000,7 +2021,7 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2000
2021
  ]);
2001
2022
  };
2002
2023
  }
2003
- }), Is = { class: "select-none text-sm" }, En = /* @__PURE__ */ k({
2024
+ }), Ts = { class: "select-none text-sm" }, jn = /* @__PURE__ */ k({
2004
2025
  __name: "TreeView",
2005
2026
  props: {
2006
2027
  data: {},
@@ -2018,8 +2039,8 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2018
2039
  }, c = (p) => {
2019
2040
  n("select", p), l.value.add(p.id);
2020
2041
  }, d = (p) => l.value.has(p);
2021
- return (p, i) => (r(), f("ul", Is, [
2022
- (r(!0), f(L, null, P(o.data, (s) => (r(), w(Os, {
2042
+ return (p, i) => (r(), f("ul", Ts, [
2043
+ (r(!0), f(L, null, M(o.data, (s) => (r(), y(Ds, {
2023
2044
  key: s.id,
2024
2045
  node: s,
2025
2046
  expanded: l.value,
@@ -2030,18 +2051,18 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2030
2051
  }, null, 8, ["node", "expanded", "active"]))), 128))
2031
2052
  ]));
2032
2053
  }
2033
- }), Ds = {
2054
+ }), Rs = {
2034
2055
  key: 0,
2035
2056
  role: "status",
2036
2057
  "aria-live": "polite",
2037
2058
  class: "flex items-center justify-center h-20"
2038
- }, zn = /* @__PURE__ */ k({
2059
+ }, Fn = /* @__PURE__ */ k({
2039
2060
  __name: "loading",
2040
2061
  props: {
2041
2062
  loading: { type: Boolean }
2042
2063
  },
2043
2064
  setup(e) {
2044
- return (t, o) => e.loading ? (r(), f("div", Ds, [...o[0] || (o[0] = [
2065
+ return (t, o) => e.loading ? (r(), f("div", Rs, [...o[0] || (o[0] = [
2045
2066
  u("span", {
2046
2067
  "aria-hidden": "true",
2047
2068
  class: "loading loading-bars loading-md text-primary"
@@ -2049,30 +2070,34 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2049
2070
  u("span", { class: "sr-only" }, "Loading...", -1)
2050
2071
  ])])) : _("", !0);
2051
2072
  }
2052
- }), Rs = {
2073
+ }), Es = {
2053
2074
  title: { type: String, required: !0 },
2054
2075
  opened: { type: Boolean, default: !0 },
2055
2076
  heightFull: { type: Boolean, default: !1 },
2077
+ scrollable: { type: Boolean, default: !1 },
2056
2078
  disabled: { type: Boolean, default: !1 },
2057
2079
  actions: {
2058
2080
  type: Array,
2059
2081
  default: () => []
2060
2082
  }
2061
- }, Ts = ["checked", "aria-label"], Es = { class: "collapse-title text-gray-500 text-xs font-medium" }, zs = { class: "flex items-center justify-between" }, Ns = {
2083
+ }, zs = ["checked", "aria-label"], Ns = { class: "collapse-title text-gray-500 text-xs font-medium" }, qs = { class: "flex items-center justify-between" }, js = {
2062
2084
  key: 0,
2063
2085
  class: "list bg-base-100"
2064
- }, qs = /* @__PURE__ */ k({
2086
+ }, Fs = {
2087
+ key: 1,
2088
+ class: "shrink-0 pt-2"
2089
+ }, Ks = /* @__PURE__ */ k({
2065
2090
  __name: "Collapse",
2066
- props: Rs,
2091
+ props: Es,
2067
2092
  setup(e) {
2068
2093
  const t = Se(), o = e, n = x(o.opened), l = x(o.opened || o.disabled);
2069
2094
  return (a, c) => (r(), f("div", {
2070
- class: C([
2071
- "collapse collapse-arrow bg-white w-full border border-gray-300",
2095
+ class: $(["collapse collapse-arrow bg-white border border-gray-300", [
2096
+ a.scrollable ? "flex-1 min-h-0 !grid-rows-[auto_1fr] overflow-hidden" : "",
2072
2097
  a.heightFull ? "h-full" : "",
2073
2098
  a.disabled ? "collapse-open" : "",
2074
- l.value ? "overflow-visible" : ""
2075
- ])
2099
+ l.value && !a.scrollable ? "overflow-visible" : ""
2100
+ ]])
2076
2101
  }, [
2077
2102
  a.disabled ? _("", !0) : (r(), f("input", {
2078
2103
  key: 0,
@@ -2081,19 +2106,19 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2081
2106
  tabindex: "-1",
2082
2107
  "aria-label": "Toggle " + a.title,
2083
2108
  onChange: c[0] || (c[0] = (d) => l.value = d.target.checked)
2084
- }, null, 40, Ts)),
2085
- u("div", Es, [
2086
- u("div", zs, [
2087
- u("span", null, h(a.title), 1),
2109
+ }, null, 40, zs)),
2110
+ u("div", Ns, [
2111
+ u("div", qs, [
2112
+ u("span", null, w(a.title), 1),
2088
2113
  o.actions.length > 0 ? (r(), f("div", {
2089
2114
  key: 0,
2090
- class: "relative z-10 flex gap-1",
2115
+ class: "relative z-10 flex gap-1 overflow-y-auto",
2091
2116
  onClick: c[1] || (c[1] = le(() => {
2092
2117
  }, ["stop"]))
2093
2118
  }, [
2094
- (r(!0), f(L, null, P(o.actions, (d, p) => (r(), w(g(z), {
2119
+ (r(!0), f(L, null, M(o.actions, (d, p) => (r(), y(g(N), {
2095
2120
  key: p,
2096
- color: g(N).blank,
2121
+ color: g(z).blank,
2097
2122
  size: "xs",
2098
2123
  icon: d.icon,
2099
2124
  tooltip: d.tooltip,
@@ -2101,7 +2126,7 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2101
2126
  onClick: d.onClick
2102
2127
  }, {
2103
2128
  default: S(() => [
2104
- E(h(d.label), 1)
2129
+ E(w(d.label), 1)
2105
2130
  ]),
2106
2131
  _: 2
2107
2132
  }, 1032, ["color", "icon", "tooltip", "disabled", "onClick"]))), 128))
@@ -2109,53 +2134,63 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2109
2134
  ])
2110
2135
  ]),
2111
2136
  u("div", {
2112
- class: C(["collapse-content", g(t).list ? "p-0" : ""])
2137
+ class: $(["collapse-content", [
2138
+ a.scrollable ? "!flex !flex-col min-h-0" : "",
2139
+ g(t).list ? "p-0" : ""
2140
+ ]])
2113
2141
  }, [
2114
- M(a.$slots, "default"),
2115
- g(t).list ? (r(), f("ul", Ns, [
2116
- M(a.$slots, "list")
2142
+ u("div", {
2143
+ class: $(a.scrollable ? "flex-1 min-h-0 overflow-y-auto" : "")
2144
+ }, [
2145
+ P(a.$slots, "default")
2146
+ ], 2),
2147
+ g(t).list ? (r(), f("ul", js, [
2148
+ P(a.$slots, "list")
2149
+ ])) : _("", !0),
2150
+ g(t).footer ? (r(), f("div", Fs, [
2151
+ P(a.$slots, "footer")
2117
2152
  ])) : _("", !0)
2118
2153
  ], 2)
2119
2154
  ], 2));
2120
2155
  }
2121
- }), js = {
2156
+ }), Us = {
2122
2157
  title: { type: String },
2123
2158
  label: { type: String },
2124
2159
  labelLink: { type: String },
2125
2160
  description: { type: String },
2126
2161
  descriptionLink: { type: String }
2127
- }, Fs = { class: "list-row" }, Ks = { class: "list-col-grow" }, Us = { key: 0 }, Hs = {
2162
+ }, Hs = { class: "list-row" }, Ws = { class: "list-col-grow" }, Gs = { key: 0 }, Xs = {
2128
2163
  key: 1,
2129
2164
  class: "text-xs text-gray-600"
2130
- }, Ws = ["href"], Gs = { key: 1 }, Xs = {
2165
+ }, Zs = ["href"], Js = { key: 1 }, Qs = {
2131
2166
  key: 0,
2132
2167
  class: "text-xs text-gray-500"
2133
- }, Zs = ["href"], Js = { key: 1 }, Nn = /* @__PURE__ */ k({
2168
+ }, Ys = ["href"], en = { key: 1 }, Kn = /* @__PURE__ */ k({
2134
2169
  __name: "CollapseRow",
2135
- props: js,
2170
+ props: Us,
2136
2171
  setup(e) {
2137
- return (t, o) => (r(), f("li", Fs, [
2138
- u("div", Ks, [
2139
- t.title ? (r(), f("div", Us, h(t.title), 1)) : _("", !0),
2140
- t.description || t.descriptionLink ? (r(), f("div", Hs, [
2172
+ return (t, o) => (r(), f("li", Hs, [
2173
+ u("div", Ws, [
2174
+ t.title ? (r(), f("div", Gs, w(t.title), 1)) : _("", !0),
2175
+ t.description || t.descriptionLink ? (r(), f("div", Xs, [
2141
2176
  t.descriptionLink ? (r(), f("a", {
2142
2177
  key: 0,
2143
2178
  href: t.descriptionLink,
2144
2179
  target: "_blank"
2145
- }, h(t.description ?? t.descriptionLink), 9, Ws)) : (r(), f("span", Gs, h(t.description), 1))
2180
+ }, w(t.description ?? t.descriptionLink), 9, Zs)) : (r(), f("span", Js, w(t.description), 1))
2146
2181
  ])) : _("", !0)
2147
2182
  ]),
2148
- t.label ? (r(), f("div", Xs, [
2183
+ t.label ? (r(), f("div", Qs, [
2149
2184
  t.labelLink ? (r(), f("a", {
2150
2185
  key: 0,
2151
2186
  href: t.labelLink,
2152
2187
  target: "_blank"
2153
- }, h(t.label), 9, Zs)) : (r(), f("span", Js, h(t.label), 1))
2188
+ }, w(t.label), 9, Ys)) : (r(), f("span", en, w(t.label), 1))
2154
2189
  ])) : _("", !0),
2155
- M(t.$slots, "default")
2190
+ P(t.$slots, "default")
2156
2191
  ]));
2157
2192
  }
2158
- }), Qs = { class: "text-gray-800" }, qn = /* @__PURE__ */ k({
2193
+ }), tn = { class: "text-gray-800" }, Un = /* @__PURE__ */ k({
2159
2194
  __name: "alert",
2160
2195
  props: {
2161
2196
  message: {},
@@ -2170,13 +2205,13 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2170
2205
  };
2171
2206
  return (o, n) => (r(), f("div", {
2172
2207
  role: "alert",
2173
- class: C(`alert alert-soft ${t[e.type]} `)
2208
+ class: $(`alert alert-soft ${t[e.type]} `)
2174
2209
  }, [
2175
- u("span", Qs, h(e.message), 1),
2176
- M(o.$slots, "default")
2210
+ u("span", tn, w(e.message), 1),
2211
+ P(o.$slots, "default")
2177
2212
  ], 2));
2178
2213
  }
2179
- }), Ys = {
2214
+ }), on = {
2180
2215
  title: { type: String, required: !0 },
2181
2216
  items: {
2182
2217
  type: Array,
@@ -2195,10 +2230,10 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2195
2230
  default: void 0
2196
2231
  },
2197
2232
  opened: { type: Boolean, default: !0 }
2198
- }, en = ["update:modelValue"], tn = (e, t, o, n) => {
2199
- const l = v(
2233
+ }, sn = ["update:modelValue"], nn = (e, t, o, n) => {
2234
+ const l = h(
2200
2235
  () => e.value.map((s) => s[o.value])
2201
- ), a = (s) => t.value.includes(s), c = v(() => {
2236
+ ), a = (s) => t.value.includes(s), c = h(() => {
2202
2237
  const s = t.value.length;
2203
2238
  return s === 0 ? "None" : s === l.value.length ? "All" : `${s}`;
2204
2239
  });
@@ -2208,23 +2243,23 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2208
2243
  t.value.filter((b) => b !== s)
2209
2244
  );
2210
2245
  } };
2211
- }, on = { class: "flex items-center justify-between mb-2" }, sn = { class: "text-xs text-base-content/50" }, nn = { class: "flex gap-1" }, ln = { class: "flex flex-col gap-1" }, an = ["checked", "onChange"], rn = { class: "text-sm flex-1 select-none" }, un = {
2246
+ }, ln = { class: "flex items-center justify-between mb-2" }, an = { class: "text-xs text-base-content/50" }, rn = { class: "flex gap-1" }, un = { class: "flex flex-col gap-1" }, cn = ["checked", "onChange"], dn = { class: "text-sm flex-1 select-none" }, pn = {
2212
2247
  key: 1,
2213
2248
  class: "badge badge-sm badge-ghost"
2214
- }, jn = /* @__PURE__ */ k({
2249
+ }, Hn = /* @__PURE__ */ k({
2215
2250
  __name: "filter",
2216
- props: Ys,
2217
- emits: en,
2251
+ props: on,
2252
+ emits: sn,
2218
2253
  setup(e, { emit: t }) {
2219
- const o = e, n = t, l = v(() => o.items ?? []), { isSelected: a, selectedLabel: c, selectAll: d, selectNone: p, toggleItem: i } = tn(l, we(o, "modelValue"), we(o, "valueKey"), n);
2220
- return (s, m) => (r(), w(g(qs), {
2254
+ const o = e, n = t, l = h(() => o.items ?? []), { isSelected: a, selectedLabel: c, selectAll: d, selectNone: p, toggleItem: i } = nn(l, we(o, "modelValue"), we(o, "valueKey"), n);
2255
+ return (s, m) => (r(), y(g(Ks), {
2221
2256
  title: s.title,
2222
2257
  opened: s.opened
2223
2258
  }, {
2224
2259
  default: S(() => [
2225
- u("div", on, [
2226
- u("span", sn, h(g(c)) + " of " + h(l.value.length) + " items ", 1),
2227
- u("div", nn, [
2260
+ u("div", ln, [
2261
+ u("span", an, w(g(c)) + " of " + w(l.value.length) + " items ", 1),
2262
+ u("div", rn, [
2228
2263
  u("button", {
2229
2264
  class: "btn btn-ghost btn-xs",
2230
2265
  type: "button",
@@ -2241,27 +2276,27 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2241
2276
  }, " None ")
2242
2277
  ])
2243
2278
  ]),
2244
- u("div", ln, [
2245
- (r(!0), f(L, null, P(l.value, (b) => (r(), f("label", {
2279
+ u("div", un, [
2280
+ (r(!0), f(L, null, M(l.value, (b) => (r(), f("label", {
2246
2281
  key: b[s.valueKey],
2247
- class: C(["flex items-center gap-3 px-2 py-1.5 rounded-lg cursor-pointer transition-colors hover:bg-base-200", { "bg-base-200/60": g(a)(b[s.valueKey]) }])
2282
+ class: $(["flex items-center gap-3 px-2 py-1.5 rounded-lg cursor-pointer transition-colors hover:bg-base-200", { "bg-base-200/60": g(a)(b[s.valueKey]) }])
2248
2283
  }, [
2249
2284
  u("input", {
2250
2285
  type: "checkbox",
2251
2286
  class: "checkbox checkbox-sm",
2252
2287
  checked: g(a)(b[s.valueKey]),
2253
- onChange: (y) => g(i)(
2288
+ onChange: (v) => g(i)(
2254
2289
  b[s.valueKey],
2255
- y.target.checked
2290
+ v.target.checked
2256
2291
  )
2257
- }, null, 40, an),
2292
+ }, null, 40, cn),
2258
2293
  s.colorKey && b[s.colorKey] ? (r(), f("span", {
2259
2294
  key: 0,
2260
2295
  class: "w-3 h-3 rounded-full shrink-0 ring-1 ring-black/10",
2261
2296
  style: X({ backgroundColor: b[s.colorKey] })
2262
2297
  }, null, 4)) : _("", !0),
2263
- u("span", rn, h(b[s.labelKey]), 1),
2264
- b[s.countKey] > 0 ? (r(), f("span", un, h(b[s.countKey]), 1)) : _("", !0)
2298
+ u("span", dn, w(b[s.labelKey]), 1),
2299
+ b[s.countKey] > 0 ? (r(), f("span", pn, w(b[s.countKey]), 1)) : _("", !0)
2265
2300
  ], 2))), 128))
2266
2301
  ])
2267
2302
  ]),
@@ -2270,66 +2305,67 @@ const Yo = ["aria-label", "aria-expanded", "value", "placeholder", "disabled"],
2270
2305
  }
2271
2306
  });
2272
2307
  export {
2273
- qn as Alert,
2274
- Bn as Autocomplete,
2275
- Pt as BadgeSize,
2276
- z as Btn,
2277
- wn as BtnBadge,
2278
- Rt as BtnBadgeEmits,
2279
- Dt as BtnBadgeProperties,
2280
- It as BtnEmits,
2281
- Ot as BtnProperties,
2282
- St as ButtonSize,
2308
+ Un as Alert,
2309
+ In as Autocomplete,
2310
+ Mt as BadgeSize,
2311
+ Sn as BooleanCell,
2312
+ N as Btn,
2313
+ $n as BtnBadge,
2314
+ Et as BtnBadgeEmits,
2315
+ Rt as BtnBadgeProperties,
2316
+ Tt as BtnEmits,
2317
+ Dt as BtnProperties,
2318
+ Pt as ButtonSize,
2283
2319
  Me as ButtonTag,
2284
2320
  fe as ButtonType,
2285
- $n as Card,
2286
- On as Checkbox,
2287
- Sn as ClickOutside,
2288
- qs as Collapse,
2289
- Nn as CollapseRow,
2290
- N as Color,
2291
- Et as ConfirmModal,
2321
+ Pn as Card,
2322
+ Rn as Checkbox,
2323
+ Vn as ClickOutside,
2324
+ Ks as Collapse,
2325
+ Kn as CollapseRow,
2326
+ z as Color,
2327
+ Nt as ConfirmModal,
2292
2328
  Z as ControlWrapper,
2293
- Tn as Drawer,
2294
- yn as Dropdown,
2295
- jn as Filter,
2296
- en as FilterEmits,
2297
- Ys as FilterProperties,
2298
- j as Icon,
2329
+ qn as Drawer,
2330
+ _n as Dropdown,
2331
+ Hn as Filter,
2332
+ sn as FilterEmits,
2333
+ on as FilterProperties,
2334
+ q as Icon,
2299
2335
  T as IconEnum,
2300
- pt as IconMap,
2301
- ft as IconProperties,
2302
- In as Input,
2303
- Dn as InputNumber,
2304
- zn as Loading,
2305
- An as Markdown,
2306
- hn as Menu,
2307
- Bt as Modal,
2336
+ ft as IconMap,
2337
+ mt as IconProperties,
2338
+ En as Input,
2339
+ zn as InputNumber,
2340
+ Fn as Loading,
2341
+ Tn as Markdown,
2342
+ kn as Menu,
2343
+ At as Modal,
2308
2344
  Ct as ModalEmits,
2309
- _t as ModalProperties,
2345
+ $t as ModalProperties,
2310
2346
  me as ModalService,
2311
- Lt as ModalSize,
2312
- zt as ModalWrapper,
2313
- Vn as MultiSelect,
2314
- Nt as NotificationMessage,
2347
+ St as ModalSize,
2348
+ qt as ModalWrapper,
2349
+ Dn as MultiSelect,
2350
+ jt as NotificationMessage,
2315
2351
  be as NotificationService,
2316
- Ft as Notifications,
2317
- uo as PaginationComponent,
2318
- Mn as SelectComponent,
2319
- kn as ShellComponent,
2352
+ Ut as Notifications,
2353
+ po as PaginationComponent,
2354
+ On as SelectComponent,
2355
+ Cn as ShellComponent,
2320
2356
  pe as SubMenu,
2321
- Cn as Table,
2322
- Cn as TableComponent,
2323
- _n as TextCell,
2324
- Rn as Textarea,
2325
- En as TreeView,
2326
- xn as addClickOutsideEventListener,
2357
+ Ln as Table,
2358
+ Ln as TableComponent,
2359
+ xn as TextCell,
2360
+ Nn as Textarea,
2361
+ jn as TreeView,
2362
+ Mn as addClickOutsideEventListener,
2327
2363
  U as buildInputStyle,
2328
- Pn as hasCustomEventListener,
2329
- No as isDescriptionHidden,
2364
+ An as hasCustomEventListener,
2365
+ jo as isDescriptionHidden,
2330
2366
  ae as mergeStyles,
2331
2367
  se as myStyles,
2332
- Ln as removeClickOutsideEventListener,
2333
- Ve as showErrors,
2334
- tn as useFilter
2368
+ Bn as removeClickOutsideEventListener,
2369
+ Ae as showErrors,
2370
+ nn as useFilter
2335
2371
  };