analytica-frontend-lib 1.2.22 → 1.2.23

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.
Files changed (39) hide show
  1. package/dist/AlertManager/index.css +20 -0
  2. package/dist/AlertManager/index.css.map +1 -1
  3. package/dist/AlertManagerView/index.js +149 -114
  4. package/dist/AlertManagerView/index.js.map +1 -1
  5. package/dist/AlertManagerView/index.mjs +149 -114
  6. package/dist/AlertManagerView/index.mjs.map +1 -1
  7. package/dist/EmptyState/index.d.mts +65 -0
  8. package/dist/EmptyState/index.d.ts +65 -0
  9. package/dist/EmptyState/index.js +185 -0
  10. package/dist/EmptyState/index.js.map +1 -0
  11. package/dist/EmptyState/index.mjs +162 -0
  12. package/dist/EmptyState/index.mjs.map +1 -0
  13. package/dist/Table/index.d.mts +1 -1
  14. package/dist/Table/index.d.ts +1 -1
  15. package/dist/Table/index.js +124 -89
  16. package/dist/Table/index.js.map +1 -1
  17. package/dist/Table/index.mjs +124 -89
  18. package/dist/Table/index.mjs.map +1 -1
  19. package/dist/TableProvider/index.css +20 -0
  20. package/dist/TableProvider/index.css.map +1 -1
  21. package/dist/TableProvider/index.d.mts +1 -1
  22. package/dist/TableProvider/index.d.ts +1 -1
  23. package/dist/TableProvider/index.js +484 -449
  24. package/dist/TableProvider/index.js.map +1 -1
  25. package/dist/TableProvider/index.mjs +484 -449
  26. package/dist/TableProvider/index.mjs.map +1 -1
  27. package/dist/{TableProvider-DyhwEkPT.d.mts → TableProvider-BnAnv3OV.d.mts} +12 -4
  28. package/dist/{TableProvider-48a6wb7j.d.ts → TableProvider-GfPlLqzg.d.ts} +12 -4
  29. package/dist/index.css +20 -0
  30. package/dist/index.css.map +1 -1
  31. package/dist/index.d.mts +3 -2
  32. package/dist/index.d.ts +3 -2
  33. package/dist/index.js +1041 -1004
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +1040 -1004
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/styles.css +20 -0
  38. package/dist/styles.css.map +1 -1
  39. package/package.json +2 -1
