lew-ui 2.1.14 → 2.2.2

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 (111) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +49 -53
  3. package/dist/components/avatar/src/LewAvatar.vue.d.ts +0 -11
  4. package/dist/components/avatar/src/props.d.ts +0 -5
  5. package/dist/components/backtop/src/LewBackTop.vue.d.ts +6 -4
  6. package/dist/components/badge/src/LewBadge.vue.d.ts +6 -4
  7. package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +6 -2
  8. package/dist/components/breadcrumb/src/props.d.ts +1 -1
  9. package/dist/components/button/src/LewButton.vue.d.ts +7 -5
  10. package/dist/components/cascader/src/LewCascader.vue.d.ts +8 -6
  11. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
  12. package/dist/components/collapse/index.d.ts +4 -0
  13. package/dist/components/collapse/src/LewCollapse.vue.d.ts +38 -0
  14. package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +68 -0
  15. package/dist/components/collapse/src/props.d.ts +52 -0
  16. package/dist/components/date-picker/index.d.ts +0 -2
  17. package/dist/components/date-picker/src/LewDate.vue.d.ts +3 -3
  18. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +13 -2
  19. package/dist/components/date-picker/src/props.d.ts +6 -69
  20. package/dist/components/date-range-picker/index.d.ts +3 -0
  21. package/dist/components/{date-picker → date-range-picker}/src/LewDateRange.vue.d.ts +2 -2
  22. package/dist/components/{date-picker → date-range-picker}/src/LewDateRangePicker.vue.d.ts +7 -5
  23. package/dist/components/date-range-picker/src/props.d.ts +75 -0
  24. package/dist/components/drawer/src/LewDrawer.vue.d.ts +16 -14
  25. package/dist/components/drawer/src/props.d.ts +3 -3
  26. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +9 -42
  27. package/dist/components/dropdown/src/props.d.ts +2 -16
  28. package/dist/components/empty/src/LewEmpty.vue.d.ts +23 -1
  29. package/dist/components/empty/src/props.d.ts +10 -0
  30. package/dist/components/expand/index.d.ts +2 -0
  31. package/dist/components/expand/src/LewExpand.vue.d.ts +27 -0
  32. package/dist/components/expand/src/props.d.ts +10 -0
  33. package/dist/components/flex/src/LewFlex.vue.d.ts +6 -4
  34. package/dist/components/form/index.d.ts +1 -0
  35. package/dist/components/form/src/LewForm.vue.d.ts +67 -7
  36. package/dist/components/form/src/LewFormItem.vue.d.ts +200 -0
  37. package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +22 -0
  38. package/dist/components/form/src/RequiredIcon.vue.d.ts +14 -0
  39. package/dist/components/form/src/props.d.ts +112 -7
  40. package/dist/components/image/index.d.ts +2 -0
  41. package/dist/components/image/src/LewImage.vue.d.ts +124 -0
  42. package/dist/components/image/src/props.d.ts +55 -0
  43. package/dist/components/index.d.ts +8 -0
  44. package/dist/components/input/src/LewInput.vue.d.ts +12 -12
  45. package/dist/components/input/src/props.d.ts +3 -3
  46. package/dist/components/input-number/index.d.ts +2 -0
  47. package/dist/components/input-number/src/LewInputNumber.vue.d.ts +150 -0
  48. package/dist/components/input-number/src/props.d.ts +67 -0
  49. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +2 -2
  50. package/dist/components/mark/src/LewMark.vue.d.ts +15 -9
  51. package/dist/components/mark/src/props.d.ts +1 -1
  52. package/dist/components/menu/src/props.d.ts +1 -1
  53. package/dist/components/menu-tree/src/props.d.ts +1 -1
  54. package/dist/components/modal/src/LewModal.vue.d.ts +34 -10
  55. package/dist/components/modal/src/props.d.ts +11 -1
  56. package/dist/components/pagination/src/LewPagination.vue.d.ts +15 -13
  57. package/dist/components/pagination/src/props.d.ts +2 -2
  58. package/dist/components/popok/src/LewPopok.vue.d.ts +9 -7
  59. package/dist/components/popok/src/props.d.ts +1 -1
  60. package/dist/components/popover/src/LewPopover.vue.d.ts +12 -10
  61. package/dist/components/popover/src/props.d.ts +1 -1
  62. package/dist/components/radio/src/LewRadio.vue.d.ts +1 -1
  63. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +2 -2
  64. package/dist/components/result/src/LewResult.vue.d.ts +6 -4
  65. package/dist/components/select/src/LewSelect.vue.d.ts +14 -12
  66. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +14 -12
  67. package/dist/components/slider/index.d.ts +2 -0
  68. package/dist/components/slider/src/LewSlider.vue.d.ts +8 -0
  69. package/dist/components/slider/src/props.d.ts +4 -0
  70. package/dist/components/slider-range/index.d.ts +2 -0
  71. package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +8 -0
  72. package/dist/components/slider-range/src/props.d.ts +4 -0
  73. package/dist/components/steps/src/LewSteps.vue.d.ts +2 -2
  74. package/dist/components/switch/src/LewSwitch.vue.d.ts +5 -5
  75. package/dist/components/switch/src/props.d.ts +1 -1
  76. package/dist/components/table/src/LewTable.vue.d.ts +15 -13
  77. package/dist/components/tabs/src/LewTabs.vue.d.ts +3 -3
  78. package/dist/components/tag/src/LewTag.vue.d.ts +8 -6
  79. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
  80. package/dist/components/text-trim/src/props.d.ts +1 -1
  81. package/dist/components/textarea/src/LewTextarea.vue.d.ts +57 -2
  82. package/dist/components/textarea/src/props.d.ts +25 -0
  83. package/dist/components/title/src/LewTitle.vue.d.ts +6 -4
  84. package/dist/components/tree/src/LewTree.vue.d.ts +13 -11
  85. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +13 -11
  86. package/dist/components/tree-select/src/props.d.ts +1 -1
  87. package/dist/components/upload/index.d.ts +2 -0
  88. package/dist/components/upload/src/LewUpload.vue.d.ts +123 -0
  89. package/dist/components/upload/src/props.d.ts +69 -0
  90. package/dist/directives/context-menu/index.d.ts +2 -0
  91. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +22 -0
  92. package/dist/directives/context-menu/src/index.d.ts +24 -0
  93. package/dist/directives/dialog/index.d.ts +1 -2
  94. package/dist/directives/dialog/src/LewDialog.vue.d.ts +7 -7
  95. package/dist/directives/dialog/src/index.d.ts +10 -2
  96. package/dist/directives/dialog/src/props.d.ts +1 -1
  97. package/dist/directives/index.d.ts +1 -0
  98. package/dist/directives/loading/index.d.ts +1 -1
  99. package/dist/directives/loading/src/index.d.ts +1 -2
  100. package/dist/directives/notification/index.d.ts +0 -1
  101. package/dist/directives/notification/src/index.d.ts +16 -2
  102. package/dist/directives/tooltip/index.d.ts +1 -1
  103. package/dist/directives/tooltip/src/index.d.ts +1 -2
  104. package/dist/hooks/index.d.ts +0 -1
  105. package/dist/index.d.ts +1 -1
  106. package/dist/index.mjs +5721 -3565
  107. package/dist/index.umd.js +16 -16
  108. package/dist/style.css +1 -1
  109. package/dist/utils/index.d.ts +8 -2
  110. package/package.json +7 -6
  111. package/dist/hooks/src/useLewTo.d.ts +0 -3
