@expcat/tigercat-react 1.3.3 → 1.4.0
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-3SV6J7I5.mjs → chunk-2L7QEOFD.mjs} +34 -25
- package/dist/{chunk-FNJDBFKM.mjs → chunk-2LYV6NBJ.mjs} +6 -1
- package/dist/{chunk-EEWHWEYO.js → chunk-2RBHQBSG.js} +2 -2
- package/dist/{chunk-Y5RQN5BO.mjs → chunk-376X7SDZ.mjs} +2 -2
- package/dist/{chunk-UXUYCWQC.js → chunk-3EDASNTG.js} +5 -5
- package/dist/{chunk-NPTXXUXF.mjs → chunk-3RBRWBUG.mjs} +9 -7
- package/dist/{chunk-PUZDW7NR.js → chunk-4AMSYFYC.js} +134 -20
- package/dist/{chunk-IG75YSX3.mjs → chunk-4MONGWU5.mjs} +4 -6
- package/dist/{chunk-3CJFNG54.mjs → chunk-56CTXEJS.mjs} +1 -1
- package/dist/{chunk-TMON4MPO.js → chunk-5ALMTE35.js} +9 -7
- package/dist/{chunk-MSHCPJIJ.mjs → chunk-6BOSSZM3.mjs} +8 -9
- package/dist/{chunk-SIY6FDKJ.js → chunk-7CHTTM6D.js} +339 -314
- package/dist/{chunk-RF2BA2N6.js → chunk-7PXALKLM.js} +4 -4
- package/dist/{chunk-DLKUDB2R.js → chunk-AF2AEZKM.js} +15 -3
- package/dist/{chunk-FB34UWF7.mjs → chunk-AVLIUHOS.mjs} +101 -40
- package/dist/{chunk-TSJYAEFZ.js → chunk-B63GEB2Y.js} +358 -305
- package/dist/{chunk-CFPKK5WW.js → chunk-BA6TJQZL.js} +12 -12
- package/dist/{chunk-LMTUM3J3.js → chunk-BEM7XG2L.js} +2 -4
- package/dist/{chunk-MB6U72CI.js → chunk-BEZO5IE4.js} +2 -2
- package/dist/{chunk-5OHVTGHS.mjs → chunk-BN4ZKCAI.mjs} +368 -315
- package/dist/{chunk-UHFHOTNI.js → chunk-BRA3PO53.js} +6 -7
- package/dist/{chunk-M7HBWFQO.js → chunk-BROIZ266.js} +11 -1
- package/dist/{chunk-SDZOVRVR.mjs → chunk-CAQPYJFA.mjs} +350 -325
- package/dist/{chunk-BFAZZUD6.js → chunk-CC5GFX6F.js} +5 -22
- package/dist/{chunk-LQT6ZGME.mjs → chunk-CME2IFUT.mjs} +15 -3
- package/dist/{chunk-KQ5I7PRM.js → chunk-CNNEUJR2.js} +28 -14
- package/dist/{chunk-EF5ZTNHX.js → chunk-D5MQBUP2.js} +16 -4
- package/dist/{chunk-RQXY2MGX.mjs → chunk-D7UR526A.mjs} +231 -184
- package/dist/{chunk-CBYJXDW4.js → chunk-DBMC6FPU.js} +16 -4
- package/dist/{chunk-WQ4FOHOU.mjs → chunk-DEIVWO2D.mjs} +3 -5
- package/dist/{chunk-7QZ4XT2P.mjs → chunk-DVEK5SO6.mjs} +3 -8
- package/dist/{chunk-TC6JLEGZ.js → chunk-EJKOUI26.js} +24 -7
- package/dist/{chunk-4GITZKAH.mjs → chunk-EPJ6W4VI.mjs} +14 -2
- package/dist/{chunk-KYP7U6FK.js → chunk-FZHBVHQ6.js} +34 -25
- package/dist/{chunk-WVVXZKNI.js → chunk-GDPU5MYA.js} +3 -8
- package/dist/{chunk-2GQCFTD7.mjs → chunk-H4MPPCTB.mjs} +23 -4
- package/dist/{chunk-YOAYDEWW.mjs → chunk-HHMYERHY.mjs} +3 -20
- package/dist/{chunk-LRPPXU74.mjs → chunk-I7FEGKX2.mjs} +19 -5
- package/dist/{chunk-F6IXIH6B.mjs → chunk-IZGXDHPB.mjs} +24 -5
- package/dist/{chunk-GQFVVAEF.js → chunk-J6OZWT3P.js} +5 -5
- package/dist/{chunk-IGAMV6ML.mjs → chunk-KDXKF6B2.mjs} +1 -1
- package/dist/{chunk-A42OLED6.mjs → chunk-KED5S2WG.mjs} +13 -2
- package/dist/{chunk-BJQIYELW.mjs → chunk-KGMVRIYC.mjs} +5 -5
- package/dist/{chunk-6GYT3EZD.mjs → chunk-KXT2TP6A.mjs} +3 -4
- package/dist/{chunk-BBLVRLXT.js → chunk-KYNWNTGO.js} +230 -146
- package/dist/{chunk-M73NMNZX.js → chunk-L24PPXLV.js} +17 -5
- package/dist/chunk-L3WPA2RP.js +25 -0
- package/dist/{chunk-V4JIZN3E.mjs → chunk-L6KSO66F.mjs} +4 -12
- package/dist/{chunk-4LX5UGPQ.js → chunk-LJRCEB7F.js} +168 -121
- package/dist/{chunk-F7H4ALKN.js → chunk-LZG24TDB.js} +8 -9
- package/dist/{chunk-ZYJTHGQW.js → chunk-M3FVPPMM.js} +9 -13
- package/dist/{chunk-GN3TSQWW.mjs → chunk-M6YXUNOU.mjs} +2 -2
- package/dist/{chunk-I373B74W.js → chunk-MC26ORSN.js} +102 -41
- package/dist/{chunk-5HFHHFQS.mjs → chunk-MTIGGMHG.mjs} +17 -5
- package/dist/{chunk-DKT2EYVM.mjs → chunk-MV2JQ6XQ.mjs} +3 -6
- package/dist/{chunk-HR5GBE3P.js → chunk-NDGA3N6H.js} +19 -7
- package/dist/{chunk-BO6QGXMN.mjs → chunk-NEZ445D4.mjs} +9 -9
- package/dist/{chunk-4U5HSR2H.js → chunk-NVI2P7VH.js} +3 -4
- package/dist/{chunk-NVEIVIAW.mjs → chunk-OFRKYQOZ.mjs} +133 -19
- package/dist/{chunk-AW5M3EL4.js → chunk-OS6M3IZF.js} +62 -12
- package/dist/{chunk-3ZNZLGQO.mjs → chunk-OXQOKKTP.mjs} +6 -7
- package/dist/{chunk-NMEVQPOD.js → chunk-PHAJXRGE.js} +2 -4
- package/dist/{chunk-WG3YS2QV.js → chunk-PT5T5F4H.js} +13 -2
- package/dist/{chunk-WNLUUD5N.mjs → chunk-QIL24WZD.mjs} +8 -12
- package/dist/{chunk-ZFMMAYSX.js → chunk-QLATA4UB.js} +4 -6
- package/dist/{chunk-KIYNHQGW.mjs → chunk-RVLV63SI.mjs} +41 -20
- package/dist/{chunk-3QPCQH62.mjs → chunk-RYNLPRUM.mjs} +1 -1
- package/dist/{chunk-6GIJ7NFV.mjs → chunk-SDZKL3IB.mjs} +3 -5
- package/dist/{chunk-G5USITWF.js → chunk-SH4BZYXO.js} +27 -8
- package/dist/{chunk-L5AMVEQL.mjs → chunk-SLEXEH7R.mjs} +60 -10
- package/dist/{chunk-JLRRXRZO.js → chunk-SQONS5PH.js} +4 -7
- package/dist/chunk-SQTOVSDU.mjs +692 -0
- package/dist/{chunk-3ZQMHXRY.js → chunk-TEYL5X56.js} +39 -18
- package/dist/{chunk-KGSDDVRC.mjs → chunk-TNTOSFGN.mjs} +4 -4
- package/dist/{chunk-CY5GRTAX.js → chunk-UAM3RQY4.js} +24 -5
- package/dist/{chunk-XRNKHQTL.js → chunk-UEAXYZSE.js} +3 -2
- package/dist/{chunk-7ISEWLA3.js → chunk-UKQMF3JV.js} +21 -6
- package/dist/{chunk-ITVLIR7T.mjs → chunk-ULWT6W6M.mjs} +13 -20
- package/dist/{chunk-M5GSLKUX.mjs → chunk-VAIWWELW.mjs} +15 -3
- package/dist/{chunk-4SO4LANY.js → chunk-VC26SAXB.js} +340 -274
- package/dist/{chunk-SKMZTW3K.js → chunk-WCTNQYXO.js} +16 -23
- package/dist/{chunk-KXNWY2Q7.mjs → chunk-WFWEMXO7.mjs} +241 -157
- package/dist/chunk-WHYHLUXG.mjs +25 -0
- package/dist/{chunk-ONTRGV5T.js → chunk-WZUADPYB.js} +6 -14
- package/dist/{chunk-N4PP3ENO.js → chunk-XTQUPDRI.js} +2 -2
- package/dist/{chunk-XATXFVKR.mjs → chunk-Y7K27DVV.mjs} +4 -3
- package/dist/{chunk-WI4N5DD3.mjs → chunk-YH57D4AV.mjs} +16 -4
- package/dist/{chunk-3MRP3XYI.js → chunk-YRVAF2ID.js} +7 -2
- package/dist/{chunk-5XE5VBDS.mjs → chunk-YSGM22AH.mjs} +11 -1
- package/dist/{chunk-6TR7JB6C.js → chunk-ZDNQGS4O.js} +4 -4
- package/dist/{chunk-CHBUNQIJ.mjs → chunk-ZQSMJS2Q.mjs} +23 -6
- package/dist/{chunk-QQFLRNI3.mjs → chunk-ZRZB3C5J.mjs} +18 -3
- package/dist/components/ActivityFeed.js +4 -3
- package/dist/components/ActivityFeed.mjs +3 -2
- package/dist/components/Cascader.d.mts +3 -1
- package/dist/components/Cascader.d.ts +3 -1
- package/dist/components/Cascader.js +3 -2
- package/dist/components/Cascader.mjs +2 -1
- package/dist/components/ChatWindow.js +5 -5
- package/dist/components/ChatWindow.mjs +4 -4
- package/dist/components/Checkbox.js +4 -4
- package/dist/components/Checkbox.mjs +3 -3
- package/dist/components/CheckboxGroup.js +3 -3
- package/dist/components/CheckboxGroup.mjs +2 -2
- package/dist/components/CommentThread.js +4 -4
- package/dist/components/CommentThread.mjs +3 -3
- package/dist/components/CropUpload.js +4 -4
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.d.mts +2 -2
- package/dist/components/DataTableWithToolbar.d.ts +2 -2
- package/dist/components/DataTableWithToolbar.js +11 -11
- package/dist/components/DataTableWithToolbar.mjs +10 -10
- package/dist/components/DatePicker.d.mts +1 -0
- package/dist/components/DatePicker.d.ts +1 -0
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Drawer.mjs +2 -2
- package/dist/components/FileManager.d.mts +2 -1
- package/dist/components/FileManager.d.ts +2 -1
- package/dist/components/FileManager.js +3 -2
- package/dist/components/FileManager.mjs +2 -1
- package/dist/components/Form.js +3 -2
- package/dist/components/Form.mjs +2 -1
- package/dist/components/FormItem.js +4 -3
- package/dist/components/FormItem.mjs +3 -2
- package/dist/components/FormWizard.js +4 -4
- package/dist/components/FormWizard.mjs +3 -3
- package/dist/components/Image.js +4 -4
- package/dist/components/Image.mjs +3 -3
- package/dist/components/ImageGroup.js +3 -3
- package/dist/components/ImageGroup.mjs +2 -2
- package/dist/components/ImagePreview.js +2 -2
- package/dist/components/ImagePreview.mjs +1 -1
- package/dist/components/ImageViewer.d.mts +1 -1
- package/dist/components/ImageViewer.d.ts +1 -1
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.d.mts +2 -0
- package/dist/components/InfiniteScroll.d.ts +2 -0
- package/dist/components/InfiniteScroll.js +3 -2
- package/dist/components/InfiniteScroll.mjs +2 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/List.d.mts +6 -2
- package/dist/components/List.d.ts +6 -2
- package/dist/components/List.js +3 -2
- package/dist/components/List.mjs +2 -1
- package/dist/components/Loading.js +3 -2
- package/dist/components/Loading.mjs +2 -1
- package/dist/components/MarkdownEditor.js +3 -3
- package/dist/components/MarkdownEditor.mjs +2 -2
- package/dist/components/Mentions.js +2 -2
- package/dist/components/Mentions.mjs +1 -1
- package/dist/components/Menu.d.mts +8 -80
- package/dist/components/Menu.d.ts +8 -80
- package/dist/components/Menu.js +2 -2
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/MenuItem.d.mts +6 -2
- package/dist/components/MenuItem.d.ts +6 -2
- package/dist/components/MenuItem.js +2 -2
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItemGroup.d.mts +6 -2
- package/dist/components/MenuItemGroup.d.ts +6 -2
- package/dist/components/MenuItemGroup.js +2 -2
- package/dist/components/MenuItemGroup.mjs +1 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.js +3 -3
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/NotificationCenter.js +5 -4
- package/dist/components/NotificationCenter.mjs +4 -3
- package/dist/components/NumberKeyboard.js +3 -2
- package/dist/components/NumberKeyboard.mjs +2 -1
- package/dist/components/Radio.js +4 -4
- package/dist/components/Radio.mjs +3 -3
- package/dist/components/RadioGroup.js +3 -3
- package/dist/components/RadioGroup.mjs +2 -2
- package/dist/components/RichTextEditor.js +3 -3
- package/dist/components/RichTextEditor.mjs +2 -2
- package/dist/components/Select.d.mts +3 -1
- package/dist/components/Select.d.ts +3 -1
- package/dist/components/Select.js +3 -2
- package/dist/components/Select.mjs +2 -1
- package/dist/components/Signature.d.mts +1 -0
- package/dist/components/Signature.d.ts +1 -0
- package/dist/components/Signature.js +3 -2
- package/dist/components/Signature.mjs +2 -1
- package/dist/components/Spotlight.js +4 -2
- package/dist/components/Spotlight.mjs +3 -1
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +2 -2
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SubMenu.d.mts +6 -2
- package/dist/components/SubMenu.d.ts +6 -2
- package/dist/components/SubMenu.js +2 -2
- package/dist/components/SubMenu.mjs +1 -1
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.d.ts +2 -2
- package/dist/components/Table.js +9 -9
- package/dist/components/Table.mjs +8 -8
- package/dist/components/Textarea.js +3 -3
- package/dist/components/Textarea.mjs +2 -2
- package/dist/components/TimePicker.d.mts +1 -0
- package/dist/components/TimePicker.d.ts +1 -0
- package/dist/components/TimePicker.js +4 -2
- package/dist/components/TimePicker.mjs +3 -1
- package/dist/components/Tour.js +3 -2
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +3 -1
- package/dist/components/Transfer.d.ts +3 -1
- package/dist/components/Transfer.js +3 -2
- package/dist/components/Transfer.mjs +2 -1
- package/dist/components/Tree.d.mts +3 -1
- package/dist/components/Tree.d.ts +3 -1
- package/dist/components/Tree.js +3 -2
- package/dist/components/Tree.mjs +2 -1
- package/dist/components/TreeSelect.d.mts +3 -1
- package/dist/components/TreeSelect.d.ts +3 -1
- package/dist/components/TreeSelect.js +3 -2
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.js +3 -2
- package/dist/components/Upload.mjs +2 -1
- package/dist/components/VirtualTable.d.mts +3 -2
- package/dist/components/VirtualTable.d.ts +3 -2
- package/dist/components/VirtualTable.js +3 -2
- package/dist/components/VirtualTable.mjs +2 -1
- package/dist/index.d.mts +33 -7
- package/dist/index.d.ts +33 -7
- package/dist/index.js +54 -54
- package/dist/index.mjs +53 -53
- package/dist/{types-CHmCMNEM.d.ts → types-0oVwMXtR.d.mts} +1 -1
- package/dist/{types-CHmCMNEM.d.mts → types-0oVwMXtR.d.ts} +1 -1
- package/dist/types-DaC4a0Ny.d.mts +80 -0
- package/dist/types-DaC4a0Ny.d.ts +80 -0
- package/package.json +2 -2
- package/dist/chunk-UKGQ7256.js +0 -12
- package/dist/chunk-UQMPEMY7.mjs +0 -12
- package/dist/chunk-VNVGSPBI.mjs +0 -626
- package/dist/{chunk-OZD75CLT.js → chunk-ANBNSUSR.js} +3 -3
- package/dist/{chunk-I2AUOICV.mjs → chunk-M3MOSUZO.mjs} +3 -3
- package/dist/{chunk-UMZ3PMUJ.js → chunk-SXHCMZ6U.js} +2 -2
- package/dist/{chunk-BWDQZSAB.mjs → chunk-WTSG7QXK.mjs} +3 -3
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
mentionsDropdownClasses,
|
|
7
7
|
getMentionsOptionClasses,
|
|
8
8
|
extractMentionQuery,
|
|
9
|
-
positionMentionsDropdown
|
|
9
|
+
positionMentionsDropdown,
|
|
10
|
+
getCyclicIndex
|
|
10
11
|
} from "@expcat/tigercat-core";
|
|
11
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
13
|
var Mentions = ({
|
|
@@ -68,10 +69,10 @@ var Mentions = ({
|
|
|
68
69
|
if (!isOpen) return;
|
|
69
70
|
if (e.key === "ArrowDown") {
|
|
70
71
|
e.preventDefault();
|
|
71
|
-
setActiveIndex((prev) => (prev
|
|
72
|
+
setActiveIndex((prev) => getCyclicIndex(filteredOptions.length, prev, 1));
|
|
72
73
|
} else if (e.key === "ArrowUp") {
|
|
73
74
|
e.preventDefault();
|
|
74
|
-
setActiveIndex((prev) => (
|
|
75
|
+
setActiveIndex((prev) => getCyclicIndex(filteredOptions.length, prev, -1));
|
|
75
76
|
} else if (e.key === "Enter") {
|
|
76
77
|
e.preventDefault();
|
|
77
78
|
const opt = filteredOptions[activeIndex];
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-QAIBQHIO.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/InfiniteScroll.tsx
|
|
2
6
|
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
3
7
|
import {
|
|
4
8
|
classNames,
|
|
5
9
|
shouldLoadMore,
|
|
6
10
|
createInfiniteScrollObserver,
|
|
11
|
+
resolveLocaleText,
|
|
12
|
+
mergeTigerLocale,
|
|
7
13
|
getInfiniteScrollContainerClasses,
|
|
8
14
|
infiniteScrollLoaderClasses,
|
|
9
15
|
infiniteScrollEndClasses,
|
|
@@ -14,18 +20,24 @@ var InfiniteScroll = ({
|
|
|
14
20
|
hasMore = true,
|
|
15
21
|
loading = false,
|
|
16
22
|
threshold = 100,
|
|
17
|
-
loadingText
|
|
18
|
-
endText
|
|
23
|
+
loadingText,
|
|
24
|
+
endText,
|
|
19
25
|
direction = "vertical",
|
|
20
26
|
inverse = false,
|
|
21
27
|
disabled = false,
|
|
22
28
|
className,
|
|
29
|
+
locale,
|
|
23
30
|
children,
|
|
24
31
|
loader,
|
|
25
32
|
end,
|
|
26
33
|
onLoadMore,
|
|
27
34
|
...rest
|
|
28
35
|
}) => {
|
|
36
|
+
const config = useTigerConfig();
|
|
37
|
+
const mergedLocale = useMemo(
|
|
38
|
+
() => mergeTigerLocale(config.locale, locale),
|
|
39
|
+
[config.locale, locale]
|
|
40
|
+
);
|
|
29
41
|
const containerRef = useRef(null);
|
|
30
42
|
const sentinelRef = useRef(null);
|
|
31
43
|
const containerClasses = useMemo(
|
|
@@ -74,8 +86,8 @@ var InfiniteScroll = ({
|
|
|
74
86
|
style: { height: 0, overflow: "hidden" }
|
|
75
87
|
}
|
|
76
88
|
) : null;
|
|
77
|
-
const loaderEl = loading ? /* @__PURE__ */ jsx("div", { className: infiniteScrollLoaderClasses, role: "status", "aria-live": "polite", children: loader ?? loadingText }) : null;
|
|
78
|
-
const endEl = !hasMore && !loading ? /* @__PURE__ */ jsx("div", { className: infiniteScrollEndClasses, children: end ?? endText }) : null;
|
|
89
|
+
const loaderEl = loading ? /* @__PURE__ */ jsx("div", { className: infiniteScrollLoaderClasses, role: "status", "aria-live": "polite", children: loader ?? resolveLocaleText("Loading...", loadingText, mergedLocale?.common?.loadingText) }) : null;
|
|
90
|
+
const endEl = !hasMore && !loading ? /* @__PURE__ */ jsx("div", { className: infiniteScrollEndClasses, children: end ?? resolveLocaleText("No more data", endText, mergedLocale?.common?.noMoreText) }) : null;
|
|
79
91
|
return /* @__PURE__ */ jsx("div", { ref: containerRef, className: classNames(containerClasses), ...rest, children: inverse ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80
92
|
sentinelEl,
|
|
81
93
|
loaderEl,
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
var _chunkSTTQ5LXXjs = require('./chunk-STTQ5LXX.js');
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
|
|
8
|
+
|
|
6
9
|
// src/components/Loading.tsx
|
|
7
10
|
var _react = require('react');
|
|
8
11
|
|
|
@@ -18,6 +21,7 @@ var _react = require('react');
|
|
|
18
21
|
|
|
19
22
|
|
|
20
23
|
|
|
24
|
+
|
|
21
25
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
22
26
|
var _jsxruntime = require('react/jsx-runtime');
|
|
23
27
|
var Loading = ({
|
|
@@ -34,6 +38,7 @@ var Loading = ({
|
|
|
34
38
|
style,
|
|
35
39
|
...props
|
|
36
40
|
}) => {
|
|
41
|
+
const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
|
|
37
42
|
const [visible, setVisible] = _react.useState.call(void 0, delay <= 0);
|
|
38
43
|
_react.useEffect.call(void 0, () => {
|
|
39
44
|
_tigercatcore.injectLoadingAnimationStyles.call(void 0, );
|
|
@@ -116,7 +121,7 @@ var Loading = ({
|
|
|
116
121
|
className: containerClasses,
|
|
117
122
|
style: mergedStyle,
|
|
118
123
|
role: "status",
|
|
119
|
-
"aria-label": text || "Loading",
|
|
124
|
+
"aria-label": text || _tigercatcore.resolveLocaleText.call(void 0, "Loading", _optionalChain([config, 'access', _ => _.locale, 'optionalAccess', _2 => _2.common, 'optionalAccess', _3 => _3.loadingText])),
|
|
120
125
|
"aria-live": "polite",
|
|
121
126
|
"aria-busy": true,
|
|
122
127
|
...props,
|
|
@@ -64,7 +64,17 @@ var StepsItem = ({
|
|
|
64
64
|
return /* @__PURE__ */ jsx("div", { className: iconClasses, children: icon });
|
|
65
65
|
}
|
|
66
66
|
if (stepStatus === "finish") {
|
|
67
|
-
return /* @__PURE__ */ jsx("div", { className: iconClasses, "aria-hidden": "true", children: /* @__PURE__ */ jsx(
|
|
67
|
+
return /* @__PURE__ */ jsx("div", { className: iconClasses, "aria-hidden": "true", children: /* @__PURE__ */ jsx(
|
|
68
|
+
"svg",
|
|
69
|
+
{
|
|
70
|
+
className: "w-4 h-4 shrink-0 transition-transform duration-300 animate-fade-in",
|
|
71
|
+
fill: "none",
|
|
72
|
+
stroke: "currentColor",
|
|
73
|
+
strokeWidth: "3",
|
|
74
|
+
viewBox: "0 0 24 24",
|
|
75
|
+
children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 12.75l6 6 9-13.5" })
|
|
76
|
+
}
|
|
77
|
+
) });
|
|
68
78
|
}
|
|
69
79
|
return /* @__PURE__ */ jsx("div", { className: iconClasses, children: stepIndex + 1 });
|
|
70
80
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBEZO5IE4js = require('./chunk-BEZO5IE4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNVI2P7VHjs = require('./chunk-NVI2P7VH.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkJIFSUUGAjs = require('./chunk-JIFSUUGA.js');
|
|
@@ -59,7 +59,7 @@ var Image = ({
|
|
|
59
59
|
const [actualSrc, setActualSrc] = _react.useState.call(void 0, lazy ? "" : src);
|
|
60
60
|
const [previewVisible, setPreviewVisible] = _react.useState.call(void 0, false);
|
|
61
61
|
const containerRef = _react.useRef.call(void 0, null);
|
|
62
|
-
const group = _react.useContext.call(void 0,
|
|
62
|
+
const group = _react.useContext.call(void 0, _chunkBEZO5IE4js.ImageGroupContext);
|
|
63
63
|
const registeredIndexRef = _react.useRef.call(void 0, -1);
|
|
64
64
|
const hoverPreviewEnabled = preview && previewTrigger === "hover" && !group;
|
|
65
65
|
const clickPreviewEnabled = preview && previewTrigger !== "hover";
|
|
@@ -195,7 +195,7 @@ var Image = ({
|
|
|
195
195
|
}
|
|
196
196
|
),
|
|
197
197
|
!group && previewVisible && src && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
198
|
-
|
|
198
|
+
_chunkNVI2P7VHjs.ImagePreview,
|
|
199
199
|
{
|
|
200
200
|
open: previewVisible,
|
|
201
201
|
images: [src],
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-QAIBQHIO.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Cascader.tsx
|
|
2
6
|
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
3
7
|
import {
|
|
@@ -21,7 +25,9 @@ import {
|
|
|
21
25
|
getPickerTriggerKeyAction,
|
|
22
26
|
icon20ViewBox,
|
|
23
27
|
chevronDownSolidIcon20PathD,
|
|
24
|
-
closeSolidIcon20PathD
|
|
28
|
+
closeSolidIcon20PathD,
|
|
29
|
+
resolveLocaleText,
|
|
30
|
+
mergeTigerLocale
|
|
25
31
|
} from "@expcat/tigercat-core";
|
|
26
32
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
33
|
var CASCADER_KEYS = /* @__PURE__ */ new Set([
|
|
@@ -37,7 +43,8 @@ var CASCADER_KEYS = /* @__PURE__ */ new Set([
|
|
|
37
43
|
"changeOnSelect",
|
|
38
44
|
"separator",
|
|
39
45
|
"notFoundText",
|
|
40
|
-
"className"
|
|
46
|
+
"className",
|
|
47
|
+
"locale"
|
|
41
48
|
]);
|
|
42
49
|
var EMPTY_CASCADER_VALUE = [];
|
|
43
50
|
var Cascader = (props) => {
|
|
@@ -53,9 +60,15 @@ var Cascader = (props) => {
|
|
|
53
60
|
expandTrigger = "click",
|
|
54
61
|
changeOnSelect = false,
|
|
55
62
|
separator = " / ",
|
|
56
|
-
notFoundText
|
|
57
|
-
className
|
|
63
|
+
notFoundText,
|
|
64
|
+
className,
|
|
65
|
+
locale
|
|
58
66
|
} = props;
|
|
67
|
+
const config = useTigerConfig();
|
|
68
|
+
const mergedLocale = useMemo(
|
|
69
|
+
() => mergeTigerLocale(config.locale, locale),
|
|
70
|
+
[config.locale, locale]
|
|
71
|
+
);
|
|
59
72
|
const divProps = {};
|
|
60
73
|
for (const [k, v] of Object.entries(props)) {
|
|
61
74
|
if (!CASCADER_KEYS.has(k)) divProps[k] = v;
|
|
@@ -233,7 +246,7 @@ var Cascader = (props) => {
|
|
|
233
246
|
{
|
|
234
247
|
type: "text",
|
|
235
248
|
className: cascaderSearchInputClasses,
|
|
236
|
-
placeholder: "Search...",
|
|
249
|
+
placeholder: resolveLocaleText("Search...", mergedLocale?.common?.searchPlaceholder),
|
|
237
250
|
value: searchQuery,
|
|
238
251
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
239
252
|
"aria-label": "Search options"
|
|
@@ -241,7 +254,11 @@ var Cascader = (props) => {
|
|
|
241
254
|
),
|
|
242
255
|
isSearchMode ? (
|
|
243
256
|
// Search results
|
|
244
|
-
searchResults.length === 0 ? /* @__PURE__ */ jsx("div", { className: cascaderEmptyStateClasses, children:
|
|
257
|
+
searchResults.length === 0 ? /* @__PURE__ */ jsx("div", { className: cascaderEmptyStateClasses, children: resolveLocaleText(
|
|
258
|
+
"No results found",
|
|
259
|
+
notFoundText,
|
|
260
|
+
mergedLocale?.common?.emptyText
|
|
261
|
+
) }) : /* @__PURE__ */ jsx("div", { className: "max-h-64 overflow-auto", ...getPickerListboxAria({ id: listboxId }), children: searchResults.map((item) => /* @__PURE__ */ jsx(
|
|
245
262
|
"div",
|
|
246
263
|
{
|
|
247
264
|
className: classNames(
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-QAIBQHIO.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Signature.tsx
|
|
2
6
|
import {
|
|
3
7
|
forwardRef,
|
|
4
8
|
useCallback,
|
|
5
9
|
useEffect,
|
|
6
10
|
useImperativeHandle,
|
|
11
|
+
useMemo,
|
|
7
12
|
useRef,
|
|
8
13
|
useState
|
|
9
14
|
} from "react";
|
|
@@ -16,6 +21,8 @@ import {
|
|
|
16
21
|
getSignatureCanvasWrapClasses,
|
|
17
22
|
getSignaturePoint,
|
|
18
23
|
isSignatureEmpty,
|
|
24
|
+
mergeTigerLocale,
|
|
25
|
+
resolveLocaleText,
|
|
19
26
|
signatureCanvasClasses,
|
|
20
27
|
signatureClearButtonClasses,
|
|
21
28
|
signatureRootClasses,
|
|
@@ -39,14 +46,21 @@ var Signature = forwardRef(
|
|
|
39
46
|
exportType = "image/png",
|
|
40
47
|
quality = 0.92,
|
|
41
48
|
ariaLabel = "Signature pad",
|
|
42
|
-
clearText
|
|
49
|
+
clearText,
|
|
50
|
+
locale,
|
|
43
51
|
className,
|
|
44
52
|
onChange,
|
|
45
53
|
onBegin,
|
|
46
54
|
onEnd,
|
|
55
|
+
onClear,
|
|
47
56
|
style,
|
|
48
57
|
...rest
|
|
49
58
|
}, ref) => {
|
|
59
|
+
const config = useTigerConfig();
|
|
60
|
+
const mergedLocale = useMemo(
|
|
61
|
+
() => mergeTigerLocale(config.locale, locale),
|
|
62
|
+
[config.locale, locale]
|
|
63
|
+
);
|
|
50
64
|
const canvasRef = useRef(null);
|
|
51
65
|
const strokesRef = useRef([]);
|
|
52
66
|
const activeStrokeRef = useRef(null);
|
|
@@ -110,7 +124,8 @@ var Signature = forwardRef(
|
|
|
110
124
|
setStrokes([]);
|
|
111
125
|
draw([]);
|
|
112
126
|
emitChange([]);
|
|
113
|
-
|
|
127
|
+
onClear?.();
|
|
128
|
+
}, [draw, emitChange, onClear]);
|
|
114
129
|
useImperativeHandle(
|
|
115
130
|
ref,
|
|
116
131
|
() => ({
|
|
@@ -187,7 +202,7 @@ var Signature = forwardRef(
|
|
|
187
202
|
className: signatureClearButtonClasses,
|
|
188
203
|
disabled: isDisabled || isSignatureEmpty(strokesRef.current),
|
|
189
204
|
onClick: clear,
|
|
190
|
-
children: clearText
|
|
205
|
+
children: resolveLocaleText("Clear", clearText, mergedLocale?.common?.clearText)
|
|
191
206
|
}
|
|
192
207
|
) })
|
|
193
208
|
] });
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMC26ORSNjs = require('../chunk-MC26ORSN.js');
|
|
5
5
|
require('../chunk-ZZAR4IDS.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-YRVAF2ID.js');
|
|
7
7
|
require('../chunk-QYYAXM5F.js');
|
|
8
8
|
require('../chunk-STTQ5LXX.js');
|
|
9
9
|
require('../chunk-ZJI2VLIL.js');
|
|
10
10
|
require('../chunk-UF3DXKCI.js');
|
|
11
11
|
require('../chunk-FQO7BKXW.js');
|
|
12
|
+
require('../chunk-TDODFBBO.js');
|
|
12
13
|
require('../chunk-4MQCUKIC.js');
|
|
13
14
|
require('../chunk-TQOWIDQT.js');
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
exports.ActivityFeed =
|
|
18
|
+
exports.ActivityFeed = _chunkMC26ORSNjs.ActivityFeed; exports.default = _chunkMC26ORSNjs.ActivityFeed_default;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActivityFeed,
|
|
3
3
|
ActivityFeed_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AVLIUHOS.mjs";
|
|
5
5
|
import "../chunk-ZA5EFHET.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-2LYV6NBJ.mjs";
|
|
7
7
|
import "../chunk-XZVQ3PJS.mjs";
|
|
8
8
|
import "../chunk-SEWNVIHH.mjs";
|
|
9
9
|
import "../chunk-WMPCN7OF.mjs";
|
|
10
10
|
import "../chunk-HLS4CHWX.mjs";
|
|
11
11
|
import "../chunk-IXV5YBCZ.mjs";
|
|
12
|
+
import "../chunk-QAIBQHIO.mjs";
|
|
12
13
|
import "../chunk-4ZZ7YRTB.mjs";
|
|
13
14
|
import "../chunk-4R5YXNU4.mjs";
|
|
14
15
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CascaderProps as CascaderProps$1, CascaderValue } from '@expcat/tigercat-core';
|
|
2
|
+
import { CascaderProps as CascaderProps$1, CascaderValue, TigerLocale } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
type CascaderDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange'>;
|
|
5
5
|
interface CascaderProps extends Omit<CascaderProps$1, 'className'>, CascaderDivProps {
|
|
@@ -9,6 +9,8 @@ interface CascaderProps extends Omit<CascaderProps$1, 'className'>, CascaderDivP
|
|
|
9
9
|
onChange?: (value: CascaderValue) => void;
|
|
10
10
|
/** Additional class name */
|
|
11
11
|
className?: string;
|
|
12
|
+
/** Locale overrides merged on top of ConfigProvider locale */
|
|
13
|
+
locale?: Partial<TigerLocale>;
|
|
12
14
|
}
|
|
13
15
|
declare const Cascader: React.FC<CascaderProps>;
|
|
14
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CascaderProps as CascaderProps$1, CascaderValue } from '@expcat/tigercat-core';
|
|
2
|
+
import { CascaderProps as CascaderProps$1, CascaderValue, TigerLocale } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
type CascaderDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange'>;
|
|
5
5
|
interface CascaderProps extends Omit<CascaderProps$1, 'className'>, CascaderDivProps {
|
|
@@ -9,6 +9,8 @@ interface CascaderProps extends Omit<CascaderProps$1, 'className'>, CascaderDivP
|
|
|
9
9
|
onChange?: (value: CascaderValue) => void;
|
|
10
10
|
/** Additional class name */
|
|
11
11
|
className?: string;
|
|
12
|
+
/** Locale overrides merged on top of ConfigProvider locale */
|
|
13
|
+
locale?: Partial<TigerLocale>;
|
|
12
14
|
}
|
|
13
15
|
declare const Cascader: React.FC<CascaderProps>;
|
|
14
16
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEJKOUI26js = require('../chunk-EJKOUI26.js');
|
|
4
|
+
require('../chunk-TDODFBBO.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
|
-
exports.Cascader =
|
|
7
|
+
exports.Cascader = _chunkEJKOUI26js.Cascader;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk7PXALKLMjs = require('../chunk-7PXALKLM.js');
|
|
5
5
|
require('../chunk-P36GX65N.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-M3FVPPMM.js');
|
|
7
7
|
require('../chunk-ZRHDNGWO.js');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-GDPU5MYA.js');
|
|
9
|
+
require('../chunk-L3WPA2RP.js');
|
|
10
10
|
require('../chunk-ZLNBE4IS.js');
|
|
11
11
|
require('../chunk-YMKA4L3Z.js');
|
|
12
12
|
require('../chunk-4MQCUKIC.js');
|
|
@@ -14,4 +14,4 @@ require('../chunk-TQOWIDQT.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.ChatWindow =
|
|
17
|
+
exports.ChatWindow = _chunk7PXALKLMjs.ChatWindow; exports.default = _chunk7PXALKLMjs.ChatWindow_default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatWindow,
|
|
3
3
|
ChatWindow_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-376X7SDZ.mjs";
|
|
5
5
|
import "../chunk-7DUHHRAU.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-QIL24WZD.mjs";
|
|
7
7
|
import "../chunk-WIWTY74F.mjs";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-DVEK5SO6.mjs";
|
|
9
|
+
import "../chunk-WHYHLUXG.mjs";
|
|
10
10
|
import "../chunk-5TE7KLE5.mjs";
|
|
11
11
|
import "../chunk-ZJWUBR2X.mjs";
|
|
12
12
|
import "../chunk-4ZZ7YRTB.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var _chunkLZG24TDBjs = require('../chunk-LZG24TDB.js');
|
|
4
|
+
require('../chunk-SQONS5PH.js');
|
|
5
|
+
require('../chunk-L3WPA2RP.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Checkbox =
|
|
8
|
+
exports.Checkbox = _chunkLZG24TDBjs.Checkbox;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkSQONS5PHjs = require('../chunk-SQONS5PH.js');
|
|
5
|
+
require('../chunk-L3WPA2RP.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.CheckboxGroup =
|
|
9
|
+
exports.CheckboxGroup = _chunkSQONS5PHjs.CheckboxGroup; exports.useCheckboxGroup = _chunkSQONS5PHjs.useCheckboxGroup;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var _chunk4AMSYFYCjs = require('../chunk-4AMSYFYC.js');
|
|
5
|
+
require('../chunk-GDPU5MYA.js');
|
|
6
|
+
require('../chunk-L3WPA2RP.js');
|
|
7
7
|
require('../chunk-ZLNBE4IS.js');
|
|
8
8
|
require('../chunk-YMKA4L3Z.js');
|
|
9
9
|
require('../chunk-ZJI2VLIL.js');
|
|
@@ -13,4 +13,4 @@ require('../chunk-TQOWIDQT.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.CommentThread =
|
|
16
|
+
exports.CommentThread = _chunk4AMSYFYCjs.CommentThread; exports.default = _chunk4AMSYFYCjs.CommentThread_default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommentThread,
|
|
3
3
|
CommentThread_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OFRKYQOZ.mjs";
|
|
5
|
+
import "../chunk-DVEK5SO6.mjs";
|
|
6
|
+
import "../chunk-WHYHLUXG.mjs";
|
|
7
7
|
import "../chunk-5TE7KLE5.mjs";
|
|
8
8
|
import "../chunk-ZJWUBR2X.mjs";
|
|
9
9
|
import "../chunk-WMPCN7OF.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk2RBHQBSGjs = require('../chunk-2RBHQBSG.js');
|
|
4
|
+
require('../chunk-ANBNSUSR.js');
|
|
5
5
|
require('../chunk-FI53LYZ6.js');
|
|
6
|
-
require('../chunk-TDODFBBO.js');
|
|
7
6
|
require('../chunk-ZLNBE4IS.js');
|
|
8
7
|
require('../chunk-YMKA4L3Z.js');
|
|
9
8
|
require('../chunk-STTQ5LXX.js');
|
|
9
|
+
require('../chunk-TDODFBBO.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.CropUpload =
|
|
12
|
+
exports.CropUpload = _chunk2RBHQBSGjs.CropUpload;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CropUpload
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-56CTXEJS.mjs";
|
|
4
|
+
import "../chunk-M3MOSUZO.mjs";
|
|
5
5
|
import "../chunk-SY23FAXK.mjs";
|
|
6
|
-
import "../chunk-QAIBQHIO.mjs";
|
|
7
6
|
import "../chunk-5TE7KLE5.mjs";
|
|
8
7
|
import "../chunk-ZJWUBR2X.mjs";
|
|
9
8
|
import "../chunk-SEWNVIHH.mjs";
|
|
9
|
+
import "../chunk-QAIBQHIO.mjs";
|
|
10
10
|
export {
|
|
11
11
|
CropUpload
|
|
12
12
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableToolbarProps, TableToolbarFilter, TableToolbarFilterRenderContext, TableToolbarFiltersExtraContext, TableToolbarRenderContext, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
4
|
-
import { T as TableProps } from '../types-
|
|
4
|
+
import { T as TableProps } from '../types-0oVwMXtR.mjs';
|
|
5
5
|
|
|
6
6
|
interface ReactTableToolbarFilterRenderContext extends Omit<TableToolbarFilterRenderContext, 'filter'> {
|
|
7
7
|
filter: ReactTableToolbarFilter;
|
|
@@ -60,6 +60,6 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
|
|
|
60
60
|
*/
|
|
61
61
|
tableClassName?: string;
|
|
62
62
|
}
|
|
63
|
-
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys,
|
|
63
|
+
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys, onHiddenColumnKeysChange, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
|
|
64
64
|
|
|
65
65
|
export { DataTableWithToolbar, type DataTableWithToolbarProps, type ReactTableToolbarFilter, type ReactTableToolbarFilterRenderContext, type ReactTableToolbarFiltersExtraContext, type ReactTableToolbarProps, type ReactTableToolbarRenderContext, DataTableWithToolbar as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableToolbarProps, TableToolbarFilter, TableToolbarFilterRenderContext, TableToolbarFiltersExtraContext, TableToolbarRenderContext, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
4
|
-
import { T as TableProps } from '../types-
|
|
4
|
+
import { T as TableProps } from '../types-0oVwMXtR.js';
|
|
5
5
|
|
|
6
6
|
interface ReactTableToolbarFilterRenderContext extends Omit<TableToolbarFilterRenderContext, 'filter'> {
|
|
7
7
|
filter: ReactTableToolbarFilter;
|
|
@@ -60,6 +60,6 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
|
|
|
60
60
|
*/
|
|
61
61
|
tableClassName?: string;
|
|
62
62
|
}
|
|
63
|
-
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys,
|
|
63
|
+
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys, onHiddenColumnKeysChange, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
|
|
64
64
|
|
|
65
65
|
export { DataTableWithToolbar, type DataTableWithToolbarProps, type ReactTableToolbarFilter, type ReactTableToolbarFilterRenderContext, type ReactTableToolbarFiltersExtraContext, type ReactTableToolbarProps, type ReactTableToolbarRenderContext, DataTableWithToolbar as default };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var _chunkBA6TJQZLjs = require('../chunk-BA6TJQZL.js');
|
|
5
|
+
require('../chunk-TEYL5X56.js');
|
|
6
|
+
require('../chunk-KYNWNTGO.js');
|
|
7
7
|
require('../chunk-WOSKRZOO.js');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-5ALMTE35.js');
|
|
9
|
+
require('../chunk-QLATA4UB.js');
|
|
10
10
|
require('../chunk-JIFSUUGA.js');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-ZYJTHGQW.js');
|
|
11
|
+
require('../chunk-M3FVPPMM.js');
|
|
13
12
|
require('../chunk-ZRHDNGWO.js');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-LZG24TDB.js');
|
|
14
|
+
require('../chunk-SQONS5PH.js');
|
|
15
|
+
require('../chunk-L3WPA2RP.js');
|
|
17
16
|
require('../chunk-ZLNBE4IS.js');
|
|
18
17
|
require('../chunk-YMKA4L3Z.js');
|
|
19
18
|
require('../chunk-STTQ5LXX.js');
|
|
19
|
+
require('../chunk-TDODFBBO.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.DataTableWithToolbar =
|
|
23
|
+
exports.DataTableWithToolbar = _chunkBA6TJQZLjs.DataTableWithToolbar; exports.default = _chunkBA6TJQZLjs.DataTableWithToolbar_default;
|