@kengic/vue 0.6.7 → 0.6.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/kengic-vue.js +2868 -2806
  2. package/dist/src/components/KgAppSelect/index.hooks.d.ts +8 -2
  3. package/dist/src/components/KgButton/index.hooks.d.ts +20 -3
  4. package/dist/src/components/KgForm/index.d.ts +2 -0
  5. package/dist/src/components/KgForm/index.hooks.d.ts +21 -0
  6. package/dist/src/components/KgForm/index.store.d.ts +59 -0
  7. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -9
  8. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +1 -9
  9. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +2 -8
  10. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -4
  11. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -6
  12. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -4
  13. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -4
  14. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -4
  15. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -4
  16. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -4
  17. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +4 -8
  18. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -4
  19. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -4
  20. package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -10
  21. package/dist/src/components/KgSearch/index.hooks.d.ts +8 -8
  22. package/dist/src/components/KgSubmit/index.hooks.d.ts +3 -1
  23. package/dist/src/components/KgSubmit/index.store.d.ts +25 -12
  24. package/dist/src/components/KgTable/index.store.d.ts +1 -1
  25. package/dist/src/components/KgTable/index.vm.d.ts +1 -1
  26. package/dist/src/components/KgVar/index.hooks.d.ts +14 -5
  27. package/dist/src/components/KgVar/index.store.d.ts +108 -112
  28. package/dist/src/components/KgWarehouse/index.hooks.d.ts +4 -1
  29. package/dist/src/components/util.d.ts +15 -0
  30. package/dist/src/consts/index.vm.d.ts +1 -1
  31. package/dist/src/utils/logger.util.d.ts +2 -2
  32. package/package.json +1 -1
@@ -3,9 +3,15 @@ import { IKgAppSelectGotoAppCb, IKgAppSelectGotoPathCb, IKgAppSelectStore } from
3
3
  export declare type IUseKgAppSelect = {
4
4
  /** 状态数据. */
5
5
  store: IKgAppSelectStore;
6
- /** 监听事件: 进入某个模块. */
6
+ /**
7
+ * 监听事件: 进入某个模块.
8
+ * @param cb 回调函数.
9
+ */
7
10
  onGotoApp(cb: IKgAppSelectGotoAppCb): IRemoveEventListenerHandler;
8
- /** 监听事件: 进入某个模块. */
11
+ /**
12
+ * 监听事件: 进入某个地址.
13
+ * @param cb 回调函数.
14
+ */
9
15
  onGotoPath(cb: IKgAppSelectGotoPathCb): IRemoveEventListenerHandler;
10
16
  };
11
17
  export declare function useKgAppSelect(): IUseKgAppSelect;
@@ -12,13 +12,30 @@ export declare type IUseKgButton = {
12
12
  * @param args 数据.
13
13
  */
14
14
  click(formID: string, type: KG_BUTTON_TYPE, var_nam?: string, args?: any | null): void;
15
- /** 监听事件: 点击按钮. */
15
+ /**
16
+ * 监听事件: 点击按钮.
17
+ * @param cb 回调函数.
18
+ */
16
19
  onClick(cb: IKgButtonClickCb): IRemoveEventListenerHandler;
17
- /** 监听事件: 点击更新按钮之后, 执行默认逻辑之前. 如果返回 Promise.resolve(true), 则不再执行后续的默认逻辑. */
20
+ /**
21
+ * 监听事件: 点击更新按钮之后, 执行默认逻辑之前. 如果返回 Promise.resolve(true), 则不再执行后续的默认逻辑.
22
+ * @param cb 回调函数.
23
+ */
18
24
  onUpdateBeforeClick(cb: IKgButtonUpdateBeforeClickCb): IRemoveEventListenerHandler;
19
- /** 监听事件: 删除成功, 删除接口调用成功. */
25
+ /**
26
+ * 监听事件: 删除成功, 删除接口调用成功.
27
+ * @param cb 回调函数.
28
+ */
20
29
  onDeleteOk(cb: IKgButtonDeleteOkCb): IRemoveEventListenerHandler;
30
+ /**
31
+ * 监听事件: 表格内编辑时, 点击保存按钮.
32
+ * @param cb 回调函数.
33
+ */
21
34
  onSubmitSave(cb: IKgButtonSubmitSaveCb): IRemoveEventListenerHandler;
35
+ /**
36
+ * 监听事件: 表格内编辑时, 点击取消按钮.
37
+ * @param cb 回调函数.
38
+ */
22
39
  onSubmitCancel(cb: IKgButtonSubmitCancelCb): IRemoveEventListenerHandler;
23
40
  };
