@byteluck-fe/model-driven-controls 6.2.0-jeecg-2 → 6.2.0-jeecg-4

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.
@@ -201,6 +201,10 @@ _define_property(DatePickerControl, "setting", [
201
201
  key: 'date-type',
202
202
  visible: true
203
203
  },
204
+ {
205
+ key: 'custom-date-format',
206
+ visible: true
207
+ },
204
208
  {
205
209
  key: 'date-common-time-setting',
206
210
  visible: true
@@ -93,7 +93,8 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
93
93
  _define_property(_this, "allowDateRange", void 0 // 允许选中多个日期范围
94
94
  ), _define_property(_this, "filterWeekend", void 0 // 是否过滤周末
95
95
  ), _define_property(_this, "isInternational", void 0 //是否国际化
96
- ), _define_property(_this, "isCustomDateFormat", void 0 //是否使用自定义日期类型
96
+ ), _define_property(_this, "isShowCustomDateFormat", void 0 //是否使用自定义格式化显示时间
97
+ ), _define_property(_this, "customDateFormat", void 0 //自定义格式化显示时间
97
98
  );
98
99
  var _props_dateType;
99
100
  _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
@@ -123,8 +124,10 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
123
124
  _this.filterWeekend = (_props_filterWeekend = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _props_filterWeekend !== void 0 ? _props_filterWeekend : false;
124
125
  var _props_isInternational;
125
126
  _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
126
- var _props_isCustomDateFormat;
127
- _this.isCustomDateFormat = (_props_isCustomDateFormat = props === null || props === void 0 ? void 0 : props.isCustomDateFormat) !== null && _props_isCustomDateFormat !== void 0 ? _props_isCustomDateFormat : false;
127
+ var _props_isShowCustomDateFormat;
128
+ _this.isShowCustomDateFormat = (_props_isShowCustomDateFormat = props === null || props === void 0 ? void 0 : props.isShowCustomDateFormat) !== null && _props_isShowCustomDateFormat !== void 0 ? _props_isShowCustomDateFormat : false;
129
+ var _props_customDateFormat;
130
+ _this.customDateFormat = (_props_customDateFormat = props === null || props === void 0 ? void 0 : props.customDateFormat) !== null && _props_customDateFormat !== void 0 ? _props_customDateFormat : '';
128
131
  return _this;
129
132
  }
130
133
  return DatePickerProperty;