@builder.io/sdk-qwik 0.25.0 → 0.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.
@@ -6,6 +6,12 @@ const block = require("../../block.qwik.cjs");
6
6
  const interactiveElement = require("../interactive-element.qwik.cjs");
7
7
  const componentRef_helpers = require("./component-ref.helpers.qwik.cjs");
8
8
  const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
9
+ const blockChildrenToRender = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
10
+ const [props2] = qwik.useLexicalScope();
11
+ return props2.componentRef ? props2.blockChildren : [];
12
+ }, "ComponentRef_component_blockChildrenToRender_useComputed_HF18bwDAU0c", [
13
+ props
14
+ ]));
9
15
  const state = qwik.useStore({
10
16
  Wrapper: props.isInteractive ? interactiveElement.InteractiveElement : props.componentRef,
11
17
  shouldUpdate: false
@@ -22,7 +28,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
22
28
  isInteractive: props.isInteractive,
23
29
  contextValue: props.context
24
30
  }),
25
- children: props.componentRef ? (props.blockChildren || []).map((child) => {
31
+ children: (blockChildrenToRender.value || []).map((child) => {
26
32
  return /* @__PURE__ */ qwik._jsxC(block.Block, {
27
33
  block: child,
28
34
  get context() {
@@ -46,7 +52,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
46
52
  ], "p0.registeredComponents")
47
53
  }
48
54
  }, 3, child.id);
49
- }) : null
55
+ })
50
56
  }, 0, "z6_0") : null
51
57
  }, 1, "z6_1");
52
58
  }, "ComponentRef_component_tFQoBV6UFdc"));
@@ -1,9 +1,15 @@
1
- import { componentQrl, inlinedQrl, useStore, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, useComputedQrl, useLexicalScope, useStore, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { Block } from "../../block.qwik.mjs";
4
4
  import { InteractiveElement } from "../interactive-element.qwik.mjs";
5
5
  import { getWrapperProps } from "./component-ref.helpers.qwik.mjs";
6
6
  const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
7
+ const blockChildrenToRender = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
8
+ const [props2] = useLexicalScope();
9
+ return props2.componentRef ? props2.blockChildren : [];
10
+ }, "ComponentRef_component_blockChildrenToRender_useComputed_HF18bwDAU0c", [
11
+ props
12
+ ]));
7
13
  const state = useStore({
8
14
  Wrapper: props.isInteractive ? InteractiveElement : props.componentRef,
9
15
  shouldUpdate: false
@@ -20,7 +26,7 @@ const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
20
26
  isInteractive: props.isInteractive,
21
27
  contextValue: props.context
22
28
  }),
23
- children: props.componentRef ? (props.blockChildren || []).map((child) => {
29
+ children: (blockChildrenToRender.value || []).map((child) => {
24
30
  return /* @__PURE__ */ _jsxC(Block, {
25
31
  block: child,
26
32
  get context() {
@@ -44,7 +50,7 @@ const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
44
50
  ], "p0.registeredComponents")
45
51
  }
46
52
  }, 3, child.id);
47
- }) : null
53
+ })
48
54
  }, 0, "z6_0") : null
49
55
  }, 1, "z6_1");
50
56
  }, "ComponentRef_component_tFQoBV6UFdc"));
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.25.0";
3
+ const SDK_VERSION = "0.25.3";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.25.0";
1
+ const SDK_VERSION = "0.25.3";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -6,6 +6,12 @@ const block = require("../../block.qwik.cjs");
6
6
  const interactiveElement = require("../interactive-element.qwik.cjs");
7
7
  const componentRef_helpers = require("./component-ref.helpers.qwik.cjs");
8
8
  const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
9
+ const blockChildrenToRender = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
10
+ const [props2] = qwik.useLexicalScope();
11
+ return props2.componentRef ? props2.blockChildren : [];
12
+ }, "ComponentRef_component_blockChildrenToRender_useComputed_HF18bwDAU0c", [
13
+ props
14
+ ]));
9
15
  const state = qwik.useStore({
10
16
  Wrapper: props.isInteractive ? interactiveElement.InteractiveElement : props.componentRef,
11
17
  shouldUpdate: false
@@ -22,7 +28,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
22
28
  isInteractive: props.isInteractive,
23
29
  contextValue: props.context
24
30
  }),
25
- children: props.componentRef ? (props.blockChildren || []).map((child) => {
31
+ children: (blockChildrenToRender.value || []).map((child) => {
26
32
  return /* @__PURE__ */ qwik._jsxC(block.Block, {
27
33
  block: child,
28
34
  get context() {
@@ -46,7 +52,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
46
52
  ], "p0.registeredComponents")
47
53
  }
48
54
  }, 3, child.id);
49
- }) : null
55
+ })
50
56
  }, 0, "z6_0") : null
51
57
  }, 1, "z6_1");
52
58
  }, "ComponentRef_component_tFQoBV6UFdc"));
