@dimailn/vuetify 2.7.2-alpha32 → 2.7.2-alpha34

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 (313) hide show
  1. package/dist/vuetify.js +544 -366
  2. package/dist/vuetify.js.map +1 -1
  3. package/dist/vuetify.min.css +1 -1
  4. package/dist/vuetify.min.js +2 -2
  5. package/es5/components/VCalendar/VCalendarWeekly.js +10 -5
  6. package/es5/components/VCalendar/VCalendarWeekly.js.map +1 -1
  7. package/es5/components/VCheckbox/VCheckbox.js +7 -9
  8. package/es5/components/VCheckbox/VCheckbox.js.map +1 -1
  9. package/es5/components/VContent/VContent.js +24 -5
  10. package/es5/components/VContent/VContent.js.map +1 -1
  11. package/es5/components/VCounter/VCounter.js.map +1 -1
  12. package/es5/components/VDatePicker/VDatePicker.js +15 -7
  13. package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
  14. package/es5/components/VDatePicker/VDatePickerTitle.js +30 -19
  15. package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
  16. package/es5/components/VDatePicker/mixins/date-picker-table.js +1 -1
  17. package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
  18. package/es5/components/VDatePicker/util/eventHelpers.js +27 -17
  19. package/es5/components/VDatePicker/util/eventHelpers.js.map +1 -1
  20. package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
  21. package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
  22. package/es5/components/VGrid/VCol.js +3 -1
  23. package/es5/components/VGrid/VCol.js.map +1 -1
  24. package/es5/components/VGrid/VContainer.js +23 -10
  25. package/es5/components/VGrid/VContainer.js.map +1 -1
  26. package/es5/components/VGrid/grid.js +33 -15
  27. package/es5/components/VGrid/grid.js.map +1 -1
  28. package/es5/components/VHover/VHover.js +23 -17
  29. package/es5/components/VHover/VHover.js.map +1 -1
  30. package/es5/components/VIcon/VIcon.js +77 -53
  31. package/es5/components/VIcon/VIcon.js.map +1 -1
  32. package/es5/components/VItemGroup/VItemGroup.js +5 -0
  33. package/es5/components/VItemGroup/VItemGroup.js.map +1 -1
  34. package/es5/components/VLabel/VLabel.js +3 -1
  35. package/es5/components/VLabel/VLabel.js.map +1 -1
  36. package/es5/components/VOtpInput/VOtpInput.js +54 -33
  37. package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
  38. package/es5/components/VOverflowBtn/VOverflowBtn.js +14 -13
  39. package/es5/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
  40. package/es5/components/VProgressLinear/VProgressLinear.js +12 -33
  41. package/es5/components/VProgressLinear/VProgressLinear.js.map +1 -1
  42. package/es5/components/VSelect/VSelect.js +4 -1
  43. package/es5/components/VSelect/VSelect.js.map +1 -1
  44. package/es5/components/VStepper/VStepper.js +1 -1
  45. package/es5/components/VStepper/VStepper.js.map +1 -1
  46. package/es5/components/VStepper/VStepperContent.js +2 -5
  47. package/es5/components/VStepper/VStepperContent.js.map +1 -1
  48. package/es5/components/VSwitch/VSwitch.js +1 -1
  49. package/es5/components/VSwitch/VSwitch.js.map +1 -1
  50. package/es5/components/VTabs/VTabs.js +5 -0
  51. package/es5/components/VTabs/VTabs.js.map +1 -1
  52. package/es5/components/VTabs/VTabsBar.js +3 -0
  53. package/es5/components/VTabs/VTabsBar.js.map +1 -1
  54. package/es5/components/VTextField/VTextField.js +2 -1
  55. package/es5/components/VTextField/VTextField.js.map +1 -1
  56. package/es5/components/VTooltip/VTooltip.js +0 -7
  57. package/es5/components/VTooltip/VTooltip.js.map +1 -1
  58. package/es5/directives/color/index.js +6 -3
  59. package/es5/directives/color/index.js.map +1 -1
  60. package/es5/directives/ripple/index.js +5 -2
  61. package/es5/directives/ripple/index.js.map +1 -1
  62. package/es5/directives/scroll/index.js +1 -2
  63. package/es5/directives/scroll/index.js.map +1 -1
  64. package/es5/directives/touch/index.js +7 -4
  65. package/es5/directives/touch/index.js.map +1 -1
  66. package/es5/framework.js +1 -1
  67. package/es5/mixins/activatable/index.js +0 -8
  68. package/es5/mixins/activatable/index.js.map +1 -1
  69. package/es5/mixins/groupable/index.js.map +1 -1
  70. package/es5/mixins/positionable/index.js.map +1 -1
  71. package/es5/mixins/proxyable/index.js.map +1 -1
  72. package/es5/mixins/registrable/index.js.map +1 -1
  73. package/es5/mixins/selectable/index.js +4 -2
  74. package/es5/mixins/selectable/index.js.map +1 -1
  75. package/es5/mixins/toggleable/index.js.map +1 -1
  76. package/es5/services/goto/util.js +42 -3
  77. package/es5/services/goto/util.js.map +1 -1
  78. package/es5/services/theme/index.js +20 -71
  79. package/es5/services/theme/index.js.map +1 -1
  80. package/es5/util/mergeData.js +6 -5
  81. package/es5/util/mergeData.js.map +1 -1
  82. package/es5/util/mixins.js +4 -3
  83. package/es5/util/mixins.js.map +1 -1
  84. package/lib/components/VCalendar/VCalendarWeekly.js +11 -6
  85. package/lib/components/VCalendar/VCalendarWeekly.js.map +1 -1
  86. package/lib/components/VCheckbox/VCheckbox.js +5 -8
  87. package/lib/components/VCheckbox/VCheckbox.js.map +1 -1
  88. package/lib/components/VContent/VContent.js +18 -3
  89. package/lib/components/VContent/VContent.js.map +1 -1
  90. package/lib/components/VCounter/VCounter.js.map +1 -1
  91. package/lib/components/VDatePicker/VDatePicker.js +17 -7
  92. package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
  93. package/lib/components/VDatePicker/VDatePickerTitle.js +25 -14
  94. package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
  95. package/lib/components/VDatePicker/mixins/date-picker-table.js +1 -1
  96. package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
  97. package/lib/components/VDatePicker/util/eventHelpers.js +26 -14
  98. package/lib/components/VDatePicker/util/eventHelpers.js.map +1 -1
  99. package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
  100. package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
  101. package/lib/components/VGrid/VCol.js +3 -1
  102. package/lib/components/VGrid/VCol.js.map +1 -1
  103. package/lib/components/VGrid/VContainer.js +11 -10
  104. package/lib/components/VGrid/VContainer.js.map +1 -1
  105. package/lib/components/VGrid/grid.js +15 -14
  106. package/lib/components/VGrid/grid.js.map +1 -1
  107. package/lib/components/VHover/VHover.js +23 -18
  108. package/lib/components/VHover/VHover.js.map +1 -1
  109. package/lib/components/VIcon/VIcon.js +79 -57
  110. package/lib/components/VIcon/VIcon.js.map +1 -1
  111. package/lib/components/VItemGroup/VItemGroup.js +5 -0
  112. package/lib/components/VItemGroup/VItemGroup.js.map +1 -1
  113. package/lib/components/VLabel/VLabel.js +3 -1
  114. package/lib/components/VLabel/VLabel.js.map +1 -1
  115. package/lib/components/VOtpInput/VOtpInput.js +58 -34
  116. package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
  117. package/lib/components/VOverflowBtn/VOverflowBtn.js +14 -14
  118. package/lib/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
  119. package/lib/components/VProgressLinear/VProgressLinear.js +12 -16
  120. package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -1
  121. package/lib/components/VSelect/VSelect.js +4 -1
  122. package/lib/components/VSelect/VSelect.js.map +1 -1
  123. package/lib/components/VStepper/VStepper.js +1 -1
  124. package/lib/components/VStepper/VStepper.js.map +1 -1
  125. package/lib/components/VStepper/VStepperContent.js +3 -6
  126. package/lib/components/VStepper/VStepperContent.js.map +1 -1
  127. package/lib/components/VSwitch/VSwitch.js +1 -1
  128. package/lib/components/VSwitch/VSwitch.js.map +1 -1
  129. package/lib/components/VTabs/VTabs.js +5 -0
  130. package/lib/components/VTabs/VTabs.js.map +1 -1
  131. package/lib/components/VTabs/VTabsBar.js +3 -0
  132. package/lib/components/VTabs/VTabsBar.js.map +1 -1
  133. package/lib/components/VTextField/VTextField.js +2 -1
  134. package/lib/components/VTextField/VTextField.js.map +1 -1
  135. package/lib/components/VTooltip/VTooltip.js +1 -8
  136. package/lib/components/VTooltip/VTooltip.js.map +1 -1
  137. package/lib/directives/color/index.js +6 -3
  138. package/lib/directives/color/index.js.map +1 -1
  139. package/lib/directives/ripple/index.js +5 -3
  140. package/lib/directives/ripple/index.js.map +1 -1
  141. package/lib/directives/scroll/index.js +1 -2
  142. package/lib/directives/scroll/index.js.map +1 -1
  143. package/lib/directives/touch/index.js +7 -4
  144. package/lib/directives/touch/index.js.map +1 -1
  145. package/lib/framework.js +1 -1
  146. package/lib/mixins/activatable/index.js +1 -8
  147. package/lib/mixins/activatable/index.js.map +1 -1
  148. package/lib/mixins/groupable/index.js.map +1 -1
  149. package/lib/mixins/positionable/index.js.map +1 -1
  150. package/lib/mixins/proxyable/index.js.map +1 -1
  151. package/lib/mixins/registrable/index.js.map +1 -1
  152. package/lib/mixins/selectable/index.js +9 -7
  153. package/lib/mixins/selectable/index.js.map +1 -1
  154. package/lib/mixins/toggleable/index.js.map +1 -1
  155. package/lib/services/goto/util.js +42 -3
  156. package/lib/services/goto/util.js.map +1 -1
  157. package/lib/services/theme/index.js +18 -64
  158. package/lib/services/theme/index.js.map +1 -1
  159. package/lib/util/mergeData.js +6 -5
  160. package/lib/util/mergeData.js.map +1 -1
  161. package/lib/util/mixins.js +3 -2
  162. package/lib/util/mixins.js.map +1 -1
  163. package/package.json +2 -2
  164. package/src/components/VAlert/__tests__/__snapshots__/VAlert.spec.ts.snap +4 -4
  165. package/src/components/VAppBar/__tests__/__snapshots__/VAppBarNavIcon.spec.ts.snap +2 -2
  166. package/src/components/VAutocomplete/__tests__/VAutocomplete.spec.ts +75 -20
  167. package/src/components/VAutocomplete/__tests__/VAutocomplete2.spec.ts +38 -40
  168. package/src/components/VAutocomplete/__tests__/VAutocomplete3.spec.ts +26 -26
  169. package/src/components/VBanner/__tests__/__snapshots__/VBanner.spec.ts.snap +2 -2
  170. package/src/components/VBtn/__tests__/VBtn.spec.ts +8 -4
  171. package/src/components/VCalendar/VCalendarWeekly.ts +12 -5
  172. package/src/components/VCalendar/__tests__/VCalendar.spec.ts +1 -1
  173. package/src/components/VCalendar/__tests__/VCalendarCategory.spec.ts +5 -5
  174. package/src/components/VCalendar/__tests__/__snapshots__/VCalendar.spec.ts.snap +167 -168
  175. package/src/components/VCheckbox/VCheckbox.ts +4 -9
  176. package/src/components/VCheckbox/__tests__/VCheckbox.spec.ts +7 -1
  177. package/src/components/VCheckbox/__tests__/__snapshots__/VCheckbox.spec.ts.snap +54 -50
  178. package/src/components/VColorPicker/__tests__/__snapshots__/VColorPicker.spec.ts.snap +18 -18
  179. package/src/components/VColorPicker/__tests__/__snapshots__/VColorPickerEdit.spec.ts.snap +10 -10
  180. package/src/components/VCombobox/__tests__/VCombobox-multiple.spec.ts +89 -69
  181. package/src/components/VCombobox/__tests__/VCombobox.spec.ts +17 -12
  182. package/src/components/VContent/VContent.ts +10 -2
  183. package/src/components/VCounter/VCounter.ts +1 -1
  184. package/src/components/VCounter/__tests__/VCounter.spec.ts +10 -25
  185. package/src/components/VDataIterator/__tests__/__snapshots__/VDataFooter.spec.ts.snap +42 -42
  186. package/src/components/VDataIterator/__tests__/__snapshots__/VDataIterator.spec.ts.snap +30 -30
  187. package/src/components/VDataTable/__tests__/VDataTable.spec.ts +1 -1
  188. package/src/components/VDataTable/__tests__/VDataTableHeader.spec.ts +6 -10
  189. package/src/components/VDataTable/__tests__/VEditDialog.spec.ts +24 -21
  190. package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +409 -409
  191. package/src/components/VDataTable/__tests__/__snapshots__/VDataTableHeader.spec.ts.snap +70 -70
  192. package/src/components/VDataTable/mixins/__tests__/__snapshots__/header.spec.ts.snap +8 -8
  193. package/src/components/VDataTable/mixins/__tests__/header.spec.ts +3 -3
  194. package/src/components/VDatePicker/VDatePicker.ts +23 -7
  195. package/src/components/VDatePicker/VDatePickerTitle.ts +28 -16
  196. package/src/components/VDatePicker/__tests__/VDatePicker.date.spec.ts +86 -124
  197. package/src/components/VDatePicker/__tests__/VDatePicker.month.spec.ts +85 -63
  198. package/src/components/VDatePicker/__tests__/VDatePickerHeader.spec.ts +12 -27
  199. package/src/components/VDatePicker/__tests__/VDatePickerTitle.spec.ts +9 -5
  200. package/src/components/VDatePicker/__tests__/VDatePickerYears.spec.ts +4 -4
  201. package/src/components/VDatePicker/__tests__/__snapshots__/VDatePicker.date.spec.ts.snap +27 -9
  202. package/src/components/VDatePicker/__tests__/__snapshots__/VDatePicker.month.spec.ts.snap +45 -35
  203. package/src/components/VDatePicker/__tests__/__snapshots__/VDatePickerTitle.spec.ts.snap +15 -5
  204. package/src/components/VDatePicker/mixins/date-picker-table.ts +1 -1
  205. package/src/components/VDatePicker/util/eventHelpers.ts +33 -13
  206. package/src/components/VExpansionPanel/VExpansionPanelContent.ts +5 -8
  207. package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +10 -14
  208. package/src/components/VExpansionPanel/__tests__/VExpansionPanelHeader.spec.ts +6 -4
  209. package/src/components/VExpansionPanel/__tests__/VExpansionPanels.spec.ts +9 -5
  210. package/src/components/VExpansionPanel/__tests__/__snapshots__/VExpansionPanel.spec.ts.snap +4 -4
  211. package/src/components/VFileInput/__tests__/__snapshots__/VFileInput.spec.ts.snap +38 -38
  212. package/src/components/VFooter/__tests__/VFooter.spec.ts +28 -21
  213. package/src/components/VGrid/VCol.ts +1 -1
  214. package/src/components/VGrid/VContainer.ts +12 -10
  215. package/src/components/VGrid/__tests__/VCol.spec.ts +4 -2
  216. package/src/components/VGrid/__tests__/VGrid.spec.ts +2 -3
  217. package/src/components/VGrid/grid.ts +14 -17
  218. package/src/components/VHover/VHover.ts +21 -17
  219. package/src/components/VHover/__tests__/VHover.spec.ts +44 -28
  220. package/src/components/VIcon/VIcon.ts +72 -53
  221. package/src/components/VIcon/__tests__/VIcon.spec.ts +86 -176
  222. package/src/components/VIcon/__tests__/__snapshots__/VIcon.spec.ts.snap +19 -74
  223. package/src/components/VItemGroup/VItemGroup.ts +5 -0
  224. package/src/components/VItemGroup/__tests__/VItem.spec.ts +20 -12
  225. package/src/components/VLabel/VLabel.ts +1 -1
  226. package/src/components/VList/__tests__/VListGroup.spec.ts +1 -1
  227. package/src/components/VList/__tests__/VListItemAction.spec.ts +32 -31
  228. package/src/components/VList/__tests__/__snapshots__/VListGroup.spec.ts.snap +2 -2
  229. package/src/components/VList/__tests__/__snapshots__/VListItemAction.spec.ts.snap +20 -6
  230. package/src/components/VOtpInput/VOtpInput.ts +57 -32
  231. package/src/components/VOtpInput/__tests__/VOtpInput.spec.ts +75 -78
  232. package/src/components/VOverflowBtn/VOverflowBtn.ts +13 -10
  233. package/src/components/VOverflowBtn/__tests__/VOverflowBtn.spec.ts +6 -6
  234. package/src/components/VOverflowBtn/__tests__/__snapshots__/VOverflowBtn.spec.ts.snap +38 -46
  235. package/src/components/VPagination/__tests__/__snapshots__/VPagination.spec.ts.snap +32 -32
  236. package/src/components/VProgressLinear/VProgressLinear.ts +13 -18
  237. package/src/components/VProgressLinear/__tests__/VProgressLinear.spec.ts +20 -12
  238. package/src/components/VRadioGroup/__tests__/VRadio.spec.ts +57 -44
  239. package/src/components/VRadioGroup/__tests__/VRadioGroup.spec.ts +4 -4
  240. package/src/components/VRadioGroup/__tests__/__snapshots__/VRadio.spec.ts.snap +29 -33
  241. package/src/components/VRadioGroup/__tests__/__snapshots__/VRadioGroup.spec.ts.snap +10 -18
  242. package/src/components/VRating/__tests__/VRating.spec.ts +24 -29
  243. package/src/components/VResponsive/__tests__/VResponsive.spec.ts +10 -5
  244. package/src/components/VSelect/VSelect.ts +5 -1
  245. package/src/components/VSelect/__tests__/VSelect2.spec.ts +5 -5
  246. package/src/components/VSelect/__tests__/VSelect3.spec.ts +7 -7
  247. package/src/components/VSelect/__tests__/VSelect4.spec.ts +2 -2
  248. package/src/components/VSelect/__tests__/__snapshots__/VSelect2.spec.ts.snap +4 -4
  249. package/src/components/VSelect/__tests__/__snapshots__/VSelect3.spec.ts.snap +0 -284
  250. package/src/components/VSelect/__tests__/__snapshots__/VSelectList.spec.ts.snap +30 -27
  251. package/src/components/VSlideGroup/__tests__/VSlideGroup.spec.ts +70 -62
  252. package/src/components/VSlideGroup/__tests__/__snapshots__/VSlideGroup.spec.ts.snap +13 -34
  253. package/src/components/VSnackbar/__tests__/VSnackbar.spec.ts +46 -37
  254. package/src/components/VStepper/VStepper.ts +2 -2
  255. package/src/components/VStepper/VStepperContent.ts +7 -12
  256. package/src/components/VStepper/__tests__/VStepper.spec.ts +3 -3
  257. package/src/components/VStepper/__tests__/VStepperContent.spec.ts +25 -6
  258. package/src/components/VStepper/__tests__/__snapshots__/VStepperStep.spec.ts.snap +10 -12
  259. package/src/components/VSwitch/VSwitch.ts +1 -1
  260. package/src/components/VSwitch/__tests__/VSwitch.spec.ts +4 -7
  261. package/src/components/VSwitch/__tests__/__snapshots__/VSwitch.spec.ts.snap +11 -15
  262. package/src/components/VTabs/VTabs.ts +5 -0
  263. package/src/components/VTabs/VTabsBar.ts +4 -0
  264. package/src/components/VTabs/__tests__/VTabs.spec.ts +65 -0
  265. package/src/components/VTextField/VTextField.ts +2 -1
  266. package/src/components/VTextField/__tests__/VTextField.spec.ts +24 -27
  267. package/src/components/VTextField/__tests__/__snapshots__/VTextField.spec.ts.snap +49 -73
  268. package/src/components/VTextarea/__tests__/__snapshots__/VTextarea.spec.ts.snap +16 -6
  269. package/src/components/VThemeProvider/__tests__/VThemeProvider.spec.ts +49 -10
  270. package/src/components/VTimePicker/__tests__/VTimePicker.spec.ts +3 -3
  271. package/src/components/VTimePicker/__tests__/VTimePickerTitle.spec.ts +3 -3
  272. package/src/components/VTimeline/__tests__/__snapshots__/VTimelineItem.spec.ts.snap +2 -2
  273. package/src/components/VTooltip/VTooltip.ts +0 -6
  274. package/src/components/VTooltip/__tests__/VTooltip.spec.ts +12 -11
  275. package/src/components/VTreeview/__tests__/__snapshots__/VTreeview.spec.ts.snap +42 -42
  276. package/src/components/VTreeview/__tests__/__snapshots__/VTreeviewNode.spec.ts.snap +2 -2
  277. package/src/directives/click-outside/__tests__/click-outside-shadow-dom.spec.ts +4 -4
  278. package/src/directives/click-outside/__tests__/click-outside.spec.ts +3 -3
  279. package/src/directives/color/__tests__/color.spec.ts +54 -34
  280. package/src/directives/color/index.ts +7 -3
  281. package/src/directives/intersect/__tests__/intersect.spec.ts +7 -7
  282. package/src/directives/mutate/__tests__/mutate.spec.ts +32 -26
  283. package/src/directives/resize/__tests__/resize.spec.ts +5 -5
  284. package/src/directives/ripple/__tests__/ripple.spec.ts +34 -36
  285. package/src/directives/ripple/index.ts +3 -6
  286. package/src/directives/scroll/__tests__/scroll.spec.ts +13 -13
  287. package/src/directives/scroll/index.ts +0 -1
  288. package/src/directives/touch/__tests__/touch.spec.ts +23 -16
  289. package/src/directives/touch/index.ts +6 -4
  290. package/src/globals.d.ts +6 -6
  291. package/src/mixins/activatable/__tests__/activatable.spec.ts +55 -55
  292. package/src/mixins/activatable/index.ts +0 -6
  293. package/src/mixins/dependent/__tests__/dependent.spec.ts +72 -33
  294. package/src/mixins/detachable/__tests__/detachable.spec.ts +45 -31
  295. package/src/mixins/groupable/index.ts +6 -6
  296. package/src/mixins/positionable/index.ts +2 -2
  297. package/src/mixins/proxyable/index.ts +2 -2
  298. package/src/mixins/registrable/index.ts +4 -4
  299. package/src/mixins/selectable/index.ts +10 -7
  300. package/src/mixins/toggleable/index.ts +2 -2
  301. package/src/services/goto/__tests__/goto.spec.ts +146 -1
  302. package/src/services/goto/util.ts +44 -5
  303. package/src/services/theme/__tests__/__snapshots__/theme.spec.ts.snap +0 -1128
  304. package/src/services/theme/__tests__/theme.spec.ts +81 -83
  305. package/src/services/theme/index.ts +22 -60
  306. package/src/util/__tests__/dom.spec.ts +8 -5
  307. package/src/util/__tests__/helpers.spec.ts +1 -1
  308. package/src/util/__tests__/mergeData.spec.ts +8 -8
  309. package/src/util/mergeData.ts +10 -5
  310. package/src/util/mixins.ts +24 -7
  311. package/types/alacarte.d.ts +14 -14
  312. package/types/index.d.ts +8 -8
  313. package/types/lib.d.ts +173 -173
