proto-ikons-wc 0.0.113 → 0.0.116

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-5a0eb06e.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.4.1 | 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-ikons-wc.cjs.js', document.baseURI).href));
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "compiler": {
124
124
  "name": "@stencil/core",
125
- "version": "4.4.1",
125
+ "version": "4.6.0",
126
126
  "typescriptVersion": "5.2.2"
127
127
  },
128
128
  "collections": [],
@@ -2,7 +2,7 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-ca9b9204.js';
2
2
  export { s as setNonce } from './index-ca9b9204.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.4.1 | 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=!1,t=!1;const e="http://www.w3.org/1999/xlink",l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(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 i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=new WeakMap,a=n=>"sc-"+n.p,f=(n,t,l,s,i,c)=>{if(l!==s){let r=U(n,t),u=t.toLowerCase();if("class"===t){const t=n.classList,e=h(l),o=h(s);t.remove(...e.filter((n=>n&&!o.includes(n)))),t.add(...o.filter((n=>n&&!e.includes(n))))}else{const a=o(s);if((r||a&&null!==s)&&!i)try{if(n.tagName.includes("-"))n[t]=s;else{const e=null==s?"":s;"list"===t?r=!1:null!=l&&n[t]==e||(n[t]=e)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,f=!0),null==s||!1===s?!1===s&&""!==n.getAttribute(t)||(f?n.removeAttributeNS(e,t):n.removeAttribute(t)):(!r||4&c||i)&&!a&&(s=!0===s?"":s,f?n.setAttributeNS(e,t,s):n.setAttribute(t,s))}}},d=/\s/,h=n=>n?n.split(d):[],y=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||f(s,o,i[o],void 0,e,t.i);for(o in c)f(s,o,i[o],c[o],e,t.i)},p=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(null!==o.t)s=o.h=z.createTextNode(o.t);else{if(n||(n="svg"===o.u),s=o.h=z.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.u),n&&"foreignObject"===o.u&&(n=!1),y(null,o,n),o.o)for(c=0;c<o.o.length;++c)i=p(t,o,c),i&&s.appendChild(i);"svg"===o.u?n=!1:"foreignObject"===s.tagName&&(n=!0)}return s},w=(n,t,e,l,o,s)=>{let i,c=n;for(;o<=s;++o)l[o]&&(i=p(null,e,o),i&&(l[o].h=i,c.insertBefore(i,t)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},$=(n,t)=>n.u===t.u,m=(t,e)=>{const l=e.h=t.h,o=t.o,s=e.o,i=e.u,c=e.t;null===c?(n="svg"===i||"foreignObject"!==i&&n,y(t,e,n),null!==o&&null!==s?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:$(r,f)?(m(r,f),r=t[++s],f=l[++i]):$(u,d)?(m(u,d),u=t[--c],d=l[--a]):$(r,d)?(m(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):$(u,f)?(m(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=p(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?w(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(l,o,e,s):null!==s?(null!==t.t&&(l.textContent=""),w(l,null,e,s,0,s.length-1)):null!==o&&v(o,0,o.length-1),n&&"svg"===i&&(n=!1)):t.t!==c&&(l.data=c)},b=(n,t)=>{t&&!n.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.v=t)))},g=(n,t)=>{if(n.i|=16,!(4&n.i))return b(n,n.$),Z((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.m;return S(void 0,(()=>k(n,e,t)))},S=(n,t)=>O(n)?n.then(t):t(),O=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var l;const o=n.j,i=o["s-rc"];e&&(n=>{const t=n.S;((n,t)=>{var e;const l=a(t),o=V.get(l);if(n=11===n.nodeType?n:z,o)if("string"==typeof o){let t,i=u.get(n=n.head||n);if(i||u.set(n,i=new Set),!i.has(l)){{t=z.createElement("style"),t.innerHTML=o;const l=null!==(e=B.O)&&void 0!==e?e:s(z);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o])})(n.j.getRootNode(),t)})(n);M(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>x(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},M=(n,t,e,l)=>{try{t=t.render(),n.i&=-17,n.i|=2,((n,t,e=!1)=>{const l=n.j,o=n.k||c(null,null),s=(n=>n&&n.u===r)(t)?t:i(null,null,t);if(e&&s.l)for(const n of Object.keys(s.l))l.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(s.l[n]=l[n]);s.u=null,s.i|=4,n.k=s,s.h=o.h=l,m(o,s)})(n,t,l)}catch(t){W(t,n.j)}return null},x=n=>{const t=n.j,e=n.$;64&n.i||(n.i|=64,P(t),n.M(t),e||C()),n.v&&(n.v(),n.v=void 0),512&n.i&&Y((()=>g(n,!1))),n.i&=-517},C=()=>{P(z.documentElement),Y((()=>(n=>{const t=B.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return n.dispatchEvent(t),t})(_)))},P=n=>n.classList.add("hydrated"),A=(n,t,e)=>{var l;if(t.C){const s=Object.entries(t.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>F(this).P.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.P.get(t),c=s.i,r=s.m;e=((n,t)=>null==n||o(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.P.set(t,e),r&&2==(18&c)&&g(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){B.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=F(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.m,i=t.A[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},E=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=_.customElements,c=z.head,r=c.querySelector("meta[charset]"),u=z.createElement("style"),f=[];let d,h=!0;Object.assign(B,t),B.N=new URL(t.resourcesUrl||"./",z.baseURI).href,n.map((n=>{n[1].map((t=>{const e={i:t[0],p:t[1],C:t[2],T:t[3]};e.C=t[2];const s=e.p,c=class extends HTMLElement{constructor(n){super(n),R(n=this,e)}connectedCallback(){d&&(clearTimeout(d),d=null),h?f.push(this):B.jmp((()=>(n=>{if(0==(1&B.i)){const t=F(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.m)||(null==t?void 0:t.F)&&t.F.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){b(t,t.$=e);break}}e.C&&Object.entries(e.C).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=H(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(A(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){W(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=a(e);if(!V.has(t)){const l=()=>{};((n,t,e)=>{let l=V.get(n);G&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,V.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.$,s=()=>g(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>(async()=>{if(0==(1&B.i)){const n=F(this);(null==n?void 0:n.m)||(null==n?void 0:n.F)&&n.F.then((()=>{}))}})()))}componentOnReady(){return F(this).F}};e.L=n[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,A(c,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=B.O)&&void 0!==e?e:s(z);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}h=!1,f.length?f.map((n=>n.connectedCallback())):B.jmp((()=>d=setTimeout(C,30)))},N=n=>B.O=n,T=new WeakMap,F=n=>T.get(n),L=(n,t)=>T.set(t.m=n,t),R=(n,t)=>{const e={i:0,j:n,S:t,P:new Map};return e.F=new Promise((n=>e.M=n)),n["s-p"]=[],n["s-rc"]=[],T.set(n,e)},U=(n,t)=>t in n,W=(n,t)=>(0,console.error)(n,t),q=new Map,H=n=>{const t=n.p.replace(/-/g,"_"),e=n.L,l=q.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(q.set(e,n),n[t])),W)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,N:"",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)},D=n=>Promise.resolve(n),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),I=[],J=[],K=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&B.i?Y(X):B.raf(X))},Q=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){W(n)}n.length=0},X=()=>{Q(I),Q(J),(t=I.length>0)&&B.raf(X)},Y=n=>D().then(n),Z=K(J,!0);export{E as b,i as h,D as p,L as r,N as s}
