@devtable/settings-form 10.1.0 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/account-list.d.ts +1 -2
- package/dist/account/add-account.d.ts +1 -2
- package/dist/account/delete-account.d.ts +1 -2
- package/dist/account/edit-account.d.ts +1 -2
- package/dist/account/login/form.d.ts +1 -2
- package/dist/account/login/index.d.ts +1 -2
- package/dist/api-key/add-api-key.d.ts +1 -2
- package/dist/api-key/api-key-list.d.ts +1 -2
- package/dist/api-key/delete-api-key.d.ts +1 -2
- package/dist/components/minimal-mocaco-editor.d.ts +1 -2
- package/dist/datasource/add-data-source/db-permission-tips.d.ts +1 -2
- package/dist/datasource/add-data-source/forms/database.d.ts +1 -2
- package/dist/datasource/add-data-source/forms/http.d.ts +1 -2
- package/dist/datasource/add-data-source/index.d.ts +1 -2
- package/dist/datasource/components/data-source-icon.d.ts +1 -2
- package/dist/datasource/components/function-string-field/function-string-editor.d.ts +1 -2
- package/dist/datasource/data-source-list.d.ts +1 -2
- package/dist/datasource/delete-data-source.d.ts +1 -2
- package/dist/datasource/edit-data-source/forms/http.d.ts +1 -2
- package/dist/datasource/edit-data-source/index.d.ts +1 -2
- package/dist/package-659e29fb.mjs +4 -0
- package/dist/settings-form.es.js +557 -469
- package/dist/settings-form.umd.js +16 -16
- package/dist/sql_snippet/add-sql_snippet.d.ts +1 -2
- package/dist/sql_snippet/delete-sql_snippet.d.ts +1 -2
- package/dist/sql_snippet/sql_snippet-list.d.ts +1 -2
- package/dist/sql_snippet/update-sql_snippet.d.ts +1 -2
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/package-eb53f5df.mjs +0 -76
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IAccountList {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
config: ISettingsFormConfig;
|
|
6
5
|
}
|
|
7
|
-
export declare function AccountList({ styles, config }: IAccountList): JSX.Element;
|
|
6
|
+
export declare function AccountList({ styles, config }: IAccountList): import('./react/jsx-runtime').JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IAddAccount {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
onSuccess: () => void;
|
|
6
5
|
initialRoleID: string;
|
|
7
6
|
}
|
|
8
|
-
export declare function AddAccount({ onSuccess, styles, initialRoleID }: IAddAccount): JSX.Element;
|
|
7
|
+
export declare function AddAccount({ onSuccess, styles, initialRoleID }: IAddAccount): import('./react/jsx-runtime').JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IDeleteAccount {
|
|
4
3
|
id: string;
|
|
@@ -6,5 +5,5 @@ interface IDeleteAccount {
|
|
|
6
5
|
onSuccess: () => void;
|
|
7
6
|
styles?: IStyles;
|
|
8
7
|
}
|
|
9
|
-
export declare function DeleteAccount({ id, name, onSuccess, styles }: IDeleteAccount): JSX.Element;
|
|
8
|
+
export declare function DeleteAccount({ id, name, onSuccess, styles }: IDeleteAccount): import('./react/jsx-runtime').JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IAccount } from '../api-caller/account.typed';
|
|
3
2
|
import { IStyles } from './styles';
|
|
4
3
|
interface IEditAccount {
|
|
@@ -6,5 +5,5 @@ interface IEditAccount {
|
|
|
6
5
|
onSuccess: () => void;
|
|
7
6
|
account: IAccount;
|
|
8
7
|
}
|
|
9
|
-
export declare function EditAccount({ account, onSuccess, styles }: IEditAccount): JSX.Element;
|
|
8
|
+
export declare function EditAccount({ account, onSuccess, styles }: IEditAccount): import('./react/jsx-runtime').JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ILoginResp } from '../../api-caller/account.typed';
|
|
3
2
|
import { IStyles } from '../styles';
|
|
4
3
|
interface ILoginForm {
|
|
5
4
|
postSubmit: (resp: ILoginResp) => void;
|
|
6
5
|
styles?: IStyles;
|
|
7
6
|
}
|
|
8
|
-
export declare function LoginForm({ postSubmit, styles }: ILoginForm): JSX.Element;
|
|
7
|
+
export declare function LoginForm({ postSubmit, styles }: ILoginForm): import('./react/jsx-runtime').JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ILoginResp } from '../../api-caller/account.typed';
|
|
3
2
|
import { IStyles } from '../styles';
|
|
4
3
|
interface ILogin {
|
|
@@ -6,5 +5,5 @@ interface ILogin {
|
|
|
6
5
|
config: ISettingsFormConfig;
|
|
7
6
|
onSuccess: (resp: ILoginResp) => void;
|
|
8
7
|
}
|
|
9
|
-
export declare function Login({ styles, config, onSuccess }: ILogin): JSX.Element;
|
|
8
|
+
export declare function Login({ styles, config, onSuccess }: ILogin): import('./react/jsx-runtime').JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IAddAPIKey {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
onSuccess: () => void;
|
|
6
5
|
initialRoleID: string;
|
|
7
6
|
}
|
|
8
|
-
export declare function AddAPIKey({ onSuccess, styles, initialRoleID }: IAddAPIKey): JSX.Element;
|
|
7
|
+
export declare function AddAPIKey({ onSuccess, styles, initialRoleID }: IAddAPIKey): import('./react/jsx-runtime').JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IAPIKeyList {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
config: ISettingsFormConfig;
|
|
6
5
|
}
|
|
7
|
-
export declare function APIKeyList({ styles, config }: IAPIKeyList): JSX.Element;
|
|
6
|
+
export declare function APIKeyList({ styles, config }: IAPIKeyList): import('./react/jsx-runtime').JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IDeleteAPIKey {
|
|
4
3
|
id: string;
|
|
@@ -6,5 +5,5 @@ interface IDeleteAPIKey {
|
|
|
6
5
|
onSuccess: () => void;
|
|
7
6
|
styles?: IStyles;
|
|
8
7
|
}
|
|
9
|
-
export declare function DeleteAPIKey({ id, name, onSuccess, styles }: IDeleteAPIKey): JSX.Element;
|
|
8
|
+
export declare function DeleteAPIKey({ id, name, onSuccess, styles }: IDeleteAPIKey): import('./react/jsx-runtime').JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface IMinimalMonacoEditor {
|
|
3
2
|
value: string;
|
|
4
3
|
onChange?: (v: string) => void;
|
|
5
4
|
height?: string;
|
|
6
5
|
defaultLanguage?: string;
|
|
7
6
|
}
|
|
8
|
-
export declare const MinimalMonacoEditor: ({ value, onChange, height, defaultLanguage, }: IMinimalMonacoEditor) => JSX.Element;
|
|
7
|
+
export declare const MinimalMonacoEditor: ({ value, onChange, height, defaultLanguage, }: IMinimalMonacoEditor) => import('./react/jsx-runtime').JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from '../styles';
|
|
3
2
|
interface IDBPermissionTips {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
}
|
|
6
|
-
export declare function DBPermissionTips({ styles }: IDBPermissionTips): JSX.Element;
|
|
5
|
+
export declare function DBPermissionTips({ styles }: IDBPermissionTips): import('./react/jsx-runtime').JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DataSourceType, TDataSourceConfig } from '../../../api-caller/datasource.typed';
|
|
3
2
|
import { IStyles } from '../../styles';
|
|
4
3
|
interface IFormValues {
|
|
@@ -11,5 +10,5 @@ interface IAddDataSourceForm {
|
|
|
11
10
|
styles?: IStyles;
|
|
12
11
|
type: 'postgresql' | 'mysql';
|
|
13
12
|
}
|
|
14
|
-
export declare function AddDataSourceForm_DB({ submit, styles, type }: IAddDataSourceForm): JSX.Element;
|
|
13
|
+
export declare function AddDataSourceForm_DB({ submit, styles, type }: IAddDataSourceForm): import('./react/jsx-runtime').JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DataSourceType, TDataSourceConfig_HTTP } from '../../../api-caller/datasource.typed';
|
|
3
2
|
import { IStyles } from '../../styles';
|
|
4
3
|
export declare const DEFAULT_HTTP_PROCESSING: {
|
|
@@ -14,5 +13,5 @@ interface IAddDataSourceForm {
|
|
|
14
13
|
submit: (values: IFormValues) => void;
|
|
15
14
|
styles?: IStyles;
|
|
16
15
|
}
|
|
17
|
-
export declare function AddDataSourceForm_HTTP({ submit, styles }: IAddDataSourceForm): JSX.Element;
|
|
16
|
+
export declare function AddDataSourceForm_HTTP({ submit, styles }: IAddDataSourceForm): import('./react/jsx-runtime').JSX.Element;
|
|
18
17
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from '../styles';
|
|
3
2
|
interface IAddDataSource {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
onSuccess: () => void;
|
|
6
5
|
}
|
|
7
|
-
export declare function AddDataSource({ onSuccess, styles }: IAddDataSource): JSX.Element;
|
|
6
|
+
export declare function AddDataSource({ onSuccess, styles }: IAddDataSource): import('./react/jsx-runtime').JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DataSourceType } from '../../api-caller/datasource.typed';
|
|
3
2
|
interface IProps {
|
|
4
3
|
type: DataSourceType;
|
|
5
4
|
}
|
|
6
|
-
export declare function DataSourceIcon({ type }: IProps): JSX.Element;
|
|
5
|
+
export declare function DataSourceIcon({ type }: IProps): import('./react/jsx-runtime').JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface IFunctionStringEditor {
|
|
3
2
|
value: string;
|
|
4
3
|
onChange: (v: string) => void;
|
|
5
4
|
}
|
|
6
|
-
export declare const FunctionStringEditor: ({ value, onChange }: IFunctionStringEditor) => JSX.Element;
|
|
5
|
+
export declare const FunctionStringEditor: ({ value, onChange }: IFunctionStringEditor) => import('./react/jsx-runtime').JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IDataSourceList {
|
|
4
3
|
styles?: IStyles;
|
|
5
4
|
config: ISettingsFormConfig;
|
|
6
5
|
}
|
|
7
|
-
export declare function DataSourceList({ styles, config }: IDataSourceList): JSX.Element;
|
|
6
|
+
export declare function DataSourceList({ styles, config }: IDataSourceList): import('./react/jsx-runtime').JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IStyles } from './styles';
|
|
3
2
|
interface IDeleteDataSource {
|
|
4
3
|
id: string;
|
|
@@ -7,5 +6,5 @@ interface IDeleteDataSource {
|
|
|
7
6
|
styles?: IStyles;
|
|
8
7
|
isProtected?: boolean;
|
|
9
8
|
}
|
|
10
|
-
export declare function DeleteDataSource({ id, name, isProtected, onSuccess, styles }: IDeleteDataSource): JSX.Element;
|
|
9
|
+
export declare function DeleteDataSource({ id, name, isProtected, onSuccess, styles }: IDeleteDataSource): import('./react/jsx-runtime').JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DataSourceType, TDataSourceConfig_HTTP } from '../../../api-caller/datasource.typed';
|
|
3
2
|
import { IStyles } from '../../styles';
|
|
4
3
|
export declare const DEFAULT_HTTP_PROCESSING: {
|
|
@@ -16,5 +15,5 @@ interface IEditDataSourceForm {
|
|
|
16
15
|
submit: (values: IFormValues) => void;
|
|
17
16
|
styles?: IStyles;
|
|
18
17
|
}
|
|
19
|
-
export declare function EditDataSourceForm_HTTP({ name, config, submit, styles }: IEditDataSourceForm): JSX.Element;
|
|
18
|
+
export declare function EditDataSourceForm_HTTP({ name, config, submit, styles }: IEditDataSourceForm): import('./react/jsx-runtime').JSX.Element;
|
|
20
19
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IDataSource } from '../../api-caller/datasource.typed';
|
|
3
2
|
import { IStyles } from '../styles';
|
|
4
3
|
interface IEditDataSource {
|
|
@@ -6,5 +5,5 @@ interface IEditDataSource {
|
|
|
6
5
|
styles?: IStyles;
|
|
7
6
|
onSuccess: () => void;
|
|
8
7
|
}
|
|
9
|
-
export declare function EditDataSource({ dataSource, onSuccess, styles }: IEditDataSource): JSX.Element;
|
|
8
|
+
export declare function EditDataSource({ dataSource, onSuccess, styles }: IEditDataSource): import('./react/jsx-runtime').JSX.Element;
|
|
10
9
|
export {};
|