proto-ikons-wc 0.0.171 → 0.0.172
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-44dd3e76.js → index-5786646b.js} +188 -172
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-a17b2977.js → index-c097ad36.js} +188 -172
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/p-94739343.js +2 -0
- package/dist/proto-ikons-wc/{p-c1ebf1ad.entry.js → p-b2a4308d.entry.js} +1 -1
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-241f9ddd.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, modernPropertyDecls: 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.24.0 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -208,6 +208,20 @@ var unwrapErr = (result) => {
|
|
|
208
208
|
throw result.value;
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
|
+
var createTime = (fnName, tagName = "") => {
|
|
212
|
+
{
|
|
213
|
+
return () => {
|
|
214
|
+
return;
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
var uniqueTime = (key, measureText) => {
|
|
219
|
+
{
|
|
220
|
+
return () => {
|
|
221
|
+
return;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
};
|
|
211
225
|
var h = (nodeName, vnodeData, ...children) => {
|
|
212
226
|
let child = null;
|
|
213
227
|
let key = null;
|
|
@@ -272,6 +286,111 @@ var newVNode = (tag, text) => {
|
|
|
272
286
|
};
|
|
273
287
|
var Host = {};
|
|
274
288
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
289
|
+
var parsePropertyValue = (propValue, propType) => {
|
|
290
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
291
|
+
if (propType & 4 /* Boolean */) {
|
|
292
|
+
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
293
|
+
}
|
|
294
|
+
if (propType & 2 /* Number */) {
|
|
295
|
+
return parseFloat(propValue);
|
|
296
|
+
}
|
|
297
|
+
if (propType & 1 /* String */) {
|
|
298
|
+
return String(propValue);
|
|
299
|
+
}
|
|
300
|
+
return propValue;
|
|
301
|
+
}
|
|
302
|
+
return propValue;
|
|
303
|
+
};
|
|
304
|
+
var emitEvent = (elm, name, opts) => {
|
|
305
|
+
const ev = plt.ce(name, opts);
|
|
306
|
+
elm.dispatchEvent(ev);
|
|
307
|
+
return ev;
|
|
308
|
+
};
|
|
309
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
310
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
311
|
+
let style = styles.get(scopeId2);
|
|
312
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
313
|
+
style = style || new CSSStyleSheet();
|
|
314
|
+
if (typeof style === "string") {
|
|
315
|
+
style = cssText;
|
|
316
|
+
} else {
|
|
317
|
+
style.replaceSync(cssText);
|
|
318
|
+
}
|
|
319
|
+
} else {
|
|
320
|
+
style = cssText;
|
|
321
|
+
}
|
|
322
|
+
styles.set(scopeId2, style);
|
|
323
|
+
};
|
|
324
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
325
|
+
var _a;
|
|
326
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
327
|
+
const style = styles.get(scopeId2);
|
|
328
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
329
|
+
if (style) {
|
|
330
|
+
if (typeof style === "string") {
|
|
331
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
332
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
333
|
+
let styleElm;
|
|
334
|
+
if (!appliedStyles) {
|
|
335
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
336
|
+
}
|
|
337
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
338
|
+
{
|
|
339
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
340
|
+
styleElm.innerHTML = style;
|
|
341
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
342
|
+
if (nonce != null) {
|
|
343
|
+
styleElm.setAttribute("nonce", nonce);
|
|
344
|
+
}
|
|
345
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
346
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
347
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
348
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
349
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
350
|
+
} else if ("host" in styleContainerNode) {
|
|
351
|
+
if (supportsConstructableStylesheets) {
|
|
352
|
+
const stylesheet = new CSSStyleSheet();
|
|
353
|
+
stylesheet.replaceSync(style);
|
|
354
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
355
|
+
} else {
|
|
356
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
357
|
+
if (existingStyleContainer) {
|
|
358
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
359
|
+
} else {
|
|
360
|
+
styleContainerNode.prepend(styleElm);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
} else {
|
|
364
|
+
styleContainerNode.append(styleElm);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
368
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
372
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
373
|
+
}
|
|
374
|
+
if (appliedStyles) {
|
|
375
|
+
appliedStyles.add(scopeId2);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
379
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
return scopeId2;
|
|
383
|
+
};
|
|
384
|
+
var attachStyles = (hostRef) => {
|
|
385
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
386
|
+
const elm = hostRef.$hostElement$;
|
|
387
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
388
|
+
addStyle(
|
|
389
|
+
elm.getRootNode(),
|
|
390
|
+
cmpMeta);
|
|
391
|
+
endAttachStyles();
|
|
392
|
+
};
|
|
393
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
275
394
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
276
395
|
if (oldValue !== newValue) {
|
|
277
396
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -307,7 +426,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
307
426
|
elm.setAttribute(memberName, n);
|
|
308
427
|
}
|
|
309
428
|
}
|
|
310
|
-
} else {
|
|
429
|
+
} else if (elm[memberName] !== newValue) {
|
|
311
430
|
elm[memberName] = newValue;
|
|
312
431
|
}
|
|
313
432
|
} catch (e) {
|
|
@@ -574,8 +693,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
574
693
|
}
|
|
575
694
|
};
|
|
576
695
|
var insertBefore = (parent, newNode, reference) => {
|
|
577
|
-
|
|
578
|
-
|
|
696
|
+
{
|
|
697
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
698
|
+
}
|
|
579
699
|
};
|
|
580
700
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
581
701
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -596,130 +716,18 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
596
716
|
useNativeShadowDom = supportsShadow ;
|
|
597
717
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
598
718
|
};
|
|
599
|
-
var createTime = (fnName, tagName = "") => {
|
|
600
|
-
{
|
|
601
|
-
return () => {
|
|
602
|
-
return;
|
|
603
|
-
};
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
var uniqueTime = (key, measureText) => {
|
|
607
|
-
{
|
|
608
|
-
return () => {
|
|
609
|
-
return;
|
|
610
|
-
};
|
|
611
|
-
}
|
|
612
|
-
};
|
|
613
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
614
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
615
|
-
if (propType & 4 /* Boolean */) {
|
|
616
|
-
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
617
|
-
}
|
|
618
|
-
if (propType & 2 /* Number */) {
|
|
619
|
-
return parseFloat(propValue);
|
|
620
|
-
}
|
|
621
|
-
if (propType & 1 /* String */) {
|
|
622
|
-
return String(propValue);
|
|
623
|
-
}
|
|
624
|
-
return propValue;
|
|
625
|
-
}
|
|
626
|
-
return propValue;
|
|
627
|
-
};
|
|
628
|
-
var emitEvent = (elm, name, opts) => {
|
|
629
|
-
const ev = plt.ce(name, opts);
|
|
630
|
-
elm.dispatchEvent(ev);
|
|
631
|
-
return ev;
|
|
632
|
-
};
|
|
633
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
634
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
635
|
-
let style = styles.get(scopeId2);
|
|
636
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
637
|
-
style = style || new CSSStyleSheet();
|
|
638
|
-
if (typeof style === "string") {
|
|
639
|
-
style = cssText;
|
|
640
|
-
} else {
|
|
641
|
-
style.replaceSync(cssText);
|
|
642
|
-
}
|
|
643
|
-
} else {
|
|
644
|
-
style = cssText;
|
|
645
|
-
}
|
|
646
|
-
styles.set(scopeId2, style);
|
|
647
|
-
};
|
|
648
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
649
|
-
var _a;
|
|
650
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
651
|
-
const style = styles.get(scopeId2);
|
|
652
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
653
|
-
if (style) {
|
|
654
|
-
if (typeof style === "string") {
|
|
655
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
656
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
657
|
-
let styleElm;
|
|
658
|
-
if (!appliedStyles) {
|
|
659
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
660
|
-
}
|
|
661
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
662
|
-
{
|
|
663
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
664
|
-
styleElm.innerHTML = style;
|
|
665
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
666
|
-
if (nonce != null) {
|
|
667
|
-
styleElm.setAttribute("nonce", nonce);
|
|
668
|
-
}
|
|
669
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
670
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
671
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
672
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
673
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
674
|
-
} else if ("host" in styleContainerNode) {
|
|
675
|
-
if (supportsConstructableStylesheets) {
|
|
676
|
-
const stylesheet = new CSSStyleSheet();
|
|
677
|
-
stylesheet.replaceSync(style);
|
|
678
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
679
|
-
} else {
|
|
680
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
681
|
-
if (existingStyleContainer) {
|
|
682
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
683
|
-
} else {
|
|
684
|
-
styleContainerNode.prepend(styleElm);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
} else {
|
|
688
|
-
styleContainerNode.append(styleElm);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
692
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
696
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
697
|
-
}
|
|
698
|
-
if (appliedStyles) {
|
|
699
|
-
appliedStyles.add(scopeId2);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
703
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
return scopeId2;
|
|
707
|
-
};
|
|
708
|
-
var attachStyles = (hostRef) => {
|
|
709
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
710
|
-
const elm = hostRef.$hostElement$;
|
|
711
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
712
|
-
addStyle(
|
|
713
|
-
elm.getRootNode(),
|
|
714
|
-
cmpMeta);
|
|
715
|
-
endAttachStyles();
|
|
716
|
-
};
|
|
717
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
718
719
|
|
|
719
720
|
// src/runtime/update-component.ts
|
|
720
721
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
721
722
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
722
|
-
ancestorComponent["s-p"].push(
|
|
723
|
+
const index = ancestorComponent["s-p"].push(
|
|
724
|
+
new Promise(
|
|
725
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
726
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
727
|
+
r();
|
|
728
|
+
}
|
|
729
|
+
)
|
|
730
|
+
);
|
|
723
731
|
}
|
|
724
732
|
};
|
|
725
733
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -878,62 +886,69 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
878
886
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
879
887
|
members.map(([memberName, [memberFlags]]) => {
|
|
880
888
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
881
|
-
|
|
889
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
890
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
891
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
892
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
882
893
|
Object.defineProperty(prototype, memberName, {
|
|
883
894
|
get() {
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
},
|
|
889
|
-
configurable: true,
|
|
890
|
-
enumerable: true
|
|
891
|
-
});
|
|
892
|
-
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
893
|
-
{
|
|
894
|
-
Object.defineProperty(prototype, memberName, {
|
|
895
|
-
get() {
|
|
895
|
+
{
|
|
896
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
897
|
+
return getValue(this, memberName);
|
|
898
|
+
}
|
|
896
899
|
const ref = getHostRef(this);
|
|
897
900
|
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
898
901
|
if (!instance) return;
|
|
899
902
|
return instance[memberName];
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
configurable: true,
|
|
906
|
+
enumerable: true
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
Object.defineProperty(prototype, memberName, {
|
|
910
|
+
set(newValue) {
|
|
911
|
+
const ref = getHostRef(this);
|
|
912
|
+
if (origSetter) {
|
|
913
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
914
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
915
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
916
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
917
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
918
|
+
}
|
|
919
|
+
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
920
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
921
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
922
|
+
return;
|
|
923
|
+
}
|
|
924
|
+
{
|
|
925
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
926
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
927
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
928
|
+
ref.$onReadyPromise$.then(() => {
|
|
929
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
930
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
931
|
+
}
|
|
932
|
+
});
|
|
918
933
|
}
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, cmpMeta.$members$[memberName][0]);
|
|
926
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
927
|
-
};
|
|
928
|
-
if (ref.$lazyInstance$) {
|
|
929
|
-
setterSetVal();
|
|
930
|
-
} else {
|
|
931
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
936
|
+
const setterSetVal = () => {
|
|
937
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
938
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
939
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
932
940
|
}
|
|
941
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
942
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
943
|
+
};
|
|
944
|
+
if (ref.$lazyInstance$) {
|
|
945
|
+
setterSetVal();
|
|
946
|
+
} else {
|
|
947
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
933
948
|
}
|
|
934
|
-
}
|
|
949
|
+
}
|
|
935
950
|
}
|
|
936
|
-
}
|
|
951
|
+
});
|
|
937
952
|
}
|
|
938
953
|
});
|
|
939
954
|
if ((flags & 1 /* isElementConstructor */)) {
|
|
@@ -963,8 +978,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
963
978
|
return;
|
|
964
979
|
}
|
|
965
980
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
966
|
-
|
|
967
|
-
|
|
981
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
982
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
983
|
+
this[propName] = newValue;
|
|
968
984
|
}
|
|
969
985
|
});
|
|
970
986
|
};
|
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-5786646b.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-5786646b.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.24.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));
|