@dimailn/vuetify 2.7.2-alpha29 → 2.7.2-alpha31

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 (95) hide show
  1. package/dist/vuetify.js +166 -78
  2. package/dist/vuetify.js.map +1 -1
  3. package/dist/vuetify.min.css +1 -1
  4. package/dist/vuetify.min.js +2 -2
  5. package/es5/components/VBreadcrumbs/VBreadcrumbs.js +8 -6
  6. package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
  7. package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js +4 -0
  8. package/es5/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
  9. package/es5/components/VCarousel/VCarousel.js +14 -2
  10. package/es5/components/VCarousel/VCarousel.js.map +1 -1
  11. package/es5/components/VDialog/VDialog.js +47 -26
  12. package/es5/components/VDialog/VDialog.js.map +1 -1
  13. package/es5/components/VFileInput/VFileInput.js +50 -28
  14. package/es5/components/VFileInput/VFileInput.js.map +1 -1
  15. package/es5/components/VPagination/VPagination.js +15 -18
  16. package/es5/components/VPagination/VPagination.js.map +1 -1
  17. package/es5/components/VRangeSlider/VRangeSlider.js +57 -32
  18. package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
  19. package/es5/components/VSubheader/VSubheader.js +1 -1
  20. package/es5/components/VSubheader/VSubheader.js.map +1 -1
  21. package/es5/components/VTreeview/VTreeview.js +26 -13
  22. package/es5/components/VTreeview/VTreeview.js.map +1 -1
  23. package/es5/components/VTreeview/VTreeviewNode.js +0 -2
  24. package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
  25. package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
  26. package/es5/framework.js +1 -1
  27. package/lib/components/VBreadcrumbs/VBreadcrumbs.js +7 -5
  28. package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
  29. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js +4 -0
  30. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.js.map +1 -1
  31. package/lib/components/VCarousel/VCarousel.js +14 -2
  32. package/lib/components/VCarousel/VCarousel.js.map +1 -1
  33. package/lib/components/VDialog/VDialog.js +9 -2
  34. package/lib/components/VDialog/VDialog.js.map +1 -1
  35. package/lib/components/VFileInput/VFileInput.js +43 -26
  36. package/lib/components/VFileInput/VFileInput.js.map +1 -1
  37. package/lib/components/VPagination/VPagination.js +15 -19
  38. package/lib/components/VPagination/VPagination.js.map +1 -1
  39. package/lib/components/VRangeSlider/VRangeSlider.js +16 -4
  40. package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
  41. package/lib/components/VSubheader/VSubheader.js +1 -1
  42. package/lib/components/VSubheader/VSubheader.js.map +1 -1
  43. package/lib/components/VTreeview/VTreeview.js +15 -7
  44. package/lib/components/VTreeview/VTreeview.js.map +1 -1
  45. package/lib/components/VTreeview/VTreeviewNode.js +0 -2
  46. package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
  47. package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
  48. package/lib/framework.js +1 -1
  49. package/package.json +1 -1
  50. package/src/components/VBottomNavigation/__tests__/VBottomNavigation.spec.ts +43 -37
  51. package/src/components/VBottomNavigation/__tests__/__snapshots__/VBottomNavigation.spec.ts.snap +11 -10
  52. package/src/components/VBreadcrumbs/VBreadcrumbs.ts +8 -4
  53. package/src/components/VBreadcrumbs/VBreadcrumbsItem.ts +4 -0
  54. package/src/components/VBreadcrumbs/__tests__/VBreadcrumbs.spec.ts +125 -10
  55. package/src/components/VBreadcrumbs/__tests__/VBreadcrumbsItem.spec.ts +10 -6
  56. package/src/components/VBtnToggle/__tests__/VBtnToggle.spec.ts +10 -6
  57. package/src/components/VCarousel/VCarousel.ts +15 -3
  58. package/src/components/VCarousel/__tests__/VCarousel.spec.ts +74 -54
  59. package/src/components/VCarousel/__tests__/VCarouselItem.spec.ts +9 -5
  60. package/src/components/VCarousel/__tests__/__snapshots__/VCarousel.spec.ts.snap +1 -1
  61. package/src/components/VDialog/VDialog.ts +14 -4
  62. package/src/components/VDialog/__tests__/VDialog.spec.ts +105 -101
  63. package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +0 -15
  64. package/src/components/VExpansionPanel/__tests__/VExpansionPanel.spec.ts +43 -27
  65. package/src/components/VExpansionPanel/__tests__/__snapshots__/VExpansionPanel.spec.ts.snap +18 -16
  66. package/src/components/VFileInput/VFileInput.ts +46 -33
  67. package/src/components/VFileInput/__tests__/VFileInput.spec.ts +84 -54
  68. package/src/components/VFileInput/__tests__/__snapshots__/VFileInput.spec.ts.snap +242 -146
  69. package/src/components/VImg/__tests__/VImg.spec.ts +21 -20
  70. package/src/components/VImg/__tests__/__snapshots__/VImg.spec.ts.snap +16 -11
  71. package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +84 -71
  72. package/src/components/VPagination/VPagination.ts +16 -19
  73. package/src/components/VPagination/__tests__/VPagination.spec.ts +85 -71
  74. package/src/components/VPagination/__tests__/__snapshots__/VPagination.spec.ts.snap +184 -429
  75. package/src/components/VRangeSlider/VRangeSlider.ts +19 -4
  76. package/src/components/VRangeSlider/__tests__/VRangeSlider.spec.ts +40 -40
  77. package/src/components/VRangeSlider/__tests__/__snapshots__/VRangeSlider.spec.ts.snap +32 -38
  78. package/src/components/VSubheader/VSubheader.ts +1 -1
  79. package/src/components/VSubheader/__tests__/VSubheader.spec.ts +12 -7
  80. package/src/components/VSubheader/__tests__/__snapshots__/VSubheader.spec.ts.snap +1 -1
  81. package/src/components/VSystemBar/__tests__/VSystemBar.spec.ts +89 -17
  82. package/src/components/VTimeline/__tests__/VTimelineItem.spec.ts +25 -35
  83. package/src/components/VTimeline/__tests__/__snapshots__/VTimelineItem.spec.ts.snap +4 -5
  84. package/src/components/VTreeview/VTreeview.ts +20 -12
  85. package/src/components/VTreeview/VTreeviewNode.ts +0 -2
  86. package/src/components/VTreeview/__tests__/VTreeview.spec.ts +168 -174
  87. package/src/components/VTreeview/__tests__/VTreeviewNode.spec.ts +77 -66
  88. package/src/components/VTreeview/__tests__/__snapshots__/VTreeview.spec.ts.snap +141 -141
  89. package/src/components/VTreeview/__tests__/__snapshots__/VTreeviewNode.spec.ts.snap +26 -51
  90. package/src/components/VVirtualScroll/VVirtualScroll.ts +0 -1
  91. package/src/components/VVirtualScroll/__tests__/VVirtualScroll.spec.ts +6 -9
  92. package/src/components/VWindow/__tests__/VWindow.spec.ts +78 -0
  93. package/src/components/VWindow/__tests__/VWindowItem.spec.ts +127 -0
  94. package/src/components/VWindow/__tests__/__snapshots__/VWindow.spec.ts.snap +59 -0
  95. package/src/components/VWindow/__tests__/__snapshots__/VWindowItem.spec.ts.snap +36 -0