@@ -1,12 +1,29 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- options: globalThis.PropType<any>;
3
- size: {
2
+ id: {
4
3
  type: StringConstructor;
5
4
  default: string;
6
5
  description: string;
6
+ hidden: boolean;
7
+ };
8
+ options: {
9
+ type: ArrayConstructor;
10
+ required: boolean;
11
+ default: never[];
12
+ description: string;
13
+ };
14
+ size: {
15
+ type: globalThis.PropType<import('./props').FormSize>;
16
+ default: string;
17
+ description: string;
7
18
  };
8
19
  width: {
9
20
  type: (StringConstructor | NumberConstructor)[];
21
+ default: string;
22
+ description: string;
23
+ };
24
+ columns: {
25
+ type: (StringConstructor | NumberConstructor)[];
26
+ default: number;
10
27
  description: string;
11
28
  };
12
29
  labelWidth: {
@@ -14,27 +31,54 @@ declare const _default: import('vue').DefineComponent<{
14
31
  default: string;
15
32
  description: string;
16
33
  };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ description: string;
38
+ };
39
+ readonly: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ description: string;
43
+ };
17
44
  direction: {
18
45
  type: StringConstructor;
19
46
  default: string;
20
47
  description: string;
21
48
  };
22
49
  }, {
23
- getForm: () => any;
50
+ getForm: () => {};
24
51
  setForm: (value?: any) => void;
25
- validate: (field: string) => Promise<unknown>;
52
+ validate: () => Promise<boolean>;
26
53
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
54
  change: (...args: any[]) => void;
28
55
  mounted: (...args: any[]) => void;
29
56
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
30
- options: globalThis.PropType<any>;
31
- size: {
57
+ id: {
32
58
  type: StringConstructor;
33
59
  default: string;
34
60
  description: string;
61
+ hidden: boolean;
62
+ };
63
+ options: {
64
+ type: ArrayConstructor;
65
+ required: boolean;
66
+ default: never[];
67
+ description: string;
68
+ };
69
+ size: {
70
+ type: globalThis.PropType<import('./props').FormSize>;
71
+ default: string;
72
+ description: string;
35
73
  };
36
74
  width: {
37
75
  type: (StringConstructor | NumberConstructor)[];
76
+ default: string;
77
+ description: string;
78
+ };
79
+ columns: {
80
+ type: (StringConstructor | NumberConstructor)[];
81
+ default: number;
38
82
  description: string;
39
83
  };
40
84
  labelWidth: {
@@ -42,6 +86,16 @@ declare const _default: import('vue').DefineComponent<{
42
86
  default: string;
43
87
  description: string;
44
88
  };
89
+ disabled: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ description: string;
93
+ };
94
+ readonly: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ description: string;
98
+ };
45
99
  direction: {
46
100
  type: StringConstructor;
47
101
  default: string;
@@ -52,7 +106,13 @@ declare const _default: import('vue').DefineComponent<{
52
106
  onMounted?: ((...args: any[]) => any) | undefined;
53
107
  }, {
54
108
  direction: string;
55
- size: string;
109
+ width: string | number;
110
+ size: import('./props').FormSize;
111
+ options: unknown[];
112
+ readonly: boolean;
113
+ disabled: boolean;
114
+ id: string;
115
+ columns: string | number;
56
116
  labelWidth: string | number;
57
117
  }, {}>;
58
118
  export default _default;
@@ -0,0 +1,200 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ modelValue: import('vue').PropType<any>;
3
+ id: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ description: string;
7
+ hidden: boolean;
8
+ };
9
+ label: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ description: string;
13
+ };
14
+ tips: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ description: string;
18
+ };
19
+ field: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ description: string;
23
+ };
24
+ gridArea: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ description: string;
28
+ };
29
+ width: {
30
+ type: (StringConstructor | NumberConstructor)[];
31
+ default: string;
32
+ description: string;
33
+ };
34
+ labelWidth: {
35
+ type: (StringConstructor | NumberConstructor)[];
36
+ default: string;
37
+ description: string;
38
+ };
39
+ direction: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ description: string;
43
+ };
44
+ size: {
45
+ type: globalThis.PropType<import('../../..').FormSize>;
46
+ default: string;
47
+ description: string;
48
+ };
49
+ required: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ description: string;
53
+ };
54
+ readonly: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ description: string;
58
+ };
59
+ disabled: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ description: string;
63
+ };
64
+ rule: {
65
+ type: globalThis.PropType<Record<string, any>>;
66
+ description: string;
67
+ };
68
+ errMessage: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ description: string;
72
+ };
73
+ as: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ description: string;
77
+ };
78
+ props: {
79
+ type: globalThis.PropType<Record<string, any>>;
80
+ default: {};
81
+ description: string;
82
+ };
83
+ between: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ description: string;
87
+ };
88
+ }, {
89
+ validate: () => void;
90
+ setError: (message: any) => void;
91
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
92
+ change: (...args: any[]) => void;
93
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
94
+ modelValue: import('vue').PropType<any>;
95
+ id: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ description: string;
99
+ hidden: boolean;
100
+ };
101
+ label: {
102
+ type: StringConstructor;
103
+ default: string;
104
+ description: string;
105
+ };
106
+ tips: {
107
+ type: StringConstructor;
108
+ default: string;
109
+ description: string;
110
+ };
111
+ field: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ description: string;
115
+ };
116
+ gridArea: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ description: string;
120
+ };
121
+ width: {
122
+ type: (StringConstructor | NumberConstructor)[];
123
+ default: string;
124
+ description: string;
125
+ };
126
+ labelWidth: {
127
+ type: (StringConstructor | NumberConstructor)[];
128
+ default: string;
129
+ description: string;
130
+ };
131
+ direction: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ description: string;
135
+ };
136
+ size: {
137
+ type: globalThis.PropType<import('../../..').FormSize>;
138
+ default: string;
139
+ description: string;
140
+ };
141
+ required: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ description: string;
145
+ };
146
+ readonly: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ description: string;
150
+ };
151
+ disabled: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ description: string;
155
+ };
156
+ rule: {
157
+ type: globalThis.PropType<Record<string, any>>;
158
+ description: string;
159
+ };
160
+ errMessage: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ description: string;
164
+ };
165
+ as: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ description: string;
169
+ };
170
+ props: {
171
+ type: globalThis.PropType<Record<string, any>>;
172
+ default: {};
173
+ description: string;
174
+ };
175
+ between: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ description: string;
179
+ };
180
+ }>> & {
181
+ onChange?: ((...args: any[]) => any) | undefined;
182
+ }, {
183
+ direction: string;
184
+ width: string | number;
185
+ props: Record<string, any>;
186
+ label: string;
187
+ size: import('../../..').FormSize;
188
+ readonly: boolean;
189
+ disabled: boolean;
190
+ required: boolean;
191
+ id: string;
192
+ labelWidth: string | number;
193
+ tips: string;
194
+ field: string;
195
+ gridArea: string;
196
+ errMessage: string;
197
+ as: string;
198
+ between: boolean;
199
+ }, {}>;
200
+ export default _default;
@@ -0,0 +1,22 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ size: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ options: {
7
+ type: PropType<any>;
8
+ };
9
+ }, {
10
+ getWidth: () => number | undefined;
11
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
+ size: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ options: {
17
+ type: PropType<any>;
18
+ };
19
+ }>>, {
20
+ size: string;
21
+ }, {}>;
22
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ size: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
7
+ size: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ };
11
+ }>>, {
12
+ size: number;
13
+ }, {}>;
14
+ export default _default;
@@ -1,26 +1,85 @@
1
- import { ExtractPropTypes } from 'vue';
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
2
 
