|
217 | 217 | { |
218 | 218 | "name": "ScriptGoogleMapsProps", |
219 | 219 | "kind": "interface", |
220 | | - "code": "interface ScriptGoogleMapsProps {\n /**\n * Defines the trigger event to load the script.\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 * A latitude / longitude of where to focus the map.\n */\n center?: google.maps.LatLng | google.maps.LatLngLiteral | `${string},${string}`\n /**\n * Zoom level for the map (0-21). Reactive: changing this will update the map.\n * Takes precedence over mapOptions.zoom when provided.\n */\n zoom?: number\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 */\n width?: number | string\n /**\n * Defines the height of the map\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', 'dark', or a reactive ref.\n */\n colorMode?: 'light' | 'dark'\n}" |
221 | | - }, |
222 | | - { |
223 | | - "name": "ScriptGoogleMapsEvents", |
224 | | - "kind": "interface", |
225 | | - "code": "interface ScriptGoogleMapsEvents {\n ready: typeof googleMaps\n error: -\n}" |
226 | | - }, |
227 | | - { |
228 | | - "name": "ScriptGoogleMapsSlots", |
229 | | - "kind": "interface", |
230 | | - "code": "interface ScriptGoogleMapsSlots {\n default?: () => any\n placeholder?: () => any\n loading?: () => any\n awaitingLoad?: () => any\n error?: () => any\n}" |
| 220 | + "code": "interface ScriptGoogleMapsProps ScriptGoogleMapsProps" |
231 | 221 | }, |
232 | 222 | { |
233 | 223 | "name": "ScriptGoogleMapsCircleProps", |
|
302 | 292 | { |
303 | 293 | "name": "ScriptGoogleMapsOverlayViewProps", |
304 | 294 | "kind": "interface", |
305 | | - "code": "interface ScriptGoogleMapsOverlayViewProps {\n /**\n * Geographic position for the overlay. Falls back to parent marker position if omitted.\n * @see https://developers.google.com/maps/documentation/javascript/reference/overlay-view#OverlayView\n */\n position?: google.maps.LatLngLiteral\n /**\n * Anchor point of the overlay relative to its position.\n * @default 'bottom-center'\n */\n anchor?: OverlayAnchor\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?: OverlayPane\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}" |
306 | | - }, |
307 | | - { |
308 | | - "name": "ScriptGoogleMapsOverlayViewSlots", |
309 | | - "kind": "interface", |
310 | | - "code": "interface ScriptGoogleMapsOverlayViewSlots {\n default?: () => any\n}" |
| 295 | + "code": "interface ScriptGoogleMapsOverlayViewProps ScriptGoogleMapsOverlayViewProps" |
311 | 296 | }, |
312 | 297 | { |
313 | 298 | "name": "ScriptGoogleMapsPolygonProps", |
|
2145 | 2130 | "defaultValue": "'g'" |
2146 | 2131 | } |
2147 | 2132 | ], |
2148 | | - "ScriptGoogleMapsProps": [ |
2149 | | - { |
2150 | | - "name": "trigger", |
2151 | | - "type": "ElementScriptTrigger", |
2152 | | - "required": false, |
2153 | | - "description": "Defines the trigger event to load the script." |
2154 | | - }, |
2155 | | - { |
2156 | | - "name": "apiKey", |
2157 | | - "type": "string", |
2158 | | - "required": false, |
2159 | | - "description": "Defines the Google Maps API key. Must have access to the Static Maps API as well." |
2160 | | - }, |
2161 | | - { |
2162 | | - "name": "center", |
2163 | | - "type": "google.maps.LatLng | google.maps.LatLngLiteral | `${string},${string}`", |
2164 | | - "required": false, |
2165 | | - "description": "A latitude / longitude of where to focus the map." |
2166 | | - }, |
2167 | | - { |
2168 | | - "name": "zoom", |
2169 | | - "type": "number", |
2170 | | - "required": false, |
2171 | | - "description": "Zoom level for the map (0-21). Reactive: changing this will update the map. Takes precedence over mapOptions.zoom when provided." |
2172 | | - }, |
2173 | | - { |
2174 | | - "name": "mapOptions", |
2175 | | - "type": "google.maps.MapOptions", |
2176 | | - "required": false, |
2177 | | - "description": "Options for the map." |
2178 | | - }, |
2179 | | - { |
2180 | | - "name": "region", |
2181 | | - "type": "string", |
2182 | | - "required": false, |
2183 | | - "description": "Defines the region of the map." |
2184 | | - }, |
2185 | | - { |
2186 | | - "name": "language", |
2187 | | - "type": "string", |
2188 | | - "required": false, |
2189 | | - "description": "Defines the language of the map" |
2190 | | - }, |
2191 | | - { |
2192 | | - "name": "version", |
2193 | | - "type": "string", |
2194 | | - "required": false, |
2195 | | - "description": "Defines the version of google maps js API" |
2196 | | - }, |
2197 | | - { |
2198 | | - "name": "width", |
2199 | | - "type": "number | string", |
2200 | | - "required": false, |
2201 | | - "description": "Defines the width of the map." |
2202 | | - }, |
2203 | | - { |
2204 | | - "name": "height", |
2205 | | - "type": "number | string", |
2206 | | - "required": false, |
2207 | | - "description": "Defines the height of the map" |
2208 | | - }, |
2209 | | - { |
2210 | | - "name": "rootAttrs", |
2211 | | - "type": "HTMLAttributes & ReservedProps & Record<string, unknown>", |
2212 | | - "required": false, |
2213 | | - "description": "Customize the root element attributes." |
2214 | | - }, |
2215 | | - { |
2216 | | - "name": "mapIds", |
2217 | | - "type": "{ light?: string, dark?: string }", |
2218 | | - "required": false, |
2219 | | - "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." |
2220 | | - }, |
2221 | | - { |
2222 | | - "name": "colorMode", |
2223 | | - "type": "'light' | 'dark'", |
2224 | | - "required": false, |
2225 | | - "description": "Manual color mode control. When provided, overrides auto-detection from @nuxtjs/color-mode. Accepts 'light', 'dark', or a reactive ref." |
2226 | | - } |
2227 | | - ], |
2228 | | - "ScriptGoogleMapsEvents": [ |
2229 | | - { |
2230 | | - "name": "ready", |
2231 | | - "type": "typeof googleMaps", |
2232 | | - "required": false, |
2233 | | - "description": "Fired when the Google Maps instance is fully loaded and ready to use. Provides access to the maps API." |
2234 | | - }, |
2235 | | - { |
2236 | | - "name": "error", |
2237 | | - "type": "-", |
2238 | | - "required": false, |
2239 | | - "description": "Fired when the Google Maps script fails to load." |
2240 | | - } |
2241 | | - ], |
2242 | | - "ScriptGoogleMapsSlots": [ |
2243 | | - { |
2244 | | - "name": "default", |
2245 | | - "type": "-", |
2246 | | - "required": false |
2247 | | - }, |
2248 | | - { |
2249 | | - "name": "placeholder", |
2250 | | - "type": "-", |
2251 | | - "required": false |
2252 | | - }, |
2253 | | - { |
2254 | | - "name": "loading", |
2255 | | - "type": "-", |
2256 | | - "required": false |
2257 | | - }, |
2258 | | - { |
2259 | | - "name": "awaitingLoad", |
2260 | | - "type": "-", |
2261 | | - "required": false |
2262 | | - }, |
2263 | | - { |
2264 | | - "name": "error", |
2265 | | - "type": "-", |
2266 | | - "required": false |
2267 | | - } |
2268 | | - ], |
2269 | 2133 | "ScriptGoogleMapsCircleProps": [ |
2270 | 2134 | { |
2271 | 2135 | "name": "options", |
|
2620 | 2484 | } |
2621 | 2485 | ], |
2622 | 2486 | "ScriptGoogleMapsOverlayViewProps": [ |
2623 | | - { |
2624 | | - "name": "position", |
2625 | | - "type": "google.maps.LatLngLiteral", |
2626 | | - "required": false, |
2627 | | - "description": "Geographic position for the overlay. Falls back to parent marker position if omitted." |
2628 | | - }, |
2629 | | - { |
2630 | | - "name": "anchor", |
2631 | | - "type": "OverlayAnchor", |
2632 | | - "required": false, |
2633 | | - "description": "Anchor point of the overlay relative to its position.", |
2634 | | - "defaultValue": "'bottom-center'" |
2635 | | - }, |
2636 | | - { |
2637 | | - "name": "offset", |
2638 | | - "type": "{ x: number, y: number }", |
2639 | | - "required": false, |
2640 | | - "description": "Pixel offset from the anchor position." |
2641 | | - }, |
2642 | | - { |
2643 | | - "name": "pane", |
2644 | | - "type": "OverlayPane", |
2645 | | - "required": false, |
2646 | | - "description": "The map pane on which to render the overlay.", |
2647 | | - "defaultValue": "'floatPane'" |
2648 | | - }, |
2649 | | - { |
2650 | | - "name": "zIndex", |
2651 | | - "type": "number", |
2652 | | - "required": false, |
2653 | | - "description": "CSS z-index for the overlay element." |
2654 | | - }, |
2655 | | - { |
2656 | | - "name": "blockMapInteraction", |
2657 | | - "type": "boolean", |
2658 | | - "required": false, |
2659 | | - "description": "Whether to block map click and gesture events from passing through the overlay.", |
2660 | | - "defaultValue": "true" |
2661 | | - }, |
2662 | | - { |
2663 | | - "name": "panOnOpen", |
2664 | | - "type": "boolean | number", |
2665 | | - "required": false, |
2666 | | - "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.", |
2667 | | - "defaultValue": "true" |
2668 | | - }, |
2669 | | - { |
2670 | | - "name": "hideWhenClustered", |
2671 | | - "type": "boolean", |
2672 | | - "required": false, |
2673 | | - "description": "Automatically hide the overlay when its parent marker joins a cluster (on zoom out). Only applies when nested inside a ScriptGoogleMapsMarkerClusterer.", |
2674 | | - "defaultValue": "true" |
2675 | | - }, |
2676 | 2487 | { |
2677 | 2488 | "name": "v-model:open", |
2678 | 2489 | "type": "boolean", |
2679 | 2490 | "required": false |
2680 | 2491 | } |
2681 | 2492 | ], |
2682 | | - "ScriptGoogleMapsOverlayViewSlots": [ |
2683 | | - { |
2684 | | - "name": "default", |
2685 | | - "type": "-", |
2686 | | - "required": false |
2687 | | - } |
2688 | | - ], |
2689 | 2493 | "ScriptGoogleMapsPolygonProps": [ |
2690 | 2494 | { |
2691 | 2495 | "name": "options", |
|
0 commit comments