ym-giswidget-2d 1.0.45 → 1.0.47

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 (38) hide show
  1. package/components/area-measurement/AreaMeasurement.vue.d.ts +150 -0
  2. package/components/area-measurement/AreaMeasurement.vue.js +170 -0
  3. package/components/area-measurement/AreaMeasurement.vue2.js +4 -0
  4. package/components/area-measurement/index.d.ts +150 -0
  5. package/components/area-measurement/index.js +7 -0
  6. package/components/distance-measurement/DistanceMeasurement.vue.js +9 -0
  7. package/components/export/Export.vue.d.ts +1 -1
  8. package/components/export/Export.vue.js +1 -1
  9. package/components/export/Export.vue2.js +1 -1
  10. package/components/export/index.css +1 -1
  11. package/components/export/index.d.ts +1 -1
  12. package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +1 -1
  13. package/components/identify/Identify.vue.d.ts +140 -1
  14. package/components/identify/Identify.vue.js +10 -2
  15. package/components/identify/index.d.ts +160 -11
  16. package/components/map-view/MapView.vue.d.ts +4 -4
  17. package/components/map-view/MapView.vue.js +2 -2
  18. package/components/map-view/index.d.ts +4 -4
  19. package/components/mouse-position/MousePositon.vue.d.ts +1 -0
  20. package/components/mouse-position/MousePositon.vue.js +1 -1
  21. package/components/mouse-position/MousePositon.vue2.js +4 -2
  22. package/components/mouse-position/index.css +5 -5
  23. package/components/mouse-position/index.d.ts +1 -0
  24. package/components/multi-screen/MultiScreen.vue.d.ts +2 -2
  25. package/components/multi-screen/index.d.ts +2 -2
  26. package/components/popup/Popup.vue.d.ts +288 -1
  27. package/components/popup/Popup.vue.js +1 -1
  28. package/components/popup/Popup.vue2.js +7 -3
  29. package/components/popup/index.css +10 -10
  30. package/components/popup/index.d.ts +288 -138
  31. package/components/scale-line/ScaleLine.vue.d.ts +10 -0
  32. package/components/scale-line/ScaleLine.vue.js +1 -1
  33. package/components/scale-line/ScaleLine.vue2.js +7 -7
  34. package/components/scale-line/index.css +5 -5
  35. package/components/scale-line/index.d.ts +15 -0
  36. package/index.d.ts +1 -0
  37. package/index.js +2 -0
  38. package/package.json +2 -2