1
+ let n=!1,t=!1;const e="http://www.w3.org/1999/xlink",l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(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 i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=new WeakMap,a=n=>"sc-"+n.p,f=(n,t,l,s,i,c)=>{if(l!==s){let r=U(n,t),u=t.toLowerCase();if("class"===t){const t=n.classList,e=h(l),o=h(s);t.remove(...e.filter((n=>n&&!o.includes(n)))),t.add(...o.filter((n=>n&&!e.includes(n))))}else{const a=o(s);if((r||a&&null!==s)&&!i)try{if(n.tagName.includes("-"))n[t]=s;else{const e=null==s?"":s;"list"===t?r=!1:null!=l&&n[t]==e||(n[t]=e)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,f=!0),null==s||!1===s?!1===s&&""!==n.getAttribute(t)||(f?n.removeAttributeNS(e,t):n.removeAttribute(t)):(!r||4&c||i)&&!a&&(s=!0===s?"":s,f?n.setAttributeNS(e,t,s):n.setAttribute(t,s))}}},d=/\s/,h=n=>n?n.split(d):[],y=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||f(s,o,i[o],void 0,e,t.i);for(o in c)f(s,o,i[o],c[o],e,t.i)},p=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(null!==o.t)s=o.h=z.createTextNode(o.t);else{if(n||(n="svg"===o.u),s=o.h=z.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.u),n&&"foreignObject"===o.u&&(n=!1),y(null,o,n),o.o)for(c=0;c<o.o.length;++c)i=p(t,o,c),i&&s.appendChild(i);"svg"===o.u?n=!1:"foreignObject"===s.tagName&&(n=!0)}return s},w=(n,t,e,l,o,s)=>{let i,c=n;for(;o<=s;++o)l[o]&&(i=p(null,e,o),i&&(l[o].h=i,c.insertBefore(i,t)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},$=(n,t)=>n.u===t.u,m=(t,e)=>{const l=e.h=t.h,o=t.o,s=e.o,i=e.u,c=e.t;null===c?(n="svg"===i||"foreignObject"!==i&&n,y(t,e,n),null!==o&&null!==s?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:$(r,f)?(m(r,f),r=t[++s],f=l[++i]):$(u,d)?(m(u,d),u=t[--c],d=l[--a]):$(r,d)?(m(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):$(u,f)?(m(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=p(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?w(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(l,o,e,s):null!==s?(null!==t.t&&(l.textContent=""),w(l,null,e,s,0,s.length-1)):null!==o&&v(o,0,o.length-1),n&&"svg"===i&&(n=!1)):t.t!==c&&(l.data=c)},b=(n,t)=>{t&&!n.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.v=t)))},g=(n,t)=>{if(n.i|=16,!(4&n.i))return b(n,n.$),Z((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.m;return S(void 0,(()=>k(n,e,t)))},S=(n,t)=>O(n)?n.then(t):t(),O=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var l;const o=n.$hostElement$,i=o["s-rc"];e&&(n=>{const t=n.j;((n,t)=>{var e;const l=a(t),o=V.get(l);if(n=11===n.nodeType?n:z,o)if("string"==typeof o){let t,i=u.get(n=n.head||n);if(i||u.set(n,i=new Set),!i.has(l)){{t=z.createElement("style"),t.innerHTML=o;const l=null!==(e=B.S)&&void 0!==e?e:s(z);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o])})(n.$hostElement$.getRootNode(),t)})(n);M(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>x(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},M=(n,t,e,l)=>{try{t=t.render(),n.i&=-17,n.i|=2,((n,t,e=!1)=>{const l=n.$hostElement$,o=n.O||c(null,null),s=(n=>n&&n.u===r)(t)?t:i(null,null,t);if(e&&s.l)for(const n of Object.keys(s.l))l.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(s.l[n]=l[n]);s.u=null,s.i|=4,n.O=s,s.h=o.h=l,m(o,s)})(n,t,l)}catch(t){W(t,n.$hostElement$)}return null},x=n=>{const t=n.$hostElement$,e=n.$;64&n.i||(n.i|=64,P(t),n.k(t),e||C()),n.v&&(n.v(),n.v=void 0),512&n.i&&Y((()=>g(n,!1))),n.i&=-517},C=()=>{P(z.documentElement),Y((()=>(n=>{const t=B.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return n.dispatchEvent(t),t})(_)))},P=n=>n.classList.add("hydrated"),A=(n,t,e)=>{var l;if(t.M){const s=Object.entries(t.M),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>F(this).C.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.C.get(t),c=s.i,r=s.m;e=((n,t)=>null==n||o(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.M[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.C.set(t,e),r&&2==(18&c)&&g(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){B.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=F(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.m,i=t.P[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},E=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=_.customElements,c=z.head,r=c.querySelector("meta[charset]"),u=z.createElement("style"),f=[];let d,h=!0;Object.assign(B,t),B.A=new URL(t.resourcesUrl||"./",z.baseURI).href,n.map((n=>{n[1].map((t=>{const e={i:t[0],p:t[1],M:t[2],N:t[3]};e.M=t[2];const s=e.p,c=class extends HTMLElement{constructor(n){super(n),R(n=this,e)}connectedCallback(){d&&(clearTimeout(d),d=null),h?f.push(this):B.jmp((()=>(n=>{if(0==(1&B.i)){const t=F(n),e=t.j,l=()=>{};if(1&t.i)(null==t?void 0:t.m)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){b(t,t.$=e);break}}e.M&&Object.entries(e.M).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=H(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(A(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){W(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=a(e);if(!V.has(t)){const l=()=>{};((n,t,e)=>{let l=V.get(n);G&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,V.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.$,s=()=>g(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>(async()=>{if(0==(1&B.i)){const n=F(this);(null==n?void 0:n.m)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return F(this).T}};e.F=n[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,A(c,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=B.S)&&void 0!==e?e:s(z);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}h=!1,f.length?f.map((n=>n.connectedCallback())):B.jmp((()=>d=setTimeout(C,30)))},N=n=>B.S=n,T=new WeakMap,F=n=>T.get(n),L=(n,t)=>T.set(t.m=n,t),R=(n,t)=>{const e={i:0,$hostElement$:n,j:t,C:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],T.set(n,e)},U=(n,t)=>t in n,W=(n,t)=>(0,console.error)(n,t),q=new Map,H=n=>{const t=n.p.replace(/-/g,"_"),e=n.F,l=q.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(q.set(e,n),n[t])),W)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,A:"",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)},D=n=>Promise.resolve(n),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),I=[],J=[],K=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&B.i?Y(X):B.raf(X))},Q=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){W(n)}n.length=0},X=()=>{Q(I),Q(J),(t=I.length>0)&&B.raf(X)},Y=n=>D().then(n),Z=K(J,!0);export{E as b,i as h,D as p,L as r,N as s}
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
3
3
  (opts?: ComponentOptions): ClassDecorator;
4
4
  }
5
5
  export interface ComponentOptions {
6
+ /**
7
+ * When set to `true` this component will be form-associated. See
8
+ * https://stenciljs.com/docs/next/form-associated documentation on how to
9
+ * build form-associated Stencil components that integrate into forms like
10
+ * native browser elements such as `<input>` and `<textarea>`.
11
+ *
12
+ * The {@link AttachInternals} decorator allows for access to the
13
+ * `ElementInternals` object to modify the associated form.
14
+ */
15
+ formAssociated?: boolean;
6
16
  /**
7
17
  * Tag name of the web component. Ideally, the tag name must be globally unique,
8
18
  * so it's recommended to choose an unique prefix for all your components within the same collection.
@@ -107,6 +117,9 @@ export interface EventOptions {
107
117
  */
108
118
  composed?: boolean;
109
119
  }
120
+ export interface AttachInternalsDecorator {
121
+ (): PropertyDecorator;
122
+ }
110
123
  export interface ListenDecorator {
111
124
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
125
  }
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
175
188
  * https://stenciljs.com/docs/events
176
189
  */
177
190
  export declare const Event: EventDecorator;
191
+ /**
192
+ * If the `formAssociated` option is set in options passed to the
193
+ * `@Component()` decorator then this decorator may be used to get access to the
194
+ * `ElementInternals` instance associated with the component.
195
+ */
196
+ export declare const AttachInternals: AttachInternalsDecorator;
178
197
  /**
179
198
  * The `Listen()` decorator is for listening DOM events, including the ones
180
199
  * dispatched from `@Events()`.
@@ -1115,11 +1134,13 @@ export declare namespace JSXBase {
1115
1134
  autocomplete?: string;
1116
1135
  }
1117
1136
  interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1137
+ height?: number;
1118
1138
  media?: string;
1119
1139
  sizes?: string;
1120
1140
  src?: string;
1121
1141
  srcSet?: string;
1122
1142
  type?: string;
1143
+ width?: number;
1123
1144
  }
1124
1145
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1125
1146
  media?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-ikons-wc",
3
- "version": "0.0.113",
3
+ "version": "0.0.116",
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.4.1"
30
+ "@stencil/core": "4.6.0"
31
31
  },
32
32
  "license": "MIT",
33
33
  "devDependencies": {