@deepnoid/ui 0.1.182 → 0.1.183

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 (79) hide show
  1. package/.turbo/turbo-build.log +153 -153
  2. package/dist/{chunk-SX2FQY4L.mjs → chunk-2H5EBNCD.mjs} +4 -4
  3. package/dist/{chunk-6NO7GQHG.mjs → chunk-4SDPS5R2.mjs} +1 -1
  4. package/dist/{chunk-XZTVXEOD.mjs → chunk-7C7RHDHV.mjs} +4 -4
  5. package/dist/{chunk-KDBM7UVG.mjs → chunk-GG7QANQF.mjs} +1 -1
  6. package/dist/{chunk-W67QZ4OB.mjs → chunk-MU6QDNYC.mjs} +1 -1
  7. package/dist/{chunk-GPJVGQ5W.mjs → chunk-NPVMCUZ4.mjs} +2 -2
  8. package/dist/{chunk-M5ZLURXE.mjs → chunk-Q2AFTLDT.mjs} +2 -2
  9. package/dist/{chunk-YTW5HJJH.mjs → chunk-VRHMQMRO.mjs} +115 -36
  10. package/dist/components/backdrop/backdrop.mjs +2 -2
  11. package/dist/components/backdrop/index.mjs +2 -2
  12. package/dist/components/breadcrumb/breadcrumb.mjs +4 -4
  13. package/dist/components/breadcrumb/index.mjs +4 -4
  14. package/dist/components/button/button.mjs +1 -1
  15. package/dist/components/button/icon-button.mjs +1 -1
  16. package/dist/components/button/index.mjs +3 -3
  17. package/dist/components/button/text-button.mjs +2 -2
  18. package/dist/components/charts/areaChart.mjs +1 -1
  19. package/dist/components/charts/index.mjs +1 -1
  20. package/dist/components/checkbox/checkbox.mjs +2 -2
  21. package/dist/components/checkbox/index.mjs +2 -2
  22. package/dist/components/chip/chip.mjs +1 -1
  23. package/dist/components/chip/index.mjs +1 -1
  24. package/dist/components/drawer/drawer.mjs +2 -2
  25. package/dist/components/drawer/index.mjs +2 -2
  26. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  27. package/dist/components/fileUpload/index.mjs +6 -6
  28. package/dist/components/input/index.mjs +3 -3
  29. package/dist/components/input/input.mjs +3 -3
  30. package/dist/components/list/index.mjs +2 -2
  31. package/dist/components/list/listItem.mjs +2 -2
  32. package/dist/components/modal/index.mjs +5 -5
  33. package/dist/components/modal/modal.mjs +5 -5
  34. package/dist/components/pagination/index.mjs +4 -4
  35. package/dist/components/pagination/pagination.mjs +4 -4
  36. package/dist/components/picker/datePicker.mjs +5 -5
  37. package/dist/components/picker/index.mjs +7 -7
  38. package/dist/components/picker/timePicker.mjs +4 -4
  39. package/dist/components/progress/index.mjs +2 -2
  40. package/dist/components/progress/progress.mjs +2 -2
  41. package/dist/components/radio/index.mjs +2 -2
  42. package/dist/components/radio/radio.mjs +2 -2
  43. package/dist/components/select/index.mjs +3 -3
  44. package/dist/components/select/select.mjs +3 -3
  45. package/dist/components/starRating/index.mjs +1 -1
  46. package/dist/components/starRating/starRating.mjs +1 -1
  47. package/dist/components/table/definition-table.mjs +2 -2
  48. package/dist/components/table/index.js +144 -65
  49. package/dist/components/table/index.mjs +7 -7
  50. package/dist/components/table/table-body.js +140 -61
  51. package/dist/components/table/table-body.mjs +6 -6
  52. package/dist/components/table/table-head.js +108 -31
  53. package/dist/components/table/table-head.mjs +6 -6
  54. package/dist/components/table/table.js +140 -61
  55. package/dist/components/table/table.mjs +6 -6
  56. package/dist/components/textarea/index.mjs +2 -2
  57. package/dist/components/textarea/textarea.mjs +2 -2
  58. package/dist/components/timePicker/calendar.mjs +1 -1
  59. package/dist/components/toast/index.mjs +4 -4
  60. package/dist/components/toast/toast.mjs +3 -3
  61. package/dist/components/toast/use-toast.mjs +4 -4
  62. package/dist/components/tree/index.mjs +2 -2
  63. package/dist/components/tree/tree.mjs +2 -2
  64. package/dist/index.js +322 -243
  65. package/dist/index.mjs +30 -30
  66. package/package.json +1 -1
  67. package/dist/{chunk-3HXNAVAN.mjs → chunk-3CRSSRCH.mjs} +3 -3
  68. package/dist/{chunk-ZFC5O2V3.mjs → chunk-45Y7ANPK.mjs} +3 -3
  69. package/dist/{chunk-LE7PGMCV.mjs → chunk-4EELFA6L.mjs} +3 -3
  70. package/dist/{chunk-NDNIAALB.mjs → chunk-4LUASWAN.mjs} +3 -3
  71. package/dist/{chunk-UINFH5AT.mjs → chunk-A3WPBLOW.mjs} +3 -3
  72. package/dist/{chunk-BH3I4LIZ.mjs → chunk-DS5CGU2X.mjs} +3 -3
  73. package/dist/{chunk-GVTYOGSV.mjs → chunk-GS5X67UB.mjs} +3 -3
  74. package/dist/{chunk-4X35QQTI.mjs → chunk-IH3BJRTV.mjs} +3 -3
  75. package/dist/{chunk-ACZ3DQVT.mjs → chunk-KH63CD55.mjs} +3 -3
  76. package/dist/{chunk-NKF2TQMA.mjs → chunk-MWUA62VL.mjs} +3 -3
  77. package/dist/{chunk-3DCUMRYP.mjs → chunk-OEIEALIP.mjs} +3 -3
  78. package/dist/{chunk-XL6LZDT4.mjs → chunk-PRNE3U26.mjs} +3 -3
  79. package/dist/{chunk-7H6U5XJA.mjs → chunk-RXDRG6MC.mjs} +3 -3
