|
|
@ -1,5 +1,5 @@ |
|
|
|
import {Vertical, Editor, TextValueCombo, TextButton, Label} from '@ui'; |
|
|
|
import {Vertical, Editor, TextValueCombo, TextButton, Label} from '@ui'; |
|
|
|
import {factorys, otherAttributes, originalCharsetNames} from './jndi.service'; |
|
|
|
import {FACTORYS, OTHER_ATTRIBUTES, ORIGINAL_CHARSET_NAMES} from './jndi.service'; |
|
|
|
import FormItem from '@shared/components/form.item.component'; |
|
|
|
import FormItem from '@shared/components/form.item.component'; |
|
|
|
import {AttributeType, FormType} from './jdni.typing'; |
|
|
|
import {AttributeType, FormType} from './jdni.typing'; |
|
|
|
import './jdni.scss'; |
|
|
|
import './jdni.scss'; |
|
|
@ -46,7 +46,7 @@ const Widget = BI.inherit(BI.Widget, { |
|
|
|
cls: 'bi-border', |
|
|
|
cls: 'bi-border', |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
value: form.factory, |
|
|
|
value: form.factory, |
|
|
|
items: BI.map(factorys, (index: number, item: string) => { |
|
|
|
items: BI.map(FACTORYS, (index: number, item: string) => { |
|
|
|
return { |
|
|
|
return { |
|
|
|
text: item, |
|
|
|
text: item, |
|
|
|
value: item, |
|
|
|
value: item, |
|
|
@ -120,7 +120,7 @@ const Widget = BI.inherit(BI.Widget, { |
|
|
|
ref: _ref => { |
|
|
|
ref: _ref => { |
|
|
|
this.otherAttributesRef = _ref; |
|
|
|
this.otherAttributesRef = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
items: BI.map(otherAttributes, (index: number, item: AttributeType) => { |
|
|
|
items: BI.map(OTHER_ATTRIBUTES, (index: number, item: AttributeType) => { |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: FormItem, |
|
|
|
type: FormItem, |
|
|
|
text: item.text, |
|
|
|
text: item.text, |
|
|
@ -168,7 +168,7 @@ const Widget = BI.inherit(BI.Widget, { |
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Auto'), |
|
|
|
text: BI.i18nText('Dec-Dcm_Connection_Form_Auto'), |
|
|
|
value: form.originalCharsetName, |
|
|
|
value: form.originalCharsetName, |
|
|
|
}, |
|
|
|
}, |
|
|
|
...originalCharsetNames, |
|
|
|
...ORIGINAL_CHARSET_NAMES, |
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|