@vuetify/nightly 3.0.0-beta.10 → 3.0.0-beta.15

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 (881) hide show
  1. package/CHANGELOG.md +31 -2
  2. package/dist/json/importMap.json +54 -58
  3. package/dist/vuetify.css +477 -284
  4. package/dist/vuetify.d.ts +17577 -6202
  5. package/dist/vuetify.esm.js +1350 -2179
  6. package/dist/vuetify.esm.js.map +1 -1
  7. package/dist/vuetify.js +1325 -2155
  8. package/dist/vuetify.js.map +1 -1
  9. package/dist/vuetify.min.css +3 -3
  10. package/dist/vuetify.min.js +575 -575
  11. package/dist/vuetify.min.js.map +1 -1
  12. package/lib/blueprints/index.d.ts +163 -0
  13. package/lib/blueprints/index.mjs.map +1 -1
  14. package/lib/blueprints/md1.d.ts +159 -0
  15. package/lib/blueprints/md1.mjs +3 -1
  16. package/lib/blueprints/md1.mjs.map +1 -1
  17. package/lib/blueprints/md2.d.ts +159 -0
  18. package/lib/blueprints/md2.mjs +3 -1
  19. package/lib/blueprints/md2.mjs.map +1 -1
  20. package/lib/blueprints/md3.d.ts +159 -0
  21. package/lib/blueprints/md3.mjs +2 -2
  22. package/lib/blueprints/md3.mjs.map +1 -1
  23. package/lib/components/VAlert/VAlert.mjs +2 -9
  24. package/lib/components/VAlert/VAlert.mjs.map +1 -1
  25. package/lib/components/VAlert/VAlertTitle.mjs.map +1 -1
  26. package/lib/components/VAlert/index.d.ts +187 -0
  27. package/lib/components/VAlert/index.mjs.map +1 -1
  28. package/lib/components/VApp/VApp.mjs +5 -7
  29. package/lib/components/VApp/VApp.mjs.map +1 -1
  30. package/lib/components/VApp/index.d.ts +85 -0
  31. package/lib/components/VApp/index.mjs.map +1 -1
  32. package/lib/components/VAppBar/VAppBar.css +3 -0
  33. package/lib/components/VAppBar/VAppBar.mjs +4 -8
  34. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  35. package/lib/components/VAppBar/VAppBar.sass +3 -0
  36. package/lib/components/VAppBar/VAppBarNavIcon.mjs +0 -4
  37. package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
  38. package/lib/components/VAppBar/VAppBarTitle.mjs +2 -4
  39. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  40. package/lib/components/VAppBar/index.d.ts +160 -0
  41. package/lib/components/VAppBar/index.mjs.map +1 -1
  42. package/lib/components/VAutocomplete/VAutocomplete.css +18 -1
  43. package/lib/components/VAutocomplete/VAutocomplete.mjs +17 -36
  44. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  45. package/lib/components/VAutocomplete/VAutocomplete.sass +11 -1
  46. package/lib/components/VAutocomplete/_variables.scss +1 -0
  47. package/lib/components/VAutocomplete/index.d.ts +1460 -0
  48. package/lib/components/VAutocomplete/index.mjs.map +1 -1
  49. package/lib/components/VAvatar/VAvatar.css +44 -2
  50. package/lib/components/VAvatar/VAvatar.mjs +19 -19
  51. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  52. package/lib/components/VAvatar/VAvatar.sass +5 -1
  53. package/lib/components/VAvatar/_variables.scss +9 -4
  54. package/lib/components/VAvatar/index.d.ts +82 -0
  55. package/lib/components/VAvatar/index.mjs.map +1 -1
  56. package/lib/components/VBadge/VBadge.mjs +2 -6
  57. package/lib/components/VBadge/VBadge.mjs.map +1 -1
  58. package/lib/components/VBadge/index.d.ts +123 -0
  59. package/lib/components/VBadge/index.mjs.map +1 -1
  60. package/lib/components/VBanner/VBanner.mjs +5 -7
  61. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  62. package/lib/components/VBanner/VBannerActions.mjs +0 -4
  63. package/lib/components/VBanner/VBannerActions.mjs.map +1 -1
  64. package/lib/components/VBanner/VBannerText.mjs.map +1 -1
  65. package/lib/components/VBanner/index.d.ts +126 -0
  66. package/lib/components/VBanner/index.mjs.map +1 -1
  67. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +2 -5
  68. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  69. package/lib/components/VBottomNavigation/index.d.ts +145 -0
  70. package/lib/components/VBottomNavigation/index.mjs.map +1 -1
  71. package/lib/components/VBottomSheet/VBottomSheet.mjs +5 -5
  72. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  73. package/lib/components/VBottomSheet/index.mjs.map +1 -1
  74. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs +5 -9
  75. package/lib/components/VBreadcrumbs/VBreadcrumbs.mjs.map +1 -1
  76. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.mjs.map +1 -1
  77. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +2 -7
  78. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  79. package/lib/components/VBreadcrumbs/index.d.ts +311 -0
  80. package/lib/components/VBreadcrumbs/index.mjs.map +1 -1
  81. package/lib/components/VBtn/VBtn.css +8 -3
  82. package/lib/components/VBtn/VBtn.mjs +17 -15
  83. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  84. package/lib/components/VBtn/index.d.ts +212 -0
  85. package/lib/components/VBtn/index.mjs.map +1 -1
  86. package/lib/components/VBtnGroup/VBtnGroup.mjs +2 -4
  87. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
  88. package/lib/components/VBtnGroup/index.d.ts +68 -0
  89. package/lib/components/VBtnGroup/index.mjs.map +1 -1
  90. package/lib/components/VBtnToggle/VBtnToggle.mjs +3 -10
  91. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  92. package/lib/components/VBtnToggle/index.d.ts +170 -0
  93. package/lib/components/VBtnToggle/index.mjs.map +1 -1
  94. package/lib/components/VCalendar/VCalendar.mjs +6 -67
  95. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  96. package/lib/components/VCalendar/VCalendarCategory.mjs +7 -18
  97. package/lib/components/VCalendar/VCalendarCategory.mjs.map +1 -1
  98. package/lib/components/VCalendar/VCalendarDaily.mjs +3 -34
  99. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  100. package/lib/components/VCalendar/VCalendarMonthly.mjs +3 -7
  101. package/lib/components/VCalendar/VCalendarMonthly.mjs.map +1 -1
  102. package/lib/components/VCalendar/VCalendarWeekly.mjs +3 -32
  103. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  104. package/lib/components/VCalendar/index.mjs.map +1 -1
  105. package/lib/components/VCalendar/mixins/calendar-base.mjs +1 -19
  106. package/lib/components/VCalendar/mixins/calendar-base.mjs.map +1 -1
  107. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +14 -78
  108. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  109. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs +0 -30
  110. package/lib/components/VCalendar/mixins/calendar-with-intervals.mjs.map +1 -1
  111. package/lib/components/VCalendar/mixins/mouse.mjs +7 -17
  112. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  113. package/lib/components/VCalendar/mixins/times.mjs +1 -9
  114. package/lib/components/VCalendar/mixins/times.mjs.map +1 -1
  115. package/lib/components/VCalendar/modes/column.mjs +0 -3
  116. package/lib/components/VCalendar/modes/column.mjs.map +1 -1
  117. package/lib/components/VCalendar/modes/common.mjs +0 -14
  118. package/lib/components/VCalendar/modes/common.mjs.map +1 -1
  119. package/lib/components/VCalendar/modes/index.mjs +0 -1
  120. package/lib/components/VCalendar/modes/index.mjs.map +1 -1
  121. package/lib/components/VCalendar/modes/stack.mjs +3 -45
  122. package/lib/components/VCalendar/modes/stack.mjs.map +1 -1
  123. package/lib/components/VCalendar/util/events.mjs +0 -1
  124. package/lib/components/VCalendar/util/events.mjs.map +1 -1
  125. package/lib/components/VCalendar/util/parser.mjs +3 -4
  126. package/lib/components/VCalendar/util/parser.mjs.map +1 -1
  127. package/lib/components/VCalendar/util/props.mjs +0 -13
  128. package/lib/components/VCalendar/util/props.mjs.map +1 -1
  129. package/lib/components/VCalendar/util/timestamp.mjs +2 -64
  130. package/lib/components/VCalendar/util/timestamp.mjs.map +1 -1
  131. package/lib/components/VCard/VCard.css +8 -3
  132. package/lib/components/VCard/VCard.mjs +3 -8
  133. package/lib/components/VCard/VCard.mjs.map +1 -1
  134. package/lib/components/VCard/VCardActions.mjs +0 -4
  135. package/lib/components/VCard/VCardActions.mjs.map +1 -1
  136. package/lib/components/VCard/VCardItem.mjs +0 -5
  137. package/lib/components/VCard/VCardItem.mjs.map +1 -1
  138. package/lib/components/VCard/VCardSubtitle.mjs.map +1 -1
  139. package/lib/components/VCard/VCardText.mjs.map +1 -1
  140. package/lib/components/VCard/VCardTitle.mjs.map +1 -1
  141. package/lib/components/VCard/index.d.ts +237 -0
  142. package/lib/components/VCard/index.mjs.map +1 -1
  143. package/lib/components/VCarousel/VCarousel.mjs +8 -12
  144. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  145. package/lib/components/VCarousel/VCarouselItem.mjs +0 -3
  146. package/lib/components/VCarousel/VCarouselItem.mjs.map +1 -1
  147. package/lib/components/VCarousel/index.d.ts +81 -0
  148. package/lib/components/VCarousel/index.mjs.map +1 -1
  149. package/lib/components/VCheckbox/VCheckbox.mjs +6 -6
  150. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  151. package/lib/components/VCheckbox/VCheckboxBtn.mjs +7 -15
  152. package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
  153. package/lib/components/VCheckbox/index.d.ts +293 -0
  154. package/lib/components/VCheckbox/index.mjs.map +1 -1
  155. package/lib/components/VChip/VChip.css +25 -0
  156. package/lib/components/VChip/VChip.mjs +2 -10
  157. package/lib/components/VChip/VChip.mjs.map +1 -1
  158. package/lib/components/VChip/VChip.sass +1 -0
  159. package/lib/components/VChip/index.d.ts +197 -0
  160. package/lib/components/VChip/index.mjs.map +1 -1
  161. package/lib/components/VChipGroup/VChipGroup.mjs +5 -6
  162. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  163. package/lib/components/VChipGroup/index.d.ts +89 -0
  164. package/lib/components/VChipGroup/index.mjs.map +1 -1
  165. package/lib/components/VCode/index.d.ts +20 -0
  166. package/lib/components/VCode/index.mjs.map +1 -1
  167. package/lib/components/VColorPicker/VColorPicker.mjs +9 -12
  168. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  169. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +5 -20
  170. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  171. package/lib/components/VColorPicker/VColorPickerEdit.mjs +6 -10
  172. package/lib/components/VColorPicker/VColorPickerEdit.mjs.map +1 -1
  173. package/lib/components/VColorPicker/VColorPickerPreview.mjs +6 -8
  174. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  175. package/lib/components/VColorPicker/VColorPickerSwatches.mjs +2 -6
  176. package/lib/components/VColorPicker/VColorPickerSwatches.mjs.map +1 -1
  177. package/lib/components/VColorPicker/index.d.ts +116 -0
  178. package/lib/components/VColorPicker/index.mjs.map +1 -1
  179. package/lib/components/VColorPicker/util/index.mjs +24 -26
  180. package/lib/components/VColorPicker/util/index.mjs.map +1 -1
  181. package/lib/components/VCombobox/VCombobox.css +13 -0
  182. package/lib/components/VCombobox/VCombobox.mjs +24 -51
  183. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  184. package/lib/components/VCombobox/VCombobox.sass +5 -0
  185. package/lib/components/VCombobox/_variables.scss +1 -0
  186. package/lib/components/VCombobox/index.d.ts +1481 -0
  187. package/lib/components/VCombobox/index.mjs.map +1 -1
  188. package/lib/components/VCounter/VCounter.mjs +2 -5
  189. package/lib/components/VCounter/VCounter.mjs.map +1 -1
  190. package/lib/components/VCounter/index.d.ts +224 -0
  191. package/lib/components/VCounter/index.mjs.map +1 -1
  192. package/lib/components/VData/VData.mjs +9 -67
  193. package/lib/components/VData/VData.mjs.map +1 -1
  194. package/lib/components/VData/index.mjs.map +1 -1
  195. package/lib/components/VDataIterator/VDataFooter.mjs +6 -25
  196. package/lib/components/VDataIterator/VDataFooter.mjs.map +1 -1
  197. package/lib/components/VDataIterator/VDataIterator.mjs +12 -51
  198. package/lib/components/VDataIterator/VDataIterator.mjs.map +1 -1
  199. package/lib/components/VDataIterator/index.mjs.map +1 -1
  200. package/lib/components/VDataTable/MobileRow.mjs +3 -8
  201. package/lib/components/VDataTable/MobileRow.mjs.map +1 -1
  202. package/lib/components/VDataTable/Row.mjs +1 -8
  203. package/lib/components/VDataTable/Row.mjs.map +1 -1
  204. package/lib/components/VDataTable/RowGroup.mjs +1 -7
  205. package/lib/components/VDataTable/RowGroup.mjs.map +1 -1
  206. package/lib/components/VDataTable/VDataTable.mjs +42 -90
  207. package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
  208. package/lib/components/VDataTable/VDataTableHeader.mjs +6 -10
  209. package/lib/components/VDataTable/VDataTableHeader.mjs.map +1 -1
  210. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs +0 -18
  211. package/lib/components/VDataTable/VDataTableHeaderDesktop.mjs.map +1 -1
  212. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs +0 -9
  213. package/lib/components/VDataTable/VDataTableHeaderMobile.mjs.map +1 -1
  214. package/lib/components/VDataTable/VEditDialog.mjs +3 -17
  215. package/lib/components/VDataTable/VEditDialog.mjs.map +1 -1
  216. package/lib/components/VDataTable/VVirtualTable.mjs +3 -28
  217. package/lib/components/VDataTable/VVirtualTable.mjs.map +1 -1
  218. package/lib/components/VDataTable/index.mjs +0 -1
  219. package/lib/components/VDataTable/index.mjs.map +1 -1
  220. package/lib/components/VDataTable/mixins/header.mjs +0 -5
  221. package/lib/components/VDataTable/mixins/header.mjs.map +1 -1
  222. package/lib/components/VDatePicker/VDatePicker.mjs +2 -69
  223. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  224. package/lib/components/VDatePicker/VDatePickerDateTable.mjs +1 -29
  225. package/lib/components/VDatePicker/VDatePickerDateTable.mjs.map +1 -1
  226. package/lib/components/VDatePicker/VDatePickerHeader.mjs +4 -17
  227. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  228. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs +1 -12
  229. package/lib/components/VDatePicker/VDatePickerMonthTable.mjs.map +1 -1
  230. package/lib/components/VDatePicker/VDatePickerTitle.mjs +4 -15
  231. package/lib/components/VDatePicker/VDatePickerTitle.mjs.map +1 -1
  232. package/lib/components/VDatePicker/VDatePickerYears.mjs +4 -18
  233. package/lib/components/VDatePicker/VDatePickerYears.mjs.map +1 -1
  234. package/lib/components/VDatePicker/index.mjs.map +1 -1
  235. package/lib/components/VDatePicker/mixins/date-picker-table.mjs +6 -33
  236. package/lib/components/VDatePicker/mixins/date-picker-table.mjs.map +1 -1
  237. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs +0 -5
  238. package/lib/components/VDatePicker/util/createNativeLocaleFormatter.mjs.map +1 -1
  239. package/lib/components/VDatePicker/util/eventHelpers.mjs +2 -3
  240. package/lib/components/VDatePicker/util/eventHelpers.mjs.map +1 -1
  241. package/lib/components/VDatePicker/util/index.mjs +0 -1
  242. package/lib/components/VDatePicker/util/index.mjs.map +1 -1
  243. package/lib/components/VDatePicker/util/isDateAllowed.mjs +1 -1
  244. package/lib/components/VDatePicker/util/isDateAllowed.mjs.map +1 -1
  245. package/lib/components/VDatePicker/util/monthChange.mjs +0 -3
  246. package/lib/components/VDatePicker/util/monthChange.mjs.map +1 -1
  247. package/lib/components/VDatePicker/util/pad.mjs +1 -6
  248. package/lib/components/VDatePicker/util/pad.mjs.map +1 -1
  249. package/lib/components/VDatePicker/util/sanitizeDateString.mjs.map +1 -1
  250. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +2 -4
  251. package/lib/components/VDefaultsProvider/VDefaultsProvider.mjs.map +1 -1
  252. package/lib/components/VDefaultsProvider/index.d.ts +27 -0
  253. package/lib/components/VDefaultsProvider/index.mjs.map +1 -1
  254. package/lib/components/VDialog/VDialog.css +2 -0
  255. package/lib/components/VDialog/VDialog.mjs +22 -30
  256. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  257. package/lib/components/VDialog/VDialog.sass +2 -0
  258. package/lib/components/VDialog/index.d.ts +1879 -0
  259. package/lib/components/VDialog/index.mjs.map +1 -1
  260. package/lib/components/VDivider/VDivider.mjs +2 -8
  261. package/lib/components/VDivider/VDivider.mjs.map +1 -1
  262. package/lib/components/VDivider/index.d.ts +23 -0
  263. package/lib/components/VDivider/index.mjs.map +1 -1
  264. package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -3
  265. package/lib/components/VExpansionPanel/VExpansionPanel.mjs +0 -5
  266. package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
  267. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs +2 -6
  268. package/lib/components/VExpansionPanel/VExpansionPanelText.mjs.map +1 -1
  269. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +3 -8
  270. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  271. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -5
  272. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  273. package/lib/components/VExpansionPanel/index.d.ts +206 -0
  274. package/lib/components/VExpansionPanel/index.mjs.map +1 -1
  275. package/lib/components/VField/VField.css +28 -25
  276. package/lib/components/VField/VField.mjs +5 -12
  277. package/lib/components/VField/VField.mjs.map +1 -1
  278. package/lib/components/VField/VField.sass +23 -22
  279. package/lib/components/VField/VFieldLabel.mjs +0 -3
  280. package/lib/components/VField/VFieldLabel.mjs.map +1 -1
  281. package/lib/components/VField/index.d.ts +306 -0
  282. package/lib/components/VField/index.mjs.map +1 -1
  283. package/lib/components/VFileInput/VFileInput.css +16 -0
  284. package/lib/components/VFileInput/VFileInput.mjs +9 -23
  285. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  286. package/lib/components/VFileInput/VFileInput.sass +10 -0
  287. package/lib/components/VFileInput/_variables.scss +2 -0
  288. package/lib/components/VFileInput/index.d.ts +464 -0
  289. package/lib/components/VFileInput/index.mjs.map +1 -1
  290. package/lib/components/VFooter/VFooter.css +7 -0
  291. package/lib/components/VFooter/VFooter.mjs +2 -4
  292. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  293. package/lib/components/VFooter/VFooter.sass +1 -1
  294. package/lib/components/VFooter/_variables.scss +11 -0
  295. package/lib/components/VFooter/index.d.ts +77 -0
  296. package/lib/components/VFooter/index.mjs.map +1 -1
  297. package/lib/components/VForm/VForm.mjs +2 -13
  298. package/lib/components/VForm/VForm.mjs.map +1 -1
  299. package/lib/components/VForm/index.d.ts +72 -0
  300. package/lib/components/VForm/index.mjs.map +1 -1
  301. package/lib/components/VGrid/VCol.mjs +8 -23
  302. package/lib/components/VGrid/VCol.mjs.map +1 -1
  303. package/lib/components/VGrid/VContainer.mjs +2 -4
  304. package/lib/components/VGrid/VContainer.mjs.map +1 -1
  305. package/lib/components/VGrid/VRow.mjs +6 -24
  306. package/lib/components/VGrid/VRow.mjs.map +1 -1
  307. package/lib/components/VGrid/VSpacer.mjs.map +1 -1
  308. package/lib/components/VGrid/index.d.ts +156 -0
  309. package/lib/components/VGrid/index.mjs.map +1 -1
  310. package/lib/components/VHover/VHover.mjs +0 -4
  311. package/lib/components/VHover/VHover.mjs.map +1 -1
  312. package/lib/components/VHover/index.d.ts +31 -0
  313. package/lib/components/VHover/index.mjs.map +1 -1
  314. package/lib/components/VIcon/VIcon.mjs +2 -8
  315. package/lib/components/VIcon/VIcon.mjs.map +1 -1
  316. package/lib/components/VIcon/index.d.ts +125 -0
  317. package/lib/components/VIcon/index.mjs.map +1 -1
  318. package/lib/components/VImg/VImg.mjs +36 -60
  319. package/lib/components/VImg/VImg.mjs.map +1 -1
  320. package/lib/components/VImg/index.d.ts +93 -0
  321. package/lib/components/VImg/index.mjs.map +1 -1
  322. package/lib/components/VInput/InputIcon.mjs +0 -2
  323. package/lib/components/VInput/InputIcon.mjs.map +1 -1
  324. package/lib/components/VInput/VInput.mjs +9 -13
  325. package/lib/components/VInput/VInput.mjs.map +1 -1
  326. package/lib/components/VInput/index.d.ts +309 -0
  327. package/lib/components/VInput/index.mjs.map +1 -1
  328. package/lib/components/VItemGroup/VItem.mjs +0 -5
  329. package/lib/components/VItemGroup/VItem.mjs.map +1 -1
  330. package/lib/components/VItemGroup/VItemGroup.mjs +4 -6
  331. package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
  332. package/lib/components/VItemGroup/index.d.ts +204 -0
  333. package/lib/components/VItemGroup/index.mjs.map +1 -1
  334. package/lib/components/VKbd/index.d.ts +20 -0
  335. package/lib/components/VKbd/index.mjs.map +1 -1
  336. package/lib/components/VLabel/VLabel.css +4 -1
  337. package/lib/components/VLabel/VLabel.mjs +6 -6
  338. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  339. package/lib/components/VLabel/VLabel.sass +3 -1
  340. package/lib/components/VLabel/index.d.ts +16 -0
  341. package/lib/components/VLabel/index.mjs.map +1 -1
  342. package/lib/components/VLayout/VLayout.mjs +2 -5
  343. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  344. package/lib/components/VLayout/VLayoutItem.mjs +2 -6
  345. package/lib/components/VLayout/VLayoutItem.mjs.map +1 -1
  346. package/lib/components/VLayout/index.d.ts +78 -0
  347. package/lib/components/VLayout/index.mjs.map +1 -1
  348. package/lib/components/VLazy/VLazy.mjs +0 -8
  349. package/lib/components/VLazy/VLazy.mjs.map +1 -1
  350. package/lib/components/VLazy/index.d.ts +86 -0
  351. package/lib/components/VLazy/index.mjs.map +1 -1
  352. package/lib/components/VList/VList.mjs +2 -11
  353. package/lib/components/VList/VList.mjs.map +1 -1
  354. package/lib/components/VList/VListChildren.mjs +12 -21
  355. package/lib/components/VList/VListChildren.mjs.map +1 -1
  356. package/lib/components/VList/VListGroup.mjs +1 -12
  357. package/lib/components/VList/VListGroup.mjs.map +1 -1
  358. package/lib/components/VList/VListImg.mjs.map +1 -1
  359. package/lib/components/VList/VListItem.css +8 -3
  360. package/lib/components/VList/VListItem.mjs +6 -16
  361. package/lib/components/VList/VListItem.mjs.map +1 -1
  362. package/lib/components/VList/VListItemAction.mjs +0 -3
  363. package/lib/components/VList/VListItemAction.mjs.map +1 -1
  364. package/lib/components/VList/VListItemMedia.mjs +0 -3
  365. package/lib/components/VList/VListItemMedia.mjs.map +1 -1
  366. package/lib/components/VList/VListItemSubtitle.mjs.map +1 -1
  367. package/lib/components/VList/VListItemTitle.mjs.map +1 -1
  368. package/lib/components/VList/VListSubheader.mjs +0 -4
  369. package/lib/components/VList/VListSubheader.mjs.map +1 -1
  370. package/lib/components/VList/index.d.ts +1227 -0
  371. package/lib/components/VList/index.mjs.map +1 -1
  372. package/lib/components/VList/list.mjs +5 -2
  373. package/lib/components/VList/list.mjs.map +1 -1
  374. package/lib/components/VLocaleProvider/VLocaleProvider.mjs +4 -9
  375. package/lib/components/VLocaleProvider/VLocaleProvider.mjs.map +1 -1
  376. package/lib/components/VLocaleProvider/index.d.ts +24 -0
  377. package/lib/components/VLocaleProvider/index.mjs.map +1 -1
  378. package/lib/components/VMain/VMain.mjs +2 -5
  379. package/lib/components/VMain/VMain.mjs.map +1 -1
  380. package/lib/components/VMain/index.d.ts +27 -0
  381. package/lib/components/VMain/index.mjs.map +1 -1
  382. package/lib/components/VMenu/VMenu.mjs +17 -15
  383. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  384. package/lib/components/VMenu/index.d.ts +1837 -0
  385. package/lib/components/VMenu/index.mjs.map +1 -1
  386. package/lib/components/VMenu/shared.mjs.map +1 -1
  387. package/lib/components/VMessages/VMessages.mjs +2 -6
  388. package/lib/components/VMessages/VMessages.mjs.map +1 -1
  389. package/lib/components/VMessages/index.d.ts +235 -0
  390. package/lib/components/VMessages/index.mjs.map +1 -1
  391. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +6 -11
  392. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  393. package/lib/components/VNavigationDrawer/index.d.ts +148 -0
  394. package/lib/components/VNavigationDrawer/index.mjs.map +1 -1
  395. package/lib/components/VNavigationDrawer/sticky.mjs +0 -4
  396. package/lib/components/VNavigationDrawer/sticky.mjs.map +1 -1
  397. package/lib/components/VNavigationDrawer/touch.mjs +2 -15
  398. package/lib/components/VNavigationDrawer/touch.mjs.map +1 -1
  399. package/lib/components/VNoSsr/VNoSsr.mjs +0 -4
  400. package/lib/components/VNoSsr/VNoSsr.mjs.map +1 -1
  401. package/lib/components/VNoSsr/index.d.ts +8 -0
  402. package/lib/components/VNoSsr/index.mjs.map +1 -1
  403. package/lib/components/VOtpInput/VOtpInput.mjs +7 -58
  404. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  405. package/lib/components/VOtpInput/index.mjs.map +1 -1
  406. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +7 -19
  407. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  408. package/lib/components/VOverflowBtn/index.mjs.map +1 -1
  409. package/lib/components/VOverlay/VOverlay.mjs +12 -20
  410. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  411. package/lib/components/VOverlay/index.d.ts +551 -0
  412. package/lib/components/VOverlay/index.mjs.map +1 -1
  413. package/lib/components/VOverlay/locationStrategies.mjs +23 -56
  414. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  415. package/lib/components/VOverlay/requestNewFrame.mjs +1 -2
  416. package/lib/components/VOverlay/requestNewFrame.mjs.map +1 -1
  417. package/lib/components/VOverlay/scrollStrategies.mjs +2 -18
  418. package/lib/components/VOverlay/scrollStrategies.mjs.map +1 -1
  419. package/lib/components/VOverlay/useActivator.mjs +29 -29
  420. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  421. package/lib/components/VOverlay/util/point.mjs +3 -4
  422. package/lib/components/VOverlay/util/point.mjs.map +1 -1
  423. package/lib/components/VPagination/VPagination.mjs +16 -25
  424. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  425. package/lib/components/VPagination/index.d.ts +249 -0
  426. package/lib/components/VPagination/index.mjs.map +1 -1
  427. package/lib/components/VParallax/VParallax.mjs +30 -22
  428. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  429. package/lib/components/VParallax/index.d.ts +18 -0
  430. package/lib/components/VParallax/index.mjs.map +1 -1
  431. package/lib/components/VPicker/VPicker.mjs +3 -12
  432. package/lib/components/VPicker/VPicker.mjs.map +1 -1
  433. package/lib/components/VPicker/index.mjs.map +1 -1
  434. package/lib/components/VProgressCircular/VProgressCircular.mjs +2 -5
  435. package/lib/components/VProgressCircular/VProgressCircular.mjs.map +1 -1
  436. package/lib/components/VProgressCircular/index.d.ts +69 -0
  437. package/lib/components/VProgressCircular/index.mjs.map +1 -1
  438. package/lib/components/VProgressLinear/VProgressLinear.mjs +5 -8
  439. package/lib/components/VProgressLinear/VProgressLinear.mjs.map +1 -1
  440. package/lib/components/VProgressLinear/index.d.ts +102 -0
  441. package/lib/components/VProgressLinear/index.mjs.map +1 -1
  442. package/lib/components/VRadio/VRadio.mjs +2 -4
  443. package/lib/components/VRadio/VRadio.mjs.map +1 -1
  444. package/lib/components/VRadio/index.d.ts +105 -0
  445. package/lib/components/VRadio/index.mjs.map +1 -1
  446. package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
  447. package/lib/components/VRadioGroup/VRadioGroup.mjs +17 -21
  448. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  449. package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
  450. package/lib/components/VRadioGroup/_variables.scss +0 -1
  451. package/lib/components/VRadioGroup/index.d.ts +174 -0
  452. package/lib/components/VRadioGroup/index.mjs.map +1 -1
  453. package/lib/components/VRangeSlider/VRangeSlider.mjs +24 -27
  454. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  455. package/lib/components/VRangeSlider/index.d.ts +244 -0
  456. package/lib/components/VRangeSlider/index.mjs.map +1 -1
  457. package/lib/components/VRating/VRating.mjs +4 -22
  458. package/lib/components/VRating/VRating.mjs.map +1 -1
  459. package/lib/components/VRating/index.d.ts +348 -0
  460. package/lib/components/VRating/index.mjs.map +1 -1
  461. package/lib/components/VResponsive/VResponsive.mjs +2 -5
  462. package/lib/components/VResponsive/VResponsive.mjs.map +1 -1
  463. package/lib/components/VResponsive/index.d.ts +24 -0
  464. package/lib/components/VResponsive/index.mjs.map +1 -1
  465. package/lib/components/VSelect/VSelect.css +13 -0
  466. package/lib/components/VSelect/VSelect.mjs +10 -23
  467. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  468. package/lib/components/VSelect/VSelect.sass +6 -0
  469. package/lib/components/VSelect/_variables.scss +1 -0
  470. package/lib/components/VSelect/index.d.ts +5009 -0
  471. package/lib/components/VSelect/index.mjs.map +1 -1
  472. package/lib/components/VSelectionControl/VSelectionControl.mjs +16 -59
  473. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  474. package/lib/components/VSelectionControl/index.d.ts +259 -0
  475. package/lib/components/VSelectionControl/index.mjs.map +1 -1
  476. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +6 -0
  477. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +59 -29
  478. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  479. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +6 -0
  480. package/lib/components/VSelectionControlGroup/index.d.ts +96 -0
  481. package/lib/components/VSelectionControlGroup/index.mjs.map +1 -1
  482. package/lib/components/VSheet/VSheet.mjs +2 -4
  483. package/lib/components/VSheet/VSheet.mjs.map +1 -1
  484. package/lib/components/VSheet/index.d.ts +69 -0
  485. package/lib/components/VSheet/index.mjs.map +1 -1
  486. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +19 -32
  487. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  488. package/lib/components/VSkeletonLoader/index.mjs.map +1 -1
  489. package/lib/components/VSlideGroup/VSlideGroup.mjs +16 -47
  490. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  491. package/lib/components/VSlideGroup/VSlideGroupItem.mjs +5 -9
  492. package/lib/components/VSlideGroup/VSlideGroupItem.mjs.map +1 -1
  493. package/lib/components/VSlideGroup/helpers.mjs +0 -2
  494. package/lib/components/VSlideGroup/helpers.mjs.map +1 -1
  495. package/lib/components/VSlideGroup/index.d.ts +434 -0
  496. package/lib/components/VSlideGroup/index.mjs.map +1 -1
  497. package/lib/components/VSlider/VSlider.css +7 -2
  498. package/lib/components/VSlider/VSlider.mjs +19 -12
  499. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  500. package/lib/components/VSlider/VSlider.sass +6 -2
  501. package/lib/components/VSlider/VSliderThumb.mjs +4 -15
  502. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  503. package/lib/components/VSlider/VSliderTrack.css +20 -20
  504. package/lib/components/VSlider/VSliderTrack.mjs +13 -11
  505. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  506. package/lib/components/VSlider/VSliderTrack.sass +14 -14
  507. package/lib/components/VSlider/_variables.scss +2 -2
  508. package/lib/components/VSlider/index.d.ts +241 -0
  509. package/lib/components/VSlider/index.mjs.map +1 -1
  510. package/lib/components/VSlider/slider.mjs +8 -29
  511. package/lib/components/VSlider/slider.mjs.map +1 -1
  512. package/lib/components/VSnackbar/VSnackbar.mjs +5 -11
  513. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  514. package/lib/components/VSnackbar/index.d.ts +1916 -0
  515. package/lib/components/VSnackbar/index.mjs.map +1 -1
  516. package/lib/components/VSparkline/VSparkline.mjs +5 -40
  517. package/lib/components/VSparkline/VSparkline.mjs.map +1 -1
  518. package/lib/components/VSparkline/helpers/core.mjs +1 -1
  519. package/lib/components/VSparkline/helpers/core.mjs.map +1 -1
  520. package/lib/components/VSparkline/helpers/math.mjs +2 -3
  521. package/lib/components/VSparkline/helpers/math.mjs.map +1 -1
  522. package/lib/components/VSparkline/helpers/path.mjs +0 -4
  523. package/lib/components/VSparkline/helpers/path.mjs.map +1 -1
  524. package/lib/components/VSparkline/index.mjs.map +1 -1
  525. package/lib/components/VSpeedDial/VSpeedDial.mjs +3 -12
  526. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  527. package/lib/components/VSpeedDial/index.mjs.map +1 -1
  528. package/lib/components/VStepper/VStepper.mjs +5 -24
  529. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  530. package/lib/components/VStepper/VStepperContent.mjs +4 -25
  531. package/lib/components/VStepper/VStepperContent.mjs.map +1 -1
  532. package/lib/components/VStepper/VStepperStep.mjs +0 -24
  533. package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
  534. package/lib/components/VStepper/index.mjs.map +1 -1
  535. package/lib/components/VSwitch/VSwitch.mjs +14 -15
  536. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  537. package/lib/components/VSwitch/index.d.ts +179 -0
  538. package/lib/components/VSwitch/index.mjs.map +1 -1
  539. package/lib/components/VSystemBar/VSystemBar.mjs +2 -4
  540. package/lib/components/VSystemBar/VSystemBar.mjs.map +1 -1
  541. package/lib/components/VSystemBar/index.d.ts +62 -0
  542. package/lib/components/VSystemBar/index.mjs.map +1 -1
  543. package/lib/components/VTable/VTable.css +3 -3
  544. package/lib/components/VTable/VTable.mjs +5 -6
  545. package/lib/components/VTable/VTable.mjs.map +1 -1
  546. package/lib/components/VTable/VTable.sass +9 -3
  547. package/lib/components/VTable/index.d.ts +44 -0
  548. package/lib/components/VTable/index.mjs.map +1 -1
  549. package/lib/components/VTabs/VTab.mjs +3 -10
  550. package/lib/components/VTabs/VTab.mjs.map +1 -1
  551. package/lib/components/VTabs/VTabs.css +5 -5
  552. package/lib/components/VTabs/VTabs.mjs +12 -17
  553. package/lib/components/VTabs/VTabs.mjs.map +1 -1
  554. package/lib/components/VTabs/VTabs.sass +4 -4
  555. package/lib/components/VTabs/_variables.scss +1 -1
  556. package/lib/components/VTabs/index.d.ts +186 -0
  557. package/lib/components/VTabs/index.mjs.map +1 -1
  558. package/lib/components/VTabs/shared.mjs.map +1 -1
  559. package/lib/components/VTextField/VTextField.css +2 -3
  560. package/lib/components/VTextField/VTextField.mjs +13 -24
  561. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  562. package/lib/components/VTextField/VTextField.sass +2 -4
  563. package/lib/components/VTextField/index.d.ts +1766 -0
  564. package/lib/components/VTextField/index.mjs.map +1 -1
  565. package/lib/components/VTextarea/VTextarea.css +5 -3
  566. package/lib/components/VTextarea/VTextarea.mjs +8 -25
  567. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  568. package/lib/components/VTextarea/VTextarea.sass +5 -4
  569. package/lib/components/VTextarea/index.d.ts +446 -0
  570. package/lib/components/VTextarea/index.mjs.map +1 -1
  571. package/lib/components/VThemeProvider/VThemeProvider.mjs +2 -5
  572. package/lib/components/VThemeProvider/VThemeProvider.mjs.map +1 -1
  573. package/lib/components/VThemeProvider/index.d.ts +25 -0
  574. package/lib/components/VThemeProvider/index.mjs.map +1 -1
  575. package/lib/components/VTimePicker/SelectingTimes.mjs +0 -3
  576. package/lib/components/VTimePicker/SelectingTimes.mjs.map +1 -1
  577. package/lib/components/VTimePicker/VTimePicker.mjs +3 -53
  578. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  579. package/lib/components/VTimePicker/VTimePickerClock.mjs +6 -42
  580. package/lib/components/VTimePicker/VTimePickerClock.mjs.map +1 -1
  581. package/lib/components/VTimePicker/VTimePickerTitle.mjs +4 -13
  582. package/lib/components/VTimePicker/VTimePickerTitle.mjs.map +1 -1
  583. package/lib/components/VTimePicker/index.mjs.map +1 -1
  584. package/lib/components/VTimeline/VTimeline.css +21 -6
  585. package/lib/components/VTimeline/VTimeline.mjs +8 -10
  586. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  587. package/lib/components/VTimeline/VTimeline.sass +16 -2
  588. package/lib/components/VTimeline/VTimelineDivider.mjs +0 -5
  589. package/lib/components/VTimeline/VTimelineDivider.mjs.map +1 -1
  590. package/lib/components/VTimeline/VTimelineItem.mjs +0 -6
  591. package/lib/components/VTimeline/VTimelineItem.mjs.map +1 -1
  592. package/lib/components/VTimeline/_variables.scss +4 -3
  593. package/lib/components/VTimeline/index.d.ts +158 -0
  594. package/lib/components/VTimeline/index.mjs.map +1 -1
  595. package/lib/components/VToolbar/VToolbar.css +0 -1
  596. package/lib/components/VToolbar/VToolbar.mjs +2 -8
  597. package/lib/components/VToolbar/VToolbar.mjs.map +1 -1
  598. package/lib/components/VToolbar/VToolbar.sass +0 -1
  599. package/lib/components/VToolbar/VToolbarItems.mjs +0 -4
  600. package/lib/components/VToolbar/VToolbarItems.mjs.map +1 -1
  601. package/lib/components/VToolbar/VToolbarTitle.mjs +0 -5
  602. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
  603. package/lib/components/VToolbar/index.d.ts +377 -0
  604. package/lib/components/VToolbar/index.mjs.map +1 -1
  605. package/lib/components/VTooltip/VTooltip.mjs +2 -8
  606. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  607. package/lib/components/VTooltip/index.d.ts +1819 -0
  608. package/lib/components/VTooltip/index.mjs.map +1 -1
  609. package/lib/components/VTreeview/VTreeview.mjs +17 -72
  610. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  611. package/lib/components/VTreeview/VTreeviewNode.mjs +2 -32
  612. package/lib/components/VTreeview/VTreeviewNode.mjs.map +1 -1
  613. package/lib/components/VTreeview/index.mjs.map +1 -1
  614. package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -6
  615. package/lib/components/VTreeview/util/filterTreeItems.mjs.map +1 -1
  616. package/lib/components/VValidation/VValidation.mjs +2 -5
  617. package/lib/components/VValidation/VValidation.mjs.map +1 -1
  618. package/lib/components/VValidation/index.d.ts +62 -0
  619. package/lib/components/VValidation/index.mjs.map +1 -1
  620. package/lib/components/VVirtualScroll/VVirtualScroll.mjs +3 -18
  621. package/lib/components/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  622. package/lib/components/VVirtualScroll/index.mjs.map +1 -1
  623. package/lib/components/VWindow/VWindow.mjs +5 -15
  624. package/lib/components/VWindow/VWindow.mjs.map +1 -1
  625. package/lib/components/VWindow/VWindowItem.mjs +8 -21
  626. package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
  627. package/lib/components/VWindow/index.d.ts +378 -0
  628. package/lib/components/VWindow/index.mjs.map +1 -1
  629. package/lib/components/index.d.ts +18944 -7631
  630. package/lib/components/index.mjs +0 -11
  631. package/lib/components/index.mjs.map +1 -1
  632. package/lib/components/transitions/createTransition.mjs +0 -10
  633. package/lib/components/transitions/createTransition.mjs.map +1 -1
  634. package/lib/components/transitions/dialog-transition.mjs +3 -18
  635. package/lib/components/transitions/dialog-transition.mjs.map +1 -1
  636. package/lib/components/transitions/expand-transition.mjs +2 -11
  637. package/lib/components/transitions/expand-transition.mjs.map +1 -1
  638. package/lib/components/transitions/index.d.ts +470 -0
  639. package/lib/components/transitions/index.mjs +5 -4
  640. package/lib/components/transitions/index.mjs.map +1 -1
  641. package/lib/composables/border.mjs +0 -3
  642. package/lib/composables/border.mjs.map +1 -1
  643. package/lib/composables/color.mjs +0 -4
  644. package/lib/composables/color.mjs.map +1 -1
  645. package/lib/composables/defaults.mjs +0 -5
  646. package/lib/composables/defaults.mjs.map +1 -1
  647. package/lib/composables/delay.mjs +0 -3
  648. package/lib/composables/delay.mjs.map +1 -1
  649. package/lib/composables/density.mjs +4 -1
  650. package/lib/composables/density.mjs.map +1 -1
  651. package/lib/composables/dimensions.mjs +0 -1
  652. package/lib/composables/dimensions.mjs.map +1 -1
  653. package/lib/composables/display.mjs +8 -21
  654. package/lib/composables/display.mjs.map +1 -1
  655. package/lib/composables/elevation.mjs +2 -4
  656. package/lib/composables/elevation.mjs.map +1 -1
  657. package/lib/composables/filter.mjs +7 -14
  658. package/lib/composables/filter.mjs.map +1 -1
  659. package/lib/composables/focus.mjs +0 -5
  660. package/lib/composables/focus.mjs.map +1 -1
  661. package/lib/composables/form.mjs +1 -14
  662. package/lib/composables/form.mjs.map +1 -1
  663. package/lib/composables/forwardRefs.mjs +9 -16
  664. package/lib/composables/forwardRefs.mjs.map +1 -1
  665. package/lib/composables/group.mjs +10 -33
  666. package/lib/composables/group.mjs.map +1 -1
  667. package/lib/composables/hydration.mjs +0 -1
  668. package/lib/composables/hydration.mjs.map +1 -1
  669. package/lib/composables/icons.mjs +4 -17
  670. package/lib/composables/icons.mjs.map +1 -1
  671. package/lib/composables/index.mjs +1 -2
  672. package/lib/composables/index.mjs.map +1 -1
  673. package/lib/composables/intersectionObserver.mjs +0 -3
  674. package/lib/composables/intersectionObserver.mjs.map +1 -1
  675. package/lib/composables/items.mjs +3 -15
  676. package/lib/composables/items.mjs.map +1 -1
  677. package/lib/composables/layout.mjs +29 -31
  678. package/lib/composables/layout.mjs.map +1 -1
  679. package/lib/composables/lazy.mjs +2 -3
  680. package/lib/composables/lazy.mjs.map +1 -1
  681. package/lib/composables/loader.mjs +0 -3
  682. package/lib/composables/loader.mjs.map +1 -1
  683. package/lib/composables/locale.mjs +48 -113
  684. package/lib/composables/locale.mjs.map +1 -1
  685. package/lib/composables/location.mjs +1 -8
  686. package/lib/composables/location.mjs.map +1 -1
  687. package/lib/composables/mutationObserver.mjs +3 -1
  688. package/lib/composables/mutationObserver.mjs.map +1 -1
  689. package/lib/composables/nested/nested.mjs +4 -20
  690. package/lib/composables/nested/nested.mjs.map +1 -1
  691. package/lib/composables/nested/openStrategies.mjs +0 -9
  692. package/lib/composables/nested/openStrategies.mjs.map +1 -1
  693. package/lib/composables/nested/selectStrategies.mjs +6 -21
  694. package/lib/composables/nested/selectStrategies.mjs.map +1 -1
  695. package/lib/composables/position.mjs +1 -4
  696. package/lib/composables/position.mjs.map +1 -1
  697. package/lib/composables/proxiedModel.mjs +28 -16
  698. package/lib/composables/proxiedModel.mjs.map +1 -1
  699. package/lib/composables/refs.mjs +0 -2
  700. package/lib/composables/refs.mjs.map +1 -1
  701. package/lib/composables/resizeObserver.mjs +0 -3
  702. package/lib/composables/resizeObserver.mjs.map +1 -1
  703. package/lib/composables/rounded.mjs +0 -3
  704. package/lib/composables/rounded.mjs.map +1 -1
  705. package/lib/composables/router.mjs +12 -12
  706. package/lib/composables/router.mjs.map +1 -1
  707. package/lib/composables/scopeId.mjs.map +1 -1
  708. package/lib/composables/scroll.mjs +3 -9
  709. package/lib/composables/scroll.mjs.map +1 -1
  710. package/lib/composables/selectLink.mjs +7 -6
  711. package/lib/composables/selectLink.mjs.map +1 -1
  712. package/lib/composables/size.mjs +0 -3
  713. package/lib/composables/size.mjs.map +1 -1
  714. package/lib/composables/ssrBoot.mjs +2 -1
  715. package/lib/composables/ssrBoot.mjs.map +1 -1
  716. package/lib/composables/stack.mjs +0 -6
  717. package/lib/composables/stack.mjs.map +1 -1
  718. package/lib/composables/tag.mjs +0 -1
  719. package/lib/composables/tag.mjs.map +1 -1
  720. package/lib/composables/teleport.mjs +0 -4
  721. package/lib/composables/teleport.mjs.map +1 -1
  722. package/lib/composables/theme.mjs +53 -69
  723. package/lib/composables/theme.mjs.map +1 -1
  724. package/lib/composables/toggleScope.mjs +0 -1
  725. package/lib/composables/toggleScope.mjs.map +1 -1
  726. package/lib/composables/touch.mjs +5 -28
  727. package/lib/composables/touch.mjs.map +1 -1
  728. package/lib/composables/transition.mjs +0 -2
  729. package/lib/composables/transition.mjs.map +1 -1
  730. package/lib/composables/validation.mjs +4 -14
  731. package/lib/composables/validation.mjs.map +1 -1
  732. package/lib/composables/variant.mjs +0 -2
  733. package/lib/composables/variant.mjs.map +1 -1
  734. package/lib/directives/click-outside/index.mjs +10 -22
  735. package/lib/directives/click-outside/index.mjs.map +1 -1
  736. package/lib/directives/color/index.mjs +0 -11
  737. package/lib/directives/color/index.mjs.map +1 -1
  738. package/lib/directives/index.d.ts +104 -13
  739. package/lib/directives/index.mjs +0 -1
  740. package/lib/directives/index.mjs.map +1 -1
  741. package/lib/directives/intersect/index.mjs +3 -10
  742. package/lib/directives/intersect/index.mjs.map +1 -1
  743. package/lib/directives/mutate/index.mjs +1 -5
  744. package/lib/directives/mutate/index.mjs.map +1 -1
  745. package/lib/directives/resize/index.mjs +0 -5
  746. package/lib/directives/resize/index.mjs.map +1 -1
  747. package/lib/directives/ripple/index.mjs +11 -63
  748. package/lib/directives/ripple/index.mjs.map +1 -1
  749. package/lib/directives/scroll/index.mjs +0 -4
  750. package/lib/directives/scroll/index.mjs.map +1 -1
  751. package/lib/directives/touch/index.mjs +0 -15
  752. package/lib/directives/touch/index.mjs.map +1 -1
  753. package/lib/entry-bundler.mjs +1 -1
  754. package/lib/entry-bundler.mjs.map +1 -1
  755. package/lib/framework.mjs +59 -62
  756. package/lib/framework.mjs.map +1 -1
  757. package/lib/iconsets/fa-svg.mjs +0 -1
  758. package/lib/iconsets/fa-svg.mjs.map +1 -1
  759. package/lib/iconsets/fa.mjs +0 -1
  760. package/lib/iconsets/fa.mjs.map +1 -1
  761. package/lib/iconsets/fa4.mjs +4 -3
  762. package/lib/iconsets/fa4.mjs.map +1 -1
  763. package/lib/iconsets/md.mjs +4 -3
  764. package/lib/iconsets/md.mjs.map +1 -1
  765. package/lib/iconsets/mdi-svg.mjs +0 -1
  766. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  767. package/lib/iconsets/mdi.mjs +4 -3
  768. package/lib/iconsets/mdi.mjs.map +1 -1
  769. package/lib/index.d.ts +115 -120
  770. package/lib/locale/adapters/vue-i18n.d.ts +29 -0
  771. package/lib/locale/adapters/vue-i18n.mjs +59 -52
  772. package/lib/locale/adapters/vue-i18n.mjs.map +1 -1
  773. package/lib/locale/adapters/vuetify.d.ts +24 -0
  774. package/lib/locale/adapters/vuetify.mjs +97 -0
  775. package/lib/locale/adapters/vuetify.mjs.map +1 -0
  776. package/lib/locale/af.mjs.map +1 -1
  777. package/lib/locale/ar.mjs.map +1 -1
  778. package/lib/locale/az.mjs.map +1 -1
  779. package/lib/locale/bg.mjs.map +1 -1
  780. package/lib/locale/ca.mjs.map +1 -1
  781. package/lib/locale/ckb.mjs.map +1 -1
  782. package/lib/locale/cs.mjs.map +1 -1
  783. package/lib/locale/da.mjs.map +1 -1
  784. package/lib/locale/de.mjs.map +1 -1
  785. package/lib/locale/el.mjs.map +1 -1
  786. package/lib/locale/en.mjs.map +1 -1
  787. package/lib/locale/es.mjs.map +1 -1
  788. package/lib/locale/et.mjs.map +1 -1
  789. package/lib/locale/fa.mjs.map +1 -1
  790. package/lib/locale/fi.mjs.map +1 -1
  791. package/lib/locale/fr.mjs.map +1 -1
  792. package/lib/locale/he.mjs.map +1 -1
  793. package/lib/locale/hr.mjs.map +1 -1
  794. package/lib/locale/hu.mjs.map +1 -1
  795. package/lib/locale/id.mjs.map +1 -1
  796. package/lib/locale/index.d.ts +2 -2
  797. package/lib/locale/index.mjs +1 -1
  798. package/lib/locale/index.mjs.map +1 -1
  799. package/lib/locale/it.mjs.map +1 -1
  800. package/lib/locale/ja.mjs.map +1 -1
  801. package/lib/locale/ko.mjs.map +1 -1
  802. package/lib/locale/lt.mjs.map +1 -1
  803. package/lib/locale/lv.mjs.map +1 -1
  804. package/lib/locale/nl.mjs.map +1 -1
  805. package/lib/locale/no.mjs.map +1 -1
  806. package/lib/locale/pl.mjs +7 -7
  807. package/lib/locale/pl.mjs.map +1 -1
  808. package/lib/locale/pt.mjs.map +1 -1
  809. package/lib/locale/ro.mjs.map +1 -1
  810. package/lib/locale/ru.mjs.map +1 -1
  811. package/lib/locale/sk.mjs.map +1 -1
  812. package/lib/locale/sl.mjs.map +1 -1
  813. package/lib/locale/sr-Cyrl.mjs.map +1 -1
  814. package/lib/locale/sr-Latn.mjs.map +1 -1
  815. package/lib/locale/sv.mjs.map +1 -1
  816. package/lib/locale/th.mjs.map +1 -1
  817. package/lib/locale/tr.mjs.map +1 -1
  818. package/lib/locale/uk.mjs.map +1 -1
  819. package/lib/locale/vi.mjs.map +1 -1
  820. package/lib/locale/zh-Hans.mjs.map +1 -1
  821. package/lib/locale/zh-Hant.mjs.map +1 -1
  822. package/lib/services/goto/easing-patterns.mjs +24 -24
  823. package/lib/services/goto/easing-patterns.mjs.map +1 -1
  824. package/lib/services/goto/index.mjs +11 -15
  825. package/lib/services/goto/index.mjs.map +1 -1
  826. package/lib/services/goto/util.mjs +1 -8
  827. package/lib/services/goto/util.mjs.map +1 -1
  828. package/lib/styles/main.css +77 -73
  829. package/lib/styles/settings/_colors.scss +84 -84
  830. package/lib/styles/settings/_utilities.scss +7 -0
  831. package/lib/styles/tools/_states.sass +8 -3
  832. package/lib/util/anchor.mjs +0 -3
  833. package/lib/util/anchor.mjs.map +1 -1
  834. package/lib/util/animation.mjs +0 -6
  835. package/lib/util/animation.mjs.map +1 -1
  836. package/lib/util/box.mjs +0 -5
  837. package/lib/util/box.mjs.map +1 -1
  838. package/lib/util/color/APCA.mjs +23 -21
  839. package/lib/util/color/APCA.mjs.map +1 -1
  840. package/lib/util/color/transformCIELAB.mjs +0 -2
  841. package/lib/util/color/transformCIELAB.mjs.map +1 -1
  842. package/lib/util/color/transformSRGB.mjs +14 -12
  843. package/lib/util/color/transformSRGB.mjs.map +1 -1
  844. package/lib/util/colorUtils.mjs +8 -25
  845. package/lib/util/colorUtils.mjs.map +1 -1
  846. package/lib/util/colors.mjs.map +1 -1
  847. package/lib/util/console.mjs +5 -14
  848. package/lib/util/console.mjs.map +1 -1
  849. package/lib/util/createSimpleFunctional.mjs +0 -3
  850. package/lib/util/createSimpleFunctional.mjs.map +1 -1
  851. package/lib/util/dateTimeUtils.mjs +0 -10
  852. package/lib/util/dateTimeUtils.mjs.map +1 -1
  853. package/lib/util/defineComponent.mjs +6 -22
  854. package/lib/util/defineComponent.mjs.map +1 -1
  855. package/lib/util/dom.mjs +4 -4
  856. package/lib/util/dom.mjs.map +1 -1
  857. package/lib/util/easing.mjs +0 -1
  858. package/lib/util/easing.mjs.map +1 -1
  859. package/lib/util/getCurrentInstance.mjs +3 -10
  860. package/lib/util/getCurrentInstance.mjs.map +1 -1
  861. package/lib/util/getScrollParent.mjs +0 -3
  862. package/lib/util/getScrollParent.mjs.map +1 -1
  863. package/lib/util/globals.mjs.map +1 -1
  864. package/lib/util/helpers.mjs +23 -85
  865. package/lib/util/helpers.mjs.map +1 -1
  866. package/lib/util/injectSelf.mjs +0 -1
  867. package/lib/util/injectSelf.mjs.map +1 -1
  868. package/lib/util/isFixedPosition.mjs +0 -2
  869. package/lib/util/isFixedPosition.mjs.map +1 -1
  870. package/lib/util/propsFactory.mjs +11 -5
  871. package/lib/util/propsFactory.mjs.map +1 -1
  872. package/lib/util/useRender.mjs +0 -1
  873. package/lib/util/useRender.mjs.map +1 -1
  874. package/package.json +9 -11
  875. package/dist/json/attributes.json +0 -5594
  876. package/dist/json/tags.json +0 -1943
  877. package/dist/json/web-types.json +0 -18992
  878. package/lib/composables/rtl.mjs +0 -42
  879. package/lib/composables/rtl.mjs.map +0 -1
  880. package/lib/locale/adapters/vue-intl.mjs +0 -65
  881. package/lib/locale/adapters/vue-intl.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"VPicker.mjs","names":["Colorable","Elevatable","Themeable","convertToUnit","mixins","extend","name","props","flat","Boolean","fullWidth","landscape","noTitle","transition","type","String","default","width","Number","computed","computedTitleColor","defaultTitleColor","isDark","color","methods","genTitle","$createElement","setBackgroundColor","staticClass","class","$slots","title","genBodyTransition","genBody","themeClasses","style","undefined","genActions","actions","render","h","elevationClasses"],"sources":["../../../src/components/VPicker/VPicker.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport './VPicker.sass'\nimport '../VCard/VCard.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Elevatable from '../../mixins/elevatable'\nimport Themeable from '../../mixins/themeable'\n\n// Helpers\nimport { convertToUnit } from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue/types'\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Elevatable,\n Themeable\n).extend({\n name: 'v-picker',\n\n props: {\n flat: Boolean,\n fullWidth: Boolean,\n landscape: Boolean,\n noTitle: Boolean,\n transition: {\n type: String,\n default: 'fade-transition',\n },\n width: {\n type: [Number, String],\n default: 290,\n },\n },\n\n computed: {\n computedTitleColor (): string | false {\n const defaultTitleColor = this.isDark ? false : (this.color || 'primary')\n return this.color || defaultTitleColor\n },\n },\n\n methods: {\n genTitle () {\n return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {\n staticClass: 'v-picker__title',\n class: {\n 'v-picker__title--landscape': this.landscape,\n },\n }), this.$slots.title)\n },\n genBodyTransition () {\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n },\n }, this.$slots.default)\n },\n genBody () {\n return this.$createElement('div', {\n staticClass: 'v-picker__body',\n class: {\n 'v-picker__body--no-title': this.noTitle,\n ...this.themeClasses,\n },\n style: this.fullWidth ? undefined : {\n width: convertToUnit(this.width),\n },\n }, [\n this.genBodyTransition(),\n ])\n },\n genActions () {\n return this.$createElement('div', {\n staticClass: 'v-picker__actions v-card__actions',\n class: {\n 'v-picker__actions--no-title': this.noTitle,\n },\n }, this.$slots.actions)\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-picker v-card',\n class: {\n 'v-picker--flat': this.flat,\n 'v-picker--landscape': this.landscape,\n 'v-picker--full-width': this.fullWidth,\n ...this.themeClasses,\n ...this.elevationClasses,\n },\n }, [\n this.$slots.title ? this.genTitle() : null,\n this.genBody(),\n this.$slots.actions ? this.genActions() : null,\n ])\n },\n})\n"],"mappings":"AAAA;;AACA;AAEA;AACA,4B,CAEA;;OACOA,S;OACAC,U;OACAC,S,oCAEP;;SACSC,a,kCAET;;OAEOC,M;AAEP;;AACA,eAAeA,MAAM,CACnBJ,SADmB,EAEnBC,UAFmB,EAGnBC,SAHmB,CAAN,CAIbG,MAJa,CAIN;EACPC,IAAI,EAAE,UADC;EAGPC,KAAK,EAAE;IACLC,IAAI,E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AAL,EADC,CATI,CAAP;IAYD,CA7BM;;IA8BPK,UAAU,GAAI;MACZ,OAAO,KAAKX,cAAL,CAAoB,KAApB,EAA2B;QAChCE,WAAW,EAAE,mCADmB;QAEhCC,KAAK,EAAE;UACL,+BAA+B,KAAKjB;QAD/B;MAFyB,CAA3B,EAKJ,KAAKkB,MAAL,CAAYQ,OALR,CAAP;IAMD;;EArCM,CAzBF;;EAiEPC,MAAM,CAAEC,CAAF,EAAY;IAChB,OAAOA,CAAC,CAAC,KAAD,EAAQ;MACdZ,WAAW,EAAE,iBADC;MAEdC,KAAK,EAAE;QACL,kBAAkB,KAAKrB,IADlB;QAEL,uBAAuB,KAAKG,SAFvB;QAGL,wBAAwB,KAAKD,SAHxB;QAIL,GAAG,KAAKwB,YAJH;QAKL,GAAG,KAAKO;MALH;IAFO,CAAR,EASL,CACD,KAAKX,MAAL,CAAYC,KAAZ,GAAoB,KAAKN,QAAL,EAApB,GAAsC,IADrC,EAED,KAAKQ,OAAL,EAFC,EAGD,KAAKH,MAAL,CAAYQ,OAAZ,GAAsB,KAAKD,UAAL,EAAtB,GAA0C,IAHzC,CATK,CAAR;EAcD;;AAhFM,CAJM,CAAf"}
