vuetify 2.5.13 → 2.5.14

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 (47) hide show
  1. package/dist/json/web-types.json +5 -5
  2. package/dist/vuetify.js +36 -18
  3. package/dist/vuetify.js.map +1 -1
  4. package/dist/vuetify.min.css +1 -1
  5. package/dist/vuetify.min.js +2 -2
  6. package/es5/components/VMenu/VMenu.js +1 -1
  7. package/es5/components/VMenu/VMenu.js.map +1 -1
  8. package/es5/components/VTextField/VTextField.js +6 -1
  9. package/es5/components/VTextField/VTextField.js.map +1 -1
  10. package/es5/directives/click-outside/index.js +3 -1
  11. package/es5/directives/click-outside/index.js.map +1 -1
  12. package/es5/directives/intersect/index.js +8 -5
  13. package/es5/directives/intersect/index.js.map +1 -1
  14. package/es5/directives/mutate/index.js +3 -2
  15. package/es5/directives/mutate/index.js.map +1 -1
  16. package/es5/directives/resize/index.js +3 -1
  17. package/es5/directives/resize/index.js.map +1 -1
  18. package/es5/directives/scroll/index.js.map +1 -1
  19. package/es5/framework.js +1 -1
  20. package/es5/mixins/intersectable/index.js +6 -0
  21. package/es5/mixins/intersectable/index.js.map +1 -1
  22. package/lib/components/VMenu/VMenu.js +1 -1
  23. package/lib/components/VMenu/VMenu.js.map +1 -1
  24. package/lib/components/VTextField/VTextField.js +8 -1
  25. package/lib/components/VTextField/VTextField.js.map +1 -1
  26. package/lib/directives/click-outside/index.js +3 -1
  27. package/lib/directives/click-outside/index.js.map +1 -1
  28. package/lib/directives/intersect/index.js +7 -5
  29. package/lib/directives/intersect/index.js.map +1 -1
  30. package/lib/directives/mutate/index.js +3 -2
  31. package/lib/directives/mutate/index.js.map +1 -1
  32. package/lib/directives/resize/index.js +3 -1
  33. package/lib/directives/resize/index.js.map +1 -1
  34. package/lib/directives/scroll/index.js.map +1 -1
  35. package/lib/framework.js +1 -1
  36. package/lib/mixins/intersectable/index.js +4 -0
  37. package/lib/mixins/intersectable/index.js.map +1 -1
  38. package/package.json +2 -2
  39. package/src/components/VMenu/VMenu.ts +1 -1
  40. package/src/components/VTextField/VTextField.ts +8 -3
  41. package/src/directives/click-outside/index.ts +2 -2
  42. package/src/directives/intersect/index.ts +6 -5
  43. package/src/directives/mutate/index.ts +2 -3
  44. package/src/directives/resize/index.ts +2 -2
  45. package/src/directives/scroll/index.ts +1 -1
  46. package/src/globals.d.ts +5 -5
  47. package/src/mixins/intersectable/index.ts +6 -0
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "2.5.13",
5
+ "version": "2.5.14",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -5097,7 +5097,7 @@
5097
5097
  "name": "start",
