@nuxt/scripts 1.0.0-beta.1 → 1.0.0-beta.13
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 +6 -0
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/48AF9EJD.js +1 -0
- package/dist/client/_nuxt/Bk6ed9rg.js +1 -0
- package/dist/client/_nuxt/C4Cj8gBr.js +162 -0
- package/dist/client/_nuxt/{DTDyDxvR.js → DP0kj6Xn.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/0e95b1cc-8751-4000-8cb4-a6ef270b636f.json +1 -0
- package/dist/client/_nuxt/entry.D45OuV0w.css +1 -0
- package/dist/client/_nuxt/error-404.B57D-jUQ.css +1 -0
- package/dist/client/_nuxt/error-500.DTHUW7BI.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +87 -2
- package/dist/module.d.ts +176 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +710 -273
- package/dist/registry.d.ts +6 -0
- package/dist/registry.mjs +42 -19
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +12 -12
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +5 -5
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +7 -7
- package/dist/runtime/components/ScriptCrisp.vue +1 -1
- package/dist/runtime/components/ScriptGoogleAdsense.vue +1 -1
- package/dist/runtime/components/ScriptInstagramEmbed.d.vue.ts +53 -0
- package/dist/runtime/components/ScriptInstagramEmbed.vue +38 -0
- package/dist/runtime/components/ScriptInstagramEmbed.vue.d.ts +53 -0
- package/dist/runtime/components/ScriptIntercom.vue +4 -3
- 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 +2 -2
- package/dist/runtime/components/ScriptPayPalButtons.vue +13 -11
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptPayPalMarks.vue +10 -8
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptPayPalMessages.vue +11 -9
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptStripePricingTable.vue +2 -2
- package/dist/runtime/components/ScriptVimeoPlayer.vue +1 -1
- package/dist/runtime/components/ScriptXEmbed.d.vue.ts +82 -0
- package/dist/runtime/components/ScriptXEmbed.vue +76 -0
- package/dist/runtime/components/ScriptXEmbed.vue.d.ts +82 -0
- package/dist/runtime/components/ScriptYouTubePlayer.vue +7 -4
- package/dist/runtime/composables/useScript.js +32 -6
- package/dist/runtime/composables/useScriptEventPage.js +2 -2
- package/dist/runtime/composables/useScriptTriggerConsent.js +1 -1
- package/dist/runtime/composables/useScriptTriggerElement.js +1 -1
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +1 -1
- package/dist/runtime/composables/useScriptTriggerServiceWorker.d.ts +7 -0
- package/dist/runtime/composables/useScriptTriggerServiceWorker.js +39 -0
- package/dist/runtime/registry/clarity.js +21 -25
- package/dist/runtime/registry/cloudflare-web-analytics.js +1 -1
- package/dist/runtime/registry/crisp.js +1 -1
- package/dist/runtime/registry/databuddy-analytics.js +1 -1
- package/dist/runtime/registry/fathom-analytics.js +1 -1
- package/dist/runtime/registry/google-adsense.js +1 -1
- package/dist/runtime/registry/google-analytics.js +2 -2
- package/dist/runtime/registry/google-maps.d.ts +1 -1
- package/dist/runtime/registry/google-maps.js +1 -1
- package/dist/runtime/registry/google-recaptcha.js +2 -2
- package/dist/runtime/registry/google-sign-in.js +1 -1
- package/dist/runtime/registry/google-tag-manager.d.ts +1 -1
- package/dist/runtime/registry/google-tag-manager.js +2 -2
- package/dist/runtime/registry/hotjar.js +1 -1
- package/dist/runtime/registry/instagram-embed.d.ts +23 -0
- package/dist/runtime/registry/instagram-embed.js +22 -0
- package/dist/runtime/registry/intercom.js +1 -1
- package/dist/runtime/registry/lemon-squeezy.d.ts +0 -1
- package/dist/runtime/registry/matomo-analytics.js +2 -2
- package/dist/runtime/registry/meta-pixel.js +1 -1
- package/dist/runtime/registry/npm.js +1 -1
- package/dist/runtime/registry/paypal.d.ts +1 -1
- package/dist/runtime/registry/paypal.js +2 -2
- package/dist/runtime/registry/plausible-analytics.js +15 -9
- package/dist/runtime/registry/posthog.d.ts +3 -2
- package/dist/runtime/registry/posthog.js +8 -12
- package/dist/runtime/registry/reddit-pixel.js +1 -1
- package/dist/runtime/registry/rybbit-analytics.js +5 -3
- package/dist/runtime/registry/segment.js +1 -1
- package/dist/runtime/registry/snapchat-pixel.js +1 -1
- package/dist/runtime/registry/stripe.d.ts +1 -1
- package/dist/runtime/registry/stripe.js +1 -1
- package/dist/runtime/registry/tiktok-pixel.d.ts +1 -0
- package/dist/runtime/registry/tiktok-pixel.js +2 -1
- package/dist/runtime/registry/umami-analytics.js +1 -1
- package/dist/runtime/registry/vimeo-player.d.ts +2 -2
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-embed.d.ts +77 -0
- package/dist/runtime/registry/x-embed.js +41 -0
- package/dist/runtime/registry/x-pixel.js +1 -1
- package/dist/runtime/registry/youtube-player.d.ts +7 -7
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/server/google-static-maps-proxy.js +1 -1
- package/dist/runtime/server/instagram-embed-asset.d.ts +2 -0
- package/dist/runtime/server/instagram-embed-asset.js +42 -0
- package/dist/runtime/server/instagram-embed-image.d.ts +2 -0
- package/dist/runtime/server/instagram-embed-image.js +54 -0
- package/dist/runtime/server/instagram-embed.d.ts +2 -0
- package/dist/runtime/server/instagram-embed.js +91 -0
- package/dist/runtime/server/proxy-handler.d.ts +6 -0
- package/dist/runtime/server/proxy-handler.js +264 -0
- package/dist/runtime/server/utils/privacy.d.ts +141 -0
- package/dist/runtime/server/utils/privacy.js +324 -0
- package/dist/runtime/server/x-embed-image.d.ts +2 -0
- package/dist/runtime/server/x-embed-image.js +53 -0
- package/dist/runtime/server/x-embed.d.ts +49 -0
- package/dist/runtime/server/x-embed.js +31 -0
- package/dist/runtime/types.d.ts +51 -22
- package/dist/runtime/utils/pure.d.ts +9 -0
- package/dist/runtime/utils/pure.js +0 -0
- package/dist/runtime/utils.d.ts +3 -3
- package/dist/runtime/utils.js +3 -2
- package/dist/shared/scripts.DLRgvHQg.mjs +288 -0
- package/dist/stats.d.mts +39 -0
- package/dist/stats.d.ts +39 -0
- package/dist/stats.mjs +711 -0
- package/dist/types.d.mts +1 -1
- package/package.json +48 -41
- package/dist/client/_nuxt/Bdf7Qtwg.js +0 -1
- package/dist/client/_nuxt/CoyZWCgl.js +0 -162
- package/dist/client/_nuxt/Ds1k3yKJ.js +0 -1
- package/dist/client/_nuxt/builds/meta/62574f80-71d4-4f9e-8b96-145c85230d99.json +0 -1
- package/dist/client/_nuxt/entry.BjfcJo5q.css +0 -1
- package/dist/client/_nuxt/error-404.D45Vtjcx.css +0 -1
- package/dist/client/_nuxt/error-500.BOm1rWQf.css +0 -1
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
1
|
<script setup>
|
|
6
|
-
import { inject, onUnmounted, shallowRef } from "vue";
|
|
7
2
|
import { whenever } from "@vueuse/core";
|
|
3
|
+
import { inject, onUnmounted, shallowRef } from "vue";
|
|
8
4
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
5
|
import { ADVANCED_MARKER_ELEMENT_INJECTION_KEY } from "./ScriptGoogleMapsAdvancedMarkerElement.vue";
|
|
10
6
|
const props = defineProps({
|
|
@@ -41,3 +37,7 @@ onUnmounted(() => {
|
|
|
41
37
|
pinElement.value = void 0;
|
|
42
38
|
});
|
|
43
39
|
</script>
|
|
40
|
+
|
|
41
|
+
<template>
|
|
42
|
+
|
|
43
|
+
</template>
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
1
|
<script setup>
|
|
6
|
-
import { inject, onUnmounted } from "vue";
|
|
7
2
|
import { whenever } from "@vueuse/core";
|
|
3
|
+
import { inject, onUnmounted } from "vue";
|
|
8
4
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
5
|
const props = defineProps({
|
|
10
6
|
options: { type: Object, required: false }
|
|
11
7
|
});
|
|
8
|
+
const emit = defineEmits([]);
|
|
12
9
|
const eventsWithPolyMouseEventPayload = [
|
|
13
10
|
"click",
|
|
14
11
|
"contextmenu",
|
|
@@ -24,9 +21,8 @@ const eventsWithMapMouseEventPayload = [
|
|
|
24
21
|
"dragend",
|
|
25
22
|
"dragstart"
|
|
26
23
|
];
|
|
27
|
-
const emit = defineEmits([]);
|
|
28
24
|
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
29
|
-
let polygon
|
|
25
|
+
let polygon;
|
|
30
26
|
whenever(() => mapContext?.map.value && mapContext.mapsApi.value, () => {
|
|
31
27
|
polygon = new mapContext.mapsApi.value.Polygon({
|
|
32
28
|
map: mapContext.map.value,
|
|
@@ -58,3 +54,7 @@ function setupPolygonEventListeners(polygon2) {
|
|
|
58
54
|
});
|
|
59
55
|
}
|
|
60
56
|
</script>
|
|
57
|
+
|
|
58
|
+
<template>
|
|
59
|
+
|
|
60
|
+
</template>
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
1
|
<script setup>
|
|
6
|
-
import { inject, onUnmounted } from "vue";
|
|
7
2
|
import { whenever } from "@vueuse/core";
|
|
3
|
+
import { inject, onUnmounted } from "vue";
|
|
8
4
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
5
|
const props = defineProps({
|
|
10
6
|
options: { type: Object, required: false }
|
|
11
7
|
});
|
|
8
|
+
const emit = defineEmits([]);
|
|
12
9
|
const eventsWithPolyMouseEventPayload = [
|
|
13
10
|
"click",
|
|
14
11
|
"contextmenu",
|
|
@@ -24,9 +21,8 @@ const eventsWithMapMouseEventPayload = [
|
|
|
24
21
|
"dragend",
|
|
25
22
|
"dragstart"
|
|
26
23
|
];
|
|
27
|
-
const emit = defineEmits([]);
|
|
28
24
|
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
29
|
-
let polyline
|
|
25
|
+
let polyline;
|
|
30
26
|
whenever(() => mapContext?.map.value && mapContext.mapsApi.value, () => {
|
|
31
27
|
polyline = new mapContext.mapsApi.value.Polyline({
|
|
32
28
|
map: mapContext.map.value,
|
|
@@ -58,3 +54,7 @@ function setupPolylineEventListeners(polyline2) {
|
|
|
58
54
|
});
|
|
59
55
|
}
|
|
60
56
|
</script>
|
|
57
|
+
|
|
58
|
+
<template>
|
|
59
|
+
|
|
60
|
+
</template>
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
1
|
<script setup>
|
|
6
|
-
import { inject, onUnmounted } from "vue";
|
|
7
2
|
import { whenever } from "@vueuse/core";
|
|
3
|
+
import { inject, onUnmounted } from "vue";
|
|
8
4
|
import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
|
|
9
5
|
const props = defineProps({
|
|
10
6
|
options: { type: Object, required: false }
|
|
11
7
|
});
|
|
8
|
+
const emit = defineEmits([]);
|
|
12
9
|
const eventsWithoutPayload = [
|
|
13
10
|
"bounds_changed"
|
|
14
11
|
];
|
|
@@ -25,9 +22,8 @@ const eventsWithMapMouseEventPayload = [
|
|
|
25
22
|
"mouseover",
|
|
26
23
|
"mouseup"
|
|
27
24
|
];
|
|
28
|
-
const emit = defineEmits([]);
|
|
29
25
|
const mapContext = inject(MAP_INJECTION_KEY, void 0);
|
|
30
|
-
let rectangle
|
|
26
|
+
let rectangle;
|
|
31
27
|
whenever(() => mapContext?.map.value && mapContext.mapsApi.value, () => {
|
|
32
28
|
rectangle = new mapContext.mapsApi.value.Rectangle({
|
|
33
29
|
map: mapContext.map.value,
|
|
@@ -59,3 +55,7 @@ function setupRectangleEventListeners(rectangle2) {
|
|
|
59
55
|
});
|
|
60
56
|
}
|
|
61
57
|
</script>
|
|
58
|
+
|
|
59
|
+
<template>
|
|
60
|
+
|
|
61
|
+
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
2
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
3
3
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
4
4
|
import { useScriptCrisp } from "../registry/crisp";
|
|
5
5
|
const props = defineProps({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, onMounted, ref, watch } from "vue";
|
|
3
2
|
import { callOnce } from "nuxt/app";
|
|
3
|
+
import { computed, onMounted, ref, watch } from "vue";
|
|
4
4
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
5
5
|
import { useScriptGoogleAdsense } from "../registry/google-adsense";
|
|
6
6
|
import { scriptRuntimeConfig } from "../utils";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* The Instagram post URL to embed
|
|
5
|
+
* e.g., https://www.instagram.com/p/ABC123/
|
|
6
|
+
*/
|
|
7
|
+
postUrl: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to include captions in the embed
|
|
10
|
+
* @default true
|
|
11
|
+
*/
|
|
12
|
+
captions?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Custom API endpoint for fetching embed HTML
|
|
15
|
+
* @default '/api/_scripts/instagram-embed'
|
|
16
|
+
*/
|
|
17
|
+
apiEndpoint?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Root element attributes
|
|
20
|
+
*/
|
|
21
|
+
rootAttrs?: HTMLAttributes;
|
|
22
|
+
};
|
|
23
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
24
|
+
error: import("nuxt/app").NuxtError<unknown> | undefined;
|
|
25
|
+
}, __VLS_5: {
|
|
26
|
+
html: string;
|
|
27
|
+
shortcode: string | undefined;
|
|
28
|
+
postUrl: string;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Slots = {} & {
|
|
31
|
+
loading?: (props: typeof __VLS_1) => any;
|
|
32
|
+
} & {
|
|
33
|
+
error?: (props: typeof __VLS_3) => any;
|
|
34
|
+
} & {
|
|
35
|
+
default?: (props: typeof __VLS_5) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
38
|
+
html: import("vue").Ref<string | undefined, string | undefined>;
|
|
39
|
+
status: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
|
|
40
|
+
error: import("vue").Ref<import("nuxt/app").NuxtError<unknown> | undefined, import("nuxt/app").NuxtError<unknown> | undefined>;
|
|
41
|
+
shortcode: import("vue").ComputedRef<string | undefined>;
|
|
42
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
43
|
+
captions: boolean;
|
|
44
|
+
apiEndpoint: string;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useAsyncData } from "nuxt/app";
|
|
3
|
+
import { computed } from "vue";
|
|
4
|
+
import { extractInstagramShortcode } from "../registry/instagram-embed";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
postUrl: { type: String, required: true },
|
|
7
|
+
captions: { type: Boolean, required: false, default: true },
|
|
8
|
+
apiEndpoint: { type: String, required: false, default: "/api/_scripts/instagram-embed" },
|
|
9
|
+
rootAttrs: { type: Object, required: false }
|
|
10
|
+
});
|
|
11
|
+
const shortcode = computed(() => extractInstagramShortcode(props.postUrl));
|
|
12
|
+
const { data: html, status, error } = useAsyncData(
|
|
13
|
+
`instagram-embed-${props.postUrl}`,
|
|
14
|
+
() => $fetch(`${props.apiEndpoint}?url=${encodeURIComponent(props.postUrl)}&captions=${props.captions}`),
|
|
15
|
+
{ watch: [() => props.postUrl, () => props.captions] }
|
|
16
|
+
);
|
|
17
|
+
defineExpose({
|
|
18
|
+
html,
|
|
19
|
+
status,
|
|
20
|
+
error,
|
|
21
|
+
shortcode
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<template>
|
|
26
|
+
<div v-bind="rootAttrs">
|
|
27
|
+
<slot v-if="status === 'pending'" name="loading">
|
|
28
|
+
<div>Loading Instagram post...</div>
|
|
29
|
+
</slot>
|
|
30
|
+
<slot v-else-if="status === 'error'" name="error" :error="error">
|
|
31
|
+
<div>Failed to load Instagram post</div>
|
|
32
|
+
</slot>
|
|
33
|
+
<slot v-else-if="html" :html="html" :shortcode="shortcode" :post-url="postUrl">
|
|
34
|
+
<!-- eslint-disable-next-line vue/no-v-html -->
|
|
35
|
+
<div v-html="html" />
|
|
36
|
+
</slot>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* The Instagram post URL to embed
|
|
5
|
+
* e.g., https://www.instagram.com/p/ABC123/
|
|
6
|
+
*/
|
|
7
|
+
postUrl: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to include captions in the embed
|
|
10
|
+
* @default true
|
|
11
|
+
*/
|
|
12
|
+
captions?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Custom API endpoint for fetching embed HTML
|
|
15
|
+
* @default '/api/_scripts/instagram-embed'
|
|
16
|
+
*/
|
|
17
|
+
apiEndpoint?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Root element attributes
|
|
20
|
+
*/
|
|
21
|
+
rootAttrs?: HTMLAttributes;
|
|
22
|
+
};
|
|
23
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
24
|
+
error: import("nuxt/app").NuxtError<unknown> | undefined;
|
|
25
|
+
}, __VLS_5: {
|
|
26
|
+
html: string;
|
|
27
|
+
shortcode: string | undefined;
|
|
28
|
+
postUrl: string;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Slots = {} & {
|
|
31
|
+
loading?: (props: typeof __VLS_1) => any;
|
|
32
|
+
} & {
|
|
33
|
+
error?: (props: typeof __VLS_3) => any;
|
|
34
|
+
} & {
|
|
35
|
+
default?: (props: typeof __VLS_5) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
38
|
+
html: import("vue").Ref<string | undefined, string | undefined>;
|
|
39
|
+
status: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
|
|
40
|
+
error: import("vue").Ref<import("nuxt/app").NuxtError<unknown> | undefined, import("nuxt/app").NuxtError<unknown> | undefined>;
|
|
41
|
+
shortcode: import("vue").ComputedRef<string | undefined>;
|
|
42
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
43
|
+
captions: boolean;
|
|
44
|
+
apiEndpoint: string;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
3
|
-
import { useScriptIntercom } from "../registry/intercom";
|
|
2
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
4
3
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
4
|
+
import { useScriptIntercom } from "../registry/intercom";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
appId: { type: String, required: true },
|
|
7
7
|
apiBase: { type: String, required: false },
|
|
@@ -52,8 +52,9 @@ onMounted(() => {
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
observer.observe(document.body, { childList: true, subtree: true });
|
|
55
|
-
} else if (status2 === "error")
|
|
55
|
+
} else if (status2 === "error") {
|
|
56
56
|
emits("error");
|
|
57
|
+
}
|
|
57
58
|
});
|
|
58
59
|
});
|
|
59
60
|
onBeforeUnmount(() => {
|
|
@@ -3,8 +3,8 @@ type __VLS_Props = {
|
|
|
3
3
|
size?: number;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
size: number;
|
|
7
6
|
color: string;
|
|
7
|
+
size: number;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
export default _default;
|
|
@@ -3,8 +3,8 @@ type __VLS_Props = {
|
|
|
3
3
|
size?: number;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
size: number;
|
|
7
6
|
color: string;
|
|
7
|
+
size: number;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReservedProps } from 'vue';
|
|
2
|
-
import type { OnApproveActions, OnApproveData, OnCancelledActions, OnClickActions, OnShippingAddressChangeActions, OnShippingAddressChangeData, OnShippingOptionsChangeActions, OnShippingOptionsChangeData, PayPalButtonsComponentOptions, OnInitActions } from '@paypal/paypal-js';
|
|
3
1
|
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
+
import type { OnApproveActions, OnApproveData, OnCancelledActions, OnClickActions, OnInitActions, OnShippingAddressChangeActions, OnShippingAddressChangeData, OnShippingOptionsChangeActions, OnShippingOptionsChangeData, PayPalButtonsComponentOptions } from '@paypal/paypal-js';
|
|
3
|
+
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
4
|
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/**
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, onMounted, ref, shallowRef, watch } from "vue";
|
|
3
2
|
import { defu } from "defu";
|
|
4
|
-
import {
|
|
3
|
+
import { computed, onBeforeUnmount, onMounted, ref, resolveComponent, shallowRef, watch } from "vue";
|
|
5
4
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
6
|
-
import {
|
|
7
|
-
const el = ref(null);
|
|
8
|
-
const rootEl = ref(null);
|
|
5
|
+
import { useScriptPayPal } from "../registry/paypal";
|
|
9
6
|
const props = defineProps({
|
|
10
7
|
rootAttrs: { type: Object, required: false },
|
|
11
8
|
trigger: { type: [String, Array, Boolean], required: false, default: "visible" },
|
|
@@ -14,21 +11,24 @@ const props = defineProps({
|
|
|
14
11
|
paypalScriptOptions: { type: Object, required: false, default: () => ({}) },
|
|
15
12
|
disabled: { type: Boolean, required: false, default: false }
|
|
16
13
|
});
|
|
14
|
+
const emit = defineEmits(["approve", "error", "cancel", "clickButtons", "shippingOptionsChange", "shippingAddressChange", "init"]);
|
|
15
|
+
const el = ref(null);
|
|
16
|
+
const rootEl = ref(null);
|
|
17
17
|
const ready = ref(false);
|
|
18
18
|
const { onLoaded, status } = useScriptPayPal({
|
|
19
19
|
clientId: props.clientId,
|
|
20
20
|
...props.paypalScriptOptions
|
|
21
21
|
});
|
|
22
|
-
const emit = defineEmits(["approve", "error", "cancel", "clickButtons", "shippingOptionsChange", "shippingAddressChange", "init"]);
|
|
23
22
|
const initActions = shallowRef(null);
|
|
24
|
-
|
|
25
|
-
if (!initActions.value)
|
|
23
|
+
function handleDisabled() {
|
|
24
|
+
if (!initActions.value)
|
|
25
|
+
return;
|
|
26
26
|
if (props.disabled) {
|
|
27
27
|
initActions.value.disable();
|
|
28
28
|
} else {
|
|
29
29
|
initActions.value.enable();
|
|
30
30
|
}
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
32
|
const options = computed(() => {
|
|
33
33
|
const _options = {
|
|
34
34
|
onApprove: async (data, actions) => {
|
|
@@ -69,12 +69,14 @@ watch(() => props.disabled, handleDisabled);
|
|
|
69
69
|
const buttonInst = shallowRef();
|
|
70
70
|
onMounted(() => {
|
|
71
71
|
onLoaded(async ({ paypal }) => {
|
|
72
|
-
if (!el.value)
|
|
72
|
+
if (!el.value)
|
|
73
|
+
return;
|
|
73
74
|
buttonInst.value = paypal?.Buttons?.(options.value);
|
|
74
75
|
await buttonInst.value?.render(el.value);
|
|
75
76
|
ready.value = true;
|
|
76
77
|
watch(() => options.value, async (_options) => {
|
|
77
|
-
if (!el.value)
|
|
78
|
+
if (!el.value)
|
|
79
|
+
return;
|
|
78
80
|
await buttonInst.value?.updateProps(_options);
|
|
79
81
|
});
|
|
80
82
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReservedProps } from 'vue';
|
|
2
|
-
import type { OnApproveActions, OnApproveData, OnCancelledActions, OnClickActions, OnShippingAddressChangeActions, OnShippingAddressChangeData, OnShippingOptionsChangeActions, OnShippingOptionsChangeData, PayPalButtonsComponentOptions, OnInitActions } from '@paypal/paypal-js';
|
|
3
1
|
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
+
import type { OnApproveActions, OnApproveData, OnCancelledActions, OnClickActions, OnInitActions, OnShippingAddressChangeActions, OnShippingAddressChangeData, OnShippingOptionsChangeActions, OnShippingOptionsChangeData, PayPalButtonsComponentOptions } from '@paypal/paypal-js';
|
|
3
|
+
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
4
|
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReservedProps } from 'vue';
|
|
2
|
-
import type { PayPalMarksComponentOptions } from '@paypal/paypal-js';
|
|
3
1
|
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
+
import type { PayPalMarksComponentOptions } from '@paypal/paypal-js';
|
|
3
|
+
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
4
|
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/**
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, onMounted, ref, shallowRef, watch } from "vue";
|
|
3
2
|
import { defu } from "defu";
|
|
4
|
-
import {
|
|
3
|
+
import { computed, onBeforeUnmount, onMounted, ref, resolveComponent, shallowRef, watch } from "vue";
|
|
5
4
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
6
|
-
import {
|
|
7
|
-
const el = ref(null);
|
|
8
|
-
const rootEl = ref(null);
|
|
5
|
+
import { useScriptPayPal } from "../registry/paypal";
|
|
9
6
|
const props = defineProps({
|
|
10
7
|
rootAttrs: { type: Object, required: false },
|
|
11
8
|
trigger: { type: [String, Array, Boolean], required: false, default: "visible" },
|
|
@@ -13,6 +10,8 @@ const props = defineProps({
|
|
|
13
10
|
marksOptions: { type: Object, required: false, default: () => ({}) },
|
|
14
11
|
paypalScriptOptions: { type: Object, required: false, default: () => ({}) }
|
|
15
12
|
});
|
|
13
|
+
const el = ref(null);
|
|
14
|
+
const rootEl = ref(null);
|
|
16
15
|
const ready = ref(false);
|
|
17
16
|
const { onLoaded, status } = useScriptPayPal({
|
|
18
17
|
clientId: props.clientId,
|
|
@@ -21,12 +20,14 @@ const { onLoaded, status } = useScriptPayPal({
|
|
|
21
20
|
const marksInst = shallowRef();
|
|
22
21
|
onMounted(() => {
|
|
23
22
|
onLoaded(async ({ paypal }) => {
|
|
24
|
-
if (!el.value)
|
|
23
|
+
if (!el.value)
|
|
24
|
+
return;
|
|
25
25
|
marksInst.value = paypal?.Marks?.(props.marksOptions);
|
|
26
26
|
await marksInst.value?.render(el.value);
|
|
27
27
|
ready.value = true;
|
|
28
28
|
watch(() => props.marksOptions, async (_options) => {
|
|
29
|
-
if (!el.value)
|
|
29
|
+
if (!el.value)
|
|
30
|
+
return;
|
|
30
31
|
destroy();
|
|
31
32
|
marksInst.value = paypal?.Marks?.(_options);
|
|
32
33
|
await marksInst.value?.render(el.value);
|
|
@@ -34,7 +35,8 @@ onMounted(() => {
|
|
|
34
35
|
});
|
|
35
36
|
});
|
|
36
37
|
function destroy() {
|
|
37
|
-
if (!el.value)
|
|
38
|
+
if (!el.value)
|
|
39
|
+
return;
|
|
38
40
|
el.value?.replaceChildren();
|
|
39
41
|
}
|
|
40
42
|
onBeforeUnmount(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReservedProps } from 'vue';
|
|
2
|
-
import type { PayPalMarksComponentOptions } from '@paypal/paypal-js';
|
|
3
1
|
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
+
import type { PayPalMarksComponentOptions } from '@paypal/paypal-js';
|
|
3
|
+
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
4
|
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReservedProps } from 'vue';
|
|
2
|
-
import type { PayPalMessagesComponentOptions } from '@paypal/paypal-js';
|
|
3
1
|
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
+
import type { PayPalMessagesComponentOptions } from '@paypal/paypal-js';
|
|
3
|
+
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
4
|
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/**
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, onMounted, ref, shallowRef, watch } from "vue";
|
|
3
2
|
import { defu } from "defu";
|
|
4
|
-
import {
|
|
3
|
+
import { computed, onBeforeUnmount, onMounted, ref, resolveComponent, shallowRef, watch } from "vue";
|
|
5
4
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
6
|
-
import {
|
|
7
|
-
const el = ref(null);
|
|
8
|
-
const rootEl = ref(null);
|
|
5
|
+
import { useScriptPayPal } from "../registry/paypal";
|
|
9
6
|
const props = defineProps({
|
|
10
7
|
rootAttrs: { type: Object, required: false },
|
|
11
8
|
trigger: { type: [String, Array, Boolean], required: false, default: "visible" },
|
|
@@ -15,6 +12,9 @@ const props = defineProps({
|
|
|
15
12
|
partnerAttributionId: { type: String, required: false },
|
|
16
13
|
paypalScriptOptions: { type: Object, required: false, default: () => ({}) }
|
|
17
14
|
});
|
|
15
|
+
const emit = defineEmits(["apply", "clickMessages", "render"]);
|
|
16
|
+
const el = ref(null);
|
|
17
|
+
const rootEl = ref(null);
|
|
18
18
|
const ready = ref(false);
|
|
19
19
|
const { onLoaded, status } = useScriptPayPal({
|
|
20
20
|
clientId: props.clientId,
|
|
@@ -22,7 +22,6 @@ const { onLoaded, status } = useScriptPayPal({
|
|
|
22
22
|
partnerAttributionId: props.partnerAttributionId,
|
|
23
23
|
...props.paypalScriptOptions
|
|
24
24
|
});
|
|
25
|
-
const emit = defineEmits(["apply", "clickMessages", "render"]);
|
|
26
25
|
const options = computed(() => {
|
|
27
26
|
const _options = {
|
|
28
27
|
onApply: (data) => {
|
|
@@ -43,19 +42,22 @@ const options = computed(() => {
|
|
|
43
42
|
const messageInst = shallowRef();
|
|
44
43
|
onMounted(() => {
|
|
45
44
|
onLoaded(async ({ paypal }) => {
|
|
46
|
-
if (!el.value)
|
|
45
|
+
if (!el.value)
|
|
46
|
+
return;
|
|
47
47
|
messageInst.value = paypal?.Messages?.(options.value);
|
|
48
48
|
await messageInst.value?.render(el.value);
|
|
49
49
|
ready.value = true;
|
|
50
50
|
watch(() => options.value, async (_options) => {
|
|
51
|
-
if (!el.value)
|
|
51
|
+
if (!el.value)
|
|
52
|
+
return;
|
|
52
53
|
messageInst.value = paypal?.Messages?.(_options);
|
|
53
54
|
await messageInst.value?.render(el.value);
|
|
54
55
|
});
|
|
55
56
|
});
|
|
56
57
|
});
|
|
57
58
|
function destroy() {
|
|
58
|
-
if (!el.value)
|
|
59
|
+
if (!el.value)
|
|
60
|
+
return;
|
|
59
61
|
el.value?.replaceChildren();
|
|
60
62
|
}
|
|
61
63
|
onBeforeUnmount(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReservedProps } from 'vue';
|
|
2
|
-
import type { PayPalMessagesComponentOptions } from '@paypal/paypal-js';
|
|
3
1
|
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
+
import type { PayPalMessagesComponentOptions } from '@paypal/paypal-js';
|
|
3
|
+
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
4
|
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
3
|
-
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
2
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
4
3
|
import { useScript } from "../composables/useScript";
|
|
4
|
+
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
trigger: { type: [String, Array, Boolean], required: false, default: "visible" },
|
|
7
7
|
publishableKey: { type: String, required: true },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
3
2
|
import { defu } from "defu";
|
|
4
3
|
import { useAsyncData, useHead } from "nuxt/app";
|
|
4
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
5
5
|
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
6
6
|
import { useScriptVimeoPlayer } from "../registry/vimeo-player";
|
|
7
7
|
import ScriptAriaLoadingIndicator from "./ScriptAriaLoadingIndicator.vue";
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { XEmbedTweetData } from '../registry/x-embed.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/**
|
|
5
|
+
* The tweet ID to embed
|
|
6
|
+
*/
|
|
7
|
+
tweetId: string;
|
|
8
|
+
/**
|
|
9
|
+
* Custom API endpoint for fetching tweet data
|
|
10
|
+
* @default '/_scripts/x-embed'
|
|
11
|
+
*/
|
|
12
|
+
apiEndpoint?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Custom image proxy endpoint
|
|
15
|
+
* @default '/_scripts/x-embed-image'
|
|
16
|
+
*/
|
|
17
|
+
imageProxyEndpoint?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Root element attributes
|
|
20
|
+
*/
|
|
21
|
+
rootAttrs?: HTMLAttributes;
|
|
22
|
+
};
|
|
23
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
24
|
+
error: import("nuxt/app").NuxtError<unknown> | undefined;
|
|
25
|
+
}, __VLS_5: {
|
|
26
|
+
tweet: XEmbedTweetData;
|
|
27
|
+
userName: string;
|
|
28
|
+
userHandle: string;
|
|
29
|
+
userAvatar: string;
|
|
30
|
+
userAvatarOriginal: string;
|
|
31
|
+
isVerified: boolean | undefined;
|
|
32
|
+
text: string;
|
|
33
|
+
datetime: string;
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
likes: number;
|
|
36
|
+
likesFormatted: string;
|
|
37
|
+
replies: number;
|
|
38
|
+
repliesFormatted: string;
|
|
39
|
+
photos: {
|
|
40
|
+
proxiedUrl: string;
|
|
41
|
+
url: string;
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
video: {
|
|
46
|
+
posterProxied: string;
|
|
47
|
+
poster: string;
|
|
48
|
+
variants: Array<{
|
|
49
|
+
type: string;
|
|
50
|
+
src: string;
|
|
51
|
+
}>;
|
|
52
|
+
} | null;
|
|
53
|
+
tweetUrl: string;
|
|
54
|
+
userUrl: string;
|
|
55
|
+
quotedTweet: XEmbedTweetData | undefined;
|
|
56
|
+
isReply: boolean;
|
|
57
|
+
replyToUser: string | undefined;
|
|
58
|
+
proxyImage: (url: string) => string;
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Slots = {} & {
|
|
61
|
+
loading?: (props: typeof __VLS_1) => any;
|
|
62
|
+
} & {
|
|
63
|
+
error?: (props: typeof __VLS_3) => any;
|
|
64
|
+
} & {
|
|
65
|
+
default?: (props: typeof __VLS_5) => any;
|
|
66
|
+
};
|
|
67
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
68
|
+
tweet: import("vue").Ref<XEmbedTweetData | undefined, XEmbedTweetData | undefined>;
|
|
69
|
+
status: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
|
|
70
|
+
error: import("vue").Ref<import("nuxt/app").NuxtError<unknown> | undefined, import("nuxt/app").NuxtError<unknown> | undefined>;
|
|
71
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
72
|
+
apiEndpoint: string;
|
|
73
|
+
imageProxyEndpoint: string;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
75
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
76
|
+
declare const _default: typeof __VLS_export;
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|