@dimailn/vuetify 2.7.2-alpha16 → 2.7.2-alpha17

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
@@ -35179,7 +35179,7 @@ function () {
35179
35179
 
35180
35180
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
35181
35181
  Vuetify.installed = false;
35182
- Vuetify.version = "2.7.2-alpha16";
35182
+ Vuetify.version = "2.7.2-alpha17";
35183
35183
  Vuetify.config = {
35184
35184
  silent: false
35185
35185
  };
@@ -42308,9 +42308,7 @@ var __assign = undefined && undefined.__assign || function () {
42308
42308
 
42309
42309
 
42310
42310
  function prevent(e) {
42311
- e.preventDefault(); // всплытие провоцирует двойной onChange
42312
-
42313
- e.stopPropagation();
42311
+ e.preventDefault();
42314
42312
  }
42315
42313
  /* @vue/component */
42316
42314
 
@@ -42402,7 +42400,15 @@ function prevent(e) {
42402
42400
  }));
42403
42401
  },
42404
42402
  onClick: function onClick(e) {
42405
- this.onChange();
42403
+ // тут задваиваются клики
42404
+ var target = e.target;
42405
+ var isCurrentClick = target.id === this.computedId;
42406
+ var isRippleClick = target.classList.contains('v-input--selection-controls__ripple');
42407
+
42408
+ if (isCurrentClick || isRippleClick || !this.computedId) {
42409
+ this.onChange();
42410
+ }
42411
+
42406
42412
  this.$emit('click', e);
42407
42413
  },
42408
42414
  onChange: function onChange() {