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