lew-ui 2.1.7 → 2.1.9

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/LICENSE +21 -21
  2. package/README.md +53 -53
  3. package/dist/components/avatar/src/LewAvatar.vue.d.ts +9 -9
  4. package/dist/components/avatar/src/props.d.ts +3 -3
  5. package/dist/components/backtop/src/LewBackTop.vue.d.ts +1 -1
  6. package/dist/components/badge/src/LewBadge.vue.d.ts +3 -3
  7. package/dist/components/button/src/LewButton.vue.d.ts +11 -11
  8. package/dist/components/button/src/props.d.ts +1 -1
  9. package/dist/components/cascader/src/LewCascader.vue.d.ts +6 -6
  10. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
  11. package/dist/components/date-picker/src/LewDate.vue.d.ts +15 -3
  12. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +17 -6
  13. package/dist/components/date-picker/src/LewDateRange.vue.d.ts +11 -0
  14. package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +12 -1
  15. package/dist/components/date-picker/src/props.d.ts +24 -3
  16. package/dist/components/drawer/src/LewDrawer.vue.d.ts +1 -1
  17. package/dist/components/drawer/src/props.d.ts +1 -1
  18. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +1 -1
  19. package/dist/components/empty/src/LewEmpty.vue.d.ts +2 -2
  20. package/dist/components/flex/src/LewFlex.vue.d.ts +4 -4
  21. package/dist/components/form/src/LewForm.vue.d.ts +1 -1
  22. package/dist/components/input/src/LewInput.vue.d.ts +31 -20
  23. package/dist/components/input/src/props.d.ts +8 -2
  24. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
  25. package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +1 -1
  26. package/dist/components/mark/src/LewMark.vue.d.ts +3 -3
  27. package/dist/components/menu/src/props.d.ts +2 -1
  28. package/dist/components/modal/src/LewModal.vue.d.ts +19 -19
  29. package/dist/components/pagination/src/LewPagination.vue.d.ts +8 -10
  30. package/dist/components/pagination/src/props.d.ts +3 -5
  31. package/dist/components/popok/src/LewPopok.vue.d.ts +17 -17
  32. package/dist/components/popover/src/LewPopover.vue.d.ts +8 -8
  33. package/dist/components/popover/src/props.d.ts +2 -2
  34. package/dist/components/radio/src/LewRadio.vue.d.ts +2 -2
  35. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +4 -4
  36. package/dist/components/result/src/LewResult.vue.d.ts +1 -1
  37. package/dist/components/select/src/LewSelect.vue.d.ts +10 -10
  38. package/dist/components/select/src/props.d.ts +1 -1
  39. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +21 -10
  40. package/dist/components/select-multiple/src/props.d.ts +5 -0
  41. package/dist/components/switch/src/LewSwitch.vue.d.ts +3 -3
  42. package/dist/components/table/src/LewTable.vue.d.ts +7 -7
  43. package/dist/components/tabs/src/LewTabs.vue.d.ts +4 -4
  44. package/dist/components/tag/src/LewTag.vue.d.ts +9 -9
  45. package/dist/components/tag/src/props.d.ts +3 -4
  46. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
  47. package/dist/components/text-trim/src/props.d.ts +1 -1
  48. package/dist/components/textarea/src/LewTextarea.vue.d.ts +6 -6
  49. package/dist/components/title/src/LewTitle.vue.d.ts +6 -6
  50. package/dist/components/tree/src/LewTree.vue.d.ts +26 -27
  51. package/dist/components/tree/src/props.d.ts +8 -2
  52. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +22 -11
  53. package/dist/components/tree-select/src/props.d.ts +6 -1
  54. package/dist/directives/dialog/src/LewDialog.vue.d.ts +5 -5
  55. package/dist/directives/dialog/src/props.d.ts +3 -2
  56. package/dist/index.d.ts +2 -1
  57. package/dist/index.mjs +539 -492
  58. package/dist/index.umd.js +4 -4
  59. package/dist/style.css +1 -1
  60. package/package.json +101 -101
