@kengic/vue 0.1.1-beta.5 → 0.2.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/index.css +1 -1
- package/dist/kengic-vue.js +2944 -2359
- package/dist/src/apis/WMS/Controllers/VarCatalogController/ExportXls.d.ts +6 -6
- package/dist/src/apis/WMS/Controllers/VarCatalogController/List.d.ts +6 -6
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +2 -2
- package/dist/src/apis/WMS/models.d.ts +76 -8
- package/dist/src/components/KgButton/index.d.ts +2 -4
- package/dist/src/components/KgControl/KgControl.Select.d.ts +2 -0
- package/dist/src/components/KgControl/KgControl.d.ts +4 -4
- package/dist/src/components/KgControl/addon/KgControl.Addon.Lookup.Modal.d.ts +22 -0
- package/dist/src/components/KgControl/addon/KgControl.Addon.Lookup.d.ts +13 -1
- package/dist/src/components/KgControl/index.d.ts +2 -4
- package/dist/src/components/KgSearch/KgSearch.d.ts +11 -9
- package/dist/src/components/KgSearch/index.d.ts +3 -4
- package/dist/src/components/KgSearch/index.hook.d.ts +4 -0
- package/dist/src/components/KgSearch/index.store.d.ts +28 -0
- package/dist/src/components/KgTable/KgTable.Td.d.ts +15 -0
- package/dist/src/components/KgTable/KgTable.d.ts +13 -0
- package/dist/src/components/KgTable/KgTable.data.d.ts +6 -0
- package/dist/src/components/KgTable/index.d.ts +4 -0
- package/dist/src/components/KgTable/index.hook.d.ts +7 -0
- package/dist/src/components/KgTable/index.store.d.ts +16 -0
- package/dist/src/components/KgTable/index.vm.d.ts +7 -0
- package/dist/src/components/KgVar/index.d.ts +2 -2
- package/dist/src/components/KgVar/index.hook.d.ts +45 -0
- package/dist/src/components/KgVar/index.store.d.ts +33 -0
- package/dist/src/components/index.d.ts +4 -3
- package/dist/src/consts/i18n/en.d.ts +1 -0
- package/dist/src/consts/i18n/index.d.ts +2 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +1 -0
- package/dist/src/consts/injection-keys.const.d.ts +6 -0
- package/package.json +1 -1
- package/dist/src/components/KgSearch/index.vm.d.ts +0 -9
- package/dist/src/components/KgVar/hooks/index.d.ts +0 -52
- package/dist/src/components/KgVar/store/index.d.ts +0 -16
- package/dist/src/components/KgVar/store/index.data.d.ts +0 -11
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* 启用变量.
|
|
4
|
-
* @param formID 界面标识.
|
|
5
|
-
*/
|
|
6
|
-
export declare function useKgVar(formID: string): {
|
|
7
|
-
/** 变量配置数据. */
|
|
8
|
-
kgVarStore: import("pinia").Store<"KgVar", import("../store/index.data").KgVarState, {
|
|
9
|
-
getTopFormID(): string | null;
|
|
10
|
-
getVarCatalogs(): Map<string, import("../../..").VarCatalog[]>;
|
|
11
|
-
getVarLookups(): Map<string, import("../../..").VarLookup[]>;
|
|
12
|
-
getVarLookup(): (formID?: string | null | undefined, varName?: string | null | undefined) => import("../../..").VarLookup | null;
|
|
13
|
-
}, {
|
|
14
|
-
leave(formID: string): void;
|
|
15
|
-
deleteAll(formID: string): void;
|
|
16
|
-
retrieveAll(formID?: string | null | undefined): Promise<void>;
|
|
17
|
-
enter(formID: string): Promise<void>;
|
|
18
|
-
}>;
|
|
19
|
-
/**
|
|
20
|
-
* 翻译变量. 响应式的.
|
|
21
|
-
* @param varName 变量名称.
|
|
22
|
-
*/
|
|
23
|
-
t1: (varName?: string | null) => ComputedRef<string>;
|
|
24
|
-
/**
|
|
25
|
-
* 翻译变量. 不是响应式的.
|
|
26
|
-
* @param varName 变量名称.
|
|
27
|
-
*/
|
|
28
|
-
t2: (varName?: string | null) => string;
|
|
29
|
-
} | {
|
|
30
|
-
/** 变量配置数据. */
|
|
31
|
-
kgVarStore: import("pinia").Store<"KgVar", import("../store/index.data").KgVarState, {
|
|
32
|
-
getTopFormID(): string | null;
|
|
33
|
-
getVarCatalogs(): Map<string, import("../../..").VarCatalog[]>;
|
|
34
|
-
getVarLookups(): Map<string, import("../../..").VarLookup[]>;
|
|
35
|
-
getVarLookup(): (formID?: string | null | undefined, varName?: string | null | undefined) => import("../../..").VarLookup | null;
|
|
36
|
-
}, {
|
|
37
|
-
leave(formID: string): void;
|
|
38
|
-
deleteAll(formID: string): void;
|
|
39
|
-
retrieveAll(formID?: string | null | undefined): Promise<void>;
|
|
40
|
-
enter(formID: string): Promise<void>;
|
|
41
|
-
}>;
|
|
42
|
-
/**
|
|
43
|
-
* 翻译变量. 响应式的.
|
|
44
|
-
* @param varName 变量名称.
|
|
45
|
-
*/
|
|
46
|
-
t1: (varName?: string | null) => Ref<string>;
|
|
47
|
-
/**
|
|
48
|
-
* 翻译变量. 不是响应式的.
|
|
49
|
-
* @param varName 变量名称.
|
|
50
|
-
*/
|
|
51
|
-
t2: (varName?: string | null) => string;
|
|
52
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type StoreDefinition } from 'pinia';
|
|
2
|
-
import { KgVarState } from './index.data';
|
|
3
|
-
import { VarCatalog, VarLookup } from '../../../apis/WMS/models';
|
|
4
|
-
declare type IKgVarStore = StoreDefinition<'KgVar', KgVarState, {
|
|
5
|
-
getTopFormID(): string | null;
|
|
6
|
-
getVarCatalogs(): Map<string, Array<VarCatalog>>;
|
|
7
|
-
getVarLookups(): Map<string, Array<VarLookup>>;
|
|
8
|
-
getVarLookup(): (formID?: string | null, varName?: string | null) => VarLookup | null;
|
|
9
|
-
}, {
|
|
10
|
-
leave(formID: string): void;
|
|
11
|
-
deleteAll(formID: string): void;
|
|
12
|
-
retrieveAll(formID?: string | null): Promise<void>;
|
|
13
|
-
enter(formID: string): Promise<void>;
|
|
14
|
-
}>;
|
|
15
|
-
export declare const useKgVarStore: () => IKgVarStore;
|
|
16
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VarCatalog, VarLookup } from '../../../apis/WMS/models';
|
|
2
|
-
export interface KgVarState {
|
|
3
|
-
/**
|
|
4
|
-
* 当前可能打开了多个界面, 需要按照先后顺序记录下来, 当打开变量配置弹窗时, 打开的是最近那个页面的变量配置.
|
|
5
|
-
*/
|
|
6
|
-
formIDs: Array<string>;
|
|
7
|
-
/** 变量别名. */
|
|
8
|
-
varCatalogs: Map<string, Array<VarCatalog>>;
|
|
9
|
-
/** 变量查找. */
|
|
10
|
-
varLookups: Map<string, Array<VarLookup>>;
|
|
11
|
-
}
|