@vincisys/eyeson 0.8.0 → 0.10.0

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
@@ -4,15 +4,16 @@ import { clsx as h } from "clsx";
4
4
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
5
5
  import * as y from "react";
6
6
  import { createContext as b, forwardRef as x, useContext as S, useEffect as C, useId as ee, useMemo as w, useRef as T, useState as E } from "react";
7
- import { mergeProps as D } from "@base-ui/react/merge-props";
8
- import { useRender as te } from "@base-ui/react/use-render";
7
+ import { Tooltip as D } from "@base-ui/react/tooltip";
8
+ import { mergeProps as te } from "@base-ui/react/merge-props";
9
+ import { useRender as ne } from "@base-ui/react/use-render";
9
10
  import { Checkbox as O } from "@base-ui/react/checkbox";
10
- import { Field as k } from "@base-ui/react/field";
11
- import { Combobox as A } from "@base-ui/react/combobox";
12
- import { Popover as j } from "@base-ui/react/popover";
13
- import { Dialog as M } from "@base-ui/react/dialog";
14
- import { AlertDialog as N } from "@base-ui/react/alert-dialog";
15
- import { Input as ne } from "@base-ui/react/input";
11
+ import { Field as re } from "@base-ui/react/field";
12
+ import { Combobox as k } from "@base-ui/react/combobox";
13
+ import { Popover as A } from "@base-ui/react/popover";
14
+ import { Dialog as j } from "@base-ui/react/dialog";
15
+ import { AlertDialog as M } from "@base-ui/react/alert-dialog";
16
+ import { Input as N } from "@base-ui/react/input";
16
17
  import { Select as P } from "@base-ui/react/select";
17
18
  import { Tabs as F } from "@base-ui/react/tabs";
18
19
  //#region src/lib/utils.ts
@@ -27,7 +28,7 @@ function L(e, t, n) {
27
28
  }
28
29
  //#endregion
29
30
  //#region src/components/Button/Button.tsx
