|
|
@ -35571,6 +35571,9 @@ BI.Pane = BI.inherit(BI.Widget, { |
|
|
|
width: 5 |
|
|
|
width: 5 |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
// pane在同步方式下由items决定tipText的显示与否
|
|
|
|
|
|
|
|
// loading的异步情况下由loaded后对面板的populate的时机决定
|
|
|
|
|
|
|
|
this.setTipVisible(false); |
|
|
|
if (o.overlap === true) { |
|
|
|
if (o.overlap === true) { |
|
|
|
if (!BI.Layers.has(this.getName())) { |
|
|
|
if (!BI.Layers.has(this.getName())) { |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
@ -66882,6 +66885,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -66894,9 +66898,11 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
var newItems = []; |
|
|
|
var newItems = []; |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
} |
|
|
|
} |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
newItems.push(item); |
|
|
|
newItems.push(item); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -66950,6 +66956,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
if (!map[v]) { |
|
|
|
if (!map[v]) { |
|
|
|
self.storeValue.value.push(v); |
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
map[v] = v; |
|
|
|
map[v] = v; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -66957,6 +66964,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67280,6 +67288,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67292,9 +67301,11 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
var newItems = []; |
|
|
|
var newItems = []; |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
} |
|
|
|
} |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
newItems.push(item); |
|
|
|
newItems.push(item); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67325,6 +67336,8 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
if (!map[v]) { |
|
|
|
if (!map[v]) { |
|
|
|
self.storeValue.value.push(v); |
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
|
|
|
// value更新的时候assist也需要更新
|
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
map[v] = v; |
|
|
|
map[v] = v; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67332,6 +67345,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67666,6 +67680,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67678,9 +67693,11 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, { |
|
|
|
var newItems = []; |
|
|
|
var newItems = []; |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
} |
|
|
|
} |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
newItems.push(item); |
|
|
|
newItems.push(item); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67711,6 +67728,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
if (!map[v]) { |
|
|
|
if (!map[v]) { |
|
|
|
self.storeValue.value.push(v); |
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
map[v] = v; |
|
|
|
map[v] = v; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67718,6 +67736,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72853,6 +72872,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
BI.each(items, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72865,9 +72885,11 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
var newItems = []; |
|
|
|
var newItems = []; |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
delete selectedMap[items[i]]; |
|
|
|
} |
|
|
|
} |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
newItems.push(item); |
|
|
|
newItems.push(item); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72923,6 +72945,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
if (!map[v]) { |
|
|
|
if (!map[v]) { |
|
|
|
self.storeValue.value.push(v); |
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
map[v] = v; |
|
|
|
map[v] = v; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72930,6 +72953,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
change = true; |
|
|
|
change = true; |
|
|
|
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
delete map[v]; |
|
|
|
delete map[v]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -76564,10 +76588,9 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, { |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.vertical", |
|
|
|
type: "bi.vertical", |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
type: "bi.absolute", |
|
|
|
type: "bi.horizontal_auto", |
|
|
|
items: [this.label] |
|
|
|
items: [this.label] |
|
|
|
}], |
|
|
|
}], |
|
|
|
rgap: c.EDITOR_WIDTH, |
|
|
|
|
|
|
|
height: c.EDITOR_HEIGHT |
|
|
|
height: c.EDITOR_HEIGHT |
|
|
|
}, |
|
|
|
}, |
|
|
|
top: 0, |
|
|
|
top: 0, |
|
|
@ -76594,7 +76617,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, { |
|
|
|
self._setSliderPosition(significantPercent); |
|
|
|
self._setSliderPosition(significantPercent); |
|
|
|
var v = self._getValueByPercent(significantPercent); |
|
|
|
var v = self._getValueByPercent(significantPercent); |
|
|
|
v = o.digit === false ? v : v.toFixed(o.digit); |
|
|
|
v = o.digit === false ? v : v.toFixed(o.digit); |
|
|
|
self.label.setValue(v); |
|
|
|
self.label.setValue(v + o.unit); |
|
|
|
self.value = v; |
|
|
|
self.value = v; |
|
|
|
self.fireEvent(BI.SingleSliderLabel.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.SingleSliderLabel.EVENT_CHANGE); |
|
|
|
} |
|
|
|
} |
|
|
@ -76666,7 +76689,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setLabelPosition: function (percent) { |
|
|
|
_setLabelPosition: function (percent) { |
|
|
|
this.label.element.css({left: percent + "%"}); |
|
|
|
// this.label.element.css({left: percent + "%"});
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setSliderPosition: function (percent) { |
|
|
|
_setSliderPosition: function (percent) { |
|
|
|