@stencil/core 4.35.1-dev.1750655001.8b007e9 → 4.35.1-dev.1750741417.3f80413
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 +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +5 -5
- 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 +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +202 -177
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +202 -177
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +9 -9
- package/internal/package.json +1 -1
- package/internal/stencil-public-compiler.d.ts +1 -0
- package/internal/testing/index.js +201 -176
- 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 +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +26 -26
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +3 -5
- package/testing/package.json +1 -1
- package/testing/puppeteer/puppeteer-browser.d.ts +5 -5
package/internal/client/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Stencil Client Platform v4.35.1-dev.
|
|
2
|
+
Stencil Client Platform v4.35.1-dev.1750741417.3f80413 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
@@ -537,7 +537,7 @@ var isJsFile = lowerPathParam((p) => p.endsWith(".js") || p.endsWith(".mjs") ||
|
|
|
537
537
|
import { BUILD as BUILD25 } from "@stencil/core/internal/app-data";
|
|
538
538
|
|
|
539
539
|
// src/runtime/client-hydrate.ts
|
|
540
|
-
import { BUILD as
|
|
540
|
+
import { BUILD as BUILD14 } from "@stencil/core/internal/app-data";
|
|
541
541
|
|
|
542
542
|
// src/runtime/dom-extras.ts
|
|
543
543
|
import { BUILD as BUILD10 } from "@stencil/core/internal/app-data";
|
|
@@ -1144,8 +1144,125 @@ var installDevTools = () => {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
|
-
// src/runtime/
|
|
1147
|
+
// src/runtime/styles.ts
|
|
1148
1148
|
import { BUILD as BUILD12 } from "@stencil/core/internal/app-data";
|
|
1149
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1150
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1151
|
+
let style = styles.get(scopeId2);
|
|
1152
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
1153
|
+
style = style || new CSSStyleSheet();
|
|
1154
|
+
if (typeof style === "string") {
|
|
1155
|
+
style = cssText;
|
|
1156
|
+
} else {
|
|
1157
|
+
style.replaceSync(cssText);
|
|
1158
|
+
}
|
|
1159
|
+
} else {
|
|
1160
|
+
style = cssText;
|
|
1161
|
+
}
|
|
1162
|
+
styles.set(scopeId2, style);
|
|
1163
|
+
};
|
|
1164
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1165
|
+
var _a;
|
|
1166
|
+
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
1167
|
+
const style = styles.get(scopeId2);
|
|
1168
|
+
if (!BUILD12.attachStyles || !win.document) {
|
|
1169
|
+
return scopeId2;
|
|
1170
|
+
}
|
|
1171
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
1172
|
+
if (style) {
|
|
1173
|
+
if (typeof style === "string") {
|
|
1174
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1175
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1176
|
+
let styleElm;
|
|
1177
|
+
if (!appliedStyles) {
|
|
1178
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1179
|
+
}
|
|
1180
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1181
|
+
if (BUILD12.hydrateClientSide && styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1182
|
+
styleElm.innerHTML = style;
|
|
1183
|
+
} else {
|
|
1184
|
+
styleElm = win.document.createElement("style");
|
|
1185
|
+
styleElm.innerHTML = style;
|
|
1186
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1187
|
+
if (nonce != null) {
|
|
1188
|
+
styleElm.setAttribute("nonce", nonce);
|
|
1189
|
+
}
|
|
1190
|
+
if ((BUILD12.hydrateServerSide || BUILD12.hotModuleReplacement) && (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
1191
|
+
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
1192
|
+
}
|
|
1193
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1194
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
1195
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1196
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1197
|
+
styleContainerNode.insertBefore(
|
|
1198
|
+
styleElm,
|
|
1199
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
1200
|
+
);
|
|
1201
|
+
} else if ("host" in styleContainerNode) {
|
|
1202
|
+
if (supportsConstructableStylesheets) {
|
|
1203
|
+
const stylesheet = new CSSStyleSheet();
|
|
1204
|
+
stylesheet.replaceSync(style);
|
|
1205
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1206
|
+
} else {
|
|
1207
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1208
|
+
if (existingStyleContainer) {
|
|
1209
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1210
|
+
} else {
|
|
1211
|
+
styleContainerNode.prepend(styleElm);
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
} else {
|
|
1215
|
+
styleContainerNode.append(styleElm);
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1219
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1223
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1224
|
+
}
|
|
1225
|
+
if (appliedStyles) {
|
|
1226
|
+
appliedStyles.add(scopeId2);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
} else if (BUILD12.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
1230
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
return scopeId2;
|
|
1234
|
+
};
|
|
1235
|
+
var attachStyles = (hostRef) => {
|
|
1236
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1237
|
+
const elm = hostRef.$hostElement$;
|
|
1238
|
+
const flags = cmpMeta.$flags$;
|
|
1239
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1240
|
+
const scopeId2 = addStyle(
|
|
1241
|
+
BUILD12.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1242
|
+
cmpMeta,
|
|
1243
|
+
hostRef.$modeName$
|
|
1244
|
+
);
|
|
1245
|
+
if ((BUILD12.shadowDom || BUILD12.scoped) && BUILD12.cssAnnotations && flags & 10 /* needsScopedEncapsulation */) {
|
|
1246
|
+
elm["s-sc"] = scopeId2;
|
|
1247
|
+
elm.classList.add(scopeId2 + "-h");
|
|
1248
|
+
}
|
|
1249
|
+
endAttachStyles();
|
|
1250
|
+
};
|
|
1251
|
+
var getScopeId = (cmp, mode) => "sc-" + (BUILD12.mode && mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
1252
|
+
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
1253
|
+
var hydrateScopedToShadow = () => {
|
|
1254
|
+
if (!win.document) {
|
|
1255
|
+
return;
|
|
1256
|
+
}
|
|
1257
|
+
const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
1258
|
+
let i2 = 0;
|
|
1259
|
+
for (; i2 < styles2.length; i2++) {
|
|
1260
|
+
registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
|
|
1261
|
+
}
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
// src/runtime/vdom/h.ts
|
|
1265
|
+
import { BUILD as BUILD13 } from "@stencil/core/internal/app-data";
|
|
1149
1266
|
var h = (nodeName, vnodeData, ...children) => {
|
|
1150
1267
|
let child = null;
|
|
1151
1268
|
let key = null;
|
|
@@ -1161,7 +1278,7 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
1161
1278
|
} else if (child != null && typeof child !== "boolean") {
|
|
1162
1279
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
1163
1280
|
child = String(child);
|
|
1164
|
-
} else if (
|
|
1281
|
+
} else if (BUILD13.isDev && typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
1165
1282
|
consoleDevError(`vNode passed as children has unexpected type.
|
|
1166
1283
|
Make sure it's using the correct h() function.
|
|
1167
1284
|
Empty objects can also be the cause, look for JSX comments that became objects.`);
|
|
@@ -1177,28 +1294,28 @@ Empty objects can also be the cause, look for JSX comments that became objects.`
|
|
|
1177
1294
|
};
|
|
1178
1295
|
walk(children);
|
|
1179
1296
|
if (vnodeData) {
|
|
1180
|
-
if (
|
|
1297
|
+
if (BUILD13.isDev && nodeName === "input") {
|
|
1181
1298
|
validateInputProperties(vnodeData);
|
|
1182
1299
|
}
|
|
1183
|
-
if (
|
|
1300
|
+
if (BUILD13.vdomKey && vnodeData.key) {
|
|
1184
1301
|
key = vnodeData.key;
|
|
1185
1302
|
}
|
|
1186
|
-
if (
|
|
1303
|
+
if (BUILD13.slotRelocation && vnodeData.name) {
|
|
1187
1304
|
slotName = vnodeData.name;
|
|
1188
1305
|
}
|
|
1189
|
-
if (
|
|
1306
|
+
if (BUILD13.vdomClass) {
|
|
1190
1307
|
const classData = vnodeData.className || vnodeData.class;
|
|
1191
1308
|
if (classData) {
|
|
1192
1309
|
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
|
1193
1310
|
}
|
|
1194
1311
|
}
|
|
1195
1312
|
}
|
|
1196
|
-
if (
|
|
1313
|
+
if (BUILD13.isDev && vNodeChildren.some(isHost)) {
|
|
1197
1314
|
consoleDevError(`The <Host> must be the single root component. Make sure:
|
|
1198
1315
|
- You are NOT using hostData() and <Host> in the same component.
|
|
1199
1316
|
- <Host> is used once, and it's the single root component of the render() function.`);
|
|
1200
1317
|
}
|
|
1201
|
-
if (
|
|
1318
|
+
if (BUILD13.vdomFunctional && typeof nodeName === "function") {
|
|
1202
1319
|
return nodeName(
|
|
1203
1320
|
vnodeData === null ? {} : vnodeData,
|
|
1204
1321
|
vNodeChildren,
|
|
@@ -1210,10 +1327,10 @@ Empty objects can also be the cause, look for JSX comments that became objects.`
|
|
|
1210
1327
|
if (vNodeChildren.length > 0) {
|
|
1211
1328
|
vnode.$children$ = vNodeChildren;
|
|
1212
1329
|
}
|
|
1213
|
-
if (
|
|
1330
|
+
if (BUILD13.vdomKey) {
|
|
1214
1331
|
vnode.$key$ = key;
|
|
1215
1332
|
}
|
|
1216
|
-
if (
|
|
1333
|
+
if (BUILD13.slotRelocation) {
|
|
1217
1334
|
vnode.$name$ = slotName;
|
|
1218
1335
|
}
|
|
1219
1336
|
return vnode;
|
|
@@ -1226,13 +1343,13 @@ var newVNode = (tag, text) => {
|
|
|
1226
1343
|
$elm$: null,
|
|
1227
1344
|
$children$: null
|
|
1228
1345
|
};
|
|
1229
|
-
if (
|
|
1346
|
+
if (BUILD13.vdomAttribute) {
|
|
1230
1347
|
vnode.$attrs$ = null;
|
|
1231
1348
|
}
|
|
1232
|
-
if (
|
|
1349
|
+
if (BUILD13.vdomKey) {
|
|
1233
1350
|
vnode.$key$ = null;
|
|
1234
1351
|
}
|
|
1235
|
-
if (
|
|
1352
|
+
if (BUILD13.slotRelocation) {
|
|
1236
1353
|
vnode.$name$ = null;
|
|
1237
1354
|
}
|
|
1238
1355
|
return vnode;
|
|
@@ -1286,18 +1403,18 @@ var validateInputProperties = (inputElm) => {
|
|
|
1286
1403
|
|
|
1287
1404
|
// src/runtime/client-hydrate.ts
|
|
1288
1405
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1289
|
-
var _a;
|
|
1406
|
+
var _a, _b;
|
|
1290
1407
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
1291
1408
|
const shadowRoot = hostElm.shadowRoot;
|
|
1292
1409
|
const childRenderNodes = [];
|
|
1293
1410
|
const slotNodes = [];
|
|
1294
1411
|
const slottedNodes = [];
|
|
1295
|
-
const shadowRootNodes =
|
|
1412
|
+
const shadowRootNodes = BUILD14.shadowDom && shadowRoot ? [] : null;
|
|
1296
1413
|
const vnode = newVNode(tagName, null);
|
|
1297
1414
|
vnode.$elm$ = hostElm;
|
|
1298
1415
|
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
1299
1416
|
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
1300
|
-
var _a2,
|
|
1417
|
+
var _a2, _b2;
|
|
1301
1418
|
if (!(memberFlags & 31 /* Prop */)) {
|
|
1302
1419
|
return;
|
|
1303
1420
|
}
|
|
@@ -1307,13 +1424,13 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1307
1424
|
const attrPropVal = parsePropertyValue(
|
|
1308
1425
|
attrVal,
|
|
1309
1426
|
memberFlags,
|
|
1310
|
-
|
|
1427
|
+
BUILD14.formAssociated && !!(((_a2 = hostRef.$cmpMeta$) == null ? void 0 : _a2.$flags$) & 64 /* formAssociated */)
|
|
1311
1428
|
);
|
|
1312
|
-
(
|
|
1429
|
+
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
1313
1430
|
}
|
|
1314
1431
|
});
|
|
1315
1432
|
let scopeId2;
|
|
1316
|
-
if (
|
|
1433
|
+
if (BUILD14.scoped) {
|
|
1317
1434
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1318
1435
|
if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
|
|
1319
1436
|
scopeId2 = hostElm["s-sc"];
|
|
@@ -1350,6 +1467,16 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1350
1467
|
if (childRenderNode.$tag$ === "slot") {
|
|
1351
1468
|
node["s-cr"] = hostElm["s-cr"];
|
|
1352
1469
|
}
|
|
1470
|
+
} else if (((_b = childRenderNode.$tag$) == null ? void 0 : _b.toString().includes("-")) && !childRenderNode.$elm$.shadowRoot) {
|
|
1471
|
+
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
1472
|
+
const scopeId3 = getScopeId(
|
|
1473
|
+
cmpMeta.$cmpMeta$,
|
|
1474
|
+
BUILD14.mode ? childRenderNode.$elm$.getAttribute("s-mode") : void 0
|
|
1475
|
+
);
|
|
1476
|
+
const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
|
|
1477
|
+
if (styleSheet) {
|
|
1478
|
+
hostElm.shadowRoot.append(styleSheet.cloneNode(true));
|
|
1479
|
+
}
|
|
1353
1480
|
}
|
|
1354
1481
|
if (childRenderNode.$tag$ === "slot") {
|
|
1355
1482
|
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
@@ -1365,7 +1492,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1365
1492
|
}
|
|
1366
1493
|
}
|
|
1367
1494
|
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
1368
|
-
if (shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1495
|
+
if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1369
1496
|
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
1370
1497
|
}
|
|
1371
1498
|
orgLocationNode.parentNode.removeChild(orgLocationNode);
|
|
@@ -1373,7 +1500,9 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1373
1500
|
node["s-oo"] = parseInt(childRenderNode.$nodeId$);
|
|
1374
1501
|
}
|
|
1375
1502
|
}
|
|
1376
|
-
|
|
1503
|
+
if (orgLocationNode && !orgLocationNode["s-id"]) {
|
|
1504
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
1505
|
+
}
|
|
1377
1506
|
}
|
|
1378
1507
|
const hosts = [];
|
|
1379
1508
|
const snLen = slottedNodes.length;
|
|
@@ -1395,14 +1524,16 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1395
1524
|
if (!hosts[slottedItem.hostId]) continue;
|
|
1396
1525
|
const hostEle = hosts[slottedItem.hostId];
|
|
1397
1526
|
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1398
|
-
slottedItem.slot["s-cr"]
|
|
1399
|
-
|
|
1400
|
-
slottedItem.slot["s-cr"]
|
|
1401
|
-
|
|
1402
|
-
|
|
1527
|
+
if (!slottedItem.slot["s-cr"]) {
|
|
1528
|
+
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
|
1529
|
+
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1530
|
+
slottedItem.slot["s-cr"] = hostEle;
|
|
1531
|
+
} else {
|
|
1532
|
+
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
1533
|
+
}
|
|
1403
1534
|
}
|
|
1404
1535
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1405
|
-
if (
|
|
1536
|
+
if (BUILD14.experimentalSlotFixes) {
|
|
1406
1537
|
patchSlottedNode(slottedItem.node);
|
|
1407
1538
|
}
|
|
1408
1539
|
}
|
|
@@ -1411,12 +1542,12 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1411
1542
|
}
|
|
1412
1543
|
}
|
|
1413
1544
|
}
|
|
1414
|
-
if (
|
|
1545
|
+
if (BUILD14.scoped && scopeId2 && slotNodes.length) {
|
|
1415
1546
|
slotNodes.forEach((slot) => {
|
|
1416
1547
|
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
1417
1548
|
});
|
|
1418
1549
|
}
|
|
1419
|
-
if (
|
|
1550
|
+
if (BUILD14.shadowDom && shadowRoot) {
|
|
1420
1551
|
let rnIdex = 0;
|
|
1421
1552
|
const rnLen = shadowRootNodes.length;
|
|
1422
1553
|
if (rnLen) {
|
|
@@ -1427,14 +1558,13 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1427
1558
|
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1428
1559
|
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1429
1560
|
node.removeAttribute("hidden");
|
|
1430
|
-
} else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
1561
|
+
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
1431
1562
|
node.parentNode.removeChild(node);
|
|
1432
1563
|
}
|
|
1433
1564
|
}
|
|
1434
1565
|
});
|
|
1435
1566
|
}
|
|
1436
1567
|
}
|
|
1437
|
-
plt.$orgLocNodes$.delete(hostElm["s-id"]);
|
|
1438
1568
|
hostRef.$hostElement$ = hostElm;
|
|
1439
1569
|
endHydrate();
|
|
1440
1570
|
};
|
|
@@ -1466,7 +1596,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1466
1596
|
if (!parentVNode.$children$) {
|
|
1467
1597
|
parentVNode.$children$ = [];
|
|
1468
1598
|
}
|
|
1469
|
-
if (
|
|
1599
|
+
if (BUILD14.scoped && scopeId2 && childIdSplt[0] === hostId) {
|
|
1470
1600
|
node["s-si"] = scopeId2;
|
|
1471
1601
|
childVNode.$attrs$.class += " " + scopeId2;
|
|
1472
1602
|
}
|
|
@@ -1484,7 +1614,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1484
1614
|
shadowRootNodes,
|
|
1485
1615
|
slottedNodes
|
|
1486
1616
|
);
|
|
1487
|
-
if (
|
|
1617
|
+
if (BUILD14.scoped && scopeId2) {
|
|
1488
1618
|
node.classList.add(scopeId2);
|
|
1489
1619
|
}
|
|
1490
1620
|
}
|
|
@@ -1581,9 +1711,9 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1581
1711
|
slottedNodes
|
|
1582
1712
|
);
|
|
1583
1713
|
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1584
|
-
if (
|
|
1714
|
+
if (BUILD14.shadowDom && shadowRootNodes) {
|
|
1585
1715
|
node.remove();
|
|
1586
|
-
} else if (
|
|
1716
|
+
} else if (BUILD14.slotRelocation) {
|
|
1587
1717
|
hostElm["s-cr"] = node;
|
|
1588
1718
|
node["s-cn"] = true;
|
|
1589
1719
|
}
|
|
@@ -1596,7 +1726,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1596
1726
|
vnode.$index$ = "0";
|
|
1597
1727
|
parentVNode.$children$ = [vnode];
|
|
1598
1728
|
} else {
|
|
1599
|
-
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
1729
|
+
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
|
|
1600
1730
|
node.remove();
|
|
1601
1731
|
}
|
|
1602
1732
|
}
|
|
@@ -1649,15 +1779,15 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1649
1779
|
childVNode.$name$ = slotName || null;
|
|
1650
1780
|
childVNode.$tag$ = "slot";
|
|
1651
1781
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1652
|
-
if (
|
|
1782
|
+
if (BUILD14.shadowDom && shadowRootNodes && win.document) {
|
|
1653
1783
|
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1654
1784
|
if (childVNode.$name$) {
|
|
1655
1785
|
childVNode.$elm$.setAttribute("name", slotName);
|
|
1656
1786
|
}
|
|
1657
|
-
if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1658
|
-
parentVNode.$elm
|
|
1787
|
+
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1788
|
+
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
1659
1789
|
} else {
|
|
1660
|
-
node
|
|
1790
|
+
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
1661
1791
|
}
|
|
1662
1792
|
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1663
1793
|
node.remove();
|
|
@@ -1683,7 +1813,7 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1683
1813
|
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1684
1814
|
let slottedNode = slotNode.nextSibling;
|
|
1685
1815
|
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
1686
|
-
while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */
|
|
1816
|
+
while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */ || slottedNode.tagName === "SLOT"))) {
|
|
1687
1817
|
slottedNode["s-sn"] = slotName;
|
|
1688
1818
|
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
|
1689
1819
|
slottedNode = slottedNode.nextSibling;
|
|
@@ -2118,31 +2248,31 @@ import { BUILD as BUILD23 } from "@stencil/core/internal/app-data";
|
|
|
2118
2248
|
import { BUILD as BUILD22 } from "@stencil/core/internal/app-data";
|
|
2119
2249
|
|
|
2120
2250
|
// src/runtime/parse-property-value.ts
|
|
2121
|
-
import { BUILD as
|
|
2251
|
+
import { BUILD as BUILD15 } from "@stencil/core/internal/app-data";
|
|
2122
2252
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
2123
|
-
if ((
|
|
2253
|
+
if ((BUILD15.hydrateClientSide || BUILD15.hydrateServerSide) && typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
2124
2254
|
try {
|
|
2125
2255
|
propValue = JSON.parse(propValue);
|
|
2126
2256
|
return propValue;
|
|
2127
2257
|
} catch (e) {
|
|
2128
2258
|
}
|
|
2129
2259
|
}
|
|
2130
|
-
if ((
|
|
2260
|
+
if ((BUILD15.hydrateClientSide || BUILD15.hydrateServerSide) && typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
2131
2261
|
propValue = deserializeProperty(propValue);
|
|
2132
2262
|
return propValue;
|
|
2133
2263
|
}
|
|
2134
2264
|
if (propValue != null && !isComplexType(propValue)) {
|
|
2135
|
-
if (
|
|
2136
|
-
if (
|
|
2265
|
+
if (BUILD15.propBoolean && propType & 4 /* Boolean */) {
|
|
2266
|
+
if (BUILD15.formAssociated && isFormAssociated && typeof propValue === "string") {
|
|
2137
2267
|
return propValue === "" || !!propValue;
|
|
2138
2268
|
} else {
|
|
2139
2269
|
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
2140
2270
|
}
|
|
2141
2271
|
}
|
|
2142
|
-
if (
|
|
2272
|
+
if (BUILD15.propNumber && propType & 2 /* Number */) {
|
|
2143
2273
|
return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
|
|
2144
2274
|
}
|
|
2145
|
-
if (
|
|
2275
|
+
if (BUILD15.propString && propType & 1 /* String */) {
|
|
2146
2276
|
return String(propValue);
|
|
2147
2277
|
}
|
|
2148
2278
|
return propValue;
|
|
@@ -2154,18 +2284,18 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
|
2154
2284
|
import { BUILD as BUILD21, NAMESPACE } from "@stencil/core/internal/app-data";
|
|
2155
2285
|
|
|
2156
2286
|
// src/runtime/event-emitter.ts
|
|
2157
|
-
import { BUILD as
|
|
2287
|
+
import { BUILD as BUILD17 } from "@stencil/core/internal/app-data";
|
|
2158
2288
|
|
|
2159
2289
|
// src/runtime/element.ts
|
|
2160
|
-
import { BUILD as
|
|
2161
|
-
var getElement = (ref) =>
|
|
2290
|
+
import { BUILD as BUILD16 } from "@stencil/core/internal/app-data";
|
|
2291
|
+
var getElement = (ref) => BUILD16.lazyLoad ? getHostRef(ref).$hostElement$ : ref;
|
|
2162
2292
|
|
|
2163
2293
|
// src/runtime/event-emitter.ts
|
|
2164
2294
|
var createEvent = (ref, name, flags) => {
|
|
2165
2295
|
const elm = getElement(ref);
|
|
2166
2296
|
return {
|
|
2167
2297
|
emit: (detail) => {
|
|
2168
|
-
if (
|
|
2298
|
+
if (BUILD17.isDev && !elm.isConnected) {
|
|
2169
2299
|
consoleDevWarn(`The "${name}" event was emitted, but the dispatcher node is no longer connected to the dom.`);
|
|
2170
2300
|
}
|
|
2171
2301
|
return emitEvent(elm, name, {
|
|
@@ -2183,123 +2313,6 @@ var emitEvent = (elm, name, opts) => {
|
|
|
2183
2313
|
return ev;
|
|
2184
2314
|
};
|
|
2185
2315
|
|
|
2186
|
-
// src/runtime/styles.ts
|
|
2187
|
-
import { BUILD as BUILD17 } from "@stencil/core/internal/app-data";
|
|
2188
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
2189
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
2190
|
-
let style = styles.get(scopeId2);
|
|
2191
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
2192
|
-
style = style || new CSSStyleSheet();
|
|
2193
|
-
if (typeof style === "string") {
|
|
2194
|
-
style = cssText;
|
|
2195
|
-
} else {
|
|
2196
|
-
style.replaceSync(cssText);
|
|
2197
|
-
}
|
|
2198
|
-
} else {
|
|
2199
|
-
style = cssText;
|
|
2200
|
-
}
|
|
2201
|
-
styles.set(scopeId2, style);
|
|
2202
|
-
};
|
|
2203
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
2204
|
-
var _a;
|
|
2205
|
-
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
2206
|
-
const style = styles.get(scopeId2);
|
|
2207
|
-
if (!BUILD17.attachStyles || !win.document) {
|
|
2208
|
-
return scopeId2;
|
|
2209
|
-
}
|
|
2210
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
2211
|
-
if (style) {
|
|
2212
|
-
if (typeof style === "string") {
|
|
2213
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
2214
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
2215
|
-
let styleElm;
|
|
2216
|
-
if (!appliedStyles) {
|
|
2217
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
2218
|
-
}
|
|
2219
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
2220
|
-
if (BUILD17.hydrateClientSide && styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
2221
|
-
styleElm.innerHTML = style;
|
|
2222
|
-
} else {
|
|
2223
|
-
styleElm = win.document.createElement("style");
|
|
2224
|
-
styleElm.innerHTML = style;
|
|
2225
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
2226
|
-
if (nonce != null) {
|
|
2227
|
-
styleElm.setAttribute("nonce", nonce);
|
|
2228
|
-
}
|
|
2229
|
-
if ((BUILD17.hydrateServerSide || BUILD17.hotModuleReplacement) && (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
2230
|
-
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
2231
|
-
}
|
|
2232
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
2233
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
2234
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
2235
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
2236
|
-
styleContainerNode.insertBefore(
|
|
2237
|
-
styleElm,
|
|
2238
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
2239
|
-
);
|
|
2240
|
-
} else if ("host" in styleContainerNode) {
|
|
2241
|
-
if (supportsConstructableStylesheets) {
|
|
2242
|
-
const stylesheet = new CSSStyleSheet();
|
|
2243
|
-
stylesheet.replaceSync(style);
|
|
2244
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
2245
|
-
} else {
|
|
2246
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
2247
|
-
if (existingStyleContainer) {
|
|
2248
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
2249
|
-
} else {
|
|
2250
|
-
styleContainerNode.prepend(styleElm);
|
|
2251
|
-
}
|
|
2252
|
-
}
|
|
2253
|
-
} else {
|
|
2254
|
-
styleContainerNode.append(styleElm);
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
2257
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
2258
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
2262
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
2263
|
-
}
|
|
2264
|
-
if (appliedStyles) {
|
|
2265
|
-
appliedStyles.add(scopeId2);
|
|
2266
|
-
}
|
|
2267
|
-
}
|
|
2268
|
-
} else if (BUILD17.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
2269
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
return scopeId2;
|
|
2273
|
-
};
|
|
2274
|
-
var attachStyles = (hostRef) => {
|
|
2275
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
2276
|
-
const elm = hostRef.$hostElement$;
|
|
2277
|
-
const flags = cmpMeta.$flags$;
|
|
2278
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
2279
|
-
const scopeId2 = addStyle(
|
|
2280
|
-
BUILD17.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
2281
|
-
cmpMeta,
|
|
2282
|
-
hostRef.$modeName$
|
|
2283
|
-
);
|
|
2284
|
-
if ((BUILD17.shadowDom || BUILD17.scoped) && BUILD17.cssAnnotations && flags & 10 /* needsScopedEncapsulation */) {
|
|
2285
|
-
elm["s-sc"] = scopeId2;
|
|
2286
|
-
elm.classList.add(scopeId2 + "-h");
|
|
2287
|
-
}
|
|
2288
|
-
endAttachStyles();
|
|
2289
|
-
};
|
|
2290
|
-
var getScopeId = (cmp, mode) => "sc-" + (BUILD17.mode && mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
2291
|
-
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
2292
|
-
var hydrateScopedToShadow = () => {
|
|
2293
|
-
if (!win.document) {
|
|
2294
|
-
return;
|
|
2295
|
-
}
|
|
2296
|
-
const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
2297
|
-
let i2 = 0;
|
|
2298
|
-
for (; i2 < styles2.length; i2++) {
|
|
2299
|
-
registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
|
|
2300
|
-
}
|
|
2301
|
-
};
|
|
2302
|
-
|
|
2303
2316
|
// src/runtime/vdom/vdom-render.ts
|
|
2304
2317
|
import { BUILD as BUILD20 } from "@stencil/core/internal/app-data";
|
|
2305
2318
|
|
|
@@ -2318,12 +2331,13 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2318
2331
|
const classList = elm.classList;
|
|
2319
2332
|
const oldClasses = parseClassList(oldValue);
|
|
2320
2333
|
let newClasses = parseClassList(newValue);
|
|
2321
|
-
if (BUILD18.hydrateClientSide && elm["s-si"] && initialRender) {
|
|
2322
|
-
|
|
2334
|
+
if (BUILD18.hydrateClientSide && (elm["s-si"] || elm["s-sc"]) && initialRender) {
|
|
2335
|
+
const scopeId2 = elm["s-sc"] || elm["s-si"];
|
|
2336
|
+
newClasses.push(scopeId2);
|
|
2323
2337
|
oldClasses.forEach((c) => {
|
|
2324
|
-
if (c.startsWith(
|
|
2338
|
+
if (c.startsWith(scopeId2)) newClasses.push(c);
|
|
2325
2339
|
});
|
|
2326
|
-
newClasses = [...new Set(newClasses)];
|
|
2340
|
+
newClasses = [...new Set(newClasses)].filter((c) => c);
|
|
2327
2341
|
classList.add(...newClasses);
|
|
2328
2342
|
} else {
|
|
2329
2343
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
@@ -3272,10 +3286,16 @@ var forceUpdate = (ref) => {
|
|
|
3272
3286
|
return false;
|
|
3273
3287
|
};
|
|
3274
3288
|
var appDidLoad = (who) => {
|
|
3289
|
+
var _a;
|
|
3275
3290
|
if (BUILD21.asyncQueue) {
|
|
3276
3291
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
3277
3292
|
}
|
|
3278
3293
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
3294
|
+
if (BUILD21.hydrateClientSide) {
|
|
3295
|
+
if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
|
|
3296
|
+
plt.$orgLocNodes$.clear();
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3279
3299
|
if (BUILD21.profile && performance.measure) {
|
|
3280
3300
|
performance.measure(`[Stencil] ${NAMESPACE} initial load (by ${who})`, "st:app:start");
|
|
3281
3301
|
}
|
|
@@ -3707,6 +3727,11 @@ var connectedCallback = (elm) => {
|
|
|
3707
3727
|
if (BUILD25.hydrateServerSide || (BUILD25.slot || BUILD25.shadowDom) && // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
3708
3728
|
cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
|
|
3709
3729
|
setContentReference(elm);
|
|
3730
|
+
} else if (BUILD25.hydrateClientSide && !(cmpMeta.$flags$ & 4 /* hasSlotRelocation */)) {
|
|
3731
|
+
const commendPlaceholder = elm.firstChild;
|
|
3732
|
+
if ((commendPlaceholder == null ? void 0 : commendPlaceholder.nodeType) === 8 /* CommentNode */ && !commendPlaceholder["s-cn"] && !commendPlaceholder.nodeValue) {
|
|
3733
|
+
elm.removeChild(commendPlaceholder);
|
|
3734
|
+
}
|
|
3710
3735
|
}
|
|
3711
3736
|
}
|
|
3712
3737
|
if (BUILD25.asyncLoading) {
|
|
@@ -3811,7 +3836,7 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
3811
3836
|
cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
|
|
3812
3837
|
}
|
|
3813
3838
|
if (BUILD27.experimentalSlotFixes) {
|
|
3814
|
-
if (BUILD27.
|
|
3839
|
+
if (BUILD27.scoped && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
3815
3840
|
patchPseudoShadowDom(Cstr.prototype);
|
|
3816
3841
|
}
|
|
3817
3842
|
} else {
|
|
@@ -4028,7 +4053,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4028
4053
|
}
|
|
4029
4054
|
};
|
|
4030
4055
|
if (BUILD28.experimentalSlotFixes) {
|
|
4031
|
-
if (BUILD28.
|
|
4056
|
+
if (BUILD28.scoped && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
4032
4057
|
patchPseudoShadowDom(HostElement.prototype);
|
|
4033
4058
|
}
|
|
4034
4059
|
} else {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/client",
|
|
3
|
-
"version": "4.35.1-dev.
|
|
3
|
+
"version": "4.35.1-dev.1750741417.3f80413",
|
|
4
4
|
"description": "Stencil internal client platform to be imported by the Stencil Compiler and internal runtime. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"exports": "./index.js",
|