@nuxt/scripts 0.11.10 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/C0XnD8hU.js +179 -0
- package/dist/client/_nuxt/CVO1_9PV.js +1 -0
- package/dist/client/_nuxt/Cp-IABpG.js +1 -0
- package/dist/client/_nuxt/D0r3Knsf.js +1 -0
- package/dist/client/_nuxt/DDcnVyjk.js +1 -0
- package/dist/client/_nuxt/DlfHMoPT.js +1 -0
- package/dist/client/_nuxt/DnkQskw_.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/639547f1-5b38-4078-9f06-0e97166e98d5.json +1 -0
- package/dist/client/_nuxt/entry.Bb8Z00UZ.css +1 -0
- package/dist/client/_nuxt/error-404.CImBk2QF.css +1 -0
- package/dist/client/_nuxt/error-500.BDZhF_NY.css +1 -0
- package/dist/client/_nuxt/n57rOy2v.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +8 -2
- package/dist/module.json +3 -3
- package/dist/module.mjs +169 -42
- package/dist/registry.mjs +30 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +0 -0
- package/dist/runtime/components/{ScriptGoogleMaps.vue → GoogleMaps/ScriptGoogleMaps.vue} +17 -13
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +0 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +86 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.d.vue.ts +33 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +62 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue.d.ts +33 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +5 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +32 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +5 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.d.vue.ts +35 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +88 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue.d.ts +35 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +84 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +27 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +56 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +27 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +5 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +37 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +5 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.d.vue.ts +29 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +60 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue.d.ts +29 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.d.vue.ts +29 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +60 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue.d.ts +29 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.d.vue.ts +31 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue.d.ts +31 -0
- package/dist/runtime/components/ScriptAriaLoadingIndicator.d.vue.ts +2 -0
- package/dist/runtime/components/ScriptCarbonAds.d.vue.ts +32 -0
- package/dist/runtime/components/ScriptCrisp.d.vue.ts +44 -0
- package/dist/runtime/components/ScriptCrisp.vue.d.ts +3 -1
- package/dist/runtime/components/ScriptGoogleAdsense.d.vue.ts +37 -0
- package/dist/runtime/components/ScriptGoogleAdsense.vue.d.ts +4 -1
- package/dist/runtime/components/ScriptIntercom.d.vue.ts +45 -0
- package/dist/runtime/components/ScriptIntercom.vue.d.ts +3 -1
- package/dist/runtime/components/ScriptLemonSqueezy.d.vue.ts +24 -0
- package/dist/runtime/components/ScriptLemonSqueezy.vue.d.ts +3 -1
- package/dist/runtime/components/ScriptLoadingIndicator.d.vue.ts +9 -0
- package/dist/runtime/components/ScriptLoadingIndicator.vue.d.ts +4 -1
- package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +72 -0
- package/dist/runtime/components/ScriptPayPalButtons.vue +116 -0
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +72 -0
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +51 -0
- package/dist/runtime/components/ScriptPayPalMarks.vue +69 -0
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +51 -0
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +67 -0
- package/dist/runtime/components/ScriptPayPalMessages.vue +90 -0
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +67 -0
- package/dist/runtime/components/ScriptStripePricingTable.d.vue.ts +35 -0
- package/dist/runtime/components/ScriptStripePricingTable.vue +1 -1
- package/dist/runtime/components/ScriptStripePricingTable.vue.d.ts +3 -1
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +127 -0
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +5 -3
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +66 -0
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +9 -1
- package/dist/runtime/composables/useScript.js +35 -2
- package/dist/runtime/composables/useScriptEventPage.js +6 -2
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.d.ts +10 -0
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +22 -0
- package/dist/runtime/composables/useScriptTriggerInteraction.d.ts +15 -0
- package/dist/runtime/composables/useScriptTriggerInteraction.js +35 -0
- package/dist/runtime/logger.d.ts +1 -0
- package/dist/runtime/logger.js +6 -0
- package/dist/runtime/registry/databuddy-analytics.d.ts +77 -0
- package/dist/runtime/registry/databuddy-analytics.js +103 -0
- package/dist/runtime/registry/google-analytics.d.ts +1 -1
- package/dist/runtime/registry/google-analytics.js +5 -5
- package/dist/runtime/registry/google-tag-manager.js +3 -5
- package/dist/runtime/registry/matomo-analytics.d.ts +1 -0
- package/dist/runtime/registry/matomo-analytics.js +27 -4
- package/dist/runtime/registry/paypal.d.ts +34 -0
- package/dist/runtime/registry/paypal.js +86 -0
- package/dist/runtime/registry/reddit-pixel.d.ts +18 -0
- package/dist/runtime/registry/reddit-pixel.js +36 -0
- package/dist/runtime/registry/stripe.d.ts +2 -2
- package/dist/runtime/registry/stripe.js +1 -1
- package/dist/runtime/types.d.ts +18 -7
- package/dist/runtime/utils.d.ts +5 -2
- package/dist/runtime/utils.js +49 -19
- package/package.json +33 -26
- package/dist/client/_nuxt/C0osJU87.js +0 -1
- package/dist/client/_nuxt/DvGN_dxb.js +0 -1
- package/dist/client/_nuxt/DzYp5PzF.js +0 -21
- package/dist/client/_nuxt/builds/meta/55b6d2d9-3309-4bdb-b3a7-e1a28ac5a730.json +0 -1
- package/dist/client/_nuxt/entry.bAQEPFjX.css +0 -1
- package/dist/client/_nuxt/error-404.eZgLTnTW.css +0 -1
- package/dist/client/_nuxt/error-500.B1rSPQ5Q.css +0 -1
- package/dist/client/_nuxt/o0sZgK8d.js +0 -1
- package/dist/runtime/components/ScriptGoogleMaps.vue.d.ts +0 -140
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import { computed, onBeforeUnmount, onMounted, ref, watch, toRaw } from "vue";
|
|
1
|
+
<script>
|
|
2
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch, toRaw, provide, shallowRef } from "vue";
|
|
3
3
|
import { withQuery } from "ufo";
|
|
4
4
|
import { defu } from "defu";
|
|
5
5
|
import { hash } from "ohash";
|
|
6
6
|
import { useHead } from "nuxt/app";
|
|
7
|
-
import { scriptRuntimeConfig } from "
|
|
8
|
-
import { useScriptTriggerElement } from "
|
|
9
|
-
import { useScriptGoogleMaps } from "
|
|
10
|
-
import ScriptAriaLoadingIndicator from "
|
|
7
|
+
import { scriptRuntimeConfig } from "#nuxt-scripts/utils";
|
|
8
|
+
import { useScriptTriggerElement } from "#nuxt-scripts/composables/useScriptTriggerElement";
|
|
9
|
+
import { useScriptGoogleMaps } from "#nuxt-scripts/registry/google-maps";
|
|
10
|
+
import ScriptAriaLoadingIndicator from "../ScriptAriaLoadingIndicator.vue";
|
|
11
|
+
export const MAP_INJECTION_KEY = Symbol("map");
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<script setup>
|
|
11
15
|
const props = defineProps({
|
|
12
16
|
trigger: { type: [String, Array, Boolean], required: false, default: ["mouseenter", "mouseover", "mousedown"] },
|
|
13
17
|
aboveTheFold: { type: Boolean, required: false },
|
|
@@ -51,7 +55,7 @@ const options = computed(() => {
|
|
|
51
55
|
});
|
|
52
56
|
});
|
|
53
57
|
const ready = ref(false);
|
|
54
|
-
const map =
|
|
58
|
+
const map = shallowRef();
|
|
55
59
|
const mapMarkers = ref(/* @__PURE__ */ new Map());
|
|
56
60
|
function isLocationQuery(s) {
|
|
57
61
|
return typeof s === "string" && (s.split(",").length > 2 || s.includes("+"));
|
|
@@ -71,7 +75,7 @@ function normalizeAdvancedMapMarkerOptions(_options) {
|
|
|
71
75
|
lat: Number.parseFloat(_options.split(",")[0] || "0"),
|
|
72
76
|
lng: Number.parseFloat(_options.split(",")[1] || "0")
|
|
73
77
|
}
|
|
74
|
-
} : _options;
|
|
78
|
+
} : _options || {};
|
|
75
79
|
if (!opts.position) {
|
|
76
80
|
opts.position = {
|
|
77
81
|
lat: 0,
|
|
@@ -89,11 +93,10 @@ async function createAdvancedMapMarker(_options) {
|
|
|
89
93
|
return mapMarkers.value.get(key);
|
|
90
94
|
const p = new Promise(async (resolve) => {
|
|
91
95
|
const lib = await importLibrary("marker");
|
|
92
|
-
const mapMarkerOptions =
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
});
|
|
96
|
+
const mapMarkerOptions = {
|
|
97
|
+
...toRaw(normalizedOptions),
|
|
98
|
+
map: toRaw(map.value)
|
|
99
|
+
};
|
|
97
100
|
resolve(new lib.AdvancedMarkerElement(mapMarkerOptions));
|
|
98
101
|
});
|
|
99
102
|
mapMarkers.value.set(key, p);
|
|
@@ -154,6 +157,7 @@ const googleMaps = {
|
|
|
154
157
|
importLibrary
|
|
155
158
|
};
|
|
156
159
|
defineExpose(googleMaps);
|
|
160
|
+
provide(MAP_INJECTION_KEY, { map, mapsApi });
|
|
157
161
|
onMounted(() => {
|
|
158
162
|
watch(ready, (v) => {
|
|
159
163
|
if (v) {
|
|
File without changes
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { InjectionKey, ShallowRef } from 'vue';
|
|
2
|
+
export declare const ADVANCED_MARKER_ELEMENT_INJECTION_KEY: InjectionKey<{
|
|
3
|
+
advancedMarkerElement: ShallowRef<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
4
|
+
}>;
|
|
5
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
|
+
options?: Omit<google.maps.marker.AdvancedMarkerElementOptions, "map">;
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
click: (payload: google.maps.MapMouseEvent) => any;
|
|
9
|
+
contextmenu: (payload: google.maps.MapMouseEvent) => any;
|
|
10
|
+
dblclick: (payload: google.maps.MapMouseEvent) => any;
|
|
11
|
+
drag: (payload: google.maps.MapMouseEvent) => any;
|
|
12
|
+
dragend: (payload: google.maps.MapMouseEvent) => any;
|
|
13
|
+
dragstart: (payload: google.maps.MapMouseEvent) => any;
|
|
14
|
+
mousedown: (payload: google.maps.MapMouseEvent) => any;
|
|
15
|
+
mouseout: (payload: google.maps.MapMouseEvent) => any;
|
|
16
|
+
mouseover: (payload: google.maps.MapMouseEvent) => any;
|
|
17
|
+
mouseup: (payload: google.maps.MapMouseEvent) => any;
|
|
18
|
+
animation_changed: () => any;
|
|
19
|
+
clickable_changed: () => any;
|
|
20
|
+
cursor_changed: () => any;
|
|
21
|
+
draggable_changed: () => any;
|
|
22
|
+
flat_changed: () => any;
|
|
23
|
+
icon_changed: () => any;
|
|
24
|
+
position_changed: () => any;
|
|
25
|
+
shape_changed: () => any;
|
|
26
|
+
title_changed: () => any;
|
|
27
|
+
visible_changed: () => any;
|
|
28
|
+
zindex_changed: () => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
30
|
+
options?: Omit<google.maps.marker.AdvancedMarkerElementOptions, "map">;
|
|
31
|
+
}> & Readonly<{
|
|
32
|
+
onClick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
33
|
+
onContextmenu?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
34
|
+
onDblclick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
35
|
+
onDrag?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
36
|
+
onDragend?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
37
|
+
onDragstart?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
38
|
+
onMousedown?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
39
|
+
onMouseout?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
40
|
+
onMouseover?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
41
|
+
onMouseup?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
42
|
+
onAnimation_changed?: (() => any) | undefined;
|
|
43
|
+
onClickable_changed?: (() => any) | undefined;
|
|
44
|
+
onCursor_changed?: (() => any) | undefined;
|
|
45
|
+
onDraggable_changed?: (() => any) | undefined;
|
|
46
|
+
onFlat_changed?: (() => any) | undefined;
|
|
47
|
+
onIcon_changed?: (() => any) | undefined;
|
|
48
|
+
onPosition_changed?: (() => any) | undefined;
|
|
49
|
+
onShape_changed?: (() => any) | undefined;
|
|
50
|
+
onTitle_changed?: (() => any) | undefined;
|
|
51
|
+
onVisible_changed?: (() => any) | undefined;
|
|
52
|
+
onZindex_changed?: (() => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
|
+
default?: (props: {}) => any;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<slot v-if="advancedMarkerElement" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import { inject, onUnmounted, provide, shallowRef } from "vue";
|
|
7
|
+
import { whenever } from "@vueuse/core";
|
|
8
|
+
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
|
+
import { MARKER_CLUSTERER_INJECTION_KEY } from "./ScriptGoogleMapsMarkerClusterer.vue";
|
|
10
|
+
export const ADVANCED_MARKER_ELEMENT_INJECTION_KEY = Symbol("marker");
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script setup>
|
|
14
|
+
const props = defineProps({
|
|
15
|
+
options: { type: Object, required: false }
|
|
16
|
+
});
|
|
17
|
+
const eventsWithoutPayload = [
|
|
18
|
+
"animation_changed",
|
|
19
|
+
"clickable_changed",
|
|
20
|
+
"cursor_changed",
|
|
21
|
+
"draggable_changed",
|
|
22
|
+
"flat_changed",
|
|
23
|
+
"icon_changed",
|
|
24
|
+
"position_changed",
|
|
25
|
+
"shape_changed",
|
|
26
|
+
"title_changed",
|
|
27
|
+
"visible_changed",
|
|
28
|
+
"zindex_changed"
|
|
29
|
+
];
|
|
30
|
+
const eventsWithMapMouseEventPayload = [
|
|
31
|
+
"click",
|
|
32
|
+
"contextmenu",
|
|
33
|
+
"dblclick",
|
|
34
|
+
"drag",
|
|
35
|
+
"dragend",
|
|
36
|
+
"dragstart",
|
|
37
|
+
"mousedown",
|
|
38
|
+
"mouseout",
|
|
39
|
+
"mouseover",
|
|
40
|
+
"mouseup"
|
|
41
|
+
];
|
|
42
|
+
const emit = defineEmits([]);
|
|
43
|
+
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
44
|
+
const markerClustererContext = inject(MARKER_CLUSTERER_INJECTION_KEY, void 0);
|
|
45
|
+
const advancedMarkerElement = shallowRef(void 0);
|
|
46
|
+
whenever(() => mapContext?.map.value && mapContext.mapsApi.value, async () => {
|
|
47
|
+
await mapContext.mapsApi.value.importLibrary("marker");
|
|
48
|
+
advancedMarkerElement.value = new mapContext.mapsApi.value.marker.AdvancedMarkerElement(props.options);
|
|
49
|
+
setupAdvancedMarkerElementEventListeners(advancedMarkerElement.value);
|
|
50
|
+
if (markerClustererContext?.markerClusterer.value) {
|
|
51
|
+
markerClustererContext.markerClusterer.value.addMarker(advancedMarkerElement.value);
|
|
52
|
+
} else {
|
|
53
|
+
advancedMarkerElement.value.map = mapContext.map.value;
|
|
54
|
+
}
|
|
55
|
+
whenever(() => props.options, (options) => {
|
|
56
|
+
if (advancedMarkerElement.value && options) {
|
|
57
|
+
Object.assign(advancedMarkerElement.value, options);
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
60
|
+
deep: true
|
|
61
|
+
});
|
|
62
|
+
}, {
|
|
63
|
+
immediate: true,
|
|
64
|
+
once: true
|
|
65
|
+
});
|
|
66
|
+
onUnmounted(() => {
|
|
67
|
+
if (!advancedMarkerElement.value || !mapContext?.mapsApi.value) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
mapContext.mapsApi.value.event.clearInstanceListeners(advancedMarkerElement.value);
|
|
71
|
+
if (markerClustererContext) {
|
|
72
|
+
markerClustererContext.markerClusterer.value?.removeMarker(advancedMarkerElement.value);
|
|
73
|
+
} else {
|
|
74
|
+
advancedMarkerElement.value.map = null;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
provide(ADVANCED_MARKER_ELEMENT_INJECTION_KEY, { advancedMarkerElement });
|
|
78
|
+
function setupAdvancedMarkerElementEventListeners(advancedMarkerElement2) {
|
|
79
|
+
eventsWithoutPayload.forEach((event) => {
|
|
80
|
+
advancedMarkerElement2.addListener(event, () => emit(event));
|
|
81
|
+
});
|
|
82
|
+
eventsWithMapMouseEventPayload.forEach((event) => {
|
|
83
|
+
advancedMarkerElement2.addListener(event, (payload) => emit(event, payload));
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
</script>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { InjectionKey, ShallowRef } from 'vue';
|
|
2
|
+
export declare const ADVANCED_MARKER_ELEMENT_INJECTION_KEY: InjectionKey<{
|
|
3
|
+
advancedMarkerElement: ShallowRef<google.maps.marker.AdvancedMarkerElement | undefined>;
|
|
4
|
+
}>;
|
|
5
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
|
+
options?: Omit<google.maps.marker.AdvancedMarkerElementOptions, "map">;
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
click: (payload: google.maps.MapMouseEvent) => any;
|
|
9
|
+
contextmenu: (payload: google.maps.MapMouseEvent) => any;
|
|
10
|
+
dblclick: (payload: google.maps.MapMouseEvent) => any;
|
|
11
|
+
drag: (payload: google.maps.MapMouseEvent) => any;
|
|
12
|
+
dragend: (payload: google.maps.MapMouseEvent) => any;
|
|
13
|
+
dragstart: (payload: google.maps.MapMouseEvent) => any;
|
|
14
|
+
mousedown: (payload: google.maps.MapMouseEvent) => any;
|
|
15
|
+
mouseout: (payload: google.maps.MapMouseEvent) => any;
|
|
16
|
+
mouseover: (payload: google.maps.MapMouseEvent) => any;
|
|
17
|
+
mouseup: (payload: google.maps.MapMouseEvent) => any;
|
|
18
|
+
animation_changed: () => any;
|
|
19
|
+
clickable_changed: () => any;
|
|
20
|
+
cursor_changed: () => any;
|
|
21
|
+
draggable_changed: () => any;
|
|
22
|
+
flat_changed: () => any;
|
|
23
|
+
icon_changed: () => any;
|
|
24
|
+
position_changed: () => any;
|
|
25
|
+
shape_changed: () => any;
|
|
26
|
+
title_changed: () => any;
|
|
27
|
+
visible_changed: () => any;
|
|
28
|
+
zindex_changed: () => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
30
|
+
options?: Omit<google.maps.marker.AdvancedMarkerElementOptions, "map">;
|
|
31
|
+
}> & Readonly<{
|
|
32
|
+
onClick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
33
|
+
onContextmenu?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
34
|
+
onDblclick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
35
|
+
onDrag?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
36
|
+
onDragend?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
37
|
+
onDragstart?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
38
|
+
onMousedown?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
39
|
+
onMouseout?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
40
|
+
onMouseover?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
41
|
+
onMouseup?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
42
|
+
onAnimation_changed?: (() => any) | undefined;
|
|
43
|
+
onClickable_changed?: (() => any) | undefined;
|
|
44
|
+
onCursor_changed?: (() => any) | undefined;
|
|
45
|
+
onDraggable_changed?: (() => any) | undefined;
|
|
46
|
+
onFlat_changed?: (() => any) | undefined;
|
|
47
|
+
onIcon_changed?: (() => any) | undefined;
|
|
48
|
+
onPosition_changed?: (() => any) | undefined;
|
|
49
|
+
onShape_changed?: (() => any) | undefined;
|
|
50
|
+
onTitle_changed?: (() => any) | undefined;
|
|
51
|
+
onVisible_changed?: (() => any) | undefined;
|
|
52
|
+
onZindex_changed?: (() => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
|
+
default?: (props: {}) => any;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
options?: Omit<google.maps.CircleOptions, 'map'>;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
click: (payload: google.maps.MapMouseEvent) => any;
|
|
6
|
+
dblclick: (payload: google.maps.MapMouseEvent) => any;
|
|
7
|
+
drag: (payload: google.maps.MapMouseEvent) => any;
|
|
8
|
+
dragend: (payload: google.maps.MapMouseEvent) => any;
|
|
9
|
+
dragstart: (payload: google.maps.MapMouseEvent) => any;
|
|
10
|
+
mousedown: (payload: google.maps.MapMouseEvent) => any;
|
|
11
|
+
mousemove: (payload: google.maps.MapMouseEvent) => any;
|
|
12
|
+
mouseout: (payload: google.maps.MapMouseEvent) => any;
|
|
13
|
+
mouseover: (payload: google.maps.MapMouseEvent) => any;
|
|
14
|
+
mouseup: (payload: google.maps.MapMouseEvent) => any;
|
|
15
|
+
center_changed: () => any;
|
|
16
|
+
radius_changed: () => any;
|
|
17
|
+
rightclick: (payload: google.maps.MapMouseEvent) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
20
|
+
onDblclick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
21
|
+
onDrag?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
22
|
+
onDragend?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
23
|
+
onDragstart?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
24
|
+
onMousedown?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
25
|
+
onMousemove?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
26
|
+
onMouseout?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
27
|
+
onMouseover?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
28
|
+
onMouseup?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
29
|
+
onCenter_changed?: (() => any) | undefined;
|
|
30
|
+
onRadius_changed?: (() => any) | undefined;
|
|
31
|
+
onRightclick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { inject, onUnmounted } from "vue";
|
|
7
|
+
import { whenever } from "@vueuse/core";
|
|
8
|
+
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
options: { type: Object, required: false }
|
|
11
|
+
});
|
|
12
|
+
const eventsWithoutPayload = [
|
|
13
|
+
"center_changed",
|
|
14
|
+
"radius_changed"
|
|
15
|
+
];
|
|
16
|
+
const eventsWithMapMouseEventPayload = [
|
|
17
|
+
"click",
|
|
18
|
+
"dblclick",
|
|
19
|
+
"drag",
|
|
20
|
+
"dragend",
|
|
21
|
+
"dragstart",
|
|
22
|
+
"mousedown",
|
|
23
|
+
"mousemove",
|
|
24
|
+
"mouseout",
|
|
25
|
+
"mouseover",
|
|
26
|
+
"mouseup",
|
|
27
|
+
"rightclick"
|
|
28
|
+
];
|
|
29
|
+
const emit = defineEmits([]);
|
|
30
|
+
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
31
|
+
let circle = void 0;
|
|
32
|
+
whenever(() => mapContext?.map.value && mapContext.mapsApi.value, () => {
|
|
33
|
+
circle = new mapContext.mapsApi.value.Circle({
|
|
34
|
+
map: mapContext.map.value,
|
|
35
|
+
...props.options
|
|
36
|
+
});
|
|
37
|
+
setupCircleEventListeners(circle);
|
|
38
|
+
whenever(() => props.options, (options) => {
|
|
39
|
+
circle?.setOptions(options);
|
|
40
|
+
}, {
|
|
41
|
+
deep: true
|
|
42
|
+
});
|
|
43
|
+
}, {
|
|
44
|
+
immediate: true,
|
|
45
|
+
once: true
|
|
46
|
+
});
|
|
47
|
+
onUnmounted(() => {
|
|
48
|
+
if (!circle || !mapContext?.mapsApi.value) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
mapContext.mapsApi.value.event.clearInstanceListeners(circle);
|
|
52
|
+
circle.setMap(null);
|
|
53
|
+
});
|
|
54
|
+
function setupCircleEventListeners(circle2) {
|
|
55
|
+
eventsWithoutPayload.forEach((event) => {
|
|
56
|
+
circle2.addListener(event, () => emit(event));
|
|
57
|
+
});
|
|
58
|
+
eventsWithMapMouseEventPayload.forEach((event) => {
|
|
59
|
+
circle2.addListener(event, (payload) => emit(event, payload));
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
</script>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
options?: Omit<google.maps.CircleOptions, 'map'>;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
click: (payload: google.maps.MapMouseEvent) => any;
|
|
6
|
+
dblclick: (payload: google.maps.MapMouseEvent) => any;
|
|
7
|
+
drag: (payload: google.maps.MapMouseEvent) => any;
|
|
8
|
+
dragend: (payload: google.maps.MapMouseEvent) => any;
|
|
9
|
+
dragstart: (payload: google.maps.MapMouseEvent) => any;
|
|
10
|
+
mousedown: (payload: google.maps.MapMouseEvent) => any;
|
|
11
|
+
mousemove: (payload: google.maps.MapMouseEvent) => any;
|
|
12
|
+
mouseout: (payload: google.maps.MapMouseEvent) => any;
|
|
13
|
+
mouseover: (payload: google.maps.MapMouseEvent) => any;
|
|
14
|
+
mouseup: (payload: google.maps.MapMouseEvent) => any;
|
|
15
|
+
center_changed: () => any;
|
|
16
|
+
radius_changed: () => any;
|
|
17
|
+
rightclick: (payload: google.maps.MapMouseEvent) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
20
|
+
onDblclick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
21
|
+
onDrag?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
22
|
+
onDragend?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
23
|
+
onDragstart?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
24
|
+
onMousedown?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
25
|
+
onMousemove?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
26
|
+
onMouseout?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
27
|
+
onMouseover?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
28
|
+
onMouseup?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
29
|
+
onCenter_changed?: (() => any) | undefined;
|
|
30
|
+
onRadius_changed?: (() => any) | undefined;
|
|
31
|
+
onRightclick?: ((payload: google.maps.MapMouseEvent) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
options?: Omit<google.maps.visualization.HeatmapLayerOptions, 'map'>;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { inject, onUnmounted } from "vue";
|
|
7
|
+
import { whenever } from "@vueuse/core";
|
|
8
|
+
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
options: { type: Object, required: false }
|
|
11
|
+
});
|
|
12
|
+
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
13
|
+
let heatmapLayer = void 0;
|
|
14
|
+
whenever(() => mapContext?.map.value && mapContext.mapsApi.value, async () => {
|
|
15
|
+
await mapContext.mapsApi.value.importLibrary("visualization");
|
|
16
|
+
heatmapLayer = new mapContext.mapsApi.value.visualization.HeatmapLayer({
|
|
17
|
+
map: mapContext.map.value,
|
|
18
|
+
...props.options
|
|
19
|
+
});
|
|
20
|
+
whenever(() => props.options, (options) => {
|
|
21
|
+
heatmapLayer?.setOptions(options);
|
|
22
|
+
}, {
|
|
23
|
+
deep: true
|
|
24
|
+
});
|
|
25
|
+
}, {
|
|
26
|
+
immediate: true,
|
|
27
|
+
once: true
|
|
28
|
+
});
|
|
29
|
+
onUnmounted(() => {
|
|
30
|
+
heatmapLayer?.setMap(null);
|
|
31
|
+
});
|
|
32
|
+
</script>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
options?: Omit<google.maps.visualization.HeatmapLayerOptions, 'map'>;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
options?: google.maps.InfoWindowOptions;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
close: () => any;
|
|
10
|
+
visible: () => any;
|
|
11
|
+
position_changed: () => any;
|
|
12
|
+
zindex_changed: () => any;
|
|
13
|
+
closeclick: () => any;
|
|
14
|
+
content_changed: () => any;
|
|
15
|
+
domready: () => any;
|
|
16
|
+
headercontent_changed: () => any;
|
|
17
|
+
headerdisabled_changed: () => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
|
+
onVisible?: (() => any) | undefined;
|
|
21
|
+
onPosition_changed?: (() => any) | undefined;
|
|
22
|
+
onZindex_changed?: (() => any) | undefined;
|
|
23
|
+
onCloseclick?: (() => any) | undefined;
|
|
24
|
+
onContent_changed?: (() => any) | undefined;
|
|
25
|
+
onDomready?: (() => any) | undefined;
|
|
26
|
+
onHeadercontent_changed?: (() => any) | undefined;
|
|
27
|
+
onHeaderdisabled_changed?: (() => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="info-window-container">
|
|
3
|
+
<div ref="info-window-container">
|
|
4
|
+
<slot />
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script setup>
|
|
10
|
+
import { inject, onUnmounted, useTemplateRef } from "vue";
|
|
11
|
+
import { whenever } from "@vueuse/core";
|
|
12
|
+
import { MARKER_INJECTION_KEY } from "./ScriptGoogleMapsMarker.vue";
|
|
13
|
+
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
14
|
+
import { ADVANCED_MARKER_ELEMENT_INJECTION_KEY } from "./ScriptGoogleMapsAdvancedMarkerElement.vue";
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
options: { type: null, required: false }
|
|
17
|
+
});
|
|
18
|
+
const infoWindowEvents = [
|
|
19
|
+
"close",
|
|
20
|
+
"closeclick",
|
|
21
|
+
"content_changed",
|
|
22
|
+
"domready",
|
|
23
|
+
"headercontent_changed",
|
|
24
|
+
"headerdisabled_changed",
|
|
25
|
+
"position_changed",
|
|
26
|
+
"visible",
|
|
27
|
+
"zindex_changed"
|
|
28
|
+
];
|
|
29
|
+
const emit = defineEmits([]);
|
|
30
|
+
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
31
|
+
const markerContext = inject(MARKER_INJECTION_KEY, void 0);
|
|
32
|
+
const advancedMarkerElementContext = inject(ADVANCED_MARKER_ELEMENT_INJECTION_KEY, void 0);
|
|
33
|
+
const infoWindowContainer = useTemplateRef("info-window-container");
|
|
34
|
+
let infoWindow = void 0;
|
|
35
|
+
whenever(
|
|
36
|
+
() => mapContext?.map.value && mapContext.mapsApi.value && infoWindowContainer.value,
|
|
37
|
+
() => {
|
|
38
|
+
infoWindow = new mapContext.mapsApi.value.InfoWindow({
|
|
39
|
+
content: infoWindowContainer.value,
|
|
40
|
+
...props.options
|
|
41
|
+
});
|
|
42
|
+
setupInfoWindowEventListeners(infoWindow);
|
|
43
|
+
if (markerContext?.marker.value) {
|
|
44
|
+
markerContext.marker.value.addListener("click", () => {
|
|
45
|
+
infoWindow.open({
|
|
46
|
+
anchor: markerContext.marker.value,
|
|
47
|
+
map: mapContext.map.value
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
} else if (advancedMarkerElementContext?.advancedMarkerElement.value) {
|
|
51
|
+
advancedMarkerElementContext.advancedMarkerElement.value.addListener("click", () => {
|
|
52
|
+
infoWindow.open({
|
|
53
|
+
anchor: advancedMarkerElementContext.advancedMarkerElement.value,
|
|
54
|
+
map: mapContext.map.value
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
} else {
|
|
58
|
+
infoWindow.setPosition(props.options?.position);
|
|
59
|
+
infoWindow.open(mapContext.map.value);
|
|
60
|
+
}
|
|
61
|
+
whenever(() => props.options, (options) => {
|
|
62
|
+
infoWindow?.setOptions(options);
|
|
63
|
+
}, {
|
|
64
|
+
deep: true
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
immediate: true,
|
|
69
|
+
once: true
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
onUnmounted(() => {
|
|
73
|
+
if (!infoWindow || !mapContext?.mapsApi.value) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
mapContext.mapsApi.value.event.clearInstanceListeners(infoWindow);
|
|
77
|
+
infoWindow.close();
|
|
78
|
+
});
|
|
79
|
+
function setupInfoWindowEventListeners(infoWindow2) {
|
|
80
|
+
infoWindowEvents.forEach((event) => {
|
|
81
|
+
infoWindow2.addListener(event, () => emit(event));
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
</script>
|
|
85
|
+
|
|
86
|
+
<style scoped>
|
|
87
|
+
.info-window-container{display:none}
|
|
88
|
+
</style>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
options?: google.maps.InfoWindowOptions;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
close: () => any;
|
|
10
|
+
visible: () => any;
|
|
11
|
+
position_changed: () => any;
|
|
12
|
+
zindex_changed: () => any;
|
|
13
|
+
closeclick: () => any;
|
|
14
|
+
content_changed: () => any;
|
|
15
|
+
domready: () => any;
|
|
16
|
+
headercontent_changed: () => any;
|
|
17
|
+
headerdisabled_changed: () => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
|
+
onVisible?: (() => any) | undefined;
|
|
21
|
+
onPosition_changed?: (() => any) | undefined;
|
|
22
|
+
onZindex_changed?: (() => any) | undefined;
|
|
23
|
+
onCloseclick?: (() => any) | undefined;
|
|
24
|
+
onContent_changed?: (() => any) | undefined;
|
|
25
|
+
onDomready?: (() => any) | undefined;
|
|
26
|
+
onHeadercontent_changed?: (() => any) | undefined;
|
|
27
|
+
onHeaderdisabled_changed?: (() => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|