@byteluck-fe/model-driven-controls 2.6.0-alpha.8 → 2.6.0-alpha.9

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.
@@ -188,6 +188,10 @@ DatePickerControl.setting = [
188
188
  key: 'date-type',
189
189
  visible: true
190
190
  },
191
+ {
192
+ key: 'date-common-time-setting',
193
+ visible: true
194
+ },
191
195
  {
192
196
  key: 'common-setting',
193
197
  visible: true,
@@ -87,25 +87,27 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty1) {
87
87
  var ref2;
88
88
  _this.dateFormat = (ref2 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && ref2 !== void 0 ? ref2 : '';
89
89
  var ref3;
90
- _this.setValueType = (ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && ref3 !== void 0 ? ref3 : 'custom';
90
+ _this.commonTimeSetting = (ref3 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && ref3 !== void 0 ? ref3 : [];
91
91
  var ref4;
92
- _this.caption = (ref4 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref4 !== void 0 ? ref4 : DatePickerControl.controlName;
92
+ _this.setValueType = (ref4 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && ref4 !== void 0 ? ref4 : 'custom';
93
93
  var ref5;
94
- _this.placeholder = (ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref5 !== void 0 ? ref5 : '请输入日期';
94
+ _this.caption = (ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref5 !== void 0 ? ref5 : DatePickerControl.controlName;
95
95
  var ref6;
96
- _this.defaultValue = (ref6 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref6 !== void 0 ? ref6 : '';
96
+ _this.placeholder = (ref6 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref6 !== void 0 ? ref6 : '请输入日期';
97
97
  var ref7;
98
- _this.limitDateList = (ref7 = props === null || props === void 0 ? void 0 : (ref = props.limitDateList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
99
- return new LimitDate(item);
100
- })) !== null && ref7 !== void 0 ? ref7 : [];
98
+ _this.defaultValue = (ref7 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref7 !== void 0 ? ref7 : '';
101
99
  var ref8;
100
+ _this.limitDateList = (ref8 = props === null || props === void 0 ? void 0 : (ref = props.limitDateList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
101
+ return new LimitDate(item);
102
+ })) !== null && ref8 !== void 0 ? ref8 : [];
103
+ var ref9;
102
104
  // this.multiple = props?.multiple ?? false
103
- _this.allowDateRange = (ref8 = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && ref8 !== void 0 ? ref8 : [
105
+ _this.allowDateRange = (ref9 = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && ref9 !== void 0 ? ref9 : [
104
106
  '',
105
107
  ''
106
108
  ];
107
- var ref9;
108
- _this.filterWeekend = (ref9 = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && ref9 !== void 0 ? ref9 : false;
109
+ var ref10;
110
+ _this.filterWeekend = (ref10 = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && ref10 !== void 0 ? ref10 : false;
109
111
  return _this;
110
112
  }
111
113
  return DatePickerProperty;