|
|
|
@ -54,7 +54,7 @@ class Dialog {
|
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Vertical, |
|
|
|
|
items:[ |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: 'bi.layout', |
|
|
|
|
cls: 'loading-icon', |
|
|
|
@ -80,7 +80,7 @@ class Dialog {
|
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Vertical, |
|
|
|
|
items:[ |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: 'bi.layout', |
|
|
|
|
cls: 'success-icon', |
|
|
|
@ -105,7 +105,7 @@ class Dialog {
|
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Vertical, |
|
|
|
|
items:[ |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: 'bi.layout', |
|
|
|
|
cls: 'error-icon', |
|
|
|
@ -135,11 +135,11 @@ class Dialog {
|
|
|
|
|
{ |
|
|
|
|
type: 'bi.center_adapt', |
|
|
|
|
cls: 'show-content', |
|
|
|
|
tgap:10, |
|
|
|
|
tgap: 10, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Vertical, |
|
|
|
|
items:[ |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Layout, |
|
|
|
|
cls: 'error-icon', |
|
|
|
@ -152,14 +152,14 @@ class Dialog {
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: Left, |
|
|
|
|
cls:'buttons', |
|
|
|
|
items:[ |
|
|
|
|
cls: 'buttons', |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Button, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Detailed_Information'), |
|
|
|
|
level: 'ignore', |
|
|
|
|
handler() { |
|
|
|
|
const isHide = this.getText() === BI.i18nText('Dec-Dcm_Connection_Detailed_Information'); |
|
|
|
|
const isHide = !More.isVisible(); |
|
|
|
|
Popover.element.css({ |
|
|
|
|
height: isHide ? '290' : '220', |
|
|
|
|
}); |
|
|
|
@ -191,9 +191,11 @@ class Dialog {
|
|
|
|
|
], |
|
|
|
|
}, { |
|
|
|
|
type: Label, |
|
|
|
|
cls:'show-more', |
|
|
|
|
text:more, |
|
|
|
|
cls: 'show-more', |
|
|
|
|
text: more, |
|
|
|
|
invisible: true, |
|
|
|
|
height: 73, |
|
|
|
|
value: false, |
|
|
|
|
ref(ref: any) { |
|
|
|
|
More = ref; |
|
|
|
|
}, |
|
|
|
@ -202,8 +204,8 @@ class Dialog {
|
|
|
|
|
}; |
|
|
|
|
BI.Popovers.create(id, { |
|
|
|
|
type: 'bi.popover', |
|
|
|
|
cls:'popover-notitle', |
|
|
|
|
extraCls:'bi-custom-show', |
|
|
|
|
cls: 'popover-notitle', |
|
|
|
|
extraCls: 'bi-custom-show', |
|
|
|
|
size: 'normal', |
|
|
|
|
width: 450, |
|
|
|
|
height: 220, |
|
|
|
@ -223,8 +225,8 @@ class Dialog {
|
|
|
|
|
const id = BI.UUID(); |
|
|
|
|
BI.Popovers.create(id, { |
|
|
|
|
type: 'bi.popover', |
|
|
|
|
cls:'popover-notitle', |
|
|
|
|
extraCls:'bi-custom-show', |
|
|
|
|
cls: 'popover-notitle', |
|
|
|
|
extraCls: 'bi-custom-show', |
|
|
|
|
size: 'normal', |
|
|
|
|
width: 450, |
|
|
|
|
height: 220, |
|
|
|
|