proto-ikon-loader-wc 0.0.298 → 0.0.300

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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-169d2cea.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.6.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-ikon-loader-wc.cjs.js', document.baseURI).href));
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.5.0",
8
+ "version": "4.6.0",
9
9
  "typescriptVersion": "5.2.2"
10
10
  },
11
11
  "collections": [
@@ -2,7 +2,7 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-0e3e1e19.js';
2
2
  export { s as setNonce } from './index-0e3e1e19.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.6.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;
@@ -1,2 +1,2 @@
1
- let n,t,e=!1,l=!1;const o="http://www.w3.org/1999/xlink",s={},i=n=>"object"==(n=typeof n)||"function"===n;function r(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,t,...e)=>{let l=null,o=!1,s=!1;const r=[],c=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!i(l))&&(l+=""),o&&s?r[r.length-1].t+=l:r.push(o?u(null,l):l),s=o)};if(c(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}if("function"==typeof n)return n(null===t?{}:t,r,f);const a=u(n,null);return a.l=t,r.length>0&&(a.o=r),a},u=(n,t)=>({i:0,u:n,t,v:null,o:null,l:null}),a={},f={forEach:(n,t)=>n.map(d).forEach(t),map:(n,t)=>n.map(d).map(t).map(v)},d=n=>({vattrs:n.l,vchildren:n.o,vkey:n.h,vname:n.p,vtag:n.u,vtext:n.t}),v=n=>{if("function"==typeof n.vtag){const t=Object.assign({},n.vattrs);return n.vkey&&(t.key=n.vkey),n.vname&&(t.name=n.vname),c(n.vtag,t,...n.vchildren||[])}const t=u(n.vtag,n.vtext);return t.l=n.vattrs,t.o=n.vchildren,t.h=n.vkey,t.p=n.vname,t},h=n=>H(n).m,p=new WeakMap,y=n=>"sc-"+n.$,w=(n,t,e,l,s,r)=>{if(e!==l){let c=z(n,t),u=t.toLowerCase();if("class"===t){const t=n.classList,o=$(e),s=$(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else{const a=i(l);if((c||a&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,f=!0),null==l||!1===l?!1===l&&""!==n.getAttribute(t)||(f?n.removeAttributeNS(o,t):n.removeAttribute(t)):(!c||4&r||s)&&!a&&(l=!0===l?"":l,f?n.setAttributeNS(o,t,l):n.setAttribute(t,l))}}},m=/\s/,$=n=>n?n.split(m):[],b=(n,t,e,l)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,i=n&&n.l||s,r=t.l||s;for(l in i)l in r||w(o,l,i[l],void 0,e,t.i);for(l in r)w(o,l,i[l],r[l],e,t.i)},g=(t,l,o)=>{const s=l.o[o];let i,r,c=0;if(null!==s.t)i=s.v=K.createTextNode(s.t);else{if(e||(e="svg"===s.u),i=s.v=K.createElementNS(e?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),e&&"foreignObject"===s.u&&(e=!1),b(null,s,e),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(c=0;c<s.o.length;++c)r=g(t,s,c),r&&i.appendChild(r);"svg"===s.u?e=!1:"foreignObject"===i.tagName&&(e=!0)}return i},j=(n,e,l,o,s,i)=>{let r,c=n;for(c.shadowRoot&&c.tagName===t&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=g(null,l,s),r&&(o[s].v=r,c.insertBefore(r,e)))},S=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.v;n&&n.remove()}}},O=(n,t)=>n.u===t.u,k=(n,t)=>{const l=t.v=n.v,o=n.o,s=t.o,i=t.u,r=t.t;null===r?(e="svg"===i||"foreignObject"!==i&&e,b(n,t,e),null!==o&&null!==s?((n,t,e,l)=>{let o,s=0,i=0,r=t.length-1,c=t[0],u=t[r],a=l.length-1,f=l[0],d=l[a];for(;s<=r&&i<=a;)null==c?c=t[++s]:null==u?u=t[--r]:null==f?f=l[++i]:null==d?d=l[--a]:O(c,f)?(k(c,f),c=t[++s],f=l[++i]):O(u,d)?(k(u,d),u=t[--r],d=l[--a]):O(c,d)?(k(c,d),n.insertBefore(c.v,u.v.nextSibling),c=t[++s],d=l[--a]):O(u,f)?(k(u,f),n.insertBefore(u.v,c.v),u=t[--r],f=l[++i]):(o=g(t&&t[i],e,i),f=l[++i],o&&c.v.parentNode.insertBefore(o,c.v));s>r?j(n,null==l[a+1]?null:l[a+1].v,e,l,i,a):i>a&&S(t,s,r)})(l,o,t,s):null!==s?(null!==n.t&&(l.textContent=""),j(l,null,t,s,0,s.length-1)):null!==o&&S(o,0,o.length-1),e&&"svg"===i&&(e=!1)):n.t!==r&&(l.data=r)},M=(n,t)=>{t&&!n.j&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.j=t)))},x=(n,t)=>{if(n.i|=16,!(4&n.i))return M(n,n.S),sn((()=>C(n,t)));n.i|=512},C=(n,t)=>{const e=n.O;return P(void 0,(()=>A(n,e,t)))},P=(n,t)=>E(n)?n.then(t):t(),E=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,A=async(n,t,e)=>{var l;const o=n.m,s=o["s-rc"];e&&(n=>{const t=n.k,e=n.m,l=t.i,o=((n,t)=>{var e;const l=y(t),o=I.get(l);if(n=11===n.nodeType?n:K,o)if("string"==typeof o){let t,s=p.get(n=n.head||n);if(s||p.set(n,s=new Set),!s.has(l)){{t=K.createElement("style"),t.innerHTML=o;const l=null!==(e=Q.M)&&void 0!==e?e:r(K);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);N(n,t,o,e),s&&(s.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>T(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},N=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.m,i=e.C||u(null,null),r=(n=>n&&n.u===a)(l)?l:c(null,null,l);if(t=s.tagName,o&&r.l)for(const n of Object.keys(r.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(r.l[n]=s[n]);r.u=null,r.i|=4,e.C=r,r.v=i.v=s.shadowRoot||s,n=s["s-sc"],k(i,r)})(e,l,s)}catch(n){B(n,e.m)}return null},T=n=>{const t=n.m,e=n.S;64&n.i||(n.i|=64,L(t),n.P(t),e||F()),n.j&&(n.j(),n.j=void 0),512&n.i&&on((()=>x(n,!1))),n.i&=-517},F=()=>{L(K.documentElement),on((()=>(n=>{const t=Q.ce("appload",{detail:{namespace:"proto-ikon-loader-wc"}});return n.dispatchEvent(t),t})(J)))},L=n=>n.classList.add("hydrated"),R=(n,t,e)=>{var l;if(t.A){const o=Object.entries(t.A),s=n.prototype;if(o.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>H(this).N.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=H(n),s=o.N.get(t),r=o.i,c=o.O;e=((n,t)=>null==n||i(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.A[t][0]),8&r&&void 0!==s||e===s||Number.isNaN(s)&&Number.isNaN(e)||(o.N.set(t,e),c&&2==(18&r)&&x(o,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,l,o){Q.jmp((()=>{const i=e.get(n);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const e=H(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.O,i=t.T[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.T)&&void 0!==l?l:{}),...o.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},U=(n,t={})=>{var e;const l=[],o=t.exclude||[],s=J.customElements,i=K.head,c=i.querySelector("meta[charset]"),u=K.createElement("style"),a=[];let f,d=!0;Object.assign(Q,t),Q.F=new URL(t.resourcesUrl||"./",K.baseURI).href,n.map((n=>{n[1].map((t=>{const e={i:t[0],$:t[1],A:t[2],L:t[3]};e.A=t[2];const i=e.$,r=class extends HTMLElement{constructor(n){super(n),_(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),d?a.push(this):Q.jmp((()=>(n=>{if(0==(1&Q.i)){const t=H(n),e=t.k,l=()=>{};if(1&t.i)(null==t?void 0:t.O)||(null==t?void 0:t.R)&&t.R.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){M(t,t.S=e);break}}e.A&&Object.entries(e.A).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=G(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(R(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){B(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=y(e);if(!I.has(t)){const l=()=>{};((n,t,e)=>{let l=I.get(n);Y&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,I.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.S,s=()=>x(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){Q.jmp((()=>(async()=>{if(0==(1&Q.i)){const n=H(this);(null==n?void 0:n.O)||(null==n?void 0:n.R)&&n.R.then((()=>{}))}})()))}componentOnReady(){return H(this).R}};e.U=n[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,R(r,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=Q.M)&&void 0!==e?e:r(K);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((n=>n.connectedCallback())):Q.jmp((()=>f=setTimeout(F,30)))},W=n=>Q.M=n,q=new WeakMap,H=n=>q.get(n),V=(n,t)=>q.set(t.O=n,t),_=(n,t)=>{const e={i:0,m:n,k:t,N:new Map};return e.R=new Promise((n=>e.P=n)),n["s-p"]=[],n["s-rc"]=[],q.set(n,e)},z=(n,t)=>t in n,B=(n,t)=>(0,console.error)(n,t),D=new Map,G=n=>{const t=n.$.replace(/-/g,"_"),e=n.U,l=D.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(D.set(e,n),n[t])),B)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},I=new Map,J="undefined"!=typeof window?window:{},K=J.document||{head:{}},Q={i:0,F:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},X=n=>Promise.resolve(n),Y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Z=[],nn=[],tn=(n,t)=>e=>{n.push(e),l||(l=!0,t&&4&Q.i?on(ln):Q.raf(ln))},en=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){B(n)}n.length=0},ln=()=>{en(Z),en(nn),(l=Z.length>0)&&Q.raf(ln)},on=n=>X().then(n),sn=tn(nn,!0);export{U as b,h as g,c as h,X as p,V as r,W as s}
1
+ let n,t,e=!1,l=!1;const o="http://www.w3.org/1999/xlink",s={},i=n=>"object"==(n=typeof n)||"function"===n;function r(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,t,...e)=>{let l=null,o=!1,s=!1;const r=[],c=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!i(l))&&(l+=""),o&&s?r[r.length-1].t+=l:r.push(o?u(null,l):l),s=o)};if(c(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}if("function"==typeof n)return n(null===t?{}:t,r,f);const a=u(n,null);return a.l=t,r.length>0&&(a.o=r),a},u=(n,t)=>({i:0,u:n,t,v:null,o:null,l:null}),a={},f={forEach:(n,t)=>n.map(d).forEach(t),map:(n,t)=>n.map(d).map(t).map(v)},d=n=>({vattrs:n.l,vchildren:n.o,vkey:n.h,vname:n.p,vtag:n.u,vtext:n.t}),v=n=>{if("function"==typeof n.vtag){const t=Object.assign({},n.vattrs);return n.vkey&&(t.key=n.vkey),n.vname&&(t.name=n.vname),c(n.vtag,t,...n.vchildren||[])}const t=u(n.vtag,n.vtext);return t.l=n.vattrs,t.o=n.vchildren,t.h=n.vkey,t.p=n.vname,t},h=n=>H(n).$hostElement$,p=new WeakMap,y=n=>"sc-"+n.m,w=(n,t,e,l,s,r)=>{if(e!==l){let c=z(n,t),u=t.toLowerCase();if("class"===t){const t=n.classList,o=$(e),s=$(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else{const a=i(l);if((c||a&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,f=!0),null==l||!1===l?!1===l&&""!==n.getAttribute(t)||(f?n.removeAttributeNS(o,t):n.removeAttribute(t)):(!c||4&r||s)&&!a&&(l=!0===l?"":l,f?n.setAttributeNS(o,t,l):n.setAttribute(t,l))}}},m=/\s/,$=n=>n?n.split(m):[],b=(n,t,e,l)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,i=n&&n.l||s,r=t.l||s;for(l in i)l in r||w(o,l,i[l],void 0,e,t.i);for(l in r)w(o,l,i[l],r[l],e,t.i)},g=(t,l,o)=>{const s=l.o[o];let i,r,c=0;if(null!==s.t)i=s.v=K.createTextNode(s.t);else{if(e||(e="svg"===s.u),i=s.v=K.createElementNS(e?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),e&&"foreignObject"===s.u&&(e=!1),b(null,s,e),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(c=0;c<s.o.length;++c)r=g(t,s,c),r&&i.appendChild(r);"svg"===s.u?e=!1:"foreignObject"===i.tagName&&(e=!0)}return i},j=(n,e,l,o,s,i)=>{let r,c=n;for(c.shadowRoot&&c.tagName===t&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=g(null,l,s),r&&(o[s].v=r,c.insertBefore(r,e)))},S=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.v;n&&n.remove()}}},O=(n,t)=>n.u===t.u,k=(n,t)=>{const l=t.v=n.v,o=n.o,s=t.o,i=t.u,r=t.t;null===r?(e="svg"===i||"foreignObject"!==i&&e,b(n,t,e),null!==o&&null!==s?((n,t,e,l)=>{let o,s=0,i=0,r=t.length-1,c=t[0],u=t[r],a=l.length-1,f=l[0],d=l[a];for(;s<=r&&i<=a;)null==c?c=t[++s]:null==u?u=t[--r]:null==f?f=l[++i]:null==d?d=l[--a]:O(c,f)?(k(c,f),c=t[++s],f=l[++i]):O(u,d)?(k(u,d),u=t[--r],d=l[--a]):O(c,d)?(k(c,d),n.insertBefore(c.v,u.v.nextSibling),c=t[++s],d=l[--a]):O(u,f)?(k(u,f),n.insertBefore(u.v,c.v),u=t[--r],f=l[++i]):(o=g(t&&t[i],e,i),f=l[++i],o&&c.v.parentNode.insertBefore(o,c.v));s>r?j(n,null==l[a+1]?null:l[a+1].v,e,l,i,a):i>a&&S(t,s,r)})(l,o,t,s):null!==s?(null!==n.t&&(l.textContent=""),j(l,null,t,s,0,s.length-1)):null!==o&&S(o,0,o.length-1),e&&"svg"===i&&(e=!1)):n.t!==r&&(l.data=r)},M=(n,t)=>{t&&!n.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.$=t)))},x=(n,t)=>{if(n.i|=16,!(4&n.i))return M(n,n.j),sn((()=>C(n,t)));n.i|=512},C=(n,t)=>{const e=n.S;return P(void 0,(()=>A(n,e,t)))},P=(n,t)=>E(n)?n.then(t):t(),E=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,A=async(n,t,e)=>{var l;const o=n.$hostElement$,s=o["s-rc"];e&&(n=>{const t=n.O,e=n.$hostElement$,l=t.i,o=((n,t)=>{var e;const l=y(t),o=I.get(l);if(n=11===n.nodeType?n:K,o)if("string"==typeof o){let t,s=p.get(n=n.head||n);if(s||p.set(n,s=new Set),!s.has(l)){{t=K.createElement("style"),t.innerHTML=o;const l=null!==(e=Q.k)&&void 0!==e?e:r(K);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);N(n,t,o,e),s&&(s.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>T(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},N=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,i=e.M||u(null,null),r=(n=>n&&n.u===a)(l)?l:c(null,null,l);if(t=s.tagName,o&&r.l)for(const n of Object.keys(r.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(r.l[n]=s[n]);r.u=null,r.i|=4,e.M=r,r.v=i.v=s.shadowRoot||s,n=s["s-sc"],k(i,r)})(e,l,s)}catch(n){B(n,e.$hostElement$)}return null},T=n=>{const t=n.$hostElement$,e=n.j;64&n.i||(n.i|=64,L(t),n.C(t),e||F()),n.$&&(n.$(),n.$=void 0),512&n.i&&on((()=>x(n,!1))),n.i&=-517},F=()=>{L(K.documentElement),on((()=>(n=>{const t=Q.ce("appload",{detail:{namespace:"proto-ikon-loader-wc"}});return n.dispatchEvent(t),t})(J)))},L=n=>n.classList.add("hydrated"),R=(n,t,e)=>{var l;if(t.P){const o=Object.entries(t.P),s=n.prototype;if(o.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>H(this).A.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=H(n),s=o.A.get(t),r=o.i,c=o.S;e=((n,t)=>null==n||i(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.P[t][0]),8&r&&void 0!==s||e===s||Number.isNaN(s)&&Number.isNaN(e)||(o.A.set(t,e),c&&2==(18&r)&&x(o,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,l,o){Q.jmp((()=>{const i=e.get(n);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const e=H(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.S,i=t.N[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.N)&&void 0!==l?l:{}),...o.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},U=(n,t={})=>{var e;const l=[],o=t.exclude||[],s=J.customElements,i=K.head,c=i.querySelector("meta[charset]"),u=K.createElement("style"),a=[];let f,d=!0;Object.assign(Q,t),Q.T=new URL(t.resourcesUrl||"./",K.baseURI).href,n.map((n=>{n[1].map((t=>{const e={i:t[0],m:t[1],P:t[2],F:t[3]};e.P=t[2];const i=e.m,r=class extends HTMLElement{constructor(n){super(n),_(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),d?a.push(this):Q.jmp((()=>(n=>{if(0==(1&Q.i)){const t=H(n),e=t.O,l=()=>{};if(1&t.i)(null==t?void 0:t.S)||(null==t?void 0:t.L)&&t.L.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){M(t,t.j=e);break}}e.P&&Object.entries(e.P).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=G(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(R(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){B(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=y(e);if(!I.has(t)){const l=()=>{};((n,t,e)=>{let l=I.get(n);Y&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,I.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.j,s=()=>x(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){Q.jmp((()=>(async()=>{if(0==(1&Q.i)){const n=H(this);(null==n?void 0:n.S)||(null==n?void 0:n.L)&&n.L.then((()=>{}))}})()))}componentOnReady(){return H(this).L}};e.R=n[0],o.includes(i)||s.get(i)||(l.push(i),s.define(i,R(r,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=Q.k)&&void 0!==e?e:r(K);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((n=>n.connectedCallback())):Q.jmp((()=>f=setTimeout(F,30)))},W=n=>Q.k=n,q=new WeakMap,H=n=>q.get(n),V=(n,t)=>q.set(t.S=n,t),_=(n,t)=>{const e={i:0,$hostElement$:n,O:t,A:new Map};return e.L=new Promise((n=>e.C=n)),n["s-p"]=[],n["s-rc"]=[],q.set(n,e)},z=(n,t)=>t in n,B=(n,t)=>(0,console.error)(n,t),D=new Map,G=n=>{const t=n.m.replace(/-/g,"_"),e=n.R,l=D.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(D.set(e,n),n[t])),B)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},I=new Map,J="undefined"!=typeof window?window:{},K=J.document||{head:{}},Q={i:0,T:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},X=n=>Promise.resolve(n),Y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Z=[],nn=[],tn=(n,t)=>e=>{n.push(e),l||(l=!0,t&&4&Q.i?on(ln):Q.raf(ln))},en=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){B(n)}n.length=0},ln=()=>{en(Z),en(nn),(l=Z.length>0)&&Q.raf(ln)},on=n=>X().then(n),sn=tn(nn,!0);export{U as b,h as g,c as h,X as p,V as r,W as s}
@@ -1134,11 +1134,13 @@ export declare namespace JSXBase {
1134
1134
  autocomplete?: string;
1135
1135
  }
1136
1136
  interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1137
+ height?: number;
1137
1138
  media?: string;
1138
1139
  sizes?: string;
1139
1140
  src?: string;
1140
1141
  srcSet?: string;
1141
1142
  type?: string;
1143
+ width?: number;
1142
1144
  }
1143
1145
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1144
1146
  media?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-ikon-loader-wc",
3
- "version": "0.0.298",
3
+ "version": "0.0.300",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -28,14 +28,14 @@
28
28
  "lint": "eslint src/**/*.{ts,tsx}"
29
29
  },
30
30
  "dependencies": {
31
- "@stencil/core": "4.5.0",
31
+ "@stencil/core": "4.6.0",
32
32
  "proto-ikons-wc": "0.0.115"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@typescript-eslint/eslint-plugin": "6.8.0",
36
36
  "@typescript-eslint/parser": "6.8.0",
37
37
  "cspell": "7.3.8",
38
- "eslint": "8.51.0",
38
+ "eslint": "8.52.0",
39
39
  "prettier": "3.0.3",
40
40
  "typescript": "5.2.2"
41
41
  },