@wyfex/ivue 0.19.3 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +7 -1
  2. package/dist/index.es.js +9 -9
  3. package/dist/index.umd.cjs +6 -6
  4. package/dist/ivue.css +1 -1
  5. package/dist/types/{UseCrudTable → UseCrud}/defaultExtConfig.d.ts +10 -0
  6. package/dist/types/UseCrud/hook.d.ts +11 -0
  7. package/dist/types/{UseCrudTable → UseCrud}/index.vue.d.ts +15 -13
  8. package/dist/types/UseCrud/props.d.ts +13 -0
  9. package/dist/types/UseCrud/types.d.ts +78 -0
  10. package/dist/types/UseCrud/utils.d.ts +48 -0
  11. package/dist/types/UseElButton/index.vue.d.ts +1 -1
  12. package/dist/types/UseElCheckbox/index.vue.d.ts +1 -1
  13. package/dist/types/UseElConfigProvider/types.d.ts +4 -0
  14. package/dist/types/UseElDatePicker/index.vue.d.ts +5 -5
  15. package/dist/types/UseElDatePicker/types.d.ts +2 -2
  16. package/dist/types/UseElDescriptions/index.vue.d.ts +1 -1
  17. package/dist/types/UseElDialog/hook.d.ts +1 -0
  18. package/dist/types/UseElDialog/index.vue.d.ts +19 -1
  19. package/dist/types/UseElDialog/props.d.ts +8 -0
  20. package/dist/types/UseElDrawer/index.vue.d.ts +10 -1
  21. package/dist/types/UseElDrawer/props.d.ts +4 -0
  22. package/dist/types/UseElForm/components/QueryForm.vue.d.ts +1 -1
  23. package/dist/types/UseElForm/components/RowForm.vue.d.ts +1 -1
  24. package/dist/types/UseElForm/index.vue.d.ts +1 -1
  25. package/dist/types/UseElForm/types.d.ts +1 -2
  26. package/dist/types/UseElInput/index.vue.d.ts +14 -14
  27. package/dist/types/UseElInput/props.d.ts +5 -5
  28. package/dist/types/UseElSelect/index.vue.d.ts +5 -5
  29. package/dist/types/UseElTable/defaultExtConfig.d.ts +1 -1
  30. package/dist/types/UseElTable/index.vue.d.ts +2 -2
  31. package/dist/types/UseElTable/types.d.ts +9 -10
  32. package/dist/types/UseElTimeSelect/index.vue.d.ts +28 -0
  33. package/dist/types/UseElTimeSelect/props.d.ts +13 -0
  34. package/dist/types/UseElTimeSelect/types.d.ts +6 -0
  35. package/dist/types/UseRender/index.vue.d.ts +1 -1
  36. package/dist/types/index.d.ts +2 -1
  37. package/package.json +11 -11
  38. package/src/components/UseCrud/defaultExtConfig.ts +16 -0
  39. package/src/components/UseCrud/props.ts +25 -0
  40. package/src/components/UseCrud/types.ts +161 -0
  41. package/src/components/UseElButton/types.ts +12 -37
  42. package/src/components/UseElCheckbox/types.ts +1 -1
  43. package/src/components/UseElConfigProvider/types.ts +14 -13
  44. package/src/components/UseElDatePicker/types.ts +3 -3
  45. package/src/components/UseElDialog/props.ts +16 -2
  46. package/src/components/UseElDrawer/props.ts +7 -0
  47. package/src/components/UseElForm/types.ts +3 -10
  48. package/src/components/UseElTable/types.ts +92 -183
  49. package/src/components/UseElTimeSelect/props.ts +22 -0
  50. package/src/components/UseElTimeSelect/types.ts +15 -0
  51. package/src/types/index.ts +8 -0
  52. package/dist/types/UseCrudTable/components/ActionBar.vue.d.ts +0 -20
  53. package/dist/types/UseCrudTable/hook.d.ts +0 -18
  54. package/dist/types/UseCrudTable/props.d.ts +0 -18
  55. package/dist/types/UseCrudTable/types.d.ts +0 -32
  56. package/dist/types/UseCrudTable/utils.d.ts +0 -2
  57. package/src/components/UseCrudTable/defaultExtConfig.ts +0 -28
  58. package/src/components/UseCrudTable/props.ts +0 -32
  59. package/src/components/UseCrudTable/types.ts +0 -71
  60. /package/dist/types/UseElForm/components/controls/{TimeSelect.vue.d.ts → TimeSelectRange.vue.d.ts} +0 -0
