@nuxt/scripts 0.12.0 → 0.12.2

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.
Files changed (68) hide show
  1. package/dist/client/200.html +1 -1
  2. package/dist/client/404.html +1 -1
  3. package/dist/client/_nuxt/{DDcnVyjk.js → C09X5LNe.js} +1 -1
  4. package/dist/client/_nuxt/{DnkQskw_.js → CDuymAca.js} +1 -1
  5. package/dist/client/_nuxt/{C0XnD8hU.js → CGGF_5bm.js} +23 -23
  6. package/dist/client/_nuxt/Z5EPizOU.js +1 -0
  7. package/dist/client/_nuxt/builds/latest.json +1 -1
  8. package/dist/client/_nuxt/builds/meta/e404bf6c-6cc5-4a5a-bd29-546b71b82a4b.json +1 -0
  9. package/dist/client/_nuxt/error-404.c-5_FvQE.css +1 -0
  10. package/dist/client/_nuxt/error-500.Dgf4btmt.css +1 -0
  11. package/dist/client/index.html +1 -1
  12. package/dist/module.json +1 -1
  13. package/dist/module.mjs +4 -4
  14. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +2 -1
  15. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +2 -1
  16. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.d.vue.ts +2 -1
  17. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue.d.ts +2 -1
  18. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +2 -1
  19. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +2 -1
  20. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.d.vue.ts +3 -2
  21. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue.d.ts +3 -2
  22. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +2 -1
  23. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +3 -2
  24. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +2 -1
  25. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +3 -2
  26. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +10 -4
  27. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +3 -2
  28. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +2 -1
  29. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +2 -1
  30. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.d.vue.ts +2 -1
  31. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue.d.ts +2 -1
  32. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.d.vue.ts +2 -1
  33. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue.d.ts +2 -1
  34. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.d.vue.ts +2 -1
  35. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue.d.ts +2 -1
  36. package/dist/runtime/components/ScriptAriaLoadingIndicator.d.vue.ts +2 -1
  37. package/dist/runtime/components/ScriptAriaLoadingIndicator.vue.d.ts +2 -1
  38. package/dist/runtime/components/ScriptCarbonAds.d.vue.ts +3 -2
  39. package/dist/runtime/components/ScriptCarbonAds.vue.d.ts +3 -2
  40. package/dist/runtime/components/ScriptCrisp.d.vue.ts +3 -2
  41. package/dist/runtime/components/ScriptCrisp.vue.d.ts +3 -2
  42. package/dist/runtime/components/ScriptGoogleAdsense.d.vue.ts +3 -2
  43. package/dist/runtime/components/ScriptGoogleAdsense.vue.d.ts +3 -2
  44. package/dist/runtime/components/ScriptIntercom.d.vue.ts +3 -2
  45. package/dist/runtime/components/ScriptIntercom.vue.d.ts +3 -2
  46. package/dist/runtime/components/ScriptLemonSqueezy.d.vue.ts +3 -2
  47. package/dist/runtime/components/ScriptLemonSqueezy.vue.d.ts +3 -2
  48. package/dist/runtime/components/ScriptLoadingIndicator.d.vue.ts +2 -1
  49. package/dist/runtime/components/ScriptLoadingIndicator.vue.d.ts +2 -1
  50. package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +4 -3
  51. package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +4 -3
  52. package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +3 -2
  53. package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +3 -2
  54. package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +3 -2
  55. package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +3 -2
  56. package/dist/runtime/components/ScriptStripePricingTable.d.vue.ts +3 -2
  57. package/dist/runtime/components/ScriptStripePricingTable.vue.d.ts +3 -2
  58. package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +3 -2
  59. package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +3 -2
  60. package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +3 -2
  61. package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +3 -2
  62. package/dist/runtime/registry/google-tag-manager.js +1 -0
  63. package/dist/runtime/types.d.ts +2 -0
  64. package/package.json +13 -13
  65. package/dist/client/_nuxt/builds/meta/639547f1-5b38-4078-9f06-0e97166e98d5.json +0 -1
  66. package/dist/client/_nuxt/error-404.CImBk2QF.css +0 -1
  67. package/dist/client/_nuxt/error-500.BDZhF_NY.css +0 -1
  68. package/dist/client/_nuxt/n57rOy2v.js +0 -1
@@ -25,7 +25,7 @@ type __VLS_Slots = {} & {
25
25
  } & {
26
26
  error?: (props: typeof __VLS_7) => any;
27
27
  };
