@expcat/tigercat-react 1.0.0 → 1.0.7
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/dist/{chunk-L6WOLPV7.mjs → chunk-32PAZTVF.mjs} +2 -2
- package/dist/{chunk-ZCBKAOAX.mjs → chunk-34VGG7AK.mjs} +1 -1
- package/dist/{chunk-SULHTYSV.js → chunk-4Q4GADHJ.js} +1 -1
- package/dist/{chunk-5CQEXJF2.js → chunk-5MALB34H.js} +2 -2
- package/dist/chunk-7BVXG3Z5.mjs +22 -0
- package/dist/{chunk-DR2DFFNQ.js → chunk-AHF6JE43.js} +1 -1
- package/dist/{chunk-XODGTE2Y.js → chunk-AUW7DCXL.js} +1 -1
- package/dist/{chunk-5BBZBI2V.mjs → chunk-AYDTXJOR.mjs} +1 -1
- package/dist/{chunk-6SDLSIAO.mjs → chunk-B3MNIAM5.mjs} +1 -1
- package/dist/{chunk-EHU3J4B2.mjs → chunk-DBNAL6G6.mjs} +100 -47
- package/dist/{chunk-2H43QM4B.mjs → chunk-EBLAM3YP.mjs} +1 -1
- package/dist/{chunk-QNFSZYTZ.js → chunk-FHE4D56E.js} +1 -1
- package/dist/{chunk-HADBETZG.js → chunk-FNK4ZATV.js} +1 -1
- package/dist/{chunk-WGPUGPYE.js → chunk-H3JAEEEE.js} +99 -46
- package/dist/{chunk-VUD4BU4K.mjs → chunk-H3NLKNR4.mjs} +1 -1
- package/dist/{chunk-VWMVWZMD.js → chunk-HU3VDVH6.js} +1 -2
- package/dist/{chunk-H5CAIMVL.js → chunk-I3CDTF4U.js} +1 -1
- package/dist/{chunk-SJ5GT7Y4.mjs → chunk-J3N24I7A.mjs} +1 -1
- package/dist/{chunk-SVASEF6K.js → chunk-JB33A4S6.js} +2 -2
- package/dist/{chunk-FT6TEMUF.mjs → chunk-LPNHBHS2.mjs} +1 -1
- package/dist/{chunk-RU6YS4LZ.mjs → chunk-MB7CJ32C.mjs} +1 -1
- package/dist/chunk-NG3GA5LF.js +25 -0
- package/dist/{chunk-QVZTZHCJ.mjs → chunk-PNSWIJG3.mjs} +16 -7
- package/dist/{chunk-333325LH.mjs → chunk-QYLNPHKG.mjs} +1 -1
- package/dist/{chunk-JR7L67Q3.mjs → chunk-R3QWJ7GT.mjs} +1 -1
- package/dist/{chunk-45H3JEI3.js → chunk-RFPXIDAK.js} +16 -7
- package/dist/{chunk-SKJXVYYF.js → chunk-RWZIWKZR.js} +2 -2
- package/dist/{chunk-IWTY32AW.mjs → chunk-SWF7GJYT.mjs} +1 -2
- package/dist/{chunk-J23B66DJ.js → chunk-XO6NSGV3.js} +1 -1
- package/dist/{chunk-FRHGRKKT.js → chunk-XR6B2URW.js} +1 -1
- package/dist/{chunk-T6KZ73VM.js → chunk-YHFBPSMF.js} +1 -1
- package/dist/{chunk-AYDPWKSW.mjs → chunk-YJ4W6DMX.mjs} +2 -2
- package/dist/components/ChatWindow.js +3 -3
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/ColorPicker.js +2 -2
- package/dist/components/ColorPicker.mjs +1 -1
- package/dist/components/CropUpload.js +2 -2
- package/dist/components/CropUpload.mjs +1 -1
- package/dist/components/DataTableWithToolbar.js +4 -4
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DonutChart.js +3 -3
- package/dist/components/DonutChart.mjs +1 -1
- package/dist/components/FloatButton.js +3 -3
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/FunnelChart.js +2 -2
- package/dist/components/FunnelChart.mjs +1 -1
- package/dist/components/InputGroup.js +5 -5
- package/dist/components/InputGroup.mjs +1 -1
- package/dist/components/Kanban.d.mts +3 -2
- package/dist/components/Kanban.d.ts +3 -2
- package/dist/components/Kanban.js +5 -4
- package/dist/components/Kanban.mjs +3 -2
- package/dist/components/NotificationCenter.js +3 -3
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/QRCode.js +3 -3
- package/dist/components/QRCode.mjs +1 -1
- package/dist/components/Splitter.js +3 -3
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/SunburstChart.js +2 -2
- package/dist/components/SunburstChart.mjs +1 -1
- package/dist/components/Table.d.mts +1 -1
- package/dist/components/Table.d.ts +1 -1
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/TaskBoard.js +3 -3
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/TreeMapChart.js +2 -2
- package/dist/components/TreeMapChart.mjs +1 -1
- package/dist/index.js +37 -37
- package/dist/index.mjs +16 -16
- package/package.json +2 -2
- package/dist/chunk-24RUEJWB.js +0 -293
- package/dist/chunk-YXWRSEP5.mjs +0 -286
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkH3JAEEEE_js = require('./chunk-H3JAEEEE.js');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
|
|
6
|
+
var Kanban = ({
|
|
7
|
+
showCardCount = true,
|
|
8
|
+
allowAddCard = true,
|
|
9
|
+
allowAddColumn = false,
|
|
10
|
+
...props
|
|
11
|
+
}) => {
|
|
12
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13
|
+
chunkH3JAEEEE_js.TaskBoard,
|
|
14
|
+
{
|
|
15
|
+
showCardCount,
|
|
16
|
+
allowAddCard,
|
|
17
|
+
allowAddColumn,
|
|
18
|
+
...props
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
var Kanban_default = Kanban;
|
|
23
|
+
|
|
24
|
+
exports.Kanban = Kanban;
|
|
25
|
+
exports.Kanban_default = Kanban_default;
|
|
@@ -19,21 +19,30 @@ var Splitter = ({
|
|
|
19
19
|
children
|
|
20
20
|
}) => {
|
|
21
21
|
const containerRef = useRef(null);
|
|
22
|
-
const [paneSizes, setPaneSizes] = useState(
|
|
22
|
+
const [paneSizes, setPaneSizes] = useState([]);
|
|
23
23
|
const draggingRef = useRef(null);
|
|
24
24
|
useEffect(() => {
|
|
25
|
-
if (controlledSizes) setPaneSizes(controlledSizes);
|
|
26
|
-
}, [controlledSizes]);
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (controlledSizes && controlledSizes.length > 0) return;
|
|
29
25
|
const el = containerRef.current;
|
|
30
26
|
if (!el) return;
|
|
31
27
|
const paneCount = React.Children.count(children);
|
|
32
28
|
if (paneCount === 0) return;
|
|
33
29
|
const totalGutter = (paneCount - 1) * gutterSize;
|
|
34
30
|
const total = direction === "horizontal" ? el.clientWidth - totalGutter : el.clientHeight - totalGutter;
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
if (controlledSizes && controlledSizes.length > 0) {
|
|
32
|
+
if (total > 0) {
|
|
33
|
+
const sum = controlledSizes.reduce((a, b) => a + b, 0);
|
|
34
|
+
if (sum > 0) {
|
|
35
|
+
setPaneSizes(controlledSizes.map((s) => s / sum * total));
|
|
36
|
+
}
|
|
37
|
+
} else {
|
|
38
|
+
setPaneSizes([...controlledSizes]);
|
|
39
|
+
}
|
|
40
|
+
} else {
|
|
41
|
+
if (total > 0) {
|
|
42
|
+
const eachSize = total / paneCount;
|
|
43
|
+
setPaneSizes(Array.from({ length: paneCount }, () => eachSize));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
37
46
|
}, [children, direction, gutterSize, controlledSizes]);
|
|
38
47
|
const mins = useMemo(() => paneSizes.map(() => min), [paneSizes.length, min]);
|
|
39
48
|
const maxes = useMemo(() => paneSizes.map(() => max), [paneSizes.length, max]);
|
|
@@ -25,21 +25,30 @@ var Splitter = ({
|
|
|
25
25
|
children
|
|
26
26
|
}) => {
|
|
27
27
|
const containerRef = React.useRef(null);
|
|
28
|
-
const [paneSizes, setPaneSizes] = React.useState(
|
|
28
|
+
const [paneSizes, setPaneSizes] = React.useState([]);
|
|
29
29
|
const draggingRef = React.useRef(null);
|
|
30
30
|
React.useEffect(() => {
|
|
31
|
-
if (controlledSizes) setPaneSizes(controlledSizes);
|
|
32
|
-
}, [controlledSizes]);
|
|
33
|
-
React.useEffect(() => {
|
|
34
|
-
if (controlledSizes && controlledSizes.length > 0) return;
|
|
35
31
|
const el = containerRef.current;
|
|
36
32
|
if (!el) return;
|
|
37
33
|
const paneCount = React__default.default.Children.count(children);
|
|
38
34
|
if (paneCount === 0) return;
|
|
39
35
|
const totalGutter = (paneCount - 1) * gutterSize;
|
|
40
36
|
const total = direction === "horizontal" ? el.clientWidth - totalGutter : el.clientHeight - totalGutter;
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
if (controlledSizes && controlledSizes.length > 0) {
|
|
38
|
+
if (total > 0) {
|
|
39
|
+
const sum = controlledSizes.reduce((a, b) => a + b, 0);
|
|
40
|
+
if (sum > 0) {
|
|
41
|
+
setPaneSizes(controlledSizes.map((s) => s / sum * total));
|
|
42
|
+
}
|
|
43
|
+
} else {
|
|
44
|
+
setPaneSizes([...controlledSizes]);
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
if (total > 0) {
|
|
48
|
+
const eachSize = total / paneCount;
|
|
49
|
+
setPaneSizes(Array.from({ length: paneCount }, () => eachSize));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
43
52
|
}, [children, direction, gutterSize, controlledSizes]);
|
|
44
53
|
const mins = React.useMemo(() => paneSizes.map(() => min), [paneSizes.length, min]);
|
|
45
54
|
const maxes = React.useMemo(() => paneSizes.map(() => max), [paneSizes.length, max]);
|
|
@@ -14,7 +14,7 @@ var SunburstChart = ({
|
|
|
14
14
|
padding = 24,
|
|
15
15
|
data,
|
|
16
16
|
innerRadiusRatio = 0,
|
|
17
|
-
showLabels = true,
|
|
17
|
+
showLabels: _showLabels = true,
|
|
18
18
|
colors,
|
|
19
19
|
hoverable = false,
|
|
20
20
|
hoveredIndex: hoveredIndexProp,
|
|
@@ -27,7 +27,7 @@ var SunburstChart = ({
|
|
|
27
27
|
legendMarkerSize = 10,
|
|
28
28
|
legendGap = 8,
|
|
29
29
|
showTooltip = true,
|
|
30
|
-
tooltipFormatter,
|
|
30
|
+
tooltipFormatter: _tooltipFormatter,
|
|
31
31
|
title,
|
|
32
32
|
desc,
|
|
33
33
|
className,
|
|
@@ -98,7 +98,6 @@ var NotificationCenter = ({
|
|
|
98
98
|
...group,
|
|
99
99
|
items: applyReadOverrides(group.items)
|
|
100
100
|
})),
|
|
101
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
102
101
|
[resolvedGroups, readStateOverrides]
|
|
103
102
|
);
|
|
104
103
|
const effectiveCurrentGroup = useMemo(() => {
|
|
@@ -143,7 +142,7 @@ var NotificationCenter = ({
|
|
|
143
142
|
}
|
|
144
143
|
onMarkAllRead?.(currentGroupKey, effectiveCurrentGroupItems);
|
|
145
144
|
};
|
|
146
|
-
const renderItem = (item,
|
|
145
|
+
const renderItem = (item, _index) => {
|
|
147
146
|
const isRead = Boolean(item.read);
|
|
148
147
|
const timeText = item.time ? formatActivityTime(item.time) : "";
|
|
149
148
|
return /* @__PURE__ */ jsxs(
|
|
@@ -12,7 +12,7 @@ var SunburstChart = ({
|
|
|
12
12
|
padding = 24,
|
|
13
13
|
data,
|
|
14
14
|
innerRadiusRatio = 0,
|
|
15
|
-
showLabels = true,
|
|
15
|
+
showLabels: _showLabels = true,
|
|
16
16
|
colors,
|
|
17
17
|
hoverable = false,
|
|
18
18
|
hoveredIndex: hoveredIndexProp,
|
|
@@ -25,7 +25,7 @@ var SunburstChart = ({
|
|
|
25
25
|
legendMarkerSize = 10,
|
|
26
26
|
legendGap = 8,
|
|
27
27
|
showTooltip = true,
|
|
28
|
-
tooltipFormatter,
|
|
28
|
+
tooltipFormatter: _tooltipFormatter,
|
|
29
29
|
title,
|
|
30
30
|
desc,
|
|
31
31
|
className,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk4Q4GADHJ_js = require('../chunk-4Q4GADHJ.js');
|
|
6
6
|
require('../chunk-ZYJTHGQW.js');
|
|
7
7
|
require('../chunk-WVVXZKNI.js');
|
|
8
8
|
require('../chunk-UKGQ7256.js');
|
|
@@ -13,9 +13,9 @@ require('../chunk-CI2WHAT2.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "ChatWindow", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk4Q4GADHJ_js.ChatWindow; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "default", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk4Q4GADHJ_js.ChatWindow_default; }
|
|
21
21
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJB33A4S6_js = require('../chunk-JB33A4S6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ColorPicker", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkJB33A4S6_js.ColorPicker; }
|
|
10
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ColorPicker } from '../chunk-
|
|
1
|
+
export { ColorPicker } from '../chunk-32PAZTVF.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAHF6JE43_js = require('../chunk-AHF6JE43.js');
|
|
4
4
|
require('../chunk-CKFE2B36.js');
|
|
5
5
|
require('../chunk-U3JOBIDU.js');
|
|
6
6
|
require('../chunk-ZYPEO2KY.js');
|
|
@@ -10,5 +10,5 @@ require('../chunk-BCNKTT5C.js');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "CropUpload", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAHF6JE43_js.CropUpload; }
|
|
14
14
|
});
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var chunk5MALB34H_js = require('../chunk-5MALB34H.js');
|
|
6
|
+
require('../chunk-XO6NSGV3.js');
|
|
7
7
|
require('../chunk-NZNSUKPT.js');
|
|
8
8
|
require('../chunk-3GW3UAKB.js');
|
|
9
9
|
require('../chunk-ZYJTHGQW.js');
|
|
@@ -13,9 +13,9 @@ require('../chunk-BCNKTT5C.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "DataTableWithToolbar", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk5MALB34H_js.DataTableWithToolbar; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "default", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk5MALB34H_js.DataTableWithToolbar_default; }
|
|
21
21
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DataTableWithToolbar, DataTableWithToolbar_default as default } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DataTableWithToolbar, DataTableWithToolbar_default as default } from '../chunk-B3MNIAM5.mjs';
|
|
2
|
+
import '../chunk-MB7CJ32C.mjs';
|
|
3
3
|
import '../chunk-HZ5Z5Y2J.mjs';
|
|
4
4
|
import '../chunk-NZLOLMT2.mjs';
|
|
5
5
|
import '../chunk-WNLUUD5N.mjs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkXR6B2URW_js = require('../chunk-XR6B2URW.js');
|
|
6
6
|
require('../chunk-WK5QJO57.js');
|
|
7
7
|
require('../chunk-KQZ4F7FZ.js');
|
|
8
8
|
require('../chunk-6PBNFLM7.js');
|
|
@@ -13,9 +13,9 @@ require('../chunk-DUWAV47E.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "DonutChart", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkXR6B2URW_js.DonutChart; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "default", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkXR6B2URW_js.DonutChart_default; }
|
|
21
21
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFNK4ZATV_js = require('../chunk-FNK4ZATV.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "FloatButton", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkFNK4ZATV_js.FloatButton; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FloatButtonGroup", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFNK4ZATV_js.FloatButtonGroup; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FloatButton, FloatButtonGroup } from '../chunk-
|
|
1
|
+
export { FloatButton, FloatButtonGroup } from '../chunk-QYLNPHKG.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFHE4D56E_js = require('../chunk-FHE4D56E.js');
|
|
4
4
|
require('../chunk-KQZ4F7FZ.js');
|
|
5
5
|
require('../chunk-6PBNFLM7.js');
|
|
6
6
|
require('../chunk-M375I56K.js');
|
|
@@ -10,5 +10,5 @@ require('../chunk-DUWAV47E.js');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "FunnelChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFHE4D56E_js.FunnelChart; }
|
|
14
14
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkI3CDTF4U_js = require('../chunk-I3CDTF4U.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "InputGroup", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkI3CDTF4U_js.InputGroup; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "InputGroupAddon", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkI3CDTF4U_js.InputGroupAddon; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "InputGroupContext", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkI3CDTF4U_js.InputGroupContext; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "useInputGroupContext", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkI3CDTF4U_js.useInputGroupContext; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InputGroup, InputGroupAddon, InputGroupContext, useInputGroupContext } from '../chunk-
|
|
1
|
+
export { InputGroup, InputGroupAddon, InputGroupContext, useInputGroupContext } from '../chunk-34VGG7AK.mjs';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as _expcat_tigercat_core from '@expcat/tigercat-core';
|
|
2
|
+
import { TaskBoardColumn, TaskBoardCardMoveEvent, TaskBoardColumnMoveEvent } from '@expcat/tigercat-core';
|
|
1
3
|
import React from 'react';
|
|
2
|
-
import { TaskBoardColumn, TaskBoardCardMoveEvent, TaskBoardColumnMoveEvent, TaskBoardCard } from '@expcat/tigercat-core';
|
|
3
4
|
|
|
4
5
|
interface KanbanProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
6
|
/** Controlled columns */
|
|
@@ -37,7 +38,7 @@ interface KanbanProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
|
|
|
37
38
|
/** Column add callback */
|
|
38
39
|
onColumnAdd?: () => void;
|
|
39
40
|
/** Custom card renderer */
|
|
40
|
-
renderCard?: (card: TaskBoardCard, columnId: string | number) => React.ReactNode;
|
|
41
|
+
renderCard?: (card: _expcat_tigercat_core.TaskBoardCard, columnId: string | number) => React.ReactNode;
|
|
41
42
|
/** Custom column header renderer */
|
|
42
43
|
renderColumnHeader?: (column: TaskBoardColumn) => React.ReactNode;
|
|
43
44
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as _expcat_tigercat_core from '@expcat/tigercat-core';
|
|
2
|
+
import { TaskBoardColumn, TaskBoardCardMoveEvent, TaskBoardColumnMoveEvent } from '@expcat/tigercat-core';
|
|
1
3
|
import React from 'react';
|
|
2
|
-
import { TaskBoardColumn, TaskBoardCardMoveEvent, TaskBoardColumnMoveEvent, TaskBoardCard } from '@expcat/tigercat-core';
|
|
3
4
|
|
|
4
5
|
interface KanbanProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
6
|
/** Controlled columns */
|
|
@@ -37,7 +38,7 @@ interface KanbanProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
|
|
|
37
38
|
/** Column add callback */
|
|
38
39
|
onColumnAdd?: () => void;
|
|
39
40
|
/** Custom card renderer */
|
|
40
|
-
renderCard?: (card: TaskBoardCard, columnId: string | number) => React.ReactNode;
|
|
41
|
+
renderCard?: (card: _expcat_tigercat_core.TaskBoardCard, columnId: string | number) => React.ReactNode;
|
|
41
42
|
/** Custom column header renderer */
|
|
42
43
|
renderColumnHeader?: (column: TaskBoardColumn) => React.ReactNode;
|
|
43
44
|
}
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var chunkNG3GA5LF_js = require('../chunk-NG3GA5LF.js');
|
|
6
|
+
require('../chunk-H3JAEEEE.js');
|
|
7
|
+
require('../chunk-2XOFRGY6.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
Object.defineProperty(exports, "Kanban", {
|
|
11
12
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNG3GA5LF_js.Kanban; }
|
|
13
14
|
});
|
|
14
15
|
Object.defineProperty(exports, "default", {
|
|
15
16
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNG3GA5LF_js.Kanban_default; }
|
|
17
18
|
});
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { Kanban, Kanban_default as default } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Kanban, Kanban_default as default } from '../chunk-7BVXG3Z5.mjs';
|
|
2
|
+
import '../chunk-DBNAL6G6.mjs';
|
|
3
|
+
import '../chunk-CRSMECWE.mjs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkHU3VDVH6_js = require('../chunk-HU3VDVH6.js');
|
|
6
6
|
require('../chunk-SDWJSALH.js');
|
|
7
7
|
require('../chunk-HWWNBCFB.js');
|
|
8
8
|
require('../chunk-BCNKTT5C.js');
|
|
@@ -14,9 +14,9 @@ require('../chunk-UIO6O4MI.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "NotificationCenter", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHU3VDVH6_js.NotificationCenter; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "default", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHU3VDVH6_js.NotificationCenter_default; }
|
|
22
22
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NotificationCenter, NotificationCenter_default as default } from '../chunk-
|
|
1
|
+
export { NotificationCenter, NotificationCenter_default as default } from '../chunk-SWF7GJYT.mjs';
|
|
2
2
|
import '../chunk-6744DTEB.mjs';
|
|
3
3
|
import '../chunk-VAQDUVBP.mjs';
|
|
4
4
|
import '../chunk-3KMKMAE3.mjs';
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkAUW7DCXL_js = require('../chunk-AUW7DCXL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "QRCode", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkAUW7DCXL_js.QRCode; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkAUW7DCXL_js.QRCode_default; }
|
|
16
16
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QRCode, QRCode_default as default } from '../chunk-
|
|
1
|
+
export { QRCode, QRCode_default as default } from '../chunk-J3N24I7A.mjs';
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkRFPXIDAK_js = require('../chunk-RFPXIDAK.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Splitter", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkRFPXIDAK_js.Splitter; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkRFPXIDAK_js.Splitter_default; }
|
|
16
16
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Splitter, Splitter_default as default } from '../chunk-
|
|
1
|
+
export { Splitter, Splitter_default as default } from '../chunk-PNSWIJG3.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRWZIWKZR_js = require('../chunk-RWZIWKZR.js');
|
|
4
4
|
require('../chunk-KQZ4F7FZ.js');
|
|
5
5
|
require('../chunk-6PBNFLM7.js');
|
|
6
6
|
require('../chunk-M375I56K.js');
|
|
@@ -10,5 +10,5 @@ require('../chunk-DUWAV47E.js');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "SunburstChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRWZIWKZR_js.SunburstChart; }
|
|
14
14
|
});
|
|
@@ -57,6 +57,6 @@ interface TableProps<T = Record<string, unknown>> extends TableProps$1<T> {
|
|
|
57
57
|
*/
|
|
58
58
|
className?: string;
|
|
59
59
|
}
|
|
60
|
-
declare function Table<T extends Record<string, unknown> = Record<string, unknown>>({ columns, columnLockable, dataSource, sort, defaultSort, filters, defaultFilters, size, bordered, striped, hoverable, loading, emptyText, pagination, rowSelection, expandable, rowKey, rowClassName, stickyHeader, maxHeight, tableLayout, virtual, virtualHeight, virtualItemHeight, editable, editableCells, filterMode, advancedFilterRules, columnDraggable, summaryRow, groupBy, exportable, exportFilename, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, onExpandChange, onCellChange, onColumnOrderChange, onExport, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function Table<T extends Record<string, unknown> = Record<string, unknown>>({ columns, columnLockable, dataSource, sort, defaultSort, filters, defaultFilters, size, bordered, striped, hoverable, loading, emptyText, pagination, rowSelection, expandable, rowKey, rowClassName, stickyHeader, maxHeight, tableLayout, virtual, virtualHeight, virtualItemHeight: _virtualItemHeight, editable, editableCells, filterMode, advancedFilterRules, columnDraggable, summaryRow, groupBy, exportable, exportFilename, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, onExpandChange, onCellChange, onColumnOrderChange, onExport, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
62
|
export { Table, type TableProps };
|
|
@@ -57,6 +57,6 @@ interface TableProps<T = Record<string, unknown>> extends TableProps$1<T> {
|
|
|
57
57
|
*/
|
|
58
58
|
className?: string;
|
|
59
59
|
}
|
|
60
|
-
declare function Table<T extends Record<string, unknown> = Record<string, unknown>>({ columns, columnLockable, dataSource, sort, defaultSort, filters, defaultFilters, size, bordered, striped, hoverable, loading, emptyText, pagination, rowSelection, expandable, rowKey, rowClassName, stickyHeader, maxHeight, tableLayout, virtual, virtualHeight, virtualItemHeight, editable, editableCells, filterMode, advancedFilterRules, columnDraggable, summaryRow, groupBy, exportable, exportFilename, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, onExpandChange, onCellChange, onColumnOrderChange, onExport, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function Table<T extends Record<string, unknown> = Record<string, unknown>>({ columns, columnLockable, dataSource, sort, defaultSort, filters, defaultFilters, size, bordered, striped, hoverable, loading, emptyText, pagination, rowSelection, expandable, rowKey, rowClassName, stickyHeader, maxHeight, tableLayout, virtual, virtualHeight, virtualItemHeight: _virtualItemHeight, editable, editableCells, filterMode, advancedFilterRules, columnDraggable, summaryRow, groupBy, exportable, exportFilename, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, onExpandChange, onCellChange, onColumnOrderChange, onExport, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
62
|
export { Table, type TableProps };
|
package/dist/components/Table.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXO6NSGV3_js = require('../chunk-XO6NSGV3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Table", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXO6NSGV3_js.Table; }
|
|
10
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Table } from '../chunk-
|
|
1
|
+
export { Table } from '../chunk-MB7CJ32C.mjs';
|