nuxt-og-image 2.2.2 → 2.2.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.
Files changed (25) hide show
  1. package/dist/client/200.html +4 -4
  2. package/dist/client/404.html +4 -4
  3. package/dist/client/_nuxt/{IconCSS.d1d053b9.js → IconCSS.eb945f57.js} +1 -1
  4. package/dist/client/_nuxt/{ImageLoader.00a03ea3.js → ImageLoader.4e3865a8.js} +1 -1
  5. package/dist/client/_nuxt/builds/latest.json +1 -1
  6. package/dist/client/_nuxt/builds/meta/d5b21f15-40fc-4b14-b673-c481e1c97b94.json +1 -0
  7. package/dist/client/_nuxt/{entry.d03a462f.js → entry.3421d1a0.js} +4 -4
  8. package/dist/client/_nuxt/{error-404.ad1f3aae.js → error-404.89fe8254.js} +1 -1
  9. package/dist/client/_nuxt/{error-500.745ad9c5.js → error-500.5cd69dc7.js} +1 -1
  10. package/dist/client/_nuxt/{index.9c8984b5.js → index.c3e4ac0b.js} +1 -1
  11. package/dist/client/_nuxt/{options.db552670.js → options.3bdb3c18.js} +1 -1
  12. package/dist/client/_nuxt/{png.98e13123.js → png.ca36d04c.js} +1 -1
  13. package/dist/client/_nuxt/{shiki.806984be.js → shiki.c57f2365.js} +1 -1
  14. package/dist/client/_nuxt/{svg.a002e3e4.js → svg.f659bd92.js} +1 -1
  15. package/dist/client/_nuxt/{vnodes.4f3ec43d.js → vnodes.2b126a87.js} +1 -1
  16. package/dist/client/index.html +4 -4
  17. package/dist/client/options/index.html +4 -4
  18. package/dist/client/png/index.html +4 -4
  19. package/dist/client/svg/index.html +4 -4
  20. package/dist/client/vnodes/index.html +4 -4
  21. package/dist/module.json +1 -1
  22. package/dist/module.mjs +1 -1
  23. package/dist/runtime/composables/defineOgImage.mjs +10 -2
  24. package/package.json +1 -1
  25. package/dist/client/_nuxt/builds/meta/951f430d-b168-4ba1-8f9a-77e148e2fb60.json +0 -1
@@ -3,12 +3,12 @@
3
3
  <head><meta charset="utf-8">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  <link rel="stylesheet" href="/__nuxt_og_image__/client/_nuxt/entry.1cf2564c.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.d03a462f.js">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.3421d1a0.js">
7
7
  <link rel="prefetch" as="style" href="/__nuxt_og_image__/client/_nuxt/error-404.b751fa02.css">
8
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-404.ad1f3aae.js">
8
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-404.89fe8254.js">
9
9
  <link rel="prefetch" as="style" href="/__nuxt_og_image__/client/_nuxt/error-500.69009e70.css">
