Browse Source

BI-21030

es6
windy 7 years ago
parent
commit
8c1a36a84b
  1. 5
      dist/bundle.js
  2. 5
      dist/fineui.js
  3. 5
      dist/widget.js
  4. 4
      src/widget/datepane/card.static.datepane.js
  5. 1
      src/widget/datetimepane/card.static.datetimepane.js

5
dist/bundle.js vendored

@ -88681,9 +88681,9 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
} }
self.selectedTime = { self.selectedTime = {
year: value.year, year: value.year,
month: value.month, month: value.month
day: day
}; };
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);
@ -89408,6 +89408,7 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
month: value.month, month: value.month,
day: day day: day
}); });
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);

5
dist/fineui.js vendored

@ -88924,9 +88924,9 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
} }
self.selectedTime = { self.selectedTime = {
year: value.year, year: value.year,
month: value.month, month: value.month
day: day
}; };
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);
@ -89651,6 +89651,7 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
month: value.month, month: value.month,
day: day day: day
}); });
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);

5
dist/widget.js vendored

@ -1127,9 +1127,9 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
} }
self.selectedTime = { self.selectedTime = {
year: value.year, year: value.year,
month: value.month, month: value.month
day: day
}; };
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);
@ -1854,6 +1854,7 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar
month: value.month, month: value.month,
day: day day: day
}); });
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);

4
src/widget/datepane/card.static.datepane.js

@ -38,9 +38,9 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, {
} }
self.selectedTime = { self.selectedTime = {
year: value.year, year: value.year,
month: value.month, month: value.month
day: day
}; };
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);

1
src/widget/datetimepane/card.static.datetimepane.js

@ -38,6 +38,7 @@ BI.StaticDateTimePaneCard = BI.inherit(BI.Widget, {
month: value.month, month: value.month,
day: day day: day
}); });
day !== 0 && (self.selectedTime.day = day);
self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime)); self.calendar.setSelect(BI.Calendar.getPageByDateJSON(self.selectedTime));
self.calendar.setValue(self.selectedTime); self.calendar.setValue(self.selectedTime);
day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); day !== 0 && self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE);

Loading…
Cancel
Save