proto-icons-wc 0.0.511 → 0.0.512
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/icon-proofs.cjs.entry.js +1 -1
- package/dist/cjs/{index-3dcbba3b.js → index-1731d630.js} +4 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-icons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/icon-proofs.entry.js +1 -1
- package/dist/esm/{index-857ca90f.js → index-2a0f6ae0.js} +4 -5
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-icons-wc.js +3 -3
- package/dist/proto-icons-wc/{p-19ed8bce.entry.js → p-4673a879.entry.js} +1 -1
- package/dist/proto-icons-wc/{p-e048461d.js → p-f8f31cbf.js} +1 -1
- package/dist/proto-icons-wc/proto-icons-wc.esm.js +1 -1
- package/package.json +4 -4
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'proto-icons-wc';
|
|
|
24
24
|
const BUILD = /* proto-icons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: false, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.19.
|
|
27
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -310,13 +310,12 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
310
310
|
};
|
|
311
311
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
312
312
|
var _a;
|
|
313
|
-
const styleContainerDocument = styleContainerNode;
|
|
314
313
|
const scopeId2 = getScopeId(cmpMeta);
|
|
315
314
|
const style = styles.get(scopeId2);
|
|
316
315
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
317
316
|
if (style) {
|
|
318
317
|
if (typeof style === "string") {
|
|
319
|
-
styleContainerNode =
|
|
318
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
320
319
|
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
321
320
|
let styleElm;
|
|
322
321
|
if (!appliedStyles) {
|
|
@@ -339,8 +338,8 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
339
338
|
appliedStyles.add(scopeId2);
|
|
340
339
|
}
|
|
341
340
|
}
|
|
342
|
-
} else if (!
|
|
343
|
-
|
|
341
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
342
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
344
343
|
}
|
|
345
344
|
}
|
|
346
345
|
return scopeId2;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1731d630.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-
|
|
5
|
+
const index = require('./index-1731d630.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.19.
|
|
9
|
+
Stencil Client Patch Browser v4.19.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-icons-wc.cjs.js', document.baseURI).href));
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-icons-wc';
|
|
|
2
2
|
const BUILD = /* proto-icons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: false, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.19.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -288,13 +288,12 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
288
288
|
};
|
|
289
289
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
290
290
|
var _a;
|
|
291
|
-
const styleContainerDocument = styleContainerNode;
|
|
292
291
|
const scopeId2 = getScopeId(cmpMeta);
|
|
293
292
|
const style = styles.get(scopeId2);
|
|
294
293
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
295
294
|
if (style) {
|
|
296
295
|
if (typeof style === "string") {
|
|
297
|
-
styleContainerNode =
|
|
296
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
298
297
|
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
299
298
|
let styleElm;
|
|
300
299
|
if (!appliedStyles) {
|
|
@@ -317,8 +316,8 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
317
316
|
appliedStyles.add(scopeId2);
|
|
318
317
|
}
|
|
319
318
|
}
|
|
320
|
-
} else if (!
|
|
321
|
-
|
|
319
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
320
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
322
321
|
}
|
|
323
322
|
}
|
|
324
323
|
return scopeId2;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-2a0f6ae0.js';
|
|
2
|
+
export { s as setNonce } from './index-2a0f6ae0.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-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-2a0f6ae0.js';
|
|
2
|
+
export { s as setNonce } from './index-2a0f6ae0.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.19.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as l}from"./p-
|
|
1
|
+
import{r as e,h as l}from"./p-f8f31cbf.js";const o={"arrow-up":"M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z","arrow-down":"M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z",left:"M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z",right:"M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z",up:"M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z",down:"M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z",more:"M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z"},r=Object.keys(o),a=class{constructor(a){e(this,a),this.icons=[...r,"pad"],this.protoIcon=(e,r,a=24)=>{const t=o[e];return l("svg",{width:a,height:a,viewBox:"0 0 24 24",role:"img","aria-labelledby":"title"},l("title",null,e),l("g",{fill:r},l("path",{d:t})),l("path",{d:"M0 0h24v24H0z",fill:"none"}))},this.iconRow=e=>{const{colors:o,icons:r,protoIcon:a}=this;return l("div",{class:"proof"},l("div",{class:"label"},e,a("down","currentColor")),l("hr",null),l("div",{class:"row"},r.map((l=>a(l,o[l],e)))))},this.colors={},this.sizes=[24]}render(){const{sizes:e}=this;return l("div",{key:"cf13d87ba4b705df3ad2fe9365bbc900a63ba8a7",class:"page"},l("h1",{key:"1c2de1cdc8db4a89cf57ad5e3670ad0f7f1fa79e"},"Icon Proofs"),l("div",{key:"a1abaa6fa8da925f551074424dd724766329b20e",class:"sheet"},e.map((e=>this.iconRow(e)))),";")}};a.style=".page{color:var(--clrs-navy);font-family:'Roboto', 'Helvetica Neue', Arial, sans-serif;-webkit-font-smoothing:antialiased}.sheet{display:flex;flex-direction:column;margin:16px}.proof{display:flex;flex-direction:column;margin-bottom:32px}.proof svg{fill:var(--cx-icon-fill, '#111111')}.label{font-size:24px;font-weight:bold;color:var(--clrs-red);display:flex;flex-direction:row;align-items:center}.row{display:flex;flex-direction:row;flex-wrap:wrap}h1{color:var(--clrs-red);text-transform:uppercase;font-size:4em;font-weight:100;text-align:center}hr{margin-left:0;margin-right:0}";export{a as icon_proofs}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,p=[],d=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&a.o?v($):a.raf($))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},$=()=>{y(p),y(d),(m=p.length>0)&&a.raf($)},v=e=>f().then(e),b=w(d,!0),g={},S=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>O,map:()=>E,ok:()=>k,unwrap:()=>x,unwrapErr:()=>P});var k=e=>({isOk:!0,isErr:!1,value:e}),O=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>k(e))):k(n)}if(e.isErr)return O(e.value);throw"should never get here"}var C,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 o=null,l=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!S(o))&&(o+=""),s&&r?i[i.length-1].i+=o:i.push(s?N(null,o):o),r=s)};if(c(n),t){t.key&&(l=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=N(e,null);return u.u=t,i.length>0&&(u.h=i),u.m=l,u},N=(e,t)=>({o:0,p:e,i:t,$:null,h:null,u:null,m:null}),R={},U=new WeakMap,A=e=>"sc-"+e.v,F=(e,t,n,o,l,s)=>{if(n!==o){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,l=L(n),s=L(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else{const i=S(o);if((r||i&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||l)&&!i&&e.setAttribute(t,o=!0===o?"":o)}}},H=/\s/,L=e=>e?e.split(H):[],W=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||g,s=t.u||g;for(const e of q(Object.keys(l)))e in s||F(o,e,l[e],void 0,n,t.o);for(const e of q(Object.keys(s)))F(o,e,l[e],s[e],n,t.o)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var D=!1,G=(e,t,n)=>{const o=t.h[n];let l,s,r=0;if(null!==o.i)l=o.$=u.createTextNode(o.i);else{if(D||(D="svg"===o.p),l=o.$=u.createElementNS(D?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.p),D&&"foreignObject"===o.p&&(D=!1),W(null,o,D),null!=C&&l["s-si"]!==C&&l.classList.add(l["s-si"]=C),o.h)for(r=0;r<o.h.length;++r)s=G(e,o,r),s&&l.appendChild(s);"svg"===o.p?D=!1:"foreignObject"===l.tagName&&(D=!0)}return l["s-hn"]=M,l},V=(e,t,n,o,l,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=G(null,n,l),r&&(o[l].$=r,I(i,r,t)))},_=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;e&&e.remove()}}},z=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),B=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,r=t.p,i=t.i;null===i?(W(e,t,D="svg"===r||"foreignObject"!==r&&D),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=o.length-1,d=o[0],w=o[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==d)d=o[++c];else if(null==w)w=o[--p];else if(z(h,d,l))B(h,d,l),h=t[++i],d=o[++c];else if(z(m,w,l))B(m,w,l),m=t[--f],w=o[--p];else if(z(h,w,l))B(h,w,l),I(e,h.$,m.$.nextSibling),h=t[++i],w=o[--p];else if(z(m,d,l))B(m,d,l),I(e,m.$,h.$),m=t[--f],d=o[++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,l),t[u]=void 0,s=r.$),d=o[++c]):(s=G(t&&t[c],n,c),d=o[++c]),s&&I(h.$.parentNode,s,h.$)}i>f?V(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&_(t,i,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),V(o,null,t,s,0,s.length-1)):null!==l&&_(l,0,l.length-1),D&&"svg"===r&&(D=!1)):e.i!==i&&(o.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.o|=16,!(4&e.o))return J(e,e.j),b((()=>Q(e,t)));e.o|=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 o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,p=[],d=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&a.o?v($):a.raf($))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},$=()=>{y(p),y(d),(m=p.length>0)&&a.raf($)},v=e=>f().then(e),b=w(d,!0),g={},S=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>O,map:()=>E,ok:()=>k,unwrap:()=>x,unwrapErr:()=>P});var k=e=>({isOk:!0,isErr:!1,value:e}),O=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>k(e))):k(n)}if(e.isErr)return O(e.value);throw"should never get here"}var C,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 o=null,l=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!S(o))&&(o+=""),s&&r?i[i.length-1].i+=o:i.push(s?N(null,o):o),r=s)};if(c(n),t){t.key&&(l=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=N(e,null);return u.u=t,i.length>0&&(u.h=i),u.m=l,u},N=(e,t)=>({o:0,p:e,i:t,$:null,h:null,u:null,m:null}),R={},U=new WeakMap,A=e=>"sc-"+e.v,F=(e,t,n,o,l,s)=>{if(n!==o){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,l=L(n),s=L(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else{const i=S(o);if((r||i&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||l)&&!i&&e.setAttribute(t,o=!0===o?"":o)}}},H=/\s/,L=e=>e?e.split(H):[],W=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||g,s=t.u||g;for(const e of q(Object.keys(l)))e in s||F(o,e,l[e],void 0,n,t.o);for(const e of q(Object.keys(s)))F(o,e,l[e],s[e],n,t.o)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var D=!1,G=(e,t,n)=>{const o=t.h[n];let l,s,r=0;if(null!==o.i)l=o.$=u.createTextNode(o.i);else{if(D||(D="svg"===o.p),l=o.$=u.createElementNS(D?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.p),D&&"foreignObject"===o.p&&(D=!1),W(null,o,D),null!=C&&l["s-si"]!==C&&l.classList.add(l["s-si"]=C),o.h)for(r=0;r<o.h.length;++r)s=G(e,o,r),s&&l.appendChild(s);"svg"===o.p?D=!1:"foreignObject"===l.tagName&&(D=!0)}return l["s-hn"]=M,l},V=(e,t,n,o,l,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=G(null,n,l),r&&(o[l].$=r,I(i,r,t)))},_=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;e&&e.remove()}}},z=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),B=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,r=t.p,i=t.i;null===i?(W(e,t,D="svg"===r||"foreignObject"!==r&&D),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=o.length-1,d=o[0],w=o[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==d)d=o[++c];else if(null==w)w=o[--p];else if(z(h,d,l))B(h,d,l),h=t[++i],d=o[++c];else if(z(m,w,l))B(m,w,l),m=t[--f],w=o[--p];else if(z(h,w,l))B(h,w,l),I(e,h.$,m.$.nextSibling),h=t[++i],w=o[--p];else if(z(m,d,l))B(m,d,l),I(e,m.$,h.$),m=t[--f],d=o[++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,l),t[u]=void 0,s=r.$),d=o[++c]):(s=G(t&&t[c],n,c),d=o[++c]),s&&I(h.$.parentNode,s,h.$)}i>f?V(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&_(t,i,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),V(o,null,t,s,0,s.length-1)):null!==l&&_(l,0,l.length-1),D&&"svg"===r&&(D=!1)):e.i!==i&&(o.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.o|=16,!(4&e.o))return J(e,e.j),b((()=>Q(e,t)));e.o|=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 o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=A(t),l=r.get(o);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let s,r=U.get(e=e.head||e);if(r||U.set(e,r=new Set),!r.has(o)){{s=u.createElement("style"),s.innerHTML=l;const t=null!=(n=a.O)?n:j(u);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.o&&(s.innerHTML+=i),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ee(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ee=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,s=e.C||N(null,null),r=(e=>e&&e.p===R)(t)?t:T(null,null,t);if(M=o.tagName,n&&r.u)for(const e of Object.keys(r.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=o[e]);r.p=null,r.o|=4,e.C=r,r.$=s.$=o.shadowRoot||o,C=o["s-sc"],B(s,r,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.j;64&e.o||(e.o|=64,oe(t),e.M(t),n||ne()),e.S&&(e.S(),e.S=void 0),512&e.o&&v((()=>K(e,!1))),e.o&=-517},ne=()=>{oe(u.documentElement),v((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"proto-icons-wc"}});return e.dispatchEvent(t),t})(c)))},oe=e=>e.classList.add("hydrated"),le=(e,t,o)=>{var l;const s=e.prototype;return t.P&&Object.entries(null!=(l=t.P)?l:{}).map((([e,[l]])=>{(31&l||2&o&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(o){((e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.v}" 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.o,c=s.t;o=(e=>(null==e||S(e),e))(o),8&i&&void 0!==r||o===r||Number.isNaN(r)&&Number.isNaN(o)||(s.T.set(t,o),c&&2==(18&i)&&K(s,!1))})(this,e,o,t)},configurable:!0,enumerable:!0})})),e},se=(e,o={})=>{var f;const m=[],p=o.exclude||[],d=c.customElements,w=u.head,y=w.querySelector("meta[charset]"),$=u.createElement("style"),v=[];let b,g=!0;Object.assign(a,o),a.l=new URL(o.resourcesUrl||"./",u.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{const i={o:o[0],v:o[1],P:o[2],N:o[3]};4&i.o&&(S=!0),i.P=o[2];const c=i.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,k:n,T:new Map};o.R=new Promise((e=>o.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,i),1&i.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):a.jmp((()=>(e=>{if(!(1&a.o)){const t=n(e),o=t.k,i=()=>{};if(1&t.o)(null==t?void 0:t.t)||(null==t?void 0:t.R)&&t.R.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.j=n);break}}o.P&&Object.entries(o.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 o;if(!(32&t.o)){if(t.o|=32,n.U){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.U;if(!n)return;const o=s.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),l)
|
|
2
2
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.v}#${t.A}" was not found`);o.isProxied||(le(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(e){l(e)}t.o&=-9,r()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=A(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const i=t.j,c=()=>K(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,o)}i()}})(this)))}disconnectedCallback(){a.jmp((()=>(async()=>{if(!(1&a.o)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return n(this).R}};i.U=e[0],p.includes(c)||d.get(c)||(m.push(c),d.define(c,le(u,i,1)))}))})),m.length>0&&(S&&($.textContent+=i),$.textContent+=m.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(f=a.O)?f:j(u);null!=e&&$.setAttribute("nonce",e),w.insertBefore($,y?y.nextSibling:w.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):a.jmp((()=>b=setTimeout(ne,30)))},re=e=>a.O=e;export{se as b,T as h,f as p,o as r,re as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,b as
|
|
1
|
+
import{p as o,b as r}from"./p-f8f31cbf.js";export{s as setNonce}from"./p-f8f31cbf.js";import{g as f}from"./p-e1255160.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),o(r)})().then((async s=>(await f(),r([["p-4673a879",[[1,"icon-proofs",{colors:[16],sizes:[16]}]]]],s))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-icons-wc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.512",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"format": "prettier --write src"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@stencil/core": "4.19.
|
|
28
|
+
"@stencil/core": "4.19.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"cspell": "8.
|
|
31
|
+
"cspell": "8.10.0",
|
|
32
32
|
"eslint": "9.6.0",
|
|
33
33
|
"prettier": "3.3.2",
|
|
34
|
-
"typescript": "5.5.
|
|
34
|
+
"typescript": "5.5.3"
|
|
35
35
|
},
|
|
36
36
|
"license": "MIT"
|
|
37
37
|
}
|