@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/node/index.js
CHANGED
|
@@ -114,7 +114,8 @@ var builder_context_default = createContext({
|
|
|
114
114
|
componentInfos: {},
|
|
115
115
|
inheritedStyles: {},
|
|
116
116
|
BlocksWrapper: "div",
|
|
117
|
-
BlocksWrapperProps: {}
|
|
117
|
+
BlocksWrapperProps: {},
|
|
118
|
+
nonce: ""
|
|
118
119
|
});
|
|
119
120
|
var components_context_default = createContext({ registeredComponents: {} });
|
|
120
121
|
|
|
@@ -948,56 +949,33 @@ var getRepeatItemData = ({
|
|
|
948
949
|
}));
|
|
949
950
|
return repeatArray;
|
|
950
951
|
};
|
|
951
|
-
var applyDefaults = (shouldReceiveBuilderProps) => {
|
|
952
|
-
return {
|
|
953
|
-
// once we bump to a major version, toggle this to `false`.
|
|
954
|
-
builderBlock: true,
|
|
955
|
-
// once we bump to a major version, toggle this to `false`.
|
|
956
|
-
builderContext: true,
|
|
957
|
-
builderComponents: false,
|
|
958
|
-
builderLinkComponent: false,
|
|
959
|
-
...shouldReceiveBuilderProps
|
|
960
|
-
};
|
|
961
|
-
};
|
|
962
952
|
var provideLinkComponent = (block, linkComponent) => {
|
|
963
|
-
if (
|
|
964
|
-
return {
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
return {
|
|
969
|
-
builderLinkComponent: linkComponent
|
|
970
|
-
};
|
|
953
|
+
if (block?.shouldReceiveBuilderProps?.builderLinkComponent)
|
|
954
|
+
return {
|
|
955
|
+
builderLinkComponent: linkComponent
|
|
956
|
+
};
|
|
957
|
+
return {};
|
|
971
958
|
};
|
|
972
959
|
var provideRegisteredComponents = (block, registeredComponents) => {
|
|
973
|
-
if (
|
|
974
|
-
return {
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
return {
|
|
979
|
-
builderComponents: registeredComponents
|
|
980
|
-
};
|
|
960
|
+
if (block?.shouldReceiveBuilderProps?.builderComponents)
|
|
961
|
+
return {
|
|
962
|
+
builderComponents: registeredComponents
|
|
963
|
+
};
|
|
964
|
+
return {};
|
|
981
965
|
};
|
|
982
966
|
var provideBuilderBlock = (block, builderBlock) => {
|
|
983
|
-
if (
|
|
984
|
-
return {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
return {
|
|
989
|
-
builderBlock
|
|
990
|
-
};
|
|
967
|
+
if (block?.shouldReceiveBuilderProps?.builderBlock)
|
|
968
|
+
return {
|
|
969
|
+
builderBlock
|
|
970
|
+
};
|
|
971
|
+
return {};
|
|
991
972
|
};
|
|
992
973
|
var provideBuilderContext = (block, context) => {
|
|
993
|
-
if (
|
|
994
|
-
return {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
return {
|
|
999
|
-
builderContext: context
|
|
1000
|
-
};
|
|
974
|
+
if (block?.shouldReceiveBuilderProps?.builderContext)
|
|
975
|
+
return {
|
|
976
|
+
builderContext: context
|
|
977
|
+
};
|
|
978
|
+
return {};
|
|
1001
979
|
};
|
|
1002
980
|
|
|
1003
981
|
// src/constants/device-sizes.ts
|
|
@@ -1053,13 +1031,15 @@ function InlinedStyles(props) {
|
|
|
1053
1031
|
return (() => {
|
|
1054
1032
|
const _el$ = _tmpl$();
|
|
1055
1033
|
effect((_p$) => {
|
|
1056
|
-
const _v$ = props.styles, _v$2 = props.id;
|
|
1034
|
+
const _v$ = props.styles, _v$2 = props.id, _v$3 = props.nonce;
|
|
1057
1035
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
1058
1036
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
1037
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
1059
1038
|
return _p$;
|
|
1060
1039
|
}, {
|
|
1061
1040
|
_v$: void 0,
|
|
1062
|
-
_v$2: void 0
|
|
1041
|
+
_v$2: void 0,
|
|
1042
|
+
_v$3: void 0
|
|
1063
1043
|
});
|
|
1064
1044
|
return _el$;
|
|
1065
1045
|
})();
|
|
@@ -1142,6 +1122,9 @@ function BlockStyles(props) {
|
|
|
1142
1122
|
id: "builderio-block",
|
|
1143
1123
|
get styles() {
|
|
1144
1124
|
return css();
|
|
1125
|
+
},
|
|
1126
|
+
get nonce() {
|
|
1127
|
+
return props.context.nonce;
|
|
1145
1128
|
}
|
|
1146
1129
|
});
|
|
1147
1130
|
}
|
|
@@ -1744,7 +1727,7 @@ var getColumnsClass = (id) => {
|
|
|
1744
1727
|
|
|
1745
1728
|
// src/blocks/columns/columns.tsx
|
|
1746
1729
|
var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
|
|
1747
|
-
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-
|
|
1730
|
+
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-5b8fb3ac {
|
|
1748
1731
|
display: flex;
|
|
1749
1732
|
line-height: normal;
|
|
1750
1733
|
}`);
|
|
@@ -1760,8 +1743,9 @@ function Columns(props) {
|
|
|
1760
1743
|
return cols()[index]?.width || 100 / cols().length;
|
|
1761
1744
|
}
|
|
1762
1745
|
function getColumnCssWidth(index) {
|
|
1763
|
-
const
|
|
1764
|
-
|
|
1746
|
+
const width = getWidth(index);
|
|
1747
|
+
const subtractWidth = gutterSize() * (cols().length - 1) * (width / 100);
|
|
1748
|
+
return `calc(${width}% - ${subtractWidth}px)`;
|
|
1765
1749
|
}
|
|
1766
1750
|
function getTabletStyle({
|
|
1767
1751
|
stackedStyle,
|
|
@@ -1863,7 +1847,7 @@ function Columns(props) {
|
|
|
1863
1847
|
const _el$ = _tmpl$3();
|
|
1864
1848
|
spread(_el$, mergeProps({
|
|
1865
1849
|
get ["class"]() {
|
|
1866
|
-
return getColumnsClass(props.builderBlock?.id) + " div-
|
|
1850
|
+
return getColumnsClass(props.builderBlock?.id) + " div-5b8fb3ac";
|
|
1867
1851
|
},
|
|
1868
1852
|
get style() {
|
|
1869
1853
|
return columnsCssVars();
|
|
@@ -1876,6 +1860,9 @@ function Columns(props) {
|
|
|
1876
1860
|
id: "builderio-columns",
|
|
1877
1861
|
get styles() {
|
|
1878
1862
|
return columnsStyles();
|
|
1863
|
+
},
|
|
1864
|
+
get nonce() {
|
|
1865
|
+
return props.builderContext.nonce;
|
|
1879
1866
|
}
|
|
1880
1867
|
});
|
|
1881
1868
|
}
|
|
@@ -2678,9 +2665,6 @@ var componentInfo2 = {
|
|
|
2678
2665
|
static: true,
|
|
2679
2666
|
noWrap: true,
|
|
2680
2667
|
shouldReceiveBuilderProps: {
|
|
2681
|
-
builderBlock: false,
|
|
2682
|
-
builderContext: false,
|
|
2683
|
-
builderComponents: false,
|
|
2684
2668
|
builderLinkComponent: true
|
|
2685
2669
|
}
|
|
2686
2670
|
};
|
|
@@ -2913,12 +2897,6 @@ var componentInfo3 = {
|
|
|
2913
2897
|
|
|
2914
2898
|
// src/blocks/fragment/component-info.ts
|
|
2915
2899
|
var componentInfo4 = {
|
|
2916
|
-
shouldReceiveBuilderProps: {
|
|
2917
|
-
builderBlock: false,
|
|
2918
|
-
builderContext: false,
|
|
2919
|
-
builderComponents: false,
|
|
2920
|
-
builderLinkComponent: false
|
|
2921
|
-
},
|
|
2922
2900
|
name: "Fragment",
|
|
2923
2901
|
static: true,
|
|
2924
2902
|
hidden: true,
|
|
@@ -3052,21 +3030,12 @@ var componentInfo5 = {
|
|
|
3052
3030
|
defaultValue: 0.7041
|
|
3053
3031
|
}],
|
|
3054
3032
|
shouldReceiveBuilderProps: {
|
|
3055
|
-
builderBlock: true
|
|
3056
|
-
builderContext: false,
|
|
3057
|
-
builderComponents: false,
|
|
3058
|
-
builderLinkComponent: false
|
|
3033
|
+
builderBlock: true
|
|
3059
3034
|
}
|
|
3060
3035
|
};
|
|
3061
3036
|
|
|
3062
3037
|
// src/blocks/section/component-info.ts
|
|
3063
3038
|
var componentInfo6 = {
|
|
3064
|
-
shouldReceiveBuilderProps: {
|
|
3065
|
-
builderBlock: false,
|
|
3066
|
-
builderContext: false,
|
|
3067
|
-
builderComponents: false,
|
|
3068
|
-
builderLinkComponent: false
|
|
3069
|
-
},
|
|
3070
3039
|
name: "Core:Section",
|
|
3071
3040
|
static: true,
|
|
3072
3041
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3122,10 +3091,7 @@ var componentInfo7 = {
|
|
|
3122
3091
|
defaultValue: "children"
|
|
3123
3092
|
}],
|
|
3124
3093
|
shouldReceiveBuilderProps: {
|
|
3125
|
-
|
|
3126
|
-
builderContext: true,
|
|
3127
|
-
builderComponents: false,
|
|
3128
|
-
builderLinkComponent: false
|
|
3094
|
+
builderContext: true
|
|
3129
3095
|
}
|
|
3130
3096
|
};
|
|
3131
3097
|
var _tmpl$8 = /* @__PURE__ */ template(`<div>`);
|
|
@@ -3444,10 +3410,7 @@ delegateEvents(["click"]);
|
|
|
3444
3410
|
// src/blocks/text/component-info.ts
|
|
3445
3411
|
var componentInfo10 = {
|
|
3446
3412
|
shouldReceiveBuilderProps: {
|
|
3447
|
-
builderBlock: TARGET === "reactNative" ? true : false
|
|
3448
|
-
builderContext: false,
|
|
3449
|
-
builderComponents: false,
|
|
3450
|
-
builderLinkComponent: false
|
|
3413
|
+
builderBlock: TARGET === "reactNative" ? true : false
|
|
3451
3414
|
},
|
|
3452
3415
|
name: "Text",
|
|
3453
3416
|
static: true,
|
|
@@ -3480,12 +3443,6 @@ var text_default = Text;
|
|
|
3480
3443
|
|
|
3481
3444
|
// src/blocks/custom-code/component-info.ts
|
|
3482
3445
|
var componentInfo11 = {
|
|
3483
|
-
shouldReceiveBuilderProps: {
|
|
3484
|
-
builderBlock: false,
|
|
3485
|
-
builderContext: false,
|
|
3486
|
-
builderComponents: false,
|
|
3487
|
-
builderLinkComponent: false
|
|
3488
|
-
},
|
|
3489
3446
|
name: "Custom Code",
|
|
3490
3447
|
static: true,
|
|
3491
3448
|
requiredPermissions: ["editCode"],
|
|
@@ -3561,12 +3518,6 @@ var custom_code_default = CustomCode;
|
|
|
3561
3518
|
|
|
3562
3519
|
// src/blocks/embed/component-info.ts
|
|
3563
3520
|
var componentInfo12 = {
|
|
3564
|
-
shouldReceiveBuilderProps: {
|
|
3565
|
-
builderBlock: false,
|
|
3566
|
-
builderContext: false,
|
|
3567
|
-
builderComponents: false,
|
|
3568
|
-
builderLinkComponent: false
|
|
3569
|
-
},
|
|
3570
3521
|
name: "Embed",
|
|
3571
3522
|
static: true,
|
|
3572
3523
|
inputs: [{
|
|
@@ -4191,12 +4142,6 @@ var form_default = FormComponent;
|
|
|
4191
4142
|
|
|
4192
4143
|
// src/blocks/form/input/component-info.ts
|
|
4193
4144
|
var componentInfo14 = {
|
|
4194
|
-
shouldReceiveBuilderProps: {
|
|
4195
|
-
builderBlock: false,
|
|
4196
|
-
builderContext: false,
|
|
4197
|
-
builderComponents: false,
|
|
4198
|
-
builderLinkComponent: false
|
|
4199
|
-
},
|
|
4200
4145
|
name: "Form:Input",
|
|
4201
4146
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4202
4147
|
inputs: [
|
|
@@ -4282,12 +4227,6 @@ var input_default = FormInputComponent;
|
|
|
4282
4227
|
|
|
4283
4228
|
// src/blocks/form/select/component-info.ts
|
|
4284
4229
|
var componentInfo15 = {
|
|
4285
|
-
shouldReceiveBuilderProps: {
|
|
4286
|
-
builderBlock: false,
|
|
4287
|
-
builderContext: false,
|
|
4288
|
-
builderComponents: false,
|
|
4289
|
-
builderLinkComponent: false
|
|
4290
|
-
},
|
|
4291
4230
|
name: "Form:Select",
|
|
4292
4231
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4293
4232
|
defaultStyles: {
|
|
@@ -4374,12 +4313,6 @@ var select_default = SelectComponent;
|
|
|
4374
4313
|
|
|
4375
4314
|
// src/blocks/form/submit-button/component-info.ts
|
|
4376
4315
|
var componentInfo16 = {
|
|
4377
|
-
shouldReceiveBuilderProps: {
|
|
4378
|
-
builderBlock: false,
|
|
4379
|
-
builderContext: false,
|
|
4380
|
-
builderComponents: false,
|
|
4381
|
-
builderLinkComponent: false
|
|
4382
|
-
},
|
|
4383
4316
|
name: "Form:SubmitButton",
|
|
4384
4317
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4385
4318
|
defaultStyles: {
|
|
@@ -4418,12 +4351,6 @@ var submit_button_default = SubmitButton;
|
|
|
4418
4351
|
|
|
4419
4352
|
// src/blocks/form/textarea/component-info.ts
|
|
4420
4353
|
var componentInfo17 = {
|
|
4421
|
-
shouldReceiveBuilderProps: {
|
|
4422
|
-
builderBlock: false,
|
|
4423
|
-
builderContext: false,
|
|
4424
|
-
builderComponents: false,
|
|
4425
|
-
builderLinkComponent: false
|
|
4426
|
-
},
|
|
4427
4354
|
name: "Form:TextArea",
|
|
4428
4355
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4429
4356
|
inputs: [{
|
|
@@ -4488,12 +4415,6 @@ var textarea_default = Textarea;
|
|
|
4488
4415
|
|
|
4489
4416
|
// src/blocks/img/component-info.ts
|
|
4490
4417
|
var componentInfo18 = {
|
|
4491
|
-
shouldReceiveBuilderProps: {
|
|
4492
|
-
builderBlock: false,
|
|
4493
|
-
builderContext: false,
|
|
4494
|
-
builderComponents: false,
|
|
4495
|
-
builderLinkComponent: false
|
|
4496
|
-
},
|
|
4497
4418
|
// friendlyName?
|
|
4498
4419
|
name: "Raw:Img",
|
|
4499
4420
|
hideFromInsertMenu: true,
|
|
@@ -4617,10 +4538,7 @@ var componentInfo19 = {
|
|
|
4617
4538
|
advanced: true
|
|
4618
4539
|
}],
|
|
4619
4540
|
shouldReceiveBuilderProps: {
|
|
4620
|
-
builderBlock: true
|
|
4621
|
-
builderContext: false,
|
|
4622
|
-
builderComponents: false,
|
|
4623
|
-
builderLinkComponent: false
|
|
4541
|
+
builderBlock: true
|
|
4624
4542
|
}
|
|
4625
4543
|
};
|
|
4626
4544
|
var _tmpl$19 = /* @__PURE__ */ template(`<source type=video/mp4>`);
|
|
@@ -4876,13 +4794,15 @@ function InlinedScript(props) {
|
|
|
4876
4794
|
return (() => {
|
|
4877
4795
|
const _el$ = _tmpl$20();
|
|
4878
4796
|
effect((_p$) => {
|
|
4879
|
-
const _v$ = props.scriptStr, _v$2 = props.id;
|
|
4797
|
+
const _v$ = props.scriptStr, _v$2 = props.id, _v$3 = props.nonce || "";
|
|
4880
4798
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
4881
4799
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
4800
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
4882
4801
|
return _p$;
|
|
4883
4802
|
}, {
|
|
4884
4803
|
_v$: void 0,
|
|
4885
|
-
_v$2: void 0
|
|
4804
|
+
_v$2: void 0,
|
|
4805
|
+
_v$3: void 0
|
|
4886
4806
|
});
|
|
4887
4807
|
return _el$;
|
|
4888
4808
|
})();
|
|
@@ -5383,7 +5303,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5383
5303
|
}
|
|
5384
5304
|
|
|
5385
5305
|
// src/constants/sdk-version.ts
|
|
5386
|
-
var SDK_VERSION = "
|
|
5306
|
+
var SDK_VERSION = "2.0.1";
|
|
5387
5307
|
|
|
5388
5308
|
// src/functions/register.ts
|
|
5389
5309
|
var registry = {};
|
|
@@ -5964,6 +5884,9 @@ ${getDefaultStyles(props.isNestedRender)}
|
|
|
5964
5884
|
id: "builderio-content",
|
|
5965
5885
|
get styles() {
|
|
5966
5886
|
return injectedStyles();
|
|
5887
|
+
},
|
|
5888
|
+
get nonce() {
|
|
5889
|
+
return props.nonce;
|
|
5967
5890
|
}
|
|
5968
5891
|
});
|
|
5969
5892
|
}
|
|
@@ -6048,7 +5971,8 @@ function ContentComponent(props) {
|
|
|
6048
5971
|
}), {}),
|
|
6049
5972
|
inheritedStyles: {},
|
|
6050
5973
|
BlocksWrapper: props.blocksWrapper || "div",
|
|
6051
|
-
BlocksWrapperProps: props.blocksWrapperProps || {}
|
|
5974
|
+
BlocksWrapperProps: props.blocksWrapperProps || {},
|
|
5975
|
+
nonce: props.nonce || ""
|
|
6052
5976
|
});
|
|
6053
5977
|
function contentSetState(newRootState) {
|
|
6054
5978
|
setBuilderContextSignal((PREVIOUS_VALUE) => ({
|
|
@@ -6064,6 +5988,9 @@ function ContentComponent(props) {
|
|
|
6064
5988
|
},
|
|
6065
5989
|
get children() {
|
|
6066
5990
|
return createComponent(enable_editor_default, mergeProps({
|
|
5991
|
+
get nonce() {
|
|
5992
|
+
return props.nonce;
|
|
5993
|
+
},
|
|
6067
5994
|
get content() {
|
|
6068
5995
|
return props.content;
|
|
6069
5996
|
},
|
|
@@ -6116,6 +6043,9 @@ function ContentComponent(props) {
|
|
|
6116
6043
|
id: "builderio-variant-visibility",
|
|
6117
6044
|
get scriptStr() {
|
|
6118
6045
|
return scriptStr();
|
|
6046
|
+
},
|
|
6047
|
+
get nonce() {
|
|
6048
|
+
return props.nonce || "";
|
|
6119
6049
|
}
|
|
6120
6050
|
});
|
|
6121
6051
|
}
|
|
@@ -6123,6 +6053,9 @@ function ContentComponent(props) {
|
|
|
6123
6053
|
when: TARGET !== "reactNative",
|
|
6124
6054
|
get children() {
|
|
6125
6055
|
return createComponent(styles_default, {
|
|
6056
|
+
get nonce() {
|
|
6057
|
+
return props.nonce || "";
|
|
6058
|
+
},
|
|
6126
6059
|
get isNestedRender() {
|
|
6127
6060
|
return props.isNestedRender;
|
|
6128
6061
|
},
|
|
@@ -6194,6 +6127,9 @@ function ContentVariants(props) {
|
|
|
6194
6127
|
id: "builderio-init-variants-fns",
|
|
6195
6128
|
get scriptStr() {
|
|
6196
6129
|
return getInitVariantsFnsScriptString();
|
|
6130
|
+
},
|
|
6131
|
+
get nonce() {
|
|
6132
|
+
return props.nonce || "";
|
|
6197
6133
|
}
|
|
6198
6134
|
});
|
|
6199
6135
|
}
|
|
@@ -6206,11 +6142,17 @@ function ContentVariants(props) {
|
|
|
6206
6142
|
id: "builderio-variants",
|
|
6207
6143
|
get styles() {
|
|
6208
6144
|
return hideVariantsStyleString();
|
|
6145
|
+
},
|
|
6146
|
+
get nonce() {
|
|
6147
|
+
return props.nonce || "";
|
|
6209
6148
|
}
|
|
6210
6149
|
}), createComponent(inlined_script_default, {
|
|
6211
6150
|
id: "builderio-variants-visibility",
|
|
6212
6151
|
get scriptStr() {
|
|
6213
6152
|
return updateCookieAndStylesScriptStr();
|
|
6153
|
+
},
|
|
6154
|
+
get nonce() {
|
|
6155
|
+
return props.nonce || "";
|
|
6214
6156
|
}
|
|
6215
6157
|
}), createComponent(For, {
|
|
6216
6158
|
get each() {
|
|
@@ -6225,6 +6167,9 @@ function ContentVariants(props) {
|
|
|
6225
6167
|
get key() {
|
|
6226
6168
|
return variant.testVariationId;
|
|
6227
6169
|
},
|
|
6170
|
+
get nonce() {
|
|
6171
|
+
return props.nonce;
|
|
6172
|
+
},
|
|
6228
6173
|
content: variant,
|
|
6229
6174
|
showContent: false,
|
|
6230
6175
|
get model() {
|
|
@@ -6280,6 +6225,9 @@ function ContentVariants(props) {
|
|
|
6280
6225
|
})];
|
|
6281
6226
|
}
|
|
6282
6227
|
}), createComponent(content_default, mergeProps({
|
|
6228
|
+
get nonce() {
|
|
6229
|
+
return props.nonce;
|
|
6230
|
+
},
|
|
6283
6231
|
get isNestedRender() {
|
|
6284
6232
|
return props.isNestedRender;
|
|
6285
6233
|
}
|
|
@@ -6404,6 +6352,9 @@ function Symbol(props) {
|
|
|
6404
6352
|
}
|
|
6405
6353
|
}, {}, () => props.attributes, {}), false, true);
|
|
6406
6354
|
insert(_el$, createComponent(content_variants_default, {
|
|
6355
|
+
get nonce() {
|
|
6356
|
+
return props.builderContext.nonce;
|
|
6357
|
+
},
|
|
6407
6358
|
isNestedRender: true,
|
|
6408
6359
|
get apiVersion() {
|
|
6409
6360
|
return props.builderContext.apiVersion;
|