@kengic/core.react 0.0.2-beta.4 → 0.0.2-beta.40

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.
Files changed (31) hide show
  1. package/caret-right-outlined-Btgsw6a_.js +8 -0
  2. package/index.css +1 -1
  3. package/kengic-core.react.js +65242 -63975
  4. package/package.json +1 -1
  5. package/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +16 -0
  6. package/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +16 -0
  7. package/src/api/WMS/Controllers/SqlClientController/index.d.ts +2 -0
  8. package/src/api/WMS/Controllers/index.d.ts +1 -0
  9. package/src/api/WMS/models.d.ts +61 -1
  10. package/src/component/Kg/index.store.d.ts +12 -2
  11. package/src/component/KgSqlClient/KgSqlClient.ResultTab.d.ts +17 -0
  12. package/src/component/KgSqlClient/KgSqlClient.d.ts +6 -0
  13. package/src/component/KgSqlClient/index.d.ts +3 -0
  14. package/src/component/KgSqlClient/index.event.d.ts +24 -0
  15. package/src/component/KgSqlClient/index.hooks.d.ts +42 -0
  16. package/src/component/KgSqlClient/index.store.d.ts +50 -0
  17. package/src/component/KgSqlClient/index.vm.d.ts +2 -0
  18. package/src/component/KgSqlClient/index.wc.d.ts +4 -0
  19. package/src/component/KgWorkStation/index.event.d.ts +1 -3
  20. package/src/component/KgWorkStation/index.hooks.d.ts +3 -2
  21. package/src/component/KgWorkStation/index.store.d.ts +9 -6
  22. package/src/i18n/cs_CZ.d.ts +23 -0
  23. package/src/i18n/en.d.ts +11 -0
  24. package/src/i18n/es_ES.d.ts +11 -0
  25. package/src/i18n/fr_FR.d.ts +11 -0
  26. package/src/i18n/km_KH.d.ts +11 -0
  27. package/src/i18n/ko_KR.d.ts +11 -0
  28. package/src/i18n/vi_VN.d.ts +11 -0
  29. package/src/i18n/zh_CN.d.ts +11 -0
  30. package/src/index.d.ts +2 -1
  31. package/src/index.store.d.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/core.react",
3
- "version": "0.0.2-beta.4",
3
+ "version": "0.0.2-beta.40",
4
4
  "type": "module",
5
5
  "main": "./kengic-core.react.js",
6
6
  "module": "./kengic-core.react.js",