package/dist/vuetify.js CHANGED
@@ -2433,7 +2433,7 @@ var __assign = undefined && undefined.__assign || function () {
2433
2433
  var _this = this;
2434
2434
 
2435
2435
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VBreadcrumbsDivider__WEBPACK_IMPORTED_MODULE_3__["default"], {}, function () {
2436
- return _this.$slots.divider ? _this.$slots.divider : _this.divider;
2436
+ return _this.$slots.divider ? _this.$slots.divider() : _this.divider;
2437
2437
  });
2438
2438
  },
2439
2439
  genItems: function genItems() {
@@ -2446,11 +2446,13 @@ var __assign = undefined && undefined.__assign || function () {
2446
2446
  keys.push(item.text);
2447
2447
  if (hasSlot) items.push(this_1.$slots.item({
2448
2448
  item: item
2449
- }));else items.push(Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VBreadcrumbsItem__WEBPACK_IMPORTED_MODULE_2__["default"], __assign({
2450
- key: keys.join('.')
2451
- }, item), function () {
2452
- return [item.text];
2453
- }));
2449
+ }));else {
2450
+ items.push(Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VBreadcrumbsItem__WEBPACK_IMPORTED_MODULE_2__["default"], __assign({
2451
+ key: keys.join('.')
2452
+ }, item), function () {
2453
+ return [item.text];
2454
+ }));
2455
+ }
2454
2456
  if (i < this_1.items.length - 1) items.push(this_1.genDivider());
