sat-earth 3.1.11 → 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;
@@ -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;