vuetify 2.6.0-beta.0 → 2.6.3

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 (278) hide show
  1. package/dist/json/attributes.json +108 -60
  2. package/dist/json/tags.json +18 -6
  3. package/dist/json/web-types.json +250 -102
  4. package/dist/vuetify.css +92 -41
  5. package/dist/vuetify.css.map +1 -1
  6. package/dist/vuetify.js +411 -286
  7. package/dist/vuetify.js.map +1 -1
  8. package/dist/vuetify.min.css +2 -2
  9. package/dist/vuetify.min.js +2 -2
  10. package/es5/components/VAutocomplete/VAutocomplete.js +20 -2
  11. package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
  12. package/es5/components/VBanner/VBanner.js +3 -2
  13. package/es5/components/VBanner/VBanner.js.map +1 -1
  14. package/es5/components/VBottomNavigation/VBottomNavigation.js +10 -2
  15. package/es5/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
  16. package/es5/components/VBottomSheet/VBottomSheet.js +1 -4
  17. package/es5/components/VBottomSheet/VBottomSheet.js.map +1 -1
  18. package/es5/components/VCalendar/VCalendar.js.map +1 -1
  19. package/es5/components/VCalendar/VCalendarDaily.js +27 -21
  20. package/es5/components/VCalendar/VCalendarDaily.js.map +1 -1
  21. package/es5/components/VCalendar/VCalendarWeekly.js +14 -10
  22. package/es5/components/VCalendar/VCalendarWeekly.js.map +1 -1
  23. package/es5/components/VCalendar/mixins/calendar-with-events.js +23 -22
  24. package/es5/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
  25. package/es5/components/VCalendar/mixins/mouse.js +13 -4
  26. package/es5/components/VCalendar/mixins/mouse.js.map +1 -1
  27. package/es5/components/VCombobox/VCombobox.js +1 -6
  28. package/es5/components/VCombobox/VCombobox.js.map +1 -1
  29. package/es5/components/VData/VData.js +2 -8
  30. package/es5/components/VData/VData.js.map +1 -1
  31. package/es5/components/VDataTable/MobileRow.js +2 -2
  32. package/es5/components/VDataTable/MobileRow.js.map +1 -1
  33. package/es5/components/VDataTable/Row.js +2 -2
  34. package/es5/components/VDataTable/Row.js.map +1 -1
  35. package/es5/components/VDataTable/VDataTableHeaderDesktop.js +1 -1
  36. package/es5/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
  37. package/es5/components/VDialog/VDialog.js +11 -17
  38. package/es5/components/VDialog/VDialog.js.map +1 -1
  39. package/es5/components/VItemGroup/VItemGroup.js +8 -4
  40. package/es5/components/VItemGroup/VItemGroup.js.map +1 -1
  41. package/es5/components/VList/VListItem.js +8 -1
  42. package/es5/components/VList/VListItem.js.map +1 -1
  43. package/es5/components/VMenu/VMenu.js +4 -6
  44. package/es5/components/VMenu/VMenu.js.map +1 -1
  45. package/es5/components/VNavigationDrawer/VNavigationDrawer.js +8 -12
  46. package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  47. package/es5/components/VOtpInput/VOtpInput.js +16 -25
  48. package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
  49. package/es5/components/VOverlay/VOverlay.js +1 -0
  50. package/es5/components/VOverlay/VOverlay.js.map +1 -1
  51. package/es5/components/VRadioGroup/VRadioGroup.js +8 -3
  52. package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -1
  53. package/es5/components/VRangeSlider/VRangeSlider.js +4 -1
  54. package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
  55. package/es5/components/VSelect/VSelect.js +7 -2
  56. package/es5/components/VSelect/VSelect.js.map +1 -1
  57. package/es5/components/VSlideGroup/VSlideGroup.js +4 -3
  58. package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
  59. package/es5/components/VStepper/VStepperStep.js +12 -1
  60. package/es5/components/VStepper/VStepperStep.js.map +1 -1
  61. package/es5/components/VTabs/VTab.js +18 -6
  62. package/es5/components/VTabs/VTab.js.map +1 -1
  63. package/es5/components/VTextField/VTextField.js +6 -1
  64. package/es5/components/VTextField/VTextField.js.map +1 -1
  65. package/es5/components/VTooltip/VTooltip.js +14 -8
  66. package/es5/components/VTooltip/VTooltip.js.map +1 -1
  67. package/es5/components/VTreeview/VTreeviewNode.js +3 -1
  68. package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
  69. package/es5/components/transitions/createTransition.js +0 -20
  70. package/es5/components/transitions/createTransition.js.map +1 -1
  71. package/es5/directives/click-outside/index.js +21 -10
  72. package/es5/directives/click-outside/index.js.map +1 -1
  73. package/es5/directives/intersect/index.js +16 -12
  74. package/es5/directives/intersect/index.js.map +1 -1
  75. package/es5/directives/mutate/index.js +10 -8
  76. package/es5/directives/mutate/index.js.map +1 -1
  77. package/es5/directives/resize/index.js +11 -8
  78. package/es5/directives/resize/index.js.map +1 -1
  79. package/es5/directives/ripple/index.js +0 -7
  80. package/es5/directives/ripple/index.js.map +1 -1
  81. package/es5/directives/scroll/index.js +13 -10
  82. package/es5/directives/scroll/index.js.map +1 -1
  83. package/es5/framework.js +1 -1
  84. package/es5/locale/fr.js +1 -1
  85. package/es5/locale/fr.js.map +1 -1
  86. package/es5/locale/it.js +6 -6
  87. package/es5/locale/it.js.map +1 -1
  88. package/es5/mixins/activatable/index.js +6 -2
  89. package/es5/mixins/activatable/index.js.map +1 -1
  90. package/es5/mixins/detachable/index.js +32 -14
  91. package/es5/mixins/detachable/index.js.map +1 -1
  92. package/es5/mixins/intersectable/index.js +11 -2
  93. package/es5/mixins/intersectable/index.js.map +1 -1
  94. package/es5/mixins/menuable/index.js +11 -9
  95. package/es5/mixins/menuable/index.js.map +1 -1
  96. package/es5/mixins/overlayable/index.js +21 -11
  97. package/es5/mixins/overlayable/index.js.map +1 -1
  98. package/es5/mixins/routable/index.js +12 -9
  99. package/es5/mixins/routable/index.js.map +1 -1
  100. package/es5/services/application/index.js +1 -3
  101. package/es5/services/application/index.js.map +1 -1
  102. package/es5/util/helpers.js +5 -5
  103. package/es5/util/helpers.js.map +1 -1
  104. package/lib/components/VAutocomplete/VAutocomplete.js +18 -2
  105. package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
  106. package/lib/components/VBanner/VBanner.js +3 -2
  107. package/lib/components/VBanner/VBanner.js.map +1 -1
  108. package/lib/components/VBottomNavigation/VBottomNavigation.js +10 -2
  109. package/lib/components/VBottomNavigation/VBottomNavigation.js.map +1 -1
  110. package/lib/components/VBottomSheet/VBottomSheet.js +1 -4
  111. package/lib/components/VBottomSheet/VBottomSheet.js.map +1 -1
  112. package/lib/components/VCalendar/VCalendar.js.map +1 -1
  113. package/lib/components/VCalendar/VCalendarDaily.js +27 -15
  114. package/lib/components/VCalendar/VCalendarDaily.js.map +1 -1
  115. package/lib/components/VCalendar/VCalendarWeekly.js +10 -2
  116. package/lib/components/VCalendar/VCalendarWeekly.js.map +1 -1
  117. package/lib/components/VCalendar/mixins/calendar-with-events.js +10 -5
  118. package/lib/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
  119. package/lib/components/VCalendar/mixins/mouse.js +9 -4
  120. package/lib/components/VCalendar/mixins/mouse.js.map +1 -1
  121. package/lib/components/VCombobox/VCombobox.js +1 -6
  122. package/lib/components/VCombobox/VCombobox.js.map +1 -1
  123. package/lib/components/VData/VData.js +2 -4
  124. package/lib/components/VData/VData.js.map +1 -1
  125. package/lib/components/VDataTable/MobileRow.js +2 -2
  126. package/lib/components/VDataTable/MobileRow.js.map +1 -1
  127. package/lib/components/VDataTable/Row.js +2 -2
  128. package/lib/components/VDataTable/Row.js.map +1 -1
  129. package/lib/components/VDataTable/VDataTableHeaderDesktop.js +1 -1
  130. package/lib/components/VDataTable/VDataTableHeaderDesktop.js.map +1 -1
  131. package/lib/components/VDialog/VDialog.js +11 -16
  132. package/lib/components/VDialog/VDialog.js.map +1 -1
  133. package/lib/components/VItemGroup/VItemGroup.js +7 -5
  134. package/lib/components/VItemGroup/VItemGroup.js.map +1 -1
  135. package/lib/components/VList/VListItem.js +9 -1
  136. package/lib/components/VList/VListItem.js.map +1 -1
  137. package/lib/components/VMenu/VMenu.js +4 -6
  138. package/lib/components/VMenu/VMenu.js.map +1 -1
  139. package/lib/components/VNavigationDrawer/VNavigationDrawer.js +4 -8
  140. package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  141. package/lib/components/VOtpInput/VOtpInput.js +16 -25
  142. package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
  143. package/lib/components/VOverlay/VOverlay.js +1 -0
  144. package/lib/components/VOverlay/VOverlay.js.map +1 -1
  145. package/lib/components/VRadioGroup/VRadioGroup.js +11 -4
  146. package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -1
  147. package/lib/components/VRangeSlider/VRangeSlider.js +4 -1
  148. package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
  149. package/lib/components/VSelect/VSelect.js +7 -2
  150. package/lib/components/VSelect/VSelect.js.map +1 -1
  151. package/lib/components/VSlideGroup/VSlideGroup.js +5 -4
  152. package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
  153. package/lib/components/VStepper/VStepperStep.js +12 -1
  154. package/lib/components/VStepper/VStepperStep.js.map +1 -1
  155. package/lib/components/VTabs/VTab.js +19 -8
  156. package/lib/components/VTabs/VTab.js.map +1 -1
  157. package/lib/components/VTextField/VTextField.js +8 -1
  158. package/lib/components/VTextField/VTextField.js.map +1 -1
  159. package/lib/components/VTooltip/VTooltip.js +14 -8
  160. package/lib/components/VTooltip/VTooltip.js.map +1 -1
  161. package/lib/components/VTreeview/VTreeviewNode.js +3 -1
  162. package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
  163. package/lib/components/transitions/createTransition.js +0 -6
  164. package/lib/components/transitions/createTransition.js.map +1 -1
  165. package/lib/directives/click-outside/index.js +22 -10
  166. package/lib/directives/click-outside/index.js.map +1 -1
  167. package/lib/directives/intersect/index.js +16 -12
  168. package/lib/directives/intersect/index.js.map +1 -1
  169. package/lib/directives/mutate/index.js +10 -8
  170. package/lib/directives/mutate/index.js.map +1 -1
  171. package/lib/directives/resize/index.js +9 -6
  172. package/lib/directives/resize/index.js.map +1 -1
  173. package/lib/directives/ripple/index.js +0 -7
  174. package/lib/directives/ripple/index.js.map +1 -1
  175. package/lib/directives/scroll/index.js +9 -6
  176. package/lib/directives/scroll/index.js.map +1 -1
  177. package/lib/framework.js +1 -1
  178. package/lib/locale/fr.js +1 -1
  179. package/lib/locale/fr.js.map +1 -1
  180. package/lib/locale/it.js +6 -6
  181. package/lib/locale/it.js.map +1 -1
  182. package/lib/mixins/activatable/index.js +6 -2
  183. package/lib/mixins/activatable/index.js.map +1 -1
  184. package/lib/mixins/detachable/index.js +28 -13
  185. package/lib/mixins/detachable/index.js.map +1 -1
  186. package/lib/mixins/intersectable/index.js +9 -2
  187. package/lib/mixins/intersectable/index.js.map +1 -1
  188. package/lib/mixins/menuable/index.js +11 -9
  189. package/lib/mixins/menuable/index.js.map +1 -1
  190. package/lib/mixins/overlayable/index.js +21 -11
  191. package/lib/mixins/overlayable/index.js.map +1 -1
  192. package/lib/mixins/routable/index.js +16 -9
  193. package/lib/mixins/routable/index.js.map +1 -1
  194. package/lib/services/application/index.js +1 -3
  195. package/lib/services/application/index.js.map +1 -1
  196. package/lib/util/helpers.js +5 -5
  197. package/lib/util/helpers.js.map +1 -1
  198. package/package.json +2 -2
  199. package/src/components/VAutocomplete/VAutocomplete.ts +15 -2
  200. package/src/components/VBanner/VBanner.ts +16 -10
  201. package/src/components/VBottomNavigation/VBottomNavigation.ts +14 -2
  202. package/src/components/VBottomNavigation/__tests__/VBottomNavigation.spec.ts +9 -7
  203. package/src/components/VBottomSheet/VBottomSheet.ts +1 -4
  204. package/src/components/VCalendar/VCalendar.ts +1 -0
  205. package/src/components/VCalendar/VCalendarCategory.sass +10 -3
  206. package/src/components/VCalendar/VCalendarDaily.ts +14 -13
  207. package/src/components/VCalendar/VCalendarWeekly.ts +4 -2
  208. package/src/components/VCalendar/mixins/calendar-with-events.sass +7 -1
  209. package/src/components/VCalendar/mixins/calendar-with-events.ts +7 -6
  210. package/src/components/VCalendar/mixins/mouse.ts +10 -4
  211. package/src/components/VCombobox/VCombobox.ts +1 -6
  212. package/src/components/VCombobox/__tests__/VCombobox-multiple.spec.ts +113 -0
  213. package/src/components/VCombobox/__tests__/VCombobox.spec.ts +32 -2
  214. package/src/components/VData/VData.ts +2 -4
  215. package/src/components/VDataTable/MobileRow.ts +2 -2
  216. package/src/components/VDataTable/Row.ts +2 -2
  217. package/src/components/VDataTable/VDataTableHeaderDesktop.ts +1 -1
  218. package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +4 -4
  219. package/src/components/VDialog/VDialog.sass +1 -1
  220. package/src/components/VDialog/VDialog.ts +10 -14
  221. package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +14 -32
  222. package/src/components/VImg/__tests__/VImg.spec.ts +1 -1
  223. package/src/components/VItemGroup/VItemGroup.ts +5 -3
  224. package/src/components/VItemGroup/__tests__/VItemGroup.spec.ts +19 -2
  225. package/src/components/VList/VListItem.sass +2 -1
  226. package/src/components/VList/VListItem.ts +7 -1
  227. package/src/components/VList/__tests__/VListItem.spec.ts +16 -0
  228. package/src/components/VMenu/VMenu.ts +2 -6
  229. package/src/components/VNavigationDrawer/VNavigationDrawer.ts +4 -7
  230. package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +1 -1
  231. package/src/components/VOtpInput/VOtpInput.sass +13 -16
  232. package/src/components/VOtpInput/VOtpInput.ts +14 -28
  233. package/src/components/VOtpInput/_variables.scss +2 -4
  234. package/src/components/VOverlay/VOverlay.ts +1 -0
  235. package/src/components/VRadioGroup/VRadioGroup.ts +8 -4
  236. package/src/components/VRangeSlider/VRangeSlider.ts +3 -1
  237. package/src/components/VSelect/VSelect.ts +5 -1
  238. package/src/components/VSlideGroup/VSlideGroup.ts +8 -2
  239. package/src/components/VStepper/VStepper.sass +4 -4
  240. package/src/components/VStepper/VStepperStep.ts +14 -2
  241. package/src/components/VStepper/__tests__/__snapshots__/VStepperStep.spec.ts.snap +18 -6
  242. package/src/components/VTabs/VTab.ts +24 -6
  243. package/src/components/VTabs/VTabs.sass +5 -2
  244. package/src/components/VTextField/VTextField.ts +8 -3
  245. package/src/components/VTextarea/VTextarea.sass +13 -0
  246. package/src/components/VTooltip/VTooltip.ts +14 -7
  247. package/src/components/VTreeview/VTreeviewNode.ts +3 -1
  248. package/src/components/transitions/createTransition.ts +0 -8
  249. package/src/directives/click-outside/__tests__/click-outside-shadow-dom.spec.ts +9 -6
  250. package/src/directives/click-outside/__tests__/click-outside.spec.ts +7 -4
  251. package/src/directives/click-outside/index.ts +19 -10
  252. package/src/directives/intersect/__tests__/intersect.spec.ts +13 -10
  253. package/src/directives/intersect/index.ts +15 -13
  254. package/src/directives/mutate/__tests__/mutate.spec.ts +36 -17
  255. package/src/directives/mutate/index.ts +9 -9
  256. package/src/directives/resize/__tests__/resize.spec.ts +4 -4
  257. package/src/directives/resize/index.ts +11 -6
  258. package/src/directives/ripple/VRipple.sass +4 -1
  259. package/src/directives/ripple/index.ts +0 -7
  260. package/src/directives/scroll/__tests__/scroll.spec.ts +9 -9
  261. package/src/directives/scroll/index.ts +8 -7
  262. package/src/globals.d.ts +10 -12
  263. package/src/locale/fr.ts +1 -1
  264. package/src/locale/it.ts +6 -6
  265. package/src/mixins/activatable/__tests__/__snapshots__/activatable.spec.ts.snap +1 -2
  266. package/src/mixins/activatable/index.ts +6 -2
  267. package/src/mixins/detachable/index.ts +32 -15
  268. package/src/mixins/intersectable/index.ts +11 -2
  269. package/src/mixins/menuable/index.ts +10 -8
  270. package/src/mixins/overlayable/index.ts +22 -11
  271. package/src/mixins/routable/__tests__/routable.spec.ts +82 -5
  272. package/src/mixins/routable/index.ts +12 -8
  273. package/src/services/application/index.ts +1 -1
  274. package/src/styles/generic/_transitions.scss +219 -215
  275. package/src/styles/settings/_variables.scss +11 -10
  276. package/src/util/helpers.ts +5 -5
  277. package/types/lib.d.ts +2 -0
  278. package/src/directives/ripple/_variables.scss +0 -6