2455
2457
  };
2456
2458
 
@@ -2536,6 +2538,10 @@ var __assign = undefined && undefined.__assign || function () {
2536
2538
  ripple: {
2537
2539
  type: [Boolean, Object],
2538
2540
  default: false
2541
+ },
2542
+ text: {
2543
+ type: String,
2544
+ default: ''
2539
2545
  }
2540
2546
  },
2541
2547
  computed: {
@@ -7288,10 +7294,22 @@ var __read = undefined && undefined.__read || function (o, n) {
7288
7294
  }
7289
7295
  },
7290
7296
  render: function render() {
7291
- var render = _VWindow_VWindow__WEBPACK_IMPORTED_MODULE_1__["default"].render.call(this, vue__WEBPACK_IMPORTED_MODULE_8__["h"]);
7292
- render.style = "height: " + Object(_util_helpers__WEBPACK_IMPORTED_MODULE_6__["convertToUnit"])(this.height) + ";";
7297
+ var render = _VWindow_VWindow__WEBPACK_IMPORTED_MODULE_1__["default"].render.call(this, vue__WEBPACK_IMPORTED_MODULE_8__["h"]); // Update the style object instead of setting render.style directly
7298
+
7299
+ if (render.props) {
7300
+ render.props.style = __assign(__assign({}, render.props.style), {
7301
+ height: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_6__["convertToUnit"])(this.height)
7302
+ });
7303
+ } else {
7304
+ render.props = {
7305
+ style: {
7306
+ height: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_6__["convertToUnit"])(this.height)
7307
+ }
7308
+ };
7309
+ }
7293
7310
  /* istanbul ignore else */
7294
7311
 
7312
+
7295
7313
  if (!this.hideDelimiters) {
7296
7314
  render.children.push(this.genDelimiters());
7297
7315
  }
@@ -15315,7 +15333,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
15315
15333
  },
15316
15334
  width: [String, Number]
15317
15335
  },
15318
- emits: ['click:outside', 'keydown'],
15336
+ emits: ['click:outside', 'keydown', 'update:return-value', 'update:modelValue'],
15319
15337
  data: function data() {
15320
15338
  return {
15321
15339
  activatedBy: null,
@@ -15367,7 +15385,20 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
15367
15385
  }
15368
15386
  },
15369
15387
  created: function created() {
15388
+ var _this = this;
15389
+
15390
+ var breakingProps = [['value', 'modelValue'], ['onInput', 'onUpdate:modelValue']];
15391
+ /* istanbul ignore next */
15392
+
15393
+ breakingProps.forEach(function (_a) {
15394
+ var _b = __read(_a, 2),
15395
+ original = _b[0],
15396
+ replacement = _b[1];
15397
+
15398
+ if (_this.$attrs.hasOwnProperty(original)) Object(_util_console__WEBPACK_IMPORTED_MODULE_11__["breaking"])(original, replacement, _this);
15399
+ });
15370
15400
  /* istanbul ignore next */
15401
+
15371
15402
  if (this.$attrs.hasOwnProperty('full-width')) {
15372
15403
  Object(_util_console__WEBPACK_IMPORTED_MODULE_11__["removed"])('full-width', this);
15373
15404
  }
@@ -16185,6 +16216,19 @@ var __assign = undefined && undefined.__assign || function () {
16185
16216
  return __assign.apply(this, arguments);
16186
16217
  };
16187
16218
 
16219
+ var __rest = undefined && undefined.__rest || function (s, e) {
16220
+ var t = {};
16221
+
16222
+ for (var p in s) {
16223
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
16224
+ }
16225
+
16226
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
16227
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
16228
+ }
16229
+ return t;
16230
+ };
16231
+
16188
16232
  var __read = undefined && undefined.__read || function (o, n) {
16189
16233
  var m = typeof Symbol === "function" && o[Symbol.iterator];
16190
16234
  if (!m) return o;
@@ -16290,7 +16334,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
16290
16334
  }
16291
16335
  }
16292
16336
  },
