@qwik.dev/core 2.0.0-beta.32 → 2.0.0-beta.35

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.
@@ -1,5 +1,5 @@
1
- const QWIK_BACKPATCH_EXECUTOR_MINIFIED = "const t='script[type=\"qwik/backpatch\"]',e=document.currentScript;if(e){const o=e.closest(\"[q\\\\:container]:not([q\\\\:container=html]):not([q\\\\:container=text])\");if(o){const e=o.querySelector(t);if(e){const t=JSON.parse(e.textContent||\"[]\"),n=document.createTreeWalker(o,NodeFilter.SHOW_ELEMENT);let r=n.currentNode,c=r.hasAttribute(\":\")?0:-1;for(let e=0;e<t.length;e+=3){const o=t[e],i=t[e+1];let s=t[e+2];for(;c<o&&(r=n.nextNode(),r);)r.hasAttribute(\":\")&&c++;const l=r;null==s||!1===s?l.removeAttribute(i):(\"boolean\"==typeof s&&(s=\"\"),l.setAttribute(i,s))}}}}";
2
- const QWIK_BACKPATCH_EXECUTOR_DEBUG = "const BACKPATCH_DATA_SELECTOR = 'script[type=\"qwik/backpatch\"]';\nconst executorScript = document.currentScript;\nif (executorScript) {\n const container = executorScript.closest(\n \"[q\\\\:container]:not([q\\\\:container=html]):not([q\\\\:container=text])\"\n );\n if (container) {\n const script = container.querySelector(BACKPATCH_DATA_SELECTOR);\n if (script) {\n const data = JSON.parse(script.textContent || \"[]\");\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT);\n let currentNode = walker.currentNode;\n let currentNodeIdx = currentNode.hasAttribute(\":\") ? 0 : -1;\n for (let i = 0; i < data.length; i += 3) {\n const elementIdx = data[i];\n const attrName = data[i + 1];\n let value = data[i + 2];\n while (currentNodeIdx < elementIdx) {\n currentNode = walker.nextNode();\n if (!currentNode) {\n break;\n }\n if (currentNode.hasAttribute(\":\")) {\n currentNodeIdx++;\n }\n }\n const element = currentNode;\n if (value == null || value === false) {\n element.removeAttribute(attrName);\n } else {\n if (typeof value === \"boolean\") {\n value = \"\";\n }\n element.setAttribute(attrName, value);\n }\n }\n }\n }\n}";
1
+ const QWIK_BACKPATCH_EXECUTOR_MINIFIED = "const t='script[type=\"qwik/backpatch\"]';function e(e,n){const o=n||e.querySelector(\"[q\\\\:container]:not([q\\\\:container=html]):not([q\\\\:container=text])\");if(o){const n=o.querySelector(t);if(n){const t=JSON.parse(n.textContent||\"[]\"),r=e.createTreeWalker(o,NodeFilter.SHOW_ELEMENT);let c=r.currentNode,i=c.hasAttribute(\":\")?0:-1;for(let e=0;e<t.length;e+=3){const n=t[e],o=t[e+1];let s=t[e+2];for(;i<n&&(c=r.nextNode(),c);)c.hasAttribute(\":\")&&i++;const a=c;null==s||!1===s?a.removeAttribute(o):(\"boolean\"==typeof s&&(s=\"\"),a.setAttribute(o,s))}}}}const n=document.currentScript;if(n){const t=n.closest(\"[q\\\\:container]:not([q\\\\:container=html]):not([q\\\\:container=text])\");t&&e(document,t)}";
2
+ const QWIK_BACKPATCH_EXECUTOR_DEBUG = "const BACKPATCH_DATA_SELECTOR = 'script[type=\"qwik/backpatch\"]';\nfunction executeBackpatch(doc, containerElement) {\n const container = containerElement || doc.querySelector(\"[q\\\\:container]:not([q\\\\:container=html]):not([q\\\\:container=text])\");\n if (container) {\n const script = container.querySelector(BACKPATCH_DATA_SELECTOR);\n if (script) {\n const data = JSON.parse(script.textContent || \"[]\");\n const walker = doc.createTreeWalker(container, NodeFilter.SHOW_ELEMENT);\n let currentNode = walker.currentNode;\n let currentNodeIdx = currentNode.hasAttribute(\":\") ? 0 : -1;\n for (let i = 0; i < data.length; i += 3) {\n const elementIdx = data[i];\n const attrName = data[i + 1];\n let value = data[i + 2];\n while (currentNodeIdx < elementIdx) {\n currentNode = walker.nextNode();\n if (!currentNode) {\n break;\n }\n if (currentNode.hasAttribute(\":\")) {\n currentNodeIdx++;\n }\n }\n const element = currentNode;\n if (value == null || value === false) {\n element.removeAttribute(attrName);\n } else {\n if (typeof value === \"boolean\") {\n value = \"\";\n }\n element.setAttribute(attrName, value);\n }\n }\n }\n }\n}\nconst executorScript = document.currentScript;\nif (executorScript) {\n const container = executorScript.closest(\n \"[q\\\\:container]:not([q\\\\:container=html]):not([q\\\\:container=text])\"\n );\n if (container) {\n executeBackpatch(document, container);\n }\n}";
3
3
  globalThis.QWIK_BACKPATCH_EXECUTOR_MINIFIED = QWIK_BACKPATCH_EXECUTOR_MINIFIED;
