dtable-ui-component 6.0.39-alphaG21 → 6.0.39-gzc2
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.
|
@@ -132,7 +132,6 @@ class FilterCalendar extends _react.Component {
|
|
|
132
132
|
value: displayContentValue,
|
|
133
133
|
disabled: true
|
|
134
134
|
});
|
|
135
|
-
const calendarFormat1 = ['YYYY-MM-DD'];
|
|
136
135
|
console.log('calendarFormat', calendarFormat, displayContentValue);
|
|
137
136
|
const clearStyle = {
|
|
138
137
|
position: 'absolute',
|
|
@@ -151,7 +150,8 @@ class FilterCalendar extends _react.Component {
|
|
|
151
150
|
style: {
|
|
152
151
|
zIndex: 1001
|
|
153
152
|
},
|
|
154
|
-
|
|
153
|
+
dateInputPlaceholder: calendarFormat[0],
|
|
154
|
+
format: calendarFormat,
|
|
155
155
|
defaultValue: this.defaultCalendarValue,
|
|
156
156
|
showDateInput: true,
|
|
157
157
|
focusablePanel: false,
|
|
@@ -350,6 +350,8 @@ class FilterItem extends _react.default.Component {
|
|
|
350
350
|
const inputRangeLabel = [_dtableUtils.FILTER_TERM_MODIFIER_TYPE.EXACT_DATE, _dtableUtils.FILTER_TERM_MODIFIER_TYPE.NUMBER_OF_DAYS_AGO, _dtableUtils.FILTER_TERM_MODIFIER_TYPE.NUMBER_OF_DAYS_FROM_NOW, _dtableUtils.FILTER_TERM_MODIFIER_TYPE.THE_NEXT_NUMBERS_OF_DAYS, _dtableUtils.FILTER_TERM_MODIFIER_TYPE.THE_PAST_NUMBERS_OF_DAYS];
|
|
351
351
|
if (inputRangeLabel.indexOf(filter_term_modifier) > -1) {
|
|
352
352
|
if (filter_term_modifier === 'exact_date') {
|
|
353
|
+
console.log('filterTerm', this.state.filterTerm);
|
|
354
|
+
console.log('filterColumn', filterColumn);
|
|
353
355
|
return /*#__PURE__*/_react.default.createElement(_filterCalendar.default, {
|
|
354
356
|
lang: lang,
|
|
355
357
|
value: this.state.filterTerm,
|