|
|
@ -37651,7 +37651,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { |
|
|
|
this._createValueMap(); |
|
|
|
this._createValueMap(); |
|
|
|
|
|
|
|
|
|
|
|
var value; |
|
|
|
var value; |
|
|
|
if(BI.isNotNull(o.value)){ |
|
|
|
if(BI.isNotNull(o.value)) { |
|
|
|
value = this._digest(o.value); |
|
|
|
value = this._digest(o.value); |
|
|
|
} |
|
|
|
} |
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
this.trigger = BI.createWidget({ |
|
|
@ -37675,13 +37675,19 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { |
|
|
|
this.combo.on(BI.DownListCombo.EVENT_CHANGE, function () { |
|
|
|
self.setValue(self.combo.getValue()[0].value); |
|
|
|
var currentVal = self.combo.getValue()[0].value; |
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
if (currentVal !== self.value) { |
|
|
|
|
|
|
|
self.setValue(currentVal); |
|
|
|
|
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { |
|
|
|
this.combo.on(BI.DownListCombo.EVENT_SON_VALUE_CHANGE, function () { |
|
|
|
self.setValue(self.combo.getValue()[0].childValue); |
|
|
|
var currentVal = self.combo.getValue()[0].childValue; |
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
if (currentVal !== self.value) { |
|
|
|
|
|
|
|
self.setValue(currentVal); |
|
|
|
|
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -37700,6 +37706,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_digest: function (v) { |
|
|
|
_digest: function (v) { |
|
|
|
|
|
|
|
this.value = v; |
|
|
|
return this.valueMap[v]; |
|
|
|
return this.valueMap[v]; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -41189,7 +41196,7 @@ BI.LevelTree = BI.inherit(BI.Widget, { |
|
|
|
node.id = BI.UUID(); |
|
|
|
node.id = BI.UUID(); |
|
|
|
} |
|
|
|
} |
|
|
|
extend.pNode = pNode; |
|
|
|
extend.pNode = pNode; |
|
|
|
if (node.isParent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
if (node.isParent === true || node.parent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
extend.type = "bi.mid_plus_group_node"; |
|
|
|
extend.type = "bi.mid_plus_group_node"; |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
extend.type = "bi.last_plus_group_node"; |
|
|
|
extend.type = "bi.last_plus_group_node"; |
|
|
@ -48521,7 +48528,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, { |
|
|
|
node.id = BI.UUID(); |
|
|
|
node.id = BI.UUID(); |
|
|
|
} |
|
|
|
} |
|
|
|
extend.pNode = pNode; |
|
|
|
extend.pNode = pNode; |
|
|
|
if (node.isParent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
if (node.isParent === true || node.parent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
extend.type = "bi.multilayer_select_tree_mid_plus_group_node"; |
|
|
|
extend.type = "bi.multilayer_select_tree_mid_plus_group_node"; |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
extend.type = "bi.multilayer_select_tree_last_plus_group_node"; |
|
|
|
extend.type = "bi.multilayer_select_tree_last_plus_group_node"; |
|
|
@ -49212,7 +49219,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { |
|
|
|
node.id = BI.UUID(); |
|
|
|
node.id = BI.UUID(); |
|
|
|
} |
|
|
|
} |
|
|
|
extend.pNode = pNode; |
|
|
|
extend.pNode = pNode; |
|
|
|
if (node.isParent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
if (node.isParent === true || node.parent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
extend.type = "bi.multilayer_single_tree_mid_plus_group_node"; |
|
|
|
extend.type = "bi.multilayer_single_tree_mid_plus_group_node"; |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
extend.type = "bi.multilayer_single_tree_last_plus_group_node"; |
|
|
|
extend.type = "bi.multilayer_single_tree_last_plus_group_node"; |
|
|
@ -57827,7 +57834,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { |
|
|
|
var extend = {layer: layer}; |
|
|
|
var extend = {layer: layer}; |
|
|
|
node.id = node.id || BI.UUID(); |
|
|
|
node.id = node.id || BI.UUID(); |
|
|
|
extend.pNode = pNode; |
|
|
|
extend.pNode = pNode; |
|
|
|
if (node.isParent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
if (node.isParent === true || node.parent === true || BI.isNotEmptyArray(node.children)) { |
|
|
|
extend.type = "bi.select_tree_mid_plus_group_node"; |
|
|
|
extend.type = "bi.select_tree_mid_plus_group_node"; |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
if (i === nodes.length - 1) { |
|
|
|
extend.type = "bi.select_tree_last_plus_group_node"; |
|
|
|
extend.type = "bi.select_tree_last_plus_group_node"; |
|
|
|