@deepnoid/ui 0.1.94 → 0.1.96

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 (102) hide show
  1. package/.turbo/turbo-build.log +157 -157
  2. package/dist/{chunk-I3ORSDFO.mjs → chunk-23WOW2NZ.mjs} +2 -2
  3. package/dist/{chunk-FB6LBMGN.mjs → chunk-45BNDZHL.mjs} +1 -1
  4. package/dist/{chunk-LMHSWLH2.mjs → chunk-45N5ZAIJ.mjs} +2 -2
  5. package/dist/{chunk-RE2WH26E.mjs → chunk-4GDJLALM.mjs} +1 -1
  6. package/dist/{chunk-Y5QV7T6D.mjs → chunk-5BM3GZZD.mjs} +1 -1
  7. package/dist/{chunk-RRONV7YA.mjs → chunk-6XFKID3T.mjs} +42 -58
  8. package/dist/{chunk-NTNIGQGI.mjs → chunk-ANBGNXIU.mjs} +1 -1
  9. package/dist/{chunk-6SWMJLOD.mjs → chunk-BHSZP2XF.mjs} +1 -1
  10. package/dist/{chunk-SGOE2HGI.mjs → chunk-BQTFCLWG.mjs} +2 -2
  11. package/dist/{chunk-Z4YJ274G.mjs → chunk-IW57F7WZ.mjs} +1 -1
  12. package/dist/{chunk-4BJPJ54Q.mjs → chunk-K7JLUER5.mjs} +1 -1
  13. package/dist/{chunk-5IKVOP4M.mjs → chunk-MFAF7G3M.mjs} +3 -3
  14. package/dist/{chunk-TZHEZEJ5.mjs → chunk-PZSIYVDW.mjs} +1 -1
  15. package/dist/{chunk-IY4AY6JJ.mjs → chunk-QDQBFAE2.mjs} +3 -3
  16. package/dist/{chunk-JP4TEWP7.mjs → chunk-SCZB4QC7.mjs} +1 -1
  17. package/dist/{chunk-D3HZG3CH.mjs → chunk-TBSG4HY5.mjs} +1 -1
  18. package/dist/{chunk-MVL7HJSH.mjs → chunk-VFFLJN5N.mjs} +1 -1
  19. package/dist/{chunk-UFAY3EIU.mjs → chunk-VIEBF2WH.mjs} +6 -7
  20. package/dist/{chunk-MPZKOT6P.mjs → chunk-WG2EL5JF.mjs} +1 -1
  21. package/dist/{chunk-P6CRHHI3.mjs → chunk-WV77476I.mjs} +1 -1
  22. package/dist/components/avatar/avatar.js +42 -58
  23. package/dist/components/avatar/avatar.mjs +2 -2
  24. package/dist/components/avatar/index.js +42 -58
  25. package/dist/components/avatar/index.mjs +2 -2
  26. package/dist/components/breadcrumb/breadcrumb.js +42 -58
  27. package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
  28. package/dist/components/breadcrumb/index.js +42 -58
  29. package/dist/components/breadcrumb/index.mjs +5 -5
  30. package/dist/components/button/button.js +42 -58
  31. package/dist/components/button/button.mjs +3 -3
  32. package/dist/components/button/icon-button.js +42 -58
  33. package/dist/components/button/icon-button.mjs +3 -3
  34. package/dist/components/button/index.js +42 -58
  35. package/dist/components/button/index.mjs +4 -4
  36. package/dist/components/chip/chip.js +42 -58
  37. package/dist/components/chip/chip.mjs +3 -3
  38. package/dist/components/chip/index.js +42 -58
  39. package/dist/components/chip/index.mjs +3 -3
  40. package/dist/components/dateTimePicker/calendar.js +42 -58
  41. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  42. package/dist/components/dateTimePicker/dateTimePicker.js +42 -58
  43. package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
  44. package/dist/components/dateTimePicker/index.js +42 -58
  45. package/dist/components/dateTimePicker/index.mjs +7 -7
  46. package/dist/components/dateTimePicker/timePicker.js +42 -58
  47. package/dist/components/dateTimePicker/timePicker.mjs +5 -5
  48. package/dist/components/fileUpload/fileUpload.js +42 -58
  49. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  50. package/dist/components/fileUpload/index.js +42 -58
  51. package/dist/components/fileUpload/index.mjs +6 -6
  52. package/dist/components/icon/Icon.d.mts +8 -8
  53. package/dist/components/icon/Icon.d.ts +8 -8
  54. package/dist/components/icon/Icon.js +42 -58
  55. package/dist/components/icon/Icon.mjs +2 -2
  56. package/dist/components/icon/index.js +42 -58
  57. package/dist/components/icon/index.mjs +2 -2
  58. package/dist/components/icon/template.d.mts +2 -2
  59. package/dist/components/icon/template.d.ts +2 -2
  60. package/dist/components/icon/template.js +42 -58
  61. package/dist/components/icon/template.mjs +1 -1
  62. package/dist/components/input/index.js +42 -58
  63. package/dist/components/input/index.mjs +3 -3
  64. package/dist/components/input/input.js +42 -58
  65. package/dist/components/input/input.mjs +3 -3
  66. package/dist/components/list/index.js +42 -58
  67. package/dist/components/list/index.mjs +4 -4
  68. package/dist/components/list/listItem.js +42 -58
  69. package/dist/components/list/listItem.mjs +4 -4
  70. package/dist/components/modal/index.js +42 -58
  71. package/dist/components/modal/index.mjs +5 -5
  72. package/dist/components/modal/modal.js +42 -58
  73. package/dist/components/modal/modal.mjs +5 -5
  74. package/dist/components/pagination/index.js +42 -58
  75. package/dist/components/pagination/index.mjs +4 -4
  76. package/dist/components/pagination/pagination.js +42 -58
  77. package/dist/components/pagination/pagination.mjs +4 -4
  78. package/dist/components/select/index.js +42 -58
  79. package/dist/components/select/index.mjs +3 -3
  80. package/dist/components/select/select.js +42 -58
  81. package/dist/components/select/select.mjs +3 -3
  82. package/dist/components/table/index.js +47 -64
  83. package/dist/components/table/index.mjs +5 -5
  84. package/dist/components/table/table-body.js +47 -64
  85. package/dist/components/table/table-body.mjs +5 -5
  86. package/dist/components/table/table-head.js +47 -64
  87. package/dist/components/table/table-head.mjs +5 -5
  88. package/dist/components/table/table.js +47 -64
  89. package/dist/components/table/table.mjs +5 -5
  90. package/dist/components/toast/index.js +42 -58
  91. package/dist/components/toast/index.mjs +4 -4
  92. package/dist/components/toast/toast.js +42 -58
  93. package/dist/components/toast/toast.mjs +3 -3
  94. package/dist/components/toast/use-toast.js +42 -58
  95. package/dist/components/toast/use-toast.mjs +4 -4
  96. package/dist/components/tree/index.js +42 -58
  97. package/dist/components/tree/index.mjs +3 -3
  98. package/dist/components/tree/tree.js +42 -58
  99. package/dist/components/tree/tree.mjs +3 -3
  100. package/dist/index.js +47 -64
  101. package/dist/index.mjs +33 -33
  102. package/package.json +1 -1
