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