4
4
  globalThis.QWIK_BACKPATCH_EXECUTOR_DEBUG = QWIK_BACKPATCH_EXECUTOR_DEBUG;
5
5
  export { QWIK_BACKPATCH_EXECUTOR_MINIFIED, QWIK_BACKPATCH_EXECUTOR_DEBUG };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/backpatch",
3
- "version": "2.0.0-beta.32-dev+0e29f8a",
3
+ "version": "2.0.0-beta.35-dev+4603135",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
@@ -1,14 +1,11 @@
1
1
  const BACKPATCH_DATA_SELECTOR = 'script[type="qwik/backpatch"]';
2
- const executorScript = document.currentScript;
3
- if (executorScript) {
4
- const container = executorScript.closest(
5
- "[q\\:container]:not([q\\:container=html]):not([q\\:container=text])"
6
- );
2
+ function executeBackpatch(doc, containerElement) {
3
+ const container = containerElement || doc.querySelector("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])");
7
4
  if (container) {
8
5
  const script = container.querySelector(BACKPATCH_DATA_SELECTOR);
9
6
  if (script) {
10
7
  const data = JSON.parse(script.textContent || "[]");
11
- const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT);
8
+ const walker = doc.createTreeWalker(container, NodeFilter.SHOW_ELEMENT);
12
9
  let currentNode = walker.currentNode;
13
10
  let currentNodeIdx = currentNode.hasAttribute(":") ? 0 : -1;
14
11
  for (let i = 0; i < data.length; i += 3) {
@@ -37,3 +34,12 @@ if (executorScript) {
37
34
  }
38
35
  }
39
36
  }
37
+ const executorScript = document.currentScript;
38
+ if (executorScript) {
39
+ const container = executorScript.closest(
40
+ "[q\\:container]:not([q\\:container=html]):not([q\\:container=text])"
41
+ );
42
+ if (container) {
43
+ executeBackpatch(document, container);
44
+ }
45
+ }
@@ -1 +1 @@
1
- const t='script[type="qwik/backpatch"]',e=document.currentScript;if(e){const o=e.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])");if(o){const e=o.querySelector(t);if(e){const t=JSON.parse(e.textContent||"[]"),n=document.createTreeWalker(o,NodeFilter.SHOW_ELEMENT);let r=n.currentNode,c=r.hasAttribute(":")?0:-1;for(let e=0;e<t.length;e+=3){const o=t[e],i=t[e+1];let s=t[e+2];for(;c<o&&(r=n.nextNode(),r);)r.hasAttribute(":")&&c++;const l=r;null==s||!1===s?l.removeAttribute(i):("boolean"==typeof s&&(s=""),l.setAttribute(i,s))}}}}
1
+ const t='script[type="qwik/backpatch"]';function e(e,n){const o=n||e.querySelector("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])");if(o){const n=o.querySelector(t);if(n){const t=JSON.parse(n.textContent||"[]"),r=e.createTreeWalker(o,NodeFilter.SHOW_ELEMENT);let c=r.currentNode,i=c.hasAttribute(":")?0:-1;for(let e=0;e<t.length;e+=3){const n=t[e],o=t[e+1];let s=t[e+2];for(;i<n&&(c=r.nextNode(),c);)c.hasAttribute(":")&&i++;const a=c;null==s||!1===s?a.removeAttribute(o):("boolean"==typeof s&&(s=""),a.setAttribute(o,s))}}}}const n=document.currentScript;if(n){const t=n.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])");t&&e(document,t)}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/build",
3
- "version": "2.0.0-beta.32-dev+0e29f8a",
3
+ "version": "2.0.0-beta.35-dev+4603135",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * @qwik.dev/core/cli 2.0.0-beta.32-dev+0e29f8a
3
+ * @qwik.dev/core/cli 2.0.0-beta.35-dev+4603135
4
4
  * Copyright QwikDev. All Rights Reserved.
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
@@ -11964,6 +11964,25 @@ async function runBuildCommand(app) {
11964
11964
  }