@@ -1565,6 +1565,48 @@ var template = {
1565
1565
  }
1566
1566
  );
1567
1567
  },
1568
+ lock: ({ className }) => {
1569
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1570
+ "svg",
1571
+ {
1572
+ width: "22",
1573
+ height: "22",
1574
+ viewBox: "0 0 22 22",
1575
+ fill: "none",
1576
+ xmlns: "http://www.w3.org/2000/svg",
1577
+ className,
1578
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1579
+ "path",
1580
+ {
1581
+ "fill-rule": "evenodd",
1582
+ "clip-rule": "evenodd",
1583
+ d: "M11 2.8335C9.81858 2.8335 8.68555 3.2637 7.85016 4.02948C7.01477 4.79525 6.54545 5.83386 6.54545 6.91683V9.25016C5.87036 9.25016 5.22291 9.49599 4.74555 9.93358C4.26818 10.3712 4 10.9647 4 11.5835V16.8335C4 17.4523 4.26818 18.0458 4.74555 18.4834C5.22291 18.921 5.87036 19.1668 6.54545 19.1668H15.4545C16.1296 19.1668 16.7771 18.921 17.2545 18.4834C17.7318 18.0458 18 17.4523 18 16.8335V11.5835C18 10.9647 17.7318 10.3712 17.2545 9.93358C16.7771 9.49599 16.1296 9.25016 15.4545 9.25016V6.91683C15.4545 4.66127 13.4606 2.8335 11 2.8335ZM14.1818 9.25016V6.91683C14.1818 6.14328 13.8466 5.40142 13.2499 4.85443C12.6532 4.30745 11.8439 4.00016 11 4.00016C10.1561 4.00016 9.34682 4.30745 8.75011 4.85443C8.15341 5.40142 7.81818 6.14328 7.81818 6.91683V9.25016H14.1818Z",
1584
+ fill: "currentColor"
1585
+ }
1586
+ )
1587
+ }
1588
+ );
1589
+ },
1590
+ unlock: ({ className }) => {
1591
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1592
+ "svg",
1593
+ {
1594
+ width: "22",
1595
+ height: "22",
1596
+ viewBox: "0 0 22 22",
1597
+ fill: "none",
1598
+ xmlns: "http://www.w3.org/2000/svg",
1599
+ className,
1600
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1601
+ "path",
1602
+ {
1603
+ d: "M15.3557 2.8335C17.4609 2.8335 19.1668 4.66127 19.1668 6.91683V9.8335C19.1668 9.98821 19.1095 10.1366 19.0074 10.246C18.9053 10.3554 18.7668 10.4168 18.6224 10.4168C18.478 10.4168 18.3395 10.3554 18.2374 10.246C18.1353 10.1366 18.0779 9.98821 18.0779 9.8335V6.91683C18.0779 6.14328 17.7911 5.40142 17.2806 4.85443C16.7701 4.30745 16.0777 4.00016 15.3557 4.00016C14.6337 4.00016 13.9413 4.30745 13.4308 4.85443C12.9203 5.40142 12.6335 6.14328 12.6335 6.91683V9.25016C13.2111 9.25016 13.765 9.49599 14.1734 9.93358C14.5818 10.3712 14.8113 10.9647 14.8113 11.5835V16.8335C14.8113 17.4523 14.5818 18.0458 14.1734 18.4834C13.765 18.921 13.2111 19.1668 12.6335 19.1668H5.01127C4.43369 19.1668 3.87976 18.921 3.47135 18.4834C3.06294 18.0458 2.8335 17.4523 2.8335 16.8335V11.5835C2.8335 10.9647 3.06294 10.3712 3.47135 9.93358C3.87976 9.49599 4.43369 9.25016 5.01127 9.25016H11.5446V6.91683C11.5446 4.66127 13.2505 2.8335 15.3557 2.8335Z",
1604
+ fill: "currentColor"
1605
+ }
1606
+ )
1607
+ }
1608
+ );
1609
+ },
1568
1610
  // ----------------------------------- old ---------------------------------
1569
1611
  // ** Status **
1570
1612
  check: ({ className, fill }) => {
@@ -3155,64 +3197,6 @@ var template = {
3155
3197
  }
3156
3198
  );
3157
3199
  },
