scrubbed-tailwind-components-v2 2.4.4 → 2.5.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.
@@ -1,5 +1,5 @@
1
- import { useSlots as F, provide as P, createElementBlock as s, openBlock as a, normalizeClass as f, createElementVNode as l, createBlock as x, resolveDynamicComponent as $, cloneVNode as A, unref as c, renderSlot as i, inject as y, withCtx as R, ref as _, createVNode as j, Fragment as S, Teleport as K, normalizeStyle as U, watch as Z, createCommentVNode as V, resolveComponent as J, mergeProps as k, useModel as T, withDirectives as B, withModifiers as W, vModelCheckbox as Y, computed as L, vModelText as E, mergeModels as N, onMounted as X, renderList as I, createTextVNode as O, toDisplayString as D, vModelRadio as Q, vModelSelect as ee, defineAsyncComponent as C } from "vue";
2
- import { RouterLink as M, useRoute as q } from "vue-router";
1
+ import { useSlots as W, provide as P, createElementBlock as s, openBlock as a, normalizeClass as f, createElementVNode as i, createBlock as x, resolveDynamicComponent as $, cloneVNode as A, unref as c, renderSlot as l, inject as y, withCtx as V, ref as _, createVNode as j, Fragment as S, createCommentVNode as T, Teleport as K, normalizeStyle as U, watch as Z, resolveComponent as J, mergeProps as k, useModel as B, withDirectives as I, withModifiers as O, vModelCheckbox as Y, computed as L, vModelText as E, mergeModels as N, onMounted as X, renderList as R, createTextVNode as q, toDisplayString as D, vModelRadio as Q, vModelSelect as ee, defineAsyncComponent as C } from "vue";
2
+ import { RouterLink as z, useRoute as H } from "vue-router";
3
3
  const re = {
4
4
  __name: "Alert",
5
5
  props: {
@@ -10,7 +10,7 @@ const re = {
10
10
  }
11
11
  },
12
12
  setup(e) {
13
- const r = F(), t = e, o = {
13
+ const r = W(), t = e, n = {
14
14
  info: {
15
15
  root: "bg-brand-primary-100 border-brand-primary-300 text-brand-primary-900 ",
16
16
  icon: "bg-brand-primary-300 text-brand-primary-700"
@@ -27,7 +27,7 @@ const re = {
27
27
  root: "bg-danger-100 border-danger-300 text-danger-700",
28
28
  icon: "bg-danger-300 text-red-700"
29
29
  }
30
- }, n = {
30
+ }, o = {
31
31
  info: {
32
32
  icon: "stroke-brand-primary-900"
33
33
  },
@@ -41,56 +41,56 @@ const re = {
41
41
  icon: "stroke-danger-700"
42
42
  }
43
43
  };
44
- return P("ALERT", { VARIANT_MAP: o }), (d, u) => {
45
- var m, p, b, g, v, z;
44
+ return P("ALERT", { VARIANT_MAP: n }), (d, u) => {
45
+ var m, p, b, g, v, M;
46
46
  return a(), s("div", {
47
- class: f(["flex w-full gap-4 rounded-2xl border p-4", o[t.variant].root])
47
+ class: f(["flex w-full gap-4 rounded-2xl border p-4", n[t.variant].root])
48
48
  }, [
49
- l("div", {
50
- class: f(["grid size-10 place-items-center rounded-full", o[t.variant].icon])
49
+ i("div", {
50
+ class: f(["grid size-10 place-items-center rounded-full", n[t.variant].icon])
51
51
  }, [
52
52
  (a(), x($(A((p = (m = c(r)).default) == null ? void 0 : p.call(m)[0])), {
53
- class: f(["size-4", n[t.variant].icon])
53
+ class: f(["size-4", o[t.variant].icon])
54
54
  }, null, 8, ["class"]))
55
55
  ], 2),
56
- l("div", null, [
56
+ i("div", null, [
57
57
  (a(), x($(A((g = (b = c(r)).default) == null ? void 0 : g.call(b)[1])))),
58
- (a(), x($(A((z = (v = c(r)).default) == null ? void 0 : z.call(v)[2]))))
58
+ (a(), x($(A((M = (v = c(r)).default) == null ? void 0 : M.call(v)[2]))))
59
59
  ])
60
60
  ], 2);
61
61
  };
62
62
  }
63
63
  }, h = (e, r) => {
64
64
  const t = e.__vccOpts || e;
65
- for (const [o, n] of r)
66
- t[o] = n;
65
+ for (const [n, o] of r)
66
+ t[n] = o;
67
67
  return t;
68
68
  }, te = {}, oe = { class: "text-sm text-neutral-600" };
69
69
  function ne(e, r) {
70
70
  return a(), s("span", oe, [
71
- i(e.$slots, "default")
71
+ l(e.$slots, "default")
72
72
  ]);
73
73
  }
74
74
  const ae = /* @__PURE__ */ h(te, [["render", ne]]), se = {}, le = { class: "font-medium" };
75
75
  function ie(e, r) {
76
76
  return a(), s("p", le, [
77
- i(e.$slots, "default")
77
+ l(e.$slots, "default")
78
78
  ]);
79
79
  }
80
- const de = /* @__PURE__ */ h(se, [["render", ie]]), ce = { class: "flex w-full items-center justify-between" }, ue = { class: "flex items-center gap-2" }, ge = { class: "flex items-center gap-10" }, pe = { class: "hidden gap-6 sm:flex" }, ot = {
80
+ const de = /* @__PURE__ */ h(se, [["render", ie]]), ce = { class: "flex w-full items-center justify-between" }, ue = { class: "flex items-center gap-2" }, ge = { class: "lg:w-60" }, pe = { class: "hidden xl:block" }, me = { class: "flex items-center gap-10" }, be = { class: "hidden gap-6 sm:flex" }, it = {
81
81
  __name: "AppHeader",
82
82
  setup(e) {
83
- const r = y("APP_DATA"), { isSidebarToggled: t, toggleSidebar: o } = r;
84
- return (n, d) => (a(), s("header", {
85
- class: f(["fixed top-0 flex h-16 w-dvw items-center justify-center bg-white/50 px-3 backdrop-blur sm:px-6", { "rounded-t-2xl": c(t) }])
83
+ const r = y("APP_DATA"), { isSidebarToggled: t, toggleSidebar: n } = r;
84
+ return (o, d) => (a(), s("header", {
85
+ class: f(["fixed top-0 flex h-16 w-dvw items-center justify-center bg-white px-3 backdrop-blur sm:px-6", { "rounded-t-2xl": c(t) }])
86
86
  }, [
87
- l("nav", ce, [
88
- l("div", ue, [
89
- l("button", {
90
- onClick: d[0] || (d[0] = (u) => c(o)()),
91
- class: "block cursor-pointer rounded-full p-2 hover:bg-neutral-100 sm:hidden"
87
+ i("nav", ce, [
88
+ i("div", ue, [
89
+ i("button", {
90
+ onClick: d[0] || (d[0] = (u) => c(n)()),
91
+ class: "block cursor-pointer rounded-full p-2 hover:bg-neutral-100 lg:hidden"
92
92
  }, d[1] || (d[1] = [
93
- l("svg", {
93
+ i("svg", {
94
94
  xmlns: "http://www.w3.org/2000/svg",
95
95
  width: "24",
96
96
  height: "24",
@@ -102,37 +102,42 @@ const de = /* @__PURE__ */ h(se, [["render", ie]]), ce = { class: "flex w-full i
102
102
  "stroke-linejoin": "round",
103
103
  class: "lucide lucide-menu-icon lucide-menu size-5 stroke-neutral-600"
104
104
  }, [
105
- l("path", { d: "M4 12h16" }),
106
- l("path", { d: "M4 18h16" }),
107
- l("path", { d: "M4 6h16" })
105
+ i("path", { d: "M4 12h16" }),
106
+ i("path", { d: "M4 18h16" }),
107
+ i("path", { d: "M4 6h16" })
108
108
  ], -1)
109
109
  ])),
110
- i(n.$slots, "header-img")
110
+ i("div", ge, [
111
+ l(o.$slots, "header-img")
112
+ ]),
113
+ i("div", pe, [
114
+ l(o.$slots, "header-banner")
115
+ ])
111
116
  ]),
112
- l("div", ge, [
113
- l("ul", pe, [
114
- i(n.$slots, "header-links")
117
+ i("div", me, [
118
+ i("ul", be, [
119
+ l(o.$slots, "header-links")
115
120
  ]),
116
- i(n.$slots, "header-actions")
121
+ l(o.$slots, "header-actions")
117
122
  ])
118
123
  ])
119
124
  ], 2));
120
125
  }
121
- }, me = ["href"], be = {
126
+ }, fe = ["href"], he = {
122
127
  __name: "AppHeaderLink",
123
128
  props: {
124
129
  to: { type: String, required: !0 }
125
130
  },
126
131
  setup(e) {
127
132
  const r = e;
128
- return (t, o) => (a(), s("li", null, [
129
- r.to.startsWith("/") ? (a(), x(c(M), {
133
+ return (t, n) => (a(), s("li", null, [
134
+ r.to.startsWith("/") ? (a(), x(c(z), {
130
135
  key: 0,
131
136
  class: "hover:text-primary-950 [&.router-link-active]:text-primary-950 text-xs uppercase text-neutral-600 hover:transition-all [&.router-link-active]:font-semibold",
132
137
  to: r.to
133
138
  }, {
134
- default: R(() => [
135
- i(t.$slots, "default")
139
+ default: V(() => [
140
+ l(t.$slots, "default")
136
141
  ]),
137
142
  _: 3
138
143
  }, 8, ["to"])) : (a(), s("a", {
@@ -140,97 +145,109 @@ const de = /* @__PURE__ */ h(se, [["render", ie]]), ce = { class: "flex w-full i
140
145
  class: "hover:text-primary-950 text-xs uppercase text-neutral-600 hover:transition-all",
141
146
  href: r.to
142
147
  }, [
143
- i(t.$slots, "default")
144
- ], 8, me))
148
+ l(t.$slots, "default")
149
+ ], 8, fe))
145
150
  ]));
146
151
  }
147
- }, fe = { class: "relative" }, he = { class: "flex" }, ve = {
152
+ }, ve = { class: "relative" }, xe = { class: "flex" }, _e = {
148
153
  __name: "AppLayout",
149
154
  setup(e) {
150
155
  const r = _(!1);
151
156
  function t() {
152
- window.innerWidth <= 640 ? (r.value = !r.value, o()) : r.value && (r.value = !1, o());
157
+ window.innerWidth <= 1024 ? (r.value = !r.value, n()) : r.value && (r.value = !1, n());
153
158
  }
154
- function o() {
155
- const n = document.querySelector("body");
156
- n.classList.contains("bg-black") ? n.classList.remove("bg-black") : n.classList.add("bg-black");
159
+ function n() {
160
+ const o = document.querySelector("body");
161
+ o.classList.contains("bg-black") ? o.classList.remove("bg-black") : o.classList.add("bg-black");
157
162
  }
158
- return P("APP_DATA", { isSidebarToggled: r, toggleSidebar: t }), (n, d) => {
163
+ return P("APP_DATA", { isSidebarToggled: r, toggleSidebar: t }), (o, d) => {
159
164
  var u, m, p, b, g, v;
160
165
  return a(), s("div", {
161
166
  class: f(["bg-white transition-all duration-500 ease-[cubic-bezier(.32,.72,0,1)]", {
162
167
  "origin-[center_top] translate-y-4 scale-93": r.value
163
168
  }])
164
169
  }, [
165
- l("div", fe, [
166
- (a(), x($(A((m = (u = n.$slots).default) == null ? void 0 : m.call(u)[0])))),
167
- l("div", he, [
168
- (a(), x($(A((b = (p = n.$slots).default) == null ? void 0 : b.call(p)[1])))),
169
- (a(), x($(A((v = (g = n.$slots).default) == null ? void 0 : v.call(g)[2]))))
170
+ i("div", ve, [
171
+ (a(), x($(A((m = (u = o.$slots).default) == null ? void 0 : m.call(u)[0])))),
172
+ i("div", xe, [
173
+ (a(), x($(A((b = (p = o.$slots).default) == null ? void 0 : b.call(p)[1])))),
174
+ (a(), x($(A((v = (g = o.$slots).default) == null ? void 0 : v.call(g)[2]))))
170
175
  ])
171
176
  ])
172
177
  ], 2);
173
178
  };
174
179
  }
175
- }, xe = {
180
+ }, ye = {
176
181
  __name: "AppMain",
177
182
  setup(e) {
178
183
  const r = y("APP_DATA"), { isSidebarToggled: t } = r;
179
- return (o, n) => (a(), s("main", {
184
+ return (n, o) => (a(), s("main", {
180
185
  class: f([
181
- "bg-background-main fixed z-[-1] h-svh w-full overflow-auto px-6 pt-24 pb-9 sm:top-16 sm:ml-[223px] sm:h-[calc(100dvh-4rem)] sm:w-[calc(100dvw-223px)] sm:pt-9",
186
+ "bg-background-main fixed z-[-1] h-svh w-full overflow-auto px-6 pt-24 pb-9 sm:top-16 sm:pt-9 md:h-[calc(100dvh-4rem)] lg:ms-64 lg:w-[calc(100dvw-256px)]",
182
187
  c(t) ? "overflow-hidden rounded-t-xl sm:rounded-none" : "sm:rounded-tl-2xl"
183
188
  ])
184
189
  }, [
185
- i(o.$slots, "default")
190
+ l(n.$slots, "default")
186
191
  ], 2));
187
192
  }
188
- }, _e = {}, ye = { class: "flex w-full overflow-x-auto border-b-[1px] border-neutral-200 [&::-webkit-scrollbar]:hidden" };
189
- function ke(e, r) {
190
- return a(), s("div", ye, [
191
- i(e.$slots, "default")
193
+ }, ke = {}, Ce = { class: "flex w-full overflow-x-auto border-b-[1px] border-neutral-200 [&::-webkit-scrollbar]:hidden" };
194
+ function we(e, r) {
195
+ return a(), s("div", Ce, [
196
+ l(e.$slots, "default")
192
197
  ]);
193
198
  }
194
- const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" }, $e = {
199
+ const $e = /* @__PURE__ */ h(ke, [["render", we]]), Ae = { class: "shrink-0" }, Se = {
195
200
  __name: "AppNavTab",
196
201
  props: {
197
202
  to: { type: String, required: !0 }
198
203
  },
199
204
  setup(e) {
200
205
  const r = e;
201
- return _(null), (t, o) => (a(), s("div", we, [
202
- j(c(M), {
206
+ return _(null), (t, n) => (a(), s("div", Ae, [
207
+ j(c(z), {
203
208
  class: "[&.router-link-exact-active]:text-primary-950 [&.router-link-exact-active]:border-brand-primary-700 hover:text-brand-primary-700 group relative flex h-12 shrink-0 items-center justify-between gap-2 border-b-2 border-transparent px-3 text-sm text-neutral-600 transition-all [&.router-link-exact-active]:font-medium",
204
209
  to: r.to
205
210
  }, {
206
- default: R(() => [
207
- i(t.$slots, "default"),
208
- o[0] || (o[0] = l("div", { class: "bg-primary-100 absolute inset-x-0 z-[-1] h-8 w-full rounded-lg opacity-0 transition-all contain-strict group-hover:transform-none group-hover:opacity-100 group-hover:[transform-origin:50%_50%_0px]" }, null, -1))
211
+ default: V(() => [
212
+ l(t.$slots, "default"),
213
+ n[0] || (n[0] = i("div", { class: "bg-primary-100 absolute inset-x-0 z-[-1] h-8 w-full rounded-lg opacity-0 transition-all contain-strict group-hover:transform-none group-hover:opacity-100 group-hover:[transform-origin:50%_50%_0px]" }, null, -1))
209
214
  ]),
210
215
  _: 3,
211
216
  __: [0]
212
217
  }, 8, ["to"])
213
218
  ]));
214
219
  }
215
- }, Ae = { class: "sidebar-wrapper fixed top-0 left-0 hidden max-h-[calc(100vh-64px)] w-[223px] space-y-4 overflow-y-auto bg-white px-4 py-8 sm:top-[64px] sm:block" }, Se = {
220
+ }, Te = { class: "sidebar-wrapper fixed top-0 left-0 hidden max-h-[calc(100vh-64px)] w-64 overflow-y-auto bg-white sm:top-16 lg:block" }, Be = {
221
+ key: 0,
222
+ class: "sticky top-0 z-50 bg-white"
223
+ }, Ie = {
224
+ key: 1,
225
+ class: "sticky bottom-0 z-50 bg-white"
226
+ }, Re = {
216
227
  __name: "AppSidebar",
217
228
  setup(e) {
218
- const r = y("APP_DATA"), { isSidebarToggled: t, toggleSidebar: o } = r;
219
- return (n, d) => (a(), s(S, null, [
220
- l("aside", Ae, [
221
- i(n.$slots, "default")
229
+ const r = y("APP_DATA"), { isSidebarToggled: t, toggleSidebar: n } = r;
230
+ return W(), (o, d) => (a(), s(S, null, [
231
+ i("aside", Te, [
232
+ o.$slots.header ? (a(), s("div", Be, [
233
+ l(o.$slots, "header")
234
+ ])) : T("", !0),
235
+ l(o.$slots, "default"),
236
+ o.$slots.footer ? (a(), s("div", Ie, [
237
+ l(o.$slots, "footer")
238
+ ])) : T("", !0)
222
239
  ]),
223
240
  (a(), x(K, { to: "body" }, [
224
- l("div", {
225
- class: "shadow-t-2xl fixed bottom-0 z-50 h-[60svh] w-full space-y-4 overflow-y-scroll rounded-t-2xl bg-white p-4 transition-all duration-500 ease-[cubic-bezier(.32,.72,0,1)] [&::-webkit-scrollbar]:hidden",
241
+ i("div", {
242
+ class: "shadow-t-2xl fixed bottom-0 z-50 h-[60svh] w-full overflow-y-scroll rounded-t-2xl bg-white transition-all duration-500 ease-[cubic-bezier(.32,.72,0,1)] [&::-webkit-scrollbar]:hidden",
226
243
  style: U(
227
244
  c(t) ? "transform: translateZ(0)" : "transform: translate3d(0,60svh,0)"
228
245
  )
229
246
  }, [
230
- i(n.$slots, "default")
247
+ l(o.$slots, "default")
231
248
  ], 4),
232
- l("div", {
233
- onClick: d[0] || (d[0] = (u) => c(o)()),
249
+ i("div", {
250
+ onClick: d[0] || (d[0] = (u) => c(n)()),
234
251
  class: f([
235
252
  "backdrop transition-all [transition-behavior:allow-discrete] duration-300",
236
253
  c(t) ? "fixed inset-0 z-40 block bg-black/80 opacity-100" : "hidden"
@@ -239,32 +256,32 @@ const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" },
239
256
  ]))
240
257
  ], 64));
241
258
  }
242
- }, Te = { class: "flex flex-col" }, Be = {
259
+ }, Ve = { class: "flex flex-col" }, De = {
243
260
  __name: "AppSidebarItem",
244
261
  setup(e) {
245
- q();
262
+ H();
246
263
  const r = _(!1);
247
264
  function t() {
248
265
  r.value = !r.value;
249
266
  }
250
- return P("SIDEBAR_TOGGLE", { toggled: r, toggleSidebarItem: t }), (o, n) => (a(), s("div", Te, [
251
- i(o.$slots, "default")
267
+ return P("SIDEBAR_TOGGLE", { toggled: r, toggleSidebarItem: t }), (n, o) => (a(), s("div", Ve, [
268
+ l(n.$slots, "default")
252
269
  ]));
253
270
  }
254
- }, Ie = ["href"], Re = {
271
+ }, Pe = ["href"], ze = {
255
272
  __name: "AppSidebarItemChild",
256
273
  props: {
257
274
  to: { type: [String, Object], required: !0 }
258
275
  },
259
276
  setup(e) {
260
277
  const r = e;
261
- return (t, o) => typeof r.to == "object" || r.to.startsWith("/") ? (a(), x(c(M), {
278
+ return (t, n) => typeof r.to == "object" || r.to.startsWith("/") ? (a(), x(c(z), {
262
279
  key: 0,
263
280
  class: "[&.router-link-exact-active]:text-primary-950 [&.router-link-exact-active]:bg-background-main text-primary-950 hover:bg-background-main block h-10 items-center gap-3 overflow-hidden rounded-lg px-3 text-xs leading-[40px] text-ellipsis whitespace-nowrap transition-all [&.router-link-exact-active]:font-medium",
264
281
  to: r.to
265
282
  }, {
266
- default: R(() => [
267
- i(t.$slots, "default")
283
+ default: V(() => [
284
+ l(t.$slots, "default")
268
285
  ]),
269
286
  _: 3
270
287
  }, 8, ["to"])) : (a(), s("a", {
@@ -272,20 +289,20 @@ const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" },
272
289
  class: "text-primary-950 hover:bg-background-main block h-10 items-center gap-3 overflow-hidden rounded-lg px-3 text-xs leading-[40px] text-ellipsis whitespace-nowrap transition-all",
273
290
  href: r.to
274
291
  }, [
275
- i(t.$slots, "default")
276
- ], 8, Ie));
292
+ l(t.$slots, "default")
293
+ ], 8, Pe));
277
294
  }
278
- }, Ve = {
295
+ }, Me = {
279
296
  __name: "AppSidebarItemChildren",
280
297
  setup(e) {
281
298
  const r = y("SIDEBAR_TOGGLE"), { toggled: t } = r;
282
- return (o, n) => (a(), s("div", {
299
+ return (n, o) => (a(), s("div", {
283
300
  class: f(["max-h-0 overflow-y-hidden rounded-b-lg opacity-0 transition-all", { "mt-2 max-h-max overflow-y-auto px-2 opacity-100": c(t) }])
284
301
  }, [
285
- i(o.$slots, "default")
302
+ l(n.$slots, "default")
286
303
  ], 2));
287
304
  }
288
- }, De = { class: "link group/sidebar-item hover:bg-background-main peer has-[&.router-link-active]:from-brand-primary-50 has-[&.router-link-active]:to-brand-primary-100 flex h-10 items-center justify-between rounded-lg px-3 transition-all has-[&.router-link-active]:bg-gradient-to-br" }, Pe = ["href"], Me = {
305
+ }, je = { class: "link group/sidebar-item hover:bg-background-main peer has-[&.router-link-active]:from-brand-primary-50 has-[&.router-link-active]:to-brand-primary-100 flex h-10 items-center justify-between rounded-lg px-3 transition-all has-[&.router-link-active]:bg-gradient-to-br" }, Le = ["href"], Ee = {
289
306
  __name: "AppSidebarItemParent",
290
307
  props: {
291
308
  to: { type: [String, Object], required: !0 },
@@ -293,21 +310,21 @@ const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" },
293
310
  hasChildren: { type: Boolean, default: !1 }
294
311
  },
295
312
  setup(e) {
296
- const r = q(), t = e, o = y("SIDEBAR_TOGGLE"), n = y("APP_DATA"), { toggled: d, toggleSidebarItem: u } = o, { toggleSidebar: m } = n;
313
+ const r = H(), t = e, n = y("SIDEBAR_TOGGLE"), o = y("APP_DATA"), { toggled: d, toggleSidebarItem: u } = n, { toggleSidebar: m } = o;
297
314
  function p() {
298
315
  r.matched.some(
299
316
  (g) => t.name === g.name
300
317
  ) ? d.value = !0 : d.value = !1;
301
318
  }
302
- return Z(r, () => p(), { immediate: !0 }), (b, g) => (a(), s("div", De, [
303
- typeof t.to == "object" || t.to.startsWith("/") ? (a(), x(c(M), {
319
+ return Z(r, () => p(), { immediate: !0 }), (b, g) => (a(), s("div", je, [
320
+ typeof t.to == "object" || t.to.startsWith("/") ? (a(), x(c(z), {
304
321
  key: 0,
305
322
  onClick: g[0] || (g[0] = (v) => c(m)()),
306
323
  class: "[&.router-link-active]:text-primary-700 text-primary-950 peer flex h-full w-full items-center gap-3 text-xs [&.router-link-active]:font-medium",
307
324
  to: t.to
308
325
  }, {
309
- default: R(() => [
310
- i(b.$slots, "default")
326
+ default: V(() => [
327
+ l(b.$slots, "default")
311
328
  ]),
312
329
  _: 3
313
330
  }, 8, ["to"])) : (a(), s("a", {
@@ -315,8 +332,8 @@ const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" },
315
332
  class: "text-primary-950 peer flex h-full w-full items-center gap-3 text-xs",
316
333
  href: t.to
317
334
  }, [
318
- i(b.$slots, "default")
319
- ], 8, Pe)),
335
+ l(b.$slots, "default")
336
+ ], 8, Le)),
320
337
  t.hasChildren ? (a(), s("button", {
321
338
  key: 2,
322
339
  onClick: g[1] || (g[1] = (v) => c(u)()),
@@ -335,33 +352,33 @@ const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" },
335
352
  "stroke-linejoin": "round",
336
353
  class: f(["lucide lucide-chevron-down-icon lucide-chevron-down stroke-brand-primary-800 transition-all duration-300", { "rotate-180": c(d) }])
337
354
  }, g[2] || (g[2] = [
338
- l("path", { d: "m6 9 6 6 6-6" }, null, -1)
355
+ i("path", { d: "m6 9 6 6 6-6" }, null, -1)
339
356
  ]), 2))
340
- ])) : V("", !0)
357
+ ])) : T("", !0)
341
358
  ]));
342
359
  }
343
- }, ze = { class: "hover:bg-background-main has-[&.router-link-active]:active has-[&.router-link-active]:bg-primary-700 peer flex h-10 items-center justify-between rounded-lg px-3 transition-all" }, je = {
360
+ }, Ne = { class: "hover:bg-background-main has-[&.router-link-active]:active has-[&.router-link-active]:bg-primary-700 peer flex h-10 items-center justify-between rounded-lg px-3 transition-all" }, Ge = {
344
361
  __name: "AppSidebarToggle",
345
362
  setup(e) {
346
363
  const r = y("SIDEBAR_TOGGLE");
347
- return (t, o) => {
348
- const n = J("RouterLink");
349
- return a(), s("div", ze, [
350
- j(n, {
364
+ return (t, n) => {
365
+ const o = J("RouterLink");
366
+ return a(), s("div", Ne, [
367
+ j(o, {
351
368
  class: "text-primary-950 peer flex h-full w-full items-center gap-3 text-xs [&.router-link-active]:font-medium [&.router-link-active]:text-white",
352
369
  to: "/"
353
370
  }, {
354
- default: R(() => [
355
- i(t.$slots, "default")
371
+ default: V(() => [
372
+ l(t.$slots, "default")
356
373
  ]),
357
374
  _: 3
358
375
  }),
359
- l("button", {
360
- onClick: o[0] || (o[0] = (d) => c(r).toggleSidebarItem()),
376
+ i("button", {
377
+ onClick: n[0] || (n[0] = (d) => c(r).toggleSidebarItem()),
361
378
  class: "cursor-pointer",
362
379
  type: "button"
363
- }, o[1] || (o[1] = [
364
- l("svg", {
380
+ }, n[1] || (n[1] = [
381
+ i("svg", {
365
382
  xmlns: "http://www.w3.org/2000/svg",
366
383
  width: "16",
367
384
  height: "16",
@@ -373,27 +390,27 @@ const Ce = /* @__PURE__ */ h(_e, [["render", ke]]), we = { class: "shrink-0" },
373
390
  "stroke-linejoin": "round",
374
391
  class: "lucide lucide-chevron-down-icon lucide-chevron-down stroke-white"
375
392
  }, [
376
- l("path", { d: "m6 9 6 6 6-6" })
393
+ i("path", { d: "m6 9 6 6 6-6" })
377
394
  ], -1)
378
395
  ]))
379
396
  ]);
380
397
  };
381
398
  }
382
- }, Le = {}, Ee = {
399
+ }, We = {}, Oe = { class: "px-4 pb-4 first-of-type:pt-4" }, qe = {
383
400
  key: 0,
384
401
  class: "text-primary-950 px-1 text-sm font-medium"
385
- }, Ne = { class: "mt-2" };
386
- function Ge(e, r) {
387
- return a(), s("nav", null, [
388
- e.$slots.title ? (a(), s("b", Ee, [
389
- i(e.$slots, "title")
390
- ])) : V("", !0),
391
- l("div", Ne, [
392
- i(e.$slots, "items")
402
+ }, He = { class: "mt-2" };
403
+ function Fe(e, r) {
404
+ return a(), s("nav", Oe, [
405
+ e.$slots.title ? (a(), s("b", qe, [
406
+ l(e.$slots, "title")
407
+ ])) : T("", !0),
408
+ i("div", He, [
409
+ l(e.$slots, "items")
393
410
  ])
394
411
  ]);
395
412
  }
396
- const We = /* @__PURE__ */ h(Le, [["render", Ge]]), G = {
413
+ const Ke = /* @__PURE__ */ h(We, [["render", Fe]]), G = {
397
414
  /* ---------------- Solid Buttons ---------------- */
398
415
  primary: {
399
416
  backgroundColor: "bg-brand-primary-700",
@@ -621,30 +638,30 @@ const We = /* @__PURE__ */ h(Le, [["render", Ge]]), G = {
621
638
  hoverTextColor: "hover:text-warning-700",
622
639
  focusRing: "focus:ring-warning-200"
623
640
  }
624
- }, Oe = {
641
+ }, Ue = {
625
642
  __name: "Badge",
626
643
  props: {
627
644
  variant: { type: String, default: "primary" }
628
645
  },
629
646
  setup(e) {
630
647
  const r = e;
631
- return (t, o) => (a(), s("div", {
648
+ return (t, n) => (a(), s("div", {
632
649
  class: f(["rounded-full px-3 py-1 text-xs font-medium", [
633
650
  c(G)[r.variant].backgroundColor,
634
651
  c(G)[r.variant].textColor
635
652
  ]])
636
653
  }, [
637
- i(t.$slots, "default")
654
+ l(t.$slots, "default")
638
655
  ], 2));
639
656
  }
640
- }, qe = {
657
+ }, Ze = {
641
658
  __name: "Button",
642
659
  props: {
643
660
  variant: { type: String, default: "primary" }
644
661
  },
645
662
  setup(e, { expose: r }) {
646
- const t = e, o = _(null);
647
- return r({ buttonRef: o }), (n, d) => (a(), s("button", k(n.$attrs, {
663
+ const t = e, n = _(null);
664
+ return r({ buttonRef: n }), (o, d) => (a(), s("button", k(o.$attrs, {
648
665
  class: ["cursor-pointer rounded-lg px-4 py-2 text-xs transition-all active:scale-[0.97] disabled:cursor-not-allowed disabled:opacity-50 disabled:active:scale-100", [
649
666
  c(w)[t.variant].backgroundColor,
650
667
  c(w)[t.variant].borderColor,
@@ -654,21 +671,21 @@ const We = /* @__PURE__ */ h(Le, [["render", Ge]]), G = {
654
671
  c(w)[t.variant].focusRing
655
672
  ]],
656
673
  ref_key: "buttonRef",
657
- ref: o
674
+ ref: n
658
675
  }), [
659
- i(n.$slots, "default")
676
+ l(o.$slots, "default")
660
677
  ], 16));
661
678
  }
662
- }, He = {}, Fe = { class: "rounded-2xl bg-white p-6" };
663
- function Ke(e, r) {
664
- return a(), s("div", Fe, [
665
- i(e.$slots, "default")
679
+ }, Je = {}, Ye = { class: "rounded-2xl bg-white p-6" };
680
+ function Xe(e, r) {
681
+ return a(), s("div", Ye, [
682
+ l(e.$slots, "default")
666
683
  ]);
667
684
  }
668
- const H = /* @__PURE__ */ h(He, [["render", Ke]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
685
+ const F = /* @__PURE__ */ h(Je, [["render", Xe]]), dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
669
686
  __proto__: null,
670
- default: H
671
- }, Symbol.toStringTag, { value: "Module" })), Ue = {
687
+ default: F
688
+ }, Symbol.toStringTag, { value: "Module" })), Qe = {
672
689
  __name: "Checkbox",
673
690
  props: {
674
691
  modelValue: {},
@@ -676,12 +693,12 @@ const H = /* @__PURE__ */ h(He, [["render", Ke]]), nt = /* @__PURE__ */ Object.f
676
693
  },
677
694
  emits: ["update:modelValue"],
678
695
  setup(e) {
679
- const r = T(e, "modelValue"), t = _(null);
680
- return (o, n) => (a(), s("button", {
681
- onClick: n[2] || (n[2] = (d) => t.value.click()),
696
+ const r = B(e, "modelValue"), t = _(null);
697
+ return (n, o) => (a(), s("button", {
698
+ onClick: o[2] || (o[2] = (d) => t.value.click()),
682
699
  class: "group/checkbox has-checked:bg-brand-primary-700 flex size-4 cursor-pointer items-center justify-center rounded-sm bg-neutral-200 transition-all duration-300 active:scale-[0.50] has-disabled:cursor-not-allowed has-disabled:opacity-50"
683
700
  }, [
684
- n[3] || (n[3] = l("svg", {
701
+ o[3] || (o[3] = i("svg", {
685
702
  xmlns: "http://www.w3.org/2000/svg",
686
703
  width: "14",
687
704
  height: "14",
@@ -693,11 +710,11 @@ const H = /* @__PURE__ */ h(He, [["render", Ke]]), nt = /* @__PURE__ */ Object.f
693
710
  "stroke-linejoin": "round",
694
711
  class: "lucide lucide-check-icon lucide-check scale-0 stroke-white opacity-0 group-has-[:checked]/checkbox:scale-100 group-has-[:checked]/checkbox:opacity-100"
695
712
  }, [
696
- l("path", { d: "M20 6 9 17l-5-5" })
713
+ i("path", { d: "M20 6 9 17l-5-5" })
697
714
  ], -1)),
698
- B(l("input", k(o.$attrs, {
699
- "onUpdate:modelValue": n[0] || (n[0] = (d) => r.value = d),
700
- onChange: n[1] || (n[1] = W(() => {
715
+ I(i("input", k(n.$attrs, {
716
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => r.value = d),
717
+ onChange: o[1] || (o[1] = O(() => {
701
718
  }, ["stop"])),
702
719
  type: "checkbox",
703
720
  ref_key: "checkboxRef",
@@ -708,30 +725,30 @@ const H = /* @__PURE__ */ h(He, [["render", Ke]]), nt = /* @__PURE__ */ Object.f
708
725
  ])
709
726
  ]));
710
727
  }
711
- }, Ze = {}, Je = { class: "flex flex-col items-center justify-center gap-8" }, Ye = { class: "flex max-w-xs flex-col items-center gap-2 text-center" }, Xe = { class: "bg-brand-primary-100 mb-2 grid size-12 place-items-center rounded-full" };
712
- function Qe(e, r) {
713
- return a(), s("div", Je, [
714
- l("div", Ye, [
715
- l("div", Xe, [
716
- i(e.$slots, "icon")
728
+ }, er = {}, rr = { class: "flex flex-col items-center justify-center gap-8" }, tr = { class: "flex max-w-xs flex-col items-center gap-2 text-center" }, or = { class: "bg-brand-primary-100 mb-2 grid size-12 place-items-center rounded-full" };
729
+ function nr(e, r) {
730
+ return a(), s("div", rr, [
731
+ i("div", tr, [
732
+ i("div", or, [
733
+ l(e.$slots, "icon")
717
734
  ]),
718
- i(e.$slots, "default")
735
+ l(e.$slots, "default")
719
736
  ])
720
737
  ]);
721
738
  }
722
- const er = /* @__PURE__ */ h(Ze, [["render", Qe]]), rr = {}, tr = { class: "text-sm text-neutral-600" };
723
- function or(e, r) {
724
- return a(), s("p", tr, [
725
- i(e.$slots, "default")
739
+ const ar = /* @__PURE__ */ h(er, [["render", nr]]), sr = {}, lr = { class: "text-sm text-neutral-600" };
740
+ function ir(e, r) {
741
+ return a(), s("p", lr, [
742
+ l(e.$slots, "default")
726
743
  ]);
727
744
  }
728
- const at = /* @__PURE__ */ h(rr, [["render", or]]), nr = {}, ar = { class: "text-lg font-medium" };
729
- function sr(e, r) {
730
- return a(), s("b", ar, [
731
- i(e.$slots, "default")
745
+ const ct = /* @__PURE__ */ h(sr, [["render", ir]]), dr = {}, cr = { class: "text-lg font-medium" };
746
+ function ur(e, r) {
747
+ return a(), s("b", cr, [
748
+ l(e.$slots, "default")
732
749
  ]);
733
750
  }
734
- const st = /* @__PURE__ */ h(nr, [["render", sr]]), lr = {
751
+ const ut = /* @__PURE__ */ h(dr, [["render", ur]]), gr = {
735
752
  __name: "FormField",
736
753
  props: {
737
754
  invalid: { type: [Boolean, String] },
@@ -739,19 +756,19 @@ const st = /* @__PURE__ */ h(nr, [["render", sr]]), lr = {
739
756
  },
740
757
  setup(e) {
741
758
  const r = e, t = L(() => r.invalid === !0 || typeof r.invalid == "string" && r.invalid.trim() !== "");
742
- return (o, n) => (a(), s("div", {
759
+ return (n, o) => (a(), s("div", {
743
760
  class: f(["group flex flex-col gap-2", { "invalid-form": t.value }])
744
761
  }, [
745
- i(o.$slots, "default")
762
+ l(n.$slots, "default")
746
763
  ], 2));
747
764
  }
748
- }, ir = {}, dr = { class: "text-danger-700 hidden h-0 text-xs opacity-0 transition-all group-has-user-invalid:mt-1 group-has-user-invalid:block group-has-user-invalid:h-4 group-has-user-invalid:opacity-100 group-[&.invalid-form]:mt-1 group-[&.invalid-form]:block group-[&.invalid-form]:h-4 group-[&.invalid-form]:opacity-100" };
749
- function cr(e, r) {
750
- return a(), s("p", dr, [
751
- i(e.$slots, "default", {}, void 0, !0)
765
+ }, pr = {}, mr = { class: "text-danger-700 hidden h-0 text-xs opacity-0 transition-all group-has-user-invalid:mt-1 group-has-user-invalid:block group-has-user-invalid:h-4 group-has-user-invalid:opacity-100 group-[&.invalid-form]:mt-1 group-[&.invalid-form]:block group-[&.invalid-form]:h-4 group-[&.invalid-form]:opacity-100" };
766
+ function br(e, r) {
767
+ return a(), s("p", mr, [
768
+ l(e.$slots, "default", {}, void 0, !0)
752
769
  ]);
753
770
  }
754
- const ur = /* @__PURE__ */ h(ir, [["render", cr], ["__scopeId", "data-v-a299dc33"]]), gr = {
771
+ const fr = /* @__PURE__ */ h(pr, [["render", br], ["__scopeId", "data-v-a299dc33"]]), hr = {
755
772
  __name: "Input",
756
773
  props: {
757
774
  modelValue: {},
@@ -759,21 +776,21 @@ const ur = /* @__PURE__ */ h(ir, [["render", cr], ["__scopeId", "data-v-a299dc33
759
776
  },
760
777
  emits: ["update:modelValue"],
761
778
  setup(e) {
762
- const r = T(e, "modelValue");
763
- return (t, o) => B((a(), s("input", {
764
- "onUpdate:modelValue": o[0] || (o[0] = (n) => r.value = n),
779
+ const r = B(e, "modelValue");
780
+ return (t, n) => I((a(), s("input", {
781
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => r.value = o),
765
782
  class: "group-[&.invalid-form]:focus:ring-danger-700 group-[&.invalid-form]:ring-danger-700 text-primary-950 focus:ring-brand-primary-700 focus:user-invalid:ring-danger-700 user-invalid:ring-danger-700 rounded-lg border-[1px] border-neutral-200 bg-white px-3 py-2 text-xs ring-offset-2 transition-all duration-300 outline-none group-[&.invalid-form]:ring-2 placeholder:text-neutral-400 user-invalid:ring-2 focus:ring-2 group-[&.invalid-form]:focus:ring-2 disabled:cursor-not-allowed disabled:opacity-50"
766
783
  }, null, 512)), [
767
784
  [E, r.value]
768
785
  ]);
769
786
  }
770
- }, pr = {};
771
- function mr(e, r) {
787
+ }, vr = {};
788
+ function xr(e, r) {
772
789
  return a(), s("label", k(e.$attrs, { class: "text-primary-950 text-xs font-medium transition-all" }), [
773
- i(e.$slots, "default")
790
+ l(e.$slots, "default")
774
791
  ], 16);
775
792
  }
776
- const br = /* @__PURE__ */ h(pr, [["render", mr]]), fr = {}, hr = {
793
+ const _r = /* @__PURE__ */ h(vr, [["render", xr]]), yr = {}, kr = {
777
794
  xmlns: "http://www.w3.org/2000/svg",
778
795
  width: "24",
779
796
  height: "24",
@@ -785,13 +802,13 @@ const br = /* @__PURE__ */ h(pr, [["render", mr]]), fr = {}, hr = {
785
802
  "stroke-linejoin": "round",
786
803
  class: "lucide lucide-x-icon lucide-x"
787
804
  };
788
- function vr(e, r) {
789
- return a(), s("svg", hr, r[0] || (r[0] = [
790
- l("path", { d: "M18 6 6 18" }, null, -1),
791
- l("path", { d: "m6 6 12 12" }, null, -1)
805
+ function Cr(e, r) {
806
+ return a(), s("svg", kr, r[0] || (r[0] = [
807
+ i("path", { d: "M18 6 6 18" }, null, -1),
808
+ i("path", { d: "m6 6 12 12" }, null, -1)
792
809
  ]));
793
810
  }
794
- const xr = /* @__PURE__ */ h(fr, [["render", vr]]), _r = { class: "max-w-72 space-y-2 rounded-xl border border-neutral-200 bg-white p-2" }, yr = { class: "flex flex-wrap gap-2" }, kr = { class: "group/item hover:border-brand-primary-500 inline-flex cursor-pointer items-center justify-center gap-2 rounded-full border border-neutral-200 bg-white px-3 py-2 text-xs transition-all" }, Cr = ["onClick"], wr = { class: "max-h-72 overflow-y-auto" }, $r = ["onClick"], Ar = {
811
+ const wr = /* @__PURE__ */ h(yr, [["render", Cr]]), $r = { class: "max-w-72 space-y-2 rounded-xl border border-neutral-200 bg-white p-2" }, Ar = { class: "flex flex-wrap gap-2" }, Sr = { class: "group/item hover:border-brand-primary-500 inline-flex cursor-pointer items-center justify-center gap-2 rounded-full border border-neutral-200 bg-white px-3 py-2 text-xs transition-all" }, Tr = ["onClick"], Br = { class: "max-h-72 overflow-y-auto" }, Ir = ["onClick"], Rr = {
795
812
  __name: "MultiSelect",
796
813
  props: /* @__PURE__ */ N({
797
814
  data: { type: Array, required: !0 },
@@ -803,52 +820,52 @@ const xr = /* @__PURE__ */ h(fr, [["render", vr]]), _r = { class: "max-w-72 spac
803
820
  }),
804
821
  emits: ["update:modelValue"],
805
822
  setup(e) {
806
- const r = T(e, "modelValue"), t = e, o = _([]), n = _(null), d = L(() => {
823
+ const r = B(e, "modelValue"), t = e, n = _([]), o = _(null), d = L(() => {
807
824
  let p = t.data;
808
- return o.value.length && (p = p.filter(
809
- (b) => !o.value.some(
825
+ return n.value.length && (p = p.filter(
826
+ (b) => !n.value.some(
810
827
  (g) => g[t.valueKey] === b[t.valueKey]
811
828
  )
812
- )), n.value ? p.filter((b) => b[t.labelKey].toLowerCase().includes(n.value.toLowerCase())) : p;
829
+ )), o.value ? p.filter((b) => b[t.labelKey].toLowerCase().includes(o.value.toLowerCase())) : p;
813
830
  });
814
831
  function u(p) {
815
- o.value.push(p), r.value = o.value;
832
+ n.value.push(p), r.value = n.value;
816
833
  }
817
834
  function m(p) {
818
- o.value.splice(p, 1), r.value = o.value;
835
+ n.value.splice(p, 1), r.value = n.value;
819
836
  }
820
837
  return X(() => {
821
- o.value = r.value;
822
- }), (p, b) => (a(), s("div", _r, [
823
- l("ul", yr, [
824
- (a(!0), s(S, null, I(o.value, (g, v) => (a(), s("li", kr, [
825
- O(D(g[t.labelKey]) + " ", 1),
826
- l("button", {
827
- onClick: (z) => m(v),
838
+ n.value = r.value;
839
+ }), (p, b) => (a(), s("div", $r, [
840
+ i("ul", Ar, [
841
+ (a(!0), s(S, null, R(n.value, (g, v) => (a(), s("li", Sr, [
842
+ q(D(g[t.labelKey]) + " ", 1),
843
+ i("button", {
844
+ onClick: (M) => m(v),
828
845
  class: "hidden shrink-0 cursor-pointer rounded-full group-hover/item:block"
829
846
  }, [
830
- j(xr, { class: "size-3.5 stroke-neutral-600" })
831
- ], 8, Cr)
847
+ j(wr, { class: "size-3.5 stroke-neutral-600" })
848
+ ], 8, Tr)
832
849
  ]))), 256))
833
850
  ]),
834
- B(l("input", {
835
- "onUpdate:modelValue": b[0] || (b[0] = (g) => n.value = g),
851
+ I(i("input", {
852
+ "onUpdate:modelValue": b[0] || (b[0] = (g) => o.value = g),
836
853
  class: "w-full px-2 py-3 text-xs outline-none",
837
854
  placeholder: "Search",
838
855
  type: "text"
839
856
  }, null, 512), [
840
- [E, n.value]
857
+ [E, o.value]
841
858
  ]),
842
- l("ul", wr, [
843
- (a(!0), s(S, null, I(d.value, (g) => (a(), s("li", {
859
+ i("ul", Br, [
860
+ (a(!0), s(S, null, R(d.value, (g) => (a(), s("li", {
844
861
  onClick: (v) => u(g),
845
862
  class: "hover:bg-background-main cursor-pointer rounded-lg px-2 py-3 text-xs transition-colors",
846
863
  key: g[t.valueKey]
847
- }, D(g[t.labelKey]), 9, $r))), 128))
864
+ }, D(g[t.labelKey]), 9, Ir))), 128))
848
865
  ])
849
866
  ]));
850
867
  }
851
- }, Sr = {
868
+ }, Vr = {
852
869
  __name: "Radio",
853
870
  props: /* @__PURE__ */ N({
854
871
  variant: { type: String, default: "small" }
@@ -858,36 +875,36 @@ const xr = /* @__PURE__ */ h(fr, [["render", vr]]), _r = { class: "max-w-72 spac
858
875
  }),
859
876
  emits: ["update:modelValue"],
860
877
  setup(e) {
861
- const r = T(e, "modelValue"), t = e, o = _(null), n = {
878
+ const r = B(e, "modelValue"), t = e, n = _(null), o = {
862
879
  small: { outerCircleSize: "size-4", innerCircleSize: "size-2.5" },
863
880
  large: { outerCircleSize: "size-5", innerCircleSize: "size-3" }
864
881
  };
865
882
  return (d, u) => (a(), s("button", {
866
- onClick: u[2] || (u[2] = (m) => o.value.click()),
867
- class: f(["group/radio has-checked:border-brand-primary-700 flex cursor-pointer items-center justify-center rounded-full border-[1px] border-transparent bg-neutral-100 duration-300 active:scale-[0.80] has-checked:bg-white", n[t.variant].outerCircleSize]),
883
+ onClick: u[2] || (u[2] = (m) => n.value.click()),
884
+ class: f(["group/radio has-checked:border-brand-primary-700 flex cursor-pointer items-center justify-center rounded-full border-[1px] border-transparent bg-neutral-100 duration-300 active:scale-[0.80] has-checked:bg-white", o[t.variant].outerCircleSize]),
868
885
  role: "radio",
869
886
  type: "button"
870
887
  }, [
871
- l("div", {
872
- class: f(["group-has-checked/radio:bg-brand-primary-700 grid place-items-center rounded-full opacity-0 transition-all group-has-checked/radio:opacity-100", n[t.variant].innerCircleSize])
888
+ i("div", {
889
+ class: f(["group-has-checked/radio:bg-brand-primary-700 grid place-items-center rounded-full opacity-0 transition-all group-has-checked/radio:opacity-100", o[t.variant].innerCircleSize])
873
890
  }, [
874
- i(d.$slots, "default")
891
+ l(d.$slots, "default")
875
892
  ], 2),
876
- B(l("input", k({
877
- onChange: u[0] || (u[0] = W(() => {
893
+ I(i("input", k({
894
+ onChange: u[0] || (u[0] = O(() => {
878
895
  }, ["stop"]))
879
896
  }, d.$attrs, {
880
897
  "onUpdate:modelValue": u[1] || (u[1] = (m) => r.value = m),
881
898
  type: "radio",
882
899
  ref_key: "radioRef",
883
- ref: o,
900
+ ref: n,
884
901
  hidden: ""
885
902
  }), null, 16), [
886
903
  [Q, r.value]
887
904
  ])
888
905
  ], 2));
889
906
  }
890
- }, Tr = "bg-[url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM1YjYxNmUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGV2cm9uLWRvd24iPjxwYXRoIGQ9Im02IDkgNiA2IDYtNiIvPjwvc3ZnPg==')]", Br = {
907
+ }, Dr = "bg-[url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM1YjYxNmUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGV2cm9uLWRvd24iPjxwYXRoIGQ9Im02IDkgNiA2IDYtNiIvPjwvc3ZnPg==')]", Pr = {
891
908
  __name: "Select",
892
909
  props: {
893
910
  modelValue: {},
@@ -895,55 +912,55 @@ const xr = /* @__PURE__ */ h(fr, [["render", vr]]), _r = { class: "max-w-72 spac
895
912
  },
896
913
  emits: ["update:modelValue"],
897
914
  setup(e) {
898
- const r = T(e, "modelValue");
899
- return (t, o) => B((a(), s("select", k(t.$attrs, {
900
- "onUpdate:modelValue": o[0] || (o[0] = (n) => r.value = n),
901
- class: ["group-[&.invalid-form]:ring-danger-700 group-[&.invalid-form]:focus:ring-danger-700 text-primary-950 user-invalid:ring-danger-700 focus:user-invalid:ring-danger-700 focus:ring-brand-primary-700 appearance-none rounded-lg border-[1px] border-neutral-200 bg-white bg-[length:16px] bg-[right_12px_center] bg-no-repeat px-3 py-2 text-xs ring-offset-2 transition-all outline-none group-[&.invalid-form]:ring-2 user-invalid:ring-2 focus:ring-2 group-[&.invalid-form]:focus:ring-2 disabled:cursor-not-allowed disabled:opacity-50", Tr]
915
+ const r = B(e, "modelValue");
916
+ return (t, n) => I((a(), s("select", k(t.$attrs, {
917
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => r.value = o),
918
+ class: ["group-[&.invalid-form]:ring-danger-700 group-[&.invalid-form]:focus:ring-danger-700 text-primary-950 user-invalid:ring-danger-700 focus:user-invalid:ring-danger-700 focus:ring-brand-primary-700 appearance-none rounded-lg border-[1px] border-neutral-200 bg-white bg-[length:16px] bg-[right_12px_center] bg-no-repeat px-3 py-2 text-xs ring-offset-2 transition-all outline-none group-[&.invalid-form]:ring-2 user-invalid:ring-2 focus:ring-2 group-[&.invalid-form]:focus:ring-2 disabled:cursor-not-allowed disabled:opacity-50", Dr]
902
919
  }), [
903
- i(t.$slots, "default")
920
+ l(t.$slots, "default")
904
921
  ], 16)), [
905
922
  [ee, r.value]
906
923
  ]);
907
924
  }
908
- }, Ir = {}, Rr = { class: "bg-primary-100 animate-pulse rounded-lg" };
909
- function Vr(e, r) {
910
- return a(), s("div", Rr);
925
+ }, zr = {}, Mr = { class: "bg-primary-100 animate-pulse rounded-lg" };
926
+ function jr(e, r) {
927
+ return a(), s("div", Mr);
911
928
  }
912
- const Dr = /* @__PURE__ */ h(Ir, [["render", Vr]]), Pr = {}, Mr = { class: "mt-4 flex items-center gap-2" };
913
- function zr(e, r) {
914
- return a(), s("div", Mr, [
915
- i(e.$slots, "default")
929
+ const Lr = /* @__PURE__ */ h(zr, [["render", jr]]), Er = {}, Nr = { class: "mt-4 flex items-center gap-2" };
930
+ function Gr(e, r) {
931
+ return a(), s("div", Nr, [
932
+ l(e.$slots, "default")
916
933
  ]);
917
934
  }
918
- const lt = /* @__PURE__ */ h(Pr, [["render", zr]]), jr = {
935
+ const gt = /* @__PURE__ */ h(Er, [["render", Gr]]), Wr = {
919
936
  __name: "Switch",
920
937
  props: ["modelValue"],
921
938
  emits: ["update:modelValue"],
922
939
  setup(e, { emit: r }) {
923
- const t = r, o = e;
924
- function n() {
925
- t("update:modelValue", !o.modelValue);
940
+ const t = r, n = e;
941
+ function o() {
942
+ t("update:modelValue", !n.modelValue);
926
943
  }
927
944
  return (d, u) => (a(), s("button", k(d.$attrs, {
928
- onClick: u[0] || (u[0] = (m) => n()),
945
+ onClick: u[0] || (u[0] = (m) => o()),
929
946
  class: [
930
947
  "group/switch h-5 w-9 cursor-pointer rounded-full p-0.5 transition-all duration-300 disabled:cursor-not-allowed disabled:opacity-50",
931
- o.modelValue ? "from-brand-primary-600 to-brand-primary-700 bg-gradient-to-br" : "bg-neutral-200"
948
+ n.modelValue ? "from-brand-primary-600 to-brand-primary-700 bg-gradient-to-br" : "bg-neutral-200"
932
949
  ],
933
950
  role: "switch",
934
951
  type: "button"
935
952
  }), [
936
- l("span", {
937
- class: f(["pointer-events-none flex size-4 items-center justify-center rounded-full bg-white shadow-md transition-all duration-300", { "translate-x-full": o.modelValue }])
953
+ i("span", {
954
+ class: f(["pointer-events-none flex size-4 items-center justify-center rounded-full bg-white shadow-md transition-all duration-300", { "translate-x-full": n.modelValue }])
938
955
  }, [
939
- i(d.$slots, "icon")
956
+ l(d.$slots, "icon")
940
957
  ], 2)
941
958
  ], 16));
942
959
  }
943
- }, Lr = { class: "w-full" }, Er = { class: "h-16" }, Nr = { key: 0 }, Gr = {
960
+ }, Or = { class: "w-full" }, qr = { class: "h-16" }, Hr = { key: 0 }, Fr = {
944
961
  key: 0,
945
962
  class: "pe-4"
946
- }, Wr = {
963
+ }, Kr = {
947
964
  __name: "Table",
948
965
  props: {
949
966
  columns: { type: Array, required: !0 },
@@ -951,57 +968,57 @@ const lt = /* @__PURE__ */ h(Pr, [["render", zr]]), jr = {
951
968
  },
952
969
  setup(e) {
953
970
  const r = e;
954
- return (t, o) => (a(), s("table", Lr, [
955
- l("thead", null, [
956
- l("tr", Er, [
957
- (a(!0), s(S, null, I(r.columns, (n) => (a(), s("th", {
958
- key: n.key,
971
+ return (t, n) => (a(), s("table", Or, [
972
+ i("thead", null, [
973
+ i("tr", qr, [
974
+ (a(!0), s(S, null, R(r.columns, (o) => (a(), s("th", {
975
+ key: o.key,
959
976
  class: "text-xs font-medium text-neutral-600 first-of-type:ps-4"
960
- }, D(n.label), 1))), 128)),
961
- t.$slots.actions ? (a(), s("th", Nr)) : V("", !0)
977
+ }, D(o.label), 1))), 128)),
978
+ t.$slots.actions ? (a(), s("th", Hr)) : T("", !0)
962
979
  ])
963
980
  ]),
964
- l("tbody", null, [
965
- (a(!0), s(S, null, I(r.data, (n, d) => (a(), s("tr", {
981
+ i("tbody", null, [
982
+ (a(!0), s(S, null, R(r.data, (o, d) => (a(), s("tr", {
966
983
  key: d,
967
984
  class: "odd:bg-background-main/50 hover:bg-background-main min-h-16 rounded-md transition-all"
968
985
  }, [
969
- (a(!0), s(S, null, I(r.columns, (u) => (a(), s("td", {
986
+ (a(!0), s(S, null, R(r.columns, (u) => (a(), s("td", {
970
987
  key: u.key,
971
988
  class: "text-primary-950 py-4 text-xs first-of-type:rounded-s-md first-of-type:ps-4 last-of-type:rounded-e-md last-of-type:pe-4"
972
989
  }, [
973
- i(t.$slots, u.key, { row: n }, () => [
974
- O(D(n[u.key]), 1)
990
+ l(t.$slots, u.key, { row: o }, () => [
991
+ q(D(o[u.key]), 1)
975
992
  ])
976
993
  ]))), 128)),
977
- t.$slots.actions ? (a(), s("td", Gr, [
978
- i(t.$slots, "actions", { row: n })
979
- ])) : V("", !0)
994
+ t.$slots.actions ? (a(), s("td", Fr, [
995
+ l(t.$slots, "actions", { row: o })
996
+ ])) : T("", !0)
980
997
  ]))), 128))
981
998
  ])
982
999
  ]));
983
1000
  }
984
- }, Or = { class: "overflow-x-scroll rounded-xl bg-neutral-100/50 p-1 [&::-webkit-scrollbar]:hidden" }, qr = {
1001
+ }, Ur = { class: "overflow-x-scroll rounded-xl bg-neutral-100/50 p-1 [&::-webkit-scrollbar]:hidden" }, Zr = {
985
1002
  __name: "Tabs",
986
1003
  props: {
987
1004
  default: { default: null }
988
1005
  },
989
1006
  setup(e) {
990
1007
  const t = _(e.default);
991
- function o(n) {
992
- t.value = n;
1008
+ function n(o) {
1009
+ t.value = o;
993
1010
  }
994
- return P("TAB_DATA", { currentValue: t, setCurrentValue: o }), (n, d) => (a(), s("div", Or, [
995
- i(n.$slots, "default")
1011
+ return P("TAB_DATA", { currentValue: t, setCurrentValue: n }), (o, d) => (a(), s("div", Ur, [
1012
+ l(o.$slots, "default")
996
1013
  ]));
997
1014
  }
998
- }, Hr = {
1015
+ }, Jr = {
999
1016
  __name: "TabItem",
1000
1017
  props: {
1001
1018
  value: { required: !0 }
1002
1019
  },
1003
1020
  setup(e) {
1004
- const r = e, t = y("TAB_DATA"), { currentValue: o, setCurrentValue: n } = t, d = L(() => o.value === r.value ? [
1021
+ const r = e, t = y("TAB_DATA"), { currentValue: n, setCurrentValue: o } = t, d = L(() => n.value === r.value ? [
1005
1022
  "bg-white",
1006
1023
  "font-medium",
1007
1024
  "text-primary-700",
@@ -1009,13 +1026,13 @@ const lt = /* @__PURE__ */ h(Pr, [["render", zr]]), jr = {
1009
1026
  "tab-active"
1010
1027
  ] : "text-neutral-600");
1011
1028
  return (u, m) => (a(), s("button", {
1012
- onClick: m[0] || (m[0] = (p) => c(n)(r.value)),
1029
+ onClick: m[0] || (m[0] = (p) => c(o)(r.value)),
1013
1030
  class: f(["tab h-8 cursor-pointer rounded-lg px-3 text-xs transition-all disabled:cursor-not-allowed disabled:opacity-50", d.value])
1014
1031
  }, [
1015
- i(u.$slots, "default", {}, void 0, !0)
1032
+ l(u.$slots, "default", {}, void 0, !0)
1016
1033
  ], 2));
1017
1034
  }
1018
- }, Fr = /* @__PURE__ */ h(Hr, [["__scopeId", "data-v-9e06f71f"]]), Kr = {
1035
+ }, Yr = /* @__PURE__ */ h(Jr, [["__scopeId", "data-v-9e06f71f"]]), Xr = {
1019
1036
  __name: "TextArea",
1020
1037
  props: /* @__PURE__ */ N(["modelValue"], {
1021
1038
  modelValue: {},
@@ -1023,68 +1040,68 @@ const lt = /* @__PURE__ */ h(Pr, [["render", zr]]), jr = {
1023
1040
  }),
1024
1041
  emits: ["update:modelValue"],
1025
1042
  setup(e) {
1026
- const r = T(e, "modelValue");
1027
- return (t, o) => B((a(), s("textarea", k({
1028
- onInput: o[0] || (o[0] = (n) => t.$emit("update:modelValue", n.target.value))
1043
+ const r = B(e, "modelValue");
1044
+ return (t, n) => I((a(), s("textarea", k({
1045
+ onInput: n[0] || (n[0] = (o) => t.$emit("update:modelValue", o.target.value))
1029
1046
  }, t.$attrs, {
1030
- "onUpdate:modelValue": o[1] || (o[1] = (n) => r.value = n),
1047
+ "onUpdate:modelValue": n[1] || (n[1] = (o) => r.value = o),
1031
1048
  class: "text-primary-950 neutral-400:text-neutral-400 focus:ring-brand-primary-700 group-[&.invalid-form]:focus:ring-danger-700 group-[&.invalid-form]:ring-danger-700 focus:user-invalid:ring-danger-700 user-invalid:ring-danger-700 rounded-lg border-[1px] border-neutral-200 px-3 py-2 text-xs ring-offset-2 transition-all outline-none group-[&.invalid-form]:ring-2 user-invalid:ring-2 focus:ring-2 focus:ring-offset-2 group-[&.invalid-form]:focus:ring-2 disabled:cursor-not-allowed disabled:opacity-50"
1032
1049
  }), null, 16)), [
1033
1050
  [E, r.value]
1034
1051
  ]);
1035
1052
  }
1036
- }, Ur = C(() => import("./Dialog-BHLcOviq.js")), Zr = C(() => import("./DialogContent-BfrkVmQ4.js")), Jr = C(() => import("./DialogToggle-BBhhbRSr.js")), Yr = C(
1053
+ }, Qr = C(() => import("./Dialog-BHLcOviq.js")), et = C(() => import("./DialogContent-BrXhtNDl.js")), rt = C(() => import("./DialogToggle-BBhhbRSr.js")), tt = C(
1037
1054
  () => import("./DialogBackground-WvtbjhWD.js")
1038
- ), Xr = C(() => import("./Sheet-BSbgTrds.js")), Qr = C(() => import("./SheetContent-CcUAnFV8.js")), et = C(() => import("./SheetToggle-CE4cgr3o.js")), it = {
1055
+ ), ot = C(() => import("./Sheet-BSbgTrds.js")), nt = C(() => import("./SheetContent-CwM7Ef5X.js")), at = C(() => import("./SheetToggle-CE4cgr3o.js")), pt = {
1039
1056
  install(e) {
1040
- e.component("Alert", re), e.component("AlertContent", ae), e.component("AlertTitle", de), e.component("AppHeaderLink", be), e.component("AppLayout", ve), e.component("AppMain", xe), e.component("AppNavTabs", Ce), e.component("AppNavTab", $e), e.component("AppSidebar", Se), e.component("AppSidebarItem", Be), e.component("AppSidebarItemChild", Re), e.component("AppSidebarItemChildren", Ve), e.component("AppSidebarItemParent", Me), e.component("AppSidebarToggle", je), e.component("AppSidebarNavSection", We), e.component("Badge", Oe), e.component("Button", qe), e.component("Checkbox", Ue), e.component("Card", H), e.component("Dialog", Ur), e.component("DialogContent", Zr), e.component("DialogToggle", Jr), e.component("DialogBackground", Yr), e.component("Empty", er), e.component("FormField", lr), e.component("FormFieldError", ur), e.component("Input", gr), e.component("Label", br), e.component("MultiSelect", Ar), e.component("Radio", Sr), e.component("Select", Br), e.component("Sheet", Xr), e.component("SheetContent", Qr), e.component("SheetToggle", et), e.component("SkeletonLoader", Dr), e.component("Switch", jr), e.component("Table", Wr), e.component("Tabs", qr), e.component("TabItem", Fr), e.component("TextArea", Kr);
1057
+ e.component("Alert", re), e.component("AlertContent", ae), e.component("AlertTitle", de), e.component("AppHeaderLink", he), e.component("AppLayout", _e), e.component("AppMain", ye), e.component("AppNavTabs", $e), e.component("AppNavTab", Se), e.component("AppSidebar", Re), e.component("AppSidebarItem", De), e.component("AppSidebarItemChild", ze), e.component("AppSidebarItemChildren", Me), e.component("AppSidebarItemParent", Ee), e.component("AppSidebarToggle", Ge), e.component("AppSidebarNavSection", Ke), e.component("Badge", Ue), e.component("Button", Ze), e.component("Checkbox", Qe), e.component("Card", F), e.component("Dialog", Qr), e.component("DialogContent", et), e.component("DialogToggle", rt), e.component("DialogBackground", tt), e.component("Empty", ar), e.component("FormField", gr), e.component("FormFieldError", fr), e.component("Input", hr), e.component("Label", _r), e.component("MultiSelect", Rr), e.component("Radio", Vr), e.component("Select", Pr), e.component("Sheet", ot), e.component("SheetContent", nt), e.component("SheetToggle", at), e.component("SkeletonLoader", Lr), e.component("Switch", Wr), e.component("Table", Kr), e.component("Tabs", Zr), e.component("TabItem", Yr), e.component("TextArea", Xr);
1041
1058
  }
1042
1059
  };
1043
1060
  export {
1044
1061
  ae as A,
1045
- Br as B,
1046
- H as C,
1047
- Ur as D,
1048
- er as E,
1049
- ur as F,
1050
- Qr as G,
1051
- et as H,
1052
- Dr as I,
1053
- lt as J,
1054
- jr as K,
1055
- br as L,
1056
- Wr as M,
1057
- qr as N,
1058
- Kr as O,
1059
- it as P,
1060
- nt as Q,
1061
- Xr as S,
1062
- Fr as T,
1062
+ Pr as B,
1063
+ F as C,
1064
+ Qr as D,
1065
+ ar as E,
1066
+ fr as F,
1067
+ nt as G,
1068
+ at as H,
1069
+ Lr as I,
1070
+ gt as J,
1071
+ Wr as K,
1072
+ _r as L,
1073
+ Kr as M,
1074
+ Zr as N,
1075
+ Xr as O,
1076
+ pt as P,
1077
+ dt as Q,
1078
+ ot as S,
1079
+ Yr as T,
1063
1080
  re as _,
1064
1081
  de as a,
1065
- ot as b,
1066
- be as c,
1067
- ve as d,
1068
- xe as e,
1069
- Ce as f,
1070
- $e as g,
1071
- Se as h,
1072
- Be as i,
1073
- Re as j,
1074
- Ve as k,
1075
- Me as l,
1076
- je as m,
1077
- We as n,
1078
- Oe as o,
1079
- qe as p,
1080
- Ue as q,
1081
- Zr as r,
1082
- Jr as s,
1083
- Yr as t,
1084
- at as u,
1085
- st as v,
1086
- lr as w,
1087
- gr as x,
1088
- Ar as y,
1089
- Sr as z
1082
+ it as b,
1083
+ he as c,
1084
+ _e as d,
1085
+ ye as e,
1086
+ $e as f,
1087
+ Se as g,
1088
+ Re as h,
1089
+ De as i,
1090
+ ze as j,
1091
+ Me as k,
1092
+ Ee as l,
1093
+ Ge as m,
1094
+ Ke as n,
1095
+ Ue as o,
1096
+ Ze as p,
1097
+ Qe as q,
1098
+ et as r,
1099
+ rt as s,
1100
+ tt as t,
1101
+ ct as u,
1102
+ ut as v,
1103
+ gr as w,
1104
+ hr as x,
1105
+ Rr as y,
1106
+ Vr as z
1090
1107
  };