|
|
|
@ -26331,6 +26331,25 @@ BI.ShowAction = BI.inherit(BI.Action, {
|
|
|
|
|
})(jo); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
BI.encodeURIComponent = function (url) { |
|
|
|
|
BI.specialCharsMap = BI.specialCharsMap || {}; |
|
|
|
|
url = url.replaceAll(BI.keys(BI.specialCharsMap || []).join("|"), function (str) { |
|
|
|
|
return BI.specialCharsMap[str] || str; |
|
|
|
|
}); |
|
|
|
|
return window.encodeURIComponent(url); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
BI.decodeURIComponent = function (url) { |
|
|
|
|
var reserveSpecialCharsMap = {}; |
|
|
|
|
BI.each(BI.specialCharsMap, function (initialChar, encodeChar) { |
|
|
|
|
reserveSpecialCharsMap[encodeChar] = initialChar; |
|
|
|
|
}); |
|
|
|
|
url = url.replaceAll(BI.keys(reserveSpecialCharsMap || []).join("|"), function (str) { |
|
|
|
|
return reserveSpecialCharsMap[str] || str; |
|
|
|
|
}); |
|
|
|
|
return window.decodeURIComponent(url); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
BI.contentFormat = function (cv, fmt) { |
|
|
|
|
if (isEmpty(cv)) { |
|
|
|
|
// 原值为空,返回空字符
|
|
|
|
@ -51420,14 +51439,12 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
var items = { |
|
|
|
|
north: { |
|
|
|
|
el: { |
|
|
|
|
type: "bi.border", |
|
|
|
|
type: "bi.htape", |
|
|
|
|
cls: "bi-message-title bi-background", |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.dragger = _ref; |
|
|
|
|
}, |
|
|
|
|
items: { |
|
|
|
|
center: { |
|
|
|
|
el: { |
|
|
|
|
items: [{ |
|
|
|
|
type: "bi.absolute", |
|
|
|
|
items: [{ |
|
|
|
|
el: BI.isPlainObject(o.header) ? BI.createWidget(o.header, { |
|
|
|
@ -51444,9 +51461,7 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
right: 0, |
|
|
|
|
bottom: 0 |
|
|
|
|
}] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
east: { |
|
|
|
|
}, { |
|
|
|
|
el: { |
|
|
|
|
type: "bi.icon_button", |
|
|
|
|
cls: "bi-message-close close-font", |
|
|
|
@ -51455,9 +51470,8 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
self.close(); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
width: 60 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
width: 56 |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
height: this._constant.HEADER_HEIGHT |
|
|
|
|
}, |
|
|
|
|