@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/dev.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
|
|
|
@@ -954,56 +955,33 @@ var getRepeatItemData = ({
|
|
|
954
955
|
}));
|
|
955
956
|
return repeatArray;
|
|
956
957
|
};
|
|
957
|
-
var applyDefaults = (shouldReceiveBuilderProps) => {
|
|
958
|
-
return {
|
|
959
|
-
// once we bump to a major version, toggle this to `false`.
|
|
960
|
-
builderBlock: true,
|
|
961
|
-
// once we bump to a major version, toggle this to `false`.
|
|
962
|
-
builderContext: true,
|
|
963
|
-
builderComponents: false,
|
|
964
|
-
builderLinkComponent: false,
|
|
965
|
-
...shouldReceiveBuilderProps
|
|
966
|
-
};
|
|
967
|
-
};
|
|
968
958
|
var provideLinkComponent = (block, linkComponent) => {
|
|
969
|
-
if (
|
|
970
|
-
return {
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
return {
|
|
975
|
-
builderLinkComponent: linkComponent
|
|
976
|
-
};
|
|
959
|
+
if (block?.shouldReceiveBuilderProps?.builderLinkComponent)
|
|
960
|
+
return {
|
|
961
|
+
builderLinkComponent: linkComponent
|
|
962
|
+
};
|
|
963
|
+
return {};
|
|
977
964
|
};
|
|
978
965
|
var provideRegisteredComponents = (block, registeredComponents) => {
|
|
979
|
-
if (
|
|
980
|
-
return {
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
return {
|
|
985
|
-
builderComponents: registeredComponents
|
|
986
|
-
};
|
|
966
|
+
if (block?.shouldReceiveBuilderProps?.builderComponents)
|
|
967
|
+
return {
|
|
968
|
+
builderComponents: registeredComponents
|
|
969
|
+
};
|
|
970
|
+
return {};
|
|
987
971
|
};
|
|
988
972
|
var provideBuilderBlock = (block, builderBlock) => {
|
|
989
|
-
if (
|
|
990
|
-
return {
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
return {
|
|
995
|
-
builderBlock
|
|
996
|
-
};
|
|
973
|
+
if (block?.shouldReceiveBuilderProps?.builderBlock)
|
|
974
|
+
return {
|
|
975
|
+
builderBlock
|
|
976
|
+
};
|
|
977
|
+
return {};
|
|
997
978
|
};
|
|
998
979
|
var provideBuilderContext = (block, context) => {
|
|
999
|
-
if (
|
|
1000
|
-
return {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
return {
|
|
1005
|
-
builderContext: context
|
|
1006
|
-
};
|
|
980
|
+
if (block?.shouldReceiveBuilderProps?.builderContext)
|
|
981
|
+
return {
|
|
982
|
+
builderContext: context
|
|
983
|
+
};
|
|
984
|
+
return {};
|
|
1007
985
|
};
|
|
1008
986
|
|
|
1009
987
|
// src/constants/device-sizes.ts
|
|
@@ -1059,13 +1037,15 @@ function InlinedStyles(props) {
|
|
|
1059
1037
|
return (() => {
|
|
1060
1038
|
const _el$ = _tmpl$();
|
|
1061
1039
|
effect((_p$) => {
|
|
1062
|
-
const _v$ = props.styles, _v$2 = props.id;
|
|
1040
|
+
const _v$ = props.styles, _v$2 = props.id, _v$3 = props.nonce;
|
|
1063
1041
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
1064
1042
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
1043
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
1065
1044
|
return _p$;
|
|
1066
1045
|
}, {
|
|
1067
1046
|
_v$: void 0,
|
|
1068
|
-
_v$2: void 0
|
|
1047
|
+
_v$2: void 0,
|
|
1048
|
+
_v$3: void 0
|
|
1069
1049
|
});
|
|
1070
1050
|
return _el$;
|
|
1071
1051
|
})();
|
|
@@ -1148,6 +1128,9 @@ function BlockStyles(props) {
|
|
|
1148
1128
|
id: "builderio-block",
|
|
1149
1129
|
get styles() {
|
|
1150
1130
|
return css();
|
|
1131
|
+
},
|
|
1132
|
+
get nonce() {
|
|
1133
|
+
return props.context.nonce;
|
|
1151
1134
|
}
|
|
1152
1135
|
});
|
|
1153
1136
|
}
|
|
@@ -1750,7 +1733,7 @@ var getColumnsClass = (id) => {
|
|
|
1750
1733
|
|
|
1751
1734
|
// src/blocks/columns/columns.tsx
|
|
1752
1735
|
var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
|
|
1753
|
-
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-
|
|
1736
|
+
var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-5b8fb3ac {
|
|
1754
1737
|
display: flex;
|
|
1755
1738
|
line-height: normal;
|
|
1756
1739
|
}`);
|
|
@@ -1766,8 +1749,9 @@ function Columns(props) {
|
|
|
1766
1749
|
return cols()[index]?.width || 100 / cols().length;
|
|
1767
1750
|
}
|
|
1768
1751
|
function getColumnCssWidth(index) {
|
|
1769
|
-
const
|
|
1770
|
-
|
|
1752
|
+
const width = getWidth(index);
|
|
1753
|
+
const subtractWidth = gutterSize() * (cols().length - 1) * (width / 100);
|
|
1754
|
+
return `calc(${width}% - ${subtractWidth}px)`;
|
|
1771
1755
|
}
|
|
1772
1756
|
function getTabletStyle({
|
|
1773
1757
|
stackedStyle,
|
|
@@ -1869,7 +1853,7 @@ function Columns(props) {
|
|
|
1869
1853
|
const _el$ = _tmpl$3();
|
|
1870
1854
|
spread(_el$, mergeProps({
|
|
1871
1855
|
get ["class"]() {
|
|
1872
|
-
return getColumnsClass(props.builderBlock?.id) + " div-
|
|
1856
|
+
return getColumnsClass(props.builderBlock?.id) + " div-5b8fb3ac";
|
|
1873
1857
|
},
|
|
1874
1858
|
get style() {
|
|
1875
1859
|
return columnsCssVars();
|
|
@@ -1882,6 +1866,9 @@ function Columns(props) {
|
|
|
1882
1866
|
id: "builderio-columns",
|
|
1883
1867
|
get styles() {
|
|
1884
1868
|
return columnsStyles();
|
|
1869
|
+
},
|
|
1870
|
+
get nonce() {
|
|
1871
|
+
return props.builderContext.nonce;
|
|
1885
1872
|
}
|
|
1886
1873
|
});
|
|
1887
1874
|
}
|
|
@@ -2685,9 +2672,6 @@ var componentInfo2 = {
|
|
|
2685
2672
|
static: true,
|
|
2686
2673
|
noWrap: true,
|
|
2687
2674
|
shouldReceiveBuilderProps: {
|
|
2688
|
-
builderBlock: false,
|
|
2689
|
-
builderContext: false,
|
|
2690
|
-
builderComponents: false,
|
|
2691
2675
|
builderLinkComponent: true
|
|
2692
2676
|
}
|
|
2693
2677
|
};
|
|
@@ -2920,12 +2904,6 @@ var componentInfo3 = {
|
|
|
2920
2904
|
|
|
2921
2905
|
// src/blocks/fragment/component-info.ts
|
|
2922
2906
|
var componentInfo4 = {
|
|
2923
|
-
shouldReceiveBuilderProps: {
|
|
2924
|
-
builderBlock: false,
|
|
2925
|
-
builderContext: false,
|
|
2926
|
-
builderComponents: false,
|
|
2927
|
-
builderLinkComponent: false
|
|
2928
|
-
},
|
|
2929
2907
|
name: "Fragment",
|
|
2930
2908
|
static: true,
|
|
2931
2909
|
hidden: true,
|
|
@@ -3060,21 +3038,12 @@ var componentInfo5 = {
|
|
|
3060
3038
|
defaultValue: 0.7041
|
|
3061
3039
|
}],
|
|
3062
3040
|
shouldReceiveBuilderProps: {
|
|
3063
|
-
builderBlock: true
|
|
3064
|
-
builderContext: false,
|
|
3065
|
-
builderComponents: false,
|
|
3066
|
-
builderLinkComponent: false
|
|
3041
|
+
builderBlock: true
|
|
3067
3042
|
}
|
|
3068
3043
|
};
|
|
3069
3044
|
|
|
3070
3045
|
// src/blocks/section/component-info.ts
|
|
3071
3046
|
var componentInfo6 = {
|
|
3072
|
-
shouldReceiveBuilderProps: {
|
|
3073
|
-
builderBlock: false,
|
|
3074
|
-
builderContext: false,
|
|
3075
|
-
builderComponents: false,
|
|
3076
|
-
builderLinkComponent: false
|
|
3077
|
-
},
|
|
3078
3047
|
name: "Core:Section",
|
|
3079
3048
|
static: true,
|
|
3080
3049
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3130,10 +3099,7 @@ var componentInfo7 = {
|
|
|
3130
3099
|
defaultValue: "children"
|
|
3131
3100
|
}],
|
|
3132
3101
|
shouldReceiveBuilderProps: {
|
|
3133
|
-
|
|
3134
|
-
builderContext: true,
|
|
3135
|
-
builderComponents: false,
|
|
3136
|
-
builderLinkComponent: false
|
|
3102
|
+
builderContext: true
|
|
3137
3103
|
}
|
|
3138
3104
|
};
|
|
3139
3105
|
var _tmpl$8 = /* @__PURE__ */ template(`<div>`);
|
|
@@ -3452,10 +3418,7 @@ delegateEvents(["click"]);
|
|
|
3452
3418
|
// src/blocks/text/component-info.ts
|
|
3453
3419
|
var componentInfo10 = {
|
|
3454
3420
|
shouldReceiveBuilderProps: {
|
|
3455
|
-
builderBlock: TARGET === "reactNative" ? true : false
|
|
3456
|
-
builderContext: false,
|
|
3457
|
-
builderComponents: false,
|
|
3458
|
-
builderLinkComponent: false
|
|
3421
|
+
builderBlock: TARGET === "reactNative" ? true : false
|
|
3459
3422
|
},
|
|
3460
3423
|
name: "Text",
|
|
3461
3424
|
static: true,
|
|
@@ -3488,12 +3451,6 @@ var text_default = Text;
|
|
|
3488
3451
|
|
|
3489
3452
|
// src/blocks/custom-code/component-info.ts
|
|
3490
3453
|
var componentInfo11 = {
|
|
3491
|
-
shouldReceiveBuilderProps: {
|
|
3492
|
-
builderBlock: false,
|
|
3493
|
-
builderContext: false,
|
|
3494
|
-
builderComponents: false,
|
|
3495
|
-
builderLinkComponent: false
|
|
3496
|
-
},
|
|
3497
3454
|
name: "Custom Code",
|
|
3498
3455
|
static: true,
|
|
3499
3456
|
requiredPermissions: ["editCode"],
|
|
@@ -3570,12 +3527,6 @@ var custom_code_default = CustomCode;
|
|
|
3570
3527
|
|
|
3571
3528
|
// src/blocks/embed/component-info.ts
|
|
3572
3529
|
var componentInfo12 = {
|
|
3573
|
-
shouldReceiveBuilderProps: {
|
|
3574
|
-
builderBlock: false,
|
|
3575
|
-
builderContext: false,
|
|
3576
|
-
builderComponents: false,
|
|
3577
|
-
builderLinkComponent: false
|
|
3578
|
-
},
|
|
3579
3530
|
name: "Embed",
|
|
3580
3531
|
static: true,
|
|
3581
3532
|
inputs: [{
|
|
@@ -4201,12 +4152,6 @@ var form_default = FormComponent;
|
|
|
4201
4152
|
|
|
4202
4153
|
// src/blocks/form/input/component-info.ts
|
|
4203
4154
|
var componentInfo14 = {
|
|
4204
|
-
shouldReceiveBuilderProps: {
|
|
4205
|
-
builderBlock: false,
|
|
4206
|
-
builderContext: false,
|
|
4207
|
-
builderComponents: false,
|
|
4208
|
-
builderLinkComponent: false
|
|
4209
|
-
},
|
|
4210
4155
|
name: "Form:Input",
|
|
4211
4156
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4212
4157
|
inputs: [
|
|
@@ -4292,12 +4237,6 @@ var input_default = FormInputComponent;
|
|
|
4292
4237
|
|
|
4293
4238
|
// src/blocks/form/select/component-info.ts
|
|
4294
4239
|
var componentInfo15 = {
|
|
4295
|
-
shouldReceiveBuilderProps: {
|
|
4296
|
-
builderBlock: false,
|
|
4297
|
-
builderContext: false,
|
|
4298
|
-
builderComponents: false,
|
|
4299
|
-
builderLinkComponent: false
|
|
4300
|
-
},
|
|
4301
4240
|
name: "Form:Select",
|
|
4302
4241
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4303
4242
|
defaultStyles: {
|
|
@@ -4384,12 +4323,6 @@ var select_default = SelectComponent;
|
|
|
4384
4323
|
|
|
4385
4324
|
// src/blocks/form/submit-button/component-info.ts
|
|
4386
4325
|
var componentInfo16 = {
|
|
4387
|
-
shouldReceiveBuilderProps: {
|
|
4388
|
-
builderBlock: false,
|
|
4389
|
-
builderContext: false,
|
|
4390
|
-
builderComponents: false,
|
|
4391
|
-
builderLinkComponent: false
|
|
4392
|
-
},
|
|
4393
4326
|
name: "Form:SubmitButton",
|
|
4394
4327
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4395
4328
|
defaultStyles: {
|
|
@@ -4428,12 +4361,6 @@ var submit_button_default = SubmitButton;
|
|
|
4428
4361
|
|
|
4429
4362
|
// src/blocks/form/textarea/component-info.ts
|
|
4430
4363
|
var componentInfo17 = {
|
|
4431
|
-
shouldReceiveBuilderProps: {
|
|
4432
|
-
builderBlock: false,
|
|
4433
|
-
builderContext: false,
|
|
4434
|
-
builderComponents: false,
|
|
4435
|
-
builderLinkComponent: false
|
|
4436
|
-
},
|
|
4437
4364
|
name: "Form:TextArea",
|
|
4438
4365
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4439
4366
|
inputs: [{
|
|
@@ -4498,12 +4425,6 @@ var textarea_default = Textarea;
|
|
|
4498
4425
|
|
|
4499
4426
|
// src/blocks/img/component-info.ts
|
|
4500
4427
|
var componentInfo18 = {
|
|
4501
|
-
shouldReceiveBuilderProps: {
|
|
4502
|
-
builderBlock: false,
|
|
4503
|
-
builderContext: false,
|
|
4504
|
-
builderComponents: false,
|
|
4505
|
-
builderLinkComponent: false
|
|
4506
|
-
},
|
|
4507
4428
|
// friendlyName?
|
|
4508
4429
|
name: "Raw:Img",
|
|
4509
4430
|
hideFromInsertMenu: true,
|
|
@@ -4627,10 +4548,7 @@ var componentInfo19 = {
|
|
|
4627
4548
|
advanced: true
|
|
4628
4549
|
}],
|
|
4629
4550
|
shouldReceiveBuilderProps: {
|
|
4630
|
-
builderBlock: true
|
|
4631
|
-
builderContext: false,
|
|
4632
|
-
builderComponents: false,
|
|
4633
|
-
builderLinkComponent: false
|
|
4551
|
+
builderBlock: true
|
|
4634
4552
|
}
|
|
4635
4553
|
};
|
|
4636
4554
|
var _tmpl$19 = /* @__PURE__ */ template(`<source type=video/mp4>`);
|
|
@@ -4886,13 +4804,15 @@ function InlinedScript(props) {
|
|
|
4886
4804
|
return (() => {
|
|
4887
4805
|
const _el$ = _tmpl$20();
|
|
4888
4806
|
effect((_p$) => {
|
|
4889
|
-
const _v$ = props.scriptStr, _v$2 = props.id;
|
|
4807
|
+
const _v$ = props.scriptStr, _v$2 = props.id, _v$3 = props.nonce || "";
|
|
4890
4808
|
_v$ !== _p$._v$ && (_el$.innerHTML = _p$._v$ = _v$);
|
|
4891
4809
|
_v$2 !== _p$._v$2 && setAttribute(_el$, "data-id", _p$._v$2 = _v$2);
|
|
4810
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "nonce", _p$._v$3 = _v$3);
|
|
4892
4811
|
return _p$;
|
|
4893
4812
|
}, {
|
|
4894
4813
|
_v$: void 0,
|
|
4895
|
-
_v$2: void 0
|
|
4814
|
+
_v$2: void 0,
|
|
4815
|
+
_v$3: void 0
|
|
4896
4816
|
});
|
|
4897
4817
|
return _el$;
|
|
4898
4818
|
})();
|
|
@@ -5398,7 +5318,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5398
5318
|
}
|
|
5399
5319
|
|
|
5400
5320
|
// src/constants/sdk-version.ts
|
|
5401
|
-
var SDK_VERSION = "
|
|
5321
|
+
var SDK_VERSION = "2.0.1";
|
|
5402
5322
|
|
|
5403
5323
|
// src/functions/register.ts
|
|
5404
5324
|
var registry = {};
|
|
@@ -5981,6 +5901,9 @@ ${getDefaultStyles(props.isNestedRender)}
|
|
|
5981
5901
|
id: "builderio-content",
|
|
5982
5902
|
get styles() {
|
|
5983
5903
|
return injectedStyles();
|
|
5904
|
+
},
|
|
5905
|
+
get nonce() {
|
|
5906
|
+
return props.nonce;
|
|
5984
5907
|
}
|
|
5985
5908
|
});
|
|
5986
5909
|
}
|
|
@@ -6065,7 +5988,8 @@ function ContentComponent(props) {
|
|
|
6065
5988
|
}), {}),
|
|
6066
5989
|
inheritedStyles: {},
|
|
6067
5990
|
BlocksWrapper: props.blocksWrapper || "div",
|
|
6068
|
-
BlocksWrapperProps: props.blocksWrapperProps || {}
|
|
5991
|
+
BlocksWrapperProps: props.blocksWrapperProps || {},
|
|
5992
|
+
nonce: props.nonce || ""
|
|
6069
5993
|
});
|
|
6070
5994
|
function contentSetState(newRootState) {
|
|
6071
5995
|
setBuilderContextSignal((PREVIOUS_VALUE) => ({
|
|
@@ -6081,6 +6005,9 @@ function ContentComponent(props) {
|
|
|
6081
6005
|
},
|
|
6082
6006
|
get children() {
|
|
6083
6007
|
return createComponent(enable_editor_default, mergeProps({
|
|
6008
|
+
get nonce() {
|
|
6009
|
+
return props.nonce;
|
|
6010
|
+
},
|
|
6084
6011
|
get content() {
|
|
6085
6012
|
return props.content;
|
|
6086
6013
|
},
|
|
@@ -6133,6 +6060,9 @@ function ContentComponent(props) {
|
|
|
6133
6060
|
id: "builderio-variant-visibility",
|
|
6134
6061
|
get scriptStr() {
|
|
6135
6062
|
return scriptStr();
|
|
6063
|
+
},
|
|
6064
|
+
get nonce() {
|
|
6065
|
+
return props.nonce || "";
|
|
6136
6066
|
}
|
|
6137
6067
|
});
|
|
6138
6068
|
}
|
|
@@ -6140,6 +6070,9 @@ function ContentComponent(props) {
|
|
|
6140
6070
|
when: TARGET !== "reactNative",
|
|
6141
6071
|
get children() {
|
|
6142
6072
|
return createComponent(styles_default, {
|
|
6073
|
+
get nonce() {
|
|
6074
|
+
return props.nonce || "";
|
|
6075
|
+
},
|
|
6143
6076
|
get isNestedRender() {
|
|
6144
6077
|
return props.isNestedRender;
|
|
6145
6078
|
},
|
|
@@ -6211,6 +6144,9 @@ function ContentVariants(props) {
|
|
|
6211
6144
|
id: "builderio-init-variants-fns",
|
|
6212
6145
|
get scriptStr() {
|
|
6213
6146
|
return getInitVariantsFnsScriptString();
|
|
6147
|
+
},
|
|
6148
|
+
get nonce() {
|
|
6149
|
+
return props.nonce || "";
|
|
6214
6150
|
}
|
|
6215
6151
|
});
|
|
6216
6152
|
}
|
|
@@ -6223,11 +6159,17 @@ function ContentVariants(props) {
|
|
|
6223
6159
|
id: "builderio-variants",
|
|
6224
6160
|
get styles() {
|
|
6225
6161
|
return hideVariantsStyleString();
|
|
6162
|
+
},
|
|
6163
|
+
get nonce() {
|
|
6164
|
+
return props.nonce || "";
|
|
6226
6165
|
}
|
|
6227
6166
|
}), createComponent(inlined_script_default, {
|
|
6228
6167
|
id: "builderio-variants-visibility",
|
|
6229
6168
|
get scriptStr() {
|
|
6230
6169
|
return updateCookieAndStylesScriptStr();
|
|
6170
|
+
},
|
|
6171
|
+
get nonce() {
|
|
6172
|
+
return props.nonce || "";
|
|
6231
6173
|
}
|
|
6232
6174
|
}), createComponent(For, {
|
|
6233
6175
|
get each() {
|
|
@@ -6242,6 +6184,9 @@ function ContentVariants(props) {
|
|
|
6242
6184
|
get key() {
|
|
6243
6185
|
return variant.testVariationId;
|
|
6244
6186
|
},
|
|
6187
|
+
get nonce() {
|
|
6188
|
+
return props.nonce;
|
|
6189
|
+
},
|
|
6245
6190
|
content: variant,
|
|
6246
6191
|
showContent: false,
|
|
6247
6192
|
get model() {
|
|
@@ -6297,6 +6242,9 @@ function ContentVariants(props) {
|
|
|
6297
6242
|
})];
|
|
6298
6243
|
}
|
|
6299
6244
|
}), createComponent(content_default, mergeProps({
|
|
6245
|
+
get nonce() {
|
|
6246
|
+
return props.nonce;
|
|
6247
|
+
},
|
|
6300
6248
|
get isNestedRender() {
|
|
6301
6249
|
return props.isNestedRender;
|
|
6302
6250
|
}
|
|
@@ -6421,6 +6369,9 @@ function Symbol(props) {
|
|
|
6421
6369
|
}
|
|
6422
6370
|
}, {}, () => props.attributes, {}), false, true);
|
|
6423
6371
|
insert(_el$, createComponent(content_variants_default, {
|
|
6372
|
+
get nonce() {
|
|
6373
|
+
return props.builderContext.nonce;
|
|
6374
|
+
},
|
|
6424
6375
|
isNestedRender: true,
|
|
6425
6376
|
get apiVersion() {
|
|
6426
6377
|
return props.builderContext.apiVersion;
|