@nuxt/scripts 2.0.0-beta.7 → 2.0.0-beta.8
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/dist/devtools-client/200.html +1 -1
- package/dist/devtools-client/404.html +1 -1
- package/dist/devtools-client/_nuxt/builds/latest.json +1 -1
- package/dist/devtools-client/_nuxt/builds/meta/afe20d38-a0b8-4d9f-be82-37b90ecac717.json +1 -0
- package/dist/devtools-client/_nuxt/{entry.-RqqMwHr.css → entry.CuI_2OaG.css} +1 -1
- package/dist/devtools-client/docs/index.html +1 -1
- package/dist/devtools-client/first-party/index.html +1 -1
- package/dist/devtools-client/index.html +1 -1
- package/dist/devtools-client/registry/index.html +1 -1
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/components/MapLibre/ScriptMapLibreAttributionControl.d.vue.ts +7 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreAttributionControl.vue +42 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreAttributionControl.vue.d.ts +7 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreFullscreenControl.d.vue.ts +13 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreFullscreenControl.vue +27 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreFullscreenControl.vue.d.ts +13 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeoJson.d.vue.ts +12 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeoJson.vue +44 -8
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeoJson.vue.d.ts +12 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeolocateControl.d.vue.ts +25 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeolocateControl.vue +49 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeolocateControl.vue.d.ts +25 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMap.vue +10 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreNavigationControl.vue +1 -4
- package/dist/runtime/components/MapLibre/ScriptMapLibreScaleControl.d.vue.ts +7 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreScaleControl.vue +25 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreScaleControl.vue.d.ts +7 -0
- package/dist/runtime/components/MapLibre/types.d.ts +92 -3
- package/dist/runtime/types.d.ts +1 -1
- package/dist/types-source.mjs +158 -3
- package/dist/types.d.mts +1 -1
- package/package.json +1 -1
- package/dist/devtools-client/_nuxt/builds/meta/7f4505e1-4a64-4e0a-b3dd-aa394b0cd7f2.json +0 -1
- /package/dist/devtools-client/_nuxt/{BQKaRBnk.js → BBRrg_AT.js} +0 -0
|
@@ -130,17 +130,40 @@ export interface ScriptMapLibreGeoJsonProps {
|
|
|
130
130
|
}
|
|
131
131
|
export interface ScriptMapLibreGeoJsonEmits {
|
|
132
132
|
/**
|
|
133
|
-
* The component could not apply a source or layer.
|
|
133
|
+
* The component could not apply a source or layer, or MapLibre reported an error for one.
|
|
134
|
+
* MapLibre reports an invalid paint, layout or filter value this way. It does not throw.
|
|
134
135
|
* A failed rebuild removes the component's own source and layers.
|
|
135
136
|
* A failed paint, layout or filter update leaves them on the map.
|
|
136
137
|
*/
|
|
137
138
|
error: [error: Error];
|
|
138
139
|
/** The pointer clicked one of this component's layers. */
|
|
139
140
|
click: [event: MapLibre.MapLayerMouseEvent];
|
|
140
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* The pointer double-clicked one of this component's layers.
|
|
143
|
+
* Call `event.preventDefault()` to stop MapLibre's double-click zoom.
|
|
144
|
+
*/
|
|
145
|
+
dblclick: [event: MapLibre.MapLayerMouseEvent];
|
|
146
|
+
/**
|
|
147
|
+
* The pointer entered this component's layers as a group.
|
|
148
|
+
* It does not fire again when the pointer moves between touching features.
|
|
149
|
+
*/
|
|
141
150
|
mouseenter: [event: MapLibre.MapLayerMouseEvent];
|
|
142
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* The pointer moved over a feature in one of this component's layers.
|
|
153
|
+
* `event.features` lists the features under the pointer, topmost first.
|
|
154
|
+
*/
|
|
155
|
+
mousemove: [event: MapLibre.MapLayerMouseEvent];
|
|
156
|
+
/** The pointer left every feature in this component's layers. */
|
|
143
157
|
mouseleave: [event: MapLibre.MapLayerMouseEvent];
|
|
158
|
+
/**
|
|
159
|
+
* The source and layers exist on the map.
|
|
160
|
+
* Fires after the first add and after every re-add, such as after a style swap.
|
|
161
|
+
* A re-add clears feature state, so restore it here.
|
|
162
|
+
*/
|
|
163
|
+
sourceready: [payload: {
|
|
164
|
+
map: MapLibre.Map;
|
|
165
|
+
sourceId: string;
|
|
166
|
+
}];
|
|
144
167
|
}
|
|
145
168
|
export interface ScriptMapLibreGeoJsonResource {
|
|
146
169
|
map: MapLibre.Map;
|
|
@@ -148,6 +171,11 @@ export interface ScriptMapLibreGeoJsonResource {
|
|
|
148
171
|
onStyleLoad: () => void;
|
|
149
172
|
onStyleDataLoading: () => void;
|
|
150
173
|
onIdle: () => void;
|
|
174
|
+
onError: (event: {
|
|
175
|
+
error: Error | {
|
|
176
|
+
message: string;
|
|
177
|
+
};
|
|
178
|
+
}) => void;
|
|
151
179
|
}
|
|
152
180
|
export interface ScriptMapLibreMarkerProps {
|
|
153
181
|
/** Reactive marker position in `[longitude, latitude]` order. */
|
|
@@ -183,4 +211,65 @@ export interface ScriptMapLibreNavigationControlProps {
|
|
|
183
211
|
/** Options passed to `new maplibregl.NavigationControl()`. */
|
|
184
212
|
options?: MapLibre.NavigationControlOptions;
|
|
185
213
|
}
|
|
214
|
+
export interface ScriptMapLibreScaleControlProps {
|
|
215
|
+
/** Position of the scale control. MapLibre places it bottom-left by default. */
|
|
216
|
+
position?: MapLibre.ControlPosition;
|
|
217
|
+
/**
|
|
218
|
+
* Options passed to `new maplibregl.ScaleControl()`.
|
|
219
|
+
* `unit` also updates reactively through `setUnit()`.
|
|
220
|
+
*/
|
|
221
|
+
options?: MapLibre.ScaleControlOptions;
|
|
222
|
+
}
|
|
223
|
+
export interface ScriptMapLibreGeolocateControlProps {
|
|
224
|
+
/** Position of the geolocate control. */
|
|
225
|
+
position?: MapLibre.ControlPosition;
|
|
226
|
+
/** Options passed to `new maplibregl.GeolocateControl()`. */
|
|
227
|
+
options?: MapLibre.GeolocateControlOptions;
|
|
228
|
+
}
|
|
229
|
+
export interface ScriptMapLibreGeolocateControlEmits {
|
|
230
|
+
/** The Geolocation API returned a position. */
|
|
231
|
+
geolocate: [event: MapLibre.GeolocateControlEventType['geolocate']];
|
|
232
|
+
/**
|
|
233
|
+
* The Geolocation API returned an error.
|
|
234
|
+
* `code` 1 means the user denied permission. MapLibre then disables the button.
|
|
235
|
+
*/
|
|
236
|
+
error: [event: MapLibre.GeolocateControlEventType['error']];
|
|
237
|
+
/** The position is outside the map's `maxBounds`. */
|
|
238
|
+
outofmaxbounds: [event: MapLibre.GeolocateControlEventType['outofmaxbounds']];
|
|
239
|
+
/** The control entered the active lock state. Needs `trackUserLocation`. */
|
|
240
|
+
trackuserlocationstart: [event: MapLibre.GeolocateControlEventType['trackuserlocationstart']];
|
|
241
|
+
/** The control left the active lock state. Needs `trackUserLocation`. */
|
|
242
|
+
trackuserlocationend: [event: MapLibre.GeolocateControlEventType['trackuserlocationend']];
|
|
243
|
+
/** The user clicked the button in the active lock state. */
|
|
244
|
+
userlocationfocus: [event: MapLibre.GeolocateControlEventType['userlocationfocus']];
|
|
245
|
+
/** The user moved the map in the active lock state. */
|
|
246
|
+
userlocationlostfocus: [event: MapLibre.GeolocateControlEventType['userlocationlostfocus']];
|
|
247
|
+
/**
|
|
248
|
+
* Geolocation cannot work in this browser.
|
|
249
|
+
* `permission-denied` means the user blocked it before the control loaded.
|
|
250
|
+
* MapLibre disables the button and fires no `error` event in both cases.
|
|
251
|
+
*/
|
|
252
|
+
unavailable: [reason: 'unsupported' | 'permission-denied'];
|
|
253
|
+
}
|
|
254
|
+
export interface ScriptMapLibreFullscreenControlProps {
|
|
255
|
+
/** Position of the fullscreen control. */
|
|
256
|
+
position?: MapLibre.ControlPosition;
|
|
257
|
+
/** Options passed to `new maplibregl.FullscreenControl()`. */
|
|
258
|
+
options?: MapLibre.FullscreenControlOptions;
|
|
259
|
+
}
|
|
260
|
+
export interface ScriptMapLibreFullscreenControlEmits {
|
|
261
|
+
/** The map entered fullscreen mode. */
|
|
262
|
+
fullscreenstart: [event: MapLibre.FullscreenControlEventType['fullscreenstart']];
|
|
263
|
+
/** The map left fullscreen mode. */
|
|
264
|
+
fullscreenend: [event: MapLibre.FullscreenControlEventType['fullscreenend']];
|
|
265
|
+
}
|
|
266
|
+
export interface ScriptMapLibreAttributionControlProps {
|
|
267
|
+
/** Position of the attribution control. MapLibre places it bottom-right by default. */
|
|
268
|
+
position?: MapLibre.ControlPosition;
|
|
269
|
+
/**
|
|
270
|
+
* Options passed to `new maplibregl.AttributionControl()`.
|
|
271
|
+
* Source attribution from the style and tiles always shows. `customAttribution` only adds text.
|
|
272
|
+
*/
|
|
273
|
+
options?: MapLibre.AttributionControlOptions;
|
|
274
|
+
}
|
|
186
275
|
export {};
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ import type { YouTubePlayerInput } from './registry/youtube-player.js';
|
|
|
53
53
|
import type { ProxyPrivacyInput } from './server/utils/privacy.js';
|
|
54
54
|
export type { Cluster, ClusterStats, MarkerClustererContext, MarkerClustererInstance, MarkerClustererOptions } from './components/GoogleMaps/types.js';
|
|
55
55
|
export { MARKER_CLUSTERER_INJECTION_KEY } from './components/GoogleMaps/types.js';
|
|
56
|
-
export type { ScriptMapLibreGeoJsonEmits, ScriptMapLibreGeoJsonLayer, ScriptMapLibreGeoJsonProps, ScriptMapLibreGeoJsonResource, ScriptMapLibreMapEmits, ScriptMapLibreMapExpose, ScriptMapLibreMapProps, ScriptMapLibreMapSlots, ScriptMapLibreMarkerEmits, ScriptMapLibreMarkerProps, ScriptMapLibreNavigationControlProps, ScriptMapLibrePopupEmits, ScriptMapLibrePopupProps, } from './components/MapLibre/types.js';
|
|
56
|
+
export type { ScriptMapLibreAttributionControlProps, ScriptMapLibreFullscreenControlEmits, ScriptMapLibreFullscreenControlProps, ScriptMapLibreGeoJsonEmits, ScriptMapLibreGeoJsonLayer, ScriptMapLibreGeoJsonProps, ScriptMapLibreGeoJsonResource, ScriptMapLibreGeolocateControlEmits, ScriptMapLibreGeolocateControlProps, ScriptMapLibreMapEmits, ScriptMapLibreMapExpose, ScriptMapLibreMapProps, ScriptMapLibreMapSlots, ScriptMapLibreMarkerEmits, ScriptMapLibreMarkerProps, ScriptMapLibreNavigationControlProps, ScriptMapLibrePopupEmits, ScriptMapLibrePopupProps, ScriptMapLibreScaleControlProps, } from './components/MapLibre/types.js';
|
|
57
57
|
export type WarmupStrategy = false | 'preload' | 'preconnect' | 'dns-prefetch';
|
|
58
58
|
/**
|
|
59
59
|
* GCMv2 consent category value.
|
package/dist/types-source.mjs
CHANGED
|
@@ -838,6 +838,21 @@ const types = {
|
|
|
838
838
|
kind: "interface",
|
|
839
839
|
code: "export interface MapLibreApi {\n maplibregl: typeof MapLibre\n}"
|
|
840
840
|
},
|
|
841
|
+
{
|
|
842
|
+
name: "ScriptMapLibreAttributionControlProps",
|
|
843
|
+
kind: "interface",
|
|
844
|
+
code: "interface ScriptMapLibreAttributionControlProps {\n /** Position of the attribution control. MapLibre places it bottom-right by default. */\n position?: MapLibre.ControlPosition\n /**\n * Options passed to `new maplibregl.AttributionControl()`.\n * Source attribution from the style and tiles always shows. `customAttribution` only adds text.\n */\n options?: MapLibre.AttributionControlOptions\n}"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: "ScriptMapLibreFullscreenControlProps",
|
|
848
|
+
kind: "interface",
|
|
849
|
+
code: "interface ScriptMapLibreFullscreenControlProps {\n /** Position of the fullscreen control. */\n position?: MapLibre.ControlPosition\n /** Options passed to `new maplibregl.FullscreenControl()`. */\n options?: MapLibre.FullscreenControlOptions\n}"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
name: "ScriptMapLibreFullscreenControlEvents",
|
|
853
|
+
kind: "interface",
|
|
854
|
+
code: "interface ScriptMapLibreFullscreenControlEvents {\n fullscreenstart: MapLibre.FullscreenControlEventType['fullscreenstart']\n fullscreenend: MapLibre.FullscreenControlEventType['fullscreenend']\n}"
|
|
855
|
+
},
|
|
841
856
|
{
|
|
842
857
|
name: "ScriptMapLibreGeoJsonProps",
|
|
843
858
|
kind: "interface",
|
|
@@ -846,7 +861,17 @@ const types = {
|
|
|
846
861
|
{
|
|
847
862
|
name: "ScriptMapLibreGeoJsonEvents",
|
|
848
863
|
kind: "interface",
|
|
849
|
-
code: "interface ScriptMapLibreGeoJsonEvents {\n error: Error\n click: MapLibre.MapLayerMouseEvent\n mouseenter: MapLibre.MapLayerMouseEvent\n mouseleave: MapLibre.MapLayerMouseEvent\n}"
|
|
864
|
+
code: "interface ScriptMapLibreGeoJsonEvents {\n error: Error\n click: MapLibre.MapLayerMouseEvent\n dblclick: MapLibre.MapLayerMouseEvent\n mouseenter: MapLibre.MapLayerMouseEvent\n mousemove: MapLibre.MapLayerMouseEvent\n mouseleave: MapLibre.MapLayerMouseEvent\n sourceready: { map: MapLibre.Map, sourceId: string }\n}"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
name: "ScriptMapLibreGeolocateControlProps",
|
|
868
|
+
kind: "interface",
|
|
869
|
+
code: "interface ScriptMapLibreGeolocateControlProps {\n /** Position of the geolocate control. */\n position?: MapLibre.ControlPosition\n /** Options passed to `new maplibregl.GeolocateControl()`. */\n options?: MapLibre.GeolocateControlOptions\n}"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: "ScriptMapLibreGeolocateControlEvents",
|
|
873
|
+
kind: "interface",
|
|
874
|
+
code: "interface ScriptMapLibreGeolocateControlEvents {\n geolocate: MapLibre.GeolocateControlEventType['geolocate']\n error: MapLibre.GeolocateControlEventType['error']\n outofmaxbounds: MapLibre.GeolocateControlEventType['outofmaxbounds']\n trackuserlocationstart: MapLibre.GeolocateControlEventType['trackuserlocationstart']\n trackuserlocationend: MapLibre.GeolocateControlEventType['trackuserlocationend']\n userlocationfocus: MapLibre.GeolocateControlEventType['userlocationfocus']\n userlocationlostfocus: MapLibre.GeolocateControlEventType['userlocationlostfocus']\n unavailable: 'unsupported' | 'permission-denied'\n}"
|
|
850
875
|
},
|
|
851
876
|
{
|
|
852
877
|
name: "ScriptMapLibreMapProps",
|
|
@@ -897,6 +922,11 @@ const types = {
|
|
|
897
922
|
name: "ScriptMapLibrePopupSlots",
|
|
898
923
|
kind: "interface",
|
|
899
924
|
code: "interface ScriptMapLibrePopupSlots {\n default?: () => any\n}"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
name: "ScriptMapLibreScaleControlProps",
|
|
928
|
+
kind: "interface",
|
|
929
|
+
code: "interface ScriptMapLibreScaleControlProps {\n /** Position of the scale control. MapLibre places it bottom-left by default. */\n position?: MapLibre.ControlPosition\n /**\n * Options passed to `new maplibregl.ScaleControl()`.\n * `unit` also updates reactively through `setUnit()`.\n */\n options?: MapLibre.ScaleControlOptions\n}"
|
|
900
930
|
}
|
|
901
931
|
],
|
|
902
932
|
"matomo-analytics": [
|
|
@@ -4164,6 +4194,43 @@ const schemaFields = {
|
|
|
4164
4194
|
required: false
|
|
4165
4195
|
}
|
|
4166
4196
|
],
|
|
4197
|
+
ScriptMapLibreAttributionControlProps: [
|
|
4198
|
+
{
|
|
4199
|
+
name: "position",
|
|
4200
|
+
type: "MapLibre.ControlPosition",
|
|
4201
|
+
required: false
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
name: "options",
|
|
4205
|
+
type: "MapLibre.AttributionControlOptions",
|
|
4206
|
+
required: false,
|
|
4207
|
+
description: "Options passed to `new maplibregl.AttributionControl()`. Source attribution from the style and tiles always shows. `customAttribution` only adds text."
|
|
4208
|
+
}
|
|
4209
|
+
],
|
|
4210
|
+
ScriptMapLibreFullscreenControlProps: [
|
|
4211
|
+
{
|
|
4212
|
+
name: "position",
|
|
4213
|
+
type: "MapLibre.ControlPosition",
|
|
4214
|
+
required: false
|
|
4215
|
+
},
|
|
4216
|
+
{
|
|
4217
|
+
name: "options",
|
|
4218
|
+
type: "MapLibre.FullscreenControlOptions",
|
|
4219
|
+
required: false
|
|
4220
|
+
}
|
|
4221
|
+
],
|
|
4222
|
+
ScriptMapLibreFullscreenControlEvents: [
|
|
4223
|
+
{
|
|
4224
|
+
name: "fullscreenstart",
|
|
4225
|
+
type: "MapLibre.FullscreenControlEventType['fullscreenstart']",
|
|
4226
|
+
required: false
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
name: "fullscreenend",
|
|
4230
|
+
type: "MapLibre.FullscreenControlEventType['fullscreenend']",
|
|
4231
|
+
required: false
|
|
4232
|
+
}
|
|
4233
|
+
],
|
|
4167
4234
|
ScriptMapLibreGeoJsonProps: [
|
|
4168
4235
|
{
|
|
4169
4236
|
name: "sourceId",
|
|
@@ -4202,22 +4269,97 @@ const schemaFields = {
|
|
|
4202
4269
|
name: "error",
|
|
4203
4270
|
type: "Error",
|
|
4204
4271
|
required: false,
|
|
4205
|
-
description: "The component could not apply a source or layer. A failed rebuild removes the component's own source and layers. A failed paint, layout or filter update leaves them on the map."
|
|
4272
|
+
description: "The component could not apply a source or layer, or MapLibre reported an error for one. MapLibre reports an invalid paint, layout or filter value this way. It does not throw. A failed rebuild removes the component's own source and layers. A failed paint, layout or filter update leaves them on the map."
|
|
4206
4273
|
},
|
|
4207
4274
|
{
|
|
4208
4275
|
name: "click",
|
|
4209
4276
|
type: "MapLibre.MapLayerMouseEvent",
|
|
4210
4277
|
required: false
|
|
4211
4278
|
},
|
|
4279
|
+
{
|
|
4280
|
+
name: "dblclick",
|
|
4281
|
+
type: "MapLibre.MapLayerMouseEvent",
|
|
4282
|
+
required: false,
|
|
4283
|
+
description: "The pointer double-clicked one of this component's layers. Call `event.preventDefault()` to stop MapLibre's double-click zoom."
|
|
4284
|
+
},
|
|
4212
4285
|
{
|
|
4213
4286
|
name: "mouseenter",
|
|
4214
4287
|
type: "MapLibre.MapLayerMouseEvent",
|
|
4215
|
-
required: false
|
|
4288
|
+
required: false,
|
|
4289
|
+
description: "The pointer entered this component's layers as a group. It does not fire again when the pointer moves between touching features."
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
name: "mousemove",
|
|
4293
|
+
type: "MapLibre.MapLayerMouseEvent",
|
|
4294
|
+
required: false,
|
|
4295
|
+
description: "The pointer moved over a feature in one of this component's layers. `event.features` lists the features under the pointer, topmost first."
|
|
4216
4296
|
},
|
|
4217
4297
|
{
|
|
4218
4298
|
name: "mouseleave",
|
|
4219
4299
|
type: "MapLibre.MapLayerMouseEvent",
|
|
4220
4300
|
required: false
|
|
4301
|
+
},
|
|
4302
|
+
{
|
|
4303
|
+
name: "sourceready",
|
|
4304
|
+
type: "{ map: MapLibre.Map, sourceId: string }",
|
|
4305
|
+
required: false,
|
|
4306
|
+
description: "The source and layers exist on the map. Fires after the first add and after every re-add, such as after a style swap. A re-add clears feature state, so restore it here."
|
|
4307
|
+
}
|
|
4308
|
+
],
|
|
4309
|
+
ScriptMapLibreGeolocateControlProps: [
|
|
4310
|
+
{
|
|
4311
|
+
name: "position",
|
|
4312
|
+
type: "MapLibre.ControlPosition",
|
|
4313
|
+
required: false
|
|
4314
|
+
},
|
|
4315
|
+
{
|
|
4316
|
+
name: "options",
|
|
4317
|
+
type: "MapLibre.GeolocateControlOptions",
|
|
4318
|
+
required: false
|
|
4319
|
+
}
|
|
4320
|
+
],
|
|
4321
|
+
ScriptMapLibreGeolocateControlEvents: [
|
|
4322
|
+
{
|
|
4323
|
+
name: "geolocate",
|
|
4324
|
+
type: "MapLibre.GeolocateControlEventType['geolocate']",
|
|
4325
|
+
required: false
|
|
4326
|
+
},
|
|
4327
|
+
{
|
|
4328
|
+
name: "error",
|
|
4329
|
+
type: "MapLibre.GeolocateControlEventType['error']",
|
|
4330
|
+
required: false,
|
|
4331
|
+
description: "The Geolocation API returned an error. `code` 1 means the user denied permission. MapLibre then disables the button."
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
name: "outofmaxbounds",
|
|
4335
|
+
type: "MapLibre.GeolocateControlEventType['outofmaxbounds']",
|
|
4336
|
+
required: false
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
name: "trackuserlocationstart",
|
|
4340
|
+
type: "MapLibre.GeolocateControlEventType['trackuserlocationstart']",
|
|
4341
|
+
required: false
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
name: "trackuserlocationend",
|
|
4345
|
+
type: "MapLibre.GeolocateControlEventType['trackuserlocationend']",
|
|
4346
|
+
required: false
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
name: "userlocationfocus",
|
|
4350
|
+
type: "MapLibre.GeolocateControlEventType['userlocationfocus']",
|
|
4351
|
+
required: false
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
name: "userlocationlostfocus",
|
|
4355
|
+
type: "MapLibre.GeolocateControlEventType['userlocationlostfocus']",
|
|
4356
|
+
required: false
|
|
4357
|
+
},
|
|
4358
|
+
{
|
|
4359
|
+
name: "unavailable",
|
|
4360
|
+
type: "'unsupported' | 'permission-denied'",
|
|
4361
|
+
required: false,
|
|
4362
|
+
description: "Geolocation cannot work in this browser. `permission-denied` means the user blocked it before the control loaded. MapLibre disables the button and fires no `error` event in both cases."
|
|
4221
4363
|
}
|
|
4222
4364
|
],
|
|
4223
4365
|
ScriptMapLibreMapProps: [
|
|
@@ -4517,6 +4659,19 @@ const schemaFields = {
|
|
|
4517
4659
|
required: false
|
|
4518
4660
|
}
|
|
4519
4661
|
],
|
|
4662
|
+
ScriptMapLibreScaleControlProps: [
|
|
4663
|
+
{
|
|
4664
|
+
name: "position",
|
|
4665
|
+
type: "MapLibre.ControlPosition",
|
|
4666
|
+
required: false
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
name: "options",
|
|
4670
|
+
type: "MapLibre.ScaleControlOptions",
|
|
4671
|
+
required: false,
|
|
4672
|
+
description: "Options passed to `new maplibregl.ScaleControl()`. `unit` also updates reactively through `setUnit()`."
|
|
4673
|
+
}
|
|
4674
|
+
],
|
|
4520
4675
|
ScriptBlueskyEmbedProps: [
|
|
4521
4676
|
{
|
|
4522
4677
|
name: "postUrl",
|
package/dist/types.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ declare module '@nuxt/schema' {
|
|
|
4
4
|
interface NuxtHooks extends ModuleHooks {}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export { type ScriptMapLibreGeoJsonEmits, type ScriptMapLibreGeoJsonLayer, type ScriptMapLibreGeoJsonProps, type ScriptMapLibreGeoJsonResource, type ScriptMapLibreMapEmits, type ScriptMapLibreMapExpose, type ScriptMapLibreMapProps, type ScriptMapLibreMapSlots, type ScriptMapLibreMarkerEmits, type ScriptMapLibreMarkerProps, type ScriptMapLibreNavigationControlProps, type ScriptMapLibrePopupEmits, type ScriptMapLibrePopupProps } from '../dist/runtime/components/MapLibre/types.js'
|
|
7
|
+
export { type ScriptMapLibreAttributionControlProps, type ScriptMapLibreFullscreenControlEmits, type ScriptMapLibreFullscreenControlProps, type ScriptMapLibreGeoJsonEmits, type ScriptMapLibreGeoJsonLayer, type ScriptMapLibreGeoJsonProps, type ScriptMapLibreGeoJsonResource, type ScriptMapLibreGeolocateControlEmits, type ScriptMapLibreGeolocateControlProps, type ScriptMapLibreMapEmits, type ScriptMapLibreMapExpose, type ScriptMapLibreMapProps, type ScriptMapLibreMapSlots, type ScriptMapLibreMarkerEmits, type ScriptMapLibreMarkerProps, type ScriptMapLibreNavigationControlProps, type ScriptMapLibrePopupEmits, type ScriptMapLibrePopupProps, type ScriptMapLibreScaleControlProps } from '../dist/runtime/components/MapLibre/types.js'
|
|
8
8
|
|
|
9
9
|
export { type FirstPartyPrivacy } from '../dist/runtime/types.js'
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"7f4505e1-4a64-4e0a-b3dd-aa394b0cd7f2","timestamp":1789547636604,"prerendered":[]}
|
|
File without changes
|