16293
- emits: ['change', 'keydown'],
16337
+ emits: ['change', 'keydown', 'click:prepend'],
16294
16338
  computed: {
16295
16339
  classes: function classes() {
16296
16340
  return __assign(__assign({}, _VTextField__WEBPACK_IMPORTED_MODULE_1__["default"].computed.classes.call(this)), {
@@ -16308,7 +16352,9 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
16308
16352
  return this.$vuetify.lang.t(this.counterSizeString, fileCount, Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["humanReadableFileSize"])(bytes, this.base === 1024));
16309
16353
  },
16310
16354
  internalArrayValue: function internalArrayValue() {
16311
- return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["wrapInArray"])(this.internalValue);
16355
+ return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["wrapInArray"])(this.internalValue).filter(function (v) {
16356
+ return v instanceof File;
16357
+ });
16312
16358
  },
16313
16359
  internalValue: {
16314
16360
  get: function get() {
@@ -16391,26 +16437,44 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
16391
16437
  var render = _VTextField__WEBPACK_IMPORTED_MODULE_1__["default"].methods.genControl.call(this);
16392
16438
 
16393
16439
  if (this.hideInput) {
16394
- render.style = Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_5__["mergeStyles"])(render.style, {
16395
- display: 'none'
16396
- });
16440
+ if (render.props) {
16441
+ render.props.style = Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_5__["mergeStyles"])(render.props.style, {
16442
+ display: 'none'
16443
+ });
16444
+ } else {
16445
+ render.props = {
16446
+ style: {
16447
+ display: 'none'
16448
+ }
16449
+ };
16450
+ }
16397
16451
  }
16398
16452
 
16399
16453
  return render;
16400
16454
  },
16401
16455
  genInput: function genInput() {
16402
- var input = _VTextField__WEBPACK_IMPORTED_MODULE_1__["default"].methods.genInput.call(this);
16403
- input.multiple = this.multiple; // We should not be setting value
16404
- // programmatically on the input
16405
- // when it is using type="file"
16406
-
16407
- delete input.value; // This solves an issue in Safari where
16408
- // nothing happens when adding a file
16409
- // due to the input event not firing
16410
- // https://github.com/vuetifyjs/vuetify/issues/7941
16411
-
16412
- delete input.onInput;
16413
- input.onChange = this.onInput;
16456
+ // Create input without calling VTextField.genInput to avoid value setting
16457
+ var listeners = Object.assign({}, this.listeners$);
16458
+ delete listeners.change; // Change should not be bound externally
16459
+
16460
+ var _a = this.attrs$,
16461
+ title = _a.title,
16462
+ value = _a.value,
16463
+ inputAttrs = __rest(_a, ["title", "value"]);
16464
+
16465
+ var input = Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('input', __assign(__assign(__assign(__assign({}, inputAttrs), {
16466
+ autofocus: this.autofocus,
16467
+ disabled: this.isDisabled,
16468
+ id: this.computedId,
16469
+ placeholder: this.placeholder,
16470
+ readonly: this.isReadonly,
16471
+ type: this.type,
16472
+ multiple: this.multiple
16473
+ }), listeners), {
16474
+ onChange: this.onInput,
16475
+ onKeyDown: this.onKeyDown,
16476
+ ref: 'input'
16477
+ }));
16414
16478
  return [this.genSelections(), input];
16415
16479
  },
16416
16480
  genPrependSlot: function genPrependSlot() {
@@ -16456,16 +16520,15 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
16456
16520
  genTextFieldSlot: function genTextFieldSlot() {
16457
16521
  var _this = this;
16458
16522
 
16459
- var node = _VTextField__WEBPACK_IMPORTED_MODULE_1__["default"].methods.genTextFieldSlot.call(this);
16460
-
16461
- node.onClick = function (e) {
16462
- // Clicking the label already delegates to input element, so we shouldn't click it twice
16463
- if (e.target && e.target.nodeName === 'LABEL') return;
16464
-
16465
- _this.$refs.input.click();
16466
- };
16523
+ return Object(vue__WEBPACK_IMPORTED_MODULE_6__["h"])('div', {
16524
+ class: 'v-text-field__slot',
16525
+ onClick: function onClick(e) {
16526
+ // Clicking the label already delegates to input element, so we shouldn't click it twice
16527
+ if (e.target && e.target.nodeName === 'LABEL') return;
16467
16528
 
16468
- return node;
16529
+ _this.$refs.input.click();
16530
+ }
16531
+ }, [this.genLabel(), this.prefix ? this.genAffix('prefix') : null, this.genInput(), this.suffix ? this.genAffix('suffix') : null]);
16469
16532
  },
16470
16533
  onInput: function onInput(e) {
16471
16534
  var files = __spreadArray([], __read(e.target.files || []), false);
@@ -22610,9 +22673,6 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22610
22673
  };
22611
22674
  },
