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
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'proto-ikons-wc';
|
|
|
24
24
|
const BUILD = /* proto-ikons-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: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, 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: true, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -144,6 +144,9 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
|
144
144
|
var EMPTY_OBJ = {};
|
|
145
145
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
146
146
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
147
|
+
|
|
148
|
+
// src/utils/helpers.ts
|
|
149
|
+
var isDef = (v) => v != null;
|
|
147
150
|
var isComplexType = (o) => {
|
|
148
151
|
o = typeof o;
|
|
149
152
|
return o === "object" || o === "function";
|
|
@@ -337,7 +340,18 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
337
340
|
if (nonce != null) {
|
|
338
341
|
styleElm.setAttribute("nonce", nonce);
|
|
339
342
|
}
|
|
340
|
-
|
|
343
|
+
const injectStyle = (
|
|
344
|
+
/**
|
|
345
|
+
* we render a scoped component
|
|
346
|
+
*/
|
|
347
|
+
!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
|
|
348
|
+
* we are using shadow dom and render the style tag within the shadowRoot
|
|
349
|
+
*/
|
|
350
|
+
cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
|
|
351
|
+
);
|
|
352
|
+
if (injectStyle) {
|
|
353
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
354
|
+
}
|
|
341
355
|
}
|
|
342
356
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
343
357
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -443,6 +457,9 @@ function sortedAttrNames(attrNames) {
|
|
|
443
457
|
attrNames
|
|
444
458
|
);
|
|
445
459
|
}
|
|
460
|
+
|
|
461
|
+
// src/runtime/vdom/vdom-render.ts
|
|
462
|
+
var scopeId;
|
|
446
463
|
var hostTagName;
|
|
447
464
|
var useNativeShadowDom = false;
|
|
448
465
|
var isSvgMode = false;
|
|
@@ -467,6 +484,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
467
484
|
{
|
|
468
485
|
updateElement(null, newVNode2, isSvgMode);
|
|
469
486
|
}
|
|
487
|
+
const rootNode = elm.getRootNode();
|
|
488
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
489
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
490
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
491
|
+
}
|
|
470
492
|
if (newVNode2.$children$) {
|
|
471
493
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
472
494
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -625,7 +647,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
625
647
|
elm.textContent = "";
|
|
626
648
|
}
|
|
627
649
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
628
|
-
} else if (
|
|
650
|
+
} else if (
|
|
651
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
652
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
653
|
+
) {
|
|
629
654
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
630
655
|
}
|
|
631
656
|
if (isSvgMode && tag === "svg") {
|
|
@@ -842,7 +867,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
842
867
|
if (this.hasOwnProperty(propName)) {
|
|
843
868
|
newValue = this[propName];
|
|
844
869
|
delete this[propName];
|
|
845
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
870
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
871
|
+
this[propName] == newValue) {
|
|
846
872
|
return;
|
|
847
873
|
} else if (propName == null) {
|
|
848
874
|
const hostRef = getHostRef(this);
|
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-6bfb0276.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-6bfb0276.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.20.0 | 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));
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-ikons-wc';
|
|
|
2
2
|
const BUILD = /* proto-ikons-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: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, 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: true, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -122,6 +122,9 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
|
122
122
|
var EMPTY_OBJ = {};
|
|
123
123
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
124
124
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
125
|
+
|
|
126
|
+
// src/utils/helpers.ts
|
|
127
|
+
var isDef = (v) => v != null;
|
|
125
128
|
var isComplexType = (o) => {
|
|
126
129
|
o = typeof o;
|
|
127
130
|
return o === "object" || o === "function";
|
|
@@ -315,7 +318,18 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
315
318
|
if (nonce != null) {
|
|
316
319
|
styleElm.setAttribute("nonce", nonce);
|
|
317
320
|
}
|
|
318
|
-
|
|
321
|
+
const injectStyle = (
|
|
322
|
+
/**
|
|
323
|
+
* we render a scoped component
|
|
324
|
+
*/
|
|
325
|
+
!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
|
|
326
|
+
* we are using shadow dom and render the style tag within the shadowRoot
|
|
327
|
+
*/
|
|
328
|
+
cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
|
|
329
|
+
);
|
|
330
|
+
if (injectStyle) {
|
|
331
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
332
|
+
}
|
|
319
333
|
}
|
|
320
334
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
321
335
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -421,6 +435,9 @@ function sortedAttrNames(attrNames) {
|
|
|
421
435
|
attrNames
|
|
422
436
|
);
|
|
423
437
|
}
|
|
438
|
+
|
|
439
|
+
// src/runtime/vdom/vdom-render.ts
|
|
440
|
+
var scopeId;
|
|
424
441
|
var hostTagName;
|
|
425
442
|
var useNativeShadowDom = false;
|
|
426
443
|
var isSvgMode = false;
|
|
@@ -445,6 +462,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
445
462
|
{
|
|
446
463
|
updateElement(null, newVNode2, isSvgMode);
|
|
447
464
|
}
|
|
465
|
+
const rootNode = elm.getRootNode();
|
|
466
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
467
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
468
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
469
|
+
}
|
|
448
470
|
if (newVNode2.$children$) {
|
|
449
471
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
450
472
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -603,7 +625,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
603
625
|
elm.textContent = "";
|
|
604
626
|
}
|
|
605
627
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
606
|
-
} else if (
|
|
628
|
+
} else if (
|
|
629
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
630
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
631
|
+
) {
|
|
607
632
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
608
633
|
}
|
|
609
634
|
if (isSvgMode && tag === "svg") {
|
|
@@ -820,7 +845,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
820
845
|
if (this.hasOwnProperty(propName)) {
|
|
821
846
|
newValue = this[propName];
|
|
822
847
|
delete this[propName];
|
|
823
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
848
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
849
|
+
this[propName] == newValue) {
|
|
824
850
|
return;
|
|
825
851
|
} else if (propName == null) {
|
|
826
852
|
const hostRef = getHostRef(this);
|
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-65d283de.js';
|
|
2
|
+
export { s as setNonce } from './index-65d283de.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-65d283de.js';
|
|
2
|
+
export { s as setNonce } from './index-65d283de.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|