Browse Source

REPORT-21332 fix: 支持一下默认传value属性

es6
windy 5 years ago
parent
commit
1e6ece11a2
  1. 1
      changelog.md
  2. 7
      dist/2.0/fineui.ie.js
  3. 7
      dist/2.0/fineui.js
  4. 7
      dist/bundle.ie.js
  5. 7
      dist/bundle.js
  6. 1
      dist/case.js
  7. 7
      dist/fineui.ie.js
  8. 7
      dist/fineui.js
  9. 6
      dist/fineui_without_jquery_polyfill.js
  10. 6
      dist/widget.js
  11. 1
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  12. 1
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  13. 1
      src/component/treevaluechooser/combo.treevaluechooser.js
  14. 1
      src/component/valuechooser/combo.valuechooser.insert.js
  15. 1
      src/component/valuechooser/combo.valuechooser.js
  16. 1
      src/component/valuechooser/pane.valuechooser.js

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2019-08)
- 修复valueChooser系列不支持value属性的问题
- 更新了若干icon-font的样式
- 修复了单选树同步搜索状态下父节点前可能没有展开符号的问题
- 单选树可展示并选中不存在的值

7
dist/2.0/fineui.ie.js vendored

@ -54754,6 +54754,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,
@ -88537,6 +88538,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -88624,6 +88626,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -88712,6 +88715,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -88942,6 +88946,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89036,6 +89041,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89124,6 +89130,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

7
dist/2.0/fineui.js vendored

@ -55158,6 +55158,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,
@ -88941,6 +88942,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -89028,6 +89030,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89116,6 +89119,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89346,6 +89350,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89440,6 +89445,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89528,6 +89534,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

7
dist/bundle.ie.js vendored

@ -54754,6 +54754,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,
@ -88537,6 +88538,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -88624,6 +88626,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -88712,6 +88715,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -88942,6 +88946,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89036,6 +89041,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89124,6 +89130,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

7
dist/bundle.js vendored

@ -55158,6 +55158,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,
@ -88941,6 +88942,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -89028,6 +89030,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89116,6 +89119,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89346,6 +89350,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89440,6 +89445,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89528,6 +89534,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

1
dist/case.js vendored

@ -2730,6 +2730,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,

7
dist/fineui.ie.js vendored

@ -54999,6 +54999,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,
@ -88782,6 +88783,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -88869,6 +88871,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -88957,6 +88960,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89187,6 +89191,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89281,6 +89286,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89369,6 +89375,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

7
dist/fineui.js vendored

@ -55403,6 +55403,7 @@ BI.LongColorChooserTrigger = BI.inherit(BI.Trigger, {
ref: function (_ref) {
self.changeIcon = _ref;
},
disableSelected: true,
iconCls: "auto-color-icon",
width: 24,
iconWidth: 16,
@ -89186,6 +89187,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -89273,6 +89275,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89361,6 +89364,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -89591,6 +89595,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89685,6 +89690,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -89773,6 +89779,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

6
dist/fineui_without_jquery_polyfill.js vendored

@ -71486,6 +71486,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -71573,6 +71574,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -71661,6 +71663,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -71891,6 +71894,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -71985,6 +71989,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -72073,6 +72078,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

6
dist/widget.js vendored

@ -26597,6 +26597,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
@ -26684,6 +26685,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -26772,6 +26774,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),
@ -27002,6 +27005,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -27096,6 +27100,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,
@ -27184,6 +27189,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

1
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -27,6 +27,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
type: "bi.multi_tree_list_combo",
element: this,
text: o.text,
value: o.value,
watermark: o.watermark,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),

1
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -26,6 +26,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_insert_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),

1
src/component/treevaluechooser/combo.treevaluechooser.js

@ -26,6 +26,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo = BI.createWidget({
type: "bi.multi_tree_combo",
text: o.text,
value: o.value,
watermark: o.watermark,
element: this,
itemsCreator: BI.bind(this._itemsCreator, this),

1
src/component/valuechooser/combo.valuechooser.insert.js

@ -25,6 +25,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_insert_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,

1
src/component/valuechooser/combo.valuechooser.js

@ -29,6 +29,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
type: "bi.multi_select_combo",
element: this,
text: o.text,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this),
width: o.width,

1
src/component/valuechooser/pane.valuechooser.js

@ -23,6 +23,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
this.list = BI.createWidget({
type: "bi.multi_select_list",
element: this,
value: o.value,
itemsCreator: BI.bind(this._itemsCreator, this),
valueFormatter: BI.bind(this._valueFormatter, this)
});

Loading…
Cancel
Save