22612
22675
  computed: {
22613
- value: function value() {
22614
- return this.modelValue;
22615
- },
22616
22676
  classes: function classes() {
22617
22677
  return __assign({
22618
22678
  'v-pagination': true,
@@ -22637,19 +22697,19 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22637
22697
  var left = Math.floor(maxLength / 2);
22638
22698
  var right = this.length - left + 1 + even;
22639
22699
 
22640
- if (this.value > left && this.value < right) {
22700
+ if (this.modelValue > left && this.modelValue < right) {
22641
22701
  var firstItem = 1;
22642
22702
  var lastItem = this.length;
22643
- var start = this.value - left + 2;
22644
- var end = this.value + left - 2 - even;
22703
+ var start = this.modelValue - left + 2;
22704
+ var end = this.modelValue + left - 2 - even;
22645
22705
  var secondItem = start - 1 === firstItem + 1 ? 2 : '...';
22646
22706
  var beforeLastItem = end + 1 === lastItem - 1 ? end + 1 : '...';
22647
22707
  return __spreadArray(__spreadArray([1, secondItem], __read(this.range(start, end)), false), [beforeLastItem, this.length], false);
22648
- } else if (this.value === left) {
22649
- var end = this.value + left - 1 - even;
22708
+ } else if (this.modelValue === left) {
22709
+ var end = this.modelValue + left - 1 - even;
22650
22710
  return __spreadArray(__spreadArray([], __read(this.range(1, end)), false), ['...', this.length], false);
22651
- } else if (this.value === right) {
22652
- var start = this.value - left + 1;
22711
+ } else if (this.modelValue === right) {
22712
+ var start = this.modelValue - left + 1;
22653
22713
  return __spreadArray([1, '...'], __read(this.range(start, this.length)), false);
22654
22714
  } else {
22655
22715
  return __spreadArray(__spreadArray(__spreadArray([], __read(this.range(1, left)), false), ['...'], false), __read(this.range(right, this.length)), false);
@@ -22671,7 +22731,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22671
22731
  });
22672
22732
  },
22673
22733
  watch: {
22674
- value: function value() {
22734
+ modelValue: function modelValue() {
22675
22735
  this.init();
22676
22736
  }
22677
22737
  },
@@ -22687,7 +22747,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22687
22747
  this.$nextTick(this.onResize); // TODO: Change this (f75dee3a, cbdf7caa)
22688
22748
 
22689
22749
  setTimeout(function () {
22690
- return _this.selected = _this.value;
22750
+ return _this.selected = _this.modelValue;
22691
22751
  }, 100);
22692
22752
  },
22693
22753
  onResize: function onResize() {
@@ -22696,12 +22756,12 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22696
22756
  },
22697
22757
  next: function next(e) {
22698
22758
  e.preventDefault();
22699
- this.$emit('update:modelValue', this.value + 1);
22759
+ this.$emit('update:modelValue', this.modelValue + 1);
22700
22760
  this.$emit('next');
22701
22761
  },
22702
22762
  previous: function previous(e) {
22703
22763
  e.preventDefault();
22704
- this.$emit('update:modelValue', this.value - 1);
22764
+ this.$emit('update:modelValue', this.modelValue - 1);
22705
22765
  this.$emit('previous');
22706
22766
  },
22707
22767
  range: function range(from, to) {
@@ -22733,12 +22793,12 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22733
22793
  genItem: function genItem(h, i) {
22734
22794
  var _this = this;
22735
22795
 
22736
- var color = i === this.value && (this.color || 'primary');
22737
- var isCurrentPage = i === this.value;
22796
+ var color = i === this.modelValue && (this.color || 'primary');
22797
+ var isCurrentPage = i === this.modelValue;
22738
22798
  var ariaLabel = isCurrentPage ? this.currentPageAriaLabel : this.pageAriaLabel;
22739
22799
  return h('button', this.setBackgroundColor(color, {
22740
22800
  class: ['v-pagination__item', {
22741
- 'v-pagination__item--active': i === this.value
22801
+ 'v-pagination__item--active': i === this.modelValue
22742
22802
  }],
22743
22803
  type: 'button',
22744
22804
  'aria-current': isCurrentPage,
@@ -22768,7 +22828,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
22768
22828
  }
22769
22829
  },
22770
22830
  render: function render() {
22771
- var children = [this.genIcon(vue__WEBPACK_IMPORTED_MODULE_0__["h"], this.$vuetify.rtl ? this.nextIcon : this.prevIcon, this.value <= 1, this.previous, this.$vuetify.lang.t(this.previousAriaLabel)), this.genItems(vue__WEBPACK_IMPORTED_MODULE_0__["h"]), this.genIcon(vue__WEBPACK_IMPORTED_MODULE_0__["h"], this.$vuetify.rtl ? this.prevIcon : this.nextIcon, this.value >= this.length, this.next, this.$vuetify.lang.t(this.nextAriaLabel))];
22831
+ var children = [this.genIcon(vue__WEBPACK_IMPORTED_MODULE_0__["h"], this.$vuetify.rtl ? this.nextIcon : this.prevIcon, this.modelValue <= 1, this.previous, this.$vuetify.lang.t(this.previousAriaLabel)), this.genItems(vue__WEBPACK_IMPORTED_MODULE_0__["h"]), this.genIcon(vue__WEBPACK_IMPORTED_MODULE_0__["h"], this.$vuetify.rtl ? this.prevIcon : this.nextIcon, this.modelValue >= this.length, this.next, this.$vuetify.lang.t(this.nextAriaLabel))];
22772
22832
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('nav', {
22773
22833
  role: 'navigation',
22774
22834
  'aria-label': this.$vuetify.lang.t(this.wrapperAriaLabel)
@@ -24088,8 +24148,9 @@ __webpack_require__.r(__webpack_exports__);
24088
24148
  /* harmony import */ var _VRangeSlider_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_VRangeSlider_sass__WEBPACK_IMPORTED_MODULE_0__);
24089
24149
  /* harmony import */ var _VSlider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../VSlider */ "./src/components/VSlider/index.ts");
24090
24150
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
24091
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ "vue");
24092
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_3__);
24151
+ /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
24152
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "vue");
24153
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_4__);
24093
24154
  var __assign = undefined && undefined.__assign || function () {
24094
24155
  __assign = Object.assign || function (t) {
24095
24156
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -24150,23 +24211,25 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
24150
24211
 
24151
24212
 
24152
24213
 
24214
+
24153
24215
  /* @vue/component */
24154
24216
 
24155
- /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_3__["defineComponent"])({
24217
+ /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_4__["defineComponent"])({
24156
24218
  name: 'v-range-slider',
24157
24219
  extends: _VSlider__WEBPACK_IMPORTED_MODULE_1__["default"],
24158
24220
  props: {
24159
- value: {
24221
+ modelValue: {
24160
24222
  type: Array,
24161
24223
  default: function _default() {
24162
24224
  return [0, 0];
24163
24225
  }
24164
24226
  }
24165
24227
  },
24228
+ emits: ['update:modelValue', 'focus', 'blur', 'start', 'change'],
24166
24229
  data: function data() {
24167
24230
  return {
24168
24231
  activeThumb: null,
24169
- lazyValue: this.value
24232
+ lazyValue: this.modelValue
24170
24233
  };
24171
24234
  },
24172
24235
  computed: {
@@ -24204,7 +24267,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
24204
24267
  }
24205
24268
 
24206
24269
  this.lazyValue = value;
24207
- if (!Object(_util_helpers__WEBPACK_IMPORTED_MODULE_2__["deepEqual"])(value, this.value)) this.$emit('input', value);
24270
+ if (!Object(_util_helpers__WEBPACK_IMPORTED_MODULE_2__["deepEqual"])(value, this.modelValue)) this.$emit('update:modelValue', value);
24208
24271
  this.validate();
24209
24272
  }
24210
24273
  },
@@ -24216,6 +24279,20 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
24216
24279
  });
24217
24280
  }
24218
24281
  },
24282
+ created: function created() {
24283
+ var _this = this;
24284
+
24285
+ var breakingProps = [['value', 'modelValue'], ['onInput', 'onUpdate:modelValue']];
24286
+ /* istanbul ignore next */
24287
+
24288
+ breakingProps.forEach(function (_a) {
24289
+ var _b = __read(_a, 2),
24290
+ original = _b[0],
24291
+ replacement = _b[1];
24292
+
24293
+ if (_this.$attrs.hasOwnProperty(original)) Object(_util_console__WEBPACK_IMPORTED_MODULE_3__["breaking"])(original, replacement, _this);
24294
+ });
24295
+ },
24219
24296
  methods: {
24220
24297
  getTrackStyle: function getTrackStyle(startLength, endLength, startPadding, endPadding) {
24221
24298
  var _a;
@@ -24271,12 +24348,12 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
24271
24348
  }];
24272
24349
  if (this.$vuetify.rtl) sections.reverse();
24273
24350
  children.push.apply(children, __spreadArray([], __read(sections.map(function (section) {
24274
- return h('div', _this.setBackgroundColor(section.color, {
24351
+ return Object(vue__WEBPACK_IMPORTED_MODULE_4__["h"])('div', _this.setBackgroundColor(section.color, {
24275
24352
  class: section.class,
24276
24353
  style: _this.getTrackStyle.apply(_this, __spreadArray([], __read(section.styles), false))
24277
24354
  }));
24278
24355
  })), false));
24279
- return h('div', {
24356
+ return Object(vue__WEBPACK_IMPORTED_MODULE_4__["h"])('div', {
24280
24357
  class: 'v-slider__track-container',
24281
24358
  ref: 'track'
24282
24359
  }, children);
@@ -29342,7 +29419,7 @@ var __assign = undefined && undefined.__assign || function () {
29342
29419
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', __assign(__assign(__assign({}, this.$attrs), {
29343
29420
  class: ['v-subheader', __assign({
29344
29421
  'v-subheader--inset': this.inset
29345
- }, this.themeClasses), this.$attrs.class]
29422
+ }, this.themeClasses)]
29346
29423
  }), this.$listeners), Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__["getSlot"])(this));
