ronds-metadata 1.1.95 → 1.1.96
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.
@@ -9,7 +9,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
9
9
|
/*
|
10
10
|
* @Author: wangxian
|
11
11
|
* @Date: 2021-09-18 14:15:04
|
12
|
-
* @LastEditTime: 2023-02-20
|
12
|
+
* @LastEditTime: 2023-02-20 16:04:04
|
13
13
|
*/
|
14
14
|
import React from 'react';
|
15
15
|
import Input from './DataCell/Input';
|
@@ -78,10 +78,10 @@ export function renderForm(schemaRef, options) {
|
|
78
78
|
var _form = [];
|
79
79
|
|
80
80
|
for (var i = 0; i < _properties.length; i++) {
|
81
|
-
var _properties$i, _properties$i2, _properties$i2$fields, _properties$i2$fields2, _properties$i3, _properties$i3$fields, _properties$i3$fields2;
|
81
|
+
var _properties$i, _properties$i2, _properties$i2$fields, _properties$i2$fields2, _properties$i2$fields3, _properties$i3, _properties$i3$fields, _properties$i3$fields2;
|
82
82
|
|
83
83
|
var _colSpan = colSpan;
|
84
|
-
var compColSpan = ((_properties$i = _properties[i]) === null || _properties$i === void 0 ? void 0 : _properties$i.fields) && (((_properties$i2 = _properties[i]) === null || _properties$i2 === void 0 ? void 0 : (_properties$i2$fields = _properties$i2.fields[0]) === null || _properties$i2$fields === void 0 ? void 0 : (_properties$i2$fields2 = _properties$i2$fields.value) === null || _properties$i2$fields2 === void 0 ? void 0 : _properties$i2$fields2.common.colSpan) || ((_properties$i3 = _properties[i]) === null || _properties$i3 === void 0 ? void 0 : (_properties$i3$fields = _properties$i3.fields[0]) === null || _properties$i3$fields === void 0 ? void 0 : (_properties$i3$fields2 = _properties$i3$fields.value) === null || _properties$i3$fields2 === void 0 ? void 0 : _properties$i3$fields2.colSpan));
|
84
|
+
var compColSpan = ((_properties$i = _properties[i]) === null || _properties$i === void 0 ? void 0 : _properties$i.fields) && (((_properties$i2 = _properties[i]) === null || _properties$i2 === void 0 ? void 0 : (_properties$i2$fields = _properties$i2.fields[0]) === null || _properties$i2$fields === void 0 ? void 0 : (_properties$i2$fields2 = _properties$i2$fields.value) === null || _properties$i2$fields2 === void 0 ? void 0 : (_properties$i2$fields3 = _properties$i2$fields2.common) === null || _properties$i2$fields3 === void 0 ? void 0 : _properties$i2$fields3.colSpan) || ((_properties$i3 = _properties[i]) === null || _properties$i3 === void 0 ? void 0 : (_properties$i3$fields = _properties$i3.fields[0]) === null || _properties$i3$fields === void 0 ? void 0 : (_properties$i3$fields2 = _properties$i3$fields.value) === null || _properties$i3$fields2 === void 0 ? void 0 : _properties$i3$fields2.colSpan));
|
85
85
|
|
86
86
|
if (compColSpan) {
|
87
87
|
_colSpan = compColSpan * colSpan <= 24 ? compColSpan * colSpan : 24;
|