|
|
@ -15903,7 +15903,7 @@ BI.ShowAction = BI.inherit(BI.Action, { |
|
|
|
|
|
|
|
|
|
|
|
// replace the html special tags
|
|
|
|
// replace the html special tags
|
|
|
|
BI.htmlEncode = function (text) { |
|
|
|
BI.htmlEncode = function (text) { |
|
|
|
return text === null ? "" : BI.replaceAll(text + "", "&|\"|<|>|\\s", function (v) { |
|
|
|
return BI.isNull(text) ? "" : BI.replaceAll(text + "", "&|\"|<|>|\\s", function (v) { |
|
|
|
switch (v) { |
|
|
|
switch (v) { |
|
|
|
case "&": |
|
|
|
case "&": |
|
|
|
return "&"; |
|
|
|
return "&"; |
|
|
@ -15921,7 +15921,7 @@ BI.ShowAction = BI.inherit(BI.Action, { |
|
|
|
}; |
|
|
|
}; |
|
|
|
// html decode
|
|
|
|
// html decode
|
|
|
|
BI.htmlDecode = function (text) { |
|
|
|
BI.htmlDecode = function (text) { |
|
|
|
return text === null ? "" : BI.replaceAll(text + "", "&|"|<|>| ", function (v) { |
|
|
|
return BI.isNull(text) ? "" : BI.replaceAll(text + "", "&|"|<|>| ", function (v) { |
|
|
|
switch (v) { |
|
|
|
switch (v) { |
|
|
|
case "&": |
|
|
|
case "&": |
|
|
|
return "&"; |
|
|
|
return "&"; |
|
|
@ -40437,6 +40437,8 @@ BI.Msg = function () { |
|
|
|
center: { |
|
|
|
center: { |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
|
|
|
|
vgap: 10, |
|
|
|
|
|
|
|
hgap: 20, |
|
|
|
whiteSpace: "normal", |
|
|
|
whiteSpace: "normal", |
|
|
|
text: message |
|
|
|
text: message |
|
|
|
} |
|
|
|
} |
|
|
@ -45992,16 +45994,18 @@ BI.Label = BI.inherit(BI.Single, { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (o.whiteSpace == "normal") { |
|
|
|
if (o.whiteSpace == "normal") { |
|
|
|
this.text = BI.createWidget(json); |
|
|
|
BI.extend(json, { |
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.center_adapt", |
|
|
|
|
|
|
|
scrollable: o.whiteSpace === "normal", |
|
|
|
|
|
|
|
hgap: o.hgap, |
|
|
|
hgap: o.hgap, |
|
|
|
vgap: o.vgap, |
|
|
|
vgap: o.vgap, |
|
|
|
lgap: o.lgap, |
|
|
|
lgap: o.lgap, |
|
|
|
rgap: o.rgap, |
|
|
|
rgap: o.rgap, |
|
|
|
tgap: o.tgap, |
|
|
|
tgap: o.tgap, |
|
|
|
bgap: o.bgap, |
|
|
|
bgap: o.bgap |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.text = BI.createWidget(json); |
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.center_adapt", |
|
|
|
|
|
|
|
scrollable: o.whiteSpace === "normal", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
items: [this.text] |
|
|
|
items: [this.text] |
|
|
|
}); |
|
|
|
}); |
|
|
@ -46053,15 +46057,17 @@ BI.Label = BI.inherit(BI.Single, { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (o.whiteSpace == "normal") { |
|
|
|
if (o.whiteSpace == "normal") { |
|
|
|
this.text = BI.createWidget(json); |
|
|
|
BI.extend(json, { |
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.center_adapt", |
|
|
|
|
|
|
|
hgap: o.hgap, |
|
|
|
hgap: o.hgap, |
|
|
|
vgap: o.vgap, |
|
|
|
vgap: o.vgap, |
|
|
|
lgap: o.lgap, |
|
|
|
lgap: o.lgap, |
|
|
|
rgap: o.rgap, |
|
|
|
rgap: o.rgap, |
|
|
|
tgap: o.tgap, |
|
|
|
tgap: o.tgap, |
|
|
|
bgap: o.bgap, |
|
|
|
bgap: o.bgap |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.text = BI.createWidget(json); |
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.center_adapt", |
|
|
|
scrollable: o.whiteSpace === "normal", |
|
|
|
scrollable: o.whiteSpace === "normal", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
items: [this.text] |
|
|
|
items: [this.text] |
|
|
|