24
41
  /**
@@ -600,3 +600,5 @@ declare const _default: {
600
600
  };
601
601
  export default _default;
602
602
  export { type IKgFormProps } from './index.vm';
603
+ export * from './index.hooks';
604
+ export * from './index.store';
@@ -0,0 +1,21 @@
1
+ import { IRemoveEventListenerHandler } from '../../consts';
2
+ import { IKgFormLookupBeforeOkCb, IKgFormLookupOkCb, IKgFormStore } from './index.store';
3
+ export declare type IUseKgForm = {
4
+ formID: string;
5
+ /** 状态数据. */
6
+ store: IKgFormStore;
7
+ /**
8
+ * 监听事件: 查找弹窗点击确定之前. 如果返回 true 则查找弹窗不会触发 kgOk 事件.
9
+ * @param cb 回调函数.
10
+ */
11
+ onLookupBeforeOk(cb: IKgFormLookupBeforeOkCb): IRemoveEventListenerHandler;
12
+ /**
13
+ * 监听事件: 查找弹窗点击确定.
14
+ * @param cb 回调函数.
15
+ */
16
+ onLookupOk(cb: IKgFormLookupOkCb): IRemoveEventListenerHandler;
17
+ };
18
+ /**
19
+ * @param formID 界面标识.
20
+ */
21
+ export declare function useKgForm(formID?: string | null): IUseKgForm;
@@ -0,0 +1,59 @@
1
+ import { StoreDefinition } from 'pinia';
2
+ import { IKgTableRow } from '../KgTable';
3
+ /**
4
+ * 事件类型.
5
+ * 'lookupBeforeOk': 查找弹窗点击确定之前. 如果返回 true 则查找弹窗不会触发 kgOk 事件
6
+ * 'lookupOk': 查找弹窗点击确定
7
+ */
8
+ export declare type IKgFormEvent = 'lookupBeforeOk' | 'lookupOk';
9
+ /** 事件监听函数: lookupBeforeOk. */
10
+ export declare type IKgFormLookupBeforeOkCbParam = {
11
+ /** 变量. */
12
+ var_nam: string;
13
+ /** 是否多选, 否则单选. */
14
+ isMultiple: boolean;
15
+ /** 单选时, 对应的一个值. */
16
+ value?: any | null;
17
+ /** 单选时, 对应的多个值. */
18
+ values?: Array<any> | null;
19
+ /** 单选时, 勾选的那一行. */
20
+ row?: IKgTableRow | null;
21
+ /** 多选时, 勾选的所有行. */
22
+ rows?: Array<IKgTableRow> | null;
23
+ };
24
+ export declare type IKgFormLookupBeforeOkCb = (param: IKgFormLookupBeforeOkCbParam) => Promise<boolean>;
25
+ /** 事件监听函数: lookupOk. */
26
+ export declare type IKgFormLookupOkCbParam = {
27
+ /** 变量. */
28
+ var_nam: string;
29
+ /** 是否多选, 否则单选. */
30
+ isMultiple: boolean;
31
+ /** 单选时, 对应的一个值. */
32
+ value?: any | null;
33
+ /** 单选时, 对应的多个值. */
34
+ values?: Array<any> | null;
35
+ /** 单选时, 勾选的那一行. */
36
+ row?: IKgTableRow | null;
37
+ /** 多选时, 勾选的所有行. */
38
+ rows?: Array<IKgTableRow> | null;
39
+ };
40
+ export declare type IKgFormLookupOkCb = (param: IKgFormLookupOkCbParam) => Promise<boolean>;
41
+ export declare type IKgFormCb = IKgFormLookupBeforeOkCb | IKgFormLookupOkCb;
42
+ export declare type IKgFormCbParam = IKgFormLookupBeforeOkCbParam | IKgFormLookupOkCbParam;
43
+ export interface IKgFormState {
44
+ lookupOkListenersMap: Map<string, Array<IKgFormLookupOkCb>>;
45
+ lookupBeforeOkListenersMap: Map<string, Array<IKgFormLookupBeforeOkCb>>;
46
+ }
47
+ export declare type IKgFormStoreDefinition = StoreDefinition<'KgForm', IKgFormState, {}, {
48
+ addEventListener(frm_id: string, event: IKgFormEvent, cb: IKgFormCb): void;
49
+ removeEventListener(frm_id: string, event: IKgFormEvent, cb?: IKgFormCb): void;
50
+ /**
51
+ * 触发事件.
52
+ * @param frm_id 界面标识.
53
+ * @param event 事件名称.
54
+ * @param param 数据.
55
+ */
56
+ emit(frm_id: string, event: IKgFormEvent, param?: IKgFormCbParam | null): Promise<boolean>;
57
+ }>;
58
+ export declare type IKgFormStore = ReturnType<IKgFormStoreDefinition>;
59
+ export declare const useKgFormStore: () => IKgFormStoreDefinition;
@@ -1,5 +1,4 @@
1
1
  import { KG_FORM_CONTEXT } from '../../consts';
