|
|
|
@ -1,8 +1,7 @@
|
|
|
|
|
import {WidgetType, Vertical, MultiSelectItem, TextAreaEditor, Button, TextValueCombo, TextEditor} from '@ui/index'; |
|
|
|
|
import {WidgetType, Vertical, MultiSelectItem, TextAreaEditor, Button, TextValueCombo, TextEditor, VerticalAdapt, Label} from '@ui/index'; |
|
|
|
|
import {LinkType} from '@ui/type'; |
|
|
|
|
import {CONNECT_CHARSET} from '@private/constants'; |
|
|
|
|
import Model from '../../link_set.model'; |
|
|
|
|
import FormItem from '@shared/components/form_item'; |
|
|
|
|
import Title from '@shared/components/title'; |
|
|
|
|
import {getDrivers, connectNameChecker} from './right_edit.service'; |
|
|
|
|
let connectionName: any = null; |
|
|
|
@ -31,236 +30,340 @@ const Widget: WidgetType = {
|
|
|
|
|
vgap: 10, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_ConnectionName'), |
|
|
|
|
hint: BI.i18nText('Dec-Dcm_Connection_Form_ConnectionName-Change-Confirm'), |
|
|
|
|
form: { |
|
|
|
|
type: TextEditor, |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.connectionName, |
|
|
|
|
ref(ref: any) { |
|
|
|
|
connectionName = ref; |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_ConnectionName'), |
|
|
|
|
}, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
connectionName: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}, { |
|
|
|
|
eventName: BI.Editor.EVENT_FOCUS, |
|
|
|
|
action() { |
|
|
|
|
that.store.setConnectionNameErr(''); |
|
|
|
|
{ |
|
|
|
|
type: TextEditor, |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.connectionName, |
|
|
|
|
ref(ref: any) { |
|
|
|
|
connectionName = ref; |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
connectionName: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}, { |
|
|
|
|
eventName: BI.Editor.EVENT_FOCUS, |
|
|
|
|
action() { |
|
|
|
|
that.store.setConnectionNameErr(''); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-water-mark', |
|
|
|
|
lgap: 5, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_ConnectionName-Change-Confirm'), |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_First_Step'), |
|
|
|
|
height: 420, |
|
|
|
|
form: { |
|
|
|
|
type: Vertical, |
|
|
|
|
vgap: 10, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Driver'), |
|
|
|
|
form: { |
|
|
|
|
type: TextValueCombo, |
|
|
|
|
width: 300, |
|
|
|
|
text: linkSelected.driver, |
|
|
|
|
items: getDrivers(linkSelected), |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextValueCombo.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
driver: this.getValue()[0], |
|
|
|
|
}); |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_First_Step'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: Vertical, |
|
|
|
|
vgap: 10, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Driver'), |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_URL'), |
|
|
|
|
form: { |
|
|
|
|
type: TextEditor, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.url, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
url: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
{ |
|
|
|
|
type: TextValueCombo, |
|
|
|
|
width: 300, |
|
|
|
|
text: linkSelected.driver, |
|
|
|
|
items: getDrivers(linkSelected), |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextValueCombo.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
driver: this.getValue()[0], |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_OriginalCharsetName'), |
|
|
|
|
form: { |
|
|
|
|
type: TextValueCombo, |
|
|
|
|
width: 300, |
|
|
|
|
text: linkSelected.originalCharsetName === '' ? BI.i18nText('Dec-Dcm_Connection_Form_Auto') : linkSelected.originalCharsetName, |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Auto'), |
|
|
|
|
value: '', |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_URL'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: TextEditor, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.url, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
url: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
...CONNECT_CHARSET, |
|
|
|
|
], |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextValueCombo.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
originalCharsetName: this.getValue()[0], |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_OriginalCharsetName'), |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
{ |
|
|
|
|
type: TextValueCombo, |
|
|
|
|
width: 300, |
|
|
|
|
text: linkSelected.originalCharsetName === '' ? BI.i18nText('Dec-Dcm_Connection_Form_Auto') : linkSelected.originalCharsetName, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Auto'), |
|
|
|
|
value: '', |
|
|
|
|
}, |
|
|
|
|
...CONNECT_CHARSET, |
|
|
|
|
], |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextValueCombo.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
originalCharsetName: this.getValue()[0], |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_UserName'), |
|
|
|
|
form: { |
|
|
|
|
type: TextEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.user, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
user: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_UserName'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: TextEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.user, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
user: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
|
form: { |
|
|
|
|
type: TextEditor, |
|
|
|
|
inputType: 'password', |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.password, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
password: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: TextEditor, |
|
|
|
|
inputType: 'password', |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.password, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
password: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: Title, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Pool_Properties'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_SQL_Validation_Query'), |
|
|
|
|
height: 100, |
|
|
|
|
form: { |
|
|
|
|
type: TextAreaEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
height: 100, |
|
|
|
|
value: linkSelected.validationQuery, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
validationQuery: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
{ |
|
|
|
|
type: Title, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Pool_Properties'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_SQL_Validation_Query'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: TextAreaEditor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
height: 100, |
|
|
|
|
value: linkSelected.validationQuery, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
validationQuery: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Connection-Check'), |
|
|
|
|
form: { |
|
|
|
|
type: MultiSelectItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Yes'), |
|
|
|
|
selected: linkSelected.testOnBorrow, |
|
|
|
|
width: 60, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
testOnBorrow: this.isSelected(), |
|
|
|
|
}); |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Connection-Check'), |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
{ |
|
|
|
|
type: MultiSelectItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Yes'), |
|
|
|
|
selected: linkSelected.testOnBorrow, |
|
|
|
|
width: 60, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
testOnBorrow: this.isSelected(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Connection_Max_Number'), |
|
|
|
|
form: { |
|
|
|
|
type: TextEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 60, |
|
|
|
|
value: linkSelected.maxActive, |
|
|
|
|
errorText: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input-Number'), |
|
|
|
|
validationChecker: connectNameChecker, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
maxActive: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
{ |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Connection_Max_Number'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: TextEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 60, |
|
|
|
|
value: linkSelected.maxActive, |
|
|
|
|
errorText: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input-Number'), |
|
|
|
|
validationChecker: connectNameChecker, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.Editor.EVENT_CHANGE, |
|
|
|
|
action() { |
|
|
|
|
that.store.setLinkUpdate({ |
|
|
|
|
...that.model.linkUpdate, |
|
|
|
|
maxActive: this.getValue(), |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
}, |
|
|
|
|
}], |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Second_Step'), |
|
|
|
|
form: { |
|
|
|
|
type: Button, |
|
|
|
|
width: 80, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Test_Connection'), |
|
|
|
|
level: 'ignore', |
|
|
|
|
}, |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Second_Step'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: Button, |
|
|
|
|
width: 80, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Test_Connection'), |
|
|
|
|
level: 'ignore', |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Third_Step'), |
|
|
|
|
form: { |
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Pattern'), |
|
|
|
|
form: { |
|
|
|
|
type: VerticalAdapt, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Third_Step'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: Label, |
|
|
|
|
cls: 'bi-font-bold', |
|
|
|
|
width: 115, |
|
|
|
|
textAlign: 'left', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Pattern'), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: TextEditor, |
|
|
|
|
width: 300, |
|
|
|
|
disabled: true, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|