proto-ikons-wc 0.0.147 → 0.0.149

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-74bd818f.js');
5
+ const index = require('./index-0166f464.js');
6
6
 
7
7
  const acuraIkonCss = "";
8
8
  const AcuraIkonStyle0 = acuraIkonCss;
@@ -23,7 +23,7 @@ function _interopNamespace(e) {
23
23
  const NAMESPACE = 'proto-ikons-wc';
24
24
 
25
25
  /*
26
- Stencil Client Platform v4.17.0 | MIT Licensed | https://stenciljs.com
26
+ Stencil Client Platform v4.17.2 | MIT Licensed | https://stenciljs.com
27
27
  */
28
28
  var __defProp = Object.defineProperty;
29
29
  var __export = (target, all) => {
@@ -313,18 +313,18 @@ var parseClassListRegex = /\s/;
313
313
  var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
314
314
 
315
315
  // src/runtime/vdom/update-element.ts
316
- var updateElement = (oldVnode, newVnode, isSvgMode2, memberName) => {
316
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
317
317
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
318
318
  const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
319
319
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
320
320
  {
321
- for (memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
321
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
322
322
  if (!(memberName in newVnodeAttrs)) {
323
323
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
324
324
  }
325
325
  }
326
326
  }
327
- for (memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
327
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
328
328
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
329
329
  }
330
330
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-74bd818f.js');
5
+ const index = require('./index-0166f464.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-74bd818f.js');
5
+ const index = require('./index-0166f464.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.17.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.17.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  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.17.0",
125
+ "version": "4.17.2",
126
126
  "typescriptVersion": "5.4.5"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-197e777a.js';
1
+ import { r as registerInstance, h } from './index-60634889.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
  const AcuraIkonStyle0 = acuraIkonCss;
@@ -1,7 +1,7 @@
1
1
  const NAMESPACE = 'proto-ikons-wc';
2
2
 
3
3
  /*
4
- Stencil Client Platform v4.17.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Platform v4.17.2 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  var __defProp = Object.defineProperty;
7
7
  var __export = (target, all) => {
@@ -291,18 +291,18 @@ var parseClassListRegex = /\s/;
291
291
  var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
292
292
 
293
293
  // src/runtime/vdom/update-element.ts
294
- var updateElement = (oldVnode, newVnode, isSvgMode2, memberName) => {
294
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
295
295
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
296
296
  const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
297
297
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
298
298
  {
299
- for (memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
299
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
300
300
  if (!(memberName in newVnodeAttrs)) {
301
301
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
302
302
  }
303
303
  }
304
304
  }
305
- for (memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
305
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
306
306
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
307
307
  }
308
308
  };
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-197e777a.js';
2
- export { s as setNonce } from './index-197e777a.js';
1
+ import { b as bootstrapLazy } from './index-60634889.js';
2
+ export { s as setNonce } from './index-60634889.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-197e777a.js';
2
- export { s as setNonce } from './index-197e777a.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-60634889.js';
2
+ export { s as setNonce } from './index-60634889.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.17.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.17.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,n={},t=e=>"object"==(e=typeof e)||"function"===e;function l(e){var n,t,l;return null!=(l=null==(t=null==(n=e.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?l:void 0}((n,t)=>{for(var l in t)e(n,l,{get:t[l],enumerable:!0})})({},{err:()=>o,map:()=>r,ok:()=>s,unwrap:()=>c,unwrapErr:()=>u});var s=e=>({isOk:!0,isErr:!1,value:e}),o=e=>({isOk:!1,isErr:!0,value:e});function r(e,n){if(e.isOk){const t=n(e.value);return t instanceof Promise?t.then((e=>s(e))):s(t)}if(e.isErr)return o(e.value);throw"should never get here"}var i,c=e=>{if(e.isOk)return e.value;throw e.value},u=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",d=(e,n,...l)=>{let s=null,o=null,r=!1,i=!1;const c=[],u=n=>{for(let l=0;l<n.length;l++)s=n[l],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!t(s))&&(s+=""),r&&i?c[c.length-1].t+=s:c.push(r?h(null,s):s),i=r)};if(u(l),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const f=h(e,null);return f.l=n,c.length>0&&(f.o=c),f.i=o,f},h=(e,n)=>({u:0,h:e,t:n,p:null,o:null,l:null,i:null}),p={},w=new WeakMap,y=e=>"sc-"+e.v,v=(e,n,l,s,o,r)=>{if(l!==s){let i=D(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,t=$(l),o=$(s);n.remove(...t.filter((e=>e&&!o.includes(e)))),n.add(...o.filter((e=>e&&!t.includes(e))))}else if("key"===n);else{const u=t(s);if((i||u&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[n]=s;else{const t=null==s?"":s;"list"===n?i=!1:null!=l&&e[n]==t||(e[n]=t)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,f=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(n)||(f?e.removeAttributeNS(a,n):e.removeAttribute(n)):(!i||4&r||o)&&!u&&(s=!0===s?"":s,f?e.setAttributeNS(a,n,s):e.setAttribute(n,s))}}},m=/\s/,$=e=>e?e.split(m):[],b=(e,t,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.l||n,r=t.l||n;for(const e of g(Object.keys(o)))e in r||v(s,e,o[e],void 0,l,t.u);for(const e of g(Object.keys(r)))v(s,e,o[e],r[e],l,t.u)};function g(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var j=!1,k=(e,n,t)=>{const l=n.o[t];let s,o,r=0;if(null!==l.t)s=l.p=X.createTextNode(l.t);else{if(j||(j="svg"===l.h),s=l.p=X.createElementNS(j?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.h),j&&"foreignObject"===l.h&&(j=!1),b(null,l,j),l.o)for(r=0;r<l.o.length;++r)o=k(e,l,r),o&&s.appendChild(o);"svg"===l.h?j=!1:"foreignObject"===s.tagName&&(j=!0)}return s["s-hn"]=i,s},O=(e,n,t,l,s,o)=>{let r,i=e;for(;s<=o;++s)l[s]&&(r=k(null,t,s),r&&(l[s].p=r,i.insertBefore(r,n)))},S=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;e&&e.remove()}}},M=(e,n,t=!1)=>e.h===n.h&&(!!t||e.i===n.i),E=(e,n,t=!1)=>{const l=n.p=e.p,s=e.o,o=n.o,r=n.h,i=n.t;null===i?(b(e,n,j="svg"===r||"foreignObject"!==r&&j),null!==s&&null!==o?((e,n,t,l,s=!1)=>{let o,r,i=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=l.length-1,w=l[0],y=l[p];for(;i<=a&&c<=p;)if(null==d)d=n[++i];else if(null==h)h=n[--a];else if(null==w)w=l[++c];else if(null==y)y=l[--p];else if(M(d,w,s))E(d,w,s),d=n[++i],w=l[++c];else if(M(h,y,s))E(h,y,s),h=n[--a],y=l[--p];else if(M(d,y,s))E(d,y,s),e.insertBefore(d.p,h.p.nextSibling),d=n[++i],y=l[--p];else if(M(h,w,s))E(h,w,s),e.insertBefore(h.p,d.p),h=n[--a],w=l[++c];else{for(u=-1,f=i;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===w.i){u=f;break}u>=0?(r=n[u],r.h!==w.h?o=k(n&&n[c],t,u):(E(r,w,s),n[u]=void 0,o=r.p),w=l[++c]):(o=k(n&&n[c],t,c),w=l[++c]),o&&d.p.parentNode.insertBefore(o,d.p)}i>a?O(e,null==l[p+1]?null:l[p+1].p,t,l,c,p):c>p&&S(n,i,a)})(l,s,n,o,t):null!==o?(null!==e.t&&(l.textContent=""),O(l,null,n,o,0,o.length-1)):null!==s&&S(s,0,s.length-1),j&&"svg"===r&&(j=!1)):e.t!==i&&(l.data=i)},x=(e,n)=>{n&&!e.m&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.m=n)))},C=(e,n)=>{if(e.u|=16,!(4&e.u))return x(e,e.$),ce((()=>P(e,n)));e.u|=512},P=(e,n)=>{const t=e.j;return A(void 0,(()=>T(e,t,n)))},A=(e,n)=>N(e)?e.then(n):n(),N=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,T=async(e,n,t)=>{var s;const o=e.$hostElement$,r=o["s-rc"];t&&(e=>{const n=e.k;((e,n)=>{var t;const s=y(n),o=K.get(s);if(e=11===e.nodeType?e:X,o)if("string"==typeof o){let r,i=w.get(e=e.head||e);if(i||w.set(e,i=new Set),!i.has(s)){{r=X.createElement("style"),r.innerHTML=o;const n=null!=(t=Y.O)?t:l(X);null!=n&&r.setAttribute("nonce",n),e.insertBefore(r,e.querySelector("link"))}4&n.u&&(r.innerHTML+=f),i&&i.add(s)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),n)})(e);F(e,n,o,t),r&&(r.map((e=>e())),o["s-rc"]=void 0);{const n=null!=(s=o["s-p"])?s:[],t=()=>L(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},F=(e,n,t,l)=>{try{n=n.render(),e.u&=-17,e.u|=2,((e,n,t=!1)=>{const l=e.$hostElement$,s=e.S||h(null,null),o=(e=>e&&e.h===p)(n)?n:d(null,null,n);if(i=l.tagName,t&&o.l)for(const e of Object.keys(o.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(o.l[e]=l[e]);o.h=null,o.u|=4,e.S=o,o.p=s.p=l,E(s,o,t)})(e,n,l)}catch(n){G(n,e.$hostElement$)}return null},L=e=>{const n=e.$hostElement$,t=e.$;64&e.u||(e.u|=64,U(n),e.M(n),t||R()),e.m&&(e.m(),e.m=void 0),512&e.u&&ie((()=>C(e,!1))),e.u&=-517},R=()=>{U(X.documentElement),ie((()=>(e=>{const n=Y.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(n),n})(Q)))},U=e=>e.classList.add("hydrated"),W=(e,n,l)=>{var s;const o=e.prototype;if(n.C){const r=Object.entries(n.C);if(r.map((([e,[s]])=>{(31&s||2&l&&32&s)&&Object.defineProperty(o,e,{get(){return((e,n)=>_(this).P.get(n))(0,e)},set(l){((e,n,l,s)=>{const o=_(e),r=o.P.get(n),i=o.u,c=o.j;l=((e,n)=>null==e||t(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(l,s.C[n][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(o.P.set(n,l),c&&2==(18&i)&&C(o,!1))})(this,e,l,n)},configurable:!0,enumerable:!0})})),1&l){const t=new Map;o.attributeChangedCallback=function(e,l,s){Y.jmp((()=>{var r;const i=t.get(e);if(this.hasOwnProperty(i))s=this[i],delete this[i];else{if(o.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==s)return;if(null==i){const t=_(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,i=null==(r=n.A)?void 0:r[e];null==i||i.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[i]=(null!==s||"boolean"!=typeof this[i])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.A)?s:{}),...r.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},q=(e,n={})=>{var t;const s=[],o=n.exclude||[],r=Q.customElements,i=X.head,c=i.querySelector("meta[charset]"),u=X.createElement("style"),a=[];let d,h=!0;Object.assign(Y,n),Y.N=new URL(n.resourcesUrl||"./",X.baseURI).href;let p=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],v:n[1],C:n[2],T:n[3]};4&t.u&&(p=!0),t.C=n[2];const l=t.v,i=class extends HTMLElement{constructor(e){super(e),B(e=this,t)}connectedCallback(){d&&(clearTimeout(d),d=null),h?a.push(this):Y.jmp((()=>(e=>{if(!(1&Y.u)){const n=_(e),t=n.k,l=()=>{};if(1&n.u)(null==n?void 0:n.j)||(null==n?void 0:n.F)&&n.F.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){x(n,n.$=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(!(32&n.u)){if(n.u|=32,t.L){if(l=J(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(W(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){G(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.v).then((()=>n.u|=128));if(l.style){let e=l.style;const n=y(t);if(!K.has(n)){const l=()=>{};((e,n,t)=>{let l=K.get(e);ee&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,K.set(e,l)})(n,e,!!(1&t.u)),l()}}}const s=n.$,o=()=>C(n,!0);s&&s["s-rc"]?s["s-rc"].push(o):o()})(e,n,t)}l()}})(this)))}disconnectedCallback(){Y.jmp((()=>(async()=>{if(!(1&Y.u)){const e=_(this);(null==e?void 0:e.j)||(null==e?void 0:e.F)&&e.F.then((()=>{}))}})()))}componentOnReady(){return _(this).F}};t.L=e[0],o.includes(l)||r.get(l)||(s.push(l),r.define(l,W(i,t,1)))}))})),s.length>0&&(p&&(u.textContent+=f),u.textContent+=s+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(t=Y.O)?t:l(X);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):Y.jmp((()=>d=setTimeout(R,30)))},H=e=>Y.O=e,V=new WeakMap,_=e=>V.get(e),z=(e,n)=>V.set(n.j=e,n),B=(e,n)=>{const t={u:0,$hostElement$:e,k:n,P:new Map};return t.F=new Promise((e=>t.M=e)),e["s-p"]=[],e["s-rc"]=[],V.set(e,t)},D=(e,n)=>n in e,G=(e,n)=>(0,console.error)(e,n),I=new Map,J=e=>{const n=e.v.replace(/-/g,"_"),t=e.L,l=I.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(I.set(t,e),e[n])),G)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},K=new Map,Q="undefined"!=typeof window?window:{},X=Q.document||{head:{}},Y={u:0,N:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},Z=e=>Promise.resolve(e),ee=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ne=!1,te=[],le=[],se=(e,n)=>t=>{e.push(t),ne||(ne=!0,n&&4&Y.u?ie(re):Y.raf(re))},oe=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){G(e)}e.length=0},re=()=>{oe(te),oe(le),(ne=te.length>0)&&Y.raf(re)},ie=e=>Z().then(e),ce=se(le,!0);export{q as b,d as h,Z as p,z as r,H as s}