@next-core/brick-kit 2.154.5 → 2.154.6

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) {