Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~claire.tang/fineui

es6
Tangjinxia 4 years ago
parent
commit
daca6b6ca1
  1. 2
      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. 27
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 27
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 27
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 27
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 2
      dist/fineui.proxy.css
  26. 27
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 4
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 27
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. 4
      dist/lib/base/single/button/buttons/button.icon.d.ts
  35. 4
      dist/lib/case/editor/editor.sign.d.ts
  36. 4
      dist/lib/case/editor/editor.state.d.ts
  37. 1
      dist/lib/case/pager/pager.all.count.d.ts
  38. 2
      dist/resource.css
  39. 2
      dist/utils.js
  40. 2
      dist/utils.min.js
  41. 2
      package.json
  42. 6
      src/base/combination/switcher.js
  43. 2
      src/widget/editor/editor.search.js
  44. 2
      src/widget/multiselect/trigger/switcher.checkselected.js
  45. 4
      typescript/base/single/button/buttons/button.icon.ts

2
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

27
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -24044,9 +24044,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},
@ -40931,6 +40935,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
pages: 1, // 必选项
curr: 1, // 初始化当前页, pages为数字时可用,
count: 1, // 总行数
rowInfoObject: null,
showRowCount: true
});
},
@ -41056,7 +41061,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Basic_Total"),
width: 15
ref: function (_ref) {
self.prevText = _ref;
}
}, {
type: "bi.label",
ref: function (_ref) {
@ -41071,9 +41078,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 50,
width: 40,
textAlign: "left"
}]
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};
},
@ -41101,6 +41108,12 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}
},
setCountPrevText: function (text) {
if (this.options.showRowCount) {
this.prevText.setText(text);
}
},
getCurrentPage: function () {
return this.pager.getCurrentPage();
},
@ -48583,7 +48596,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
@ -57281,7 +57294,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
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

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

27
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -24044,9 +24044,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},
@ -40931,6 +40935,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
pages: 1, // 必选项
curr: 1, // 初始化当前页, pages为数字时可用,
count: 1, // 总行数
rowInfoObject: null,
showRowCount: true
});
},
@ -41056,7 +41061,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Basic_Total"),
width: 15
ref: function (_ref) {
self.prevText = _ref;
}
}, {
type: "bi.label",
ref: function (_ref) {
@ -41071,9 +41078,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 50,
width: 40,
textAlign: "left"
}]
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};
},
@ -41101,6 +41108,12 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}
},
setCountPrevText: function (text) {
if (this.options.showRowCount) {
this.prevText.setText(text);
}
},
getCurrentPage: function () {
return this.pager.getCurrentPage();
},
@ -48583,7 +48596,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
@ -57281,7 +57294,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

27
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -24044,9 +24044,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},
@ -40931,6 +40935,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
pages: 1, // 必选项
curr: 1, // 初始化当前页, pages为数字时可用,
count: 1, // 总行数
rowInfoObject: null,
showRowCount: true
});
},
@ -41056,7 +41061,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Basic_Total"),
width: 15
ref: function (_ref) {
self.prevText = _ref;
}
}, {
type: "bi.label",
ref: function (_ref) {
@ -41071,9 +41078,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 50,
width: 40,
textAlign: "left"
}]
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};
},
@ -41101,6 +41108,12 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}
},
setCountPrevText: function (text) {
if (this.options.showRowCount) {
this.prevText.setText(text);
}
},
getCurrentPage: function () {
return this.pager.getCurrentPage();
},
@ -48583,7 +48596,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
@ -57281,7 +57294,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
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

27
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -24044,9 +24044,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},
@ -40931,6 +40935,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
pages: 1, // 必选项
curr: 1, // 初始化当前页, pages为数字时可用,
count: 1, // 总行数
rowInfoObject: null,
showRowCount: true
});
},
@ -41056,7 +41061,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Basic_Total"),
width: 15
ref: function (_ref) {
self.prevText = _ref;
}
}, {
type: "bi.label",
ref: function (_ref) {
@ -41071,9 +41078,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 50,
width: 40,
textAlign: "left"
}]
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};
},
@ -41101,6 +41108,12 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}
},
setCountPrevText: function (text) {
if (this.options.showRowCount) {
this.prevText.setText(text);
}
},
getCurrentPage: function () {
return this.pager.getCurrentPage();
},
@ -48583,7 +48596,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
@ -57281,7 +57294,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
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

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