package/dist/vuetify.js CHANGED
@@ -4083,7 +4083,12 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
4083
4083
  /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({
4084
4084
  name: 'v-calendar-weekly',
4085
4085
  extends: _mixins_calendar_base__WEBPACK_IMPORTED_MODULE_3__["default"],
4086
- props: _util_props__WEBPACK_IMPORTED_MODULE_6__["default"].weeks,
4086
+ props: __assign(__assign({}, _util_props__WEBPACK_IMPORTED_MODULE_6__["default"].weeks), {
4087
+ now: {
4088
+ type: String,
4089
+ validator: _util_timestamp__WEBPACK_IMPORTED_MODULE_7__["validateTimestamp"]
4090
+ }
4091
+ }),
4087
4092
  computed: {
4088
4093
  staticClass: function staticClass() {
4089
4094
  return 'v-calendar-weekly';
@@ -4101,10 +4106,10 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
4101
4106
  return Object(_util_timestamp__WEBPACK_IMPORTED_MODULE_7__["createDayList"])(start, end, this.times.today, this.weekdaySkips, Number.MAX_SAFE_INTEGER, minDays);
4102
4107
  },
4103
4108
  todayWeek: function todayWeek() {
4104
- var today = this.times.today;
4105
- var start = this.getStartOfWeek(today);
4106
- var end = this.getEndOfWeek(today);
4107
- return Object(_util_timestamp__WEBPACK_IMPORTED_MODULE_7__["createDayList"])(start, end, today, this.weekdaySkips, this.parsedWeekdays.length, this.parsedWeekdays.length);
4109
+ var now = this.times.now;
4110
+ var start = this.getStartOfWeek(now);
4111
+ var end = this.getEndOfWeek(now);
4112
+ return Object(_util_timestamp__WEBPACK_IMPORTED_MODULE_7__["createDayList"])(start, end, now, this.weekdaySkips, this.parsedWeekdays.length, this.parsedWeekdays.length);
4108
4113
  },
4109
4114
  monthFormatter: function monthFormatter() {
4110
4115
  if (this.monthFormat) {
@@ -7561,7 +7566,7 @@ var __read = undefined && undefined.__read || function (o, n) {
7561
7566
  default: '$checkboxOn'
7562
7567
  }
7563
7568
  },
7564
- emits: ['click', 'focus', 'blur', 'update:indeterminate'],
7569
+ emits: ['click', 'focus', 'blur', 'update:indeterminate', 'update:modelValue', 'change'],
7565
7570
  data: function data() {
7566
7571
  return {
7567
7572
  inputIndeterminate: this.indeterminate
@@ -7606,10 +7611,6 @@ var __read = undefined && undefined.__read || function (o, n) {
7606
7611
  },
7607
7612
  inputIndeterminate: function inputIndeterminate(val) {
7608
7613
  this.$emit('update:indeterminate', val);
7609
- },
7610
- isActive: function isActive() {
7611
- if (!this.indeterminate) return;
7612
- this.inputIndeterminate = false;
7613
7614
  }
7614
7615
  },
7615
7616
  created: function created() {
@@ -7630,10 +7631,12 @@ var __read = undefined && undefined.__read || function (o, n) {
7630
7631
  genCheckbox: function genCheckbox() {
7631
7632
  var _this = this;
7632
7633
 
7633
- var _a = this.attrs$,
7634
+ var _a = this.$attrs,
7634
7635
  title = _a.title,
7635
- checkboxAttrs = __rest(_a, ["title"]);
7636
+ parentClass = _a.class,
7637
+ checkboxAttrs = __rest(_a, ["title", "class"]);
7636
7638
 
7639
+ var ariaChecked = this.inputIndeterminate ? 'mixed' : this.isActive.toString();
7637
7640
  return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('div', {
7638
7641
  class: 'v-input--selection-controls__input'
7639
7642
  }, [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(_VIcon__WEBPACK_IMPORTED_MODULE_2__["default"], this.setTextColor(this.validationState, {
@@ -7643,7 +7646,7 @@ var __read = undefined && undefined.__read || function (o, n) {
7643
7646
  }), function () {
7644
7647
  return _this.computedIcon;
7645
7648
  }), this.genInput('checkbox', __assign(__assign({}, checkboxAttrs), {
7646
- 'aria-checked': this.inputIndeterminate ? 'mixed' : this.isActive.toString()
7649
+ 'aria-checked': ariaChecked
7647
7650
  })), this.genRipple(this.setTextColor(this.rippleState))]);
7648
7651
  },
7649
7652
  genDefaultSlot: function genDefaultSlot() {
@@ -9669,12 +9672,30 @@ __webpack_require__.r(__webpack_exports__);
9669
9672
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
9670
9673
  /* harmony import */ var _VMain_VMain__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../VMain/VMain */ "./src/components/VMain/VMain.ts");
9671
9674
  /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
9675
+ /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
9676
+ var __assign = undefined && undefined.__assign || function () {
9677
+ __assign = Object.assign || function (t) {
9678
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9679
+ s = arguments[i];
9680
+
9681
+ for (var p in s) {
9682
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
9683
+ }
9684
+ }
9685
+
9686
+ return t;
9687
+ };
9688
+
9689
+ return __assign.apply(this, arguments);
9690
+ };
9691
+
9672
9692
  // Types
9673
9693
 
9674
9694
  // Extensions
9675
9695
 
9676
9696
 
9677
9697
 
9698
+
9678
9699
  /* @vue/component */
9679
9700
 
9680
9701
  /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({
@@ -9684,10 +9705,24 @@ __webpack_require__.r(__webpack_exports__);
9684
9705
  Object(_util_console__WEBPACK_IMPORTED_MODULE_2__["deprecate"])('v-content', 'v-main', this);
9685
9706
  },
9686
9707
  render: function render() {
9687
- // Add the legacy class names
9708
+ var _a; // Add the legacy class names
9709
+
9710
+
9688
9711
  var node = _VMain_VMain__WEBPACK_IMPORTED_MODULE_1__["default"].render.call(this, vue__WEBPACK_IMPORTED_MODULE_0__["h"]);
9689
- node.data.staticClass += ' v-content';
9690
- node.children[0].data.staticClass += ' v-content__wrap';
9712
+ var existingClasses = ((_a = node.data) === null || _a === void 0 ? void 0 : _a.class) || '';
9713
+ var contentClasses = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["normalizeClasses"])(existingClasses + " v-content");
9714
+ node.data = __assign(__assign({}, node.data), {
9715
+ class: contentClasses
9716
+ });
9717
+
9718
+ if (node.children && node.children[0] && node.children[0].data) {
9719
+ var childExistingClasses = node.children[0].data.class || '';
9720
+ var wrapClasses = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["normalizeClasses"])(childExistingClasses + " v-content__wrap");
9721
+ node.children[0].data = __assign(__assign({}, node.children[0].data), {
9722
+ class: wrapClasses
9723
+ });
9724
+ }
9725
+
9691
9726
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(node.tag, node.data, node.children);
9692
9727
  }
9693
9728
  }));
@@ -13267,6 +13302,7 @@ var __read = undefined && undefined.__read || function (o, n) {
13267
13302
  yearFormat: Function,
13268
13303
  yearIcon: String
13269
13304
  },
13305
+ emits: ['update:modelValue', 'change', 'update:active-picker', 'update:picker-date'],
13270
13306
  data: function data() {
13271
13307
  var _this = this;
13272
13308
 
@@ -13426,7 +13462,7 @@ var __read = undefined && undefined.__read || function (o, n) {
13426
13462
  this.tableDate = Object(_util__WEBPACK_IMPORTED_MODULE_12__["sanitizeDateString"])(this.lastValue, 'year');
13427
13463
  }
13428
13464
  },
13429
- value: function value(newValue, oldValue) {
13465
+ modelValue: function modelValue(newValue, oldValue) {
13430
13466
  this.checkMultipleProp();
13431
13467
  this.setInputDate();
13432
13468
 
@@ -13467,6 +13503,12 @@ var __read = undefined && undefined.__read || function (o, n) {
13467
13503
  this.setInputDate();
13468
13504
  },
13469
13505
  methods: {
13506
+ save: function save() {// Метод для совместимости с Picker mixin
13507
+ // В VDatePicker нет необходимости в отдельном сохранении
13508
+ },
13509
+ cancel: function cancel() {// Метод для совместимости с Picker mixin
13510
+ // В VDatePicker нет необходимости в отдельной отмене
13511
+ },
13470
13512
  emitInput: function emitInput(newInput) {
13471
13513
  if (this.range) {
13472
13514
  if (this.multipleValue.length !== 1) {
@@ -13550,15 +13592,16 @@ var __read = undefined && undefined.__read || function (o, n) {
13550
13592
  genPickerTitle: function genPickerTitle() {
13551
13593
  var _this = this;
13552
13594
 
13595
+ var dateValue = this.modelValue ? this.formatters.titleDate(this.isMultiple ? this.multipleValue : this.modelValue) : '';
13553
13596
  return Object(vue__WEBPACK_IMPORTED_MODULE_13__["h"])(_VDatePickerTitle__WEBPACK_IMPORTED_MODULE_0__["default"], {
13554
- date: this.modelValue ? this.formatters.titleDate(this.isMultiple ? this.multipleValue : this.modelValue) : '',
13597
+ date: dateValue,
13555
13598
  disabled: this.disabled,
13556
13599
  readonly: this.readonly,
13557
13600
  selectingYear: this.internalActivePicker === 'YEAR',
13558
13601
  year: this.formatters.year(this.multipleValue.length ? "" + this.inputYear : this.tableDate),
13559
13602
  yearIcon: this.yearIcon,
13560
- modelValue: this.multipleValue[0],
13561
- onUpdateSelectingYear: function onUpdateSelectingYear(value) {
13603
+ modelValue: this.multipleValue.length ? this.multipleValue[0] : undefined,
13604
+ 'onUpdate:selecting-year': function onUpdateSelectingYear(value) {
13562
13605
  return _this.internalActivePicker = value ? 'YEAR' : _this.type.toUpperCase();
13563
13606
  }
13564
13607
  });
@@ -13620,7 +13663,7 @@ var __read = undefined && undefined.__read || function (o, n) {
13620
13663
  'onUpdate:table-date': function onUpdateTableDate(value) {
13621
13664
  return _this.tableDate = value;
13622
13665
  }
13623
- }, Object(_util__WEBPACK_IMPORTED_MODULE_12__["createItemTypeListeners"])(this, ':date')));
13666
+ }, Object(_util__WEBPACK_IMPORTED_MODULE_12__["createItemTypeListeners"])(this, 'Date')));
13624
13667
  },
13625
13668
  genMonthTable: function genMonthTable() {
13626
13669
  var _this = this;
@@ -13648,7 +13691,7 @@ var __read = undefined && undefined.__read || function (o, n) {
13648
13691
  'onUpdate:table-date': function onUpdateTableDate(value) {
13649
13692
  return _this.tableDate = value;
13650
13693
  }
13651
- }, Object(_util__WEBPACK_IMPORTED_MODULE_12__["createItemTypeListeners"])(this, ':month')));
13694
+ }, Object(_util__WEBPACK_IMPORTED_MODULE_12__["createItemTypeListeners"])(this, 'Month')));
13652
13695
  },
13653
13696
  genYears: function genYears() {
13654
13697
  return Object(vue__WEBPACK_IMPORTED_MODULE_13__["h"])(_VDatePickerYears__WEBPACK_IMPORTED_MODULE_4__["default"], __assign({
@@ -13659,7 +13702,7 @@ var __read = undefined && undefined.__read || function (o, n) {
13659
13702
  max: this.maxYear,
13660
13703
  modelValue: this.tableYear,
13661
13704
  'onUpdate:modelValue': this.yearClick
13662
- }, Object(_util__WEBPACK_IMPORTED_MODULE_12__["createItemTypeListeners"])(this, ':year')));
13705
+ }, Object(_util__WEBPACK_IMPORTED_MODULE_12__["createItemTypeListeners"])(this, 'Year')));
13663
13706
  },
