@highstate/designer 0.17.0 → 0.19.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.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{6EZimURw.js → 9hmcqHPO.js} +1 -1
- package/.output/public/_nuxt/{CimE6O20.js → BLsOQd1H.js} +21 -21
- package/.output/public/_nuxt/{CtwNW5xN.js → C4zpeTvm.js} +1 -1
- package/.output/public/_nuxt/{DqRHBxBn.js → CEYFgC8B.js} +1 -1
- package/.output/public/_nuxt/{DFsBSlE_.js → DTAwr92a.js} +1 -1
- package/.output/public/_nuxt/{54_UD3a3.js → N3RVRbLb.js} +1 -1
- package/.output/public/_nuxt/SytC7lKg.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/033f259e-8ba9-4c82-8824-56febea80b7d.json +1 -0
- package/.output/public/_nuxt/{ih8zLb53.js → dwrHE3tM.js} +1 -1
- package/.output/public/_nuxt/{entry.BAsn-2au.css → entry.dxugZJXl.css} +1 -1
- package/.output/public/_nuxt/error-404.CttAF9VE.css +1 -0
- package/.output/public/_nuxt/error-500.DXXd6-x4.css +1 -0
- package/.output/public/_nuxt/{graph-resolver-Cs66Hj63.js → graph-resolver-eG1ZUsYn.js} +1 -1
- package/.output/server/index.mjs +582 -582
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/package.json +4 -4
- package/.output/public/_nuxt/XrMy4kkt.js +0 -1
- package/.output/public/_nuxt/builds/meta/5447597b-48ec-41ad-8928-729a28784f20.json +0 -1
- package/.output/public/_nuxt/error-404.h4BWQQPs.css +0 -1
- package/.output/public/_nuxt/error-500.B72O9eXJ.css +0 -1
package/.output/nitro.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as R,o as B,r as z,c as E,p as O,a as N,b as T,h as P,j as I,n as H,w as U,d as M,_ as V,e as D}from"#entry";import{E as $,B as F,r as W,u as L,I as G,q as K,G as q,ah as A,g as p,y as Q,au as X,K as J,W as Y,$ as C,a3 as S,X as Z,a1 as ee,a2 as te}from"./Dm4QKadl.js";import"./CmALWFRB.js";import"./D1Jbgd7O.js";const ne=(...t)=>t.find(o=>o!==void 0);function re(t){const o=t.componentName||"NuxtLink";function f(e){return typeof e=="string"&&e.startsWith("#")}function k(e,s,d){const r=d??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return _(e,r);const i="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:_(i,r)}}function w(e){const s=R(),d=Q(),r=p(()=>!!e.target&&e.target!=="_self"),i=p(()=>{const l=e.to||e.href||"";return typeof l=="string"&&P(l,{acceptRelative:!0})}),b=A("RouterLink"),v=b&&typeof b!="string"?b.useLink:void 0,c=p(()=>{if(e.external)return!0;const l=e.to||e.href||"";return typeof l=="object"?!1:l===""||i.value}),a=p(()=>{const l=e.to||e.href||"";return c.value?l:k(l,s.resolve,e.trailingSlash)}),g=c.value?void 0:v?.({...e,to:a}),m=p(()=>{const l=e.trailingSlash??t.trailingSlash;if(!a.value||i.value||f(a.value))return a.value;if(c.value){const y=typeof a.value=="object"&&"path"in a.value?N(a.value):a.value,x=typeof y=="object"?s.resolve(y).href:y;return _(x,l)}return typeof a.value=="object"?s.resolve(a.value)?.href??null:_(I(d.app.baseURL,a.value),l)});return{to:a,hasTarget:r,isAbsoluteUrl:i,isExternal:c,href:m,isActive:g?.isActive??p(()=>a.value===s.currentRoute.value.path),isExactActive:g?.isExactActive??p(()=>a.value===s.currentRoute.value.path),route:g?.route??p(()=>s.resolve(a.value)),async navigate(l){await H(m.value,{replace:e.replace,external:c.value||r.value})}}}return $({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:w,setup(e,{slots:s}){const d=R(),{to:r,href:i,navigate:b,isExternal:v,hasTarget:c,isAbsoluteUrl:a}=w(e),g=F(!1),m=W(null),l=u=>{m.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function y(u){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function x(u=L()){if(g.value)return;g.value=!0;const h=typeof r.value=="string"?r.value:v.value?N(r.value):d.resolve(r.value).fullPath,n=v.value?new URL(h,window.location.href).href:h;await Promise.all([u.hooks.callHook("link:prefetch",n).catch(()=>{}),!v.value&&!c.value&&T(r.value,d).catch(()=>{})])}if(y("visibility")){const u=L();let h,n=null;G(()=>{const j=ie();B(()=>{h=z(()=>{m?.value?.tagName&&(n=j.observe(m.value,async()=>{n?.(),n=null,await x(u)}))})})}),K(()=>{h&&E(h),n?.(),n=null})}return()=>{if(!v.value&&!c.value&&!f(r.value)){const n={ref:l,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y("interaction")&&(n.onPointerenter=x.bind(null,void 0),n.onFocus=x.bind(null,void 0)),g.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),q(A("RouterLink"),n,s.default)}const u=e.target||null,h=ne(e.noRel?"":e.rel,t.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:i.value,navigate:b,prefetch:x,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return O(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:h,target:u,isExternal:v.value||c.value,isActive:!1,isExactActive:!1}):null:q("a",{ref:m,href:i.value||null,rel:h,target:u,onClick:n=>{if(!(v.value||c.value))return n.preventDefault(),e.replace?d.replace(i.value):d.push(i.value)}},s.default?.())}}})}const ae=re(X);function _(t,o){const f=o==="append"?U:M;return P(t)&&!t.startsWith("http")?t:f(t,!0)}function ie(){const t=L();if(t._observer)return t._observer;let o=null;const f=new Map,k=(e,s)=>(o||=new IntersectionObserver(d=>{for(const r of d){const i=f.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&i&&i()}}),f.set(e,s),o.observe(e),()=>{f.delete(e),o?.unobserve(e),f.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:k}}const oe=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||oe.test(t.effectiveType)))}const le={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"},ue={class:"max-w-520px text-center"},ce=["textContent"],fe=["textContent"],de=["textContent"],he={class:"flex items-center justify-center w-full"},ve={__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(t){const o=t;return D({title:`${o.statusCode} - ${o.statusMessage} | ${o.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: }'}]}),(f,k)=>{const w=ae;return Y(),J("div",le,[C("div",ue,[C("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:S(t.statusCode)},null,8,ce),C("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:S(t.statusMessage)},null,8,fe),C("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:S(t.description)},null,8,de),C("div",he,[Z(w,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:ee(()=>[te(S(t.backHome),1)]),_:1})])])])}}},ye=V(ve,[["__scopeId","data-v-
|
|
1
|
+
import{u as R,o as B,r as z,c as E,p as O,a as N,b as T,h as P,j as I,n as H,w as U,d as M,_ as V,e as D}from"#entry";import{E as $,B as F,r as W,u as L,I as G,q as K,G as q,ah as A,g as p,y as Q,au as X,K as J,W as Y,$ as C,a3 as S,X as Z,a1 as ee,a2 as te}from"./Dm4QKadl.js";import"./CmALWFRB.js";import"./D1Jbgd7O.js";const ne=(...t)=>t.find(o=>o!==void 0);function re(t){const o=t.componentName||"NuxtLink";function f(e){return typeof e=="string"&&e.startsWith("#")}function k(e,s,d){const r=d??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return _(e,r);const i="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:_(i,r)}}function w(e){const s=R(),d=Q(),r=p(()=>!!e.target&&e.target!=="_self"),i=p(()=>{const l=e.to||e.href||"";return typeof l=="string"&&P(l,{acceptRelative:!0})}),b=A("RouterLink"),v=b&&typeof b!="string"?b.useLink:void 0,c=p(()=>{if(e.external)return!0;const l=e.to||e.href||"";return typeof l=="object"?!1:l===""||i.value}),a=p(()=>{const l=e.to||e.href||"";return c.value?l:k(l,s.resolve,e.trailingSlash)}),g=c.value?void 0:v?.({...e,to:a}),m=p(()=>{const l=e.trailingSlash??t.trailingSlash;if(!a.value||i.value||f(a.value))return a.value;if(c.value){const y=typeof a.value=="object"&&"path"in a.value?N(a.value):a.value,x=typeof y=="object"?s.resolve(y).href:y;return _(x,l)}return typeof a.value=="object"?s.resolve(a.value)?.href??null:_(I(d.app.baseURL,a.value),l)});return{to:a,hasTarget:r,isAbsoluteUrl:i,isExternal:c,href:m,isActive:g?.isActive??p(()=>a.value===s.currentRoute.value.path),isExactActive:g?.isExactActive??p(()=>a.value===s.currentRoute.value.path),route:g?.route??p(()=>s.resolve(a.value)),async navigate(l){await H(m.value,{replace:e.replace,external:c.value||r.value})}}}return $({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:w,setup(e,{slots:s}){const d=R(),{to:r,href:i,navigate:b,isExternal:v,hasTarget:c,isAbsoluteUrl:a}=w(e),g=F(!1),m=W(null),l=u=>{m.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function y(u){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function x(u=L()){if(g.value)return;g.value=!0;const h=typeof r.value=="string"?r.value:v.value?N(r.value):d.resolve(r.value).fullPath,n=v.value?new URL(h,window.location.href).href:h;await Promise.all([u.hooks.callHook("link:prefetch",n).catch(()=>{}),!v.value&&!c.value&&T(r.value,d).catch(()=>{})])}if(y("visibility")){const u=L();let h,n=null;G(()=>{const j=ie();B(()=>{h=z(()=>{m?.value?.tagName&&(n=j.observe(m.value,async()=>{n?.(),n=null,await x(u)}))})})}),K(()=>{h&&E(h),n?.(),n=null})}return()=>{if(!v.value&&!c.value&&!f(r.value)){const n={ref:l,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y("interaction")&&(n.onPointerenter=x.bind(null,void 0),n.onFocus=x.bind(null,void 0)),g.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),q(A("RouterLink"),n,s.default)}const u=e.target||null,h=ne(e.noRel?"":e.rel,t.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:i.value,navigate:b,prefetch:x,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return O(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:h,target:u,isExternal:v.value||c.value,isActive:!1,isExactActive:!1}):null:q("a",{ref:m,href:i.value||null,rel:h,target:u,onClick:n=>{if(!(v.value||c.value))return n.preventDefault(),e.replace?d.replace(i.value):d.push(i.value)}},s.default?.())}}})}const ae=re(X);function _(t,o){const f=o==="append"?U:M;return P(t)&&!t.startsWith("http")?t:f(t,!0)}function ie(){const t=L();if(t._observer)return t._observer;let o=null;const f=new Map,k=(e,s)=>(o||=new IntersectionObserver(d=>{for(const r of d){const i=f.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&i&&i()}}),f.set(e,s),o.observe(e),()=>{f.delete(e),o?.unobserve(e),f.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:k}}const oe=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||oe.test(t.effectiveType)))}const le={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"},ue={class:"max-w-520px text-center"},ce=["textContent"],fe=["textContent"],de=["textContent"],he={class:"flex items-center justify-center w-full"},ve={__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(t){const o=t;return D({title:`${o.statusCode} - ${o.statusMessage} | ${o.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: }'}]}),(f,k)=>{const w=ae;return Y(),J("div",le,[C("div",ue,[C("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:S(t.statusCode)},null,8,ce),C("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:S(t.statusMessage)},null,8,fe),C("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:S(t.description)},null,8,de),C("div",he,[Z(w,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:ee(()=>[te(S(t.backHome),1)]),_:1})])])])}}},ye=V(ve,[["__scopeId","data-v-a9becec7"]]);export{ye as default};
|