@qwik.dev/core 2.0.0-beta.26 → 2.0.0-beta.27

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.
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/backpatch",
3
- "version": "2.0.0-beta.26-dev+c693cf5",
3
+ "version": "2.0.0-beta.27-dev+7fc6984",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/build",
3
- "version": "2.0.0-beta.26-dev+c693cf5",
3
+ "version": "2.0.0-beta.27-dev+7fc6984",
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.26-dev+c693cf5
3
+ * @qwik.dev/core/cli 2.0.0-beta.27-dev+7fc6984
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
@@ -12908,7 +12908,7 @@ async function printHelp(app) {
12908
12908
  await runCommand2(Object.assign(app, { task: args[0], args }));
12909
12909
  }
12910
12910
  function printVersion() {
12911
- console.log("2.0.0-beta.26-dev+c693cf5");
12911
+ console.log("2.0.0-beta.27-dev+7fc6984");
12912
12912
  }
12913
12913
  export {
12914
12914
  runCli,
@@ -1166,12 +1166,12 @@ declare class DomContainer extends _SharedContainer implements ClientContainer {
1166
1166
  qManifestHash: string;
1167
1167
  rootVNode: _ElementVNode;
1168
1168
  document: _QDocument;
1169
- $rawStateData$: unknown[];
1170
1169
  $storeProxyMap$: ObjToProxyMap;
1171
1170
  $qFuncs$: Array<(...args: unknown[]) => unknown>;
1172
1171
  $instanceHash$: string;
1173
1172
  $forwardRefs$: Array<number> | null;
1174
1173
  vNodeLocate: (id: string | Element) => _VNode;
1174
+ private $rawStateData$;
1175
1175
  private $stateData$;
1176
1176
  private $styleIds$;
1177
1177
  constructor(element: _ContainerElement);
@@ -1722,9 +1722,16 @@ export declare interface JSXNode<T extends string | FunctionComponent | unknown
1722
1722
  dev?: DevJSX;
1723
1723
  }
1724
1724
 
1725
+ declare const enum JSXNodeFlags {
1726
+ None = 0,
1727
+ StaticSubtree = 2,
1728
+ HasCapturedProps = 4
1729
+ }
1730
+
1725
1731
  declare class JSXNodeImpl<T = unknown> implements JSXNodeInternal<T> {
1726
1732
  type: T;
1727
1733
  children: JSXChildren;
1734
+ flags: JSXNodeFlags;
1728
1735
  toSort: boolean;
1729
1736
  key: string | null;
1730
1737
  varProps: Props;
@@ -1733,7 +1740,7 @@ declare class JSXNodeImpl<T = unknown> implements JSXNodeInternal<T> {
1733
1740
  stack: string | undefined;
1734
1741
  };
1735
1742
  _proxy: Props | null;
1736
- constructor(type: T, varProps: Props | null, constProps: Props | null, children: JSXChildren, key: string | number | null | undefined, toSort?: boolean, dev?: DevJSX);
1743
+ constructor(type: T, varProps: Props | null, constProps: Props | null, children: JSXChildren, flags: JSXNodeFlags, key: string | number | null | undefined, toSort?: boolean, dev?: DevJSX);
1737
1744
  get props(): T extends FunctionComponent<infer PROPS> ? PROPS : Props;
1738
1745
  }
1739
1746
 
@@ -1749,6 +1756,8 @@ export declare interface JSXNodeInternal<T extends string | FunctionComponent |
1749
1756
  toSort: boolean;
1750
1757
  /** The key property */
1751
1758
  key: string | null;
1759
+ /** Flags */
1760
+ flags: JSXNodeFlags;
1752
1761
  /**
1753
1762
  * Props that are not guaranteed shallow equal across runs.
1754
1763
  *
@@ -3072,7 +3081,7 @@ export declare const SerializerSymbol: unique symbol;
3072
3081
  declare type ServerQwikManifest = Pick<QwikManifest, 'manifestHash' | 'injections' | 'bundleGraph' | 'bundleGraphAsset' | 'mapping' | 'preloader' | 'core' | 'qwikLoader'>;
3073
3082
 
3074
3083
  /** @internal */
3075
- export declare function _setEvent(serializationCtx: SerializationContext, key: string, rawValue: unknown, isLoopElement: boolean): string | null;
3084
+ export declare function _setEvent(serializationCtx: SerializationContext, key: string, rawValue: unknown, hasMovedCaptures: boolean): string | null;
3076
3085
 
3077
3086
  /**
3078
3087
  * Sets the `CorePlatform`.
@@ -3469,7 +3478,7 @@ declare interface SSRContainer extends _Container {
3469
3478
  write(text: string): void;
3470
3479
  openContainer(): void;
3471
3480
  closeContainer(): ValueOrPromise<void>;
3472
- openElement(elementName: string, key: string | null, varAttrs: Props, constAttrs: Props | null, styleScopedId: string | null, currentFile: string | null): string | undefined;
3481
+ openElement(elementName: string, key: string | null, varAttrs: Props, constAttrs: Props | null, styleScopedId: string | null, currentFile: string | null, hasMovedCaptures?: boolean): string | undefined;
3473
3482
  closeElement(): ValueOrPromise<void>;
3474
3483
  openFragment(attrs: Props): void;
3475
3484
  closeFragment(): void;
@@ -4679,7 +4688,7 @@ export declare const _VAR_PROPS: unique symbol;
4679
4688
  export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
4680
4689
 
4681
4690
  /**
4682
- * 2.0.0-beta.26-dev+c693cf5
4691
+ * 2.0.0-beta.27-dev+7fc6984
4683
4692
  *
4684
4693
  * @public
4685
4694
  */