@wyfex/ivue 0.19.2 → 0.19.4

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 (47) hide show
  1. package/dist/index.es.js +12 -12
  2. package/dist/index.umd.cjs +12 -12
  3. package/dist/ivue.css +1 -1
  4. package/dist/types/{UseCrudTable → UseCrud}/defaultExtConfig.d.ts +6 -0
  5. package/dist/types/UseCrud/hook.d.ts +31 -0
  6. package/dist/types/{UseCrudTable → UseCrud}/index.vue.d.ts +6 -12
  7. package/dist/types/UseCrud/props.d.ts +13 -0
  8. package/dist/types/UseCrud/types.d.ts +33 -0
  9. package/dist/types/UseCrud/useCrudWithBusiness.d.ts +46 -0
  10. package/dist/types/UseElButton/index.vue.d.ts +1 -1
  11. package/dist/types/UseElCheckbox/index.vue.d.ts +1 -1
  12. package/dist/types/UseElCheckbox/types.d.ts +2 -2
  13. package/dist/types/UseElConfigProvider/types.d.ts +4 -0
  14. package/dist/types/UseElDatePicker/index.vue.d.ts +1 -1
  15. package/dist/types/UseElDescriptions/index.vue.d.ts +1 -1
  16. package/dist/types/UseElDialog/index.vue.d.ts +1 -1
  17. package/dist/types/UseElDrawer/index.vue.d.ts +2 -2
  18. package/dist/types/UseElForm/components/QueryForm.vue.d.ts +1 -3
  19. package/dist/types/UseElForm/components/RowForm.vue.d.ts +1 -3
  20. package/dist/types/UseElForm/index.vue.d.ts +1 -1
  21. package/dist/types/UseElForm/types.d.ts +20 -21
  22. package/dist/types/UseElInput/index.vue.d.ts +11 -11
  23. package/dist/types/UseElInput/props.d.ts +5 -5
  24. package/dist/types/UseElSelect/index.vue.d.ts +2 -2
  25. package/dist/types/UseElTable/defaultExtConfig.d.ts +1 -0
  26. package/dist/types/UseElTable/index.vue.d.ts +20 -2
  27. package/dist/types/UseElTable/props.d.ts +8 -0
  28. package/dist/types/UseElTable/types.d.ts +1 -0
  29. package/dist/types/UseRender/index.vue.d.ts +1 -1
  30. package/dist/types/index.d.ts +2 -1
  31. package/package.json +8 -8
  32. package/src/components/UseCrud/defaultExtConfig.ts +15 -0
  33. package/src/components/UseCrud/props.ts +25 -0
  34. package/src/components/UseCrud/types.ts +85 -0
  35. package/src/components/UseElCheckbox/types.ts +2 -2
  36. package/src/components/UseElConfigProvider/types.ts +9 -0
  37. package/src/components/UseElForm/types.ts +165 -54
  38. package/src/components/UseElTable/defaultExtConfig.ts +1 -1
  39. package/src/components/UseElTable/props.ts +14 -0
  40. package/src/components/UseElTable/types.ts +8 -1
  41. package/src/types/index.ts +8 -0
  42. package/dist/types/UseCrudTable/props.d.ts +0 -18
  43. package/dist/types/UseCrudTable/types.d.ts +0 -26
  44. package/src/components/UseCrudTable/defaultExtConfig.ts +0 -28
  45. package/src/components/UseCrudTable/props.ts +0 -32
  46. package/src/components/UseCrudTable/types.ts +0 -51
  47. /package/dist/types/{UseCrudTable → UseCrud}/utils.d.ts +0 -0
@@ -1,4 +1,7 @@
1
1
  declare const _default: {
2
+ mode: {
3
+ type: "PAGE";
4
+ };
2
5
  actionBar: {
3
6
  margin: string;
4
7
  showControlFormDisplayBtn: true;
@@ -8,5 +11,8 @@ declare const _default: {
8
11
  borderStyle: "solid";
9
12
  };
10
13
  };
14
+ modal: {
15
+ type: "Drawer";
16
+ };
11
17
  };
12
18
  export default _default;