@@ -1,4 +1,11 @@
1
1
  declare const _default: {
2
+ crudFetch: {
3
+ queryImmediate: true;
4
+ autoCancelQueryStrategy: "unmount";
5
+ };
6
+ mode: {
7
+ type: "PAGE";
8
+ };
2
9
  actionBar: {
3
10
  margin: string;
4
11
  showControlFormDisplayBtn: true;
@@ -8,5 +15,8 @@ declare const _default: {
8
15
  borderStyle: "solid";
9
16
  };
10
17
  };
18
+ modal: {
19
+ type: "Drawer";
20
+ };
11
21
  };
12
22
  export default _default;
@@ -0,0 +1,11 @@
1
+ import { ComputedRef, Slots } from 'vue';
2
+ import { Emits, Props, UseCrudReturn } from './types';
3
+ import { GlobalConfig } from '../../types';
4
+ export declare const useCrud: ({ mergedProps, globalConfig, slots, uefRef, modalRef, emits }: {
5
+ mergedProps: ComputedRef<Props>;
6
+ globalConfig: ComputedRef<GlobalConfig>;
7
+ slots: Slots;
8
+ uefRef: any;
9
+ modalRef: any;
10
+ emits: Emits;
11
+ }) => UseCrudReturn;
@@ -3,17 +3,24 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
3
3
  type: import('vue').PropType<import('./types').Configs[]>;
4
4
  required: boolean;
5
5
  };
6
- tableExtConfig: {
7
- type: import('vue').PropType<import('../UseElTable/types').ExtConfig>;
8
- default: () => {};
9
- };
10
6
  extConfig: {
11
- type: import('vue').PropType<import('./types').ExtConfig>;
7
+ type: import('vue').PropType<import('./types').MergedExtConfig>;
12
8
  default: () => {};
13
9
  };
14
10
  }>, {
15
- uefRef: import('vue').Ref<any, any>;
11
+ state: import('vue').Ref<import('./types').UseCrudState, import('./types').UseCrudState>;
12
+ onQuery: (e: Record<string, unknown>, done?: () => void) => void;
13
+ onCancelQueryRequest: () => void;
14
+ handleDelete: (payload: {
15
+ id?: string | number;
16
+ ids?: string | Array<string | number>;
17
+ }, loadingConfig: {
18
+ source?: Record<string, unknown>;
19
+ key?: string;
20
+ }, successCb?: () => void, errorCb?: (err: unknown) => void, successMsg?: string) => Promise<void>;
21
+ modalRef: import('vue').Ref<any, any>;
16
22
  handleShowModal: () => Promise<void>;
23
+ handleCloseModal: import('vue').ComputedRef<() => void>;
17
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
25
  onDictKeys: (value?: string[] | undefined) => any;
19
26
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -21,19 +28,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
21
28
  type: import('vue').PropType<import('./types').Configs[]>;
22
29
  required: boolean;
23
30
  };
24
- tableExtConfig: {
25
- type: import('vue').PropType<import('../UseElTable/types').ExtConfig>;
26
- default: () => {};
27
- };
28
31
  extConfig: {
29
- type: import('vue').PropType<import('./types').ExtConfig>;
32
+ type: import('vue').PropType<import('./types').MergedExtConfig>;
30
33
  default: () => {};
31
34
  };