3
- export declare const formModel: {
3
+ export type FormSize = 'small' | 'medium' | 'large';
4
+ export declare const formProps: {
5
+ id: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ description: string;
9
+ hidden: boolean;
10
+ };
4
11
  options: {
5
12
  type: ArrayConstructor;
6
13
  required: boolean;
7
14
  default: never[];
8
15
  description: string;
9
16
  };
17
+ size: {
18
+ type: PropType<FormSize>;
19
+ default: string;
20
+ description: string;
21
+ };
22
+ width: {
23
+ type: (StringConstructor | NumberConstructor)[];
24
+ default: string;
25
+ description: string;
26
+ };
27
+ columns: {
28
+ type: (StringConstructor | NumberConstructor)[];
29
+ default: number;
30
+ description: string;
31
+ };
32
+ labelWidth: {
33
+ type: (StringConstructor | NumberConstructor)[];
34
+ default: string;
35
+ description: string;
36
+ };
37
+ disabled: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ description: string;
41
+ };
42
+ readonly: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ description: string;
46
+ };
47
+ direction: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ description: string;
51
+ };
10
52
  };
11
- export declare const formProps: {
12
- options: {
13
- type: ObjectConstructor;
14
- required: boolean;
53
+ export declare const formItemProps: {
54
+ id: {
55
+ type: StringConstructor;
56
+ default: string;
15
57
  description: string;
58
+ hidden: boolean;
16
59
  };
17
- size: {
60
+ label: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ description: string;
64
+ };
65
+ tips: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ description: string;
69
+ };
70
+ field: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ description: string;
74
+ };
75
+ gridArea: {
18
76
  type: StringConstructor;
19
77
  default: string;
20
78
  description: string;
21
79
  };
22
80
  width: {
23
81
  type: (StringConstructor | NumberConstructor)[];
82
+ default: string;
24
83
  description: string;
25
84
  };
26
85
  labelWidth: {
@@ -33,5 +92,51 @@ export declare const formProps: {
33
92
  default: string;
34
93
  description: string;
35
94
  };
95
+ size: {
96
+ type: PropType<FormSize>;
97
+ default: string;
98
+ description: string;
99
+ };
100
+ required: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ description: string;
104
+ };
105
+ readonly: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ description: string;
109
+ };
110
+ disabled: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ description: string;
114
+ };
115
+ rule: {
116
+ type: PropType<Record<string, any>>;
117
+ description: string;
118
+ };
119
+ errMessage: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ description: string;
123
+ };
124
+ as: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ description: string;
128
+ };
129
+ props: {
130
+ type: PropType<Record<string, any>>;
131
+ default: {};
132
+ description: string;
133
+ };
134
+ between: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ description: string;
138
+ };
36
139
  };
