@nuxt/scripts 1.3.6 → 2.0.0-beta.2
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/B-kTnbRv.js +1 -0
- package/dist/devtools-client/_nuxt/{DTP8MRtW.js → BNPn63Jz.js} +1 -1
- package/dist/devtools-client/_nuxt/BuTlAAeI.js +152 -0
- package/dist/devtools-client/_nuxt/C41E8Pp1.js +8 -0
- package/dist/devtools-client/_nuxt/CDDBpkXG.js +3 -0
- package/dist/devtools-client/_nuxt/Cbmw_5H5.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/DiZU_C4m.js +1 -0
- package/dist/devtools-client/_nuxt/KsX6Az5B.js +1 -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/ca92700f-27e7-46dc-87da-4934fe1aa4b0.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/_nuxt/tYzzi6ZH.js +28 -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 +83 -346
- package/dist/registry.mjs +55 -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.d.vue.ts +1 -1
- package/dist/runtime/components/ScriptPayPalButtons.vue +7 -3
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +1 -1
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +1 -1
- package/dist/runtime/components/ScriptPayPalMessages.vue +8 -4
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +1 -1
- 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 +17 -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/_gcm-consent.js +30 -7
- 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 +0 -2
- package/dist/runtime/registry/leaflet.d.ts +13 -0
- package/dist/runtime/registry/leaflet.js +29 -0
- package/dist/runtime/registry/maplibre.d.ts +19 -0
- package/dist/runtime/registry/maplibre.js +37 -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/speedcurve.js +12 -3
- 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 +4 -11
- 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/network-dispatcher.node.js +136 -11
- 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 +14 -0
- package/dist/types-source.mjs +1183 -81
- 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/35e54cbc-079c-4313-8838-34632d9dac97.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
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
const types = {
|
|
2
2
|
"_gcm-consent": [
|
|
3
|
+
{
|
|
4
|
+
name: "AssertNever",
|
|
5
|
+
kind: "type",
|
|
6
|
+
code: "type AssertNever<T extends never> = T"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
name: "_ConsentKeysChecked",
|
|
10
|
+
kind: "type",
|
|
11
|
+
code: "type _ConsentKeysChecked = AssertNever<Exclude<keyof ConsentState, typeof CONSENT_CATEGORIES[number] | 'wait_for_update' | 'region'>>"
|
|
12
|
+
},
|
|
3
13
|
{
|
|
4
14
|
name: "GcmConsentContract",
|
|
5
15
|
kind: "interface",
|
|
@@ -237,6 +247,38 @@ const types = {
|
|
|
237
247
|
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
248
|
}
|
|
239
249
|
],
|
|
250
|
+
deskcrew: [
|
|
251
|
+
{
|
|
252
|
+
name: "DeskCrewOptions",
|
|
253
|
+
kind: "const",
|
|
254
|
+
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})"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "DeskCrewIdentity",
|
|
258
|
+
kind: "interface",
|
|
259
|
+
code: "export interface DeskCrewIdentity {\n /** A signed identity token minted by your backend. */\n token: string\n}"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: "DeskCrewEmbedOptions",
|
|
263
|
+
kind: "interface",
|
|
264
|
+
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}"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: "DeskCrewChangelogOptions",
|
|
268
|
+
kind: "interface",
|
|
269
|
+
code: "export interface DeskCrewChangelogOptions {\n /** `'inline'` requires `selector`. */\n mode?: 'inline' | 'floating'\n selector?: string\n basePath?: string\n position?: 'left' | 'right'\n}"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "DeskCrewSurveyOptions",
|
|
273
|
+
kind: "interface",
|
|
274
|
+
code: "export interface DeskCrewSurveyOptions {\n /** Reserved. Surveys are opt in and may only be invoked once per page. */\n [key: string]: unknown\n}"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: "DeskCrewApi",
|
|
278
|
+
kind: "interface",
|
|
279
|
+
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}"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
240
282
|
"fathom-analytics": [
|
|
241
283
|
{
|
|
242
284
|
name: "FathomAnalyticsOptions",
|
|
@@ -331,11 +373,6 @@ const types = {
|
|
|
331
373
|
name: "GoogleAnalyticsOptions",
|
|
332
374
|
kind: "const",
|
|
333
375
|
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
376
|
}
|
|
340
377
|
],
|
|
341
378
|
"google-maps": [
|
|
@@ -347,17 +384,32 @@ const types = {
|
|
|
347
384
|
{
|
|
348
385
|
name: "MapsNamespace",
|
|
349
386
|
kind: "type",
|
|
350
|
-
code: "type MapsNamespace = typeof
|
|
387
|
+
code: "type MapsNamespace = typeof google.maps"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
name: "GoogleMapsWindow",
|
|
391
|
+
kind: "type",
|
|
392
|
+
code: "type GoogleMapsWindow = Window & {\n google: {\n maps: MapsNamespace & { __ib__?: () => void }\n }\n}"
|
|
351
393
|
},
|
|
352
394
|
{
|
|
353
395
|
name: "GoogleMapsApi",
|
|
354
396
|
kind: "interface",
|
|
355
|
-
code: "export interface GoogleMapsApi {\n maps:
|
|
397
|
+
code: "export interface GoogleMapsApi {\n maps: MapsNamespace\n}"
|
|
356
398
|
},
|
|
357
399
|
{
|
|
358
400
|
name: "ScriptGoogleMapsProps",
|
|
359
401
|
kind: "interface",
|
|
360
|
-
code: "interface ScriptGoogleMapsProps
|
|
402
|
+
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}"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
name: "ScriptGoogleMapsEvents",
|
|
406
|
+
kind: "interface",
|
|
407
|
+
code: "interface ScriptGoogleMapsEvents {\n ready: ScriptGoogleMapsExpose\n error: -\n}"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
name: "ScriptGoogleMapsSlots",
|
|
411
|
+
kind: "interface",
|
|
412
|
+
code: "interface ScriptGoogleMapsSlots {\n default?: () => any\n loading?: () => any\n awaitingLoad?: () => any\n error?: () => any\n placeholder?: () => any\n}"
|
|
361
413
|
},
|
|
362
414
|
{
|
|
363
415
|
name: "ScriptGoogleMapsCircleProps",
|
|
@@ -379,11 +431,6 @@ const types = {
|
|
|
379
431
|
kind: "interface",
|
|
380
432
|
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
433
|
},
|
|
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
434
|
{
|
|
388
435
|
name: "ScriptGoogleMapsInfoWindowProps",
|
|
389
436
|
kind: "interface",
|
|
@@ -432,7 +479,12 @@ const types = {
|
|
|
432
479
|
{
|
|
433
480
|
name: "ScriptGoogleMapsOverlayViewProps",
|
|
434
481
|
kind: "interface",
|
|
435
|
-
code: "interface ScriptGoogleMapsOverlayViewProps
|
|
482
|
+
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}"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
name: "ScriptGoogleMapsOverlayViewSlots",
|
|
486
|
+
kind: "interface",
|
|
487
|
+
code: "interface ScriptGoogleMapsOverlayViewSlots {\n default?: () => any\n}"
|
|
436
488
|
},
|
|
437
489
|
{
|
|
438
490
|
name: "ScriptGoogleMapsPolygonProps",
|
|
@@ -574,11 +626,6 @@ const types = {
|
|
|
574
626
|
name: "GoogleTagManagerOptions",
|
|
575
627
|
kind: "const",
|
|
576
628
|
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
629
|
}
|
|
583
630
|
],
|
|
584
631
|
gravatar: [
|
|
@@ -649,6 +696,83 @@ const types = {
|
|
|
649
696
|
code: "interface ScriptIntercomSlots {\n default?: (props: { ready: boolean }) => any\n awaitingLoad?: () => any\n loading?: () => any\n error?: () => any\n}"
|
|
650
697
|
}
|
|
651
698
|
],
|
|
699
|
+
leaflet: [
|
|
700
|
+
{
|
|
701
|
+
name: "LeafletOptions",
|
|
702
|
+
kind: "const",
|
|
703
|
+
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})"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
name: "LeafletApi",
|
|
707
|
+
kind: "interface",
|
|
708
|
+
code: "export interface LeafletApi {\n L: typeof Leaflet\n}"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
name: "ScriptLeafletGeoJsonProps",
|
|
712
|
+
kind: "interface",
|
|
713
|
+
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}"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
name: "ScriptLeafletGeoJsonEvents",
|
|
717
|
+
kind: "interface",
|
|
718
|
+
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}"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: "ScriptLeafletMapProps",
|
|
722
|
+
kind: "interface",
|
|
723
|
+
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}"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
name: "ScriptLeafletMapEvents",
|
|
727
|
+
kind: "interface",
|
|
728
|
+
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}"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
name: "ScriptLeafletMapSlots",
|
|
732
|
+
kind: "interface",
|
|
733
|
+
code: "interface ScriptLeafletMapSlots {\n default?: () => any\n loading?: () => any\n awaitingLoad?: () => any\n error?: (props: { error: Error }) => any\n placeholder?: () => any\n}"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: "ScriptLeafletMarkerProps",
|
|
737
|
+
kind: "interface",
|
|
738
|
+
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}"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
name: "ScriptLeafletMarkerEvents",
|
|
742
|
+
kind: "interface",
|
|
743
|
+
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}"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
name: "ScriptLeafletMarkerSlots",
|
|
747
|
+
kind: "interface",
|
|
748
|
+
code: "interface ScriptLeafletMarkerSlots {\n default?: () => any\n}"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
name: "ScriptLeafletPopupProps",
|
|
752
|
+
kind: "interface",
|
|
753
|
+
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}"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
name: "ScriptLeafletPopupEvents",
|
|
757
|
+
kind: "interface",
|
|
758
|
+
code: "interface ScriptLeafletPopupEvents {\n open: Leaflet.LeafletEvent\n close: Leaflet.LeafletEvent\n}"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
name: "ScriptLeafletPopupSlots",
|
|
762
|
+
kind: "interface",
|
|
763
|
+
code: "interface ScriptLeafletPopupSlots {\n default?: () => any\n}"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
name: "ScriptLeafletTileLayerProps",
|
|
767
|
+
kind: "interface",
|
|
768
|
+
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}"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
name: "ScriptLeafletTileLayerEvents",
|
|
772
|
+
kind: "interface",
|
|
773
|
+
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}"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
652
776
|
"lemon-squeezy": [
|
|
653
777
|
{
|
|
654
778
|
name: "LemonSqueezyEventPayload",
|
|
@@ -703,11 +827,78 @@ const types = {
|
|
|
703
827
|
code: "export interface LinkedInInsightApi {\n lintrk: LintrkFns & { q?: unknown[] }\n}"
|
|
704
828
|
}
|
|
705
829
|
],
|
|
830
|
+
maplibre: [
|
|
831
|
+
{
|
|
832
|
+
name: "MapLibreOptions",
|
|
833
|
+
kind: "const",
|
|
834
|
+
code: "export const MapLibreOptions = object({\n /**\n * Inject the MapLibre stylesheet when the script begins loading. Disable\n * this when supplying the stylesheet through Nuxt.\n * @default true\n */\n injectStyles: optional(boolean()),\n /**\n * Stylesheet URL used when `injectStyles` is enabled. Defaults to the\n * stylesheet shipped in the `maplibre-gl` package.\n */\n stylesheetUrl: optional(string()),\n /**\n * Worker URL passed to `maplibregl.setWorkerUrl()`. Set this when serving\n * the MapLibre worker from your own origin.\n */\n workerUrl: optional(string()),\n})"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
name: "MapLibreApi",
|
|
838
|
+
kind: "interface",
|
|
839
|
+
code: "export interface MapLibreApi {\n maplibregl: typeof MapLibre\n}"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
name: "ScriptMapLibreGeoJsonProps",
|
|
843
|
+
kind: "interface",
|
|
844
|
+
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}"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: "ScriptMapLibreMapProps",
|
|
848
|
+
kind: "interface",
|
|
849
|
+
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 passed to `maplibregl.setWorkerUrl()`. */\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}"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
name: "ScriptMapLibreMapEvents",
|
|
853
|
+
kind: "interface",
|
|
854
|
+
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}"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
name: "ScriptMapLibreMapSlots",
|
|
858
|
+
kind: "interface",
|
|
859
|
+
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}"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
name: "ScriptMapLibreMarkerProps",
|
|
863
|
+
kind: "interface",
|
|
864
|
+
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}"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
name: "ScriptMapLibreMarkerEvents",
|
|
868
|
+
kind: "interface",
|
|
869
|
+
code: "interface ScriptMapLibreMarkerEvents {\n click: MouseEvent\n dragstart: MapLibre.Event\n drag: MapLibre.Event\n dragend: MapLibre.Event\n}"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: "ScriptMapLibreMarkerSlots",
|
|
873
|
+
kind: "interface",
|
|
874
|
+
code: "interface ScriptMapLibreMarkerSlots {\n default?: () => any\n}"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
name: "ScriptMapLibreNavigationControlProps",
|
|
878
|
+
kind: "interface",
|
|
879
|
+
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}"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
name: "ScriptMapLibrePopupProps",
|
|
883
|
+
kind: "interface",
|
|
884
|
+
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}"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
name: "ScriptMapLibrePopupEvents",
|
|
888
|
+
kind: "interface",
|
|
889
|
+
code: "interface ScriptMapLibrePopupEvents {\n open: MapLibre.Event\n close: MapLibre.Event\n}"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
name: "ScriptMapLibrePopupSlots",
|
|
893
|
+
kind: "interface",
|
|
894
|
+
code: "interface ScriptMapLibrePopupSlots {\n default?: () => any\n}"
|
|
895
|
+
}
|
|
896
|
+
],
|
|
706
897
|
"matomo-analytics": [
|
|
707
898
|
{
|
|
708
899
|
name: "MatomoAnalyticsOptions",
|
|
709
900
|
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 *
|
|
901
|
+
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
902
|
},
|
|
712
903
|
{
|
|
713
904
|
name: "MatomoAnalyticsApi",
|
|
@@ -837,12 +1028,12 @@ const types = {
|
|
|
837
1028
|
{
|
|
838
1029
|
name: "PlausibleAnalyticsOptions",
|
|
839
1030
|
kind: "interface",
|
|
840
|
-
code: "export interface PlausibleAnalyticsOptions {\n /**\n * Unique script ID for your site
|
|
1031
|
+
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
1032
|
},
|
|
842
1033
|
{
|
|
843
1034
|
name: "PlausibleInitOptions",
|
|
844
1035
|
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}"
|
|
1036
|
+
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
1037
|
},
|
|
847
1038
|
{
|
|
848
1039
|
name: "PlausibleFunction",
|
|
@@ -903,7 +1094,7 @@ const types = {
|
|
|
903
1094
|
{
|
|
904
1095
|
name: "RybbitAnalyticsApi",
|
|
905
1096
|
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
|
|
1097
|
+
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
1098
|
},
|
|
908
1099
|
{
|
|
909
1100
|
name: "RybbitQueueState",
|
|
@@ -975,6 +1166,26 @@ const types = {
|
|
|
975
1166
|
name: "SpeedCurveApi",
|
|
976
1167
|
kind: "interface",
|
|
977
1168
|
code: "export interface SpeedCurveApi {\n LUX: LuxGlobal\n}"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
name: "ComposableOnlyKey",
|
|
1172
|
+
kind: "type",
|
|
1173
|
+
code: "type ComposableOnlyKey = 'id' | 'spaMode' | 'autoTrackSpaNavigations'"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
name: "ForwardedKey",
|
|
1177
|
+
kind: "type",
|
|
1178
|
+
code: "type ForwardedKey = Exclude<keyof InferInput<typeof SpeedCurveOptions>, ComposableOnlyKey>"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
name: "AssertNever",
|
|
1182
|
+
kind: "type",
|
|
1183
|
+
code: "type AssertNever<T extends never> = T"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
name: "_AllForwardedKeysListed",
|
|
1187
|
+
kind: "type",
|
|
1188
|
+
code: "type _AllForwardedKeysListed = AssertNever<Exclude<ForwardedKey, typeof LUX_USER_CONFIG_KEYS[number]>>"
|
|
978
1189
|
}
|
|
979
1190
|
],
|
|
980
1191
|
stripe: [
|
|
@@ -1030,15 +1241,10 @@ const types = {
|
|
|
1030
1241
|
kind: "interface",
|
|
1031
1242
|
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
1243
|
},
|
|
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
1244
|
{
|
|
1039
1245
|
name: "Ttq",
|
|
1040
1246
|
kind: "type",
|
|
1041
|
-
code: "export type Ttq =
|
|
1247
|
+
code: "export type Ttq = TtqInstance & {\n /** Resolve the per-pixel method bag for a specific pixel id. */\n instance: (id: string) => TtqInstance\n}"
|
|
1042
1248
|
},
|
|
1043
1249
|
{
|
|
1044
1250
|
name: "TikTokPixelApi",
|
|
@@ -1207,7 +1413,7 @@ const types = {
|
|
|
1207
1413
|
{
|
|
1208
1414
|
name: "YouTubePlayerApi",
|
|
1209
1415
|
kind: "interface",
|
|
1210
|
-
code: "export interface YouTubePlayerApi {\n YT:
|
|
1416
|
+
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
1417
|
},
|
|
1212
1418
|
{
|
|
1213
1419
|
name: "ScriptYouTubePlayerProps",
|
|
@@ -1291,6 +1497,36 @@ const schemaFields = {
|
|
|
1291
1497
|
required: false
|
|
1292
1498
|
}
|
|
1293
1499
|
],
|
|
1500
|
+
LeafletOptions: [
|
|
1501
|
+
{
|
|
1502
|
+
name: "injectStyles",
|
|
1503
|
+
type: "boolean",
|
|
1504
|
+
required: false,
|
|
1505
|
+
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.",
|
|
1506
|
+
defaultValue: "true"
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
MapLibreOptions: [
|
|
1510
|
+
{
|
|
1511
|
+
name: "injectStyles",
|
|
1512
|
+
type: "boolean",
|
|
1513
|
+
required: false,
|
|
1514
|
+
description: "Inject the MapLibre stylesheet when the script begins loading. Disable this when supplying the stylesheet through Nuxt.",
|
|
1515
|
+
defaultValue: "true"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
name: "stylesheetUrl",
|
|
1519
|
+
type: "string",
|
|
1520
|
+
required: false,
|
|
1521
|
+
description: "Stylesheet URL used when `injectStyles` is enabled. Defaults to the stylesheet shipped in the `maplibre-gl` package."
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
name: "workerUrl",
|
|
1525
|
+
type: "string",
|
|
1526
|
+
required: false,
|
|
1527
|
+
description: "Worker URL passed to `maplibregl.setWorkerUrl()`. Set this when serving the MapLibre worker from your own origin."
|
|
1528
|
+
}
|
|
1529
|
+
],
|
|
1294
1530
|
AhrefsAnalyticsOptions: [
|
|
1295
1531
|
{
|
|
1296
1532
|
name: "key",
|
|
@@ -1587,6 +1823,45 @@ const schemaFields = {
|
|
|
1587
1823
|
description: "Enable error tracking via observability."
|
|
1588
1824
|
}
|
|
1589
1825
|
],
|
|
1826
|
+
DeskCrewOptions: [
|
|
1827
|
+
{
|
|
1828
|
+
name: "widgetKey",
|
|
1829
|
+
type: "string",
|
|
1830
|
+
required: true,
|
|
1831
|
+
description: "The DeskCrew public widget key, for example `pub_xxxxxxxx`. Rendered as the `data-key` attribute. Find it in the DeskCrew dashboard under Install."
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
name: "board",
|
|
1835
|
+
type: "string",
|
|
1836
|
+
required: false,
|
|
1837
|
+
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."
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
name: "color",
|
|
1841
|
+
type: "string",
|
|
1842
|
+
required: false,
|
|
1843
|
+
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."
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
name: "position",
|
|
1847
|
+
type: "'left' | 'right'",
|
|
1848
|
+
required: false,
|
|
1849
|
+
description: "Which side of the viewport the launcher sits on. Rendered as the `data-position` attribute.",
|
|
1850
|
+
defaultValue: "'right'"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
name: "greeting",
|
|
1854
|
+
type: "string",
|
|
1855
|
+
required: false,
|
|
1856
|
+
description: "Greeting text shown in the widget header, overriding the workspace default. Rendered as the `data-greeting` attribute."
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
name: "launcher",
|
|
1860
|
+
type: "'logo'",
|
|
1861
|
+
required: false,
|
|
1862
|
+
description: "Render the workspace logo in the launcher bubble instead of the default icon. Rendered as the `data-launcher` attribute."
|
|
1863
|
+
}
|
|
1864
|
+
],
|
|
1590
1865
|
FathomAnalyticsOptions: [
|
|
1591
1866
|
{
|
|
1592
1867
|
name: "site",
|
|
@@ -1964,12 +2239,6 @@ const schemaFields = {
|
|
|
1964
2239
|
required: false,
|
|
1965
2240
|
description: "A custom tracker URL. Overrides the default tracker endpoint derived from `matomoUrl` or `cloudId`."
|
|
1966
2241
|
},
|
|
1967
|
-
{
|
|
1968
|
-
name: "trackPageView",
|
|
1969
|
-
type: "boolean",
|
|
1970
|
-
required: false,
|
|
1971
|
-
description: "Whether to track the initial page view on load."
|
|
1972
|
-
},
|
|
1973
2242
|
{
|
|
1974
2243
|
name: "enableLinkTracking",
|
|
1975
2244
|
type: "boolean",
|
|
@@ -2668,74 +2937,191 @@ const schemaFields = {
|
|
|
2668
2937
|
defaultValue: "'g'"
|
|
2669
2938
|
}
|
|
2670
2939
|
],
|
|
2671
|
-
|
|
2940
|
+
ScriptGoogleMapsProps: [
|
|
2672
2941
|
{
|
|
2673
|
-
name: "
|
|
2674
|
-
type: "
|
|
2942
|
+
name: "trigger",
|
|
2943
|
+
type: "ElementScriptTrigger",
|
|
2675
2944
|
required: false,
|
|
2676
|
-
description: "
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
ScriptGoogleMapsCircleEvents: [
|
|
2945
|
+
description: "Defines the trigger event to load the script.",
|
|
2946
|
+
defaultValue: "['mouseenter', 'mouseover', 'mousedown']"
|
|
2947
|
+
},
|
|
2680
2948
|
{
|
|
2681
|
-
name: "
|
|
2682
|
-
type: "
|
|
2949
|
+
name: "apiKey",
|
|
2950
|
+
type: "string",
|
|
2683
2951
|
required: false,
|
|
2684
|
-
description: "
|
|
2952
|
+
description: "Defines the Google Maps API key. Must have access to the Static Maps API as well."
|
|
2685
2953
|
},
|
|
2686
2954
|
{
|
|
2687
|
-
name: "
|
|
2688
|
-
type: "
|
|
2955
|
+
name: "mapOptions",
|
|
2956
|
+
type: "google.maps.MapOptions",
|
|
2689
2957
|
required: false,
|
|
2690
|
-
description: "
|
|
2958
|
+
description: "Options for the map."
|
|
2691
2959
|
},
|
|
2692
2960
|
{
|
|
2693
|
-
name: "
|
|
2694
|
-
type: "
|
|
2961
|
+
name: "region",
|
|
2962
|
+
type: "string",
|
|
2695
2963
|
required: false,
|
|
2696
|
-
description: "
|
|
2964
|
+
description: "Defines the region of the map."
|
|
2697
2965
|
},
|
|
2698
2966
|
{
|
|
2699
|
-
name: "
|
|
2700
|
-
type: "
|
|
2967
|
+
name: "language",
|
|
2968
|
+
type: "string",
|
|
2701
2969
|
required: false,
|
|
2702
|
-
description: "
|
|
2970
|
+
description: "Defines the language of the map."
|
|
2703
2971
|
},
|
|
2704
2972
|
{
|
|
2705
|
-
name: "
|
|
2706
|
-
type: "
|
|
2973
|
+
name: "version",
|
|
2974
|
+
type: "string",
|
|
2707
2975
|
required: false,
|
|
2708
|
-
description: "
|
|
2976
|
+
description: "Defines the version of google maps js API."
|
|
2709
2977
|
},
|
|
2710
2978
|
{
|
|
2711
|
-
name: "
|
|
2712
|
-
type: "
|
|
2979
|
+
name: "width",
|
|
2980
|
+
type: "number | string",
|
|
2713
2981
|
required: false,
|
|
2714
|
-
description: "
|
|
2982
|
+
description: "Defines the width of the map.",
|
|
2983
|
+
defaultValue: "640"
|
|
2715
2984
|
},
|
|
2716
2985
|
{
|
|
2717
|
-
name: "
|
|
2718
|
-
type: "
|
|
2986
|
+
name: "height",
|
|
2987
|
+
type: "number | string",
|
|
2719
2988
|
required: false,
|
|
2720
|
-
description: "
|
|
2989
|
+
description: "Defines the height of the map.",
|
|
2990
|
+
defaultValue: "400"
|
|
2721
2991
|
},
|
|
2722
2992
|
{
|
|
2723
|
-
name: "
|
|
2724
|
-
type: "
|
|
2993
|
+
name: "rootAttrs",
|
|
2994
|
+
type: "HTMLAttributes & ReservedProps & Record<string, unknown>",
|
|
2725
2995
|
required: false,
|
|
2726
|
-
description: "
|
|
2996
|
+
description: "Customize the root element attributes."
|
|
2727
2997
|
},
|
|
2728
2998
|
{
|
|
2729
|
-
name: "
|
|
2730
|
-
type: "
|
|
2999
|
+
name: "mapIds",
|
|
3000
|
+
type: "{ light?: string, dark?: string }",
|
|
2731
3001
|
required: false,
|
|
2732
|
-
description: "
|
|
3002
|
+
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."
|
|
2733
3003
|
},
|
|
2734
3004
|
{
|
|
2735
|
-
name: "
|
|
2736
|
-
type: "
|
|
3005
|
+
name: "colorMode",
|
|
3006
|
+
type: "'light' | 'dark'",
|
|
2737
3007
|
required: false,
|
|
2738
|
-
description: "
|
|
3008
|
+
description: "Manual color mode control. When provided, overrides auto-detection from @nuxtjs/color-mode. Accepts 'light' or 'dark'."
|
|
3009
|
+
}
|
|
3010
|
+
],
|
|
3011
|
+
ScriptGoogleMapsEvents: [
|
|
3012
|
+
{
|
|
3013
|
+
name: "ready",
|
|
3014
|
+
type: "ScriptGoogleMapsExpose",
|
|
3015
|
+
required: false,
|
|
3016
|
+
description: "Fired when the Google Maps instance is fully loaded and ready to use. Provides access to the maps API."
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
name: "error",
|
|
3020
|
+
type: "-",
|
|
3021
|
+
required: false,
|
|
3022
|
+
description: "Fired when the Google Maps script fails to load."
|
|
3023
|
+
}
|
|
3024
|
+
],
|
|
3025
|
+
ScriptGoogleMapsSlots: [
|
|
3026
|
+
{
|
|
3027
|
+
name: "default",
|
|
3028
|
+
type: "-",
|
|
3029
|
+
required: false,
|
|
3030
|
+
description: "Default slot for rendering child components (e.g. markers, info windows) that depend on the map being ready."
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
name: "loading",
|
|
3034
|
+
type: "-",
|
|
3035
|
+
required: false,
|
|
3036
|
+
description: "Slot displayed while the map is loading. Can be used to show a custom loading indicator."
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
name: "awaitingLoad",
|
|
3040
|
+
type: "-",
|
|
3041
|
+
required: false,
|
|
3042
|
+
description: "Slot displayed when the script is awaiting user interaction to load (based on the `trigger` prop)."
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
name: "error",
|
|
3046
|
+
type: "-",
|
|
3047
|
+
required: false,
|
|
3048
|
+
description: "Slot displayed if the script fails to load."
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
name: "placeholder",
|
|
3052
|
+
type: "-",
|
|
3053
|
+
required: false,
|
|
3054
|
+
description: "Slot displayed as a placeholder before the map is ready. Useful for showing a static map or skeleton."
|
|
3055
|
+
}
|
|
3056
|
+
],
|
|
3057
|
+
ScriptGoogleMapsCircleProps: [
|
|
3058
|
+
{
|
|
3059
|
+
name: "options",
|
|
3060
|
+
type: "Omit<google.maps.CircleOptions, 'map'>",
|
|
3061
|
+
required: false,
|
|
3062
|
+
description: "Configuration options for the circle overlay."
|
|
3063
|
+
}
|
|
3064
|
+
],
|
|
3065
|
+
ScriptGoogleMapsCircleEvents: [
|
|
3066
|
+
{
|
|
3067
|
+
name: "center_changed",
|
|
3068
|
+
type: "-",
|
|
3069
|
+
required: false,
|
|
3070
|
+
description: "Fired when the circle's center is changed."
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
name: "radius_changed",
|
|
3074
|
+
type: "-",
|
|
3075
|
+
required: false,
|
|
3076
|
+
description: "Fired when the circle's radius is changed."
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
name: "click",
|
|
3080
|
+
type: "google.maps.MapMouseEvent",
|
|
3081
|
+
required: false,
|
|
3082
|
+
description: "Fired when the circle is clicked."
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
name: "dblclick",
|
|
3086
|
+
type: "google.maps.MapMouseEvent",
|
|
3087
|
+
required: false,
|
|
3088
|
+
description: "Fired when the circle is double clicked."
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
name: "drag",
|
|
3092
|
+
type: "google.maps.MapMouseEvent",
|
|
3093
|
+
required: false,
|
|
3094
|
+
description: "Fired repeatedly while the user drags the circle."
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
name: "dragend",
|
|
3098
|
+
type: "google.maps.MapMouseEvent",
|
|
3099
|
+
required: false,
|
|
3100
|
+
description: "Fired when the user stops dragging the circle."
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
name: "dragstart",
|
|
3104
|
+
type: "google.maps.MapMouseEvent",
|
|
3105
|
+
required: false,
|
|
3106
|
+
description: "Fired when the user starts dragging the circle."
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
name: "mousedown",
|
|
3110
|
+
type: "google.maps.MapMouseEvent",
|
|
3111
|
+
required: false,
|
|
3112
|
+
description: "Fired when the DOM mousedown event is fired on the circle."
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
name: "mousemove",
|
|
3116
|
+
type: "google.maps.MapMouseEvent",
|
|
3117
|
+
required: false,
|
|
3118
|
+
description: "Fired when the DOM mousemove event is fired on the circle."
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
name: "mouseout",
|
|
3122
|
+
type: "google.maps.MapMouseEvent",
|
|
3123
|
+
required: false,
|
|
3124
|
+
description: "Fired when the mouse leaves the area of the circle."
|
|
2739
3125
|
},
|
|
2740
3126
|
{
|
|
2741
3127
|
name: "mouseover",
|
|
@@ -2850,14 +3236,6 @@ const schemaFields = {
|
|
|
2850
3236
|
description: "Fired when a feature's property is removed."
|
|
2851
3237
|
}
|
|
2852
3238
|
],
|
|
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
3239
|
ScriptGoogleMapsInfoWindowProps: [
|
|
2862
3240
|
{
|
|
2863
3241
|
name: "options",
|
|
@@ -3022,12 +3400,79 @@ const schemaFields = {
|
|
|
3022
3400
|
}
|
|
3023
3401
|
],
|
|
3024
3402
|
ScriptGoogleMapsOverlayViewProps: [
|
|
3403
|
+
{
|
|
3404
|
+
name: "position",
|
|
3405
|
+
type: "google.maps.LatLng | google.maps.LatLngLiteral",
|
|
3406
|
+
required: false,
|
|
3407
|
+
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."
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
name: "defaultOpen",
|
|
3411
|
+
type: "boolean",
|
|
3412
|
+
required: false,
|
|
3413
|
+
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.",
|
|
3414
|
+
defaultValue: "true"
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
name: "anchor",
|
|
3418
|
+
type: "ScriptGoogleMapsOverlayAnchor",
|
|
3419
|
+
required: false,
|
|
3420
|
+
description: "Anchor point of the overlay relative to its position.",
|
|
3421
|
+
defaultValue: "'bottom-center'"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
name: "offset",
|
|
3425
|
+
type: "{ x: number, y: number }",
|
|
3426
|
+
required: false,
|
|
3427
|
+
description: "Pixel offset from the anchor position."
|
|
3428
|
+
},
|
|
3429
|
+
{
|
|
3430
|
+
name: "pane",
|
|
3431
|
+
type: "ScriptGoogleMapsOverlayPane",
|
|
3432
|
+
required: false,
|
|
3433
|
+
description: "The map pane on which to render the overlay.",
|
|
3434
|
+
defaultValue: "'floatPane'"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
name: "zIndex",
|
|
3438
|
+
type: "number",
|
|
3439
|
+
required: false,
|
|
3440
|
+
description: "CSS z-index for the overlay element."
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
name: "blockMapInteraction",
|
|
3444
|
+
type: "boolean",
|
|
3445
|
+
required: false,
|
|
3446
|
+
description: "Whether to block map click and gesture events from passing through the overlay.",
|
|
3447
|
+
defaultValue: "true"
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
name: "panOnOpen",
|
|
3451
|
+
type: "boolean | number",
|
|
3452
|
+
required: false,
|
|
3453
|
+
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.",
|
|
3454
|
+
defaultValue: "true"
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
name: "hideWhenClustered",
|
|
3458
|
+
type: "boolean",
|
|
3459
|
+
required: false,
|
|
3460
|
+
description: "Automatically hide the overlay when its parent marker joins a cluster (on zoom out). Only applies when nested inside a ScriptGoogleMapsMarkerClusterer.",
|
|
3461
|
+
defaultValue: "true"
|
|
3462
|
+
},
|
|
3025
3463
|
{
|
|
3026
3464
|
name: "v-model:open",
|
|
3027
3465
|
type: "boolean",
|
|
3028
3466
|
required: false
|
|
3029
3467
|
}
|
|
3030
3468
|
],
|
|
3469
|
+
ScriptGoogleMapsOverlayViewSlots: [
|
|
3470
|
+
{
|
|
3471
|
+
name: "default",
|
|
3472
|
+
type: "-",
|
|
3473
|
+
required: false
|
|
3474
|
+
}
|
|
3475
|
+
],
|
|
3031
3476
|
ScriptGoogleMapsPolygonProps: [
|
|
3032
3477
|
{
|
|
3033
3478
|
name: "options",
|
|
@@ -3262,6 +3707,663 @@ const schemaFields = {
|
|
|
3262
3707
|
description: "Fired when the DOM mouseup event is fired on the rectangle."
|
|
3263
3708
|
}
|
|
3264
3709
|
],
|
|
3710
|
+
ScriptLeafletGeoJsonProps: [
|
|
3711
|
+
{
|
|
3712
|
+
name: "data",
|
|
3713
|
+
type: "GeoJsonObject | GeoJsonObject[]",
|
|
3714
|
+
required: true
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
name: "options",
|
|
3718
|
+
type: "Leaflet.GeoJSONOptions",
|
|
3719
|
+
required: false
|
|
3720
|
+
}
|
|
3721
|
+
],
|
|
3722
|
+
ScriptLeafletGeoJsonEvents: [
|
|
3723
|
+
{
|
|
3724
|
+
name: "click",
|
|
3725
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3726
|
+
required: false
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
name: "dblclick",
|
|
3730
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3731
|
+
required: false
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
name: "mousedown",
|
|
3735
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3736
|
+
required: false
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
name: "mouseover",
|
|
3740
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3741
|
+
required: false
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
name: "mouseout",
|
|
3745
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3746
|
+
required: false
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
name: "contextmenu",
|
|
3750
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3751
|
+
required: false
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
name: "layeradd",
|
|
3755
|
+
type: "Leaflet.LayerEvent",
|
|
3756
|
+
required: false
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
name: "layerremove",
|
|
3760
|
+
type: "Leaflet.LayerEvent",
|
|
3761
|
+
required: false
|
|
3762
|
+
}
|
|
3763
|
+
],
|
|
3764
|
+
ScriptLeafletMapProps: [
|
|
3765
|
+
{
|
|
3766
|
+
name: "trigger",
|
|
3767
|
+
type: "ElementScriptTrigger",
|
|
3768
|
+
required: false,
|
|
3769
|
+
description: "Defines when the Leaflet script loads.",
|
|
3770
|
+
defaultValue: "'visible'"
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
name: "center",
|
|
3774
|
+
type: "Leaflet.LatLngExpression",
|
|
3775
|
+
required: true
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
name: "zoom",
|
|
3779
|
+
type: "number",
|
|
3780
|
+
required: false
|
|
3781
|
+
},
|
|
3782
|
+
{
|
|
3783
|
+
name: "options",
|
|
3784
|
+
type: "Leaflet.MapOptions",
|
|
3785
|
+
required: false
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
name: "injectStyles",
|
|
3789
|
+
type: "boolean",
|
|
3790
|
+
required: false
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
name: "width",
|
|
3794
|
+
type: "number | string",
|
|
3795
|
+
required: false
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
name: "height",
|
|
3799
|
+
type: "number | string",
|
|
3800
|
+
required: false
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
name: "ariaLabel",
|
|
3804
|
+
type: "string",
|
|
3805
|
+
required: false
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
name: "interactive",
|
|
3809
|
+
type: "boolean",
|
|
3810
|
+
required: false
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
name: "rootAttrs",
|
|
3814
|
+
type: "HTMLAttributes & ReservedProps & Record<string, unknown>",
|
|
3815
|
+
required: false
|
|
3816
|
+
}
|
|
3817
|
+
],
|
|
3818
|
+
ScriptLeafletMapEvents: [
|
|
3819
|
+
{
|
|
3820
|
+
name: "ready",
|
|
3821
|
+
type: "ScriptLeafletMapExpose",
|
|
3822
|
+
required: false
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
name: "error",
|
|
3826
|
+
type: "Error",
|
|
3827
|
+
required: false
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
name: "click",
|
|
3831
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3832
|
+
required: false
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
name: "move",
|
|
3836
|
+
type: "Leaflet.LeafletEvent",
|
|
3837
|
+
required: false
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
name: "moveend",
|
|
3841
|
+
type: "Leaflet.LeafletEvent",
|
|
3842
|
+
required: false
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
name: "zoom",
|
|
3846
|
+
type: "Leaflet.LeafletEvent",
|
|
3847
|
+
required: false
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
name: "zoomend",
|
|
3851
|
+
type: "Leaflet.LeafletEvent",
|
|
3852
|
+
required: false
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
name: "update:center",
|
|
3856
|
+
type: "Leaflet.LatLng",
|
|
3857
|
+
required: false
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
name: "update:zoom",
|
|
3861
|
+
type: "number",
|
|
3862
|
+
required: false
|
|
3863
|
+
}
|
|
3864
|
+
],
|
|
3865
|
+
ScriptLeafletMapSlots: [
|
|
3866
|
+
{
|
|
3867
|
+
name: "default",
|
|
3868
|
+
type: "-",
|
|
3869
|
+
required: false
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
name: "loading",
|
|
3873
|
+
type: "-",
|
|
3874
|
+
required: false
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
name: "awaitingLoad",
|
|
3878
|
+
type: "-",
|
|
3879
|
+
required: false
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
name: "error",
|
|
3883
|
+
type: "{ error: Error }",
|
|
3884
|
+
required: false
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
name: "placeholder",
|
|
3888
|
+
type: "-",
|
|
3889
|
+
required: false
|
|
3890
|
+
}
|
|
3891
|
+
],
|
|
3892
|
+
ScriptLeafletMarkerProps: [
|
|
3893
|
+
{
|
|
3894
|
+
name: "position",
|
|
3895
|
+
type: "Leaflet.LatLngExpression",
|
|
3896
|
+
required: true
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
name: "alt",
|
|
3900
|
+
type: "string",
|
|
3901
|
+
required: false
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
name: "title",
|
|
3905
|
+
type: "string",
|
|
3906
|
+
required: false
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
name: "options",
|
|
3910
|
+
type: "Leaflet.MarkerOptions",
|
|
3911
|
+
required: false
|
|
3912
|
+
}
|
|
3913
|
+
],
|
|
3914
|
+
ScriptLeafletMarkerEvents: [
|
|
3915
|
+
{
|
|
3916
|
+
name: "click",
|
|
3917
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3918
|
+
required: false
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
name: "dblclick",
|
|
3922
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3923
|
+
required: false
|
|
3924
|
+
},
|
|
3925
|
+
{
|
|
3926
|
+
name: "mousedown",
|
|
3927
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3928
|
+
required: false
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
name: "mouseover",
|
|
3932
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3933
|
+
required: false
|
|
3934
|
+
},
|
|
3935
|
+
{
|
|
3936
|
+
name: "mouseout",
|
|
3937
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3938
|
+
required: false
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
name: "contextmenu",
|
|
3942
|
+
type: "Leaflet.LeafletMouseEvent",
|
|
3943
|
+
required: false
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
name: "dragstart",
|
|
3947
|
+
type: "Leaflet.LeafletEvent",
|
|
3948
|
+
required: false
|
|
3949
|
+
},
|
|
3950
|
+
{
|
|
3951
|
+
name: "drag",
|
|
3952
|
+
type: "Leaflet.LeafletEvent",
|
|
3953
|
+
required: false
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
name: "dragend",
|
|
3957
|
+
type: "Leaflet.DragEndEvent",
|
|
3958
|
+
required: false
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
name: "move",
|
|
3962
|
+
type: "Leaflet.LeafletEvent",
|
|
3963
|
+
required: false
|
|
3964
|
+
}
|
|
3965
|
+
],
|
|
3966
|
+
ScriptLeafletMarkerSlots: [
|
|
3967
|
+
{
|
|
3968
|
+
name: "default",
|
|
3969
|
+
type: "-",
|
|
3970
|
+
required: false
|
|
3971
|
+
}
|
|
3972
|
+
],
|
|
3973
|
+
ScriptLeafletPopupProps: [
|
|
3974
|
+
{
|
|
3975
|
+
name: "position",
|
|
3976
|
+
type: "Leaflet.LatLngExpression",
|
|
3977
|
+
required: false
|
|
3978
|
+
},
|
|
3979
|
+
{
|
|
3980
|
+
name: "open",
|
|
3981
|
+
type: "boolean",
|
|
3982
|
+
required: false
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
name: "options",
|
|
3986
|
+
type: "Leaflet.PopupOptions",
|
|
3987
|
+
required: false
|
|
3988
|
+
}
|
|
3989
|
+
],
|
|
3990
|
+
ScriptLeafletPopupEvents: [
|
|
3991
|
+
{
|
|
3992
|
+
name: "open",
|
|
3993
|
+
type: "Leaflet.LeafletEvent",
|
|
3994
|
+
required: false
|
|
3995
|
+
},
|
|
3996
|
+
{
|
|
3997
|
+
name: "close",
|
|
3998
|
+
type: "Leaflet.LeafletEvent",
|
|
3999
|
+
required: false
|
|
4000
|
+
}
|
|
4001
|
+
],
|
|
4002
|
+
ScriptLeafletPopupSlots: [
|
|
4003
|
+
{
|
|
4004
|
+
name: "default",
|
|
4005
|
+
type: "-",
|
|
4006
|
+
required: false
|
|
4007
|
+
}
|
|
4008
|
+
],
|
|
4009
|
+
ScriptLeafletTileLayerProps: [
|
|
4010
|
+
{
|
|
4011
|
+
name: "url",
|
|
4012
|
+
type: "string",
|
|
4013
|
+
required: true
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
name: "options",
|
|
4017
|
+
type: "Leaflet.TileLayerOptions",
|
|
4018
|
+
required: false
|
|
4019
|
+
}
|
|
4020
|
+
],
|
|
4021
|
+
ScriptLeafletTileLayerEvents: [
|
|
4022
|
+
{
|
|
4023
|
+
name: "loading",
|
|
4024
|
+
type: "Leaflet.LeafletEvent",
|
|
4025
|
+
required: false
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
name: "load",
|
|
4029
|
+
type: "Leaflet.LeafletEvent",
|
|
4030
|
+
required: false
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
name: "tileloadstart",
|
|
4034
|
+
type: "Leaflet.TileEvent",
|
|
4035
|
+
required: false
|
|
4036
|
+
},
|
|
4037
|
+
{
|
|
4038
|
+
name: "tileload",
|
|
4039
|
+
type: "Leaflet.TileEvent",
|
|
4040
|
+
required: false
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
name: "tileabort",
|
|
4044
|
+
type: "Leaflet.TileEvent",
|
|
4045
|
+
required: false
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
name: "tileerror",
|
|
4049
|
+
type: "Leaflet.TileErrorEvent",
|
|
4050
|
+
required: false
|
|
4051
|
+
}
|
|
4052
|
+
],
|
|
4053
|
+
ScriptMapLibreGeoJsonProps: [
|
|
4054
|
+
{
|
|
4055
|
+
name: "sourceId",
|
|
4056
|
+
type: "string",
|
|
4057
|
+
required: true
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
name: "data",
|
|
4061
|
+
type: "GeoJSON | string",
|
|
4062
|
+
required: true
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
name: "sourceOptions",
|
|
4066
|
+
type: "Omit<MapLibreGl.GeoJSONSourceSpecification, 'type' | 'data'>",
|
|
4067
|
+
required: false
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
name: "layers",
|
|
4071
|
+
type: "ScriptMapLibreGeoJsonLayer[]",
|
|
4072
|
+
required: true
|
|
4073
|
+
},
|
|
4074
|
+
{
|
|
4075
|
+
name: "beforeId",
|
|
4076
|
+
type: "string",
|
|
4077
|
+
required: false
|
|
4078
|
+
}
|
|
4079
|
+
],
|
|
4080
|
+
ScriptMapLibreMapProps: [
|
|
4081
|
+
{
|
|
4082
|
+
name: "trigger",
|
|
4083
|
+
type: "ElementScriptTrigger",
|
|
4084
|
+
required: false,
|
|
4085
|
+
description: "Defines when the MapLibre script loads.",
|
|
4086
|
+
defaultValue: "'visible'"
|
|
4087
|
+
},
|
|
4088
|
+
{
|
|
4089
|
+
name: "mapStyle",
|
|
4090
|
+
type: "string | MapLibre.StyleSpecification",
|
|
4091
|
+
required: true
|
|
4092
|
+
},
|
|
4093
|
+
{
|
|
4094
|
+
name: "center",
|
|
4095
|
+
type: "MapLibre.LngLatLike",
|
|
4096
|
+
required: true
|
|
4097
|
+
},
|
|
4098
|
+
{
|
|
4099
|
+
name: "zoom",
|
|
4100
|
+
type: "number",
|
|
4101
|
+
required: false
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
name: "bearing",
|
|
4105
|
+
type: "number",
|
|
4106
|
+
required: false
|
|
4107
|
+
},
|
|
4108
|
+
{
|
|
4109
|
+
name: "pitch",
|
|
4110
|
+
type: "number",
|
|
4111
|
+
required: false
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
name: "options",
|
|
4115
|
+
type: "Omit<MapLibre.MapOptions, 'container'>",
|
|
4116
|
+
required: false
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
name: "injectStyles",
|
|
4120
|
+
type: "boolean",
|
|
4121
|
+
required: false
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
name: "stylesheetUrl",
|
|
4125
|
+
type: "string",
|
|
4126
|
+
required: false
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
name: "workerUrl",
|
|
4130
|
+
type: "string",
|
|
4131
|
+
required: false
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
name: "width",
|
|
4135
|
+
type: "number | string",
|
|
4136
|
+
required: false
|
|
4137
|
+
},
|
|
4138
|
+
{
|
|
4139
|
+
name: "height",
|
|
4140
|
+
type: "number | string",
|
|
4141
|
+
required: false
|
|
4142
|
+
},
|
|
4143
|
+
{
|
|
4144
|
+
name: "ariaLabel",
|
|
4145
|
+
type: "string",
|
|
4146
|
+
required: false
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
name: "interactive",
|
|
4150
|
+
type: "boolean",
|
|
4151
|
+
required: false
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
name: "rootAttrs",
|
|
4155
|
+
type: "HTMLAttributes & ReservedProps & Record<string, unknown>",
|
|
4156
|
+
required: false
|
|
4157
|
+
}
|
|
4158
|
+
],
|
|
4159
|
+
ScriptMapLibreMapEvents: [
|
|
4160
|
+
{
|
|
4161
|
+
name: "ready",
|
|
4162
|
+
type: "ScriptMapLibreMapExpose",
|
|
4163
|
+
required: false
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
name: "error",
|
|
4167
|
+
type: "Error",
|
|
4168
|
+
required: false
|
|
4169
|
+
},
|
|
4170
|
+
{
|
|
4171
|
+
name: "click",
|
|
4172
|
+
type: "MapLibre.MapEventType['click']",
|
|
4173
|
+
required: false
|
|
4174
|
+
},
|
|
4175
|
+
{
|
|
4176
|
+
name: "move",
|
|
4177
|
+
type: "MapLibre.MapEventType['move']",
|
|
4178
|
+
required: false
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
name: "moveend",
|
|
4182
|
+
type: "MapLibre.MapEventType['moveend']",
|
|
4183
|
+
required: false
|
|
4184
|
+
},
|
|
4185
|
+
{
|
|
4186
|
+
name: "zoom",
|
|
4187
|
+
type: "MapLibre.MapEventType['zoom']",
|
|
4188
|
+
required: false
|
|
4189
|
+
},
|
|
4190
|
+
{
|
|
4191
|
+
name: "zoomend",
|
|
4192
|
+
type: "MapLibre.MapEventType['zoomend']",
|
|
4193
|
+
required: false
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
name: "rotate",
|
|
4197
|
+
type: "MapLibre.MapEventType['rotate']",
|
|
4198
|
+
required: false
|
|
4199
|
+
},
|
|
4200
|
+
{
|
|
4201
|
+
name: "rotateend",
|
|
4202
|
+
type: "MapLibre.MapEventType['rotateend']",
|
|
4203
|
+
required: false
|
|
4204
|
+
},
|
|
4205
|
+
{
|
|
4206
|
+
name: "pitch",
|
|
4207
|
+
type: "MapLibre.MapEventType['pitch']",
|
|
4208
|
+
required: false
|
|
4209
|
+
},
|
|
4210
|
+
{
|
|
4211
|
+
name: "pitchend",
|
|
4212
|
+
type: "MapLibre.MapEventType['pitchend']",
|
|
4213
|
+
required: false
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
name: "update:center",
|
|
4217
|
+
type: "MapLibre.LngLat",
|
|
4218
|
+
required: false
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
name: "update:zoom",
|
|
4222
|
+
type: "number",
|
|
4223
|
+
required: false
|
|
4224
|
+
},
|
|
4225
|
+
{
|
|
4226
|
+
name: "update:bearing",
|
|
4227
|
+
type: "number",
|
|
4228
|
+
required: false
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
name: "update:pitch",
|
|
4232
|
+
type: "number",
|
|
4233
|
+
required: false
|
|
4234
|
+
}
|
|
4235
|
+
],
|
|
4236
|
+
ScriptMapLibreMapSlots: [
|
|
4237
|
+
{
|
|
4238
|
+
name: "default",
|
|
4239
|
+
type: "-",
|
|
4240
|
+
required: false
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
name: "loading",
|
|
4244
|
+
type: "-",
|
|
4245
|
+
required: false
|
|
4246
|
+
},
|
|
4247
|
+
{
|
|
4248
|
+
name: "awaitingLoad",
|
|
4249
|
+
type: "-",
|
|
4250
|
+
required: false
|
|
4251
|
+
},
|
|
4252
|
+
{
|
|
4253
|
+
name: "error",
|
|
4254
|
+
type: "{ error: Error }",
|
|
4255
|
+
required: false
|
|
4256
|
+
},
|
|
4257
|
+
{
|
|
4258
|
+
name: "placeholder",
|
|
4259
|
+
type: "-",
|
|
4260
|
+
required: false
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
name: "description",
|
|
4264
|
+
type: "-",
|
|
4265
|
+
required: false
|
|
4266
|
+
}
|
|
4267
|
+
],
|
|
4268
|
+
ScriptMapLibreMarkerProps: [
|
|
4269
|
+
{
|
|
4270
|
+
name: "position",
|
|
4271
|
+
type: "MapLibre.LngLatLike",
|
|
4272
|
+
required: true
|
|
4273
|
+
},
|
|
4274
|
+
{
|
|
4275
|
+
name: "ariaLabel",
|
|
4276
|
+
type: "string",
|
|
4277
|
+
required: false
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
name: "title",
|
|
4281
|
+
type: "string",
|
|
4282
|
+
required: false
|
|
4283
|
+
},
|
|
4284
|
+
{
|
|
4285
|
+
name: "options",
|
|
4286
|
+
type: "MapLibre.MarkerOptions",
|
|
4287
|
+
required: false
|
|
4288
|
+
}
|
|
4289
|
+
],
|
|
4290
|
+
ScriptMapLibreMarkerEvents: [
|
|
4291
|
+
{
|
|
4292
|
+
name: "click",
|
|
4293
|
+
type: "MouseEvent",
|
|
4294
|
+
required: false
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
name: "dragstart",
|
|
4298
|
+
type: "MapLibre.Event",
|
|
4299
|
+
required: false
|
|
4300
|
+
},
|
|
4301
|
+
{
|
|
4302
|
+
name: "drag",
|
|
4303
|
+
type: "MapLibre.Event",
|
|
4304
|
+
required: false
|
|
4305
|
+
},
|
|
4306
|
+
{
|
|
4307
|
+
name: "dragend",
|
|
4308
|
+
type: "MapLibre.Event",
|
|
4309
|
+
required: false
|
|
4310
|
+
}
|
|
4311
|
+
],
|
|
4312
|
+
ScriptMapLibreMarkerSlots: [
|
|
4313
|
+
{
|
|
4314
|
+
name: "default",
|
|
4315
|
+
type: "-",
|
|
4316
|
+
required: false
|
|
4317
|
+
}
|
|
4318
|
+
],
|
|
4319
|
+
ScriptMapLibreNavigationControlProps: [
|
|
4320
|
+
{
|
|
4321
|
+
name: "position",
|
|
4322
|
+
type: "MapLibre.ControlPosition",
|
|
4323
|
+
required: false
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
name: "options",
|
|
4327
|
+
type: "MapLibre.NavigationControlOptions",
|
|
4328
|
+
required: false
|
|
4329
|
+
}
|
|
4330
|
+
],
|
|
4331
|
+
ScriptMapLibrePopupProps: [
|
|
4332
|
+
{
|
|
4333
|
+
name: "position",
|
|
4334
|
+
type: "MapLibre.LngLatLike",
|
|
4335
|
+
required: false
|
|
4336
|
+
},
|
|
4337
|
+
{
|
|
4338
|
+
name: "open",
|
|
4339
|
+
type: "boolean",
|
|
4340
|
+
required: false
|
|
4341
|
+
},
|
|
4342
|
+
{
|
|
4343
|
+
name: "options",
|
|
4344
|
+
type: "MapLibre.PopupOptions",
|
|
4345
|
+
required: false
|
|
4346
|
+
}
|
|
4347
|
+
],
|
|
4348
|
+
ScriptMapLibrePopupEvents: [
|
|
4349
|
+
{
|
|
4350
|
+
name: "open",
|
|
4351
|
+
type: "MapLibre.Event",
|
|
4352
|
+
required: false
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
name: "close",
|
|
4356
|
+
type: "MapLibre.Event",
|
|
4357
|
+
required: false
|
|
4358
|
+
}
|
|
4359
|
+
],
|
|
4360
|
+
ScriptMapLibrePopupSlots: [
|
|
4361
|
+
{
|
|
4362
|
+
name: "default",
|
|
4363
|
+
type: "-",
|
|
4364
|
+
required: false
|
|
4365
|
+
}
|
|
4366
|
+
],
|
|
3265
4367
|
ScriptBlueskyEmbedProps: [
|
|
3266
4368
|
{
|
|
3267
4369
|
name: "postUrl",
|