@deepnoid/ui 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +166 -156
- package/dist/{chunk-LHDOM76J.mjs → chunk-2KAR2PTQ.mjs} +1 -1
- package/dist/{chunk-QYJORE4E.mjs → chunk-4GLKWK3Z.mjs} +1 -1
- package/dist/{chunk-H5DOTBKA.mjs → chunk-56RN6YOP.mjs} +1 -1
- package/dist/{chunk-RMTHVIPI.mjs → chunk-57WBWSSL.mjs} +2 -2
- package/dist/{chunk-ILFY6MZ6.mjs → chunk-6G7GOPSB.mjs} +5 -5
- package/dist/{chunk-G3LQ3ZX6.mjs → chunk-72JRFZCH.mjs} +4 -4
- package/dist/{chunk-PI6Q5JDU.mjs → chunk-7R4NOC2G.mjs} +11 -11
- package/dist/{chunk-6BBDU4HW.mjs → chunk-7R4QY3TA.mjs} +1 -1
- package/dist/{chunk-M5KV3WZ2.mjs → chunk-A7OXEUCC.mjs} +29 -37
- package/dist/{chunk-W55GVLPJ.mjs → chunk-AHTNXGAY.mjs} +1 -1
- package/dist/{chunk-M2IRRTFM.mjs → chunk-D7WPZ5C6.mjs} +17 -14
- package/dist/{chunk-RRI3I435.mjs → chunk-DADMVOYI.mjs} +1 -1
- package/dist/{chunk-ASQAVFM5.mjs → chunk-GQS6V47G.mjs} +1 -1
- package/dist/{chunk-C62UPLCC.mjs → chunk-GXWSYM7Z.mjs} +2 -2
- package/dist/{chunk-OHDRKCOC.mjs → chunk-KFBG45BI.mjs} +43 -26
- package/dist/chunk-KSZEUKBY.mjs +143 -0
- package/dist/{chunk-KHI2DZTG.mjs → chunk-LP724WOP.mjs} +4 -4
- package/dist/{chunk-BWURZ3WF.mjs → chunk-NEUCUEIG.mjs} +2 -2
- package/dist/{chunk-DPCE4DLW.mjs → chunk-NJ4PBW65.mjs} +1 -1
- package/dist/chunk-QRAHATAM.mjs +380 -0
- package/dist/{chunk-N4F3R6HG.mjs → chunk-WB24YDE2.mjs} +1 -1
- package/dist/{chunk-N4UFXIUC.mjs → chunk-YQGZRSUQ.mjs} +1 -1
- package/dist/components/avatar/avatar.js +29 -37
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +29 -37
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.mts +0 -3
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/dist/components/breadcrumb/breadcrumb.js +257 -66
- package/dist/components/breadcrumb/breadcrumb.mjs +13 -3
- package/dist/components/breadcrumb/index.js +257 -66
- package/dist/components/breadcrumb/index.mjs +13 -3
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-group.mjs +1 -1
- package/dist/components/button/button.js +29 -37
- package/dist/components/button/button.mjs +4 -4
- package/dist/components/button/icon-button.d.mts +157 -0
- package/dist/components/button/icon-button.d.ts +157 -0
- package/dist/components/button/icon-button.js +4674 -0
- package/dist/components/button/icon-button.mjs +16 -0
- package/dist/components/button/index.d.mts +5 -0
- package/dist/components/button/index.d.ts +5 -0
- package/dist/components/button/index.js +566 -45
- package/dist/components/button/index.mjs +16 -7
- package/dist/components/button/text-button.d.mts +146 -0
- package/dist/components/button/text-button.d.ts +146 -0
- package/dist/components/button/text-button.js +507 -0
- package/dist/components/button/text-button.mjs +11 -0
- package/dist/components/chip/chip.js +29 -37
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +29 -37
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/dateTimePicker/calendar.js +29 -37
- package/dist/components/dateTimePicker/calendar.mjs +3 -3
- package/dist/components/dateTimePicker/dateTimePicker.js +29 -37
- package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
- package/dist/components/dateTimePicker/index.js +29 -37
- package/dist/components/dateTimePicker/index.mjs +7 -7
- package/dist/components/dateTimePicker/timePicker.js +29 -37
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/icon/Icon.d.mts +4 -4
- package/dist/components/icon/Icon.d.ts +4 -4
- package/dist/components/icon/Icon.js +29 -37
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +29 -37
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -1
- package/dist/components/icon/template.d.ts +1 -1
- package/dist/components/icon/template.js +29 -37
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +29 -37
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +29 -37
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +29 -37
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +29 -37
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +29 -37
- package/dist/components/modal/index.mjs +10 -7
- package/dist/components/modal/modal.js +29 -37
- package/dist/components/modal/modal.mjs +10 -7
- package/dist/components/pagination/index.js +36 -44
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +36 -44
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +29 -37
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.js +29 -37
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.js +29 -37
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/table/index.js +55 -60
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.js +17 -14
- package/dist/components/table/table-body.mjs +1 -1
- package/dist/components/table/table.js +55 -60
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/toast/index.js +29 -37
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +29 -37
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +29 -37
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1115 -619
- package/dist/index.mjs +48 -40
- package/package.json +1 -1
- /package/dist/{chunk-VUYUQGLF.mjs → chunk-MY5U63QO.mjs} +0 -0
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import "../../chunk-QCEKPS7U.mjs";
|
|
3
3
|
import {
|
|
4
4
|
select_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-NEUCUEIG.mjs";
|
|
6
|
+
import "../../chunk-NJ4PBW65.mjs";
|
|
7
7
|
import "../../chunk-S3QS5B7F.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-DADMVOYI.mjs";
|
|
10
|
+
import "../../chunk-A7OXEUCC.mjs";
|
|
11
11
|
import "../../chunk-2ZT6V4QR.mjs";
|
|
12
12
|
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-AC6TWLRT.mjs";
|
|
@@ -732,6 +732,35 @@ var template = {
|
|
|
732
732
|
}
|
|
733
733
|
);
|
|
734
734
|
},
|
|
735
|
+
home: ({ className }) => {
|
|
736
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
737
|
+
"svg",
|
|
738
|
+
{
|
|
739
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
740
|
+
width: "18",
|
|
741
|
+
height: "18",
|
|
742
|
+
viewBox: "0 0 18 18",
|
|
743
|
+
fill: "none",
|
|
744
|
+
className,
|
|
745
|
+
children: [
|
|
746
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
747
|
+
"path",
|
|
748
|
+
{
|
|
749
|
+
d: "M8.60249 2.88071C8.70796 2.77538 8.85092 2.71621 8.99999 2.71621C9.14905 2.71621 9.29202 2.77538 9.39749 2.88071L15.915 9.39821C15.9669 9.45191 16.029 9.49474 16.0976 9.52418C16.1663 9.55363 16.2401 9.56911 16.3148 9.56973C16.3895 9.57034 16.4635 9.55607 16.5326 9.52776C16.6018 9.49944 16.6645 9.45764 16.7173 9.4048C16.7701 9.35196 16.8119 9.28914 16.8401 9.22C16.8684 9.15086 16.8826 9.07678 16.8819 9.00209C16.8812 8.92741 16.8656 8.8536 16.8361 8.78499C16.8066 8.71638 16.7637 8.65433 16.71 8.60246L10.1932 2.08496C10.0365 1.92826 9.85051 1.80396 9.64577 1.71915C9.44103 1.63435 9.22159 1.5907 8.99999 1.5907C8.77838 1.5907 8.55894 1.63435 8.3542 1.71915C8.14947 1.80396 7.96344 1.92826 7.80674 2.08496L1.28924 8.60246C1.23554 8.65438 1.19272 8.71647 1.16327 8.78511C1.13382 8.85375 1.11834 8.92757 1.11773 9.00225C1.11711 9.07694 1.13138 9.15101 1.15969 9.22012C1.18801 9.28924 1.22981 9.35202 1.28265 9.40481C1.33549 9.4576 1.39831 9.49934 1.46745 9.52759C1.53659 9.55584 1.61067 9.57004 1.68536 9.56935C1.76005 9.56867 1.83385 9.55312 1.90246 9.5236C1.97108 9.49409 2.03312 9.45121 2.08499 9.39746L8.60249 2.88071Z",
|
|
750
|
+
fill: "currentColor"
|
|
751
|
+
}
|
|
752
|
+
),
|
|
753
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
754
|
+
"path",
|
|
755
|
+
{
|
|
756
|
+
d: "M9 4.07397L15.1193 10.1932C15.1418 10.2157 15.1643 10.2367 15.1875 10.2577V14.9062C15.1875 15.6825 14.5575 16.3125 13.7812 16.3125H11.25C11.1008 16.3125 10.9577 16.2532 10.8523 16.1477C10.7468 16.0422 10.6875 15.8992 10.6875 15.75V12.375C10.6875 12.2258 10.6282 12.0827 10.5227 11.9772C10.4173 11.8717 10.2742 11.8125 10.125 11.8125H7.875C7.72582 11.8125 7.58274 11.8717 7.47725 11.9772C7.37176 12.0827 7.3125 12.2258 7.3125 12.375V15.75C7.3125 15.8992 7.25324 16.0422 7.14775 16.1477C7.04226 16.2532 6.89918 16.3125 6.75 16.3125H4.21875C3.84579 16.3125 3.4881 16.1643 3.22438 15.9006C2.96066 15.6369 2.8125 15.2792 2.8125 14.9062V10.2577C2.83583 10.2369 2.85859 10.2153 2.88075 10.1932L9 4.07397Z",
|
|
757
|
+
fill: "currentColor"
|
|
758
|
+
}
|
|
759
|
+
)
|
|
760
|
+
]
|
|
761
|
+
}
|
|
762
|
+
);
|
|
763
|
+
},
|
|
735
764
|
// ----------------------------------- old ---------------------------------
|
|
736
765
|
// ** Status **
|
|
737
766
|
plus: ({ className, fill }) => {
|
|
@@ -1188,43 +1217,6 @@ var template = {
|
|
|
1188
1217
|
// );
|
|
1189
1218
|
// },
|
|
1190
1219
|
// ** Common **
|
|
1191
|
-
home: ({ className, fill }) => {
|
|
1192
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1193
|
-
"svg",
|
|
1194
|
-
{
|
|
1195
|
-
width: "24",
|
|
1196
|
-
height: "24",
|
|
1197
|
-
viewBox: "0 0 24 24",
|
|
1198
|
-
fill: "none",
|
|
1199
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1200
|
-
className,
|
|
1201
|
-
children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
1202
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1203
|
-
"path",
|
|
1204
|
-
{
|
|
1205
|
-
d: "M11.4699 3.84111C11.6106 3.70066 11.8012 3.62177 11.9999 3.62177C12.1987 3.62177 12.3893 3.70066 12.5299 3.84111L21.2199 12.5311C21.2892 12.6027 21.3719 12.6598 21.4635 12.6991C21.555 12.7383 21.6534 12.759 21.753 12.7598C21.8526 12.7606 21.9513 12.7416 22.0435 12.7038C22.1356 12.6661 22.2194 12.6104 22.2897 12.5399C22.3601 12.4694 22.4158 12.3857 22.4534 12.2935C22.4911 12.2013 22.51 12.1025 22.5091 12.003C22.5082 11.9034 22.4875 11.805 22.4481 11.7135C22.4088 11.622 22.3516 11.5393 22.2799 11.4701L13.5909 2.78011C13.382 2.57118 13.134 2.40544 12.861 2.29237C12.588 2.17929 12.2954 2.12109 11.9999 2.12109C11.7045 2.12109 11.4119 2.17929 11.1389 2.29237C10.8659 2.40544 10.6179 2.57118 10.4089 2.78011L1.71894 11.4701C1.64734 11.5393 1.59025 11.6221 1.55098 11.7136C1.51172 11.8052 1.49108 11.9036 1.49026 12.0032C1.48944 12.1028 1.50846 12.2015 1.54622 12.2937C1.58397 12.3858 1.6397 12.4695 1.71015 12.5399C1.78061 12.6103 1.86437 12.6659 1.95656 12.7036C2.04875 12.7413 2.14752 12.7602 2.2471 12.7593C2.34669 12.7584 2.44509 12.7377 2.53658 12.6983C2.62806 12.659 2.71079 12.6018 2.77994 12.5301L11.4699 3.84111Z",
|
|
1206
|
-
fill: "currentColor"
|
|
1207
|
-
}
|
|
1208
|
-
),
|
|
1209
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1210
|
-
"path",
|
|
1211
|
-
{
|
|
1212
|
-
d: "M12 5.43213L20.159 13.5911C20.189 13.6211 20.219 13.6491 20.25 13.6771V19.8751C20.25 20.9101 19.41 21.7501 18.375 21.7501H15C14.8011 21.7501 14.6103 21.6711 14.4697 21.5305C14.329 21.3898 14.25 21.199 14.25 21.0001V16.5001C14.25 16.3012 14.171 16.1105 14.0303 15.9698C13.8897 15.8291 13.6989 15.7501 13.5 15.7501H10.5C10.3011 15.7501 10.1103 15.8291 9.96967 15.9698C9.82902 16.1105 9.75 16.3012 9.75 16.5001V21.0001C9.75 21.199 9.67098 21.3898 9.53033 21.5305C9.38968 21.6711 9.19891 21.7501 9 21.7501H5.625C5.12772 21.7501 4.65081 21.5526 4.29917 21.201C3.94754 20.8493 3.75 20.3724 3.75 19.8751V13.6771C3.78111 13.6493 3.81146 13.6206 3.841 13.5911L12 5.43213Z",
|
|
1213
|
-
fill: "currentColor"
|
|
1214
|
-
}
|
|
1215
|
-
)
|
|
1216
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1217
|
-
"path",
|
|
1218
|
-
{
|
|
1219
|
-
d: "M2.25 12.0001L11.204 3.04507C11.644 2.60607 12.356 2.60607 12.795 3.04507L21.75 12.0001M4.5 9.75007V19.8751C4.5 20.4961 5.004 21.0001 5.625 21.0001H9.75V16.1251C9.75 15.5041 10.254 15.0001 10.875 15.0001H13.125C13.746 15.0001 14.25 15.5041 14.25 16.1251V21.0001H18.375C18.996 21.0001 19.5 20.4961 19.5 19.8751V9.75007M8.25 21.0001H16.5",
|
|
1220
|
-
stroke: "currentColor",
|
|
1221
|
-
strokeLinecap: "round",
|
|
1222
|
-
strokeLinejoin: "round"
|
|
1223
|
-
}
|
|
1224
|
-
)
|
|
1225
|
-
}
|
|
1226
|
-
);
|
|
1227
|
-
},
|
|
1228
1220
|
camera: ({ className, fill }) => {
|
|
1229
1221
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1230
1222
|
"svg",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
option_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-NJ4PBW65.mjs";
|
|
5
5
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-DADMVOYI.mjs";
|
|
7
|
+
import "../../chunk-A7OXEUCC.mjs";
|
|
8
8
|
import "../../chunk-2ZT6V4QR.mjs";
|
|
9
9
|
import "../../chunk-AC6TWLRT.mjs";
|
|
10
10
|
export {
|
|
@@ -810,6 +810,35 @@ var template = {
|
|
|
810
810
|
}
|
|
811
811
|
);
|
|
812
812
|
},
|
|
813
|
+
home: ({ className }) => {
|
|
814
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
815
|
+
"svg",
|
|
816
|
+
{
|
|
817
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
818
|
+
width: "18",
|
|
819
|
+
height: "18",
|
|
820
|
+
viewBox: "0 0 18 18",
|
|
821
|
+
fill: "none",
|
|
822
|
+
className,
|
|
823
|
+
children: [
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
825
|
+
"path",
|
|
826
|
+
{
|
|
827
|
+
d: "M8.60249 2.88071C8.70796 2.77538 8.85092 2.71621 8.99999 2.71621C9.14905 2.71621 9.29202 2.77538 9.39749 2.88071L15.915 9.39821C15.9669 9.45191 16.029 9.49474 16.0976 9.52418C16.1663 9.55363 16.2401 9.56911 16.3148 9.56973C16.3895 9.57034 16.4635 9.55607 16.5326 9.52776C16.6018 9.49944 16.6645 9.45764 16.7173 9.4048C16.7701 9.35196 16.8119 9.28914 16.8401 9.22C16.8684 9.15086 16.8826 9.07678 16.8819 9.00209C16.8812 8.92741 16.8656 8.8536 16.8361 8.78499C16.8066 8.71638 16.7637 8.65433 16.71 8.60246L10.1932 2.08496C10.0365 1.92826 9.85051 1.80396 9.64577 1.71915C9.44103 1.63435 9.22159 1.5907 8.99999 1.5907C8.77838 1.5907 8.55894 1.63435 8.3542 1.71915C8.14947 1.80396 7.96344 1.92826 7.80674 2.08496L1.28924 8.60246C1.23554 8.65438 1.19272 8.71647 1.16327 8.78511C1.13382 8.85375 1.11834 8.92757 1.11773 9.00225C1.11711 9.07694 1.13138 9.15101 1.15969 9.22012C1.18801 9.28924 1.22981 9.35202 1.28265 9.40481C1.33549 9.4576 1.39831 9.49934 1.46745 9.52759C1.53659 9.55584 1.61067 9.57004 1.68536 9.56935C1.76005 9.56867 1.83385 9.55312 1.90246 9.5236C1.97108 9.49409 2.03312 9.45121 2.08499 9.39746L8.60249 2.88071Z",
|
|
828
|
+
fill: "currentColor"
|
|
829
|
+
}
|
|
830
|
+
),
|
|
831
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
832
|
+
"path",
|
|
833
|
+
{
|
|
834
|
+
d: "M9 4.07397L15.1193 10.1932C15.1418 10.2157 15.1643 10.2367 15.1875 10.2577V14.9062C15.1875 15.6825 14.5575 16.3125 13.7812 16.3125H11.25C11.1008 16.3125 10.9577 16.2532 10.8523 16.1477C10.7468 16.0422 10.6875 15.8992 10.6875 15.75V12.375C10.6875 12.2258 10.6282 12.0827 10.5227 11.9772C10.4173 11.8717 10.2742 11.8125 10.125 11.8125H7.875C7.72582 11.8125 7.58274 11.8717 7.47725 11.9772C7.37176 12.0827 7.3125 12.2258 7.3125 12.375V15.75C7.3125 15.8992 7.25324 16.0422 7.14775 16.1477C7.04226 16.2532 6.89918 16.3125 6.75 16.3125H4.21875C3.84579 16.3125 3.4881 16.1643 3.22438 15.9006C2.96066 15.6369 2.8125 15.2792 2.8125 14.9062V10.2577C2.83583 10.2369 2.85859 10.2153 2.88075 10.1932L9 4.07397Z",
|
|
835
|
+
fill: "currentColor"
|
|
836
|
+
}
|
|
837
|
+
)
|
|
838
|
+
]
|
|
839
|
+
}
|
|
840
|
+
);
|
|
841
|
+
},
|
|
813
842
|
// ----------------------------------- old ---------------------------------
|
|
814
843
|
// ** Status **
|
|
815
844
|
plus: ({ className, fill }) => {
|
|
@@ -1266,43 +1295,6 @@ var template = {
|
|
|
1266
1295
|
// );
|
|
1267
1296
|
// },
|
|
1268
1297
|
// ** Common **
|
|
1269
|
-
home: ({ className, fill }) => {
|
|
1270
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1271
|
-
"svg",
|
|
1272
|
-
{
|
|
1273
|
-
width: "24",
|
|
1274
|
-
height: "24",
|
|
1275
|
-
viewBox: "0 0 24 24",
|
|
1276
|
-
fill: "none",
|
|
1277
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1278
|
-
className,
|
|
1279
|
-
children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
1280
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1281
|
-
"path",
|
|
1282
|
-
{
|
|
1283
|
-
d: "M11.4699 3.84111C11.6106 3.70066 11.8012 3.62177 11.9999 3.62177C12.1987 3.62177 12.3893 3.70066 12.5299 3.84111L21.2199 12.5311C21.2892 12.6027 21.3719 12.6598 21.4635 12.6991C21.555 12.7383 21.6534 12.759 21.753 12.7598C21.8526 12.7606 21.9513 12.7416 22.0435 12.7038C22.1356 12.6661 22.2194 12.6104 22.2897 12.5399C22.3601 12.4694 22.4158 12.3857 22.4534 12.2935C22.4911 12.2013 22.51 12.1025 22.5091 12.003C22.5082 11.9034 22.4875 11.805 22.4481 11.7135C22.4088 11.622 22.3516 11.5393 22.2799 11.4701L13.5909 2.78011C13.382 2.57118 13.134 2.40544 12.861 2.29237C12.588 2.17929 12.2954 2.12109 11.9999 2.12109C11.7045 2.12109 11.4119 2.17929 11.1389 2.29237C10.8659 2.40544 10.6179 2.57118 10.4089 2.78011L1.71894 11.4701C1.64734 11.5393 1.59025 11.6221 1.55098 11.7136C1.51172 11.8052 1.49108 11.9036 1.49026 12.0032C1.48944 12.1028 1.50846 12.2015 1.54622 12.2937C1.58397 12.3858 1.6397 12.4695 1.71015 12.5399C1.78061 12.6103 1.86437 12.6659 1.95656 12.7036C2.04875 12.7413 2.14752 12.7602 2.2471 12.7593C2.34669 12.7584 2.44509 12.7377 2.53658 12.6983C2.62806 12.659 2.71079 12.6018 2.77994 12.5301L11.4699 3.84111Z",
|
|
1284
|
-
fill: "currentColor"
|
|
1285
|
-
}
|
|
1286
|
-
),
|
|
1287
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1288
|
-
"path",
|
|
1289
|
-
{
|
|
1290
|
-
d: "M12 5.43213L20.159 13.5911C20.189 13.6211 20.219 13.6491 20.25 13.6771V19.8751C20.25 20.9101 19.41 21.7501 18.375 21.7501H15C14.8011 21.7501 14.6103 21.6711 14.4697 21.5305C14.329 21.3898 14.25 21.199 14.25 21.0001V16.5001C14.25 16.3012 14.171 16.1105 14.0303 15.9698C13.8897 15.8291 13.6989 15.7501 13.5 15.7501H10.5C10.3011 15.7501 10.1103 15.8291 9.96967 15.9698C9.82902 16.1105 9.75 16.3012 9.75 16.5001V21.0001C9.75 21.199 9.67098 21.3898 9.53033 21.5305C9.38968 21.6711 9.19891 21.7501 9 21.7501H5.625C5.12772 21.7501 4.65081 21.5526 4.29917 21.201C3.94754 20.8493 3.75 20.3724 3.75 19.8751V13.6771C3.78111 13.6493 3.81146 13.6206 3.841 13.5911L12 5.43213Z",
|
|
1291
|
-
fill: "currentColor"
|
|
1292
|
-
}
|
|
1293
|
-
)
|
|
1294
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1295
|
-
"path",
|
|
1296
|
-
{
|
|
1297
|
-
d: "M2.25 12.0001L11.204 3.04507C11.644 2.60607 12.356 2.60607 12.795 3.04507L21.75 12.0001M4.5 9.75007V19.8751C4.5 20.4961 5.004 21.0001 5.625 21.0001H9.75V16.1251C9.75 15.5041 10.254 15.0001 10.875 15.0001H13.125C13.746 15.0001 14.25 15.5041 14.25 16.1251V21.0001H18.375C18.996 21.0001 19.5 20.4961 19.5 19.8751V9.75007M8.25 21.0001H16.5",
|
|
1298
|
-
stroke: "currentColor",
|
|
1299
|
-
strokeLinecap: "round",
|
|
1300
|
-
strokeLinejoin: "round"
|
|
1301
|
-
}
|
|
1302
|
-
)
|
|
1303
|
-
}
|
|
1304
|
-
);
|
|
1305
|
-
},
|
|
1306
1298
|
camera: ({ className, fill }) => {
|
|
1307
1299
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1308
1300
|
"svg",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
select_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-NEUCUEIG.mjs";
|
|
5
|
+
import "../../chunk-NJ4PBW65.mjs";
|
|
6
6
|
import "../../chunk-S3QS5B7F.mjs";
|
|
7
7
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-DADMVOYI.mjs";
|
|
9
|
+
import "../../chunk-A7OXEUCC.mjs";
|
|
10
10
|
import "../../chunk-2ZT6V4QR.mjs";
|
|
11
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
12
12
|
import "../../chunk-AC6TWLRT.mjs";
|
|
@@ -663,20 +663,23 @@ var TableBody = ({
|
|
|
663
663
|
);
|
|
664
664
|
const hasRows = rows.length > 0;
|
|
665
665
|
const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
|
|
666
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
666
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
|
|
667
|
+
hasRows && rows.map((row, rowIndex) => {
|
|
668
|
+
const isRowChecked = checkedRows.has(rowIndex);
|
|
669
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
|
|
670
|
+
columns.map((column) => /* @__PURE__ */ (0, import_react3.createElement)("td", { ...getCellProps(column, row), key: column.field })),
|
|
671
|
+
selectableRows && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
672
|
+
checkbox_default,
|
|
673
|
+
{
|
|
674
|
+
size,
|
|
675
|
+
checked: isRowChecked,
|
|
676
|
+
onChange: (e) => onCheckRow(rowIndex, e.target.checked)
|
|
677
|
+
}
|
|
678
|
+
) }) })
|
|
679
|
+
] }, rowIndex);
|
|
680
|
+
}),
|
|
681
|
+
!hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { colSpan, className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: emptyContent }) })
|
|
682
|
+
] });
|
|
680
683
|
};
|
|
681
684
|
var table_body_default = TableBody;
|
|
682
685
|
|
|
@@ -1120,6 +1123,35 @@ var template = {
|
|
|
1120
1123
|
}
|
|
1121
1124
|
);
|
|
1122
1125
|
},
|
|
1126
|
+
home: ({ className }) => {
|
|
1127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
1128
|
+
"svg",
|
|
1129
|
+
{
|
|
1130
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1131
|
+
width: "18",
|
|
1132
|
+
height: "18",
|
|
1133
|
+
viewBox: "0 0 18 18",
|
|
1134
|
+
fill: "none",
|
|
1135
|
+
className,
|
|
1136
|
+
children: [
|
|
1137
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1138
|
+
"path",
|
|
1139
|
+
{
|
|
1140
|
+
d: "M8.60249 2.88071C8.70796 2.77538 8.85092 2.71621 8.99999 2.71621C9.14905 2.71621 9.29202 2.77538 9.39749 2.88071L15.915 9.39821C15.9669 9.45191 16.029 9.49474 16.0976 9.52418C16.1663 9.55363 16.2401 9.56911 16.3148 9.56973C16.3895 9.57034 16.4635 9.55607 16.5326 9.52776C16.6018 9.49944 16.6645 9.45764 16.7173 9.4048C16.7701 9.35196 16.8119 9.28914 16.8401 9.22C16.8684 9.15086 16.8826 9.07678 16.8819 9.00209C16.8812 8.92741 16.8656 8.8536 16.8361 8.78499C16.8066 8.71638 16.7637 8.65433 16.71 8.60246L10.1932 2.08496C10.0365 1.92826 9.85051 1.80396 9.64577 1.71915C9.44103 1.63435 9.22159 1.5907 8.99999 1.5907C8.77838 1.5907 8.55894 1.63435 8.3542 1.71915C8.14947 1.80396 7.96344 1.92826 7.80674 2.08496L1.28924 8.60246C1.23554 8.65438 1.19272 8.71647 1.16327 8.78511C1.13382 8.85375 1.11834 8.92757 1.11773 9.00225C1.11711 9.07694 1.13138 9.15101 1.15969 9.22012C1.18801 9.28924 1.22981 9.35202 1.28265 9.40481C1.33549 9.4576 1.39831 9.49934 1.46745 9.52759C1.53659 9.55584 1.61067 9.57004 1.68536 9.56935C1.76005 9.56867 1.83385 9.55312 1.90246 9.5236C1.97108 9.49409 2.03312 9.45121 2.08499 9.39746L8.60249 2.88071Z",
|
|
1141
|
+
fill: "currentColor"
|
|
1142
|
+
}
|
|
1143
|
+
),
|
|
1144
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1145
|
+
"path",
|
|
1146
|
+
{
|
|
1147
|
+
d: "M9 4.07397L15.1193 10.1932C15.1418 10.2157 15.1643 10.2367 15.1875 10.2577V14.9062C15.1875 15.6825 14.5575 16.3125 13.7812 16.3125H11.25C11.1008 16.3125 10.9577 16.2532 10.8523 16.1477C10.7468 16.0422 10.6875 15.8992 10.6875 15.75V12.375C10.6875 12.2258 10.6282 12.0827 10.5227 11.9772C10.4173 11.8717 10.2742 11.8125 10.125 11.8125H7.875C7.72582 11.8125 7.58274 11.8717 7.47725 11.9772C7.37176 12.0827 7.3125 12.2258 7.3125 12.375V15.75C7.3125 15.8992 7.25324 16.0422 7.14775 16.1477C7.04226 16.2532 6.89918 16.3125 6.75 16.3125H4.21875C3.84579 16.3125 3.4881 16.1643 3.22438 15.9006C2.96066 15.6369 2.8125 15.2792 2.8125 14.9062V10.2577C2.83583 10.2369 2.85859 10.2153 2.88075 10.1932L9 4.07397Z",
|
|
1148
|
+
fill: "currentColor"
|
|
1149
|
+
}
|
|
1150
|
+
)
|
|
1151
|
+
]
|
|
1152
|
+
}
|
|
1153
|
+
);
|
|
1154
|
+
},
|
|
1123
1155
|
// ----------------------------------- old ---------------------------------
|
|
1124
1156
|
// ** Status **
|
|
1125
1157
|
plus: ({ className, fill }) => {
|
|
@@ -1576,43 +1608,6 @@ var template = {
|
|
|
1576
1608
|
// );
|
|
1577
1609
|
// },
|
|
1578
1610
|
// ** Common **
|
|
1579
|
-
home: ({ className, fill }) => {
|
|
1580
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1581
|
-
"svg",
|
|
1582
|
-
{
|
|
1583
|
-
width: "24",
|
|
1584
|
-
height: "24",
|
|
1585
|
-
viewBox: "0 0 24 24",
|
|
1586
|
-
fill: "none",
|
|
1587
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1588
|
-
className,
|
|
1589
|
-
children: fill ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
1590
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1591
|
-
"path",
|
|
1592
|
-
{
|
|
1593
|
-
d: "M11.4699 3.84111C11.6106 3.70066 11.8012 3.62177 11.9999 3.62177C12.1987 3.62177 12.3893 3.70066 12.5299 3.84111L21.2199 12.5311C21.2892 12.6027 21.3719 12.6598 21.4635 12.6991C21.555 12.7383 21.6534 12.759 21.753 12.7598C21.8526 12.7606 21.9513 12.7416 22.0435 12.7038C22.1356 12.6661 22.2194 12.6104 22.2897 12.5399C22.3601 12.4694 22.4158 12.3857 22.4534 12.2935C22.4911 12.2013 22.51 12.1025 22.5091 12.003C22.5082 11.9034 22.4875 11.805 22.4481 11.7135C22.4088 11.622 22.3516 11.5393 22.2799 11.4701L13.5909 2.78011C13.382 2.57118 13.134 2.40544 12.861 2.29237C12.588 2.17929 12.2954 2.12109 11.9999 2.12109C11.7045 2.12109 11.4119 2.17929 11.1389 2.29237C10.8659 2.40544 10.6179 2.57118 10.4089 2.78011L1.71894 11.4701C1.64734 11.5393 1.59025 11.6221 1.55098 11.7136C1.51172 11.8052 1.49108 11.9036 1.49026 12.0032C1.48944 12.1028 1.50846 12.2015 1.54622 12.2937C1.58397 12.3858 1.6397 12.4695 1.71015 12.5399C1.78061 12.6103 1.86437 12.6659 1.95656 12.7036C2.04875 12.7413 2.14752 12.7602 2.2471 12.7593C2.34669 12.7584 2.44509 12.7377 2.53658 12.6983C2.62806 12.659 2.71079 12.6018 2.77994 12.5301L11.4699 3.84111Z",
|
|
1594
|
-
fill: "currentColor"
|
|
1595
|
-
}
|
|
1596
|
-
),
|
|
1597
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1598
|
-
"path",
|
|
1599
|
-
{
|
|
1600
|
-
d: "M12 5.43213L20.159 13.5911C20.189 13.6211 20.219 13.6491 20.25 13.6771V19.8751C20.25 20.9101 19.41 21.7501 18.375 21.7501H15C14.8011 21.7501 14.6103 21.6711 14.4697 21.5305C14.329 21.3898 14.25 21.199 14.25 21.0001V16.5001C14.25 16.3012 14.171 16.1105 14.0303 15.9698C13.8897 15.8291 13.6989 15.7501 13.5 15.7501H10.5C10.3011 15.7501 10.1103 15.8291 9.96967 15.9698C9.82902 16.1105 9.75 16.3012 9.75 16.5001V21.0001C9.75 21.199 9.67098 21.3898 9.53033 21.5305C9.38968 21.6711 9.19891 21.7501 9 21.7501H5.625C5.12772 21.7501 4.65081 21.5526 4.29917 21.201C3.94754 20.8493 3.75 20.3724 3.75 19.8751V13.6771C3.78111 13.6493 3.81146 13.6206 3.841 13.5911L12 5.43213Z",
|
|
1601
|
-
fill: "currentColor"
|
|
1602
|
-
}
|
|
1603
|
-
)
|
|
1604
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1605
|
-
"path",
|
|
1606
|
-
{
|
|
1607
|
-
d: "M2.25 12.0001L11.204 3.04507C11.644 2.60607 12.356 2.60607 12.795 3.04507L21.75 12.0001M4.5 9.75007V19.8751C4.5 20.4961 5.004 21.0001 5.625 21.0001H9.75V16.1251C9.75 15.5041 10.254 15.0001 10.875 15.0001H13.125C13.746 15.0001 14.25 15.5041 14.25 16.1251V21.0001H18.375C18.996 21.0001 19.5 20.4961 19.5 19.8751V9.75007M8.25 21.0001H16.5",
|
|
1608
|
-
stroke: "currentColor",
|
|
1609
|
-
strokeLinecap: "round",
|
|
1610
|
-
strokeLinejoin: "round"
|
|
1611
|
-
}
|
|
1612
|
-
)
|
|
1613
|
-
}
|
|
1614
|
-
);
|
|
1615
|
-
},
|
|
1616
1611
|
camera: ({ className, fill }) => {
|
|
1617
1612
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1618
1613
|
"svg",
|
|
@@ -5066,7 +5061,7 @@ var paginationStyle = tv(
|
|
|
5066
5061
|
"items-center",
|
|
5067
5062
|
"justify-center",
|
|
5068
5063
|
"cursor-pointer",
|
|
5069
|
-
"
|
|
5064
|
+
"text-neutral-main",
|
|
5070
5065
|
"data-[is-active=false]:stroke-neutral-light",
|
|
5071
5066
|
"data-[is-active=false]:cursor-default"
|
|
5072
5067
|
],
|
|
@@ -5129,7 +5124,7 @@ var paginationStyle = tv(
|
|
|
5129
5124
|
"data-[selected=true]:text-primary-main",
|
|
5130
5125
|
"data-[selected=true]:bg-primary-soft"
|
|
5131
5126
|
],
|
|
5132
|
-
icon: ["hover:
|
|
5127
|
+
icon: ["hover:text-primary-main"]
|
|
5133
5128
|
}
|
|
5134
5129
|
},
|
|
5135
5130
|
{
|
|
@@ -5141,7 +5136,7 @@ var paginationStyle = tv(
|
|
|
5141
5136
|
"data-[selected=true]:text-secondary-main",
|
|
5142
5137
|
"data-[selected=true]:bg-secondary-soft"
|
|
5143
5138
|
],
|
|
5144
|
-
icon: ["hover:
|
|
5139
|
+
icon: ["hover:text-secondary-main"]
|
|
5145
5140
|
}
|
|
5146
5141
|
},
|
|
5147
5142
|
{
|
|
@@ -5153,7 +5148,7 @@ var paginationStyle = tv(
|
|
|
5153
5148
|
"data-[selected=true]:text-neutral-dark",
|
|
5154
5149
|
"data-[selected=true]:bg-neutral-soft"
|
|
5155
5150
|
],
|
|
5156
|
-
icon: ["hover:
|
|
5151
|
+
icon: ["hover:text-neutral-dark"]
|
|
5157
5152
|
}
|
|
5158
5153
|
},
|
|
5159
5154
|
{
|
|
@@ -5165,7 +5160,7 @@ var paginationStyle = tv(
|
|
|
5165
5160
|
"data-[selected=true]:text-primary-main",
|
|
5166
5161
|
"data-[selected=true]:border-b-primary-main"
|
|
5167
5162
|
],
|
|
5168
|
-
icon: ["hover:
|
|
5163
|
+
icon: ["hover:text-primary-main"]
|
|
5169
5164
|
}
|
|
5170
5165
|
},
|
|
5171
5166
|
{
|
|
@@ -5177,7 +5172,7 @@ var paginationStyle = tv(
|
|
|
5177
5172
|
"data-[selected=true]:text-secondary-main",
|
|
5178
5173
|
"data-[selected=true]:border-b-secondary-main"
|
|
5179
5174
|
],
|
|
5180
|
-
icon: ["hover:
|
|
5175
|
+
icon: ["hover:text-secondary-main"]
|
|
5181
5176
|
}
|
|
5182
5177
|
},
|
|
5183
5178
|
{
|
|
@@ -5189,7 +5184,7 @@ var paginationStyle = tv(
|
|
|
5189
5184
|
"data-[selected=true]:text-neutral-dark",
|
|
5190
5185
|
"data-[selected=true]:border-b-neutral-main"
|
|
5191
5186
|
],
|
|
5192
|
-
icon: ["hover:
|
|
5187
|
+
icon: ["hover:text-neutral-dark"]
|
|
5193
5188
|
}
|
|
5194
5189
|
}
|
|
5195
5190
|
],
|
|
@@ -5272,7 +5267,7 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
|
|
|
5272
5267
|
}
|
|
5273
5268
|
)
|
|
5274
5269
|
] }),
|
|
5275
|
-
showPagination && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "
|
|
5270
|
+
showPagination && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
5276
5271
|
pagination_default,
|
|
5277
5272
|
{
|
|
5278
5273
|
color,
|
|
@@ -5288,7 +5283,7 @@ Table.displayName = "Table";
|
|
|
5288
5283
|
var table_default = Table;
|
|
5289
5284
|
var tableStyle = (0, import_tailwind_variants5.tv)({
|
|
5290
5285
|
slots: {
|
|
5291
|
-
base: ["flex", "flex-col", "relative", "select-none"],
|
|
5286
|
+
base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]"],
|
|
5292
5287
|
table: ["w-full", "h-auto"],
|
|
5293
5288
|
thead: ["w-full"],
|
|
5294
5289
|
tbody: ["w-full"],
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import "../../chunk-2UUH2MBF.mjs";
|
|
3
3
|
import {
|
|
4
4
|
table_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-72JRFZCH.mjs";
|
|
6
|
+
import "../../chunk-D7WPZ5C6.mjs";
|
|
7
7
|
import "../../chunk-OQS4LGZK.mjs";
|
|
8
8
|
import "../../chunk-7B7LRG5J.mjs";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-2GCSFWHD.mjs";
|
|
11
|
-
import "../../chunk-LHDOM76J.mjs";
|
|
9
|
+
import "../../chunk-7R4NOC2G.mjs";
|
|
12
10
|
import "../../chunk-F3HENRVM.mjs";
|
|
11
|
+
import "../../chunk-2GCSFWHD.mjs";
|
|
12
|
+
import "../../chunk-2KAR2PTQ.mjs";
|
|
13
13
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
14
14
|
import "../../chunk-J5WJD6XZ.mjs";
|
|
15
15
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-DADMVOYI.mjs";
|
|
17
|
+
import "../../chunk-A7OXEUCC.mjs";
|
|
18
18
|
import "../../chunk-2ZT6V4QR.mjs";
|
|
19
19
|
import "../../chunk-27Y6K5NK.mjs";
|
|
20
20
|
import "../../chunk-E3G5QXSH.mjs";
|
|
@@ -643,19 +643,22 @@ var TableBody = ({
|
|
|
643
643
|
);
|
|
644
644
|
const hasRows = rows.length > 0;
|
|
645
645
|
const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
|
|
646
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
|
|
647
|
+
hasRows && rows.map((row, rowIndex) => {
|
|
648
|
+
const isRowChecked = checkedRows.has(rowIndex);
|
|
649
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
|
|
650
|
+
columns.map((column) => /* @__PURE__ */ (0, import_react3.createElement)("td", { ...getCellProps(column, row), key: column.field })),
|
|
651
|
+
selectableRows && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
652
|
+
checkbox_default,
|
|
653
|
+
{
|
|
654
|
+
size,
|
|
655
|
+
checked: isRowChecked,
|
|
656
|
+
onChange: (e) => onCheckRow(rowIndex, e.target.checked)
|
|
657
|
+
}
|
|
658
|
+
) }) })
|
|
659
|
+
] }, rowIndex);
|
|
660
|
+
}),
|
|
661
|
+
!hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { colSpan, className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: emptyContent }) })
|
|
662
|
+
] });
|
|
660
663
|
};
|
|
661
664
|
var table_body_default = TableBody;
|