@@ -106,7 +106,7 @@ __export(table_exports, {
106
106
  getCellStyle: () => getCellStyle
107
107
  });
108
108
  module.exports = __toCommonJS(table_exports);
109
- var import_react6 = require("react");
109
+ var import_react7 = require("react");
110
110
  var import_tailwind_variants6 = require("tailwind-variants");
111
111
 
112
112
  // src/utils/props.ts
@@ -129,6 +129,9 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
129
129
  }
130
130
  };
131
131
 
132
+ // src/components/table/table-head.tsx
133
+ var import_react2 = require("react");
134
+
132
135
  // src/utils/clsx.ts
133
136
  function clsx(...args) {
134
137
  var i = 0, tmp, x, str = "";
@@ -627,20 +630,51 @@ var checkboxStyle = tv({
627
630
 
628
631
  // src/components/table/table-head.tsx
629
632
  var import_jsx_runtime2 = require("react/jsx-runtime");
630
- var TableHead = ({
633
+ function TableHeaderCell({
634
+ content,
635
+ column,
636
+ isCheckbox = false,
631
637
  slots,
632
- columns,
633
- color,
634
- size,
635
- rowCheckbox = false,
636
- hasCheckedRows,
637
- classNames,
638
- onCheckAll
639
- }) => {
640
- const renderTh = (content, key, column, isCheckbox) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
638
+ classNames
639
+ }) {
640
+ const thRef = (0, import_react2.useRef)(null);
641
+ const [showTitle, setShowTitle] = (0, import_react2.useState)(false);
642
+ const checkOverflow = (el) => {
643
+ if (el.scrollWidth > el.clientWidth) {
644
+ return true;
645
+ }
646
+ const children = Array.from(el.children);
647
+ for (const child of children) {
648
+ if (child.scrollWidth > child.clientWidth) {
649
+ return true;
650
+ }
651
+ }
652
+ return false;
653
+ };
654
+ const extractTextFromContent = (node) => {
655
+ if (typeof node === "string" || typeof node === "number") {
656
+ return String(node);
657
+ }
658
+ if ((0, import_react2.isValidElement)(node)) {
659
+ return String(node.props.children || "");
660
+ }
661
+ return "";
662
+ };
663
+ (0, import_react2.useEffect)(() => {
664
+ if (thRef.current && !isCheckbox) {
665
+ setTimeout(() => {
666
+ if (thRef.current) {
667
+ setShowTitle(checkOverflow(thRef.current));
668
+ }
669
+ }, 0);
670
+ }
671
+ }, [content, isCheckbox]);
672
+ const titleText = !isCheckbox && showTitle ? extractTextFromContent(content) : void 0;
673
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
641
674
  "th",
642
675
  {
643
- className: clsx(slots.th({ class: classNames == null ? void 0 : classNames.th }), column == null ? void 0 : column.className),
676
+ ref: thRef,
677
+ className: clsx(slots.th({ class: classNames == null ? void 0 : classNames.th }), column == null ? void 0 : column.className, !isCheckbox && "truncate"),
644
678
  style: isCheckbox ? {
645
679
  width: "40px",
646
680
  minWidth: "40px",
@@ -649,31 +683,55 @@ var TableHead = ({
649
683
  flexGrow: 0,
650
684
  boxSizing: "border-box"
651
685
  } : column ? { ...getCellStyle(column), textAlign: "center" } : void 0,
686
+ title: titleText,
652
687
  children: content
653
- },
654
- key
688
+ }
655
689
  );
690
+ }
691
+ var TableHead = ({
692
+ slots,
693
+ columns,
694
+ color,
695
+ size,
696
+ rowCheckbox = false,
697
+ hasCheckedRows,
698
+ classNames,
699
+ onCheckAll
700
+ }) => {
656
701
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("thead", { className: slots.thead({ class: classNames == null ? void 0 : classNames.thead }), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
657
- columns.map((column, idx) => renderTh(column.headerName, `${column.field}-${idx}`, column)),
658
- rowCheckbox && renderTh(
659
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
660
- checkbox_default,
661
- {
662
- size,
663
- checked: hasCheckedRows,
664
- onChange: (e) => onCheckAll(e.target.checked)
665
- }
666
- ) }),
667
- "checkbox",
668
- void 0,
669
- true
702
+ columns.map((column, idx) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
703
+ TableHeaderCell,
704
+ {
705
+ content: column.headerName,
706
+ column,
707
+ slots,
708
+ classNames
709
+ },
710
+ `${column.field}-${idx}`
711
+ )),
712
+ rowCheckbox && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
713
+ TableHeaderCell,
714
+ {
715
+ content: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
716
+ checkbox_default,
717
+ {
718
+ size,
719
+ checked: hasCheckedRows,
720
+ onChange: (e) => onCheckAll(e.target.checked)
721
+ }
722
+ ) }),
723
+ isCheckbox: true,
724
+ slots,
725
+ classNames
726
+ },
727
+ "checkbox"
670
728
  )
