@nuxt/scripts 1.3.5 → 2.0.0-beta.1
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/THIRD_PARTY_LICENSES.md +124 -0
- package/dist/devtools-client/200.html +1 -1
- package/dist/devtools-client/404.html +1 -1
- package/dist/devtools-client/_nuxt/{B551Pnuh.js → 2p1_IuX2.js} +1 -1
- package/dist/devtools-client/_nuxt/{KxC4Q3ev.js → 9elIQxwW.js} +1 -1
- package/dist/devtools-client/_nuxt/{DTP8MRtW.js → BNPn63Jz.js} +1 -1
- package/dist/devtools-client/_nuxt/BjRLaDIG.js +152 -0
- package/dist/devtools-client/_nuxt/BtNUYBXT.js +8 -0
- package/dist/devtools-client/_nuxt/CDDBpkXG.js +3 -0
- package/dist/devtools-client/_nuxt/Cpb0XAYP.js +1 -0
- package/dist/devtools-client/_nuxt/DAsiyhPm.js +6 -0
- package/dist/devtools-client/_nuxt/{VICyrUSM.js → DabLKy7M.js} +1 -1
- package/dist/devtools-client/_nuxt/Dat651Oh.js +1 -0
- package/dist/devtools-client/_nuxt/DcG2ZXvY.js +1 -0
- package/dist/devtools-client/_nuxt/DmlGWZ2X.js +1 -0
- package/dist/devtools-client/_nuxt/KsX6Az5B.js +1 -0
- package/dist/devtools-client/_nuxt/RL1np866.js +28 -0
- package/dist/devtools-client/_nuxt/UmWNrBO5.js +2 -0
- package/dist/devtools-client/_nuxt/builds/latest.json +1 -1
- package/dist/devtools-client/_nuxt/builds/meta/e28b96f1-78e8-41a4-ad6f-904cd078f85e.json +1 -0
- package/dist/devtools-client/_nuxt/{entry.CYUdJFoE.css → entry.9HJPJ6Hp.css} +1 -1
- package/dist/devtools-client/_nuxt/error-404.DnwL1N6v.css +1 -0
- package/dist/devtools-client/_nuxt/error-500.DEbXRLdm.css +1 -0
- 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 +2 -86
- package/dist/module.d.ts +2 -86
- package/dist/module.json +3 -3
- package/dist/module.mjs +71 -328
- package/dist/registry.mjs +54 -22
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +1 -28
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +7 -50
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +1 -28
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +0 -8
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue +1 -13
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +0 -8
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.d.vue.ts +4 -4
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue +9 -15
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue.d.ts +4 -4
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.d.ts +0 -22
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.js +0 -31
- package/dist/runtime/components/Leaflet/ScriptLeafletGeoJson.d.vue.ts +31 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletGeoJson.vue +43 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletGeoJson.vue.d.ts +31 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletMap.d.vue.ts +90 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletMap.vue +171 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletMap.vue.d.ts +90 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletMarker.d.vue.ts +47 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletMarker.vue +70 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletMarker.vue.d.ts +47 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletPopup.d.vue.ts +31 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletPopup.vue +81 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletPopup.vue.d.ts +31 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletTileLayer.d.vue.ts +26 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletTileLayer.vue +38 -0
- package/dist/runtime/components/Leaflet/ScriptLeafletTileLayer.vue.d.ts +26 -0
- package/dist/runtime/components/Leaflet/useLeafletResource.d.ts +30 -0
- package/dist/runtime/components/Leaflet/useLeafletResource.js +46 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeoJson.d.vue.ts +39 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeoJson.vue +84 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreGeoJson.vue.d.ts +39 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMap.d.vue.ts +122 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMap.vue +214 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMap.vue.d.ts +122 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMarker.d.vue.ts +35 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMarker.vue +98 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreMarker.vue.d.ts +35 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreNavigationControl.d.vue.ts +12 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreNavigationControl.vue +23 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibreNavigationControl.vue.d.ts +12 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibrePopup.d.vue.ts +31 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibrePopup.vue +99 -0
- package/dist/runtime/components/MapLibre/ScriptMapLibrePopup.vue.d.ts +31 -0
- package/dist/runtime/components/MapLibre/useMapLibreResource.d.ts +23 -0
- package/dist/runtime/components/MapLibre/useMapLibreResource.js +41 -0
- package/dist/runtime/components/ScriptCrisp.vue +20 -18
- package/dist/runtime/components/ScriptDeskCrew.d.vue.ts +40 -0
- package/dist/runtime/components/ScriptDeskCrew.vue +82 -0
- package/dist/runtime/components/ScriptDeskCrew.vue.d.ts +40 -0
- package/dist/runtime/components/ScriptIntercom.vue +21 -19
- package/dist/runtime/components/ScriptLoadingIndicator.d.vue.ts +1 -1
- package/dist/runtime/components/ScriptLoadingIndicator.vue.d.ts +1 -1
- package/dist/runtime/components/ScriptPayPalButtons.vue +7 -3
- package/dist/runtime/components/ScriptPayPalMessages.vue +8 -4
- package/dist/runtime/composables/useScript.js +96 -49
- package/dist/runtime/composables/useScriptProxyUrl.d.ts +4 -8
- package/dist/runtime/composables/useScriptProxyUrl.js +0 -7
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.d.ts +2 -1
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +3 -34
- package/dist/runtime/composables/useScriptTriggerInteraction.d.ts +2 -1
- package/dist/runtime/composables/useScriptTriggerInteraction.js +13 -46
- package/dist/runtime/composables/useScriptTriggerServiceWorker.d.ts +2 -1
- package/dist/runtime/composables/useScriptTriggerServiceWorker.js +5 -38
- package/dist/runtime/leaflet-styles.d.ts +13 -0
- package/dist/runtime/leaflet-styles.js +684 -0
- package/dist/runtime/maplibre-styles.d.ts +7 -0
- package/dist/runtime/maplibre-styles.js +25 -0
- package/dist/runtime/npm-script-api-state.d.ts +4 -0
- package/dist/runtime/npm-script-api-state.js +13 -0
- package/dist/runtime/registry/crisp.d.ts +1 -1
- package/dist/runtime/registry/crisp.js +30 -18
- package/dist/runtime/registry/deskcrew.d.ts +52 -0
- package/dist/runtime/registry/deskcrew.js +31 -0
- package/dist/runtime/registry/google-analytics.d.ts +0 -2
- package/dist/runtime/registry/google-maps.d.ts +2 -11
- package/dist/runtime/registry/google-maps.js +31 -10
- package/dist/runtime/registry/google-tag-manager.d.ts +9 -3
- package/dist/runtime/registry/leaflet.d.ts +13 -0
- package/dist/runtime/registry/leaflet.js +29 -0
- package/dist/runtime/registry/maplibre.d.ts +13 -0
- package/dist/runtime/registry/maplibre.js +29 -0
- package/dist/runtime/registry/matomo-analytics.js +1 -8
- package/dist/runtime/registry/plausible-analytics.d.ts +4 -16
- package/dist/runtime/registry/plausible-analytics.js +15 -58
- package/dist/runtime/registry/rybbit-analytics.d.ts +0 -4
- package/dist/runtime/registry/rybbit-analytics.js +1 -4
- package/dist/runtime/registry/schemas.d.ts +61 -5
- package/dist/runtime/registry/schemas.js +64 -5
- package/dist/runtime/registry/tiktok-pixel.d.ts +2 -12
- package/dist/runtime/registry/tiktok-pixel.js +1 -1
- package/dist/runtime/registry/usercentrics.js +46 -6
- package/dist/runtime/registry/youtube-player.d.ts +3 -4
- package/dist/runtime/registry/youtube-player.js +30 -23
- package/dist/runtime/server/bluesky-embed-image.d.ts +1 -1
- package/dist/runtime/server/bluesky-embed.d.ts +1 -1
- package/dist/runtime/server/bluesky-embed.js +3 -6
- package/dist/runtime/server/gravatar-proxy.d.ts +1 -1
- package/dist/runtime/server/gravatar-proxy.js +2 -3
- package/dist/runtime/server/instagram-embed-asset.d.ts +1 -1
- package/dist/runtime/server/instagram-embed-image.d.ts +1 -1
- package/dist/runtime/server/instagram-embed.d.ts +1 -1
- package/dist/runtime/server/instagram-embed.js +4 -7
- package/dist/runtime/server/utils/cached-upstream.d.ts +6 -11
- package/dist/runtime/server/utils/cached-upstream.js +94 -23
- package/dist/runtime/server/utils/embed-rewriters.d.ts +3 -5
- package/dist/runtime/server/utils/embed-rewriters.js +8 -8
- package/dist/runtime/server/utils/image-proxy.d.ts +1 -1
- package/dist/runtime/server/utils/image-proxy.js +2 -3
- package/dist/runtime/server/utils/instagram-embed.d.ts +6 -6
- package/dist/runtime/server/utils/instagram-embed.js +18 -19
- package/dist/runtime/server/utils/proxy-url.d.ts +5 -6
- package/dist/runtime/server/utils/proxy-url.js +1 -4
- package/dist/runtime/server/x-embed-image.d.ts +1 -1
- package/dist/runtime/server/x-embed.d.ts +48 -1
- package/dist/runtime/server/x-embed.js +3 -6
- package/dist/runtime/types.d.ts +13 -13
- package/dist/runtime/utils/abortable-promise.js +26 -5
- package/dist/runtime/utils/nuxt-ready-script-trigger.d.ts +3 -0
- package/dist/runtime/utils/nuxt-ready-script-trigger.js +16 -0
- package/dist/runtime/utils.js +21 -32
- package/dist/stats.mjs +13 -0
- package/dist/types-source.mjs +1173 -100
- package/dist/types.d.mts +2 -2
- package/package.json +34 -21
- package/LICENSE.md +0 -9
- package/bin/cli.mjs +0 -2
- package/dist/cli.d.mts +0 -2
- package/dist/cli.d.ts +0 -2
- package/dist/cli.mjs +0 -50
- package/dist/devtools-client/_nuxt/8ltZ0o6d.js +0 -1
- package/dist/devtools-client/_nuxt/B8_EBdhg.js +0 -152
- package/dist/devtools-client/_nuxt/BKdLzFmX.js +0 -3
- package/dist/devtools-client/_nuxt/Bf2Kt1P0.js +0 -28
- package/dist/devtools-client/_nuxt/CC0GKROJ.js +0 -1
- package/dist/devtools-client/_nuxt/CH5oUfNi.js +0 -1
- package/dist/devtools-client/_nuxt/CMXzQxJZ.js +0 -1
- package/dist/devtools-client/_nuxt/CP7c-Js6.js +0 -8
- package/dist/devtools-client/_nuxt/C_v3_O0R.js +0 -6
- package/dist/devtools-client/_nuxt/CxN78VhB.js +0 -1
- package/dist/devtools-client/_nuxt/Dkc7iTdR.js +0 -1
- package/dist/devtools-client/_nuxt/builds/meta/173480db-0944-415b-962d-d619682f0042.json +0 -1
- package/dist/devtools-client/_nuxt/error-404.Bq2JQbJs.css +0 -1
- package/dist/devtools-client/_nuxt/error-500.5E_FOzlc.css +0 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +0 -13
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +0 -15
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +0 -13
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +0 -27
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +0 -34
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +0 -27
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +0 -13
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +0 -11
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +0 -13
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.d.ts +0 -13
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.js +0 -8
- package/dist/runtime/components/GoogleMaps/injectionKeys.d.ts +0 -10
- package/dist/runtime/components/GoogleMaps/injectionKeys.js +0 -2
- package/dist/runtime/composables/useScriptProxyToken.d.ts +0 -12
- package/dist/runtime/composables/useScriptProxyToken.js +0 -4
- package/dist/runtime/npm-script-stub.d.ts +0 -20
- package/dist/runtime/npm-script-stub.js +0 -72
- package/dist/runtime/plugins/proxy-token.server.d.ts +0 -10
- package/dist/runtime/plugins/proxy-token.server.js +0 -17
- package/dist/runtime/server/google-maps-geocode-proxy.d.ts +0 -2
- package/dist/runtime/server/google-maps-geocode-proxy.js +0 -43
- package/dist/runtime/server/google-static-maps-proxy.d.ts +0 -2
- package/dist/runtime/server/google-static-maps-proxy.js +0 -56
- package/dist/runtime/server/utils/proxy-query.d.ts +0 -2
- package/dist/runtime/server/utils/proxy-query.js +0 -10
- package/dist/runtime/server/utils/sign-constants.d.ts +0 -16
- package/dist/runtime/server/utils/sign-constants.js +0 -5
- package/dist/runtime/server/utils/sign.d.ts +0 -101
- package/dist/runtime/server/utils/sign.js +0 -91
- package/dist/runtime/server/utils/withSigning.d.ts +0 -23
- package/dist/runtime/server/utils/withSigning.js +0 -19
- package/dist/runtime/unhead-features.d.ts +0 -1
- package/dist/runtime/unhead-features.js +0 -3
package/dist/types-source.mjs
CHANGED
|
@@ -237,6 +237,38 @@ const types = {
|
|
|
237
237
|
code: "export interface DatabuddyAnalyticsApi {\n /**\n * Track a custom event.\n * @param eventName Name of the event (use snake_case)\n * @param properties Optional event properties\n */\n track: (eventName: string, properties?: Record<string, any>) => Promise<any> | any | void\n\n /**\n * Manually record a page / screen view. Useful for SPA route changes.\n * @param path Optional path to record (defaults to current location)\n * @param properties Optional additional properties for the screen view\n */\n screenView: (path?: string, properties?: Record<string, any>) => void\n\n /**\n * Set properties that will be attached to all future events (e.g. user_id).\n * @param properties Key/value map of properties to attach globally\n */\n setGlobalProperties: (properties: Record<string, any>) => void\n\n /**\n * Track a custom event alias (compatibility helper present on the global)\n * @param eventName Name of the event\n * @param properties Optional event properties\n */\n trackCustomEvent: (eventName: string, properties?: Record<string, any>) => void\n\n /**\n * Clears session and anonymous identifiers (useful on logout).\n */\n clear: () => void\n\n /**\n * Force immediate sending of any queued/batched events.\n */\n flush: () => void\n}"
|
|
238
238
|
}
|
|
239
239
|
],
|
|
240
|
+
deskcrew: [
|
|
241
|
+
{
|
|
242
|
+
name: "DeskCrewOptions",
|
|
243
|
+
kind: "const",
|
|
244
|
+
code: "export const DeskCrewOptions = object({\n /**\n * The DeskCrew public widget key, for example `pub_xxxxxxxx`.\n * Rendered as the `data-key` attribute. Find it in the DeskCrew dashboard under Install.\n * @see https://deskcrew.io/integrations/nuxt\n */\n // minLength(1) rather than a bare string(): envDefaults resolves an unset key to '',\n // which would validate happily and render data-key=\"\" onto the tag, booting a keyless\n // widget that silently talks to no workspace. Failing loudly in dev is the point.\n widgetKey: pipe(string(), minLength(1)),\n /**\n * The workspace board slug, lowercase letters, numbers and dashes only.\n * Rendered as the `data-board` attribute. Required for the help centre, changelog and\n * embedded portal surfaces; the chat launcher works without it.\n */\n board: optional(string()),\n /**\n * Accent colour as a 6 digit hex value, for example `#4f46e5`.\n * Rendered as the `data-color` attribute. Overrides the accent configured on the workspace.\n */\n color: optional(string()),\n /**\n * Which side of the viewport the launcher sits on.\n * Rendered as the `data-position` attribute.\n * @default 'right'\n */\n position: optional(union([literal('left'), literal('right')])),\n /**\n * Greeting text shown in the widget header, overriding the workspace default.\n * Rendered as the `data-greeting` attribute.\n */\n greeting: optional(string()),\n /**\n * Render the workspace logo in the launcher bubble instead of the default icon.\n * Rendered as the `data-launcher` attribute.\n */\n launcher: optional(literal('logo')),\n})"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "DeskCrewIdentity",
|
|
248
|
+
kind: "interface",
|
|
249
|
+
code: "export interface DeskCrewIdentity {\n /** A signed identity token minted by your backend. */\n token: string\n}"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "DeskCrewEmbedOptions",
|
|
253
|
+
kind: "interface",
|
|
254
|
+
code: "export interface DeskCrewEmbedOptions {\n /** Target element, or a selector for it. */\n el: string | HTMLElement\n /** Board slug, defaults to the `board` option. */\n board?: string\n /** Path the portal is mounted under, defaults to the current pathname. */\n basePath?: string\n /** Which portal view to open first. */\n view?: string\n theme?: 'light' | 'dark'\n}"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "DeskCrewChangelogOptions",
|
|
258
|
+
kind: "interface",
|
|
259
|
+
code: "export interface DeskCrewChangelogOptions {\n /** `'inline'` requires `selector`. */\n mode?: 'inline' | 'floating'\n selector?: string\n basePath?: string\n position?: 'left' | 'right'\n}"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: "DeskCrewSurveyOptions",
|
|
263
|
+
kind: "interface",
|
|
264
|
+
code: "export interface DeskCrewSurveyOptions {\n /** Reserved. Surveys are opt in and may only be invoked once per page. */\n [key: string]: unknown\n}"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: "DeskCrewApi",
|
|
268
|
+
kind: "interface",
|
|
269
|
+
code: "export interface DeskCrewApi {\n /** Open the support panel. */\n open: () => void\n /** Close the support panel. */\n close: () => void\n /** Attach a signed identity token to the current session. */\n identify: (identity: DeskCrewIdentity) => void\n /** Mount the embedded support portal into an element. May only be called once per page. */\n embed: (options: DeskCrewEmbedOptions) => void\n /** Mount the changelog widget. May only be called once per page. */\n changelog: (options?: DeskCrewChangelogOptions) => void\n /** Show an eligible survey. Opt in, may only be called once per page. */\n surveys: (options?: DeskCrewSurveyOptions) => void\n /** Report an error to Signals. No-op unless the workspace has error capture enabled. */\n captureError: (error: unknown, context?: Record<string, any>) => void\n}"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
240
272
|
"fathom-analytics": [
|
|
241
273
|
{
|
|
242
274
|
name: "FathomAnalyticsOptions",
|
|
@@ -331,11 +363,6 @@ const types = {
|
|
|
331
363
|
name: "GoogleAnalyticsOptions",
|
|
332
364
|
kind: "const",
|
|
333
365
|
code: "export const GoogleAnalyticsOptions = object({\n /**\n * The GA4 measurement ID.\n * @example 'G-XXXXXXXX'\n * @see https://developers.google.com/analytics/devguides/collection/gtagjs\n */\n id: optional(string()),\n /**\n * Global name for the dataLayer variable.\n * @default 'dataLayer'\n * @see https://developers.google.com/analytics/devguides/collection/gtagjs/setting-up-gtag#rename_the_data_layer\n */\n l: optional(string()),\n /**\n * Default GCMv2 consent state(s) fired as `gtag('consent', 'default', state)` before\n * `gtag('js', ...)`. Pass an array to fire multiple defaults — for example, different\n * defaults per `region` (more specific regions override broader ones at runtime).\n * @see https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced#region-specific-behavior\n */\n defaultConsent: optional(union([gcmConsentState, array(gcmConsentState)])),\n})"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
name: "GoogleAnalyticsConsent",
|
|
337
|
-
kind: "type",
|
|
338
|
-
code: "export type GoogleAnalyticsConsent = GcmConsentApi"
|
|
339
366
|
}
|
|
340
367
|
],
|
|
341
368
|
"google-maps": [
|
|
@@ -347,17 +374,32 @@ const types = {
|
|
|
347
374
|
{
|
|
348
375
|
name: "MapsNamespace",
|
|
349
376
|
kind: "type",
|
|
350
|
-
code: "type MapsNamespace = typeof
|
|
377
|
+
code: "type MapsNamespace = typeof google.maps"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: "GoogleMapsWindow",
|
|
381
|
+
kind: "type",
|
|
382
|
+
code: "type GoogleMapsWindow = Window & {\n google: {\n maps: MapsNamespace & { __ib__?: () => void }\n }\n}"
|
|
351
383
|
},
|
|
352
384
|
{
|
|
353
385
|
name: "GoogleMapsApi",
|
|
354
386
|
kind: "interface",
|
|
355
|
-
code: "export interface GoogleMapsApi {\n maps:
|
|
387
|
+
code: "export interface GoogleMapsApi {\n maps: MapsNamespace\n}"
|
|
356
388
|
},
|
|
357
389
|
{
|
|
358
390
|
name: "ScriptGoogleMapsProps",
|
|
359
391
|
kind: "interface",
|
|
360
|
-
code: "interface ScriptGoogleMapsProps
|
|
392
|
+
code: "interface ScriptGoogleMapsProps {\n /**\n * Defines the trigger event to load the script.\n * @default ['mouseenter', 'mouseover', 'mousedown']\n */\n trigger?: ElementScriptTrigger\n /**\n * Defines the Google Maps API key. Must have access to the Static Maps API as well.\n */\n apiKey?: string\n /**\n * Options for the map.\n */\n mapOptions?: google.maps.MapOptions\n /**\n * Defines the region of the map.\n */\n region?: string\n /**\n * Defines the language of the map.\n */\n language?: string\n /**\n * Defines the version of google maps js API.\n */\n version?: string\n /**\n * Defines the width of the map.\n * @default 640\n */\n width?: number | string\n /**\n * Defines the height of the map.\n * @default 400\n */\n height?: number | string\n /**\n * Customize the root element attributes.\n */\n rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>\n /**\n * Map IDs for light and dark color modes.\n * When provided, the map will automatically switch styles based on color mode.\n * Requires @nuxtjs/color-mode or manual colorMode prop.\n */\n mapIds?: { light?: string, dark?: string }\n /**\n * Manual color mode control. When provided, overrides auto-detection from @nuxtjs/color-mode.\n * Accepts 'light' or 'dark'.\n */\n colorMode?: 'light' | 'dark'\n}"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: "ScriptGoogleMapsEvents",
|
|
396
|
+
kind: "interface",
|
|
397
|
+
code: "interface ScriptGoogleMapsEvents {\n ready: ScriptGoogleMapsExpose\n error: -\n}"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: "ScriptGoogleMapsSlots",
|
|
401
|
+
kind: "interface",
|
|
402
|
+
code: "interface ScriptGoogleMapsSlots {\n default?: () => any\n loading?: () => any\n awaitingLoad?: () => any\n error?: () => any\n placeholder?: () => any\n}"
|
|
361
403
|
},
|
|
362
404
|
{
|
|
363
405
|
name: "ScriptGoogleMapsCircleProps",
|
|
@@ -379,11 +421,6 @@ const types = {
|
|
|
379
421
|
kind: "interface",
|
|
380
422
|
code: "interface ScriptGoogleMapsGeoJsonEvents {\n click: google.maps.Data.MouseEvent\n contextmenu: google.maps.Data.MouseEvent\n dblclick: google.maps.Data.MouseEvent\n mousedown: google.maps.Data.MouseEvent\n mousemove: google.maps.Data.MouseEvent\n mouseout: google.maps.Data.MouseEvent\n mouseover: google.maps.Data.MouseEvent\n mouseup: google.maps.Data.MouseEvent\n addfeature: google.maps.Data.AddFeatureEvent\n removefeature: google.maps.Data.RemoveFeatureEvent\n setgeometry: google.maps.Data.SetGeometryEvent\n setproperty: google.maps.Data.SetPropertyEvent\n removeproperty: google.maps.Data.RemovePropertyEvent\n}"
|
|
381
423
|
},
|
|
382
|
-
{
|
|
383
|
-
name: "ScriptGoogleMapsHeatmapLayerProps",
|
|
384
|
-
kind: "interface",
|
|
385
|
-
code: "interface ScriptGoogleMapsHeatmapLayerProps {\n /**\n * Configuration options for the heatmap layer visualization.\n * @deprecated Google deprecated the Maps JavaScript API `HeatmapLayer` (May 2025) and removed it in v3.65 (May 2026). Consider [deck.gl HeatmapLayer](https://deck.gl/docs/api-reference/aggregation-layers/heatmap-layer) instead.\n * @see https://developers.google.com/maps/documentation/javascript/reference/visualization#HeatmapLayerOptions\n */\n options?: Omit<HeatmapLayerOptions, 'map'>\n}"
|
|
386
|
-
},
|
|
387
424
|
{
|
|
388
425
|
name: "ScriptGoogleMapsInfoWindowProps",
|
|
389
426
|
kind: "interface",
|
|
@@ -432,7 +469,12 @@ const types = {
|
|
|
432
469
|
{
|
|
433
470
|
name: "ScriptGoogleMapsOverlayViewProps",
|
|
434
471
|
kind: "interface",
|
|
435
|
-
code: "interface ScriptGoogleMapsOverlayViewProps
|
|
472
|
+
code: "interface ScriptGoogleMapsOverlayViewProps {\n /**\n * Geographic position for the overlay. Falls back to parent marker position if omitted.\n *\n * Accepts either a plain `LatLngLiteral` (`{ lat, lng }`) or a\n * `google.maps.LatLng` instance.\n * @see https://developers.google.com/maps/documentation/javascript/reference/overlay-view#OverlayView\n */\n position?: google.maps.LatLng | google.maps.LatLngLiteral\n /**\n * Initial open state for the uncontrolled mode (when `v-model:open` is not\n * bound). When omitted, the overlay opens on mount, matching v0 behaviour.\n *\n * Has no effect when `v-model:open` is used; pass an initial value to the\n * bound ref instead.\n * @default true\n */\n defaultOpen?: boolean\n /**\n * Anchor point of the overlay relative to its position.\n * @default 'bottom-center'\n */\n anchor?: ScriptGoogleMapsOverlayAnchor\n /**\n * Pixel offset from the anchor position.\n */\n offset?: { x: number, y: number }\n /**\n * The map pane on which to render the overlay.\n * @default 'floatPane'\n * @see https://developers.google.com/maps/documentation/javascript/reference/overlay-view#MapPanes\n */\n pane?: ScriptGoogleMapsOverlayPane\n /**\n * CSS z-index for the overlay element.\n */\n zIndex?: number\n /**\n * Whether to block map click and gesture events from passing through the overlay.\n * @default true\n */\n blockMapInteraction?: boolean\n /**\n * Pan the map so the overlay is fully visible when opened, similar to InfoWindow behavior.\n * Set to `true` for default 40px padding, or a number for custom padding.\n * @default true\n */\n panOnOpen?: boolean | number\n /**\n * Automatically hide the overlay when its parent marker joins a cluster (on zoom out).\n * Only applies when nested inside a ScriptGoogleMapsMarkerClusterer.\n * @default true\n */\n hideWhenClustered?: boolean\n}"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: "ScriptGoogleMapsOverlayViewSlots",
|
|
476
|
+
kind: "interface",
|
|
477
|
+
code: "interface ScriptGoogleMapsOverlayViewSlots {\n default?: () => any\n}"
|
|
436
478
|
},
|
|
437
479
|
{
|
|
438
480
|
name: "ScriptGoogleMapsPolygonProps",
|
|
@@ -574,11 +616,6 @@ const types = {
|
|
|
574
616
|
name: "GoogleTagManagerOptions",
|
|
575
617
|
kind: "const",
|
|
576
618
|
code: "export const GoogleTagManagerOptions = object({\n /**\n * GTM container ID (format: GTM-XXXXXX)\n * @see https://developers.google.com/tag-platform/tag-manager/web#install-the-container\n */\n id: string(),\n\n /**\n * Optional dataLayer variable name\n * @default 'dataLayer'\n * @see https://developers.google.com/tag-platform/tag-manager/web/datalayer#rename_the_data_layer\n */\n l: optional(string()),\n\n /**\n * Authentication token for environment-specific container versions\n * @see https://support.google.com/tagmanager/answer/6328337\n */\n auth: optional(string()),\n\n /**\n * Preview environment name\n * @see https://support.google.com/tagmanager/answer/6328337\n */\n preview: optional(string()),\n\n /** Forces GTM cookies to take precedence when true */\n cookiesWin: optional(union([boolean(), literal('x')])),\n\n /**\n * Enables debug mode when true\n * @see https://support.google.com/tagmanager/answer/6107056\n */\n debug: optional(union([boolean(), literal('x')])),\n\n /**\n * No Personal Advertising - disables advertising features when true\n * @see https://developers.google.com/tag-platform/tag-manager/templates/consent-apis\n */\n npa: optional(union([boolean(), literal('1')])),\n\n /** Custom dataLayer name (alternative to \"l\" property) */\n dataLayer: optional(string()),\n\n /**\n * Environment name for environment-specific container\n * @see https://support.google.com/tagmanager/answer/6328337\n */\n envName: optional(string()),\n\n /** Referrer policy for analytics requests */\n authReferrerPolicy: optional(string()),\n\n /**\n * Default GCMv2 consent state(s) fired as `['consent','default', state]` onto the dataLayer\n * before the `gtm.js` event. Pass an array to fire multiple defaults — for example,\n * different defaults per `region` (more specific regions override broader ones at runtime).\n * @see https://developers.google.com/tag-platform/tag-manager/templates/consent-apis\n * @see https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced#region-specific-behavior\n */\n defaultConsent: optional(union([gcmConsentState, array(gcmConsentState)])),\n})"
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
name: "GoogleTagManagerConsent",
|
|
580
|
-
kind: "type",
|
|
581
|
-
code: "export type GoogleTagManagerConsent = GcmConsentApi"
|
|
582
619
|
}
|
|
583
620
|
],
|
|
584
621
|
gravatar: [
|
|
@@ -649,6 +686,83 @@ const types = {
|
|
|
649
686
|
code: "interface ScriptIntercomSlots {\n default?: (props: { ready: boolean }) => any\n awaitingLoad?: () => any\n loading?: () => any\n error?: () => any\n}"
|
|
650
687
|
}
|
|
651
688
|
],
|
|
689
|
+
leaflet: [
|
|
690
|
+
{
|
|
691
|
+
name: "LeafletOptions",
|
|
692
|
+
kind: "const",
|
|
693
|
+
code: "export const LeafletOptions = object({\n /**\n * Inject the Leaflet 1.9.4 styles and default marker images when the script\n * begins loading. Disable this when supplying your own Leaflet stylesheet.\n * @default true\n */\n injectStyles: optional(boolean()),\n})"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
name: "LeafletApi",
|
|
697
|
+
kind: "interface",
|
|
698
|
+
code: "export interface LeafletApi {\n L: typeof Leaflet\n}"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
name: "ScriptLeafletGeoJsonProps",
|
|
702
|
+
kind: "interface",
|
|
703
|
+
code: "interface ScriptLeafletGeoJsonProps {\n /** GeoJSON object, feature, or feature collection. Replace it to update the layer. */\n data: GeoJsonObject | GeoJsonObject[]\n /** Options passed to `L.geoJSON`. */\n options?: Leaflet.GeoJSONOptions\n}"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
name: "ScriptLeafletGeoJsonEvents",
|
|
707
|
+
kind: "interface",
|
|
708
|
+
code: "interface ScriptLeafletGeoJsonEvents {\n click: Leaflet.LeafletMouseEvent\n dblclick: Leaflet.LeafletMouseEvent\n mousedown: Leaflet.LeafletMouseEvent\n mouseover: Leaflet.LeafletMouseEvent\n mouseout: Leaflet.LeafletMouseEvent\n contextmenu: Leaflet.LeafletMouseEvent\n layeradd: Leaflet.LayerEvent\n layerremove: Leaflet.LayerEvent\n}"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
name: "ScriptLeafletMapProps",
|
|
712
|
+
kind: "interface",
|
|
713
|
+
code: "interface ScriptLeafletMapProps {\n /**\n * Defines when the Leaflet script loads.\n * @default 'visible'\n */\n trigger?: ElementScriptTrigger\n /** Initial and reactively controlled map center. */\n center: Leaflet.LatLngExpression\n /** Initial and reactively controlled zoom level. @default 13 */\n zoom?: number\n /** Options passed to `L.map`. `center` and `zoom` use their dedicated props. */\n options?: Leaflet.MapOptions\n /** Inject Leaflet's styles and embedded default marker images. @default true */\n injectStyles?: boolean\n /** Width reserved before the map loads. @default 640 */\n width?: number | string\n /** Height reserved before the map loads. @default 400 */\n height?: number | string\n /** Accessible name for an interactive map. @default 'Interactive map' */\n ariaLabel?: string\n /** Disable map input and remove it from the accessibility tree when decorative. @default true */\n interactive?: boolean\n /** Attributes applied to the outer layout container. */\n rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>\n}"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
name: "ScriptLeafletMapEvents",
|
|
717
|
+
kind: "interface",
|
|
718
|
+
code: "interface ScriptLeafletMapEvents {\n ready: ScriptLeafletMapExpose\n error: Error\n click: Leaflet.LeafletMouseEvent\n move: Leaflet.LeafletEvent\n moveend: Leaflet.LeafletEvent\n zoom: Leaflet.LeafletEvent\n zoomend: Leaflet.LeafletEvent\n update:center: Leaflet.LatLng\n update:zoom: number\n}"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: "ScriptLeafletMapSlots",
|
|
722
|
+
kind: "interface",
|
|
723
|
+
code: "interface ScriptLeafletMapSlots {\n default?: () => any\n loading?: () => any\n awaitingLoad?: () => any\n error?: (props: { error: Error }) => any\n placeholder?: () => any\n}"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
name: "ScriptLeafletMarkerProps",
|
|
727
|
+
kind: "interface",
|
|
728
|
+
code: "interface ScriptLeafletMarkerProps {\n /** Reactive marker position. */\n position: Leaflet.LatLngExpression\n /** Unique text alternative for the marker icon. */\n alt?: string\n /** Tooltip text for the marker icon. */\n title?: string\n /** Options passed to `L.marker`. */\n options?: Leaflet.MarkerOptions\n}"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
name: "ScriptLeafletMarkerEvents",
|
|
732
|
+
kind: "interface",
|
|
733
|
+
code: "interface ScriptLeafletMarkerEvents {\n click: Leaflet.LeafletMouseEvent\n dblclick: Leaflet.LeafletMouseEvent\n mousedown: Leaflet.LeafletMouseEvent\n mouseover: Leaflet.LeafletMouseEvent\n mouseout: Leaflet.LeafletMouseEvent\n contextmenu: Leaflet.LeafletMouseEvent\n dragstart: Leaflet.LeafletEvent\n drag: Leaflet.LeafletEvent\n dragend: Leaflet.DragEndEvent\n move: Leaflet.LeafletEvent\n}"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: "ScriptLeafletMarkerSlots",
|
|
737
|
+
kind: "interface",
|
|
738
|
+
code: "interface ScriptLeafletMarkerSlots {\n default?: () => any\n}"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
name: "ScriptLeafletPopupProps",
|
|
742
|
+
kind: "interface",
|
|
743
|
+
code: "interface ScriptLeafletPopupProps {\n /** Position for a standalone popup. Omit when nested inside a marker. */\n position?: Leaflet.LatLngExpression\n /** Whether the popup is open. @default false */\n open?: boolean\n /** Options passed to `L.popup`. */\n options?: Leaflet.PopupOptions\n}"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
name: "ScriptLeafletPopupEvents",
|
|
747
|
+
kind: "interface",
|
|
748
|
+
code: "interface ScriptLeafletPopupEvents {\n open: Leaflet.LeafletEvent\n close: Leaflet.LeafletEvent\n}"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
name: "ScriptLeafletPopupSlots",
|
|
752
|
+
kind: "interface",
|
|
753
|
+
code: "interface ScriptLeafletPopupSlots {\n default?: () => any\n}"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
name: "ScriptLeafletTileLayerProps",
|
|
757
|
+
kind: "interface",
|
|
758
|
+
code: "interface ScriptLeafletTileLayerProps {\n /** Tile URL template, for example `https://tile.openstreetmap.org/{z}/{x}/{y}.png`. */\n url: string\n /** Tile layer options. Include the provider's required `attribution`. */\n options?: Leaflet.TileLayerOptions\n}"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
name: "ScriptLeafletTileLayerEvents",
|
|
762
|
+
kind: "interface",
|
|
763
|
+
code: "interface ScriptLeafletTileLayerEvents {\n loading: Leaflet.LeafletEvent\n load: Leaflet.LeafletEvent\n tileloadstart: Leaflet.TileEvent\n tileload: Leaflet.TileEvent\n tileabort: Leaflet.TileEvent\n tileerror: Leaflet.TileErrorEvent\n}"
|
|
764
|
+
}
|
|
765
|
+
],
|
|
652
766
|
"lemon-squeezy": [
|
|
653
767
|
{
|
|
654
768
|
name: "LemonSqueezyEventPayload",
|
|
@@ -703,11 +817,78 @@ const types = {
|
|
|
703
817
|
code: "export interface LinkedInInsightApi {\n lintrk: LintrkFns & { q?: unknown[] }\n}"
|
|
704
818
|
}
|
|
705
819
|
],
|
|
820
|
+
maplibre: [
|
|
821
|
+
{
|
|
822
|
+
name: "MapLibreOptions",
|
|
823
|
+
kind: "const",
|
|
824
|
+
code: "export const MapLibreOptions = object({\n /**\n * Inject the MapLibre GL JS 5.24.0 stylesheet when the script begins\n * loading. Disable this when supplying the stylesheet through Nuxt.\n * @default true\n */\n injectStyles: optional(boolean()),\n /**\n * Stylesheet URL used when `injectStyles` is enabled.\n * @default 'https://unpkg.com/maplibre-gl@5.24.0/dist/maplibre-gl.css'\n */\n stylesheetUrl: optional(string()),\n /**\n * Worker URL for the CSP-compatible MapLibre build. Pair this with a custom\n * `scriptInput.src` that loads `maplibre-gl-csp.js`.\n */\n workerUrl: optional(string()),\n})"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
name: "MapLibreApi",
|
|
828
|
+
kind: "interface",
|
|
829
|
+
code: "export interface MapLibreApi {\n maplibregl: typeof MapLibre\n}"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
name: "ScriptMapLibreGeoJsonProps",
|
|
833
|
+
kind: "interface",
|
|
834
|
+
code: "interface ScriptMapLibreGeoJsonProps {\n /** MapLibre source ID. Changing it rebuilds the owned source and layers. */\n sourceId: string\n /** Inline GeoJSON data or a URL returning GeoJSON. */\n data: GeoJSON | string\n /** GeoJSON source options. `type` and `data` are supplied by the component. */\n sourceOptions?: Omit<MapLibreGl.GeoJSONSourceSpecification, 'type' | 'data'>\n /** Style layers backed by this source. */\n layers: ScriptMapLibreGeoJsonLayer[]\n /** Existing layer ID before which the layers are inserted. */\n beforeId?: string\n}"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
name: "ScriptMapLibreMapProps",
|
|
838
|
+
kind: "interface",
|
|
839
|
+
code: "interface ScriptMapLibreMapProps {\n /**\n * Defines when the MapLibre script loads.\n * @default 'visible'\n */\n trigger?: ElementScriptTrigger\n /** MapLibre style URL or inline style specification. */\n mapStyle: string | MapLibre.StyleSpecification\n /** Initial and reactively controlled map center. */\n center: MapLibre.LngLatLike\n /** Initial and reactively controlled zoom level. @default 12 */\n zoom?: number\n /** Initial and reactively controlled bearing in degrees. @default 0 */\n bearing?: number\n /** Initial and reactively controlled pitch in degrees. @default 0 */\n pitch?: number\n /** Options passed to `new maplibregl.Map()`. Dedicated props take precedence. */\n options?: Omit<MapLibre.MapOptions, 'container'>\n /** Inject MapLibre's stylesheet when the script begins loading. @default true */\n injectStyles?: boolean\n /** Custom MapLibre stylesheet URL. */\n stylesheetUrl?: string\n /** Worker URL used with MapLibre's CSP-compatible build. */\n workerUrl?: string\n /** Width reserved before the map loads. @default 640 */\n width?: number | string\n /** Height reserved before the map loads. @default 400 */\n height?: number | string\n /** Accessible name for an interactive map. @default 'Interactive map' */\n ariaLabel?: string\n /** Disable map input and remove it from the accessibility tree when decorative. @default true */\n interactive?: boolean\n /** Attributes applied to the outer layout container. */\n rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>\n}"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
name: "ScriptMapLibreMapEvents",
|
|
843
|
+
kind: "interface",
|
|
844
|
+
code: "interface ScriptMapLibreMapEvents {\n ready: ScriptMapLibreMapExpose\n error: Error\n click: MapLibre.MapEventType['click']\n move: MapLibre.MapEventType['move']\n moveend: MapLibre.MapEventType['moveend']\n zoom: MapLibre.MapEventType['zoom']\n zoomend: MapLibre.MapEventType['zoomend']\n rotate: MapLibre.MapEventType['rotate']\n rotateend: MapLibre.MapEventType['rotateend']\n pitch: MapLibre.MapEventType['pitch']\n pitchend: MapLibre.MapEventType['pitchend']\n update:center: MapLibre.LngLat\n update:zoom: number\n update:bearing: number\n update:pitch: number\n}"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: "ScriptMapLibreMapSlots",
|
|
848
|
+
kind: "interface",
|
|
849
|
+
code: "interface ScriptMapLibreMapSlots {\n default?: () => any\n loading?: () => any\n awaitingLoad?: () => any\n error?: (props: { error: Error }) => any\n placeholder?: () => any\n description?: () => any\n}"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
name: "ScriptMapLibreMarkerProps",
|
|
853
|
+
kind: "interface",
|
|
854
|
+
code: "interface ScriptMapLibreMarkerProps {\n /** Reactive marker position in `[longitude, latitude]` order. */\n position: MapLibre.LngLatLike\n /** Accessible name for the marker element. */\n ariaLabel?: string\n /** Tooltip text for the marker element. */\n title?: string\n /** Options passed to `new maplibregl.Marker()`. Options with public setters also update reactively. */\n options?: MapLibre.MarkerOptions\n}"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
name: "ScriptMapLibreMarkerEvents",
|
|
858
|
+
kind: "interface",
|
|
859
|
+
code: "interface ScriptMapLibreMarkerEvents {\n click: MouseEvent\n dragstart: MapLibre.Event\n drag: MapLibre.Event\n dragend: MapLibre.Event\n}"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
name: "ScriptMapLibreMarkerSlots",
|
|
863
|
+
kind: "interface",
|
|
864
|
+
code: "interface ScriptMapLibreMarkerSlots {\n default?: () => any\n}"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
name: "ScriptMapLibreNavigationControlProps",
|
|
868
|
+
kind: "interface",
|
|
869
|
+
code: "interface ScriptMapLibreNavigationControlProps {\n /** Position of the navigation control. */\n position?: MapLibre.ControlPosition\n /** Options passed to `new maplibregl.NavigationControl()`. */\n options?: MapLibre.NavigationControlOptions\n}"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: "ScriptMapLibrePopupProps",
|
|
873
|
+
kind: "interface",
|
|
874
|
+
code: "interface ScriptMapLibrePopupProps {\n /** Position for a standalone popup. Omit when nested inside a marker. */\n position?: MapLibre.LngLatLike\n /** Whether the popup is open. @default false */\n open?: boolean\n /** Options passed to `new maplibregl.Popup()`. Options with public setters also update reactively. */\n options?: MapLibre.PopupOptions\n}"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
name: "ScriptMapLibrePopupEvents",
|
|
878
|
+
kind: "interface",
|
|
879
|
+
code: "interface ScriptMapLibrePopupEvents {\n open: MapLibre.Event\n close: MapLibre.Event\n}"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
name: "ScriptMapLibrePopupSlots",
|
|
883
|
+
kind: "interface",
|
|
884
|
+
code: "interface ScriptMapLibrePopupSlots {\n default?: () => any\n}"
|
|
885
|
+
}
|
|
886
|
+
],
|
|
706
887
|
"matomo-analytics": [
|
|
707
888
|
{
|
|
708
889
|
name: "MatomoAnalyticsOptions",
|
|
709
890
|
kind: "const",
|
|
710
|
-
code: "export const MatomoAnalyticsOptions = object({\n /**\n * The URL of your self-hosted Matomo instance.\n * Either `matomoUrl` or `cloudId` is required.\n * @example 'https://matomo.example.com'\n * @see https://developer.matomo.org/guides/tracking-javascript-guide\n */\n matomoUrl: optional(string()),\n /**\n * Your Matomo site ID.\n * @default '1'\n */\n siteId: optional(union([string(), number()])),\n /**\n * Your Matomo Cloud ID (the subdomain portion of your `*.matomo.cloud` URL).\n * Either `matomoUrl` or `cloudId` is required.\n * @example 'mysite.matomo.cloud'\n */\n cloudId: optional(string()),\n /**\n * A custom tracker URL. Overrides the default tracker endpoint derived from `matomoUrl` or `cloudId`.\n */\n trackerUrl: optional(string()),\n /**\n *
|
|
891
|
+
code: "export const MatomoAnalyticsOptions = object({\n /**\n * The URL of your self-hosted Matomo instance.\n * Either `matomoUrl` or `cloudId` is required.\n * @example 'https://matomo.example.com'\n * @see https://developer.matomo.org/guides/tracking-javascript-guide\n */\n matomoUrl: optional(string()),\n /**\n * Your Matomo site ID.\n * @default '1'\n */\n siteId: optional(union([string(), number()])),\n /**\n * Your Matomo Cloud ID (the subdomain portion of your `*.matomo.cloud` URL).\n * Either `matomoUrl` or `cloudId` is required.\n * @example 'mysite.matomo.cloud'\n */\n cloudId: optional(string()),\n /**\n * A custom tracker URL. Overrides the default tracker endpoint derived from `matomoUrl` or `cloudId`.\n */\n trackerUrl: optional(string()),\n /**\n * Enable download and outlink tracking.\n */\n enableLinkTracking: optional(boolean()),\n /**\n * Disable all tracking cookies for cookieless analytics.\n */\n disableCookies: optional(boolean()),\n /**\n * Automatically track page views on route change.\n * @default true\n */\n watch: optional(boolean()),\n /**\n * Default tracking-consent state applied BEFORE the tracker is initialised.\n * - `'required'` — call `requireConsent` without granting (user must opt in later).\n * - `'given'` — call `requireConsent` then `setConsentGiven`.\n * - `'not-required'` — no consent gating (default Matomo behaviour).\n * @see https://developer.matomo.org/guides/tracking-consent\n */\n defaultConsent: optional(union([literal('required'), literal('given'), literal('not-required')])),\n})"
|
|
711
892
|
},
|
|
712
893
|
{
|
|
713
894
|
name: "MatomoAnalyticsApi",
|
|
@@ -837,12 +1018,12 @@ const types = {
|
|
|
837
1018
|
{
|
|
838
1019
|
name: "PlausibleAnalyticsOptions",
|
|
839
1020
|
kind: "interface",
|
|
840
|
-
code: "export interface PlausibleAnalyticsOptions {\n /**\n * Unique script ID for your site
|
|
1021
|
+
code: "export interface PlausibleAnalyticsOptions {\n /**\n * Unique script ID for your site.\n * Get this from your Plausible dashboard under Site Installation\n *\n * Extract it from your Plausible script URL:\n * ```\n * <script src=\"https://plausible.io/js/pa-gYyxvZhkMzdzXBAtSeSNz.js\"></script>\n * ^^^^^^^^^^^^^^^^^^^^^^^^^^\n * scriptId: 'gYyxvZhkMzdzXBAtSeSNz'\n * ```\n * @example 'gYyxvZhkMzdzXBAtSeSNz'\n */\n scriptId: string\n /** Custom properties to track with every pageview */\n customProperties?: Record<string, any>\n /** Custom tracking endpoint URL */\n endpoint?: string\n /** Configure file download tracking */\n fileDownloads?: {\n /** File extensions to track (default: pdf, xlsx, docx, txt, rtf, csv, exe, key, pps, ppt, pptx, 7z, pkg, rar, gz, zip, avi, mov, mp4, mpeg, wmv, midi, mp3, wav, wma, dmg) */\n fileExtensions?: string[]\n }\n /** Enable hash-based routing for single-page apps */\n hashBasedRouting?: boolean\n /** Set to false to manually trigger pageviews */\n autoCapturePageviews?: boolean\n /** Enable tracking on localhost */\n captureOnLocalhost?: boolean\n /** Enable form submission tracking */\n trackForms?: boolean\n}"
|
|
841
1022
|
},
|
|
842
1023
|
{
|
|
843
1024
|
name: "PlausibleInitOptions",
|
|
844
1025
|
kind: "interface",
|
|
845
|
-
code: "export interface PlausibleInitOptions {\n customProperties?: Record<string, any>\n endpoint?: string\n fileDownloads?: {\n fileExtensions?: string[]\n }\n hashBasedRouting?: boolean\n autoCapturePageviews?: boolean\n captureOnLocalhost?: boolean\n}"
|
|
1026
|
+
code: "export interface PlausibleInitOptions {\n customProperties?: Record<string, any>\n endpoint?: string\n fileDownloads?: {\n fileExtensions?: string[]\n }\n hashBasedRouting?: boolean\n autoCapturePageviews?: boolean\n captureOnLocalhost?: boolean\n trackForms?: boolean\n}"
|
|
846
1027
|
},
|
|
847
1028
|
{
|
|
848
1029
|
name: "PlausibleFunction",
|
|
@@ -903,7 +1084,7 @@ const types = {
|
|
|
903
1084
|
{
|
|
904
1085
|
name: "RybbitAnalyticsApi",
|
|
905
1086
|
kind: "interface",
|
|
906
|
-
code: "export interface RybbitAnalyticsApi {\n /**\n * Tracks a page view\n */\n pageview: () => void\n\n /**\n * Tracks a custom event\n * @param name Name of the event\n * @param properties Optional properties for the event\n */\n event: (name: string, properties?: Record<string, any>) => void\n\n /**\n * Sets a custom user ID for tracking logged-in users\n * @param userId The user ID to set (will be stored in localStorage)\n */\n identify: (userId: string) => void\n\n /**\n * Clears the stored user ID\n */\n clearUserId: () => void\n\n /**\n * Gets the currently set user ID\n * @returns The current user ID or null if not set\n */\n getUserId: () => string | null\n
|
|
1087
|
+
code: "export interface RybbitAnalyticsApi {\n /**\n * Tracks a page view\n */\n pageview: () => void\n\n /**\n * Tracks a custom event\n * @param name Name of the event\n * @param properties Optional properties for the event\n */\n event: (name: string, properties?: Record<string, any>) => void\n\n /**\n * Sets a custom user ID for tracking logged-in users\n * @param userId The user ID to set (will be stored in localStorage)\n */\n identify: (userId: string) => void\n\n /**\n * Clears the stored user ID\n */\n clearUserId: () => void\n\n /**\n * Gets the currently set user ID\n * @returns The current user ID or null if not set\n */\n getUserId: () => string | null\n}"
|
|
907
1088
|
},
|
|
908
1089
|
{
|
|
909
1090
|
name: "RybbitQueueState",
|
|
@@ -1030,15 +1211,10 @@ const types = {
|
|
|
1030
1211
|
kind: "interface",
|
|
1031
1212
|
code: "export interface TtqInstance {\n /** Track a page view. */\n page: () => void\n /** Track a standard or custom conversion event. */\n track: (event: StandardEvents | (string & {}), properties?: EventProperties, options?: TrackOptions) => void\n /** Associate advanced-matching identifiers with the current user. */\n identify: (properties: IdentifyProperties) => void\n /** Opt user in to tracking. Queued before the script loads; live once `events.js` binds. */\n grantConsent: () => void\n /** Opt user out of tracking. Queued before the script loads; live once `events.js` binds. */\n revokeConsent: () => void\n /** Defer consent until an explicit grant/revoke. Queued before the script loads; live once `events.js` binds. */\n holdConsent: () => void\n enableCookie: () => void\n disableCookie: () => void\n}"
|
|
1032
1213
|
},
|
|
1033
|
-
{
|
|
1034
|
-
name: "TtqCallable",
|
|
1035
|
-
kind: "type",
|
|
1036
|
-
code: "type TtqCallable\n = ((cmd: 'track', event: StandardEvents | (string & {}), properties?: EventProperties, options?: TrackOptions) => void)\n & ((cmd: 'page') => void)\n & ((cmd: 'identify', properties: IdentifyProperties) => void)\n & ((cmd: (string & {}), ...args: any[]) => void)"
|
|
1037
|
-
},
|
|
1038
1214
|
{
|
|
1039
1215
|
name: "Ttq",
|
|
1040
1216
|
kind: "type",
|
|
1041
|
-
code: "export type Ttq =
|
|
1217
|
+
code: "export type Ttq = TtqInstance & {\n /** Resolve the per-pixel method bag for a specific pixel id. */\n instance: (id: string) => TtqInstance\n}"
|
|
1042
1218
|
},
|
|
1043
1219
|
{
|
|
1044
1220
|
name: "TikTokPixelApi",
|
|
@@ -1207,7 +1383,7 @@ const types = {
|
|
|
1207
1383
|
{
|
|
1208
1384
|
name: "YouTubePlayerApi",
|
|
1209
1385
|
kind: "interface",
|
|
1210
|
-
code: "export interface YouTubePlayerApi {\n YT:
|
|
1386
|
+
code: "export interface YouTubePlayerApi {\n YT: {\n Player: YT.Player\n PlayerState: YT.PlayerState\n get: (k: string) => any\n loaded: 0 | 1\n loading: 0 | 1\n ready: (f: () => void) => void\n scan: () => void\n setConfig: (config: YT.PlayerOptions) => void\n subscribe: <EventName extends keyof YT.Events>(\n event: EventName,\n listener: YT.Events[EventName],\n context?: any,\n ) => void\n unsubscribe: <EventName extends keyof YT.Events>(\n event: EventName,\n listener: YT.Events[EventName],\n context?: any,\n ) => void\n }\n}"
|
|
1211
1387
|
},
|
|
1212
1388
|
{
|
|
1213
1389
|
name: "ScriptYouTubePlayerProps",
|
|
@@ -1291,6 +1467,37 @@ const schemaFields = {
|
|
|
1291
1467
|
required: false
|
|
1292
1468
|
}
|
|
1293
1469
|
],
|
|
1470
|
+
LeafletOptions: [
|
|
1471
|
+
{
|
|
1472
|
+
name: "injectStyles",
|
|
1473
|
+
type: "boolean",
|
|
1474
|
+
required: false,
|
|
1475
|
+
description: "Inject the Leaflet 1.9.4 styles and default marker images when the script begins loading. Disable this when supplying your own Leaflet stylesheet.",
|
|
1476
|
+
defaultValue: "true"
|
|
1477
|
+
}
|
|
1478
|
+
],
|
|
1479
|
+
MapLibreOptions: [
|
|
1480
|
+
{
|
|
1481
|
+
name: "injectStyles",
|
|
1482
|
+
type: "boolean",
|
|
1483
|
+
required: false,
|
|
1484
|
+
description: "Inject the MapLibre GL JS 5.24.0 stylesheet when the script begins loading. Disable this when supplying the stylesheet through Nuxt.",
|
|
1485
|
+
defaultValue: "true"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
name: "stylesheetUrl",
|
|
1489
|
+
type: "string",
|
|
1490
|
+
required: false,
|
|
1491
|
+
description: "Stylesheet URL used when `injectStyles` is enabled.",
|
|
1492
|
+
defaultValue: "'https://unpkg.com/maplibre-gl@5.24.0/dist/maplibre-gl.css'"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
name: "workerUrl",
|
|
1496
|
+
type: "string",
|
|
1497
|
+
required: false,
|
|
1498
|
+
description: "Worker URL for the CSP-compatible MapLibre build. Pair this with a custom `scriptInput.src` that loads `maplibre-gl-csp.js`."
|
|
1499
|
+
}
|
|
1500
|
+
],
|
|
1294
1501
|
AhrefsAnalyticsOptions: [
|
|
1295
1502
|
{
|
|
1296
1503
|
name: "key",
|
|
@@ -1587,6 +1794,45 @@ const schemaFields = {
|
|
|
1587
1794
|
description: "Enable error tracking via observability."
|
|
1588
1795
|
}
|
|
1589
1796
|
],
|
|
1797
|
+
DeskCrewOptions: [
|
|
1798
|
+
{
|
|
1799
|
+
name: "widgetKey",
|
|
1800
|
+
type: "string",
|
|
1801
|
+
required: true,
|
|
1802
|
+
description: "The DeskCrew public widget key, for example `pub_xxxxxxxx`. Rendered as the `data-key` attribute. Find it in the DeskCrew dashboard under Install."
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
name: "board",
|
|
1806
|
+
type: "string",
|
|
1807
|
+
required: false,
|
|
1808
|
+
description: "The workspace board slug, lowercase letters, numbers and dashes only. Rendered as the `data-board` attribute. Required for the help centre, changelog and embedded portal surfaces; the chat launcher works without it."
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
name: "color",
|
|
1812
|
+
type: "string",
|
|
1813
|
+
required: false,
|
|
1814
|
+
description: "Accent colour as a 6 digit hex value, for example `#4f46e5`. Rendered as the `data-color` attribute. Overrides the accent configured on the workspace."
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
name: "position",
|
|
1818
|
+
type: "'left' | 'right'",
|
|
1819
|
+
required: false,
|
|
1820
|
+
description: "Which side of the viewport the launcher sits on. Rendered as the `data-position` attribute.",
|
|
1821
|
+
defaultValue: "'right'"
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
name: "greeting",
|
|
1825
|
+
type: "string",
|
|
1826
|
+
required: false,
|
|
1827
|
+
description: "Greeting text shown in the widget header, overriding the workspace default. Rendered as the `data-greeting` attribute."
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
name: "launcher",
|
|
1831
|
+
type: "'logo'",
|
|
1832
|
+
required: false,
|
|
1833
|
+
description: "Render the workspace logo in the launcher bubble instead of the default icon. Rendered as the `data-launcher` attribute."
|
|
1834
|
+
}
|
|
1835
|
+
],
|
|
1590
1836
|
FathomAnalyticsOptions: [
|
|
1591
1837
|
{
|
|
1592
1838
|
name: "site",
|
|
@@ -1964,12 +2210,6 @@ const schemaFields = {
|
|
|
1964
2210
|
required: false,
|
|
1965
2211
|
description: "A custom tracker URL. Overrides the default tracker endpoint derived from `matomoUrl` or `cloudId`."
|
|
1966
2212
|
},
|
|
1967
|
-
{
|
|
1968
|
-
name: "trackPageView",
|
|
1969
|
-
type: "boolean",
|
|
1970
|
-
required: false,
|
|
1971
|
-
description: "Whether to track the initial page view on load."
|
|
1972
|
-
},
|
|
1973
2213
|
{
|
|
1974
2214
|
name: "enableLinkTracking",
|
|
1975
2215
|
type: "boolean",
|
|
@@ -2668,101 +2908,218 @@ const schemaFields = {
|
|
|
2668
2908
|
defaultValue: "'g'"
|
|
2669
2909
|
}
|
|
2670
2910
|
],
|
|
2671
|
-
|
|
2672
|
-
{
|
|
2673
|
-
name: "options",
|
|
2674
|
-
type: "Omit<google.maps.CircleOptions, 'map'>",
|
|
2675
|
-
required: false,
|
|
2676
|
-
description: "Configuration options for the circle overlay."
|
|
2677
|
-
}
|
|
2678
|
-
],
|
|
2679
|
-
ScriptGoogleMapsCircleEvents: [
|
|
2911
|
+
ScriptGoogleMapsProps: [
|
|
2680
2912
|
{
|
|
2681
|
-
name: "
|
|
2682
|
-
type: "
|
|
2913
|
+
name: "trigger",
|
|
2914
|
+
type: "ElementScriptTrigger",
|
|
2683
2915
|
required: false,
|
|
2684
|
-
description: "
|
|
2916
|
+
description: "Defines the trigger event to load the script.",
|
|
2917
|
+
defaultValue: "['mouseenter', 'mouseover', 'mousedown']"
|
|
2685
2918
|
},
|
|
2686
2919
|
{
|
|
2687
|
-
name: "
|
|
2688
|
-
type: "
|
|
2920
|
+
name: "apiKey",
|
|
2921
|
+
type: "string",
|
|
2689
2922
|
required: false,
|
|
2690
|
-
description: "
|
|
2923
|
+
description: "Defines the Google Maps API key. Must have access to the Static Maps API as well."
|
|
2691
2924
|
},
|
|
2692
2925
|
{
|
|
2693
|
-
name: "
|
|
2694
|
-
type: "google.maps.
|
|
2926
|
+
name: "mapOptions",
|
|
2927
|
+
type: "google.maps.MapOptions",
|
|
2695
2928
|
required: false,
|
|
2696
|
-
description: "
|
|
2929
|
+
description: "Options for the map."
|
|
2697
2930
|
},
|
|
2698
2931
|
{
|
|
2699
|
-
name: "
|
|
2700
|
-
type: "
|
|
2932
|
+
name: "region",
|
|
2933
|
+
type: "string",
|
|
2701
2934
|
required: false,
|
|
2702
|
-
description: "
|
|
2935
|
+
description: "Defines the region of the map."
|
|
2703
2936
|
},
|
|
2704
2937
|
{
|
|
2705
|
-
name: "
|
|
2706
|
-
type: "
|
|
2938
|
+
name: "language",
|
|
2939
|
+
type: "string",
|
|
2707
2940
|
required: false,
|
|
2708
|
-
description: "
|
|
2941
|
+
description: "Defines the language of the map."
|
|
2709
2942
|
},
|
|
2710
2943
|
{
|
|
2711
|
-
name: "
|
|
2712
|
-
type: "
|
|
2944
|
+
name: "version",
|
|
2945
|
+
type: "string",
|
|
2713
2946
|
required: false,
|
|
2714
|
-
description: "
|
|
2947
|
+
description: "Defines the version of google maps js API."
|
|
2715
2948
|
},
|
|
2716
2949
|
{
|
|
2717
|
-
name: "
|
|
2718
|
-
type: "
|
|
2950
|
+
name: "width",
|
|
2951
|
+
type: "number | string",
|
|
2719
2952
|
required: false,
|
|
2720
|
-
description: "
|
|
2953
|
+
description: "Defines the width of the map.",
|
|
2954
|
+
defaultValue: "640"
|
|
2721
2955
|
},
|
|
2722
2956
|
{
|
|
2723
|
-
name: "
|
|
2724
|
-
type: "
|
|
2957
|
+
name: "height",
|
|
2958
|
+
type: "number | string",
|
|
2725
2959
|
required: false,
|
|
2726
|
-
description: "
|
|
2960
|
+
description: "Defines the height of the map.",
|
|
2961
|
+
defaultValue: "400"
|
|
2727
2962
|
},
|
|
2728
2963
|
{
|
|
2729
|
-
name: "
|
|
2730
|
-
type: "
|
|
2964
|
+
name: "rootAttrs",
|
|
2965
|
+
type: "HTMLAttributes & ReservedProps & Record<string, unknown>",
|
|
2731
2966
|
required: false,
|
|
2732
|
-
description: "
|
|
2967
|
+
description: "Customize the root element attributes."
|
|
2733
2968
|
},
|
|
2734
2969
|
{
|
|
2735
|
-
name: "
|
|
2736
|
-
type: "
|
|
2970
|
+
name: "mapIds",
|
|
2971
|
+
type: "{ light?: string, dark?: string }",
|
|
2737
2972
|
required: false,
|
|
2738
|
-
description: "
|
|
2973
|
+
description: "Map IDs for light and dark color modes. When provided, the map will automatically switch styles based on color mode. Requires @nuxtjs/color-mode or manual colorMode prop."
|
|
2739
2974
|
},
|
|
2740
2975
|
{
|
|
2741
|
-
name: "
|
|
2742
|
-
type: "
|
|
2976
|
+
name: "colorMode",
|
|
2977
|
+
type: "'light' | 'dark'",
|
|
2743
2978
|
required: false,
|
|
2744
|
-
description: "
|
|
2745
|
-
}
|
|
2979
|
+
description: "Manual color mode control. When provided, overrides auto-detection from @nuxtjs/color-mode. Accepts 'light' or 'dark'."
|
|
2980
|
+
}
|
|
2981
|
+
],
|
|
2982
|
+
ScriptGoogleMapsEvents: [
|
|
2746
2983
|
{
|
|
2747
|
-
name: "
|
|
2748
|
-
type: "
|
|
2984
|
+
name: "ready",
|
|
2985
|
+
type: "ScriptGoogleMapsExpose",
|
|
2749
2986
|
required: false,
|
|
2750
|
-
description: "Fired when the
|
|
2987
|
+
description: "Fired when the Google Maps instance is fully loaded and ready to use. Provides access to the maps API."
|
|
2751
2988
|
},
|
|
2752
2989
|
{
|
|
2753
|
-
name: "
|
|
2754
|
-
type: "
|
|
2990
|
+
name: "error",
|
|
2991
|
+
type: "-",
|
|
2755
2992
|
required: false,
|
|
2756
|
-
description: "Fired when the
|
|
2993
|
+
description: "Fired when the Google Maps script fails to load."
|
|
2757
2994
|
}
|
|
2758
2995
|
],
|
|
2759
|
-
|
|
2760
|
-
{
|
|
2761
|
-
name: "
|
|
2762
|
-
type: "
|
|
2763
|
-
required:
|
|
2764
|
-
description: "
|
|
2765
|
-
},
|
|
2996
|
+
ScriptGoogleMapsSlots: [
|
|
2997
|
+
{
|
|
2998
|
+
name: "default",
|
|
2999
|
+
type: "-",
|
|
3000
|
+
required: false,
|
|
3001
|
+
description: "Default slot for rendering child components (e.g. markers, info windows) that depend on the map being ready."
|
|
3002
|
+
},
|
|
3003
|
+
{
|
|
3004
|
+
name: "loading",
|
|
3005
|
+
type: "-",
|
|
3006
|
+
required: false,
|
|
3007
|
+
description: "Slot displayed while the map is loading. Can be used to show a custom loading indicator."
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
name: "awaitingLoad",
|
|
3011
|
+
type: "-",
|
|
3012
|
+
required: false,
|
|
3013
|
+
description: "Slot displayed when the script is awaiting user interaction to load (based on the `trigger` prop)."
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
name: "error",
|
|
3017
|
+
type: "-",
|
|
3018
|
+
required: false,
|
|
3019
|
+
description: "Slot displayed if the script fails to load."
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
name: "placeholder",
|
|
3023
|
+
type: "-",
|
|
3024
|
+
required: false,
|
|
3025
|
+
description: "Slot displayed as a placeholder before the map is ready. Useful for showing a static map or skeleton."
|
|
3026
|
+
}
|
|
3027
|
+
],
|
|
3028
|
+
ScriptGoogleMapsCircleProps: [
|
|
3029
|
+
{
|
|
3030
|
+
name: "options",
|
|
3031
|
+
type: "Omit<google.maps.CircleOptions, 'map'>",
|
|
3032
|
+
required: false,
|
|
3033
|
+
description: "Configuration options for the circle overlay."
|
|
3034
|
+
}
|
|
3035
|
+
],
|
|
3036
|
+
ScriptGoogleMapsCircleEvents: [
|
|
3037
|
+
{
|
|
3038
|
+
name: "center_changed",
|
|
3039
|
+
type: "-",
|
|
3040
|
+
required: false,
|
|
3041
|
+
description: "Fired when the circle's center is changed."
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
name: "radius_changed",
|
|
3045
|
+
type: "-",
|
|
3046
|
+
required: false,
|
|
3047
|
+
description: "Fired when the circle's radius is changed."
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
name: "click",
|
|
3051
|
+
type: "google.maps.MapMouseEvent",
|
|
3052
|
+
required: false,
|
|
3053
|
+
description: "Fired when the circle is clicked."
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
name: "dblclick",
|
|
3057
|
+
type: "google.maps.MapMouseEvent",
|
|
3058
|
+
required: false,
|
|
3059
|
+
description: "Fired when the circle is double clicked."
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
name: "drag",
|
|
3063
|
+
type: "google.maps.MapMouseEvent",
|
|
3064
|
+
required: false,
|
|
3065
|
+
description: "Fired repeatedly while the user drags the circle."
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
name: "dragend",
|
|
3069
|
+
type: "google.maps.MapMouseEvent",
|
|
3070
|
+
required: false,
|
|
3071
|
+
description: "Fired when the user stops dragging the circle."
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
name: "dragstart",
|
|
3075
|
+
type: "google.maps.MapMouseEvent",
|
|
3076
|
+
required: false,
|
|
3077
|
+
description: "Fired when the user starts dragging the circle."
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
name: "mousedown",
|
|
3081
|
+
type: "google.maps.MapMouseEvent",
|
|
3082
|
+
required: false,
|
|
3083
|
+
description: "Fired when the DOM mousedown event is fired on the circle."
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
name: "mousemove",
|
|
3087
|
+
type: "google.maps.MapMouseEvent",
|
|
3088
|
+
required: false,
|
|
3089
|
+
description: "Fired when the DOM mousemove event is fired on the circle."
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
name: "mouseout",
|
|
3093
|
+
type: "google.maps.MapMouseEvent",
|
|
3094
|
+
required: false,
|
|
3095
|
+
description: "Fired when the mouse leaves the area of the circle."
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
name: "mouseover",
|
|
3099
|
+
type: "google.maps.MapMouseEvent",
|
|
3100
|
+
required: false,
|
|
3101
|
+
description: "Fired when the mouse enters the area of the circle."
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
name: "mouseup",
|
|
3105
|
+
type: "google.maps.MapMouseEvent",
|
|
3106
|
+
required: false,
|
|
3107
|
+
description: "Fired when the DOM mouseup event is fired on the circle."
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
name: "rightclick",
|
|
3111
|
+
type: "google.maps.MapMouseEvent",
|
|
3112
|
+
required: false,
|
|
3113
|
+
description: "Fired when the circle is right clicked."
|
|
3114
|
+
}
|
|
3115
|
+
],
|
|
3116
|
+
ScriptGoogleMapsGeoJsonProps: [
|
|
3117
|
+
{
|
|
3118
|
+
name: "src",
|
|
3119
|
+
type: "string | object",
|
|
3120
|
+
required: true,
|
|
3121
|
+
description: "The GeoJSON source. Can be a URL string or a GeoJSON object."
|
|
3122
|
+
},
|
|
2766
3123
|
{
|
|
2767
3124
|
name: "style",
|
|
2768
3125
|
type: "google.maps.Data.StylingFunction | google.maps.Data.StyleOptions",
|
|
@@ -2850,14 +3207,6 @@ const schemaFields = {
|
|
|
2850
3207
|
description: "Fired when a feature's property is removed."
|
|
2851
3208
|
}
|
|
2852
3209
|
],
|
|
2853
|
-
ScriptGoogleMapsHeatmapLayerProps: [
|
|
2854
|
-
{
|
|
2855
|
-
name: "options",
|
|
2856
|
-
type: "Omit<HeatmapLayerOptions, 'map'>",
|
|
2857
|
-
required: false,
|
|
2858
|
-
description: "Configuration options for the heatmap layer visualization."
|
|
2859
|
-
}
|
|
2860
|
-
],
|
|
2861
3210
|
ScriptGoogleMapsInfoWindowProps: [
|
|
2862
3211
|
{
|
|
2863
3212
|
name: "options",
|
|
@@ -3022,12 +3371,79 @@ const schemaFields = {
|
|
|
3022
3371
|
}
|
|
3023
3372
|
],
|
|
3024
3373
|
ScriptGoogleMapsOverlayViewProps: [
|
|
3374
|
+
{
|
|
3375
|
+
name: "position",
|
|
3376
|
+
type: "google.maps.LatLng | google.maps.LatLngLiteral",
|
|
3377
|
+
required: false,
|
|
3378
|
+
description: "Geographic position for the overlay. Falls back to parent marker position if omitted. Accepts either a plain `LatLngLiteral` (`{ lat, lng }`) or a `google.maps.LatLng` instance."
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
name: "defaultOpen",
|
|
3382
|
+
type: "boolean",
|
|
3383
|
+
required: false,
|
|
3384
|
+
description: "Initial open state for the uncontrolled mode (when `v-model:open` is not bound). When omitted, the overlay opens on mount, matching v0 behaviour. Has no effect when `v-model:open` is used; pass an initial value to the bound ref instead.",
|
|
3385
|
+
defaultValue: "true"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
name: "anchor",
|
|
3389
|
+
type: "ScriptGoogleMapsOverlayAnchor",
|
|
3390
|
+
required: false,
|
|
3391
|
+
description: "Anchor point of the overlay relative to its position.",
|
|
3392
|
+
defaultValue: "'bottom-center'"
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
name: "offset",
|
|
3396
|
+
type: "{ x: number, y: number }",
|
|
3397
|
+
required: false,
|
|
3398
|
+
description: "Pixel offset from the anchor position."
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
name: "pane",
|
|
3402
|
+
type: "ScriptGoogleMapsOverlayPane",
|
|
3403
|
+
required: false,
|
|
3404
|
+
description: "The map pane on which to render the overlay.",
|
|
3405
|
+
defaultValue: "'floatPane'"
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
name: "zIndex",
|
|
3409
|
+
type: "number",
|
|
3410
|
+
required: false,
|
|
3411
|
+
description: "CSS z-index for the overlay element."
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
name: "blockMapInteraction",
|
|
3415
|
+
type: "boolean",
|
|
3416
|
+
required: false,
|
|
3417
|
+
description: "Whether to block map click and gesture events from passing through the overlay.",
|
|
3418
|
+
defaultValue: "true"
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
name: "panOnOpen",
|
|
3422
|
+
type: "boolean | number",
|
|
3423
|
+
required: false,
|
|
3424
|
+
description: "Pan the map so the overlay is fully visible when opened, similar to InfoWindow behavior. Set to `true` for default 40px padding, or a number for custom padding.",
|
|
3425
|
+
defaultValue: "true"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
name: "hideWhenClustered",
|
|
3429
|
+
type: "boolean",
|
|
3430
|
+
required: false,
|
|
3431
|
+
description: "Automatically hide the overlay when its parent marker joins a cluster (on zoom out). Only applies when nested inside a ScriptGoogleMapsMarkerClusterer.",
|
|
3432
|
+
defaultValue: "true"
|
|
3433
|
+
},
|
|
3025
3434
|
{
|
|
3026
3435
|
name: "v-model:open",
|
|
3027
3436
|
type: "boolean",
|
|
3028
3437
|
required: false
|
|
3029
3438
|
}
|
|
3030
3439
|
],
|
|
3440
|
+
ScriptGoogleMapsOverlayViewSlots: [
|
|
3441
|
+
{
|
|
3442
|
+
name: "default",
|
|
3443
|
+
type: "-",
|
|
3444
|
+
required: false
|
|
3445
|
+
}
|
|
3446
|
+
],
|
|
3031
3447
|
ScriptGoogleMapsPolygonProps: [
|
|
3032
3448
|
{
|
|
3033
3449
|
name: "options",
|
|
@@ -3262,6 +3678,663 @@ const schemaFields = {
|
|
|
3262
3678
|
description: "Fired when the DOM mouseup event is fired on the rectangle."
|
|
3263
3679
|
}
|
|
3264
3680
|
],
|
|
3681
|
+
ScriptLeafletGeoJsonProps: [
|
|
3682
|
+
{
|
|
3683
|
+
name: "data",
|
|
3684
|
+
type: "GeoJsonObject | GeoJsonObject[]",
|
|
3685
|
+
required: true
|
|
3686
|
+
},
|
|
3687
|
+
{
|
|
3688
|
+
name: "options",
|
|
3689
|
+
type: "Leaflet.GeoJSONOptions",
|
|
3690
|
+
required: false
|
|
3691
|
+
}
|
|
3692
|
+
],
|
|
3693
|
+
ScriptLeafletGeoJsonEvents: [
|
|
3694
|
+
{
|
|
3695
|
+
name: "click",
|
|
3696
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3697
|
+
required: false
|
|
3698
|
+
},
|
|
3699
|
+
{
|
|
3700
|
+
name: "dblclick",
|
|
3701
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3702
|
+
required: false
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
name: "mousedown",
|
|
3706
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3707
|
+
required: false
|
|
3708
|
+
},
|
|
3709
|
+
{
|
|
3710
|
+
name: "mouseover",
|
|
3711
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3712
|
+
required: false
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
name: "mouseout",
|
|
3716
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3717
|
+
required: false
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
name: "contextmenu",
|
|
3721
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3722
|
+
required: false
|
|
3723
|
+
},
|
|
3724
|
+
{
|
|
3725
|
+
name: "layeradd",
|
|
3726
|
+
type: "Leaflet.LayerEvent",
|
|
3727
|
+
required: false
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
name: "layerremove",
|
|
3731
|
+
type: "Leaflet.LayerEvent",
|
|
3732
|
+
required: false
|
|
3733
|
+
}
|
|
3734
|
+
],
|
|
3735
|
+
ScriptLeafletMapProps: [
|
|
3736
|
+
{
|
|
3737
|
+
name: "trigger",
|
|
3738
|
+
type: "ElementScriptTrigger",
|
|
3739
|
+
required: false,
|
|
3740
|
+
description: "Defines when the Leaflet script loads.",
|
|
3741
|
+
defaultValue: "'visible'"
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
name: "center",
|
|
3745
|
+
type: "Leaflet.LatLngExpression",
|
|
3746
|
+
required: true
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
name: "zoom",
|
|
3750
|
+
type: "number",
|
|
3751
|
+
required: false
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
name: "options",
|
|
3755
|
+
type: "Leaflet.MapOptions",
|
|
3756
|
+
required: false
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
name: "injectStyles",
|
|
3760
|
+
type: "boolean",
|
|
3761
|
+
required: false
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
name: "width",
|
|
3765
|
+
type: "number | string",
|
|
3766
|
+
required: false
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
name: "height",
|
|
3770
|
+
type: "number | string",
|
|
3771
|
+
required: false
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
name: "ariaLabel",
|
|
3775
|
+
type: "string",
|
|
3776
|
+
required: false
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
name: "interactive",
|
|
3780
|
+
type: "boolean",
|
|
3781
|
+
required: false
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
name: "rootAttrs",
|
|
3785
|
+
type: "HTMLAttributes & ReservedProps & Record<string, unknown>",
|
|
3786
|
+
required: false
|
|
3787
|
+
}
|
|
3788
|
+
],
|
|
3789
|
+
ScriptLeafletMapEvents: [
|
|
3790
|
+
{
|
|
3791
|
+
name: "ready",
|
|
3792
|
+
type: "ScriptLeafletMapExpose",
|
|
3793
|
+
required: false
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
name: "error",
|
|
3797
|
+
type: "Error",
|
|
3798
|
+
required: false
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
name: "click",
|
|
3802
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3803
|
+
required: false
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
name: "move",
|
|
3807
|
+
type: "Leaflet.LeafletEvent",
|
|
3808
|
+
required: false
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
name: "moveend",
|
|
3812
|
+
type: "Leaflet.LeafletEvent",
|
|
3813
|
+
required: false
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
name: "zoom",
|
|
3817
|
+
type: "Leaflet.LeafletEvent",
|
|
3818
|
+
required: false
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
name: "zoomend",
|
|
3822
|
+
type: "Leaflet.LeafletEvent",
|
|
3823
|
+
required: false
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
name: "update:center",
|
|
3827
|
+
type: "Leaflet.LatLng",
|
|
3828
|
+
required: false
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
name: "update:zoom",
|
|
3832
|
+
type: "number",
|
|
3833
|
+
required: false
|
|
3834
|
+
}
|
|
3835
|
+
],
|
|
3836
|
+
ScriptLeafletMapSlots: [
|
|
3837
|
+
{
|
|
3838
|
+
name: "default",
|
|
3839
|
+
type: "-",
|
|
3840
|
+
required: false
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
name: "loading",
|
|
3844
|
+
type: "-",
|
|
3845
|
+
required: false
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
name: "awaitingLoad",
|
|
3849
|
+
type: "-",
|
|
3850
|
+
required: false
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
name: "error",
|
|
3854
|
+
type: "{ error: Error }",
|
|
3855
|
+
required: false
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
name: "placeholder",
|
|
3859
|
+
type: "-",
|
|
3860
|
+
required: false
|
|
3861
|
+
}
|
|
3862
|
+
],
|
|
3863
|
+
ScriptLeafletMarkerProps: [
|
|
3864
|
+
{
|
|
3865
|
+
name: "position",
|
|
3866
|
+
type: "Leaflet.LatLngExpression",
|
|
3867
|
+
required: true
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
name: "alt",
|
|
3871
|
+
type: "string",
|
|
3872
|
+
required: false
|
|
3873
|
+
},
|
|
3874
|
+
{
|
|
3875
|
+
name: "title",
|
|
3876
|
+
type: "string",
|
|
3877
|
+
required: false
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
name: "options",
|
|
3881
|
+
type: "Leaflet.MarkerOptions",
|
|
3882
|
+
required: false
|
|
3883
|
+
}
|
|
3884
|
+
],
|
|
3885
|
+
ScriptLeafletMarkerEvents: [
|
|
3886
|
+
{
|
|
3887
|
+
name: "click",
|
|
3888
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3889
|
+
required: false
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
name: "dblclick",
|
|
3893
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3894
|
+
required: false
|
|
3895
|
+
},
|
|
3896
|
+
{
|
|
3897
|
+
name: "mousedown",
|
|
3898
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3899
|
+
required: false
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
name: "mouseover",
|
|
3903
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3904
|
+
required: false
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
name: "mouseout",
|
|
3908
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3909
|
+
required: false
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
name: "contextmenu",
|
|
3913
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3914
|
+
required: false
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
name: "dragstart",
|
|
3918
|
+
type: "Leaflet.LeafletEvent",
|
|
3919
|
+
required: false
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
name: "drag",
|
|
3923
|
+
type: "Leaflet.LeafletEvent",
|
|
3924
|
+
required: false
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
name: "dragend",
|
|
3928
|
+
type: "Leaflet.DragEndEvent",
|
|
3929
|
+
required: false
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
name: "move",
|
|
3933
|
+
type: "Leaflet.LeafletEvent",
|
|
3934
|
+
required: false
|
|
3935
|
+
}
|
|
3936
|
+
],
|
|
3937
|
+
ScriptLeafletMarkerSlots: [
|
|
3938
|
+
{
|
|
3939
|
+
name: "default",
|
|
3940
|
+
type: "-",
|
|
3941
|
+
required: false
|
|
3942
|
+
}
|
|
3943
|
+
],
|
|
3944
|
+
ScriptLeafletPopupProps: [
|
|
3945
|
+
{
|
|
3946
|
+
name: "position",
|
|
3947
|
+
type: "Leaflet.LatLngExpression",
|
|
3948
|
+
required: false
|
|
3949
|
+
},
|
|
3950
|
+
{
|
|
3951
|
+
name: "open",
|
|
3952
|
+
type: "boolean",
|
|
3953
|
+
required: false
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
name: "options",
|
|
3957
|
+
type: "Leaflet.PopupOptions",
|
|
3958
|
+
required: false
|
|
3959
|
+
}
|
|
3960
|
+
],
|
|
3961
|
+
ScriptLeafletPopupEvents: [
|
|
3962
|
+
{
|
|
3963
|
+
name: "open",
|
|
3964
|
+
type: "Leaflet.LeafletEvent",
|
|
3965
|
+
required: false
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
name: "close",
|
|
3969
|
+
type: "Leaflet.LeafletEvent",
|
|
3970
|
+
required: false
|
|
3971
|
+
}
|
|
3972
|
+
],
|
|
3973
|
+
ScriptLeafletPopupSlots: [
|
|
3974
|
+
{
|
|
3975
|
+
name: "default",
|
|
3976
|
+
type: "-",
|
|
3977
|
+
required: false
|
|
3978
|
+
}
|
|
3979
|
+
],
|
|
3980
|
+
ScriptLeafletTileLayerProps: [
|
|
3981
|
+
{
|
|
3982
|
+
name: "url",
|
|
3983
|
+
type: "string",
|
|
3984
|
+
required: true
|
|
3985
|
+
},
|
|
3986
|
+
{
|
|
3987
|
+
name: "options",
|
|
3988
|
+
type: "Leaflet.TileLayerOptions",
|
|
3989
|
+
required: false
|
|
3990
|
+
}
|
|
3991
|
+
],
|
|
3992
|
+
ScriptLeafletTileLayerEvents: [
|
|
3993
|
+
{
|
|
3994
|
+
name: "loading",
|
|
3995
|
+
type: "Leaflet.LeafletEvent",
|
|
3996
|
+
required: false
|
|
3997
|
+
},
|
|
3998
|
+
{
|
|
3999
|
+
name: "load",
|
|
4000
|
+
type: "Leaflet.LeafletEvent",
|
|
4001
|
+
required: false
|
|
4002
|
+
},
|
|
4003
|
+
{
|
|
4004
|
+
name: "tileloadstart",
|
|
4005
|
+
type: "Leaflet.TileEvent",
|
|
4006
|
+
required: false
|
|
4007
|
+
},
|
|
4008
|
+
{
|
|
4009
|
+
name: "tileload",
|
|
4010
|
+
type: "Leaflet.TileEvent",
|
|
4011
|
+
required: false
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
name: "tileabort",
|
|
4015
|
+
type: "Leaflet.TileEvent",
|
|
4016
|
+
required: false
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
name: "tileerror",
|
|
4020
|
+
type: "Leaflet.TileErrorEvent",
|
|
4021
|
+
required: false
|
|
4022
|
+
}
|
|
4023
|
+
],
|
|
4024
|
+
ScriptMapLibreGeoJsonProps: [
|
|
4025
|
+
{
|
|
4026
|
+
name: "sourceId",
|
|
4027
|
+
type: "string",
|
|
4028
|
+
required: true
|
|
4029
|
+
},
|
|
4030
|
+
{
|
|
4031
|
+
name: "data",
|
|
4032
|
+
type: "GeoJSON | string",
|
|
4033
|
+
required: true
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
name: "sourceOptions",
|
|
4037
|
+
type: "Omit<MapLibreGl.GeoJSONSourceSpecification, 'type' | 'data'>",
|
|
4038
|
+
required: false
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
name: "layers",
|
|
4042
|
+
type: "ScriptMapLibreGeoJsonLayer[]",
|
|
4043
|
+
required: true
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
name: "beforeId",
|
|
4047
|
+
type: "string",
|
|
4048
|
+
required: false
|
|
4049
|
+
}
|
|
4050
|
+
],
|
|
4051
|
+
ScriptMapLibreMapProps: [
|
|
4052
|
+
{
|
|
4053
|
+
name: "trigger",
|
|
4054
|
+
type: "ElementScriptTrigger",
|
|
4055
|
+
required: false,
|
|
4056
|
+
description: "Defines when the MapLibre script loads.",
|
|
4057
|
+
defaultValue: "'visible'"
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
name: "mapStyle",
|
|
4061
|
+
type: "string | MapLibre.StyleSpecification",
|
|
4062
|
+
required: true
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
name: "center",
|
|
4066
|
+
type: "MapLibre.LngLatLike",
|
|
4067
|
+
required: true
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
name: "zoom",
|
|
4071
|
+
type: "number",
|
|
4072
|
+
required: false
|
|
4073
|
+
},
|
|
4074
|
+
{
|
|
4075
|
+
name: "bearing",
|
|
4076
|
+
type: "number",
|
|
4077
|
+
required: false
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
name: "pitch",
|
|
4081
|
+
type: "number",
|
|
4082
|
+
required: false
|
|
4083
|
+
},
|
|
4084
|
+
{
|
|
4085
|
+
name: "options",
|
|
4086
|
+
type: "Omit<MapLibre.MapOptions, 'container'>",
|
|
4087
|
+
required: false
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
name: "injectStyles",
|
|
4091
|
+
type: "boolean",
|
|
4092
|
+
required: false
|
|
4093
|
+
},
|
|
4094
|
+
{
|
|
4095
|
+
name: "stylesheetUrl",
|
|
4096
|
+
type: "string",
|
|
4097
|
+
required: false
|
|
4098
|
+
},
|
|
4099
|
+
{
|
|
4100
|
+
name: "workerUrl",
|
|
4101
|
+
type: "string",
|
|
4102
|
+
required: false
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
name: "width",
|
|
4106
|
+
type: "number | string",
|
|
4107
|
+
required: false
|
|
4108
|
+
},
|
|
4109
|
+
{
|
|
4110
|
+
name: "height",
|
|
4111
|
+
type: "number | string",
|
|
4112
|
+
required: false
|
|
4113
|
+
},
|
|
4114
|
+
{
|
|
4115
|
+
name: "ariaLabel",
|
|
4116
|
+
type: "string",
|
|
4117
|
+
required: false
|
|
4118
|
+
},
|
|
4119
|
+
{
|
|
4120
|
+
name: "interactive",
|
|
4121
|
+
type: "boolean",
|
|
4122
|
+
required: false
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
name: "rootAttrs",
|
|
4126
|
+
type: "HTMLAttributes & ReservedProps & Record<string, unknown>",
|
|
4127
|
+
required: false
|
|
4128
|
+
}
|
|
4129
|
+
],
|
|
4130
|
+
ScriptMapLibreMapEvents: [
|
|
4131
|
+
{
|
|
4132
|
+
name: "ready",
|
|
4133
|
+
type: "ScriptMapLibreMapExpose",
|
|
4134
|
+
required: false
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
name: "error",
|
|
4138
|
+
type: "Error",
|
|
4139
|
+
required: false
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
name: "click",
|
|
4143
|
+
type: "MapLibre.MapEventType['click']",
|
|
4144
|
+
required: false
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
name: "move",
|
|
4148
|
+
type: "MapLibre.MapEventType['move']",
|
|
4149
|
+
required: false
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
name: "moveend",
|
|
4153
|
+
type: "MapLibre.MapEventType['moveend']",
|
|
4154
|
+
required: false
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
name: "zoom",
|
|
4158
|
+
type: "MapLibre.MapEventType['zoom']",
|
|
4159
|
+
required: false
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
name: "zoomend",
|
|
4163
|
+
type: "MapLibre.MapEventType['zoomend']",
|
|
4164
|
+
required: false
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
name: "rotate",
|
|
4168
|
+
type: "MapLibre.MapEventType['rotate']",
|
|
4169
|
+
required: false
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
name: "rotateend",
|
|
4173
|
+
type: "MapLibre.MapEventType['rotateend']",
|
|
4174
|
+
required: false
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
name: "pitch",
|
|
4178
|
+
type: "MapLibre.MapEventType['pitch']",
|
|
4179
|
+
required: false
|
|
4180
|
+
},
|
|
4181
|
+
{
|
|
4182
|
+
name: "pitchend",
|
|
4183
|
+
type: "MapLibre.MapEventType['pitchend']",
|
|
4184
|
+
required: false
|
|
4185
|
+
},
|
|
4186
|
+
{
|
|
4187
|
+
name: "update:center",
|
|
4188
|
+
type: "MapLibre.LngLat",
|
|
4189
|
+
required: false
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
name: "update:zoom",
|
|
4193
|
+
type: "number",
|
|
4194
|
+
required: false
|
|
4195
|
+
},
|
|
4196
|
+
{
|
|
4197
|
+
name: "update:bearing",
|
|
4198
|
+
type: "number",
|
|
4199
|
+
required: false
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
name: "update:pitch",
|
|
4203
|
+
type: "number",
|
|
4204
|
+
required: false
|
|
4205
|
+
}
|
|
4206
|
+
],
|
|
4207
|
+
ScriptMapLibreMapSlots: [
|
|
4208
|
+
{
|
|
4209
|
+
name: "default",
|
|
4210
|
+
type: "-",
|
|
4211
|
+
required: false
|
|
4212
|
+
},
|
|
4213
|
+
{
|
|
4214
|
+
name: "loading",
|
|
4215
|
+
type: "-",
|
|
4216
|
+
required: false
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
name: "awaitingLoad",
|
|
4220
|
+
type: "-",
|
|
4221
|
+
required: false
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
name: "error",
|
|
4225
|
+
type: "{ error: Error }",
|
|
4226
|
+
required: false
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
name: "placeholder",
|
|
4230
|
+
type: "-",
|
|
4231
|
+
required: false
|
|
4232
|
+
},
|
|
4233
|
+
{
|
|
4234
|
+
name: "description",
|
|
4235
|
+
type: "-",
|
|
4236
|
+
required: false
|
|
4237
|
+
}
|
|
4238
|
+
],
|
|
4239
|
+
ScriptMapLibreMarkerProps: [
|
|
4240
|
+
{
|
|
4241
|
+
name: "position",
|
|
4242
|
+
type: "MapLibre.LngLatLike",
|
|
4243
|
+
required: true
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
name: "ariaLabel",
|
|
4247
|
+
type: "string",
|
|
4248
|
+
required: false
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
name: "title",
|
|
4252
|
+
type: "string",
|
|
4253
|
+
required: false
|
|
4254
|
+
},
|
|
4255
|
+
{
|
|
4256
|
+
name: "options",
|
|
4257
|
+
type: "MapLibre.MarkerOptions",
|
|
4258
|
+
required: false
|
|
4259
|
+
}
|
|
4260
|
+
],
|
|
4261
|
+
ScriptMapLibreMarkerEvents: [
|
|
4262
|
+
{
|
|
4263
|
+
name: "click",
|
|
4264
|
+
type: "MouseEvent",
|
|
4265
|
+
required: false
|
|
4266
|
+
},
|
|
4267
|
+
{
|
|
4268
|
+
name: "dragstart",
|
|
4269
|
+
type: "MapLibre.Event",
|
|
4270
|
+
required: false
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
name: "drag",
|
|
4274
|
+
type: "MapLibre.Event",
|
|
4275
|
+
required: false
|
|
4276
|
+
},
|
|
4277
|
+
{
|
|
4278
|
+
name: "dragend",
|
|
4279
|
+
type: "MapLibre.Event",
|
|
4280
|
+
required: false
|
|
4281
|
+
}
|
|
4282
|
+
],
|
|
4283
|
+
ScriptMapLibreMarkerSlots: [
|
|
4284
|
+
{
|
|
4285
|
+
name: "default",
|
|
4286
|
+
type: "-",
|
|
4287
|
+
required: false
|
|
4288
|
+
}
|
|
4289
|
+
],
|
|
4290
|
+
ScriptMapLibreNavigationControlProps: [
|
|
4291
|
+
{
|
|
4292
|
+
name: "position",
|
|
4293
|
+
type: "MapLibre.ControlPosition",
|
|
4294
|
+
required: false
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
name: "options",
|
|
4298
|
+
type: "MapLibre.NavigationControlOptions",
|
|
4299
|
+
required: false
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
4302
|
+
ScriptMapLibrePopupProps: [
|
|
4303
|
+
{
|
|
4304
|
+
name: "position",
|
|
4305
|
+
type: "MapLibre.LngLatLike",
|
|
4306
|
+
required: false
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
name: "open",
|
|
4310
|
+
type: "boolean",
|
|
4311
|
+
required: false
|
|
4312
|
+
},
|
|
4313
|
+
{
|
|
4314
|
+
name: "options",
|
|
4315
|
+
type: "MapLibre.PopupOptions",
|
|
4316
|
+
required: false
|
|
4317
|
+
}
|
|
4318
|
+
],
|
|
4319
|
+
ScriptMapLibrePopupEvents: [
|
|
4320
|
+
{
|
|
4321
|
+
name: "open",
|
|
4322
|
+
type: "MapLibre.Event",
|
|
4323
|
+
required: false
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
name: "close",
|
|
4327
|
+
type: "MapLibre.Event",
|
|
4328
|
+
required: false
|
|
4329
|
+
}
|
|
4330
|
+
],
|
|
4331
|
+
ScriptMapLibrePopupSlots: [
|
|
4332
|
+
{
|
|
4333
|
+
name: "default",
|
|
4334
|
+
type: "-",
|
|
4335
|
+
required: false
|
|
4336
|
+
}
|
|
4337
|
+
],
|
|
3265
4338
|
ScriptBlueskyEmbedProps: [
|
|
3266
4339
|
{
|
|
3267
4340
|
name: "postUrl",
|