@builder.io/sdk-qwik 0.14.7 → 0.14.9
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/index.qwik.cjs +121 -62
- package/lib/browser/index.qwik.mjs +121 -62
- package/lib/edge/index.qwik.cjs +121 -62
- package/lib/edge/index.qwik.mjs +121 -62
- package/lib/node/index.qwik.cjs +121 -62
- package/lib/node/index.qwik.mjs +121 -62
- package/package.json +2 -2
- package/types/src/components/content/components/enable-editor.d.ts +1 -1
- package/types/src/components/content/components/styles.d.ts +1 -0
- package/types/src/components/content/components/styles.helpers.d.ts +1 -0
- package/types/src/components/content/contentProps.types.d.ts +6 -1
- package/types/src/components/content-variants/content-variants.d.ts +1 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
package/lib/node/index.qwik.cjs
CHANGED
|
@@ -1904,7 +1904,7 @@ const Image = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
1904
1904
|
children: [
|
|
1905
1905
|
/* @__PURE__ */ qwik._jsxQ("picture", null, null, [
|
|
1906
1906
|
webpSrcSet.value ? /* @__PURE__ */ qwik._jsxQ("source", null, {
|
|
1907
|
-
|
|
1907
|
+
srcset: qwik._fnSignal((p0) => p0.value, [
|
|
1908
1908
|
webpSrcSet
|
|
1909
1909
|
], "p0.value"),
|
|
1910
1910
|
type: "image/webp"
|
|
@@ -1926,7 +1926,7 @@ const Image = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
1926
1926
|
src: qwik._fnSignal((p0) => p0.image, [
|
|
1927
1927
|
props
|
|
1928
1928
|
], "p0.image"),
|
|
1929
|
-
|
|
1929
|
+
srcset: qwik._fnSignal((p0) => p0.value, [
|
|
1930
1930
|
srcSetToUse
|
|
1931
1931
|
], "p0.value"),
|
|
1932
1932
|
style: qwik._fnSignal((p0, p1) => ({
|
|
@@ -4496,7 +4496,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
4496
4496
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
4497
4497
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
4498
4498
|
}
|
|
4499
|
-
const SDK_VERSION = "0.14.
|
|
4499
|
+
const SDK_VERSION = "0.14.9";
|
|
4500
4500
|
const registry = {};
|
|
4501
4501
|
function register(type, info) {
|
|
4502
4502
|
let typeList = registry[type];
|
|
@@ -4717,21 +4717,18 @@ const processMessage = function processMessage2(props, state, elementRef, event)
|
|
|
4717
4717
|
const { breakpoints, contentId } = messageContent;
|
|
4718
4718
|
if (!contentId || contentId !== ((_a = props.builderContextSignal.content) == null ? void 0 : _a.id))
|
|
4719
4719
|
return;
|
|
4720
|
-
if (breakpoints)
|
|
4720
|
+
if (breakpoints)
|
|
4721
4721
|
mergeNewContent(props, state, elementRef, {
|
|
4722
4722
|
meta: {
|
|
4723
4723
|
breakpoints
|
|
4724
4724
|
}
|
|
4725
4725
|
});
|
|
4726
|
-
state.forceReRenderCount = state.forceReRenderCount + 1;
|
|
4727
|
-
}
|
|
4728
4726
|
},
|
|
4729
4727
|
animation: (animation) => {
|
|
4730
4728
|
triggerAnimation(animation);
|
|
4731
4729
|
},
|
|
4732
4730
|
contentUpdate: (newContent) => {
|
|
4733
4731
|
mergeNewContent(props, state, elementRef, newContent);
|
|
4734
|
-
state.forceReRenderCount = state.forceReRenderCount + 1;
|
|
4735
4732
|
}
|
|
4736
4733
|
}
|
|
4737
4734
|
})(event);
|
|
@@ -4818,23 +4815,17 @@ const emitStateUpdate = function emitStateUpdate2(props, state, elementRef) {
|
|
|
4818
4815
|
}));
|
|
4819
4816
|
};
|
|
4820
4817
|
const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
4821
|
-
var _a, _b, _c, _d, _e;
|
|
4822
4818
|
qwik._jsxBranch();
|
|
4823
4819
|
const elementRef = qwik.useSignal();
|
|
4824
4820
|
const state = qwik.useStore({
|
|
4825
4821
|
ContentWrapper: props.contentWrapper || "div",
|
|
4826
4822
|
clicked: false,
|
|
4827
|
-
|
|
4828
|
-
forceReRenderCount: 0,
|
|
4829
|
-
httpReqsData: {},
|
|
4830
|
-
lastUpdated: 0,
|
|
4831
|
-
shouldSendResetCookie: false
|
|
4823
|
+
httpReqsData: {}
|
|
4832
4824
|
}, {
|
|
4833
4825
|
deep: true
|
|
4834
4826
|
});
|
|
4835
4827
|
qwik.useOn("initeditingbldr", /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
4836
4828
|
const [elementRef2, props2, state2] = qwik.useLexicalScope();
|
|
4837
|
-
state2.forceReRenderCount = state2.forceReRenderCount + 1;
|
|
4838
4829
|
window.addEventListener("message", processMessage.bind(null, props2, state2, elementRef2));
|
|
4839
4830
|
registerInsertMenu();
|
|
4840
4831
|
setupBrowserForEditing({
|
|
@@ -4849,9 +4840,9 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4849
4840
|
} : {}
|
|
4850
4841
|
});
|
|
4851
4842
|
Object.values(props2.builderContextSignal.componentInfos).forEach((registeredComponent) => {
|
|
4852
|
-
var
|
|
4843
|
+
var _a;
|
|
4853
4844
|
const message = createRegisterComponentMessage(registeredComponent);
|
|
4854
|
-
(
|
|
4845
|
+
(_a = window.parent) == null ? void 0 : _a.postMessage(message, "*");
|
|
4855
4846
|
});
|
|
4856
4847
|
window.addEventListener("builder:component:stateChangeListenerActivated", emitStateUpdate.bind(null, props2, state2, elementRef2));
|
|
4857
4848
|
}, "EnableEditor_component_useOn_Qs8c0yql2i0", [
|
|
@@ -4880,17 +4871,17 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4880
4871
|
state
|
|
4881
4872
|
]));
|
|
4882
4873
|
qwik.useOn("qvisible", /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
4883
|
-
var
|
|
4874
|
+
var _a, _b, _c, _d;
|
|
4884
4875
|
if (isBrowser()) {
|
|
4885
4876
|
if (isEditing()) {
|
|
4886
4877
|
if (element)
|
|
4887
4878
|
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
4888
4879
|
}
|
|
4889
|
-
const shouldTrackImpression = ((
|
|
4880
|
+
const shouldTrackImpression = ((_a = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a.value) === "true";
|
|
4890
4881
|
if (shouldTrackImpression) {
|
|
4891
|
-
const variationId = (
|
|
4892
|
-
const contentId = (
|
|
4893
|
-
const apiKeyProp = (
|
|
4882
|
+
const variationId = (_b = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b.value;
|
|
4883
|
+
const contentId = (_c = element.attributes.getNamedItem("contentId")) == null ? void 0 : _c.value;
|
|
4884
|
+
const apiKeyProp = (_d = element.attributes.getNamedItem("apiKey")) == null ? void 0 : _d.value;
|
|
4894
4885
|
_track({
|
|
4895
4886
|
type: "impression",
|
|
4896
4887
|
canTrack: true,
|
|
@@ -4928,20 +4919,14 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4928
4919
|
props,
|
|
4929
4920
|
state
|
|
4930
4921
|
]));
|
|
4931
|
-
qwik.useTaskQrl(/* @__PURE__ */ qwik.inlinedQrl(({ track: track2 }) => {
|
|
4932
|
-
const [state2] = qwik.useLexicalScope();
|
|
4933
|
-
track2(() => state2.shouldSendResetCookie);
|
|
4934
|
-
}, "EnableEditor_component_useTask_2_xVyv0tDqZLs", [
|
|
4935
|
-
state
|
|
4936
|
-
]));
|
|
4937
4922
|
qwik.useTaskQrl(/* @__PURE__ */ qwik.inlinedQrl(({ track: track2 }) => {
|
|
4938
4923
|
const [elementRef2, props2, state2] = qwik.useLexicalScope();
|
|
4939
4924
|
track2(() => {
|
|
4940
|
-
var
|
|
4941
|
-
return (
|
|
4925
|
+
var _a, _b;
|
|
4926
|
+
return (_b = (_a = props2.builderContextSignal.content) == null ? void 0 : _a.data) == null ? void 0 : _b.jsCode;
|
|
4942
4927
|
});
|
|
4943
4928
|
evaluateJsCode(props2);
|
|
4944
|
-
}, "
|
|
4929
|
+
}, "EnableEditor_component_useTask_2_xVyv0tDqZLs", [
|
|
4945
4930
|
elementRef,
|
|
4946
4931
|
props,
|
|
4947
4932
|
state
|
|
@@ -4949,11 +4934,11 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4949
4934
|
qwik.useTaskQrl(/* @__PURE__ */ qwik.inlinedQrl(({ track: track2 }) => {
|
|
4950
4935
|
const [elementRef2, props2, state2] = qwik.useLexicalScope();
|
|
4951
4936
|
track2(() => {
|
|
4952
|
-
var
|
|
4953
|
-
return (
|
|
4937
|
+
var _a, _b;
|
|
4938
|
+
return (_b = (_a = props2.builderContextSignal.content) == null ? void 0 : _a.data) == null ? void 0 : _b.httpRequests;
|
|
4954
4939
|
});
|
|
4955
4940
|
runHttpRequests(props2, state2, elementRef2);
|
|
4956
|
-
}, "
|
|
4941
|
+
}, "EnableEditor_component_useTask_3_bQ0e5LHZwWE", [
|
|
4957
4942
|
elementRef,
|
|
4958
4943
|
props,
|
|
4959
4944
|
state
|
|
@@ -4962,7 +4947,7 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4962
4947
|
const [elementRef2, props2, state2] = qwik.useLexicalScope();
|
|
4963
4948
|
track2(() => props2.builderContextSignal.rootState);
|
|
4964
4949
|
emitStateUpdate(props2);
|
|
4965
|
-
}, "
|
|
4950
|
+
}, "EnableEditor_component_useTask_4_moHYZG8uNVU", [
|
|
4966
4951
|
elementRef,
|
|
4967
4952
|
props,
|
|
4968
4953
|
state
|
|
@@ -4972,7 +4957,7 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4972
4957
|
track2(() => props2.data);
|
|
4973
4958
|
if (props2.data)
|
|
4974
4959
|
mergeNewRootState(props2, state2, elementRef2, props2.data);
|
|
4975
|
-
}, "
|
|
4960
|
+
}, "EnableEditor_component_useTask_5_24QxS0r0KF8", [
|
|
4976
4961
|
elementRef,
|
|
4977
4962
|
props,
|
|
4978
4963
|
state
|
|
@@ -4984,37 +4969,86 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4984
4969
|
mergeNewRootState(props2, state2, elementRef2, {
|
|
4985
4970
|
locale: props2.locale
|
|
4986
4971
|
});
|
|
4987
|
-
}, "
|
|
4972
|
+
}, "EnableEditor_component_useTask_6_0CaFTUOgv08", [
|
|
4988
4973
|
elementRef,
|
|
4989
4974
|
props,
|
|
4990
4975
|
state
|
|
4991
4976
|
]));
|
|
4992
4977
|
return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
|
|
4993
|
-
children: props.builderContextSignal.content ? /* @__PURE__ */ qwik.
|
|
4994
|
-
apiKey
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
4978
|
+
children: props.builderContextSignal.content ? /* @__PURE__ */ qwik._jsxC(state.ContentWrapper, {
|
|
4979
|
+
get apiKey() {
|
|
4980
|
+
return props.apiKey;
|
|
4981
|
+
},
|
|
4982
|
+
get contentId() {
|
|
4983
|
+
var _a;
|
|
4984
|
+
return (_a = props.builderContextSignal.content) == null ? void 0 : _a.id;
|
|
4985
|
+
},
|
|
4986
|
+
get variationId() {
|
|
4987
|
+
var _a;
|
|
4988
|
+
return (_a = props.builderContextSignal.content) == null ? void 0 : _a.testVariationId;
|
|
4989
|
+
},
|
|
5000
4990
|
onClick$: /* @__PURE__ */ qwik.inlinedQrl((event) => {
|
|
5001
4991
|
const [elementRef2, props2, state2] = qwik.useLexicalScope();
|
|
5002
4992
|
return onClick(props2, state2, elementRef2, event);
|
|
5003
|
-
}, "
|
|
4993
|
+
}, "EnableEditor_component__Fragment_onClick_b4nYT3DrjEk", [
|
|
5004
4994
|
elementRef,
|
|
5005
4995
|
props,
|
|
5006
4996
|
state
|
|
5007
4997
|
]),
|
|
5008
|
-
|
|
5009
|
-
|
|
4998
|
+
ref: elementRef,
|
|
4999
|
+
shouldTrack: String(props.builderContextSignal.content && getDefaultCanTrack(props.canTrack)),
|
|
5000
|
+
get "builder-content-id"() {
|
|
5001
|
+
var _a;
|
|
5002
|
+
return (_a = props.builderContextSignal.content) == null ? void 0 : _a.id;
|
|
5003
|
+
},
|
|
5004
|
+
get "builder-model"() {
|
|
5005
|
+
return props.model;
|
|
5006
|
+
},
|
|
5010
5007
|
...props.showContent ? {} : {
|
|
5011
5008
|
hidden: true,
|
|
5012
5009
|
"aria-hidden": true
|
|
5013
5010
|
},
|
|
5014
5011
|
...props.contentWrapperProps,
|
|
5015
|
-
class
|
|
5016
|
-
|
|
5017
|
-
|
|
5012
|
+
get class() {
|
|
5013
|
+
var _a, _b;
|
|
5014
|
+
return `variant-${((_a = props.content) == null ? void 0 : _a.testVariationId) || ((_b = props.content) == null ? void 0 : _b.id)}`;
|
|
5015
|
+
},
|
|
5016
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "06_0"),
|
|
5017
|
+
[qwik._IMMUTABLE]: {
|
|
5018
|
+
apiKey: qwik._fnSignal((p0) => p0.apiKey, [
|
|
5019
|
+
props
|
|
5020
|
+
], "p0.apiKey"),
|
|
5021
|
+
"builder-content-id": qwik._fnSignal((p0) => {
|
|
5022
|
+
var _a;
|
|
5023
|
+
return (_a = p0.builderContextSignal.content) == null ? void 0 : _a.id;
|
|
5024
|
+
}, [
|
|
5025
|
+
props
|
|
5026
|
+
], "p0.builderContextSignal.content?.id"),
|
|
5027
|
+
"builder-model": qwik._fnSignal((p0) => p0.model, [
|
|
5028
|
+
props
|
|
5029
|
+
], "p0.model"),
|
|
5030
|
+
class: qwik._fnSignal((p0) => {
|
|
5031
|
+
var _a, _b;
|
|
5032
|
+
return `variant-${((_a = p0.content) == null ? void 0 : _a.testVariationId) || ((_b = p0.content) == null ? void 0 : _b.id)}`;
|
|
5033
|
+
}, [
|
|
5034
|
+
props
|
|
5035
|
+
], "`variant-${p0.content?.testVariationId||p0.content?.id}`"),
|
|
5036
|
+
contentId: qwik._fnSignal((p0) => {
|
|
5037
|
+
var _a;
|
|
5038
|
+
return (_a = p0.builderContextSignal.content) == null ? void 0 : _a.id;
|
|
5039
|
+
}, [
|
|
5040
|
+
props
|
|
5041
|
+
], "p0.builderContextSignal.content?.id"),
|
|
5042
|
+
ref: qwik._IMMUTABLE,
|
|
5043
|
+
variationId: qwik._fnSignal((p0) => {
|
|
5044
|
+
var _a;
|
|
5045
|
+
return (_a = p0.builderContextSignal.content) == null ? void 0 : _a.testVariationId;
|
|
5046
|
+
}, [
|
|
5047
|
+
props
|
|
5048
|
+
], "p0.builderContextSignal.content?.testVariationId")
|
|
5049
|
+
}
|
|
5050
|
+
}, 0, "06_1") : null
|
|
5051
|
+
}, 1, "06_2");
|
|
5018
5052
|
}, "EnableEditor_component_ko1mO8oaj8k"));
|
|
5019
5053
|
const getCssFromFont = (font) => {
|
|
5020
5054
|
var _a;
|
|
@@ -5060,17 +5094,7 @@ const getCss = ({ cssCode, contentId }) => {
|
|
|
5060
5094
|
return cssCode;
|
|
5061
5095
|
return (cssCode == null ? void 0 : cssCode.replace(/&/g, `div[builder-content-id="${contentId}"]`)) || "";
|
|
5062
5096
|
};
|
|
5063
|
-
const
|
|
5064
|
-
const state = qwik.useStore({
|
|
5065
|
-
injectedStyles: `
|
|
5066
|
-
${getCss({
|
|
5067
|
-
cssCode: props.cssCode,
|
|
5068
|
-
contentId: props.contentId
|
|
5069
|
-
})}
|
|
5070
|
-
${getFontCss({
|
|
5071
|
-
customFonts: props.customFonts
|
|
5072
|
-
})}
|
|
5073
|
-
|
|
5097
|
+
const DEFAULT_STYLES = `
|
|
5074
5098
|
.builder-button {
|
|
5075
5099
|
all: unset;
|
|
5076
5100
|
}
|
|
@@ -5087,6 +5111,21 @@ ${getFontCss({
|
|
|
5087
5111
|
text-align: inherit;
|
|
5088
5112
|
font-family: inherit;
|
|
5089
5113
|
}
|
|
5114
|
+
`;
|
|
5115
|
+
const getDefaultStyles = (isNested) => {
|
|
5116
|
+
return !isNested ? DEFAULT_STYLES : "";
|
|
5117
|
+
};
|
|
5118
|
+
const ContentStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
5119
|
+
const state = qwik.useStore({
|
|
5120
|
+
injectedStyles: `
|
|
5121
|
+
${getCss({
|
|
5122
|
+
cssCode: props.cssCode,
|
|
5123
|
+
contentId: props.contentId
|
|
5124
|
+
})}
|
|
5125
|
+
${getFontCss({
|
|
5126
|
+
customFonts: props.customFonts
|
|
5127
|
+
})}
|
|
5128
|
+
${getDefaultStyles(props.isNestedRender)}
|
|
5090
5129
|
`.trim()
|
|
5091
5130
|
});
|
|
5092
5131
|
return /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
|
|
@@ -5234,6 +5273,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
|
|
|
5234
5273
|
}
|
|
5235
5274
|
}, 3, "LQ_0") : null,
|
|
5236
5275
|
/* @__PURE__ */ qwik._jsxC(ContentStyles, {
|
|
5276
|
+
get isNestedRender() {
|
|
5277
|
+
return props.isNestedRender;
|
|
5278
|
+
},
|
|
5237
5279
|
get contentId() {
|
|
5238
5280
|
var _a2;
|
|
5239
5281
|
return (_a2 = state.builderContextSignal.content) == null ? void 0 : _a2.id;
|
|
@@ -5264,7 +5306,10 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
|
|
|
5264
5306
|
return (_b2 = (_a2 = p0.builderContextSignal.content) == null ? void 0 : _a2.data) == null ? void 0 : _b2.customFonts;
|
|
5265
5307
|
}, [
|
|
5266
5308
|
state
|
|
5267
|
-
], "p0.builderContextSignal.content?.data?.customFonts")
|
|
5309
|
+
], "p0.builderContextSignal.content?.data?.customFonts"),
|
|
5310
|
+
isNestedRender: qwik._fnSignal((p0) => p0.isNestedRender, [
|
|
5311
|
+
props
|
|
5312
|
+
], "p0.isNestedRender")
|
|
5268
5313
|
}
|
|
5269
5314
|
}, 3, "LQ_1"),
|
|
5270
5315
|
/* @__PURE__ */ qwik._jsxC(Blocks, {
|
|
@@ -5386,7 +5431,7 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
5386
5431
|
]));
|
|
5387
5432
|
return /* @__PURE__ */ qwik._jsxC(qwik.Fragment, {
|
|
5388
5433
|
children: [
|
|
5389
|
-
!props.
|
|
5434
|
+
!props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
|
|
5390
5435
|
get scriptStr() {
|
|
5391
5436
|
return getScriptString();
|
|
5392
5437
|
},
|
|
@@ -5428,6 +5473,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
5428
5473
|
}, 3, "XM_2"),
|
|
5429
5474
|
(getVariants(props.content) || []).map((variant) => {
|
|
5430
5475
|
return /* @__PURE__ */ qwik._jsxC(ContentComponent, {
|
|
5476
|
+
get isNestedRender() {
|
|
5477
|
+
return props.isNestedRender;
|
|
5478
|
+
},
|
|
5431
5479
|
content: variant,
|
|
5432
5480
|
showContent: false,
|
|
5433
5481
|
get model() {
|
|
@@ -5512,6 +5560,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
5512
5560
|
enrich: qwik._fnSignal((p0) => p0.enrich, [
|
|
5513
5561
|
props
|
|
5514
5562
|
], "p0.enrich"),
|
|
5563
|
+
isNestedRender: qwik._fnSignal((p0) => p0.isNestedRender, [
|
|
5564
|
+
props
|
|
5565
|
+
], "p0.isNestedRender"),
|
|
5515
5566
|
isSsrAbTest: qwik._fnSignal((p0) => p0.shouldRenderVariants, [
|
|
5516
5567
|
state
|
|
5517
5568
|
], "p0.shouldRenderVariants"),
|
|
@@ -5534,6 +5585,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
5534
5585
|
]
|
|
5535
5586
|
}, 1, "XM_3") : null,
|
|
5536
5587
|
/* @__PURE__ */ qwik._jsxC(ContentComponent, {
|
|
5588
|
+
get isNestedRender() {
|
|
5589
|
+
return props.isNestedRender;
|
|
5590
|
+
},
|
|
5537
5591
|
get content() {
|
|
5538
5592
|
return defaultContent.value;
|
|
5539
5593
|
},
|
|
@@ -5623,6 +5677,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
5623
5677
|
enrich: qwik._fnSignal((p0) => p0.enrich, [
|
|
5624
5678
|
props
|
|
5625
5679
|
], "p0.enrich"),
|
|
5680
|
+
isNestedRender: qwik._fnSignal((p0) => p0.isNestedRender, [
|
|
5681
|
+
props
|
|
5682
|
+
], "p0.isNestedRender"),
|
|
5626
5683
|
isSsrAbTest: qwik._fnSignal((p0) => p0.shouldRenderVariants, [
|
|
5627
5684
|
state
|
|
5628
5685
|
], "p0.shouldRenderVariants"),
|
|
@@ -5701,6 +5758,7 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
|
|
|
5701
5758
|
return /* @__PURE__ */ qwik._jsxS("div", {
|
|
5702
5759
|
...props.attributes,
|
|
5703
5760
|
children: /* @__PURE__ */ qwik._jsxC(ContentVariants, {
|
|
5761
|
+
isNestedRender: true,
|
|
5704
5762
|
get apiVersion() {
|
|
5705
5763
|
return props.builderContext.apiVersion;
|
|
5706
5764
|
},
|
|
@@ -5772,6 +5830,7 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
|
|
|
5772
5830
|
props,
|
|
5773
5831
|
state
|
|
5774
5832
|
], "{...p0.symbol?.data,...p0.builderContext.localState,...p1.contentToUse?.data?.state}"),
|
|
5833
|
+
isNestedRender: qwik._IMMUTABLE,
|
|
5775
5834
|
linkComponent: qwik._fnSignal((p0) => p0.builderLinkComponent, [
|
|
5776
5835
|
props
|
|
5777
5836
|
], "p0.builderLinkComponent"),
|