@ghentcdh/ui 0.6.1 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,9 +1,12 @@
1
- import { defineComponent as p, openBlock as s, createElementBlock as a, unref as h, normalizeClass as x, createElementVNode as i, toDisplayString as v, createBlock as g, createCommentVNode as y, Fragment as w, renderList as _, mergeProps as P, computed as k, resolveComponent as Q, withCtx as A, createTextVNode as S, ref as T, watch as Z, onMounted as ye, renderSlot as B, resolveDynamicComponent as ne, createVNode as L, normalizeStyle as G, getCurrentInstance as xe, toHandlerKey as de, camelize as we, mergeDefaults as X, useModel as se, normalizeProps as le, guardReactiveProps as oe, withDirectives as J, vModelSelect as ke, mergeModels as q, resolveDirective as fe, vModelText as $e, useSlots as be } from "vue";
2
- import { RouterLink as Ce } from "vue-router";
3
- import { v4 as Y } from "uuid";
4
- import { useApi as _e } from "@ghentcdh/tools-vue";
5
- import { ChevronDownIcon as Le, ChevronRightIcon as Me } from "@heroicons/vue/24/solid";
6
- const C = (...e) => `<svg
1
+ import { defineComponent as p, openBlock as o, createElementBlock as i, unref as b, normalizeClass as w, createElementVNode as a, toDisplayString as v, createBlock as g, createCommentVNode as y, Fragment as x, renderList as $, mergeProps as P, computed as k, resolveComponent as X, withCtx as D, createTextVNode as T, ref as S, watch as Q, onMounted as pe, renderSlot as B, resolveDynamicComponent as ae, createVNode as C, withDirectives as W, vModelCheckbox as ye, normalizeStyle as le, getCurrentInstance as we, toHandlerKey as me, camelize as xe, mergeDefaults as Z, useModel as Y, normalizeProps as ee, guardReactiveProps as te, vModelSelect as ke, mergeModels as F, resolveDirective as fe, vModelText as $e, onBeforeUnmount as Ce, useSlots as be } from "vue";
2
+ import { RouterLink as _e } from "vue-router";
3
+ import { v4 as ne } from "uuid";
4
+ import { useApi as Le } from "@ghentcdh/tools-vue";
5
+ import { ChevronDownIcon as Me, ChevronRightIcon as Be } from "@heroicons/vue/24/solid";
6
+ import Pe from "@tiptap/starter-kit";
7
+ import { useEditor as De, EditorContent as Ve } from "@tiptap/vue-3";
8
+ import { Markdown as Ae } from "tiptap-markdown";
9
+ const L = (...e) => `<svg
7
10
  xmlns="http://www.w3.org/2000/svg"
8
11
  fill="none"
9
12
  viewBox="0 0 24 24"
@@ -18,69 +21,69 @@ const C = (...e) => `<svg
18
21
  ).join(`
19
22
  `)}
20
23
  </svg>`;
