sat-earth 3.1.10 → 3.1.12

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.
@@ -10,6 +10,13 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
10
10
  type: BooleanConstructor;
11
11
  default: () => boolean;
12
12
  };
13
+ divContainerElement: {
14
+ required: false;
15
+ type: {
16
+ new (): Element;
17
+ prototype: Element;
18
+ };
19
+ };
13
20
  divChildFilter: {
14
21
  type: PropType<(node: Element) => boolean>;
15
22
  default: (node: Element) => true;
@@ -22,6 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
22
29
  getInstance: () => import('vue').ShallowRef<tuiImageEditor | undefined, tuiImageEditor | undefined>;
23
30
  loadScene: (options?: {
24
31
  isIncludeDiv?: boolean;
32
+ divContainerElement?: Element;
25
33
  divChildFilter?: (node: Element) => boolean;
26
34
  }) => void;
27
35
  uploadFile: (uploadFile: UploadFile) => void;
@@ -34,6 +42,13 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
34
42
  type: BooleanConstructor;
35
43
  default: () => boolean;
36
44
  };
45
+ divContainerElement: {
46
+ required: false;
47
+ type: {
48
+ new (): Element;
49
+ prototype: Element;
50
+ };
51
+ };
37
52
  divChildFilter: {
38
53
  type: PropType<(node: Element) => boolean>;
39
54
  default: (node: Element) => true;
@@ -17,7 +17,7 @@ export declare const components: (({
17
17
  default: () => import('../main').SatMapOptions;
18
18
  };
19
19
  getViewer: {
20
- type: globalThis.PropType<() => any>;
20
+ type: globalThis.PropType<() => Promise<any>>;
21
21
  };
22
22
  }>> & Readonly<{}>, {
23
23
  getInstance: () => import('../main').SatMap | undefined;
@@ -51,7 +51,7 @@ export declare const components: (({
51
51
  default: () => import('../main').SatMapOptions;
52
52
  };
53
53
  getViewer: {
54
- type: globalThis.PropType<() => any>;
54
+ type: globalThis.PropType<() => Promise<any>>;
55
55
  };
56
56
  }>> & Readonly<{}>, {
57
57
  getInstance: () => import('../main').SatMap | undefined;
@@ -82,7 +82,7 @@ export declare const components: (({
82
82
  default: () => import('../main').SatMapOptions;
83
83
  };
84
84
  getViewer: {
85
- type: globalThis.PropType<() => any>;
85
+ type: globalThis.PropType<() => Promise<any>>;
86
86
  };
87
87
  }>> & Readonly<{}>, {
88
88
  getInstance: () => import('../main').SatMap | undefined;
@@ -114,7 +114,7 @@ export declare const components: (({
114
114
  default: () => import('../main').SatMapOptions;
115
115
  };
116
116
  getViewer: {
117
- type: globalThis.PropType<() => any>;
117
+ type: globalThis.PropType<() => Promise<any>>;
118
118
  };
119
119
  }>> & Readonly<{}>, {
120
120
  getInstance: () => import('../main').SatMap | undefined;
@@ -148,7 +148,7 @@ export declare const components: (({
148
148
  default: () => import('../main').SatMapOptions;
149
149
  };
150
150
  getViewer: {
151
- type: globalThis.PropType<() => any>;
151
+ type: globalThis.PropType<() => Promise<any>>;
152
152
  };
153
153
  }>> & Readonly<{}>, {
154
154
  getInstance: () => import('../main').SatMap | undefined;
@@ -179,7 +179,7 @@ export declare const components: (({
179
179
  default: () => import('../main').SatMapOptions;
180
180
  };
181
181
  getViewer: {
182
- type: globalThis.PropType<() => any>;
182
+ type: globalThis.PropType<() => Promise<any>>;
183
183
  };
184
184
  }>> & Readonly<{}>, {
185
185
  getInstance: () => import('../main').SatMap | undefined;
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
8
  eleId?: string;
9
9
  satMapOptions?: SatMapOptions;
10
- getViewer?: () => any;
10
+ getViewer?: () => Promise<any>;
11
11
  offsetTop?: number;
12
12
  offsetLeft?: number;
13
13
  }>, {
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
20
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
21
  eleId?: string;
22
22
  satMapOptions?: SatMapOptions;
23
- getViewer?: () => any;
23
+ getViewer?: () => Promise<any>;
24
24
  offsetTop?: number;
25
25
  offsetLeft?: number;
26
26
  }>, {
@@ -20,7 +20,7 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
20
20
  default: () => import('../../main').SatMapOptions;
21
21
  };
22
22
  getViewer: {
23
- type: globalThis.PropType<() => any>;
23
+ type: globalThis.PropType<() => Promise<any>>;
24
24
  };
25
25
  }>> & Readonly<{}>, {
26
26
  getInstance: () => SatMap | undefined;
@@ -54,7 +54,7 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
54
54
  default: () => import('../../main').SatMapOptions;
55
55
  };
56
56
  getViewer: {
57
- type: globalThis.PropType<() => any>;
57
+ type: globalThis.PropType<() => Promise<any>>;
58
58
  };
59
59
  }>> & Readonly<{}>, {
60
60
  getInstance: () => SatMap | undefined;
@@ -85,7 +85,7 @@ declare const SatGlobe: import('../../utils/installer').SFCWithInstall<{
85
85
  default: () => import('../../main').SatMapOptions;
86
86
  };
87
87
  getViewer: {
88
- type: globalThis.PropType<() => any>;
88
+ type: globalThis.PropType<() => Promise<any>>;
89
89
  };
90
90
  }>> & Readonly<{}>, {
91
91
  getInstance: () => SatMap | undefined;
@@ -2,7 +2,7 @@ export interface Dom2Base64Option {
2
2
  filter?: (node: Element) => boolean;
3
3
  [someAttr: string]: any;
4
4
  }
5
- export declare function dom2Base64(dom: HTMLDivElement, options?: Dom2Base64Option): Promise<string>;
5
+ export declare function dom2Base64(dom: Element, options?: Dom2Base64Option): Promise<string>;
6
6
  export declare function base64ToFile(dataurl: string, filename?: string): File;
7
7
  export declare function image2Base64(img: HTMLImageElement): string;
8
8
  export declare function getImgBase64(src: string): Promise<string>;
@@ -27,11 +27,13 @@ export declare class SatMap {
27
27
  destroy(): void;
28
28
  downLoadScreenShot(options?: {
29
29
  isIncludeDiv?: boolean;
30
+ divContainerElement?: HTMLDivElement;
30
31
  divChildFilter?: (node: Element) => boolean;
31
32
  fileName?: string;
32
33
  }): void;
33
34
  getScreenShotBase64(options?: {
34
35
  isIncludeDiv?: boolean;
36
+ divContainerElement?: Element;
35
37
  divChildFilter?: (node: Element) => boolean;
36
38
  }): Promise<{
37
39
  result: any;