proto-ikons-wc 0.0.158 → 0.0.159
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-23672262.js → index-6bfb0276.js} +30 -4
- 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-0cd045e9.js → index-65d283de.js} +30 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-98e70022.entry.js → p-1d73221f.entry.js} +1 -1
- package/dist/proto-ikons-wc/p-3ea175c0.js +2 -0
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-10233945.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],w=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.l?b($):f.raf($))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},$=()=>{v(d),v(w),(p=d.length>0)&&f.raf($)},b=e=>h().then(e),g=y(w,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?T(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,i.length>0&&(u.h=i),u.m=o,u},T=(e,t)=>({l:0,p:e,i:t,v:null,h:null,u:null,m:null}),F={},H=new WeakMap,N=e=>"sc-"+e.$,R=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const u=j(l);if((r||u&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(c,t):e.removeAttribute(t)):(!r||4&s||o)&&!u&&(l=!0===l?"":l,a?e.setAttributeNS(c,t,l):e.setAttribute(t,l))}}},D=/\s/,L=e=>e?e.split(D):[],U=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of W(Object.keys(o)))e in s||R(l,e,o[e],void 0,n,t.l);for(const e of W(Object.keys(s)))R(l,e,o[e],s[e],n,t.l)};function W(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.v=a.createTextNode(l.i);else{if(q||(q="svg"===l.p),o=l.v=a.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.p),q&&"foreignObject"===l.p&&(q=!1),U(null,l,q),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=G(e,l,r),s&&o.appendChild(s);"svg"===l.p?q=!1:"foreignObject"===o.tagName&&(q=!0)}return o["s-hn"]=M,o},V=(e,t,n,l,o,s)=>{let r,i=e;for(;o<=s;++o)l[o]&&(r=G(null,n,o),r&&(l[o].v=r,I(i,r,t)))},_=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;e&&e.remove()}}},z=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),B=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,r=t.p,i=t.i;null===i?(U(e,t,q="svg"===r||"foreignObject"!==r&&q),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=l.length-1,d=l[0],w=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==d)d=l[++c];else if(null==w)w=l[--p];else if(z(h,d,o))B(h,d,o),h=t[++i],d=l[++c];else if(z(m,w,o))B(m,w,o),m=t[--f],w=l[--p];else if(z(h,w,o))B(h,w,o),I(e,h.v,m.v.nextSibling),h=t[++i],w=l[--p];else if(z(m,d,o))B(m,d,o),I(e,m.v,h.v),m=t[--f],d=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].m&&t[a].m===d.m){u=a;break}u>=0?(r=t[u],r.p!==d.p?s=G(t&&t[c],n,u):(B(r,d,o),t[u]=void 0,s=r.v),d=l[++c]):(s=G(t&&t[c],n,c),d=l[++c]),s&&I(h.v.parentNode,s,h.v)}i>f?V(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&_(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):!n&&null!==o&&_(o,0,o.length-1),q&&"svg"===r&&(q=!1)):e.i!==i&&(l.data=i)},I=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},K=(e,t)=>{if(e.l|=16,!(4&e.l))return J(e,e.j),g((()=>Q(e,t)));e.l|=512},Q=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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`);return X(void 0,(()=>Z(e,n,t)))},X=(e,t)=>Y(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Y=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k;((e,t)=>{var n;const l=N(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=H.get(e=e.head||e);if(r||H.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=f.O)?n:k(a);null!=l&&s.setAttribute("nonce",l),(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),t)})(e);ee(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ee=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.C||T(null,null),s=(e=>e&&e.p===F)(t)?t:A(null,null,t);if(M=l.tagName,n&&s.u)for(const e of Object.keys(s.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=l[e]);s.p=null,s.l|=4,e.C=s,s.v=o.v=l,B(o,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,le(t),e.M(t),n||ne()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>K(e,!1))),e.l&=-517},ne=()=>{le(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(t),t})(u)))},le=e=>e.classList.add("hydrated"),oe=(e,t,l)=>{var o,s;const r=e.prototype;if(t.P){const i=Object.entries(null!=(o=t.P)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).A.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.$}" 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 r=s.A.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.P[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.A.set(t,l),c&&2==(18&i)&&K(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.T)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.T)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return l.set(n,e),n}))]))}}return e},se=(e,l={})=>{var c;const h=[],p=l.exclude||[],d=u.customElements,w=a.head,y=w.querySelector("meta[charset]"),v=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const i={l:l[0],$:l[1],P:l[2],F:l[3]};4&i.l&&(S=!0),i.P=l[2];const c=i.$,u=class extends HTMLElement{constructor(e){super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,A:new Map};l.H=new Promise((e=>l.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,i)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,i=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.H)&&t.H.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.j=n);break}}l.P&&Object.entries(l.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.N){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.N;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.$}#${t.R}" was not found`);l.isProxied||(oe(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=N(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.j,c=()=>K(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.H)&&e.H.then((()=>{}))}})()))}componentOnReady(){return n(this).H}};i.N=e[0],p.includes(c)||d.get(c)||(h.push(c),d.define(c,oe(u,i,1)))}))})),h.length>0&&(S&&(v.textContent+=i),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(c=f.O)?c:k(a);null!=e&&v.setAttribute("nonce",e),w.insertBefore(v,y?y.nextSibling:w.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(ne,30)))},re=e=>f.O=e;export{se as b,A as h,h as p,l as r,re as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-
|
|
1
|
+
import{p as e,b as i}from"./p-3ea175c0.js";export{s as setNonce}from"./p-3ea175c0.js";import{g as n}from"./p-e1255160.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-1d73221f",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}],[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[0,"audi-ikon",{hex:[1],name:[1],size:[2]}],[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bently-ikon",{hex:[1],name:[1],size:[2]}],[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[0,"buick-ikon",{hex:[1],name:[1],size:[2]}],[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ford-ikon",{hex:[1],name:[1],size:[2]}],[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[0,"geo-ikon",{hex:[1],name:[1],size:[2]}],[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[0,"honda-ikon",{hex:[1],name:[1],size:[2]}],[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[0,"kia-ikon",{hex:[1],name:[1],size:[2]}],[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mini-ikon",{hex:[1],name:[1],size:[2]}],[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"opel-ikon",{hex:[1],name:[1],size:[2]}],[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-ikon",{hex:[1],name:[1],size:[2]}],[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-ikon",{hex:[1],name:[1],size:[2]}],[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"saab-ikon",{hex:[1],name:[1],size:[2]}],[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[0,"scion-ikon",{hex:[1],name:[1],size:[2]}],[0,"seat-ikon",{hex:[1],name:[1],size:[2]}],[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[0,"slug-icon",{label:[1],name:[1],size:[2]}],[0,"smart-ikon",{hex:[1],name:[1],size:[2]}],[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-ikons-wc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.159",
|
|
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.
|
|
30
|
+
"@stencil/core": "4.20.0"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],w=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.l?b($):f.raf($))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},$=()=>{v(d),v(w),(p=d.length>0)&&f.raf($)},b=e=>h().then(e),g=y(w,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},T=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?A(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=A(e,null);return u.u=t,i.length>0&&(u.h=i),u.m=o,u},A=(e,t)=>({l:0,p:e,i:t,v:null,h:null,u:null,m:null}),F={},N=new WeakMap,R=e=>"sc-"+e.$,H=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const u=j(l);if((r||u&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(c,t):e.removeAttribute(t)):(!r||4&s||o)&&!u&&(l=!0===l?"":l,a?e.setAttributeNS(c,t,l):e.setAttribute(t,l))}}},L=/\s/,U=e=>e?e.split(L):[],W=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of q(Object.keys(o)))e in s||H(l,e,o[e],void 0,n,t.l);for(const e of q(Object.keys(s)))H(l,e,o[e],s[e],n,t.l)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var D=!1,G=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.v=a.createTextNode(l.i);else{if(D||(D="svg"===l.p),o=l.v=a.createElementNS(D?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.p),D&&"foreignObject"===l.p&&(D=!1),W(null,l,D),l.h)for(r=0;r<l.h.length;++r)s=G(e,l,r),s&&o.appendChild(s);"svg"===l.p?D=!1:"foreignObject"===o.tagName&&(D=!0)}return o["s-hn"]=M,o},V=(e,t,n,l,o,s)=>{let r,i=e;for(;o<=s;++o)l[o]&&(r=G(null,n,o),r&&(l[o].v=r,I(i,r,t)))},_=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;e&&e.remove()}}},z=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),B=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,r=t.p,i=t.i;null===i?(W(e,t,D="svg"===r||"foreignObject"!==r&&D),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=l.length-1,d=l[0],w=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==d)d=l[++c];else if(null==w)w=l[--p];else if(z(h,d,o))B(h,d,o),h=t[++i],d=l[++c];else if(z(m,w,o))B(m,w,o),m=t[--f],w=l[--p];else if(z(h,w,o))B(h,w,o),I(e,h.v,m.v.nextSibling),h=t[++i],w=l[--p];else if(z(m,d,o))B(m,d,o),I(e,m.v,h.v),m=t[--f],d=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].m&&t[a].m===d.m){u=a;break}u>=0?(r=t[u],r.p!==d.p?s=G(t&&t[c],n,u):(B(r,d,o),t[u]=void 0,s=r.v),d=l[++c]):(s=G(t&&t[c],n,c),d=l[++c]),s&&I(h.v.parentNode,s,h.v)}i>f?V(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&_(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&_(o,0,o.length-1),D&&"svg"===r&&(D=!1)):e.i!==i&&(l.data=i)},I=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},K=(e,t)=>{if(e.l|=16,!(4&e.l))return J(e,e.j),g((()=>Q(e,t)));e.l|=512},Q=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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`);return X(void 0,(()=>Z(e,n,t)))},X=(e,t)=>Y(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Y=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k;((e,t)=>{var n;const l=R(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=N.get(e=e.head||e);if(r||N.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.O)?n:k(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),t)})(e);ee(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ee=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.C||A(null,null),s=(e=>e&&e.p===F)(t)?t:T(null,null,t);if(M=l.tagName,n&&s.u)for(const e of Object.keys(s.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=l[e]);s.p=null,s.l|=4,e.C=s,s.v=o.v=l,B(o,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,le(t),e.M(t),n||ne()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>K(e,!1))),e.l&=-517},ne=()=>{le(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(t),t})(u)))},le=e=>e.classList.add("hydrated"),oe=(e,t,l)=>{var o,s;const r=e.prototype;if(t.P){const i=Object.entries(null!=(o=t.P)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.$}" 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 r=s.T.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.P[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.T.set(t,l),c&&2==(18&i)&&K(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.A)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.A)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return l.set(n,e),n}))]))}}return e},se=(e,l={})=>{var c;const h=[],p=l.exclude||[],d=u.customElements,w=a.head,y=w.querySelector("meta[charset]"),v=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const i={l:l[0],$:l[1],P:l[2],F:l[3]};4&i.l&&(S=!0),i.P=l[2];const c=i.$,u=class extends HTMLElement{constructor(e){super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,T:new Map};l.N=new Promise((e=>l.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,i)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,i=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.j=n);break}}l.P&&Object.entries(l.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.R){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.R;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.$}#${t.H}" was not found`);l.isProxied||(oe(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=R(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.j,c=()=>K(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}})()))}componentOnReady(){return n(this).N}};i.R=e[0],p.includes(c)||d.get(c)||(h.push(c),d.define(c,oe(u,i,1)))}))})),h.length>0&&(S&&(v.textContent+=i),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(c=f.O)?c:k(a);null!=e&&v.setAttribute("nonce",e),w.insertBefore(v,y?y.nextSibling:w.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(ne,30)))},re=e=>f.O=e;export{se as b,T as h,h as p,l as r,re as s}
|