3158
- lock: ({ className, fill }) => {
3159
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3160
- "svg",
3161
- {
3162
- width: "24",
3163
- height: "24",
3164
- viewBox: "0 0 24 24",
3165
- fill: "none",
3166
- xmlns: "http://www.w3.org/2000/svg",
3167
- className,
3168
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3169
- "path",
3170
- {
3171
- fillRule: "evenodd",
3172
- clipRule: "evenodd",
3173
- d: "M12 1.5C10.6076 1.5 9.27225 2.05312 8.28769 3.03769C7.30312 4.02226 6.75 5.35761 6.75 6.75V9.75C5.95435 9.75 5.19129 10.0661 4.62868 10.6287C4.06607 11.1913 3.75 11.9544 3.75 12.75V19.5C3.75 20.2956 4.06607 21.0587 4.62868 21.6213C5.19129 22.1839 5.95435 22.5 6.75 22.5H17.25C18.0456 22.5 18.8087 22.1839 19.3713 21.6213C19.9339 21.0587 20.25 20.2956 20.25 19.5V12.75C20.25 11.9544 19.9339 11.1913 19.3713 10.6287C18.8087 10.0661 18.0456 9.75 17.25 9.75V6.75C17.25 3.85 14.9 1.5 12 1.5ZM15.75 9.75V6.75C15.75 5.75544 15.3549 4.80161 14.6517 4.09835C13.9484 3.39509 12.9946 3 12 3C11.0054 3 10.0516 3.39509 9.34835 4.09835C8.64509 4.80161 8.25 5.75544 8.25 6.75V9.75H15.75Z",
3174
- fill: "currentColor"
3175
- }
3176
- ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3177
- "path",
3178
- {
3179
- d: "M16.5 10.5V6.75C16.5 5.55653 16.0259 4.41193 15.182 3.56802C14.3381 2.72411 13.1935 2.25 12 2.25C10.8065 2.25 9.66193 2.72411 8.81802 3.56802C7.97411 4.41193 7.5 5.55653 7.5 6.75V10.5M6.75 21.75H17.25C17.8467 21.75 18.419 21.5129 18.841 21.091C19.2629 20.669 19.5 20.0967 19.5 19.5V12.75C19.5 12.1533 19.2629 11.581 18.841 11.159C18.419 10.7371 17.8467 10.5 17.25 10.5H6.75C6.15326 10.5 5.58097 10.7371 5.15901 11.159C4.73705 11.581 4.5 12.1533 4.5 12.75V19.5C4.5 20.0967 4.73705 20.669 5.15901 21.091C5.58097 21.5129 6.15326 21.75 6.75 21.75Z",
3180
- stroke: "currentColor",
3181
- strokeLinecap: "round",
3182
- strokeLinejoin: "round"
3183
- }
3184
- )
3185
- }
3186
- );
3187
- },
3188
- unlock: ({ className, fill }) => {
3189
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3190
- "svg",
3191
- {
3192
- width: "24",
3193
- height: "24",
3194
- viewBox: "0 0 24 24",
3195
- fill: "none",
3196
- xmlns: "http://www.w3.org/2000/svg",
3197
- className,
3198
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3199
- "path",
3200
- {
3201
- d: "M18 1.5C20.9 1.5 23.25 3.85 23.25 6.75V10.5C23.25 10.6989 23.171 10.8897 23.0303 11.0303C22.8897 11.171 22.6989 11.25 22.5 11.25C22.3011 11.25 22.1103 11.171 21.9697 11.0303C21.829 10.8897 21.75 10.6989 21.75 10.5V6.75C21.75 5.75544 21.3549 4.80161 20.6517 4.09835C19.9484 3.39509 18.9946 3 18 3C17.0054 3 16.0516 3.39509 15.3483 4.09835C14.6451 4.80161 14.25 5.75544 14.25 6.75V9.75C15.0456 9.75 15.8087 10.0661 16.3713 10.6287C16.9339 11.1913 17.25 11.9544 17.25 12.75V19.5C17.25 20.2956 16.9339 21.0587 16.3713 21.6213C15.8087 22.1839 15.0456 22.5 14.25 22.5H3.75C2.95435 22.5 2.19129 22.1839 1.62868 21.6213C1.06607 21.0587 0.75 20.2956 0.75 19.5V12.75C0.75 11.9544 1.06607 11.1913 1.62868 10.6287C2.19129 10.0661 2.95435 9.75 3.75 9.75H12.75V6.75C12.75 3.85 15.1 1.5 18 1.5Z",
3202
- fill: "currentColor"
3203
- }
3204
- ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3205
- "path",
3206
- {
3207
- d: "M13.5 10.5V6.75C13.5 5.55653 13.9741 4.41193 14.818 3.56802C15.6619 2.72411 16.8065 2.25 18 2.25C19.1935 2.25 20.3381 2.72411 21.182 3.56802C22.0259 4.41193 22.5 5.55653 22.5 6.75V10.5M3.75 21.75H14.25C14.8467 21.75 15.419 21.5129 15.841 21.091C16.2629 20.669 16.5 20.0967 16.5 19.5V12.75C16.5 12.1533 16.2629 11.581 15.841 11.159C15.419 10.7371 14.8467 10.5 14.25 10.5H3.75C3.15326 10.5 2.58097 10.7371 2.15901 11.159C1.73705 11.581 1.5 12.1533 1.5 12.75V19.5C1.5 20.0967 1.73705 20.669 2.15901 21.091C2.58097 21.5129 3.15326 21.75 3.75 21.75Z",
3208
- stroke: "currentColor",
3209
- strokeLinecap: "round",
3210
- strokeLinejoin: "round"
3211
- }
3212
- )
3213
- }
3214
- );
3215
- },
3216
3200
  "pencil-square": ({ className, fill }) => {
3217
3201
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
3218
3202
  "svg",
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  select_default
4
- } from "../../chunk-MPZKOT6P.mjs";
4
+ } from "../../chunk-WG2EL5JF.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
- import "../../chunk-JP4TEWP7.mjs";
6
+ import "../../chunk-SCZB4QC7.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
- import "../../chunk-RRONV7YA.mjs";
8
+ import "../../chunk-6XFKID3T.mjs";
9
9
  import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
@@ -763,17 +763,16 @@ var TableBody = ({
763
763
  className
764
764
  }) => {
765
765
  const renderTdSkeleton = (key, column) => {
766
- const isCheckbox = key.includes("checkbox");
767
766
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), style: column ? getCellStyle(column) : {}, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
768
767
  };
769
- const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
768
+ const renderCheckboxCell = (rowId, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
770
769
  "td",
771
770
  {
772
771
  className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"),
773
772
  style: { width: "40px", minWidth: "40px", textAlign: "center" },
774
773
  children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
775
774
  },
776
- `checkbox-${rowId}`
775
+ `checkbox-${rowId}-${rowIndex}`
777
776
  );
