@cloudtower/eagle 490.0.8 → 490.0.10
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/cjs/core/AccordionCard/index.js +4 -1
- package/dist/cjs/core/Alert/index.js +4 -2
- package/dist/cjs/core/Arch/index.js +5 -3
- package/dist/cjs/core/Avatar/index.js +3 -1
- package/dist/cjs/core/Banner/index.js +16 -3
- package/dist/cjs/core/BasicCTError/index.js +25 -12
- package/dist/cjs/core/Bit/index.js +4 -3
- package/dist/cjs/core/BitPerSecond/index.js +4 -3
- package/dist/cjs/core/BlankState/index.js +14 -12
- package/dist/cjs/core/Bps/index.js +4 -3
- package/dist/cjs/core/Breadcrumb/index.js +4 -1
- package/dist/cjs/core/ButtonGroup/index.js +3 -1
- package/dist/cjs/core/Byte/index.js +6 -5
- package/dist/cjs/core/BytePerSecond/index.js +4 -3
- package/dist/cjs/core/Card/index.js +7 -3
- package/dist/cjs/core/Checkbox/index.js +28 -2
- package/dist/cjs/core/ConfigProvider/index.js +1 -1
- package/dist/cjs/core/DetailCard/index.js +7 -3
- package/dist/cjs/core/DonutChart/index.js +3 -1
- package/dist/cjs/core/DropdownMenu/index.js +9 -4
- package/dist/cjs/core/Duration/index.js +7 -6
- package/dist/cjs/core/Empty/index.js +6 -3
- package/dist/cjs/core/Error/index.js +4 -1
- package/dist/cjs/core/FailedLoad/index.js +4 -1
- package/dist/cjs/core/Fields/FieldsBoolean/index.js +11 -2
- package/dist/cjs/core/Fields/FieldsDateTime/index.js +5 -1
- package/dist/cjs/core/Fields/FieldsDateTimeRange/index.js +6 -3
- package/dist/cjs/core/Fields/FieldsEnum/index.js +5 -3
- package/dist/cjs/core/Fields/FieldsFloat/index.js +6 -3
- package/dist/cjs/core/Fields/FieldsInt/index.js +6 -3
- package/dist/cjs/core/Fields/FieldsInteger/index.js +6 -3
- package/dist/cjs/core/Fields/FieldsString/index.js +14 -4
- package/dist/cjs/core/Fields/FieldsTextArea/index.js +6 -3
- package/dist/cjs/core/Fields/FieldsTimePicker/index.js +7 -4
- package/dist/cjs/core/FormItem/index.js +15 -1
- package/dist/cjs/core/Frequency/index.js +4 -3
- package/dist/cjs/core/ImmersiveDialog/index.js +15 -4
- package/dist/cjs/core/Input/index.js +15 -3
- package/dist/cjs/core/InputInteger/index.js +15 -3
- package/dist/cjs/core/InputNumber/index.js +15 -3
- package/dist/cjs/core/InputPassword/index.js +15 -3
- package/dist/cjs/core/LegacySelect/index.js +18 -4
- package/dist/cjs/core/LineChart/index.js +2 -0
- package/dist/cjs/core/LocalUpload/LocalUpload.js +45 -32
- package/dist/cjs/core/Metric/index.js +3 -1
- package/dist/cjs/core/Nav/index.js +5 -2
- package/dist/cjs/core/Pagination/index.js +7 -1
- package/dist/cjs/core/Percent/index.js +4 -3
- package/dist/cjs/core/Progress/index.js +5 -3
- package/dist/cjs/core/Radio/index.js +41 -9
- package/dist/cjs/core/Second/index.js +4 -2
- package/dist/cjs/core/SimplePagination/index.js +7 -1
- package/dist/cjs/core/SmallDialog/SmallDialog.js +10 -4
- package/dist/cjs/core/SmallDialog/SmallDialog.widget.js +1 -1
- package/dist/cjs/core/Speed/index.js +4 -3
- package/dist/cjs/core/StepProgress/index.js +3 -1
- package/dist/cjs/core/Switch/index.js +5 -3
- package/dist/cjs/core/Tab/Tab.js +8 -3
- package/dist/cjs/core/Table/index.js +4 -2
- package/dist/cjs/core/TextArea/index.js +21 -3
- package/dist/cjs/core/Time/index.js +9 -8
- package/dist/cjs/core/TimePicker/index.js +1 -9
- package/dist/cjs/core/TimeZoneSelect/index.js +3 -1
- package/dist/cjs/core/Timeline/index.js +74 -59
- package/dist/cjs/core/Truncate/index.js +3 -1
- package/dist/cjs/core/WizardDialog/index.js +9 -4
- package/dist/cjs/coreX/BarChart/index.js +2 -2
- package/dist/cjs/coreX/CheckPointList/index.js +2 -2
- package/dist/cjs/coreX/Dialogs/DeleteDialog/DeleteDialog.js +1 -1
- package/dist/cjs/coreX/Dialogs/RejectDialog/RejectDialog.js +1 -1
- package/dist/cjs/hooks/useAntdPatchEnLocales.js +1 -1
- package/dist/cjs/hooks/useCTErrorMsg.js +3 -3
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3438 -3438
- package/dist/esm/core/AccordionCard/index.js +4 -1
- package/dist/esm/core/Alert/index.js +4 -2
- package/dist/esm/core/Arch/index.js +5 -3
- package/dist/esm/core/Avatar/index.js +3 -1
- package/dist/esm/core/Banner/index.js +16 -3
- package/dist/esm/core/BasicCTError/index.js +25 -12
- package/dist/esm/core/Bit/index.js +4 -3
- package/dist/esm/core/BitPerSecond/index.js +4 -3
- package/dist/esm/core/BlankState/index.js +14 -12
- package/dist/esm/core/Bps/index.js +4 -3
- package/dist/esm/core/Breadcrumb/index.js +4 -1
- package/dist/esm/core/ButtonGroup/index.js +3 -1
- package/dist/esm/core/Byte/index.js +6 -5
- package/dist/esm/core/BytePerSecond/index.js +4 -3
- package/dist/esm/core/Card/index.js +7 -3
- package/dist/esm/core/Checkbox/index.js +29 -3
- package/dist/esm/core/ConfigProvider/index.js +1 -1
- package/dist/esm/core/DetailCard/index.js +7 -3
- package/dist/esm/core/DonutChart/index.js +3 -1
- package/dist/esm/core/DropdownMenu/index.js +9 -4
- package/dist/esm/core/Duration/index.js +7 -6
- package/dist/esm/core/Empty/index.js +6 -3
- package/dist/esm/core/Error/index.js +4 -1
- package/dist/esm/core/FailedLoad/index.js +4 -1
- package/dist/esm/core/Fields/FieldsBoolean/index.js +11 -2
- package/dist/esm/core/Fields/FieldsDateTime/index.js +5 -1
- package/dist/esm/core/Fields/FieldsDateTimeRange/index.js +6 -3
- package/dist/esm/core/Fields/FieldsEnum/index.js +5 -3
- package/dist/esm/core/Fields/FieldsFloat/index.js +6 -3
- package/dist/esm/core/Fields/FieldsInt/index.js +6 -3
- package/dist/esm/core/Fields/FieldsInteger/index.js +6 -3
- package/dist/esm/core/Fields/FieldsString/index.js +14 -4
- package/dist/esm/core/Fields/FieldsTextArea/index.js +6 -3
- package/dist/esm/core/Fields/FieldsTimePicker/index.js +7 -4
- package/dist/esm/core/FormItem/index.js +15 -1
- package/dist/esm/core/Frequency/index.js +4 -3
- package/dist/esm/core/ImmersiveDialog/index.js +17 -6
- package/dist/esm/core/Input/index.js +15 -3
- package/dist/esm/core/InputInteger/index.js +15 -3
- package/dist/esm/core/InputNumber/index.js +15 -3
- package/dist/esm/core/InputPassword/index.js +15 -3
- package/dist/esm/core/LegacySelect/index.js +18 -4
- package/dist/esm/core/LineChart/index.js +2 -0
- package/dist/esm/core/LocalUpload/LocalUpload.js +45 -32
- package/dist/esm/core/Metric/index.js +3 -1
- package/dist/esm/core/Nav/index.js +5 -2
- package/dist/esm/core/Pagination/index.js +7 -1
- package/dist/esm/core/Percent/index.js +4 -3
- package/dist/esm/core/Progress/index.js +5 -3
- package/dist/esm/core/Radio/index.js +42 -10
- package/dist/esm/core/Second/index.js +4 -2
- package/dist/esm/core/SimplePagination/index.js +7 -1
- package/dist/esm/core/SmallDialog/SmallDialog.js +10 -4
- package/dist/esm/core/SmallDialog/SmallDialog.widget.js +1 -1
- package/dist/esm/core/Speed/index.js +4 -3
- package/dist/esm/core/StepProgress/index.js +3 -1
- package/dist/esm/core/Switch/index.js +5 -3
- package/dist/esm/core/Tab/Tab.js +8 -3
- package/dist/esm/core/Table/index.js +4 -2
- package/dist/esm/core/TextArea/index.js +21 -3
- package/dist/esm/core/Time/index.js +9 -8
- package/dist/esm/core/TimePicker/index.js +1 -9
- package/dist/esm/core/TimeZoneSelect/index.js +3 -1
- package/dist/esm/core/Timeline/index.js +74 -59
- package/dist/esm/core/Truncate/index.js +3 -1
- package/dist/esm/core/WizardDialog/index.js +9 -4
- package/dist/esm/coreX/BarChart/index.js +1 -1
- package/dist/esm/coreX/CheckPointList/index.js +1 -1
- package/dist/esm/coreX/Dialogs/DeleteDialog/DeleteDialog.js +1 -1
- package/dist/esm/coreX/Dialogs/RejectDialog/RejectDialog.js +1 -1
- package/dist/esm/hooks/useAntdPatchEnLocales.js +1 -1
- package/dist/esm/hooks/useCTErrorMsg.js +3 -3
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +4378 -4378
- package/dist/src/core/AccordionCard/accordionCard.type.d.ts +1 -0
- package/dist/src/core/Alert/alert.type.d.ts +1 -0
- package/dist/src/core/Antd5Flex/index.d.ts +1 -1
- package/dist/src/core/Arch/arch.type.d.ts +1 -0
- package/dist/src/core/AutoComplete/AutoComplete.d.ts +4 -1
- package/dist/src/core/Avatar/avatar.type.d.ts +1 -0
- package/dist/src/core/Banner/banner.types.d.ts +2 -1
- package/dist/src/core/BasicCTError/BasicCTError.type.d.ts +8 -2
- package/dist/src/core/BlankState/index.d.ts +1 -1
- package/dist/src/core/BlankState/type.d.ts +1 -0
- package/dist/src/core/Breadcrumb/breadcrumb.type.d.ts +2 -0
- package/dist/src/core/Button/button.type.d.ts +1 -0
- package/dist/src/core/Card/index.d.ts +8 -0
- package/dist/src/core/Cascader/cascader.type.d.ts +2 -0
- package/dist/src/core/Checkbox/index.d.ts +1 -1
- package/dist/src/core/DetailCard/detailCard.type.d.ts +1 -0
- package/dist/src/core/DonutChart/index.d.ts +1 -0
- package/dist/src/core/DropdownMenu/dropdownMenu.type.d.ts +2 -0
- package/dist/src/core/DropdownMenu/index.d.ts +1 -0
- package/dist/src/core/Duration/duration.type.d.ts +11 -3
- package/dist/src/core/Empty/index.d.ts +2 -1
- package/dist/src/core/Error/index.d.ts +2 -1
- package/dist/src/core/FailedLoad/index.d.ts +1 -0
- package/dist/src/core/Fields/FieldsBoolean/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsDateTime/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsEnum/fieldsEnum.type.d.ts +1 -0
- package/dist/src/core/Fields/FieldsEnum/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsFloat/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsInt/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsInteger/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsString/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsTextArea/index.d.ts +1 -1
- package/dist/src/core/Fields/FieldsTimePicker/index.d.ts +1 -1
- package/dist/src/core/Fields/__test__/data-testid.test.d.ts +1 -0
- package/dist/src/core/Fields/fields.type.d.ts +2 -1
- package/dist/src/core/Fields/index.d.ts +13 -9
- package/dist/src/core/FormItem/index.d.ts +3 -1
- package/dist/src/core/ImmersiveDialog/type.d.ts +5 -0
- package/dist/src/core/Input/input.type.d.ts +5 -0
- package/dist/src/core/InputPassword/index.d.ts +7 -2
- package/dist/src/core/LegacySelect/select.type.d.ts +1 -0
- package/dist/src/core/Legend/legend.type.d.ts +2 -0
- package/dist/src/core/LineChart/type.d.ts +4 -0
- package/dist/src/core/LocalUpload/LocalUpload.type.d.ts +4 -0
- package/dist/src/core/Metric/index.d.ts +1 -0
- package/dist/src/core/Nav/nav.type.d.ts +2 -0
- package/dist/src/core/Pagination/pagination.type.d.ts +1 -0
- package/dist/src/core/Progress/progress.type.d.ts +4 -0
- package/dist/src/core/Radio/index.d.ts +3 -1
- package/dist/src/core/Radio/radio.type.d.ts +2 -0
- package/dist/src/core/SearchInput/SearchInput.type.d.ts +4 -0
- package/dist/src/core/SegmentControl/segmentControl.type.d.ts +2 -0
- package/dist/src/core/SimplePagination/simplePagination.type.d.ts +1 -0
- package/dist/src/core/SmallDialog/SmallDialog.type.d.ts +5 -0
- package/dist/src/core/SmallDialog/index.d.ts +1 -1
- package/dist/src/core/StepProgress/stepProgress.type.d.ts +1 -0
- package/dist/src/core/Steps/steps.type.d.ts +1 -0
- package/dist/src/core/Switch/switch.type.d.ts +1 -0
- package/dist/src/core/Tab/Tab.type.d.ts +4 -0
- package/dist/src/core/Table/table.type.d.ts +6 -2
- package/dist/src/core/TextArea/textArea.type.d.ts +1 -0
- package/dist/src/core/Time/index.d.ts +1 -1
- package/dist/src/core/Time/time.type.d.ts +5 -0
- package/dist/src/core/TimePicker/index.d.ts +2 -0
- package/dist/src/core/TimeZoneSelect/timeZoneSelect.type.d.ts +1 -0
- package/dist/src/core/Timeline/Timeline.type.d.ts +2 -0
- package/dist/src/core/Timeline/index.d.ts +1 -1
- package/dist/src/core/Truncate/index.d.ts +1 -0
- package/dist/src/core/Units/units.type.d.ts +10 -0
- package/dist/src/core/WizardDialog/type.d.ts +2 -0
- package/dist/src/core/__test__/data-testid.test.d.ts +1 -0
- package/dist/src/coreX/CheckPointList/checkpointlist.type.d.ts +1 -1
- package/dist/src/coreX/index.d.ts +1 -1
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/stories/docs/core/Alert.stories.d.ts +1 -0
- package/dist/stories/docs/core/Arch.stories.d.ts +3 -0
- package/dist/stories/docs/core/AutoComplete.stories.d.ts +3 -1
- package/dist/stories/docs/core/Banner.stories.d.ts +2 -2
- package/dist/stories/docs/core/BasicCTError.stories.d.ts +1 -1
- package/dist/stories/docs/core/Bit.stories.d.ts +3 -0
- package/dist/stories/docs/core/BitPerSecond.stories.d.ts +3 -0
- package/dist/stories/docs/core/BlankState.stories.d.ts +1 -1
- package/dist/stories/docs/core/Bps.stories.d.ts +3 -0
- package/dist/stories/docs/core/Byte.stories.d.ts +3 -0
- package/dist/stories/docs/core/BytePerSecond.stories.d.ts +3 -0
- package/dist/stories/docs/core/Card.stories.d.ts +1 -0
- package/dist/stories/docs/core/FieldsBoolean.stories.d.ts +2 -0
- package/dist/stories/docs/core/FieldsString.stories.d.ts +4 -0
- package/dist/stories/docs/core/FieldsTimePicker.stories.d.ts +2 -0
- package/dist/stories/docs/core/Frequency.stories.d.ts +3 -0
- package/dist/stories/docs/core/ImmersiveDialog.stories.d.ts +1 -0
- package/dist/stories/docs/core/InputPassword.stories.d.ts +1 -3
- package/dist/stories/docs/core/Percent.stories.d.ts +5 -0
- package/dist/stories/docs/core/Speed.stories.d.ts +3 -0
- package/dist/stories/docs/core/Table.stories.d.ts +1 -1
- package/dist/stories/docs/core/Timeline.stories.d.ts +1 -1
- package/dist/stories/docs/core/WizardDialog.stories.d.ts +2 -0
- package/dist/stories/docs/coreX/KubeConfigModal.stories.d.ts +1 -1
- package/dist/style.css +3438 -3438
- package/package.json +4 -4
|
@@ -11,6 +11,8 @@ export type TabItem = {
|
|
|
11
11
|
}) => React.ReactNode);
|
|
12
12
|
/** Tab 的内容 */
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
+
/** 测试标识,挂在 tab 标题的点击目标上 */
|
|
15
|
+
"data-testid"?: string;
|
|
14
16
|
};
|
|
15
17
|
/**
|
|
16
18
|
* Tab 组件的属性
|
|
@@ -18,6 +20,8 @@ export type TabItem = {
|
|
|
18
20
|
export type TabProps = {
|
|
19
21
|
/** 外层容器的类名 */
|
|
20
22
|
className?: string;
|
|
23
|
+
/** 测试标识 */
|
|
24
|
+
"data-testid"?: string;
|
|
21
25
|
/** 内容区域的类名 */
|
|
22
26
|
contentClassName?: string;
|
|
23
27
|
/** 当前选中的 Tab 的 key */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { ColumnsType, ColumnType, TableProps as AntdTableProps } from "antd/lib/table";
|
|
3
|
-
import {
|
|
2
|
+
import { ExpandableConfig, TableRowSelection } from "antd/lib/table/interface";
|
|
3
|
+
import React from "react";
|
|
4
4
|
import { ITableSkeletonProps } from "./TableSkeleton";
|
|
5
5
|
interface IdObject {
|
|
6
6
|
id: string;
|
|
@@ -232,5 +232,9 @@ export interface TableProps<T extends {
|
|
|
232
232
|
* @see https://ant.design/components/table-cn#expandable
|
|
233
233
|
*/
|
|
234
234
|
expandable?: ExpandableConfig<T>;
|
|
235
|
+
/**
|
|
236
|
+
* 用于测试的标识符,会传递到表格根容器元素。
|
|
237
|
+
*/
|
|
238
|
+
"data-testid"?: string;
|
|
235
239
|
}
|
|
236
240
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ITimeProps } from "./time.type";
|
|
3
|
-
declare const Time: (
|
|
3
|
+
declare const Time: ({ className, date, dateTemplate, timeTemplate, plainText, "data-testid": dataTestId, }: ITimeProps) => React.JSX.Element;
|
|
4
4
|
export default Time;
|
|
5
5
|
export * from "./time.type";
|
|
@@ -10,5 +10,5 @@ import { TimelineProps } from "./Timeline.type";
|
|
|
10
10
|
* @param props - 组件属性
|
|
11
11
|
* @returns React 组件
|
|
12
12
|
*/
|
|
13
|
-
export declare const Timeline: ({ items, emptyText, emptyRender, compact, timelineContainerClassName, emptyTextClassName, }: TimelineProps) => ReactElement;
|
|
13
|
+
export declare const Timeline: ({ items, emptyText, emptyRender, compact, timelineContainerClassName, emptyTextClassName, "data-testid": dataTestId, }: TimelineProps) => ReactElement;
|
|
14
14
|
export * from "./Timeline.type";
|
|
@@ -69,6 +69,11 @@ export type PercentFn = React.FC<RawValue & {
|
|
|
69
69
|
* @type {IEmptyProps}
|
|
70
70
|
*/
|
|
71
71
|
emptyProps?: IEmptyProps;
|
|
72
|
+
/**
|
|
73
|
+
* 数据测试 id
|
|
74
|
+
* @type {string}
|
|
75
|
+
*/
|
|
76
|
+
"data-testid"?: string;
|
|
72
77
|
}>;
|
|
73
78
|
/**
|
|
74
79
|
* 通用单位展示组件的属性类型
|
|
@@ -80,4 +85,9 @@ export type UnitFn = React.FC<RawValue & {
|
|
|
80
85
|
* @type {IEmptyProps}
|
|
81
86
|
*/
|
|
82
87
|
emptyProps?: IEmptyProps;
|
|
88
|
+
/**
|
|
89
|
+
* 数据测试 id
|
|
90
|
+
* @type {string}
|
|
91
|
+
*/
|
|
92
|
+
"data-testid"?: string;
|
|
83
93
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AlertProps } from "../../core/Alert";
|
|
2
2
|
import { ButtonProps } from "../../core/Button";
|
|
3
3
|
import { IconProps } from "../../core/Icon";
|
|
4
|
-
import { TagProps } from "../../core/Tag";
|
|
5
4
|
import { LinkProps } from "../../core/Link";
|
|
5
|
+
import { TagProps } from "../../core/Tag";
|
|
6
6
|
import React from "react";
|
|
7
7
|
/**
|
|
8
8
|
* 检查点项的属性
|
|
@@ -25,8 +25,8 @@ export * from "./SortableList";
|
|
|
25
25
|
export * from "./SummaryTable";
|
|
26
26
|
export * from "./SwitchWithText";
|
|
27
27
|
export * from "./TabMenu";
|
|
28
|
-
export * from "./UnitWithChart";
|
|
29
28
|
export * from "./UnderlineTootip";
|
|
29
|
+
export * from "./UnitWithChart";
|
|
30
30
|
export { default as BarChart } from "./BarChart";
|
|
31
31
|
export { default as BatchOperation } from "./BatchOperation";
|
|
32
32
|
export { default as ChartWithTooltip } from "./ChartWithTooltip";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from "./compute";
|
|
2
2
|
export * from "./constants";
|
|
3
3
|
export * from "./cron-time";
|
|
4
|
+
export * from "./cterror";
|
|
4
5
|
export * from "./dom";
|
|
6
|
+
export * from "./formatDuration";
|
|
5
7
|
export * from "./formatValue";
|
|
6
8
|
export * from "./icon";
|
|
7
9
|
export * from "./isStringArr";
|
|
8
10
|
export * from "./time";
|
|
9
|
-
export * from "./cterror";
|
|
10
|
-
export * from "./formatDuration";
|
|
@@ -4,6 +4,7 @@ import React from "react";
|
|
|
4
4
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("antd/lib/alert").AlertProps, "type"> & {
|
|
5
5
|
type?: "normal" | "success" | "info" | "warning" | "error" | undefined;
|
|
6
6
|
action?: React.ReactNode;
|
|
7
|
+
"data-testid"?: string | undefined;
|
|
7
8
|
} & {
|
|
8
9
|
children?: React.ReactNode;
|
|
9
10
|
}>;
|
|
@@ -2,17 +2,20 @@ import { Architecture } from "../../../src/core/Arch";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
4
4
|
architecture?: Architecture | undefined;
|
|
5
|
+
"data-testid"?: string | undefined;
|
|
5
6
|
} & {
|
|
6
7
|
children?: React.ReactNode;
|
|
7
8
|
}>;
|
|
8
9
|
export default _default;
|
|
9
10
|
export declare const Aarch64: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
10
11
|
architecture?: Architecture | undefined;
|
|
12
|
+
"data-testid"?: string | undefined;
|
|
11
13
|
} & {
|
|
12
14
|
children?: React.ReactNode;
|
|
13
15
|
}>;
|
|
14
16
|
export declare const X86_64: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
15
17
|
architecture?: Architecture | undefined;
|
|
18
|
+
"data-testid"?: string | undefined;
|
|
16
19
|
} & {
|
|
17
20
|
children?: React.ReactNode;
|
|
18
21
|
}>;
|
|
@@ -19,7 +19,9 @@ import React from "react";
|
|
|
19
19
|
* 更多属性请参考 antd AutoComplete 组件文档
|
|
20
20
|
*/
|
|
21
21
|
declare const meta: {
|
|
22
|
-
component: React.FC<import("antd5").AutoCompleteProps<any, import("antd5/es/select").DefaultOptionType
|
|
22
|
+
component: React.FC<import("antd5").AutoCompleteProps<any, import("antd5/es/select").DefaultOptionType> & {
|
|
23
|
+
"data-testid"?: string | undefined;
|
|
24
|
+
}>;
|
|
23
25
|
title: "Core/AutoComplete | 自动完成";
|
|
24
26
|
args: {
|
|
25
27
|
placeholder: string;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -2,7 +2,7 @@ import BlankState from "../../../src/core/BlankState";
|
|
|
2
2
|
import { StoryObj } from "@storybook/react";
|
|
3
3
|
import React from "react";
|
|
4
4
|
declare const meta: {
|
|
5
|
-
component: (
|
|
5
|
+
component: ({ className, style, width, height, title, description, action, backgroundColor, size, "data-testid": dataTestId, }: import("../../../src/core/BlankState/type").IBlankStateProps) => React.JSX.Element;
|
|
6
6
|
title: "Core/BlankState | 空白状态";
|
|
7
7
|
parameters: {
|
|
8
8
|
design: {
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -10,6 +10,7 @@ declare const meta: {
|
|
|
10
10
|
className?: string | undefined;
|
|
11
11
|
hoverable?: boolean | undefined;
|
|
12
12
|
shadow?: boolean | undefined;
|
|
13
|
+
"data-testid"?: string | undefined;
|
|
13
14
|
} & React.DOMAttributes<HTMLDivElement> & {
|
|
14
15
|
children?: React.ReactNode;
|
|
15
16
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
2
2
|
disabled?: boolean | undefined;
|
|
3
3
|
className?: string | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
}>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
7
8
|
disabled?: boolean | undefined;
|
|
8
9
|
className?: string | undefined;
|
|
10
|
+
"data-testid"?: string | undefined;
|
|
9
11
|
}>;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
2
2
|
disabled?: boolean | undefined;
|
|
3
3
|
className?: string | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & import("../../../src/core/Fields/FieldsString").StringProps>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const WithoutTags: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
7
8
|
disabled?: boolean | undefined;
|
|
8
9
|
className?: string | undefined;
|
|
10
|
+
"data-testid"?: string | undefined;
|
|
9
11
|
} & import("../../../src/core/Fields/FieldsString").StringProps>;
|
|
10
12
|
export declare const WithOneTag: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
11
13
|
disabled?: boolean | undefined;
|
|
12
14
|
className?: string | undefined;
|
|
15
|
+
"data-testid"?: string | undefined;
|
|
13
16
|
} & import("../../../src/core/Fields/FieldsString").StringProps>;
|
|
14
17
|
export declare const WithTags: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
15
18
|
disabled?: boolean | undefined;
|
|
16
19
|
className?: string | undefined;
|
|
20
|
+
"data-testid"?: string | undefined;
|
|
17
21
|
} & import("../../../src/core/Fields/FieldsString").StringProps>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
2
2
|
disabled?: boolean | undefined;
|
|
3
3
|
className?: string | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & import("antd/lib/time-picker").TimePickerProps>;
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").FieldRenderProps<any, HTMLElement> & {
|
|
7
8
|
disabled?: boolean | undefined;
|
|
8
9
|
className?: string | undefined;
|
|
10
|
+
"data-testid"?: string | undefined;
|
|
9
11
|
} & import("antd/lib/time-picker").TimePickerProps>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -123,6 +123,7 @@ declare const meta: {
|
|
|
123
123
|
footerLeftAction?: React.ReactNode;
|
|
124
124
|
initializing?: boolean | undefined;
|
|
125
125
|
initializingError?: React.ReactNode;
|
|
126
|
+
"data-testid"?: string | undefined;
|
|
126
127
|
children?: React.ReactNode;
|
|
127
128
|
}>) => React.JSX.Element)[];
|
|
128
129
|
parameters: {
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
import InputPassword from "../../../src/core/InputPassword";
|
|
3
3
|
import { StoryObj } from "@storybook/react";
|
|
4
4
|
declare const meta: {
|
|
5
|
-
component: import("react").FC<import("
|
|
6
|
-
error?: boolean | undefined;
|
|
7
|
-
}>;
|
|
5
|
+
component: import("react").FC<import("../../../src/core/InputPassword").InputPasswordProps>;
|
|
8
6
|
title: "Core/InputPassword | 密码输入";
|
|
9
7
|
parameters: {
|
|
10
8
|
design: {
|
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
saturated?: boolean | undefined;
|
|
4
4
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
5
|
+
"data-testid"?: string | undefined;
|
|
5
6
|
} & {
|
|
6
7
|
children?: React.ReactNode;
|
|
7
8
|
}>;
|
|
@@ -9,24 +10,28 @@ export default _default;
|
|
|
9
10
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
10
11
|
saturated?: boolean | undefined;
|
|
11
12
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
13
|
+
"data-testid"?: string | undefined;
|
|
12
14
|
} & {
|
|
13
15
|
children?: React.ReactNode;
|
|
14
16
|
}>;
|
|
15
17
|
export declare const Saturated: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
16
18
|
saturated?: boolean | undefined;
|
|
17
19
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
20
|
+
"data-testid"?: string | undefined;
|
|
18
21
|
} & {
|
|
19
22
|
children?: React.ReactNode;
|
|
20
23
|
}>;
|
|
21
24
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
22
25
|
saturated?: boolean | undefined;
|
|
23
26
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
27
|
+
"data-testid"?: string | undefined;
|
|
24
28
|
} & {
|
|
25
29
|
children?: React.ReactNode;
|
|
26
30
|
}>;
|
|
27
31
|
export declare const EmptyInfinity: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
28
32
|
saturated?: boolean | undefined;
|
|
29
33
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
34
|
+
"data-testid"?: string | undefined;
|
|
30
35
|
} & {
|
|
31
36
|
children?: React.ReactNode;
|
|
32
37
|
}>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
3
3
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
4
|
+
"data-testid"?: string | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
children?: React.ReactNode;
|
|
6
7
|
}>;
|
|
7
8
|
export default _default;
|
|
8
9
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
9
10
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
11
|
+
"data-testid"?: string | undefined;
|
|
10
12
|
} & {
|
|
11
13
|
children?: React.ReactNode;
|
|
12
14
|
}>;
|
|
13
15
|
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../src").RawValue & {
|
|
14
16
|
emptyProps?: import("../../../src").IEmptyProps | undefined;
|
|
17
|
+
"data-testid"?: string | undefined;
|
|
15
18
|
} & {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
}>;
|
|
@@ -9,7 +9,7 @@ import React from "react";
|
|
|
9
9
|
* * 支持使用 Area 组件灵活自定义辅助信息展示
|
|
10
10
|
*/
|
|
11
11
|
declare const meta: {
|
|
12
|
-
component: ({ items, emptyText, emptyRender, compact, timelineContainerClassName, emptyTextClassName, }: import("../../../src/core/Timeline").TimelineProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
12
|
+
component: ({ items, emptyText, emptyRender, compact, timelineContainerClassName, emptyTextClassName, "data-testid": dataTestId, }: import("../../../src/core/Timeline").TimelineProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
13
13
|
title: string;
|
|
14
14
|
parameters: {
|
|
15
15
|
docs: {
|
|
@@ -155,11 +155,13 @@ declare const story: {
|
|
|
155
155
|
footerLeftAction?: React.ReactNode;
|
|
156
156
|
initializing?: boolean | undefined;
|
|
157
157
|
initializingError?: React.ReactNode;
|
|
158
|
+
"data-testid"?: string | undefined;
|
|
158
159
|
children?: React.ReactNode;
|
|
159
160
|
step?: number | undefined;
|
|
160
161
|
steps?: {
|
|
161
162
|
title: string;
|
|
162
163
|
children: React.ReactNode;
|
|
164
|
+
"data-testid"?: string | undefined;
|
|
163
165
|
}[] | undefined;
|
|
164
166
|
hideSteps?: boolean | undefined;
|
|
165
167
|
destroyOtherStep?: boolean | undefined;
|