@@ -0,0 +1,150 @@
1
+ import { default as OLMap } from 'ym-gis-2d/mapView/Map';
2
+ type __VLS_Props = {
3
+ map: OLMap;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
+ areaMeasureDom: ({
7
+ $: import('vue').ComponentInternalInstance;
8
+ $data: {};
9
+ $props: {
10
+ readonly title?: string | undefined;
11
+ readonly width?: number | undefined;
12
+ readonly height?: number | undefined;
13
+ readonly minWidth?: number | undefined;
14
+ readonly minHeight?: number | undefined;
15
+ readonly resizable?: boolean | undefined;
16
+ readonly showClose?: boolean | undefined;
17
+ readonly showMinimize?: boolean | undefined;
18
+ readonly showMaximize?: boolean | undefined;
19
+ readonly showDock?: boolean | undefined;
20
+ readonly drag?: boolean | undefined;
21
+ readonly showOk?: boolean | undefined;
22
+ readonly showCancel?: boolean | undefined;
23
+ readonly okText?: string | undefined;
24
+ readonly cancelText?: string | undefined;
25
+ readonly onClose?: ((...args: any[]) => any) | undefined;
26
+ readonly onResize?: ((...args: any[]) => any) | undefined;
27
+ readonly onMove?: ((...args: any[]) => any) | undefined;
28
+ readonly onOk?: ((...args: any[]) => any) | undefined;
29
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
30
+ $attrs: {
31
+ [x: string]: unknown;
32
+ };
33
+ $refs: {
34
+ [x: string]: unknown;
35
+ } & {
36
+ panelRef: HTMLDivElement;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import('vue').Slot<any> | undefined;
40
+ }>;
41
+ $root: import('vue').ComponentPublicInstance | null;
42
+ $parent: import('vue').ComponentPublicInstance | null;
43
+ $host: Element | null;
44
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "resize", ...args: any[]) => void) & ((event: "move", ...args: any[]) => void) & ((event: "ok", ...args: any[]) => void);
45
+ $el: HTMLDivElement;
46
+ $options: import('vue').ComponentOptionsBase<Readonly<{
47
+ title?: string;
48
+ width?: number;
49
+ height?: number;
50
+ minWidth?: number;
51
+ minHeight?: number;
52
+ resizable?: boolean;
53
+ showClose?: boolean;
54
+ showMinimize?: boolean;
55
+ showMaximize?: boolean;
56
+ showDock?: boolean;
57
+ drag?: boolean;
58
+ showOk?: boolean;
59
+ showCancel?: boolean;
60
+ okText?: string;
61
+ cancelText?: string;
62
+ }> & Readonly<{
63
+ onClose?: ((...args: any[]) => any) | undefined;
64
+ onResize?: ((...args: any[]) => any) | undefined;
65
+ onMove?: ((...args: any[]) => any) | undefined;
66
+ onOk?: ((...args: any[]) => any) | undefined;
67
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
+ close: (...args: any[]) => void;
69
+ resize: (...args: any[]) => void;
70
+ move: (...args: any[]) => void;
71
+ ok: (...args: any[]) => void;
72
+ }, string, {
73
+ title: string;
74
+ showClose: boolean;
75
+ drag: boolean;
76
+ minWidth: number;
77
+ minHeight: number;
78
+ resizable: boolean;
79
+ showMinimize: boolean;
80
+ showMaximize: boolean;
81
+ showDock: boolean;
82
+ showOk: boolean;
83
+ showCancel: boolean;
84
+ okText: string;
85
+ cancelText: string;
86
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
87
+ beforeCreate?: (() => void) | (() => void)[];
88
+ created?: (() => void) | (() => void)[];
89
+ beforeMount?: (() => void) | (() => void)[];
90
+ mounted?: (() => void) | (() => void)[];
91
+ beforeUpdate?: (() => void) | (() => void)[];
92
+ updated?: (() => void) | (() => void)[];
93
+ activated?: (() => void) | (() => void)[];
94
+ deactivated?: (() => void) | (() => void)[];
95
+ beforeDestroy?: (() => void) | (() => void)[];
96
+ beforeUnmount?: (() => void) | (() => void)[];
97
+ destroyed?: (() => void) | (() => void)[];
98
+ unmounted?: (() => void) | (() => void)[];
99
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
100
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
101
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
102
+ };
103
+ $forceUpdate: () => void;
104
+ $nextTick: typeof import('vue').nextTick;
105
+ $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;
106
+ } & Readonly<{
107
+ title: string;
108
+ showClose: boolean;
109
+ drag: boolean;
110
+ minWidth: number;
111
+ minHeight: number;
112
+ resizable: boolean;
113
+ showMinimize: boolean;
114
+ showMaximize: boolean;
115
+ showDock: boolean;
116
+ showOk: boolean;
117
+ showCancel: boolean;
118
+ okText: string;
119
+ cancelText: string;
120
+ }> & Omit<Readonly<{
121
+ title?: string;
122
+ width?: number;
123
+ height?: number;
124
+ minWidth?: number;
125
+ minHeight?: number;
126
+ resizable?: boolean;
127
+ showClose?: boolean;
128
+ showMinimize?: boolean;
129
+ showMaximize?: boolean;
130
+ showDock?: boolean;
131
+ drag?: boolean;
132
+ showOk?: boolean;
133
+ showCancel?: boolean;
134
+ okText?: string;
135
+ cancelText?: string;
136
+ }> & Readonly<{
137
+ onClose?: ((...args: any[]) => any) | undefined;
138
+ onResize?: ((...args: any[]) => any) | undefined;
139
+ onMove?: ((...args: any[]) => any) | undefined;
140
+ onOk?: ((...args: any[]) => any) | undefined;
141
+ }>, "title" | "showClose" | "drag" | "minWidth" | "minHeight" | "resizable" | "showMinimize" | "showMaximize" | "showDock" | "showOk" | "showCancel" | "okText" | "cancelText"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
142
+ $slots: {
143
+ header?(_: {}): any;
144
+ default?(_: {}): any;
145
+ footer?(_: {}): any;
146
+ };
147
+ }) | null;
148
+ formRef: unknown;
149
+ }, HTMLDivElement>;
150
+ export default _default;
@@ -0,0 +1,170 @@
1
+ import { ElForm, ElFormItem, ElSelect, ElOption } from "element-plus/es";
2
+ import "element-plus/es/components/base/style/css";
3
+ import "element-plus/es/components/form/style/css";
4
+ import "element-plus/es/components/form-item/style/css";
5
+ import "element-plus/es/components/select/style/css";
6
+ import "element-plus/es/components/option/style/css";
7
+ import { defineComponent, reactive, onMounted, onUnmounted, withDirectives, createBlock, openBlock, withCtx, createVNode, unref, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, vShow } from "vue";
8
+ import DraggablePanel from "../../panel/DraggablePanel.vue.js";
9
+ import Draw from "ym-gis-2d/interaction/Draw";
10
+ const _hoisted_1 = { class: "el-current-value" };
11
+ const _hoisted_2 = { class: "el-current-unit" };
12
+ const _hoisted_3 = { class: "el-current-value" };
13
+ const _hoisted_4 = { class: "el-current-unit" };
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ __name: "AreaMeasurement",
16
+ props: {
17
+ map: {}
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ let reactiveValue = reactive({
22
+ visible: true,
23
+ allArea: 0,
24
+ allPerimeter: 0,
25
+ measureTypes: [
26
+ {
27
+ type: "square-meters",
28
+ label: "平方米",
29
+ persimeterLabel: "米"
30
+ },
31
+ {
32
+ type: "square-kilometers",
33
+ label: "平方公里",
34
+ persimeterLabel: "千米"
35
+ },
36
+ {
37
+ type: "mu",
38
+ label: "亩",
39
+ persimeterLabel: "米"
40
+ },
41
+ {
42
+ type: "hectare",
43
+ label: "公顷",
44
+ persimeterLabel: "千米"
45
+ }
46
+ ]
47
+ });
48
+ reactiveValue.currentType = reactiveValue.measureTypes[0];
49
+ onMounted(() => {
50
+ const tempLayer = props.map.getPolygonTempLayer();
51
+ let source = void 0;
52
+ const layersource = tempLayer == null ? void 0 : tempLayer.getSource();
53
+ if (layersource) {
54
+ source = layersource;
55
+ }
56
+ const draw = new Draw("polygon", {
57
+ source,
58
+ tipText: "点击开始测量,双击结束测量"
59
+ });
60
+ props.map.interactionManager.addInteraction("areaMeasure", draw);
61
+ draw.on("drawend", (event) => {
62
+ const features = event.feature;
63
+ if (features) {
64
+ features.isSelected = true;
65
+ features.tempLayer = tempLayer;
66
+ features.fromType = "draw";
67
+ }
68
+ });
69
+ });
70
+ onUnmounted(() => {
71
+ reactiveValue.visible = false;
72
+ props.map.interactionManager.removeInteraction("areaMeasure");
73
+ });
74
+ function handleClose() {
75
+ reactiveValue.visible = false;
76
+ }
77
+ return (_ctx, _cache) => {
78
+ const _component_el_option = ElOption;
79
+ const _component_el_select = ElSelect;
80
+ const _component_el_form_item = ElFormItem;
81
+ const _component_el_form = ElForm;
82
+ return withDirectives((openBlock(), createBlock(DraggablePanel, {
83
+ ref: "areaMeasureDom",
84
+ class: "el-current",
85
+ title: "面积量测",
86
+ drag: true,
87
+ width: 300,
88
+ height: 267,
89
+ showMaximize: false,
90
+ showOk: true,
91
+ onClose: handleClose
92
+ }, {
93
+ default: withCtx(() => [
94
+ createVNode(_component_el_form, {
95
+ ref: "formRef",
96
+ model: unref(reactiveValue),
97
+ "label-width": "auto"
98
+ }, {
99
+ default: withCtx(() => [
100
+ createVNode(_component_el_form_item, {
101
+ label: "单位",
102
+ prop: "currentType",
103
+ rules: {
104
+ required: true,
105
+ message: "请选择单位",
106
+ trigger: "change"
107
+ }
108
+ }, {
109
+ default: withCtx(() => [
110
+ createVNode(_component_el_select, {
111
+ modelValue: unref(reactiveValue).currentType,
112
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(reactiveValue).currentType = $event),
113
+ "value-key": "type",
114
+ class: "el-current",
115
+ "popper-class": "el-current"
116
+ }, {
117
+ default: withCtx(() => [
118
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(reactiveValue).measureTypes, (item) => {
119
+ return openBlock(), createBlock(_component_el_option, {
120
+ key: item.type,
121
+ label: item.label,
122
+ value: item
123
+ }, null, 8, ["label", "value"]);
124
+ }), 128))
125
+ ]),
126
+ _: 1
127
+ }, 8, ["modelValue"])
128
+ ]),
129
+ _: 1
130
+ }),
131
+ createVNode(_component_el_form_item, {
132
+ label: "面积",
133
+ prop: "allArea"
134
+ }, {
135
+ default: withCtx(() => {
136
+ var _a;
137
+ return [
138
+ createElementVNode("span", _hoisted_1, toDisplayString(unref(reactiveValue).allArea), 1),
139
+ createElementVNode("span", _hoisted_2, toDisplayString((_a = unref(reactiveValue).currentType) == null ? void 0 : _a.label), 1)
140
+ ];
141
+ }),
142
+ _: 1
143
+ }),
144
+ createVNode(_component_el_form_item, {
145
+ label: "周长",
146
+ prop: "allArea"
147
+ }, {
148
+ default: withCtx(() => {
149
+ var _a;
150
+ return [
151
+ createElementVNode("span", _hoisted_3, toDisplayString(unref(reactiveValue).allPerimeter), 1),
152
+ createElementVNode("span", _hoisted_4, toDisplayString((_a = unref(reactiveValue).currentType) == null ? void 0 : _a.persimeterLabel), 1)
153
+ ];
154
+ }),
155
+ _: 1
156
+ })
157
+ ]),
158
+ _: 1
159
+ }, 8, ["model"])
160
+ ]),
161
+ _: 1
162
+ }, 512)), [
163
+ [vShow, unref(reactiveValue).visible]
164
+ ]);
165
+ };
166
+ }
167
+ });
168
+ export {
169
+ _sfc_main as default
170
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./AreaMeasurement.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,150 @@
1
+ export declare const AreaMeasurement: import('../../utils').WithInstall<import('vue').DefineComponent<{
2
+ map: import('ym-gis-2d/mapView/Map').default;
3
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
4
+ map: import('ym-gis-2d/mapView/Map').default;
5
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
+ areaMeasureDom: ({
7
+ $: import('vue').ComponentInternalInstance;
8
+ $data: {};
9
+ $props: {
10
+ readonly title?: string | undefined;
11
+ readonly width?: number | undefined;
12
+ readonly height?: number | undefined;
13
+ readonly minWidth?: number | undefined;
14
+ readonly minHeight?: number | undefined;
15
+ readonly resizable?: boolean | undefined;
16
+ readonly showClose?: boolean | undefined;
17
+ readonly showMinimize?: boolean | undefined;
18
+ readonly showMaximize?: boolean | undefined;
19
+ readonly showDock?: boolean | undefined;
20
+ readonly drag?: boolean | undefined;
21
+ readonly showOk?: boolean | undefined;
22
+ readonly showCancel?: boolean | undefined;
23
+ readonly okText?: string | undefined;
24
+ readonly cancelText?: string | undefined;
25
+ readonly onClose?: ((...args: any[]) => any) | undefined;
26
+ readonly onResize?: ((...args: any[]) => any) | undefined;
27
+ readonly onMove?: ((...args: any[]) => any) | undefined;
28
+ readonly onOk?: ((...args: any[]) => any) | undefined;
29
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
30
+ $attrs: {
31
+ [x: string]: unknown;
32
+ };
33
+ $refs: {
34
+ [x: string]: unknown;
35
+ } & {
36
+ panelRef: HTMLDivElement;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import('vue').Slot<any> | undefined;
40
+ }>;
41
+ $root: import('vue').ComponentPublicInstance | null;
42
+ $parent: import('vue').ComponentPublicInstance | null;
43
+ $host: Element | null;
44
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "resize", ...args: any[]) => void) & ((event: "move", ...args: any[]) => void) & ((event: "ok", ...args: any[]) => void);
45
+ $el: HTMLDivElement;
46
+ $options: import('vue').ComponentOptionsBase<Readonly<{
47
+ title?: string;
48
+ width?: number;
49
+ height?: number;
50
+ minWidth?: number;
51
+ minHeight?: number;
52
+ resizable?: boolean;
53
+ showClose?: boolean;
54
+ showMinimize?: boolean;
55
+ showMaximize?: boolean;
56
+ showDock?: boolean;
57
+ drag?: boolean;
58
+ showOk?: boolean;
59
+ showCancel?: boolean;
60
+ okText?: string;
61
+ cancelText?: string;
62
+ }> & Readonly<{
63
+ onClose?: ((...args: any[]) => any) | undefined;
64
+ onResize?: ((...args: any[]) => any) | undefined;
65
+ onMove?: ((...args: any[]) => any) | undefined;
66
+ onOk?: ((...args: any[]) => any) | undefined;
67
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
+ close: (...args: any[]) => void;
69
+ resize: (...args: any[]) => void;
70
+ move: (...args: any[]) => void;
71
+ ok: (...args: any[]) => void;
72
+ }, string, {
73
+ title: string;
74
+ showClose: boolean;
75
+ drag: boolean;
76
+ minWidth: number;
77
+ minHeight: number;
78
+ resizable: boolean;
79
+ showMinimize: boolean;
80
+ showMaximize: boolean;
81
+ showDock: boolean;
82
+ showOk: boolean;
83
+ showCancel: boolean;
84
+ okText: string;
85
+ cancelText: string;
86
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
87
+ beforeCreate?: (() => void) | (() => void)[];
88
+ created?: (() => void) | (() => void)[];
89
+ beforeMount?: (() => void) | (() => void)[];
90
+ mounted?: (() => void) | (() => void)[];
91
+ beforeUpdate?: (() => void) | (() => void)[];
92
+ updated?: (() => void) | (() => void)[];
93
+ activated?: (() => void) | (() => void)[];
94
+ deactivated?: (() => void) | (() => void)[];
95
+ beforeDestroy?: (() => void) | (() => void)[];
96
+ beforeUnmount?: (() => void) | (() => void)[];
97
+ destroyed?: (() => void) | (() => void)[];
98
+ unmounted?: (() => void) | (() => void)[];
99
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
100
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
101
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
102
+ };
103
+ $forceUpdate: () => void;
104
+ $nextTick: typeof import('vue').nextTick;
105
+ $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;
106
+ } & Readonly<{
107
+ title: string;
108
+ showClose: boolean;
109
+ drag: boolean;
110
+ minWidth: number;
111
+ minHeight: number;
112
+ resizable: boolean;
113
+ showMinimize: boolean;
114
+ showMaximize: boolean;
115
+ showDock: boolean;
116
+ showOk: boolean;
117
+ showCancel: boolean;
118
+ okText: string;
119
+ cancelText: string;
120
+ }> & Omit<Readonly<{
121
+ title?: string;
122
+ width?: number;
123
+ height?: number;
124
+ minWidth?: number;
125
+ minHeight?: number;
126
+ resizable?: boolean;
127
+ showClose?: boolean;
128
+ showMinimize?: boolean;
129
+ showMaximize?: boolean;
130
+ showDock?: boolean;
131
+ drag?: boolean;
132
+ showOk?: boolean;
133
+ showCancel?: boolean;
134
+ okText?: string;
135
+ cancelText?: string;
136
+ }> & Readonly<{
137
+ onClose?: ((...args: any[]) => any) | undefined;
138
+ onResize?: ((...args: any[]) => any) | undefined;
139
+ onMove?: ((...args: any[]) => any) | undefined;
140
+ onOk?: ((...args: any[]) => any) | undefined;
141
+ }>, "title" | "showClose" | "drag" | "minWidth" | "minHeight" | "resizable" | "showMinimize" | "showMaximize" | "showDock" | "showOk" | "showCancel" | "okText" | "cancelText"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
142
+ $slots: {
143
+ header?(_: {}): any;
144
+ default?(_: {}): any;
145
+ footer?(_: {}): any;
146
+ };
147
+ }) | null;
148
+ formRef: unknown;
149
+ }, HTMLDivElement>>;
150
+ export default AreaMeasurement;
@@ -0,0 +1,7 @@
1
+ import { withInstall } from "../../utils/wthInstall.js";
2
+ import _sfc_main from "./AreaMeasurement.vue.js";
3
+ const AreaMeasurement = withInstall(_sfc_main);
4
+ export {
5
+ AreaMeasurement,
6
+ AreaMeasurement as default
7
+ };
@@ -0,0 +1,9 @@
1
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
2
+ const _sfc_main = {};
3
+ function _sfc_render(_ctx, _cache) {
4
+ return null;
5
+ }
6
+ const DistanceMeasurement = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
7
+ export {
8
+ DistanceMeasurement as default
9
+ };
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
7
7
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
8
  onActiveInteraction?: ((...args: any[]) => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
10
- popupDom: ({
10
+ exportDom: ({
11
11
  $: import('vue').ComponentInternalInstance;
12
12
  $data: {};
13
13
  $props: {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Export.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _Export = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b476454e"]]);
4
+ const _Export = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-11975a70"]]);
5
5
  export {
6
6
  _Export as default
7
7
  };
@@ -179,7 +179,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
179
179
  const _component_el_input = ElInput;
180
180
  const _component_el_form = ElForm;
181
181
  return withDirectives((openBlock(), createBlock(DraggablePanel, {
182
- ref: "popupDom",
182
+ ref: "exportDom",
183
183
  class: "el-current",
184
184
  title: "导出",
185
185
  drag: true,
@@ -1,3 +1,3 @@
1
- .panel-content[data-v-b476454e] .el-form-item {
1
+ .panel-content[data-v-11975a70] .el-form-item {
2
2
  margin-bottom: 10px;
3
3
  }
@@ -7,7 +7,7 @@ export declare const Export: import('../../utils').WithInstall<import('vue').Def
7
7
  }> & Readonly<{
8
8
  onActiveInteraction?: ((...args: any[]) => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
10
- popupDom: ({
10
+ exportDom: ({
11
11
  $: import('vue').ComponentInternalInstance;
12
12
  $data: {};
13
13
  $props: {
@@ -128,7 +128,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
128
128
  },
129
129
  emits: ["loaded"],
130
130
  setup(__props, { emit: __emit }) {
131
- const modules = /* @__PURE__ */ Object.assign({ "../clear/Clear.vue": () => import("../clear/Clear.vue2.js"), "../clear/index.ts": () => import("../clear/index.js"), "../draw/Draw.vue": () => import("../draw/Draw.vue2.js"), "../draw/index.ts": () => import("../draw/index.js"), "../export/Export.vue": () => import("../export/Export.vue.js"), "../export/index.ts": () => import("../export/index.js"), "./HorizontallyTopToolbar.vue": () => import("./HorizontallyTopToolbar.vue.js"), "./index.ts": () => import("./index.js"), "../identify/Identify.vue": () => import("../identify/Identify.vue2.js"), "../identify/index.ts": () => import("../identify/index.js"), "../import/Import.vue": () => import("../import/Import.vue2.js"), "../import/index.ts": () => import("../import/index.js"), "../layer-switcher/LayerSwitcher.vue": () => import("../layer-switcher/LayerSwitcher.vue.js"), "../layer-switcher/index.ts": () => import("../layer-switcher/index.js"), "../layer-tree/LayerTree.vue": () => import("../layer-tree/LayerTree.vue.js"), "../layer-tree/index.ts": () => import("../layer-tree/index.js"), "../legend/Legend.vue": () => import("../legend/Legend.vue.js"), "../legend/index.ts": () => import("../legend/index.js"), "../map-view/MapView.vue": () => import("../map-view/MapView.vue2.js"), "../map-view/index.ts": () => import("../map-view/index.js"), "../mouse-position/MousePositon.vue": () => import("../mouse-position/MousePositon.vue.js"), "../mouse-position/index.ts": () => import("../mouse-position/index.js"), "../multi-screen-panel/PanelMultiScreen.vue": () => import("../multi-screen-panel/PanelMultiScreen.vue.js"), "../multi-screen-panel/index.ts": () => import("../multi-screen-panel/index.js"), "../multi-screen/MultiScreen.vue": () => import("../multi-screen/MultiScreen.vue.js"), "../multi-screen/index.ts": () => import("../multi-screen/index.js"), "../popup/Popup.vue": () => import("../popup/Popup.vue.js"), "../popup/index.ts": () => import("../popup/index.js"), "../scale-line/ScaleLine.vue": () => import("../scale-line/ScaleLine.vue.js"), "../scale-line/index.ts": () => import("../scale-line/index.js"), "../select/Select.vue": () => import("../select/Select.vue2.js"), "../select/index.ts": () => import("../select/index.js"), "../swipe-layer/SwipeLayer.vue": () => import("../swipe-layer/SwipeLayer.vue2.js"), "../swipe-layer/index.ts": () => import("../swipe-layer/index.js"), "../toc-card/TocCard.vue": () => import("../toc-card/TocCard.vue.js"), "../toc-card/index.ts": () => import("../toc-card/index.js") });
131
+ const modules = /* @__PURE__ */ Object.assign({ "../area-measurement/AreaMeasurement.vue": () => import("../area-measurement/AreaMeasurement.vue2.js"), "../area-measurement/index.ts": () => import("../area-measurement/index.js"), "../clear/Clear.vue": () => import("../clear/Clear.vue2.js"), "../clear/index.ts": () => import("../clear/index.js"), "../distance-measurement/DistanceMeasurement.vue": () => import("../distance-measurement/DistanceMeasurement.vue.js"), "../draw/Draw.vue": () => import("../draw/Draw.vue2.js"), "../draw/index.ts": () => import("../draw/index.js"), "../export/Export.vue": () => import("../export/Export.vue.js"), "../export/index.ts": () => import("../export/index.js"), "./HorizontallyTopToolbar.vue": () => import("./HorizontallyTopToolbar.vue.js"), "./index.ts": () => import("./index.js"), "../identify/Identify.vue": () => import("../identify/Identify.vue2.js"), "../identify/index.ts": () => import("../identify/index.js"), "../import/Import.vue": () => import("../import/Import.vue2.js"), "../import/index.ts": () => import("../import/index.js"), "../layer-switcher/LayerSwitcher.vue": () => import("../layer-switcher/LayerSwitcher.vue.js"), "../layer-switcher/index.ts": () => import("../layer-switcher/index.js"), "../layer-tree/LayerTree.vue": () => import("../layer-tree/LayerTree.vue.js"), "../layer-tree/index.ts": () => import("../layer-tree/index.js"), "../legend/Legend.vue": () => import("../legend/Legend.vue.js"), "../legend/index.ts": () => import("../legend/index.js"), "../map-view/MapView.vue": () => import("../map-view/MapView.vue2.js"), "../map-view/index.ts": () => import("../map-view/index.js"), "../mouse-position/MousePositon.vue": () => import("../mouse-position/MousePositon.vue.js"), "../mouse-position/index.ts": () => import("../mouse-position/index.js"), "../multi-screen-panel/PanelMultiScreen.vue": () => import("../multi-screen-panel/PanelMultiScreen.vue.js"), "../multi-screen-panel/index.ts": () => import("../multi-screen-panel/index.js"), "../multi-screen/MultiScreen.vue": () => import("../multi-screen/MultiScreen.vue.js"), "../multi-screen/index.ts": () => import("../multi-screen/index.js"), "../popup/Popup.vue": () => import("../popup/Popup.vue.js"), "../popup/index.ts": () => import("../popup/index.js"), "../scale-line/ScaleLine.vue": () => import("../scale-line/ScaleLine.vue.js"), "../scale-line/index.ts": () => import("../scale-line/index.js"), "../select/Select.vue": () => import("../select/Select.vue2.js"), "../select/index.ts": () => import("../select/index.js"), "../swipe-layer/SwipeLayer.vue": () => import("../swipe-layer/SwipeLayer.vue2.js"), "../swipe-layer/index.ts": () => import("../swipe-layer/index.js"), "../toc-card/TocCard.vue": () => import("../toc-card/TocCard.vue.js"), "../toc-card/index.ts": () => import("../toc-card/index.js") });
132
132
  const emit = __emit;
133
133
  const props = __props;
134
134
  const reactiveValue = reactive({