@nuxt/scripts 0.12.0 → 0.12.1

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.
@@ -1 +1 @@
1
- import{_ as s,c as a,o as i,a as t,t as n,b as u,w as c,d as l,e as d}from"#entry";import{u as f}from"./n57rOy2v.js";const p={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},m={class:"max-w-520px text-center"},h=["textContent"],g=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const r=e;return f({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--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 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(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: }'}]}),(k,w)=>{const o=d;return i(),a("div",p,[t("div",m,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:n(e.statusCode)},null,8,h),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:n(e.statusMessage)},null,8,g),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:n(e.description)},null,8,b),t("div",x,[u(o,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:c(()=>[l(n(e.backHome),1)]),_:1})])])])}}},v=s(y,[["__scopeId","data-v-08d54398"]]);export{v as default};
1
+ import{_ as s,c as a,o as i,a as t,t as n,b as u,w as c,d as l,e as d}from"#entry";import{u as f}from"./n57rOy2v.js";const p={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},m={class:"max-w-520px text-center"},h=["textContent"],g=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const r=e;return f({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--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 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(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: }'}]}),(k,w)=>{const o=d;return i(),a("div",p,[t("div",m,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:n(e.statusCode)},null,8,h),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:n(e.statusMessage)},null,8,g),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:n(e.description)},null,8,b),t("div",x,[u(o,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:c(()=>[l(n(e.backHome),1)]),_:1})])])])}}},v=s(y,[["__scopeId","data-v-f5e4c931"]]);export{v as default};
@@ -1 +1 @@
1
- import{_ as o,c as s,o as a,a as t,t as r}from"#entry";import{u as i}from"./n57rOy2v.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},l={class:"max-w-520px text-center"},c=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--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 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(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: }'}]}),(g,h)=>(a(),s("div",u,[t("div",l,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.statusCode)},null,8,c),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusMessage)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},x=o(f,[["__scopeId","data-v-be14525b"]]);export{x as default};
1
+ import{_ as o,c as s,o as a,a as t,t as r}from"#entry";import{u as i}from"./n57rOy2v.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},l={class:"max-w-520px text-center"},c=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--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 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(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: }'}]}),(g,h)=>(a(),s("div",u,[t("div",l,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.statusCode)},null,8,c),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusMessage)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},x=o(f,[["__scopeId","data-v-8f129e28"]]);export{x as default};
@@ -1 +1 @@
1
- {"id":"639547f1-5b38-4078-9f06-0e97166e98d5","timestamp":1758712313800}
1
+ {"id":"ab2a05b7-9c93-484e-ae04-bd1f39e5f3c1","timestamp":1758773948101}
@@ -0,0 +1 @@
1
+ {"id":"ab2a05b7-9c93-484e-ae04-bd1f39e5f3c1","timestamp":1758773948101,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -0,0 +1 @@
1
+ .grid[data-v-f5e4c931]{display:grid}.mb-2[data-v-f5e4c931]{margin-bottom:.5rem}.mb-4[data-v-f5e4c931]{margin-bottom:1rem}.max-w-520px[data-v-f5e4c931]{max-width:520px}.min-h-screen[data-v-f5e4c931]{min-height:100vh}.w-full[data-v-f5e4c931]{width:100%}.flex[data-v-f5e4c931]{display:flex}.place-content-center[data-v-f5e4c931]{place-content:center}.items-center[data-v-f5e4c931]{align-items:center}.justify-center[data-v-f5e4c931]{justify-content:center}.overflow-hidden[data-v-f5e4c931]{overflow:hidden}.bg-white[data-v-f5e4c931]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-f5e4c931]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-f5e4c931]{text-align:center}.text-\[80px\][data-v-f5e4c931]{font-size:80px}.text-2xl[data-v-f5e4c931]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-f5e4c931]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-f5e4c931]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-f5e4c931]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-f5e4c931]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-f5e4c931]{font-weight:500}.font-semibold[data-v-f5e4c931]{font-weight:600}.leading-none[data-v-f5e4c931]{line-height:1}.tracking-wide[data-v-f5e4c931]{letter-spacing:.025em}.font-sans[data-v-f5e4c931]{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-f5e4c931]{--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-f5e4c931]{text-decoration-line:underline}.underline-offset-3[data-v-f5e4c931]{text-underline-offset:3px}.antialiased[data-v-f5e4c931]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-f5e4c931]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-f5e4c931]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:text-\[110px\][data-v-f5e4c931]{font-size:110px}.sm\:text-3xl[data-v-f5e4c931]{font-size:1.875rem;line-height:2.25rem}}
@@ -0,0 +1 @@
1
+ .grid[data-v-8f129e28]{display:grid}.mb-2[data-v-8f129e28]{margin-bottom:.5rem}.mb-4[data-v-8f129e28]{margin-bottom:1rem}.max-w-520px[data-v-8f129e28]{max-width:520px}.min-h-screen[data-v-8f129e28]{min-height:100vh}.place-content-center[data-v-8f129e28]{place-content:center}.overflow-hidden[data-v-8f129e28]{overflow:hidden}.bg-white[data-v-8f129e28]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-8f129e28]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-8f129e28]{text-align:center}.text-\[80px\][data-v-8f129e28]{font-size:80px}.text-2xl[data-v-8f129e28]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-8f129e28]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-8f129e28]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-8f129e28]{font-weight:600}.leading-none[data-v-8f129e28]{line-height:1}.tracking-wide[data-v-8f129e28]{letter-spacing:.025em}.font-sans[data-v-8f129e28]{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-8f129e28]{--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-8f129e28]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-8f129e28]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-8f129e28]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:text-\[110px\][data-v-8f129e28]{font-size:110px}.sm\:text-3xl[data-v-8f129e28]{font-size:1.875rem;line-height:2.25rem}}
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-scripts/_nuxt/C0XnD8hU.js"}}</script><link rel="stylesheet" href="/__nuxt-scripts/_nuxt/entry.Bb8Z00UZ.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C0XnD8hU.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CVO1_9PV.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D0r3Knsf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Cp-IABpG.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DlfHMoPT.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-404.CImBk2QF.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DnkQskw_.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/n57rOy2v.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-500.BDZhF_NY.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DDcnVyjk.js"><script type="module" src="/__nuxt-scripts/_nuxt/C0XnD8hU.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1758712318551,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{version:"",defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"639547f1-5b38-4078-9f06-0e97166e98d5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-scripts/_nuxt/B1l158TM.js"}}</script><link rel="stylesheet" href="/__nuxt-scripts/_nuxt/entry.Bb8Z00UZ.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B1l158TM.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CVO1_9PV.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D0r3Knsf.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Cp-IABpG.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DlfHMoPT.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-404.pWWosX5v.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CEpyMuZa.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/n57rOy2v.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-scripts/_nuxt/error-500.DHpVpAn4.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DyLGGY9L.js"><script type="module" src="/__nuxt-scripts/_nuxt/B1l158TM.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1758773952673,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{version:"",defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildId:"ab2a05b7-9c93-484e-ae04-bd1f39e5f3c1",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.16"
6
6
  },
