@kengic/core.react 0.0.2-beta.25 → 0.0.2-beta.27
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/index.css +1 -1
- package/kengic-core.react.js +716 -682
- package/package.json +1 -1
- package/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +16 -0
- package/src/api/WMS/Controllers/SqlClientController/index.d.ts +1 -0
- package/src/api/WMS/Controllers/index.d.ts +1 -0
- package/src/api/WMS/models.d.ts +14 -0
- package/src/component/Kg/index.store.d.ts +1 -1
- package/src/component/KgSqlClient/index.hooks.d.ts +1 -1
- package/src/component/KgWorkStation/index.hooks.d.ts +2 -2
- package/src/component/KgWorkStation/index.store.d.ts +2 -2
package/package.json
CHANGED
|
@@ -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 @@
|
|
|
1
|
+
export { Execute, ExecuteQuery } from './Execute';
|
package/src/api/WMS/models.d.ts
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/** 执行语句的参数. */
|
|
2
|
+
export declare class ExecuteQuery {
|
|
3
|
+
/** SQL. */
|
|
4
|
+
sql?: string | null;
|
|
5
|
+
constructor(obj?: ExecuteQuery);
|
|
6
|
+
}
|
|
7
|
+
/** 执行语句的结果. */
|
|
8
|
+
export declare class ExecuteResultDTO {
|
|
9
|
+
/** 执行结果消息. */
|
|
10
|
+
message?: string | null;
|
|
11
|
+
/** 该结果对应的语句. */
|
|
12
|
+
sql?: string | null;
|
|
13
|
+
constructor(obj?: ExecuteResultDTO);
|
|
14
|
+
}
|
|
1
15
|
export declare class IPage<T0> {
|
|
2
16
|
/** Current. */
|
|
3
17
|
current?: number | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRemoveEventListener } from '@kengic/core.core';
|
|
2
|
-
import { store } from '../../index.store
|
|
2
|
+
import { store } from '../../index.store';
|
|
3
3
|
import { IKgSqlClientOnMountEventListener } from './index.event';
|
|
4
4
|
import { IKgSqlClientState } from './index.store';
|
|
5
5
|
export interface IDoKgSqlClient {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IRemoveEventListener } from '@kengic/core.core';
|
|
2
|
-
import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models
|
|
3
|
-
import { store } from '../../index.store
|
|
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 {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models
|
|
3
|
-
import { type IState } from '../../index.store
|
|
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
|
/**
|