@next-core/brick-kit 2.154.5 → 2.154.7

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.
@@ -10241,6 +10241,12 @@
10241
10241
  };
10242
10242
  var formContext = new CustomFormContext();
10243
10243
 
10244
+ if (isPreview && formData.formSchema && formData.formSchema.brick === "forms.general-form") {
10245
+ var _formData$formSchema$;
10246
+
10247
+ brickConf["properties"] = _objectSpread__default["default"](_objectSpread__default["default"]({}, brickConf.properties), (_formData$formSchema$ = formData.formSchema.properties) === null || _formData$formSchema$ === void 0 ? void 0 : _formData$formSchema$.previewConf);
10248
+ }
10249
+
10244
10250
  if (Array.isArray(formData.context)) {
10245
10251
  formData.context.forEach(item => {
10246
10252
  if (brickConf.properties[item.name] !== undefined) {
@@ -14373,7 +14379,7 @@
14373
14379
  var _props$imageStyle;
14374
14380
 
14375
14381
  var illustration = React.useMemo(() => props.illustration && illustrations.getIllustration(props.illustration), [props.illustration]);
14376
- var image = props.illustration ? illustration : /*#__PURE__*/React__default["default"].createElement(EmptySvg, {
14382
+ var image = props.noImage ? null : props.illustration ? illustration : /*#__PURE__*/React__default["default"].createElement(EmptySvg, {
14377
14383
  isBig: props.useBigEmptyImage
14378
14384
  });
14379
14385
  var imageStyle = (_props$imageStyle = props.imageStyle) !== null && _props$imageStyle !== void 0 ? _props$imageStyle : props.useBigEmptyImage ? undefined : {