@@ -0,0 +1,16 @@
1
+ import { IRequestConfig, IRequestOptions } from '../../../../service';
2
+ import * as DEF from '../../../def';
3
+ /** 请求参数. */
4
+ export declare class ExecuteQuery {
5
+ }
6
+ /**
7
+ * 执行语句.
8
+ *
9
+ * @param config 请求配置.
10
+ * @param option 请求选项.
11
+ */
12
+ export declare function Execute(config?: IRequestConfig<ExecuteQuery, DEF.WMS.ExecuteQuery>, option?: IRequestOptions): Promise<Array<DEF.WMS.ExecuteResultDTO>>;
13
+ export declare namespace Execute {
14
+ var method: "POST";
15
+ var url: string;
16
+ }
@@ -0,0 +1,16 @@
1
+ import { IRequestConfig, IRequestOptions } from '../../../../service';
2
+ import * as DEF from '../../../def';
3
+ /** 请求参数. */
4
+ export declare class ExecutePageQuery {
5
+ }
6
+ /**
7
+ * 执行语句.
8
+ *
9
+ * @param config 请求配置.
10
+ * @param option 请求选项.
11
+ */
12
+ export declare function ExecutePage(config?: IRequestConfig<ExecutePageQuery, DEF.WMS.ExecuteQuery>, option?: IRequestOptions): Promise<DEF.WMS.ExecuteResultDTO>;
13
+ export declare namespace ExecutePage {
14
+ var method: "POST";
15
+ var url: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ export { Execute, ExecuteQuery } from './Execute';
2
+ export { ExecutePage, ExecutePageQuery } from './ExecutePage';
@@ -1 +1,2 @@
1
+ export * as SqlClientController from './SqlClientController';
1
2
  export * as WorkstationController from './WorkstationController';
@@ -1,3 +1,49 @@
1
+ /** 执行语句的参数. */
2
+ export declare class ExecuteQuery {
3
+ /** 当前页码. */
4
+ pageIndex?: number | null;
5
+ /** 每页大小. */
6
+ pageSize?: number | null;
7
+ /** 执行的 SQL. */
8
+ sql?: string | null;
9
+ constructor(obj?: ExecuteQuery);
10
+ }
11
+ /** 查询结果的列的元数据. */
12
+ export declare class ExecuteResultColumn {
13
+ /** 列的描述. */
14
+ columnDesc?: string | null;
15
+ /** 列的别名. */
16
+ columnLabel?: string | null;
17
+ /** 列名. */
18
+ columnName?: string | null;
19
+ /** 列的类型. */
20
+ columnType?: string | null;
21
+ /** 表名. */
22
+ tableName?: string | null;
23
+ constructor(obj?: ExecuteResultColumn);
24
+ }
25
+ /** 执行语句的结果. */
26
+ export declare class ExecuteResultDTO {
27
+ /** 查询结果的列. */
28
+ columns?: Array<ExecuteResultColumn> | null;
29
+ /** 耗时(毫秒). */
30
+ elapse?: number | null;
31
+ /** 执行结果消息. */
32
+ message?: string | null;
33
+ /** 当前页码. */
34
+ pageIndex?: number | null;
35
+ /** 每页大小. */
36
+ pageSize?: number | null;
37
+ /** 查询结果的行. */
38
+ rows?: Array<object> | null;
39
+ /** 受影响的行数. */
40
+ rowsTotal?: number | null;
41
+ /** 该结果对应的语句. */
42
+ sql?: string | null;
43
+ /** 是否执行成功. */
44
+ success?: boolean | null;
45
+ constructor(obj?: ExecuteResultDTO);
46
+ }
1
47
  export declare class IPage<T0> {
2
48
  /** Current. */
3
49
  current?: number | null;
@@ -39,20 +85,34 @@ export declare class WorkstationDTO {
39
85
  devcodDsc?: string | null;
40
86
  /** 主工作区. */
41
87
  hmewrkare?: string | null;
88
+ /** 主工作区描述. */
89
+ hmewrkareDsc?: string | null;
42
90
  /** 主键. */
43
91
  id?: string | null;
44
92
  /** 创建日期. */
45
93
  insDt?: string | null;
46
94
  /** 创建用户. */
47
95
  insUsrId?: string | null;
96
+ /** 标签打印机(Label Printer Address). */
97
+ lblPrtadr?: string | null;
98
+ /** 标签打印机名称. */
99
+ lblPrtadrDsc?: string | null;
100
+ /** 便携标签打印机(Mobile Printer Address). */
101
+ mobPrtadr?: string | null;
102
+ /** 便携标签打印机名称. */
103
+ mobPrtadrDsc?: string | null;
48
104
  /** 修改日期. */
49
105
  modUsrId?: string | null;
50
106
  /** 修改用户. */
51
107
  moddte?: string | null;
108
+ /** 纸张打印机(Paper Printer Address). */
109
+ papPrtadr?: string | null;
110
+ /** 纸张打印机名称. */
111
+ papPrtadrDsc?: string | null;
52
112
  /** 仓库. */
53
113
  whId?: string | null;
54
114
  /** 工作站与工作区域关系. */
55
- workstationAreas?: Array<WorkstationAreaDTO> | null;
115
+ workstationAndAreaRelationshipDTOList?: Array<WorkstationAreaDTO> | null;
56
116
  constructor(obj?: WorkstationDTO);
57
117
  }
58
118
  /**
@@ -1,10 +1,20 @@
1
1
  import { PayloadAction, Slice, SliceSelectors } from '@reduxjs/toolkit';
2
- import { type IState } from '../../index.store.ts';
2
+ import { type IState } from '../../index.store';
3
3
  export interface IKgOption {
4
+ /** SQL 客户端. */
5
+ KgSqlClient?: {
6
+ /**
7
+ * 是否启用功能.
8
+ *
9
+ * @default true
10
+ */
11
+ isOn?: boolean;
12
+ };
4
13
  /** 选择工作站. */
5
14
  KgWorkStation?: {
6
15
  /**
7
16
  * 是否启用功能.
17
+ *
8
18
  * @default true
9
19
  */
10
20
  isOn?: boolean;
@@ -20,4 +30,4 @@ export declare const KgSlice: Slice<IKgState, {
20
30
  optionReducer(state: IKgState, action: PayloadAction<IKgOption | null | undefined>): void;
21
31
  }, string, string, SliceSelectors<IKgState>>;
22
32
  export declare const optionReducer: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<IKgOption | null | undefined, `${string}/optionReducer`>;
23
- export declare function optionSelector(state: IState): IKgOption;
33
+ export declare function kgOptionSelector(state: IState): IKgOption;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import './KgSqlClient.css';
3
+ import { ExecuteResultDTO } from '../../api/WMS/models';
4
+ export interface KgSqlClientResultTabProps {
5
+ /**
6
+ * 执行结果.
7
+ */
8
+ executeResult: ExecuteResultDTO;
9
+ /**
10
+ * 当前索引, 即当前是第几个执行结果, 从 0 开始.
11
+ */
12
+ index: number;
13
+ }
14
+ /**
15
+ * SQL 客户端 | 执行结果的标签页.
16
+ */
17
+ export declare function KgSqlClientResultTab({ executeResult, index }: KgSqlClientResultTabProps): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import './KgSqlClient.css';
3
+ /**
4
+ * SQL 客户端.
5
+ */
6
+ export declare function KgSqlClient(): React.JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ export * from './KgSqlClient.tsx';
2
+ export * from './index.hooks';
3
+ export * from './index.store';
@@ -0,0 +1,24 @@
1
+ import { IKgEventListener } from '@kengic/core.core';
2
+ /**
3
+ * 事件类型.
4
+ */
5
+ export type IKgSqlClientEvent = 'onMount';
6
+ export type IKgSqlClientOnMountEventListenerParameter = {};
7
+ export type IKgSqlClientOnMountEventListener = ((param: IKgSqlClientOnMountEventListenerParameter) => Promise<boolean>) & IKgEventListener;
8
+ export type IKgSqlClientEventListenerParameter = IKgSqlClientOnMountEventListenerParameter;
9
+ export type IKgSqlClientEventListener = IKgSqlClientOnMountEventListener;
10
+ export declare const eventListeners: Record<string, {
11
+ onMount: Array<IKgSqlClientOnMountEventListener>;
12
+ }>;
13
+ /**
14
+ * 触发事件.
15
+ *
16
+ * @param param.event 事件名称.
17
+ * @param param.id 唯一标识.
18
+ * @param param.parameter 事件参数.
19
+ */
20
+ export declare function emit<P = IKgSqlClientEventListenerParameter>(param: {
21
+ event: IKgSqlClientEvent;
22
+ id?: string | undefined;
23
+ parameter?: P;
24
+ }): Promise<boolean>;
@@ -0,0 +1,42 @@
1
+ import { IRemoveEventListener } from '@kengic/core.core';
2
+ import { store } from '../../index.store';
3
+ import { IKgSqlClientOnMountEventListener } from './index.event';
4
+ import { IKgSqlClientState } from './index.store';
5
+ export interface IDoKgSqlClient {
6
+ /**
7
+ * <p>获取某个状态数据. 在 vue 项目中使用.</p>
8
+ *
9
+ * @param fn 获取函数, 该函数由框架调用并传入状态数据作为参数, 调用者从参数中获取想要的数据.
10
+ * @return 返回一个数组, 包含两个元素, 第一个元素是要获取的数据, 是一个 ref 数据, 第二个元素是一个退订函数, 由调用者负责在合适的时候调用, 用于移除对该数据的变更监听.
11
+ */
12
+ get<T extends {
13
+ value: any;
14
+ }>(fn: (state: IKgSqlClientState[string]) => any): [T, () => void];
15
+ id: string;
16
+ /**
17
+ * 监听事件: 挂载.
18
+ *
19
+ * @param listener 事件监听函数.
20
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
21
+ */
22
+ onMount(listener: IKgSqlClientOnMountEventListener, isOnce?: boolean): IRemoveEventListener;
23
+ /**
24
+ * 设置数据.
25
+ *
26
+ * @param fn 设置函数.
27
+ */
28
+ set(fn: (state: IKgSqlClientState[string]) => void): void;
29
+ store: typeof store;
30
+ /**
31
+ * 订阅数据变更.
32
+ *
33
+ * @param fn 回调函数, 可以通过参数 state 获取到最新的数据.
34
+ */
35
+ subscribe(fn: (state: IKgSqlClientState[string]) => void): () => void;
36
+ }
37
+ /**
38
+ * 在 react 中如果函数以 use 为前缀, 会被当成 hook 函数, 因此这个函数使用了 do 作为前缀.
39
+ *
40
+ * @param id 唯一标识.
41
+ */
42
+ export declare function doKgSqlClient(id?: string): IDoKgSqlClient;
@@ -0,0 +1,50 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { KgSqlClientProps } from './index.vm';
3
+ export type IKgSqlClientState = Record<string, {
4
+ /**
5
+ * 是否已经完成挂载.
6
+ */
7
+ isMount: boolean;
8
+ /**
9
+ * 组件参数.
10
+ */
11
+ props?: KgSqlClientProps;
12
+ }>;
13
+ export declare const KgSqlClientSlice: import("@reduxjs/toolkit").Slice<IKgSqlClientState, {
14
+ /**
15
+ * 挂载. 组件做初始化.
16
+ *
17
+ * @param state
18
+ * @param action
19
+ */
20
+ mountReducer(state: IKgSqlClientState, action: PayloadAction<{
21
+ id: string | null | undefined;
22
+ }>): void;
23
+ /**
24
+ * 设置数据.
25
+ *
26
+ * @param state
27
+ * @param action
28
+ */
29
+ setReducer(state: IKgSqlClientState, action: PayloadAction<{
30
+ id: string | null | undefined;
31
+ fn: (state: IKgSqlClientState[string]) => void;
32
+ }>): void;
33
+ /**
34
+ * 卸载. 释放组件资源.
35
+ *
36
+ * @param state
37
+ * @param action
38
+ */
39
+ unmountReducer(state: IKgSqlClientState, action: PayloadAction<{
40
+ id: string | null | undefined;
41
+ }>): void;
42
+ }, "KgSqlClient", "KgSqlClient", import("@reduxjs/toolkit").SliceSelectors<IKgSqlClientState>>;
43
+ export declare const setReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
44
+ id: string | null | undefined;
45
+ fn: (state: IKgSqlClientState[string]) => void;
46
+ }, "KgSqlClient/setReducer">, mountReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
47
+ id: string | null | undefined;
48
+ }, "KgSqlClient/mountReducer">, unmountReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
49
+ id: string | null | undefined;
50
+ }, "KgSqlClient/unmountReducer">;
@@ -0,0 +1,2 @@
1
+ export interface KgSqlClientProps {
2
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 注册组件.
3
+ */
4
+ export declare function initKgSqlClientElement(): void;
@@ -1,8 +1,6 @@
1
1
  import { IKgEventListener } from '@kengic/core.core';
2
2
  /**
3
3
  * 事件类型.
4
- * 'onMount': 挂载
5
- * 'onOk': 确定
6
4
  */
7
5
  export type IKgWorkStationEvent = 'onMount' | 'onOk';
8
6
  export type IKgWorkStationOnMountEventListenerParameter = {};
@@ -11,7 +9,7 @@ export type IKgWorkStationOnOkEventListenerParameter = {};
11
9
  export type IKgWorkStationOnOkEventListener = ((param: IKgWorkStationOnOkEventListenerParameter) => Promise<boolean>) & IKgEventListener;
12
10
  export type IKgWorkStationEventListenerParameter = IKgWorkStationOnMountEventListenerParameter | IKgWorkStationOnOkEventListenerParameter;
13
11
  export type IKgWorkStationEventListener = IKgWorkStationOnMountEventListener | IKgWorkStationOnOkEventListener;
14
- export declare const eventListenerListRecordRecord: Record<string, {
12
+ export declare const eventListeners: Record<string, {
15
13
  onMount: Array<IKgWorkStationOnMountEventListener>;
16
14
  onOk: Array<IKgWorkStationOnOkEventListener>;
17
15
  }>;
@@ -1,6 +1,6 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
- import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models.ts';
3
- import { store } from '../../index.store.ts';
2
+ import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models';
3
+ import { store } from '../../index.store';
4
4
  import { IKgWorkStationOnMountEventListener, IKgWorkStationOnOkEventListener } from './index.event';
5
5
  import { IKgWorkStationState } from './index.store';
6
6
  export interface IDoKgWorkStation {
@@ -65,6 +65,7 @@ export interface IDoKgWorkStation {
65
65
  workStationArea: WorkstationAreaDTO | null;
66
66
  }
67
67
  /**
68
+ * 在 react 中如果函数以 use 为前缀, 会被当成 hook 函数, 因此这个函数使用了 do 作为前缀.
68
69
  *
69
70
  * @param id 唯一标识.
70
71
  */
@@ -1,12 +1,15 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
- import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models.ts';
3
- import { type IState } from '../../index.store.ts';
2
+ import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models';
3
+ import { type IState } from '../../index.store';
4
4
  import { KgWorkStationProps } from './index.vm';
5
5
  export type IKgWorkStationState = Record<string, {
6
6
  /**
7
7
  * 是否已经完成挂载.
8
8
  */
9
9
  isMount: boolean;
10
+ /**
11
+ * 组件参数.
12
+ */
10
13
  props?: KgWorkStationProps;
11
14
  /**
12
15
  * 当前选择的工作站.
@@ -90,7 +93,9 @@ export declare const setReducer: import("@reduxjs/toolkit").ActionCreatorWithPay
90
93
  fn: (state: IKgWorkStationState[string]) => void;
91
94
  }, "KgWorkStation/setReducer">, mountReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
92
95
  id: string | null | undefined;
93
- }, "KgWorkStation/mountReducer">, openModalReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
96
+ }, "KgWorkStation/mountReducer">, unmountReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
97
+ id: string | null | undefined;
98
+ }, "KgWorkStation/unmountReducer">, openModalReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
94
99
  id: string | null | undefined;
95
100
  }, "KgWorkStation/openModalReducer">, closeModalReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
96
101
  id: string | null | undefined;
@@ -100,9 +105,7 @@ export declare const setReducer: import("@reduxjs/toolkit").ActionCreatorWithPay
100
105
  }, "KgWorkStation/setWorkStationReducer">, setWorkStationAreaReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
101
106
  id?: string | null | undefined;
102
107
  workStationArea: WorkstationAreaDTO | null;
103
- }, "KgWorkStation/setWorkStationAreaReducer">, unmountReducer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
104
- id: string | null | undefined;
105
- }, "KgWorkStation/unmountReducer">;
108
+ }, "KgWorkStation/setWorkStationAreaReducer">;
106
109
  export declare function isVisibleSelector(id: string): (state: IState) => boolean;
107
110
  export declare function isOpenSelector(id: string): (state: IState) => boolean;
108
111
  export declare function workStationSelector(id?: string): (state: IState) => WorkstationDTO | null;
@@ -0,0 +1,23 @@
1
+ export declare const cs_CZ: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
8
+ 'KgWorkStation.modalTitle': string;
9
+ 'KgWorkStation.reloadMessage': string;
10
+ 'KgWorkStation.selectWorkStation': string;
11
+ 'KgWorkStation.workStation': string;
12
+ 'KgWorkStation.workStationAndWorkStationArea': string;
13
+ 'KgWorkStation.workStationArea': string;
14
+ 'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
18
+ 'kg.confirm': string;
19
+ 'kg.confirmDelete': string;
20
+ 'kg.execute': string;
21
+ 'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
23
+ };
package/src/i18n/en.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  export declare const en: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const en: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
@@ -1,4 +1,10 @@
1
1
  export declare const es_ES: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const es_ES: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
@@ -1,4 +1,10 @@
1
1
  export declare const fr_FR: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const fr_FR: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
@@ -1,4 +1,10 @@
1
1
  export declare const km_KH: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const km_KH: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
@@ -1,4 +1,10 @@
1
1
  export declare const ko_KR: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const ko_KR: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
@@ -1,4 +1,10 @@
1
1
  export declare const vi_VN: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const vi_VN: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
@@ -1,4 +1,10 @@
1
1
  export declare const zh_CN: {
2
+ 'KgSqlClient.ResultTab.resultStatusLabel': string;
3
+ 'KgSqlClient.ResultTab.ellapseLabel': string;
4
+ 'KgSqlClient.ResultTab.rowsTotalLabel': string;
5
+ 'KgSqlClient.ResultTab.messageLabel': string;
6
+ 'KgSqlClient.ResultTab.tabTitlePrefix': string;
7
+ 'KgSqlClient.ResultTab.rowsAffected': string;
2
8
  'KgWorkStation.modalTitle': string;
3
9
  'KgWorkStation.reloadMessage': string;
4
10
  'KgWorkStation.selectWorkStation': string;
@@ -6,7 +12,12 @@ export declare const zh_CN: {
6
12
  'KgWorkStation.workStationAndWorkStationArea': string;
7
13
  'KgWorkStation.workStationArea': string;
8
14
  'kg.cancel': string;
15
+ 'kg.success': string;
16
+ 'kg.fail': string;
17
+ 'kg.millisecond': string;
9
18
  'kg.confirm': string;
10
19
  'kg.confirmDelete': string;
20
+ 'kg.execute': string;
11
21
  'kg.refresh': string;
22
+ 'kg.KgTable.totalText': string;
12
23
  };
package/src/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import './asset/index.css';
2
2
  import './iconify.init';
3
3
  import { IKgOption } from './component/Kg';
4
- export { doKgWorkStation, type IDoKgWorkStation } from './component/KgWorkStation';
5
4
  export { setHttpClient } from './service';
5
+ export { doKgWorkStation, type IDoKgWorkStation } from './component/KgWorkStation';
6
+ export { doKgSqlClient, type IDoKgSqlClient } from './component/KgSqlClient';
6
7
  export interface IKgCoreReactOptions {
7
8
  /**
8
9
  * 选项.
@@ -1,15 +1,19 @@
1
1
  import { IKgState } from './component/Kg';
2
+ import { IKgSqlClientState } from './component/KgSqlClient';
2
3
  import { IKgWorkStationState } from './component/KgWorkStation';
3
4
  export type IState = {
4
5
  Kg: IKgState;
5
6
  KgWorkStation: IKgWorkStationState;
7
+ KgSqlClient: IKgSqlClientState;
6
8
  };
7
9
  export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
8
10
  Kg: IKgState;
9
11
  KgWorkStation: IKgWorkStationState;
12
+ KgSqlClient: IKgSqlClientState;
10
13
  }, import("@reduxjs/toolkit").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("@reduxjs/toolkit").StoreEnhancer<{
11
14
  dispatch: import("@reduxjs/toolkit").ThunkDispatch<{
12
15
  Kg: IKgState;
13
16
  KgWorkStation: IKgWorkStationState;
17
+ KgSqlClient: IKgSqlClientState;
14
18
  }, undefined, import("@reduxjs/toolkit").UnknownAction>;
15
19
  }>, import("@reduxjs/toolkit").StoreEnhancer]>>;