proto-ikons-wc 0.1.21 → 0.1.22
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/dist/cjs/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-5gTJ4tCY.js → index-rLd0miPk.js} +2 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-CWzlkjrV.js → index-RFh5kW63.js} +2 -13
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-ca7b90dd.entry.js → p-6b11a708.entry.js} +1 -1
- package/dist/proto-ikons-wc/p-RFh5kW63.js +2 -0
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-CWzlkjrV.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.t=t)},o=(t,e)=>(0,console.error)(t,e),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="http://www.w3.org/1999/xlink",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!!f&&(()=>!!c.document&&Object.getOwnPropertyDescriptor(c.document.adoptedStyleSheets,"length").writable)(),h=!1,p=[],m=[],v=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&u.o?b(y):u.raf(y))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},y=()=>{w(p),w(m),(h=p.length>0)&&u.raf(y)},b=t=>a().then(t),$=v(m,!0),g=t=>"object"==(t=typeof t)||"function"===t;function S(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>O,ok:()=>j,unwrap:()=>E,unwrapErr:()=>C});var j=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function O(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>j(t))):j(n)}if(t.isErr)return k(t.value);throw"should never get here"}var E=t=>{if(t.isOk)return t.value;throw t.value},C=t=>{if(t.isErr)return t.value;throw t.value},M=new WeakMap,x=t=>"sc-"+t.i,P=(t,e,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!g(o))&&(o+=""),i&&s?r[r.length-1].u+=o:r.push(i?N(null,o):o),s=i)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=N(t,null);return u.h=e,r.length>0&&(u.p=r),u.m=l,u},N=(t,e)=>({o:0,v:t,u:e,$:null,p:null,h:null,m:null}),D={},R=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};R("::slotted"),R(":host"),R(":host-context");var W,A=(t,e)=>null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,U=(t,e,n,o,l,i)=>{if(n===o)return;let s=((t,e)=>e in t)(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=T(n);let i=T(o);e.remove(...l.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!l.includes(t))))}else if("key"===e);else{const u=g(o);if((s||u&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?s=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!s||4&i||l)&&!u&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(r,e,o):t.setAttribute(e,o))}},L=/\s/,T=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(L):[]),F=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.h||{},i=e.h||{};for(const t of H(Object.keys(l)))t in i||U(o,t,l[t],void 0,n,e.o);for(const t of H(Object.keys(i)))U(o,t,l[t],i[t],n,e.o)};function H(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var q=!1,z=(t,e,n)=>{const o=e.p[n];let l,i,s=0;if(null!==o.u)l=o.$=c.document.createTextNode(o.u);else{if(q||(q="svg"===o.v),!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.$=c.document.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),q&&"foreignObject"===o.v&&(q=!1),F(null,o,q),o.p)for(s=0;s<o.p.length;++s)i=z(t,o,s),i&&l.appendChild(i);"svg"===o.v?q=!1:"foreignObject"===l.tagName&&(q=!0)}return l["s-hn"]=W,l},V=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=z(null,n,l),s&&(o[l].$=s,_(r,s,e)))},G=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;t&&t.remove()}}},I=(t,e,n=!1)=>t.v===e.v&&(n?(n&&!t.m&&e.m&&(t.m=e.m),!0):t.m===e.m),Y=(t,e,n=!1)=>{const o=e.$=t.$,l=t.p,i=e.p,s=e.v,r=e.u;null===r?(F(t,e,q="svg"===s||"foreignObject"!==s&&q),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(I(d,m,l))Y(d,m,l),d=e[++r],m=o[++c];else if(I(h,v,l))Y(h,v,l),h=e[--f],v=o[--p];else if(I(d,v,l))Y(d,v,l),_(t,d.$,h.$.nextSibling),d=e[++r],v=o[--p];else if(I(h,m,l))Y(h,m,l),_(t,h.$,d.$),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].m&&e[a].m===m.m){u=a;break}u>=0?(s=e[u],s.v!==m.v?i=z(e&&e[c],n,u):(Y(s,m,l),e[u]=void 0,i=s.$),m=o[++c]):(i=z(e&&e[c],n,c),m=o[++c]),i&&_(d.$.parentNode,i,d.$)}r>f?V(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&G(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.u&&(o.textContent=""),V(o,null,e,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),q&&"svg"===s&&(q=!1)):t.u!==r&&(o.data=r)},_=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),B=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},J=(t,e)=>{if(t.o|=16,4&t.o)return void(t.o|=512);B(t,t.j);const n=()=>K(t,e);if(!e)return $(n);queueMicrotask((()=>{n()}))},K=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw 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 l;return l=ot(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),l=Q(l,(()=>ot(o,"componentWillRender",void 0,n))),Q(l,(()=>Z(t,o,e)))},Q=(t,e)=>X(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),X=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Z=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.k;((t,e)=>{var n;const o=x(e),l=i.get(o);if(!c.document)return o;if(t=11===t.nodeType?t:c.document,l)if("string"==typeof l){let i,r=M.get(t=t.head||t);if(r||M.set(t,r=new Set),!r.has(o)){{i=c.document.createElement("style"),i.innerHTML=l;const o=null!=(n=u.O)?n:S(c.document);if(null!=o&&i.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(f){const e=new CSSStyleSheet;e.replaceSync(l),d?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(i)}else t.append(i);1&e.o&&t.insertBefore(i,null)}4&e.o&&(i.innerHTML+=s),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(d?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);tt(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>et(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},tt=(t,e,n,l)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.C||N(null,null),i=(t=>t&&t.v===D)(e)?e:P(null,null,e);if(W=o.tagName,n&&i.h)for(const t of Object.keys(i.h))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.h[t]=o[t]);i.v=null,i.o|=4,t.C=i,i.$=l.$=o,Y(l,i,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},et=t=>{const e=t.$hostElement$,n=t.t,o=t.j;ot(n,"componentDidRender",void 0,e),64&t.o?ot(n,"componentDidUpdate",void 0,e):(t.o|=64,lt(e),ot(n,"componentDidLoad",void 0,e),t.M(e),o||nt()),t.S&&(t.S(),t.S=void 0),512&t.o&&b((()=>J(t,!1))),t.o&=-517},nt=()=>{b((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(c)))},ot=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,l)}},lt=t=>t.classList.add("hydrated"),it=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.i}" 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/stenciljs/core/issues/5457).`);const s=i.P.get(n),r=i.o,c=i.t;if(o=A(o,l.N[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;J(i,!1)}},st=(t,n,o)=>{var l,i;const s=t.prototype;if(n.N){const r=Object.entries(null!=(l=n.N)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.N[t][0]|=2048),r&&(n.N[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.N[t][0]))return((t,n)=>e(this).P.get(n))(0,t);const o=e(this),l=o?o.t:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=e(this);if(s){if(r){const e=32&l?this[t]:s.$hostElement$[t];return void 0===e&&s.P.get(t)?i=s.P.get(t):!s.P.get(t)&&e&&s.P.set(t,e),r.call(this,A(i,l)),void it(this,t,i=32&l?this[t]:s.$hostElement$[t],n)}{if(!(1&o&&4096&n.N[t][0]))return it(this,t,i,n),void(1&o&&!s.t&&s.D.then((()=>{4096&n.N[t][0]&&s.t[t]!==s.P.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.P.get(t)&&e&&s.P.set(t,e),s.t[t]=A(i,l),it(this,t,s.t[t],n)};s.t?e():s.D.then((()=>e()))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=e(this),s=null==o?void 0:o.o;if(o&&s&&!(8&s)&&128&s&&i!==l){const e=o.t,s=null==(r=n.R)?void 0:r[t];null==s||s.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.R)?i:{}),...r.filter((([t,e])=>31&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},rt=(t,e)=>{ot(t,"connectedCallback",void 0,e)},ct=(t,e)=>{ot(t,"disconnectedCallback",void 0,e||t)},ut=(t,n={})=>{var r;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),w=[];let y,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{const s={o:n[0],i:n[1],N:n[2],W:n[3]};4&s.o&&($=!0),s.N=n[2];const r=s.i,c=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,k:e,P:new Map};n.D=new Promise((t=>n.M=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,s)}connectedCallback(){e(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),b?w.push(this):u.jmp((()=>(t=>{if(!(1&u.o)){const n=e(t);if(!n)return;const s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?rt(n.t,t):(null==n?void 0:n.D)&&n.D.then((()=>rt(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){B(n,n.j=e);break}}s.N&&Object.entries(s.N).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let s;if(!(32&e.o)){if(e.o|=32,n.A){const i=((t,e)=>{const n=t.i.replace(/-/g,"_"),i=t.A;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(l.set(i,t),t[n])),(t=>{o(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};s=await i,t()}else s=i;if(!s)throw Error(`Constructor for "${n.i}#${e.U}" was not found`);s.isProxied||(st(s,n,2),s.isProxied=!0);const r=()=>{};e.o|=8;try{new s(e)}catch(e){o(e,t)}e.o&=-9,r(),rt(e.t,t)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=x(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.j,c=()=>J(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,s)}r()}})(this))))}disconnectedCallback(){u.jmp((()=>(async t=>{if(!(1&u.o)){const n=e(t);(null==n?void 0:n.t)?ct(n.t,t):(null==n?void 0:n.D)&&n.D.then((()=>ct(n.t,t)))}M.has(t)&&M.delete(t),t.shadowRoot&&M.has(t.shadowRoot)&&M.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const n=e(this);if(!n)return;const o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==n?void 0:n.C)?void 0:t.$)instanceof Node&&!n.C.$.isConnected&&delete n.C.$}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.D}};s.A=t[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,st(c,s,1)))}))})),a.length>0&&($&&(v.textContent+=s),v.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(r=u.O)?r:S(c.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,w.length?w.map((t=>t.connectedCallback())):u.jmp((()=>y=setTimeout(nt,30)))},at=t=>u.O=t;export{ut as b,P as h,a as p,n as r,at as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-
|
|
1
|
+
import{p as e,b as i}from"./p-RFh5kW63.js";export{s as setNonce}from"./p-RFh5kW63.js";import{g as n}from"./p-DQuL1Twl.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-6b11a708",[[256,"acura-ikon",{hex:[1],name:[1],size:[2]}],[256,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[256,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[256,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[256,"audi-ikon",{hex:[1],name:[1],size:[2]}],[256,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"bently-ikon",{hex:[1],name:[1],size:[2]}],[256,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[256,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[256,"buick-ikon",{hex:[1],name:[1],size:[2]}],[256,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[256,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[256,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[256,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[256,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[256,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[256,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[256,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[256,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[256,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[256,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"ford-ikon",{hex:[1],name:[1],size:[2]}],[256,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[256,"geo-ikon",{hex:[1],name:[1],size:[2]}],[256,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[256,"honda-ikon",{hex:[1],name:[1],size:[2]}],[256,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[256,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[256,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[256,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[256,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[256,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[256,"kia-ikon",{hex:[1],name:[1],size:[2]}],[256,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[256,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[256,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[256,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[256,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[256,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[256,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[256,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[256,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[256,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[256,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[256,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mini-ikon",{hex:[1],name:[1],size:[2]}],[256,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[256,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[256,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[256,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"opel-ikon",{hex:[1],name:[1],size:[2]}],[256,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[256,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[256,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[256,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[256,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[256,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"ram-ikon",{hex:[1],name:[1],size:[2]}],[256,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"renault-ikon",{hex:[1],name:[1],size:[2]}],[256,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[256,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"saab-ikon",{hex:[1],name:[1],size:[2]}],[256,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[256,"scion-ikon",{hex:[1],name:[1],size:[2]}],[256,"seat-ikon",{hex:[1],name:[1],size:[2]}],[256,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[256,"slug-icon",{label:[1],name:[1],size:[2]}],[256,"smart-ikon",{hex:[1],name:[1],size:[2]}],[256,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[256,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[256,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[256,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[256,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[256,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[256,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[256,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
2
2
|
type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never;
|
|
3
|
-
type MixinFactory = <TBase extends abstract new (...args: any[]) => any>(base: TBase) => abstract new (...args: ConstructorParameters<TBase>) => any;
|
|
4
3
|
export interface ComponentDecorator {
|
|
5
4
|
(opts?: ComponentOptions): ClassDecorator;
|
|
6
5
|
}
|
|
@@ -351,15 +350,18 @@ export declare function readTask(task: RafCallback): void;
|
|
|
351
350
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
352
351
|
*/
|
|
353
352
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
353
|
+
export type MixinFactory = <TBase extends new (...args: any[]) => any>(base: TBase) => abstract new (...args: ConstructorParameters<TBase>) => any;
|
|
354
354
|
/**
|
|
355
355
|
* Compose multiple mixin classes into a single constructor.
|
|
356
356
|
* The resulting class has the combined instance types of all mixed-in classes.
|
|
357
357
|
*
|
|
358
358
|
* Example:
|
|
359
359
|
* ```
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
* const
|
|
360
|
+
* import { Mixin, MixinFactory } from '@stencil/core';
|
|
361
|
+
*
|
|
362
|
+
* const AWrap: MixinFactory = (Base) => {class A extends Base { propA = A }; return A;}
|
|
363
|
+
* const BWrap: MixinFactory = (Base) => {class B extends Base { propB = B }; return B;}
|
|
364
|
+
* const CWrap: MixinFactory = (Base) => {class C extends Base { propC = C }; return C;}
|
|
363
365
|
*
|
|
364
366
|
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
365
367
|
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-ikons-wc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "prettier --write src cSpell.json"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "4.37.
|
|
30
|
+
"@stencil/core": "4.37.1"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.t=t)},o=(t,e)=>(0,console.error)(t,e),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="http://www.w3.org/1999/xlink",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!!f&&(()=>!!c.document&&Object.getOwnPropertyDescriptor(c.document.adoptedStyleSheets,"length").writable)(),h=!1,p=[],m=[],v=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&u.o?b(w):u.raf(w))},y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},w=()=>{y(p),y(m),(h=p.length>0)&&u.raf(w)},b=t=>a().then(t),$=v(m,!0),g=t=>"object"==(t=typeof t)||"function"===t;function S(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>O,ok:()=>j,unwrap:()=>E,unwrapErr:()=>C});var j=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function O(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>j(t))):j(n)}if(t.isErr)return k(t.value);throw"should never get here"}var E=t=>{if(t.isOk)return t.value;throw t.value},C=t=>{if(t.isErr)return t.value;throw t.value},M=new WeakMap,x=t=>"sc-"+t.i,N=(t,e,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!g(o))&&(o+=""),i&&s?r[r.length-1].u+=o:r.push(i?P(null,o):o),s=i)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=P(t,null);return u.h=e,r.length>0&&(u.p=r),u.m=l,u},P=(t,e)=>({o:0,v:t,u:e,$:null,p:null,h:null,m:null}),D={},R=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};R("::slotted"),R(":host"),R(":host-context");var W,A=(t,e)=>{if("string"==typeof t&&(16&e||8&e)&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},U=(t,e,n,o,l,i)=>{if(n===o)return;let s=((t,e)=>e in t)(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=T(n);let i=T(o);e.remove(...l.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!l.includes(t))))}else if("key"===e);else{const u=g(o);if((s||u&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?s=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!s||4&i||l)&&!u&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(r,e,o):t.setAttribute(e,o))}},L=/\s/,T=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(L):[]),F=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.h||{},i=e.h||{};for(const t of H(Object.keys(l)))t in i||U(o,t,l[t],void 0,n,e.o);for(const t of H(Object.keys(i)))U(o,t,l[t],i[t],n,e.o)};function H(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var q=!1,z=(t,e,n)=>{const o=e.p[n];let l,i,s=0;if(null!==o.u)l=o.$=c.document.createTextNode(o.u);else{if(q||(q="svg"===o.v),!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.$=c.document.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),q&&"foreignObject"===o.v&&(q=!1),F(null,o,q),o.p)for(s=0;s<o.p.length;++s)i=z(t,o,s),i&&l.appendChild(i);"svg"===o.v?q=!1:"foreignObject"===l.tagName&&(q=!0)}return l["s-hn"]=W,l},V=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=z(null,n,l),s&&(o[l].$=s,Y(r,s,e)))},G=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;t&&t.remove()}}},I=(t,e,n=!1)=>t.v===e.v&&(n?(n&&!t.m&&e.m&&(t.m=e.m),!0):t.m===e.m),J=(t,e,n=!1)=>{const o=e.$=t.$,l=t.p,i=e.p,s=e.v,r=e.u;null===r?(F(t,e,q="svg"===s||"foreignObject"!==s&&q),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(I(d,m,l))J(d,m,l),d=e[++r],m=o[++c];else if(I(h,v,l))J(h,v,l),h=e[--f],v=o[--p];else if(I(d,v,l))J(d,v,l),Y(t,d.$,h.$.nextSibling),d=e[++r],v=o[--p];else if(I(h,m,l))J(h,m,l),Y(t,h.$,d.$),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].m&&e[a].m===m.m){u=a;break}u>=0?(s=e[u],s.v!==m.v?i=z(e&&e[c],n,u):(J(s,m,l),e[u]=void 0,i=s.$),m=o[++c]):(i=z(e&&e[c],n,c),m=o[++c]),i&&Y(d.$.parentNode,i,d.$)}r>f?V(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&G(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.u&&(o.textContent=""),V(o,null,e,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),q&&"svg"===s&&(q=!1)):t.u!==r&&(o.data=r)},Y=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),_=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},B=(t,e)=>{if(t.o|=16,4&t.o)return void(t.o|=512);_(t,t.j);const n=()=>K(t,e);if(!e)return $(n);queueMicrotask((()=>{n()}))},K=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw 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 l;return l=ot(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),l=Q(l,(()=>ot(o,"componentWillRender",void 0,n))),Q(l,(()=>Z(t,o,e)))},Q=(t,e)=>X(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),X=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Z=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.k;((t,e)=>{var n;const o=x(e),l=i.get(o);if(!c.document)return o;if(t=11===t.nodeType?t:c.document,l)if("string"==typeof l){let i,r=M.get(t=t.head||t);if(r||M.set(t,r=new Set),!r.has(o)){{i=c.document.createElement("style"),i.innerHTML=l;const o=null!=(n=u.O)?n:S(c.document);if(null!=o&&i.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(f){const e=new CSSStyleSheet;e.replaceSync(l),d?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(i)}else t.append(i);1&e.o&&t.insertBefore(i,null)}4&e.o&&(i.innerHTML+=s),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(d?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);tt(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>et(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},tt=(t,e,n,l)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.C||P(null,null),i=(t=>t&&t.v===D)(e)?e:N(null,null,e);if(W=o.tagName,n&&i.h)for(const t of Object.keys(i.h))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.h[t]=o[t]);i.v=null,i.o|=4,t.C=i,i.$=l.$=o,J(l,i,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},et=t=>{const e=t.$hostElement$,n=t.t,o=t.j;ot(n,"componentDidRender",void 0,e),64&t.o?ot(n,"componentDidUpdate",void 0,e):(t.o|=64,lt(e),ot(n,"componentDidLoad",void 0,e),t.M(e),o||nt()),t.S&&(t.S(),t.S=void 0),512&t.o&&b((()=>B(t,!1))),t.o&=-517},nt=()=>{b((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(c)))},ot=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,l)}},lt=t=>t.classList.add("hydrated"),it=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.i}" 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/stenciljs/core/issues/5457).`);const s=i.N.get(n),r=i.o,c=i.t;if(o=A(o,l.P[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.N.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;B(i,!1)}},st=(t,n,o)=>{var l,i;const s=t.prototype;if(n.P){const r=Object.entries(null!=(l=n.P)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.P[t][0]|=2048),r&&(n.P[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.P[t][0]))return((t,n)=>e(this).N.get(n))(0,t);const o=e(this),l=o?o.t:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=e(this);if(s){if(r){const e=32&l?this[t]:s.$hostElement$[t];return void 0===e&&s.N.get(t)?i=s.N.get(t):!s.N.get(t)&&e&&s.N.set(t,e),r.call(this,A(i,l)),void it(this,t,i=32&l?this[t]:s.$hostElement$[t],n)}{if(!(1&o&&4096&n.P[t][0]))return it(this,t,i,n),void(1&o&&!s.t&&s.D.then((()=>{4096&n.P[t][0]&&s.t[t]!==s.N.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.N.get(t)&&e&&s.N.set(t,e),s.t[t]=A(i,l),it(this,t,s.t[t],n)};s.t?e():s.D.then((()=>e()))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=e(this),s=null==o?void 0:o.o;if(o&&s&&!(8&s)&&128&s&&i!==l){const e=o.t,s=null==(r=n.R)?void 0:r[t];null==s||s.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.R)?i:{}),...r.filter((([t,e])=>31&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},rt=(t,e)=>{ot(t,"connectedCallback",void 0,e)},ct=(t,e)=>{ot(t,"disconnectedCallback",void 0,e||t)},ut=(t,n={})=>{var r;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),y=[];let w,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{const s={o:n[0],i:n[1],P:n[2],W:n[3]};4&s.o&&($=!0),s.P=n[2];const r=s.i,c=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,k:e,N:new Map};n.D=new Promise((t=>n.M=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,s)}connectedCallback(){e(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):u.jmp((()=>(t=>{if(!(1&u.o)){const n=e(t);if(!n)return;const s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?rt(n.t,t):(null==n?void 0:n.D)&&n.D.then((()=>rt(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){_(n,n.j=e);break}}s.P&&Object.entries(s.P).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let s;if(!(32&e.o)){if(e.o|=32,n.A){const i=((t,e)=>{const n=t.i.replace(/-/g,"_"),i=t.A;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(l.set(i,t),t[n])),(t=>{o(t,e.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};s=await i,t()}else s=i;if(!s)throw Error(`Constructor for "${n.i}#${e.U}" was not found`);s.isProxied||(st(s,n,2),s.isProxied=!0);const r=()=>{};e.o|=8;try{new s(e)}catch(e){o(e,t)}e.o&=-9,r(),rt(e.t,t)}else{s=t.constructor;const n=t.localName,o=()=>e.o|=128;customElements.get(n)?o():customElements.whenDefined(n).then(o)}if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=x(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.j,c=()=>B(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,s)}r()}})(this))))}disconnectedCallback(){u.jmp((()=>(async t=>{if(!(1&u.o)){const n=e(t);(null==n?void 0:n.t)?ct(n.t,t):(null==n?void 0:n.D)&&n.D.then((()=>ct(n.t,t)))}M.has(t)&&M.delete(t),t.shadowRoot&&M.has(t.shadowRoot)&&M.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const n=e(this);if(!n)return;const o=y.findIndex((t=>t===this));o>-1&&y.splice(o,1),(null==(t=null==n?void 0:n.C)?void 0:t.$)instanceof Node&&!n.C.$.isConnected&&delete n.C.$}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.D}};s.A=t[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,st(c,s,1)))}))})),a.length>0&&($&&(v.textContent+=s),v.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(r=u.O)?r:S(c.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((t=>t.connectedCallback())):u.jmp((()=>w=setTimeout(nt,30)))},at=t=>u.O=t;export{ut as b,N as h,a as p,n as r,at as s}
|