vft 0.0.145 → 0.0.146

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 (231) hide show
  1. package/es/app-components/form/hooks/use-form-item.d.ts +2 -2
  2. package/es/app-components/upload/types.d.ts +1 -1
  3. package/es/app-components/upload/utils.d.ts +1 -1
  4. package/es/component.d.ts +1 -0
  5. package/es/components/affix/affix.d.ts +1 -1
  6. package/es/components/affix/affix.vue.d.ts +3 -3
  7. package/es/components/affix/index.d.ts +6 -6
  8. package/es/components/autocomplete/autocomplete.vue.d.ts +7 -7
  9. package/es/components/autocomplete/index.d.ts +21 -21
  10. package/es/components/avatar/index.d.ts +3 -3
  11. package/es/components/backtop/index.d.ts +2 -2
  12. package/es/components/button/button.vue.d.ts +209 -0
  13. package/es/components/button/index.d.ts +593 -0
  14. package/es/components/button/use-button.d.ts +20 -0
  15. package/es/components/button/use-button.js +3 -3
  16. package/es/components/carousel/carousel.vue.d.ts +9 -9
  17. package/es/components/carousel/index.d.ts +15 -15
  18. package/es/components/checkbox/checkbox.vue.d.ts +6 -6
  19. package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
  20. package/es/components/checkbox/composables/use-checkbox.d.ts +15 -0
  21. package/es/components/checkbox/index.d.ts +12 -12
  22. package/es/components/clamp/index.d.ts +2 -2
  23. package/es/components/color-picker/color-picker.vue.d.ts +4 -4
  24. package/es/components/color-picker/index.d.ts +4 -4
  25. package/es/components/config-provider/hooks/use-global-config.d.ts +31 -0
  26. package/es/components/container/container.vue.d.ts +2 -2
  27. package/es/components/container/index.d.ts +10 -10
  28. package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
  29. package/es/components/date-picker/date-picker.d.ts +1 -1
  30. package/es/components/date-picker/index.d.ts +2 -2
  31. package/es/components/date-picker/panel-utils.d.ts +1 -1
  32. package/es/components/descriptions/description.vue.d.ts +2 -2
  33. package/es/components/descriptions/index.d.ts +9 -9
  34. package/es/components/dialog/index.d.ts +3 -3
  35. package/es/components/divider/divider.vue.d.ts +2 -2
  36. package/es/components/divider/index.d.ts +4 -4
  37. package/es/components/drawer/index.d.ts +3 -3
  38. package/es/components/dropdown/dropdown.vue.d.ts +20 -20
  39. package/es/components/dropdown/index.d.ts +34 -34
  40. package/es/components/form/form-item.vue.d.ts +9 -9
  41. package/es/components/form/form.vue.d.ts +2 -2
  42. package/es/components/form/hooks/use-form-common-props.d.ts +6 -0
  43. package/es/components/form/index.d.ts +35 -35
  44. package/es/components/image/index.d.ts +2 -2
  45. package/es/components/image-viewer/index.d.ts +1 -1
  46. package/es/components/index.js +113 -113
  47. package/es/components/input/index.d.ts +9 -9
  48. package/es/components/input/input.vue.d.ts +3 -3
  49. package/es/components/link/index.d.ts +2 -2
  50. package/es/components/loading/index.d.ts +48 -0
  51. package/es/components/loading/loading.d.ts +36 -0
  52. package/es/components/md-code-demo/index.d.ts +3 -3
  53. package/es/components/md-code-demo/md-code-demo.d.ts +3 -3
  54. package/es/components/menu/index.d.ts +8 -2
  55. package/es/components/menu/menu.vue.d.ts +10 -2
  56. package/es/components/menu/menu.vue2.js +28 -26
  57. package/es/components/modal/index.d.ts +34 -34
  58. package/es/components/modal/modal.vue.d.ts +21 -21
  59. package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
  60. package/es/components/popconfirm/index.d.ts +9 -9
  61. package/es/components/popconfirm/popconfirm.vue.d.ts +6 -6
  62. package/es/components/popover/index.d.ts +2 -2
  63. package/es/components/popper/composables/use-content.d.ts +3 -3
  64. package/es/components/popper/content.vue.d.ts +1 -1
  65. package/es/components/popper/index.d.ts +4 -4
  66. package/es/components/popper/popper.vue.d.ts +2 -2
  67. package/es/components/progress/index.d.ts +1 -1
  68. package/es/components/radio/index.d.ts +20 -20
  69. package/es/components/radio/radio-group.vue.d.ts +6 -6
  70. package/es/components/radio/use-radio.d.ts +15 -0
  71. package/es/components/row/index.d.ts +1 -1
  72. package/es/components/scrollbar/index.d.ts +2 -2
  73. package/es/components/search/index.d.ts +1 -1
  74. package/es/components/select/index.d.ts +1660 -2
  75. package/es/components/select/select.vue.d.ts +830 -1
  76. package/es/components/select/useSelect.d.ts +7 -7
  77. package/es/components/space/index.d.ts +3 -3
  78. package/es/components/space/space.d.ts +4 -4
  79. package/es/components/super-form/index.d.ts +16 -16
  80. package/es/components/super-form/super-form.vue.d.ts +9 -9
  81. package/es/components/super-form/super-form.vue2.js +40 -40
  82. package/es/components/switch/index.d.ts +12 -12
  83. package/es/components/switch/switch.vue.d.ts +12 -12
  84. package/es/components/table/index.d.ts +50 -50
  85. package/es/components/table/table.vue.d.ts +30 -30
  86. package/es/components/table/table.vue2.js +5 -1
  87. package/es/components/table/use/use-columns.d.ts +12 -12
  88. package/es/components/tabs/index.d.ts +2 -2
  89. package/es/components/tabs/tabs.vue.d.ts +2 -2
  90. package/es/components/time-picker/common/picker.vue.d.ts +1 -1
  91. package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
  92. package/es/components/time-picker/index.d.ts +2 -2
  93. package/es/components/time-picker/time-picker.d.ts +1 -1
  94. package/es/components/tooltip/index.d.ts +8 -8
  95. package/es/components/tooltip/tooltip.vue.d.ts +2 -2
  96. package/es/components/tree/index.d.ts +22 -22
  97. package/es/components/tree/tree.vue.d.ts +6 -6
  98. package/es/components/upload/index.d.ts +9 -9
  99. package/es/components/upload/upload-content.vue.d.ts +6 -6
  100. package/es/components/upload/upload.vue.d.ts +6 -6
  101. package/es/components/upload/use-handlers.d.ts +23 -0
  102. package/es/components/virtual-list/builders/build-list.d.ts +3 -3
  103. package/es/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
  104. package/es/components/virtual-list/components/fixed-size-list.d.ts +3 -3
  105. package/es/components/virtual-list/components/scrollbar.d.ts +3 -3
  106. package/es/components/virtual-list/props.d.ts +2 -2
  107. package/es/defaults.d.ts +1 -1
  108. package/es/hooks/use-popper/index.d.ts +3 -3
  109. package/es/index.d.ts +1 -1
  110. package/es/index.js +113 -113
  111. package/es/make-installer.d.ts +1 -1
  112. package/es/package.json.d.ts +1 -1
  113. package/es/package.json.js +1 -1
  114. package/es/plugin.d.ts +1 -0
  115. package/lib/app-components/form/hooks/use-form-item.d.ts +2 -2
  116. package/lib/app-components/upload/types.d.ts +1 -1
  117. package/lib/app-components/upload/utils.d.ts +1 -1
  118. package/lib/component.d.ts +1 -0
  119. package/lib/components/affix/affix.d.ts +1 -1
  120. package/lib/components/affix/affix.vue.d.ts +3 -3
  121. package/lib/components/affix/index.d.ts +6 -6
  122. package/lib/components/autocomplete/autocomplete.vue.d.ts +7 -7
  123. package/lib/components/autocomplete/index.d.ts +21 -21
  124. package/lib/components/avatar/index.d.ts +3 -3
  125. package/lib/components/backtop/index.d.ts +2 -2
  126. package/lib/components/button/button.vue.d.ts +209 -0
  127. package/lib/components/button/index.d.ts +593 -0
  128. package/lib/components/button/use-button.cjs +1 -1
  129. package/lib/components/button/use-button.d.ts +20 -0
  130. package/lib/components/carousel/carousel.vue.d.ts +9 -9
  131. package/lib/components/carousel/index.d.ts +15 -15
  132. package/lib/components/checkbox/checkbox.vue.d.ts +6 -6
  133. package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
  134. package/lib/components/checkbox/composables/use-checkbox.d.ts +15 -0
  135. package/lib/components/checkbox/index.d.ts +12 -12
  136. package/lib/components/clamp/index.d.ts +2 -2
  137. package/lib/components/color-picker/color-picker.vue.d.ts +4 -4
  138. package/lib/components/color-picker/index.d.ts +4 -4
  139. package/lib/components/config-provider/hooks/use-global-config.d.ts +31 -0
  140. package/lib/components/container/container.vue.d.ts +2 -2
  141. package/lib/components/container/index.d.ts +10 -10
  142. package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
  143. package/lib/components/date-picker/date-picker.d.ts +1 -1
  144. package/lib/components/date-picker/index.d.ts +2 -2
  145. package/lib/components/date-picker/panel-utils.d.ts +1 -1
  146. package/lib/components/descriptions/description.vue.d.ts +2 -2
  147. package/lib/components/descriptions/index.d.ts +9 -9
  148. package/lib/components/dialog/index.d.ts +3 -3
  149. package/lib/components/divider/divider.vue.d.ts +2 -2
  150. package/lib/components/divider/index.d.ts +4 -4
  151. package/lib/components/drawer/index.d.ts +3 -3
  152. package/lib/components/dropdown/dropdown.vue.d.ts +20 -20
  153. package/lib/components/dropdown/index.d.ts +34 -34
  154. package/lib/components/form/form-item.vue.d.ts +9 -9
  155. package/lib/components/form/form.vue.d.ts +2 -2
  156. package/lib/components/form/hooks/use-form-common-props.d.ts +6 -0
  157. package/lib/components/form/index.d.ts +35 -35
  158. package/lib/components/image/index.d.ts +2 -2
  159. package/lib/components/image-viewer/index.d.ts +1 -1
  160. package/lib/components/index.cjs +1 -1
  161. package/lib/components/input/index.d.ts +9 -9
  162. package/lib/components/input/input.vue.d.ts +3 -3
  163. package/lib/components/link/index.d.ts +2 -2
  164. package/lib/components/loading/index.d.ts +48 -0
  165. package/lib/components/loading/loading.d.ts +36 -0
  166. package/lib/components/md-code-demo/index.d.ts +3 -3
  167. package/lib/components/md-code-demo/md-code-demo.d.ts +3 -3
  168. package/lib/components/menu/index.d.ts +8 -2
  169. package/lib/components/menu/menu.vue.d.ts +10 -2
  170. package/lib/components/menu/menu.vue2.cjs +1 -1
  171. package/lib/components/modal/index.d.ts +34 -34
  172. package/lib/components/modal/modal.vue.d.ts +21 -21
  173. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  174. package/lib/components/popconfirm/index.d.ts +9 -9
  175. package/lib/components/popconfirm/popconfirm.vue.d.ts +6 -6
  176. package/lib/components/popover/index.d.ts +2 -2
  177. package/lib/components/popper/composables/use-content.d.ts +3 -3
  178. package/lib/components/popper/content.vue.d.ts +1 -1
  179. package/lib/components/popper/index.d.ts +4 -4
  180. package/lib/components/popper/popper.vue.d.ts +2 -2
  181. package/lib/components/progress/index.d.ts +1 -1
  182. package/lib/components/radio/index.d.ts +20 -20
  183. package/lib/components/radio/radio-group.vue.d.ts +6 -6
  184. package/lib/components/radio/use-radio.d.ts +15 -0
  185. package/lib/components/row/index.d.ts +1 -1
  186. package/lib/components/scrollbar/index.d.ts +2 -2
  187. package/lib/components/search/index.d.ts +1 -1
  188. package/lib/components/select/index.d.ts +1660 -2
  189. package/lib/components/select/select.vue.d.ts +830 -1
  190. package/lib/components/select/useSelect.d.ts +7 -7
  191. package/lib/components/space/index.d.ts +3 -3
  192. package/lib/components/space/space.d.ts +4 -4
  193. package/lib/components/super-form/index.d.ts +16 -16
  194. package/lib/components/super-form/super-form.vue.d.ts +9 -9
  195. package/lib/components/super-form/super-form.vue2.cjs +1 -1
  196. package/lib/components/switch/index.d.ts +12 -12
  197. package/lib/components/switch/switch.vue.d.ts +12 -12
  198. package/lib/components/table/index.d.ts +50 -50
  199. package/lib/components/table/table.vue.d.ts +30 -30
  200. package/lib/components/table/table.vue2.cjs +1 -1
  201. package/lib/components/table/use/use-columns.d.ts +12 -12
  202. package/lib/components/tabs/index.d.ts +2 -2
  203. package/lib/components/tabs/tabs.vue.d.ts +2 -2
  204. package/lib/components/time-picker/common/picker.vue.d.ts +1 -1
  205. package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
  206. package/lib/components/time-picker/index.d.ts +2 -2
  207. package/lib/components/time-picker/time-picker.d.ts +1 -1
  208. package/lib/components/tooltip/index.d.ts +8 -8
  209. package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
  210. package/lib/components/tree/index.d.ts +22 -22
  211. package/lib/components/tree/tree.vue.d.ts +6 -6
  212. package/lib/components/upload/index.d.ts +9 -9
  213. package/lib/components/upload/upload-content.vue.d.ts +6 -6
  214. package/lib/components/upload/upload.vue.d.ts +6 -6
  215. package/lib/components/upload/use-handlers.d.ts +23 -0
  216. package/lib/components/virtual-list/builders/build-list.d.ts +3 -3
  217. package/lib/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
  218. package/lib/components/virtual-list/components/fixed-size-list.d.ts +3 -3
  219. package/lib/components/virtual-list/components/scrollbar.d.ts +3 -3
  220. package/lib/components/virtual-list/props.d.ts +2 -2
  221. package/lib/defaults.d.ts +1 -1
  222. package/lib/hooks/use-popper/index.d.ts +3 -3
  223. package/lib/index.cjs +1 -1
  224. package/lib/index.d.ts +1 -1
  225. package/lib/make-installer.d.ts +1 -1
  226. package/lib/package.json.cjs +1 -1
  227. package/lib/package.json.d.ts +1 -1
  228. package/lib/plugin.d.ts +1 -0
  229. package/lib/style.css +1 -0
  230. package/package.json +4 -4
  231. package/web-types.json +1 -1
