@expcat/tigercat-react 2.0.0-preview.2 → 2.0.0-preview.3
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-2YDLAZTK.mjs → chunk-3O2WHF3U.mjs} +5 -2
- package/dist/{chunk-MZPKFMQC.mjs → chunk-44BPUG24.mjs} +13 -7
- package/dist/{chunk-7TVZTASQ.mjs → chunk-44CQTGAN.mjs} +22 -3
- package/dist/{chunk-7PP6RECM.mjs → chunk-532RNNPH.mjs} +3 -3
- package/dist/{chunk-533KLM7P.mjs → chunk-5IHOOP5A.mjs} +2 -2
- package/dist/{chunk-CR4QBH46.mjs → chunk-5RVLBNLI.mjs} +1 -1
- package/dist/{chunk-YCEH4N3Z.mjs → chunk-5XDRILPM.mjs} +3 -3
- package/dist/{chunk-UPQGB5NQ.mjs → chunk-6SEPT4C5.mjs} +22 -11
- package/dist/{chunk-GCOA4AO6.mjs → chunk-773LH7BK.mjs} +1 -1
- package/dist/{chunk-MZCGQED3.mjs → chunk-7EXOY7GD.mjs} +1 -1
- package/dist/{chunk-AF3N4GJJ.mjs → chunk-7KCQMXJA.mjs} +1 -1
- package/dist/{chunk-SNE3E22Q.mjs → chunk-A6JNS35U.mjs} +5 -2
- package/dist/{chunk-FWIYDMJA.mjs → chunk-AGTXDHQJ.mjs} +1 -1
- package/dist/{chunk-WTIEJCRV.mjs → chunk-AJJJ6HWC.mjs} +1 -1
- package/dist/{chunk-SHJNDDYK.mjs → chunk-ASLRAZZN.mjs} +54 -29
- package/dist/{chunk-WLFLQB4R.mjs → chunk-BEJZPJIK.mjs} +1 -1
- package/dist/{chunk-JNZHZVPW.mjs → chunk-CN3QXWK3.mjs} +1 -1
- package/dist/{chunk-OTRPN5ZG.mjs → chunk-CT36XD5I.mjs} +1 -1
- package/dist/{chunk-LJWQ7T57.mjs → chunk-CVYA3MI2.mjs} +10 -6
- package/dist/{chunk-6REMGSLS.mjs → chunk-D4LASFVY.mjs} +1 -1
- package/dist/{chunk-XHNR3A7A.mjs → chunk-DJ4PSDQS.mjs} +5 -2
- package/dist/{chunk-Z2NZ2XC5.mjs → chunk-EKESN747.mjs} +1 -1
- package/dist/{chunk-7S4TP4MZ.mjs → chunk-EW5EO7VE.mjs} +1 -1
- package/dist/{chunk-ZG2W4HS5.mjs → chunk-F2ITBDUS.mjs} +2 -1
- package/dist/chunk-F6T3OLTQ.mjs +12 -0
- package/dist/{chunk-NRWH5IWZ.mjs → chunk-F6WV53BS.mjs} +11 -4
- package/dist/{chunk-D524E52A.mjs → chunk-FDKWHP2K.mjs} +22 -6
- package/dist/{chunk-4R5YXNU4.mjs → chunk-FPQMJFFM.mjs} +20 -3
- package/dist/{chunk-YLVXXP7E.mjs → chunk-H64TM6UQ.mjs} +1 -1
- package/dist/{chunk-2UFTDDPW.mjs → chunk-HXD7KMRP.mjs} +1 -1
- package/dist/{chunk-GQPKHMHA.mjs → chunk-IBSOUQGB.mjs} +1 -1
- package/dist/{chunk-VBGJQPPI.mjs → chunk-IZYFETUS.mjs} +3 -3
- package/dist/{chunk-YTFQBXH4.mjs → chunk-JTFNGXOC.mjs} +1 -1
- package/dist/{chunk-TJDZFN2Z.mjs → chunk-K7MYQISG.mjs} +1 -1
- package/dist/{chunk-GFLKO46C.mjs → chunk-KFPQ6DIH.mjs} +1 -1
- package/dist/{chunk-I3SE5HMH.mjs → chunk-KMP5CVNK.mjs} +1 -1
- package/dist/{chunk-32PAZTVF.mjs → chunk-KVARQQAG.mjs} +64 -19
- package/dist/{chunk-B3O6MAC3.mjs → chunk-L55UK45A.mjs} +6 -4
- package/dist/{chunk-3HPDLIX3.mjs → chunk-LADKKOJT.mjs} +4 -2
- package/dist/{chunk-2PZICT2T.mjs → chunk-LZKBDQE4.mjs} +1 -1
- package/dist/{chunk-H4MPPCTB.mjs → chunk-MOWK7CND.mjs} +1 -1
- package/dist/{chunk-RCUL6RZU.mjs → chunk-MXXAJSRS.mjs} +28 -8
- package/dist/{chunk-KWVA2DN3.mjs → chunk-O5RAMCBV.mjs} +1 -1
- package/dist/{chunk-ZRZB3C5J.mjs → chunk-OIGEBCAS.mjs} +1 -1
- package/dist/{chunk-YN4FMZX5.mjs → chunk-ONMOHKT2.mjs} +4 -4
- package/dist/{chunk-4ZZ7YRTB.mjs → chunk-OO562MFD.mjs} +1 -1
- package/dist/{chunk-7RI5W465.mjs → chunk-OQLP452R.mjs} +1 -1
- package/dist/{chunk-BPQEM6AF.mjs → chunk-OTBXERJD.mjs} +1 -1
- package/dist/{chunk-LAKPYMBZ.mjs → chunk-PAS347EX.mjs} +1 -1
- package/dist/{chunk-V23KR23W.mjs → chunk-PGD5RPKF.mjs} +20 -3
- package/dist/{chunk-SHDQJ5BJ.mjs → chunk-PU3JY6RE.mjs} +1 -1
- package/dist/{chunk-R67HTROL.mjs → chunk-PXRZ6CKY.mjs} +3 -3
- package/dist/{chunk-Z6BDNV3S.mjs → chunk-QB5472NM.mjs} +1 -1
- package/dist/{chunk-BSXPB2V6.mjs → chunk-QGZ32NFQ.mjs} +1 -1
- package/dist/{chunk-2GSXSLGC.mjs → chunk-QOKITTSP.mjs} +5 -5
- package/dist/{chunk-MMWF2OPA.mjs → chunk-SHCBCM2W.mjs} +6 -3
- package/dist/{chunk-WKTIDYPD.mjs → chunk-SZBYEGKU.mjs} +1 -1
- package/dist/{chunk-QWOE4FGJ.mjs → chunk-TDFLUDRM.mjs} +78 -22
- package/dist/{chunk-4F3UTDFE.mjs → chunk-TFMEHUVZ.mjs} +1 -1
- package/dist/chunk-TGXBCKOU.mjs +35 -0
- package/dist/{chunk-3OBUJIJI.mjs → chunk-TO2URY7X.mjs} +3 -3
- package/dist/{chunk-VKIGZWRK.mjs → chunk-TORX7SG4.mjs} +1 -1
- package/dist/{chunk-LOM6NNQK.mjs → chunk-U7RLVY67.mjs} +1 -1
- package/dist/{chunk-XSAKD4MX.mjs → chunk-UHK2ISKR.mjs} +19 -9
- package/dist/{chunk-4SU6D2E7.mjs → chunk-UYQBXVFE.mjs} +1 -1
- package/dist/{chunk-5SX2M3LU.mjs → chunk-VA6PZWOH.mjs} +1 -1
- package/dist/{chunk-T6HNFCOW.mjs → chunk-VD55SSP7.mjs} +1 -1
- package/dist/{chunk-K6JLLCY7.mjs → chunk-VD62GD2E.mjs} +1 -1
- package/dist/{chunk-NJHZQBA7.mjs → chunk-W7BC4I2Y.mjs} +1 -1
- package/dist/{chunk-MOLUSXVC.mjs → chunk-XIVU7TWX.mjs} +4 -4
- package/dist/{chunk-QAIBQHIO.mjs → chunk-YSIXURBW.mjs} +16 -1
- package/dist/{chunk-J4HCTYJG.mjs → chunk-Z3CRHC5F.mjs} +21 -2
- package/dist/{chunk-AMEH5EHB.mjs → chunk-ZEP7I6WB.mjs} +2 -2
- package/dist/{chunk-ZFGSZW7S.mjs → chunk-ZMRTETN2.mjs} +1 -1
- package/dist/components/ActivityFeed.d.mts +5 -5
- package/dist/components/ActivityFeed.mjs +8 -7
- package/dist/components/Affix.d.mts +4 -4
- package/dist/components/Alert.d.mts +7 -7
- package/dist/components/Anchor.d.mts +9 -9
- package/dist/components/AreaChart.d.mts +2 -2
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AutoComplete.d.mts +3 -3
- package/dist/components/AutoComplete.mjs +3 -2
- package/dist/components/Avatar.d.mts +4 -4
- package/dist/components/Avatar.mjs +4 -2
- package/dist/components/AvatarGroup.d.mts +10 -6
- package/dist/components/AvatarGroup.mjs +3 -1
- package/dist/components/BackTop.d.mts +5 -5
- package/dist/components/Badge.d.mts +4 -4
- package/dist/components/Badge.mjs +3 -2
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Breadcrumb.d.mts +10 -10
- package/dist/components/Button.d.mts +5 -5
- package/dist/components/ButtonGroup.d.mts +4 -4
- package/dist/components/Calendar.d.mts +2 -2
- package/dist/components/Calendar.mjs +3 -2
- package/dist/components/Card.d.mts +7 -7
- package/dist/components/Carousel.d.mts +9 -5
- package/dist/components/Carousel.mjs +3 -1
- package/dist/components/Cascader.d.mts +3 -3
- package/dist/components/Cascader.mjs +3 -2
- package/dist/components/ChartAxis.d.mts +3 -3
- package/dist/components/ChartCanvas.d.mts +3 -3
- package/dist/components/ChartGrid.d.mts +3 -3
- package/dist/components/ChartLegend.d.mts +3 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartSeries.d.mts +4 -4
- package/dist/components/ChartTooltip.d.mts +2 -2
- package/dist/components/ChatWindow.d.mts +4 -4
- package/dist/components/ChatWindow.mjs +8 -6
- package/dist/components/Checkbox.d.mts +5 -5
- package/dist/components/CheckboxGroup.d.mts +4 -4
- package/dist/components/Code.d.mts +3 -3
- package/dist/components/CodeEditor.d.mts +4 -4
- package/dist/components/Col.d.mts +3 -3
- package/dist/components/Collapse.d.mts +4 -4
- package/dist/components/CollapsePanel.d.mts +6 -6
- package/dist/components/ColorPicker.d.mts +2 -2
- package/dist/components/ColorPicker.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +2 -2
- package/dist/components/CommentThread.d.mts +3 -3
- package/dist/components/CommentThread.mjs +6 -5
- package/dist/components/ConfigProvider.d.mts +3 -3
- package/dist/components/ConfigProvider.mjs +2 -1
- package/dist/components/Container.d.mts +4 -4
- package/dist/components/Content.d.mts +4 -4
- package/dist/components/Countdown.d.mts +3 -3
- package/dist/components/CronEditor.d.mts +7 -3
- package/dist/components/CronEditor.mjs +3 -1
- package/dist/components/CropUpload.d.mts +3 -3
- package/dist/components/CropUpload.mjs +5 -4
- package/dist/components/DataTableWithToolbar.d.mts +6 -6
- package/dist/components/DataTableWithToolbar.mjs +8 -6
- package/dist/components/DatePicker.d.mts +3 -3
- package/dist/components/DatePicker.mjs +3 -2
- package/dist/components/Descriptions.d.mts +7 -7
- package/dist/components/Divider.d.mts +3 -3
- package/dist/components/DonutChart.d.mts +2 -2
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Drawer.d.mts +7 -7
- package/dist/components/Drawer.mjs +3 -2
- package/dist/components/Dropdown.d.mts +15 -15
- package/dist/components/Empty.d.mts +6 -6
- package/dist/components/Empty.mjs +3 -2
- package/dist/components/FileManager.d.mts +3 -3
- package/dist/components/FileManager.mjs +3 -2
- package/dist/components/FloatButton.d.mts +9 -9
- package/dist/components/Footer.d.mts +4 -4
- package/dist/components/Form.d.mts +3 -3
- package/dist/components/Form.mjs +3 -2
- package/dist/components/FormItem.d.mts +3 -3
- package/dist/components/FormItem.mjs +5 -3
- package/dist/components/FormItemContext.d.mts +12 -0
- package/dist/components/FormItemContext.mjs +8 -0
- package/dist/components/FormWizard.d.mts +5 -5
- package/dist/components/FormWizard.mjs +3 -2
- package/dist/components/FunnelChart.d.mts +2 -2
- package/dist/components/FunnelChart.mjs +2 -2
- package/dist/components/Gantt.d.mts +2 -2
- package/dist/components/GaugeChart.d.mts +2 -2
- package/dist/components/Header.d.mts +4 -4
- package/dist/components/HeatmapChart.d.mts +2 -2
- package/dist/components/Icon.d.mts +4 -4
- package/dist/components/Image.d.mts +5 -5
- package/dist/components/Image.mjs +5 -4
- package/dist/components/ImageAnnotation.d.mts +3 -3
- package/dist/components/ImageAnnotation.mjs +3 -2
- package/dist/components/ImageCropper.d.mts +3 -3
- package/dist/components/ImageCropper.mjs +3 -2
- package/dist/components/ImageGroup.d.mts +4 -4
- package/dist/components/ImageGroup.mjs +4 -3
- package/dist/components/ImagePreview.d.mts +2 -2
- package/dist/components/ImagePreview.mjs +3 -2
- package/dist/components/ImageViewer.d.mts +2 -2
- package/dist/components/ImageViewer.mjs +3 -2
- package/dist/components/InfiniteScroll.d.mts +5 -5
- package/dist/components/InfiniteScroll.mjs +3 -2
- package/dist/components/Input.d.mts +9 -9
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputGroup.d.mts +6 -6
- package/dist/components/InputNumber.d.mts +4 -4
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.d.mts +5 -5
- package/dist/components/Kanban.mjs +4 -3
- package/dist/components/Layout.d.mts +4 -4
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/Link.d.mts +5 -5
- package/dist/components/List.d.mts +6 -6
- package/dist/components/List.mjs +3 -2
- package/dist/components/Loading.d.mts +3 -3
- package/dist/components/Loading.mjs +3 -2
- package/dist/components/MarkdownEditor.d.mts +8 -4
- package/dist/components/MarkdownEditor.mjs +3 -1
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Menu.d.mts +9 -9
- package/dist/components/Message.mjs +14 -1
- package/dist/components/MessageContainer.d.mts +2 -2
- package/dist/components/MessageContainer.mjs +1 -1
- package/dist/components/MessageRoot.mjs +1 -1
- package/dist/components/Modal.d.mts +6 -6
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/Notification.mjs +14 -1
- package/dist/components/NotificationCenter.d.mts +3 -3
- package/dist/components/NotificationCenter.mjs +6 -5
- package/dist/components/NotificationContainer.d.mts +2 -2
- package/dist/components/NotificationContainer.mjs +1 -1
- package/dist/components/NotificationRoot.mjs +1 -1
- package/dist/components/NumberKeyboard.d.mts +3 -3
- package/dist/components/NumberKeyboard.mjs +3 -2
- package/dist/components/OrgChart.d.mts +2 -2
- package/dist/components/Pagination.d.mts +4 -4
- package/dist/components/Pagination.mjs +3 -2
- package/dist/components/PieChart.d.mts +2 -2
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/Popconfirm.d.mts +8 -8
- package/dist/components/Popover.d.mts +8 -8
- package/dist/components/PrintLayout.d.mts +8 -8
- package/dist/components/PrintLayout.mjs +1 -1
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/QRCode.d.mts +2 -2
- package/dist/components/QRCode.mjs +3 -2
- package/dist/components/RadarChart.d.mts +2 -2
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/Radio.d.mts +4 -4
- package/dist/components/RadioGroup.d.mts +5 -5
- package/dist/components/Rate.d.mts +7 -3
- package/dist/components/Rate.mjs +3 -1
- package/dist/components/Resizable.d.mts +4 -4
- package/dist/components/Result.d.mts +6 -6
- package/dist/components/RichTextEditor.d.mts +8 -4
- package/dist/components/RichTextEditor.mjs +3 -1
- package/dist/components/Row.d.mts +4 -4
- package/dist/components/ScatterChart.d.mts +5 -3
- package/dist/components/ScatterChart.mjs +4 -2
- package/dist/components/ScrollSpy.d.mts +5 -5
- package/dist/components/Segmented.d.mts +2 -2
- package/dist/components/Select.d.mts +3 -3
- package/dist/components/Select.mjs +3 -2
- package/dist/components/Sidebar.d.mts +4 -4
- package/dist/components/Signature.d.mts +3 -3
- package/dist/components/Signature.mjs +3 -2
- package/dist/components/Skeleton.d.mts +3 -3
- package/dist/components/Slider.d.mts +3 -3
- package/dist/components/Space.d.mts +5 -5
- package/dist/components/Splitter.d.mts +4 -4
- package/dist/components/Spotlight.d.mts +3 -3
- package/dist/components/Spotlight.mjs +3 -2
- package/dist/components/Statistic.d.mts +2 -2
- package/dist/components/Stepper.d.mts +2 -2
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Steps.d.mts +7 -7
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.mjs +2 -2
- package/dist/components/Switch.d.mts +3 -3
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.mjs +5 -4
- package/dist/components/Tabs.d.mts +15 -10
- package/dist/components/Tabs.mjs +3 -1
- package/dist/components/Tag.d.mts +5 -5
- package/dist/components/Tag.mjs +3 -2
- package/dist/components/TaskBoard.d.mts +8 -8
- package/dist/components/TaskBoard.mjs +3 -2
- package/dist/components/Text.d.mts +4 -4
- package/dist/components/Textarea.d.mts +7 -7
- package/dist/components/TimePicker.d.mts +3 -3
- package/dist/components/TimePicker.mjs +3 -2
- package/dist/components/Timeline.d.mts +7 -7
- package/dist/components/Timeline.mjs +3 -2
- package/dist/components/Tooltip.d.mts +6 -6
- package/dist/components/Tour.d.mts +2 -2
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.d.mts +6 -4
- package/dist/components/Transfer.mjs +3 -2
- package/dist/components/Tree.d.mts +4 -4
- package/dist/components/Tree.mjs +3 -2
- package/dist/components/TreeMapChart.d.mts +2 -2
- package/dist/components/TreeMapChart.mjs +2 -2
- package/dist/components/TreeSelect.d.mts +3 -3
- package/dist/components/TreeSelect.mjs +3 -2
- package/dist/components/Upload.d.mts +3 -3
- package/dist/components/Upload.mjs +3 -2
- package/dist/components/VirtualList.d.mts +3 -3
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/VirtualTable.mjs +3 -2
- package/dist/components/Watermark.d.mts +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +29 -0
- package/package.json +2 -2
- /package/dist/{chunk-BPFKTAF2.mjs → chunk-L5KAXWQI.mjs} +0 -0
- /package/dist/{chunk-FNBTGIDG.mjs → chunk-Y3SGFGN6.mjs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { MarkdownEditorMode, MarkdownToolbarItem, MarkdownEditorProps as MarkdownEditorProps$1 } from '@expcat/tigercat-core';
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { MarkdownEditorMode, MarkdownToolbarItem, MarkdownEditorProps as MarkdownEditorProps$1, TigerLocale, TigerLocaleMarkdownEditor } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface MarkdownEditorProps extends Omit<
|
|
4
|
+
interface MarkdownEditorProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
|
|
5
5
|
value?: string;
|
|
6
6
|
defaultValue?: string;
|
|
7
7
|
placeholder?: string;
|
|
@@ -13,9 +13,13 @@ interface MarkdownEditorProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
13
13
|
readOnly?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
renderer?: MarkdownEditorProps$1['renderer'];
|
|
16
|
+
/** Locale overrides merged on top of ConfigProvider locale */
|
|
17
|
+
locale?: Partial<TigerLocale>;
|
|
18
|
+
/** Text/aria label overrides */
|
|
19
|
+
labels?: Partial<TigerLocaleMarkdownEditor>;
|
|
16
20
|
onChange?: (markdown: string) => void;
|
|
17
21
|
onModeChange?: (mode: MarkdownEditorMode) => void;
|
|
18
22
|
}
|
|
19
|
-
declare const MarkdownEditor:
|
|
23
|
+
declare const MarkdownEditor: React__default.FC<MarkdownEditorProps>;
|
|
20
24
|
|
|
21
25
|
export { MarkdownEditor, type MarkdownEditorProps, MarkdownEditor as default };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MarkdownEditor,
|
|
3
3
|
MarkdownEditor_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MXXAJSRS.mjs";
|
|
5
5
|
import "../chunk-MEFARVQI.mjs";
|
|
6
|
+
import "../chunk-YSIXURBW.mjs";
|
|
7
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
8
|
export {
|
|
7
9
|
MarkdownEditor,
|
|
8
10
|
MarkdownEditor_default as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { MentionOption, MentionsSize } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface MentionsProps {
|
|
@@ -13,6 +13,6 @@ interface MentionsProps {
|
|
|
13
13
|
onSelect?: (option: MentionOption) => void;
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const Mentions:
|
|
16
|
+
declare const Mentions: React__default.FC<MentionsProps>;
|
|
17
17
|
|
|
18
18
|
export { Mentions, type MentionsProps, Mentions as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { MenuProps as MenuProps$1, MenuMode, MenuTheme, MenuItemProps as MenuItemProps$1, MenuItemGroupProps as MenuItemGroupProps$1, SubMenuProps as SubMenuProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface MenuContextValue {
|
|
@@ -40,13 +40,13 @@ interface MenuProps extends MenuProps$1 {
|
|
|
40
40
|
/**
|
|
41
41
|
* Menu content
|
|
42
42
|
*/
|
|
43
|
-
children?:
|
|
43
|
+
children?: React__default.ReactNode;
|
|
44
44
|
}
|
|
45
45
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
46
46
|
/**
|
|
47
47
|
* Menu item content
|
|
48
48
|
*/
|
|
49
|
-
children?:
|
|
49
|
+
children?: React__default.ReactNode;
|
|
50
50
|
/**
|
|
51
51
|
* Nesting level (internal use for indentation)
|
|
52
52
|
*/
|
|
@@ -60,7 +60,7 @@ interface MenuItemGroupProps extends MenuItemGroupProps$1 {
|
|
|
60
60
|
/**
|
|
61
61
|
* Group items
|
|
62
62
|
*/
|
|
63
|
-
children?:
|
|
63
|
+
children?: React__default.ReactNode;
|
|
64
64
|
/**
|
|
65
65
|
* Nesting level (internal use for indentation)
|
|
66
66
|
*/
|
|
@@ -74,7 +74,7 @@ interface SubMenuProps extends SubMenuProps$1 {
|
|
|
74
74
|
/**
|
|
75
75
|
* Submenu content
|
|
76
76
|
*/
|
|
77
|
-
children?:
|
|
77
|
+
children?: React__default.ReactNode;
|
|
78
78
|
/**
|
|
79
79
|
* Nesting level (internal use for indentation)
|
|
80
80
|
*/
|
|
@@ -87,12 +87,12 @@ interface SubMenuProps extends SubMenuProps$1 {
|
|
|
87
87
|
|
|
88
88
|
declare function useMenuContext(): MenuContextValue | null;
|
|
89
89
|
|
|
90
|
-
declare const MenuItem:
|
|
90
|
+
declare const MenuItem: React__default.FC<MenuItemProps>;
|
|
91
91
|
|
|
92
|
-
declare const SubMenu:
|
|
92
|
+
declare const SubMenu: React__default.FC<SubMenuProps>;
|
|
93
93
|
|
|
94
|
-
declare const MenuItemGroup:
|
|
94
|
+
declare const MenuItemGroup: React__default.FC<MenuItemGroupProps>;
|
|
95
95
|
|
|
96
|
-
declare const Menu:
|
|
96
|
+
declare const Menu: React__default.FC<MenuProps>;
|
|
97
97
|
|
|
98
98
|
export { Menu, type MenuContextValue, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuProps, SubMenu, type SubMenuProps, useMenuContext };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MessageContainer
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-OTBXERJD.mjs";
|
|
4
4
|
import "../chunk-FLYJVZED.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getGlobalTigerLocale
|
|
7
|
+
} from "../chunk-TGXBCKOU.mjs";
|
|
5
8
|
|
|
6
9
|
// src/components/Message.tsx
|
|
7
10
|
import { useEffect, useState } from "react";
|
|
@@ -30,6 +33,15 @@ function getMessageInstanceId() {
|
|
|
30
33
|
getNextInstanceId ??= createInstanceCounter();
|
|
31
34
|
return getNextInstanceId();
|
|
32
35
|
}
|
|
36
|
+
function getDefaultMessageCloseAriaLabel() {
|
|
37
|
+
const locale = getGlobalTigerLocale();
|
|
38
|
+
const closeText = locale?.common?.closeText;
|
|
39
|
+
if (!closeText) return void 0;
|
|
40
|
+
const localeCode = locale.locale?.toLowerCase() ?? "";
|
|
41
|
+
if (localeCode.startsWith("zh")) return `${closeText}\u6D88\u606F`;
|
|
42
|
+
if (localeCode.startsWith("en")) return `${closeText} message`;
|
|
43
|
+
return closeText;
|
|
44
|
+
}
|
|
33
45
|
var MessageHost = () => {
|
|
34
46
|
const [messages, setMessages] = useState(() => [...messageInstances]);
|
|
35
47
|
useEffect(() => {
|
|
@@ -89,6 +101,7 @@ function addMessage(config) {
|
|
|
89
101
|
onClose: config.onClose,
|
|
90
102
|
icon: config.icon,
|
|
91
103
|
className: config.className,
|
|
104
|
+
closeAriaLabel: config.closeAriaLabel ?? getDefaultMessageCloseAriaLabel(),
|
|
92
105
|
position: config.position ?? "top"
|
|
93
106
|
};
|
|
94
107
|
messageInstances.push(instance);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { MessagePosition, MessageInstance } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface MessageContainerProps {
|
|
@@ -6,6 +6,6 @@ interface MessageContainerProps {
|
|
|
6
6
|
messages?: MessageInstance[];
|
|
7
7
|
onClose?: (id: string | number) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const MessageContainer:
|
|
9
|
+
declare const MessageContainer: React__default.FC<MessageContainerProps>;
|
|
10
10
|
|
|
11
11
|
export { MessageContainer, type MessageContainerProps, MessageContainer as default };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ModalProps as ModalProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface ModalProps extends ModalProps$1, Omit<
|
|
4
|
+
interface ModalProps extends ModalProps$1, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title' | 'children' | 'draggable'> {
|
|
5
5
|
/**
|
|
6
6
|
* Modal content
|
|
7
7
|
*/
|
|
8
|
-
children?:
|
|
8
|
+
children?: React__default.ReactNode;
|
|
9
9
|
/**
|
|
10
10
|
* Modal title content (alternative to title prop)
|
|
11
11
|
*/
|
|
12
|
-
titleContent?:
|
|
12
|
+
titleContent?: React__default.ReactNode;
|
|
13
13
|
/**
|
|
14
14
|
* Modal footer content
|
|
15
15
|
*/
|
|
16
|
-
footer?:
|
|
16
|
+
footer?: React__default.ReactNode;
|
|
17
17
|
/**
|
|
18
18
|
* Callback when modal visibility changes
|
|
19
19
|
*/
|
|
@@ -55,6 +55,6 @@ interface ModalProps extends ModalProps$1, Omit<React.HTMLAttributes<HTMLDivElem
|
|
|
55
55
|
*/
|
|
56
56
|
cancelText?: string;
|
|
57
57
|
}
|
|
58
|
-
declare const Modal:
|
|
58
|
+
declare const Modal: React__default.FC<ModalProps>;
|
|
59
59
|
|
|
60
60
|
export { Modal, type ModalProps };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Modal
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-K7MYQISG.mjs";
|
|
4
4
|
import "../chunk-5TE7KLE5.mjs";
|
|
5
5
|
import "../chunk-ZJWUBR2X.mjs";
|
|
6
6
|
import "../chunk-SEWNVIHH.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-YSIXURBW.mjs";
|
|
8
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
8
9
|
export {
|
|
9
10
|
Modal
|
|
10
11
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationContainer
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CN3QXWK3.mjs";
|
|
4
4
|
import "../chunk-FLYJVZED.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getGlobalTigerLocale
|
|
7
|
+
} from "../chunk-TGXBCKOU.mjs";
|
|
5
8
|
|
|
6
9
|
// src/components/Notification.tsx
|
|
7
10
|
import { useEffect, useState } from "react";
|
|
@@ -42,6 +45,15 @@ function getNotificationInstanceId() {
|
|
|
42
45
|
getNextInstanceId ??= createInstanceCounter();
|
|
43
46
|
return getNextInstanceId();
|
|
44
47
|
}
|
|
48
|
+
function getDefaultNotificationCloseAriaLabel() {
|
|
49
|
+
const locale = getGlobalTigerLocale();
|
|
50
|
+
const closeText = locale?.common?.closeText;
|
|
51
|
+
if (!closeText) return void 0;
|
|
52
|
+
const localeCode = locale.locale?.toLowerCase() ?? "";
|
|
53
|
+
if (localeCode.startsWith("zh")) return `${closeText}\u901A\u77E5`;
|
|
54
|
+
if (localeCode.startsWith("en")) return `${closeText} notification`;
|
|
55
|
+
return closeText;
|
|
56
|
+
}
|
|
45
57
|
function scheduleNotificationStackUpdate(position) {
|
|
46
58
|
const callback = updateCallbacks[position];
|
|
47
59
|
if (!callback) return;
|
|
@@ -119,6 +131,7 @@ function addNotification(config) {
|
|
|
119
131
|
actions: config.actions,
|
|
120
132
|
icon: config.icon,
|
|
121
133
|
className: config.className,
|
|
134
|
+
closeAriaLabel: config.closeAriaLabel ?? getDefaultNotificationCloseAriaLabel(),
|
|
122
135
|
position
|
|
123
136
|
};
|
|
124
137
|
notificationInstancesByPosition[position].push(instance);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { NotificationCenterProps as NotificationCenterProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface NotificationCenterProps extends NotificationCenterProps$1, Omit<
|
|
4
|
+
interface NotificationCenterProps extends NotificationCenterProps$1, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
5
5
|
}
|
|
6
|
-
declare const NotificationCenter:
|
|
6
|
+
declare const NotificationCenter: React__default.FC<NotificationCenterProps>;
|
|
7
7
|
|
|
8
8
|
export { NotificationCenter, type NotificationCenterProps, NotificationCenter as default };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationCenter,
|
|
3
3
|
NotificationCenter_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-532RNNPH.mjs";
|
|
5
|
+
import "../chunk-Z3CRHC5F.mjs";
|
|
6
|
+
import "../chunk-D4LASFVY.mjs";
|
|
7
7
|
import "../chunk-Y5X3G2LD.mjs";
|
|
8
8
|
import "../chunk-5TE7KLE5.mjs";
|
|
9
9
|
import "../chunk-ZJWUBR2X.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-AJJJ6HWC.mjs";
|
|
11
11
|
import "../chunk-SEWNVIHH.mjs";
|
|
12
12
|
import "../chunk-HLS4CHWX.mjs";
|
|
13
13
|
import "../chunk-IXV5YBCZ.mjs";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-YSIXURBW.mjs";
|
|
15
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
15
16
|
export {
|
|
16
17
|
NotificationCenter,
|
|
17
18
|
NotificationCenter_default as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { NotificationPosition, NotificationInstance } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface NotificationContainerProps {
|
|
@@ -6,6 +6,6 @@ interface NotificationContainerProps {
|
|
|
6
6
|
notifications?: NotificationInstance[];
|
|
7
7
|
onClose?: (id: string | number) => void;
|
|
8
8
|
}
|
|
9
|
-
declare const NotificationContainer:
|
|
9
|
+
declare const NotificationContainer: React__default.FC<NotificationContainerProps>;
|
|
10
10
|
|
|
11
11
|
export { NotificationContainer, type NotificationContainerProps, NotificationContainer as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { NumberKeyboardProps as NumberKeyboardProps$1, NumberKeyboardChangePayload, NumberKeyboardKey } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface NumberKeyboardProps extends Omit<NumberKeyboardProps$1, 'modelValue' | 'className'>, Omit<
|
|
4
|
+
interface NumberKeyboardProps extends Omit<NumberKeyboardProps$1, 'modelValue' | 'className'>, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange' | 'onKeyPress'> {
|
|
5
5
|
className?: string;
|
|
6
6
|
onChange?: (value: string, payload: NumberKeyboardChangePayload) => void;
|
|
7
7
|
onKeyPress?: (key: NumberKeyboardKey, payload: NumberKeyboardChangePayload) => void;
|
|
8
8
|
onDelete?: (value: string, payload: NumberKeyboardChangePayload) => void;
|
|
9
9
|
onConfirm?: (value: string, payload: NumberKeyboardChangePayload) => void;
|
|
10
10
|
}
|
|
11
|
-
declare const NumberKeyboard:
|
|
11
|
+
declare const NumberKeyboard: React__default.FC<NumberKeyboardProps>;
|
|
12
12
|
|
|
13
13
|
export { NumberKeyboard, type NumberKeyboardProps, NumberKeyboard as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NumberKeyboard,
|
|
3
3
|
NumberKeyboard_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-MOWK7CND.mjs";
|
|
5
|
+
import "../chunk-YSIXURBW.mjs";
|
|
6
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
7
|
export {
|
|
7
8
|
NumberKeyboard,
|
|
8
9
|
NumberKeyboard_default as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { OrgChartProps as OrgChartProps$1, ChartPadding, OrgChartNode } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface OrgChartProps extends Omit<OrgChartProps$1, 'className'> {
|
|
@@ -8,7 +8,7 @@ interface OrgChartProps extends Omit<OrgChartProps$1, 'className'> {
|
|
|
8
8
|
onNodeHover?: (node: OrgChartNode | null) => void;
|
|
9
9
|
onSelectedIdChange?: (id: string | number | null) => void;
|
|
10
10
|
}
|
|
11
|
-
declare function OrgChart({ data, width, height, padding, nodeWidth, nodeHeight, levelGap, siblingGap, direction, showAvatars, showSubtitles, hoverable, selectable, selectedId, activeOpacity, inactiveOpacity, colors, title, desc, ariaLabel, className, onNodeClick, onNodeHover, onSelectedIdChange }: OrgChartProps):
|
|
11
|
+
declare function OrgChart({ data, width, height, padding, nodeWidth, nodeHeight, levelGap, siblingGap, direction, showAvatars, showSubtitles, hoverable, selectable, selectedId, activeOpacity, inactiveOpacity, colors, title, desc, ariaLabel, className, onNodeClick, onNodeHover, onSelectedIdChange }: OrgChartProps): React__default.ReactElement;
|
|
12
12
|
declare namespace OrgChart {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { PaginationProps as PaginationProps$1, TigerLocaleInput } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface PaginationProps extends Omit<PaginationProps$1, 'style'>, Omit<
|
|
5
|
-
style?:
|
|
4
|
+
interface PaginationProps extends Omit<PaginationProps$1, 'style'>, Omit<React__default.HTMLAttributes<HTMLElement>, 'onChange'> {
|
|
5
|
+
style?: React__default.CSSProperties;
|
|
6
6
|
onChange?: (current: number, pageSize: number) => void;
|
|
7
7
|
onPageSizeChange?: (current: number, pageSize: number) => void;
|
|
8
8
|
/**
|
|
@@ -10,6 +10,6 @@ interface PaginationProps extends Omit<PaginationProps$1, 'style'>, Omit<React.H
|
|
|
10
10
|
*/
|
|
11
11
|
locale?: TigerLocaleInput;
|
|
12
12
|
}
|
|
13
|
-
declare const Pagination:
|
|
13
|
+
declare const Pagination: React__default.FC<PaginationProps>;
|
|
14
14
|
|
|
15
15
|
export { Pagination, type PaginationProps, Pagination as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pagination,
|
|
3
3
|
Pagination_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-AGTXDHQJ.mjs";
|
|
5
|
+
import "../chunk-YSIXURBW.mjs";
|
|
6
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
7
|
export {
|
|
7
8
|
Pagination,
|
|
8
9
|
Pagination_default as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { PieChartProps as PieChartProps$1, PieChartDatum, ChartPadding } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface PieChartProps extends PieChartProps$1 {
|
|
@@ -9,6 +9,6 @@ interface PieChartProps extends PieChartProps$1 {
|
|
|
9
9
|
onSliceClick?: (index: number, datum: PieChartDatum) => void;
|
|
10
10
|
onSliceHover?: (index: number | null, datum: PieChartDatum | null) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const PieChart:
|
|
12
|
+
declare const PieChart: React__default.FC<PieChartProps>;
|
|
13
13
|
|
|
14
14
|
export { PieChart, type PieChartProps, PieChart as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PieChart,
|
|
3
3
|
PieChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QGZ32NFQ.mjs";
|
|
5
5
|
import "../chunk-DNOPEJ5I.mjs";
|
|
6
6
|
import "../chunk-YORCCCQX.mjs";
|
|
7
7
|
import "../chunk-DKNVSQSV.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-F2ITBDUS.mjs";
|
|
9
9
|
export {
|
|
10
10
|
PieChart,
|
|
11
11
|
PieChart_default as default
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { PopconfirmProps as PopconfirmProps$1, FloatingPlacement } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
type PopconfirmProps = Omit<PopconfirmProps$1, 'style' | 'placement'> & Omit<
|
|
4
|
+
type PopconfirmProps = Omit<PopconfirmProps$1, 'style' | 'placement'> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children' | 'className' | 'style'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Trigger content. May be a render function receiving `{ open }` so the
|
|
7
7
|
* trigger can be styled/rendered by open state without attribute selectors.
|
|
8
8
|
*/
|
|
9
|
-
children?:
|
|
9
|
+
children?: React__default.ReactNode | ((state: {
|
|
10
10
|
open: boolean;
|
|
11
|
-
}) =>
|
|
12
|
-
titleContent?:
|
|
13
|
-
descriptionContent?:
|
|
11
|
+
}) => React__default.ReactNode);
|
|
12
|
+
titleContent?: React__default.ReactNode;
|
|
13
|
+
descriptionContent?: React__default.ReactNode;
|
|
14
14
|
onOpenChange?: (open: boolean) => void;
|
|
15
15
|
onConfirm?: () => void;
|
|
16
16
|
onCancel?: () => void;
|
|
17
17
|
placement?: FloatingPlacement;
|
|
18
18
|
offset?: number;
|
|
19
19
|
className?: string;
|
|
20
|
-
style?:
|
|
20
|
+
style?: React__default.CSSProperties;
|
|
21
21
|
};
|
|
22
|
-
declare const Popconfirm:
|
|
22
|
+
declare const Popconfirm: React__default.FC<PopconfirmProps>;
|
|
23
23
|
|
|
24
24
|
export { Popconfirm, type PopconfirmProps };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { PopoverProps as PopoverProps$1, FloatingPlacement } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
type PopoverProps = Omit<PopoverProps$1, 'style' | 'placement'> & Omit<
|
|
4
|
+
type PopoverProps = Omit<PopoverProps$1, 'style' | 'placement'> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children' | 'className' | 'style' | 'title'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Trigger content. May be a render function receiving `{ open }` so the
|
|
7
7
|
* trigger can be styled/rendered by open state without attribute selectors.
|
|
8
8
|
*/
|
|
9
|
-
children?:
|
|
9
|
+
children?: React__default.ReactNode | ((state: {
|
|
10
10
|
open: boolean;
|
|
11
|
-
}) =>
|
|
12
|
-
titleContent?:
|
|
13
|
-
contentContent?:
|
|
11
|
+
}) => React__default.ReactNode);
|
|
12
|
+
titleContent?: React__default.ReactNode;
|
|
13
|
+
contentContent?: React__default.ReactNode;
|
|
14
14
|
className?: string;
|
|
15
|
-
style?:
|
|
15
|
+
style?: React__default.CSSProperties;
|
|
16
16
|
placement?: FloatingPlacement;
|
|
17
17
|
offset?: number;
|
|
18
18
|
onOpenChange?: (open: boolean) => void;
|
|
19
19
|
};
|
|
20
|
-
declare const Popover:
|
|
20
|
+
declare const Popover: React__default.FC<PopoverProps>;
|
|
21
21
|
|
|
22
22
|
export { Popover, type PopoverProps };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { PrintPageSize, PrintOrientation } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface PrintLayoutProps extends Omit<
|
|
4
|
+
interface PrintLayoutProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
5
5
|
pageSize?: PrintPageSize;
|
|
6
6
|
orientation?: PrintOrientation;
|
|
7
7
|
showHeader?: boolean;
|
|
8
8
|
showFooter?: boolean;
|
|
9
9
|
headerText?: string;
|
|
10
10
|
footerText?: string;
|
|
11
|
-
headerRender?:
|
|
12
|
-
footerRender?:
|
|
11
|
+
headerRender?: React__default.ReactNode;
|
|
12
|
+
footerRender?: React__default.ReactNode;
|
|
13
13
|
showPageBreaks?: boolean;
|
|
14
14
|
className?: string;
|
|
15
|
-
children?:
|
|
15
|
+
children?: React__default.ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const PrintLayout:
|
|
18
|
-
interface PrintPageBreakProps extends
|
|
17
|
+
declare const PrintLayout: React__default.FC<PrintLayoutProps>;
|
|
18
|
+
interface PrintPageBreakProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
19
19
|
}
|
|
20
|
-
declare const PrintPageBreak:
|
|
20
|
+
declare const PrintPageBreak: React__default.FC<PrintPageBreakProps>;
|
|
21
21
|
|
|
22
22
|
export { PrintLayout, type PrintLayoutProps, PrintPageBreak, type PrintPageBreakProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ProgressProps as ProgressProps$1 } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
|
-
interface ProgressProps extends ProgressProps$1, Omit<
|
|
4
|
+
interface ProgressProps extends ProgressProps$1, Omit<React__default.HTMLAttributes<HTMLDivElement>, keyof ProgressProps$1> {
|
|
5
5
|
}
|
|
6
|
-
declare const Progress:
|
|
6
|
+
declare const Progress: React__default.FC<ProgressProps>;
|
|
7
7
|
|
|
8
8
|
export { Progress, type ProgressProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { QRCodeLevel, QRCodeStatus, TigerLocale } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface QRCodeProps {
|
|
@@ -12,6 +12,6 @@ interface QRCodeProps {
|
|
|
12
12
|
className?: string;
|
|
13
13
|
locale?: Partial<TigerLocale>;
|
|
14
14
|
}
|
|
15
|
-
declare const QRCode:
|
|
15
|
+
declare const QRCode: React__default.FC<QRCodeProps>;
|
|
16
16
|
|
|
17
17
|
export { QRCode, type QRCodeProps, QRCode as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { RadarChartProps as RadarChartProps$1, RadarChartDatum, RadarChartSeries, ChartPadding } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface RadarChartProps extends RadarChartProps$1 {
|
|
@@ -26,6 +26,6 @@ interface RadarChartProps extends RadarChartProps$1 {
|
|
|
26
26
|
onSeriesClick?: (index: number, series: RadarChartSeries) => void;
|
|
27
27
|
onSeriesHover?: (index: number | null, series: RadarChartSeries | null) => void;
|
|
28
28
|
}
|
|
29
|
-
declare const RadarChart:
|
|
29
|
+
declare const RadarChart: React__default.FC<RadarChartProps>;
|
|
30
30
|
|
|
31
31
|
export { RadarChart, type RadarChartProps, RadarChart as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadarChart,
|
|
3
3
|
RadarChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-KMP5CVNK.mjs";
|
|
5
5
|
import "../chunk-DNOPEJ5I.mjs";
|
|
6
6
|
import "../chunk-YORCCCQX.mjs";
|
|
7
7
|
import "../chunk-DKNVSQSV.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-F2ITBDUS.mjs";
|
|
9
9
|
import "../chunk-SDLMB34Y.mjs";
|
|
10
10
|
export {
|
|
11
11
|
RadarChart,
|