@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,83 +0,0 @@
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
2
|
-
import { ComputedRef } from 'vue';
|
3
|
-
import { IKgEventCb } from '../../consts';
|
4
|
-
import { IKgTableRow } from '../KgTable';
|
5
|
-
/**
|
6
|
-
* 事件类型.
|
7
|
-
* 'selectChange': 下拉列表选中某个(可能多个)数据
|
8
|
-
* 'lookupBeforeOpen': 查找弹窗打开之前
|
9
|
-
* 'lookupBeforeOk': 查找弹窗点击确定之前. 如果返回 true 则查找弹窗不会触发 kgOk 事件
|
10
|
-
* 'lookupOk': 查找弹窗点击确定
|
11
|
-
*/
|
12
|
-
export declare type IKgFormEvent = 'selectChange' | 'lookupBeforeOpen' | 'lookupBeforeOk' | 'lookupOk';
|
13
|
-
/** 事件监听函数: selectChange. */
|
14
|
-
export declare type IKgFormSelectChangeCbParam = {
|
15
|
-
/** 变量. */
|
16
|
-
var_nam: string;
|
17
|
-
/** 选中的一个或者多个数据对象. */
|
18
|
-
rows: any | null;
|
19
|
-
};
|
20
|
-
export declare type IKgFormSelectChangeCb = ((param: IKgFormSelectChangeCbParam) => Promise<boolean>) & IKgEventCb;
|
21
|
-
/** 事件监听函数: lookupBeforeOpen. */
|
22
|
-
export declare type IKgFormLookupBeforeOpenCbParam = {
|
23
|
-
/** 变量. */
|
24
|
-
var_nam: string;
|
25
|
-
/** 查找弹出的界面标识. */
|
26
|
-
lookupFormID: string;
|
27
|
-
};
|
28
|
-
export declare type IKgFormLookupBeforeOpenCb = ((param: IKgFormLookupBeforeOpenCbParam) => Promise<boolean>) & IKgEventCb;
|
29
|
-
/** 事件监听函数: lookupBeforeOk. */
|
30
|
-
export declare type IKgFormLookupBeforeOkCbParam = {
|
31
|
-
/** 变量. */
|
32
|
-
var_nam: string;
|
33
|
-
/** 是否多选, 否则单选. */
|
34
|
-
isMultiple: boolean;
|
35
|
-
/** 单选时, 对应的一个值. */
|
36
|
-
value?: any | null;
|
37
|
-
/** 单选时, 对应的多个值. */
|
38
|
-
values?: Array<any> | null;
|
39
|
-
/** 单选时, 勾选的那一行. */
|
40
|
-
row?: IKgTableRow | null;
|
41
|
-
/** 多选时, 勾选的所有行. */
|
42
|
-
rows?: Array<IKgTableRow> | null;
|
43
|
-
};
|
44
|
-
export declare type IKgFormLookupBeforeOkCb = ((param: IKgFormLookupBeforeOkCbParam) => Promise<boolean>) & IKgEventCb;
|
45
|
-
/** 事件监听函数: lookupOk. */
|
46
|
-
export declare type IKgFormLookupOkCbParam = {
|
47
|
-
/** 变量. */
|
48
|
-
var_nam: string;
|
49
|
-
/** 表单数据对象. */
|
50
|
-
model: ComputedRef<Record<string, any>>;
|
51
|
-
/** 是否多选, 否则单选. */
|
52
|
-
isMultiple: boolean;
|
53
|
-
/** 单选时, 对应的一个值. */
|
54
|
-
value?: any | null;
|
55
|
-
/** 多选时, 对应的多个值. */
|
56
|
-
values?: Array<any> | null;
|
57
|
-
/** 单选时, 勾选的那一行. */
|
58
|
-
row?: IKgTableRow | null;
|
59
|
-
/** 多选时, 勾选的所有行. */
|
60
|
-
rows?: Array<IKgTableRow> | null;
|
61
|
-
};
|
62
|
-
export declare type IKgFormLookupOkCb = ((param: IKgFormLookupOkCbParam) => Promise<boolean>) & IKgEventCb;
|
63
|
-
export declare type IKgFormCbParam = IKgFormLookupBeforeOpenCbParam | IKgFormLookupBeforeOkCbParam | IKgFormLookupOkCbParam | IKgFormSelectChangeCbParam;
|
64
|
-
export declare type IKgFormCb = IKgFormLookupBeforeOpenCb | IKgFormLookupBeforeOkCb | IKgFormLookupOkCb | IKgFormSelectChangeCb;
|
65
|
-
export interface IKgFormState {
|
66
|
-
selectChangeListenersMap: Map<string, Array<IKgFormSelectChangeCb>>;
|
67
|
-
lookupBeforeOpenListenersMap: Map<string, Array<IKgFormLookupBeforeOpenCb>>;
|
68
|
-
lookupBeforeOkListenersMap: Map<string, Array<IKgFormLookupBeforeOkCb>>;
|
69
|
-
lookupOkListenersMap: Map<string, Array<IKgFormLookupOkCb>>;
|
70
|
-
}
|
71
|
-
export declare type IKgFormStoreDefinition = StoreDefinition<'KgForm', IKgFormState, {}, {
|
72
|
-
addEventListener(frm_id: string, event: IKgFormEvent, cb: IKgFormCb): void;
|
73
|
-
removeEventListener(frm_id: string, event: IKgFormEvent, cb?: IKgFormCb): void;
|
74
|
-
/**
|
75
|
-
* 触发事件.
|
76
|
-
* @param frm_id 界面标识.
|
77
|
-
* @param event 事件名称.
|
78
|
-
* @param param 数据.
|
79
|
-
*/
|
80
|
-
emit(frm_id: string, event: IKgFormEvent, param?: IKgFormCbParam | null): Promise<boolean>;
|
81
|
-
}>;
|
82
|
-
export declare type IKgFormStore = ReturnType<IKgFormStoreDefinition>;
|
83
|
-
export declare const useKgFormStore: () => IKgFormStoreDefinition;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
2
|
-
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
3
|
-
/**
|
4
|
-
* 依赖注入表单数据对象.
|
5
|
-
* 在表单组件(KgForm)的任何下级组件中, 都可以通过注入获取表单数据对象.
|
6
|
-
*/
|
7
|
-
export declare const DI_FORM_MODEL: InjectionKey<ComputedRef<Record<string, any>>>;
|
8
|
-
/** 依赖注入 formRef. */
|
9
|
-
export declare const DI_FORM_REF: InjectionKey<Ref<FormInstance | null>>;
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import { KG_FORM_CONTEXT } from '../../consts';
|
2
|
-
import './KgForm.Item.less';
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
4
|
-
kgVarName: {
|
5
|
-
type: import("vue").PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
kgContext: {
|
9
|
-
type: import("vue").PropType<string>;
|
10
|
-
default: KG_FORM_CONTEXT;
|
11
|
-
};
|
12
|
-
kgDisabled: {
|
13
|
-
type: import("vue").PropType<boolean>;
|
14
|
-
default: undefined;
|
15
|
-
};
|
16
|
-
kgSpan: import("vue").PropType<number>;
|
17
|
-
kgPlaceholder: import("vue").PropType<string>;
|
18
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
19
|
-
kgShowLabel: {
|
20
|
-
type: import("vue").PropType<boolean>;
|
21
|
-
default: boolean;
|
22
|
-
};
|
23
|
-
kgAllowClear: {
|
24
|
-
type: import("vue").PropType<boolean>;
|
25
|
-
default: boolean;
|
26
|
-
};
|
27
|
-
kgShowTime: {
|
28
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
29
|
-
default: undefined;
|
30
|
-
};
|
31
|
-
kgPicker: {
|
32
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
33
|
-
default: undefined;
|
34
|
-
};
|
35
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
36
|
-
value: import("vue").PropType<import("./index.vm").IKgFormItemValue>;
|
37
|
-
'onUpdate:value': import("vue").PropType<(value: import("./index.vm").IKgFormItemValue | null) => void>;
|
38
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
39
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
40
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
41
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
42
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
43
|
-
}, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "kgSelectChange")[], "kgSubmit" | "kgChange" | "kgSelectChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
44
|
-
kgVarName: {
|
45
|
-
type: import("vue").PropType<string>;
|
46
|
-
required: boolean;
|
47
|
-
};
|
48
|
-
kgContext: {
|
49
|
-
type: import("vue").PropType<string>;
|
50
|
-
default: KG_FORM_CONTEXT;
|
51
|
-
};
|
52
|
-
kgDisabled: {
|
53
|
-
type: import("vue").PropType<boolean>;
|
54
|
-
default: undefined;
|
55
|
-
};
|
56
|
-
kgSpan: import("vue").PropType<number>;
|
57
|
-
kgPlaceholder: import("vue").PropType<string>;
|
58
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
59
|
-
kgShowLabel: {
|
60
|
-
type: import("vue").PropType<boolean>;
|
61
|
-
default: boolean;
|
62
|
-
};
|
63
|
-
kgAllowClear: {
|
64
|
-
type: import("vue").PropType<boolean>;
|
65
|
-
default: boolean;
|
66
|
-
};
|
67
|
-
kgShowTime: {
|
68
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
69
|
-
default: undefined;
|
70
|
-
};
|
71
|
-
kgPicker: {
|
72
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
73
|
-
default: undefined;
|
74
|
-
};
|
75
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
76
|
-
value: import("vue").PropType<import("./index.vm").IKgFormItemValue>;
|
77
|
-
'onUpdate:value': import("vue").PropType<(value: import("./index.vm").IKgFormItemValue | null) => void>;
|
78
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
79
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
80
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
81
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
82
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
83
|
-
}>> & {
|
84
|
-
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
85
|
-
onKgChange?: ((...args: any[]) => any) | undefined;
|
86
|
-
onKgSelectChange?: ((...args: any[]) => any) | undefined;
|
87
|
-
}, {
|
88
|
-
kgDisabled: boolean;
|
89
|
-
kgContext: string;
|
90
|
-
kgShowLabel: boolean;
|
91
|
-
kgAllowClear: boolean;
|
92
|
-
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
93
|
-
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
94
|
-
}>;
|
95
|
-
export default _default;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Rule } from 'ant-design-vue/es/form';
|
2
|
-
import { ComputedRef, Ref } from 'vue';
|
3
|
-
import { IKgFormItemProps } from './index.vm';
|
4
|
-
export declare type IUseRules = {
|
5
|
-
/** 表单验证规则. */
|
6
|
-
rules: Ref<Rule[]>;
|
7
|
-
/** 正在计算表单验证规则. */
|
8
|
-
isRulesLoading: Ref<boolean>;
|
9
|
-
};
|
10
|
-
export declare function _useRules(props: IKgFormItemProps): IUseRules;
|
11
|
-
export declare type IUseKgFormItem<T = Record<string, any>> = {
|
12
|
-
/** 控件类型. */
|
13
|
-
controlType: ComputedRef<string | null | undefined>;
|
14
|
-
/** 控件配置参数. */
|
15
|
-
controlProperties: ComputedRef<T>;
|
16
|
-
};
|
17
|
-
export declare function useKgFormItem<T = Record<string, any>>(props?: IKgFormItemProps): IUseKgFormItem<T>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgForm.Item.Addon.Lookup.Modal.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
visible: PropType<boolean>;
|
5
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
6
|
-
};
|
7
|
-
export declare type IProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
9
|
-
visible: PropType<boolean>;
|
10
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
11
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
12
|
-
visible: PropType<boolean>;
|
13
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
14
|
-
}>> & {
|
15
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
16
|
-
}, {}>;
|
17
|
-
export default _default;
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgForm.Item.Addon.Lookup.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 是否禁用. */
|
5
|
-
kgDisabled: {
|
6
|
-
type: PropType<boolean>;
|
7
|
-
default: undefined;
|
8
|
-
};
|
9
|
-
/** 查找配置ID. */
|
10
|
-
kgLookupID: PropType<string>;
|
11
|
-
};
|
12
|
-
export declare type IProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
13
|
-
declare const _default: import("vue").DefineComponent<{
|
14
|
-
/** 是否禁用. */
|
15
|
-
kgDisabled: {
|
16
|
-
type: PropType<boolean>;
|
17
|
-
default: undefined;
|
18
|
-
};
|
19
|
-
/** 查找配置ID. */
|
20
|
-
kgLookupID: PropType<string>;
|
21
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
22
|
-
/** 是否禁用. */
|
23
|
-
kgDisabled: {
|
24
|
-
type: PropType<boolean>;
|
25
|
-
default: undefined;
|
26
|
-
};
|
27
|
-
/** 查找配置ID. */
|
28
|
-
kgLookupID: PropType<string>;
|
29
|
-
}>>, {
|
30
|
-
kgDisabled: boolean;
|
31
|
-
}>;
|
32
|
-
export default _default;
|
@@ -1,94 +0,0 @@
|
|
1
|
-
import '../KgForm.Item.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
3
|
-
kgVarName: {
|
4
|
-
type: import("vue").PropType<string>;
|
5
|
-
required: boolean;
|
6
|
-
};
|
7
|
-
kgContext: {
|
8
|
-
type: import("vue").PropType<string>;
|
9
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
10
|
-
};
|
11
|
-
kgDisabled: {
|
12
|
-
type: import("vue").PropType<boolean>;
|
13
|
-
default: undefined;
|
14
|
-
};
|
15
|
-
kgSpan: import("vue").PropType<number>;
|
16
|
-
kgPlaceholder: import("vue").PropType<string>;
|
17
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
18
|
-
kgShowLabel: {
|
19
|
-
type: import("vue").PropType<boolean>;
|
20
|
-
default: boolean;
|
21
|
-
};
|
22
|
-
kgAllowClear: {
|
23
|
-
type: import("vue").PropType<boolean>;
|
24
|
-
default: boolean;
|
25
|
-
};
|
26
|
-
kgShowTime: {
|
27
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
28
|
-
default: undefined;
|
29
|
-
};
|
30
|
-
kgPicker: {
|
31
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
32
|
-
default: undefined;
|
33
|
-
};
|
34
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
35
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
36
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
37
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
38
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
39
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
40
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
41
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
42
|
-
}, () => null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
43
|
-
kgVarName: {
|
44
|
-
type: import("vue").PropType<string>;
|
45
|
-
required: boolean;
|
46
|
-
};
|
47
|
-
kgContext: {
|
48
|
-
type: import("vue").PropType<string>;
|
49
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
50
|
-
};
|
51
|
-
kgDisabled: {
|
52
|
-
type: import("vue").PropType<boolean>;
|
53
|
-
default: undefined;
|
54
|
-
};
|
55
|
-
kgSpan: import("vue").PropType<number>;
|
56
|
-
kgPlaceholder: import("vue").PropType<string>;
|
57
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
58
|
-
kgShowLabel: {
|
59
|
-
type: import("vue").PropType<boolean>;
|
60
|
-
default: boolean;
|
61
|
-
};
|
62
|
-
kgAllowClear: {
|
63
|
-
type: import("vue").PropType<boolean>;
|
64
|
-
default: boolean;
|
65
|
-
};
|
66
|
-
kgShowTime: {
|
67
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
68
|
-
default: undefined;
|
69
|
-
};
|
70
|
-
kgPicker: {
|
71
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
72
|
-
default: undefined;
|
73
|
-
};
|
74
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
75
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
76
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
77
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
78
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
79
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
80
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
81
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
82
|
-
}>> & {
|
83
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
84
|
-
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
85
|
-
onKgChange?: ((...args: any[]) => any) | undefined;
|
86
|
-
}, {
|
87
|
-
kgDisabled: boolean;
|
88
|
-
kgContext: string;
|
89
|
-
kgShowLabel: boolean;
|
90
|
-
kgAllowClear: boolean;
|
91
|
-
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
92
|
-
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
93
|
-
}>;
|
94
|
-
export default _default;
|
@@ -1,96 +0,0 @@
|
|
1
|
-
import '../KgForm.Item.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
3
|
-
kgVarName: {
|
4
|
-
type: import("vue").PropType<string>;
|
5
|
-
required: boolean;
|
6
|
-
};
|
7
|
-
kgContext: {
|
8
|
-
type: import("vue").PropType<string>;
|
9
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
10
|
-
};
|
11
|
-
kgDisabled: {
|
12
|
-
type: import("vue").PropType<boolean>;
|
13
|
-
default: undefined;
|
14
|
-
};
|
15
|
-
kgSpan: import("vue").PropType<number>;
|
16
|
-
kgPlaceholder: import("vue").PropType<string>;
|
17
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
18
|
-
kgShowLabel: {
|
19
|
-
type: import("vue").PropType<boolean>;
|
20
|
-
default: boolean;
|
21
|
-
};
|
22
|
-
kgAllowClear: {
|
23
|
-
type: import("vue").PropType<boolean>;
|
24
|
-
default: boolean;
|
25
|
-
};
|
26
|
-
kgShowTime: {
|
27
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
28
|
-
default: undefined;
|
29
|
-
};
|
30
|
-
kgPicker: {
|
31
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
32
|
-
default: undefined;
|
33
|
-
};
|
34
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
35
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
36
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
37
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
38
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
39
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
40
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
41
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
42
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange")[], "kgSubmit" | "kgChange" | "update:value" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
43
|
-
kgVarName: {
|
44
|
-
type: import("vue").PropType<string>;
|
45
|
-
required: boolean;
|
46
|
-
};
|
47
|
-
kgContext: {
|
48
|
-
type: import("vue").PropType<string>;
|
49
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
50
|
-
};
|
51
|
-
kgDisabled: {
|
52
|
-
type: import("vue").PropType<boolean>;
|
53
|
-
default: undefined;
|
54
|
-
};
|
55
|
-
kgSpan: import("vue").PropType<number>;
|
56
|
-
kgPlaceholder: import("vue").PropType<string>;
|
57
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
58
|
-
kgShowLabel: {
|
59
|
-
type: import("vue").PropType<boolean>;
|
60
|
-
default: boolean;
|
61
|
-
};
|
62
|
-
kgAllowClear: {
|
63
|
-
type: import("vue").PropType<boolean>;
|
64
|
-
default: boolean;
|
65
|
-
};
|
66
|
-
kgShowTime: {
|
67
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
68
|
-
default: undefined;
|
69
|
-
};
|
70
|
-
kgPicker: {
|
71
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
72
|
-
default: undefined;
|
73
|
-
};
|
74
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
75
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
76
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
77
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
78
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
79
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
80
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
81
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
82
|
-
}>> & {
|
83
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
84
|
-
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
85
|
-
onKgChange?: ((...args: any[]) => any) | undefined;
|
86
|
-
onKgCheckboxGroupDatasChange?: ((...args: any[]) => any) | undefined;
|
87
|
-
onKgCheckboxGroupChange?: ((...args: any[]) => any) | undefined;
|
88
|
-
}, {
|
89
|
-
kgDisabled: boolean;
|
90
|
-
kgContext: string;
|
91
|
-
kgShowLabel: boolean;
|
92
|
-
kgAllowClear: boolean;
|
93
|
-
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
94
|
-
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
95
|
-
}>;
|
96
|
-
export default _default;
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import dayjs from 'dayjs';
|
2
|
-
import '../KgForm.Item.less';
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
4
|
-
kgVarName: {
|
5
|
-
type: import("vue").PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
kgContext: {
|
9
|
-
type: import("vue").PropType<string>;
|
10
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
11
|
-
};
|
12
|
-
kgDisabled: {
|
13
|
-
type: import("vue").PropType<boolean>;
|
14
|
-
default: undefined;
|
15
|
-
};
|
16
|
-
kgSpan: import("vue").PropType<number>;
|
17
|
-
kgPlaceholder: import("vue").PropType<string>;
|
18
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
19
|
-
kgShowLabel: {
|
20
|
-
type: import("vue").PropType<boolean>;
|
21
|
-
default: boolean;
|
22
|
-
};
|
23
|
-
kgAllowClear: {
|
24
|
-
type: import("vue").PropType<boolean>;
|
25
|
-
default: boolean;
|
26
|
-
};
|
27
|
-
kgShowTime: {
|
28
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
29
|
-
default: undefined;
|
30
|
-
};
|
31
|
-
kgPicker: {
|
32
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
33
|
-
default: undefined;
|
34
|
-
};
|
35
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
36
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
37
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
38
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
39
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
40
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
41
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
42
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
43
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
44
|
-
kgVarName: {
|
45
|
-
type: import("vue").PropType<string>;
|
46
|
-
required: boolean;
|
47
|
-
};
|
48
|
-
kgContext: {
|
49
|
-
type: import("vue").PropType<string>;
|
50
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
51
|
-
};
|
52
|
-
kgDisabled: {
|
53
|
-
type: import("vue").PropType<boolean>;
|
54
|
-
default: undefined;
|
55
|
-
};
|
56
|
-
kgSpan: import("vue").PropType<number>;
|
57
|
-
kgPlaceholder: import("vue").PropType<string>;
|
58
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
59
|
-
kgShowLabel: {
|
60
|
-
type: import("vue").PropType<boolean>;
|
61
|
-
default: boolean;
|
62
|
-
};
|
63
|
-
kgAllowClear: {
|
64
|
-
type: import("vue").PropType<boolean>;
|
65
|
-
default: boolean;
|
66
|
-
};
|
67
|
-
kgShowTime: {
|
68
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
69
|
-
default: undefined;
|
70
|
-
};
|
71
|
-
kgPicker: {
|
72
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
73
|
-
default: undefined;
|
74
|
-
};
|
75
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
76
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
77
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
78
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
79
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
80
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
81
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
82
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
83
|
-
}>> & {
|
84
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
85
|
-
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
86
|
-
onKgChange?: ((...args: any[]) => any) | undefined;
|
87
|
-
}, {
|
88
|
-
kgDisabled: boolean;
|
89
|
-
kgContext: string;
|
90
|
-
kgShowLabel: boolean;
|
91
|
-
kgAllowClear: boolean;
|
92
|
-
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>;
|
93
|
-
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
94
|
-
}>;
|
95
|
-
export default _default;
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import dayjs from 'dayjs';
|
2
|
-
import '../KgForm.Item.less';
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
4
|
-
kgVarName: {
|
5
|
-
type: import("vue").PropType<string>;
|
6
|
-
required: boolean;
|
7
|
-
};
|
8
|
-
kgContext: {
|
9
|
-
type: import("vue").PropType<string>;
|
10
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
11
|
-
};
|
12
|
-
kgDisabled: {
|
13
|
-
type: import("vue").PropType<boolean>;
|
14
|
-
default: undefined;
|
15
|
-
};
|
16
|
-
kgSpan: import("vue").PropType<number>;
|
17
|
-
kgPlaceholder: import("vue").PropType<string>;
|
18
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
19
|
-
kgShowLabel: {
|
20
|
-
type: import("vue").PropType<boolean>;
|
21
|
-
default: boolean;
|
22
|
-
};
|
23
|
-
kgAllowClear: {
|
24
|
-
type: import("vue").PropType<boolean>;
|
25
|
-
default: boolean;
|
26
|
-
};
|
27
|
-
kgShowTime: {
|
28
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
29
|
-
default: undefined;
|
30
|
-
};
|
31
|
-
kgPicker: {
|
32
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
33
|
-
default: undefined;
|
34
|
-
};
|
35
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
36
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
37
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
38
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
39
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
40
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
41
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
42
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
43
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
44
|
-
kgVarName: {
|
45
|
-
type: import("vue").PropType<string>;
|
46
|
-
required: boolean;
|
47
|
-
};
|
48
|
-
kgContext: {
|
49
|
-
type: import("vue").PropType<string>;
|
50
|
-
default: import("../../..").KG_FORM_CONTEXT;
|
51
|
-
};
|
52
|
-
kgDisabled: {
|
53
|
-
type: import("vue").PropType<boolean>;
|
54
|
-
default: undefined;
|
55
|
-
};
|
56
|
-
kgSpan: import("vue").PropType<number>;
|
57
|
-
kgPlaceholder: import("vue").PropType<string>;
|
58
|
-
kgMode: import("vue").PropType<"multiple" | "tags">;
|
59
|
-
kgShowLabel: {
|
60
|
-
type: import("vue").PropType<boolean>;
|
61
|
-
default: boolean;
|
62
|
-
};
|
63
|
-
kgAllowClear: {
|
64
|
-
type: import("vue").PropType<boolean>;
|
65
|
-
default: boolean;
|
66
|
-
};
|
67
|
-
kgShowTime: {
|
68
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
69
|
-
default: undefined;
|
70
|
-
};
|
71
|
-
kgPicker: {
|
72
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
73
|
-
default: undefined;
|
74
|
-
};
|
75
|
-
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
76
|
-
value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
77
|
-
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
78
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
79
|
-
onKgChange: import("vue").PropType<(value: any) => void>;
|
80
|
-
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
81
|
-
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
82
|
-
onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
83
|
-
}>> & {
|
84
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
85
|
-
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
86
|
-
onKgChange?: ((...args: any[]) => any) | undefined;
|
87
|
-
}, {
|
88
|
-
kgDisabled: boolean;
|
89
|
-
kgContext: string;
|
90
|
-
kgShowLabel: boolean;
|
91
|
-
kgAllowClear: boolean;
|
92
|
-
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>;
|
93
|
-
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
94
|
-
}>;
|
95
|
-
export default _default;
|