2
- import { IKgTableRow } from '../KgTable';
3
2
  import './KgForm.Item.less';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  kgVarName: {
@@ -33,16 +32,14 @@ declare const _default: import("vue").DefineComponent<{
33
32
  default: undefined;
34
33
  };
35
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: IKgTableRow<{}> | IKgTableRow<{}>[]) => boolean>;
37
35
  value: import("vue").PropType<import("./index.vm").IKgFormItemValue>;
38
36
  'onUpdate:value': import("vue").PropType<(value: import("./index.vm").IKgFormItemValue | null) => void>;
39
37
  onKgSubmit: import("vue").PropType<() => void>;
40
38
  onKgChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
43
- onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>; /** 是否禁用. */
40
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
44
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
45
- }, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "kgSelectChange" | "kgLookupChange")[], "kgSubmit" | "kgChange" | "kgSelectChange" | "kgLookupChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, () => 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<{
46
43
  kgVarName: {
47
44
  type: import("vue").PropType<string>;
48
45
  required: boolean;
@@ -74,20 +71,17 @@ declare const _default: import("vue").DefineComponent<{
74
71
  default: undefined;
75
72
  };
76
73
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: IKgTableRow<{}> | IKgTableRow<{}>[]) => boolean>;
78
74
  value: import("vue").PropType<import("./index.vm").IKgFormItemValue>;
79
75
  'onUpdate:value': import("vue").PropType<(value: import("./index.vm").IKgFormItemValue | null) => void>;
80
76
  onKgSubmit: import("vue").PropType<() => void>;
81
77
  onKgChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