13664
13707
  genPickerBody: function genPickerBody() {
13665
13708
  var children = this.internalActivePicker === 'YEAR' ? [this.genYears()] : [this.genTableHeader(), this.internalActivePicker === 'DATE' ? this.genDateTable() : this.genMonthTable()];
@@ -14287,6 +14330,11 @@ var __read = undefined && undefined.__read || function (o, n) {
14287
14330
  return this.isReversing ? 'picker-reverse-transition' : 'picker-transition';
14288
14331
  }
14289
14332
  },
14333
+ watch: {
14334
+ modelValue: function modelValue(val, prev) {
14335
+ this.isReversing = val < prev;
14336
+ }
14337
+ },
14290
14338
  created: function created() {
14291
14339
  var _this = this;
14292
14340
 
@@ -14301,11 +14349,6 @@ var __read = undefined && undefined.__read || function (o, n) {
14301
14349
  if (_this.$attrs.hasOwnProperty(original)) Object(_util_console__WEBPACK_IMPORTED_MODULE_5__["breaking"])(original, replacement, _this);
14302
14350
  });
14303
14351
  },
14304
- watch: {
14305
- modelValue: function modelValue(val, prev) {
14306
- this.isReversing = val < prev;
14307
- }
14308
- },
14309
14352
  methods: {
14310
14353
  genYearIcon: function genYearIcon() {
14311
14354
  var _this = this;
@@ -14317,22 +14360,33 @@ var __read = undefined && undefined.__read || function (o, n) {
14317
14360
  });
14318
14361
  },
14319
14362
  getYearBtn: function getYearBtn() {
14320
- return this.genPickerButton('selectingYear', true, [String(this.year), this.yearIcon ? this.genYearIcon() : null], false, 'v-date-picker-title__year');
14321
- },
14322
- genTitleText: function genTitleText() {
14323
- var _this = this;
14324
-
14325
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(vue__WEBPACK_IMPORTED_MODULE_0__["Transition"], {
14363
+ var yearText = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('span', {
14364
+ key: this.year
14365
+ }, String(this.year));
14366
+ var yearTransition = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(vue__WEBPACK_IMPORTED_MODULE_0__["Transition"], {
14326
14367
  name: this.computedTransition
14327
- }, function () {
14328
- return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
14329
- innerHTML: _this.date || '&nbsp;',
14330
- key: _this.modelValue
14331
- })];
14368
+ }, {
14369
+ default: function _default() {
14370
+ return [yearText];
14371
+ }
14332
14372
  });
14373
+ return this.genPickerButton('selectingYear', true, [yearTransition, this.yearIcon ? this.genYearIcon() : null], false, 'v-date-picker-title__year');
14374
+ },
14375
+ genTitleText: function genTitleText() {
14376
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
14377
+ key: this.date
14378
+ }, this.date || "\xA0");
14333
14379
  },
14334
14380
  genTitleDate: function genTitleDate() {
14335
- return this.genPickerButton('selectingYear', false, [this.genTitleText()], false, 'v-date-picker-title__date');
14381
+ var titleText = this.genTitleText();
14382
+ var transition = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(vue__WEBPACK_IMPORTED_MODULE_0__["Transition"], {
14383
+ name: this.computedTransition
14384
+ }, {
14385
+ default: function _default() {
14386
+ return [titleText];
14387
+ }
14388
+ });
14389
+ return this.genPickerButton('selectingYear', false, [transition], false, 'v-date-picker-title__date');
14336
14390
  }
14337
14391
  },
14338
14392
  render: function render() {
@@ -14747,7 +14801,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
14747
14801
  _this.$emit('update:modelValue', value);
14748
14802
  }
14749
14803
  }
14750
- }, Object(_util__WEBPACK_IMPORTED_MODULE_5__["createItemTypeNativeListeners"])(this, ":" + mouseEventType, value));
14804
+ }, Object(_util__WEBPACK_IMPORTED_MODULE_5__["createItemTypeNativeListeners"])(this, mouseEventType, value));
14751
14805
  },