28
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
28
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
29
29
  intercom: import("#nuxt-scripts/types").UseScriptContext<import("../registry/intercom.js").IntercomApi>;
30
30
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
31
  error: () => any;
@@ -36,7 +36,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
36
36
  }>, {
37
37
  trigger: ElementScriptTrigger;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
40
+ declare const _default: typeof __VLS_export;
40
41
  export default _default;
41
42
  type __VLS_WithSlots<T, S> = T & {
42
43
  new (): {
@@ -6,7 +6,7 @@ declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  ready: (args_0: import("../types.js").UseScriptContext<import("../registry/lemon-squeezy.js").LemonSqueezyApi>) => any;
11
11
  lemonSqueezyEvent: (args_0: never) => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -15,7 +15,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
15
15
  }>, {
16
16
  trigger: ElementScriptTrigger;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -6,7 +6,7 @@ declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  ready: (args_0: import("../types.js").UseScriptContext<import("../registry/lemon-squeezy.js").LemonSqueezyApi>) => any;
11
11
  lemonSqueezyEvent: (args_0: never) => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -15,7 +15,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
15
15
  }>, {
16
16
  trigger: ElementScriptTrigger;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -2,8 +2,9 @@ type __VLS_Props = {
2
2
  color?: string;
3
3
  size?: number;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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
6
  size: number;
7
7
  color: string;
8
8
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
@@ -2,8 +2,9 @@ type __VLS_Props = {
2
2
  color?: string;
3
3
  size?: number;
4
4
  };
5
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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
6
  size: number;
7
7
  color: string;
8
8
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
@@ -40,7 +40,7 @@ type __VLS_Slots = {} & {
40
40
  } & {
41
41
  default?: (props: typeof __VLS_14) => any;
42
42
  };
43
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
44
  error: (error: Record<string, unknown>) => any;
45
45
  init: (data: Record<string, unknown>, actions: OnInitActions) => any;
46
46
  cancel: (data: Record<string, unknown>, actions: OnCancelledActions) => any;
@@ -58,12 +58,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
58
58
  onShippingAddressChange?: ((data: OnShippingAddressChangeData, actions: OnShippingAddressChangeActions) => any) | undefined;
59
59
  }>, {
60
60
  trigger: ElementScriptTrigger;
61
+ disabled: boolean;
61
62
  clientId: string;
62
63
  buttonOptions: PayPalButtonsComponentOptions;
63
64
  paypalScriptOptions: Partial<PayPalInput>;
64
- disabled: boolean;
65
65
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
66
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
66
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
67
+ declare const _default: typeof __VLS_export;
67
68
  export default _default;
68
69
  type __VLS_WithSlots<T, S> = T & {
69
70
  new (): {
@@ -40,7 +40,7 @@ type __VLS_Slots = {} & {
40
40
  } & {
41
41
  default?: (props: typeof __VLS_14) => any;
42
42
  };
43
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
44
  error: (error: Record<string, unknown>) => any;
45
45
  init: (data: Record<string, unknown>, actions: OnInitActions) => any;
46
46
  cancel: (data: Record<string, unknown>, actions: OnCancelledActions) => any;
@@ -58,12 +58,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
58
58
  onShippingAddressChange?: ((data: OnShippingAddressChangeData, actions: OnShippingAddressChangeActions) => any) | undefined;
59
59
  }>, {
60
60
  trigger: ElementScriptTrigger;
61
+ disabled: boolean;
61
62
  clientId: string;
62
63
  buttonOptions: PayPalButtonsComponentOptions;
63
64
  paypalScriptOptions: Partial<PayPalInput>;
64
- disabled: boolean;
65
65
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
66
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
66
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
67
+ declare const _default: typeof __VLS_export;
67
68
  export default _default;
68
69
  type __VLS_WithSlots<T, S> = T & {
69
70
  new (): {
@@ -36,13 +36,14 @@ type __VLS_Slots = {} & {
36
36
  } & {
37
37
  default?: (props: typeof __VLS_14) => any;
38
38
  };
39
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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
40
  trigger: ElementScriptTrigger;
41
41
  clientId: string;
42
42
  paypalScriptOptions: Partial<PayPalInput>;
43
43
  marksOptions: PayPalMarksComponentOptions;
44
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
45
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
+ declare const _default: typeof __VLS_export;
46
47
  export default _default;
47
48
  type __VLS_WithSlots<T, S> = T & {
48
49
  new (): {
@@ -36,13 +36,14 @@ type __VLS_Slots = {} & {
36
36
  } & {
37
37
  default?: (props: typeof __VLS_14) => any;
38
38
  };
39
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
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
40
  trigger: ElementScriptTrigger;
41
41
  clientId: string;
42
42
  paypalScriptOptions: Partial<PayPalInput>;
43
43
  marksOptions: PayPalMarksComponentOptions;
44
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
45
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
+ declare const _default: typeof __VLS_export;
46
47
  export default _default;
47
48
  type __VLS_WithSlots<T, S> = T & {
48
49
  new (): {
@@ -44,7 +44,7 @@ type __VLS_Slots = {} & {
44
44
  } & {
45
45
  default?: (props: typeof __VLS_14) => any;
46
46
  };
47
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
48
  render: (data: Record<string, unknown>) => any;
49
49
  apply: (data: Record<string, unknown>) => any;
50
50
  clickMessages: (data: Record<string, unknown>) => any;
@@ -58,7 +58,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
58
58
  paypalScriptOptions: Partial<PayPalInput>;
59
59
  messagesOptions: PayPalMessagesComponentOptions;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
61
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
62
+ declare const _default: typeof __VLS_export;
62
63
  export default _default;
63
64
  type __VLS_WithSlots<T, S> = T & {
64
65
  new (): {
@@ -44,7 +44,7 @@ type __VLS_Slots = {} & {
44
44
  } & {
45
45
  default?: (props: typeof __VLS_14) => any;
46
46
  };
47
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
48
  render: (data: Record<string, unknown>) => any;
49
49
  apply: (data: Record<string, unknown>) => any;
50
50
  clickMessages: (data: Record<string, unknown>) => any;
@@ -58,7 +58,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
58
58
  paypalScriptOptions: Partial<PayPalInput>;
59
59
  messagesOptions: PayPalMessagesComponentOptions;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
61
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
62
+ declare const _default: typeof __VLS_export;
62
63
  export default _default;
63
64
  type __VLS_WithSlots<T, S> = T & {
64
65
  new (): {
@@ -17,7 +17,7 @@ type __VLS_Slots = {} & {
17
17
  } & {
18
18
  default?: (props: typeof __VLS_7) => any;
19
19
  };
20
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  error: () => any;
22
22
  ready: (args_0: import("../types.js").UseScriptContext<Record<string | symbol, any>>) => any;
23
23
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -26,7 +26,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
26
26
  }>, {
27
27
  trigger: ElementScriptTrigger;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
30
31
  export default _default;
31
32
  type __VLS_WithSlots<T, S> = T & {
32
33
  new (): {
@@ -17,7 +17,7 @@ type __VLS_Slots = {} & {
17
17
  } & {
18
18
  default?: (props: typeof __VLS_7) => any;
19
19
  };
20
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  error: () => any;
22
22
  ready: (args_0: import("../types.js").UseScriptContext<Record<string | symbol, any>>) => any;
23
23
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -26,7 +26,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
26
26
  }>, {
27
27
  trigger: ElementScriptTrigger;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
30
31
  export default _default;
31
32
  type __VLS_WithSlots<T, S> = T & {
32
33
  new (): {
@@ -49,7 +49,7 @@ type __VLS_Slots = {} & {
49
49
  } & {
50
50
  default?: (props: typeof __VLS_13) => any;
51
51
  };
52
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
52
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
53
53
  play: () => Promise<void> | undefined;
54
54
  pause: () => Promise<void> | undefined;
55
55
  getDuration: () => Promise<number> | undefined;
@@ -118,7 +118,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
118
118
  }>, {
119
119
  trigger: ElementScriptTrigger;
120
120
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
121
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
121
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
122
+ declare const _default: typeof __VLS_export;
122
123
  export default _default;
123
124
  type __VLS_WithSlots<T, S> = T & {
124
125
  new (): {
@@ -49,7 +49,7 @@ type __VLS_Slots = {} & {
49
49
  } & {
50
50
  default?: (props: typeof __VLS_13) => any;
51
51
  };
52
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
52
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
53
53
  play: () => Promise<void> | undefined;
54
54
  pause: () => Promise<void> | undefined;
55
55
  getDuration: () => Promise<number> | undefined;
@@ -118,7 +118,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
118
118
  }>, {
119
119
  trigger: ElementScriptTrigger;
120
120
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
121
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
121
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
122
+ declare const _default: typeof __VLS_export;
122
123
  export default _default;
123
124
  type __VLS_WithSlots<T, S> = T & {
124
125
  new (): {
@@ -34,7 +34,7 @@ type __VLS_Slots = {} & {
34
34
  } & {
35
35
  default?: (props: typeof __VLS_13) => any;
36
36
  };
37
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
37
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
38
38
  player: Ref<YT.Player | undefined, YT.Player | undefined>;
39
39
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
40
  error: (e: YT.OnErrorEvent, target: YT.Player) => any;
@@ -57,7 +57,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
57
57
  thumbnailSize: YoutubeThumbnailSize;
58
58
  webp: boolean;
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
60
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
61
+ declare const _default: typeof __VLS_export;
61
62
  export default _default;
62
63
  type __VLS_WithSlots<T, S> = T & {
63
64
  new (): {
@@ -34,7 +34,7 @@ type __VLS_Slots = {} & {
34
34
  } & {
35
35
  default?: (props: typeof __VLS_13) => any;
36
36
  };
37
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
37
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
38
38
  player: Ref<YT.Player | undefined, YT.Player | undefined>;
39
39
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
40
  error: (e: YT.OnErrorEvent, target: YT.Player) => any;
@@ -57,7 +57,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
57
57
  thumbnailSize: YoutubeThumbnailSize;
58
58
  webp: boolean;
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
60
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
61
+ declare const _default: typeof __VLS_export;
61
62
  export default _default;
62
63
  type __VLS_WithSlots<T, S> = T & {
63
64
  new (): {
@@ -57,6 +57,7 @@ export function useScriptGoogleTagManager(options) {
57
57
  function gtag() {
58
58
  window[dataLayerName].push(arguments);
59
59
  }
60
+ window.gtag = gtag;
60
61
  options?.onBeforeGtmStart?.(gtag);
61
62
  window[dataLayerName].push({
62
63
  "gtm.start": (/* @__PURE__ */ new Date()).getTime(),
@@ -5,6 +5,7 @@ import type { InferInput, ObjectSchema, ValiError } from 'valibot';
5
5
  import type { Import } from 'unimport';
6
6
  import type { SegmentInput } from './registry/segment.js';
7
7
  import type { CloudflareWebAnalyticsInput } from './registry/cloudflare-web-analytics.js';
8
+ import type { DatabuddyAnalyticsInput } from './registry/databuddy-analytics.js';
8
9
  import type { MetaPixelInput } from './registry/meta-pixel.js';
9
10
  import type { FathomAnalyticsInput } from './registry/fathom-analytics.js';
10
11
  import type { HotjarInput } from './registry/hotjar.js';
@@ -127,6 +128,7 @@ export interface ScriptRegistry {
127
128
  crisp?: CrispInput;
128
129
  clarity?: ClarityInput;
129
130
  cloudflareWebAnalytics?: CloudflareWebAnalyticsInput;
131
+ databuddyAnalytics?: DatabuddyAnalyticsInput;
130
132
  metaPixel?: MetaPixelInput;
131
133
  fathomAnalytics?: FathomAnalyticsInput;
132
134
  plausibleAnalytics?: PlausibleAnalyticsInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/scripts",
3
3
  "type": "module",
4
- "version": "0.12.0",
4
+ "version": "0.12.2",
5
5
  "description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
6
6
  "author": {
7
7
  "website": "https://harlanzw.com",
@@ -80,7 +80,7 @@
80
80
  }
81
81
  },
82
82
  "dependencies": {
83
- "@nuxt/kit": "^4.1.2",
83
+ "@nuxt/kit": "^4.1.3",
84
84
  "@vueuse/core": "^13.9.0",
85
85
  "consola": "^3.4.2",
86
86
  "defu": "^6.1.4",
@@ -103,26 +103,26 @@
103
103
  "@nuxt/eslint-config": "^1.9.0",
104
104
  "@nuxt/module-builder": "^1.0.2",
105
105
  "@nuxt/test-utils": "3.19.2",
106
- "@paypal/paypal-js": "^8.4.2",
106
+ "@paypal/paypal-js": "^9.0.1",
107
107
  "@types/semver": "^7.7.1",
108
- "@typescript-eslint/typescript-estree": "^8.44.1",
108
+ "@typescript-eslint/typescript-estree": "^8.46.0",
109
109
  "@vue/test-utils": "^2.4.6",
110
110
  "acorn-loose": "^8.5.2",
111
- "bumpp": "^10.2.3",
111
+ "bumpp": "^10.3.1",
112
112
  "changelogen": "^0.6.2",
113
- "eslint": "^9.36.0",
113
+ "eslint": "^9.37.0",
114
114
  "eslint-plugin-n": "^17.23.1",
115
- "happy-dom": "^18.0.1",
115
+ "happy-dom": "^20.0.0",
116
116
  "knitwork": "^1.2.0",
117
- "nuxt": "^4.1.2",
118
- "playwright-core": "^1.55.1",
117
+ "nuxt": "^4.1.3",
118
+ "playwright-core": "^1.56.0",
119
119
  "shiki": "^3.13.0",
120
- "typescript": "5.9.2",
120
+ "typescript": "5.9.3",
121
121
  "vitest": "^3.2.4",
122
- "vue": "^3.5.21",
122
+ "vue": "^3.5.22",
123
123
  "vue-router": "^4.5.1",
124
- "vue-tsc": "^3.0.8",
125
- "@nuxt/scripts": "0.12.0"
124
+ "vue-tsc": "^3.0.9",
125
+ "@nuxt/scripts": "0.12.2"
126
126
  },
127
127
  "resolutions": {
128
128
  "@nuxt/scripts": "workspace:*"
@@ -1 +0,0 @@
1
- {"id":"639547f1-5b38-4078-9f06-0e97166e98d5","timestamp":1758712313800,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -1 +0,0 @@
1
- .grid[data-v-08d54398]{display:grid}.mb-2[data-v-08d54398]{margin-bottom:.5rem}.mb-4[data-v-08d54398]{margin-bottom:1rem}.max-w-520px[data-v-08d54398]{max-width:520px}.min-h-screen[data-v-08d54398]{min-height:100vh}.w-full[data-v-08d54398]{width:100%}.flex[data-v-08d54398]{display:flex}.place-content-center[data-v-08d54398]{place-content:center}.items-center[data-v-08d54398]{align-items:center}.justify-center[data-v-08d54398]{justify-content:center}.overflow-hidden[data-v-08d54398]{overflow:hidden}.bg-white[data-v-08d54398]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-08d54398]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-08d54398]{text-align:center}.text-\[80px\][data-v-08d54398]{font-size:80px}.text-2xl[data-v-08d54398]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-08d54398]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-08d54398]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-08d54398]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-08d54398]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-08d54398]{font-weight:500}.font-semibold[data-v-08d54398]{font-weight:600}.leading-none[data-v-08d54398]{line-height:1}.tracking-wide[data-v-08d54398]{letter-spacing:.025em}.font-sans[data-v-08d54398]{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-08d54398]{--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-08d54398]{text-decoration-line:underline}.underline-offset-3[data-v-08d54398]{text-underline-offset:3px}.antialiased[data-v-08d54398]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-08d54398]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-08d54398]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:text-\[110px\][data-v-08d54398]{font-size:110px}.sm\:text-3xl[data-v-08d54398]{font-size:1.875rem;line-height:2.25rem}}
@@ -1 +0,0 @@
1
- .grid[data-v-be14525b]{display:grid}.mb-2[data-v-be14525b]{margin-bottom:.5rem}.mb-4[data-v-be14525b]{margin-bottom:1rem}.max-w-520px[data-v-be14525b]{max-width:520px}.min-h-screen[data-v-be14525b]{min-height:100vh}.place-content-center[data-v-be14525b]{place-content:center}.overflow-hidden[data-v-be14525b]{overflow:hidden}.bg-white[data-v-be14525b]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-be14525b]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-be14525b]{text-align:center}.text-\[80px\][data-v-be14525b]{font-size:80px}.text-2xl[data-v-be14525b]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-be14525b]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-be14525b]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-be14525b]{font-weight:600}.leading-none[data-v-be14525b]{line-height:1}.tracking-wide[data-v-be14525b]{letter-spacing:.025em}.font-sans[data-v-be14525b]{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-be14525b]{--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-be14525b]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-be14525b]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-be14525b]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:text-\[110px\][data-v-be14525b]{font-size:110px}.sm\:text-3xl[data-v-be14525b]{font-size:1.875rem;line-height:2.25rem}}
@@ -1 +0,0 @@
1
- import{u as a,f as s,h as u,i as r,g as o}from"#entry";function i(e){const n=e||s();return n.ssrContext?.head||n.runWithContext(()=>{if(u()){const t=r(o);if(!t)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return t}})}function c(e,n={}){const t=i(n.nuxt);return a(e,{head:t,...n})}export{c as u};