@gx-design-vue/image 0.2.0-beta.16 → 0.2.0-beta.18

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
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties, ExtractPropTypes } from 'vue';
2
2
  import { gImagePorps } from './props';
3
3
  export type GImageProps = Partial<ExtractPropTypes<typeof gImagePorps>>;
4
- declare const GImage: import("vue").DefineComponent<{
4
+ declare const GImage: import("vue").DefineComponent<ExtractPropTypes<{
5
5
  previewTeleported: {
6
6
  type: import("vue").PropType<boolean>;
7
7
  default: boolean;
@@ -77,7 +77,7 @@ declare const GImage: import("vue").DefineComponent<{
77
77
  default: () => undefined;
78
78
  type: import("vue").PropType<number>;
79
79
  };
80
- }, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "error" | "load")[], "click" | "error" | "load", import("vue").PublicProps, Readonly<ExtractPropTypes<{
80
+ }>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "error" | "load")[], "click" | "error" | "load", import("vue").PublicProps, Readonly<ExtractPropTypes<{
81
81
  previewTeleported: {
82
82
  type: import("vue").PropType<boolean>;
83
83
  default: boolean;
@@ -153,11 +153,11 @@ declare const GImage: import("vue").DefineComponent<{
153
153
  default: () => undefined;
154
154
  type: import("vue").PropType<number>;
155
155
  };
156
- }>> & {
156
+ }>> & Readonly<{
157
157
  onLoad?: ((...args: any[]) => any) | undefined;
158
158
  onError?: ((...args: any[]) => any) | undefined;
159
159
  onClick?: ((...args: any[]) => any) | undefined;
160
- }, {
160
+ }>, {
161
161
  height: number;
162
162
  width: number;
163
163
  zIndex: number;
@@ -174,5 +174,5 @@ declare const GImage: import("vue").DefineComponent<{
174
174
  disablePreview: boolean;
175
175
  previewSrcList: string[];
176
176
  imageClassName: string;
177
- }, {}>;
177
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
178
178
  export default GImage;
@@ -4,7 +4,7 @@ export type AnyFunction<T> = (...args: any[]) => T;
4
4
  export type ImageViewerAction = 'zoomIn' | 'zoomOut' | 'clocelise' | 'anticlocelise';
5
5
  export declare const isFirefox: () => boolean;
6
6
  export declare function rafThrottle<T extends AnyFunction<any>>(fn: T): AnyFunction<void>;
7
- declare const GImageViewer: import("vue").DefineComponent<{
7
+ declare const GImageViewer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  urlList: {
9
9
  type: import("vue").PropType<string[]>;
10
10
  default: () => never[];
@@ -52,7 +52,7 @@ declare const GImageViewer: import("vue").DefineComponent<{
52
52
  right?: import("vue").VNode;
53
53
  };
54
54
  };
55
- }, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "switch")[], "close" | "switch", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
+ }>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "switch")[], "close" | "switch", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
56
  urlList: {
57
57
  type: import("vue").PropType<string[]>;
58
58
  default: () => never[];
@@ -100,10 +100,10 @@ declare const GImageViewer: import("vue").DefineComponent<{
100
100
  right?: import("vue").VNode;
101
101
  };
102
102
  };
103
- }>> & {
103
+ }>> & Readonly<{
104
104
  onSwitch?: ((...args: any[]) => any) | undefined;
105
105
  onClose?: ((...args: any[]) => any) | undefined;
106
- }, {
106
+ }>, {
107
107
  zIndex: number;
108
108
  infinite: boolean;
109
109
  urlList: string[];
@@ -119,5 +119,5 @@ declare const GImageViewer: import("vue").DefineComponent<{
119
119
  left?: import("vue").VNode;
120
120
  right?: import("vue").VNode;
121
121
  };
122
- }, {}>;
122
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
123
123
  export default GImageViewer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gx-design-vue/image",
3
- "version": "0.2.0-beta.16",
3
+ "version": "0.2.0-beta.18",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "vite build",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@vueuse/core": "^9.10.0",
28
- "@gx-design-vue/pro-utils": "^0.2.0-beta.28",
29
- "@gx-design-vue/pro-hooks": "^0.2.0-beta.20",
30
- "@gx-design-vue/pro-provider": "^0.1.0-beta.55"
28
+ "@gx-design-vue/pro-utils": "^0.2.0-beta.35",
29
+ "@gx-design-vue/pro-hooks": "^0.2.0-beta.27",
30
+ "@gx-design-vue/pro-provider": "^0.1.0-beta.80"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "^5.3.3"