14752
14806
  genButton: function genButton(value, isFloating, mouseEventType, formatter, isOtherMonth) {
14753
14807
  if (isOtherMonth === void 0) {
@@ -14965,32 +15019,42 @@ function createNativeLocaleFormatter(locale, options, substrOptions) {
14965
15019
  /*!*********************************************************!*\
14966
15020
  !*** ./src/components/VDatePicker/util/eventHelpers.ts ***!
14967
15021
  \*********************************************************/
14968
- /*! exports provided: createItemTypeNativeListeners, createItemTypeListeners */
15022
+ /*! exports provided: createItemTypeListeners, createItemTypeNativeListeners */
14969
15023
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14970
15024
 
14971
15025
  "use strict";
14972
15026
  __webpack_require__.r(__webpack_exports__);
14973
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createItemTypeNativeListeners", function() { return createItemTypeNativeListeners; });
14974
15027
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createItemTypeListeners", function() { return createItemTypeListeners; });
14975
- function createItemTypeNativeListeners(instance, itemTypeSuffix, value) {
14976
- return Object.keys(instance.$listeners).reduce(function (on, eventName) {
14977
- if (eventName.endsWith(itemTypeSuffix)) {
14978
- on[eventName.slice(0, -itemTypeSuffix.length)] = function (event) {
14979
- return instance.$emit(eventName, value, event);
14980
- };
14981
- }
15028
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createItemTypeNativeListeners", function() { return createItemTypeNativeListeners; });
15029
+ // Utils for creating event listeners that work with Vue 3 emits/attrs pattern
15030
+ function createItemTypeListeners(instance, itemTypeSuffix) {
15031
+ var listeners = {};
15032
+ var eventAttrs = ["onClick" + itemTypeSuffix, "onDblclick" + itemTypeSuffix];
15033
+ eventAttrs.forEach(function (attrName) {
15034
+ var handler = instance.$attrs[attrName];
14982
15035
 
14983
- return on;
14984
- }, {});
15036
+ if (handler && typeof handler === 'function') {
15037
+ listeners[attrName] = handler;
15038
+ }
15039
+ });
15040
+ return listeners;
14985
15041
  }
14986
- function createItemTypeListeners(instance, itemTypeSuffix) {
14987
- return Object.keys(instance.$listeners).reduce(function (on, eventName) {
14988
- if (eventName.endsWith(itemTypeSuffix)) {
14989
- on[eventName] = instance.$listeners[eventName];
15042
+ function createItemTypeNativeListeners(instance, mouseEventType, value) {
15043
+ var listeners = {};
15044
+ var eventAttrs = ["onClick" + (mouseEventType.charAt(0).toUpperCase() + mouseEventType.slice(1)), "onDblclick" + (mouseEventType.charAt(0).toUpperCase() + mouseEventType.slice(1))];
15045
+ eventAttrs.forEach(function (attrName) {
15046
+ var handler = instance.$attrs[attrName];
15047
+
15048
+ if (handler && typeof handler === 'function') {
15049
+ // Преобразуем onClickDate -> click и onDblclickDate -> dblclick для DOM событий
15050
+ var eventName = attrName.slice(2, attrName.length - mouseEventType.length).toLowerCase();
15051
+
15052
+ listeners[eventName] = function (event) {
15053
+ handler(value, event);
15054
+ };
14990
15055
  }
14991
-
14992
- return on;
14993
- }, {});
15056
+ });
15057
+ return listeners;
14994
15058
  }
14995
15059
 
14996
15060
  /***/ }),
@@ -17066,9 +17130,11 @@ var cache = new Map();
17066
17130
  render: function render() {
17067
17131
  var _a;
17068
17132
 
17133
+ var _b, _c;
17134
+
17069
17135
  var props = this.$props;
17070
17136
  var data = this.$attrs;
17071
- var children = this.$slots.default(); // const {parent} = getCurrentInstance()
17137
+ var children = ((_c = (_b = this.$slots).default) === null || _c === void 0 ? void 0 : _c.call(_b)) || []; // const {parent} = getCurrentInstance()
17072
17138
  // Super-fast memoization based on props, 5x faster than JSON.stringify
17073
17139
 
17074
17140
  var cacheKey = '';
@@ -17127,6 +17193,43 @@ __webpack_require__.r(__webpack_exports__);
17127
17193
  /* harmony import */ var _util_mergeData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/mergeData */ "./src/util/mergeData.ts");
17128
17194
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "vue");
17129
17195
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_4__);
17196
+ var __read = undefined && undefined.__read || function (o, n) {
17197
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
17198
+ if (!m) return o;
17199
+ var i = m.call(o),
17200
+ r,
17201
+ ar = [],
17202
+ e;
17203
+
17204
+ try {
17205
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
17206
+ ar.push(r.value);
17207
+ }
17208
+ } catch (error) {
17209
+ e = {
17210
+ error: error
17211
+ };
17212
+ } finally {
17213
+ try {
17214
+ if (r && !r.done && (m = i["return"])) m.call(i);
17215
+ } finally {
17216
+ if (e) throw e.error;
17217
+ }
17218
+ }
17219
+
17220
+ return ar;
17221
+ };
17222
+
17223
+ var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
17224
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
17225
+ if (ar || !(i in from)) {
17226
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
17227
+ ar[i] = from[i];
17228
+ }
17229
+ }
17230
+ return to.concat(ar || Array.prototype.slice.call(from));
17231
+ };
17232
+
17130
17233
 
17131
17234
 
17132
17235
 
@@ -17137,7 +17240,6 @@ __webpack_require__.r(__webpack_exports__);
17137
17240
  /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_4__["defineComponent"])({
17138
17241
  name: 'v-container',
17139
17242
  extends: Object(_grid__WEBPACK_IMPORTED_MODULE_2__["default"])('container'),
17140
- functional: true,
17141
17243
  props: {
17142
17244
  id: String,
17143
17245
  tag: {
@@ -17172,17 +17274,19 @@ __webpack_require__.r(__webpack_exports__);
17172
17274
 
17173
17275
  return value || typeof value === 'string';
17174
17276
  });
17175
- } // if (props.id) {
17176
- // data.domProps = data.domProps || {}
17177
- // data.domProps.id = props.id
17178
- // }
17179
-
17277
+ }
17180
17278
 
17181
- return Object(vue__WEBPACK_IMPORTED_MODULE_4__["h"])(this.tag, Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_3__["default"])(this.$attrs, {
17182
- class: Array({
17279
+ var data = Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_3__["default"])(this.$attrs, {
17280
+ class: __spreadArray(['container', {
17183
17281
  'container--fluid': this.fluid
17184
- }).concat(classes || []).concat('container')
17185
- }), (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a));
17282
+ }], __read(classes || []), false)
17283
+ });
17284
+
17285
+ if (this.id) {
17286
+ data.id = this.id;
17287
+ }
17288
+
17289
+ return Object(vue__WEBPACK_IMPORTED_MODULE_4__["h"])(this.tag, data, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a));
17186
17290
  }
17187
17291
  }));
17188
17292
 
@@ -17494,13 +17598,65 @@ __webpack_require__.r(__webpack_exports__);
17494
17598
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return VGrid; });
17495
17599
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "vue");
17496
17600
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
17497
- // Types
17601
+ var __assign = undefined && undefined.__assign || function () {
17602
+ __assign = Object.assign || function (t) {
17603
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
17604
+ s = arguments[i];
17605
+
17606
+ for (var p in s) {
17607
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
17608
+ }
17609
+ }
17610
+
17611
+ return t;
17612
+ };
17613
+
17614
+ return __assign.apply(this, arguments);
17615
+ };
17616
+
17617
+ var __read = undefined && undefined.__read || function (o, n) {
17618
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
17619
+ if (!m) return o;
17620
+ var i = m.call(o),
17621
+ r,
17622
+ ar = [],
17623
+ e;
17624
+
17625
+ try {
17626
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
17627
+ ar.push(r.value);
17628
+ }
17629
+ } catch (error) {
17630
+ e = {
17631
+ error: error
17632
+ };
17633
+ } finally {
17634
+ try {
17635
+ if (r && !r.done && (m = i["return"])) m.call(i);
17636
+ } finally {
17637
+ if (e) throw e.error;
17638
+ }
17639
+ }
17640
+
17641
+ return ar;
17642
+ };
17643
+
17644
+ var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
17645
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
17646
+ if (ar || !(i in from)) {
17647
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
17648
+ ar[i] = from[i];
17649
+ }
17650
+ }
17651
+ return to.concat(ar || Array.prototype.slice.call(from));
17652
+ }; // Types
17653
+
17654
+
17498
17655
 
