ym-giswidget-2d 1.0.61 → 1.0.63
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.
|
@@ -7,7 +7,16 @@ type __VLS_Props = {
|
|
|
7
7
|
showOpacity?: boolean;
|
|
8
8
|
showFilter?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
title?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
20
|
loaded: (...args: any[]) => void;
|
|
12
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
22
|
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
@@ -15,4 +24,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
15
24
|
showOpacity: boolean;
|
|
16
25
|
showFilter: boolean;
|
|
17
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
28
|
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./TocCard.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const _TocCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _TocCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8416d467"]]);
|
|
5
5
|
export {
|
|
6
6
|
_TocCard as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElCard } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/card/style/css";
|
|
4
|
-
import { defineComponent, createBlock, openBlock, withCtx, createVNode, unref } from "vue";
|
|
4
|
+
import { defineComponent, createBlock, openBlock, withCtx, renderSlot, createVNode, unref } from "vue";
|
|
5
5
|
import { LayerTree } from "../layer-tree/index.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "TocCard",
|
|
@@ -23,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
const _component_el_card = ElCard;
|
|
24
24
|
return openBlock(), createBlock(_component_el_card, { class: "toc-card" }, {
|
|
25
25
|
default: withCtx(() => [
|
|
26
|
+
renderSlot(_ctx.$slots, "title", {}, void 0, true),
|
|
26
27
|
createVNode(unref(LayerTree), {
|
|
27
28
|
data: props.data,
|
|
28
29
|
map: props.map,
|
|
@@ -32,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
33
|
onLoaded: loadedLayer
|
|
33
34
|
}, null, 8, ["data", "map", "editLayerTag", "showOpacity", "showFilter"])
|
|
34
35
|
]),
|
|
35
|
-
_:
|
|
36
|
+
_: 3
|
|
36
37
|
});
|
|
37
38
|
};
|
|
38
39
|
}
|
|
@@ -1,12 +1,40 @@
|
|
|
1
|
-
export declare const TocCard: import('../../utils').WithInstall<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
export declare const TocCard: import('../../utils').WithInstall<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
data: import('ym-gis-2d/entity').IMapService[];
|
|
4
|
+
map: import('ym-gis-2d/mapView/Map').default;
|
|
5
|
+
editLayerTag?: string;
|
|
6
|
+
showOpacity?: boolean;
|
|
7
|
+
showFilter?: boolean;
|
|
8
|
+
}> & Readonly<{
|
|
9
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
loaded: (...args: any[]) => void;
|
|
12
|
+
}, import('vue').PublicProps, {
|
|
13
|
+
showOpacity: boolean;
|
|
14
|
+
showFilter: boolean;
|
|
15
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<{
|
|
23
|
+
data: import('ym-gis-2d/entity').IMapService[];
|
|
24
|
+
map: import('ym-gis-2d/mapView/Map').default;
|
|
25
|
+
editLayerTag?: string;
|
|
26
|
+
showOpacity?: boolean;
|
|
27
|
+
showFilter?: boolean;
|
|
28
|
+
}> & Readonly<{
|
|
29
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, {
|
|
31
|
+
showOpacity: boolean;
|
|
32
|
+
showFilter: boolean;
|
|
33
|
+
}>;
|
|
34
|
+
__isFragment?: never;
|
|
35
|
+
__isTeleport?: never;
|
|
36
|
+
__isSuspense?: never;
|
|
37
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
10
38
|
data: import('ym-gis-2d/entity').IMapService[];
|
|
11
39
|
map: import('ym-gis-2d/mapView/Map').default;
|
|
12
40
|
editLayerTag?: string;
|
|
@@ -14,8 +42,14 @@ export declare const TocCard: import('../../utils').WithInstall<import('vue').De
|
|
|
14
42
|
showFilter?: boolean;
|
|
15
43
|
}> & Readonly<{
|
|
16
44
|
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {
|
|
45
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
+
loaded: (...args: any[]) => void;
|
|
47
|
+
}, string, {
|
|
18
48
|
showOpacity: boolean;
|
|
19
49
|
showFilter: boolean;
|
|
20
|
-
}, {},
|
|
50
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
51
|
+
$slots: {
|
|
52
|
+
title?(_: {}): any;
|
|
53
|
+
};
|
|
54
|
+
})>;
|
|
21
55
|
export default TocCard;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ym-giswidget-2d",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.63",
|
|
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.41"
|
|
14
14
|
}
|
|
15
15
|
}
|