@kengic/vue 0.16.7-beta.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +21 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +3476 -2938
- package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +24 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +15 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +31 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +8 -0
- package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +30 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +15 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +37 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +19 -0
- package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +8 -0
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +52 -0
- package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +6 -0
- package/dist/src/apis/WMS/index.d.ts +2 -0
- package/dist/src/apis/WMS/models.d.ts +728 -0
- package/dist/src/apis/api.d.ts +1 -0
- package/dist/src/apis/def.d.ts +1 -0
- package/dist/src/apis/index.d.ts +2 -0
- package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
- package/dist/src/components/KgAppSelect/index.d.ts +3 -0
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
- package/dist/src/components/KgAppSelect/index.store.d.ts +73 -0
- package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
- package/dist/src/components/KgButton/KgButton.d.ts +34 -0
- package/dist/src/components/KgButton/KgButton.hooks.d.ts +61 -0
- package/dist/src/components/KgButton/KgButton.store.d.ts +89 -0
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +39 -0
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +39 -0
- package/dist/src/components/KgButton/index.d.ts +62 -0
- package/dist/src/components/KgForm/KgForm.d.ts +414 -0
- package/dist/src/components/KgForm/index.d.ts +604 -0
- package/dist/src/components/KgForm/index.hooks.d.ts +42 -0
- package/dist/src/components/KgForm/index.store.d.ts +107 -0
- package/dist/src/components/KgForm/index.vm.d.ts +9 -0
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +100 -0
- package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +17 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +17 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +32 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +103 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +102 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +100 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +100 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +104 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +27 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +99 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +99 -0
- package/dist/src/components/KgForm.Item/index.d.ts +2 -0
- package/dist/src/components/KgForm.Item/index.vm.d.ts +104 -0
- package/dist/src/components/KgModal/KgModal.d.ts +395 -0
- package/dist/src/components/KgModal/components/KgModal.Close.d.ts +41 -0
- package/dist/src/components/KgModal/index.d.ts +2 -0
- package/dist/src/components/KgModal/index.vm.d.ts +194 -0
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
- package/dist/src/components/KgProgressA/index.d.ts +1 -0
- package/dist/src/components/KgResizable/KgResizable.d.ts +143 -0
- package/dist/src/components/KgResizable/index.d.ts +1 -0
- package/dist/src/components/KgSearch/KgSearch.d.ts +42 -0
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +39 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +22 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +8 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +24 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +7 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +32 -0
- package/dist/src/components/KgSearch/index.d.ts +3 -0
- package/dist/src/components/KgSearch/index.hooks.d.ts +41 -0
- package/dist/src/components/KgSearch/index.store.d.ts +86 -0
- package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +41 -0
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +20 -0
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +28 -0
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +82 -0
- package/dist/src/components/KgSubmit/index.d.ts +4 -0
- package/dist/src/components/KgSubmit/index.hooks.d.ts +74 -0
- package/dist/src/components/KgSubmit/index.store.d.ts +130 -0
- package/dist/src/components/KgSubmit/index.vm.d.ts +10 -0
- package/dist/src/components/KgTable/KgTable.d.ts +39 -0
- package/dist/src/components/KgTable/KgTable.hooks.d.ts +43 -0
- package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +61 -0
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +58 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +22 -0
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +14 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +22 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +21 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +24 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +23 -0
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +33 -0
- package/dist/src/components/KgTable/index.d.ts +4 -0
- package/dist/src/components/KgTable/index.hooks.d.ts +84 -0
- package/dist/src/components/KgTable/index.store.d.ts +157 -0
- package/dist/src/components/KgTable/index.vm.d.ts +66 -0
- package/dist/src/components/KgVar/KgVar.d.ts +28 -0
- package/dist/src/components/KgVar/index.d.ts +4 -0
- package/dist/src/components/KgVar/index.hooks.d.ts +242 -0
- package/dist/src/components/KgVar/index.store.d.ts +315 -0
- package/dist/src/components/KgVar/index.store.service.d.ts +21 -0
- package/dist/src/components/KgVar/index.vm.d.ts +47 -0
- package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +24 -0
- package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +17 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +25 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +29 -0
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +22 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +25 -0
- package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +22 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +33 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.data.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +3 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +3 -0
- package/dist/src/components/KgVarConfig/index.d.ts +2 -0
- package/dist/src/components/KgVarConfig/index.store.d.ts +20 -0
- package/dist/src/components/KgVarConfig/index.vm.d.ts +3 -0
- package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +38 -0
- package/dist/src/components/KgWarehouse/index.d.ts +4 -0
- package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
- package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
- package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +16 -0
- package/dist/src/components/util.d.ts +14 -0
- package/dist/src/config/index.d.ts +3 -0
- package/dist/src/config/index.hooks.d.ts +43 -0
- package/dist/src/config/index.store.d.ts +192 -0
- package/dist/src/config/setup.d.ts +45 -0
- package/dist/src/consts/i18n/en.d.ts +228 -0
- package/dist/src/consts/i18n/index.d.ts +2 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +227 -0
- package/dist/src/consts/index.d.ts +253 -0
- package/dist/src/consts/index.vm.d.ts +170 -0
- package/dist/src/consts/injection-keys.const.d.ts +9 -0
- package/dist/src/helpers/ant-design-vue.d.ts +316 -0
- package/dist/src/helpers/tsx.helper.d.ts +13 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +8 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Child.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +29 -0
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +26 -0
- package/dist/src/pages/KgPageDda/index.const.d.ts +11 -0
- package/dist/src/pages/KgPageDda/index.d.ts +5 -0
- package/dist/src/pages/index.d.ts +2 -0
- package/dist/src/services/http-client.d.ts +46 -0
- package/dist/src/services/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts +6 -0
- package/dist/src/utils/kg-auth.util.d.ts +26 -0
- package/dist/src/utils/kg-dom.util.d.ts +12 -0
- package/dist/src/utils/kg-logger.util.d.ts +65 -0
- package/dist/src/utils/kg-route.util.d.ts +54 -0
- package/dist/src/utils/kg-var.util.d.ts +36 -0
- package/dist/src/utils/kg.util.d.ts +114 -0
- package/package.json +6 -5
@@ -0,0 +1,100 @@
|
|
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("../../../consts").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: undefined;
|
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: {
|
37
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
38
|
+
default: undefined;
|
39
|
+
};
|
40
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
41
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
42
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
43
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
44
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
45
|
+
}, () => 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<{
|
46
|
+
kgVarName: {
|
47
|
+
type: import("vue").PropType<string>;
|
48
|
+
required: boolean;
|
49
|
+
};
|
50
|
+
kgContext: {
|
51
|
+
type: import("vue").PropType<string>;
|
52
|
+
default: import("../../../consts").KG_FORM_CONTEXT;
|
53
|
+
};
|
54
|
+
kgDisabled: {
|
55
|
+
type: import("vue").PropType<boolean>;
|
56
|
+
default: undefined;
|
57
|
+
};
|
58
|
+
kgSpan: import("vue").PropType<number>;
|
59
|
+
kgPlaceholder: import("vue").PropType<string>;
|
60
|
+
kgMode: import("vue").PropType<"multiple" | "tags">;
|
61
|
+
kgShowLabel: {
|
62
|
+
type: import("vue").PropType<boolean>;
|
63
|
+
default: boolean;
|
64
|
+
};
|
65
|
+
kgAllowClear: {
|
66
|
+
type: import("vue").PropType<boolean>;
|
67
|
+
default: undefined;
|
68
|
+
};
|
69
|
+
kgShowTime: {
|
70
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
71
|
+
default: undefined;
|
72
|
+
};
|
73
|
+
kgPicker: {
|
74
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
75
|
+
default: undefined;
|
76
|
+
};
|
77
|
+
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
78
|
+
value: {
|
79
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
80
|
+
default: undefined;
|
81
|
+
};
|
82
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
83
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
84
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
85
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
86
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
87
|
+
}>> & {
|
88
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
89
|
+
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
90
|
+
onKgChange?: ((...args: any[]) => any) | undefined;
|
91
|
+
}, {
|
92
|
+
value: import("../index.vm").IKgFormItemValue;
|
93
|
+
kgDisabled: boolean;
|
94
|
+
kgContext: string;
|
95
|
+
kgShowLabel: boolean;
|
96
|
+
kgAllowClear: boolean;
|
97
|
+
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>;
|
98
|
+
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
99
|
+
}>;
|
100
|
+
export default _default;
|
@@ -0,0 +1,99 @@
|
|
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: undefined;
|
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: {
|
36
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
40
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
41
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
42
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
43
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
44
|
+
}, () => 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<{
|
45
|
+
kgVarName: {
|
46
|
+
type: import("vue").PropType<string>;
|
47
|
+
required: boolean;
|
48
|
+
};
|
49
|
+
kgContext: {
|
50
|
+
type: import("vue").PropType<string>;
|
51
|
+
default: import("../../..").KG_FORM_CONTEXT;
|
52
|
+
};
|
53
|
+
kgDisabled: {
|
54
|
+
type: import("vue").PropType<boolean>;
|
55
|
+
default: undefined;
|
56
|
+
};
|
57
|
+
kgSpan: import("vue").PropType<number>;
|
58
|
+
kgPlaceholder: import("vue").PropType<string>;
|
59
|
+
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
|
+
kgShowLabel: {
|
61
|
+
type: import("vue").PropType<boolean>;
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
kgAllowClear: {
|
65
|
+
type: import("vue").PropType<boolean>;
|
66
|
+
default: undefined;
|
67
|
+
};
|
68
|
+
kgShowTime: {
|
69
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
70
|
+
default: undefined;
|
71
|
+
};
|
72
|
+
kgPicker: {
|
73
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
74
|
+
default: undefined;
|
75
|
+
};
|
76
|
+
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
77
|
+
value: {
|
78
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
79
|
+
default: undefined;
|
80
|
+
};
|
81
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
82
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
83
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
84
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
85
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
86
|
+
}>> & {
|
87
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
88
|
+
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
89
|
+
onKgChange?: ((...args: any[]) => any) | undefined;
|
90
|
+
}, {
|
91
|
+
value: import("../index.vm").IKgFormItemValue;
|
92
|
+
kgDisabled: boolean;
|
93
|
+
kgContext: string;
|
94
|
+
kgShowLabel: boolean;
|
95
|
+
kgAllowClear: boolean;
|
96
|
+
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
97
|
+
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
98
|
+
}>;
|
99
|
+
export default _default;
|
@@ -0,0 +1,99 @@
|
|
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: undefined;
|
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: {
|
36
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
40
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
41
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
42
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
43
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
44
|
+
}, () => 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<{
|
45
|
+
kgVarName: {
|
46
|
+
type: import("vue").PropType<string>;
|
47
|
+
required: boolean;
|
48
|
+
};
|
49
|
+
kgContext: {
|
50
|
+
type: import("vue").PropType<string>;
|
51
|
+
default: import("../../..").KG_FORM_CONTEXT;
|
52
|
+
};
|
53
|
+
kgDisabled: {
|
54
|
+
type: import("vue").PropType<boolean>;
|
55
|
+
default: undefined;
|
56
|
+
};
|
57
|
+
kgSpan: import("vue").PropType<number>;
|
58
|
+
kgPlaceholder: import("vue").PropType<string>;
|
59
|
+
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
|
+
kgShowLabel: {
|
61
|
+
type: import("vue").PropType<boolean>;
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
kgAllowClear: {
|
65
|
+
type: import("vue").PropType<boolean>;
|
66
|
+
default: undefined;
|
67
|
+
};
|
68
|
+
kgShowTime: {
|
69
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
70
|
+
default: undefined;
|
71
|
+
};
|
72
|
+
kgPicker: {
|
73
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
74
|
+
default: undefined;
|
75
|
+
};
|
76
|
+
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
77
|
+
value: {
|
78
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
79
|
+
default: undefined;
|
80
|
+
};
|
81
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
82
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
83
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
84
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
85
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
86
|
+
}>> & {
|
87
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
88
|
+
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
89
|
+
onKgChange?: ((...args: any[]) => any) | undefined;
|
90
|
+
}, {
|
91
|
+
value: import("../index.vm").IKgFormItemValue;
|
92
|
+
kgDisabled: boolean;
|
93
|
+
kgContext: string;
|
94
|
+
kgShowLabel: boolean;
|
95
|
+
kgAllowClear: boolean;
|
96
|
+
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
97
|
+
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
98
|
+
}>;
|
99
|
+
export default _default;
|
@@ -0,0 +1,99 @@
|
|
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("../../../consts").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: undefined;
|
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: {
|
36
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
40
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
41
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
42
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
43
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
44
|
+
}, () => 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<{
|
45
|
+
kgVarName: {
|
46
|
+
type: import("vue").PropType<string>;
|
47
|
+
required: boolean;
|
48
|
+
};
|
49
|
+
kgContext: {
|
50
|
+
type: import("vue").PropType<string>;
|
51
|
+
default: import("../../../consts").KG_FORM_CONTEXT;
|
52
|
+
};
|
53
|
+
kgDisabled: {
|
54
|
+
type: import("vue").PropType<boolean>;
|
55
|
+
default: undefined;
|
56
|
+
};
|
57
|
+
kgSpan: import("vue").PropType<number>;
|
58
|
+
kgPlaceholder: import("vue").PropType<string>;
|
59
|
+
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
|
+
kgShowLabel: {
|
61
|
+
type: import("vue").PropType<boolean>;
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
kgAllowClear: {
|
65
|
+
type: import("vue").PropType<boolean>;
|
66
|
+
default: undefined;
|
67
|
+
};
|
68
|
+
kgShowTime: {
|
69
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
70
|
+
default: undefined;
|
71
|
+
};
|
72
|
+
kgPicker: {
|
73
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
74
|
+
default: undefined;
|
75
|
+
};
|
76
|
+
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
77
|
+
value: {
|
78
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
79
|
+
default: undefined;
|
80
|
+
};
|
81
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
82
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
83
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
84
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
85
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
86
|
+
}>> & {
|
87
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
88
|
+
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
89
|
+
onKgChange?: ((...args: any[]) => any) | undefined;
|
90
|
+
}, {
|
91
|
+
value: import("../index.vm").IKgFormItemValue;
|
92
|
+
kgDisabled: boolean;
|
93
|
+
kgContext: string;
|
94
|
+
kgShowLabel: boolean;
|
95
|
+
kgAllowClear: boolean;
|
96
|
+
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
97
|
+
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
98
|
+
}>;
|
99
|
+
export default _default;
|
@@ -0,0 +1,104 @@
|
|
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: undefined;
|
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: {
|
37
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
38
|
+
default: undefined;
|
39
|
+
};
|
40
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
41
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
42
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
43
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
44
|
+
/** 初始. */
|
45
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
46
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "kgSelectChange" | "update:value" | "kgSelectDatasChange")[], "kgSubmit" | "kgChange" | "kgSelectChange" | "update:value" | "kgSelectDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
47
|
+
kgVarName: {
|
48
|
+
type: import("vue").PropType<string>;
|
49
|
+
required: boolean;
|
50
|
+
};
|
51
|
+
kgContext: {
|
52
|
+
type: import("vue").PropType<string>;
|
53
|
+
default: KG_FORM_CONTEXT;
|
54
|
+
};
|
55
|
+
kgDisabled: {
|
56
|
+
type: import("vue").PropType<boolean>;
|
57
|
+
default: undefined;
|
58
|
+
};
|
59
|
+
kgSpan: import("vue").PropType<number>;
|
60
|
+
kgPlaceholder: import("vue").PropType<string>;
|
61
|
+
kgMode: import("vue").PropType<"multiple" | "tags">;
|
62
|
+
kgShowLabel: {
|
63
|
+
type: import("vue").PropType<boolean>;
|
64
|
+
default: boolean;
|
65
|
+
};
|
66
|
+
kgAllowClear: {
|
67
|
+
type: import("vue").PropType<boolean>;
|
68
|
+
default: undefined;
|
69
|
+
};
|
70
|
+
kgShowTime: {
|
71
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
72
|
+
default: undefined;
|
73
|
+
};
|
74
|
+
kgPicker: {
|
75
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
76
|
+
default: undefined;
|
77
|
+
};
|
78
|
+
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
79
|
+
value: {
|
80
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
81
|
+
default: undefined;
|
82
|
+
};
|
83
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
84
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
85
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
86
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
87
|
+
/** 初始. */
|
88
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
89
|
+
}>> & {
|
90
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
91
|
+
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
92
|
+
onKgChange?: ((...args: any[]) => any) | undefined;
|
93
|
+
onKgSelectChange?: ((...args: any[]) => any) | undefined;
|
94
|
+
onKgSelectDatasChange?: ((...args: any[]) => any) | undefined;
|
95
|
+
}, {
|
96
|
+
value: import("../index.vm").IKgFormItemValue;
|
97
|
+
kgDisabled: boolean;
|
98
|
+
kgContext: string;
|
99
|
+
kgShowLabel: boolean;
|
100
|
+
kgAllowClear: boolean;
|
101
|
+
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
102
|
+
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
103
|
+
}>;
|
104
|
+
export default _default;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
2
|
+
import { VarVariablePossibility } from '../../../apis/WMS/models';
|
3
|
+
export declare type IUseKgFormItemSelect = {
|
4
|
+
/** VarVariablePossibility 配置. */
|
5
|
+
varPossibility: ComputedRef<VarVariablePossibility | null>;
|
6
|
+
/** 作为数据的列. */
|
7
|
+
val_clm: ComputedRef<string>;
|
8
|
+
/** 作为显示的列. */
|
9
|
+
lbl_clm: ComputedRef<string>;
|
10
|
+
/** 查询参数. */
|
11
|
+
commandParameter: ComputedRef<Record<string, any>>;
|
12
|
+
/** 列表数据. */
|
13
|
+
datas: Ref<Array<Record<string, any>>>;
|
14
|
+
/** 是否正在查询列表数据. */
|
15
|
+
isDatasRetrieving: Ref<boolean>;
|
16
|
+
/**
|
17
|
+
* 处理列表数据.
|
18
|
+
* @param datas 原始列表数据.
|
19
|
+
* @return {} 处理后的列表数据.
|
20
|
+
*/
|
21
|
+
transformDatas(datas?: Array<Record<string, any>> | null): Array<Record<string, any>>;
|
22
|
+
/**
|
23
|
+
* 查询列表数据.
|
24
|
+
*/
|
25
|
+
queryDatas(): Promise<void>;
|
26
|
+
};
|
27
|
+
export declare function useKgFormItemSelect(): IUseKgFormItemSelect;
|
@@ -0,0 +1,99 @@
|
|
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: undefined;
|
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: {
|
36
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
40
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
41
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
42
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
43
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
44
|
+
}, () => 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<{
|
45
|
+
kgVarName: {
|
46
|
+
type: import("vue").PropType<string>;
|
47
|
+
required: boolean;
|
48
|
+
};
|
49
|
+
kgContext: {
|
50
|
+
type: import("vue").PropType<string>;
|
51
|
+
default: import("../../..").KG_FORM_CONTEXT;
|
52
|
+
};
|
53
|
+
kgDisabled: {
|
54
|
+
type: import("vue").PropType<boolean>;
|
55
|
+
default: undefined;
|
56
|
+
};
|
57
|
+
kgSpan: import("vue").PropType<number>;
|
58
|
+
kgPlaceholder: import("vue").PropType<string>;
|
59
|
+
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
|
+
kgShowLabel: {
|
61
|
+
type: import("vue").PropType<boolean>;
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
kgAllowClear: {
|
65
|
+
type: import("vue").PropType<boolean>;
|
66
|
+
default: undefined;
|
67
|
+
};
|
68
|
+
kgShowTime: {
|
69
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
70
|
+
default: undefined;
|
71
|
+
};
|
72
|
+
kgPicker: {
|
73
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
74
|
+
default: undefined;
|
75
|
+
};
|
76
|
+
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
77
|
+
value: {
|
78
|
+
type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
|
79
|
+
default: undefined;
|
80
|
+
};
|
81
|
+
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
82
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
83
|
+
onKgChange: import("vue").PropType<(value: any) => void>;
|
84
|
+
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
85
|
+
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
86
|
+
}>> & {
|
87
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
88
|
+
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
89
|
+
onKgChange?: ((...args: any[]) => any) | undefined;
|
90
|
+
}, {
|
91
|
+
value: import("../index.vm").IKgFormItemValue;
|
92
|
+
kgDisabled: boolean;
|
93
|
+
kgContext: string;
|
94
|
+
kgShowLabel: boolean;
|
95
|
+
kgAllowClear: boolean;
|
96
|
+
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
97
|
+
kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
|
98
|
+
}>;
|
99
|
+
export default _default;
|