@dimailn/vuetify 2.7.2-alpha33 → 2.7.2-alpha34

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 CHANGED
@@ -19145,6 +19145,10 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])
19145
19145
  type: String,
19146
19146
  default: 'v-item--active'
19147
19147
  },
19148
+ allowDeselect: {
19149
+ type: Boolean,
19150
+ default: true
19151
+ },
19148
19152
  mandatory: Boolean,
19149
19153
  max: {
19150
19154
  type: [Number, String],
@@ -19336,6 +19340,7 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])
19336
19340
  updateSingle: function updateSingle(value) {
19337
19341
  var isSame = this.valueComparator(this.internalValue, value);
19338
19342
  if (this.mandatory && isSame) return;
19343
+ if (!this.allowDeselect && isSame) return;
19339
19344
  this.internalValue = isSame ? undefined : value;
19340
19345
  }
19341
19346
  },
@@ -30223,6 +30228,10 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
30223
30228
  default: ''
30224
30229
  },
30225
30230
  alignWithTitle: Boolean,
30231
+ allowDeselect: {
30232
+ type: Boolean,
30233
+ default: false
30234
+ },
30226
30235
  backgroundColor: String,
30227
30236
  centerActive: Boolean,
30228
30237
  centered: Boolean,
@@ -30389,6 +30398,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
30389
30398
  height: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["convertToUnit"])(this.height)
30390
30399
  },
30391
30400
  activeClass: this.activeClass,
30401
+ allowDeselect: this.allowDeselect,
30392
30402
  centerActive: this.centerActive,
30393
30403
  dark: this.dark,
30394
30404
  light: this.light,
@@ -30578,6 +30588,9 @@ var __values = undefined && undefined.__values || function (o) {
30578
30588
  tabsBar: this
30579
30589
  };
30580
30590
  },
30591
+ props: {
30592
+ allowDeselect: Boolean
30593
+ },
30581
30594
  computed: {
30582
30595
  classes: function classes() {
30583
30596
  return __assign(__assign(__assign({}, _VSlideGroup_VSlideGroup__WEBPACK_IMPORTED_MODULE_1__["BaseSlideGroup"].computed.classes.call(this)), {
@@ -36917,7 +36930,7 @@ function () {
36917
36930
 
36918
36931
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
36919
36932
  Vuetify.installed = false;
36920
- Vuetify.version = "2.7.2-alpha33";
36933
+ Vuetify.version = "2.7.2-alpha34";
36921
36934
  Vuetify.config = {
36922
36935
  silent: false
36923
36936
  };