@cloudtower/eagle 490.0.5 → 490.0.7
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/README.md +34 -0
- package/dist/cjs/core/Cascader/cascader.widget.js +12 -12
- package/dist/cjs/core/SearchInput/SearchInput.hook.js +124 -0
- package/dist/cjs/core/SearchInput/SearchInput.js +253 -0
- package/dist/cjs/core/SearchInput/SearchInput.style.js +13 -0
- package/dist/cjs/core/index.js +6 -6
- package/dist/cjs/index.js +172 -172
- package/dist/cjs/legacy-antd.js +89 -89
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3836 -3813
- package/dist/esm/core/Cascader/cascader.widget.js +1 -1
- package/dist/esm/core/SearchInput/SearchInput.hook.js +117 -0
- package/dist/esm/core/SearchInput/SearchInput.js +247 -0
- package/dist/esm/core/SearchInput/SearchInput.style.js +7 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/legacy-antd.js +1 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +3611 -3582
- package/dist/src/core/Cascader/cascader.type.d.ts +1 -1
- package/dist/src/core/ImmersiveDialog/type.d.ts +127 -19
- package/dist/src/core/MediumDialog/MediumDialog.type.d.ts +49 -1
- package/dist/src/core/SearchInput/SearchInput.d.ts +2 -0
- package/dist/src/core/SearchInput/SearchInput.hook.d.ts +9 -0
- package/dist/src/core/SearchInput/SearchInput.style.d.ts +5 -0
- package/dist/src/core/SearchInput/SearchInput.type.d.ts +150 -0
- package/dist/src/core/SearchInput/__test__/SearchInput.hook.test.d.ts +1 -0
- package/dist/src/core/SearchInput/index.d.ts +2 -4
- package/dist/src/core/SmallDialog/SmallDialog.type.d.ts +150 -21
- package/dist/src/core/TableForm/types.d.ts +216 -68
- package/dist/src/core/WizardDialog/type.d.ts +147 -13
- package/dist/src/core/index.d.ts +0 -1
- package/dist/src/coreX/Dialogs/DeleteDialog/DeleteDialog.type.d.ts +100 -9
- package/dist/src/coreX/Dialogs/RejectDialog/RejectDialog.type.d.ts +126 -19
- package/dist/stories/docs/core/ImmersiveDialog.stories.d.ts +76 -8
- package/dist/stories/docs/core/MediumDialog.stories.d.ts +42 -8
- package/dist/stories/docs/core/SearchInput.stories.d.ts +6 -1
- package/dist/stories/docs/core/SmallDialog.stories.d.ts +86 -7
- package/dist/stories/docs/core/TableForm.stories.d.ts +40 -26
- package/dist/stories/docs/core/WizardDialog.stories.d.ts +65 -6
- package/dist/stories/docs/coreX/Dialogs/DeleteDialog.stories.d.ts +20 -19
- package/dist/stories/docs/coreX/Dialogs/RejectDialog.stories.d.ts +24 -23
- package/dist/style.css +3836 -3813
- package/docs/core/ImmersiveDialog/guide.md +298 -0
- package/docs/core/LegacyModal/migrate-guide.md +422 -0
- package/docs/core/MediumDialog/guide.md +263 -0
- package/docs/core/SearchInput/guide.md +125 -0
- package/docs/core/SmallDialog/guide.md +224 -0
- package/docs/core/TableForm/guide.md +195 -0
- package/docs/core/WizardDialog/guide.md +322 -0
- package/docs/coreX/DeleteDialog/guide.md +161 -0
- package/docs/coreX/RejectDialog/guide.md +185 -0
- package/docs/llms.txt +169 -0
- package/package.json +6 -5
- package/dist/cjs/core/SearchInput/index.js +0 -164
- package/dist/esm/core/SearchInput/index.js +0 -157
- package/dist/src/core/SearchInput/searchInput.type.d.ts +0 -63
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { TableFormHandle
|
|
1
|
+
import { TableFormHandle } from "../../../src/core/TableForm/types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const meta: {
|
|
4
|
-
component: React.ForwardRefExoticComponent<TableFormProps & React.RefAttributes<TableFormHandle>>;
|
|
4
|
+
component: React.ForwardRefExoticComponent<import("../../../src/core/TableForm").TableFormProps & React.RefAttributes<TableFormHandle>>;
|
|
5
5
|
title: "Core/TableForm | 表格表单";
|
|
6
6
|
parameters: {
|
|
7
|
+
docs: {
|
|
8
|
+
description: {
|
|
9
|
+
component: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
7
12
|
design: {
|
|
8
13
|
type: string;
|
|
9
14
|
url: string;
|
|
@@ -11,42 +16,51 @@ declare const meta: {
|
|
|
11
16
|
};
|
|
12
17
|
};
|
|
13
18
|
export default meta;
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
19
|
+
export declare const Basic: {
|
|
20
|
+
(): React.JSX.Element;
|
|
21
|
+
storyName: string;
|
|
16
22
|
};
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
23
|
+
export declare const BatchFilling: {
|
|
24
|
+
(): React.JSX.Element;
|
|
25
|
+
storyName: string;
|
|
19
26
|
};
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
27
|
+
export declare const DynamicRows: {
|
|
28
|
+
(): React.JSX.Element;
|
|
29
|
+
storyName: string;
|
|
22
30
|
};
|
|
23
|
-
export declare const
|
|
24
|
-
|
|
31
|
+
export declare const DraggableRows: {
|
|
32
|
+
(): React.JSX.Element;
|
|
33
|
+
storyName: string;
|
|
25
34
|
};
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
35
|
+
export declare const CustomColumnRender: {
|
|
36
|
+
(): React.JSX.Element;
|
|
37
|
+
storyName: string;
|
|
28
38
|
};
|
|
29
|
-
export declare const
|
|
30
|
-
|
|
39
|
+
export declare const ValidateModes: {
|
|
40
|
+
(): React.JSX.Element;
|
|
41
|
+
storyName: string;
|
|
31
42
|
};
|
|
32
43
|
export declare const RowConfig: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export declare const ErrorsConfig: {
|
|
36
|
-
render: () => React.JSX.Element;
|
|
44
|
+
(): React.JSX.Element;
|
|
45
|
+
storyName: string;
|
|
37
46
|
};
|
|
38
|
-
export declare const
|
|
39
|
-
|
|
47
|
+
export declare const ErrorInjection: {
|
|
48
|
+
(): React.JSX.Element;
|
|
49
|
+
storyName: string;
|
|
40
50
|
};
|
|
41
|
-
export declare const
|
|
42
|
-
|
|
51
|
+
export declare const RefHandle: {
|
|
52
|
+
(): React.JSX.Element;
|
|
53
|
+
storyName: string;
|
|
43
54
|
};
|
|
44
|
-
export declare const
|
|
45
|
-
|
|
55
|
+
export declare const EmptyTable: {
|
|
56
|
+
(): React.JSX.Element;
|
|
57
|
+
storyName: string;
|
|
46
58
|
};
|
|
47
59
|
export declare const TitleAndSubTitle: {
|
|
48
|
-
|
|
60
|
+
(): React.JSX.Element;
|
|
61
|
+
storyName: string;
|
|
49
62
|
};
|
|
50
63
|
export declare const ExtraAction: {
|
|
51
|
-
|
|
64
|
+
(): React.JSX.Element;
|
|
65
|
+
storyName: string;
|
|
52
66
|
};
|
|
@@ -1,11 +1,70 @@
|
|
|
1
1
|
import { WizardDialog } from "../../../src/core/WizardDialog";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
/**
|
|
4
|
+
* 基础用法
|
|
5
|
+
*/
|
|
6
|
+
export declare const StepWizardDialog: {
|
|
7
|
+
(): React.JSX.Element;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 仅左侧面板
|
|
12
|
+
*/
|
|
13
|
+
export declare const OnlyLeftWizardDialog: {
|
|
14
|
+
(): React.JSX.Element;
|
|
15
|
+
storyName: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 自定义步骤组件
|
|
19
|
+
*/
|
|
20
|
+
export declare const CustomStepsWizardDialog: {
|
|
21
|
+
(): React.JSX.Element;
|
|
22
|
+
storyName: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 可滚动的多步骤向导
|
|
26
|
+
*/
|
|
27
|
+
export declare const ScrollableWizardDialog: {
|
|
28
|
+
(): React.JSX.Element;
|
|
29
|
+
storyName: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* 初始化状态
|
|
33
|
+
*/
|
|
34
|
+
export declare const InitializingWizardDialog: {
|
|
35
|
+
(): React.JSX.Element;
|
|
36
|
+
storyName: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* 隐藏底部操作栏
|
|
40
|
+
*/
|
|
41
|
+
export declare const NoFooterWizardDialog: {
|
|
42
|
+
(): React.JSX.Element;
|
|
43
|
+
storyName: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 步骤校验(onNextStep 阻止导航)
|
|
47
|
+
*
|
|
48
|
+
* 演示 onNextStep 返回 false 阻止步骤跳转的模式。
|
|
49
|
+
* 第一步包含必填项,未填写时点击"下一步"会被阻止并显示校验提示。
|
|
50
|
+
*/
|
|
51
|
+
export declare const StepValidation: {
|
|
52
|
+
(): React.JSX.Element;
|
|
53
|
+
storyName: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* WizardDialog 组件
|
|
57
|
+
*
|
|
58
|
+
* 基于 ImmersiveDialog 扩展的多步骤向导对话框,适用于需要分步引导用户完成复杂操作的场景。
|
|
59
|
+
*
|
|
60
|
+
* ### 特性
|
|
61
|
+
* - 支持通过 steps 配置多个步骤,每个步骤包含标题和内容
|
|
62
|
+
* - 左侧面板自动渲染步骤指示器,支持点击步骤切换
|
|
63
|
+
* - 自动管理上一步/下一步按钮,最后一步显示确认按钮
|
|
64
|
+
* - 支持 onNextStep 返回 false 阻止步骤跳转(表单校验场景)
|
|
65
|
+
* - 支持自定义左侧、右侧面板内容
|
|
66
|
+
* - 支持隐藏步骤指示器(hideSteps)以使用自定义步骤组件
|
|
67
|
+
*/
|
|
9
68
|
declare const story: {
|
|
10
69
|
title: "Core/WizardDialog | 向导弹窗";
|
|
11
70
|
component: typeof WizardDialog;
|
|
@@ -23,26 +23,27 @@ declare const meta: {
|
|
|
23
23
|
}>) => React.JSX.Element)[];
|
|
24
24
|
args: {};
|
|
25
25
|
parameters: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
docs: {
|
|
27
|
+
description: {
|
|
28
|
+
component: string;
|
|
29
|
+
};
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
export default meta;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
export declare const Basic: {
|
|
35
|
+
(): React.JSX.Element;
|
|
36
|
+
storyName: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const CustomButtonText: {
|
|
39
|
+
(): React.JSX.Element;
|
|
40
|
+
storyName: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const ConfirmLoading: {
|
|
43
|
+
(): React.JSX.Element;
|
|
44
|
+
storyName: string;
|
|
45
|
+
};
|
|
46
|
+
export declare const Failed: {
|
|
47
|
+
(): React.JSX.Element;
|
|
48
|
+
storyName: string;
|
|
49
|
+
};
|
|
@@ -73,30 +73,31 @@ declare const meta: {
|
|
|
73
73
|
children?: React.ReactNode;
|
|
74
74
|
}>) => React.JSX.Element)[];
|
|
75
75
|
parameters: {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
docs: {
|
|
77
|
+
description: {
|
|
78
|
+
component: string;
|
|
79
|
+
};
|
|
79
80
|
};
|
|
80
81
|
};
|
|
81
82
|
};
|
|
82
83
|
export default meta;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
84
|
+
export declare const SingleReject: {
|
|
85
|
+
(): React.JSX.Element;
|
|
86
|
+
storyName: string;
|
|
87
|
+
};
|
|
88
|
+
export declare const SingleRejectMultiReasons: {
|
|
89
|
+
(): React.JSX.Element;
|
|
90
|
+
storyName: string;
|
|
91
|
+
};
|
|
92
|
+
export declare const AllReject: {
|
|
93
|
+
(): React.JSX.Element;
|
|
94
|
+
storyName: string;
|
|
95
|
+
};
|
|
96
|
+
export declare const PartialReject: {
|
|
97
|
+
(): React.JSX.Element;
|
|
98
|
+
storyName: string;
|
|
99
|
+
};
|
|
100
|
+
export declare const CustomContent: {
|
|
101
|
+
(): React.JSX.Element;
|
|
102
|
+
storyName: string;
|
|
103
|
+
};
|