@nuxt/scripts 0.13.0 → 0.13.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/README.md +1 -1
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{DlfHMoPT.js → BPQ3VLAy.js} +1 -1
- package/dist/client/_nuxt/BzljQ-rd.js +162 -0
- package/dist/client/_nuxt/DK362SOH.js +1 -0
- package/dist/client/_nuxt/PHLQDN5L.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/9e8815f0-bd29-4c63-bc27-648fe5a7bddb.json +1 -0
- package/dist/client/_nuxt/{entry.Bb8Z00UZ.css → entry.BjfcJo5q.css} +1 -1
- package/dist/client/_nuxt/error-404.ZuyiY1vu.css +1 -0
- package/dist/client/_nuxt/error-500.BfVWfWcz.css +1 -0
- package/dist/client/_nuxt/xoNbWVYj.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -4
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +223 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +223 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +2 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +2 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +2 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +2 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +3 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +3 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +3 -3
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +4 -4
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +4 -4
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +4 -4
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +4 -4
- package/dist/runtime/registry/x-pixel.js +1 -1
- package/package.json +24 -24
- package/dist/client/_nuxt/C09X5LNe.js +0 -1
- package/dist/client/_nuxt/CDuymAca.js +0 -1
- package/dist/client/_nuxt/CGGF_5bm.js +0 -179
- package/dist/client/_nuxt/Z5EPizOU.js +0 -1
- package/dist/client/_nuxt/builds/meta/78c6ab23-83d1-4e01-9f34-31be10d5e3b9.json +0 -1
- package/dist/client/_nuxt/error-404.c-5_FvQE.css +0 -1
- package/dist/client/_nuxt/error-500.Dgf4btmt.css +0 -1
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
export interface PlaceholderOptions {
|
|
2
|
+
width?: string | number;
|
|
3
|
+
height?: string | number;
|
|
4
|
+
center?: string;
|
|
5
|
+
zoom?: number;
|
|
6
|
+
size?: string;
|
|
7
|
+
scale?: number;
|
|
8
|
+
format?: 'png' | 'jpg' | 'gif' | 'png8' | 'png32' | 'jpg-baseline';
|
|
9
|
+
maptype?: 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
|
|
10
|
+
language?: string;
|
|
11
|
+
region?: string;
|
|
12
|
+
markers?: string;
|
|
13
|
+
path?: string;
|
|
14
|
+
visible?: string;
|
|
15
|
+
style?: string;
|
|
16
|
+
map_id?: string;
|
|
17
|
+
key?: string;
|
|
18
|
+
signature?: string;
|
|
19
|
+
}
|
|
20
|
+
import type { HTMLAttributes, ImgHTMLAttributes, InjectionKey, Ref, ReservedProps, ShallowRef } from 'vue';
|
|
21
|
+
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
22
|
+
export declare const MAP_INJECTION_KEY: InjectionKey<{
|
|
23
|
+
map: ShallowRef<google.maps.Map | undefined>;
|
|
24
|
+
mapsApi: Ref<typeof google.maps | undefined>;
|
|
25
|
+
}>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
29
|
+
/**
|
|
30
|
+
* Defines the trigger event to load the script.
|
|
31
|
+
*/
|
|
32
|
+
trigger?: ElementScriptTrigger;
|
|
33
|
+
/**
|
|
34
|
+
* Is Google Maps being rendered above the fold?
|
|
35
|
+
* This will load the placeholder image with higher priority.
|
|
36
|
+
*/
|
|
37
|
+
aboveTheFold?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Defines the Google Maps API key. Must have access to the Static Maps API as well.
|
|
40
|
+
*/
|
|
41
|
+
apiKey?: string;
|
|
42
|
+
/**
|
|
43
|
+
* A latitude / longitude of where to focus the map.
|
|
44
|
+
*/
|
|
45
|
+
center?: google.maps.LatLng | google.maps.LatLngLiteral | `${string},${string}`;
|
|
46
|
+
/**
|
|
47
|
+
* Should a marker be displayed on the map where the centre is.
|
|
48
|
+
*/
|
|
49
|
+
centerMarker?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Options for the map.
|
|
52
|
+
*/
|
|
53
|
+
mapOptions?: google.maps.MapOptions;
|
|
54
|
+
/**
|
|
55
|
+
* Defines the region of the map.
|
|
56
|
+
*/
|
|
57
|
+
region?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Defines the language of the map
|
|
60
|
+
*/
|
|
61
|
+
language?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Defines the version of google maps js API
|
|
64
|
+
*/
|
|
65
|
+
version?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Defines the width of the map.
|
|
68
|
+
*/
|
|
69
|
+
width?: number | string;
|
|
70
|
+
/**
|
|
71
|
+
* Defines the height of the map
|
|
72
|
+
*/
|
|
73
|
+
height?: number | string;
|
|
74
|
+
/**
|
|
75
|
+
* Customize the placeholder image attributes.
|
|
76
|
+
*
|
|
77
|
+
* @see https://developers.google.com/maps/documentation/maps-static/start.
|
|
78
|
+
*/
|
|
79
|
+
placeholderOptions?: PlaceholderOptions;
|
|
80
|
+
/**
|
|
81
|
+
* Customize the placeholder image attributes.
|
|
82
|
+
*/
|
|
83
|
+
placeholderAttrs?: ImgHTMLAttributes & ReservedProps & Record<string, unknown>;
|
|
84
|
+
/**
|
|
85
|
+
* Customize the root element attributes.
|
|
86
|
+
*/
|
|
87
|
+
rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>;
|
|
88
|
+
/**
|
|
89
|
+
* Extra Markers to add to the map.
|
|
90
|
+
*/
|
|
91
|
+
markers?: (`${string},${string}` | google.maps.marker.AdvancedMarkerElementOptions)[];
|
|
92
|
+
}, {
|
|
93
|
+
readonly googleMaps: Ref<typeof google.maps | undefined, typeof google.maps | undefined>;
|
|
94
|
+
readonly map: ShallowRef<google.maps.Map | undefined>;
|
|
95
|
+
readonly createAdvancedMapMarker: (_options?: google.maps.marker.AdvancedMarkerElementOptions | `${string},${string}`) => Promise<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
96
|
+
readonly resolveQueryToLatLang: (query: string) => Promise<google.maps.LatLng | undefined>;
|
|
97
|
+
readonly importLibrary: {
|
|
98
|
+
(key: "marker"): Promise<google.maps.MarkerLibrary>;
|
|
99
|
+
(key: "places"): Promise<google.maps.PlacesLibrary>;
|
|
100
|
+
(key: "geometry"): Promise<google.maps.GeometryLibrary>;
|
|
101
|
+
(key: "drawing"): Promise<google.maps.DrawingLibrary>;
|
|
102
|
+
(key: "visualization"): Promise<google.maps.VisualizationLibrary>;
|
|
103
|
+
(key: string): Promise<any>;
|
|
104
|
+
};
|
|
105
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
|
+
error: () => any;
|
|
107
|
+
ready: (e: {
|
|
108
|
+
readonly googleMaps: Ref<typeof google.maps | undefined, typeof google.maps | undefined>;
|
|
109
|
+
readonly map: ShallowRef<google.maps.Map | undefined>;
|
|
110
|
+
readonly createAdvancedMapMarker: (_options?: google.maps.marker.AdvancedMarkerElementOptions | `${string},${string}`) => Promise<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
111
|
+
readonly resolveQueryToLatLang: (query: string) => Promise<google.maps.LatLng | undefined>;
|
|
112
|
+
readonly importLibrary: {
|
|
113
|
+
(key: "marker"): Promise<google.maps.MarkerLibrary>;
|
|
114
|
+
(key: "places"): Promise<google.maps.PlacesLibrary>;
|
|
115
|
+
(key: "geometry"): Promise<google.maps.GeometryLibrary>;
|
|
116
|
+
(key: "drawing"): Promise<google.maps.DrawingLibrary>;
|
|
117
|
+
(key: "visualization"): Promise<google.maps.VisualizationLibrary>;
|
|
118
|
+
(key: string): Promise<any>;
|
|
119
|
+
};
|
|
120
|
+
}) => any;
|
|
121
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
122
|
+
/**
|
|
123
|
+
* Defines the trigger event to load the script.
|
|
124
|
+
*/
|
|
125
|
+
trigger?: ElementScriptTrigger;
|
|
126
|
+
/**
|
|
127
|
+
* Is Google Maps being rendered above the fold?
|
|
128
|
+
* This will load the placeholder image with higher priority.
|
|
129
|
+
*/
|
|
130
|
+
aboveTheFold?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Defines the Google Maps API key. Must have access to the Static Maps API as well.
|
|
133
|
+
*/
|
|
134
|
+
apiKey?: string;
|
|
135
|
+
/**
|
|
136
|
+
* A latitude / longitude of where to focus the map.
|
|
137
|
+
*/
|
|
138
|
+
center?: google.maps.LatLng | google.maps.LatLngLiteral | `${string},${string}`;
|
|
139
|
+
/**
|
|
140
|
+
* Should a marker be displayed on the map where the centre is.
|
|
141
|
+
*/
|
|
142
|
+
centerMarker?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Options for the map.
|
|
145
|
+
*/
|
|
146
|
+
mapOptions?: google.maps.MapOptions;
|
|
147
|
+
/**
|
|
148
|
+
* Defines the region of the map.
|
|
149
|
+
*/
|
|
150
|
+
region?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Defines the language of the map
|
|
153
|
+
*/
|
|
154
|
+
language?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Defines the version of google maps js API
|
|
157
|
+
*/
|
|
158
|
+
version?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Defines the width of the map.
|
|
161
|
+
*/
|
|
162
|
+
width?: number | string;
|
|
163
|
+
/**
|
|
164
|
+
* Defines the height of the map
|
|
165
|
+
*/
|
|
166
|
+
height?: number | string;
|
|
167
|
+
/**
|
|
168
|
+
* Customize the placeholder image attributes.
|
|
169
|
+
*
|
|
170
|
+
* @see https://developers.google.com/maps/documentation/maps-static/start.
|
|
171
|
+
*/
|
|
172
|
+
placeholderOptions?: PlaceholderOptions;
|
|
173
|
+
/**
|
|
174
|
+
* Customize the placeholder image attributes.
|
|
175
|
+
*/
|
|
176
|
+
placeholderAttrs?: ImgHTMLAttributes & ReservedProps & Record<string, unknown>;
|
|
177
|
+
/**
|
|
178
|
+
* Customize the root element attributes.
|
|
179
|
+
*/
|
|
180
|
+
rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>;
|
|
181
|
+
/**
|
|
182
|
+
* Extra Markers to add to the map.
|
|
183
|
+
*/
|
|
184
|
+
markers?: (`${string},${string}` | google.maps.marker.AdvancedMarkerElementOptions)[];
|
|
185
|
+
}> & Readonly<{
|
|
186
|
+
onError?: (() => any) | undefined;
|
|
187
|
+
onReady?: ((e: {
|
|
188
|
+
readonly googleMaps: Ref<typeof google.maps | undefined, typeof google.maps | undefined>;
|
|
189
|
+
readonly map: ShallowRef<google.maps.Map | undefined>;
|
|
190
|
+
readonly createAdvancedMapMarker: (_options?: google.maps.marker.AdvancedMarkerElementOptions | `${string},${string}`) => Promise<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
191
|
+
readonly resolveQueryToLatLang: (query: string) => Promise<google.maps.LatLng | undefined>;
|
|
192
|
+
readonly importLibrary: {
|
|
193
|
+
(key: "marker"): Promise<google.maps.MarkerLibrary>;
|
|
194
|
+
(key: "places"): Promise<google.maps.PlacesLibrary>;
|
|
195
|
+
(key: "geometry"): Promise<google.maps.GeometryLibrary>;
|
|
196
|
+
(key: "drawing"): Promise<google.maps.DrawingLibrary>;
|
|
197
|
+
(key: "visualization"): Promise<google.maps.VisualizationLibrary>;
|
|
198
|
+
(key: string): Promise<any>;
|
|
199
|
+
};
|
|
200
|
+
}) => any) | undefined;
|
|
201
|
+
}>, {
|
|
202
|
+
trigger: ElementScriptTrigger;
|
|
203
|
+
centerMarker: boolean;
|
|
204
|
+
width: number | string;
|
|
205
|
+
height: number | string;
|
|
206
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
207
|
+
placeholder?: (props: {
|
|
208
|
+
placeholder: any;
|
|
209
|
+
}) => any;
|
|
210
|
+
} & {
|
|
211
|
+
loading?: (props: {}) => any;
|
|
212
|
+
} & {
|
|
213
|
+
awaitingLoad?: (props: {}) => any;
|
|
214
|
+
} & {
|
|
215
|
+
error?: (props: {}) => any;
|
|
216
|
+
} & {
|
|
217
|
+
default?: (props: {}) => any;
|
|
218
|
+
}>;
|
|
219
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
220
|
+
new (): {
|
|
221
|
+
$slots: S;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
@@ -2,6 +2,8 @@ import type { InjectionKey, ShallowRef } from 'vue';
|
|
|
2
2
|
export declare const ADVANCED_MARKER_ELEMENT_INJECTION_KEY: InjectionKey<{
|
|
3
3
|
advancedMarkerElement: ShallowRef<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
4
4
|
}>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
5
7
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
8
|
options?: Omit<google.maps.marker.AdvancedMarkerElementOptions, "map">;
|
|
7
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -53,8 +55,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
53
55
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
56
|
default?: (props: {}) => any;
|
|
55
57
|
}>;
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
58
58
|
type __VLS_WithSlots<T, S> = T & {
|
|
59
59
|
new (): {
|
|
60
60
|
$slots: S;
|
|
@@ -7,7 +7,7 @@ import { inject, onUnmounted, provide, shallowRef } from "vue";
|
|
|
7
7
|
import { whenever } from "@vueuse/core";
|
|
8
8
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
9
|
import { MARKER_CLUSTERER_INJECTION_KEY } from "./ScriptGoogleMapsMarkerClusterer.vue";
|
|
10
|
-
export const ADVANCED_MARKER_ELEMENT_INJECTION_KEY = Symbol("marker");
|
|
10
|
+
export const ADVANCED_MARKER_ELEMENT_INJECTION_KEY = /* @__PURE__ */ Symbol("marker");
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
@@ -2,6 +2,8 @@ import type { InjectionKey, ShallowRef } from 'vue';
|
|
|
2
2
|
export declare const ADVANCED_MARKER_ELEMENT_INJECTION_KEY: InjectionKey<{
|
|
3
3
|
advancedMarkerElement: ShallowRef<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
4
4
|
}>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
5
7
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
8
|
options?: Omit<google.maps.marker.AdvancedMarkerElementOptions, "map">;
|
|
7
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -53,8 +55,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
53
55
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
56
|
default?: (props: {}) => any;
|
|
55
57
|
}>;
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
58
58
|
type __VLS_WithSlots<T, S> = T & {
|
|
59
59
|
new (): {
|
|
60
60
|
$slots: S;
|
|
@@ -2,6 +2,8 @@ import type { InjectionKey, ShallowRef } from 'vue';
|
|
|
2
2
|
export declare const MARKER_INJECTION_KEY: InjectionKey<{
|
|
3
3
|
marker: ShallowRef<google.maps.Marker | undefined>;
|
|
4
4
|
}>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
5
7
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
8
|
options?: Omit<google.maps.MarkerOptions, "map">;
|
|
7
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -53,8 +55,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
53
55
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
56
|
default?: (props: {}) => any;
|
|
55
57
|
}>;
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
58
58
|
type __VLS_WithSlots<T, S> = T & {
|
|
59
59
|
new (): {
|
|
60
60
|
$slots: S;
|
|
@@ -7,7 +7,7 @@ import { inject, onUnmounted, provide, shallowRef } from "vue";
|
|
|
7
7
|
import { whenever } from "@vueuse/core";
|
|
8
8
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
9
|
import { MARKER_CLUSTERER_INJECTION_KEY } from "./ScriptGoogleMapsMarkerClusterer.vue";
|
|
10
|
-
export const MARKER_INJECTION_KEY = Symbol("marker");
|
|
10
|
+
export const MARKER_INJECTION_KEY = /* @__PURE__ */ Symbol("marker");
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
@@ -2,6 +2,8 @@ import type { InjectionKey, ShallowRef } from 'vue';
|
|
|
2
2
|
export declare const MARKER_INJECTION_KEY: InjectionKey<{
|
|
3
3
|
marker: ShallowRef<google.maps.Marker | undefined>;
|
|
4
4
|
}>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
5
7
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
8
|
options?: Omit<google.maps.MarkerOptions, "map">;
|
|
7
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -53,8 +55,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
53
55
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
56
|
default?: (props: {}) => any;
|
|
55
57
|
}>;
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
58
58
|
type __VLS_WithSlots<T, S> = T & {
|
|
59
59
|
new (): {
|
|
60
60
|
$slots: S;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { MarkerClusterer,
|
|
1
|
+
import type { MarkerClusterer, MarkerClustererOptions } from '@googlemaps/markerclusterer';
|
|
2
2
|
import { type InjectionKey, type ShallowRef } from 'vue';
|
|
3
3
|
export declare const MARKER_CLUSTERER_INJECTION_KEY: InjectionKey<{
|
|
4
4
|
markerClusterer: ShallowRef<MarkerClusterer | undefined>;
|
|
5
5
|
requestRerender: () => void;
|
|
6
6
|
}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
7
9
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
8
10
|
options?: Omit<MarkerClustererOptions, "map">;
|
|
9
11
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -19,8 +21,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
19
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
22
|
default?: (props: {}) => any;
|
|
21
23
|
}>;
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
|
-
export default _default;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
25
25
|
new (): {
|
|
26
26
|
$slots: S;
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script>
|
|
6
|
-
import { MarkerClusterer } from "@googlemaps/markerclusterer";
|
|
7
6
|
import { inject, onUnmounted, provide, shallowRef } from "vue";
|
|
8
7
|
import { whenever } from "@vueuse/core";
|
|
9
8
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
10
|
-
export const MARKER_CLUSTERER_INJECTION_KEY = Symbol("marker-clusterer");
|
|
9
|
+
export const MARKER_CLUSTERER_INJECTION_KEY = /* @__PURE__ */ Symbol("marker-clusterer");
|
|
11
10
|
</script>
|
|
12
11
|
|
|
13
12
|
<script setup>
|
|
@@ -22,7 +21,8 @@ const markerClustererEvents = [
|
|
|
22
21
|
const emit = defineEmits([]);
|
|
23
22
|
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
24
23
|
const markerClusterer = shallowRef(void 0);
|
|
25
|
-
whenever(() => mapContext?.map.value, (map) => {
|
|
24
|
+
whenever(() => mapContext?.map.value, async (map) => {
|
|
25
|
+
const { MarkerClusterer } = await import("@googlemaps/markerclusterer");
|
|
26
26
|
markerClusterer.value = new MarkerClusterer({
|
|
27
27
|
map,
|
|
28
28
|
...props.options
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { MarkerClusterer,
|
|
1
|
+
import type { MarkerClusterer, MarkerClustererOptions } from '@googlemaps/markerclusterer';
|
|
2
2
|
import { type InjectionKey, type ShallowRef } from 'vue';
|
|
3
3
|
export declare const MARKER_CLUSTERER_INJECTION_KEY: InjectionKey<{
|
|
4
4
|
markerClusterer: ShallowRef<MarkerClusterer | undefined>;
|
|
5
5
|
requestRerender: () => void;
|
|
6
6
|
}>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
7
9
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
8
10
|
options?: Omit<MarkerClustererOptions, "map">;
|
|
9
11
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -19,8 +21,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
19
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
22
|
default?: (props: {}) => any;
|
|
21
23
|
}>;
|
|
22
|
-
declare const _default: typeof __VLS_export;
|
|
23
|
-
export default _default;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
25
25
|
new (): {
|
|
26
26
|
$slots: S;
|
|
@@ -37,17 +37,17 @@ type __VLS_Props = {
|
|
|
37
37
|
id?: number | undefined;
|
|
38
38
|
url?: string | undefined;
|
|
39
39
|
};
|
|
40
|
-
declare var __VLS_1: any, __VLS_3: {},
|
|
40
|
+
declare var __VLS_1: any, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
41
41
|
type __VLS_Slots = {} & {
|
|
42
42
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
43
43
|
} & {
|
|
44
44
|
loading?: (props: typeof __VLS_3) => any;
|
|
45
45
|
} & {
|
|
46
|
-
awaitingLoad?: (props: typeof
|
|
46
|
+
awaitingLoad?: (props: typeof __VLS_10) => any;
|
|
47
47
|
} & {
|
|
48
|
-
error?: (props: typeof
|
|
48
|
+
error?: (props: typeof __VLS_12) => any;
|
|
49
49
|
} & {
|
|
50
|
-
default?: (props: typeof
|
|
50
|
+
default?: (props: typeof __VLS_14) => any;
|
|
51
51
|
};
|
|
52
52
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
53
53
|
play: () => Promise<void> | undefined;
|
|
@@ -37,17 +37,17 @@ type __VLS_Props = {
|
|
|
37
37
|
id?: number | undefined;
|
|
38
38
|
url?: string | undefined;
|
|
39
39
|
};
|
|
40
|
-
declare var __VLS_1: any, __VLS_3: {},
|
|
40
|
+
declare var __VLS_1: any, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
41
41
|
type __VLS_Slots = {} & {
|
|
42
42
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
43
43
|
} & {
|
|
44
44
|
loading?: (props: typeof __VLS_3) => any;
|
|
45
45
|
} & {
|
|
46
|
-
awaitingLoad?: (props: typeof
|
|
46
|
+
awaitingLoad?: (props: typeof __VLS_10) => any;
|
|
47
47
|
} & {
|
|
48
|
-
error?: (props: typeof
|
|
48
|
+
error?: (props: typeof __VLS_12) => any;
|
|
49
49
|
} & {
|
|
50
|
-
default?: (props: typeof
|
|
50
|
+
default?: (props: typeof __VLS_14) => any;
|
|
51
51
|
};
|
|
52
52
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
53
53
|
play: () => Promise<void> | undefined;
|
|
@@ -22,17 +22,17 @@ type __VLS_Props = {
|
|
|
22
22
|
};
|
|
23
23
|
declare var __VLS_1: {
|
|
24
24
|
placeholder: any;
|
|
25
|
-
}, __VLS_3: {},
|
|
25
|
+
}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
26
26
|
type __VLS_Slots = {} & {
|
|
27
27
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
28
28
|
} & {
|
|
29
29
|
loading?: (props: typeof __VLS_3) => any;
|
|
30
30
|
} & {
|
|
31
|
-
awaitingLoad?: (props: typeof
|
|
31
|
+
awaitingLoad?: (props: typeof __VLS_10) => any;
|
|
32
32
|
} & {
|
|
33
|
-
error?: (props: typeof
|
|
33
|
+
error?: (props: typeof __VLS_12) => any;
|
|
34
34
|
} & {
|
|
35
|
-
default?: (props: typeof
|
|
35
|
+
default?: (props: typeof __VLS_14) => any;
|
|
36
36
|
};
|
|
37
37
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
38
38
|
player: Ref<YT.Player | undefined, YT.Player | undefined>;
|
|
@@ -22,17 +22,17 @@ type __VLS_Props = {
|
|
|
22
22
|
};
|
|
23
23
|
declare var __VLS_1: {
|
|
24
24
|
placeholder: any;
|
|
25
|
-
}, __VLS_3: {},
|
|
25
|
+
}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
26
26
|
type __VLS_Slots = {} & {
|
|
27
27
|
placeholder?: (props: typeof __VLS_1) => any;
|
|
28
28
|
} & {
|
|
29
29
|
loading?: (props: typeof __VLS_3) => any;
|
|
30
30
|
} & {
|
|
31
|
-
awaitingLoad?: (props: typeof
|
|
31
|
+
awaitingLoad?: (props: typeof __VLS_10) => any;
|
|
32
32
|
} & {
|
|
33
|
-
error?: (props: typeof
|
|
33
|
+
error?: (props: typeof __VLS_12) => any;
|
|
34
34
|
} & {
|
|
35
|
-
default?: (props: typeof
|
|
35
|
+
default?: (props: typeof __VLS_14) => any;
|
|
36
36
|
};
|
|
37
37
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
38
38
|
player: Ref<YT.Player | undefined, YT.Player | undefined>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.1",
|
|
5
5
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
6
6
|
"author": {
|
|
7
7
|
"website": "https://harlanzw.com",
|
|
@@ -83,49 +83,49 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@nuxt/kit": "^4.
|
|
87
|
-
"@vueuse/core": "^
|
|
86
|
+
"@nuxt/kit": "^4.2.2",
|
|
87
|
+
"@vueuse/core": "^14.1.0",
|
|
88
88
|
"consola": "^3.4.2",
|
|
89
89
|
"defu": "^6.1.4",
|
|
90
90
|
"h3": "^1.15.4",
|
|
91
|
-
"magic-string": "^0.30.
|
|
92
|
-
"ofetch": "^1.
|
|
91
|
+
"magic-string": "^0.30.21",
|
|
92
|
+
"ofetch": "^1.5.1",
|
|
93
93
|
"ohash": "^2.0.11",
|
|
94
94
|
"pathe": "^2.0.3",
|
|
95
95
|
"pkg-types": "^2.3.0",
|
|
96
96
|
"sirv": "^3.0.2",
|
|
97
97
|
"std-env": "^3.10.0",
|
|
98
98
|
"ufo": "^1.6.1",
|
|
99
|
-
"unplugin": "^2.3.
|
|
100
|
-
"unstorage": "^1.17.
|
|
101
|
-
"valibot": "^1.
|
|
99
|
+
"unplugin": "^2.3.11",
|
|
100
|
+
"unstorage": "^1.17.3",
|
|
101
|
+
"valibot": "^1.2.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@nuxt/devtools-kit": "^
|
|
105
|
-
"@nuxt/devtools-ui-kit": "^
|
|
106
|
-
"@nuxt/eslint-config": "^1.
|
|
104
|
+
"@nuxt/devtools-kit": "^3.1.1",
|
|
105
|
+
"@nuxt/devtools-ui-kit": "^3.1.1",
|
|
106
|
+
"@nuxt/eslint-config": "^1.12.1",
|
|
107
107
|
"@nuxt/module-builder": "^1.0.2",
|
|
108
108
|
"@nuxt/test-utils": "3.19.2",
|
|
109
109
|
"@paypal/paypal-js": "^9.0.1",
|
|
110
110
|
"@types/semver": "^7.7.1",
|
|
111
|
-
"@typescript-eslint/typescript-estree": "^8.
|
|
111
|
+
"@typescript-eslint/typescript-estree": "^8.49.0",
|
|
112
112
|
"@vue/test-utils": "^2.4.6",
|
|
113
113
|
"acorn-loose": "^8.5.2",
|
|
114
|
-
"bumpp": "^10.3.
|
|
114
|
+
"bumpp": "^10.3.2",
|
|
115
115
|
"changelogen": "^0.6.2",
|
|
116
|
-
"eslint": "^9.
|
|
116
|
+
"eslint": "^9.39.2",
|
|
117
117
|
"eslint-plugin-n": "^17.23.1",
|
|
118
|
-
"happy-dom": "^20.0.
|
|
119
|
-
"knitwork": "^1.
|
|
120
|
-
"nuxt": "^4.
|
|
121
|
-
"playwright-core": "^1.
|
|
122
|
-
"shiki": "^3.
|
|
118
|
+
"happy-dom": "^20.0.11",
|
|
119
|
+
"knitwork": "^1.3.0",
|
|
120
|
+
"nuxt": "^4.2.2",
|
|
121
|
+
"playwright-core": "^1.57.0",
|
|
122
|
+
"shiki": "^3.20.0",
|
|
123
123
|
"typescript": "5.9.3",
|
|
124
|
-
"vitest": "^
|
|
125
|
-
"vue": "^3.5.
|
|
126
|
-
"vue-router": "^4.6.
|
|
127
|
-
"vue-tsc": "^3.
|
|
128
|
-
"@nuxt/scripts": "0.13.
|
|
124
|
+
"vitest": "^4.0.15",
|
|
125
|
+
"vue": "^3.5.25",
|
|
126
|
+
"vue-router": "^4.6.4",
|
|
127
|
+
"vue-tsc": "^3.1.8",
|
|
128
|
+
"@nuxt/scripts": "0.13.1"
|
|
129
129
|
},
|
|
130
130
|
"resolutions": {
|
|
131
131
|
"@nuxt/scripts": "workspace:*"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as o,c as s,o as a,a as t,t as r}from"#entry";import{u as i}from"./Z5EPizOU.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},l={class:"max-w-520px text-center"},c=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,h)=>(a(),s("div",u,[t("div",l,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.statusCode)},null,8,c),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusMessage)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},x=o(f,[["__scopeId","data-v-24997d7a"]]);export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as s,c as a,o as i,a as t,t as n,b as u,w as c,d as l,e as d}from"#entry";import{u as f}from"./Z5EPizOU.js";const p={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},m={class:"max-w-520px text-center"},h=["textContent"],b=["textContent"],g=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const r=e;return f({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,w)=>{const o=d;return i(),a("div",p,[t("div",m,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:n(e.statusCode)},null,8,h),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:n(e.statusMessage)},null,8,b),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:n(e.description)},null,8,g),t("div",x,[u(o,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:c(()=>[l(n(e.backHome),1)]),_:1})])])])}}},v=s(y,[["__scopeId","data-v-cb0579d3"]]);export{v as default};
|