package/dist/vuetify.js CHANGED
@@ -1136,13 +1136,31 @@ var defaultMenuProps = __assign(__assign({}, _VSelect_VSelect__WEBPACK_IMPORTED_
1136
1136
 
1137
1137
 
1138
1138
  if (val === oldVal) return;
1139
- this.setMenuIndex(-1);
1139
+
1140
+ if (!this.autoSelectFirst) {
1141
+ var preSelectedItem_1 = oldVal[this.$refs.menu.listIndex];
1142
+
1143
+ if (preSelectedItem_1) {
1144
+ this.setMenuIndex(val.findIndex(function (i) {
1145
+ return i === preSelectedItem_1;
1146
+ }));
1147
+ } else {
1148
+ this.setMenuIndex(-1);
1149
+ }
1150
+
1151
+ this.$emit('update:list-index', this.$refs.menu.listIndex);
1152
+ }
1153
+
1140
1154
  this.$nextTick(function () {
1141
1155
  if (!_this.internalSearch || val.length !== 1 && !_this.autoSelectFirst) return;
1142
1156
 
1143
1157
  _this.$refs.menu.getTiles();
1144
1158
 
1145
- _this.setMenuIndex(0);
1159
+ if (_this.autoSelectFirst && val.length) {
1160
+ _this.setMenuIndex(0);
1161
+
1162
+ _this.$emit('update:list-index', _this.$refs.menu.listIndex);
1163
+ }
1146
1164
  });
1147
1165
  },
1148
1166
  onInternalSearchChanged: function onInternalSearchChanged() {
@@ -1853,7 +1871,7 @@ var __assign = undefined && undefined.__assign || function () {
1853
1871
  }
1854
1872
  },
1855
1873
  render: function render(h) {
1856
- return h(_transitions__WEBPACK_IMPORTED_MODULE_4__["VExpandTransition"], [h('div', this.setBackgroundColor(this.color, {
1874
+ var data = {
1857
1875
  staticClass: 'v-banner',
1858
1876
  attrs: this.attrs$,
1859
1877
  class: this.classes,
@@ -1862,7 +1880,8 @@ var __assign = undefined && undefined.__assign || function () {
1862
1880
  name: 'show',
1863
1881
  value: this.isActive
1864
1882
  }]
1865
- }), [this.genWrapper()])]);
1883
+ };
1884
+ return h(_transitions__WEBPACK_IMPORTED_MODULE_4__["VExpandTransition"], [h('div', this.outlined ? data : this.setBackgroundColor(this.color, data), [this.genWrapper()])]);
1866
1885
  }
1867
1886
  }));
1868
1887
 
@@ -2000,6 +2019,9 @@ var __assign = undefined && undefined.__assign || function () {
2000
2019
  });
2001
2020
  }
2002
2021
  },
2022
+ watch: {
2023
+ canScroll: 'onScroll'
2024
+ },
2003
2025
  created: function created() {
2004
2026
  /* istanbul ignore next */
2005
2027
  if (this.$attrs.hasOwnProperty('active')) {
@@ -2008,8 +2030,13 @@ var __assign = undefined && undefined.__assign || function () {
2008
2030
  },
2009
2031
  methods: {
2010
2032
  thresholdMet: function thresholdMet() {
2011
- this.isActive = !this.isScrollingUp;
2012
- this.$emit('update:input-value', this.isActive);
2033
+ if (this.hideOnScroll) {
2034
+ this.isActive = !this.isScrollingUp || this.currentScroll > this.computedScrollThreshold;
2035
+ this.$emit('update:input-value', this.isActive);
2036
+ }
2037
+
2038
+ if (this.currentThreshold < this.computedScrollThreshold) return;
2039
+ this.savedScroll = this.currentScroll;
2013
2040
  },
2014
2041
  updateApplication: function updateApplication() {
2015
2042
  return this.$el ? this.$el.clientHeight : 0;
@@ -2115,10 +2142,7 @@ var __assign = undefined && undefined.__assign || function () {
2115
2142
  name: 'v-bottom-sheet',
2116
2143
  props: {
2117
2144
  inset: Boolean,
2118
- maxWidth: {
2119
- type: [String, Number],
2120
- default: 'auto'
2121
- },
2145
+ maxWidth: [String, Number],
2122
2146
  transition: {
2123
2147
  type: String,
2124
2148
  default: 'bottom-sheet-transition'
@@ -3543,8 +3567,10 @@ var __spread = undefined && undefined.__spread || function () {
3543
3567
  key: day.date,
3544
3568
  staticClass: 'v-calendar-daily_head-day',
3545
3569
  class: this.getRelativeClasses(day),
3546
- on: this.getDefaultMouseEventHandlers(':day', function (_e) {
3547
- return _this.getSlotScope(day);
3570
+ on: this.getDefaultMouseEventHandlers(':day', function (nativeEvent) {
3571
+ return __assign({
3572
+ nativeEvent: nativeEvent
3573
+ }, _this.getSlotScope(day));
3548
3574
  })
3549
3575
  }, __spread([this.genHeadWeekday(day), this.genHeadDayLabel(day)], this.genDayHeader(day, index)));
3550
3576
  },
@@ -3589,8 +3615,10 @@ var __spread = undefined && undefined.__spread || function () {
3589
3615
  prevent: true,
3590
3616
  result: false
3591
3617
  }
3592
- }, function (_e) {
3593
- return day;
3618
+ }, function (nativeEvent) {
3619
+ return __assign({
3620
+ nativeEvent: nativeEvent
3621
+ }, day);
3594
3622
  })
3595
3623
  }, this.dayFormatter(day, false));
3596
3624
  },
@@ -3623,11 +3651,18 @@ var __spread = undefined && undefined.__spread || function () {
3623
3651
  return this.days.map(this.genDay);
3624
3652
  },
3625
3653
  genDay: function genDay(day, index) {
3654
+ var _this = this;
3655
+
3626
3656
  return this.$createElement('div', {
3627
3657
  key: day.date,
3628
3658
  staticClass: 'v-calendar-daily__day',
3629
- class: this.getRelativeClasses(day)
3630
- }, __spread(this.genDayIntervals(index, day), this.genDayBody(day)));
3659
+ class: this.getRelativeClasses(day),
3660
+ on: this.getDefaultMouseEventHandlers(':time', function (nativeEvent) {
3661
+ return __assign({
3662
+ nativeEvent: nativeEvent
3663
+ }, _this.getSlotScope(_this.getTimestampAtEvent(nativeEvent, day)));
3664
+ })
3665
+ }, __spread(this.genDayIntervals(index), this.genDayBody(day)));
3631
3666
  },