@@ -1,9 +1,15 @@
1
- import { componentQrl, inlinedQrl, useStore, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, useComputedQrl, useLexicalScope, useStore, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { Block } from "../../block.qwik.mjs";
4
4
  import { InteractiveElement } from "../interactive-element.qwik.mjs";
5
5
  import { getWrapperProps } from "./component-ref.helpers.qwik.mjs";
6
6
  const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
7
+ const blockChildrenToRender = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
8
+ const [props2] = useLexicalScope();
9
+ return props2.componentRef ? props2.blockChildren : [];
10
+ }, "ComponentRef_component_blockChildrenToRender_useComputed_HF18bwDAU0c", [
11
+ props
12
+ ]));
7
13
  const state = useStore({
8
14
  Wrapper: props.isInteractive ? InteractiveElement : props.componentRef,
9
15
  shouldUpdate: false
@@ -20,7 +26,7 @@ const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
20
26
  isInteractive: props.isInteractive,
21
27
  contextValue: props.context
22
28
  }),
23
- children: props.componentRef ? (props.blockChildren || []).map((child) => {
29
+ children: (blockChildrenToRender.value || []).map((child) => {
24
30
  return /* @__PURE__ */ _jsxC(Block, {
25
31
  block: child,
26
32
  get context() {
@@ -44,7 +50,7 @@ const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
44
50
  ], "p0.registeredComponents")
45
51
  }
46
52
  }, 3, child.id);
47
- }) : null
53
+ })
48
54
  }, 0, "z6_0") : null
49
55
  }, 1, "z6_1");
50
56
  }, "ComponentRef_component_tFQoBV6UFdc"));
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.25.0";
3
+ const SDK_VERSION = "0.25.3";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.25.0";
1
+ const SDK_VERSION = "0.25.3";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -6,6 +6,12 @@ const block = require("../../block.qwik.cjs");
6
6
  const interactiveElement = require("../interactive-element.qwik.cjs");
7
7
  const componentRef_helpers = require("./component-ref.helpers.qwik.cjs");
8
8
  const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
9
+ const blockChildrenToRender = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
10
+ const [props2] = qwik.useLexicalScope();
11
+ return props2.componentRef ? props2.blockChildren : [];
12
+ }, "ComponentRef_component_blockChildrenToRender_useComputed_HF18bwDAU0c", [
13
+ props
14
+ ]));
9
15
  const state = qwik.useStore({
10
16
  Wrapper: props.isInteractive ? interactiveElement.InteractiveElement : props.componentRef,
11
17
  shouldUpdate: false
@@ -22,7 +28,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
22
28
  isInteractive: props.isInteractive,
23
29
  contextValue: props.context
24
30
  }),
25
- children: props.componentRef ? (props.blockChildren || []).map((child) => {
31
+ children: (blockChildrenToRender.value || []).map((child) => {
26
32
  return /* @__PURE__ */ qwik._jsxC(block.Block, {
27
33
  block: child,
28
34
  get context() {
@@ -46,7 +52,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
46
52
  ], "p0.registeredComponents")
47
53
  }
48
54
  }, 3, child.id);
49
- }) : null
55
+ })
50
56
  }, 0, "z6_0") : null
51
57
  }, 1, "z6_1");
52
58
  }, "ComponentRef_component_tFQoBV6UFdc"));
@@ -1,9 +1,15 @@
1
- import { componentQrl, inlinedQrl, useStore, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
1
+ import { componentQrl, inlinedQrl, useComputedQrl, useLexicalScope, useStore, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
2
2
  import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  import { Block } from "../../block.qwik.mjs";
4
4
  import { InteractiveElement } from "../interactive-element.qwik.mjs";
5
5
  import { getWrapperProps } from "./component-ref.helpers.qwik.mjs";
6
6
  const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
7
+ const blockChildrenToRender = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
8
+ const [props2] = useLexicalScope();
9
+ return props2.componentRef ? props2.blockChildren : [];
10
+ }, "ComponentRef_component_blockChildrenToRender_useComputed_HF18bwDAU0c", [
11
+ props
12
+ ]));
7
13
  const state = useStore({
8
14
  Wrapper: props.isInteractive ? InteractiveElement : props.componentRef,
9
15
  shouldUpdate: false
@@ -20,7 +26,7 @@ const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
20
26
  isInteractive: props.isInteractive,
21
27
  contextValue: props.context
22
28
  }),
23
- children: props.componentRef ? (props.blockChildren || []).map((child) => {
29
+ children: (blockChildrenToRender.value || []).map((child) => {
24
30
  return /* @__PURE__ */ _jsxC(Block, {
25
31
  block: child,
26
32
  get context() {
@@ -44,7 +50,7 @@ const ComponentRef = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
44
50
  ], "p0.registeredComponents")
45
51
  }
46
52
  }, 3, child.id);
47
- }) : null
53
+ })
48
54
  }, 0, "z6_0") : null
49
55
  }, 1, "z6_1");
50
56
  }, "ComponentRef_component_tFQoBV6UFdc"));
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.25.0";
3
+ const SDK_VERSION = "0.25.3";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.25.0";
1
+ const SDK_VERSION = "0.25.3";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.25.0",
3
+ "version": "0.25.3",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.25.0";
1
+ export declare const SDK_VERSION = "0.25.3";