sat-earth 3.1.21 → 3.1.23

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.
Files changed (106) hide show
  1. package/dist/dts/auto-components.d.ts +50 -3
  2. package/dist/dts/auto-import.d.ts +301 -289
  3. package/dist/dts/components/_private/DarkIcon.vue.d.ts +1 -1
  4. package/dist/dts/components/_private/LightIcon.vue.d.ts +1 -1
  5. package/dist/dts/components/_private/TheImageEditor/index.d.ts +0 -1
  6. package/dist/dts/components/_private/TheImageEditor/src/TheImageEditor.vue.d.ts +19 -12
  7. package/dist/dts/components/analysis-spatial/SatSpatialAnalysis.vue.d.ts +18 -21
  8. package/dist/dts/components/analysis-spatial/SatSpatialAnalysisMain.vue.d.ts +4 -15
  9. package/dist/dts/components/analysis-spatial/index.d.ts +19 -26
  10. package/dist/dts/components/analysis-spatial/modules/contourLine/ContourLine.vue.d.ts +1 -1
  11. package/dist/dts/components/analysis-spatial/modules/contourLine/index.d.ts +0 -1
  12. package/dist/dts/components/analysis-spatial/modules/flood/AnalysisFlood.vue.d.ts +1 -1
  13. package/dist/dts/components/analysis-spatial/modules/flood/index.d.ts +0 -1
  14. package/dist/dts/components/analysis-spatial/modules/intervisibility/AnalysisIntervisibility.vue.d.ts +1 -1
  15. package/dist/dts/components/analysis-spatial/modules/intervisibility/index.d.ts +0 -1
  16. package/dist/dts/components/analysis-spatial/modules/section/AnalysisSection.vue.d.ts +1 -1
  17. package/dist/dts/components/analysis-spatial/modules/section/index.d.ts +0 -1
  18. package/dist/dts/components/analysis-spatial/modules/slope/Slope.vue.d.ts +1 -1
  19. package/dist/dts/components/analysis-spatial/modules/slope/index.d.ts +0 -1
  20. package/dist/dts/components/analysis-spatial/modules/viewshed/AnalysisViewshed.vue.d.ts +1 -1
  21. package/dist/dts/components/analysis-spatial/modules/viewshed/ViewshedStyleSlider.vue.d.ts +3 -4
  22. package/dist/dts/components/analysis-spatial/modules/viewshed/index.d.ts +0 -1
  23. package/dist/dts/components/analysis-spatial/modules/volume/AnalysisVolume.vue.d.ts +1 -1
  24. package/dist/dts/components/analysis-spatial/modules/volume/index.d.ts +0 -1
  25. package/dist/dts/components/components.d.ts +9016 -600
  26. package/dist/dts/components/globe/CameraBookmarkPanel.vue.d.ts +1 -1
  27. package/dist/dts/components/globe/MapSplitPanel.vue.d.ts +1 -1
  28. package/dist/dts/components/globe/SatGlobe.vue.d.ts +20 -45
  29. package/dist/dts/components/globe/helpers.d.ts +0 -1
  30. package/dist/dts/components/globe/index.d.ts +25 -68
  31. package/dist/dts/components/location/SatCoordinate.vue.d.ts +221 -1
  32. package/dist/dts/components/location/SatLocation.vue.d.ts +20 -22
  33. package/dist/dts/components/location/SatLocationMain.vue.d.ts +14 -16
  34. package/dist/dts/components/location/SatPathPlan.vue.d.ts +221 -1
  35. package/dist/dts/components/location/SatPoiQuery.vue.d.ts +1 -1
  36. package/dist/dts/components/location/SatRegionLevel.vue.d.ts +442 -14
  37. package/dist/dts/components/location/index.d.ts +19 -26
  38. package/dist/dts/components/location/useCoordinate.d.ts +0 -1
  39. package/dist/dts/components/location/usePathPlan.d.ts +4 -5
  40. package/dist/dts/components/location/usePoiQuery.d.ts +0 -1
  41. package/dist/dts/components/location/useRegionLevel.d.ts +0 -1
  42. package/dist/dts/components/measure/SatMeasure.vue.d.ts +14 -6
  43. package/dist/dts/components/measure/SatMeasureMain.vue.d.ts +1 -1
  44. package/dist/dts/components/measure/index.d.ts +9 -10
  45. package/dist/dts/components/menu/SatMenu.vue.d.ts +13 -5
  46. package/dist/dts/components/menu/SatMenuMain.vue.d.ts +13 -5
  47. package/dist/dts/components/menu/helpers.d.ts +0 -1
  48. package/dist/dts/components/menu/index.d.ts +4 -5
  49. package/dist/dts/components/menu/tree/SatMenuTree.vue.d.ts +6 -7
  50. package/dist/dts/components/menu/tree/index.d.ts +6 -7
  51. package/dist/dts/components/panel/SatPanel.vue.d.ts +18 -5
  52. package/dist/dts/components/panel/index.d.ts +13 -11
  53. package/dist/dts/components/picture/SatPicture.vue.d.ts +293 -10
  54. package/dist/dts/components/picture/index.d.ts +156 -19
  55. package/dist/dts/components/plot/PlotEdit.vue.d.ts +1 -1
  56. package/dist/dts/components/plot/PlotEditAttr.vue.d.ts +221 -1
  57. package/dist/dts/components/plot/PlotEditCoord.vue.d.ts +1 -1
  58. package/dist/dts/components/plot/PlotEditStyle.vue.d.ts +1 -1
  59. package/dist/dts/components/plot/PlotGroup.vue.d.ts +1010 -3
  60. package/dist/dts/components/plot/PlotSourceList.vue.d.ts +10 -34
  61. package/dist/dts/components/plot/SatPlot.vue.d.ts +25 -43
  62. package/dist/dts/components/plot/SatPlotMain.vue.d.ts +11 -38
  63. package/dist/dts/components/plot/helpers.d.ts +0 -1
  64. package/dist/dts/components/plot/index.d.ts +33 -64
  65. package/dist/dts/components/roam/SatRoam.vue.d.ts +14 -6
  66. package/dist/dts/components/roam/index.d.ts +9 -10
  67. package/dist/dts/components/source/LayerStyleSlider.vue.d.ts +1 -2
  68. package/dist/dts/components/source/SatSource.vue.d.ts +6205 -8
  69. package/dist/dts/components/source/SatSourceMain.vue.d.ts +2445 -4
  70. package/dist/dts/components/source/TerrainExaggerationSlider.vue.d.ts +1 -1
  71. package/dist/dts/components/source/helpers.d.ts +0 -1
  72. package/dist/dts/components/source/index.d.ts +4165 -15
  73. package/dist/dts/components/task-view/SatTaskView.vue.d.ts +12 -5
  74. package/dist/dts/components/task-view/index.d.ts +6 -7
  75. package/dist/dts/config/index.d.ts +0 -1
  76. package/dist/dts/config/injectKeys.d.ts +3 -4
  77. package/dist/dts/config/menuTemplate.d.ts +0 -1
  78. package/dist/dts/hooks/listener/watchHtmlClassList.d.ts +1 -5
  79. package/dist/dts/hooks/useAbsoluteDraggable.d.ts +7 -13
  80. package/dist/dts/hooks/useLoading.d.ts +18 -27
  81. package/dist/dts/hooks/useMessage.d.ts +0 -1
  82. package/dist/dts/index.d.ts +3 -0
  83. package/dist/dts/main/index.d.ts +0 -1
  84. package/dist/dts/store/modules/layer.d.ts +0 -1
  85. package/dist/dts/store/modules/taskView.d.ts +0 -1
  86. package/dist/dts/utils/installer.d.ts +0 -1
  87. package/dist/dts/utils/is.d.ts +3 -3
  88. package/dist/dts/utils/map/analysis-spatial/contourLine.d.ts +0 -1
  89. package/dist/dts/utils/map/analysis-spatial/flood.d.ts +0 -1
  90. package/dist/dts/utils/map/analysis-spatial/index.d.ts +0 -1
  91. package/dist/dts/utils/map/analysis-spatial/intervisibility.d.ts +0 -1
  92. package/dist/dts/utils/map/analysis-spatial/section.d.ts +0 -1
  93. package/dist/dts/utils/map/analysis-spatial/slope.d.ts +0 -1
  94. package/dist/dts/utils/map/analysis-spatial/viewshed.d.ts +0 -1
  95. package/dist/dts/utils/map/analysis-spatial/volume.d.ts +0 -1
  96. package/dist/dts/utils/map/index.d.ts +3 -0
  97. package/dist/dts/utils/map/layer/convertSatLayer.d.ts +0 -1
  98. package/dist/dts/utils/map/layer/index.d.ts +0 -1
  99. package/dist/dts/utils/map/measure/index.d.ts +0 -1
  100. package/dist/dts/utils/map/plot/index.d.ts +0 -1
  101. package/dist/dts/utils/storage/index.d.ts +0 -1
  102. package/dist/dts/utils/types/index.d.ts +0 -1
  103. package/dist/sat-earth.css +1 -0
  104. package/dist/sat-earth.mjs +4505 -4730
  105. package/package.json +32 -32
  106. package/dist/style.css +0 -1