17499
17656
  function VGrid(name) {
17500
17657
  /* @vue/component */
17501
17658
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({
17502
17659
  name: "v-" + name,
17503
- functional: true,
17504
17660
  props: {
17505
17661
  id: String,
17506
17662
  tag: {
@@ -17509,20 +17665,23 @@ function VGrid(name) {
17509
17665
  }
17510
17666
  },
17511
17667
  render: function render() {
17512
- var data = this.$attrs;
17513
- var children = this.$slots.default();
17514
- var props = this.$props;
17515
- data.staticClass = (name + " " + (data.staticClass || '')).trim();
17516
- var attrs = data.attrs;
17668
+ var _a, _b;
17517
17669
 
17518
- if (attrs) {
17670
+ var data = __assign({}, this.$attrs);
17671
+
17672
+ var children = ((_b = (_a = this.$slots) === null || _a === void 0 ? void 0 : _a.default) === null || _b === void 0 ? void 0 : _b.call(_a)) || [];
17673
+ var componentProps = this.$props;
17674
+ data.class = [name, data.class].filter(Boolean);
17675
+ var dataAttrs = data.attrs;
17676
+
17677
+ if (dataAttrs) {
17519
17678
  // reset attrs to extract utility clases like pa-3
17520
17679
  data.attrs = {};
17521
- var classes = Object.keys(attrs).filter(function (key) {
17680
+ var classes = Object.keys(dataAttrs).filter(function (key) {
17522
17681
  // TODO: Remove once resolved
17523
17682
  // https://github.com/vuejs/vue/issues/7841
17524
17683
  if (key === 'slot') return false;
17525
- var value = attrs[key]; // add back data attributes like data-test="foo" but do not
17684
+ var value = dataAttrs[key]; // add back data attributes like data-test="foo" but do not
17526
17685
  // add them as classes
17527
17686
 
17528
17687
  if (key.startsWith('data-')) {
@@ -17532,15 +17691,14 @@ function VGrid(name) {
17532
17691
 
17533
17692
  return value || typeof value === 'string';
17534
17693
  });
17535
- if (classes.length) data.staticClass += " " + classes.join(' ');
17694
+ if (classes.length) data.class = __spreadArray(__spreadArray([], __read(data.class), false), __read(classes), false);
17536
17695
  }
17537
17696
 
17538
- if (props.id) {
17539
- data.domProps = data.domProps || {};
17540
- data.domProps.id = props.id;
17697
+ if (componentProps === null || componentProps === void 0 ? void 0 : componentProps.id) {
17698
+ data.id = componentProps.id;
17541
17699
  }
17542
17700
 
17543
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(props.tag, data, children);
17701
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])((componentProps === null || componentProps === void 0 ? void 0 : componentProps.tag) || 'div', data, children);
17544
17702
  }
17545
17703
  });
17546
17704
  }
@@ -17607,11 +17765,15 @@ __webpack_require__.r(__webpack_exports__);
17607
17765
  /* harmony import */ var _mixins_toggleable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../mixins/toggleable */ "./src/mixins/toggleable/index.ts");
17608
17766
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
17609
17767
  /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
17768
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "vue");
17769
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_4__);
17610
17770
  // Mixins
17611
17771
 
17612
17772
  // Utilities
17613
17773
 
17614
17774
 
17775
+ // Types
17776
+
17615
17777
 
17616
17778
  /* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_mixins_delayable__WEBPACK_IMPORTED_MODULE_0__["default"], _mixins_toggleable__WEBPACK_IMPORTED_MODULE_1__["default"]
17617
17779
  /* @vue/component */
@@ -17622,7 +17784,7 @@ __webpack_require__.r(__webpack_exports__);
17622
17784
  type: Boolean,
17623
17785
  default: false
17624
17786
  },
17625
- value: {
17787
+ modelValue: {
17626
17788
  type: Boolean,
17627
17789
  default: undefined
17628
17790
  }
@@ -17630,42 +17792,45 @@ __webpack_require__.r(__webpack_exports__);
17630
17792
  emits: ['update:modelValue'],
17631
17793
  methods: {
17632
17794
  onMouseEnter: function onMouseEnter() {
17795
+ if (this.disabled) return;
17633
17796
  this.runDelay('open');
17634
17797
  },
17635
17798
  onMouseLeave: function onMouseLeave() {
17799
+ if (this.disabled) return;
17636
17800
  this.runDelay('close');
17637
17801
  }
17638
17802
  },
17639
17803
  render: function render() {
17640
- if (!this.$slots.default && this.value === undefined) {
17804
+ if (!this.$slots.default && this.modelValue === undefined) {
17641
17805
  Object(_util_console__WEBPACK_IMPORTED_MODULE_3__["consoleWarn"])('v-hover is missing a default scopedSlot or bound value', this);
17642
17806
  return null;
17643
17807
  }
17644
17808
 
17645
- var element;
17646
- /* istanbul ignore else */
17809
+ if (!this.$slots.default) return null;
17810
+ var slotContent = this.$slots.default({
17811
+ hover: this.isActive
17812
+ });
17647
17813
 
17648
- if (this.$slots.default) {
17649
- element = this.$slots.default({
17650
- hover: this.isActive
17651
- });
17814
+ if (!(slotContent === null || slotContent === void 0 ? void 0 : slotContent.length)) {
17815
+ Object(_util_console__WEBPACK_IMPORTED_MODULE_3__["consoleWarn"])('v-hover slot returned empty content', this);
17816
+ return null;
17652
17817
  }
17653
17818
 
17654
- if (Array.isArray(element) && element.length === 1) {
17655
- element = element[0];
17819
+ var element = slotContent[0];
17820
+
17821
+ if (!(element === null || element === void 0 ? void 0 : element.type)) {
17822
+ Object(_util_console__WEBPACK_IMPORTED_MODULE_3__["consoleWarn"])('v-hover should only contain valid VNode elements', this);
17823
+ return element;
17656
17824
  }
17657
17825
 
17658
- if (!element || Array.isArray(element) || !element.tag) {
17826
+ if (slotContent.length > 1) {
17659
17827
  Object(_util_console__WEBPACK_IMPORTED_MODULE_3__["consoleWarn"])('v-hover should only contain a single element', this);
17660
- return element;
17661
17828
  }
17662
17829
 
17663
17830
  if (!this.disabled) {
17664
- element.data = element.data || {};
17665
-
17666
- this._g(element.data, {
17667
- mouseenter: this.onMouseEnter,
17668
- mouseleave: this.onMouseLeave
17831
+ element.props = Object(vue__WEBPACK_IMPORTED_MODULE_4__["mergeProps"])(element.props || {}, {
17832
+ onMouseenter: this.onMouseEnter,
17833
+ onMouseleave: this.onMouseLeave
17669
17834
  });
17670
17835
  }
17671
17836
 
@@ -17708,11 +17873,12 @@ __webpack_require__.r(__webpack_exports__);
17708
17873
  /*!***************************************!*\
17709
17874
  !*** ./src/components/VIcon/VIcon.ts ***!
17710
17875
  \***************************************/
17711
- /*! exports provided: default */
17876
+ /*! exports provided: VIconInternal, default */
17712
17877
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
17713
17878
 
17714
17879
  "use strict";
17715
17880
  __webpack_require__.r(__webpack_exports__);
17881
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VIconInternal", function() { return VIconInternal; });
17716
17882
  /* harmony import */ var _VIcon_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VIcon.sass */ "./src/components/VIcon/VIcon.sass");
17717
17883
  /* harmony import */ var _VIcon_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_VIcon_sass__WEBPACK_IMPORTED_MODULE_0__);
17718
17884
  /* harmony import */ var _mixins_binds_attrs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../mixins/binds-attrs */ "./src/mixins/binds-attrs/index.ts");
@@ -17772,7 +17938,13 @@ function isSvgPath(icon) {
17772
17938
  return /^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(icon) && /[\dz]$/i.test(icon) && icon.length > 4;
17773
17939
  }
17774
17940
 
17775
- var VIcon = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins_binds_attrs__WEBPACK_IMPORTED_MODULE_1__["default"], _mixins_colorable__WEBPACK_IMPORTED_MODULE_2__["default"], _mixins_sizeable__WEBPACK_IMPORTED_MODULE_3__["default"], _mixins_themeable__WEBPACK_IMPORTED_MODULE_4__["default"]
17941
+ function classesToString(classObj) {
17942
+ return Object.keys(classObj).filter(function (key) {
17943
+ return classObj[key];
17944
+ }).join(' ');
17945
+ }
17946
+
17947
+ var VIconInternal = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins_binds_attrs__WEBPACK_IMPORTED_MODULE_1__["default"], _mixins_colorable__WEBPACK_IMPORTED_MODULE_2__["default"], _mixins_sizeable__WEBPACK_IMPORTED_MODULE_3__["default"], _mixins_themeable__WEBPACK_IMPORTED_MODULE_4__["default"]
17776
17948
  /* @vue/component */
17777
17949
  ).extend({
17778
17950
  name: 'v-icon',
@@ -17801,8 +17973,15 @@ var VIcon = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins
17801
17973
  var iconName = '';
17802
17974
 
17803
17975
  if (this.$slots.default) {
17804
- var children = this.$slots.default()[0].children;
17805
- if (typeof children === 'string') iconName = this.$slots.default()[0].children.trim();
17976
+ var slotChildren = this.$slots.default();
17977
+
17978
+ if (slotChildren && slotChildren[0]) {
17979
+ var children = slotChildren[0].children;
17980
+
17981
+ if (typeof children === 'string') {
17982
+ iconName = children.trim();
17983
+ }
17984
+ }
17806
17985
  }
17807
17986
 
17808
17987
  return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["remapInternalIcon"])(this, iconName);
@@ -17842,27 +18021,37 @@ var VIcon = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins
17842
18021
 
17843
18022
  return data;
17844
18023
  },
18024
+ applyColors: function applyColors(data) {
18025
+ this.setTextColor(this.color, data);
18026
+ },
17845
18027
  getSvgWrapperData: function getSvgWrapperData() {
17846
18028
  var fontSize = this.getSize();
18029
+ var defaultData = this.getDefaultData();
18030
+ var normalizedClasses = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["normalizeClasses"])([defaultData.class, this.themeClasses]);
17847
18031
 
17848
- var wrapperData = __assign(__assign({}, this.getDefaultData()), {
18032
+ var wrapperData = __assign({
18033
+ class: classesToString(normalizedClasses),
18034
+ 'aria-hidden': defaultData['aria-hidden'],
18035
+ type: defaultData.type,
17849
18036
  style: fontSize ? {
17850
18037
  fontSize: fontSize,
17851
18038
  height: fontSize,
17852
18039
  width: fontSize
17853
18040
  } : undefined
17854
- });
18041
+ }, this.listeners$);
18042
+
18043
+ if (this.hasClickListener && this.disabled) {
18044
+ wrapperData.disabled = true;
18045
+ }
17855
18046
 
17856
18047
  this.applyColors(wrapperData);
17857
18048
  return wrapperData;
17858
18049
  },
17859
- applyColors: function applyColors(data) {
17860
- data.class = __assign(__assign({}, data.class), this.themeClasses);
17861
- this.setTextColor(this.color, data);
17862
- },
17863
18050
  renderFontIcon: function renderFontIcon(icon) {
18051
+ var _a;
18052
+
17864
18053
  var newChildren = [];
17865
- var data = this.getDefaultData();
18054
+ var defaultData = this.getDefaultData();
17866
18055
  var iconType = 'material-icons'; // Material Icon delimiter is _
17867
18056
  // https://material.io/icons/
17868
18057
 
@@ -17875,77 +18064,79 @@ var VIcon = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins
17875
18064
  } else {
17876
18065
  iconType = icon.slice(0, delimiterIndex);
17877
18066
  if (isFontAwesome5(iconType)) iconType = '';
17878
- }
18067
+ } // Создаем объект классов для иконки
17879
18068
 
17880
- if (typeof data.class === 'string') {
17881
- data.class = data.class.split(' ').reduce(function (classes, className) {
17882
- classes[className] = true;
17883
- return classes;
17884
- }, {});
18069
+
18070
+ var iconClasses = (_a = {}, _a[iconType] = true, _a);
18071
+
18072
+ if (!isMaterialIcon) {
18073
+ iconClasses[icon] = true;
17885
18074
  }
17886
18075
 
17887
- data.class[iconType] = true;
17888
- data.class[icon] = !isMaterialIcon;
18076
+ var allClasses = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["normalizeClasses"])([defaultData.class, this.themeClasses, iconClasses]);
17889
18077
  var fontSize = this.getSize();
17890
- if (fontSize) data.style = {
17891
- fontSize: fontSize
17892
- };
17893
- this.applyColors(data);
17894
- return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(this.hasClickListener ? 'button' : this.tag, Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["normalizeAttrs"])(data), {
18078
+
18079
+ var fontData = __assign({
18080
+ class: classesToString(allClasses),
18081
+ 'aria-hidden': defaultData['aria-hidden'],
18082
+ type: defaultData.type,
18083
+ style: fontSize ? {
18084
+ fontSize: fontSize
18085
+ } : undefined
18086
+ }, this.listeners$);
18087
+
18088
+ if (this.hasClickListener && this.disabled) {
18089
+ fontData.disabled = true;
18090
+ }
18091
+
18092
+ this.applyColors(fontData);
18093
+ return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(this.hasClickListener ? 'button' : this.tag, fontData, {
17895
18094
  default: function _default() {
17896
18095
  return newChildren;
17897
18096
  }
17898
18097
  });
17899
18098
  },
17900
18099
  renderSvgIcon: function renderSvgIcon(icon) {
17901
- var svgData = {
18100
+ var size = this.getSize();
18101
+ var svgProps = {
17902
18102
  class: 'v-icon__svg',
17903
- attrs: {
17904
- xmlns: 'http://www.w3.org/2000/svg',
17905
- viewBox: '0 0 24 24',
17906
- role: 'img',
17907
- 'aria-hidden': true
17908
- }
18103
+ xmlns: 'http://www.w3.org/2000/svg',
18104
+ viewBox: '0 0 24 24',
18105
+ role: 'img',
18106
+ 'aria-hidden': true
17909
18107
  };
17910
- var size = this.getSize();
17911
18108
 
17912
18109
  if (size) {
17913
- svgData.style = {
18110
+ svgProps.style = {
17914
18111
  fontSize: size,
17915
18112
  height: size,
17916
18113
  width: size
17917
18114
  };
17918
18115
  }
17919
18116
 
17920
- return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(this.hasClickListener ? 'button' : 'span', this.getSvgWrapperData(), [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('svg', svgData, [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('path', {
17921
- attrs: {
17922
- d: icon
17923
- }
18117
+ return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(this.hasClickListener ? 'button' : 'span', this.getSvgWrapperData(), [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('svg', svgProps, [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('path', {
18118
+ d: icon
17924
18119
  })])]);
17925
18120
  },
17926
18121
  renderSvgIconComponent: function renderSvgIconComponent(icon) {
17927
- var data = {
17928
- class: {
17929
- 'v-icon__component': true
17930
- }
17931
- };
17932
18122
  var size = this.getSize();
18123
+ var componentClasses = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["normalizeClasses"])([{
18124
+ 'v-icon__component': true
18125
+ }, this.themeClasses]);
17933
18126
 
17934
- if (size) {
17935
- data.style = {
18127
+ var componentData = __assign({
18128
+ class: classesToString(componentClasses),
18129
+ style: size ? {
17936
18130
  fontSize: size,
17937
18131
  height: size,
17938
18132
  width: size
17939
- };
17940
- }
18133
+ } : undefined
18134
+ }, icon.props);
17941
18135
 
17942
- this.applyColors(data);
17943
- var component = icon.component;
17944
- data.props = icon.props;
17945
- data.nativeOn = data.on;
18136
+ this.applyColors(componentData);
17946
18137
  return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(this.hasClickListener ? 'button' : 'span', this.getSvgWrapperData(), {
17947
18138
  default: function _default() {
17948
- return [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(component, data)];
18139
+ return [Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(icon.component, componentData)];
17949
18140
  }
17950
18141
  });
17951
18142
  }
@@ -17966,7 +18157,7 @@ var VIcon = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins
17966
18157
  });
17967
18158
  /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_6__["defineComponent"])({
17968
18159
  name: 'v-icon',
17969
- $_wrapperFor: VIcon,
18160
+ $_wrapperFor: VIconInternal,
17970
18161
  functional: true,
17971
18162
  mounted: function mounted() {
17972
18163
  this.$el.innerHTML = '';
@@ -17977,7 +18168,7 @@ var VIcon = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_mixins
17977
18168
  var data = __assign({}, this.$attrs); // console.log(children && children[0]?.children)
17978
18169
 
17979
18170
 
17980
- return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(VIcon, data, {
18171
+ return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(VIconInternal, data, {
17981
18172
  default: function _default() {
17982
18173
  var _a, _b, _c, _d;
17983
18174
 
@@ -18954,6 +19145,10 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])
18954
19145
  type: String,
18955
19146
  default: 'v-item--active'
18956
19147
  },
19148
+ allowDeselect: {
19149
+ type: Boolean,
19150
+ default: true
19151
+ },
18957
19152
  mandatory: Boolean,
18958
19153
  max: {
18959
19154
  type: [Number, String],
@@ -19145,6 +19340,7 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])
19145
19340
  updateSingle: function updateSingle(value) {
19146
19341
  var isSame = this.valueComparator(this.internalValue, value);
19147
19342
  if (this.mandatory && isSame) return;
19343
+ if (!this.allowDeselect && isSame) return;
19148
19344
  this.internalValue = isSame ? undefined : value;
19149
19345
  }
19150
19346
  },
@@ -19275,6 +19471,8 @@ var __assign = undefined && undefined.__assign || function () {
19275
19471
  value: Boolean
19276
19472
  },
19277
19473
  render: function render() {
19474
+ var _a, _b;
19475
+
19278
19476
  var data = this.$attrs;
19279
19477
  var props = this.$props;
19280
19478
  var newData = Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_6__["default"])({
@@ -19292,7 +19490,7 @@ var __assign = undefined && undefined.__assign || function () {
19292
19490
  },
19293
19491
  ref: 'label'
19294
19492
  }, data);
19295
- return Object(vue__WEBPACK_IMPORTED_MODULE_3__["h"])('label', _mixins_colorable__WEBPACK_IMPORTED_MODULE_1__["default"].methods.setTextColor(props.focused && props.color, newData), this.$slots.default());
19493
+ return Object(vue__WEBPACK_IMPORTED_MODULE_3__["h"])('label', _mixins_colorable__WEBPACK_IMPORTED_MODULE_1__["default"].methods.setTextColor(props.focused && props.color, newData), (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a));
19296
19494
  }
19297
19495
  }));
19298
19496
 
@@ -21847,14 +22045,20 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21847
22045
  type: String,
21848
22046
  default: 'text'
21849
22047
  },
21850
- plain: Boolean
22048
+ plain: Boolean,
22049
+ modelValue: {
22050
+ type: String,
22051
+ default: ''
22052
+ }
21851
22053
  },
21852
- emits: ['blur', 'focus', 'change', 'keydown', 'finish'],
22054
+ emits: ['blur', 'focus', 'change', 'keydown', 'finish', 'update:modelValue'],
21853
22055
  data: function data() {
21854
22056
  return {
21855
22057
  initialValue: null,
21856
22058
  isBooted: false,
21857
- otp: []
22059
+ otp: [],
22060
+ lazyValue: '',
22061
+ inputRefs: []
21858
22062
  };
21859
22063
  },
21860
22064
  computed: {
@@ -21882,9 +22086,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21882
22086
  filled: function filled() {
21883
22087
  return false;
21884
22088
  },
21885
- isEnclosed: function isEnclosed() {
21886
- return this.outlined;
21887
- },
21888
22089
  reverse: function reverse() {
21889
22090
  return false;
21890
22091
  },
@@ -21897,10 +22098,22 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21897
22098
  shaped: function shaped() {
21898
22099
  return false;
21899
22100
  },
22101
+ internalValue: {
22102
+ get: function get() {
22103
+ return this.lazyValue;
22104
+ },
22105
+ set: function set(val) {
22106
+ this.lazyValue = val;
22107
+ this.$emit('update:modelValue', val);
22108
+ }
22109
+ },
21900
22110
  classes: function classes() {
21901
22111
  return __assign(__assign(__assign({}, _VInput__WEBPACK_IMPORTED_MODULE_3__["default"].computed.classes.call(this)), _VTextField_VTextField__WEBPACK_IMPORTED_MODULE_4__["default"].computed.classes.call(this)), {
21902
22112
  'v-otp-input--plain': this.plain
21903
22113
  });
22114
+ },
22115
+ isEnclosed: function isEnclosed() {
22116
+ return false;
21904
22117
  }
21905
22118
  },
21906
22119
  watch: {
@@ -21919,7 +22132,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21919
22132
  Object(_util_console__WEBPACK_IMPORTED_MODULE_6__["breaking"])('browser-autocomplete', 'autocomplete', this);
21920
22133
  }
21921
22134
 
21922
- this.otp = ((_a = this.internalValue) === null || _a === void 0 ? void 0 : _a.split('')) || [];
22135
+ this.lazyValue = this.modelValue;
22136
+ this.otp = ((_a = this.modelValue) === null || _a === void 0 ? void 0 : _a.split('')) || [];
21923
22137
  },
21924
22138
  mounted: function mounted() {
21925
22139
  var _this = this;
@@ -21973,16 +22187,12 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21973
22187
  },
21974
22188
  genFieldset: function genFieldset() {
21975
22189
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('fieldset', {
21976
- attrs: {
21977
- 'aria-hidden': true
21978
- }
22190
+ 'aria-hidden': 'true'
21979
22191
  }, [this.genLegend()]);
21980
22192
  },
21981
22193
  genLegend: function genLegend() {
21982
22194
  var span = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('span', {
21983
- domProps: {
21984
- innerHTML: '&#8203;'
21985
- }
22195
+ innerHTML: '&#8203;'
21986
22196
  });
21987
22197
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('legend', {
21988
22198
  style: {
@@ -21993,14 +22203,13 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21993
22203
  genInput: function genInput(otpIdx) {
21994
22204
  var _this = this;
21995
22205
 
21996
- var listeners = Object.assign({}, this.listeners$);
21997
- delete listeners.change; // Change should not be bound externally
22206
+ var listeners = Object.assign({}, this.$attrs);
22207
+ delete listeners.onChange; // Change should not be bound externally
21998
22208
 
21999
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('input', __assign(__assign(__assign(__assign({
22209
+ var inputProps = __assign(__assign(__assign(__assign({
22000
22210
  style: {},
22001
- value: this.otp[otpIdx],
22002
- min: this.type === 'number' ? 0 : null
22003
- }, this.attrs$), {
22211
+ value: this.otp[otpIdx]
22212
+ }, this.$attrs), {
22004
22213
  autocomplete: 'one-time-code',
22005
22214
  disabled: this.isDisabled,
22006
22215
  readonly: this.isReadonly,
@@ -22020,9 +22229,18 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
22020
22229
  return _this.onKeyUp(e, otpIdx);
22021
22230
  }
22022
22231
  })), {
22023
- ref: 'input',
22024
- refInFor: true
22025
- }));
22232
+ ref: function ref(el) {
22233
+ if (el) {
22234
+ _this.inputRefs[otpIdx] = el;
22235
+ }
22236
+ }
22237
+ });
22238
+
22239
+ if (this.type === 'number') {
22240
+ inputProps.min = 0;
22241
+ }
22242
+
22243
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('input', inputProps);
22026
22244
  },
22027
22245
  genTextFieldSlot: function genTextFieldSlot(otpIdx) {
22028
22246
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
@@ -22038,18 +22256,18 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
22038
22256
  });
22039
22257
  },
22040
22258
  onClick: function onClick(otpIdx) {
22041
- if (this.isFocused || this.isDisabled || !this.$refs.input[otpIdx]) return;
22259
+ if (this.isFocused || this.isDisabled || !this.inputRefs[otpIdx]) return;
22042
22260
  this.onFocus(undefined, otpIdx);
22043
22261
  },
22044
22262
  onFocus: function onFocus(e, otpIdx) {
22045
22263
  e === null || e === void 0 ? void 0 : e.preventDefault();
22046
22264
  e === null || e === void 0 ? void 0 : e.stopPropagation();
22047
- var elements = this.$refs.input;
22048
- var ref = this.$refs.input && elements[otpIdx || 0];
22265
+ var ref = this.inputRefs[otpIdx || 0];
22049
22266
  if (!ref) return;
22050
22267
 
22051
22268
  if (document.activeElement !== ref) {
22052
22269
  ref.focus();
22270
+ this.isFocused = true;
22053
22271
  return ref.select();
22054
22272
  }
22055
22273
 
@@ -22088,19 +22306,20 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
22088
22306
  }
22089
22307
  },
22090
22308
  clearFocus: function clearFocus(index) {
22091
- var input = this.$refs.input[index];
22092
- input.blur();
22309
+ var input = this.inputRefs[index];
22310
+ input === null || input === void 0 ? void 0 : input.blur();
22093
22311
  },
22094
22312
  onKeyDown: function onKeyDown(e) {
22095
- if (e.keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_5__["keyCodes"].enter) {
22313
+ if (e.key === 'Enter') {
22096
22314
  this.$emit('change', this.internalValue);
22097
22315
  }
22098
22316
 
22099
22317
  this.$emit('keydown', e);
22100
22318
  },
22101
22319
  onMouseDown: function onMouseDown(e, otpIdx) {
22102
- // Prevent input from being blurred
22103
- if (e.target !== this.$refs.input[otpIdx]) {
22320
+ var inputRef = this.inputRefs[otpIdx]; // Prevent input from being blurred
22321
+
22322
+ if (e.target !== inputRef) {
22104
22323
  e.preventDefault();
22105
22324
  e.stopPropagation();
22106
22325
  }
@@ -22119,9 +22338,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
22119
22338
  this.hasColor = val;
22120
22339
 
22121
22340
  if (val) {
22122
- this.initialValue = this.lazyValue;
22123
- } else if (this.initialValue !== this.lazyValue) {
22124
- this.$emit('change', this.lazyValue);
22341
+ this.initialValue = this.internalValue;
22342
+ } else if (this.initialValue !== this.internalValue) {
22343
+ this.$emit('change', this.internalValue);
22125
22344
  }
22126
22345
  },
22127
22346
  onKeyUp: function onKeyUp(event, index) {
@@ -22274,10 +22493,15 @@ var __assign = undefined && undefined.__assign || function () {
22274
22493
  return this.segmented ? this.genSegmentedBtn(item) : _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].methods.genCommaSelection.call(this, item, index, last);
22275
22494
  },
22276
22495
  genInput: function genInput() {
22277
- var input = _VTextField_VTextField__WEBPACK_IMPORTED_MODULE_3__["default"].methods.genInput.call(this);
22278
- input.data = input.data || {};
22279
- input.data.domProps.value = this.editable ? this.internalSearch : '';
22280
- input.data.attrs.readonly = !this.isAnyValueAllowed;
22496
+ var input = _VTextField_VTextField__WEBPACK_IMPORTED_MODULE_3__["default"].methods.genInput.call(this); // Ensure data object exists
22497
+
22498
+ if (!input.props) {
22499
+ input.props = {};
22500
+ } // Set value and readonly properties
22501
+
22502
+
22503
+ input.props.value = this.editable ? this.internalSearch : '';
22504
+ input.props.readonly = !this.isAnyValueAllowed;
22281
22505
  return input;
22282
22506
  },
22283
22507
  genLabel: function genLabel() {
@@ -22302,15 +22526,11 @@ var __assign = undefined && undefined.__assign || function () {
22302
22526
  return null;
22303
22527
  }
22304
22528
 
22305
- return h(_VBtn__WEBPACK_IMPORTED_MODULE_4__["default"], {
22306
- props: {
22307
- text: true
22308
- },
22309
- on: {
22310
- click: function click(e) {
22311
- e.stopPropagation();
22312
- itemObj.callback(e);
22313
- }
22529
+ return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])(_VBtn__WEBPACK_IMPORTED_MODULE_4__["default"], {
22530
+ text: true,
22531
+ onClick: function onClick(e) {
22532
+ e.stopPropagation();
22533
+ itemObj.callback(e);
22314
22534
  }
22315
22535
  }, function () {
22316
22536
  return [itemObj.text];
@@ -23402,7 +23622,6 @@ __webpack_require__.r(__webpack_exports__);
23402
23622
  /* harmony import */ var _mixins_themeable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../mixins/themeable */ "./src/mixins/themeable/index.ts");
23403
23623
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
23404
23624
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
23405
- /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
23406
23625
  var __assign = undefined && undefined.__assign || function () {
23407
23626
  __assign = Object.assign || function (t) {
23408
23627
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -23419,33 +23638,6 @@ var __assign = undefined && undefined.__assign || function () {
23419
23638
  return __assign.apply(this, arguments);
23420
23639
  };
23421
23640
 
23422
- var __read = undefined && undefined.__read || function (o, n) {
23423
- var m = typeof Symbol === "function" && o[Symbol.iterator];
23424
- if (!m) return o;
23425
- var i = m.call(o),
23426
- r,
23427
- ar = [],
23428
- e;
23429
-
23430
- try {
23431
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
23432
- ar.push(r.value);
23433
- }
23434
- } catch (error) {
23435
- e = {
23436
- error: error
23437
- };
23438
- } finally {
23439
- try {
23440
- if (r && !r.done && (m = i["return"])) m.call(i);
23441
- } finally {
23442
- if (e) throw e.error;
23443
- }
23444
- }
23445
-
23446
- return ar;
23447
- };
23448
-
23449
23641
 
23450
23642
  // Components
23451
23643
 
@@ -23460,7 +23652,6 @@ var __read = undefined && undefined.__read || function (o, n) {
23460
23652
 
23461
23653
 
23462
23654
 
23463
-
23464
23655
  var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_mixins_positionable__WEBPACK_IMPORTED_MODULE_5__["factory"])(['absolute', 'fixed', 'top', 'bottom']), Object(_mixins_proxyable__WEBPACK_IMPORTED_MODULE_6__["factory"])('modelValue', 'update:modelValue'), _mixins_themeable__WEBPACK_IMPORTED_MODULE_7__["default"]);
23465
23656
  /* @vue/component */
23466
23657
 
@@ -23505,9 +23696,12 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
23505
23696
  value: {
23506
23697
  type: [Number, String],
23507
23698
  default: 0
23508
- }
23699
+ },
23700
+ // События как пропсы для определения реактивности
23701
+ onChange: Function,
23702
+ onUpdateModelValue: Function
23509
23703
  },
23510
- emits: ['update:modelValue', 'click'],
23704
+ emits: ['update:modelValue', 'change', 'click'],
23511
23705
  data: function data() {
23512
23706
  return {
23513
23707
  internalLazyValue: this.modelValue || this.value || 0,
@@ -23596,7 +23790,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
23596
23790
  return this.normalize(this.internalLazyValue);
23597
23791
  },
23598
23792
  reactive: function reactive() {
23599
- return Boolean(this.$listeners.onChange) || Boolean(this.$listeners['onUpdate:modelValue']);
23793
+ return Boolean(this.onChange) || Boolean(this.onUpdateModelValue) || Boolean(this.$attrs.onChange) || Boolean(this.$attrs['onUpdate:modelValue']);
23600
23794
  },
23601
23795
  styles: function styles() {
23602
23796
  var styles = {};
@@ -23612,20 +23806,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
23612
23806
  return styles;
23613
23807
  }
23614
23808
  },
23615
- created: function created() {
23616
- var _this = this;
23617
-
23618
- var breakingProps = [['value', 'modelValue'], ['onChange', 'onUpdate:modelValue']];
23619
- /* istanbul ignore next */
23620
-
23621
- breakingProps.forEach(function (_a) {
23622
- var _b = __read(_a, 2),
23623
- original = _b[0],
23624
- replacement = _b[1];
23625
-
23626
- if (_this.$attrs.hasOwnProperty(original)) Object(_util_console__WEBPACK_IMPORTED_MODULE_10__["breaking"])(original, replacement, _this);
23627
- });
23628
- },
23629
23809
  watch: {
23630
23810
  modelValue: function modelValue(val) {
23631
23811
  this.internalLazyValue = val;
@@ -23649,7 +23829,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
23649
23829
  });
23650
23830
  },
23651
23831
  genListeners: function genListeners() {
23652
- var listeners = this.$listeners;
23832
+ var listeners = this.$listeners || {};
23653
23833
 
23654
23834
  if (this.reactive) {
23655
23835
  listeners.onClick = this.onClick;
@@ -23667,7 +23847,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
23667
23847
  onClick: function onClick(e) {
23668
23848
  if (!this.reactive) return;
23669
23849
  var width = this.$el.getBoundingClientRect().width;
23670
- this.internalValue = e.offsetX / width * 100;
23850
+ var newValue = e.offsetX / width * 100;
23851
+ this.internalLazyValue = newValue;
23852
+ this.$emit('update:modelValue', newValue);
23853
+ this.$emit('change', newValue);
23854
+ this.$emit('click', e);
23671
23855
  },
23672
23856
  onObserve: function onObserve(entries, observer, isIntersecting) {
23673
23857
  this.isVisible = isIntersecting;
@@ -25086,6 +25270,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(_
25086
25270
 
25087
25271
  /* harmony default export */ __webpack_exports__["default"] = (baseMixins.extend({
25088
25272
  name: 'v-select',
25273
+ $_emitChangeEvent: true,
25274
+ $_modelEvent: 'update:modelValue',
25089
25275
  props: {
25090
25276
  appendIcon: {
25091
25277
  type: String,
@@ -25137,7 +25323,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(_
25137
25323
  returnObject: Boolean,
25138
25324
  smallChips: Boolean
25139
25325
  },
25140
- emits: ['update:modelValue', 'change', 'focus', 'blur', 'keydown', 'click', 'update:list-index'],
25326
+ emits: ['update:modelValue', 'change', 'focus', 'blur', 'keydown', 'click', 'update:list-index', 'click:clear'],
25141
25327
  data: function data() {
25142
25328
  return {
25143
25329
  cachedItems: this.cacheItems ? this.items : [],
@@ -25381,6 +25567,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(_
25381
25567
  return _this.$refs.input && _this.$refs.input.focus();
25382
25568
  });
25383
25569
  if (this.openOnClear) this.isMenuActive = true;
25570
+ this.$emit('click:clear');
25384
25571
  },
25385
25572
  closeConditional: function closeConditional(e) {
25386
25573
  if (!this.isMenuActive) return true;
@@ -28944,7 +29131,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_V
28944
29131
  content: [],
28945
29132
  isReverse: false
28946
29133
  };
28947
- data.internalLazyValue = this.value != null ? this.value : (data[0] || {}).step || 1;
29134
+ data.internalLazyValue = this.modelValue != null ? this.modelValue : (data[0] || {}).step || 1;
28948
29135
  return data;
28949
29136
  },
28950
29137
  computed: {
@@ -29168,14 +29355,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(Ob
29168
29355
  };
29169
29356
 
29170
29357
  if (!this.isVertical) {
29171
- contentData.directives = [{
29172
- name: 'show',
29173
- value: this.isActive
29174
- }];
29358
+ contentData.directives = [[vue__WEBPACK_IMPORTED_MODULE_0__["vShow"], this.isActive]];
29175
29359
  }
29176
29360
 
29177
29361
  var wrapper = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', wrapperData, Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["getSlot"])(this));
29178
- var content = Object(vue__WEBPACK_IMPORTED_MODULE_0__["withDirectives"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', contentData, [wrapper]), this.isVertical ? [] : [[vue__WEBPACK_IMPORTED_MODULE_0__["vShow"], this.isActive]]);
29362
+ var content = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', contentData, [wrapper]);
29179
29363
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(this.computedTransition, __assign({}, this.$listeners), function () {
29180
29364
  return [content];
29181
29365
  });
@@ -29556,7 +29740,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
29556
29740
  default: false
29557
29741
  }
29558
29742
  },
29559
- emits: ['click', 'focus', 'blur'],
29743
+ emits: ['click', 'focus', 'blur', 'update:modelValue', 'change'],
29560
29744
  computed: {
29561
29745
  classes: function classes() {
29562
29746
  return __assign(__assign({}, _VInput__WEBPACK_IMPORTED_MODULE_3__["default"].computed.classes.call(this)), {
@@ -30044,6 +30228,10 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
30044
30228
  default: ''
30045
30229
  },
30046
30230
  alignWithTitle: Boolean,
30231
+ allowDeselect: {
30232
+ type: Boolean,
30233
+ default: false
30234
+ },
30047
30235
  backgroundColor: String,
30048
30236
  centerActive: Boolean,
30049
30237
  centered: Boolean,
@@ -30210,6 +30398,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
30210
30398
  height: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["convertToUnit"])(this.height)
30211
30399
  },
30212
30400
  activeClass: this.activeClass,
30401
+ allowDeselect: this.allowDeselect,
30213
30402
  centerActive: this.centerActive,
30214
30403
  dark: this.dark,
30215
30404
  light: this.light,
@@ -30399,6 +30588,9 @@ var __values = undefined && undefined.__values || function (o) {
30399
30588
  tabsBar: this
30400
30589
  };
30401
30590
  },
30591
+ props: {
30592
+ allowDeselect: Boolean
30593
+ },
30402
30594
  computed: {
30403
30595
  classes: function classes() {
30404
30596
  return __assign(__assign(__assign({}, _VSlideGroup_VSlideGroup__WEBPACK_IMPORTED_MODULE_1__["BaseSlideGroup"].computed.classes.call(this)), {
@@ -30767,7 +30959,7 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
30767
30959
  default: 'text'
30768
30960
  }
30769
30961
  },
30770
- emits: ['update:modelValue', 'blur', 'focus', 'keydown'],
30962
+ emits: ['update:modelValue', 'blur', 'focus', 'keydown', 'click:clear'],
30771
30963
  data: function data() {
30772
30964
  return {
30773
30965
  badInput: false,
@@ -30935,6 +31127,7 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
30935
31127
  this.$nextTick(function () {
30936
31128
  return _this.internalValue = null;
30937
31129
  });
31130
+ this.$emit('click:clear');
30938
31131
  },
30939
31132
  genAppendSlot: function genAppendSlot() {
30940
31133
  var slot = [];
@@ -32824,8 +33017,7 @@ __webpack_require__.r(__webpack_exports__);
32824
33017
  /* harmony import */ var _mixins_dependent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../mixins/dependent */ "./src/mixins/dependent/index.ts");
32825
33018
  /* harmony import */ var _mixins_menuable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../mixins/menuable */ "./src/mixins/menuable/index.ts");
32826
33019
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
32827
- /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
32828
- /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
33020
+ /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
32829
33021
  var __assign = undefined && undefined.__assign || function () {
32830
33022
  __assign = Object.assign || function (t) {
32831
33023
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -32851,13 +33043,12 @@ var __assign = undefined && undefined.__assign || function () {
32851
33043
 
32852
33044
  // Helpers
32853
33045
 
32854
-
32855
33046
  // Types
32856
33047
 
32857
33048
 
32858
33049
  /* @vue/component */
32859
33050
 
32860
- /* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_3__["default"], _mixins_delayable__WEBPACK_IMPORTED_MODULE_4__["default"], _mixins_dependent__WEBPACK_IMPORTED_MODULE_5__["default"], _mixins_menuable__WEBPACK_IMPORTED_MODULE_6__["default"]).extend({
33051
+ /* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_8__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_3__["default"], _mixins_delayable__WEBPACK_IMPORTED_MODULE_4__["default"], _mixins_dependent__WEBPACK_IMPORTED_MODULE_5__["default"], _mixins_menuable__WEBPACK_IMPORTED_MODULE_6__["default"]).extend({
32861
33052
  name: 'v-tooltip',
32862
33053
  props: {
32863
33054
  closeDelay: {
@@ -32962,11 +33153,6 @@ var __assign = undefined && undefined.__assign || function () {
32962
33153
  _this.modelValue && _this.callActivate();
32963
33154
  });
32964
33155
  },
32965
- mounted: function mounted() {
32966
- if (Object(_util_helpers__WEBPACK_IMPORTED_MODULE_7__["getSlotType"])(this, 'activator', true) === 'v-slot') {
32967
- Object(_util_console__WEBPACK_IMPORTED_MODULE_8__["consoleError"])("v-tooltip's activator slot must be bound, try '<template #activator=\"data\"><v-btn v-on=\"data.on>'", this);
32968
- }
32969
- },
32970
33156
  methods: {
32971
33157
  activate: function activate() {
32972
33158
  // Update coordinates and dimensions of menu
@@ -36112,6 +36298,8 @@ __webpack_require__.r(__webpack_exports__);
36112
36298
  /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
36113
36299
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
36114
36300
  /* harmony import */ var _util_make_directive_activatable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/make-directive-activatable */ "./src/util/make-directive-activatable.ts");
36301
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "vue");
36302
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_4__);
36115
36303
  var __read = undefined && undefined.__read || function (o, n) {
36116
36304
  var m = typeof Symbol === "function" && o[Symbol.iterator];
36117
36305
  if (!m) return o;
@@ -36154,6 +36342,8 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
36154
36342
 
36155
36343
 
36156
36344
 
36345
+ // Types
36346
+
36157
36347
 
36158
36348
  var DELAY_RIPPLE = 80;
36159
36349
 
@@ -36460,11 +36650,11 @@ function directive(el, binding, node) {
36460
36650
 
36461
36651
  if (true) {
36462
36652
  // warn if an inline element is used, waiting for el to be in the DOM first
36463
- node.context && node.context.$nextTick(function () {
36653
+ Object(vue__WEBPACK_IMPORTED_MODULE_4__["nextTick"])(function () {
36464
36654
  var computed = window.getComputedStyle(el);
36465
36655
 
36466
36656
  if (computed && computed.display === 'inline') {
36467
- var context = node.fnOptions ? [node.fnOptions, node.context] : [node.componentInstance];
36657
+ var context = node.fnOptions ? [node.fnOptions] : [node.componentInstance];
36468
36658
  _util_console__WEBPACK_IMPORTED_MODULE_1__["consoleWarn"].apply(void 0, __spreadArray(['v-ripple can only be used on block-level elements'], __read(context), false));
36469
36659
  }
36470
36660
  });
@@ -36517,8 +36707,7 @@ function mounted(el, binding, vnode) {
36517
36707
  var target = self ? el : binding.arg ? document.querySelector(binding.arg) : window;
36518
36708
  if (!target) return;
36519
36709
  target.addEventListener('scroll', handler, options);
36520
- el._onScroll = Object(el._onScroll); // В Vue 3 используем vnode.ctx.uid вместо vnode.context._uid
36521
-
36710
+ el._onScroll = Object(el._onScroll);
36522
36711
  el._onScroll[vnode.ctx.uid] = {
36523
36712
  handler: handler,
36524
36713
  options: options,
@@ -36657,10 +36846,13 @@ function unmounted(el, binding, vnode) {
36657
36846
  var target = binding.value.parent ? el.parentElement : el;
36658
36847
  if (!target || !target._touchHandlers) return;
36659
36848
  var handlers = target._touchHandlers[vnode.ctx.uid];
36660
- Object(_util_helpers__WEBPACK_IMPORTED_MODULE_0__["keys"])(handlers).forEach(function (eventName) {
36661
- target.removeEventListener(eventName, handlers[eventName]);
36662
- });
36663
- delete target._touchHandlers[vnode.ctx.uid];
36849
+
36850
+ if (handlers) {
36851
+ Object(_util_helpers__WEBPACK_IMPORTED_MODULE_0__["keys"])(handlers).forEach(function (eventName) {
36852
+ target.removeEventListener(eventName, handlers[eventName]);
36853
+ });
36854
+ delete target._touchHandlers[vnode.ctx.uid];
36855
+ }
36664
36856
  }
36665
36857
 
36666
36858
  var Touch = {
@@ -36738,7 +36930,7 @@ function () {
36738
36930
 
36739
36931
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
36740
36932
  Vuetify.installed = false;
36741
- Vuetify.version = "2.7.2-alpha32";
36933
+ Vuetify.version = "2.7.2-alpha34";
36742
36934
  Vuetify.config = {
36743
36935
  silent: false
36744
36936
  };
@@ -40747,7 +40939,6 @@ __webpack_require__.r(__webpack_exports__);
40747
40939
  /* harmony import */ var _toggleable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../toggleable */ "./src/mixins/toggleable/index.ts");
40748
40940
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
40749
40941
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
40750
- /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
40751
40942
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
40752
40943
 
40753
40944
  var __assign = undefined && undefined.__assign || function () {
@@ -40789,7 +40980,6 @@ var __values = undefined && undefined.__values || function (o) {
40789
40980
 
40790
40981
 
40791
40982
 
40792
-
40793
40983
  var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_delayable__WEBPACK_IMPORTED_MODULE_0__["default"], _toggleable__WEBPACK_IMPORTED_MODULE_1__["default"]);
40794
40984
  /* @vue/component */
40795
40985
 
@@ -40826,12 +41016,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
40826
41016
  openOnHover: 'resetActivator'
40827
41017
  },
40828
41018
  mounted: function mounted() {
40829
- var slotType = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["getSlotType"])(this, 'activator', true);
40830
-
40831
- if (slotType && ['v-slot', 'normal'].includes(slotType)) {
40832
- Object(_util_console__WEBPACK_IMPORTED_MODULE_4__["consoleError"])("The activator slot must be bound, try '<template v-slot:activator=\"{ on }\"><v-btn v-on=\"on\">'", this);
40833
- }
40834
-
40835
41019
  this.addActivatorEvents();
40836
41020
  },
40837
41021
  beforeUnmount: function beforeUnmount() {
@@ -43950,13 +44134,15 @@ function prevent(e) {
43950
44134
  return label;
43951
44135
  },
43952
44136
  genInput: function genInput(type, attrs) {
43953
- return Object(vue__WEBPACK_IMPORTED_MODULE_4__["h"])('input', __assign(__assign({}, Object.assign({
44137
+ // Allow components to override aria-checked by providing it in attrs
44138
+ var defaultAttrs = {
43954
44139
  'aria-checked': this.isActive.toString(),
43955
44140
  disabled: this.isDisabled,
43956
44141
  id: this.computedId,
43957
44142
  role: type,
43958
44143
  type: type
43959
- }, attrs)), {
44144
+ };
44145
+ return Object(vue__WEBPACK_IMPORTED_MODULE_4__["h"])('input', __assign(__assign({}, Object.assign(defaultAttrs, attrs)), {
43960
44146
  value: this.value,
43961
44147
  checked: this.isActive,
43962
44148
  onBlur: this.onBlur,
@@ -45407,19 +45593,58 @@ function getContainer(container) {
45407
45593
  }
45408
45594
 
45409
45595
  function type(el) {
45410
- return el == null ? el : el.constructor.name;
45596
+ var _a;
45597
+
45598
+ if (el == null) return el; // Vue 3 component detection
45599
+
45600
+ if (isVue3Component(el)) return 'VueComponent';
45601
+ return ((_a = el.constructor) === null || _a === void 0 ? void 0 : _a.name) || 'Unknown';
45602
+ } // Helper function to detect Vue 3 component instances
45603
+
45604
+
45605
+ function isVue3Component(el) {
45606
+ // Check for Vue 3 component instance properties
45607
+ return !!(el && ( // Direct component instance with $el
45608
+ el.$el || // Component instance with appContext (Vue 3 runtime)
45609
+ el.appContext || // Component proxy with type property (from Vue Test Utils)
45610
+ el.type && (el.type.name || el.type.__name) || // Component with setupState (Composition API)
45611
+ el.setupState || // Component with ctx property (internal Vue 3)
45612
+ el.ctx && el.ctx.type));
45411
45613
  }
45412
45614
 
45413
45615
  function $(el) {
45414
45616
  if (typeof el === 'string') {
45415
45617
  return document.querySelector(el);
45416
- } else if (el && el._isVue) {
45417
- return el.$el;
45418
45618
  } else if (el instanceof HTMLElement) {
45419
45619
  return el;
45620
+ } else if (isVue3Component(el)) {
45621
+ return extractElementFromVue3Component(el);
45420
45622
  } else {
45421
45623
  return null;
45422
45624
  }
45625
+ } // Helper function to extract HTMLElement from Vue 3 component
45626
+
45627
+
45628
+ function extractElementFromVue3Component(component) {
45629
+ var _a, _b, _c;
45630
+
45631
+ if (component.$el instanceof HTMLElement) {
45632
+ return component.$el;
45633
+ }
45634
+
45635
+ if (component.element instanceof HTMLElement) {
45636
+ return component.element;
45637
+ }
45638
+
45639
+ if (((_b = (_a = component.ctx) === null || _a === void 0 ? void 0 : _a.vnode) === null || _b === void 0 ? void 0 : _b.el) instanceof HTMLElement) {
45640
+ return component.ctx.vnode.el;
45641
+ }
45642
+
45643
+ if (((_c = component.vnode) === null || _c === void 0 ? void 0 : _c.el) instanceof HTMLElement) {
45644
+ return component.vnode.el;
45645
+ }
45646
+
45647
+ return null;
45423
45648
  }
45424
45649
 
45425
45650
  /***/ }),
@@ -46189,7 +46414,7 @@ function (_super) {
46189
46414
  _this.disabled = false;
46190
46415
  _this.isDark = null;
46191
46416
  _this.unwatch = null;
46192
- _this.vueMeta = null;
46417
+ _this.metaManager = null;
46193
46418
  var _a = preset[Theme.property],
46194
46419
  dark = _a.dark,
46195
46420
  disable = _a.disable,
@@ -46216,11 +46441,8 @@ function (_super) {
46216
46441
 
46217
46442
  /* eslint-disable-next-line accessor-pairs */
46218
46443
  set: function set(val) {
46219
- if (this.vueMeta) {
46220
- if (this.isVueMeta23) {
46221
- this.applyVueMeta23();
46222
- }
46223
-
46444
+ if (this.metaManager) {
46445
+ this.applyVueMeta3(val);
46224
46446
  return;
46225
46447
  }
46226
46448
 
@@ -46258,21 +46480,19 @@ function (_super) {
46258
46480
 
46259
46481
 
46260
46482
  Theme.prototype.init = function (root, ssrContext) {
46261
- if (this.disabled) return;
46262
- /* istanbul ignore else */
46483
+ if (this.disabled) return; // Инициализируем vue-meta 3
46484
+
46485
+ this.initVueMeta3(root);
46263
46486
 
46264
- if (root.$meta) {
46265
- this.initVueMeta(root);
46266
- } else if (ssrContext) {
46487
+ if (ssrContext) {
46267
46488
  this.initSSR(ssrContext);
46489
+ } else {
46490
+ this.initTheme(root);
46268
46491
  }
46269
-
46270
- this.initTheme(root);
46271
46492
  }; // Allows for you to set target theme
46272
46493
 
46273
46494
 
46274
46495
  Theme.prototype.setTheme = function (theme, value) {
46275
- console.log('setTheme');
46276
46496
  this.themes[theme] = Object.assign(this.themes[theme], value);
46277
46497
  this.applyTheme();
46278
46498
  }; // Reset theme defaults
@@ -46322,54 +46542,17 @@ function (_super) {
46322
46542
  document.head.appendChild(this.styleEl);
46323
46543
  };
46324
46544
 
46325
- Theme.prototype.initVueMeta = function (root) {
46326
- var _this = this;
46327
-
46328
- console.log('init vue meta');
46329
- this.vueMeta = root.$meta();
46330
-
46331
- if (this.isVueMeta23) {
46332
- // vue-meta needs to apply after mounted()
46333
- root.$nextTick(function () {
46334
- _this.applyVueMeta23();
46335
- });
46336
- return;
46337
- }
46338
-
46339
- var metaKeyName = typeof this.vueMeta.getOptions === 'function' ? this.vueMeta.getOptions().keyName : 'metaInfo';
46340
- var metaInfo = root.$options[metaKeyName] || {};
46341
-
46342
- root.$options[metaKeyName] = function () {
46343
- metaInfo.style = metaInfo.style || [];
46344
- var vuetifyStylesheet = metaInfo.style.find(function (s) {
46345
- return s.id === 'vuetify-theme-stylesheet';
46346
- });
46347
-
46348
- if (!vuetifyStylesheet) {
46349
- metaInfo.style.push({
46350
- cssText: _this.generatedStyles,
46351
- type: 'text/css',
46352
- id: 'vuetify-theme-stylesheet',
46353
- nonce: (_this.options || {}).cspNonce
46354
- });
46355
- } else {
46356
- vuetifyStylesheet.cssText = _this.generatedStyles;
46357
- }
46358
-
46359
- return metaInfo;
46360
- };
46545
+ Theme.prototype.initVueMeta3 = function (root) {
46546
+ // Vue Meta 3 теперь работает через плагин, а не через отдельный manager
46547
+ // Стили будут добавляться напрямую через useMeta API в компонентах
46548
+ // или через обычный DOM API
46549
+ this.metaManager = null;
46361
46550
  };
46362
46551
 
46363
- Theme.prototype.applyVueMeta23 = function () {
46364
- var set = this.vueMeta.addApp('vuetify').set;
46365
- set({
46366
- style: [{
46367
- cssText: this.generatedStyles,
46368
- type: 'text/css',
46369
- id: 'vuetify-theme-stylesheet',
46370
- nonce: this.options.cspNonce
46371
- }]
46372
- });
46552
+ Theme.prototype.applyVueMeta3 = function (css) {
46553
+ // Vue Meta 3 больше не использует manager.addMeta API
46554
+ // Используем обычный DOM API для обновления стилей
46555
+ this.checkOrCreateStyleElement() && (this.styleEl.innerHTML = css);
46373
46556
  };
46374
46557
 
46375
46558
  Theme.prototype.initSSR = function (ssrContext) {
@@ -46443,15 +46626,6 @@ function (_super) {
46443
46626
  enumerable: false,
46444
46627
  configurable: true
46445
46628
  });
46446
- Object.defineProperty(Theme.prototype, "isVueMeta23", {
46447
- // Is using v2.3 of vue-meta
46448
- // https://github.com/nuxt/vue-meta/releases/tag/v2.3.0
46449
- get: function get() {
46450
- return typeof this.vueMeta.addApp === 'function';
46451
- },
46452
- enumerable: false,
46453
- configurable: true
46454
- });
46455
46629
  Theme.property = 'theme';
46456
46630
  return Theme;
46457
46631
  }(_service__WEBPACK_IMPORTED_MODULE_0__["Service"]);
@@ -48809,23 +48983,24 @@ function mergeListeners() {
48809
48983
  args[_i] = arguments[_i];
48810
48984
  }
48811
48985
 
48812
- if (!args[0]) return args[1];
48813
- if (!args[1]) return args[0];
48986
+ if (!args[0] && !args[1]) return undefined;
48814
48987
  var dest = {};
48815
48988
 
48816
48989
  for (var i = 2; i--;) {
48817
48990
  var arg = args[i];
48991
+ if (!arg) continue;
48818
48992
 
48819
48993
  for (var event in arg) {
48820
48994
  if (!arg[event]) continue;
48995
+ var vueEventName = event.startsWith('on') && event.length > 2 && event.charAt(2) === event.charAt(2).toUpperCase() ? event : "on" + (event.charAt(0).toUpperCase() + event.slice(1));
48821
48996
 
48822
- if (dest[event]) {
48997
+ if (dest[vueEventName]) {
48823
48998
  // Merge current listeners before (because we are iterating backwards).
48824
48999
  // Note that neither "target" or "source" must be altered.
48825
- dest[event] = [].concat(arg[event], dest[event]);
49000
+ dest[vueEventName] = [].concat(arg[event], dest[vueEventName]);
48826
49001
  } else {
48827
49002
  // Straight assign.
48828
- dest[event] = arg[event];
49003
+ dest[vueEventName] = arg[event];
48829
49004
  }
48830
49005
  }
48831
49006
  }
@@ -48845,6 +49020,8 @@ function mergeListeners() {
48845
49020
  "use strict";
48846
49021
  __webpack_require__.r(__webpack_exports__);
48847
49022
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return mixins; });
49023
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "vue");
49024
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
48848
49025
  var __assign = undefined && undefined.__assign || function () {
48849
49026
  __assign = Object.assign || function (t) {
48850
49027
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -48863,6 +49040,7 @@ var __assign = undefined && undefined.__assign || function () {
48863
49040
  /* eslint-disable max-len, import/export, no-use-before-define */
48864
49041
 
48865
49042
 
49043
+
48866
49044
  function mixins() {
48867
49045
  var args = [];
48868
49046
 
@@ -48872,9 +49050,9 @@ function mixins() {
48872
49050
 
48873
49051
  return {
48874
49052
  extend: function extend(options) {
48875
- return __assign({
49053
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])(__assign({
48876
49054
  mixins: args
48877
- }, options);
49055
+ }, options));
48878
49056
  }
48879
49057
  };
48880
49058
  }