11965
11965
  console.log(``);
11966
11966
  let typecheck = null;
11967
+ const buildTypesCmd = buildTypes ? buildTypes.includes("--pretty") ? buildTypes : (
11968
+ // ensures colors flow throw when we console log the stdout
11969
+ `${buildTypes} --pretty`
11970
+ ) : null;
11971
+ const runTypecheck = () => execaCommand(buildTypesCmd, {
11972
+ stdout: "inherit",
11973
+ stderr: "inherit",
11974
+ cwd: app.rootDir
11975
+ }).then(() => ({
11976
+ title: "Type checked"
11977
+ })).catch((e2) => {
11978
+ let out = e2.stdout || "";
11979
+ if (out.startsWith("tsc")) {
11980
+ out = out.slice(3);
11981
+ }
11982
+ console.log("\n" + out);
11983
+ process.exitCode = 1;
11984
+ throw new Error(`Type check failed: ${out}`);
11985
+ });
11967
11986
  for (let i2 = 0; i2 < prebuildScripts.length; i2++) {
11968
11987
  const script = prebuildScripts[i2];
11969
11988
  try {
@@ -11981,26 +12000,8 @@ async function runBuildCommand(app) {
11981
12000
  throw e2;
11982
12001
  }
11983
12002
  }
11984
- if (buildTypes) {
11985
- let copyScript = buildTypes;
11986
- if (!copyScript.includes("--pretty")) {
11987
- copyScript += " --pretty";
11988
- }
11989
- typecheck = execaCommand(copyScript, {
11990
- stdout: "inherit",
11991
- stderr: "inherit",
11992
- cwd: app.rootDir
11993
- }).then(() => ({
11994
- title: "Type checked"
11995
- })).catch((e2) => {
11996
- let out = e2.stdout || "";
11997
- if (out.startsWith("tsc")) {
11998
- out = out.slice(3);
11999
- }
12000
- console.log("\n" + out);
12001
- process.exitCode = 1;
12002
- throw new Error(`Type check failed: ${out}`);
12003
- });
12003
+ if (buildTypesCmd && !buildLibScript) {
12004
+ typecheck = runTypecheck();
12004
12005
  }
12005
12006
  if (buildClientScript) {
12006
12007
  const script = attachArg(buildClientScript, "mode", mode);
@@ -12040,6 +12041,9 @@ async function runBuildCommand(app) {
12040
12041
  throw e2;
12041
12042
  });
12042
12043
  step2.push(libBuild);
12044
+ if (buildTypesCmd) {
12045
+ step2.push(libBuild.then(() => runTypecheck()));
12046
+ }
12043
12047
  }
12044
12048
  if (buildPreviewScript) {
12045
12049
  const script = attachArg(buildPreviewScript, "mode", mode);
@@ -12953,7 +12957,7 @@ async function printHelp(app) {
12953
12957
  await runCommand2(Object.assign(app, { task: args[0], args }));
12954
12958
  }
12955
12959
  function printVersion() {
12956
- console.log("2.0.0-beta.32-dev+0e29f8a");
12960
+ console.log("2.0.0-beta.35-dev+4603135");
12957
12961
  }
12958
12962
  export {
12959
12963
  runCli,
@@ -1,8 +1,10 @@
1
+ import type { AsyncLocalStorage } from 'node:async_hooks';
1
2
  import type * as CSS_2 from 'csstype';
2
3
  import { isBrowser } from './build';
3
4
  import { isDev } from './build';
4
5
  import { isServer } from './build';
5
6
  import { ResolvedManifest } from './optimizer';
7
+ import type { ServerQwikManifest } from './optimizer';
6
8
 
7
9
  /**
8
10
  * Qwik Optimizer marker function.
@@ -904,6 +906,7 @@ export declare interface _Container {
904
906
  readonly $locale$: string;
905
907
  readonly $getObjectById$: (id: number | string) => any;
906
908
  readonly $serverData$: Record<string, any>;
909
+ readonly $instanceHash$: string | null;
907
910
  $currentUniqueId$: number;
908
911
  $buildBase$: string | null;
909
912
  $renderPromise$: Promise<void> | null;
@@ -1162,6 +1165,9 @@ export declare const createComputedQrl: <T>(qrl: QRL<() => T>, options?: Compute
1162
1165
  */
1163
1166
  export declare const createContextId: <STATE = unknown>(name: string) => ContextId<STATE>;
1164
1167
 
1168
+ /** @internal */
1169
+ export declare function _createDeserializeContainer(stateData: unknown[]): DeserializeContainer;
1170
+
1165
1171
  /**
1166
1172
  * Creates a QRL instance to represent a lazily loaded value. Normally this is a function, but it
1167
1173
  * can be any value.
@@ -1215,6 +1221,11 @@ export declare interface CSSProperties extends CSS_2.Properties<string | number>
1215
1221
  [v: `--${string}`]: string | number | undefined;
1216
1222
  }
1217
1223
 
1224
+ declare class DeleteOperation {
1225
+ target: Element | Text;
1226
+ constructor(target: Element | Text);
1227
+ }
1228
+
1218
1229
  declare interface DescriptorBase<T = unknown, B = unknown> extends BackRef {
1219
1230
  $flags$: number;
1220
1231
  $index$: number;
@@ -1465,6 +1476,17 @@ export declare type FunctionComponent<P = unknown> = {
1465
1476
  renderFn(props: P, key: string | null, flags: number, dev?: DevJSX): JSXOutput;
1466
1477
  }['renderFn'];
1467
1478
 
1479
+ /** @internal */
1480
+ export declare const _getAsyncLocalStorage: () => (new <T>() => AsyncLocalStorage<T>) | undefined;
1481
+
1482
+ /**
1483
+ * Returns the client build manifest, which includes the mappings from symbols to bundles, the
1484
+ * bundlegraph etc.
1485
+ *
1486
+ * @public
1487
+ */
1488
+ export declare const getClientManifest: () => ServerQwikManifest | undefined;
1489
+
1468
1490
  /** Used by the optimizer for spread props operations @internal */
1469
1491
  export declare const _getConstProps: (props: PropsProxy | Record<string, unknown> | null | undefined) => Props | null;
1470
1492
 
@@ -1667,6 +1689,13 @@ export declare const inlinedQrl: <T>(symbol: T | null, symbolName: string, lexic
1667
1689
  /** @internal */
1668
1690
  export declare const inlinedQrlDEV: <T = any>(symbol: T, symbolName: string, opts: QRLDev, lexicalScopeCapture?: Readonly<unknown[]>) => QRL<T>;
1669
1691
 
1692
+ declare class InsertOrMoveOperation {
1693
+ target: Element | Text;
1694
+ parent: Element;
1695
+ beforeTarget: Element | Text | null;
1696
+ constructor(target: Element | Text, parent: Element, beforeTarget: Element | Text | null);
1697
+ }
1698
+
1670
1699
  /**
1671
1700
  * These are the HTML tags with handlers allowing plain callbacks, to be used for the JSX interface
1672
1701
  *
@@ -1761,9 +1790,10 @@ export declare const _isTask: (value: any) => value is Task;
1761
1790
 
1762
1791
  /** @internal */
1763
1792
  declare interface IStreamHandler {
1764
- flush(): void;
1793
+ flush(): ValueOrPromise<void>;
1794
+ waitForPendingFlush(): ValueOrPromise<void>;
1765
1795
  streamBlockStart(): void;
1766
- streamBlockEnd(): void;
1796
+ streamBlockEnd(): ValueOrPromise<void>;
1767
1797
  }
1768
1798
 
1769
1799
  /**
@@ -2552,6 +2582,12 @@ export declare function _qrlToString(serializationContext: SerializationContext,
2552
2582
  /** @internal */
2553
2583
  export declare function _qrlToString(serializationContext: SerializationContext, qrl: _QRLInternal | SyncQRLInternal, raw: true): [string, string, string | null];
2554
2584
 
2585
+ /** @internal */
2586
+ export declare const _qrlWithChunk: <T = any>(chunk: string, importer: () => Promise<any>, symbol: string, lexicalScopeCapture?: Readonly<unknown[]>) => QRL<T>;
2587
+
2588
+ /** @internal */
2589
+ export declare const _qrlWithChunkDEV: <T = any>(chunk: string, importer: () => Promise<any>, symbol: string, opts: QRLDev, lexicalScopeCapture?: Readonly<unknown[]>) => QRL<T>;
2590
+
2555
2591
  /** @public @deprecated Use `AnimationEvent` and use the second argument to the handler function for the current event target */
2556
2592
  export declare type QwikAnimationEvent<T = Element> = NativeAnimationEvent;
2557
2593
 
@@ -2736,11 +2772,20 @@ export declare type QwikWheelEvent<T = Element> = NativeWheelEvent;
2736
2772
 
2737
2773
  declare type QwikWindowEventMap = Omit<WindowEventHandlersEventMap, keyof QwikDocumentEventMap> & QwikDocumentEventMap;
2738
2774
 
2739
- /** @public @deprecated not used */
2775
+ /**
2776
+ * @deprecated Use `Readonly<Signal<T>>` instead.
2777
+ * @public
2778
+ */
2740
2779
  export declare interface ReadonlySignal<T = unknown> {
2741
2780
  readonly value: T;
2742
2781
  }
2743
2782
 
2783
+ /** @internal */
2784
+ export declare const _reC: (props: RevealProps) => JSXNodeInternal<FunctionComponent< {
2785
+ name?: string;
2786
+ children?: JSXChildren;
2787
+ }>>;
2788
+
2744
2789
  /**
2745
2790
  * A ref can be either a signal or a function. Note that the type of Signal is Element so that it
2746
2791
  * can accept more specialized elements too
@@ -2765,6 +2810,11 @@ declare type RefFnInterface<EL> = {
2765
2810
  */
2766
2811
  export declare const _regSymbol: (symbol: any, hash: string) => any;
2767
2812
 
2813
+ declare class RemoveAllChildrenOperation {
2814
+ target: Element;
2815
+ constructor(target: Element);
2816
+ }
2817
+
2768
2818
  /**
2769
2819
  * Remove an external projection from its parent and clean up.
2770
2820
  *
@@ -2817,6 +2867,9 @@ export declare interface RenderSSROptions {
2817
2867
  manifestHash: string;
2818
2868
  }
2819
2869
 
2870
+ /** @internal */
2871
+ export declare const _reR: () => boolean;
2872
+
2820
2873
  /**
2821
2874
  * Resumes selected state (e.g. polling AsyncSignals) by deserializing captures. Used for
2822
2875
  * document:onQIdle to resume async signals with active polling.
@@ -2922,6 +2975,21 @@ declare interface ResourceReturnInternal<T> {
2922
2975
  /** @internal */
2923
2976
  export declare const _restProps: (props: PropsProxy, omit?: string[], target?: Props) => Props;
2924
2977
 
2978
+ /** @internal */
2979
+ export declare const _reT: ({ cleanup }: TaskCtx) => void;
2980
+
2981
+ /** @public @experimental */
2982
+ export declare const Reveal: typeof _reC;
2983
+
2984
+ /** @public @experimental */
2985
+ export declare type RevealOrder = 'parallel' | 'sequential' | 'reverse' | 'together';
2986
+
2987
+ /** @public @experimental */
2988
+ export declare type RevealProps = {
2989
+ order?: RevealOrder;
2990
+ collapsed?: boolean;
2991
+ };
2992
+
2925
2993
  /**
2926
2994
  * The resource function wrapper
2927
2995
  *
@@ -3100,6 +3168,15 @@ declare class SerializerSignalImpl<T, S> extends ComputedSignalImpl<T> {
3100
3168
  */
3101
3169
  export declare const SerializerSymbol: unique symbol;
3102
3170
 
3171
+ declare class SetAttributeOperation {
3172
+ target: Element;
3173
+ attrName: string;
3174
+ attrValue: any;
3175
+ scopedStyleIdPrefix: string | null;
3176
+ isSvg: boolean;
3177
+ constructor(target: Element, attrName: string, attrValue: any, scopedStyleIdPrefix: string | null, isSvg: boolean);
3178
+ }
3179
+
3103
3180
  /** @internal */
3104
3181
  export declare function _setEvent(serializationCtx: SerializationContext, key: string, rawValue: unknown, hasMovedCaptures: boolean): string | null;
3105
3182
 
@@ -3125,6 +3202,12 @@ export declare const setPlatform: (plt: CorePlatform) => CorePlatform;
3125
3202
  */
3126
3203
  export declare function _setProjectionTarget(vnode: _VirtualVNode, targetElement: Element): void;
3127
3204
 
3205
+ declare class SetTextOperation {
3206
+ target: Text;
3207
+ text: string;
3208
+ constructor(target: Text, text: string);
3209
+ }
3210
+
3128
3211
  /** @internal */
3129
3212
  export declare abstract class _SharedContainer implements _Container {
3130
3213
  readonly $version$: string;
@@ -3576,7 +3659,8 @@ declare type StoreTarget = Record<string | symbol, any>;
3576
3659
 
3577
3660
  /** @internal */
3578
3661
  export declare interface StreamWriter {
3579
- write(chunk: string): void;
3662
+ write(chunk: string): ValueOrPromise<void>;
3663
+ waitForDrain?(): ValueOrPromise<void>;
3580
3664
  }
3581
3665
 
3582
3666
  /** @file Shared types */
@@ -3589,6 +3673,25 @@ export declare class _SubscriptionData {
3589
3673
  constructor(data: NodePropData);
3590
3674
  }
3591
3675
 
3676
+ /** @internal */
3677
+ export declare const _suC: (props: SuspenseProps) => JSXNodeInternal<FunctionComponent< {
3678
+ children?: any;
3679
+ key?: string | number | null;
3680
+ }>>;
3681
+
3682
+ /** @public @experimental */
3683
+ export declare const Suspense: typeof _suC;
3684
+
3685
+ /** @public @experimental */
3686
+ export declare type SuspenseProps = {
3687
+ fallback?: JSXOutput;
3688
+ showStale?: boolean;
3689
+ delay?: number;
3690
+ };
3691
+
3692
+ /** @internal */
3693
+ export declare const _suT: ({ track, cleanup }: TaskCtx) => void;
3694
+
3592
3695
  /**
3593
3696
  * The TS types don't include the SVG attributes so we have to define them ourselves
3594
3697
  *
@@ -4739,7 +4842,7 @@ export declare const _VAR_PROPS: unique symbol;
4739
4842
  export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
4740
4843
 
4741
4844
  /**
4742
- * 2.0.0-beta.32-dev+0e29f8a
4845
+ * 2.0.0-beta.35-dev+4603135
4743
4846
  *
4744
4847
  * @public
4745
4848
  */
@@ -4778,9 +4881,24 @@ export declare const _vnode_ensureElementInflated: (container: _Container, vnode
4778
4881
  /** @internal */
4779
4882
  export declare const _vnode_getAttrKeys: (container: _Container, vnode: _ElementVNode | _VirtualVNode) => string[];
4780
4883
 
4884
+ /** @internal */
4885
+ export declare const _vnode_getElementName: (vnode: _ElementVNode) => string;
4886
+
4781
4887
  /** @internal */
4782
4888
  export declare const _vnode_getFirstChild: (vnode: _VNode) => _VNode | null;
4783
4889
 
4890
+ /** @internal */
4891
+ export declare const _vnode_getProp: <T = unknown>(vNode: _VNode, key: string, getObject: ((id: string) => unknown) | null) => T | null;
4892
+
4893
+ /** @internal */
4894
+ export declare const _vnode_getVNodeForChildNode: (vNode: _ElementVNode, childElement: Element) => _ElementVNode;
4895
+
4896
+ /** @internal */
4897
+ export declare const _vnode_insertBefore: (journal: _VNodeJournal, parent: _ElementVNode | _VirtualVNode, newChild: _VNode, insertBefore: _VNode | null) => void;
4898
+
4899
+ /** @internal */
4900
+ export declare const _vnode_isElementVNode: (vNode: _VNode) => vNode is _ElementVNode;
4901
+
4784
4902
  /** @internal */
4785
4903
  export declare const _vnode_isMaterialized: (vNode: _VNode) => boolean;
4786
4904
 
@@ -4790,6 +4908,15 @@ export declare const _vnode_isTextVNode: (vNode: _VNode) => vNode is _TextVNode;
4790
4908
  /** @internal */
4791
4909
  export declare const _vnode_isVirtualVNode: (vNode: _VNode) => vNode is _VirtualVNode;
4792
4910
 
4911
+ /** @internal */
4912
+ export declare const _vnode_newVirtual: () => _VirtualVNode;
4913
+
4914
+ /** @internal */
4915
+ export declare const _vnode_remove: (journal: _VNodeJournal, vParent: _ElementVNode | _VirtualVNode, vToRemove: _VNode, removeDOM: boolean) => void;
4916
+
4917
+ /** @internal */
4918
+ export declare const _vnode_setProp: (vNode: _VNode, key: string, value: unknown) => void;
4919
+
4793
4920
  /** @internal */
4794
4921
  export declare function _vnode_toString(this: _VNode | null, depth?: number, offset?: string, materialize?: boolean, siblings?: boolean, colorize?: boolean, container?: _Container | null): string;
4795
4922
 
@@ -4877,6 +5004,11 @@ export declare const enum _VNodeFlags {
4877
5004
  HasTargetElement = 2048
4878
5005
  }
4879
5006
 
5007
+ /** @internal */
5008
+ export declare type _VNodeJournal = Array<VNodeOperation>;
5009
+
5010
+ declare type VNodeOperation = DeleteOperation | RemoveAllChildrenOperation | SetTextOperation | InsertOrMoveOperation | SetAttributeOperation;
5011
+
4880
5012
  /** @internal */
4881
5013
  export declare const _waitUntilRendered: (container: _Container) => Promise<void>;
4882
5014