84
- onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>; /** 是否禁用. */
79
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
85
80
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
86
81
  }>> & {
87
82
  onKgSubmit?: ((...args: any[]) => any) | undefined;
88
83
  onKgChange?: ((...args: any[]) => any) | undefined;
89
84
  onKgSelectChange?: ((...args: any[]) => any) | undefined;
90
- onKgLookupChange?: ((...args: any[]) => any) | undefined;
91
85
  }, {
92
86
  kgDisabled: boolean;
93
87
  kgContext: string;
@@ -1,25 +1,17 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { IKgTableRow } from '../../KgTable';
3
2
  import './KgForm.Item.Addon.Lookup.Modal.less';
4
3
  export declare const getProps: () => {
5
4
  visible: PropType<boolean>;
6
5
  'onUpdate:visible': PropType<(value: boolean) => void>;
7
- /** 确定. */
8
- onKgOk: PropType<(value: any | Array<any>, record: IKgTableRow | Array<IKgTableRow>) => void>;
9
6
  };
10
7
  export declare type IProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
11
8
  declare const _default: import("vue").DefineComponent<{
12
9
  visible: PropType<boolean>;
13
10
  'onUpdate:visible': PropType<(value: boolean) => void>;
14
- /** 确定. */
15
- onKgOk: PropType<(value: any, record: IKgTableRow<{}> | IKgTableRow<{}>[]) => void>;
16
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "kgOk")[], "update:visible" | "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
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<{
17
12
  visible: PropType<boolean>;
18
13
  'onUpdate:visible': PropType<(value: boolean) => void>;
19
- /** 确定. */
20
- onKgOk: PropType<(value: any, record: IKgTableRow<{}> | IKgTableRow<{}>[]) => void>;
21
14
  }>> & {
22
15
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
23
- onKgOk?: ((...args: any[]) => any) | undefined;
24
16
  }, {}>;
25
17
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { IKgTableRow } from '../../KgTable';
3
2
  import './KgForm.Item.Addon.Lookup.less';
4
3
  export declare const getProps: () => {
5
4
  /** 是否禁用. */
@@ -9,7 +8,6 @@ export declare const getProps: () => {
9
8
  };
10
9
  /** 查找配置ID. */
11
10
  kgLookupID: PropType<string>;
12
- onKgOk: PropType<(value: any, row: IKgTableRow) => void>;
13
11
  };
14
12
  export declare type IProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
15
13
  declare const _default: import("vue").DefineComponent<{
@@ -20,8 +18,7 @@ declare const _default: import("vue").DefineComponent<{
20
18
  };
21
19
  /** 查找配置ID. */
22
20
  kgLookupID: PropType<string>;
23
- onKgOk: PropType<(value: any, row: IKgTableRow<{}>) => void>;
24
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
21
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
25
22
  /** 是否禁用. */
26
23
  kgDisabled: {
27
24
  type: PropType<boolean>;
@@ -29,10 +26,7 @@ declare const _default: import("vue").DefineComponent<{
29
26
  };
30
27
  /** 查找配置ID. */
31
28
  kgLookupID: PropType<string>;
32
- onKgOk: PropType<(value: any, row: IKgTableRow<{}>) => void>;
33
- }>> & {
34
- onKgOk?: ((...args: any[]) => any) | undefined;
35
- }, {
29
+ }>>, {
36
30
  kgDisabled: boolean;
37
31
  }>;
38
32
  export default _default;
@@ -31,13 +31,11 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: undefined;
32
32
  };
33
33
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
35
34
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
35
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
37
36
  onKgSubmit: import("vue").PropType<() => void>;
38
37
  onKgChange: import("vue").PropType<(value: any) => void>;
39
38
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
40
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  }, () => null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,13 +70,11 @@ declare const _default: import("vue").DefineComponent<{
72
70
  default: undefined;
73
71
  };
74
72
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
76
73
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
74
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
78
75
  onKgSubmit: import("vue").PropType<() => void>;
79
76
  onKgChange: import("vue").PropType<(value: any) => void>;