1
+ {"version":3,"file":"VPicker.mjs","names":["Colorable","Elevatable","Themeable","convertToUnit","mixins","extend","name","props","flat","Boolean","fullWidth","landscape","noTitle","transition","type","String","default","width","Number","computed","computedTitleColor","defaultTitleColor","isDark","color","methods","genTitle","$createElement","setBackgroundColor","staticClass","class","$slots","title","genBodyTransition","genBody","themeClasses","style","undefined","genActions","actions","render","h","elevationClasses"],"sources":["../../../src/components/VPicker/VPicker.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n\nimport './VPicker.sass'\nimport '../VCard/VCard.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Elevatable from '../../mixins/elevatable'\nimport Themeable from '../../mixins/themeable'\n\n// Helpers\nimport { convertToUnit } from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue/types'\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Elevatable,\n Themeable\n).extend({\n name: 'v-picker',\n\n props: {\n flat: Boolean,\n fullWidth: Boolean,\n landscape: Boolean,\n noTitle: Boolean,\n transition: {\n type: String,\n default: 'fade-transition',\n },\n width: {\n type: [Number, String],\n default: 290,\n },\n },\n\n computed: {\n computedTitleColor (): string | false {\n const defaultTitleColor = this.isDark ? false : (this.color || 'primary')\n return this.color || defaultTitleColor\n },\n },\n\n methods: {\n genTitle () {\n return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {\n staticClass: 'v-picker__title',\n class: {\n 'v-picker__title--landscape': this.landscape,\n },\n }), this.$slots.title)\n },\n genBodyTransition () {\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n },\n }, this.$slots.default)\n },\n genBody () {\n return this.$createElement('div', {\n staticClass: 'v-picker__body',\n class: {\n 'v-picker__body--no-title': this.noTitle,\n ...this.themeClasses,\n },\n style: this.fullWidth ? undefined : {\n width: convertToUnit(this.width),\n },\n }, [\n this.genBodyTransition(),\n ])\n },\n genActions () {\n return this.$createElement('div', {\n staticClass: 'v-picker__actions v-card__actions',\n class: {\n 'v-picker__actions--no-title': this.noTitle,\n },\n }, this.$slots.actions)\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-picker v-card',\n class: {\n 'v-picker--flat': this.flat,\n 'v-picker--landscape': this.landscape,\n 'v-picker--full-width': this.fullWidth,\n ...this.themeClasses,\n ...this.elevationClasses,\n },\n }, [\n this.$slots.title ? this.genTitle() : null,\n this.genBody(),\n this.$slots.actions ? this.genActions() : null,\n ])\n },\n})\n"],"mappings":"AAAA;AACA;;AAEA;AACA;;AAEA;AAAA,OACOA,SAAS;AAAA,OACTC,UAAU;AAAA,OACVC,SAAS,oCAEhB;AAAA,SACSC,aAAa,kCAEtB;AAAA,OAEOC,MAAM;AAEb;AACA,eAAeA,MAAM,CACnBJ,SAAS,EACTC,UAAU,EACV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DC,KAAK,EAAE,IAAI,CAACzB,SAAS,GAAG0B,SAAS,GAAG;UAClCnB,KAAK,EAAEd,aAAa,CAAC,IAAI,CAACc,KAAK;QACjC;MACF,CAAC,EAAE,CACD,IAAI,CAACe,iBAAiB,EAAE,CACzB,CAAC;IACJ,CAAC;IACDK,UAAU,GAAI;MACZ,OAAO,IAAI,CAACX,cAAc,CAAC,KAAK,EAAE;QAChCE,WAAW,EAAE,mCAAmC;QAChDC,KAAK,EAAE;UACL,6BAA6B,EAAE,IAAI,CAACjB;QACtC;MACF,CAAC,EAAE,IAAI,CAACkB,MAAM,CAACQ,OAAO,CAAC;IACzB;EACF,CAAC;EAEDC,MAAM,CAAEC,CAAC,EAAS;IAChB,OAAOA,CAAC,CAAC,KAAK,EAAE;MACdZ,WAAW,EAAE,iBAAiB;MAC9BC,KAAK,EAAE;QACL,gBAAgB,EAAE,IAAI,CAACrB,IAAI;QAC3B,qBAAqB,EAAE,IAAI,CAACG,SAAS;QACrC,sBAAsB,EAAE,IAAI,CAACD,SAAS;QACtC,GAAG,IAAI,CAACwB,YAAY;QACpB,GAAG,IAAI,CAACO;MACV;IACF,CAAC,EAAE,CACD,IAAI,CAACX,MAAM,CAACC,KAAK,GAAG,IAAI,CAACN,QAAQ,EAAE,GAAG,IAAI,EAC1C,IAAI,CAACQ,OAAO,EAAE,EACd,IAAI,CAACH,MAAM,CAACQ,OAAO,GAAG,IAAI,CAACD,UAAU,EAAE,GAAG,IAAI,CAC/C,CAAC;EACJ;AACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["VPicker"],"sources":["../../../src/components/VPicker/index.ts"],"sourcesContent":["import VPicker from './VPicker'\n\nexport { VPicker }\nexport default VPicker\n"],"mappings":"OAAOA,O;AAEP,SAASA,OAAT;AACA,eAAeA,OAAf"}
1
+ {"version":3,"file":"index.mjs","names":["VPicker"],"sources":["../../../src/components/VPicker/index.ts"],"sourcesContent":["import VPicker from './VPicker'\n\nexport { VPicker }\nexport default VPicker\n"],"mappings":"OAAOA,OAAO;AAEd,SAASA,OAAO;AAChB,eAAeA,OAAO"}
@@ -1,17 +1,16 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  // Styles
3
- import "./VProgressCircular.css"; // Composables
3
+ import "./VProgressCircular.css";
4
4
 
5
+ // Composables
5
6
  import { makeSizeProps, useSize } from "../../composables/size.mjs";
6
7
  import { makeTagProps } from "../../composables/tag.mjs";
7
8
  import { makeThemeProps, provideTheme } from "../../composables/theme.mjs";
8
9
  import { useIntersectionObserver } from "../../composables/intersectionObserver.mjs";
9
10
  import { useResizeObserver } from "../../composables/resizeObserver.mjs";
10
11
  import { useTextColor } from "../../composables/color.mjs"; // Utilities
11
-
12
12
  import { computed, ref, toRef, watchEffect } from 'vue';
13
13
  import { convertToUnit, defineComponent, useRender } from "../../util/index.mjs"; // Types
14
-
15
14
  export const VProgressCircular = defineComponent({
16
15
  name: 'VProgressCircular',
17
16
  props: {
@@ -36,7 +35,6 @@ export const VProgressCircular = defineComponent({
36
35
  }),
37
36
  ...makeThemeProps()
38
37
  },
39
-
40
38
  setup(props, _ref) {
41
39
  let {
42
40
  slots
@@ -126,6 +124,5 @@ export const VProgressCircular = defineComponent({
126
124
  }));
127
125
  return {};
128
126
  }
129
-
130
127
  });
131
128
  //# sourceMappingURL=VProgressCircular.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"VProgressCircular.mjs","names":["makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","useIntersectionObserver","useResizeObserver","useTextColor","computed","ref","toRef","watchEffect","convertToUnit","defineComponent","useRender","VProgressCircular","name","props","bgColor","String","color","indeterminate","Boolean","modelValue","type","Number","default","rotate","width","tag","setup","slots","MAGIC_RADIUS_CONSTANT","CIRCUMFERENCE","Math","PI","root","themeClasses","sizeClasses","sizeStyles","textColorClasses","textColorStyles","underlayColorClasses","underlayColorStyles","intersectionRef","isIntersecting","resizeRef","contentRect","normalizedValue","max","min","parseFloat","size","value","diameter","strokeWidth","strokeDashOffset","undefined","transform"],"sources":["../../../src/components/VProgressCircular/VProgressCircular.tsx"],"sourcesContent":["// Styles\nimport './VProgressCircular.sass'\n\n// Composables\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useResizeObserver } from '@/composables/resizeObserver'\nimport { useTextColor } from '@/composables/color'\n\n// Utilities\nimport { computed, ref, toRef, watchEffect } from 'vue'\nimport { convertToUnit, defineComponent, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VProgressCircular = defineComponent({\n name: 'VProgressCircular',\n\n props: {\n bgColor: String,\n color: String,\n indeterminate: [Boolean, String] as PropType<boolean | 'disable-shrink'>,\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n rotate: {\n type: [Number, String],\n default: 0,\n },\n width: {\n type: [Number, String],\n default: 4,\n },\n\n ...makeSizeProps(),\n ...makeTagProps({ tag: 'div' }),\n ...makeThemeProps(),\n },\n\n setup (props, { slots }) {\n const MAGIC_RADIUS_CONSTANT = 20\n const CIRCUMFERENCE = 2 * Math.PI * MAGIC_RADIUS_CONSTANT\n\n const root = ref<HTMLElement>()\n\n const { themeClasses } = provideTheme(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n const { textColorClasses, textColorStyles } = useTextColor(toRef(props, 'color'))\n const { textColorClasses: underlayColorClasses, textColorStyles: underlayColorStyles } = useTextColor(toRef(props, 'bgColor'))\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n const { resizeRef, contentRect } = useResizeObserver()\n\n const normalizedValue = computed(() => Math.max(0, Math.min(100, parseFloat(props.modelValue))))\n const width = computed(() => Number(props.width))\n const size = computed(() => {\n // Get size from element if size prop value is small, large etc\n return sizeStyles.value\n ? Number(props.size)\n : contentRect.value\n ? contentRect.value.width\n : Math.max(width.value, 32)\n })\n const diameter = computed(() => (MAGIC_RADIUS_CONSTANT / (1 - width.value / size.value)) * 2)\n const strokeWidth = computed(() => width.value / size.value * diameter.value)\n const strokeDashOffset = computed(() => convertToUnit(((100 - normalizedValue.value) / 100) * CIRCUMFERENCE))\n\n watchEffect(() => {\n intersectionRef.value = root.value\n resizeRef.value = root.value\n })\n\n useRender(() => (\n <props.tag\n ref={ root }\n class={[\n 'v-progress-circular',\n {\n 'v-progress-circular--indeterminate': !!props.indeterminate,\n 'v-progress-circular--visible': isIntersecting.value,\n 'v-progress-circular--disable-shrink': props.indeterminate === 'disable-shrink',\n },\n themeClasses.value,\n sizeClasses.value,\n textColorClasses.value,\n ]}\n style={[\n sizeStyles.value,\n textColorStyles.value,\n ]}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n >\n <svg\n style={{\n transform: `rotate(calc(-90deg + ${Number(props.rotate)}deg))`,\n }}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={ `0 0 ${diameter.value} ${diameter.value}` }\n >\n <circle\n class={[\n 'v-progress-circular__underlay',\n underlayColorClasses.value,\n ]}\n style={ underlayColorStyles.value }\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ 0 }\n />\n\n <circle\n class=\"v-progress-circular__overlay\"\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ strokeDashOffset.value }\n />\n </svg>\n\n { slots.default && (\n <div class=\"v-progress-circular__content\">\n { slots.default({ value: normalizedValue.value }) }\n </div>\n ) }\n </props.tag>\n ))\n\n return {}\n },\n})\n"],"mappings":";AAAA;AACA,iC,CAEA;;SACSA,a,EAAeC,O;S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QAAA,KAkDED,qBAlDF;QAAA,gBAmDauB,WAAW,CAACF,KAnDzB;QAAA,oBAoDiBpB,aApDjB;QAAA,qBAqDkBuB,gBAAgB,CAACH;MArDnC,YAyDJtB,KAAK,CAACL,OAAN;QAAA,SACW;MADX,IAEIK,KAAK,CAACL,OAAN,CAAc;QAAE2B,KAAK,EAAEL,eAAe,CAACK;MAAzB,CAAd,CAFJ,EAzDI;IAAA,EAAD,CAAT;IAiEA,OAAO,EAAP;EACD;;AA3H8C,CAAD,CAAzC"}
1
+ {"version":3,"file":"VProgressCircular.mjs","names":["makeSizeProps","useSize","makeTagProps","makeThemeProps","provideTheme","useIntersectionObserver","useResizeObserver","useTextColor","computed","ref","toRef","watchEffect","convertToUnit","defineComponent","useRender","VProgressCircular","name","props","bgColor","String","color","indeterminate","Boolean","modelValue","type","Number","default","rotate","width","tag","setup","slots","MAGIC_RADIUS_CONSTANT","CIRCUMFERENCE","Math","PI","root","themeClasses","sizeClasses","sizeStyles","textColorClasses","textColorStyles","underlayColorClasses","underlayColorStyles","intersectionRef","isIntersecting","resizeRef","contentRect","normalizedValue","max","min","parseFloat","size","value","diameter","strokeWidth","strokeDashOffset","undefined","transform"],"sources":["../../../src/components/VProgressCircular/VProgressCircular.tsx"],"sourcesContent":["// Styles\nimport './VProgressCircular.sass'\n\n// Composables\nimport { makeSizeProps, useSize } from '@/composables/size'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useResizeObserver } from '@/composables/resizeObserver'\nimport { useTextColor } from '@/composables/color'\n\n// Utilities\nimport { computed, ref, toRef, watchEffect } from 'vue'\nimport { convertToUnit, defineComponent, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VProgressCircular = defineComponent({\n name: 'VProgressCircular',\n\n props: {\n bgColor: String,\n color: String,\n indeterminate: [Boolean, String] as PropType<boolean | 'disable-shrink'>,\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n rotate: {\n type: [Number, String],\n default: 0,\n },\n width: {\n type: [Number, String],\n default: 4,\n },\n\n ...makeSizeProps(),\n ...makeTagProps({ tag: 'div' }),\n ...makeThemeProps(),\n },\n\n setup (props, { slots }) {\n const MAGIC_RADIUS_CONSTANT = 20\n const CIRCUMFERENCE = 2 * Math.PI * MAGIC_RADIUS_CONSTANT\n\n const root = ref<HTMLElement>()\n\n const { themeClasses } = provideTheme(props)\n const { sizeClasses, sizeStyles } = useSize(props)\n const { textColorClasses, textColorStyles } = useTextColor(toRef(props, 'color'))\n const { textColorClasses: underlayColorClasses, textColorStyles: underlayColorStyles } = useTextColor(toRef(props, 'bgColor'))\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n const { resizeRef, contentRect } = useResizeObserver()\n\n const normalizedValue = computed(() => Math.max(0, Math.min(100, parseFloat(props.modelValue))))\n const width = computed(() => Number(props.width))\n const size = computed(() => {\n // Get size from element if size prop value is small, large etc\n return sizeStyles.value\n ? Number(props.size)\n : contentRect.value\n ? contentRect.value.width\n : Math.max(width.value, 32)\n })\n const diameter = computed(() => (MAGIC_RADIUS_CONSTANT / (1 - width.value / size.value)) * 2)\n const strokeWidth = computed(() => width.value / size.value * diameter.value)\n const strokeDashOffset = computed(() => convertToUnit(((100 - normalizedValue.value) / 100) * CIRCUMFERENCE))\n\n watchEffect(() => {\n intersectionRef.value = root.value\n resizeRef.value = root.value\n })\n\n useRender(() => (\n <props.tag\n ref={ root }\n class={[\n 'v-progress-circular',\n {\n 'v-progress-circular--indeterminate': !!props.indeterminate,\n 'v-progress-circular--visible': isIntersecting.value,\n 'v-progress-circular--disable-shrink': props.indeterminate === 'disable-shrink',\n },\n themeClasses.value,\n sizeClasses.value,\n textColorClasses.value,\n ]}\n style={[\n sizeStyles.value,\n textColorStyles.value,\n ]}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n >\n <svg\n style={{\n transform: `rotate(calc(-90deg + ${Number(props.rotate)}deg))`,\n }}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={ `0 0 ${diameter.value} ${diameter.value}` }\n >\n <circle\n class={[\n 'v-progress-circular__underlay',\n underlayColorClasses.value,\n ]}\n style={ underlayColorStyles.value }\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ 0 }\n />\n\n <circle\n class=\"v-progress-circular__overlay\"\n fill=\"transparent\"\n cx=\"50%\"\n cy=\"50%\"\n r={ MAGIC_RADIUS_CONSTANT }\n stroke-width={ strokeWidth.value }\n stroke-dasharray={ CIRCUMFERENCE }\n stroke-dashoffset={ strokeDashOffset.value }\n />\n </svg>\n\n { slots.default && (\n <div class=\"v-progress-circular__content\">\n { slots.default({ value: normalizedValue.value }) }\n </div>\n ) }\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressCircular = InstanceType<typeof VProgressCircular>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa,EAAEC,OAAO;AAAA,SACtBC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,uBAAuB;AAAA,SACvBC,iBAAiB;AAAA,SACjBC,YAAY,uCAErB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,aAAa,EAAEC,eAAe,EAAEC,SAAS,gCAElD;AAGA,OAAO,MAAMC,iBAAiB,GAAGF,eAAe,CAAC;EAC/CG,IAAI,EAAE,mBAAmB;EAEzBC,KAAK,EAAE;IACLC,OAAO,EAAEC,MAAM;IACfC,KAAK,EAAED,MAAM;IACbE,aAAa,EAAE,CAACC,OAAO,EAAEH,MAAM,CAAyC;IACxEI,UAAU,EAAE;MACVC,IAAI,EAAE,CA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jE,CAAC,EACDgB,YAAY,CAACgB,KAAK,EAClBf,WAAW,CAACe,KAAK,EACjBb,gBAAgB,CAACa,KAAK,CACvB;MAAA,SACM,CACLd,UAAU,CAACc,KAAK,EAChBZ,eAAe,CAACY,KAAK,CACtB;MAAA,QACI,aAAa;MAAA,iBACJ,GAAG;MAAA,iBACH,KAAK;MAAA,iBACHpC,KAAK,CAACI,aAAa,GAAGoC,SAAS,GAAGT,eAAe,CAACK;IAAK;MAAA;QAAA,SAG9D;UACLK,SAAS,EAAG,wBAAuBjC,MAAM,CAACR,KAAK,CAACU,MAAM,CAAE;QAC1D,CAAC;QAAA,SACK,4BAA4B;QAAA,WACvB,OAAM2B,QAAQ,CAACD,KAAM,IAAGC,QAAQ,CAACD,KAAM;MAAC;QAAA,SAG1C,CACL,+BAA+B,EAC/BX,oBAAoB,CAACW,KAAK,CAC3B;QAAA,SACOV,mBAAmB,CAACU,KAAK;QAAA,QAC5B,aAAa;QAAA,MACf,KAAK;QAAA,MACL,KAAK;QAAA,KACJrB,qBAAqB;QAAA,gBACVuB,WAAW,CAACF,KAAK;QAAA,oBACbpB,aAAa;QAAA,qBACZ;MAAC;QAAA,SAIf,8BAA8B;QAAA,QAC/B,aAAa;QAAA,MACf,KAAK;QAAA,MACL,KAAK;QAAA,KACJD,qBAAqB;QAAA,gBACVuB,WAAW,CAACF,KAAK;QAAA,oBACbpB,aAAa;QAAA,qBACZuB,gBAAgB,CAACH;MAAK,YAI5CtB,KAAK,CAACL,OAAO;QAAA,SACF;MAA8B,IACrCK,KAAK,CAACL,OAAO,CAAC;QAAE2B,KAAK,EAAEL,eAAe,CAACK;MAAM,CAAC,CAAC,EAEpD;IAAA,EAEJ,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
@@ -0,0 +1,69 @@
1
+ import * as vue from 'vue';
2
+ import { PropType } from 'vue';
3
+
4
+ declare const VProgressCircular: vue.DefineComponent<{
5
+ theme: StringConstructor;
6
+ tag: Omit<{
7
+ type: StringConstructor;
8
+ default: string;
9
+ }, "type" | "default"> & {
10
+ type: PropType<string>;
11
+ default: string;
12
+ };
13
+ size: {
14
+ type: (StringConstructor | NumberConstructor)[];
15
+ default: string;
16
+ };
17
+ bgColor: StringConstructor;
18
+ color: StringConstructor;
19
+ indeterminate: PropType<boolean | "disable-shrink">;
20
+ modelValue: {
21
+ type: (StringConstructor | NumberConstructor)[];
22
+ default: number;
23
+ };
24
+ rotate: {
25
+ type: (StringConstructor | NumberConstructor)[];
26
+ default: number;
27
+ };
28
+ width: {
29
+ type: (StringConstructor | NumberConstructor)[];
30
+ default: number;
31
+ };
32
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
33
+ theme: StringConstructor;
34
+ tag: Omit<{
35
+ type: StringConstructor;
36
+ default: string;
37
+ }, "type" | "default"> & {
38
+ type: PropType<string>;
39
+ default: string;
40
+ };
41
+ size: {
42
+ type: (StringConstructor | NumberConstructor)[];
43
+ default: string;
44
+ };
45
+ bgColor: StringConstructor;
46
+ color: StringConstructor;
47
+ indeterminate: PropType<boolean | "disable-shrink">;
48
+ modelValue: {
49
+ type: (StringConstructor | NumberConstructor)[];
50
+ default: number;
51
+ };
52
+ rotate: {
53
+ type: (StringConstructor | NumberConstructor)[];
54
+ default: number;
55
+ };
56
+ width: {
57
+ type: (StringConstructor | NumberConstructor)[];
58
+ default: number;
59
+ };
60
+ }>>, {
61
+ width: string | number;
62
+ rotate: string | number;
63
+ size: string | number;
64
+ tag: string;
65
+ modelValue: string | number;
66
+ }>;
67
+ declare type VProgressCircular = InstanceType<typeof VProgressCircular>;
68
+
69
+ export { VProgressCircular };
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["VProgressCircular"],"sources":["../../../src/components/VProgressCircular/index.ts"],"sourcesContent":["export { VProgressCircular } from './VProgressCircular'\n"],"mappings":"SAASA,iB"}
1
+ {"version":3,"file":"index.mjs","names":["VProgressCircular"],"sources":["../../../src/components/VProgressCircular/index.ts"],"sourcesContent":["export { VProgressCircular } from './VProgressCircular'\n"],"mappings":"SAASA,iBAAiB"}
@@ -1,15 +1,15 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  // Styles
3
- import "./VProgressLinear.css"; // Composables
3
+ import "./VProgressLinear.css";
4
4
 
5
+ // Composables
5
6
  import { makeRoundedProps, useRounded } from "../../composables/rounded.mjs";
6
7
  import { makeTagProps } from "../../composables/tag.mjs";
7
8
  import { makeThemeProps, provideTheme } from "../../composables/theme.mjs";
8
9
  import { useBackgroundColor, useTextColor } from "../../composables/color.mjs";
9
10
  import { useIntersectionObserver } from "../../composables/intersectionObserver.mjs";
10
11
  import { useProxiedModel } from "../../composables/proxiedModel.mjs";
11
- import { useRtl } from "../../composables/rtl.mjs"; // Utilities
12
-
12
+ import { useRtl } from "../../composables/locale.mjs"; // Utilities
13
13
  import { computed, Transition } from 'vue';
14
14
  import { convertToUnit, defineComponent, useRender } from "../../util/index.mjs";
15
15
  export const VProgressLinear = defineComponent({
@@ -51,7 +51,6 @@ export const VProgressLinear = defineComponent({
51
51
  emits: {
52
52
  'update:modelValue': value => true
53
53
  },
54
-
55
54
  setup(props, _ref) {
56
55
  let {
57
56
  slots
@@ -91,7 +90,6 @@ export const VProgressLinear = defineComponent({
91
90
  const opacity = computed(() => {
92
91
  return props.bgOpacity == null ? props.bgOpacity : parseFloat(props.bgOpacity);
93
92
  });
94
-
95
93
  function handleClick(e) {
96
94
  if (!intersectionRef.value) return;
97
95
  const {
@@ -102,7 +100,6 @@ export const VProgressLinear = defineComponent({
102
100
  const value = isReversed.value ? width - e.clientX + (right - width) : e.clientX - left;
103
101
  progress.value = Math.round(value / width * max.value);
104
102
  }
105
-
106
103
  useRender(() => _createVNode(props.tag, {
107
104
  "ref": intersectionRef,
108
105
  "class": ['v-progress-linear', {
@@ -125,7 +122,8 @@ export const VProgressLinear = defineComponent({
125
122
  default: () => [props.stream && _createVNode("div", {
126
123
  "key": "stream",
127
124
  "class": ['v-progress-linear__stream', textColorClasses.value],
128
- "style": { ...textColorStyles.value,
125
+ "style": {
126
+ ...textColorStyles.value,
129
127
  [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),
130
128
  borderTop: `${convertToUnit(height.value / 2)} dotted`,
131
129
  opacity: opacity.value,
@@ -163,6 +161,5 @@ export const VProgressLinear = defineComponent({
163
161
  }));
164
162
  return {};
165
163
  }
166
-
167
164
  });
168
165
  //# sourceMappingURL=VProgressLinear.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"VProgressLinear.mjs","names":["makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","useBackgroundColor","useTextColor","useIntersectionObserver","useProxiedModel","useRtl","computed","Transition","convertToUnit","defineComponent","useRender","VProgressLinear","name","props","active","type","Boolean","default","bgColor","String","bgOpacity","Number","bufferValue","clickable","color","height","indeterminate","max","modelValue","reverse","stream","striped","roundedBar","emits","value","setup","slots","progress","isRtl","themeClasses","textColorClasses","textColorStyles","backgroundColorClasses","backgroundColorStyles","barColorClasses","barColorStyles","roundedClasses","intersectionRef","isIntersecting","parseInt","normalizedBuffer","parseFloat","normalizedValue","isReversed","transition","opacity","handleClick","e","left","right","width","getBoundingClientRect","clientX","Math","round","rounded","undefined","borderTop","top","map","bar","buffer"],"sources":["../../../src/components/VProgressLinear/VProgressLinear.tsx"],"sourcesContent":["// Styles\nimport './VProgressLinear.sass'\n\n// Composables\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useRtl } from '@/composables/rtl'\n\n// Utilities\nimport { computed, Transition } from 'vue'\nimport { convertToUnit, defineComponent, useRender } from '@/util'\n\nexport const VProgressLinear = defineComponent({\n name: 'VProgressLinear',\n\n props: {\n active: {\n type: Boolean,\n default: true,\n },\n bgColor: String,\n bgOpacity: [Number, String],\n bufferValue: {\n type: [Number, String],\n default: 0,\n },\n clickable: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 4,\n },\n indeterminate: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n reverse: Boolean,\n stream: Boolean,\n striped: Boolean,\n roundedBar: Boolean,\n\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n },\n\n emits: {\n 'update:modelValue': (value: number) => true,\n },\n\n setup (props, { slots }) {\n const progress = useProxiedModel(props, 'modelValue')\n const { isRtl } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { textColorClasses, textColorStyles } = useTextColor(props, 'color')\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(computed(() => props.bgColor || props.color))\n const { backgroundColorClasses: barColorClasses, backgroundColorStyles: barColorStyles } = useBackgroundColor(props, 'color')\n const { roundedClasses } = useRounded(props)\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n\n const max = computed(() => parseInt(props.max, 10))\n const height = computed(() => parseInt(props.height, 10))\n const normalizedBuffer = computed(() => parseFloat(props.bufferValue) / max.value * 100)\n const normalizedValue = computed(() => parseFloat(progress.value) / max.value * 100)\n const isReversed = computed(() => isRtl.value !== props.reverse)\n const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition')\n const opacity = computed(() => {\n return props.bgOpacity == null\n ? props.bgOpacity\n : parseFloat(props.bgOpacity)\n })\n\n function handleClick (e: MouseEvent) {\n if (!intersectionRef.value) return\n\n const { left, right, width } = intersectionRef.value.getBoundingClientRect()\n const value = isReversed.value ? (width - e.clientX) + (right - width) : e.clientX - left\n\n progress.value = Math.round(value / width * max.value)\n }\n\n useRender(() => (\n <props.tag\n ref={ intersectionRef }\n class={[\n 'v-progress-linear',\n {\n 'v-progress-linear--active': props.active && isIntersecting.value,\n 'v-progress-linear--reverse': isReversed.value,\n 'v-progress-linear--rounded': props.rounded,\n 'v-progress-linear--rounded-bar': props.roundedBar,\n 'v-progress-linear--striped': props.striped,\n },\n roundedClasses.value,\n themeClasses.value,\n ]}\n style={{\n height: props.active ? convertToUnit(height.value) : 0,\n '--v-progress-linear-height': convertToUnit(height.value),\n }}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax={ props.max }\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n onClick={ props.clickable && handleClick }\n >\n { props.stream && (\n <div\n key=\"stream\"\n class={[\n 'v-progress-linear__stream',\n textColorClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),\n borderTop: `${convertToUnit(height.value / 2)} dotted`,\n opacity: opacity.value,\n top: `calc(50% - ${convertToUnit(height.value / 4)})`,\n width: convertToUnit(100 - normalizedBuffer.value, '%'),\n '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1)),\n }}\n />\n ) }\n\n <div\n class={[\n 'v-progress-linear__background',\n backgroundColorClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n {\n opacity: opacity.value,\n width: convertToUnit((!props.stream ? 100 : normalizedBuffer.value), '%'),\n },\n ]}\n />\n\n <Transition name={ transition.value }>\n { !props.indeterminate ? (\n <div\n class={[\n 'v-progress-linear__determinate',\n barColorClasses.value,\n ]}\n style={[\n barColorStyles.value,\n { width: convertToUnit(normalizedValue.value, '%') },\n ]}\n />\n ) : (\n <div class=\"v-progress-linear__indeterminate\">\n { ['long', 'short'].map(bar => (\n <div\n key={ bar }\n class={[\n 'v-progress-linear__indeterminate',\n bar,\n barColorClasses.value,\n ]}\n style={ barColorStyles.value }\n />\n )) }\n </div>\n ) }\n </Transition>\n\n { slots.default && (\n <div class=\"v-progress-linear__content\">\n { slots.default({ value: normalizedValue.value, buffer: normalized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ACrB,KADnB;UAEE0B,KAAK,EAAEpD,aAAa,CAAE,CAACK,KAAK,CAACiB,MAAP,GAAgB,GAAhB,GAAsBoB,gBAAgB,CAAChB,KAAzC,EAAiD,GAAjD;QAFtB,CAFK;MAjDH;QAAA,QA0DaoB,UAAU,CAACpB;MA1DxB;QAAA,gBA2DF,CAACrB,KAAK,CAACa,aAAP;UAAA,SAES,CACL,gCADK,EAELkB,eAAe,CAACV,KAFX,CAFT;UAAA,SAMS,CACLW,cAAc,CAACX,KADV,EAEL;YAAE0B,KAAK,EAAEpD,aAAa,CAAC4C,eAAe,CAAClB,KAAjB,EAAwB,GAAxB;UAAtB,CAFK;QANT;UAAA,SAYW;QAZX,IAaI,CAAC,MAAD,EAAS,OAAT,EAAkBmC,GAAlB,CAAsBC,GAAG;UAAA,OAEjBA,GAFiB;UAAA,SAGhB,CACL,kCADK,EAELA,GAFK,EAGL1B,eAAe,CAACV,KAHX,CAHgB;UAAA,SAQfW,cAAc,CAACX;QARA,QAAzB,CAbJ,EA3DE;MAAA,IAuFJE,KAAK,CAACnB,OAAN;QAAA,SACW;MADX,IAEImB,KAAK,CAACnB,OAAN,CAAc;QAAEiB,KAAK,EAAEkB,eAAe,CAAClB,KAAzB;QAAgCqC,MAAM,EAAErB,gBAAgB,CAAChB;MAAzD,CAAd,CAFJ,EAvFI;IAAA,EAAD,CAAT;IA+FA,OAAO,EAAP;EACD;;AA1K4C,CAAD,CAAvC"}
1
+ {"version":3,"file":"VProgressLinear.mjs","names":["makeRoundedProps","useRounded","makeTagProps","makeThemeProps","provideTheme","useBackgroundColor","useTextColor","useIntersectionObserver","useProxiedModel","useRtl","computed","Transition","convertToUnit","defineComponent","useRender","VProgressLinear","name","props","active","type","Boolean","default","bgColor","String","bgOpacity","Number","bufferValue","clickable","color","height","indeterminate","max","modelValue","reverse","stream","striped","roundedBar","emits","value","setup","slots","progress","isRtl","themeClasses","textColorClasses","textColorStyles","backgroundColorClasses","backgroundColorStyles","barColorClasses","barColorStyles","roundedClasses","intersectionRef","isIntersecting","parseInt","normalizedBuffer","parseFloat","normalizedValue","isReversed","transition","opacity","handleClick","e","left","right","width","getBoundingClientRect","clientX","Math","round","rounded","undefined","borderTop","top","map","bar","buffer"],"sources":["../../../src/components/VProgressLinear/VProgressLinear.tsx"],"sourcesContent":["// Styles\nimport './VProgressLinear.sass'\n\n// Composables\nimport { makeRoundedProps, useRounded } from '@/composables/rounded'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\nimport { useBackgroundColor, useTextColor } from '@/composables/color'\nimport { useIntersectionObserver } from '@/composables/intersectionObserver'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useRtl } from '@/composables/locale'\n\n// Utilities\nimport { computed, Transition } from 'vue'\nimport { convertToUnit, defineComponent, useRender } from '@/util'\n\nexport const VProgressLinear = defineComponent({\n name: 'VProgressLinear',\n\n props: {\n active: {\n type: Boolean,\n default: true,\n },\n bgColor: String,\n bgOpacity: [Number, String],\n bufferValue: {\n type: [Number, String],\n default: 0,\n },\n clickable: Boolean,\n color: String,\n height: {\n type: [Number, String],\n default: 4,\n },\n indeterminate: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n reverse: Boolean,\n stream: Boolean,\n striped: Boolean,\n roundedBar: Boolean,\n\n ...makeRoundedProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n },\n\n emits: {\n 'update:modelValue': (value: number) => true,\n },\n\n setup (props, { slots }) {\n const progress = useProxiedModel(props, 'modelValue')\n const { isRtl } = useRtl()\n const { themeClasses } = provideTheme(props)\n const { textColorClasses, textColorStyles } = useTextColor(props, 'color')\n const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(computed(() => props.bgColor || props.color))\n const { backgroundColorClasses: barColorClasses, backgroundColorStyles: barColorStyles } = useBackgroundColor(props, 'color')\n const { roundedClasses } = useRounded(props)\n const { intersectionRef, isIntersecting } = useIntersectionObserver()\n\n const max = computed(() => parseInt(props.max, 10))\n const height = computed(() => parseInt(props.height, 10))\n const normalizedBuffer = computed(() => parseFloat(props.bufferValue) / max.value * 100)\n const normalizedValue = computed(() => parseFloat(progress.value) / max.value * 100)\n const isReversed = computed(() => isRtl.value !== props.reverse)\n const transition = computed(() => props.indeterminate ? 'fade-transition' : 'slide-x-transition')\n const opacity = computed(() => {\n return props.bgOpacity == null\n ? props.bgOpacity\n : parseFloat(props.bgOpacity)\n })\n\n function handleClick (e: MouseEvent) {\n if (!intersectionRef.value) return\n\n const { left, right, width } = intersectionRef.value.getBoundingClientRect()\n const value = isReversed.value ? (width - e.clientX) + (right - width) : e.clientX - left\n\n progress.value = Math.round(value / width * max.value)\n }\n\n useRender(() => (\n <props.tag\n ref={ intersectionRef }\n class={[\n 'v-progress-linear',\n {\n 'v-progress-linear--active': props.active && isIntersecting.value,\n 'v-progress-linear--reverse': isReversed.value,\n 'v-progress-linear--rounded': props.rounded,\n 'v-progress-linear--rounded-bar': props.roundedBar,\n 'v-progress-linear--striped': props.striped,\n },\n roundedClasses.value,\n themeClasses.value,\n ]}\n style={{\n height: props.active ? convertToUnit(height.value) : 0,\n '--v-progress-linear-height': convertToUnit(height.value),\n }}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax={ props.max }\n aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }\n onClick={ props.clickable && handleClick }\n >\n { props.stream && (\n <div\n key=\"stream\"\n class={[\n 'v-progress-linear__stream',\n textColorClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n [isReversed.value ? 'left' : 'right']: convertToUnit(-height.value),\n borderTop: `${convertToUnit(height.value / 2)} dotted`,\n opacity: opacity.value,\n top: `calc(50% - ${convertToUnit(height.value / 4)})`,\n width: convertToUnit(100 - normalizedBuffer.value, '%'),\n '--v-progress-linear-stream-to': convertToUnit(height.value * (isReversed.value ? 1 : -1)),\n }}\n />\n ) }\n\n <div\n class={[\n 'v-progress-linear__background',\n backgroundColorClasses.value,\n ]}\n style={[\n backgroundColorStyles.value,\n {\n opacity: opacity.value,\n width: convertToUnit((!props.stream ? 100 : normalizedBuffer.value), '%'),\n },\n ]}\n />\n\n <Transition name={ transition.value }>\n { !props.indeterminate ? (\n <div\n class={[\n 'v-progress-linear__determinate',\n barColorClasses.value,\n ]}\n style={[\n barColorStyles.value,\n { width: convertToUnit(normalizedValue.value, '%') },\n ]}\n />\n ) : (\n <div class=\"v-progress-linear__indeterminate\">\n { ['long', 'short'].map(bar => (\n <div\n key={ bar }\n class={[\n 'v-progress-linear__indeterminate',\n bar,\n barColorClasses.value,\n ]}\n style={ barColorStyles.value }\n />\n )) }\n </div>\n ) }\n </Transition>\n\n { slots.default && (\n <div class=\"v-progress-linear__content\">\n { slots.default({ value: normalizedValue.value, buffer: normalizedBuffer.value }) }\n </div>\n ) }\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VProgressLinear = InstanceType<typeof VProgressLinear>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY;AAAA,SAC5BC,kBAAkB,EAAEC,YAAY;AAAA,SAChCC,uBAAuB;AAAA,SACvBC,eAAe;AAAA,SACfC,MAAM,wCAEf;AACA,SAASC,QAAQ,EAAEC,UAAU,QAAQ,KAAK;AAAA,SACjCC,aAAa,EAAEC,eAAe,EAAEC,SAAS;AAElD,OAAO,MAAMC,eAAe,GAAGF,eAAe,CAAC;EAC7CG,IAAI,EAAE,iBAAiB;EAEvBC,KAAK,EAAE;IACLC,MAAM,EAAE;MACNC,IAAI,EAAEC,OAAO;MACbC,OAAO,EAAE;IACX,CAAC;IACDC,OAAO,EAAEC,MAAM;IACfC,SAAS,EAAE,CAACC,MAAM,EAAEF,MAAM,CAAC;IAC3BG,WAAW,EAAE;MACXP,IAAI,EAAE,CAACM,MAAM,EAAEF,MAAM,CAAC;MACtBF,OAAO,EA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L;MAAA,IAGDE,KAAK,CAACnB,OAAO;QAAA,SACF;MAA4B,IACnCmB,KAAK,CAACnB,OAAO,CAAC;QAAEiB,KAAK,EAAEkB,eAAe,CAAClB,KAAK;QAAEqC,MAAM,EAAErB,gBAAgB,CAAChB;MAAM,CAAC,CAAC,EAEpF;IAAA,EAEJ,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
@@ -0,0 +1,102 @@
1
+ import * as vue from 'vue';
2
+
3
+ declare const VProgressLinear: vue.DefineComponent<{
4
+ theme: StringConstructor;
5
+ tag: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ rounded: {
10
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
11
+ default: undefined;
12
+ };
13
+ active: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ bgColor: StringConstructor;
18
+ bgOpacity: (StringConstructor | NumberConstructor)[];
19
+ bufferValue: {
20
+ type: (StringConstructor | NumberConstructor)[];
21
+ default: number;
22
+ };
23
+ clickable: BooleanConstructor;
24
+ color: StringConstructor;
25
+ height: {
26
+ type: (StringConstructor | NumberConstructor)[];
27
+ default: number;
28
+ };
29
+ indeterminate: BooleanConstructor;
30
+ max: {
31
+ type: (StringConstructor | NumberConstructor)[];
32
+ default: number;
33
+ };
34
+ modelValue: {
35
+ type: (StringConstructor | NumberConstructor)[];
36
+ default: number;
37
+ };
38
+ reverse: BooleanConstructor;
39
+ stream: BooleanConstructor;
40
+ striped: BooleanConstructor;
41
+ roundedBar: BooleanConstructor;
42
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
43
+ 'update:modelValue': (value: number) => true;
44
+ }, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
45
+ theme: StringConstructor;
46
+ tag: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ rounded: {
51
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
52
+ default: undefined;
53
+ };
54
+ active: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ bgColor: StringConstructor;
59
+ bgOpacity: (StringConstructor | NumberConstructor)[];
60
+ bufferValue: {
61
+ type: (StringConstructor | NumberConstructor)[];
62
+ default: number;
63
+ };
64
+ clickable: BooleanConstructor;
65
+ color: StringConstructor;
66
+ height: {
67
+ type: (StringConstructor | NumberConstructor)[];
68
+ default: number;
69
+ };
70
+ indeterminate: BooleanConstructor;
71
+ max: {
72
+ type: (StringConstructor | NumberConstructor)[];
73
+ default: number;
74
+ };
75
+ modelValue: {
76
+ type: (StringConstructor | NumberConstructor)[];
77
+ default: number;
78
+ };
79
+ reverse: BooleanConstructor;
80
+ stream: BooleanConstructor;
81
+ striped: BooleanConstructor;
82
+ roundedBar: BooleanConstructor;
83
+ }>> & {
84
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
85
+ }, {
86
+ reverse: boolean;
87
+ max: string | number;
88
+ height: string | number;
89
+ active: boolean;
90
+ tag: string;
91
+ indeterminate: boolean;
92
+ rounded: string | number | boolean;
93
+ modelValue: string | number;
94
+ bufferValue: string | number;
95
+ clickable: boolean;
96
+ stream: boolean;
97
+ striped: boolean;
98
+ roundedBar: boolean;
99
+ }>;
100
+ declare type VProgressLinear = InstanceType<typeof VProgressLinear>;
101
+
102
+ export { VProgressLinear };
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["VProgressLinear"],"sources":["../../../src/components/VProgressLinear/index.ts"],"sourcesContent":["export { VProgressLinear } from './VProgressLinear'\n"],"mappings":"SAASA,e"}
1
+ {"version":3,"file":"index.mjs","names":["VProgressLinear"],"sources":["../../../src/components/VProgressLinear/index.ts"],"sourcesContent":["export { VProgressLinear } from './VProgressLinear'\n"],"mappings":"SAASA,eAAe"}
@@ -1,16 +1,15 @@
1
1
  import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
2
2
  // Components
3
3
  import { makeSelectionControlProps, VSelectionControl } from "../VSelectionControl/VSelectionControl.mjs"; // Utilities
4
-
5
4
  import { defineComponent, useRender } from "../../util/index.mjs";
6
5
  export const VRadio = defineComponent({
7
6
  name: 'VRadio',
8
- props: { ...makeSelectionControlProps({
7
+ props: {
8
+ ...makeSelectionControlProps({
9
9
  falseIcon: '$radioOff',
10
10
  trueIcon: '$radioOn'
11
11
  })
12
12
  },
13
-
14
13
  setup(props, _ref) {
15
14
  let {
16
15
  slots
@@ -21,6 +20,5 @@ export const VRadio = defineComponent({
21
20
  }), slots));
22
21
  return {};
23
22
  }
24
-
25
23
  });
26
24
  //# sourceMappingURL=VRadio.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"VRadio.mjs","names":["makeSelectionControlProps","VSelectionControl","defineComponent","useRender","VRadio","name","props","falseIcon","trueIcon","setup","slots"],"sources":["../../../src/components/VRadio/VRadio.tsx"],"sourcesContent":["// Components\nimport { makeSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Utilities\nimport { defineComponent, useRender } from '@/util'\n\nexport const VRadio = defineComponent({\n name: 'VRadio',\n\n props: {\n ...makeSelectionControlProps({\n falseIcon: '$radioOff',\n trueIcon: '$radioOn',\n }),\n },\n\n setup (props, { slots }) {\n useRender(() => (\n <VSelectionControl\n { ...props }\n class=\"v-radio\"\n type=\"radio\"\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VRadio = InstanceType<typeof VRadio>\n"],"mappings":";AAAA;SACSA,yB,EAA2BC,iB,sDAEpC;;SACSC,e,EAAiBC,S;AAE1B,OAAO,MAAMC,MAAM,GAAGF,eAAe,CAAC;EACpCG,IAAI,EAAE,QAD8B;EAGpCC,KAAK,EAAE,EACL,GAAGN,yBAAyB,CAAC;MAC3BO,SAAS,EAAE,WADgB;MAE3BC,QAAQ,EAAE;IAFiB,CAAD;EADvB,CAH6B;;EAUpCC,KAAK,CAAEH,KAAF,QAAoB;IAAA,IAAX;MAAEI;IAAF,CAAW;IACvBP,SAAS,CAAC,kDAEDG,KAFC;MAAA,SAGA,SAHA;MAAA,QAID;IAJC,IAKII,KALJ,CAAD,CAAT;IASA,OAAO,EAAP;EACD;;AArBmC,CAAD,CAA9B"}
1
+ {"version":3,"file":"VRadio.mjs","names":["makeSelectionControlProps","VSelectionControl","defineComponent","useRender","VRadio","name","props","falseIcon","trueIcon","setup","slots"],"sources":["../../../src/components/VRadio/VRadio.tsx"],"sourcesContent":["// Components\nimport { makeSelectionControlProps, VSelectionControl } from '@/components/VSelectionControl/VSelectionControl'\n\n// Utilities\nimport { defineComponent, useRender } from '@/util'\n\nexport const VRadio = defineComponent({\n name: 'VRadio',\n\n props: {\n ...makeSelectionControlProps({\n falseIcon: '$radioOff',\n trueIcon: '$radioOn',\n }),\n },\n\n setup (props, { slots }) {\n useRender(() => (\n <VSelectionControl\n { ...props }\n class=\"v-radio\"\n type=\"radio\"\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VRadio = InstanceType<typeof VRadio>\n"],"mappings":";AAAA;AAAA,SACSA,yBAAyB,EAAEC,iBAAiB,sDAErD;AAAA,SACSC,eAAe,EAAEC,SAAS;AAEnC,OAAO,MAAMC,MAAM,GAAGF,eAAe,CAAC;EACpCG,IAAI,EAAE,QAAQ;EAEdC,KAAK,EAAE;IACL,GAAGN,yBAAyB,CAAC;MAC3BO,SAAS,EAAE,WAAW;MACtBC,QAAQ,EAAE;IACZ,CAAC;EACH,CAAC;EAEDC,KAAK,CAAEH,KAAK,QAAa;IAAA,IAAX;MAAEI;IAAM,CAAC;IACrBP,SAAS,CAAC,kDAEDG,KAAK;MAAA,SACJ,SAAS;MAAA,QACV;IAAO,IACFI,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
@@ -0,0 +1,105 @@
1
+ import * as vue from 'vue';
2
+ import { JSXComponent, PropType } from 'vue';
3
+
4
+ declare function deepEqual(a: any, b: any): boolean;
5
+
6
+ declare type IconValue = string | JSXComponent;
7
+ declare const IconValue: PropType<IconValue>;
8
+
9
+ declare type Density = null | 'default' | 'comfortable' | 'compact';
10
+
11
+ declare const VRadio: vue.DefineComponent<{
12
+ density: {
13
+ type: vue.PropType<Density>;
14
+ default: string;
15
+ validator: (v: any) => boolean;
16
+ };
17
+ theme: StringConstructor;
18
+ color: StringConstructor;
19
+ disabled: BooleanConstructor;
20
+ error: BooleanConstructor;
21
+ id: StringConstructor;
22
+ inline: BooleanConstructor;
23
+ falseIcon: {
24
+ type: vue.PropType<(string & {}) | IconValue>;
25
+ default: (string & {}) | IconValue;
26
+ };
27
+ trueIcon: {
28
+ type: vue.PropType<(string & {}) | IconValue>;
29
+ default: (string & {}) | IconValue;
30
+ };
31
+ ripple: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ multiple: {
36
+ type: vue.PropType<boolean | null>;
37
+ default: null;
38
+ };
39
+ name: StringConstructor;
40
+ readonly: BooleanConstructor;
41
+ modelValue: null;
42
+ type: StringConstructor;
43
+ valueComparator: {
44
+ type: vue.PropType<typeof deepEqual>;
45
+ default: typeof deepEqual;
46
+ };
47
+ label: StringConstructor;
48
+ trueValue: null;
49
+ falseValue: null;
50
+ value: null;
51
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
52
+ density: {
53
+ type: vue.PropType<Density>;
54
+ default: string;
55
+ validator: (v: any) => boolean;
56
+ };
57
+ theme: StringConstructor;
58
+ color: StringConstructor;
59
+ disabled: BooleanConstructor;
60
+ error: BooleanConstructor;
61
+ id: StringConstructor;
62
+ inline: BooleanConstructor;
63
+ falseIcon: {
64
+ type: vue.PropType<(string & {}) | IconValue>;
65
+ default: (string & {}) | IconValue;
66
+ };
67
+ trueIcon: {
68
+ type: vue.PropType<(string & {}) | IconValue>;
69
+ default: (string & {}) | IconValue;
70
+ };
71
+ ripple: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ multiple: {
76
+ type: vue.PropType<boolean | null>;
77
+ default: null;
78
+ };
79
+ name: StringConstructor;
80
+ readonly: BooleanConstructor;
81
+ modelValue: null;
82
+ type: StringConstructor;
83
+ valueComparator: {
84
+ type: vue.PropType<typeof deepEqual>;
85
+ default: typeof deepEqual;
86
+ };
87
+ label: StringConstructor;
88
+ trueValue: null;
89
+ falseValue: null;
90
+ value: null;
91
+ }>>, {
92
+ inline: boolean;
93
+ error: boolean;
94
+ disabled: boolean;
95
+ multiple: boolean | null;
96
+ readonly: boolean;
97
+ density: Density;
98
+ ripple: boolean;
99
+ falseIcon: (string & {}) | IconValue;
100
+ trueIcon: (string & {}) | IconValue;
101
+ valueComparator: typeof deepEqual;
102
+ }>;
103
+ declare type VRadio = InstanceType<typeof VRadio>;
104
+
105
+ export { VRadio };
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["VRadio"],"sources":["../../../src/components/VRadio/index.ts"],"sourcesContent":["export { VRadio } from './VRadio'\n"],"mappings":"SAASA,M"}
1
+ {"version":3,"file":"index.mjs","names":["VRadio"],"sources":["../../../src/components/VRadio/index.ts"],"sourcesContent":["export { VRadio } from './VRadio'\n"],"mappings":"SAASA,MAAM"}
@@ -1,8 +1,7 @@
1
- .v-radio-group {
2
- grid-template-areas: "prepend label append" ". control ." "a messages b";
1
+ .v-radio-group > .v-input__control {
2
+ flex-direction: column;
3
3
  }
4
4
  .v-radio-group > .v-label {
5
- grid-area: label;
6
5
  margin-inline-start: 12px;
7
6
  }
8
7
  .v-radio-group > .v-label + .v-selection-control-group {