778
777
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
779
778
  columns.map((column, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`, column)),
@@ -798,13 +797,13 @@ var TableBody = ({
798
797
  style: getCellStyle(column),
799
798
  children: content
800
799
  },
801
- `${row.id}-${column.field}-${colIdx}`
800
+ `${row.id}-${column.field}-${colIdx}-${rowIndex}`
802
801
  );
803
802
  }),
804
- rowCheckbox && renderCheckboxCell(row.id)
803
+ rowCheckbox && renderCheckboxCell(row.id, rowIndex)
805
804
  ]
806
805
  },
807
- row.id
806
+ `${row.id}-${rowIndex}`
808
807
  );
809
808
  const renderRows = () => {
810
809
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, {});
@@ -2043,6 +2042,48 @@ var template = {
2043
2042
  }
2044
2043
  );
2045
2044
  },
2045
+ lock: ({ className }) => {
2046
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2047
+ "svg",
2048
+ {
2049
+ width: "22",
2050
+ height: "22",
2051
+ viewBox: "0 0 22 22",
2052
+ fill: "none",
2053
+ xmlns: "http://www.w3.org/2000/svg",
2054
+ className,
2055
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2056
+ "path",
2057
+ {
2058
+ "fill-rule": "evenodd",
2059
+ "clip-rule": "evenodd",
2060
+ d: "M11 2.8335C9.81858 2.8335 8.68555 3.2637 7.85016 4.02948C7.01477 4.79525 6.54545 5.83386 6.54545 6.91683V9.25016C5.87036 9.25016 5.22291 9.49599 4.74555 9.93358C4.26818 10.3712 4 10.9647 4 11.5835V16.8335C4 17.4523 4.26818 18.0458 4.74555 18.4834C5.22291 18.921 5.87036 19.1668 6.54545 19.1668H15.4545C16.1296 19.1668 16.7771 18.921 17.2545 18.4834C17.7318 18.0458 18 17.4523 18 16.8335V11.5835C18 10.9647 17.7318 10.3712 17.2545 9.93358C16.7771 9.49599 16.1296 9.25016 15.4545 9.25016V6.91683C15.4545 4.66127 13.4606 2.8335 11 2.8335ZM14.1818 9.25016V6.91683C14.1818 6.14328 13.8466 5.40142 13.2499 4.85443C12.6532 4.30745 11.8439 4.00016 11 4.00016C10.1561 4.00016 9.34682 4.30745 8.75011 4.85443C8.15341 5.40142 7.81818 6.14328 7.81818 6.91683V9.25016H14.1818Z",
2061
+ fill: "currentColor"
2062
+ }
2063
+ )
2064
+ }
2065
+ );
2066
+ },
2067
+ unlock: ({ className }) => {
2068
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2069
+ "svg",
2070
+ {
2071
+ width: "22",
2072
+ height: "22",
2073
+ viewBox: "0 0 22 22",
2074
+ fill: "none",
2075
+ xmlns: "http://www.w3.org/2000/svg",
2076
+ className,
2077
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2078
+ "path",
2079
+ {
2080
+ d: "M15.3557 2.8335C17.4609 2.8335 19.1668 4.66127 19.1668 6.91683V9.8335C19.1668 9.98821 19.1095 10.1366 19.0074 10.246C18.9053 10.3554 18.7668 10.4168 18.6224 10.4168C18.478 10.4168 18.3395 10.3554 18.2374 10.246C18.1353 10.1366 18.0779 9.98821 18.0779 9.8335V6.91683C18.0779 6.14328 17.7911 5.40142 17.2806 4.85443C16.7701 4.30745 16.0777 4.00016 15.3557 4.00016C14.6337 4.00016 13.9413 4.30745 13.4308 4.85443C12.9203 5.40142 12.6335 6.14328 12.6335 6.91683V9.25016C13.2111 9.25016 13.765 9.49599 14.1734 9.93358C14.5818 10.3712 14.8113 10.9647 14.8113 11.5835V16.8335C14.8113 17.4523 14.5818 18.0458 14.1734 18.4834C13.765 18.921 13.2111 19.1668 12.6335 19.1668H5.01127C4.43369 19.1668 3.87976 18.921 3.47135 18.4834C3.06294 18.0458 2.8335 17.4523 2.8335 16.8335V11.5835C2.8335 10.9647 3.06294 10.3712 3.47135 9.93358C3.87976 9.49599 4.43369 9.25016 5.01127 9.25016H11.5446V6.91683C11.5446 4.66127 13.2505 2.8335 15.3557 2.8335Z",
2081
+ fill: "currentColor"
2082
+ }
2083
+ )
2084
+ }
2085
+ );
2086
+ },
2046
2087
  // ----------------------------------- old ---------------------------------
2047
2088
  // ** Status **
2048
2089
  check: ({ className, fill }) => {
@@ -3633,64 +3674,6 @@ var template = {
3633
3674
  }
3634
3675
  );
3635
3676
  },
3636
- lock: ({ className, fill }) => {
3637
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3638
- "svg",
3639
- {
3640
- width: "24",
3641
- height: "24",
3642
- viewBox: "0 0 24 24",
3643
- fill: "none",
3644
- xmlns: "http://www.w3.org/2000/svg",
3645
- className,
3646
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3647
- "path",
3648
- {
3649
- fillRule: "evenodd",
3650
- clipRule: "evenodd",
3651
- d: "M12 1.5C10.6076 1.5 9.27225 2.05312 8.28769 3.03769C7.30312 4.02226 6.75 5.35761 6.75 6.75V9.75C5.95435 9.75 5.19129 10.0661 4.62868 10.6287C4.06607 11.1913 3.75 11.9544 3.75 12.75V19.5C3.75 20.2956 4.06607 21.0587 4.62868 21.6213C5.19129 22.1839 5.95435 22.5 6.75 22.5H17.25C18.0456 22.5 18.8087 22.1839 19.3713 21.6213C19.9339 21.0587 20.25 20.2956 20.25 19.5V12.75C20.25 11.9544 19.9339 11.1913 19.3713 10.6287C18.8087 10.0661 18.0456 9.75 17.25 9.75V6.75C17.25 3.85 14.9 1.5 12 1.5ZM15.75 9.75V6.75C15.75 5.75544 15.3549 4.80161 14.6517 4.09835C13.9484 3.39509 12.9946 3 12 3C11.0054 3 10.0516 3.39509 9.34835 4.09835C8.64509 4.80161 8.25 5.75544 8.25 6.75V9.75H15.75Z",
3652
- fill: "currentColor"
3653
- }
3654
- ) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3655
- "path",
3656
- {
3657
- d: "M16.5 10.5V6.75C16.5 5.55653 16.0259 4.41193 15.182 3.56802C14.3381 2.72411 13.1935 2.25 12 2.25C10.8065 2.25 9.66193 2.72411 8.81802 3.56802C7.97411 4.41193 7.5 5.55653 7.5 6.75V10.5M6.75 21.75H17.25C17.8467 21.75 18.419 21.5129 18.841 21.091C19.2629 20.669 19.5 20.0967 19.5 19.5V12.75C19.5 12.1533 19.2629 11.581 18.841 11.159C18.419 10.7371 17.8467 10.5 17.25 10.5H6.75C6.15326 10.5 5.58097 10.7371 5.15901 11.159C4.73705 11.581 4.5 12.1533 4.5 12.75V19.5C4.5 20.0967 4.73705 20.669 5.15901 21.091C5.58097 21.5129 6.15326 21.75 6.75 21.75Z",
3658
- stroke: "currentColor",
3659
- strokeLinecap: "round",
3660
- strokeLinejoin: "round"
3661
- }
3662
- )
3663
- }
3664
- );
3665
- },
3666
- unlock: ({ className, fill }) => {
3667
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3668
- "svg",
3669
- {
3670
- width: "24",
3671
- height: "24",
3672
- viewBox: "0 0 24 24",
3673
- fill: "none",
3674
- xmlns: "http://www.w3.org/2000/svg",
3675
- className,
3676
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3677
- "path",
3678
- {
3679
- d: "M18 1.5C20.9 1.5 23.25 3.85 23.25 6.75V10.5C23.25 10.6989 23.171 10.8897 23.0303 11.0303C22.8897 11.171 22.6989 11.25 22.5 11.25C22.3011 11.25 22.1103 11.171 21.9697 11.0303C21.829 10.8897 21.75 10.6989 21.75 10.5V6.75C21.75 5.75544 21.3549 4.80161 20.6517 4.09835C19.9484 3.39509 18.9946 3 18 3C17.0054 3 16.0516 3.39509 15.3483 4.09835C14.6451 4.80161 14.25 5.75544 14.25 6.75V9.75C15.0456 9.75 15.8087 10.0661 16.3713 10.6287C16.9339 11.1913 17.25 11.9544 17.25 12.75V19.5C17.25 20.2956 16.9339 21.0587 16.3713 21.6213C15.8087 22.1839 15.0456 22.5 14.25 22.5H3.75C2.95435 22.5 2.19129 22.1839 1.62868 21.6213C1.06607 21.0587 0.75 20.2956 0.75 19.5V12.75C0.75 11.9544 1.06607 11.1913 1.62868 10.6287C2.19129 10.0661 2.95435 9.75 3.75 9.75H12.75V6.75C12.75 3.85 15.1 1.5 18 1.5Z",
3680
- fill: "currentColor"
3681
- }
3682
- ) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3683
- "path",
3684
- {
3685
- d: "M13.5 10.5V6.75C13.5 5.55653 13.9741 4.41193 14.818 3.56802C15.6619 2.72411 16.8065 2.25 18 2.25C19.1935 2.25 20.3381 2.72411 21.182 3.56802C22.0259 4.41193 22.5 5.55653 22.5 6.75V10.5M3.75 21.75H14.25C14.8467 21.75 15.419 21.5129 15.841 21.091C16.2629 20.669 16.5 20.0967 16.5 19.5V12.75C16.5 12.1533 16.2629 11.581 15.841 11.159C15.419 10.7371 14.8467 10.5 14.25 10.5H3.75C3.15326 10.5 2.58097 10.7371 2.15901 11.159C1.73705 11.581 1.5 12.1533 1.5 12.75V19.5C1.5 20.0967 1.73705 20.669 2.15901 21.091C2.58097 21.5129 3.15326 21.75 3.75 21.75Z",
3686
- stroke: "currentColor",
3687
- strokeLinecap: "round",
3688
- strokeLinejoin: "round"
3689
- }
3690
- )
3691
- }
3692
- );
3693
- },
3694
3677
  "pencil-square": ({ className, fill }) => {
3695
3678
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3696
3679
  "svg",
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-DX3KXNP6.mjs";
3
3
  import {
4
4
  table_default
5
- } from "../../chunk-UFAY3EIU.mjs";
5
+ } from "../../chunk-VIEBF2WH.mjs";
6
6
  import "../../chunk-MZ76AA76.mjs";
7
7
  import "../../chunk-6PN3DGOE.mjs";
8
8
  import {
@@ -11,16 +11,16 @@ import {
11
11
  import "../../chunk-DQRAFUDA.mjs";
12
12
  import "../../chunk-M37VBNB3.mjs";
13
13
  import "../../chunk-7B7LRG5J.mjs";
14
- import "../../chunk-LMHSWLH2.mjs";
14
+ import "../../chunk-45N5ZAIJ.mjs";
15
15
  import "../../chunk-F3HENRVM.mjs";
16
16
  import "../../chunk-2GCSFWHD.mjs";
17
- import "../../chunk-MVL7HJSH.mjs";
17
+ import "../../chunk-VFFLJN5N.mjs";
18
18
  import "../../chunk-QZ3LVYJW.mjs";
19
19
  import "../../chunk-XZ5DXOJQ.mjs";
20
20
  import "../../chunk-ZYIIXWVY.mjs";
21
- import "../../chunk-JP4TEWP7.mjs";
21
+ import "../../chunk-SCZB4QC7.mjs";
22
22
  import "../../chunk-E3G5QXSH.mjs";
23
- import "../../chunk-RRONV7YA.mjs";
23
+ import "../../chunk-6XFKID3T.mjs";
24
24
  import "../../chunk-CDXBML6O.mjs";
25
25
  import "../../chunk-27Y6K5NK.mjs";
26
26
  import "../../chunk-AC6TWLRT.mjs";
@@ -1971,6 +1971,48 @@ var template = {
1971
1971
  }
1972
1972
  );
1973
1973
  },
1974
+ lock: ({ className }) => {
1975
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1976
+ "svg",
1977
+ {
1978
+ width: "22",
1979
+ height: "22",
1980
+ viewBox: "0 0 22 22",
1981
+ fill: "none",
1982
+ xmlns: "http://www.w3.org/2000/svg",
1983
+ className,
1984
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1985
+ "path",
1986
+ {
1987
+ "fill-rule": "evenodd",
1988
+ "clip-rule": "evenodd",
1989
+ d: "M11 2.8335C9.81858 2.8335 8.68555 3.2637 7.85016 4.02948C7.01477 4.79525 6.54545 5.83386 6.54545 6.91683V9.25016C5.87036 9.25016 5.22291 9.49599 4.74555 9.93358C4.26818 10.3712 4 10.9647 4 11.5835V16.8335C4 17.4523 4.26818 18.0458 4.74555 18.4834C5.22291 18.921 5.87036 19.1668 6.54545 19.1668H15.4545C16.1296 19.1668 16.7771 18.921 17.2545 18.4834C17.7318 18.0458 18 17.4523 18 16.8335V11.5835C18 10.9647 17.7318 10.3712 17.2545 9.93358C16.7771 9.49599 16.1296 9.25016 15.4545 9.25016V6.91683C15.4545 4.66127 13.4606 2.8335 11 2.8335ZM14.1818 9.25016V6.91683C14.1818 6.14328 13.8466 5.40142 13.2499 4.85443C12.6532 4.30745 11.8439 4.00016 11 4.00016C10.1561 4.00016 9.34682 4.30745 8.75011 4.85443C8.15341 5.40142 7.81818 6.14328 7.81818 6.91683V9.25016H14.1818Z",
1990
+ fill: "currentColor"
1991
+ }
1992
+ )
1993
+ }
1994
+ );
1995
+ },
1996
+ unlock: ({ className }) => {
1997
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1998
+ "svg",
1999
+ {
2000
+ width: "22",
2001
+ height: "22",
2002
+ viewBox: "0 0 22 22",
2003
+ fill: "none",
2004
+ xmlns: "http://www.w3.org/2000/svg",
2005
+ className,
2006
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2007
+ "path",
2008
+ {
2009
+ d: "M15.3557 2.8335C17.4609 2.8335 19.1668 4.66127 19.1668 6.91683V9.8335C19.1668 9.98821 19.1095 10.1366 19.0074 10.246C18.9053 10.3554 18.7668 10.4168 18.6224 10.4168C18.478 10.4168 18.3395 10.3554 18.2374 10.246C18.1353 10.1366 18.0779 9.98821 18.0779 9.8335V6.91683C18.0779 6.14328 17.7911 5.40142 17.2806 4.85443C16.7701 4.30745 16.0777 4.00016 15.3557 4.00016C14.6337 4.00016 13.9413 4.30745 13.4308 4.85443C12.9203 5.40142 12.6335 6.14328 12.6335 6.91683V9.25016C13.2111 9.25016 13.765 9.49599 14.1734 9.93358C14.5818 10.3712 14.8113 10.9647 14.8113 11.5835V16.8335C14.8113 17.4523 14.5818 18.0458 14.1734 18.4834C13.765 18.921 13.2111 19.1668 12.6335 19.1668H5.01127C4.43369 19.1668 3.87976 18.921 3.47135 18.4834C3.06294 18.0458 2.8335 17.4523 2.8335 16.8335V11.5835C2.8335 10.9647 3.06294 10.3712 3.47135 9.93358C3.87976 9.49599 4.43369 9.25016 5.01127 9.25016H11.5446V6.91683C11.5446 4.66127 13.2505 2.8335 15.3557 2.8335Z",
2010
+ fill: "currentColor"
2011
+ }
2012
+ )
2013
+ }
2014
+ );
2015
+ },
1974
2016
  // ----------------------------------- old ---------------------------------
1975
2017
  // ** Status **
1976
2018
  check: ({ className, fill }) => {
@@ -3561,64 +3603,6 @@ var template = {
3561
3603
  }
3562
3604
  );
3563
3605
  },
3564
- lock: ({ className, fill }) => {
3565
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3566
- "svg",
3567
- {
3568
- width: "24",
3569
- height: "24",
3570
- viewBox: "0 0 24 24",
3571
- fill: "none",
3572
- xmlns: "http://www.w3.org/2000/svg",
3573
- className,
3574
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3575
- "path",
3576
- {
3577
- fillRule: "evenodd",
3578
- clipRule: "evenodd",
3579
- d: "M12 1.5C10.6076 1.5 9.27225 2.05312 8.28769 3.03769C7.30312 4.02226 6.75 5.35761 6.75 6.75V9.75C5.95435 9.75 5.19129 10.0661 4.62868 10.6287C4.06607 11.1913 3.75 11.9544 3.75 12.75V19.5C3.75 20.2956 4.06607 21.0587 4.62868 21.6213C5.19129 22.1839 5.95435 22.5 6.75 22.5H17.25C18.0456 22.5 18.8087 22.1839 19.3713 21.6213C19.9339 21.0587 20.25 20.2956 20.25 19.5V12.75C20.25 11.9544 19.9339 11.1913 19.3713 10.6287C18.8087 10.0661 18.0456 9.75 17.25 9.75V6.75C17.25 3.85 14.9 1.5 12 1.5ZM15.75 9.75V6.75C15.75 5.75544 15.3549 4.80161 14.6517 4.09835C13.9484 3.39509 12.9946 3 12 3C11.0054 3 10.0516 3.39509 9.34835 4.09835C8.64509 4.80161 8.25 5.75544 8.25 6.75V9.75H15.75Z",
3580
- fill: "currentColor"
3581
- }
3582
- ) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3583
- "path",
3584
- {
3585
- d: "M16.5 10.5V6.75C16.5 5.55653 16.0259 4.41193 15.182 3.56802C14.3381 2.72411 13.1935 2.25 12 2.25C10.8065 2.25 9.66193 2.72411 8.81802 3.56802C7.97411 4.41193 7.5 5.55653 7.5 6.75V10.5M6.75 21.75H17.25C17.8467 21.75 18.419 21.5129 18.841 21.091C19.2629 20.669 19.5 20.0967 19.5 19.5V12.75C19.5 12.1533 19.2629 11.581 18.841 11.159C18.419 10.7371 17.8467 10.5 17.25 10.5H6.75C6.15326 10.5 5.58097 10.7371 5.15901 11.159C4.73705 11.581 4.5 12.1533 4.5 12.75V19.5C4.5 20.0967 4.73705 20.669 5.15901 21.091C5.58097 21.5129 6.15326 21.75 6.75 21.75Z",
3586
- stroke: "currentColor",
3587
- strokeLinecap: "round",
3588
- strokeLinejoin: "round"
3589
- }
3590
- )
3591
- }
3592
- );
3593
- },
3594
- unlock: ({ className, fill }) => {
3595
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3596
- "svg",
3597
- {
3598
- width: "24",
3599
- height: "24",
3600
- viewBox: "0 0 24 24",
3601
- fill: "none",
3602
- xmlns: "http://www.w3.org/2000/svg",
3603
- className,
3604
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3605
- "path",
3606
- {
3607
- d: "M18 1.5C20.9 1.5 23.25 3.85 23.25 6.75V10.5C23.25 10.6989 23.171 10.8897 23.0303 11.0303C22.8897 11.171 22.6989 11.25 22.5 11.25C22.3011 11.25 22.1103 11.171 21.9697 11.0303C21.829 10.8897 21.75 10.6989 21.75 10.5V6.75C21.75 5.75544 21.3549 4.80161 20.6517 4.09835C19.9484 3.39509 18.9946 3 18 3C17.0054 3 16.0516 3.39509 15.3483 4.09835C14.6451 4.80161 14.25 5.75544 14.25 6.75V9.75C15.0456 9.75 15.8087 10.0661 16.3713 10.6287C16.9339 11.1913 17.25 11.9544 17.25 12.75V19.5C17.25 20.2956 16.9339 21.0587 16.3713 21.6213C15.8087 22.1839 15.0456 22.5 14.25 22.5H3.75C2.95435 22.5 2.19129 22.1839 1.62868 21.6213C1.06607 21.0587 0.75 20.2956 0.75 19.5V12.75C0.75 11.9544 1.06607 11.1913 1.62868 10.6287C2.19129 10.0661 2.95435 9.75 3.75 9.75H12.75V6.75C12.75 3.85 15.1 1.5 18 1.5Z",
3608
- fill: "currentColor"
3609
- }
3610
- ) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3611
- "path",
3612
- {
3613
- d: "M13.5 10.5V6.75C13.5 5.55653 13.9741 4.41193 14.818 3.56802C15.6619 2.72411 16.8065 2.25 18 2.25C19.1935 2.25 20.3381 2.72411 21.182 3.56802C22.0259 4.41193 22.5 5.55653 22.5 6.75V10.5M3.75 21.75H14.25C14.8467 21.75 15.419 21.5129 15.841 21.091C16.2629 20.669 16.5 20.0967 16.5 19.5V12.75C16.5 12.1533 16.2629 11.581 15.841 11.159C15.419 10.7371 14.8467 10.5 14.25 10.5H3.75C3.15326 10.5 2.58097 10.7371 2.15901 11.159C1.73705 11.581 1.5 12.1533 1.5 12.75V19.5C1.5 20.0967 1.73705 20.669 2.15901 21.091C2.58097 21.5129 3.15326 21.75 3.75 21.75Z",
3614
- stroke: "currentColor",
3615
- strokeLinecap: "round",
3616
- strokeLinejoin: "round"
3617
- }
3618
- )
3619
- }
3620
- );
3621
- },
3622
3606
  "pencil-square": ({ className, fill }) => {
3623
3607
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3624
3608
  "svg",
@@ -6463,17 +6447,16 @@ var TableBody = ({
6463
6447
  className
6464
6448
  }) => {
6465
6449
  const renderTdSkeleton = (key, column) => {
6466
- const isCheckbox = key.includes("checkbox");
6467
6450
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), style: column ? getCellStyle(column) : {}, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
6468
6451
  };
6469
- const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
6452
+ const renderCheckboxCell = (rowId, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
6470
6453
  "td",
6471
6454
  {
6472
6455
  className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"),
6473
6456
  style: { width: "40px", minWidth: "40px", textAlign: "center" },
6474
6457
  children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
6475
6458
  },
6476
- `checkbox-${rowId}`
6459
+ `checkbox-${rowId}-${rowIndex}`
6477
6460
  );
6478
6461
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
6479
6462
  columns.map((column, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`, column)),
