@deepnoid/ui 0.1.29 → 0.1.30
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 +179 -169
- package/dist/chunk-6PN3DGOE.mjs +77 -0
- package/dist/{chunk-QJJKJYNR.mjs → chunk-BFOK4HVC.mjs} +2 -2
- package/dist/chunk-CEZQCD6Z.mjs +79 -0
- package/dist/{chunk-III2QUWF.mjs → chunk-G67WUZO3.mjs} +1 -1
- package/dist/{chunk-RCJOJPRS.mjs → chunk-GLMM253Q.mjs} +40 -30
- package/dist/{chunk-BB7MFKNQ.mjs → chunk-IBI3OVQI.mjs} +1 -1
- package/dist/{chunk-LR3SWRB4.mjs → chunk-IC25OKBJ.mjs} +5 -5
- package/dist/{chunk-ECMBAKSJ.mjs → chunk-K7V4VE7R.mjs} +5 -5
- package/dist/chunk-MZ76AA76.mjs +1 -0
- package/dist/{chunk-X4F7JYBA.mjs → chunk-NFQMXW4Z.mjs} +36 -14
- package/dist/{chunk-3KVZDFMV.mjs → chunk-NKH3OF6I.mjs} +3 -3
- package/dist/chunk-P7YYNA6L.mjs +67 -0
- package/dist/{chunk-KXA73VTJ.mjs → chunk-QM4ZSQYX.mjs} +4 -4
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.mjs +6 -6
- package/dist/components/dateTimePicker/index.mjs +6 -6
- package/dist/components/dateTimePicker/timePicker.mjs +4 -4
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +6 -6
- package/dist/components/modal/modal.mjs +6 -6
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/skeleton/index.d.mts +2 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.js +141 -0
- package/dist/components/skeleton/index.mjs +10 -0
- package/dist/components/skeleton/skeleton.d.mts +14 -0
- package/dist/components/skeleton/skeleton.d.ts +14 -0
- package/dist/components/skeleton/skeleton.js +135 -0
- package/dist/components/skeleton/skeleton.mjs +9 -0
- package/dist/components/table/index.js +692 -614
- package/dist/components/table/index.mjs +11 -9
- package/dist/components/table/table-body.d.mts +6 -4
- package/dist/components/table/table-body.d.ts +6 -4
- package/dist/components/table/table-body.js +115 -64
- package/dist/components/table/table-body.mjs +5 -3
- package/dist/components/table/table-head.d.mts +3 -1
- package/dist/components/table/table-head.d.ts +3 -1
- package/dist/components/table/table-head.js +107 -21
- package/dist/components/table/table-head.mjs +5 -3
- package/dist/components/table/table.d.mts +1 -0
- package/dist/components/table/table.d.ts +1 -0
- package/dist/components/table/table.js +683 -605
- package/dist/components/table/table.mjs +9 -7
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +33 -11
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.d.mts +10 -8
- package/dist/components/tree/tree.d.ts +10 -8
- package/dist/components/tree/tree.js +33 -11
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +515 -413
- package/dist/index.mjs +52 -47
- package/package.json +1 -1
- package/dist/chunk-26MNALVL.mjs +0 -47
- package/dist/chunk-A5KQHWS3.mjs +0 -94
- package/dist/{chunk-KLUC2BV6.mjs → chunk-272FMLIL.mjs} +3 -3
- package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
- package/dist/{chunk-6K3E5BVO.mjs → chunk-7TAGGLNY.mjs} +3 -3
- package/dist/{chunk-X6D7C7QZ.mjs → chunk-A7RU3FU5.mjs} +3 -3
- package/dist/{chunk-YLRYHUTW.mjs → chunk-D6QI3DJG.mjs} +3 -3
- package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
- package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
- package/dist/{chunk-7W2ZI2DD.mjs → chunk-MEY4IL7D.mjs} +3 -3
- package/dist/{chunk-33LANVZV.mjs → chunk-QIRL6HY6.mjs} +3 -3
- package/dist/{chunk-W45H2ZMW.mjs → chunk-RT3S3VVJ.mjs} +3 -3
- package/dist/{chunk-7J3KVOTS.mjs → chunk-UB4YBFOT.mjs} +3 -3
- package/dist/{chunk-EHRFXDSN.mjs → chunk-VCVQMPC7.mjs} +3 -3
- package/dist/{chunk-2PKM7SLZ.mjs → chunk-WFMFC7R6.mjs} +3 -3
- package/dist/{chunk-Y6XQTWB5.mjs → chunk-WLNLVX7Q.mjs} +3 -3
- package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,96 +1,100 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import "./chunk-HIE2YRGA.mjs";
|
|
3
|
+
import {
|
|
4
|
+
tooltip_default
|
|
5
|
+
} from "./chunk-Z2537DF6.mjs";
|
|
6
|
+
import "./chunk-ZMOAFSYE.mjs";
|
|
7
|
+
import "./chunk-WSIADHVC.mjs";
|
|
2
8
|
import "./chunk-MBLZYQCN.mjs";
|
|
3
9
|
import {
|
|
4
10
|
tree_default
|
|
5
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NFQMXW4Z.mjs";
|
|
12
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
13
|
+
import {
|
|
14
|
+
tabs_default
|
|
15
|
+
} from "./chunk-2YMAKIZ6.mjs";
|
|
16
|
+
import "./chunk-RRAZM5D3.mjs";
|
|
17
|
+
import {
|
|
18
|
+
textarea_default
|
|
19
|
+
} from "./chunk-BKE6QF6W.mjs";
|
|
6
20
|
import "./chunk-LUWGOKLG.mjs";
|
|
7
21
|
import {
|
|
8
22
|
ToastProvider,
|
|
9
23
|
useToast
|
|
10
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IBI3OVQI.mjs";
|
|
11
25
|
import "./chunk-ZOTHPHXA.mjs";
|
|
12
26
|
import {
|
|
13
27
|
toast_default
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-MEY4IL7D.mjs";
|
|
29
|
+
import "./chunk-LVFI2NOH.mjs";
|
|
16
30
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-ZMOAFSYE.mjs";
|
|
20
|
-
import "./chunk-WSIADHVC.mjs";
|
|
31
|
+
switch_default
|
|
32
|
+
} from "./chunk-Z74QNVPG.mjs";
|
|
21
33
|
import "./chunk-DX3KXNP6.mjs";
|
|
34
|
+
import {
|
|
35
|
+
table_default
|
|
36
|
+
} from "./chunk-GLMM253Q.mjs";
|
|
22
37
|
import {
|
|
23
38
|
definition_table_default
|
|
24
39
|
} from "./chunk-6TIIBU7J.mjs";
|
|
25
|
-
import
|
|
26
|
-
|
|
27
|
-
} from "./chunk-RCJOJPRS.mjs";
|
|
40
|
+
import "./chunk-CEZQCD6Z.mjs";
|
|
41
|
+
import "./chunk-P7YYNA6L.mjs";
|
|
28
42
|
import "./chunk-DQRAFUDA.mjs";
|
|
29
43
|
import {
|
|
30
44
|
scrollArea_default
|
|
31
45
|
} from "./chunk-M37VBNB3.mjs";
|
|
32
|
-
import "./chunk-A5KQHWS3.mjs";
|
|
33
|
-
import "./chunk-26MNALVL.mjs";
|
|
34
|
-
import "./chunk-RRAZM5D3.mjs";
|
|
35
|
-
import {
|
|
36
|
-
textarea_default
|
|
37
|
-
} from "./chunk-BKE6QF6W.mjs";
|
|
38
46
|
import "./chunk-QCEKPS7U.mjs";
|
|
39
47
|
import {
|
|
40
48
|
select_default
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-272FMLIL.mjs";
|
|
50
|
+
import "./chunk-MZ76AA76.mjs";
|
|
43
51
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-3MY6LO7N.mjs";
|
|
47
|
-
import {
|
|
48
|
-
tabs_default
|
|
49
|
-
} from "./chunk-SSMMWMQC.mjs";
|
|
52
|
+
skeleton_default
|
|
53
|
+
} from "./chunk-6PN3DGOE.mjs";
|
|
50
54
|
import "./chunk-DJOG6Z35.mjs";
|
|
51
55
|
import {
|
|
52
56
|
modal_default
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-TPFN22HR.mjs";
|
|
55
|
-
import {
|
|
56
|
-
radio_default
|
|
57
|
-
} from "./chunk-33LANVZV.mjs";
|
|
57
|
+
} from "./chunk-IC25OKBJ.mjs";
|
|
58
58
|
import "./chunk-7B7LRG5J.mjs";
|
|
59
59
|
import {
|
|
60
60
|
pagination_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-QM4ZSQYX.mjs";
|
|
62
62
|
import "./chunk-F3HENRVM.mjs";
|
|
63
|
+
import "./chunk-TPFN22HR.mjs";
|
|
64
|
+
import {
|
|
65
|
+
radio_default
|
|
66
|
+
} from "./chunk-QIRL6HY6.mjs";
|
|
63
67
|
import "./chunk-RLXOHILK.mjs";
|
|
64
68
|
import "./chunk-MGEWSREV.mjs";
|
|
65
69
|
import "./chunk-75HLCORR.mjs";
|
|
66
70
|
import {
|
|
67
71
|
dateTimePicker_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-K7V4VE7R.mjs";
|
|
73
|
+
import "./chunk-A7RU3FU5.mjs";
|
|
74
|
+
import "./chunk-BFOK4HVC.mjs";
|
|
71
75
|
import "./chunk-7MVEAQ7Z.mjs";
|
|
72
76
|
import {
|
|
73
77
|
listItem_default
|
|
74
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-RT3S3VVJ.mjs";
|
|
75
79
|
import {
|
|
76
80
|
list_default
|
|
77
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-HIVPDIEP.mjs";
|
|
78
82
|
import "./chunk-FWJ2ZKH6.mjs";
|
|
79
83
|
import "./chunk-P732YGHO.mjs";
|
|
80
84
|
import {
|
|
81
85
|
fileUpload_default
|
|
82
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-NKH3OF6I.mjs";
|
|
83
87
|
import "./chunk-2GCSFWHD.mjs";
|
|
84
88
|
import {
|
|
85
89
|
input_default
|
|
86
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-VCVQMPC7.mjs";
|
|
87
91
|
import "./chunk-QZ3LVYJW.mjs";
|
|
88
92
|
import {
|
|
89
93
|
checkbox_default
|
|
90
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-D6QI3DJG.mjs";
|
|
91
95
|
import {
|
|
92
96
|
chip_default
|
|
93
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-WLNLVX7Q.mjs";
|
|
94
98
|
import "./chunk-7DLOYKVC.mjs";
|
|
95
99
|
import {
|
|
96
100
|
avatar_default
|
|
@@ -98,39 +102,39 @@ import {
|
|
|
98
102
|
import "./chunk-SE5TU755.mjs";
|
|
99
103
|
import {
|
|
100
104
|
backdrop_default
|
|
101
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LL6F3WDX.mjs";
|
|
102
106
|
import "./chunk-KYIODWXL.mjs";
|
|
103
107
|
import {
|
|
104
108
|
breadcrumb_default
|
|
105
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-G67WUZO3.mjs";
|
|
106
110
|
import "./chunk-MY5U63QO.mjs";
|
|
107
111
|
import {
|
|
108
112
|
button_group_default
|
|
109
113
|
} from "./chunk-LPZOH3RP.mjs";
|
|
110
114
|
import {
|
|
111
115
|
button_default
|
|
112
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-UB4YBFOT.mjs";
|
|
113
117
|
import {
|
|
114
118
|
icon_button_default
|
|
115
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-7TAGGLNY.mjs";
|
|
116
120
|
import "./chunk-6WSACUIB.mjs";
|
|
117
121
|
import "./chunk-LXHUO6VM.mjs";
|
|
118
122
|
import "./chunk-6PNKRBUT.mjs";
|
|
119
123
|
import {
|
|
120
124
|
text_button_default
|
|
121
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-WFMFC7R6.mjs";
|
|
122
126
|
import "./chunk-ZYIIXWVY.mjs";
|
|
123
127
|
import {
|
|
124
128
|
Icon_default,
|
|
125
129
|
iconTemplate
|
|
126
130
|
} from "./chunk-2TKEWFGH.mjs";
|
|
127
131
|
import "./chunk-2SDYFOZL.mjs";
|
|
128
|
-
import "./chunk-27Y6K5NK.mjs";
|
|
129
|
-
import "./chunk-E3G5QXSH.mjs";
|
|
130
132
|
import {
|
|
131
133
|
deepnoidUi,
|
|
132
134
|
tv
|
|
133
135
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
136
|
+
import "./chunk-27Y6K5NK.mjs";
|
|
137
|
+
import "./chunk-E3G5QXSH.mjs";
|
|
134
138
|
import "./chunk-AC6TWLRT.mjs";
|
|
135
139
|
export {
|
|
136
140
|
avatar_default as Avatar,
|
|
@@ -153,6 +157,7 @@ export {
|
|
|
153
157
|
radio_default as Radio,
|
|
154
158
|
scrollArea_default as ScrollArea,
|
|
155
159
|
select_default as Select,
|
|
160
|
+
skeleton_default as Skeleton,
|
|
156
161
|
switch_default as Switch,
|
|
157
162
|
table_default as Table,
|
|
158
163
|
tabs_default as Tabs,
|
package/package.json
CHANGED
package/dist/chunk-26MNALVL.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
checkbox_default
|
|
4
|
-
} from "./chunk-YLRYHUTW.mjs";
|
|
5
|
-
import {
|
|
6
|
-
clsx
|
|
7
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
8
|
-
|
|
9
|
-
// src/components/table/table-head.tsx
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
var TableHead = ({ columns, slots, size, rowCheckbox, isCheckedAll, classNames, onCheckAll }) => {
|
|
12
|
-
const handleClickCheckAll = (e) => {
|
|
13
|
-
e.preventDefault();
|
|
14
|
-
onCheckAll(!isCheckedAll);
|
|
15
|
-
};
|
|
16
|
-
const renderColumnHeaders = () => columns.map((column, index) => /* @__PURE__ */ jsx(
|
|
17
|
-
"th",
|
|
18
|
-
{
|
|
19
|
-
className: clsx(slots.th({ class: classNames == null ? void 0 : classNames.th }), column),
|
|
20
|
-
style: {
|
|
21
|
-
width: column.width ? `${column.width}px` : void 0,
|
|
22
|
-
minWidth: column.minWidth ? `${column.minWidth}px` : void 0,
|
|
23
|
-
maxWidth: column.maxWidth ? `${column.maxWidth}px` : void 0,
|
|
24
|
-
height: column.height ? `${column.height}px` : void 0
|
|
25
|
-
},
|
|
26
|
-
children: column.headerName
|
|
27
|
-
},
|
|
28
|
-
`${column.field}${index}thead`
|
|
29
|
-
));
|
|
30
|
-
const renderSelectAllCheckbox = () => rowCheckbox && /* @__PURE__ */ jsx("th", { className: slots.th({ class: classNames == null ? void 0 : classNames.th }), onClick: handleClickCheckAll, children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
31
|
-
checkbox_default,
|
|
32
|
-
{
|
|
33
|
-
size,
|
|
34
|
-
checked: isCheckedAll,
|
|
35
|
-
onChange: (e) => onCheckAll(e.target.checked)
|
|
36
|
-
}
|
|
37
|
-
) }) });
|
|
38
|
-
return /* @__PURE__ */ jsx("thead", { className: slots.thead({ class: classNames == null ? void 0 : classNames.thead }), children: /* @__PURE__ */ jsxs("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
|
|
39
|
-
renderColumnHeaders(),
|
|
40
|
-
renderSelectAllCheckbox()
|
|
41
|
-
] }) });
|
|
42
|
-
};
|
|
43
|
-
var table_head_default = TableHead;
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
table_head_default
|
|
47
|
-
};
|
package/dist/chunk-A5KQHWS3.mjs
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
checkbox_default
|
|
4
|
-
} from "./chunk-YLRYHUTW.mjs";
|
|
5
|
-
import {
|
|
6
|
-
clsx
|
|
7
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
8
|
-
|
|
9
|
-
// src/components/table/table-body.tsx
|
|
10
|
-
import { useCallback } from "react";
|
|
11
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { createElement } from "react";
|
|
13
|
-
var TableBody = ({
|
|
14
|
-
slots,
|
|
15
|
-
columns,
|
|
16
|
-
rows,
|
|
17
|
-
size,
|
|
18
|
-
rowCheckbox,
|
|
19
|
-
checkedRows,
|
|
20
|
-
onCheckRow,
|
|
21
|
-
onRowClick,
|
|
22
|
-
emptyContent,
|
|
23
|
-
isLoading,
|
|
24
|
-
classNames,
|
|
25
|
-
className
|
|
26
|
-
}) => {
|
|
27
|
-
const generateColumnStyles = useCallback((column) => {
|
|
28
|
-
const alignClass = column.align ? `text-${column.align}` : "text-left";
|
|
29
|
-
return clsx(alignClass, column.className);
|
|
30
|
-
}, []);
|
|
31
|
-
const getCellProps = useCallback(
|
|
32
|
-
(column, row) => {
|
|
33
|
-
if (!column || !row) {
|
|
34
|
-
return {
|
|
35
|
-
className: slots.td({ class: classNames == null ? void 0 : classNames.td })
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
const value = row[column.field];
|
|
39
|
-
const formattedValue = column.valueFormatter ? column.valueFormatter({ id: column.field, field: column.field, value }) : value;
|
|
40
|
-
const children = column.renderCell ? column.renderCell({
|
|
41
|
-
id: column.field,
|
|
42
|
-
field: column.field,
|
|
43
|
-
value,
|
|
44
|
-
formattedValue,
|
|
45
|
-
row
|
|
46
|
-
}) : formattedValue;
|
|
47
|
-
const columnStyles = generateColumnStyles(column);
|
|
48
|
-
return {
|
|
49
|
-
children,
|
|
50
|
-
className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), columnStyles),
|
|
51
|
-
style: {
|
|
52
|
-
width: column.width ? `${column.width}px` : void 0,
|
|
53
|
-
minWidth: column.minWidth ? `${column.minWidth}px` : void 0,
|
|
54
|
-
maxWidth: column.maxWidth ? `${column.maxWidth}px` : void 0,
|
|
55
|
-
height: column.height ? `${column.height}px` : void 0
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
|
-
[classNames == null ? void 0 : classNames.td, generateColumnStyles, slots]
|
|
60
|
-
);
|
|
61
|
-
const hasRows = rows.length > 0;
|
|
62
|
-
const colSpan = (columns.length || 1) + (rowCheckbox ? 1 : 0);
|
|
63
|
-
return /* @__PURE__ */ jsxs("tbody", { className: clsx(slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), className), children: [
|
|
64
|
-
!isLoading && hasRows && rows.map((row, rowIndex) => {
|
|
65
|
-
const isRowChecked = checkedRows.has(rowIndex);
|
|
66
|
-
return /* @__PURE__ */ jsxs(
|
|
67
|
-
"tr",
|
|
68
|
-
{
|
|
69
|
-
className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }),
|
|
70
|
-
"aria-checked": isRowChecked,
|
|
71
|
-
onClick: () => onRowClick ? onRowClick(row) : void 0,
|
|
72
|
-
children: [
|
|
73
|
-
columns.map((column) => /* @__PURE__ */ createElement("td", { ...getCellProps(column, row), key: column.field })),
|
|
74
|
-
rowCheckbox && /* @__PURE__ */ jsx("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
75
|
-
checkbox_default,
|
|
76
|
-
{
|
|
77
|
-
size,
|
|
78
|
-
checked: isRowChecked,
|
|
79
|
-
onChange: (e) => onCheckRow(rowIndex, e.target.checked)
|
|
80
|
-
}
|
|
81
|
-
) }) })
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
rowIndex
|
|
85
|
-
);
|
|
86
|
-
}),
|
|
87
|
-
!isLoading && !hasRows && emptyContent && /* @__PURE__ */ jsx("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ jsx("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
|
|
88
|
-
] });
|
|
89
|
-
};
|
|
90
|
-
var table_body_default = TableBody;
|
|
91
|
-
|
|
92
|
-
export {
|
|
93
|
-
table_body_default
|
|
94
|
-
};
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
8
|
import {
|
|
6
9
|
clsx
|
|
7
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
11
|
import {
|
|
9
12
|
mapPropsVariants
|
|
10
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/select/select.tsx
|
|
16
16
|
import { forwardRef, useMemo, useState, useRef, useEffect } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
mapPropsVariants
|
|
4
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/tabs/tabs.tsx
|
|
10
10
|
import { forwardRef, useCallback, useMemo, useState } from "react";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-2TKEWFGH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
mapPropsVariants
|
|
13
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
14
11
|
import {
|
|
15
12
|
tv
|
|
16
13
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
|
+
import {
|
|
15
|
+
mapPropsVariants
|
|
16
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/button/icon-button.tsx
|
|
19
19
|
import { forwardRef, useMemo, useCallback } from "react";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Icon_default
|
|
8
8
|
} from "./chunk-2TKEWFGH.mjs";
|
|
9
|
-
import {
|
|
10
|
-
mapPropsVariants
|
|
11
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
12
9
|
import {
|
|
13
10
|
tv
|
|
14
11
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
12
|
+
import {
|
|
13
|
+
mapPropsVariants
|
|
14
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
15
15
|
|
|
16
16
|
// src/components/dateTimePicker/calendar.tsx
|
|
17
17
|
import React, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/checkbox/checkbox.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
mapPropsVariants
|
|
4
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/list/list.tsx
|
|
10
10
|
import { Children, cloneElement, forwardRef, isValidElement, useMemo } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
clsx
|
|
4
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tv
|
|
7
4
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
clsx
|
|
7
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/backdrop/backdrop.tsx
|
|
10
10
|
import { useEffect, useState } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
8
|
import {
|
|
6
9
|
clsx
|
|
7
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
11
|
import {
|
|
9
12
|
mapPropsVariants
|
|
10
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/toast/toast.tsx
|
|
16
16
|
import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/radio/radio.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-2TKEWFGH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
mapPropsVariants
|
|
10
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
11
8
|
import {
|
|
12
9
|
tv
|
|
13
10
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
|
+
import {
|
|
12
|
+
mapPropsVariants
|
|
13
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/list/listItem.tsx
|
|
16
16
|
import { forwardRef, useMemo } from "react";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-2TKEWFGH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
mapPropsVariants
|
|
13
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
14
11
|
import {
|
|
15
12
|
tv
|
|
16
13
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
|
+
import {
|
|
15
|
+
mapPropsVariants
|
|
16
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/button/button.tsx
|
|
19
19
|
import React, { forwardRef, useMemo, useCallback } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
8
|
import {
|
|
6
9
|
clsx
|
|
7
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
11
|
import {
|
|
9
12
|
mapPropsVariants
|
|
10
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/input/input.tsx
|
|
16
16
|
import React, { forwardRef, useRef, useCallback, useMemo } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
2
5
|
import {
|
|
3
6
|
clsx
|
|
4
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/button/text-button.tsx
|
|
13
13
|
import {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
-
import {
|
|
6
|
-
mapPropsVariants
|
|
7
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
8
5
|
import {
|
|
9
6
|
tv
|
|
10
7
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
|
+
import {
|
|
9
|
+
mapPropsVariants
|
|
10
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/chip/chip.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getTailClassName,
|
|
7
7
|
getTailStyles
|
|
8
8
|
} from "./chunk-WSIADHVC.mjs";
|
|
9
|
-
import {
|
|
10
|
-
mapPropsVariants
|
|
11
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
12
9
|
import {
|
|
13
10
|
tv
|
|
14
11
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
12
|
+
import {
|
|
13
|
+
mapPropsVariants
|
|
14
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
15
15
|
|
|
16
16
|
// src/components/tooltip/tooltip.tsx
|
|
17
17
|
import { forwardRef, useCallback, useMemo, useRef, useState, useEffect } from "react";
|