@kengic/vue 0.30.1-beta.77 → 0.30.1-beta.79
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 +7360 -7401
- package/dist/src/component/KgButton/{components/KgButton.Copy.d.ts → KgButton.Copy.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Create.d.ts → KgButton.Create.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Delete.d.ts → KgButton.Delete.d.ts} +3 -3
- package/dist/src/component/KgButton/{components/KgButton.Export.d.ts → KgButton.Export.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Import.d.ts → KgButton.Import.d.ts} +9 -9
- package/dist/src/component/KgButton/{components/KgButton.ImportTemplate.d.ts → KgButton.ImportTemplate.d.ts} +5 -5
- package/dist/src/component/KgButton/KgButton.Item.d.ts +70 -24
- package/dist/src/component/KgButton/{components/KgButton.Other.d.ts → KgButton.Other.d.ts} +5 -5
- package/dist/src/component/KgButton/{components/KgButton.Search.d.ts → KgButton.Search.d.ts} +3 -3
- package/dist/src/component/KgButton/{components/KgButton.Update.d.ts → KgButton.Update.d.ts} +17 -9
- package/dist/src/component/KgButton/KgButton.d.ts +1 -2
- package/dist/src/component/KgButton/KgButton.event.d.ts +1 -0
- package/dist/src/component/KgButton/KgButton.hooks.d.ts +1 -1
- package/dist/src/component/KgButton/index.d.ts +2 -60
- package/dist/src/component/KgForm/KgForm.d.ts +1 -2
- package/dist/src/component/KgForm/index.d.ts +2 -602
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Checkbox.d.ts → KgForm.Item.Checkbox.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.CheckboxGroup.d.ts → KgForm.Item.CheckboxGroup.d.ts} +8 -8
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Date.d.ts → KgForm.Item.Date.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.DateRange.d.ts → KgForm.Item.DateRange.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Image.d.ts → KgForm.Item.Image.d.ts} +10 -16
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Input.d.ts → KgForm.Item.Input.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputNumber.d.ts → KgForm.Item.InputNumber.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputPassword.d.ts → KgForm.Item.InputPassword.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Link.d.ts → KgForm.Item.Link.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.RadioGroup.d.ts → KgForm.Item.RadioGroup.d.ts} +8 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.d.ts → KgForm.Item.Select.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.service.d.ts → KgForm.Item.Select.service.d.ts} +2 -2
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.Switch.d.ts → KgForm.Item.Switch.d.ts} +6 -6
- package/dist/src/component/KgForm.Item/{components/KgForm.Item.TextArea.d.ts → KgForm.Item.TextArea.d.ts} +6 -6
- package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +2 -0
- package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +2 -2
- package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +15 -15
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +2 -2
- package/dist/src/component/KgVar/KgVar.model.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.store.d.ts +77 -77
- package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +5 -5
- package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +4 -4
- package/dist/src/component/index.d.ts +0 -2
- package/dist/src/const/const.model.d.ts +16 -12
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +2 -2
- package/dist/src/service/http-client.d.ts +1 -1
- package/package.json +145 -145
- package/dist/src/component/KgButton/KgButton.Item.data.d.ts +0 -31
- /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts → KgForm.Item.Addon.DynamicQueryOperator.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.Lookup.Modal.d.ts → KgForm.Item.Addon.Lookup.Modal.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.Lookup.d.ts → KgForm.Item.Addon.Lookup.d.ts} +0 -0
|
@@ -17,20 +17,20 @@ export interface IUseKgSubmitStoreState {
|
|
|
17
17
|
isLoadingMap: Map<string, boolean>;
|
|
18
18
|
}
|
|
19
19
|
export interface IUseKgSubmitStoreGetters {
|
|
20
|
-
getFormModel: (
|
|
21
|
-
getFormRef: (
|
|
22
|
-
getFormRules: (
|
|
20
|
+
getFormModel: (fid: string | null | undefined) => Record<string, any> | null;
|
|
21
|
+
getFormRef: (fid: string | null | undefined) => Ref<FormInstance | null>;
|
|
22
|
+
getFormRules: (fid: string | null | undefined) => Ref<Record<string, Array<RuleObject>>>;
|
|
23
23
|
/** 是否处于加载状态. */
|
|
24
|
-
getIsLoading: (
|
|
25
|
-
getVarSubmitConfig: (
|
|
24
|
+
getIsLoading: (fid: string | null | undefined) => boolean;
|
|
25
|
+
getVarSubmitConfig: (fid: string | null | undefined, param?: {
|
|
26
26
|
buttonType?: string;
|
|
27
27
|
buttonVarName?: string | null;
|
|
28
28
|
}) => VarSubmitConfig | null;
|
|
29
|
-
getVarSubmitConfigs: (
|
|
30
|
-
getVarSubmitDetailByVarProfileDetail: (
|
|
29
|
+
getVarSubmitConfigs: (fid: string | null | undefined) => Array<VarSubmitConfig>;
|
|
30
|
+
getVarSubmitDetailByVarProfileDetail: (fid: string | null | undefined, param?: {
|
|
31
31
|
varProfileDetail: VarProfileDetail | null;
|
|
32
32
|
}) => VarSubmitDetail | null;
|
|
33
|
-
getVarSubmitDetails: (
|
|
33
|
+
getVarSubmitDetails: (fid: string | null | undefined, param?: {
|
|
34
34
|
buttonType?: string;
|
|
35
35
|
buttonVarName?: string | null;
|
|
36
36
|
isKey?: 0 | 1 | null;
|
|
@@ -43,15 +43,15 @@ export interface IUseKgSubmitStoreActions {
|
|
|
43
43
|
/**
|
|
44
44
|
* 添加一个「提交表单字段」.
|
|
45
45
|
*
|
|
46
|
-
* @param
|
|
46
|
+
* @param fid 页面标识.
|
|
47
47
|
* @param varSubmitDetail 要添加的「提交表单字段」.
|
|
48
48
|
*/
|
|
49
|
-
createVarSubmitDetail(
|
|
49
|
+
createVarSubmitDetail(fid: string | null | undefined, varSubmitDetail: VarSubmitDetail): void;
|
|
50
50
|
/**
|
|
51
51
|
* 清理数据.
|
|
52
|
-
* @param
|
|
52
|
+
* @param fid 页面标识.
|
|
53
53
|
*/
|
|
54
|
-
dispose(
|
|
54
|
+
dispose(fid: string | null | undefined): void;
|
|
55
55
|
/**
|
|
56
56
|
* <p>修改某个「提交表单字段」的部分属性.</p>
|
|
57
57
|
*
|
|
@@ -73,7 +73,7 @@ export interface IUseKgSubmitStoreActions {
|
|
|
73
73
|
* @param param.properties 要修改的部分属性.
|
|
74
74
|
* @param param.varName 「提交表单字段」的变量名称, 对应的是 {@link VarSubmitDetail.var_nam} 属性.
|
|
75
75
|
*/
|
|
76
|
-
patchVarSubmitDetail(
|
|
76
|
+
patchVarSubmitDetail(fid: string | null | undefined, param: {
|
|
77
77
|
buttonType?: string;
|
|
78
78
|
buttonVarName?: string | null;
|
|
79
79
|
properties: VarSubmitDetail;
|
|
@@ -104,8 +104,8 @@ export interface IUseKgSubmitStoreActions {
|
|
|
104
104
|
buttonVarName?: string | null;
|
|
105
105
|
varSubmitDetailList: Array<VarSubmitDetail>;
|
|
106
106
|
}): Promise<void>;
|
|
107
|
-
setFormModel(
|
|
108
|
-
setIsLoading(
|
|
107
|
+
setFormModel(fid: string | null | undefined, model?: Record<string, any> | null): void;
|
|
108
|
+
setIsLoading(fid: string, value: boolean): void;
|
|
109
109
|
}
|
|
110
110
|
export declare type IUseKgSubmitStore = StoreDefinition<'KgSubmit', IUseKgSubmitStoreState, IUseKgSubmitStoreGetters, IUseKgSubmitStoreActions>;
|
|
111
111
|
export declare type IKgSubmitStore = ReturnType<IUseKgSubmitStore>;
|
|
@@ -300,8 +300,8 @@ export declare type IUseKgVar = {
|
|
|
300
300
|
* <li>下级界面: '宿主界面'下的所有界面, 都是它的'下级界面',</li>
|
|
301
301
|
* </ol>
|
|
302
302
|
*
|
|
303
|
-
* @param
|
|
303
|
+
* @param fid 界面标识.
|
|
304
304
|
* @param isInit 是否要初始化界面. 在'宿主界面'第一次调用时, 需要传 true, 对该页面做初始化. 默认为 undefined.
|
|
305
305
|
* @param level 界面层级. 比如普通界面的层级为 0, 弹窗的界面的层级为 1, 弹窗中的弹窗的界面层级为 2, 以此类推. 默认为 0.
|
|
306
306
|
*/
|
|
307
|
-
export declare function useKgVar(
|
|
307
|
+
export declare function useKgVar(fid?: string | null, isInit?: boolean, level?: number): IUseKgVar;
|
|
@@ -35,73 +35,73 @@ export interface UseKgVarStoreGetters {
|
|
|
35
35
|
/**
|
|
36
36
|
* 获取当前「表格视图」的主键.
|
|
37
37
|
*/
|
|
38
|
-
getCurrentVarGridMasterID: (
|
|
38
|
+
getCurrentVarGridMasterID: (fid: string | null | undefined) => string | null;
|
|
39
39
|
/**
|
|
40
40
|
* 获取当前的「查询条件」.
|
|
41
41
|
*/
|
|
42
|
-
getCurrentVarProfileMaster: (
|
|
42
|
+
getCurrentVarProfileMaster: (fid: string | null | undefined) => VarProfileMasterDTO | null;
|
|
43
43
|
/** 获取当前 VarProfileMaster 的 ID. */
|
|
44
|
-
getCurrentVarProfileMasterID: (
|
|
44
|
+
getCurrentVarProfileMasterID: (fid: string | null | undefined) => string | null;
|
|
45
45
|
getIsRequestedMap: Record<string, boolean>;
|
|
46
46
|
/**
|
|
47
47
|
* 获取界面层级.
|
|
48
48
|
*/
|
|
49
|
-
getLevel: (
|
|
50
|
-
getParentKgVar: (
|
|
51
|
-
getProps: (
|
|
52
|
-
getSlots: (
|
|
49
|
+
getLevel: (fid: string | null | undefined) => number;
|
|
50
|
+
getParentKgVar: (fid: string | null | undefined) => IUseKgVar | null;
|
|
51
|
+
getProps: (fid: string | null | undefined) => IKgProps | null;
|
|
52
|
+
getSlots: (fid: string | null | undefined) => IKgSlots | null;
|
|
53
53
|
/**
|
|
54
54
|
* 和 varName 获取 VarButton.
|
|
55
55
|
*/
|
|
56
|
-
getVarButton: (
|
|
57
|
-
getVarButtonConfig: (
|
|
56
|
+
getVarButton: (fid: string | null | undefined, varName: string | null | undefined) => VarButton | null;
|
|
57
|
+
getVarButtonConfig: (fid: string | null | undefined) => VarButtonConfig | null;
|
|
58
58
|
getVarButtonConfigMap: Record<string, VarButtonConfig | null>;
|
|
59
|
-
getVarButtonCopy: (
|
|
60
|
-
getVarButtonCreate: (
|
|
61
|
-
getVarButtonDelete: (
|
|
59
|
+
getVarButtonCopy: (fid: string | null | undefined) => VarButton | null;
|
|
60
|
+
getVarButtonCreate: (fid: string | null | undefined) => VarButton | null;
|
|
61
|
+
getVarButtonDelete: (fid: string | null | undefined) => VarButton | null;
|
|
62
62
|
getVarButtonMap: Record<string, Array<VarButton>>;
|
|
63
|
-
getVarButtonSearch: (
|
|
64
|
-
getVarButtonUpdate: (
|
|
65
|
-
getVarButtons: (
|
|
66
|
-
getVarChildDetails: (
|
|
67
|
-
getVarConfigControl: (
|
|
63
|
+
getVarButtonSearch: (fid: string | null | undefined) => VarButton | null;
|
|
64
|
+
getVarButtonUpdate: (fid: string | null | undefined) => VarButton | null;
|
|
65
|
+
getVarButtons: (fid: string | null | undefined) => Array<VarButton>;
|
|
66
|
+
getVarChildDetails: (fid: string | null | undefined) => Array<VarChildDetail>;
|
|
67
|
+
getVarConfigControl: (fid: string | null | undefined, param: {
|
|
68
68
|
buttonType?: KG__VAR_BUTTON__TYPE;
|
|
69
69
|
buttonVarName?: string | null;
|
|
70
70
|
varName: string | null | undefined;
|
|
71
71
|
}) => VarConfigControl | null;
|
|
72
|
-
getVarConfigInput: (
|
|
73
|
-
getVarConfigLookup: (
|
|
74
|
-
getVarConfigPossibility: (
|
|
72
|
+
getVarConfigInput: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigInput | null;
|
|
73
|
+
getVarConfigLookup: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
|
|
74
|
+
getVarConfigPossibility: (fid: string | null | undefined, param: {
|
|
75
75
|
varName: string | null | undefined;
|
|
76
76
|
}) => VarConfigPossibility | null;
|
|
77
|
-
getVarConfigTip: (
|
|
78
|
-
getVarDda: (
|
|
77
|
+
getVarConfigTip: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
|
|
78
|
+
getVarDda: (fid: string | null | undefined) => VarDda | null;
|
|
79
79
|
/**
|
|
80
80
|
* 获取'表格配置'.
|
|
81
81
|
*/
|
|
82
|
-
getVarGridConfig: (
|
|
82
|
+
getVarGridConfig: (fid: string | null | undefined) => VarGridConfig | null;
|
|
83
83
|
/** 获取所有的 VarGridConfig. */
|
|
84
84
|
getVarGridConfigMap: Record<string, VarGridConfig | null>;
|
|
85
|
-
getVarGridDetail: (
|
|
85
|
+
getVarGridDetail: (fid: string | null | undefined, param: {
|
|
86
86
|
varName: string | null | undefined;
|
|
87
87
|
}) => VarGridDetail | null;
|
|
88
88
|
/**
|
|
89
89
|
* 获取当前的「表格视图明细」列表.
|
|
90
90
|
*/
|
|
91
|
-
getVarGridDetailList: (
|
|
91
|
+
getVarGridDetailList: (fid: string | null | undefined) => Array<VarGridDetail> | null;
|
|
92
92
|
/**
|
|
93
93
|
* 获取当前的「表格视图」.
|
|
94
94
|
*/
|
|
95
|
-
getVarGridMaster: (
|
|
95
|
+
getVarGridMaster: (fid: string | null | undefined) => VarGridMasterDTO | null;
|
|
96
96
|
/**
|
|
97
97
|
* 获取 VarGridMaster 列表.
|
|
98
98
|
*/
|
|
99
|
-
getVarGridMasters: (
|
|
100
|
-
getVarProfileConfig: (
|
|
99
|
+
getVarGridMasters: (fid: string | null | undefined) => Array<VarGridMasterDTO> | null;
|
|
100
|
+
getVarProfileConfig: (fid: string | null | undefined) => VarProfileConfig | null;
|
|
101
101
|
/**
|
|
102
102
|
* 和 varName 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
|
|
103
103
|
*/
|
|
104
|
-
getVarProfileDetail: (
|
|
104
|
+
getVarProfileDetail: (fid: string | null | undefined, varName: string | null | undefined) => VarProfileDetail | null;
|
|
105
105
|
getVarProfileMasterMap: Record<string, {
|
|
106
106
|
varProfileMasters: Array<VarProfileMasterDTO> | null;
|
|
107
107
|
/** 当前选中的 VarProfileMaster ID. */
|
|
@@ -110,29 +110,29 @@ export interface UseKgVarStoreGetters {
|
|
|
110
110
|
/**
|
|
111
111
|
* 获取 VarProfileMasterDTO 列表.
|
|
112
112
|
*/
|
|
113
|
-
getVarProfileMasters: (
|
|
113
|
+
getVarProfileMasters: (fid: string | null | undefined) => Array<VarProfileMasterDTO> | null;
|
|
114
114
|
getVarSubmitConfigMap: Record<string, Array<VarSubmitConfig>>;
|
|
115
115
|
getVarSubmitDetailMap: Record<string, Array<VarSubmitDetail>>;
|
|
116
|
-
getVarVariables: (
|
|
116
|
+
getVarVariables: (fid: string | null | undefined) => Array<VarVariable>;
|
|
117
117
|
/**
|
|
118
118
|
* 获取当前视图下可显示的 VarGridDetail 列表.
|
|
119
119
|
*/
|
|
120
|
-
getVisibleVarGridDetailList: (
|
|
120
|
+
getVisibleVarGridDetailList: (fid: string | null | undefined) => Array<VarGridDetail> | null;
|
|
121
121
|
/**
|
|
122
122
|
* 获取当前视图下可显示的 VarGridDetail 的宽度之和.
|
|
123
123
|
*/
|
|
124
|
-
getVisibleVarGridDetailListTotalWidth: (
|
|
125
|
-
isCopyingRequesting: (
|
|
126
|
-
isCreatingRequesting: (
|
|
127
|
-
isDeletingRequesting: (
|
|
128
|
-
isOtherRequesting: (
|
|
124
|
+
getVisibleVarGridDetailListTotalWidth: (fid: string | null | undefined) => number | null;
|
|
125
|
+
isCopyingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
126
|
+
isCreatingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
127
|
+
isDeletingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
128
|
+
isOtherRequesting: (fid: string | null | undefined) => boolean | null;
|
|
129
129
|
/** 变量配置是否查询完成. */
|
|
130
|
-
isRequested: (
|
|
131
|
-
isRetrieving: (
|
|
132
|
-
isRetrievingVarGridMaster: (
|
|
133
|
-
isRetrievingVarProfileMaster: (
|
|
134
|
-
isUpdatingRequesting: (
|
|
135
|
-
t: (
|
|
130
|
+
isRequested: (fid: string | null | undefined) => boolean;
|
|
131
|
+
isRetrieving: (fid: string | null | undefined) => boolean | null;
|
|
132
|
+
isRetrievingVarGridMaster: (fid: string | null | undefined) => boolean | null;
|
|
133
|
+
isRetrievingVarProfileMaster: (fid: string | null | undefined) => boolean | null;
|
|
134
|
+
isUpdatingRequesting: (fid: string | null | undefined) => boolean | null;
|
|
135
|
+
t: (fid: string | null | undefined, varName: string | null | undefined) => string;
|
|
136
136
|
}
|
|
137
137
|
export interface IUseKgVarStoreActions {
|
|
138
138
|
createVarConfigControl(varConfigControl: VarConfigControl): void;
|
|
@@ -142,19 +142,19 @@ export interface IUseKgVarStoreActions {
|
|
|
142
142
|
* <p>离开一个界面, 即销毁一个界面.</p>
|
|
143
143
|
* <p>删除它的变量配置数据.</p>
|
|
144
144
|
*
|
|
145
|
-
* @param
|
|
145
|
+
* @param fid 界面标识.
|
|
146
146
|
*/
|
|
147
|
-
dispose(
|
|
147
|
+
dispose(fid: string): void;
|
|
148
148
|
/**
|
|
149
149
|
* 拖拽排序 VarGridDetail 列表.
|
|
150
|
-
* @param
|
|
150
|
+
* @param fid 界面标识.
|
|
151
151
|
* @param fromVarName 被拽起的变量名称
|
|
152
152
|
* @param toVarName 被放下的变量名称.
|
|
153
153
|
*/
|
|
154
|
-
dragSortCurrentVarGridDetails(
|
|
154
|
+
dragSortCurrentVarGridDetails(fid: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
|
|
155
155
|
/**
|
|
156
156
|
* 进入一个界面. 同一个界面不允许进入多次.
|
|
157
|
-
* @param param.
|
|
157
|
+
* @param param.fid 界面标识.
|
|
158
158
|
* @param param.level 界面层级.
|
|
159
159
|
*/
|
|
160
160
|
init(param: {
|
|
@@ -164,106 +164,106 @@ export interface IUseKgVarStoreActions {
|
|
|
164
164
|
/**
|
|
165
165
|
* 修改 VarButton 的部分属性.
|
|
166
166
|
*
|
|
167
|
-
* @param
|
|
167
|
+
* @param fid 界面标识.
|
|
168
168
|
* @param param
|
|
169
169
|
* @param param.varName 变量名称.
|
|
170
170
|
* @param param.properties 要修改的部分属性.
|
|
171
171
|
*/
|
|
172
|
-
patchVarButton(
|
|
172
|
+
patchVarButton(fid: string | null | undefined, param: {
|
|
173
173
|
properties: VarButton;
|
|
174
174
|
varName: string | null | undefined;
|
|
175
175
|
}): Promise<void>;
|
|
176
176
|
/**
|
|
177
177
|
* 修改「表格配置」的部分属性.
|
|
178
178
|
*
|
|
179
|
-
* @param
|
|
179
|
+
* @param fid 界面标识.
|
|
180
180
|
* @param param
|
|
181
181
|
* @param param.properties 要修改的部分属性.
|
|
182
182
|
*/
|
|
183
|
-
patchVarGridConfig(
|
|
183
|
+
patchVarGridConfig(fid: string | null | undefined, param: {
|
|
184
184
|
properties: VarGridConfig;
|
|
185
185
|
}): Promise<void>;
|
|
186
186
|
/**
|
|
187
187
|
* 修改当前的「表格视图明细」的部分属性.
|
|
188
188
|
*
|
|
189
|
-
* @param
|
|
189
|
+
* @param fid 界面标识.
|
|
190
190
|
* @param param
|
|
191
191
|
* @param param.varName 变量名称.
|
|
192
192
|
* @param param.properties 要修改的部分属性.
|
|
193
193
|
*/
|
|
194
|
-
patchVarGridDetail(
|
|
194
|
+
patchVarGridDetail(fid: string | null | undefined, param: {
|
|
195
195
|
properties: VarGridDetail;
|
|
196
196
|
varName: string | null | undefined;
|
|
197
197
|
}): Promise<void>;
|
|
198
198
|
/**
|
|
199
199
|
* 修改当前的「表格视图」的部分属性.
|
|
200
200
|
*
|
|
201
|
-
* @param
|
|
201
|
+
* @param fid 界面标识.
|
|
202
202
|
* @param param
|
|
203
203
|
* @param param.properties 要修改的部分属性.
|
|
204
204
|
*/
|
|
205
|
-
patchVarGridMaster(
|
|
205
|
+
patchVarGridMaster(fid: string | null | undefined, param: {
|
|
206
206
|
properties: VarGridMasterDTO;
|
|
207
207
|
}): Promise<void>;
|
|
208
208
|
/**
|
|
209
209
|
* 修改 VarConfigPossibility 的接口参数 cmd_prm 的部分属性.
|
|
210
|
-
* @param
|
|
210
|
+
* @param fid 界面标识.
|
|
211
211
|
* @param varName 变量名称
|
|
212
212
|
* @param properties 要修改的部分属性.
|
|
213
213
|
*/
|
|
214
|
-
patchVarPossibilityCommandParameter(
|
|
214
|
+
patchVarPossibilityCommandParameter(fid: string | null | undefined, varName: string | null | undefined, properties: Record<string, any>): Promise<void>;
|
|
215
215
|
/**
|
|
216
216
|
* 修改 VarProfileDetail 的部分属性.
|
|
217
217
|
*
|
|
218
|
-
* @param
|
|
218
|
+
* @param fid 界面标识.
|
|
219
219
|
* @param varName 变量名称.
|
|
220
220
|
* @param properties 要修改的部分属性.
|
|
221
221
|
*/
|
|
222
|
-
patchVarProfileDetail(
|
|
222
|
+
patchVarProfileDetail(fid: string, varName: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
|
223
223
|
/**
|
|
224
224
|
* 查询所有变量配置.
|
|
225
225
|
*
|
|
226
|
-
* @param
|
|
226
|
+
* @param fid 界面标识.
|
|
227
227
|
* @param param 参数.
|
|
228
228
|
* @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
|
|
229
229
|
*/
|
|
230
|
-
requestAll(
|
|
230
|
+
requestAll(fid: string | null | undefined, param?: {
|
|
231
231
|
isForceRequest?: boolean;
|
|
232
232
|
}): Promise<void>;
|
|
233
233
|
/**
|
|
234
234
|
* 设置当前「表格视图」的 ID.
|
|
235
235
|
*
|
|
236
|
-
* @param
|
|
236
|
+
* @param fid 界面标识.
|
|
237
237
|
* @param currentVarGridMasterID 当前选择的表格视图的 ID.
|
|
238
238
|
*/
|
|
239
|
-
setCurrentVarGridMasterID(
|
|
239
|
+
setCurrentVarGridMasterID(fid?: string | null, currentVarGridMasterID?: string | null): Promise<void>;
|
|
240
240
|
/**
|
|
241
241
|
* 设置当前选择的查询条件的 ID.
|
|
242
|
-
* @param
|
|
242
|
+
* @param fid 界面标识.
|
|
243
243
|
* @param currentVarProfileMasterID 当前选择的查询条件的 ID.
|
|
244
244
|
*/
|
|
245
|
-
setCurrentVarProfileMasterID(
|
|
246
|
-
setIsCopyingRequesting(
|
|
247
|
-
setIsCreatingRequesting(
|
|
248
|
-
setIsDeletingRequesting(
|
|
249
|
-
setIsOtherRequesting(
|
|
250
|
-
setIsUpdatingRequesting(
|
|
251
|
-
setProps(
|
|
252
|
-
setSlots(
|
|
245
|
+
setCurrentVarProfileMasterID(fid?: string | null, currentVarProfileMasterID?: string | null): Promise<void>;
|
|
246
|
+
setIsCopyingRequesting(fid: string, value: boolean): void;
|
|
247
|
+
setIsCreatingRequesting(fid: string, value: boolean): void;
|
|
248
|
+
setIsDeletingRequesting(fid: string, value: boolean): void;
|
|
249
|
+
setIsOtherRequesting(fid: string, value: boolean): void;
|
|
250
|
+
setIsUpdatingRequesting(fid: string, value: boolean): void;
|
|
251
|
+
setProps(fid: string, value: IKgProps): void;
|
|
252
|
+
setSlots(fid: string, value: IKgSlots): void;
|
|
253
253
|
/**
|
|
254
254
|
* 设置某个「变量配置:列表数据」.
|
|
255
255
|
*
|
|
256
|
-
* @param
|
|
256
|
+
* @param fid 界面标识.
|
|
257
257
|
* @param varName 变量名称
|
|
258
258
|
* @param varConfigPossibility 配置.
|
|
259
259
|
*/
|
|
260
|
-
setVarPossibility(
|
|
260
|
+
setVarPossibility(fid: string | null | undefined, varName: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
|
|
261
261
|
/**
|
|
262
262
|
* 设置查询字段是否启用.
|
|
263
|
-
* @param
|
|
263
|
+
* @param fid 界面标识.
|
|
264
264
|
* @param varName 变量名称.
|
|
265
265
|
* @param enable 是否启用.
|
|
266
266
|
*/
|
|
267
|
-
setVarProfileDetailEnable(
|
|
267
|
+
setVarProfileDetailEnable(fid: string, varName: string | null | undefined, enable: number): void;
|
|
268
268
|
}
|
|
269
269
|
export declare const useKgVarStore: KgStoreDefinition<UseKgVarStoreGetters, IUseKgVarStoreActions>;
|
|
@@ -4,14 +4,14 @@ import { VarProfileDetail } from '../../../../api/WMS/models';
|
|
|
4
4
|
/**
|
|
5
5
|
* 字段表格的列:左侧.
|
|
6
6
|
*
|
|
7
|
-
* @param
|
|
7
|
+
* @param hostFid 宿主界面标识.
|
|
8
8
|
*/
|
|
9
|
-
export declare function leftVarProfileDetailColumns(
|
|
9
|
+
export declare function leftVarProfileDetailColumns(hostFid: string): ColumnsType<any>;
|
|
10
10
|
/**
|
|
11
11
|
* 字段表格的列:右侧.
|
|
12
12
|
*
|
|
13
|
-
* @param
|
|
13
|
+
* @param hostFid 宿主界面标识.
|
|
14
14
|
*/
|
|
15
|
-
export declare function rightVarProfileDetailColumns(
|
|
15
|
+
export declare function rightVarProfileDetailColumns(hostFid: string): ColumnsType<any>;
|
|
16
16
|
export declare type IUseDragRow = {};
|
|
17
|
-
export declare function _useDragToSortRow(
|
|
17
|
+
export declare function _useDragToSortRow(hostFid: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
|
|
@@ -9,15 +9,15 @@ export declare type IUseTransferColumns = {
|
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
* @param
|
|
12
|
+
* @param hostFid 宿主页面标识.
|
|
13
13
|
* @param varGridDetails
|
|
14
14
|
*/
|
|
15
|
-
export declare function _useTransferColumns(
|
|
15
|
+
export declare function _useTransferColumns(hostFid: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
|
|
16
16
|
export declare type IUseDragRow = {};
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
|
-
* @param
|
|
19
|
+
* @param hostFid 宿主页面标识.
|
|
20
20
|
* @param varGridDetails
|
|
21
21
|
* @param transferRightRows
|
|
22
22
|
*/
|
|
23
|
-
export declare function _useDragToSortRow(
|
|
23
|
+
export declare function _useDragToSortRow(hostFid: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
|
|
@@ -16,8 +16,6 @@ export * from './KgVarConfig';
|
|
|
16
16
|
export * from './KgWarehouse';
|
|
17
17
|
export * from './KgYesOrNo';
|
|
18
18
|
export * from './KgButton';
|
|
19
|
-
export { default as KgButton } from './KgButton';
|
|
20
19
|
export * from './KgForm';
|
|
21
|
-
export { default as KgForm } from './KgForm';
|
|
22
20
|
export * from './KgForm.Item';
|
|
23
21
|
export { Q } from '@thymine/xunee';
|
|
@@ -88,23 +88,25 @@ export declare const KG: {
|
|
|
88
88
|
*/
|
|
89
89
|
kgIsEditable: {
|
|
90
90
|
type: import("vue").PropType<boolean>;
|
|
91
|
-
default: boolean;
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
default: boolean; /**
|
|
92
|
+
* 变量名称.
|
|
93
|
+
*/
|
|
94
|
+
}; /**
|
|
94
95
|
* 变量名称.
|
|
95
96
|
*/
|
|
96
97
|
kgIsEnableOverview: {
|
|
97
98
|
type: import("vue").PropType<boolean>;
|
|
98
99
|
default: boolean;
|
|
99
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* 模拟器.
|
|
103
|
+
*/
|
|
100
104
|
kgIsGridBackground: {
|
|
101
105
|
type: import("vue").PropType<boolean>;
|
|
102
106
|
default: boolean;
|
|
103
107
|
};
|
|
104
108
|
kgIsResizable: {
|
|
105
|
-
type: import("vue").PropType<boolean>;
|
|
106
|
-
* 左上侧面板.
|
|
107
|
-
*/
|
|
109
|
+
type: import("vue").PropType<boolean>;
|
|
108
110
|
default: boolean;
|
|
109
111
|
};
|
|
110
112
|
}>>>;
|
|
@@ -463,23 +465,25 @@ export declare const KG_CONST: {
|
|
|
463
465
|
*/
|
|
464
466
|
kgIsEditable: {
|
|
465
467
|
type: import("vue").PropType<boolean>;
|
|
466
|
-
default: boolean;
|
|
467
|
-
|
|
468
|
-
|
|
468
|
+
default: boolean; /**
|
|
469
|
+
* 变量名称.
|
|
470
|
+
*/
|
|
471
|
+
}; /**
|
|
469
472
|
* 变量名称.
|
|
470
473
|
*/
|
|
471
474
|
kgIsEnableOverview: {
|
|
472
475
|
type: import("vue").PropType<boolean>;
|
|
473
476
|
default: boolean;
|
|
474
477
|
};
|
|
478
|
+
/**
|
|
479
|
+
* 模拟器.
|
|
480
|
+
*/
|
|
475
481
|
kgIsGridBackground: {
|
|
476
482
|
type: import("vue").PropType<boolean>;
|
|
477
483
|
default: boolean;
|
|
478
484
|
};
|
|
479
485
|
kgIsResizable: {
|
|
480
|
-
type: import("vue").PropType<boolean>;
|
|
481
|
-
* 左上侧面板.
|
|
482
|
-
*/
|
|
486
|
+
type: import("vue").PropType<boolean>;
|
|
483
487
|
default: boolean;
|
|
484
488
|
};
|
|
485
489
|
}>>>;
|
|
@@ -12,7 +12,7 @@ export interface IKgPageDdaCreateStoreActions {
|
|
|
12
12
|
deleteVarButton(param: {
|
|
13
13
|
varName: string | null | undefined;
|
|
14
14
|
}): void;
|
|
15
|
-
getVarText(
|
|
15
|
+
getVarText(vname: string | null | undefined): string;
|
|
16
16
|
initCreateVarDdaQuery(): void;
|
|
17
17
|
patchSysPermission(param: {
|
|
18
18
|
properties: SysPermission;
|
|
@@ -21,7 +21,7 @@ export interface IKgPageDdaCreateStoreActions {
|
|
|
21
21
|
varName: string | null | undefined;
|
|
22
22
|
properties: VarButton;
|
|
23
23
|
}): void;
|
|
24
|
-
setFormID(
|
|
24
|
+
setFormID(fid: string | null | undefined): void;
|
|
25
25
|
setIsLoading(_isLoading: boolean | null | undefined): void;
|
|
26
26
|
setResultSetMetadataColumns(columns: Array<ResultSetMetadataColumn> | null | undefined): void;
|
|
27
27
|
setVarGridDetails(varGridDetails: Array<VarGridDetail>): void;
|
|
@@ -17,7 +17,7 @@ declare function kgConfigHttpClient(httpClient: IHttpClient | null): void;
|
|
|
17
17
|
* 获取 httpClient 实例.
|
|
18
18
|
*/
|
|
19
19
|
declare function httpClient(): IHttpClient;
|
|
20
|
-
interface IRequestConfig<P =
|
|
20
|
+
interface IRequestConfig<P = Record<string, any>, D = Record<string, any>> extends AxiosRequestConfig<D> {
|
|
21
21
|
params?: P;
|
|
22
22
|
}
|
|
23
23
|
interface IRequestOption {
|