@dimailn/vuetify 2.7.2-alpha51 → 2.7.2-alpha53
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.
- package/dist/vuetify.js +12 -5
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VDatePicker/VDatePicker.js +3 -1
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/routable/index.js +5 -3
- package/es5/mixins/routable/index.js.map +1 -1
- package/es5/util/helpers.js +2 -0
- package/es5/util/helpers.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +3 -1
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/routable/index.js +5 -3
- package/lib/mixins/routable/index.js.map +1 -1
- package/lib/util/helpers.js +3 -0
- package/lib/util/helpers.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VDatePicker/VDatePicker.ts +5 -1
- package/src/components/VDatePicker/__tests__/VDatePicker.date.spec.ts +28 -0
- package/src/components/VList/__tests__/VListItem.spec.ts +119 -0
- package/src/mixins/routable/__tests__/routable.spec.ts +78 -1
- package/src/mixins/routable/index.ts +4 -3
- package/src/services/presets/__tests__/presets.spec.ts +13 -0
- package/src/util/helpers.ts +4 -0
package/dist/vuetify.js
CHANGED
|
@@ -13550,10 +13550,12 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13550
13550
|
}
|
|
13551
13551
|
},
|
|
13552
13552
|
modelValue: function modelValue(newValue, oldValue) {
|
|
13553
|
+
var oldMultipleValue = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["wrapInArray"])(oldValue);
|
|
13554
|
+
var oldLastValue = oldMultipleValue[oldMultipleValue.length - 1];
|
|
13553
13555
|
this.checkMultipleProp();
|
|
13554
13556
|
this.setInputDate();
|
|
13555
13557
|
|
|
13556
|
-
if (!this.isMultiple && this.modelValue && !this.pickerDate || this.isMultiple && this.multipleValue.length && (!oldValue || !oldValue.length) && !this.pickerDate) {
|
|
13558
|
+
if (!this.isMultiple && this.modelValue && !this.pickerDate || this.isMultiple && this.multipleValue.length && (!oldValue || !oldValue.length) && !this.pickerDate || this.isMultiple && this.lastValue !== oldLastValue && !this.pickerDate) {
|
|
13557
13559
|
this.tableDate = Object(_util__WEBPACK_IMPORTED_MODULE_12__["sanitizeDateString"])(this.inputDate, this.type === 'month' ? 'year' : 'month');
|
|
13558
13560
|
}
|
|
13559
13561
|
},
|
|
@@ -37117,7 +37119,7 @@ function () {
|
|
|
37117
37119
|
|
|
37118
37120
|
Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
|
|
37119
37121
|
Vuetify.installed = false;
|
|
37120
|
-
Vuetify.version = "2.7.2-
|
|
37122
|
+
Vuetify.version = "2.7.2-alpha53";
|
|
37121
37123
|
Vuetify.config = {
|
|
37122
37124
|
silent: false
|
|
37123
37125
|
};
|
|
@@ -44128,8 +44130,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
44128
44130
|
var exactActiveClass = this.exactActiveClass || activeClass;
|
|
44129
44131
|
|
|
44130
44132
|
if (this.proxyClass) {
|
|
44131
|
-
activeClass =
|
|
44132
|
-
exactActiveClass =
|
|
44133
|
+
activeClass = [activeClass, this.proxyClass].filter(Boolean).join(' ');
|
|
44134
|
+
exactActiveClass = [exactActiveClass, this.proxyClass].filter(Boolean).join(' ');
|
|
44133
44135
|
}
|
|
44134
44136
|
|
|
44135
44137
|
tag = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])(this.nuxt ? 'nuxt-link' : 'router-link');
|
|
@@ -44163,7 +44165,9 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
44163
44165
|
var path = '_vnode.data.class.' + (this.exact ? exactActiveClass : activeClass);
|
|
44164
44166
|
this.$nextTick(function () {
|
|
44165
44167
|
/* istanbul ignore else */
|
|
44166
|
-
|
|
44168
|
+
var isLinkActive = Boolean(Object(_util_helpers__WEBPACK_IMPORTED_MODULE_2__["getObjectValueByPath"])(_this.$refs.link, path));
|
|
44169
|
+
|
|
44170
|
+
if (isLinkActive !== _this.isActive) {
|
|
44167
44171
|
_this.toggle();
|
|
44168
44172
|
}
|
|
44169
44173
|
});
|
|
@@ -48803,7 +48807,10 @@ function mergeDeep(source, target) {
|
|
|
48803
48807
|
target = {};
|
|
48804
48808
|
}
|
|
48805
48809
|
|
|
48810
|
+
var blockedKeys = ['__proto__', 'constructor', 'prototype'];
|
|
48811
|
+
|
|
48806
48812
|
for (var key in target) {
|
|
48813
|
+
if (blockedKeys.includes(key)) continue;
|
|
48807
48814
|
var sourceProperty = source[key];
|
|
48808
48815
|
var targetProperty = target[key]; // Only continue deep merging if
|
|
48809
48816
|
// both properties are objects
|