@nuxt/scripts 1.0.0-beta.15 → 1.0.0-beta.17
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 +3 -3
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{C4oLgKn5.js → BW6d1nfL.js} +1 -1
- package/dist/client/_nuxt/{C4LyqEA2.js → C8R4dwAP.js} +1 -1
- package/dist/client/_nuxt/{CSWa0Nc-.js → DI7VRsfF.js} +1 -1
- package/dist/client/_nuxt/{CAywURt7.js → NbccNBFl.js} +13 -13
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/54747b43-880a-49d1-91ff-d00dbcdf3ad7.json +1 -0
- package/dist/client/_nuxt/error-404.Cqp3ffuH.css +1 -0
- package/dist/client/_nuxt/error-500.B9hH8BAi.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +22 -7
- package/dist/registry.mjs +22 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +1 -1
- package/dist/runtime/components/ScriptGravatar.d.vue.ts +22 -0
- package/dist/runtime/components/ScriptGravatar.vue +46 -0
- package/dist/runtime/components/ScriptGravatar.vue.d.ts +22 -0
- 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 +42 -31
- package/dist/runtime/components/ScriptPayPalButtons.vue +43 -76
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +42 -31
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +36 -22
- package/dist/runtime/components/ScriptPayPalMessages.vue +41 -47
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +36 -22
- package/dist/runtime/components/ScriptXEmbed.d.vue.ts +1 -1
- package/dist/runtime/components/ScriptXEmbed.vue.d.ts +1 -1
- package/dist/runtime/registry/clarity.d.ts +2 -7
- package/dist/runtime/registry/clarity.js +2 -7
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +2 -13
- package/dist/runtime/registry/cloudflare-web-analytics.js +2 -14
- package/dist/runtime/registry/crisp.d.ts +2 -32
- package/dist/runtime/registry/crisp.js +2 -33
- package/dist/runtime/registry/databuddy-analytics.d.ts +2 -35
- package/dist/runtime/registry/databuddy-analytics.js +2 -45
- package/dist/runtime/registry/fathom-analytics.d.ts +2 -22
- package/dist/runtime/registry/fathom-analytics.js +2 -23
- package/dist/runtime/registry/google-adsense.d.ts +2 -10
- package/dist/runtime/registry/google-adsense.js +2 -11
- package/dist/runtime/registry/google-analytics.d.ts +2 -4
- package/dist/runtime/registry/google-analytics.js +2 -7
- package/dist/runtime/registry/google-maps.d.ts +2 -8
- package/dist/runtime/registry/google-maps.js +2 -8
- package/dist/runtime/registry/google-recaptcha.d.ts +2 -6
- package/dist/runtime/registry/google-recaptcha.js +2 -10
- package/dist/runtime/registry/google-sign-in.d.ts +2 -13
- package/dist/runtime/registry/google-sign-in.js +2 -22
- package/dist/runtime/registry/google-tag-manager.d.ts +2 -27
- package/dist/runtime/registry/google-tag-manager.js +2 -25
- package/dist/runtime/registry/gravatar.d.ts +25 -0
- package/dist/runtime/registry/gravatar.js +32 -0
- package/dist/runtime/registry/hotjar.d.ts +2 -4
- package/dist/runtime/registry/hotjar.js +2 -5
- package/dist/runtime/registry/instagram-embed.d.ts +2 -17
- package/dist/runtime/registry/instagram-embed.js +2 -18
- package/dist/runtime/registry/intercom.d.ts +2 -10
- package/dist/runtime/registry/intercom.js +2 -12
- package/dist/runtime/registry/matomo-analytics.d.ts +2 -11
- package/dist/runtime/registry/matomo-analytics.js +2 -11
- package/dist/runtime/registry/meta-pixel.d.ts +2 -4
- package/dist/runtime/registry/meta-pixel.js +2 -4
- package/dist/runtime/registry/npm.d.ts +2 -6
- package/dist/runtime/registry/npm.js +2 -7
- package/dist/runtime/registry/paypal.d.ts +4 -25
- package/dist/runtime/registry/paypal.js +3 -66
- package/dist/runtime/registry/posthog.d.ts +10 -12
- package/dist/runtime/registry/posthog.js +2 -11
- package/dist/runtime/registry/reddit-pixel.d.ts +2 -4
- package/dist/runtime/registry/reddit-pixel.js +2 -4
- package/dist/runtime/registry/rybbit-analytics.d.ts +2 -14
- package/dist/runtime/registry/rybbit-analytics.js +2 -16
- package/dist/runtime/registry/schemas.d.ts +940 -0
- package/dist/runtime/registry/schemas.js +895 -0
- package/dist/runtime/registry/segment.d.ts +2 -5
- package/dist/runtime/registry/segment.js +2 -5
- package/dist/runtime/registry/snapchat-pixel.d.ts +2 -31
- package/dist/runtime/registry/snapchat-pixel.js +2 -20
- package/dist/runtime/registry/stripe.d.ts +2 -3
- package/dist/runtime/registry/stripe.js +2 -4
- package/dist/runtime/registry/tiktok-pixel.d.ts +2 -5
- package/dist/runtime/registry/tiktok-pixel.js +2 -6
- package/dist/runtime/registry/umami-analytics.d.ts +2 -31
- package/dist/runtime/registry/umami-analytics.js +2 -36
- package/dist/runtime/registry/vercel-analytics.d.ts +29 -0
- package/dist/runtime/registry/vercel-analytics.js +84 -0
- package/dist/runtime/registry/x-embed.d.ts +2 -16
- package/dist/runtime/registry/x-embed.js +2 -17
- package/dist/runtime/registry/x-pixel.d.ts +2 -5
- package/dist/runtime/registry/x-pixel.js +2 -5
- package/dist/runtime/server/gravatar-proxy.d.ts +2 -0
- package/dist/runtime/server/gravatar-proxy.js +62 -0
- package/dist/runtime/types.d.ts +8 -2
- package/dist/runtime/utils.d.ts +2 -2
- package/dist/runtime/utils.js +3 -2
- package/dist/shared/{scripts.DLRgvHQg.mjs → scripts.Bg4pl9Yo.mjs} +22 -0
- package/dist/stats.mjs +152 -94
- package/dist/types-source.d.mts +11 -367
- package/dist/types-source.d.ts +11 -367
- package/dist/types-source.mjs +225 -460
- package/package.json +4 -4
- package/dist/client/_nuxt/builds/meta/0f5f1d62-f186-4aef-a618-dcef5ec637c1.json +0 -1
- package/dist/client/_nuxt/error-404.B57D-jUQ.css +0 -1
- package/dist/client/_nuxt/error-500.DTHUW7BI.css +0 -1
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +0 -52
- package/dist/runtime/components/ScriptPayPalMarks.vue +0 -71
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +0 -52
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.17",
|
|
5
5
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -129,19 +129,19 @@
|
|
|
129
129
|
"@vue/test-utils": "^2.4.6",
|
|
130
130
|
"bumpp": "^10.4.1",
|
|
131
131
|
"eslint": "^10.0.2",
|
|
132
|
-
"eslint-plugin-harlanzw": "^0.
|
|
132
|
+
"eslint-plugin-harlanzw": "^0.5.15",
|
|
133
133
|
"happy-dom": "^20.8.3",
|
|
134
134
|
"knitwork": "^1.3.0",
|
|
135
135
|
"nuxt": "^4.3.1",
|
|
136
136
|
"playwright-core": "^1.58.2",
|
|
137
|
-
"posthog-js": "^1.
|
|
137
|
+
"posthog-js": "^1.359.0",
|
|
138
138
|
"shiki": "^4.0.1",
|
|
139
139
|
"typescript": "^5.9.3",
|
|
140
140
|
"vitest": "^4.0.18",
|
|
141
141
|
"vue": "^3.5.29",
|
|
142
142
|
"vue-router": "^5.0.3",
|
|
143
143
|
"vue-tsc": "^3.2.5",
|
|
144
|
-
"@nuxt/scripts": "1.0.0-beta.
|
|
144
|
+
"@nuxt/scripts": "1.0.0-beta.17"
|
|
145
145
|
},
|
|
146
146
|
"resolutions": {
|
|
147
147
|
"@nuxt/scripts": "workspace:*"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"0f5f1d62-f186-4aef-a618-dcef5ec637c1","timestamp":1772688986035,"prerendered":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-85347797]{display:grid}.mb-2[data-v-85347797]{margin-bottom:.5rem}.mb-4[data-v-85347797]{margin-bottom:1rem}.max-w-520px[data-v-85347797]{max-width:520px}.min-h-screen[data-v-85347797]{min-height:100vh}.w-full[data-v-85347797]{width:100%}.flex[data-v-85347797]{display:flex}.place-content-center[data-v-85347797]{place-content:center}.items-center[data-v-85347797]{align-items:center}.justify-center[data-v-85347797]{justify-content:center}.overflow-hidden[data-v-85347797]{overflow:hidden}.bg-white[data-v-85347797]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-85347797]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-85347797]{text-align:center}.text-\[80px\][data-v-85347797]{font-size:80px}.text-2xl[data-v-85347797]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-85347797]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-85347797]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-85347797]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-85347797]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-85347797]{font-weight:500}.font-semibold[data-v-85347797]{font-weight:600}.leading-none[data-v-85347797]{line-height:1}.tracking-wide[data-v-85347797]{letter-spacing:.025em}.font-sans[data-v-85347797]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-85347797]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-85347797]{text-decoration-line:underline}.underline-offset-3[data-v-85347797]{text-underline-offset:3px}.antialiased[data-v-85347797]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-85347797]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-85347797]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-85347797]{font-size:110px}.sm\:text-3xl[data-v-85347797]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-2367f596]{display:grid}.mb-2[data-v-2367f596]{margin-bottom:.5rem}.mb-4[data-v-2367f596]{margin-bottom:1rem}.max-w-520px[data-v-2367f596]{max-width:520px}.min-h-screen[data-v-2367f596]{min-height:100vh}.place-content-center[data-v-2367f596]{place-content:center}.overflow-hidden[data-v-2367f596]{overflow:hidden}.bg-white[data-v-2367f596]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-2367f596]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-2367f596]{text-align:center}.text-\[80px\][data-v-2367f596]{font-size:80px}.text-2xl[data-v-2367f596]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-2367f596]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-2367f596]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-2367f596]{font-weight:600}.leading-none[data-v-2367f596]{line-height:1}.tracking-wide[data-v-2367f596]{letter-spacing:.025em}.font-sans[data-v-2367f596]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-2367f596]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-2367f596]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-2367f596]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-2367f596]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-2367f596]{font-size:110px}.sm\:text-3xl[data-v-2367f596]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
-
import type { PayPalMarksComponentOptions } from '@paypal/paypal-js';
|
|
3
|
-
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
|
-
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
|
-
type __VLS_Props = {
|
|
6
|
-
/**
|
|
7
|
-
* Customize the root element attributes.
|
|
8
|
-
*/
|
|
9
|
-
rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>;
|
|
10
|
-
/**
|
|
11
|
-
* Defines the trigger event to load the script.
|
|
12
|
-
*/
|
|
13
|
-
trigger?: ElementScriptTrigger;
|
|
14
|
-
/**
|
|
15
|
-
* The client id for the paypal script.
|
|
16
|
-
*/
|
|
17
|
-
clientId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The options for the paypal marks.
|
|
20
|
-
*/
|
|
21
|
-
marksOptions?: PayPalMarksComponentOptions;
|
|
22
|
-
/**
|
|
23
|
-
* The paypal script options.
|
|
24
|
-
*/
|
|
25
|
-
paypalScriptOptions?: Partial<PayPalInput>;
|
|
26
|
-
};
|
|
27
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
28
|
-
type __VLS_Slots = {} & {
|
|
29
|
-
placeholder?: (props: typeof __VLS_1) => any;
|
|
30
|
-
} & {
|
|
31
|
-
loading?: (props: typeof __VLS_3) => any;
|
|
32
|
-
} & {
|
|
33
|
-
awaitingLoad?: (props: typeof __VLS_10) => any;
|
|
34
|
-
} & {
|
|
35
|
-
error?: (props: typeof __VLS_12) => any;
|
|
36
|
-
} & {
|
|
37
|
-
default?: (props: typeof __VLS_14) => any;
|
|
38
|
-
};
|
|
39
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
40
|
-
trigger: ElementScriptTrigger;
|
|
41
|
-
clientId: string;
|
|
42
|
-
paypalScriptOptions: Partial<PayPalInput>;
|
|
43
|
-
marksOptions: PayPalMarksComponentOptions;
|
|
44
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
-
declare const _default: typeof __VLS_export;
|
|
47
|
-
export default _default;
|
|
48
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
-
new (): {
|
|
50
|
-
$slots: S;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { defu } from "defu";
|
|
3
|
-
import { computed, onBeforeUnmount, onMounted, ref, resolveComponent, shallowRef, watch } from "vue";
|
|
4
|
-
import { useScriptTriggerElement } from "../composables/useScriptTriggerElement";
|
|
5
|
-
import { useScriptPayPal } from "../registry/paypal";
|
|
6
|
-
const props = defineProps({
|
|
7
|
-
rootAttrs: { type: Object, required: false },
|
|
8
|
-
trigger: { type: [String, Array, Boolean], required: false, default: "visible" },
|
|
9
|
-
clientId: { type: String, required: false, default: "test" },
|
|
10
|
-
marksOptions: { type: Object, required: false, default: () => ({}) },
|
|
11
|
-
paypalScriptOptions: { type: Object, required: false, default: () => ({}) }
|
|
12
|
-
});
|
|
13
|
-
const el = ref(null);
|
|
14
|
-
const rootEl = ref(null);
|
|
15
|
-
const ready = ref(false);
|
|
16
|
-
const { onLoaded, status } = useScriptPayPal({
|
|
17
|
-
clientId: props.clientId,
|
|
18
|
-
...props.paypalScriptOptions
|
|
19
|
-
});
|
|
20
|
-
const marksInst = shallowRef();
|
|
21
|
-
onMounted(() => {
|
|
22
|
-
onLoaded(async ({ paypal }) => {
|
|
23
|
-
if (!el.value)
|
|
24
|
-
return;
|
|
25
|
-
marksInst.value = paypal?.Marks?.(props.marksOptions);
|
|
26
|
-
await marksInst.value?.render(el.value);
|
|
27
|
-
ready.value = true;
|
|
28
|
-
watch(() => props.marksOptions, async (_options) => {
|
|
29
|
-
if (!el.value)
|
|
30
|
-
return;
|
|
31
|
-
destroy();
|
|
32
|
-
marksInst.value = paypal?.Marks?.(_options);
|
|
33
|
-
await marksInst.value?.render(el.value);
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
function destroy() {
|
|
38
|
-
if (!el.value)
|
|
39
|
-
return;
|
|
40
|
-
el.value?.replaceChildren();
|
|
41
|
-
}
|
|
42
|
-
onBeforeUnmount(() => {
|
|
43
|
-
destroy();
|
|
44
|
-
});
|
|
45
|
-
const ScriptLoadingIndicator = resolveComponent("ScriptLoadingIndicator");
|
|
46
|
-
const trigger = useScriptTriggerElement({ trigger: props.trigger, el: rootEl });
|
|
47
|
-
const rootAttrs = computed(() => {
|
|
48
|
-
return defu(props.rootAttrs, {
|
|
49
|
-
"aria-busy": status.value === "loading",
|
|
50
|
-
"aria-label": status.value === "awaitingLoad" ? "PayPal Script Placeholder" : status.value === "loading" ? "PayPal Marks Loading" : "PayPal Marks",
|
|
51
|
-
"aria-live": "polite",
|
|
52
|
-
"role": "application",
|
|
53
|
-
...trigger instanceof Promise ? trigger.ssrAttrs || {} : {}
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
</script>
|
|
57
|
-
|
|
58
|
-
<template>
|
|
59
|
-
<div v-bind="rootAttrs" id="test">
|
|
60
|
-
<div v-show="ready" ref="el" />
|
|
61
|
-
<slot v-if="!ready" name="placeholder">
|
|
62
|
-
placeholder
|
|
63
|
-
</slot>
|
|
64
|
-
<slot v-if="status !== 'awaitingLoad' && !ready" name="loading">
|
|
65
|
-
<ScriptLoadingIndicator color="black" />
|
|
66
|
-
</slot>
|
|
67
|
-
<slot v-if="status === 'awaitingLoad'" name="awaitingLoad" />
|
|
68
|
-
<slot v-else-if="status === 'error'" name="error" />
|
|
69
|
-
<slot />
|
|
70
|
-
</div>
|
|
71
|
-
</template>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { ElementScriptTrigger } from '#nuxt-scripts/types';
|
|
2
|
-
import type { PayPalMarksComponentOptions } from '@paypal/paypal-js';
|
|
3
|
-
import type { HTMLAttributes, ReservedProps } from 'vue';
|
|
4
|
-
import type { PayPalInput } from '../registry/paypal.js';
|
|
5
|
-
type __VLS_Props = {
|
|
6
|
-
/**
|
|
7
|
-
* Customize the root element attributes.
|
|
8
|
-
*/
|
|
9
|
-
rootAttrs?: HTMLAttributes & ReservedProps & Record<string, unknown>;
|
|
10
|
-
/**
|
|
11
|
-
* Defines the trigger event to load the script.
|
|
12
|
-
*/
|
|
13
|
-
trigger?: ElementScriptTrigger;
|
|
14
|
-
/**
|
|
15
|
-
* The client id for the paypal script.
|
|
16
|
-
*/
|
|
17
|
-
clientId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The options for the paypal marks.
|
|
20
|
-
*/
|
|
21
|
-
marksOptions?: PayPalMarksComponentOptions;
|
|
22
|
-
/**
|
|
23
|
-
* The paypal script options.
|
|
24
|
-
*/
|
|
25
|
-
paypalScriptOptions?: Partial<PayPalInput>;
|
|
26
|
-
};
|
|
27
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
28
|
-
type __VLS_Slots = {} & {
|
|
29
|
-
placeholder?: (props: typeof __VLS_1) => any;
|
|
30
|
-
} & {
|
|
31
|
-
loading?: (props: typeof __VLS_3) => any;
|
|
32
|
-
} & {
|
|
33
|
-
awaitingLoad?: (props: typeof __VLS_10) => any;
|
|
34
|
-
} & {
|
|
35
|
-
error?: (props: typeof __VLS_12) => any;
|
|
36
|
-
} & {
|
|
37
|
-
default?: (props: typeof __VLS_14) => any;
|
|
38
|
-
};
|
|
39
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
40
|
-
trigger: ElementScriptTrigger;
|
|
41
|
-
clientId: string;
|
|
42
|
-
paypalScriptOptions: Partial<PayPalInput>;
|
|
43
|
-
marksOptions: PayPalMarksComponentOptions;
|
|
44
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
-
declare const _default: typeof __VLS_export;
|
|
47
|
-
export default _default;
|
|
48
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
-
new (): {
|
|
50
|
-
$slots: S;
|
|
51
|
-
};
|
|
52
|
-
};
|