@@ -156,9 +156,52 @@ var Button = ({
156
156
  };
157
157
  var Button_default = Button;
158
158
 
159
+ // src/components/EmptyState/EmptyState.tsx
160
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
161
+ var EmptyState = ({
162
+ image,
163
+ title,
164
+ description,
165
+ buttonText,
166
+ buttonIcon,
167
+ onButtonClick,
168
+ buttonVariant = "solid",
169
+ buttonAction = "primary"
170
+ }) => {
171
+ const displayTitle = title || "Nenhum dado dispon\xEDvel";
172
+ const displayDescription = description || "N\xE3o h\xE1 dados para exibir no momento.";
173
+ return /* @__PURE__ */ jsxs3("div", { className: "flex flex-col justify-center items-center gap-6 w-full min-h-[705px] bg-background rounded-xl p-6", children: [
174
+ image && /* @__PURE__ */ jsx4("img", { src: image, alt: displayTitle, className: "w-[170px] h-[150px]" }),
175
+ /* @__PURE__ */ jsxs3("div", { className: "flex flex-col items-center gap-4 w-full max-w-[600px] px-6", children: [
176
+ /* @__PURE__ */ jsx4(
177
+ Text_default,
178
+ {
179
+ as: "h2",
180
+ className: "text-text-950 font-semibold text-3xl leading-[35px] text-center",
181
+ children: displayTitle
182
+ }
183
+ ),
184
+ /* @__PURE__ */ jsx4(Text_default, { className: "text-text-600 font-normal text-[18px] leading-[27px] text-center", children: displayDescription })
185
+ ] }),
186
+ buttonText && onButtonClick && /* @__PURE__ */ jsx4(
187
+ Button_default,
188
+ {
189
+ variant: buttonVariant,
190
+ action: buttonAction,
191
+ size: "large",
192
+ onClick: onButtonClick,
193
+ iconLeft: buttonIcon,
194
+ className: "rounded-full px-5 py-2.5",
195
+ children: buttonText
196
+ }
197
+ )
198
+ ] });
199
+ };
200
+ var EmptyState_default = EmptyState;
201
+
159
202
  // src/components/Skeleton/Skeleton.tsx
160
203
  import { forwardRef } from "react";
161
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
204
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
162
205
  var SKELETON_ANIMATION_CLASSES = {
163
206
  pulse: "animate-pulse",
164
207
  none: ""
@@ -195,13 +238,13 @@ var Skeleton = forwardRef(
195
238
  height: typeof height === "number" ? `${height}px` : height
196
239
  };
197
240
  if (variant === "text" && lines > 1) {
198
- return /* @__PURE__ */ jsx4(
241
+ return /* @__PURE__ */ jsx5(
199
242
  "div",
200
243
  {
201
244
  ref,
202
245
  className: cn("flex flex-col", spacingClass, className),
203
246
  ...props,
204
- children: Array.from({ length: lines }, (_, index) => /* @__PURE__ */ jsx4(
247
+ children: Array.from({ length: lines }, (_, index) => /* @__PURE__ */ jsx5(
205
248
  "div",
206
249
  {
207
250
  className: cn(variantClass, animationClass),
@@ -212,7 +255,7 @@ var Skeleton = forwardRef(
212
255
  }
213
256
  );
214
257
  }
215
- return /* @__PURE__ */ jsx4(
258
+ return /* @__PURE__ */ jsx5(
216
259
  "div",
217
260
  {
218
261
  ref,
@@ -225,11 +268,11 @@ var Skeleton = forwardRef(
225
268
  }
226
269
  );
227
270
  var SkeletonText = forwardRef(
228
- (props, ref) => /* @__PURE__ */ jsx4(Skeleton, { ref, variant: "text", ...props })
271
+ (props, ref) => /* @__PURE__ */ jsx5(Skeleton, { ref, variant: "text", ...props })
229
272
  );
230
- var SkeletonCircle = forwardRef((props, ref) => /* @__PURE__ */ jsx4(Skeleton, { ref, variant: "circular", ...props }));
231
- var SkeletonRectangle = forwardRef((props, ref) => /* @__PURE__ */ jsx4(Skeleton, { ref, variant: "rectangular", ...props }));
232
- var SkeletonRounded = forwardRef((props, ref) => /* @__PURE__ */ jsx4(Skeleton, { ref, variant: "rounded", ...props }));
273
+ var SkeletonCircle = forwardRef((props, ref) => /* @__PURE__ */ jsx5(Skeleton, { ref, variant: "circular", ...props }));
274
+ var SkeletonRectangle = forwardRef((props, ref) => /* @__PURE__ */ jsx5(Skeleton, { ref, variant: "rectangular", ...props }));
275
+ var SkeletonRounded = forwardRef((props, ref) => /* @__PURE__ */ jsx5(Skeleton, { ref, variant: "rounded", ...props }));
233
276
  var SkeletonCard = forwardRef(
234
277
  ({
235
278
  showAvatar = true,
@@ -240,7 +283,7 @@ var SkeletonCard = forwardRef(
240
283
  className = "",
241
284
  ...props
242
285
  }, ref) => {
243
- return /* @__PURE__ */ jsxs3(
286
+ return /* @__PURE__ */ jsxs4(
244
287
  "div",
245
288
  {
246
289
  ref,
@@ -250,16 +293,16 @@ var SkeletonCard = forwardRef(
250
293
  ),
251
294
  ...props,
252
295
  children: [
253
- /* @__PURE__ */ jsxs3("div", { className: "flex items-start space-x-3", children: [
254
- showAvatar && /* @__PURE__ */ jsx4(SkeletonCircle, { width: 40, height: 40 }),
255
- /* @__PURE__ */ jsxs3("div", { className: "flex-1 space-y-2", children: [
256
- showTitle && /* @__PURE__ */ jsx4(SkeletonText, { width: "60%", height: 20 }),
257
- showDescription && /* @__PURE__ */ jsx4(SkeletonText, { lines, spacing: "small" })
296
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-start space-x-3", children: [
297
+ showAvatar && /* @__PURE__ */ jsx5(SkeletonCircle, { width: 40, height: 40 }),
298
+ /* @__PURE__ */ jsxs4("div", { className: "flex-1 space-y-2", children: [
299
+ showTitle && /* @__PURE__ */ jsx5(SkeletonText, { width: "60%", height: 20 }),
300
+ showDescription && /* @__PURE__ */ jsx5(SkeletonText, { lines, spacing: "small" })
258
301
  ] })
259
302
  ] }),
260
- showActions && /* @__PURE__ */ jsxs3("div", { className: "flex justify-end space-x-2 mt-4", children: [
261
- /* @__PURE__ */ jsx4(SkeletonRectangle, { width: 80, height: 32 }),
262
- /* @__PURE__ */ jsx4(SkeletonRectangle, { width: 80, height: 32 })
303
+ showActions && /* @__PURE__ */ jsxs4("div", { className: "flex justify-end space-x-2 mt-4", children: [
304
+ /* @__PURE__ */ jsx5(SkeletonRectangle, { width: 80, height: 32 }),
305
+ /* @__PURE__ */ jsx5(SkeletonRectangle, { width: 80, height: 32 })
263
306
  ] })
264
307
  ]
265
308
  }
@@ -276,19 +319,19 @@ var SkeletonList = forwardRef(
276
319
  className = "",
277
320
  ...props
278
321
  }, ref) => {
279
- return /* @__PURE__ */ jsx4("div", { ref, className: cn("space-y-3", className), ...props, children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ jsxs3("div", { className: "flex items-start space-x-3 p-3", children: [
280
- showAvatar && /* @__PURE__ */ jsx4(SkeletonCircle, { width: 32, height: 32 }),
281
- /* @__PURE__ */ jsxs3("div", { className: "flex-1 space-y-2", children: [
282
- showTitle && /* @__PURE__ */ jsx4(SkeletonText, { width: "40%", height: 16 }),
283
- showDescription && /* @__PURE__ */ jsx4(SkeletonText, { lines, spacing: "small" })
322
+ return /* @__PURE__ */ jsx5("div", { ref, className: cn("space-y-3", className), ...props, children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ jsxs4("div", { className: "flex items-start space-x-3 p-3", children: [
323
+ showAvatar && /* @__PURE__ */ jsx5(SkeletonCircle, { width: 32, height: 32 }),
324
+ /* @__PURE__ */ jsxs4("div", { className: "flex-1 space-y-2", children: [
325
+ showTitle && /* @__PURE__ */ jsx5(SkeletonText, { width: "40%", height: 16 }),
326
+ showDescription && /* @__PURE__ */ jsx5(SkeletonText, { lines, spacing: "small" })
284
327
  ] })
285
328
  ] }, index)) });
286
329
  }
287
330
  );
288
331
  var SkeletonTable = forwardRef(
289
332
  ({ rows = 5, columns = 4, showHeader = true, className = "", ...props }, ref) => {
290
- return /* @__PURE__ */ jsxs3("div", { ref, className: cn("w-full", className), ...props, children: [
291
- showHeader && /* @__PURE__ */ jsx4("div", { className: "flex space-x-2 mb-3", children: Array.from({ length: columns }, (_, index) => /* @__PURE__ */ jsx4(
333
+ return /* @__PURE__ */ jsxs4("div", { ref, className: cn("w-full", className), ...props, children: [
334
+ showHeader && /* @__PURE__ */ jsx5("div", { className: "flex space-x-2 mb-3", children: Array.from({ length: columns }, (_, index) => /* @__PURE__ */ jsx5(
292
335
  SkeletonText,
293
336
  {
294
337
  width: `${100 / columns}%`,
@@ -296,7 +339,7 @@ var SkeletonTable = forwardRef(
296
339
  },
297
340
  index
298
341
  )) }),
299
- /* @__PURE__ */ jsx4("div", { className: "space-y-2", children: Array.from({ length: rows }, (_, rowIndex) => /* @__PURE__ */ jsx4("div", { className: "flex space-x-2", children: Array.from({ length: columns }, (_2, colIndex) => /* @__PURE__ */ jsx4(
342
+ /* @__PURE__ */ jsx5("div", { className: "space-y-2", children: Array.from({ length: rows }, (_, rowIndex) => /* @__PURE__ */ jsx5("div", { className: "flex space-x-2", children: Array.from({ length: columns }, (_2, colIndex) => /* @__PURE__ */ jsx5(
300
343
  SkeletonText,
301
344
  {
302
345
  width: `${100 / columns}%`,
@@ -310,7 +353,7 @@ var SkeletonTable = forwardRef(
310
353
 
311
354
  // src/components/Table/TablePagination.tsx
312
355
  import { CaretLeft, CaretRight, CaretDown } from "phosphor-react";
313
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
356
+ import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
314
357
  var TablePagination = ({
315
358
  totalItems,
316
359
  currentPage,
@@ -341,7 +384,7 @@ var TablePagination = ({
341
384
  };
342
385
  const isFirstPage = currentPage === 1;
343
386
  const isLastPage = currentPage === totalPages;
344
- return /* @__PURE__ */ jsxs4(
387
+ return /* @__PURE__ */ jsxs5(
345
388
  "div",
346
389
  {
347
390
  className: cn(
@@ -351,29 +394,29 @@ var TablePagination = ({
351
394
  ),
352
395
  ...props,
353
396
  children: [
354
- /* @__PURE__ */ jsxs4("span", { className: "font-normal text-xs leading-[14px] text-text-800", children: [
397
+ /* @__PURE__ */ jsxs5("span", { className: "font-normal text-xs leading-[14px] text-text-800", children: [
355
398
  startItem,
356
399
  " de ",
357
400
  totalItems,
358
401
  " ",
359
402
  itemLabel
360
403
  ] }),
361
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-wrap sm:flex-nowrap items-center gap-2 sm:gap-4 justify-center sm:justify-start", children: [
362
- onItemsPerPageChange && /* @__PURE__ */ jsxs4("div", { className: "relative", children: [
363
- /* @__PURE__ */ jsx5(
404
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap sm:flex-nowrap items-center gap-2 sm:gap-4 justify-center sm:justify-start", children: [
405
+ onItemsPerPageChange && /* @__PURE__ */ jsxs5("div", { className: "relative", children: [
406
+ /* @__PURE__ */ jsx6(
364
407
  "select",
365
408
  {
366
409
  value: itemsPerPage,
367
410
  onChange: handleItemsPerPageChange,
368
411
  className: "w-24 h-9 py-0 px-3 pr-8 bg-background border border-border-300 rounded appearance-none cursor-pointer font-normal text-sm leading-[21px] text-text-900",
369
412
  "aria-label": "Items por p\xE1gina",
370
- children: itemsPerPageOptions.map((option) => /* @__PURE__ */ jsxs4("option", { value: option, children: [
413
+ children: itemsPerPageOptions.map((option) => /* @__PURE__ */ jsxs5("option", { value: option, children: [
371
414
  option,
372
415
  " itens"
373
416
  ] }, option))
374
417
  }
375
418
  ),
376
- /* @__PURE__ */ jsx5(
419
+ /* @__PURE__ */ jsx6(
377
420
  CaretDown,
378
421
  {
379
422
  size: 14,
@@ -382,13 +425,13 @@ var TablePagination = ({
382
425
  }
383
426
  )
384
427
  ] }),
385
- /* @__PURE__ */ jsxs4("span", { className: "font-normal text-xs leading-[14px] text-text-950", children: [
428
+ /* @__PURE__ */ jsxs5("span", { className: "font-normal text-xs leading-[14px] text-text-950", children: [
386
429
  "P\xE1gina ",
387
430
  currentPage,
388
431
  " de ",
389
432
  totalPages
390
433
  ] }),
391
- /* @__PURE__ */ jsxs4(
434
+ /* @__PURE__ */ jsxs5(
392
435
  "button",
393
436
  {
394
437
  onClick: handlePrevious,
@@ -399,12 +442,12 @@ var TablePagination = ({
399
442
  ),
400
443
  "aria-label": "P\xE1gina anterior",
401
444
  children: [
402
- /* @__PURE__ */ jsx5(CaretLeft, { size: 12, weight: "bold", className: "text-primary-950" }),
403
- /* @__PURE__ */ jsx5("span", { className: "font-medium text-xs leading-[14px] text-primary-950", children: "Anterior" })
445
+ /* @__PURE__ */ jsx6(CaretLeft, { size: 12, weight: "bold", className: "text-primary-950" }),
446
+ /* @__PURE__ */ jsx6("span", { className: "font-medium text-xs leading-[14px] text-primary-950", children: "Anterior" })
404
447
  ]
405
448
  }
406
449
  ),
407
- /* @__PURE__ */ jsxs4(
450
+ /* @__PURE__ */ jsxs5(
408
451
  "button",
409
452
  {
410
453
  onClick: handleNext,
@@ -415,8 +458,8 @@ var TablePagination = ({
415
458
  ),
416
459
  "aria-label": "Pr\xF3xima p\xE1gina",
417
460
  children: [
418
- /* @__PURE__ */ jsx5("span", { className: "font-medium text-xs leading-[14px] text-primary-950", children: "Pr\xF3xima" }),
419
- /* @__PURE__ */ jsx5(CaretRight, { size: 12, weight: "bold", className: "text-primary-950" })
461
+ /* @__PURE__ */ jsx6("span", { className: "font-medium text-xs leading-[14px] text-primary-950", children: "Pr\xF3xima" }),
462
+ /* @__PURE__ */ jsx6(CaretRight, { size: 12, weight: "bold", className: "text-primary-950" })
420
463
  ]
421
464
  }
422
465
  )
@@ -429,7 +472,7 @@ TablePagination.displayName = "TablePagination";
429
472
  var TablePagination_default = TablePagination;
430
473
 
431
474
  // src/components/Table/Table.tsx
432
- import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
475
+ import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
433
476
  function useTableSort(data, options = {}) {
434
477
  const { syncWithUrl = false } = options;
435
478
  const getInitialState = () => {
@@ -512,7 +555,7 @@ var getNoSearchResultContent = (config, defaultTitle, defaultDescription) => {
512
555
  return config.component;
513
556
  }
514
557
  if (config.image) {
515
- return /* @__PURE__ */ jsx6(
558
+ return /* @__PURE__ */ jsx7(
516
559
  NoSearchResult_default,
517
560
  {
518
561
  image: config.image,
@@ -521,39 +564,31 @@ var getNoSearchResultContent = (config, defaultTitle, defaultDescription) => {
521
564
  }
522
565
  );
523
566
  }
524
- return /* @__PURE__ */ jsxs5("div", { className: "text-center", children: [
525
- /* @__PURE__ */ jsx6("p", { className: "text-text-600 text-lg font-semibold mb-2", children: config.title || defaultTitle }),
526
- /* @__PURE__ */ jsx6("p", { className: "text-text-500 text-sm", children: config.description || defaultDescription })
567
+ return /* @__PURE__ */ jsxs6("div", { className: "text-center", children: [
568
+ /* @__PURE__ */ jsx7("p", { className: "text-text-600 text-lg font-semibold mb-2", children: config.title || defaultTitle }),
569
+ /* @__PURE__ */ jsx7("p", { className: "text-text-500 text-sm", children: config.description || defaultDescription })
527
570
  ] });
528
571
  };
529
- var getEmptyStateContent = (config, defaultMessage, defaultButtonText, onButtonClick) => {
572
+ var getEmptyStateContent = (config, defaultTitle, defaultDescription) => {
530
573
  if (config?.component) {
531
574
  return config.component;
532
575
  }
533
- return /* @__PURE__ */ jsxs5("div", { className: "flex flex-col items-center justify-center gap-4", children: [
534
- config?.image && /* @__PURE__ */ jsx6(
535
- "img",
536
- {
537
- src: config.image,
538
- alt: "Empty state",
539
- className: "w-auto h-auto max-w-full"
540
- }
541
- ),
542
- /* @__PURE__ */ jsx6("p", { className: "text-text-600 text-base font-normal", children: config?.message || defaultMessage }),
543
- (config?.onButtonClick || onButtonClick) && /* @__PURE__ */ jsx6(
544
- Button_default,
545
- {
546
- variant: "solid",
547
- action: "primary",
548
- size: "medium",
549
- onClick: config?.onButtonClick || onButtonClick,
550
- children: config?.buttonText || defaultButtonText
551
- }
552
- )
553
- ] });
576
+ return /* @__PURE__ */ jsx7(
577
+ EmptyState_default,
578
+ {
579
+ image: config?.image,
580
+ title: config?.title || defaultTitle,
581
+ description: config?.description || defaultDescription,
582
+ buttonText: config?.buttonText,
583
+ buttonIcon: config?.buttonIcon,
584
+ onButtonClick: config?.onButtonClick,
585
+ buttonVariant: config?.buttonVariant,
586
+ buttonAction: config?.buttonAction
587
+ }
588
+ );
554
589
  };
555
590
  var renderTableWrapper = (variant, tableRef, className, children, stateContent, tableProps) => {
556
- return /* @__PURE__ */ jsxs5(
591
+ return /* @__PURE__ */ jsxs6(
557
592
  "div",
558
593
  {
559
594
  className: cn(
@@ -561,7 +596,7 @@ var renderTableWrapper = (variant, tableRef, className, children, stateContent,
561
596
  variant === "default" && "border border-border-200 rounded-xl"
562
597
  ),
563
598
  children: [
564
- /* @__PURE__ */ jsx6(
599
+ /* @__PURE__ */ jsx7(
565
600
  "table",
566
601
  {
567
602
  ref: tableRef,
@@ -573,7 +608,7 @@ var renderTableWrapper = (variant, tableRef, className, children, stateContent,
573
608
  children: renderHeaderElements(children)
574
609
  }
575
610
  ),
576
- /* @__PURE__ */ jsx6("div", { className: "py-8 flex justify-center", children: stateContent })
611
+ /* @__PURE__ */ jsx7("div", { className: "py-8 flex justify-center", children: stateContent })
577
612
  ]
578
613
  }
579
614
  );
@@ -596,13 +631,13 @@ var Table = forwardRef2(
596
631
  description: "N\xE3o encontramos nenhum resultado com esse nome. Tente revisar a busca ou usar outra palavra-chave."
597
632
  };
598
633
  const defaultEmptyState = {
599
- message: "Nenhum dado dispon\xEDvel no momento.",
600
- buttonText: "Adicionar item"
634
+ title: "Nenhum dado dispon\xEDvel",
635
+ description: "N\xE3o h\xE1 dados para exibir no momento."
601
636
  };
602
637
  const finalNoSearchResultState = noSearchResultState || defaultNoSearchResultState;
603
638
  const finalEmptyState = emptyState || defaultEmptyState;
604
639
  if (showLoading) {
605
- const loadingContent = loadingState?.component || /* @__PURE__ */ jsx6(SkeletonTable, { rows: 5, columns: 4, showHeader: false });
640
+ const loadingContent = loadingState?.component || /* @__PURE__ */ jsx7(SkeletonTable, { rows: 5, columns: 4, showHeader: false });
606
641
  return renderTableWrapper(
607
642
  variant,
608
643
  ref,
@@ -630,8 +665,8 @@ var Table = forwardRef2(
630
665
  if (showEmpty) {
631
666
  const emptyContent = getEmptyStateContent(
632
667
  finalEmptyState,
633
- defaultEmptyState.message || "Nenhum dado dispon\xEDvel no momento.",
634
- defaultEmptyState.buttonText || "Adicionar item"
668
+ defaultEmptyState.title || "Nenhum dado dispon\xEDvel",
669
+ defaultEmptyState.description || "N\xE3o h\xE1 dados para exibir no momento."
635
670
  );
636
671
  return renderTableWrapper(
637
672
  variant,
@@ -642,14 +677,14 @@ var Table = forwardRef2(
642
677
  props
643
678
  );
644
679
  }
645
- return /* @__PURE__ */ jsx6(
680
+ return /* @__PURE__ */ jsx7(
646
681
  "div",
647
682
  {
648
683
  className: cn(
649
684
  "relative w-full overflow-x-auto",
650
685
  variant === "default" && "border border-border-200 rounded-xl"
651
686
  ),
652
- children: /* @__PURE__ */ jsxs5(
687
+ children: /* @__PURE__ */ jsxs6(
653
688
  "table",
654
689
  {
655
690
  ref,
@@ -663,7 +698,7 @@ var Table = forwardRef2(
663
698
  children: [
664
699
  !Children.toArray(children).some(
665
700
  (child) => isValidElement(child) && child.type === TableCaption
666
- ) && /* @__PURE__ */ jsx6("caption", { className: "sr-only", children: "My Table" }),
701
+ ) && /* @__PURE__ */ jsx7("caption", { className: "sr-only", children: "My Table" }),
667
702
  children
668
703
  ]
669
704
  }
@@ -673,7 +708,7 @@ var Table = forwardRef2(
673
708
  }
674
709
  );
675
710
  Table.displayName = "Table";
676
- var TableHeader = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ jsx6(
711
+ var TableHeader = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ jsx7(
677
712
  "thead",
678
713
  {
679
714
  ref,
@@ -683,7 +718,7 @@ var TableHeader = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */
683
718
  ));
684
719
  TableHeader.displayName = "TableHeader";
685
720
  var TableBody = forwardRef2(
686
- ({ className, variant = "default", ...props }, ref) => /* @__PURE__ */ jsx6(
721
+ ({ className, variant = "default", ...props }, ref) => /* @__PURE__ */ jsx7(
687
722
  "tbody",
688
723
  {
689
724
  ref,
@@ -698,7 +733,7 @@ var TableBody = forwardRef2(
698
733
  );
699
734
  TableBody.displayName = "TableBody";
700
735
  var TableFooter = forwardRef2(
701
- ({ variant = "default", className, ...props }, ref) => /* @__PURE__ */ jsx6(
736
+ ({ variant = "default", className, ...props }, ref) => /* @__PURE__ */ jsx7(
702
737
  "tfoot",
703
738
  {
704
739
  ref,
@@ -742,7 +777,7 @@ var TableRow = forwardRef2(
742
777
  className,
743
778
  ...props
744
779
  }, ref) => {
745
- return /* @__PURE__ */ jsx6(
780
+ return /* @__PURE__ */ jsx7(
746
781
  "tr",
747
782
  {
748
783
  ref,
@@ -774,7 +809,7 @@ var TableHead = forwardRef2(
774
809
  onSort();
775
810
  }
776
811
  };
777
- return /* @__PURE__ */ jsx6(
812
+ return /* @__PURE__ */ jsx7(
778
813
  "th",
779
814
  {
780
815
  ref,
@@ -785,11 +820,11 @@ var TableHead = forwardRef2(
785
820
  ),
786
821
  onClick: handleClick,
787
822
  ...props,
788
- children: /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
823
+ children: /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-2", children: [
789
824
  children,
790
- sortable && /* @__PURE__ */ jsxs5("div", { className: "flex flex-col", children: [
791
- sortDirection === "asc" && /* @__PURE__ */ jsx6(CaretUp, { size: 16, weight: "fill", className: "text-text-800" }),
792
- sortDirection === "desc" && /* @__PURE__ */ jsx6(CaretDown2, { size: 16, weight: "fill", className: "text-text-800" })
825
+ sortable && /* @__PURE__ */ jsxs6("div", { className: "flex flex-col", children: [
826
+ sortDirection === "asc" && /* @__PURE__ */ jsx7(CaretUp, { size: 16, weight: "fill", className: "text-text-800" }),
827
+ sortDirection === "desc" && /* @__PURE__ */ jsx7(CaretDown2, { size: 16, weight: "fill", className: "text-text-800" })
793
828
  ] })
794
829
  ] })
795
830
  }
@@ -797,7 +832,7 @@ var TableHead = forwardRef2(
797
832
  }
798
833
  );
799
834
  TableHead.displayName = "TableHead";
800
- var TableCell = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ jsx6(
835
+ var TableCell = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ jsx7(
801
836
  "td",
802
837
  {
803
838
  ref,
@@ -809,7 +844,7 @@ var TableCell = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ js
809
844
  }
810
845
  ));
811
846
  TableCell.displayName = "TableCell";
812
- var TableCaption = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ jsx6(
847
+ var TableCaption = forwardRef2(({ className, ...props }, ref) => /* @__PURE__ */ jsx7(
813
848
  "caption",
814
849
  {
815
850
  ref,