@nuxt/scripts 0.3.1 → 0.3.3
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 +5 -5
- package/dist/client/404.html +5 -5
- package/dist/client/_nuxt/{B7d4VNNH.js → B-3dzucQ.js} +1 -1
- package/dist/client/_nuxt/{D2zRUjPH.js → CMNIl2hT.js} +3 -3
- package/dist/client/_nuxt/{BDe6zcU4.js → CmaBlQfy.js} +1 -1
- package/dist/client/_nuxt/{oLueGnAd.js → D-T6Aidr.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/8b865286-abcf-4201-a2af-ee13e4478155.json +1 -0
- package/dist/client/index.html +5 -5
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +16 -1
- package/dist/runtime/registry/facebook-pixel.d.ts +5 -1
- package/dist/runtime/registry/fathom-analytics.d.ts +28 -1
- package/dist/runtime/registry/google-analytics.d.ts +5 -1
- package/dist/runtime/registry/google-maps.d.ts +9 -1
- package/dist/runtime/registry/google-tag-manager.d.ts +5 -1
- package/dist/runtime/registry/hotjar.d.ts +7 -1
- package/dist/runtime/registry/intercom.d.ts +19 -1
- package/dist/runtime/registry/lemon-squeezy.d.ts +1 -1
- package/dist/runtime/registry/matomo-analytics.d.ts +11 -1
- package/dist/runtime/registry/npm.d.ts +11 -1
- package/dist/runtime/registry/plausible-analytics.d.ts +7 -1
- package/dist/runtime/registry/segment.d.ts +7 -1
- package/dist/runtime/registry/stripe.d.ts +5 -1
- package/dist/runtime/registry/vimeo-player.d.ts +1 -1
- package/dist/runtime/registry/x-pixel.d.ts +7 -1
- package/dist/runtime/registry/youtube-iframe.d.ts +1 -1
- package/package.json +1 -1
- package/dist/client/_nuxt/builds/meta/02cf2bf1-41db-47f3-b8a9-6ba85bdcc620.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o,u as a}from"./
|
|
1
|
+
import{_ as o,u as a}from"./D-T6Aidr.js";import{o as s,c as i,a as e,t as r,p as u,e as l}from"./CMNIl2hT.js";const c=t=>(u("data-v-478fb72d"),t=t(),l(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},b=["textContent"],g=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const n=t;return a({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(m,x)=>(s(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,b),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,g)])]))}},w=o(f,[["__scopeId","data-v-478fb72d"]]);export{w as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as u,r as c,f,g as v,h as d,j as l,k as i,l as h,m as p}from"./
|
|
1
|
+
import{i as u,r as c,f,g as v,h as d,j as l,k as i,l as h,m as p}from"./CMNIl2hT.js";function g(t,a={}){const e=a.head||u();if(e)return e.ssr?e.push(t,a):m(e,t,a)}function m(t,a,e={}){const s=c(!1),n=c({});f(()=>{n.value=s.value?{}:h(a)});const r=t.push(n.value,e);return v(n,o=>{r.patch(o)}),p()&&(d(()=>{r.dispose()}),l(()=>{s.value=!0}),i(()=>{s.value=!1})),r}const I=(t,a)=>{const e=t.__vccOpts||t;for(const[s,n]of a)e[s]=n;return e};export{I as _,g as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"8b865286-abcf-4201-a2af-ee13e4478155","timestamp":1714631612463}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"8b865286-abcf-4201-a2af-ee13e4478155","timestamp":1714631612463,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
package/dist/client/index.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__nuxt-scripts/_nuxt/entry.D91GVkD7.css">
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CMNIl2hT.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DXFkqnOI.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D6NljDpC.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CowR2XfX.js">
|
|
@@ -239,10 +239,10 @@
|
|
|
239
239
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/V_y36BGi.js">
|
|
240
240
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BGq4KZyx.js">
|
|
241
241
|
<link rel="prefetch" as="style" href="/__nuxt-scripts/_nuxt/error-404.BRldFSII.css">
|
|
242
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
243
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
242
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B-3dzucQ.js">
|
|
243
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D-T6Aidr.js">
|
|
244
244
|
<link rel="prefetch" as="style" href="/__nuxt-scripts/_nuxt/error-500.D8yw_IbC.css">
|
|
245
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
246
|
-
<script type="module" src="/__nuxt-scripts/_nuxt/
|
|
245
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CmaBlQfy.js">
|
|
246
|
+
<script type="module" src="/__nuxt-scripts/_nuxt/CMNIl2hT.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
247
247
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
248
248
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -370,7 +370,7 @@ const module = defineNuxtModule({
|
|
|
370
370
|
logger.debug("The module is disabled, skipping setup.");
|
|
371
371
|
return;
|
|
372
372
|
}
|
|
373
|
-
nuxt.options.alias["#nuxt-scripts-validator"] = resolve(`./runtime/validation/${nuxt.options.dev ? "valibot" : "mock"}`);
|
|
373
|
+
nuxt.options.alias["#nuxt-scripts-validator"] = resolve(`./runtime/validation/${nuxt.options.dev || nuxt.options._prepare ? "valibot" : "mock"}`);
|
|
374
374
|
nuxt.options.alias["#nuxt-scripts"] = resolve("./runtime/types");
|
|
375
375
|
nuxt.options.runtimeConfig["nuxt-scripts"] = { version };
|
|
376
376
|
nuxt.options.runtimeConfig.public["nuxt-scripts"] = { defaultScriptOptions: config.defaultScriptOptions };
|
|
@@ -16,7 +16,22 @@ declare global {
|
|
|
16
16
|
interface Window extends CloudflareWebAnalyticsApi {
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
export declare const CloudflareWebAnalyticsOptions:
|
|
19
|
+
export declare const CloudflareWebAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
20
|
+
/**
|
|
21
|
+
* The Cloudflare Web Analytics token.
|
|
22
|
+
*/
|
|
23
|
+
token: import("valibot").StringSchema<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Cloudflare Web Analytics enables measuring SPAs automatically by overriding the History API’s pushState function
|
|
26
|
+
* and listening to the onpopstate. Hash-based router is not supported.
|
|
27
|
+
*
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
spa: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
31
|
+
}, undefined, {
|
|
32
|
+
token: string;
|
|
33
|
+
spa?: boolean | undefined;
|
|
34
|
+
}>;
|
|
20
35
|
export type CloudflareWebAnalyticsInput = RegistryScriptInput<typeof CloudflareWebAnalyticsOptions>;
|
|
21
36
|
export declare function useScriptCloudflareWebAnalytics<T extends CloudflareWebAnalyticsApi>(_options?: CloudflareWebAnalyticsInput): T & {
|
|
22
37
|
$script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
|
|
@@ -32,7 +32,11 @@ declare global {
|
|
|
32
32
|
interface Window extends FacebookPixelApi {
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
export declare const FacebookPixelOptions:
|
|
35
|
+
export declare const FacebookPixelOptions: import("valibot").ObjectSchema<{
|
|
36
|
+
id: import("valibot").UnionSchema<(import("valibot").NumberSchema<number> | import("valibot").StringSchema<string>)[], string | number>;
|
|
37
|
+
}, undefined, {
|
|
38
|
+
id: string | number;
|
|
39
|
+
}>;
|
|
36
40
|
export type FacebookPixelInput = RegistryScriptInput<typeof FacebookPixelOptions>;
|
|
37
41
|
export declare function useScriptFacebookPixel<T extends FacebookPixelApi>(_options?: FacebookPixelInput): T & {
|
|
38
42
|
$script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const FathomAnalyticsOptions:
|
|
2
|
+
export declare const FathomAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
3
|
+
/**
|
|
4
|
+
* The Fathom Analytics site ID.
|
|
5
|
+
*/
|
|
6
|
+
site: import("valibot").StringSchema<string>;
|
|
7
|
+
/**
|
|
8
|
+
* The Fathom Analytics tracking mode.
|
|
9
|
+
*/
|
|
10
|
+
spa: import("valibot").OptionalSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"hash", "hash"> | import("valibot").LiteralSchema<"auto", "auto"> | import("valibot").LiteralSchema<"history", "history">)[], "auto" | "hash" | "history">, undefined, "auto" | "hash" | "history" | undefined>;
|
|
11
|
+
/**
|
|
12
|
+
* Automatically track page views.
|
|
13
|
+
*/
|
|
14
|
+
auto: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Enable canonical URL tracking.
|
|
17
|
+
*/
|
|
18
|
+
canonical: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Honor Do Not Track requests.
|
|
21
|
+
*/
|
|
22
|
+
honorDnt: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
23
|
+
}, undefined, {
|
|
24
|
+
site: string;
|
|
25
|
+
auto?: boolean | undefined;
|
|
26
|
+
spa?: "auto" | "hash" | "history" | undefined;
|
|
27
|
+
canonical?: boolean | undefined;
|
|
28
|
+
honorDnt?: boolean | undefined;
|
|
29
|
+
}>;
|
|
3
30
|
export type FathomAnalyticsInput = RegistryScriptInput<typeof FathomAnalyticsOptions, false>;
|
|
4
31
|
export interface FathomAnalyticsApi {
|
|
5
32
|
beacon: (ctx: {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { GoogleAnalyticsApi } from 'third-party-capital';
|
|
2
2
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
3
|
-
declare const GoogleAnalyticsOptions:
|
|
3
|
+
declare const GoogleAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
4
|
+
id: import("valibot").StringSchema<string>;
|
|
5
|
+
}, undefined, {
|
|
6
|
+
id: string;
|
|
7
|
+
}>;
|
|
4
8
|
export type GoogleAnalyticsInput = RegistryScriptInput<typeof GoogleAnalyticsOptions>;
|
|
5
9
|
declare global {
|
|
6
10
|
interface Window extends GoogleAnalyticsApi {
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const GoogleMapsOptions:
|
|
2
|
+
export declare const GoogleMapsOptions: import("valibot").ObjectSchema<{
|
|
3
|
+
apiKey: import("valibot").StringSchema<string>;
|
|
4
|
+
libraries: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>, undefined, string[] | undefined>;
|
|
5
|
+
v: import("valibot").OptionalSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"weekly", "weekly"> | import("valibot").LiteralSchema<"beta", "beta"> | import("valibot").LiteralSchema<"alpha", "alpha">)[], "weekly" | "beta" | "alpha">, undefined, "weekly" | "beta" | "alpha" | undefined>;
|
|
6
|
+
}, undefined, {
|
|
7
|
+
apiKey: string;
|
|
8
|
+
libraries?: string[] | undefined;
|
|
9
|
+
v?: "weekly" | "beta" | "alpha" | undefined;
|
|
10
|
+
}>;
|
|
3
11
|
export type GoogleMapsInput = RegistryScriptInput<typeof GoogleMapsOptions>;
|
|
4
12
|
declare namespace google.maps {
|
|
5
13
|
/**
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { GoogleTagManagerApi } from 'third-party-capital';
|
|
2
2
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
3
|
-
declare const GoogleTagManagerOptions:
|
|
3
|
+
declare const GoogleTagManagerOptions: import("valibot").ObjectSchema<{
|
|
4
|
+
id: import("valibot").StringSchema<string>;
|
|
5
|
+
}, undefined, {
|
|
6
|
+
id: string;
|
|
7
|
+
}>;
|
|
4
8
|
export type GoogleTagManagerInput = RegistryScriptInput<typeof GoogleTagManagerOptions>;
|
|
5
9
|
declare global {
|
|
6
10
|
interface Window extends GoogleTagManagerApi {
|
|
@@ -12,7 +12,13 @@ declare global {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export declare const HotjarOptions:
|
|
15
|
+
export declare const HotjarOptions: import("valibot").ObjectSchema<{
|
|
16
|
+
id: import("valibot").NumberSchema<number>;
|
|
17
|
+
sv: import("valibot").OptionalSchema<import("valibot").NumberSchema<number>, undefined, number | undefined>;
|
|
18
|
+
}, undefined, {
|
|
19
|
+
id: number;
|
|
20
|
+
sv?: number | undefined;
|
|
21
|
+
}>;
|
|
16
22
|
export type HotjarInput = RegistryScriptInput<typeof HotjarOptions>;
|
|
17
23
|
export declare function useScriptHotjar<T extends HotjarApi>(_options?: HotjarInput): T & {
|
|
18
24
|
$script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { type Input } from '#nuxt-scripts-validator';
|
|
2
2
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
3
|
-
export declare const IntercomOptions:
|
|
3
|
+
export declare const IntercomOptions: import("valibot").ObjectSchema<{
|
|
4
|
+
app_id: import("valibot").StringSchema<string>;
|
|
5
|
+
api_base: import("valibot").OptionalSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"https://api-iam.intercom.io", "https://api-iam.intercom.io"> | import("valibot").LiteralSchema<"https://api-iam.eu.intercom.io", "https://api-iam.eu.intercom.io"> | import("valibot").LiteralSchema<"https://api-iam.au.intercom.io", "https://api-iam.au.intercom.io">)[], "https://api-iam.intercom.io" | "https://api-iam.eu.intercom.io" | "https://api-iam.au.intercom.io">, undefined, "https://api-iam.intercom.io" | "https://api-iam.eu.intercom.io" | "https://api-iam.au.intercom.io" | undefined>;
|
|
6
|
+
name: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
7
|
+
email: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
8
|
+
user_id: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
9
|
+
alignment: import("valibot").OptionalSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"left", "left"> | import("valibot").LiteralSchema<"right", "right">)[], "left" | "right">, undefined, "left" | "right" | undefined>;
|
|
10
|
+
horizontal_padding: import("valibot").OptionalSchema<import("valibot").NumberSchema<number>, undefined, number | undefined>;
|
|
11
|
+
vertical_padding: import("valibot").OptionalSchema<import("valibot").NumberSchema<number>, undefined, number | undefined>;
|
|
12
|
+
}, undefined, {
|
|
13
|
+
app_id: string;
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
api_base?: "https://api-iam.intercom.io" | "https://api-iam.eu.intercom.io" | "https://api-iam.au.intercom.io" | undefined;
|
|
16
|
+
email?: string | undefined;
|
|
17
|
+
user_id?: string | undefined;
|
|
18
|
+
alignment?: "left" | "right" | undefined;
|
|
19
|
+
horizontal_padding?: number | undefined;
|
|
20
|
+
vertical_padding?: number | undefined;
|
|
21
|
+
}>;
|
|
4
22
|
export type IntercomInput = RegistryScriptInput<typeof IntercomOptions>;
|
|
5
23
|
export interface IntercomApi {
|
|
6
24
|
Intercom: ((event: 'boot', data?: Input<typeof IntercomOptions>) => void) & ((event: 'shutdown') => void) & ((event: 'update', options?: Input<typeof IntercomOptions>) => void) & ((event: 'hide') => void) & ((event: 'show') => void) & ((event: 'showSpace', spaceName: 'home' | 'messages' | 'help' | 'news' | 'tasks' | 'tickets' | string) => void) & ((event: 'showMessages') => void) & ((event: 'showNewMessage', content?: string) => void) & ((event: 'onHide', fn: () => void) => void) & ((event: 'onShow', fn: () => void) => void) & ((event: 'onUnreadCountChange', fn: () => void) => void) & ((event: 'trackEvent', eventName: string, metadata?: Record<string, any>) => void) & ((event: 'getVisitorId') => Promise<string>) & ((event: 'startTour', tourId: string | number) => void) & ((event: 'showArticle', articleId: string | number) => void) & ((event: 'showNews', newsItemId: string | number) => void) & ((event: 'startSurvey', surveyId: string | number) => void) & ((event: 'startChecklist', checklistId: string | number) => void) & ((event: 'showTicket', ticketId: string | number) => void) & ((event: 'showConversation', conversationId: string | number) => void) & ((event: 'onUserEmailSupplied', fn: () => void) => void) & ((event: string, ...params: any[]) => void);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const LemonSqueezyOptions:
|
|
2
|
+
export declare const LemonSqueezyOptions: import("valibot").ObjectSchema<{}, undefined, {}>;
|
|
3
3
|
export type LemonSqueezyInput = RegistryScriptInput<typeof LemonSqueezyOptions>;
|
|
4
4
|
export interface LemonSqueezyApi {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const MatomoAnalyticsOptions:
|
|
2
|
+
export declare const MatomoAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
3
|
+
matomoUrl: import("valibot").StringSchema<string>;
|
|
4
|
+
siteId: import("valibot").StringSchema<string>;
|
|
5
|
+
trackPageView: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
6
|
+
enableLinkTracking: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
7
|
+
}, undefined, {
|
|
8
|
+
matomoUrl: string;
|
|
9
|
+
siteId: string;
|
|
10
|
+
trackPageView?: boolean | undefined;
|
|
11
|
+
enableLinkTracking?: boolean | undefined;
|
|
12
|
+
}>;
|
|
3
13
|
export type MatomoAnalyticsInput = RegistryScriptInput<typeof MatomoAnalyticsOptions, false>;
|
|
4
14
|
interface MatomoAnalyticsApi {
|
|
5
15
|
_paq: unknown[];
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const NpmOptions:
|
|
2
|
+
export declare const NpmOptions: import("valibot").ObjectSchema<{
|
|
3
|
+
packageName: import("valibot").StringSchema<string>;
|
|
4
|
+
file: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
5
|
+
version: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
6
|
+
type: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
7
|
+
}, undefined, {
|
|
8
|
+
packageName: string;
|
|
9
|
+
type?: string | undefined;
|
|
10
|
+
file?: string | undefined;
|
|
11
|
+
version?: string | undefined;
|
|
12
|
+
}>;
|
|
3
13
|
export type NpmInput = RegistryScriptInput<typeof NpmOptions>;
|
|
4
14
|
export declare function useScriptNpm<T extends Record<string | symbol, any>>(_options: NpmInput): T & {
|
|
5
15
|
$script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const PlausibleAnalyticsOptions:
|
|
2
|
+
export declare const PlausibleAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
3
|
+
domain: import("valibot").StringSchema<string>;
|
|
4
|
+
extension: import("valibot").OptionalSchema<import("valibot").UnionSchema<(import("valibot").UnionSchema<(import("valibot").LiteralSchema<"hash", "hash"> | import("valibot").LiteralSchema<"outbound-links", "outbound-links"> | import("valibot").LiteralSchema<"file-downloads", "file-downloads"> | import("valibot").LiteralSchema<"tagged-events", "tagged-events"> | import("valibot").LiteralSchema<"revenue", "revenue"> | import("valibot").LiteralSchema<"pageview-props", "pageview-props"> | import("valibot").LiteralSchema<"compat", "compat"> | import("valibot").LiteralSchema<"local", "local"> | import("valibot").LiteralSchema<"manual", "manual">)[], "manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local"> | import("valibot").ArraySchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"hash", "hash"> | import("valibot").LiteralSchema<"outbound-links", "outbound-links"> | import("valibot").LiteralSchema<"file-downloads", "file-downloads"> | import("valibot").LiteralSchema<"tagged-events", "tagged-events"> | import("valibot").LiteralSchema<"revenue", "revenue"> | import("valibot").LiteralSchema<"pageview-props", "pageview-props"> | import("valibot").LiteralSchema<"compat", "compat"> | import("valibot").LiteralSchema<"local", "local"> | import("valibot").LiteralSchema<"manual", "manual">)[], "manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local">, ("manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local")[]>)[], "manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local" | ("manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local")[]>, undefined, "manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local" | ("manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local")[] | undefined>;
|
|
5
|
+
}, undefined, {
|
|
6
|
+
domain: string;
|
|
7
|
+
extension?: "manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local" | ("manual" | "hash" | "outbound-links" | "file-downloads" | "tagged-events" | "revenue" | "pageview-props" | "compat" | "local")[] | undefined;
|
|
8
|
+
}>;
|
|
3
9
|
export type PlausibleAnalyticsInput = RegistryScriptInput<typeof PlausibleAnalyticsOptions, false>;
|
|
4
10
|
export interface PlausibleAnalyticsApi {
|
|
5
11
|
plausible: ((event: '404', options: Record<string, any>) => void) & ((event: 'event', options: Record<string, any>) => void) & ((...params: any[]) => void) & {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
2
|
-
export declare const SegmentOptions:
|
|
2
|
+
export declare const SegmentOptions: import("valibot").ObjectSchema<{
|
|
3
|
+
writeKey: import("valibot").StringSchema<string>;
|
|
4
|
+
analyticsKey: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
5
|
+
}, undefined, {
|
|
6
|
+
writeKey: string;
|
|
7
|
+
analyticsKey?: string | undefined;
|
|
8
|
+
}>;
|
|
3
9
|
export type SegmentInput = RegistryScriptInput<typeof SegmentOptions>;
|
|
4
10
|
export interface SegmentApi {
|
|
5
11
|
analytics: {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/// <reference types="stripe-v3" />
|
|
2
2
|
import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
3
|
-
export declare const StripeOptions:
|
|
3
|
+
export declare const StripeOptions: import("valibot").ObjectSchema<{
|
|
4
|
+
advancedFraudSignals: import("valibot").OptionalSchema<import("valibot").BooleanSchema<boolean>, undefined, boolean | undefined>;
|
|
5
|
+
}, undefined, {
|
|
6
|
+
advancedFraudSignals?: boolean | undefined;
|
|
7
|
+
}>;
|
|
4
8
|
export type StripeInput = RegistryScriptInput<typeof StripeOptions, false>;
|
|
5
9
|
export interface StripeApi {
|
|
6
10
|
Stripe: stripe.StripeStatic;
|
|
@@ -3,7 +3,7 @@ import type { RegistryScriptInput } from '#nuxt-scripts';
|
|
|
3
3
|
export interface VimeoPlayerApi {
|
|
4
4
|
Player: VimeoPlayer;
|
|
5
5
|
}
|
|
6
|
-
export declare const VimeoPlayerOptions:
|
|
6
|
+
export declare const VimeoPlayerOptions: import("valibot").ObjectSchema<{}, undefined, {}>;
|
|
7
7
|
export type VimeoPlayerInput = RegistryScriptInput<typeof VimeoPlayerOptions>;
|
|
8
8
|
declare global {
|
|
9
9
|
interface Window {
|
|
@@ -27,7 +27,13 @@ declare global {
|
|
|
27
27
|
interface Window extends XPixelApi {
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
export declare const XPixelOptions:
|
|
30
|
+
export declare const XPixelOptions: import("valibot").ObjectSchema<{
|
|
31
|
+
id: import("valibot").StringSchema<string>;
|
|
32
|
+
version: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
|
|
33
|
+
}, undefined, {
|
|
34
|
+
id: string;
|
|
35
|
+
version?: string | undefined;
|
|
36
|
+
}>;
|
|
31
37
|
export type XPixelInput = RegistryScriptInput<typeof XPixelOptions>;
|
|
32
38
|
export declare function useScriptXPixel<T extends XPixelApi>(_options?: XPixelInput): T & {
|
|
33
39
|
$script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
|
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
onYouTubeIframeAPIReady: () => void;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const YouTubeIframeOptions:
|
|
11
|
+
export declare const YouTubeIframeOptions: import("valibot").ObjectSchema<{}, undefined, {}>;
|
|
12
12
|
export type YouTubeIFrameInput = RegistryScriptInput<typeof YouTubeIframeOptions>;
|
|
13
13
|
export declare function useScriptYouTubeIframe<T extends YouTubeIframeApi>(_options: YouTubeIFrameInput): T & {
|
|
14
14
|
$script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"02cf2bf1-41db-47f3-b8a9-6ba85bdcc620","timestamp":1714630406165,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|