10
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-500.745ad9c5.js">
11
- <script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.d03a462f.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(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 r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
10
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-500.5cd69dc7.js">
11
+ <script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.3421d1a0.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(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 r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
12
12
  </script></head>
13
13
  <body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
14
14
  <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt_og_image__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
@@ -3,12 +3,12 @@
3
3
  <head><meta charset="utf-8">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  <link rel="stylesheet" href="/__nuxt_og_image__/client/_nuxt/entry.1cf2564c.css">
6
- <link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.d03a462f.js">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/entry.3421d1a0.js">
7
7
  <link rel="prefetch" as="style" href="/__nuxt_og_image__/client/_nuxt/error-404.b751fa02.css">
8
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-404.ad1f3aae.js">
8
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-404.89fe8254.js">
9
9
  <link rel="prefetch" as="style" href="/__nuxt_og_image__/client/_nuxt/error-500.69009e70.css">
10
- <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-500.745ad9c5.js">
11
- <script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.d03a462f.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(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 r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
10
+ <link rel="prefetch" as="script" crossorigin href="/__nuxt_og_image__/client/_nuxt/error-500.5cd69dc7.js">
11
+ <script type="module" src="/__nuxt_og_image__/client/_nuxt/entry.3421d1a0.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(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 r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
12
12
  </script></head>
13
13
  <body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
14
14
  <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt_og_image__/client",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
@@ -1 +1 @@
1
- import{g as p,H as _,I as f,n as a,o as m,c as I,s as d,_ as x}from"./entry.d03a462f.js";const S=p({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(i){_(e=>({ea3d3e0e:l.value}));const n=f(),t=i,u=a(()=>n.nuxtIcon.aliases&&n.nuxtIcon.aliases[t.name]?n.nuxtIcon.aliases[t.name].replace(/^i-/,""):t.name.replace(/^i-/,"")),l=a(()=>{var s,o;const e=(o=(s=n.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:o.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${u.value.replace(":","/")}.svg')`}),r=a(()=>{var c,s,o;if(!t.size&&typeof((c=n.nuxtIcon)==null?void 0:c.size)=="boolean"&&!((s=n.nuxtIcon)!=null&&s.size))return;const e=t.size||((o=n.nuxtIcon)==null?void 0:o.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,c)=>(m(),I("span",{style:d({width:r.value,height:r.value})},null,4))}});const v=x(S,[["__scopeId","data-v-e075cefb"]]);export{v as default};
1
+ import{g as p,H as _,I as f,n as a,o as m,c as I,s as d,_ as x}from"./entry.3421d1a0.js";const S=p({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(i){_(e=>({ea3d3e0e:l.value}));const n=f(),t=i,u=a(()=>n.nuxtIcon.aliases&&n.nuxtIcon.aliases[t.name]?n.nuxtIcon.aliases[t.name].replace(/^i-/,""):t.name.replace(/^i-/,"")),l=a(()=>{var s,o;const e=(o=(s=n.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:o.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${u.value.replace(":","/")}.svg')`}),r=a(()=>{var c,s,o;if(!t.size&&typeof((c=n.nuxtIcon)==null?void 0:c.size)=="boolean"&&!((s=n.nuxtIcon)!=null&&s.size))return;const e=t.size||((o=n.nuxtIcon)==null?void 0:o.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,c)=>(m(),I("span",{style:d({width:r.value,height:r.value})},null,4))}});const v=x(S,[["__scopeId","data-v-e075cefb"]]);export{v as default};
@@ -1 +1 @@
1
- import{g as p,r as c,k as m,l as r,n as u,q as d,o as g,c as f,s as y,_ as v}from"./entry.d03a462f.js";const x=p({__name:"ImageLoader",props:{src:String,aspectRatio:Number,description:String},setup(a){const s=a,n=c(),o=c(0);function i(e){const t=n.value,_=Date.now();t.src="",o.value=0,t.style.opacity="0",t.onload=()=>{t.style.opacity="1",o.value=Date.now()-_},t.src=e}m(()=>{r(()=>s.src,e=>{i(e)},{immediate:!0})});const l=u(()=>s.description.replace("%s",o.value.toString()));return r(l,e=>{d.value=e}),(e,t)=>(g(),f("img",{ref_key:"image",ref:n,class:"max-h-full border-1 border-light-500 rounded",style:y({aspectRatio:a.aspectRatio})},null,4))}});const S=v(x,[["__scopeId","data-v-23ec6856"]]);export{S as _};
1
+ import{g as p,r as c,k as m,l as r,n as u,q as d,o as g,c as f,s as y,_ as v}from"./entry.3421d1a0.js";const x=p({__name:"ImageLoader",props:{src:String,aspectRatio:Number,description:String},setup(a){const s=a,n=c(),o=c(0);function i(e){const t=n.value,_=Date.now();t.src="",o.value=0,t.style.opacity="0",t.onload=()=>{t.style.opacity="1",o.value=Date.now()-_},t.src=e}m(()=>{r(()=>s.src,e=>{i(e)},{immediate:!0})});const l=u(()=>s.description.replace("%s",o.value.toString()));return r(l,e=>{d.value=e}),(e,t)=>(g(),f("img",{ref_key:"image",ref:n,class:"max-h-full border-1 border-light-500 rounded",style:y({aspectRatio:a.aspectRatio})},null,4))}});const S=v(x,[["__scopeId","data-v-23ec6856"]]);export{S as _};
@@ -1 +1 @@
1
- {"id":"951f430d-b168-4ba1-8f9a-77e148e2fb60","timestamp":1698655681154}
1
+ {"id":"d5b21f15-40fc-4b14-b673-c481e1c97b94","timestamp":1698657015907}
@@ -0,0 +1 @@
1
+ {"id":"d5b21f15-40fc-4b14-b673-c481e1c97b94","timestamp":1698657015907,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}