32
35
  }>> & Readonly<{
33
36
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
34
37
  }>, {
35
- extConfig: import('./types').ExtConfig;
36
- tableExtConfig: import('../UseElTable/types').ExtConfig;
38
+ extConfig: import('./types').MergedExtConfig;
37
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
41
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,13 @@
1
+ import { PropType } from 'vue';
2
+ import { Configs, MergedExtConfig } from './types';
3
+ declare const _default: {
4
+ configs: {
5
+ type: PropType<Configs[]>;
6
+ required: boolean;
7
+ };
8
+ extConfig: {
9
+ type: PropType<MergedExtConfig>;
10
+ default: () => {};
11
+ };
12
+ };
13
+ export default _default;
@@ -0,0 +1,78 @@
1
+ import { Component, ComputedRef, ExtractPropTypes, Ref, ShallowRef } from 'vue';
2
+ import { default as componentProps } from './props';
3
+ import { FormColumn } from '../UseElForm/types';
4
+ import { TableColumn, ExtConfig as TableExtConfig } from '../UseElTable/types';
5
+ export type Props = ExtractPropTypes<typeof componentProps>;
6
+ export type Emits = {
7
+ (e: 'onDictKeys', value?: string[]): void;
8
+ };
9
+ export type BaseConfigs = FormColumn & TableColumn;
10
+ export interface Configs extends BaseConfigs {
11
+ queryLabel?: string;
12
+ queryProp?: string;
13
+ onlySearch?: boolean;
14
+ tableOrder?: number;
15
+ }
16
+ export interface Divider {
17
+ show?: boolean;
18
+ borderStyle?: 'none' | 'solid' | 'hidden' | 'dashed';
19
+ }
20
+ export interface ActionBar {
21
+ margin?: string;
22
+ showControlFormDisplayBtn?: boolean;
23
+ controlFormDisplayBtnWithOpenedIcon?: Component;
24
+ controlFormDisplayBtnWithClosedIcon?: Component;
25
+ reverse?: boolean;
26
+ divider?: Divider;
27
+ }
28
+ export interface ExtConfig {
29
+ crudFetch?: {
30
+ queryApi?: Function;
31
+ queryImmediate?: boolean;
32
+ autoCancelQueryStrategy?: 'none' | 'unmount' | 'deactivate' | 'both';
33
+ onQueryBefore?: (done: () => void) => void;
34
+ onQueryError?: (err: any) => void;
35
+ deleteApi?: Function;
36
+ };
37
+ actionBar?: ActionBar;
38
+ modal?: {
39
+ type?: 'Drawer' | 'Dialog';
40
+ };
41
+ }
42
+ export type MergedExtConfig = ExtConfig & TableExtConfig;
43
+ export interface UseCrudState {
44
+ formColumns: FormColumn[];
45
+ tableColumns: TableColumn[];
46
+ formModel: Record<string, any>;
47
+ formParams: Record<string, any>;
48
+ tableLoading: boolean;
49
+ tableData: any[];
50
+ currentPage: number;
51
+ pageSize: number;
52
+ total: number;
53
+ dictMap: Record<string, any>;
54
+ }
55
+ export interface UseCrudReturn {
56
+ state: Ref<UseCrudState>;
57
+ heightComputed: ComputedRef<string>;
58
+ fetchTableData: (options?: {
59
+ params?: Record<string, any>;
60
+ isPageApi?: boolean;
61
+ }, cb?: () => void) => Promise<any>;
62
+ onQuery: (e: Record<string, unknown>, done?: () => void) => void;
63
+ onCancelQueryRequest: () => void;
64
+ handleDelete: (payload: {
65
+ id?: string | number;
66
+ ids?: string | Array<string | number>;
67
+ }, loadingConfig: {
68
+ source?: Record<string, unknown>;
69
+ key?: string;
70
+ }, successCb?: () => void, errorCb?: (err: unknown) => void, successMsg?: string) => Promise<void>;
71
+ margin: ComputedRef<string | undefined>;
72
+ actionBar: any;
73
+ handleDisplayQueryForm: () => void;
74
+ showModal: Ref<boolean>;
75
+ modalComponent: ShallowRef<Component | null>;
76
+ handleShowModal: () => Promise<void>;
77
+ handleCloseModal: ComputedRef<() => void>;
78
+ }
@@ -0,0 +1,48 @@
1
+ import { Configs } from './types';
2
+ export declare const getFilteredFormColumns: (list: Configs[]) => {
3
+ label: string | undefined;
4
+ prop: string | undefined;
5
+ queryLabel?: string;
6
+ queryProp?: string;
7
+ onlySearch?: boolean;
8
+ tableOrder?: number;
9
+ required?: boolean | import('../UseElForm/types').IRequired;
10
+ errorMessage?: string;
11
+ disabled?: boolean;
12
+ useDict?: boolean | string | import('../../types').UseDict;
13
+ span?: number;
14
+ labelWidth?: string;
15
+ labelPosition?: "left" | "right" | "top";
16
+ show?: boolean;
17
+ filter?: boolean;
18
+ formItemClass?: string;
19
+ slot?: string | boolean;
20
+ renderConfig?: import('../../types').RenderConfig;
21
+ inputConfig?: import('../UseElForm/types').InputConfig;
22
+ inputNumberConfig?: import('../UseElForm/types').InputNumberConfig;
23
+ selectConfig?: import('../UseElForm/types').SelectConfig;
24
+ treeSelectConfig?: import('../UseElForm/types').TreeSelectConfig;
25
+ cascaderConfig?: import('../UseElForm/types').CascaderConfig;
26
+ datePickerConfig?: import('../UseElForm/types').DatePickerConfig;
27
+ timePickerConfig?: import('../UseElForm/types').TimePickerConfig;
28
+ timeSelectConfig?: import('../UseElForm/types').TimeSelectConfig;
29
+ radioConfig?: import('../UseElForm/types').RadioConfig;
30
+ switchConfig?: import('../UseElForm/types').SwitchConfig;
31
+ inputRangeConfig?: import('../UseElForm/types').InputRangeConfig;
32
+ width?: string | number;
33
+ minWidth?: string | number;
34
+ align?: string;
35
+ fixed?: boolean | string;
36
+ sortable?: boolean;
37
+ showOverflowTooltip?: boolean;
38
+ extConfig?: {
39
+ header?: import('../UseElTable/types').Header;
40
+ edit?: import('../UseElTable/types').Edit;
41
+ formatter?: Function;
42
+ class?: string | string[];
43
+ style?: string | Record<string, unknown>;
44
+ slot?: boolean | string;
45
+ };
46
+ children?: import('../UseElTable/types').TableColumn[];
47
+ }[];
48
+ export declare const getFilteredAndSortedTableColumns: (list: Configs[]) => Configs[];
@@ -31,8 +31,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
31
31
  }>> & Readonly<{
32
32
  onClick?: ((value?: string | number | Record<string, unknown> | undefined) => any) | undefined;
33
33
  }>, {
34
- extConfig: import('./types').ExtConfig;
35
34
  type: string;
35
+ extConfig: import('./types').ExtConfig;
36
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
37
  declare const _default: typeof __VLS_export;
38
38
  export default _default;
@@ -54,8 +54,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
54
54
  "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
55
55
  }>, {
56
56
  data: any;
57
- modelValue: string | unknown[];
58
57
  toJoin: boolean;
58
+ modelValue: string | unknown[];
59
59
  defaultProps: Record<string, any>;
60
60
  showCheckAll: boolean;
61
61
  vertical: boolean;
@@ -4,6 +4,10 @@ import { DictProps, UploadConfig } from '../../types';
4
4
  export type Props = ExtractPropTypes<typeof componentProps>;
5
5
  export interface ExtConfig {
6
6
  dictProps?: DictProps;
7
+ crud?: {
8
+ pageHeight?: string;
9
+ modalHeight?: string;
10
+ };
7
11
  table?: {
8
12
  pageHeight?: string;
9
13
  modalHeight?: string;
@@ -79,15 +79,15 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
79
79
  }>> & Readonly<{
80
80
  "onUpdate:modelValue"?: ((value: string | number | any[]) => any) | undefined;
81
81
  }>, {
82
- type: string;
83
82
  useRender: boolean | import('../../types').RenderConfig;
84
- modelValue: string | number | unknown[];
83
+ type: string;
84
+ placeholder: string;
85
+ format: string;
86
+ valueFormat: string;
85
87
  startPlaceholder: string;
86
88
  endPlaceholder: string;
87
89
  rangeSeparator: string;
88
- format: string;
89
- valueFormat: string;
90
- placeholder: string;
90
+ modelValue: string | number | unknown[];
91
91
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
92
  declare const _default: typeof __VLS_export;
93
93
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  import { default as componentProps } from './props';
3
3
  export type Props = ExtractPropTypes<typeof componentProps>;
4
- export interface Emits {
4
+ export type Emits = {
5
5
  (e: 'update:modelValue', value: string | number | any[]): void;
6
- }
6
+ };
@@ -94,9 +94,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
94
94
  }>> & Readonly<{
95
95
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
96
96
  }>, {
97
+ useRender: boolean | RenderConfig;
97
98
  dictMap: import('../../types').DictMap;
98
99
  dictProps: import('../../types').DictProps;
99
- useRender: boolean | RenderConfig;
100
100
  labelWidth: string | number;
101
101
  column: number;
102
102
  border: boolean;
@@ -8,6 +8,7 @@ export declare const useElDialog: ({ props, edRef }: {
8
8
  edRef: Ref<DialogInstance | null, DialogInstance | null>;
9
9
  handleClose: import('vue').ComputedRef<(() => void) | undefined>;
10
10
  isFullScreen: Ref<boolean, boolean>;
11
+ maxHeight: import('vue').ComputedRef<string | number>;
11
12
  iconComponent: import('vue').ComputedRef<string>;
12
13
  handleFullScreen: () => void;
13
14
  handleClosed: () => void;
@@ -7,6 +7,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ top: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
10
14
  maxHeight: {
11
15
  type: (StringConstructor | NumberConstructor)[];
12
16
  default: string;
@@ -60,6 +64,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
60
64
  type: StringConstructor;
61
65
  default: string;
62
66
  };
67
+ confirmLoading: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
63
71
  cancelBtnType: {
64
72
  type: StringConstructor;
65
73
  default: string;
@@ -85,6 +93,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
85
93
  type: BooleanConstructor;
86
94
  default: boolean;
87
95
  };
96
+ top: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
88
100
  maxHeight: {
89
101
  type: (StringConstructor | NumberConstructor)[];
90
102
  default: string;
@@ -138,6 +150,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
138
150
  type: StringConstructor;
139
151
  default: string;
140
152
  };
153
+ confirmLoading: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
141
157
  cancelBtnType: {
142
158
  type: StringConstructor;
143
159
  default: string;
@@ -152,6 +168,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
152
168
  default: () => void;
153
169
  };
154
170
  }>> & Readonly<{}>, {
171
+ top: string;
172
+ onClose: Function;
155
173
  title: string;
156
174
  appendToBody: boolean;
157
175
  maxHeight: string | number;
@@ -164,9 +182,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
164
182
  showFooterTopBorder: boolean;
165
183
  footerPosition: string;
166
184
  strictCloseEvent: boolean;
167
- onClose: Function;
168
185
  confirmBtnText: string;
169
186
  cancelBtnText: string;
187
+ confirmLoading: boolean;
170
188
  cancelBtnType: string;
171
189
  onConfirm: Function;
172
190
  onCancel: Function;
@@ -7,6 +7,10 @@ declare const _default: {
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ top: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
10
14
  maxHeight: {
11
15
  type: (StringConstructor | NumberConstructor)[];
12
16
  default: string;
@@ -60,6 +64,10 @@ declare const _default: {
60
64
  type: StringConstructor;
61
65
  default: string;
62
66
  };
67
+ confirmLoading: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
63
71
  cancelBtnType: {
64
72
  type: StringConstructor;
65
73
  default: string;
@@ -48,6 +48,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
48
48
  type: StringConstructor;
49
49
  default: string;
50
50
  };
51
+ confirmLoading: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
51
55
  cancelBtnType: {
52
56
  type: StringConstructor;
53
57
  default: string;
@@ -114,6 +118,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
114
118
  type: StringConstructor;
115
119
  default: string;
116
120
  };
121
+ confirmLoading: {
122
+ type: BooleanConstructor;
123
+ default: boolean;
124
+ };
117
125
  cancelBtnType: {
118
126
  type: StringConstructor;
119
127
  default: string;
@@ -129,6 +137,7 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
129
137
  };
130
138
  }>> & Readonly<{}>, {
131
139
  size: string | number;
140
+ onClose: Function;
132
141
  title: string;
133
142
  appendToBody: boolean;
134
143
  closeOnClickModal: boolean;
@@ -137,9 +146,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
137
146
  showFooter: boolean;
138
147
  footerPosition: string;
139
148
  strictCloseEvent: boolean;
140
- onClose: Function;
141
149
  confirmBtnText: string;
142
150
  cancelBtnText: string;
151
+ confirmLoading: boolean;
143
152
  cancelBtnType: string;
144
153
  onConfirm: Function;
145
154
  onCancel: Function;
@@ -48,6 +48,10 @@ declare const _default: {
48
48
  type: StringConstructor;
49
49
  default: string;
50
50
  };
51
+ confirmLoading: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
51
55
  cancelBtnType: {
52
56
  type: StringConstructor;
53
57
  default: string;
@@ -116,9 +116,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
116
116
  }>> & Readonly<{
117
117
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
118
118
  }>, {
119
+ useRender: boolean | import('../../../types').RenderConfig;
119
120
  dictMap: import('../../../types').DictMap;
120
121
  dictProps: import('../../../types').DictProps;
121
- useRender: boolean | import('../../../types').RenderConfig;
122
122
  formItemWidth: string;
123
123
  labelSuffix: string;
124
124
  labelWidth: string;
@@ -115,9 +115,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
115
115
  }>> & Readonly<{
116
116
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
117
117
  }>, {
118
+ useRender: boolean | import('../../../types').RenderConfig;
118
119
  dictMap: import('../../../types').DictMap;
119
120
  dictProps: import('../../../types').DictProps;
120
- useRender: boolean | import('../../../types').RenderConfig;
121
121
  formItemWidth: string;
122
122
  labelSuffix: string;
123
123
  labelWidth: string;
@@ -117,9 +117,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
117
117
  default: () => {};
118
118
  };
119
119
  }>> & Readonly<{}>, {
120
+ useRender: boolean | import('../../types').RenderConfig;
120
121
  dictMap: import('../../types').DictMap;
121
122
  dictProps: import('../../types').DictProps;
122
- useRender: boolean | import('../../types').RenderConfig;
123
123
  formItemWidth: string;
124
124
  labelSuffix: string;
125
125
  labelWidth: string;
@@ -166,8 +166,7 @@ export interface IRequired {
166
166
  }
167
167
  export interface FormColumn {
168
168
  label?: string;
169
- prop: string;
170
- queryProp?: string | string[];
169
+ prop?: string;
171
170
  required?: boolean | IRequired;
172
171
  errorMessage?: string;
173
172
  disabled?: boolean;
@@ -20,23 +20,23 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
20
20
  default: boolean;
21
21
  };
22
22
  prefixContent: {
23
- type: (StringConstructor | ObjectConstructor)[];
23
+ type: (ObjectConstructor | StringConstructor)[];
24
24
  default: string;
25
25
  };
26
26
  suffixContent: {
27
- type: (StringConstructor | ObjectConstructor)[];
27
+ type: (ObjectConstructor | StringConstructor)[];
28
28
  default: string;
29
29
  };
30
30
  prependContent: {
31
- type: (StringConstructor | ObjectConstructor)[];
31
+ type: (ObjectConstructor | StringConstructor)[];
32
32
  default: string;
33
33
  };
34
34
  appendContent: {
35
- type: (StringConstructor | ObjectConstructor)[];
35
+ type: (ObjectConstructor | StringConstructor)[];
36
36
  default: string;
37
37
  };
38
38
  unit: {
39
- type: (StringConstructor | ObjectConstructor)[];
39
+ type: (ObjectConstructor | StringConstructor)[];
40
40
  default: string;
41
41
  };
42
42
  resize: {
@@ -71,23 +71,23 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
71
71
  default: boolean;
72
72
  };
73
73
  prefixContent: {
74
- type: (StringConstructor | ObjectConstructor)[];
74
+ type: (ObjectConstructor | StringConstructor)[];
75
75
  default: string;
76
76
  };
77
77
  suffixContent: {
78
- type: (StringConstructor | ObjectConstructor)[];
78
+ type: (ObjectConstructor | StringConstructor)[];
79
79
  default: string;
80
80
  };
81
81
  prependContent: {
82
- type: (StringConstructor | ObjectConstructor)[];
82
+ type: (ObjectConstructor | StringConstructor)[];
83
83
  default: string;
84
84
  };
85
85
  appendContent: {
86
- type: (StringConstructor | ObjectConstructor)[];
86
+ type: (ObjectConstructor | StringConstructor)[];
87
87
  default: string;
88
88
  };
89
89
  unit: {
90
- type: (StringConstructor | ObjectConstructor)[];
90
+ type: (ObjectConstructor | StringConstructor)[];
91
91
  default: string;
92
92
  };
93
93
  resize: {
@@ -102,17 +102,17 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
102
102
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
103
103
  }>, {
104
104
  useRender: boolean | import('../../types').RenderConfig;
105
- width: string;
106
105
  unit: string | Record<string, any>;
107
- modelValue: string | number;
106
+ clearable: boolean;
107
+ rows: number;
108
108
  resize: string;
109
109
  placeholder: string;
110
- clearable: boolean;
110
+ width: string;
111
111
  prefixContent: string | Record<string, any>;
112
112
  suffixContent: string | Record<string, any>;
113
113
  prependContent: string | Record<string, any>;
114
114
  appendContent: string | Record<string, any>;
115
- rows: number;
115
+ modelValue: string | number;
116
116
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
118
118
  export default _default;
@@ -22,23 +22,23 @@ declare const _default: {
22
22
  default: boolean;
23
23
  };
24
24
  prefixContent: {
25
- type: (StringConstructor | ObjectConstructor)[];
25
+ type: (ObjectConstructor | StringConstructor)[];
26
26
  default: string;
27
27
  };
28
28
  suffixContent: {
29
- type: (StringConstructor | ObjectConstructor)[];
29
+ type: (ObjectConstructor | StringConstructor)[];
30
30
  default: string;
31
31
  };
32
32
  prependContent: {
33
- type: (StringConstructor | ObjectConstructor)[];
33
+ type: (ObjectConstructor | StringConstructor)[];
34
34
  default: string;
35
35
  };
36
36
  appendContent: {
37
- type: (StringConstructor | ObjectConstructor)[];
37
+ type: (ObjectConstructor | StringConstructor)[];
38
38
  default: string;
39
39
  };
40
40
  unit: {
41
- type: (StringConstructor | ObjectConstructor)[];
41
+ type: (ObjectConstructor | StringConstructor)[];
42
42
  default: string;
43
43
  };
44
44
  resize: {
@@ -79,15 +79,15 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
79
79
  "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
80
80
  "onUpdate:label"?: ((label: string | string[]) => any) | undefined;
81
81
  }>, {
82
- dictProps: import('../../types').DictProps;
83
82
  useRender: boolean | import('../../types').RenderConfig;
84
- width: string;
85
- modelValue: string | number | boolean | unknown[];
86
- toJoin: boolean;
87
- placeholder: string;
83
+ dictProps: import('../../types').DictProps;
88
84
  clearable: boolean;
85
+ placeholder: string;
86
+ width: string;
89
87
  options: Record<string, any>[];
90
88
  useV2: boolean;
89
+ toJoin: boolean;
90
+ modelValue: string | number | boolean | unknown[];
91
91
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
92
  declare const _default: typeof __VLS_export;
93
93
  export default _default;
@@ -30,7 +30,7 @@ declare const _default: {
30
30
  pagination: {
31
31
  total: number;
32
32
  marginTop: number;
33
- position: string;
33
+ position: "right";
34
34
  pageSizes: number[];
35
35
  background: true;
36
36
  layout: string;
@@ -111,10 +111,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
111
111
  "onUpdate:currentPage"?: ((currentPage: number) => any) | undefined;
112
112
  "onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
113
113
  }>, {
114
- tableLoading: boolean;
115
- tableColumnAlign: string;
116
114
  dictMap: import('../../types').DictMap;
117
115
  dictProps: import('../../types').DictProps;
116
+ tableLoading: boolean;
117
+ tableColumnAlign: string;
118
118
  currentPage: number;
119
119
  pageSize: number;
120
120
  showOverflowTooltip: boolean;