5098
5098
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
5099
5099
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar#props",
5100
- "default": "2021-11-08",
5100
+ "default": "2021-11-09",
5101
5101
  "value": {
5102
5102
  "kind": "expression",
5103
5103
  "type": [
@@ -6726,7 +6726,7 @@
6726
6726
  "name": "start",
6727
6727
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
6728
6728
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar-daily#props",
6729
- "default": "2021-11-08",
6729
+ "default": "2021-11-09",
6730
6730
  "value": {
6731
6731
  "kind": "expression",
6732
6732
  "type": [
@@ -6944,7 +6944,7 @@
6944
6944
  "name": "start",
6945
6945
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
6946
6946
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar-weekly#props",
6947
- "default": "2021-11-08",
6947
+ "default": "2021-11-09",
6948
6948
  "value": {
6949
6949
  "kind": "expression",
6950
6950
  "type": [
@@ -7162,7 +7162,7 @@
7162
7162
  "name": "start",
7163
7163
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
7164
7164
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar-monthly#props",
7165
- "default": "2021-11-08",
7165
+ "default": "2021-11-09",
7166
7166
  "value": {
7167
7167
  "kind": "expression",
7168
7168
  "type": [
package/dist/vuetify.js CHANGED
@@ -19955,7 +19955,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19955
19955
  },
19956
19956
  getTiles: function getTiles() {
19957
19957
  if (!this.$refs.content) return;
19958
- this.tiles = Array.from(this.$refs.content.querySelectorAll('.v-list-item'));
19958
+ this.tiles = Array.from(this.$refs.content.querySelectorAll('.v-list-item, .v-divider, .v-subheader'));
19959
19959
  },
19960
19960
  mouseEnterHandler: function mouseEnterHandler() {
19961
19961
  var _this = this;
@@ -28761,7 +28761,12 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
28761
28761
  }, this.setLabelWidth);
28762
28762
  this.autofocus && this.tryAutofocus();
28763
28763
  requestAnimationFrame(function () {
28764
- return _this.isBooted = true;
28764
+ _this.isBooted = true;
28765
+ requestAnimationFrame(function () {
28766
+ if (!_this.isIntersecting) {
28767
+ _this.onResize();
28768
+ }
28769
+ });
28765
28770
  });
28766
28771
  },
28767
28772
  methods: {
@@ -33559,10 +33564,12 @@ var ClickOutside = {
33559
33564
  unbind: function unbind(el, binding, vnode) {
33560
33565
  if (!el._clickOutside) return;
33561
33566
  handleShadow(el, function (app) {
33562
- if (!app || !el._clickOutside) return;
33563
- var _a = el._clickOutside[vnode.context._uid],
33564
- onClick = _a.onClick,
33565
- onMousedown = _a.onMousedown;
33567
+ var _a;
33568
+
33569
+ if (!app || !((_a = el._clickOutside) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
33570
+ var _b = el._clickOutside[vnode.context._uid],
33571
+ onClick = _b.onClick,
33572
+ onMousedown = _b.onMousedown;
33566
33573
  app.removeEventListener('click', onClick, true);
33567
33574
  app.removeEventListener('mousedown', onMousedown, true);
33568
33575
  });
@@ -33644,9 +33651,10 @@ function inserted(el, binding, vnode) {
33644
33651
  entries = [];
33645
33652
  }
33646
33653
 
33647
- if (!((_a = el._observe) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return; // Just in case, should never fire
33654
+ var _observe = (_a = el._observe) === null || _a === void 0 ? void 0 : _a[vnode.context._uid];
33655
+
33656
+ if (!_observe) return; // Just in case, should never fire
33648
33657
 
33649
- var _observe = el._observe[vnode.context._uid];
33650
33658
  var isIntersecting = entries.some(function (entry) {
33651
33659
  return entry.isIntersecting;
33652
33660
  }); // If is not quiet or has already been
@@ -33667,10 +33675,11 @@ function inserted(el, binding, vnode) {
33667
33675
  }
33668
33676
 
33669
33677
  function unbind(el, binding, vnode) {
33670
- if (!el._observe) return;
33671
-
33672
- el._observe[vnode.context._uid].observer.unobserve(el);
33678
+ var _a;
33673
33679
 
33680
+ var observe = (_a = el._observe) === null || _a === void 0 ? void 0 : _a[vnode.context._uid];
33681
+ if (!observe) return;
33682
+ observe.observer.unobserve(el);
33674
33683
  delete el._observe[vnode.context._uid];
33675
33684
  }
33676
33685
 
@@ -33746,8 +33755,9 @@ function inserted(el, binding, vnode) {
33746
33755
  }
33747
33756
 
33748
33757
  function unbind(el, binding, vnode) {
33749
- /* istanbul ignore if */
33750
- if (!el._mutate) return;
33758
+ var _a;
33759
+
33760
+ if (!((_a = el._mutate) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
33751
33761
 
33752
33762
  el._mutate[vnode.context._uid].observer.disconnect();
33753
33763
 
@@ -33790,10 +33800,12 @@ function inserted(el, binding, vnode) {
33790
33800
  }
33791
33801
 
33792
33802
  function unbind(el, binding, vnode) {
33793
- if (!el._onResize) return;
33794
- var _a = el._onResize[vnode.context._uid],
33795
- callback = _a.callback,
33796
- options = _a.options;
33803
+ var _a;
33804
+
33805
+ if (!((_a = el._onResize) === null || _a === void 0 ? void 0 : _a[vnode.context._uid])) return;
33806
+ var _b = el._onResize[vnode.context._uid],
33807
+ callback = _b.callback,
33808
+ options = _b.options;
33797
33809
  window.removeEventListener('resize', callback, options);
33798
33810
  delete el._onResize[vnode.context._uid];
33799
33811
  }
@@ -34456,7 +34468,7 @@ function () {
34456
34468
 
34457
34469
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
34458
34470
  Vuetify.installed = false;
34459
- Vuetify.version = "2.5.13";
34471
+ Vuetify.version = "2.5.14";
34460
34472
  Vuetify.config = {
34461
34473
  silent: false
34462
34474
  };
@@ -39233,6 +39245,11 @@ __webpack_require__.r(__webpack_exports__);
39233
39245
  function intersectable(options) {
39234
39246
  return vue__WEBPACK_IMPORTED_MODULE_2___default.a.extend({
39235
39247
  name: 'intersectable',
39248
+ data: function data() {
39249
+ return {
39250
+ isIntersecting: false
39251
+ };
39252
+ },
39236
39253
  mounted: function mounted() {
39237
39254
  _directives_intersect__WEBPACK_IMPORTED_MODULE_0__["default"].inserted(this.$el, {
39238
39255
  name: 'intersect',
@@ -39247,6 +39264,7 @@ function intersectable(options) {
39247
39264
  },
39248
39265
  methods: {
39249
39266
  onObserve: function onObserve(entries, observer, isIntersecting) {
39267
+ this.isIntersecting = isIntersecting;
39250
39268
  if (!isIntersecting) return;
39251
39269
 
39252
39270
  for (var i = 0, length = options.onVisible.length; i < length; i++) {