proto-ikons-wc 0.1.24 → 0.1.25
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-CbqLW2ga.js → index-DhNHFZP-.js} +5 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-C_NKW2Mo.js → index-Dv9z6hXe.js} +5 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-a778e00d.entry.js → p-13b289f3.entry.js} +1 -1
- package/dist/proto-ikons-wc/{p-C_NKW2Mo.js → p-Dv9z6hXe.js} +1 -1
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +20 -10
- package/package.json +2 -2
|
@@ -1,2 +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):[]),z=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.h||{},i=e.h||{};for(const t of F(Object.keys(l)))t in i||U(o,t,l[t],void 0,n,e.o);for(const t of F(Object.keys(i)))U(o,t,l[t],i[t],n,e.o)};function F(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var H=!1,V=(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(H||(H="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(H?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),H&&"foreignObject"===o.v&&(H=!1),z(null,o,H),o.p)for(s=0;s<o.p.length;++s)i=V(t,o,s),i&&l.appendChild(i);"svg"===o.v?H=!1:"foreignObject"===l.tagName&&(H=!0)}return l["s-hn"]=W,l},q=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=V(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?(z(t,e,H="svg"===s||"foreignObject"!==s&&H),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=V(e&&e[c],n,u):(Y(s,m,l),e[u]=void 0,i=s.$),m=o[++c]):(i=V(e&&e[c],n,c),m=o[++c]),i&&_(d.$.parentNode,i,d.$)}r>f?q(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=""),q(o,null,e,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),H&&"svg"===s&&(H=!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 e?(t.k.length&&t.k.forEach((t=>t(n))),l=ot(o,"componentWillLoad",void 0,n)):l=ot(o,"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.O;((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.C)?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.M||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.M=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.P(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.N.get(n),r=i.o,c=i.t;if(o=A(o,l.D[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;J(i,!1)}},st=(t,n,o)=>{var l,i;const s=t.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.D[t][0]|=2048),r&&(n.D[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.D[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)return void 0===(32&l?this[t]:s.$hostElement$[t])&&s.N.get(t)&&(i=s.N.get(t)),r.call(this,A(i,l)),void it(this,t,i=32&l?this[t]:s.$hostElement$[t],n);{if(!(1&o&&4096&n.D[t][0]))return it(this,t,i,n),void(1&o&&!s.t&&s.k.push((()=>{4096&n.D[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.k.push((()=>{e()}))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var r;const c=o.get(t),u=e(this);if(this.hasOwnProperty(c)&&(i=this[c],delete this[c]),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const e=null==u?void 0:u.o;if(u&&e&&!(8&e)&&128&e&&i!==l){const e=u.t,o=null==(r=n.R)?void 0:r[t];null==o||o.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}const a=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)==this[c]||a.get&&!a.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],D:n[2],W:n[3]};4&s.o&&($=!0),s.D=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,O:e,N:new Map,A:new Map};n.U=new Promise((t=>n.P=t)),t["s-p"]=[],t["s-rc"]=[],n.k=[];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.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?rt(n.t,t):(null==n?void 0:n.U)&&n.U.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.D&&Object.entries(s.D).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[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.L){const i=((t,e)=>{const n=t.i.replace(/-/g,"_"),i=t.L;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$)}))
|
|
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):[]),z=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.h||{},i=e.h||{};for(const t of F(Object.keys(l)))t in i||U(o,t,l[t],void 0,n,e.o);for(const t of F(Object.keys(i)))U(o,t,l[t],i[t],n,e.o)};function F(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var H=!1,V=(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(H||(H="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(H?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),H&&"foreignObject"===o.v&&(H=!1),z(null,o,H),o.p)for(s=0;s<o.p.length;++s)i=V(t,o,s),i&&l.appendChild(i);"svg"===o.v?H=!1:"foreignObject"===l.tagName&&(H=!0)}return l["s-hn"]=W,l},q=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=V(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?(z(t,e,H="svg"===s||"foreignObject"!==s&&H),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=V(e&&e[c],n,u):(Y(s,m,l),e[u]=void 0,i=s.$),m=o[++c]):(i=V(e&&e[c],n,c),m=o[++c]),i&&_(d.$.parentNode,i,d.$)}r>f?q(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=""),q(o,null,e,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),H&&"svg"===s&&(H=!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 e?(t.k.length&&t.k.forEach((t=>t(n))),l=ot(o,"componentWillLoad",void 0,n)):l=ot(o,"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.O;((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.C)?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.M||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.M=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.P(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.N.get(n),r=i.o,c=i.t;if(o=A(o,l.D[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;J(i,!1)}},st=(t,n,o)=>{var l,i;const s=t.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.D[t][0]|=2048),r&&(n.D[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.D[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)return void 0===(32&l?this[t]:s.$hostElement$[t])&&s.N.get(t)&&(i=s.N.get(t)),r.call(this,A(i,l)),void it(this,t,i=32&l?this[t]:s.$hostElement$[t],n);{if(!(1&o&&4096&n.D[t][0]))return it(this,t,i,n),void(1&o&&!s.t&&s.k.push((()=>{4096&n.D[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.k.push((()=>{e()}))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var c;const u=o.get(t),a=e(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const e=null==a?void 0:a.o;if(a&&e&&!(8&e)&&128&e&&i!==l){const e=a.t,o=null==(c=n.R)?void 0:c[t];null==o||o.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}const f=r.find((([t])=>t===u));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const d=Object.getOwnPropertyDescriptor(s,u);i==this[u]||d.get&&!d.set||(this[u]=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],D:n[2],W:n[3]};4&s.o&&($=!0),s.D=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,O:e,N:new Map,A:new Map};n.U=new Promise((t=>n.P=t)),t["s-p"]=[],t["s-rc"]=[],n.k=[];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.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?rt(n.t,t):(null==n?void 0:n.U)&&n.U.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.D&&Object.entries(s.D).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[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.L){const i=((t,e)=>{const n=t.i.replace(/-/g,"_"),i=t.L;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
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.T}" 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.U)&&n.U.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.M)?void 0:t.$)instanceof Node&&!n.M.$.isConnected&&delete n.M.$}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.U}};s.L=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.C)?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.C=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-Dv9z6hXe.js";export{s as setNonce}from"./p-Dv9z6hXe.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-13b289f3",[[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,5 +1,6 @@
|
|
|
1
1
|
type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
2
|
-
type UnionToIntersection<U> = (U extends any ? (
|
|
2
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
3
|
+
type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
|
|
3
4
|
export interface ComponentDecorator {
|
|
4
5
|
(opts?: ComponentOptions): ClassDecorator;
|
|
5
6
|
}
|
|
@@ -338,7 +339,7 @@ export declare function forceUpdate(ref: any): void;
|
|
|
338
339
|
* @returns the rendering ref
|
|
339
340
|
*/
|
|
340
341
|
export declare function getRenderingRef(): any;
|
|
341
|
-
export interface HTMLStencilElement extends HTMLElement {
|
|
342
|
+
export interface HTMLStencilElement extends Omit<HTMLElement, 'autocorrect'> {
|
|
342
343
|
componentOnReady(): Promise<this>;
|
|
343
344
|
}
|
|
344
345
|
/**
|
|
@@ -364,18 +365,27 @@ export declare function readTask(task: RafCallback): void;
|
|
|
364
365
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
365
366
|
*/
|
|
366
367
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
367
|
-
|
|
368
|
+
/**
|
|
369
|
+
* @deprecated - Use `MixedInCtor` instead:
|
|
370
|
+
* ```ts
|
|
371
|
+
* import { MixedInCtor } from '@stencil/core';
|
|
372
|
+
*
|
|
373
|
+
* const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
374
|
+
* ```
|
|
375
|
+
*/
|
|
376
|
+
export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
|
|
377
|
+
export type MixedInCtor<T = {}> = new (...args: any[]) => T;
|
|
368
378
|
/**
|
|
369
379
|
* Compose multiple mixin classes into a single constructor.
|
|
370
380
|
* The resulting class has the combined instance types of all mixed-in classes.
|
|
371
381
|
*
|
|
372
382
|
* Example:
|
|
373
|
-
* ```
|
|
374
|
-
* import { Mixin,
|
|
383
|
+
* ```ts
|
|
384
|
+
* import { Mixin, MixedInCtor } from '@stencil/core';
|
|
375
385
|
*
|
|
376
|
-
* const AWrap
|
|
377
|
-
* const BWrap
|
|
378
|
-
* const CWrap
|
|
386
|
+
* const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
387
|
+
* const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
|
|
388
|
+
* const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
|
|
379
389
|
*
|
|
380
390
|
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
381
391
|
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
|
@@ -383,9 +393,9 @@ export type MixinFactory = <TBase extends new (...args: any[]) => any>(base: TBa
|
|
|
383
393
|
* ```
|
|
384
394
|
*
|
|
385
395
|
* @param mixinFactories mixin factory functions that return a class which extends from the provided class.
|
|
386
|
-
* @returns a class that
|
|
396
|
+
* @returns a class that is composed from extending each of the provided classes in the order they were provided.
|
|
387
397
|
*/
|
|
388
|
-
export declare function Mixin<TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<
|
|
398
|
+
export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
|
|
389
399
|
/**
|
|
390
400
|
* This file gets copied to all distributions of stencil component collections.
|
|
391
401
|
* - no imports
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-ikons-wc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
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.38.
|
|
30
|
+
"@stencil/core": "4.38.2"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|