140
+ export declare const requiredIconSizeMap: Record<string, number>;
37
141
  export type FormProps = ExtractPropTypes<typeof formProps>;
142
+ export type FormItemProps = ExtractPropTypes<typeof formItemProps>;
@@ -0,0 +1,2 @@
1
+ export { default as LewImage } from './src/LewImage.vue';
2
+ export * from './src/props';
@@ -0,0 +1,124 @@
1
+ declare function __VLS_template(): {
2
+ error?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{
5
+ src: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ description: string;
9
+ };
10
+ width: {
11
+ type: (StringConstructor | NumberConstructor)[];
12
+ default: string;
13
+ description: string;
14
+ };
15
+ height: {
16
+ type: (StringConstructor | NumberConstructor)[];
17
+ default: string;
18
+ description: string;
19
+ };
20
+ title: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ description: string;
24
+ };
25
+ objectFit: {
26
+ type: globalThis.PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
27
+ default: string;
28
+ description: string;
29
+ };
30
+ objectPosition: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ description: string;
34
+ };
35
+ preview: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ description: string;
39
+ };
40
+ alt: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ description: string;
44
+ };
45
+ lazy: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ description: string;
49
+ };
50
+ loading: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ description: string;
54
+ };
55
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
56
+ src: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ description: string;
60
+ };
61
+ width: {
62
+ type: (StringConstructor | NumberConstructor)[];
63
+ default: string;
64
+ description: string;
65
+ };
66
+ height: {
67
+ type: (StringConstructor | NumberConstructor)[];
68
+ default: string;
69
+ description: string;
70
+ };
71
+ title: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ description: string;
75
+ };
76
+ objectFit: {
77
+ type: globalThis.PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
78
+ default: string;
79
+ description: string;
80
+ };
81
+ objectPosition: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ description: string;
85
+ };
86
+ preview: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ description: string;
90
+ };
91
+ alt: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ description: string;
95
+ };
96
+ lazy: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ description: string;
100
+ };
101
+ loading: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ description: string;
105
+ };
106
+ }>>, {
107
+ width: string | number;
108
+ title: string;
109
+ loading: boolean;
110
+ height: string | number;
111
+ src: string;
112
+ alt: string;
113
+ lazy: boolean;
114
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
115
+ objectPosition: string;
116
+ preview: boolean;
117
+ }, {}>;
118
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
119
+ export default _default;
120
+ type __VLS_WithTemplateSlots<T, S> = T & {
121
+ new (): {
122
+ $slots: S;
123
+ };
124
+ };
@@ -0,0 +1,55 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+
3
+ export declare const imageProps: {
4
+ src: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ description: string;
8
+ };
9
+ width: {
10
+ type: (StringConstructor | NumberConstructor)[];
11
+ default: string;
12
+ description: string;
13
+ };
14
+ height: {
15
+ type: (StringConstructor | NumberConstructor)[];
16
+ default: string;
17
+ description: string;
18
+ };
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ description: string;
23
+ };
24
+ objectFit: {
25
+ type: PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
26
+ default: string;
27
+ description: string;
28
+ };
29
+ objectPosition: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ description: string;
33
+ };
34
+ preview: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ description: string;
38
+ };
39
+ alt: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ description: string;
43
+ };
44
+ lazy: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ description: string;
48
+ };
49
+ loading: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ description: string;
53
+ };
54
+ };
55
+ export type ImageProps = ExtractPropTypes<typeof imageProps>;
@@ -9,6 +9,7 @@ export * from './breadcrumb';
9
9
  export * from './dropdown';
10
10
  export * from './steps';
11
11
  export * from './input';
12
+ export * from './input-number';
12
13
  export * from './textarea';
13
14
  export * from './input-tag';
14
15
  export * from './form';
@@ -18,6 +19,7 @@ export * from './select';
18
19
  export * from './select-multiple';
19
20
  export * from './switch';
20
21
  export * from './date-picker';
22
+ export * from './date-range-picker';
21
23
  export * from './table';
22
24
  export * from './pagination';
23
25
  export * from './magic-number';
@@ -37,3 +39,9 @@ export * from './text-trim';
37
39
  export * from './menu';
38
40
  export * from './menu-tree';
39
41
  export * from './empty';
42
+ export * from './upload';
43
+ export * from './collapse';
44
+ export * from './slider';
45
+ export * from './slider-range';
46
+ export * from './image';
47
+ export * from './expand';