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