|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import {WidgetType, Vertical, MultiSelectItem, TextAreaEditor, Editor, Button, TextValueCombo} from '@ui/index'; |
|
|
|
|
import {WidgetType, Vertical, MultiSelectItem, TextAreaEditor, Button, TextValueCombo, TextEditor} from '@ui/index'; |
|
|
|
|
import {LinkType} from '@ui/type'; |
|
|
|
|
import {CONNECT_CHARSET} from '@private/constants'; |
|
|
|
|
import Model from '../../link_set.model'; |
|
|
|
@ -23,8 +23,7 @@ const Widget: WidgetType = {
|
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_ConnectionName'), |
|
|
|
|
hint: BI.i18nText('Dec-Dcm_Connection_Form_ConnectionName-Change-Confirm'), |
|
|
|
|
form: { |
|
|
|
|
type: Editor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
type: TextEditor, |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.connectionName, |
|
|
|
|
listeners: [{ |
|
|
|
@ -61,8 +60,7 @@ const Widget: WidgetType = {
|
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_URL'), |
|
|
|
|
form: { |
|
|
|
|
type: Editor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
type: TextEditor, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
|
value: linkSelected.url, |
|
|
|
@ -106,8 +104,7 @@ const Widget: WidgetType = {
|
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_UserName'), |
|
|
|
|
form: { |
|
|
|
|
type: Editor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
type: TextEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
@ -127,8 +124,7 @@ const Widget: WidgetType = {
|
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Password'), |
|
|
|
|
form: { |
|
|
|
|
type: Editor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
type: TextEditor, |
|
|
|
|
inputType: 'password', |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
@ -155,7 +151,6 @@ const Widget: WidgetType = {
|
|
|
|
|
height: 100, |
|
|
|
|
form: { |
|
|
|
|
type: TextAreaEditor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 300, |
|
|
|
@ -195,8 +190,7 @@ const Widget: WidgetType = {
|
|
|
|
|
type: FormItem, |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Connection_Max_Number'), |
|
|
|
|
form: { |
|
|
|
|
type: Editor, |
|
|
|
|
cls: 'bi-border', |
|
|
|
|
type: TextEditor, |
|
|
|
|
allowBlank: true, |
|
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
|
width: 60, |
|
|
|
|