@@ -6498,13 +6481,13 @@ var TableBody = ({
6498
6481
  style: getCellStyle(column),
6499
6482
  children: content
6500
6483
  },
6501
- `${row.id}-${column.field}-${colIdx}`
6484
+ `${row.id}-${column.field}-${colIdx}-${rowIndex}`
6502
6485
  );
6503
6486
  }),
6504
- rowCheckbox && renderCheckboxCell(row.id)
6487
+ rowCheckbox && renderCheckboxCell(row.id, rowIndex)
6505
6488
  ]
6506
6489
  },
6507
- row.id
6490
+ `${row.id}-${rowIndex}`
6508
6491
  );
6509
6492
  const renderRows = () => {
6510
6493
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, {});
@@ -1,22 +1,22 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-UFAY3EIU.mjs";
4
+ } from "../../chunk-VIEBF2WH.mjs";
5
5
  import "../../chunk-MZ76AA76.mjs";
6
6
  import "../../chunk-6PN3DGOE.mjs";
7
7
  import "../../chunk-DQRAFUDA.mjs";
8
8
  import "../../chunk-M37VBNB3.mjs";
9
9
  import "../../chunk-7B7LRG5J.mjs";
10
- import "../../chunk-LMHSWLH2.mjs";
10
+ import "../../chunk-45N5ZAIJ.mjs";
11
11
  import "../../chunk-F3HENRVM.mjs";
