Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~windy/fui

es6
windy 4 years ago
parent
commit
c8d318ccfe
  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. 32
      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. 32
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 32
      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. 32
      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. 32
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/lib/widget/editor/editor.search.d.ts
  29. 2
      dist/resource.css
  30. 2
      dist/utils.js
  31. 2
      dist/utils.min.js
  32. 2
      package.json
  33. 8
      src/widget/editor/editor.search.js
  34. 4
      typescript/widget/editor/editor.search.ts

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

32
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 09:30:24 */
/*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () {
this.setValue(self.selectedYear);
var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear());
calendar && self.preBtn.setEnable(!calendar.isFinalYear());
calendar && self.backBtn.setEnable(self._checkMinYearValid());
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 () {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -47011,6 +47021,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

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

32
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 09:30:24 */
/*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () {
this.setValue(self.selectedYear);
var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear());
calendar && self.preBtn.setEnable(!calendar.isFinalYear());
calendar && self.backBtn.setEnable(self._checkMinYearValid());
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 () {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -47011,6 +47021,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

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

32
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 09:30:24 */
/*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () {
this.setValue(self.selectedYear);
var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear());
calendar && self.preBtn.setEnable(!calendar.isFinalYear());
calendar && self.backBtn.setEnable(self._checkMinYearValid());
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 () {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -47011,6 +47021,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

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

32
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 09:30:24 */
/*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -42162,8 +42162,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () {
this.setValue(self.selectedYear);
var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear());
calendar && self.preBtn.setEnable(!calendar.isFinalYear());
calendar && self.backBtn.setEnable(self._checkMinYearValid());
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 () {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -42191,8 +42201,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -47011,6 +47021,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

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

32
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-1-19 09:30:24 */
/*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -38189,8 +38189,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
afterCardCreated: function () {
this.setValue(self.selectedYear);
var calendar = this.getSelectedCard();
calendar && self.backBtn.setEnable(!calendar.isFrontYear());
calendar && self.preBtn.setEnable(!calendar.isFinalYear());
calendar && self.backBtn.setEnable(self._checkMinYearValid());
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 () {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMinDate(this.options.min);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -38218,8 +38228,8 @@ BI.YearPopup = BI.inherit(BI.Widget, {
var calendar = this.navigation.getSelectedCard();
if (BI.isNotNull(calendar)) {
calendar.setMaxDate(this.options.max);
this.backBtn.setEnable(!calendar.isFrontYear());
this.preBtn.setEnable(!calendar.isFinalYear());
this.backBtn.setEnable(this._checkMinYearValid());
this.preBtn.setEnable(this._checkMaxYearValid());
}
},
@ -43038,6 +43048,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

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/lib/widget/editor/editor.search.d.ts vendored

@ -28,4 +28,6 @@ export declare class SearchEditor extends Widget {
getLastChangedValue(): string;
isEditing(): boolean;
isValid(): boolean;
showClearIcon(): void;
hideClearIcon(): void;
}

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 09:30:24 */
/*! time: 2021-1-19 15:40:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ 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",
"version": "2.0.20210119093226",
"version": "2.0.20210119154152",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

8
src/widget/editor/editor.search.js

@ -183,6 +183,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

4
typescript/widget/editor/editor.search.ts

@ -38,4 +38,8 @@ export declare class SearchEditor extends Widget {
isEditing(): boolean;
isValid(): boolean;
showClearIcon(): void;
hideClearIcon(): void;
}

Loading…
Cancel
Save