@dimailn/vuetify 2.7.2-alpha10 → 2.7.2-alpha11
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 +14 -18
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.js +1 -1
- package/es5/components/VColorPicker/VColorPicker.js +6 -6
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +2 -2
- package/es5/components/VDataIterator/VDataIterator.js.map +1 -1
- package/es5/components/VDatePicker/VDatePicker.js +6 -6
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/mixins/selectable/index.js +0 -4
- package/es5/mixins/selectable/index.js.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.js +6 -6
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.js +2 -2
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +6 -6
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/mixins/selectable/index.js +0 -4
- package/lib/mixins/selectable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VColorPicker/VColorPicker.ts +6 -6
- package/src/components/VDataIterator/VDataIterator.ts +2 -2
- package/src/components/VDatePicker/VDatePicker.ts +6 -6
- package/src/mixins/selectable/index.ts +0 -5
package/dist/vuetify.js
CHANGED
|
@@ -8015,7 +8015,7 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
8015
8015
|
type: [Number, String],
|
|
8016
8016
|
default: 150
|
|
8017
8017
|
},
|
|
8018
|
-
|
|
8018
|
+
modelValue: {
|
|
8019
8019
|
type: [Object, String]
|
|
8020
8020
|
},
|
|
8021
8021
|
width: {
|
|
@@ -8035,8 +8035,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
8035
8035
|
},
|
|
8036
8036
|
computed: {
|
|
8037
8037
|
hideAlpha: function hideAlpha() {
|
|
8038
|
-
if (!this.
|
|
8039
|
-
return !Object(_util__WEBPACK_IMPORTED_MODULE_7__["hasAlpha"])(this.
|
|
8038
|
+
if (!this.modelValue) return false;
|
|
8039
|
+
return !Object(_util__WEBPACK_IMPORTED_MODULE_7__["hasAlpha"])(this.modelValue);
|
|
8040
8040
|
}
|
|
8041
8041
|
},
|
|
8042
8042
|
watch: {
|
|
@@ -8050,10 +8050,10 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
8050
8050
|
methods: {
|
|
8051
8051
|
updateColor: function updateColor(color) {
|
|
8052
8052
|
this.internalValue = color;
|
|
8053
|
-
var value = Object(_util__WEBPACK_IMPORTED_MODULE_7__["extractColor"])(this.internalValue, this.
|
|
8053
|
+
var value = Object(_util__WEBPACK_IMPORTED_MODULE_7__["extractColor"])(this.internalValue, this.modelValue);
|
|
8054
8054
|
|
|
8055
|
-
if (!Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["deepEqual"])(value, this.
|
|
8056
|
-
this.$emit('
|
|
8055
|
+
if (!Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["deepEqual"])(value, this.modelValue)) {
|
|
8056
|
+
this.$emit('update:modelValue', value);
|
|
8057
8057
|
this.$emit('update:color', this.internalValue);
|
|
8058
8058
|
}
|
|
8059
8059
|
},
|
|
@@ -10305,7 +10305,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
10305
10305
|
}
|
|
10306
10306
|
},
|
|
10307
10307
|
watch: {
|
|
10308
|
-
|
|
10308
|
+
modelValue: {
|
|
10309
10309
|
handler: function handler(value) {
|
|
10310
10310
|
var _this = this;
|
|
10311
10311
|
|
|
@@ -10318,7 +10318,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
10318
10318
|
},
|
|
10319
10319
|
selection: function selection(value, old) {
|
|
10320
10320
|
if (Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["deepEqual"])(Object.keys(value), Object.keys(old))) return;
|
|
10321
|
-
this.$emit('
|
|
10321
|
+
this.$emit('update:modelValue', Object.values(value));
|
|
10322
10322
|
},
|
|
10323
10323
|
expanded: {
|
|
10324
10324
|
handler: function handler(value) {
|
|
@@ -13030,7 +13030,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13030
13030
|
var output = this.multipleValue.map(function (val) {
|
|
13031
13031
|
return Object(_util__WEBPACK_IMPORTED_MODULE_12__["sanitizeDateString"])(val, _type);
|
|
13032
13032
|
}).filter(this.isDateAllowed);
|
|
13033
|
-
this.$emit('
|
|
13033
|
+
this.$emit('update:modelValue', this.isMultiple ? output : output[0]);
|
|
13034
13034
|
}
|
|
13035
13035
|
}
|
|
13036
13036
|
},
|
|
@@ -13047,10 +13047,10 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13047
13047
|
emitInput: function emitInput(newInput) {
|
|
13048
13048
|
if (this.range) {
|
|
13049
13049
|
if (this.multipleValue.length !== 1) {
|
|
13050
|
-
this.$emit('
|
|
13050
|
+
this.$emit('update:modelValue', [newInput]);
|
|
13051
13051
|
} else {
|
|
13052
13052
|
var output_1 = [this.multipleValue[0], newInput];
|
|
13053
|
-
this.$emit('
|
|
13053
|
+
this.$emit('update:modelValue', output_1);
|
|
13054
13054
|
this.$emit('change', output_1);
|
|
13055
13055
|
}
|
|
13056
13056
|
|
|
@@ -13060,7 +13060,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13060
13060
|
var output = this.multiple ? this.multipleValue.indexOf(newInput) === -1 ? this.multipleValue.concat([newInput]) : this.multipleValue.filter(function (x) {
|
|
13061
13061
|
return x !== newInput;
|
|
13062
13062
|
}) : newInput;
|
|
13063
|
-
this.$emit('
|
|
13063
|
+
this.$emit('update:modelValue', output);
|
|
13064
13064
|
this.multiple || this.$emit('change', newInput);
|
|
13065
13065
|
},
|
|
13066
13066
|
checkMultipleProp: function checkMultipleProp() {
|
|
@@ -13087,7 +13087,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13087
13087
|
this.internalActivePicker = 'MONTH';
|
|
13088
13088
|
|
|
13089
13089
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
13090
|
-
this.$emit('
|
|
13090
|
+
this.$emit('update:modelValue', this.inputDate);
|
|
13091
13091
|
}
|
|
13092
13092
|
},
|
|
13093
13093
|
monthClick: function monthClick(value) {
|
|
@@ -13107,7 +13107,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13107
13107
|
this.internalActivePicker = 'DATE';
|
|
13108
13108
|
|
|
13109
13109
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
13110
|
-
this.$emit('
|
|
13110
|
+
this.$emit('update:modelValue', this.inputDate);
|
|
13111
13111
|
}
|
|
13112
13112
|
} else {
|
|
13113
13113
|
this.emitInput(this.inputDate);
|
|
@@ -42278,10 +42278,6 @@ function prevent(e) {
|
|
|
42278
42278
|
|
|
42279
42279
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__["default"])(_components_VInput__WEBPACK_IMPORTED_MODULE_0__["default"], _rippleable__WEBPACK_IMPORTED_MODULE_1__["default"], _comparable__WEBPACK_IMPORTED_MODULE_2__["default"]).extend({
|
|
42280
42280
|
name: 'selectable',
|
|
42281
|
-
model: {
|
|
42282
|
-
prop: 'inputValue',
|
|
42283
|
-
event: 'change'
|
|
42284
|
-
},
|
|
42285
42281
|
props: {
|
|
42286
42282
|
id: String,
|
|
42287
42283
|
value: null,
|