@@ -43,9 +43,9 @@ declare const _default: import('vue').DefineComponent<{
43
43
  description: string;
44
44
  };
45
45
  }>>, {
46
- title: string;
47
- type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order";
48
46
  width: string;
47
+ type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order";
48
+ title: string;
49
49
  height: string;
50
50
  }, {}>;
51
51
  export default _default;
@@ -78,12 +78,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
78
78
  };
79
79
  }>>, {
80
80
  x: string;
81
- width: string | number;
82
- y: string;
83
81
  direction: string;
84
- gap: string | number;
85
- mode: string;
82
+ y: string;
86
83
  wrap: boolean;
84
+ mode: string;
85
+ gap: string | number;
86
+ width: string | number;
87
87
  }, {}>, {
88
88
  default?(_: {}): any;
89
89
  }>;
@@ -49,8 +49,8 @@ declare const _default: import('vue').DefineComponent<{
49
49
  }>> & {
50
50
  onChange?: ((...args: any[]) => any) | undefined;
51
51
  }, {
52
- size: string;
53
52
  direction: string;
53
+ size: string;
54
54
  labelWidth: string | number;
55
55
  }, {}>;
56
56
  export default _default;
@@ -1,10 +1,10 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
2
  modelValue: {
3
3
  required: true;
4
- type: globalThis.PropType<string | undefined>;
4
+ type: globalThis.PropType<any>;
5
5
  };
