@summeruse/ol 0.0.1-beta.4 → 0.1.0
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/CHANGELOG.md +38 -0
- package/README.md +19 -0
- package/dist/index.js +600 -412
- package/es/components/index.d.ts +1 -1
- package/es/components/n-ol-contextmenu/index.vue.mjs +14 -12
- package/es/components/n-ol-contextmenu/props.d.ts +2 -2
- package/es/components/n-ol-pointermove/index.vue.mjs +18 -15
- package/es/components/n-ol-pointermove/index.vue2.mjs +4 -0
- package/es/components/ol-map/index.vue.d.ts +1 -1
- package/es/components/ol-map/index.vue.mjs +1 -1
- package/es/components/ol-map/props.d.ts +4 -3
- package/es/components/ol-map/props.mjs +1 -1
- package/es/composables/common/index.d.ts +1 -1
- package/es/composables/common/index.mjs +2 -2
- package/es/composables/index.d.ts +2 -2
- package/es/composables/useDrawLineString/index.d.ts +10 -6
- package/es/composables/useDrawLineString/index.mjs +73 -69
- package/es/composables/useDrawPolygon/index.d.ts +10 -6
- package/es/composables/useDrawPolygon/index.mjs +65 -61
- package/es/composables/useGraticule/index.d.ts +5 -5
- package/es/composables/useGraticule/index.mjs +2 -2
- package/es/composables/useSwitchBaseLayer/index.d.ts +2 -2
- package/es/composables/useSwitchBaseLayer/index.mjs +12 -12
- package/es/constants/projection.d.ts +5 -0
- package/es/index.mjs +71 -47
- package/es/utils/calculate/index.d.ts +10 -8
- package/es/utils/calculate/index.mjs +23 -8
- package/es/utils/distance/index.d.ts +2 -2
- package/es/utils/distance/index.mjs +8 -3
- package/es/utils/feature/index.d.ts +26 -0
- package/es/utils/feature/index.mjs +97 -0
- package/es/utils/format/index.d.ts +2 -2
- package/es/utils/format/index.mjs +6 -1
- package/es/utils/index.d.ts +3 -1
- package/es/utils/layer/index.d.ts +33 -10
- package/es/utils/layer/index.mjs +55 -34
- package/es/utils/projection/index.d.ts +12 -4
- package/es/utils/projection/index.mjs +26 -7
- package/es/utils/realCircle/index.d.ts +2 -2
- package/es/utils/realCircle/index.mjs +2 -2
- package/es/utils/style/index.d.ts +27 -0
- package/es/utils/style/index.mjs +34 -0
- package/lib/components/index.d.ts +1 -1
- package/lib/components/n-ol-contextmenu/index.vue.js +1 -1
- package/lib/components/n-ol-contextmenu/props.d.ts +2 -2
- package/lib/components/n-ol-pointermove/index.vue.js +1 -1
- package/lib/components/n-ol-pointermove/{index.vue3.js → index.vue2.js} +1 -1
- package/lib/components/ol-map/index.vue.d.ts +1 -1
- package/lib/components/ol-map/index.vue.js +1 -1
- package/lib/components/ol-map/props.d.ts +4 -3
- package/lib/components/ol-map/props.js +1 -1
- package/lib/composables/common/index.d.ts +1 -1
- package/lib/composables/common/index.js +1 -1
- package/lib/composables/index.d.ts +2 -2
- package/lib/composables/useDrawLineString/index.d.ts +10 -6
- package/lib/composables/useDrawLineString/index.js +1 -1
- package/lib/composables/useDrawPolygon/index.d.ts +10 -6
- package/lib/composables/useDrawPolygon/index.js +1 -1
- package/lib/composables/useGraticule/index.d.ts +5 -5
- package/lib/composables/useGraticule/index.js +1 -1
- package/lib/composables/useSwitchBaseLayer/index.d.ts +2 -2
- package/lib/composables/useSwitchBaseLayer/index.js +1 -1
- package/lib/constants/projection.d.ts +5 -0
- package/lib/index.js +1 -1
- package/lib/utils/calculate/index.d.ts +10 -8
- package/lib/utils/calculate/index.js +1 -1
- package/lib/utils/distance/index.d.ts +2 -2
- package/lib/utils/distance/index.js +1 -1
- package/lib/utils/feature/index.d.ts +26 -0
- package/lib/utils/feature/index.js +1 -0
- package/lib/utils/format/index.d.ts +2 -2
- package/lib/utils/format/index.js +1 -1
- package/lib/utils/index.d.ts +3 -1
- package/lib/utils/layer/index.d.ts +33 -10
- package/lib/utils/layer/index.js +1 -1
- package/lib/utils/projection/index.d.ts +12 -4
- package/lib/utils/projection/index.js +1 -1
- package/lib/utils/realCircle/index.d.ts +2 -2
- package/lib/utils/realCircle/index.js +1 -1
- package/lib/utils/style/index.d.ts +27 -0
- package/lib/utils/style/index.js +1 -0
- package/package.json +24 -21
- package/dist/ol.css +0 -1
- package/es/components/common/render-v-node.vue.d.ts +0 -17
- package/es/components/common/render-v-node.vue.mjs +0 -22
- package/es/components/common/render-v-node.vue2.mjs +0 -4
- package/es/components/n-ol-pointermove/index.vue3.mjs +0 -5
- package/es/ol.css +0 -1
- package/lib/components/common/render-v-node.vue.d.ts +0 -17
- package/lib/components/common/render-v-node.vue.js +0 -1
- package/lib/components/common/render-v-node.vue2.js +0 -1
- package/lib/ol.css +0 -1
|
@@ -1,28 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Feature } from 'ol';
|
|
2
|
+
import { Geometry } from 'ol/geom';
|
|
2
3
|
import { ProjectionLike } from 'ol/proj';
|
|
4
|
+
import { StyleOptions } from '../style';
|
|
5
|
+
import { Tile as TileLayer } from 'ol/layer';
|
|
6
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
3
7
|
import { BingMaps, OSM, XYZ } from 'ol/source';
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
import { default as VectorSource } from 'ol/source/Vector';
|
|
9
|
+
/**
|
|
10
|
+
* 天地图类型
|
|
11
|
+
* vec: 矢量底图
|
|
12
|
+
* cva: 矢量注记
|
|
13
|
+
* img: 影像底图
|
|
14
|
+
* cia: 影像注记
|
|
15
|
+
* ter: 地形晕渲
|
|
16
|
+
* cta: 地形注记
|
|
17
|
+
* ibo: 全球境界
|
|
18
|
+
*/
|
|
19
|
+
export type T_MAP_TYPE = 'vec' | 'cva' | 'img' | 'cia' | 'ter' | 'cta' | 'ibo';
|
|
20
|
+
export declare function getTianDiTuUrl(data: {
|
|
6
21
|
url?: string;
|
|
7
22
|
type: T_MAP_TYPE;
|
|
8
23
|
projection: ProjectionLike;
|
|
9
24
|
key: string;
|
|
10
|
-
})
|
|
11
|
-
export declare
|
|
25
|
+
}): string;
|
|
26
|
+
export declare function getTianDiTuLayer(data: {
|
|
12
27
|
url?: string;
|
|
13
28
|
projection: ProjectionLike;
|
|
14
29
|
zIndex?: number;
|
|
15
30
|
key: string;
|
|
16
31
|
type: T_MAP_TYPE;
|
|
17
32
|
className?: string;
|
|
18
|
-
})
|
|
19
|
-
export declare
|
|
33
|
+
}): TileLayer<XYZ>;
|
|
34
|
+
export declare function getBingLayer({ name, zIndex, key, className, }: {
|
|
20
35
|
name: string;
|
|
21
36
|
zIndex?: number;
|
|
22
37
|
key: string;
|
|
23
38
|
className?: string;
|
|
24
|
-
})
|
|
25
|
-
export declare
|
|
39
|
+
}): TileLayer<BingMaps>;
|
|
40
|
+
export declare function getOSMLayer(data?: {
|
|
26
41
|
zIndex?: number;
|
|
27
42
|
className?: string;
|
|
28
|
-
})
|
|
43
|
+
}): TileLayer<OSM>;
|
|
44
|
+
export type _VectorLayerOptions = ConstructorParameters<typeof VectorLayer>[0];
|
|
45
|
+
export type VectorLayerOptions = _VectorLayerOptions & {
|
|
46
|
+
styleOptions?: StyleOptions;
|
|
47
|
+
};
|
|
48
|
+
export declare function createVectorLayer<T extends Geometry = Geometry>(options?: VectorLayerOptions): {
|
|
49
|
+
source: VectorSource<Feature<T>>;
|
|
50
|
+
layer: VectorLayer<VectorSource<import('ol/Feature').FeatureLike>, import('ol/Feature').FeatureLike>;
|
|
51
|
+
};
|
package/lib/utils/layer/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("ol/layer"),T=require("ol/layer/Vector"),u=require("ol/source"),g=require("ol/source/Vector"),i=require("../../constants/projection.js"),a=require("../style/index.js");function l(e){const{type:r="img",projection:n=i.WebMercatorProjection,key:t}=e,o=e.url||"https://t{0-4}.tianditu.gov.cn",c=`&tk=${t}&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}`,y=n===i.WGS84Projection?"c":n===i.WebMercatorProjection?"w":"c";return`${o}/${r}_${y}/wmts?LAYER=${r}${c}`}function L(e){const{zIndex:r,projection:n,className:t}=e;return new s.Tile({className:t,source:new u.XYZ({url:l(e),projection:n,crossOrigin:"Anonymous"}),zIndex:r})}function S({name:e,zIndex:r,key:n,className:t}){return new s.Tile({className:t,source:new u.BingMaps({key:n,imagerySet:e,placeholderTiles:!1}),zIndex:r})}function p(e){return new s.Tile({className:e==null?void 0:e.className,source:new u.OSM({crossOrigin:"Anonymous"}),zIndex:e==null?void 0:e.zIndex})}function E(e){const{styleOptions:r,...n}=e||{},t=r?a.createStyle(r):void 0,o=new g,c=new T({source:o,...n,style:t||n.style});return{source:o,layer:c}}exports.createVectorLayer=E;exports.getBingLayer=S;exports.getOSMLayer=p;exports.getTianDiTuLayer=L;exports.getTianDiTuUrl=l;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { Coordinate } from 'ol/coordinate';
|
|
2
2
|
import { Extent } from 'ol/extent';
|
|
3
3
|
/** WGS84坐标转墨卡托 */
|
|
4
|
-
export declare
|
|
4
|
+
export declare function wgs84ToMercator(coordinate: Coordinate): Coordinate;
|
|
5
|
+
/** WGS84坐标转墨卡托 */
|
|
6
|
+
export declare const EPSG_4326ToEPSG_3857: typeof wgs84ToMercator;
|
|
7
|
+
/** 墨卡托坐标转WGS84 */
|
|
8
|
+
export declare function mercatorToWgs84(coordinate: Coordinate): Coordinate;
|
|
5
9
|
/** 墨卡托坐标转WGS84 */
|
|
6
|
-
export declare const
|
|
10
|
+
export declare const EPSG_3857ToEPSG_4326: typeof mercatorToWgs84;
|
|
7
11
|
/** WGS84范围转墨卡托 */
|
|
8
|
-
export declare
|
|
12
|
+
export declare function wgs84ExtentToMercator(extent: Extent): Extent;
|
|
13
|
+
/** WGS84范围转墨卡托 */
|
|
14
|
+
export declare const EPSG_4326ExtentToEPSG_3857: typeof wgs84ExtentToMercator;
|
|
15
|
+
/** 墨卡托范围转WGS84 */
|
|
16
|
+
export declare function mercatorExtentToWgs84(extent: Extent): Extent;
|
|
9
17
|
/** 墨卡托范围转WGS84 */
|
|
10
|
-
export declare const
|
|
18
|
+
export declare const EPSG_3857ExtentToEPSG_4326: typeof mercatorExtentToWgs84;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("ol/proj"),t=require("../../constants/projection.js");function n(o){return r.transform(o,t.EPSG_4326,t.EPSG_3857)}const P=n;function e(o){return r.transform(o,t.EPSG_3857,t.EPSG_4326)}const G=e;function E(o){return r.transformExtent(o,t.EPSG_4326,t.EPSG_3857)}const _=E;function S(o){return r.transformExtent(o,t.EPSG_3857,t.EPSG_4326)}const c=S;exports.EPSG_3857ExtentToEPSG_4326=c;exports.EPSG_3857ToEPSG_4326=G;exports.EPSG_4326ExtentToEPSG_3857=_;exports.EPSG_4326ToEPSG_3857=P;exports.mercatorExtentToWgs84=S;exports.mercatorToWgs84=e;exports.wgs84ExtentToMercator=E;exports.wgs84ToMercator=n;
|
|
@@ -3,7 +3,7 @@ import { Coordinate } from 'ol/coordinate';
|
|
|
3
3
|
* 获取一个地理圆形的坐标点
|
|
4
4
|
* @param coordinate 中心坐标 EPSG:4326 WGS84
|
|
5
5
|
* @param radius 单位:米
|
|
6
|
-
* @param [sides
|
|
6
|
+
* @param [sides] 边数
|
|
7
7
|
* @returns 伪圆形坐标 EPSG:4326 WGS84
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
9
|
+
export declare function getRealCircleCoordinates(coordinate: Coordinate, radius: number, sides?: number): Coordinate[][];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../calculate/index.js")
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../calculate/index.js");function c(o,i,n=60){const t=[],r=360/n;for(let e=-180;e<180;e=e+r)t.push(s.getDestinationPoint(o,i,e));return[t]}exports.getRealCircleCoordinates=c;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Circle, Fill, Icon, Stroke, Style, Text } from 'ol/style';
|
|
2
|
+
export type FillOptions = ConstructorParameters<typeof Fill>[0];
|
|
3
|
+
export type StrokeOptions = ConstructorParameters<typeof Stroke>[0];
|
|
4
|
+
export type IconOptions = ConstructorParameters<typeof Icon>[0];
|
|
5
|
+
export type _StyleOptions = ConstructorParameters<typeof Style>[0];
|
|
6
|
+
export type _CircleOptions = ConstructorParameters<typeof Circle>[0];
|
|
7
|
+
export type _TextOptions = ConstructorParameters<typeof Text>[0];
|
|
8
|
+
export type CircleOptions = _CircleOptions & {
|
|
9
|
+
fillOptions?: FillOptions;
|
|
10
|
+
strokeOptions?: StrokeOptions;
|
|
11
|
+
};
|
|
12
|
+
export type TextOptions = _TextOptions & {
|
|
13
|
+
fillOptions?: FillOptions;
|
|
14
|
+
strokeOptions?: StrokeOptions;
|
|
15
|
+
backgroundFillOptions?: FillOptions;
|
|
16
|
+
backgroundStrokeOptions?: StrokeOptions;
|
|
17
|
+
};
|
|
18
|
+
export type StyleOptions = _StyleOptions & {
|
|
19
|
+
fillOptions?: FillOptions;
|
|
20
|
+
strokeOptions?: StrokeOptions;
|
|
21
|
+
iconOptions?: IconOptions;
|
|
22
|
+
circleOptions?: CircleOptions;
|
|
23
|
+
textOptions?: TextOptions;
|
|
24
|
+
};
|
|
25
|
+
export declare function createCircleStyle(options: CircleOptions): Circle;
|
|
26
|
+
export declare function createTextStyle(options: TextOptions): Text;
|
|
27
|
+
export declare function createStyle(options: StyleOptions): Style;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("ol/style");function c(i){const{fillOptions:t,strokeOptions:o,...n}=i;return new e.Circle({...n,fill:t?new e.Fill(t):void 0,stroke:o?new e.Stroke(o):void 0})}function s(i){const{fillOptions:t,strokeOptions:o,backgroundFillOptions:n,backgroundStrokeOptions:r,...l}=i;return new e.Text({...l,fill:t?new e.Fill(t):void 0,stroke:o?new e.Stroke(o):void 0,backgroundFill:n?new e.Fill(n):void 0,backgroundStroke:r?new e.Stroke(r):void 0})}function v(i){const{fillOptions:t,strokeOptions:o,iconOptions:n,circleOptions:r,textOptions:l,...d}=i,k=t?new e.Fill(t):void 0,S=o?new e.Stroke(o):void 0,u=n?new e.Icon(n):void 0,a=r?c(r):void 0,p=l?s(l):void 0;return new e.Style({...d,fill:k,stroke:S,image:u||a,text:p})}exports.createCircleStyle=c;exports.createStyle=v;exports.createTextStyle=s;
|
package/package.json
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@summeruse/ol",
|
|
3
|
-
"version": "0.0.1-beta.4",
|
|
4
|
-
"description": "",
|
|
5
3
|
"type": "module",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "",
|
|
6
|
+
"author": "finalsummer",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"homepage": "https://642661520.github.io/SummerUse/",
|
|
9
|
+
"repository": "https://github.com/642661520/SummerUse",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"vue",
|
|
12
|
+
"ol",
|
|
13
|
+
"naive-ui",
|
|
14
|
+
"openlayers",
|
|
15
|
+
"vue3"
|
|
16
|
+
],
|
|
6
17
|
"main": "lib/index.js",
|
|
7
18
|
"module": "es/index.mjs",
|
|
8
19
|
"unpkg": "dist/index.js",
|
|
@@ -15,36 +26,28 @@
|
|
|
15
26
|
"es",
|
|
16
27
|
"lib"
|
|
17
28
|
],
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"naive-ui",
|
|
24
|
-
"openlayers",
|
|
25
|
-
"vue3"
|
|
26
|
-
],
|
|
27
|
-
"author": "finalsummer",
|
|
28
|
-
"license": "ISC",
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@turf/turf": "7.2.0",
|
|
31
|
+
"naive-ui": "^2.41.0",
|
|
32
|
+
"ol": "10.5.0"
|
|
33
|
+
},
|
|
29
34
|
"dependencies": {
|
|
30
|
-
"vue": "^3.5.13"
|
|
35
|
+
"vue": "^3.5.13",
|
|
36
|
+
"@summeruse/common": "0.0.0"
|
|
31
37
|
},
|
|
32
38
|
"devDependencies": {
|
|
39
|
+
"@turf/turf": "7.2.0",
|
|
33
40
|
"@types/node": "^22.13.14",
|
|
34
41
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
35
42
|
"@vue/tsconfig": "^0.7.0",
|
|
36
43
|
"naive-ui": "^2.41.0",
|
|
37
44
|
"ol": "10.5.0",
|
|
45
|
+
"sass-embedded": "^1.86.3",
|
|
38
46
|
"typescript": "~5.7.2",
|
|
39
47
|
"vite": "^6.2.0",
|
|
48
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
40
49
|
"vite-plugin-dts": "^4.5.3",
|
|
41
|
-
"vue-tsc": "^2.2.4"
|
|
42
|
-
"sass-embedded": "^1.86.3",
|
|
43
|
-
"@turf/turf": "7.2.0"
|
|
44
|
-
},
|
|
45
|
-
"peerDependencies": {
|
|
46
|
-
"naive-ui": "^2.41.0",
|
|
47
|
-
"ol": "10.5.0"
|
|
50
|
+
"vue-tsc": "^2.2.4"
|
|
48
51
|
},
|
|
49
52
|
"publishConfig": {
|
|
50
53
|
"access": "public"
|
package/dist/ol.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.n-ol-pointermove.n-popover{box-shadow:none!important}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
dynamicVNode: {
|
|
4
|
-
type: PropType<(() => VNodeChild) | VNodeChild | string>;
|
|
5
|
-
default: undefined;
|
|
6
|
-
};
|
|
7
|
-
}>, () => string | number | boolean | void | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}> | import('vue').VNodeArrayChildren | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
-
dynamicVNode: {
|
|
11
|
-
type: PropType<(() => VNodeChild) | VNodeChild | string>;
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{}>, {
|
|
15
|
-
dynamicVNode: VNodeChild | (() => VNodeChild);
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, h as t, isVNode as d } from "vue";
|
|
2
|
-
const c = i({
|
|
3
|
-
props: {
|
|
4
|
-
dynamicVNode: {
|
|
5
|
-
type: [Function, String, Object],
|
|
6
|
-
default: void 0
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
setup(e) {
|
|
10
|
-
return () => {
|
|
11
|
-
if (!e.dynamicVNode) return t("span");
|
|
12
|
-
if (typeof e.dynamicVNode == "string" || d(e.dynamicVNode)) return e.dynamicVNode;
|
|
13
|
-
if (typeof e.dynamicVNode == "function") {
|
|
14
|
-
const n = e.dynamicVNode();
|
|
15
|
-
return d(n), n;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
export {
|
|
21
|
-
c as default
|
|
22
|
-
};
|
package/es/ol.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.n-ol-pointermove.n-popover{box-shadow:none!important}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
dynamicVNode: {
|
|
4
|
-
type: PropType<(() => VNodeChild) | VNodeChild | string>;
|
|
5
|
-
default: undefined;
|
|
6
|
-
};
|
|
7
|
-
}>, () => string | number | boolean | void | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}> | import('vue').VNodeArrayChildren | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
-
dynamicVNode: {
|
|
11
|
-
type: PropType<(() => VNodeChild) | VNodeChild | string>;
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{}>, {
|
|
15
|
-
dynamicVNode: VNodeChild | (() => VNodeChild);
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),i=n.defineComponent({props:{dynamicVNode:{type:[Function,String,Object],default:void 0}},setup(e){return()=>{if(!e.dynamicVNode)return n.h("span");if(typeof e.dynamicVNode=="string"||n.isVNode(e.dynamicVNode))return e.dynamicVNode;if(typeof e.dynamicVNode=="function"){const t=e.dynamicVNode();return n.isVNode(t),t}}}});exports.default=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./render-v-node.vue.js");exports.default=e.default;
|
package/lib/ol.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.n-ol-pointermove.n-popover{box-shadow:none!important}
|