guy 7 years ago
parent
commit
2f2401c810
  1. 16
      bi/case.js
  2. 16
      dist/bundle.js
  3. 10
      dist/bundle.min.js
  4. 16
      dist/case.js
  5. 5
      src/case/combo/staticcombo/combo.static.js
  6. 8
      src/case/combo/textvaluecombo/combo.textvalue.js
  7. 3
      src/case/trigger/trigger.text.select.js

16
bi/case.js

@ -5587,7 +5587,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {},
items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
})
});
},
_init: function () {
@ -5623,9 +5623,6 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: this.popup
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
populate: function (items) {
@ -5849,7 +5846,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "",
el: {}
})
});
},
_init: function () {
@ -5858,8 +5855,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, {
type: "bi.select_text_trigger",
items: o.items,
height: o.height,
text: o.text
height: o.height
});
this.popup = BI.createWidget({
type: "bi.text_value_combo_popup",
@ -5884,6 +5880,9 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (v) {
@ -13845,6 +13844,9 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
element: this,
height: o.height
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (vals) {

16
dist/bundle.js vendored

@ -67090,7 +67090,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {},
items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
})
});
},
_init: function () {
@ -67126,9 +67126,6 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: this.popup
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
populate: function (items) {
@ -67352,7 +67349,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "",
el: {}
})
});
},
_init: function () {
@ -67361,8 +67358,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, {
type: "bi.select_text_trigger",
items: o.items,
height: o.height,
text: o.text
height: o.height
});
this.popup = BI.createWidget({
type: "bi.text_value_combo_popup",
@ -67387,6 +67383,9 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (v) {
@ -75348,6 +75347,9 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
element: this,
height: o.height
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (vals) {

10
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/case.js vendored

@ -5587,7 +5587,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {},
items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
})
});
},
_init: function () {
@ -5623,9 +5623,6 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: this.popup
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
populate: function (items) {
@ -5849,7 +5846,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "",
el: {}
})
});
},
_init: function () {
@ -5858,8 +5855,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, {
type: "bi.select_text_trigger",
items: o.items,
height: o.height,
text: o.text
height: o.height
});
this.popup = BI.createWidget({
type: "bi.text_value_combo_popup",
@ -5884,6 +5880,9 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (v) {
@ -13845,6 +13844,9 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
element: this,
height: o.height
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (vals) {

5
src/case/combo/staticcombo/combo.static.js

@ -13,7 +13,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {},
items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
});
})
},
_init: function () {
@ -49,9 +49,6 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: this.popup
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
populate: function (items) {

8
src/case/combo/textvaluecombo/combo.textvalue.js

@ -12,7 +12,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "",
el: {}
})
});
},
_init: function () {
@ -21,8 +21,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, {
type: "bi.select_text_trigger",
items: o.items,
height: o.height,
text: o.text
height: o.height
});
this.popup = BI.createWidget({
type: "bi.text_value_combo_popup",
@ -47,6 +46,9 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300
}
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (v) {

3
src/case/trigger/trigger.text.select.js

@ -23,6 +23,9 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
element: this,
height: o.height
});
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
},
setValue: function (vals) {

Loading…
Cancel
Save