@bioturing/components 0.15.0 → 0.15.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/dist/components/Badge/component.js +21 -0
- package/dist/components/Badge/component.js.map +1 -0
- package/dist/components/Badge/style.css +1 -0
- package/dist/components/Breadcrumb/component.js +46 -0
- package/dist/components/Breadcrumb/component.js.map +1 -0
- package/dist/components/Breadcrumb/style.css +1 -0
- package/dist/components/Breadcrumb/useItemRender.js +27 -0
- package/dist/components/Breadcrumb/useItemRender.js.map +1 -0
- package/dist/components/Button/component.js +9 -0
- package/dist/components/Button/component.js.map +1 -0
- package/dist/components/Button/style.css +1 -0
- package/dist/components/Checkbox/component.js +11 -0
- package/dist/components/Checkbox/component.js.map +1 -0
- package/dist/components/Checkbox/style.css +1 -0
- package/dist/components/CodeBlock/component.js +127 -0
- package/dist/components/CodeBlock/component.js.map +1 -0
- package/dist/components/CodeBlock/style.css +1 -0
- package/dist/components/DSRoot/component.js +21 -0
- package/dist/components/DSRoot/component.js.map +1 -0
- package/dist/components/DSRoot/context.js +9 -0
- package/dist/components/DSRoot/context.js.map +1 -0
- package/dist/components/DSRoot/style.css +1 -0
- package/dist/components/DropdownMenu/component.js +103 -0
- package/dist/components/DropdownMenu/component.js.map +1 -0
- package/dist/components/DropdownMenu/style.css +1 -0
- package/dist/components/Empty/component.js +48 -0
- package/dist/components/Empty/component.js.map +1 -0
- package/dist/components/Empty/style.css +1 -0
- package/dist/components/Field/component.js +30 -0
- package/dist/components/Field/component.js.map +1 -0
- package/dist/components/Field/style.css +1 -0
- package/dist/components/Form/component.js +23 -0
- package/dist/components/Form/component.js.map +1 -0
- package/dist/components/Form/item.js +30 -0
- package/dist/components/Form/item.js.map +1 -0
- package/dist/components/Form/style.css +1 -0
- package/dist/components/IconButton/component.js +49 -0
- package/dist/components/IconButton/component.js.map +1 -0
- package/dist/components/IconButton/style.css +1 -0
- package/dist/components/Input/component.js +25 -0
- package/dist/components/Input/component.js.map +1 -0
- package/dist/components/Modal/Modal.js +161 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/ModalProvider.js +70 -0
- package/dist/components/Modal/ModalProvider.js.map +1 -0
- package/dist/components/Modal/ModalService.js +25 -0
- package/dist/components/Modal/ModalService.js.map +1 -0
- package/dist/components/Modal/constants.js +5 -0
- package/dist/components/Modal/constants.js.map +1 -0
- package/dist/components/Modal/functions.js +27 -0
- package/dist/components/Modal/functions.js.map +1 -0
- package/dist/components/Modal/index.js +20 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Modal/style.css +1 -0
- package/dist/components/Popover/component.js +12 -0
- package/dist/components/Popover/component.js.map +1 -0
- package/dist/components/PopupPanel/component.js +190 -0
- package/dist/components/PopupPanel/component.js.map +1 -0
- package/dist/components/PopupPanel/constants.js +5 -0
- package/dist/components/PopupPanel/constants.js.map +1 -0
- package/dist/components/PopupPanel/style.css +1 -0
- package/dist/components/Radio/component.js +22 -0
- package/dist/components/Radio/component.js.map +1 -0
- package/dist/components/Radio/style.css +1 -0
- package/dist/components/ScrollArea/component.js +40 -0
- package/dist/components/ScrollArea/component.js.map +1 -0
- package/dist/components/ScrollArea/style.css +1 -0
- package/dist/components/Segmented/component.js +9 -0
- package/dist/components/Segmented/component.js.map +1 -0
- package/dist/components/Segmented/style.css +1 -0
- package/dist/components/Select/component.js +135 -0
- package/dist/components/Select/component.js.map +1 -0
- package/dist/components/Select/style.css +1 -0
- package/dist/components/Slider/component.js +23 -0
- package/dist/components/Slider/component.js.map +1 -0
- package/dist/components/Spin/component.js +12 -0
- package/dist/components/Spin/component.js.map +1 -0
- package/dist/components/Spin/style.css +1 -0
- package/dist/components/Splitter/component.js +40 -0
- package/dist/components/Splitter/component.js.map +1 -0
- package/dist/components/Splitter/style.css +1 -0
- package/dist/components/Stack/Stack.js +37 -0
- package/dist/components/Stack/Stack.js.map +1 -0
- package/dist/components/Stack/StackChild.js +57 -0
- package/dist/components/Stack/StackChild.js.map +1 -0
- package/dist/components/Stack/index.js +9 -0
- package/dist/components/Stack/index.js.map +1 -0
- package/dist/components/Stack/style.css +1 -0
- package/dist/components/Switch/component.js +9 -0
- package/dist/components/Switch/component.js.map +1 -0
- package/dist/components/Switch/style.css +1 -0
- package/dist/components/Table/component.js +68 -0
- package/dist/components/Table/component.js.map +1 -0
- package/dist/components/Table/style.css +1 -0
- package/dist/components/Tag/component.js +30 -0
- package/dist/components/Tag/component.js.map +1 -0
- package/dist/components/Tag/style.css +1 -0
- package/dist/components/ThemeProvider/component.js +41 -0
- package/dist/components/ThemeProvider/component.js.map +1 -0
- package/dist/components/ThemeProvider/style.css +1 -0
- package/dist/components/Toast/component.js +101 -0
- package/dist/components/Toast/component.js.map +1 -0
- package/dist/components/Toast/function.js +25 -0
- package/dist/components/Toast/function.js.map +1 -0
- package/dist/components/Toast/style.css +1 -0
- package/dist/components/Tooltip/component.js +26 -0
- package/dist/components/Tooltip/component.js.map +1 -0
- package/dist/components/Tooltip/style.css +1 -0
- package/dist/components/Tour/component.js +35 -0
- package/dist/components/Tour/component.js.map +1 -0
- package/dist/components/Tour/style.css +1 -0
- package/dist/components/Transition/component.js +44 -0
- package/dist/components/Transition/component.js.map +1 -0
- package/dist/components/Tree/components.js +67 -0
- package/dist/components/Tree/components.js.map +1 -0
- package/dist/components/Tree/helpers.js +53 -0
- package/dist/components/Tree/helpers.js.map +1 -0
- package/dist/components/Tree/useTreeCommon.js +86 -0
- package/dist/components/Tree/useTreeCommon.js.map +1 -0
- package/dist/components/Tree/useUniqueKeysTree.js +142 -0
- package/dist/components/Tree/useUniqueKeysTree.js.map +1 -0
- package/dist/components/Truncate/component.js +93 -0
- package/dist/components/Truncate/component.js.map +1 -0
- package/dist/components/Truncate/helpers.js +36 -0
- package/dist/components/Truncate/helpers.js.map +1 -0
- package/dist/components/Truncate/style.css +1 -0
- package/dist/components/Upload/component.js +39 -0
- package/dist/components/Upload/component.js.map +1 -0
- package/dist/components/Upload/dragger.js +23 -0
- package/dist/components/Upload/dragger.js.map +1 -0
- package/dist/components/Upload/hooks.js +18 -0
- package/dist/components/Upload/hooks.js.map +1 -0
- package/dist/components/Upload/item.js +84 -0
- package/dist/components/Upload/item.js.map +1 -0
- package/dist/components/Upload/utils.js +7 -0
- package/dist/components/Upload/utils.js.map +1 -0
- package/dist/components/VerticalCollapsiblePanel/component.js +125 -0
- package/dist/components/VerticalCollapsiblePanel/component.js.map +1 -0
- package/dist/components/VerticalCollapsiblePanel/style.css +1 -0
- package/dist/components/hooks/antd.js +22 -0
- package/dist/components/hooks/antd.js.map +1 -0
- package/dist/components/hooks/base-ui.js +47 -0
- package/dist/components/hooks/base-ui.js.map +1 -0
- package/dist/components/hooks/useCharts.js +28 -0
- package/dist/components/hooks/useCharts.js.map +1 -0
- package/dist/components/hooks/useControlledState.js +15 -0
- package/dist/components/hooks/useControlledState.js.map +1 -0
- package/dist/components/utils/WithAntdTokens.js +24 -0
- package/dist/components/utils/WithAntdTokens.js.map +1 -0
- package/dist/components/utils/antdUtils.js +58 -0
- package/dist/components/utils/antdUtils.js.map +1 -0
- package/dist/components/utils/cn.js +27 -0
- package/dist/components/utils/cn.js.map +1 -0
- package/dist/components/utils/isTracebackError.js +10 -0
- package/dist/components/utils/isTracebackError.js.map +1 -0
- package/dist/components/utils/reactToString.js +23 -0
- package/dist/components/utils/reactToString.js.map +1 -0
- package/dist/index.d.ts +2497 -3
- package/dist/index.js +188 -4004
- package/dist/index.js.map +1 -0
- package/dist/metadata.js +513 -0
- package/dist/metadata.js.map +1 -0
- package/dist/tailwind.css +1 -121
- package/dist/tailwind.d.ts +1 -0
- package/dist/tokens/and-theme/tokens.js +351 -0
- package/dist/tokens/and-theme/tokens.js.map +1 -0
- package/dist/tokens/charts/index.js +18 -0
- package/dist/tokens/charts/index.js.map +1 -0
- package/dist/tokens/charts/tokens.js +208 -0
- package/dist/tokens/charts/tokens.js.map +1 -0
- package/dist/tokens/utils.js +37 -0
- package/dist/tokens/utils.js.map +1 -0
- package/package.json +10 -108
- package/dist/Badge.css +0 -6
- package/dist/Badge.js +0 -41
- package/dist/Breadcrumb.css +0 -83
- package/dist/Breadcrumb.js +0 -92
- package/dist/Checkbox.css +0 -13
- package/dist/Checkbox.js +0 -12
- package/dist/CodeBlock.css +0 -213
- package/dist/CodeBlock.js +0 -644
- package/dist/Collapse.css +0 -21
- package/dist/Collapse.js +0 -49
- package/dist/DSRoot.css +0 -667
- package/dist/DSRoot.js +0 -1428
- package/dist/DropdownMenu.css +0 -95
- package/dist/DropdownMenu.js +0 -211
- package/dist/Empty.css +0 -19
- package/dist/Empty.js +0 -53
- package/dist/Field.css +0 -14
- package/dist/Field.js +0 -66
- package/dist/Form.css +0 -64
- package/dist/Form.js +0 -125
- package/dist/IconButton.css +0 -52
- package/dist/IconButton.js +0 -82
- package/dist/Input.js +0 -48
- package/dist/Modal.css +0 -317
- package/dist/Modal.js +0 -677
- package/dist/Popover.js +0 -10
- package/dist/PopupPanel.css +0 -170
- package/dist/PopupPanel.js +0 -333
- package/dist/Radio.css +0 -14
- package/dist/Radio.js +0 -24
- package/dist/ScrollArea.css +0 -64
- package/dist/ScrollArea.js +0 -50
- package/dist/Segmented.css +0 -16
- package/dist/Segmented.js +0 -10
- package/dist/Select.css +0 -24
- package/dist/Select.js +0 -157
- package/dist/Slider.js +0 -39
- package/dist/Spin.css +0 -36
- package/dist/Spin.js +0 -33
- package/dist/Splitter.css +0 -6
- package/dist/Splitter.js +0 -47
- package/dist/Switch.css +0 -7
- package/dist/Switch.js +0 -10
- package/dist/Table.css +0 -116
- package/dist/Table.js +0 -126
- package/dist/Tag.css +0 -17
- package/dist/Tag.js +0 -24
- package/dist/ThemeProvider.css +0 -39
- package/dist/ThemeProvider.js +0 -403
- package/dist/Toast.css +0 -622
- package/dist/Toast.js +0 -1401
- package/dist/Tooltip.css +0 -6
- package/dist/Tooltip.js +0 -36
- package/dist/Tour.css +0 -73
- package/dist/Tour.js +0 -54
- package/dist/Tree.js +0 -318
- package/dist/Truncate.css +0 -31
- package/dist/Truncate.js +0 -216
- package/dist/Upload.css +0 -144
- package/dist/Upload.js +0 -516
- package/dist/VerticalCollapsiblePanel.css +0 -193
- package/dist/VerticalCollapsiblePanel.js +0 -469
- package/dist/components/Badge/component.d.ts +0 -4
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Breadcrumb/component.d.ts +0 -6
- package/dist/components/Breadcrumb/index.d.ts +0 -2
- package/dist/components/Breadcrumb/types.d.ts +0 -18
- package/dist/components/Breadcrumb/useItemRender.d.ts +0 -6
- package/dist/components/Button/component.d.ts +0 -8
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Checkbox/component.d.ts +0 -11
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/CodeBlock/component.d.ts +0 -3
- package/dist/components/CodeBlock/index.d.ts +0 -2
- package/dist/components/CodeBlock/types.d.ts +0 -59
- package/dist/components/Collapse/component.d.ts +0 -14
- package/dist/components/Collapse/index.d.ts +0 -1
- package/dist/components/DSRoot/component.d.ts +0 -14
- package/dist/components/DSRoot/context.d.ts +0 -7
- package/dist/components/DSRoot/index.d.ts +0 -1
- package/dist/components/DropdownMenu/component.d.ts +0 -31
- package/dist/components/DropdownMenu/index.d.ts +0 -2
- package/dist/components/Empty/component.d.ts +0 -13
- package/dist/components/Empty/index.d.ts +0 -1
- package/dist/components/Field/component.d.ts +0 -42
- package/dist/components/Field/index.d.ts +0 -1
- package/dist/components/Form/component.d.ts +0 -19
- package/dist/components/Form/index.d.ts +0 -1
- package/dist/components/Form/item.d.ts +0 -5
- package/dist/components/IconButton/component.d.ts +0 -30
- package/dist/components/IconButton/index.d.ts +0 -1
- package/dist/components/Input/component.d.ts +0 -30
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Modal/Modal.d.ts +0 -84
- package/dist/components/Modal/ModalProvider.d.ts +0 -5
- package/dist/components/Modal/ModalService.d.ts +0 -33
- package/dist/components/Modal/constants.d.ts +0 -9
- package/dist/components/Modal/functions.d.ts +0 -27
- package/dist/components/Modal/index.d.ts +0 -15
- package/dist/components/Popover/component.d.ts +0 -9
- package/dist/components/Popover/index.d.ts +0 -1
- package/dist/components/PopupPanel/component.d.ts +0 -61
- package/dist/components/PopupPanel/constants.d.ts +0 -7
- package/dist/components/PopupPanel/index.d.ts +0 -1
- package/dist/components/Radio/component.d.ts +0 -8
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/interface.d.ts +0 -5
- package/dist/components/ScrollArea/component.d.ts +0 -32
- package/dist/components/ScrollArea/index.d.ts +0 -1
- package/dist/components/Segmented/component.d.ts +0 -10
- package/dist/components/Segmented/index.d.ts +0 -1
- package/dist/components/Select/component.d.ts +0 -24
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Slider/component.d.ts +0 -5
- package/dist/components/Slider/index.d.ts +0 -1
- package/dist/components/Spin/component.d.ts +0 -4
- package/dist/components/Spin/index.d.ts +0 -1
- package/dist/components/Splitter/component.d.ts +0 -13
- package/dist/components/Splitter/index.d.ts +0 -1
- package/dist/components/Stack/Stack.d.ts +0 -39
- package/dist/components/Stack/StackChild.d.ts +0 -30
- package/dist/components/Stack/index.d.ts +0 -8
- package/dist/components/Switch/component.d.ts +0 -9
- package/dist/components/Switch/index.d.ts +0 -1
- package/dist/components/Table/component.d.ts +0 -20
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Tag/component.d.ts +0 -12
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/ThemeProvider/component.d.ts +0 -7
- package/dist/components/ThemeProvider/index.d.ts +0 -1
- package/dist/components/Toast/component.d.ts +0 -15
- package/dist/components/Toast/function.d.ts +0 -10
- package/dist/components/Toast/index.d.ts +0 -3
- package/dist/components/Toast/types.d.ts +0 -3
- package/dist/components/Tooltip/component.d.ts +0 -10
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/Tour/component.d.ts +0 -8
- package/dist/components/Tour/index.d.ts +0 -1
- package/dist/components/Transition/component.d.ts +0 -17
- package/dist/components/Transition/index.d.ts +0 -1
- package/dist/components/Tree/components.d.ts +0 -13
- package/dist/components/Tree/helpers.d.ts +0 -4
- package/dist/components/Tree/index.d.ts +0 -4
- package/dist/components/Tree/types.d.ts +0 -55
- package/dist/components/Tree/useTreeCommon.d.ts +0 -178
- package/dist/components/Tree/useUniqueKeysTree.d.ts +0 -33
- package/dist/components/Truncate/component.d.ts +0 -15
- package/dist/components/Truncate/helpers.d.ts +0 -5
- package/dist/components/Truncate/index.d.ts +0 -1
- package/dist/components/Upload/component.d.ts +0 -16
- package/dist/components/Upload/dragger.d.ts +0 -13
- package/dist/components/Upload/hooks.d.ts +0 -5
- package/dist/components/Upload/index.d.ts +0 -4
- package/dist/components/Upload/item.d.ts +0 -11
- package/dist/components/Upload/utils.d.ts +0 -1
- package/dist/components/VerticalCollapsiblePanel/component.d.ts +0 -65
- package/dist/components/VerticalCollapsiblePanel/index.d.ts +0 -1
- package/dist/components/hooks/antd.d.ts +0 -11
- package/dist/components/hooks/base-ui.d.ts +0 -7
- package/dist/components/hooks/index.d.ts +0 -4
- package/dist/components/hooks/useCharts.d.ts +0 -22
- package/dist/components/hooks/useControlledState.d.ts +0 -1
- package/dist/components/index.d.ts +0 -41
- package/dist/components/utils/WithAntdTokens.d.ts +0 -7
- package/dist/components/utils/antdUtils.d.ts +0 -15
- package/dist/components/utils/client.d.ts +0 -2
- package/dist/components/utils/cn.d.ts +0 -4
- package/dist/components/utils/index.d.ts +0 -3
- package/dist/components/utils/isTracebackError.d.ts +0 -1
- package/dist/components/utils/main.d.ts +0 -3
- package/dist/components/utils/reactToString.d.ts +0 -2
- package/dist/components/utils/types.d.ts +0 -9
- package/dist/hooks.js +0 -961
- package/dist/index.css +0 -1471
- package/dist/metadata.d.ts +0 -363
- package/dist/tokens/and-theme/index.d.ts +0 -1
- package/dist/tokens/and-theme/tokens.d.ts +0 -5
- package/dist/tokens/charts/index.d.ts +0 -6
- package/dist/tokens/charts/tokens.d.ts +0 -455
- package/dist/tokens/index.d.ts +0 -2
- package/dist/tokens/utils.d.ts +0 -16
- package/dist/utils.js +0 -120
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,2497 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Affix } from 'antd';
|
|
2
|
+
import { AffixProps } from 'antd';
|
|
3
|
+
import { AffixRef } from 'antd';
|
|
4
|
+
import { Alert } from 'antd';
|
|
5
|
+
import { AlertProps } from 'antd';
|
|
6
|
+
import { AliasToken } from 'antd/es/theme/internal';
|
|
7
|
+
import { Anchor } from 'antd';
|
|
8
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
9
|
+
import { AnchorLinkProps } from 'antd';
|
|
10
|
+
import { AnchorProps } from 'antd';
|
|
11
|
+
import { App } from 'antd';
|
|
12
|
+
import { AppProps } from 'antd';
|
|
13
|
+
import { AutoComplete } from 'antd';
|
|
14
|
+
import { AutoCompleteProps } from 'antd';
|
|
15
|
+
import { Avatar } from 'antd';
|
|
16
|
+
import { AvatarProps } from 'antd';
|
|
17
|
+
import { BackTop } from 'antd';
|
|
18
|
+
import { BackTopProps } from 'antd';
|
|
19
|
+
import { BadgeProps as BadgeProps_2 } from 'antd/es/badge';
|
|
20
|
+
import { BasicDataNode } from 'antd/es/tree';
|
|
21
|
+
import { BreadcrumbItemProps as BreadcrumbItemProps_2 } from 'antd/es/breadcrumb';
|
|
22
|
+
import { BreadcrumbItemType as BreadcrumbItemType_2 } from 'antd/es/breadcrumb/Breadcrumb';
|
|
23
|
+
import { BreadcrumbProps as BreadcrumbProps_2 } from 'antd/es/breadcrumb';
|
|
24
|
+
import { BreadcrumbSeparatorType } from 'antd/es/breadcrumb/Breadcrumb';
|
|
25
|
+
import { Breakpoint } from 'antd';
|
|
26
|
+
import { ButtonProps as ButtonProps_2 } from 'antd/es/button';
|
|
27
|
+
import { Calendar } from 'antd';
|
|
28
|
+
import { CalendarMode } from 'antd';
|
|
29
|
+
import { CalendarProps } from 'antd';
|
|
30
|
+
import { Card } from 'antd';
|
|
31
|
+
import { CardProps } from 'antd';
|
|
32
|
+
import { Carousel } from 'antd';
|
|
33
|
+
import { CarouselProps } from 'antd';
|
|
34
|
+
import { Cascader } from 'antd';
|
|
35
|
+
import { CascaderAutoProps } from 'antd';
|
|
36
|
+
import { CascaderPanelAutoProps } from 'antd';
|
|
37
|
+
import { CascaderPanelProps } from 'antd';
|
|
38
|
+
import { CascaderProps } from 'antd';
|
|
39
|
+
import { CheckableTagProps } from 'antd/es/tag';
|
|
40
|
+
import { Checkbox as Checkbox_2 } from 'antd';
|
|
41
|
+
import { CheckboxChangeEvent } from 'antd';
|
|
42
|
+
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
43
|
+
import { CheckboxOptionType } from 'antd';
|
|
44
|
+
import { CheckboxProps as CheckboxProps_2 } from 'antd';
|
|
45
|
+
import { CheckboxRef } from 'antd';
|
|
46
|
+
import { Col } from 'antd';
|
|
47
|
+
import { Collapse } from 'antd';
|
|
48
|
+
import { CollapsePanelProps } from 'antd';
|
|
49
|
+
import { CollapseProps } from 'antd';
|
|
50
|
+
import { ColorPicker } from 'antd';
|
|
51
|
+
import { ColorPickerProps } from 'antd';
|
|
52
|
+
import { ColProps } from 'antd';
|
|
53
|
+
import { ComponentProps } from 'react';
|
|
54
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
55
|
+
import { ComponentPropsWithRef } from 'react';
|
|
56
|
+
import { ConfigProvider } from 'antd';
|
|
57
|
+
import { ConfigProviderProps } from 'antd';
|
|
58
|
+
import { ConfigProviderProps as ConfigProviderProps_2 } from 'antd/es/config-provider';
|
|
59
|
+
import { CountdownProps } from 'antd';
|
|
60
|
+
import { CSSProperties } from 'react';
|
|
61
|
+
import { DataNode } from 'antd/es/tree';
|
|
62
|
+
import { DatePicker } from 'antd';
|
|
63
|
+
import { DatePickerProps } from 'antd';
|
|
64
|
+
import { default as default_2 } from 'react';
|
|
65
|
+
import { default as default_3 } from 'antd/es/select';
|
|
66
|
+
import { default as default_4 } from 'antd/es/switch';
|
|
67
|
+
import { default as default_5 } from 'antd/es/segmented';
|
|
68
|
+
import { default as default_6 } from 'antd/es/table';
|
|
69
|
+
import { default as default_7 } from 'antd/es/tree';
|
|
70
|
+
import { default as default_8 } from 'antd/es/form/Form';
|
|
71
|
+
import { default as default_9 } from 'antd/es/form/hooks/useFormInstance';
|
|
72
|
+
import { Descriptions } from 'antd';
|
|
73
|
+
import { DescriptionsProps } from 'antd';
|
|
74
|
+
import { DirectoryTreeProps as DirectoryTreeProps_2 } from 'antd/es/tree';
|
|
75
|
+
import { Divider } from 'antd';
|
|
76
|
+
import { DividerProps } from 'antd';
|
|
77
|
+
import { DraggerProps as DraggerProps_2 } from 'antd/es/upload';
|
|
78
|
+
import { Drawer } from 'antd';
|
|
79
|
+
import { DrawerProps } from 'antd';
|
|
80
|
+
import { Dropdown } from 'antd';
|
|
81
|
+
import { DropDownProps } from 'antd';
|
|
82
|
+
import { DropdownProps } from 'antd';
|
|
83
|
+
import { ElementType } from 'react';
|
|
84
|
+
import { EmptyProps as EmptyProps_2 } from 'antd/es/empty';
|
|
85
|
+
import { ErrorListProps } from 'antd/es/form/ErrorList';
|
|
86
|
+
import { EventDataNode } from 'antd/es/tree';
|
|
87
|
+
import { FC } from 'react';
|
|
88
|
+
import { Flex } from 'antd';
|
|
89
|
+
import { FlexProps } from 'antd';
|
|
90
|
+
import { FloatButton } from 'antd';
|
|
91
|
+
import { FloatButtonGroupProps } from 'antd';
|
|
92
|
+
import { FloatButtonProps } from 'antd';
|
|
93
|
+
import { FloatButtonRef } from 'antd';
|
|
94
|
+
import { FormInstance } from 'antd';
|
|
95
|
+
import { FormItemProps as FormItemProps_2 } from 'antd/es/form/FormItem';
|
|
96
|
+
import { FormListFieldData } from 'antd';
|
|
97
|
+
import { FormListOperation } from 'antd';
|
|
98
|
+
import { FormListProps } from 'antd/es/form/FormList';
|
|
99
|
+
import { FormProps } from 'antd';
|
|
100
|
+
import { FormProviderProps } from 'antd/es/form/context';
|
|
101
|
+
import { ForwardedRef } from 'react';
|
|
102
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
103
|
+
import { GlobalToken } from 'antd';
|
|
104
|
+
import { GlobalToken as GlobalToken_2 } from 'antd/es/theme';
|
|
105
|
+
import { Grid } from 'antd';
|
|
106
|
+
import { HighlightProps } from 'prism-react-renderer';
|
|
107
|
+
import { HookAPI } from 'antd/es/modal/useModal';
|
|
108
|
+
import { InputNumber } from 'antd';
|
|
109
|
+
import { InputNumberProps } from 'antd';
|
|
110
|
+
import { InputProps as InputProps_2 } from 'antd';
|
|
111
|
+
import { InputRef } from 'antd';
|
|
112
|
+
import { JSX } from 'react/jsx-runtime';
|
|
113
|
+
import { JSX as JSX_2 } from 'react';
|
|
114
|
+
import { JSXElementConstructor } from 'react';
|
|
115
|
+
import { Key } from 'react';
|
|
116
|
+
import { Layout } from 'antd';
|
|
117
|
+
import { LayoutProps } from 'antd';
|
|
118
|
+
import { List } from 'antd';
|
|
119
|
+
import { ListProps } from 'antd';
|
|
120
|
+
import { MappingAlgorithm } from 'antd';
|
|
121
|
+
import { MentionProps } from 'antd';
|
|
122
|
+
import { Mentions } from 'antd';
|
|
123
|
+
import { MentionsProps } from 'antd';
|
|
124
|
+
import { Menu } from 'antd';
|
|
125
|
+
import { Menu as Menu_2 } from '@base-ui-components/react/menu';
|
|
126
|
+
import { MenuItemProps } from 'antd';
|
|
127
|
+
import { MenuProps } from 'antd';
|
|
128
|
+
import { MenuRef } from 'antd';
|
|
129
|
+
import { MenuTheme } from 'antd';
|
|
130
|
+
import { message } from 'antd';
|
|
131
|
+
import { MessageArgsProps } from 'antd';
|
|
132
|
+
import { MessageInstance } from 'antd/es/message/interface';
|
|
133
|
+
import { ModalFuncProps } from 'antd';
|
|
134
|
+
import { ModalProps as ModalProps_2 } from 'antd/es/modal';
|
|
135
|
+
import { notification } from 'antd';
|
|
136
|
+
import { NotificationArgsProps } from 'antd';
|
|
137
|
+
import { OptionFC } from 'rc-select/lib/Option';
|
|
138
|
+
import { OptionGroupFC } from 'rc-select/lib/OptGroup';
|
|
139
|
+
import { Pagination } from 'antd';
|
|
140
|
+
import { PaginationProps } from 'antd';
|
|
141
|
+
import { PanelProps } from 'antd/es/splitter/interface';
|
|
142
|
+
import { PasswordProps as PasswordProps_2 } from 'antd/es/input';
|
|
143
|
+
import { Popconfirm } from 'antd';
|
|
144
|
+
import { PopconfirmProps } from 'antd';
|
|
145
|
+
import { Popover as Popover_2 } from '@base-ui-components/react/popover';
|
|
146
|
+
import { PopoverProps as PopoverProps_2 } from 'antd/es/popover';
|
|
147
|
+
import { Progress } from 'antd';
|
|
148
|
+
import { ProgressProps } from 'antd';
|
|
149
|
+
import { QRCode } from 'antd';
|
|
150
|
+
import { QRCodeProps } from 'antd';
|
|
151
|
+
import { QRPropsCanvas } from 'antd';
|
|
152
|
+
import { QRPropsSvg } from 'antd';
|
|
153
|
+
import { RadioChangeEvent as RadioChangeEvent_2 } from 'antd/es/radio';
|
|
154
|
+
import { RadioGroupProps as RadioGroupProps_2 } from 'antd/es/radio';
|
|
155
|
+
import { RadioProps as RadioProps_2 } from 'antd/es/radio';
|
|
156
|
+
import { RadioRef as RadioRef_2 } from 'antd/es/radio';
|
|
157
|
+
import { Rate } from 'antd';
|
|
158
|
+
import { RateProps } from 'antd';
|
|
159
|
+
import { RcFile } from 'antd/es/upload';
|
|
160
|
+
import * as React_2 from 'react';
|
|
161
|
+
import { ReactElement } from 'react';
|
|
162
|
+
import { ReactNode } from 'react';
|
|
163
|
+
import { RefAttributes } from 'react';
|
|
164
|
+
import { RefObject } from 'react';
|
|
165
|
+
import { RefSelectProps } from 'antd';
|
|
166
|
+
import { RefSelectProps as RefSelectProps_2 } from 'antd/es/select';
|
|
167
|
+
import { Result } from 'antd';
|
|
168
|
+
import { ResultProps } from 'antd';
|
|
169
|
+
import { Row } from 'antd';
|
|
170
|
+
import { RowProps } from 'antd';
|
|
171
|
+
import { SearchProps as SearchProps_2 } from 'antd/es/input';
|
|
172
|
+
import { SeedToken } from 'antd/es/theme/internal';
|
|
173
|
+
import { SegmentedProps as SegmentedProps_2 } from 'antd/es/segmented';
|
|
174
|
+
import { BaseOptionType as SelectBaseOptionType } from 'antd/es/select';
|
|
175
|
+
import { DefaultOptionType as SelectDefaultOptionType } from 'antd/es/select';
|
|
176
|
+
import { SelectProps as SelectProps_2 } from 'antd/es/select';
|
|
177
|
+
import { SelectProps as SelectProps_3 } from 'antd';
|
|
178
|
+
import { SiderProps } from 'antd';
|
|
179
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
180
|
+
import { Skeleton } from 'antd';
|
|
181
|
+
import { SkeletonProps } from 'antd';
|
|
182
|
+
import { SliderRangeProps } from 'antd/es/slider';
|
|
183
|
+
import { SliderSingleProps } from 'antd';
|
|
184
|
+
import { SliderSingleProps as SliderSingleProps_2 } from 'antd/es/slider';
|
|
185
|
+
import { Space } from 'antd';
|
|
186
|
+
import { SpaceProps } from 'antd';
|
|
187
|
+
import { SpinProps as SpinProps_2 } from 'antd/es/spin';
|
|
188
|
+
import { SplitterProps as SplitterProps_2 } from 'antd/es/splitter/interface';
|
|
189
|
+
import { Statistic } from 'antd';
|
|
190
|
+
import { StatisticProps } from 'antd';
|
|
191
|
+
import { StepProps } from 'antd';
|
|
192
|
+
import { Steps } from 'antd';
|
|
193
|
+
import { StepsProps } from 'antd';
|
|
194
|
+
import { SubMenuProps } from 'antd';
|
|
195
|
+
import { SwitchProps as SwitchProps_2 } from 'antd/es/switch';
|
|
196
|
+
import { TableColumnGroupType } from 'antd';
|
|
197
|
+
import { TableColumnProps } from 'antd';
|
|
198
|
+
import { TableColumnsType } from 'antd';
|
|
199
|
+
import { TableColumnType } from 'antd';
|
|
200
|
+
import { TablePaginationConfig } from 'antd';
|
|
201
|
+
import { TableProps } from 'antd';
|
|
202
|
+
import { TableProps as TableProps_3 } from 'antd/es/table';
|
|
203
|
+
import { TabPaneProps } from 'antd';
|
|
204
|
+
import { Tabs } from 'antd';
|
|
205
|
+
import { TabsProps } from 'antd';
|
|
206
|
+
import { TagProps } from 'antd';
|
|
207
|
+
import { TagProps as TagProps_3 } from 'antd/es/tag';
|
|
208
|
+
import { TagType } from 'antd';
|
|
209
|
+
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
210
|
+
import { Theme } from '@ant-design/cssinjs';
|
|
211
|
+
import { theme } from 'antd';
|
|
212
|
+
import { ThemeConfig } from 'antd';
|
|
213
|
+
import { Timeline } from 'antd';
|
|
214
|
+
import { TimelineItemProps } from 'antd';
|
|
215
|
+
import { TimelineProps } from 'antd';
|
|
216
|
+
import { TimePicker } from 'antd';
|
|
217
|
+
import { TimePickerProps } from 'antd';
|
|
218
|
+
import { TimeRangePickerProps } from 'antd';
|
|
219
|
+
import { Toast as Toast_2 } from '@base-ui-components/react';
|
|
220
|
+
import { Tooltip as Tooltip_2 } from 'antd';
|
|
221
|
+
import { TooltipProps as TooltipProps_2 } from 'antd/es/tooltip';
|
|
222
|
+
import { TourProps as TourProps_2 } from 'antd/es/tour/interface';
|
|
223
|
+
import { TourStepProps as TourStepProps_2 } from 'antd/es/tour/interface';
|
|
224
|
+
import { Transfer } from 'antd';
|
|
225
|
+
import { TransferProps } from 'antd';
|
|
226
|
+
import { TreeNodeProps } from 'rc-tree';
|
|
227
|
+
import { TreeProps as TreeProps_2 } from 'antd/es/tree';
|
|
228
|
+
import { TreeSelect } from 'antd';
|
|
229
|
+
import { TreeSelectProps } from 'antd';
|
|
230
|
+
import { Typography } from 'antd';
|
|
231
|
+
import { TypographyProps } from 'antd';
|
|
232
|
+
import { unstableSetRender } from 'antd';
|
|
233
|
+
import { UploadChangeParam } from 'antd/es/upload';
|
|
234
|
+
import { UploadFile } from 'antd';
|
|
235
|
+
import { UploadProps as UploadProps_2 } from 'antd/es/upload';
|
|
236
|
+
import { default as useApp } from 'antd/es/app/useApp';
|
|
237
|
+
import { useForm } from 'antd/es/form/Form';
|
|
238
|
+
import { useLayoutEffect } from 'react';
|
|
239
|
+
import { useRender } from '@base-ui-components/react/use-render';
|
|
240
|
+
import { useWatch } from 'antd/es/form/Form';
|
|
241
|
+
import { version } from 'antd';
|
|
242
|
+
import { Watermark } from 'antd';
|
|
243
|
+
import { WatermarkProps } from 'antd';
|
|
244
|
+
|
|
245
|
+
export { Affix }
|
|
246
|
+
|
|
247
|
+
export { AffixProps }
|
|
248
|
+
|
|
249
|
+
export { AffixRef }
|
|
250
|
+
|
|
251
|
+
export { Alert }
|
|
252
|
+
|
|
253
|
+
export { AlertProps }
|
|
254
|
+
|
|
255
|
+
export { Anchor }
|
|
256
|
+
|
|
257
|
+
export { AnchorLinkProps }
|
|
258
|
+
|
|
259
|
+
export { AnchorProps }
|
|
260
|
+
|
|
261
|
+
declare type AnchorSpecificProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel" | "download" | "hrefLang" | "referrerPolicy">;
|
|
262
|
+
|
|
263
|
+
export declare const antdColorTokens: ColorTokens;
|
|
264
|
+
|
|
265
|
+
declare type AnyFunction = (...args: any[]) => any;
|
|
266
|
+
|
|
267
|
+
declare type AnyObject = Record<PropertyKey, any>;
|
|
268
|
+
|
|
269
|
+
export { App }
|
|
270
|
+
|
|
271
|
+
export { AppProps }
|
|
272
|
+
|
|
273
|
+
export { AutoComplete }
|
|
274
|
+
|
|
275
|
+
export { AutoCompleteProps }
|
|
276
|
+
|
|
277
|
+
export { Avatar }
|
|
278
|
+
|
|
279
|
+
export { AvatarProps }
|
|
280
|
+
|
|
281
|
+
export { BackTop }
|
|
282
|
+
|
|
283
|
+
export { BackTopProps }
|
|
284
|
+
|
|
285
|
+
export declare const Badge: ({ count, showZero, ...rest }: BadgeProps) => JSX.Element;
|
|
286
|
+
|
|
287
|
+
export declare type BadgeProps = BadgeProps_2;
|
|
288
|
+
|
|
289
|
+
declare type BaseBreadcrumbItemType = BreadcrumbItemType_2 & {
|
|
290
|
+
icon?: React.ReactNode;
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
declare interface BaseFieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
294
|
+
label?: React.ReactNode;
|
|
295
|
+
/**
|
|
296
|
+
* Block or inline display
|
|
297
|
+
* @default false
|
|
298
|
+
*/
|
|
299
|
+
block?: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Size of the field
|
|
302
|
+
* @default "small"
|
|
303
|
+
*/
|
|
304
|
+
size?: SizeType;
|
|
305
|
+
/**
|
|
306
|
+
* Colon after label
|
|
307
|
+
* @default true
|
|
308
|
+
*/
|
|
309
|
+
colon?: boolean;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export declare const Breadcrumb: (({ className, items, noWrap, itemRender: outsideItemRender, ...rest }: BreadcrumbProps) => JSX.Element) & {
|
|
313
|
+
Item: (props: BreadcrumbItemProps) => JSX.Element;
|
|
314
|
+
Separator: (props: React.HTMLAttributes<HTMLSpanElement>) => JSX.Element;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
export declare interface BreadcrumbItemProps extends BreadcrumbItemProps_2 {
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export declare type BreadcrumbItemType = Partial<BaseBreadcrumbItemType & BreadcrumbSeparatorType>;
|
|
321
|
+
|
|
322
|
+
export declare interface BreadcrumbProps<T extends AnyObject = AnyObject> extends Omit<BreadcrumbProps_2<T>, "items" | "itemRender"> {
|
|
323
|
+
/**
|
|
324
|
+
* No wrap
|
|
325
|
+
*/
|
|
326
|
+
noWrap?: boolean;
|
|
327
|
+
items: BreadcrumbItemType[];
|
|
328
|
+
itemRender?: (route: BreadcrumbItemType, params: T, routes: BreadcrumbItemType[], paths: string[]) => React.ReactNode;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export declare const Button: (props: ButtonProps & {
|
|
332
|
+
ref?: React.ForwardedRef<HTMLButtonElement | HTMLAnchorElement>;
|
|
333
|
+
}) => ReturnType<typeof ButtonInner>;
|
|
334
|
+
|
|
335
|
+
declare const ButtonInner: ({ style, ...rest }: ButtonProps, ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>) => JSX.Element;
|
|
336
|
+
|
|
337
|
+
export declare type ButtonProps = ButtonProps_2;
|
|
338
|
+
|
|
339
|
+
export { Calendar }
|
|
340
|
+
|
|
341
|
+
export { CalendarMode }
|
|
342
|
+
|
|
343
|
+
export { CalendarProps }
|
|
344
|
+
|
|
345
|
+
export { Card }
|
|
346
|
+
|
|
347
|
+
export { CardProps }
|
|
348
|
+
|
|
349
|
+
export { Carousel }
|
|
350
|
+
|
|
351
|
+
export { CarouselProps }
|
|
352
|
+
|
|
353
|
+
export { Cascader }
|
|
354
|
+
|
|
355
|
+
export { CascaderAutoProps }
|
|
356
|
+
|
|
357
|
+
export { CascaderPanelAutoProps }
|
|
358
|
+
|
|
359
|
+
export { CascaderPanelProps }
|
|
360
|
+
|
|
361
|
+
export { CascaderProps }
|
|
362
|
+
|
|
363
|
+
export declare const categoricalChartColorKeys: Array<keyof typeof chartColorTokens>;
|
|
364
|
+
|
|
365
|
+
export declare const categoricalChartColorTokens: Record<"colorChartsRed300" | "colorChartsRed400" | "colorChartsRed500" | "colorChartsRed600" | "colorChartsRed700" | "colorChartsRed800" | "colorChartsRed900" | "colorChartsRed1000" | "colorChartsRed1100" | "colorChartsRed1200" | "colorChartsOrange300" | "colorChartsOrange400" | "colorChartsOrange500" | "colorChartsOrange600" | "colorChartsOrange700" | "colorChartsOrange800" | "colorChartsOrange900" | "colorChartsOrange1000" | "colorChartsOrange1100" | "colorChartsOrange1200" | "colorChartsYellow300" | "colorChartsYellow400" | "colorChartsYellow500" | "colorChartsYellow600" | "colorChartsYellow700" | "colorChartsYellow800" | "colorChartsYellow900" | "colorChartsYellow1000" | "colorChartsYellow1100" | "colorChartsYellow1200" | "colorChartsGreen300" | "colorChartsGreen400" | "colorChartsGreen500" | "colorChartsGreen600" | "colorChartsGreen700" | "colorChartsGreen800" | "colorChartsGreen900" | "colorChartsGreen1000" | "colorChartsGreen1100" | "colorChartsGreen1200" | "colorChartsTeal300" | "colorChartsTeal400" | "colorChartsTeal500" | "colorChartsTeal600" | "colorChartsTeal700" | "colorChartsTeal800" | "colorChartsTeal900" | "colorChartsTeal1000" | "colorChartsTeal1100" | "colorChartsTeal1200" | "colorChartsBlue1300" | "colorChartsBlue1400" | "colorChartsBlue1500" | "colorChartsBlue1600" | "colorChartsBlue1700" | "colorChartsBlue1800" | "colorChartsBlue1900" | "colorChartsBlue11000" | "colorChartsBlue11100" | "colorChartsBlue11200" | "colorChartsBlue2300" | "colorChartsBlue2400" | "colorChartsBlue2500" | "colorChartsBlue2600" | "colorChartsBlue2700" | "colorChartsBlue2800" | "colorChartsBlue2900" | "colorChartsBlue21000" | "colorChartsBlue21100" | "colorChartsBlue21200" | "colorChartsPurple300" | "colorChartsPurple400" | "colorChartsPurple500" | "colorChartsPurple600" | "colorChartsPurple700" | "colorChartsPurple800" | "colorChartsPurple900" | "colorChartsPurple1000" | "colorChartsPurple1100" | "colorChartsPurple1200" | "colorChartsPink300" | "colorChartsPink400" | "colorChartsPink500" | "colorChartsPink600" | "colorChartsPink700" | "colorChartsPink800" | "colorChartsPink900" | "colorChartsPink1000" | "colorChartsPink1100" | "colorChartsPink1200" | "colorChartsStatusCritical" | "colorChartsStatusHigh" | "colorChartsStatusMedium" | "colorChartsStatusLow" | "colorChartsStatusPositive" | "colorChartsStatusInfo" | "colorChartsStatusNeutral" | "colorChartsThresholdNegative" | "colorChartsThresholdPositive" | "colorChartsThresholdInfo" | "colorChartsThresholdNeutral" | "colorChartsLineGrid" | "colorChartsLineTick" | "colorChartsLineAxis" | "colorChartsLabelAxis" | "colorChartsPaletteCategorical1" | "colorChartsPaletteCategorical2" | "colorChartsPaletteCategorical3" | "colorChartsPaletteCategorical4" | "colorChartsPaletteCategorical5" | "colorChartsPaletteCategorical6" | "colorChartsPaletteCategorical7" | "colorChartsPaletteCategorical8" | "colorChartsPaletteCategorical9" | "colorChartsPaletteCategorical10" | "colorChartsPaletteCategorical11" | "colorChartsPaletteCategorical12" | "colorChartsPaletteCategorical13" | "colorChartsPaletteCategorical14" | "colorChartsPaletteCategorical15" | "colorChartsPaletteCategorical16" | "colorChartsPaletteCategorical17" | "colorChartsPaletteCategorical18" | "colorChartsPaletteCategorical19" | "colorChartsPaletteCategorical20" | "colorChartsPaletteCategorical21" | "colorChartsPaletteCategorical22" | "colorChartsPaletteCategorical23" | "colorChartsPaletteCategorical24" | "colorChartsPaletteCategorical25" | "colorChartsPaletteCategorical26" | "colorChartsPaletteCategorical27" | "colorChartsPaletteCategorical28" | "colorChartsPaletteCategorical29" | "colorChartsPaletteCategorical30" | "colorChartsPaletteCategorical31" | "colorChartsPaletteCategorical32" | "colorChartsPaletteCategorical33" | "colorChartsPaletteCategorical34" | "colorChartsPaletteCategorical35" | "colorChartsPaletteCategorical36" | "colorChartsPaletteCategorical37" | "colorChartsPaletteCategorical38" | "colorChartsPaletteCategorical39" | "colorChartsPaletteCategorical40" | "colorChartsPaletteCategorical41" | "colorChartsPaletteCategorical42" | "colorChartsPaletteCategorical43" | "colorChartsPaletteCategorical44" | "colorChartsPaletteCategorical45" | "colorChartsPaletteCategorical46" | "colorChartsPaletteCategorical47" | "colorChartsPaletteCategorical48" | "colorChartsPaletteCategorical49" | "colorChartsPaletteCategorical50", ColorTokenValue>;
|
|
366
|
+
|
|
367
|
+
export declare const categoricalChartsColors: ColorTokenValue[];
|
|
368
|
+
|
|
369
|
+
export declare const chartColorTokens: Record<"colorChartsRed300" | "colorChartsRed400" | "colorChartsRed500" | "colorChartsRed600" | "colorChartsRed700" | "colorChartsRed800" | "colorChartsRed900" | "colorChartsRed1000" | "colorChartsRed1100" | "colorChartsRed1200" | "colorChartsOrange300" | "colorChartsOrange400" | "colorChartsOrange500" | "colorChartsOrange600" | "colorChartsOrange700" | "colorChartsOrange800" | "colorChartsOrange900" | "colorChartsOrange1000" | "colorChartsOrange1100" | "colorChartsOrange1200" | "colorChartsYellow300" | "colorChartsYellow400" | "colorChartsYellow500" | "colorChartsYellow600" | "colorChartsYellow700" | "colorChartsYellow800" | "colorChartsYellow900" | "colorChartsYellow1000" | "colorChartsYellow1100" | "colorChartsYellow1200" | "colorChartsGreen300" | "colorChartsGreen400" | "colorChartsGreen500" | "colorChartsGreen600" | "colorChartsGreen700" | "colorChartsGreen800" | "colorChartsGreen900" | "colorChartsGreen1000" | "colorChartsGreen1100" | "colorChartsGreen1200" | "colorChartsTeal300" | "colorChartsTeal400" | "colorChartsTeal500" | "colorChartsTeal600" | "colorChartsTeal700" | "colorChartsTeal800" | "colorChartsTeal900" | "colorChartsTeal1000" | "colorChartsTeal1100" | "colorChartsTeal1200" | "colorChartsBlue1300" | "colorChartsBlue1400" | "colorChartsBlue1500" | "colorChartsBlue1600" | "colorChartsBlue1700" | "colorChartsBlue1800" | "colorChartsBlue1900" | "colorChartsBlue11000" | "colorChartsBlue11100" | "colorChartsBlue11200" | "colorChartsBlue2300" | "colorChartsBlue2400" | "colorChartsBlue2500" | "colorChartsBlue2600" | "colorChartsBlue2700" | "colorChartsBlue2800" | "colorChartsBlue2900" | "colorChartsBlue21000" | "colorChartsBlue21100" | "colorChartsBlue21200" | "colorChartsPurple300" | "colorChartsPurple400" | "colorChartsPurple500" | "colorChartsPurple600" | "colorChartsPurple700" | "colorChartsPurple800" | "colorChartsPurple900" | "colorChartsPurple1000" | "colorChartsPurple1100" | "colorChartsPurple1200" | "colorChartsPink300" | "colorChartsPink400" | "colorChartsPink500" | "colorChartsPink600" | "colorChartsPink700" | "colorChartsPink800" | "colorChartsPink900" | "colorChartsPink1000" | "colorChartsPink1100" | "colorChartsPink1200" | "colorChartsStatusCritical" | "colorChartsStatusHigh" | "colorChartsStatusMedium" | "colorChartsStatusLow" | "colorChartsStatusPositive" | "colorChartsStatusInfo" | "colorChartsStatusNeutral" | "colorChartsThresholdNegative" | "colorChartsThresholdPositive" | "colorChartsThresholdInfo" | "colorChartsThresholdNeutral" | "colorChartsLineGrid" | "colorChartsLineTick" | "colorChartsLineAxis" | "colorChartsLabelAxis" | "colorChartsPaletteCategorical1" | "colorChartsPaletteCategorical2" | "colorChartsPaletteCategorical3" | "colorChartsPaletteCategorical4" | "colorChartsPaletteCategorical5" | "colorChartsPaletteCategorical6" | "colorChartsPaletteCategorical7" | "colorChartsPaletteCategorical8" | "colorChartsPaletteCategorical9" | "colorChartsPaletteCategorical10" | "colorChartsPaletteCategorical11" | "colorChartsPaletteCategorical12" | "colorChartsPaletteCategorical13" | "colorChartsPaletteCategorical14" | "colorChartsPaletteCategorical15" | "colorChartsPaletteCategorical16" | "colorChartsPaletteCategorical17" | "colorChartsPaletteCategorical18" | "colorChartsPaletteCategorical19" | "colorChartsPaletteCategorical20" | "colorChartsPaletteCategorical21" | "colorChartsPaletteCategorical22" | "colorChartsPaletteCategorical23" | "colorChartsPaletteCategorical24" | "colorChartsPaletteCategorical25" | "colorChartsPaletteCategorical26" | "colorChartsPaletteCategorical27" | "colorChartsPaletteCategorical28" | "colorChartsPaletteCategorical29" | "colorChartsPaletteCategorical30" | "colorChartsPaletteCategorical31" | "colorChartsPaletteCategorical32" | "colorChartsPaletteCategorical33" | "colorChartsPaletteCategorical34" | "colorChartsPaletteCategorical35" | "colorChartsPaletteCategorical36" | "colorChartsPaletteCategorical37" | "colorChartsPaletteCategorical38" | "colorChartsPaletteCategorical39" | "colorChartsPaletteCategorical40" | "colorChartsPaletteCategorical41" | "colorChartsPaletteCategorical42" | "colorChartsPaletteCategorical43" | "colorChartsPaletteCategorical44" | "colorChartsPaletteCategorical45" | "colorChartsPaletteCategorical46" | "colorChartsPaletteCategorical47" | "colorChartsPaletteCategorical48" | "colorChartsPaletteCategorical49" | "colorChartsPaletteCategorical50", ColorTokenValue>;
|
|
370
|
+
|
|
371
|
+
export declare const Checkbox: ((props: CheckboxProps & {
|
|
372
|
+
ref?: React.ForwardedRef<React.ComponentRef<typeof Checkbox_2>>;
|
|
373
|
+
}) => ReturnType<typeof MainCheckboxInner>) & {
|
|
374
|
+
Group: <T = any>(props: CheckboxGroupProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
export { CheckboxChangeEvent }
|
|
378
|
+
|
|
379
|
+
export { CheckboxOptionType }
|
|
380
|
+
|
|
381
|
+
export declare interface CheckboxProps extends CheckboxProps_2 {
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export { CheckboxRef }
|
|
385
|
+
|
|
386
|
+
export declare interface CheckInfo<TreeDataType extends BasicDataNode = TreeDataNode> {
|
|
387
|
+
event: "check";
|
|
388
|
+
node: EventDataNode<TreeDataType>;
|
|
389
|
+
checked: boolean;
|
|
390
|
+
nativeEvent: MouseEvent;
|
|
391
|
+
checkedNodes: TreeDataType[];
|
|
392
|
+
checkedNodesPositions?: {
|
|
393
|
+
node: TreeDataType;
|
|
394
|
+
pos: string;
|
|
395
|
+
}[];
|
|
396
|
+
halfCheckedKeys?: Key[];
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export declare interface ClassArray extends Array<ClassValue> {
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export declare interface ClassDictionary {
|
|
403
|
+
[id: string]: boolean | undefined | null;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export declare type ClassValue = string | number | boolean | null | undefined | ClassDictionary | ClassArray;
|
|
407
|
+
|
|
408
|
+
export declare function clsx(...args: ClassValue[]): string;
|
|
409
|
+
|
|
410
|
+
export declare function cn(...args: ClassValue[]): string;
|
|
411
|
+
|
|
412
|
+
export declare const CodeBlock: ({ code, children, lang: defaultLang, className, options, activeOption: controlledActiveOption, defaultActiveOption, onActiveOptionChange, copyText, copySuccessText, classNames, maxHeight, ...rest }: CodeBlockProps) => JSX.Element;
|
|
413
|
+
|
|
414
|
+
export declare interface CodeBlockProps extends React.ComponentPropsWithRef<"div"> {
|
|
415
|
+
/**
|
|
416
|
+
* The code to be highlighted
|
|
417
|
+
*/
|
|
418
|
+
code?: string;
|
|
419
|
+
/**
|
|
420
|
+
* The language of the code
|
|
421
|
+
* @default "tsx"
|
|
422
|
+
*/
|
|
423
|
+
lang?: string;
|
|
424
|
+
/**
|
|
425
|
+
* Additional class name for the component
|
|
426
|
+
*/
|
|
427
|
+
className?: string;
|
|
428
|
+
/**
|
|
429
|
+
* Options for the code block
|
|
430
|
+
* @default []
|
|
431
|
+
*/
|
|
432
|
+
options?: CodeOption[];
|
|
433
|
+
/**
|
|
434
|
+
* The active option when the component is controlled
|
|
435
|
+
*/
|
|
436
|
+
activeOption?: number;
|
|
437
|
+
/**
|
|
438
|
+
* The default active option when the component is uncontrolled
|
|
439
|
+
* @default 0
|
|
440
|
+
*/
|
|
441
|
+
defaultActiveOption?: number;
|
|
442
|
+
/**
|
|
443
|
+
* Callback function when the active option changes
|
|
444
|
+
*/
|
|
445
|
+
onActiveOptionChange?: (option: number) => void;
|
|
446
|
+
/**
|
|
447
|
+
* Copy text label
|
|
448
|
+
*/
|
|
449
|
+
copyText?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Copy success text label
|
|
452
|
+
*/
|
|
453
|
+
copySuccessText?: string;
|
|
454
|
+
/**
|
|
455
|
+
* Custom class names for each part of the code block
|
|
456
|
+
*/
|
|
457
|
+
classNames?: {
|
|
458
|
+
root?: string;
|
|
459
|
+
content?: string;
|
|
460
|
+
header?: string;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Maximum height of the code block
|
|
464
|
+
*/
|
|
465
|
+
maxHeight?: string | number;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export declare interface CodeOption {
|
|
469
|
+
label: string;
|
|
470
|
+
code: string;
|
|
471
|
+
lang?: HighlightProps["language"];
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export { Col }
|
|
475
|
+
|
|
476
|
+
export { Collapse }
|
|
477
|
+
|
|
478
|
+
export { CollapsePanelProps }
|
|
479
|
+
|
|
480
|
+
export { CollapseProps }
|
|
481
|
+
|
|
482
|
+
export { ColorPicker }
|
|
483
|
+
|
|
484
|
+
export { ColorPickerProps }
|
|
485
|
+
|
|
486
|
+
declare type ColorTokens = {
|
|
487
|
+
[key: string]: RawColorTokenValue;
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
declare type ColorTokenValue = {
|
|
491
|
+
light: string;
|
|
492
|
+
dark: string;
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
export { ColProps }
|
|
496
|
+
|
|
497
|
+
export declare type ComponentCategory = "Actions" | "General" | "Layout" | "Navigation" | "Data Entry" | "Data Display" | "Feedback" | "Overlay" | "Utility";
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Component metadata for the BioTuring Design System
|
|
501
|
+
* This file provides information about all components including:
|
|
502
|
+
* - name: Component name
|
|
503
|
+
* - link: Documentation link
|
|
504
|
+
* - base: What the component is based on (antd, base-ui, or custom)
|
|
505
|
+
* - refinements: Whether the component has been refined beyond its base
|
|
506
|
+
* - category: Component category for organization
|
|
507
|
+
* - packages: Additional packages used by the component
|
|
508
|
+
*/
|
|
509
|
+
export declare type ComponentMetadata = {
|
|
510
|
+
name: string;
|
|
511
|
+
link: string;
|
|
512
|
+
base: "antd" | "base-ui" | "custom";
|
|
513
|
+
refinements: string[];
|
|
514
|
+
category: ComponentCategory;
|
|
515
|
+
packages?: string[];
|
|
516
|
+
originalDocUrl?: string;
|
|
517
|
+
description?: string;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
export declare const componentMetadata: {
|
|
521
|
+
Badge: {
|
|
522
|
+
name: string;
|
|
523
|
+
link: string;
|
|
524
|
+
base: "antd";
|
|
525
|
+
refinements: string[];
|
|
526
|
+
category: "Data Display";
|
|
527
|
+
originalDocUrl: string;
|
|
528
|
+
description: string;
|
|
529
|
+
};
|
|
530
|
+
Breadcrumb: {
|
|
531
|
+
name: string;
|
|
532
|
+
link: string;
|
|
533
|
+
base: "antd";
|
|
534
|
+
refinements: string[];
|
|
535
|
+
category: "Navigation";
|
|
536
|
+
originalDocUrl: string;
|
|
537
|
+
description: string;
|
|
538
|
+
};
|
|
539
|
+
Button: {
|
|
540
|
+
name: string;
|
|
541
|
+
link: string;
|
|
542
|
+
base: "antd";
|
|
543
|
+
refinements: any[];
|
|
544
|
+
category: "Actions";
|
|
545
|
+
originalDocUrl: string;
|
|
546
|
+
description: string;
|
|
547
|
+
};
|
|
548
|
+
Checkbox: {
|
|
549
|
+
name: string;
|
|
550
|
+
link: string;
|
|
551
|
+
base: "antd";
|
|
552
|
+
refinements: any[];
|
|
553
|
+
category: "Data Entry";
|
|
554
|
+
originalDocUrl: string;
|
|
555
|
+
description: string;
|
|
556
|
+
};
|
|
557
|
+
CodeBlock: {
|
|
558
|
+
name: string;
|
|
559
|
+
link: string;
|
|
560
|
+
base: "custom";
|
|
561
|
+
refinements: string[];
|
|
562
|
+
category: "Data Display";
|
|
563
|
+
packages: string[];
|
|
564
|
+
description: string;
|
|
565
|
+
};
|
|
566
|
+
Collapse: {
|
|
567
|
+
name: string;
|
|
568
|
+
link: string;
|
|
569
|
+
base: "antd";
|
|
570
|
+
refinements: any[];
|
|
571
|
+
category: "Data Display";
|
|
572
|
+
originalDocUrl: string;
|
|
573
|
+
description: string;
|
|
574
|
+
};
|
|
575
|
+
DropdownMenu: {
|
|
576
|
+
name: string;
|
|
577
|
+
link: string;
|
|
578
|
+
base: "base-ui";
|
|
579
|
+
refinements: string[];
|
|
580
|
+
category: "Navigation";
|
|
581
|
+
packages: string[];
|
|
582
|
+
originalDocUrl: string;
|
|
583
|
+
description: string;
|
|
584
|
+
};
|
|
585
|
+
Empty: {
|
|
586
|
+
name: string;
|
|
587
|
+
link: string;
|
|
588
|
+
base: "antd";
|
|
589
|
+
refinements: string[];
|
|
590
|
+
category: "Data Display";
|
|
591
|
+
originalDocUrl: string;
|
|
592
|
+
description: string;
|
|
593
|
+
};
|
|
594
|
+
Field: {
|
|
595
|
+
name: string;
|
|
596
|
+
link: string;
|
|
597
|
+
base: "custom";
|
|
598
|
+
refinements: string[];
|
|
599
|
+
category: "Data Entry";
|
|
600
|
+
description: string;
|
|
601
|
+
};
|
|
602
|
+
Form: {
|
|
603
|
+
name: string;
|
|
604
|
+
link: string;
|
|
605
|
+
base: "antd";
|
|
606
|
+
refinements: any[];
|
|
607
|
+
category: "Data Entry";
|
|
608
|
+
originalDocUrl: string;
|
|
609
|
+
description: string;
|
|
610
|
+
};
|
|
611
|
+
IconButton: {
|
|
612
|
+
name: string;
|
|
613
|
+
link: string;
|
|
614
|
+
base: "custom";
|
|
615
|
+
refinements: string[];
|
|
616
|
+
category: "Actions";
|
|
617
|
+
description: string;
|
|
618
|
+
};
|
|
619
|
+
Input: {
|
|
620
|
+
name: string;
|
|
621
|
+
link: string;
|
|
622
|
+
base: "antd";
|
|
623
|
+
refinements: any[];
|
|
624
|
+
category: "Data Entry";
|
|
625
|
+
originalDocUrl: string;
|
|
626
|
+
description: string;
|
|
627
|
+
};
|
|
628
|
+
Message: {
|
|
629
|
+
name: string;
|
|
630
|
+
link: string;
|
|
631
|
+
base: "antd";
|
|
632
|
+
refinements: any[];
|
|
633
|
+
category: "Feedback";
|
|
634
|
+
originalDocUrl: string;
|
|
635
|
+
description: string;
|
|
636
|
+
};
|
|
637
|
+
Modal: {
|
|
638
|
+
name: string;
|
|
639
|
+
link: string;
|
|
640
|
+
base: "antd";
|
|
641
|
+
refinements: string[];
|
|
642
|
+
category: "Overlay";
|
|
643
|
+
originalDocUrl: string;
|
|
644
|
+
description: string;
|
|
645
|
+
};
|
|
646
|
+
Popover: {
|
|
647
|
+
name: string;
|
|
648
|
+
link: string;
|
|
649
|
+
base: "antd";
|
|
650
|
+
refinements: string[];
|
|
651
|
+
category: "Overlay";
|
|
652
|
+
originalDocUrl: string;
|
|
653
|
+
description: string;
|
|
654
|
+
};
|
|
655
|
+
PopupPanel: {
|
|
656
|
+
name: string;
|
|
657
|
+
link: string;
|
|
658
|
+
base: "base-ui";
|
|
659
|
+
refinements: string[];
|
|
660
|
+
category: "Overlay";
|
|
661
|
+
packages: string[];
|
|
662
|
+
originalDocUrl: string;
|
|
663
|
+
description: string;
|
|
664
|
+
};
|
|
665
|
+
Radio: {
|
|
666
|
+
name: string;
|
|
667
|
+
link: string;
|
|
668
|
+
base: "antd";
|
|
669
|
+
refinements: any[];
|
|
670
|
+
category: "Data Entry";
|
|
671
|
+
originalDocUrl: string;
|
|
672
|
+
description: string;
|
|
673
|
+
};
|
|
674
|
+
ScrollArea: {
|
|
675
|
+
name: string;
|
|
676
|
+
link: string;
|
|
677
|
+
base: "base-ui";
|
|
678
|
+
refinements: string[];
|
|
679
|
+
category: "Layout";
|
|
680
|
+
packages: string[];
|
|
681
|
+
originalDocUrl: string;
|
|
682
|
+
description: string;
|
|
683
|
+
};
|
|
684
|
+
Segmented: {
|
|
685
|
+
name: string;
|
|
686
|
+
link: string;
|
|
687
|
+
base: "antd";
|
|
688
|
+
refinements: string[];
|
|
689
|
+
category: "Data Entry";
|
|
690
|
+
originalDocUrl: string;
|
|
691
|
+
description: string;
|
|
692
|
+
};
|
|
693
|
+
Select: {
|
|
694
|
+
name: string;
|
|
695
|
+
link: string;
|
|
696
|
+
base: "antd";
|
|
697
|
+
refinements: string[];
|
|
698
|
+
category: "Data Entry";
|
|
699
|
+
packages: string[];
|
|
700
|
+
originalDocUrl: string;
|
|
701
|
+
description: string;
|
|
702
|
+
};
|
|
703
|
+
Slider: {
|
|
704
|
+
name: string;
|
|
705
|
+
link: string;
|
|
706
|
+
base: "antd";
|
|
707
|
+
refinements: string[];
|
|
708
|
+
category: "Data Entry";
|
|
709
|
+
originalDocUrl: string;
|
|
710
|
+
description: string;
|
|
711
|
+
};
|
|
712
|
+
Spin: {
|
|
713
|
+
name: string;
|
|
714
|
+
link: string;
|
|
715
|
+
base: "antd";
|
|
716
|
+
refinements: any[];
|
|
717
|
+
category: "Feedback";
|
|
718
|
+
originalDocUrl: string;
|
|
719
|
+
description: string;
|
|
720
|
+
};
|
|
721
|
+
Splitter: {
|
|
722
|
+
name: string;
|
|
723
|
+
link: string;
|
|
724
|
+
base: "antd";
|
|
725
|
+
refinements: string[];
|
|
726
|
+
category: "Layout";
|
|
727
|
+
description: string;
|
|
728
|
+
};
|
|
729
|
+
Stack: {
|
|
730
|
+
name: string;
|
|
731
|
+
link: string;
|
|
732
|
+
base: "custom";
|
|
733
|
+
refinements: string[];
|
|
734
|
+
category: "Layout";
|
|
735
|
+
description: string;
|
|
736
|
+
};
|
|
737
|
+
Switch: {
|
|
738
|
+
name: string;
|
|
739
|
+
link: string;
|
|
740
|
+
base: "antd";
|
|
741
|
+
refinements: string[];
|
|
742
|
+
category: "Data Entry";
|
|
743
|
+
originalDocUrl: string;
|
|
744
|
+
description: string;
|
|
745
|
+
};
|
|
746
|
+
Table: {
|
|
747
|
+
name: string;
|
|
748
|
+
link: string;
|
|
749
|
+
base: "antd";
|
|
750
|
+
refinements: string[];
|
|
751
|
+
category: "Data Display";
|
|
752
|
+
packages: string[];
|
|
753
|
+
originalDocUrl: string;
|
|
754
|
+
description: string;
|
|
755
|
+
};
|
|
756
|
+
Tag: {
|
|
757
|
+
name: string;
|
|
758
|
+
link: string;
|
|
759
|
+
base: "antd";
|
|
760
|
+
refinements: string[];
|
|
761
|
+
category: "Data Display";
|
|
762
|
+
originalDocUrl: string;
|
|
763
|
+
description: string;
|
|
764
|
+
};
|
|
765
|
+
ThemeProvider: {
|
|
766
|
+
name: string;
|
|
767
|
+
link: string;
|
|
768
|
+
base: "custom";
|
|
769
|
+
refinements: string[];
|
|
770
|
+
category: "Utility";
|
|
771
|
+
description: string;
|
|
772
|
+
};
|
|
773
|
+
Toast: {
|
|
774
|
+
name: string;
|
|
775
|
+
link: string;
|
|
776
|
+
base: "base-ui";
|
|
777
|
+
refinements: string[];
|
|
778
|
+
category: "Feedback";
|
|
779
|
+
packages: string[];
|
|
780
|
+
originalDocUrl: string;
|
|
781
|
+
description: string;
|
|
782
|
+
};
|
|
783
|
+
Tooltip: {
|
|
784
|
+
name: string;
|
|
785
|
+
link: string;
|
|
786
|
+
base: "antd";
|
|
787
|
+
refinements: string[];
|
|
788
|
+
category: "Overlay";
|
|
789
|
+
originalDocUrl: string;
|
|
790
|
+
description: string;
|
|
791
|
+
};
|
|
792
|
+
Tour: {
|
|
793
|
+
name: string;
|
|
794
|
+
link: string;
|
|
795
|
+
base: "antd";
|
|
796
|
+
refinements: string[];
|
|
797
|
+
category: "Feedback";
|
|
798
|
+
originalDocUrl: string;
|
|
799
|
+
description: string;
|
|
800
|
+
};
|
|
801
|
+
Transition: {
|
|
802
|
+
name: string;
|
|
803
|
+
link: string;
|
|
804
|
+
base: "base-ui";
|
|
805
|
+
refinements: string[];
|
|
806
|
+
category: "Utility";
|
|
807
|
+
packages: string[];
|
|
808
|
+
originalDocUrl: string;
|
|
809
|
+
description: string;
|
|
810
|
+
};
|
|
811
|
+
Typography: {
|
|
812
|
+
name: string;
|
|
813
|
+
link: string;
|
|
814
|
+
base: "antd";
|
|
815
|
+
refinements: string[];
|
|
816
|
+
category: "Data Display";
|
|
817
|
+
originalDocUrl: string;
|
|
818
|
+
description: string;
|
|
819
|
+
};
|
|
820
|
+
Tree: {
|
|
821
|
+
name: string;
|
|
822
|
+
link: string;
|
|
823
|
+
base: "antd";
|
|
824
|
+
refinements: string[];
|
|
825
|
+
category: "Data Display";
|
|
826
|
+
packages: string[];
|
|
827
|
+
originalDocUrl: string;
|
|
828
|
+
description: string;
|
|
829
|
+
};
|
|
830
|
+
Truncate: {
|
|
831
|
+
name: string;
|
|
832
|
+
link: string;
|
|
833
|
+
base: "custom";
|
|
834
|
+
refinements: string[];
|
|
835
|
+
category: "Data Display";
|
|
836
|
+
description: string;
|
|
837
|
+
};
|
|
838
|
+
Upload: {
|
|
839
|
+
name: string;
|
|
840
|
+
link: string;
|
|
841
|
+
base: "antd";
|
|
842
|
+
refinements: string[];
|
|
843
|
+
category: "Data Entry";
|
|
844
|
+
originalDocUrl: string;
|
|
845
|
+
description: string;
|
|
846
|
+
};
|
|
847
|
+
VerticalCollapsiblePanel: {
|
|
848
|
+
name: string;
|
|
849
|
+
link: string;
|
|
850
|
+
base: "base-ui";
|
|
851
|
+
refinements: string[];
|
|
852
|
+
category: "Layout";
|
|
853
|
+
packages: string[];
|
|
854
|
+
originalDocUrl: string;
|
|
855
|
+
description: string;
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
export { ConfigProvider }
|
|
860
|
+
|
|
861
|
+
export { ConfigProviderProps }
|
|
862
|
+
|
|
863
|
+
export { CountdownProps }
|
|
864
|
+
|
|
865
|
+
export declare function cx(...args: ClassValue[]): string[];
|
|
866
|
+
|
|
867
|
+
export declare const darkTheme: ThemeConfig;
|
|
868
|
+
|
|
869
|
+
export { DatePicker }
|
|
870
|
+
|
|
871
|
+
export { DatePickerProps }
|
|
872
|
+
|
|
873
|
+
export declare const DefaultUpload: ({ showRemoveButton, className, fileList, children, ...restProps }: UploadProps) => JSX.Element;
|
|
874
|
+
|
|
875
|
+
export { Descriptions }
|
|
876
|
+
|
|
877
|
+
export { DescriptionsProps }
|
|
878
|
+
|
|
879
|
+
declare const DirectoryTreeInner: <T extends DataNode = TreeDataNode>(props: DirectoryTreeProps<T>, ref: React.Ref<React.ComponentRef<typeof default_7<T>>>) => JSX.Element;
|
|
880
|
+
|
|
881
|
+
export declare interface DirectoryTreeProps<T extends DataNode = TreeDataNode> extends Omit<DirectoryTreeProps_2<T>, "treeData" | "expandedKeys" | "defaultExpandedKeys" | "onExpand" | "checkedKeys" | "defaultCheckedKeys" | "onCheck" | "draggable"> {
|
|
882
|
+
treeData?: T[];
|
|
883
|
+
expandedKeys?: Key[];
|
|
884
|
+
defaultExpandedKeys?: Key[];
|
|
885
|
+
onExpand?: (expandedKeys: Key[], info: ExpandInfo<T>) => void;
|
|
886
|
+
checkedKeys?: Key[] | {
|
|
887
|
+
checked: Key[];
|
|
888
|
+
halfChecked: Key[];
|
|
889
|
+
};
|
|
890
|
+
defaultCheckedKeys?: Key[];
|
|
891
|
+
onCheck?: (checkedKeys: Key[], info: CheckInfo<T> & {
|
|
892
|
+
triggeredOriginalKey?: Key;
|
|
893
|
+
}) => void;
|
|
894
|
+
allowDuplicatedKeys?: boolean;
|
|
895
|
+
/** Draggable configuration for directory tree items */
|
|
896
|
+
draggable?: DirectoryTreeProps_2<T>["draggable"];
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
export { Divider }
|
|
900
|
+
|
|
901
|
+
export { DividerProps }
|
|
902
|
+
|
|
903
|
+
declare interface DraggerProps extends DraggerProps_2 {
|
|
904
|
+
/**
|
|
905
|
+
* Custom title for the upload component
|
|
906
|
+
*/
|
|
907
|
+
uploadTitle?: default_2.ReactNode;
|
|
908
|
+
/**
|
|
909
|
+
* Custom description for the upload component
|
|
910
|
+
**/
|
|
911
|
+
uploadDescription?: default_2.ReactNode;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export { Drawer }
|
|
915
|
+
|
|
916
|
+
export { DrawerProps }
|
|
917
|
+
|
|
918
|
+
export { Dropdown }
|
|
919
|
+
|
|
920
|
+
export declare const DropdownMenu: ({ children, items, placement, openOnHover, open: outsideOpen, onOpenChange: outsideOnOpenChange, }: DropdownMenuProps) => JSX.Element;
|
|
921
|
+
|
|
922
|
+
export declare type DropdownMenuItemType = {
|
|
923
|
+
type: "item";
|
|
924
|
+
label?: React.ReactNode;
|
|
925
|
+
disabled?: boolean;
|
|
926
|
+
icon?: React.ReactNode;
|
|
927
|
+
key: React.Key;
|
|
928
|
+
onClick?: React.HTMLAttributes<HTMLElement>["onClick"];
|
|
929
|
+
onMouseEnter?: React.HTMLAttributes<HTMLElement>["onMouseEnter"];
|
|
930
|
+
onMouseLeave?: React.HTMLAttributes<HTMLElement>["onMouseLeave"];
|
|
931
|
+
onMouseOver?: React.HTMLAttributes<HTMLElement>["onMouseOver"];
|
|
932
|
+
onMouseOut?: React.HTMLAttributes<HTMLElement>["onMouseOut"];
|
|
933
|
+
danger?: boolean;
|
|
934
|
+
ref?: React.Ref<HTMLElement>;
|
|
935
|
+
} | {
|
|
936
|
+
type: "divider";
|
|
937
|
+
} | {
|
|
938
|
+
type: "header";
|
|
939
|
+
title?: React.ReactNode;
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
export declare interface DropdownMenuProps {
|
|
943
|
+
items: DropdownMenuItemType[];
|
|
944
|
+
children?: React.ComponentProps<typeof Menu_2.Trigger>["render"];
|
|
945
|
+
placement?: PopoverProps_2["placement"];
|
|
946
|
+
openOnHover?: boolean;
|
|
947
|
+
open?: boolean;
|
|
948
|
+
onOpenChange?: (open: boolean) => void;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export { DropDownProps }
|
|
952
|
+
|
|
953
|
+
export { DropdownProps }
|
|
954
|
+
|
|
955
|
+
export declare const DSRoot: ({ className, appendClassesTo, children, theme, ...props }: DSRootProps) => JSX.Element;
|
|
956
|
+
|
|
957
|
+
export declare interface DSRootProps extends ThemeProviderProps {
|
|
958
|
+
/**
|
|
959
|
+
* Classname passed to App component
|
|
960
|
+
*/
|
|
961
|
+
className?: string;
|
|
962
|
+
/**
|
|
963
|
+
* Element to which the theme classes are appended
|
|
964
|
+
* @default "html"
|
|
965
|
+
*/
|
|
966
|
+
appendClassesTo?: string | HTMLElement;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export declare const Empty: ({ image, size, className, ...rest }: EmptyProps) => JSX.Element;
|
|
970
|
+
|
|
971
|
+
export declare const EmptyIcon: React_2.FC<React_2.ComponentPropsWithRef<"svg">>;
|
|
972
|
+
|
|
973
|
+
export declare interface EmptyProps extends EmptyProps_2 {
|
|
974
|
+
/**
|
|
975
|
+
* Empty icon size
|
|
976
|
+
* @default 'medium'
|
|
977
|
+
*/
|
|
978
|
+
size?: "small" | "medium" | "large";
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
export declare type ExpandInfo<T extends DataNode> = {
|
|
982
|
+
node: EventDataNode<T>;
|
|
983
|
+
expanded: boolean;
|
|
984
|
+
nativeEvent: MouseEvent;
|
|
985
|
+
triggeredOriginalKey?: Key;
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
export declare const Field: <T extends FieldType>(props: FieldProps<T> & {
|
|
989
|
+
ref?: ForwardedRef<RefType<T>>;
|
|
990
|
+
}) => ReturnType<typeof FieldInner<T>>;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Generic Field component that forwards ref to Input or Select
|
|
994
|
+
*/
|
|
995
|
+
declare const FieldInner: <T extends FieldType>({ label, className, size, colon, type, ...rest }: FieldProps<T>, ref: ForwardedRef<RefType<T>>) => JSX.Element;
|
|
996
|
+
|
|
997
|
+
export declare type FieldProps<T extends FieldType = "input"> = T extends "input" ? InputFieldProps : SelectFieldProps;
|
|
998
|
+
|
|
999
|
+
export declare type FieldType = "input" | "select";
|
|
1000
|
+
|
|
1001
|
+
export { Flex }
|
|
1002
|
+
|
|
1003
|
+
export { FlexProps }
|
|
1004
|
+
|
|
1005
|
+
export { FloatButton }
|
|
1006
|
+
|
|
1007
|
+
export { FloatButtonGroupProps }
|
|
1008
|
+
|
|
1009
|
+
export { FloatButtonProps }
|
|
1010
|
+
|
|
1011
|
+
export { FloatButtonRef }
|
|
1012
|
+
|
|
1013
|
+
export declare const Form: (<Values = any>({ ...rest }: InternalFormProps<Values>) => JSX.Element) & {
|
|
1014
|
+
useForm: typeof useForm;
|
|
1015
|
+
useFormInstance: typeof default_9;
|
|
1016
|
+
useWatch: typeof useWatch;
|
|
1017
|
+
Item: <Values = unknown>({ tooltip, label, optionalMark, ...rest }: FormItemProps<Values>) => JSX.Element;
|
|
1018
|
+
List: React_2.FC<FormListProps>;
|
|
1019
|
+
ErrorList: React_2.FC<ErrorListProps>;
|
|
1020
|
+
Provider: React_2.FC<FormProviderProps>;
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
export { FormInstance }
|
|
1024
|
+
|
|
1025
|
+
export declare interface FormItemProps<Values = unknown> extends FormItemProps_2<Values> {
|
|
1026
|
+
optionalMark?: boolean | React.ReactNode;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
export { FormListFieldData }
|
|
1030
|
+
|
|
1031
|
+
export { FormListOperation }
|
|
1032
|
+
|
|
1033
|
+
export { FormProps }
|
|
1034
|
+
|
|
1035
|
+
export declare type GenericHTMLProps = React.HTMLAttributes<any> & {
|
|
1036
|
+
ref?: React.Ref<any> | undefined;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Get all components by category
|
|
1041
|
+
*/
|
|
1042
|
+
export declare const getComponentsByCategory: () => Record<ComponentCategory, ComponentMetadata[]>;
|
|
1043
|
+
|
|
1044
|
+
export declare const getUniqueKeysFromOriginals: (nodes: DataNode[] | undefined, originalKeysToFind: Set<Key>, map: Map<Key, Key>) => Key[];
|
|
1045
|
+
|
|
1046
|
+
export { GlobalToken }
|
|
1047
|
+
|
|
1048
|
+
export { Grid }
|
|
1049
|
+
|
|
1050
|
+
export declare const IconButton: IconButtonComponent;
|
|
1051
|
+
|
|
1052
|
+
declare type IconButtonBaseProps = {
|
|
1053
|
+
label?: default_2.ReactNode;
|
|
1054
|
+
size?: "small" | "medium";
|
|
1055
|
+
negativeMargin?: boolean;
|
|
1056
|
+
tooltipProps?: default_2.ComponentProps<typeof Tooltip_2>;
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Type for wrapping the forwardRef implementation
|
|
1061
|
+
*/
|
|
1062
|
+
declare type IconButtonComponent = <E extends ElementType = "button">(props: IconButtonProps<E> & {
|
|
1063
|
+
ref?: ComponentPropsWithRef<E>["ref"];
|
|
1064
|
+
}) => ReactElement;
|
|
1065
|
+
|
|
1066
|
+
declare type IconButtonOwnProps<E extends ElementType = ElementType> = WithHrefProps<E> | WithoutHrefProps<E>;
|
|
1067
|
+
|
|
1068
|
+
export declare type IconButtonProps<E extends ElementType = "button"> = IconButtonOwnProps<E> & Omit<ComponentPropsWithoutRef<E>, keyof IconButtonOwnProps<E>>;
|
|
1069
|
+
|
|
1070
|
+
declare function InnerToast({ toast, }: {
|
|
1071
|
+
toast: Toast_2.Root.ToastObject<ToastData>;
|
|
1072
|
+
}): JSX.Element;
|
|
1073
|
+
|
|
1074
|
+
export declare const Input: ((props: InputProps & {
|
|
1075
|
+
ref?: React.ForwardedRef<InputRef>;
|
|
1076
|
+
}) => ReturnType<typeof MainInputInner>) & {
|
|
1077
|
+
Password: (props: PasswordProps & {
|
|
1078
|
+
ref?: React.ForwardedRef<InputRef>;
|
|
1079
|
+
}) => ReturnType<typeof PasswordInner>;
|
|
1080
|
+
Search: (props: SearchProps & {
|
|
1081
|
+
ref?: React.ForwardedRef<InputRef>;
|
|
1082
|
+
}) => ReturnType<typeof SearchInner>;
|
|
1083
|
+
TextArea: (props: TextAreaProps & {
|
|
1084
|
+
ref?: React.ForwardedRef<HTMLTextAreaElement>;
|
|
1085
|
+
}) => ReturnType<typeof TextAreaInner>;
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
declare type InputFieldProps = BaseFieldProps & {
|
|
1089
|
+
type?: "input";
|
|
1090
|
+
inputProps: InputProps_2;
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
export { InputNumber }
|
|
1094
|
+
|
|
1095
|
+
export { InputNumberProps }
|
|
1096
|
+
|
|
1097
|
+
export declare interface InputProps extends InputProps_2 {
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
declare interface InternalFormProps<Values = any> extends React_2.ComponentProps<typeof default_8<Values>> {
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
declare const InternalTable: <RecordType extends object = object>({ columns, locale, emptyDescription, loading, scroll, ...rest }: TableProps_2<RecordType>) => JSX.Element;
|
|
1104
|
+
|
|
1105
|
+
declare type IntrinsicElement = keyof JSX_2.IntrinsicElements | JSXElementConstructor<any>;
|
|
1106
|
+
|
|
1107
|
+
export declare function isTracebackError(error: unknown): boolean;
|
|
1108
|
+
|
|
1109
|
+
export { Layout }
|
|
1110
|
+
|
|
1111
|
+
export { LayoutProps }
|
|
1112
|
+
|
|
1113
|
+
export declare const lightTheme: ThemeConfig;
|
|
1114
|
+
|
|
1115
|
+
export { List }
|
|
1116
|
+
|
|
1117
|
+
export { ListProps }
|
|
1118
|
+
|
|
1119
|
+
declare const MainCheckboxInner: (props: CheckboxProps, ref: React.Ref<React.ComponentRef<typeof Checkbox_2>>) => JSX.Element;
|
|
1120
|
+
|
|
1121
|
+
declare const MainInputInner: (props: InputProps, ref: React.Ref<InputRef>) => JSX.Element;
|
|
1122
|
+
|
|
1123
|
+
declare const MainSegmentedInner: <T>({ className, ...rest }: SegmentedProps<T>, ref: React.Ref<React.ComponentRef<typeof default_5>>) => JSX.Element;
|
|
1124
|
+
|
|
1125
|
+
declare const MainSelectInner: <ValueType = unknown, OptionType extends SelectBaseOptionType | SelectDefaultOptionType = SelectDefaultOptionType>({ mode, className, open: openProp, defaultOpen, onOpenChange, popupClassName, onDropdownVisibleChange, enhancePositioner, getPopupContainer, popupSize, popupRender, dropdownRender, classNames, styles, ...rest }: SelectProps<ValueType, OptionType>, ref: default_2.Ref<default_2.ComponentRef<typeof default_3>>) => JSX.Element;
|
|
1126
|
+
|
|
1127
|
+
declare const MainSwitchInner: ({ ...rest }: SwitchProps, ref: React.Ref<React.ComponentRef<typeof default_4>>) => JSX.Element;
|
|
1128
|
+
|
|
1129
|
+
declare const MainTreeInner: <T extends DataNode = TreeDataNode>(props: TreeProps<T>, ref: React.Ref<React.ComponentRef<typeof default_7<T>>>) => JSX.Element;
|
|
1130
|
+
|
|
1131
|
+
export { MappingAlgorithm }
|
|
1132
|
+
|
|
1133
|
+
export { MentionProps }
|
|
1134
|
+
|
|
1135
|
+
export { Mentions }
|
|
1136
|
+
|
|
1137
|
+
export { MentionsProps }
|
|
1138
|
+
|
|
1139
|
+
export { Menu }
|
|
1140
|
+
|
|
1141
|
+
export { MenuItemProps }
|
|
1142
|
+
|
|
1143
|
+
export { MenuProps }
|
|
1144
|
+
|
|
1145
|
+
export { MenuRef }
|
|
1146
|
+
|
|
1147
|
+
export { MenuTheme }
|
|
1148
|
+
|
|
1149
|
+
export { message }
|
|
1150
|
+
|
|
1151
|
+
export { MessageArgsProps }
|
|
1152
|
+
|
|
1153
|
+
export declare const Modal: (({ open: externalOpen, closeIcon, children, size: sizeProp, footer, width, style, styles, classNames, okButtonProps, cancelButtonProps, loading, onOk, onCancel, okText, okType, confirmLoading, cancelText, hideOkButton, hideCancelButton, contentPadding, title, afterTitle, beforeCloseButton, afterCloseButton, defaultFixedHeaderFooter, centered, type, defaultOpen, background: backgroundProp, bodyScrollable, ...rest }: ModalProps) => JSX.Element) & {
|
|
1154
|
+
Provider: FC<ModalProviderProps>;
|
|
1155
|
+
open: (config: ModalFuncProps_2) => ModalRef;
|
|
1156
|
+
info: (config: ModalFuncProps_2) => ModalRef;
|
|
1157
|
+
success: (config: ModalFuncProps_2) => ModalRef;
|
|
1158
|
+
error: (config: ModalFuncProps_2) => ModalRef;
|
|
1159
|
+
warning: (config: ModalFuncProps_2) => ModalRef;
|
|
1160
|
+
confirm: (config: ModalFuncProps_2) => ModalRef;
|
|
1161
|
+
destroyAll: () => void;
|
|
1162
|
+
useModal: () => HookAPI;
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
export { ModalFuncProps }
|
|
1166
|
+
|
|
1167
|
+
declare type ModalFuncProps_2 = ModalProps & {
|
|
1168
|
+
/**
|
|
1169
|
+
* Content to be displayed in the modal
|
|
1170
|
+
* Similar to children prop in Modal component
|
|
1171
|
+
* Keep this to be compatible with antd ModalFuncProps
|
|
1172
|
+
*/
|
|
1173
|
+
content?: default_2.ReactNode;
|
|
1174
|
+
};
|
|
1175
|
+
|
|
1176
|
+
declare interface ModalProps extends Omit<ModalProps_2, "centered"> {
|
|
1177
|
+
/**
|
|
1178
|
+
* Predefined sizes for the modal
|
|
1179
|
+
* - xsmall: 400px
|
|
1180
|
+
* - small: 520px
|
|
1181
|
+
* - medium: 640px (default)
|
|
1182
|
+
* - large: 840px
|
|
1183
|
+
* - xlarge: 1024px
|
|
1184
|
+
* - fullscreen: 100vw (takes full screen width with margins)
|
|
1185
|
+
* @default "medium" for default type, "xsmall" for other types
|
|
1186
|
+
*/
|
|
1187
|
+
size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge" | "fullscreen";
|
|
1188
|
+
/**
|
|
1189
|
+
* Mark modal as loading
|
|
1190
|
+
* @default false
|
|
1191
|
+
*/
|
|
1192
|
+
loading?: boolean;
|
|
1193
|
+
/**
|
|
1194
|
+
* Hide Ok button
|
|
1195
|
+
* @default false
|
|
1196
|
+
*/
|
|
1197
|
+
hideOkButton?: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* Hide Cancel button
|
|
1200
|
+
* @default false
|
|
1201
|
+
*/
|
|
1202
|
+
hideCancelButton?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* Custom Content Padding
|
|
1205
|
+
* @default "24px"
|
|
1206
|
+
*/
|
|
1207
|
+
contentPadding?: number | string | boolean;
|
|
1208
|
+
/**
|
|
1209
|
+
* Add more content below the title
|
|
1210
|
+
*/
|
|
1211
|
+
afterTitle?: default_2.ReactNode;
|
|
1212
|
+
/**
|
|
1213
|
+
* Add more actions before close button
|
|
1214
|
+
*/
|
|
1215
|
+
beforeCloseButton?: default_2.ReactNode;
|
|
1216
|
+
/**
|
|
1217
|
+
* Add more actions after close button
|
|
1218
|
+
*/
|
|
1219
|
+
afterCloseButton?: default_2.ReactNode;
|
|
1220
|
+
/**
|
|
1221
|
+
* Set header and footer to fixed position
|
|
1222
|
+
* @default false
|
|
1223
|
+
*/
|
|
1224
|
+
defaultFixedHeaderFooter?: boolean;
|
|
1225
|
+
/**
|
|
1226
|
+
* Centered Modal
|
|
1227
|
+
* @default true
|
|
1228
|
+
*/
|
|
1229
|
+
centered?: boolean;
|
|
1230
|
+
/**
|
|
1231
|
+
* Modal type
|
|
1232
|
+
* @default "default"
|
|
1233
|
+
*/
|
|
1234
|
+
type?: ModalType;
|
|
1235
|
+
/**
|
|
1236
|
+
* Default open state for uncontrolled modal
|
|
1237
|
+
* @default true
|
|
1238
|
+
*/
|
|
1239
|
+
defaultOpen?: boolean;
|
|
1240
|
+
/**
|
|
1241
|
+
* Modal background
|
|
1242
|
+
* @default "elevated" if size smaller than "medium", otherwise "container"
|
|
1243
|
+
*/
|
|
1244
|
+
background?: "elevated" | "container";
|
|
1245
|
+
/**
|
|
1246
|
+
* Modal old close callback
|
|
1247
|
+
* @deprecated use onCancel instead
|
|
1248
|
+
*/
|
|
1249
|
+
onClose?: () => void;
|
|
1250
|
+
/**
|
|
1251
|
+
* Make modal body scrollable
|
|
1252
|
+
* @default true
|
|
1253
|
+
*/
|
|
1254
|
+
bodyScrollable?: boolean;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
export declare interface ModalProviderProps {
|
|
1258
|
+
children?: default_2.ReactNode;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
declare interface ModalRef {
|
|
1262
|
+
update: (config: ModalUpdateConfig) => void;
|
|
1263
|
+
destroy: () => void;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
declare type ModalType = NonNullable<ModalFuncProps["type"]> | "default";
|
|
1267
|
+
|
|
1268
|
+
declare type ModalUpdateConfig = Partial<ModalFuncProps_2> | ((prev: ModalFuncProps_2) => ModalFuncProps_2);
|
|
1269
|
+
|
|
1270
|
+
export { notification }
|
|
1271
|
+
|
|
1272
|
+
export { NotificationArgsProps }
|
|
1273
|
+
|
|
1274
|
+
export { Pagination }
|
|
1275
|
+
|
|
1276
|
+
export { PaginationProps }
|
|
1277
|
+
|
|
1278
|
+
export declare const parseAntdPlacement: (placement?: PopoverProps_2["placement"]) => {
|
|
1279
|
+
placement: "top" | "bottom" | "left" | "right";
|
|
1280
|
+
align: "start" | "end" | "center";
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
declare const PasswordInner: (props: PasswordProps, ref: React.Ref<InputRef>) => JSX.Element;
|
|
1284
|
+
|
|
1285
|
+
export declare interface PasswordProps extends PasswordProps_2 {
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
export { Popconfirm }
|
|
1289
|
+
|
|
1290
|
+
export { PopconfirmProps }
|
|
1291
|
+
|
|
1292
|
+
export declare const Popover: ({ className, style, arrow, ...rest }: PopoverProps) => JSX.Element;
|
|
1293
|
+
|
|
1294
|
+
export declare interface PopoverProps extends PopoverProps_2 {
|
|
1295
|
+
/**
|
|
1296
|
+
* Arrow config for of the popover
|
|
1297
|
+
* @default false
|
|
1298
|
+
*/
|
|
1299
|
+
arrow?: PopoverProps_2["arrow"];
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
export declare const PopupPanel: ({ children, placement, openOnHover, open: outsideOpen, onOpenChange: outsideOnOpenChange, content, title, trigger, className, anchor, beforeCloseButton, afterCloseButton, afterTitle, size, footer, defaultOpen, resizable, }: PopupPanelProps) => JSX.Element;
|
|
1303
|
+
|
|
1304
|
+
export declare interface PopupPanelProps extends Omit<React.ComponentPropsWithRef<"div">, "title" | "content" | "children"> {
|
|
1305
|
+
/** The trigger element that opens the popup panel */
|
|
1306
|
+
children?: React.ComponentProps<typeof Popover_2.Trigger>["render"];
|
|
1307
|
+
/** Placement of the popup panel relative to its trigger */
|
|
1308
|
+
placement?: PopoverProps_2["placement"];
|
|
1309
|
+
/** Whether to open the popup panel on hover */
|
|
1310
|
+
openOnHover?: boolean;
|
|
1311
|
+
/** Controls the open state of the popup panel */
|
|
1312
|
+
open?: boolean;
|
|
1313
|
+
/** Callback fired when the open state changes */
|
|
1314
|
+
onOpenChange?: (open: boolean) => void;
|
|
1315
|
+
/** Content to display inside the popup panel */
|
|
1316
|
+
content?: React.ReactNode;
|
|
1317
|
+
/** Title text or element to display in the panel header */
|
|
1318
|
+
title?: React.ReactNode;
|
|
1319
|
+
/** The event that triggers the popup panel */
|
|
1320
|
+
/**
|
|
1321
|
+
* @default "click"
|
|
1322
|
+
*/
|
|
1323
|
+
trigger?: "click" | "hover";
|
|
1324
|
+
/** Custom anchor element for positioning the panel */
|
|
1325
|
+
anchor?: Popover_2.Positioner.Props["anchor"];
|
|
1326
|
+
/** Content to display before the close button */
|
|
1327
|
+
beforeCloseButton?: React.ReactNode;
|
|
1328
|
+
/** Content to display after the close button */
|
|
1329
|
+
afterCloseButton?: React.ReactNode;
|
|
1330
|
+
/** Content to display after the title */
|
|
1331
|
+
afterTitle?: React.ReactNode;
|
|
1332
|
+
/**
|
|
1333
|
+
* Predefined sizes for the popup panel
|
|
1334
|
+
* - xsmall: 320px
|
|
1335
|
+
* - small: 400px
|
|
1336
|
+
* - medium: 480px (default)
|
|
1337
|
+
* - large: 640px
|
|
1338
|
+
* - xlarge: 840px
|
|
1339
|
+
* @default "medium" for default type, "xsmall" for other types
|
|
1340
|
+
*/
|
|
1341
|
+
size?: keyof typeof PopupPanelSize;
|
|
1342
|
+
/**
|
|
1343
|
+
* Footer content for the popup panel
|
|
1344
|
+
* Can be a React node or a function that returns a React node
|
|
1345
|
+
*/
|
|
1346
|
+
footer?: React.ReactNode | ((props: {
|
|
1347
|
+
close: () => void;
|
|
1348
|
+
}) => React.ReactNode);
|
|
1349
|
+
/**
|
|
1350
|
+
* Whether the panel should be open by default when uncontrolled
|
|
1351
|
+
* @default false
|
|
1352
|
+
*/
|
|
1353
|
+
defaultOpen?: boolean;
|
|
1354
|
+
/**
|
|
1355
|
+
* Whether the panel should be resizable
|
|
1356
|
+
* @default false
|
|
1357
|
+
*/
|
|
1358
|
+
resizable?: boolean;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
declare enum PopupPanelSize {
|
|
1362
|
+
xsmall = "320px",
|
|
1363
|
+
small = "400px",
|
|
1364
|
+
medium = "480px",
|
|
1365
|
+
large = "640px",
|
|
1366
|
+
xlarge = "840px"
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
export declare const processTreeData: <T extends DataNode = DataNode>(nodes: T[] | undefined, expandedOriginalKeys: Set<Key>, // Use Set for faster lookups
|
|
1370
|
+
parentKeyPrefix: string, keyMap: Map<Key, Key>) => T[] | undefined;
|
|
1371
|
+
|
|
1372
|
+
export { Progress }
|
|
1373
|
+
|
|
1374
|
+
export { ProgressProps }
|
|
1375
|
+
|
|
1376
|
+
export declare type Props = {
|
|
1377
|
+
text: string;
|
|
1378
|
+
} & default_2.CSSProperties;
|
|
1379
|
+
|
|
1380
|
+
export { QRCode }
|
|
1381
|
+
|
|
1382
|
+
export { QRCodeProps }
|
|
1383
|
+
|
|
1384
|
+
export { QRPropsCanvas }
|
|
1385
|
+
|
|
1386
|
+
export { QRPropsSvg }
|
|
1387
|
+
|
|
1388
|
+
export declare const Radio: ForwardRefExoticComponent<RadioProps_2 & RefAttributes<RadioRef_2>> & {
|
|
1389
|
+
Group: (props: RadioGroupProps & {
|
|
1390
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1391
|
+
}) => JSX.Element;
|
|
1392
|
+
Button: ForwardRefExoticComponent<RadioProps_2 & RefAttributes<RadioRef_2>>;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
export declare type RadioChangeEvent = RadioChangeEvent_2;
|
|
1396
|
+
|
|
1397
|
+
export declare type RadioGroupProps = RadioGroupProps_2;
|
|
1398
|
+
|
|
1399
|
+
export declare type RadioProps = RadioProps_2;
|
|
1400
|
+
|
|
1401
|
+
export declare type RadioRef = RadioRef_2;
|
|
1402
|
+
|
|
1403
|
+
export { Rate }
|
|
1404
|
+
|
|
1405
|
+
export { RateProps }
|
|
1406
|
+
|
|
1407
|
+
export declare const rawChartColorTokens: {
|
|
1408
|
+
colorChartsRed300: {
|
|
1409
|
+
light: string;
|
|
1410
|
+
dark: string;
|
|
1411
|
+
};
|
|
1412
|
+
colorChartsRed400: {
|
|
1413
|
+
light: string;
|
|
1414
|
+
dark: string;
|
|
1415
|
+
};
|
|
1416
|
+
colorChartsRed500: {
|
|
1417
|
+
light: string;
|
|
1418
|
+
dark: string;
|
|
1419
|
+
};
|
|
1420
|
+
colorChartsRed600: {
|
|
1421
|
+
light: string;
|
|
1422
|
+
dark: string;
|
|
1423
|
+
};
|
|
1424
|
+
colorChartsRed700: {
|
|
1425
|
+
light: string;
|
|
1426
|
+
dark: string;
|
|
1427
|
+
};
|
|
1428
|
+
colorChartsRed800: {
|
|
1429
|
+
light: string;
|
|
1430
|
+
dark: string;
|
|
1431
|
+
};
|
|
1432
|
+
colorChartsRed900: {
|
|
1433
|
+
light: string;
|
|
1434
|
+
dark: string;
|
|
1435
|
+
};
|
|
1436
|
+
colorChartsRed1000: {
|
|
1437
|
+
light: string;
|
|
1438
|
+
dark: string;
|
|
1439
|
+
};
|
|
1440
|
+
colorChartsRed1100: {
|
|
1441
|
+
light: string;
|
|
1442
|
+
dark: string;
|
|
1443
|
+
};
|
|
1444
|
+
colorChartsRed1200: {
|
|
1445
|
+
light: string;
|
|
1446
|
+
dark: string;
|
|
1447
|
+
};
|
|
1448
|
+
colorChartsOrange300: {
|
|
1449
|
+
light: string;
|
|
1450
|
+
dark: string;
|
|
1451
|
+
};
|
|
1452
|
+
colorChartsOrange400: {
|
|
1453
|
+
light: string;
|
|
1454
|
+
dark: string;
|
|
1455
|
+
};
|
|
1456
|
+
colorChartsOrange500: {
|
|
1457
|
+
light: string;
|
|
1458
|
+
dark: string;
|
|
1459
|
+
};
|
|
1460
|
+
colorChartsOrange600: {
|
|
1461
|
+
light: string;
|
|
1462
|
+
dark: string;
|
|
1463
|
+
};
|
|
1464
|
+
colorChartsOrange700: {
|
|
1465
|
+
light: string;
|
|
1466
|
+
dark: string;
|
|
1467
|
+
};
|
|
1468
|
+
colorChartsOrange800: {
|
|
1469
|
+
light: string;
|
|
1470
|
+
dark: string;
|
|
1471
|
+
};
|
|
1472
|
+
colorChartsOrange900: {
|
|
1473
|
+
light: string;
|
|
1474
|
+
dark: string;
|
|
1475
|
+
};
|
|
1476
|
+
colorChartsOrange1000: {
|
|
1477
|
+
light: string;
|
|
1478
|
+
dark: string;
|
|
1479
|
+
};
|
|
1480
|
+
colorChartsOrange1100: {
|
|
1481
|
+
light: string;
|
|
1482
|
+
dark: string;
|
|
1483
|
+
};
|
|
1484
|
+
colorChartsOrange1200: {
|
|
1485
|
+
light: string;
|
|
1486
|
+
dark: string;
|
|
1487
|
+
};
|
|
1488
|
+
colorChartsYellow300: {
|
|
1489
|
+
light: string;
|
|
1490
|
+
dark: string;
|
|
1491
|
+
};
|
|
1492
|
+
colorChartsYellow400: {
|
|
1493
|
+
light: string;
|
|
1494
|
+
dark: string;
|
|
1495
|
+
};
|
|
1496
|
+
colorChartsYellow500: {
|
|
1497
|
+
light: string;
|
|
1498
|
+
dark: string;
|
|
1499
|
+
};
|
|
1500
|
+
colorChartsYellow600: {
|
|
1501
|
+
light: string;
|
|
1502
|
+
dark: string;
|
|
1503
|
+
};
|
|
1504
|
+
colorChartsYellow700: {
|
|
1505
|
+
light: string;
|
|
1506
|
+
dark: string;
|
|
1507
|
+
};
|
|
1508
|
+
colorChartsYellow800: {
|
|
1509
|
+
light: string;
|
|
1510
|
+
dark: string;
|
|
1511
|
+
};
|
|
1512
|
+
colorChartsYellow900: {
|
|
1513
|
+
light: string;
|
|
1514
|
+
dark: string;
|
|
1515
|
+
};
|
|
1516
|
+
colorChartsYellow1000: {
|
|
1517
|
+
light: string;
|
|
1518
|
+
dark: string;
|
|
1519
|
+
};
|
|
1520
|
+
colorChartsYellow1100: {
|
|
1521
|
+
light: string;
|
|
1522
|
+
dark: string;
|
|
1523
|
+
};
|
|
1524
|
+
colorChartsYellow1200: {
|
|
1525
|
+
light: string;
|
|
1526
|
+
dark: string;
|
|
1527
|
+
};
|
|
1528
|
+
colorChartsGreen300: {
|
|
1529
|
+
light: string;
|
|
1530
|
+
dark: string;
|
|
1531
|
+
};
|
|
1532
|
+
colorChartsGreen400: {
|
|
1533
|
+
light: string;
|
|
1534
|
+
dark: string;
|
|
1535
|
+
};
|
|
1536
|
+
colorChartsGreen500: {
|
|
1537
|
+
light: string;
|
|
1538
|
+
dark: string;
|
|
1539
|
+
};
|
|
1540
|
+
colorChartsGreen600: {
|
|
1541
|
+
light: string;
|
|
1542
|
+
dark: string;
|
|
1543
|
+
};
|
|
1544
|
+
colorChartsGreen700: {
|
|
1545
|
+
light: string;
|
|
1546
|
+
dark: string;
|
|
1547
|
+
};
|
|
1548
|
+
colorChartsGreen800: {
|
|
1549
|
+
light: string;
|
|
1550
|
+
dark: string;
|
|
1551
|
+
};
|
|
1552
|
+
colorChartsGreen900: {
|
|
1553
|
+
light: string;
|
|
1554
|
+
dark: string;
|
|
1555
|
+
};
|
|
1556
|
+
colorChartsGreen1000: {
|
|
1557
|
+
light: string;
|
|
1558
|
+
dark: string;
|
|
1559
|
+
};
|
|
1560
|
+
colorChartsGreen1100: {
|
|
1561
|
+
light: string;
|
|
1562
|
+
dark: string;
|
|
1563
|
+
};
|
|
1564
|
+
colorChartsGreen1200: {
|
|
1565
|
+
light: string;
|
|
1566
|
+
dark: string;
|
|
1567
|
+
};
|
|
1568
|
+
colorChartsTeal300: {
|
|
1569
|
+
light: string;
|
|
1570
|
+
dark: string;
|
|
1571
|
+
};
|
|
1572
|
+
colorChartsTeal400: {
|
|
1573
|
+
light: string;
|
|
1574
|
+
dark: string;
|
|
1575
|
+
};
|
|
1576
|
+
colorChartsTeal500: {
|
|
1577
|
+
light: string;
|
|
1578
|
+
dark: string;
|
|
1579
|
+
};
|
|
1580
|
+
colorChartsTeal600: {
|
|
1581
|
+
light: string;
|
|
1582
|
+
dark: string;
|
|
1583
|
+
};
|
|
1584
|
+
colorChartsTeal700: {
|
|
1585
|
+
light: string;
|
|
1586
|
+
dark: string;
|
|
1587
|
+
};
|
|
1588
|
+
colorChartsTeal800: {
|
|
1589
|
+
light: string;
|
|
1590
|
+
dark: string;
|
|
1591
|
+
};
|
|
1592
|
+
colorChartsTeal900: {
|
|
1593
|
+
light: string;
|
|
1594
|
+
dark: string;
|
|
1595
|
+
};
|
|
1596
|
+
colorChartsTeal1000: {
|
|
1597
|
+
light: string;
|
|
1598
|
+
dark: string;
|
|
1599
|
+
};
|
|
1600
|
+
colorChartsTeal1100: {
|
|
1601
|
+
light: string;
|
|
1602
|
+
dark: string;
|
|
1603
|
+
};
|
|
1604
|
+
colorChartsTeal1200: {
|
|
1605
|
+
light: string;
|
|
1606
|
+
dark: string;
|
|
1607
|
+
};
|
|
1608
|
+
colorChartsBlue1300: {
|
|
1609
|
+
light: string;
|
|
1610
|
+
dark: string;
|
|
1611
|
+
};
|
|
1612
|
+
colorChartsBlue1400: {
|
|
1613
|
+
light: string;
|
|
1614
|
+
dark: string;
|
|
1615
|
+
};
|
|
1616
|
+
colorChartsBlue1500: {
|
|
1617
|
+
light: string;
|
|
1618
|
+
dark: string;
|
|
1619
|
+
};
|
|
1620
|
+
colorChartsBlue1600: {
|
|
1621
|
+
light: string;
|
|
1622
|
+
dark: string;
|
|
1623
|
+
};
|
|
1624
|
+
colorChartsBlue1700: {
|
|
1625
|
+
light: string;
|
|
1626
|
+
dark: string;
|
|
1627
|
+
};
|
|
1628
|
+
colorChartsBlue1800: {
|
|
1629
|
+
light: string;
|
|
1630
|
+
dark: string;
|
|
1631
|
+
};
|
|
1632
|
+
colorChartsBlue1900: {
|
|
1633
|
+
light: string;
|
|
1634
|
+
dark: string;
|
|
1635
|
+
};
|
|
1636
|
+
colorChartsBlue11000: {
|
|
1637
|
+
light: string;
|
|
1638
|
+
dark: string;
|
|
1639
|
+
};
|
|
1640
|
+
colorChartsBlue11100: {
|
|
1641
|
+
light: string;
|
|
1642
|
+
dark: string;
|
|
1643
|
+
};
|
|
1644
|
+
colorChartsBlue11200: {
|
|
1645
|
+
light: string;
|
|
1646
|
+
dark: string;
|
|
1647
|
+
};
|
|
1648
|
+
colorChartsBlue2300: {
|
|
1649
|
+
light: string;
|
|
1650
|
+
dark: string;
|
|
1651
|
+
};
|
|
1652
|
+
colorChartsBlue2400: {
|
|
1653
|
+
light: string;
|
|
1654
|
+
dark: string;
|
|
1655
|
+
};
|
|
1656
|
+
colorChartsBlue2500: {
|
|
1657
|
+
light: string;
|
|
1658
|
+
dark: string;
|
|
1659
|
+
};
|
|
1660
|
+
colorChartsBlue2600: {
|
|
1661
|
+
light: string;
|
|
1662
|
+
dark: string;
|
|
1663
|
+
};
|
|
1664
|
+
colorChartsBlue2700: {
|
|
1665
|
+
light: string;
|
|
1666
|
+
dark: string;
|
|
1667
|
+
};
|
|
1668
|
+
colorChartsBlue2800: {
|
|
1669
|
+
light: string;
|
|
1670
|
+
dark: string;
|
|
1671
|
+
};
|
|
1672
|
+
colorChartsBlue2900: {
|
|
1673
|
+
light: string;
|
|
1674
|
+
dark: string;
|
|
1675
|
+
};
|
|
1676
|
+
colorChartsBlue21000: {
|
|
1677
|
+
light: string;
|
|
1678
|
+
dark: string;
|
|
1679
|
+
};
|
|
1680
|
+
colorChartsBlue21100: {
|
|
1681
|
+
light: string;
|
|
1682
|
+
dark: string;
|
|
1683
|
+
};
|
|
1684
|
+
colorChartsBlue21200: {
|
|
1685
|
+
light: string;
|
|
1686
|
+
dark: string;
|
|
1687
|
+
};
|
|
1688
|
+
colorChartsPurple300: {
|
|
1689
|
+
light: string;
|
|
1690
|
+
dark: string;
|
|
1691
|
+
};
|
|
1692
|
+
colorChartsPurple400: {
|
|
1693
|
+
light: string;
|
|
1694
|
+
dark: string;
|
|
1695
|
+
};
|
|
1696
|
+
colorChartsPurple500: {
|
|
1697
|
+
light: string;
|
|
1698
|
+
dark: string;
|
|
1699
|
+
};
|
|
1700
|
+
colorChartsPurple600: {
|
|
1701
|
+
light: string;
|
|
1702
|
+
dark: string;
|
|
1703
|
+
};
|
|
1704
|
+
colorChartsPurple700: {
|
|
1705
|
+
light: string;
|
|
1706
|
+
dark: string;
|
|
1707
|
+
};
|
|
1708
|
+
colorChartsPurple800: {
|
|
1709
|
+
light: string;
|
|
1710
|
+
dark: string;
|
|
1711
|
+
};
|
|
1712
|
+
colorChartsPurple900: {
|
|
1713
|
+
light: string;
|
|
1714
|
+
dark: string;
|
|
1715
|
+
};
|
|
1716
|
+
colorChartsPurple1000: {
|
|
1717
|
+
light: string;
|
|
1718
|
+
dark: string;
|
|
1719
|
+
};
|
|
1720
|
+
colorChartsPurple1100: {
|
|
1721
|
+
light: string;
|
|
1722
|
+
dark: string;
|
|
1723
|
+
};
|
|
1724
|
+
colorChartsPurple1200: {
|
|
1725
|
+
light: string;
|
|
1726
|
+
dark: string;
|
|
1727
|
+
};
|
|
1728
|
+
colorChartsPink300: {
|
|
1729
|
+
light: string;
|
|
1730
|
+
dark: string;
|
|
1731
|
+
};
|
|
1732
|
+
colorChartsPink400: {
|
|
1733
|
+
light: string;
|
|
1734
|
+
dark: string;
|
|
1735
|
+
};
|
|
1736
|
+
colorChartsPink500: {
|
|
1737
|
+
light: string;
|
|
1738
|
+
dark: string;
|
|
1739
|
+
};
|
|
1740
|
+
colorChartsPink600: {
|
|
1741
|
+
light: string;
|
|
1742
|
+
dark: string;
|
|
1743
|
+
};
|
|
1744
|
+
colorChartsPink700: {
|
|
1745
|
+
light: string;
|
|
1746
|
+
dark: string;
|
|
1747
|
+
};
|
|
1748
|
+
colorChartsPink800: {
|
|
1749
|
+
light: string;
|
|
1750
|
+
dark: string;
|
|
1751
|
+
};
|
|
1752
|
+
colorChartsPink900: {
|
|
1753
|
+
light: string;
|
|
1754
|
+
dark: string;
|
|
1755
|
+
};
|
|
1756
|
+
colorChartsPink1000: {
|
|
1757
|
+
light: string;
|
|
1758
|
+
dark: string;
|
|
1759
|
+
};
|
|
1760
|
+
colorChartsPink1100: {
|
|
1761
|
+
light: string;
|
|
1762
|
+
dark: string;
|
|
1763
|
+
};
|
|
1764
|
+
colorChartsPink1200: {
|
|
1765
|
+
light: string;
|
|
1766
|
+
dark: string;
|
|
1767
|
+
};
|
|
1768
|
+
colorChartsStatusCritical: {
|
|
1769
|
+
light: string;
|
|
1770
|
+
dark: string;
|
|
1771
|
+
};
|
|
1772
|
+
colorChartsStatusHigh: {
|
|
1773
|
+
light: string;
|
|
1774
|
+
dark: string;
|
|
1775
|
+
};
|
|
1776
|
+
colorChartsStatusMedium: {
|
|
1777
|
+
light: string;
|
|
1778
|
+
dark: string;
|
|
1779
|
+
};
|
|
1780
|
+
colorChartsStatusLow: {
|
|
1781
|
+
light: string;
|
|
1782
|
+
dark: string;
|
|
1783
|
+
};
|
|
1784
|
+
colorChartsStatusPositive: {
|
|
1785
|
+
light: string;
|
|
1786
|
+
dark: string;
|
|
1787
|
+
};
|
|
1788
|
+
colorChartsStatusInfo: {
|
|
1789
|
+
light: string;
|
|
1790
|
+
dark: string;
|
|
1791
|
+
};
|
|
1792
|
+
colorChartsStatusNeutral: string | ColorTokenValue;
|
|
1793
|
+
colorChartsThresholdNegative: string | ColorTokenValue;
|
|
1794
|
+
colorChartsThresholdPositive: string | ColorTokenValue;
|
|
1795
|
+
colorChartsThresholdInfo: string | ColorTokenValue;
|
|
1796
|
+
colorChartsThresholdNeutral: string | ColorTokenValue;
|
|
1797
|
+
colorChartsLineGrid: {
|
|
1798
|
+
light: string;
|
|
1799
|
+
dark: string;
|
|
1800
|
+
};
|
|
1801
|
+
colorChartsLineTick: string;
|
|
1802
|
+
colorChartsLineAxis: {
|
|
1803
|
+
light: string;
|
|
1804
|
+
dark: string;
|
|
1805
|
+
};
|
|
1806
|
+
colorChartsLabelAxis: {
|
|
1807
|
+
light: string;
|
|
1808
|
+
dark: string;
|
|
1809
|
+
};
|
|
1810
|
+
colorChartsPaletteCategorical1: string;
|
|
1811
|
+
colorChartsPaletteCategorical2: string;
|
|
1812
|
+
colorChartsPaletteCategorical3: string;
|
|
1813
|
+
colorChartsPaletteCategorical4: string;
|
|
1814
|
+
colorChartsPaletteCategorical5: string;
|
|
1815
|
+
colorChartsPaletteCategorical6: string;
|
|
1816
|
+
colorChartsPaletteCategorical7: string;
|
|
1817
|
+
colorChartsPaletteCategorical8: string;
|
|
1818
|
+
colorChartsPaletteCategorical9: string;
|
|
1819
|
+
colorChartsPaletteCategorical10: string;
|
|
1820
|
+
colorChartsPaletteCategorical11: string;
|
|
1821
|
+
colorChartsPaletteCategorical12: string;
|
|
1822
|
+
colorChartsPaletteCategorical13: string;
|
|
1823
|
+
colorChartsPaletteCategorical14: string;
|
|
1824
|
+
colorChartsPaletteCategorical15: string;
|
|
1825
|
+
colorChartsPaletteCategorical16: string;
|
|
1826
|
+
colorChartsPaletteCategorical17: string;
|
|
1827
|
+
colorChartsPaletteCategorical18: string;
|
|
1828
|
+
colorChartsPaletteCategorical19: string;
|
|
1829
|
+
colorChartsPaletteCategorical20: string;
|
|
1830
|
+
colorChartsPaletteCategorical21: string;
|
|
1831
|
+
colorChartsPaletteCategorical22: string;
|
|
1832
|
+
colorChartsPaletteCategorical23: string;
|
|
1833
|
+
colorChartsPaletteCategorical24: string;
|
|
1834
|
+
colorChartsPaletteCategorical25: string;
|
|
1835
|
+
colorChartsPaletteCategorical26: string;
|
|
1836
|
+
colorChartsPaletteCategorical27: string;
|
|
1837
|
+
colorChartsPaletteCategorical28: string;
|
|
1838
|
+
colorChartsPaletteCategorical29: string;
|
|
1839
|
+
colorChartsPaletteCategorical30: string;
|
|
1840
|
+
colorChartsPaletteCategorical31: string;
|
|
1841
|
+
colorChartsPaletteCategorical32: string;
|
|
1842
|
+
colorChartsPaletteCategorical33: string;
|
|
1843
|
+
colorChartsPaletteCategorical34: string;
|
|
1844
|
+
colorChartsPaletteCategorical35: string;
|
|
1845
|
+
colorChartsPaletteCategorical36: string;
|
|
1846
|
+
colorChartsPaletteCategorical37: string;
|
|
1847
|
+
colorChartsPaletteCategorical38: string;
|
|
1848
|
+
colorChartsPaletteCategorical39: string;
|
|
1849
|
+
colorChartsPaletteCategorical40: string;
|
|
1850
|
+
colorChartsPaletteCategorical41: string;
|
|
1851
|
+
colorChartsPaletteCategorical42: string;
|
|
1852
|
+
colorChartsPaletteCategorical43: string;
|
|
1853
|
+
colorChartsPaletteCategorical44: string;
|
|
1854
|
+
colorChartsPaletteCategorical45: string;
|
|
1855
|
+
colorChartsPaletteCategorical46: string;
|
|
1856
|
+
colorChartsPaletteCategorical47: string;
|
|
1857
|
+
colorChartsPaletteCategorical48: string;
|
|
1858
|
+
colorChartsPaletteCategorical49: string;
|
|
1859
|
+
colorChartsPaletteCategorical50: string;
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
declare type RawColorTokenValue = string | ColorTokenValue;
|
|
1863
|
+
|
|
1864
|
+
export { RcFile }
|
|
1865
|
+
|
|
1866
|
+
export declare type RcSegmentedValue = string | number;
|
|
1867
|
+
|
|
1868
|
+
export declare function reactNodeToString(node: ReactNode): string;
|
|
1869
|
+
|
|
1870
|
+
export { RefSelectProps }
|
|
1871
|
+
|
|
1872
|
+
declare type RefType<T extends FieldType> = T extends "input" ? InputRef : T extends "select" ? RefSelectProps_2 : never;
|
|
1873
|
+
|
|
1874
|
+
export { Result }
|
|
1875
|
+
|
|
1876
|
+
export { ResultProps }
|
|
1877
|
+
|
|
1878
|
+
export { Row }
|
|
1879
|
+
|
|
1880
|
+
export { RowProps }
|
|
1881
|
+
|
|
1882
|
+
export declare const ScrollArea: ({ children, className, classNames, orientation, }: ScrollAreaProps) => JSX.Element;
|
|
1883
|
+
|
|
1884
|
+
export declare interface ScrollAreaProps {
|
|
1885
|
+
children: ReactNode;
|
|
1886
|
+
/**
|
|
1887
|
+
* Additional class name for the root component
|
|
1888
|
+
*/
|
|
1889
|
+
className?: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Custom class names for each part of the scroll area
|
|
1892
|
+
*/
|
|
1893
|
+
classNames?: {
|
|
1894
|
+
/**
|
|
1895
|
+
* Class name for the viewport element
|
|
1896
|
+
*/
|
|
1897
|
+
viewport?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Class name for the scrollbar element
|
|
1900
|
+
*/
|
|
1901
|
+
scrollbar?: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* Class name for the thumb element
|
|
1904
|
+
*/
|
|
1905
|
+
thumb?: string;
|
|
1906
|
+
};
|
|
1907
|
+
/**
|
|
1908
|
+
* Orientation of the scrollbar
|
|
1909
|
+
* @default "vertical"
|
|
1910
|
+
*/
|
|
1911
|
+
orientation?: "vertical" | "horizontal";
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
declare const SearchInner: (props: SearchProps, ref: React.Ref<InputRef>) => JSX.Element;
|
|
1915
|
+
|
|
1916
|
+
export declare interface SearchProps extends SearchProps_2 {
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
export declare const Segmented: <T = RcSegmentedValue>(props: SegmentedProps<T> & {
|
|
1920
|
+
ref?: React.Ref<React.ComponentRef<typeof default_5>>;
|
|
1921
|
+
}) => ReturnType<typeof MainSegmentedInner>;
|
|
1922
|
+
|
|
1923
|
+
export declare interface SegmentedProps<T = RcSegmentedValue> extends SegmentedProps_2<T> {
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
export declare const Select: (<ValueType = unknown, OptionType extends SelectBaseOptionType | SelectDefaultOptionType = SelectDefaultOptionType>(props: SelectProps<ValueType, OptionType> & {
|
|
1927
|
+
ref?: default_2.ForwardedRef<default_2.ComponentRef<typeof default_3>>;
|
|
1928
|
+
}) => ReturnType<typeof MainSelectInner>) & {
|
|
1929
|
+
Option: OptionFC;
|
|
1930
|
+
OptGroup: OptionGroupFC;
|
|
1931
|
+
};
|
|
1932
|
+
|
|
1933
|
+
export { SelectBaseOptionType }
|
|
1934
|
+
|
|
1935
|
+
export { SelectDefaultOptionType }
|
|
1936
|
+
|
|
1937
|
+
declare type SelectFieldProps = BaseFieldProps & {
|
|
1938
|
+
type: "select";
|
|
1939
|
+
selectProps: SelectProps_3;
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
export declare interface SelectProps<ValueType = unknown, OptionType extends SelectBaseOptionType | SelectDefaultOptionType = SelectDefaultOptionType> extends SelectProps_2<ValueType, OptionType> {
|
|
1943
|
+
/**
|
|
1944
|
+
* Whether to enhance the positioner using floating-ui
|
|
1945
|
+
* @default false
|
|
1946
|
+
*/
|
|
1947
|
+
enhancePositioner?: boolean;
|
|
1948
|
+
/**
|
|
1949
|
+
* Size of the popup panel
|
|
1950
|
+
* Will be ignored if enhancePositioner is false
|
|
1951
|
+
*/
|
|
1952
|
+
popupSize?: string | number | PopupPanelSize;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
export { SiderProps }
|
|
1956
|
+
|
|
1957
|
+
export { Skeleton }
|
|
1958
|
+
|
|
1959
|
+
export { SkeletonProps }
|
|
1960
|
+
|
|
1961
|
+
export declare const Slider: ({ className, tooltip, style, ...rest }: SliderProps) => JSX.Element;
|
|
1962
|
+
|
|
1963
|
+
export declare type SliderProps = SliderSingleProps_2 | SliderRangeProps;
|
|
1964
|
+
|
|
1965
|
+
export { SliderRangeProps }
|
|
1966
|
+
|
|
1967
|
+
export { SliderSingleProps }
|
|
1968
|
+
|
|
1969
|
+
export { Space }
|
|
1970
|
+
|
|
1971
|
+
export { SpaceProps }
|
|
1972
|
+
|
|
1973
|
+
export declare const Spin: ({ indicator, ...rest }: SpinProps) => JSX.Element;
|
|
1974
|
+
|
|
1975
|
+
export declare type SpinProps = SpinProps_2;
|
|
1976
|
+
|
|
1977
|
+
export declare const Split: default_2.FC<SplitterProps> & {
|
|
1978
|
+
Panel: default_2.FC<SplitterPanelProps>;
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
export declare const Splitter: default_2.FC<SplitterProps> & {
|
|
1982
|
+
Panel: default_2.FC<SplitterPanelProps>;
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
export declare type SplitterPanelProps = default_2.PropsWithChildren<PanelProps>;
|
|
1986
|
+
|
|
1987
|
+
export declare type SplitterProps = default_2.PropsWithChildren<SplitterProps_2> & {
|
|
1988
|
+
showSplitBar?: boolean;
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
export declare const Stack: FC<StackProps> & {
|
|
1992
|
+
Child: FC<StackChildProps>;
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
export declare const StackChild: default_2.FC<StackChildProps>;
|
|
1996
|
+
|
|
1997
|
+
export declare interface StackChildProps extends StackProps {
|
|
1998
|
+
/**
|
|
1999
|
+
* CSS flex property value (e.g. "1", "1 0 auto", "0 1 auto")
|
|
2000
|
+
* When boolean: true = 1, false = 0
|
|
2001
|
+
* @default undefined
|
|
2002
|
+
*/
|
|
2003
|
+
flex?: string | number | boolean;
|
|
2004
|
+
/**
|
|
2005
|
+
* Whether this child should grow to fill available space
|
|
2006
|
+
* @default false
|
|
2007
|
+
*/
|
|
2008
|
+
grow?: boolean;
|
|
2009
|
+
/**
|
|
2010
|
+
* Whether this child should shrink if necessary
|
|
2011
|
+
* @default false
|
|
2012
|
+
*/
|
|
2013
|
+
shrink?: boolean;
|
|
2014
|
+
/**
|
|
2015
|
+
* Children of the stack child
|
|
2016
|
+
*/
|
|
2017
|
+
children?: default_2.ReactNode;
|
|
2018
|
+
/**
|
|
2019
|
+
* Whether to render the child with a stack wrapper
|
|
2020
|
+
* @default false
|
|
2021
|
+
*/
|
|
2022
|
+
stack?: boolean;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
declare type StackGap = 0 | 1 | 2 | 4 | 8 | 12 | 16 | 24;
|
|
2026
|
+
|
|
2027
|
+
export declare interface StackProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
2028
|
+
/**
|
|
2029
|
+
* Whether the stack should hug its content (inline-flex) instead of filling available space
|
|
2030
|
+
* @default false
|
|
2031
|
+
*/
|
|
2032
|
+
hug?: boolean;
|
|
2033
|
+
/**
|
|
2034
|
+
* Vertical alignment of items within the stack
|
|
2035
|
+
* @default "flex-start"
|
|
2036
|
+
*/
|
|
2037
|
+
align?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
2038
|
+
/**
|
|
2039
|
+
* Horizontal alignment of items within the stack
|
|
2040
|
+
* @default "flex-start"
|
|
2041
|
+
*/
|
|
2042
|
+
justify?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
2043
|
+
/**
|
|
2044
|
+
* Whether the stack should render items vertically
|
|
2045
|
+
* @default false
|
|
2046
|
+
*/
|
|
2047
|
+
vertical?: boolean;
|
|
2048
|
+
/**
|
|
2049
|
+
* Gap between stack items in pixels
|
|
2050
|
+
* @default 0
|
|
2051
|
+
*/
|
|
2052
|
+
gap?: StackGap;
|
|
2053
|
+
/**
|
|
2054
|
+
* Wrap items to multiple lines if needed
|
|
2055
|
+
* @default false
|
|
2056
|
+
*/
|
|
2057
|
+
wrap?: boolean;
|
|
2058
|
+
/**
|
|
2059
|
+
* Children of the stack
|
|
2060
|
+
*/
|
|
2061
|
+
children?: default_2.ReactNode;
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
export { Statistic }
|
|
2065
|
+
|
|
2066
|
+
export { StatisticProps }
|
|
2067
|
+
|
|
2068
|
+
export { StepProps }
|
|
2069
|
+
|
|
2070
|
+
export { Steps }
|
|
2071
|
+
|
|
2072
|
+
export { StepsProps }
|
|
2073
|
+
|
|
2074
|
+
export { SubMenuProps }
|
|
2075
|
+
|
|
2076
|
+
export declare const Switch: (props: SwitchProps & {
|
|
2077
|
+
ref?: React.ForwardedRef<React.ComponentRef<typeof default_4>>;
|
|
2078
|
+
}) => ReturnType<typeof MainSwitchInner>;
|
|
2079
|
+
|
|
2080
|
+
export declare interface SwitchProps extends SwitchProps_2 {
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
export declare const Table: typeof InternalTable & {
|
|
2084
|
+
Column: typeof default_6.Column;
|
|
2085
|
+
ColumnGroup: typeof default_6.ColumnGroup;
|
|
2086
|
+
SELECTION_COLUMN: typeof default_6.SELECTION_COLUMN;
|
|
2087
|
+
EXPAND_COLUMN: typeof default_6.EXPAND_COLUMN;
|
|
2088
|
+
SELECTION_ALL: typeof default_6.SELECTION_ALL;
|
|
2089
|
+
SELECTION_INVERT: typeof default_6.SELECTION_INVERT;
|
|
2090
|
+
SELECTION_NONE: typeof default_6.SELECTION_NONE;
|
|
2091
|
+
Summary: typeof default_6.Summary;
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2094
|
+
export { TableColumnGroupType }
|
|
2095
|
+
|
|
2096
|
+
export { TableColumnProps }
|
|
2097
|
+
|
|
2098
|
+
export { TableColumnsType }
|
|
2099
|
+
|
|
2100
|
+
export { TableColumnType }
|
|
2101
|
+
|
|
2102
|
+
export { TablePaginationConfig }
|
|
2103
|
+
|
|
2104
|
+
export { TableProps }
|
|
2105
|
+
|
|
2106
|
+
declare interface TableProps_2<RecordType extends object = object> extends TableProps_3<RecordType> {
|
|
2107
|
+
/**
|
|
2108
|
+
* Add empty description for the table
|
|
2109
|
+
*/
|
|
2110
|
+
emptyDescription?: React.ReactNode;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
export { TabPaneProps }
|
|
2114
|
+
|
|
2115
|
+
export { Tabs }
|
|
2116
|
+
|
|
2117
|
+
export { TabsProps }
|
|
2118
|
+
|
|
2119
|
+
export declare const Tag: (({ className, active, color, style, closeIcon, closable, ...rest }: TagProps_2) => JSX.Element) & {
|
|
2120
|
+
CheckableTag: ForwardRefExoticComponent<CheckableTagProps & RefAttributes<HTMLSpanElement>>;
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
export { TagProps }
|
|
2124
|
+
|
|
2125
|
+
declare interface TagProps_2 extends TagProps_3 {
|
|
2126
|
+
/**
|
|
2127
|
+
* Indicates if the tag is active
|
|
2128
|
+
* @default false
|
|
2129
|
+
*/
|
|
2130
|
+
active?: boolean;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
export { TagType }
|
|
2134
|
+
|
|
2135
|
+
declare const TextAreaInner: (props: TextAreaProps, ref: React.Ref<HTMLTextAreaElement>) => JSX.Element;
|
|
2136
|
+
|
|
2137
|
+
export declare interface TextAreaProps extends TextAreaProps_2 {
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
export { theme }
|
|
2141
|
+
|
|
2142
|
+
export { ThemeConfig }
|
|
2143
|
+
|
|
2144
|
+
export declare const ThemeProvider: ({ theme, appendClassesTo, children, }: ThemeProviderProps) => JSX.Element;
|
|
2145
|
+
|
|
2146
|
+
export declare interface ThemeProviderProps extends Omit<ConfigProviderProps_2, "theme" | "prefixCls"> {
|
|
2147
|
+
theme: "light" | "dark";
|
|
2148
|
+
appendClassesTo?: string | HTMLElement;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export { Timeline }
|
|
2152
|
+
|
|
2153
|
+
export { TimelineItemProps }
|
|
2154
|
+
|
|
2155
|
+
export { TimelineProps }
|
|
2156
|
+
|
|
2157
|
+
export { TimePicker }
|
|
2158
|
+
|
|
2159
|
+
export { TimePickerProps }
|
|
2160
|
+
|
|
2161
|
+
export { TimeRangePickerProps }
|
|
2162
|
+
|
|
2163
|
+
export declare const Toast: typeof InnerToast & {
|
|
2164
|
+
List: typeof ToastList;
|
|
2165
|
+
Provider: typeof ToastProvider;
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
export declare const toast: ((message: string, options?: Omit<Toast_2.useToastManager.AddOptions<ToastData>, "data" | "description">) => string) & {
|
|
2169
|
+
info: (message: string, options?: Omit<Toast_2.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
|
|
2170
|
+
success: (message: string, options?: Omit<Toast_2.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
|
|
2171
|
+
error: (message: string, options?: Omit<Toast_2.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
|
|
2172
|
+
warning: (message: string, options?: Omit<Toast_2.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
|
|
2173
|
+
progress: (message: string, options?: Omit<Toast_2.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
|
|
2174
|
+
};
|
|
2175
|
+
|
|
2176
|
+
export declare type ToastData = {
|
|
2177
|
+
type: "info" | "success" | "error" | "warning" | "progress";
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
declare function ToastList({ className }: {
|
|
2181
|
+
className?: string;
|
|
2182
|
+
}): JSX.Element;
|
|
2183
|
+
|
|
2184
|
+
export declare const toastManager: Toast_2.createToastManager.ToastManager;
|
|
2185
|
+
|
|
2186
|
+
declare function ToastProvider(props: Toast_2.Provider.Props): JSX.Element;
|
|
2187
|
+
|
|
2188
|
+
export declare const Tooltip: ({ className, style, arrow, ...rest }: TooltipProps) => JSX.Element;
|
|
2189
|
+
|
|
2190
|
+
export declare type TooltipProps = TooltipProps_2 & {
|
|
2191
|
+
/**
|
|
2192
|
+
* Arrow config for of the tooltip
|
|
2193
|
+
* @default false
|
|
2194
|
+
*/
|
|
2195
|
+
arrow?: TooltipProps_2["arrow"];
|
|
2196
|
+
};
|
|
2197
|
+
|
|
2198
|
+
export declare const Tour: ({ indicatorsRender, ...rest }: TourProps) => JSX.Element;
|
|
2199
|
+
|
|
2200
|
+
export declare interface TourProps extends TourProps_2 {
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
export declare interface TourStepProps extends TourStepProps_2 {
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
export { Transfer }
|
|
2207
|
+
|
|
2208
|
+
export { TransferProps }
|
|
2209
|
+
|
|
2210
|
+
export declare const Transition: (props: TransitionProps) => ReactElement<unknown, string | JSXElementConstructor<any>>;
|
|
2211
|
+
|
|
2212
|
+
export declare interface TransitionProps extends Omit<useRender.ComponentProps<"div">, "render" | "children"> {
|
|
2213
|
+
/** Whether the component should be shown */
|
|
2214
|
+
show?: boolean;
|
|
2215
|
+
/** CSS classes to apply when the component is opened */
|
|
2216
|
+
starting?: string | CSSProperties;
|
|
2217
|
+
/** CSS classes to apply when the component is closed */
|
|
2218
|
+
ending?: string | CSSProperties;
|
|
2219
|
+
/** CSS classes to apply to the component */
|
|
2220
|
+
className?: string;
|
|
2221
|
+
/** Child component to render */
|
|
2222
|
+
children: useRender.ComponentProps<"div">["render"];
|
|
2223
|
+
/** Keep mounted */
|
|
2224
|
+
keepMounted?: boolean;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
export declare const Tree: (<T extends DataNode = DataNode>(props: TreeProps<T> & {
|
|
2228
|
+
ref?: React.ForwardedRef<React.ComponentRef<typeof default_7<T>>>;
|
|
2229
|
+
}) => ReturnType<typeof MainTreeInner<T>>) & {
|
|
2230
|
+
DirectoryTree: <T extends DataNode = DataNode>(props: DirectoryTreeProps<T> & {
|
|
2231
|
+
ref?: React.ForwardedRef<React.ComponentRef<typeof default_7<T>>>;
|
|
2232
|
+
}) => ReturnType<typeof DirectoryTreeInner<T>>;
|
|
2233
|
+
TreeNode: FC<Readonly<TreeNodeProps<DataNode>>>;
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
export declare type TreeDataNode = DataNode;
|
|
2237
|
+
|
|
2238
|
+
export declare interface TreeProps<T extends DataNode = TreeDataNode> extends Omit<TreeProps_2<T>, "treeData" | "expandedKeys" | "defaultExpandedKeys" | "onExpand" | "checkedKeys" | "defaultCheckedKeys" | "onCheck" | "draggable"> {
|
|
2239
|
+
treeData?: T[];
|
|
2240
|
+
expandedKeys?: Key[];
|
|
2241
|
+
defaultExpandedKeys?: Key[];
|
|
2242
|
+
onExpand?: (expandedKeys: Key[], info: ExpandInfo<T>) => void;
|
|
2243
|
+
checkedKeys?: Key[] | {
|
|
2244
|
+
checked: Key[];
|
|
2245
|
+
halfChecked: Key[];
|
|
2246
|
+
};
|
|
2247
|
+
defaultCheckedKeys?: Key[];
|
|
2248
|
+
onCheck?: (checkedKeys: Key[], info: CheckInfo<T> & {
|
|
2249
|
+
triggeredOriginalKey?: Key;
|
|
2250
|
+
}) => void;
|
|
2251
|
+
allowDuplicatedKeys?: boolean;
|
|
2252
|
+
/** Draggable configuration for tree items */
|
|
2253
|
+
draggable?: TreeProps_2<T>["draggable"];
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
export { TreeSelect }
|
|
2257
|
+
|
|
2258
|
+
export { TreeSelectProps }
|
|
2259
|
+
|
|
2260
|
+
export declare const Truncate: default_2.FC<TruncateProps>;
|
|
2261
|
+
|
|
2262
|
+
export declare type TruncatePosition = "middle" | "end";
|
|
2263
|
+
|
|
2264
|
+
export declare interface TruncateProps extends Omit<default_2.ComponentPropsWithoutRef<"span">, "title"> {
|
|
2265
|
+
/** Text content to be truncated */
|
|
2266
|
+
children: string;
|
|
2267
|
+
/** Where to truncate the text: start, middle, or end */
|
|
2268
|
+
position?: TruncatePosition;
|
|
2269
|
+
/** Number of lines to display before truncating (default: 1, 'auto' to fit parent height) */
|
|
2270
|
+
lines?: number | "auto";
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
export { Typography }
|
|
2274
|
+
|
|
2275
|
+
export { TypographyProps }
|
|
2276
|
+
|
|
2277
|
+
export { unstableSetRender }
|
|
2278
|
+
|
|
2279
|
+
export declare const Upload: (({ showRemoveButton, className, fileList, children, ...restProps }: UploadProps) => JSX.Element) & {
|
|
2280
|
+
Dragger: ({ children, uploadTitle, uploadDescription, itemRender, ...rest }: DraggerProps) => JSX.Element;
|
|
2281
|
+
Item: ({ fileName, fileType, status, percent, removable, onRemove, extraActions, }: UploadItemProps) => JSX.Element;
|
|
2282
|
+
};
|
|
2283
|
+
|
|
2284
|
+
export { UploadChangeParam }
|
|
2285
|
+
|
|
2286
|
+
export { UploadFile }
|
|
2287
|
+
|
|
2288
|
+
export declare type UploadFileStatus = "error" | "done" | "uploading" | "removed" | "pending";
|
|
2289
|
+
|
|
2290
|
+
export declare interface UploadItemProps {
|
|
2291
|
+
fileName: string;
|
|
2292
|
+
fileType?: string;
|
|
2293
|
+
status?: UploadFileStatus;
|
|
2294
|
+
percent?: number;
|
|
2295
|
+
removable?: boolean;
|
|
2296
|
+
onRemove?: () => void;
|
|
2297
|
+
extraActions?: React.ReactNode;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
export declare interface UploadProps extends UploadProps_2 {
|
|
2301
|
+
/**
|
|
2302
|
+
* Show remove button for uploaded files
|
|
2303
|
+
* @default true
|
|
2304
|
+
*/
|
|
2305
|
+
showRemoveButton?: boolean;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
export declare function useAnimationsFinished(ref: React.RefObject<HTMLElement | null>, waitForNextTick?: boolean): (fnToExecute: () => void) => void;
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @returns the antd classname providing css variables
|
|
2313
|
+
*/
|
|
2314
|
+
export declare const useAntdCssVarClassname: () => string;
|
|
2315
|
+
|
|
2316
|
+
export { useApp }
|
|
2317
|
+
|
|
2318
|
+
export declare const useBreakpoint: () => Partial<Record<Breakpoint, boolean>>;
|
|
2319
|
+
|
|
2320
|
+
export declare const useCharts: () => {
|
|
2321
|
+
axisLineColor: string;
|
|
2322
|
+
splitLineColor: string;
|
|
2323
|
+
axisLabelColor: string;
|
|
2324
|
+
categoricalColors: string[];
|
|
2325
|
+
echartsAxisConfig: {
|
|
2326
|
+
axisLine: {
|
|
2327
|
+
lineStyle: {
|
|
2328
|
+
color: string;
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
splitLine: {
|
|
2332
|
+
lineStyle: {
|
|
2333
|
+
color: string;
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
axisLabel: {
|
|
2337
|
+
color: string;
|
|
2338
|
+
fontFamily: string;
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
|
|
2343
|
+
export declare const useCls: () => (...args: ClassValue[]) => string;
|
|
2344
|
+
|
|
2345
|
+
export declare function useControlledState<T>(value: T | undefined, onChange: ((value: T, ...args: any[]) => void) | undefined, defaultValue: T | undefined): [T, React.Dispatch<React.SetStateAction<T>>];
|
|
2346
|
+
|
|
2347
|
+
export declare const useEnhancedEffect: typeof useLayoutEffect;
|
|
2348
|
+
|
|
2349
|
+
export declare function useEventCallback<Fn extends AnyFunction>(fn?: Fn): Fn;
|
|
2350
|
+
|
|
2351
|
+
export { useForm }
|
|
2352
|
+
|
|
2353
|
+
export declare const useGetPrefixCls: () => {
|
|
2354
|
+
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
2355
|
+
};
|
|
2356
|
+
|
|
2357
|
+
export declare function useLatestRef<T>(value: T): RefObject<T>;
|
|
2358
|
+
|
|
2359
|
+
export declare const useMessage: () => MessageInstance;
|
|
2360
|
+
|
|
2361
|
+
export declare const useModal: () => HookAPI;
|
|
2362
|
+
|
|
2363
|
+
export declare const useToken: () => {
|
|
2364
|
+
theme: Theme<SeedToken, AliasToken>;
|
|
2365
|
+
token: GlobalToken_2;
|
|
2366
|
+
hashId: string;
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
export declare const useUniqueKeysTree: <T extends DataNode>({ treeData: originTreeData, expandedKeys, defaultExpandedKeys, onExpand, checkedKeys, defaultCheckedKeys, onCheck, allowDuplicatedKeys, }: UseUniqueKeysTreeProps<T>) => {
|
|
2370
|
+
processedTreeData: T[];
|
|
2371
|
+
currentUniqueExpandedKeys: Key[];
|
|
2372
|
+
currentUniqueCheckedKeys: Key[];
|
|
2373
|
+
handleAntTreeExpand: (uniqueKeys: readonly Key[], info: {
|
|
2374
|
+
node: EventDataNode<T>;
|
|
2375
|
+
expanded: boolean;
|
|
2376
|
+
nativeEvent: MouseEvent;
|
|
2377
|
+
}) => void;
|
|
2378
|
+
handleAntTreeCheck: (checkedInfoOrKeys: readonly Key[] | {
|
|
2379
|
+
checked: readonly Key[];
|
|
2380
|
+
halfChecked: readonly Key[];
|
|
2381
|
+
}, info: CheckInfo<T>) => void;
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
declare interface UseUniqueKeysTreeProps<T extends DataNode> {
|
|
2385
|
+
treeData: T[] | undefined;
|
|
2386
|
+
expandedKeys?: Key[];
|
|
2387
|
+
defaultExpandedKeys?: Key[];
|
|
2388
|
+
onExpand?: (expandedKeys: Key[], info: ExpandInfo<T>) => void;
|
|
2389
|
+
checkedKeys?: Key[] | {
|
|
2390
|
+
checked: Key[];
|
|
2391
|
+
halfChecked: Key[];
|
|
2392
|
+
};
|
|
2393
|
+
defaultCheckedKeys?: Key[];
|
|
2394
|
+
onCheck?: (checkedKeys: Key[], info: CheckInfo<T> & {
|
|
2395
|
+
triggeredOriginalKey?: Key;
|
|
2396
|
+
}) => void;
|
|
2397
|
+
allowDuplicatedKeys?: boolean;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
export declare const useUploadItemRender: (props: UseUploadItemRenderProps) => UploadProps_2["itemRender"];
|
|
2401
|
+
|
|
2402
|
+
export declare type UseUploadItemRenderProps = {
|
|
2403
|
+
showRemoveButton?: boolean;
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
export { useWatch }
|
|
2407
|
+
|
|
2408
|
+
export { version }
|
|
2409
|
+
|
|
2410
|
+
export declare const VerticalCollapsiblePanel: default_2.FC<VerticalCollapsiblePanelProps>;
|
|
2411
|
+
|
|
2412
|
+
export declare interface VerticalCollapsiblePanelProps {
|
|
2413
|
+
/**
|
|
2414
|
+
* The content of the panel that will be toggled
|
|
2415
|
+
*/
|
|
2416
|
+
children: default_2.ReactNode;
|
|
2417
|
+
/**
|
|
2418
|
+
* The header of the panel
|
|
2419
|
+
*/
|
|
2420
|
+
title?: default_2.ReactNode;
|
|
2421
|
+
/**
|
|
2422
|
+
* Indicate if the title should be used as a trigger
|
|
2423
|
+
* @default true
|
|
2424
|
+
*/
|
|
2425
|
+
useTitleAsTrigger?: boolean;
|
|
2426
|
+
/**
|
|
2427
|
+
* Custom Content Padding
|
|
2428
|
+
* @default "24px"
|
|
2429
|
+
*/
|
|
2430
|
+
contentPadding?: number | string | boolean;
|
|
2431
|
+
/**
|
|
2432
|
+
* Add more content below the title
|
|
2433
|
+
* Only show when panel is open
|
|
2434
|
+
*/
|
|
2435
|
+
afterTitle?: default_2.ReactNode;
|
|
2436
|
+
/**
|
|
2437
|
+
* Whether the panel is expanded by default
|
|
2438
|
+
*/
|
|
2439
|
+
defaultOpen?: boolean;
|
|
2440
|
+
/**
|
|
2441
|
+
* Control the open state (makes the component controlled)
|
|
2442
|
+
*/
|
|
2443
|
+
open?: boolean;
|
|
2444
|
+
/**
|
|
2445
|
+
* Callback when the open state changes
|
|
2446
|
+
*/
|
|
2447
|
+
onOpenChange?: (open: boolean) => void;
|
|
2448
|
+
/**
|
|
2449
|
+
* Additional class name for the component
|
|
2450
|
+
*/
|
|
2451
|
+
className?: string;
|
|
2452
|
+
/**
|
|
2453
|
+
* Addtional class name for the header
|
|
2454
|
+
*/
|
|
2455
|
+
headerClassName?: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* Addtional class name for the header
|
|
2458
|
+
*/
|
|
2459
|
+
headerInnerClassName?: string;
|
|
2460
|
+
/**
|
|
2461
|
+
* Addtional class name for the body
|
|
2462
|
+
* */
|
|
2463
|
+
bodyClassName?: string;
|
|
2464
|
+
/**
|
|
2465
|
+
* Actions to be displayed in the header
|
|
2466
|
+
* Only show when panel is open
|
|
2467
|
+
*/
|
|
2468
|
+
actions?: default_2.ReactNode;
|
|
2469
|
+
/**
|
|
2470
|
+
* Keeping it as mounted, just hide the content
|
|
2471
|
+
*/
|
|
2472
|
+
keepMounted?: boolean;
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
export { Watermark }
|
|
2476
|
+
|
|
2477
|
+
export { WatermarkProps }
|
|
2478
|
+
|
|
2479
|
+
export declare type WidthAntdTokensProps<T extends IntrinsicElement> = {
|
|
2480
|
+
as?: IntrinsicElement;
|
|
2481
|
+
} & ComponentProps<T>;
|
|
2482
|
+
|
|
2483
|
+
export declare const WithAntdTokens: <T extends IntrinsicElement = "div">({ as: Tag, ref, className, ...rest }: WidthAntdTokensProps<T>) => ReactElement<unknown, string | JSXElementConstructor<any>>;
|
|
2484
|
+
|
|
2485
|
+
declare type WithHrefProps<E extends ElementType = "a"> = IconButtonBaseProps & {
|
|
2486
|
+
href: string;
|
|
2487
|
+
as?: E;
|
|
2488
|
+
} & AnchorSpecificProps;
|
|
2489
|
+
|
|
2490
|
+
declare type WithoutHrefProps<E extends ElementType = "button"> = IconButtonBaseProps & {
|
|
2491
|
+
href?: undefined;
|
|
2492
|
+
as?: E;
|
|
2493
|
+
} & {
|
|
2494
|
+
[K in keyof AnchorSpecificProps]?: never;
|
|
2495
|
+
};
|
|
2496
|
+
|
|
2497
|
+
export { }
|