21
- var V = /* @__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.Check = "Check", e.View = "View", e.Text = "Text", e))(V || {});
22
- const Be = {
23
- Edit: C(
24
+ var z = /* @__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.Check = "Check", e.View = "View", e.Text = "Text", e))(z || {});
25
+ const ze = {
26
+ Edit: L(
24
27
  "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
25
28
  ),
26
- Delete: C(
29
+ Delete: L(
27
30
  "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
28
31
  ),
29
- BarsArrowDown: C(
32
+ BarsArrowDown: L(
30
33
  "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"
31
34
  ),
32
- BarsArrowUp: C(
35
+ BarsArrowUp: L(
33
36
  "M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v12"
34
37
  ),
35
- Funnel: C(
38
+ Funnel: L(
36
39
  "M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"
37
40
  ),
38
- Close: C("M6 18 18 6M6 6l12 12"),
39
- Plus: C("M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
40
- PaperClip: C(
41
+ Close: L("M6 18 18 6M6 6l12 12"),
42
+ Plus: L("M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
43
+ PaperClip: L(
41
44
  "m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13"
42
45
  ),
43
- Hamburger: C("M4 6h16M4 12h16M4 18h16"),
44
- ChevronDown: C(
46
+ Hamburger: L("M4 6h16M4 12h16M4 18h16"),
47
+ ChevronDown: L(
45
48
  "M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z"
46
49
  ),
47
- ChevronUp: C(
50
+ ChevronUp: L(
48
51
  "M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z"
49
52
  ),
50
- Check: C("m4.5 12.75 6 6 9-13.5"),
51
- View: C(
53
+ Check: L("m4.5 12.75 6 6 9-13.5"),
54
+ View: L(
52
55
  "M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z",
53
56
  "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
54
57
  ),
55
- Text: C(
58
+ Text: L(
56
59
  "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
57
60
  ),
58
- DblChevronLeft: C(
61
+ DblChevronLeft: L(
59
62
  "m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"
60
63
  ),
61
- DblChevronRight: C("m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5")
62
- }, Pe = ["innerHTML"], F = /* @__PURE__ */ p({
64
+ DblChevronRight: L("m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5")
65
+ }, Te = ["innerHTML"], I = /* @__PURE__ */ p({
63
66
  __name: "icon",
64
67
  props: {
65
68
  icon: {},
66
69
  size: {}
67
70
  },
68
71
  setup(e) {
69
- return (t, n) => (s(), a("div", {
70
- class: x([
72
+ return (t, n) => (o(), i("div", {
73
+ class: w([
71
74
  {
72
75
  "w-full h-full": !e.size,
73
76
  "w-2 h-2": e.size === "xs",
74
77
  "w-4 h-4": e.size === "sm"
75
78
  }
76
79
  ]),
77
- innerHTML: h(Be)[e.icon]
78
- }, null, 10, Pe));
80
+ innerHTML: b(ze)[e.icon]
81
+ }, null, 10, Te));
79
82
  }
80
- }), De = { class: "dropdown dropdown-end" }, Ae = {
83
+ }), Se = { class: "dropdown dropdown-end" }, Ne = {
81
84
  tabindex: "0",
82
85
  class: "menu dropdown-content bg-white z-1 mt-4 p-2 shadow-sm"
83
- }, ze = { class: "min-w-max flex-no-wrap text-black" }, ae = /* @__PURE__ */ p({
86
+ }, Re = { class: "min-w-max flex-no-wrap text-black" }, ie = /* @__PURE__ */ p({
84
87
  __name: "sub-menu",
85
88
  props: {
86
89
  label: {},
@@ -91,29 +94,29 @@ const Be = {
91
94
  disableArrow: { type: Boolean }
92
95
  },
93
96
  setup(e) {
94
- return (t, n) => (s(), a("div", De, [
95
- i("div", {
97
+ return (t, n) => (o(), i("div", Se, [
98
+ a("div", {
96
99
  tabindex: "0",
97
100
  role: "button",
98
- class: x([e.btnClass, "btn btn-ghost text-right flex-nowrap flex"])
101
+ class: w([e.btnClass, "btn btn-ghost text-right flex-nowrap flex"])
99
102
  }, [
100
- i("span", null, v(e.label), 1),
101
- e.disableArrow ? y("", !0) : (s(), g(h(F), {
103
+ a("span", null, v(e.label), 1),
104
+ e.disableArrow ? y("", !0) : (o(), g(b(I), {
102
105
  key: 0,
103
- icon: h(V).ChevronDown,
106
+ icon: b(z).ChevronDown,
104
107
  size: "sm"
105
108
  }, null, 8, ["icon"]))
106
109
  ], 2),
107
- i("ul", Ae, [
108
- i("li", ze, [
109
- (s(!0), a(w, null, _(e.items, (o) => (s(), g(he, P({
110
- key: o.label
111
- }, { ref_for: !0 }, o), null, 16))), 128))
110
+ a("ul", Ne, [
111
+ a("li", Re, [
112
+ (o(!0), i(x, null, $(e.items, (l) => (o(), g(he, P({
113
+ key: l.label
114
+ }, { ref_for: !0 }, l), null, 16))), 128))
112
115
  ])
113
116
  ])
114
117
  ]));
115
118
  }
116
- }), W = "btn btn-ghost text-left justify-between min-w-max font-normal", he = /* @__PURE__ */ p({
119
+ }), J = "btn btn-ghost text-left justify-between min-w-max font-normal", he = /* @__PURE__ */ p({
117
120
  __name: "menu-item",
118
121
  props: {
119
122
  label: {},
@@ -122,41 +125,41 @@ const Be = {
122
125
  disabled: { type: Boolean, default: !1 }
123
126
  },
124
127
  setup(e) {
125
- const t = e, n = k(() => !t.disabled && t.action && "routerLink" in t.action), o = k(() => !t.disabled && t.action), l = k(() => t.items?.length), c = k(() => {
128
+ const t = e, n = k(() => !t.disabled && t.action && "routerLink" in t.action), l = k(() => !t.disabled && t.action), s = k(() => t.items?.length), c = k(() => {
126
129
  const f = t.action;
127
130
  return f && "routerLink" in f && "params" in f ? {
128
131
  name: f.routerLink,
129
132
  params: f.params
130
133
  } : "";
131
- }), b = () => {
134
+ }), h = () => {
132
135
  t.action?.();
133
136
  };
134
137
  return (f, u) => {
135
- const d = Q("RouterLink");
136
- return l.value ? (s(), g(ae, P({ key: 0 }, t, { "btn-class": W }), null, 16)) : n.value ? (s(), g(d, {
138
+ const d = X("RouterLink");
139
+ return s.value ? (o(), g(ie, P({ key: 0 }, t, { "btn-class": J }), null, 16)) : n.value ? (o(), g(d, {
137
140
  key: 1,
138
141
  to: c.value,
139
- class: x(W),
140
- onClick: b
142
+ class: w(J),
143
+ onClick: h
141
144
  }, {
142
- default: A(() => [
143
- S(v(e.label), 1)
145
+ default: D(() => [
146
+ T(v(e.label), 1)
144
147
  ]),
145
148
  _: 1
146
- }, 8, ["to"])) : o.value ? (s(), a("button", {
149
+ }, 8, ["to"])) : l.value ? (o(), i("button", {
147
150
  key: 2,
148
- class: x(W),
149
- onClick: b
150
- }, v(e.label), 1)) : (s(), a("div", {
151
+ class: w(J),
152
+ onClick: h
153
+ }, v(e.label), 1)) : (o(), i("div", {
151
154
  key: 3,
152
- class: x([W, { "btn-disabled": e.disabled }])
155
+ class: w([J, { "btn-disabled": e.disabled }])
153
156
  }, v(e.label), 3));
154
157
  };
155
158
  }
156
- }), Ve = { class: "navbar bg-base-100 shadow-sm" }, Se = { class: "flex-1" }, Te = {
159
+ }), Ke = { class: "navbar bg-base-100 shadow-sm" }, Fe = { class: "flex-1" }, Ie = {
157
160
  key: 0,
158
161
  class: "breadcrumbs text-sm"
159
- }, Ne = { class: "flex grow justify-end px-2" }, Re = { class: "flex items-stretch" }, yn = /* @__PURE__ */ p({
162
+ }, Ue = { class: "flex grow justify-end px-2" }, He = { class: "flex items-stretch" }, Tn = /* @__PURE__ */ p({
160
163
  __name: "menu",
161
164
  props: {
162
165
  menu: {},
@@ -164,47 +167,47 @@ const Be = {
164
167
  },
165
168
  setup(e) {
166
169
  return (t, n) => {
167
- const o = Q("RouterLink");
168
- return s(), a("nav", Ve, [
169
- i("div", Se, [
170
- e.breadcrumbs ? (s(), a("div", Te, [
171
- i("ul", null, [
172
- (s(!0), a(w, null, _(e.breadcrumbs, (l) => (s(), a("li", {
173
- key: l.label
170
+ const l = X("RouterLink");
171
+ return o(), i("nav", Ke, [
172
+ a("div", Fe, [
173
+ e.breadcrumbs ? (o(), i("div", Ie, [
174
+ a("ul", null, [
175
+ (o(!0), i(x, null, $(e.breadcrumbs, (s) => (o(), i("li", {
176
+ key: s.label
174
177
  }, [
175
- l.routerLink ? (s(), g(o, {
178
+ s.routerLink ? (o(), g(l, {
176
179
  key: 0,
177
- to: { name: l.routerLink, params: l.params }
180
+ to: { name: s.routerLink, params: s.params }
178
181
  }, {
179
- default: A(() => [
180
- S(v(l.label), 1)
182
+ default: D(() => [
183
+ T(v(s.label), 1)
181
184
  ]),
182
185
  _: 2
183
- }, 1032, ["to"])) : (s(), a(w, { key: 1 }, [
184
- S(v(l.label), 1)
186
+ }, 1032, ["to"])) : (o(), i(x, { key: 1 }, [
187
+ T(v(s.label), 1)
185
188
  ], 64))
186
189
  ]))), 128))
187
190
  ])
188
191
  ])) : y("", !0)
189
192
  ]),
190
- i("div", Ne, [
191
- i("div", Re, [
192
- (s(!0), a(w, null, _(e.menu, (l) => (s(), g(he, P({
193
- key: l.label
194
- }, { ref_for: !0 }, l), null, 16))), 128))
193
+ a("div", Ue, [
194
+ a("div", He, [
195
+ (o(!0), i(x, null, $(e.menu, (s) => (o(), g(he, P({
196
+ key: s.label
197
+ }, { ref_for: !0 }, s), null, 16))), 128))
195
198
  ])
196
199
  ])
197
200
  ]);
198
201
  };
199
202
  }
200
- }), xn = /* @__PURE__ */ p({
203
+ }), Sn = /* @__PURE__ */ p({
201
204
  __name: "dropdown",
202
205
  props: {
203
206
  items: {}
204
207
  },
205
208
  setup(e) {
206
- const t = T(!0);
207
- return (n, o) => (s(), g(ae, {
209
+ const t = S(!0);
210
+ return (n, l) => (o(), g(ie, {
208
211
  items: e.items,
209
212
  label: "test",
210
213
  open: t.value,
@@ -212,7 +215,7 @@ const Be = {
212
215
  "disable-arrow": !0
213
216
  }, null, 8, ["items", "open"]));
214
217
  }
215
- }), Ke = { class: "font-bold" }, Fe = { class: "pt-4" }, Ue = { class: "modal-action" }, He = /* @__PURE__ */ p({
218
+ }), je = { class: "font-bold" }, qe = { class: "pt-4" }, Oe = { class: "modal-action" }, Ee = /* @__PURE__ */ p({
216
219
  __name: "modal",
217
220
  props: {
218
221
  modalTitle: {},
@@ -225,110 +228,110 @@ const Be = {
225
228
  },
226
229
  emits: ["closeModal"],
227
230
  setup(e, { expose: t, emit: n }) {
228
- const o = {
231
+ const l = {
229
232
  xs: "max-w-xs w-[50VW]",
230
233
  sm: "max-w-sm w-[50VW]",
231
234
  lg: "max-w-2xl w-[80VW]",
232
235
  xl: "max-w-[80VW] w-[80VW]"
233
- }, l = e, c = `modal_${Y()}`, b = n, f = () => {
236
+ }, s = e, c = `modal_${ne()}`, h = n, f = () => {
234
237
  document.getElementById(c)?.showModal();
235
238
  }, u = () => {
236
- document.getElementById(c)?.close(), b("closeModal");
239
+ document.getElementById(c)?.close(), h("closeModal");
237
240
  };
238
- return t({ closeModal: u, openModal: f }), Z(
239
- () => l.open,
240
- (d, r, D) => {
241
- l.open ? f() : u();
241
+ return t({ closeModal: u, openModal: f }), Q(
242
+ () => s.open,
243
+ (d, r, V) => {
244
+ s.open ? f() : u();
242
245
  }
243
- ), ye(() => {
244
- l.open && f();
245
- }), (d, r) => (s(), a("dialog", {
246
+ ), pe(() => {
247
+ s.open && f();
248
+ }), (d, r) => (o(), i("dialog", {
246
249
  id: c,
247
250
  class: "modal"
248
251
  }, [
249
- i("div", {
250
- class: x(["modal-box bg-white", o[e.width]])
252
+ a("div", {
253
+ class: w(["modal-box bg-white", l[e.width]])
251
254
  }, [
252
- e.disableClose ? y("", !0) : (s(), a("button", {
255
+ e.disableClose ? y("", !0) : (o(), i("button", {
253
256
  key: 0,
254
257
  type: "button",
255
258
  class: "btn btn-sm btn-circle btn-ghost absolute right-2 top-2",
256
259
  onClick: u
257
260
  }, " ✕ ")),
258
- i("h3", Ke, v(e.modalTitle), 1),
259
- i("div", Fe, [
261
+ a("h3", je, v(e.modalTitle), 1),
262
+ a("div", qe, [
260
263
  B(d.$slots, "content")
261
264
  ]),
262
- i("div", Ue, [
265
+ a("div", Oe, [
263
266
  B(d.$slots, "actions")
264
267
  ])
265
268
  ], 2)
266
269
  ]));
267
270
  }
268
271
  });
269
- var ie = /* @__PURE__ */ ((e) => (e.button = "button", e.submit = "submit", e.reset = "reset", e))(ie || {}), ve = /* @__PURE__ */ ((e) => (e.a = "a", e.button = "button", e))(ve || {}), I = /* @__PURE__ */ ((e) => (e.blank = "blank", e.primary = "primary", e.secondary = "secondary", e.error = "error", e))(I || {});
270
- const Ie = {
272
+ var re = /* @__PURE__ */ ((e) => (e.button = "button", e.submit = "submit", e.reset = "reset", e))(re || {}), ve = /* @__PURE__ */ ((e) => (e.a = "a", e.button = "button", e))(ve || {}), j = /* @__PURE__ */ ((e) => (e.blank = "blank", e.primary = "primary", e.secondary = "secondary", e.error = "error", e))(j || {});
273
+ const We = {
271
274
  blank: "btn-ghost",
272
275
  primary: "btn-primary",
273
276
  secondary: "btn-soft btn-primary",
274
277
  error: "btn-error text-white"
275
- }, je = {
278
+ }, Ze = {
276
279
  blank: "badge-ghost",
277
280
  primary: "badge-primary",
278
281
  secondary: "badge-soft badge-primary",
279
282
  error: "badge-error"
280
- }, qe = {
283
+ }, Ge = {
281
284
  xs: "btn-xs",
282
285
  sm: "btn-sm",
283
286
  lg: "btn-sm",
284
287
  xl: "btn"
285
- }, Oe = {
288
+ }, Je = {
286
289
  xs: "badge-xs text-xxs",
287
290
  sm: "badge-sm text-xs",
288
291
  lg: "badge-sm text-xs",
289
292
  xl: "badge text-xs"
290
- }, j = /* @__PURE__ */ p({
293
+ }, q = /* @__PURE__ */ p({
291
294
  __name: "btn",
292
295
  props: {
293
296
  href: {},
294
297
  disabled: { type: Boolean, default: !1 },
295
298
  as: { default: ve.button },
296
299
  icon: {},
297
- type: { default: ie.button },
300
+ type: { default: re.button },
298
301
  outline: { type: Boolean, default: !1 },
299
- color: { default: I.primary },
302
+ color: { default: j.primary },
300
303
  size: { default: "sm" },
301
304
  square: { type: Boolean, default: !1 }
302
305
  },
303
306
  emits: ["click"],
304
307
  setup(e, { emit: t }) {
305
- const n = e, o = t;
306
- return (l, c) => (s(), g(ne(e.as), P({
308
+ const n = e, l = t;
309
+ return (s, c) => (o(), g(ae(e.as), P({
307
310
  class: [
308
311
  "btn p-1 flex justify-center flex-nowrap",
309
- h(Ie)[e.color],
310
- h(qe)[e.size],
312
+ b(We)[e.color],
313
+ b(Ge)[e.size],
311
314
  { "btn-outline": e.outline, "btn-square": e.square }
312
315
  ]
313
316
  }, n, {
314
- onClick: c[0] || (c[0] = (b) => o("click"))
317
+ onClick: c[0] || (c[0] = (h) => l("click"))
315
318
  }), {
316
- default: A(() => [
317
- e.icon ? (s(), g(h(F), {
319
+ default: D(() => [
320
+ e.icon ? (o(), g(b(I), {
318
321
  key: 0,
319
322
  icon: e.icon,
320
323
  size: e.size
321
324
  }, null, 8, ["icon", "size"])) : y("", !0),
322
- B(l.$slots, "default")
325
+ B(s.$slots, "default")
323
326
  ]),
324
327
  _: 3
325
328
  }, 16, ["class"]));
326
329
  }
327
- }), Ee = ["type", "disabled"], wn = /* @__PURE__ */ p({
330
+ }), Qe = ["type", "disabled"], Nn = /* @__PURE__ */ p({
328
331
  __name: "btn-badge",
329
332
  props: {
330
333
  icon: { default: void 0 },
331
- type: { default: ie.button },
334
+ type: { default: re.button },
332
335
  color: { default: void 0 },
333
336
  disabled: { type: Boolean, default: !1 },
334
337
  size: { default: "sm" }
@@ -336,21 +339,21 @@ const Ie = {
336
339
  emits: ["click"],
337
340
  setup(e, { emit: t }) {
338
341
  const n = t;
339
- return (o, l) => (s(), a("button", {
340
- class: x(["badge gap-1", h(Oe)[e.size], h(je)[e.color]]),
342
+ return (l, s) => (o(), i("button", {
343
+ class: w(["badge gap-1", b(Je)[e.size], b(Ze)[e.color]]),
341
344
  type: e.type,
342
345
  disabled: e.disabled,
343
- onClick: l[0] || (l[0] = (c) => n("click"))
346
+ onClick: s[0] || (s[0] = (c) => n("click"))
344
347
  }, [
345
- B(o.$slots, "default"),
346
- e.icon ? (s(), g(h(F), {
348
+ B(l.$slots, "default"),
349
+ e.icon ? (o(), g(b(I), {
347
350
  key: 0,
348
351
  icon: e.icon,
349
352
  size: e.size
350
353
  }, null, 8, ["icon", "size"])) : y("", !0)
351
- ], 10, Ee));
354
+ ], 10, Qe));
352
355
  }
353
- }), We = /* @__PURE__ */ p({
356
+ }), Xe = /* @__PURE__ */ p({
354
357
  __name: "confirmModal",
355
358
  props: {
356
359
  title: {},
@@ -360,33 +363,33 @@ const Ie = {
360
363
  },
361
364
  emits: ["closeModal"],
362
365
  setup(e, { emit: t }) {
363
- const n = t, o = (l) => {
364
- n("closeModal", { confirmed: l });
366
+ const n = t, l = (s) => {
367
+ n("closeModal", { confirmed: s });
365
368
  };
366
- return (l, c) => (s(), g(He, {
369
+ return (s, c) => (o(), g(Ee, {
367
370
  "modal-title": e.title,
368
371
  open: !0,
369
372
  "disable-close": !0
370
373
  }, {
371
- content: A(() => [
372
- S(v(e.message), 1)
374
+ content: D(() => [
375
+ T(v(e.message), 1)
373
376
  ]),
374
- actions: A(() => [
375
- L(h(j), {
376
- color: h(I).secondary,
377
+ actions: D(() => [
378
+ C(b(q), {
379
+ color: b(j).secondary,
377
380
  outline: !0,
378
- onClick: c[0] || (c[0] = (b) => o(!1))
381
+ onClick: c[0] || (c[0] = (h) => l(!1))
379
382
  }, {
380
- default: A(() => [
381
- S(v(e.cancelLabel), 1)
383
+ default: D(() => [
384
+ T(v(e.cancelLabel), 1)
382
385
  ]),
383
386
  _: 1
384
387
  }, 8, ["color"]),
385
- L(h(j), {
386
- onClick: c[1] || (c[1] = (b) => o(!0))
388
+ C(b(q), {
389
+ onClick: c[1] || (c[1] = (h) => l(!0))
387
390
  }, {
388
- default: A(() => [
389
- S(v(e.confirmLabel), 1)
391
+ default: D(() => [
392
+ T(v(e.confirmLabel), 1)
390
393
  ]),
391
394
  _: 1
392
395
  })
@@ -395,22 +398,22 @@ const Ie = {
395
398
  }, 8, ["modal-title"]));
396
399
  }
397
400
  });
398
- class re {
401
+ class ce {
399
402
  constructor() {
400
- this.showModal = T(!1), this.modals = [];
403
+ this.showModal = S(!1), this.modals = [];
401
404
  }
402
405
  openModal(t) {
403
- const n = t.props.onClose, o = Y(), l = t;
406
+ const n = t.props.onClose, l = ne(), s = t;
404
407
  t.props.onClose = (c) => {
405
- n(c), this.closeModal(o);
406
- }, l.id = o, this.modals = [...this.modals, l], this.showModal.value = Date.now();
408
+ n(c), this.closeModal(l);
409
+ }, s.id = l, this.modals = [...this.modals, s], this.showModal.value = Date.now();
407
410
  }
408
411
  closeModal(t) {
409
412
  this.modals = this.modals.filter((n) => n.id !== t), this.showModal.value = Date.now();
410
413
  }
411
414
  static showConfirm(t) {
412
415
  this.getInstance().openModal({
413
- component: We,
416
+ component: Xe,
414
417
  props: t
415
418
  });
416
419
  }
@@ -418,7 +421,7 @@ class re {
418
421
  this.getInstance().openModal(t);
419
422
  }
420
423
  static getInstance() {
421
- return this.instance || (this.instance = new re()), this.instance;
424
+ return this.instance || (this.instance = new ce()), this.instance;
422
425
  }
423
426
  static closeAll() {
424
427
  this.instance.closeAll();
@@ -427,11 +430,11 @@ class re {
427
430
  this.modals = [], this.showModal.value = !1;
428
431
  }
429
432
  }
430
- const Ze = /* @__PURE__ */ p({
433
+ const Ye = /* @__PURE__ */ p({
431
434
  __name: "modalWrapper",
432
435
  setup(e) {
433
- const t = re.getInstance(), n = k(() => t.showModal.value ? t.modals : []);
434
- return (o, l) => (s(!0), a(w, null, _(n.value, (c) => (s(), g(ne(c?.component), P({
436
+ const t = ce.getInstance(), n = k(() => t.showModal.value ? t.modals : []);
437
+ return (l, s) => (o(!0), i(x, null, $(n.value, (c) => (o(), g(ae(c?.component), P({
435
438
  key: c.id,
436
439
  ref_for: !0
437
440
  }, c?.props, {
@@ -439,7 +442,7 @@ const Ze = /* @__PURE__ */ p({
439
442
  onCloseModal: c?.props?.onClose
440
443
  }), null, 16, ["onCloseModal"]))), 128));
441
444
  }
442
- }), Ge = /* @__PURE__ */ p({
445
+ }), et = /* @__PURE__ */ p({
443
446
  __name: "notification-message",
444
447
  props: {
445
448
  message: {},
@@ -452,24 +455,24 @@ const Ze = /* @__PURE__ */ p({
452
455
  warning: "alert-warning",
453
456
  info: "alert-info"
454
457
  };
455
- return (n, o) => (s(), a("div", {
458
+ return (n, l) => (o(), i("div", {
456
459
  role: "alert",
457
- class: x(`alert ${t[e.type]} `)
460
+ class: w(`alert ${t[e.type]} `)
458
461
  }, [
459
- i("span", null, v(e.message), 1)
462
+ a("span", null, v(e.message), 1)
460
463
  ], 2));
461
464
  }
462
- }), Je = 5e3;
463
- class ce {
465
+ }), tt = 5e3;
466
+ class ue {
464
467
  constructor() {
465
- this.notifications = T([]), this.addNotification = (t, n = "info") => {
466
- const o = {
467
- id: Y(),
468
- duration: Je,
468
+ this.notifications = S([]), this.addNotification = (t, n = "info") => {
469
+ const l = {
470
+ id: ne(),
471
+ duration: tt,
469
472
  message: t,
470
473
  type: n
471
474
  };
472
- this.notifications.value.push(o), this.removeNotificationAfterDuration(o);
475
+ this.notifications.value.push(l), this.removeNotificationAfterDuration(l);
473
476
  }, this.removeNotificationAfterDuration = (t) => {
474
477
  setTimeout(() => {
475
478
  this.removeNotification(t.id);
@@ -479,7 +482,7 @@ class ce {
479
482
  };
480
483
  }
481
484
  static getInstance() {
482
- return this.instance || (this.instance = new ce()), this.instance;
485
+ return this.instance || (this.instance = new ue()), this.instance;
483
486
  }
484
487
  static info(t) {
485
488
  this.getInstance().addNotification(t, "info");
@@ -497,17 +500,17 @@ class ce {
497
500
  this.getInstance().removeNotification(t);
498
501
  }
499
502
  }
500
- const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__ */ p({
503
+ const nt = { class: "toast toast-top toast-center z-[999]" }, ot = /* @__PURE__ */ p({
501
504
  __name: "notifications",
502
505
  setup(e) {
503
- const t = ce.getInstance();
504
- return (n, o) => (s(), a("div", Qe, [
505
- (s(!0), a(w, null, _(h(t).notifications.value, (l) => (s(), g(Ge, P({
506
- key: l.id
507
- }, { ref_for: !0 }, l), null, 16))), 128))
506
+ const t = ue.getInstance();
507
+ return (n, l) => (o(), i("div", nt, [
508
+ (o(!0), i(x, null, $(b(t).notifications.value, (s) => (o(), g(et, P({
509
+ key: s.id
510
+ }, { ref_for: !0 }, s), null, 16))), 128))
508
511
  ]));
509
512
  }
510
- }), Ye = { class: "h-screen" }, et = { class: "navbar bg-primary text-primary-content w-full z-100 sticky" }, tt = { class: "navbar-start" }, nt = { class: "navbar-center" }, st = ["href"], lt = { class: "navbar-end" }, ot = { class: "menu h-full flex-col space-between m-0 overflow-y-auto" }, at = { class: "flex-grow-1" }, it = { class: "bg-base-200 p-4" }, rt = { class: "h-full" }, me = 64, kn = /* @__PURE__ */ p({
513
+ }), st = { class: "flex h-screen flex-col" }, lt = { class: "shrink-0" }, at = { class: "navbar bg-primary text-primary-content w-full z-100" }, it = { class: "navbar-start" }, rt = { class: "navbar-center" }, ct = ["href"], ut = { class: "navbar-end" }, dt = { class: "drawer-content overflow-y-auto mb-2 mr-2 shadow-md" }, mt = { class: "drawer-side h-full shadow-md" }, ft = { class: "flex-grow overflow-y-auto" }, bt = { class: "bg-base-200 p-4" }, Rn = /* @__PURE__ */ p({
511
514
  __name: "shell.component",
512
515
  props: {
513
516
  title: {},
@@ -518,87 +521,89 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
518
521
  },
519
522
  emits: ["logout"],
520
523
  setup(e, { emit: t }) {
521
- const o = e, l = T(!1), c = () => {
522
- l.value = !l.value;
523
- }, b = t, f = k(() => o.user ? {
524
- label: o.user.name,
524
+ const l = e, s = S(!1), c = () => {
525
+ s.value = !s.value;
526
+ }, h = t, f = k(() => l.user ? {
527
+ label: l.user.name,
525
528
  items: [
526
529
  {
527
530
  label: "Logout",
528
531
  action: () => {
529
- b("logout");
532
+ h("logout");
530
533
  }
531
534
  }
532
535
  ]
533
536
  } : null);
534
- return (u, d) => (s(), a(w, null, [
535
- L(Xe),
536
- L(h(Ze)),
537
- i("div", Ye, [
538
- i("header", null, [
539
- i("nav", et, [
540
- i("div", tt, [
541
- i("button", {
537
+ return (u, d) => (o(), i(x, null, [
538
+ C(ot),
539
+ C(b(Ye)),
540
+ a("div", st, [
541
+ a("header", lt, [
542
+ a("nav", at, [
543
+ a("div", it, [
544
+ a("button", {
542
545
  "aria-label": "open sidebar",
543
546
  class: "btn btn-square btn-ghost p-1",
544
547
  onClick: c
545
548
  }, [
546
- L(h(F), {
547
- icon: h(V).Hamburger
549
+ C(b(I), {
550
+ icon: b(z).Hamburger
548
551
  }, null, 8, ["icon"])
549
552
  ])
550
553
  ]),
551
- i("div", nt, [
552
- i("a", {
553
- class: "btn btn-ghost text-xl",
554
- href: h("/")
555
- }, v(e.title), 9, st)
554
+ a("div", rt, [
555
+ a("a", {
556
+ class: "btn btn-ghost text-primary-content text-lg color-white",
557
+ href: b("/")
558
+ }, v(e.title), 9, ct)
556
559
  ]),
557
- i("div", lt, [
558
- f.value ? (s(), g(h(ae), P({ key: 0 }, f.value, { "btn-class": "" }), null, 16)) : y("", !0)
560
+ a("div", ut, [
561
+ f.value ? (o(), g(b(ie), P({ key: 0 }, f.value, { "btn-class": "" }), null, 16)) : y("", !0)
559
562
  ])
560
563
  ])
561
564
  ]),
562
- l.value ? (s(), a("aside", {
563
- key: 0,
564
- id: "drawer-left",
565
- class: "fixed overflow-y-auto z-[1000] min-h-0 min-w-0 relative flex-shrink-0 bg-white shadow-lg transition-all duration-300 ease-in-out border-l border-gray-200 overflow-visible inset-0",
566
- style: G({
567
- width: e.widthSidebar + "px",
568
- top: `${me}px`
569
- })
565
+ a("div", {
566
+ class: w(["drawer flex-1 overflow-hidden", { "drawer-open": s.value }])
570
567
  }, [
571
- i("div", ot, [
572
- i("ul", at, [
573
- (s(!0), a(w, null, _(e.menu, (r) => (s(), a("li", {
574
- key: r.label
575
- }, [
576
- L(h(Ce), {
577
- to: { name: r.routerLink, params: r.params }
578
- }, {
579
- default: A(() => [
580
- S(v(r.label), 1)
581
- ]),
582
- _: 2
583
- }, 1032, ["to"])
584
- ]))), 128))
585
- ]),
586
- i("div", it, " version: " + v(e.version), 1)
587
- ])
588
- ], 4)) : y("", !0),
589
- i("main", {
590
- class: x("overflow-hidden fixed border-red bg-white mx-auto max-h-full shadow-sm "),
591
- style: G({
592
- top: `${me}px`,
593
- bottom: "2px",
594
- right: "2px",
595
- left: l.value ? e.widthSidebar + "px" : 0
596
- })
597
- }, [
598
- i("div", rt, [
568
+ W(a("input", {
569
+ id: "app-drawer",
570
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => s.value = r),
571
+ type: "checkbox",
572
+ class: "drawer-toggle"
573
+ }, null, 512), [
574
+ [ye, s.value]
575
+ ]),
576
+ a("main", dt, [
599
577
  B(u.$slots, "default")
578
+ ]),
579
+ a("div", mt, [
580
+ d[1] || (d[1] = a("label", {
581
+ for: "app-drawer",
582
+ "aria-label": "close sidebar",
583
+ class: "drawer-overlay"
584
+ }, null, -1)),
585
+ a("div", {
586
+ class: "menu bg-base-100 h-full flex flex-col justify-between",
587
+ style: le({ width: e.widthSidebar + "px" })
588
+ }, [
589
+ a("ul", ft, [
590
+ (o(!0), i(x, null, $(e.menu, (r) => (o(), i("li", {
591
+ key: r.label
592
+ }, [
593
+ C(b(_e), {
594
+ to: { name: r.routerLink, params: r.params }
595
+ }, {
596
+ default: D(() => [
597
+ T(v(r.label), 1)
598
+ ]),
599
+ _: 2
600
+ }, 1032, ["to"])
601
+ ]))), 128))
602
+ ]),
603
+ a("div", bt, " version: " + v(e.version), 1)
604
+ ], 4)
600
605
  ])
601
- ], 4)
606
+ ], 2)
602
607
  ])
603
608
  ], 64));
604
609
  }
@@ -613,25 +618,25 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
613
618
  },
614
619
  emits: ["updatePage", "updatePageSize"],
615
620
  setup(e, { emit: t }) {
616
- const n = e, o = t, l = k(
621
+ const n = e, l = t, s = k(
617
622
  () => n.neverActive ? !1 : n.page === n.currentPage
618
- ), c = k(() => n.neverActive ? I.blank : l.value ? I.primary : I.secondary), b = () => {
619
- o("updatePage", n.page);
623
+ ), c = k(() => n.neverActive ? j.blank : s.value ? j.primary : j.secondary), h = () => {
624
+ l("updatePage", n.page);
620
625
  };
621
- return (f, u) => (s(), g(h(j), {
626
+ return (f, u) => (o(), g(b(q), {
622
627
  disabled: e.disabled,
623
628
  square: !0,
624
629
  size: "xs",
625
630
  color: c.value,
626
- onClick: u[0] || (u[0] = (d) => b())
631
+ onClick: u[0] || (u[0] = (d) => h())
627
632
  }, {
628
- default: A(() => [
629
- S(v(e.label), 1)
633
+ default: D(() => [
634
+ T(v(e.label), 1)
630
635
  ]),
631
636
  _: 1
632
637
  }, 8, ["disabled", "color"]));
633
638
  }
634
- }), ct = { class: "flex gap-2" }, ut = { class: "flex flex-1 justify-center items-center" }, dt = { class: "flex gap-1" }, mt = { class: "text-sm" }, E = 6, ft = /* @__PURE__ */ p({
639
+ }), ht = { class: "flex gap-2" }, vt = { class: "flex flex-1 justify-center items-center" }, gt = { class: "flex gap-1" }, pt = { class: "text-sm" }, E = 6, yt = /* @__PURE__ */ p({
635
640
  __name: "pagination.component",
636
641
  props: {
637
642
  totalItems: { type: Number, default: 0 },
@@ -640,21 +645,21 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
640
645
  },
641
646
  emits: ["updatePage", "updatePageSize"],
642
647
  setup(e, { emit: t }) {
643
- const n = e, o = t, l = k(() => {
648
+ const n = e, l = t, s = k(() => {
644
649
  let r = Math.ceil(n.totalItems / n.itemsPerPage);
645
650
  return r < 1 ? 1 : r;
646
- }), c = E / 2, b = k(() => {
647
- if (l.value <= E)
651
+ }), c = E / 2, h = k(() => {
652
+ if (s.value <= E)
648
653
  return {
649
654
  min: 1,
650
- max: l.value
655
+ max: s.value
651
656
  };
652
657
  let r = n.currentPage - c;
653
- r <= 1 ? r = 1 : r + E > l.value && (r = l.value - E);
654
- let D = r + E;
658
+ r <= 1 ? r = 1 : r + E > s.value && (r = s.value - E);
659
+ let V = r + E;
655
660
  return {
656
661
  min: r,
657
- max: D
662
+ max: V
658
663
  };
659
664
  }), f = (r) => ({
660
665
  label: "...",
@@ -663,25 +668,25 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
663
668
  disabled: !0,
664
669
  neverActive: !0
665
670
  }), u = k(() => {
666
- let r = l.value;
671
+ let r = s.value;
667
672
  r < 1 && (r = 1);
668
- const D = n.currentPage, z = [], { min: N, max: U } = b.value;
673
+ const V = n.currentPage, A = [], { min: N, max: U } = h.value;
669
674
  return Array.from({ length: r }, (M, R) => {
670
675
  const m = R + 1;
671
- m !== 1 && m !== r && (m > U || m < N) || (m === r && r > 1 && U < r && z.push(f(D)), z.push({
676
+ m !== 1 && m !== r && (m > U || m < N) || (m === r && r > 1 && U < r && A.push(f(V)), A.push({
672
677
  label: `${m}`,
673
678
  totalPages: r,
674
- currentPage: D,
679
+ currentPage: V,
675
680
  page: m
676
- }), m === 1 && r > 1 && N > 1 && z.push(f(D)));
677
- }), z;
681
+ }), m === 1 && r > 1 && N > 1 && A.push(f(V)));
682
+ }), A;
678
683
  }), d = (r) => {
679
- o("updatePage", r);
684
+ l("updatePage", r);
680
685
  };
681
- return (r, D) => (s(), a("div", ct, [
682
- i("div", ut, [
683
- i("div", dt, [
684
- L(O, P(n, {
686
+ return (r, V) => (o(), i("div", ht, [
687
+ a("div", vt, [
688
+ a("div", gt, [
689
+ C(O, P(n, {
685
690
  page: 1,
686
691
  label: "<<",
687
692
  "current-page": e.currentPage,
@@ -689,7 +694,7 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
689
694
  disabled: e.currentPage === 1,
690
695
  onUpdatePage: d
691
696
  }), null, 16, ["current-page", "disabled"]),
692
- L(O, P(n, {
697
+ C(O, P(n, {
693
698
  page: e.currentPage - 1,
694
699
  label: "<",
695
700
  "current-page": e.currentPage,
@@ -697,37 +702,37 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
697
702
  disabled: e.currentPage === 1,
698
703
  onUpdatePage: d
699
704
  }), null, 16, ["page", "current-page", "disabled"]),
700
- (s(!0), a(w, null, _(u.value, (z) => (s(), g(O, P({
701
- key: z.page,
705
+ (o(!0), i(x, null, $(u.value, (A) => (o(), g(O, P({
706
+ key: A.page,
702
707
  ref_for: !0
703
- }, z, { onUpdatePage: d }), null, 16))), 128)),
704
- L(O, P(n, {
708
+ }, A, { onUpdatePage: d }), null, 16))), 128)),
709
+ C(O, P(n, {
705
710
  page: e.currentPage + 1,
706
711
  label: ">",
707
712
  "current-page": e.currentPage,
708
713
  "never-active": !0,
709
- disabled: n.currentPage === l.value,
714
+ disabled: n.currentPage === s.value,
710
715
  onUpdatePage: d
711
716
  }), null, 16, ["page", "current-page", "disabled"]),
712
- L(O, P(n, {
713
- page: l.value,
717
+ C(O, P(n, {
718
+ page: s.value,
714
719
  label: ">>",
715
720
  "current-page": e.currentPage,
716
721
  "never-active": !0,
717
- disabled: n.currentPage === l.value,
722
+ disabled: n.currentPage === s.value,
718
723
  onUpdatePage: d
719
724
  }), null, 16, ["page", "current-page", "disabled"])
720
725
  ])
721
726
  ]),
722
- i("div", mt, " page " + v(e.currentPage) + " of " + v(l.value), 1)
727
+ a("div", pt, " page " + v(e.currentPage) + " of " + v(s.value), 1)
723
728
  ]));
724
729
  }
725
- }), ge = (e, t) => {
730
+ }), de = (e, t) => {
726
731
  const n = e.__vccOpts || e;
727
- for (const [o, l] of t)
728
- n[o] = l;
732
+ for (const [l, s] of t)
733
+ n[l] = s;
729
734
  return n;
730
- }, bt = () => ({
735
+ }, wt = () => ({
731
736
  data: {
732
737
  type: Object,
733
738
  required: !0
@@ -740,10 +745,10 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
740
745
  type: Object,
741
746
  required: !1
742
747
  }
743
- }), ht = p({
748
+ }), xt = p({
744
749
  name: "TextCell",
745
750
  props: {
746
- ...bt()
751
+ ...wt()
747
752
  },
748
753
  computed: {
749
754
  value() {
@@ -751,11 +756,11 @@ const Qe = { class: "toast toast-top toast-center z-[999]" }, Xe = /* @__PURE__
751
756
  return e ? this.column.options?.format === "keyValue" ? e[this.column.options.key] : e : null;
752
757
  }
753
758
  }
754
- }), vt = ht;
755
- function gt(e, t, n, o, l, c) {
756
- return v(e.value);
759
+ }), kt = xt;
760
+ function $t(e, t, n, l, s, c) {
761
+ return v(e.value) + " - value";
757
762
  }
758
- const $n = /* @__PURE__ */ ge(vt, [["render", gt]]), pt = { class: "flex-grow pr-2" }, yt = { class: "h-4 w-4" }, xt = /* @__PURE__ */ p({
763
+ const Kn = /* @__PURE__ */ de(kt, [["render", $t]]), Ct = { class: "flex-grow pr-2" }, _t = { class: "h-4 w-4" }, Lt = /* @__PURE__ */ p({
759
764
  __name: "sort.header",
760
765
  props: {
761
766
  column: {},
@@ -764,25 +769,25 @@ const $n = /* @__PURE__ */ ge(vt, [["render", gt]]), pt = { class: "flex-grow pr
764
769
  },
765
770
  emits: ["sort"],
766
771
  setup(e, { emit: t }) {
767
- const n = e, o = k(
768
- () => n.sortDirection === "asc" ? V.BarsArrowUp : V.BarsArrowDown
769
- ), l = k(() => n.column.options?.sortId ?? n.column.id), c = () => {
770
- b("sort", l.value);
771
- }, b = t;
772
- return (f, u) => (s(), a("button", {
772
+ const n = e, l = k(
773
+ () => n.sortDirection === "asc" ? z.BarsArrowUp : z.BarsArrowDown
774
+ ), s = k(() => n.column.options?.sortId ?? n.column.id), c = () => {
775
+ h("sort", s.value);
776
+ }, h = t;
777
+ return (f, u) => (o(), i("button", {
773
778
  class: "flex items-center",
774
779
  onClick: c
775
780
  }, [
776
- i("span", pt, v(e.column.label), 1),
777
- i("div", yt, [
778
- e.sortColumn === l.value ? (s(), g(h(F), {
781
+ a("span", Ct, v(e.column.label), 1),
782
+ a("div", _t, [
783
+ e.sortColumn === s.value ? (o(), g(b(I), {
779
784
  key: 0,
780
- icon: o.value
785
+ icon: l.value
781
786
  }, null, 8, ["icon"])) : y("", !0)
782
787
  ])
783
788
  ]));
784
789
  }
785
- }), wt = { class: "table w-full" }, kt = { key: 0 }, $t = ["colspan"], Ct = { class: "flex gap-2" }, Cn = /* @__PURE__ */ p({
790
+ }), Mt = { class: "table w-full" }, Bt = { key: 0 }, Pt = ["colspan"], Dt = { class: "flex gap-2" }, Fn = /* @__PURE__ */ p({
786
791
  __name: "table.component",
787
792
  props: {
788
793
  loading: { type: Boolean },
@@ -794,76 +799,76 @@ const $n = /* @__PURE__ */ ge(vt, [["render", gt]]), pt = { class: "flex-grow pr
794
799
  },
795
800
  emits: ["delete", "edit", "updatePage", "sort"],
796
801
  setup(e, { emit: t }) {
797
- const n = t, o = (f) => {
802
+ const n = t, l = (f) => {
798
803
  n("edit", f);
799
- }, l = (f) => {
804
+ }, s = (f) => {
800
805
  n("delete", f);
801
806
  }, c = (f) => {
802
807
  n("updatePage", f);
803
- }, b = (f) => {
808
+ }, h = (f) => {
804
809
  n("sort", f);
805
810
  };
806
- return (f, u) => (s(), a(w, null, [
807
- i("table", wt, [
808
- i("thead", null, [
809
- i("tr", null, [
810
- (s(!0), a(w, null, _(e.displayColumns, (d) => (s(), a("th", {
811
+ return (f, u) => (o(), i(x, null, [
812
+ a("table", Mt, [
813
+ a("thead", null, [
814
+ a("tr", null, [
815
+ (o(!0), i(x, null, $(e.displayColumns, (d) => (o(), i("th", {
811
816
  key: d.scope
812
817
  }, [
813
- L(xt, P({ column: d }, { ref_for: !0 }, e.sort, { onSort: b }), null, 16, ["column"])
818
+ C(Lt, P({ column: d }, { ref_for: !0 }, e.sort, { onSort: h }), null, 16, ["column"])
814
819
  ]))), 128)),
815
- u[0] || (u[0] = i("th", null, null, -1))
820
+ u[0] || (u[0] = a("th", null, null, -1))
816
821
  ])
817
822
  ]),
818
- i("tbody", null, [
819
- e.loading ? (s(), a("tr", kt, [
820
- i("td", {
823
+ a("tbody", null, [
824
+ e.loading ? (o(), i("tr", Bt, [
825
+ a("td", {
821
826
  colspan: e.displayColumns.length + 1,
822
827
  class: "text-center"
823
828
  }, [...u[1] || (u[1] = [
824
- i("span", { class: "loading loading-bars loading-xs" }, null, -1)
825
- ])], 8, $t)
829
+ a("span", { class: "loading loading-bars loading-xs" }, null, -1)
830
+ ])], 8, Pt)
826
831
  ])) : y("", !0),
827
- (s(!0), a(w, null, _(e.data, (d) => (s(), a("tr", {
832
+ (o(!0), i(x, null, $(e.data, (d) => (o(), i("tr", {
828
833
  key: d.id
829
834
  }, [
830
- (s(!0), a(w, null, _(e.displayColumns, (r) => (s(), a("td", {
835
+ (o(!0), i(x, null, $(e.displayColumns, (r) => (o(), i("td", {
831
836
  key: r.scope
832
837
  }, [
833
- (s(), g(ne(r.component), P({ ref_for: !0 }, r, {
838
+ (o(), g(ae(r.component), P({ ref_for: !0 }, r, {
834
839
  data: d,
835
840
  column: r
836
841
  }), null, 16, ["data", "column"]))
837
842
  ]))), 128)),
838
- i("td", null, [
839
- i("span", Ct, [
840
- (s(!0), a(w, null, _(e.actions, (r) => (s(), g(j, {
843
+ a("td", null, [
844
+ a("span", Dt, [
845
+ (o(!0), i(x, null, $(e.actions, (r) => (o(), g(q, {
841
846
  key: r.label,
842
847
  icon: r.icon,
843
848
  outline: !0,
844
- onClick: (D) => r.action(d)
849
+ onClick: (V) => r.action(d)
845
850
  }, {
846
- default: A(() => [
847
- S(v(r.label), 1)
851
+ default: D(() => [
852
+ T(v(r.label), 1)
848
853
  ]),
849
854
  _: 2
850
855
  }, 1032, ["icon", "onClick"]))), 128)),
851
- L(j, {
852
- icon: h(V).Edit,
856
+ C(q, {
857
+ icon: b(z).Edit,
853
858
  outline: !0,
854
- onClick: (r) => o(d)
859
+ onClick: (r) => l(d)
855
860
  }, null, 8, ["icon", "onClick"]),
856
- L(j, {
857
- icon: h(V).Delete,
861
+ C(q, {
862
+ icon: b(z).Delete,
858
863
  outline: !0,
859
- onClick: (r) => l(d)
864
+ onClick: (r) => s(d)
860
865
  }, null, 8, ["icon", "onClick"])
861
866
  ])
862
867
  ])
863
868
  ]))), 128))
864
869
  ])
865
870
  ]),
866
- e.page ? (s(), g(ft, {
871
+ e.page ? (o(), g(yt, {
867
872
  key: 0,
868
873
  class: "border-gray-300 border-t pt-4 border-x-0 border-b-0",
869
874
  "total-items": e.page.count,
@@ -873,38 +878,38 @@ const $n = /* @__PURE__ */ ge(vt, [["render", gt]]), pt = { class: "flex-grow pr
873
878
  }, null, 8, ["total-items", "items-per-page", "current-page"])) : y("", !0)
874
879
  ], 64));
875
880
  }
876
- }), _t = {}, Lt = { class: "card bg-base-100 shadow-sm" }, Mt = { class: "card-body" }, Bt = {
881
+ }), Vt = {}, At = { class: "card bg-base-100 shadow-sm" }, zt = { class: "card-body" }, Tt = {
877
882
  key: 0,
878
883
  class: "card-title"
879
- }, Pt = {
884
+ }, St = {
880
885
  key: 1,
881
886
  class: "card-actions justify-end"
882
887
  };
883
- function Dt(e, t) {
884
- return s(), a("div", Lt, [
885
- i("div", Mt, [
886
- e.$slots.title ? (s(), a("h2", Bt, [
888
+ function Nt(e, t) {
889
+ return o(), i("div", At, [
890
+ a("div", zt, [
891
+ e.$slots.title ? (o(), i("h2", Tt, [
887
892
  B(e.$slots, "title")
888
893
  ])) : y("", !0),
889
- i("p", null, [
894
+ a("p", null, [
890
895
  B(e.$slots, "default"),
891
896
  B(e.$slots, "content")
892
897
  ]),
893
- e.$slots.actions ? (s(), a("div", Pt, [
898
+ e.$slots.actions ? (o(), i("div", St, [
894
899
  B(e.$slots, "actions")
895
900
  ])) : y("", !0)
896
901
  ])
897
902
  ]);
898
903
  }
899
- const _n = /* @__PURE__ */ ge(_t, [["render", Dt]]), Ln = (e, t) => {
904
+ const In = /* @__PURE__ */ de(Vt, [["render", Nt]]), Un = (e, t) => {
900
905
  if (!e) return null;
901
- const n = (o) => {
902
- e.contains(o.target) || t();
906
+ const n = (l) => {
907
+ e.contains(l.target) || t();
903
908
  };
904
909
  return document.addEventListener("click", n), n;
905
- }, Mn = (e) => {
910
+ }, Hn = (e) => {
906
911
  document.removeEventListener("click", e);
907
- }, Bn = {
912
+ }, jn = {
908
913
  beforeMount(e, t) {
909
914
  e.clickOutsideEvent = function(n) {
910
915
  e === n.target || e.contains(n.target) || t.value(n);
@@ -914,15 +919,15 @@ const _n = /* @__PURE__ */ ge(_t, [["render", Dt]]), Ln = (e, t) => {
914
919
  document.removeEventListener("click", e.clickOutsideEvent);
915
920
  }
916
921
  };
917
- function Pn(e) {
918
- const t = xe();
922
+ function qn(e) {
923
+ const t = we();
919
924
  if (!t)
920
925
  return !1;
921
926
  const n = t.vnode.props;
922
- return n ? !!(n[de(e)] || // also try camelCase event handler (#2249)
923
- n[de(we(e))]) : !1;
927
+ return n ? !!(n[me(e)] || // also try camelCase event handler (#2249)
928
+ n[me(xe(e))]) : !1;
924
929
  }
925
- const At = {
930
+ const Rt = {
926
931
  group: {
927
932
  root: "group",
928
933
  label: "text-primary text-lg font-bold",
@@ -953,23 +958,23 @@ const At = {
953
958
  root: "flex flex-row gap-x-2",
954
959
  item: "w-full"
955
960
  }
956
- }, ee = () => ({
957
- id: Y(),
961
+ }, G = () => ({
962
+ id: ne(),
958
963
  visible: !0,
959
964
  required: !1,
960
965
  enabled: !0,
961
966
  isFocused: !1,
962
967
  isTouched: !1,
963
968
  hideLabel: !1,
964
- styles: At
965
- }), zt = () => ({
966
- ...ee(),
969
+ styles: Rt
970
+ }), Kt = () => ({
971
+ ...G(),
967
972
  options: [],
968
973
  valueKey: "value",
969
974
  labelKey: "label"
970
- }), Vt = (e, t, n) => !!(e && n), St = (e, t, n, o) => t === void 0 || t !== void 0 && !e || !o && !n, Tt = { key: 0 }, ue = /* @__PURE__ */ p({
975
+ }), Ft = (e, t, n) => !!(e && n), It = (e, t, n, l) => t === void 0 || t !== void 0 && !e || !l && !n, Ut = { key: 0 }, oe = /* @__PURE__ */ p({
971
976
  __name: "ControlWrapper",
972
- props: /* @__PURE__ */ X({
977
+ props: /* @__PURE__ */ Z({
973
978
  id: {},
974
979
  description: {},
975
980
  errors: {},
@@ -981,37 +986,37 @@ const At = {
981
986
  isTouched: { type: Boolean },
982
987
  hideLabel: { type: Boolean },
983
988
  styles: {}
984
- }, ee()),
989
+ }, G()),
985
990
  setup(e) {
986
- const t = e, n = k(() => !St(
991
+ const t = e, n = k(() => !It(
987
992
  t.visible,
988
993
  t.description,
989
994
  t.isFocused,
990
995
  !0
991
- )), o = k(() => t.required), l = k(() => Vt(
996
+ )), l = k(() => t.required), s = k(() => Ft(
992
997
  t.isTouched,
993
998
  t.isFocused,
994
999
  t.errors
995
1000
  ));
996
- return (c, b) => (s(), a("fieldset", {
997
- class: x(e.styles.control.wrapper)
1001
+ return (c, h) => (o(), i("fieldset", {
1002
+ class: w(e.styles.control.wrapper)
998
1003
  }, [
999
- e.hideLabel ? y("", !0) : (s(), a("legend", {
1004
+ e.hideLabel ? y("", !0) : (o(), i("legend", {
1000
1005
  key: 0,
1001
- class: x(e.styles.control.label)
1006
+ class: w(e.styles.control.label)
1002
1007
  }, [
1003
- S(v(e.label) + " ", 1),
1004
- o.value ? (s(), a("span", Tt, "*")) : y("", !0)
1008
+ T(v(e.label) + " ", 1),
1009
+ l.value ? (o(), i("span", Ut, "*")) : y("", !0)
1005
1010
  ], 2)),
1006
1011
  B(c.$slots, "default"),
1007
- i("p", {
1008
- class: x(["fieldset-label h-4", { "text-error": l.value }])
1009
- }, v(l.value ? e.errors : n.value ? e.description : null), 3)
1012
+ a("p", {
1013
+ class: w(["fieldset-label h-4", { "text-error": s.value }])
1014
+ }, v(s.value ? e.errors : n.value ? e.description : null), 3)
1010
1015
  ], 2));
1011
1016
  }
1012
- }), Nt = ["disabled"], Rt = ["value"], Dn = /* @__PURE__ */ p({
1017
+ }), Ht = ["disabled"], jt = ["value"], On = /* @__PURE__ */ p({
1013
1018
  __name: "SelectComponent",
1014
- props: /* @__PURE__ */ q(/* @__PURE__ */ X({
1019
+ props: /* @__PURE__ */ F(/* @__PURE__ */ Z({
1015
1020
  id: {},
1016
1021
  description: {},
1017
1022
  errors: {},
@@ -1027,7 +1032,7 @@ const At = {
1027
1032
  valueKey: {},
1028
1033
  labelKey: {}
1029
1034
  }, {
1030
- ...ee(),
1035
+ ...G(),
1031
1036
  options: [],
1032
1037
  valueKey: "value",
1033
1038
  labelKey: "label"
@@ -1035,45 +1040,45 @@ const At = {
1035
1040
  modelValue: {},
1036
1041
  modelModifiers: {}
1037
1042
  }),
1038
- emits: /* @__PURE__ */ q(["change", "focus", "blur"], ["update:modelValue"]),
1043
+ emits: /* @__PURE__ */ F(["change", "focus", "blur"], ["update:modelValue"]),
1039
1044
  setup(e, { emit: t }) {
1040
- const n = e, o = t, l = se(e, "modelValue"), c = (u) => {
1041
- o("change", u);
1042
- }, b = (u) => {
1043
- o("focus", u);
1045
+ const n = e, l = t, s = Y(e, "modelValue"), c = (u) => {
1046
+ l("change", u);
1047
+ }, h = (u) => {
1048
+ l("focus", u);
1044
1049
  }, f = (u) => {
1045
- o("blur", u);
1050
+ l("blur", u);
1046
1051
  };
1047
- return (u, d) => (s(), g(ue, le(oe(n)), {
1048
- default: A(() => [
1049
- J(i("select", {
1050
- "onUpdate:modelValue": d[0] || (d[0] = (r) => l.value = r),
1052
+ return (u, d) => (o(), g(oe, ee(te(n)), {
1053
+ default: D(() => [
1054
+ W(a("select", {
1055
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => s.value = r),
1051
1056
  disabled: !e.enabled,
1052
- class: x(["select select-bordered", e.styles.control.select]),
1057
+ class: w(["select select-bordered", e.styles.control.select]),
1053
1058
  onChange: c,
1054
- onFocus: b,
1059
+ onFocus: h,
1055
1060
  onBlur: f
1056
1061
  }, [
1057
- (s(!0), a(w, null, _(e.options, (r) => (s(), a("option", {
1062
+ (o(!0), i(x, null, $(e.options, (r) => (o(), i("option", {
1058
1063
  key: r[e.valueKey],
1059
1064
  value: r
1060
- }, v(r[e.labelKey]), 9, Rt))), 128))
1061
- ], 42, Nt), [
1062
- [ke, l.value]
1065
+ }, v(r[e.labelKey]), 9, jt))), 128))
1066
+ ], 42, Ht), [
1067
+ [ke, s.value]
1063
1068
  ])
1064
1069
  ]),
1065
1070
  _: 1
1066
1071
  }, 16));
1067
1072
  }
1068
- }), Kt = ["disabled"], Ft = {
1073
+ }), qt = ["disabled"], Ot = {
1069
1074
  key: 0,
1070
- class: /* @__PURE__ */ x([
1075
+ class: /* @__PURE__ */ w([
1071
1076
  `bg-base-100 w-52 shadow -mt-5
1072
1077
  absolute z-50`
1073
1078
  ])
1074
- }, Ut = ["onClick", "onBlur"], An = /* @__PURE__ */ p({
1079
+ }, Et = ["onClick", "onBlur"], En = /* @__PURE__ */ p({
1075
1080
  __name: "AutoComplete",
1076
- props: /* @__PURE__ */ q(/* @__PURE__ */ X({
1081
+ props: /* @__PURE__ */ F(/* @__PURE__ */ Z({
1077
1082
  id: {},
1078
1083
  description: {},
1079
1084
  errors: {},
@@ -1089,71 +1094,71 @@ const At = {
1089
1094
  options: {},
1090
1095
  valueKey: {},
1091
1096
  labelKey: {}
1092
- }, zt()), {
1097
+ }, Kt()), {
1093
1098
  modelValue: {},
1094
1099
  modelModifiers: {}
1095
1100
  }),
1096
- emits: /* @__PURE__ */ q(["change", "focus", "blur"], ["update:modelValue"]),
1101
+ emits: /* @__PURE__ */ F(["change", "focus", "blur"], ["update:modelValue"]),
1097
1102
  setup(e, { emit: t }) {
1098
- const n = e, o = t, l = se(e, "modelValue"), c = T(""), b = (m) => {
1099
- o("change", m);
1103
+ const n = e, l = t, s = Y(e, "modelValue"), c = S(""), h = (m) => {
1104
+ l("change", m);
1100
1105
  }, f = (m) => {
1101
- o("focus", m);
1106
+ l("focus", m);
1102
1107
  }, u = (m) => {
1103
- o("blur", m);
1104
- }, d = T(!1), r = T([]), D = (m) => {
1105
- d.value = !0, z(m);
1106
- }, z = (m) => {
1107
- l.value = m, b(m);
1108
+ l("blur", m);
1109
+ }, d = S(!1), r = S([]), V = (m) => {
1110
+ d.value = !0, A(m);
1111
+ }, A = (m) => {
1112
+ s.value = m, h(m);
1108
1113
  }, N = (m) => {
1109
1114
  r.value?.length === m + 1 && (r.value = []);
1110
- }, U = _e(), M = (m) => m[n.valueKey], R = (m) => m?.[n.labelKey] ?? "";
1111
- return Z(
1112
- () => l.value,
1115
+ }, U = Le(), M = (m) => m[n.valueKey], R = (m) => m?.[n.labelKey] ?? "";
1116
+ return Q(
1117
+ () => s.value,
1113
1118
  (m) => {
1114
1119
  m && !M(m) || (d.value = !0, r.value = [], c.value = R(m));
1115
1120
  },
1116
1121
  { immediate: !0 }
1117
- ), Z(
1122
+ ), Q(
1118
1123
  () => c.value,
1119
1124
  (m) => {
1120
1125
  if (d.value) {
1121
1126
  d.value = !1;
1122
1127
  return;
1123
1128
  }
1124
- if (z({ [n.labelKey]: m }), n.config) {
1125
- const { uri: $, skipAuth: H, dataField: K } = n.config;
1126
- U.get(`${$}${m}`, { skipAuth: H }).then((te) => {
1127
- r.value = te[K];
1129
+ if (A({ [n.labelKey]: m }), n.config) {
1130
+ const { uri: _, skipAuth: H, dataField: K } = n.config;
1131
+ U.get(`${_}${m}`, { skipAuth: H }).then((se) => {
1132
+ r.value = se.data[K];
1128
1133
  });
1129
- } else n.options && (r.value = n.options.filter(($) => R($).toLowerCase().includes(m)).slice(0, 10));
1134
+ } else n.options && (r.value = n.options.filter((_) => R(_).toLowerCase().includes(m)).slice(0, 10));
1130
1135
  }
1131
- ), (m, $) => {
1136
+ ), (m, _) => {
1132
1137
  const H = fe("click-outside");
1133
- return s(), g(ue, le(oe(n)), {
1134
- default: A(() => [
1135
- J(i("input", {
1136
- "onUpdate:modelValue": $[0] || ($[0] = (K) => c.value = K),
1138
+ return o(), g(oe, ee(te(n)), {
1139
+ default: D(() => [
1140
+ W(a("input", {
1141
+ "onUpdate:modelValue": _[0] || (_[0] = (K) => c.value = K),
1137
1142
  autocomplete: "off",
1138
1143
  type: "text",
1139
- class: x([e.styles.control.select]),
1144
+ class: w([e.styles.control.select]),
1140
1145
  disabled: !e.enabled,
1141
1146
  onFocus: f,
1142
1147
  onBlur: u
1143
- }, null, 42, Kt), [
1148
+ }, null, 42, qt), [
1144
1149
  [$e, c.value]
1145
1150
  ]),
1146
- J((s(), a("div", null, [
1147
- r.value?.length ? (s(), a("ul", Ft, [
1148
- (s(!0), a(w, null, _(r.value, (K, te) => (s(), a("li", {
1151
+ W((o(), i("div", null, [
1152
+ r.value?.length ? (o(), i("ul", Ot, [
1153
+ (o(!0), i(x, null, $(r.value, (K, se) => (o(), i("li", {
1149
1154
  key: K[e.valueKey]
1150
1155
  }, [
1151
- i("button", {
1156
+ a("button", {
1152
1157
  class: "w-full h-8 border-b-1 border-gray-200 border-x-0 border-t-0 px-4 py-2 text-left hover:bg-primary-content cursor-pointer",
1153
1158
  type: "button",
1154
- onClick: (pe) => D(K),
1155
- onBlur: (pe) => N(te)
1156
- }, v(R(K)), 41, Ut)
1159
+ onClick: (ge) => V(K),
1160
+ onBlur: (ge) => N(se)
1161
+ }, v(R(K)), 41, Et)
1157
1162
  ]))), 128))
1158
1163
  ])) : y("", !0)
1159
1164
  ])), [
@@ -1164,15 +1169,15 @@ const At = {
1164
1169
  }, 16);
1165
1170
  };
1166
1171
  }
1167
- }), Ht = {
1172
+ }), Wt = {
1168
1173
  key: 0,
1169
- class: /* @__PURE__ */ x([
1174
+ class: /* @__PURE__ */ w([
1170
1175
  `bg-base-100 w-52 shadow -mt-5
1171
1176
  absolute z-50 p-0`
1172
1177
  ])
1173
- }, It = ["onClick"], jt = { class: "w-4 mr-2" }, zn = /* @__PURE__ */ p({
1178
+ }, Zt = ["onClick"], Gt = { class: "w-4 mr-2" }, Wn = /* @__PURE__ */ p({
1174
1179
  __name: "MultiSelect",
1175
- props: /* @__PURE__ */ q(/* @__PURE__ */ X({
1180
+ props: /* @__PURE__ */ F(/* @__PURE__ */ Z({
1176
1181
  id: {},
1177
1182
  description: {},
1178
1183
  errors: {},
@@ -1188,59 +1193,59 @@ const At = {
1188
1193
  valueKey: {},
1189
1194
  labelKey: {}
1190
1195
  }, {
1191
- ...ee(),
1196
+ ...G(),
1192
1197
  valueKey: "value",
1193
1198
  labelKey: "label"
1194
1199
  }), {
1195
1200
  modelValue: {},
1196
1201
  modelModifiers: {}
1197
1202
  }),
1198
- emits: /* @__PURE__ */ q(["change", "focus", "blur"], ["update:modelValue"]),
1203
+ emits: /* @__PURE__ */ F(["change", "focus", "blur"], ["update:modelValue"]),
1199
1204
  setup(e, { emit: t }) {
1200
- const n = e, o = t, l = se(e, "modelValue");
1205
+ const n = e, l = t, s = Y(e, "modelValue");
1201
1206
  let c = !1;
1202
- const b = (M) => {
1203
- o("change", M);
1204
- }, f = T(!1), u = () => {
1207
+ const h = (M) => {
1208
+ l("change", M);
1209
+ }, f = S(!1), u = () => {
1205
1210
  f.value = !f.value, c = !0;
1206
1211
  }, d = () => {
1207
1212
  c || (f.value = !1), c = !1;
1208
1213
  }, r = k(
1209
- () => l.value?.map((M) => N(M)) ?? []
1210
- ), D = (M) => r.value.includes(M), z = (M, R) => {
1214
+ () => s.value?.map((M) => N(M)) ?? []
1215
+ ), V = (M) => r.value.includes(M), A = (M, R) => {
1211
1216
  M.preventDefault();
1212
- let m = l.value ?? [];
1213
- const $ = N(R);
1214
- D($) ? m = m.filter((K) => N(K) !== $) : m.push(R), l.value = m, b(m);
1217
+ let m = s.value ?? [];
1218
+ const _ = N(R);
1219
+ V(_) ? m = m.filter((K) => N(K) !== _) : m.push(R), s.value = m, h(m);
1215
1220
  }, N = (M) => M[n.valueKey], U = (M) => M?.[n.labelKey] ?? "";
1216
1221
  return (M, R) => {
1217
1222
  const m = fe("click-outside");
1218
- return s(), g(ue, le(oe(n)), {
1219
- default: A(() => [
1220
- i("button", {
1223
+ return o(), g(oe, ee(te(n)), {
1224
+ default: D(() => [
1225
+ a("button", {
1221
1226
  type: "button",
1222
- class: x([e.styles.control.select, "w-full truncate block"]),
1227
+ class: w([e.styles.control.select, "w-full truncate block"]),
1223
1228
  onClick: u
1224
- }, v(l.value?.map?.(($) => U($)).join(", ") ?? "Select value"), 3),
1225
- J((s(), a("div", null, [
1226
- f.value ? (s(), a("ul", Ht, [
1227
- (s(!0), a(w, null, _(e.options, ($) => (s(), a("li", {
1228
- key: $[e.valueKey]
1229
+ }, v(s.value?.map?.((_) => U(_)).join(", ") ?? "Select value"), 3),
1230
+ W((o(), i("div", null, [
1231
+ f.value ? (o(), i("ul", Wt, [
1232
+ (o(!0), i(x, null, $(e.options, (_) => (o(), i("li", {
1233
+ key: _[e.valueKey]
1229
1234
  }, [
1230
- i("button", {
1235
+ a("button", {
1231
1236
  class: "w-full flex h-8 border-b-1 border-gray-200 border-x-0 border-t-0 p-2 text-left hover:bg-primary-content cursor-pointer",
1232
1237
  type: "button",
1233
- onClick: (H) => z(H, $)
1238
+ onClick: (H) => A(H, _)
1234
1239
  }, [
1235
- i("div", jt, [
1236
- D(N($)) ? (s(), g(h(F), {
1240
+ a("div", Gt, [
1241
+ V(N(_)) ? (o(), g(b(I), {
1237
1242
  key: 0,
1238
- icon: h(V).Check,
1243
+ icon: b(z).Check,
1239
1244
  size: "sm"
1240
1245
  }, null, 8, ["icon"])) : y("", !0)
1241
1246
  ]),
1242
- S(" " + v(U($)), 1)
1243
- ], 8, It)
1247
+ T(" " + v(U(_)), 1)
1248
+ ], 8, Zt)
1244
1249
  ]))), 128))
1245
1250
  ])) : y("", !0)
1246
1251
  ])), [
@@ -1251,73 +1256,160 @@ const At = {
1251
1256
  }, 16);
1252
1257
  };
1253
1258
  }
1254
- }), qt = { class: "grid grid-cols-[auto_1fr_auto] h-full overflow-hidden" }, Ot = {
1259
+ }), Jt = { class: "card bg-base-100 border border-base-300" }, Qt = { class: "flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200" }, Xt = ["title", "onClick"], Yt = ["innerHTML"], en = { class: "card-body p-3" }, tn = /* @__PURE__ */ p({
1260
+ __name: "Markdown",
1261
+ props: /* @__PURE__ */ F(/* @__PURE__ */ Z({
1262
+ id: {},
1263
+ description: {},
1264
+ errors: {},
1265
+ label: {},
1266
+ visible: { type: Boolean },
1267
+ required: { type: Boolean },
1268
+ enabled: { type: Boolean },
1269
+ isFocused: { type: Boolean },
1270
+ isTouched: { type: Boolean },
1271
+ hideLabel: { type: Boolean },
1272
+ styles: {},
1273
+ actions: {}
1274
+ }, {
1275
+ ...G(),
1276
+ actions: () => [
1277
+ {
1278
+ label: "<strong>B</strong>",
1279
+ name: "bold",
1280
+ action: (e) => e?.chain().focus().toggleBold().run()
1281
+ },
1282
+ {
1283
+ label: "<em>I</em>",
1284
+ name: "italic",
1285
+ action: (e) => e?.chain().focus().toggleItalic().run()
1286
+ }
1287
+ ]
1288
+ }), {
1289
+ modelValue: {},
1290
+ modelModifiers: {}
1291
+ }),
1292
+ emits: /* @__PURE__ */ F(["update:modelValue"], ["update:modelValue"]),
1293
+ setup(e, { emit: t }) {
1294
+ const n = e, l = t, s = Y(e, "modelValue"), c = De({
1295
+ content: s.value ?? "",
1296
+ extensions: [
1297
+ Pe.configure({
1298
+ heading: !1,
1299
+ blockquote: !1,
1300
+ bulletList: !1,
1301
+ orderedList: !1,
1302
+ listItem: !1,
1303
+ code: !1,
1304
+ codeBlock: !1,
1305
+ horizontalRule: !1,
1306
+ hardBreak: !1
1307
+ }),
1308
+ Ae.configure({
1309
+ html: !1,
1310
+ transformPastedText: !0
1311
+ // parse markdown on paste
1312
+ })
1313
+ ],
1314
+ onUpdate({ editor: h }) {
1315
+ l("update:modelValue", h.storage.markdown.getMarkdown());
1316
+ }
1317
+ });
1318
+ return Ce(() => {
1319
+ c.value?.destroy();
1320
+ }), (h, f) => (o(), g(oe, ee(te(n)), {
1321
+ default: D(() => [
1322
+ a("div", Jt, [
1323
+ a("div", Qt, [
1324
+ (o(!0), i(x, null, $(e.actions, (u) => (o(), i("button", {
1325
+ key: u.name,
1326
+ class: w(["btn btn-sm btn-ghost", { "btn-active": b(c)?.isActive(u.name) }]),
1327
+ title: u.label,
1328
+ onClick: (d) => u.action(b(c))
1329
+ }, [
1330
+ a("span", {
1331
+ innerHTML: u.label
1332
+ }, null, 8, Yt)
1333
+ ], 10, Xt))), 128))
1334
+ ]),
1335
+ a("div", en, [
1336
+ C(b(Ve), {
1337
+ editor: b(c),
1338
+ class: "prose prose-sm max-w-none min-h-24"
1339
+ }, null, 8, ["editor"])
1340
+ ])
1341
+ ])
1342
+ ]),
1343
+ _: 1
1344
+ }, 16));
1345
+ }
1346
+ }), Zn = /* @__PURE__ */ de(tn, [["__scopeId", "data-v-0d8fa163"]]), nn = { class: "grid grid-cols-[auto_1fr_auto] h-full overflow-hidden" }, on = {
1255
1347
  id: "drawer-left",
1256
1348
  class: "min-h-0 min-w-6 relative flex-shrink-0 bg-white shadow-lg transition-all duration-300 ease-in-out border-l border-gray-200 overflow-visible"
1257
- }, Et = { class: "flex-1 overflow-y-auto bg-white" }, Wt = { class: "min-h-0 min-w-6 relative flex-shrink-0 bg-white shadow-lg transition-all duration-300 ease-in-out border-l border-gray-200 overflow-visible" }, Vn = /* @__PURE__ */ p({
1349
+ }, sn = { class: "flex-1 overflow-y-auto bg-white" }, ln = { class: "min-h-0 min-w-6 relative flex-shrink-0 bg-white shadow-lg transition-all duration-300 ease-in-out border-l border-gray-200 overflow-visible" }, Gn = /* @__PURE__ */ p({
1258
1350
  __name: "drawer",
1259
1351
  props: {
1260
1352
  widthLeft: { default: 200 },
1261
1353
  widthRight: { default: 200 }
1262
1354
  },
1263
1355
  setup(e) {
1264
- const t = T({ left: !0, right: !0 }), n = (o) => {
1265
- t.value[o] = !t.value[o];
1356
+ const t = S({ left: !0, right: !0 }), n = (l) => {
1357
+ t.value[l] = !t.value[l];
1266
1358
  };
1267
- return (o, l) => (s(), a("main", qt, [
1268
- i("aside", Ot, [
1269
- i("div", {
1270
- class: x(["absolute top-0 z-20", t.value.left ? "-right-0" : "-right-2"])
1359
+ return (l, s) => (o(), i("main", nn, [
1360
+ a("aside", on, [
1361
+ a("div", {
1362
+ class: w(["absolute top-0 z-20", t.value.left ? "-right-0" : "-right-2"])
1271
1363
  }, [
1272
- i("button", {
1364
+ a("button", {
1273
1365
  class: "btn btn-ghost btn-circle",
1274
- onClick: l[0] || (l[0] = (c) => n("left"))
1366
+ onClick: s[0] || (s[0] = (c) => n("left"))
1275
1367
  }, [
1276
- L(h(F), {
1368
+ C(b(I), {
1277
1369
  size: "sm",
1278
- icon: t.value.left ? h(V).DblChevronLeft : h(V).DblChevronRight
1370
+ icon: t.value.left ? b(z).DblChevronLeft : b(z).DblChevronRight
1279
1371
  }, null, 8, ["icon"])
1280
1372
  ])
1281
1373
  ], 2),
1282
- t.value.left ? (s(), a("div", {
1374
+ t.value.left ? (o(), i("div", {
1283
1375
  key: 0,
1284
- style: G({ width: e.widthLeft + "px" }),
1376
+ style: le({ width: e.widthLeft + "px" }),
1285
1377
  class: "h-full overflow-y-auto p-4"
1286
1378
  }, [
1287
- B(o.$slots, "left-drawer")
1379
+ B(l.$slots, "left-drawer")
1288
1380
  ], 4)) : y("", !0)
1289
1381
  ]),
1290
- i("div", Et, [
1291
- B(o.$slots, "default")
1382
+ a("div", sn, [
1383
+ B(l.$slots, "default")
1292
1384
  ]),
1293
- i("aside", Wt, [
1294
- t.value.right ? (s(), a("div", {
1385
+ a("aside", ln, [
1386
+ t.value.right ? (o(), i("div", {
1295
1387
  key: 0,
1296
- style: G({ width: e.widthRight + "px" }),
1388
+ style: le({ width: e.widthRight + "px" }),
1297
1389
  class: "h-full overflow-y-auto p-4"
1298
1390
  }, [
1299
- B(o.$slots, "right-drawer")
1391
+ B(l.$slots, "right-drawer")
1300
1392
  ], 4)) : y("", !0),
1301
- i("div", {
1302
- class: x(["absolute top-0 z-20", t.value.right ? "-left-0" : "-left-2"])
1393
+ a("div", {
1394
+ class: w(["absolute top-0 z-20", t.value.right ? "-left-0" : "-left-2"])
1303
1395
  }, [
1304
- i("button", {
1396
+ a("button", {
1305
1397
  class: "btn btn-ghost btn-circle",
1306
- onClick: l[1] || (l[1] = (c) => n("right"))
1398
+ onClick: s[1] || (s[1] = (c) => n("right"))
1307
1399
  }, [
1308
- L(h(F), {
1400
+ C(b(I), {
1309
1401
  size: "sm",
1310
- icon: t.value.right ? h(V).DblChevronRight : h(V).DblChevronLeft
1402
+ icon: t.value.right ? b(z).DblChevronRight : b(z).DblChevronLeft
1311
1403
  }, null, 8, ["icon"])
1312
1404
  ])
1313
1405
  ], 2)
1314
1406
  ])
1315
1407
  ]));
1316
1408
  }
1317
- }), Zt = { class: "ml-1" }, Gt = { class: "truncate flex-1 min-w-0 text-left" }, Jt = {
1409
+ }), an = { class: "ml-1" }, rn = { class: "truncate flex-1 min-w-0 text-left" }, cn = {
1318
1410
  key: 0,
1319
1411
  class: "badge badge-ghost badge-sm flex-shrink-0"
1320
- }, Qt = /* @__PURE__ */ p({
1412
+ }, un = /* @__PURE__ */ p({
1321
1413
  __name: "TreeItem",
1322
1414
  props: {
1323
1415
  active: {},
@@ -1327,59 +1419,59 @@ const At = {
1327
1419
  },
1328
1420
  emits: ["toggle", "select"],
1329
1421
  setup(e, { emit: t }) {
1330
- const n = e, o = t, l = k(() => n.active === n.node.id);
1331
- return (c, b) => {
1332
- const f = Q("TreeItem", !0);
1333
- return s(), a("li", Zt, [
1334
- i("div", {
1335
- class: x([
1422
+ const n = e, l = t, s = k(() => n.active === n.node.id);
1423
+ return (c, h) => {
1424
+ const f = X("TreeItem", !0);
1425
+ return o(), i("li", an, [
1426
+ a("div", {
1427
+ class: w([
1336
1428
  `flex items-center gap-1 cursor-pointer rounded-md px-1 py-0.5
1337
1429
  hover:bg-gray-100`,
1338
- l.value ? "text-primary" : ""
1430
+ s.value ? "text-primary" : ""
1339
1431
  ])
1340
1432
  }, [
1341
- e.node.children?.length > 0 ? (s(), a("span", {
1433
+ e.node.children?.length > 0 ? (o(), i("span", {
1342
1434
  key: 0,
1343
1435
  class: "flex items-center justify-center",
1344
- onClick: b[0] || (b[0] = (u) => o("toggle", e.node))
1436
+ onClick: h[0] || (h[0] = (u) => l("toggle", e.node))
1345
1437
  }, [
1346
- e.node.children && e.isExpanded(e.node.id) ? (s(), g(h(Le), {
1438
+ e.node.children && e.isExpanded(e.node.id) ? (o(), g(b(Me), {
1347
1439
  key: 0,
1348
1440
  class: "w-3 h-3"
1349
- })) : (s(), g(h(Me), {
1441
+ })) : (o(), g(b(Be), {
1350
1442
  key: 1,
1351
1443
  class: "w-3 h-3"
1352
1444
  }))
1353
1445
  ])) : y("", !0),
1354
- i("div", {
1446
+ a("div", {
1355
1447
  class: "flex items-center gap-2 w-full min-w-0",
1356
- onClick: b[1] || (b[1] = (u) => o("select", e.node))
1448
+ onClick: h[1] || (h[1] = (u) => l("select", e.node))
1357
1449
  }, [
1358
- i("div", Gt, v(e.node.label), 1),
1359
- e.node.tag ? (s(), a("div", Jt, v(e.node.tag), 1)) : y("", !0)
1450
+ a("div", rn, v(e.node.label), 1),
1451
+ e.node.tag ? (o(), i("div", cn, v(e.node.tag), 1)) : y("", !0)
1360
1452
  ])
1361
1453
  ], 2),
1362
- e.node.children && e.isExpanded(e.node.id) ? (s(), a("ul", {
1454
+ e.node.children && e.isExpanded(e.node.id) ? (o(), i("ul", {
1363
1455
  key: 0,
1364
- class: x([
1456
+ class: w([
1365
1457
  "ml-4 border-l pl-2",
1366
- { "border-gray-200": !l.value, "border-primary": l.value }
1458
+ { "border-gray-200": !s.value, "border-primary": s.value }
1367
1459
  ])
1368
1460
  }, [
1369
- (s(!0), a(w, null, _(e.node.children, (u) => (s(), g(f, {
1461
+ (o(!0), i(x, null, $(e.node.children, (u) => (o(), g(f, {
1370
1462
  key: u.id,
1371
1463
  node: u,
1372
1464
  expanded: e.expanded,
1373
1465
  active: e.active,
1374
1466
  "is-expanded": e.isExpanded,
1375
- onToggle: b[2] || (b[2] = (d) => o("toggle", d)),
1376
- onSelect: b[3] || (b[3] = (d) => o("select", d))
1467
+ onToggle: h[2] || (h[2] = (d) => l("toggle", d)),
1468
+ onSelect: h[3] || (h[3] = (d) => l("select", d))
1377
1469
  }, null, 8, ["node", "expanded", "active", "is-expanded"]))), 128))
1378
1470
  ], 2)) : y("", !0)
1379
1471
  ]);
1380
1472
  };
1381
1473
  }
1382
- }), Xt = { class: "select-none text-sm" }, Sn = /* @__PURE__ */ p({
1474
+ }), dn = { class: "select-none text-sm" }, Jn = /* @__PURE__ */ p({
1383
1475
  __name: "TreeView",
1384
1476
  props: {
1385
1477
  data: {},
@@ -1387,80 +1479,80 @@ const At = {
1387
1479
  },
1388
1480
  emits: ["select"],
1389
1481
  setup(e, { emit: t }) {
1390
- const n = e, o = t, l = T(/* @__PURE__ */ new Set()), c = (u) => {
1482
+ const n = e, l = t, s = S(/* @__PURE__ */ new Set()), c = (u) => {
1391
1483
  const d = u.id;
1392
1484
  if (!u.children || u.children.length === 0) {
1393
- o("select", u);
1485
+ l("select", u);
1394
1486
  return;
1395
1487
  }
1396
- l.value.has(d) ? l.value.delete(d) : l.value.add(d);
1397
- }, b = (u) => {
1398
- o("select", u), l.value.add(u.id);
1399
- }, f = (u) => l.value.has(u);
1400
- return (u, d) => (s(), a("ul", Xt, [
1401
- (s(!0), a(w, null, _(n.data, (r) => (s(), g(Qt, {
1488
+ s.value.has(d) ? s.value.delete(d) : s.value.add(d);
1489
+ }, h = (u) => {
1490
+ l("select", u), s.value.add(u.id);
1491
+ }, f = (u) => s.value.has(u);
1492
+ return (u, d) => (o(), i("ul", dn, [
1493
+ (o(!0), i(x, null, $(n.data, (r) => (o(), g(un, {
1402
1494
  key: r.id,
1403
1495
  node: r,
1404
- expanded: l.value,
1496
+ expanded: s.value,
1405
1497
  active: e.active,
1406
1498
  "is-expanded": f,
1407
1499
  onToggle: c,
1408
- onSelect: b
1500
+ onSelect: h
1409
1501
  }, null, 8, ["node", "expanded", "active"]))), 128))
1410
1502
  ]));
1411
1503
  }
1412
- }), Yt = {
1504
+ }), mn = {
1413
1505
  key: 0,
1414
1506
  class: "flex items-center justify-center h-20"
1415
- }, Tn = /* @__PURE__ */ p({
1507
+ }, Qn = /* @__PURE__ */ p({
1416
1508
  __name: "loading",
1417
1509
  props: {
1418
1510
  loading: { type: Boolean }
1419
1511
  },
1420
1512
  setup(e) {
1421
- return (t, n) => e.loading ? (s(), a("div", Yt, [...n[0] || (n[0] = [
1422
- i("span", { class: "loading loading-bars loading-md text-primary" }, null, -1)
1513
+ return (t, n) => e.loading ? (o(), i("div", mn, [...n[0] || (n[0] = [
1514
+ a("span", { class: "loading loading-bars loading-md text-primary" }, null, -1)
1423
1515
  ])])) : y("", !0);
1424
1516
  }
1425
- }), en = { class: "collapse collapse-arrow bg-white w-full border border-gray-300" }, tn = ["checked"], nn = { class: "collapse-title text-gray-500 text-xs font-medium" }, sn = {
1517
+ }), fn = { class: "collapse collapse-arrow bg-white w-full border border-gray-300" }, bn = ["checked"], hn = { class: "collapse-title text-gray-500 text-xs font-medium" }, vn = {
1426
1518
  key: 0,
1427
1519
  class: "list bg-base-100"
1428
- }, Nn = /* @__PURE__ */ p({
1520
+ }, Xn = /* @__PURE__ */ p({
1429
1521
  __name: "Collapse",
1430
1522
  props: {
1431
1523
  title: {},
1432
1524
  opened: { type: Boolean, default: !0 }
1433
1525
  },
1434
1526
  setup(e) {
1435
- const t = be(), n = e, o = T(n.opened);
1436
- return Z(
1527
+ const t = be(), n = e, l = S(n.opened);
1528
+ return Q(
1437
1529
  () => n.opened,
1438
1530
  () => {
1439
1531
  },
1440
1532
  { immediate: !0 }
1441
- ), (l, c) => (s(), a("div", en, [
1442
- i("input", {
1533
+ ), (s, c) => (o(), i("div", fn, [
1534
+ a("input", {
1443
1535
  type: "checkbox",
1444
- checked: o.value
1445
- }, null, 8, tn),
1446
- i("div", nn, v(e.title), 1),
1447
- i("div", {
1448
- class: x(["collapse-content", h(t).list ? "p-0" : ""])
1536
+ checked: l.value
1537
+ }, null, 8, bn),
1538
+ a("div", hn, v(e.title), 1),
1539
+ a("div", {
1540
+ class: w(["collapse-content", b(t).list ? "p-0" : ""])
1449
1541
  }, [
1450
- B(l.$slots, "default"),
1451
- h(t).list ? (s(), a("ul", sn, [
1452
- B(l.$slots, "list")
1542
+ B(s.$slots, "default"),
1543
+ b(t).list ? (o(), i("ul", vn, [
1544
+ B(s.$slots, "list")
1453
1545
  ])) : y("", !0)
1454
1546
  ], 2)
1455
1547
  ]));
1456
1548
  }
1457
- }), ln = { class: "list-row" }, on = { class: "list-col-grow" }, an = {
1549
+ }), gn = { class: "list-row" }, pn = { class: "list-col-grow" }, yn = {
1458
1550
  key: 0,
1459
1551
  class: "text-xs text-gray-600"
1460
- }, rn = ["href"], cn = { key: 1 }, un = {
1552
+ }, wn = ["href"], xn = { key: 1 }, kn = {
1461
1553
  key: 0,
1462
1554
  class: "text-xs text-gray-500"
1463
- }, dn = ["href"], mn = { key: 1 }, fn = { class: "list-col-wrap text-xs text-gray-500" }, Rn = /* @__PURE__ */ p({
1555
+ }, $n = ["href"], Cn = { key: 1 }, _n = { class: "list-col-wrap text-xs text-gray-500" }, Yn = /* @__PURE__ */ p({
1464
1556
  __name: "CollapseRow",
1465
1557
  props: {
1466
1558
  title: {},
@@ -1471,73 +1563,74 @@ const At = {
1471
1563
  },
1472
1564
  setup(e) {
1473
1565
  return be(), (t, n) => {
1474
- const o = Q("ng-content");
1475
- return s(), a("li", ln, [
1476
- i("div", on, [
1477
- i("div", null, v(e.title), 1),
1478
- e.description || e.descriptionLink ? (s(), a("div", an, [
1479
- e.descriptionLink ? (s(), a("a", {
1566
+ const l = X("ng-content");
1567
+ return o(), i("li", gn, [
1568
+ a("div", pn, [
1569
+ a("div", null, v(e.title), 1),
1570
+ e.description || e.descriptionLink ? (o(), i("div", yn, [
1571
+ e.descriptionLink ? (o(), i("a", {
1480
1572
  key: 0,
1481
1573
  href: e.descriptionLink,
1482
1574
  target: "_blank"
1483
- }, v(e.description ?? e.descriptionLink), 9, rn)) : (s(), a("span", cn, v(e.description), 1))
1575
+ }, v(e.description ?? e.descriptionLink), 9, wn)) : (o(), i("span", xn, v(e.description), 1))
1484
1576
  ])) : y("", !0)
1485
1577
  ]),
1486
- e.label ? (s(), a("div", un, [
1487
- e.labelLink ? (s(), a("a", {
1578
+ e.label ? (o(), i("div", kn, [
1579
+ e.labelLink ? (o(), i("a", {
1488
1580
  key: 0,
1489
1581
  href: e.labelLink,
1490
1582
  target: "_blank"
1491
- }, v(e.label), 9, dn)) : (s(), a("span", mn, v(e.label), 1))
1583
+ }, v(e.label), 9, $n)) : (o(), i("span", Cn, v(e.label), 1))
1492
1584
  ])) : y("", !0),
1493
- i("p", fn, [
1494
- L(o)
1585
+ a("p", _n, [
1586
+ C(l)
1495
1587
  ])
1496
1588
  ]);
1497
1589
  };
1498
1590
  }
1499
1591
  });
1500
1592
  export {
1501
- An as Autocomplete,
1502
- Oe as BadgeSize,
1503
- j as Btn,
1504
- wn as BtnBadge,
1505
- qe as ButtonSize,
1506
- _n as Card,
1507
- Bn as ClickOutside,
1508
- Nn as Collapse,
1509
- Rn as CollapseRow,
1510
- I as Color,
1511
- We as ConfirmModal,
1512
- ue as ControlWrapper,
1513
- zt as DefaultAutoCompleteProperties,
1514
- ee as DefaultControlProperties,
1515
- Vn as Drawer,
1516
- xn as Dropdown,
1517
- F as Icon,
1518
- V as IconEnum,
1519
- Be as IconMap,
1520
- Tn as Loading,
1521
- yn as Menu,
1522
- He as Modal,
1523
- re as ModalService,
1524
- Ze as ModalWrapper,
1525
- zn as MultiSelect,
1526
- Ge as NotificationMessage,
1527
- ce as NotificationService,
1528
- Xe as Notifications,
1529
- ft as PaginationComponent,
1530
- Dn as SelectComponent,
1531
- kn as ShellComponent,
1532
- ae as SubMenu,
1533
- Cn as Table,
1534
- Cn as TableComponent,
1535
- $n as TextCell,
1536
- Sn as TreeView,
1537
- Ln as addClickOutsideEventListener,
1538
- Pn as hasCustomEventListener,
1539
- St as isDescriptionHidden,
1540
- At as myStyles,
1541
- Mn as removeClickOutsideEventListener,
1542
- Vt as showErrors
1593
+ En as Autocomplete,
1594
+ Je as BadgeSize,
1595
+ q as Btn,
1596
+ Nn as BtnBadge,
1597
+ Ge as ButtonSize,
1598
+ In as Card,
1599
+ jn as ClickOutside,
1600
+ Xn as Collapse,
1601
+ Yn as CollapseRow,
1602
+ j as Color,
1603
+ Xe as ConfirmModal,
1604
+ oe as ControlWrapper,
1605
+ Kt as DefaultAutoCompleteProperties,
1606
+ G as DefaultControlProperties,
1607
+ Gn as Drawer,
1608
+ Sn as Dropdown,
1609
+ I as Icon,
1610
+ z as IconEnum,
1611
+ ze as IconMap,
1612
+ Qn as Loading,
1613
+ Zn as Markdown,
1614
+ Tn as Menu,
1615
+ Ee as Modal,
1616
+ ce as ModalService,
1617
+ Ye as ModalWrapper,
1618
+ Wn as MultiSelect,
1619
+ et as NotificationMessage,
1620
+ ue as NotificationService,
1621
+ ot as Notifications,
1622
+ yt as PaginationComponent,
1623
+ On as SelectComponent,
1624
+ Rn as ShellComponent,
1625
+ ie as SubMenu,
1626
+ Fn as Table,
1627
+ Fn as TableComponent,
1628
+ Kn as TextCell,
1629
+ Jn as TreeView,
1630
+ Un as addClickOutsideEventListener,
1631
+ qn as hasCustomEventListener,
1632
+ It as isDescriptionHidden,
1633
+ Rt as myStyles,
1634
+ Hn as removeClickOutsideEventListener,
1635
+ Ft as showErrors
1543
1636
  };