@kengic/vue 0.4.2 → 0.4.3
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/index.css +1 -1
- package/dist/kengic-vue.js +2578 -2552
- package/dist/src/components/KgVar/index.hooks.d.ts +12 -11
- package/dist/src/components/KgVar/index.store.d.ts +9 -1
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import { IKgVarStore } from './index.store';
|
3
2
|
import { VarProfileDetail } from '../../apis/WMS/models';
|
3
|
+
import { IKgVarStore } from './index.store';
|
4
4
|
export declare type IUseKgVar = {
|
5
5
|
/** 界面标识. */
|
6
6
|
formID: string;
|
@@ -8,6 +8,8 @@ export declare type IUseKgVar = {
|
|
8
8
|
store: IKgVarStore;
|
9
9
|
/** 正在查询变量配置. */
|
10
10
|
isRetrievingVar: ComputedRef<ReturnType<IKgVarStore['isRetrievingVar']>>;
|
11
|
+
/** 正在查询 VarProfileMaster. */
|
12
|
+
isRetrievingVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarProfileMaster']>>;
|
11
13
|
/** 正在创建. */
|
12
14
|
isCreating: ComputedRef<ReturnType<IKgVarStore['isCreating']>>;
|
13
15
|
/** 正在更新. */
|
@@ -16,20 +18,19 @@ export declare type IUseKgVar = {
|
|
16
18
|
isCopying: ComputedRef<ReturnType<IKgVarStore['isCopying']>>;
|
17
19
|
/** 正在删除. */
|
18
20
|
isDeleting: ComputedRef<ReturnType<IKgVarStore['isDeleting']>>;
|
19
|
-
/**
|
21
|
+
/** 所有的 VarButton 列表. */
|
20
22
|
varButtons: ComputedRef<ReturnType<IKgVarStore['getVarButtons']>>;
|
21
|
-
/**
|
22
|
-
varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
|
23
|
-
/** 所有查询条件. */
|
23
|
+
/** 所有的 VarProfileMaster 列表. */
|
24
24
|
varProfileMasters: ComputedRef<ReturnType<IKgVarStore['getVarProfileMasters']>>;
|
25
|
-
/**
|
25
|
+
/** 当前的 VarProfileMaster. */
|
26
26
|
currentVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMaster']>>;
|
27
|
-
/**
|
27
|
+
/** 当前的 VarProfileMaster ID. */
|
28
28
|
currentVarProfileMasterID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMasterID']>>;
|
29
|
-
/**
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
/** 当前的 VarProfileDetail 列表. */
|
30
|
+
currentVarProfileDetails: ComputedRef<Array<VarProfileDetail> | null>;
|
31
|
+
varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
|
32
|
+
/** 系统的 VarGridDetail 列表. */
|
33
|
+
systemVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getSystemVarGridDetails']>>;
|
33
34
|
t: (var_nam?: string | null) => ComputedRef<string>;
|
34
35
|
};
|
35
36
|
/**
|
@@ -7,6 +7,8 @@ export interface IKgVarState {
|
|
7
7
|
formIDs: Array<string>;
|
8
8
|
/** 正在查询变量配置. */
|
9
9
|
isRetrievingVarMap: Map<string, boolean>;
|
10
|
+
/** 正在查询 VarProfileMaster. */
|
11
|
+
isRetrievingVarProfileMasterMap: Map<string, boolean>;
|
10
12
|
/** 正在创建. */
|
11
13
|
isCreatingMap: Map<string, boolean>;
|
12
14
|
/** 正在创建: 正在调用接口. */
|
@@ -46,6 +48,7 @@ export interface IKgVarState {
|
|
46
48
|
export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState, {
|
47
49
|
getCurrentFormID(): string | null;
|
48
50
|
isRetrievingVar(): (formID?: string | null) => boolean | null;
|
51
|
+
isRetrievingVarProfileMaster(): (formID?: string | null) => boolean | null;
|
49
52
|
isCreating(): (formID?: string | null) => boolean | null;
|
50
53
|
isUpdating(): (formID?: string | null) => boolean | null;
|
51
54
|
isCopying(): (formID?: string | null) => boolean | null;
|
@@ -123,7 +126,12 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
123
126
|
setIsUpdatingRequesting(formID: string, value: boolean): void;
|
124
127
|
setIsCopyingRequesting(formID: string, value: boolean): void;
|
125
128
|
setIsDeletingRequesting(formID: string, deleting: boolean): void;
|
126
|
-
|
129
|
+
/**
|
130
|
+
* 设置当前选择的查询条件的 ID.
|
131
|
+
* @param formID 界面标识.
|
132
|
+
* @param currentVarProfileMasterID 当前选择的查询条件的 ID.
|
133
|
+
*/
|
134
|
+
setCurrentVarProfileMasterID(formID: string, currentVarProfileMasterID: string): Promise<void>;
|
127
135
|
/**
|
128
136
|
* 设置列的宽度.
|
129
137
|
* @param formID 界面标识.
|