|
|
@ -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({ |
|
|
@ -66884,6 +66887,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -66896,9 +66900,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); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -66952,6 +66958,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; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -66959,6 +66966,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67282,6 +67290,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67294,9 +67303,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); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67327,6 +67338,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; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67334,6 +67347,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67668,6 +67682,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67680,9 +67695,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); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67713,6 +67730,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; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -67720,6 +67738,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72855,6 +72874,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72867,9 +72887,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); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72925,6 +72947,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; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -72932,6 +72955,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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -76566,10 +76590,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, |
|
|
@ -76596,7 +76619,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); |
|
|
|
} |
|
|
|
} |
|
|
@ -76668,7 +76691,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) { |
|
|
|