@dimailn/vuetify 2.7.2-alpha10 → 2.7.2-alpha12
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 +16 -19
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VColorPicker/VColorPicker.js +6 -6
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +3 -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/framework.js +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 +3 -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/framework.js +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 +4 -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,10 +10305,11 @@ 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
|
|
|
10312
|
+
if (!value) return;
|
|
10312
10313
|
this.selection = value.reduce(function (selection, item) {
|
|
10313
10314
|
selection[Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["getObjectValueByPath"])(item, _this.itemKey)] = item;
|
|
10314
10315
|
return selection;
|
|
@@ -10318,7 +10319,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
10318
10319
|
},
|
|
10319
10320
|
selection: function selection(value, old) {
|
|
10320
10321
|
if (Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["deepEqual"])(Object.keys(value), Object.keys(old))) return;
|
|
10321
|
-
this.$emit('
|
|
10322
|
+
this.$emit('update:modelValue', Object.values(value));
|
|
10322
10323
|
},
|
|
10323
10324
|
expanded: {
|
|
10324
10325
|
handler: function handler(value) {
|
|
@@ -13030,7 +13031,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13030
13031
|
var output = this.multipleValue.map(function (val) {
|
|
13031
13032
|
return Object(_util__WEBPACK_IMPORTED_MODULE_12__["sanitizeDateString"])(val, _type);
|
|
13032
13033
|
}).filter(this.isDateAllowed);
|
|
13033
|
-
this.$emit('
|
|
13034
|
+
this.$emit('update:modelValue', this.isMultiple ? output : output[0]);
|
|
13034
13035
|
}
|
|
13035
13036
|
}
|
|
13036
13037
|
},
|
|
@@ -13047,10 +13048,10 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13047
13048
|
emitInput: function emitInput(newInput) {
|
|
13048
13049
|
if (this.range) {
|
|
13049
13050
|
if (this.multipleValue.length !== 1) {
|
|
13050
|
-
this.$emit('
|
|
13051
|
+
this.$emit('update:modelValue', [newInput]);
|
|
13051
13052
|
} else {
|
|
13052
13053
|
var output_1 = [this.multipleValue[0], newInput];
|
|
13053
|
-
this.$emit('
|
|
13054
|
+
this.$emit('update:modelValue', output_1);
|
|
13054
13055
|
this.$emit('change', output_1);
|
|
13055
13056
|
}
|
|
13056
13057
|
|
|
@@ -13060,7 +13061,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13060
13061
|
var output = this.multiple ? this.multipleValue.indexOf(newInput) === -1 ? this.multipleValue.concat([newInput]) : this.multipleValue.filter(function (x) {
|
|
13061
13062
|
return x !== newInput;
|
|
13062
13063
|
}) : newInput;
|
|
13063
|
-
this.$emit('
|
|
13064
|
+
this.$emit('update:modelValue', output);
|
|
13064
13065
|
this.multiple || this.$emit('change', newInput);
|
|
13065
13066
|
},
|
|
13066
13067
|
checkMultipleProp: function checkMultipleProp() {
|
|
@@ -13087,7 +13088,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13087
13088
|
this.internalActivePicker = 'MONTH';
|
|
13088
13089
|
|
|
13089
13090
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
13090
|
-
this.$emit('
|
|
13091
|
+
this.$emit('update:modelValue', this.inputDate);
|
|
13091
13092
|
}
|
|
13092
13093
|
},
|
|
13093
13094
|
monthClick: function monthClick(value) {
|
|
@@ -13107,7 +13108,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
13107
13108
|
this.internalActivePicker = 'DATE';
|
|
13108
13109
|
|
|
13109
13110
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
13110
|
-
this.$emit('
|
|
13111
|
+
this.$emit('update:modelValue', this.inputDate);
|
|
13111
13112
|
}
|
|
13112
13113
|
} else {
|
|
13113
13114
|
this.emitInput(this.inputDate);
|
|
@@ -35143,7 +35144,7 @@ function () {
|
|
|
35143
35144
|
|
|
35144
35145
|
Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
|
|
35145
35146
|
Vuetify.installed = false;
|
|
35146
|
-
Vuetify.version = "2.7.2-
|
|
35147
|
+
Vuetify.version = "2.7.2-alpha12";
|
|
35147
35148
|
Vuetify.config = {
|
|
35148
35149
|
silent: false
|
|
35149
35150
|
};
|
|
@@ -42278,10 +42279,6 @@ function prevent(e) {
|
|
|
42278
42279
|
|
|
42279
42280
|
/* 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
42281
|
name: 'selectable',
|
|
42281
|
-
model: {
|
|
42282
|
-
prop: 'inputValue',
|
|
42283
|
-
event: 'change'
|
|
42284
|
-
},
|
|
42285
42282
|
props: {
|
|
42286
42283
|
id: String,
|
|
42287
42284
|
value: null,
|