|
|
@ -19876,9 +19876,9 @@ BI.PopoverSection.EVENT_CLOSE = "EVENT_CLOSE";;(function () { |
|
|
|
var numMod = format.indexOf(';'); |
|
|
|
var numMod = format.indexOf(';'); |
|
|
|
if (numMod > -1) { |
|
|
|
if (numMod > -1) { |
|
|
|
if (text >= 0) { |
|
|
|
if (text >= 0) { |
|
|
|
return BI._numberFormat(text + "", format.substring(0, numMod)); |
|
|
|
return _numberFormat(text + "", format.substring(0, numMod)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return BI._numberFormat((-text) + "", format.substr(numMod + 1)); |
|
|
|
return _numberFormat((-text) + "", format.substr(numMod + 1)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
var tp = text.split('.'), fp = format.split('.'), |
|
|
|
var tp = text.split('.'), fp = format.split('.'), |
|
|
@ -20441,7 +20441,7 @@ BI.BroadcastController = BI.inherit(BI.Controller, { |
|
|
|
} |
|
|
|
} |
|
|
|
this._broadcasts[name].push(fn); |
|
|
|
this._broadcasts[name].push(fn); |
|
|
|
return function () { |
|
|
|
return function () { |
|
|
|
self._broadcasts[name].remove(fn); |
|
|
|
self.remove(name, fn); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -20455,6 +20455,9 @@ BI.BroadcastController = BI.inherit(BI.Controller, { |
|
|
|
remove: function (name, fn) { |
|
|
|
remove: function (name, fn) { |
|
|
|
if (fn) { |
|
|
|
if (fn) { |
|
|
|
this._broadcasts[name].remove(fn); |
|
|
|
this._broadcasts[name].remove(fn); |
|
|
|
|
|
|
|
if (this._broadcasts[name].length === 0) { |
|
|
|
|
|
|
|
delete this._broadcasts[name]; |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
delete this._broadcasts[name]; |
|
|
|
delete this._broadcasts[name]; |
|
|
|
} |
|
|
|
} |
|
|
@ -21041,11 +21044,14 @@ BI.ResizeController = BI.inherit(BI.Controller, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
add: function (name, resizer) { |
|
|
|
add: function (name, resizer) { |
|
|
|
|
|
|
|
var self = this; |
|
|
|
if (this.has(name)) { |
|
|
|
if (this.has(name)) { |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
this.resizerManger[name] = resizer; |
|
|
|
this.resizerManger[name] = resizer; |
|
|
|
return this; |
|
|
|
return function () { |
|
|
|
|
|
|
|
self.remove(name); |
|
|
|
|
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
get: function (name) { |
|
|
|
get: function (name) { |
|
|
|