12
12
  import "../../chunk-2GCSFWHD.mjs";
13
- import "../../chunk-MVL7HJSH.mjs";
13
+ import "../../chunk-VFFLJN5N.mjs";
14
14
  import "../../chunk-QZ3LVYJW.mjs";
15
15
  import "../../chunk-XZ5DXOJQ.mjs";
16
16
  import "../../chunk-ZYIIXWVY.mjs";
17
- import "../../chunk-JP4TEWP7.mjs";
17
+ import "../../chunk-SCZB4QC7.mjs";
18
18
  import "../../chunk-E3G5QXSH.mjs";
19
- import "../../chunk-RRONV7YA.mjs";
19
+ import "../../chunk-6XFKID3T.mjs";
20
20
  import "../../chunk-CDXBML6O.mjs";
21
21
  import "../../chunk-27Y6K5NK.mjs";
22
22
  import "../../chunk-AC6TWLRT.mjs";
@@ -707,17 +707,16 @@ var TableBody = ({
707
707
  className
708
708
  }) => {
709
709
  const renderTdSkeleton = (key, column) => {
710
- const isCheckbox = key.includes("checkbox");
711
710
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), style: column ? getCellStyle(column) : {}, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
712
711
  };
713
- const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
712
+ const renderCheckboxCell = (rowId, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
714
713
  "td",
715
714
  {
716
715
  className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"),
717
716
  style: { width: "40px", minWidth: "40px", textAlign: "center" },
718
717
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
719
718
  },
720
- `checkbox-${rowId}`
719
+ `checkbox-${rowId}-${rowIndex}`
721
720
  );
