@cloudtower/eagle 0.34.8 → 0.34.9

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.
@@ -7,6 +7,7 @@ export interface IBarChartProps {
7
7
  shape?: "stripes" | "fill";
8
8
  }>;
9
9
  total: number;
10
+ className?: string;
10
11
  }
11
12
  declare const BarChart: React.FC<IBarChartProps>;
12
13
  export default BarChart;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import type { ButtonProps } from "../../../core/Button";
2
3
  export type RejectReason = string;
3
4
  export type RejectContent = Record<string, RejectReason[]>;
4
5
  export declare enum RejectDialogType {
@@ -10,12 +11,16 @@ export declare enum RejectDialogType {
10
11
  interface BaseRejectDialogProps {
11
12
  /** 弹窗标题 */
12
13
  title: React.ReactNode;
14
+ /** 在描述文本之前的内容 */
15
+ beforeDescription?: React.ReactNode;
13
16
  /** 补充描述文本 */
14
17
  description?: React.ReactNode;
15
18
  /** 取消按钮文案 */
16
19
  cancelText?: string;
17
20
  /** 点击取消按钮或关闭弹窗回调 */
18
21
  onCancel?: (popModal: () => void) => void;
22
+ /** 确认按钮属性 */
23
+ okButtonProps?: ButtonProps;
19
24
  /** 弹窗宽度 */
20
25
  width?: number;
21
26
  /** 自定义类名 */
@@ -12,9 +12,11 @@ declare const meta: {
12
12
  type: RejectDialogType.Single;
13
13
  content: string | string[];
14
14
  title: React.ReactNode;
15
+ beforeDescription?: React.ReactNode;
15
16
  description?: React.ReactNode;
16
17
  cancelText?: string | undefined;
17
18
  onCancel?: ((popModal: () => void) => void) | undefined;
19
+ okButtonProps?: import("../../../../src/core").ButtonProps | undefined;
18
20
  width?: number | undefined;
19
21
  className?: string | undefined;
20
22
  footerClassName?: string | undefined;
@@ -25,9 +27,11 @@ declare const meta: {
25
27
  content: import("../../../../src/coreX").RejectContent;
26
28
  resourceIcon?: React.ReactNode;
27
29
  title: React.ReactNode;
30
+ beforeDescription?: React.ReactNode;
28
31
  description?: React.ReactNode;
29
32
  cancelText?: string | undefined;
30
33
  onCancel?: ((popModal: () => void) => void) | undefined;
34
+ okButtonProps?: import("../../../../src/core").ButtonProps | undefined;
31
35
  width?: number | undefined;
32
36
  className?: string | undefined;
33
37
  footerClassName?: string | undefined;
@@ -41,9 +45,11 @@ declare const meta: {
41
45
  okText?: string | undefined;
42
46
  onOk?: ((popModal: () => void) => void) | undefined;
43
47
  title: React.ReactNode;
48
+ beforeDescription?: React.ReactNode;
44
49
  description?: React.ReactNode;
45
50
  cancelText?: string | undefined;
46
51
  onCancel?: ((popModal: () => void) => void) | undefined;
52
+ okButtonProps?: import("../../../../src/core").ButtonProps | undefined;
47
53
  width?: number | undefined;
48
54
  className?: string | undefined;
49
55
  footerClassName?: string | undefined;
@@ -53,9 +59,11 @@ declare const meta: {
53
59
  customContent: React.ReactNode;
54
60
  okText?: string | undefined;
55
61
  title: React.ReactNode;
62
+ beforeDescription?: React.ReactNode;
56
63
  description?: React.ReactNode;
57
64
  cancelText?: string | undefined;
58
65
  onCancel?: ((popModal: () => void) => void) | undefined;
66
+ okButtonProps?: import("../../../../src/core").ButtonProps | undefined;
59
67
  width?: number | undefined;
60
68
  className?: string | undefined;
61
69
  footerClassName?: string | undefined;