ym-giswidget-2d 1.0.46 → 1.0.48

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 (42) hide show
  1. package/components/area-measurement/AreaMeasurement.vue.d.ts +150 -0
  2. package/components/area-measurement/AreaMeasurement.vue.js +192 -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.vue.js +1 -1
  13. package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +1 -1
  14. package/components/horizontally-top-toolbar/index.css +10 -9
  15. package/components/identify/Identify.vue.d.ts +140 -1
  16. package/components/identify/Identify.vue.js +10 -2
  17. package/components/identify/index.d.ts +166 -17
  18. package/components/map-view/MapView.vue.d.ts +4 -4
  19. package/components/map-view/MapView.vue.js +2 -2
  20. package/components/map-view/index.d.ts +4 -4
  21. package/components/mouse-position/MousePositon.vue.d.ts +1 -0
  22. package/components/mouse-position/MousePositon.vue.js +1 -1
  23. package/components/mouse-position/MousePositon.vue2.js +4 -2
  24. package/components/mouse-position/index.css +5 -5
  25. package/components/mouse-position/index.d.ts +1 -0
  26. package/components/multi-screen/MultiScreen.vue.d.ts +2 -2
  27. package/components/multi-screen/index.d.ts +2 -2
  28. package/components/popup/Popup.vue.d.ts +288 -1
  29. package/components/popup/Popup.vue.js +1 -1
  30. package/components/popup/Popup.vue2.js +7 -3
  31. package/components/popup/index.css +10 -10
  32. package/components/popup/index.d.ts +288 -138
  33. package/components/scale-line/ScaleLine.vue.d.ts +10 -0
  34. package/components/scale-line/ScaleLine.vue.js +1 -1
  35. package/components/scale-line/ScaleLine.vue2.js +7 -7
  36. package/components/scale-line/index.css +5 -5
  37. package/components/scale-line/index.d.ts +15 -0
  38. package/components/select/Select.vue.js +1 -1
  39. package/components/select/index.d.ts +12 -12
  40. package/index.d.ts +1 -0
  41. package/index.js +2 -0
  42. 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,192 @@
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, createCommentVNode, 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
+ import { getArea } from "ym-gis-2d/utils/GeometryUtil";
11
+ const _hoisted_1 = { class: "el-current-value" };
12
+ const _hoisted_2 = { class: "el-current-unit" };
13
+ const _hoisted_3 = { class: "el-current-value" };
14
+ const _hoisted_4 = { class: "el-current-unit" };
15
+ const _sfc_main = /* @__PURE__ */ defineComponent({
16
+ __name: "AreaMeasurement",
17
+ props: {
18
+ map: {}
19
+ },
20
+ setup(__props) {
21
+ const props = __props;
22
+ let reactiveValue = reactive({
23
+ visible: true,
24
+ allArea: 0,
25
+ allPerimeter: 0,
26
+ measureTypes: [
27
+ {
28
+ type: "square-meters",
29
+ label: "平方米",
30
+ persimeterLabel: "米"
31
+ },
32
+ {
33
+ type: "square-kilometers",
34
+ label: "平方公里",
35
+ persimeterLabel: "千米"
36
+ },
37
+ {
38
+ type: "mu",
39
+ label: "亩",
40
+ persimeterLabel: "米"
41
+ },
42
+ {
43
+ type: "hectare",
44
+ label: "公顷",
45
+ persimeterLabel: "千米"
46
+ }
47
+ ]
48
+ });
49
+ reactiveValue.currentType = reactiveValue.measureTypes[0];
50
+ onMounted(() => {
51
+ const tempLayer = props.map.getPolygonTempLayer();
52
+ let source = void 0;
53
+ const layersource = tempLayer == null ? void 0 : tempLayer.getSource();
54
+ if (layersource) {
55
+ source = layersource;
56
+ }
57
+ const draw = new Draw("polygon", {
58
+ source,
59
+ tipText: "点击开始测量,双击结束测量"
60
+ });
61
+ props.map.interactionManager.addInteraction("areaMeasure", draw);
62
+ draw.on("drawend", (event) => {
63
+ const features = event.feature;
64
+ if (features) {
65
+ features.isSelected = true;
66
+ features.tempLayer = tempLayer;
67
+ features.fromType = "draw";
68
+ }
69
+ });
70
+ draw.on("drawaddpoint", (event) => {
71
+ const features = event.feature;
72
+ if (features) {
73
+ features.isSelected = true;
74
+ features.tempLayer = tempLayer;
75
+ features.fromType = "draw";
76
+ }
77
+ });
78
+ draw.on("drawmoving", (event) => {
79
+ var _a;
80
+ if (!event.coordinates || event.coordinates.length < 2) {
81
+ return;
82
+ }
83
+ const geometry = (_a = event.feature) == null ? void 0 : _a.getGeometry();
84
+ const area = getArea(geometry, props.map.getView().getProjection());
85
+ console.log(area);
86
+ });
87
+ });
88
+ onUnmounted(() => {
89
+ reactiveValue.visible = false;
90
+ props.map.interactionManager.removeInteraction("areaMeasure");
91
+ });
92
+ function handleClose() {
93
+ reactiveValue.visible = false;
94
+ }
95
+ return (_ctx, _cache) => {
96
+ const _component_el_option = ElOption;
97
+ const _component_el_select = ElSelect;
98
+ const _component_el_form_item = ElFormItem;
99
+ const _component_el_form = ElForm;
100
+ return withDirectives((openBlock(), createBlock(DraggablePanel, {
101
+ ref: "areaMeasureDom",
102
+ class: "el-current",
103
+ title: "面积测量",
104
+ drag: true,
105
+ width: 300,
106
+ height: 268,
107
+ showMaximize: false,
108
+ showOk: false,
109
+ "show-cancel": true,
110
+ "cancel-text": "关闭",
111
+ onClose: handleClose
112
+ }, {
113
+ default: withCtx(() => [
114
+ createVNode(_component_el_form, {
115
+ ref: "formRef",
116
+ model: unref(reactiveValue),
117
+ "label-width": "auto"
118
+ }, {
119
+ default: withCtx(() => [
120
+ createVNode(_component_el_form_item, {
121
+ label: "单位",
122
+ prop: "currentType",
123
+ rules: {
124
+ required: true,
125
+ message: "请选择单位",
126
+ trigger: "change"
127
+ }
128
+ }, {
129
+ default: withCtx(() => [
130
+ createVNode(_component_el_select, {
131
+ modelValue: unref(reactiveValue).currentType,
132
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(reactiveValue).currentType = $event),
133
+ "value-key": "type",
134
+ class: "el-current",
135
+ "popper-class": "el-current"
136
+ }, {
137
+ default: withCtx(() => [
138
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(reactiveValue).measureTypes, (item) => {
139
+ return openBlock(), createBlock(_component_el_option, {
140
+ key: item.type,
141
+ label: item.label,
142
+ value: item
143
+ }, null, 8, ["label", "value"]);
144
+ }), 128))
145
+ ]),
146
+ _: 1
147
+ }, 8, ["modelValue"])
148
+ ]),
149
+ _: 1
150
+ }),
151
+ unref(reactiveValue).allArea > 0 ? (openBlock(), createBlock(_component_el_form_item, {
152
+ key: 0,
153
+ label: "面积",
154
+ prop: "allArea"
155
+ }, {
156
+ default: withCtx(() => {
157
+ var _a;
158
+ return [
159
+ createElementVNode("span", _hoisted_1, toDisplayString(unref(reactiveValue).allArea), 1),
160
+ createElementVNode("span", _hoisted_2, toDisplayString((_a = unref(reactiveValue).currentType) == null ? void 0 : _a.label), 1)
161
+ ];
162
+ }),
163
+ _: 1
164
+ })) : createCommentVNode("", true),
165
+ unref(reactiveValue).allPerimeter > 0 ? (openBlock(), createBlock(_component_el_form_item, {
166
+ key: 1,
167
+ label: "周长",
168
+ prop: "allArea"
169
+ }, {
170
+ default: withCtx(() => {
171
+ var _a;
172
+ return [
173
+ createElementVNode("span", _hoisted_3, toDisplayString(unref(reactiveValue).allPerimeter), 1),
174
+ createElementVNode("span", _hoisted_4, toDisplayString((_a = unref(reactiveValue).currentType) == null ? void 0 : _a.persimeterLabel), 1)
175
+ ];
176
+ }),
177
+ _: 1
178
+ })) : createCommentVNode("", true)
179
+ ]),
180
+ _: 1
181
+ }, 8, ["model"])
182
+ ]),
183
+ _: 1
184
+ }, 512)), [
185
+ [vShow, unref(reactiveValue).visible]
186
+ ]);
187
+ };
188
+ }
189
+ });
190
+ export {
191
+ _sfc_main as default
192
+ };
@@ -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: {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HorizontallyTopToolbar.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _HorizontallyTopToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c8586f4"]]);
4
+ const _HorizontallyTopToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f42f3be5"]]);
5
5
  export {
6
6
  _HorizontallyTopToolbar as default
7
7
  };
@@ -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({
@@ -1,4 +1,4 @@
1
- .toolbar-contain[data-v-3c8586f4] {
1
+ .toolbar-contain[data-v-f42f3be5] {
2
2
  position: absolute;
3
3
  top: 44px;
4
4
  display: flex;
@@ -9,7 +9,7 @@
9
9
  border: 1px solid var(--system-primary-border-color);
10
10
  border-radius: 3px;
11
11
  }
12
- .toolbar-contain .toolbar-item-contain[data-v-3c8586f4] {
12
+ .toolbar-contain .toolbar-item-contain[data-v-f42f3be5] {
13
13
  height: 43px;
14
14
  line-height: 43px;
15
15
  display: flex;
@@ -18,41 +18,42 @@
18
18
  align-items: center;
19
19
  cursor: pointer;
20
20
  }
21
- .toolbar-contain .toolbar-item-contain .toolbar-item[data-v-3c8586f4] {
21
+ .toolbar-contain .toolbar-item-contain .toolbar-item[data-v-f42f3be5] {
22
22
  display: flex;
23
23
  align-items: center;
24
24
  padding: 0px 10px;
25
25
  }
26
- .toolbar-contain .toolbar-item-contain .toolbar-icon[data-v-3c8586f4] {
26
+ .toolbar-contain .toolbar-item-contain .toolbar-icon[data-v-f42f3be5] {
27
27
  width: 24px;
28
28
  height: 24px;
29
29
  margin-right: 6px;
30
30
  }
31
- .toolbar-contain .toolbar-item-contain .toolbar-children-contain[data-v-3c8586f4] {
31
+ .toolbar-contain .toolbar-item-contain .toolbar-children-contain[data-v-f42f3be5] {
32
32
  position: absolute;
33
33
  top: 50px;
34
34
  background: var(--system-primary-color);
35
35
  border: 1px solid var(--system-primary-border-color);
36
36
  border-radius: 3px;
37
+ margin: 0px -1px;
37
38
  }
38
- .toolbar-contain .active[data-v-3c8586f4] {
39
+ .toolbar-contain .active[data-v-f42f3be5] {
39
40
  color: var(--system-primary-text-active-color);
40
41
  }
41
- .toolbar-contain .toolbar-split[data-v-3c8586f4] {
42
+ .toolbar-contain .toolbar-split[data-v-f42f3be5] {
42
43
  width: 2px;
43
44
  height: 20px;
44
45
  background: #7EA08E;
45
46
  margin: auto;
46
47
  opacity: 0.5;
47
48
  }
48
- .toolbar-contain .toolbar-h-split[data-v-3c8586f4] {
49
+ .toolbar-contain .toolbar-h-split[data-v-f42f3be5] {
49
50
  height: 2px;
50
51
  background: #7EA08E;
51
52
  margin: auto;
52
53
  opacity: 0.5;
53
54
  margin: 0px 10px;
54
55
  }
55
- .component-position[data-v-3c8586f4] {
56
+ .component-position[data-v-f42f3be5] {
56
57
  position: absolute;
57
58
  right: 300px;
58
59
  }