@kengic/vue 0.16.7-beta.0 → 0.16.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +21 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +3476 -2938
- package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +24 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +15 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +31 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +8 -0
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +30 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +15 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +37 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +8 -0
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +52 -0
- package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +6 -0
- package/dist/src/apis/WMS/index.d.ts +2 -0
- package/dist/src/apis/WMS/models.d.ts +728 -0
- package/dist/src/apis/api.d.ts +1 -0
- package/dist/src/apis/def.d.ts +1 -0
- package/dist/src/apis/index.d.ts +2 -0
- package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
- package/dist/src/components/KgAppSelect/index.d.ts +3 -0
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
- package/dist/src/components/KgAppSelect/index.store.d.ts +73 -0
- package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
- package/dist/src/components/KgButton/KgButton.d.ts +34 -0
- package/dist/src/components/KgButton/KgButton.hooks.d.ts +61 -0
- package/dist/src/components/KgButton/KgButton.store.d.ts +89 -0
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +39 -0
- package/dist/src/components/KgButton/index.d.ts +62 -0
- package/dist/src/components/KgForm/KgForm.d.ts +414 -0
- package/dist/src/components/KgForm/index.d.ts +604 -0
- package/dist/src/components/KgForm/index.hooks.d.ts +42 -0
- package/dist/src/components/KgForm/index.store.d.ts +107 -0
- package/dist/src/components/KgForm/index.vm.d.ts +9 -0
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +100 -0
- package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +17 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +17 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +32 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +103 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +102 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +100 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +100 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +104 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +27 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +99 -0
- package/dist/src/components/KgForm.Item/index.d.ts +2 -0
- package/dist/src/components/KgForm.Item/index.vm.d.ts +104 -0
- package/dist/src/components/KgModal/KgModal.d.ts +395 -0
- package/dist/src/components/KgModal/components/KgModal.Close.d.ts +41 -0
- package/dist/src/components/KgModal/index.d.ts +2 -0
- package/dist/src/components/KgModal/index.vm.d.ts +194 -0
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
- package/dist/src/components/KgProgressA/index.d.ts +1 -0
- package/dist/src/components/KgResizable/KgResizable.d.ts +143 -0
- package/dist/src/components/KgResizable/index.d.ts +1 -0
- package/dist/src/components/KgSearch/KgSearch.d.ts +42 -0
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +39 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +22 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +8 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +24 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +7 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +32 -0
- package/dist/src/components/KgSearch/index.d.ts +3 -0
- package/dist/src/components/KgSearch/index.hooks.d.ts +41 -0
- package/dist/src/components/KgSearch/index.store.d.ts +86 -0
- package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +41 -0
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +20 -0
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +28 -0
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +82 -0
- package/dist/src/components/KgSubmit/index.d.ts +4 -0
- package/dist/src/components/KgSubmit/index.hooks.d.ts +74 -0
- package/dist/src/components/KgSubmit/index.store.d.ts +130 -0
- package/dist/src/components/KgSubmit/index.vm.d.ts +10 -0
- package/dist/src/components/KgTable/KgTable.d.ts +39 -0
- package/dist/src/components/KgTable/KgTable.hooks.d.ts +43 -0
- package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +61 -0
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +58 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +22 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +14 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +22 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +21 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +24 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +23 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +33 -0
- package/dist/src/components/KgTable/index.d.ts +4 -0
- package/dist/src/components/KgTable/index.hooks.d.ts +84 -0
- package/dist/src/components/KgTable/index.store.d.ts +157 -0
- package/dist/src/components/KgTable/index.vm.d.ts +66 -0
- package/dist/src/components/KgVar/KgVar.d.ts +28 -0
- package/dist/src/components/KgVar/index.d.ts +4 -0
- package/dist/src/components/KgVar/index.hooks.d.ts +242 -0
- package/dist/src/components/KgVar/index.store.d.ts +315 -0
- package/dist/src/components/KgVar/index.store.service.d.ts +21 -0
- package/dist/src/components/KgVar/index.vm.d.ts +47 -0
- package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +24 -0
- package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +17 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +25 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +29 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +22 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +25 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +22 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +33 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.data.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +3 -0
- package/dist/src/components/KgVarConfig/index.d.ts +2 -0
- package/dist/src/components/KgVarConfig/index.store.d.ts +20 -0
- package/dist/src/components/KgVarConfig/index.vm.d.ts +3 -0
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +38 -0
- package/dist/src/components/KgWarehouse/index.d.ts +4 -0
- package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
- package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
- package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +16 -0
- package/dist/src/components/util.d.ts +14 -0
- package/dist/src/config/index.d.ts +3 -0
- package/dist/src/config/index.hooks.d.ts +43 -0
- package/dist/src/config/index.store.d.ts +192 -0
- package/dist/src/config/setup.d.ts +45 -0
- package/dist/src/consts/i18n/en.d.ts +228 -0
- package/dist/src/consts/i18n/index.d.ts +2 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +227 -0
- package/dist/src/consts/index.d.ts +253 -0
- package/dist/src/consts/index.vm.d.ts +170 -0
- package/dist/src/consts/injection-keys.const.d.ts +9 -0
- package/dist/src/helpers/ant-design-vue.d.ts +316 -0
- package/dist/src/helpers/tsx.helper.d.ts +13 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +8 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Child.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +29 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +26 -0
- package/dist/src/pages/KgPageDda/index.const.d.ts +11 -0
- package/dist/src/pages/KgPageDda/index.d.ts +5 -0
- package/dist/src/pages/index.d.ts +2 -0
- package/dist/src/services/http-client.d.ts +46 -0
- package/dist/src/services/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts +6 -0
- package/dist/src/utils/kg-auth.util.d.ts +26 -0
- package/dist/src/utils/kg-dom.util.d.ts +12 -0
- package/dist/src/utils/kg-logger.util.d.ts +65 -0
- package/dist/src/utils/kg-route.util.d.ts +54 -0
- package/dist/src/utils/kg-var.util.d.ts +36 -0
- package/dist/src/utils/kg.util.d.ts +114 -0
- package/package.json +6 -5
@@ -0,0 +1,194 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
export declare const getProps: () => {
|
3
|
+
/** 是否显示全屏按钮. */
|
4
|
+
kgShowFullscreenButton: {
|
5
|
+
type: PropType<boolean>;
|
6
|
+
default: boolean;
|
7
|
+
};
|
8
|
+
/** 是否显示取消按钮. */
|
9
|
+
kgShowCancelButton: {
|
10
|
+
type: PropType<boolean>;
|
11
|
+
default: boolean;
|
12
|
+
};
|
13
|
+
/** 是否显示确定按钮. */
|
14
|
+
kgShowOkButton: {
|
15
|
+
type: PropType<boolean>;
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
/** 高度是否撑满屏幕. */
|
19
|
+
kgFullHeight: {
|
20
|
+
type: PropType<boolean>;
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
prefixCls: StringConstructor;
|
24
|
+
visible: {
|
25
|
+
type: BooleanConstructor;
|
26
|
+
default: undefined;
|
27
|
+
};
|
28
|
+
confirmLoading: {
|
29
|
+
type: BooleanConstructor;
|
30
|
+
default: undefined;
|
31
|
+
};
|
32
|
+
title: PropType<any>;
|
33
|
+
closable: {
|
34
|
+
type: BooleanConstructor;
|
35
|
+
default: undefined;
|
36
|
+
};
|
37
|
+
closeIcon: PropType<any>;
|
38
|
+
onOk: PropType<(e: MouseEvent) => void>;
|
39
|
+
onCancel: PropType<(e: MouseEvent) => void>;
|
40
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
41
|
+
onChange: PropType<(visible: boolean) => void>;
|
42
|
+
afterClose: PropType<() => void>;
|
43
|
+
centered: {
|
44
|
+
type: BooleanConstructor;
|
45
|
+
default: undefined;
|
46
|
+
};
|
47
|
+
width: (StringConstructor | NumberConstructor)[];
|
48
|
+
footer: PropType<any>;
|
49
|
+
okText: PropType<any>;
|
50
|
+
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
51
|
+
cancelText: PropType<any>;
|
52
|
+
icon: PropType<any>;
|
53
|
+
maskClosable: {
|
54
|
+
type: BooleanConstructor;
|
55
|
+
default: undefined;
|
56
|
+
};
|
57
|
+
forceRender: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: undefined;
|
60
|
+
};
|
61
|
+
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
62
|
+
prefixCls: StringConstructor;
|
63
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
64
|
+
htmlType: {
|
65
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
66
|
+
default: string;
|
67
|
+
};
|
68
|
+
shape: {
|
69
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
70
|
+
};
|
71
|
+
size: {
|
72
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
73
|
+
};
|
74
|
+
loading: {
|
75
|
+
type: PropType<boolean | {
|
76
|
+
delay?: number | undefined;
|
77
|
+
}>;
|
78
|
+
default: () => boolean | {
|
79
|
+
delay?: number | undefined;
|
80
|
+
};
|
81
|
+
};
|
82
|
+
disabled: {
|
83
|
+
type: BooleanConstructor;
|
84
|
+
default: undefined;
|
85
|
+
};
|
86
|
+
ghost: {
|
87
|
+
type: BooleanConstructor;
|
88
|
+
default: undefined;
|
89
|
+
};
|
90
|
+
block: {
|
91
|
+
type: BooleanConstructor;
|
92
|
+
default: undefined;
|
93
|
+
};
|
94
|
+
danger: {
|
95
|
+
type: BooleanConstructor;
|
96
|
+
default: undefined;
|
97
|
+
};
|
98
|
+
icon: PropType<any>;
|
99
|
+
href: StringConstructor;
|
100
|
+
target: StringConstructor;
|
101
|
+
title: StringConstructor;
|
102
|
+
onClick: {
|
103
|
+
type: PropType<(event: MouseEvent) => void>;
|
104
|
+
};
|
105
|
+
onMousedown: {
|
106
|
+
type: PropType<(event: MouseEvent) => void>;
|
107
|
+
};
|
108
|
+
}>>>;
|
109
|
+
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
110
|
+
prefixCls: StringConstructor;
|
111
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
112
|
+
htmlType: {
|
113
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
114
|
+
default: string;
|
115
|
+
};
|
116
|
+
shape: {
|
117
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
118
|
+
};
|
119
|
+
size: {
|
120
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
121
|
+
};
|
122
|
+
loading: {
|
123
|
+
type: PropType<boolean | {
|
124
|
+
delay?: number | undefined;
|
125
|
+
}>;
|
126
|
+
default: () => boolean | {
|
127
|
+
delay?: number | undefined;
|
128
|
+
};
|
129
|
+
};
|
130
|
+
disabled: {
|
131
|
+
type: BooleanConstructor;
|
132
|
+
default: undefined;
|
133
|
+
};
|
134
|
+
ghost: {
|
135
|
+
type: BooleanConstructor;
|
136
|
+
default: undefined;
|
137
|
+
};
|
138
|
+
block: {
|
139
|
+
type: BooleanConstructor;
|
140
|
+
default: undefined;
|
141
|
+
};
|
142
|
+
danger: {
|
143
|
+
type: BooleanConstructor;
|
144
|
+
default: undefined;
|
145
|
+
};
|
146
|
+
icon: PropType<any>;
|
147
|
+
href: StringConstructor;
|
148
|
+
target: StringConstructor;
|
149
|
+
title: StringConstructor;
|
150
|
+
onClick: {
|
151
|
+
type: PropType<(event: MouseEvent) => void>;
|
152
|
+
};
|
153
|
+
onMousedown: {
|
154
|
+
type: PropType<(event: MouseEvent) => void>;
|
155
|
+
};
|
156
|
+
}>>>;
|
157
|
+
destroyOnClose: {
|
158
|
+
type: BooleanConstructor;
|
159
|
+
default: undefined;
|
160
|
+
};
|
161
|
+
wrapClassName: StringConstructor;
|
162
|
+
maskTransitionName: StringConstructor;
|
163
|
+
transitionName: StringConstructor;
|
164
|
+
getContainer: {
|
165
|
+
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
166
|
+
default: undefined;
|
167
|
+
};
|
168
|
+
zIndex: NumberConstructor;
|
169
|
+
bodyStyle: {
|
170
|
+
type: PropType<import("vue").CSSProperties>;
|
171
|
+
default: import("vue").CSSProperties;
|
172
|
+
};
|
173
|
+
maskStyle: {
|
174
|
+
type: PropType<import("vue").CSSProperties>;
|
175
|
+
default: import("vue").CSSProperties;
|
176
|
+
};
|
177
|
+
mask: {
|
178
|
+
type: BooleanConstructor;
|
179
|
+
default: undefined;
|
180
|
+
};
|
181
|
+
keyboard: {
|
182
|
+
type: BooleanConstructor;
|
183
|
+
default: undefined;
|
184
|
+
};
|
185
|
+
wrapProps: ObjectConstructor;
|
186
|
+
focusTriggerAfterClose: {
|
187
|
+
type: BooleanConstructor;
|
188
|
+
default: undefined;
|
189
|
+
};
|
190
|
+
modalRender: PropType<(arg: {
|
191
|
+
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
192
|
+
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
193
|
+
};
|
194
|
+
export declare type IKgModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgProgressA.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/**
|
5
|
+
* 左侧数值(分子).
|
6
|
+
* @default null
|
7
|
+
*/
|
8
|
+
kgLeft: {
|
9
|
+
type: PropType<number | null | undefined>;
|
10
|
+
default: null;
|
11
|
+
};
|
12
|
+
/**
|
13
|
+
* 右侧数值(分母).
|
14
|
+
* @default null
|
15
|
+
*/
|
16
|
+
kgRight: {
|
17
|
+
type: PropType<number | null | undefined>;
|
18
|
+
default: null;
|
19
|
+
};
|
20
|
+
/**
|
21
|
+
* 右侧文本的宽度.
|
22
|
+
* @default 'auto'
|
23
|
+
*/
|
24
|
+
kgTextWidth: {
|
25
|
+
type: PropType<string>;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
};
|
29
|
+
export declare type IKgProgressAProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
30
|
+
declare const _default: import("vue").DefineComponent<{
|
31
|
+
/**
|
32
|
+
* 左侧数值(分子).
|
33
|
+
* @default null
|
34
|
+
*/
|
35
|
+
kgLeft: {
|
36
|
+
type: PropType<number | null | undefined>;
|
37
|
+
default: null;
|
38
|
+
};
|
39
|
+
/**
|
40
|
+
* 右侧数值(分母).
|
41
|
+
* @default null
|
42
|
+
*/
|
43
|
+
kgRight: {
|
44
|
+
type: PropType<number | null | undefined>;
|
45
|
+
default: null;
|
46
|
+
};
|
47
|
+
/**
|
48
|
+
* 右侧文本的宽度.
|
49
|
+
* @default 'auto'
|
50
|
+
*/
|
51
|
+
kgTextWidth: {
|
52
|
+
type: PropType<string>;
|
53
|
+
default: string;
|
54
|
+
};
|
55
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
56
|
+
/**
|
57
|
+
* 左侧数值(分子).
|
58
|
+
* @default null
|
59
|
+
*/
|
60
|
+
kgLeft: {
|
61
|
+
type: PropType<number | null | undefined>;
|
62
|
+
default: null;
|
63
|
+
};
|
64
|
+
/**
|
65
|
+
* 右侧数值(分母).
|
66
|
+
* @default null
|
67
|
+
*/
|
68
|
+
kgRight: {
|
69
|
+
type: PropType<number | null | undefined>;
|
70
|
+
default: null;
|
71
|
+
};
|
72
|
+
/**
|
73
|
+
* 右侧文本的宽度.
|
74
|
+
* @default 'auto'
|
75
|
+
*/
|
76
|
+
kgTextWidth: {
|
77
|
+
type: PropType<string>;
|
78
|
+
default: string;
|
79
|
+
};
|
80
|
+
}>>, {
|
81
|
+
kgLeft: number | null | undefined;
|
82
|
+
kgRight: number | null | undefined;
|
83
|
+
kgTextWidth: string;
|
84
|
+
}>;
|
85
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as KgProgressA, type IKgProgressAProps } from './KgProgressA';
|
@@ -0,0 +1,143 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgResizable.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/** 拖拽条的位置. */
|
5
|
+
kgType: {
|
6
|
+
type: PropType<"left" | "top" | "right" | "bottom">;
|
7
|
+
default: string;
|
8
|
+
};
|
9
|
+
/** 是否禁用. */
|
10
|
+
kgDisabled: PropType<boolean>;
|
11
|
+
/** 当前宽度. */
|
12
|
+
kgWidth: {
|
13
|
+
type: PropType<number>;
|
14
|
+
default: number;
|
15
|
+
};
|
16
|
+
'onUpdate:kgWidth': PropType<(value: number) => void>;
|
17
|
+
/** 最小宽度. */
|
18
|
+
kgMinWidth: {
|
19
|
+
type: PropType<number>;
|
20
|
+
default: number;
|
21
|
+
};
|
22
|
+
/** 最大宽度. */
|
23
|
+
kgMaxWidth: {
|
24
|
+
type: PropType<number>;
|
25
|
+
default: number;
|
26
|
+
};
|
27
|
+
/** 当前高度. */
|
28
|
+
kgHeight: {
|
29
|
+
type: PropType<number>;
|
30
|
+
default: number;
|
31
|
+
};
|
32
|
+
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
33
|
+
/** 最小高度. */
|
34
|
+
kgMinHeight: {
|
35
|
+
type: PropType<number>;
|
36
|
+
default: number;
|
37
|
+
};
|
38
|
+
/** 最大高度. */
|
39
|
+
kgMaxHeight: {
|
40
|
+
type: PropType<number>;
|
41
|
+
default: number;
|
42
|
+
};
|
43
|
+
/** 样式. */
|
44
|
+
kgClass: PropType<string>;
|
45
|
+
};
|
46
|
+
export declare type IKgResizableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
47
|
+
declare const _default: import("vue").DefineComponent<{
|
48
|
+
/** 拖拽条的位置. */
|
49
|
+
kgType: {
|
50
|
+
type: PropType<"left" | "top" | "right" | "bottom">;
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
/** 是否禁用. */
|
54
|
+
kgDisabled: PropType<boolean>;
|
55
|
+
/** 当前宽度. */
|
56
|
+
kgWidth: {
|
57
|
+
type: PropType<number>;
|
58
|
+
default: number;
|
59
|
+
};
|
60
|
+
'onUpdate:kgWidth': PropType<(value: number) => void>;
|
61
|
+
/** 最小宽度. */
|
62
|
+
kgMinWidth: {
|
63
|
+
type: PropType<number>;
|
64
|
+
default: number;
|
65
|
+
};
|
66
|
+
/** 最大宽度. */
|
67
|
+
kgMaxWidth: {
|
68
|
+
type: PropType<number>;
|
69
|
+
default: number;
|
70
|
+
};
|
71
|
+
/** 当前高度. */
|
72
|
+
kgHeight: {
|
73
|
+
type: PropType<number>;
|
74
|
+
default: number;
|
75
|
+
};
|
76
|
+
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
77
|
+
/** 最小高度. */
|
78
|
+
kgMinHeight: {
|
79
|
+
type: PropType<number>;
|
80
|
+
default: number;
|
81
|
+
};
|
82
|
+
/** 最大高度. */
|
83
|
+
kgMaxHeight: {
|
84
|
+
type: PropType<number>;
|
85
|
+
default: number;
|
86
|
+
};
|
87
|
+
/** 样式. */
|
88
|
+
kgClass: PropType<string>;
|
89
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:kgWidth" | "update:kgHeight")[], "update:kgWidth" | "update:kgHeight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
90
|
+
/** 拖拽条的位置. */
|
91
|
+
kgType: {
|
92
|
+
type: PropType<"left" | "top" | "right" | "bottom">;
|
93
|
+
default: string;
|
94
|
+
};
|
95
|
+
/** 是否禁用. */
|
96
|
+
kgDisabled: PropType<boolean>;
|
97
|
+
/** 当前宽度. */
|
98
|
+
kgWidth: {
|
99
|
+
type: PropType<number>;
|
100
|
+
default: number;
|
101
|
+
};
|
102
|
+
'onUpdate:kgWidth': PropType<(value: number) => void>;
|
103
|
+
/** 最小宽度. */
|
104
|
+
kgMinWidth: {
|
105
|
+
type: PropType<number>;
|
106
|
+
default: number;
|
107
|
+
};
|
108
|
+
/** 最大宽度. */
|
109
|
+
kgMaxWidth: {
|
110
|
+
type: PropType<number>;
|
111
|
+
default: number;
|
112
|
+
};
|
113
|
+
/** 当前高度. */
|
114
|
+
kgHeight: {
|
115
|
+
type: PropType<number>;
|
116
|
+
default: number;
|
117
|
+
};
|
118
|
+
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
119
|
+
/** 最小高度. */
|
120
|
+
kgMinHeight: {
|
121
|
+
type: PropType<number>;
|
122
|
+
default: number;
|
123
|
+
};
|
124
|
+
/** 最大高度. */
|
125
|
+
kgMaxHeight: {
|
126
|
+
type: PropType<number>;
|
127
|
+
default: number;
|
128
|
+
};
|
129
|
+
/** 样式. */
|
130
|
+
kgClass: PropType<string>;
|
131
|
+
}>> & {
|
132
|
+
"onUpdate:kgWidth"?: ((...args: any[]) => any) | undefined;
|
133
|
+
"onUpdate:kgHeight"?: ((...args: any[]) => any) | undefined;
|
134
|
+
}, {
|
135
|
+
kgType: "left" | "top" | "right" | "bottom";
|
136
|
+
kgWidth: number;
|
137
|
+
kgMinWidth: number;
|
138
|
+
kgMaxWidth: number;
|
139
|
+
kgHeight: number;
|
140
|
+
kgMinHeight: number;
|
141
|
+
kgMaxHeight: number;
|
142
|
+
}>;
|
143
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as KgResizable, type IKgResizableProps } from './KgResizable';
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgSearch.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/** 是否禁用. */
|
5
|
+
kgDisabled: {
|
6
|
+
type: PropType<boolean>;
|
7
|
+
default: undefined;
|
8
|
+
};
|
9
|
+
/** 是否将头部放到页面顶部的导航栏中. */
|
10
|
+
kgHeaderTeleport: {
|
11
|
+
type: PropType<boolean>;
|
12
|
+
default: undefined;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
export declare type IKgSearchProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
16
|
+
declare const _default: import("vue").DefineComponent<{
|
17
|
+
/** 是否禁用. */
|
18
|
+
kgDisabled: {
|
19
|
+
type: PropType<boolean>;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
/** 是否将头部放到页面顶部的导航栏中. */
|
23
|
+
kgHeaderTeleport: {
|
24
|
+
type: PropType<boolean>;
|
25
|
+
default: undefined;
|
26
|
+
};
|
27
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
28
|
+
/** 是否禁用. */
|
29
|
+
kgDisabled: {
|
30
|
+
type: PropType<boolean>;
|
31
|
+
default: undefined;
|
32
|
+
};
|
33
|
+
/** 是否将头部放到页面顶部的导航栏中. */
|
34
|
+
kgHeaderTeleport: {
|
35
|
+
type: PropType<boolean>;
|
36
|
+
default: undefined;
|
37
|
+
};
|
38
|
+
}>>, {
|
39
|
+
kgDisabled: boolean;
|
40
|
+
kgHeaderTeleport: boolean;
|
41
|
+
}>;
|
42
|
+
export default _default;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
2
|
+
import { Ref } from 'vue';
|
3
|
+
import { VarProfileDetail } from '../../apis/WMS/models';
|
4
|
+
import { IKgResizableProps } from '../KgResizable';
|
5
|
+
/** 头部高度. */
|
6
|
+
export declare const HEADER_HEIGHT = 42;
|
7
|
+
/** 一个查询字段的高度. */
|
8
|
+
export declare const FORM_ITEM_HEIGHT = 38;
|
9
|
+
/**
|
10
|
+
* 根据查询字段计算默认高度.
|
11
|
+
* 如果搜索字段超过三行(包含三行), 则默认高度为三行的高度, 否则为显示所有字段时的高度.
|
12
|
+
* 点击头部并展开时, 高度就会设为该默认高度.
|
13
|
+
*
|
14
|
+
* @param varProfileDetails 查询字段列表.
|
15
|
+
* @param headerTeleport 是否将头部放到顶部的导航栏中.
|
16
|
+
*/
|
17
|
+
export declare function getDefaultHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
|
18
|
+
/**
|
19
|
+
* 根据查询字段计算最大高度.
|
20
|
+
* @param varProfileDetails 查询字段列表.
|
21
|
+
* @param headerTeleport 是否将头部放到顶部的导航栏中.
|
22
|
+
*/
|
23
|
+
export declare function getMaxHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
|
24
|
+
export declare type IUseLayoutHeaderResizeObserver = {};
|
25
|
+
export declare function _useLayoutHeaderResizeObserver(): IUseLayoutHeaderResizeObserver;
|
26
|
+
export declare function _useCommon(): {
|
27
|
+
isVisible: import("vue").ComputedRef<boolean>;
|
28
|
+
isResizable: import("vue").ComputedRef<boolean>;
|
29
|
+
isHeaderTeleport: import("vue").ComputedRef<boolean>;
|
30
|
+
formLevel: import("vue").ComputedRef<number>;
|
31
|
+
defaultHeight: import("vue").ComputedRef<number>;
|
32
|
+
maxHeight: import("vue").ComputedRef<number>;
|
33
|
+
minHeight: import("vue").ComputedRef<1 | 42>;
|
34
|
+
};
|
35
|
+
export declare type IUseFormModel = {
|
36
|
+
/** 设置表单的初始值. */
|
37
|
+
initFormModel(): void;
|
38
|
+
};
|
39
|
+
export declare function _useFormModel(kgResizableRef: Ref<any | null>, formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): IUseFormModel;
|
@@ -0,0 +1,22 @@
|
|
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;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const FORM_ID__VAR_PROFILE_CONFIG = "kg-search.VarProfileConfig";
|
3
|
+
export declare const getProps: () => any;
|
4
|
+
export declare type IKgSearchConfigModalVarProfileConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
5
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
6
|
+
[x: string]: any;
|
7
|
+
}>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgSearch.ConfigModal.VarProfileMaster.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
/** 主页面的页面标识. */
|
5
|
+
hostFormID: {
|
6
|
+
type: PropType<string>;
|
7
|
+
required: boolean;
|
8
|
+
};
|
9
|
+
};
|
10
|
+
export declare type IKgSearchConfigModalVarProfileMasterProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
11
|
+
declare const _default: import("vue").DefineComponent<{
|
12
|
+
/** 主页面的页面标识. */
|
13
|
+
hostFormID: {
|
14
|
+
type: PropType<string>;
|
15
|
+
required: boolean;
|
16
|
+
};
|
17
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
18
|
+
/** 主页面的页面标识. */
|
19
|
+
hostFormID: {
|
20
|
+
type: PropType<string>;
|
21
|
+
required: boolean;
|
22
|
+
};
|
23
|
+
}>>, {}>;
|
24
|
+
export default _default;
|
package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
|
+
import { Ref, UnwrapRef } from 'vue';
|
3
|
+
import { VarProfileDetail } from '../../../apis/WMS/models';
|
4
|
+
export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
5
|
+
export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
|
6
|
+
export declare type IUseDragRow = {};
|
7
|
+
export declare function _useDragRow(hostFormID: string | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgSearch.ConfigModal.less';
|
3
|
+
export declare const getProps: () => {
|
4
|
+
visible: PropType<boolean>;
|
5
|
+
'onUpdate:visible': PropType<(value: boolean) => void>;
|
6
|
+
/** 主页面的页面标识. */
|
7
|
+
hostFormID: {
|
8
|
+
type: PropType<string>;
|
9
|
+
required: boolean;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
export declare type IKgSearchConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
13
|
+
declare const _default: import("vue").DefineComponent<{
|
14
|
+
visible: PropType<boolean>;
|
15
|
+
'onUpdate:visible': PropType<(value: boolean) => void>;
|
16
|
+
/** 主页面的页面标识. */
|
17
|
+
hostFormID: {
|
18
|
+
type: PropType<string>;
|
19
|
+
required: boolean;
|
20
|
+
};
|
21
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
22
|
+
visible: PropType<boolean>;
|
23
|
+
'onUpdate:visible': PropType<(value: boolean) => void>;
|
24
|
+
/** 主页面的页面标识. */
|
25
|
+
hostFormID: {
|
26
|
+
type: PropType<string>;
|
27
|
+
required: boolean;
|
28
|
+
};
|
29
|
+
}>> & {
|
30
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
31
|
+
}, {}>;
|
32
|
+
export default _default;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
2
|
+
import { IRemoveEventListenerHandler } from '../../consts';
|
3
|
+
import { IKgTableSearchParams } from '../KgTable';
|
4
|
+
import { IKgSearchReadyCb, IKgSearchResetCb, IKgSearchSearchCb, IKgSearchStore } from './index.store';
|
5
|
+
export declare type IUseKgSearch = {
|
6
|
+
formID: string;
|
7
|
+
/** 状态数据. */
|
8
|
+
store: IKgSearchStore;
|
9
|
+
/** 是否就绪: 查询字段初始完成, 组件渲染完成. */
|
10
|
+
isReady: ComputedRef<ReturnType<IKgSearchStore['getIsReady']>>;
|
11
|
+
/** 表单数据对象. */
|
12
|
+
model: Ref<ReturnType<IKgSearchStore['getModel']>>;
|
13
|
+
/** 高级查询的操作符表单数据对象. */
|
14
|
+
operatorModel: ComputedRef<ReturnType<IKgSearchStore['getOperatorModel']>>;
|
15
|
+
/** 查询. */
|
16
|
+
search(param?: boolean | IKgTableSearchParams): void;
|
17
|
+
/** 重置. */
|
18
|
+
reset(): void;
|
19
|
+
/**
|
20
|
+
* 事件: ready, 查询字段初始完成, 组件渲染完成.
|
21
|
+
* @param cb 回调函数.
|
22
|
+
* @param once 是否只会触发一次. 默认为 undefined.
|
23
|
+
* */
|
24
|
+
onReady(cb: IKgSearchReadyCb, once?: boolean): IRemoveEventListenerHandler;
|
25
|
+
/**
|
26
|
+
* 事件: search, 点击查询按钮, 并且表单验证通过.
|
27
|
+
* @param cb 回调函数.
|
28
|
+
* @param once 是否只会触发一次. 默认为 undefined.
|
29
|
+
*/
|
30
|
+
onSearch(cb: IKgSearchSearchCb, once?: boolean): IRemoveEventListenerHandler;
|
31
|
+
/**
|
32
|
+
* 事件: reset, 点击重置按钮.
|
33
|
+
* @param cb 回调函数.
|
34
|
+
* @param once 是否只会触发一次. 默认为 undefined.
|
35
|
+
*/
|
36
|
+
onReset(cb: IKgSearchResetCb, once?: boolean): IRemoveEventListenerHandler;
|
37
|
+
};
|
38
|
+
/**
|
39
|
+
* @param formID 界面标识.
|
40
|
+
*/
|
41
|
+
export declare function useKgSearch(formID?: string | null): IUseKgSearch;
|