@@ -0,0 +1,31 @@
1
+ import { ComputedRef, Slots } from 'vue';
2
+ import { Emits, Props } 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
+ }) => {
12
+ state: any;
13
+ heightComputed: ComputedRef<string>;
14
+ margin: ComputedRef<string | undefined>;
15
+ actionBar: import('./types').ActionBar | undefined;
16
+ handleDisplayQueryForm: () => void;
17
+ showModal: import('vue').Ref<boolean, boolean>;
18
+ modalComponent: import('vue').ShallowRef<null, null> | import('vue').ShallowRef<import('vue').ComponentOptions<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, import('vue').ComponentOptions<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>> | import('vue').ShallowRef<import('vue').FunctionalComponent<any, {}, any, {}>, import('vue').FunctionalComponent<any, {}, any, {}>> | import('vue').ShallowRef<{
19
+ new (...args: any[]): any;
20
+ __isFragment?: never;
21
+ __isTeleport?: never;
22
+ __isSuspense?: never;
23
+ }, {
24
+ new (...args: any[]): any;
25
+ __isFragment?: never;
26
+ __isTeleport?: never;
27
+ __isSuspense?: never;
28
+ }>;
29
+ handleShowModal: () => Promise<void>;
30
+ handleCloseModal: ComputedRef<any>;
31
+ };
@@ -3,16 +3,15 @@ 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
11
  uefRef: import('vue').Ref<any, any>;
12
+ modalRef: import('vue').Ref<any, any>;
13
+ handleShowModal: () => Promise<void>;
14
+ handleCloseModal: import('vue').ComputedRef<any>;
16
15
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
16
  onDictKeys: (value?: string[] | undefined) => any;
18
17
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -20,19 +19,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
20
19
  type: import('vue').PropType<import('./types').Configs[]>;
21
20
  required: boolean;
22
21
  };
23
- tableExtConfig: {
24
- type: import('vue').PropType<import('../UseElTable/types').ExtConfig>;
25
- default: () => {};
26
- };
27
22
  extConfig: {
28
- type: import('vue').PropType<import('./types').ExtConfig>;
23
+ type: import('vue').PropType<import('./types').MergedExtConfig>;
29
24
  default: () => {};
30
25
  };
31
26
  }>> & Readonly<{
32
27
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
33
28
  }>, {
34
- extConfig: import('./types').ExtConfig;
35
- tableExtConfig: import('../UseElTable/types').ExtConfig;
29
+ extConfig: import('./types').MergedExtConfig;
36
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
32
  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,33 @@
1
+ import { Component, ExtractPropTypes } 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 = Omit<FormColumn, 'prop'> & Omit<TableColumn, 'prop'>;
10
+ export interface Configs extends BaseConfigs {
11
+ prop: string;
12
+ onlySearch?: boolean;
13
+ tableOrder?: number;
14
+ }
15
+ export interface Divider {
16
+ show?: boolean;
17
+ borderStyle?: 'none' | 'solid' | 'hidden' | 'dashed';
18
+ }
19
+ export interface ActionBar {
20
+ margin?: string;
21
+ showControlFormDisplayBtn?: boolean;
22
+ controlFormDisplayBtnWithOpenedIcon?: Component;
23
+ controlFormDisplayBtnWithClosedIcon?: Component;
24
+ reverse?: boolean;
25
+ divider?: Divider;
26
+ }
27
+ export interface ExtConfig {
28
+ actionBar?: ActionBar;
29
+ modal?: {
30
+ type?: 'Drawer' | 'Dialog';
31
+ };
32
+ }
33
+ export type MergedExtConfig = ExtConfig & TableExtConfig;
@@ -0,0 +1,46 @@
1
+ interface UseCrudState {
2
+ configs: Record<string, any>[];
3
+ formModel: Record<string, any>;
4
+ formParams: Record<string, any>;
5
+ tableLoading: boolean;
6
+ tableData: any[];
7
+ currentPage: number;
8
+ pageSize: number;
9
+ total: number;
10
+ dictMap: Record<string, any>;
11
+ selectionData: any[];
12
+ modalTitle: string;
13
+ }
14
+ interface Options {
15
+ params: Record<string, any>;
16
+ isPageApi: boolean;
17
+ }
18
+ export declare const useCrud: () => {
19
+ state: import('vue').Ref<{
20
+ configs: Record<string, any>[];
21
+ formModel: Record<string, any>;
22
+ formParams: Record<string, any>;
23
+ tableLoading: boolean;
24
+ tableData: any[];
25
+ currentPage: number;
26
+ pageSize: number;
27
+ total: number;
28
+ dictMap: Record<string, any>;
29
+ selectionData: any[];
30
+ modalTitle: string;
31
+ }, UseCrudState | {
32
+ configs: Record<string, any>[];
33
+ formModel: Record<string, any>;
34
+ formParams: Record<string, any>;
35
+ tableLoading: boolean;
36
+ tableData: any[];
37
+ currentPage: number;
38
+ pageSize: number;
39
+ total: number;
40
+ dictMap: Record<string, any>;
41
+ selectionData: any[];
42
+ modalTitle: string;
43
+ }>;
44
+ fetchTableData: (api: Function, options: Options) => Promise<void>;
45
+ };
46
+ export {};
@@ -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
- toJoin: boolean;
58
57
  modelValue: string | unknown[];
58
+ toJoin: boolean;
59
59
  defaultProps: Record<string, any>;
60
60
  showCheckAll: boolean;
61
61
  vertical: boolean;
@@ -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 | (string | number)[]): void;
6
- }
6
+ };
@@ -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,8 +79,8 @@ 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;
83
+ type: string;
84
84
  modelValue: string | number | unknown[];
