@deepnoid/ui 1.0.2 → 1.0.4
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 -179
- package/dist/{chunk-DEKPVTFX.mjs → chunk-27F72LBG.mjs} +1 -1
- package/dist/{chunk-WGVOWTFG.mjs → chunk-D3L5KHBB.mjs} +1 -1
- package/dist/{chunk-IE7ERNC7.mjs → chunk-G5LOJM43.mjs} +11 -11
- package/dist/{chunk-AVUO6TGC.mjs → chunk-G7BKYINF.mjs} +2 -2
- package/dist/{chunk-NPQBJO6G.mjs → chunk-GKZPGSA5.mjs} +4 -4
- package/dist/{chunk-XNDDHEW6.mjs → chunk-MUOHB6Y7.mjs} +4 -4
- package/dist/{chunk-WYTAGN2P.mjs → chunk-PPE6YTXQ.mjs} +1 -1
- package/dist/{chunk-G5OQBVYQ.mjs → chunk-QJ4PYUEO.mjs} +1 -1
- package/dist/{chunk-TY7T5O3Z.mjs → chunk-RZ5AYX7U.mjs} +1 -1
- package/dist/{chunk-KZPHD6CA.mjs → chunk-UCXI6QQX.mjs} +2 -2
- package/dist/{chunk-MCSP3FVE.mjs → chunk-XLGDSS5N.mjs} +1 -1
- package/dist/{chunk-FQMA47EO.mjs → chunk-YF6VTTM7.mjs} +2 -2
- 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-group.mjs +2 -2
- package/dist/components/button/button.mjs +1 -1
- package/dist/components/button/icon-button.mjs +1 -1
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaChart.mjs +1 -1
- package/dist/components/charts/index.mjs +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +1 -1
- package/dist/components/chip/index.mjs +1 -1
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +7 -7
- package/dist/components/fileUpload/index.mjs +7 -7
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/GlobalModalProvider.mjs +7 -7
- package/dist/components/modal/index.mjs +8 -8
- package/dist/components/modal/modal.mjs +6 -6
- package/dist/components/modal/useGlobalModal.mjs +8 -8
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.mjs +6 -6
- package/dist/components/picker/index.mjs +8 -8
- package/dist/components/picker/timePicker/Panel.mjs +5 -5
- package/dist/components/picker/timePicker/index.mjs +7 -7
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.mjs +5 -5
- package/dist/components/select/select.mjs +5 -5
- package/dist/components/starRating/index.mjs +1 -1
- package/dist/components/starRating/starRating.mjs +1 -1
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/index.js +5 -5
- package/dist/components/table/index.mjs +8 -8
- package/dist/components/table/table-body.js +5 -5
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.js +5 -5
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.d.mts +2 -1
- package/dist/components/table/table.d.ts +2 -1
- package/dist/components/table/table.js +5 -5
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/textarea/index.mjs +2 -2
- package/dist/components/textarea/textarea.mjs +2 -2
- package/dist/components/timePicker/calendar.mjs +1 -1
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.js +5 -5
- package/dist/index.mjs +34 -34
- package/package.json +1 -1
- package/dist/{chunk-P4GNXDMO.mjs → chunk-2GFAK6ZJ.mjs} +3 -3
- package/dist/{chunk-MAGZDGUW.mjs → chunk-4TJNIEXI.mjs} +3 -3
- package/dist/{chunk-PCWANNZ4.mjs → chunk-5BROGE2S.mjs} +3 -3
- package/dist/{chunk-FFKXQUER.mjs → chunk-B4IQCFWY.mjs} +3 -3
- package/dist/{chunk-67DEFPS6.mjs → chunk-BO2SHMCC.mjs} +3 -3
- package/dist/{chunk-HJ2RUGGG.mjs → chunk-FM64QSKQ.mjs} +3 -3
- package/dist/{chunk-BTAOTEW7.mjs → chunk-NM5LI2AX.mjs} +3 -3
- package/dist/{chunk-OTC6FD4T.mjs → chunk-SQHRUIFP.mjs} +3 -3
- package/dist/{chunk-3JKORA4G.mjs → chunk-TMJ5CCVL.mjs} +3 -3
- package/dist/{chunk-JUKILR6X.mjs → chunk-U4VVNTP6.mjs} +3 -3
- package/dist/{chunk-4V5D237Z.mjs → chunk-WG6VDYUF.mjs} +3 -3
- package/dist/{chunk-VUO5J2OK.mjs → chunk-X2A3KCQQ.mjs} +3 -3
- package/dist/{chunk-6CNPC722.mjs → chunk-XWMOQGNB.mjs} +3 -3
|
@@ -854,7 +854,7 @@ var checkboxStyle = tv({
|
|
|
854
854
|
"items-center",
|
|
855
855
|
"justify-center",
|
|
856
856
|
"before:content-['']",
|
|
857
|
-
"before:bg-
|
|
857
|
+
"before:bg-transparent",
|
|
858
858
|
"before:absolute",
|
|
859
859
|
"before:inset-0",
|
|
860
860
|
"before:border",
|
|
@@ -7162,7 +7162,7 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
7162
7162
|
height: "narrow"
|
|
7163
7163
|
}
|
|
7164
7164
|
});
|
|
7165
|
-
var getCellStyle = (column) => {
|
|
7165
|
+
var getCellStyle = (column, isHeader = false) => {
|
|
7166
7166
|
const hasFixedWidth = column.width;
|
|
7167
7167
|
const hasMinWidth = column.minWidth;
|
|
7168
7168
|
return {
|
|
@@ -7170,7 +7170,7 @@ var getCellStyle = (column) => {
|
|
|
7170
7170
|
minWidth: hasMinWidth ? `${column.minWidth}px` : hasFixedWidth ? `${column.width}px` : void 0,
|
|
7171
7171
|
maxWidth: column.maxWidth ? `${column.maxWidth}px` : void 0,
|
|
7172
7172
|
height: column.height ? `${column.height}px` : void 0,
|
|
7173
|
-
textAlign: column.align || "center",
|
|
7173
|
+
textAlign: isHeader ? column.headAlign || "center" : column.align || "center",
|
|
7174
7174
|
boxSizing: "border-box",
|
|
7175
7175
|
overflow: "hidden",
|
|
7176
7176
|
textOverflow: "ellipsis",
|
|
@@ -7214,7 +7214,7 @@ function TableHeaderCell({
|
|
|
7214
7214
|
flexGrow: 0,
|
|
7215
7215
|
boxSizing: "border-box"
|
|
7216
7216
|
} : column ? {
|
|
7217
|
-
...getCellStyle(column)
|
|
7217
|
+
...getCellStyle(column, true)
|
|
7218
7218
|
} : void 0,
|
|
7219
7219
|
title: titleText,
|
|
7220
7220
|
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
@@ -7222,7 +7222,7 @@ function TableHeaderCell({
|
|
|
7222
7222
|
{
|
|
7223
7223
|
className: clsx(
|
|
7224
7224
|
"flex w-full items-center",
|
|
7225
|
-
isCheckbox ? "justify-center" : (column == null ? void 0 : column.
|
|
7225
|
+
isCheckbox ? "justify-center" : ((column == null ? void 0 : column.headAlign) || "center") === "right" ? "justify-end" : ((column == null ? void 0 : column.headAlign) || "center") === "left" ? "justify-start" : "justify-center"
|
|
7226
7226
|
),
|
|
7227
7227
|
children: content
|
|
7228
7228
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_head_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-G5LOJM43.mjs";
|
|
5
|
+
import "../../chunk-QZ3LVYJW.mjs";
|
|
6
|
+
import "../../chunk-GKZPGSA5.mjs";
|
|
5
7
|
import "../../chunk-7B7LRG5J.mjs";
|
|
6
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-MUOHB6Y7.mjs";
|
|
7
9
|
import "../../chunk-F3HENRVM.mjs";
|
|
8
|
-
import "../../chunk-QZ3LVYJW.mjs";
|
|
9
|
-
import "../../chunk-NPQBJO6G.mjs";
|
|
10
10
|
import "../../chunk-2GCSFWHD.mjs";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-FM64QSKQ.mjs";
|
|
12
12
|
import "../../chunk-DQRAFUDA.mjs";
|
|
13
13
|
import "../../chunk-EWS3FESG.mjs";
|
|
14
14
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
15
|
import "../../chunk-A6UUVHC6.mjs";
|
|
16
|
-
import "../../chunk-AOU4QX7H.mjs";
|
|
17
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
18
16
|
import "../../chunk-E3G5QXSH.mjs";
|
|
17
|
+
import "../../chunk-AOU4QX7H.mjs";
|
|
19
18
|
import "../../chunk-DPWUIAVC.mjs";
|
|
19
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
20
20
|
import "../../chunk-AC6TWLRT.mjs";
|
|
21
21
|
export {
|
|
22
22
|
table_head_default as default
|
|
@@ -198,7 +198,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
|
|
|
198
198
|
tbodyLoading: never[];
|
|
199
199
|
overlay: never[];
|
|
200
200
|
}, undefined, unknown, unknown, undefined>>;
|
|
201
|
-
declare const getCellStyle: (column: TableColumn) => CSSProperties;
|
|
201
|
+
declare const getCellStyle: (column: TableColumn, isHeader?: boolean) => CSSProperties;
|
|
202
202
|
type TableVariantProps = VariantProps<typeof tableStyle>;
|
|
203
203
|
type TableSlots = keyof ReturnType<typeof tableStyle>;
|
|
204
204
|
type TableReturnType = ReturnType<typeof tableStyle>;
|
|
@@ -209,6 +209,7 @@ type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
|
|
|
209
209
|
field: string;
|
|
210
210
|
headerName?: ReactNode;
|
|
211
211
|
align?: Align;
|
|
212
|
+
headAlign?: Align;
|
|
212
213
|
width?: number;
|
|
213
214
|
minWidth?: number;
|
|
214
215
|
maxWidth?: number;
|
|
@@ -198,7 +198,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
|
|
|
198
198
|
tbodyLoading: never[];
|
|
199
199
|
overlay: never[];
|
|
200
200
|
}, undefined, unknown, unknown, undefined>>;
|
|
201
|
-
declare const getCellStyle: (column: TableColumn) => CSSProperties;
|
|
201
|
+
declare const getCellStyle: (column: TableColumn, isHeader?: boolean) => CSSProperties;
|
|
202
202
|
type TableVariantProps = VariantProps<typeof tableStyle>;
|
|
203
203
|
type TableSlots = keyof ReturnType<typeof tableStyle>;
|
|
204
204
|
type TableReturnType = ReturnType<typeof tableStyle>;
|
|
@@ -209,6 +209,7 @@ type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
|
|
|
209
209
|
field: string;
|
|
210
210
|
headerName?: ReactNode;
|
|
211
211
|
align?: Align;
|
|
212
|
+
headAlign?: Align;
|
|
212
213
|
width?: number;
|
|
213
214
|
minWidth?: number;
|
|
214
215
|
maxWidth?: number;
|
|
@@ -852,7 +852,7 @@ var checkboxStyle = tv({
|
|
|
852
852
|
"items-center",
|
|
853
853
|
"justify-center",
|
|
854
854
|
"before:content-['']",
|
|
855
|
-
"before:bg-
|
|
855
|
+
"before:bg-transparent",
|
|
856
856
|
"before:absolute",
|
|
857
857
|
"before:inset-0",
|
|
858
858
|
"before:border",
|
|
@@ -998,7 +998,7 @@ function TableHeaderCell({
|
|
|
998
998
|
flexGrow: 0,
|
|
999
999
|
boxSizing: "border-box"
|
|
1000
1000
|
} : column ? {
|
|
1001
|
-
...getCellStyle(column)
|
|
1001
|
+
...getCellStyle(column, true)
|
|
1002
1002
|
} : void 0,
|
|
1003
1003
|
title: titleText,
|
|
1004
1004
|
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -1006,7 +1006,7 @@ function TableHeaderCell({
|
|
|
1006
1006
|
{
|
|
1007
1007
|
className: clsx(
|
|
1008
1008
|
"flex w-full items-center",
|
|
1009
|
-
isCheckbox ? "justify-center" : (column == null ? void 0 : column.
|
|
1009
|
+
isCheckbox ? "justify-center" : ((column == null ? void 0 : column.headAlign) || "center") === "right" ? "justify-end" : ((column == null ? void 0 : column.headAlign) || "center") === "left" ? "justify-start" : "justify-center"
|
|
1010
1010
|
),
|
|
1011
1011
|
children: content
|
|
1012
1012
|
}
|
|
@@ -7255,7 +7255,7 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
7255
7255
|
height: "narrow"
|
|
7256
7256
|
}
|
|
7257
7257
|
});
|
|
7258
|
-
var getCellStyle = (column) => {
|
|
7258
|
+
var getCellStyle = (column, isHeader = false) => {
|
|
7259
7259
|
const hasFixedWidth = column.width;
|
|
7260
7260
|
const hasMinWidth = column.minWidth;
|
|
7261
7261
|
return {
|
|
@@ -7263,7 +7263,7 @@ var getCellStyle = (column) => {
|
|
|
7263
7263
|
minWidth: hasMinWidth ? `${column.minWidth}px` : hasFixedWidth ? `${column.width}px` : void 0,
|
|
7264
7264
|
maxWidth: column.maxWidth ? `${column.maxWidth}px` : void 0,
|
|
7265
7265
|
height: column.height ? `${column.height}px` : void 0,
|
|
7266
|
-
textAlign: column.align || "center",
|
|
7266
|
+
textAlign: isHeader ? column.headAlign || "center" : column.align || "center",
|
|
7267
7267
|
boxSizing: "border-box",
|
|
7268
7268
|
overflow: "hidden",
|
|
7269
7269
|
textOverflow: "ellipsis",
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getCellStyle,
|
|
4
4
|
table_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-G5LOJM43.mjs";
|
|
6
|
+
import "../../chunk-QZ3LVYJW.mjs";
|
|
7
|
+
import "../../chunk-GKZPGSA5.mjs";
|
|
6
8
|
import "../../chunk-7B7LRG5J.mjs";
|
|
7
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-MUOHB6Y7.mjs";
|
|
8
10
|
import "../../chunk-F3HENRVM.mjs";
|
|
9
|
-
import "../../chunk-QZ3LVYJW.mjs";
|
|
10
|
-
import "../../chunk-NPQBJO6G.mjs";
|
|
11
11
|
import "../../chunk-2GCSFWHD.mjs";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-FM64QSKQ.mjs";
|
|
13
13
|
import "../../chunk-DQRAFUDA.mjs";
|
|
14
14
|
import "../../chunk-EWS3FESG.mjs";
|
|
15
15
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
16
16
|
import "../../chunk-A6UUVHC6.mjs";
|
|
17
|
-
import "../../chunk-AOU4QX7H.mjs";
|
|
18
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
19
17
|
import "../../chunk-E3G5QXSH.mjs";
|
|
18
|
+
import "../../chunk-AOU4QX7H.mjs";
|
|
20
19
|
import "../../chunk-DPWUIAVC.mjs";
|
|
20
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
21
21
|
import "../../chunk-AC6TWLRT.mjs";
|
|
22
22
|
export {
|
|
23
23
|
table_default as default,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import "../../chunk-RRAZM5D3.mjs";
|
|
3
3
|
import {
|
|
4
4
|
textarea_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
5
|
+
} from "../../chunk-4TJNIEXI.mjs";
|
|
7
6
|
import "../../chunk-E3G5QXSH.mjs";
|
|
7
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
10
10
|
textarea_default as Textarea
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
textarea_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
5
|
+
} from "../../chunk-4TJNIEXI.mjs";
|
|
7
6
|
import "../../chunk-E3G5QXSH.mjs";
|
|
7
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
10
10
|
textarea_default as default
|
|
@@ -7,10 +7,10 @@ import "../../chunk-ZYIIXWVY.mjs";
|
|
|
7
7
|
import {
|
|
8
8
|
Icon_default
|
|
9
9
|
} from "../../chunk-A6UUVHC6.mjs";
|
|
10
|
-
import "../../chunk-AOU4QX7H.mjs";
|
|
11
10
|
import {
|
|
12
11
|
mapPropsVariants
|
|
13
12
|
} from "../../chunk-E3G5QXSH.mjs";
|
|
13
|
+
import "../../chunk-AOU4QX7H.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
16
|
} from "../../chunk-DPWUIAVC.mjs";
|
|
@@ -3,17 +3,17 @@ import "../../chunk-LUWGOKLG.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
ToastProvider,
|
|
5
5
|
useToast
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-PPE6YTXQ.mjs";
|
|
7
7
|
import "../../chunk-ZOTHPHXA.mjs";
|
|
8
8
|
import {
|
|
9
9
|
toast_default
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-U4VVNTP6.mjs";
|
|
11
11
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
12
12
|
import "../../chunk-A6UUVHC6.mjs";
|
|
13
|
-
import "../../chunk-AOU4QX7H.mjs";
|
|
14
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
15
13
|
import "../../chunk-E3G5QXSH.mjs";
|
|
14
|
+
import "../../chunk-AOU4QX7H.mjs";
|
|
16
15
|
import "../../chunk-DPWUIAVC.mjs";
|
|
16
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
17
17
|
import "../../chunk-AC6TWLRT.mjs";
|
|
18
18
|
export {
|
|
19
19
|
toast_default as Toast,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
toast_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-U4VVNTP6.mjs";
|
|
5
5
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
6
6
|
import "../../chunk-A6UUVHC6.mjs";
|
|
7
|
-
import "../../chunk-AOU4QX7H.mjs";
|
|
8
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
9
7
|
import "../../chunk-E3G5QXSH.mjs";
|
|
8
|
+
import "../../chunk-AOU4QX7H.mjs";
|
|
10
9
|
import "../../chunk-DPWUIAVC.mjs";
|
|
10
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
|
13
13
|
toast_default as default
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ToastProvider,
|
|
4
4
|
useToast
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-PPE6YTXQ.mjs";
|
|
6
6
|
import "../../chunk-ZOTHPHXA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-U4VVNTP6.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-A6UUVHC6.mjs";
|
|
10
|
-
import "../../chunk-AOU4QX7H.mjs";
|
|
11
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
12
10
|
import "../../chunk-E3G5QXSH.mjs";
|
|
11
|
+
import "../../chunk-AOU4QX7H.mjs";
|
|
13
12
|
import "../../chunk-DPWUIAVC.mjs";
|
|
13
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
14
14
|
import "../../chunk-AC6TWLRT.mjs";
|
|
15
15
|
export {
|
|
16
16
|
ToastProvider,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import "../../chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-XWMOQGNB.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-A6UUVHC6.mjs";
|
|
8
8
|
import "../../chunk-AOU4QX7H.mjs";
|
|
9
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
10
9
|
import "../../chunk-DPWUIAVC.mjs";
|
|
10
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
|
13
13
|
tree_default as Tree
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
Tree,
|
|
4
4
|
TreeNodeItem,
|
|
5
5
|
tree_default
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-XWMOQGNB.mjs";
|
|
7
7
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
8
8
|
import "../../chunk-A6UUVHC6.mjs";
|
|
9
9
|
import "../../chunk-AOU4QX7H.mjs";
|
|
10
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
11
10
|
import "../../chunk-DPWUIAVC.mjs";
|
|
11
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
12
12
|
import "../../chunk-AC6TWLRT.mjs";
|
|
13
13
|
export {
|
|
14
14
|
Tree,
|
package/dist/index.js
CHANGED
|
@@ -8400,7 +8400,7 @@ var checkboxStyle = tv({
|
|
|
8400
8400
|
"items-center",
|
|
8401
8401
|
"justify-center",
|
|
8402
8402
|
"before:content-['']",
|
|
8403
|
-
"before:bg-
|
|
8403
|
+
"before:bg-transparent",
|
|
8404
8404
|
"before:absolute",
|
|
8405
8405
|
"before:inset-0",
|
|
8406
8406
|
"before:border",
|
|
@@ -8546,7 +8546,7 @@ function TableHeaderCell({
|
|
|
8546
8546
|
flexGrow: 0,
|
|
8547
8547
|
boxSizing: "border-box"
|
|
8548
8548
|
} : column ? {
|
|
8549
|
-
...getCellStyle(column)
|
|
8549
|
+
...getCellStyle(column, true)
|
|
8550
8550
|
} : void 0,
|
|
8551
8551
|
title: titleText,
|
|
8552
8552
|
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
@@ -8554,7 +8554,7 @@ function TableHeaderCell({
|
|
|
8554
8554
|
{
|
|
8555
8555
|
className: clsx(
|
|
8556
8556
|
"flex w-full items-center",
|
|
8557
|
-
isCheckbox ? "justify-center" : (column == null ? void 0 : column.
|
|
8557
|
+
isCheckbox ? "justify-center" : ((column == null ? void 0 : column.headAlign) || "center") === "right" ? "justify-end" : ((column == null ? void 0 : column.headAlign) || "center") === "left" ? "justify-start" : "justify-center"
|
|
8558
8558
|
),
|
|
8559
8559
|
children: content
|
|
8560
8560
|
}
|
|
@@ -9476,7 +9476,7 @@ var tableStyle = (0, import_tailwind_variants18.tv)({
|
|
|
9476
9476
|
height: "narrow"
|
|
9477
9477
|
}
|
|
9478
9478
|
});
|
|
9479
|
-
var getCellStyle = (column) => {
|
|
9479
|
+
var getCellStyle = (column, isHeader = false) => {
|
|
9480
9480
|
const hasFixedWidth = column.width;
|
|
9481
9481
|
const hasMinWidth = column.minWidth;
|
|
9482
9482
|
return {
|
|
@@ -9484,7 +9484,7 @@ var getCellStyle = (column) => {
|
|
|
9484
9484
|
minWidth: hasMinWidth ? `${column.minWidth}px` : hasFixedWidth ? `${column.width}px` : void 0,
|
|
9485
9485
|
maxWidth: column.maxWidth ? `${column.maxWidth}px` : void 0,
|
|
9486
9486
|
height: column.height ? `${column.height}px` : void 0,
|
|
9487
|
-
textAlign: column.align || "center",
|
|
9487
|
+
textAlign: isHeader ? column.headAlign || "center" : column.align || "center",
|
|
9488
9488
|
boxSizing: "border-box",
|
|
9489
9489
|
overflow: "hidden",
|
|
9490
9490
|
textOverflow: "ellipsis",
|
package/dist/index.mjs
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import "./chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XWMOQGNB.mjs";
|
|
6
6
|
import "./chunk-LUWGOKLG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ToastProvider,
|
|
9
9
|
useToast
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PPE6YTXQ.mjs";
|
|
11
11
|
import "./chunk-ZOTHPHXA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
toast_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-U4VVNTP6.mjs";
|
|
15
15
|
import "./chunk-HIE2YRGA.mjs";
|
|
16
16
|
import {
|
|
17
17
|
tooltip_default
|
|
@@ -21,7 +21,7 @@ import "./chunk-WSIADHVC.mjs";
|
|
|
21
21
|
import "./chunk-DX3KXNP6.mjs";
|
|
22
22
|
import {
|
|
23
23
|
table_default
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G5LOJM43.mjs";
|
|
25
25
|
import "./chunk-3MY6LO7N.mjs";
|
|
26
26
|
import {
|
|
27
27
|
tabs_default
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import "./chunk-RRAZM5D3.mjs";
|
|
30
30
|
import {
|
|
31
31
|
textarea_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4TJNIEXI.mjs";
|
|
33
33
|
import "./chunk-MV2WCFK7.mjs";
|
|
34
34
|
import {
|
|
35
35
|
slider_default
|
|
@@ -44,33 +44,37 @@ import {
|
|
|
44
44
|
} from "./chunk-CBIV6KFQ.mjs";
|
|
45
45
|
import {
|
|
46
46
|
definition_table_default
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-TPFN22HR.mjs";
|
|
49
|
-
import {
|
|
50
|
-
radio_default
|
|
51
|
-
} from "./chunk-FFKXQUER.mjs";
|
|
47
|
+
} from "./chunk-WG6VDYUF.mjs";
|
|
52
48
|
import "./chunk-QCEKPS7U.mjs";
|
|
53
49
|
import {
|
|
54
50
|
select_default
|
|
55
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-SQHRUIFP.mjs";
|
|
56
52
|
import "./chunk-MZ76AA76.mjs";
|
|
57
53
|
import {
|
|
58
54
|
skeleton_default
|
|
59
55
|
} from "./chunk-6PN3DGOE.mjs";
|
|
56
|
+
import "./chunk-QZ3LVYJW.mjs";
|
|
57
|
+
import {
|
|
58
|
+
checkbox_default
|
|
59
|
+
} from "./chunk-GKZPGSA5.mjs";
|
|
60
60
|
import "./chunk-4VWG4726.mjs";
|
|
61
61
|
import {
|
|
62
62
|
timePicker_default
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-G7BKYINF.mjs";
|
|
64
|
+
import "./chunk-XLGDSS5N.mjs";
|
|
65
65
|
import "./chunk-RKHH3CUS.mjs";
|
|
66
|
+
import "./chunk-TPFN22HR.mjs";
|
|
67
|
+
import {
|
|
68
|
+
radio_default
|
|
69
|
+
} from "./chunk-B4IQCFWY.mjs";
|
|
66
70
|
import "./chunk-7B7LRG5J.mjs";
|
|
67
71
|
import {
|
|
68
72
|
pagination_default
|
|
69
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MUOHB6Y7.mjs";
|
|
70
74
|
import "./chunk-F3HENRVM.mjs";
|
|
71
75
|
import {
|
|
72
76
|
datePicker_default
|
|
73
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-YF6VTTM7.mjs";
|
|
74
78
|
import {
|
|
75
79
|
day_default
|
|
76
80
|
} from "./chunk-DI7QXTYZ.mjs";
|
|
@@ -81,21 +85,17 @@ import {
|
|
|
81
85
|
} from "./chunk-HKF5BNPX.mjs";
|
|
82
86
|
import {
|
|
83
87
|
listItem_default
|
|
84
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-5BROGE2S.mjs";
|
|
85
89
|
import "./chunk-NNVGYR5T.mjs";
|
|
86
90
|
import {
|
|
87
91
|
useGlobalModal
|
|
88
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-D3L5KHBB.mjs";
|
|
89
93
|
import {
|
|
90
94
|
GlobalModalProvider
|
|
91
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-RZ5AYX7U.mjs";
|
|
92
96
|
import {
|
|
93
97
|
modal_default
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-QZ3LVYJW.mjs";
|
|
96
|
-
import {
|
|
97
|
-
checkbox_default
|
|
98
|
-
} from "./chunk-NPQBJO6G.mjs";
|
|
98
|
+
} from "./chunk-QJ4PYUEO.mjs";
|
|
99
99
|
import "./chunk-MGEWSREV.mjs";
|
|
100
100
|
import {
|
|
101
101
|
chip_default
|
|
@@ -103,19 +103,19 @@ import {
|
|
|
103
103
|
import "./chunk-32GA3YW4.mjs";
|
|
104
104
|
import {
|
|
105
105
|
drawer_default
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-TMJ5CCVL.mjs";
|
|
107
107
|
import "./chunk-RLXOHILK.mjs";
|
|
108
108
|
import {
|
|
109
109
|
fileUpload_default
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-UCXI6QQX.mjs";
|
|
111
111
|
import "./chunk-7VOQKIIK.mjs";
|
|
112
112
|
import {
|
|
113
113
|
progress_default
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-X2A3KCQQ.mjs";
|
|
115
115
|
import "./chunk-2GCSFWHD.mjs";
|
|
116
116
|
import {
|
|
117
117
|
input_default
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-FM64QSKQ.mjs";
|
|
119
119
|
import "./chunk-3OCNT22V.mjs";
|
|
120
120
|
import {
|
|
121
121
|
areaChart_default
|
|
@@ -140,18 +140,18 @@ import {
|
|
|
140
140
|
import "./chunk-SE5TU755.mjs";
|
|
141
141
|
import {
|
|
142
142
|
backdrop_default
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-2GFAK6ZJ.mjs";
|
|
144
144
|
import "./chunk-KYIODWXL.mjs";
|
|
145
145
|
import {
|
|
146
146
|
breadcrumb_default
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-27F72LBG.mjs";
|
|
148
148
|
import "./chunk-MY5U63QO.mjs";
|
|
149
149
|
import {
|
|
150
150
|
text_button_default
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-NM5LI2AX.mjs";
|
|
152
152
|
import {
|
|
153
153
|
button_group_default
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-BO2SHMCC.mjs";
|
|
155
155
|
import {
|
|
156
156
|
button_default
|
|
157
157
|
} from "./chunk-JXIQOVRO.mjs";
|
|
@@ -174,18 +174,18 @@ import {
|
|
|
174
174
|
import {
|
|
175
175
|
accordionItem_default
|
|
176
176
|
} from "./chunk-NKYNCXOU.mjs";
|
|
177
|
+
import "./chunk-E3G5QXSH.mjs";
|
|
177
178
|
import "./chunk-7DLOYKVC.mjs";
|
|
178
179
|
import {
|
|
179
180
|
avatar_default
|
|
180
181
|
} from "./chunk-3N442F6I.mjs";
|
|
181
182
|
import "./chunk-AOU4QX7H.mjs";
|
|
182
|
-
import "./chunk-3V4HT2K5.mjs";
|
|
183
|
-
import "./chunk-27Y6K5NK.mjs";
|
|
184
|
-
import "./chunk-E3G5QXSH.mjs";
|
|
185
183
|
import {
|
|
186
184
|
deepnoidUi,
|
|
187
185
|
tv
|
|
188
186
|
} from "./chunk-DPWUIAVC.mjs";
|
|
187
|
+
import "./chunk-3V4HT2K5.mjs";
|
|
188
|
+
import "./chunk-27Y6K5NK.mjs";
|
|
189
189
|
import "./chunk-AC6TWLRT.mjs";
|
|
190
190
|
export {
|
|
191
191
|
accordion_default as Accordion,
|
package/package.json
CHANGED
|
@@ -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-DPWUIAVC.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,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-A6UUVHC6.mjs";
|
|
5
|
-
import {
|
|
6
|
-
avatar_default
|
|
7
|
-
} from "./chunk-3N442F6I.mjs";
|
|
8
5
|
import {
|
|
9
6
|
mapPropsVariants
|
|
10
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
avatar_default
|
|
10
|
+
} from "./chunk-3N442F6I.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
13
|
} from "./chunk-DPWUIAVC.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
clsx
|
|
4
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
5
2
|
import {
|
|
6
3
|
mapPropsVariants
|
|
7
4
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
5
|
import {
|
|
9
6
|
tv
|
|
10
7
|
} from "./chunk-DPWUIAVC.mjs";
|
|
8
|
+
import {
|
|
9
|
+
clsx
|
|
10
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/radio/radio.tsx
|
|
13
13
|
import { forwardRef, 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-DPWUIAVC.mjs";
|
|
5
|
+
import {
|
|
6
|
+
clsx
|
|
7
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/button/button-group.tsx
|
|
10
10
|
import React, { forwardRef, isValidElement } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-A6UUVHC6.mjs";
|
|
5
|
-
import {
|
|
6
|
-
clsx
|
|
7
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
8
5
|
import {
|
|
9
6
|
mapPropsVariants
|
|
10
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
8
|
import {
|
|
12
9
|
tv
|
|
13
10
|
} from "./chunk-DPWUIAVC.mjs";
|
|
11
|
+
import {
|
|
12
|
+
clsx
|
|
13
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/input/input.tsx
|
|
16
16
|
import {
|