@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.
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.cjs +8 -2
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.mjs +9 -3
- package/lib/browser/constants/sdk-version.qwik.cjs +1 -1
- package/lib/browser/constants/sdk-version.qwik.mjs +1 -1
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.cjs +8 -2
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.mjs +9 -3
- package/lib/edge/constants/sdk-version.qwik.cjs +1 -1
- package/lib/edge/constants/sdk-version.qwik.mjs +1 -1
- package/lib/node/components/block/components/component-ref/component-ref.qwik.cjs +8 -2
- package/lib/node/components/block/components/component-ref/component-ref.qwik.mjs +9 -3
- package/lib/node/constants/sdk-version.qwik.cjs +1 -1
- package/lib/node/constants/sdk-version.qwik.mjs +1 -1
- package/package.json +1 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
|
@@ -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:
|
|
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
|
-
})
|
|
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:
|
|
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
|
-
})
|
|
53
|
+
})
|
|
48
54
|
}, 0, "z6_0") : null
|
|
49
55
|
}, 1, "z6_1");
|
|
50
56
|
}, "ComponentRef_component_tFQoBV6UFdc"));
|
|
@@ -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:
|
|
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
|
-
})
|
|
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:
|
|
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
|
-
})
|
|
53
|
+
})
|
|
48
54
|
}, 0, "z6_0") : null
|
|
49
55
|
}, 1, "z6_1");
|
|
50
56
|
}, "ComponentRef_component_tFQoBV6UFdc"));
|
|
@@ -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:
|
|
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
|
-
})
|
|
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:
|
|
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
|
-
})
|
|
53
|
+
})
|
|
48
54
|
}, 0, "z6_0") : null
|
|
49
55
|
}, 1, "z6_1");
|
|
50
56
|
}, "ComponentRef_component_tFQoBV6UFdc"));
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.25.
|
|
1
|
+
export declare const SDK_VERSION = "0.25.3";
|