@bigbinary/neeto-themes-frontend 3.1.14 → 3.1.15
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.
|
@@ -1160,13 +1160,15 @@ var Customize = function Customize(_ref) {
|
|
|
1160
1160
|
themePropertiesSchema: store["themePropertiesSchema"],
|
|
1161
1161
|
entityType: store["entityType"],
|
|
1162
1162
|
isFetchingSchema: store["isFetchingSchema"],
|
|
1163
|
-
helpPopoverProps: store["helpPopoverProps"]
|
|
1163
|
+
helpPopoverProps: store["helpPopoverProps"],
|
|
1164
|
+
enabledFeatures: store["enabledFeatures"]
|
|
1164
1165
|
};
|
|
1165
1166
|
}, shallow.shallow),
|
|
1166
1167
|
themePropertiesSchema = _useConfigStore.themePropertiesSchema,
|
|
1167
1168
|
entityType = _useConfigStore.entityType,
|
|
1168
1169
|
isFetchingSchema = _useConfigStore.isFetchingSchema,
|
|
1169
|
-
helpPopoverProps = _useConfigStore.helpPopoverProps
|
|
1170
|
+
helpPopoverProps = _useConfigStore.helpPopoverProps,
|
|
1171
|
+
enabledFeatures = _useConfigStore.enabledFeatures;
|
|
1170
1172
|
var _useParams = reactRouterDom.useParams(),
|
|
1171
1173
|
themeId = _useParams.themeId;
|
|
1172
1174
|
var _useThemeStore = useThemeUtils.useThemeStore(function (store) {
|
|
@@ -1297,7 +1299,7 @@ var Customize = function Customize(_ref) {
|
|
|
1297
1299
|
}),
|
|
1298
1300
|
key: key
|
|
1299
1301
|
});
|
|
1300
|
-
}), /*#__PURE__*/jsxRuntime.jsx(CustomCSS, {
|
|
1302
|
+
}), enabledFeatures.customCSS && /*#__PURE__*/jsxRuntime.jsx(CustomCSS, {
|
|
1301
1303
|
currentScreen: currentScreen,
|
|
1302
1304
|
onEditCSSClick: onEditCSSClick
|
|
1303
1305
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
@@ -2174,7 +2176,11 @@ var NeetoThemesBuilder = function NeetoThemesBuilder(_ref) {
|
|
|
2174
2176
|
_ref$onApplyGlobalThe = _ref.onApplyGlobalThemeSuccess,
|
|
2175
2177
|
onApplyGlobalThemeSuccess = _ref$onApplyGlobalThe === void 0 ? neetoCist.noop : _ref$onApplyGlobalThe,
|
|
2176
2178
|
_ref$helpPopoverProps = _ref.helpPopoverProps,
|
|
2177
|
-
helpPopoverProps = _ref$helpPopoverProps === void 0 ? {} : _ref$helpPopoverProps
|
|
2179
|
+
helpPopoverProps = _ref$helpPopoverProps === void 0 ? {} : _ref$helpPopoverProps,
|
|
2180
|
+
_ref$enabledFeatures = _ref.enabledFeatures,
|
|
2181
|
+
enabledFeatures = _ref$enabledFeatures === void 0 ? {
|
|
2182
|
+
customCSS: true
|
|
2183
|
+
} : _ref$enabledFeatures;
|
|
2178
2184
|
var _useThemeStore = useThemeUtils.useThemeStore(function (store) {
|
|
2179
2185
|
return {
|
|
2180
2186
|
setThemeState: store["setThemeState"]
|
|
@@ -2205,7 +2211,8 @@ var NeetoThemesBuilder = function NeetoThemesBuilder(_ref) {
|
|
|
2205
2211
|
entityId: entityId,
|
|
2206
2212
|
isTemplateThemesEnabled: isTemplateThemesEnabled,
|
|
2207
2213
|
helpDocUrl: helpDocUrl,
|
|
2208
|
-
helpPopoverProps: helpPopoverProps
|
|
2214
|
+
helpPopoverProps: helpPopoverProps,
|
|
2215
|
+
enabledFeatures: enabledFeatures
|
|
2209
2216
|
});
|
|
2210
2217
|
}, []);
|
|
2211
2218
|
react.useEffect(function () {
|