ywana-core8 0.0.598 → 0.0.601
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.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +8 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +1 -1
- package/src/domain/ContentEditor.js +4 -1
- package/src/domain/TabbedTablePage.js +1 -1
- package/src/http/token.test.js +14 -2
package/dist/index.umd.js
CHANGED
@@ -4635,8 +4635,9 @@
|
|
4635
4635
|
outlined = _ref7.outlined;
|
4636
4636
|
var id = field.id,
|
4637
4637
|
format = field.format,
|
4638
|
-
label = field.label,
|
4639
4638
|
options = field.options,
|
4639
|
+
_field$required = field.required,
|
4640
|
+
required = _field$required === void 0 ? false : _field$required,
|
4640
4641
|
_field$editable = field.editable,
|
4641
4642
|
editable = _field$editable === void 0 ? true : _field$editable,
|
4642
4643
|
_field$predictive = field.predictive,
|
@@ -4655,6 +4656,8 @@
|
|
4655
4656
|
}
|
4656
4657
|
|
4657
4658
|
function renderFormat(format, options) {
|
4659
|
+
var label = required ? field.label + " *" : field.label;
|
4660
|
+
|
4658
4661
|
switch (format) {
|
4659
4662
|
case FORMATS.IMG:
|
4660
4663
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
@@ -5618,7 +5621,8 @@
|
|
5618
5621
|
label: "" + name,
|
5619
5622
|
type: schema,
|
5620
5623
|
onOK: onOK,
|
5621
|
-
validator: addValidator
|
5624
|
+
validator: addValidator,
|
5625
|
+
className: className
|
5622
5626
|
}));
|
5623
5627
|
}
|
5624
5628
|
|
@@ -8784,7 +8788,8 @@
|
|
8784
8788
|
var field = schema[key];
|
8785
8789
|
return {
|
8786
8790
|
id: field.id,
|
8787
|
-
label: field.label
|
8791
|
+
label: field.label,
|
8792
|
+
type: field.type
|
8788
8793
|
};
|
8789
8794
|
});
|
8790
8795
|
var rows = all.filter(function (item) {
|