3632
3667
  genDayBody: function genDayBody(day) {
3633
3668
  var _this = this;
@@ -3636,14 +3671,10 @@ var __spread = undefined && undefined.__spread || function () {
3636
3671
  return _this.getSlotScope(day);
3637
3672
  }) || [];
3638
3673
  },
3639
- genDayIntervals: function genDayIntervals(index, day) {
3640
- var _this = this;
3641
-
3642
- return this.intervals[index].map(function (i) {
3643
- return _this.genDayInterval(i, day);
3644
- });
3674
+ genDayIntervals: function genDayIntervals(index) {
3675
+ return this.intervals[index].map(this.genDayInterval);
3645
3676
  },
3646
- genDayInterval: function genDayInterval(interval, day) {
3677
+ genDayInterval: function genDayInterval(interval) {
3647
3678
  var _this = this;
3648
3679
 
3649
3680
  var height = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__["convertToUnit"])(this.intervalHeight);
@@ -3653,10 +3684,7 @@ var __spread = undefined && undefined.__spread || function () {
3653
3684
  staticClass: 'v-calendar-daily__day-interval',
3654
3685
  style: __assign({
3655
3686
  height: height
3656
- }, styler(interval)),
3657
- on: this.getDefaultMouseEventHandlers(':time', function (e) {
3658
- return _this.getSlotScope(_this.getTimestampAtEvent(e, day));
3659
- })
3687
+ }, styler(interval))
3660
3688
  };
