ym-giswidget-2d 1.0.52 → 1.0.54
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/README.md +33 -33
- package/assets/font/iconfont.css +39 -39
- package/assets/font/iconfont.json +51 -51
- package/assets/img/dw.png.js +4 -0
- package/components/draw/Draw.vue.js +1 -1
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue.js +1 -1
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +7 -5
- package/components/horizontally-top-toolbar/index.css +9 -9
- package/components/location/Location.vue.d.ts +154 -0
- package/components/location/Location.vue.js +7 -0
- package/components/location/Location.vue2.js +272 -0
- package/components/location/index.css +16 -0
- package/components/location/index.d.ts +154 -0
- package/components/location/index.js +8 -0
- package/components/map-view/MapView.vue.d.ts +3 -1
- package/components/map-view/MapView.vue.js +12 -2
- package/components/map-view/index.d.ts +2 -1
- package/components/select/Select.vue.js +6 -0
- package/components/split/Split.vue.js +4 -0
- package/components/split/Split.vue2.js +78 -0
- package/components/split/index.js +7 -0
- package/index.d.ts +1 -0
- package/index.js +2 -0
- package/package.json +2 -2
- package/panel/index.css +15 -15
package/README.md
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# olComponents
|
|
2
|
-
|
|
3
|
-
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
-
|
|
5
|
-
## Recommended IDE Setup
|
|
6
|
-
|
|
7
|
-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
-
|
|
9
|
-
## Type Support for `.vue` Imports in TS
|
|
10
|
-
|
|
11
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
-
|
|
13
|
-
## Customize configuration
|
|
14
|
-
|
|
15
|
-
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
16
|
-
|
|
17
|
-
## Project Setup
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
pnpm install
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### Compile and Hot-Reload for Development
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
pnpm dev
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### Type-Check, Compile and Minify for Production
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
pnpm build
|
|
33
|
-
```
|
|
1
|
+
# olComponents
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
+
|
|
9
|
+
## Type Support for `.vue` Imports in TS
|
|
10
|
+
|
|
11
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
+
|
|
13
|
+
## Customize configuration
|
|
14
|
+
|
|
15
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
16
|
+
|
|
17
|
+
## Project Setup
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
pnpm install
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Compile and Hot-Reload for Development
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
pnpm dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Type-Check, Compile and Minify for Production
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
pnpm build
|
|
33
|
+
```
|
package/assets/font/iconfont.css
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "iconfont"; /* Project id 4810358 */
|
|
3
|
-
src: url('iconfont.woff2?t=1736821977689') format('woff2'),
|
|
4
|
-
url('iconfont.woff?t=1736821977689') format('woff'),
|
|
5
|
-
url('iconfont.ttf?t=1736821977689') format('truetype');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.iconfont {
|
|
9
|
-
font-family: "iconfont" !important;
|
|
10
|
-
font-size: 16px;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.icon-undock:before {
|
|
17
|
-
content: "\e718";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.icon-dock:before {
|
|
21
|
-
content: "\e601";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.icon-minimize:before {
|
|
25
|
-
content: "\e646";
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.icon-restore:before {
|
|
29
|
-
content: "\e600";
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.icon-close:before {
|
|
33
|
-
content: "\e70f";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.icon-maximize:before {
|
|
37
|
-
content: "\e651";
|
|
38
|
-
}
|
|
39
|
-
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "iconfont"; /* Project id 4810358 */
|
|
3
|
+
src: url('iconfont.woff2?t=1736821977689') format('woff2'),
|
|
4
|
+
url('iconfont.woff?t=1736821977689') format('woff'),
|
|
5
|
+
url('iconfont.ttf?t=1736821977689') format('truetype');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.iconfont {
|
|
9
|
+
font-family: "iconfont" !important;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.icon-undock:before {
|
|
17
|
+
content: "\e718";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon-dock:before {
|
|
21
|
+
content: "\e601";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.icon-minimize:before {
|
|
25
|
+
content: "\e646";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon-restore:before {
|
|
29
|
+
content: "\e600";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.icon-close:before {
|
|
33
|
+
content: "\e70f";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.icon-maximize:before {
|
|
37
|
+
content: "\e651";
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "4810358",
|
|
3
|
-
"name": "print-map",
|
|
4
|
-
"font_family": "iconfont",
|
|
5
|
-
"css_prefix_text": "icon-",
|
|
6
|
-
"description": "",
|
|
7
|
-
"glyphs": [
|
|
8
|
-
{
|
|
9
|
-
"icon_id": "21967058",
|
|
10
|
-
"name": "未停靠",
|
|
11
|
-
"font_class": "undock",
|
|
12
|
-
"unicode": "e718",
|
|
13
|
-
"unicode_decimal": 59160
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"icon_id": "39867073",
|
|
17
|
-
"name": "停靠",
|
|
18
|
-
"font_class": "dock",
|
|
19
|
-
"unicode": "e601",
|
|
20
|
-
"unicode_decimal": 58881
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"icon_id": "659177",
|
|
24
|
-
"name": "最小化",
|
|
25
|
-
"font_class": "minimize",
|
|
26
|
-
"unicode": "e646",
|
|
27
|
-
"unicode_decimal": 58950
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"icon_id": "4485682",
|
|
31
|
-
"name": "还原窗体",
|
|
32
|
-
"font_class": "restore",
|
|
33
|
-
"unicode": "e600",
|
|
34
|
-
"unicode_decimal": 58880
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"icon_id": "6705520",
|
|
38
|
-
"name": "关闭",
|
|
39
|
-
"font_class": "close",
|
|
40
|
-
"unicode": "e70f",
|
|
41
|
-
"unicode_decimal": 59151
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"icon_id": "11490920",
|
|
45
|
-
"name": "最大化",
|
|
46
|
-
"font_class": "maximize",
|
|
47
|
-
"unicode": "e651",
|
|
48
|
-
"unicode_decimal": 58961
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"id": "4810358",
|
|
3
|
+
"name": "print-map",
|
|
4
|
+
"font_family": "iconfont",
|
|
5
|
+
"css_prefix_text": "icon-",
|
|
6
|
+
"description": "",
|
|
7
|
+
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "21967058",
|
|
10
|
+
"name": "未停靠",
|
|
11
|
+
"font_class": "undock",
|
|
12
|
+
"unicode": "e718",
|
|
13
|
+
"unicode_decimal": 59160
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "39867073",
|
|
17
|
+
"name": "停靠",
|
|
18
|
+
"font_class": "dock",
|
|
19
|
+
"unicode": "e601",
|
|
20
|
+
"unicode_decimal": 58881
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "659177",
|
|
24
|
+
"name": "最小化",
|
|
25
|
+
"font_class": "minimize",
|
|
26
|
+
"unicode": "e646",
|
|
27
|
+
"unicode_decimal": 58950
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "4485682",
|
|
31
|
+
"name": "还原窗体",
|
|
32
|
+
"font_class": "restore",
|
|
33
|
+
"unicode": "e600",
|
|
34
|
+
"unicode_decimal": 58880
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "6705520",
|
|
38
|
+
"name": "关闭",
|
|
39
|
+
"font_class": "close",
|
|
40
|
+
"unicode": "e70f",
|
|
41
|
+
"unicode_decimal": 59151
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "11490920",
|
|
45
|
+
"name": "最大化",
|
|
46
|
+
"font_class": "maximize",
|
|
47
|
+
"unicode": "e651",
|
|
48
|
+
"unicode_decimal": 58961
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const locationIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAABACAYAAABBXsrdAAAAAXNSR0IArs4c6QAACgZJREFUeF7NW32MHGUZ/z3v7F3bm9mDa7OzR09tgYPezl6xCBqUQqsQCEE+LIKNJg3Ih0QIFggJRhPoH2I0UapCiicfMWqMYqG2gqItrRBtDMV+3c5eWynVlrY7W+hxu1vau533MbPtwbG3u/PO7OzpJJvdzPyer9++87zPvO8zhCk8RnJ9nyaIK4kwB+C5AM0FMJeBvUTYyxJ7NcKgptGGabMy9hS6VjFFrTZYyqdvA/MVzLgMhJmq9hj4F4H+SkRr9MTgH1TlmsG1jIyCY91IwN0ALm3Gwco/RlgHiIFWkxI5GcP/nt+lzZBPEfgLzZJQLc/g5+Jm9oao9Y7ri5SMkfy8eRprLzBwdqscBrDVMO1PtEJ/ZGSMONYlAnilFU5OHiEYjpt2V9S2IiHjxNtpa8zlTNTONdJHhIN6wu6J0mbTZFSIKPNWENqjdExFl5dY9YR9rQpWBdMUGceOnNsjOfYSGGkVY63AEPCsbto3RaG7KTKKjvVdAA8GcYQZa0A0qEEOuhKZeHd2sHA41a8JpF2IfjD3E+H6QDqBm+Km/WwQmVrY0GR4t0fZ5X8wYKg4wUBBAMt1037aD19w0ncR+DE/3ITrrximvSgAviY0NBmFnLWKCHeqOcBbdNm2mLp3lNTwQOFgf4pi8mUA3SoyRHS7nsg8qYKthwlFxtGjC06PjZ3YR6DT/I3Tjwwzs9wfVxtRdNJDAM/zl6c/G2bmSn9cfUQoMkac9M0C/IyvYcagkbTn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y2rLUds7qmVx6/68CrrY7ku87V5B2kXIlfaqz+P0KVIWQKqNevTDE4CGW3ou52vYOh3fUKsdbRZKXhDVCqsywwNIi8r6R9muC+8Affksy7u5MZtdUiq6Jjpby1kMM3IJaU49qRIQsmPYC7FQ+LBxNcM4V7PAoj9VU06YJLkMnITsYpBOoo/LbJZ0EOliSTiQ7vPMM6AB3BAu6ptVnwO5KI7lrx/jVSQ9qlXboE/IWkPfozU29EaDK31TiCPiddOXj8TOGNk2qrepOe3yjVjqSWQqJq7xaIMir21MZnJIt7zFC4o8g2mCYmT/Vk1Fa3PGEvWnJawgB8SICtbRSVAqwIYhdImyVkl4Qgtfqiew/VXQqkzFRGe//yIxCu3G+BlogCecDsATIZMAE0KliOAoMA0eJcBjMOQDbwNgKyG0T80AQO6HIaGSAee709452mGMnKKkJt8t7oY9ABgEGazBYIl75XTlfedlv/FP09qEYKNL4t0CB3JPnGFw5TyLmLevlZhzmXNQz138BptncEGS3BoEAAAAASUVORK5CYII=";
|
|
2
|
+
export {
|
|
3
|
+
locationIcon as default
|
|
4
|
+
};
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
style: props.style
|
|
39
39
|
});
|
|
40
40
|
props.map.interactionManager.addInteraction("draw", draw);
|
|
41
|
-
draw.on("
|
|
41
|
+
draw.on("drawEnd", (event) => {
|
|
42
42
|
const features = event.feature;
|
|
43
43
|
if (features) {
|
|
44
44
|
features.isSelected = true;
|
|
@@ -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-18eedeea"]]);
|
|
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({ "../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") });
|
|
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"), "../location/Location.vue": () => import("../location/Location.vue.js"), "../location/index.ts": () => import("../location/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"), "../split/Split.vue": () => import("../split/Split.vue.js"), "../split/index.ts": () => import("../split/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({
|
|
@@ -260,15 +260,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
260
260
|
return openBlock(), createBlock(resolveDynamicComponent(component.component), {
|
|
261
261
|
class: "component-position",
|
|
262
262
|
map: props.map,
|
|
263
|
-
data: component.data
|
|
264
|
-
|
|
263
|
+
data: component.data,
|
|
264
|
+
onActiveInteraction: ($event) => handleActiveInteraction($event, component)
|
|
265
|
+
}, null, 40, ["map", "data", "onActiveInteraction"]);
|
|
265
266
|
}), 256)),
|
|
266
267
|
(openBlock(true), createElementBlock(Fragment, null, renderList(reactiveValue.alwaysComponents, (component) => {
|
|
267
268
|
return withDirectives((openBlock(), createBlock(resolveDynamicComponent(component.component), {
|
|
268
269
|
map: props.map,
|
|
269
270
|
data: component.data,
|
|
270
|
-
onLoaded: handleLoaded
|
|
271
|
-
|
|
271
|
+
onLoaded: handleLoaded,
|
|
272
|
+
onActiveInteraction: ($event) => handleActiveInteraction($event, component)
|
|
273
|
+
}, null, 40, ["map", "data", "onActiveInteraction"])), [
|
|
272
274
|
[vShow, reactiveValue.activeIds.indexOf(component.id) > -1]
|
|
273
275
|
]);
|
|
274
276
|
}), 256))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.toolbar-contain[data-v-
|
|
1
|
+
.toolbar-contain[data-v-18eedeea] {
|
|
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-18eedeea] {
|
|
13
13
|
height: 43px;
|
|
14
14
|
line-height: 43px;
|
|
15
15
|
display: flex;
|
|
@@ -18,17 +18,17 @@
|
|
|
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-18eedeea] {
|
|
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-18eedeea] {
|
|
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-18eedeea] {
|
|
32
32
|
position: absolute;
|
|
33
33
|
top: 50px;
|
|
34
34
|
background: var(--system-primary-color);
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
border-radius: 3px;
|
|
37
37
|
margin: 0px -1px;
|
|
38
38
|
}
|
|
39
|
-
.toolbar-contain .active[data-v-
|
|
39
|
+
.toolbar-contain .active[data-v-18eedeea] {
|
|
40
40
|
color: var(--system-primary-text-active-color);
|
|
41
41
|
}
|
|
42
|
-
.toolbar-contain .toolbar-split[data-v-
|
|
42
|
+
.toolbar-contain .toolbar-split[data-v-18eedeea] {
|
|
43
43
|
width: 2px;
|
|
44
44
|
height: 20px;
|
|
45
45
|
background: #7EA08E;
|
|
46
46
|
margin: auto;
|
|
47
47
|
opacity: 0.5;
|
|
48
48
|
}
|
|
49
|
-
.toolbar-contain .toolbar-h-split[data-v-
|
|
49
|
+
.toolbar-contain .toolbar-h-split[data-v-18eedeea] {
|
|
50
50
|
height: 2px;
|
|
51
51
|
background: #7EA08E;
|
|
52
52
|
margin: auto;
|
|
53
53
|
opacity: 0.5;
|
|
54
54
|
margin: 0px 10px;
|
|
55
55
|
}
|
|
56
|
-
.component-position[data-v-
|
|
56
|
+
.component-position[data-v-18eedeea] {
|
|
57
57
|
position: absolute;
|
|
58
58
|
right: 300px;
|
|
59
59
|
}
|
|
@@ -0,0 +1,154 @@
|
|
|
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, {
|
|
6
|
+
activeInteraction: (...args: any[]) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onActiveInteraction?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
|
+
locationRef: ({
|
|
11
|
+
$: import('vue').ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: {
|
|
14
|
+
readonly title?: string | undefined;
|
|
15
|
+
readonly width?: number | undefined;
|
|
16
|
+
readonly height?: number | undefined;
|
|
17
|
+
readonly minWidth?: number | undefined;
|
|
18
|
+
readonly minHeight?: number | undefined;
|
|
19
|
+
readonly resizable?: boolean | undefined;
|
|
20
|
+
readonly showClose?: boolean | undefined;
|
|
21
|
+
readonly showMinimize?: boolean | undefined;
|
|
22
|
+
readonly showMaximize?: boolean | undefined;
|
|
23
|
+
readonly showDock?: boolean | undefined;
|
|
24
|
+
readonly drag?: boolean | undefined;
|
|
25
|
+
readonly showOk?: boolean | undefined;
|
|
26
|
+
readonly showCancel?: boolean | undefined;
|
|
27
|
+
readonly okText?: string | undefined;
|
|
28
|
+
readonly cancelText?: string | undefined;
|
|
29
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
readonly onResize?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
readonly onMove?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
readonly onOk?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
34
|
+
$attrs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$refs: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
} & {
|
|
40
|
+
panelRef: HTMLDivElement;
|
|
41
|
+
};
|
|
42
|
+
$slots: Readonly<{
|
|
43
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
46
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
47
|
+
$host: Element | null;
|
|
48
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "resize", ...args: any[]) => void) & ((event: "move", ...args: any[]) => void) & ((event: "ok", ...args: any[]) => void);
|
|
49
|
+
$el: HTMLDivElement;
|
|
50
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
51
|
+
title?: string;
|
|
52
|
+
width?: number;
|
|
53
|
+
height?: number;
|
|
54
|
+
minWidth?: number;
|
|
55
|
+
minHeight?: number;
|
|
56
|
+
resizable?: boolean;
|
|
57
|
+
showClose?: boolean;
|
|
58
|
+
showMinimize?: boolean;
|
|
59
|
+
showMaximize?: boolean;
|
|
60
|
+
showDock?: boolean;
|
|
61
|
+
drag?: boolean;
|
|
62
|
+
showOk?: boolean;
|
|
63
|
+
showCancel?: boolean;
|
|
64
|
+
okText?: string;
|
|
65
|
+
cancelText?: string;
|
|
66
|
+
}> & Readonly<{
|
|
67
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
close: (...args: any[]) => void;
|
|
73
|
+
resize: (...args: any[]) => void;
|
|
74
|
+
move: (...args: any[]) => void;
|
|
75
|
+
ok: (...args: any[]) => void;
|
|
76
|
+
}, string, {
|
|
77
|
+
title: string;
|
|
78
|
+
showClose: boolean;
|
|
79
|
+
drag: boolean;
|
|
80
|
+
minWidth: number;
|
|
81
|
+
minHeight: number;
|
|
82
|
+
resizable: boolean;
|
|
83
|
+
showMinimize: boolean;
|
|
84
|
+
showMaximize: boolean;
|
|
85
|
+
showDock: boolean;
|
|
86
|
+
showOk: boolean;
|
|
87
|
+
showCancel: boolean;
|
|
88
|
+
okText: string;
|
|
89
|
+
cancelText: string;
|
|
90
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
91
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
92
|
+
created?: (() => void) | (() => void)[];
|
|
93
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
94
|
+
mounted?: (() => void) | (() => void)[];
|
|
95
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
96
|
+
updated?: (() => void) | (() => void)[];
|
|
97
|
+
activated?: (() => void) | (() => void)[];
|
|
98
|
+
deactivated?: (() => void) | (() => void)[];
|
|
99
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
100
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
101
|
+
destroyed?: (() => void) | (() => void)[];
|
|
102
|
+
unmounted?: (() => void) | (() => void)[];
|
|
103
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
104
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
105
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
106
|
+
};
|
|
107
|
+
$forceUpdate: () => void;
|
|
108
|
+
$nextTick: typeof import('vue').nextTick;
|
|
109
|
+
$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;
|
|
110
|
+
} & Readonly<{
|
|
111
|
+
title: string;
|
|
112
|
+
showClose: boolean;
|
|
113
|
+
drag: boolean;
|
|
114
|
+
minWidth: number;
|
|
115
|
+
minHeight: number;
|
|
116
|
+
resizable: boolean;
|
|
117
|
+
showMinimize: boolean;
|
|
118
|
+
showMaximize: boolean;
|
|
119
|
+
showDock: boolean;
|
|
120
|
+
showOk: boolean;
|
|
121
|
+
showCancel: boolean;
|
|
122
|
+
okText: string;
|
|
123
|
+
cancelText: string;
|
|
124
|
+
}> & Omit<Readonly<{
|
|
125
|
+
title?: string;
|
|
126
|
+
width?: number;
|
|
127
|
+
height?: number;
|
|
128
|
+
minWidth?: number;
|
|
129
|
+
minHeight?: number;
|
|
130
|
+
resizable?: boolean;
|
|
131
|
+
showClose?: boolean;
|
|
132
|
+
showMinimize?: boolean;
|
|
133
|
+
showMaximize?: boolean;
|
|
134
|
+
showDock?: boolean;
|
|
135
|
+
drag?: boolean;
|
|
136
|
+
showOk?: boolean;
|
|
137
|
+
showCancel?: boolean;
|
|
138
|
+
okText?: string;
|
|
139
|
+
cancelText?: string;
|
|
140
|
+
}> & Readonly<{
|
|
141
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
}>, "title" | "showClose" | "drag" | "minWidth" | "minHeight" | "resizable" | "showMinimize" | "showMaximize" | "showDock" | "showOk" | "showCancel" | "okText" | "cancelText"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
146
|
+
$slots: {
|
|
147
|
+
header?(_: {}): any;
|
|
148
|
+
default?(_: {}): any;
|
|
149
|
+
footer?(_: {}): any;
|
|
150
|
+
};
|
|
151
|
+
}) | null;
|
|
152
|
+
formRef: unknown;
|
|
153
|
+
}, HTMLDivElement>;
|
|
154
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./Location.vue2.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const _Location = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc1c2409"]]);
|
|
5
|
+
export {
|
|
6
|
+
_Location as default
|
|
7
|
+
};
|