27
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -21505,9 +21505,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},
@ -38392,6 +38396,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
pages: 1, // 必选项
curr: 1, // 初始化当前页, pages为数字时可用,
count: 1, // 总行数
rowInfoObject: null,
showRowCount: true
});
},
@ -38517,7 +38522,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Basic_Total"),
width: 15
ref: function (_ref) {
self.prevText = _ref;
}
}, {
type: "bi.label",
ref: function (_ref) {
@ -38532,9 +38539,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 50,
width: 40,
textAlign: "left"
}]
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};
},
@ -38562,6 +38569,12 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}
},
setCountPrevText: function (text) {
if (this.options.showRowCount) {
this.prevText.setText(text);
}
},
getCurrentPage: function () {
return this.pager.getCurrentPage();
},
@ -46044,7 +46057,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
@ -54742,7 +54755,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

27
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -21115,9 +21115,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},
@ -38002,6 +38006,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
pages: 1, // 必选项
curr: 1, // 初始化当前页, pages为数字时可用,
count: 1, // 总行数
rowInfoObject: null,
showRowCount: true
});
},
@ -38127,7 +38132,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Basic_Total"),
width: 15
ref: function (_ref) {
self.prevText = _ref;
}
}, {
type: "bi.label",
ref: function (_ref) {
@ -38142,9 +38149,9 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
type: "bi.label",
height: o.height,
text: BI.i18nText("BI-Tiao_Data"),
width: 50,
width: 40,
textAlign: "left"
}]
}, BI.isNotEmptyObject(o.rowInfoObject) ? o.rowInfoObject : null]
};
},
@ -38172,6 +38179,12 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}
},
setCountPrevText: function (text) {
if (this.options.showRowCount) {
this.prevText.setText(text);
}
},
getCurrentPage: function () {
return this.pager.getCurrentPage();
},
@ -45654,7 +45667,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
@ -54352,7 +54365,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

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

4
dist/lib/base/single/button/buttons/button.icon.d.ts vendored

@ -3,7 +3,7 @@ export declare class IconButton extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
props: {
iconWidth: number;
iconHeight: number;
iconWidth?: number;
iconHeight?: number;
} & BasicButton['props'];
}

4
dist/lib/case/editor/editor.sign.d.ts vendored

@ -31,6 +31,6 @@ export declare class SignEditor extends Widget {
getErrorText(): string;
isEditing(): boolean;
getLastChangedValue(): string;
getState(): any;
setState(...args: any[]): void;
getState(): number | string | Array<string>;
setState(...args: (number | string | Array<string>)[]): void;
}

4
dist/lib/case/editor/editor.state.d.ts vendored

@ -29,6 +29,6 @@ export declare class StateEditor extends Widget {
getErrorText(): string;
isEditing(): boolean;
getLastChangedValue(): string;
getState(): any;
setState(...args: any[]): void;
getState(): number | string | Array<string>;
setState(...args: (number | string | Array<string>)[]): void;
}

1
dist/lib/case/pager/pager.all.count.d.ts vendored

@ -6,6 +6,7 @@ export declare class AllCountPager extends Widget {
setValue(v: number): void;
setVPage(v: number): void;
setCount(v: number | string): void;
setCountPrevText(v: string): void;
getCurrentPage(): number;
hasPrev(): boolean;
hasNext(): boolean;

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-6-3 4:30:25 PM */
/*! time: 2021-6-4 2:10:15 PM */
/******/ (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.20210603163231",
"version": "2.0.20210604141117",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

6
src/base/combination/switcher.js

@ -191,9 +191,13 @@ BI.Switcher = BI.inherit(BI.Widget, {
}, this.getName());
},
populate: function (items) {
_populate: function () {
this._assertPopupView();
this.popupView.populate.apply(this.popupView, arguments);
},
populate: function (items) {
this._populate.apply(this, arguments);
this.switcher.populate && this.switcher.populate.apply(this.switcher, arguments);
},

2
src/widget/editor/editor.search.js

@ -35,7 +35,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
});
this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue());
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR);

2
src/widget/multiselect/trigger/switcher.checkselected.js

@ -62,7 +62,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, {
this.switcher.on(BI.Switcher.EVENT_AFTER_POPUPVIEW, function () {
var me = this;
BI.nextTick(function () {
me.populate();
me._populate();
});
});
},

4
typescript/base/single/button/buttons/button.icon.ts

@ -5,7 +5,7 @@ export declare class IconButton extends BasicButton {
static EVENT_CHANGE: string;
props: {
iconWidth: number;
iconHeight: number;
iconWidth?: number;
iconHeight?: number;
} & BasicButton['props']
}

Loading…
Cancel
Save