@dimailn/vuetify 2.7.2-alpha27 → 2.7.2-alpha28
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 +78 -22
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAlert/VAlert.js +0 -1
- package/es5/components/VAlert/VAlert.js.map +1 -1
- package/es5/components/VChip/VChip.js +1 -0
- package/es5/components/VChip/VChip.js.map +1 -1
- package/es5/components/VList/VListItem.js +4 -2
- package/es5/components/VList/VListItem.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +1 -1
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VOtpInput/VOtpInput.js +36 -0
- package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +15 -2
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +3 -3
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js +0 -7
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/routable/index.js +5 -2
- package/es5/mixins/routable/index.js.map +1 -1
- package/lib/components/VAlert/VAlert.js +0 -1
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VChip/VChip.js +1 -0
- package/lib/components/VChip/VChip.js.map +1 -1
- package/lib/components/VList/VListItem.js +4 -2
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +1 -1
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +48 -0
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +11 -5
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +3 -3
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +0 -6
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/routable/index.js +5 -2
- package/lib/mixins/routable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VAlert/VAlert.ts +0 -1
- package/src/components/VApp/__tests__/VApp.spec.ts +24 -18
- package/src/components/VApp/__tests__/__snapshots__/VApp.spec.ts.snap +4 -4
- package/src/components/VAppBar/__tests__/VAppBar.spec.ts +256 -74
- package/src/components/VAppBar/__tests__/VAppBarNavIcon.spec.ts +2 -6
- package/src/components/VAppBar/__tests__/__snapshots__/VAppBar.spec.ts.snap +13 -4
- package/src/components/VAppBar/__tests__/__snapshots__/VAppBarNavIcon.spec.ts.snap +3 -4
- package/src/components/VBanner/__tests__/VBanner.spec.ts +35 -36
- package/src/components/VBanner/__tests__/__snapshots__/VBanner.spec.ts.snap +1 -1
- package/src/components/VBtn/__tests__/VBtn.spec.ts +1 -1
- package/src/components/VCard/__tests__/VCard.spec.ts +46 -28
- package/src/components/VCard/__tests__/__snapshots__/VCard.spec.ts.snap +2 -2
- package/src/components/VCheckbox/__tests__/VCheckbox.spec.ts +157 -152
- package/src/components/VChip/VChip.ts +1 -0
- package/src/components/VChip/__tests__/VChip.spec.ts +50 -50
- package/src/components/VChip/__tests__/__snapshots__/VChip.spec.ts.snap +4 -4
- package/src/components/VChipGroup/__tests__/VChipGroup.spec.ts +14 -21
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPicker.spec.ts.snap +35 -35
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPickerEdit.spec.ts.snap +10 -10
- package/src/components/VData/__tests__/VData.spec.ts +69 -90
- package/src/components/VDataTable/__tests__/MobileRow.spec.ts +55 -66
- package/src/components/VDataTable/__tests__/Row.spec.ts +64 -73
- package/src/components/VDataTable/__tests__/RowGroup.spec.ts +7 -5
- package/src/components/VDataTable/__tests__/VDataTable.spec.ts +910 -988
- package/src/components/VDataTable/__tests__/VEditDialog.spec.ts +26 -22
- package/src/components/VDataTable/__tests__/VSimpleTable.spec.ts +60 -29
- package/src/components/VDataTable/__tests__/VVirtualTable.spec.ts +13 -15
- package/src/components/VDataTable/__tests__/__snapshots__/Row.spec.ts.snap +30 -0
- package/src/components/VDataTable/__tests__/__snapshots__/VEditDialog.spec.ts.snap +18 -10
- package/src/components/VDataTable/mixins/__tests__/__snapshots__/header.spec.ts.snap +1 -1
- package/src/components/VDivider/__tests__/VDivider.spec.ts +11 -15
- package/src/components/VDivider/__tests__/__snapshots__/VDivider.spec.ts.snap +2 -2
- package/src/components/VGrid/__tests__/VCol.spec.ts +17 -17
- package/src/components/VGrid/__tests__/VContainer.spec.ts +58 -3
- package/src/components/VGrid/__tests__/VFlex.spec.ts +3 -3
- package/src/components/VGrid/__tests__/VGrid.spec.ts +12 -10
- package/src/components/VGrid/__tests__/VLayout.spec.ts +3 -3
- package/src/components/VIcon/__tests__/VIcon.spec.ts +176 -70
- package/src/components/VImg/__tests__/__snapshots__/VImg.spec.ts.snap +55 -55
- package/src/components/VItemGroup/__tests__/VItem.spec.ts +22 -37
- package/src/components/VItemGroup/__tests__/VItemGroup.spec.ts +96 -124
- package/src/components/VItemGroup/__tests__/__snapshots__/VItem.spec.ts.snap +2 -0
- package/src/components/VLabel/__tests__/VLabel.spec.ts +240 -14
- package/src/components/VLazy/__tests__/VLazy.spec.ts +5 -4
- package/src/components/VLazy/__tests__/__snapshots__/VLazy.spec.ts.snap +2 -1
- package/src/components/VList/VListItem.ts +9 -3
- package/src/components/VList/__tests__/VList.spec.ts +13 -12
- package/src/components/VList/__tests__/VListGroup.spec.ts +59 -51
- package/src/components/VList/__tests__/VListItem.spec.ts +142 -63
- package/src/components/VList/__tests__/VListItemAvatar.spec.ts +5 -2
- package/src/components/VList/__tests__/VListItemGroup.spec.ts +5 -2
- package/src/components/VList/__tests__/__snapshots__/VList.spec.ts.snap +10 -10
- package/src/components/VList/__tests__/__snapshots__/VListGroup.spec.ts.snap +5 -6
- package/src/components/VList/__tests__/__snapshots__/VListItem.spec.ts.snap +1 -1
- package/src/components/VMain/__tests__/VMain.spec.ts +71 -17
- package/src/components/VMenu/VMenu.ts +1 -1
- package/src/components/VMessages/__tests__/VMessages.spec.ts +14 -13
- package/src/components/VOtpInput/VOtpInput.ts +37 -1
- package/src/components/VParallax/__tests__/__snapshots__/VParallax.spec.ts.snap +8 -8
- package/src/components/VPicker/__tests__/__snapshots__/VPicker.spec.ts.snap +2 -2
- package/src/components/VResponsive/__tests__/__snapshots__/VResponsive.spec.ts.snap +2 -2
- package/src/components/VSelect/VSelectList.ts +9 -9
- package/src/components/VSelect/__tests__/VSelect.spec.ts +166 -125
- package/src/components/VSelect/__tests__/VSelect2.spec.ts +127 -111
- package/src/components/VSelect/__tests__/VSelect3.spec.ts +109 -91
- package/src/components/VSelect/__tests__/VSelect4.spec.ts +79 -68
- package/src/components/VSelect/__tests__/VSelectList.spec.ts +23 -31
- package/src/components/VSelect/__tests__/__snapshots__/VSelect.spec.ts.snap +58 -62
- package/src/components/VSelect/__tests__/__snapshots__/VSelect2.spec.ts.snap +50 -62
- package/src/components/VSelect/__tests__/__snapshots__/VSelect3.spec.ts.snap +10 -14
- package/src/components/VSparkline/__tests__/VSparkline.spec.ts +33 -35
- package/src/components/VStepper/__tests__/VStepper.spec.ts +4 -1
- package/src/components/VStepper/__tests__/VStepperContent.spec.ts +104 -110
- package/src/components/VStepper/__tests__/VStepperStep.spec.ts +51 -44
- package/src/components/VSwitch/__tests__/VSwitch.spec.ts +30 -37
- package/src/components/VTabs/__tests__/VTabs.spec.ts +0 -7
- package/src/components/VTextField/__tests__/VTextField.spec.ts +342 -246
- package/src/components/VTextarea/__tests__/VTextarea.spec.ts +112 -35
- package/src/components/VTimePicker/__tests__/__snapshots__/VTimePicker.spec.ts.snap +0 -40
- package/src/components/VToolbar/__tests__/VToolbar.spec.ts +49 -25
- package/src/components/VTooltip/VTooltip.ts +3 -3
- package/src/components/VTooltip/__tests__/__snapshots__/VTooltip.spec.ts.snap +34 -18
- package/src/components/VTreeview/VTreeview.ts +0 -5
- package/src/mixins/routable/index.ts +6 -4
package/dist/vuetify.js
CHANGED
|
@@ -187,7 +187,6 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
187
187
|
default: '$cancel'
|
|
188
188
|
},
|
|
189
189
|
icon: {
|
|
190
|
-
default: '',
|
|
191
190
|
type: [Boolean, String],
|
|
192
191
|
validator: function validator(val) {
|
|
193
192
|
return typeof val === 'string' || val === false;
|
|
@@ -7716,6 +7715,7 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
7716
7715
|
type: String
|
|
7717
7716
|
},
|
|
7718
7717
|
close: Boolean,
|
|
7718
|
+
onClick: Function,
|
|
7719
7719
|
closeIcon: {
|
|
7720
7720
|
type: String,
|
|
7721
7721
|
default: '$delete'
|
|
@@ -19366,6 +19366,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
|
|
|
19366
19366
|
},
|
|
19367
19367
|
dense: Boolean,
|
|
19368
19368
|
inactive: Boolean,
|
|
19369
|
+
onClick: Function,
|
|
19369
19370
|
link: Boolean,
|
|
19370
19371
|
selectable: {
|
|
19371
19372
|
type: Boolean
|
|
@@ -19476,10 +19477,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
|
|
|
19476
19477
|
// delete data.nativeOn
|
|
19477
19478
|
// }
|
|
19478
19479
|
|
|
19479
|
-
var
|
|
19480
|
+
var slotProps = {
|
|
19480
19481
|
active: this.isActive,
|
|
19481
19482
|
toggle: this.toggle
|
|
19482
|
-
}
|
|
19483
|
+
};
|
|
19484
|
+
var children = [Object(_util_helpers__WEBPACK_IMPORTED_MODULE_7__["getSlot"])(this, 'prepend', slotProps), Object(_util_helpers__WEBPACK_IMPORTED_MODULE_7__["getSlot"])(this, 'default', slotProps), Object(_util_helpers__WEBPACK_IMPORTED_MODULE_7__["getSlot"])(this, 'append', slotProps)].filter(Boolean);
|
|
19483
19485
|
var nodeData = this.isActive ? this.setTextColor(this.color, data) : data;
|
|
19484
19486
|
var attrsClasses = this.$attrs.class;
|
|
19485
19487
|
|
|
@@ -20253,7 +20255,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
|
|
|
20253
20255
|
var listeners = _mixins_menuable__WEBPACK_IMPORTED_MODULE_6__["default"].methods.genActivatorListeners.call(this);
|
|
20254
20256
|
|
|
20255
20257
|
if (!this.disableKeys) {
|
|
20256
|
-
listeners.
|
|
20258
|
+
listeners.onKeydown = this.onKeyDown;
|
|
20257
20259
|
}
|
|
20258
20260
|
|
|
20259
20261
|
return listeners;
|
|
@@ -21112,6 +21114,42 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
|
|
|
21112
21114
|
outlined: function outlined() {
|
|
21113
21115
|
return !this.plain;
|
|
21114
21116
|
},
|
|
21117
|
+
fullWidth: function fullWidth() {
|
|
21118
|
+
return false;
|
|
21119
|
+
},
|
|
21120
|
+
prefix: function prefix() {
|
|
21121
|
+
return false;
|
|
21122
|
+
},
|
|
21123
|
+
isSingle: function isSingle() {
|
|
21124
|
+
return true;
|
|
21125
|
+
},
|
|
21126
|
+
isSolo: function isSolo() {
|
|
21127
|
+
return false;
|
|
21128
|
+
},
|
|
21129
|
+
soloInverted: function soloInverted() {
|
|
21130
|
+
return false;
|
|
21131
|
+
},
|
|
21132
|
+
flat: function flat() {
|
|
21133
|
+
return false;
|
|
21134
|
+
},
|
|
21135
|
+
filled: function filled() {
|
|
21136
|
+
return false;
|
|
21137
|
+
},
|
|
21138
|
+
isEnclosed: function isEnclosed() {
|
|
21139
|
+
return this.outlined;
|
|
21140
|
+
},
|
|
21141
|
+
reverse: function reverse() {
|
|
21142
|
+
return false;
|
|
21143
|
+
},
|
|
21144
|
+
placeholder: function placeholder() {
|
|
21145
|
+
return '';
|
|
21146
|
+
},
|
|
21147
|
+
rounded: function rounded() {
|
|
21148
|
+
return false;
|
|
21149
|
+
},
|
|
21150
|
+
shaped: function shaped() {
|
|
21151
|
+
return false;
|
|
21152
|
+
},
|
|
21115
21153
|
classes: function classes() {
|
|
21116
21154
|
return __assign(__assign(__assign({}, _VInput__WEBPACK_IMPORTED_MODULE_3__["default"].computed.classes.call(this)), _VTextField_VTextField__WEBPACK_IMPORTED_MODULE_4__["default"].computed.classes.call(this)), {
|
|
21117
21155
|
'v-otp-input--plain': this.plain
|
|
@@ -24946,6 +24984,19 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
24946
24984
|
};
|
|
24947
24985
|
|
|
24948
24986
|
return __assign.apply(this, arguments);
|
|
24987
|
+
};
|
|
24988
|
+
|
|
24989
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
24990
|
+
var t = {};
|
|
24991
|
+
|
|
24992
|
+
for (var p in s) {
|
|
24993
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
24994
|
+
}
|
|
24995
|
+
|
|
24996
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
24997
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
24998
|
+
}
|
|
24999
|
+
return t;
|
|
24949
25000
|
}; // Components
|
|
24950
25001
|
|
|
24951
25002
|
|
|
@@ -25118,11 +25169,20 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
25118
25169
|
}
|
|
25119
25170
|
|
|
25120
25171
|
var parent = this;
|
|
25172
|
+
|
|
25173
|
+
var onClick = tile.onClick,
|
|
25174
|
+
onMousedown = tile.onMousedown,
|
|
25175
|
+
attrsWithoutEvents = __rest(tile, ["onClick", "onMousedown"]);
|
|
25176
|
+
|
|
25121
25177
|
var scopedSlot = this.$slots.item({
|
|
25122
25178
|
parent: parent,
|
|
25123
25179
|
item: item,
|
|
25124
|
-
|
|
25125
|
-
|
|
25180
|
+
active: value,
|
|
25181
|
+
attrs: tile,
|
|
25182
|
+
on: {
|
|
25183
|
+
onMousedown: onMousedown,
|
|
25184
|
+
onClick: onClick
|
|
25185
|
+
}
|
|
25126
25186
|
});
|
|
25127
25187
|
return this.needsTile(scopedSlot) ? Object(vue__WEBPACK_IMPORTED_MODULE_8__["h"])(_VList__WEBPACK_IMPORTED_MODULE_3__["VListItem"], tile, scopedSlot) : scopedSlot;
|
|
25128
25188
|
},
|
|
@@ -31790,20 +31850,20 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
31790
31850
|
var listeners = _mixins_activatable__WEBPACK_IMPORTED_MODULE_2__["default"].methods.genActivatorListeners.call(this);
|
|
31791
31851
|
|
|
31792
31852
|
if (this.openOnFocus) {
|
|
31793
|
-
listeners.
|
|
31853
|
+
listeners.onFocus = function (e) {
|
|
31794
31854
|
_this.getActivator(e);
|
|
31795
31855
|
|
|
31796
31856
|
_this.runDelay('open');
|
|
31797
31857
|
};
|
|
31798
31858
|
|
|
31799
|
-
listeners.
|
|
31859
|
+
listeners.onBlur = function (e) {
|
|
31800
31860
|
_this.getActivator(e);
|
|
31801
31861
|
|
|
31802
31862
|
_this.runDelay('close');
|
|
31803
31863
|
};
|
|
31804
31864
|
}
|
|
31805
31865
|
|
|
31806
|
-
listeners.
|
|
31866
|
+
listeners.onKeydown = function (e) {
|
|
31807
31867
|
if (e.keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_7__["keyCodes"].esc) {
|
|
31808
31868
|
_this.getActivator(e);
|
|
31809
31869
|
|
|
@@ -31898,8 +31958,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31898
31958
|
/* harmony import */ var _mixins_registrable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../mixins/registrable */ "./src/mixins/registrable/index.ts");
|
|
31899
31959
|
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
|
|
31900
31960
|
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
|
|
31901
|
-
/* harmony import */ var
|
|
31902
|
-
/* harmony import */ var _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./util/filterTreeItems */ "./src/components/VTreeview/util/filterTreeItems.ts");
|
|
31961
|
+
/* harmony import */ var _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util/filterTreeItems */ "./src/components/VTreeview/util/filterTreeItems.ts");
|
|
31903
31962
|
var __assign = undefined && undefined.__assign || function () {
|
|
31904
31963
|
__assign = Object.assign || function (t) {
|
|
31905
31964
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -31982,7 +32041,6 @@ var __values = undefined && undefined.__values || function (o) {
|
|
|
31982
32041
|
|
|
31983
32042
|
|
|
31984
32043
|
|
|
31985
|
-
|
|
31986
32044
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_mixins_registrable__WEBPACK_IMPORTED_MODULE_4__["provide"])('treeview'), _mixins_themeable__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
31987
32045
|
/* @vue/component */
|
|
31988
32046
|
).extend({
|
|
@@ -32045,7 +32103,7 @@ var __values = undefined && undefined.__values || function (o) {
|
|
|
32045
32103
|
if (!this.search) return excluded;
|
|
32046
32104
|
|
|
32047
32105
|
for (var i = 0; i < this.items.length; i++) {
|
|
32048
|
-
Object(
|
|
32106
|
+
Object(_util_filterTreeItems__WEBPACK_IMPORTED_MODULE_7__["filterTreeItems"])(this.filter || _util_filterTreeItems__WEBPACK_IMPORTED_MODULE_7__["filterTreeItem"], this.items[i], this.search, this.itemKey, this.itemText, this.itemChildren, excluded);
|
|
32049
32107
|
}
|
|
32050
32108
|
|
|
32051
32109
|
return excluded;
|
|
@@ -32138,12 +32196,7 @@ var __values = undefined && undefined.__values || function (o) {
|
|
|
32138
32196
|
}
|
|
32139
32197
|
},
|
|
32140
32198
|
mounted: function mounted() {
|
|
32141
|
-
var _this = this;
|
|
32142
|
-
|
|
32143
|
-
|
|
32144
|
-
if (this.$slots.prepend || this.$slots.append) {
|
|
32145
|
-
Object(_util_console__WEBPACK_IMPORTED_MODULE_7__["consoleWarn"])('The prepend and append slots require a slot-scope attribute', this);
|
|
32146
|
-
}
|
|
32199
|
+
var _this = this;
|
|
32147
32200
|
|
|
32148
32201
|
if (this.openAll) {
|
|
32149
32202
|
this.updateAll(true);
|
|
@@ -35540,7 +35593,7 @@ function () {
|
|
|
35540
35593
|
|
|
35541
35594
|
Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
|
|
35542
35595
|
Vuetify.installed = false;
|
|
35543
|
-
Vuetify.version = "2.7.2-
|
|
35596
|
+
Vuetify.version = "2.7.2-alpha28";
|
|
35544
35597
|
Vuetify.config = {
|
|
35545
35598
|
silent: false
|
|
35546
35599
|
};
|
|
@@ -42418,7 +42471,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
42418
42471
|
classes: function classes() {
|
|
42419
42472
|
var classes = {};
|
|
42420
42473
|
if (this.to) return classes;
|
|
42421
|
-
var activeClass = this.activeClass || this.$activeClass;
|
|
42474
|
+
var activeClass = this.activeClass || ('$activeClass' in this ? this.$activeClass : undefined); // const activeClass = this.activeClass || this.$activeClass
|
|
42475
|
+
|
|
42422
42476
|
if (activeClass) classes[activeClass] = this.isActive;
|
|
42423
42477
|
if (this.proxyClass) classes[this.proxyClass] = this.isActive;
|
|
42424
42478
|
return classes;
|
|
@@ -42429,9 +42483,11 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
42429
42483
|
return (_a = this.ripple) !== null && _a !== void 0 ? _a : !this.disabled && this.isClickable;
|
|
42430
42484
|
},
|
|
42431
42485
|
isClickable: function isClickable() {
|
|
42486
|
+
var _a;
|
|
42487
|
+
|
|
42432
42488
|
if (this.notALink) return false;
|
|
42433
42489
|
if (this.disabled) return false;
|
|
42434
|
-
return Boolean(this.isLink || this.$attrs.onClick || this.$attrs[
|
|
42490
|
+
return Boolean(this.isLink || this.$attrs.onClick || this.$attrs["on!click"] || this.$attrs.tabindex || ((_a = this.$props) === null || _a === void 0 ? void 0 : _a.onClick));
|
|
42435
42491
|
},
|
|
42436
42492
|
isLink: function isLink() {
|
|
42437
42493
|
return this.to || this.href || this.link;
|