diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index 49b2967468..6aac211ad0 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -11,6 +11,8 @@ declare module '@vue/runtime-core' { ACard: typeof import('ant-design-vue/es')['Card'] ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] ACol: typeof import('ant-design-vue/es')['Col'] + ACollapse: typeof import('ant-design-vue/es')['Collapse'] + ACollapsePanel: typeof import('ant-design-vue/es')['CollapsePanel'] ADivider: typeof import('ant-design-vue/es')['Divider'] ADropdown: typeof import('ant-design-vue/es')['Dropdown'] AForm: typeof import('ant-design-vue/es')['Form'] @@ -31,6 +33,7 @@ declare module '@vue/runtime-core' { ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] ASubMenu: typeof import('ant-design-vue/es')['SubMenu'] ATable: typeof import('ant-design-vue/es')['Table'] + ATooltip: typeof import('ant-design-vue/es')['Tooltip'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/packages/nc-gui-v2/pages/projects/index/create-external.vue b/packages/nc-gui-v2/pages/projects/index/create-external.vue index 253a39ad0f..7550f9af14 100644 --- a/packages/nc-gui-v2/pages/projects/index/create-external.vue +++ b/packages/nc-gui-v2/pages/projects/index/create-external.vue @@ -12,6 +12,7 @@ import { getDefaultConnectionConfig, getTestDatabaseName, projectTitleValidator, + sslUsage, } from '~/utils/projectCreateUtils' import MaterialSymbolsRocketLaunchOutline from '~icons/material-symbols/rocket-launch-outline' @@ -68,6 +69,10 @@ const testConnection = async () => { ...projectDatasource.value.connection, database: getTestDatabaseName(projectDatasource.value), }, + inflection: { + tableName: 'camelize', + columnName: 'camelize', + }, } const result = await $api.utils.testConnection(testConnectionConfig) @@ -108,6 +113,8 @@ const onClientChange = () => { formState.dataSource = { ...getDefaultConnectionConfig(formState.dataSource.client) } } +const inflectionTypes = ['camelize', 'none'] + // populate database name based on title // watch(()=>formStat) @@ -161,79 +168,6 @@ const onClientChange = () => { - - - -

- -

-

Click or drag file to this area to upload

-

Support for a single or bulk upload.

-
-
-
--> - - - Submit - - - - - - - - - - - - - - - - - - - - - - - - +
+ + + + {{ $t('labels.clientCert') }} + + + + + + {{ $t('labels.clientKey') }} + + + + + + {{ $t('labels.serverCA') }} + + +
+ -
- - - {{ $t('general.create') }} - + + + + + {{ client.text }} + + + + + + + + {{ client.text }} + + + + + +
+ + + {{ $t('activity.editConnJson') }} + +
+ + - <!– –> - <!– todo:implement test connection –> - <!– - <!– Test Database Connection –> - {{ $t('activity.testDbConn') }} - –> -
- - - - --> + +
+ Submit + Test Connection +
+
+ + - + diff --git a/packages/nc-gui-v2/pages/projects/index/create.vue b/packages/nc-gui-v2/pages/projects/index/create.vue index de8868fd4d..b6f313ecae 100644 --- a/packages/nc-gui-v2/pages/projects/index/create.vue +++ b/packages/nc-gui-v2/pages/projects/index/create.vue @@ -1,4 +1,5 @@