80
77
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
81
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
79
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  }>> & {
@@ -14,8 +14,8 @@ declare const _default: import("vue").DefineComponent<{
14
14
  };
15
15
  kgSpan: import("vue").PropType<number>;
16
16
  kgPlaceholder: import("vue").PropType<string>;
17
- /** 是否全选. */
18
17
  kgShowLabel: {
18
+ /** 是否全选. */
19
19
  type: import("vue").PropType<boolean>;
20
20
  default: boolean;
21
21
  };
@@ -32,13 +32,11 @@ declare const _default: import("vue").DefineComponent<{
32
32
  default: undefined;
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
36
35
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
36
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
38
37
  onKgSubmit: import("vue").PropType<() => void>;
39
38
  onKgChange: import("vue").PropType<(value: any) => void>;
40
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
42
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
44
42
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange")[], "update:value" | "kgSubmit" | "kgChange" | "kgCheckboxGroupChange" | "kgCheckboxGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -56,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
56
54
  };
57
55
  kgSpan: import("vue").PropType<number>;
58
56
  kgPlaceholder: import("vue").PropType<string>;
59
- /** 是否全选. */
60
57
  kgShowLabel: {
58
+ /** 是否全选. */
61
59
  type: import("vue").PropType<boolean>;
62
60
  default: boolean;
63
61
  };
@@ -74,13 +72,11 @@ declare const _default: import("vue").DefineComponent<{
74
72
  default: undefined;
75
73
  };
76
74
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
78
75
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
79
76
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
77
  onKgSubmit: import("vue").PropType<() => void>;
81
78
  onKgChange: import("vue").PropType<(value: any) => void>;
82
79
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
84
80
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
85
81
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
86
82
  }>> & {
@@ -32,13 +32,11 @@ declare const _default: import("vue").DefineComponent<{
32
32
  default: undefined;
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
36
35
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
36
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
38
37
  onKgSubmit: import("vue").PropType<() => void>;
39
38
  onKgChange: import("vue").PropType<(value: any) => void>;
40
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
42
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
44
42
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -73,13 +71,11 @@ declare const _default: import("vue").DefineComponent<{
73
71
  default: undefined;
74
72
  };
75
73
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
77
74
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
75
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
79
76
  onKgSubmit: import("vue").PropType<() => void>;
80
77
  onKgChange: import("vue").PropType<(value: any) => void>;
81
78
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
82
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
83
79
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
85
81
  }>> & {
@@ -32,13 +32,11 @@ declare const _default: import("vue").DefineComponent<{
32
32
  default: undefined;
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
36
35
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
36
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
38
37
  onKgSubmit: import("vue").PropType<() => void>;
39
38
  onKgChange: import("vue").PropType<(value: any) => void>;
40
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
42
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
44
42
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -73,13 +71,11 @@ declare const _default: import("vue").DefineComponent<{
73
71
  default: undefined;
74
72
  };
75
73
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
77
74
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
75
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
79
76
  onKgSubmit: import("vue").PropType<() => void>;
80
77
  onKgChange: import("vue").PropType<(value: any) => void>;
81
78
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
82
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
83
79
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
85
81
  }>> & {
@@ -31,13 +31,11 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: undefined;
32
32
  };
33
33
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
35
34
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
35
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
37
36
  onKgSubmit: import("vue").PropType<() => void>;
38
37
  onKgChange: import("vue").PropType<(value: any) => void>;
39
38
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
40
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,13 +70,11 @@ declare const _default: import("vue").DefineComponent<{
72
70
  default: undefined;
73
71
  };
74
72
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
76
73
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
74
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
78
75
  onKgSubmit: import("vue").PropType<() => void>;
79
76
  onKgChange: import("vue").PropType<(value: any) => void>;
80
77
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
81
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
79
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  }>> & {
@@ -31,13 +31,11 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: undefined;
32
32
  };
33
33
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
35
34
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
35
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
37
36
  onKgSubmit: import("vue").PropType<() => void>;
38
37
  onKgChange: import("vue").PropType<(value: any) => void>;
39
38
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
40
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,13 +70,11 @@ declare const _default: import("vue").DefineComponent<{
72
70
  default: undefined;
73
71
  };
74
72
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
76
73
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
74
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
78
75
  onKgSubmit: import("vue").PropType<() => void>;
79
76
  onKgChange: import("vue").PropType<(value: any) => void>;
80
77
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
81
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
79
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  }>> & {
@@ -31,13 +31,11 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: undefined;
32
32
  };
33
33
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../../KgTable").IKgTableRow<{}> | import("../../KgTable").IKgTableRow<{}>[]) => boolean>;
35
34
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
35
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
37
36
  onKgSubmit: import("vue").PropType<() => void>;
38
37
  onKgChange: import("vue").PropType<(value: any) => void>;
39
38
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
40
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange" | "kgRadioGroupDatasChange")[], "update:value" | "kgSubmit" | "kgChange" | "kgRadioGroupDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,13 +70,11 @@ declare const _default: import("vue").DefineComponent<{
72
70
  default: undefined;
73
71
  };
74
72
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../../KgTable").IKgTableRow<{}> | import("../../KgTable").IKgTableRow<{}>[]) => boolean>;
76
73
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
74
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
78
75
  onKgSubmit: import("vue").PropType<() => void>;
