|
|
@ -1,5 +1,5 @@ |
|
|
|
import { shortcut } from '@core/core'; |
|
|
|
import { shortcut } from '@core/core'; |
|
|
|
import { Vertical, TextEditor, TextValueCombo, Label, TextAreaEditor, Editor, EdirotIconCheckCombo, Left, TextButton } from 'ui'; |
|
|
|
import { Vertical, TextEditor, TextValueCombo, Label, TextAreaEditor, Editor, EdirotIconCheckCombo, Left, TextButton, Layout } from 'ui'; |
|
|
|
import { CollapseXtype, EVENT_CHANGE } from 'src/modules/components/collapse/collapse'; |
|
|
|
import { CollapseXtype, EVENT_CHANGE } from 'src/modules/components/collapse/collapse'; |
|
|
|
import { FormItemXtype } from '../../components/form_item/form_item'; |
|
|
|
import { FormItemXtype } from '../../components/form_item/form_item'; |
|
|
|
import { Connection, ConnectionJDBC, ConnectionPoolJDBC } from 'src/modules/crud/crud.typings'; |
|
|
|
import { Connection, ConnectionJDBC, ConnectionPoolJDBC } from 'src/modules/crud/crud.typings'; |
|
|
@ -313,6 +313,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: FormItemXtype, |
|
|
|
type: FormItemXtype, |
|
|
|
invisible: !databaseType.hasSchema, |
|
|
|
invisible: !databaseType.hasSchema, |
|
|
|
|
|
|
|
height: 64, |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Pattern'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Pattern'), |
|
|
|
forms: [{ |
|
|
|
forms: [{ |
|
|
|
type: Vertical, |
|
|
|
type: Vertical, |
|
|
@ -344,6 +345,11 @@ export class FormJdbc extends BI.Widget { |
|
|
|
}], |
|
|
|
}], |
|
|
|
}], |
|
|
|
}], |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
type: Layout, |
|
|
|
|
|
|
|
cls: 'bi-border-top', |
|
|
|
|
|
|
|
bgap: 8, |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: FormItemXtype, |
|
|
|
type: FormItemXtype, |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_URL'), |
|
|
|
name: BI.i18nText('Dec-Dcm_Connection_Form_Database_URL'), |
|
|
@ -383,6 +389,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: Vertical, |
|
|
|
type: Vertical, |
|
|
|
vgap, |
|
|
|
vgap, |
|
|
|
|
|
|
|
tgap: -15, |
|
|
|
invisible: true, |
|
|
|
invisible: true, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.advancedSet = _ref; |
|
|
|
this.advancedSet = _ref; |
|
|
@ -486,6 +493,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: Label, |
|
|
|
type: Label, |
|
|
|
lgap: 5, |
|
|
|
lgap: 5, |
|
|
|
|
|
|
|
height: CONNECTION_LAYOUT.labelHeight, |
|
|
|
text: BI.i18nText('Dec-Dcm_Millisecond'), |
|
|
|
text: BI.i18nText('Dec-Dcm_Millisecond'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
@ -573,6 +581,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: Label, |
|
|
|
type: Label, |
|
|
|
lgap: 5, |
|
|
|
lgap: 5, |
|
|
|
|
|
|
|
height: CONNECTION_LAYOUT.labelHeight, |
|
|
|
text: BI.i18nText('Dec-Dcm_Millisecond'), |
|
|
|
text: BI.i18nText('Dec-Dcm_Millisecond'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
@ -618,6 +627,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: Label, |
|
|
|
type: Label, |
|
|
|
lgap: 5, |
|
|
|
lgap: 5, |
|
|
|
|
|
|
|
height: CONNECTION_LAYOUT.labelHeight, |
|
|
|
text: BI.i18nText('BI-Basic_Seconds'), |
|
|
|
text: BI.i18nText('BI-Basic_Seconds'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|