@builder.io/sdk-solid 1.1.2 → 2.0.1
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/dist/index.d.ts +6 -0
- package/lib/browser/dev.js +78 -127
- package/lib/browser/dev.jsx +60 -126
- package/lib/browser/index.js +78 -127
- package/lib/browser/index.jsx +60 -126
- package/lib/edge/dev.js +78 -127
- package/lib/edge/dev.jsx +60 -126
- package/lib/edge/index.js +78 -127
- package/lib/edge/index.jsx +60 -126
- package/lib/node/dev.js +78 -127
- package/lib/node/dev.jsx +60 -126
- package/lib/node/index.js +78 -127
- package/lib/node/index.jsx +60 -126
- package/package.json +1 -1
package/lib/edge/index.js
CHANGED
|
@@ -119,7 +119,8 @@ var builder_context_default = createContext({
|
|
|
119
119
|
componentInfos: {},
|
|
120
120
|
inheritedStyles: {},
|
|
121
121
|
BlocksWrapper: "div",
|
|
122
|
-
BlocksWrapperProps: {}
|
|
122
|
+
BlocksWrapperProps: {},
|
|
123
|
+
nonce: ""
|
|
123
124
|
});
|
|
124
125
|
var components_context_default = createContext({ registeredComponents: {} });
|
|
125
126
|
|
|
@@ -3924,56 +3925,33 @@ var getRepeatItemData = ({
|
|
|
3924
3925
|
}));
|
|
3925
3926
|
return repeatArray;
|
|
3926
3927
|
};
|
|
3927
|
-
var applyDefaults = (shouldReceiveBuilderProps) => {
|
|
3928
|
-
return {
|
|
3929
|
-
// once we bump to a major version, toggle this to `false`.
|
|
3930
|
-
builderBlock: true,
|
|
3931
|
-
// once we bump to a major version, toggle this to `false`.
|
|
3932
|
-
builderContext: true,
|
|
3933
|
-
builderComponents: false,
|
|
3934
|
-
builderLinkComponent: false,
|
|
3935
|
-
...shouldReceiveBuilderProps
|
|
3936
|
-
};
|
|
3937
|
-
};
|
|
3938
3928
|
var provideLinkComponent = (block, linkComponent) => {
|
|
3939
|
-
if (
|
|
3940
|
-
return {
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
return {
|
|
3945
|
-
builderLinkComponent: linkComponent
|
|
3946
|
-
};
|
|
3929
|
+
if (block?.shouldReceiveBuilderProps?.builderLinkComponent)
|
|
3930
|
+
return {
|
|
3931
|
+
builderLinkComponent: linkComponent
|
|
3932
|
+
};
|
|
3933
|
+
return {};
|
|
3947
3934
|
};
|
|
3948
3935
|
var provideRegisteredComponents = (block, registeredComponents) => {
|
|
3949
|
-
if (
|
|
3950
|
-
return {
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
return {
|
|
3955
|
-
builderComponents: registeredComponents
|
|
3956
|
-
};
|
|
3936
|
+
if (block?.shouldReceiveBuilderProps?.builderComponents)
|
|
3937
|
+
return {
|
|
3938
|
+
builderComponents: registeredComponents
|
|
3939
|
+
};
|
|
3940
|
+
return {};
|
|
3957
3941
|
};
|
|
3958
3942
|
var provideBuilderBlock = (block, builderBlock) => {
|
|
3959
|
-
if (
|
|
3960
|
-
return {
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
return {
|
|
3965
|
-
builderBlock
|
|
3966
|
-
};
|
|
3943
|
+
if (block?.shouldReceiveBuilderProps?.builderBlock)
|
|
3944
|
+
return {
|
|
3945
|
+
builderBlock
|
|
3946
|
+
};
|
|
3947
|
+
return {};
|
|
3967
3948
|
};
|
|
3968
3949
|
var provideBuilderContext = (block, context) => {
|
|
3969
|
-
if (
|
|
3970
|
-
return {
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
return {
|
|
3975
|
-
builderContext: context
|
|
3976
|
-
};
|
|
3950
|
+
if (block?.shouldReceiveBuilderProps?.builderContext)
|
|
3951
|
+
return {
|
|
3952
|
+
builderContext: context
|
|
3953
|
+
};
|
|
3954
|
+
return {};
|
|
3977
3955
|
};
|
|
3978
3956
|
|
|
3979
3957
|
// src/constants/device-sizes.ts
|
|
@@ -4029,13 +4007,15 @@ function InlinedStyles(props) {
|
|
|
4029
4007
|
return (() => {
|
|
4030
4008
|
const _el$ = _tmpl$();
|
|
4031
4009
|
effect((_p$) => {
|
|
4032
|
-
const _v$ = props.styles, _v$2 = props.id;
|
|
4010
|
+
const _v$ = props.styles, _v$2 = props.id, _v$3 = props.nonce;
|
|
4033
4011
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
4034
4012
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
4013
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
4035
4014
|
return _p$;
|
|
4036
4015
|
}, {
|
|
4037
4016
|
_v$: void 0,
|
|
4038
|
-
_v$2: void 0
|
|
4017
|
+
_v$2: void 0,
|
|
4018
|
+
_v$3: void 0
|
|
4039
4019
|
});
|
|
4040
4020
|
return _el$;
|
|
4041
4021
|
})();
|
|
@@ -4118,6 +4098,9 @@ function BlockStyles(props) {
|
|
|
4118
4098
|
id: "builderio-block",
|
|
4119
4099
|
get styles() {
|
|
4120
4100
|
return css();
|
|
4101
|
+
},
|
|
4102
|
+
get nonce() {
|
|
4103
|
+
return props.context.nonce;
|
|
4121
4104
|
}
|
|
4122
4105
|
});
|
|
4123
4106
|
}
|
|
@@ -4720,7 +4703,7 @@ var getColumnsClass = (id2) => {
|
|
|
4720
4703
|
|
|
4721
4704
|
// src/blocks/columns/columns.tsx
|
|
4722
4705
|
var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
|
|
4723
|
-
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-
|
|
4706
|
+
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-5b8fb3ac {
|
|
4724
4707
|
display: flex;
|
|
4725
4708
|
line-height: normal;
|
|
4726
4709
|
}`);
|
|
@@ -4736,8 +4719,9 @@ function Columns(props) {
|
|
|
4736
4719
|
return cols()[index]?.width || 100 / cols().length;
|
|
4737
4720
|
}
|
|
4738
4721
|
function getColumnCssWidth(index) {
|
|
4739
|
-
const
|
|
4740
|
-
|
|
4722
|
+
const width = getWidth(index);
|
|
4723
|
+
const subtractWidth = gutterSize() * (cols().length - 1) * (width / 100);
|
|
4724
|
+
return `calc(${width}% - ${subtractWidth}px)`;
|
|
4741
4725
|
}
|
|
4742
4726
|
function getTabletStyle({
|
|
4743
4727
|
stackedStyle,
|
|
@@ -4839,7 +4823,7 @@ function Columns(props) {
|
|
|
4839
4823
|
const _el$ = _tmpl$3();
|
|
4840
4824
|
spread(_el$, mergeProps({
|
|
4841
4825
|
get ["class"]() {
|
|
4842
|
-
return getColumnsClass(props.builderBlock?.id) + " div-
|
|
4826
|
+
return getColumnsClass(props.builderBlock?.id) + " div-5b8fb3ac";
|
|
4843
4827
|
},
|
|
4844
4828
|
get style() {
|
|
4845
4829
|
return columnsCssVars();
|
|
@@ -4852,6 +4836,9 @@ function Columns(props) {
|
|
|
4852
4836
|
id: "builderio-columns",
|
|
4853
4837
|
get styles() {
|
|
4854
4838
|
return columnsStyles();
|
|
4839
|
+
},
|
|
4840
|
+
get nonce() {
|
|
4841
|
+
return props.builderContext.nonce;
|
|
4855
4842
|
}
|
|
4856
4843
|
});
|
|
4857
4844
|
}
|
|
@@ -5654,9 +5641,6 @@ var componentInfo2 = {
|
|
|
5654
5641
|
static: true,
|
|
5655
5642
|
noWrap: true,
|
|
5656
5643
|
shouldReceiveBuilderProps: {
|
|
5657
|
-
builderBlock: false,
|
|
5658
|
-
builderContext: false,
|
|
5659
|
-
builderComponents: false,
|
|
5660
5644
|
builderLinkComponent: true
|
|
5661
5645
|
}
|
|
5662
5646
|
};
|
|
@@ -5889,12 +5873,6 @@ var componentInfo3 = {
|
|
|
5889
5873
|
|
|
5890
5874
|
// src/blocks/fragment/component-info.ts
|
|
5891
5875
|
var componentInfo4 = {
|
|
5892
|
-
shouldReceiveBuilderProps: {
|
|
5893
|
-
builderBlock: false,
|
|
5894
|
-
builderContext: false,
|
|
5895
|
-
builderComponents: false,
|
|
5896
|
-
builderLinkComponent: false
|
|
5897
|
-
},
|
|
5898
5876
|
name: "Fragment",
|
|
5899
5877
|
static: true,
|
|
5900
5878
|
hidden: true,
|
|
@@ -6028,21 +6006,12 @@ var componentInfo5 = {
|
|
|
6028
6006
|
defaultValue: 0.7041
|
|
6029
6007
|
}],
|
|
6030
6008
|
shouldReceiveBuilderProps: {
|
|
6031
|
-
builderBlock: true
|
|
6032
|
-
builderContext: false,
|
|
6033
|
-
builderComponents: false,
|
|
6034
|
-
builderLinkComponent: false
|
|
6009
|
+
builderBlock: true
|
|
6035
6010
|
}
|
|
6036
6011
|
};
|
|
6037
6012
|
|
|
6038
6013
|
// src/blocks/section/component-info.ts
|
|
6039
6014
|
var componentInfo6 = {
|
|
6040
|
-
shouldReceiveBuilderProps: {
|
|
6041
|
-
builderBlock: false,
|
|
6042
|
-
builderContext: false,
|
|
6043
|
-
builderComponents: false,
|
|
6044
|
-
builderLinkComponent: false
|
|
6045
|
-
},
|
|
6046
6015
|
name: "Core:Section",
|
|
6047
6016
|
static: true,
|
|
6048
6017
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -6098,10 +6067,7 @@ var componentInfo7 = {
|
|
|
6098
6067
|
defaultValue: "children"
|
|
6099
6068
|
}],
|
|
6100
6069
|
shouldReceiveBuilderProps: {
|
|
6101
|
-
|
|
6102
|
-
builderContext: true,
|
|
6103
|
-
builderComponents: false,
|
|
6104
|
-
builderLinkComponent: false
|
|
6070
|
+
builderContext: true
|
|
6105
6071
|
}
|
|
6106
6072
|
};
|
|
6107
6073
|
var _tmpl$8 = /* @__PURE__ */ template(`<div>`);
|
|
@@ -6420,10 +6386,7 @@ delegateEvents(["click"]);
|
|
|
6420
6386
|
// src/blocks/text/component-info.ts
|
|
6421
6387
|
var componentInfo10 = {
|
|
6422
6388
|
shouldReceiveBuilderProps: {
|
|
6423
|
-
builderBlock: TARGET === "reactNative" ? true : false
|
|
6424
|
-
builderContext: false,
|
|
6425
|
-
builderComponents: false,
|
|
6426
|
-
builderLinkComponent: false
|
|
6389
|
+
builderBlock: TARGET === "reactNative" ? true : false
|
|
6427
6390
|
},
|
|
6428
6391
|
name: "Text",
|
|
6429
6392
|
static: true,
|
|
@@ -6456,12 +6419,6 @@ var text_default = Text;
|
|
|
6456
6419
|
|
|
6457
6420
|
// src/blocks/custom-code/component-info.ts
|
|
6458
6421
|
var componentInfo11 = {
|
|
6459
|
-
shouldReceiveBuilderProps: {
|
|
6460
|
-
builderBlock: false,
|
|
6461
|
-
builderContext: false,
|
|
6462
|
-
builderComponents: false,
|
|
6463
|
-
builderLinkComponent: false
|
|
6464
|
-
},
|
|
6465
6422
|
name: "Custom Code",
|
|
6466
6423
|
static: true,
|
|
6467
6424
|
requiredPermissions: ["editCode"],
|
|
@@ -6537,12 +6494,6 @@ var custom_code_default = CustomCode;
|
|
|
6537
6494
|
|
|
6538
6495
|
// src/blocks/embed/component-info.ts
|
|
6539
6496
|
var componentInfo12 = {
|
|
6540
|
-
shouldReceiveBuilderProps: {
|
|
6541
|
-
builderBlock: false,
|
|
6542
|
-
builderContext: false,
|
|
6543
|
-
builderComponents: false,
|
|
6544
|
-
builderLinkComponent: false
|
|
6545
|
-
},
|
|
6546
6497
|
name: "Embed",
|
|
6547
6498
|
static: true,
|
|
6548
6499
|
inputs: [{
|
|
@@ -7167,12 +7118,6 @@ var form_default = FormComponent;
|
|
|
7167
7118
|
|
|
7168
7119
|
// src/blocks/form/input/component-info.ts
|
|
7169
7120
|
var componentInfo14 = {
|
|
7170
|
-
shouldReceiveBuilderProps: {
|
|
7171
|
-
builderBlock: false,
|
|
7172
|
-
builderContext: false,
|
|
7173
|
-
builderComponents: false,
|
|
7174
|
-
builderLinkComponent: false
|
|
7175
|
-
},
|
|
7176
7121
|
name: "Form:Input",
|
|
7177
7122
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
7178
7123
|
inputs: [
|
|
@@ -7258,12 +7203,6 @@ var input_default = FormInputComponent;
|
|
|
7258
7203
|
|
|
7259
7204
|
// src/blocks/form/select/component-info.ts
|
|
7260
7205
|
var componentInfo15 = {
|
|
7261
|
-
shouldReceiveBuilderProps: {
|
|
7262
|
-
builderBlock: false,
|
|
7263
|
-
builderContext: false,
|
|
7264
|
-
builderComponents: false,
|
|
7265
|
-
builderLinkComponent: false
|
|
7266
|
-
},
|
|
7267
7206
|
name: "Form:Select",
|
|
7268
7207
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
7269
7208
|
defaultStyles: {
|
|
@@ -7350,12 +7289,6 @@ var select_default = SelectComponent;
|
|
|
7350
7289
|
|
|
7351
7290
|
// src/blocks/form/submit-button/component-info.ts
|
|
7352
7291
|
var componentInfo16 = {
|
|
7353
|
-
shouldReceiveBuilderProps: {
|
|
7354
|
-
builderBlock: false,
|
|
7355
|
-
builderContext: false,
|
|
7356
|
-
builderComponents: false,
|
|
7357
|
-
builderLinkComponent: false
|
|
7358
|
-
},
|
|
7359
7292
|
name: "Form:SubmitButton",
|
|
7360
7293
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
7361
7294
|
defaultStyles: {
|
|
@@ -7394,12 +7327,6 @@ var submit_button_default = SubmitButton;
|
|
|
7394
7327
|
|
|
7395
7328
|
// src/blocks/form/textarea/component-info.ts
|
|
7396
7329
|
var componentInfo17 = {
|
|
7397
|
-
shouldReceiveBuilderProps: {
|
|
7398
|
-
builderBlock: false,
|
|
7399
|
-
builderContext: false,
|
|
7400
|
-
builderComponents: false,
|
|
7401
|
-
builderLinkComponent: false
|
|
7402
|
-
},
|
|
7403
7330
|
name: "Form:TextArea",
|
|
7404
7331
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
7405
7332
|
inputs: [{
|
|
@@ -7464,12 +7391,6 @@ var textarea_default = Textarea;
|
|
|
7464
7391
|
|
|
7465
7392
|
// src/blocks/img/component-info.ts
|
|
7466
7393
|
var componentInfo18 = {
|
|
7467
|
-
shouldReceiveBuilderProps: {
|
|
7468
|
-
builderBlock: false,
|
|
7469
|
-
builderContext: false,
|
|
7470
|
-
builderComponents: false,
|
|
7471
|
-
builderLinkComponent: false
|
|
7472
|
-
},
|
|
7473
7394
|
// friendlyName?
|
|
7474
7395
|
name: "Raw:Img",
|
|
7475
7396
|
hideFromInsertMenu: true,
|
|
@@ -7593,10 +7514,7 @@ var componentInfo19 = {
|
|
|
7593
7514
|
advanced: true
|
|
7594
7515
|
}],
|
|
7595
7516
|
shouldReceiveBuilderProps: {
|
|
7596
|
-
builderBlock: true
|
|
7597
|
-
builderContext: false,
|
|
7598
|
-
builderComponents: false,
|
|
7599
|
-
builderLinkComponent: false
|
|
7517
|
+
builderBlock: true
|
|
7600
7518
|
}
|
|
7601
7519
|
};
|
|
7602
7520
|
var _tmpl$19 = /* @__PURE__ */ template(`<source type=video/mp4>`);
|
|
@@ -7852,13 +7770,15 @@ function InlinedScript(props) {
|
|
|
7852
7770
|
return (() => {
|
|
7853
7771
|
const _el$ = _tmpl$20();
|
|
7854
7772
|
effect((_p$) => {
|
|
7855
|
-
const _v$ = props.scriptStr, _v$2 = props.id;
|
|
7773
|
+
const _v$ = props.scriptStr, _v$2 = props.id, _v$3 = props.nonce || "";
|
|
7856
7774
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
7857
7775
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
7776
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
7858
7777
|
return _p$;
|
|
7859
7778
|
}, {
|
|
7860
7779
|
_v$: void 0,
|
|
7861
|
-
_v$2: void 0
|
|
7780
|
+
_v$2: void 0,
|
|
7781
|
+
_v$3: void 0
|
|
7862
7782
|
});
|
|
7863
7783
|
return _el$;
|
|
7864
7784
|
})();
|
|
@@ -8359,7 +8279,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
8359
8279
|
}
|
|
8360
8280
|
|
|
8361
8281
|
// src/constants/sdk-version.ts
|
|
8362
|
-
var SDK_VERSION = "
|
|
8282
|
+
var SDK_VERSION = "2.0.1";
|
|
8363
8283
|
|
|
8364
8284
|
// src/functions/register.ts
|
|
8365
8285
|
var registry = {};
|
|
@@ -8940,6 +8860,9 @@ ${getDefaultStyles(props.isNestedRender)}
|
|
|
8940
8860
|
id: "builderio-content",
|
|
8941
8861
|
get styles() {
|
|
8942
8862
|
return injectedStyles();
|
|
8863
|
+
},
|
|
8864
|
+
get nonce() {
|
|
8865
|
+
return props.nonce;
|
|
8943
8866
|
}
|
|
8944
8867
|
});
|
|
8945
8868
|
}
|
|
@@ -9024,7 +8947,8 @@ function ContentComponent(props) {
|
|
|
9024
8947
|
}), {}),
|
|
9025
8948
|
inheritedStyles: {},
|
|
9026
8949
|
BlocksWrapper: props.blocksWrapper || "div",
|
|
9027
|
-
BlocksWrapperProps: props.blocksWrapperProps || {}
|
|
8950
|
+
BlocksWrapperProps: props.blocksWrapperProps || {},
|
|
8951
|
+
nonce: props.nonce || ""
|
|
9028
8952
|
});
|
|
9029
8953
|
function contentSetState(newRootState) {
|
|
9030
8954
|
setBuilderContextSignal((PREVIOUS_VALUE) => ({
|
|
@@ -9040,6 +8964,9 @@ function ContentComponent(props) {
|
|
|
9040
8964
|
},
|
|
9041
8965
|
get children() {
|
|
9042
8966
|
return createComponent(enable_editor_default, mergeProps({
|
|
8967
|
+
get nonce() {
|
|
8968
|
+
return props.nonce;
|
|
8969
|
+
},
|
|
9043
8970
|
get content() {
|
|
9044
8971
|
return props.content;
|
|
9045
8972
|
},
|
|
@@ -9092,6 +9019,9 @@ function ContentComponent(props) {
|
|
|
9092
9019
|
id: "builderio-variant-visibility",
|
|
9093
9020
|
get scriptStr() {
|
|
9094
9021
|
return scriptStr();
|
|
9022
|
+
},
|
|
9023
|
+
get nonce() {
|
|
9024
|
+
return props.nonce || "";
|
|
9095
9025
|
}
|
|
9096
9026
|
});
|
|
9097
9027
|
}
|
|
@@ -9099,6 +9029,9 @@ function ContentComponent(props) {
|
|
|
9099
9029
|
when: TARGET !== "reactNative",
|
|
9100
9030
|
get children() {
|
|
9101
9031
|
return createComponent(styles_default, {
|
|
9032
|
+
get nonce() {
|
|
9033
|
+
return props.nonce || "";
|
|
9034
|
+
},
|
|
9102
9035
|
get isNestedRender() {
|
|
9103
9036
|
return props.isNestedRender;
|
|
9104
9037
|
},
|
|
@@ -9170,6 +9103,9 @@ function ContentVariants(props) {
|
|
|
9170
9103
|
id: "builderio-init-variants-fns",
|
|
9171
9104
|
get scriptStr() {
|
|
9172
9105
|
return getInitVariantsFnsScriptString();
|
|
9106
|
+
},
|
|
9107
|
+
get nonce() {
|
|
9108
|
+
return props.nonce || "";
|
|
9173
9109
|
}
|
|
9174
9110
|
});
|
|
9175
9111
|
}
|
|
@@ -9182,11 +9118,17 @@ function ContentVariants(props) {
|
|
|
9182
9118
|
id: "builderio-variants",
|
|
9183
9119
|
get styles() {
|
|
9184
9120
|
return hideVariantsStyleString();
|
|
9121
|
+
},
|
|
9122
|
+
get nonce() {
|
|
9123
|
+
return props.nonce || "";
|
|
9185
9124
|
}
|
|
9186
9125
|
}), createComponent(inlined_script_default, {
|
|
9187
9126
|
id: "builderio-variants-visibility",
|
|
9188
9127
|
get scriptStr() {
|
|
9189
9128
|
return updateCookieAndStylesScriptStr();
|
|
9129
|
+
},
|
|
9130
|
+
get nonce() {
|
|
9131
|
+
return props.nonce || "";
|
|
9190
9132
|
}
|
|
9191
9133
|
}), createComponent(For, {
|
|
9192
9134
|
get each() {
|
|
@@ -9201,6 +9143,9 @@ function ContentVariants(props) {
|
|
|
9201
9143
|
get key() {
|
|
9202
9144
|
return variant.testVariationId;
|
|
9203
9145
|
},
|
|
9146
|
+
get nonce() {
|
|
9147
|
+
return props.nonce;
|
|
9148
|
+
},
|
|
9204
9149
|
content: variant,
|
|
9205
9150
|
showContent: false,
|
|
9206
9151
|
get model() {
|
|
@@ -9256,6 +9201,9 @@ function ContentVariants(props) {
|
|
|
9256
9201
|
})];
|
|
9257
9202
|
}
|
|
9258
9203
|
}), createComponent(content_default, mergeProps({
|
|
9204
|
+
get nonce() {
|
|
9205
|
+
return props.nonce;
|
|
9206
|
+
},
|
|
9259
9207
|
get isNestedRender() {
|
|
9260
9208
|
return props.isNestedRender;
|
|
9261
9209
|
}
|
|
@@ -9380,6 +9328,9 @@ function Symbol2(props) {
|
|
|
9380
9328
|
}
|
|
9381
9329
|
}, {}, () => props.attributes, {}), false, true);
|
|
9382
9330
|
insert(_el$, createComponent(content_variants_default, {
|
|
9331
|
+
get nonce() {
|
|
9332
|
+
return props.builderContext.nonce;
|
|
9333
|
+
},
|
|
9383
9334
|
isNestedRender: true,
|
|
9384
9335
|
get apiVersion() {
|
|
9385
9336
|
return props.builderContext.apiVersion;
|