funnel-gfx-wc 0.0.839 → 0.0.841
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/funnel-app.cjs.entry.js +1 -1
- package/dist/cjs/funnel-gfx-wc.cjs.js +2 -2
- package/dist/cjs/{index-8c993561.js → index-64629a1e.js} +187 -171
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/funnel-app.entry.js +1 -1
- package/dist/esm/funnel-gfx-wc.js +3 -3
- package/dist/esm/{index-cca47a28.js → index-9d8a251a.js} +187 -171
- package/dist/esm/loader.js +2 -2
- package/dist/funnel-gfx-wc/funnel-gfx-wc.esm.js +1 -1
- package/dist/funnel-gfx-wc/{p-403d9cf1.entry.js → p-3c94af75.entry.js} +1 -1
- package/dist/funnel-gfx-wc/p-83b4689b.js +2 -0
- package/package.json +3 -3
- package/dist/funnel-gfx-wc/p-2f0eb99f.js +0 -2
|
@@ -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-64629a1e.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('funnel-gfx-wc.cjs.js', document.baseURI).href));
|
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'funnel-gfx-wc';
|
|
|
24
24
|
const BUILD = /* funnel-gfx-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, 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: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, 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: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, 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) => {
|
|
@@ -206,6 +206,20 @@ var unwrapErr = (result) => {
|
|
|
206
206
|
throw result.value;
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
|
+
var createTime = (fnName, tagName = "") => {
|
|
210
|
+
{
|
|
211
|
+
return () => {
|
|
212
|
+
return;
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
var uniqueTime = (key, measureText) => {
|
|
217
|
+
{
|
|
218
|
+
return () => {
|
|
219
|
+
return;
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
};
|
|
209
223
|
var h = (nodeName, vnodeData, ...children) => {
|
|
210
224
|
let child = null;
|
|
211
225
|
let key = null;
|
|
@@ -307,6 +321,110 @@ var convertToPrivate = (node) => {
|
|
|
307
321
|
vnode.$name$ = node.vname;
|
|
308
322
|
return vnode;
|
|
309
323
|
};
|
|
324
|
+
var parsePropertyValue = (propValue, propType) => {
|
|
325
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
326
|
+
if (propType & 1 /* String */) {
|
|
327
|
+
return String(propValue);
|
|
328
|
+
}
|
|
329
|
+
return propValue;
|
|
330
|
+
}
|
|
331
|
+
return propValue;
|
|
332
|
+
};
|
|
333
|
+
var emitEvent = (elm, name, opts) => {
|
|
334
|
+
const ev = plt.ce(name, opts);
|
|
335
|
+
elm.dispatchEvent(ev);
|
|
336
|
+
return ev;
|
|
337
|
+
};
|
|
338
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
339
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
340
|
+
let style = styles.get(scopeId2);
|
|
341
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
342
|
+
style = style || new CSSStyleSheet();
|
|
343
|
+
if (typeof style === "string") {
|
|
344
|
+
style = cssText;
|
|
345
|
+
} else {
|
|
346
|
+
style.replaceSync(cssText);
|
|
347
|
+
}
|
|
348
|
+
} else {
|
|
349
|
+
style = cssText;
|
|
350
|
+
}
|
|
351
|
+
styles.set(scopeId2, style);
|
|
352
|
+
};
|
|
353
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
354
|
+
var _a;
|
|
355
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
356
|
+
const style = styles.get(scopeId2);
|
|
357
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
358
|
+
if (style) {
|
|
359
|
+
if (typeof style === "string") {
|
|
360
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
361
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
362
|
+
let styleElm;
|
|
363
|
+
if (!appliedStyles) {
|
|
364
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
365
|
+
}
|
|
366
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
367
|
+
{
|
|
368
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
369
|
+
styleElm.innerHTML = style;
|
|
370
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
371
|
+
if (nonce != null) {
|
|
372
|
+
styleElm.setAttribute("nonce", nonce);
|
|
373
|
+
}
|
|
374
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
375
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
376
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
377
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
378
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
379
|
+
} else if ("host" in styleContainerNode) {
|
|
380
|
+
if (supportsConstructableStylesheets) {
|
|
381
|
+
const stylesheet = new CSSStyleSheet();
|
|
382
|
+
stylesheet.replaceSync(style);
|
|
383
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
384
|
+
} else {
|
|
385
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
386
|
+
if (existingStyleContainer) {
|
|
387
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
388
|
+
} else {
|
|
389
|
+
styleContainerNode.prepend(styleElm);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
} else {
|
|
393
|
+
styleContainerNode.append(styleElm);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
397
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
401
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
402
|
+
}
|
|
403
|
+
if (appliedStyles) {
|
|
404
|
+
appliedStyles.add(scopeId2);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
408
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
return scopeId2;
|
|
412
|
+
};
|
|
413
|
+
var attachStyles = (hostRef) => {
|
|
414
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
415
|
+
const elm = hostRef.$hostElement$;
|
|
416
|
+
const flags = cmpMeta.$flags$;
|
|
417
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
418
|
+
const scopeId2 = addStyle(
|
|
419
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
420
|
+
cmpMeta);
|
|
421
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
422
|
+
elm["s-sc"] = scopeId2;
|
|
423
|
+
elm.classList.add(scopeId2 + "-h");
|
|
424
|
+
}
|
|
425
|
+
endAttachStyles();
|
|
426
|
+
};
|
|
427
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
310
428
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
311
429
|
if (oldValue !== newValue) {
|
|
312
430
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -364,7 +482,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
364
482
|
elm.setAttribute(memberName, n);
|
|
365
483
|
}
|
|
366
484
|
}
|
|
367
|
-
} else {
|
|
485
|
+
} else if (elm[memberName] !== newValue) {
|
|
368
486
|
elm[memberName] = newValue;
|
|
369
487
|
}
|
|
370
488
|
} catch (e) {
|
|
@@ -632,8 +750,9 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
632
750
|
}
|
|
633
751
|
};
|
|
634
752
|
var insertBefore = (parent, newNode, reference) => {
|
|
635
|
-
|
|
636
|
-
|
|
753
|
+
{
|
|
754
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
755
|
+
}
|
|
637
756
|
};
|
|
638
757
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
639
758
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -655,129 +774,18 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
655
774
|
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
656
775
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
657
776
|
};
|
|
658
|
-
var createTime = (fnName, tagName = "") => {
|
|
659
|
-
{
|
|
660
|
-
return () => {
|
|
661
|
-
return;
|
|
662
|
-
};
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
var uniqueTime = (key, measureText) => {
|
|
666
|
-
{
|
|
667
|
-
return () => {
|
|
668
|
-
return;
|
|
669
|
-
};
|
|
670
|
-
}
|
|
671
|
-
};
|
|
672
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
673
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
674
|
-
if (propType & 1 /* String */) {
|
|
675
|
-
return String(propValue);
|
|
676
|
-
}
|
|
677
|
-
return propValue;
|
|
678
|
-
}
|
|
679
|
-
return propValue;
|
|
680
|
-
};
|
|
681
|
-
var emitEvent = (elm, name, opts) => {
|
|
682
|
-
const ev = plt.ce(name, opts);
|
|
683
|
-
elm.dispatchEvent(ev);
|
|
684
|
-
return ev;
|
|
685
|
-
};
|
|
686
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
687
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
688
|
-
let style = styles.get(scopeId2);
|
|
689
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
690
|
-
style = style || new CSSStyleSheet();
|
|
691
|
-
if (typeof style === "string") {
|
|
692
|
-
style = cssText;
|
|
693
|
-
} else {
|
|
694
|
-
style.replaceSync(cssText);
|
|
695
|
-
}
|
|
696
|
-
} else {
|
|
697
|
-
style = cssText;
|
|
698
|
-
}
|
|
699
|
-
styles.set(scopeId2, style);
|
|
700
|
-
};
|
|
701
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
702
|
-
var _a;
|
|
703
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
704
|
-
const style = styles.get(scopeId2);
|
|
705
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
706
|
-
if (style) {
|
|
707
|
-
if (typeof style === "string") {
|
|
708
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
709
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
710
|
-
let styleElm;
|
|
711
|
-
if (!appliedStyles) {
|
|
712
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
713
|
-
}
|
|
714
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
715
|
-
{
|
|
716
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
717
|
-
styleElm.innerHTML = style;
|
|
718
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
719
|
-
if (nonce != null) {
|
|
720
|
-
styleElm.setAttribute("nonce", nonce);
|
|
721
|
-
}
|
|
722
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
723
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
724
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
725
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
726
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
727
|
-
} else if ("host" in styleContainerNode) {
|
|
728
|
-
if (supportsConstructableStylesheets) {
|
|
729
|
-
const stylesheet = new CSSStyleSheet();
|
|
730
|
-
stylesheet.replaceSync(style);
|
|
731
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
732
|
-
} else {
|
|
733
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
734
|
-
if (existingStyleContainer) {
|
|
735
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
736
|
-
} else {
|
|
737
|
-
styleContainerNode.prepend(styleElm);
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
} else {
|
|
741
|
-
styleContainerNode.append(styleElm);
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
745
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
749
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
750
|
-
}
|
|
751
|
-
if (appliedStyles) {
|
|
752
|
-
appliedStyles.add(scopeId2);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
756
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
return scopeId2;
|
|
760
|
-
};
|
|
761
|
-
var attachStyles = (hostRef) => {
|
|
762
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
763
|
-
const elm = hostRef.$hostElement$;
|
|
764
|
-
const flags = cmpMeta.$flags$;
|
|
765
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
766
|
-
const scopeId2 = addStyle(
|
|
767
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
768
|
-
cmpMeta);
|
|
769
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
770
|
-
elm["s-sc"] = scopeId2;
|
|
771
|
-
elm.classList.add(scopeId2 + "-h");
|
|
772
|
-
}
|
|
773
|
-
endAttachStyles();
|
|
774
|
-
};
|
|
775
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
776
777
|
|
|
777
778
|
// src/runtime/update-component.ts
|
|
778
779
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
779
780
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
780
|
-
ancestorComponent["s-p"].push(
|
|
781
|
+
const index = ancestorComponent["s-p"].push(
|
|
782
|
+
new Promise(
|
|
783
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
784
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
785
|
+
r();
|
|
786
|
+
}
|
|
787
|
+
)
|
|
788
|
+
);
|
|
781
789
|
}
|
|
782
790
|
};
|
|
783
791
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -964,62 +972,69 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
964
972
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
965
973
|
members.map(([memberName, [memberFlags]]) => {
|
|
966
974
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
967
|
-
|
|
975
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
976
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
977
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
978
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
968
979
|
Object.defineProperty(prototype, memberName, {
|
|
969
980
|
get() {
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
},
|
|
975
|
-
configurable: true,
|
|
976
|
-
enumerable: true
|
|
977
|
-
});
|
|
978
|
-
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
979
|
-
{
|
|
980
|
-
Object.defineProperty(prototype, memberName, {
|
|
981
|
-
get() {
|
|
981
|
+
{
|
|
982
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
983
|
+
return getValue(this, memberName);
|
|
984
|
+
}
|
|
982
985
|
const ref = getHostRef(this);
|
|
983
986
|
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
984
987
|
if (!instance) return;
|
|
985
988
|
return instance[memberName];
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
configurable: true,
|
|
992
|
+
enumerable: true
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
Object.defineProperty(prototype, memberName, {
|
|
996
|
+
set(newValue) {
|
|
997
|
+
const ref = getHostRef(this);
|
|
998
|
+
if (origSetter) {
|
|
999
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1000
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
1001
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
1002
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1003
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1004
|
+
}
|
|
1005
|
+
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1006
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1007
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1008
|
+
return;
|
|
1009
|
+
}
|
|
1010
|
+
{
|
|
1011
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1012
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1013
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1014
|
+
ref.$onReadyPromise$.then(() => {
|
|
1015
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1016
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
1017
|
+
}
|
|
1018
|
+
});
|
|
1004
1019
|
}
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, cmpMeta.$members$[memberName][0]);
|
|
1012
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1013
|
-
};
|
|
1014
|
-
if (ref.$lazyInstance$) {
|
|
1015
|
-
setterSetVal();
|
|
1016
|
-
} else {
|
|
1017
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
const setterSetVal = () => {
|
|
1023
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
1024
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1025
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1018
1026
|
}
|
|
1027
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1028
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1029
|
+
};
|
|
1030
|
+
if (ref.$lazyInstance$) {
|
|
1031
|
+
setterSetVal();
|
|
1032
|
+
} else {
|
|
1033
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1019
1034
|
}
|
|
1020
|
-
}
|
|
1035
|
+
}
|
|
1021
1036
|
}
|
|
1022
|
-
}
|
|
1037
|
+
});
|
|
1023
1038
|
}
|
|
1024
1039
|
});
|
|
1025
1040
|
if ((flags & 1 /* isElementConstructor */)) {
|
|
@@ -1049,8 +1064,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1049
1064
|
return;
|
|
1050
1065
|
}
|
|
1051
1066
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1052
|
-
|
|
1053
|
-
|
|
1067
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1068
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1069
|
+
this[propName] = newValue;
|
|
1054
1070
|
}
|
|
1055
1071
|
});
|
|
1056
1072
|
};
|
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-64629a1e.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, g as getRenderingRef, f as forceUpdate, r as registerInstance } from './index-
|
|
1
|
+
import { h, g as getRenderingRef, f as forceUpdate, r as registerInstance } from './index-9d8a251a.js';
|
|
2
2
|
|
|
3
3
|
const Radio = props => {
|
|
4
4
|
const hex = props.hex || 'currentColor';
|
|
@@ -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-9d8a251a.js';
|
|
2
|
+
export { s as setNonce } from './index-9d8a251a.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.24.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|