@everymatrix/lottery-program-wof 1.76.1 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{LotteryProgramWof-B6db-_2q.js → LotteryProgramWof-BONPZQgy.js} +2088 -2102
- package/components/{LotteryProgramWof-CzPLrCCt.js → LotteryProgramWof-BdYPGLGT.js} +2162 -2176
- package/components/LotteryProgramWof-DN7e4orJ.cjs +48 -0
- package/es2015/lottery-program-wof.cjs +1 -1
- package/es2015/lottery-program-wof.js +1 -1
- package/esnext/lottery-program-wof.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-BtPvM93e.js → index-b2193545-BbCeNxUG.js} +176 -176
- package/stencil/{index-b2193545-D_KBbaD-.js → index-b2193545-C9PH-6qK.js} +169 -169
- package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
- package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-BKDs0-7H.js} +2 -2
- package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-CJbkvgG7.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
- package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
- package/components/LotteryProgramWof-_LDDdiTc.cjs +0 -48
- package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((r,s)=>{var a=i=>{try{o(n.next(i))}catch(c){s(c)}},l=i=>{try{o(n.throw(i))}catch(c){s(c)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((n=n.apply(e,t)).next())});const fe="ui-skeleton",ue={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!1,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!1,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!1,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1,watchCallback:!0};var de=Object.defineProperty,me=(e,t)=>{for(var n in t)de(e,n,{get:t[n],enumerable:!0})},I=new WeakMap,b=e=>I.get(e),he=(e,t)=>I.set(t.$lazyInstance$=e,t),pe=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],I.set(e,n)},w=(e,t)=>(0,console.error)(e,t),_=new Map,ve=(e,t,n)=>{const r=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$;if(!s)return;const a=_.get(s);if(a)return a[r];{const l=o=>(_.set(s,o),o[r]);switch(s){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-bhljBTS7.cjs")).then(l,w)}}return import(`./${s}.entry.js`).then(l=>(_.set(s,l),l[r]),w)},P=new Map,ge="{visibility:hidden}.hydrated{visibility:inherit}",G="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},J=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,z=[],K=[],Se=(e,t)=>n=>{e.push(n),j||(j=!0,p.$flags$&4?D(N):p.raf(N))},F=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},N=()=>{F(z),F(K),(j=z.length>0)&&p.raf(N)},D=e=>J().then(e),be=Se(K),q={},R=e=>(e=typeof e,e==="object"||e==="function");function X(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>Z,map:()=>we,ok:()=>C,unwrap:()=>Ee,unwrapErr:()=>xe});var C=e=>({isOk:!0,isErr:!1,value:e}),Z=e=>({isOk:!1,isErr:!0,value:e});function we(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(r=>C(r)):C(n)}if(e.isErr){const n=e.value;return Z(n)}throw"should never get here"}var Ee=e=>{if(e.isOk)return e.value;throw e.value},xe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Te=(e,t)=>()=>{},V=(e,t,...n)=>{let r=null,s=null,a=!1,l=!1;const o=[],i=$=>{for(let f=0;f<$.length;f++)r=$[f],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!R(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?U(null,r):r),l=a)};if(i(n),t){t.key&&(s=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=U(e,null);return c.$attrs$=t,o.length>0&&(c.$children$=o),c.$key$=s,c},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ee={},Le=e=>e&&e.$tag$===ee,Pe=(e,t)=>e!=null&&!R(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ae=(e,t,n)=>{const r=p.ce(t,n);return e.dispatchEvent(r),r},W=new WeakMap,Oe=(e,t,n)=>{let r=P.get(e);ye&&n?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,P.set(e,r)},_e=(e,t,n)=>{var r;const s=te(t),a=P.get(s);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=W.get(e),o;if(l||W.set(e,l=new Set),!l.has(s)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=p.$nonce$)!=null?r:X(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=G),l&&l.add(s)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return s},je=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=S("attachStyles",t.$tagName$);_e(n.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,M=(e,t,n,r,s,a)=>{if(n!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Q(n),i=Q(r);l.remove(...o.filter(c=>c&&!i.includes(c))),l.add(...i.filter(c=>c&&!o.includes(c)))}},Ne=/\s/,Q=e=>e?e.split(Ne):[],se=(e,t,n)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,s=e&&e.$attrs$||q,a=t.$attrs$||q;for(const l of Y(Object.keys(s)))l in a||M(r,l,s[l],void 0);for(const l of Y(Object.keys(a)))M(r,l,s[l],a[l])};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ne,A=(e,t,n,r)=>{const s=t.$children$[n];let a=0,l,o;if(s.$text$!==null)l=s.$elm$=y.createTextNode(s.$text$);else if(l=s.$elm$=y.createElement(s.$tag$),se(null,s),s.$children$)for(a=0;a<s.$children$.length;++a)o=A(e,s,a),o&&l.appendChild(o);return l["s-hn"]=ne,l},re=(e,t,n,r,s,a)=>{let l=e,o;for(;s<=a;++s)r[s]&&(o=A(null,n,s),o&&(r[s].$elm$=o,L(l,o,t)))},le=(e,t,n)=>{for(let r=t;r<=n;++r){const s=e[r];if(s){const a=s.$elm$;a&&a.remove()}}},Ce=(e,t,n,r,s=!1)=>{let a=0,l=0,o=0,i=0,c=t.length-1,$=t[0],f=t[c],u=r.length-1,d=r[0],m=r[u],h,v;for(;a<=c&&l<=u;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(d==null)d=r[++l];else if(m==null)m=r[--u];else if(T($,d,s))k($,d,s),$=t[++a],d=r[++l];else if(T(f,m,s))k(f,m,s),f=t[--c],m=r[--u];else if(T($,m,s))k($,m,s),L(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],m=r[--u];else if(T(f,d,s))k(f,d,s),L(e,f.$elm$,$.$elm$),f=t[--c],d=r[++l];else{for(o=-1,i=a;i<=c;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(v=t[o],v.$tag$!==d.$tag$?h=A(t&&t[l],n,o):(k(v,d,s),t[o]=void 0,h=v.$elm$),d=r[++l]):(h=A(t&&t[l],n,l),d=r[++l]),h&&L($.$elm$.parentNode,h,$.$elm$)}a>c?re(e,r[u+1]==null?null:r[u+1].$elm$,n,r,l,u):l>u&&le(t,a,c)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,k=(e,t,n=!1)=>{const r=t.$elm$=e.$elm$,s=e.$children$,a=t.$children$,l=t.$text$;l===null?(se(e,t),s!==null&&a!==null?Ce(r,s,t,a,n):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):s!==null&&le(s,0,s.length-1)):e.$text$!==l&&(r.data=l)},L=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ue=(e,t,n=!1)=>{const r=e.$hostElement$,s=e.$vnode$||U(null,null),a=Le(t)?t:V(null,null,t);if(ne=r.tagName,n&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=s.$elm$=r,k(s,a,n)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ie(e,t))},Ie=(e,t)=>{const n=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),s=e.$lazyInstance$;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>He(e,s,t))},Be=(e,t)=>De(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),De=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",He=(e,t,n)=>x(exports,null,function*(){var r;const s=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=s["s-rc"];n&&je(e);const o=S("render",e.$cmpMeta$.$tagName$);ze(e,t,s,n),l&&(l.map(i=>i()),s["s-rc"]=void 0),o(),a();{const i=(r=s["s-p"])!=null?r:[],c=()=>Fe(e);i.length===0?c():(Promise.all(i).then(c),e.$flags$|=4,i.length=0)}}),ze=(e,t,n,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ue(e,t,r)}catch(s){w(s,e.$hostElement$)}return null},Fe=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=S("postUpdate",t),s=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(n),r(),e.$onReadyResolve$(n),s||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>H(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),D(()=>Ae(B,"appload",{detail:{namespace:fe}}))},oe=e=>{var t;return e.classList.add((t=ue.hydratedSelectorName)!=null?t:"hydrated")},qe=(e,t)=>b(e).$instanceValues$.get(t),We=(e,t,n,r)=>{const s=b(e);if(!s)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=s.$hostElement$,l=s.$instanceValues$.get(t),o=s.$flags$,i=s.$lazyInstance$;n=Pe(n,r.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(o&8)||l===void 0)&&$&&(s.$instanceValues$.set(t,n),i)){if(r.$watchers$&&o&128){const f=r.$watchers$[t];f&&f.map(u=>{try{i[u](n,l,t)}catch(d){w(d,a)}})}(o&18)===2&&H(s,!1)}},ce=(e,t,n)=>{var r,s;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||n&2&&i&32)&&Object.defineProperty(a,o,{get(){return qe(this,o)},set(c){We(this,o,c,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;a.attributeChangedCallback=function(i,c,$){p.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))$=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&$!==c){const h=d.$lazyInstance$,v=(f=t.$watchers$)==null?void 0:f[i];v==null||v.forEach(g=>{h[g]!=null&&h[g].call(h,$,c,i)})}return}}this[u]=$===null&&typeof this[u]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.$watchers$)!=null?s:{}),...l.filter(([i,c])=>c[0]&15).map(([i,c])=>{const $=c[1]||i;return o.set($,i),$})]))}}return e},Me=(e,t,n,r)=>x(exports,null,function*(){let s;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const i=ve(n);if(i&&"then"in i){const $=Te();s=yield i,$()}else s=i;if(!s)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);s.isProxied||(n.$watchers$=s.watchers,ce(s,n,2),s.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new s(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,c()}else{s=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(s&&s.style){let i;typeof s.style=="string"&&(i=s.style);const c=te(n);if(!P.has(c)){const $=S("registerStyles",n.$tagName$);Oe(c,i,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>H(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Qe=e=>{},Ye=e=>{if(!(p.$flags$&1)){const t=b(e),n=t.$cmpMeta$,r=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Qe());else{t.$flags$|=1;{let s=e;for(;s=s.parentNode||s.host;)if(s["s-p"]){ae(t,t.$ancestorComponent$=s);break}}n.$members$&&Object.entries(n.$members$).map(([s,[a]])=>{if(a&31&&e.hasOwnProperty(s)){const l=e[s];delete e[s],e[s]=l}}),Me(e,t,n)}r()}},Ge=e=>{},Je=e=>x(exports,null,function*(){if(!(p.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ge())}}),Ke=(e,t={})=>{var n;const r=S(),s=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),c=y.createElement("style"),$=[];let f,u=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(h=>{var v;const g={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};g.$flags$&4&&(d=!0),g.$members$=h[2],g.$watchers$=(v=h[4])!=null?v:{};const E=g.$tagName$,$e=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,pe(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?$.push(this):p.jmp(()=>Ye(this))}disconnectedCallback(){p.jmp(()=>Je(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=m[0],!a.includes(E)&&!l.get(E)&&(s.push(E),l.define(E,ce($e,g,1)))})}),s.length>0&&(d&&(c.textContent+=G),c.textContent+=s.sort()+ge,c.innerHTML.length)){c.setAttribute("data-styles","");const m=(n=p.$nonce$)!=null?n:X(y);m!=null&&c.setAttribute("nonce",m),o.insertBefore(c,i?i.nextSibling:o.firstChild)}u=!1,$.length?$.map(m=>m.connectedCallback()):p.jmp(()=>f=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Ke;exports.h=V;exports.promiseResolve=J;exports.registerInstance=he;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as e, p as o } from "./index-b2193545-
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-C9PH-6qK.js";
|
|
2
2
|
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
-
import { U as g } from "./ui-skeleton-ae35c6f2-
|
|
3
|
+
import { U as g } from "./ui-skeleton-ae35c6f2-ZB0isFAq.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, t = {};
|
|
6
6
|
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
@@ -14,9 +14,9 @@ var n = (t, e, o) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
|
|
15
15
|
a((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as p, p as l } from "./index-b2193545-
|
|
17
|
+
import { b as p, p as l } from "./index-b2193545-BbCeNxUG.js";
|
|
18
18
|
import { g as h } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
-
import { U as k } from "./ui-skeleton-ae35c6f2-
|
|
19
|
+
import { U as k } from "./ui-skeleton-ae35c6f2-gun6WX2F.js";
|
|
20
20
|
var c = () => {
|
|
21
21
|
const t = import.meta.url, e = {};
|
|
22
22
|
return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-
|
|
1
|
+
"use strict";const t=require("./index-b2193545-D-u-gzj3.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
2
|
:host {
|
|
3
3
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as t, H as n } from "./index-b2193545-
|
|
1
|
+
import { r, h as t, H as n } from "./index-b2193545-C9PH-6qK.js";
|
|
2
2
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.stylingValue = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as t, H as n } from "./index-b2193545-
|
|
1
|
+
import { r, h as t, H as n } from "./index-b2193545-BbCeNxUG.js";
|
|
2
2
|
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.stylingValue = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-
|
|
1
|
+
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-D-u-gzj3.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-ae35c6f2-CXlvqczG.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-bhljBTS7.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),c.promiseResolve(r)};f().then(t=>u(exports,null,function*(){return yield p.globalScripts(),c.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));exports.ui_skeleton=g.UiSkeleton;
|