diff --git a/types/index.d.ts b/types/index.d.ts index 8f56e05b..c906931a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3,6 +3,8 @@ import VControlFullscreen from './controls/VControlFullscreen.vue'; import VControlGeolocate from './controls/VControlGeolocate.vue'; import VControlNavigation from './controls/VControlNavigation.vue'; import VControlScale from './controls/VControlScale.vue'; +import VLayerDeckArc from './layers/deck.gl/VLayerDeckArc.vue'; +import VLayerDeckGeojson from './layers/deck.gl/VLayerDeckGeojson.vue'; import VLayerMapboxCanvas from './layers/mapbox/VLayerMapboxCanvas.vue'; import VLayerMapboxGeojson from './layers/mapbox/VLayerMapboxGeojson.vue'; import VLayerMapboxImage from './layers/mapbox/VLayerMapboxImage.vue'; @@ -16,6 +18,8 @@ export { VMap, VMarker, VPopup, + VLayerDeckArc, + VLayerDeckGeojson, VLayerMapboxCanvas, VLayerMapboxGeojson, VLayerMapboxImage, diff --git a/types/layers/deck.gl/VLayerDeckArc.vue.d.ts b/types/layers/deck.gl/VLayerDeckArc.vue.d.ts new file mode 100644 index 00000000..acc74c7e --- /dev/null +++ b/types/layers/deck.gl/VLayerDeckArc.vue.d.ts @@ -0,0 +1,61 @@ +import type { PropType } from 'vue'; +declare const _default: import('vue').DefineComponent< + { + layerId: { + type: PropType; + default: string; + required: true; + }; + data: { + type: PropType; + required: true; + }; + options: { + type: ObjectConstructor; + required: true; + }; + before: { + type: PropType; + default: string; + required: false; + }; + }, + void, + unknown, + {}, + {}, + import('vue').ComponentOptionsMixin, + import('vue').ComponentOptionsMixin, + Record, + string, + import('vue').VNodeProps & + import('vue').AllowedComponentProps & + import('vue').ComponentCustomProps, + Readonly< + import('vue').ExtractPropTypes<{ + layerId: { + type: PropType; + default: string; + required: true; + }; + data: { + type: PropType; + required: true; + }; + options: { + type: ObjectConstructor; + required: true; + }; + before: { + type: PropType; + default: string; + required: false; + }; + }> + >, + { + layerId: string; + before: string; + } +>; +export default _default; diff --git a/types/layers/deck.gl/VLayerDeckGeojson.vue.d.ts b/types/layers/deck.gl/VLayerDeckGeojson.vue.d.ts new file mode 100644 index 00000000..30692036 --- /dev/null +++ b/types/layers/deck.gl/VLayerDeckGeojson.vue.d.ts @@ -0,0 +1,72 @@ +import { FeatureCollection } from 'geojson'; +import type { PropType } from 'vue'; +declare const _default: import('vue').DefineComponent< + { + layerId: { + type: PropType; + default: string; + required: true; + }; + data: { + type: PropType< + FeatureCollection< + import('geojson').Geometry, + import('geojson').GeoJsonProperties + > + >; + required: true; + }; + options: { + type: ObjectConstructor; + required: true; + }; + before: { + type: PropType; + default: string; + required: false; + }; + }, + void, + unknown, + {}, + {}, + import('vue').ComponentOptionsMixin, + import('vue').ComponentOptionsMixin, + Record, + string, + import('vue').VNodeProps & + import('vue').AllowedComponentProps & + import('vue').ComponentCustomProps, + Readonly< + import('vue').ExtractPropTypes<{ + layerId: { + type: PropType; + default: string; + required: true; + }; + data: { + type: PropType< + FeatureCollection< + import('geojson').Geometry, + import('geojson').GeoJsonProperties + > + >; + required: true; + }; + options: { + type: ObjectConstructor; + required: true; + }; + before: { + type: PropType; + default: string; + required: false; + }; + }> + >, + { + layerId: string; + before: string; + } +>; +export default _default; diff --git a/types/layers/mapbox/VLayerMapboxCanvas.vue.d.ts b/types/layers/mapbox/VLayerMapboxCanvas.vue.d.ts index e3d09312..87031265 100644 --- a/types/layers/mapbox/VLayerMapboxCanvas.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxCanvas.vue.d.ts @@ -79,10 +79,10 @@ declare const _default: import('vue').DefineComponent< }> >, { - sourceId: string; layerId: string; - layer: AnyLayer; before: string; + sourceId: string; + layer: AnyLayer; } >; export default _default; diff --git a/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts b/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts index e3d09312..87031265 100644 --- a/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts @@ -79,10 +79,10 @@ declare const _default: import('vue').DefineComponent< }> >, { - sourceId: string; layerId: string; - layer: AnyLayer; before: string; + sourceId: string; + layer: AnyLayer; } >; export default _default; diff --git a/types/layers/mapbox/VLayerMapboxImage.vue.d.ts b/types/layers/mapbox/VLayerMapboxImage.vue.d.ts index 3b2a68b6..f83d94ec 100644 --- a/types/layers/mapbox/VLayerMapboxImage.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxImage.vue.d.ts @@ -68,10 +68,10 @@ declare const _default: import('vue').DefineComponent< }> >, { - sourceId: string; layerId: string; - layer: AnyLayer; before: string; + sourceId: string; + layer: AnyLayer; } >; export default _default; diff --git a/types/layers/mapbox/VLayerMapboxRaster.vue.d.ts b/types/layers/mapbox/VLayerMapboxRaster.vue.d.ts index e3d09312..87031265 100644 --- a/types/layers/mapbox/VLayerMapboxRaster.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxRaster.vue.d.ts @@ -79,10 +79,10 @@ declare const _default: import('vue').DefineComponent< }> >, { - sourceId: string; layerId: string; - layer: AnyLayer; before: string; + sourceId: string; + layer: AnyLayer; } >; export default _default; diff --git a/types/layers/mapbox/VLayerMapboxVector.vue.d.ts b/types/layers/mapbox/VLayerMapboxVector.vue.d.ts index d08449c9..bddc80f4 100644 --- a/types/layers/mapbox/VLayerMapboxVector.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxVector.vue.d.ts @@ -68,10 +68,10 @@ declare const _default: import('vue').DefineComponent< }> >, { - sourceId: string; layerId: string; - layer: AnyLayer; before: string; + sourceId: string; + layer: AnyLayer; } >; export default _default; diff --git a/types/layers/mapbox/VLayerMapboxVideo.vue.d.ts b/types/layers/mapbox/VLayerMapboxVideo.vue.d.ts index d08449c9..bddc80f4 100644 --- a/types/layers/mapbox/VLayerMapboxVideo.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxVideo.vue.d.ts @@ -68,10 +68,10 @@ declare const _default: import('vue').DefineComponent< }> >, { - sourceId: string; layerId: string; - layer: AnyLayer; before: string; + sourceId: string; + layer: AnyLayer; } >; export default _default;