85
85
  startPlaceholder: string;
86
86
  endPlaceholder: string;
@@ -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;
@@ -153,7 +153,6 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
153
153
  };
154
154
  }>> & Readonly<{}>, {
155
155
  title: string;
156
- onClose: Function;
157
156
  appendToBody: boolean;
158
157
  maxHeight: string | number;
159
158
  noresize: boolean;
@@ -165,6 +164,7 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
165
164
  showFooterTopBorder: boolean;
166
165
  footerPosition: string;
167
166
  strictCloseEvent: boolean;
167
+ onClose: Function;
168
168
  confirmBtnText: string;
169
169
  cancelBtnText: string;
170
170
  cancelBtnType: string;
@@ -128,9 +128,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
128
128
  default: () => void;
129
129
  };
130
130
  }>> & Readonly<{}>, {
131
- title: string;
132
131
  size: string | number;
133
- onClose: Function;
132
+ title: string;
134
133
  appendToBody: boolean;
135
134
  closeOnClickModal: boolean;
136
135
  destroyOnClose: boolean;
@@ -138,6 +137,7 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
138
137
  showFooter: boolean;
139
138
  footerPosition: string;
140
139
  strictCloseEvent: boolean;
140
+ onClose: Function;
141
141
  confirmBtnText: string;
142
142
  cancelBtnText: string;
143
143
  cancelBtnType: string;
@@ -58,7 +58,6 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
58
58
  handleDisplayQueryForm: () => void;
59
59
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
60
60
  onDictKeys: (value?: string[] | undefined) => any;
61
- "update:formModel": (value: Record<string, any>) => any;
62
61
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
63
62
  formColumns: {
64
63
  type: import('vue').PropType<import('../types').FormColumn[]>;
@@ -116,11 +115,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
116
115
  };
117
116
  }>> & Readonly<{
118
117
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
119
- "onUpdate:formModel"?: ((value: Record<string, any>) => any) | undefined;
120
118
  }>, {
119
+ useRender: boolean | import('../../../types').RenderConfig;
121
120
  dictMap: import('../../../types').DictMap;
122
121
  dictProps: import('../../../types').DictProps;
123
- useRender: boolean | import('../../../types').RenderConfig;
124
122
  formItemWidth: string;
125
123
  labelSuffix: string;
126
124
  labelWidth: string;
@@ -57,7 +57,6 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
57
57
  efRef: import('vue').Ref<null, null>;
58
58
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
59
59
  onDictKeys: (value?: string[] | undefined) => any;
60
- "update:formModel": (value: Record<string, any>) => any;
61
60
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
61
  formColumns: {
63
62
  type: import('vue').PropType<import('../types').FormColumn[]>;
@@ -115,11 +114,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
115
114
  };
116
115
  }>> & Readonly<{
117
116
  onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
118
- "onUpdate:formModel"?: ((value: Record<string, any>) => any) | undefined;
119
117
  }>, {
118
+ useRender: boolean | import('../../../types').RenderConfig;
120
119
  dictMap: import('../../../types').DictMap;
121
120
  dictProps: import('../../../types').DictProps;
122
- useRender: boolean | import('../../../types').RenderConfig;
123
121
  formItemWidth: string;
124
122
  labelSuffix: string;
125
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;
@@ -2,10 +2,9 @@ import { ExtractPropTypes } from 'vue';
2
2
  import { default as componentProps } from './props';
3
3
  import { RenderConfig, UseDict } from '../../types';
4
4
  export type Props = ExtractPropTypes<typeof componentProps>;
5
- export interface Emits {
5
+ export type Emits = {
6
6
  (e: 'onDictKeys', value?: string[]): void;
7
- (e: 'update:formModel', value: Record<string, any>): void;
8
- }
7
+ };
9
8
  export interface QueryConfig {
10
9
  mode?: 'ROW' | 'INLINE';
11
10
  colSpan?: 24 | 12 | 8 | 6 | 4 | 3 | 2 | 1 | 0;
@@ -15,7 +14,7 @@ export interface QueryConfig {
15
14
  onQuery?: Function;
16
15
  }
17
16
  export interface InputConfig {
18
- useRender: boolean | RenderConfig;
17
+ useRender?: boolean | RenderConfig;
19
18
  type?: 'text' | 'textarea' | 'number' | 'password' | 'email' | 'search' | 'tel' | 'url';
20
19
  prefixIcon?: string;
21
20
  suffixIcon?: string;
@@ -38,12 +37,12 @@ export interface InputConfig {
38
37
  prependContent?: string | object;
39
38
  appendContent?: string | object;
40
39
  unit?: string | object;
41
- onClear?: (...args: any) => any;
40
+ onClear?: Function;
42
41
  inputEvent?: Function;
43
- onKeyupEnter?: (...args: any) => any;
42
+ onKeyupEnter?: Function;
44
43
  }
45
44
  export interface InputNumberConfig {
46
- useRender: boolean | RenderConfig;
45
+ useRender?: boolean | RenderConfig;
47
46
  min?: number;
48
47
  max?: number;
49
48
  step?: number;
@@ -53,7 +52,7 @@ export interface InputNumberConfig {
53
52
  unit?: string | object;
54
53
  }
55
54
  export interface RadioConfig {
56
- useRender: boolean | RenderConfig;
55
+ useRender?: boolean | RenderConfig;
57
56
  options?: Array<{
58
57
  label: string;
59
58
  value: string | number;
@@ -63,10 +62,10 @@ export interface RadioConfig {
63
62
  label?: string;
64
63
  };
65
64
  reverse?: boolean;
66
- onChange?: (...args: any) => any;
65
+ onChange?: Function;
67
66
  }
68
67
  export interface SelectConfig {
69
- useRender: boolean | RenderConfig;
68
+ useRender?: boolean | RenderConfig;
70
69
  multiple?: boolean;
71
70
  clearable?: boolean;
72
71
  filterable?: boolean;
@@ -83,10 +82,10 @@ export interface SelectConfig {
83
82
  reverse?: boolean;
84
83
  toJoin?: boolean;
85
84
  width?: string;
86
- onChange?: (...args: any) => any;
85
+ onChange?: Function;
87
86
  }
88
87
  export interface CascaderConfig {
89
- useRender: boolean | RenderConfig;
88
+ useRender?: boolean | RenderConfig;
90
89
  clearable?: boolean;
91
90
  options?: Array<{
92
91
  label: string;
@@ -97,10 +96,10 @@ export interface CascaderConfig {
97
96
  label?: string;
98
97
  };
99
98
  width?: string;
100
- onChange?: (...args: any) => any;
99
+ onChange?: Function;
101
100
  }
102
101
  export interface DatePickerConfig {
103
- useRender: boolean | RenderConfig;
102
+ useRender?: boolean | RenderConfig;
104
103
  type?: 'year' | 'years' | 'month' | 'months' | 'date' | 'dates' | 'datetime' | 'week' | 'datetimerange' | 'daterange' | 'monthrange' | 'yearrange';
105
104
  clearable?: boolean;
106
105
  disabledDate?: Function;
@@ -116,7 +115,7 @@ export interface DatePickerConfig {
116
115
  onChange?: Function;
117
116
  }
118
117
  export interface TimePickerConfig {
119
- useRender: boolean | RenderConfig;
118
+ useRender?: boolean | RenderConfig;
120
119
  startPlaceholder?: string;
121
120
  endPlaceholder?: string;
122
121
  rangeSeparator?: string;
@@ -124,18 +123,18 @@ export interface TimePickerConfig {
124
123
  editable?: boolean;
125
124
  format?: string;
126
125
  valueFormat?: string;
127
- onChange?: (...args: any) => any;
126
+ onChange?: Function;
128
127
  }
129
128
  export interface TimeSelectConfig {
130
- useRender: boolean | RenderConfig;
129
+ useRender?: boolean | RenderConfig;
131
130
  startProp: string;
132
131
  endProp: string;
133
132
  }
134
133
  export interface SwitchConfig {
135
- useRender: boolean | RenderConfig;
134
+ useRender?: boolean | RenderConfig;
136
135
  activeValue?: string | number | boolean;
137
136
  inactiveValue?: string | number | boolean;
138
- onChange?: (...args: any) => any;
137
+ onChange?: Function;
139
138
  }
140
139
  export interface InputRangeConfig {
141
140
  startProp: string;
@@ -143,7 +142,7 @@ export interface InputRangeConfig {
143
142
  startPlaceholder?: string;
144
143
  endPlaceholder?: string;
145
144
  rangeSeparator?: string;
146
- onClear?: (...args: any) => any;
145
+ onClear?: Function;
147
146
  }
148
147
  export interface TreeSelectConfig {
149
148
  useRender?: boolean | RenderConfig;
@@ -169,7 +168,7 @@ export interface FormColumn {
169
168
  label?: string;
170
169
  prop: string;
171
170
  queryProp?: string | string[];
172
- required: boolean | IRequired;
171
+ required?: boolean | IRequired;
173
172
  errorMessage?: string;
174
173
  disabled?: boolean;
175
174
  useDict?: boolean | string | UseDict;
@@ -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: {
@@ -104,8 +104,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
104
104
  useRender: boolean | import('../../types').RenderConfig;
105
105
  width: string;
106
106
  unit: string | Record<string, any>;
107
- resize: string;
108
107
  modelValue: string | number;
108
+ resize: string;
109
109
  placeholder: string;
110
110
  clearable: boolean;
111
111
  prefixContent: string | Record<string, any>;
@@ -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,11 +79,11 @@ 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;
83
+ dictProps: import('../../types').DictProps;
84
84
  width: string;
85
- toJoin: boolean;
86
85
  modelValue: string | number | boolean | unknown[];
86
+ toJoin: boolean;
87
87
  placeholder: string;
88
88
  clearable: boolean;
89
89
  options: Record<string, any>[];
@@ -18,6 +18,7 @@ declare const _default: {
18
18
  width: number;
19
19
  align: string;
20
20
  fixed: true;
21
+ isContinuous: true;
21
22
  };
22
23
  expand: {
23
24
  show: false;
@@ -24,6 +24,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
24
24
  type: import('vue').PropType<import('../../types').DictProps>;
25
25
  default: () => {};
26
26
  };
27
+ currentPage: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ pageSize: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
27
35
  showOverflowTooltip: {
28
36
  type: BooleanConstructor;
29
37
  default: boolean;
@@ -73,6 +81,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
73
81
  type: import('vue').PropType<import('../../types').DictProps>;
74
82
  default: () => {};
75
83
  };
84
+ currentPage: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ pageSize: {
89
+ type: NumberConstructor;
90
+ default: number;
91
+ };
76
92
  showOverflowTooltip: {
77
93
  type: BooleanConstructor;
78
94
  default: boolean;
@@ -95,10 +111,12 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
95
111
  "onUpdate:currentPage"?: ((currentPage: number) => any) | undefined;
96
112
  "onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
97
113
  }>, {
98
- tableLoading: boolean;
99
- tableColumnAlign: string;
100
114
  dictMap: import('../../types').DictMap;
101
115
  dictProps: import('../../types').DictProps;
116
+ tableLoading: boolean;
117
+ tableColumnAlign: string;
118
+ currentPage: number;
119
+ pageSize: number;
102
120
  showOverflowTooltip: boolean;
103
121
  headerCellStyle: Record<string, string>;
104
122
  extConfig: import('./types').ExtConfig;
@@ -27,6 +27,14 @@ declare const _default: {
27
27
  type: PropType<DictProps>;
28
28
  default: () => {};
29
29
  };
30
+ currentPage: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ };
34
+ pageSize: {
35
+ type: NumberConstructor;
36
+ default: number;
37
+ };
30
38
  showOverflowTooltip: {
31
39
  type: BooleanConstructor;
32
40
  default: boolean;