6
- prefixesValue: globalThis.PropType<string | undefined>;
7
- suffixValue: globalThis.PropType<string | undefined>;
6
+ prefixesValue: globalThis.PropType<any>;
7
+ suffixValue: globalThis.PropType<any>;
8
8
  type: {
9
9
  type: StringConstructor;
10
10
  default: string;
@@ -55,6 +55,11 @@ declare const _default: import('vue').DefineComponent<{
55
55
  default: boolean;
56
56
  description: string;
57
57
  };
58
+ minWidth: {
59
+ type: (StringConstructor | NumberConstructor)[];
60
+ default: string;
61
+ description: string;
62
+ };
58
63
  autoWidth: {
59
64
  type: BooleanConstructor;
60
65
  default: boolean;
@@ -76,12 +81,12 @@ declare const _default: import('vue').DefineComponent<{
76
81
  description: string;
77
82
  };
78
83
  prefixes: {
79
- type: globalThis.PropType<import('./props').InputPrefixesType>;
84
+ type: globalThis.PropType<import('../../..').InputPrefixesType>;
80
85
  default: string;
81
86
  description: string;
82
87
  };
83
88
  prefixesOptions: {
84
- type: ArrayConstructor;
89
+ type: globalThis.PropType<import('../../..').SelectOptions[]>;
85
90
  default: () => never[];
86
91
  description: string;
87
92
  };
@@ -91,12 +96,12 @@ declare const _default: import('vue').DefineComponent<{
91
96
  description: string;
92
97
  };
93
98
  suffix: {
94
- type: globalThis.PropType<import('./props').InputSuffixType>;
99
+ type: globalThis.PropType<import('../../..').InputSuffixType>;
95
100
  default: string;
96
101
  description: string;
97
102
  };
98
103
  suffixOptions: {
99
- type: ArrayConstructor;
104
+ type: globalThis.PropType<import('../../..').SelectOptions[]>;
100
105
  default: () => never[];
101
106
  description: string;
102
107
  };
@@ -122,15 +127,15 @@ declare const _default: import('vue').DefineComponent<{
122
127
  change: (...args: any[]) => void;
123
128
  blur: (...args: any[]) => void;
124
129
  clear: (...args: any[]) => void;
125
- ok: (...args: any[]) => void;
126
130
  focus: (...args: any[]) => void;
131
+ ok: (...args: any[]) => void;
127
132
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
128
133
  modelValue: {
129
134
  required: true;
130
- type: globalThis.PropType<string | undefined>;
135
+ type: globalThis.PropType<any>;
131
136
  };
132
- prefixesValue: globalThis.PropType<string | undefined>;
133
- suffixValue: globalThis.PropType<string | undefined>;
137
+ prefixesValue: globalThis.PropType<any>;
138
+ suffixValue: globalThis.PropType<any>;
134
139
  type: {
135
140
  type: StringConstructor;
136
141
  default: string;
@@ -181,6 +186,11 @@ declare const _default: import('vue').DefineComponent<{
181
186
  default: boolean;
182
187
  description: string;
183
188
  };
189
+ minWidth: {
190
+ type: (StringConstructor | NumberConstructor)[];
191
+ default: string;
192
+ description: string;
193
+ };
184
194
  autoWidth: {
185
195
  type: BooleanConstructor;
186
196
  default: boolean;
@@ -202,12 +212,12 @@ declare const _default: import('vue').DefineComponent<{
202
212
  description: string;
203
213
  };
204
214
  prefixes: {
205
- type: globalThis.PropType<import('./props').InputPrefixesType>;
215
+ type: globalThis.PropType<import('../../..').InputPrefixesType>;
206
216
  default: string;
207
217
  description: string;
208
218
  };
209
219
  prefixesOptions: {
210
- type: ArrayConstructor;
220
+ type: globalThis.PropType<import('../../..').SelectOptions[]>;
211
221
  default: () => never[];
212
222
  description: string;
213
223
  };
@@ -217,12 +227,12 @@ declare const _default: import('vue').DefineComponent<{
217
227
  description: string;
218
228
  };
219
229
  suffix: {
220
- type: globalThis.PropType<import('./props').InputSuffixType>;
230
+ type: globalThis.PropType<import('../../..').InputSuffixType>;
221
231
  default: string;
222
232
  description: string;
223
233
  };
224
234
  suffixOptions: {
225
- type: ArrayConstructor;
235
+ type: globalThis.PropType<import('../../..').SelectOptions[]>;
226
236
  default: () => never[];
227
237
  description: string;
228
238
  };
@@ -251,23 +261,24 @@ declare const _default: import('vue').DefineComponent<{
251
261
  }, {
252
262
  type: string;
253
263
  size: string;
254
- disabled: boolean;
255
264
  placeholder: string;
256
265
  clearable: boolean;
257
266
  readonly: boolean;
267
+ disabled: boolean;
258
268
  align: string;
259
269
  focusSelect: boolean;
260
270
  copyable: boolean;
261
271
  showPassword: boolean;
272
+ minWidth: string | number;
262
273
  autoWidth: boolean;
263
274
  maxLength: string | number;
264
275
  showCount: boolean;
265
276
  renderCount: Function;
266
- prefixes: import('./props').InputPrefixesType;
267
- prefixesOptions: unknown[];
277
+ prefixes: import('../../..').InputPrefixesType;
278
+ prefixesOptions: import('../../..').SelectOptions[];
268
279
  prefixesTooltip: string;
269
- suffix: import('./props').InputSuffixType;
270
- suffixOptions: unknown[];
280
+ suffix: import('../../..').InputSuffixType;
281
+ suffixOptions: import('../../..').SelectOptions[];
271
282
  suffixTooltip: string;
272
283
  okByEnter: boolean;
273
284
  regular: (value: string) => boolean;
@@ -1,3 +1,4 @@
1
+ import { SelectOptions } from '../../..';
1
2
  import { ExtractPropTypes, PropType } from 'vue';
2
3
 
3
4
  export type InputPrefixesType = 'icon' | 'select' | 'text';
@@ -70,6 +71,11 @@ export declare const inputProps: {
70
71
  default: boolean;
71
72
  description: string;
72
73
  };
74
+ minWidth: {
75
+ type: (StringConstructor | NumberConstructor)[];
76
+ default: string;
77
+ description: string;
78
+ };
73
79
  autoWidth: {
74
80
  type: BooleanConstructor;
75
81
  default: boolean;
@@ -96,7 +102,7 @@ export declare const inputProps: {
96
102
  description: string;
97
103
  };
98
104
  prefixesOptions: {
99
- type: ArrayConstructor;
105
+ type: PropType<SelectOptions[]>;
100
106
  default: () => never[];
101
107
  description: string;
102
108
  };
@@ -111,7 +117,7 @@ export declare const inputProps: {
111
117
  description: string;
112
118
  };
113
119
  suffixOptions: {
114
- type: ArrayConstructor;
120
+ type: PropType<SelectOptions[]>;
115
121
  default: () => never[];
116
122
  description: string;
117
123
  };
@@ -1,12 +1,12 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: globalThis.PropType<string[] | undefined>;
2
+ modelValue: globalThis.PropType<any>;
3
3
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
- close: (...args: any[]) => void;
5
4
  change: (...args: any[]) => void;
5
+ close: (...args: any[]) => void;
6
6
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
- modelValue: globalThis.PropType<string[] | undefined>;
7
+ modelValue: globalThis.PropType<any>;
8
8
  }>> & {
9
- onClose?: ((...args: any[]) => any) | undefined;
10
9
  onChange?: ((...args: any[]) => any) | undefined;
10
+ onClose?: ((...args: any[]) => any) | undefined;
11
11
  }, {}, {}>;
12
12
  export default _default;
@@ -31,8 +31,8 @@ declare const _default: import('vue').DefineComponent<{
31
31
  description: string;
32
32
  };
33
33
  }>>, {
34
- size: number;
35
34
  value: number;
35
+ size: number;
36
36
  sep: boolean;
37
37
  }, {}>;
38
38
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
2
  color: {
3
- type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
3
+ type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
4
4
  default: string;
5
5
  typeDesc: string;
6
6
  description: string;
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
22
22
  };
23
23
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
24
24
  color: {
25
- type: globalThis.PropType<"red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown">;
25
+ type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
26
26
  default: string;
27
27
  typeDesc: string;
28
28
  description: string;
@@ -44,8 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
44
44
  };
45
45
  }>>, {
46
46
  bold: number;
47
+ color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
47
48
  round: boolean;
48
- color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
49
49
  to: string;
50
50
  }, {}>, {
51
51
  default?(_: {}): any;
@@ -1,3 +1,4 @@
1
+ import { TagColor } from '../../..';
1
2
  import { ExtractPropTypes, PropType } from 'vue';
2
3
 
3
4
  export type MenuOptions = {
@@ -8,7 +9,7 @@ export type MenuOptions = {
8
9
  level?: number;
9
10
  icon?: string;
10
11
  tagText?: string;
11
- tagColor?: string;
12
+ tagColor?: TagColor;
12
13
  };
13
14
  export declare const menuProps: {
14
15
  options: {
@@ -1,5 +1,5 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
- visible: globalThis.PropType<boolean | undefined>;
2
+ visible: globalThis.PropType<any>;
3
3
  title: {
4
4
  type: StringConstructor;
5
5
  default: string;
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
31
31
  description: string;
32
32
  };
33
33
  okProps: {
34
- type: globalThis.PropType<import('../..').ButtonProps>;
34
+ type: globalThis.PropType<import('../../..').ButtonProps>;
35
35
  default: () => {
36
36
  text: string;
37
37
  color: string;
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
39
39
  description: string;
40
40
  };
41
41
  cancelProps: {
42
- type: globalThis.PropType<import('../..').ButtonProps>;
42
+ type: globalThis.PropType<import('../../..').ButtonProps>;
43
43
  default: () => {
44
44
  type: string;
45
45
  text: string;
@@ -53,12 +53,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
53
53
  description: string;
54
54
  };
55
55
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
- close: (...args: any[]) => void;
57
56
  show: (...args: any[]) => void;
58
57
  ok: (...args: any[]) => void;
59
58
  cancel: (...args: any[]) => void;
59
+ close: (...args: any[]) => void;
60
60
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
61
- visible: globalThis.PropType<boolean | undefined>;
61
+ visible: globalThis.PropType<any>;
62
62
  title: {
63
63
  type: StringConstructor;
64
64
  default: string;
@@ -90,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
90
90
  description: string;
91
91
  };
92
92
  okProps: {
93
- type: globalThis.PropType<import('../..').ButtonProps>;
93
+ type: globalThis.PropType<import('../../..').ButtonProps>;
94
94
  default: () => {
95
95
  text: string;
96
96
  color: string;
@@ -98,7 +98,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
98
98
  description: string;
99
99
  };
100
100
  cancelProps: {
101
- type: globalThis.PropType<import('../..').ButtonProps>;
101
+ type: globalThis.PropType<import('../../..').ButtonProps>;
102
102
  default: () => {
103
103
  type: string;
104
104
  text: string;
@@ -112,40 +112,40 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
112
112
  description: string;
113
113
  };
114
114
  }>> & {
115
- onClose?: ((...args: any[]) => any) | undefined;
116
115
  onShow?: ((...args: any[]) => any) | undefined;
117
116
  onOk?: ((...args: any[]) => any) | undefined;
117
+ onClose?: ((...args: any[]) => any) | undefined;
118
118
  onCancel?: ((...args: any[]) => any) | undefined;
119
119
  }, {
120
- title: string;
121
120
  width: string | number;
121
+ title: string;
122
122
  height: string | number;
123
123
  customHeader: boolean;
124
124
  customFooter: boolean;
125
125
  closeByEsc: boolean;
126
126
  okProps: {
127
+ type: import('../../..').ButtonType;
127
128
  text: string;
128
- type: import('../..').ButtonType;
129
- size: import('../..').ButtonSize;
129
+ color: import('../../..').ButtonColor;
130
130
  round: boolean;
131
- color: import('../..').ButtonColor;
131
+ size: import('../../..').ButtonSize;
132
+ disabled: boolean;
133
+ loading: boolean;
132
134
  icon: string;
133
135
  iconPosition: string;
134
- loading: boolean;
135
136
  request: Function;
136
- disabled: boolean;
137
137
  };
138
138
  cancelProps: {
139
+ type: import('../../..').ButtonType;
139
140
  text: string;
140
- type: import('../..').ButtonType;
141
- size: import('../..').ButtonSize;
141
+ color: import('../../..').ButtonColor;
142
142
  round: boolean;
143
- color: import('../..').ButtonColor;
143
+ size: import('../../..').ButtonSize;
144
+ disabled: boolean;
145
+ loading: boolean;
144
146
  icon: string;
145
147
  iconPosition: string;
146
- loading: boolean;
147
148
  request: Function;
148
- disabled: boolean;
149
149
  };
150
150
  closeOnClickOverlay: boolean;
151
151
  }, {}>, {
@@ -1,10 +1,8 @@
1
- import { PaginationOptions } from './props';
2
-
3
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- total: globalThis.PropType<number>;
5
- currentPage: globalThis.PropType<number>;
6
- pageSize: globalThis.PropType<number>;
7
- pageSizeOptions: globalThis.PropType<PaginationOptions[]>;
2
+ total: globalThis.PropType<any>;
3
+ currentPage: globalThis.PropType<any>;
4
+ pageSize: globalThis.PropType<any>;
5
+ pageSizeOptions: globalThis.PropType<any>;
8
6
  visiblePagesCount: {
9
7
  type: NumberConstructor;
10
8
  default: number;
@@ -15,10 +13,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
15
13
  "update:currentPage": (...args: any[]) => void;
16
14
  "update:pageSize": (...args: any[]) => void;
17
15
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
- total: globalThis.PropType<number>;
19
- currentPage: globalThis.PropType<number>;
20
- pageSize: globalThis.PropType<number>;
21
- pageSizeOptions: globalThis.PropType<PaginationOptions[]>;
16
+ total: globalThis.PropType<any>;
17
+ currentPage: globalThis.PropType<any>;
18
+ pageSize: globalThis.PropType<any>;
19
+ pageSizeOptions: globalThis.PropType<any>;
22
20
  visiblePagesCount: {
23
21
  type: NumberConstructor;
24
22
  default: number;
@@ -1,9 +1,7 @@
1
+ import { SelectOptions } from '../../..';
1
2
  import { PropType } from 'vue';
2
3
 
3
- export type PaginationOptions = {
4
- label: number | string;
5
- value: number | string;
6
- };
4
+ export type PaginationOptions = SelectOptions;
7
5
  export declare const paginationModel: {
8
6
  total: {
9
7
  type: NumberConstructor;
@@ -22,7 +20,7 @@ export declare const paginationModel: {
22
20
  description: string;
23
21
  };
24
22
  pageSizeOptions: {
25
- type: PropType<PaginationOptions[]>;
23
+ type: PropType<SelectOptions[]>;
26
24
  default: {
27
25
  label: string;
28
26
  value: number;
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
20
20
  description: string;
21
21
  };
22
22
  okProps: {
23
- type: globalThis.PropType<import('../..').ButtonProps>;
23
+ type: globalThis.PropType<import('../../..').ButtonProps>;
24
24
  default: () => {
25
25
  text: string;
26
26
  color: string;
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
28
28
  description: string;
29
29
  };
30
30
  cancelProps: {
31
- type: globalThis.PropType<import('../..').ButtonProps>;
31
+ type: globalThis.PropType<import('../../..').ButtonProps>;
32
32
  default: () => {
33
33
  type: string;
34
34
  text: string;
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
74
74
  description: string;
75
75
  };
76
76
  okProps: {
77
- type: globalThis.PropType<import('../..').ButtonProps>;
77
+ type: globalThis.PropType<import('../../..').ButtonProps>;
78
78
  default: () => {
79
79
  text: string;
80
80
  color: string;
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
82
82
  description: string;
83
83
  };
84
84
  cancelProps: {
85
- type: globalThis.PropType<import('../..').ButtonProps>;
85
+ type: globalThis.PropType<import('../../..').ButtonProps>;
86
86
  default: () => {
87
87
  type: string;
88
88
  text: string;
@@ -105,35 +105,35 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
105
105
  onOk?: ((...args: any[]) => any) | undefined;
106
106
  onCancel?: ((...args: any[]) => any) | undefined;
107
107
  }, {
108
- title: string;
109
- content: string;
110
- type: string;
111
108
  width: string | number;
109
+ type: string;
110
+ title: string;
112
111
  trigger: string;
113
112
  placement: string;
113
+ content: string;
114
114
  okProps: {
115
+ type: import('../../..').ButtonType;
115
116
  text: string;
116
- type: import('../..').ButtonType;
117
- size: import('../..').ButtonSize;
117
+ color: import('../../..').ButtonColor;
118
118
  round: boolean;
119
- color: import('../..').ButtonColor;
119
+ size: import('../../..').ButtonSize;
120
+ disabled: boolean;
121
+ loading: boolean;
120
122
  icon: string;
121
123
  iconPosition: string;
122
- loading: boolean;
123
124
  request: Function;
124
- disabled: boolean;
125
125
  };
126
126
  cancelProps: {
127
+ type: import('../../..').ButtonType;
127
128
  text: string;
128
- type: import('../..').ButtonType;
129
- size: import('../..').ButtonSize;
129
+ color: import('../../..').ButtonColor;
130
130
  round: boolean;
131
- color: import('../..').ButtonColor;
131
+ size: import('../../..').ButtonSize;
132
+ disabled: boolean;
133
+ loading: boolean;
132
134
  icon: string;
133
135
  iconPosition: string;
134
- loading: boolean;
135
136
  request: Function;
136
- disabled: boolean;
137
137
  };
138
138
  }, {}>, {
139
139
  default?(_: {}): any;
@@ -33,12 +33,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
33
33
  description: string;
34
34
  };
35
35
  offset: {
36
- type: ArrayConstructor;
36
+ type: globalThis.PropType<number[]>;
37
37
  default: number[];
38
38
  description: string;
39
39
  };
40
40
  hideOnClick: {
41
- type: (BooleanConstructor | StringConstructor)[];
41
+ type: (StringConstructor | BooleanConstructor)[];
42
42
  default: boolean;
43
43
  };
44
44
  }, {
@@ -83,26 +83,26 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
83
83
  description: string;
84
84
  };
85
85
  offset: {
86
- type: ArrayConstructor;
86
+ type: globalThis.PropType<number[]>;
87
87
  default: number[];
88
88
  description: string;
89
89
  };
90
90
  hideOnClick: {
91
- type: (BooleanConstructor | StringConstructor)[];
91
+ type: (StringConstructor | BooleanConstructor)[];
92
92
  default: boolean;
93
93
  };
94
94
  }>> & {
95
95
  onShow?: ((...args: any[]) => any) | undefined;
96
96
  onHide?: ((...args: any[]) => any) | undefined;
97
97
  }, {
98
- loading: boolean;
99
- disabled: boolean;
100
98
  trigger: string;
99
+ disabled: boolean;
100
+ loading: boolean;
101
101
  placement: string;
102
- offset: unknown[];
103
102
  popoverBodyClassName: string;
104
- hideOnClick: string | boolean;
105
103
  triggerTarget: Element;
104
+ offset: number[];
105
+ hideOnClick: string | boolean;
106
106
  }, {}>, {
107
107
  trigger?(_: {}): any;
108
108
  "popover-body"?(_: {
@@ -35,12 +35,12 @@ export declare const popoverProps: {
35
35
  description: string;
36
36
  };
37
37
  offset: {
38
- type: ArrayConstructor;
38
+ type: globalThis.PropType<number[]>;
39
39
  default: number[];
40
40
  description: string;
41
41
  };
42
42
  hideOnClick: {
43
- type: (BooleanConstructor | StringConstructor)[];
43
+ type: (StringConstructor | BooleanConstructor)[];
44
44
  default: boolean;
45
45
  };
46
46
  };
@@ -86,10 +86,10 @@ declare const _default: import('vue').DefineComponent<{
86
86
  onChange?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
88
  label: string;
89
- size: import('./props').RadioSize;
90
89
  round: boolean;
91
- disabled: boolean;
90
+ size: import('./props').RadioSize;
92
91
  readonly: boolean;
92
+ disabled: boolean;
93
93
  checked: boolean;
94
94
  block: boolean;
95
95
  iconable: boolean;
@@ -1,7 +1,7 @@
1
1
  import { RadioOptions } from './props';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
- modelValue: globalThis.PropType<string | number | undefined>;
4
+ modelValue: globalThis.PropType<any>;
5
5
  block: {
6
6
  type: BooleanConstructor;
7
7
  default: boolean;
@@ -40,7 +40,7 @@ declare const _default: import('vue').DefineComponent<{
40
40
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
41
  change: (...args: any[]) => void;
42
42
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
43
- modelValue: globalThis.PropType<string | number | undefined>;
43
+ modelValue: globalThis.PropType<any>;
44
44
  block: {
45
45
  type: BooleanConstructor;
46
46
  default: boolean;
@@ -79,12 +79,12 @@ declare const _default: import('vue').DefineComponent<{
79
79
  }>> & {
80
80
  onChange?: ((...args: any[]) => any) | undefined;
81
81
  }, {
82
+ direction: string;
82
83
  size: import('./props').RadioSize;
83
84
  options: RadioOptions[];
84
- disabled: boolean;
85
85
  readonly: boolean;
86
+ disabled: boolean;
86
87
  block: boolean;
87
88
  iconable: boolean;
88
- direction: string;
89
89
  }, {}>;
90
90
  export default _default;
@@ -31,9 +31,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
31
31
  description: string;
32
32
  };
33
33
  }>>, {
34
+ type: string;
34
35
  title: string;
35
36
  content: string;
36
- type: string;
37
37
  }, {}>, {
38
38
  handle?(_: {}): any;
39
39
  }>;