@kengic/core.react 0.0.1-beta.29 → 0.0.1-beta.31
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 +5938 -5914
- package/package.json +1 -1
- package/src/api/WMS/Controllers/WorkstationController/List.d.ts +25 -0
- package/src/api/WMS/Controllers/WorkstationController/index.d.ts +1 -0
- package/src/api/WMS/Controllers/index.d.ts +1 -0
- package/src/api/WMS/index.d.ts +2 -0
- package/src/api/WMS/models.d.ts +62 -0
- package/src/api/api.d.ts +1 -0
- package/src/api/def.d.ts +1 -0
- package/src/api/index.d.ts +2 -0
- package/src/index.d.ts +1 -0
- package/src/service/http-client.d.ts +32 -0
- package/src/service/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IRequestConfig, IRequestOptions } from '../../../../service';
|
|
2
|
+
import * as DEF from '../../../def';
|
|
3
|
+
/** 请求参数. */
|
|
4
|
+
export declare class ListQuery {
|
|
5
|
+
/** 排序字段. */
|
|
6
|
+
column?: string | null;
|
|
7
|
+
/** 排序方式. */
|
|
8
|
+
order?: 'asc' | 'desc' | null;
|
|
9
|
+
/** 当前页数. */
|
|
10
|
+
pageNo?: number | null;
|
|
11
|
+
/** 每页条数. */
|
|
12
|
+
pageSize?: number | null;
|
|
13
|
+
constructor(obj?: ListQuery);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 工作站-分页列表查询.
|
|
17
|
+
*
|
|
18
|
+
* @param config 请求配置.
|
|
19
|
+
* @param option 请求选项.
|
|
20
|
+
*/
|
|
21
|
+
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.WorkstationDTO>>;
|
|
22
|
+
export declare namespace List {
|
|
23
|
+
var method: "GET";
|
|
24
|
+
var url: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { List, ListQuery } from './List';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as WorkstationController from './WorkstationController';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare class IPage<T0> {
|
|
2
|
+
/** Current. */
|
|
3
|
+
current?: number | null;
|
|
4
|
+
/** Pages. */
|
|
5
|
+
pages?: number | null;
|
|
6
|
+
/** Records. */
|
|
7
|
+
records?: Array<T0> | null;
|
|
8
|
+
/** Size. */
|
|
9
|
+
size?: number | null;
|
|
10
|
+
/** Total. */
|
|
11
|
+
total?: number | null;
|
|
12
|
+
constructor(obj?: IPage<T0>);
|
|
13
|
+
}
|
|
14
|
+
/** 工作站区域数据传输对象. */
|
|
15
|
+
export declare class WorkstationAreaDTO {
|
|
16
|
+
/** 主键. */
|
|
17
|
+
id?: string | null;
|
|
18
|
+
/** 创建日期. */
|
|
19
|
+
insDt?: string | null;
|
|
20
|
+
/** 创建用户. */
|
|
21
|
+
insUsrId?: string | null;
|
|
22
|
+
/** 修改日期. */
|
|
23
|
+
modUsrId?: string | null;
|
|
24
|
+
/** 修改用户. */
|
|
25
|
+
moddte?: string | null;
|
|
26
|
+
/** 仓库. */
|
|
27
|
+
whId?: string | null;
|
|
28
|
+
/** 工作区. */
|
|
29
|
+
wrkare?: string | null;
|
|
30
|
+
/** 工作区描述. */
|
|
31
|
+
wrkareDsc?: string | null;
|
|
32
|
+
constructor(obj?: WorkstationAreaDTO);
|
|
33
|
+
}
|
|
34
|
+
/** 工作站数据传输对象. */
|
|
35
|
+
export declare class WorkstationDTO {
|
|
36
|
+
/** 工作站. */
|
|
37
|
+
devcod?: string | null;
|
|
38
|
+
/** 工作站描述. */
|
|
39
|
+
devcodDsc?: string | null;
|
|
40
|
+
/** 主工作区. */
|
|
41
|
+
hmewrkare?: string | null;
|
|
42
|
+
/** 主键. */
|
|
43
|
+
id?: string | null;
|
|
44
|
+
/** 创建日期. */
|
|
45
|
+
insDt?: string | null;
|
|
46
|
+
/** 创建用户. */
|
|
47
|
+
insUsrId?: string | null;
|
|
48
|
+
/** 修改日期. */
|
|
49
|
+
modUsrId?: string | null;
|
|
50
|
+
/** 修改用户. */
|
|
51
|
+
moddte?: string | null;
|
|
52
|
+
/** 仓库. */
|
|
53
|
+
whId?: string | null;
|
|
54
|
+
/** 工作站与工作区域关系. */
|
|
55
|
+
workstationAreas?: Array<WorkstationAreaDTO> | null;
|
|
56
|
+
constructor(obj?: WorkstationDTO);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 获取对象的属性名数组.
|
|
60
|
+
* @param obj 对象.
|
|
61
|
+
*/
|
|
62
|
+
export declare function keys<C extends object>(obj: C): Array<keyof C>;
|
package/src/api/api.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WMSAPI as WMS } from './WMS';
|
package/src/api/def.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WMSDEF as WMS } from './WMS';
|
package/src/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 设置 httpClient 实例.
|
|
3
|
+
*/
|
|
4
|
+
declare function setHttpClient(httpClient: any | null): void;
|
|
5
|
+
/**
|
|
6
|
+
* 获取 httpClient 实例.
|
|
7
|
+
*/
|
|
8
|
+
declare function httpClient(): any;
|
|
9
|
+
interface IRequestConfig<P = {}, D = {}> {
|
|
10
|
+
data?: D;
|
|
11
|
+
params?: P;
|
|
12
|
+
}
|
|
13
|
+
interface IRequestOptions {
|
|
14
|
+
apiUrl?: string;
|
|
15
|
+
dayjs?: any;
|
|
16
|
+
dynamicQueryFormID?: string;
|
|
17
|
+
dynamicQueryKgSearchFormID?: string;
|
|
18
|
+
dynamicQueryOperatorModel?: Record<string, string>;
|
|
19
|
+
errorMessageMode?: 'none' | 'modal' | 'message' | undefined;
|
|
20
|
+
formatDate?: boolean;
|
|
21
|
+
ignoreCancelToken?: boolean;
|
|
22
|
+
isReturnNativeResponse?: boolean;
|
|
23
|
+
isTransformResponse?: boolean;
|
|
24
|
+
joinParamsToUrl?: boolean;
|
|
25
|
+
joinPrefix?: boolean;
|
|
26
|
+
joinTime?: boolean;
|
|
27
|
+
mock?: any;
|
|
28
|
+
successMessageMode?: 'none' | 'success' | 'error' | undefined;
|
|
29
|
+
urlPrefix?: string;
|
|
30
|
+
withToken?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export { setHttpClient, httpClient, type IRequestConfig, type IRequestOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './http-client';
|