@byteluck-fe/model-driven-controls 6.2.0-jeecg-3 → 6.2.0-jeecg-5

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,6 +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, "isShowCustomDateFormat", void 0 //是否使用自定义格式化显示时间
97
+ ), _define_property(_this, "customDateFormat", void 0 //自定义格式化显示时间
96
98
  );
97
99
  var _props_dateType;
98
100
  _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
@@ -122,6 +124,10 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
122
124
  _this.filterWeekend = (_props_filterWeekend = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _props_filterWeekend !== void 0 ? _props_filterWeekend : false;
123
125
  var _props_isInternational;
124
126
  _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : 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 : '';
125
131
  return _this;
126
132
  }
127
133
  return DatePickerProperty;