@stencil/core 4.37.1 → 4.38.0
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/cli/index.cjs +2 -2
- package/cli/index.js +2 -2
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +337 -169
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +3 -3
- package/internal/app-data/index.cjs +1 -1
- package/internal/app-data/index.js +1 -1
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +95 -46
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +116 -64
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.d.ts +2 -0
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-core/index.d.ts +2 -0
- package/internal/stencil-private.d.ts +33 -8
- package/internal/stencil-public-compiler.d.ts +5 -0
- package/internal/stencil-public-runtime.d.ts +16 -2
- package/internal/testing/index.js +91 -44
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/index.js +2 -2
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +34 -34
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +22 -12
- package/testing/package.json +1 -1
|
@@ -134,8 +134,10 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
134
134
|
$hostElement$: elm,
|
|
135
135
|
$cmpMeta$: cmpMeta,
|
|
136
136
|
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
137
|
+
$serializerValues$: /* @__PURE__ */ new Map(),
|
|
137
138
|
$renderCount$: 0
|
|
138
139
|
};
|
|
140
|
+
hostRef.$fetchedCbList$ = [];
|
|
139
141
|
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
140
142
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
141
143
|
elm["s-p"] = [];
|
|
@@ -1242,11 +1244,13 @@ var inspect = (ref) => {
|
|
|
1242
1244
|
needsRerender: !!(flags & 512 /* needsRerender */)
|
|
1243
1245
|
},
|
|
1244
1246
|
instanceValues: hostRef.$instanceValues$,
|
|
1247
|
+
serializerValues: hostRef.$serializerValues$,
|
|
1245
1248
|
ancestorComponent: hostRef.$ancestorComponent$,
|
|
1246
1249
|
hostElement,
|
|
1247
1250
|
lazyInstance: hostRef.$lazyInstance$,
|
|
1248
1251
|
vnode: hostRef.$vnode$,
|
|
1249
1252
|
modeName: hostRef.$modeName$,
|
|
1253
|
+
fetchedCbList: hostRef.$fetchedCbList$,
|
|
1250
1254
|
onReadyPromise: hostRef.$onReadyPromise$,
|
|
1251
1255
|
onReadyResolve: hostRef.$onReadyResolve$,
|
|
1252
1256
|
onInstancePromise: hostRef.$onInstancePromise$,
|
|
@@ -1543,7 +1547,7 @@ var validateInputProperties = (inputElm) => {
|
|
|
1543
1547
|
|
|
1544
1548
|
// src/runtime/client-hydrate.ts
|
|
1545
1549
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1546
|
-
var _a, _b
|
|
1550
|
+
var _a, _b;
|
|
1547
1551
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
1548
1552
|
const shadowRoot = hostElm.shadowRoot;
|
|
1549
1553
|
const childRenderNodes = [];
|
|
@@ -1552,23 +1556,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1552
1556
|
const shadowRootNodes = import_app_data7.BUILD.shadowDom && shadowRoot ? [] : null;
|
|
1553
1557
|
const vnode = newVNode(tagName, null);
|
|
1554
1558
|
vnode.$elm$ = hostElm;
|
|
1555
|
-
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
1556
|
-
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
1557
|
-
var _a2, _b2;
|
|
1558
|
-
if (!(memberFlags & 31 /* Prop */)) {
|
|
1559
|
-
return;
|
|
1560
|
-
}
|
|
1561
|
-
const attributeName = metaAttributeName || memberName;
|
|
1562
|
-
const attrVal = hostElm.getAttribute(attributeName);
|
|
1563
|
-
if (attrVal !== null) {
|
|
1564
|
-
const attrPropVal = parsePropertyValue(
|
|
1565
|
-
attrVal,
|
|
1566
|
-
memberFlags,
|
|
1567
|
-
import_app_data7.BUILD.formAssociated && !!(((_a2 = hostRef.$cmpMeta$) == null ? void 0 : _a2.$flags$) & 64 /* formAssociated */)
|
|
1568
|
-
);
|
|
1569
|
-
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
1570
|
-
}
|
|
1571
|
-
});
|
|
1572
1559
|
let scopeId2;
|
|
1573
1560
|
if (import_app_data7.BUILD.scoped) {
|
|
1574
1561
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -1607,7 +1594,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1607
1594
|
if (childRenderNode.$tag$ === "slot") {
|
|
1608
1595
|
node["s-cr"] = hostElm["s-cr"];
|
|
1609
1596
|
}
|
|
1610
|
-
} else if (((
|
|
1597
|
+
} else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
1611
1598
|
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
1612
1599
|
if (cmpMeta) {
|
|
1613
1600
|
const scopeId3 = getScopeId(
|
|
@@ -1678,7 +1665,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1678
1665
|
}
|
|
1679
1666
|
}
|
|
1680
1667
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1681
|
-
if (((
|
|
1668
|
+
if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
1682
1669
|
slottedItem.node.removeAttribute("slot");
|
|
1683
1670
|
}
|
|
1684
1671
|
if (import_app_data7.BUILD.experimentalSlotFixes) {
|
|
@@ -3101,9 +3088,13 @@ render() {
|
|
|
3101
3088
|
}
|
|
3102
3089
|
if (import_app_data13.BUILD.reflect && cmpMeta.$attrsToReflect$) {
|
|
3103
3090
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
3104
|
-
cmpMeta.$attrsToReflect$.
|
|
3105
|
-
(
|
|
3106
|
-
|
|
3091
|
+
cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
|
|
3092
|
+
if (import_app_data13.BUILD.serializer && hostRef.$serializerValues$.has(propName)) {
|
|
3093
|
+
rootVnode.$attrs$[attribute] = hostRef.$serializerValues$.get(propName);
|
|
3094
|
+
} else {
|
|
3095
|
+
rootVnode.$attrs$[attribute] = hostElm[propName];
|
|
3096
|
+
}
|
|
3097
|
+
});
|
|
3107
3098
|
}
|
|
3108
3099
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
3109
3100
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
@@ -3258,11 +3249,16 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
3258
3249
|
}
|
|
3259
3250
|
let maybePromise;
|
|
3260
3251
|
if (isInitialLoad) {
|
|
3261
|
-
if (import_app_data14.BUILD.lazyLoad
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
hostRef.$queuedListeners
|
|
3265
|
-
|
|
3252
|
+
if (import_app_data14.BUILD.lazyLoad) {
|
|
3253
|
+
if (import_app_data14.BUILD.hostListener) {
|
|
3254
|
+
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
3255
|
+
if (hostRef.$queuedListeners$) {
|
|
3256
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
|
3257
|
+
hostRef.$queuedListeners$ = void 0;
|
|
3258
|
+
}
|
|
3259
|
+
}
|
|
3260
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
3261
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
3266
3262
|
}
|
|
3267
3263
|
}
|
|
3268
3264
|
emitLifecycleEvent(elm, "componentWillLoad");
|
|
@@ -3510,6 +3506,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3510
3506
|
`Couldn't find host element for "${cmpMeta.$tagName$}" 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/stenciljs/core/issues/5457).`
|
|
3511
3507
|
);
|
|
3512
3508
|
}
|
|
3509
|
+
if (import_app_data15.BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) {
|
|
3510
|
+
return;
|
|
3511
|
+
}
|
|
3513
3512
|
const elm = import_app_data15.BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
3514
3513
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
3515
3514
|
const flags = hostRef.$flags$;
|
|
@@ -3523,6 +3522,15 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3523
3522
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
3524
3523
|
if ((!import_app_data15.BUILD.lazyLoad || !(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
3525
3524
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
3525
|
+
if (import_app_data15.BUILD.serializer && import_app_data15.BUILD.reflect && cmpMeta.$attrsToReflect$) {
|
|
3526
|
+
if (instance && cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
|
|
3527
|
+
let attrVal = newVal;
|
|
3528
|
+
for (const methodName of cmpMeta.$serializers$[propName]) {
|
|
3529
|
+
attrVal = instance[methodName](attrVal, propName);
|
|
3530
|
+
}
|
|
3531
|
+
hostRef.$serializerValues$.set(propName, attrVal);
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3526
3534
|
if (import_app_data15.BUILD.isDev) {
|
|
3527
3535
|
if (hostRef.$flags$ & 1024 /* devOnRender */) {
|
|
3528
3536
|
consoleDevWarn(
|
|
@@ -3547,7 +3555,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3547
3555
|
}
|
|
3548
3556
|
}
|
|
3549
3557
|
if (!import_app_data15.BUILD.lazyLoad || instance) {
|
|
3550
|
-
if (import_app_data15.BUILD.
|
|
3558
|
+
if (import_app_data15.BUILD.propChangeCallback && cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
3551
3559
|
const watchMethods = cmpMeta.$watchers$[propName];
|
|
3552
3560
|
if (watchMethods) {
|
|
3553
3561
|
watchMethods.map((watchMethodName) => {
|
|
@@ -3602,9 +3610,17 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3602
3610
|
});
|
|
3603
3611
|
});
|
|
3604
3612
|
}
|
|
3605
|
-
if (import_app_data16.BUILD.member && cmpMeta.$members$ || import_app_data16.BUILD.
|
|
3606
|
-
if (import_app_data16.BUILD.
|
|
3607
|
-
cmpMeta.$watchers$
|
|
3613
|
+
if (import_app_data16.BUILD.member && cmpMeta.$members$ || import_app_data16.BUILD.propChangeCallback) {
|
|
3614
|
+
if (import_app_data16.BUILD.propChangeCallback) {
|
|
3615
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
3616
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
3617
|
+
}
|
|
3618
|
+
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
3619
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
3620
|
+
}
|
|
3621
|
+
if (Cstr.serializers && !cmpMeta.$serializers$) {
|
|
3622
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
3623
|
+
}
|
|
3608
3624
|
}
|
|
3609
3625
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
3610
3626
|
members.map(([memberName, [memberFlags]]) => {
|
|
@@ -3657,8 +3673,6 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3657
3673
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
3658
3674
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
3659
3675
|
newValue = ref.$instanceValues$.get(memberName);
|
|
3660
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
3661
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
3662
3676
|
}
|
|
3663
3677
|
origSetter.apply(this, [
|
|
3664
3678
|
parsePropertyValue(
|
|
@@ -3679,7 +3693,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3679
3693
|
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
3680
3694
|
setValue(this, memberName, newValue, cmpMeta);
|
|
3681
3695
|
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
3682
|
-
ref.$
|
|
3696
|
+
ref.$fetchedCbList$.push(() => {
|
|
3683
3697
|
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
3684
3698
|
ref.$lazyInstance$[memberName] = newValue;
|
|
3685
3699
|
}
|
|
@@ -3702,7 +3716,9 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3702
3716
|
if (ref.$lazyInstance$) {
|
|
3703
3717
|
setterSetVal();
|
|
3704
3718
|
} else {
|
|
3705
|
-
ref.$
|
|
3719
|
+
ref.$fetchedCbList$.push(() => {
|
|
3720
|
+
setterSetVal();
|
|
3721
|
+
});
|
|
3706
3722
|
}
|
|
3707
3723
|
}
|
|
3708
3724
|
}
|
|
@@ -3726,14 +3742,39 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3726
3742
|
plt.jmp(() => {
|
|
3727
3743
|
var _a2;
|
|
3728
3744
|
const propName = attrNameToPropName.get(attrName);
|
|
3745
|
+
const hostRef = getHostRef(this);
|
|
3746
|
+
if (import_app_data16.BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) {
|
|
3747
|
+
return;
|
|
3748
|
+
}
|
|
3729
3749
|
if (this.hasOwnProperty(propName) && import_app_data16.BUILD.lazyLoad) {
|
|
3730
3750
|
newValue = this[propName];
|
|
3731
3751
|
delete this[propName];
|
|
3752
|
+
}
|
|
3753
|
+
if (import_app_data16.BUILD.deserializer && cmpMeta.$deserializers$ && cmpMeta.$deserializers$[propName]) {
|
|
3754
|
+
const setVal = (methodName, instance) => {
|
|
3755
|
+
const deserializeVal = instance == null ? void 0 : instance[methodName](newValue, propName);
|
|
3756
|
+
if (deserializeVal !== this[propName]) {
|
|
3757
|
+
this[propName] = deserializeVal;
|
|
3758
|
+
}
|
|
3759
|
+
};
|
|
3760
|
+
for (const methodName of cmpMeta.$deserializers$[propName]) {
|
|
3761
|
+
if (import_app_data16.BUILD.lazyLoad) {
|
|
3762
|
+
if (hostRef.$lazyInstance$) {
|
|
3763
|
+
setVal(methodName, hostRef.$lazyInstance$);
|
|
3764
|
+
} else {
|
|
3765
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
3766
|
+
setVal(methodName, hostRef.$lazyInstance$);
|
|
3767
|
+
});
|
|
3768
|
+
}
|
|
3769
|
+
} else {
|
|
3770
|
+
setVal(methodName, this);
|
|
3771
|
+
}
|
|
3772
|
+
}
|
|
3773
|
+
return;
|
|
3732
3774
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
3733
3775
|
this[propName] == newValue) {
|
|
3734
3776
|
return;
|
|
3735
3777
|
} else if (propName == null) {
|
|
3736
|
-
const hostRef = getHostRef(this);
|
|
3737
3778
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
3738
3779
|
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
3739
3780
|
const elm = import_app_data16.BUILD.lazyLoad ? hostRef.$hostElement$ : this;
|
|
@@ -3749,7 +3790,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3749
3790
|
}
|
|
3750
3791
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
3751
3792
|
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
3752
|
-
if (newValue
|
|
3793
|
+
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
3753
3794
|
this[propName] = newValue;
|
|
3754
3795
|
}
|
|
3755
3796
|
});
|
|
@@ -3795,8 +3836,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3795
3836
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
3796
3837
|
}
|
|
3797
3838
|
if (import_app_data17.BUILD.member && !Cstr.isProxied) {
|
|
3798
|
-
if (import_app_data17.BUILD.
|
|
3839
|
+
if (import_app_data17.BUILD.propChangeCallback) {
|
|
3799
3840
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
3841
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
3842
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
3800
3843
|
}
|
|
3801
3844
|
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
3802
3845
|
Cstr.isProxied = true;
|
|
@@ -3813,7 +3856,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3813
3856
|
if (import_app_data17.BUILD.member) {
|
|
3814
3857
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
3815
3858
|
}
|
|
3816
|
-
if (import_app_data17.BUILD.
|
|
3859
|
+
if (import_app_data17.BUILD.propChangeCallback) {
|
|
3817
3860
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
3818
3861
|
}
|
|
3819
3862
|
endNewInstance();
|
|
@@ -3910,7 +3953,7 @@ var connectedCallback = (elm) => {
|
|
|
3910
3953
|
}
|
|
3911
3954
|
if (import_app_data18.BUILD.prop && !import_app_data18.BUILD.hydrateServerSide && cmpMeta.$members$) {
|
|
3912
3955
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
3913
|
-
if (memberFlags & 31 /* Prop */ && elm.
|
|
3956
|
+
if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
|
|
3914
3957
|
const value = elm[memberName];
|
|
3915
3958
|
delete elm[memberName];
|
|
3916
3959
|
elm[memberName] = value;
|
|
@@ -3991,8 +4034,10 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
3991
4034
|
if (import_app_data20.BUILD.hostListener) {
|
|
3992
4035
|
cmpMeta.$listeners$ = compactMeta[3];
|
|
3993
4036
|
}
|
|
3994
|
-
if (import_app_data20.BUILD.
|
|
4037
|
+
if (import_app_data20.BUILD.propChangeCallback) {
|
|
3995
4038
|
cmpMeta.$watchers$ = Cstr.$watchers$;
|
|
4039
|
+
cmpMeta.$deserializers$ = Cstr.$deserializers$;
|
|
4040
|
+
cmpMeta.$serializers$ = Cstr.$serializers$;
|
|
3996
4041
|
}
|
|
3997
4042
|
if (import_app_data20.BUILD.reflect) {
|
|
3998
4043
|
cmpMeta.$attrsToReflect$ = [];
|
|
@@ -4140,7 +4185,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4140
4185
|
let hasSlotRelocation = false;
|
|
4141
4186
|
lazyBundles.map((lazyBundle) => {
|
|
4142
4187
|
lazyBundle[1].map((compactMeta) => {
|
|
4143
|
-
var _a2;
|
|
4188
|
+
var _a2, _b, _c;
|
|
4144
4189
|
const cmpMeta = {
|
|
4145
4190
|
$flags$: compactMeta[0],
|
|
4146
4191
|
$tagName$: compactMeta[1],
|
|
@@ -4159,8 +4204,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4159
4204
|
if (import_app_data21.BUILD.reflect) {
|
|
4160
4205
|
cmpMeta.$attrsToReflect$ = [];
|
|
4161
4206
|
}
|
|
4162
|
-
if (import_app_data21.BUILD.
|
|
4207
|
+
if (import_app_data21.BUILD.propChangeCallback) {
|
|
4163
4208
|
cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
|
|
4209
|
+
cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
|
|
4210
|
+
cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
|
|
4164
4211
|
}
|
|
4165
4212
|
if (import_app_data21.BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
4166
4213
|
cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.js
CHANGED
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
package/screenshot/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Stencil Screenshot v4.
|
|
2
|
+
Stencil Screenshot v4.38.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -626,7 +626,7 @@ var BUILD = {
|
|
|
626
626
|
vdomRender: true,
|
|
627
627
|
vdomStyle: true,
|
|
628
628
|
vdomText: true,
|
|
629
|
-
|
|
629
|
+
propChangeCallback: true,
|
|
630
630
|
taskQueue: true,
|
|
631
631
|
hotModuleReplacement: false,
|
|
632
632
|
isDebug: false,
|
package/screenshot/package.json
CHANGED