guy 7 years ago
parent
commit
792f15190c
  1. 22
      bi/case.js
  2. 22
      dist/bundle.js
  3. 8
      dist/bundle.min.js
  4. 22
      dist/case.js
  5. 8
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  6. 9
      src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js
  7. 3
      src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js

22
bi/case.js

@ -5464,7 +5464,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
height: 30, height: 30,
text: "", text: "",
el: {} el: {}
}) });
}, },
_init: function () { _init: function () {
@ -5473,8 +5473,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, { this.trigger = BI.createWidget(o.el, {
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.icon_text_value_combo_popup", type: "bi.icon_text_value_combo_popup",
@ -5498,6 +5497,9 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setValue: function (v) { setValue: function (v) {
@ -5587,7 +5589,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
}); })
}, },
_init: function () { _init: function () {
@ -5651,7 +5653,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "" text: ""
}) });
}, },
_init: function () { _init: function () {
@ -5660,8 +5662,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup", type: "bi.text_value_check_combo_popup",
@ -5686,6 +5687,10 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setTitle: function (title) { setTitle: function (title) {
@ -6029,8 +6034,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30, height: 30
text: ""
}) })
}, },

22
dist/bundle.js vendored

@ -66967,7 +66967,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
height: 30, height: 30,
text: "", text: "",
el: {} el: {}
}) });
}, },
_init: function () { _init: function () {
@ -66976,8 +66976,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, { this.trigger = BI.createWidget(o.el, {
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.icon_text_value_combo_popup", type: "bi.icon_text_value_combo_popup",
@ -67001,6 +67000,9 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setValue: function (v) { setValue: function (v) {
@ -67090,7 +67092,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
}); })
}, },
_init: function () { _init: function () {
@ -67154,7 +67156,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "" text: ""
}) });
}, },
_init: function () { _init: function () {
@ -67163,8 +67165,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup", type: "bi.text_value_check_combo_popup",
@ -67189,6 +67190,10 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setTitle: function (title) { setTitle: function (title) {
@ -67532,8 +67537,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30, height: 30
text: ""
}) })
}, },

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

22
dist/case.js vendored

@ -5464,7 +5464,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
height: 30, height: 30,
text: "", text: "",
el: {} el: {}
}) });
}, },
_init: function () { _init: function () {
@ -5473,8 +5473,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, { this.trigger = BI.createWidget(o.el, {
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.icon_text_value_combo_popup", type: "bi.icon_text_value_combo_popup",
@ -5498,6 +5497,9 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setValue: function (v) { setValue: function (v) {
@ -5587,7 +5589,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE
}); })
}, },
_init: function () { _init: function () {
@ -5651,7 +5653,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "" text: ""
}) });
}, },
_init: function () { _init: function () {
@ -5660,8 +5662,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup", type: "bi.text_value_check_combo_popup",
@ -5686,6 +5687,10 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setTitle: function (title) { setTitle: function (title) {
@ -6029,8 +6034,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30, height: 30
text: ""
}) })
}, },

8
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -9,7 +9,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
height: 30, height: 30,
text: "", text: "",
el: {} el: {}
}) });
}, },
_init: function () { _init: function () {
@ -18,8 +18,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget(o.el, { this.trigger = BI.createWidget(o.el, {
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.icon_text_value_combo_popup", type: "bi.icon_text_value_combo_popup",
@ -43,6 +42,9 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setValue: function (v) { setValue: function (v) {

9
src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js

@ -11,7 +11,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "" text: ""
}) });
}, },
_init: function () { _init: function () {
@ -20,8 +20,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
items: o.items, items: o.items,
height: o.height, height: o.height
text: o.text
}); });
this.popup = BI.createWidget({ this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup", type: "bi.text_value_check_combo_popup",
@ -46,6 +45,10 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
maxHeight: 300 maxHeight: 300
} }
}); });
if (BI.isKey(o.text)) {
this.setValue(o.text);
}
}, },
setTitle: function (title) { setTitle: function (title) {

3
src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js

@ -6,8 +6,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 30, height: 30
text: ""
}) })
}, },

Loading…
Cancel
Save