@expcat/tigercat-react 0.0.1
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/LICENSE +21 -0
- package/dist/chunk-2DOPHSZP.js +32 -0
- package/dist/chunk-2TS6X5RA.js +73 -0
- package/dist/chunk-2Y327ZU4.js +493 -0
- package/dist/chunk-3GD3LOII.mjs +23 -0
- package/dist/chunk-3OF7XPIQ.js +90 -0
- package/dist/chunk-3WPKVV4N.js +140 -0
- package/dist/chunk-3XXXM4OB.mjs +203 -0
- package/dist/chunk-427CM2U6.mjs +76 -0
- package/dist/chunk-472D2S4R.mjs +23 -0
- package/dist/chunk-5FRENLDC.js +194 -0
- package/dist/chunk-5HUYCSA4.mjs +77 -0
- package/dist/chunk-5QKMQRCW.js +89 -0
- package/dist/chunk-5ZVSFIZD.js +50 -0
- package/dist/chunk-6575DOCV.mjs +117 -0
- package/dist/chunk-672SCJWZ.mjs +88 -0
- package/dist/chunk-6MGEGOYJ.js +108 -0
- package/dist/chunk-6PUSRC6S.js +68 -0
- package/dist/chunk-6YDIBMCM.mjs +33 -0
- package/dist/chunk-72ZRDBXN.js +25 -0
- package/dist/chunk-77D7VQMG.js +43 -0
- package/dist/chunk-7CAJK2ZK.mjs +54 -0
- package/dist/chunk-7JQ7LURS.mjs +25 -0
- package/dist/chunk-7KRBDT2Z.mjs +269 -0
- package/dist/chunk-7O2OQKVY.mjs +10 -0
- package/dist/chunk-7OLWGHUR.mjs +169 -0
- package/dist/chunk-7P6PHSFM.js +548 -0
- package/dist/chunk-ADOPAXPG.mjs +301 -0
- package/dist/chunk-AG6GVQ5O.js +271 -0
- package/dist/chunk-ALP3KYYY.mjs +47 -0
- package/dist/chunk-AQ6DHCP6.js +53 -0
- package/dist/chunk-AQQRWISY.js +184 -0
- package/dist/chunk-C52ZCGYG.mjs +313 -0
- package/dist/chunk-C5EFBJBR.js +540 -0
- package/dist/chunk-CES6LGQ7.mjs +546 -0
- package/dist/chunk-CKUSQR2H.mjs +41 -0
- package/dist/chunk-CR4QK2AB.mjs +88 -0
- package/dist/chunk-CTAMMQBC.mjs +297 -0
- package/dist/chunk-D3I2SY7X.js +301 -0
- package/dist/chunk-DCRVIDMY.mjs +41 -0
- package/dist/chunk-DIZNY6N4.mjs +71 -0
- package/dist/chunk-DZJUFU55.js +300 -0
- package/dist/chunk-EB6EDLJZ.mjs +50 -0
- package/dist/chunk-EI2GHMQS.js +37 -0
- package/dist/chunk-ENR3RIMM.js +205 -0
- package/dist/chunk-EQWQXURG.js +18 -0
- package/dist/chunk-EUHWE7MN.js +267 -0
- package/dist/chunk-FAKTU64M.js +67 -0
- package/dist/chunk-FQ6UHRAO.js +499 -0
- package/dist/chunk-G6FSHN2I.mjs +111 -0
- package/dist/chunk-GIYBVWR4.mjs +213 -0
- package/dist/chunk-HDDBBZQH.js +321 -0
- package/dist/chunk-HQLZL3XQ.mjs +48 -0
- package/dist/chunk-HQXZVTP4.mjs +199 -0
- package/dist/chunk-HUMGEP7S.mjs +17 -0
- package/dist/chunk-IFY46RWU.js +25 -0
- package/dist/chunk-IQINYCU6.js +99 -0
- package/dist/chunk-IWENGARY.mjs +32 -0
- package/dist/chunk-IY4LEJYF.js +78 -0
- package/dist/chunk-JW64IJP2.js +210 -0
- package/dist/chunk-K7ZMB2TH.mjs +696 -0
- package/dist/chunk-KAEHFMTQ.mjs +537 -0
- package/dist/chunk-KMQOLVWP.mjs +65 -0
- package/dist/chunk-KUCFT2OA.js +43 -0
- package/dist/chunk-LADCWARG.mjs +97 -0
- package/dist/chunk-LAZGEMA2.mjs +176 -0
- package/dist/chunk-LNKI6HQ3.js +152 -0
- package/dist/chunk-LXA2YBAO.js +38 -0
- package/dist/chunk-MKWXJZ3T.js +74 -0
- package/dist/chunk-MQXBU5YX.mjs +87 -0
- package/dist/chunk-NEULKOYJ.js +48 -0
- package/dist/chunk-NI2WNZRT.js +38 -0
- package/dist/chunk-NOOPXNR4.mjs +36 -0
- package/dist/chunk-NSGDRTSQ.mjs +138 -0
- package/dist/chunk-O3EUFIOS.mjs +142 -0
- package/dist/chunk-OCVQ3LOT.mjs +45 -0
- package/dist/chunk-OFCKGWTS.js +12 -0
- package/dist/chunk-OQTPXPAP.mjs +10 -0
- package/dist/chunk-OTRGVENC.js +305 -0
- package/dist/chunk-P273E6XE.js +219 -0
- package/dist/chunk-PAD2DX5M.mjs +331 -0
- package/dist/chunk-PUDU34R4.mjs +106 -0
- package/dist/chunk-Q3DPJHNM.js +407 -0
- package/dist/chunk-QEAC4MIG.mjs +295 -0
- package/dist/chunk-QFVE7GKD.js +109 -0
- package/dist/chunk-QL6OBKEN.js +84 -0
- package/dist/chunk-QL6UEG3U.js +27 -0
- package/dist/chunk-QN7NIX7D.mjs +82 -0
- package/dist/chunk-QORSSZX4.js +144 -0
- package/dist/chunk-R4JSBXGG.js +12 -0
- package/dist/chunk-R5BQHZWB.js +698 -0
- package/dist/chunk-R7MS42PL.js +90 -0
- package/dist/chunk-RTQNWZN4.mjs +405 -0
- package/dist/chunk-SIVJX7VU.mjs +16 -0
- package/dist/chunk-SJ5RFU2O.mjs +17 -0
- package/dist/chunk-T4TJJMLM.mjs +34 -0
- package/dist/chunk-TB2UHDOZ.js +19 -0
- package/dist/chunk-TBIEWDY5.js +175 -0
- package/dist/chunk-TJFS44SH.js +48 -0
- package/dist/chunk-TR246HQP.mjs +69 -0
- package/dist/chunk-TZ26HQAW.js +85 -0
- package/dist/chunk-U4ZVEPYD.js +71 -0
- package/dist/chunk-UFAXJVMD.js +120 -0
- package/dist/chunk-V2HVHLBY.mjs +83 -0
- package/dist/chunk-VD3IK5XT.mjs +35 -0
- package/dist/chunk-VEGBO77D.mjs +20 -0
- package/dist/chunk-VJJ76I7U.js +19 -0
- package/dist/chunk-VO4WDK4K.js +37 -0
- package/dist/chunk-VSF4DF7N.js +84 -0
- package/dist/chunk-VVO4V4IK.js +56 -0
- package/dist/chunk-W7HUFFPJ.mjs +263 -0
- package/dist/chunk-WDAMDVLU.mjs +106 -0
- package/dist/chunk-WEGU7O4J.mjs +66 -0
- package/dist/chunk-WK5HN4OH.js +113 -0
- package/dist/chunk-WSCSDSV7.mjs +145 -0
- package/dist/chunk-WSJO2PIE.mjs +72 -0
- package/dist/chunk-XDKXL2BP.mjs +188 -0
- package/dist/chunk-XS5JP2KO.mjs +491 -0
- package/dist/chunk-XZDJ5FRB.js +333 -0
- package/dist/chunk-YE2M2HNM.js +168 -0
- package/dist/chunk-YYGTJKP5.js +39 -0
- package/dist/chunk-YYKJ63LD.mjs +497 -0
- package/dist/chunk-Z4Z3I74Q.mjs +166 -0
- package/dist/chunk-ZO4XVOHU.mjs +45 -0
- package/dist/chunk-ZREFCRX3.js +52 -0
- package/dist/components/Alert.d.mts +24 -0
- package/dist/components/Alert.d.ts +24 -0
- package/dist/components/Alert.js +10 -0
- package/dist/components/Alert.mjs +1 -0
- package/dist/components/Avatar.d.mts +12 -0
- package/dist/components/Avatar.d.ts +12 -0
- package/dist/components/Avatar.js +10 -0
- package/dist/components/Avatar.mjs +1 -0
- package/dist/components/Badge.d.mts +12 -0
- package/dist/components/Badge.d.ts +12 -0
- package/dist/components/Badge.js +10 -0
- package/dist/components/Badge.mjs +1 -0
- package/dist/components/Breadcrumb.d.mts +13 -0
- package/dist/components/Breadcrumb.d.ts +13 -0
- package/dist/components/Breadcrumb.js +14 -0
- package/dist/components/Breadcrumb.mjs +1 -0
- package/dist/components/BreadcrumbItem.d.mts +21 -0
- package/dist/components/BreadcrumbItem.d.ts +21 -0
- package/dist/components/BreadcrumbItem.js +11 -0
- package/dist/components/BreadcrumbItem.mjs +2 -0
- package/dist/components/Button.d.mts +8 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.js +10 -0
- package/dist/components/Button.mjs +1 -0
- package/dist/components/Card.d.mts +33 -0
- package/dist/components/Card.d.ts +33 -0
- package/dist/components/Card.js +10 -0
- package/dist/components/Card.mjs +1 -0
- package/dist/components/Checkbox.d.mts +48 -0
- package/dist/components/Checkbox.d.ts +48 -0
- package/dist/components/Checkbox.js +11 -0
- package/dist/components/Checkbox.mjs +2 -0
- package/dist/components/CheckboxGroup.d.mts +39 -0
- package/dist/components/CheckboxGroup.d.ts +39 -0
- package/dist/components/CheckboxGroup.js +14 -0
- package/dist/components/CheckboxGroup.mjs +1 -0
- package/dist/components/Col.d.mts +7 -0
- package/dist/components/Col.d.ts +7 -0
- package/dist/components/Col.js +11 -0
- package/dist/components/Col.mjs +2 -0
- package/dist/components/ConfigProvider.d.mts +14 -0
- package/dist/components/ConfigProvider.d.ts +14 -0
- package/dist/components/ConfigProvider.js +14 -0
- package/dist/components/ConfigProvider.mjs +1 -0
- package/dist/components/Container.d.mts +13 -0
- package/dist/components/Container.d.ts +13 -0
- package/dist/components/Container.js +10 -0
- package/dist/components/Container.mjs +1 -0
- package/dist/components/Content.d.mts +9 -0
- package/dist/components/Content.d.ts +9 -0
- package/dist/components/Content.js +10 -0
- package/dist/components/Content.mjs +1 -0
- package/dist/components/DatePicker.d.mts +24 -0
- package/dist/components/DatePicker.d.ts +24 -0
- package/dist/components/DatePicker.js +10 -0
- package/dist/components/DatePicker.mjs +1 -0
- package/dist/components/Descriptions.d.mts +53 -0
- package/dist/components/Descriptions.d.ts +53 -0
- package/dist/components/Descriptions.js +16 -0
- package/dist/components/Descriptions.mjs +1 -0
- package/dist/components/Divider.d.mts +12 -0
- package/dist/components/Divider.d.ts +12 -0
- package/dist/components/Divider.js +10 -0
- package/dist/components/Divider.mjs +1 -0
- package/dist/components/Drawer.d.mts +19 -0
- package/dist/components/Drawer.d.ts +19 -0
- package/dist/components/Drawer.js +11 -0
- package/dist/components/Drawer.mjs +2 -0
- package/dist/components/Dropdown.d.mts +22 -0
- package/dist/components/Dropdown.d.ts +22 -0
- package/dist/components/Dropdown.js +16 -0
- package/dist/components/Dropdown.mjs +3 -0
- package/dist/components/DropdownItem.d.mts +17 -0
- package/dist/components/DropdownItem.d.ts +17 -0
- package/dist/components/DropdownItem.js +13 -0
- package/dist/components/DropdownItem.mjs +4 -0
- package/dist/components/DropdownMenu.d.mts +13 -0
- package/dist/components/DropdownMenu.d.ts +13 -0
- package/dist/components/DropdownMenu.js +10 -0
- package/dist/components/DropdownMenu.mjs +1 -0
- package/dist/components/Footer.d.mts +9 -0
- package/dist/components/Footer.d.ts +9 -0
- package/dist/components/Footer.js +10 -0
- package/dist/components/Footer.mjs +1 -0
- package/dist/components/Form.d.mts +56 -0
- package/dist/components/Form.d.ts +56 -0
- package/dist/components/Form.js +14 -0
- package/dist/components/Form.mjs +1 -0
- package/dist/components/FormItem.d.mts +16 -0
- package/dist/components/FormItem.d.ts +16 -0
- package/dist/components/FormItem.js +11 -0
- package/dist/components/FormItem.mjs +2 -0
- package/dist/components/Header.d.mts +9 -0
- package/dist/components/Header.d.ts +9 -0
- package/dist/components/Header.js +10 -0
- package/dist/components/Header.mjs +1 -0
- package/dist/components/Icon.d.mts +9 -0
- package/dist/components/Icon.d.ts +9 -0
- package/dist/components/Icon.js +10 -0
- package/dist/components/Icon.mjs +1 -0
- package/dist/components/Input.d.mts +28 -0
- package/dist/components/Input.d.ts +28 -0
- package/dist/components/Input.js +10 -0
- package/dist/components/Input.mjs +1 -0
- package/dist/components/Layout.d.mts +9 -0
- package/dist/components/Layout.d.ts +9 -0
- package/dist/components/Layout.js +10 -0
- package/dist/components/Layout.mjs +1 -0
- package/dist/components/Link.d.mts +10 -0
- package/dist/components/Link.d.ts +10 -0
- package/dist/components/Link.js +10 -0
- package/dist/components/Link.mjs +1 -0
- package/dist/components/List.d.mts +94 -0
- package/dist/components/List.d.ts +94 -0
- package/dist/components/List.js +12 -0
- package/dist/components/List.mjs +3 -0
- package/dist/components/Loading.d.mts +8 -0
- package/dist/components/Loading.d.ts +8 -0
- package/dist/components/Loading.js +10 -0
- package/dist/components/Loading.mjs +1 -0
- package/dist/components/Menu.d.mts +35 -0
- package/dist/components/Menu.d.ts +35 -0
- package/dist/components/Menu.js +14 -0
- package/dist/components/Menu.mjs +1 -0
- package/dist/components/MenuItem.d.mts +20 -0
- package/dist/components/MenuItem.d.ts +20 -0
- package/dist/components/MenuItem.js +11 -0
- package/dist/components/MenuItem.mjs +2 -0
- package/dist/components/MenuItemGroup.d.mts +16 -0
- package/dist/components/MenuItemGroup.d.ts +16 -0
- package/dist/components/MenuItemGroup.js +12 -0
- package/dist/components/MenuItemGroup.mjs +3 -0
- package/dist/components/Message.d.mts +44 -0
- package/dist/components/Message.d.ts +44 -0
- package/dist/components/Message.js +20 -0
- package/dist/components/Message.mjs +1 -0
- package/dist/components/Modal.d.mts +41 -0
- package/dist/components/Modal.d.ts +41 -0
- package/dist/components/Modal.js +11 -0
- package/dist/components/Modal.mjs +2 -0
- package/dist/components/Notification.d.mts +40 -0
- package/dist/components/Notification.d.ts +40 -0
- package/dist/components/Notification.js +20 -0
- package/dist/components/Notification.mjs +1 -0
- package/dist/components/Pagination.d.mts +11 -0
- package/dist/components/Pagination.d.ts +11 -0
- package/dist/components/Pagination.js +16 -0
- package/dist/components/Pagination.mjs +1 -0
- package/dist/components/Popconfirm.d.mts +34 -0
- package/dist/components/Popconfirm.d.ts +34 -0
- package/dist/components/Popconfirm.js +10 -0
- package/dist/components/Popconfirm.mjs +1 -0
- package/dist/components/Popover.d.mts +14 -0
- package/dist/components/Popover.d.ts +14 -0
- package/dist/components/Popover.js +10 -0
- package/dist/components/Popover.mjs +1 -0
- package/dist/components/Progress.d.mts +8 -0
- package/dist/components/Progress.d.ts +8 -0
- package/dist/components/Progress.js +10 -0
- package/dist/components/Progress.mjs +1 -0
- package/dist/components/Radio.d.mts +20 -0
- package/dist/components/Radio.d.ts +20 -0
- package/dist/components/Radio.js +11 -0
- package/dist/components/Radio.mjs +2 -0
- package/dist/components/RadioGroup.d.mts +28 -0
- package/dist/components/RadioGroup.d.ts +28 -0
- package/dist/components/RadioGroup.js +14 -0
- package/dist/components/RadioGroup.mjs +1 -0
- package/dist/components/Row.d.mts +11 -0
- package/dist/components/Row.d.ts +11 -0
- package/dist/components/Row.js +14 -0
- package/dist/components/Row.mjs +1 -0
- package/dist/components/Select.d.mts +23 -0
- package/dist/components/Select.d.ts +23 -0
- package/dist/components/Select.js +10 -0
- package/dist/components/Select.mjs +1 -0
- package/dist/components/Sidebar.d.mts +9 -0
- package/dist/components/Sidebar.d.ts +9 -0
- package/dist/components/Sidebar.js +10 -0
- package/dist/components/Sidebar.mjs +1 -0
- package/dist/components/Skeleton.d.mts +7 -0
- package/dist/components/Skeleton.d.ts +7 -0
- package/dist/components/Skeleton.js +10 -0
- package/dist/components/Skeleton.mjs +1 -0
- package/dist/components/Slider.d.mts +12 -0
- package/dist/components/Slider.d.ts +12 -0
- package/dist/components/Slider.js +10 -0
- package/dist/components/Slider.mjs +1 -0
- package/dist/components/Space.d.mts +11 -0
- package/dist/components/Space.d.ts +11 -0
- package/dist/components/Space.js +10 -0
- package/dist/components/Space.mjs +1 -0
- package/dist/components/Steps.d.mts +31 -0
- package/dist/components/Steps.d.ts +31 -0
- package/dist/components/Steps.js +14 -0
- package/dist/components/Steps.mjs +1 -0
- package/dist/components/StepsItem.d.mts +36 -0
- package/dist/components/StepsItem.d.ts +36 -0
- package/dist/components/StepsItem.js +10 -0
- package/dist/components/StepsItem.mjs +1 -0
- package/dist/components/SubMenu.d.mts +20 -0
- package/dist/components/SubMenu.d.ts +20 -0
- package/dist/components/SubMenu.js +13 -0
- package/dist/components/SubMenu.mjs +4 -0
- package/dist/components/Switch.d.mts +12 -0
- package/dist/components/Switch.d.ts +12 -0
- package/dist/components/Switch.js +10 -0
- package/dist/components/Switch.mjs +1 -0
- package/dist/components/TabPane.d.mts +42 -0
- package/dist/components/TabPane.d.ts +42 -0
- package/dist/components/TabPane.js +10 -0
- package/dist/components/TabPane.mjs +1 -0
- package/dist/components/Table.d.mts +46 -0
- package/dist/components/Table.d.ts +46 -0
- package/dist/components/Table.js +10 -0
- package/dist/components/Table.mjs +1 -0
- package/dist/components/Tabs.d.mts +43 -0
- package/dist/components/Tabs.d.ts +43 -0
- package/dist/components/Tabs.js +14 -0
- package/dist/components/Tabs.mjs +1 -0
- package/dist/components/Tag.d.mts +16 -0
- package/dist/components/Tag.d.ts +16 -0
- package/dist/components/Tag.js +10 -0
- package/dist/components/Tag.mjs +1 -0
- package/dist/components/Text.d.mts +9 -0
- package/dist/components/Text.d.ts +9 -0
- package/dist/components/Text.js +10 -0
- package/dist/components/Text.mjs +1 -0
- package/dist/components/Textarea.d.mts +13 -0
- package/dist/components/Textarea.d.ts +13 -0
- package/dist/components/Textarea.js +10 -0
- package/dist/components/Textarea.mjs +1 -0
- package/dist/components/TimePicker.d.mts +28 -0
- package/dist/components/TimePicker.d.ts +28 -0
- package/dist/components/TimePicker.js +10 -0
- package/dist/components/TimePicker.mjs +1 -0
- package/dist/components/Timeline.d.mts +47 -0
- package/dist/components/Timeline.d.ts +47 -0
- package/dist/components/Timeline.js +10 -0
- package/dist/components/Timeline.mjs +1 -0
- package/dist/components/Tooltip.d.mts +15 -0
- package/dist/components/Tooltip.d.ts +15 -0
- package/dist/components/Tooltip.js +10 -0
- package/dist/components/Tooltip.mjs +1 -0
- package/dist/components/Tree.d.mts +154 -0
- package/dist/components/Tree.d.ts +154 -0
- package/dist/components/Tree.js +16 -0
- package/dist/components/Tree.mjs +1 -0
- package/dist/components/Upload.d.mts +16 -0
- package/dist/components/Upload.d.ts +16 -0
- package/dist/components/Upload.js +11 -0
- package/dist/components/Upload.mjs +2 -0
- package/dist/index.d.mts +76 -0
- package/dist/index.d.ts +76 -0
- package/dist/index.js +359 -0
- package/dist/index.mjs +67 -0
- package/package.json +60 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SubMenuProps as SubMenuProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface SubMenuProps extends SubMenuProps$1 {
|
|
5
|
+
/**
|
|
6
|
+
* Submenu content
|
|
7
|
+
*/
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Nesting level (internal use for indentation)
|
|
11
|
+
*/
|
|
12
|
+
level?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Internal override for collapsed rendering (used by SubMenu popup)
|
|
15
|
+
*/
|
|
16
|
+
collapsed?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const SubMenu: React.FC<SubMenuProps>;
|
|
19
|
+
|
|
20
|
+
export { SubMenu, type SubMenuProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkD3I2SY7X_js = require('../chunk-D3I2SY7X.js');
|
|
4
|
+
require('../chunk-LXA2YBAO.js');
|
|
5
|
+
require('../chunk-3WPKVV4N.js');
|
|
6
|
+
require('../chunk-QFVE7GKD.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "SubMenu", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkD3I2SY7X_js.SubMenu; }
|
|
13
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SwitchProps as SwitchProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'children'>, SwitchProps$1 {
|
|
5
|
+
/**
|
|
6
|
+
* Change event handler
|
|
7
|
+
*/
|
|
8
|
+
onChange?: (checked: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Switch: React.FC<SwitchProps>;
|
|
11
|
+
|
|
12
|
+
export { Switch, type SwitchProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SwitchProps as SwitchProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'children'>, SwitchProps$1 {
|
|
5
|
+
/**
|
|
6
|
+
* Change event handler
|
|
7
|
+
*/
|
|
8
|
+
onChange?: (checked: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Switch: React.FC<SwitchProps>;
|
|
11
|
+
|
|
12
|
+
export { Switch, type SwitchProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Switch } from '../chunk-7CAJK2ZK.mjs';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabPaneProps as TabPaneProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TabPaneProps extends Omit<TabPaneProps$1, 'tabKey' | 'icon' | 'style'> {
|
|
5
|
+
/**
|
|
6
|
+
* Unique key for the tab pane (required)
|
|
7
|
+
* Note: In React we use 'key' prop, but internally we use 'tabKey' to avoid conflicts
|
|
8
|
+
*/
|
|
9
|
+
tabKey: string | number;
|
|
10
|
+
/**
|
|
11
|
+
* Icon for the tab
|
|
12
|
+
*/
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Tab pane content
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Custom styles
|
|
20
|
+
*/
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
/**
|
|
23
|
+
* Render mode - 'tab' for tab item, 'pane' for content pane
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
renderMode?: 'tab' | 'pane';
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
tabId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
panelId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
tabIndex?: number;
|
|
39
|
+
}
|
|
40
|
+
declare const TabPane: React.FC<TabPaneProps>;
|
|
41
|
+
|
|
42
|
+
export { TabPane, type TabPaneProps };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabPaneProps as TabPaneProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TabPaneProps extends Omit<TabPaneProps$1, 'tabKey' | 'icon' | 'style'> {
|
|
5
|
+
/**
|
|
6
|
+
* Unique key for the tab pane (required)
|
|
7
|
+
* Note: In React we use 'key' prop, but internally we use 'tabKey' to avoid conflicts
|
|
8
|
+
*/
|
|
9
|
+
tabKey: string | number;
|
|
10
|
+
/**
|
|
11
|
+
* Icon for the tab
|
|
12
|
+
*/
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Tab pane content
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Custom styles
|
|
20
|
+
*/
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
/**
|
|
23
|
+
* Render mode - 'tab' for tab item, 'pane' for content pane
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
renderMode?: 'tab' | 'pane';
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
tabId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
panelId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
tabIndex?: number;
|
|
39
|
+
}
|
|
40
|
+
declare const TabPane: React.FC<TabPaneProps>;
|
|
41
|
+
|
|
42
|
+
export { TabPane, type TabPaneProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabPane } from '../chunk-C52ZCGYG.mjs';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { TableProps as TableProps$1, SortState } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TableProps<T = Record<string, unknown>> extends TableProps$1<T> {
|
|
5
|
+
/**
|
|
6
|
+
* Change event handler (for sort, filter, pagination changes)
|
|
7
|
+
*/
|
|
8
|
+
onChange?: (params: {
|
|
9
|
+
sort: SortState;
|
|
10
|
+
filters: Record<string, unknown>;
|
|
11
|
+
pagination: {
|
|
12
|
+
current: number;
|
|
13
|
+
pageSize: number;
|
|
14
|
+
} | null;
|
|
15
|
+
}) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Row click handler
|
|
18
|
+
*/
|
|
19
|
+
onRowClick?: (record: T, index: number) => void;
|
|
20
|
+
/**
|
|
21
|
+
* Selection change handler
|
|
22
|
+
*/
|
|
23
|
+
onSelectionChange?: (selectedKeys: (string | number)[]) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Sort change handler
|
|
26
|
+
*/
|
|
27
|
+
onSortChange?: (sort: SortState) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Filter change handler
|
|
30
|
+
*/
|
|
31
|
+
onFilterChange?: (filters: Record<string, unknown>) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Page change handler
|
|
34
|
+
*/
|
|
35
|
+
onPageChange?: (page: {
|
|
36
|
+
current: number;
|
|
37
|
+
pageSize: number;
|
|
38
|
+
}) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Additional CSS classes
|
|
41
|
+
*/
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
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, rowKey, rowClassName, stickyHeader, maxHeight, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
45
|
+
|
|
46
|
+
export { Table, type TableProps };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { TableProps as TableProps$1, SortState } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TableProps<T = Record<string, unknown>> extends TableProps$1<T> {
|
|
5
|
+
/**
|
|
6
|
+
* Change event handler (for sort, filter, pagination changes)
|
|
7
|
+
*/
|
|
8
|
+
onChange?: (params: {
|
|
9
|
+
sort: SortState;
|
|
10
|
+
filters: Record<string, unknown>;
|
|
11
|
+
pagination: {
|
|
12
|
+
current: number;
|
|
13
|
+
pageSize: number;
|
|
14
|
+
} | null;
|
|
15
|
+
}) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Row click handler
|
|
18
|
+
*/
|
|
19
|
+
onRowClick?: (record: T, index: number) => void;
|
|
20
|
+
/**
|
|
21
|
+
* Selection change handler
|
|
22
|
+
*/
|
|
23
|
+
onSelectionChange?: (selectedKeys: (string | number)[]) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Sort change handler
|
|
26
|
+
*/
|
|
27
|
+
onSortChange?: (sort: SortState) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Filter change handler
|
|
30
|
+
*/
|
|
31
|
+
onFilterChange?: (filters: Record<string, unknown>) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Page change handler
|
|
34
|
+
*/
|
|
35
|
+
onPageChange?: (page: {
|
|
36
|
+
current: number;
|
|
37
|
+
pageSize: number;
|
|
38
|
+
}) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Additional CSS classes
|
|
41
|
+
*/
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
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, rowKey, rowClassName, stickyHeader, maxHeight, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
45
|
+
|
|
46
|
+
export { Table, type TableProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Table } from '../chunk-K7ZMB2TH.mjs';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabsProps as TabsProps$1, TabType, TabSize, TabPosition } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TabsContextValue {
|
|
5
|
+
activeKey: string | number | undefined;
|
|
6
|
+
type: TabType;
|
|
7
|
+
size: TabSize;
|
|
8
|
+
tabPosition: TabPosition;
|
|
9
|
+
closable: boolean;
|
|
10
|
+
destroyInactiveTabPane: boolean;
|
|
11
|
+
idBase: string;
|
|
12
|
+
handleTabClick: (key: string | number) => void;
|
|
13
|
+
handleTabClose: (key: string | number, event: React.SyntheticEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
declare function useTabsContext(): TabsContextValue | null;
|
|
16
|
+
interface TabsProps extends Omit<TabsProps$1, 'style'> {
|
|
17
|
+
/**
|
|
18
|
+
* Tab change event handler
|
|
19
|
+
*/
|
|
20
|
+
onChange?: (key: string | number) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Tab click event handler
|
|
23
|
+
*/
|
|
24
|
+
onTabClick?: (key: string | number) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Tab edit event handler (for closable tabs)
|
|
27
|
+
*/
|
|
28
|
+
onEdit?: (info: {
|
|
29
|
+
targetKey?: string | number;
|
|
30
|
+
action: 'add' | 'remove';
|
|
31
|
+
}) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Tab panes
|
|
34
|
+
*/
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Custom styles
|
|
38
|
+
*/
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
}
|
|
41
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
42
|
+
|
|
43
|
+
export { Tabs, type TabsContextValue, type TabsProps, useTabsContext };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabsProps as TabsProps$1, TabType, TabSize, TabPosition } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TabsContextValue {
|
|
5
|
+
activeKey: string | number | undefined;
|
|
6
|
+
type: TabType;
|
|
7
|
+
size: TabSize;
|
|
8
|
+
tabPosition: TabPosition;
|
|
9
|
+
closable: boolean;
|
|
10
|
+
destroyInactiveTabPane: boolean;
|
|
11
|
+
idBase: string;
|
|
12
|
+
handleTabClick: (key: string | number) => void;
|
|
13
|
+
handleTabClose: (key: string | number, event: React.SyntheticEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
declare function useTabsContext(): TabsContextValue | null;
|
|
16
|
+
interface TabsProps extends Omit<TabsProps$1, 'style'> {
|
|
17
|
+
/**
|
|
18
|
+
* Tab change event handler
|
|
19
|
+
*/
|
|
20
|
+
onChange?: (key: string | number) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Tab click event handler
|
|
23
|
+
*/
|
|
24
|
+
onTabClick?: (key: string | number) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Tab edit event handler (for closable tabs)
|
|
27
|
+
*/
|
|
28
|
+
onEdit?: (info: {
|
|
29
|
+
targetKey?: string | number;
|
|
30
|
+
action: 'add' | 'remove';
|
|
31
|
+
}) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Tab panes
|
|
34
|
+
*/
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Custom styles
|
|
38
|
+
*/
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
}
|
|
41
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
42
|
+
|
|
43
|
+
export { Tabs, type TabsContextValue, type TabsProps, useTabsContext };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkHDDBBZQH_js = require('../chunk-HDDBBZQH.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "Tabs", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkHDDBBZQH_js.Tabs; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "useTabsContext", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkHDDBBZQH_js.useTabsContext; }
|
|
14
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tabs, useTabsContext } from '../chunk-C52ZCGYG.mjs';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TagProps as TagProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type TagProps = TagProps$1 & Omit<React.HTMLAttributes<HTMLSpanElement>, keyof TagProps$1 | 'onClose'> & {
|
|
5
|
+
/**
|
|
6
|
+
* Close event handler
|
|
7
|
+
*/
|
|
8
|
+
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Tag content
|
|
11
|
+
*/
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
declare const Tag: React.FC<TagProps>;
|
|
15
|
+
|
|
16
|
+
export { Tag, type TagProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TagProps as TagProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type TagProps = TagProps$1 & Omit<React.HTMLAttributes<HTMLSpanElement>, keyof TagProps$1 | 'onClose'> & {
|
|
5
|
+
/**
|
|
6
|
+
* Close event handler
|
|
7
|
+
*/
|
|
8
|
+
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Tag content
|
|
11
|
+
*/
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
declare const Tag: React.FC<TagProps>;
|
|
15
|
+
|
|
16
|
+
export { Tag, type TagProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tag } from '../chunk-DIZNY6N4.mjs';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProps as TextProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type TextProps = TextProps$1 & Omit<React.HTMLAttributes<HTMLElement>, 'color' | 'children'> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const Text: React.FC<TextProps>;
|
|
8
|
+
|
|
9
|
+
export { Text, type TextProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProps as TextProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type TextProps = TextProps$1 & Omit<React.HTMLAttributes<HTMLElement>, 'color' | 'children'> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const Text: React.FC<TextProps>;
|
|
8
|
+
|
|
9
|
+
export { Text, type TextProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Text } from '../chunk-6YDIBMCM.mjs';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextareaProps as TextareaProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TextareaProps extends TextareaProps$1, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'value' | 'defaultValue' | 'onInput' | 'onChange' | 'onFocus' | 'onBlur' | 'readOnly'> {
|
|
5
|
+
onInput?: (event: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
6
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
7
|
+
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
12
|
+
|
|
13
|
+
export { Textarea, type TextareaProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextareaProps as TextareaProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TextareaProps extends TextareaProps$1, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'value' | 'defaultValue' | 'onInput' | 'onChange' | 'onFocus' | 'onBlur' | 'readOnly'> {
|
|
5
|
+
onInput?: (event: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
6
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
7
|
+
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
12
|
+
|
|
13
|
+
export { Textarea, type TextareaProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Textarea } from '../chunk-672SCJWZ.mjs';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TimePickerProps as TimePickerProps$1, TimePickerSingleValue, TimePickerRangeValue as TimePickerRangeValue$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type TimePickerRangeValue = TimePickerRangeValue$1;
|
|
5
|
+
type NativeDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>;
|
|
6
|
+
type BaseTimePickerProps = Omit<TimePickerProps$1, 'value' | 'defaultValue' | 'range'> & NativeDivProps & {
|
|
7
|
+
onClear?: () => void;
|
|
8
|
+
};
|
|
9
|
+
type TimePickerProps = (BaseTimePickerProps & {
|
|
10
|
+
range?: false;
|
|
11
|
+
value?: TimePickerSingleValue;
|
|
12
|
+
defaultValue?: TimePickerSingleValue;
|
|
13
|
+
/**
|
|
14
|
+
* Change event handler
|
|
15
|
+
*/
|
|
16
|
+
onChange?: (time: TimePickerSingleValue) => void;
|
|
17
|
+
}) | (BaseTimePickerProps & {
|
|
18
|
+
range: true;
|
|
19
|
+
value?: TimePickerRangeValue | null;
|
|
20
|
+
defaultValue?: TimePickerRangeValue | null;
|
|
21
|
+
/**
|
|
22
|
+
* Change event handler
|
|
23
|
+
*/
|
|
24
|
+
onChange?: (time: TimePickerRangeValue) => void;
|
|
25
|
+
});
|
|
26
|
+
declare const TimePicker: React.FC<TimePickerProps>;
|
|
27
|
+
|
|
28
|
+
export { TimePicker, type TimePickerProps, type TimePickerRangeValue };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TimePickerProps as TimePickerProps$1, TimePickerSingleValue, TimePickerRangeValue as TimePickerRangeValue$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
type TimePickerRangeValue = TimePickerRangeValue$1;
|
|
5
|
+
type NativeDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>;
|
|
6
|
+
type BaseTimePickerProps = Omit<TimePickerProps$1, 'value' | 'defaultValue' | 'range'> & NativeDivProps & {
|
|
7
|
+
onClear?: () => void;
|
|
8
|
+
};
|
|
9
|
+
type TimePickerProps = (BaseTimePickerProps & {
|
|
10
|
+
range?: false;
|
|
11
|
+
value?: TimePickerSingleValue;
|
|
12
|
+
defaultValue?: TimePickerSingleValue;
|
|
13
|
+
/**
|
|
14
|
+
* Change event handler
|
|
15
|
+
*/
|
|
16
|
+
onChange?: (time: TimePickerSingleValue) => void;
|
|
17
|
+
}) | (BaseTimePickerProps & {
|
|
18
|
+
range: true;
|
|
19
|
+
value?: TimePickerRangeValue | null;
|
|
20
|
+
defaultValue?: TimePickerRangeValue | null;
|
|
21
|
+
/**
|
|
22
|
+
* Change event handler
|
|
23
|
+
*/
|
|
24
|
+
onChange?: (time: TimePickerRangeValue) => void;
|
|
25
|
+
});
|
|
26
|
+
declare const TimePicker: React.FC<TimePickerProps>;
|
|
27
|
+
|
|
28
|
+
export { TimePicker, type TimePickerProps, type TimePickerRangeValue };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TimePicker } from '../chunk-CES6LGQ7.mjs';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TimelineItem, TimelineMode } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TimelineProps extends Omit<React.HTMLAttributes<HTMLUListElement>, 'children'> {
|
|
5
|
+
/**
|
|
6
|
+
* Timeline data source
|
|
7
|
+
*/
|
|
8
|
+
items?: TimelineItem[];
|
|
9
|
+
/**
|
|
10
|
+
* Timeline mode/direction
|
|
11
|
+
* @default 'left'
|
|
12
|
+
*/
|
|
13
|
+
mode?: TimelineMode;
|
|
14
|
+
/**
|
|
15
|
+
* Whether to show pending state
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
pending?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Pending item dot content
|
|
21
|
+
*/
|
|
22
|
+
pendingDot?: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Custom pending content
|
|
25
|
+
*/
|
|
26
|
+
pendingContent?: React.ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to reverse the timeline order
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
reverse?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Custom render function for timeline items
|
|
34
|
+
*/
|
|
35
|
+
renderItem?: (item: TimelineItem, index: number) => React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Custom render function for dot
|
|
38
|
+
*/
|
|
39
|
+
renderDot?: (item: TimelineItem) => React.ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Additional CSS classes
|
|
42
|
+
*/
|
|
43
|
+
className?: string;
|
|
44
|
+
}
|
|
45
|
+
declare const Timeline: React.FC<TimelineProps>;
|
|
46
|
+
|
|
47
|
+
export { Timeline, type TimelineProps };
|