ym-giswidget-2d 1.0.27 → 1.0.28
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.
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue.d.ts +2 -2
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue.js +1 -1
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +8 -3
- package/components/horizontally-top-toolbar/index.css +9 -9
- package/package.json +2 -2
|
@@ -8,9 +8,9 @@ type __VLS_Props = {
|
|
|
8
8
|
map: OLMap;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
|
|
11
|
+
loaded: (...args: any[]) => void;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
|
|
13
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
tools: ITool[];
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -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-
|
|
4
|
+
const _HorizontallyTopToolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c8586f4"]]);
|
|
5
5
|
export {
|
|
6
6
|
_HorizontallyTopToolbar as default
|
|
7
7
|
};
|
|
@@ -126,9 +126,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
126
|
] },
|
|
127
127
|
map: {}
|
|
128
128
|
},
|
|
129
|
-
emits: ["
|
|
129
|
+
emits: ["loaded"],
|
|
130
130
|
setup(__props, { emit: __emit }) {
|
|
131
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-tree/LayerTree.vue": () => import("../layer-tree/LayerTree.vue.js"), "../layer-tree/index.ts": () => import("../layer-tree/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
|
+
const emit = __emit;
|
|
132
133
|
const props = __props;
|
|
133
134
|
const reactiveValue = reactive({
|
|
134
135
|
activeIds: [],
|
|
@@ -199,6 +200,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
199
200
|
}
|
|
200
201
|
}
|
|
201
202
|
}
|
|
203
|
+
function handleLoaded() {
|
|
204
|
+
emit("loaded");
|
|
205
|
+
}
|
|
202
206
|
return (_ctx, _cache) => {
|
|
203
207
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
204
208
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -260,8 +264,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
260
264
|
(openBlock(true), createElementBlock(Fragment, null, renderList(reactiveValue.alwaysComponents, (component) => {
|
|
261
265
|
return withDirectives((openBlock(), createBlock(resolveDynamicComponent(component.component), {
|
|
262
266
|
map: props.map,
|
|
263
|
-
data: component.data
|
|
264
|
-
|
|
267
|
+
data: component.data,
|
|
268
|
+
onLoaded: handleLoaded
|
|
269
|
+
}, null, 40, ["map", "data"])), [
|
|
265
270
|
[vShow, reactiveValue.activeIds.indexOf(component.id) > -1]
|
|
266
271
|
]);
|
|
267
272
|
}), 256))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.toolbar-contain[data-v-
|
|
1
|
+
.toolbar-contain[data-v-3c8586f4] {
|
|
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-
|
|
12
|
+
.toolbar-contain .toolbar-item-contain[data-v-3c8586f4] {
|
|
13
13
|
height: 43px;
|
|
14
14
|
line-height: 43px;
|
|
15
15
|
display: flex;
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
}
|
|
21
|
-
.toolbar-contain .toolbar-item-contain .toolbar-item[data-v-
|
|
21
|
+
.toolbar-contain .toolbar-item-contain .toolbar-item[data-v-3c8586f4] {
|
|
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-
|
|
26
|
+
.toolbar-contain .toolbar-item-contain .toolbar-icon[data-v-3c8586f4] {
|
|
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-
|
|
31
|
+
.toolbar-contain .toolbar-item-contain .toolbar-children-contain[data-v-3c8586f4] {
|
|
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
37
|
}
|
|
38
|
-
.toolbar-contain .active[data-v-
|
|
38
|
+
.toolbar-contain .active[data-v-3c8586f4] {
|
|
39
39
|
color: var(--system-primary-text-active-color);
|
|
40
40
|
}
|
|
41
|
-
.toolbar-contain .toolbar-split[data-v-
|
|
41
|
+
.toolbar-contain .toolbar-split[data-v-3c8586f4] {
|
|
42
42
|
width: 2px;
|
|
43
43
|
height: 20px;
|
|
44
44
|
background: #7EA08E;
|
|
45
45
|
margin: auto;
|
|
46
46
|
opacity: 0.5;
|
|
47
47
|
}
|
|
48
|
-
.toolbar-contain .toolbar-h-split[data-v-
|
|
48
|
+
.toolbar-contain .toolbar-h-split[data-v-3c8586f4] {
|
|
49
49
|
height: 2px;
|
|
50
50
|
background: #7EA08E;
|
|
51
51
|
margin: auto;
|
|
52
52
|
opacity: 0.5;
|
|
53
53
|
margin: 0px 10px;
|
|
54
54
|
}
|
|
55
|
-
.component-position[data-v-
|
|
55
|
+
.component-position[data-v-3c8586f4] {
|
|
56
56
|
position: absolute;
|
|
57
57
|
right: 300px;
|
|
58
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ym-giswidget-2d",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"element-plus": "^2.9.0",
|
|
11
11
|
"jszip": "^3.10.1",
|
|
12
12
|
"ol": "^9.2.4",
|
|
13
|
-
"ym-gis-2d": "1.0.
|
|
13
|
+
"ym-gis-2d": "1.0.7"
|
|
14
14
|
}
|
|
15
15
|
}
|