3661
3689
  var children = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__["getSlot"])(this, 'interval', function () {
3662
3690
  return _this.getSlotScope(interval);
@@ -3672,8 +3700,10 @@ var __spread = undefined && undefined.__spread || function () {
3672
3700
  style: {
3673
3701
  width: width
3674
3702
  },
3675
- on: this.getDefaultMouseEventHandlers(':interval', function (e) {
3676
- return _this.getTimestampAtEvent(e, _this.parsedStart);
3703
+ on: this.getDefaultMouseEventHandlers(':interval', function (nativeEvent) {
3704
+ return __assign({
3705
+ nativeEvent: nativeEvent
3706
+ }, _this.getTimestampAtEvent(nativeEvent, _this.parsedStart));
3677
3707
  })
3678
3708
  };
3679
3709
  return this.$createElement('div', data, this.genIntervalLabels());
@@ -3964,8 +3994,10 @@ var __spread = undefined && undefined.__spread || function () {
3964
3994
  key: day.date,
3965
3995
  staticClass: 'v-calendar-weekly__day',
3966
3996
  class: this.getRelativeClasses(day, outside),
3967
- on: this.getDefaultMouseEventHandlers(':day', function (_e) {
3968
- return day;
3997
+ on: this.getDefaultMouseEventHandlers(':day', function (nativeEvent) {
3998
+ return __assign({
3999
+ nativeEvent: nativeEvent
4000
+ }, day);
3969
4001
  })
3970
4002
  }, __spread([this.genDayLabel(day)], Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["getSlot"])(this, 'day', function () {
3971
4003
  return __assign({
@@ -4001,8 +4033,10 @@ var __spread = undefined && undefined.__spread || function () {
4001
4033
  prevent: true,
4002
4034
  result: false
4003
4035
  }
4004
- }, function (_e) {
4005
- return day;
4036
+ }, function (nativeEvent) {
4037
+ return __assign({
4038
+ nativeEvent: nativeEvent
4039
+ }, day);
4006
4040
  })
4007
4041
  }, hasMonth ? this.monthFormatter(day, this.shortMonths) + ' ' + this.dayFormatter(day, false) : this.dayFormatter(day, false));
4008
4042
  },
@@ -4511,13 +4545,15 @@ var MINUTES_IN_DAY = 1440;
4511
4545
  var name = _this.eventNameFunction(event, timedEvent);
4512
4546
 
4513
4547
  if (event.start.hasTime) {
4548
+ var eventSummaryClass = 'v-event-summary';
4549
+
4514
4550
  if (timedEvent) {
4515
4551
  var time = timeSummary();
4516
4552
  var delimiter = singline ? ', ' : '<br>';
4517
- return "<strong>" + name + "</strong>" + delimiter + time;
4553
+ return "<span class=\"" + eventSummaryClass + "\"><strong>" + name + "</strong>" + delimiter + time + "</span>";
4518
4554
  } else {
4519
4555
  var time = formatTime(event.start, true);
4520
- return "<strong>" + time + "</strong> " + name;
4556
+ return "<span class=\"" + eventSummaryClass + "\"><strong>" + time + "</strong> " + name + "</span>";
4521
4557
  }
4522
4558
  }
4523
4559
 
@@ -4568,8 +4604,6 @@ var MINUTES_IN_DAY = 1440;
4568
4604
  });
4569
4605
  },
4570
4606
  genMore: function genMore(day) {
4571
- var _this = this;
4572
-
4573
4607
  var _a;
4574
4608
 
4575
4609
  var eventHeight = this.eventHeight;
@@ -4587,11 +4621,11 @@ var MINUTES_IN_DAY = 1440;
4587
4621
  name: 'ripple',
4588
4622
  value: (_a = this.eventRipple) !== null && _a !== void 0 ? _a : true
4589
4623
  }],
4590
- on: {
4591
- click: function click(e) {
4592
- return _this.$emit('click:more', day, e);
4593
- }
4594
- },
4624
+ on: this.getDefaultMouseEventHandlers(':more', function (nativeEvent) {
4625
+ return __assign({
4626
+ nativeEvent: nativeEvent
4627
+ }, day);
4628
+ }),
4595
4629
  style: {
4596
4630
  display: 'none',
4597
4631
  height: eventHeight + "px",
@@ -4968,10 +5002,19 @@ __webpack_require__.r(__webpack_exports__);
4968
5002
  // This block of code aims to make sure touchEvent is always dispatched from the element that is being pointed at
4969
5003
 
4970
5004
 
4971
- if (e instanceof TouchEvent) {
4972
- var currentTarget = document.elementFromPoint(e.changedTouches[0].clientX, e.changedTouches[0].clientY);
5005
+ if (e && 'touches' in e) {
5006
+ var classSeparator_1 = ' ';
5007
+ var eventTargetClasses_1 = (_a = e.currentTarget) === null || _a === void 0 ? void 0 : _a.className.split(classSeparator_1);
5008
+ var currentTargets = document.elementsFromPoint(e.changedTouches[0].clientX, e.changedTouches[0].clientY); // Get "the same kind" current hovering target by checking
5009
+ // If element has the same class of initial touch start element (which has touch event listener registered)
5010
+
5011
+ var currentTarget = currentTargets.find(function (t) {
5012
+ return t.className.split(classSeparator_1).some(function (c) {
5013
+ return eventTargetClasses_1.includes(c);
5014
+ });
5015
+ });
4973
5016
 
4974
- if (currentTarget && !((_a = e.target) === null || _a === void 0 ? void 0 : _a.isSameNode(currentTarget)) && ((_b = e.target) === null || _b === void 0 ? void 0 : _b.className) === currentTarget.className) {
5017
+ if (currentTarget && !((_b = e.target) === null || _b === void 0 ? void 0 : _b.isSameNode(currentTarget))) {
4975
5018
  currentTarget.dispatchEvent(new TouchEvent(e.type, {
4976
5019
  changedTouches: e.changedTouches,
4977
5020
  targetTouches: e.targetTouches,
@@ -9191,10 +9234,6 @@ var __assign = undefined && undefined.__assign || function () {
9191
9234
  if (this.getMenuIndex() > -1) return;
9192
9235
  this.$nextTick(this.updateSelf);
9193
9236
  },
9194
- onFilteredItemsChanged: function onFilteredItemsChanged(val, oldVal) {
9195
- if (!this.autoSelectFirst) return;
9196
- _VAutocomplete_VAutocomplete__WEBPACK_IMPORTED_MODULE_2__["default"].options.methods.onFilteredItemsChanged.call(this, val, oldVal);
9197
- },
9198
9237
  onKeyDown: function onKeyDown(e) {
9199
9238
  var keyCode = e.keyCode;
9200
9239
 
@@ -9249,7 +9288,7 @@ var __assign = undefined && undefined.__assign || function () {
9249
9288
  }
9250
9289
  },
9251
9290
  setValue: function setValue(value) {
9252
- _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setValue.call(this, value !== null && value !== void 0 ? value : this.internalSearch);
9291
+ _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setValue.call(this, value === undefined ? this.internalSearch : value);
9253
9292
  },
9254
9293
  updateEditing: function updateEditing() {
9255
9294
  var _this = this;
@@ -9584,16 +9623,10 @@ var __spread = undefined && undefined.__spread || function () {
9584
9623
  }
9585
9624
  },
9586
9625
  sortBy: {
9587
- type: [String, Array],
9588
- default: function _default() {
9589
- return [];
9590
- }
9626
+ type: [String, Array]
9591
9627
  },
9592
9628
  sortDesc: {
9593
- type: [Boolean, Array],
9594
- default: function _default() {
9595
- return [];
9596
- }
9629
+ type: [Boolean, Array]
9597
9630
  },
9598
9631
  customSort: {
9599
9632
  type: Function,
@@ -10760,8 +10793,8 @@ var __assign = undefined && undefined.__assign || function () {
10760
10793
  var children = [];
10761
10794
  var value = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["getObjectValueByPath"])(props.item, header.value);
10762
10795
  var slotName = header.value;
10763
- var scopedSlot = data.scopedSlots && data.scopedSlots[slotName];
10764
- var regularSlot = computedSlots[slotName];
10796
+ var scopedSlot = data.scopedSlots && data.scopedSlots.hasOwnProperty(slotName) && data.scopedSlots[slotName];
10797
+ var regularSlot = computedSlots.hasOwnProperty(slotName) && computedSlots[slotName];
10765
10798
 
10766
10799
  if (scopedSlot) {
10767
10800
  children.push(scopedSlot({
@@ -10875,8 +10908,8 @@ function needsTd(slot) {
10875
10908
  var children = [];
10876
10909
  var value = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["getObjectValueByPath"])(props.item, header.value);
10877
10910
  var slotName = header.value;
10878
- var scopedSlot = data.scopedSlots && data.scopedSlots[slotName];
10879
- var regularSlot = computedSlots[slotName];
10911
+ var scopedSlot = data.scopedSlots && data.scopedSlots.hasOwnProperty(slotName) && data.scopedSlots[slotName];
10912
+ var regularSlot = computedSlots.hasOwnProperty(slotName) && computedSlots[slotName];
10880
10913
 
10881
10914
  if (scopedSlot) {
10882
10915
  children.push.apply(children, __spread(Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["wrapInArray"])(scopedSlot({
@@ -11956,7 +11989,7 @@ var __spread = undefined && undefined.__spread || function () {
11956
11989
  return this.$createElement('th', data, [this.genSelectAll()]);
11957
11990
  }
11958
11991
 
11959
- children.push(this.$scopedSlots[header.value] ? this.$scopedSlots[header.value]({
11992
+ children.push(this.$scopedSlots.hasOwnProperty(header.value) ? this.$scopedSlots[header.value]({
11960
11993
  header: header
11961
11994
  }) : this.$createElement('span', [header.text]));
11962
11995
 
@@ -14780,10 +14813,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
14780
14813
  disabled: Boolean,
14781
14814
  fullscreen: Boolean,
14782
14815
  light: Boolean,
14783
- maxWidth: {
14784
- type: [String, Number],
14785
- default: 'none'
14786
- },
14816
+ maxWidth: [String, Number],
14787
14817
  noClickAnimation: Boolean,
14788
14818
  origin: {
14789
14819
  type: String,
@@ -14799,10 +14829,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
14799
14829
  type: [String, Boolean],
14800
14830
  default: 'dialog-transition'
14801
14831
  },
14802
- width: {
14803
- type: [String, Number],
14804
- default: 'auto'
14805
- }
14832
+ width: [String, Number]
14806
14833
  },
14807
14834
  data: function data() {
14808
14835
  return {
@@ -14909,9 +14936,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
14909
14936
 
14910
14937
  this.$nextTick(function () {
14911
14938
  _this.$nextTick(function () {
14912
- _this.previousActiveElement = document.activeElement;
14939
+ if (!_this.$refs.content.contains(document.activeElement)) {
14940
+ _this.previousActiveElement = document.activeElement;
14913
14941
 
14914
- _this.$refs.content.focus();
14942
+ _this.$refs.content.focus();
14943
+ }
14915
14944
 
14916
14945
  _this.bind();
14917
14946
  });
@@ -14984,8 +15013,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
14984
15013
  }, [_this.$createElement('div', {
14985
15014
  class: _this.contentClasses,
14986
15015
  attrs: __assign({
14987
- role: 'document',
14988
- tabindex: _this.isActive ? 0 : undefined
15016
+ role: 'dialog',
15017
+ tabindex: _this.isActive ? 0 : undefined,
15018
+ 'aria-modal': _this.hideOverlay ? undefined : 'true'
14989
15019
  }, _this.getScopeIdAttrs()),
14990
15020
  on: {
14991
15021
  keydown: _this.onKeydown
@@ -15030,8 +15060,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
15030
15060
 
15031
15061
  if (!this.fullscreen) {
15032
15062
  data.style = __assign(__assign({}, data.style), {
15033
- maxWidth: this.maxWidth === 'none' ? undefined : Object(_util_helpers__WEBPACK_IMPORTED_MODULE_12__["convertToUnit"])(this.maxWidth),
15034
- width: this.width === 'auto' ? undefined : Object(_util_helpers__WEBPACK_IMPORTED_MODULE_12__["convertToUnit"])(this.width)
15063
+ maxWidth: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_12__["convertToUnit"])(this.maxWidth),
15064
+ width: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_12__["convertToUnit"])(this.width)
15035
15065
  });
15036
15066
  }
15037
15067
 
@@ -15043,9 +15073,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
15043
15073
  staticClass: 'v-dialog__container',
15044
15074
  class: {
15045
15075
  'v-dialog__container--attached': this.attach === '' || this.attach === true || this.attach === 'attach'
15046
- },
15047
- attrs: {
15048
- role: 'dialog'
15049
15076
  }
15050
15077
  }, [this.genActivator(), this.genContent()]);
15051
15078
  }
@@ -18126,10 +18153,11 @@ __webpack_require__.r(__webpack_exports__);
18126
18153
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseItemGroup", function() { return BaseItemGroup; });
18127
18154
  /* harmony import */ var _VItemGroup_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VItemGroup.sass */ "./src/components/VItemGroup/VItemGroup.sass");
18128
18155
  /* harmony import */ var _VItemGroup_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_VItemGroup_sass__WEBPACK_IMPORTED_MODULE_0__);
18129
- /* harmony import */ var _mixins_proxyable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../mixins/proxyable */ "./src/mixins/proxyable/index.ts");
18130
- /* harmony import */ var _mixins_themeable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../mixins/themeable */ "./src/mixins/themeable/index.ts");
18131
- /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
18132
- /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
18156
+ /* harmony import */ var _mixins_comparable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../mixins/comparable */ "./src/mixins/comparable/index.ts");
18157
+ /* harmony import */ var _mixins_proxyable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../mixins/proxyable */ "./src/mixins/proxyable/index.ts");
18158
+ /* harmony import */ var _mixins_themeable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../mixins/themeable */ "./src/mixins/themeable/index.ts");
18159
+ /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
18160
+ /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
18133
18161
  var __assign = undefined && undefined.__assign || function () {
18134
18162
  __assign = Object.assign || function (t) {
18135
18163
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -18147,13 +18175,15 @@ var __assign = undefined && undefined.__assign || function () {
18147
18175
  }; // Styles
18148
18176
 
18149
18177
 
18178
+ // Mixins
18179
+
18150
18180
 
18151
18181
 
18152
18182
  // Utilities
18153
18183
 
18154
18184
 
18155
18185
 
18156
- var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__["default"])(_mixins_proxyable__WEBPACK_IMPORTED_MODULE_1__["default"], _mixins_themeable__WEBPACK_IMPORTED_MODULE_2__["default"]).extend({
18186
+ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_mixins_comparable__WEBPACK_IMPORTED_MODULE_1__["default"], _mixins_proxyable__WEBPACK_IMPORTED_MODULE_2__["default"], _mixins_themeable__WEBPACK_IMPORTED_MODULE_3__["default"]).extend({
18157
18187
  name: 'base-item-group',
18158
18188
  props: {
18159
18189
  activeClass: {
@@ -18209,7 +18239,7 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__["default"])
18209
18239
 
18210
18240
  if (!this.multiple) {
18211
18241
  return function (v) {
18212
- return _this.internalValue === v;
18242
+ return _this.valueComparator(_this.internalValue, v);
18213
18243
  };
18214
18244
  }
18215
18245
 
@@ -18217,7 +18247,9 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__["default"])
18217
18247
 
18218
18248
  if (Array.isArray(internalValue)) {
18219
18249
  return function (v) {
18220
- return internalValue.includes(v);
18250
+ return internalValue.some(function (intern) {
18251
+ return _this.valueComparator(intern, v);
18252
+ });
18221
18253
  };
18222
18254
  }
18223
18255
 
@@ -18232,7 +18264,7 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__["default"])
18232
18264
  },
18233
18265
  created: function created() {
18234
18266
  if (this.multiple && !Array.isArray(this.internalValue)) {
18235
- Object(_util_console__WEBPACK_IMPORTED_MODULE_4__["consoleWarn"])('Model must be bound to an array if the multiple property is true.', this);
18267
+ Object(_util_console__WEBPACK_IMPORTED_MODULE_5__["consoleWarn"])('Model must be bound to an array if the multiple property is true.', this);
18236
18268
  }
18237
18269
  },
18238
18270
  methods: {
@@ -18242,7 +18274,7 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__["default"])
18242
18274
  };
18243
18275
  },
18244
18276
  getValue: function getValue(item, i) {
18245
- return item.value == null || item.value === '' ? i : item.value;
18277
+ return item.value === undefined ? i : item.value;
18246
18278
  },
18247
18279
  onClick: function onClick(item) {
18248
18280
  this.updateInternalValue(this.getValue(item, this.items.indexOf(item)));
@@ -19173,6 +19205,13 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
19173
19205
  }
19174
19206
 
19175
19207
  return attrs;
19208
+ },
19209
+ toggle: function toggle() {
19210
+ if (this.to && this.inputValue === undefined) {
19211
+ this.isActive = !this.isActive;
19212
+ }
19213
+
19214
+ this.$emit('change');
19176
19215
  }
19177
19216
  },
19178
19217
  render: function render(h) {
@@ -19202,7 +19241,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
19202
19241
  active: this.isActive,
19203
19242
  toggle: this.toggle
19204
19243
  }) : this.$slots.default;
19205
- return h(tag, this.setTextColor(this.color, data), children);
19244
+ return h(tag, this.isActive ? this.setTextColor(this.color, data) : data, children);
19206
19245
  }
19207
19246
  }));
19208
19247
 
@@ -19700,10 +19739,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19700
19739
  },
19701
19740
  offsetX: Boolean,
19702
19741
  offsetY: Boolean,
19703
- openOnClick: {
19704
- type: Boolean,
19705
- default: true
19706
- },
19707
19742
  openOnHover: Boolean,
19708
19743
  origin: {
19709
19744
  type: String,
@@ -19987,7 +20022,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19987
20022
  },
19988
20023
  getTiles: function getTiles() {
19989
20024
  if (!this.$refs.content) return;
19990
- this.tiles = Array.from(this.$refs.content.querySelectorAll('.v-list-item'));
20025
+ this.tiles = Array.from(this.$refs.content.querySelectorAll('.v-list-item, .v-divider, .v-subheader'));
19991
20026
  },
19992
20027
  mouseEnterHandler: function mouseEnterHandler() {
19993
20028
  var _this = this;
@@ -20002,7 +20037,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
20002
20037
 
20003
20038
 
20004
20039
  this.runDelay('close', function () {
20005
- if (_this.$refs.content.contains(e.relatedTarget)) return;
20040
+ var _a;
20041
+
20042
+ if ((_a = _this.$refs.content) === null || _a === void 0 ? void 0 : _a.contains(e.relatedTarget)) return;
20006
20043
  requestAnimationFrame(function () {
20007
20044
  _this.isActive = false;
20008
20045
 
@@ -20544,6 +20581,12 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
20544
20581
  var _this = this;
20545
20582
 
20546
20583
  var on = {
20584
+ mouseenter: function mouseenter() {
20585
+ return _this.isMouseover = true;
20586
+ },
20587
+ mouseleave: function mouseleave() {
20588
+ return _this.isMouseover = false;
20589
+ },
20547
20590
  transitionend: function transitionend(e) {
20548
20591
  if (e.target !== e.currentTarget) return;
20549
20592
 
@@ -20562,16 +20605,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
20562
20605
  };
20563
20606
  }
20564
20607
 
20565
- if (this.expandOnHover) {
20566
- on.mouseenter = function () {
20567
- return _this.isMouseover = true;
20568
- };
20569
-
20570
- on.mouseleave = function () {
20571
- return _this.isMouseover = false;
20572
- };
20573
- }
20574
-
20575
20608
  return on;
20576
20609
  },
20577
20610
  genPosition: function genPosition(name) {
@@ -20626,11 +20659,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
20626
20659
  */
20627
20660
  updateApplication: function updateApplication() {
20628
20661
  if (!this.isActive || this.isMobile || this.temporary || !this.$el) return 0;
20629
- var width = Number(this.computedWidth);
20662
+ var width = Number(this.miniVariant ? this.miniVariantWidth : this.width);
20630
20663
  return isNaN(width) ? this.$el.clientWidth : width;
20631
20664
  },
20632
20665
  updateMiniVariant: function updateMiniVariant(val) {
20633
- if (this.miniVariant !== val) this.$emit('update:mini-variant', val);
20666
+ if (this.expandOnHover && this.miniVariant !== val) this.$emit('update:mini-variant', val);
20634
20667
  }
20635
20668
  },
20636
20669
  render: function render(h) {
@@ -20770,17 +20803,14 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
20770
20803
  inheritAttrs: false,
20771
20804
  props: {
20772
20805
  length: {
20773
- type: Number,
20806
+ type: [Number, String],
20774
20807
  default: 6
20775
20808
  },
20776
20809
  type: {
20777
20810
  type: String,
20778
20811
  default: 'text'
20779
20812
  },
20780
- plain: {
20781
- type: Boolean,
20782
- default: false
20783
- }
20813
+ plain: Boolean
20784
20814
  },
20785
20815
  data: function data() {
20786
20816
  return {
@@ -20807,6 +20837,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
20807
20837
  isFocused: 'updateValue',
20808
20838
  value: function value(val) {
20809
20839
  this.lazyValue = val;
20840
+ this.otp = (val === null || val === void 0 ? void 0 : val.split('')) || [];
20810
20841
  }
20811
20842
  },
20812
20843
  created: function created() {
@@ -20861,25 +20892,17 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
20861
20892
  genDefaultSlot: function genDefaultSlot(otpIdx) {
20862
20893
  return [this.genFieldset(), this.genTextFieldSlot(otpIdx)];
20863
20894
  },
20864
- genCol: function genCol(otpIdx) {
20865
- var node = this.$createElement('div', this.setTextColor(this.validationState, {
20866
- staticClass: 'v-input',
20867
- class: this.classes
20868
- }), [this.genControl(otpIdx)]);
20869
- return this.$createElement('div', {
20870
- staticClass: 'col-input'
20871
- }, [node]);
20872
- },
20873
20895
  genContent: function genContent() {
20874
20896
  var _this = this;
20875
20897
 
20876
- var cols = __spread(Array(this.length).keys()).map(function (x) {
20877
- return _this.genCol(x);
20898
+ return Array.from({
20899
+ length: +this.length
20900
+ }, function (_, i) {
20901
+ return _this.$createElement('div', _this.setTextColor(_this.validationState, {
20902
+ staticClass: 'v-input',
20903
+ class: _this.classes
20904
+ }), [_this.genControl(i)]);
20878
20905
  });
20879
-
20880
- return [this.$createElement('div', {
20881
- staticClass: 'row-container'
20882
- }, cols)];
20883
20906
  },
20884
20907
  genFieldset: function genFieldset() {
20885
20908
  return this.$createElement('fieldset', {
@@ -20987,7 +21010,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
20987
21010
  var nextIndex = otpIdx + 1;
20988
21011
 
20989
21012
  if (value) {
20990
- if (nextIndex < this.length) {
21013
+ if (nextIndex < +this.length) {
20991
21014
  this.changeFocus(nextIndex);
20992
21015
  } else {
20993
21016
  this.clearFocus(otpIdx);
@@ -21022,7 +21045,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21022
21045
  onPaste: function onPaste(event, index) {
21023
21046
  var _a;
21024
21047
 
21025
- var maxCursor = this.length - 1;
21048
+ var maxCursor = +this.length - 1;
21026
21049
  var inputVal = (_a = event === null || event === void 0 ? void 0 : event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('Text');
21027
21050
  var inputDataArray = (inputVal === null || inputVal === void 0 ? void 0 : inputVal.split('')) || [];
21028
21051
  event.preventDefault();
@@ -21036,10 +21059,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21036
21059
  }
21037
21060
 
21038
21061
  this.otp = newOtp;
21062
+ this.internalValue = this.otp.join('');
21039
21063
  var targetFocus = Math.min(index + inputDataArray.length, maxCursor);
21040
21064
  this.changeFocus(targetFocus);
21041
21065
 
21042
- if (newOtp.length === this.length) {
21066
+ if (newOtp.length === +this.length) {
21043
21067
  this.onCompleted();
21044
21068
  this.clearFocus(targetFocus);
21045
21069
  }
@@ -21081,13 +21105,13 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21081
21105
  }
21082
21106
 
21083
21107
  if (eventKey === 'ArrowRight') {
21084
- return index + 1 < this.length && this.changeFocus(index + 1);
21108
+ return index + 1 < +this.length && this.changeFocus(index + 1);
21085
21109
  }
21086
21110
  },
21087
21111
  onCompleted: function onCompleted() {
21088
21112
  var rsp = this.otp.join('');
21089
21113
 
21090
- if (rsp.length === this.length) {
21114
+ if (rsp.length === +this.length) {
21091
21115
  this.$emit('finish', rsp);
21092
21116
  }
21093
21117
  }
@@ -21390,6 +21414,7 @@ var __assign = undefined && undefined.__assign || function () {
21390
21414
  if (this.isActive) children.push(this.genContent());
21391
21415
  return h('div', {
21392
21416
  staticClass: 'v-overlay',
21417
+ on: this.$listeners,
21393
21418
  class: this.classes,
21394
21419
  style: this.styles
21395
21420
  }, children);
@@ -22746,8 +22771,7 @@ __webpack_require__.r(__webpack_exports__);
22746
22771
  /* harmony import */ var _VRadioGroup_sass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_VRadioGroup_sass__WEBPACK_IMPORTED_MODULE_1__);
22747
22772
  /* harmony import */ var _VInput__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../VInput */ "./src/components/VInput/index.ts");
22748
22773
  /* harmony import */ var _VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../VItemGroup/VItemGroup */ "./src/components/VItemGroup/VItemGroup.ts");
22749
- /* harmony import */ var _mixins_comparable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/comparable */ "./src/mixins/comparable/index.ts");
22750
- /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
22774
+ /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
22751
22775
  var __assign = undefined && undefined.__assign || function () {
22752
22776
  __assign = Object.assign || function (t) {
22753
22777
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -22769,12 +22793,10 @@ var __assign = undefined && undefined.__assign || function () {
22769
22793
  // Extensions
22770
22794
 
22771
22795
 
22772
- // Mixins
22773
-
22774
22796
  // Types
22775
22797
 
22776
22798
 
22777
- var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_mixins_comparable__WEBPACK_IMPORTED_MODULE_4__["default"], _VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_3__["BaseItemGroup"], _VInput__WEBPACK_IMPORTED_MODULE_2__["default"]);
22799
+ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_3__["BaseItemGroup"], _VInput__WEBPACK_IMPORTED_MODULE_2__["default"]);
22778
22800
  /* @vue/component */
22779
22801
 
22780
22802
  /* harmony default export */ __webpack_exports__["default"] = (baseMixins.extend({
@@ -22835,6 +22857,13 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_m
22835
22857
  return label;
22836
22858
  },
22837
22859
  onClick: _VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_3__["BaseItemGroup"].options.methods.onClick
22860
+ },
22861
+ render: function render(h) {
22862
+ var vnode = _VInput__WEBPACK_IMPORTED_MODULE_2__["default"].options.render.call(this, h);
22863
+
22864
+ this._b(vnode.data, 'div', this.attrs$);
22865
+
22866
+ return vnode;
22838
22867
  }
22839
22868
  }));
22840
22869
 
@@ -23166,7 +23195,10 @@ var __spread = undefined && undefined.__spread || function () {
23166
23195
  this.thumbPressed = true;
23167
23196
  }
23168
23197
 
23169
- this.activeThumb = this.getIndexOfClosestValue(this.internalValue, value);
23198
+ if (this.activeThumb === null) {
23199
+ this.activeThumb = this.getIndexOfClosestValue(this.internalValue, value);
23200
+ }
23201
+
23170
23202
  this.setInternalValue(value);
23171
23203
  },
23172
23204
  onKeyDown: function onKeyDown(e) {
@@ -23935,7 +23967,12 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(_
23935
23967
  var uniqueValues = new Map();
23936
23968
 
23937
23969
  for (var index = 0; index < arr.length; ++index) {
23938
- var item = arr[index]; // Do not deduplicate headers or dividers (#12517)
23970
+ var item = arr[index]; // Do not return null values if existant (#14421)
23971
+
23972
+ if (item == null) {
23973
+ continue;
23974
+ } // Do not deduplicate headers or dividers (#12517)
23975
+
23939
23976
 
23940
23977
  if (item.header || item.divider) {
23941
23978
  uniqueValues.set(item, item);
@@ -24259,7 +24296,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(_
24259
24296
  if (!menu) return; // If menu is active, allow default
24260
24297
  // listIndex change from menu
24261
24298
 
24262
- if (this.isMenuActive && keyCode !== _util_helpers__WEBPACK_IMPORTED_MODULE_12__["keyCodes"].tab) {
24299
+ if (this.isMenuActive && [_util_helpers__WEBPACK_IMPORTED_MODULE_12__["keyCodes"].up, _util_helpers__WEBPACK_IMPORTED_MODULE_12__["keyCodes"].down, _util_helpers__WEBPACK_IMPORTED_MODULE_12__["keyCodes"].home, _util_helpers__WEBPACK_IMPORTED_MODULE_12__["keyCodes"].end, _util_helpers__WEBPACK_IMPORTED_MODULE_12__["keyCodes"].enter].includes(keyCode)) {
24263
24300
  this.$nextTick(function () {
24264
24301
  menu.changeListIndex(e);
24265
24302
 
@@ -25394,7 +25431,9 @@ var BaseSlideGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"]
25394
25431
  // and need to be recalculated
25395
25432
  isOverflowing: 'setWidths',
25396
25433
  scrollOffset: function scrollOffset(val) {
25434
+ if (this.$vuetify.rtl) val = -val;
25397
25435
  var scroll = val <= 0 ? bias(-val) : val > this.widths.content - this.widths.wrapper ? -(this.widths.content - this.widths.wrapper) + bias(this.widths.content - this.widths.wrapper - val) : -val;
25436
+ if (this.$vuetify.rtl) scroll = -scroll;
25398
25437
  this.$refs.content.style.transform = "translateX(" + scroll + "px)";
25399
25438
  }
25400
25439
  },
@@ -25658,12 +25697,11 @@ var BaseSlideGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"]
25658
25697
  wrapper: this.$refs.wrapper ? this.$refs.wrapper.clientWidth : 0
25659
25698
  }, this.$vuetify.rtl, this.scrollOffset);
25660
25699
  },
25661
- setWidths
25662
- /* istanbul ignore next */
25663
- : function setWidths() {
25700
+ setWidths: function setWidths() {
25664
25701
  var _this = this;
25665
25702
 
25666
25703
  window.requestAnimationFrame(function () {
25704
+ if (_this._isDestroyed) return;
25667
25705
  var _a = _this.$refs,
25668
25706
  content = _a.content,
25669
25707
  wrapper = _a.wrapper;
@@ -27619,6 +27657,7 @@ __webpack_require__.r(__webpack_exports__);
27619
27657
  /* harmony import */ var _mixins_registrable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../mixins/registrable */ "./src/mixins/registrable/index.ts");
27620
27658
  /* harmony import */ var _directives_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../directives/ripple */ "./src/directives/ripple/index.ts");
27621
27659
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
27660
+ /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
27622
27661
  // Components
27623
27662
  // Mixins
27624
27663
 
@@ -27628,6 +27667,7 @@ __webpack_require__.r(__webpack_exports__);
27628
27667
  // Utilities
27629
27668
 
27630
27669
 
27670
+
27631
27671
  var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_1__["default"], Object(_mixins_registrable__WEBPACK_IMPORTED_MODULE_2__["inject"])('stepper', 'v-stepper-step', 'v-stepper'));
27632
27672
  /* @vue/component */
27633
27673
 
@@ -27732,6 +27772,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_m
27732
27772
 
27733
27773
  return children;
27734
27774
  },
27775
+ keyboardClick: function keyboardClick(e) {
27776
+ if (e.keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_5__["keyCodes"].space) {
27777
+ this.click(e);
27778
+ }
27779
+ },
27735
27780
  toggle: function toggle(step) {
27736
27781
  this.isActive = step.toString() === this.step.toString();
27737
27782
  this.isInactive = Number(step) < Number(this.step);
@@ -27739,6 +27784,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_m
27739
27784
  },
27740
27785
  render: function render(h) {
27741
27786
  return h('div', {
27787
+ attrs: {
27788
+ tabindex: this.editable ? 0 : -1
27789
+ },
27742
27790
  staticClass: 'v-stepper__step',
27743
27791
  class: this.classes,
27744
27792
  directives: [{
@@ -27746,7 +27794,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_m
27746
27794
  value: this.editable
27747
27795
  }],
27748
27796
  on: {
27749
- click: this.click
27797
+ click: this.click,
27798
+ keydown: this.keyboardClick
27750
27799
  }
27751
27800
  }, [this.genStep(), this.genLabel()]);
27752
27801
  }
@@ -28246,7 +28295,8 @@ Object(_mixins_groupable__WEBPACK_IMPORTED_MODULE_0__["factory"])('tabsBar'), _m
28246
28295
  }), this.groupClasses);
28247
28296
  },
28248
28297
  value: function value() {
28249
- var to = this.to || this.href || '';
28298
+ var to = this.to || this.href;
28299
+ if (to == null) return to;
28250
28300
 
28251
28301
  if (this.$router && this.to === Object(this.to)) {
28252
28302
  var resolve = this.$router.resolve(this.to, this.$route, this.append);
@@ -28256,18 +28306,29 @@ Object(_mixins_groupable__WEBPACK_IMPORTED_MODULE_0__["factory"])('tabsBar'), _m
28256
28306
  return to.replace('#', '');
28257
28307
  }
28258
28308
  },
28259
- mounted: function mounted() {
28260
- this.onRouteChange();
28261
- },
28262
28309
  methods: {
28263
28310
  click: function click(e) {
28264
- // If user provides an
28311
+ // Prevent keyboard actions
28312
+ // from children elements
28313
+ // within disabled tabs
28314
+ if (this.disabled) {
28315
+ e.preventDefault();
28316
+ return;
28317
+ } // If user provides an
28265
28318
  // actual link, do not
28266
28319
  // prevent default
28320
+
28321
+
28267
28322
  if (this.href && this.href.indexOf('#') > -1) e.preventDefault();
28268
28323
  if (e.detail) this.$el.blur();
28269
28324
  this.$emit('click', e);
28270
28325
  this.to || this.toggle();
28326
+ },
28327
+ toggle: function toggle() {
28328
+ // VItemGroup treats a change event as a click
28329
+ if (!this.isActive || !this.tabsBar.mandatory && !this.to) {
28330
+ this.$emit('change');
28331
+ }
28271
28332
  }
28272
28333
  },
28273
28334
  render: function render(h) {
@@ -28280,7 +28341,7 @@ Object(_mixins_groupable__WEBPACK_IMPORTED_MODULE_0__["factory"])('tabsBar'), _m
28280
28341
  data.attrs = __assign(__assign({}, data.attrs), {
28281
28342
  'aria-selected': String(this.isActive),
28282
28343
  role: 'tab',
28283
- tabindex: 0
28344
+ tabindex: this.disabled ? -1 : 0
28284
28345
  });
28285
28346
  data.on = __assign(__assign({}, data.on), {
28286
28347
  keydown: function keydown(e) {
@@ -29230,7 +29291,12 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
29230
29291
  }, this.setLabelWidth);
29231
29292
  this.autofocus && this.tryAutofocus();
29232
29293
  requestAnimationFrame(function () {
29233
- return _this.isBooted = true;
29294
+ _this.isBooted = true;
29295
+ requestAnimationFrame(function () {
29296
+ if (!_this.isIntersecting) {
29297
+ _this.onResize();
29298
+ }
29299
+ });
29234
29300
  });
29235
29301
  },
29236
29302
  methods: {
@@ -31140,6 +31206,10 @@ __webpack_require__.r(__webpack_exports__);
31140
31206
  type: Boolean,
31141
31207
  default: true
31142
31208
  },
31209
+ openOnFocus: {
31210
+ type: Boolean,
31211
+ default: true
31212
+ },
31143
31213
  tag: {
31144
31214
  type: String,
31145
31215
  default: 'span'
@@ -31246,17 +31316,19 @@ __webpack_require__.r(__webpack_exports__);
31246
31316
 
31247
31317
  var listeners = _mixins_activatable__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.genActivatorListeners.call(this);
31248
31318
 
31249
- listeners.focus = function (e) {
31250
- _this.getActivator(e);
31319
+ if (this.openOnFocus) {
31320
+ listeners.focus = function (e) {
31321
+ _this.getActivator(e);
31251
31322
 
31252
- _this.runDelay('open');
31253
- };
31323
+ _this.runDelay('open');
31324
+ };
31254
31325
 
31255
- listeners.blur = function (e) {
31256
- _this.getActivator(e);
31326
+ listeners.blur = function (e) {
31327
+ _this.getActivator(e);
31257
31328
 
31258
- _this.runDelay('close');
31259
- };
31329
+ _this.runDelay('close');
31330
+ };
31331
+ }
31260
31332
 
31261
31333
  listeners.keydown = function (e) {
31262
31334
  if (e.keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_7__["keyCodes"].esc) {
@@ -32027,6 +32099,7 @@ var VTreeviewNodeProps = {
32027
32099
  type: String,
32028
32100
  default: 'primary'
32029
32101
  },
32102
+ disablePerNode: Boolean,
32030
32103
  expandIcon: {
32031
32104
  type: String,
32032
32105
  default: '$subgroup'
@@ -32112,7 +32185,7 @@ var VTreeviewNode = baseMixins.extend().extend({
32112
32185
  },
32113
32186
  computed: {
32114
32187
  disabled: function disabled() {
32115
- return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["getObjectValueByPath"])(this.item, this.itemDisabled) || this.parentIsDisabled && this.selectionType === 'leaf';
32188
+ return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["getObjectValueByPath"])(this.item, this.itemDisabled) || !this.disablePerNode && this.parentIsDisabled && this.selectionType === 'leaf';
32116
32189
  },
32117
32190
  key: function key() {
32118
32191
  return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["getObjectValueByPath"])(this.item, this.itemKey);
@@ -32300,6 +32373,7 @@ var VTreeviewNode = baseMixins.extend().extend({
32300
32373
  selectable: this.selectable,
32301
32374
  selectedColor: this.selectedColor,
32302
32375
  color: this.color,
32376
+ disablePerNode: this.disablePerNode,
32303
32377
  expandIcon: this.expandIcon,
32304
32378
  indeterminateIcon: this.indeterminateIcon,
32305
32379
  offIcon: this.offIcon,
@@ -33718,16 +33792,8 @@ function createSimpleTransition(name, origin, mode) {
33718
33792
 
33719
33793
  if (context.props.hideOnLeave) {
33720
33794
  data.on.leave = mergeTransitions(data.on.leave, function (el) {
33721
- el._initialDisplay = [el.style.display, el.style.getPropertyPriority('display')];
33722
33795
  el.style.setProperty('display', 'none', 'important');
33723
33796
  });
33724
- data.on.afterLeave = mergeTransitions(data.on.afterLeave, function (el) {
33725
- var _a;
33726
-
33727
- if (el) {
33728
- el._initialDisplay ? (_a = el.style).setProperty.apply(_a, __spread(['display'], el._initialDisplay)) : el.style.removeProperty('display');
33729
- }
33730
- });
33731
33797
  }
33732
33798
 
33733
33799
  return h(tag, Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_0__["default"])(context.data, data), context.children);
@@ -33990,7 +34056,7 @@ function checkIsActive(e, binding) {
33990
34056
  return isActive(e);
33991
34057
  }
33992
34058
 
33993
- function directive(e, el, binding) {
34059
+ function directive(e, el, binding, vnode) {
33994
34060
  var handler = typeof binding.value === 'function' ? binding.value : binding.value.handler;
33995
34061
  el._clickOutside.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(function () {
33996
34062
  checkIsActive(e, binding) && handler && handler(e);
@@ -34012,9 +34078,9 @@ var ClickOutside = {
34012
34078
  // sure that the root element is
34013
34079
  // available, iOS does not support
34014
34080
  // clicks on body
34015
- inserted: function inserted(el, binding) {
34081
+ inserted: function inserted(el, binding, vnode) {
34016
34082
  var onClick = function onClick(e) {
34017
- return directive(e, el, binding);
34083
+ return directive(e, el, binding, vnode);
34018
34084
  };
34019
34085
 
34020
34086
  var onMousedown = function onMousedown(e) {
@@ -34025,20 +34091,31 @@ var ClickOutside = {
34025
34091
  app.addEventListener('click', onClick, true);
34026
34092
  app.addEventListener('mousedown', onMousedown, true);
34027
34093
  });
34028
- el._clickOutside = {
34029
- lastMousedownWasOutside: true,
34094
+
34095
+ if (!el._clickOutside) {
34096
+ el._clickOutside = {
34097
+ lastMousedownWasOutside: true
34098
+ };
34099
+ }
34100
+
34101
+ el._clickOutside[vnode.context._uid] = {
34030
34102
  onClick: onClick,
34031
34103
  onMousedown: onMousedown
34032
34104
  };
34033
34105
  },
34034
- unbind: function unbind(el) {
34106
+ unbind: function unbind(el, binding, vnode) {
34035
34107
  if (!el._clickOutside) return;
34036
34108
  handleShadow(el, function (app) {
34037
- if (!app || !el._clickOutside) return;
34038
- app.removeEventListener('click', el._clickOutside.onClick, true);
34039
- app.removeEventListener('mousedown', el._clickOutside.onMousedown, true);
34109
+ var _a;
34110
+
34111
+ if (!app || !((_a = el._clickOutside) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
34112
+ var _b = el._clickOutside[vnode.context._uid],
34113
+ onClick = _b.onClick,
34114
+ onMousedown = _b.onMousedown;
34115
+ app.removeEventListener('click', onClick, true);
34116
+ app.removeEventListener('mousedown', onMousedown, true);
34040
34117
  });
34041
- delete el._clickOutside;
34118
+ delete el._clickOutside[vnode.context._uid];
34042
34119
  }
34043
34120
  };
34044
34121
  /* harmony default export */ __webpack_exports__["default"] = (ClickOutside);
@@ -34097,7 +34174,7 @@ __webpack_require__.r(__webpack_exports__);
34097
34174
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Intersect", function() { return Intersect; });
34098
34175
  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); }
34099
34176
 
34100
- function inserted(el, binding) {
34177
+ function inserted(el, binding, vnode) {
34101
34178
  if (typeof window === 'undefined' || !('IntersectionObserver' in window)) return;
34102
34179
  var modifiers = binding.modifiers || {};
34103
34180
  var value = binding.value;
@@ -34110,39 +34187,42 @@ function inserted(el, binding) {
34110
34187
  options = _a.options;
34111
34188
 
34112
34189
  var observer = new IntersectionObserver(function (entries, observer) {
34190
+ var _a;
34191
+
34113
34192
  if (entries === void 0) {
34114
34193
  entries = [];
34115
34194
  }
34116
- /* istanbul ignore if */
34117
34195
 
34196
+ var _observe = (_a = el._observe) === null || _a === void 0 ? void 0 : _a[vnode.context._uid];
34118
34197
 
34119
- if (!el._observe) return; // Just in case, should never fire
34198
+ if (!_observe) return; // Just in case, should never fire
34120
34199
 
34121
34200
  var isIntersecting = entries.some(function (entry) {
34122
34201
  return entry.isIntersecting;
34123
34202
  }); // If is not quiet or has already been
34124
34203
  // initted, invoke the user callback
34125
34204
 
34126
- if (handler && (!modifiers.quiet || el._observe.init) && (!modifiers.once || isIntersecting || !el._observe.init)) {
34205
+ if (handler && (!modifiers.quiet || _observe.init) && (!modifiers.once || isIntersecting || _observe.init)) {
34127
34206
  handler(entries, observer, isIntersecting);
34128
34207
  }
34129
34208
 
34130
- if (isIntersecting && modifiers.once) unbind(el);else el._observe.init = true;
34209
+ if (isIntersecting && modifiers.once) unbind(el, binding, vnode);else _observe.init = true;
34131
34210
  }, options);
34132
- el._observe = {
34211
+ el._observe = Object(el._observe);
34212
+ el._observe[vnode.context._uid] = {
34133
34213
  init: false,
34134
34214
  observer: observer
34135
34215
  };
34136
34216
  observer.observe(el);
34137
34217
  }
34138
34218
 
34139
- function unbind(el) {
34140
- /* istanbul ignore if */
34141
- if (!el._observe) return;
34142
-
34143
- el._observe.observer.unobserve(el);
34219
+ function unbind(el, binding, vnode) {
34220
+ var _a;
34144
34221
 
34145
- delete el._observe;
34222
+ var observe = (_a = el._observe) === null || _a === void 0 ? void 0 : _a[vnode.context._uid];
34223
+ if (!observe) return;
34224
+ observe.observer.unobserve(el);
34225
+ delete el._observe[vnode.context._uid];
34146
34226
  }
34147
34227
 
34148
34228
  var Intersect = {
@@ -34178,7 +34258,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
34178
34258
  return t;
34179
34259
  };
34180
34260
 
34181
- function inserted(el, binding) {
34261
+ function inserted(el, binding, vnode) {
34182
34262
  var modifiers = binding.modifiers || {};
34183
34263
  var value = binding.value;
34184
34264
  var callback = _typeof(value) === 'object' ? value.handler : value;
@@ -34207,21 +34287,23 @@ function inserted(el, binding) {
34207
34287
 
34208
34288
  callback(mutationsList, observer); // If has the once modifier, unbind
34209
34289
 
34210
- once && unbind(el);
34290
+ once && unbind(el, binding, vnode);
34211
34291
  });
34212
34292
  observer.observe(el, options);
34213
- el._mutate = {
34293
+ el._mutate = Object(el._mutate);
34294
+ el._mutate[vnode.context._uid] = {
34214
34295
  observer: observer
34215
34296
  };
34216
34297
  }
34217
34298
 
34218
- function unbind(el) {
34219
- /* istanbul ignore if */
34220
- if (!el._mutate) return;
34299
+ function unbind(el, binding, vnode) {
34300
+ var _a;
34301
+
34302
+ if (!((_a = el._mutate) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
34221
34303
 
34222
- el._mutate.observer.disconnect();
34304
+ el._mutate[vnode.context._uid].observer.disconnect();
34223
34305
 
34224
- delete el._mutate;
34306
+ delete el._mutate[vnode.context._uid];
34225
34307
  }
34226
34308
 
34227
34309
  var Mutate = {
@@ -34242,13 +34324,14 @@ var Mutate = {
34242
34324
  "use strict";
34243
34325
  __webpack_require__.r(__webpack_exports__);
34244
34326
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Resize", function() { return Resize; });
34245
- function inserted(el, binding) {
34327
+ function inserted(el, binding, vnode) {
34246
34328
  var callback = binding.value;
34247
34329
  var options = binding.options || {
34248
34330
  passive: true
34249
34331
  };
34250
34332
  window.addEventListener('resize', callback, options);
34251
- el._onResize = {
34333
+ el._onResize = Object(el._onResize);
34334
+ el._onResize[vnode.context._uid] = {
34252
34335
  callback: callback,
34253
34336
  options: options
34254
34337
  };
@@ -34258,13 +34341,15 @@ function inserted(el, binding) {
34258
34341
  }
34259
34342
  }
34260
34343
 
34261
- function unbind(el) {
34262
- if (!el._onResize) return;
34263
- var _a = el._onResize,
34264
- callback = _a.callback,
34265
- options = _a.options;
34344
+ function unbind(el, binding, vnode) {
34345
+ var _a;
34346
+
34347
+ if (!((_a = el._onResize) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
34348
+ var _b = el._onResize[vnode.context._uid],
34349
+ callback = _b.callback,
34350
+ options = _b.options;
34266
34351
  window.removeEventListener('resize', callback, options);
34267
- delete el._onResize;
34352
+ delete el._onResize[vnode.context._uid];
34268
34353
  }
34269
34354
 
34270
34355
  var Resize = {
@@ -34347,10 +34432,6 @@ function transform(el, value) {
34347
34432
  el.style.webkitTransform = value;
34348
34433
  }
34349
34434
 
34350
- function opacity(el, value) {
34351
- el.style.opacity = value.toString();
34352
- }
34353
-
34354
34435
  function isTouchEvent(e) {
34355
34436
  return e.constructor.name === 'TouchEvent';
34356
34437
  }
@@ -34442,13 +34523,11 @@ var ripples = {
34442
34523
  animation.classList.add('v-ripple__animation--enter');
34443
34524
  animation.classList.add('v-ripple__animation--visible');
34444
34525
  transform(animation, "translate(" + x + ", " + y + ") scale3d(" + scale + "," + scale + "," + scale + ")");
34445
- opacity(animation, 0);
34446
34526
  animation.dataset.activated = String(performance.now());
34447
34527
  setTimeout(function () {
34448
34528
  animation.classList.remove('v-ripple__animation--enter');
34449
34529
  animation.classList.add('v-ripple__animation--in');
34450
34530
  transform(animation, "translate(" + centerX + ", " + centerY + ") scale3d(1,1,1)");
34451
- opacity(animation, 0.25);
34452
34531
  }, 0);
34453
34532
  },
34454
34533
  hide: function hide(el) {
@@ -34462,7 +34541,6 @@ var ripples = {
34462
34541
  setTimeout(function () {
34463
34542
  animation.classList.remove('v-ripple__animation--in');
34464
34543
  animation.classList.add('v-ripple__animation--out');
34465
- opacity(animation, 0);
34466
34544
  setTimeout(function () {
34467
34545
  var ripples = el.getElementsByClassName('v-ripple__animation');
34468
34546
 
@@ -34696,7 +34774,7 @@ __webpack_require__.r(__webpack_exports__);
34696
34774
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Scroll", function() { return Scroll; });
34697
34775
  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); }
34698
34776
 
34699
- function inserted(el, binding) {
34777
+ function inserted(el, binding, vnode) {
34700
34778
  var _a = (binding.modifiers || {}).self,
34701
34779
  self = _a === void 0 ? false : _a;
34702
34780
  var value = binding.value;
@@ -34707,7 +34785,8 @@ function inserted(el, binding) {
34707
34785
  var target = self ? el : binding.arg ? document.querySelector(binding.arg) : window;
34708
34786
  if (!target) return;
34709
34787
  target.addEventListener('scroll', handler, options);
34710
- el._onScroll = {
34788
+ el._onScroll = Object(el._onScroll);
34789
+ el._onScroll[vnode.context._uid] = {
34711
34790
  handler: handler,
34712
34791
  options: options,
34713
34792
  // Don't reference self
@@ -34715,15 +34794,17 @@ function inserted(el, binding) {
34715
34794
  };
34716
34795
  }
34717
34796
 
34718
- function unbind(el) {
34719
- if (!el._onScroll) return;
34720
- var _a = el._onScroll,
34721
- handler = _a.handler,
34722
- options = _a.options,
34723
- _b = _a.target,
34724
- target = _b === void 0 ? el : _b;
34797
+ function unbind(el, binding, vnode) {
34798
+ var _a;
34799
+
34800
+ if (!((_a = el._onScroll) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
34801
+ var _b = el._onScroll[vnode.context._uid],
34802
+ handler = _b.handler,
34803
+ options = _b.options,
34804
+ _c = _b.target,
34805
+ target = _c === void 0 ? el : _c;
34725
34806
  target.removeEventListener('scroll', handler, options);
34726
- delete el._onScroll;
34807
+ delete el._onScroll[vnode.context._uid];
34727
34808
  }
34728
34809
 
34729
34810
  var Scroll = {
@@ -34922,7 +35003,7 @@ function () {
34922
35003
 
34923
35004
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
34924
35005
  Vuetify.installed = false;
34925
- Vuetify.version = "2.6.0-beta.0";
35006
+ Vuetify.version = "2.6.3";
34926
35007
  Vuetify.config = {
34927
35008
  silent: false
34928
35009
  };
@@ -36359,7 +36440,7 @@ __webpack_require__.r(__webpack_exports__);
36359
36440
  },
36360
36441
  rating: {
36361
36442
  ariaLabel: {
36362
- icon: 'Rating {0} of {1}'
36443
+ icon: 'Note de {0} sur {1}'
36363
36444
  }
36364
36445
  }
36365
36446
  });
@@ -36903,8 +36984,8 @@ __webpack_require__.r(__webpack_exports__);
36903
36984
  itemsPerPageAll: 'Tutti',
36904
36985
  nextPage: 'Pagina seguente',
36905
36986
  prevPage: 'Pagina precedente',
36906
- firstPage: 'Pagina prima',
36907
- lastPage: 'Pagina ultima',
36987
+ firstPage: 'Prima pagina',
36988
+ lastPage: 'Ultima pagina',
36908
36989
  pageText: '{0}-{1} di {2}'
36909
36990
  },
36910
36991
  datePicker: {
@@ -36919,15 +37000,15 @@ __webpack_require__.r(__webpack_exports__);
36919
37000
  prev: 'Vista precedente',
36920
37001
  next: 'Prossima vista',
36921
37002
  ariaLabel: {
36922
- delimiter: 'Carousel slide {0} of {1}'
37003
+ delimiter: 'Carousel slide {0} di {1}'
36923
37004
  }
36924
37005
  },
36925
37006
  calendar: {
36926
37007
  moreEvents: '{0} di più'
36927
37008
  },
36928
37009
  fileInput: {
36929
- counter: '{0} files',
36930
- counterSize: '{0} files ({1} in totale)'
37010
+ counter: '{0} file',
37011
+ counterSize: '{0} file ({1} in totale)'
36931
37012
  },
36932
37013
  timePicker: {
36933
37014
  am: 'AM',
@@ -36944,7 +37025,7 @@ __webpack_require__.r(__webpack_exports__);
36944
37025
  },
36945
37026
  rating: {
36946
37027
  ariaLabel: {
36947
- icon: 'Rating {0} of {1}'
37028
+ icon: 'Valutazione {0} di {1}'
36948
37029
  }
36949
37030
  }
36950
37031
  });
@@ -38706,6 +38787,10 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
38706
38787
  },
38707
38788
  disabled: Boolean,
38708
38789
  internalActivator: Boolean,
38790
+ openOnClick: {
38791
+ type: Boolean,
38792
+ default: true
38793
+ },
38709
38794
  openOnHover: Boolean,
38710
38795
  openOnFocus: Boolean
38711
38796
  },
@@ -38770,7 +38855,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
38770
38855
  },
38771
38856
  genActivatorAttributes: function genActivatorAttributes() {
38772
38857
  return {
38773
- role: 'button',
38858
+ role: this.openOnClick && !this.openOnHover ? 'button' : undefined,
38774
38859
  'aria-haspopup': true,
38775
38860
  'aria-expanded': String(this.isActive)
38776
38861
  };
@@ -38793,7 +38878,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
38793
38878
 
38794
38879
  _this.runDelay('close');
38795
38880
  };
38796
- } else {
38881
+ } else if (this.openOnClick) {
38797
38882
  listeners.click = function (e) {
38798
38883
  var activator = _this.getActivator(e);
38799
38884
 
@@ -39513,6 +39598,12 @@ function validateAttachTarget(val) {
39513
39598
  if (type === 'boolean' || type === 'string') return true;
39514
39599
  return val.nodeType === Node.ELEMENT_NODE;
39515
39600
  }
39601
+
39602
+ function removeActivator(activator) {
39603
+ activator.forEach(function (node) {
39604
+ node.elm && node.elm.parentNode && node.elm.parentNode.removeChild(node.elm);
39605
+ });
39606
+ }
39516
39607
  /* @vue/component */
39517
39608
 
39518
39609
 
@@ -39566,23 +39657,35 @@ function validateAttachTarget(val) {
39566
39657
  this.isActive = false;
39567
39658
  },
39568
39659
  beforeDestroy: function beforeDestroy() {
39569
- // IE11 Fix
39570
- try {
39571
- if (this.$refs.content && this.$refs.content.parentNode) {
39572
- this.$refs.content.parentNode.removeChild(this.$refs.content);
39573
- }
39660
+ if (this.$refs.content && this.$refs.content.parentNode) {
39661
+ this.$refs.content.parentNode.removeChild(this.$refs.content);
39662
+ }
39663
+ },
39664
+ destroyed: function destroyed() {
39665
+ var _this = this;
39574
39666
 
39575
- if (this.activatorNode) {
39576
- var activator = Array.isArray(this.activatorNode) ? this.activatorNode : [this.activatorNode];
39577
- activator.forEach(function (node) {
39578
- node.elm && node.elm.parentNode && node.elm.parentNode.removeChild(node.elm);
39667
+ if (this.activatorNode) {
39668
+ var activator_1 = Array.isArray(this.activatorNode) ? this.activatorNode : [this.activatorNode];
39669
+
39670
+ if (this.$el.isConnected) {
39671
+ // Component has been destroyed but the element still exists, we must be in a transition
39672
+ // Wait for the transition to finish before cleaning up the detached activator
39673
+ var observer_1 = new MutationObserver(function (list) {
39674
+ if (list.some(function (record) {
39675
+ return Array.from(record.removedNodes).includes(_this.$el);
39676
+ })) {
39677
+ observer_1.disconnect();
39678
+ removeActivator(activator_1);
39679
+ }
39680
+ });
39681
+ observer_1.observe(this.$el.parentNode, {
39682
+ subtree: false,
39683
+ childList: true
39579
39684
  });
39685
+ } else {
39686
+ removeActivator(activator_1);
39580
39687
  }
39581
- } catch (e) {
39582
- console.log(e);
39583
39688
  }
39584
- /* eslint-disable-line no-console */
39585
-
39586
39689
  },
39587
39690
  methods: {
39588
39691
  getScopeIdAttrs: function getScopeIdAttrs() {
@@ -39766,17 +39869,26 @@ __webpack_require__.r(__webpack_exports__);
39766
39869
  function intersectable(options) {
39767
39870
  return vue__WEBPACK_IMPORTED_MODULE_2___default.a.extend({
39768
39871
  name: 'intersectable',
39872
+ data: function data() {
39873
+ return {
39874
+ isIntersecting: false
39875
+ };
39876
+ },
39769
39877
  mounted: function mounted() {
39770
39878
  _directives_intersect__WEBPACK_IMPORTED_MODULE_0__["default"].inserted(this.$el, {
39771
39879
  name: 'intersect',
39772
39880
  value: this.onObserve
39773
- });
39881
+ }, this.$vnode);
39774
39882
  },
39775
39883
  destroyed: function destroyed() {
39776
- _directives_intersect__WEBPACK_IMPORTED_MODULE_0__["default"].unbind(this.$el);
39884
+ _directives_intersect__WEBPACK_IMPORTED_MODULE_0__["default"].unbind(this.$el, {
39885
+ name: 'intersect',
39886
+ value: this.onObserve
39887
+ }, this.$vnode);
39777
39888
  },
39778
39889
  methods: {
39779
39890
  onObserve: function onObserve(entries, observer, isIntersecting) {
39891
+ this.isIntersecting = isIntersecting;
39780
39892
  if (!isIntersecting) return;
39781
39893
 
39782
39894
  for (var i = 0, length = options.onVisible.length; i < length; i++) {
@@ -39999,7 +40111,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
39999
40111
  default: 0
40000
40112
  },
40001
40113
  offsetOverflow: Boolean,
40002
- openOnClick: Boolean,
40003
40114
  positionX: {
40004
40115
  type: Number,
40005
40116
  default: null
@@ -40061,7 +40172,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
40061
40172
  var activatorLeft = (this.attach !== false ? a.offsetLeft : a.left) || 0;
40062
40173
  var minWidth = Math.max(a.width, c.width);
40063
40174
  var left = 0;
40064
- left += this.left ? activatorLeft - (minWidth - a.width) : activatorLeft;
40175
+ left += activatorLeft;
40176
+ if (this.left || this.$vuetify.rtl && !this.right) left -= minWidth - a.width;
40065
40177
 
40066
40178
  if (this.offsetX) {
40067
40179
  var maxWidth = isNaN(Number(this.maxWidth)) ? a.width : Math.min(a.width, Number(this.maxWidth));
@@ -40201,14 +40313,16 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
40201
40313
  var listeners = _activatable__WEBPACK_IMPORTED_MODULE_2__["default"].options.methods.genActivatorListeners.call(this);
40202
40314
  var onClick = listeners.click;
40203
40315
 
40204
- listeners.click = function (e) {
40205
- if (_this.openOnClick) {
40206
- onClick && onClick(e);
40207
- }
40316
+ if (onClick) {
40317
+ listeners.click = function (e) {
40318
+ if (_this.openOnClick) {
40319
+ onClick && onClick(e);
40320
+ }
40208
40321
 
40209
- _this.absoluteX = e.clientX;
40210
- _this.absoluteY = e.clientY;
40211
- };
40322
+ _this.absoluteX = e.clientX;
40323
+ _this.absoluteY = e.clientY;
40324
+ };
40325
+ }
40212
40326
 
40213
40327
  return listeners;
40214
40328
  },
@@ -40506,19 +40620,30 @@ __webpack_require__.r(__webpack_exports__);
40506
40620
  hasScrollbar: function hasScrollbar(el) {
40507
40621
  if (!el || el.nodeType !== Node.ELEMENT_NODE) return false;
40508
40622
  var style = window.getComputedStyle(el);
40509
- return ['auto', 'scroll'].includes(style.overflowY) && el.scrollHeight > el.clientHeight;
40623
+ return (['auto', 'scroll'].includes(style.overflowY) || el.tagName === 'SELECT') && el.scrollHeight > el.clientHeight || ['auto', 'scroll'].includes(style.overflowX) && el.scrollWidth > el.clientWidth;
40510
40624
  },
40511
- shouldScroll: function shouldScroll(el, delta) {
40625
+ shouldScroll: function shouldScroll(el, e) {
40512
40626
  if (el.hasAttribute('data-app')) return false;
40513
- var alreadyAtTop = el.scrollTop === 0;
40514
- var alreadyAtBottom = el.scrollTop + el.clientHeight === el.scrollHeight;
40627
+ var dir = e.shiftKey || e.deltaX ? 'x' : 'y';
40628
+ var delta = dir === 'y' ? e.deltaY : e.deltaX || e.deltaY;
40629
+ var alreadyAtStart;
40630
+ var alreadyAtEnd;
40631
+
40632
+ if (dir === 'y') {
40633
+ alreadyAtStart = el.scrollTop === 0;
40634
+ alreadyAtEnd = el.scrollTop + el.clientHeight === el.scrollHeight;
40635
+ } else {
40636
+ alreadyAtStart = el.scrollLeft === 0;
40637
+ alreadyAtEnd = el.scrollLeft + el.clientWidth === el.scrollWidth;
40638
+ }
40639
+
40515
40640
  var scrollingUp = delta < 0;
40516
40641
  var scrollingDown = delta > 0;
40517
- if (!alreadyAtTop && scrollingUp) return true;
40518
- if (!alreadyAtBottom && scrollingDown) return true;
40642
+ if (!alreadyAtStart && scrollingUp) return true;
40643
+ if (!alreadyAtEnd && scrollingDown) return true;
40519
40644
 
40520
- if (alreadyAtTop || alreadyAtBottom) {
40521
- return this.shouldScroll(el.parentNode, delta);
40645
+ if (alreadyAtStart || alreadyAtEnd) {
40646
+ return this.shouldScroll(el.parentNode, e);
40522
40647
  }
40523
40648
 
40524
40649
  return false;
@@ -40534,7 +40659,6 @@ __webpack_require__.r(__webpack_exports__);
40534
40659
  },
40535
40660
  checkPath: function checkPath(e) {
40536
40661
  var path = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["composedPath"])(e);
40537
- var delta = e.deltaY;
40538
40662
 
40539
40663
  if (e.type === 'keydown' && path[0] === document.body) {
40540
40664
  var dialog = this.$refs.dialog; // getSelection returns null in firefox in some edge cases, can be ignored
@@ -40542,7 +40666,7 @@ __webpack_require__.r(__webpack_exports__);
40542
40666
  var selected = window.getSelection().anchorNode;
40543
40667
 
40544
40668
  if (dialog && this.hasScrollbar(dialog) && this.isInside(selected, dialog)) {
40545
- return !this.shouldScroll(dialog, delta);
40669
+ return !this.shouldScroll(dialog, e);
40546
40670
  }
40547
40671
 
40548
40672
  return true;
@@ -40553,7 +40677,7 @@ __webpack_require__.r(__webpack_exports__);
40553
40677
  if (el === document) return true;
40554
40678
  if (el === document.documentElement) return true;
40555
40679
  if (el === this.$refs.content) return true;
40556
- if (this.hasScrollbar(el)) return !this.shouldScroll(el, delta);
40680
+ if (this.hasScrollbar(el)) return !this.shouldScroll(el, e);
40557
40681
  }
40558
40682
 
40559
40683
  return true;
@@ -41167,10 +41291,10 @@ var __assign = undefined && undefined.__assign || function () {
41167
41291
  watch: {
41168
41292
  $route: 'onRouteChange'
41169
41293
  },
41294
+ mounted: function mounted() {
41295
+ this.onRouteChange();
41296
+ },
41170
41297
  methods: {
41171
- click: function click(e) {
41172
- this.$emit('click', e);
41173
- },
41174
41298
  generateRouteLink: function generateRouteLink() {
41175
41299
  var _a;
41176
41300
 
@@ -41187,9 +41311,9 @@ var __assign = undefined && undefined.__assign || function () {
41187
41311
  name: 'ripple',
41188
41312
  value: this.computedRipple
41189
41313
  }]
41190
- }, _a[this.to ? 'nativeOn' : 'on'] = __assign(__assign({}, this.$listeners), {
41314
+ }, _a[this.to ? 'nativeOn' : 'on'] = __assign(__assign({}, this.$listeners), 'click' in this ? {
41191
41315
  click: this.click
41192
- }), _a.ref = 'link', _a);
41316
+ } : undefined), _a.ref = 'link', _a);
41193
41317
 
41194
41318
  if (typeof this.exact === 'undefined') {
41195
41319
  exact = this.to === '/' || this.to === Object(this.to) && this.to.path === '/';
@@ -41231,16 +41355,19 @@ var __assign = undefined && undefined.__assign || function () {
41231
41355
  var _this = this;
41232
41356
 
41233
41357
  if (!this.to || !this.$refs.link || !this.$route) return;
41234
- var activeClass = (this.activeClass + " " + (this.proxyClass || '')).trim();
41235
- var path = "_vnode.data.class." + activeClass;
41358
+ var activeClass = ((this.activeClass || '') + " " + (this.proxyClass || '')).trim();
41359
+ var exactActiveClass = ((this.exactActiveClass || '') + " " + (this.proxyClass || '')).trim() || activeClass;
41360
+ var path = '_vnode.data.class.' + (this.exact ? exactActiveClass : activeClass);
41236
41361
  this.$nextTick(function () {
41237
41362
  /* istanbul ignore else */
41238
- if (Object(_util_helpers__WEBPACK_IMPORTED_MODULE_2__["getObjectValueByPath"])(_this.$refs.link, path)) {
41363
+ if (!Object(_util_helpers__WEBPACK_IMPORTED_MODULE_2__["getObjectValueByPath"])(_this.$refs.link, path) === _this.isActive) {
41239
41364
  _this.toggle();
41240
41365
  }
41241
41366
  });
41242
41367
  },
41243
- toggle: function toggle() {}
41368
+ toggle: function toggle() {
41369
+ this.isActive = !this.isActive;
41370
+ }
41244
41371
  }
41245
41372
  }));
41246
41373
 
@@ -42389,9 +42516,7 @@ function (_super) {
42389
42516
  }
42390
42517
 
42391
42518
  Application.prototype.register = function (uid, location, size) {
42392
- var _a;
42393
-
42394
- this.application[location] = (_a = {}, _a[uid] = size, _a);
42519
+ this.application[location][uid] = size;
42395
42520
  this.update(location);
42396
42521
  };
42397
42522
 
@@ -45628,12 +45753,12 @@ function searchItems(items, search) {
45628
45753
  */
45629
45754
 
45630
45755
  function getSlotType(vm, name, split) {
45631
- if (vm.$slots[name] && vm.$scopedSlots[name] && vm.$scopedSlots[name].name) {
45756
+ if (vm.$slots.hasOwnProperty(name) && vm.$scopedSlots.hasOwnProperty(name) && vm.$scopedSlots[name].name) {
45632
45757
  return split ? 'v-slot' : 'scoped';
45633
45758
  }
45634
45759
 
45635
- if (vm.$slots[name]) return 'normal';
45636
- if (vm.$scopedSlots[name]) return 'scoped';
45760
+ if (vm.$slots.hasOwnProperty(name)) return 'normal';
45761
+ if (vm.$scopedSlots.hasOwnProperty(name)) return 'scoped';
45637
45762
  }
45638
45763
  function debounce(fn, delay) {
45639
45764
  var timeoutId = 0;
@@ -45685,9 +45810,9 @@ function getSlot(vm, name, data, optional) {
45685
45810
  optional = false;
45686
45811
  }
45687
45812
 
45688
- if (vm.$scopedSlots[name]) {
45813
+ if (vm.$scopedSlots.hasOwnProperty(name)) {
45689
45814
  return vm.$scopedSlots[name](data instanceof Function ? data() : data);
45690
- } else if (vm.$slots[name] && (!data || optional)) {
45815
+ } else if (vm.$slots.hasOwnProperty(name) && (!data || optional)) {
45691
45816
  return vm.$slots[name];
45692
45817
  }
45693
45818