ym-giswidget-2d 1.0.16 → 1.0.18
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/clear/Clear.vue.js +3 -1
- package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +1 -1
- package/components/map-view/MapView.vue.d.ts +444 -0
- package/components/map-view/MapView.vue.js +52 -0
- package/components/map-view/MapView.vue2.js +4 -0
- package/components/map-view/index.d.ts +453 -0
- package/components/map-view/index.js +7 -0
- package/components/multi-screen/MultiScreen.vue.d.ts +17 -4
- package/components/multi-screen/MultiScreen.vue.js +1 -1
- package/components/multi-screen/MultiScreen.vue2.js +38 -9
- package/components/multi-screen/index.css +3 -3
- package/components/multi-screen/index.d.ts +26 -5
- package/components/multi-screen-panel/PanelMultiScreen.vue.js +1 -1
- package/components/multi-screen-panel/PanelMultiScreen.vue2.js +5 -3
- package/components/multi-screen-panel/index.css +1 -1
- package/css/index.css +14 -2
- package/index.d.ts +1 -0
- package/index.js +2 -0
- package/package.json +5 -3
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
export declare const MultiScreen: import('../../utils').WithInstall<import('vue').DefineComponent<{
|
|
2
2
|
layers: import('ym-gis-2d/entity').IMapService[];
|
|
3
3
|
screenNum: number;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
map?: import('ym-gis-2d/mapView/Map').default;
|
|
5
|
+
projection?: number;
|
|
6
|
+
center?: number[];
|
|
7
|
+
extent?: number[];
|
|
8
|
+
zoom?: number;
|
|
9
|
+
minZoom?: number;
|
|
10
|
+
maxZoom?: number;
|
|
11
|
+
minResolution?: number;
|
|
12
|
+
maxResolution?: number;
|
|
13
|
+
constrainResolution?: boolean;
|
|
6
14
|
}, {
|
|
7
15
|
screenMaps: {
|
|
8
16
|
currentEditLayer?: {
|
|
@@ -313,6 +321,7 @@ export declare const MultiScreen: import('../../utils').WithInstall<import('vue'
|
|
|
313
321
|
_options: {
|
|
314
322
|
projection: number | undefined;
|
|
315
323
|
center: number[] | undefined;
|
|
324
|
+
extent: number[] | undefined;
|
|
316
325
|
zoom: number | undefined;
|
|
317
326
|
minZoom: number | undefined;
|
|
318
327
|
maxZoom: number | undefined;
|
|
@@ -338,7 +347,6 @@ export declare const MultiScreen: import('../../utils').WithInstall<import('vue'
|
|
|
338
347
|
getExtent: () => import('ol/extent').Extent;
|
|
339
348
|
addWKT: (wkt: string, wkid: number, tag?: string, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
|
|
340
349
|
addWKTs: (wkts: string[], wkid: number, tag?: string, location?: boolean, fillColor?: string, strokeColor?: string, strokeWidth?: number) => void;
|
|
341
|
-
clearTempFeatures: (tag?: string) => void;
|
|
342
350
|
on: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
343
351
|
once: import('ol/Map').MapEventHandler<import('ol/events').EventsKey>;
|
|
344
352
|
un: import('ol/Map').MapEventHandler<void>;
|
|
@@ -427,11 +435,24 @@ export declare const MultiScreen: import('../../utils').WithInstall<import('vue'
|
|
|
427
435
|
}, string, import('vue').PublicProps, Readonly<{
|
|
428
436
|
layers: import('ym-gis-2d/entity').IMapService[];
|
|
429
437
|
screenNum: number;
|
|
430
|
-
|
|
431
|
-
|
|
438
|
+
map?: import('ym-gis-2d/mapView/Map').default;
|
|
439
|
+
projection?: number;
|
|
440
|
+
center?: number[];
|
|
441
|
+
extent?: number[];
|
|
442
|
+
zoom?: number;
|
|
443
|
+
minZoom?: number;
|
|
444
|
+
maxZoom?: number;
|
|
445
|
+
minResolution?: number;
|
|
446
|
+
maxResolution?: number;
|
|
447
|
+
constrainResolution?: boolean;
|
|
432
448
|
}> & Readonly<{
|
|
433
449
|
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
434
450
|
}>, {
|
|
451
|
+
projection: number;
|
|
452
|
+
zoom: number;
|
|
453
|
+
minZoom: number;
|
|
454
|
+
maxZoom: number;
|
|
455
|
+
constrainResolution: boolean;
|
|
435
456
|
screenNum: number;
|
|
436
457
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>>;
|
|
437
458
|
export default MultiScreen;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./PanelMultiScreen.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const _PanelMultiScreen = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _PanelMultiScreen = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2c378f72"]]);
|
|
5
5
|
export {
|
|
6
6
|
_PanelMultiScreen as default
|
|
7
7
|
};
|
|
@@ -5,9 +5,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5
5
|
__name: "PanelMultiScreen",
|
|
6
6
|
props: {
|
|
7
7
|
data: {},
|
|
8
|
-
|
|
8
|
+
map: {}
|
|
9
9
|
},
|
|
10
10
|
setup(__props) {
|
|
11
|
+
const props = __props;
|
|
11
12
|
return (_ctx, _cache) => {
|
|
12
13
|
return openBlock(), createBlock(DraggablePanel, {
|
|
13
14
|
class: "multi-screen-panel",
|
|
@@ -17,8 +18,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
18
|
default: withCtx(() => [
|
|
18
19
|
createVNode(unref(MultiScreen), {
|
|
19
20
|
layers: _ctx.data,
|
|
20
|
-
screenNum: 2
|
|
21
|
-
|
|
21
|
+
screenNum: 2,
|
|
22
|
+
map: props.map
|
|
23
|
+
}, null, 8, ["layers", "map"])
|
|
22
24
|
]),
|
|
23
25
|
_: 1
|
|
24
26
|
});
|
package/css/index.css
CHANGED
|
@@ -2057,6 +2057,10 @@
|
|
|
2057
2057
|
margin-left: 0;
|
|
2058
2058
|
}
|
|
2059
2059
|
|
|
2060
|
+
.el-cascader__collapse-tags .el-tag {
|
|
2061
|
+
margin: 2px 0;
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2060
2064
|
.el-cascader__suggestion-panel {
|
|
2061
2065
|
border-radius: var(--el-cascader-menu-radius);
|
|
2062
2066
|
}
|
|
@@ -6608,7 +6612,7 @@
|
|
|
6608
6612
|
}
|
|
6609
6613
|
|
|
6610
6614
|
.el-date-editor .clear-icon:hover {
|
|
6611
|
-
color: var(--el-
|
|
6615
|
+
color: var(--el-input-clear-hover-color);
|
|
6612
6616
|
}
|
|
6613
6617
|
|
|
6614
6618
|
.el-date-editor .el-range__icon {
|
|
@@ -6670,7 +6674,7 @@
|
|
|
6670
6674
|
}
|
|
6671
6675
|
|
|
6672
6676
|
.el-date-editor .el-range__close-icon:hover {
|
|
6673
|
-
color: var(--el-
|
|
6677
|
+
color: var(--el-input-clear-hover-color);
|
|
6674
6678
|
}
|
|
6675
6679
|
|
|
6676
6680
|
.el-date-editor .el-range__close-icon svg {
|
|
@@ -11596,6 +11600,14 @@
|
|
|
11596
11600
|
transform: rotate(180deg);
|
|
11597
11601
|
}
|
|
11598
11602
|
|
|
11603
|
+
.el-select__clear {
|
|
11604
|
+
cursor: pointer;
|
|
11605
|
+
}
|
|
11606
|
+
|
|
11607
|
+
.el-select__clear:hover {
|
|
11608
|
+
color: var(--el-select-close-hover-color);
|
|
11609
|
+
}
|
|
11610
|
+
|
|
11599
11611
|
.el-select__selection {
|
|
11600
11612
|
align-items: center;
|
|
11601
11613
|
display: flex;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import { Import } from "./components/import/index.js";
|
|
|
11
11
|
import { Identify } from "./components/identify/index.js";
|
|
12
12
|
import { MousePositon } from "./components/mouse-position/index.js";
|
|
13
13
|
import { ScaleLine } from "./components/scale-line/index.js";
|
|
14
|
+
import { MapView } from "./components/map-view/index.js";
|
|
14
15
|
export {
|
|
15
16
|
Clear,
|
|
16
17
|
Draw,
|
|
@@ -18,6 +19,7 @@ export {
|
|
|
18
19
|
HorizontallyTopToolbar,
|
|
19
20
|
Identify,
|
|
20
21
|
Import,
|
|
22
|
+
MapView,
|
|
21
23
|
MousePositon,
|
|
22
24
|
MultiScreen,
|
|
23
25
|
ScaleLine,
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ym-giswidget-2d",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"module": "index.
|
|
6
|
+
"module": "index.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@element-plus/icons-vue": "^2.3.1",
|
|
9
9
|
"axios": "^1.7.2",
|
|
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.1",
|
|
14
|
+
"main": "index.js",
|
|
15
|
+
"module": "index.js"
|
|
14
16
|
}
|
|
15
17
|
}
|