@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/dev.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
|
|
|
@@ -3930,56 +3931,33 @@ var getRepeatItemData = ({
|
|
|
3930
3931
|
}));
|
|
3931
3932
|
return repeatArray;
|
|
3932
3933
|
};
|
|
3933
|
-
var applyDefaults = (shouldReceiveBuilderProps) => {
|
|
3934
|
-
return {
|
|
3935
|
-
// once we bump to a major version, toggle this to `false`.
|
|
3936
|
-
builderBlock: true,
|
|
3937
|
-
// once we bump to a major version, toggle this to `false`.
|
|
3938
|
-
builderContext: true,
|
|
3939
|
-
builderComponents: false,
|
|
3940
|
-
builderLinkComponent: false,
|
|
3941
|
-
...shouldReceiveBuilderProps
|
|
3942
|
-
};
|
|
3943
|
-
};
|
|
3944
3934
|
var provideLinkComponent = (block, linkComponent) => {
|
|
3945
|
-
if (
|
|
3946
|
-
return {
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
return {
|
|
3951
|
-
builderLinkComponent: linkComponent
|
|
3952
|
-
};
|
|
3935
|
+
if (block?.shouldReceiveBuilderProps?.builderLinkComponent)
|
|
3936
|
+
return {
|
|
3937
|
+
builderLinkComponent: linkComponent
|
|
3938
|
+
};
|
|
3939
|
+
return {};
|
|
3953
3940
|
};
|
|
3954
3941
|
var provideRegisteredComponents = (block, registeredComponents) => {
|
|
3955
|
-
if (
|
|
3956
|
-
return {
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
return {
|
|
3961
|
-
builderComponents: registeredComponents
|
|
3962
|
-
};
|
|
3942
|
+
if (block?.shouldReceiveBuilderProps?.builderComponents)
|
|
3943
|
+
return {
|
|
3944
|
+
builderComponents: registeredComponents
|
|
3945
|
+
};
|
|
3946
|
+
return {};
|
|
3963
3947
|
};
|
|
3964
3948
|
var provideBuilderBlock = (block, builderBlock) => {
|
|
3965
|
-
if (
|
|
3966
|
-
return {
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
return {
|
|
3971
|
-
builderBlock
|
|
3972
|
-
};
|
|
3949
|
+
if (block?.shouldReceiveBuilderProps?.builderBlock)
|
|
3950
|
+
return {
|
|
3951
|
+
builderBlock
|
|
3952
|
+
};
|
|
3953
|
+
return {};
|
|
3973
3954
|
};
|
|
3974
3955
|
var provideBuilderContext = (block, context) => {
|
|
3975
|
-
if (
|
|
3976
|
-
return {
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
return {
|
|
3981
|
-
builderContext: context
|
|
3982
|
-
};
|
|
3956
|
+
if (block?.shouldReceiveBuilderProps?.builderContext)
|
|
3957
|
+
return {
|
|
3958
|
+
builderContext: context
|
|
3959
|
+
};
|
|
3960
|
+
return {};
|
|
3983
3961
|
};
|
|
3984
3962
|
|
|
3985
3963
|
// src/constants/device-sizes.ts
|
|
@@ -4035,13 +4013,15 @@ function InlinedStyles(props) {
|
|
|
4035
4013
|
return (() => {
|
|
4036
4014
|
const _el$ = _tmpl$();
|
|
4037
4015
|
effect((_p$) => {
|
|
4038
|
-
const _v$ = props.styles, _v$2 = props.id;
|
|
4016
|
+
const _v$ = props.styles, _v$2 = props.id, _v$3 = props.nonce;
|
|
4039
4017
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
4040
4018
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
4019
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
4041
4020
|
return _p$;
|
|
4042
4021
|
}, {
|
|
4043
4022
|
_v$: void 0,
|
|
4044
|
-
_v$2: void 0
|
|
4023
|
+
_v$2: void 0,
|
|
4024
|
+
_v$3: void 0
|
|
4045
4025
|
});
|
|
4046
4026
|
return _el$;
|
|
4047
4027
|
})();
|
|
@@ -4124,6 +4104,9 @@ function BlockStyles(props) {
|
|
|
4124
4104
|
id: "builderio-block",
|
|
4125
4105
|
get styles() {
|
|
4126
4106
|
return css();
|
|
4107
|
+
},
|
|
4108
|
+
get nonce() {
|
|
4109
|
+
return props.context.nonce;
|
|
4127
4110
|
}
|
|
4128
4111
|
});
|
|
4129
4112
|
}
|
|
@@ -4726,7 +4709,7 @@ var getColumnsClass = (id2) => {
|
|
|
4726
4709
|
|
|
4727
4710
|
// src/blocks/columns/columns.tsx
|
|
4728
4711
|
var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
|
|
4729
|
-
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-
|
|
4712
|
+
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-5b8fb3ac {
|
|
4730
4713
|
display: flex;
|
|
4731
4714
|
line-height: normal;
|
|
4732
4715
|
}`);
|
|
@@ -4742,8 +4725,9 @@ function Columns(props) {
|
|
|
4742
4725
|
return cols()[index]?.width || 100 / cols().length;
|
|
4743
4726
|
}
|
|
4744
4727
|
function getColumnCssWidth(index) {
|
|
4745
|
-
const
|
|
4746
|
-
|
|
4728
|
+
const width = getWidth(index);
|
|
4729
|
+
const subtractWidth = gutterSize() * (cols().length - 1) * (width / 100);
|
|
4730
|
+
return `calc(${width}% - ${subtractWidth}px)`;
|
|
4747
4731
|
}
|
|
4748
4732
|
function getTabletStyle({
|
|
4749
4733
|
stackedStyle,
|
|
@@ -4845,7 +4829,7 @@ function Columns(props) {
|
|
|
4845
4829
|
const _el$ = _tmpl$3();
|
|
4846
4830
|
spread(_el$, mergeProps({
|
|
4847
4831
|
get ["class"]() {
|
|
4848
|
-
return getColumnsClass(props.builderBlock?.id) + " div-
|
|
4832
|
+
return getColumnsClass(props.builderBlock?.id) + " div-5b8fb3ac";
|
|
4849
4833
|
},
|
|
4850
4834
|
get style() {
|
|
4851
4835
|
return columnsCssVars();
|
|
@@ -4858,6 +4842,9 @@ function Columns(props) {
|
|
|
4858
4842
|
id: "builderio-columns",
|
|
4859
4843
|
get styles() {
|
|
4860
4844
|
return columnsStyles();
|
|
4845
|
+
},
|
|
4846
|
+
get nonce() {
|
|
4847
|
+
return props.builderContext.nonce;
|
|
4861
4848
|
}
|
|
4862
4849
|
});
|
|
4863
4850
|
}
|
|
@@ -5661,9 +5648,6 @@ var componentInfo2 = {
|
|
|
5661
5648
|
static: true,
|
|
5662
5649
|
noWrap: true,
|
|
5663
5650
|
shouldReceiveBuilderProps: {
|
|
5664
|
-
builderBlock: false,
|
|
5665
|
-
builderContext: false,
|
|
5666
|
-
builderComponents: false,
|
|
5667
5651
|
builderLinkComponent: true
|
|
5668
5652
|
}
|
|
5669
5653
|
};
|
|
@@ -5896,12 +5880,6 @@ var componentInfo3 = {
|
|
|
5896
5880
|
|
|
5897
5881
|
// src/blocks/fragment/component-info.ts
|
|
5898
5882
|
var componentInfo4 = {
|
|
5899
|
-
shouldReceiveBuilderProps: {
|
|
5900
|
-
builderBlock: false,
|
|
5901
|
-
builderContext: false,
|
|
5902
|
-
builderComponents: false,
|
|
5903
|
-
builderLinkComponent: false
|
|
5904
|
-
},
|
|
5905
5883
|
name: "Fragment",
|
|
5906
5884
|
static: true,
|
|
5907
5885
|
hidden: true,
|
|
@@ -6036,21 +6014,12 @@ var componentInfo5 = {
|
|
|
6036
6014
|
defaultValue: 0.7041
|
|
6037
6015
|
}],
|
|
6038
6016
|
shouldReceiveBuilderProps: {
|
|
6039
|
-
builderBlock: true
|
|
6040
|
-
builderContext: false,
|
|
6041
|
-
builderComponents: false,
|
|
6042
|
-
builderLinkComponent: false
|
|
6017
|
+
builderBlock: true
|
|
6043
6018
|
}
|
|
6044
6019
|
};
|
|
6045
6020
|
|
|
6046
6021
|
// src/blocks/section/component-info.ts
|
|
6047
6022
|
var componentInfo6 = {
|
|
6048
|
-
shouldReceiveBuilderProps: {
|
|
6049
|
-
builderBlock: false,
|
|
6050
|
-
builderContext: false,
|
|
6051
|
-
builderComponents: false,
|
|
6052
|
-
builderLinkComponent: false
|
|
6053
|
-
},
|
|
6054
6023
|
name: "Core:Section",
|
|
6055
6024
|
static: true,
|
|
6056
6025
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -6106,10 +6075,7 @@ var componentInfo7 = {
|
|
|
6106
6075
|
defaultValue: "children"
|
|
6107
6076
|
}],
|
|
6108
6077
|
shouldReceiveBuilderProps: {
|
|
6109
|
-
|
|
6110
|
-
builderContext: true,
|
|
6111
|
-
builderComponents: false,
|
|
6112
|
-
builderLinkComponent: false
|
|
6078
|
+
builderContext: true
|
|
6113
6079
|
}
|
|
6114
6080
|
};
|
|
6115
6081
|
var _tmpl$8 = /* @__PURE__ */ template(`<div>`);
|
|
@@ -6428,10 +6394,7 @@ delegateEvents(["click"]);
|
|
|
6428
6394
|
// src/blocks/text/component-info.ts
|
|
6429
6395
|
var componentInfo10 = {
|
|
6430
6396
|
shouldReceiveBuilderProps: {
|
|
6431
|
-
builderBlock: TARGET === "reactNative" ? true : false
|
|
6432
|
-
builderContext: false,
|
|
6433
|
-
builderComponents: false,
|
|
6434
|
-
builderLinkComponent: false
|
|
6397
|
+
builderBlock: TARGET === "reactNative" ? true : false
|
|
6435
6398
|
},
|
|
6436
6399
|
name: "Text",
|
|
6437
6400
|
static: true,
|
|
@@ -6464,12 +6427,6 @@ var text_default = Text;
|
|
|
6464
6427
|
|
|
6465
6428
|
// src/blocks/custom-code/component-info.ts
|
|
6466
6429
|
var componentInfo11 = {
|
|
6467
|
-
shouldReceiveBuilderProps: {
|
|
6468
|
-
builderBlock: false,
|
|
6469
|
-
builderContext: false,
|
|
6470
|
-
builderComponents: false,
|
|
6471
|
-
builderLinkComponent: false
|
|
6472
|
-
},
|
|
6473
6430
|
name: "Custom Code",
|
|
6474
6431
|
static: true,
|
|
6475
6432
|
requiredPermissions: ["editCode"],
|
|
@@ -6546,12 +6503,6 @@ var custom_code_default = CustomCode;
|
|
|
6546
6503
|
|
|
6547
6504
|
// src/blocks/embed/component-info.ts
|
|
6548
6505
|
var componentInfo12 = {
|
|
6549
|
-
shouldReceiveBuilderProps: {
|
|
6550
|
-
builderBlock: false,
|
|
6551
|
-
builderContext: false,
|
|
6552
|
-
builderComponents: false,
|
|
6553
|
-
builderLinkComponent: false
|
|
6554
|
-
},
|
|
6555
6506
|
name: "Embed",
|
|
6556
6507
|
static: true,
|
|
6557
6508
|
inputs: [{
|
|
@@ -7177,12 +7128,6 @@ var form_default = FormComponent;
|
|
|
7177
7128
|
|
|
7178
7129
|
// src/blocks/form/input/component-info.ts
|
|
7179
7130
|
var componentInfo14 = {
|
|
7180
|
-
shouldReceiveBuilderProps: {
|
|
7181
|
-
builderBlock: false,
|
|
7182
|
-
builderContext: false,
|
|
7183
|
-
builderComponents: false,
|
|
7184
|
-
builderLinkComponent: false
|
|
7185
|
-
},
|
|
7186
7131
|
name: "Form:Input",
|
|
7187
7132
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
7188
7133
|
inputs: [
|
|
@@ -7268,12 +7213,6 @@ var input_default = FormInputComponent;
|
|
|
7268
7213
|
|
|
7269
7214
|
// src/blocks/form/select/component-info.ts
|
|
7270
7215
|
var componentInfo15 = {
|
|
7271
|
-
shouldReceiveBuilderProps: {
|
|
7272
|
-
builderBlock: false,
|
|
7273
|
-
builderContext: false,
|
|
7274
|
-
builderComponents: false,
|
|
7275
|
-
builderLinkComponent: false
|
|
7276
|
-
},
|
|
7277
7216
|
name: "Form:Select",
|
|
7278
7217
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
7279
7218
|
defaultStyles: {
|
|
@@ -7360,12 +7299,6 @@ var select_default = SelectComponent;
|
|
|
7360
7299
|
|
|
7361
7300
|
// src/blocks/form/submit-button/component-info.ts
|
|
7362
7301
|
var componentInfo16 = {
|
|
7363
|
-
shouldReceiveBuilderProps: {
|
|
7364
|
-
builderBlock: false,
|
|
7365
|
-
builderContext: false,
|
|
7366
|
-
builderComponents: false,
|
|
7367
|
-
builderLinkComponent: false
|
|
7368
|
-
},
|
|
7369
7302
|
name: "Form:SubmitButton",
|
|
7370
7303
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
7371
7304
|
defaultStyles: {
|
|
@@ -7404,12 +7337,6 @@ var submit_button_default = SubmitButton;
|
|
|
7404
7337
|
|
|
7405
7338
|
// src/blocks/form/textarea/component-info.ts
|
|
7406
7339
|
var componentInfo17 = {
|
|
7407
|
-
shouldReceiveBuilderProps: {
|
|
7408
|
-
builderBlock: false,
|
|
7409
|
-
builderContext: false,
|
|
7410
|
-
builderComponents: false,
|
|
7411
|
-
builderLinkComponent: false
|
|
7412
|
-
},
|
|
7413
7340
|
name: "Form:TextArea",
|
|
7414
7341
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
7415
7342
|
inputs: [{
|
|
@@ -7474,12 +7401,6 @@ var textarea_default = Textarea;
|
|
|
7474
7401
|
|
|
7475
7402
|
// src/blocks/img/component-info.ts
|
|
7476
7403
|
var componentInfo18 = {
|
|
7477
|
-
shouldReceiveBuilderProps: {
|
|
7478
|
-
builderBlock: false,
|
|
7479
|
-
builderContext: false,
|
|
7480
|
-
builderComponents: false,
|
|
7481
|
-
builderLinkComponent: false
|
|
7482
|
-
},
|
|
7483
7404
|
// friendlyName?
|
|
7484
7405
|
name: "Raw:Img",
|
|
7485
7406
|
hideFromInsertMenu: true,
|
|
@@ -7603,10 +7524,7 @@ var componentInfo19 = {
|
|
|
7603
7524
|
advanced: true
|
|
7604
7525
|
}],
|
|
7605
7526
|
shouldReceiveBuilderProps: {
|
|
7606
|
-
builderBlock: true
|
|
7607
|
-
builderContext: false,
|
|
7608
|
-
builderComponents: false,
|
|
7609
|
-
builderLinkComponent: false
|
|
7527
|
+
builderBlock: true
|
|
7610
7528
|
}
|
|
7611
7529
|
};
|
|
7612
7530
|
var _tmpl$19 = /* @__PURE__ */ template(`<source type=video/mp4>`);
|
|
@@ -7862,13 +7780,15 @@ function InlinedScript(props) {
|
|
|
7862
7780
|
return (() => {
|
|
7863
7781
|
const _el$ = _tmpl$20();
|
|
7864
7782
|
effect((_p$) => {
|
|
7865
|
-
const _v$ = props.scriptStr, _v$2 = props.id;
|
|
7783
|
+
const _v$ = props.scriptStr, _v$2 = props.id, _v$3 = props.nonce || "";
|
|
7866
7784
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
7867
7785
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
7786
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
7868
7787
|
return _p$;
|
|
7869
7788
|
}, {
|
|
7870
7789
|
_v$: void 0,
|
|
7871
|
-
_v$2: void 0
|
|
7790
|
+
_v$2: void 0,
|
|
7791
|
+
_v$3: void 0
|
|
7872
7792
|
});
|
|
7873
7793
|
return _el$;
|
|
7874
7794
|
})();
|
|
@@ -8374,7 +8294,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
8374
8294
|
}
|
|
8375
8295
|
|
|
8376
8296
|
// src/constants/sdk-version.ts
|
|
8377
|
-
var SDK_VERSION = "
|
|
8297
|
+
var SDK_VERSION = "2.0.1";
|
|
8378
8298
|
|
|
8379
8299
|
// src/functions/register.ts
|
|
8380
8300
|
var registry = {};
|
|
@@ -8957,6 +8877,9 @@ ${getDefaultStyles(props.isNestedRender)}
|
|
|
8957
8877
|
id: "builderio-content",
|
|
8958
8878
|
get styles() {
|
|
8959
8879
|
return injectedStyles();
|
|
8880
|
+
},
|
|
8881
|
+
get nonce() {
|
|
8882
|
+
return props.nonce;
|
|
8960
8883
|
}
|
|
8961
8884
|
});
|
|
8962
8885
|
}
|
|
@@ -9041,7 +8964,8 @@ function ContentComponent(props) {
|
|
|
9041
8964
|
}), {}),
|
|
9042
8965
|
inheritedStyles: {},
|
|
9043
8966
|
BlocksWrapper: props.blocksWrapper || "div",
|
|
9044
|
-
BlocksWrapperProps: props.blocksWrapperProps || {}
|
|
8967
|
+
BlocksWrapperProps: props.blocksWrapperProps || {},
|
|
8968
|
+
nonce: props.nonce || ""
|
|
9045
8969
|
});
|
|
9046
8970
|
function contentSetState(newRootState) {
|
|
9047
8971
|
setBuilderContextSignal((PREVIOUS_VALUE) => ({
|
|
@@ -9057,6 +8981,9 @@ function ContentComponent(props) {
|
|
|
9057
8981
|
},
|
|
9058
8982
|
get children() {
|
|
9059
8983
|
return createComponent(enable_editor_default, mergeProps({
|
|
8984
|
+
get nonce() {
|
|
8985
|
+
return props.nonce;
|
|
8986
|
+
},
|
|
9060
8987
|
get content() {
|
|
9061
8988
|
return props.content;
|
|
9062
8989
|
},
|
|
@@ -9109,6 +9036,9 @@ function ContentComponent(props) {
|
|
|
9109
9036
|
id: "builderio-variant-visibility",
|
|
9110
9037
|
get scriptStr() {
|
|
9111
9038
|
return scriptStr();
|
|
9039
|
+
},
|
|
9040
|
+
get nonce() {
|
|
9041
|
+
return props.nonce || "";
|
|
9112
9042
|
}
|
|
9113
9043
|
});
|
|
9114
9044
|
}
|
|
@@ -9116,6 +9046,9 @@ function ContentComponent(props) {
|
|
|
9116
9046
|
when: TARGET !== "reactNative",
|
|
9117
9047
|
get children() {
|
|
9118
9048
|
return createComponent(styles_default, {
|
|
9049
|
+
get nonce() {
|
|
9050
|
+
return props.nonce || "";
|
|
9051
|
+
},
|
|
9119
9052
|
get isNestedRender() {
|
|
9120
9053
|
return props.isNestedRender;
|
|
9121
9054
|
},
|
|
@@ -9187,6 +9120,9 @@ function ContentVariants(props) {
|
|
|
9187
9120
|
id: "builderio-init-variants-fns",
|
|
9188
9121
|
get scriptStr() {
|
|
9189
9122
|
return getInitVariantsFnsScriptString();
|
|
9123
|
+
},
|
|
9124
|
+
get nonce() {
|
|
9125
|
+
return props.nonce || "";
|
|
9190
9126
|
}
|
|
9191
9127
|
});
|
|
9192
9128
|
}
|
|
@@ -9199,11 +9135,17 @@ function ContentVariants(props) {
|
|
|
9199
9135
|
id: "builderio-variants",
|
|
9200
9136
|
get styles() {
|
|
9201
9137
|
return hideVariantsStyleString();
|
|
9138
|
+
},
|
|
9139
|
+
get nonce() {
|
|
9140
|
+
return props.nonce || "";
|
|
9202
9141
|
}
|
|
9203
9142
|
}), createComponent(inlined_script_default, {
|
|
9204
9143
|
id: "builderio-variants-visibility",
|
|
9205
9144
|
get scriptStr() {
|
|
9206
9145
|
return updateCookieAndStylesScriptStr();
|
|
9146
|
+
},
|
|
9147
|
+
get nonce() {
|
|
9148
|
+
return props.nonce || "";
|
|
9207
9149
|
}
|
|
9208
9150
|
}), createComponent(For, {
|
|
9209
9151
|
get each() {
|
|
@@ -9218,6 +9160,9 @@ function ContentVariants(props) {
|
|
|
9218
9160
|
get key() {
|
|
9219
9161
|
return variant.testVariationId;
|
|
9220
9162
|
},
|
|
9163
|
+
get nonce() {
|
|
9164
|
+
return props.nonce;
|
|
9165
|
+
},
|
|
9221
9166
|
content: variant,
|
|
9222
9167
|
showContent: false,
|
|
9223
9168
|
get model() {
|
|
@@ -9273,6 +9218,9 @@ function ContentVariants(props) {
|
|
|
9273
9218
|
})];
|
|
9274
9219
|
}
|
|
9275
9220
|
}), createComponent(content_default, mergeProps({
|
|
9221
|
+
get nonce() {
|
|
9222
|
+
return props.nonce;
|
|
9223
|
+
},
|
|
9276
9224
|
get isNestedRender() {
|
|
9277
9225
|
return props.isNestedRender;
|
|
9278
9226
|
}
|
|
@@ -9397,6 +9345,9 @@ function Symbol2(props) {
|
|
|
9397
9345
|
}
|
|
9398
9346
|
}, {}, () => props.attributes, {}), false, true);
|
|
9399
9347
|
insert(_el$, createComponent(content_variants_default, {
|
|
9348
|
+
get nonce() {
|
|
9349
|
+
return props.builderContext.nonce;
|
|
9350
|
+
},
|
|
9400
9351
|
isNestedRender: true,
|
|
9401
9352
|
get apiVersion() {
|
|
9402
9353
|
return props.builderContext.apiVersion;
|