29347
29424
  }
29348
29425
  }));
@@ -32997,7 +33074,8 @@ __webpack_require__.r(__webpack_exports__);
32997
33074
  /* harmony import */ var _mixins_registrable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/registrable */ "./src/mixins/registrable/index.ts");
32998
33075
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
32999
33076
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
33000
- /* harmony import */ var _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util/filterTreeItems */ "./src/components/VTreeview/util/filterTreeItems.ts");
33077
+ /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
33078
+ /* harmony import */ var _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./util/filterTreeItems */ "./src/components/VTreeview/util/filterTreeItems.ts");
33001
33079
  var __assign = undefined && undefined.__assign || function () {
33002
33080
  __assign = Object.assign || function (t) {
33003
33081
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -33080,6 +33158,7 @@ var __values = undefined && undefined.__values || function (o) {
33080
33158
 
33081
33159
 
33082
33160
 
33161
+
33083
33162
  /* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_mixins_registrable__WEBPACK_IMPORTED_MODULE_4__["provide"])('treeview'), _mixins_themeable__WEBPACK_IMPORTED_MODULE_3__["default"]
33084
33163
  /* @vue/component */
33085
33164
  ).extend({
@@ -33106,6 +33185,12 @@ var __values = undefined && undefined.__values || function (o) {
33106
33185
  return [];
33107
33186
  }
33108
33187
  },
33188
+ modelValue: {
33189
+ type: Array,
33190
+ default: function _default() {
33191
+ return [];
33192
+ }
33193
+ },
33109
33194
  multipleActive: Boolean,
33110
33195
  open: {
33111
33196
  type: Array,
@@ -33119,13 +33204,7 @@ var __values = undefined && undefined.__values || function (o) {
33119
33204
  default: false // TODO: Should be true in next major
33120
33205
 
33121
33206
  },
33122
- search: String,
33123
- value: {
33124
- type: Array,
33125
- default: function _default() {
33126
- return [];
33127
- }
33128
- }
33207
+ search: String
33129
33208
  }, _VTreeviewNode__WEBPACK_IMPORTED_MODULE_2__["VTreeviewNodeProps"]),
33130
33209
  data: function data() {
33131
33210
  return {
@@ -33142,7 +33221,7 @@ var __values = undefined && undefined.__values || function (o) {
33142
33221
  if (!this.search) return excluded;
33143
33222
 
33144
33223
  for (var i = 0; i < this.items.length; i++) {
33145
- Object(_util_filterTreeItems__WEBPACK_IMPORTED_MODULE_7__["filterTreeItems"])(this.filter || _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_7__["filterTreeItem"], this.items[i], this.search, this.itemKey, this.itemText, this.itemChildren, excluded);
33224
+ Object(_util_filterTreeItems__WEBPACK_IMPORTED_MODULE_8__["filterTreeItems"])(this.filter || _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_8__["filterTreeItem"], this.items[i], this.search, this.itemKey, this.itemText, this.itemChildren, excluded);
33146
33225
  }
33147
33226
 
33148
33227
  return excluded;
@@ -33182,8 +33261,8 @@ var __values = undefined && undefined.__values || function (o) {
33182
33261
  active: function active(value) {
33183
33262
  this.handleNodeCacheWatcher(value, this.activeCache, this.updateActive, this.emitActive);
33184
33263
  },
33185
- value: function value(_value) {
33186
- this.handleNodeCacheWatcher(_value, this.selectedCache, this.updateSelected, this.emitSelected);
33264
+ modelValue: function modelValue(value) {
33265
+ this.handleNodeCacheWatcher(value, this.selectedCache, this.updateSelected, this.emitSelected);
33187
33266
  },
33188
33267
  open: function open(value) {
33189
33268
  this.handleNodeCacheWatcher(value, this.openCache, this.updateOpen, this.emitOpen);
@@ -33194,6 +33273,17 @@ var __values = undefined && undefined.__values || function (o) {
33194
33273
 
33195
33274
  var _this = this;
33196
33275
 
33276
+ var breakingProps = [['value', 'modelValue'], ['onInput', 'onUpdate:modelValue'], ['onChange', 'onUpdate:modelValue']];
33277
+ /* istanbul ignore next */
33278
+
33279
+ breakingProps.forEach(function (_a) {
33280
+ var _b = __read(_a, 2),
33281
+ original = _b[0],
33282
+ replacement = _b[1];
33283
+
33284
+ if (_this.$attrs.hasOwnProperty(original)) Object(_util_console__WEBPACK_IMPORTED_MODULE_7__["breaking"])(original, replacement, _this);
33285
+ });
33286
+
33197
33287
  var getValue = function getValue(key) {
33198
33288
  return _this.returnObject ? Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["getObjectValueByPath"])(key, _this.itemKey) : key;
33199
33289
  };
@@ -33201,7 +33291,7 @@ var __values = undefined && undefined.__values || function (o) {
33201
33291
  this.buildTree(this.items);
33202
33292
 
33203
33293
  try {
33204
- for (var _c = __values(this.value.map(getValue)), _d = _c.next(); !_d.done; _d = _c.next()) {
33294
+ for (var _c = __values(this.modelValue.map(getValue)), _d = _c.next(); !_d.done; _d = _c.next()) {
33205
33295
  var value = _d.value;
33206
33296
  this.updateSelected(value, true, true);
33207
33297
  }
@@ -33348,7 +33438,7 @@ var __values = undefined && undefined.__values || function (o) {
33348
33438
  this.emitNodeCache('update:open', this.openCache);
33349
33439
  },
33350
33440
  emitSelected: function emitSelected() {
33351
- this.emitNodeCache('input', this.selectedCache);
33441
+ this.emitNodeCache('update:modelValue', this.selectedCache);
33352
33442
  },
33353
33443
  emitActive: function emitActive() {
33354
33444
  this.emitNodeCache('update:active', this.activeCache);
@@ -33817,7 +33907,6 @@ var VTreeviewNode = baseMixins.extend({
33817
33907
  var children = [];
33818
33908
  if (this.$slots.label) children.push(this.$slots.label(this.scopedProps));else children.push(this.text);
33819
33909
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
33820
- slot: 'label',
33821
33910
  class: 'v-treeview-node__label'
33822
33911
  }, children);
33823
33912
  },
@@ -33847,7 +33936,6 @@ var VTreeviewNode = baseMixins.extend({
33847
33936
  'v-treeview-node__toggle--open': this.isOpen,
33848
33937
  'v-treeview-node__toggle--loading': this.isLoading
33849
33938
  }],
33850
- slot: 'prepend',
33851
33939
  onClick: function onClick(e) {
33852
33940
  e.stopPropagation();
33853
33941
  if (_this.isLoading) return;
@@ -36632,7 +36720,7 @@ function () {
36632
36720
 
36633
36721
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
36634
36722
  Vuetify.installed = false;
36635
- Vuetify.version = "2.7.2-alpha29";
36723
+ Vuetify.version = "2.7.2-alpha31";
36636
36724
  Vuetify.config = {
36637
36725
  silent: false
36638
36726
  };