722
721
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
723
722
  columns.map((column, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`, column)),
@@ -742,13 +741,13 @@ var TableBody = ({
742
741
  style: getCellStyle(column),
743
742
  children: content
744
743
  },
745
- `${row.id}-${column.field}-${colIdx}`
744
+ `${row.id}-${column.field}-${colIdx}-${rowIndex}`
746
745
  );
747
746
  }),
748
- rowCheckbox && renderCheckboxCell(row.id)
747
+ rowCheckbox && renderCheckboxCell(row.id, rowIndex)
749
748
  ]
750
749
  },
751
- row.id
750
+ `${row.id}-${rowIndex}`
752
751
  );
753
752
  const renderRows = () => {
754
753
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
@@ -1987,6 +1986,48 @@ var template = {
1987
1986
  }
1988
1987
  );
1989
1988
  },
1989
+ lock: ({ className }) => {
1990
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1991
+ "svg",
1992
+ {
1993
+ width: "22",
1994
+ height: "22",
1995
+ viewBox: "0 0 22 22",
1996
+ fill: "none",
1997
+ xmlns: "http://www.w3.org/2000/svg",
1998
+ className,
1999
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2000
+ "path",
2001
+ {
2002
+ "fill-rule": "evenodd",
2003
+ "clip-rule": "evenodd",
2004
+ d: "M11 2.8335C9.81858 2.8335 8.68555 3.2637 7.85016 4.02948C7.01477 4.79525 6.54545 5.83386 6.54545 6.91683V9.25016C5.87036 9.25016 5.22291 9.49599 4.74555 9.93358C4.26818 10.3712 4 10.9647 4 11.5835V16.8335C4 17.4523 4.26818 18.0458 4.74555 18.4834C5.22291 18.921 5.87036 19.1668 6.54545 19.1668H15.4545C16.1296 19.1668 16.7771 18.921 17.2545 18.4834C17.7318 18.0458 18 17.4523 18 16.8335V11.5835C18 10.9647 17.7318 10.3712 17.2545 9.93358C16.7771 9.49599 16.1296 9.25016 15.4545 9.25016V6.91683C15.4545 4.66127 13.4606 2.8335 11 2.8335ZM14.1818 9.25016V6.91683C14.1818 6.14328 13.8466 5.40142 13.2499 4.85443C12.6532 4.30745 11.8439 4.00016 11 4.00016C10.1561 4.00016 9.34682 4.30745 8.75011 4.85443C8.15341 5.40142 7.81818 6.14328 7.81818 6.91683V9.25016H14.1818Z",
2005
+ fill: "currentColor"
2006
+ }
2007
+ )
2008
+ }
2009
+ );
2010
+ },
2011
+ unlock: ({ className }) => {
2012
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2013
+ "svg",
2014
+ {
2015
+ width: "22",
2016
+ height: "22",
2017
+ viewBox: "0 0 22 22",
2018
+ fill: "none",
2019
+ xmlns: "http://www.w3.org/2000/svg",
2020
+ className,
2021
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2022
+ "path",
2023
+ {
2024
+ d: "M15.3557 2.8335C17.4609 2.8335 19.1668 4.66127 19.1668 6.91683V9.8335C19.1668 9.98821 19.1095 10.1366 19.0074 10.246C18.9053 10.3554 18.7668 10.4168 18.6224 10.4168C18.478 10.4168 18.3395 10.3554 18.2374 10.246C18.1353 10.1366 18.0779 9.98821 18.0779 9.8335V6.91683C18.0779 6.14328 17.7911 5.40142 17.2806 4.85443C16.7701 4.30745 16.0777 4.00016 15.3557 4.00016C14.6337 4.00016 13.9413 4.30745 13.4308 4.85443C12.9203 5.40142 12.6335 6.14328 12.6335 6.91683V9.25016C13.2111 9.25016 13.765 9.49599 14.1734 9.93358C14.5818 10.3712 14.8113 10.9647 14.8113 11.5835V16.8335C14.8113 17.4523 14.5818 18.0458 14.1734 18.4834C13.765 18.921 13.2111 19.1668 12.6335 19.1668H5.01127C4.43369 19.1668 3.87976 18.921 3.47135 18.4834C3.06294 18.0458 2.8335 17.4523 2.8335 16.8335V11.5835C2.8335 10.9647 3.06294 10.3712 3.47135 9.93358C3.87976 9.49599 4.43369 9.25016 5.01127 9.25016H11.5446V6.91683C11.5446 4.66127 13.2505 2.8335 15.3557 2.8335Z",
2025
+ fill: "currentColor"
2026
+ }
2027
+ )
2028
+ }
2029
+ );
2030
+ },
1990
2031
  // ----------------------------------- old ---------------------------------
1991
2032
  // ** Status **
1992
2033
  check: ({ className, fill }) => {
@@ -3577,64 +3618,6 @@ var template = {
3577
3618
  }
3578
3619
  );
3579
3620
  },
3580
- lock: ({ className, fill }) => {
3581
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3582
- "svg",
3583
- {
3584
- width: "24",
3585
- height: "24",
3586
- viewBox: "0 0 24 24",
3587
- fill: "none",
3588
- xmlns: "http://www.w3.org/2000/svg",
3589
- className,
3590
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3591
- "path",
3592
- {
3593
- fillRule: "evenodd",
3594
- clipRule: "evenodd",
3595
- d: "M12 1.5C10.6076 1.5 9.27225 2.05312 8.28769 3.03769C7.30312 4.02226 6.75 5.35761 6.75 6.75V9.75C5.95435 9.75 5.19129 10.0661 4.62868 10.6287C4.06607 11.1913 3.75 11.9544 3.75 12.75V19.5C3.75 20.2956 4.06607 21.0587 4.62868 21.6213C5.19129 22.1839 5.95435 22.5 6.75 22.5H17.25C18.0456 22.5 18.8087 22.1839 19.3713 21.6213C19.9339 21.0587 20.25 20.2956 20.25 19.5V12.75C20.25 11.9544 19.9339 11.1913 19.3713 10.6287C18.8087 10.0661 18.0456 9.75 17.25 9.75V6.75C17.25 3.85 14.9 1.5 12 1.5ZM15.75 9.75V6.75C15.75 5.75544 15.3549 4.80161 14.6517 4.09835C13.9484 3.39509 12.9946 3 12 3C11.0054 3 10.0516 3.39509 9.34835 4.09835C8.64509 4.80161 8.25 5.75544 8.25 6.75V9.75H15.75Z",
3596
- fill: "currentColor"
3597
- }
3598
- ) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3599
- "path",
3600
- {
3601
- d: "M16.5 10.5V6.75C16.5 5.55653 16.0259 4.41193 15.182 3.56802C14.3381 2.72411 13.1935 2.25 12 2.25C10.8065 2.25 9.66193 2.72411 8.81802 3.56802C7.97411 4.41193 7.5 5.55653 7.5 6.75V10.5M6.75 21.75H17.25C17.8467 21.75 18.419 21.5129 18.841 21.091C19.2629 20.669 19.5 20.0967 19.5 19.5V12.75C19.5 12.1533 19.2629 11.581 18.841 11.159C18.419 10.7371 17.8467 10.5 17.25 10.5H6.75C6.15326 10.5 5.58097 10.7371 5.15901 11.159C4.73705 11.581 4.5 12.1533 4.5 12.75V19.5C4.5 20.0967 4.73705 20.669 5.15901 21.091C5.58097 21.5129 6.15326 21.75 6.75 21.75Z",
3602
- stroke: "currentColor",
3603
- strokeLinecap: "round",
3604
- strokeLinejoin: "round"
3605
- }
3606
- )
3607
- }
3608
- );
3609
- },
3610
- unlock: ({ className, fill }) => {
3611
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3612
- "svg",
3613
- {
3614
- width: "24",
3615
- height: "24",
3616
- viewBox: "0 0 24 24",
3617
- fill: "none",
3618
- xmlns: "http://www.w3.org/2000/svg",
3619
- className,
3620
- children: fill ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3621
- "path",
3622
- {
3623
- d: "M18 1.5C20.9 1.5 23.25 3.85 23.25 6.75V10.5C23.25 10.6989 23.171 10.8897 23.0303 11.0303C22.8897 11.171 22.6989 11.25 22.5 11.25C22.3011 11.25 22.1103 11.171 21.9697 11.0303C21.829 10.8897 21.75 10.6989 21.75 10.5V6.75C21.75 5.75544 21.3549 4.80161 20.6517 4.09835C19.9484 3.39509 18.9946 3 18 3C17.0054 3 16.0516 3.39509 15.3483 4.09835C14.6451 4.80161 14.25 5.75544 14.25 6.75V9.75C15.0456 9.75 15.8087 10.0661 16.3713 10.6287C16.9339 11.1913 17.25 11.9544 17.25 12.75V19.5C17.25 20.2956 16.9339 21.0587 16.3713 21.6213C15.8087 22.1839 15.0456 22.5 14.25 22.5H3.75C2.95435 22.5 2.19129 22.1839 1.62868 21.6213C1.06607 21.0587 0.75 20.2956 0.75 19.5V12.75C0.75 11.9544 1.06607 11.1913 1.62868 10.6287C2.19129 10.0661 2.95435 9.75 3.75 9.75H12.75V6.75C12.75 3.85 15.1 1.5 18 1.5Z",
3624
- fill: "currentColor"
3625
- }
3626
- ) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3627
- "path",
3628
- {
3629
- d: "M13.5 10.5V6.75C13.5 5.55653 13.9741 4.41193 14.818 3.56802C15.6619 2.72411 16.8065 2.25 18 2.25C19.1935 2.25 20.3381 2.72411 21.182 3.56802C22.0259 4.41193 22.5 5.55653 22.5 6.75V10.5M3.75 21.75H14.25C14.8467 21.75 15.419 21.5129 15.841 21.091C16.2629 20.669 16.5 20.0967 16.5 19.5V12.75C16.5 12.1533 16.2629 11.581 15.841 11.159C15.419 10.7371 14.8467 10.5 14.25 10.5H3.75C3.15326 10.5 2.58097 10.7371 2.15901 11.159C1.73705 11.581 1.5 12.1533 1.5 12.75V19.5C1.5 20.0967 1.73705 20.669 2.15901 21.091C2.58097 21.5129 3.15326 21.75 3.75 21.75Z",
3630
- stroke: "currentColor",
3631
- strokeLinecap: "round",
3632
- strokeLinejoin: "round"
3633
- }
3634
- )
3635
- }
3636
- );
3637
- },
3638
3621
  "pencil-square": ({ className, fill }) => {
3639
3622
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3640
3623
  "svg",