@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,116 +0,0 @@
|
|
1
|
-
import { RuleObject } from 'ant-design-vue/es/form';
|
2
|
-
import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
3
|
-
import { PickerMode } from 'ant-design-vue/lib/vc-picker/interface';
|
4
|
-
import { Dayjs } from 'dayjs';
|
5
|
-
import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue';
|
6
|
-
import { VarProfileDetail, VarSubmitField, VarVariableConfig } from '../../apis/WMS/models';
|
7
|
-
import { KG_FORM_CONTEXT } from '../../consts';
|
8
|
-
export declare type IKgFormItemValue = string | number | Array<string | number>;
|
9
|
-
export declare const getProps: () => {
|
10
|
-
/** 变量名称. */
|
11
|
-
kgVarName: {
|
12
|
-
type: PropType<string>;
|
13
|
-
required: boolean;
|
14
|
-
};
|
15
|
-
/**
|
16
|
-
* 控件所处环境.
|
17
|
-
* @default {@link KG_FORM_CONTEXT.SUBMIT}
|
18
|
-
*/
|
19
|
-
kgContext: {
|
20
|
-
type: PropType<string>;
|
21
|
-
default: KG_FORM_CONTEXT;
|
22
|
-
};
|
23
|
-
/** 是否禁用. */
|
24
|
-
kgDisabled: {
|
25
|
-
type: PropType<boolean>;
|
26
|
-
default: undefined;
|
27
|
-
};
|
28
|
-
/** 控件宽度. */
|
29
|
-
kgSpan: PropType<number>;
|
30
|
-
/** 提示文字. */
|
31
|
-
kgPlaceholder: PropType<string>;
|
32
|
-
/** 模式. 主要用于下拉列表, 设置单选多选. */
|
33
|
-
kgMode: PropType<"multiple" | "tags">;
|
34
|
-
/**
|
35
|
-
* 是否显示标签文本.
|
36
|
-
* @default true
|
37
|
-
*/
|
38
|
-
kgShowLabel: {
|
39
|
-
type: PropType<boolean>;
|
40
|
-
default: boolean;
|
41
|
-
};
|
42
|
-
/**
|
43
|
-
* 是否允许清空.
|
44
|
-
* @default true
|
45
|
-
*/
|
46
|
-
kgAllowClear: {
|
47
|
-
type: PropType<boolean>;
|
48
|
-
default: boolean;
|
49
|
-
};
|
50
|
-
/**
|
51
|
-
* 时间配置, 对应 DatePicker 组件的 showTime 参数.
|
52
|
-
* https://www.antdv.com/components/date-picker#DatePicker
|
53
|
-
* @default undefined
|
54
|
-
*/
|
55
|
-
kgShowTime: {
|
56
|
-
type: PropType<boolean | SharedTimeProps<Dayjs>>;
|
57
|
-
default: undefined;
|
58
|
-
};
|
59
|
-
/**
|
60
|
-
* 日期选择控件类型, 对应 DatePicker 组件的 picker 参数.
|
61
|
-
* https://www.antdv.com/components/date-picker#DatePicker
|
62
|
-
* @default undefined
|
63
|
-
*/
|
64
|
-
kgPicker: {
|
65
|
-
type: PropType<PickerMode>;
|
66
|
-
default: undefined;
|
67
|
-
};
|
68
|
-
kgRules: PropType<RuleObject[]>;
|
69
|
-
value: PropType<IKgFormItemValue>;
|
70
|
-
'onUpdate:value': PropType<(value: IKgFormItemValue | null) => void>;
|
71
|
-
onKgSubmit: PropType<() => void>;
|
72
|
-
/** 表单控件的值发生变更. */
|
73
|
-
onKgChange: PropType<(value: any | null) => void>;
|
74
|
-
/** 下拉列表选中某个(可能多个)数据. */
|
75
|
-
onKgSelectChange: PropType<(value: any | null) => void>;
|
76
|
-
/** 下拉列表数据发生变更. */
|
77
|
-
onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
|
78
|
-
/** 列表数据发生变更. */
|
79
|
-
onKgCheckboxGroupDatasChange: PropType<(datas: Array<any>) => void>;
|
80
|
-
};
|
81
|
-
export declare type IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
82
|
-
/** 插槽 control 的参数. */
|
83
|
-
export declare type IKgFormItemSlotControlParam = {
|
84
|
-
frm_id: string;
|
85
|
-
varName: string;
|
86
|
-
props: ComputedRef<IKgFormItemProps>;
|
87
|
-
model: ComputedRef<Record<string, any>>;
|
88
|
-
varVariableConfig: VarVariableConfig;
|
89
|
-
varProfileDetail: VarProfileDetail;
|
90
|
-
varSubmitField: VarSubmitField;
|
91
|
-
};
|
92
|
-
/**
|
93
|
-
* 对应于 {@link VarVariableConfig.ctrl_prop} 字段, 给不同类型的表单控件设置额外参数.
|
94
|
-
* @see VarVariableConfig.ctrl_prop
|
95
|
-
* @see KG_FORM_ITEM_TYPE
|
96
|
-
*/
|
97
|
-
export interface IKgFormItemTypeProperties {
|
98
|
-
CHECKBOX_GROUP: {
|
99
|
-
/**
|
100
|
-
* 数据项的宽度.
|
101
|
-
* @default 24
|
102
|
-
*/
|
103
|
-
span?: number;
|
104
|
-
/** 要排除哪些值. */
|
105
|
-
excludeValues?: Array<any>;
|
106
|
-
};
|
107
|
-
RADIO_GROUP: {
|
108
|
-
/**
|
109
|
-
* 数据项的宽度.
|
110
|
-
* @default 24
|
111
|
-
*/
|
112
|
-
span?: number;
|
113
|
-
};
|
114
|
-
}
|
115
|
-
/** 依赖注入 kgContext 参数. */
|
116
|
-
export declare const DI_KG_CONTEXT: InjectionKey<string>;
|
@@ -1,395 +0,0 @@
|
|
1
|
-
import './KgModal.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
3
|
-
kgShowFullscreenButton: {
|
4
|
-
type: import("vue").PropType<boolean>;
|
5
|
-
default: boolean;
|
6
|
-
};
|
7
|
-
kgShowCancelButton: {
|
8
|
-
type: import("vue").PropType<boolean>;
|
9
|
-
default: boolean;
|
10
|
-
};
|
11
|
-
kgShowOkButton: {
|
12
|
-
type: import("vue").PropType<boolean>;
|
13
|
-
default: boolean;
|
14
|
-
};
|
15
|
-
kgFullHeight: {
|
16
|
-
type: import("vue").PropType<boolean>;
|
17
|
-
default: boolean;
|
18
|
-
};
|
19
|
-
prefixCls: StringConstructor;
|
20
|
-
visible: {
|
21
|
-
type: BooleanConstructor;
|
22
|
-
default: undefined;
|
23
|
-
};
|
24
|
-
confirmLoading: {
|
25
|
-
type: BooleanConstructor;
|
26
|
-
default: undefined;
|
27
|
-
};
|
28
|
-
title: import("vue").PropType<any>;
|
29
|
-
closable: {
|
30
|
-
type: BooleanConstructor;
|
31
|
-
default: undefined;
|
32
|
-
};
|
33
|
-
closeIcon: import("vue").PropType<any>;
|
34
|
-
onOk: import("vue").PropType<(e: MouseEvent) => void>;
|
35
|
-
onCancel: import("vue").PropType<(e: MouseEvent) => void>;
|
36
|
-
'onUpdate:visible': import("vue").PropType<(visible: boolean) => void>;
|
37
|
-
onChange: import("vue").PropType<(visible: boolean) => void>;
|
38
|
-
afterClose: import("vue").PropType<() => void>;
|
39
|
-
centered: {
|
40
|
-
type: BooleanConstructor;
|
41
|
-
default: undefined;
|
42
|
-
};
|
43
|
-
width: (StringConstructor | NumberConstructor)[];
|
44
|
-
footer: import("vue").PropType<any>;
|
45
|
-
okText: import("vue").PropType<any>;
|
46
|
-
okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
47
|
-
cancelText: import("vue").PropType<any>;
|
48
|
-
icon: import("vue").PropType<any>;
|
49
|
-
maskClosable: {
|
50
|
-
type: BooleanConstructor;
|
51
|
-
default: undefined;
|
52
|
-
};
|
53
|
-
forceRender: {
|
54
|
-
type: BooleanConstructor;
|
55
|
-
default: undefined;
|
56
|
-
};
|
57
|
-
okButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
58
|
-
prefixCls: StringConstructor;
|
59
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
60
|
-
htmlType: {
|
61
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
62
|
-
default: string;
|
63
|
-
};
|
64
|
-
shape: {
|
65
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
66
|
-
};
|
67
|
-
size: {
|
68
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
69
|
-
};
|
70
|
-
loading: {
|
71
|
-
type: import("vue").PropType<boolean | {
|
72
|
-
delay?: number | undefined;
|
73
|
-
}>;
|
74
|
-
default: () => boolean | {
|
75
|
-
delay?: number | undefined;
|
76
|
-
};
|
77
|
-
};
|
78
|
-
disabled: {
|
79
|
-
type: BooleanConstructor;
|
80
|
-
default: undefined;
|
81
|
-
};
|
82
|
-
ghost: {
|
83
|
-
type: BooleanConstructor;
|
84
|
-
default: undefined;
|
85
|
-
};
|
86
|
-
block: {
|
87
|
-
type: BooleanConstructor;
|
88
|
-
default: undefined;
|
89
|
-
};
|
90
|
-
danger: {
|
91
|
-
type: BooleanConstructor;
|
92
|
-
default: undefined;
|
93
|
-
};
|
94
|
-
icon: import("vue").PropType<any>;
|
95
|
-
href: StringConstructor;
|
96
|
-
target: StringConstructor;
|
97
|
-
title: StringConstructor;
|
98
|
-
onClick: {
|
99
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
100
|
-
};
|
101
|
-
onMousedown: {
|
102
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
103
|
-
};
|
104
|
-
}>>>;
|
105
|
-
cancelButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
106
|
-
prefixCls: StringConstructor;
|
107
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
108
|
-
htmlType: {
|
109
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
110
|
-
default: string;
|
111
|
-
};
|
112
|
-
shape: {
|
113
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
114
|
-
};
|
115
|
-
size: {
|
116
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
117
|
-
};
|
118
|
-
loading: {
|
119
|
-
type: import("vue").PropType<boolean | {
|
120
|
-
delay?: number | undefined;
|
121
|
-
}>;
|
122
|
-
default: () => boolean | {
|
123
|
-
delay?: number | undefined;
|
124
|
-
};
|
125
|
-
};
|
126
|
-
disabled: {
|
127
|
-
type: BooleanConstructor;
|
128
|
-
default: undefined;
|
129
|
-
};
|
130
|
-
ghost: {
|
131
|
-
type: BooleanConstructor;
|
132
|
-
default: undefined;
|
133
|
-
};
|
134
|
-
block: {
|
135
|
-
type: BooleanConstructor;
|
136
|
-
default: undefined;
|
137
|
-
};
|
138
|
-
danger: {
|
139
|
-
type: BooleanConstructor;
|
140
|
-
default: undefined;
|
141
|
-
};
|
142
|
-
icon: import("vue").PropType<any>;
|
143
|
-
href: StringConstructor;
|
144
|
-
target: StringConstructor;
|
145
|
-
title: StringConstructor;
|
146
|
-
onClick: {
|
147
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
148
|
-
};
|
149
|
-
onMousedown: {
|
150
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
151
|
-
};
|
152
|
-
}>>>;
|
153
|
-
destroyOnClose: {
|
154
|
-
type: BooleanConstructor;
|
155
|
-
default: undefined;
|
156
|
-
};
|
157
|
-
wrapClassName: StringConstructor;
|
158
|
-
maskTransitionName: StringConstructor;
|
159
|
-
transitionName: StringConstructor;
|
160
|
-
getContainer: {
|
161
|
-
type: import("vue").PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
162
|
-
default: undefined;
|
163
|
-
};
|
164
|
-
zIndex: NumberConstructor;
|
165
|
-
bodyStyle: {
|
166
|
-
type: import("vue").PropType<import("vue").CSSProperties>;
|
167
|
-
default: import("vue").CSSProperties;
|
168
|
-
};
|
169
|
-
maskStyle: {
|
170
|
-
type: import("vue").PropType<import("vue").CSSProperties>;
|
171
|
-
default: import("vue").CSSProperties;
|
172
|
-
};
|
173
|
-
mask: {
|
174
|
-
type: BooleanConstructor;
|
175
|
-
default: undefined;
|
176
|
-
};
|
177
|
-
keyboard: {
|
178
|
-
type: BooleanConstructor;
|
179
|
-
default: undefined;
|
180
|
-
};
|
181
|
-
wrapProps: ObjectConstructor;
|
182
|
-
focusTriggerAfterClose: {
|
183
|
-
type: BooleanConstructor;
|
184
|
-
default: undefined;
|
185
|
-
};
|
186
|
-
modalRender: import("vue").PropType<(arg: {
|
187
|
-
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
188
|
-
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
189
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
190
|
-
kgShowFullscreenButton: {
|
191
|
-
type: import("vue").PropType<boolean>;
|
192
|
-
default: boolean;
|
193
|
-
};
|
194
|
-
kgShowCancelButton: {
|
195
|
-
type: import("vue").PropType<boolean>;
|
196
|
-
default: boolean;
|
197
|
-
};
|
198
|
-
kgShowOkButton: {
|
199
|
-
type: import("vue").PropType<boolean>;
|
200
|
-
default: boolean;
|
201
|
-
};
|
202
|
-
kgFullHeight: {
|
203
|
-
type: import("vue").PropType<boolean>;
|
204
|
-
default: boolean;
|
205
|
-
};
|
206
|
-
prefixCls: StringConstructor;
|
207
|
-
visible: {
|
208
|
-
type: BooleanConstructor;
|
209
|
-
default: undefined;
|
210
|
-
};
|
211
|
-
confirmLoading: {
|
212
|
-
type: BooleanConstructor;
|
213
|
-
default: undefined;
|
214
|
-
};
|
215
|
-
title: import("vue").PropType<any>;
|
216
|
-
closable: {
|
217
|
-
type: BooleanConstructor;
|
218
|
-
default: undefined;
|
219
|
-
};
|
220
|
-
closeIcon: import("vue").PropType<any>;
|
221
|
-
onOk: import("vue").PropType<(e: MouseEvent) => void>;
|
222
|
-
onCancel: import("vue").PropType<(e: MouseEvent) => void>;
|
223
|
-
'onUpdate:visible': import("vue").PropType<(visible: boolean) => void>;
|
224
|
-
onChange: import("vue").PropType<(visible: boolean) => void>;
|
225
|
-
afterClose: import("vue").PropType<() => void>;
|
226
|
-
centered: {
|
227
|
-
type: BooleanConstructor;
|
228
|
-
default: undefined;
|
229
|
-
};
|
230
|
-
width: (StringConstructor | NumberConstructor)[];
|
231
|
-
footer: import("vue").PropType<any>;
|
232
|
-
okText: import("vue").PropType<any>;
|
233
|
-
okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
234
|
-
cancelText: import("vue").PropType<any>;
|
235
|
-
icon: import("vue").PropType<any>;
|
236
|
-
maskClosable: {
|
237
|
-
type: BooleanConstructor;
|
238
|
-
default: undefined;
|
239
|
-
};
|
240
|
-
forceRender: {
|
241
|
-
type: BooleanConstructor;
|
242
|
-
default: undefined;
|
243
|
-
};
|
244
|
-
okButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
245
|
-
prefixCls: StringConstructor;
|
246
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
247
|
-
htmlType: {
|
248
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
249
|
-
default: string;
|
250
|
-
};
|
251
|
-
shape: {
|
252
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
253
|
-
};
|
254
|
-
size: {
|
255
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
256
|
-
};
|
257
|
-
loading: {
|
258
|
-
type: import("vue").PropType<boolean | {
|
259
|
-
delay?: number | undefined;
|
260
|
-
}>;
|
261
|
-
default: () => boolean | {
|
262
|
-
delay?: number | undefined;
|
263
|
-
};
|
264
|
-
};
|
265
|
-
disabled: {
|
266
|
-
type: BooleanConstructor;
|
267
|
-
default: undefined;
|
268
|
-
};
|
269
|
-
ghost: {
|
270
|
-
type: BooleanConstructor;
|
271
|
-
default: undefined;
|
272
|
-
};
|
273
|
-
block: {
|
274
|
-
type: BooleanConstructor;
|
275
|
-
default: undefined;
|
276
|
-
};
|
277
|
-
danger: {
|
278
|
-
type: BooleanConstructor;
|
279
|
-
default: undefined;
|
280
|
-
};
|
281
|
-
icon: import("vue").PropType<any>;
|
282
|
-
href: StringConstructor;
|
283
|
-
target: StringConstructor;
|
284
|
-
title: StringConstructor;
|
285
|
-
onClick: {
|
286
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
287
|
-
};
|
288
|
-
onMousedown: {
|
289
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
290
|
-
};
|
291
|
-
}>>>;
|
292
|
-
cancelButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
293
|
-
prefixCls: StringConstructor;
|
294
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
295
|
-
htmlType: {
|
296
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
297
|
-
default: string;
|
298
|
-
};
|
299
|
-
shape: {
|
300
|
-
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
301
|
-
};
|
302
|
-
size: {
|
303
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
304
|
-
};
|
305
|
-
loading: {
|
306
|
-
type: import("vue").PropType<boolean | {
|
307
|
-
delay?: number | undefined;
|
308
|
-
}>;
|
309
|
-
default: () => boolean | {
|
310
|
-
delay?: number | undefined;
|
311
|
-
};
|
312
|
-
};
|
313
|
-
disabled: {
|
314
|
-
type: BooleanConstructor;
|
315
|
-
default: undefined;
|
316
|
-
};
|
317
|
-
ghost: {
|
318
|
-
type: BooleanConstructor;
|
319
|
-
default: undefined;
|
320
|
-
};
|
321
|
-
block: {
|
322
|
-
type: BooleanConstructor;
|
323
|
-
default: undefined;
|
324
|
-
};
|
325
|
-
danger: {
|
326
|
-
type: BooleanConstructor;
|
327
|
-
default: undefined;
|
328
|
-
};
|
329
|
-
icon: import("vue").PropType<any>;
|
330
|
-
href: StringConstructor;
|
331
|
-
target: StringConstructor;
|
332
|
-
title: StringConstructor;
|
333
|
-
onClick: {
|
334
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
335
|
-
};
|
336
|
-
onMousedown: {
|
337
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
338
|
-
};
|
339
|
-
}>>>;
|
340
|
-
destroyOnClose: {
|
341
|
-
type: BooleanConstructor;
|
342
|
-
default: undefined;
|
343
|
-
};
|
344
|
-
wrapClassName: StringConstructor;
|
345
|
-
maskTransitionName: StringConstructor;
|
346
|
-
transitionName: StringConstructor;
|
347
|
-
getContainer: {
|
348
|
-
type: import("vue").PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
349
|
-
default: undefined;
|
350
|
-
};
|
351
|
-
zIndex: NumberConstructor;
|
352
|
-
bodyStyle: {
|
353
|
-
type: import("vue").PropType<import("vue").CSSProperties>;
|
354
|
-
default: import("vue").CSSProperties;
|
355
|
-
};
|
356
|
-
maskStyle: {
|
357
|
-
type: import("vue").PropType<import("vue").CSSProperties>;
|
358
|
-
default: import("vue").CSSProperties;
|
359
|
-
};
|
360
|
-
mask: {
|
361
|
-
type: BooleanConstructor;
|
362
|
-
default: undefined;
|
363
|
-
};
|
364
|
-
keyboard: {
|
365
|
-
type: BooleanConstructor;
|
366
|
-
default: undefined;
|
367
|
-
};
|
368
|
-
wrapProps: ObjectConstructor;
|
369
|
-
focusTriggerAfterClose: {
|
370
|
-
type: BooleanConstructor;
|
371
|
-
default: undefined;
|
372
|
-
};
|
373
|
-
modalRender: import("vue").PropType<(arg: {
|
374
|
-
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
375
|
-
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
376
|
-
}>>, {
|
377
|
-
mask: boolean;
|
378
|
-
visible: boolean;
|
379
|
-
kgShowFullscreenButton: boolean;
|
380
|
-
kgShowCancelButton: boolean;
|
381
|
-
kgShowOkButton: boolean;
|
382
|
-
kgFullHeight: boolean;
|
383
|
-
confirmLoading: boolean;
|
384
|
-
closable: boolean;
|
385
|
-
centered: boolean;
|
386
|
-
maskClosable: boolean;
|
387
|
-
forceRender: boolean;
|
388
|
-
destroyOnClose: boolean;
|
389
|
-
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
390
|
-
bodyStyle: import("vue").CSSProperties;
|
391
|
-
maskStyle: import("vue").CSSProperties;
|
392
|
-
keyboard: boolean;
|
393
|
-
focusTriggerAfterClose: boolean;
|
394
|
-
}>;
|
395
|
-
export default _default;
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
import './KgModal.Close.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 是否显示全屏按钮. */
|
5
|
-
kgShowFullscreenButton: {
|
6
|
-
type: PropType<boolean>;
|
7
|
-
default: boolean;
|
8
|
-
};
|
9
|
-
/** 是否显示关闭按钮. */
|
10
|
-
kgShowCloseButton: {
|
11
|
-
type: PropType<boolean>;
|
12
|
-
default: boolean;
|
13
|
-
};
|
14
|
-
};
|
15
|
-
declare const _default: import("vue").DefineComponent<{
|
16
|
-
/** 是否显示全屏按钮. */
|
17
|
-
kgShowFullscreenButton: {
|
18
|
-
type: PropType<boolean>;
|
19
|
-
default: boolean;
|
20
|
-
};
|
21
|
-
/** 是否显示关闭按钮. */
|
22
|
-
kgShowCloseButton: {
|
23
|
-
type: PropType<boolean>;
|
24
|
-
default: boolean;
|
25
|
-
};
|
26
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
27
|
-
/** 是否显示全屏按钮. */
|
28
|
-
kgShowFullscreenButton: {
|
29
|
-
type: PropType<boolean>;
|
30
|
-
default: boolean;
|
31
|
-
};
|
32
|
-
/** 是否显示关闭按钮. */
|
33
|
-
kgShowCloseButton: {
|
34
|
-
type: PropType<boolean>;
|
35
|
-
default: boolean;
|
36
|
-
};
|
37
|
-
}>>, {
|
38
|
-
kgShowFullscreenButton: boolean;
|
39
|
-
kgShowCloseButton: boolean;
|
40
|
-
}>;
|
41
|
-
export default _default;
|