@kengic/vue 0.16.2 → 0.16.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +1316 -1268
- package/package.json +10 -9
- 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,316 +0,0 @@
|
|
1
|
-
import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
2
|
-
import { ButtonHTMLType, LegacyButtonType } from 'ant-design-vue/es/button/buttonTypes';
|
3
|
-
import { VueNode } from 'ant-design-vue/es/_util/type';
|
4
|
-
import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
|
5
|
-
import { SizeType } from 'ant-design-vue/es/config-provider';
|
6
|
-
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
7
|
-
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
8
|
-
export declare const formProps: () => {
|
9
|
-
layout: PropType<"horizontal" | "inline" | "vertical">;
|
10
|
-
labelCol: {
|
11
|
-
type: PropType<Partial<ExtractPropTypes<{
|
12
|
-
span: (StringConstructor | NumberConstructor)[];
|
13
|
-
order: (StringConstructor | NumberConstructor)[];
|
14
|
-
offset: (StringConstructor | NumberConstructor)[];
|
15
|
-
push: (StringConstructor | NumberConstructor)[];
|
16
|
-
pull: (StringConstructor | NumberConstructor)[];
|
17
|
-
xs: {
|
18
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
19
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
20
|
-
};
|
21
|
-
sm: {
|
22
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
23
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
24
|
-
};
|
25
|
-
md: {
|
26
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
27
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
28
|
-
};
|
29
|
-
lg: {
|
30
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
31
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
32
|
-
};
|
33
|
-
xl: {
|
34
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
35
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
36
|
-
};
|
37
|
-
xxl: {
|
38
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
39
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
40
|
-
};
|
41
|
-
xxxl: {
|
42
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
43
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
44
|
-
};
|
45
|
-
prefixCls: StringConstructor;
|
46
|
-
flex: (StringConstructor | NumberConstructor)[];
|
47
|
-
}>> & HTMLAttributes>;
|
48
|
-
};
|
49
|
-
wrapperCol: {
|
50
|
-
type: PropType<Partial<ExtractPropTypes<{
|
51
|
-
span: (StringConstructor | NumberConstructor)[];
|
52
|
-
order: (StringConstructor | NumberConstructor)[];
|
53
|
-
offset: (StringConstructor | NumberConstructor)[];
|
54
|
-
push: (StringConstructor | NumberConstructor)[];
|
55
|
-
pull: (StringConstructor | NumberConstructor)[];
|
56
|
-
xs: {
|
57
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
58
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
59
|
-
};
|
60
|
-
sm: {
|
61
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
62
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
63
|
-
};
|
64
|
-
md: {
|
65
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
66
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
67
|
-
};
|
68
|
-
lg: {
|
69
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
70
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
71
|
-
};
|
72
|
-
xl: {
|
73
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
74
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
75
|
-
};
|
76
|
-
xxl: {
|
77
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
78
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
79
|
-
};
|
80
|
-
xxxl: {
|
81
|
-
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
82
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
83
|
-
};
|
84
|
-
prefixCls: StringConstructor;
|
85
|
-
flex: (StringConstructor | NumberConstructor)[];
|
86
|
-
}>> & HTMLAttributes>;
|
87
|
-
};
|
88
|
-
colon: {
|
89
|
-
type: BooleanConstructor;
|
90
|
-
default: undefined;
|
91
|
-
};
|
92
|
-
labelAlign: PropType<"left" | "right">;
|
93
|
-
labelWrap: {
|
94
|
-
type: BooleanConstructor;
|
95
|
-
default: undefined;
|
96
|
-
};
|
97
|
-
prefixCls: StringConstructor;
|
98
|
-
requiredMark: {
|
99
|
-
type: PropType<"" | RequiredMark>;
|
100
|
-
default: undefined;
|
101
|
-
};
|
102
|
-
model: PropType<Object>;
|
103
|
-
rules: {
|
104
|
-
type: PropType<{
|
105
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
106
|
-
}>;
|
107
|
-
};
|
108
|
-
validateMessages: {
|
109
|
-
type: PropType<ValidateMessages>;
|
110
|
-
default: undefined;
|
111
|
-
};
|
112
|
-
validateOnRuleChange: {
|
113
|
-
type: BooleanConstructor;
|
114
|
-
default: undefined;
|
115
|
-
};
|
116
|
-
scrollToFirstError: {
|
117
|
-
type: PropType<any>;
|
118
|
-
};
|
119
|
-
onSubmit: PropType<(e: Event) => void>;
|
120
|
-
name: StringConstructor;
|
121
|
-
validateTrigger: {
|
122
|
-
type: PropType<string | string[]>;
|
123
|
-
};
|
124
|
-
size: {
|
125
|
-
type: PropType<SizeType>;
|
126
|
-
};
|
127
|
-
onValuesChange: {
|
128
|
-
type: PropType<((changedValues: any, values: any) => void) | undefined>;
|
129
|
-
};
|
130
|
-
onFieldsChange: {
|
131
|
-
type: PropType<((changedFields: import("ant-design-vue/es/form/interface").FieldData[], allFields: import("ant-design-vue/es/form/interface").FieldData[]) => void) | undefined>;
|
132
|
-
};
|
133
|
-
onFinish: {
|
134
|
-
type: PropType<((values: any) => void) | undefined>;
|
135
|
-
};
|
136
|
-
onFinishFailed: {
|
137
|
-
type: PropType<((errorInfo: import("ant-design-vue/es/form/interface").ValidateErrorEntity<any>) => void) | undefined>;
|
138
|
-
};
|
139
|
-
onValidate: {
|
140
|
-
type: PropType<((name: string | number | string[] | number[], status: boolean, errors: string[] | null) => void) | undefined>;
|
141
|
-
};
|
142
|
-
};
|
143
|
-
declare type getContainerFunc = () => HTMLElement;
|
144
|
-
export declare const modalProps: () => {
|
145
|
-
prefixCls: StringConstructor;
|
146
|
-
visible: {
|
147
|
-
type: BooleanConstructor;
|
148
|
-
default: undefined;
|
149
|
-
};
|
150
|
-
confirmLoading: {
|
151
|
-
type: BooleanConstructor;
|
152
|
-
default: undefined;
|
153
|
-
};
|
154
|
-
title: PropType<any>;
|
155
|
-
closable: {
|
156
|
-
type: BooleanConstructor;
|
157
|
-
default: undefined;
|
158
|
-
};
|
159
|
-
closeIcon: PropType<any>;
|
160
|
-
onOk: PropType<(e: MouseEvent) => void>;
|
161
|
-
onCancel: PropType<(e: MouseEvent) => void>;
|
162
|
-
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
163
|
-
onChange: PropType<(visible: boolean) => void>;
|
164
|
-
afterClose: PropType<() => void>;
|
165
|
-
centered: {
|
166
|
-
type: BooleanConstructor;
|
167
|
-
default: undefined;
|
168
|
-
};
|
169
|
-
width: (StringConstructor | NumberConstructor)[];
|
170
|
-
footer: PropType<any>;
|
171
|
-
okText: PropType<any>;
|
172
|
-
okType: PropType<LegacyButtonType>;
|
173
|
-
cancelText: PropType<any>;
|
174
|
-
icon: PropType<any>;
|
175
|
-
maskClosable: {
|
176
|
-
type: BooleanConstructor;
|
177
|
-
default: undefined;
|
178
|
-
};
|
179
|
-
forceRender: {
|
180
|
-
type: BooleanConstructor;
|
181
|
-
default: undefined;
|
182
|
-
};
|
183
|
-
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
184
|
-
prefixCls: StringConstructor;
|
185
|
-
type: PropType<ButtonType>;
|
186
|
-
htmlType: {
|
187
|
-
type: PropType<ButtonHTMLType>;
|
188
|
-
default: string;
|
189
|
-
};
|
190
|
-
shape: {
|
191
|
-
type: PropType<ButtonShape>;
|
192
|
-
};
|
193
|
-
size: {
|
194
|
-
type: PropType<SizeType>;
|
195
|
-
};
|
196
|
-
loading: {
|
197
|
-
type: PropType<boolean | {
|
198
|
-
delay?: number | undefined;
|
199
|
-
}>;
|
200
|
-
default: () => boolean | {
|
201
|
-
delay?: number;
|
202
|
-
};
|
203
|
-
};
|
204
|
-
disabled: {
|
205
|
-
type: BooleanConstructor;
|
206
|
-
default: undefined;
|
207
|
-
};
|
208
|
-
ghost: {
|
209
|
-
type: BooleanConstructor;
|
210
|
-
default: undefined;
|
211
|
-
};
|
212
|
-
block: {
|
213
|
-
type: BooleanConstructor;
|
214
|
-
default: undefined;
|
215
|
-
};
|
216
|
-
danger: {
|
217
|
-
type: BooleanConstructor;
|
218
|
-
default: undefined;
|
219
|
-
};
|
220
|
-
icon: PropType<any>;
|
221
|
-
href: StringConstructor;
|
222
|
-
target: StringConstructor;
|
223
|
-
title: StringConstructor;
|
224
|
-
onClick: {
|
225
|
-
type: PropType<(event: MouseEvent) => void>;
|
226
|
-
};
|
227
|
-
onMousedown: {
|
228
|
-
type: PropType<(event: MouseEvent) => void>;
|
229
|
-
};
|
230
|
-
}>>>;
|
231
|
-
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
232
|
-
prefixCls: StringConstructor;
|
233
|
-
type: PropType<ButtonType>;
|
234
|
-
htmlType: {
|
235
|
-
type: PropType<ButtonHTMLType>;
|
236
|
-
default: string;
|
237
|
-
};
|
238
|
-
shape: {
|
239
|
-
type: PropType<ButtonShape>;
|
240
|
-
};
|
241
|
-
size: {
|
242
|
-
type: PropType<SizeType>;
|
243
|
-
};
|
244
|
-
loading: {
|
245
|
-
type: PropType<boolean | {
|
246
|
-
delay?: number | undefined;
|
247
|
-
}>;
|
248
|
-
default: () => boolean | {
|
249
|
-
delay?: number;
|
250
|
-
};
|
251
|
-
};
|
252
|
-
disabled: {
|
253
|
-
type: BooleanConstructor;
|
254
|
-
default: undefined;
|
255
|
-
};
|
256
|
-
ghost: {
|
257
|
-
type: BooleanConstructor;
|
258
|
-
default: undefined;
|
259
|
-
};
|
260
|
-
block: {
|
261
|
-
type: BooleanConstructor;
|
262
|
-
default: undefined;
|
263
|
-
};
|
264
|
-
danger: {
|
265
|
-
type: BooleanConstructor;
|
266
|
-
default: undefined;
|
267
|
-
};
|
268
|
-
icon: PropType<any>;
|
269
|
-
href: StringConstructor;
|
270
|
-
target: StringConstructor;
|
271
|
-
title: StringConstructor;
|
272
|
-
onClick: {
|
273
|
-
type: PropType<(event: MouseEvent) => void>;
|
274
|
-
};
|
275
|
-
onMousedown: {
|
276
|
-
type: PropType<(event: MouseEvent) => void>;
|
277
|
-
};
|
278
|
-
}>>>;
|
279
|
-
destroyOnClose: {
|
280
|
-
type: BooleanConstructor;
|
281
|
-
default: undefined;
|
282
|
-
};
|
283
|
-
wrapClassName: StringConstructor;
|
284
|
-
maskTransitionName: StringConstructor;
|
285
|
-
transitionName: StringConstructor;
|
286
|
-
getContainer: {
|
287
|
-
type: PropType<string | false | HTMLElement | getContainerFunc>;
|
288
|
-
default: undefined;
|
289
|
-
};
|
290
|
-
zIndex: NumberConstructor;
|
291
|
-
bodyStyle: {
|
292
|
-
type: PropType<CSSProperties>;
|
293
|
-
default: CSSProperties;
|
294
|
-
};
|
295
|
-
maskStyle: {
|
296
|
-
type: PropType<CSSProperties>;
|
297
|
-
default: CSSProperties;
|
298
|
-
};
|
299
|
-
mask: {
|
300
|
-
type: BooleanConstructor;
|
301
|
-
default: undefined;
|
302
|
-
};
|
303
|
-
keyboard: {
|
304
|
-
type: BooleanConstructor;
|
305
|
-
default: undefined;
|
306
|
-
};
|
307
|
-
wrapProps: ObjectConstructor;
|
308
|
-
focusTriggerAfterClose: {
|
309
|
-
type: BooleanConstructor;
|
310
|
-
default: undefined;
|
311
|
-
};
|
312
|
-
modalRender: PropType<(arg: {
|
313
|
-
originVNode: VueNode;
|
314
|
-
}) => VueNode>;
|
315
|
-
};
|
316
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Slots } from 'vue';
|
2
|
-
/**
|
3
|
-
* 根据 name 获取 slot 的渲染结果.
|
4
|
-
*/
|
5
|
-
export declare function renderSlot(slots: Slots, name: string): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
6
|
-
[key: string]: any;
|
7
|
-
}>[] | null;
|
8
|
-
/**
|
9
|
-
* 扩展 slots.
|
10
|
-
* @param slots 原始的 slots.
|
11
|
-
* @param excludes 要排除的 slot.
|
12
|
-
*/
|
13
|
-
export declare function renderSlots(slots: Slots, excludes?: string[]): any;
|
package/dist/src/index.d.ts
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
import { AxiosInstance, type AxiosRequestConfig } from 'axios';
|
2
|
-
import dayjs from 'dayjs';
|
3
|
-
import { KG_DYNAMIC_QUERY_OPERATOR } from '../consts';
|
4
|
-
interface IHttpClient {
|
5
|
-
axiosInstance: AxiosInstance;
|
6
|
-
options: {
|
7
|
-
requestOptions?: IRequestOptions;
|
8
|
-
} & AxiosRequestConfig;
|
9
|
-
request<T = any>(config: IRequestConfig, options?: IRequestOptions): Promise<T>;
|
10
|
-
}
|
11
|
-
/**
|
12
|
-
* 设置 httpClient 实例.
|
13
|
-
*/
|
14
|
-
declare function setupHttpClient(httpClient: IHttpClient | null): void;
|
15
|
-
/**
|
16
|
-
* 获取 httpClient 实例.
|
17
|
-
*/
|
18
|
-
declare function httpClient(): IHttpClient;
|
19
|
-
interface IRequestConfig<TQ = {}, TB = {}> extends AxiosRequestConfig<TB> {
|
20
|
-
params?: TQ;
|
21
|
-
}
|
22
|
-
interface IRequestOptions {
|
23
|
-
joinParamsToUrl?: boolean;
|
24
|
-
formatDate?: boolean;
|
25
|
-
isTransformResponse?: boolean;
|
26
|
-
isReturnNativeResponse?: boolean;
|
27
|
-
joinPrefix?: boolean;
|
28
|
-
apiUrl?: string;
|
29
|
-
urlPrefix?: string;
|
30
|
-
errorMessageMode?: 'none' | 'modal' | 'message' | undefined;
|
31
|
-
successMessageMode?: 'none' | 'success' | 'error' | undefined;
|
32
|
-
joinTime?: boolean;
|
33
|
-
ignoreCancelToken?: boolean;
|
34
|
-
withToken?: boolean;
|
35
|
-
/** 是否使用模拟数据. */
|
36
|
-
mock?: boolean;
|
37
|
-
/**
|
38
|
-
* 如果该参数不为空, 表示该请求启用了高级查询, 该参数包含各个字段的高级查询操作符.
|
39
|
-
*/
|
40
|
-
dynamicQueryOperators?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
|
41
|
-
/**
|
42
|
-
* dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperators} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperators} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
|
43
|
-
*/
|
44
|
-
dayjs?: typeof dayjs;
|
45
|
-
}
|
46
|
-
export { setupHttpClient, httpClient, type IRequestConfig, type IRequestOptions };
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './http-client';
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { KG_APP } from '../consts';
|
2
|
-
export declare class KgAuthUtil {
|
3
|
-
/**
|
4
|
-
* 判断某个「模块」是否具有访问权限.
|
5
|
-
* @param app 模块
|
6
|
-
*/
|
7
|
-
static isAppAuthenticated(app: KG_APP | null | undefined): boolean;
|
8
|
-
/**
|
9
|
-
* 根据「权限编码」获取「权限策略」.
|
10
|
-
* @param permissionCode 权限编码.
|
11
|
-
* @return 权限策略.
|
12
|
-
*/
|
13
|
-
static getPermissionType(permissionCode: string | null | undefined): number | null;
|
14
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* DOM 工具.
|
3
|
-
*/
|
4
|
-
export declare class KgDomUtil {
|
5
|
-
/**
|
6
|
-
* 判断元素是否不能响应点击事件.
|
7
|
-
* 如果不想让某个元素响应点击事件, 则可以给它的父元素加上 kg-not-clickable 样式类.
|
8
|
-
* @param el 元素.
|
9
|
-
* @param classes 除了 kg-not-clickable 之外额外需要判断的样式类.
|
10
|
-
*/
|
11
|
-
static isNotClickable(el?: Element | null, classes?: Array<string>): boolean;
|
12
|
-
}
|
@@ -1,67 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* 日志服务.
|
3
|
-
*/
|
4
|
-
declare class KgLogger {
|
5
|
-
/**
|
6
|
-
* 打印弃用日志.
|
7
|
-
*
|
8
|
-
* @param message 提示消息.
|
9
|
-
* @param args 数据对象.
|
10
|
-
* @param collapsed 是否折叠.
|
11
|
-
*/
|
12
|
-
static deprecated(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
13
|
-
/**
|
14
|
-
* 打印错误日志.
|
15
|
-
*
|
16
|
-
* @param message 提示消息.
|
17
|
-
* @param args 数据对象.
|
18
|
-
* @param collapsed 是否折叠.
|
19
|
-
*/
|
20
|
-
static error(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
21
|
-
/**
|
22
|
-
* 打印普通日志.
|
23
|
-
*
|
24
|
-
* @param message 提示消息.
|
25
|
-
* @param args 数据对象.
|
26
|
-
* @param collapsed 是否折叠.
|
27
|
-
*/
|
28
|
-
static info(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
29
|
-
/**
|
30
|
-
* 打印日志.
|
31
|
-
*
|
32
|
-
* @param level 日志等级.
|
33
|
-
* @param message 提示消息.
|
34
|
-
* @param args 数据对象.
|
35
|
-
* @param collapsed 是否折叠.
|
36
|
-
* @param style 提示消息样式.
|
37
|
-
*/
|
38
|
-
static log(level: "error" | "debug" | "info" | "warn" | "deprecated" | undefined, message: string, args?: Record<string, any>, collapsed?: boolean, style?: string): void;
|
39
|
-
/**
|
40
|
-
* 打印警告日志.
|
41
|
-
*
|
42
|
-
* @param message 提示消息.
|
43
|
-
* @param args 数据对象.
|
44
|
-
* @param collapsed 是否折叠.
|
45
|
-
*/
|
46
|
-
static warn(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
47
|
-
/**
|
48
|
-
* 打印调试日志.
|
49
|
-
*
|
50
|
-
* @param message 提示消息.
|
51
|
-
* @param args 数据对象.
|
52
|
-
* @param collapsed 是否折叠.
|
53
|
-
*/
|
54
|
-
static debug(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
55
|
-
/**
|
56
|
-
* 打印调试日志: DDA.
|
57
|
-
*
|
58
|
-
* @param formID 界面标识.
|
59
|
-
* @param component 组件.
|
60
|
-
* @param method 方法.
|
61
|
-
* @param message 提示消息.
|
62
|
-
* @param args 数据对象.
|
63
|
-
* @param collapsed 是否折叠.
|
64
|
-
*/
|
65
|
-
static debugDDA(formID: string | null | undefined, component: string | null | undefined, method: string | null | undefined, message: string | null | undefined, args?: Record<string, any>, collapsed?: boolean): void;
|
66
|
-
}
|
67
|
-
export { KgLogger };
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { KG_APP, Menu } from '../consts';
|
2
|
-
export declare class KgRouteUtil {
|
3
|
-
/**
|
4
|
-
* 给所有模块都添加在线表单的路由.
|
5
|
-
* 由于默认的在线表单路由是没有区分模块的, 而每个模块下都可能有在线表单, 因此给每个模块都添加在线表单的路由.
|
6
|
-
* @param routes 当前路由列表.
|
7
|
-
*/
|
8
|
-
static addOnlineRoutesForAllApps(routes: any[]): any[];
|
9
|
-
/**
|
10
|
-
* 根据地址获取菜单.
|
11
|
-
* @param menus 菜单列表.
|
12
|
-
* @param path 菜单地址.
|
13
|
-
*/
|
14
|
-
static getMenuByPath(menus: Array<Menu>, path: string): Menu | null;
|
15
|
-
/**
|
16
|
-
* 翻译菜单标题.
|
17
|
-
* @param menus 菜单列表, 树形结构.
|
18
|
-
* @param titleKey 标题的属性名, 即要将哪个属性作为菜单的标题.
|
19
|
-
*/
|
20
|
-
static translateMenus(menus: Array<Menu> | null | undefined, titleKey?: string): Array<Menu>;
|
21
|
-
/**
|
22
|
-
* 转换菜单列表.
|
23
|
-
* 1. 根据模块分组,
|
24
|
-
* @param menus 菜单列表, 树形结构.
|
25
|
-
*/
|
26
|
-
static transformMenus(menus: Array<Menu> | null | undefined): Array<Menu>;
|
27
|
-
/**
|
28
|
-
* 判断某个路径是否属于某个模块.
|
29
|
-
* @param path 路径.
|
30
|
-
* @param app 模块.
|
31
|
-
*/
|
32
|
-
static isPathInApp(path: string | null | undefined, app: KG_APP | null): boolean;
|
33
|
-
/**
|
34
|
-
* 根据地址获取模块.
|
35
|
-
* @param path 地址.
|
36
|
-
*/
|
37
|
-
static getAppByPath(path: string): KG_APP | null;
|
38
|
-
/**
|
39
|
-
* 根据模块获取该模块的首页地址.
|
40
|
-
* @param app 模块.
|
41
|
-
*/
|
42
|
-
static getAppIndexPath(app: KG_APP): string;
|
43
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import dayjs from 'dayjs';
|
2
|
-
import { KG_FORM_ITEM_TYPE } from '../consts';
|
3
|
-
/**
|
4
|
-
* 变量相关工具.
|
5
|
-
*/
|
6
|
-
export declare class KgVarUtil {
|
7
|
-
/**
|
8
|
-
* 将 JSON 字符串形式的参数 `'{"foo":1,"bar":2}'` 转换为对象形式的参数 `{ "foo": 1, "bar": 2 }`.
|
9
|
-
* @param params JSON 字符串形式的参数.
|
10
|
-
* @return 参数对象.
|
11
|
-
*/
|
12
|
-
static parseCommandParameter(params?: string | null): Record<string, any>;
|
13
|
-
/**
|
14
|
-
* 根据控件类型, 将任意的值(可能非法)转换为合法的值.
|
15
|
-
* @param frm_id 界面标识.
|
16
|
-
* @param var_name 变量名称.
|
17
|
-
* @param $dayjs dayjs.
|
18
|
-
* @param value 原始的值.
|
19
|
-
* @param op 操作类型. C: 创建, R: 查询, U: 更新, D: 删除, CP: 复制.
|
20
|
-
* @return 转换后的合法的值.
|
21
|
-
*/
|
22
|
-
static transformFormItemValue(frm_id: string, var_name: string, $dayjs: typeof dayjs, value: any, op: 'C' | 'R' | 'U' | 'D' | 'CP'): any;
|
23
|
-
/**
|
24
|
-
* 根据控件类型, 将任意的高级查询操作符(可能非法)转换为合法的值.
|
25
|
-
* @param frm_id 界面标识.
|
26
|
-
* @param var_name 变量名称.
|
27
|
-
* @param value 原始的高级查询操作符.
|
28
|
-
* @return 转换后的合法的值.
|
29
|
-
*/
|
30
|
-
static transformFormItemDynamicQueryOperator(frm_id: string, var_name: string, value: string | null | undefined): string;
|
31
|
-
/**
|
32
|
-
* 根据控件类型获取高级查询操作符的下拉列表.
|
33
|
-
* @param controlType 控件类型.
|
34
|
-
*/
|
35
|
-
static getDynamicQueryOperatorSelectOptions(controlType: KG_FORM_ITEM_TYPE): any;
|
36
|
-
}
|
@@ -1,113 +0,0 @@
|
|
1
|
-
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
2
|
-
import dayjs, { Dayjs } from 'dayjs';
|
3
|
-
import { IKgConfirmModalProps } from '../consts';
|
4
|
-
/**
|
5
|
-
* 通用工具.
|
6
|
-
*/
|
7
|
-
export declare class KgUtil {
|
8
|
-
/**
|
9
|
-
* 根据'文件大小数值'获取'文件大小文本'.
|
10
|
-
* @param size 文件大小数值.
|
11
|
-
*/
|
12
|
-
static getFileSize(size: any): string;
|
13
|
-
/**
|
14
|
-
* BASE64 转换为 BLOB.
|
15
|
-
* @param base64 base64 字符串.
|
16
|
-
* @param contentType 文件类型.
|
17
|
-
* @param sliceSize 分块大小.
|
18
|
-
*/
|
19
|
-
static base64toBlob(base64: string, contentType: string, sliceSize?: number): Blob;
|
20
|
-
/**
|
21
|
-
* 下载文件.
|
22
|
-
* @param data 文件数据.
|
23
|
-
* @param fileName 文件名称, 包含后缀.
|
24
|
-
* @param contentType 文件类型.
|
25
|
-
*/
|
26
|
-
static downloadFile(data: string | BlobPart, fileName: string, contentType?: string): void;
|
27
|
-
/**
|
28
|
-
* <p>处理请求参数.</p>
|
29
|
-
* <ol>
|
30
|
-
* <li>填充通用参数的值:
|
31
|
-
* <ul>
|
32
|
-
* <li>仓库: '{WAREHOUSE}'</li>
|
33
|
-
* </ul>
|
34
|
-
* </li>
|
35
|
-
* </ol>
|
36
|
-
* @param params 请求参数.
|
37
|
-
* @param formID 界面标识.
|
38
|
-
* @param $dayjs dayjs.
|
39
|
-
*/
|
40
|
-
static parseParams(params: Record<string, any> | null | undefined, formID?: string | null, $dayjs?: typeof dayjs): Record<string, any>;
|
41
|
-
/**
|
42
|
-
* <p>处理查询参数, 最终拼接为一个 SQL 格式如下: `WHERE ... ORDER BY ...`.</p>
|
43
|
-
* <p>
|
44
|
-
* 参数 formID 和 operators 只能其中一个传值.
|
45
|
-
* <ul>
|
46
|
-
* <li>如果 formID 传值, 表示通过变量配置获取各个字段的高级查询操作符.</li>
|
47
|
-
* <li>如果 operators 传值, 表示直接使用传入的 operators 作为各个字段的高级查询操作符.</li>
|
48
|
-
* </ul>
|
49
|
-
* </p>
|
50
|
-
* <ol>
|
51
|
-
* <li>填充通用参数的值:
|
52
|
-
* <ul>
|
53
|
-
* <li>仓库: '{WAREHOUSE}'</li>
|
54
|
-
* </ul>
|
55
|
-
* </li>
|
56
|
-
* </ol>
|
57
|
-
* @param params 请求参数.
|
58
|
-
* @param formID 界面标识.
|
59
|
-
* @param operators 各个字段的高级查询操作符.
|
60
|
-
* @param $dayjs dayjs.
|
61
|
-
* @return 拼接好的 SQL.
|
62
|
-
*/
|
63
|
-
static getQuerySql(params: Record<string, any> | null | undefined, formID: string | null | undefined, operators: Record<string, any> | null | undefined, $dayjs: typeof dayjs): {
|
64
|
-
sql: string;
|
65
|
-
whereSql: string;
|
66
|
-
orderBySql: string;
|
67
|
-
};
|
68
|
-
/**
|
69
|
-
* 处理请求参数: 解析字符串类型的参数值.
|
70
|
-
* @param value 参数的原始值.
|
71
|
-
*/
|
72
|
-
private static parseParamFromString;
|
73
|
-
/**
|
74
|
-
* 处理请求参数: 解析 DayJS 类型的参数值.
|
75
|
-
* @param key 属性名.
|
76
|
-
* @param value 参数的原始值.
|
77
|
-
* @param formID 界面标识.
|
78
|
-
* @param isPad 是否补齐日期格式. 即将 `YYYY-MM-DD` 补齐为 `YYYY-MM-DD 00:00:00`, 将 `HH:mm:ss` 补齐为 `1900-01-01 HH:mm:ss`.
|
79
|
-
*/
|
80
|
-
private static parseParamFromDayJS;
|
81
|
-
/**
|
82
|
-
* 确认弹窗.
|
83
|
-
* 设置了多个属性的默认值, 简化使用.
|
84
|
-
* https://www.antdv.com/components/modal
|
85
|
-
* @param props
|
86
|
-
*/
|
87
|
-
static confirm(props: IKgConfirmModalProps): ModalFunc;
|
88
|
-
/**
|
89
|
-
* 如果不是表单验证错误, 则抛出该错误.
|
90
|
-
* @param e 错误对象.
|
91
|
-
*/
|
92
|
-
static throwIfNotFormError(e: any): void;
|
93
|
-
/**
|
94
|
-
* 将 JSON 字符串转换为 JSON 对象, 如果转化失败, 则返回空对象.
|
95
|
-
* @param str JSON 字符串.
|
96
|
-
*/
|
97
|
-
static tryParseJSON<T = Record<string, any>>(str?: string | null): T;
|
98
|
-
/**
|
99
|
-
* 将值转换为 Dayjs 对象.
|
100
|
-
* @param value 值.
|
101
|
-
*/
|
102
|
-
static toDayjs(value: any): Dayjs | undefined;
|
103
|
-
/** 显示全局遮罩. */
|
104
|
-
static showLoading(): void;
|
105
|
-
/** 隐藏全局遮罩. */
|
106
|
-
static hideLoading(): void;
|
107
|
-
}
|
108
|
-
export declare type ModalFunc = {
|
109
|
-
destroy: () => void;
|
110
|
-
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
111
|
-
showLoading(): void;
|
112
|
-
hideLoading(): void;
|
113
|
-
};
|