@cloudtower/eagle 0.34.5 → 0.34.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/dist/cjs/coreX/Dialogs/DeleteDialog/DeleteDialog.js +6 -2
- package/dist/cjs/coreX/Dialogs/RejectDialog/RejectDialog.js +16 -8
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +4556 -33004
- package/dist/esm/coreX/Dialogs/DeleteDialog/DeleteDialog.js +6 -2
- package/dist/esm/coreX/Dialogs/RejectDialog/RejectDialog.js +16 -8
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +4045 -4038
- package/dist/src/coreX/Dialogs/DeleteDialog/DeleteDialog.type.d.ts +4 -0
- package/dist/src/coreX/Dialogs/RejectDialog/RejectDialog.type.d.ts +4 -0
- package/dist/stories/docs/coreX/Dialogs/DeleteDialog.stories.d.ts +6 -0
- package/dist/stories/docs/coreX/Dialogs/RejectDialog.stories.d.ts +2 -0
- package/dist/style.css +3453 -3447
- package/package.json +4 -4
|
@@ -34,6 +34,8 @@ interface MultiAllRejectDialogProps extends BaseRejectDialogProps {
|
|
|
34
34
|
secondaryDesc?: React.ReactNode;
|
|
35
35
|
/** 多个对象的拒绝原因,格式为 { [对象名]: string[] } */
|
|
36
36
|
content: RejectContent;
|
|
37
|
+
/** 资源图标 */
|
|
38
|
+
resourceIcon?: React.ReactNode;
|
|
37
39
|
}
|
|
38
40
|
interface MultiPartialRejectDialogProps extends BaseRejectDialogProps {
|
|
39
41
|
type: RejectDialogType.Part;
|
|
@@ -41,6 +43,8 @@ interface MultiPartialRejectDialogProps extends BaseRejectDialogProps {
|
|
|
41
43
|
secondaryDesc?: React.ReactNode;
|
|
42
44
|
/** 多个对象的拒绝原因,格式为 { [对象名]: string[] } */
|
|
43
45
|
content: Record<string, string[]>;
|
|
46
|
+
/** 资源图标 */
|
|
47
|
+
resourceIcon?: React.ReactNode;
|
|
44
48
|
/** 部分拒绝时的额外说明 */
|
|
45
49
|
partialDescription: React.ReactNode;
|
|
46
50
|
/** 确认按钮文案 */
|
|
@@ -17,6 +17,8 @@ declare const meta: {
|
|
|
17
17
|
onCancel?: ((popModal: () => void) => void) | undefined;
|
|
18
18
|
className?: string | undefined;
|
|
19
19
|
confirmLoading?: boolean | undefined;
|
|
20
|
+
error?: React.ReactNode;
|
|
21
|
+
showFooterErrorIcon?: boolean | undefined;
|
|
20
22
|
children?: React.ReactNode;
|
|
21
23
|
}>) => React.JSX.Element)[];
|
|
22
24
|
args: {};
|
|
@@ -40,3 +42,7 @@ export declare const CustomButtonText: () => React.JSX.Element;
|
|
|
40
42
|
* 确认按钮加载状态
|
|
41
43
|
*/
|
|
42
44
|
export declare const ConfirmLoading: () => React.JSX.Element;
|
|
45
|
+
/**
|
|
46
|
+
* 删除失败
|
|
47
|
+
*/
|
|
48
|
+
export declare const Failed: () => React.JSX.Element;
|
|
@@ -23,6 +23,7 @@ declare const meta: {
|
|
|
23
23
|
type: RejectDialogType.All;
|
|
24
24
|
secondaryDesc?: React.ReactNode;
|
|
25
25
|
content: import("../../../../src/coreX").RejectContent;
|
|
26
|
+
resourceIcon?: React.ReactNode;
|
|
26
27
|
title: React.ReactNode;
|
|
27
28
|
description?: React.ReactNode;
|
|
28
29
|
cancelText?: string | undefined;
|
|
@@ -35,6 +36,7 @@ declare const meta: {
|
|
|
35
36
|
type: RejectDialogType.Part;
|
|
36
37
|
secondaryDesc?: React.ReactNode;
|
|
37
38
|
content: Record<string, string[]>;
|
|
39
|
+
resourceIcon?: React.ReactNode;
|
|
38
40
|
partialDescription: React.ReactNode;
|
|
39
41
|
okText?: string | undefined;
|
|
40
42
|
onOk?: ((popModal: () => void) => void) | undefined;
|