@rindo/core 4.23.1 → 4.25.3
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 -5
- package/cli/index.js +2 -5
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/rindo.js +2441 -841
- 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 +10 -10
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +2025 -1876
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +2057 -1856
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +111 -42
- package/internal/package.json +1 -1
- package/internal/rindo-private.d.ts +70 -2
- package/internal/rindo-public-compiler.d.ts +9 -11
- package/internal/testing/index.js +1830 -1687
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +69 -5
- package/mock-doc/index.d.ts +9 -0
- package/mock-doc/index.js +69 -5
- package/mock-doc/package.json +1 -1
- package/package.json +3 -3
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/autoprefixer.js +2 -2
- package/sys/node/glob.js +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +28 -19
- package/testing/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rindo/core/internal/hydrate",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.3",
|
|
4
4
|
"description": "Rindo internal hydrate platform to be imported by the Rindo Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Rindo Hydrate Runner v4.
|
|
2
|
+
Rindo Hydrate Runner v4.25.3 | MIT Licensed | https://rindojs.web.app
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
@@ -10969,7 +10969,7 @@ var MockNode2 = class {
|
|
|
10969
10969
|
}
|
|
10970
10970
|
remove() {
|
|
10971
10971
|
if (this.parentNode != null) {
|
|
10972
|
-
this.parentNode.removeChild(this);
|
|
10972
|
+
this.__parentNode ? this.__parentNode.removeChild(this) : this.parentNode.removeChild(this);
|
|
10973
10973
|
}
|
|
10974
10974
|
}
|
|
10975
10975
|
replaceChild(newChild, oldChild) {
|
|
@@ -11923,6 +11923,10 @@ function createElement(ownerDocument, tagName) {
|
|
|
11923
11923
|
return new MockMetaElement(ownerDocument);
|
|
11924
11924
|
case "script":
|
|
11925
11925
|
return new MockScriptElement(ownerDocument);
|
|
11926
|
+
case "slot":
|
|
11927
|
+
return new MockSlotElement(ownerDocument);
|
|
11928
|
+
case "slot-fb":
|
|
11929
|
+
return new MockHTMLElement(ownerDocument, tagName);
|
|
11926
11930
|
case "style":
|
|
11927
11931
|
return new MockStyleElement(ownerDocument);
|
|
11928
11932
|
case "template":
|
|
@@ -11931,8 +11935,6 @@ function createElement(ownerDocument, tagName) {
|
|
|
11931
11935
|
return new MockTitleElement(ownerDocument);
|
|
11932
11936
|
case "ul":
|
|
11933
11937
|
return new MockUListElement(ownerDocument);
|
|
11934
|
-
case "slot-fb":
|
|
11935
|
-
return new MockHTMLElement(ownerDocument, tagName);
|
|
11936
11938
|
}
|
|
11937
11939
|
if (ownerDocument != null && tagName.includes("-")) {
|
|
11938
11940
|
const win2 = ownerDocument.defaultView;
|
|
@@ -12352,6 +12354,68 @@ var MockUListElement = class extends MockHTMLElement {
|
|
|
12352
12354
|
super(ownerDocument, "ul");
|
|
12353
12355
|
}
|
|
12354
12356
|
};
|
|
12357
|
+
var MockSlotElement = class _MockSlotElement extends MockHTMLElement {
|
|
12358
|
+
constructor(ownerDocument) {
|
|
12359
|
+
super(ownerDocument, "slot");
|
|
12360
|
+
}
|
|
12361
|
+
assignedNodes(opts) {
|
|
12362
|
+
let nodesToReturn = [];
|
|
12363
|
+
const ownerHost = this.getRootNode().host;
|
|
12364
|
+
if (!ownerHost) return nodesToReturn;
|
|
12365
|
+
if (ownerHost.childNodes.length) {
|
|
12366
|
+
if (this.name) {
|
|
12367
|
+
nodesToReturn = ownerHost.childNodes.filter(
|
|
12368
|
+
(n) => n.nodeType === 1 /* ELEMENT_NODE */ && n.getAttribute("slot") === this.name
|
|
12369
|
+
);
|
|
12370
|
+
} else {
|
|
12371
|
+
nodesToReturn = ownerHost.childNodes.filter(
|
|
12372
|
+
(n) => n.nodeType === 1 /* ELEMENT_NODE */ && !n.getAttribute("slot") || n.nodeType !== 1 /* ELEMENT_NODE */
|
|
12373
|
+
);
|
|
12374
|
+
}
|
|
12375
|
+
if (nodesToReturn.length) return nodesToReturn;
|
|
12376
|
+
}
|
|
12377
|
+
if (!(opts == null ? void 0 : opts.flatten)) return this.childNodes.filter((n) => !(n instanceof _MockSlotElement));
|
|
12378
|
+
return this.childNodes.reduce(
|
|
12379
|
+
(acc, node) => {
|
|
12380
|
+
if (node instanceof _MockSlotElement) {
|
|
12381
|
+
acc.push(...node.assignedNodes(opts));
|
|
12382
|
+
} else {
|
|
12383
|
+
acc.push(node);
|
|
12384
|
+
}
|
|
12385
|
+
return acc;
|
|
12386
|
+
},
|
|
12387
|
+
[]
|
|
12388
|
+
);
|
|
12389
|
+
}
|
|
12390
|
+
assignedElements(opts) {
|
|
12391
|
+
let elesToReturn = [];
|
|
12392
|
+
const ownerHost = this.getRootNode().host;
|
|
12393
|
+
if (!ownerHost) return elesToReturn;
|
|
12394
|
+
if (ownerHost.children.length) {
|
|
12395
|
+
if (this.name) {
|
|
12396
|
+
elesToReturn = ownerHost.children.filter((n) => n.getAttribute("slot") == this.name);
|
|
12397
|
+
} else {
|
|
12398
|
+
elesToReturn = ownerHost.children.filter((n) => !n.getAttribute("slot"));
|
|
12399
|
+
}
|
|
12400
|
+
if (elesToReturn.length) return elesToReturn;
|
|
12401
|
+
}
|
|
12402
|
+
if (!(opts == null ? void 0 : opts.flatten)) return this.children.filter((n) => !(n instanceof _MockSlotElement));
|
|
12403
|
+
return this.children.reduce(
|
|
12404
|
+
(acc, node) => {
|
|
12405
|
+
if (node instanceof _MockSlotElement) {
|
|
12406
|
+
acc.push(...node.assignedElements(opts));
|
|
12407
|
+
} else {
|
|
12408
|
+
acc.push(node);
|
|
12409
|
+
}
|
|
12410
|
+
return acc;
|
|
12411
|
+
},
|
|
12412
|
+
[]
|
|
12413
|
+
);
|
|
12414
|
+
}
|
|
12415
|
+
};
|
|
12416
|
+
patchPropAttributes(MockSlotElement.prototype, {
|
|
12417
|
+
name: String
|
|
12418
|
+
});
|
|
12355
12419
|
var CanvasRenderingContext = class {
|
|
12356
12420
|
constructor(context, contextAttributes) {
|
|
12357
12421
|
this.context = context;
|
|
@@ -13729,7 +13793,7 @@ function resetWindowDefaults(win2) {
|
|
|
13729
13793
|
win2.__clearTimeout = nativeClearTimeout;
|
|
13730
13794
|
win2.__setInterval = nativeSetInterval;
|
|
13731
13795
|
win2.__setTimeout = nativeSetTimeout;
|
|
13732
|
-
win2.__maxTimeout =
|
|
13796
|
+
win2.__maxTimeout = 6e4;
|
|
13733
13797
|
win2.__allowInterval = true;
|
|
13734
13798
|
win2.URL = nativeURL;
|
|
13735
13799
|
}
|
|
@@ -14121,15 +14185,20 @@ var Build = {
|
|
|
14121
14185
|
};
|
|
14122
14186
|
|
|
14123
14187
|
// src/client/client-host-ref.ts
|
|
14188
|
+
import { BUILD as BUILD3 } from "@rindo/core/internal/app-data";
|
|
14189
|
+
|
|
14190
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
14124
14191
|
import { BUILD as BUILD2 } from "@rindo/core/internal/app-data";
|
|
14125
|
-
|
|
14192
|
+
|
|
14193
|
+
// src/client/client-host-ref.ts
|
|
14194
|
+
var hostRefs = BUILD3.hotModuleReplacement ? window.__RINDO_HOSTREFS__ || (window.__RINDO_HOSTREFS__ = /* @__PURE__ */ new WeakMap()) : /* @__PURE__ */ new WeakMap();
|
|
14126
14195
|
|
|
14127
14196
|
// src/client/client-load-module.ts
|
|
14128
|
-
import { BUILD as
|
|
14197
|
+
import { BUILD as BUILD5 } from "@rindo/core/internal/app-data";
|
|
14129
14198
|
|
|
14130
14199
|
// src/client/client-log.ts
|
|
14131
|
-
import { BUILD as
|
|
14132
|
-
var RINDO_DEV_MODE =
|
|
14200
|
+
import { BUILD as BUILD4 } from "@rindo/core/internal/app-data";
|
|
14201
|
+
var RINDO_DEV_MODE = BUILD4.isTesting ? ["RINDO:"] : [
|
|
14133
14202
|
"%crindo",
|
|
14134
14203
|
"color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
|
|
14135
14204
|
];
|
|
@@ -14138,16 +14207,16 @@ var RINDO_DEV_MODE = BUILD3.isTesting ? ["RINDO:"] : [
|
|
|
14138
14207
|
var modeResolutionChain = [];
|
|
14139
14208
|
|
|
14140
14209
|
// src/client/client-task-queue.ts
|
|
14141
|
-
import { BUILD as
|
|
14210
|
+
import { BUILD as BUILD7 } from "@rindo/core/internal/app-data";
|
|
14142
14211
|
|
|
14143
14212
|
// src/client/client-window.ts
|
|
14144
|
-
import { BUILD as
|
|
14213
|
+
import { BUILD as BUILD6 } from "@rindo/core/internal/app-data";
|
|
14145
14214
|
var win = typeof window !== "undefined" ? window : {};
|
|
14146
14215
|
var doc = win.document || { head: {} };
|
|
14147
14216
|
var H = win.HTMLElement || class {
|
|
14148
14217
|
};
|
|
14149
|
-
var supportsShadow =
|
|
14150
|
-
var supportsConstructableStylesheets =
|
|
14218
|
+
var supportsShadow = BUILD6.shadowDom;
|
|
14219
|
+
var supportsConstructableStylesheets = BUILD6.constructableCSS ? /* @__PURE__ */ (() => {
|
|
14151
14220
|
try {
|
|
14152
14221
|
new CSSStyleSheet();
|
|
14153
14222
|
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
@@ -14157,10 +14226,10 @@ var supportsConstructableStylesheets = BUILD5.constructableCSS ? /* @__PURE__ */
|
|
|
14157
14226
|
})() : false;
|
|
14158
14227
|
|
|
14159
14228
|
// src/client/index.ts
|
|
14160
|
-
import { BUILD as
|
|
14229
|
+
import { BUILD as BUILD29, Env, NAMESPACE as NAMESPACE2 } from "@rindo/core/internal/app-data";
|
|
14161
14230
|
|
|
14162
14231
|
// src/runtime/bootstrap-custom-element.ts
|
|
14163
|
-
import { BUILD as
|
|
14232
|
+
import { BUILD as BUILD26 } from "@rindo/core/internal/app-data";
|
|
14164
14233
|
|
|
14165
14234
|
// src/utils/helpers.ts
|
|
14166
14235
|
var isString = (v) => typeof v === "string";
|
|
@@ -14253,69 +14322,69 @@ var unwrapErr = (result) => {
|
|
|
14253
14322
|
};
|
|
14254
14323
|
|
|
14255
14324
|
// src/runtime/connected-callback.ts
|
|
14256
|
-
import { BUILD as
|
|
14325
|
+
import { BUILD as BUILD24 } from "@rindo/core/internal/app-data";
|
|
14257
14326
|
|
|
14258
14327
|
// src/runtime/client-hydrate.ts
|
|
14259
|
-
import { BUILD as
|
|
14328
|
+
import { BUILD as BUILD12 } from "@rindo/core/internal/app-data";
|
|
14260
14329
|
|
|
14261
14330
|
// src/runtime/dom-extras.ts
|
|
14262
|
-
import { BUILD as
|
|
14331
|
+
import { BUILD as BUILD9 } from "@rindo/core/internal/app-data";
|
|
14263
14332
|
|
|
14264
14333
|
// src/runtime/slot-polyfill-utils.ts
|
|
14265
|
-
import { BUILD as BUILD7 } from "@rindo/core/internal/app-data";
|
|
14266
|
-
|
|
14267
|
-
// src/runtime/vdom/vdom-render.ts
|
|
14268
|
-
import { BUILD as BUILD11 } from "@rindo/core/internal/app-data";
|
|
14269
|
-
|
|
14270
|
-
// src/runtime/vdom/h.ts
|
|
14271
14334
|
import { BUILD as BUILD8 } from "@rindo/core/internal/app-data";
|
|
14272
14335
|
|
|
14273
|
-
// src/runtime/
|
|
14336
|
+
// src/runtime/profile.ts
|
|
14274
14337
|
import { BUILD as BUILD10 } from "@rindo/core/internal/app-data";
|
|
14275
14338
|
|
|
14276
|
-
// src/runtime/vdom/
|
|
14277
|
-
import { BUILD as
|
|
14278
|
-
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
14279
|
-
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
14280
|
-
|
|
14281
|
-
// src/runtime/profile.ts
|
|
14282
|
-
import { BUILD as BUILD13 } from "@rindo/core/internal/app-data";
|
|
14339
|
+
// src/runtime/vdom/h.ts
|
|
14340
|
+
import { BUILD as BUILD11 } from "@rindo/core/internal/app-data";
|
|
14283
14341
|
|
|
14284
14342
|
// src/runtime/initialize-component.ts
|
|
14285
|
-
import { BUILD as
|
|
14343
|
+
import { BUILD as BUILD23 } from "@rindo/core/internal/app-data";
|
|
14286
14344
|
|
|
14287
14345
|
// src/runtime/mode.ts
|
|
14288
14346
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
14289
14347
|
|
|
14290
14348
|
// src/runtime/proxy-component.ts
|
|
14291
|
-
import { BUILD as
|
|
14349
|
+
import { BUILD as BUILD22 } from "@rindo/core/internal/app-data";
|
|
14292
14350
|
|
|
14293
14351
|
// src/runtime/set-value.ts
|
|
14294
|
-
import { BUILD as
|
|
14352
|
+
import { BUILD as BUILD21 } from "@rindo/core/internal/app-data";
|
|
14295
14353
|
|
|
14296
14354
|
// src/runtime/parse-property-value.ts
|
|
14297
|
-
import { BUILD as
|
|
14355
|
+
import { BUILD as BUILD13 } from "@rindo/core/internal/app-data";
|
|
14298
14356
|
|
|
14299
14357
|
// src/runtime/update-component.ts
|
|
14300
|
-
import { BUILD as
|
|
14358
|
+
import { BUILD as BUILD20, NAMESPACE } from "@rindo/core/internal/app-data";
|
|
14301
14359
|
|
|
14302
14360
|
// src/runtime/event-emitter.ts
|
|
14303
|
-
import { BUILD as
|
|
14361
|
+
import { BUILD as BUILD15 } from "@rindo/core/internal/app-data";
|
|
14304
14362
|
|
|
14305
14363
|
// src/runtime/element.ts
|
|
14306
|
-
import { BUILD as
|
|
14364
|
+
import { BUILD as BUILD14 } from "@rindo/core/internal/app-data";
|
|
14307
14365
|
|
|
14308
14366
|
// src/runtime/styles.ts
|
|
14367
|
+
import { BUILD as BUILD16 } from "@rindo/core/internal/app-data";
|
|
14368
|
+
|
|
14369
|
+
// src/runtime/vdom/vdom-render.ts
|
|
14370
|
+
import { BUILD as BUILD19 } from "@rindo/core/internal/app-data";
|
|
14371
|
+
|
|
14372
|
+
// src/runtime/vdom/update-element.ts
|
|
14309
14373
|
import { BUILD as BUILD18 } from "@rindo/core/internal/app-data";
|
|
14310
14374
|
|
|
14375
|
+
// src/runtime/vdom/set-accessor.ts
|
|
14376
|
+
import { BUILD as BUILD17 } from "@rindo/core/internal/app-data";
|
|
14377
|
+
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
14378
|
+
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
14379
|
+
|
|
14311
14380
|
// src/runtime/disconnected-callback.ts
|
|
14312
|
-
import { BUILD as
|
|
14381
|
+
import { BUILD as BUILD25 } from "@rindo/core/internal/app-data";
|
|
14313
14382
|
|
|
14314
14383
|
// src/runtime/bootstrap-lazy.ts
|
|
14315
|
-
import { BUILD as
|
|
14384
|
+
import { BUILD as BUILD27 } from "@rindo/core/internal/app-data";
|
|
14316
14385
|
|
|
14317
14386
|
// src/runtime/host-listener.ts
|
|
14318
|
-
import { BUILD as
|
|
14387
|
+
import { BUILD as BUILD28 } from "@rindo/core/internal/app-data";
|
|
14319
14388
|
|
|
14320
14389
|
// src/compiler/html/canonical-link.ts
|
|
14321
14390
|
var updateCanonicalLink = (doc2, href) => {
|
package/internal/package.json
CHANGED
|
@@ -1215,7 +1215,7 @@ export interface RenderNode extends HostElement {
|
|
|
1215
1215
|
*/
|
|
1216
1216
|
['s-sr']?: boolean;
|
|
1217
1217
|
/**
|
|
1218
|
-
* Slot name
|
|
1218
|
+
* Slot name of either the slot itself or the slotted node
|
|
1219
1219
|
*/
|
|
1220
1220
|
['s-sn']?: string;
|
|
1221
1221
|
/**
|
|
@@ -1248,7 +1248,7 @@ export interface RenderNode extends HostElement {
|
|
|
1248
1248
|
* This is a reference for a original location node
|
|
1249
1249
|
* back to the node that's been moved around.
|
|
1250
1250
|
*/
|
|
1251
|
-
['s-nr']?: RenderNode;
|
|
1251
|
+
['s-nr']?: PatchedSlotNode | RenderNode;
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Original Order:
|
|
1254
1254
|
* During SSR; a number representing the order of a slotted node
|
|
@@ -1319,6 +1319,12 @@ export interface RenderNode extends HostElement {
|
|
|
1319
1319
|
* gives access to the original `appendChild` method
|
|
1320
1320
|
*/
|
|
1321
1321
|
__appendChild?: <T extends Node>(newChild: T) => T;
|
|
1322
|
+
/**
|
|
1323
|
+
* On a `scoped: true` component
|
|
1324
|
+
* with `experimentalSlotFixes` flag enabled,
|
|
1325
|
+
* gives access to the original `insertBefore` method
|
|
1326
|
+
*/
|
|
1327
|
+
__insertBefore?: <T extends Node>(node: T, child: Node | null) => T;
|
|
1322
1328
|
/**
|
|
1323
1329
|
* On a `scoped: true` component
|
|
1324
1330
|
* with `experimentalSlotFixes` flag enabled,
|
|
@@ -1326,6 +1332,68 @@ export interface RenderNode extends HostElement {
|
|
|
1326
1332
|
*/
|
|
1327
1333
|
__removeChild?: <T extends Node>(child: T) => T;
|
|
1328
1334
|
}
|
|
1335
|
+
export interface PatchedSlotNode extends Node {
|
|
1336
|
+
/**
|
|
1337
|
+
* Slot name
|
|
1338
|
+
*/
|
|
1339
|
+
['s-sn']?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Original Location Reference:
|
|
1342
|
+
* A reference pointing to the comment
|
|
1343
|
+
* which represents the original location
|
|
1344
|
+
* before it was moved to its slot.
|
|
1345
|
+
*/
|
|
1346
|
+
['s-ol']?: RenderNode;
|
|
1347
|
+
/**
|
|
1348
|
+
* Slot host tag name:
|
|
1349
|
+
* This is the tag name of the element where this node
|
|
1350
|
+
* has been moved to during slot relocation.
|
|
1351
|
+
*
|
|
1352
|
+
* This allows us to check if the node has been moved and prevent
|
|
1353
|
+
* us from thinking a node _should_ be moved when it may already be in
|
|
1354
|
+
* its final destination.
|
|
1355
|
+
*
|
|
1356
|
+
* This value is set to `undefined` whenever the node is put back into its original location.
|
|
1357
|
+
*/
|
|
1358
|
+
['s-sh']?: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* Is a `slot` node when `shadow: false` (or `scoped: true`).
|
|
1361
|
+
*
|
|
1362
|
+
* This is a node (either empty text-node or `<slot-fb>` element)
|
|
1363
|
+
* that represents where a `<slot>` is located in the original JSX.
|
|
1364
|
+
*/
|
|
1365
|
+
['s-sr']?: boolean;
|
|
1366
|
+
/**
|
|
1367
|
+
* On a `scoped: true` component
|
|
1368
|
+
* with `experimentalSlotFixes` flag enabled,
|
|
1369
|
+
* returns the actual `parentNode` of the component
|
|
1370
|
+
*/
|
|
1371
|
+
__parentNode?: RenderNode;
|
|
1372
|
+
/**
|
|
1373
|
+
* On a `scoped: true` component
|
|
1374
|
+
* with `experimentalSlotFixes` flag enabled,
|
|
1375
|
+
* returns the actual `nextSibling` of the component
|
|
1376
|
+
*/
|
|
1377
|
+
__nextSibling?: RenderNode;
|
|
1378
|
+
/**
|
|
1379
|
+
* On a `scoped: true` component
|
|
1380
|
+
* with `experimentalSlotFixes` flag enabled,
|
|
1381
|
+
* returns the actual `previousSibling` of the component
|
|
1382
|
+
*/
|
|
1383
|
+
__previousSibling?: RenderNode;
|
|
1384
|
+
/**
|
|
1385
|
+
* On a `scoped: true` component
|
|
1386
|
+
* with `experimentalSlotFixes` flag enabled,
|
|
1387
|
+
* returns the actual `nextElementSibling` of the component
|
|
1388
|
+
*/
|
|
1389
|
+
__nextElementSibling?: RenderNode;
|
|
1390
|
+
/**
|
|
1391
|
+
* On a `scoped: true` component
|
|
1392
|
+
* with `experimentalSlotFixes` flag enabled,
|
|
1393
|
+
* returns the actual `nextElementSibling` of the component
|
|
1394
|
+
*/
|
|
1395
|
+
__previousElementSibling?: RenderNode;
|
|
1396
|
+
}
|
|
1329
1397
|
export type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
|
|
1330
1398
|
export type LazyBundleRuntimeData = [
|
|
1331
1399
|
/** bundleIds */
|
|
@@ -1834,18 +1834,16 @@ export interface TestingConfig extends JestConfig {
|
|
|
1834
1834
|
*/
|
|
1835
1835
|
browserWSEndpoint?: string;
|
|
1836
1836
|
/**
|
|
1837
|
-
*
|
|
1838
|
-
*
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
*
|
|
1843
|
-
*
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1846
|
-
* Defaults to true.
|
|
1837
|
+
* The browser channel to use for e2e tests (stable, beta, dev or canary).
|
|
1838
|
+
* @default 'chrome'
|
|
1839
|
+
*/
|
|
1840
|
+
browserChannel?: 'chrome' | 'chrome-beta' | 'chrome-dev' | 'chrome-canary';
|
|
1841
|
+
/**
|
|
1842
|
+
* Whether to run browser e2e tests in headless mode using Chrome Headless Shell
|
|
1843
|
+
* @ref https://developer.chrome.com/blog/chrome-headless-shell
|
|
1844
|
+
* @default shell
|
|
1847
1845
|
*/
|
|
1848
|
-
browserHeadless?: boolean | '
|
|
1846
|
+
browserHeadless?: boolean | 'shell';
|
|
1849
1847
|
/**
|
|
1850
1848
|
* Slows down e2e browser operations by the specified amount of milliseconds.
|
|
1851
1849
|
* Useful so that you can see what is going on.
|