671
729
  ] }) });
672
730
  };
673
731
  var table_head_default = TableHead;
674
732
 
675
733
  // src/components/table/table-body.tsx
676
- var import_react2 = require("react");
734
+ var import_react3 = require("react");
677
735
  var import_jsx_runtime3 = require("react/jsx-runtime");
678
736
  function TableCell({
679
737
  row,
@@ -683,25 +741,46 @@ function TableCell({
683
741
  slots,
684
742
  classNames
685
743
  }) {
686
- var _a;
744
+ var _a, _b;
687
745
  const value = row[column.field];
688
746
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
689
747
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
690
- const tdRef = (0, import_react2.useRef)(null);
691
- const [showTitle, setShowTitle] = (0, import_react2.useState)(false);
692
- const checkOverflow = (el) => el.scrollWidth > el.clientWidth;
693
- (0, import_react2.useEffect)(() => {
748
+ const tdRef = (0, import_react3.useRef)(null);
749
+ const [showTitle, setShowTitle] = (0, import_react3.useState)(false);
750
+ const checkOverflow = (el) => {
751
+ if (el.scrollWidth > el.clientWidth) {
752
+ return true;
753
+ }
754
+ const children = Array.from(el.children);
755
+ for (const child of children) {
756
+ if (child.scrollWidth > child.clientWidth) {
757
+ return true;
758
+ }
759
+ }
760
+ return false;
761
+ };
762
+ (0, import_react3.useEffect)(() => {
694
763
  if (tdRef.current) {
695
- setShowTitle(checkOverflow(tdRef.current));
764
+ setTimeout(() => {
765
+ if (tdRef.current) {
766
+ setShowTitle(checkOverflow(tdRef.current));
767
+ }
768
+ }, 0);
696
769
  }
697
770
  }, [content]);
698
771
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
699
772
  "td",
700
773
  {
701
774
  ref: tdRef,
702
- className: clsx(slots.td(), classNames == null ? void 0 : classNames.td, column.className, "truncate"),
775
+ className: clsx(
776
+ slots.td(),
777
+ classNames == null ? void 0 : classNames.td,
778
+ column.className,
779
+ "truncate",
780
+ "[&>*]:block [&>*]:w-full [&>*]:truncate"
781
+ ),
703
782
  style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
704
- title: showTitle ? String(content) : void 0,
783
+ title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
705
784
  children: content
706
785
  },
707
786
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
@@ -771,18 +850,18 @@ var TableBody = ({
771
850
  var table_body_default = TableBody;
772
851
 
773
852
  // src/components/pagination/pagination.tsx
774
- var import_react5 = require("react");
853
+ var import_react6 = require("react");
775
854
 
776
855
  // src/components/pagination/usePagination.ts
777
- var import_react3 = require("react");
856
+ var import_react4 = require("react");
778
857
  var usePagination = ({ currentPage, totalPage, groupSize, handleChangePage }) => {
779
- const startPage = (0, import_react3.useMemo)(() => Math.floor((currentPage - 1) / groupSize) * groupSize + 1, [currentPage, groupSize]);
780
- const endPage = (0, import_react3.useMemo)(() => Math.min(startPage + groupSize - 1, totalPage), [startPage, groupSize, totalPage]);
781
- const pageList = (0, import_react3.useMemo)(
858
+ const startPage = (0, import_react4.useMemo)(() => Math.floor((currentPage - 1) / groupSize) * groupSize + 1, [currentPage, groupSize]);
859
+ const endPage = (0, import_react4.useMemo)(() => Math.min(startPage + groupSize - 1, totalPage), [startPage, groupSize, totalPage]);
860
+ const pageList = (0, import_react4.useMemo)(
782
861
  () => Array.from({ length: endPage - startPage + 1 }, (_, i) => startPage + i),
783
862
  [startPage, endPage]
784
863
  );
785
- const handleClickMovePage = (0, import_react3.useCallback)(
864
+ const handleClickMovePage = (0, import_react4.useCallback)(
786
865
  (page) => (event) => {
787
866
  event.preventDefault();
788
867
  handleChangePage == null ? void 0 : handleChangePage(page);
@@ -799,7 +878,7 @@ var usePagination = ({ currentPage, totalPage, groupSize, handleChangePage }) =>
799
878
  var usePagination_default = usePagination;
800
879
 
801
880
  // src/components/input/input.tsx
802
- var import_react4 = require("react");
881
+ var import_react5 = require("react");
803
882
 
804
883
  // src/components/icon/template.tsx
805
884
  var import_jsx_runtime4 = require("react/jsx-runtime");
@@ -5534,12 +5613,12 @@ var Icon_default = Icon;
5534
5613
 
5535
5614
  // src/components/input/input.tsx
5536
5615
  var import_jsx_runtime6 = require("react/jsx-runtime");
5537
- var Input = (0, import_react4.forwardRef)((originalProps, ref) => {
5616
+ var Input = (0, import_react5.forwardRef)((originalProps, ref) => {
5538
5617
  const [props, variantProps] = mapPropsVariants(originalProps, inputStyle.variantKeys);
5539
5618
  const { classNames, label, helperMessage, errorMessage, startContent, endContent, ...inputProps } = props;
5540
- const inputRef = (0, import_react4.useRef)(null);
5541
- const slots = (0, import_react4.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
5542
- const getContentProps = (0, import_react4.useCallback)(
5619
+ const inputRef = (0, import_react5.useRef)(null);
5620
+ const slots = (0, import_react5.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
5621
+ const getContentProps = (0, import_react5.useCallback)(
5543
5622
  () => ({
5544
5623
  className: clsx(
5545
5624
  slots.content({ class: classNames == null ? void 0 : classNames.content }),
@@ -5550,13 +5629,13 @@ var Input = (0, import_react4.forwardRef)((originalProps, ref) => {
5550
5629
  [slots, classNames, originalProps.size, inputProps.readOnly]
5551
5630
  );
5552
5631
  const renderStartContent = () => {
5553
- if ((0, import_react4.isValidElement)(startContent)) {
5632
+ if ((0, import_react5.isValidElement)(startContent)) {
5554
5633
  const existingProps = startContent.props;
5555
5634
  const mergedProps = {
5556
5635
  ...getContentProps(),
5557
5636
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
5558
5637
  };
5559
- return (0, import_react4.cloneElement)(startContent, mergedProps);
5638
+ return (0, import_react5.cloneElement)(startContent, mergedProps);
5560
5639
  } else {
5561
5640
  const contentProps = getContentProps();
5562
5641
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ...contentProps, children: startContent });
@@ -5575,13 +5654,13 @@ var Input = (0, import_react4.forwardRef)((originalProps, ref) => {
5575
5654
  }
5576
5655
  );
5577
5656
  const renderContentWithIcon = () => {
5578
- if ((0, import_react4.isValidElement)(endContent)) {
5657
+ if ((0, import_react5.isValidElement)(endContent)) {
5579
5658
  const existingProps = endContent.props;
5580
5659
  const mergedProps = {
5581
5660
  ...getContentProps(),
5582
5661
  className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
5583
5662
  };
5584
- return (0, import_react4.cloneElement)(endContent, mergedProps);
5663
+ return (0, import_react5.cloneElement)(endContent, mergedProps);
5585
5664
  } else if (errorMessage && errorMessage.length > 0) {
5586
5665
  const iconProps = { ...getContentProps(), className: getContentProps().className };
5587
5666
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
@@ -5918,7 +5997,7 @@ var inputStyle = tv(
5918
5997
 
5919
5998
  // src/components/pagination/pagination.tsx
5920
5999
  var import_jsx_runtime7 = require("react/jsx-runtime");
5921
- var Pagination = (0, import_react5.forwardRef)((originalProps, ref) => {
6000
+ var Pagination = (0, import_react6.forwardRef)((originalProps, ref) => {
5922
6001
  const [props, variantProps] = mapPropsVariants(originalProps, paginationStyle.variantKeys);
5923
6002
  const {
5924
6003
  classNames,
@@ -5932,12 +6011,12 @@ var Pagination = (0, import_react5.forwardRef)((originalProps, ref) => {
5932
6011
  variant,
5933
6012
  size
5934
6013
  } = { ...props, ...variantProps };
5935
- const [inputPage, setInputPage] = (0, import_react5.useState)(currentPage);
6014
+ const [inputPage, setInputPage] = (0, import_react6.useState)(currentPage);
5936
6015
  const isFirstPageDisabled = currentPage <= 1;
5937
6016
  const isPrevPageDisabled = currentPage <= 1;
5938
6017
  const isNextPageDisabled = currentPage >= totalPage;
5939
6018
  const isLastPageDisabled = currentPage >= totalPage;
5940
- const slots = (0, import_react5.useMemo)(() => paginationStyle(variantProps), [variantProps]);
6019
+ const slots = (0, import_react6.useMemo)(() => paginationStyle(variantProps), [variantProps]);
5941
6020
  const { pageList, handleClickMovePage } = usePagination_default({
5942
6021
  currentPage,
5943
6022
  totalPage,
@@ -6305,7 +6384,7 @@ var scrollAreaStyle = (0, import_tailwind_variants5.tv)({
6305
6384
 
6306
6385
  // src/components/table/table.tsx
6307
6386
  var import_jsx_runtime9 = require("react/jsx-runtime");
6308
- var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
6387
+ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
6309
6388
  const [props, variantProps] = mapPropsVariants(originalProps, tableStyle.variantKeys);
6310
6389
  const {
6311
6390
  rows,
@@ -6330,8 +6409,8 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
6330
6409
  } = { ...props, ...variantProps };
6331
6410
  const { page = 1, perPage = 15 } = pagination || {};
6332
6411
  const showPagination = pagination && totalData > 0;
6333
- const [checkedRowIds, setCheckedRowIds] = (0, import_react6.useState)(new Set(checkedRows == null ? void 0 : checkedRows.map((row) => row.id)));
6334
- const tableMinWidth = (0, import_react6.useMemo)(() => {
6412
+ const [checkedRowIds, setCheckedRowIds] = (0, import_react7.useState)(new Set(checkedRows == null ? void 0 : checkedRows.map((row) => row.id)));
6413
+ const tableMinWidth = (0, import_react7.useMemo)(() => {
6335
6414
  const columnsWidth = columns.reduce((total, column) => {
6336
6415
  if (column.width) return total + column.width;
6337
6416
  if (column.minWidth) return total + column.minWidth;
@@ -6340,10 +6419,10 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
6340
6419
  const checkboxWidth = rowCheckbox ? 40 : 0;
6341
6420
  return columnsWidth + checkboxWidth;
6342
6421
  }, [columns, rowCheckbox]);
6343
- (0, import_react6.useEffect)(() => {
6422
+ (0, import_react7.useEffect)(() => {
6344
6423
  onCheckedRowsChange == null ? void 0 : onCheckedRowsChange(getCheckedRowData(checkedRowIds));
6345
6424
  }, [checkedRowIds]);
6346
- (0, import_react6.useEffect)(() => {
6425
+ (0, import_react7.useEffect)(() => {
6347
6426
  const currentRowIds = new Set(rows.map((row) => row.id));
6348
6427
  const ids = Array.from(checkedRowIds);
6349
6428
  const hasValidCheckedRows = ids.every((id) => currentRowIds.has(id));
@@ -6351,7 +6430,7 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
6351
6430
  setCheckedRowIds(new Set(checkedRows == null ? void 0 : checkedRows.map((row) => row.id)));
6352
6431
  }
6353
6432
  }, [rows.map((row) => row.id).join(",")]);
6354
- (0, import_react6.useImperativeHandle)(
6433
+ (0, import_react7.useImperativeHandle)(
6355
6434
  ref,
6356
6435
  () => ({
6357
6436
  checkedRowIds,
@@ -6378,7 +6457,7 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
6378
6457
  onRowClick == null ? void 0 : onRowClick(row, index, event);
6379
6458
  };
6380
6459
  const getCheckedRowData = (checked) => rows.filter((row) => checked.has(row.id));
6381
- const slots = (0, import_react6.useMemo)(
6460
+ const slots = (0, import_react7.useMemo)(
6382
6461
  () => tableStyle({ ...variantProps, rowClickable: typeof onRowClick === "function" }),
6383
6462
  [variantProps, onRowClick]
6384
6463
  );
@@ -2,22 +2,22 @@
2
2
  import {
3
3
  getCellStyle,
4
4
  table_default
5
- } from "../../chunk-YTW5HJJH.mjs";
5
+ } from "../../chunk-VRHMQMRO.mjs";
6
6
  import "../../chunk-7B7LRG5J.mjs";
7
- import "../../chunk-XZTVXEOD.mjs";
7
+ import "../../chunk-7C7RHDHV.mjs";
8
8
  import "../../chunk-F3HENRVM.mjs";
9
9
  import "../../chunk-QZ3LVYJW.mjs";
10
10
  import "../../chunk-2GCSFWHD.mjs";
11
- import "../../chunk-7H6U5XJA.mjs";
11
+ import "../../chunk-RXDRG6MC.mjs";
12
12
  import "../../chunk-DQRAFUDA.mjs";
13
13
  import "../../chunk-EWS3FESG.mjs";
14
- import "../../chunk-3DCUMRYP.mjs";
14
+ import "../../chunk-OEIEALIP.mjs";
15
15
  import "../../chunk-ZYIIXWVY.mjs";
16
16
  import "../../chunk-B4YBLIBE.mjs";
17
- import "../../chunk-R54J7VHL.mjs";
18
- import "../../chunk-27Y6K5NK.mjs";
19
17
  import "../../chunk-E3G5QXSH.mjs";
18
+ import "../../chunk-R54J7VHL.mjs";
20
19
  import "../../chunk-U4DJHAM5.mjs";
20
+ import "../../chunk-27Y6K5NK.mjs";
21
21
  import "../../chunk-AC6TWLRT.mjs";
22
22
  export {
23
23
  table_default as default,
@@ -2,9 +2,9 @@
2
2
  import "../../chunk-RRAZM5D3.mjs";
3
3
  import {
4
4
  textarea_default
5
- } from "../../chunk-3HXNAVAN.mjs";
6
- import "../../chunk-27Y6K5NK.mjs";
5
+ } from "../../chunk-3CRSSRCH.mjs";
7
6
  import "../../chunk-E3G5QXSH.mjs";
7
+ import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  textarea_default as Textarea
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  textarea_default
4
- } from "../../chunk-3HXNAVAN.mjs";
5
- import "../../chunk-27Y6K5NK.mjs";
4
+ } from "../../chunk-3CRSSRCH.mjs";
6
5
  import "../../chunk-E3G5QXSH.mjs";
6
+ import "../../chunk-27Y6K5NK.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
9
9
  textarea_default as default
@@ -7,10 +7,10 @@ import "../../chunk-ZYIIXWVY.mjs";
7
7
  import {
8
8
  Icon_default
9
9
  } from "../../chunk-B4YBLIBE.mjs";
10
- import "../../chunk-R54J7VHL.mjs";
11
10
  import {
12
11
  mapPropsVariants
13
12
  } from "../../chunk-E3G5QXSH.mjs";
13
+ import "../../chunk-R54J7VHL.mjs";
14
14
  import {
15
15
  tv
16
16
  } from "../../chunk-U4DJHAM5.mjs";
@@ -3,17 +3,17 @@ import "../../chunk-LUWGOKLG.mjs";
3
3
  import {
4
4
  ToastProvider,
5
5
  useToast
6
- } from "../../chunk-6NO7GQHG.mjs";
6
+ } from "../../chunk-4SDPS5R2.mjs";
7
7
  import {
8
8
  toast_default
9
- } from "../../chunk-GVTYOGSV.mjs";
9
+ } from "../../chunk-GS5X67UB.mjs";
10
10
  import "../../chunk-ZOTHPHXA.mjs";
11
11
  import "../../chunk-ZYIIXWVY.mjs";
12
12
  import "../../chunk-B4YBLIBE.mjs";
13
- import "../../chunk-R54J7VHL.mjs";
14
- import "../../chunk-27Y6K5NK.mjs";
15
13
  import "../../chunk-E3G5QXSH.mjs";
14
+ import "../../chunk-R54J7VHL.mjs";
16
15
  import "../../chunk-U4DJHAM5.mjs";
16
+ import "../../chunk-27Y6K5NK.mjs";
17
17
  import "../../chunk-AC6TWLRT.mjs";
18
18
  export {
19
19
  toast_default as Toast,
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  toast_default
4
- } from "../../chunk-GVTYOGSV.mjs";
4
+ } from "../../chunk-GS5X67UB.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-B4YBLIBE.mjs";
7
- import "../../chunk-R54J7VHL.mjs";
8
- import "../../chunk-27Y6K5NK.mjs";
9
7
  import "../../chunk-E3G5QXSH.mjs";
8
+ import "../../chunk-R54J7VHL.mjs";
10
9
  import "../../chunk-U4DJHAM5.mjs";
10
+ import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
13
13
  toast_default as default
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  ToastProvider,
4
4
  useToast
5
- } from "../../chunk-6NO7GQHG.mjs";
6
- import "../../chunk-GVTYOGSV.mjs";
5
+ } from "../../chunk-4SDPS5R2.mjs";
6
+ import "../../chunk-GS5X67UB.mjs";
7
7
  import "../../chunk-ZOTHPHXA.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-B4YBLIBE.mjs";
10
- import "../../chunk-R54J7VHL.mjs";
11
- import "../../chunk-27Y6K5NK.mjs";
12
10
  import "../../chunk-E3G5QXSH.mjs";
11
+ import "../../chunk-R54J7VHL.mjs";
13
12
  import "../../chunk-U4DJHAM5.mjs";
13
+ import "../../chunk-27Y6K5NK.mjs";
14
14
  import "../../chunk-AC6TWLRT.mjs";
15
15
  export {
16
16
  ToastProvider,
@@ -2,12 +2,12 @@
2
2
  import "../../chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "../../chunk-NKF2TQMA.mjs";
5
+ } from "../../chunk-MWUA62VL.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-B4YBLIBE.mjs";
8
8
  import "../../chunk-R54J7VHL.mjs";
9
- import "../../chunk-27Y6K5NK.mjs";
10
9
  import "../../chunk-U4DJHAM5.mjs";
10
+ import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
13
13
  tree_default as Tree
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  Tree,
4
4
  tree_default
5
- } from "../../chunk-NKF2TQMA.mjs";
5
+ } from "../../chunk-MWUA62VL.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-B4YBLIBE.mjs";
8
8
  import "../../chunk-R54J7VHL.mjs";
9
- import "../../chunk-27Y6K5NK.mjs";
10
9
  import "../../chunk-U4DJHAM5.mjs";
10
+ import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
13
13
  Tree,