|
|
@ -53813,13 +53813,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; |
|
|
|
|
|
|
|
if (currentVal !== self.value) { |
|
|
|
|
|
|
|
self.setValue(currentVal); |
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
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; |
|
|
|
|
|
|
|
if (currentVal !== self.value) { |
|
|
|
|
|
|
|
self.setValue(currentVal); |
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.TextValueDownListCombo.EVENT_CHANGE); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -53838,6 +53844,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_digest: function (v) { |
|
|
|
_digest: function (v) { |
|
|
|
|
|
|
|
this.value = v; |
|
|
|
return this.valueMap[v]; |
|
|
|
return this.valueMap[v]; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -57327,7 +57334,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"; |
|
|
@ -57480,6 +57487,7 @@ BI.DisplayTree = BI.inherit(BI.TreeView, { |
|
|
|
nodes = BI.DisplayTree.superclass._dealWidthNodes.apply(this, arguments); |
|
|
|
nodes = BI.DisplayTree.superclass._dealWidthNodes.apply(this, arguments); |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
BI.each(nodes, function (i, node) { |
|
|
|
BI.each(nodes, function (i, node) { |
|
|
|
|
|
|
|
node.isParent = node.isParent || node.parent; |
|
|
|
if (node.text == null) { |
|
|
|
if (node.text == null) { |
|
|
|
if (node.count > 0) { |
|
|
|
if (node.count > 0) { |
|
|
|
node.text = node.value + "(" + BI.i18nText("BI-Basic_Altogether") + node.count + BI.i18nText("BI-Basic_Count") + ")"; |
|
|
|
node.text = node.value + "(" + BI.i18nText("BI-Basic_Altogether") + node.count + BI.i18nText("BI-Basic_Count") + ")"; |
|
|
@ -64857,7 +64865,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"; |
|
|
@ -65548,7 +65556,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"; |
|
|
@ -74163,7 +74171,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"; |
|
|
|