@turystack/ui 0.0.24 → 0.0.25

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/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as st from "react";
2
- import ct, { createContext as St, useContext as bt, useState as O, forwardRef as J, useId as Lt, useLayoutEffect as Ne, useRef as wt, useEffect as xt, useCallback as Ot, createElement as ye, useMemo as ht } from "react";
2
+ import Ct, { createContext as St, useContext as ht, useState as O, forwardRef as J, useId as $t, useLayoutEffect as Ne, useRef as wt, useEffect as pt, useCallback as Et, createElement as ye, useMemo as xt } from "react";
3
3
  import * as kt from "@radix-ui/react-accordion";
4
- import { ChevronDown as ot, X as ut, Loader2 as Rt, ChevronRight as $t, MoreHorizontal as os, Check as Zt, ChevronLeftIcon as as, ChevronRightIcon as ns, ChevronDownIcon as rs, CalendarIcon as Ce, Circle as Kt, Info as Xt, PanelLeftOpen as ls, PanelLeftClose as is, Minus as we, Plus as ke, MinusIcon as cs, ChevronLeft as ce, Search as Se, TriangleAlert as ds, CircleCheck as us, LoaderCircle as ms, OctagonX as fs, ArrowUpDown as gs, ArrowUp as ps, ArrowDown as xs, Upload as hs } from "lucide-react";
4
+ import { ChevronDown as ot, X as dt, Loader2 as Rt, ChevronRight as Ot, MoreHorizontal as os, Check as Zt, ChevronLeftIcon as as, ChevronRightIcon as ns, ChevronDownIcon as rs, CalendarIcon as Ce, Circle as Kt, Info as Xt, PanelLeftOpen as ls, PanelLeftClose as is, Minus as we, Plus as ke, MinusIcon as cs, ChevronLeft as ce, Search as Se, TriangleAlert as ds, CircleCheck as us, LoaderCircle as ms, OctagonX as fs, ArrowUpDown as gs, ArrowUp as ps, ArrowDown as xs, Upload as hs } from "lucide-react";
5
5
  import { createTV as bs, tv as k } from "tailwind-variants";
6
6
  import { clsx as vs } from "clsx";
7
7
  import { extendTailwindMerge as js } from "tailwind-merge";
@@ -11,7 +11,7 @@ import * as de from "@radix-ui/react-checkbox";
11
11
  import * as lt from "@radix-ui/react-alert-dialog";
12
12
  import * as V from "@radix-ui/react-dropdown-menu";
13
13
  import * as G from "@radix-ui/react-popover";
14
- import { format as Et } from "date-fns";
14
+ import { format as _t } from "date-fns";
15
15
  import { getDefaultClassNames as Ns, DayPicker as ys } from "react-day-picker";
16
16
  import { IMaskInput as Cs } from "react-imask";
17
17
  import * as ws from "@radix-ui/react-label";
@@ -21,16 +21,16 @@ import { OTPInput as ks, OTPInputContext as Ss } from "input-otp";
21
21
  import * as ue from "@radix-ui/react-progress";
22
22
  import { Toaster as Rs } from "sonner";
23
23
  import { toast as Wr } from "sonner";
24
- import * as gt from "@radix-ui/react-radio-group";
24
+ import * as ft from "@radix-ui/react-radio-group";
25
25
  import { Command as q } from "cmdk";
26
- import * as Ts from "@radix-ui/react-separator";
26
+ import * as zs from "@radix-ui/react-separator";
27
27
  import * as at from "@radix-ui/react-slider";
28
28
  import * as me from "@radix-ui/react-switch";
29
- import * as At from "@radix-ui/react-tabs";
30
- var Pt = { exports: {} }, Nt = {};
29
+ import * as Lt from "@radix-ui/react-tabs";
30
+ var Tt = { exports: {} }, jt = {};
31
31
  var fe;
32
- function zs() {
33
- if (fe) return Nt;
32
+ function Ts() {
33
+ if (fe) return jt;
34
34
  fe = 1;
35
35
  var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), s = /* @__PURE__ */ Symbol.for("react.fragment");
36
36
  function o(a, n, r) {
@@ -48,9 +48,9 @@ function zs() {
48
48
  props: r
49
49
  };
50
50
  }
51
- return Nt.Fragment = s, Nt.jsx = o, Nt.jsxs = o, Nt;
51
+ return jt.Fragment = s, jt.jsx = o, jt.jsxs = o, jt;
52
52
  }
53
- var yt = {};
53
+ var Nt = {};
54
54
  var ge;
