@byteluck-fe/model-driven-controls 2.22.4-beta.13 → 2.22.4-beta.15
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/esm/columnControls/TimescopeColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimestampColumn/designer.js +2 -1
- package/dist/esm/formControls/DatePicker/designer.js +2 -1
- package/dist/esm/formControls/DateRange/designer.js +2 -1
- package/dist/esm/formControls/Image/property.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
|
@@ -129,8 +129,9 @@ var TimescopeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
129
129
|
value: function toDataBindModel(parentId) {
|
|
130
130
|
var dataBindModel = _get(_get_prototype_of(TimescopeColumnControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
131
131
|
if (dataBindModel) {
|
|
132
|
-
var
|
|
132
|
+
var _this_props = this.props, dateType = _this_props.dateType, isInternational = _this_props.isInternational;
|
|
133
133
|
dataBindModel.props.dateType = dateType;
|
|
134
|
+
dataBindModel.props.isInternational = isInternational;
|
|
134
135
|
}
|
|
135
136
|
return dataBindModel;
|
|
136
137
|
}
|
|
@@ -129,8 +129,9 @@ var TimestampColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
129
129
|
value: function toDataBindModel(parentId) {
|
|
130
130
|
var dataBindModel = _get(_get_prototype_of(TimestampColumnControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
131
131
|
if (dataBindModel) {
|
|
132
|
-
var
|
|
132
|
+
var _this_props = this.props, dateType = _this_props.dateType, isInternational = _this_props.isInternational;
|
|
133
133
|
dataBindModel.props.dateType = dateType;
|
|
134
|
+
dataBindModel.props.isInternational = isInternational;
|
|
134
135
|
}
|
|
135
136
|
return dataBindModel;
|
|
136
137
|
}
|
|
@@ -129,8 +129,9 @@ var DatePickerControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
129
129
|
value: function toDataBindModel(parentId) {
|
|
130
130
|
var dataBindModel = _get(_get_prototype_of(DatePickerControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
131
131
|
if (dataBindModel && !Array.isArray(dataBindModel)) {
|
|
132
|
-
var
|
|
132
|
+
var _this_props = this.props, dateType = _this_props.dateType, isInternational = _this_props.isInternational;
|
|
133
133
|
dataBindModel.props.dateType = dateType;
|
|
134
|
+
dataBindModel.props.isInternational = isInternational;
|
|
134
135
|
}
|
|
135
136
|
return dataBindModel;
|
|
136
137
|
}
|
|
@@ -129,8 +129,9 @@ var DateRangeControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
129
129
|
value: function toDataBindModel(parentId) {
|
|
130
130
|
var dataBindModel = _get(_get_prototype_of(DateRangeControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
131
131
|
if (dataBindModel && !Array.isArray(dataBindModel)) {
|
|
132
|
-
var
|
|
132
|
+
var _this_props = this.props, dateType = _this_props.dateType, isInternational = _this_props.isInternational;
|
|
133
133
|
dataBindModel.props.dateType = dateType;
|
|
134
|
+
dataBindModel.props.isInternational = isInternational;
|
|
134
135
|
}
|
|
135
136
|
return dataBindModel;
|
|
136
137
|
}
|
|
@@ -91,7 +91,7 @@ var ImageProperty = /*#__PURE__*/ function(AttachmentProperty) {
|
|
|
91
91
|
]), _define_property(_this, "compressTypeCode", void 0), _define_property(_this, "compressRatio", void 0), _define_property(_this, "maxPixel", void 0);
|
|
92
92
|
_this.showType = 'image';
|
|
93
93
|
var _props_maxLimit;
|
|
94
|
-
_this.maxLimit = (_props_maxLimit = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit :
|
|
94
|
+
_this.maxLimit = (_props_maxLimit = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit : 10;
|
|
95
95
|
var _props_caption, _ref;
|
|
96
96
|
_this.caption = (_ref = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ImageControl.controlName) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.image', null, '图片');
|
|
97
97
|
var _props_placeholder;
|