30
- var re = /* @__PURE__ */ new Set([
31
+ var R = /* @__PURE__ */ new Set([
31
32
  "blue-background",
32
33
  "green-background",
33
34
  "green-main",
@@ -39,7 +40,7 @@ var re = /* @__PURE__ */ new Set([
39
40
  "red-background",
40
41
  "red-dark",
41
42
  "red-middle"
42
- ]), R = {
43
+ ]), z = {
43
44
  size: {
44
45
  sm: { classes: "h-[calc(1.75rem*1.188*1.1)] gap-1 rounded-[min(var(--radius-eds-xs),12px)] px-[calc(0.625rem*1.188*1.15)] text-[0.8rem] has-data-[icon=inline-end]:pr-[calc(0.375rem*1.188*1.15)] has-data-[icon=inline-start]:pl-[calc(0.375rem*1.188*1.15)] [&_svg:not([class*='size-'])]:size-3.5 [&_.eds-btn-icon-wrap]:size-3.5" },
45
46
  md: { classes: "h-[calc(2rem*1.188*1.1)] gap-1.5 px-[calc(0.625rem*1.188*1.15)] has-data-[icon=inline-end]:pr-[calc(0.5rem*1.188*1.15)] has-data-[icon=inline-start]:pl-[calc(0.5rem*1.188*1.15)] [&_.eds-btn-icon-wrap]:size-4" },
@@ -51,22 +52,22 @@ var re = /* @__PURE__ */ new Set([
51
52
  ghost: { classes: "border-transparent bg-transparent text-[var(--eds-btn-accent)] hover:bg-[color-mix(in_srgb,var(--eds-btn-accent)_10%,transparent)] hover:text-[color-mix(in_srgb,var(--eds-btn-accent)_88%,black)] data-disabled:not-data-loading:text-eds-neutral-disabled data-loading:data-disabled:text-[var(--eds-btn-accent)]" },
52
53
  link: { classes: "h-auto border-transparent bg-transparent px-0 text-[var(--eds-btn-accent)] underline-offset-4 hover:underline data-disabled:not-data-loading:text-eds-neutral-disabled data-loading:data-disabled:text-[var(--eds-btn-accent)]" }
53
54
  }
54
- }, z = {
55
+ }, ie = {
55
56
  size: "md",
56
57
  variant: "solid"
57
- }, ie = {
58
+ }, B = {
58
59
  sm: 14,
59
60
  md: 16,
60
61
  lg: 16
61
62
  };
62
- function B({ variant: e = z.variant, size: t = z.size, fluid: n = !1 }) {
63
- let r = L(R.size, t, z.size), i = L(R.variant, e, z.variant);
63
+ function V({ variant: e = ie.variant, size: t = ie.size, fluid: n = !1 }) {
64
+ let r = L(z.size, t, ie.size), i = L(z.variant, e, ie.variant);
64
65
  return I("eds-btn group/button inline-flex shrink-0 items-center justify-center rounded-lg border bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none cursor-pointer box-border m-0", "focus-visible:border-[var(--eds-btn-accent)] focus-visible:ring-3 focus-visible:ring-[color-mix(in_srgb,var(--eds-btn-accent)_50%,transparent)]", "active:not-aria-[haspopup]:translate-y-px", "data-disabled:pointer-events-none data-disabled:not-data-loading:opacity-50 data-loading:data-disabled:cursor-wait data-loading:data-disabled:opacity-100", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", r.classes, i.classes, n && "w-full");
65
66
  }
66
- function V({ text: t = "Button", className: n, icon: r, iconPosition: i = "start", variant: a = "solid", color: o = "blue-main", size: s = "md", fluid: c = !1, isLoading: l = !1, disabled: u, style: f, ...p }) {
67
- let m = ie[s], h = !!(u || l), y = !!(l || r), b = i === "end" ? "inline-end" : "inline-start", x = {
67
+ function ae({ text: t = "Button", className: n, icon: r, iconPosition: i = "start", variant: a = "solid", color: o = "blue-main", size: s = "md", fluid: c = !1, isLoading: l = !1, disabled: u, style: f, ...p }) {
68
+ let m = B[s], h = !!(u || l), y = !!(l || r), b = i === "end" ? "inline-end" : "inline-start", x = {
68
69
  "--eds-btn-accent": `var(--color-eds-${o})`,
69
- ...re.has(o) ? { "--eds-btn-solid-fg": "#fff" } : {},
70
+ ...R.has(o) ? { "--eds-btn-solid-fg": "#fff" } : {},
70
71
  ...f
71
72
  }, S = y ? /* @__PURE__ */ _("span", {
72
73
  className: "eds-btn-icon-wrap flex shrink-0 items-center justify-center",
@@ -81,7 +82,7 @@ function V({ text: t = "Button", className: n, icon: r, iconPosition: i = "start
81
82
  })
82
83
  }) : null;
83
84
  return /* @__PURE__ */ _(e, {
84
- className: I(B({
85
+ className: I(V({
85
86
  variant: a,
86
87
  size: s,
87
88
  fluid: c
@@ -97,7 +98,7 @@ function V({ text: t = "Button", className: n, icon: r, iconPosition: i = "start
97
98
  }
98
99
  //#endregion
99
100
  //#region src/constants/colors.ts
100
- var ae = [
101
+ var H = [
101
102
  "blue-background",
102
103
  "blue-dark",
103
104
  "blue-main",
@@ -118,13 +119,13 @@ var ae = [
118
119
  "red-dark",
119
120
  "red-main",
120
121
  "red-middle"
121
- ], H = 365.2425, oe = 6048e5, se = 864e5, ce = 3600 * 24;
122
- ce * 7, ce * H / 12 * 3;
123
- var le = Symbol.for("constructDateFrom");
122
+ ], oe = 365.2425, se = 6048e5, ce = 864e5, le = 3600 * 24;
123
+ le * 7, le * oe / 12 * 3;
124
+ var ue = Symbol.for("constructDateFrom");
124
125
  //#endregion
125
126
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
126
127
  function U(e, t) {
127
- return typeof e == "function" ? e(t) : e && typeof e == "object" && le in e ? e[le](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
128
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && ue in e ? e[ue](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
128
129
  }
129
130
  //#endregion
130
131
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
@@ -133,13 +134,13 @@ function W(e, t) {
133
134
  }
134
135
  //#endregion
135
136
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addDays.js
136
- function ue(e, t, n) {
137
+ function de(e, t, n) {
137
138
  let r = W(e, n?.in);
138
139
  return isNaN(t) ? U(n?.in || e, NaN) : (t && r.setDate(r.getDate() + t), r);
139
140
  }
140
141
  //#endregion
141
142
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addMonths.js
142
- function de(e, t, n) {
143
+ function fe(e, t, n) {
143
144
  let r = W(e, n?.in);
144
145
  if (isNaN(t)) return U(n?.in || e, NaN);
145
146
  if (!t) return r;
@@ -148,112 +149,112 @@ function de(e, t, n) {
148
149
  }
149
150
  //#endregion
150
151
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
151
- var fe = {};
152
- function G() {
153
- return fe;
152
+ var pe = {};
153
+ function me() {
154
+ return pe;
154
155
  }
155
156
  //#endregion
156
157
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
157
- function K(e, t) {
158
- let n = G(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = W(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
158
+ function G(e, t) {
159
+ let n = me(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = W(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
159
160
  return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
160
161
  }
161
162
  //#endregion
162
163
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
163
- function pe(e, t) {
164
- return K(e, {
164
+ function K(e, t) {
165
+ return G(e, {
165
166
  ...t,
166
167
  weekStartsOn: 1
167
168
  });
168
169
  }
169
170
  //#endregion
170
171
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
171
- function me(e, t) {
172
+ function he(e, t) {
172
173
  let n = W(e, t?.in), r = n.getFullYear(), i = U(n, 0);
173
174
  i.setFullYear(r + 1, 0, 4), i.setHours(0, 0, 0, 0);
174
- let a = pe(i), o = U(n, 0);
175
+ let a = K(i), o = U(n, 0);
175
176
  o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
176
- let s = pe(o);
177
+ let s = K(o);
177
178
  return n.getTime() >= a.getTime() ? r + 1 : n.getTime() >= s.getTime() ? r : r - 1;
178
179
  }
179
180
  //#endregion
180
181
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
181
- function he(e) {
182
+ function ge(e) {
182
183
  let t = W(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
183
184
  return n.setUTCFullYear(t.getFullYear()), e - +n;
184
185
  }
185
186
  //#endregion
186
187
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
187
- function ge(e, ...t) {
188
+ function _e(e, ...t) {
188
189
  let n = U.bind(null, e || t.find((e) => typeof e == "object"));
189
190
  return t.map(n);
190
191
  }
191
192
  //#endregion
192
193
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
193
- function _e(e, t) {
194
+ function ve(e, t) {
194
195
  let n = W(e, t?.in);
195
196
  return n.setHours(0, 0, 0, 0), n;
196
197
  }
197
198
  //#endregion
198
199
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
199
- function ve(e, t, n) {
200
- let [r, i] = ge(n?.in, e, t), a = _e(r), o = _e(i), s = +a - he(a), c = +o - he(o);
201
- return Math.round((s - c) / se);
200
+ function ye(e, t, n) {
201
+ let [r, i] = _e(n?.in, e, t), a = ve(r), o = ve(i), s = +a - ge(a), c = +o - ge(o);
202
+ return Math.round((s - c) / ce);
202
203
  }
203
204
  //#endregion
204
205
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
205
- function ye(e, t) {
206
- let n = me(e, t), r = U(t?.in || e, 0);
207
- return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), pe(r);
206
+ function be(e, t) {
207
+ let n = he(e, t), r = U(t?.in || e, 0);
208
+ return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), K(r);
208
209
  }
209
210
  //#endregion
210
211
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructNow.js
211
- function be(e) {
212
+ function xe(e) {
212
213
  return U(e, Date.now());
213
214
  }
214
215
  //#endregion
215
216
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isSameDay.js
216
- function xe(e, t, n) {
217
- let [r, i] = ge(n?.in, e, t);
218
- return +_e(r) == +_e(i);
217
+ function Se(e, t, n) {
218
+ let [r, i] = _e(n?.in, e, t);
219
+ return +ve(r) == +ve(i);
219
220
  }
220
221
  //#endregion
221
222
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
222
- function Se(e) {
223
+ function Ce(e) {
223
224
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
224
225
  }
225
226
  //#endregion
226
227
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
227
- function Ce(e) {
228
- return !(!Se(e) && typeof e != "number" || isNaN(+W(e)));
228
+ function we(e) {
229
+ return !(!Ce(e) && typeof e != "number" || isNaN(+W(e)));
229
230
  }
230
231
  //#endregion
231
232
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/endOfMonth.js
232
- function we(e, t) {
233
+ function Te(e, t) {
233
234
  let n = W(e, t?.in), r = n.getMonth();
234
235
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
235
236
  }
236
237
  //#endregion
237
238
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfMonth.js
238
- function Te(e, t) {
239
+ function Ee(e, t) {
239
240
  let n = W(e, t?.in);
240
241
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
241
242
  }
242
243
  //#endregion
243
244
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
244
- function Ee(e, t) {
245
+ function De(e, t) {
245
246
  let n = W(e, t?.in);
246
247
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
247
248
  }
248
249
  //#endregion
249
250
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/endOfWeek.js
250
- function De(e, t) {
251
- let n = G(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = W(e, t?.in), a = i.getDay(), o = (a < r ? -7 : 0) + 6 - (a - r);
251
+ function Oe(e, t) {
252
+ let n = me(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = W(e, t?.in), a = i.getDay(), o = (a < r ? -7 : 0) + 6 - (a - r);
252
253
  return i.setDate(i.getDate() + o), i.setHours(23, 59, 59, 999), i;
253
254
  }
254
255
  //#endregion
255
256
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
256
- var Oe = {
257
+ var ke = {
257
258
  lessThanXSeconds: {
258
259
  one: "less than a second",
259
260
  other: "less than {{count}} seconds"
@@ -315,20 +316,20 @@ var Oe = {
315
316
  one: "almost 1 year",
316
317
  other: "almost {{count}} years"
317
318
  }
318
- }, ke = (e, t, n) => {
319
- let r, i = Oe[e];
319
+ }, Ae = (e, t, n) => {
320
+ let r, i = ke[e];
320
321
  return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
321
322
  };
322
323
  //#endregion
323
324
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
324
- function Ae(e) {
325
+ function je(e) {
325
326
  return (t = {}) => {
326
327
  let n = t.width ? String(t.width) : e.defaultWidth;
327
328
  return e.formats[n] || e.formats[e.defaultWidth];
328
329
  };
329
330
  }
330
- var je = {
331
- date: Ae({
331
+ var Me = {
332
+ date: je({
332
333
  formats: {
333
334
  full: "EEEE, MMMM do, y",
334
335
  long: "MMMM do, y",
@@ -337,7 +338,7 @@ var je = {
337
338
  },
338
339
  defaultWidth: "full"
339
340
  }),
340
- time: Ae({
341
+ time: je({
341
342
  formats: {
342
343
  full: "h:mm:ss a zzzz",
343
344
  long: "h:mm:ss a z",
@@ -346,7 +347,7 @@ var je = {
346
347
  },
347
348
  defaultWidth: "full"
348
349
  }),
349
- dateTime: Ae({
350
+ dateTime: je({
350
351
  formats: {
351
352
  full: "{{date}} 'at' {{time}}",
352
353
  long: "{{date}} 'at' {{time}}",
@@ -355,17 +356,17 @@ var je = {
355
356
  },
356
357
  defaultWidth: "full"
357
358
  })
358
- }, Me = {
359
+ }, Ne = {
359
360
  lastWeek: "'last' eeee 'at' p",
360
361
  yesterday: "'yesterday at' p",
361
362
  today: "'today at' p",
362
363
  tomorrow: "'tomorrow at' p",
363
364
  nextWeek: "eeee 'at' p",
364
365
  other: "P"
365
- }, Ne = (e, t, n, r) => Me[e];
366
+ }, Pe = (e, t, n, r) => Ne[e];
366
367
  //#endregion
367
368
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
368
- function Pe(e) {
369
+ function Fe(e) {
369
370
  return (t, n) => {
370
371
  let r = n?.context ? String(n.context) : "standalone", i;
371
372
  if (r === "formatting" && e.formattingValues) {
@@ -379,7 +380,7 @@ function Pe(e) {
379
380
  return i[a];
380
381
  };
381
382
  }
382
- var Fe = {
383
+ var Ie = {
383
384
  ordinalNumber: (e, t) => {
384
385
  let n = Number(e), r = n % 100;
385
386
  if (r > 20 || r < 10) switch (r % 10) {
@@ -389,7 +390,7 @@ var Fe = {
389
390
  }
390
391
  return n + "th";
391
392
  },
392
- era: Pe({
393
+ era: Fe({
393
394
  values: {
394
395
  narrow: ["B", "A"],
395
396
  abbreviated: ["BC", "AD"],
@@ -397,7 +398,7 @@ var Fe = {
397
398
  },
398
399
  defaultWidth: "wide"
399
400
  }),
400
- quarter: Pe({
401
+ quarter: Fe({
401
402
  values: {
402
403
  narrow: [
403
404
  "1",
@@ -421,7 +422,7 @@ var Fe = {
421
422
  defaultWidth: "wide",
422
423
  argumentCallback: (e) => e - 1
423
424
  }),
424
- month: Pe({
425
+ month: Fe({
425
426
  values: {
426
427
  narrow: [
427
428
  "J",
@@ -468,7 +469,7 @@ var Fe = {
468
469
  },
469
470
  defaultWidth: "wide"
470
471
  }),
471
- day: Pe({
472
+ day: Fe({
472
473
  values: {
473
474
  narrow: [
474
475
  "S",
@@ -509,7 +510,7 @@ var Fe = {
509
510
  },
510
511
  defaultWidth: "wide"
511
512
  }),
512
- dayPeriod: Pe({
513
+ dayPeriod: Fe({
513
514
  values: {
514
515
  narrow: {
515
516
  am: "a",
@@ -580,11 +581,11 @@ var Fe = {
580
581
  };
581
582
  //#endregion
582
583
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
583
- function Ie(e) {
584
+ function Le(e) {
584
585
  return (t, n = {}) => {
585
586
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
586
587
  if (!a) return null;
587
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Re(s, (e) => e.test(o)) : Le(s, (e) => e.test(o)), l;
588
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? ze(s, (e) => e.test(o)) : Re(s, (e) => e.test(o)), l;
588
589
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
589
590
  let u = t.slice(o.length);
590
591
  return {
@@ -593,15 +594,15 @@ function Ie(e) {
593
594
  };
594
595
  };
595
596
  }
596
- function Le(e, t) {
597
+ function Re(e, t) {
597
598
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
598
599
  }
599
- function Re(e, t) {
600
+ function ze(e, t) {
600
601
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
601
602
  }
602
603
  //#endregion
603
604
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
604
- function ze(e) {
605
+ function Be(e) {
605
606
  return (t, n = {}) => {
606
607
  let r = t.match(e.matchPattern);
607
608
  if (!r) return null;
@@ -618,19 +619,19 @@ function ze(e) {
618
619
  }
619
620
  //#endregion
620
621
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
621
- var Be = {
622
+ var Ve = {
622
623
  code: "en-US",
623
- formatDistance: ke,
624
- formatLong: je,
625
- formatRelative: Ne,
626
- localize: Fe,
624
+ formatDistance: Ae,
625
+ formatLong: Me,
626
+ formatRelative: Pe,
627
+ localize: Ie,
627
628
  match: {
628
- ordinalNumber: ze({
629
+ ordinalNumber: Be({
629
630
  matchPattern: /^(\d+)(th|st|nd|rd)?/i,
630
631
  parsePattern: /\d+/i,
631
632
  valueCallback: (e) => parseInt(e, 10)
632
633
  }),
633
- era: Ie({
634
+ era: Le({
634
635
  matchPatterns: {
635
636
  narrow: /^(b|a)/i,
636
637
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
@@ -640,7 +641,7 @@ var Be = {
640
641
  parsePatterns: { any: [/^b/i, /^(a|c)/i] },
641
642
  defaultParseWidth: "any"
642
643
  }),
643
- quarter: Ie({
644
+ quarter: Le({
644
645
  matchPatterns: {
645
646
  narrow: /^[1234]/i,
646
647
  abbreviated: /^q[1234]/i,
@@ -656,7 +657,7 @@ var Be = {
656
657
  defaultParseWidth: "any",
657
658
  valueCallback: (e) => e + 1
658
659
  }),
659
- month: Ie({
660
+ month: Le({
660
661
  matchPatterns: {
661
662
  narrow: /^[jfmasond]/i,
662
663
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
@@ -695,7 +696,7 @@ var Be = {
695
696
  },
696
697
  defaultParseWidth: "any"
697
698
  }),
698
- day: Ie({
699
+ day: Le({
699
700
  matchPatterns: {
700
701
  narrow: /^[smtwf]/i,
701
702
  short: /^(su|mo|tu|we|th|fr|sa)/i,
@@ -725,7 +726,7 @@ var Be = {
725
726
  },
726
727
  defaultParseWidth: "any"
727
728
  }),
728
- dayPeriod: Ie({
729
+ dayPeriod: Le({
729
730
  matchPatterns: {
730
731
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
731
732
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
@@ -751,37 +752,37 @@ var Be = {
751
752
  };
752
753
  //#endregion
753
754
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
754
- function Ve(e, t) {
755
+ function He(e, t) {
755
756
  let n = W(e, t?.in);
756
- return ve(n, Ee(n)) + 1;
757
+ return ye(n, De(n)) + 1;
757
758
  }
758
759
  //#endregion
759
760
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
760
- function He(e, t) {
761
- let n = W(e, t?.in), r = pe(n) - +ye(n);
762
- return Math.round(r / oe) + 1;
761
+ function Ue(e, t) {
762
+ let n = W(e, t?.in), r = K(n) - +be(n);
763
+ return Math.round(r / se) + 1;
763
764
  }
764
765
  //#endregion
765
766
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js
766
- function Ue(e, t) {
767
- let n = W(e, t?.in), r = n.getFullYear(), i = G(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = U(t?.in || e, 0);
767
+ function We(e, t) {
768
+ let n = W(e, t?.in), r = n.getFullYear(), i = me(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = U(t?.in || e, 0);
768
769
  o.setFullYear(r + 1, 0, a), o.setHours(0, 0, 0, 0);
769
- let s = K(o, t), c = U(t?.in || e, 0);
770
+ let s = G(o, t), c = U(t?.in || e, 0);
770
771
  c.setFullYear(r, 0, a), c.setHours(0, 0, 0, 0);
771
- let l = K(c, t);
772
+ let l = G(c, t);
772
773
  return +n >= +s ? r + 1 : +n >= +l ? r : r - 1;
773
774
  }
774
775
  //#endregion
775
776
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js
776
- function We(e, t) {
777
- let n = G(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Ue(e, t), a = U(t?.in || e, 0);
778
- return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), K(a, t);
777
+ function Ge(e, t) {
778
+ let n = me(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = We(e, t), a = U(t?.in || e, 0);
779
+ return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), G(a, t);
779
780
  }
780
781
  //#endregion
781
782
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js
782
- function Ge(e, t) {
783
- let n = W(e, t?.in), r = K(n, t) - +We(n, t);
784
- return Math.round(r / oe) + 1;
783
+ function Ke(e, t) {
784
+ let n = W(e, t?.in), r = G(n, t) - +Ge(n, t);
785
+ return Math.round(r / se) + 1;
785
786
  }
786
787
  //#endregion
787
788
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js
@@ -790,7 +791,7 @@ function q(e, t) {
790
791
  }
791
792
  //#endregion
792
793
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js
793
- var Ke = {
794
+ var qe = {
794
795
  y(e, t) {
795
796
  let n = e.getFullYear(), r = n > 0 ? n : 1 - n;
796
797
  return q(t === "yy" ? r % 100 : r, t.length);
@@ -828,7 +829,7 @@ var Ke = {
828
829
  let n = t.length, r = e.getMilliseconds();
829
830
  return q(Math.trunc(r * 10 ** (n - 3)), t.length);
830
831
  }
831
- }, qe = {
832
+ }, Je = {
832
833
  am: "am",
833
834
  pm: "pm",
834
835
  midnight: "midnight",
@@ -837,7 +838,7 @@ var Ke = {
837
838
  afternoon: "afternoon",
838
839
  evening: "evening",
839
840
  night: "night"
840
- }, Je = {
841
+ }, Ye = {
841
842
  G: function(e, t, n) {
842
843
  let r = +(e.getFullYear() > 0);
843
844
  switch (t) {
@@ -853,14 +854,14 @@ var Ke = {
853
854
  let t = e.getFullYear(), r = t > 0 ? t : 1 - t;
854
855
  return n.ordinalNumber(r, { unit: "year" });
855
856
  }
856
- return Ke.y(e, t);
857
+ return qe.y(e, t);
857
858
  },
858
859
  Y: function(e, t, n, r) {
859
- let i = Ue(e, r), a = i > 0 ? i : 1 - i;
860
+ let i = We(e, r), a = i > 0 ? i : 1 - i;
860
861
  return t === "YY" ? q(a % 100, 2) : t === "Yo" ? n.ordinalNumber(a, { unit: "year" }) : q(a, t.length);
861
862
  },
862
863
  R: function(e, t) {
863
- return q(me(e), t.length);
864
+ return q(he(e), t.length);
864
865
  },
865
866
  u: function(e, t) {
866
867
  return q(e.getFullYear(), t.length);
@@ -909,7 +910,7 @@ var Ke = {
909
910
  let r = e.getMonth();
910
911
  switch (t) {
911
912
  case "M":
912
- case "MM": return Ke.M(e, t);
913
+ case "MM": return qe.M(e, t);
913
914
  case "Mo": return n.ordinalNumber(r + 1, { unit: "month" });
914
915
  case "MMM": return n.month(r, {
915
916
  width: "abbreviated",
@@ -946,18 +947,18 @@ var Ke = {
946
947
  }
947
948
  },
948
949
  w: function(e, t, n, r) {
949
- let i = Ge(e, r);
950
+ let i = Ke(e, r);
950
951
  return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : q(i, t.length);
951
952
  },
952
953
  I: function(e, t, n) {
953
- let r = He(e);
954
+ let r = Ue(e);
954
955
  return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : q(r, t.length);
955
956
  },
956
957
  d: function(e, t, n) {
957
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : Ke.d(e, t);
958
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : qe.d(e, t);
958
959
  },
959
960
  D: function(e, t, n) {
960
- let r = Ve(e);
961
+ let r = He(e);
961
962
  return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : q(r, t.length);
962
963
  },
963
964
  E: function(e, t, n) {
@@ -1079,7 +1080,7 @@ var Ke = {
1079
1080
  },
1080
1081
  b: function(e, t, n) {
1081
1082
  let r = e.getHours(), i;
1082
- switch (i = r === 12 ? qe.noon : r === 0 ? qe.midnight : r / 12 >= 1 ? "pm" : "am", t) {
1083
+ switch (i = r === 12 ? Je.noon : r === 0 ? Je.midnight : r / 12 >= 1 ? "pm" : "am", t) {
1083
1084
  case "b":
1084
1085
  case "bb": return n.dayPeriod(i, {
1085
1086
  width: "abbreviated",
@@ -1101,7 +1102,7 @@ var Ke = {
1101
1102
  },
1102
1103
  B: function(e, t, n) {
1103
1104
  let r = e.getHours(), i;
1104
- switch (i = r >= 17 ? qe.evening : r >= 12 ? qe.afternoon : r >= 4 ? qe.morning : qe.night, t) {
1105
+ switch (i = r >= 17 ? Je.evening : r >= 12 ? Je.afternoon : r >= 4 ? Je.morning : Je.night, t) {
1105
1106
  case "B":
1106
1107
  case "BB":
1107
1108
  case "BBB": return n.dayPeriod(i, {
@@ -1123,10 +1124,10 @@ var Ke = {
1123
1124
  let t = e.getHours() % 12;
1124
1125
  return t === 0 && (t = 12), n.ordinalNumber(t, { unit: "hour" });
1125
1126
  }
1126
- return Ke.h(e, t);
1127
+ return qe.h(e, t);
1127
1128
  },
1128
1129
  H: function(e, t, n) {
1129
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : Ke.H(e, t);
1130
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : qe.H(e, t);
1130
1131
  },
1131
1132
  K: function(e, t, n) {
1132
1133
  let r = e.getHours() % 12;
@@ -1137,31 +1138,31 @@ var Ke = {
1137
1138
  return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : q(r, t.length);
1138
1139
  },
1139
1140
  m: function(e, t, n) {
1140
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Ke.m(e, t);
1141
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : qe.m(e, t);
1141
1142
  },
1142
1143
  s: function(e, t, n) {
1143
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : Ke.s(e, t);
1144
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : qe.s(e, t);
1144
1145
  },
1145
1146
  S: function(e, t) {
1146
- return Ke.S(e, t);
1147
+ return qe.S(e, t);
1147
1148
  },
1148
1149
  X: function(e, t, n) {
1149
1150
  let r = e.getTimezoneOffset();
1150
1151
  if (r === 0) return "Z";
1151
1152
  switch (t) {
1152
- case "X": return Xe(r);
1153
+ case "X": return Ze(r);
1153
1154
  case "XXXX":
1154
- case "XX": return Ze(r);
1155
- default: return Ze(r, ":");
1155
+ case "XX": return Qe(r);
1156
+ default: return Qe(r, ":");
1156
1157
  }
1157
1158
  },
1158
1159
  x: function(e, t, n) {
1159
1160
  let r = e.getTimezoneOffset();
1160
1161
  switch (t) {
1161
- case "x": return Xe(r);
1162
+ case "x": return Ze(r);
1162
1163
  case "xxxx":
1163
- case "xx": return Ze(r);
1164
- default: return Ze(r, ":");
1164
+ case "xx": return Qe(r);
1165
+ default: return Qe(r, ":");
1165
1166
  }
1166
1167
  },
1167
1168
  O: function(e, t, n) {
@@ -1169,8 +1170,8 @@ var Ke = {
1169
1170
  switch (t) {
1170
1171
  case "O":
1171
1172
  case "OO":
1172
- case "OOO": return "GMT" + Ye(r, ":");
1173
- default: return "GMT" + Ze(r, ":");
1173
+ case "OOO": return "GMT" + Xe(r, ":");
1174
+ default: return "GMT" + Qe(r, ":");
1174
1175
  }
1175
1176
  },
1176
1177
  z: function(e, t, n) {
@@ -1178,8 +1179,8 @@ var Ke = {
1178
1179
  switch (t) {
1179
1180
  case "z":
1180
1181
  case "zz":
1181
- case "zzz": return "GMT" + Ye(r, ":");
1182
- default: return "GMT" + Ze(r, ":");
1182
+ case "zzz": return "GMT" + Xe(r, ":");
1183
+ default: return "GMT" + Qe(r, ":");
1183
1184
  }
1184
1185
  },
1185
1186
  t: function(e, t, n) {
@@ -1189,38 +1190,38 @@ var Ke = {
1189
1190
  return q(+e, t.length);
1190
1191
  }
1191
1192
  };
1192
- function Ye(e, t = "") {
1193
+ function Xe(e, t = "") {
1193
1194
  let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), a = r % 60;
1194
1195
  return a === 0 ? n + String(i) : n + String(i) + t + q(a, 2);
1195
1196
  }
1196
- function Xe(e, t) {
1197
- return e % 60 == 0 ? (e > 0 ? "-" : "+") + q(Math.abs(e) / 60, 2) : Ze(e, t);
1197
+ function Ze(e, t) {
1198
+ return e % 60 == 0 ? (e > 0 ? "-" : "+") + q(Math.abs(e) / 60, 2) : Qe(e, t);
1198
1199
  }
1199
- function Ze(e, t = "") {
1200
+ function Qe(e, t = "") {
1200
1201
  let n = e > 0 ? "-" : "+", r = Math.abs(e), i = q(Math.trunc(r / 60), 2), a = q(r % 60, 2);
1201
1202
  return n + i + t + a;
1202
1203
  }
1203
1204
  //#endregion
1204
1205
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js
1205
- var Qe = (e, t) => {
1206
+ var $e = (e, t) => {
1206
1207
  switch (e) {
1207
1208
  case "P": return t.date({ width: "short" });
1208
1209
  case "PP": return t.date({ width: "medium" });
1209
1210
  case "PPP": return t.date({ width: "long" });
1210
1211
  default: return t.date({ width: "full" });
1211
1212
  }
1212
- }, $e = (e, t) => {
1213
+ }, et = (e, t) => {
1213
1214
  switch (e) {
1214
1215
  case "p": return t.time({ width: "short" });
1215
1216
  case "pp": return t.time({ width: "medium" });
1216
1217
  case "ppp": return t.time({ width: "long" });
1217
1218
  default: return t.time({ width: "full" });
1218
1219
  }
1219
- }, et = {
1220
- p: $e,
1220
+ }, tt = {
1221
+ p: et,
1221
1222
  P: (e, t) => {
1222
1223
  let n = e.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
1223
- if (!i) return Qe(e, t);
1224
+ if (!i) return $e(e, t);
1224
1225
  let a;
1225
1226
  switch (r) {
1226
1227
  case "P":
@@ -1236,42 +1237,42 @@ var Qe = (e, t) => {
1236
1237
  a = t.dateTime({ width: "full" });
1237
1238
  break;
1238
1239
  }
1239
- return a.replace("{{date}}", Qe(r, t)).replace("{{time}}", $e(i, t));
1240
+ return a.replace("{{date}}", $e(r, t)).replace("{{time}}", et(i, t));
1240
1241
  }
1241
- }, tt = /^D+$/, nt = /^Y+$/, rt = [
1242
+ }, nt = /^D+$/, rt = /^Y+$/, it = [
1242
1243
  "D",
1243
1244
  "DD",
1244
1245
  "YY",
1245
1246
  "YYYY"
1246
1247
  ];
1247
- function it(e) {
1248
- return tt.test(e);
1249
- }
1250
1248
  function at(e) {
1251
1249
  return nt.test(e);
1252
1250
  }
1253
- function ot(e, t, n) {
1254
- let r = st(e, t, n);
1255
- if (console.warn(r), rt.includes(e)) throw RangeError(r);
1251
+ function ot(e) {
1252
+ return rt.test(e);
1256
1253
  }
1257
1254
  function st(e, t, n) {
1255
+ let r = ct(e, t, n);
1256
+ if (console.warn(r), it.includes(e)) throw RangeError(r);
1257
+ }
1258
+ function ct(e, t, n) {
1258
1259
  let r = e[0] === "Y" ? "years" : "days of the month";
1259
1260
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1260
1261
  }
1261
1262
  //#endregion
1262
1263
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
1263
- var ct = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, lt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ut = /^'([^]*?)'?$/, dt = /''/g, ft = /[a-zA-Z]/;
1264
+ var lt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ut = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, dt = /^'([^]*?)'?$/, ft = /''/g, pt = /[a-zA-Z]/;
1264
1265
  function J(e, t, n) {
1265
- let r = G(), i = n?.locale ?? r.locale ?? Be, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = W(e, n?.in);
1266
- if (!Ce(s)) throw RangeError("Invalid time value");
1267
- let c = t.match(lt).map((e) => {
1266
+ let r = me(), i = n?.locale ?? r.locale ?? Ve, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = W(e, n?.in);
1267
+ if (!we(s)) throw RangeError("Invalid time value");
1268
+ let c = t.match(ut).map((e) => {
1268
1269
  let t = e[0];
1269
1270
  if (t === "p" || t === "P") {
1270
- let n = et[t];
1271
+ let n = tt[t];
1271
1272
  return n(e, i.formatLong);
1272
1273
  }
1273
1274
  return e;
1274
- }).join("").match(ct).map((e) => {
1275
+ }).join("").match(lt).map((e) => {
1275
1276
  if (e === "''") return {
1276
1277
  isToken: !1,
1277
1278
  value: "'"
@@ -1279,13 +1280,13 @@ function J(e, t, n) {
1279
1280
  let t = e[0];
1280
1281
  if (t === "'") return {
1281
1282
  isToken: !1,
1282
- value: pt(e)
1283
+ value: mt(e)
1283
1284
  };
1284
- if (Je[t]) return {
1285
+ if (Ye[t]) return {
1285
1286
  isToken: !0,
1286
1287
  value: e
1287
1288
  };
1288
- if (t.match(ft)) throw RangeError("Format string contains an unescaped latin alphabet character `" + t + "`");
1289
+ if (t.match(pt)) throw RangeError("Format string contains an unescaped latin alphabet character `" + t + "`");
1289
1290
  return {
1290
1291
  isToken: !1,
1291
1292
  value: e
@@ -1300,72 +1301,72 @@ function J(e, t, n) {
1300
1301
  return c.map((r) => {
1301
1302
  if (!r.isToken) return r.value;
1302
1303
  let a = r.value;
1303
- (!n?.useAdditionalWeekYearTokens && at(a) || !n?.useAdditionalDayOfYearTokens && it(a)) && ot(a, t, String(e));
1304
- let o = Je[a[0]];
1304
+ (!n?.useAdditionalWeekYearTokens && ot(a) || !n?.useAdditionalDayOfYearTokens && at(a)) && st(a, t, String(e));
1305
+ let o = Ye[a[0]];
1305
1306
  return o(s, a, i.localize, l);
1306
1307
  }).join("");
1307
1308
  }
1308
- function pt(e) {
1309
- let t = e.match(ut);
1310
- return t ? t[1].replace(dt, "'") : e;
1309
+ function mt(e) {
1310
+ let t = e.match(dt);
1311
+ return t ? t[1].replace(ft, "'") : e;
1311
1312
  }
1312
1313
  //#endregion
1313
1314
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getHours.js
1314
- function mt(e, t) {
1315
+ function ht(e, t) {
1315
1316
  return W(e, t?.in).getHours();
1316
1317
  }
1317
1318
  //#endregion
1318
1319
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getMinutes.js
1319
- function ht(e, t) {
1320
+ function gt(e, t) {
1320
1321
  return W(e, t?.in).getMinutes();
1321
1322
  }
1322
1323
  //#endregion
1323
1324
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isAfter.js
1324
- function gt(e, t) {
1325
+ function _t(e, t) {
1325
1326
  return +W(e) > +W(t);
1326
1327
  }
1327
1328
  //#endregion
1328
1329
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isBefore.js
1329
- function _t(e, t) {
1330
+ function vt(e, t) {
1330
1331
  return +W(e) < +W(t);
1331
1332
  }
1332
1333
  //#endregion
1333
1334
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isSameMonth.js
1334
- function vt(e, t, n) {
1335
- let [r, i] = ge(n?.in, e, t);
1335
+ function yt(e, t, n) {
1336
+ let [r, i] = _e(n?.in, e, t);
1336
1337
  return r.getFullYear() === i.getFullYear() && r.getMonth() === i.getMonth();
1337
1338
  }
1338
1339
  //#endregion
1339
1340
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isToday.js
1340
- function yt(e, t) {
1341
- return xe(U(t?.in || e, e), be(t?.in || e));
1341
+ function bt(e, t) {
1342
+ return Se(U(t?.in || e, e), xe(t?.in || e));
1342
1343
  }
1343
1344
  //#endregion
1344
1345
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setHours.js
1345
- function bt(e, t, n) {
1346
+ function xt(e, t, n) {
1346
1347
  let r = W(e, n?.in);
1347
1348
  return r.setHours(t), r;
1348
1349
  }
1349
1350
  //#endregion
1350
1351
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setMinutes.js
1351
- function xt(e, t, n) {
1352
+ function St(e, t, n) {
1352
1353
  let r = W(e, n?.in);
1353
1354
  return r.setMinutes(t), r;
1354
1355
  }
1355
1356
  //#endregion
1356
1357
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/setSeconds.js
1357
- function St(e, t, n) {
1358
+ function Ct(e, t, n) {
1358
1359
  let r = W(e, n?.in);
1359
1360
  return r.setSeconds(t), r;
1360
1361
  }
1361
1362
  //#endregion
1362
1363
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/subMonths.js
1363
- function Ct(e, t, n) {
1364
- return de(e, -t, n);
1364
+ function wt(e, t, n) {
1365
+ return fe(e, -t, n);
1365
1366
  }
1366
1367
  //#endregion
1367
1368
  //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/pt-BR/_lib/formatDistance.js
1368
- var wt = {
1369
+ var Tt = {
1369
1370
  lessThanXSeconds: {
1370
1371
  one: "menos de um segundo",
1371
1372
  other: "menos de {{count}} segundos"
@@ -1427,11 +1428,11 @@ var wt = {
1427
1428
  one: "quase 1 ano",
1428
1429
  other: "quase {{count}} anos"
1429
1430
  }
1430
- }, Tt = (e, t, n) => {
1431
- let r, i = wt[e];
1431
+ }, Et = (e, t, n) => {
1432
+ let r, i = Tt[e];
1432
1433
  return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", String(t)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "em " + r : "há " + r : r;
1433
- }, Et = {
1434
- date: Ae({
1434
+ }, Dt = {
1435
+ date: je({
1435
1436
  formats: {
1436
1437
  full: "EEEE, d 'de' MMMM 'de' y",
1437
1438
  long: "d 'de' MMMM 'de' y",
@@ -1440,7 +1441,7 @@ var wt = {
1440
1441
  },
1441
1442
  defaultWidth: "full"
1442
1443
  }),
1443
- time: Ae({
1444
+ time: je({
1444
1445
  formats: {
1445
1446
  full: "HH:mm:ss zzzz",
1446
1447
  long: "HH:mm:ss z",
@@ -1449,7 +1450,7 @@ var wt = {
1449
1450
  },
1450
1451
  defaultWidth: "full"
1451
1452
  }),
1452
- dateTime: Ae({
1453
+ dateTime: je({
1453
1454
  formats: {
1454
1455
  full: "{{date}} 'às' {{time}}",
1455
1456
  long: "{{date}} 'às' {{time}}",
@@ -1458,7 +1459,7 @@ var wt = {
1458
1459
  },
1459
1460
  defaultWidth: "full"
1460
1461
  })
1461
- }, Dt = {
1462
+ }, Ot = {
1462
1463
  lastWeek: (e) => {
1463
1464
  let t = e.getDay();
1464
1465
  return "'" + (t === 0 || t === 6 ? "último" : "última") + "' eeee 'às' p";
@@ -1468,12 +1469,12 @@ var wt = {
1468
1469
  tomorrow: "'amanhã às' p",
1469
1470
  nextWeek: "eeee 'às' p",
1470
1471
  other: "P"
1471
- }, Ot = {
1472
+ }, kt = {
1472
1473
  code: "pt-BR",
1473
- formatDistance: Tt,
1474
- formatLong: Et,
1474
+ formatDistance: Et,
1475
+ formatLong: Dt,
1475
1476
  formatRelative: (e, t, n, r) => {
1476
- let i = Dt[e];
1477
+ let i = Ot[e];
1477
1478
  return typeof i == "function" ? i(t) : i;
1478
1479
  },
1479
1480
  localize: {
@@ -1481,7 +1482,7 @@ var wt = {
1481
1482
  let n = Number(e);
1482
1483
  return t?.unit === "week" ? n + "ª" : n + "º";
1483
1484
  },
1484
- era: Pe({
1485
+ era: Fe({
1485
1486
  values: {
1486
1487
  narrow: ["AC", "DC"],
1487
1488
  abbreviated: ["AC", "DC"],
@@ -1489,7 +1490,7 @@ var wt = {
1489
1490
  },
1490
1491
  defaultWidth: "wide"
1491
1492
  }),
1492
- quarter: Pe({
1493
+ quarter: Fe({
1493
1494
  values: {
1494
1495
  narrow: [
1495
1496
  "1",
@@ -1513,7 +1514,7 @@ var wt = {
1513
1514
  defaultWidth: "wide",
1514
1515
  argumentCallback: (e) => e - 1
1515
1516
  }),
1516
- month: Pe({
1517
+ month: Fe({
1517
1518
  values: {
1518
1519
  narrow: [
1519
1520
  "j",
@@ -1560,7 +1561,7 @@ var wt = {
1560
1561
  },
1561
1562
  defaultWidth: "wide"
1562
1563
  }),
1563
- day: Pe({
1564
+ day: Fe({
1564
1565
  values: {
1565
1566
  narrow: [
1566
1567
  "D",
@@ -1601,7 +1602,7 @@ var wt = {
1601
1602
  },
1602
1603
  defaultWidth: "wide"
1603
1604
  }),
1604
- dayPeriod: Pe({
1605
+ dayPeriod: Fe({
1605
1606
  values: {
1606
1607
  narrow: {
1607
1608
  am: "a",
@@ -1671,12 +1672,12 @@ var wt = {
1671
1672
  })
1672
1673
  },
1673
1674
  match: {
1674
- ordinalNumber: ze({
1675
+ ordinalNumber: Be({
1675
1676
  matchPattern: /^(\d+)[ºªo]?/i,
1676
1677
  parsePattern: /\d+/i,
1677
1678
  valueCallback: (e) => parseInt(e, 10)
1678
1679
  }),
1679
- era: Ie({
1680
+ era: Le({
1680
1681
  matchPatterns: {
1681
1682
  narrow: /^(ac|dc|a|d)/i,
1682
1683
  abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i,
@@ -1689,7 +1690,7 @@ var wt = {
1689
1690
  },
1690
1691
  defaultParseWidth: "any"
1691
1692
  }),
1692
- quarter: Ie({
1693
+ quarter: Le({
1693
1694
  matchPatterns: {
1694
1695
  narrow: /^[1234]/i,
1695
1696
  abbreviated: /^T[1234]/i,
@@ -1705,7 +1706,7 @@ var wt = {
1705
1706
  defaultParseWidth: "any",
1706
1707
  valueCallback: (e) => e + 1
1707
1708
  }),
1708
- month: Ie({
1709
+ month: Le({
1709
1710
  matchPatterns: {
1710
1711
  narrow: /^[jfmajsond]/i,
1711
1712
  abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,
@@ -1744,7 +1745,7 @@ var wt = {
1744
1745
  },
1745
1746
  defaultParseWidth: "any"
1746
1747
  }),
1747
- day: Ie({
1748
+ day: Le({
1748
1749
  matchPatterns: {
1749
1750
  narrow: /^(dom|[23456]ª?|s[aá]b)/i,
1750
1751
  short: /^(dom|[23456]ª?|s[aá]b)/i,
@@ -1783,7 +1784,7 @@ var wt = {
1783
1784
  },
1784
1785
  defaultParseWidth: "any"
1785
1786
  }),
1786
- dayPeriod: Ie({
1787
+ dayPeriod: Le({
1787
1788
  matchPatterns: {
1788
1789
  narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i,
1789
1790
  any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i
@@ -1806,7 +1807,7 @@ var wt = {
1806
1807
  weekStartsOn: 0,
1807
1808
  firstWeekContainsDate: 1
1808
1809
  }
1809
- }, kt = {
1810
+ }, At = {
1810
1811
  sm: {
1811
1812
  classes: "size-[calc(1.75rem*1.188*1.1)] rounded-[min(var(--radius-eds-xs),12px)] [&_svg:not([class*='size-'])]:size-3.5",
1812
1813
  iconPx: 14
@@ -1820,30 +1821,44 @@ var wt = {
1820
1821
  iconPx: 16
1821
1822
  }
1822
1823
  };
1823
- function At({ icon: t, label: n, className: r, variant: i = "ghost", color: a = "neutral-main", size: o = "md", disabled: s, style: c, ...l }) {
1824
- let u = L(kt, o, z.size), d = L(R.variant, i, z.variant);
1825
- return /* @__PURE__ */ _(e, {
1824
+ function jt({ icon: t, label: n, className: r, variant: i = "ghost", color: a = "neutral-main", hoverColor: o, size: s = "md", disabled: c, style: l, tooltip: u, ...d }) {
1825
+ let f = ee(), p = L(At, s, ie.size), m = L(z.variant, i, ie.variant), h = /* @__PURE__ */ _(e, {
1826
1826
  style: {
1827
- "--eds-btn-accent": `var(--color-eds-${a})`,
1828
- ...re.has(a) ? { "--eds-btn-solid-fg": "#fff" } : {},
1829
- ...c
1827
+ "--eds-btn-base-accent": `var(--color-eds-${a})`,
1828
+ ...R.has(a) ? { "--eds-btn-solid-fg": "#fff" } : {},
1829
+ ...o ? { "--eds-btn-hover-accent": `var(--color-eds-${o})` } : {},
1830
+ ...l
1830
1831
  },
1831
- disabled: s,
1832
- ...l,
1832
+ disabled: c,
1833
+ ...d,
1833
1834
  type: "button",
1834
1835
  "aria-label": n,
1835
- title: n,
1836
+ "aria-describedby": u ? f : void 0,
1837
+ title: u ? void 0 : n,
1836
1838
  "data-eds-component": "IconButton",
1837
- className: I("group/button inline-flex shrink-0 items-center justify-center rounded-lg border bg-clip-padding text-sm font-medium transition-all outline-none select-none cursor-pointer box-border m-0", "focus-visible:border-[var(--eds-btn-accent)] focus-visible:ring-3 focus-visible:ring-[color-mix(in_srgb,var(--eds-btn-accent)_50%,transparent)]", "active:not-aria-[haspopup]:translate-y-px", "data-disabled:pointer-events-none data-disabled:opacity-50", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", u.classes, d.classes, r),
1839
+ className: I("group/button inline-flex shrink-0 items-center justify-center rounded-lg border bg-clip-padding text-sm font-medium transition-all outline-none select-none cursor-pointer box-border m-0", "focus-visible:border-[var(--eds-btn-accent)] focus-visible:ring-3 focus-visible:ring-[color-mix(in_srgb,var(--eds-btn-accent)_50%,transparent)]", "active:not-aria-[haspopup]:translate-y-px", "data-disabled:pointer-events-none data-disabled:opacity-50", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "[--eds-btn-accent:var(--eds-btn-base-accent)]", o && "hover:[--eds-btn-accent:var(--eds-btn-hover-accent)] focus-visible:[--eds-btn-accent:var(--eds-btn-hover-accent)]", o && i === "outline" && "hover:border-[color-mix(in_srgb,var(--eds-btn-accent)_90%,black)]", p.classes, m.classes, r),
1838
1840
  children: /* @__PURE__ */ _(t, {
1839
- size: u.iconPx,
1841
+ size: p.iconPx,
1840
1842
  "aria-hidden": !0
1841
1843
  })
1842
1844
  });
1845
+ return u ? /* @__PURE__ */ v(D.Root, { children: [/* @__PURE__ */ _(D.Trigger, {
1846
+ delay: 300,
1847
+ render: h
1848
+ }), /* @__PURE__ */ _(D.Portal, { children: /* @__PURE__ */ _(D.Positioner, {
1849
+ sideOffset: 6,
1850
+ children: /* @__PURE__ */ _(D.Popup, {
1851
+ id: f,
1852
+ role: "tooltip",
1853
+ "data-eds-component": "IconButtonTooltip",
1854
+ className: "z-50 rounded-eds-xs border border-eds-outline-border bg-eds-neutral-elements px-2 py-1 text-xs font-medium text-white shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)] transition-[transform,opacity] duration-100 ease-out data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
1855
+ children: u
1856
+ })
1857
+ }) })] }) : h;
1843
1858
  }
1844
1859
  //#endregion
1845
1860
  //#region src/components/Calendar/Calendar.tsx
1846
- var jt = [
1861
+ var Mt = [
1847
1862
  "Dom",
1848
1863
  "Seg",
1849
1864
  "Ter",
@@ -1852,13 +1867,13 @@ var jt = [
1852
1867
  "Sex",
1853
1868
  "Sáb"
1854
1869
  ];
1855
- function Mt(e, t) {
1856
- let n = K(Te(e), { weekStartsOn: t }), r = De(we(e), { weekStartsOn: t }), i = [];
1857
- for (let e = n; e <= r; e = ue(e, 1)) i.push(e);
1870
+ function Nt(e, t) {
1871
+ let n = G(Ee(e), { weekStartsOn: t }), r = Oe(Te(e), { weekStartsOn: t }), i = [];
1872
+ for (let e = n; e <= r; e = de(e, 1)) i.push(e);
1858
1873
  return i;
1859
1874
  }
1860
- function Nt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVisibleEvents: i = 3, weekStartsOn: a = 0, onDayClick: o, onEventClick: l, renderEvent: u, showNavigation: d = !0, className: f }) {
1861
- let [p, m] = E(() => t ?? /* @__PURE__ */ new Date()), h = e !== void 0, g = h ? e : p, y = w(() => [...jt.slice(a), ...jt.slice(0, a)], [a]), b = w(() => Mt(g, a), [g, a]), x = w(() => {
1875
+ function Pt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVisibleEvents: i = 3, weekStartsOn: a = 0, onDayClick: o, onEventClick: l, renderEvent: u, showNavigation: d = !0, className: f }) {
1876
+ let [p, m] = E(() => t ?? /* @__PURE__ */ new Date()), h = e !== void 0, g = h ? e : p, y = w(() => [...Mt.slice(a), ...Mt.slice(0, a)], [a]), b = w(() => Nt(g, a), [g, a]), x = w(() => {
1862
1877
  let e = /* @__PURE__ */ new Map();
1863
1878
  for (let t of r) {
1864
1879
  let n = J(t.date, "yyyy-MM-dd"), r = e.get(n);
@@ -1876,19 +1891,19 @@ function Nt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVi
1876
1891
  className: "mb-3 flex shrink-0 items-center justify-between",
1877
1892
  children: [/* @__PURE__ */ _("span", {
1878
1893
  className: "text-base font-medium text-eds-neutral-main capitalize",
1879
- children: J(g, "MMMM yyyy", { locale: Ot })
1894
+ children: J(g, "MMMM yyyy", { locale: kt })
1880
1895
  }), /* @__PURE__ */ v("div", {
1881
1896
  className: "flex items-center gap-1",
1882
- children: [/* @__PURE__ */ _(At, {
1897
+ children: [/* @__PURE__ */ _(jt, {
1883
1898
  icon: s,
1884
1899
  label: "Mês anterior",
1885
1900
  size: "sm",
1886
- onClick: () => S(Ct(g, 1))
1887
- }), /* @__PURE__ */ _(At, {
1901
+ onClick: () => S(wt(g, 1))
1902
+ }), /* @__PURE__ */ _(jt, {
1888
1903
  icon: c,
1889
1904
  label: "Próximo mês",
1890
1905
  size: "sm",
1891
- onClick: () => S(de(g, 1))
1906
+ onClick: () => S(fe(g, 1))
1892
1907
  })]
1893
1908
  })]
1894
1909
  }), /* @__PURE__ */ v("div", {
@@ -1902,7 +1917,7 @@ function Nt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVi
1902
1917
  }), /* @__PURE__ */ _("div", {
1903
1918
  className: "grid flex-1 auto-rows-fr grid-cols-7",
1904
1919
  children: b.map((e, t) => {
1905
- let n = vt(e, g), r = yt(e), a = J(e, "yyyy-MM-dd"), s = x.get(a) ?? [], c = s.slice(0, i), d = s.length - c.length, f = n ? J(e, "d") : J(e, "d MMM", { locale: Ot });
1920
+ let n = yt(e, g), r = bt(e), a = J(e, "yyyy-MM-dd"), s = x.get(a) ?? [], c = s.slice(0, i), d = s.length - c.length, f = n ? J(e, "d") : J(e, "d MMM", { locale: kt });
1906
1921
  return /* @__PURE__ */ v("div", {
1907
1922
  "data-date": a,
1908
1923
  onClick: () => o?.(e),
@@ -1957,73 +1972,73 @@ function Nt({ month: e, defaultMonth: t, onMonthChange: n, events: r = [], maxVi
1957
1972
  }
1958
1973
  //#endregion
1959
1974
  //#region src/components/Card/Card.tsx
1960
- function Pt({ className: e, ...t }) {
1975
+ function Ft({ className: e, ...t }) {
1961
1976
  return /* @__PURE__ */ _("div", {
1962
1977
  "data-eds-component": "Card",
1963
1978
  className: I("flex flex-col gap-6 rounded-eds-sm border border-eds-outline-border bg-white py-6 text-eds-neutral-main shadow-sm", e),
1964
1979
  ...t
1965
1980
  });
1966
1981
  }
1967
- function Ft({ className: e, ...t }) {
1982
+ function It({ className: e, ...t }) {
1968
1983
  return /* @__PURE__ */ _("div", {
1969
1984
  "data-slot": "card-header",
1970
1985
  className: I("grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-[[data-slot=card-action]]:grid-cols-[1fr_auto]", e),
1971
1986
  ...t
1972
1987
  });
1973
1988
  }
1974
- function It({ className: e, ...t }) {
1989
+ function Lt({ className: e, ...t }) {
1975
1990
  return /* @__PURE__ */ _("h3", {
1976
1991
  "data-slot": "card-title",
1977
1992
  className: I("text-lg leading-none font-semibold text-eds-neutral-main", e),
1978
1993
  ...t
1979
1994
  });
1980
1995
  }
1981
- function Lt({ className: e, ...t }) {
1996
+ function Rt({ className: e, ...t }) {
1982
1997
  return /* @__PURE__ */ _("p", {
1983
1998
  "data-slot": "card-description",
1984
1999
  className: I("text-sm text-eds-neutral-elements", e),
1985
2000
  ...t
1986
2001
  });
1987
2002
  }
1988
- function Rt({ className: e, ...t }) {
2003
+ function zt({ className: e, ...t }) {
1989
2004
  return /* @__PURE__ */ _("div", {
1990
2005
  "data-slot": "card-action",
1991
2006
  className: I("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
1992
2007
  ...t
1993
2008
  });
1994
2009
  }
1995
- function zt({ className: e, ...t }) {
2010
+ function Bt({ className: e, ...t }) {
1996
2011
  return /* @__PURE__ */ _("div", {
1997
2012
  "data-slot": "card-content",
1998
2013
  className: I("px-6", e),
1999
2014
  ...t
2000
2015
  });
2001
2016
  }
2002
- function Bt({ className: e, ...t }) {
2017
+ function Vt({ className: e, ...t }) {
2003
2018
  return /* @__PURE__ */ _("div", {
2004
2019
  "data-slot": "card-footer",
2005
2020
  className: I("-mb-6 -mt-6 flex flex-col-reverse gap-2 rounded-b-eds-sm border-t border-eds-outline-border bg-eds-neutral-background px-6 py-4 sm:flex-row sm:justify-end", e),
2006
2021
  ...t
2007
2022
  });
2008
2023
  }
2009
- Ft.displayName = "Card.Header", It.displayName = "Card.Title", Lt.displayName = "Card.Description", Rt.displayName = "Card.Action", zt.displayName = "Card.Content", Bt.displayName = "Card.Footer";
2010
- var Vt = Object.assign(Pt, {
2011
- Header: Ft,
2012
- Title: It,
2013
- Description: Lt,
2014
- Action: Rt,
2015
- Content: zt,
2016
- Footer: Bt
2017
- }), Ht = {
2024
+ It.displayName = "Card.Header", Lt.displayName = "Card.Title", Rt.displayName = "Card.Description", zt.displayName = "Card.Action", Bt.displayName = "Card.Content", Vt.displayName = "Card.Footer";
2025
+ var Ht = Object.assign(Ft, {
2026
+ Header: It,
2027
+ Title: Lt,
2028
+ Description: Rt,
2029
+ Action: zt,
2030
+ Content: Bt,
2031
+ Footer: Vt
2032
+ }), Ut = {
2018
2033
  default: { classes: "gap-2 text-sm has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2 has-data-[slot=attachment-media]:p-2" },
2019
2034
  sm: { classes: "gap-2.5 text-xs has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5 has-data-[slot=attachment-media]:p-1.5" },
2020
2035
  xs: { classes: "gap-1.5 rounded-eds-lil text-xs has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1 has-data-[slot=attachment-media]:p-1" }
2021
- }, Ut = {
2036
+ }, Wt = {
2022
2037
  horizontal: { classes: "min-w-40 items-center" },
2023
2038
  vertical: { classes: "w-24 flex-col has-data-[slot=attachment-content]:w-[7.5rem]" }
2024
2039
  };
2025
- function Wt({ className: e, state: t = "done", size: n = "default", orientation: r = "horizontal", ...i }) {
2026
- let a = L(Ht, n, "default"), o = L(Ut, r, "horizontal");
2040
+ function Gt({ className: e, state: t = "done", size: n = "default", orientation: r = "horizontal", ...i }) {
2041
+ let a = L(Ut, n, "default"), o = L(Wt, r, "horizontal");
2027
2042
  return /* @__PURE__ */ _("div", {
2028
2043
  "data-eds-component": "Attachment",
2029
2044
  "data-slot": "attachment",
@@ -2034,7 +2049,7 @@ function Wt({ className: e, state: t = "done", size: n = "default", orientation:
2034
2049
  ...i
2035
2050
  });
2036
2051
  }
2037
- function Gt({ className: e, variant: t = "icon", ...n }) {
2052
+ function Kt({ className: e, variant: t = "icon", ...n }) {
2038
2053
  return /* @__PURE__ */ _("div", {
2039
2054
  "data-slot": "attachment-media",
2040
2055
  "data-variant": t,
@@ -2042,36 +2057,36 @@ function Gt({ className: e, variant: t = "icon", ...n }) {
2042
2057
  ...n
2043
2058
  });
2044
2059
  }
2045
- function Kt({ className: e, ...t }) {
2060
+ function qt({ className: e, ...t }) {
2046
2061
  return /* @__PURE__ */ _("div", {
2047
2062
  "data-slot": "attachment-content",
2048
2063
  className: I("max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1", e),
2049
2064
  ...t
2050
2065
  });
2051
2066
  }
2052
- function qt({ className: e, ...t }) {
2067
+ function Jt({ className: e, ...t }) {
2053
2068
  return /* @__PURE__ */ _("span", {
2054
2069
  "data-slot": "attachment-title",
2055
2070
  className: I("block max-w-full min-w-0 truncate font-medium text-eds-neutral-main", "group-data-[state=uploading]/attachment:animate-eds-shimmer group-data-[state=processing]/attachment:animate-eds-shimmer", "group-data-[state=uploading]/attachment:text-eds-blue-main group-data-[state=processing]/attachment:text-eds-blue-main", e),
2056
2071
  ...t
2057
2072
  });
2058
2073
  }
2059
- function Jt({ className: e, ...t }) {
2074
+ function Yt({ className: e, ...t }) {
2060
2075
  return /* @__PURE__ */ _("span", {
2061
2076
  "data-slot": "attachment-description",
2062
2077
  className: I("mt-0.5 block max-w-full min-w-0 truncate text-xs text-eds-neutral-elements", "group-data-[state=error]/attachment:text-eds-red-main/85", "group-data-[state=uploading]/attachment:text-eds-blue-middle group-data-[state=processing]/attachment:text-eds-blue-middle", e),
2063
2078
  ...t
2064
2079
  });
2065
2080
  }
2066
- function Yt({ className: e, ...t }) {
2081
+ function Xt({ className: e, ...t }) {
2067
2082
  return /* @__PURE__ */ _("div", {
2068
2083
  "data-slot": "attachment-actions",
2069
2084
  className: I("relative z-20 flex shrink-0 items-center", "group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:right-3 group-data-[orientation=vertical]/attachment:gap-1", e),
2070
2085
  ...t
2071
2086
  });
2072
2087
  }
2073
- function Xt({ variant: e = "ghost", color: t = "blue-main", size: n = "sm", className: r, ...i }) {
2074
- return /* @__PURE__ */ _(At, {
2088
+ function Zt({ variant: e = "ghost", color: t = "blue-main", size: n = "sm", className: r, ...i }) {
2089
+ return /* @__PURE__ */ _(jt, {
2075
2090
  "data-slot": "attachment-action",
2076
2091
  variant: e,
2077
2092
  color: t,
@@ -2080,10 +2095,10 @@ function Xt({ variant: e = "ghost", color: t = "blue-main", size: n = "sm", clas
2080
2095
  ...i
2081
2096
  });
2082
2097
  }
2083
- function Zt({ className: e, render: t, type: n, ...r }) {
2084
- return te({
2098
+ function Qt({ className: e, render: t, type: n, ...r }) {
2099
+ return ne({
2085
2100
  defaultTagName: "button",
2086
- props: D({
2101
+ props: te({
2087
2102
  type: t ? n : n ?? "button",
2088
2103
  className: I("absolute inset-0 z-10 cursor-pointer rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-eds-blue-main/45", e)
2089
2104
  }, r),
@@ -2091,7 +2106,7 @@ function Zt({ className: e, render: t, type: n, ...r }) {
2091
2106
  state: { slot: "attachment-trigger" }
2092
2107
  });
2093
2108
  }
2094
- function Qt({ className: e, ...t }) {
2109
+ function $t({ className: e, ...t }) {
2095
2110
  return /* @__PURE__ */ _("div", {
2096
2111
  "data-eds-component": "AttachmentGroup",
2097
2112
  "data-slot": "attachment-group",
@@ -2099,21 +2114,21 @@ function Qt({ className: e, ...t }) {
2099
2114
  ...t
2100
2115
  });
2101
2116
  }
2102
- Gt.displayName = "Attachment.Media", Kt.displayName = "Attachment.Content", qt.displayName = "Attachment.Title", Jt.displayName = "Attachment.Description", Yt.displayName = "Attachment.Actions", Xt.displayName = "Attachment.Action", Zt.displayName = "Attachment.Trigger", Qt.displayName = "Attachment.Group";
2103
- var $t = Object.assign(Wt, {
2104
- Media: Gt,
2105
- Content: Kt,
2106
- Title: qt,
2107
- Description: Jt,
2108
- Actions: Yt,
2109
- Action: Xt,
2110
- Trigger: Zt,
2111
- Group: Qt
2112
- }), en = I("relative flex size-[18px] shrink-0 items-center justify-center rounded-[4px] border border-eds-neutral-elements bg-white transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-eds-brand focus-visible:ring-offset-1", "data-checked:border-eds-blue-main data-checked:bg-eds-blue-main", "data-indeterminate:border-eds-blue-main data-indeterminate:bg-eds-blue-main", "data-disabled:cursor-not-allowed data-disabled:border-eds-neutral-disabled data-disabled:bg-eds-neutral-background data-disabled:opacity-70");
2113
- function tn({ className: e, ...t }) {
2117
+ Kt.displayName = "Attachment.Media", qt.displayName = "Attachment.Content", Jt.displayName = "Attachment.Title", Yt.displayName = "Attachment.Description", Xt.displayName = "Attachment.Actions", Zt.displayName = "Attachment.Action", Qt.displayName = "Attachment.Trigger", $t.displayName = "Attachment.Group";
2118
+ var en = Object.assign(Gt, {
2119
+ Media: Kt,
2120
+ Content: qt,
2121
+ Title: Jt,
2122
+ Description: Yt,
2123
+ Actions: Xt,
2124
+ Action: Zt,
2125
+ Trigger: Qt,
2126
+ Group: $t
2127
+ }), tn = I("relative flex size-[18px] shrink-0 items-center justify-center rounded-[4px] border border-eds-neutral-elements bg-white transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-eds-brand focus-visible:ring-offset-1", "data-checked:border-eds-blue-main data-checked:bg-eds-blue-main", "data-indeterminate:border-eds-blue-main data-indeterminate:bg-eds-blue-main", "data-disabled:cursor-not-allowed data-disabled:border-eds-neutral-disabled data-disabled:bg-eds-neutral-background data-disabled:opacity-70");
2128
+ function nn({ className: e, ...t }) {
2114
2129
  return /* @__PURE__ */ _(O.Root, {
2115
2130
  "data-eds-component": "Checkbox",
2116
- className: I(en, e),
2131
+ className: I(tn, e),
2117
2132
  ...t,
2118
2133
  children: /* @__PURE__ */ _(O.Indicator, {
2119
2134
  keepMounted: !0,
@@ -2133,17 +2148,17 @@ function tn({ className: e, ...t }) {
2133
2148
  })
2134
2149
  });
2135
2150
  }
2136
- function nn({ className: e, label: t, disabled: n, ...r }) {
2137
- return t ? /* @__PURE__ */ _(k.Root, {
2151
+ function rn({ className: e, label: t, disabled: n, ...r }) {
2152
+ return t ? /* @__PURE__ */ _(re.Root, {
2138
2153
  className: I("inline-flex", e),
2139
- children: /* @__PURE__ */ v(k.Label, {
2154
+ children: /* @__PURE__ */ v(re.Label, {
2140
2155
  className: I("inline-flex min-h-7 cursor-pointer items-center gap-[9px] rounded-md pl-2 text-base leading-6 text-eds-default", n && "cursor-not-allowed opacity-70"),
2141
- children: [/* @__PURE__ */ _(tn, {
2156
+ children: [/* @__PURE__ */ _(nn, {
2142
2157
  disabled: n,
2143
2158
  ...r
2144
2159
  }), /* @__PURE__ */ _("span", { children: t })]
2145
2160
  })
2146
- }) : /* @__PURE__ */ _(tn, {
2161
+ }) : /* @__PURE__ */ _(nn, {
2147
2162
  className: e,
2148
2163
  disabled: n,
2149
2164
  ...r
@@ -2151,13 +2166,14 @@ function nn({ className: e, label: t, disabled: n, ...r }) {
2151
2166
  }
2152
2167
  //#endregion
2153
2168
  //#region src/lib/field-styles.ts
2154
- function rn(e) {
2169
+ function an(e) {
2155
2170
  return e ?? "floating";
2156
2171
  }
2157
- var an = {
2172
+ var on = {
2158
2173
  sm: {
2159
2174
  control: "h-9 px-3",
2160
2175
  trigger: "h-9 px-3",
2176
+ triggerMultiple: "min-h-9 px-3 py-1",
2161
2177
  text: "text-sm",
2162
2178
  left: "left-3",
2163
2179
  icon: "size-6",
@@ -2166,6 +2182,7 @@ var an = {
2166
2182
  md: {
2167
2183
  control: "h-10 px-3.5",
2168
2184
  trigger: "h-10 px-3.5",
2185
+ triggerMultiple: "min-h-10 px-3.5 py-1.5",
2169
2186
  text: "text-base",
2170
2187
  left: "left-3.5",
2171
2188
  icon: "size-7",
@@ -2174,153 +2191,193 @@ var an = {
2174
2191
  lg: {
2175
2192
  control: "h-12 px-4",
2176
2193
  trigger: "h-12 px-4",
2194
+ triggerMultiple: "min-h-12 px-4 py-2",
2177
2195
  text: "text-base",
2178
2196
  left: "left-4",
2179
2197
  icon: "size-8",
2180
2198
  paddingX: "px-4"
2181
2199
  }
2182
- }, on = {
2200
+ }, sn = {
2183
2201
  overlay: "z-[1300]",
2184
2202
  popup: "z-[1400]",
2185
2203
  overlayValue: 1300,
2186
2204
  popupValue: 1400
2187
- }, sn = "box-border inline-flex w-[214px] flex-col gap-1.5 data-fluid:w-full", cn = "flex items-center justify-between gap-3", ln = "inline-flex items-baseline gap-1 text-sm text-eds-neutral-main", un = "text-eds-neutral-disabled", dn = "placeholder:text-eds-neutral-disabled placeholder:opacity-100", fn = "data-placeholder:text-eds-neutral-disabled", pn = "group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70", mn = "box-border min-w-(--anchor-width) max-h-[280px] overflow-visible rounded-eds-xs border border-eds-outline-border bg-white py-1 shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)]", hn = "box-border max-h-60 overflow-y-auto overscroll-contain p-0.5 outline-none", gn = "box-border flex w-full cursor-pointer items-center gap-2 rounded-md px-2.5 py-2 text-left text-sm text-eds-neutral-main data-highlighted:bg-eds-neutral-elements/10 data-disabled:cursor-not-allowed data-disabled:opacity-50", _n = "inline-flex size-4 shrink-0 items-center justify-center text-eds-blue-main", vn = `${on.popup} outline-none`, yn = { zIndex: on.popupValue };
2188
- function bn(e) {
2205
+ }, cn = "box-border inline-flex w-[214px] flex-col gap-1.5 data-fluid:w-full", ln = "flex items-center justify-between gap-3", un = "inline-flex items-baseline gap-1 text-sm text-eds-neutral-main", dn = "text-eds-neutral-disabled", fn = "placeholder:text-eds-neutral-disabled placeholder:opacity-100", pn = "data-placeholder:text-eds-neutral-disabled", mn = "group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70", hn = "box-border min-w-(--anchor-width) max-h-[280px] overflow-visible rounded-eds-xs border border-eds-outline-border bg-white py-1 shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)]", gn = "box-border max-h-60 overflow-y-auto overscroll-contain p-0.5 outline-none", _n = "box-border flex w-full cursor-pointer items-center gap-2 rounded-md px-2.5 py-2 text-left text-sm text-eds-neutral-main data-highlighted:bg-eds-neutral-elements/10 data-disabled:cursor-not-allowed data-disabled:opacity-50", vn = "inline-flex size-4 shrink-0 items-center justify-center text-eds-blue-main", yn = `${sn.popup} outline-none`, bn = { zIndex: sn.popupValue };
2206
+ function xn(e) {
2189
2207
  return `pointer-events-none absolute top-0 z-1 -translate-y-1/2 bg-transparent px-0 pr-1 text-sm text-eds-neutral-elements ${e} before:absolute before:inset-x-0 before:top-1/2 before:-z-10 before:h-0.5 before:-translate-y-1/2 before:bg-white before:content-[''] group-data-disabled:before:bg-eds-neutral-background`;
2190
2208
  }
2191
2209
  //#endregion
2192
2210
  //#region src/components/ComboBox/Combobox.tsx
2193
- var xn = {
2211
+ var Sn = {
2194
2212
  default: "",
2195
2213
  valid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2196
2214
  invalid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2197
- }, Sn = "inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md text-eds-neutral-elements hover:not-data-disabled:bg-eds-neutral-elements/8 hover:not-data-disabled:text-eds-neutral-main focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2 data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", Cn = A.Root;
2198
- function wn({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "Selecione uma opção", disabled: i = !1, required: s = !1, fluid: c = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma opção válida", emptyMessage: p = "Nenhum resultado.", readOnly: h = !1, id: g, name: y, value: b, defaultValue: x, onValueChange: S, getItemLabel: C, getItemValue: w, renderItem: T, className: E, inputProps: D }) {
2199
- let te = ee(), O = g ?? te, k = l === "invalid", j = k || !!d, M = an[u], N = rn(t), ne = N === "floating", P = (e) => C ? C(e) : e.label ?? "", F = (e) => w ? w(e) : e.value ?? P(e), L = (e) => {
2200
- S?.(e);
2201
- }, re = C ? (e) => C(e) : void 0, R = w ? (e) => w(e) : void 0;
2215
+ }, Cn = "inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md text-eds-neutral-elements hover:not-data-disabled:bg-eds-neutral-elements/8 hover:not-data-disabled:text-eds-neutral-main focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2 data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", wn = "inline-flex h-6 max-w-full items-center gap-1 rounded-eds-lil bg-eds-blue-background/45 py-0 pr-1 pl-2 text-xs text-eds-blue-main", Tn = "inline-flex shrink-0 cursor-pointer items-center justify-center rounded p-1 text-eds-blue-main hover:not-data-disabled:bg-eds-blue-main/15 data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", En = k.Root;
2216
+ function Dn({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "Selecione uma opção", disabled: i = !1, required: s = !1, fluid: c = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma opção válida", emptyMessage: p = "Nenhum resultado.", readOnly: h = !1, id: g, name: y, multiple: b, value: x, defaultValue: S, onValueChange: C, getItemLabel: w, getItemValue: T, getRemoveItemLabel: E, renderItem: D, renderChip: te, className: ne, inputProps: O }) {
2217
+ let re = ee(), A = g ?? re, j = l === "invalid", M = j || !!d, N = on[u], P = an(t), F = P === "floating", L = (e) => w ? w(e) : e.label ?? "", R = (e) => T ? T(e) : e.value ?? L(e), z = (e) => {
2218
+ C?.(e);
2219
+ }, ie = w ? (e) => w(e) : void 0, B = T ? (e) => T(e) : void 0, V = /* @__PURE__ */ v("div", {
2220
+ className: "inline-flex shrink-0 items-center",
2221
+ children: [/* @__PURE__ */ _(k.Clear, {
2222
+ className: I(Cn, N.icon),
2223
+ "aria-label": "Limpar seleção",
2224
+ "data-disabled": i || void 0,
2225
+ children: /* @__PURE__ */ _(m, {
2226
+ className: "size-4 shrink-0",
2227
+ strokeWidth: 2,
2228
+ "aria-hidden": !0
2229
+ })
2230
+ }), /* @__PURE__ */ _(k.Trigger, {
2231
+ className: I(Cn, N.icon),
2232
+ "aria-label": "Abrir lista",
2233
+ "data-disabled": i || void 0,
2234
+ children: /* @__PURE__ */ _(o, {
2235
+ className: "size-4 shrink-0",
2236
+ strokeWidth: 2,
2237
+ "aria-hidden": !0
2238
+ })
2239
+ })]
2240
+ }), ae = F ? /* @__PURE__ */ v("span", {
2241
+ className: xn(N.left),
2242
+ children: [/* @__PURE__ */ _("span", { children: e }), s && /* @__PURE__ */ _("span", {
2243
+ className: "text-eds-red-main",
2244
+ "aria-hidden": "true",
2245
+ children: "*"
2246
+ })]
2247
+ }) : null;
2202
2248
  return /* @__PURE__ */ v("div", {
2203
- className: I(sn, E),
2249
+ className: I(cn, ne),
2204
2250
  "data-fluid": c || void 0,
2205
2251
  "data-eds-component": "Combobox",
2206
- "data-label-variant": N,
2252
+ "data-label-variant": P,
2207
2253
  children: [
2208
2254
  /* @__PURE__ */ _("div", {
2209
- className: cn,
2255
+ className: ln,
2210
2256
  children: /* @__PURE__ */ v("label", {
2211
- className: I(ln, ne && "sr-only", !ne && "font-medium"),
2212
- htmlFor: O,
2257
+ className: I(un, F && "sr-only", !F && "font-medium"),
2258
+ htmlFor: A,
2213
2259
  children: [/* @__PURE__ */ _("span", { children: e }), s && /* @__PURE__ */ _("span", {
2214
2260
  className: "text-eds-red-main",
2215
2261
  children: "*"
2216
2262
  })]
2217
2263
  })
2218
2264
  }),
2219
- /* @__PURE__ */ v(Cn, {
2265
+ /* @__PURE__ */ v(En, {
2220
2266
  items: n,
2221
2267
  name: y,
2268
+ multiple: b,
2222
2269
  disabled: i,
2223
2270
  required: s,
2224
- onValueChange: S ? L : void 0,
2225
- ...b === void 0 ? x === void 0 ? {} : { defaultValue: x } : { value: b },
2226
- itemToStringLabel: re,
2227
- itemToStringValue: R,
2228
- children: [/* @__PURE__ */ v(A.InputGroup, {
2229
- className: I(pn, "box-border py-0", M.trigger, xn[l]),
2271
+ onValueChange: C ? z : void 0,
2272
+ ...x === void 0 ? S === void 0 ? {} : { defaultValue: S } : { value: x },
2273
+ itemToStringLabel: ie,
2274
+ itemToStringValue: B,
2275
+ children: [b ? /* @__PURE__ */ v(k.Chips, {
2276
+ className: I(mn, "h-auto flex-wrap content-start gap-1.5", N.triggerMultiple, Sn[l]),
2230
2277
  "data-state": l,
2231
2278
  "data-size": u,
2232
2279
  "data-disabled": i || void 0,
2233
- "data-floating": ne || void 0,
2280
+ "data-floating": F || void 0,
2234
2281
  children: [
2235
- ne && /* @__PURE__ */ v("span", {
2236
- className: bn(M.left),
2237
- children: [/* @__PURE__ */ _("span", { children: e }), s && /* @__PURE__ */ _("span", {
2238
- className: "text-eds-red-main",
2239
- "aria-hidden": "true",
2240
- children: "*"
2282
+ ae,
2283
+ /* @__PURE__ */ _(k.Value, { children: (e) => e.map((e) => /* @__PURE__ */ v(k.Chip, {
2284
+ className: wn,
2285
+ children: [/* @__PURE__ */ _("span", {
2286
+ className: "truncate",
2287
+ children: te ? te(e) : L(e)
2288
+ }), /* @__PURE__ */ _(k.ChipRemove, {
2289
+ className: Tn,
2290
+ "aria-label": E ? E(e) : `Remover ${L(e)}`,
2291
+ children: /* @__PURE__ */ _(m, {
2292
+ size: 10,
2293
+ strokeWidth: 2.5,
2294
+ "aria-hidden": !0
2295
+ })
2241
2296
  })]
2242
- }),
2243
- /* @__PURE__ */ _(A.Input, {
2244
- ...D,
2245
- id: O,
2246
- className: I("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none disabled:cursor-not-allowed read-only:not-disabled:cursor-pointer", dn, M.text),
2297
+ }, R(e))) }),
2298
+ /* @__PURE__ */ v("div", {
2299
+ className: "flex min-w-[120px] flex-1 items-center gap-1",
2300
+ children: [/* @__PURE__ */ _(k.Input, {
2301
+ ...O,
2302
+ id: A,
2303
+ className: I("min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none disabled:cursor-not-allowed read-only:not-disabled:cursor-pointer", fn, N.text),
2304
+ placeholder: r,
2305
+ disabled: i,
2306
+ readOnly: h,
2307
+ required: s,
2308
+ "aria-invalid": j || void 0,
2309
+ "aria-describedby": M ? `${A}-desc` : void 0
2310
+ }), V]
2311
+ })
2312
+ ]
2313
+ }) : /* @__PURE__ */ v(k.InputGroup, {
2314
+ className: I(mn, "box-border py-0", N.trigger, Sn[l]),
2315
+ "data-state": l,
2316
+ "data-size": u,
2317
+ "data-disabled": i || void 0,
2318
+ "data-floating": F || void 0,
2319
+ children: [
2320
+ ae,
2321
+ /* @__PURE__ */ _(k.Input, {
2322
+ ...O,
2323
+ id: A,
2324
+ className: I("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none disabled:cursor-not-allowed read-only:not-disabled:cursor-pointer", fn, N.text),
2247
2325
  placeholder: r,
2248
2326
  disabled: i,
2249
2327
  readOnly: h,
2250
2328
  required: s,
2251
- "aria-invalid": k || void 0,
2252
- "aria-describedby": j ? `${O}-desc` : void 0
2329
+ "aria-invalid": j || void 0,
2330
+ "aria-describedby": M ? `${A}-desc` : void 0
2253
2331
  }),
2254
- /* @__PURE__ */ v("div", {
2255
- className: "inline-flex shrink-0 items-center",
2256
- children: [/* @__PURE__ */ _(A.Clear, {
2257
- className: I(Sn, M.icon),
2258
- "aria-label": "Limpar seleção",
2259
- "data-disabled": i || void 0,
2260
- children: /* @__PURE__ */ _(m, {
2261
- className: "size-4 shrink-0",
2262
- strokeWidth: 2,
2263
- "aria-hidden": !0
2264
- })
2265
- }), /* @__PURE__ */ _(A.Trigger, {
2266
- className: I(Sn, M.icon),
2267
- "aria-label": "Abrir lista",
2268
- "data-disabled": i || void 0,
2269
- children: /* @__PURE__ */ _(o, {
2270
- className: "size-4 shrink-0",
2271
- strokeWidth: 2,
2272
- "aria-hidden": !0
2273
- })
2274
- })]
2275
- })
2332
+ V
2276
2333
  ]
2277
- }), /* @__PURE__ */ _(A.Portal, { children: /* @__PURE__ */ _(A.Positioner, {
2278
- className: vn,
2279
- style: yn,
2334
+ }), /* @__PURE__ */ _(k.Portal, { children: /* @__PURE__ */ _(k.Positioner, {
2335
+ className: yn,
2336
+ style: bn,
2280
2337
  positionMethod: "fixed",
2281
2338
  sideOffset: 4,
2282
- children: /* @__PURE__ */ v(A.Popup, {
2283
- className: mn,
2284
- children: [/* @__PURE__ */ _(A.Empty, { children: /* @__PURE__ */ _("div", {
2339
+ children: /* @__PURE__ */ v(k.Popup, {
2340
+ className: hn,
2341
+ children: [/* @__PURE__ */ _(k.Empty, { children: /* @__PURE__ */ _("div", {
2285
2342
  className: "px-3 py-2.5 text-sm text-eds-neutral-elements",
2286
2343
  children: p
2287
- }) }), /* @__PURE__ */ _(A.List, {
2288
- className: hn,
2289
- children: (e) => /* @__PURE__ */ v(A.Item, {
2344
+ }) }), /* @__PURE__ */ _(k.List, {
2345
+ className: gn,
2346
+ children: (e) => /* @__PURE__ */ v(k.Item, {
2290
2347
  value: e,
2291
- className: gn,
2292
- children: [/* @__PURE__ */ _(A.ItemIndicator, {
2293
- className: _n,
2348
+ className: _n,
2349
+ children: [/* @__PURE__ */ _(k.ItemIndicator, {
2350
+ className: vn,
2294
2351
  children: /* @__PURE__ */ _(a, {
2295
2352
  size: 14,
2296
2353
  strokeWidth: 2.5,
2297
2354
  "aria-hidden": !0
2298
2355
  })
2299
- }), T ? T(e) : /* @__PURE__ */ _("span", {
2356
+ }), D ? D(e) : /* @__PURE__ */ _("span", {
2300
2357
  className: "block min-w-0 flex-1 text-left",
2301
- children: P(e)
2358
+ children: L(e)
2302
2359
  })]
2303
- }, F(e))
2360
+ }, R(e))
2304
2361
  })]
2305
2362
  })
2306
2363
  }) })]
2307
2364
  }),
2308
- j && /* @__PURE__ */ _("div", {
2309
- id: `${O}-desc`,
2365
+ M && /* @__PURE__ */ _("div", {
2366
+ id: `${A}-desc`,
2310
2367
  className: "text-xs text-eds-neutral-elements data-[state=invalid]:text-eds-red-main",
2311
- "data-state": k ? "invalid" : void 0,
2312
- children: k ? f : d
2368
+ "data-state": j ? "invalid" : void 0,
2369
+ children: j ? f : d
2313
2370
  })
2314
2371
  ]
2315
2372
  });
2316
2373
  }
2317
2374
  //#endregion
2318
2375
  //#region src/components/DatePicker/DatePicker.tsx
2319
- var Tn = {
2376
+ var On = {
2320
2377
  default: "",
2321
2378
  valid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2322
2379
  invalid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2323
- }, En = [
2380
+ }, kn = [
2324
2381
  "D",
2325
2382
  "S",
2326
2383
  "T",
@@ -2329,50 +2386,50 @@ var Tn = {
2329
2386
  "S",
2330
2387
  "S"
2331
2388
  ];
2332
- function Dn(e, t) {
2333
- let n = K(Te(e), { weekStartsOn: t }), r = De(we(e), { weekStartsOn: t }), i = [];
2334
- for (let e = n; e <= r; e = ue(e, 1)) i.push(e);
2389
+ function An(e, t) {
2390
+ let n = G(Ee(e), { weekStartsOn: t }), r = Oe(Te(e), { weekStartsOn: t }), i = [];
2391
+ for (let e = n; e <= r; e = de(e, 1)) i.push(e);
2335
2392
  return i;
2336
2393
  }
2337
- function On(e) {
2394
+ function jn(e) {
2338
2395
  return e.mode === "range";
2339
2396
  }
2340
- function kn(e) {
2341
- let { label: t = "Label", labelVariant: n, disabled: r = !1, required: a = !1, fluid: o = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma data válida", id: p, weekStartsOn: m = 0, dateFormat: h = "dd/MM/yyyy", className: g } = e, y = On(e), b = e.placeholder ?? (y ? "Selecione um período" : "Selecione uma data"), x = ee(), S = p ?? x, C = l === "invalid", T = C || d, D = an[u], te = u === "lg" ? "size-5" : "size-4", O = rn(n), k = O === "floating", A = On(e) ? {
2397
+ function Mn(e) {
2398
+ let { label: t = "Label", labelVariant: n, disabled: r = !1, required: a = !1, fluid: o = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma data válida", id: p, weekStartsOn: m = 0, dateFormat: h = "dd/MM/yyyy", className: g } = e, y = jn(e), b = e.placeholder ?? (y ? "Selecione um período" : "Selecione uma data"), x = ee(), S = p ?? x, C = l === "invalid", T = C || d, D = on[u], te = u === "lg" ? "size-5" : "size-4", ne = an(n), O = ne === "floating", re = jn(e) ? {
2342
2399
  from: e.defaultValue?.from ?? null,
2343
2400
  to: e.defaultValue?.to ?? null
2344
2401
  } : {
2345
2402
  from: e.defaultValue ?? null,
2346
2403
  to: null
2347
- }, M = On(e) ? e.value === void 0 ? void 0 : {
2404
+ }, k = jn(e) ? e.value === void 0 ? void 0 : {
2348
2405
  from: e.value?.from ?? null,
2349
2406
  to: e.value?.to ?? null
2350
2407
  } : e.value === void 0 ? void 0 : {
2351
2408
  from: e.value ?? null,
2352
2409
  to: null
2353
- }, N = M !== void 0, [ne, P] = E(A), F = N ? M : ne, L = On(e) ? Math.max(1, e.numberOfMonths ?? 1) : 1, re = On(e) ? e.presets : void 0, [R, z] = E(!1), [ie, B] = E(() => F.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), V = w(() => [...En.slice(m), ...En.slice(0, m)], [m]), ae = w(() => Array.from({ length: L }, (e, t) => de(ie, t)), [ie, L]);
2410
+ }, j = k !== void 0, [M, N] = E(re), P = j ? k : M, F = jn(e) ? Math.max(1, e.numberOfMonths ?? 1) : 1, L = jn(e) ? e.presets : void 0, [R, z] = E(!1), [ie, B] = E(() => P.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), V = w(() => [...kn.slice(m), ...kn.slice(0, m)], [m]), ae = w(() => Array.from({ length: F }, (e, t) => fe(ie, t)), [ie, F]);
2354
2411
  function H(t) {
2355
- r || (t && B(F.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), z(t));
2412
+ r || (t && B(P.from ?? e.defaultMonth ?? /* @__PURE__ */ new Date()), z(t));
2356
2413
  }
2357
2414
  function oe(t) {
2358
- if (On(e)) {
2359
- let n = F, r;
2415
+ if (jn(e)) {
2416
+ let n = P, r;
2360
2417
  r = !n.from || n.to ? {
2361
2418
  from: t,
2362
2419
  to: null
2363
- } : _t(t, n.from) ? {
2420
+ } : vt(t, n.from) ? {
2364
2421
  from: t,
2365
2422
  to: n.from
2366
2423
  } : {
2367
2424
  from: n.from,
2368
2425
  to: t
2369
- }, N || P(r), r.from && e.onValueChange?.({
2426
+ }, j || N(r), r.from && e.onValueChange?.({
2370
2427
  from: r.from,
2371
2428
  to: r.to ?? void 0
2372
2429
  }), r.from && r.to && z(!1);
2373
2430
  return;
2374
2431
  }
2375
- N || P({
2432
+ j || N({
2376
2433
  from: t,
2377
2434
  to: null
2378
2435
  }), e.onValueChange?.(t), z(!1);
@@ -2382,25 +2439,25 @@ function kn(e) {
2382
2439
  from: t.from,
2383
2440
  to: t.to ?? null
2384
2441
  };
2385
- N || P(n), On(e) && e.onValueChange?.({
2442
+ j || N(n), jn(e) && e.onValueChange?.({
2386
2443
  from: t.from,
2387
2444
  to: t.to ?? void 0
2388
2445
  }), B(t.from);
2389
2446
  }
2390
2447
  function ce(e) {
2391
- return !F.from || !F.to || !e.range.to ? !1 : xe(F.from, e.range.from) && xe(F.to, e.range.to);
2448
+ return !P.from || !P.to || !e.range.to ? !1 : Se(P.from, e.range.from) && Se(P.to, e.range.to);
2392
2449
  }
2393
- let le = F.from ? !y || !F.to ? J(F.from, h) : `${J(F.from, h)} - ${J(F.to, h)}` : b;
2450
+ let le = P.from ? !y || !P.to ? J(P.from, h) : `${J(P.from, h)} - ${J(P.to, h)}` : b;
2394
2451
  return /* @__PURE__ */ v("div", {
2395
- className: I(sn, g),
2452
+ className: I(cn, g),
2396
2453
  "data-fluid": o || void 0,
2397
2454
  "data-eds-component": "DatePicker",
2398
- "data-label-variant": O,
2455
+ "data-label-variant": ne,
2399
2456
  children: [
2400
2457
  /* @__PURE__ */ _("div", {
2401
- className: cn,
2458
+ className: ln,
2402
2459
  children: /* @__PURE__ */ v("label", {
2403
- className: I(ln, k && "sr-only", !k && "font-medium"),
2460
+ className: I(un, O && "sr-only", !O && "font-medium"),
2404
2461
  htmlFor: S,
2405
2462
  children: [/* @__PURE__ */ _("span", { children: t }), a && /* @__PURE__ */ _("span", {
2406
2463
  className: "text-eds-red-main",
@@ -2408,20 +2465,20 @@ function kn(e) {
2408
2465
  })]
2409
2466
  })
2410
2467
  }),
2411
- /* @__PURE__ */ v(j.Root, {
2468
+ /* @__PURE__ */ v(A.Root, {
2412
2469
  open: R,
2413
2470
  onOpenChange: H,
2414
- children: [/* @__PURE__ */ v(j.Trigger, {
2471
+ children: [/* @__PURE__ */ v(A.Trigger, {
2415
2472
  id: S,
2416
2473
  disabled: r,
2417
- className: I("group relative box-border inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white py-0 text-left", D.trigger, Tn[l], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2474
+ className: I("group relative box-border inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white py-0 text-left", D.trigger, On[l], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2418
2475
  "data-state": l,
2419
2476
  "data-size": u,
2420
2477
  "data-disabled": r || void 0,
2421
2478
  "aria-describedby": T ? `${S}-desc` : void 0,
2422
2479
  children: [
2423
- k && /* @__PURE__ */ v("span", {
2424
- className: bn(D.left),
2480
+ O && /* @__PURE__ */ v("span", {
2481
+ className: xn(D.left),
2425
2482
  children: [/* @__PURE__ */ _("span", { children: t }), a && /* @__PURE__ */ _("span", {
2426
2483
  className: "text-eds-red-main",
2427
2484
  "aria-hidden": "true",
@@ -2433,22 +2490,22 @@ function kn(e) {
2433
2490
  "aria-hidden": !0
2434
2491
  }),
2435
2492
  /* @__PURE__ */ _("span", {
2436
- className: I("min-w-0 flex-1 truncate font-inherit", D.text, F.from ? "text-eds-neutral-main" : un),
2493
+ className: I("min-w-0 flex-1 truncate font-inherit", D.text, P.from ? "text-eds-neutral-main" : dn),
2437
2494
  children: le
2438
2495
  })
2439
2496
  ]
2440
- }), /* @__PURE__ */ _(j.Portal, { children: /* @__PURE__ */ _(j.Positioner, {
2441
- className: vn,
2442
- style: yn,
2497
+ }), /* @__PURE__ */ _(A.Portal, { children: /* @__PURE__ */ _(A.Positioner, {
2498
+ className: yn,
2499
+ style: bn,
2443
2500
  positionMethod: "fixed",
2444
2501
  sideOffset: 4,
2445
2502
  align: "start",
2446
- children: /* @__PURE__ */ v(j.Popup, {
2503
+ children: /* @__PURE__ */ v(A.Popup, {
2447
2504
  "data-eds-component": "DatePicker",
2448
2505
  className: "flex overflow-hidden rounded-eds-xs border border-eds-outline-border bg-white shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)] transition-all data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
2449
- children: [re && re.length > 0 && /* @__PURE__ */ _("div", {
2506
+ children: [L && L.length > 0 && /* @__PURE__ */ _("div", {
2450
2507
  className: "flex w-40 shrink-0 flex-col gap-0.5 border-r border-eds-outline-border p-2 text-sm",
2451
- children: re.map((e) => /* @__PURE__ */ _("button", {
2508
+ children: L.map((e) => /* @__PURE__ */ _("button", {
2452
2509
  type: "button",
2453
2510
  onClick: () => se(e.range),
2454
2511
  className: I("rounded-md px-3 py-1.5 text-left whitespace-nowrap", ce(e) ? "bg-eds-blue-main text-white" : "text-eds-neutral-main hover:bg-eds-neutral-background"),
@@ -2457,30 +2514,30 @@ function kn(e) {
2457
2514
  }), /* @__PURE__ */ _("div", {
2458
2515
  className: "flex",
2459
2516
  children: ae.map((e, t) => {
2460
- let n = t === 0, r = t === ae.length - 1, i = Dn(e, m);
2517
+ let n = t === 0, r = t === ae.length - 1, i = An(e, m);
2461
2518
  return /* @__PURE__ */ v("div", {
2462
2519
  className: I("w-[284px] shrink-0", !n && "border-l border-eds-outline-border"),
2463
2520
  children: [/* @__PURE__ */ v("div", {
2464
2521
  className: "flex items-center gap-2.5 p-4",
2465
2522
  children: [
2466
- n ? /* @__PURE__ */ _(At, {
2523
+ n ? /* @__PURE__ */ _(jt, {
2467
2524
  icon: s,
2468
2525
  label: "Mês anterior",
2469
2526
  size: "sm",
2470
- onClick: () => B((e) => Ct(e, 1))
2527
+ onClick: () => B((e) => wt(e, 1))
2471
2528
  }) : /* @__PURE__ */ _("span", {
2472
2529
  className: "size-8 shrink-0",
2473
2530
  "aria-hidden": !0
2474
2531
  }),
2475
2532
  /* @__PURE__ */ _("span", {
2476
2533
  className: "flex-1 text-center text-base font-medium text-eds-neutral-main capitalize",
2477
- children: J(e, "MMMM yyyy", { locale: Ot })
2534
+ children: J(e, "MMMM yyyy", { locale: kt })
2478
2535
  }),
2479
- r ? /* @__PURE__ */ _(At, {
2536
+ r ? /* @__PURE__ */ _(jt, {
2480
2537
  icon: c,
2481
2538
  label: "Próximo mês",
2482
2539
  size: "sm",
2483
- onClick: () => B((e) => de(e, 1))
2540
+ onClick: () => B((e) => fe(e, 1))
2484
2541
  }) : /* @__PURE__ */ _("span", {
2485
2542
  className: "size-8 shrink-0",
2486
2543
  "aria-hidden": !0
@@ -2492,7 +2549,7 @@ function kn(e) {
2492
2549
  className: "pb-2 text-center text-xs font-medium text-eds-neutral-main",
2493
2550
  children: e
2494
2551
  }, `${e}-${t}`)), i.map((t) => {
2495
- let n = vt(t, e), r = yt(t), i = y && F.from ? xe(t, F.from) : !1, a = y && F.to ? xe(t, F.to) : !1, o = !!(y && F.from && F.to && !xe(F.from, F.to)), s = o && F.from && F.to ? gt(t, F.from) && _t(t, F.to) : !1, c = y ? i || a : F.from ? xe(t, F.from) : !1;
2552
+ let n = yt(t, e), r = bt(t), i = y && P.from ? Se(t, P.from) : !1, a = y && P.to ? Se(t, P.to) : !1, o = !!(y && P.from && P.to && !Se(P.from, P.to)), s = o && P.from && P.to ? _t(t, P.from) && vt(t, P.to) : !1, c = y ? i || a : P.from ? Se(t, P.from) : !1;
2496
2553
  return /* @__PURE__ */ _("div", {
2497
2554
  className: I("flex items-center justify-center py-0.5", o && (s || i || a) && "bg-eds-blue-main/10", o && i && "rounded-l-full", o && a && "rounded-r-full"),
2498
2555
  children: /* @__PURE__ */ _("button", {
@@ -2523,11 +2580,11 @@ function kn(e) {
2523
2580
  }
2524
2581
  //#endregion
2525
2582
  //#region src/components/DateTimePicker/DateTimePicker.tsx
2526
- var An = {
2583
+ var Nn = {
2527
2584
  default: "",
2528
2585
  valid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
2529
2586
  invalid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
2530
- }, jn = [
2587
+ }, Pn = [
2531
2588
  "D",
2532
2589
  "S",
2533
2590
  "T",
@@ -2536,103 +2593,103 @@ var An = {
2536
2593
  "S",
2537
2594
  "S"
2538
2595
  ];
2539
- function Mn(e, t) {
2540
- let n = K(Te(e), { weekStartsOn: t }), r = De(we(e), { weekStartsOn: t }), i = [];
2541
- for (let e = n; e <= r; e = ue(e, 1)) i.push(e);
2596
+ function Fn(e, t) {
2597
+ let n = G(Ee(e), { weekStartsOn: t }), r = Oe(Te(e), { weekStartsOn: t }), i = [];
2598
+ for (let e = n; e <= r; e = de(e, 1)) i.push(e);
2542
2599
  return i;
2543
2600
  }
2544
- function Nn(e, t) {
2545
- let n = t ? mt(t) : 0, r = t ? ht(t) : 0;
2546
- return St(xt(bt(e, n), r), 0);
2601
+ function In(e, t) {
2602
+ let n = t ? ht(t) : 0, r = t ? gt(t) : 0;
2603
+ return Ct(St(xt(e, n), r), 0);
2547
2604
  }
2548
- function Pn(e, t) {
2605
+ function Ln(e, t) {
2549
2606
  let n = Math.round(e / t) * t;
2550
2607
  return Math.min(59, Math.max(0, n >= 60 ? 60 - t : n));
2551
2608
  }
2552
- function Fn(e) {
2609
+ function Rn(e) {
2553
2610
  let t = Math.max(1, Math.min(30, Math.floor(e))), n = [];
2554
2611
  for (let e = 0; e < 60; e += t) n.push(e);
2555
2612
  return n;
2556
2613
  }
2557
- var In = Array.from({ length: 24 }, (e, t) => t);
2558
- function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione data e hora", disabled: i = !1, required: a = !1, fluid: o = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma data e hora válidas", id: p, weekStartsOn: m = 0, defaultMonth: h, dateFormat: g = "dd/MM/yyyy HH:mm", minuteStep: y = 5, value: b, defaultValue: x = null, onValueChange: S, className: D }) {
2559
- let te = ee(), O = p ?? te, k = l === "invalid", A = k || d, M = an[u], N = u === "lg" ? "size-5" : "size-4", ne = rn(t), P = ne === "floating", F = b !== void 0, [L, re] = E(x), R = F ? b ?? null : L, [z, ie] = E(!1), [B, ae] = E(() => R ?? h ?? /* @__PURE__ */ new Date()), [H, oe] = E(R), se = T(null), ce = T(null), le = w(() => Fn(y), [y]), U = w(() => [...jn.slice(m), ...jn.slice(0, m)], [m]), W = w(() => Mn(B, m), [B, m]), ue = H ? mt(H) : 0, fe = H ? Pn(ht(H), y) : 0;
2614
+ var zn = Array.from({ length: 24 }, (e, t) => t);
2615
+ function Bn({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione data e hora", disabled: i = !1, required: a = !1, fluid: o = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma data e hora válidas", id: p, weekStartsOn: m = 0, defaultMonth: h, dateFormat: g = "dd/MM/yyyy HH:mm", minuteStep: y = 5, value: b, defaultValue: x = null, onValueChange: S, className: D }) {
2616
+ let te = ee(), ne = p ?? te, O = l === "invalid", re = O || d, k = on[u], j = u === "lg" ? "size-5" : "size-4", M = an(t), N = M === "floating", P = b !== void 0, [F, L] = E(x), R = P ? b ?? null : F, [z, ie] = E(!1), [B, V] = E(() => R ?? h ?? /* @__PURE__ */ new Date()), [H, oe] = E(R), se = T(null), ce = T(null), le = w(() => Rn(y), [y]), ue = w(() => [...Pn.slice(m), ...Pn.slice(0, m)], [m]), U = w(() => Fn(B, m), [B, m]), W = H ? ht(H) : 0, de = H ? Ln(gt(H), y) : 0;
2560
2617
  C(() => {
2561
2618
  if (!z) return;
2562
2619
  let e = (e, t, n) => {
2563
2620
  (e?.querySelector(`[data-${t}="${n}"]`))?.scrollIntoView({ block: "center" });
2564
2621
  };
2565
2622
  requestAnimationFrame(() => {
2566
- e(se.current, "hour", ue), e(ce.current, "minute", fe);
2623
+ e(se.current, "hour", W), e(ce.current, "minute", de);
2567
2624
  });
2568
2625
  }, [
2569
2626
  z,
2570
- ue,
2571
- fe
2627
+ W,
2628
+ de
2572
2629
  ]);
2573
- function G(e) {
2574
- F || re(e), S?.(e);
2630
+ function pe(e) {
2631
+ P || L(e), S?.(e);
2575
2632
  }
2576
- function K(e) {
2633
+ function me(e) {
2577
2634
  if (!i) {
2578
2635
  if (e) {
2579
- let e = R ?? h ?? /* @__PURE__ */ new Date(), t = xt(e, Pn(ht(e), y));
2580
- oe(R ? t : null), ae(R ?? h ?? /* @__PURE__ */ new Date());
2636
+ let e = R ?? h ?? /* @__PURE__ */ new Date(), t = St(e, Ln(gt(e), y));
2637
+ oe(R ? t : null), V(R ?? h ?? /* @__PURE__ */ new Date());
2581
2638
  }
2582
2639
  ie(e);
2583
2640
  }
2584
2641
  }
2585
- function pe(e) {
2586
- let t = Nn(e, H ?? R), n = xt(t, Pn(ht(t), y));
2587
- oe(n), G(n);
2642
+ function G(e) {
2643
+ let t = In(e, H ?? R), n = St(t, Ln(gt(t), y));
2644
+ oe(n), pe(n);
2588
2645
  }
2589
- function me(e) {
2590
- let t = H ?? R ?? /* @__PURE__ */ new Date(), n = St(xt(bt(t, e), Pn(ht(t), y)), 0);
2591
- oe(n), G(n);
2646
+ function K(e) {
2647
+ let t = H ?? R ?? /* @__PURE__ */ new Date(), n = Ct(St(xt(t, e), Ln(gt(t), y)), 0);
2648
+ oe(n), pe(n);
2592
2649
  }
2593
2650
  function he(e) {
2594
- let t = St(xt(H ?? R ?? /* @__PURE__ */ new Date(), e), 0);
2595
- oe(t), G(t);
2651
+ let t = Ct(St(H ?? R ?? /* @__PURE__ */ new Date(), e), 0);
2652
+ oe(t), pe(t);
2596
2653
  }
2597
2654
  function ge() {
2598
- let e = /* @__PURE__ */ new Date(), t = St(xt(e, Pn(ht(e), y)), 0);
2599
- oe(t), ae(t), G(t);
2655
+ let e = /* @__PURE__ */ new Date(), t = Ct(St(e, Ln(gt(e), y)), 0);
2656
+ oe(t), V(t), pe(t);
2600
2657
  }
2601
2658
  function _e() {
2602
- H && G(H), ie(!1);
2659
+ H && pe(H), ie(!1);
2603
2660
  }
2604
2661
  let ve = R ? J(R, g) : n;
2605
2662
  return /* @__PURE__ */ v("div", {
2606
- className: I(sn, D),
2663
+ className: I(cn, D),
2607
2664
  "data-fluid": o || void 0,
2608
2665
  "data-eds-component": "DateTimePicker",
2609
- "data-label-variant": ne,
2666
+ "data-label-variant": M,
2610
2667
  children: [
2611
2668
  /* @__PURE__ */ _("div", {
2612
- className: cn,
2669
+ className: ln,
2613
2670
  children: /* @__PURE__ */ v("label", {
2614
- className: I(ln, P && "sr-only", !P && "font-medium"),
2615
- htmlFor: O,
2671
+ className: I(un, N && "sr-only", !N && "font-medium"),
2672
+ htmlFor: ne,
2616
2673
  children: [/* @__PURE__ */ _("span", { children: e }), a && /* @__PURE__ */ _("span", {
2617
2674
  className: "text-eds-red-main",
2618
2675
  children: "*"
2619
2676
  })]
2620
2677
  })
2621
2678
  }),
2622
- /* @__PURE__ */ v(j.Root, {
2679
+ /* @__PURE__ */ v(A.Root, {
2623
2680
  open: z,
2624
- onOpenChange: K,
2625
- children: [/* @__PURE__ */ v(j.Trigger, {
2626
- id: O,
2681
+ onOpenChange: me,
2682
+ children: [/* @__PURE__ */ v(A.Trigger, {
2683
+ id: ne,
2627
2684
  disabled: i,
2628
- className: I("group relative box-border inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white py-0 text-left", M.trigger, An[l], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2685
+ className: I("group relative box-border inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white py-0 text-left", k.trigger, Nn[l], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
2629
2686
  "data-state": l,
2630
2687
  "data-size": u,
2631
2688
  "data-disabled": i || void 0,
2632
- "aria-describedby": A ? `${O}-desc` : void 0,
2689
+ "aria-describedby": re ? `${ne}-desc` : void 0,
2633
2690
  children: [
2634
- P && /* @__PURE__ */ v("span", {
2635
- className: bn(M.left),
2691
+ N && /* @__PURE__ */ v("span", {
2692
+ className: xn(k.left),
2636
2693
  children: [/* @__PURE__ */ _("span", { children: e }), a && /* @__PURE__ */ _("span", {
2637
2694
  className: "text-eds-red-main",
2638
2695
  "aria-hidden": "true",
@@ -2640,21 +2697,21 @@ function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione d
2640
2697
  })]
2641
2698
  }),
2642
2699
  /* @__PURE__ */ _(r, {
2643
- className: I("shrink-0 text-eds-neutral-elements", N),
2700
+ className: I("shrink-0 text-eds-neutral-elements", j),
2644
2701
  "aria-hidden": !0
2645
2702
  }),
2646
2703
  /* @__PURE__ */ _("span", {
2647
- className: I("min-w-0 flex-1 truncate font-inherit", M.text, R ? "text-eds-neutral-main" : un),
2704
+ className: I("min-w-0 flex-1 truncate font-inherit", k.text, R ? "text-eds-neutral-main" : dn),
2648
2705
  children: ve
2649
2706
  })
2650
2707
  ]
2651
- }), /* @__PURE__ */ _(j.Portal, { children: /* @__PURE__ */ _(j.Positioner, {
2652
- className: vn,
2653
- style: yn,
2708
+ }), /* @__PURE__ */ _(A.Portal, { children: /* @__PURE__ */ _(A.Positioner, {
2709
+ className: yn,
2710
+ style: bn,
2654
2711
  positionMethod: "fixed",
2655
2712
  sideOffset: 4,
2656
2713
  align: "start",
2657
- children: /* @__PURE__ */ v(j.Popup, {
2714
+ children: /* @__PURE__ */ v(A.Popup, {
2658
2715
  "data-eds-component": "DateTimePicker",
2659
2716
  className: "flex flex-col overflow-hidden rounded-eds-xs border border-eds-outline-border bg-white shadow-[0_4px_6px_-1px_rgb(0_0_0_/_0.07),0_2px_4px_-2px_rgb(0_0_0_/_0.06)] transition-all data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
2660
2717
  children: [/* @__PURE__ */ v("div", {
@@ -2664,35 +2721,35 @@ function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione d
2664
2721
  children: [/* @__PURE__ */ v("div", {
2665
2722
  className: "flex items-center gap-2.5 p-4",
2666
2723
  children: [
2667
- /* @__PURE__ */ _(At, {
2724
+ /* @__PURE__ */ _(jt, {
2668
2725
  icon: s,
2669
2726
  label: "Mês anterior",
2670
2727
  size: "sm",
2671
- onClick: () => ae((e) => Ct(e, 1))
2728
+ onClick: () => V((e) => wt(e, 1))
2672
2729
  }),
2673
2730
  /* @__PURE__ */ _("span", {
2674
2731
  className: "flex-1 text-center text-base font-medium text-eds-neutral-main capitalize",
2675
- children: J(B, "MMMM yyyy", { locale: Ot })
2732
+ children: J(B, "MMMM yyyy", { locale: kt })
2676
2733
  }),
2677
- /* @__PURE__ */ _(At, {
2734
+ /* @__PURE__ */ _(jt, {
2678
2735
  icon: c,
2679
2736
  label: "Próximo mês",
2680
2737
  size: "sm",
2681
- onClick: () => ae((e) => de(e, 1))
2738
+ onClick: () => V((e) => fe(e, 1))
2682
2739
  })
2683
2740
  ]
2684
2741
  }), /* @__PURE__ */ v("div", {
2685
2742
  className: "grid grid-cols-7 px-4 pb-4",
2686
- children: [U.map((e, t) => /* @__PURE__ */ _("span", {
2743
+ children: [ue.map((e, t) => /* @__PURE__ */ _("span", {
2687
2744
  className: "pb-2 text-center text-xs font-medium text-eds-neutral-main",
2688
2745
  children: e
2689
- }, `${e}-${t}`)), W.map((e) => {
2690
- let t = vt(e, B), n = yt(e), r = H ? xe(e, H) : !1;
2746
+ }, `${e}-${t}`)), U.map((e) => {
2747
+ let t = yt(e, B), n = bt(e), r = H ? Se(e, H) : !1;
2691
2748
  return /* @__PURE__ */ _("div", {
2692
2749
  className: "flex items-center justify-center py-0.5",
2693
2750
  children: /* @__PURE__ */ _("button", {
2694
2751
  type: "button",
2695
- onClick: () => pe(e),
2752
+ onClick: () => G(e),
2696
2753
  "data-selected": r || void 0,
2697
2754
  "data-today": n || void 0,
2698
2755
  className: I("flex size-9 shrink-0 items-center justify-center rounded-full text-sm font-medium", r ? "bg-eds-blue-main text-white" : t ? "text-eds-neutral-main hover:bg-eds-neutral-background" : "text-eds-neutral-elements/50 hover:bg-eds-neutral-background", !r && n && "ring-1 ring-inset ring-eds-blue-main"),
@@ -2713,14 +2770,14 @@ function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione d
2713
2770
  className: "flex max-h-[248px] flex-col gap-0.5 overflow-y-auto overscroll-contain px-2 pb-3",
2714
2771
  role: "listbox",
2715
2772
  "aria-label": "Hora",
2716
- children: In.map((e) => {
2717
- let t = ue === e;
2773
+ children: zn.map((e) => {
2774
+ let t = W === e;
2718
2775
  return /* @__PURE__ */ _("button", {
2719
2776
  type: "button",
2720
2777
  role: "option",
2721
2778
  "aria-selected": t,
2722
2779
  "data-hour": e,
2723
- onClick: () => me(e),
2780
+ onClick: () => K(e),
2724
2781
  className: I("rounded-md px-2 py-1.5 text-center text-sm tabular-nums", t ? "bg-eds-blue-main text-white" : "text-eds-neutral-main hover:bg-eds-neutral-background"),
2725
2782
  children: String(e).padStart(2, "0")
2726
2783
  }, e);
@@ -2737,7 +2794,7 @@ function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione d
2737
2794
  role: "listbox",
2738
2795
  "aria-label": "Minuto",
2739
2796
  children: le.map((e) => {
2740
- let t = fe === e;
2797
+ let t = de === e;
2741
2798
  return /* @__PURE__ */ _("button", {
2742
2799
  type: "button",
2743
2800
  role: "option",
@@ -2753,12 +2810,12 @@ function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione d
2753
2810
  })]
2754
2811
  }), /* @__PURE__ */ v("div", {
2755
2812
  className: "flex items-center justify-between gap-2 border-t border-eds-outline-border bg-eds-neutral-background px-3 py-2.5",
2756
- children: [/* @__PURE__ */ _(V, {
2813
+ children: [/* @__PURE__ */ _(ae, {
2757
2814
  text: "Agora",
2758
2815
  variant: "ghost",
2759
2816
  size: "sm",
2760
2817
  onClick: ge
2761
- }), /* @__PURE__ */ _(V, {
2818
+ }), /* @__PURE__ */ _(ae, {
2762
2819
  text: "Confirmar",
2763
2820
  size: "sm",
2764
2821
  onClick: _e,
@@ -2768,18 +2825,18 @@ function Ln({ label: e = "Label", labelVariant: t, placeholder: n = "Selecione d
2768
2825
  })
2769
2826
  }) })]
2770
2827
  }),
2771
- A && /* @__PURE__ */ _("div", {
2772
- id: `${O}-desc`,
2828
+ re && /* @__PURE__ */ _("div", {
2829
+ id: `${ne}-desc`,
2773
2830
  className: "text-xs text-eds-neutral-elements data-[state=invalid]:text-eds-red-main",
2774
- "data-state": k ? "invalid" : l,
2775
- children: k ? f : d
2831
+ "data-state": O ? "invalid" : l,
2832
+ children: O ? f : d
2776
2833
  })
2777
2834
  ]
2778
2835
  });
2779
2836
  }
2780
2837
  //#endregion
2781
2838
  //#region src/components/Dialog/Dialog.tsx
2782
- var Rn = { size: {
2839
+ var Vn = { size: {
2783
2840
  sm: {
2784
2841
  classes: "sm:max-w-xs",
2785
2842
  description: "Small dialog for simple confirmations (288px)"
@@ -2796,22 +2853,22 @@ var Rn = { size: {
2796
2853
  classes: "sm:max-w-3xl",
2797
2854
  description: "Extra large dialog for detailed views (768px)"
2798
2855
  }
2799
- } }, zn = { size: "md" }, Bn = b("dialog");
2800
- function Vn() {
2801
- return S(Bn);
2856
+ } }, Hn = { size: "md" }, Un = b("dialog");
2857
+ function Wn() {
2858
+ return S(Un);
2802
2859
  }
2803
- function Hn({ size: e = zn.size } = {}) {
2804
- return I(`fixed top-1/2 left-1/2 ${on.overlay} grid w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-4rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-white p-4 text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`, L(Rn.size, e, zn.size).classes);
2860
+ function Gn({ size: e = Hn.size } = {}) {
2861
+ return I(`fixed top-1/2 left-1/2 ${sn.overlay} grid w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-4rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-white p-4 text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0`, L(Vn.size, e, Hn.size).classes);
2805
2862
  }
2806
- function Un({ className: e, children: t, size: n, showCloseButton: r = !0 }) {
2807
- let i = Vn(), a = i === "alertdialog" ? N.Portal : M.Portal, o = i === "alertdialog" ? N.Backdrop : M.Backdrop, s = i === "alertdialog" ? N.Popup : M.Popup, c = i === "alertdialog" ? N.Close : M.Close;
2863
+ function Kn({ className: e, children: t, size: n, showCloseButton: r = !0 }) {
2864
+ let i = Wn(), a = i === "alertdialog" ? M.Portal : j.Portal, o = i === "alertdialog" ? M.Backdrop : j.Backdrop, s = i === "alertdialog" ? M.Popup : j.Popup, c = i === "alertdialog" ? M.Close : j.Close;
2808
2865
  return /* @__PURE__ */ v(a, { children: [/* @__PURE__ */ _(o, {
2809
- className: I("fixed inset-0 isolate bg-black/50 transition-opacity duration-100 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0", on.overlay),
2810
- style: { zIndex: on.overlayValue }
2866
+ className: I("fixed inset-0 isolate bg-black/50 transition-opacity duration-100 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0", sn.overlay),
2867
+ style: { zIndex: sn.overlayValue }
2811
2868
  }), /* @__PURE__ */ v(s, {
2812
2869
  "data-eds-component": "Dialog",
2813
- className: I(Hn({ size: n }), e),
2814
- style: { zIndex: on.overlayValue },
2870
+ className: I(Gn({ size: n }), e),
2871
+ style: { zIndex: sn.overlayValue },
2815
2872
  children: [t, r ? /* @__PURE__ */ _(c, {
2816
2873
  "data-eds-component": "Dialog",
2817
2874
  "aria-label": "Fechar",
@@ -2823,102 +2880,102 @@ function Un({ className: e, children: t, size: n, showCloseButton: r = !0 }) {
2823
2880
  }) : null]
2824
2881
  })] });
2825
2882
  }
2826
- function Wn(e) {
2883
+ function qn(e) {
2827
2884
  if (e.role === "alertdialog") {
2828
2885
  let { children: t, role: n, ...r } = e;
2829
- return /* @__PURE__ */ _(Bn.Provider, {
2886
+ return /* @__PURE__ */ _(Un.Provider, {
2830
2887
  value: n,
2831
- children: /* @__PURE__ */ _(N.Root, {
2888
+ children: /* @__PURE__ */ _(M.Root, {
2832
2889
  ...r,
2833
2890
  children: t
2834
2891
  })
2835
2892
  });
2836
2893
  }
2837
2894
  let { children: t, role: n = "dialog", ...r } = e;
2838
- return /* @__PURE__ */ _(Bn.Provider, {
2895
+ return /* @__PURE__ */ _(Un.Provider, {
2839
2896
  value: n,
2840
- children: /* @__PURE__ */ _(M.Root, {
2897
+ children: /* @__PURE__ */ _(j.Root, {
2841
2898
  ...r,
2842
2899
  children: t
2843
2900
  })
2844
2901
  });
2845
2902
  }
2846
- function Gn({ children: e, ...t }) {
2847
- return Vn() === "alertdialog" ? /* @__PURE__ */ _(N.Trigger, {
2903
+ function Jn({ children: e, ...t }) {
2904
+ return Wn() === "alertdialog" ? /* @__PURE__ */ _(M.Trigger, {
2848
2905
  "data-eds-component": "Dialog",
2849
2906
  ...t,
2850
2907
  children: e
2851
- }) : /* @__PURE__ */ _(M.Trigger, {
2908
+ }) : /* @__PURE__ */ _(j.Trigger, {
2852
2909
  "data-eds-component": "Dialog",
2853
2910
  ...t,
2854
2911
  children: e
2855
2912
  });
2856
2913
  }
2857
- function Kn({ className: e, ...t }) {
2914
+ function Yn({ className: e, ...t }) {
2858
2915
  return /* @__PURE__ */ _("div", {
2859
2916
  "data-slot": "dialog-header",
2860
2917
  className: I("flex flex-col gap-2", e),
2861
2918
  ...t
2862
2919
  });
2863
2920
  }
2864
- function qn({ className: e, ...t }) {
2921
+ function Xn({ className: e, ...t }) {
2865
2922
  return /* @__PURE__ */ _("div", {
2866
2923
  "data-slot": "dialog-footer",
2867
2924
  className: I("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t border-eds-outline-border bg-eds-neutral-background p-4 sm:flex-row sm:justify-end", e),
2868
2925
  ...t
2869
2926
  });
2870
2927
  }
2871
- function Jn({ className: e, ...t }) {
2872
- return /* @__PURE__ */ _(Vn() === "alertdialog" ? N.Title : M.Title, {
2928
+ function Zn({ className: e, ...t }) {
2929
+ return /* @__PURE__ */ _(Wn() === "alertdialog" ? M.Title : j.Title, {
2873
2930
  className: I("text-base leading-none font-medium text-eds-neutral-main", e),
2874
2931
  ...t
2875
2932
  });
2876
2933
  }
2877
- function Yn({ className: e, ...t }) {
2878
- return /* @__PURE__ */ _(Vn() === "alertdialog" ? N.Description : M.Description, {
2934
+ function Qn({ className: e, ...t }) {
2935
+ return /* @__PURE__ */ _(Wn() === "alertdialog" ? M.Description : j.Description, {
2879
2936
  className: I("text-sm text-eds-neutral-elements", e),
2880
2937
  ...t
2881
2938
  });
2882
2939
  }
2883
- function Xn({ children: e, ...t }) {
2884
- return /* @__PURE__ */ _(Vn() === "alertdialog" ? N.Close : M.Close, {
2940
+ function $n({ children: e, ...t }) {
2941
+ return /* @__PURE__ */ _(Wn() === "alertdialog" ? M.Close : j.Close, {
2885
2942
  "data-eds-component": "Dialog",
2886
2943
  ...t,
2887
2944
  children: e
2888
2945
  });
2889
2946
  }
2890
- Wn.displayName = "Dialog.Root", Gn.displayName = "Dialog.Trigger", Kn.displayName = "Dialog.Header", qn.displayName = "Dialog.Footer", Jn.displayName = "Dialog.Title", Yn.displayName = "Dialog.Description", Xn.displayName = "Dialog.Close";
2891
- var Zn = Object.assign(Un, {
2892
- Root: Wn,
2893
- Trigger: Gn,
2894
- Header: Kn,
2895
- Footer: qn,
2896
- Title: Jn,
2897
- Description: Yn,
2898
- Close: Xn
2947
+ qn.displayName = "Dialog.Root", Jn.displayName = "Dialog.Trigger", Yn.displayName = "Dialog.Header", Xn.displayName = "Dialog.Footer", Zn.displayName = "Dialog.Title", Qn.displayName = "Dialog.Description", $n.displayName = "Dialog.Close";
2948
+ var er = Object.assign(Kn, {
2949
+ Root: qn,
2950
+ Trigger: Jn,
2951
+ Header: Yn,
2952
+ Footer: Xn,
2953
+ Title: Zn,
2954
+ Description: Qn,
2955
+ Close: $n
2899
2956
  });
2900
2957
  //#endregion
2901
2958
  //#region src/components/FormDialog/FormDialog.tsx
2902
- function Qn({ size: e = "xl" } = {}) {
2903
- return I("relative flex w-full max-h-full min-h-0 flex-col overflow-hidden rounded-xl bg-white text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0", "[&>form]:flex [&>form]:min-h-0 [&>form]:w-full [&>form]:flex-1 [&>form]:flex-col [&>form]:overflow-hidden", L(Rn.size, e, zn.size).classes);
2959
+ function tr({ size: e = "xl" } = {}) {
2960
+ return I("relative flex w-full max-h-full min-h-0 flex-col overflow-hidden rounded-xl bg-white text-sm text-eds-neutral-main ring-1 ring-eds-outline-border outline-none transition-all duration-100 data-[ending-style]:scale-95 data-[ending-style]:opacity-0 data-[starting-style]:scale-95 data-[starting-style]:opacity-0", "[&>form]:flex [&>form]:min-h-0 [&>form]:w-full [&>form]:flex-1 [&>form]:flex-col [&>form]:overflow-hidden", L(Vn.size, e, Hn.size).classes);
2904
2961
  }
2905
- function $n({ className: e, children: t, size: n = "xl" }) {
2906
- let r = Vn(), i = r === "alertdialog" ? N.Portal : M.Portal, a = r === "alertdialog" ? N.Backdrop : M.Backdrop, o = r === "alertdialog" ? N.Popup : M.Popup;
2962
+ function nr({ className: e, children: t, size: n = "xl" }) {
2963
+ let r = Wn(), i = r === "alertdialog" ? M.Portal : j.Portal, a = r === "alertdialog" ? M.Backdrop : j.Backdrop, o = r === "alertdialog" ? M.Popup : j.Popup;
2907
2964
  return /* @__PURE__ */ v(i, { children: [/* @__PURE__ */ _(a, {
2908
- className: I("fixed inset-0 isolate bg-black/50 transition-opacity duration-100 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0", on.overlay),
2909
- style: { zIndex: on.overlayValue }
2965
+ className: I("fixed inset-0 isolate bg-black/50 transition-opacity duration-100 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0", sn.overlay),
2966
+ style: { zIndex: sn.overlayValue }
2910
2967
  }), /* @__PURE__ */ _("div", {
2911
- className: I("pointer-events-none fixed inset-0 flex items-center justify-center p-4 sm:p-8", on.overlay),
2912
- style: { zIndex: on.overlayValue },
2968
+ className: I("pointer-events-none fixed inset-0 flex items-center justify-center p-4 sm:p-8", sn.overlay),
2969
+ style: { zIndex: sn.overlayValue },
2913
2970
  children: /* @__PURE__ */ _(o, {
2914
2971
  "data-eds-component": "FormDialog",
2915
- className: I("pointer-events-auto", Qn({ size: n }), e),
2972
+ className: I("pointer-events-auto", tr({ size: n }), e),
2916
2973
  children: t
2917
2974
  })
2918
2975
  })] });
2919
2976
  }
2920
- function er({ className: e, icon: t, title: n, subtitle: r, showCloseButton: i = !0, children: a, ...o }) {
2921
- let s = Vn(), c = s === "alertdialog" ? N.Close : M.Close, l = s === "alertdialog" ? N.Title : M.Title, u = s === "alertdialog" ? N.Description : M.Description, d = n != null || r != null || t;
2977
+ function rr({ className: e, icon: t, title: n, subtitle: r, showCloseButton: i = !0, children: a, ...o }) {
2978
+ let s = Wn(), c = s === "alertdialog" ? M.Close : j.Close, l = s === "alertdialog" ? M.Title : j.Title, u = s === "alertdialog" ? M.Description : j.Description, d = n != null || r != null || t;
2922
2979
  return /* @__PURE__ */ v("div", {
2923
2980
  "data-slot": "form-dialog-header",
2924
2981
  className: I("relative flex shrink-0 items-start gap-3 border-b border-eds-outline-border bg-white px-5 py-4", i && "pr-12", e),
@@ -2962,43 +3019,43 @@ function er({ className: e, icon: t, title: n, subtitle: r, showCloseButton: i =
2962
3019
  ]
2963
3020
  });
2964
3021
  }
2965
- function tr({ className: e, ...t }) {
3022
+ function ir({ className: e, ...t }) {
2966
3023
  return /* @__PURE__ */ _("div", {
2967
3024
  "data-slot": "form-dialog-body",
2968
3025
  className: I("min-h-0 flex-1 overflow-y-auto overscroll-contain px-5 py-4", e),
2969
3026
  ...t
2970
3027
  });
2971
3028
  }
2972
- function nr({ className: e, ...t }) {
3029
+ function ar({ className: e, ...t }) {
2973
3030
  return /* @__PURE__ */ _("div", {
2974
3031
  "data-slot": "form-dialog-footer",
2975
3032
  className: I("flex shrink-0 flex-col-reverse gap-2 border-t border-eds-outline-border bg-eds-neutral-background px-5 py-4 sm:flex-row sm:justify-end", e),
2976
3033
  ...t
2977
3034
  });
2978
3035
  }
2979
- function rr({ className: e, ...t }) {
2980
- return /* @__PURE__ */ _(Vn() === "alertdialog" ? N.Title : M.Title, {
3036
+ function or({ className: e, ...t }) {
3037
+ return /* @__PURE__ */ _(Wn() === "alertdialog" ? M.Title : j.Title, {
2981
3038
  className: I("text-lg leading-tight font-semibold text-eds-blue-dark", e),
2982
3039
  ...t
2983
3040
  });
2984
3041
  }
2985
- function ir({ className: e, ...t }) {
2986
- return /* @__PURE__ */ _(Vn() === "alertdialog" ? N.Description : M.Description, {
3042
+ function sr({ className: e, ...t }) {
3043
+ return /* @__PURE__ */ _(Wn() === "alertdialog" ? M.Description : j.Description, {
2987
3044
  className: I("text-sm leading-snug text-eds-neutral-elements", e),
2988
3045
  ...t
2989
3046
  });
2990
3047
  }
2991
- er.displayName = "FormDialog.Header", tr.displayName = "FormDialog.Body", nr.displayName = "FormDialog.Footer", rr.displayName = "FormDialog.Title", ir.displayName = "FormDialog.Description";
2992
- var ar = Object.assign($n, {
2993
- Root: Wn,
2994
- Trigger: Gn,
2995
- Close: Xn,
2996
- Header: er,
2997
- Body: tr,
2998
- Footer: nr,
2999
- Title: rr,
3000
- Description: ir
3001
- }), or = { size: {
3048
+ rr.displayName = "FormDialog.Header", ir.displayName = "FormDialog.Body", ar.displayName = "FormDialog.Footer", or.displayName = "FormDialog.Title", sr.displayName = "FormDialog.Description";
3049
+ var cr = Object.assign(nr, {
3050
+ Root: qn,
3051
+ Trigger: Jn,
3052
+ Close: $n,
3053
+ Header: rr,
3054
+ Body: ir,
3055
+ Footer: ar,
3056
+ Title: or,
3057
+ Description: sr
3058
+ }), lr = { size: {
3002
3059
  sm: {
3003
3060
  classes: "px-6 py-8 gap-3",
3004
3061
  description: "Compact empty state for smaller containers"
@@ -3011,11 +3068,11 @@ var ar = Object.assign($n, {
3011
3068
  classes: "px-12 py-20 gap-6",
3012
3069
  description: "Large empty state for prominent placement"
3013
3070
  }
3014
- } }, sr = { size: "md" };
3015
- function cr({ icon: e, title: t, description: n, action: r, size: i = sr.size, titleLevel: a = "h2", className: o }) {
3071
+ } }, ur = { size: "md" };
3072
+ function dr({ icon: e, title: t, description: n, action: r, size: i = ur.size, titleLevel: a = "h2", className: o }) {
3016
3073
  return /* @__PURE__ */ v("div", {
3017
3074
  "data-eds-component": "Empty",
3018
- className: I("flex w-full flex-col items-center rounded-eds-sm border border-eds-outline-border bg-eds-neutral-background text-center", L(or.size, i, sr.size).classes, o),
3075
+ className: I("flex w-full flex-col items-center rounded-eds-sm border border-eds-outline-border bg-eds-neutral-background text-center", L(lr.size, i, ur.size).classes, o),
3019
3076
  children: [
3020
3077
  e && /* @__PURE__ */ _("div", {
3021
3078
  className: "text-eds-neutral-elements",
@@ -3036,24 +3093,24 @@ function cr({ icon: e, title: t, description: n, action: r, size: i = sr.size, t
3036
3093
  }
3037
3094
  //#endregion
3038
3095
  //#region ../../node_modules/.pnpm/brazilian-values@0.13.1/node_modules/brazilian-values/dist/brazilian-values.mjs
3039
- var lr = /\D/g, ur = function(e) {
3040
- return e.replace(lr, "");
3041
- }, dr = function(e) {
3042
- return ur(e).replace(/(\d{5})(\d{1,3})/, "$1-$2");
3043
- }, fr = function(e) {
3044
- return ur(e).replace(/(\d{2})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1/$2").replace(/(\d{4})(\d{1,2})$/, "$1-$2");
3045
- }, pr = function(e) {
3046
- return ur(e).replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2");
3096
+ var fr = /\D/g, pr = function(e) {
3097
+ return e.replace(fr, "");
3047
3098
  }, mr = function(e) {
3048
- return (e.match(/\d/g)?.length ?? 0) <= 11;
3099
+ return pr(e).replace(/(\d{5})(\d{1,3})/, "$1-$2");
3049
3100
  }, hr = function(e) {
3050
- return mr(e) ? pr(e) : fr(e);
3101
+ return pr(e).replace(/(\d{2})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1/$2").replace(/(\d{4})(\d{1,2})$/, "$1-$2");
3051
3102
  }, gr = function(e) {
3052
- return ur(e).replace(/(\d{1,2})/, "($1").replace(/(\(\d{2})(\d{1,4})/, "$1) $2").replace(/( \d{4})(\d{1,4})/, "$1-$2").replace(/( \d{4})(?:-)(\d{1})(\d{4})/, "$1$2-$3");
3103
+ return pr(e).replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2");
3104
+ }, _r = function(e) {
3105
+ return (e.match(/\d/g)?.length ?? 0) <= 11;
3106
+ }, vr = function(e) {
3107
+ return _r(e) ? gr(e) : hr(e);
3108
+ }, yr = function(e) {
3109
+ return pr(e).replace(/(\d{1,2})/, "($1").replace(/(\(\d{2})(\d{1,4})/, "$1) $2").replace(/( \d{4})(\d{1,4})/, "$1-$2").replace(/( \d{4})(?:-)(\d{1})(\d{4})/, "$1$2-$3");
3053
3110
  };
3054
3111
  //#endregion
3055
3112
  //#region src/components/Input/Input.tsx
3056
- function _r(e) {
3113
+ function br(e) {
3057
3114
  if (!e) return "";
3058
3115
  let t = e.trimStart().startsWith("-"), n = e.replace(/\./g, ",").replace(/[^\d,]/g, "");
3059
3116
  if (!n) return t ? "-" : "";
@@ -3062,30 +3119,30 @@ function _r(e) {
3062
3119
  let i = n.slice(0, r), a = n.slice(r + 1).replace(/,/g, "");
3063
3120
  return `${t ? "-" : ""}${i},${a}`;
3064
3121
  }
3065
- var vr = {
3122
+ var xr = {
3066
3123
  default: "",
3067
3124
  valid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
3068
3125
  invalid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]",
3069
3126
  loading: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-blue-main)_45%,var(--color-eds-outline-border))]"
3070
3127
  };
3071
- function yr({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", inputType: a = "text", required: o = !1, placeholder: s = "Digite algo...", errorMessage: c = "Campo obrigatório", fluid: l = !1, format: f, tooltip: p = null, linkText: m = null, linkUrl: h = null, supportLink: g = null, supportLinkUrl: y = null, supportingText: b = "", lazy: x = !1, labelVariant: S, disableAutocomplete: C = !1, isLoading: w = !1, loadingIconPosition: T = "end", icon: D, hideContent: te = !1, showContentText: O = "Mostrar", hideContentText: k = "Ocultar", defaultValue: A, value: j, id: M, name: N, onBlur: P, onFocus: F, onKeyDown: L, onClick: re, onChange: R, ...z }) {
3072
- let ie = ee(), B = M ?? ie, V = a === "number", [ae, H] = E(!1), [oe, se] = E(() => {
3073
- let e = A?.toString() ?? "";
3074
- return V ? _r(e) : e;
3075
- }), ce = j !== void 0, le = (ce ? j : oe)?.toString() ?? "", U = V ? _r(le) : le, W = g ?? m, ue = y ?? h, de = rn(S), fe = de === "floating", G = (e) => {
3076
- if (V) return _r(e);
3128
+ function Sr({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", inputType: a = "text", required: o = !1, placeholder: s = "Digite algo...", errorMessage: c = "Campo obrigatório", fluid: l = !1, format: f, tooltip: p = null, linkText: m = null, linkUrl: h = null, supportLink: g = null, supportLinkUrl: y = null, supportingText: b = "", lazy: x = !1, labelVariant: S, disableAutocomplete: C = !1, isLoading: w = !1, loadingIconPosition: T = "end", icon: D, hideContent: te = !1, showContentText: ne = "Mostrar", hideContentText: O = "Ocultar", defaultValue: re, value: k, id: A, name: j, onBlur: M, onFocus: P, onKeyDown: F, onClick: L, onChange: R, ...z }) {
3129
+ let ie = ee(), B = A ?? ie, V = a === "number", [ae, H] = E(!1), [oe, se] = E(() => {
3130
+ let e = re?.toString() ?? "";
3131
+ return V ? br(e) : e;
3132
+ }), ce = k !== void 0, le = (ce ? k : oe)?.toString() ?? "", ue = V ? br(le) : le, U = g ?? m, W = y ?? h, de = an(S), fe = de === "floating", pe = (e) => {
3133
+ if (V) return br(e);
3077
3134
  switch (f) {
3078
- case "cep": return dr(e);
3079
- case "cpf": return pr(e);
3080
- case "cnpj": return fr(e);
3081
- case "cpfOrCnpj": return hr(e);
3082
- case "phone": return gr(e);
3135
+ case "cep": return mr(e);
3136
+ case "cpf": return gr(e);
3137
+ case "cnpj": return hr(e);
3138
+ case "cpfOrCnpj": return vr(e);
3139
+ case "phone": return yr(e);
3083
3140
  default: return e;
3084
3141
  }
3085
- }, K = (e, t) => {
3086
- let n = G(e);
3142
+ }, me = (e, t) => {
3143
+ let n = pe(e);
3087
3144
  ce || se(n), R?.(n, t);
3088
- }, pe = r === "invalid", me = n || w, he = an[i], ge = w ? /* @__PURE__ */ _("span", {
3145
+ }, G = r === "invalid", K = n || w, he = on[i], ge = w ? /* @__PURE__ */ _("span", {
3089
3146
  className: "inline-flex shrink-0 items-center justify-center text-eds-blue-main",
3090
3147
  "data-position": T,
3091
3148
  "aria-hidden": !0,
@@ -3095,17 +3152,17 @@ function yr({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
3095
3152
  })
3096
3153
  }) : null;
3097
3154
  return /* @__PURE__ */ v("div", {
3098
- className: I(sn, e),
3155
+ className: I(cn, e),
3099
3156
  "data-fluid": l || void 0,
3100
3157
  "data-eds-component": "Input",
3101
3158
  "data-label-variant": de,
3102
3159
  children: [
3103
3160
  /* @__PURE__ */ v("div", {
3104
- className: cn,
3161
+ className: ln,
3105
3162
  children: [/* @__PURE__ */ v("div", {
3106
3163
  className: "inline-flex min-w-0 items-center gap-2",
3107
3164
  children: [/* @__PURE__ */ v("label", {
3108
- className: I(ln, fe && "sr-only", !fe && "font-medium"),
3165
+ className: I(un, fe && "sr-only", !fe && "font-medium"),
3109
3166
  htmlFor: B,
3110
3167
  children: [/* @__PURE__ */ _("span", { children: t }), o && /* @__PURE__ */ _("span", {
3111
3168
  className: "text-eds-red-main",
@@ -3116,33 +3173,33 @@ function yr({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
3116
3173
  className: "inline-flex size-7 cursor-help items-center justify-center rounded-md text-eds-neutral-elements focus-visible:outline-2 focus-visible:outline-eds-blue-main focus-visible:outline-offset-2",
3117
3174
  "aria-label": p,
3118
3175
  title: p,
3119
- disabled: me,
3176
+ disabled: K,
3120
3177
  children: /* @__PURE__ */ _(u, {
3121
3178
  size: 16,
3122
3179
  "aria-hidden": !0
3123
3180
  })
3124
3181
  })]
3125
- }), W && ue && /* @__PURE__ */ _("a", {
3182
+ }), U && W && /* @__PURE__ */ _("a", {
3126
3183
  className: "text-sm whitespace-nowrap text-eds-blue-main underline underline-offset-[0.15em] aria-disabled:pointer-events-none aria-disabled:opacity-60",
3127
- href: ue,
3128
- "aria-disabled": me || void 0,
3129
- tabIndex: me ? -1 : 0,
3184
+ href: W,
3185
+ "aria-disabled": K || void 0,
3186
+ tabIndex: K ? -1 : 0,
3130
3187
  onClick: (e) => {
3131
- me && e.preventDefault();
3188
+ K && e.preventDefault();
3132
3189
  },
3133
- children: W
3190
+ children: U
3134
3191
  })]
3135
3192
  }),
3136
3193
  /* @__PURE__ */ v("div", {
3137
- className: I("group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white", he.control, vr[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
3138
- "data-disabled": me || void 0,
3194
+ className: I("group relative inline-flex w-full items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white", he.control, xr[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
3195
+ "data-disabled": K || void 0,
3139
3196
  "data-state": r,
3140
3197
  "data-size": i,
3141
3198
  "data-floating": fe || void 0,
3142
- "data-has-value": U ? !0 : void 0,
3199
+ "data-has-value": ue ? !0 : void 0,
3143
3200
  children: [
3144
3201
  fe && /* @__PURE__ */ v("span", {
3145
- className: bn(he.left),
3202
+ className: xn(he.left),
3146
3203
  children: [/* @__PURE__ */ _("span", { children: t }), o && /* @__PURE__ */ _("span", {
3147
3204
  className: "text-eds-red-main",
3148
3205
  "aria-hidden": "true",
@@ -3155,82 +3212,82 @@ function yr({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
3155
3212
  "aria-hidden": !0
3156
3213
  }),
3157
3214
  T === "start" && ge,
3158
- /* @__PURE__ */ _(ne, {
3215
+ /* @__PURE__ */ _(N, {
3159
3216
  ...z,
3160
3217
  id: B,
3161
- name: N,
3162
- className: I("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none", dn, he.text),
3163
- disabled: me,
3218
+ name: j,
3219
+ className: I("box-border min-w-0 flex-1 border-0 bg-transparent p-0 font-inherit text-eds-neutral-main outline-none", fn, he.text),
3220
+ disabled: K,
3164
3221
  type: V ? "text" : te ? ae ? "text" : "password" : a,
3165
3222
  inputMode: V ? z.inputMode ?? "decimal" : z.inputMode,
3166
3223
  lang: V ? z.lang ?? "pt-BR" : z.lang,
3167
3224
  required: o,
3168
3225
  placeholder: s,
3169
3226
  autoComplete: C ? "off" : z.autoComplete,
3170
- "aria-invalid": pe || void 0,
3171
- "aria-describedby": pe ? `${B}-desc` : void 0,
3227
+ "aria-invalid": G || void 0,
3228
+ "aria-describedby": G ? `${B}-desc` : void 0,
3172
3229
  "aria-busy": w || void 0,
3173
- value: ce || V ? U : void 0,
3174
- defaultValue: !ce && !V ? A : void 0,
3175
- onClick: re,
3176
- onKeyDown: L,
3177
- onFocus: F,
3230
+ value: ce || V ? ue : void 0,
3231
+ defaultValue: !ce && !V ? re : void 0,
3232
+ onClick: L,
3233
+ onKeyDown: F,
3234
+ onFocus: P,
3178
3235
  onBlur: (e) => {
3179
- P?.(e), x && K(e.currentTarget.value, e);
3236
+ M?.(e), x && me(e.currentTarget.value, e);
3180
3237
  },
3181
3238
  onChange: (e) => {
3182
3239
  if (x) {
3183
- V && !ce && se(G(e.currentTarget.value));
3240
+ V && !ce && se(pe(e.currentTarget.value));
3184
3241
  return;
3185
3242
  }
3186
- K(e.currentTarget.value, e);
3243
+ me(e.currentTarget.value, e);
3187
3244
  }
3188
3245
  }),
3189
3246
  te && !w && /* @__PURE__ */ _("button", {
3190
3247
  type: "button",
3191
3248
  className: "shrink-0 text-sm font-medium text-eds-blue-main hover:underline",
3192
- disabled: me,
3249
+ disabled: K,
3193
3250
  onClick: () => H((e) => !e),
3194
- children: ae ? k : O
3251
+ children: ae ? O : ne
3195
3252
  }),
3196
3253
  T === "end" && ge
3197
3254
  ]
3198
3255
  }),
3199
- (pe || b) && /* @__PURE__ */ _("div", {
3256
+ (G || b) && /* @__PURE__ */ _("div", {
3200
3257
  id: `${B}-desc`,
3201
3258
  className: "text-xs text-eds-neutral-elements data-[state=invalid]:text-eds-red-main",
3202
- "data-state": pe ? "invalid" : r,
3203
- children: pe ? c : b
3259
+ "data-state": G ? "invalid" : r,
3260
+ children: G ? c : b
3204
3261
  })
3205
3262
  ]
3206
3263
  });
3207
3264
  }
3208
3265
  //#endregion
3209
3266
  //#region src/components/Textarea/Textarea.tsx
3210
- var br = {
3267
+ var Cr = {
3211
3268
  default: "",
3212
3269
  valid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
3213
3270
  invalid: "not-focus-within:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
3214
- }, xr = {
3271
+ }, wr = {
3215
3272
  sm: "min-h-20",
3216
3273
  md: "min-h-24",
3217
3274
  lg: "min-h-32"
3218
3275
  };
3219
- function Sr({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", required: a = !1, placeholder: o = "Digite algo...", errorMessage: s = "Campo obrigatório", fluid: c = !1, tooltip: l = null, supportLink: d = null, supportLinkUrl: f = null, supportingText: p = "", labelVariant: m, rows: h = 4, defaultValue: g, value: y, id: b, name: x, onBlur: S, onFocus: C, onKeyDown: w, onClick: T, onChange: D, ...te }) {
3220
- let O = ee(), k = b ?? O, [A, j] = E(() => g?.toString() ?? ""), M = y !== void 0, N = (M ? y : A)?.toString() ?? "", ne = rn(m), P = ne === "floating", F = r === "invalid", L = an[i];
3276
+ function Tr({ className: e, label: t = "Label", disabled: n = !1, state: r = "default", size: i = "md", required: a = !1, placeholder: o = "Digite algo...", errorMessage: s = "Campo obrigatório", fluid: c = !1, tooltip: l = null, supportLink: d = null, supportLinkUrl: f = null, supportingText: p = "", labelVariant: m, rows: h = 4, defaultValue: g, value: y, id: b, name: x, onBlur: S, onFocus: C, onKeyDown: w, onClick: T, onChange: D, ...te }) {
3277
+ let ne = ee(), O = b ?? ne, [re, k] = E(() => g?.toString() ?? ""), A = y !== void 0, j = (A ? y : re)?.toString() ?? "", M = an(m), N = M === "floating", P = r === "invalid", F = on[i];
3221
3278
  return /* @__PURE__ */ v("div", {
3222
- className: I(sn, e),
3279
+ className: I(cn, e),
3223
3280
  "data-fluid": c || void 0,
3224
3281
  "data-eds-component": "Textarea",
3225
- "data-label-variant": ne,
3282
+ "data-label-variant": M,
3226
3283
  children: [
3227
3284
  /* @__PURE__ */ v("div", {
3228
- className: cn,
3285
+ className: ln,
3229
3286
  children: [/* @__PURE__ */ v("div", {
3230
3287
  className: "inline-flex min-w-0 items-center gap-2",
3231
3288
  children: [/* @__PURE__ */ v("label", {
3232
- className: I(ln, P && "sr-only", !P && "font-medium"),
3233
- htmlFor: k,
3289
+ className: I(un, N && "sr-only", !N && "font-medium"),
3290
+ htmlFor: O,
3234
3291
  children: [/* @__PURE__ */ _("span", { children: t }), a && /* @__PURE__ */ _("span", {
3235
3292
  className: "text-eds-red-main",
3236
3293
  children: "*"
@@ -3258,14 +3315,14 @@ function Sr({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
3258
3315
  })]
3259
3316
  }),
3260
3317
  /* @__PURE__ */ v("div", {
3261
- className: I("group relative flex w-full flex-col rounded-eds-xs border border-eds-outline-border !bg-white", L.paddingX, "py-2.5", xr[i], br[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:!bg-eds-neutral-background data-disabled:opacity-70"),
3318
+ className: I("group relative flex w-full flex-col rounded-eds-xs border border-eds-outline-border !bg-white", F.paddingX, "py-2.5", wr[i], Cr[r], "focus-within:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-within:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)]", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:!bg-eds-neutral-background data-disabled:opacity-70"),
3262
3319
  "data-disabled": n || void 0,
3263
3320
  "data-state": r,
3264
3321
  "data-size": i,
3265
- "data-floating": P || void 0,
3266
- "data-has-value": N ? !0 : void 0,
3267
- children: [P && /* @__PURE__ */ v("span", {
3268
- className: bn(L.left),
3322
+ "data-floating": N || void 0,
3323
+ "data-has-value": j ? !0 : void 0,
3324
+ children: [N && /* @__PURE__ */ v("span", {
3325
+ className: xn(F.left),
3269
3326
  children: [/* @__PURE__ */ _("span", { children: t }), a && /* @__PURE__ */ _("span", {
3270
3327
  className: "text-eds-red-main",
3271
3328
  "aria-hidden": "true",
@@ -3273,54 +3330,54 @@ function Sr({ className: e, label: t = "Label", disabled: n = !1, state: r = "de
3273
3330
  })]
3274
3331
  }), /* @__PURE__ */ _("textarea", {
3275
3332
  ...te,
3276
- id: k,
3333
+ id: O,
3277
3334
  name: x,
3278
3335
  rows: h,
3279
- className: I("box-border min-h-[inherit] w-full flex-1 resize-y appearance-none border-0 !bg-white p-0 font-inherit text-eds-neutral-main shadow-none outline-none", dn, L.text, "disabled:cursor-not-allowed disabled:!bg-eds-neutral-background"),
3336
+ className: I("box-border min-h-[inherit] w-full flex-1 resize-y appearance-none border-0 !bg-white p-0 font-inherit text-eds-neutral-main shadow-none outline-none", fn, F.text, "disabled:cursor-not-allowed disabled:!bg-eds-neutral-background"),
3280
3337
  disabled: n,
3281
3338
  required: a,
3282
3339
  placeholder: o,
3283
- "aria-invalid": F || void 0,
3284
- "aria-describedby": F ? `${k}-desc` : void 0,
3285
- value: M ? y : void 0,
3286
- defaultValue: M ? void 0 : g,
3340
+ "aria-invalid": P || void 0,
3341
+ "aria-describedby": P ? `${O}-desc` : void 0,
3342
+ value: A ? y : void 0,
3343
+ defaultValue: A ? void 0 : g,
3287
3344
  onClick: T,
3288
3345
  onKeyDown: w,
3289
3346
  onFocus: C,
3290
3347
  onBlur: S,
3291
3348
  onChange: (e) => {
3292
- M || j(e.target.value), D?.(e.target.value, e);
3349
+ A || k(e.target.value), D?.(e.target.value, e);
3293
3350
  }
3294
3351
  })]
3295
3352
  }),
3296
- (F || p) && /* @__PURE__ */ _("div", {
3297
- id: `${k}-desc`,
3353
+ (P || p) && /* @__PURE__ */ _("div", {
3354
+ id: `${O}-desc`,
3298
3355
  className: "text-xs text-eds-neutral-elements data-[state=invalid]:text-eds-red-main",
3299
- "data-state": F ? "invalid" : r,
3300
- children: F ? s : p
3356
+ "data-state": P ? "invalid" : r,
3357
+ children: P ? s : p
3301
3358
  })
3302
3359
  ]
3303
3360
  });
3304
3361
  }
3305
3362
  //#endregion
3306
3363
  //#region src/components/Select/Select.tsx
3307
- var Cr = {
3364
+ var Er = {
3308
3365
  default: "",
3309
3366
  valid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-green-main)_55%,var(--color-eds-outline-border))]",
3310
3367
  invalid: "not-focus-visible:border-[color-mix(in_srgb,var(--color-eds-red-main)_55%,var(--color-eds-outline-border))]"
3311
3368
  };
3312
- function wr({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "Selecione uma opção", disabled: i = !1, required: s = !1, fluid: c = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma opção válida", id: p, name: m, value: h = void 0, defaultValue: g = void 0, onValueChange: y = void 0, renderItem: b = void 0, className: x }) {
3313
- let S = ee(), C = p ?? S, w = l === "invalid", T = w || d, E = an[u], D = rn(t), te = D === "floating";
3369
+ function Dr({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "Selecione uma opção", disabled: i = !1, required: s = !1, fluid: c = !1, state: l = "default", size: u = "md", supportingText: d = "", errorMessage: f = "Selecione uma opção válida", id: p, name: m, value: h = void 0, defaultValue: g = void 0, onValueChange: y = void 0, renderItem: b = void 0, className: x }) {
3370
+ let S = ee(), C = p ?? S, w = l === "invalid", T = w || d, E = on[u], D = an(t), te = D === "floating";
3314
3371
  return /* @__PURE__ */ v("div", {
3315
- className: I(sn, x),
3372
+ className: I(cn, x),
3316
3373
  "data-fluid": c || void 0,
3317
3374
  "data-eds-component": "Select",
3318
3375
  "data-label-variant": D,
3319
3376
  children: [
3320
3377
  /* @__PURE__ */ _("div", {
3321
- className: cn,
3378
+ className: ln,
3322
3379
  children: /* @__PURE__ */ v("label", {
3323
- className: I(ln, te && "sr-only", !te && "font-medium"),
3380
+ className: I(un, te && "sr-only", !te && "font-medium"),
3324
3381
  htmlFor: C,
3325
3382
  children: [/* @__PURE__ */ _("span", { children: e }), s && /* @__PURE__ */ _("span", {
3326
3383
  className: "text-eds-red-main",
@@ -3337,14 +3394,14 @@ function wr({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "S
3337
3394
  defaultValue: g,
3338
3395
  value: h,
3339
3396
  children: [/* @__PURE__ */ v(P.Trigger, {
3340
- className: I("group relative box-border inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white py-0", E.trigger, Cr[l], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
3397
+ className: I("group relative box-border inline-flex w-full cursor-pointer items-center gap-2 rounded-eds-xs border border-eds-outline-border bg-white py-0", E.trigger, Er[l], "focus-visible:border-[color-mix(in_srgb,var(--color-eds-neutral-elements)_35%,var(--color-eds-outline-border))] focus-visible:shadow-[0_0_0_3px_var(--color-eds-outline-focus-ring)] focus-visible:outline-none", "data-disabled:cursor-not-allowed data-disabled:border-eds-outline-border data-disabled:bg-eds-neutral-background data-disabled:opacity-70"),
3341
3398
  "data-state": l,
3342
3399
  "data-size": u,
3343
3400
  "data-disabled": i || void 0,
3344
3401
  "aria-describedby": T ? `${C}-desc` : void 0,
3345
3402
  children: [
3346
3403
  te && /* @__PURE__ */ v("span", {
3347
- className: bn(E.left),
3404
+ className: xn(E.left),
3348
3405
  children: [/* @__PURE__ */ _("span", { children: e }), s && /* @__PURE__ */ _("span", {
3349
3406
  className: "text-eds-red-main",
3350
3407
  "aria-hidden": "true",
@@ -3352,7 +3409,7 @@ function wr({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "S
3352
3409
  })]
3353
3410
  }),
3354
3411
  /* @__PURE__ */ _(P.Value, {
3355
- className: I("box-border min-w-0 flex-1 truncate text-left font-inherit text-eds-neutral-main", fn, E.text),
3412
+ className: I("box-border min-w-0 flex-1 truncate text-left font-inherit text-eds-neutral-main", pn, E.text),
3356
3413
  placeholder: r
3357
3414
  }),
3358
3415
  /* @__PURE__ */ _(P.Icon, {
@@ -3365,19 +3422,19 @@ function wr({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "S
3365
3422
  })
3366
3423
  ]
3367
3424
  }), /* @__PURE__ */ _(P.Portal, { children: /* @__PURE__ */ _(P.Positioner, {
3368
- className: vn,
3369
- style: yn,
3425
+ className: yn,
3426
+ style: bn,
3370
3427
  positionMethod: "fixed",
3371
3428
  sideOffset: 4,
3372
3429
  children: /* @__PURE__ */ _(P.Popup, {
3373
- className: mn,
3430
+ className: hn,
3374
3431
  children: /* @__PURE__ */ _(P.List, {
3375
- className: hn,
3432
+ className: gn,
3376
3433
  children: n.map((e) => /* @__PURE__ */ v(P.Item, {
3377
3434
  value: e,
3378
- className: gn,
3435
+ className: _n,
3379
3436
  children: [/* @__PURE__ */ _(P.ItemIndicator, {
3380
- className: _n,
3437
+ className: vn,
3381
3438
  children: /* @__PURE__ */ _(a, {
3382
3439
  size: 14,
3383
3440
  "aria-hidden": !0
@@ -3402,7 +3459,7 @@ function wr({ label: e = "Label", labelVariant: t, items: n, placeholder: r = "S
3402
3459
  }
3403
3460
  //#endregion
3404
3461
  //#region src/components/Text/Text.tsx
3405
- var Tr = {
3462
+ var Or = {
3406
3463
  variant: {
3407
3464
  heading1: {
3408
3465
  classes: "text-3xl font-semibold",
@@ -3459,20 +3516,20 @@ var Tr = {
3459
3516
  description: "Large text"
3460
3517
  }
3461
3518
  }
3462
- }, Er = {
3519
+ }, kr = {
3463
3520
  variant: "body",
3464
3521
  size: "md"
3465
- }, Dr = /* @__PURE__ */ new Set([
3522
+ }, Ar = /* @__PURE__ */ new Set([
3466
3523
  "heading1",
3467
3524
  "heading2",
3468
3525
  "heading3"
3469
- ]), Or = /* @__PURE__ */ new Set(["mono", "mono-secondary"]);
3470
- function kr({ variant: e = "body", bold: t = !1, size: n = "md", truncate: r = !1, children: i, className: a, as: o, ...s }, c) {
3471
- let l = Or.has(e), u = Dr.has(e), d = w(() => o || (l || u ? "span" : "p"), [
3526
+ ]), jr = /* @__PURE__ */ new Set(["mono", "mono-secondary"]);
3527
+ function Mr({ variant: e = "body", bold: t = !1, size: n = "md", truncate: r = !1, children: i, className: a, as: o, ...s }, c) {
3528
+ let l = jr.has(e), u = Ar.has(e), d = w(() => o || (l || u ? "span" : "p"), [
3472
3529
  o,
3473
3530
  l,
3474
3531
  u
3475
- ]), f = L(Tr.variant, e, Er.variant), p = L(Tr.size, n ?? "md", Er.size);
3532
+ ]), f = L(Or.variant, e, kr.variant), p = L(Or.size, n ?? "md", kr.size);
3476
3533
  return /* @__PURE__ */ _(d, {
3477
3534
  ref: c,
3478
3535
  "data-eds-component": "Text",
@@ -3481,7 +3538,7 @@ function kr({ variant: e = "body", bold: t = !1, size: n = "md", truncate: r = !
3481
3538
  children: i
3482
3539
  });
3483
3540
  }
3484
- var Ar = x(kr), jr = {
3541
+ var Nr = x(Mr), Pr = {
3485
3542
  layout: {
3486
3543
  auto: {
3487
3544
  classes: "",
@@ -3530,15 +3587,15 @@ var Ar = x(kr), jr = {
3530
3587
  description: "Pin column to the right edge of the scroll container"
3531
3588
  }
3532
3589
  }
3533
- }, Mr = (e, t) => {
3534
- let n = L(jr.sticky, e, "left").classes, r = t === "head" ? "z-2" : "z-1", i = e === "right" ? "before:-left-6" : "before:-right-6", a = "before:pointer-events-none before:absolute before:inset-y-0 before:w-6";
3590
+ }, Fr = (e, t) => {
3591
+ let n = L(Pr.sticky, e, "left").classes, r = t === "head" ? "z-2" : "z-1", i = e === "right" ? "before:-left-6" : "before:-right-6", a = "before:pointer-events-none before:absolute before:inset-y-0 before:w-6";
3535
3592
  return t === "cell" ? I(n, r, "bg-white", a, i, e === "right" ? "before:bg-gradient-to-r before:from-transparent before:to-white" : "before:bg-gradient-to-l before:from-transparent before:to-white") : I(n, r, "bg-eds-neutral-background", a, i, e === "right" ? "before:bg-gradient-to-r before:from-transparent before:to-eds-neutral-background" : "before:bg-gradient-to-l before:from-transparent before:to-eds-neutral-background");
3536
- }, Nr = {
3593
+ }, Ir = {
3537
3594
  layout: "auto",
3538
3595
  variant: "default",
3539
3596
  dividers: "row"
3540
- }, Pr = x(({ layout: e = "auto", dividers: t = Nr.dividers, className: n, containerClassName: r, ...i }, a) => {
3541
- let o = I("isolate w-full", L(jr.layout, e, Nr.layout).classes, L(jr.dividers, t, Nr.dividers).classes, "[&_td]:p-3", "[&_th]:border-b [&_th]:border-eds-neutral-disabled [&_th]:p-3 [&_th]:font-semibold [&_th]:text-sm", "[&_th]:bg-eds-neutral-background", "text-sm text-left text-eds-neutral-main", n);
3597
+ }, Lr = x(({ layout: e = "auto", dividers: t = Ir.dividers, className: n, containerClassName: r, ...i }, a) => {
3598
+ let o = I("isolate w-full", L(Pr.layout, e, Ir.layout).classes, L(Pr.dividers, t, Ir.dividers).classes, "[&_td]:p-3", "[&_th]:border-b [&_th]:border-eds-neutral-disabled [&_th]:p-3 [&_th]:font-semibold [&_th]:text-sm", "[&_th]:bg-eds-neutral-background", "text-sm text-left text-eds-neutral-main", n);
3542
3599
  return /* @__PURE__ */ _("div", {
3543
3600
  className: I("w-full overflow-x-auto rounded-eds-xs border border-eds-outline-border bg-white", r),
3544
3601
  children: /* @__PURE__ */ _("table", {
@@ -3548,7 +3605,7 @@ var Ar = x(kr), jr = {
3548
3605
  className: o
3549
3606
  })
3550
3607
  });
3551
- }), Fr = x(({ variant: e = "default", sticky: t, ...n }, r) => {
3608
+ }), Rr = x(({ variant: e = "default", sticky: t, ...n }, r) => {
3552
3609
  let i = e === "compact", a = I("group/header", i && "[&_th]:py-2 text-xs text-eds-neutral-elements", t && "[&_th]:sticky [&_th]:top-0 [&_th]:z-1", n.className);
3553
3610
  return /* @__PURE__ */ _("thead", {
3554
3611
  ref: r,
@@ -3556,45 +3613,45 @@ var Ar = x(kr), jr = {
3556
3613
  className: a,
3557
3614
  ...i && { "data-compact": "" }
3558
3615
  });
3559
- }), Ir = x(({ sticky: e, ...t }, n) => {
3560
- let r = I("group relative", e && Mr(e, "head"), t.className);
3616
+ }), zr = x(({ sticky: e, ...t }, n) => {
3617
+ let r = I("group relative", e && Fr(e, "head"), t.className);
3561
3618
  return /* @__PURE__ */ _("th", {
3562
3619
  ref: n,
3563
3620
  ...t,
3564
3621
  className: r
3565
3622
  });
3566
- }), Lr = x(({ variant: e = Nr.variant, ...t }, n) => {
3567
- let r = I(L(jr.variant, e, Nr.variant).classes, t.className);
3623
+ }), Br = x(({ variant: e = Ir.variant, ...t }, n) => {
3624
+ let r = I(L(Pr.variant, e, Ir.variant).classes, t.className);
3568
3625
  return /* @__PURE__ */ _("tr", {
3569
3626
  ref: n,
3570
3627
  ...t,
3571
3628
  className: r
3572
3629
  });
3573
- }), Rr = x((e, t) => /* @__PURE__ */ _("tbody", {
3630
+ }), Vr = x((e, t) => /* @__PURE__ */ _("tbody", {
3574
3631
  ref: t,
3575
3632
  ...e
3576
- })), zr = x(({ sticky: e, ...t }, n) => {
3577
- let r = I(e && Mr(e, "cell"), t.className);
3633
+ })), Hr = x(({ sticky: e, ...t }, n) => {
3634
+ let r = I(e && Fr(e, "cell"), t.className);
3578
3635
  return /* @__PURE__ */ _("td", {
3579
3636
  ref: n,
3580
3637
  ...t,
3581
3638
  className: r
3582
3639
  });
3583
- }), Br = x((e, t) => /* @__PURE__ */ _("tfoot", {
3640
+ }), Ur = x((e, t) => /* @__PURE__ */ _("tfoot", {
3584
3641
  ref: t,
3585
3642
  ...e
3586
- })), Vr = x((e, t) => /* @__PURE__ */ _("button", {
3643
+ })), Wr = x((e, t) => /* @__PURE__ */ _("button", {
3587
3644
  ref: t,
3588
3645
  ...e,
3589
3646
  type: "button",
3590
3647
  "aria-label": "Redimensionar coluna",
3591
3648
  className: I("opacity-0 h-full group-hover:opacity-100 focus-visible:opacity-100", "w-[10px]", "flex items-center justify-center", "cursor-col-resize touch-none select-none", "absolute top-0 right-0", "m-0 bg-white p-0", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-eds-blue-main", e.className),
3592
3649
  children: /* @__PURE__ */ _("span", { className: "h-5 w-[2px] rounded bg-eds-neutral-disabled" })
3593
- })), Hr = x(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ _(zr, {
3650
+ })), Gr = x(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ _(Hr, {
3594
3651
  ref: o,
3595
3652
  ...a,
3596
3653
  className: I("w-10 leading-none", a.className),
3597
- children: /* @__PURE__ */ _(nn, {
3654
+ children: /* @__PURE__ */ _(rn, {
3598
3655
  checked: e,
3599
3656
  indeterminate: t,
3600
3657
  onCheckedChange: n,
@@ -3602,11 +3659,11 @@ var Ar = x(kr), jr = {
3602
3659
  disabled: i,
3603
3660
  className: "relative before:absolute before:-inset-3 before:content-['']"
3604
3661
  })
3605
- })), Ur = x(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ _(Ir, {
3662
+ })), Kr = x(({ checked: e, indeterminate: t, onCheckedChange: n, label: r, disabled: i, ...a }, o) => /* @__PURE__ */ _(zr, {
3606
3663
  ref: o,
3607
3664
  ...a,
3608
3665
  className: I("w-10 leading-none", a.className),
3609
- children: /* @__PURE__ */ _(nn, {
3666
+ children: /* @__PURE__ */ _(rn, {
3610
3667
  checked: e,
3611
3668
  indeterminate: t,
3612
3669
  onCheckedChange: n,
@@ -3615,38 +3672,38 @@ var Ar = x(kr), jr = {
3615
3672
  className: "relative before:absolute before:-inset-3 before:content-['']"
3616
3673
  })
3617
3674
  }));
3618
- Pr.displayName = "Table", Rr.displayName = "Table.Body", Ir.displayName = "Table.Head", Lr.displayName = "Table.Row", zr.displayName = "Table.Cell", Br.displayName = "Table.Footer", Fr.displayName = "Table.Header", Vr.displayName = "Table.ResizeHandle", Hr.displayName = "Table.CheckCell", Ur.displayName = "Table.CheckHead";
3619
- var Y = Object.assign(Pr, {
3620
- Header: Fr,
3621
- Head: Ir,
3622
- Row: Lr,
3623
- Body: Rr,
3624
- Cell: zr,
3625
- CheckCell: Hr,
3626
- CheckHead: Ur,
3627
- Footer: Br,
3628
- ResizeHandle: Vr
3675
+ Lr.displayName = "Table", Vr.displayName = "Table.Body", zr.displayName = "Table.Head", Br.displayName = "Table.Row", Hr.displayName = "Table.Cell", Ur.displayName = "Table.Footer", Rr.displayName = "Table.Header", Wr.displayName = "Table.ResizeHandle", Gr.displayName = "Table.CheckCell", Kr.displayName = "Table.CheckHead";
3676
+ var Y = Object.assign(Lr, {
3677
+ Header: Rr,
3678
+ Head: zr,
3679
+ Row: Br,
3680
+ Body: Vr,
3681
+ Cell: Hr,
3682
+ CheckCell: Gr,
3683
+ CheckHead: Kr,
3684
+ Footer: Ur,
3685
+ ResizeHandle: Wr
3629
3686
  });
3630
3687
  //#endregion
3631
3688
  //#region ../../node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.mjs
3632
- function Wr(e, t) {
3689
+ function qr(e, t) {
3633
3690
  return typeof e == "function" ? e(t) : e;
3634
3691
  }
3635
3692
  function X(e, t) {
3636
3693
  return (n) => {
3637
3694
  t.setState((t) => ({
3638
3695
  ...t,
3639
- [e]: Wr(n, t[e])
3696
+ [e]: qr(n, t[e])
3640
3697
  }));
3641
3698
  };
3642
3699
  }
3643
- function Gr(e) {
3700
+ function Jr(e) {
3644
3701
  return e instanceof Function;
3645
3702
  }
3646
- function Kr(e) {
3703
+ function Yr(e) {
3647
3704
  return Array.isArray(e) && e.every((e) => typeof e == "number");
3648
3705
  }
3649
- function qr(e, t) {
3706
+ function Xr(e, t) {
3650
3707
  let n = [], r = (e) => {
3651
3708
  e.forEach((e) => {
3652
3709
  n.push(e);
@@ -3685,7 +3742,7 @@ function Q(e, t, n, r) {
3685
3742
  onChange: r
3686
3743
  };
3687
3744
  }
3688
- function Jr(e, t, n, r) {
3745
+ function Zr(e, t, n, r) {
3689
3746
  let i = {
3690
3747
  id: `${t.id}_${n.id}`,
3691
3748
  row: t,
@@ -3710,7 +3767,7 @@ function Jr(e, t, n, r) {
3710
3767
  r.createCell == null || r.createCell(i, n, t, e);
3711
3768
  }, {}), i;
3712
3769
  }
3713
- function Yr(e, t, n, r) {
3770
+ function Qr(e, t, n, r) {
3714
3771
  let i = {
3715
3772
  ...e._getDefaultColumnDef(),
3716
3773
  ...t
@@ -3737,7 +3794,7 @@ function Yr(e, t, n, r) {
3737
3794
  return c;
3738
3795
  }
3739
3796
  var $ = "debugHeaders";
3740
- function Xr(e, t, n) {
3797
+ function $r(e, t, n) {
3741
3798
  let r = {
3742
3799
  id: n.id ?? t.id,
3743
3800
  column: t,
@@ -3765,7 +3822,7 @@ function Xr(e, t, n) {
3765
3822
  t.createHeader == null || t.createHeader(r, e);
3766
3823
  }), r;
3767
3824
  }
3768
- var Zr = { createTable: (e) => {
3825
+ var ei = { createTable: (e) => {
3769
3826
  e.getHeaderGroups = Z(() => [
3770
3827
  e.getAllColumns(),
3771
3828
  e.getVisibleLeafColumns(),
@@ -3773,7 +3830,7 @@ var Zr = { createTable: (e) => {
3773
3830
  e.getState().columnPinning.right
3774
3831
  ], (t, n, r, i) => {
3775
3832
  let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
3776
- return Qr(t, [
3833
+ return ti(t, [
3777
3834
  ...a,
3778
3835
  ...s,
3779
3836
  ...o
@@ -3783,15 +3840,15 @@ var Zr = { createTable: (e) => {
3783
3840
  e.getVisibleLeafColumns(),
3784
3841
  e.getState().columnPinning.left,
3785
3842
  e.getState().columnPinning.right
3786
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), Qr(t, n, e, "center")), Q(e.options, $, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Z(() => [
3843
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), ti(t, n, e, "center")), Q(e.options, $, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Z(() => [
3787
3844
  e.getAllColumns(),
3788
3845
  e.getVisibleLeafColumns(),
3789
3846
  e.getState().columnPinning.left
3790
- ], (t, n, r) => Qr(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), Q(e.options, $, "getLeftHeaderGroups")), e.getRightHeaderGroups = Z(() => [
3847
+ ], (t, n, r) => ti(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), Q(e.options, $, "getLeftHeaderGroups")), e.getRightHeaderGroups = Z(() => [
3791
3848
  e.getAllColumns(),
3792
3849
  e.getVisibleLeafColumns(),
3793
3850
  e.getState().columnPinning.right
3794
- ], (t, n, r) => Qr(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), Q(e.options, $, "getRightHeaderGroups")), e.getFooterGroups = Z(() => [e.getHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getFooterGroups")), e.getLeftFooterGroups = Z(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getLeftFooterGroups")), e.getCenterFooterGroups = Z(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getCenterFooterGroups")), e.getRightFooterGroups = Z(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getRightFooterGroups")), e.getFlatHeaders = Z(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getFlatHeaders")), e.getLeftFlatHeaders = Z(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Z(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getCenterFlatHeaders")), e.getRightFlatHeaders = Z(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getRightFlatHeaders")), e.getCenterLeafHeaders = Z(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
3851
+ ], (t, n, r) => ti(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), Q(e.options, $, "getRightHeaderGroups")), e.getFooterGroups = Z(() => [e.getHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getFooterGroups")), e.getLeftFooterGroups = Z(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getLeftFooterGroups")), e.getCenterFooterGroups = Z(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getCenterFooterGroups")), e.getRightFooterGroups = Z(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), Q(e.options, $, "getRightFooterGroups")), e.getFlatHeaders = Z(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getFlatHeaders")), e.getLeftFlatHeaders = Z(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Z(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getCenterFlatHeaders")), e.getRightFlatHeaders = Z(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), Q(e.options, $, "getRightFlatHeaders")), e.getCenterLeafHeaders = Z(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
3795
3852
  var t;
3796
3853
  return !((t = e.subHeaders) != null && t.length);
3797
3854
  }), Q(e.options, $, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Z(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
@@ -3810,7 +3867,7 @@ var Zr = { createTable: (e) => {
3810
3867
  ...n[0]?.headers ?? []
3811
3868
  ].map((e) => e.getLeafHeaders()).flat(), Q(e.options, $, "getLeafHeaders"));
3812
3869
  } };
3813
- function Qr(e, t, n, r) {
3870
+ function ti(e, t, n, r) {
3814
3871
  let i = 0, a = function(e, t) {
3815
3872
  t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
3816
3873
  var n;
@@ -3828,7 +3885,7 @@ function Qr(e, t, n, r) {
3828
3885
  let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
3829
3886
  if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
3830
3887
  else {
3831
- let i = Xr(n, c, {
3888
+ let i = $r(n, c, {
3832
3889
  id: [
3833
3890
  r,
3834
3891
  t,
@@ -3845,7 +3902,7 @@ function Qr(e, t, n, r) {
3845
3902
  i.headers.push(e), e.headerGroup = i;
3846
3903
  }), o.push(i), t > 0 && s(a, t - 1);
3847
3904
  };
3848
- s(t.map((e, t) => Xr(n, e, {
3905
+ s(t.map((e, t) => $r(n, e, {
3849
3906
  depth: i,
3850
3907
  index: t
3851
3908
  })), i - 1), o.reverse();
@@ -3863,7 +3920,7 @@ function Qr(e, t, n, r) {
3863
3920
  });
3864
3921
  return c(o[0]?.headers ?? []), o;
3865
3922
  }
3866
- var $r = (e, t, n, r, i, a, o) => {
3923
+ var ni = (e, t, n, r, i, a, o) => {
3867
3924
  let s = {
3868
3925
  id: t,
3869
3926
  index: r,
@@ -3884,7 +3941,7 @@ var $r = (e, t, n, r, i, a, o) => {
3884
3941
  },
3885
3942
  renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
3886
3943
  subRows: a ?? [],
3887
- getLeafRows: () => qr(s.subRows, (e) => e.subRows),
3944
+ getLeafRows: () => Xr(s.subRows, (e) => e.subRows),
3888
3945
  getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
3889
3946
  getParentRows: () => {
3890
3947
  let e = [], t = s;
@@ -3895,7 +3952,7 @@ var $r = (e, t, n, r, i, a, o) => {
3895
3952
  }
3896
3953
  return e.reverse();
3897
3954
  },
3898
- getAllCells: Z(() => [e.getAllLeafColumns()], (t) => t.map((t) => Jr(e, s, t, t.id)), Q(e.options, "debugRows", "getAllCells")),
3955
+ getAllCells: Z(() => [e.getAllLeafColumns()], (t) => t.map((t) => Zr(e, s, t, t.id)), Q(e.options, "debugRows", "getAllCells")),
3899
3956
  _getAllCellsByColumnId: Z(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), Q(e.options, "debugRows", "getAllCellsByColumnId"))
3900
3957
  };
3901
3958
  for (let t = 0; t < e._features.length; t++) {
@@ -3903,66 +3960,66 @@ var $r = (e, t, n, r, i, a, o) => {
3903
3960
  n == null || n.createRow == null || n.createRow(s, e);
3904
3961
  }
3905
3962
  return s;
3906
- }, ei = { createColumn: (e, t) => {
3963
+ }, ri = { createColumn: (e, t) => {
3907
3964
  e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
3908
3965
  if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
3909
3966
  };
3910
- } }, ti = (e, t, n) => {
3967
+ } }, ii = (e, t, n) => {
3911
3968
  var r, i;
3912
3969
  let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
3913
3970
  return !!(!((i = e.getValue(t)) == null || (i = i.toString()) == null || (i = i.toLowerCase()) == null) && i.includes(a));
3914
3971
  };
3915
- ti.autoRemove = (e) => di(e);
3916
- var ni = (e, t, n) => {
3972
+ ii.autoRemove = (e) => mi(e);
3973
+ var ai = (e, t, n) => {
3917
3974
  var r;
3918
3975
  return !!(!((r = e.getValue(t)) == null || (r = r.toString()) == null) && r.includes(n));
3919
3976
  };
3920
- ni.autoRemove = (e) => di(e);
3921
- var ri = (e, t, n) => {
3977
+ ai.autoRemove = (e) => mi(e);
3978
+ var oi = (e, t, n) => {
3922
3979
  var r;
3923
3980
  return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
3924
3981
  };
3925
- ri.autoRemove = (e) => di(e);
3926
- var ii = (e, t, n) => e.getValue(t)?.includes(n);
3927
- ii.autoRemove = (e) => di(e);
3928
- var ai = (e, t, n) => !n.some((n) => {
3982
+ oi.autoRemove = (e) => mi(e);
3983
+ var si = (e, t, n) => e.getValue(t)?.includes(n);
3984
+ si.autoRemove = (e) => mi(e);
3985
+ var ci = (e, t, n) => !n.some((n) => {
3929
3986
  var r;
3930
3987
  return !((r = e.getValue(t)) != null && r.includes(n));
3931
3988
  });
3932
- ai.autoRemove = (e) => di(e) || !(e != null && e.length);
3933
- var oi = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
3934
- oi.autoRemove = (e) => di(e) || !(e != null && e.length);
3935
- var si = (e, t, n) => e.getValue(t) === n;
3936
- si.autoRemove = (e) => di(e);
3937
- var ci = (e, t, n) => e.getValue(t) == n;
3938
- ci.autoRemove = (e) => di(e);
3939
- var li = (e, t, n) => {
3989
+ ci.autoRemove = (e) => mi(e) || !(e != null && e.length);
3990
+ var li = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
3991
+ li.autoRemove = (e) => mi(e) || !(e != null && e.length);
3992
+ var ui = (e, t, n) => e.getValue(t) === n;
3993
+ ui.autoRemove = (e) => mi(e);
3994
+ var di = (e, t, n) => e.getValue(t) == n;
3995
+ di.autoRemove = (e) => mi(e);
3996
+ var fi = (e, t, n) => {
3940
3997
  let [r, i] = n, a = e.getValue(t);
3941
3998
  return a >= r && a <= i;
3942
3999
  };
3943
- li.resolveFilterValue = (e) => {
4000
+ fi.resolveFilterValue = (e) => {
3944
4001
  let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
3945
4002
  if (a > o) {
3946
4003
  let e = a;
3947
4004
  a = o, o = e;
3948
4005
  }
3949
4006
  return [a, o];
3950
- }, li.autoRemove = (e) => di(e) || di(e[0]) && di(e[1]);
3951
- var ui = {
3952
- includesString: ti,
3953
- includesStringSensitive: ni,
3954
- equalsString: ri,
3955
- arrIncludes: ii,
3956
- arrIncludesAll: ai,
3957
- arrIncludesSome: oi,
3958
- equals: si,
3959
- weakEquals: ci,
3960
- inNumberRange: li
4007
+ }, fi.autoRemove = (e) => mi(e) || mi(e[0]) && mi(e[1]);
4008
+ var pi = {
4009
+ includesString: ii,
4010
+ includesStringSensitive: ai,
4011
+ equalsString: oi,
4012
+ arrIncludes: si,
4013
+ arrIncludesAll: ci,
4014
+ arrIncludesSome: li,
4015
+ equals: ui,
4016
+ weakEquals: di,
4017
+ inNumberRange: fi
3961
4018
  };
3962
- function di(e) {
4019
+ function mi(e) {
3963
4020
  return e == null || e === "";
3964
4021
  }
3965
- var fi = {
4022
+ var hi = {
3966
4023
  getDefaultColumnDef: () => ({ filterFn: "auto" }),
3967
4024
  getInitialState: (e) => ({
3968
4025
  columnFilters: [],
@@ -3976,14 +4033,14 @@ var fi = {
3976
4033
  createColumn: (e, t) => {
3977
4034
  e.getAutoFilterFn = () => {
3978
4035
  let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
3979
- return typeof n == "string" ? ui.includesString : typeof n == "number" ? ui.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? ui.equals : Array.isArray(n) ? ui.arrIncludes : ui.weakEquals;
3980
- }, e.getFilterFn = () => Gr(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? ui[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
4036
+ return typeof n == "string" ? pi.includesString : typeof n == "number" ? pi.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? pi.equals : Array.isArray(n) ? pi.arrIncludes : pi.weakEquals;
4037
+ }, e.getFilterFn = () => Jr(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? pi[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
3981
4038
  var n;
3982
4039
  return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
3983
4040
  }, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
3984
4041
  t.setColumnFilters((t) => {
3985
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = Wr(n, i ? i.value : void 0);
3986
- if (pi(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
4042
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = qr(n, i ? i.value : void 0);
4043
+ if (gi(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
3987
4044
  let o = {
3988
4045
  id: e.id,
3989
4046
  value: a
@@ -3998,19 +4055,19 @@ var fi = {
3998
4055
  createTable: (e) => {
3999
4056
  e.setColumnFilters = (t) => {
4000
4057
  let n = e.getAllLeafColumns();
4001
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => Wr(t, e)?.filter((e) => {
4058
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => qr(t, e)?.filter((e) => {
4002
4059
  let t = n.find((t) => t.id === e.id);
4003
- return !(t && pi(t.getFilterFn(), e.value, t));
4060
+ return !(t && gi(t.getFilterFn(), e.value, t));
4004
4061
  }));
4005
4062
  }, e.resetColumnFilters = (t) => {
4006
4063
  e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
4007
4064
  }, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
4008
4065
  }
4009
4066
  };
4010
- function pi(e, t, n) {
4067
+ function gi(e, t, n) {
4011
4068
  return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
4012
4069
  }
4013
- var mi = {
4070
+ var _i = {
4014
4071
  sum: (e, t, n) => n.reduce((t, n) => {
4015
4072
  let r = n.getValue(e);
4016
4073
  return t + (typeof r == "number" ? r : 0);
@@ -4046,7 +4103,7 @@ var mi = {
4046
4103
  median: (e, t) => {
4047
4104
  if (!t.length) return;
4048
4105
  let n = t.map((t) => t.getValue(e));
4049
- if (!Kr(n)) return;
4106
+ if (!Yr(n)) return;
4050
4107
  if (n.length === 1) return n[0];
4051
4108
  let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
4052
4109
  return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -4054,7 +4111,7 @@ var mi = {
4054
4111
  unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
4055
4112
  uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
4056
4113
  count: (e, t) => t.length
4057
- }, hi = {
4114
+ }, vi = {
4058
4115
  getDefaultColumnDef: () => ({
4059
4116
  aggregatedCell: (e) => {
4060
4117
  var t;
@@ -4080,11 +4137,11 @@ var mi = {
4080
4137
  };
4081
4138
  }, e.getAutoAggregationFn = () => {
4082
4139
  let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
4083
- if (typeof n == "number") return mi.sum;
4084
- if (Object.prototype.toString.call(n) === "[object Date]") return mi.extent;
4140
+ if (typeof n == "number") return _i.sum;
4141
+ if (Object.prototype.toString.call(n) === "[object Date]") return _i.extent;
4085
4142
  }, e.getAggregationFn = () => {
4086
4143
  if (!e) throw Error();
4087
- return Gr(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? mi[e.columnDef.aggregationFn];
4144
+ return Jr(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? _i[e.columnDef.aggregationFn];
4088
4145
  };
4089
4146
  },
4090
4147
  createTable: (e) => {
@@ -4106,20 +4163,20 @@ var mi = {
4106
4163
  };
4107
4164
  }
4108
4165
  };
4109
- function gi(e, t, n) {
4166
+ function yi(e, t, n) {
4110
4167
  if (!(t != null && t.length) || !n) return e;
4111
4168
  let r = e.filter((e) => !t.includes(e.id));
4112
4169
  return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
4113
4170
  }
4114
- var _i = {
4171
+ var bi = {
4115
4172
  getInitialState: (e) => ({
4116
4173
  columnOrder: [],
4117
4174
  ...e
4118
4175
  }),
4119
4176
  getDefaultOptions: (e) => ({ onColumnOrderChange: X("columnOrder", e) }),
4120
4177
  createColumn: (e, t) => {
4121
- e.getIndex = Z((e) => [Oi(t, e)], (t) => t.findIndex((t) => t.id === e.id), Q(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => Oi(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
4122
- let r = Oi(t, n);
4178
+ e.getIndex = Z((e) => [ji(t, e)], (t) => t.findIndex((t) => t.id === e.id), Q(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => ji(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
4179
+ let r = ji(t, n);
4123
4180
  return r[r.length - 1]?.id === e.id;
4124
4181
  };
4125
4182
  },
@@ -4141,15 +4198,15 @@ var _i = {
4141
4198
  }
4142
4199
  i = [...i, ...n];
4143
4200
  }
4144
- return gi(i, t, n);
4201
+ return yi(i, t, n);
4145
4202
  }, Q(e.options, "debugTable", "_getOrderColumnsFn"));
4146
4203
  }
4147
- }, vi = () => ({
4204
+ }, xi = () => ({
4148
4205
  left: [],
4149
4206
  right: []
4150
- }), yi = {
4207
+ }), Si = {
4151
4208
  getInitialState: (e) => ({
4152
- columnPinning: vi(),
4209
+ columnPinning: xi(),
4153
4210
  ...e
4154
4211
  }),
4155
4212
  getDefaultOptions: (e) => ({ onColumnPinningChange: X("columnPinning", e) }),
@@ -4192,7 +4249,7 @@ var _i = {
4192
4249
  })), Q(t.options, "debugRows", "getRightVisibleCells"));
4193
4250
  },
4194
4251
  createTable: (e) => {
4195
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? vi() : e.initialState?.columnPinning ?? vi()), e.getIsSomeColumnsPinned = (t) => {
4252
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? xi() : e.initialState?.columnPinning ?? xi()), e.getIsSomeColumnsPinned = (t) => {
4196
4253
  let n = e.getState().columnPinning;
4197
4254
  return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
4198
4255
  }, e.getLeftLeafColumns = Z(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), Q(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = Z(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), Q(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = Z(() => [
@@ -4205,25 +4262,25 @@ var _i = {
4205
4262
  }, Q(e.options, "debugColumns", "getCenterLeafColumns"));
4206
4263
  }
4207
4264
  };
4208
- function bi(e) {
4265
+ function Ci(e) {
4209
4266
  return e || (typeof document < "u" ? document : null);
4210
4267
  }
4211
- var xi = {
4268
+ var wi = {
4212
4269
  size: 150,
4213
4270
  minSize: 20,
4214
4271
  maxSize: 2 ** 53 - 1
4215
- }, Si = () => ({
4272
+ }, Ti = () => ({
4216
4273
  startOffset: null,
4217
4274
  startSize: null,
4218
4275
  deltaOffset: null,
4219
4276
  deltaPercentage: null,
4220
4277
  isResizingColumn: !1,
4221
4278
  columnSizingStart: []
4222
- }), Ci = {
4223
- getDefaultColumnDef: () => xi,
4279
+ }), Ei = {
4280
+ getDefaultColumnDef: () => wi,
4224
4281
  getInitialState: (e) => ({
4225
4282
  columnSizing: {},
4226
- columnSizingInfo: Si(),
4283
+ columnSizingInfo: Ti(),
4227
4284
  ...e
4228
4285
  }),
4229
4286
  getDefaultOptions: (e) => ({
@@ -4235,14 +4292,14 @@ var xi = {
4235
4292
  createColumn: (e, t) => {
4236
4293
  e.getSize = () => {
4237
4294
  let n = t.getState().columnSizing[e.id];
4238
- return Math.min(Math.max(e.columnDef.minSize ?? xi.minSize, n ?? e.columnDef.size ?? xi.size), e.columnDef.maxSize ?? xi.maxSize);
4295
+ return Math.min(Math.max(e.columnDef.minSize ?? wi.minSize, n ?? e.columnDef.size ?? wi.size), e.columnDef.maxSize ?? wi.maxSize);
4239
4296
  }, e.getStart = Z((e) => [
4240
4297
  e,
4241
- Oi(t, e),
4298
+ ji(t, e),
4242
4299
  t.getState().columnSizing
4243
4300
  ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), Q(t.options, "debugColumns", "getStart")), e.getAfter = Z((e) => [
4244
4301
  e,
4245
- Oi(t, e),
4302
+ ji(t, e),
4246
4303
  t.getState().columnSizing
4247
4304
  ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), Q(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
4248
4305
  t.setColumnSizing((t) => {
@@ -4266,8 +4323,8 @@ var xi = {
4266
4323
  }, e.getResizeHandler = (n) => {
4267
4324
  let r = t.getColumn(e.column.id), i = r?.getCanResize();
4268
4325
  return (a) => {
4269
- if (!r || !i || (a.persist == null || a.persist(), Ei(a) && a.touches && a.touches.length > 1)) return;
4270
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = Ei(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
4326
+ if (!r || !i || (a.persist == null || a.persist(), ki(a) && a.touches && a.touches.length > 1)) return;
4327
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = ki(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
4271
4328
  typeof n == "number" && (t.setColumnSizingInfo((e) => {
4272
4329
  let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
4273
4330
  return e.columnSizingStart.forEach((e) => {
@@ -4292,7 +4349,7 @@ var xi = {
4292
4349
  deltaPercentage: null,
4293
4350
  columnSizingStart: []
4294
4351
  }));
4295
- }, p = bi(n), m = {
4352
+ }, p = Ci(n), m = {
4296
4353
  moveHandler: (e) => d(e.clientX),
4297
4354
  upHandler: (e) => {
4298
4355
  p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -4302,8 +4359,8 @@ var xi = {
4302
4359
  upHandler: (e) => {
4303
4360
  p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
4304
4361
  }
4305
- }, g = Ti() ? { passive: !1 } : !1;
4306
- Ei(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
4362
+ }, g = Oi() ? { passive: !1 } : !1;
4363
+ ki(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
4307
4364
  ...e,
4308
4365
  startOffset: c,
4309
4366
  startSize: o,
@@ -4319,12 +4376,12 @@ var xi = {
4319
4376
  e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
4320
4377
  e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
4321
4378
  }, e.resetHeaderSizeInfo = (t) => {
4322
- e.setColumnSizingInfo(t ? Si() : e.initialState.columnSizingInfo ?? Si());
4379
+ e.setColumnSizingInfo(t ? Ti() : e.initialState.columnSizingInfo ?? Ti());
4323
4380
  }, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
4324
4381
  }
4325
- }, wi = null;
4326
- function Ti() {
4327
- if (typeof wi == "boolean") return wi;
4382
+ }, Di = null;
4383
+ function Oi() {
4384
+ if (typeof Di == "boolean") return Di;
4328
4385
  let e = !1;
4329
4386
  try {
4330
4387
  let t = { get passive() {
@@ -4334,12 +4391,12 @@ function Ti() {
4334
4391
  } catch {
4335
4392
  e = !1;
4336
4393
  }
4337
- return wi = e, wi;
4394
+ return Di = e, Di;
4338
4395
  }
4339
- function Ei(e) {
4396
+ function ki(e) {
4340
4397
  return e.type === "touchstart";
4341
4398
  }
4342
- var Di = {
4399
+ var Ai = {
4343
4400
  getInitialState: (e) => ({
4344
4401
  columnVisibility: {},
4345
4402
  ...e
@@ -4383,14 +4440,14 @@ var Di = {
4383
4440
  };
4384
4441
  }
4385
4442
  };
4386
- function Oi(e, t) {
4443
+ function ji(e, t) {
4387
4444
  return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
4388
4445
  }
4389
- var ki = { createTable: (e) => {
4446
+ var Mi = { createTable: (e) => {
4390
4447
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
4391
4448
  if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
4392
4449
  };
4393
- } }, Ai = {
4450
+ } }, Ni = {
4394
4451
  getInitialState: (e) => ({
4395
4452
  globalFilter: void 0,
4396
4453
  ...e
@@ -4408,16 +4465,16 @@ var ki = { createTable: (e) => {
4408
4465
  e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
4409
4466
  },
4410
4467
  createTable: (e) => {
4411
- e.getGlobalAutoFilterFn = () => ui.includesString, e.getGlobalFilterFn = () => {
4468
+ e.getGlobalAutoFilterFn = () => pi.includesString, e.getGlobalFilterFn = () => {
4412
4469
  let { globalFilterFn: t } = e.options;
4413
- return Gr(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? ui[t];
4470
+ return Jr(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? pi[t];
4414
4471
  }, e.setGlobalFilter = (t) => {
4415
4472
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
4416
4473
  }, e.resetGlobalFilter = (t) => {
4417
4474
  e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
4418
4475
  };
4419
4476
  }
4420
- }, ji = {
4477
+ }, Pi = {
4421
4478
  getInitialState: (e) => ({
4422
4479
  expanded: {},
4423
4480
  ...e
@@ -4494,14 +4551,14 @@ var ki = { createTable: (e) => {
4494
4551
  };
4495
4552
  };
4496
4553
  }
4497
- }, Mi = 0, Ni = 10, Pi = () => ({
4498
- pageIndex: Mi,
4499
- pageSize: Ni
4500
- }), Fi = {
4554
+ }, Fi = 0, Ii = 10, Li = () => ({
4555
+ pageIndex: Fi,
4556
+ pageSize: Ii
4557
+ }), Ri = {
4501
4558
  getInitialState: (e) => ({
4502
4559
  ...e,
4503
4560
  pagination: {
4504
- ...Pi(),
4561
+ ...Li(),
4505
4562
  ...e?.pagination
4506
4563
  }
4507
4564
  }),
@@ -4521,11 +4578,11 @@ var ki = { createTable: (e) => {
4521
4578
  e.resetPageIndex(), n = !1;
4522
4579
  });
4523
4580
  }
4524
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => Wr(t, e)), e.resetPagination = (t) => {
4525
- e.setPagination(t ? Pi() : e.initialState.pagination ?? Pi());
4581
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => qr(t, e)), e.resetPagination = (t) => {
4582
+ e.setPagination(t ? Li() : e.initialState.pagination ?? Li());
4526
4583
  }, e.setPageIndex = (t) => {
4527
4584
  e.setPagination((n) => {
4528
- let r = Wr(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
4585
+ let r = qr(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
4529
4586
  return r = Math.max(0, Math.min(r, i)), {
4530
4587
  ...n,
4531
4588
  pageIndex: r
@@ -4533,13 +4590,13 @@ var ki = { createTable: (e) => {
4533
4590
  });
4534
4591
  }, e.resetPageIndex = (t) => {
4535
4592
  var n;
4536
- e.setPageIndex(t ? Mi : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? Mi);
4593
+ e.setPageIndex(t ? Fi : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? Fi);
4537
4594
  }, e.resetPageSize = (t) => {
4538
4595
  var n;
4539
- e.setPageSize(t ? Ni : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? Ni);
4596
+ e.setPageSize(t ? Ii : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? Ii);
4540
4597
  }, e.setPageSize = (t) => {
4541
4598
  e.setPagination((e) => {
4542
- let n = Math.max(1, Wr(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
4599
+ let n = Math.max(1, qr(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
4543
4600
  return {
4544
4601
  ...e,
4545
4602
  pageIndex: i,
@@ -4547,7 +4604,7 @@ var ki = { createTable: (e) => {
4547
4604
  };
4548
4605
  });
4549
4606
  }, e.setPageCount = (t) => e.setPagination((n) => {
4550
- let r = Wr(t, e.options.pageCount ?? -1);
4607
+ let r = qr(t, e.options.pageCount ?? -1);
4551
4608
  return typeof r == "number" && (r = Math.max(-1, r)), {
4552
4609
  ...n,
4553
4610
  pageCount: r
@@ -4560,12 +4617,12 @@ var ki = { createTable: (e) => {
4560
4617
  return n === -1 ? !0 : n === 0 ? !1 : t < n - 1;
4561
4618
  }, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
4562
4619
  }
4563
- }, Ii = () => ({
4620
+ }, zi = () => ({
4564
4621
  top: [],
4565
4622
  bottom: []
4566
- }), Li = {
4623
+ }), Bi = {
4567
4624
  getInitialState: (e) => ({
4568
- rowPinning: Ii(),
4625
+ rowPinning: zi(),
4569
4626
  ...e
4570
4627
  }),
4571
4628
  getDefaultOptions: (e) => ({ onRowPinningChange: X("rowPinning", e) }),
@@ -4607,7 +4664,7 @@ var ki = { createTable: (e) => {
4607
4664
  };
4608
4665
  },
4609
4666
  createTable: (e) => {
4610
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? Ii() : e.initialState?.rowPinning ?? Ii()), e.getIsSomeRowsPinned = (t) => {
4667
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? zi() : e.initialState?.rowPinning ?? zi()), e.getIsSomeRowsPinned = (t) => {
4611
4668
  let n = e.getState().rowPinning;
4612
4669
  return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
4613
4670
  }, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -4625,7 +4682,7 @@ var ki = { createTable: (e) => {
4625
4682
  return e.filter((e) => !r.has(e.id));
4626
4683
  }, Q(e.options, "debugRows", "getCenterRows"));
4627
4684
  }
4628
- }, Ri = {
4685
+ }, Vi = {
4629
4686
  getInitialState: (e) => ({
4630
4687
  rowSelection: {},
4631
4688
  ...e
@@ -4650,17 +4707,17 @@ var ki = { createTable: (e) => {
4650
4707
  }, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
4651
4708
  let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
4652
4709
  return e.getRowModel().rows.forEach((t) => {
4653
- zi(i, t.id, r, !0, e);
4710
+ Hi(i, t.id, r, !0, e);
4654
4711
  }), i;
4655
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Z(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Bi(e, n) : {
4712
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Z(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Ui(e, n) : {
4656
4713
  rows: [],
4657
4714
  flatRows: [],
4658
4715
  rowsById: {}
4659
- }, Q(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Z(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Bi(e, n) : {
4716
+ }, Q(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Z(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Ui(e, n) : {
4660
4717
  rows: [],
4661
4718
  flatRows: [],
4662
4719
  rowsById: {}
4663
- }, Q(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Z(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Bi(e, n) : {
4720
+ }, Q(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Z(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Ui(e, n) : {
4664
4721
  rows: [],
4665
4722
  flatRows: [],
4666
4723
  rowsById: {}
@@ -4688,17 +4745,17 @@ var ki = { createTable: (e) => {
4688
4745
  t.setRowSelection((a) => {
4689
4746
  if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
4690
4747
  let o = { ...a };
4691
- return zi(o, e.id, n, r?.selectChildren ?? !0, t), o;
4748
+ return Hi(o, e.id, n, r?.selectChildren ?? !0, t), o;
4692
4749
  });
4693
4750
  }, e.getIsSelected = () => {
4694
4751
  let { rowSelection: n } = t.getState();
4695
- return Vi(e, n);
4752
+ return Wi(e, n);
4696
4753
  }, e.getIsSomeSelected = () => {
4697
4754
  let { rowSelection: n } = t.getState();
4698
- return Hi(e, n) === "some";
4755
+ return Gi(e, n) === "some";
4699
4756
  }, e.getIsAllSubRowsSelected = () => {
4700
4757
  let { rowSelection: n } = t.getState();
4701
- return Hi(e, n) === "all";
4758
+ return Gi(e, n) === "all";
4702
4759
  }, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
4703
4760
  let t = e.getCanSelect();
4704
4761
  return (n) => {
@@ -4706,16 +4763,16 @@ var ki = { createTable: (e) => {
4706
4763
  };
4707
4764
  };
4708
4765
  }
4709
- }, zi = (e, t, n, r, i) => {
4766
+ }, Hi = (e, t, n, r, i) => {
4710
4767
  var a;
4711
4768
  let o = i.getRow(t, !0);
4712
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => zi(e, t.id, n, r, i));
4769
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => Hi(e, t.id, n, r, i));
4713
4770
  };
4714
- function Bi(e, t) {
4771
+ function Ui(e, t) {
4715
4772
  let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
4716
4773
  return e.map((e) => {
4717
4774
  var t;
4718
- let o = Vi(e, n);
4775
+ let o = Wi(e, n);
4719
4776
  if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
4720
4777
  ...e,
4721
4778
  subRows: a(e.subRows)
@@ -4728,32 +4785,32 @@ function Bi(e, t) {
4728
4785
  rowsById: i
4729
4786
  };
4730
4787
  }
4731
- function Vi(e, t) {
4788
+ function Wi(e, t) {
4732
4789
  return t[e.id] ?? !1;
4733
4790
  }
4734
- function Hi(e, t, n) {
4791
+ function Gi(e, t, n) {
4735
4792
  var r;
4736
4793
  if (!((r = e.subRows) != null && r.length)) return !1;
4737
4794
  let i = !0, a = !1;
4738
4795
  return e.subRows.forEach((e) => {
4739
- if (!(a && !i) && (e.getCanSelect() && (Vi(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
4740
- let n = Hi(e, t);
4796
+ if (!(a && !i) && (e.getCanSelect() && (Wi(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
4797
+ let n = Gi(e, t);
4741
4798
  n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
4742
4799
  }
4743
4800
  }), i ? "all" : a ? "some" : !1;
4744
4801
  }
4745
- var Ui = /([0-9]+)/gm, Wi = (e, t, n) => Qi(Zi(e.getValue(n)).toLowerCase(), Zi(t.getValue(n)).toLowerCase()), Gi = (e, t, n) => Qi(Zi(e.getValue(n)), Zi(t.getValue(n))), Ki = (e, t, n) => Xi(Zi(e.getValue(n)).toLowerCase(), Zi(t.getValue(n)).toLowerCase()), qi = (e, t, n) => Xi(Zi(e.getValue(n)), Zi(t.getValue(n))), Ji = (e, t, n) => {
4802
+ var Ki = /([0-9]+)/gm, qi = (e, t, n) => ta(ea(e.getValue(n)).toLowerCase(), ea(t.getValue(n)).toLowerCase()), Ji = (e, t, n) => ta(ea(e.getValue(n)), ea(t.getValue(n))), Yi = (e, t, n) => $i(ea(e.getValue(n)).toLowerCase(), ea(t.getValue(n)).toLowerCase()), Xi = (e, t, n) => $i(ea(e.getValue(n)), ea(t.getValue(n))), Zi = (e, t, n) => {
4746
4803
  let r = e.getValue(n), i = t.getValue(n);
4747
4804
  return r > i ? 1 : r < i ? -1 : 0;
4748
- }, Yi = (e, t, n) => Xi(e.getValue(n), t.getValue(n));
4749
- function Xi(e, t) {
4805
+ }, Qi = (e, t, n) => $i(e.getValue(n), t.getValue(n));
4806
+ function $i(e, t) {
4750
4807
  return e === t ? 0 : e > t ? 1 : -1;
4751
4808
  }
4752
- function Zi(e) {
4809
+ function ea(e) {
4753
4810
  return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
4754
4811
  }
4755
- function Qi(e, t) {
4756
- let n = e.split(Ui).filter(Boolean), r = t.split(Ui).filter(Boolean);
4812
+ function ta(e, t) {
4813
+ let n = e.split(Ki).filter(Boolean), r = t.split(Ki).filter(Boolean);
4757
4814
  for (; n.length && r.length;) {
4758
4815
  let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
4759
4816
  if (isNaN(o[0])) {
@@ -4767,22 +4824,22 @@ function Qi(e, t) {
4767
4824
  }
4768
4825
  return n.length - r.length;
4769
4826
  }
4770
- var $i = {
4771
- alphanumeric: Wi,
4772
- alphanumericCaseSensitive: Gi,
4773
- text: Ki,
4774
- textCaseSensitive: qi,
4775
- datetime: Ji,
4776
- basic: Yi
4777
- }, ea = [
4778
- Zr,
4779
- Di,
4780
- _i,
4781
- yi,
4827
+ var na = {
4828
+ alphanumeric: qi,
4829
+ alphanumericCaseSensitive: Ji,
4830
+ text: Yi,
4831
+ textCaseSensitive: Xi,
4832
+ datetime: Zi,
4833
+ basic: Qi
4834
+ }, ra = [
4782
4835
  ei,
4783
- fi,
4784
- ki,
4785
4836
  Ai,
4837
+ bi,
4838
+ Si,
4839
+ ri,
4840
+ hi,
4841
+ Mi,
4842
+ Ni,
4786
4843
  {
4787
4844
  getInitialState: (e) => ({
4788
4845
  sorting: [],
@@ -4801,13 +4858,13 @@ var $i = {
4801
4858
  let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
4802
4859
  for (let t of n) {
4803
4860
  let n = t?.getValue(e.id);
4804
- if (Object.prototype.toString.call(n) === "[object Date]") return $i.datetime;
4805
- if (typeof n == "string" && (r = !0, n.split(Ui).length > 1)) return $i.alphanumeric;
4861
+ if (Object.prototype.toString.call(n) === "[object Date]") return na.datetime;
4862
+ if (typeof n == "string" && (r = !0, n.split(Ki).length > 1)) return na.alphanumeric;
4806
4863
  }
4807
- return r ? $i.text : $i.basic;
4864
+ return r ? na.text : na.basic;
4808
4865
  }, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
4809
4866
  if (!e) throw Error();
4810
- return Gr(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? $i[e.columnDef.sortingFn];
4867
+ return Jr(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? na[e.columnDef.sortingFn];
4811
4868
  }, e.toggleSorting = (n, r) => {
4812
4869
  let i = e.getNextSortingOrder(), a = n != null;
4813
4870
  t.setSorting((o) => {
@@ -4844,16 +4901,16 @@ var $i = {
4844
4901
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
4845
4902
  }
4846
4903
  },
4847
- hi,
4848
- ji,
4849
- Fi,
4850
- Li,
4904
+ vi,
4905
+ Pi,
4851
4906
  Ri,
4852
- Ci
4907
+ Bi,
4908
+ Vi,
4909
+ Ei
4853
4910
  ];
4854
- function ta(e) {
4911
+ function ia(e) {
4855
4912
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
4856
- let t = [...ea, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
4913
+ let t = [...ra, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
4857
4914
  ...r,
4858
4915
  ...e
4859
4916
  }, a = { ...e.initialState ?? {} };
@@ -4879,7 +4936,7 @@ function ta(e) {
4879
4936
  n.setState(n.initialState);
4880
4937
  },
4881
4938
  setOptions: (e) => {
4882
- let t = Wr(e, n.options);
4939
+ let t = qr(e, n.options);
4883
4940
  n.options = i(t);
4884
4941
  },
4885
4942
  getState: () => n.options.state,
@@ -4910,7 +4967,7 @@ function ta(e) {
4910
4967
  getAllColumns: Z(() => [n._getColumnDefs()], (e) => {
4911
4968
  let t = function(e, r, i) {
4912
4969
  return i === void 0 && (i = 0), e.map((e) => {
4913
- let a = Yr(n, e, i, r), o = e;
4970
+ let a = Qr(n, e, i, r), o = e;
4914
4971
  return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
4915
4972
  });
4916
4973
  };
@@ -4931,7 +4988,7 @@ function ta(e) {
4931
4988
  }
4932
4989
  return n;
4933
4990
  }
4934
- function na() {
4991
+ function aa() {
4935
4992
  return (e) => Z(() => [e.options.data], (t) => {
4936
4993
  let n = {
4937
4994
  rows: [],
@@ -4941,7 +4998,7 @@ function na() {
4941
4998
  i === void 0 && (i = 0);
4942
4999
  let o = [];
4943
5000
  for (let c = 0; c < t.length; c++) {
4944
- let l = $r(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
5001
+ let l = ni(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
4945
5002
  if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
4946
5003
  var s;
4947
5004
  l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -4954,28 +5011,28 @@ function na() {
4954
5011
  }
4955
5012
  //#endregion
4956
5013
  //#region ../../node_modules/.pnpm/@tanstack+react-table@8.21.3_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@tanstack/react-table/build/lib/index.mjs
4957
- function ra(e, t) {
4958
- return e ? ia(e) ? /*#__PURE__*/ y.createElement(e, t) : e : null;
5014
+ function oa(e, t) {
5015
+ return e ? sa(e) ? /*#__PURE__*/ y.createElement(e, t) : e : null;
4959
5016
  }
4960
- function ia(e) {
4961
- return aa(e) || typeof e == "function" || oa(e);
5017
+ function sa(e) {
5018
+ return ca(e) || typeof e == "function" || la(e);
4962
5019
  }
4963
- function aa(e) {
5020
+ function ca(e) {
4964
5021
  return typeof e == "function" && (() => {
4965
5022
  let t = Object.getPrototypeOf(e);
4966
5023
  return t.prototype && t.prototype.isReactComponent;
4967
5024
  })();
4968
5025
  }
4969
- function oa(e) {
5026
+ function la(e) {
4970
5027
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
4971
5028
  }
4972
- function sa(e) {
5029
+ function ua(e) {
4973
5030
  let t = {
4974
5031
  state: {},
4975
5032
  onStateChange: () => {},
4976
5033
  renderFallbackValue: null,
4977
5034
  ...e
4978
- }, [n] = y.useState(() => ({ current: ta(t) })), [r, i] = y.useState(() => n.current.initialState);
5035
+ }, [n] = y.useState(() => ({ current: ia(t) })), [r, i] = y.useState(() => n.current.initialState);
4979
5036
  return n.current.setOptions((t) => ({
4980
5037
  ...t,
4981
5038
  ...e,
@@ -4990,7 +5047,7 @@ function sa(e) {
4990
5047
  }
4991
5048
  //#endregion
4992
5049
  //#region src/components/DataTable/DataTable.tsx
4993
- function ca({ direction: e }) {
5050
+ function da({ direction: e }) {
4994
5051
  return e === "asc" ? /* @__PURE__ */ _(n, {
4995
5052
  className: "size-3.5",
4996
5053
  "aria-hidden": !0
@@ -5002,17 +5059,17 @@ function ca({ direction: e }) {
5002
5059
  "aria-hidden": !0
5003
5060
  });
5004
5061
  }
5005
- function la({ columns: e, rows: t = 5, dividers: n }) {
5062
+ function fa({ columns: e, rows: t = 5, dividers: n }) {
5006
5063
  return /* @__PURE__ */ v(Y, {
5007
5064
  dividers: n,
5008
5065
  children: [/* @__PURE__ */ _(Y.Header, { children: /* @__PURE__ */ _(Y.Row, { children: e.map((e, t) => /* @__PURE__ */ _(Y.Head, { children: typeof e.header == "string" ? e.header : null }, e.id ?? t)) }) }), /* @__PURE__ */ _(Y.Body, { children: Array.from({ length: t }).map((t, n) => /* @__PURE__ */ _(Y.Row, { children: e.map((e, t) => /* @__PURE__ */ _(Y.Cell, { children: /* @__PURE__ */ _("div", { className: "h-4 w-full max-w-40 animate-pulse rounded bg-eds-neutral-background" }) }, t)) }, n)) })]
5009
5066
  });
5010
5067
  }
5011
- function ua({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, onPageChange: a, search: o, sorting: l, onSortingChange: u, emptyStateTitle: f = "Nenhum resultado encontrado", emptyStateDescription: m, meta: h, "aria-label": g, className: y, dividers: b }) {
5012
- let x = l !== void 0 && !!u, S = sa({
5068
+ function pa({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, onPageChange: a, search: o, sorting: l, onSortingChange: u, emptyStateTitle: f = "Nenhum resultado encontrado", emptyStateDescription: m, meta: h, "aria-label": g, className: y, dividers: b }) {
5069
+ let x = l !== void 0 && !!u, S = ua({
5013
5070
  data: t,
5014
5071
  columns: e,
5015
- getCoreRowModel: na(),
5072
+ getCoreRowModel: aa(),
5016
5073
  meta: h,
5017
5074
  state: x ? { sorting: l } : void 0,
5018
5075
  onSortingChange: u,
@@ -5025,7 +5082,7 @@ function ua({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, o
5025
5082
  children: [
5026
5083
  o && /* @__PURE__ */ _("div", {
5027
5084
  className: "flex justify-end",
5028
- children: /* @__PURE__ */ _(yr, {
5085
+ children: /* @__PURE__ */ _(Sr, {
5029
5086
  label: "Buscar",
5030
5087
  labelVariant: "floating",
5031
5088
  className: "w-full max-w-sm",
@@ -5045,13 +5102,13 @@ function ua({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, o
5045
5102
  "aria-hidden": !0
5046
5103
  }), "Carregando..."]
5047
5104
  }),
5048
- n ? /* @__PURE__ */ _(la, {
5105
+ n ? /* @__PURE__ */ _(fa, {
5049
5106
  columns: e,
5050
5107
  dividers: b
5051
- }) : r ? /* @__PURE__ */ _(cr, {
5108
+ }) : r ? /* @__PURE__ */ _(dr, {
5052
5109
  title: f,
5053
5110
  description: m ?? "Houve um erro ao buscar os dados. Tente novamente."
5054
- }) : C.length === 0 ? /* @__PURE__ */ _(cr, {
5111
+ }) : C.length === 0 ? /* @__PURE__ */ _(dr, {
5055
5112
  title: f,
5056
5113
  description: m
5057
5114
  }) : /* @__PURE__ */ v(Y, {
@@ -5065,15 +5122,15 @@ function ua({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, o
5065
5122
  type: "button",
5066
5123
  className: "flex select-none items-center gap-1 font-semibold",
5067
5124
  onClick: e.column.getToggleSortingHandler(),
5068
- children: [ra(e.column.columnDef.header, e.getContext()), /* @__PURE__ */ _(ca, { direction: t })]
5069
- }) : ra(e.column.columnDef.header, e.getContext())
5125
+ children: [oa(e.column.columnDef.header, e.getContext()), /* @__PURE__ */ _(da, { direction: t })]
5126
+ }) : oa(e.column.columnDef.header, e.getContext())
5070
5127
  }, e.id);
5071
- }) }, e.id)) }), /* @__PURE__ */ _(Y.Body, { children: C.map((e) => /* @__PURE__ */ _(Y.Row, { children: e.getVisibleCells().map((e) => /* @__PURE__ */ _(Y.Cell, { children: ra(e.column.columnDef.cell, e.getContext()) }, e.id)) }, e.id)) })]
5128
+ }) }, e.id)) }), /* @__PURE__ */ _(Y.Body, { children: C.map((e) => /* @__PURE__ */ _(Y.Row, { children: e.getVisibleCells().map((e) => /* @__PURE__ */ _(Y.Cell, { children: oa(e.column.columnDef.cell, e.getContext()) }, e.id)) }, e.id)) })]
5072
5129
  }),
5073
5130
  w && /* @__PURE__ */ v("div", {
5074
5131
  className: "flex items-center justify-center gap-2",
5075
5132
  children: [
5076
- /* @__PURE__ */ _(At, {
5133
+ /* @__PURE__ */ _(jt, {
5077
5134
  type: "button",
5078
5135
  variant: "outline",
5079
5136
  size: "sm",
@@ -5090,7 +5147,7 @@ function ua({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, o
5090
5147
  ee
5091
5148
  ]
5092
5149
  }),
5093
- /* @__PURE__ */ _(At, {
5150
+ /* @__PURE__ */ _(jt, {
5094
5151
  type: "button",
5095
5152
  variant: "outline",
5096
5153
  size: "sm",
@@ -5106,12 +5163,12 @@ function ua({ columns: e, data: t, isLoading: n = !1, error: r, pagination: i, o
5106
5163
  }
5107
5164
  //#endregion
5108
5165
  //#region src/components/Tabs/Tabs.tsx
5109
- var da = {
5166
+ var ma = {
5110
5167
  variant: "segmented",
5111
5168
  size: "md"
5112
5169
  };
5113
- function fa({ tabs: e, value: t, selectedValue: n, onValueChange: r, activateOnFocus: i, className: a, listClassName: o, indicatorClassName: s, variant: c = da.variant, size: l = da.size }) {
5114
- let u = e ?? [], d = c === "segmented", f = c === "underline", p = l === "sm", { ref: m, isOverflowing: h } = ma(d), g = pa(m, h);
5170
+ function ha({ tabs: e, value: t, selectedValue: n, onValueChange: r, activateOnFocus: i, className: a, listClassName: o, indicatorClassName: s, variant: c = ma.variant, size: l = ma.size }) {
5171
+ let u = e ?? [], d = c === "segmented", f = c === "underline", p = l === "sm", { ref: m, isOverflowing: h } = _a(d), g = ga(m, h);
5115
5172
  if (u.length === 0) return null;
5116
5173
  let y = u[0]?.value, b = t !== void 0, x = {
5117
5174
  value: b ? t : void 0,
@@ -5149,7 +5206,7 @@ function fa({ tabs: e, value: t, selectedValue: n, onValueChange: r, activateOnF
5149
5206
  })]
5150
5207
  });
5151
5208
  }
5152
- function pa(e, t) {
5209
+ function ga(e, t) {
5153
5210
  let n = T(null), r = T(!1);
5154
5211
  return () => ({
5155
5212
  onPointerDownCapture: (i) => {
@@ -5186,7 +5243,7 @@ function pa(e, t) {
5186
5243
  }
5187
5244
  });
5188
5245
  }
5189
- function ma(e) {
5246
+ function _a(e) {
5190
5247
  let t = T(null), [n, r] = E(!1);
5191
5248
  return C(() => {
5192
5249
  if (!e) return;
@@ -5200,4 +5257,4 @@ function ma(e) {
5200
5257
  };
5201
5258
  }
5202
5259
  //#endregion
5203
- export { $t as Attachment, Xt as AttachmentAction, Yt as AttachmentActions, Kt as AttachmentContent, Jt as AttachmentDescription, Qt as AttachmentGroup, Gt as AttachmentMedia, qt as AttachmentTitle, Zt as AttachmentTrigger, V as Button, ae as COLORS, Nt as Calendar, Vt as Card, nn as Checkbox, wn as Combobox, ua as DataTable, kn as DatePicker, Ln as DateTimePicker, Zn as Dialog, cr as Empty, ar as FormDialog, At as IconButton, yr as Input, wr as Select, Y as Table, fa as Tabs, Ar as Text, Sr as Textarea };
5260
+ export { en as Attachment, Zt as AttachmentAction, Xt as AttachmentActions, qt as AttachmentContent, Yt as AttachmentDescription, $t as AttachmentGroup, Kt as AttachmentMedia, Jt as AttachmentTitle, Qt as AttachmentTrigger, ae as Button, H as COLORS, Pt as Calendar, Ht as Card, rn as Checkbox, Dn as Combobox, pa as DataTable, Mn as DatePicker, Bn as DateTimePicker, er as Dialog, dr as Empty, cr as FormDialog, jt as IconButton, Sr as Input, Dr as Select, Y as Table, ha as Tabs, Nr as Text, Tr as Textarea };