@@ -4,12 +4,6 @@ export interface ModalProps extends DialogProps {
4
4
  showActionButtonGroup?: boolean;
5
5
  }
6
6
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
- top: {
8
- type: import("vue").PropType<string>;
9
- };
10
- width: {
11
- type: import("vue").PropType<string | number>;
12
- };
13
7
  title: {
14
8
  type: import("vue").PropType<string>;
15
9
  default: string;
@@ -18,13 +12,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
12
  type: import("vue").PropType<boolean>;
19
13
  default: boolean;
20
14
  };
15
+ top: {
16
+ type: import("vue").PropType<string>;
17
+ };
18
+ width: {
19
+ type: import("vue").PropType<string | number>;
20
+ };
21
21
  zIndex: {
22
22
  type: import("vue").PropType<number>;
23
23
  };
24
- draggable: {
25
- type: import("vue").PropType<boolean>;
26
- default: boolean;
27
- };
28
24
  fullscreen: {
29
25
  type: import("vue").PropType<boolean>;
30
26
  default: boolean;
@@ -41,6 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
37
  type: import("vue").PropType<boolean>;
42
38
  default: boolean;
43
39
  };
40
+ draggable: {
41
+ type: import("vue").PropType<boolean>;
42
+ default: boolean;
43
+ };
44
44
  closeOnPressEscape: {
45
45
  type: import("vue").PropType<boolean>;
46
46
  default: boolean;
@@ -117,12 +117,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
117
117
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
118
118
  [x: string]: (...args: any[]) => void;
119
119
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
120
- top: {
121
- type: import("vue").PropType<string>;
122
- };
123
- width: {
124
- type: import("vue").PropType<string | number>;
125
- };
126
120
  title: {
127
121
  type: import("vue").PropType<string>;
128
122
  default: string;
@@ -131,13 +125,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
131
125
  type: import("vue").PropType<boolean>;
132
126
  default: boolean;
133
127
  };
128
+ top: {
129
+ type: import("vue").PropType<string>;
130
+ };
131
+ width: {
132
+ type: import("vue").PropType<string | number>;
133
+ };
134
134
  zIndex: {
135
135
  type: import("vue").PropType<number>;
136
136
  };
137
- draggable: {
138
- type: import("vue").PropType<boolean>;
139
- default: boolean;
140
- };
141
137
  fullscreen: {
142
138
  type: import("vue").PropType<boolean>;
143
139
  default: boolean;
@@ -154,6 +150,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
154
150
  type: import("vue").PropType<boolean>;
155
151
  default: boolean;
156
152
  };
153
+ draggable: {
154
+ type: import("vue").PropType<boolean>;
155
+ default: boolean;
156
+ };
157
157
  closeOnPressEscape: {
158
158
  type: import("vue").PropType<boolean>;
159
159
  default: boolean;
@@ -230,11 +230,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
230
230
  }>>, {
231
231
  title: string;
232
232
  center: boolean;
233
- draggable: boolean;
234
233
  fullscreen: boolean;
235
234
  modelValue: boolean;
236
235
  customClass: string;
237
236
  showClose: boolean;
237
+ draggable: boolean;
238
238
  closeOnPressEscape: boolean;
239
239
  alignCenter: boolean;
240
240
  appendToBody: boolean;
@@ -157,7 +157,7 @@ const k = (
157
157
  function M(t) {
158
158
  s.closeTabByKey(t, l);
159
159
  }
160
- const [E, I] = L();
160
+ const { refs: E, setRefs: I } = L();
161
161
  function N(t) {
162
162
  const e = t.pane.attrs.index, o = t.event;
163
163
  E.value[e].handleContext(o);
@@ -76,13 +76,13 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
76
76
  $emit: ((event: "cancel", val: MouseEvent) => void) & ((event: "confirm", val: MouseEvent) => void);
77
77
  $el: any;
78
78
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
79
+ title: {
80
+ type: import("vue").PropType<string>;
81
+ };
79
82
  width: {
80
83
  type: import("vue").PropType<string | number>;
81
84
  default: number;
82
85
  };
83
- title: {
84
- type: import("vue").PropType<string>;
85
- };
86
86
  hideAfter: {
87
87
  type: import("vue").PropType<number>;
88
88
  default: number;
@@ -156,13 +156,13 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
156
156
  $nextTick: typeof import("vue").nextTick;
157
157
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
158
158
  } & Readonly<import("vue").ExtractPropTypes<{
159
+ title: {
160
+ type: import("vue").PropType<string>;
161
+ };
159
162
  width: {
160
163
  type: import("vue").PropType<string | number>;
161
164
  default: number;
162
165
  };
163
- title: {
164
- type: import("vue").PropType<string>;
165
- };
166
166
  hideAfter: {
167
167
  type: import("vue").PropType<number>;
168
168
  default: number;
@@ -208,13 +208,13 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
208
208
  __isTeleport?: undefined;
209
209
  __isSuspense?: undefined;
210
210
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
211
+ title: {
212
+ type: import("vue").PropType<string>;
213
+ };
211
214
  width: {
212
215
  type: import("vue").PropType<string | number>;
213
216
  default: number;
214
217
  };
215
- title: {
216
- type: import("vue").PropType<string>;
217
- };
218
218
  hideAfter: {
219
219
  type: import("vue").PropType<number>;
220
220
  default: number;
@@ -1,13 +1,13 @@
1
1
  import { type ButtonType } from 'vft/es/components/button';
2
2
  import { type IconProps } from 'vft/es/components/icon';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
+ title: {
5
+ type: import("vue").PropType<string>;
6
+ };
4
7
  width: {
5
8
  type: import("vue").PropType<string | number>;
6
9
  default: number;
7
10
  };
8
- title: {
9
- type: import("vue").PropType<string>;
10
- };
11
11
  hideAfter: {
12
12
  type: import("vue").PropType<number>;
13
13
  default: number;
@@ -49,13 +49,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
49
49
  confirm: (val: MouseEvent) => void;
50
50
  cancel: (val: MouseEvent) => void;
51
51
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ title: {
53
+ type: import("vue").PropType<string>;
54
+ };
52
55
  width: {
53
56
  type: import("vue").PropType<string | number>;
54
57
  default: number;
55
58
  };
56
- title: {
57
- type: import("vue").PropType<string>;
58
- };
59
59
  hideAfter: {
60
60
  type: import("vue").PropType<number>;
61
61
  default: number;
@@ -3,10 +3,10 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: {
6
- readonly width?: string | number | undefined;
7
6
  style?: unknown;
8
7
  readonly title?: string | undefined;
9
8
  readonly content?: string | undefined;
9
+ readonly width?: string | number | undefined;
10
10
  readonly offset?: number | undefined;
11
11
  readonly transition?: string | undefined;
12
12
  key?: string | number | symbol | undefined;
@@ -16,7 +16,6 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
16
16
  readonly hideAfter?: number | undefined;
17
17
  readonly placement?: import("@popperjs/core").Placement | undefined;
18
18
  readonly effect?: "light" | "dark" | undefined;
19
- readonly visible?: boolean | undefined;
20
19
  readonly disabled?: boolean | undefined;
21
20
  readonly trigger?: import("..").TooltipTriggerType | undefined;
22
21
  ref_for?: boolean | undefined;
@@ -59,6 +58,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
59
58
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
59
  [key: string]: any;
61
60
  }>) => void)[] | undefined;
61
+ readonly visible?: boolean | undefined;
62
62
  readonly tabindex?: number | undefined;
63
63
  readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
64
64
  readonly enterable?: boolean | undefined;
@@ -46,11 +46,11 @@ export declare const usePopperContent: (props: PopperContentProps) => {
46
46
  popperEscapeOffsets: import("@popperjs/core").SideObject;
47
47
  } | undefined;
48
48
  offset?: {
49
- top?: import("@popperjs/core").Offsets | undefined;
50
- bottom?: import("@popperjs/core").Offsets | undefined;
49
+ auto?: import("@popperjs/core").Offsets | undefined;
51
50
  left?: import("@popperjs/core").Offsets | undefined;
52
51
  right?: import("@popperjs/core").Offsets | undefined;
53
- auto?: import("@popperjs/core").Offsets | undefined;
52
+ bottom?: import("@popperjs/core").Offsets | undefined;
53
+ top?: import("@popperjs/core").Offsets | undefined;
54
54
  "auto-start"?: import("@popperjs/core").Offsets | undefined;
55
55
  "auto-end"?: import("@popperjs/core").Offsets | undefined;
56
56
  "top-start"?: import("@popperjs/core").Offsets | undefined;
@@ -89,9 +89,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
89
89
  */
90
90
  contentStyle: import("vue").ComputedRef<StyleValue[]>;
91
91
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
92
+ close: (...args: any[]) => void;
92
93
  blur: (...args: any[]) => void;
93
94
  focus: (...args: any[]) => void;
94
- close: (...args: any[]) => void;
95
95
  mouseenter: (...args: any[]) => void;
96
96
  mouseleave: (...args: any[]) => void;
97
97
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -9,9 +9,9 @@ export declare const VftPopper: import("vft/es/utils").SFCWithInstall<{
9
9
  $props: {
10
10
  style?: unknown;
11
11
  key?: string | number | symbol | undefined;
12
- readonly role?: "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree" | undefined;
13
12
  ref?: import("vue").VNodeRef | undefined;
14
13
  class?: unknown;
14
+ readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
15
15
  ref_for?: boolean | undefined;
16
16
  ref_key?: string | undefined;
17
17
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -68,7 +68,7 @@ export declare const VftPopper: import("vft/es/utils").SFCWithInstall<{
68
68
  $el: any;
69
69
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
70
70
  role: {
71
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
71
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
72
72
  };
73
73
  }>>, {
74
74
  triggerRef: import("vue").Ref<import("./constants").Measurable | undefined>;
@@ -98,7 +98,7 @@ export declare const VftPopper: import("vft/es/utils").SFCWithInstall<{
98
98
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
99
99
  } & Readonly<import("vue").ExtractPropTypes<{
100
100
  role: {
101
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
101
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
102
102
  };
103
103
  }>> & import("vue").ShallowUnwrapRef<{
104
104
  triggerRef: import("vue").Ref<import("./constants").Measurable | undefined>;
@@ -112,7 +112,7 @@ export declare const VftPopper: import("vft/es/utils").SFCWithInstall<{
112
112
  __isSuspense?: undefined;
113
113
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
114
114
  role: {
115
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
115
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
116
116
  };
117
117
  }>>, {
118
118
  triggerRef: import("vue").Ref<import("./constants").Measurable | undefined>;
@@ -1,7 +1,7 @@
1
1
  import type { Instance as PopperInstance } from '@popperjs/core';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  role: {
4
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
4
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
5
5
  };
6
6
  }, {
7
7
  triggerRef: import("vue").Ref<import("./constants").Measurable | undefined>;
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
11
  role: import("vue").ComputedRef<string>;
12
12
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  role: {
14
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
14
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
15
15
  };
16
16
  }>>, {}, {}>, {
17
17
  default?(_: {}): any;
@@ -4,9 +4,9 @@ export declare const VftProgress: import("vft/es/utils").SFCWithInstall<{
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: {
7
- readonly width?: number | undefined;
8
7
  style?: unknown;
9
8
  readonly color?: string | import("./types").ProgressFn | import("./types").ProgressColor[] | undefined;
9
+ readonly width?: number | undefined;
10
10
  readonly strokeLinecap?: "round" | "butt" | "square" | undefined;
11
11
  readonly strokeWidth?: number | undefined;
12
12
  key?: string | number | symbol | undefined;
@@ -335,12 +335,12 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
335
335
  readonly label?: string | undefined;
336
336
  style?: unknown;
337
337
  key?: string | number | symbol | undefined;
338
- readonly id?: string | undefined;
339
338
  readonly name?: string | undefined;
340
339
  ref?: import("vue").VNodeRef | undefined;
341
340
  class?: unknown;
342
341
  readonly modelValue?: string | number | boolean | undefined;
343
342
  readonly options?: (import("./radio.vue").RadioProps & Record<string, any>)[] | undefined;
343
+ readonly id?: string | undefined;
344
344
  readonly size?: "" | "default" | "small" | "large" | undefined;
345
345
  onChange?: ((...args: any[]) => any) | undefined;
346
346
  readonly disabled?: boolean | undefined;
@@ -408,9 +408,6 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
408
408
  label: {
409
409
  type: import("vue").PropType<string>;
410
410
  };
411
- id: {
412
- type: import("vue").PropType<string>;
413
- };
414
411
  name: {
415
412
  type: import("vue").PropType<string>;
416
413
  };
@@ -420,6 +417,9 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
420
417
  options: {
421
418
  type: import("vue").PropType<(import("./radio.vue").RadioProps & Record<string, any>)[]>;
422
419
  };
420
+ id: {
421
+ type: import("vue").PropType<string>;
422
+ };
423
423
  size: {
424
424
  type: import("vue").PropType<"" | "default" | "small" | "large">;
425
425
  };
@@ -471,9 +471,6 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
471
471
  label: {
472
472
  type: import("vue").PropType<string>;
473
473
  };
474
- id: {
475
- type: import("vue").PropType<string>;
476
- };
477
474
  name: {
478
475
  type: import("vue").PropType<string>;
479
476
  };
@@ -483,6 +480,9 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
483
480
  options: {
484
481
  type: import("vue").PropType<(import("./radio.vue").RadioProps & Record<string, any>)[]>;
485
482
  };
483
+ id: {
484
+ type: import("vue").PropType<string>;
485
+ };
486
486
  size: {
487
487
  type: import("vue").PropType<"" | "default" | "small" | "large">;
488
488
  };
@@ -513,9 +513,6 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
513
513
  label: {
514
514
  type: import("vue").PropType<string>;
515
515
  };
516
- id: {
517
- type: import("vue").PropType<string>;
518
- };
519
516
  name: {
520
517
  type: import("vue").PropType<string>;
521
518
  };
@@ -525,6 +522,9 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
525
522
  options: {
526
523
  type: import("vue").PropType<(import("./radio.vue").RadioProps & Record<string, any>)[]>;
527
524
  };
525
+ id: {
526
+ type: import("vue").PropType<string>;
527
+ };
528
528
  size: {
529
529
  type: import("vue").PropType<"" | "default" | "small" | "large">;
530
530
  };
@@ -565,12 +565,12 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
565
565
  readonly label?: string | undefined;
566
566
  style?: unknown;
567
567
  key?: string | number | symbol | undefined;
568
- readonly id?: string | undefined;
569
568
  readonly name?: string | undefined;
570
569
  ref?: import("vue").VNodeRef | undefined;
571
570
  class?: unknown;
572
571
  readonly modelValue?: string | number | boolean | undefined;
573
572
  readonly options?: (import("./radio.vue").RadioProps & Record<string, any>)[] | undefined;
573
+ readonly id?: string | undefined;
574
574
  readonly size?: "" | "default" | "small" | "large" | undefined;
575
575
  onChange?: ((...args: any[]) => any) | undefined;
576
576
  readonly disabled?: boolean | undefined;
@@ -638,9 +638,6 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
638
638
  label: {
639
639
  type: import("vue").PropType<string>;
640
640
  };
641
- id: {
642
- type: import("vue").PropType<string>;
643
- };
644
641
  name: {
645
642
  type: import("vue").PropType<string>;
646
643
  };
@@ -650,6 +647,9 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
650
647
  options: {
651
648
  type: import("vue").PropType<(import("./radio.vue").RadioProps & Record<string, any>)[]>;
652
649
  };
650
+ id: {
651
+ type: import("vue").PropType<string>;
652
+ };
653
653
  size: {
654
654
  type: import("vue").PropType<"" | "default" | "small" | "large">;
655
655
  };
@@ -701,9 +701,6 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
701
701
  label: {
702
702
  type: import("vue").PropType<string>;
703
703
  };
704
- id: {
705
- type: import("vue").PropType<string>;
706
- };
707
704
  name: {
708
705
  type: import("vue").PropType<string>;
709
706
  };
@@ -713,6 +710,9 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
713
710
  options: {
714
711
  type: import("vue").PropType<(import("./radio.vue").RadioProps & Record<string, any>)[]>;
715
712
  };
713
+ id: {
714
+ type: import("vue").PropType<string>;
715
+ };
716
716
  size: {
717
717
  type: import("vue").PropType<"" | "default" | "small" | "large">;
718
718
  };
@@ -743,9 +743,6 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
743
743
  label: {
744
744
  type: import("vue").PropType<string>;
745
745
  };
746
- id: {
747
- type: import("vue").PropType<string>;
748
- };
749
746
  name: {
750
747
  type: import("vue").PropType<string>;
751
748
  };
@@ -755,6 +752,9 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
755
752
  options: {
756
753
  type: import("vue").PropType<(import("./radio.vue").RadioProps & Record<string, any>)[]>;
757
754
  };
755
+ id: {
756
+ type: import("vue").PropType<string>;
757
+ };
758
758
  size: {
759
759
  type: import("vue").PropType<"" | "default" | "small" | "large">;
760
760
  };
@@ -20,9 +20,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
20
20
  label: {
21
21
  type: import("vue").PropType<string>;
22
22
  };
23
- id: {
24
- type: import("vue").PropType<string>;
25
- };
26
23
  name: {
27
24
  type: import("vue").PropType<string>;
28
25
  };
@@ -32,6 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
29
  options: {
33
30
  type: import("vue").PropType<(RadioProps & Record<string, any>)[]>;
34
31
  };
32
+ id: {
33
+ type: import("vue").PropType<string>;
34
+ };
35
35
  size: {
36
36
  type: import("vue").PropType<"" | "default" | "small" | "large">;
37
37
  };
@@ -58,9 +58,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
58
58
  label: {
59
59
  type: import("vue").PropType<string>;
60
60
  };
61
- id: {
62
- type: import("vue").PropType<string>;
63
- };
64
61
  name: {
65
62
  type: import("vue").PropType<string>;
66
63
  };
@@ -70,6 +67,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
67
  options: {
71
68
  type: import("vue").PropType<(RadioProps & Record<string, any>)[]>;
72
69
  };
70
+ id: {
71
+ type: import("vue").PropType<string>;
72
+ };
73
73
  size: {
74
74
  type: import("vue").PropType<"" | "default" | "small" | "large">;
75
75
  };
@@ -0,0 +1,15 @@
1
+ import type { SetupContext } from 'vue';
2
+ import type { RadioProps } from './radio.vue';
3
+ export declare const useRadio: (props: {
4
+ label: RadioProps['label'];
5
+ modelValue?: RadioProps['modelValue'];
6
+ }, emit?: SetupContext['emit']) => {
7
+ radioRef: import("vue").Ref<HTMLInputElement | undefined>;
8
+ isGroup: import("vue").ComputedRef<boolean>;
9
+ radioGroup: import("./constants").RadioGroupContext | undefined;
10
+ focus: import("vue").Ref<boolean>;
11
+ size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
12
+ disabled: import("vue").ComputedRef<boolean>;
13
+ tabIndex: import("vue").ComputedRef<0 | -1>;
14
+ modelValue: import("vue").WritableComputedRef<string | number | boolean | undefined>;
15
+ };
@@ -8,7 +8,6 @@ export declare const VftRow: import("vft/es/utils").SFCWithInstall<{
8
8
  key?: string | number | symbol | undefined;
9
9
  ref?: import("vue").VNodeRef | undefined;
10
10
  class?: unknown;
11
- readonly justify?: import("./types").RowJustify | undefined;
12
11
  ref_for?: boolean | undefined;
13
12
  ref_key?: string | undefined;
14
13
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -50,6 +49,7 @@ export declare const VftRow: import("vft/es/utils").SFCWithInstall<{
50
49
  [key: string]: any;
51
50
  }>) => void)[] | undefined;
52
51
  readonly tag?: string | undefined;
52
+ readonly justify?: import("./types").RowJustify | undefined;
53
53
  readonly gutter?: number | undefined;
54
54
  readonly align?: import("./types").RowAlign | undefined;
55
55
  };
@@ -4,8 +4,8 @@ export declare const VftScrollbar: import("vft/es/utils").SFCWithInstall<{
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: {
7
- readonly height?: string | number | undefined;
8
7
  style?: unknown;
8
+ readonly height?: string | number | undefined;
9
9
  readonly maxHeight?: string | number | undefined;
10
10
  key?: string | number | symbol | undefined;
11
11
  ref?: import("vue").VNodeRef | undefined;
@@ -14,7 +14,6 @@ export declare const VftScrollbar: import("vft/es/utils").SFCWithInstall<{
14
14
  scrollTop: number;
15
15
  scrollLeft: number;
16
16
  }) => any) | undefined;
17
- readonly always?: boolean | undefined;
18
17
  readonly native?: boolean | undefined;
19
18
  ref_for?: boolean | undefined;
20
19
  ref_key?: string | undefined;
@@ -57,6 +56,7 @@ export declare const VftScrollbar: import("vft/es/utils").SFCWithInstall<{
57
56
  [key: string]: any;
58
57
  }>) => void)[] | undefined;
59
58
  readonly tag?: string | undefined;
59
+ readonly always?: boolean | undefined;
60
60
  readonly wrapStyle?: import("vue").StyleValue | undefined;
61
61
  readonly wrapClass?: string | any[] | undefined;
62
62
  readonly viewClass?: string | any[] | undefined;
@@ -4,8 +4,8 @@ export declare const VftSearch: import("vft/es/utils").SFCWithInstall<{
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: {
7
- readonly width?: string | number | undefined;
8
7
  style?: unknown;
8
+ readonly width?: string | number | undefined;
9
9
  key?: string | number | symbol | undefined;
10
10
  ref?: import("vue").VNodeRef | undefined;
11
11
  class?: unknown;