@@ -1,8 +1,16 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
2
- "custom-enable"?(_: {}): any;
3
- custom?(_: {}): any;
4
- default?(_: {}): any;
5
- }>;
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ 'custom-enable'?(_: {}): any;
5
+ custom?(_: {}): any;
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
14
  export default _default;
7
15
  type __VLS_WithTemplateSlots<T, S> = T & {
8
16
  new (): {
@@ -1,4 +1,14 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ 'custom-enable'?(_: {}): any;
5
+ custom?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
12
  isVisible: {
3
13
  type: BooleanConstructor;
4
14
  default: () => boolean;
@@ -10,10 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
10
20
  };
11
21
  }>> & Readonly<{}>, {
12
22
  isVisible: boolean;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
14
- "custom-enable"?(_: {}): any;
15
- custom?(_: {}): any;
16
- }>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
25
  export default _default;
18
26
  type __VLS_WithTemplateSlots<T, S> = T & {
19
27
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { StateItem } from '../../store/modules/compState';
2
-
3
2
  export type SatMenuItem = Partial<StateItem> & {
4
3
  name: string;
5
4
  label: string;
@@ -1,5 +1,4 @@
1
1
  import { default as SatMenuSFC } from './SatMenu.vue';
2
-
3
2
  declare const SatMenu: import('../../utils/installer').SFCWithInstall<{
4
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
5
4
  P: {};
@@ -9,12 +8,12 @@ declare const SatMenu: import('../../utils/installer').SFCWithInstall<{
9
8
  M: {};
10
9
  Defaults: {};
11
10
  }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
12
- __isFragment?: undefined;
13
- __isTeleport?: undefined;
14
- __isSuspense?: undefined;
11
+ __isFragment?: never;
12
+ __isTeleport?: never;
13
+ __isSuspense?: never;
15
14
  } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
16
15
  $slots: {
17
- "custom-enable"?(_: {}): any;
16
+ 'custom-enable'?(_: {}): any;
18
17
  custom?(_: {}): any;
19
18
  default?(_: {}): any;
20
19
  };
@@ -1,13 +1,12 @@
1
1
  import { PropType } from 'vue';
2
2
  import { SatMenuItem } from '../helpers';
3
-
4
3
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
4
  treeData: {
6
- type: PropType<SatMenuItem[]>;
7
- default: () => SatMenuItem[];
5
+ type: PropType<Array<SatMenuItem>>;
6
+ default: () => Array<SatMenuItem>;
8
7
  };
9
8
  showType: {
10
- type: PropType<"default" | "enabled">;
9
+ type: PropType<"enabled" | "default">;
11
10
  default: () => string;
12
11
  };
13
12
  custom: {
@@ -19,11 +18,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
19
18
  customCloseClick: (...args: any[]) => void;
20
19
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
21
20
  treeData: {
22
- type: PropType<SatMenuItem[]>;
23
- default: () => SatMenuItem[];
21
+ type: PropType<Array<SatMenuItem>>;
22
+ default: () => Array<SatMenuItem>;
24
23
  };
25
24
  showType: {
26
- type: PropType<"default" | "enabled">;
25
+ type: PropType<"enabled" | "default">;
27
26
  default: () => string;
28
27
  };
29
28
  custom: {
@@ -1,12 +1,11 @@
1
1
  import { default as SatMenuTreeSFC } from './SatMenuTree.vue';
2
-
3
2
  declare const SatMenuTree: import('../../../utils/installer').SFCWithInstall<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
3
  treeData: {
5
- type: globalThis.PropType<import('..').SatMenuItem[]>;
6
- default: () => import('..').SatMenuItem[];
4
+ type: PropType<Array<import('..').SatMenuItem>>;
5
+ default: () => Array<import('..').SatMenuItem>;
7
6
  };
8
7
  showType: {
9
- type: globalThis.PropType<"default" | "enabled">;
8
+ type: PropType<"enabled" | "default">;
10
9
  default: () => string;
11
10
  };
12
11
  custom: {
@@ -18,11 +17,11 @@ declare const SatMenuTree: import('../../../utils/installer').SFCWithInstall<imp
18
17
  customCloseClick: (...args: any[]) => void;
19
18
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
20
19
  treeData: {
21
- type: globalThis.PropType<import('..').SatMenuItem[]>;
22
- default: () => import('..').SatMenuItem[];
20
+ type: PropType<Array<import('..').SatMenuItem>>;
21
+ default: () => Array<import('..').SatMenuItem>;
23
22
  };
24
23
  showType: {
25
- type: globalThis.PropType<"default" | "enabled">;
24
+ type: PropType<"enabled" | "default">;
26
25
  default: () => string;
27
26
  };
28
27
  custom: {
@@ -1,7 +1,18 @@
1
1
  import { SatPanelPosition } from './helpers';
2
2
  import { PropType } from 'vue';
3
-
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {
9
+ satPanelRef: HTMLDivElement;
10
+ dragElement: HTMLDivElement;
11
+ };
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
16
  title: {
6
17
  type: StringConstructor;
7
18
  required: true;
@@ -90,9 +101,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
90
101
  isClose: boolean;
91
102
  minimizeEvent: Function;
92
103
  closeEvent: Function;
93
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
94
- default?(_: {}): any;
95
- }>;
104
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
105
+ satPanelRef: HTMLDivElement;
106
+ dragElement: HTMLDivElement;
107
+ }, HTMLDivElement>;
108
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
109
  export default _default;
97
110
  type __VLS_WithTemplateSlots<T, S> = T & {
98
111
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { default as SatPanelSFC } from './SatPanel.vue';
2
-
3
2
  declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
4
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
5
4
  title: {
@@ -11,7 +10,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
11
10
  default: boolean;
12
11
  };
13
12
  dragInitialValue: {
14
- type: globalThis.PropType<import('./helpers').SatPanelPosition | undefined>;
13
+ type: PropType<import('./helpers').SatPanelPosition | undefined>;
15
14
  default: () => {
16
15
  x: number;
17
16
  y: number;
@@ -22,7 +21,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
22
21
  default: boolean;
23
22
  };
24
23
  windowSize: {
25
- type: globalThis.PropType<"Maximize" | "Nomal">;
24
+ type: PropType<"Maximize" | "Nomal">;
26
25
  default: string;
27
26
  };
28
27
  isMinimize: {
@@ -50,7 +49,10 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
50
49
  isClose: boolean;
51
50
  minimizeEvent: Function;
52
51
  closeEvent: Function;
53
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
52
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
53
+ satPanelRef: HTMLDivElement;
54
+ dragElement: HTMLDivElement;
55
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
54
56
  P: {};
55
57
  B: {};
56
58
  D: {};
@@ -67,7 +69,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
67
69
  default: boolean;
68
70
  };
69
71
  dragInitialValue: {
70
- type: globalThis.PropType<import('./helpers').SatPanelPosition | undefined>;
72
+ type: PropType<import('./helpers').SatPanelPosition | undefined>;
71
73
  default: () => {
72
74
  x: number;
73
75
  y: number;
@@ -78,7 +80,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
78
80
  default: boolean;
79
81
  };
80
82
  windowSize: {
81
- type: globalThis.PropType<"Maximize" | "Nomal">;
83
+ type: PropType<"Maximize" | "Nomal">;
82
84
  default: string;
83
85
  };
84
86
  isMinimize: {
@@ -107,9 +109,9 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
107
109
  minimizeEvent: Function;
108
110
  closeEvent: Function;
109
111
  }>;
110
- __isFragment?: undefined;
111
- __isTeleport?: undefined;
112
- __isSuspense?: undefined;
112
+ __isFragment?: never;
113
+ __isTeleport?: never;
114
+ __isSuspense?: never;
113
115
  } & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
114
116
  title: {
115
117
  type: StringConstructor;
@@ -120,7 +122,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
120
122
  default: boolean;
121
123
  };
122
124
  dragInitialValue: {
123
- type: globalThis.PropType<import('./helpers').SatPanelPosition | undefined>;
125
+ type: PropType<import('./helpers').SatPanelPosition | undefined>;
124
126
  default: () => {
125
127
  x: number;
126
128
  y: number;
@@ -131,7 +133,7 @@ declare const SatPanel: import('../../utils/installer').SFCWithInstall<{
131
133
  default: boolean;
132
134
  };
133
135
  windowSize: {
134
- type: globalThis.PropType<"Maximize" | "Nomal">;
136
+ type: PropType<"Maximize" | "Nomal">;
135
137
  default: string;
136
138
  };
137
139
  isMinimize: {
@@ -1,7 +1,153 @@
1
1
  import { TheImageEditorExpose } from '../_private/TheImageEditor';
2
2
  import { PropType, Ref } from 'vue';
3
-
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {
9
+ theImageEditor: ({
10
+ $: import('vue').ComponentInternalInstance;
11
+ $data: {};
12
+ $props: Partial<{
13
+ isIncludeDiv: boolean;
14
+ divChildFilter: (node: Element) => boolean;
15
+ fileName: string;
16
+ autoDownload: boolean;
17
+ }> & Omit<{
18
+ readonly isIncludeDiv: boolean;
19
+ readonly divChildFilter: (node: Element) => boolean;
20
+ readonly fileName: string;
21
+ readonly autoDownload: boolean;
22
+ readonly divContainerElement?: Element | undefined;
23
+ readonly onDownload?: ((base64?: string | undefined) => any) | undefined;
24
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "isIncludeDiv" | "divChildFilter" | "fileName" | "autoDownload">;
25
+ $attrs: import('vue').Attrs;
26
+ $refs: {
27
+ [x: string]: unknown;
28
+ };
29
+ $slots: Readonly<{
30
+ [name: string]: globalThis.Slot | undefined;
31
+ }>;
32
+ $root: ComponentPublicInstance | null;
33
+ $parent: ComponentPublicInstance | null;
34
+ $host: Element | null;
35
+ $emit: (event: "download", base64?: string | undefined) => void;
36
+ $el: HTMLDivElement;
37
+ $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
38
+ isIncludeDiv: {
39
+ type: BooleanConstructor;
40
+ default: () => boolean;
41
+ };
42
+ divContainerElement: {
43
+ required: false;
44
+ type: {
45
+ new (): Element;
46
+ prototype: Element;
47
+ };
48
+ };
49
+ divChildFilter: {
50
+ type: PropType<(node: Element) => boolean>;
51
+ default: (node: Element) => true;
52
+ };
53
+ fileName: {
54
+ type: StringConstructor;
55
+ default: () => string;
56
+ };
57
+ autoDownload: {
58
+ type: BooleanConstructor;
59
+ default: () => boolean;
60
+ };
61
+ }>> & Readonly<{
62
+ onDownload?: ((base64?: string | undefined) => any) | undefined;
63
+ }>, {
64
+ getInstance: () => globalThis.ShallowRef<tuiImageEditor.ImageEditor | undefined>;
65
+ loadScene: (options?: {
66
+ isIncludeDiv?: boolean;
67
+ divContainerElement?: Element;
68
+ divChildFilter?: (node: Element) => boolean;
69
+ }) => void;
70
+ uploadFile: (uploadFile: import('element-plus').UploadFile) => void;
71
+ uploadImageBase64: (base64: string) => void;
72
+ download: (autoDownload?: boolean) => Promise<string | undefined> | undefined;
73
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
74
+ download: (base64?: string | undefined) => any;
75
+ }, string, {
76
+ isIncludeDiv: boolean;
77
+ divChildFilter: (node: Element) => boolean;
78
+ fileName: string;
79
+ autoDownload: boolean;
80
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
81
+ beforeCreate?: (() => void) | (() => void)[];
82
+ created?: (() => void) | (() => void)[];
83
+ beforeMount?: (() => void) | (() => void)[];
84
+ mounted?: (() => void) | (() => void)[];
85
+ beforeUpdate?: (() => void) | (() => void)[];
86
+ updated?: (() => void) | (() => void)[];
87
+ activated?: (() => void) | (() => void)[];
88
+ deactivated?: (() => void) | (() => void)[];
89
+ beforeDestroy?: (() => void) | (() => void)[];
90
+ beforeUnmount?: (() => void) | (() => void)[];
91
+ destroyed?: (() => void) | (() => void)[];
92
+ unmounted?: (() => void) | (() => void)[];
93
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
94
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
95
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
96
+ };
97
+ $forceUpdate: () => void;
98
+ $nextTick: typeof import('vue').nextTick;
99
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
100
+ } & Readonly<{
101
+ isIncludeDiv: boolean;
102
+ divChildFilter: (node: Element) => boolean;
103
+ fileName: string;
104
+ autoDownload: boolean;
105
+ }> & Omit<Readonly<globalThis.ExtractPropTypes<{
106
+ isIncludeDiv: {
107
+ type: BooleanConstructor;
108
+ default: () => boolean;
109
+ };
110
+ divContainerElement: {
111
+ required: false;
112
+ type: {
113
+ new (): Element;
114
+ prototype: Element;
115
+ };
116
+ };
117
+ divChildFilter: {
118
+ type: PropType<(node: Element) => boolean>;
119
+ default: (node: Element) => true;
120
+ };
121
+ fileName: {
122
+ type: StringConstructor;
123
+ default: () => string;
124
+ };
125
+ autoDownload: {
126
+ type: BooleanConstructor;
127
+ default: () => boolean;
128
+ };
129
+ }>> & Readonly<{
130
+ onDownload?: ((base64?: string | undefined) => any) | undefined;
131
+ }>, "download" | "getInstance" | "loadScene" | "uploadFile" | "uploadImageBase64" | ("isIncludeDiv" | "divChildFilter" | "fileName" | "autoDownload")> & import('vue').ShallowUnwrapRef<{
132
+ getInstance: () => globalThis.ShallowRef<tuiImageEditor.ImageEditor | undefined>;
133
+ loadScene: (options?: {
134
+ isIncludeDiv?: boolean;
135
+ divContainerElement?: Element;
136
+ divChildFilter?: (node: Element) => boolean;
137
+ }) => void;
138
+ uploadFile: (uploadFile: import('element-plus').UploadFile) => void;
139
+ uploadImageBase64: (base64: string) => void;
140
+ download: (autoDownload?: boolean) => Promise<string | undefined> | undefined;
141
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
142
+ $slots: {
143
+ default?(_: {}): any;
144
+ };
145
+ }) | null;
146
+ };
147
+ rootEl: any;
148
+ };
149
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
150
+ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
5
151
  isIncludeDiv: {
6
152
  type: BooleanConstructor;
7
153
  default: () => boolean;
@@ -26,11 +172,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
26
172
  default: () => boolean;
27
173
  };
28
174
  }>, {
29
- getImageEditor: () => Ref<TheImageEditorExpose | undefined, TheImageEditorExpose | undefined>;
30
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- initHooks: () => void;
32
- destroyHooks: () => void;
33
- download: (value?: string | undefined) => void;
175
+ getImageEditor: () => Ref<TheImageEditorExpose | undefined>;
176
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
177
+ download: (value?: string | undefined) => any;
178
+ initHooks: () => any;
179
+ destroyHooks: () => any;
34
180
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
35
181
  isIncludeDiv: {
36
182
  type: BooleanConstructor;
@@ -64,9 +210,146 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
64
210
  divChildFilter: (node: Element) => boolean;
65
211
  fileName: string;
66
212
  autoDownload: boolean;
67
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
68
- default?(_: {}): any;
69
- }>;
213
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
214
+ theImageEditor: ({
215
+ $: import('vue').ComponentInternalInstance;
216
+ $data: {};
217
+ $props: Partial<{
218
+ isIncludeDiv: boolean;
219
+ divChildFilter: (node: Element) => boolean;
220
+ fileName: string;
221
+ autoDownload: boolean;
222
+ }> & Omit<{
223
+ readonly isIncludeDiv: boolean;
224
+ readonly divChildFilter: (node: Element) => boolean;
225
+ readonly fileName: string;
226
+ readonly autoDownload: boolean;
227
+ readonly divContainerElement?: Element | undefined;
228
+ readonly onDownload?: ((base64?: string | undefined) => any) | undefined;
229
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "isIncludeDiv" | "divChildFilter" | "fileName" | "autoDownload">;
230
+ $attrs: import('vue').Attrs;
231
+ $refs: {
232
+ [x: string]: unknown;
233
+ };
234
+ $slots: Readonly<{
235
+ [name: string]: globalThis.Slot | undefined;
236
+ }>;
237
+ $root: ComponentPublicInstance | null;
238
+ $parent: ComponentPublicInstance | null;
239
+ $host: Element | null;
240
+ $emit: (event: "download", base64?: string | undefined) => void;
241
+ $el: HTMLDivElement;
242
+ $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
243
+ isIncludeDiv: {
244
+ type: BooleanConstructor;
245
+ default: () => boolean;
246
+ };
247
+ divContainerElement: {
248
+ required: false;
249
+ type: {
250
+ new (): Element;
251
+ prototype: Element;
252
+ };
253
+ };
254
+ divChildFilter: {
255
+ type: PropType<(node: Element) => boolean>;
256
+ default: (node: Element) => true;
257
+ };
258
+ fileName: {
259
+ type: StringConstructor;
260
+ default: () => string;
261
+ };
262
+ autoDownload: {
263
+ type: BooleanConstructor;
264
+ default: () => boolean;
265
+ };
266
+ }>> & Readonly<{
267
+ onDownload?: ((base64?: string | undefined) => any) | undefined;
268
+ }>, {
269
+ getInstance: () => globalThis.ShallowRef<tuiImageEditor.ImageEditor | undefined>;
270
+ loadScene: (options?: {
271
+ isIncludeDiv?: boolean;
272
+ divContainerElement?: Element;
273
+ divChildFilter?: (node: Element) => boolean;
274
+ }) => void;
275
+ uploadFile: (uploadFile: import('element-plus').UploadFile) => void;
276
+ uploadImageBase64: (base64: string) => void;
277
+ download: (autoDownload?: boolean) => Promise<string | undefined> | undefined;
278
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
279
+ download: (base64?: string | undefined) => any;
280
+ }, string, {
281
+ isIncludeDiv: boolean;
282
+ divChildFilter: (node: Element) => boolean;
283
+ fileName: string;
284
+ autoDownload: boolean;
285
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
286
+ beforeCreate?: (() => void) | (() => void)[];
287
+ created?: (() => void) | (() => void)[];
288
+ beforeMount?: (() => void) | (() => void)[];
289
+ mounted?: (() => void) | (() => void)[];
290
+ beforeUpdate?: (() => void) | (() => void)[];
291
+ updated?: (() => void) | (() => void)[];
292
+ activated?: (() => void) | (() => void)[];
293
+ deactivated?: (() => void) | (() => void)[];
294
+ beforeDestroy?: (() => void) | (() => void)[];
295
+ beforeUnmount?: (() => void) | (() => void)[];
296
+ destroyed?: (() => void) | (() => void)[];
297
+ unmounted?: (() => void) | (() => void)[];
298
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
299
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
300
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
301
+ };
302
+ $forceUpdate: () => void;
303
+ $nextTick: typeof import('vue').nextTick;
304
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
305
+ } & Readonly<{
306
+ isIncludeDiv: boolean;
307
+ divChildFilter: (node: Element) => boolean;
308
+ fileName: string;
309
+ autoDownload: boolean;
310
+ }> & Omit<Readonly<globalThis.ExtractPropTypes<{
311
+ isIncludeDiv: {
312
+ type: BooleanConstructor;
313
+ default: () => boolean;
314
+ };
315
+ divContainerElement: {
316
+ required: false;
317
+ type: {
318
+ new (): Element;
319
+ prototype: Element;
320
+ };
321
+ };
322
+ divChildFilter: {
323
+ type: PropType<(node: Element) => boolean>;
324
+ default: (node: Element) => true;
325
+ };
326
+ fileName: {
327
+ type: StringConstructor;
328
+ default: () => string;
329
+ };
330
+ autoDownload: {
331
+ type: BooleanConstructor;
332
+ default: () => boolean;
333
+ };
334
+ }>> & Readonly<{
335
+ onDownload?: ((base64?: string | undefined) => any) | undefined;
336
+ }>, "download" | "getInstance" | "loadScene" | "uploadFile" | "uploadImageBase64" | ("isIncludeDiv" | "divChildFilter" | "fileName" | "autoDownload")> & import('vue').ShallowUnwrapRef<{
337
+ getInstance: () => globalThis.ShallowRef<tuiImageEditor.ImageEditor | undefined>;
338
+ loadScene: (options?: {
339
+ isIncludeDiv?: boolean;
340
+ divContainerElement?: Element;
341
+ divChildFilter?: (node: Element) => boolean;
342
+ }) => void;
343
+ uploadFile: (uploadFile: import('element-plus').UploadFile) => void;
344
+ uploadImageBase64: (base64: string) => void;
345
+ download: (autoDownload?: boolean) => Promise<string | undefined> | undefined;
346
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
347
+ $slots: {
348
+ default?(_: {}): any;
349
+ };
350
+ }) | null;
351
+ }, any>;
352
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
353
  export default _default;
71
354
  type __VLS_WithTemplateSlots<T, S> = T & {
72
355
  new (): {