Browse Source

auto upgrade version to 2.0.20210119154152

es6
data 4 years ago
parent
commit
5d80abbb04
  1. 4
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 24
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 4
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 4
      dist/2.0/fineui_without_normalize.css
  10. 4
      dist/2.0/fineui_without_normalize.min.css
  11. 4
      dist/core.css
  12. 24
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 24
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 4
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 24
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 4
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 24
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/resource.css
  29. 2
      dist/utils.js
  30. 2
      dist/utils.min.js
  31. 2
      package.json

4
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 14:30:27 */ /*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () { afterCardCreated: function () {
this.setValue(self.selectedYear); this.setValue(self.selectedYear);
var calendar = this.getSelectedCard(); var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); calendar && self.backBtn.setEnable(self._checkMinYearValid());
calendar && self.preBtn.setEnable(!calendar.isFinalYear()); calendar && self.preBtn.setEnable(self._checkMaxYearValid());
} }
}); });
@ -42178,12 +42178,22 @@ BI.YearPopup = BI.inherit(BI.Widget, {
} }
}, },
_checkMinYearValid: function () {
var o = this.options;
return this.selectedYear > BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear();
},
_checkMaxYearValid: function () {
var o = this.options;
return this.selectedYear < BI.parseDateTime(o.max, "%Y-%X-%d").getFullYear();
},
_checkMin: function () { _checkMin: function () {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min); calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max); calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

File diff suppressed because one or more lines are too long

24
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 14:30:27 */ /*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () { afterCardCreated: function () {
this.setValue(self.selectedYear); this.setValue(self.selectedYear);
var calendar = this.getSelectedCard(); var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); calendar && self.backBtn.setEnable(self._checkMinYearValid());
calendar && self.preBtn.setEnable(!calendar.isFinalYear()); calendar && self.preBtn.setEnable(self._checkMaxYearValid());
} }
}); });
@ -42178,12 +42178,22 @@ BI.YearPopup = BI.inherit(BI.Widget, {
} }
}, },
_checkMinYearValid: function () {
var o = this.options;
return this.selectedYear > BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear();
},
_checkMaxYearValid: function () {
var o = this.options;
return this.selectedYear < BI.parseDateTime(o.max, "%Y-%X-%d").getFullYear();
},
_checkMin: function () { _checkMin: function () {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min); calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max); calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.css vendored

File diff suppressed because one or more lines are too long

24
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 14:30:27 */ /*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () { afterCardCreated: function () {
this.setValue(self.selectedYear); this.setValue(self.selectedYear);
var calendar = this.getSelectedCard(); var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); calendar && self.backBtn.setEnable(self._checkMinYearValid());
calendar && self.preBtn.setEnable(!calendar.isFinalYear()); calendar && self.preBtn.setEnable(self._checkMaxYearValid());
} }
}); });
@ -42178,12 +42178,22 @@ BI.YearPopup = BI.inherit(BI.Widget, {
} }
}, },
_checkMinYearValid: function () {
var o = this.options;
return this.selectedYear > BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear();
},
_checkMaxYearValid: function () {
var o = this.options;
return this.selectedYear < BI.parseDateTime(o.max, "%Y-%X-%d").getFullYear();
},
_checkMin: function () { _checkMin: function () {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min); calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max); calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 14:30:27 */ /*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () { afterCardCreated: function () {
this.setValue(self.selectedYear); this.setValue(self.selectedYear);
var calendar = this.getSelectedCard(); var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); calendar && self.backBtn.setEnable(self._checkMinYearValid());
calendar && self.preBtn.setEnable(!calendar.isFinalYear()); calendar && self.preBtn.setEnable(self._checkMaxYearValid());
} }
}); });
@ -42178,12 +42178,22 @@ BI.YearPopup = BI.inherit(BI.Widget, {
} }
}, },
_checkMinYearValid: function () {
var o = this.options;
return this.selectedYear > BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear();
},
_checkMaxYearValid: function () {
var o = this.options;
return this.selectedYear < BI.parseDateTime(o.max, "%Y-%X-%d").getFullYear();
},
_checkMin: function () { _checkMin: function () {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min); calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max); calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 14:30:27 */ /*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -38189,8 +38189,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () { afterCardCreated: function () {
this.setValue(self.selectedYear); this.setValue(self.selectedYear);
var calendar = this.getSelectedCard(); var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); calendar && self.backBtn.setEnable(self._checkMinYearValid());
calendar && self.preBtn.setEnable(!calendar.isFinalYear()); calendar && self.preBtn.setEnable(self._checkMaxYearValid());
} }
}); });
@ -38205,12 +38205,22 @@ BI.YearPopup = BI.inherit(BI.Widget, {
} }
}, },
_checkMinYearValid: function () {
var o = this.options;
return this.selectedYear > BI.parseDateTime(o.min, "%Y-%X-%d").getFullYear();
},
_checkMaxYearValid: function () {
var o = this.options;
return this.selectedYear < BI.parseDateTime(o.max, "%Y-%X-%d").getFullYear();
},
_checkMin: function () { _checkMin: function () {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min); calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },
@ -38218,8 +38228,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard(); var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) { if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max); calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear()); this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(!calendar.isFinalYear()); this.preBtn.setEnable(this._checkMaxYearValid());
} }
}, },

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 14:30:27 */ /*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fineui", "name": "fineui",
"version": "2.0.20210119143227", "version": "2.0.20210119154152",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

Loading…
Cancel
Save