@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,62 +0,0 @@
|
|
1
|
-
import { default as KgButtonItem } from './KgButton.Item';
|
2
|
-
declare const _default: {
|
3
|
-
new (...args: any[]): {
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
5
|
-
$data: {};
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
7
|
-
kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
8
|
-
KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
9
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
10
|
-
$attrs: {
|
11
|
-
[x: string]: unknown;
|
12
|
-
};
|
13
|
-
$refs: {
|
14
|
-
[x: string]: unknown;
|
15
|
-
};
|
16
|
-
$slots: Readonly<{
|
17
|
-
[name: string]: import("vue").Slot | undefined;
|
18
|
-
}>;
|
19
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
20
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
21
|
-
$emit: (event: string, ...args: any[]) => void;
|
22
|
-
$el: any;
|
23
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
24
|
-
kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
25
|
-
KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
26
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
27
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
28
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
29
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
30
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
31
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
32
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
33
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
34
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
35
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
36
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
37
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
38
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
39
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
40
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
41
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
42
|
-
};
|
43
|
-
$forceUpdate: () => void;
|
44
|
-
$nextTick: typeof import("vue").nextTick;
|
45
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
46
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
47
|
-
kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
48
|
-
KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
49
|
-
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
50
|
-
__isFragment?: undefined;
|
51
|
-
__isTeleport?: undefined;
|
52
|
-
__isSuspense?: undefined;
|
53
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
54
|
-
kgDisabled: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
55
|
-
KgLoading: import("vue").PropType<(button: import("../..").VarButton) => boolean | undefined>;
|
56
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
57
|
-
Item: typeof KgButtonItem;
|
58
|
-
};
|
59
|
-
export default _default;
|
60
|
-
export { type IKgButtonProps } from './KgButton';
|
61
|
-
export * from './index.hooks';
|
62
|
-
export * from './index.store';
|
@@ -1,61 +0,0 @@
|
|
1
|
-
import { IRemoveEventListenerHandler, KG_BUTTON_TYPE } from '../../consts';
|
2
|
-
import { IKgButtonClickCb, IKgButtonDeleteOkCb, IKgButtonImportOkCb, IKgButtonOtherOkCb, IKgButtonStore, IKgButtonSubmitCancelCb, IKgButtonSubmitSaveCb, IKgButtonUpdateBeforeClickCb } from './index.store';
|
3
|
-
export declare type IUseKgButton = {
|
4
|
-
formID: string;
|
5
|
-
/** 状态数据. */
|
6
|
-
store: IKgButtonStore;
|
7
|
-
/**
|
8
|
-
* 点击某个按钮, 即通过代码的方式, 手动触发某个按钮的点击事件.
|
9
|
-
* @param formID 界面标识.
|
10
|
-
* @param type 按钮类型.
|
11
|
-
* @param var_nam 按钮变量名称.
|
12
|
-
* @param args 数据.
|
13
|
-
*/
|
14
|
-
click(formID: string, type: KG_BUTTON_TYPE, var_nam?: string, args?: any | null): void;
|
15
|
-
/**
|
16
|
-
* 监听事件: 点击按钮.
|
17
|
-
* @param cb 回调函数.
|
18
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
19
|
-
*/
|
20
|
-
onClick(cb: IKgButtonClickCb, once?: boolean): IRemoveEventListenerHandler;
|
21
|
-
/**
|
22
|
-
* 监听事件: 点击更新按钮之后, 执行默认逻辑之前. 如果返回 true, 则不再执行后续的默认逻辑.
|
23
|
-
* @param cb 回调函数.
|
24
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
25
|
-
*/
|
26
|
-
onUpdateBeforeClick(cb: IKgButtonUpdateBeforeClickCb, once?: boolean): IRemoveEventListenerHandler;
|
27
|
-
/**
|
28
|
-
* 监听事件: 删除成功, 删除接口调用成功.
|
29
|
-
* @param cb 回调函数.
|
30
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
31
|
-
*/
|
32
|
-
onDeleteOk(cb: IKgButtonDeleteOkCb, once?: boolean): IRemoveEventListenerHandler;
|
33
|
-
/**
|
34
|
-
* 监听事件: 导入成功, 导入接口调用成功.
|
35
|
-
* @param cb 回调函数.
|
36
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
37
|
-
*/
|
38
|
-
onImportOk(cb: IKgButtonImportOkCb, once?: boolean): IRemoveEventListenerHandler;
|
39
|
-
/**
|
40
|
-
* 监听事件: other 类型的按钮接口调用成功.
|
41
|
-
* @param cb 回调函数.
|
42
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
43
|
-
*/
|
44
|
-
onOtherOk(cb: IKgButtonOtherOkCb, once?: boolean): IRemoveEventListenerHandler;
|
45
|
-
/**
|
46
|
-
* 监听事件: 表格内编辑时, 点击保存按钮.
|
47
|
-
* @param cb 回调函数.
|
48
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
49
|
-
*/
|
50
|
-
onSubmitSave(cb: IKgButtonSubmitSaveCb, once?: boolean): IRemoveEventListenerHandler;
|
51
|
-
/**
|
52
|
-
* 监听事件: 表格内编辑时, 点击取消按钮.
|
53
|
-
* @param cb 回调函数.
|
54
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
55
|
-
*/
|
56
|
-
onSubmitCancel(cb: IKgButtonSubmitCancelCb, once?: boolean): IRemoveEventListenerHandler;
|
57
|
-
};
|
58
|
-
/**
|
59
|
-
* @param formID 界面标识.
|
60
|
-
*/
|
61
|
-
export declare function useKgButton(formID?: string | null): IUseKgButton;
|
@@ -1,89 +0,0 @@
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarButton } from '../../apis/WMS/models';
|
3
|
-
import { IKgEventCb, KG_BUTTON_TYPE } from '../../consts';
|
4
|
-
import { IKgTableRow } from '../KgTable';
|
5
|
-
/**
|
6
|
-
* 事件类型.
|
7
|
-
* 'click': 点击按钮
|
8
|
-
* 'updateBeforeClick': 点击更新按钮之后, 执行默认逻辑之前. 如果返回 Promise.resolve(false), 则不执行默认逻辑
|
9
|
-
* 'deleteOk': 删除成功, 删除接口调用成功
|
10
|
-
* 'importOk': 导入成功, 导入接口调用成功
|
11
|
-
* 'otherOk': other 类型的按钮接口调用成功
|
12
|
-
* 'submitSave': 表格内编辑时, 点击保存按钮
|
13
|
-
* 'submitCancel': 表格内编辑时, 点击取消按钮
|
14
|
-
*/
|
15
|
-
export declare type IKgButtonEvent = 'click' | 'updateBeforeClick' | 'deleteOk' | 'importOk' | 'otherOk' | 'submitSave' | 'submitCancel';
|
16
|
-
export declare type IKgButtonClickCbParam = {
|
17
|
-
button: VarButton;
|
18
|
-
};
|
19
|
-
export declare type IKgButtonClickCb = ((button: VarButton) => Promise<boolean>) & IKgEventCb;
|
20
|
-
export declare type IKgButtonUpdateBeforeClickCbParam = {
|
21
|
-
button?: VarButton | null;
|
22
|
-
row?: IKgTableRow | null;
|
23
|
-
};
|
24
|
-
export declare type IKgButtonUpdateBeforeClickCb = ((args: IKgButtonUpdateBeforeClickCbParam) => Promise<boolean>) & IKgEventCb;
|
25
|
-
export declare type IKgButtonDeleteOkCbParam = {
|
26
|
-
button?: VarButton | null;
|
27
|
-
/** 删除的行. */
|
28
|
-
rows: Array<IKgTableRow> | null;
|
29
|
-
};
|
30
|
-
export declare type IKgButtonDeleteOkCb = ((args: IKgButtonDeleteOkCbParam) => Promise<boolean>) & IKgEventCb;
|
31
|
-
export declare type IKgButtonImportOkCbParam = {
|
32
|
-
button?: VarButton | null;
|
33
|
-
};
|
34
|
-
export declare type IKgButtonImportOkCb = ((args: IKgButtonImportOkCbParam) => Promise<boolean>) & IKgEventCb;
|
35
|
-
export declare type IKgButtonOtherOkCbParam = {
|
36
|
-
button?: VarButton | null;
|
37
|
-
/** 接口返回的数据. */
|
38
|
-
data: any;
|
39
|
-
};
|
40
|
-
export declare type IKgButtonOtherOkCb = ((args: IKgButtonOtherOkCbParam) => Promise<boolean>) & IKgEventCb;
|
41
|
-
export declare type IKgButtonSubmitSaveCb = (() => Promise<boolean>) & IKgEventCb;
|
42
|
-
export declare type IKgButtonSubmitCancelCb = (() => Promise<boolean>) & IKgEventCb;
|
43
|
-
export declare type IKgButtonCbParam = IKgButtonClickCbParam | IKgButtonUpdateBeforeClickCbParam | IKgButtonDeleteOkCbParam | IKgButtonImportOkCbParam | IKgButtonOtherOkCbParam | any;
|
44
|
-
export declare type IKgButtonCb = IKgButtonClickCb | IKgButtonUpdateBeforeClickCb | IKgButtonDeleteOkCb | IKgButtonImportOkCb | IKgButtonOtherOkCb | IKgButtonSubmitSaveCb | IKgButtonSubmitCancelCb;
|
45
|
-
export interface IKgButtonState {
|
46
|
-
clickListenersMap: Map<string, Array<IKgButtonClickCb>>;
|
47
|
-
updateBeforeClickListenersMap: Map<string, Array<IKgButtonUpdateBeforeClickCb>>;
|
48
|
-
deleteOkListenersMap: Map<string, Array<IKgButtonDeleteOkCb>>;
|
49
|
-
importOkListenersMap: Map<string, Array<IKgButtonImportOkCb>>;
|
50
|
-
otherOkListenersMap: Map<string, Array<IKgButtonOtherOkCb>>;
|
51
|
-
submitSaveListenersMap: Map<string, Array<IKgButtonSubmitSaveCb>>;
|
52
|
-
submitCancelListenersMap: Map<string, Array<IKgButtonSubmitCancelCb>>;
|
53
|
-
}
|
54
|
-
export declare type IKgButtonStoreDefinition = StoreDefinition<'KgButton', IKgButtonState, {
|
55
|
-
getClickListeners(): (formID?: string | null) => Array<IKgButtonClickCb> | null;
|
56
|
-
}, {
|
57
|
-
dispose(formID: string | null | undefined): void;
|
58
|
-
/**
|
59
|
-
* 注册事件监听.
|
60
|
-
* @param formID 界面标识.
|
61
|
-
* @param event 事件名称.
|
62
|
-
* @param cb 回调函数.
|
63
|
-
*/
|
64
|
-
addEventListener(formID: string, event: IKgButtonEvent, cb: IKgButtonCb): void;
|
65
|
-
/**
|
66
|
-
* 退订事件监听.
|
67
|
-
* @param formID 界面标识.
|
68
|
-
* @param event 事件名称.
|
69
|
-
* @param cb 回调函数.
|
70
|
-
*/
|
71
|
-
removeEventListener(formID: string, event: IKgButtonEvent, cb?: IKgButtonCb): void;
|
72
|
-
/**
|
73
|
-
* 触发事件.
|
74
|
-
* @param formID 界面标识.
|
75
|
-
* @param event 事件名称.
|
76
|
-
* @param param 数据.
|
77
|
-
*/
|
78
|
-
emit(formID: string, event: IKgButtonEvent, param: IKgButtonCbParam): Promise<boolean>;
|
79
|
-
/**
|
80
|
-
* 点击某个按钮, 即通过代码的方式, 手动触发某个按钮的点击事件.
|
81
|
-
* @param formID 界面标识.
|
82
|
-
* @param type 按钮类型.
|
83
|
-
* @param var_nam 按钮变量名称.
|
84
|
-
* @param args 数据.
|
85
|
-
*/
|
86
|
-
click(formID: string, type: KG_BUTTON_TYPE, var_nam?: string, args?: any | null): void;
|
87
|
-
}>;
|
88
|
-
export declare type IKgButtonStore = ReturnType<IKgButtonStoreDefinition>;
|
89
|
-
export declare const useKgButtonStore: () => IKgButtonStoreDefinition;
|
@@ -1,414 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
2
|
-
import './KgForm.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
5
|
-
labelCol: {
|
6
|
-
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
7
|
-
span: (StringConstructor | NumberConstructor)[];
|
8
|
-
order: (StringConstructor | NumberConstructor)[];
|
9
|
-
offset: (StringConstructor | NumberConstructor)[];
|
10
|
-
push: (StringConstructor | NumberConstructor)[];
|
11
|
-
pull: (StringConstructor | NumberConstructor)[];
|
12
|
-
xs: {
|
13
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
14
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
15
|
-
};
|
16
|
-
sm: {
|
17
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
18
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
19
|
-
};
|
20
|
-
md: {
|
21
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
22
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
23
|
-
};
|
24
|
-
lg: {
|
25
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
26
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
27
|
-
};
|
28
|
-
xl: {
|
29
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
30
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
31
|
-
};
|
32
|
-
xxl: {
|
33
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
34
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
35
|
-
};
|
36
|
-
xxxl: {
|
37
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
38
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
39
|
-
};
|
40
|
-
prefixCls: StringConstructor;
|
41
|
-
flex: (StringConstructor | NumberConstructor)[];
|
42
|
-
}>> & import("vue").HTMLAttributes>;
|
43
|
-
};
|
44
|
-
wrapperCol: {
|
45
|
-
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
46
|
-
span: (StringConstructor | NumberConstructor)[];
|
47
|
-
order: (StringConstructor | NumberConstructor)[];
|
48
|
-
offset: (StringConstructor | NumberConstructor)[];
|
49
|
-
push: (StringConstructor | NumberConstructor)[];
|
50
|
-
pull: (StringConstructor | NumberConstructor)[];
|
51
|
-
xs: {
|
52
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
53
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
54
|
-
};
|
55
|
-
sm: {
|
56
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
57
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
58
|
-
};
|
59
|
-
md: {
|
60
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
61
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
62
|
-
};
|
63
|
-
lg: {
|
64
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
65
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
66
|
-
};
|
67
|
-
xl: {
|
68
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
69
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
70
|
-
};
|
71
|
-
xxl: {
|
72
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
73
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
74
|
-
};
|
75
|
-
xxxl: {
|
76
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
77
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
78
|
-
};
|
79
|
-
prefixCls: StringConstructor;
|
80
|
-
flex: (StringConstructor | NumberConstructor)[];
|
81
|
-
}>> & import("vue").HTMLAttributes>;
|
82
|
-
};
|
83
|
-
colon: {
|
84
|
-
type: BooleanConstructor;
|
85
|
-
default: undefined;
|
86
|
-
};
|
87
|
-
labelAlign: import("vue").PropType<"left" | "right">;
|
88
|
-
labelWrap: {
|
89
|
-
type: BooleanConstructor;
|
90
|
-
default: undefined;
|
91
|
-
};
|
92
|
-
prefixCls: StringConstructor;
|
93
|
-
requiredMark: {
|
94
|
-
type: import("vue").PropType<"" | import("ant-design-vue/es/form/Form").RequiredMark>;
|
95
|
-
default: undefined;
|
96
|
-
};
|
97
|
-
model: import("vue").PropType<Object>;
|
98
|
-
rules: {
|
99
|
-
type: import("vue").PropType<{
|
100
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
101
|
-
}>;
|
102
|
-
};
|
103
|
-
validateMessages: {
|
104
|
-
type: import("vue").PropType<import("ant-design-vue/es/form/interface").ValidateMessages>;
|
105
|
-
default: undefined;
|
106
|
-
};
|
107
|
-
validateOnRuleChange: {
|
108
|
-
type: BooleanConstructor;
|
109
|
-
default: undefined;
|
110
|
-
};
|
111
|
-
scrollToFirstError: {
|
112
|
-
type: import("vue").PropType<any>;
|
113
|
-
};
|
114
|
-
onSubmit: import("vue").PropType<(e: Event) => void>;
|
115
|
-
name: StringConstructor;
|
116
|
-
validateTrigger: {
|
117
|
-
type: import("vue").PropType<string | string[]>;
|
118
|
-
};
|
119
|
-
size: {
|
120
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
121
|
-
};
|
122
|
-
onValuesChange: {
|
123
|
-
type: import("vue").PropType<((changedValues: any, values: any) => void) | undefined>;
|
124
|
-
};
|
125
|
-
onFieldsChange: {
|
126
|
-
type: import("vue").PropType<((changedFields: import("ant-design-vue/es/form/interface").FieldData[], allFields: import("ant-design-vue/es/form/interface").FieldData[]) => void) | undefined>;
|
127
|
-
};
|
128
|
-
onFinish: {
|
129
|
-
type: import("vue").PropType<((values: any) => void) | undefined>;
|
130
|
-
};
|
131
|
-
onFinishFailed: {
|
132
|
-
type: import("vue").PropType<((errorInfo: import("ant-design-vue/es/form/interface").ValidateErrorEntity<any>) => void) | undefined>;
|
133
|
-
};
|
134
|
-
onValidate: {
|
135
|
-
type: import("vue").PropType<((name: string | number | string[] | number[], status: boolean, errors: string[] | null) => void) | undefined>;
|
136
|
-
};
|
137
|
-
};
|
138
|
-
export declare type IKgFormProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
139
|
-
declare const _default: import("vue").DefineComponent<{
|
140
|
-
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
141
|
-
labelCol: {
|
142
|
-
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
143
|
-
span: (StringConstructor | NumberConstructor)[];
|
144
|
-
order: (StringConstructor | NumberConstructor)[];
|
145
|
-
offset: (StringConstructor | NumberConstructor)[];
|
146
|
-
push: (StringConstructor | NumberConstructor)[];
|
147
|
-
pull: (StringConstructor | NumberConstructor)[];
|
148
|
-
xs: {
|
149
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
150
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
151
|
-
};
|
152
|
-
sm: {
|
153
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
154
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
155
|
-
};
|
156
|
-
md: {
|
157
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
158
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
159
|
-
};
|
160
|
-
lg: {
|
161
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
162
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
163
|
-
};
|
164
|
-
xl: {
|
165
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
166
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
167
|
-
};
|
168
|
-
xxl: {
|
169
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
170
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
171
|
-
};
|
172
|
-
xxxl: {
|
173
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
174
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
175
|
-
};
|
176
|
-
prefixCls: StringConstructor;
|
177
|
-
flex: (StringConstructor | NumberConstructor)[];
|
178
|
-
}>> & import("vue").HTMLAttributes>;
|
179
|
-
};
|
180
|
-
wrapperCol: {
|
181
|
-
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
182
|
-
span: (StringConstructor | NumberConstructor)[];
|
183
|
-
order: (StringConstructor | NumberConstructor)[];
|
184
|
-
offset: (StringConstructor | NumberConstructor)[];
|
185
|
-
push: (StringConstructor | NumberConstructor)[];
|
186
|
-
pull: (StringConstructor | NumberConstructor)[];
|
187
|
-
xs: {
|
188
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
189
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
190
|
-
};
|
191
|
-
sm: {
|
192
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
193
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
194
|
-
};
|
195
|
-
md: {
|
196
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
197
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
198
|
-
};
|
199
|
-
lg: {
|
200
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
201
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
202
|
-
};
|
203
|
-
xl: {
|
204
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
205
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
206
|
-
};
|
207
|
-
xxl: {
|
208
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
209
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
210
|
-
};
|
211
|
-
xxxl: {
|
212
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
213
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
214
|
-
};
|
215
|
-
prefixCls: StringConstructor;
|
216
|
-
flex: (StringConstructor | NumberConstructor)[];
|
217
|
-
}>> & import("vue").HTMLAttributes>;
|
218
|
-
};
|
219
|
-
colon: {
|
220
|
-
type: BooleanConstructor;
|
221
|
-
default: undefined;
|
222
|
-
};
|
223
|
-
labelAlign: import("vue").PropType<"left" | "right">;
|
224
|
-
labelWrap: {
|
225
|
-
type: BooleanConstructor;
|
226
|
-
default: undefined;
|
227
|
-
};
|
228
|
-
prefixCls: StringConstructor;
|
229
|
-
requiredMark: {
|
230
|
-
type: import("vue").PropType<"" | import("ant-design-vue/es/form/Form").RequiredMark>;
|
231
|
-
default: undefined;
|
232
|
-
};
|
233
|
-
model: import("vue").PropType<Object>;
|
234
|
-
rules: {
|
235
|
-
type: import("vue").PropType<{
|
236
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
237
|
-
}>;
|
238
|
-
};
|
239
|
-
validateMessages: {
|
240
|
-
type: import("vue").PropType<import("ant-design-vue/es/form/interface").ValidateMessages>;
|
241
|
-
default: undefined;
|
242
|
-
};
|
243
|
-
validateOnRuleChange: {
|
244
|
-
type: BooleanConstructor;
|
245
|
-
default: undefined;
|
246
|
-
};
|
247
|
-
scrollToFirstError: {
|
248
|
-
type: import("vue").PropType<any>;
|
249
|
-
};
|
250
|
-
onSubmit: import("vue").PropType<(e: Event) => void>;
|
251
|
-
name: StringConstructor;
|
252
|
-
validateTrigger: {
|
253
|
-
type: import("vue").PropType<string | string[]>;
|
254
|
-
};
|
255
|
-
size: {
|
256
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
257
|
-
};
|
258
|
-
onValuesChange: {
|
259
|
-
type: import("vue").PropType<((changedValues: any, values: any) => void) | undefined>;
|
260
|
-
};
|
261
|
-
onFieldsChange: {
|
262
|
-
type: import("vue").PropType<((changedFields: import("ant-design-vue/es/form/interface").FieldData[], allFields: import("ant-design-vue/es/form/interface").FieldData[]) => void) | undefined>;
|
263
|
-
};
|
264
|
-
onFinish: {
|
265
|
-
type: import("vue").PropType<((values: any) => void) | undefined>;
|
266
|
-
};
|
267
|
-
onFinishFailed: {
|
268
|
-
type: import("vue").PropType<((errorInfo: import("ant-design-vue/es/form/interface").ValidateErrorEntity<any>) => void) | undefined>;
|
269
|
-
};
|
270
|
-
onValidate: {
|
271
|
-
type: import("vue").PropType<((name: string | number | string[] | number[], status: boolean, errors: string[] | null) => void) | undefined>;
|
272
|
-
};
|
273
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
274
|
-
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
275
|
-
labelCol: {
|
276
|
-
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
277
|
-
span: (StringConstructor | NumberConstructor)[];
|
278
|
-
order: (StringConstructor | NumberConstructor)[];
|
279
|
-
offset: (StringConstructor | NumberConstructor)[];
|
280
|
-
push: (StringConstructor | NumberConstructor)[];
|
281
|
-
pull: (StringConstructor | NumberConstructor)[];
|
282
|
-
xs: {
|
283
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
284
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
285
|
-
};
|
286
|
-
sm: {
|
287
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
288
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
289
|
-
};
|
290
|
-
md: {
|
291
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
292
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
293
|
-
};
|
294
|
-
lg: {
|
295
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
296
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
297
|
-
};
|
298
|
-
xl: {
|
299
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
300
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
301
|
-
};
|
302
|
-
xxl: {
|
303
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
304
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
305
|
-
};
|
306
|
-
xxxl: {
|
307
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
308
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
309
|
-
};
|
310
|
-
prefixCls: StringConstructor;
|
311
|
-
flex: (StringConstructor | NumberConstructor)[];
|
312
|
-
}>> & import("vue").HTMLAttributes>;
|
313
|
-
};
|
314
|
-
wrapperCol: {
|
315
|
-
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
316
|
-
span: (StringConstructor | NumberConstructor)[];
|
317
|
-
order: (StringConstructor | NumberConstructor)[];
|
318
|
-
offset: (StringConstructor | NumberConstructor)[];
|
319
|
-
push: (StringConstructor | NumberConstructor)[];
|
320
|
-
pull: (StringConstructor | NumberConstructor)[];
|
321
|
-
xs: {
|
322
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
323
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
324
|
-
};
|
325
|
-
sm: {
|
326
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
327
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
328
|
-
};
|
329
|
-
md: {
|
330
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
331
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
332
|
-
};
|
333
|
-
lg: {
|
334
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
335
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
336
|
-
};
|
337
|
-
xl: {
|
338
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
339
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
340
|
-
};
|
341
|
-
xxl: {
|
342
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
343
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
344
|
-
};
|
345
|
-
xxxl: {
|
346
|
-
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
347
|
-
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
348
|
-
};
|
349
|
-
prefixCls: StringConstructor;
|
350
|
-
flex: (StringConstructor | NumberConstructor)[];
|
351
|
-
}>> & import("vue").HTMLAttributes>;
|
352
|
-
};
|
353
|
-
colon: {
|
354
|
-
type: BooleanConstructor;
|
355
|
-
default: undefined;
|
356
|
-
};
|
357
|
-
labelAlign: import("vue").PropType<"left" | "right">;
|
358
|
-
labelWrap: {
|
359
|
-
type: BooleanConstructor;
|
360
|
-
default: undefined;
|
361
|
-
};
|
362
|
-
prefixCls: StringConstructor;
|
363
|
-
requiredMark: {
|
364
|
-
type: import("vue").PropType<"" | import("ant-design-vue/es/form/Form").RequiredMark>;
|
365
|
-
default: undefined;
|
366
|
-
};
|
367
|
-
model: import("vue").PropType<Object>;
|
368
|
-
rules: {
|
369
|
-
type: import("vue").PropType<{
|
370
|
-
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
371
|
-
}>;
|
372
|
-
};
|
373
|
-
validateMessages: {
|
374
|
-
type: import("vue").PropType<import("ant-design-vue/es/form/interface").ValidateMessages>;
|
375
|
-
default: undefined;
|
376
|
-
};
|
377
|
-
validateOnRuleChange: {
|
378
|
-
type: BooleanConstructor;
|
379
|
-
default: undefined;
|
380
|
-
};
|
381
|
-
scrollToFirstError: {
|
382
|
-
type: import("vue").PropType<any>;
|
383
|
-
};
|
384
|
-
onSubmit: import("vue").PropType<(e: Event) => void>;
|
385
|
-
name: StringConstructor;
|
386
|
-
validateTrigger: {
|
387
|
-
type: import("vue").PropType<string | string[]>;
|
388
|
-
};
|
389
|
-
size: {
|
390
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
391
|
-
};
|
392
|
-
onValuesChange: {
|
393
|
-
type: import("vue").PropType<((changedValues: any, values: any) => void) | undefined>;
|
394
|
-
};
|
395
|
-
onFieldsChange: {
|
396
|
-
type: import("vue").PropType<((changedFields: import("ant-design-vue/es/form/interface").FieldData[], allFields: import("ant-design-vue/es/form/interface").FieldData[]) => void) | undefined>;
|
397
|
-
};
|
398
|
-
onFinish: {
|
399
|
-
type: import("vue").PropType<((values: any) => void) | undefined>;
|
400
|
-
};
|
401
|
-
onFinishFailed: {
|
402
|
-
type: import("vue").PropType<((errorInfo: import("ant-design-vue/es/form/interface").ValidateErrorEntity<any>) => void) | undefined>;
|
403
|
-
};
|
404
|
-
onValidate: {
|
405
|
-
type: import("vue").PropType<((name: string | number | string[] | number[], status: boolean, errors: string[] | null) => void) | undefined>;
|
406
|
-
};
|
407
|
-
}>>, {
|
408
|
-
colon: boolean;
|
409
|
-
labelWrap: boolean;
|
410
|
-
requiredMark: "" | import("ant-design-vue/es/form/Form").RequiredMark;
|
411
|
-
validateMessages: import("ant-design-vue/es/form/interface").ValidateMessages;
|
412
|
-
validateOnRuleChange: boolean;
|
413
|
-
}>;
|
414
|
-
export default _default;
|