@zeo-app/design-system 0.5.0 → 0.6.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.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs as i, jsx as t, Fragment as ne } from "react/jsx-runtime";
2
- import { forwardRef as B, useState as k, useRef as M, useCallback as j, useLayoutEffect as xe, useEffect as C, useId as be, createContext as G, useMemo as ge, useContext as E } from "react";
3
- import { createPortal as we } from "react-dom";
4
- import { a as U, T as W } from "./tokens-CaVTghf2.js";
5
- import { c as Xt, s as Pt } from "./tokens-CaVTghf2.js";
6
- const ve = {
2
+ import { forwardRef as L, useState as N, useRef as z, useCallback as C, useLayoutEffect as xe, useEffect as j, useId as be, createContext as U, useMemo as ge, useContext as E } from "react";
3
+ import { createPortal as ve } from "react-dom";
4
+ import { a as F, T as K } from "./tokens-CaVTghf2.js";
5
+ import { c as pr, s as mr } from "./tokens-CaVTghf2.js";
6
+ const we = {
7
7
  info: {
8
8
  container: "bg-blue-50 border-blue-200 text-blue-800 dark:bg-info-container dark:border-info/30 dark:text-info",
9
9
  icon: "text-blue-500 dark:text-info",
@@ -29,12 +29,12 @@ function ut({
29
29
  variant: e = "info",
30
30
  title: r,
31
31
  children: n,
32
- onClose: a,
33
- icon: o,
32
+ onClose: o,
33
+ icon: a,
34
34
  className: s = "",
35
35
  ...l
36
36
  }) {
37
- const c = ve[e], d = o ?? c.defaultIcon;
37
+ const c = we[e], d = a ?? c.defaultIcon;
38
38
  return /* @__PURE__ */ i(
39
39
  "div",
40
40
  {
@@ -51,10 +51,10 @@ function ut({
51
51
  r && /* @__PURE__ */ t("p", { className: "font-semibold text-sm mb-0.5", children: r }),
52
52
  /* @__PURE__ */ t("div", { className: "text-sm leading-relaxed", children: n })
53
53
  ] }),
54
- a && /* @__PURE__ */ t(
54
+ o && /* @__PURE__ */ t(
55
55
  "button",
56
56
  {
57
- onClick: a,
57
+ onClick: o,
58
58
  className: "shrink-0 opacity-70 hover:opacity-100 transition-opacity",
59
59
  "aria-label": "Fechar alerta",
60
60
  children: /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px]", children: "close" })
@@ -70,22 +70,22 @@ const ye = {
70
70
  md: "w-10 h-10 text-sm",
71
71
  lg: "w-12 h-12 text-base",
72
72
  xl: "w-16 h-16 text-lg"
73
- }, Ne = {
73
+ }, ke = {
74
74
  xs: "w-1.5 h-1.5",
75
75
  sm: "w-2 h-2",
76
76
  md: "w-2.5 h-2.5",
77
77
  lg: "w-3 h-3",
78
78
  xl: "w-3.5 h-3.5"
79
- }, ke = {
79
+ }, Ne = {
80
80
  online: "bg-green-500",
81
81
  offline: "bg-gray-400",
82
82
  busy: "bg-red-500",
83
83
  away: "bg-yellow-400"
84
84
  };
85
- function je(e) {
85
+ function Ce(e) {
86
86
  return e.split(" ").slice(0, 2).map((r) => r[0]).join("").toUpperCase();
87
87
  }
88
- function Ce(e) {
88
+ function je(e) {
89
89
  const r = [
90
90
  "bg-orange-100 text-orange-700 dark:bg-zeo-orange/20 dark:text-primary",
91
91
  "bg-blue-100 text-blue-700 dark:bg-info-container dark:text-info",
@@ -96,12 +96,12 @@ function Ce(e) {
96
96
  ], n = e.charCodeAt(0) % r.length;
97
97
  return r[n];
98
98
  }
99
- function P({
99
+ function X({
100
100
  src: e,
101
101
  alt: r = "",
102
102
  name: n,
103
- size: a = "md",
104
- status: o,
103
+ size: o = "md",
104
+ status: a,
105
105
  className: s = "",
106
106
  ...l
107
107
  }) {
@@ -111,8 +111,8 @@ function P({
111
111
  {
112
112
  className: [
113
113
  "rounded-full overflow-hidden flex items-center justify-center font-semibold",
114
- ye[a],
115
- !e && n ? Ce(n) : "bg-surface-container"
114
+ ye[o],
115
+ !e && n ? je(n) : "bg-surface-container"
116
116
  ].filter(Boolean).join(" "),
117
117
  children: e ? /* @__PURE__ */ t(
118
118
  "img",
@@ -121,45 +121,45 @@ function P({
121
121
  alt: r || n,
122
122
  className: "w-full h-full object-cover"
123
123
  }
124
- ) : n ? je(n) : /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-on-surface-variant", style: { fontSize: "60%" }, children: "person" })
124
+ ) : n ? Ce(n) : /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-on-surface-variant", style: { fontSize: "60%" }, children: "person" })
125
125
  }
126
126
  ),
127
- o && /* @__PURE__ */ t(
127
+ a && /* @__PURE__ */ t(
128
128
  "span",
129
129
  {
130
130
  className: [
131
131
  "absolute bottom-0 right-0 rounded-full border-2 border-white dark:border-card",
132
- Ne[a],
133
- ke[o]
132
+ ke[o],
133
+ Ne[a]
134
134
  ].filter(Boolean).join(" ")
135
135
  }
136
136
  )
137
137
  ] });
138
138
  }
139
- const Be = {
139
+ const Le = {
140
140
  default: "bg-surface-container text-on-surface-variant",
141
141
  primary: "bg-orange-100 text-orange-700 dark:bg-zeo-orange/20 dark:text-primary",
142
142
  success: "bg-green-100 text-green-700 dark:bg-success-container dark:text-success",
143
143
  warning: "bg-yellow-100 text-yellow-700 dark:bg-warning-container dark:text-warning",
144
144
  danger: "bg-red-100 text-red-700 dark:bg-danger-container dark:text-danger",
145
145
  info: "bg-blue-100 text-blue-700 dark:bg-info-container dark:text-info"
146
- }, ze = {
146
+ }, Be = {
147
147
  default: "bg-on-surface-variant",
148
148
  primary: "bg-orange-500",
149
149
  success: "bg-green-500",
150
150
  warning: "bg-yellow-500",
151
151
  danger: "bg-red-500",
152
152
  info: "bg-blue-500"
153
- }, Le = {
153
+ }, Me = {
154
154
  sm: "px-2 py-0.5 text-xs gap-1",
155
155
  md: "px-2.5 py-1 text-xs gap-1.5"
156
156
  };
157
- function ft({
157
+ function ht({
158
158
  variant: e = "default",
159
159
  size: r = "md",
160
160
  dot: n = !1,
161
- icon: a,
162
- children: o,
161
+ icon: o,
162
+ children: a,
163
163
  className: s = "",
164
164
  ...l
165
165
  }) {
@@ -168,49 +168,49 @@ function ft({
168
168
  {
169
169
  className: [
170
170
  "inline-flex items-center font-medium rounded-full",
171
- Be[e],
172
- Le[r],
171
+ Le[e],
172
+ Me[r],
173
173
  s
174
174
  ].filter(Boolean).join(" "),
175
175
  ...l,
176
176
  children: [
177
- n && /* @__PURE__ */ t("span", { className: `w-1.5 h-1.5 rounded-full shrink-0 ${ze[e]}` }),
178
- a && !n && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[12px]", children: a }),
179
- o
177
+ n && /* @__PURE__ */ t("span", { className: `w-1.5 h-1.5 rounded-full shrink-0 ${Be[e]}` }),
178
+ o && !n && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[12px]", children: o }),
179
+ a
180
180
  ]
181
181
  }
182
182
  );
183
183
  }
184
- function mt({ items: e, className: r = "", ...n }) {
185
- return /* @__PURE__ */ t("nav", { "aria-label": "Breadcrumb", className: r, ...n, children: /* @__PURE__ */ t("ol", { className: "inline-flex items-center gap-1.5 text-sm flex-wrap", children: e.map((a, o) => {
186
- const s = o === e.length - 1;
184
+ function ft({ items: e, className: r = "", ...n }) {
185
+ return /* @__PURE__ */ t("nav", { "aria-label": "Breadcrumb", className: r, ...n, children: /* @__PURE__ */ t("ol", { className: "inline-flex items-center gap-1.5 text-sm flex-wrap", children: e.map((o, a) => {
186
+ const s = a === e.length - 1;
187
187
  return /* @__PURE__ */ i("li", { className: "flex items-center gap-1.5", children: [
188
- o > 0 && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[16px] text-on-surface-variant select-none", children: "chevron_right" }),
188
+ a > 0 && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[16px] text-on-surface-variant select-none", children: "chevron_right" }),
189
189
  s ? /* @__PURE__ */ i(
190
190
  "span",
191
191
  {
192
192
  "aria-current": "page",
193
193
  className: "font-semibold text-on-surface flex items-center gap-1",
194
194
  children: [
195
- a.icon && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px] leading-none", children: a.icon }),
196
- a.label
195
+ o.icon && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px] leading-none", children: o.icon }),
196
+ o.label
197
197
  ]
198
198
  }
199
199
  ) : /* @__PURE__ */ i(
200
200
  "a",
201
201
  {
202
- href: a.href ?? "#",
202
+ href: o.href ?? "#",
203
203
  className: "text-on-surface-variant hover:text-zeo-orange transition-colors flex items-center gap-1",
204
204
  children: [
205
- a.icon && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px] leading-none", children: a.icon }),
206
- a.label
205
+ o.icon && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px] leading-none", children: o.icon }),
206
+ o.label
207
207
  ]
208
208
  }
209
209
  )
210
- ] }, o);
210
+ ] }, a);
211
211
  }) }) });
212
212
  }
213
- const _e = {
213
+ const Ie = {
214
214
  primary: "bg-zeo-orange text-white hover:bg-orange-700 active:bg-orange-800 focus:shadow-zeo-focus border-transparent",
215
215
  secondary: "bg-surface-container-lowest text-on-surface border-outline-variant hover:bg-surface-container-low active:bg-surface-container focus:shadow-zeo-focus",
216
216
  ghost: "bg-transparent text-on-surface-variant border-transparent hover:bg-surface-container-low active:bg-surface-container focus:shadow-zeo-focus",
@@ -220,53 +220,53 @@ const _e = {
220
220
  sm: "px-3 py-1.5 text-sm gap-1.5 h-8",
221
221
  md: "px-4 py-2 text-sm gap-2 h-10",
222
222
  lg: "px-5 py-2.5 text-base gap-2 h-11"
223
- }, K = {
223
+ }, O = {
224
224
  sm: "text-[16px]",
225
225
  md: "text-[18px]",
226
226
  lg: "text-[20px]"
227
- }, Me = B(
227
+ }, ze = L(
228
228
  ({
229
229
  variant: e = "primary",
230
230
  size: r = "md",
231
231
  loading: n = !1,
232
- iconLeft: a,
233
- iconRight: o,
232
+ iconLeft: o,
233
+ iconRight: a,
234
234
  fullWidth: s = !1,
235
235
  disabled: l,
236
236
  children: c,
237
237
  className: d = "",
238
- ...f
239
- }, m) => /* @__PURE__ */ i(
238
+ ...h
239
+ }, f) => /* @__PURE__ */ i(
240
240
  "button",
241
241
  {
242
- ref: m,
242
+ ref: f,
243
243
  disabled: l || n,
244
244
  className: [
245
245
  "inline-flex items-center justify-center font-medium rounded border transition-all duration-200 select-none",
246
246
  "focus:outline-none",
247
247
  "disabled:opacity-50 disabled:cursor-not-allowed",
248
- _e[e],
248
+ Ie[e],
249
249
  Te[r],
250
250
  s ? "w-full" : "",
251
251
  d
252
252
  ].filter(Boolean).join(" "),
253
- ...f,
253
+ ...h,
254
254
  children: [
255
255
  n ? /* @__PURE__ */ t(
256
256
  "span",
257
257
  {
258
- className: `material-symbols-outlined animate-spin ${K[r]}`,
258
+ className: `material-symbols-outlined animate-spin ${O[r]}`,
259
259
  children: "progress_activity"
260
260
  }
261
- ) : a && /* @__PURE__ */ t("span", { className: `material-symbols-outlined ${K[r]}`, children: a }),
261
+ ) : o && /* @__PURE__ */ t("span", { className: `material-symbols-outlined ${O[r]}`, children: o }),
262
262
  c,
263
- !n && o && /* @__PURE__ */ t("span", { className: `material-symbols-outlined ${K[r]}`, children: o })
263
+ !n && a && /* @__PURE__ */ t("span", { className: `material-symbols-outlined ${O[r]}`, children: a })
264
264
  ]
265
265
  }
266
266
  )
267
267
  );
268
- Me.displayName = "Button";
269
- function pt({ children: e, attached: r = !1, className: n = "", ...a }) {
268
+ ze.displayName = "Button";
269
+ function pt({ children: e, attached: r = !1, className: n = "", ...o }) {
270
270
  return /* @__PURE__ */ t(
271
271
  "div",
272
272
  {
@@ -276,12 +276,12 @@ function pt({ children: e, attached: r = !1, className: n = "", ...a }) {
276
276
  r ? "[&>button]:rounded-none [&>button:first-child]:rounded-l [&>button:last-child]:rounded-r [&>button:not(:first-child)]:-ml-px" : "gap-2",
277
277
  n
278
278
  ].filter(Boolean).join(" "),
279
- ...a,
279
+ ...o,
280
280
  children: e
281
281
  }
282
282
  );
283
283
  }
284
- const Ie = {
284
+ const _e = {
285
285
  elevated: "bg-surface-container-lowest shadow-theme-lg border border-surface-container-high",
286
286
  outlined: "bg-surface-container-lowest border border-outline-variant",
287
287
  filled: "bg-surface-container-low border border-transparent"
@@ -291,22 +291,22 @@ const Ie = {
291
291
  md: "p-5",
292
292
  lg: "p-6"
293
293
  };
294
- function ht({
294
+ function mt({
295
295
  variant: e = "elevated",
296
296
  padding: r = "md",
297
297
  children: n,
298
- className: a = "",
299
- ...o
298
+ className: o = "",
299
+ ...a
300
300
  }) {
301
301
  return /* @__PURE__ */ t(
302
302
  "div",
303
303
  {
304
304
  className: [
305
305
  "rounded-xl overflow-hidden",
306
- Ie[e],
307
- a
306
+ _e[e],
307
+ o
308
308
  ].filter(Boolean).join(" "),
309
- ...o,
309
+ ...a,
310
310
  children: /* @__PURE__ */ t("div", { className: $e[r], children: n })
311
311
  }
312
312
  );
@@ -315,18 +315,18 @@ function xt({
315
315
  title: e,
316
316
  subtitle: r,
317
317
  action: n,
318
- icon: a,
319
- className: o = "",
318
+ icon: o,
319
+ className: a = "",
320
320
  ...s
321
321
  }) {
322
322
  return /* @__PURE__ */ i(
323
323
  "div",
324
324
  {
325
- className: ["flex items-start justify-between gap-4 pb-4", o].filter(Boolean).join(" "),
325
+ className: ["flex items-start justify-between gap-4 pb-4", a].filter(Boolean).join(" "),
326
326
  ...s,
327
327
  children: [
328
328
  /* @__PURE__ */ i("div", { className: "flex items-center gap-3 min-w-0", children: [
329
- a && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-on-surface-variant text-[24px] shrink-0", children: a }),
329
+ o && /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-on-surface-variant text-[24px] shrink-0", children: o }),
330
330
  /* @__PURE__ */ i("div", { className: "min-w-0", children: [
331
331
  /* @__PURE__ */ t("h3", { className: "text-base font-semibold text-on-surface truncate", children: e }),
332
332
  r && /* @__PURE__ */ t("p", { className: "text-sm text-on-surface-variant mt-0.5", children: r })
@@ -348,41 +348,41 @@ function bt({ children: e, className: r = "", ...n }) {
348
348
  );
349
349
  }
350
350
  const $ = 8, ee = 4;
351
- function gt({ trigger: e, items: r, align: n = "right", className: a = "", ...o }) {
352
- const [s, l] = k(!1), [c, d] = k(null), f = M(null), m = M(null), p = j(() => {
351
+ function gt({ trigger: e, items: r, align: n = "right", className: o = "", ...a }) {
352
+ const [s, l] = N(!1), [c, d] = N(null), h = z(null), f = z(null), p = C(() => {
353
353
  var T;
354
- const u = f.current;
354
+ const u = h.current;
355
355
  if (!u) return;
356
- const h = u.getBoundingClientRect(), x = (T = m.current) == null ? void 0 : T.getBoundingClientRect(), w = (x == null ? void 0 : x.width) ?? 180, b = (x == null ? void 0 : x.height) ?? 0, v = window.innerHeight - h.bottom, y = h.top, z = v < b + $ && y > v ? h.top - b - ee : h.bottom + ee, S = n === "right" ? h.right - w : h.left, R = window.innerWidth - w - $, F = Math.min(Math.max(S, $), Math.max(R, $));
357
- d({ top: z, left: F });
356
+ const m = u.getBoundingClientRect(), x = (T = f.current) == null ? void 0 : T.getBoundingClientRect(), v = (x == null ? void 0 : x.width) ?? 180, b = (x == null ? void 0 : x.height) ?? 0, w = window.innerHeight - m.bottom, y = m.top, B = w < b + $ && y > w ? m.top - b - ee : m.bottom + ee, W = n === "right" ? m.right - v : m.left, S = window.innerWidth - v - $, R = Math.min(Math.max(W, $), Math.max(S, $));
357
+ d({ top: B, left: R });
358
358
  }, [n]);
359
359
  return xe(() => {
360
360
  s && p();
361
- }, [s, p]), C(() => {
361
+ }, [s, p]), j(() => {
362
362
  if (!s) return;
363
363
  const u = () => p();
364
364
  return window.addEventListener("scroll", u, !0), window.addEventListener("resize", u), () => {
365
365
  window.removeEventListener("scroll", u, !0), window.removeEventListener("resize", u);
366
366
  };
367
- }, [s, p]), C(() => {
368
- const u = (h) => {
369
- var v, y;
370
- const x = h.target, w = (v = f.current) == null ? void 0 : v.contains(x), b = (y = m.current) == null ? void 0 : y.contains(x);
371
- !w && !b && l(!1);
367
+ }, [s, p]), j(() => {
368
+ const u = (m) => {
369
+ var w, y;
370
+ const x = m.target, v = (w = h.current) == null ? void 0 : w.contains(x), b = (y = f.current) == null ? void 0 : y.contains(x);
371
+ !v && !b && l(!1);
372
372
  };
373
373
  return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
374
- }, []), C(() => {
375
- const u = (h) => {
376
- h.key === "Escape" && l(!1);
374
+ }, []), j(() => {
375
+ const u = (m) => {
376
+ m.key === "Escape" && l(!1);
377
377
  };
378
378
  return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
379
- }, []), /* @__PURE__ */ i("div", { ref: f, className: ["relative inline-block", a].filter(Boolean).join(" "), ...o, children: [
379
+ }, []), /* @__PURE__ */ i("div", { ref: h, className: ["relative inline-block", o].filter(Boolean).join(" "), ...a, children: [
380
380
  /* @__PURE__ */ t("div", { onClick: () => l((u) => !u), children: e }),
381
- s && we(
381
+ s && ve(
382
382
  /* @__PURE__ */ t(
383
383
  "div",
384
384
  {
385
- ref: m,
385
+ ref: f,
386
386
  className: "fixed z-[100] min-w-[180px] bg-surface-container-lowest border border-surface-container-high rounded-xl shadow-theme-lg py-1",
387
387
  style: {
388
388
  top: (c == null ? void 0 : c.top) ?? 0,
@@ -390,7 +390,7 @@ function gt({ trigger: e, items: r, align: n = "right", className: a = "", ...o
390
390
  visibility: c ? "visible" : "hidden"
391
391
  },
392
392
  role: "menu",
393
- children: r.map((u, h) => /* @__PURE__ */ i("div", { children: [
393
+ children: r.map((u, m) => /* @__PURE__ */ i("div", { children: [
394
394
  /* @__PURE__ */ i(
395
395
  "button",
396
396
  {
@@ -412,24 +412,24 @@ function gt({ trigger: e, items: r, align: n = "right", className: a = "", ...o
412
412
  }
413
413
  ),
414
414
  u.dividerAfter && /* @__PURE__ */ t("div", { className: "my-1 border-t border-surface-container-high" })
415
- ] }, h))
415
+ ] }, m))
416
416
  }
417
417
  ),
418
418
  document.body
419
419
  )
420
420
  ] });
421
421
  }
422
- const Ae = B(
423
- ({ label: e, hint: r, error: n, options: a, placeholder: o, disabled: s, className: l = "", id: c, ...d }, f) => {
424
- const m = c ?? (e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-"));
422
+ const Ae = L(
423
+ ({ label: e, hint: r, error: n, options: o, placeholder: a, disabled: s, className: l = "", id: c, ...d }, h) => {
424
+ const f = c ?? (e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-"));
425
425
  return /* @__PURE__ */ i("div", { className: "flex flex-col gap-1.5", children: [
426
- e && /* @__PURE__ */ t("label", { htmlFor: m, className: "text-sm font-medium text-on-surface", children: e }),
426
+ e && /* @__PURE__ */ t("label", { htmlFor: f, className: "text-sm font-medium text-on-surface", children: e }),
427
427
  /* @__PURE__ */ i("div", { className: "relative", children: [
428
428
  /* @__PURE__ */ i(
429
429
  "select",
430
430
  {
431
- ref: f,
432
- id: m,
431
+ ref: h,
432
+ id: f,
433
433
  disabled: s,
434
434
  className: [
435
435
  "w-full appearance-none bg-page border rounded px-3 py-2 text-sm pr-9 transition-all duration-200",
@@ -440,8 +440,8 @@ const Ae = B(
440
440
  ].filter(Boolean).join(" "),
441
441
  ...d,
442
442
  children: [
443
- o && /* @__PURE__ */ t("option", { value: "", disabled: !0, children: o }),
444
- a.map((p) => /* @__PURE__ */ t("option", { value: p.value, disabled: p.disabled, children: p.label }, p.value))
443
+ a && /* @__PURE__ */ t("option", { value: "", disabled: !0, children: a }),
444
+ o.map((p) => /* @__PURE__ */ t("option", { value: p.value, disabled: p.disabled, children: p.label }, p.value))
445
445
  ]
446
446
  }
447
447
  ),
@@ -456,25 +456,25 @@ const Ae = B(
456
456
  }
457
457
  );
458
458
  Ae.displayName = "Select";
459
- const Ee = B(
460
- ({ label: e, hint: r, error: n, disabled: a, className: o = "", id: s, rows: l = 4, ...c }, d) => {
461
- const f = s ?? (e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-"));
459
+ const Ee = L(
460
+ ({ label: e, hint: r, error: n, disabled: o, className: a = "", id: s, rows: l = 4, ...c }, d) => {
461
+ const h = s ?? (e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-"));
462
462
  return /* @__PURE__ */ i("div", { className: "flex flex-col gap-1.5", children: [
463
- e && /* @__PURE__ */ t("label", { htmlFor: f, className: "text-sm font-medium text-on-surface", children: e }),
463
+ e && /* @__PURE__ */ t("label", { htmlFor: h, className: "text-sm font-medium text-on-surface", children: e }),
464
464
  /* @__PURE__ */ t(
465
465
  "textarea",
466
466
  {
467
467
  ref: d,
468
- id: f,
468
+ id: h,
469
469
  rows: l,
470
- disabled: a,
470
+ disabled: o,
471
471
  className: [
472
472
  "w-full bg-page border rounded px-3 py-2 text-sm resize-y transition-all duration-200",
473
473
  "text-on-surface placeholder:text-on-surface-variant",
474
474
  "focus:outline-none focus:border-zeo-orange focus:shadow-zeo-focus",
475
475
  n ? "border-error" : "border-outline-variant",
476
476
  "disabled:bg-surface-container-low disabled:cursor-not-allowed disabled:opacity-60",
477
- o
477
+ a
478
478
  ].filter(Boolean).join(" "),
479
479
  ...c
480
480
  }
@@ -488,34 +488,34 @@ const Ee = B(
488
488
  }
489
489
  );
490
490
  Ee.displayName = "Textarea";
491
- const Se = {
491
+ const We = {
492
492
  square: "rounded-[2px]",
493
493
  rounded: "rounded-[4px]",
494
494
  circle: "rounded-full"
495
- }, Re = B(
496
- ({ label: e, description: r, error: n, disabled: a, className: o = "", id: s, shape: l = "square", color: c = "#FF6B00", ...d }, f) => {
497
- const m = s ?? `checkbox-${e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-")}`;
495
+ }, Se = L(
496
+ ({ label: e, description: r, error: n, disabled: o, className: a = "", id: s, shape: l = "square", color: c = "#FF6B00", ...d }, h) => {
497
+ const f = s ?? `checkbox-${e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-")}`;
498
498
  return /* @__PURE__ */ i("div", { className: "flex flex-col gap-1", children: [
499
499
  /* @__PURE__ */ i(
500
500
  "label",
501
501
  {
502
- htmlFor: m,
502
+ htmlFor: f,
503
503
  className: [
504
504
  "flex items-start gap-3 cursor-pointer",
505
- a ? "opacity-50 cursor-not-allowed" : ""
505
+ o ? "opacity-50 cursor-not-allowed" : ""
506
506
  ].filter(Boolean).join(" "),
507
507
  children: [
508
508
  /* @__PURE__ */ i("div", { className: "relative mt-0.5 shrink-0 w-4 h-4", children: [
509
509
  /* @__PURE__ */ t(
510
510
  "input",
511
511
  {
512
- ref: f,
512
+ ref: h,
513
513
  type: "checkbox",
514
- id: m,
515
- disabled: a,
514
+ id: f,
515
+ disabled: o,
516
516
  className: [
517
517
  "absolute inset-0 w-full h-full opacity-0 cursor-pointer peer disabled:cursor-not-allowed",
518
- o
518
+ a
519
519
  ].filter(Boolean).join(" "),
520
520
  ...d
521
521
  }
@@ -527,7 +527,7 @@ const Se = {
527
527
  "w-4 h-4 border-2 border-outline-variant transition-colors pointer-events-none",
528
528
  "bg-page peer-checked:bg-[var(--cb-color)] peer-checked:border-[var(--cb-color)]",
529
529
  "peer-focus-visible:ring-2 peer-focus-visible:ring-[var(--cb-color)]/30 peer-focus-visible:ring-offset-0",
530
- Se[l]
530
+ We[l]
531
531
  ].filter(Boolean).join(" "),
532
532
  style: { "--cb-color": c }
533
533
  }
@@ -568,10 +568,10 @@ const Se = {
568
568
  ] });
569
569
  }
570
570
  );
571
- Re.displayName = "Checkbox";
572
- const Fe = B(
573
- ({ label: e, description: r, disabled: n, className: a = "", id: o, ...s }, l) => {
574
- const c = o ?? `radio-${e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-")}`;
571
+ Se.displayName = "Checkbox";
572
+ const Re = L(
573
+ ({ label: e, description: r, disabled: n, className: o = "", id: a, ...s }, l) => {
574
+ const c = a ?? `radio-${e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-")}`;
575
575
  return /* @__PURE__ */ i(
576
576
  "label",
577
577
  {
@@ -592,7 +592,7 @@ const Fe = B(
592
592
  "mt-0.5 w-4 h-4 border-outline-variant text-zeo-orange shrink-0",
593
593
  "focus:ring-2 focus:ring-zeo-orange/30 focus:ring-offset-0",
594
594
  "disabled:cursor-not-allowed",
595
- a
595
+ o
596
596
  ].filter(Boolean).join(" "),
597
597
  ...s
598
598
  }
@@ -606,10 +606,10 @@ const Fe = B(
606
606
  );
607
607
  }
608
608
  );
609
- Fe.displayName = "Radio";
610
- const Ve = B(
611
- ({ label: e, description: r, disabled: n, className: a = "", id: o, ...s }, l) => {
612
- const c = o ?? `switch-${e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-")}`;
609
+ Re.displayName = "Radio";
610
+ const He = L(
611
+ ({ label: e, description: r, disabled: n, className: o = "", id: a, ...s }, l) => {
612
+ const c = a ?? `switch-${e == null ? void 0 : e.toLowerCase().replace(/\s+/g, "-")}`;
613
613
  return /* @__PURE__ */ i(
614
614
  "label",
615
615
  {
@@ -643,24 +643,24 @@ const Ve = B(
643
643
  );
644
644
  }
645
645
  );
646
- Ve.displayName = "Switch";
647
- function N({ name: e, size: r = 20, fill: n = !1, className: a = "", style: o, ...s }) {
646
+ He.displayName = "Switch";
647
+ function k({ name: e, size: r = 20, fill: n = !1, className: o = "", style: a, ...s }) {
648
648
  return /* @__PURE__ */ t(
649
649
  "span",
650
650
  {
651
651
  ...s,
652
- className: `material-symbols-outlined leading-none select-none ${a}`.trim(),
652
+ className: `material-symbols-outlined leading-none select-none ${o}`.trim(),
653
653
  style: {
654
654
  fontSize: r,
655
655
  fontVariationSettings: `'FILL' ${n ? 1 : 0}, 'wght' 300, 'GRAD' 0, 'opsz' 24`,
656
- ...o
656
+ ...a
657
657
  },
658
658
  "aria-hidden": "true",
659
659
  children: e
660
660
  }
661
661
  );
662
662
  }
663
- const De = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
663
+ const Ve = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
664
664
  "svg",
665
665
  {
666
666
  width: e,
@@ -683,7 +683,7 @@ const De = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
683
683
  /* @__PURE__ */ t("path", { d: "M72 45 V20 H79 V41" })
684
684
  ]
685
685
  }
686
- ), He = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
686
+ ), De = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
687
687
  "svg",
688
688
  {
689
689
  width: e,
@@ -704,7 +704,7 @@ const De = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
704
704
  /* @__PURE__ */ t("path", { d: "M50 75 V90" })
705
705
  ]
706
706
  }
707
- ), Ke = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
707
+ ), Oe = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
708
708
  "svg",
709
709
  {
710
710
  width: e,
@@ -724,7 +724,27 @@ const De = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
724
724
  /* @__PURE__ */ t("path", { d: "M70 35 A28 28 0 0 1 70 5", stroke: "currentColor", strokeWidth: 3 })
725
725
  ]
726
726
  }
727
- ), Ue = {
727
+ ), vt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M6 3h4v13h9v4H6z", fill: "currentColor", fillOpacity: "0.15", stroke: "currentColor", strokeWidth: "1.75", strokeLinejoin: "round" }) }), wt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M4 4h4v12h8V4h4v16H4z", fill: "currentColor", fillOpacity: "0.15", stroke: "currentColor", strokeWidth: "1.75", strokeLinejoin: "round" }) }), yt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M4 3h16v4h-6v10h6v4H4v-4h6V7H4z", fill: "currentColor", fillOpacity: "0.15", stroke: "currentColor", strokeWidth: "1.75", strokeLinejoin: "round" }) }), kt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "8.5", fill: "none", stroke: "currentColor", strokeWidth: "1.75" }) }), Nt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M18.5 3.5L8 9.2v5.6l10.5 5.7", fill: "none", stroke: "currentColor", strokeWidth: "2.6", strokeLinejoin: "round", strokeLinecap: "round" }) }), Ct = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M2 5h9v14H8.4V7.6H2zM13 5h9v2.6h-6.4V19H13z", fill: "currentColor", fillOpacity: "0.15", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }), jt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M7 4v15h12", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), Lt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { d: "M2.5 6h8v13M21.5 6h-8v13", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), Bt = ({ size: e = 24, className: r }) => /* @__PURE__ */ i("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: [
728
+ /* @__PURE__ */ t("path", { d: "M7 4v15h12", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
729
+ /* @__PURE__ */ t("circle", { cx: "14.5", cy: "15.5", r: "1.6", fill: "currentColor" })
730
+ ] }), Mt = ({ size: e = 24, className: r }) => /* @__PURE__ */ i("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: [
731
+ /* @__PURE__ */ t("path", { d: "M2.5 6h8.5v13M21.5 6H13v13", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
732
+ /* @__PURE__ */ t("path", { d: "M11 9.5l1 1.5 1-1.5", fill: "none", stroke: "currentColor", strokeWidth: "1.4", strokeLinejoin: "round" })
733
+ ] }), It = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", d: "M12 3a9 9 0 1 1 0 18a9 9 0 1 1 0-18zm0 3.6a5.4 5.4 0 1 0 0 10.8a5.4 5.4 0 1 0 0-10.8z", fill: "currentColor", fillOpacity: "0.2", stroke: "currentColor", strokeWidth: "1.5" }) }), Tt = ({ size: e = 24, className: r }) => /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", d: "M2.5 5.5h19v13h-19zm3.5 3.5v6h12v-6z", fill: "currentColor", fillOpacity: "0.2", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }), zt = ({ size: e = 24, className: r }) => /* @__PURE__ */ i("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: [
734
+ /* @__PURE__ */ t("rect", { x: "3", y: "3", width: "18", height: "18", rx: "5", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "2.5 2" }),
735
+ /* @__PURE__ */ t("rect", { x: "8.5", y: "8.5", width: "7", height: "7", fill: "currentColor", fillOpacity: "0.2", stroke: "currentColor", strokeWidth: "1.6" })
736
+ ] }), _t = ({ size: e = 24, className: r }) => /* @__PURE__ */ i("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: [
737
+ /* @__PURE__ */ t("path", { d: "M4 3h9a5 5 0 0 1 5 5v8a5 5 0 0 1-5 5H4", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "2.5 2" }),
738
+ /* @__PURE__ */ t("rect", { x: "4", y: "8.5", width: "7", height: "7", fill: "currentColor", fillOpacity: "0.2", stroke: "currentColor", strokeWidth: "1.6" }),
739
+ /* @__PURE__ */ t("path", { d: "M4 2v20", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round" })
740
+ ] }), $t = ({ size: e = 24, className: r }) => /* @__PURE__ */ i("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: [
741
+ /* @__PURE__ */ t("path", { d: "M4 20h9a6 6 0 0 0 6-6V4", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "2.5 2" }),
742
+ /* @__PURE__ */ t("rect", { x: "4", y: "4", width: "8", height: "8", fill: "currentColor", fillOpacity: "0.2", stroke: "currentColor", strokeWidth: "1.6" }),
743
+ /* @__PURE__ */ t("path", { d: "M4 3v18M3 4h18", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round" })
744
+ ] }), At = ({ size: e = 24, className: r }) => /* @__PURE__ */ i("svg", { width: e, height: e, viewBox: "0 0 24 24", className: r, "aria-hidden": "true", children: [
745
+ /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "9", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "2.5 2" }),
746
+ /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "4", fill: "currentColor", fillOpacity: "0.2", stroke: "currentColor", strokeWidth: "1.6" })
747
+ ] }), Fe = {
728
748
  sm: "px-3 py-1.5 text-sm h-8",
729
749
  md: "px-3 py-2 text-sm h-10",
730
750
  lg: "px-4 py-2.5 text-base h-11"
@@ -733,56 +753,56 @@ const De = ({ size: e = 24, className: r }) => /* @__PURE__ */ i(
733
753
  md: "text-[18px]",
734
754
  lg: "text-[20px]"
735
755
  };
736
- function We(e, r, n) {
756
+ function Ke(e, r, n) {
737
757
  if (e === "" || e === void 0 || e === null) return "";
738
- const a = Number(e).toFixed(r);
739
- return n ? `${a} ${n}` : a;
758
+ const o = Number(e).toFixed(r);
759
+ return n ? `${o} ${n}` : o;
740
760
  }
741
- const Ge = B(
761
+ const Ue = L(
742
762
  ({
743
763
  label: e,
744
764
  hint: r,
745
765
  error: n,
746
- inputSize: a = "md",
747
- iconLeft: o,
766
+ inputSize: o = "md",
767
+ iconLeft: a,
748
768
  iconRight: s,
749
769
  onIconRightClick: l,
750
770
  disabled: c,
751
771
  className: d = "",
752
- id: f,
753
- unit: m,
772
+ id: h,
773
+ unit: f,
754
774
  decimals: p,
755
775
  onValueChange: u,
756
- value: h,
776
+ value: m,
757
777
  defaultValue: x,
758
- type: w,
778
+ type: v,
759
779
  step: b,
760
- inputMode: v,
780
+ inputMode: w,
761
781
  onChange: y,
762
- onFocus: _,
763
- onBlur: z,
764
- ...S
765
- }, R) => {
766
- const F = be(), T = f ?? (e ? e.toLowerCase().replace(/\s+/g, "-") : F), g = m !== void 0, V = p ?? 0, D = g && h !== void 0, [de, ue] = k(
782
+ onFocus: I,
783
+ onBlur: B,
784
+ ...W
785
+ }, S) => {
786
+ const R = be(), T = h ?? (e ? e.toLowerCase().replace(/\s+/g, "-") : R), g = f !== void 0, H = p ?? 0, V = g && m !== void 0, [de, ue] = N(
767
787
  typeof x == "number" ? x : ""
768
- ), [Z, Q] = k(!1), [H, Y] = k(""), I = D ? h : de, fe = g ? Z ? H : We(I, V, m ?? "") : h, me = j(
769
- (L) => {
770
- g && (Q(!0), Y(I === "" ? "" : String(I))), _ == null || _(L);
788
+ ), [P, Z] = N(!1), [D, Q] = N(""), _ = V ? m : de, he = g ? P ? D : Ke(_, H, f ?? "") : m, fe = C(
789
+ (M) => {
790
+ g && (Z(!0), Q(_ === "" ? "" : String(_))), I == null || I(M);
771
791
  },
772
- [g, I, _]
773
- ), pe = j(
774
- (L) => {
792
+ [g, _, I]
793
+ ), pe = C(
794
+ (M) => {
775
795
  if (g) {
776
- Q(!1);
777
- const J = parseFloat(H.replace(",", ".")), X = isNaN(J) ? "" : J;
778
- D || ue(X), u == null || u(X);
796
+ Z(!1);
797
+ const Y = parseFloat(D.replace(",", ".")), J = isNaN(Y) ? "" : Y;
798
+ V || ue(J), u == null || u(J);
779
799
  }
780
- z == null || z(L);
800
+ B == null || B(M);
781
801
  },
782
- [g, H, D, u, z]
783
- ), he = j(
784
- (L) => {
785
- g && Y(L.target.value), y == null || y(L);
802
+ [g, D, V, u, B]
803
+ ), me = C(
804
+ (M) => {
805
+ g && Q(M.target.value), y == null || y(M);
786
806
  },
787
807
  [g, y]
788
808
  );
@@ -796,27 +816,27 @@ const Ge = B(
796
816
  }
797
817
  ),
798
818
  /* @__PURE__ */ i("div", { className: "relative flex items-center", children: [
799
- o && /* @__PURE__ */ t(
819
+ a && /* @__PURE__ */ t(
800
820
  "span",
801
821
  {
802
- className: `material-symbols-outlined absolute left-3 text-on-surface-variant pointer-events-none ${te[a]}`,
803
- children: o
822
+ className: `material-symbols-outlined absolute left-3 text-on-surface-variant pointer-events-none ${te[o]}`,
823
+ children: a
804
824
  }
805
825
  ),
806
826
  /* @__PURE__ */ t(
807
827
  "input",
808
828
  {
809
- ref: R,
829
+ ref: S,
810
830
  id: T,
811
831
  disabled: c,
812
- type: g ? Z ? "number" : "text" : w,
813
- inputMode: g ? "decimal" : v,
814
- value: g ? fe : h,
832
+ type: g ? P ? "number" : "text" : v,
833
+ inputMode: g ? "decimal" : w,
834
+ value: g ? he : m,
815
835
  defaultValue: g ? void 0 : x,
816
- step: g ? b ?? (V > 0 ? Math.pow(10, -V) : 1) : b,
817
- onFocus: me,
836
+ step: g ? b ?? (H > 0 ? Math.pow(10, -H) : 1) : b,
837
+ onFocus: fe,
818
838
  onBlur: pe,
819
- onChange: he,
839
+ onChange: me,
820
840
  className: [
821
841
  "w-full bg-page border rounded transition-all duration-200",
822
842
  "text-on-surface placeholder:text-on-surface-variant dark:placeholder:text-content-disabled",
@@ -824,12 +844,12 @@ const Ge = B(
824
844
  n ? "border-error focus:border-error focus:shadow-[0_0_0_4px_rgba(186,26,26,0.15)]" : "border-outline-variant",
825
845
  "disabled:bg-surface-container-low disabled:cursor-not-allowed disabled:opacity-60",
826
846
  g ? "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none" : "",
827
- Ue[a],
828
- o ? "pl-9" : "",
847
+ Fe[o],
848
+ a ? "pl-9" : "",
829
849
  s ? "pr-9" : "",
830
850
  d
831
851
  ].filter(Boolean).join(" "),
832
- ...S
852
+ ...W
833
853
  }
834
854
  ),
835
855
  s && /* @__PURE__ */ t(
@@ -837,7 +857,7 @@ const Ge = B(
837
857
  {
838
858
  className: [
839
859
  "material-symbols-outlined absolute right-3 text-on-surface-variant",
840
- te[a],
860
+ te[o],
841
861
  l ? "cursor-pointer hover:text-on-surface" : "pointer-events-none"
842
862
  ].filter(Boolean).join(" "),
843
863
  onClick: l,
@@ -853,21 +873,21 @@ const Ge = B(
853
873
  ] });
854
874
  }
855
875
  );
856
- Ge.displayName = "Input";
857
- const Oe = {
876
+ Ue.displayName = "Input";
877
+ const Ge = {
858
878
  sm: "max-w-sm",
859
879
  md: "max-w-md",
860
880
  lg: "max-w-lg",
861
881
  xl: "max-w-2xl",
862
882
  full: "max-w-[calc(100vw-2rem)]"
863
883
  };
864
- function wt({ open: e, onClose: r, size: n = "md", children: a }) {
865
- return C(() => {
884
+ function Et({ open: e, onClose: r, size: n = "md", children: o }) {
885
+ return j(() => {
866
886
  if (!e) return;
867
- const o = (s) => {
887
+ const a = (s) => {
868
888
  s.key === "Escape" && r();
869
889
  };
870
- return document.addEventListener("keydown", o), () => document.removeEventListener("keydown", o);
890
+ return document.addEventListener("keydown", a), () => document.removeEventListener("keydown", a);
871
891
  }, [e, r]), e ? /* @__PURE__ */ i(
872
892
  "div",
873
893
  {
@@ -888,21 +908,21 @@ function wt({ open: e, onClose: r, size: n = "md", children: a }) {
888
908
  {
889
909
  className: [
890
910
  "relative w-full bg-surface-container-lowest rounded-2xl shadow-theme-lg z-10 flex flex-col max-h-[90vh]",
891
- Oe[n]
911
+ Ge[n]
892
912
  ].filter(Boolean).join(" "),
893
- children: a
913
+ children: o
894
914
  }
895
915
  )
896
916
  ]
897
917
  }
898
918
  ) : null;
899
919
  }
900
- function vt({ title: e, subtitle: r, onClose: n, className: a = "", ...o }) {
920
+ function Wt({ title: e, subtitle: r, onClose: n, className: o = "", ...a }) {
901
921
  return /* @__PURE__ */ i(
902
922
  "div",
903
923
  {
904
- className: ["flex items-start justify-between gap-4 p-6 border-b border-surface-container-high", a].filter(Boolean).join(" "),
905
- ...o,
924
+ className: ["flex items-start justify-between gap-4 p-6 border-b border-surface-container-high", o].filter(Boolean).join(" "),
925
+ ...a,
906
926
  children: [
907
927
  /* @__PURE__ */ i("div", { children: [
908
928
  /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-on-surface", children: e }),
@@ -921,7 +941,7 @@ function vt({ title: e, subtitle: r, onClose: n, className: a = "", ...o }) {
921
941
  }
922
942
  );
923
943
  }
924
- function yt({ children: e, className: r = "", ...n }) {
944
+ function St({ children: e, className: r = "", ...n }) {
925
945
  return /* @__PURE__ */ t(
926
946
  "div",
927
947
  {
@@ -931,7 +951,7 @@ function yt({ children: e, className: r = "", ...n }) {
931
951
  }
932
952
  );
933
953
  }
934
- function Nt({ children: e, className: r = "", ...n }) {
954
+ function Rt({ children: e, className: r = "", ...n }) {
935
955
  return /* @__PURE__ */ t(
936
956
  "div",
937
957
  {
@@ -945,19 +965,19 @@ function Nt({ children: e, className: r = "", ...n }) {
945
965
  );
946
966
  }
947
967
  function qe(e, r) {
948
- return r <= 7 ? Array.from({ length: r }, (n, a) => a + 1) : e <= 4 ? [1, 2, 3, 4, 5, "...", r] : e >= r - 3 ? [1, "...", r - 4, r - 3, r - 2, r - 1, r] : [1, "...", e - 1, e, e + 1, "...", r];
968
+ return r <= 7 ? Array.from({ length: r }, (n, o) => o + 1) : e <= 4 ? [1, 2, 3, 4, 5, "...", r] : e >= r - 3 ? [1, "...", r - 4, r - 3, r - 2, r - 1, r] : [1, "...", e - 1, e, e + 1, "...", r];
949
969
  }
950
- function kt({
970
+ function Ht({
951
971
  currentPage: e,
952
972
  totalPages: r,
953
973
  totalItems: n,
954
- itemsPerPage: a = 10,
955
- onPageChange: o,
974
+ itemsPerPage: o = 10,
975
+ onPageChange: a,
956
976
  variant: s = "full",
957
977
  className: l = "",
958
978
  ...c
959
979
  }) {
960
- const d = qe(e, r), f = (e - 1) * a + 1, m = Math.min(e * a, n ?? e * a), p = "inline-flex items-center justify-center text-sm font-medium rounded transition-all duration-150 focus:outline-none focus:ring-2 focus:ring-zeo-orange/30 disabled:opacity-40 disabled:cursor-not-allowed select-none", u = `${p} w-9 h-9`, h = "bg-zeo-orange text-white", x = "text-on-surface-variant hover:bg-surface-container-low hover:text-on-surface", w = `${p} px-3 h-9 gap-1.5 border border-surface-container-high text-on-surface-variant hover:bg-surface-container-low hover:text-on-surface`;
980
+ const d = qe(e, r), h = (e - 1) * o + 1, f = Math.min(e * o, n ?? e * o), p = "inline-flex items-center justify-center text-sm font-medium rounded transition-all duration-150 focus:outline-none focus:ring-2 focus:ring-zeo-orange/30 disabled:opacity-40 disabled:cursor-not-allowed select-none", u = `${p} w-9 h-9`, m = "bg-zeo-orange text-white", x = "text-on-surface-variant hover:bg-surface-container-low hover:text-on-surface", v = `${p} px-3 h-9 gap-1.5 border border-surface-container-high text-on-surface-variant hover:bg-surface-container-low hover:text-on-surface`;
961
981
  return /* @__PURE__ */ i(
962
982
  "div",
963
983
  {
@@ -967,9 +987,9 @@ function kt({
967
987
  s === "full" && n !== void 0 && /* @__PURE__ */ i("p", { className: "text-sm text-on-surface-variant", children: [
968
988
  "Mostrando ",
969
989
  /* @__PURE__ */ i("strong", { children: [
970
- f,
990
+ h,
971
991
  "–",
972
- m
992
+ f
973
993
  ] }),
974
994
  " de ",
975
995
  /* @__PURE__ */ t("strong", { children: n }),
@@ -979,10 +999,10 @@ function kt({
979
999
  /* @__PURE__ */ i(
980
1000
  "button",
981
1001
  {
982
- onClick: () => o(e - 1),
1002
+ onClick: () => a(e - 1),
983
1003
  disabled: e === 1,
984
1004
  "aria-label": "Página anterior",
985
- className: s === "icon" ? u + " " + x : w,
1005
+ className: s === "icon" ? u + " " + x : v,
986
1006
  children: [
987
1007
  /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px]", children: "arrow_back" }),
988
1008
  s === "text" && "Anterior"
@@ -990,12 +1010,12 @@ function kt({
990
1010
  }
991
1011
  ),
992
1012
  d.map(
993
- (b, v) => b === "..." ? /* @__PURE__ */ t("span", { className: "w-9 text-center text-sm text-on-surface-variant select-none", children: "…" }, `ellipsis-${v}`) : /* @__PURE__ */ t(
1013
+ (b, w) => b === "..." ? /* @__PURE__ */ t("span", { className: "w-9 text-center text-sm text-on-surface-variant select-none", children: "…" }, `ellipsis-${w}`) : /* @__PURE__ */ t(
994
1014
  "button",
995
1015
  {
996
- onClick: () => o(b),
1016
+ onClick: () => a(b),
997
1017
  "aria-current": e === b ? "page" : void 0,
998
- className: [u, e === b ? h : x].join(" "),
1018
+ className: [u, e === b ? m : x].join(" "),
999
1019
  children: b
1000
1020
  },
1001
1021
  b
@@ -1004,10 +1024,10 @@ function kt({
1004
1024
  /* @__PURE__ */ i(
1005
1025
  "button",
1006
1026
  {
1007
- onClick: () => o(e + 1),
1027
+ onClick: () => a(e + 1),
1008
1028
  disabled: e === r,
1009
1029
  "aria-label": "Próxima página",
1010
- className: s === "icon" ? u + " " + x : w,
1030
+ className: s === "icon" ? u + " " + x : v,
1011
1031
  children: [
1012
1032
  s === "text" && "Próxima",
1013
1033
  /* @__PURE__ */ t("span", { className: "material-symbols-outlined text-[18px]", children: "arrow_forward" })
@@ -1019,33 +1039,33 @@ function kt({
1019
1039
  }
1020
1040
  );
1021
1041
  }
1022
- const Ze = {
1042
+ const Pe = {
1023
1043
  xs: "h-1",
1024
1044
  sm: "h-1.5",
1025
1045
  md: "h-2",
1026
1046
  lg: "h-3"
1027
- }, Qe = {
1047
+ }, Ze = {
1028
1048
  primary: "bg-zeo-orange",
1029
1049
  success: "bg-green-500",
1030
1050
  warning: "bg-amber-400",
1031
1051
  danger: "bg-red-500"
1032
1052
  };
1033
- function jt({
1053
+ function Vt({
1034
1054
  value: e,
1035
1055
  max: r = 100,
1036
1056
  size: n = "md",
1037
- variant: a = "primary",
1038
- label: o = "none",
1057
+ variant: o = "primary",
1058
+ label: a = "none",
1039
1059
  showPercent: s = !0,
1040
1060
  title: l,
1041
1061
  className: c = "",
1042
1062
  ...d
1043
1063
  }) {
1044
- const f = Math.min(100, Math.max(0, e / r * 100)), m = `${Math.round(f)}%`;
1064
+ const h = Math.min(100, Math.max(0, e / r * 100)), f = `${Math.round(h)}%`;
1045
1065
  return /* @__PURE__ */ i("div", { className: ["flex flex-col gap-1.5", c].filter(Boolean).join(" "), ...d, children: [
1046
- (l || o === "outside" && s) && /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2", children: [
1066
+ (l || a === "outside" && s) && /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2", children: [
1047
1067
  l && /* @__PURE__ */ t("span", { className: "text-sm font-medium text-on-surface", children: l }),
1048
- o === "outside" && s && /* @__PURE__ */ t("span", { className: "text-sm font-semibold text-on-surface", children: m })
1068
+ a === "outside" && s && /* @__PURE__ */ t("span", { className: "text-sm font-semibold text-on-surface", children: f })
1049
1069
  ] }),
1050
1070
  /* @__PURE__ */ t(
1051
1071
  "div",
@@ -1054,16 +1074,16 @@ function jt({
1054
1074
  "aria-valuenow": e,
1055
1075
  "aria-valuemin": 0,
1056
1076
  "aria-valuemax": r,
1057
- className: ["relative w-full bg-surface-container-high rounded-full overflow-hidden", Ze[n]].join(" "),
1077
+ className: ["relative w-full bg-surface-container-high rounded-full overflow-hidden", Pe[n]].join(" "),
1058
1078
  children: /* @__PURE__ */ t(
1059
1079
  "div",
1060
1080
  {
1061
1081
  className: [
1062
1082
  "h-full rounded-full transition-all duration-500 flex items-center justify-end pr-1",
1063
- Qe[a]
1083
+ Ze[o]
1064
1084
  ].join(" "),
1065
- style: { width: `${f}%` },
1066
- children: o === "inside" && s && f >= 20 && /* @__PURE__ */ t("span", { className: "text-[10px] font-bold text-white leading-none", children: m })
1085
+ style: { width: `${h}%` },
1086
+ children: a === "inside" && s && h >= 20 && /* @__PURE__ */ t("span", { className: "text-[10px] font-bold text-white leading-none", children: f })
1067
1087
  }
1068
1088
  )
1069
1089
  }
@@ -1071,19 +1091,19 @@ function jt({
1071
1091
  ] });
1072
1092
  }
1073
1093
  const re = (e, r) => typeof e == "function" ? e(r) : e;
1074
- function Ct({
1094
+ function Dt({
1075
1095
  sidebar: e,
1076
1096
  navbar: r,
1077
1097
  children: n,
1078
- defaultExpanded: a = !1,
1079
- isExpanded: o,
1098
+ defaultExpanded: o = !1,
1099
+ isExpanded: a,
1080
1100
  onToggle: s
1081
1101
  }) {
1082
- const [l, c] = k(a), d = o ?? l, f = j(() => {
1083
- o === void 0 && c((p) => !p), s == null || s();
1084
- }, [o, s]), m = { isExpanded: d, toggle: f };
1102
+ const [l, c] = N(o), d = a ?? l, h = C(() => {
1103
+ a === void 0 && c((p) => !p), s == null || s();
1104
+ }, [a, s]), f = { isExpanded: d, toggle: h };
1085
1105
  return /* @__PURE__ */ i("div", { className: "flex h-screen overflow-hidden", children: [
1086
- re(e, m),
1106
+ re(e, f),
1087
1107
  /* @__PURE__ */ i(
1088
1108
  "div",
1089
1109
  {
@@ -1092,21 +1112,21 @@ function Ct({
1092
1112
  d ? "ml-sidebar-expanded" : "ml-sidebar-collapsed"
1093
1113
  ].join(" "),
1094
1114
  children: [
1095
- re(r, m),
1115
+ re(r, f),
1096
1116
  /* @__PURE__ */ t("main", { className: "flex-1 overflow-y-auto bg-surface-container dark:bg-canvas", children: n })
1097
1117
  ]
1098
1118
  }
1099
1119
  )
1100
1120
  ] });
1101
1121
  }
1102
- const Ye = ({ href: e, className: r, children: n }) => /* @__PURE__ */ t("a", { href: e, className: r, children: n }), ae = "text-[10px] uppercase tracking-widest text-white/30 font-bold";
1103
- function oe({ item: e, isActive: r, isExpanded: n, renderLink: a = Ye }) {
1104
- const o = e.disabled || !e.href, s = !n || o && e.disabledReason, l = /* @__PURE__ */ i(
1122
+ const Qe = ({ href: e, className: r, children: n }) => /* @__PURE__ */ t("a", { href: e, className: r, children: n }), oe = "text-[10px] uppercase tracking-widest text-white/30 font-bold";
1123
+ function ae({ item: e, isActive: r, isExpanded: n, renderLink: o = Qe }) {
1124
+ const a = e.disabled || !e.href, s = !n || a && e.disabledReason, l = /* @__PURE__ */ i(
1105
1125
  "div",
1106
1126
  {
1107
1127
  className: [
1108
1128
  "group relative flex items-center gap-3 px-4 py-3 rounded-lg transition-colors duration-150",
1109
- r ? "bg-primary-container/10 text-primary-container border-r-2 border-primary-container" : o ? "text-white/30 opacity-50 cursor-default" : "text-white/55 hover:bg-sidebar-hover hover:text-white cursor-pointer"
1129
+ r ? "bg-primary-container/10 text-primary-container border-r-2 border-primary-container" : a ? "text-white/30 opacity-50 cursor-default" : "text-white/55 hover:bg-sidebar-hover hover:text-white cursor-pointer"
1110
1130
  ].join(" "),
1111
1131
  children: [
1112
1132
  e.icon,
@@ -1131,7 +1151,7 @@ function oe({ item: e, isActive: r, isExpanded: n, renderLink: a = Ye }) {
1131
1151
  s && "group-hover:visible group-hover:opacity-100"
1132
1152
  ].filter(Boolean).join(" "),
1133
1153
  children: [
1134
- o && e.disabledReason ? e.disabledReason : e.label,
1154
+ a && e.disabledReason ? e.disabledReason : e.label,
1135
1155
  /* @__PURE__ */ t("div", { className: "absolute top-1/2 -left-1 -translate-y-1/2 w-2 h-2 bg-surface-container-lowest rotate-45" })
1136
1156
  ]
1137
1157
  }
@@ -1139,39 +1159,39 @@ function oe({ item: e, isActive: r, isExpanded: n, renderLink: a = Ye }) {
1139
1159
  ]
1140
1160
  }
1141
1161
  );
1142
- return o ? /* @__PURE__ */ t("div", { children: l }) : a({ item: e, href: e.href, className: "block no-underline", children: l });
1162
+ return a ? /* @__PURE__ */ t("div", { children: l }) : o({ item: e, href: e.href, className: "block no-underline", children: l });
1143
1163
  }
1144
- function Je({ section: e, index: r = 0, activeId: n, isExpanded: a, renderLink: o }) {
1164
+ function Ye({ section: e, index: r = 0, activeId: n, isExpanded: o, renderLink: a }) {
1145
1165
  return /* @__PURE__ */ i(ne, { children: [
1146
1166
  e.label && /* @__PURE__ */ t(
1147
1167
  "div",
1148
1168
  {
1149
1169
  className: [
1150
1170
  "overflow-hidden transition-all duration-shell px-3",
1151
- a ? "h-6 opacity-100 mb-1" : "h-0 opacity-0",
1171
+ o ? "h-6 opacity-100 mb-1" : "h-0 opacity-0",
1152
1172
  r > 0 ? "mt-4" : ""
1153
1173
  ].join(" "),
1154
- children: /* @__PURE__ */ t("span", { className: ae, children: e.label })
1174
+ children: /* @__PURE__ */ t("span", { className: oe, children: e.label })
1155
1175
  }
1156
1176
  ),
1157
1177
  e.items.map((s) => /* @__PURE__ */ t(
1158
- oe,
1178
+ ae,
1159
1179
  {
1160
1180
  item: s,
1161
1181
  isActive: s.id === n,
1162
- isExpanded: a,
1163
- renderLink: o
1182
+ isExpanded: o,
1183
+ renderLink: a
1164
1184
  },
1165
1185
  s.id
1166
1186
  ))
1167
1187
  ] });
1168
1188
  }
1169
- function Bt({ sections: e, activeId: r, isExpanded: n, logo: a, renderLink: o }) {
1189
+ function Ot({ sections: e, activeId: r, isExpanded: n, logo: o, renderLink: a }) {
1170
1190
  const s = e.filter((d) => d.placement !== "bottom"), l = e.filter((d) => d.placement === "bottom"), c = /* @__PURE__ */ t(
1171
1191
  "img",
1172
1192
  {
1173
- src: a.src,
1174
- alt: a.alt ?? "",
1193
+ src: o.src,
1194
+ alt: o.alt ?? "",
1175
1195
  className: [
1176
1196
  "flex-shrink-0",
1177
1197
  n ? "h-8 w-auto object-contain" : "w-10 h-10 object-cover object-left"
@@ -1195,17 +1215,17 @@ function Bt({ sections: e, activeId: r, isExpanded: n, logo: a, renderLink: o })
1195
1215
  "h-[88px] flex items-center flex-shrink-0",
1196
1216
  n ? "px-6 justify-start" : "justify-center"
1197
1217
  ].join(" "),
1198
- children: a.href ? /* @__PURE__ */ t("a", { href: a.href, "aria-label": a.alt, className: "flex-shrink-0", children: c }) : c
1218
+ children: o.href ? /* @__PURE__ */ t("a", { href: o.href, "aria-label": o.alt, className: "flex-shrink-0", children: c }) : c
1199
1219
  }
1200
1220
  ),
1201
- /* @__PURE__ */ t("nav", { className: "flex-1 flex flex-col py-2 px-3 gap-1", children: s.map((d, f) => /* @__PURE__ */ t(
1202
- Je,
1221
+ /* @__PURE__ */ t("nav", { className: "flex-1 flex flex-col py-2 px-3 gap-1", children: s.map((d, h) => /* @__PURE__ */ t(
1222
+ Ye,
1203
1223
  {
1204
1224
  section: d,
1205
- index: f,
1225
+ index: h,
1206
1226
  activeId: r,
1207
1227
  isExpanded: n,
1208
- renderLink: o
1228
+ renderLink: a
1209
1229
  },
1210
1230
  d.id
1211
1231
  )) }),
@@ -1217,31 +1237,31 @@ function Bt({ sections: e, activeId: r, isExpanded: n, logo: a, renderLink: o })
1217
1237
  "px-6 mb-2 overflow-hidden transition-all duration-shell",
1218
1238
  n ? "h-7 opacity-100" : "h-0 opacity-0"
1219
1239
  ].join(" "),
1220
- children: /* @__PURE__ */ t("span", { className: ae, children: d.label })
1240
+ children: /* @__PURE__ */ t("span", { className: oe, children: d.label })
1221
1241
  }
1222
1242
  ),
1223
1243
  /* @__PURE__ */ t("div", { className: "border-t border-white/[0.06] mb-2" }),
1224
- /* @__PURE__ */ t("div", { className: "px-3", children: d.items.map((f) => /* @__PURE__ */ t(
1225
- oe,
1244
+ /* @__PURE__ */ t("div", { className: "px-3", children: d.items.map((h) => /* @__PURE__ */ t(
1245
+ ae,
1226
1246
  {
1227
- item: f,
1228
- isActive: f.id === r,
1247
+ item: h,
1248
+ isActive: h.id === r,
1229
1249
  isExpanded: n,
1230
- renderLink: o
1250
+ renderLink: a
1231
1251
  },
1232
- f.id
1252
+ h.id
1233
1253
  )) })
1234
1254
  ] }, d.id))
1235
1255
  ]
1236
1256
  }
1237
1257
  );
1238
1258
  }
1239
- function zt({
1259
+ function Ft({
1240
1260
  onToggleMenu: e,
1241
1261
  start: r,
1242
1262
  search: n,
1243
- actions: a,
1244
- userMenu: o,
1263
+ actions: o,
1264
+ userMenu: a,
1245
1265
  toggleMenuLabel: s = "Alternar menu"
1246
1266
  }) {
1247
1267
  return /* @__PURE__ */ i("header", { className: "h-navbar bg-surface-container-lowest dark:bg-page border-b border-surface-container-highest dark:border-line-section flex items-center justify-between px-6 sticky top-0 z-50 flex-shrink-0", children: [
@@ -1253,20 +1273,20 @@ function zt({
1253
1273
  onClick: e,
1254
1274
  "aria-label": s,
1255
1275
  className: "flex items-center justify-center p-2 rounded-full text-on-secondary-container hover:bg-surface-container-high transition-colors flex-shrink-0",
1256
- children: /* @__PURE__ */ t(N, { name: "menu", size: 20 })
1276
+ children: /* @__PURE__ */ t(k, { name: "menu", size: 20 })
1257
1277
  }
1258
1278
  ),
1259
1279
  r,
1260
1280
  n
1261
1281
  ] }),
1262
- (a || o) && /* @__PURE__ */ i("div", { className: "flex items-center gap-1 flex-shrink-0 ml-4", children: [
1263
- a,
1264
- a && o && /* @__PURE__ */ t("div", { className: "w-px h-6 bg-outline-variant opacity-30 mx-2 flex-shrink-0" }),
1265
- o
1282
+ (o || a) && /* @__PURE__ */ i("div", { className: "flex items-center gap-1 flex-shrink-0 ml-4", children: [
1283
+ o,
1284
+ o && a && /* @__PURE__ */ t("div", { className: "w-px h-6 bg-outline-variant opacity-30 mx-2 flex-shrink-0" }),
1285
+ a
1266
1286
  ] })
1267
1287
  ] });
1268
1288
  }
1269
- function Lt({ module: e, project: r }) {
1289
+ function Kt({ module: e, project: r }) {
1270
1290
  return /* @__PURE__ */ i("div", { className: "flex items-baseline gap-2 min-w-0", children: [
1271
1291
  /* @__PURE__ */ t("span", { className: "text-title-md font-bold text-on-surface whitespace-nowrap", children: e }),
1272
1292
  r && /* @__PURE__ */ i(ne, { children: [
@@ -1275,18 +1295,18 @@ function Lt({ module: e, project: r }) {
1275
1295
  ] })
1276
1296
  ] });
1277
1297
  }
1278
- function _t({ value: e, onChange: r, placeholder: n, shortcutHint: a, focusShortcut: o = !1 }) {
1279
- const s = M(null);
1280
- return C(() => {
1281
- if (!o) return;
1298
+ function Ut({ value: e, onChange: r, placeholder: n, shortcutHint: o, focusShortcut: a = !1 }) {
1299
+ const s = z(null);
1300
+ return j(() => {
1301
+ if (!a) return;
1282
1302
  const l = (c) => {
1283
1303
  var d;
1284
1304
  (c.metaKey || c.ctrlKey) && c.key === "k" && (c.preventDefault(), (d = s.current) == null || d.focus());
1285
1305
  };
1286
1306
  return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
1287
- }, [o]), /* @__PURE__ */ i("div", { className: "relative w-full max-w-md", children: [
1307
+ }, [a]), /* @__PURE__ */ i("div", { className: "relative w-full max-w-md", children: [
1288
1308
  /* @__PURE__ */ t(
1289
- N,
1309
+ k,
1290
1310
  {
1291
1311
  name: "search",
1292
1312
  size: 18,
@@ -1303,7 +1323,7 @@ function _t({ value: e, onChange: r, placeholder: n, shortcutHint: a, focusShort
1303
1323
  "aria-label": n,
1304
1324
  className: [
1305
1325
  "w-full h-9 pl-10 rounded-lg",
1306
- a ? "pr-[90px]" : "pr-3",
1326
+ o ? "pr-[90px]" : "pr-3",
1307
1327
  "border border-transparent bg-surface-container",
1308
1328
  "text-sm text-on-surface font-sans placeholder:text-on-surface-variant",
1309
1329
  "outline-none transition-all",
@@ -1311,17 +1331,17 @@ function _t({ value: e, onChange: r, placeholder: n, shortcutHint: a, focusShort
1311
1331
  ].join(" ")
1312
1332
  }
1313
1333
  ),
1314
- a && /* @__PURE__ */ t("span", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-xs text-on-surface-variant bg-surface-container-lowest border border-surface-container-highest rounded px-1 py-px whitespace-nowrap pointer-events-none", children: a })
1334
+ o && /* @__PURE__ */ t("span", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-xs text-on-surface-variant bg-surface-container-lowest border border-surface-container-highest rounded px-1 py-px whitespace-nowrap pointer-events-none", children: o })
1315
1335
  ] });
1316
1336
  }
1317
- function se({ icon: e, label: r, badge: n = !1, className: a = "", type: o = "button", ...s }) {
1337
+ function se({ icon: e, label: r, badge: n = !1, className: o = "", type: a = "button", ...s }) {
1318
1338
  return /* @__PURE__ */ i(
1319
1339
  "button",
1320
1340
  {
1321
1341
  ...s,
1322
- type: o,
1342
+ type: a,
1323
1343
  "aria-label": r,
1324
- className: `relative flex items-center justify-center p-2 rounded-full text-on-secondary-container hover:bg-surface-container-high transition-colors ${a}`.trim(),
1344
+ className: `relative flex items-center justify-center p-2 rounded-full text-on-secondary-container hover:bg-surface-container-high transition-colors ${o}`.trim(),
1325
1345
  children: [
1326
1346
  e,
1327
1347
  n && /* @__PURE__ */ t("span", { className: "absolute top-2 right-2 w-2 h-2 bg-error rounded-full" })
@@ -1329,21 +1349,21 @@ function se({ icon: e, label: r, badge: n = !1, className: a = "", type: o = "bu
1329
1349
  }
1330
1350
  );
1331
1351
  }
1332
- function Tt({ hasUnread: e = !1, count: r = 0, onClick: n, label: a = "Notificações" }) {
1352
+ function Gt({ hasUnread: e = !1, count: r = 0, onClick: n, label: o = "Notificações" }) {
1333
1353
  return /* @__PURE__ */ t(
1334
1354
  se,
1335
1355
  {
1336
- icon: /* @__PURE__ */ t(N, { name: "notifications", size: 20 }),
1337
- label: a,
1356
+ icon: /* @__PURE__ */ t(k, { name: "notifications", size: 20 }),
1357
+ label: o,
1338
1358
  badge: e || r > 0,
1339
1359
  onClick: n
1340
1360
  }
1341
1361
  );
1342
1362
  }
1343
- const Xe = {
1363
+ const Je = {
1344
1364
  read: () => {
1345
1365
  try {
1346
- const e = window.localStorage.getItem(U);
1366
+ const e = window.localStorage.getItem(F);
1347
1367
  return e === "dark" || e === "light" ? e : null;
1348
1368
  } catch {
1349
1369
  return null;
@@ -1351,55 +1371,55 @@ const Xe = {
1351
1371
  },
1352
1372
  write: (e) => {
1353
1373
  try {
1354
- window.localStorage.setItem(U, e);
1374
+ window.localStorage.setItem(F, e);
1355
1375
  } catch {
1356
1376
  return;
1357
1377
  }
1358
1378
  }
1359
- }, Mt = `try{if(localStorage.getItem('${U}')==='dark')document.documentElement.setAttribute('${W}','dark')}catch(e){}`;
1360
- function Pe(e, r = document.documentElement) {
1361
- e === "dark" ? r.setAttribute(W, "dark") : r.removeAttribute(W);
1379
+ }, qt = `try{if(localStorage.getItem('${F}')==='dark')document.documentElement.setAttribute('${K}','dark')}catch(e){}`;
1380
+ function Xe(e, r = document.documentElement) {
1381
+ e === "dark" ? r.setAttribute(K, "dark") : r.removeAttribute(K);
1362
1382
  }
1363
- const O = G(null);
1364
- function It({
1383
+ const G = U(null);
1384
+ function Pt({
1365
1385
  children: e,
1366
1386
  defaultTheme: r = "light",
1367
- storage: n = Xe
1387
+ storage: n = Je
1368
1388
  }) {
1369
- const [a, o] = k(() => n.read() ?? r);
1370
- C(() => {
1371
- Pe(a);
1372
- }, [a]);
1373
- const s = j(
1389
+ const [o, a] = N(() => n.read() ?? r);
1390
+ j(() => {
1391
+ Xe(o);
1392
+ }, [o]);
1393
+ const s = C(
1374
1394
  (d) => {
1375
- n.write(d), o(d);
1395
+ n.write(d), a(d);
1376
1396
  },
1377
1397
  [n]
1378
- ), l = j(() => s(a === "dark" ? "light" : "dark"), [s, a]), c = ge(
1379
- () => ({ theme: a, isDark: a === "dark", setTheme: s, toggleTheme: l }),
1380
- [a, s, l]
1398
+ ), l = C(() => s(o === "dark" ? "light" : "dark"), [s, o]), c = ge(
1399
+ () => ({ theme: o, isDark: o === "dark", setTheme: s, toggleTheme: l }),
1400
+ [o, s, l]
1381
1401
  );
1382
- return /* @__PURE__ */ t(O.Provider, { value: c, children: e });
1402
+ return /* @__PURE__ */ t(G.Provider, { value: c, children: e });
1383
1403
  }
1384
1404
  function et() {
1385
- return E(O);
1405
+ return E(G);
1386
1406
  }
1387
- function $t() {
1388
- const e = E(O);
1407
+ function Zt() {
1408
+ const e = E(G);
1389
1409
  if (!e) throw new Error("useTheme precisa estar dentro de um ThemeProvider");
1390
1410
  return e;
1391
1411
  }
1392
1412
  function ie(e, r, n) {
1393
- C(() => {
1413
+ j(() => {
1394
1414
  if (!r) return;
1395
- const a = (s) => {
1415
+ const o = (s) => {
1396
1416
  s.key === "Escape" && n();
1397
- }, o = (s) => {
1417
+ }, a = (s) => {
1398
1418
  var l;
1399
1419
  (l = e.current) != null && l.contains(s.target) || n();
1400
1420
  };
1401
- return document.addEventListener("keydown", a), document.addEventListener("mousedown", o), () => {
1402
- document.removeEventListener("keydown", a), document.removeEventListener("mousedown", o);
1421
+ return document.addEventListener("keydown", o), document.addEventListener("mousedown", a), () => {
1422
+ document.removeEventListener("keydown", o), document.removeEventListener("mousedown", a);
1403
1423
  };
1404
1424
  }, [e, r, n]);
1405
1425
  }
@@ -1409,21 +1429,21 @@ const tt = {
1409
1429
  darkMode: "Modo escuro",
1410
1430
  user: "Usuário"
1411
1431
  };
1412
- function At({ name: e, email: r, shortName: n, profilePicUrl: a, onMyAccount: o, onLogout: s, labels: l }) {
1413
- const c = { ...tt, ...l }, [d, f] = k(!1), m = M(null), p = et(), u = j(() => f(!1), []);
1414
- return ie(m, d, u), /* @__PURE__ */ i("div", { ref: m, className: "relative flex items-center", children: [
1432
+ function Qt({ name: e, email: r, shortName: n, profilePicUrl: o, onMyAccount: a, onLogout: s, labels: l }) {
1433
+ const c = { ...tt, ...l }, [d, h] = N(!1), f = z(null), p = et(), u = C(() => h(!1), []);
1434
+ return ie(f, d, u), /* @__PURE__ */ i("div", { ref: f, className: "relative flex items-center", children: [
1415
1435
  /* @__PURE__ */ i(
1416
1436
  "button",
1417
1437
  {
1418
1438
  type: "button",
1419
- onClick: () => f((h) => !h),
1439
+ onClick: () => h((m) => !m),
1420
1440
  "aria-haspopup": "true",
1421
1441
  "aria-expanded": d,
1422
1442
  className: "flex items-center gap-2 px-2 py-1 rounded-full border-none bg-transparent cursor-pointer text-on-surface-variant hover:bg-surface-container-low transition-colors",
1423
1443
  children: [
1424
1444
  n && /* @__PURE__ */ t("span", { className: "text-sm font-medium text-on-surface", children: n }),
1425
- /* @__PURE__ */ t(P, { src: a, name: e, size: "sm", "aria-label": e || c.user }),
1426
- /* @__PURE__ */ t("span", { className: `flex items-center transition-transform duration-200 ${d ? "rotate-180" : "rotate-0"}`, children: /* @__PURE__ */ t(N, { name: "expand_more", size: 13 }) })
1445
+ /* @__PURE__ */ t(X, { src: o, name: e, size: "sm", "aria-label": e || c.user }),
1446
+ /* @__PURE__ */ t("span", { className: `flex items-center transition-transform duration-200 ${d ? "rotate-180" : "rotate-0"}`, children: /* @__PURE__ */ t(k, { name: "expand_more", size: 13 }) })
1427
1447
  ]
1428
1448
  }
1429
1449
  ),
@@ -1434,7 +1454,7 @@ function At({ name: e, email: r, shortName: n, profilePicUrl: a, onMyAccount: o,
1434
1454
  className: "absolute right-0 top-[calc(100%+8px)] min-w-[220px] bg-surface-container-lowest border border-surface-container-highest rounded-xl shadow-theme-lg z-[200] overflow-hidden",
1435
1455
  children: [
1436
1456
  /* @__PURE__ */ i("div", { className: "flex items-center gap-3 p-4", children: [
1437
- /* @__PURE__ */ t(P, { src: a, name: e, size: "sm" }),
1457
+ /* @__PURE__ */ t(X, { src: o, name: e, size: "sm" }),
1438
1458
  /* @__PURE__ */ i("div", { className: "flex flex-col gap-0.5 min-w-0", children: [
1439
1459
  /* @__PURE__ */ t("span", { className: "text-sm font-bold text-on-surface whitespace-nowrap overflow-hidden text-ellipsis", children: e }),
1440
1460
  /* @__PURE__ */ t("span", { className: "text-xs text-on-surface-variant whitespace-nowrap overflow-hidden text-ellipsis", children: r })
@@ -1447,11 +1467,11 @@ function At({ name: e, email: r, shortName: n, profilePicUrl: a, onMyAccount: o,
1447
1467
  type: "button",
1448
1468
  role: "menuitem",
1449
1469
  onClick: () => {
1450
- u(), o();
1470
+ u(), a();
1451
1471
  },
1452
1472
  className: "w-full flex items-center gap-3 px-4 py-2.5 border-none bg-transparent cursor-pointer text-left text-on-surface hover:bg-surface-container-low transition-colors",
1453
1473
  children: [
1454
- /* @__PURE__ */ t(N, { name: "person", size: 15 }),
1474
+ /* @__PURE__ */ t(k, { name: "person", size: 15 }),
1455
1475
  /* @__PURE__ */ t("span", { className: "text-sm font-medium", children: c.myAccount })
1456
1476
  ]
1457
1477
  }
@@ -1465,7 +1485,7 @@ function At({ name: e, email: r, shortName: n, profilePicUrl: a, onMyAccount: o,
1465
1485
  onClick: p.toggleTheme,
1466
1486
  className: "w-full flex items-center gap-3 px-4 py-2.5 border-none bg-transparent cursor-pointer text-left text-on-surface hover:bg-surface-container-low transition-colors",
1467
1487
  children: [
1468
- /* @__PURE__ */ t(N, { name: "dark_mode", size: 15 }),
1488
+ /* @__PURE__ */ t(k, { name: "dark_mode", size: 15 }),
1469
1489
  /* @__PURE__ */ t("span", { className: "flex-1 text-sm font-medium", children: c.darkMode }),
1470
1490
  /* @__PURE__ */ t(
1471
1491
  "span",
@@ -1493,7 +1513,7 @@ function At({ name: e, email: r, shortName: n, profilePicUrl: a, onMyAccount: o,
1493
1513
  },
1494
1514
  className: "w-full flex items-center gap-3 px-4 py-2.5 border-none bg-transparent cursor-pointer text-left text-error hover:bg-error/5 transition-colors",
1495
1515
  children: [
1496
- /* @__PURE__ */ t(N, { name: "logout", size: 15 }),
1516
+ /* @__PURE__ */ t(k, { name: "logout", size: 15 }),
1497
1517
  /* @__PURE__ */ t("span", { className: "text-sm font-medium", children: c.logout })
1498
1518
  ]
1499
1519
  }
@@ -1510,20 +1530,20 @@ const rt = {
1510
1530
  changelog: "Changelog",
1511
1531
  contactUs: "Contate-nos"
1512
1532
  };
1513
- function Et({ labels: e, hrefs: r }) {
1514
- const n = { ...rt, ...e }, a = M(null), [o, s] = k(!1), l = j(() => s(!1), []);
1515
- return ie(a, o, l), /* @__PURE__ */ i("div", { ref: a, className: "relative", children: [
1533
+ function Yt({ labels: e, hrefs: r }) {
1534
+ const n = { ...rt, ...e }, o = z(null), [a, s] = N(!1), l = C(() => s(!1), []);
1535
+ return ie(o, a, l), /* @__PURE__ */ i("div", { ref: o, className: "relative", children: [
1516
1536
  /* @__PURE__ */ t(
1517
1537
  se,
1518
1538
  {
1519
- icon: /* @__PURE__ */ t(N, { name: "help", size: 20 }),
1539
+ icon: /* @__PURE__ */ t(k, { name: "help", size: 20 }),
1520
1540
  label: n.help,
1521
1541
  onClick: () => s((c) => !c),
1522
1542
  "aria-haspopup": "true",
1523
- "aria-expanded": o
1543
+ "aria-expanded": a
1524
1544
  }
1525
1545
  ),
1526
- o && /* @__PURE__ */ i(
1546
+ a && /* @__PURE__ */ i(
1527
1547
  "div",
1528
1548
  {
1529
1549
  role: "menu",
@@ -1547,23 +1567,24 @@ function A({ icon: e, label: r, href: n = "#" }) {
1547
1567
  role: "menuitem",
1548
1568
  className: "flex items-center gap-3 px-4 py-2.5 text-sm font-medium text-on-surface-variant hover:bg-surface-container hover:text-on-surface transition-colors no-underline",
1549
1569
  children: [
1550
- /* @__PURE__ */ t(N, { name: e, size: 18, className: "opacity-70" }),
1570
+ /* @__PURE__ */ t(k, { name: e, size: 18, className: "opacity-70" }),
1551
1571
  r
1552
1572
  ]
1553
1573
  }
1554
1574
  );
1555
1575
  }
1556
- const St = [
1576
+ const Jt = [
1557
1577
  { id: "tower", status: "active", iconName: "cell_tower", labelKey: "modules.tower.title" },
1558
1578
  { id: "antennas", status: "active", iconName: "settings_input_antenna", labelKey: "modules.antennas.title" },
1559
1579
  { id: "rooftop", status: "active", iconName: "roofing", labelKey: "modules.rooftop.title" },
1560
- { id: "radier", status: "active", iconName: "layers", IconComponent: De, labelKey: "modules.radier.title" },
1561
- { id: "caisson_foundation", status: "coming_soon", iconName: "filter_alt", IconComponent: He, labelKey: "modules.caisson_foundation.title" },
1562
- { id: "pole", status: "coming_soon", iconName: "fence", IconComponent: Ke, labelKey: "modules.pole.title" },
1563
- { id: "dashboards", status: "coming_soon", iconName: "dashboard", labelKey: "modules.dashboards.title" }
1580
+ { id: "radier", status: "active", iconName: "layers", IconComponent: Ve, labelKey: "modules.radier.title" },
1581
+ { id: "caisson_foundation", status: "coming_soon", iconName: "filter_alt", IconComponent: De, labelKey: "modules.caisson_foundation.title" },
1582
+ { id: "pole", status: "coming_soon", iconName: "fence", IconComponent: Oe, labelKey: "modules.pole.title" },
1583
+ { id: "dashboards", status: "coming_soon", iconName: "dashboard", labelKey: "modules.dashboards.title" },
1584
+ { id: "calculadoras", status: "active", iconName: "calculate", labelKey: "modules.calculadoras.title" }
1564
1585
  ];
1565
- function Rt(e, r, n) {
1566
- return e.filter((a) => r.includes(a.id) || n.includes(a.id)).map((a) => ({ module: a, hasAccess: n.includes(a.id) }));
1586
+ function Xt(e, r, n) {
1587
+ return e.filter((o) => r.includes(o.id) || n.includes(o.id)).map((o) => ({ module: o, hasAccess: n.includes(o.id) }));
1567
1588
  }
1568
1589
  const nt = {
1569
1590
  xs: "w-3 h-3 border",
@@ -1571,17 +1592,17 @@ const nt = {
1571
1592
  md: "w-6 h-6 border-2",
1572
1593
  lg: "w-8 h-8 border-[3px]",
1573
1594
  xl: "w-12 h-12 border-4"
1574
- }, at = {
1595
+ }, ot = {
1575
1596
  primary: "border-orange-200 dark:border-zeo-orange/30 border-t-zeo-orange",
1576
1597
  secondary: "border-surface-container-high border-t-on-surface-variant",
1577
1598
  white: "border-white/30 border-t-white"
1578
1599
  };
1579
- function Ft({
1600
+ function er({
1580
1601
  size: e = "md",
1581
1602
  variant: r = "primary",
1582
1603
  label: n = "Carregando...",
1583
- className: a = "",
1584
- ...o
1604
+ className: o = "",
1605
+ ...a
1585
1606
  }) {
1586
1607
  return /* @__PURE__ */ t(
1587
1608
  "span",
@@ -1591,14 +1612,14 @@ function Ft({
1591
1612
  className: [
1592
1613
  "inline-block rounded-full animate-spin",
1593
1614
  nt[e],
1594
- at[r],
1595
- a
1615
+ ot[r],
1616
+ o
1596
1617
  ].filter(Boolean).join(" "),
1597
- ...o
1618
+ ...a
1598
1619
  }
1599
1620
  );
1600
1621
  }
1601
- function Vt({ children: e, className: r = "", ...n }) {
1622
+ function tr({ children: e, className: r = "", ...n }) {
1602
1623
  return /* @__PURE__ */ t(
1603
1624
  "div",
1604
1625
  {
@@ -1608,7 +1629,7 @@ function Vt({ children: e, className: r = "", ...n }) {
1608
1629
  }
1609
1630
  );
1610
1631
  }
1611
- function Dt({ children: e, className: r = "", ...n }) {
1632
+ function rr({ children: e, className: r = "", ...n }) {
1612
1633
  return /* @__PURE__ */ t(
1613
1634
  "thead",
1614
1635
  {
@@ -1618,7 +1639,7 @@ function Dt({ children: e, className: r = "", ...n }) {
1618
1639
  }
1619
1640
  );
1620
1641
  }
1621
- function Ht({ children: e, className: r = "", ...n }) {
1642
+ function nr({ children: e, className: r = "", ...n }) {
1622
1643
  return /* @__PURE__ */ t(
1623
1644
  "tbody",
1624
1645
  {
@@ -1628,7 +1649,7 @@ function Ht({ children: e, className: r = "", ...n }) {
1628
1649
  }
1629
1650
  );
1630
1651
  }
1631
- function Kt({ selected: e = !1, children: r, className: n = "", ...a }) {
1652
+ function or({ selected: e = !1, children: r, className: n = "", ...o }) {
1632
1653
  return /* @__PURE__ */ t(
1633
1654
  "tr",
1634
1655
  {
@@ -1637,17 +1658,17 @@ function Kt({ selected: e = !1, children: r, className: n = "", ...a }) {
1637
1658
  e ? "bg-orange-50/40 dark:bg-zeo-orange/[0.12]" : "",
1638
1659
  n
1639
1660
  ].filter(Boolean).join(" "),
1640
- ...a,
1661
+ ...o,
1641
1662
  children: r
1642
1663
  }
1643
1664
  );
1644
1665
  }
1645
- function Ut({
1666
+ function ar({
1646
1667
  sortable: e = !1,
1647
1668
  sorted: r = !1,
1648
1669
  onSort: n,
1649
- children: a,
1650
- className: o = "",
1670
+ children: o,
1671
+ className: a = "",
1651
1672
  ...s
1652
1673
  }) {
1653
1674
  return /* @__PURE__ */ t(
@@ -1656,12 +1677,12 @@ function Ut({
1656
1677
  className: [
1657
1678
  "px-4 py-3 text-left text-xs font-semibold text-on-surface-variant uppercase tracking-wide whitespace-nowrap",
1658
1679
  e ? "cursor-pointer hover:text-on-surface select-none" : "",
1659
- o
1680
+ a
1660
1681
  ].filter(Boolean).join(" "),
1661
1682
  onClick: e ? n : void 0,
1662
1683
  ...s,
1663
1684
  children: /* @__PURE__ */ i("span", { className: "inline-flex items-center gap-1", children: [
1664
- a,
1685
+ o,
1665
1686
  e && /* @__PURE__ */ t(
1666
1687
  "span",
1667
1688
  {
@@ -1673,7 +1694,7 @@ function Ut({
1673
1694
  }
1674
1695
  );
1675
1696
  }
1676
- function Wt({ muted: e = !1, mono: r = !1, children: n, className: a = "", ...o }) {
1697
+ function sr({ muted: e = !1, mono: r = !1, children: n, className: o = "", ...a }) {
1677
1698
  return /* @__PURE__ */ t(
1678
1699
  "td",
1679
1700
  {
@@ -1681,87 +1702,87 @@ function Wt({ muted: e = !1, mono: r = !1, children: n, className: a = "", ...o
1681
1702
  "px-4 py-3",
1682
1703
  e ? "text-on-surface-variant" : "text-on-surface",
1683
1704
  r ? "font-mono text-xs" : "",
1684
- a
1705
+ o
1685
1706
  ].filter(Boolean).join(" "),
1686
- ...o,
1707
+ ...a,
1687
1708
  children: n
1688
1709
  }
1689
1710
  );
1690
1711
  }
1691
- const le = G(null);
1712
+ const le = U(null);
1692
1713
  function q() {
1693
1714
  const e = E(le);
1694
1715
  if (!e) throw new Error("Tab must be used inside Tabs");
1695
1716
  return e;
1696
1717
  }
1697
- const ce = G({ stretch: !1 });
1698
- function Gt({ value: e, onChange: r, variant: n = "default", children: a }) {
1699
- return /* @__PURE__ */ t(le.Provider, { value: { active: e, onChange: r, variant: n }, children: /* @__PURE__ */ t("div", { className: n === "vertical" ? "flex gap-6" : "flex flex-col gap-4", children: a }) });
1718
+ const ce = U({ stretch: !1 });
1719
+ function ir({ value: e, onChange: r, variant: n = "default", children: o }) {
1720
+ return /* @__PURE__ */ t(le.Provider, { value: { active: e, onChange: r, variant: n }, children: /* @__PURE__ */ t("div", { className: n === "vertical" ? "flex gap-6" : "flex flex-col gap-4", children: o }) });
1700
1721
  }
1701
- function Ot({ children: e, className: r = "", stretch: n = !1, ...a }) {
1702
- const { variant: o } = q(), s = {
1722
+ function lr({ children: e, className: r = "", stretch: n = !1, ...o }) {
1723
+ const { variant: a } = q(), s = {
1703
1724
  default: n ? "flex gap-1 bg-surface-container-low rounded-lg p-1 w-full" : "flex gap-1 bg-surface-container-low rounded-lg p-1 w-fit",
1704
1725
  underline: "flex gap-0 border-b border-surface-container-high w-full",
1705
1726
  vertical: "flex flex-col gap-1 bg-surface-container-low rounded-lg p-1 w-48 shrink-0 h-fit"
1706
- }[o];
1727
+ }[a];
1707
1728
  return /* @__PURE__ */ t(ce.Provider, { value: { stretch: n }, children: /* @__PURE__ */ t(
1708
1729
  "div",
1709
1730
  {
1710
1731
  role: "tablist",
1711
1732
  className: [s, r].filter(Boolean).join(" "),
1712
- ...a,
1733
+ ...o,
1713
1734
  children: e
1714
1735
  }
1715
1736
  ) });
1716
1737
  }
1717
- function qt({ value: e, label: r, icon: n, badge: a, disabled: o = !1 }) {
1718
- const { active: s, onChange: l, variant: c } = q(), { stretch: d } = E(ce), f = s === e, m = "inline-flex items-center gap-2 font-medium text-sm transition-all duration-200 select-none focus:outline-none", p = "opacity-40 cursor-not-allowed pointer-events-none", u = d && c !== "vertical" ? "flex-1 justify-center" : "", h = {
1719
- default: f ? "bg-white dark:bg-chip text-on-surface shadow-sm rounded-md px-4 py-2" : "text-on-surface-variant hover:text-on-surface rounded-md px-4 py-2",
1720
- underline: f ? "text-zeo-orange border-b-2 border-zeo-orange px-4 py-2.5 -mb-px" : "text-on-surface-variant hover:text-on-surface border-b-2 border-transparent px-4 py-2.5 -mb-px",
1721
- vertical: f ? "bg-white dark:bg-chip text-on-surface shadow-sm rounded-md px-4 py-2 w-full" : "text-on-surface-variant hover:text-on-surface rounded-md px-4 py-2 w-full"
1738
+ function cr({ value: e, label: r, icon: n, badge: o, disabled: a = !1 }) {
1739
+ const { active: s, onChange: l, variant: c } = q(), { stretch: d } = E(ce), h = s === e, f = "inline-flex items-center gap-2 font-medium text-sm transition-all duration-200 select-none focus:outline-none", p = "opacity-40 cursor-not-allowed pointer-events-none", u = d && c !== "vertical" ? "flex-1 justify-center" : "", m = {
1740
+ default: h ? "bg-white dark:bg-chip text-on-surface shadow-sm rounded-md px-4 py-2" : "text-on-surface-variant hover:text-on-surface rounded-md px-4 py-2",
1741
+ underline: h ? "text-zeo-orange border-b-2 border-zeo-orange px-4 py-2.5 -mb-px" : "text-on-surface-variant hover:text-on-surface border-b-2 border-transparent px-4 py-2.5 -mb-px",
1742
+ vertical: h ? "bg-white dark:bg-chip text-on-surface shadow-sm rounded-md px-4 py-2 w-full" : "text-on-surface-variant hover:text-on-surface rounded-md px-4 py-2 w-full"
1722
1743
  }[c];
1723
1744
  return /* @__PURE__ */ i(
1724
1745
  "button",
1725
1746
  {
1726
1747
  role: "tab",
1727
- "aria-selected": f,
1728
- "aria-disabled": o,
1729
- disabled: o,
1730
- onClick: () => !o && l(e),
1731
- className: [m, h, u, o ? p : ""].filter(Boolean).join(" "),
1748
+ "aria-selected": h,
1749
+ "aria-disabled": a,
1750
+ disabled: a,
1751
+ onClick: () => !a && l(e),
1752
+ className: [f, m, u, a ? p : ""].filter(Boolean).join(" "),
1732
1753
  children: [
1733
1754
  n && /* @__PURE__ */ t(
1734
1755
  "span",
1735
1756
  {
1736
1757
  className: "material-symbols-outlined text-[18px]",
1737
- style: f ? { fontVariationSettings: "'FILL' 1" } : void 0,
1758
+ style: h ? { fontVariationSettings: "'FILL' 1" } : void 0,
1738
1759
  children: n
1739
1760
  }
1740
1761
  ),
1741
1762
  r,
1742
- a !== void 0 && /* @__PURE__ */ t(
1763
+ o !== void 0 && /* @__PURE__ */ t(
1743
1764
  "span",
1744
1765
  {
1745
- className: `text-[11px] font-semibold px-1.5 py-0.5 rounded-full leading-none ${f ? "bg-zeo-orange text-white" : "bg-surface-container-high text-on-surface-variant"}`,
1746
- children: a
1766
+ className: `text-[11px] font-semibold px-1.5 py-0.5 rounded-full leading-none ${h ? "bg-zeo-orange text-white" : "bg-surface-container-high text-on-surface-variant"}`,
1767
+ children: o
1747
1768
  }
1748
1769
  )
1749
1770
  ]
1750
1771
  }
1751
1772
  );
1752
1773
  }
1753
- function Zt({ value: e, children: r, className: n = "", stretch: a = !1 }) {
1754
- const { active: o } = q();
1755
- return o !== e ? null : /* @__PURE__ */ t(
1774
+ function dr({ value: e, children: r, className: n = "", stretch: o = !1 }) {
1775
+ const { active: a } = q();
1776
+ return a !== e ? null : /* @__PURE__ */ t(
1756
1777
  "div",
1757
1778
  {
1758
1779
  role: "tabpanel",
1759
- className: [a ? "flex-1" : "", n].filter(Boolean).join(" "),
1780
+ className: [o ? "flex-1" : "", n].filter(Boolean).join(" "),
1760
1781
  children: r
1761
1782
  }
1762
1783
  );
1763
1784
  }
1764
- const ot = {
1785
+ const at = {
1765
1786
  top: {
1766
1787
  wrapper: "bottom-full left-1/2 -translate-x-1/2 mb-2",
1767
1788
  arrow: "top-full left-1/2 -translate-x-1/2 border-t-4 border-x-4 border-x-transparent border-b-0"
@@ -1782,17 +1803,17 @@ const ot = {
1782
1803
  dark: { tooltip: "bg-tooltip text-white", arrow: "border-t-tooltip border-r-tooltip border-b-tooltip border-l-tooltip" },
1783
1804
  light: { tooltip: "bg-surface-container-lowest text-on-surface border border-surface-container-high shadow-theme-lg", arrow: "border-t-surface-container-lowest border-r-surface-container-lowest border-b-surface-container-lowest border-l-surface-container-lowest" }
1784
1805
  };
1785
- function Qt({
1806
+ function ur({
1786
1807
  content: e,
1787
1808
  position: r = "top",
1788
1809
  variant: n = "dark",
1789
- children: a,
1790
- className: o = "",
1810
+ children: o,
1811
+ className: a = "",
1791
1812
  ...s
1792
1813
  }) {
1793
- const l = ot[r], c = st[n];
1794
- return /* @__PURE__ */ i("div", { className: ["relative inline-flex group", o].filter(Boolean).join(" "), ...s, children: [
1795
- a,
1814
+ const l = at[r], c = st[n];
1815
+ return /* @__PURE__ */ i("div", { className: ["relative inline-flex group", a].filter(Boolean).join(" "), ...s, children: [
1816
+ o,
1796
1817
  /* @__PURE__ */ i(
1797
1818
  "div",
1798
1819
  {
@@ -1814,64 +1835,80 @@ function Qt({
1814
1835
  }
1815
1836
  export {
1816
1837
  ut as Alert,
1817
- zt as AppNavbar,
1818
- Ct as AppShellLayout,
1819
- Bt as AppSidebar,
1820
- P as Avatar,
1821
- ft as Badge,
1822
- mt as Breadcrumb,
1823
- Me as Button,
1838
+ Ft as AppNavbar,
1839
+ Dt as AppShellLayout,
1840
+ Ot as AppSidebar,
1841
+ X as Avatar,
1842
+ ht as Badge,
1843
+ kt as BarraMacicaIcon,
1844
+ ft as Breadcrumb,
1845
+ ze as Button,
1824
1846
  pt as ButtonGroup,
1825
- ht as Card,
1847
+ mt as Card,
1826
1848
  bt as CardFooter,
1827
1849
  xt as CardHeader,
1828
- Re as Checkbox,
1850
+ Se as Checkbox,
1829
1851
  gt as Dropdown,
1830
- Et as HelpMenu,
1831
- N as Icon,
1832
- Ge as Input,
1833
- St as MODULE_CATALOG,
1834
- wt as Modal,
1835
- yt as ModalBody,
1836
- Nt as ModalFooter,
1837
- vt as ModalHeader,
1852
+ Ct as DuplaTIcon,
1853
+ Yt as HelpMenu,
1854
+ k as Icon,
1855
+ Ue as Input,
1856
+ Bt as LinhaL1Icon,
1857
+ jt as LinhaLIcon,
1858
+ Lt as LinhaTIcon,
1859
+ Mt as LinhaTsIcon,
1860
+ Jt as MODULE_CATALOG,
1861
+ Et as Modal,
1862
+ St as ModalBody,
1863
+ Rt as ModalFooter,
1864
+ Wt as ModalHeader,
1838
1865
  se as NavbarIconButton,
1839
- _t as NavbarSearch,
1840
- Lt as NavbarTitle,
1841
- Tt as NotificationsBell,
1842
- kt as Pagination,
1843
- Ke as PosteIcon,
1844
- jt as ProgressBar,
1845
- De as RadierIcon,
1846
- Fe as Radio,
1866
+ Ut as NavbarSearch,
1867
+ Kt as NavbarTitle,
1868
+ Gt as NotificationsBell,
1869
+ Nt as OmegaIcon,
1870
+ Ht as Pagination,
1871
+ yt as PerfilIIcon,
1872
+ vt as PerfilLIcon,
1873
+ wt as PerfilUIcon,
1874
+ Oe as PosteIcon,
1875
+ Vt as ProgressBar,
1876
+ _t as PuncaoBordaIcon,
1877
+ $t as PuncaoCantoIcon,
1878
+ At as PuncaoCircularIcon,
1879
+ zt as PuncaoInternoIcon,
1880
+ Ve as RadierIcon,
1881
+ Re as Radio,
1847
1882
  Ae as Select,
1848
- oe as SidebarItem,
1849
- Je as SidebarSection,
1850
- Ft as Spinner,
1851
- Ve as Switch,
1852
- W as THEME_ATTRIBUTE,
1853
- Mt as THEME_INIT_SCRIPT,
1854
- U as THEME_STORAGE_KEY,
1855
- qt as Tab,
1856
- Ot as TabList,
1857
- Zt as TabPanel,
1858
- Vt as Table,
1859
- Ht as TableBody,
1860
- Wt as TableCell,
1861
- Dt as TableHead,
1862
- Ut as TableHeaderCell,
1863
- Kt as TableRow,
1864
- Gt as Tabs,
1883
+ ae as SidebarItem,
1884
+ Ye as SidebarSection,
1885
+ er as Spinner,
1886
+ He as Switch,
1887
+ K as THEME_ATTRIBUTE,
1888
+ qt as THEME_INIT_SCRIPT,
1889
+ F as THEME_STORAGE_KEY,
1890
+ cr as Tab,
1891
+ lr as TabList,
1892
+ dr as TabPanel,
1893
+ tr as Table,
1894
+ nr as TableBody,
1895
+ sr as TableCell,
1896
+ rr as TableHead,
1897
+ ar as TableHeaderCell,
1898
+ or as TableRow,
1899
+ ir as Tabs,
1865
1900
  Ee as Textarea,
1866
- It as ThemeProvider,
1867
- Qt as Tooltip,
1868
- He as TubulaoIcon,
1869
- At as UserMenu,
1870
- Pe as applyTheme,
1871
- Xt as colorTokens,
1872
- Xe as localStorageThemeStorage,
1873
- Rt as resolveModuleAccess,
1874
- Pt as shadowTokens,
1901
+ Pt as ThemeProvider,
1902
+ ur as Tooltip,
1903
+ It as TuboRedondoIcon,
1904
+ Tt as TuboRetangularIcon,
1905
+ De as TubulaoIcon,
1906
+ Qt as UserMenu,
1907
+ Xe as applyTheme,
1908
+ pr as colorTokens,
1909
+ Je as localStorageThemeStorage,
1910
+ Xt as resolveModuleAccess,
1911
+ mr as shadowTokens,
1875
1912
  ie as useDismiss,
1876
- $t as useTheme
1913
+ Zt as useTheme
1877
1914
  };