@gx-design-vue/image 0.2.0-beta.27 → 0.2.0-beta.28

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/Image.d.ts CHANGED
@@ -21,7 +21,7 @@ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
21
21
  type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
22
22
  default: string;
23
23
  };
24
- crossorigin: {
24
+ crossOrigin: {
25
25
  type: import("vue").PropType<"anonymous" | "use-credentials" | "">;
26
26
  };
27
27
  lazy: import("vue").PropType<boolean>;
@@ -45,11 +45,12 @@ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
45
45
  onClick: {
46
46
  type: import("vue").PropType<(info: any) => void>;
47
47
  };
48
- wrapperStyle: {
48
+ imageStyle: {
49
49
  type: import("vue").PropType<CSSProperties>;
50
50
  default: () => {};
51
51
  };
52
- wrapperClass: import("vue").PropType<string>;
52
+ imageClass: import("vue").PropType<string>;
53
+ size: import("vue").PropType<number>;
53
54
  width: import("vue").PropType<number>;
54
55
  height: import("vue").PropType<number>;
55
56
  zIndex: {
@@ -83,7 +84,7 @@ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
83
84
  type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
84
85
  default: string;
85
86
  };
86
- crossorigin: {
87
+ crossOrigin: {
87
88
  type: import("vue").PropType<"anonymous" | "use-credentials" | "">;
88
89
  };
89
90
  lazy: import("vue").PropType<boolean>;
@@ -107,11 +108,12 @@ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
107
108
  onClick: {
108
109
  type: import("vue").PropType<(info: any) => void>;
109
110
  };
110
- wrapperStyle: {
111
+ imageStyle: {
111
112
  type: import("vue").PropType<CSSProperties>;
112
113
  default: () => {};
113
114
  };
114
- wrapperClass: import("vue").PropType<string>;
115
+ imageClass: import("vue").PropType<string>;
116
+ size: import("vue").PropType<number>;
115
117
  width: import("vue").PropType<number>;
116
118
  height: import("vue").PropType<number>;
117
119
  zIndex: {
@@ -130,6 +132,8 @@ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
130
132
  placeholder: import("@gx-design-vue/pro-utils/dist").CustomRender;
131
133
  preview: boolean | Partial<{
132
134
  urls: string[];
135
+ mask: import("vue").VNode | boolean;
136
+ maskClass: string;
133
137
  disabled: boolean;
134
138
  zIndex: number;
135
139
  current: number;
@@ -143,9 +147,10 @@ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
143
147
  alt: string;
144
148
  fit: "fill" | "contain" | "cover" | "none" | "scale-down";
145
149
  fallback: import("@gx-design-vue/pro-utils/dist").CustomRender;
146
- wrapperStyle: CSSProperties;
150
+ imageStyle: CSSProperties;
147
151
  }, SlotsType<{
148
152
  default(): void;
153
+ mask(): void;
149
154
  close(): void;
150
155
  left(): void;
151
156
  right(): void;
@@ -14,6 +14,8 @@ export interface PreviewPropsIcons {
14
14
  }
15
15
  export type BaseImagePreviewProps = Partial<{
16
16
  urls: string[];
17
+ mask: VNode | boolean;
18
+ maskClass: string;
17
19
  disabled: boolean;
18
20
  zIndex: number;
19
21
  current: number;