7
- "version": "0.12.0",
7
+ "version": "0.12.1",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -551,8 +551,6 @@ function templatePlugin(config, registry) {
551
551
  config.globals = Object.fromEntries(config.globals.map((i) => [hash(i), i]));
552
552
  logger.warn("The `globals` array option is deprecated, please convert to an object.");
553
553
  }
554
- const nuxt = tryUseNuxt() || { options: { buildDir: import.meta.dirname } };
555
- const buildDir = nuxt.options.buildDir;
556
554
  const imports = [];
557
555
  const inits = [];
558
556
  let needsIdleTimeoutImport = false;
@@ -560,7 +558,7 @@ function templatePlugin(config, registry) {
560
558
  for (const [k, c] of Object.entries(config.registry || {})) {
561
559
  const importDefinition = registry.find((i) => i.import.name === `useScript${k.substring(0, 1).toUpperCase() + k.substring(1)}`);
562
560
  if (importDefinition) {
563
- imports.unshift(`import { ${importDefinition.import.name} } from '${relative(buildDir, importDefinition.import.from)}'`);
561
+ imports.unshift(`import { ${importDefinition.import.name} } from '${importDefinition.import.from}'`);
564
562
  const args = (typeof c !== "object" ? {} : c) || {};
565
563
  if (c === "mock") {
566
564
  args.scriptOptions = { trigger: "manual", skipValidation: true };
@@ -47,7 +47,8 @@ whenever(() => mapContext?.map.value && mapContext.mapsApi.value, () => {
47
47
  marker.value = new mapContext.mapsApi.value.Marker(props.options);
48
48
  setupMarkerEventListeners(marker.value);
49
49
  if (markerClustererContext?.markerClusterer.value) {
50
- markerClustererContext.markerClusterer.value.addMarker(marker.value);
50
+ markerClustererContext.markerClusterer.value.addMarker(marker.value, true);
51
+ markerClustererContext.requestRerender();
51
52
  } else {
52
53
  marker.value.setMap(mapContext.map.value);
53
54
  }
@@ -67,7 +68,7 @@ onUnmounted(() => {
67
68
  mapContext.mapsApi.value.event.clearInstanceListeners(marker.value);
68
69
  if (markerClustererContext?.markerClusterer.value) {
69
70
  markerClustererContext.markerClusterer.value.removeMarker(marker.value, true);
70
- markerClustererContext.reportMarkerRemoval();
71
+ markerClustererContext.requestRerender();
71
72
  } else {
72
73
  marker.value.setMap(null);
73
74
  }
@@ -2,7 +2,7 @@ import { MarkerClusterer, type MarkerClustererOptions } from '@googlemaps/marker
2
2
  import { type InjectionKey, type ShallowRef } from 'vue';
3
3
  export declare const MARKER_CLUSTERER_INJECTION_KEY: InjectionKey<{
4
4
  markerClusterer: ShallowRef<MarkerClusterer | undefined>;
5
- reportMarkerRemoval: () => void;
5
+ requestRerender: () => void;
6
6
  }>;
7
7
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
8
8
  options?: Omit<MarkerClustererOptions, "map">;
@@ -4,7 +4,7 @@
4
4
 
5
5
  <script>
6
6
  import { MarkerClusterer } from "@googlemaps/markerclusterer";
7
- import { inject, onUnmounted, provide, ref, shallowRef } from "vue";
7
+ import { inject, onUnmounted, provide, shallowRef } from "vue";
8
8
  import { whenever } from "@vueuse/core";
9
9
  import { MAP_INJECTION_KEY } from "./ScriptGoogleMaps.vue";
10
10
  export const MARKER_CLUSTERER_INJECTION_KEY = Symbol("marker-clusterer");
@@ -32,8 +32,8 @@ whenever(() => mapContext?.map.value, (map) => {
32
32
  immediate: true,
33
33
  once: true
34
34
  });
35
- const markerClustererNeedsRerender = ref(false);
36
- function reportMarkerRemoval() {
35
+ const markerClustererNeedsRerender = shallowRef(false);
36
+ function requestRerender() {
37
37
  markerClustererNeedsRerender.value = true;
38
38
  }
39
39
  whenever(() => markerClustererNeedsRerender.value && markerClusterer.value, () => {
@@ -47,7 +47,13 @@ onUnmounted(() => {
47
47
  mapContext.mapsApi.value.event.clearInstanceListeners(markerClusterer.value);
48
48
  markerClusterer.value.setMap(null);
49
49
  });
50
- provide(MARKER_CLUSTERER_INJECTION_KEY, { markerClusterer, reportMarkerRemoval });
50
+ provide(
51
+ MARKER_CLUSTERER_INJECTION_KEY,
52
+ {
53
+ markerClusterer,
54
+ requestRerender
55
+ }
56
+ );
51
57
  function setupMarkerClustererEventListeners(markerClusterer2) {
52
58
  markerClustererEvents.forEach((event) => {
53
59
  markerClusterer2.addListener(event, () => emit(event, markerClusterer2));
@@ -2,7 +2,7 @@ import { MarkerClusterer, type MarkerClustererOptions } from '@googlemaps/marker
2
2
  import { type InjectionKey, type ShallowRef } from 'vue';
3
3
  export declare const MARKER_CLUSTERER_INJECTION_KEY: InjectionKey<{
4
4
  markerClusterer: ShallowRef<MarkerClusterer | undefined>;
5
- reportMarkerRemoval: () => void;
5
+ requestRerender: () => void;
6
6
  }>;
7
7
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
8
8
  options?: Omit<MarkerClustererOptions, "map">;
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.1",
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",
@@ -119,10 +119,10 @@
119
119
  "shiki": "^3.13.0",
120
120
  "typescript": "5.9.2",
121
121
  "vitest": "^3.2.4",
122
- "vue": "^3.5.21",
122
+ "vue": "^3.5.22",
123
123
  "vue-router": "^4.5.1",
124
124
  "vue-tsc": "^3.0.8",
125
- "@nuxt/scripts": "0.12.0"
125
+ "@nuxt/scripts": "0.12.1"
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}}