55
55
  function Ps() {
56
56
  return ge || (ge = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -84,14 +84,14 @@ function Ps() {
84
84
  case R:
85
85
  return (u._context.displayName || "Context") + ".Consumer";
86
86
  case P:
87
- var T = u.render;
88
- return u = u.displayName, u || (u = T.displayName || T.name || "", u = u !== "" ? "ForwardRef(" + u + ")" : "ForwardRef"), u;
89
- case z:
90
- return T = u.displayName || null, T !== null ? T : e(u.type) || "Memo";
87
+ var z = u.render;
88
+ return u = u.displayName, u || (u = z.displayName || z.name || "", u = u !== "" ? "ForwardRef(" + u + ")" : "ForwardRef"), u;
89
+ case T:
90
+ return z = u.displayName || null, z !== null ? z : e(u.type) || "Memo";
91
91
  case w:
92
- T = u._payload, u = u._init;
92
+ z = u._payload, u = u._init;
93
93
  try {
94
- return e(u(T));
94
+ return e(u(z));
95
95
  } catch {
96
96
  }
97
97
  }
@@ -103,15 +103,15 @@ function Ps() {
103
103
  function o(u) {
104
104
  try {
105
105
  s(u);
106
- var T = !1;
106
+ var z = !1;
107
107
  } catch {
108
- T = !0;
108
+ z = !0;
109
109
  }
110
- if (T) {
111
- T = console;
112
- var L = T.error, _ = typeof Symbol == "function" && Symbol.toStringTag && u[Symbol.toStringTag] || u.constructor.name || "Object";
110
+ if (z) {
111
+ z = console;
112
+ var L = z.error, _ = typeof Symbol == "function" && Symbol.toStringTag && u[Symbol.toStringTag] || u.constructor.name || "Object";
113
113
  return L.call(
114
- T,
114
+ z,
115
115
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
116
116
  _
117
117
  ), s(u);
@@ -122,8 +122,8 @@ function Ps() {
122
122
  if (typeof u == "object" && u !== null && u.$$typeof === w)
123
123
  return "<...>";
124
124
  try {
125
- var T = e(u);
126
- return T ? "<" + T + ">" : "<...>";
125
+ var z = e(u);
126
+ return z ? "<" + z + ">" : "<...>";
127
127
  } catch {
128
128
  return "<...>";
129
129
  }
@@ -137,16 +137,16 @@ function Ps() {
137
137
  }
138
138
  function i(u) {
139
139
  if (S.call(u, "key")) {
140
- var T = Object.getOwnPropertyDescriptor(u, "key").get;
141
- if (T && T.isReactWarning) return !1;
140
+ var z = Object.getOwnPropertyDescriptor(u, "key").get;
141
+ if (z && z.isReactWarning) return !1;
142
142
  }
143
143
  return u.key !== void 0;
144
144
  }
145
- function d(u, T) {
145
+ function d(u, z) {
146
146
  function L() {
147
147
  U || (U = !0, console.error(
148
148
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
149
- T
149
+ z
150
150
  ));
151
151
  }
152
152
  L.isReactWarning = !0, Object.defineProperty(u, "key", {
@@ -160,12 +160,12 @@ function Ps() {
160
160
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
161
161
  )), u = this.props.ref, u !== void 0 ? u : null;
162
162
  }
163
- function m(u, T, L, _, H, K) {
163
+ function m(u, z, L, _, H, K) {
164
164
  var B = L.ref;
165
165
  return u = {
166
166
  $$typeof: j,
167
167
  type: u,
168
- key: T,
168
+ key: z,
169
169
  props: L,
170
170
  _owner: _
171
171
  }, (B !== void 0 ? B : null) !== null ? Object.defineProperty(u, "ref", {
@@ -193,8 +193,8 @@ function Ps() {
193
193
  value: K
194
194
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
195
195
  }
196
- function f(u, T, L, _, H, K) {
197
- var B = T.children;
196
+ function f(u, z, L, _, H, K) {
197
+ var B = z.children;
198
198
  if (B !== void 0)
199
199
  if (_)
200
200
  if (D(B)) {
@@ -206,9 +206,9 @@ function Ps() {
206
206
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
207
207
  );
208
208
  else g(B);
209
- if (S.call(T, "key")) {
209
+ if (S.call(z, "key")) {
210
210
  B = e(u);
211
- var rt = Object.keys(T).filter(function(ss) {
211
+ var rt = Object.keys(z).filter(function(ss) {
212
212
  return ss !== "key";
213
213
  });
214
214
  _ = 0 < rt.length ? "{key: someKey, " + rt.join(": ..., ") + ": ...}" : "{key: someKey}", tt[B + _] || (rt = 0 < rt.length ? "{" + rt.join(": ..., ") + ": ...}" : "{}", console.error(
@@ -224,11 +224,11 @@ React keys must be passed directly to JSX without using spread:
224
224
  B
225
225
  ), tt[B + _] = !0);
226
226
  }
227
- if (B = null, L !== void 0 && (o(L), B = "" + L), i(T) && (o(T.key), B = "" + T.key), "key" in T) {
227
+ if (B = null, L !== void 0 && (o(L), B = "" + L), i(z) && (o(z.key), B = "" + z.key), "key" in z) {
228
228
  L = {};
229
- for (var Bt in T)
230
- Bt !== "key" && (L[Bt] = T[Bt]);
231
- } else L = T;
229
+ for (var Bt in z)
230
+ Bt !== "key" && (L[Bt] = z[Bt]);
231
+ } else L = z;
232
232
  return B && d(
233
233
  L,
234
234
  typeof u == "function" ? u.displayName || u.name || "Unknown" : u
@@ -247,7 +247,7 @@ React keys must be passed directly to JSX without using spread:
247
247
  function b(u) {
248
248
  return typeof u == "object" && u !== null && u.$$typeof === j;
249
249
  }
250
- var h = ct, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), N = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), R = /* @__PURE__ */ Symbol.for("react.consumer"), E = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), $ = /* @__PURE__ */ Symbol.for("react.suspense_list"), z = /* @__PURE__ */ Symbol.for("react.memo"), w = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.activity"), F = /* @__PURE__ */ Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, D = Array.isArray, M = console.createTask ? console.createTask : function() {
250
+ var h = Ct, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), N = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), R = /* @__PURE__ */ Symbol.for("react.consumer"), E = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), $ = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), w = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.activity"), F = /* @__PURE__ */ Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, D = Array.isArray, M = console.createTask ? console.createTask : function() {
251
251
  return null;
252
252
  };
253
253
  h = {
@@ -259,39 +259,39 @@ React keys must be passed directly to JSX without using spread:
259
259
  h,
260
260
  r
261
261
  )(), Q = M(a(r)), tt = {};
262
- yt.Fragment = p, yt.jsx = function(u, T, L) {
262
+ Nt.Fragment = p, Nt.jsx = function(u, z, L) {
263
263
  var _ = 1e4 > A.recentlyCreatedOwnerStacks++;
264
264
  return f(
265
265
  u,
266
- T,
266
+ z,
267
267
  L,
268
268
  !1,
269
269
  _ ? Error("react-stack-top-frame") : Z,
270
270
  _ ? M(a(u)) : Q
271
271
  );
272
- }, yt.jsxs = function(u, T, L) {
272
+ }, Nt.jsxs = function(u, z, L) {
273
273
  var _ = 1e4 > A.recentlyCreatedOwnerStacks++;
274
274
  return f(
275
275
  u,
276
- T,
276
+ z,
277
277
  L,
278
278
  !0,
279
279
  _ ? Error("react-stack-top-frame") : Z,
280
280
  _ ? M(a(u)) : Q
281
281
  );
282
282
  };
283
- })()), yt;
283
+ })()), Nt;
284
284
  }
285
285
  var pe;
286
286
  function Is() {
287
- return pe || (pe = 1, process.env.NODE_ENV === "production" ? Pt.exports = zs() : Pt.exports = Ps()), Pt.exports;
287
+ return pe || (pe = 1, process.env.NODE_ENV === "production" ? Tt.exports = Ts() : Tt.exports = Ps()), Tt.exports;
288
288
  }
289
289
  var t = Is();
290
290
  const Re = St(
291
291
  void 0
292
292
  );
293
293
  function x() {
294
- const e = bt(Re);
294
+ const e = ht(Re);
295
295
  return {
296
296
  components: e?.components,
297
297
  translations: e?.translations
@@ -303,11 +303,11 @@ const _s = js({
303
303
  function l(...e) {
304
304
  return _s(vs(e));
305
305
  }
306
- const Te = bs({
306
+ const ze = bs({
307
307
  twMergeConfig: {
308
308
  prefix: "t"
309
309
  }
310
- }), Mt = k({
310
+ }), At = k({
311
311
  slots: {
312
312
  content: "t:overflow-hidden t:text-sm t:transition-all data-[state=closed]:t:animate-accordion-up data-[state=open]:t:animate-accordion-down",
313
313
  contentInner: "t:pt-0 t:pb-4",
@@ -327,7 +327,7 @@ function Es({
327
327
  ...n?.defaultProps,
328
328
  ...o,
329
329
  onValueChange: s
330
- }, { root: i } = Mt();
330
+ }, { root: i } = At();
331
331
  return /* @__PURE__ */ t.jsx(
332
332
  kt.Root,
333
333
  {
@@ -342,7 +342,7 @@ function Os({ value: e, disabled: s, children: o }) {
342
342
  ...n?.defaultProps,
343
343
  disabled: s,
344
344
  value: e
345
- }, { item: i } = Mt();
345
+ }, { item: i } = At();
346
346
  return /* @__PURE__ */ t.jsx(
347
347
  kt.Item,
348
348
  {
@@ -353,7 +353,7 @@ function Os({ value: e, disabled: s, children: o }) {
353
353
  );
354
354
  }
355
355
  function $s({ children: e }) {
356
- const o = x()?.components?.accordion?.trigger, { header: a, trigger: n, icon: r } = Mt();
356
+ const o = x()?.components?.accordion?.trigger, { header: a, trigger: n, icon: r } = At();
357
357
  return /* @__PURE__ */ t.jsx(
358
358
  kt.Header,
359
359
  {
@@ -372,7 +372,7 @@ function $s({ children: e }) {
372
372
  );
373
373
  }
374
374
  function Ls({ children: e }) {
375
- const o = x()?.components?.accordion?.content, { content: a, contentInner: n } = Mt();
375
+ const o = x()?.components?.accordion?.content, { content: a, contentInner: n } = At();
376
376
  return /* @__PURE__ */ t.jsx(
377
377
  kt.Content,
378
378
  {
@@ -385,9 +385,9 @@ const ar = Object.assign(Es, {
385
385
  Content: Ls,
386
386
  Item: Os,
387
387
  Trigger: $s
388
- }), ze = St({
388
+ }), Te = St({
389
389
  variant: "default"
390
- }), vt = k({
390
+ }), bt = k({
391
391
  defaultVariants: {
392
392
  variant: "default"
393
393
  },
@@ -471,7 +471,7 @@ function As({
471
471
  onClose: o,
472
472
  children: a
473
473
  }) {
474
- const n = x(), r = n?.components?.alert?.default, i = n?.translations?.alert, d = e ?? r?.defaultProps?.variant ?? "default", [c, m] = O(!0), [f, g] = O(!1), { root: b, close: h } = vt({
474
+ const n = x(), r = n?.components?.alert?.default, i = n?.translations?.alert, d = e ?? r?.defaultProps?.variant ?? "default", [c, m] = O(!0), [f, g] = O(!1), { root: b, close: h } = bt({
475
475
  variant: d
476
476
  });
477
477
  function j() {
@@ -481,7 +481,7 @@ function As({
481
481
  f && (m(!1), o?.());
482
482
  }
483
483
  return c ? /* @__PURE__ */ t.jsx(
484
- ze.Provider,
484
+ Te.Provider,
485
485
  {
486
486
  value: {
487
487
  variant: d
@@ -505,7 +505,7 @@ function As({
505
505
  className: l(h(), r?.classNames?.close),
506
506
  onClick: j,
507
507
  type: "button",
508
- children: /* @__PURE__ */ t.jsx(ut, { className: "t:h-4 t:w-4" })
508
+ children: /* @__PURE__ */ t.jsx(dt, { className: "t:h-4 t:w-4" })
509
509
  }
510
510
  )
511
511
  ]
@@ -515,25 +515,25 @@ function As({
515
515
  ) : null;
516
516
  }
517
517
  function Ms({ children: e }) {
518
- const { variant: s } = bt(ze), a = x()?.components?.alert?.icon, { icon: n } = vt({
518
+ const { variant: s } = ht(Te), a = x()?.components?.alert?.icon, { icon: n } = bt({
519
519
  variant: s
520
520
  });
521
521
  return /* @__PURE__ */ t.jsx("span", { className: l(n(), a?.classNames?.root), children: e });
522
522
  }
523
523
  function Vs({ children: e }) {
524
- const { content: s } = vt(), a = x()?.components?.alert?.default;
524
+ const { content: s } = bt(), a = x()?.components?.alert?.default;
525
525
  return /* @__PURE__ */ t.jsx("div", { className: l(s(), a?.classNames?.root), children: e });
526
526
  }
527
527
  function Ds({ children: e }) {
528
- const { title: s } = vt(), a = x()?.components?.alert?.title;
528
+ const { title: s } = bt(), a = x()?.components?.alert?.title;
529
529
  return /* @__PURE__ */ t.jsx("h5", { className: l(s(), a?.classNames?.root), children: e });
530
530
  }
531
531
  function Fs({ children: e }) {
532
- const { description: s } = vt(), a = x()?.components?.alert?.description;
532
+ const { description: s } = bt(), a = x()?.components?.alert?.description;
533
533
  return /* @__PURE__ */ t.jsx("div", { className: l(s(), a?.classNames?.root), children: e });
534
534
  }
535
535
  function Bs({ children: e }) {
536
- const { action: s } = vt(), a = x()?.components?.alert?.action;
536
+ const { action: s } = bt(), a = x()?.components?.alert?.action;
537
537
  return /* @__PURE__ */ t.jsx("div", { className: l(s(), a?.classNames?.root), children: e });
538
538
  }
539
539
  const nr = Object.assign(As, {
@@ -807,7 +807,7 @@ function lr({
807
807
  }
808
808
  );
809
809
  }
810
- const mt = k({
810
+ const ut = k({
811
811
  slots: {
812
812
  ellipsis: "t:flex t:h-9 t:w-9 t:items-center t:justify-center",
813
813
  ellipsisIcon: "t:h-4 t:w-4",
@@ -820,7 +820,7 @@ const mt = k({
820
820
  }
821
821
  });
822
822
  function Ws({ children: e }) {
823
- const o = x()?.components?.breadcrumb?.default, { root: a } = mt();
823
+ const o = x()?.components?.breadcrumb?.default, { root: a } = ut();
824
824
  return /* @__PURE__ */ t.jsx(
825
825
  "nav",
826
826
  {
@@ -831,11 +831,11 @@ function Ws({ children: e }) {
831
831
  );
832
832
  }
833
833
  function Js({ children: e }) {
834
- const o = x()?.components?.breadcrumb?.list, { list: a } = mt();
834
+ const o = x()?.components?.breadcrumb?.list, { list: a } = ut();
835
835
  return /* @__PURE__ */ t.jsx("ol", { className: l(a(), o?.classNames?.root), children: e });
836
836
  }
837
837
  function qs({ children: e }) {
838
- const o = x()?.components?.breadcrumb?.item, { item: a } = mt();
838
+ const o = x()?.components?.breadcrumb?.item, { item: a } = ut();
839
839
  return /* @__PURE__ */ t.jsx("li", { className: l(a(), o?.classNames?.root), children: e });
840
840
  }
841
841
  function Zs({
@@ -843,7 +843,7 @@ function Zs({
843
843
  href: s,
844
844
  children: o
845
845
  }) {
846
- const n = x()?.components?.breadcrumb?.link, r = n?.defaultProps, i = e ?? r?.asChild ?? !1, d = i ? Qt : "a", { link: c } = mt();
846
+ const n = x()?.components?.breadcrumb?.link, r = n?.defaultProps, i = e ?? r?.asChild ?? !1, d = i ? Qt : "a", { link: c } = ut();
847
847
  return /* @__PURE__ */ t.jsx(
848
848
  d,
849
849
  {
@@ -854,7 +854,7 @@ function Zs({
854
854
  );
855
855
  }
856
856
  function Ks({ children: e }) {
857
- const o = x()?.components?.breadcrumb?.page, { page: a } = mt();
857
+ const o = x()?.components?.breadcrumb?.page, { page: a } = ut();
858
858
  return /* @__PURE__ */ t.jsx(
859
859
  "span",
860
860
  {
@@ -866,19 +866,19 @@ function Ks({ children: e }) {
866
866
  );
867
867
  }
868
868
  function Xs({ children: e }) {
869
- const o = x()?.components?.breadcrumb?.separator, { separator: a } = mt();
869
+ const o = x()?.components?.breadcrumb?.separator, { separator: a } = ut();
870
870
  return /* @__PURE__ */ t.jsx(
871
871
  "li",
872
872
  {
873
873
  "aria-hidden": "true",
874
874
  className: l(a(), o?.classNames?.root),
875
875
  role: "presentation",
876
- children: e ?? /* @__PURE__ */ t.jsx($t, {})
876
+ children: e ?? /* @__PURE__ */ t.jsx(Ot, {})
877
877
  }
878
878
  );
879
879
  }
880
880
  function Qs(e) {
881
- const o = x()?.components?.breadcrumb?.ellipsis, { ellipsis: a, ellipsisIcon: n } = mt();
881
+ const o = x()?.components?.breadcrumb?.ellipsis, { ellipsis: a, ellipsisIcon: n } = ut();
882
882
  return /* @__PURE__ */ t.jsx(
883
883
  "span",
884
884
  {
@@ -901,14 +901,14 @@ const ir = Object.assign(Ws, {
901
901
  List: Js,
902
902
  Page: Ks,
903
903
  Separator: Xs
904
- }), to = Te({
904
+ }), to = ze({
905
905
  base: "t:inline-flex t:items-center t:gap-2",
906
906
  variants: {
907
907
  loading: {
908
908
  true: "t:invisible"
909
909
  }
910
910
  }
911
- }), Ut = Te({
911
+ }), Ut = ze({
912
912
  base: "t:relative t:inline-flex t:cursor-pointer t:items-center t:justify-center t:gap-2 t:whitespace-nowrap t:rounded-md t:font-medium t:text-sm t:ring-offset-background t:transition-colors t:focus-visible:outline-none t:focus-visible:ring-2 t:focus-visible:ring-ring t:focus-visible:ring-offset-2 t:disabled:pointer-events-none t:disabled:opacity-50 t:[&_svg]:pointer-events-none t:[&_svg]:size-4 t:[&_svg]:shrink-0",
913
913
  defaultVariants: {
914
914
  size: "md",
@@ -993,7 +993,7 @@ const ir = Object.assign(Ws, {
993
993
  ]
994
994
  }
995
995
  );
996
- }), ft = k({
996
+ }), mt = k({
997
997
  slots: {
998
998
  content: "t:p-6",
999
999
  description: "t:text-muted-foreground t:text-sm",
@@ -1018,7 +1018,7 @@ const ir = Object.assign(Ws, {
1018
1018
  }
1019
1019
  });
1020
1020
  function eo({ onClick: e, children: s }) {
1021
- const a = x()?.components?.card?.default, { root: n } = ft({
1021
+ const a = x()?.components?.card?.default, { root: n } = mt({
1022
1022
  clickable: !!e
1023
1023
  });
1024
1024
  return /* @__PURE__ */ t.jsx(
@@ -1031,31 +1031,31 @@ function eo({ onClick: e, children: s }) {
1031
1031
  );
1032
1032
  }
1033
1033
  function so({ bordered: e, children: s }) {
1034
- const a = x()?.components?.card?.header, { header: n } = ft({
1034
+ const a = x()?.components?.card?.header, { header: n } = mt({
1035
1035
  bordered: e
1036
1036
  });
1037
1037
  return /* @__PURE__ */ t.jsx("div", { className: l(n(), a?.classNames?.root), children: s });
1038
1038
  }
1039
1039
  function oo({ children: e }) {
1040
- const o = x()?.components?.card?.title, { title: a } = ft();
1040
+ const o = x()?.components?.card?.title, { title: a } = mt();
1041
1041
  return /* @__PURE__ */ t.jsx("div", { className: l(a(), o?.classNames?.root), children: e });
1042
1042
  }
1043
1043
  function ao({ children: e }) {
1044
- const o = x()?.components?.card?.description, { description: a } = ft();
1044
+ const o = x()?.components?.card?.description, { description: a } = mt();
1045
1045
  return /* @__PURE__ */ t.jsx("div", { className: l(a(), o?.classNames?.root), children: e });
1046
1046
  }
1047
1047
  function no({ children: e }) {
1048
- const o = x()?.components?.card?.content, { content: a } = ft();
1048
+ const o = x()?.components?.card?.content, { content: a } = mt();
1049
1049
  return /* @__PURE__ */ t.jsx("div", { className: l(a(), o?.classNames?.root), children: e });
1050
1050
  }
1051
1051
  function ro({ bordered: e, children: s }) {
1052
- const a = x()?.components?.card?.footer, { footer: n } = ft({
1052
+ const a = x()?.components?.card?.footer, { footer: n } = mt({
1053
1053
  bordered: e
1054
1054
  });
1055
1055
  return /* @__PURE__ */ t.jsx("div", { className: l(n(), a?.classNames?.root), children: s });
1056
1056
  }
1057
1057
  function lo({ children: e }) {
1058
- const o = x()?.components?.card?.separator, { separator: a } = ft();
1058
+ const o = x()?.components?.card?.separator, { separator: a } = mt();
1059
1059
  return /* @__PURE__ */ t.jsx("div", { className: l(a(), o?.classNames?.root), children: e });
1060
1060
  }
1061
1061
  const cr = Object.assign(eo, {
@@ -1130,7 +1130,7 @@ function Pe({
1130
1130
  defaultChecked: d,
1131
1131
  onChange: c
1132
1132
  }) {
1133
- const m = Lt(), g = x()?.components?.checkbox?.default, b = a ?? g?.defaultProps?.size ?? "md", {
1133
+ const m = $t(), g = x()?.components?.checkbox?.default, b = a ?? g?.defaultProps?.size ?? "md", {
1134
1134
  wrapper: h,
1135
1135
  root: j,
1136
1136
  indicator: v,
@@ -1233,7 +1233,7 @@ const Yt = Object.assign(Pe, {
1233
1233
  }), Ie = St(
1234
1234
  null
1235
1235
  ), dr = () => {
1236
- const e = bt(Ie);
1236
+ const e = ht(Ie);
1237
1237
  if (!e)
1238
1238
  throw new Error("useColorScheme must be used within a Provider");
1239
1239
  return e;
@@ -1302,7 +1302,7 @@ function ur({
1302
1302
  } finally {
1303
1303
  v(!1);
1304
1304
  }
1305
- }, z = async () => {
1305
+ }, T = async () => {
1306
1306
  N(!0);
1307
1307
  try {
1308
1308
  await Promise.resolve(c?.());
@@ -1328,7 +1328,7 @@ function ur({
1328
1328
  {
1329
1329
  ...i,
1330
1330
  loading: p,
1331
- onClick: z,
1331
+ onClick: T,
1332
1332
  variant: i?.variant ?? "outline",
1333
1333
  children: h
1334
1334
  }
@@ -1393,9 +1393,9 @@ function mr({
1393
1393
  }
1394
1394
  function po(e, s = 300) {
1395
1395
  const o = wt(e), a = wt(null);
1396
- return xt(() => {
1396
+ return pt(() => {
1397
1397
  o.current = e;
1398
- }), Ot(
1398
+ }), Et(
1399
1399
  ((...n) => {
1400
1400
  a.current && clearTimeout(a.current), a.current = setTimeout(() => {
1401
1401
  o.current(...n);
@@ -1406,7 +1406,7 @@ function po(e, s = 300) {
1406
1406
  ]
1407
1407
  );
1408
1408
  }
1409
- const Tt = k({
1409
+ const zt = k({
1410
1410
  defaultVariants: {
1411
1411
  hasLeft: !1,
1412
1412
  hasRight: !1,
@@ -1442,7 +1442,7 @@ const Tt = k({
1442
1442
  }
1443
1443
  }
1444
1444
  }
1445
- }), dt = J(
1445
+ }), ct = J(
1446
1446
  ({
1447
1447
  className: e,
1448
1448
  rootClassName: s,
@@ -1462,14 +1462,14 @@ const Tt = k({
1462
1462
  onChange: v,
1463
1463
  ...p
1464
1464
  }, N) => {
1465
- const R = x()?.components?.input, E = d ?? R?.defaultProps?.size ?? "md", P = f ?? R?.defaultProps?.debounce ?? !1, C = g ?? R?.defaultProps?.disabled ?? !1, $ = b ?? R?.defaultProps?.loading ?? !1, z = !!c, w = !!m || $, {
1465
+ const R = x()?.components?.input, E = d ?? R?.defaultProps?.size ?? "md", P = f ?? R?.defaultProps?.debounce ?? !1, C = g ?? R?.defaultProps?.disabled ?? !1, $ = b ?? R?.defaultProps?.loading ?? !1, T = !!c, w = !!m || $, {
1466
1466
  root: I,
1467
1467
  input: F,
1468
1468
  leftSection: A,
1469
1469
  rightSection: S,
1470
1470
  loader: D
1471
- } = Tt({
1472
- hasLeft: z,
1471
+ } = zt({
1472
+ hasLeft: T,
1473
1473
  hasRight: w,
1474
1474
  size: E
1475
1475
  }), M = (W) => {
@@ -1482,7 +1482,7 @@ const Tt = k({
1482
1482
  className: l(I(), R?.classNames?.root, s),
1483
1483
  onClick: h,
1484
1484
  children: [
1485
- z && /* @__PURE__ */ t.jsx(
1485
+ T && /* @__PURE__ */ t.jsx(
1486
1486
  "div",
1487
1487
  {
1488
1488
  className: l(A(), R?.classNames?.leftSection),
@@ -1574,7 +1574,7 @@ const Tt = k({
1574
1574
  d(f), o?.(f);
1575
1575
  };
1576
1576
  return /* @__PURE__ */ t.jsx(
1577
- dt,
1577
+ ct,
1578
1578
  {
1579
1579
  ...n,
1580
1580
  onChange: c,
@@ -1697,7 +1697,7 @@ function jo({
1697
1697
  function $() {
1698
1698
  j || g(b), a?.(b), m(!1);
1699
1699
  }
1700
- const z = v.from != null || v.to != null ? `${it(v.from ?? null, e) ?? "–"} – ${it(v.to ?? null, e) ?? "–"}` : n ?? d?.selectRange;
1700
+ const T = v.from != null || v.to != null ? `${it(v.from ?? null, e) ?? "–"} – ${it(v.to ?? null, e) ?? "–"}` : n ?? d?.selectRange;
1701
1701
  return /* @__PURE__ */ t.jsxs(
1702
1702
  G.Root,
1703
1703
  {
@@ -1711,7 +1711,7 @@ function jo({
1711
1711
  disabled: r,
1712
1712
  type: "button",
1713
1713
  children: [
1714
- /* @__PURE__ */ t.jsx("span", { children: z }),
1714
+ /* @__PURE__ */ t.jsx("span", { children: T }),
1715
1715
  /* @__PURE__ */ t.jsx(ot, { className: "t:h-4 t:w-4 t:shrink-0 t:text-muted-foreground" })
1716
1716
  ]
1717
1717
  }
@@ -1725,7 +1725,7 @@ function jo({
1725
1725
  /* @__PURE__ */ t.jsxs("div", { className: R(), children: [
1726
1726
  /* @__PURE__ */ t.jsx("span", { className: y(), children: d?.from ?? "From" }),
1727
1727
  /* @__PURE__ */ t.jsx(
1728
- dt,
1728
+ ct,
1729
1729
  {
1730
1730
  onChange: (w) => h((I) => ({
1731
1731
  ...I,
@@ -1739,7 +1739,7 @@ function jo({
1739
1739
  /* @__PURE__ */ t.jsxs("div", { className: R(), children: [
1740
1740
  /* @__PURE__ */ t.jsx("span", { className: y(), children: d?.to ?? "To" }),
1741
1741
  /* @__PURE__ */ t.jsx(
1742
- dt,
1742
+ ct,
1743
1743
  {
1744
1744
  onChange: (w) => h((I) => ({
1745
1745
  ...I,
@@ -1961,7 +1961,7 @@ function No({
1961
1961
  }
1962
1962
  );
1963
1963
  }
1964
- const ee = G.Root, se = G.Trigger, Vt = st.forwardRef(({ className: e, align: s = "center", sideOffset: o = 4, ...a }, n) => /* @__PURE__ */ t.jsx(G.Portal, { children: /* @__PURE__ */ t.jsx(
1964
+ const ee = G.Root, se = G.Trigger, Mt = st.forwardRef(({ className: e, align: s = "center", sideOffset: o = 4, ...a }, n) => /* @__PURE__ */ t.jsx(G.Portal, { children: /* @__PURE__ */ t.jsx(
1965
1965
  G.Content,
1966
1966
  {
1967
1967
  align: s,
@@ -1974,7 +1974,7 @@ const ee = G.Root, se = G.Trigger, Vt = st.forwardRef(({ className: e, align: s
1974
1974
  ...a
1975
1975
  }
1976
1976
  ) }));
1977
- Vt.displayName = G.Content.displayName;
1977
+ Mt.displayName = G.Content.displayName;
1978
1978
  const yo = k({
1979
1979
  slots: {
1980
1980
  calendar: "",
@@ -1987,7 +1987,7 @@ const yo = k({
1987
1987
  ), p = e !== void 0 ? e : j, N = (P) => {
1988
1988
  const C = P ?? null;
1989
1989
  v(C), i?.(C), h(!1);
1990
- }, y = (P) => P ? Et(P, f?.format ?? "dd/MM/yyyy") : o ?? "", { content: R, calendar: E } = yo();
1990
+ }, y = (P) => P ? _t(P, f?.format ?? "dd/MM/yyyy") : o ?? "", { content: R, calendar: E } = yo();
1991
1991
  return /* @__PURE__ */ t.jsxs(
1992
1992
  ee,
1993
1993
  {
@@ -1995,7 +1995,7 @@ const yo = k({
1995
1995
  open: b,
1996
1996
  children: [
1997
1997
  /* @__PURE__ */ t.jsx(se, { asChild: !0, children: /* @__PURE__ */ t.jsx(
1998
- dt,
1998
+ ct,
1999
1999
  {
2000
2000
  className: "t:cursor-pointer t:text-left",
2001
2001
  disabled: g,
@@ -2008,7 +2008,7 @@ const yo = k({
2008
2008
  }
2009
2009
  ) }),
2010
2010
  /* @__PURE__ */ t.jsx(
2011
- Vt,
2011
+ Mt,
2012
2012
  {
2013
2013
  align: "start",
2014
2014
  className: l(R(), m?.classNames?.content),
@@ -2044,7 +2044,7 @@ const yo = k({
2044
2044
  if (!P?.from)
2045
2045
  return o ?? "";
2046
2046
  const C = f?.format ?? "dd/MM/yyyy", $ = f?.separator ?? "~";
2047
- return P.to ? `${Et(P.from, C)} ${$} ${Et(P.to, C)}` : Et(P.from, C);
2047
+ return P.to ? `${_t(P.from, C)} ${$} ${_t(P.to, C)}` : _t(P.from, C);
2048
2048
  }, { content: R, calendar: E } = Co();
2049
2049
  return /* @__PURE__ */ t.jsxs(
2050
2050
  ee,
@@ -2053,7 +2053,7 @@ const yo = k({
2053
2053
  open: b,
2054
2054
  children: [
2055
2055
  /* @__PURE__ */ t.jsx(se, { asChild: !0, children: /* @__PURE__ */ t.jsx(
2056
- dt,
2056
+ ct,
2057
2057
  {
2058
2058
  className: "t:cursor-pointer t:text-left",
2059
2059
  disabled: g,
@@ -2066,7 +2066,7 @@ const yo = k({
2066
2066
  }
2067
2067
  ) }),
2068
2068
  /* @__PURE__ */ t.jsx(
2069
- Vt,
2069
+ Mt,
2070
2070
  {
2071
2071
  align: "start",
2072
2072
  className: l(R(), m?.classNames?.content),
@@ -2110,11 +2110,11 @@ const yo = k({
2110
2110
  leftSection: P,
2111
2111
  rightSection: C,
2112
2112
  loader: $
2113
- } = Tt({
2113
+ } = zt({
2114
2114
  hasLeft: N,
2115
2115
  hasRight: y,
2116
2116
  size: j
2117
- }), z = (w) => {
2117
+ }), T = (w) => {
2118
2118
  f?.(w === "" ? null : w);
2119
2119
  };
2120
2120
  return /* @__PURE__ */ t.jsxs("div", { className: l(R(), h?.classNames?.root), children: [
@@ -2138,7 +2138,7 @@ const yo = k({
2138
2138
  mask: e
2139
2139
  }
2140
2140
  ],
2141
- onAccept: z,
2141
+ onAccept: T,
2142
2142
  placeholder: a,
2143
2143
  value: s ?? o ?? void 0
2144
2144
  }
@@ -2162,7 +2162,7 @@ const yo = k({
2162
2162
  function So(e) {
2163
2163
  return e === "cpf" ? wo : ko;
2164
2164
  }
2165
- function It(e) {
2165
+ function Pt(e) {
2166
2166
  return e === "cpf" ? "CPF" : "CNPJ";
2167
2167
  }
2168
2168
  const Ro = k({
@@ -2209,7 +2209,7 @@ const Ro = k({
2209
2209
  disabled: r,
2210
2210
  type: "button",
2211
2211
  children: [
2212
- /* @__PURE__ */ t.jsx("span", { children: g === "cpf" ? f?.cpf ?? It(g) : f?.cnpj ?? It(g) }),
2212
+ /* @__PURE__ */ t.jsx("span", { children: g === "cpf" ? f?.cpf ?? Pt(g) : f?.cnpj ?? Pt(g) }),
2213
2213
  /* @__PURE__ */ t.jsx(ot, { className: "t:size-4 t:text-muted-foreground" })
2214
2214
  ]
2215
2215
  }
@@ -2228,7 +2228,7 @@ const Ro = k({
2228
2228
  {
2229
2229
  className: "t:relative t:flex t:cursor-default t:select-none t:items-center t:rounded-sm t:px-2 t:py-1.5 t:text-sm t:outline-none t:transition-colors t:focus:bg-accent t:focus:text-accent-foreground t:data-[disabled]:pointer-events-none t:data-[disabled]:opacity-50",
2230
2230
  onClick: () => b(y),
2231
- children: y === "cpf" ? f?.cpf ?? It(y) : f?.cnpj ?? It(y)
2231
+ children: y === "cpf" ? f?.cpf ?? Pt(y) : f?.cnpj ?? Pt(y)
2232
2232
  },
2233
2233
  y
2234
2234
  ))
@@ -2282,7 +2282,7 @@ const Ro = k({
2282
2282
  }
2283
2283
  }
2284
2284
  });
2285
- function To({
2285
+ function zo({
2286
2286
  open: e,
2287
2287
  onOpenChange: s,
2288
2288
  children: o
@@ -2296,7 +2296,7 @@ function To({
2296
2296
  }
2297
2297
  );
2298
2298
  }
2299
- function zo({
2299
+ function To({
2300
2300
  asChild: e,
2301
2301
  children: s
2302
2302
  }) {
@@ -2442,7 +2442,7 @@ function Do({
2442
2442
  className: l(n(), a?.classNames?.root),
2443
2443
  children: [
2444
2444
  s,
2445
- /* @__PURE__ */ t.jsx($t, { className: r() })
2445
+ /* @__PURE__ */ t.jsx(Ot, { className: r() })
2446
2446
  ]
2447
2447
  }
2448
2448
  );
@@ -2457,7 +2457,7 @@ function Fo({ children: e }) {
2457
2457
  }
2458
2458
  ) });
2459
2459
  }
2460
- const hr = Object.assign(To, {
2460
+ const hr = Object.assign(zo, {
2461
2461
  CheckboxItem: _o,
2462
2462
  Content: Po,
2463
2463
  Group: Mo,
@@ -2470,9 +2470,9 @@ const hr = Object.assign(To, {
2470
2470
  Sub: Vo,
2471
2471
  SubContent: Fo,
2472
2472
  SubTrigger: Do,
2473
- Trigger: zo
2473
+ Trigger: To
2474
2474
  }), Bo = k({
2475
- base: "t:flex",
2475
+ base: "t:flex t:w-full",
2476
2476
  defaultVariants: {
2477
2477
  align: "start",
2478
2478
  direction: "row",
@@ -2825,7 +2825,7 @@ const jr = Object.assign(Zo, {
2825
2825
  inner: "t:mx-auto t:w-full t:max-w-6xl"
2826
2826
  },
2827
2827
  md: {
2828
- inner: "t:mx-auto t:w-full t:max-w-4xl"
2828
+ inner: "t:mx-auto t:h-full t:w-full t:max-w-4xl"
2829
2829
  },
2830
2830
  sm: {
2831
2831
  inner: "t:mx-auto t:w-full t:max-w-2xl"
@@ -2883,12 +2883,12 @@ function Qo({
2883
2883
  }
2884
2884
  const Oe = St(null);
2885
2885
  function ta() {
2886
- const e = bt(Oe);
2886
+ const e = ht(Oe);
2887
2887
  if (!e)
2888
2888
  throw new Error("useSidebar must be used within Layout");
2889
2889
  return e;
2890
2890
  }
2891
- function zt() {
2891
+ function Vt() {
2892
2892
  return ta();
2893
2893
  }
2894
2894
  const ea = k({
@@ -2937,8 +2937,8 @@ function sa({
2937
2937
  }
2938
2938
  function $e(e) {
2939
2939
  const s = [];
2940
- return ct.Children.forEach(e, (o) => {
2941
- ct.isValidElement(o) && o.type === ct.Fragment ? s.push(
2940
+ return Ct.Children.forEach(e, (o) => {
2941
+ Ct.isValidElement(o) && o.type === Ct.Fragment ? s.push(
2942
2942
  ...$e(
2943
2943
  o.props.children
2944
2944
  )
@@ -3005,7 +3005,7 @@ function aa({
3005
3005
  let f = null, g = null, b = null;
3006
3006
  const h = [];
3007
3007
  $e(e).forEach((v) => {
3008
- if (!ct.isValidElement(v)) {
3008
+ if (!Ct.isValidElement(v)) {
3009
3009
  h.push(v);
3010
3010
  return;
3011
3011
  }
@@ -3123,7 +3123,7 @@ function ua({
3123
3123
  ] }) });
3124
3124
  }
3125
3125
  function ma({ item: e }) {
3126
- const { collapsed: s } = zt(), [o, a] = O(
3126
+ const { collapsed: s } = Vt(), [o, a] = O(
3127
3127
  e.children?.some((c) => c.active) ?? !1
3128
3128
  ), n = e.icon, r = !!e.children?.length, i = l(
3129
3129
  "t:group t:flex t:w-full t:cursor-pointer t:items-center t:rounded-md t:text-sm t:transition-colors",
@@ -3202,7 +3202,7 @@ function fa({ collapsed: e }) {
3202
3202
  return /* @__PURE__ */ t.jsx("div", { className: l("t:my-2", e ? "t:mx-2" : "t:mx-1"), children: /* @__PURE__ */ t.jsx("div", { className: "t:h-px t:bg-border" }) });
3203
3203
  }
3204
3204
  function ga({ items: e }) {
3205
- const { collapsed: s } = zt();
3205
+ const { collapsed: s } = Vt();
3206
3206
  return /* @__PURE__ */ t.jsx("nav", { className: "t:flex t:flex-col t:gap-1 t:p-2", children: e.map((o) => o.type === "divider" ? null : /* @__PURE__ */ t.jsx(
3207
3207
  ma,
3208
3208
  {
@@ -3307,7 +3307,7 @@ function Ca({
3307
3307
  paddingHorizontal: a,
3308
3308
  paddingVertical: n
3309
3309
  }) {
3310
- const { collapsed: r } = zt(), d = x()?.components?.layout?.sidebar?.default, { root: c } = pa({
3310
+ const { collapsed: r } = Vt(), d = x()?.components?.layout?.sidebar?.default, { root: c } = pa({
3311
3311
  bordered: s
3312
3312
  });
3313
3313
  return /* @__PURE__ */ t.jsx(
@@ -3329,17 +3329,11 @@ function De({
3329
3329
  bordered: s,
3330
3330
  size: o
3331
3331
  }) {
3332
- const { collapsed: a } = zt(), r = x()?.components?.layout?.sidebar?.header, { root: i } = xa({
3332
+ const n = x()?.components?.layout?.sidebar?.header, { root: r } = xa({
3333
3333
  bordered: s,
3334
3334
  size: o
3335
3335
  });
3336
- if (a) {
3337
- const d = ct.Children.toArray(e).find(
3338
- (c) => ct.isValidElement(c) && c.type.displayName === "Sidebar.Trigger"
3339
- );
3340
- return /* @__PURE__ */ t.jsx("div", { className: l(i(), "t:justify-center", r?.classNames?.root), children: d });
3341
- }
3342
- return /* @__PURE__ */ t.jsx("div", { className: l(i(), r?.classNames?.root), children: e });
3336
+ return /* @__PURE__ */ t.jsx("div", { className: l(r(), n?.classNames?.root), children: e });
3343
3337
  }
3344
3338
  function Fe({ children: e }) {
3345
3339
  const o = x()?.components?.layout?.sidebar?.body, { root: a } = ha();
@@ -3357,7 +3351,7 @@ function Be({
3357
3351
  return /* @__PURE__ */ t.jsx("div", { className: l(r(), n?.classNames?.root), children: e });
3358
3352
  }
3359
3353
  function He() {
3360
- const { collapsed: e, toggle: s } = zt(), a = x()?.translations?.sidebar, { root: n } = va(), r = e ? ls : is;
3354
+ const { collapsed: e, toggle: s } = Vt(), a = x()?.translations?.sidebar, { root: n } = va(), r = e ? ls : is;
3361
3355
  return /* @__PURE__ */ t.jsx(
3362
3356
  "button",
3363
3357
  {
@@ -3380,11 +3374,11 @@ const wa = Object.assign(Ca, {
3380
3374
  Trigger: He
3381
3375
  }), ka = k({
3382
3376
  slots: {
3383
- root: "t:flex t:h-full t:w-full t:overflow-hidden t:bg-background t:text-foreground"
3377
+ root: "t:flex t:h-screen t:w-full t:overflow-hidden t:bg-background t:text-foreground"
3384
3378
  }
3385
3379
  });
3386
3380
  function Sa({ children: e }) {
3387
- const o = x()?.components?.layout?.default, [a, n] = O(!1), r = Ot(() => n((d) => !d), []), { root: i } = ka();
3381
+ const o = x()?.components?.layout?.default, [a, n] = O(!1), r = Et(() => n((d) => !d), []), { root: i } = ka();
3388
3382
  return /* @__PURE__ */ t.jsx(
3389
3383
  Oe.Provider,
3390
3384
  {
@@ -3423,7 +3417,7 @@ const Nr = Object.assign(Sa, {
3423
3417
  }
3424
3418
  }
3425
3419
  });
3426
- function Ta({ visible: e = !1 }) {
3420
+ function za({ visible: e = !1 }) {
3427
3421
  const { root: s, loader: o } = Ra({
3428
3422
  visible: e
3429
3423
  });
@@ -3436,7 +3430,7 @@ const Ge = k({
3436
3430
  overlay: "t:data-[state=closed]:fade-out-0 t:data-[state=open]:fade-in-0 t:fixed t:inset-0 t:z-50 t:bg-black/80 t:data-[state=closed]:animate-out t:data-[state=open]:animate-in",
3437
3431
  root: ""
3438
3432
  }
3439
- }), za = k({
3433
+ }), Ta = k({
3440
3434
  slots: {
3441
3435
  description: "",
3442
3436
  root: "t:flex t:shrink-0 t:items-center t:justify-between t:px-6 t:py-4",
@@ -3506,7 +3500,7 @@ function La({
3506
3500
  bordered: s,
3507
3501
  children: o
3508
3502
  }) {
3509
- const a = x(), n = a?.components?.modal?.header, r = a?.components?.modal?.default, { root: i } = za({
3503
+ const a = x(), n = a?.components?.modal?.header, r = a?.components?.modal?.default, { root: i } = Ta({
3510
3504
  bordered: s
3511
3505
  }), { close: d } = Ge();
3512
3506
  return /* @__PURE__ */ t.jsxs("div", { className: l(i(), n?.classNames?.root), children: [
@@ -3515,7 +3509,7 @@ function La({
3515
3509
  Y.Close,
3516
3510
  {
3517
3511
  className: l(d(), r?.classNames?.close),
3518
- children: /* @__PURE__ */ t.jsx(ut, { className: "t:h-4 t:w-4" })
3512
+ children: /* @__PURE__ */ t.jsx(dt, { className: "t:h-4 t:w-4" })
3519
3513
  }
3520
3514
  )
3521
3515
  ] });
@@ -3631,7 +3625,7 @@ function Ha({
3631
3625
  onChange: i,
3632
3626
  inputRef: d
3633
3627
  }) {
3634
- const [c, m] = O(r ?? 0), f = n !== void 0, g = f ? n ?? 0 : c, { input: b } = Tt({
3628
+ const [c, m] = O(r ?? 0), f = n !== void 0, g = f ? n ?? 0 : c, { input: b } = zt({
3635
3629
  hasLeft: !1,
3636
3630
  hasRight: !1,
3637
3631
  size: s
@@ -3692,14 +3686,14 @@ function Ga({
3692
3686
  }) {
3693
3687
  const c = x()?.translations?.numberInput, [m, f] = O(!1), [g, b] = O(
3694
3688
  r ?? {}
3695
- ), [h, j] = O(g), v = n !== void 0, p = v ? n ?? {} : g, { input: N } = Tt({
3689
+ ), [h, j] = O(g), v = n !== void 0, p = v ? n ?? {} : g, { input: N } = zt({
3696
3690
  hasLeft: !1,
3697
3691
  hasRight: !1,
3698
3692
  size: s
3699
3693
  }), y = l(
3700
3694
  N(),
3701
3695
  "t:flex-1 t:border-0 t:rounded-none t:text-center t:focus-visible:ring-0 t:focus-visible:ring-offset-0"
3702
- ), { content: R, footer: E, inputLabel: P, inputSection: C, inputsWrapper: $, trigger: z } = Ba();
3696
+ ), { content: R, footer: E, inputLabel: P, inputSection: C, inputsWrapper: $, trigger: T } = Ba();
3703
3697
  function w(A) {
3704
3698
  A && j(p), f(A);
3705
3699
  }
@@ -3716,7 +3710,7 @@ function Ga({
3716
3710
  /* @__PURE__ */ t.jsx(G.Trigger, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
3717
3711
  "button",
3718
3712
  {
3719
- className: z(),
3713
+ className: T(),
3720
3714
  disabled: o,
3721
3715
  type: "button",
3722
3716
  children: [
@@ -3855,7 +3849,7 @@ function Ua({ ...e }) {
3855
3849
  );
3856
3850
  }
3857
3851
  function Ya({ index: e, size: s }) {
3858
- const o = bt(Ss), { char: a, hasFakeCaret: n, isActive: r } = o.slots[e], d = x()?.components?.otpInput, { cell: c } = Ye({
3852
+ const o = ht(Ss), { char: a, hasFakeCaret: n, isActive: r } = o.slots[e], d = x()?.components?.otpInput, { cell: c } = Ye({
3859
3853
  active: r,
3860
3854
  size: s
3861
3855
  });
@@ -3949,15 +3943,15 @@ function Ja(e) {
3949
3943
  "select",
3950
3944
  {
3951
3945
  className: d(),
3952
- onChange: (z) => E(Number(z.target.value)),
3946
+ onChange: (T) => E(Number(T.target.value)),
3953
3947
  value: N,
3954
- children: ve.map((z) => /* @__PURE__ */ t.jsx(
3948
+ children: ve.map((T) => /* @__PURE__ */ t.jsx(
3955
3949
  "option",
3956
3950
  {
3957
- value: z,
3958
- children: z
3951
+ value: T,
3952
+ children: T
3959
3953
  },
3960
- z
3954
+ T
3961
3955
  ))
3962
3956
  }
3963
3957
  ),
@@ -3991,7 +3985,7 @@ function Ja(e) {
3991
3985
  onClick: () => R(p + 1),
3992
3986
  size: "icon-sm",
3993
3987
  variant: "ghost",
3994
- children: /* @__PURE__ */ t.jsx($t, {})
3988
+ children: /* @__PURE__ */ t.jsx(Ot, {})
3995
3989
  }
3996
3990
  )
3997
3991
  ] })
@@ -4046,7 +4040,7 @@ function Ja(e) {
4046
4040
  onClick: j,
4047
4041
  size: "icon-sm",
4048
4042
  variant: "ghost",
4049
- children: /* @__PURE__ */ t.jsx($t, {})
4043
+ children: /* @__PURE__ */ t.jsx(Ot, {})
4050
4044
  }
4051
4045
  )
4052
4046
  ] })
@@ -4101,7 +4095,7 @@ const Xa = k({
4101
4095
  "very-strong": "t:text-green-700",
4102
4096
  "very-weak": "t:text-destructive",
4103
4097
  weak: "t:text-orange-500"
4104
- }, Ct = {
4098
+ }, yt = {
4105
4099
  medium: "Medium",
4106
4100
  strong: "Strong",
4107
4101
  "very-strong": "Very strong",
@@ -4114,7 +4108,7 @@ const Xa = k({
4114
4108
  }, { root: g, barWrapper: b, bar: h, label: j } = Xa(), v = e && m ? Ka(m) : null;
4115
4109
  return /* @__PURE__ */ t.jsxs("div", { className: g(), children: [
4116
4110
  /* @__PURE__ */ t.jsx(
4117
- dt,
4111
+ ct,
4118
4112
  {
4119
4113
  ...a,
4120
4114
  onChange: f,
@@ -4131,7 +4125,7 @@ const Xa = k({
4131
4125
  },
4132
4126
  p
4133
4127
  )) }),
4134
- /* @__PURE__ */ t.jsx("p", { className: `${j()} ${tn[v.level]}`, children: v.level === "very-weak" ? i?.veryWeak ?? Ct["very-weak"] : v.level === "weak" ? i?.weak ?? Ct.weak : v.level === "medium" ? i?.medium ?? Ct.medium : v.level === "strong" ? i?.strong ?? Ct.strong : i?.veryStrong ?? Ct["very-strong"] })
4128
+ /* @__PURE__ */ t.jsx("p", { className: `${j()} ${tn[v.level]}`, children: v.level === "very-weak" ? i?.veryWeak ?? yt["very-weak"] : v.level === "weak" ? i?.weak ?? yt.weak : v.level === "medium" ? i?.medium ?? yt.medium : v.level === "strong" ? i?.strong ?? yt.strong : i?.veryStrong ?? yt["very-strong"] })
4135
4129
  ] })
4136
4130
  ] });
4137
4131
  }
@@ -5350,7 +5344,7 @@ const Xa = k({
5350
5344
  }
5351
5345
  }), Sr = J(
5352
5346
  ({ value: e, defaultValue: s, onChange: o, disabled: a, ...n }, r) => {
5353
- const i = x(), d = i?.components?.phoneInput, c = i?.translations?.phoneInput, m = ht(() => {
5347
+ const i = x(), d = i?.components?.phoneInput, c = i?.translations?.phoneInput, m = xt(() => {
5354
5348
  const C = new Intl.DisplayNames(
5355
5349
  [
5356
5350
  "en"
@@ -5362,7 +5356,7 @@ const Xa = k({
5362
5356
  return en.map(($) => ({
5363
5357
  ...$,
5364
5358
  name: C.of($.code) ?? $.code
5365
- })).sort(($, z) => $.name.localeCompare(z.name));
5359
+ })).sort(($, T) => $.name.localeCompare(T.name));
5366
5360
  }, []), f = e ?? s, [g, b] = O(
5367
5361
  f ? m.find((C) => C.code === f.iso) ?? null : null
5368
5362
  ), [h, j] = O(""), v = g ?? m.find((C) => C.code === sn) ?? m[0], p = m.filter(
@@ -5502,7 +5496,7 @@ const nn = k({
5502
5496
  }
5503
5497
  }
5504
5498
  });
5505
- function Tr({ label: e, value: s, defaultValue: o, size: a }) {
5499
+ function zr({ label: e, value: s, defaultValue: o, size: a }) {
5506
5500
  const {
5507
5501
  root: n,
5508
5502
  indicator: r,
@@ -5536,8 +5530,8 @@ function Tr({ label: e, value: s, defaultValue: o, size: a }) {
5536
5530
  )
5537
5531
  ] });
5538
5532
  }
5539
- const We = St(null), zr = () => {
5540
- const e = bt(We);
5533
+ const We = St(null), Tr = () => {
5534
+ const e = ht(We);
5541
5535
  if (!e)
5542
5536
  throw new Error("useTheme must be used within a Provider");
5543
5537
  return e;
@@ -5613,7 +5607,7 @@ function mn({
5613
5607
  const [a, n] = O(() => ({
5614
5608
  ...s ? rn() ?? {} : {},
5615
5609
  ...e
5616
- })), r = wt([]), i = Ot((c) => {
5610
+ })), r = wt([]), i = Et((c) => {
5617
5611
  const m = document.documentElement;
5618
5612
  m.classList.contains("dark");
5619
5613
  const f = dn(c);
@@ -5622,7 +5616,7 @@ function mn({
5622
5616
  for (const [g, b] of Object.entries(f))
5623
5617
  m.style.setProperty(g, b);
5624
5618
  r.current = Object.keys(f);
5625
- }, []), d = Ot(
5619
+ }, []), d = Et(
5626
5620
  (c) => {
5627
5621
  n((m) => {
5628
5622
  const f = {
@@ -5754,7 +5748,7 @@ function pn({
5754
5748
  groupDisabled: s,
5755
5749
  bordered: o
5756
5750
  }) {
5757
- const a = Lt(), {
5751
+ const a = $t(), {
5758
5752
  root: n,
5759
5753
  indicator: r,
5760
5754
  wrapper: i,
@@ -5764,13 +5758,13 @@ function pn({
5764
5758
  bordered: o
5765
5759
  }), m = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
5766
5760
  /* @__PURE__ */ t.jsx(
5767
- gt.Item,
5761
+ ft.Item,
5768
5762
  {
5769
5763
  className: n(),
5770
5764
  disabled: s || e.disabled,
5771
5765
  id: a,
5772
5766
  value: e.value,
5773
- children: /* @__PURE__ */ t.jsx(gt.Indicator, { className: r(), children: /* @__PURE__ */ t.jsx(Kt, { className: "t:h-2.5 t:w-2.5 t:fill-current t:text-current" }) })
5767
+ children: /* @__PURE__ */ t.jsx(ft.Indicator, { className: r(), children: /* @__PURE__ */ t.jsx(Kt, { className: "t:h-2.5 t:w-2.5 t:fill-current t:text-current" }) })
5774
5768
  }
5775
5769
  ),
5776
5770
  e.label && /* @__PURE__ */ t.jsxs("div", { className: o ? "t:pointer-events-none" : void 0, children: [
@@ -5804,7 +5798,7 @@ function xn({
5804
5798
  defaultChecked: i,
5805
5799
  onChange: d
5806
5800
  }) {
5807
- const c = Lt(), {
5801
+ const c = $t(), {
5808
5802
  root: m,
5809
5803
  indicator: f,
5810
5804
  wrapper: g,
@@ -5814,12 +5808,12 @@ function xn({
5814
5808
  bordered: n
5815
5809
  }), j = o ?? "on", v = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
5816
5810
  /* @__PURE__ */ t.jsx(
5817
- gt.Item,
5811
+ ft.Item,
5818
5812
  {
5819
5813
  className: m(),
5820
5814
  id: c,
5821
5815
  value: j,
5822
- children: /* @__PURE__ */ t.jsx(gt.Indicator, { className: f(), children: /* @__PURE__ */ t.jsx(Kt, { className: "t:h-2.5 t:w-2.5 t:fill-current t:text-current" }) })
5816
+ children: /* @__PURE__ */ t.jsx(ft.Indicator, { className: f(), children: /* @__PURE__ */ t.jsx(Kt, { className: "t:h-2.5 t:w-2.5 t:fill-current t:text-current" }) })
5823
5817
  }
5824
5818
  ),
5825
5819
  e && /* @__PURE__ */ t.jsxs("div", { className: n ? "t:pointer-events-none" : void 0, children: [
@@ -5835,7 +5829,7 @@ function xn({
5835
5829
  ] })
5836
5830
  ] });
5837
5831
  return /* @__PURE__ */ t.jsx(
5838
- gt.Root,
5832
+ ft.Root,
5839
5833
  {
5840
5834
  defaultValue: i ? j : void 0,
5841
5835
  disabled: a,
@@ -5865,7 +5859,7 @@ function hn({
5865
5859
  variant: s
5866
5860
  });
5867
5861
  return /* @__PURE__ */ t.jsx(
5868
- gt.Root,
5862
+ ft.Root,
5869
5863
  {
5870
5864
  className: d(),
5871
5865
  defaultValue: a,
@@ -6077,7 +6071,7 @@ const je = 2, ie = k({
6077
6071
  true: "t:opacity-100"
6078
6072
  }
6079
6073
  }
6080
- }), pt = (e, s) => typeof s == "function" ? s(e) : e[s], Dt = (e, s) => typeof s == "function" ? s(e) : String(e[s] ?? ""), yn = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "t:flex t:items-center t:justify-center t:py-2", children: [
6074
+ }), gt = (e, s) => typeof s == "function" ? s(e) : e[s], Dt = (e, s) => typeof s == "function" ? s(e) : String(e[s] ?? ""), yn = ({ children: e }) => /* @__PURE__ */ t.jsxs("div", { className: "t:flex t:items-center t:justify-center t:py-2", children: [
6081
6075
  /* @__PURE__ */ t.jsx(Rt, { className: "t:size-4 t:animate-spin" }),
6082
6076
  /* @__PURE__ */ t.jsx("span", { className: "t:ml-2 t:text-muted-foreground t:text-sm", children: e })
6083
6077
  ] }), Cn = (e, s) => {
@@ -6112,7 +6106,7 @@ const je = 2, ie = k({
6112
6106
  {
6113
6107
  heading: i.group,
6114
6108
  children: i.options.map((c) => {
6115
- const m = pt(c, s), f = Dt(c, o);
6109
+ const m = gt(c, s), f = Dt(c, o);
6116
6110
  return a(c, m, f);
6117
6111
  })
6118
6112
  },
@@ -6142,14 +6136,14 @@ const je = 2, ie = k({
6142
6136
  renderItem: R,
6143
6137
  onScroll: E
6144
6138
  }) => {
6145
- const P = x(), C = P?.components?.select, $ = P?.translations?.select, z = !!m, w = !!f, I = ht(() => !i || !p ? s : s.filter(
6139
+ const P = x(), C = P?.components?.select, $ = P?.translations?.select, T = !!m, w = !!f, I = xt(() => !i || !p ? s : s.filter(
6146
6140
  (W) => Dt(W, o).toLowerCase().includes(p.toLowerCase())
6147
6141
  ), [
6148
6142
  s,
6149
6143
  o,
6150
6144
  i,
6151
6145
  p
6152
- ]), F = ht(
6146
+ ]), F = xt(
6153
6147
  () => Cn(I, n),
6154
6148
  [
6155
6149
  I,
@@ -6173,7 +6167,7 @@ const je = 2, ie = k({
6173
6167
  {
6174
6168
  "aria-expanded": j,
6175
6169
  className: jn({
6176
- hasLeft: z,
6170
+ hasLeft: T,
6177
6171
  hasRight: w,
6178
6172
  mode: e,
6179
6173
  size: h
@@ -6182,7 +6176,7 @@ const je = 2, ie = k({
6182
6176
  role: "combobox",
6183
6177
  type: "button",
6184
6178
  children: [
6185
- z && /* @__PURE__ */ t.jsx(
6179
+ T && /* @__PURE__ */ t.jsx(
6186
6180
  "div",
6187
6181
  {
6188
6182
  className: l(
@@ -6208,7 +6202,7 @@ const je = 2, ie = k({
6208
6202
  }
6209
6203
  ) }),
6210
6204
  /* @__PURE__ */ t.jsx(
6211
- Vt,
6205
+ Mt,
6212
6206
  {
6213
6207
  align: "start",
6214
6208
  className: l(S(), C?.classNames?.content),
@@ -6267,28 +6261,28 @@ const je = 2, ie = k({
6267
6261
  renderValue: N,
6268
6262
  onChange: y
6269
6263
  }) => {
6270
- const E = x()?.components?.select, P = c ?? !0, C = j ?? !1, $ = h ?? !1, z = v ?? "md", [w, I] = O(!1), [F, A] = O(""), [S, D] = O(
6264
+ const E = x()?.components?.select, P = c ?? !0, C = j ?? !1, $ = h ?? !1, T = v ?? "md", [w, I] = O(!1), [F, A] = O(""), [S, D] = O(
6271
6265
  r ?? i ?? null
6272
- ), M = ht(() => S == null ? null : s.find(
6273
- (u) => pt(u, a) === S
6266
+ ), M = xt(() => S == null ? null : s.find(
6267
+ (u) => gt(u, a) === S
6274
6268
  ) ?? null, [
6275
6269
  s,
6276
6270
  S,
6277
6271
  a
6278
- ]), U = ht(() => M ? N ? N(M) : Dt(M, o) : null, [
6272
+ ]), U = xt(() => M ? N ? N(M) : Dt(M, o) : null, [
6279
6273
  M,
6280
6274
  N,
6281
6275
  o
6282
6276
  ]), W = (u) => {
6283
- const T = pt(u, a), L = T === S ? null : T;
6277
+ const z = gt(u, a), L = z === S ? null : z;
6284
6278
  D(L), y?.(L), I(!1), A("");
6285
6279
  }, Z = (u) => {
6286
6280
  if (!f?.hasMore || f?.loadingMore)
6287
6281
  return;
6288
- const { scrollTop: T, scrollHeight: L, clientHeight: _ } = u.currentTarget;
6289
- L - T - _ < 50 && f.onLoadMore?.();
6282
+ const { scrollTop: z, scrollHeight: L, clientHeight: _ } = u.currentTarget;
6283
+ L - z - _ < 50 && f.onLoadMore?.();
6290
6284
  };
6291
- xt(() => {
6285
+ pt(() => {
6292
6286
  r !== void 0 && r !== S && D(r ?? null);
6293
6287
  }, [
6294
6288
  r
@@ -6313,8 +6307,8 @@ const je = 2, ie = k({
6313
6307
  optionLabel: o,
6314
6308
  options: s,
6315
6309
  optionValue: a,
6316
- renderItem: (u, T, L) => {
6317
- const _ = S === T;
6310
+ renderItem: (u, z, L) => {
6311
+ const _ = S === z;
6318
6312
  return /* @__PURE__ */ t.jsxs(
6319
6313
  le,
6320
6314
  {
@@ -6324,7 +6318,7 @@ const je = 2, ie = k({
6324
6318
  E?.classNames?.option
6325
6319
  ),
6326
6320
  onSelect: () => W(u),
6327
- value: String(T),
6321
+ value: String(z),
6328
6322
  children: [
6329
6323
  /* @__PURE__ */ t.jsx("span", { className: "t:truncate", children: p ? p(u) : L }),
6330
6324
  /* @__PURE__ */ t.jsx(
@@ -6337,7 +6331,7 @@ const je = 2, ie = k({
6337
6331
  )
6338
6332
  ]
6339
6333
  },
6340
- String(T)
6334
+ String(z)
6341
6335
  );
6342
6336
  },
6343
6337
  renderOption: p,
@@ -6346,7 +6340,7 @@ const je = 2, ie = k({
6346
6340
  searchable: P,
6347
6341
  searchPlaceholder: m,
6348
6342
  searchQuery: F,
6349
- size: z
6343
+ size: T
6350
6344
  }
6351
6345
  );
6352
6346
  }, Sn = ({
@@ -6370,11 +6364,11 @@ const je = 2, ie = k({
6370
6364
  renderValue: N,
6371
6365
  onChange: y
6372
6366
  }) => {
6373
- const E = x()?.components?.select, P = c ?? !0, C = j ?? !1, $ = h ?? !1, z = v ?? "md", [w, I] = O(!1), [F, A] = O(""), [S, D] = O(
6367
+ const E = x()?.components?.select, P = c ?? !0, C = j ?? !1, $ = h ?? !1, T = v ?? "md", [w, I] = O(!1), [F, A] = O(""), [S, D] = O(
6374
6368
  r ?? i ?? []
6375
- ), M = ht(
6369
+ ), M = xt(
6376
6370
  () => s.filter(
6377
- (_) => S.includes(pt(_, a))
6371
+ (_) => S.includes(gt(_, a))
6378
6372
  ),
6379
6373
  [
6380
6374
  s,
@@ -6382,7 +6376,7 @@ const je = 2, ie = k({
6382
6376
  S
6383
6377
  ]
6384
6378
  ), U = M.slice(0, je), W = M.length - je, Z = (_) => {
6385
- const H = pt(_, a), B = S.includes(H) ? S.filter((rt) => rt !== H) : [
6379
+ const H = gt(_, a), B = S.includes(H) ? S.filter((rt) => rt !== H) : [
6386
6380
  ...S,
6387
6381
  H
6388
6382
  ];
@@ -6397,12 +6391,12 @@ const je = 2, ie = k({
6397
6391
  const { scrollTop: H, scrollHeight: K, clientHeight: B } = _.currentTarget;
6398
6392
  K - H - B < 50 && f.onLoadMore?.();
6399
6393
  };
6400
- xt(() => {
6394
+ pt(() => {
6401
6395
  r !== void 0 && !vn(r, S) && D(r);
6402
6396
  }, [
6403
6397
  r
6404
6398
  ]);
6405
- const u = M.length === 0, { option: T, value: L } = ie({
6399
+ const u = M.length === 0, { option: z, value: L } = ie({
6406
6400
  hasPlaceholder: u
6407
6401
  });
6408
6402
  return /* @__PURE__ */ t.jsx(
@@ -6427,7 +6421,7 @@ const je = 2, ie = k({
6427
6421
  return /* @__PURE__ */ t.jsxs(
6428
6422
  le,
6429
6423
  {
6430
- className: l(T(), E?.classNames?.option),
6424
+ className: l(z(), E?.classNames?.option),
6431
6425
  onSelect: () => Z(_),
6432
6426
  value: String(H),
6433
6427
  children: [
@@ -6441,7 +6435,7 @@ const je = 2, ie = k({
6441
6435
  renderOption: p,
6442
6436
  renderTriggerContent: () => /* @__PURE__ */ t.jsx("div", { className: "t:flex t:min-w-0 t:flex-1 t:items-center t:gap-2", children: M.length > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
6443
6437
  U.map((_) => {
6444
- const H = pt(_, a);
6438
+ const H = gt(_, a);
6445
6439
  return /* @__PURE__ */ t.jsxs(
6446
6440
  Gt,
6447
6441
  {
@@ -6454,7 +6448,7 @@ const je = 2, ie = k({
6454
6448
  className: "t:shrink-0 t:rounded-full t:p-0.5 t:hover:bg-muted-foreground/20",
6455
6449
  onClick: (K) => Q(H, K),
6456
6450
  type: "button",
6457
- children: /* @__PURE__ */ t.jsx(ut, { className: "t:size-3" })
6451
+ children: /* @__PURE__ */ t.jsx(dt, { className: "t:size-3" })
6458
6452
  }
6459
6453
  )
6460
6454
  ]
@@ -6471,7 +6465,7 @@ const je = 2, ie = k({
6471
6465
  searchable: P,
6472
6466
  searchPlaceholder: m,
6473
6467
  searchQuery: F,
6474
- size: z
6468
+ size: T
6475
6469
  }
6476
6470
  );
6477
6471
  }, _r = (e) => e.mode === "multiple" ? /* @__PURE__ */ t.jsx(Sn, { ...e }) : /* @__PURE__ */ t.jsx(kn, { ...e }), Rn = k({
@@ -6497,7 +6491,7 @@ function Er({ orientation: e, decorative: s = !0 }) {
6497
6491
  orientation: n
6498
6492
  });
6499
6493
  return /* @__PURE__ */ t.jsx(
6500
- Ts.Root,
6494
+ zs.Root,
6501
6495
  {
6502
6496
  className: l(r(), a?.classNames?.root),
6503
6497
  decorative: s,
@@ -6505,7 +6499,7 @@ function Er({ orientation: e, decorative: s = !0 }) {
6505
6499
  }
6506
6500
  );
6507
6501
  }
6508
- const jt = k({
6502
+ const vt = k({
6509
6503
  defaultVariants: {
6510
6504
  side: "right"
6511
6505
  },
@@ -6544,13 +6538,13 @@ const jt = k({
6544
6538
  }
6545
6539
  }
6546
6540
  });
6547
- function Tn({
6541
+ function zn({
6548
6542
  open: e,
6549
6543
  side: s = "right",
6550
6544
  onChange: o,
6551
6545
  children: a
6552
6546
  }) {
6553
- const r = x()?.components?.sheet?.default, { overlay: i, content: d, close: c, closeIcon: m } = jt({
6547
+ const r = x()?.components?.sheet?.default, { overlay: i, content: d, close: c, closeIcon: m } = vt({
6554
6548
  side: s
6555
6549
  });
6556
6550
  return /* @__PURE__ */ t.jsx(
@@ -6575,7 +6569,7 @@ function Tn({
6575
6569
  Y.Close,
6576
6570
  {
6577
6571
  className: l(c(), r?.classNames?.close),
6578
- children: /* @__PURE__ */ t.jsx(ut, { className: m() })
6572
+ children: /* @__PURE__ */ t.jsx(dt, { className: m() })
6579
6573
  }
6580
6574
  )
6581
6575
  ]
@@ -6585,35 +6579,35 @@ function Tn({
6585
6579
  }
6586
6580
  );
6587
6581
  }
6588
- function zn({
6582
+ function Tn({
6589
6583
  bordered: e,
6590
6584
  closable: s,
6591
6585
  children: o
6592
6586
  }) {
6593
- const n = x()?.components?.sheet?.header, { header: r, closeInline: i, closeIcon: d } = jt({
6587
+ const n = x()?.components?.sheet?.header, { header: r, closeInline: i, closeIcon: d } = vt({
6594
6588
  bordered: e
6595
6589
  });
6596
6590
  return /* @__PURE__ */ t.jsxs("div", { className: l(r(), n?.classNames?.root), children: [
6597
6591
  /* @__PURE__ */ t.jsx("div", { className: "t:flex t:flex-col t:gap-1", children: o }),
6598
- s && /* @__PURE__ */ t.jsx(Y.Close, { className: i(), children: /* @__PURE__ */ t.jsx(ut, { className: d() }) })
6592
+ s && /* @__PURE__ */ t.jsx(Y.Close, { className: i(), children: /* @__PURE__ */ t.jsx(dt, { className: d() }) })
6599
6593
  ] });
6600
6594
  }
6601
6595
  function Pn({ children: e }) {
6602
- const o = x()?.components?.sheet?.body, { body: a } = jt();
6596
+ const o = x()?.components?.sheet?.body, { body: a } = vt();
6603
6597
  return /* @__PURE__ */ t.jsx("div", { className: l(a(), o?.classNames?.root), children: e });
6604
6598
  }
6605
6599
  function In({ bordered: e, children: s }) {
6606
- const a = x()?.components?.sheet?.footer, { footer: n } = jt({
6600
+ const a = x()?.components?.sheet?.footer, { footer: n } = vt({
6607
6601
  bordered: e
6608
6602
  });
6609
6603
  return /* @__PURE__ */ t.jsx("div", { className: l(n(), a?.classNames?.root), children: s });
6610
6604
  }
6611
6605
  function _n({ children: e }) {
6612
- const o = x()?.components?.sheet?.title, { title: a } = jt();
6606
+ const o = x()?.components?.sheet?.title, { title: a } = vt();
6613
6607
  return /* @__PURE__ */ t.jsx(Y.Title, { className: l(a(), o?.classNames?.root), children: e });
6614
6608
  }
6615
6609
  function En({ children: e }) {
6616
- const o = x()?.components?.sheet?.description, { description: a } = jt();
6610
+ const o = x()?.components?.sheet?.description, { description: a } = vt();
6617
6611
  return /* @__PURE__ */ t.jsx(
6618
6612
  Y.Description,
6619
6613
  {
@@ -6622,12 +6616,12 @@ function En({ children: e }) {
6622
6616
  }
6623
6617
  );
6624
6618
  }
6625
- const Or = Object.assign(Tn, {
6619
+ const Or = Object.assign(zn, {
6626
6620
  Body: Pn,
6627
6621
  Close: Y.Close,
6628
6622
  Description: En,
6629
6623
  Footer: In,
6630
- Header: zn,
6624
+ Header: Tn,
6631
6625
  Title: _n,
6632
6626
  Trigger: Y.Trigger
6633
6627
  }), On = k({
@@ -6811,7 +6805,7 @@ function Ar({
6811
6805
  bordered: d,
6812
6806
  onCheckedChange: c
6813
6807
  }) {
6814
- const m = Lt(), {
6808
+ const m = $t(), {
6815
6809
  root: f,
6816
6810
  thumb: g,
6817
6811
  wrapper: b,
@@ -6856,7 +6850,7 @@ function Ar({
6856
6850
  }
6857
6851
  ) : /* @__PURE__ */ t.jsx("div", { className: b(), children: N });
6858
6852
  }
6859
- const _t = k({
6853
+ const It = k({
6860
6854
  slots: {
6861
6855
  body: "",
6862
6856
  cell: "t:px-4 t:py-3 t:text-sm",
@@ -6919,7 +6913,7 @@ function Mr({
6919
6913
  const [j, v] = O(
6920
6914
  n ?? r ?? []
6921
6915
  ), p = n !== void 0, N = p ? n : j, y = x(), R = y?.components?.table, E = y?.translations?.table;
6922
- xt(() => {
6916
+ pt(() => {
6923
6917
  p && n && v(n);
6924
6918
  }, [
6925
6919
  p,
@@ -6929,12 +6923,12 @@ function Mr({
6929
6923
  root: P,
6930
6924
  table: C,
6931
6925
  header: $,
6932
- headerCell: z,
6926
+ headerCell: T,
6933
6927
  body: w,
6934
6928
  cell: I,
6935
6929
  empty: F,
6936
6930
  selection: A
6937
- } = _t({
6931
+ } = It({
6938
6932
  clickable: !!g
6939
6933
  }), S = e.filter((u) => !u.hide), D = a === "multiple", M = s.map((u) => String(u[o])), U = M.length > 0 && M.every((u) => N.includes(u));
6940
6934
  function W(u) {
@@ -6943,8 +6937,8 @@ function Mr({
6943
6937
  function Z(u) {
6944
6938
  W(u ? M : []);
6945
6939
  }
6946
- function Q(u, T) {
6947
- const L = T ? [
6940
+ function Q(u, z) {
6941
+ const L = z ? [
6948
6942
  ...N,
6949
6943
  u
6950
6944
  ] : N.filter((_) => _ !== u);
@@ -6955,14 +6949,14 @@ function Mr({
6955
6949
  }
6956
6950
  return /* @__PURE__ */ t.jsxs("div", { className: "t:space-y-2", children: [
6957
6951
  /* @__PURE__ */ t.jsxs("div", { className: l(P(), R?.classNames?.root), children: [
6958
- /* @__PURE__ */ t.jsx(Ta, { visible: m }),
6952
+ /* @__PURE__ */ t.jsx(za, { visible: m }),
6959
6953
  /* @__PURE__ */ t.jsxs("table", { className: C(), children: [
6960
6954
  /* @__PURE__ */ t.jsx("thead", { className: l($(), R?.classNames?.header), children: /* @__PURE__ */ t.jsxs("tr", { children: [
6961
6955
  D && /* @__PURE__ */ t.jsx(
6962
6956
  "th",
6963
6957
  {
6964
6958
  className: l(
6965
- z(),
6959
+ T(),
6966
6960
  A(),
6967
6961
  R?.classNames?.selection,
6968
6962
  "t:w-10"
@@ -6980,7 +6974,7 @@ function Mr({
6980
6974
  "th",
6981
6975
  {
6982
6976
  className: l(
6983
- _t({
6977
+ It({
6984
6978
  align: u.align,
6985
6979
  sorter: u.sorter
6986
6980
  }).headerCell(),
@@ -7011,13 +7005,13 @@ function Mr({
7011
7005
  colSpan: S.length + (D ? 1 : 0),
7012
7006
  children: f ?? E?.noData
7013
7007
  }
7014
- ) }) : s.map((u, T) => {
7008
+ ) }) : s.map((u, z) => {
7015
7009
  const L = String(u[o]), _ = N.includes(L);
7016
7010
  return /* @__PURE__ */ t.jsxs(
7017
7011
  "tr",
7018
7012
  {
7019
7013
  className: l(
7020
- _t({
7014
+ It({
7021
7015
  selected: _
7022
7016
  }).row(),
7023
7017
  R?.classNames?.row
@@ -7045,12 +7039,12 @@ function Mr({
7045
7039
  "td",
7046
7040
  {
7047
7041
  className: l(
7048
- _t({
7042
+ It({
7049
7043
  align: H.align
7050
7044
  }).cell(),
7051
7045
  R?.classNames?.cell
7052
7046
  ),
7053
- children: H.selector ? H.selector(u, T) : String(
7047
+ children: H.selector ? H.selector(u, z) : String(
7054
7048
  u[H.key] ?? ""
7055
7049
  )
7056
7050
  },
@@ -7090,7 +7084,7 @@ function Mn({
7090
7084
  }) {
7091
7085
  const i = x()?.components?.tabs?.default, { root: d } = Ft();
7092
7086
  return /* @__PURE__ */ t.jsx(
7093
- At.Root,
7087
+ Lt.Root,
7094
7088
  {
7095
7089
  className: l(d(), i?.classNames?.root),
7096
7090
  defaultValue: a ?? i?.defaultProps?.defaultValue,
@@ -7105,12 +7099,12 @@ function Vn({ children: e, justified: s }) {
7105
7099
  const a = x()?.components?.tabs?.list, { list: n } = Ft({
7106
7100
  justified: s
7107
7101
  });
7108
- return /* @__PURE__ */ t.jsx(At.List, { className: l(n(), a?.classNames?.root), children: e });
7102
+ return /* @__PURE__ */ t.jsx(Lt.List, { className: l(n(), a?.classNames?.root), children: e });
7109
7103
  }
7110
7104
  function Dn({ value: e, children: s }) {
7111
7105
  const a = x()?.components?.tabs?.trigger, { trigger: n } = Ft();
7112
7106
  return /* @__PURE__ */ t.jsx(
7113
- At.Trigger,
7107
+ Lt.Trigger,
7114
7108
  {
7115
7109
  className: l(n(), a?.classNames?.root),
7116
7110
  value: e,
@@ -7121,7 +7115,7 @@ function Dn({ value: e, children: s }) {
7121
7115
  function Fn({ value: e, children: s }) {
7122
7116
  const a = x()?.components?.tabs?.content, { content: n } = Ft();
7123
7117
  return /* @__PURE__ */ t.jsx(
7124
- At.Content,
7118
+ Lt.Content,
7125
7119
  {
7126
7120
  className: l(n(), a?.classNames?.root),
7127
7121
  value: e,
@@ -7152,66 +7146,66 @@ const Vr = Object.assign(Mn, {
7152
7146
  loading: d,
7153
7147
  onChange: c
7154
7148
  }, m) => {
7155
- const g = x()?.components?.tagsInput, b = a ?? g?.defaultProps?.allowDuplicates ?? !1, h = wt(null), [j, v] = O(e ?? s ?? []), [p, N] = O(""), y = (z) => {
7156
- if (!z.trim() || !b && j.includes(z) || o !== void 0 && j.length >= o)
7149
+ const g = x()?.components?.tagsInput, b = a ?? g?.defaultProps?.allowDuplicates ?? !1, h = wt(null), [j, v] = O(e ?? s ?? []), [p, N] = O(""), y = (T) => {
7150
+ if (!T.trim() || !b && j.includes(T) || o !== void 0 && j.length >= o)
7157
7151
  return;
7158
7152
  const w = [
7159
7153
  ...j,
7160
- z
7154
+ T
7161
7155
  ];
7162
7156
  v(w), c?.(w), N("");
7163
- }, R = (z) => {
7164
- const w = j.filter((I, F) => F !== z);
7157
+ }, R = (T) => {
7158
+ const w = j.filter((I, F) => F !== T);
7165
7159
  v(w), c?.(w);
7166
- }, E = (z) => {
7167
- N(z ?? "");
7160
+ }, E = (T) => {
7161
+ N(T ?? "");
7168
7162
  };
7169
- xt(() => {
7170
- const z = h.current;
7171
- if (!z)
7163
+ pt(() => {
7164
+ const T = h.current;
7165
+ if (!T)
7172
7166
  return;
7173
7167
  const w = (I) => {
7174
7168
  I.key === "Enter" && !I.shiftKey && (I.preventDefault(), y(p));
7175
7169
  };
7176
- return z.addEventListener("keydown", w), () => z.removeEventListener("keydown", w);
7170
+ return T.addEventListener("keydown", w), () => T.removeEventListener("keydown", w);
7177
7171
  }, [
7178
7172
  p,
7179
7173
  j
7180
- ]), xt(() => {
7174
+ ]), pt(() => {
7181
7175
  e !== void 0 && v(e);
7182
7176
  }, [
7183
7177
  e
7184
7178
  ]);
7185
7179
  const { root: P, tag: C, tagRemove: $ } = Bn();
7186
7180
  return /* @__PURE__ */ t.jsxs("div", { className: l(P(), g?.classNames?.root), children: [
7187
- j.length > 0 && /* @__PURE__ */ t.jsx("div", { className: "t:flex t:flex-wrap t:gap-2", children: j.map((z, w) => /* @__PURE__ */ t.jsx(
7181
+ j.length > 0 && /* @__PURE__ */ t.jsx("div", { className: "t:flex t:flex-wrap t:gap-2", children: j.map((T, w) => /* @__PURE__ */ t.jsx(
7188
7182
  Gt,
7189
7183
  {
7190
7184
  variant: "secondary",
7191
7185
  children: /* @__PURE__ */ t.jsxs("div", { className: l(C(), g?.classNames?.tag), children: [
7192
- /* @__PURE__ */ t.jsx("span", { children: z }),
7186
+ /* @__PURE__ */ t.jsx("span", { children: T }),
7193
7187
  /* @__PURE__ */ t.jsx(
7194
7188
  "button",
7195
7189
  {
7196
7190
  className: l($(), g?.classNames?.tagRemove),
7197
7191
  onClick: () => R(w),
7198
7192
  type: "button",
7199
- children: /* @__PURE__ */ t.jsx(ut, { className: "t:h-3 t:w-3" })
7193
+ children: /* @__PURE__ */ t.jsx(dt, { className: "t:h-3 t:w-3" })
7200
7194
  }
7201
7195
  )
7202
7196
  ] })
7203
7197
  },
7204
- z
7198
+ T
7205
7199
  )) }),
7206
7200
  /* @__PURE__ */ t.jsx(
7207
- dt,
7201
+ ct,
7208
7202
  {
7209
7203
  disabled: i,
7210
7204
  loading: d,
7211
7205
  onChange: E,
7212
7206
  placeholder: n,
7213
- ref: (z) => {
7214
- h.current = z, typeof m == "function" ? m(z) : m && (m.current = z);
7207
+ ref: (T) => {
7208
+ h.current = T, typeof m == "function" ? m(T) : m && (m.current = T);
7215
7209
  },
7216
7210
  size: r,
7217
7211
  value: p
@@ -7251,13 +7245,13 @@ const Vr = Object.assign(Mn, {
7251
7245
  input: R,
7252
7246
  leftSection: E,
7253
7247
  rightSection: P
7254
- } = Tt({
7248
+ } = zt({
7255
7249
  hasLeft: p,
7256
7250
  hasRight: N,
7257
7251
  size: v
7258
7252
  }), { counter: C, textarea: $ } = Hn({
7259
7253
  hasCounter: !!m
7260
- }), [z, w] = O(a ?? ""), I = o !== void 0, F = I ? (o ?? "").length : z.length;
7254
+ }), [T, w] = O(a ?? ""), I = o !== void 0, F = I ? (o ?? "").length : T.length;
7261
7255
  function A(S) {
7262
7256
  const D = S.target.value;
7263
7257
  I || w(D), f?.(D === "" ? null : D), S.target.style.height = "auto", S.target.style.height = `${S.target.scrollHeight}px`;
@@ -7488,7 +7482,7 @@ function Gr({
7488
7482
  const I = Array.from(w.target.files ?? []);
7489
7483
  P(I), w.target.value = "";
7490
7484
  }
7491
- function z(w) {
7485
+ function T(w) {
7492
7486
  m((I) => I.filter((F, A) => A !== w));
7493
7487
  }
7494
7488
  return /* @__PURE__ */ t.jsxs("div", { children: [
@@ -7546,10 +7540,10 @@ function Gr({
7546
7540
  /* @__PURE__ */ t.jsx(
7547
7541
  X,
7548
7542
  {
7549
- onClick: () => z(I),
7543
+ onClick: () => T(I),
7550
7544
  size: "icon-sm",
7551
7545
  variant: "ghost",
7552
- children: /* @__PURE__ */ t.jsx(ut, { className: "t:h-3 t:w-3" })
7546
+ children: /* @__PURE__ */ t.jsx(dt, { className: "t:h-3 t:w-3" })
7553
7547
  }
7554
7548
  )
7555
7549
  ]
@@ -7581,7 +7575,7 @@ export {
7581
7575
  Ae as HeaderCenter,
7582
7576
  Le as HeaderLeft,
7583
7577
  Me as HeaderRight,
7584
- dt as Input,
7578
+ ct as Input,
7585
7579
  ae as Label,
7586
7580
  Nr as Layout,
7587
7581
  Qo as LayoutContent,
@@ -7591,7 +7585,7 @@ export {
7591
7585
  ga as LayoutNav,
7592
7586
  wa as LayoutSidebar,
7593
7587
  te as Loader,
7594
- Ta as LoadingOverlay,
7588
+ za as LoadingOverlay,
7595
7589
  Jt as MaskInput,
7596
7590
  yr as Modal,
7597
7591
  Cr as NumberInput,
@@ -7600,7 +7594,7 @@ export {
7600
7594
  kr as PasswordInput,
7601
7595
  Sr as PhoneInput,
7602
7596
  Rr as Popover,
7603
- Tr as Progress,
7597
+ zr as Progress,
7604
7598
  Pr as Provider,
7605
7599
  Ir as Radio,
7606
7600
  _r as Select,
@@ -7627,6 +7621,6 @@ export {
7627
7621
  Ut as styles,
7628
7622
  Wr as toast,
7629
7623
  dr as useColorScheme,
7630
- zt as useSidebar,
7631
- zr as useTheme
7624
+ Vt as useSidebar,
7625
+ Tr as useTheme
7632
7626
  };