@zscloud/design 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/_icon/app-icon.d.ts +8 -0
- package/dist/_icon/app-icons-mapping.d.ts +230 -0
- package/dist/_icon/icon.d.ts +12 -0
- package/dist/_icon/icons-mapping.d.ts +3866 -0
- package/dist/_icon/index.d.ts +3 -0
- package/dist/_icon/type.d.ts +14 -0
- package/dist/_utils.d.ts +17 -0
- package/dist/components/biz/app-base/index.d.ts +18 -0
- package/dist/components/biz/config/index.d.ts +15 -0
- package/dist/components/biz/constant/index.d.ts +8 -0
- package/dist/components/biz/copy/index.d.ts +6 -0
- package/dist/components/biz/date-value.d.ts +5 -0
- package/dist/components/biz/dropdown-action/index.d.ts +16 -0
- package/dist/components/biz/field/field-group.d.ts +5 -0
- package/dist/components/biz/field/field-operations.d.ts +9 -0
- package/dist/components/biz/field/index.d.ts +33 -0
- package/dist/components/biz/file-upload/index.d.ts +1 -0
- package/dist/components/biz/file-upload/types.d.ts +6 -0
- package/dist/components/biz/file-upload/utils/calc-file-hash.d.ts +36 -0
- package/dist/components/biz/file-upload/utils/request.d.ts +24 -0
- package/dist/components/biz/file-upload/worker/hash.worker.d.ts +0 -0
- package/dist/components/biz/file-upload/worker/simple-hash.work.d.ts +0 -0
- package/dist/components/biz/header/header-breadcrumb.d.ts +12 -0
- package/dist/components/biz/header/header-detail.d.ts +11 -0
- package/dist/components/biz/header/header-page.d.ts +8 -0
- package/dist/components/biz/header/index.d.ts +3 -0
- package/dist/components/biz/helper-doc/index.d.ts +8 -0
- package/dist/components/biz/hooks/use-admin-uuid.d.ts +1 -0
- package/dist/components/biz/info/index.d.ts +55 -0
- package/dist/components/biz/info-popover/index.d.ts +46 -0
- package/dist/components/biz/locale-container/index.d.ts +3 -0
- package/dist/components/biz/locale-container/type.d.ts +8 -0
- package/dist/components/biz/no-data/index.d.ts +12 -0
- package/dist/components/biz/panic-fallback/index.d.ts +1 -0
- package/dist/components/biz/smart-tip/index.d.ts +90 -0
- package/dist/components/biz/state/index.d.ts +25 -0
- package/dist/components/primitive/alert-dialog.d.ts +31 -0
- package/dist/components/primitive/alert.d.ts +16 -0
- package/dist/components/primitive/auto-complete.d.ts +20 -0
- package/dist/components/primitive/badge.d.ts +80 -0
- package/dist/components/primitive/breadcrumb.d.ts +26 -0
- package/dist/components/primitive/button.d.ts +15 -0
- package/dist/components/primitive/calendar.d.ts +8 -0
- package/dist/components/primitive/card.d.ts +27 -0
- package/dist/components/primitive/cascader.d.ts +117 -0
- package/dist/components/primitive/chart.d.ts +62 -0
- package/dist/components/primitive/checkbox-group.d.ts +14 -0
- package/dist/components/primitive/checkbox.d.ts +7 -0
- package/dist/components/primitive/code-editor/index.d.ts +67 -0
- package/dist/components/primitive/collapse.d.ts +17 -0
- package/dist/components/primitive/context-menu.d.ts +48 -0
- package/dist/components/primitive/date-picker.d.ts +44 -0
- package/dist/components/primitive/dialog.d.ts +66 -0
- package/dist/components/primitive/divider.d.ts +14 -0
- package/dist/components/primitive/drawer.d.ts +47 -0
- package/dist/components/primitive/dropdown-menu.d.ts +55 -0
- package/dist/components/primitive/file-upload/file-upload-single.d.ts +11 -0
- package/dist/components/primitive/file-upload/index.d.ts +1 -0
- package/dist/components/primitive/form.d.ts +32 -0
- package/dist/components/primitive/image-reader/index.d.ts +7 -0
- package/dist/components/primitive/input-number.d.ts +17 -0
- package/dist/components/primitive/input-password.d.ts +19 -0
- package/dist/components/primitive/input.d.ts +5 -0
- package/dist/components/primitive/json-viewer.d.ts +22 -0
- package/dist/components/primitive/label.d.ts +5 -0
- package/dist/components/primitive/link.d.ts +11 -0
- package/dist/components/primitive/loader.d.ts +3 -0
- package/dist/components/primitive/markdown/index.d.ts +30 -0
- package/dist/components/primitive/multi-select.d.ts +76 -0
- package/dist/components/primitive/pagination/index.d.ts +8 -0
- package/dist/components/primitive/pagination/pagination.d.ts +31 -0
- package/dist/components/primitive/popover-confirm.d.ts +32 -0
- package/dist/components/primitive/popover.d.ts +12 -0
- package/dist/components/primitive/progress.d.ts +32 -0
- package/dist/components/primitive/radio-group.d.ts +49 -0
- package/dist/components/primitive/range-picker.d.ts +18 -0
- package/dist/components/primitive/resizable.d.ts +25 -0
- package/dist/components/primitive/search-input.d.ts +8 -0
- package/dist/components/primitive/select.d.ts +74 -0
- package/dist/components/primitive/selection-cancellation.d.ts +9 -0
- package/dist/components/primitive/show.d.ts +8 -0
- package/dist/components/primitive/slider.d.ts +4 -0
- package/dist/components/primitive/spin.d.ts +52 -0
- package/dist/components/primitive/status-badge.d.ts +19 -0
- package/dist/components/primitive/steps.d.ts +75 -0
- package/dist/components/primitive/switch.d.ts +4 -0
- package/dist/components/primitive/tabs/hooks/use-persist-tab-store.d.ts +4 -0
- package/dist/components/primitive/tabs/interface/tab-memo.d.ts +5 -0
- package/dist/components/primitive/tabs/store/page-state-store.d.ts +17 -0
- package/dist/components/primitive/tabs/tabs.d.ts +40 -0
- package/dist/components/primitive/tabs/use-persist.d.ts +4 -0
- package/dist/components/primitive/tabs/use-store.d.ts +25 -0
- package/dist/components/primitive/tag-list.d.ts +22 -0
- package/dist/components/primitive/tag.d.ts +17 -0
- package/dist/components/primitive/text.d.ts +27 -0
- package/dist/components/primitive/textarea.d.ts +8 -0
- package/dist/components/primitive/time-picker.d.ts +41 -0
- package/dist/components/primitive/toast/toast.d.ts +17 -0
- package/dist/components/primitive/toast/toaster.d.ts +1 -0
- package/dist/components/primitive/toast/use-toast.d.ts +45 -0
- package/dist/components/primitive/tooltip/index.d.ts +38 -0
- package/dist/components/primitive/tooltip/use-placement.d.ts +4 -0
- package/dist/components/primitive/tree/index.d.ts +5 -0
- package/dist/components/primitive/tree/tree-node.d.ts +17 -0
- package/dist/components/primitive/tree/tree-select.d.ts +21 -0
- package/dist/components/primitive/tree/tree.d.ts +24 -0
- package/dist/components/primitive/tree/types.d.ts +123 -0
- package/dist/i18n/locales/en-US.json.d.ts +76 -0
- package/dist/i18n/locales/zh-CN.json.d.ts +76 -0
- package/dist/index.d.ts +113 -0
- package/dist/style.css +2 -0
- package/dist/utils/overlay-context.d.ts +34 -0
- package/dist/utils/use-container.d.ts +30 -0
- package/dist/utils/use-id.d.ts +1 -0
- package/dist/utils/use-overlay.d.ts +34 -0
- package/dist/zscloud-design.es.js +33683 -0
- package/package.json +116 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
+
declare const SelectRoot: React.FC<SelectPrimitive.SelectProps>;
|
|
4
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
/**
|
|
10
|
+
* @interface SelectContentProps
|
|
11
|
+
* @description Select内容组件的属性接口,扩展自Radix UI的Select.Content组件属性
|
|
12
|
+
* @property {React.ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>} [selectPortalProps] - 传递给SelectPrimitive.Portal组件的属性
|
|
13
|
+
* @property {boolean} [open] - 是否打开(用于自动 z-index 管理)
|
|
14
|
+
* @property {number} [zIndex] - 自定义 z-index(覆盖自动计算)
|
|
15
|
+
* @property {boolean} [disableAutoZIndex] - 是否禁用自动 z-index 管理
|
|
16
|
+
*/
|
|
17
|
+
export interface SelectContentProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> {
|
|
18
|
+
selectPortalProps?: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
zIndex?: number;
|
|
21
|
+
disableAutoZIndex?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
interface SelectItemProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
|
|
26
|
+
description?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
/**
|
|
31
|
+
* @interface SelectOptions
|
|
32
|
+
* @description 定义Select组件的选项结构
|
|
33
|
+
* @property {React.ReactNode} label - 选项在下拉列表中显示的内容
|
|
34
|
+
* @property {React.ReactNode} [selectedLabel] - 选项被选中后在Select触发器中显示的内容,如果未提供则使用label
|
|
35
|
+
* @property {string} [description] - 选项的描述文本,显示在label下方
|
|
36
|
+
* @property {string} value - 选项的唯一标识值
|
|
37
|
+
*/
|
|
38
|
+
export interface SelectOptions {
|
|
39
|
+
label: React.ReactNode;
|
|
40
|
+
selectedLabel?: React.ReactNode;
|
|
41
|
+
description?: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @interface SelectProps
|
|
46
|
+
* @description Select组件的属性接口
|
|
47
|
+
* @property {SelectOptions[]} options - 可选项数组
|
|
48
|
+
* @property {string} [defaultValue] - 默认选中的值
|
|
49
|
+
* @property {string} [value] - 当前选中的值(受控模式)
|
|
50
|
+
* @property {(value: string) => void} onValueChange - 选中值变化时的回调函数
|
|
51
|
+
* @property {string} [className] - 应用于Select触发器的自定义CSS类名
|
|
52
|
+
* @property {string} [placeholder] - 未选择任何选项时显示的占位符文本
|
|
53
|
+
* @property {string} [emptyPlaceholderText] - 当options为空数组时显示的文本
|
|
54
|
+
* @property {boolean} [disabled] - 是否禁用Select组件
|
|
55
|
+
* @property {boolean} [allowClear] - 是否允许清除已选择的值
|
|
56
|
+
* @property {() => void} [onClear] - 清除值时的回调函数
|
|
57
|
+
*/
|
|
58
|
+
export interface SelectProps {
|
|
59
|
+
options: SelectOptions[];
|
|
60
|
+
defaultValue?: string;
|
|
61
|
+
value?: string;
|
|
62
|
+
onValueChange: (value: string) => void;
|
|
63
|
+
className?: string;
|
|
64
|
+
itemClassName?: string;
|
|
65
|
+
placeholder?: string;
|
|
66
|
+
emptyPlaceholderText?: string;
|
|
67
|
+
disabled?: boolean;
|
|
68
|
+
allowClear?: boolean;
|
|
69
|
+
onClear?: () => void;
|
|
70
|
+
selectPortalProps?: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>;
|
|
71
|
+
selectContentProps?: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
|
|
72
|
+
}
|
|
73
|
+
declare const Select: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
export { Select, SelectRoot, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface SelectionCancellationProps {
|
|
3
|
+
selectedCount: number;
|
|
4
|
+
onCancel: () => void;
|
|
5
|
+
open: boolean;
|
|
6
|
+
viewPortClassName?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const SelectionCancellation: React.FC<SelectionCancellationProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
interface ShowProps<T> {
|
|
3
|
+
when: T | boolean;
|
|
4
|
+
fallback?: ReactElement;
|
|
5
|
+
children: ReactElement;
|
|
6
|
+
}
|
|
7
|
+
export declare const Show: <T>(props: ShowProps<T>) => ReactElement<any, string | import('react').JSXElementConstructor<any>> | null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
3
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
export { Slider };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const spinContainerVariants: (props?: ({
|
|
4
|
+
fullscreen?: boolean | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
declare const spinIndicatorVariants: (props?: ({
|
|
7
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export interface SpinProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinIndicatorVariants> {
|
|
10
|
+
/**
|
|
11
|
+
* 是否为加载中状态
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
spinning?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 延迟显示加载效果的时间(防止闪烁,单位:毫秒)
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
delay?: number;
|
|
20
|
+
/**
|
|
21
|
+
* 自定义加载指示器
|
|
22
|
+
*/
|
|
23
|
+
indicator?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* 当作为包裹元素时,可以自定义描述文案
|
|
26
|
+
*/
|
|
27
|
+
tip?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* 组件大小
|
|
30
|
+
* @default "medium"
|
|
31
|
+
*/
|
|
32
|
+
size?: "small" | "medium" | "large";
|
|
33
|
+
/**
|
|
34
|
+
* 包裹的内容
|
|
35
|
+
*/
|
|
36
|
+
children?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* 是否全屏显示
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
fullscreen?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 自定义加载指示器的类名
|
|
44
|
+
*/
|
|
45
|
+
indicatorClassName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* 自定义 tip 的类名
|
|
48
|
+
*/
|
|
49
|
+
tipClassName?: string;
|
|
50
|
+
}
|
|
51
|
+
declare const Spin: React.ForwardRefExoticComponent<SpinProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
export { Spin, spinIndicatorVariants, spinContainerVariants };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const statusBadgeVariants: (props?: ({
|
|
4
|
+
status?: "danger" | "alert" | "positive" | "pending" | "neutral" | "inprogress" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export interface StatusBadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statusBadgeVariants> {
|
|
7
|
+
/**
|
|
8
|
+
* 状态类型
|
|
9
|
+
* - pending: 队列/更新 (紫色)
|
|
10
|
+
* - inprogress: 进行中 (蓝色)
|
|
11
|
+
* - positive: 成功/正常/启用 (绿色)
|
|
12
|
+
* - danger: 错误/危险 (红色)
|
|
13
|
+
* - alert: 警告/异常 (橙色)
|
|
14
|
+
* - neutral: 系统/停止/不可用 (灰色)
|
|
15
|
+
*/
|
|
16
|
+
status?: "pending" | "inprogress" | "positive" | "danger" | "alert" | "neutral";
|
|
17
|
+
}
|
|
18
|
+
export declare const StatusBadge: ({ children, className, status, ...rest }: StatusBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface StepItem {
|
|
3
|
+
/**
|
|
4
|
+
* 步骤标题
|
|
5
|
+
*/
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* 步骤描述(可选)
|
|
9
|
+
*/
|
|
10
|
+
description?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* 是否禁用点击
|
|
13
|
+
*/
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 步骤图标(可选,仅在非 progressDot 模式下生效)
|
|
17
|
+
*/
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export interface StepsProps {
|
|
21
|
+
/**
|
|
22
|
+
* 步骤配置项
|
|
23
|
+
*/
|
|
24
|
+
items: StepItem[];
|
|
25
|
+
/**
|
|
26
|
+
* 当前步骤索引,从 0 开始
|
|
27
|
+
* @default 0
|
|
28
|
+
*/
|
|
29
|
+
current?: number;
|
|
30
|
+
/**
|
|
31
|
+
* 步骤条方向
|
|
32
|
+
* @default "horizontal"
|
|
33
|
+
*/
|
|
34
|
+
direction?: "horizontal" | "vertical";
|
|
35
|
+
/**
|
|
36
|
+
* 是否使用点状步骤条
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
progressDot?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* 点击步骤时的回调
|
|
42
|
+
*/
|
|
43
|
+
onChange?: (current: number) => void;
|
|
44
|
+
/**
|
|
45
|
+
* 自定义类名
|
|
46
|
+
*/
|
|
47
|
+
className?: string;
|
|
48
|
+
/**
|
|
49
|
+
* 自定义样式
|
|
50
|
+
*/
|
|
51
|
+
style?: React.CSSProperties;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Steps 步骤条组件
|
|
55
|
+
*
|
|
56
|
+
* 引导用户按照流程完成任务的导航条。
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```tsx
|
|
60
|
+
* <Steps
|
|
61
|
+
* current={1}
|
|
62
|
+
* progressDot
|
|
63
|
+
* direction="vertical"
|
|
64
|
+
* items={[
|
|
65
|
+
* { title: "基础配置" },
|
|
66
|
+
* { title: "资源配置" },
|
|
67
|
+
* { title: "系统配置" },
|
|
68
|
+
* { title: "预览" },
|
|
69
|
+
* ]}
|
|
70
|
+
* onChange={(current) => console.log(current)}
|
|
71
|
+
* />
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
export declare const Steps: React.FC<StepsProps>;
|
|
75
|
+
export default Steps;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
3
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Switch };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ITabMemo } from '../interface/tab-memo';
|
|
2
|
+
interface IPageStateStore {
|
|
3
|
+
tabMemo: ITabMemo;
|
|
4
|
+
setTabMemo: (tabMemo: ITabMemo) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const usePageStateStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<IPageStateStore>, "persist"> & {
|
|
7
|
+
persist: {
|
|
8
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<IPageStateStore, IPageStateStore>>) => void;
|
|
9
|
+
clearStorage: () => void;
|
|
10
|
+
rehydrate: () => Promise<void> | void;
|
|
11
|
+
hasHydrated: () => boolean;
|
|
12
|
+
onHydrate: (fn: (state: IPageStateStore) => void) => () => void;
|
|
13
|
+
onFinishHydration: (fn: (state: IPageStateStore) => void) => () => void;
|
|
14
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<IPageStateStore, IPageStateStore>>;
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
|
+
declare const tabsListVariants: (props?: ({
|
|
5
|
+
variant?: "outline" | "line" | "card" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
8
|
+
variant?: "outline" | "line" | "card" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
declare const TabsRoot: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
16
|
+
value: string;
|
|
17
|
+
label?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export type TabsListItem = {
|
|
22
|
+
value: string;
|
|
23
|
+
label?: React.ReactNode;
|
|
24
|
+
content?: React.ReactNode;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
};
|
|
28
|
+
export interface TabsPrimitiveProps extends VariantProps<typeof tabsListVariants>, React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
29
|
+
}
|
|
30
|
+
export interface TabsProps extends TabsPrimitiveProps {
|
|
31
|
+
tabsList: Array<TabsListItem>;
|
|
32
|
+
forceMount?: true;
|
|
33
|
+
listClassName?: string;
|
|
34
|
+
rootClassName?: string;
|
|
35
|
+
contentClassName?: string;
|
|
36
|
+
contentId?: string;
|
|
37
|
+
routerTarget?: string;
|
|
38
|
+
}
|
|
39
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export { Tabs, TabsRoot, TabsList, TabsTrigger, TabsContent };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type State = {
|
|
2
|
+
tabStore: {
|
|
3
|
+
[pathname: string]: {
|
|
4
|
+
[contentId: string]: string | undefined;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export type Action = {
|
|
9
|
+
setTabStore: (pathname: string, contentId?: string, value?: string) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const useTabStore: import('zustand').UseBoundStore<Omit<Omit<import('zustand').StoreApi<State & Action>, "setState"> & {
|
|
12
|
+
setState<A extends string | {
|
|
13
|
+
type: string;
|
|
14
|
+
}>(partial: (State & Action) | Partial<State & Action> | ((state: State & Action) => (State & Action) | Partial<State & Action>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
15
|
+
}, "persist"> & {
|
|
16
|
+
persist: {
|
|
17
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<State & Action, State & Action>>) => void;
|
|
18
|
+
clearStorage: () => void;
|
|
19
|
+
rehydrate: () => Promise<void> | void;
|
|
20
|
+
hasHydrated: () => boolean;
|
|
21
|
+
onHydrate: (fn: (state: State & Action) => void) => () => void;
|
|
22
|
+
onFinishHydration: (fn: (state: State & Action) => void) => () => void;
|
|
23
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<State & Action, State & Action>>;
|
|
24
|
+
};
|
|
25
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TagProps } from './tag.tsx';
|
|
3
|
+
interface TagItem extends TagProps {
|
|
4
|
+
label: string;
|
|
5
|
+
id: string;
|
|
6
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
7
|
+
}
|
|
8
|
+
interface TagListProps {
|
|
9
|
+
tags: TagItem[];
|
|
10
|
+
className?: string;
|
|
11
|
+
/** 容器宽度,如果不提供则自动计算 */
|
|
12
|
+
containerWidth?: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* TagList 组件 - 用于在表格单元格中展示标签列表
|
|
16
|
+
* 特点:
|
|
17
|
+
* 1. 自动处理标签溢出显示 +n
|
|
18
|
+
* 2. 支持动态列宽调整
|
|
19
|
+
* 3. 适配虚拟滚动
|
|
20
|
+
*/
|
|
21
|
+
export declare const TagList: React.FC<TagListProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const tagVariants: (props?: ({
|
|
4
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
|
+
theme?: "blue" | "green" | "lime" | "purple" | "red" | "teal" | "violet" | "yellow" | null | undefined;
|
|
6
|
+
level?: "base" | "strong" | "weak" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
|
|
9
|
+
round?: boolean;
|
|
10
|
+
closable?: boolean;
|
|
11
|
+
color?: string;
|
|
12
|
+
onClose?: (event?: React.MouseEvent<Element>) => void;
|
|
13
|
+
autoOverflowEllipsis?: boolean;
|
|
14
|
+
disableTooltip?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const Tag: (props: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** Disable automatic tooltip on overflow */
|
|
4
|
+
disableTooltip?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Ellipsis mode for text truncation
|
|
7
|
+
* - 'end': Standard CSS text-overflow: ellipsisMode (default)
|
|
8
|
+
* - 'middle': JavaScript-based middle truncation (even split: front half + ... + back half)
|
|
9
|
+
* - 'middle-start': Preserves more of the front, fixed back chars (e.g., "longtext..._id")
|
|
10
|
+
* - 'middle-end': Preserves more of the back, fixed front chars (e.g., "pre..._longsuffix")
|
|
11
|
+
*/
|
|
12
|
+
ellipsisMode?: "end" | "middle" | "middle-start" | "middle-end";
|
|
13
|
+
/**
|
|
14
|
+
* Maximum character length before truncation (only for middle modes)
|
|
15
|
+
* @default 35
|
|
16
|
+
*/
|
|
17
|
+
maxLength?: number;
|
|
18
|
+
/**
|
|
19
|
+
* For 'middle-start': chars to preserve at the end (default 9)
|
|
20
|
+
* For 'middle-end': chars to preserve at the start (default 9)
|
|
21
|
+
*/
|
|
22
|
+
fixedChars?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare const Text: {
|
|
25
|
+
({ className, children, disableTooltip, ellipsisMode, maxLength, fixedChars, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
+
value: string | undefined;
|
|
4
|
+
showCount?: boolean;
|
|
5
|
+
maxLength?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
8
|
+
export { Textarea };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PopoverPortal } from '@radix-ui/react-popover';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface TimeValue {
|
|
4
|
+
hour: number;
|
|
5
|
+
minute: number;
|
|
6
|
+
second: number;
|
|
7
|
+
}
|
|
8
|
+
export interface TimePickerProps {
|
|
9
|
+
/** 当前值 — 支持原生 Date 或任何包含 hour()/minute()/second() 的类 Moment 对象 */
|
|
10
|
+
value?: unknown;
|
|
11
|
+
/**
|
|
12
|
+
* 值变更回调。
|
|
13
|
+
* 如果传入的 value 是 Moment-like(有 clone/hour 方法),回调也返回同类型对象。
|
|
14
|
+
* 否则返回原生 Date。
|
|
15
|
+
*/
|
|
16
|
+
onChange?: (date: unknown) => void;
|
|
17
|
+
/**
|
|
18
|
+
* 当 value 为空(首次选择)时,用来创建初始值的工厂函数。
|
|
19
|
+
* 例如传入 `() => moment()` 即可让首次返回值也是 Moment 对象。
|
|
20
|
+
* 如果不传,首次返回 `new Date()`。
|
|
21
|
+
*/
|
|
22
|
+
createValue?: () => unknown;
|
|
23
|
+
/** 时间格式。支持 "HH:mm:ss" | "HH:mm",默认 "HH:mm:ss" */
|
|
24
|
+
format?: "HH:mm:ss" | "HH:mm";
|
|
25
|
+
/** 占位文本 */
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
/** 在 onChange 之后调用,常用于表单校验(如 FormList 内去重校验) */
|
|
28
|
+
onAfterChange?: () => void;
|
|
29
|
+
/** 禁用 */
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/** 自定义 className(作用于最外层 trigger) */
|
|
32
|
+
className?: string;
|
|
33
|
+
/** 组件 id(透传到 trigger) */
|
|
34
|
+
id?: string;
|
|
35
|
+
/** Popover portal props */
|
|
36
|
+
popoverPortalProps?: React.ComponentPropsWithoutRef<typeof PopoverPortal>;
|
|
37
|
+
}
|
|
38
|
+
export declare function TimePicker({ value, onChange, createValue, format, placeholder, onAfterChange, disabled, className, id, popoverPortalProps, }: TimePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare namespace TimePicker {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
4
|
+
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
5
|
+
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & VariantProps<(props?: ({
|
|
6
|
+
position?: "fixed" | "absolute" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLOListElement>>;
|
|
8
|
+
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
11
|
+
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
16
|
+
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
17
|
+
export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Toaster(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ToastActionElement, ToastProps } from './toast';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type ToasterToast = ToastProps & {
|
|
4
|
+
id: string;
|
|
5
|
+
title?: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
action?: ToastActionElement;
|
|
8
|
+
indicator?: "success";
|
|
9
|
+
};
|
|
10
|
+
declare const actionTypes: {
|
|
11
|
+
readonly ADD_TOAST: "ADD_TOAST";
|
|
12
|
+
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
13
|
+
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
14
|
+
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
15
|
+
};
|
|
16
|
+
type ActionType = typeof actionTypes;
|
|
17
|
+
type Action = {
|
|
18
|
+
type: ActionType["ADD_TOAST"];
|
|
19
|
+
toast: ToasterToast;
|
|
20
|
+
} | {
|
|
21
|
+
type: ActionType["UPDATE_TOAST"];
|
|
22
|
+
toast: Partial<ToasterToast>;
|
|
23
|
+
} | {
|
|
24
|
+
type: ActionType["DISMISS_TOAST"];
|
|
25
|
+
toastId?: ToasterToast["id"];
|
|
26
|
+
} | {
|
|
27
|
+
type: ActionType["REMOVE_TOAST"];
|
|
28
|
+
toastId?: ToasterToast["id"];
|
|
29
|
+
};
|
|
30
|
+
interface State {
|
|
31
|
+
toasts: ToasterToast[];
|
|
32
|
+
}
|
|
33
|
+
export declare const reducer: (state: State, action: Action) => State;
|
|
34
|
+
type Toast = Omit<ToasterToast, "id">;
|
|
35
|
+
declare function toast({ ...props }: Toast): {
|
|
36
|
+
id: string;
|
|
37
|
+
dismiss: () => void;
|
|
38
|
+
update: (props: ToasterToast) => void;
|
|
39
|
+
};
|
|
40
|
+
declare function useToast(): {
|
|
41
|
+
toast: typeof toast;
|
|
42
|
+
dismiss: (toastId?: string) => void;
|
|
43
|
+
toasts: ToasterToast[];
|
|
44
|
+
};
|
|
45
|
+
export { useToast, toast };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tooltip 组件
|
|
3
|
+
*
|
|
4
|
+
* @description 提示组件,用于在用户 hover 或 focus 时显示额外信息
|
|
5
|
+
*
|
|
6
|
+
* @param className - 添加到 TooltipContent 的自定义样式类
|
|
7
|
+
* @param title - 提示内容
|
|
8
|
+
* @param placement - 提示内容显示方向
|
|
9
|
+
* @param delayDuration - 提示显示延迟,默认 0 毫秒
|
|
10
|
+
* @param disappearOnClick - 点击时是否消失,默认 true
|
|
11
|
+
* @param arrowClassName - 箭头自定义样式类
|
|
12
|
+
* @param zIndex - 自定义 z-index,不传则自动计算
|
|
13
|
+
*/
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
16
|
+
interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
|
|
17
|
+
/** 自定义 z-index */
|
|
18
|
+
zIndex?: number;
|
|
19
|
+
}
|
|
20
|
+
/** 提示内容组件 */
|
|
21
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
/** 箭头组件 */
|
|
23
|
+
declare const TooltipArrow: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
24
|
+
export interface TooltipProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
|
25
|
+
className?: string;
|
|
26
|
+
title: React.ReactNode;
|
|
27
|
+
placement?: "topLeft" | "top" | "topRight" | "leftTop" | "left" | "leftBottom" | "rightTop" | "right" | "rightBottom" | "bottomLeft" | "bottom" | "bottomRight";
|
|
28
|
+
disappearOnClick?: boolean;
|
|
29
|
+
arrowClassName?: string;
|
|
30
|
+
/** 自定义 z-index,不传则自动计算 */
|
|
31
|
+
zIndex?: number;
|
|
32
|
+
}
|
|
33
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
34
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
declare const TooltipPortal: React.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
36
|
+
declare const TooltipRoot: React.FC<TooltipPrimitive.TooltipProps>;
|
|
37
|
+
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
export { Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipTrigger, TooltipProvider, TooltipRoot, };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Tree } from './tree';
|
|
2
|
+
export type { TreeRef } from './tree';
|
|
3
|
+
export { TreeSelect } from './tree-select';
|
|
4
|
+
export { DefaultTreeNode } from './tree-node';
|
|
5
|
+
export type { TreeNode, TreeProps, TreeSelectProps, TreeMoveEvent, NodeApi, NodeRendererProps, } from './types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NodeRendererProps, TreeNode } from './types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface DefaultTreeNodeProps<T = unknown> extends NodeRendererProps<TreeNode<T>> {
|
|
4
|
+
/** 是否显示展开/折叠图标 */
|
|
5
|
+
showToggle?: boolean;
|
|
6
|
+
/** 是否显示拖拽手柄 */
|
|
7
|
+
showDragHandle?: boolean;
|
|
8
|
+
/** 自定义图标 */
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
/** 自定义额外内容(右侧) */
|
|
11
|
+
extra?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 默认的树节点渲染组件
|
|
15
|
+
*/
|
|
16
|
+
export declare function DefaultTreeNode<T = unknown>({ node, style, dragHandle, showToggle, icon, extra, }: DefaultTreeNodeProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default DefaultTreeNode;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TreeSelectProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* TreeSelect 组件
|
|
4
|
+
*
|
|
5
|
+
* 带下拉面板的树选择器,支持:
|
|
6
|
+
* - 搜索过滤
|
|
7
|
+
* - 虚拟滚动
|
|
8
|
+
* - 自定义节点渲染
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <TreeSelect
|
|
13
|
+
* value={selectedId}
|
|
14
|
+
* onChange={(value, node) => setSelectedId(value)}
|
|
15
|
+
* data={treeData}
|
|
16
|
+
* placeholder="请选择"
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function TreeSelect<T = unknown>({ value, onChange, data, placeholder, disabled, width, dropdownWidth, treeHeight, showSearch, searchPlaceholder, className, emptyText, allowClear, onClear, indent, rowHeight, openByDefault, renderValue, renderNode, portalContainer, }: TreeSelectProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default TreeSelect;
|