@dimailn/vuetify 2.7.2-alpha51 → 2.7.2-alpha52
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 +7 -2
- 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/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/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/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-alpha52";
|
|
37121
37123
|
Vuetify.config = {
|
|
37122
37124
|
silent: false
|
|
37123
37125
|
};
|
|
@@ -48803,7 +48805,10 @@ function mergeDeep(source, target) {
|
|
|
48803
48805
|
target = {};
|
|
48804
48806
|
}
|
|
48805
48807
|
|
|
48808
|
+
var blockedKeys = ['__proto__', 'constructor', 'prototype'];
|
|
48809
|
+
|
|
48806
48810
|
for (var key in target) {
|
|
48811
|
+
if (blockedKeys.includes(key)) continue;
|
|
48807
48812
|
var sourceProperty = source[key];
|
|
48808
48813
|
var targetProperty = target[key]; // Only continue deep merging if
|
|
48809
48814
|
// both properties are objects
|