@kengic/vue 0.16.2 → 0.16.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +584 -580
- package/package.json +8 -8
- package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -24
- package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +0 -31
- package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +0 -8
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +0 -30
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +0 -37
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +0 -19
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +0 -8
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -52
- package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
- package/dist/src/apis/WMS/Controllers/index.d.ts +0 -6
- package/dist/src/apis/WMS/index.d.ts +0 -2
- package/dist/src/apis/WMS/models.d.ts +0 -726
- package/dist/src/apis/api.d.ts +0 -1
- package/dist/src/apis/def.d.ts +0 -1
- package/dist/src/apis/index.d.ts +0 -2
- package/dist/src/assets/icons/material-symbols.save-as-outline-rounded.d.ts +0 -6
- package/dist/src/assets/icons/material-symbols.save-outline-rounded.d.ts +0 -6
- package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
- package/dist/src/components/KgAppSelect/index.d.ts +0 -3
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -19
- package/dist/src/components/KgAppSelect/index.store.d.ts +0 -59
- package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
- package/dist/src/components/KgButton/KgButton.d.ts +0 -34
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -39
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -39
- package/dist/src/components/KgButton/index.d.ts +0 -62
- package/dist/src/components/KgButton/index.hooks.d.ts +0 -61
- package/dist/src/components/KgButton/index.store.d.ts +0 -89
- package/dist/src/components/KgForm/KgForm.d.ts +0 -414
- package/dist/src/components/KgForm/index.d.ts +0 -604
- package/dist/src/components/KgForm/index.hooks.d.ts +0 -34
- package/dist/src/components/KgForm/index.store.d.ts +0 -83
- package/dist/src/components/KgForm/index.vm.d.ts +0 -9
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -95
- package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +0 -17
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -17
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -32
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -96
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -95
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -95
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -95
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +0 -26
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -94
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -94
- package/dist/src/components/KgForm.Item/index.d.ts +0 -2
- package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -116
- package/dist/src/components/KgModal/KgModal.d.ts +0 -395
- package/dist/src/components/KgModal/components/KgModal.Close.d.ts +0 -41
- package/dist/src/components/KgModal/index.d.ts +0 -2
- package/dist/src/components/KgModal/index.vm.d.ts +0 -194
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
- package/dist/src/components/KgProgressA/index.d.ts +0 -1
- package/dist/src/components/KgResizable/KgResizable.d.ts +0 -143
- package/dist/src/components/KgResizable/index.d.ts +0 -1
- package/dist/src/components/KgSearch/KgSearch.d.ts +0 -42
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -39
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +0 -22
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +0 -14
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +0 -24
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +0 -7
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -31
- package/dist/src/components/KgSearch/index.d.ts +0 -3
- package/dist/src/components/KgSearch/index.hooks.d.ts +0 -41
- package/dist/src/components/KgSearch/index.store.d.ts +0 -86
- package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -41
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +0 -20
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +0 -28
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +0 -82
- package/dist/src/components/KgSubmit/index.d.ts +0 -4
- package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -63
- package/dist/src/components/KgSubmit/index.store.d.ts +0 -129
- package/dist/src/components/KgSubmit/index.vm.d.ts +0 -10
- package/dist/src/components/KgTable/KgTable.d.ts +0 -39
- package/dist/src/components/KgTable/KgTable.hooks.d.ts +0 -43
- package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +0 -61
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -58
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -22
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +0 -14
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +0 -22
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +0 -26
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -24
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +0 -23
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -32
- package/dist/src/components/KgTable/index.d.ts +0 -4
- package/dist/src/components/KgTable/index.hooks.d.ts +0 -68
- package/dist/src/components/KgTable/index.store.d.ts +0 -153
- package/dist/src/components/KgTable/index.vm.d.ts +0 -146
- package/dist/src/components/KgVar/KgVar.d.ts +0 -28
- package/dist/src/components/KgVar/index.d.ts +0 -4
- package/dist/src/components/KgVar/index.hooks.d.ts +0 -88
- package/dist/src/components/KgVar/index.store.d.ts +0 -315
- package/dist/src/components/KgVar/index.store.service.d.ts +0 -21
- package/dist/src/components/KgVar/index.vm.d.ts +0 -43
- package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -2
- package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +0 -24
- package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -17
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -25
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -29
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -22
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -25
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -22
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -33
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarCatalog.data.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -3
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -3
- package/dist/src/components/KgVarConfig/index.d.ts +0 -2
- package/dist/src/components/KgVarConfig/index.store.d.ts +0 -20
- package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -3
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -38
- package/dist/src/components/KgWarehouse/index.d.ts +0 -4
- package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -22
- package/dist/src/components/KgWarehouse/index.store.d.ts +0 -53
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
- package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -16
- package/dist/src/components/util.d.ts +0 -14
- package/dist/src/config/index.d.ts +0 -3
- package/dist/src/config/index.hooks.d.ts +0 -43
- package/dist/src/config/index.store.d.ts +0 -184
- package/dist/src/config/setup.d.ts +0 -43
- package/dist/src/consts/i18n/en.d.ts +0 -194
- package/dist/src/consts/i18n/index.d.ts +0 -2
- package/dist/src/consts/i18n/zh_CN.d.ts +0 -193
- package/dist/src/consts/index.d.ts +0 -244
- package/dist/src/consts/index.vm.d.ts +0 -45
- package/dist/src/consts/injection-keys.const.d.ts +0 -9
- package/dist/src/helpers/ant-design-vue.d.ts +0 -316
- package/dist/src/helpers/tsx.helper.d.ts +0 -13
- package/dist/src/index.d.ts +0 -8
- package/dist/src/services/http-client.d.ts +0 -46
- package/dist/src/services/index.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/kg-auth.util.d.ts +0 -14
- package/dist/src/utils/kg-dom.util.d.ts +0 -12
- package/dist/src/utils/kg-logger.util.d.ts +0 -67
- package/dist/src/utils/kg-route.util.d.ts +0 -43
- package/dist/src/utils/kg-var.util.d.ts +0 -36
- package/dist/src/utils/kg.util.d.ts +0 -113
@@ -1,88 +0,0 @@
|
|
1
|
-
import { ComputedRef } from 'vue';
|
2
|
-
import { VarProfileDetail } from '../../apis/WMS/models';
|
3
|
-
import { IRemoveEventListenerHandler } from '../../consts';
|
4
|
-
import { IKgVarRetrieveCb, IKgVarStore } from './index.store';
|
5
|
-
export declare type IUseKgVar = {
|
6
|
-
/** 界面标识. */
|
7
|
-
formID: string;
|
8
|
-
/** 状态数据. */
|
9
|
-
store: IKgVarStore;
|
10
|
-
/** 正在查询变量配置. */
|
11
|
-
isRetrieving: ComputedRef<ReturnType<IKgVarStore['isRetrieving']>>;
|
12
|
-
/** 正在查询 VarProfileMaster. */
|
13
|
-
isRetrievingVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarProfileMaster']>>;
|
14
|
-
/** 正在查询 VarGridMaster. */
|
15
|
-
isRetrievingVarGridMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarGridMaster']>>;
|
16
|
-
/** 变量配置查询完成. */
|
17
|
-
isRetrieved: ComputedRef<ReturnType<IKgVarStore['isRetrieved']>>;
|
18
|
-
/** 正在创建. */
|
19
|
-
isCreating: ComputedRef<ReturnType<IKgVarStore['isCreating']>>;
|
20
|
-
/** 正在创建:正在调用接口. */
|
21
|
-
isCreatingRequesting: ComputedRef<ReturnType<IKgVarStore['isCreatingRequesting']>>;
|
22
|
-
/** 正在更新. */
|
23
|
-
isUpdating: ComputedRef<ReturnType<IKgVarStore['isUpdating']>>;
|
24
|
-
/** 正在更新:正在调用接口. */
|
25
|
-
isUpdatingRequesting: ComputedRef<ReturnType<IKgVarStore['isUpdatingRequesting']>>;
|
26
|
-
/** 正在复制. */
|
27
|
-
isCopying: ComputedRef<ReturnType<IKgVarStore['isCopying']>>;
|
28
|
-
/** 正在复制:正在调用接口. */
|
29
|
-
isCopyingRequesting: ComputedRef<ReturnType<IKgVarStore['isCopyingRequesting']>>;
|
30
|
-
/** 正在删除. */
|
31
|
-
isDeleting: ComputedRef<ReturnType<IKgVarStore['isDeleting']>>;
|
32
|
-
/** 正在删除:正在调用接口. */
|
33
|
-
isDeletingRequesting: ComputedRef<ReturnType<IKgVarStore['isDeletingRequesting']>>;
|
34
|
-
/** 其他按钮:正在调用接口. */
|
35
|
-
isOtherRequesting: ComputedRef<ReturnType<IKgVarStore['isOtherRequesting']>>;
|
36
|
-
/** 所有的 VarButton 列表. */
|
37
|
-
varButtons: ComputedRef<ReturnType<IKgVarStore['getVarButtons']>>;
|
38
|
-
varButtonSearch: ComputedRef<ReturnType<IKgVarStore['getVarButtonSearch']>>;
|
39
|
-
varButtonCreate: ComputedRef<ReturnType<IKgVarStore['getVarButtonCreate']>>;
|
40
|
-
varButtonUpdate: ComputedRef<ReturnType<IKgVarStore['getVarButtonUpdate']>>;
|
41
|
-
varButtonCopy: ComputedRef<ReturnType<IKgVarStore['getVarButtonCopy']>>;
|
42
|
-
varButtonDelete: ComputedRef<ReturnType<IKgVarStore['getVarButtonDelete']>>;
|
43
|
-
/** 所有的 VarProfileMaster 列表. */
|
44
|
-
varProfileMasters: ComputedRef<ReturnType<IKgVarStore['getVarProfileMasters']>>;
|
45
|
-
/** 当前的 VarProfileMaster ID. */
|
46
|
-
currentVarProfileMasterID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMasterID']>>;
|
47
|
-
/** 当前的 VarProfileMaster. */
|
48
|
-
currentVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMaster']>>;
|
49
|
-
/** 当前的 VarProfileDetail 列表. */
|
50
|
-
currentVarProfileDetails: ComputedRef<Array<VarProfileDetail> | null>;
|
51
|
-
varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
|
52
|
-
/** 所有的 VarGridMaster 列表. */
|
53
|
-
varGridMasters: ComputedRef<ReturnType<IKgVarStore['getVarGridMasters']>>;
|
54
|
-
/** 当前的 VarGridMaster ID. */
|
55
|
-
currentVarGridMasteID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridMasterID']>>;
|
56
|
-
/** 当前的 VarGridMaster. */
|
57
|
-
currentVarGridMaster: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridMaster']>>;
|
58
|
-
/** 系统的 VarGridDetail 列表. */
|
59
|
-
systemVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getSystemVarGridDetails']>>;
|
60
|
-
/** 当前的 VarGridDetail 列表. */
|
61
|
-
currentVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridDetails']>>;
|
62
|
-
/** 设置'正在创建'. */
|
63
|
-
setIsCreating(value: boolean): void;
|
64
|
-
/** 设置'正在更新'. */
|
65
|
-
setIsUpdating(value: boolean): void;
|
66
|
-
/** 设置'正在复制'. */
|
67
|
-
setIsCopying(value: boolean): void;
|
68
|
-
/** 设置'正在删除'. */
|
69
|
-
setIsDeleting(value: boolean): void;
|
70
|
-
/**
|
71
|
-
* 监听事件: retrieve, 变量配置查询完成.
|
72
|
-
* @param cb 回调函数.
|
73
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
74
|
-
*/
|
75
|
-
onRetrieve(cb: IKgVarRetrieveCb, once?: boolean): IRemoveEventListenerHandler;
|
76
|
-
/** 翻译变量. */
|
77
|
-
t: (var_nam?: string | null) => ComputedRef<string>;
|
78
|
-
};
|
79
|
-
/**
|
80
|
-
* 启用变量.
|
81
|
-
* 1. 在下级组件中调用时, 可以不传该参数, 此时会通过依赖注入获取.
|
82
|
-
* 2. 在任意页面中, 想要访问其他界面标识对应的页面的数据, 需要传入该'界面标识'.
|
83
|
-
* 3. 在组件外(setup 外面)调用时, 必须传入'界面标识'.
|
84
|
-
* @param formID 界面标识.
|
85
|
-
* @param init 是否要初始化界面. 在'宿主页面'第一次调用时, 需要传 true, 对该页面做初始化. 默认为 undefined.
|
86
|
-
* @param level 层级. 默认为 0.
|
87
|
-
*/
|
88
|
-
export declare function useKgVar(formID?: string | null, init?: boolean, level?: number): IUseKgVar;
|
@@ -1,315 +0,0 @@
|
|
1
|
-
import { type StoreDefinition } from 'pinia';
|
2
|
-
import { VarButton, VarButtonConfig, VarCatalog, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarLookup, VarPossibility, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitField, VarVariableConfig, VarVariableInput } from '../../apis/WMS/models';
|
3
|
-
import { IKgEventCb, IKgSubmitConfigProps } from '../../consts';
|
4
|
-
/**
|
5
|
-
* 事件类型.
|
6
|
-
* 'retrieve': 变量配置查询完成
|
7
|
-
*/
|
8
|
-
export declare type IKgVarEvent = 'retrieve';
|
9
|
-
/** 事件监听函数: 'retrieve'. */
|
10
|
-
export declare type IKgVarRetrieveCb = (() => void) & IKgEventCb;
|
11
|
-
export declare type IKgVarCb = IKgVarRetrieveCb;
|
12
|
-
export declare type IFormID = {
|
13
|
-
formID: string;
|
14
|
-
/**
|
15
|
-
* 页面所处的模态框(弹出框)的层级.
|
16
|
-
*
|
17
|
-
* - 普通页面中该属性值为 0
|
18
|
-
* - 第一级弹出框中该属性值为 1
|
19
|
-
* - 第二级弹出框中该属性值为 2
|
20
|
-
* - 依次类推...
|
21
|
-
*/
|
22
|
-
level: number;
|
23
|
-
};
|
24
|
-
export interface IKgVarState {
|
25
|
-
/**
|
26
|
-
* 当前打开的所有界面.
|
27
|
-
* 当前可能打开了多个界面, 需要把它们的界面标识和层级都记录下来.
|
28
|
-
*/
|
29
|
-
formIDs: Array<IFormID>;
|
30
|
-
/** 正在查询变量配置. */
|
31
|
-
isRetrievingMap: Map<string, boolean>;
|
32
|
-
/** 变量配置查询完成. */
|
33
|
-
isRetrievedMap: Map<string, boolean>;
|
34
|
-
/** 正在查询 VarProfileMaster. */
|
35
|
-
isRetrievingVarProfileMasterMap: Map<string, boolean>;
|
36
|
-
/** 正在查询 VarGridMaster. */
|
37
|
-
isRetrievingVarGridMasterMap: Map<string, boolean>;
|
38
|
-
/** 正在创建. */
|
39
|
-
isCreatingMap: Map<string, boolean>;
|
40
|
-
/** 正在创建: 正在调用接口. */
|
41
|
-
isCreatingRequestingMap: Map<string, boolean>;
|
42
|
-
/** 正在更新. */
|
43
|
-
isUpdatingMap: Map<string, boolean>;
|
44
|
-
/** 正在更新: 正在调用接口. */
|
45
|
-
isUpdatingRequestingMap: Map<string, boolean>;
|
46
|
-
/** 正在复制. */
|
47
|
-
isCopyingMap: Map<string, boolean>;
|
48
|
-
/** 正在复制: 正在调用接口. */
|
49
|
-
isCopyingRequestingMap: Map<string, boolean>;
|
50
|
-
/** 正在删除. */
|
51
|
-
isDeletingMap: Map<string, boolean>;
|
52
|
-
/** 正在删除: 正在调用接口. */
|
53
|
-
isDeletingRequestingMap: Map<string, boolean>;
|
54
|
-
/** 其他按钮: 正在调用接口. */
|
55
|
-
isOtherRequestingMap: Map<string, boolean>;
|
56
|
-
varCatalogMap: Map<string, Array<VarCatalog>>;
|
57
|
-
varLookupMap: Map<string, Array<VarLookup>>;
|
58
|
-
varPossibilityMap: Map<string, Array<VarPossibility>>;
|
59
|
-
varVariableConfigMap: Map<string, Array<VarVariableConfig>>;
|
60
|
-
varVariableInputMap: Map<string, Array<VarVariableInput>>;
|
61
|
-
varButtonMap: Map<string, Array<VarButton>>;
|
62
|
-
varButtonConfigMap: Map<string, VarButtonConfig | null>;
|
63
|
-
varSubmitConfigMap: Map<string, VarSubmitConfig | null>;
|
64
|
-
varSubmitFieldMap: Map<string, Array<VarSubmitField>>;
|
65
|
-
varProfileConfigMap: Map<string, VarProfileConfig | null>;
|
66
|
-
varProfileMasterMap: Map<string, {
|
67
|
-
varProfileMasters: Array<VarProfileMasterDTO> | null;
|
68
|
-
/** 当前选中的 VarProfileMaster ID. */
|
69
|
-
currentVarProfileMasterID: string | null;
|
70
|
-
}>;
|
71
|
-
varGridConfigMap: Map<string, VarGridConfig | null>;
|
72
|
-
varGridMasterMap: Map<string, {
|
73
|
-
varGridMasters: Array<VarGridMasterDTO> | null;
|
74
|
-
/** 当前表格视图. */
|
75
|
-
currentVarGridMasterID: string | null;
|
76
|
-
}>;
|
77
|
-
/** 事件监听函数列表: retrieve. */
|
78
|
-
onRetrieveListenersMap: Map<string, Array<IKgVarRetrieveCb>>;
|
79
|
-
}
|
80
|
-
export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState, {
|
81
|
-
/** 获取最顶层的界面标识, 即 level 最大的界面, 可能包含多个. */
|
82
|
-
getTopFormIDs(): Array<string>;
|
83
|
-
/** 获取界面层级. */
|
84
|
-
getFormLevel(): (frm_id: string | null | undefined) => number;
|
85
|
-
/**
|
86
|
-
* 翻译变量.
|
87
|
-
*/
|
88
|
-
t(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => string;
|
89
|
-
isRetrieving(): (frm_id: string | null | undefined) => boolean | null;
|
90
|
-
isRetrievingVarProfileMaster(): (frm_id: string | null | undefined) => boolean | null;
|
91
|
-
isRetrievingVarGridMaster(): (frm_id: string | null | undefined) => boolean | null;
|
92
|
-
/** 变量配置查询完成. */
|
93
|
-
isRetrieved(): (frm_id: string | null | undefined) => boolean;
|
94
|
-
isCreating(): (frm_id: string | null | undefined) => boolean | null;
|
95
|
-
isUpdating(): (frm_id: string | null | undefined) => boolean | null;
|
96
|
-
isCopying(): (frm_id: string | null | undefined) => boolean | null;
|
97
|
-
isDeleting(): (frm_id: string | null | undefined) => boolean | null;
|
98
|
-
isCreatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
|
99
|
-
isUpdatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
|
100
|
-
isCopyingRequesting(): (frm_id: string | null | undefined) => boolean | null;
|
101
|
-
isDeletingRequesting(): (frm_id: string | null | undefined) => boolean | null;
|
102
|
-
isOtherRequesting(): (frm_id: string | null | undefined) => boolean | null;
|
103
|
-
getVarCatalogs(): (frm_id: string | null | undefined) => Array<VarCatalog> | null;
|
104
|
-
/**
|
105
|
-
* 根据 frm_id 和 var_nam 获取 VarCatalog.
|
106
|
-
*/
|
107
|
-
getVarCatalog(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarCatalog | null;
|
108
|
-
getVarLookup(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarLookup | null;
|
109
|
-
getVarPossibility(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarPossibility | null;
|
110
|
-
getVarVariableConfig(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableConfig | null;
|
111
|
-
getVarVariableInput(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableInput | null;
|
112
|
-
getVarButtons(): (frm_id: string | null | undefined) => Array<VarButton> | null;
|
113
|
-
getVarSubmitConfig(): (frm_id: string | null | undefined) => VarSubmitConfig | null;
|
114
|
-
getVarSubmitConfigProps(): (frm_id: string | null | undefined) => IKgSubmitConfigProps;
|
115
|
-
/** 获取所有提交字段. */
|
116
|
-
getVarSubmitFields(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
117
|
-
/** 获取创建时的提交字段. */
|
118
|
-
getVarSubmitFieldsForCreate(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
119
|
-
/** 获取创建时的提交字段: 关键字段. */
|
120
|
-
getVarSubmitFieldsForCreateKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
121
|
-
/** 获取创建时的提交字段: 普通字段. */
|
122
|
-
getVarSubmitFieldsForCreateNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
123
|
-
/** 获取创建时的提交字段: 关键字段, 并且可见. */
|
124
|
-
getVarSubmitFieldsForCreateKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
125
|
-
/** 获取创建时的提交字段: 普通字段, 并且可见. */
|
126
|
-
getVarSubmitFieldsForCreateNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
127
|
-
/** 获取更新时的提交字段. */
|
128
|
-
getVarSubmitFieldsForUpdate(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
129
|
-
/** 获取更新时的提交字段: 关键字段. */
|
130
|
-
getVarSubmitFieldsForUpdateKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
131
|
-
/** 获取更新时的提交字段: 普通字段. */
|
132
|
-
getVarSubmitFieldsForUpdateNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
133
|
-
/** 获取更新时的提交字段: 关键字段, 并且可见. */
|
134
|
-
getVarSubmitFieldsForUpdateKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
135
|
-
/** 获取更新时的提交字段: 普通字段, 并且可见. */
|
136
|
-
getVarSubmitFieldsForUpdateNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
137
|
-
/** 获取复制时的提交字段. */
|
138
|
-
getVarSubmitFieldsForCopy(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
139
|
-
/** 获取复制时的提交字段: 关键字段. */
|
140
|
-
getVarSubmitFieldsForCopyKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
141
|
-
/** 获取复制时的提交字段: 普通字段. */
|
142
|
-
getVarSubmitFieldsForCopyNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
143
|
-
/** 获取复制时的提交字段: 关键字段, 并且可见. */
|
144
|
-
getVarSubmitFieldsForCopyKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
145
|
-
/** 获取复制时的提交字段: 普通字段, 并且可见. */
|
146
|
-
getVarSubmitFieldsForCopyNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
147
|
-
/** 获取删除时的提交字段. */
|
148
|
-
getVarSubmitFieldsForDelete(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
149
|
-
/** 获取删除时的提交字段: 关键字段. */
|
150
|
-
getVarSubmitFieldsForDeleteKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
151
|
-
/** 获取删除时的提交字段: 普通字段. */
|
152
|
-
getVarSubmitFieldsForDeleteNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
153
|
-
/** 获取删除时的提交字段: 关键字段, 并且可见. */
|
154
|
-
getVarSubmitFieldsForDeleteKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
155
|
-
/** 获取删除时的提交字段: 普通字段, 并且可见. */
|
156
|
-
getVarSubmitFieldsForDeleteNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
|
157
|
-
getVarSubmitField(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarSubmitField | null;
|
158
|
-
getVarButton(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarButton | null;
|
159
|
-
getVarButtonConfig(): (frm_id: string | null | undefined) => VarButtonConfig | null;
|
160
|
-
getVarButtonSearch(): (frm_id: string | null | undefined) => VarButton | null;
|
161
|
-
getVarButtonCreate(): (frm_id: string | null | undefined) => VarButton | null;
|
162
|
-
getVarButtonUpdate(): (frm_id: string | null | undefined) => VarButton | null;
|
163
|
-
getVarButtonCopy(): (frm_id: string | null | undefined) => VarButton | null;
|
164
|
-
getVarButtonDelete(): (frm_id: string | null | undefined) => VarButton | null;
|
165
|
-
getVarProfileConfig(): (frm_id: string | null | undefined) => VarProfileConfig | null;
|
166
|
-
getVarProfileMasters(): (frm_id: string | null | undefined) => Array<VarProfileMasterDTO> | null;
|
167
|
-
/**
|
168
|
-
* 根据 frm_id 和 var_nam 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
|
169
|
-
*/
|
170
|
-
getVarProfileDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarProfileDetail | null;
|
171
|
-
/**
|
172
|
-
* 根据 frm_id 获取 VarProfileDetail 列表.
|
173
|
-
*/
|
174
|
-
getVarProfileDetails(): (frm_id: string | null | undefined) => Array<VarProfileDetail> | null;
|
175
|
-
/**
|
176
|
-
* 根据 frm_id 获取系统的 VarProfileDetail 列表, 即 customLevel 为 0 的 VarProfileMaster 下面的所有 VarProfileDetail.
|
177
|
-
*/
|
178
|
-
getSystemVarProfileDetails(): (frm_id: string | null | undefined) => Array<VarProfileDetail> | null;
|
179
|
-
/** 获取当前 VarProfileMaster 的 ID. */
|
180
|
-
getCurrentVarProfileMasterID(): (frm_id: string | null | undefined) => string | null;
|
181
|
-
getCurrentVarProfileMaster(): (frm_id: string | null | undefined) => VarProfileMasterDTO | null;
|
182
|
-
/** 获取所有的 VarGridConfig. */
|
183
|
-
getVarGridConfigMap(): Map<string, VarGridConfig | null>;
|
184
|
-
getVarGridConfig(): (frm_id: string | null | undefined) => VarGridConfig | null;
|
185
|
-
getVarGridMasters(): (frm_id: string | null | undefined) => Array<VarGridMasterDTO> | null;
|
186
|
-
getVarGridDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarGridDetail | null;
|
187
|
-
/** 获取当前'表格视图'的 ID. */
|
188
|
-
getCurrentVarGridMasterID(): (frm_id: string | null | undefined) => string | null;
|
189
|
-
getCurrentVarGridMaster(): (frm_id: string | null | undefined) => VarGridMasterDTO | null;
|
190
|
-
getCurrentVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
|
191
|
-
/**
|
192
|
-
* 根据 frm_id 获取系统的 VarGridDetail 列表, 即 customLevel 为 0 的 VarGridMaster 下面的所有 VarGridDetail.
|
193
|
-
*/
|
194
|
-
getSystemVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
|
195
|
-
getCurrentVisibleVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
|
196
|
-
getCurrentVisibleVarGridDetailsTotalWidth(): (frm_id: string | null | undefined) => number | null;
|
197
|
-
}, {
|
198
|
-
/**
|
199
|
-
* 清理数据.
|
200
|
-
* @param frm_id 页面标识.
|
201
|
-
*/
|
202
|
-
dispose(frm_id: string): void;
|
203
|
-
/**
|
204
|
-
* 注册事件监听.
|
205
|
-
* @param frm_id 界面标识.
|
206
|
-
* @param event 事件名称.
|
207
|
-
* @param cb 回调函数.
|
208
|
-
*/
|
209
|
-
addEventListener(frm_id: string, event: IKgVarEvent, cb: IKgVarCb): void;
|
210
|
-
/**
|
211
|
-
* 退订事件监听.
|
212
|
-
* @param frm_id 界面标识.
|
213
|
-
* @param event 事件名称.
|
214
|
-
* @param cb 回调函数.
|
215
|
-
*/
|
216
|
-
removeEventListener(frm_id: string, event: IKgVarEvent, cb?: IKgVarCb): void;
|
217
|
-
/**
|
218
|
-
* 触发事件.
|
219
|
-
* @param frm_id 界面标识.
|
220
|
-
* @param event 事件名称.
|
221
|
-
* @param args 事件参数.
|
222
|
-
*/
|
223
|
-
emit(frm_id: string, event: IKgVarEvent, args?: any): void;
|
224
|
-
enter(frm_id: IFormID): Promise<void>;
|
225
|
-
/**
|
226
|
-
* 查询所有变量配置.
|
227
|
-
* @param frm_id 界面标识.
|
228
|
-
*/
|
229
|
-
retrieve(frm_id: string | null | undefined): Promise<void>;
|
230
|
-
setIsCreating(frm_id: string, value: boolean): void;
|
231
|
-
/**
|
232
|
-
*
|
233
|
-
* @param frm_id
|
234
|
-
* @param value
|
235
|
-
*/
|
236
|
-
setIsUpdating(frm_id: string, value: boolean): void;
|
237
|
-
setIsCopying(frm_id: string, value: boolean): void;
|
238
|
-
setIsDeleting(frm_id: string, deleting: boolean): void;
|
239
|
-
setIsCreatingRequesting(frm_id: string, value: boolean): void;
|
240
|
-
setIsUpdatingRequesting(frm_id: string, value: boolean): void;
|
241
|
-
setIsCopyingRequesting(frm_id: string, value: boolean): void;
|
242
|
-
setIsDeletingRequesting(frm_id: string, deleting: boolean): void;
|
243
|
-
setIsOtherRequesting(frm_id: string, value: boolean): void;
|
244
|
-
/**
|
245
|
-
* 设置当前选择的查询条件的 ID.
|
246
|
-
* @param frm_id 界面标识.
|
247
|
-
* @param currentVarProfileMasterID 当前选择的查询条件的 ID.
|
248
|
-
*/
|
249
|
-
setCurrentVarProfileMasterID(frm_id: string, currentVarProfileMasterID: string): Promise<void>;
|
250
|
-
/**
|
251
|
-
* 设置查询字段是否启用.
|
252
|
-
* @param frm_id 界面标识.
|
253
|
-
* @param var_nam 变量名称.
|
254
|
-
* @param enable 是否启用.
|
255
|
-
*/
|
256
|
-
setVarProfileDetailEnable(frm_id: string, var_nam: string | null | undefined, enable: number): void;
|
257
|
-
/**
|
258
|
-
* 设置当前选择的表格视图的 ID.
|
259
|
-
* @param frm_id 界面标识.
|
260
|
-
* @param currentVarGridMasterID 当前选择的表格视图的 ID.
|
261
|
-
*/
|
262
|
-
setCurrentVarGridMasterID(frm_id: string, currentVarGridMasterID: string): Promise<void>;
|
263
|
-
/**
|
264
|
-
* 设置列的宽度.
|
265
|
-
* @param frm_id 界面标识.
|
266
|
-
* @param var_nam 变量名称.
|
267
|
-
* @param width 新的宽度.
|
268
|
-
*/
|
269
|
-
setVarGridDetailWidth(frm_id: string, var_nam: string | null | undefined, width: number): void;
|
270
|
-
/**
|
271
|
-
* 修改 VarGridDetail 的部分属性.
|
272
|
-
* @param frm_id 界面标识.
|
273
|
-
* @param var_nam 变量名称.
|
274
|
-
* @param properties 要修改的部分属性.
|
275
|
-
*/
|
276
|
-
patchVarGridDetail(frm_id: string, var_nam: string | null | undefined, properties: VarGridDetail): Promise<void>;
|
277
|
-
/**
|
278
|
-
* 修改 VarProfileDetail 的部分属性.
|
279
|
-
* @param frm_id 界面标识.
|
280
|
-
* @param var_nam 变量名称.
|
281
|
-
* @param properties 要修改的部分属性.
|
282
|
-
*/
|
283
|
-
patchVarProfileDetail(frm_id: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
284
|
-
/**
|
285
|
-
* 设置某个 VarPossibility 配置.
|
286
|
-
* @param frm_id 界面标识.
|
287
|
-
* @param var_nam 变量名称
|
288
|
-
* @param varPossibility 配置.
|
289
|
-
*/
|
290
|
-
setVarPossibility(frm_id: string | null | undefined, var_nam: string | null | undefined, varPossibility: VarPossibility): void;
|
291
|
-
/**
|
292
|
-
* 修改 VarSubmitField 的部分属性.
|
293
|
-
* @param frm_id 界面标识.
|
294
|
-
* @param var_nam 变量名称
|
295
|
-
* @param properties 要修改的部分属性.
|
296
|
-
* @param isTriggerEvent 是否触发变更事件.
|
297
|
-
*/
|
298
|
-
patchVarSubmitField(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: VarSubmitField, isTriggerEvent?: boolean): void;
|
299
|
-
/**
|
300
|
-
* 修改 VarPossibility 的接口参数 cmd_prm 的部分属性.
|
301
|
-
* @param frm_id 界面标识.
|
302
|
-
* @param var_nam 变量名称
|
303
|
-
* @param properties 要修改的部分属性.
|
304
|
-
*/
|
305
|
-
patchVarPossibilityCommandParameter(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: Record<string, any>): Promise<void>;
|
306
|
-
/**
|
307
|
-
* 拖拽排序 VarGridDetail 列表.
|
308
|
-
* @param frm_id 界面标识.
|
309
|
-
* @param from_var_nam 被拽起的变量名称
|
310
|
-
* @param to_var_nam 被放下的变量名称.
|
311
|
-
*/
|
312
|
-
dragSortCurrentVarGridDetails(frm_id: string | null | undefined, from_var_nam: string | null | undefined, to_var_nam: string | null | undefined): void;
|
313
|
-
}>;
|
314
|
-
export declare type IKgVarStore = ReturnType<IKgVarStoreDefinition>;
|
315
|
-
export declare const useKgVarStore: () => IKgVarStoreDefinition;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { VarButton, VarButtonConfig, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitField } from '../../apis/WMS/models';
|
2
|
-
export declare function transformVarProfileConfig(varProfileConfig?: VarProfileConfig | null): VarProfileConfig | null;
|
3
|
-
export declare function transformVarGridConfig(varGridConfig?: VarGridConfig | null): VarGridConfig | null;
|
4
|
-
export declare function transformVarGridMasterDTOs(varGridMasterDTOs?: Array<VarGridMasterDTO> | null): Array<VarGridMasterDTO>;
|
5
|
-
export declare function transformVarProfileMasterDTOs(varProfileMasterDTOs?: Array<VarProfileMasterDTO> | null): Array<VarProfileMasterDTO>;
|
6
|
-
export declare function transformVarSubmitConfig(varSubmitConfig?: VarSubmitConfig | null): VarSubmitConfig | null;
|
7
|
-
export declare function transformVarSubmitFields(varSubmitFields?: Array<VarSubmitField> | null): Array<VarSubmitField>;
|
8
|
-
export declare function transformVarButtons(varButtons?: Array<VarButton> | null): Array<VarButton>;
|
9
|
-
export declare function transformVarButtonConfig(varButtonConfig?: VarButtonConfig | null): VarButtonConfig | null;
|
10
|
-
/**
|
11
|
-
* 处理 VarGridDetail 数据.
|
12
|
-
*
|
13
|
-
* @param varGridDetails 原始数据.
|
14
|
-
*/
|
15
|
-
export declare function transformVarGridDetails(varGridDetails?: Array<VarGridDetail> | null): Array<VarGridDetail>;
|
16
|
-
/**
|
17
|
-
* 处理 VarProfileDetail 数据.
|
18
|
-
*
|
19
|
-
* @param varProfileDetails 原始数据.
|
20
|
-
*/
|
21
|
-
export declare function transformVarProfileDetails(varProfileDetails?: Array<VarProfileDetail> | null): Array<VarProfileDetail>;
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
2
|
-
import { IKgButtonProps } from '../KgButton';
|
3
|
-
import { IKgFormItemSlotControlParam } from '../KgForm.Item/index.vm';
|
4
|
-
import { IKgSearchProps } from '../KgSearch';
|
5
|
-
import { IKgSubmitProps } from '../KgSubmit';
|
6
|
-
import { IKgTableSlotParams } from '../KgTable';
|
7
|
-
import { IKgTableProps } from '../KgTable/KgTable';
|
8
|
-
export declare type IKgSlots = {
|
9
|
-
/** KgTable 下面. */
|
10
|
-
afterKgTable?: () => any;
|
11
|
-
KgSearch?: {
|
12
|
-
/** 左侧. */
|
13
|
-
left?: () => any;
|
14
|
-
};
|
15
|
-
KgButton?: {
|
16
|
-
/** 右侧. */
|
17
|
-
right?: () => any;
|
18
|
-
};
|
19
|
-
KgSubmit?: {
|
20
|
-
'KgForm.Item'?: {
|
21
|
-
/** 某个表单控件. */
|
22
|
-
[variable: string]: (param: IKgFormItemSlotControlParam) => any;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
KgTable?: {
|
26
|
-
/** 单元格. */
|
27
|
-
bodyCell?: (param: IKgTableSlotParams['bodyCell']) => any;
|
28
|
-
/** 展开行. */
|
29
|
-
expandedRowRender?: (param: IKgTableSlotParams['expandedRowRender']) => any;
|
30
|
-
/** 表格底部的汇总行.单元格. */
|
31
|
-
'summary.bodyCell'?: (param: IKgTableSlotParams['summary.bodyCell']) => any;
|
32
|
-
};
|
33
|
-
};
|
34
|
-
/** 注入 kgSlots 参数. */
|
35
|
-
export declare const DI_KG_VAR__KG_SLOTS: InjectionKey<IKgSlots | undefined>;
|
36
|
-
export declare type IKgProps = {
|
37
|
-
KgSearch?: IKgSearchProps;
|
38
|
-
KgButton?: IKgButtonProps;
|
39
|
-
KgSubmit?: IKgSubmitProps;
|
40
|
-
KgTable?: IKgTableProps;
|
41
|
-
};
|
42
|
-
/** 注入 kgProps 参数. */
|
43
|
-
export declare const DI_KG_VAR__KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
-
export default _default;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgVarConfig.FormIDsModal.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
visible: PropType<boolean>;
|
5
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
6
|
-
formIDs: PropType<string[]>;
|
7
|
-
onKgOk: PropType<(formID: string) => void>;
|
8
|
-
};
|
9
|
-
export declare type IKgVarConfigFormIDsModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
11
|
-
visible: PropType<boolean>;
|
12
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
13
|
-
formIDs: PropType<string[]>;
|
14
|
-
onKgOk: PropType<(formID: string) => void>;
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "kgOk")[], "update:visible" | "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
16
|
-
visible: PropType<boolean>;
|
17
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
18
|
-
formIDs: PropType<string[]>;
|
19
|
-
onKgOk: PropType<(formID: string) => void>;
|
20
|
-
}>> & {
|
21
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
22
|
-
onKgOk?: ((...args: any[]) => any) | undefined;
|
23
|
-
}, {}>;
|
24
|
-
export default _default;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgVarConfig.Modal.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
visible: PropType<boolean>;
|
5
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
6
|
-
};
|
7
|
-
export declare type IKgVarConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
9
|
-
visible: PropType<boolean>;
|
10
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
11
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
12
|
-
visible: PropType<boolean>;
|
13
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
14
|
-
}>> & {
|
15
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
16
|
-
}, {}>;
|
17
|
-
export default _default;
|
package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgVarConfig.Modal.Button.VarButton.less';
|
3
|
-
export declare const FORM_ID__VAR_BUTTON = "kg-button.VarButton";
|
4
|
-
export declare const getProps: () => {
|
5
|
-
/** 主页面的页面标识. */
|
6
|
-
hostFormID: {
|
7
|
-
type: PropType<string>;
|
8
|
-
required: boolean;
|
9
|
-
};
|
10
|
-
};
|
11
|
-
export declare type IKgVarConfigModalButtonVarButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
12
|
-
declare const _default: import("vue").DefineComponent<{
|
13
|
-
/** 主页面的页面标识. */
|
14
|
-
hostFormID: {
|
15
|
-
type: PropType<string>;
|
16
|
-
required: boolean;
|
17
|
-
};
|
18
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
19
|
-
/** 主页面的页面标识. */
|
20
|
-
hostFormID: {
|
21
|
-
type: PropType<string>;
|
22
|
-
required: boolean;
|
23
|
-
};
|
24
|
-
}>>, {}>;
|
25
|
-
export default _default;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
export declare const FORM_ID__VAR_BUTTON_CONFIG = "kg-button.VarButtonConfig";
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 主页面的页面标识. */
|
5
|
-
hostFormID: {
|
6
|
-
type: PropType<string>;
|
7
|
-
required: boolean;
|
8
|
-
};
|
9
|
-
onKgClose: PropType<() => void>;
|
10
|
-
};
|
11
|
-
export declare type IKgVarConfigModalButtonVarButtonConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
12
|
-
declare const _default: import("vue").DefineComponent<{
|
13
|
-
/** 主页面的页面标识. */
|
14
|
-
hostFormID: {
|
15
|
-
type: PropType<string>;
|
16
|
-
required: boolean;
|
17
|
-
};
|
18
|
-
onKgClose: PropType<() => void>;
|
19
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
20
|
-
/** 主页面的页面标识. */
|
21
|
-
hostFormID: {
|
22
|
-
type: PropType<string>;
|
23
|
-
required: boolean;
|
24
|
-
};
|
25
|
-
onKgClose: PropType<() => void>;
|
26
|
-
}>> & {
|
27
|
-
onKgClose?: ((...args: any[]) => any) | undefined;
|
28
|
-
}, {}>;
|
29
|
-
export default _default;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
/** 主页面的页面标识. */
|
4
|
-
hostFormID: {
|
5
|
-
type: PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
};
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
10
|
-
/** 主页面的页面标识. */
|
11
|
-
hostFormID: {
|
12
|
-
type: PropType<string>;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
-
/** 主页面的页面标识. */
|
17
|
-
hostFormID: {
|
18
|
-
type: PropType<string>;
|
19
|
-
required: boolean;
|
20
|
-
};
|
21
|
-
}>>, {}>;
|
22
|
-
export default _default;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgVarConfig.Modal.Submit.VarSubmitField.less';
|
3
|
-
export declare const FORM_ID__VAR_SUBMIT_FIELD = "kg-submit.VarSubmitField";
|
4
|
-
export declare const getProps: () => {
|
5
|
-
/** 主页面的页面标识. */
|
6
|
-
hostFormID: {
|
7
|
-
type: PropType<string>;
|
8
|
-
required: boolean;
|
9
|
-
};
|
10
|
-
};
|
11
|
-
export declare type IKgVarConfigModalSubmitVarSubmitFieldProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
12
|
-
declare const _default: import("vue").DefineComponent<{
|
13
|
-
/** 主页面的页面标识. */
|
14
|
-
hostFormID: {
|
15
|
-
type: PropType<string>;
|
16
|
-
required: boolean;
|
17
|
-
};
|
18
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
19
|
-
/** 主页面的页面标识. */
|
20
|
-
hostFormID: {
|
21
|
-
type: PropType<string>;
|
22
|
-
required: boolean;
|
23
|
-
};
|
24
|
-
}>>, {}>;
|
25
|
-
export default _default;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
/** 主页面的页面标识. */
|
4
|
-
hostFormID: {
|
5
|
-
type: PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
};
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
10
|
-
/** 主页面的页面标识. */
|
11
|
-
hostFormID: {
|
12
|
-
type: PropType<string>;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
-
/** 主页面的页面标识. */
|
17
|
-
hostFormID: {
|
18
|
-
type: PropType<string>;
|
19
|
-
required: boolean;
|
20
|
-
};
|
21
|
-
}>>, {}>;
|
22
|
-
export default _default;
|