79
76
  onKgChange: import("vue").PropType<(value: any) => void>;
80
77
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
81
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
79
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  }>> & {
@@ -14,10 +14,10 @@ declare const _default: import("vue").DefineComponent<{
14
14
  };
15
15
  kgSpan: import("vue").PropType<number>;
16
16
  kgPlaceholder: import("vue").PropType<string>;
17
- /** 获取下拉列表数据. */
18
17
  kgShowLabel: {
18
+ /** 获取下拉列表数据. */
19
19
  type: import("vue").PropType<boolean>;
20
- default: boolean; /** 获取下拉列表数据. */
20
+ default: boolean;
21
21
  };
22
22
  kgAllowClear: {
23
23
  type: import("vue").PropType<boolean>;
@@ -32,13 +32,11 @@ declare const _default: import("vue").DefineComponent<{
32
32
  default: undefined;
33
33
  };
34
34
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
36
35
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
36
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
38
37
  onKgSubmit: import("vue").PropType<() => void>;
39
38
  onKgChange: import("vue").PropType<(value: any) => void>;
40
39
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
41
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
42
40
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
44
42
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange" | "kgSelectChange" | "kgSelectDatasChange")[], "update:value" | "kgSubmit" | "kgChange" | "kgSelectChange" | "kgSelectDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -56,10 +54,10 @@ declare const _default: import("vue").DefineComponent<{
56
54
  };
57
55
  kgSpan: import("vue").PropType<number>;
58
56
  kgPlaceholder: import("vue").PropType<string>;
59
- /** 获取下拉列表数据. */
60
57
  kgShowLabel: {
58
+ /** 获取下拉列表数据. */
61
59
  type: import("vue").PropType<boolean>;
62
- default: boolean; /** 获取下拉列表数据. */
60
+ default: boolean;
63
61
  };
64
62
  kgAllowClear: {
65
63
  type: import("vue").PropType<boolean>;
@@ -74,13 +72,11 @@ declare const _default: import("vue").DefineComponent<{
74
72
  default: undefined;
75
73
  };
76
74
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
78
75
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
79
76
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
80
77
  onKgSubmit: import("vue").PropType<() => void>;
81
78
  onKgChange: import("vue").PropType<(value: any) => void>;
82
79
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
84
80
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
85
81
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
86
82
  }>> & {
@@ -31,13 +31,11 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: undefined;
32
32
  };
33
33
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
35
34
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
35
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
37
36
  onKgSubmit: import("vue").PropType<() => void>;
38
37
  onKgChange: import("vue").PropType<(value: any) => void>;
39
38
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
40
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,13 +70,11 @@ declare const _default: import("vue").DefineComponent<{
72
70
  default: undefined;
73
71
  };
74
72
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
76
73
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
74
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
78
75
  onKgSubmit: import("vue").PropType<() => void>;
79
76
  onKgChange: import("vue").PropType<(value: any) => void>;
80
77
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
81
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
79
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  }>> & {
@@ -31,13 +31,11 @@ declare const _default: import("vue").DefineComponent<{
31
31
  default: undefined;
32
32
  };
33
33
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
34
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
35
34
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
36
35
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
37
36
  onKgSubmit: import("vue").PropType<() => void>;
38
37
  onKgChange: import("vue").PropType<(value: any) => void>;
39
38
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
40
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
41
39
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
42
40
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
41
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,13 +70,11 @@ declare const _default: import("vue").DefineComponent<{
72
70
  default: undefined;
73
71
  };
74
72
  kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
75
- onKgLookupBeforeOk: import("vue").PropType<(value: any, record: import("../..").IKgTableRow<{}> | import("../..").IKgTableRow<{}>[]) => boolean>;
76
73
  value: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
77
74
  'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
78
75
  onKgSubmit: import("vue").PropType<() => void>;
79
76
  onKgChange: import("vue").PropType<(value: any) => void>;
80
77
  onKgSelectChange: import("vue").PropType<(value: any) => void>;
81
- onKgLookupChange: import("vue").PropType<(value: any) => void>;
82
78
  onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
83
79
  onKgCheckboxGroupDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
80
  }>> & {