@dimailn/vuetify 2.7.2-alpha53 → 2.7.2-alpha54
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 +9 -6
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VTreeview/VTreeview.js +1 -1
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/routable/index.js +8 -4
- package/es5/mixins/routable/index.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +2 -2
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/routable/index.js +7 -3
- package/lib/mixins/routable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VList/__tests__/VListItem.spec.ts +3 -5
- package/src/components/VTabs/__tests__/VTab.spec.ts +3 -5
- package/src/components/VTreeview/VTreeview.ts +2 -2
- package/src/mixins/routable/__tests__/routable.spec.ts +2 -5
- package/src/mixins/routable/index.ts +4 -3
package/dist/vuetify.js
CHANGED
|
@@ -33888,7 +33888,7 @@ var __values = undefined && undefined.__values || function (o) {
|
|
|
33888
33888
|
},
|
|
33889
33889
|
register: function register(node) {
|
|
33890
33890
|
var key = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["getObjectValueByPath"])(node.item, this.itemKey);
|
|
33891
|
-
this.nodes[key].vnode = node;
|
|
33891
|
+
this.nodes[key].vnode = Object(vue__WEBPACK_IMPORTED_MODULE_0__["markRaw"])(node);
|
|
33892
33892
|
this.updateVnodeState(key);
|
|
33893
33893
|
},
|
|
33894
33894
|
unregister: function unregister(node) {
|
|
@@ -37119,7 +37119,7 @@ function () {
|
|
|
37119
37119
|
|
|
37120
37120
|
Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
|
|
37121
37121
|
Vuetify.installed = false;
|
|
37122
|
-
Vuetify.version = "2.7.2-
|
|
37122
|
+
Vuetify.version = "2.7.2-alpha54";
|
|
37123
37123
|
Vuetify.config = {
|
|
37124
37124
|
silent: false
|
|
37125
37125
|
};
|
|
@@ -44012,7 +44012,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44012
44012
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "vue");
|
|
44013
44013
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
|
|
44014
44014
|
/* harmony import */ var _directives_ripple__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../directives/ripple */ "./src/directives/ripple/index.ts");
|
|
44015
|
-
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
|
|
44016
44015
|
var __assign = undefined && undefined.__assign || function () {
|
|
44017
44016
|
__assign = Object.assign || function (t) {
|
|
44018
44017
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -44033,7 +44032,6 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
44033
44032
|
|
|
44034
44033
|
// Utilities
|
|
44035
44034
|
|
|
44036
|
-
|
|
44037
44035
|
/* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({
|
|
44038
44036
|
name: 'routable',
|
|
44039
44037
|
directives: {
|
|
@@ -44162,10 +44160,15 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
44162
44160
|
if (!this.to || !this.$refs.link || !this.$route) return;
|
|
44163
44161
|
var activeClass = ((this.activeClass || '') + " " + (this.proxyClass || '')).trim();
|
|
44164
44162
|
var exactActiveClass = ((this.exactActiveClass || '') + " " + (this.proxyClass || '')).trim() || activeClass;
|
|
44165
|
-
var
|
|
44163
|
+
var activeClasses = (this.exact ? exactActiveClass : activeClass).split(' ');
|
|
44166
44164
|
this.$nextTick(function () {
|
|
44167
44165
|
/* istanbul ignore else */
|
|
44168
|
-
var
|
|
44166
|
+
var el = _this.$refs.link.$el || _this.$refs.link;
|
|
44167
|
+
var isLinkActive = activeClasses.every(function (c) {
|
|
44168
|
+
var _a;
|
|
44169
|
+
|
|
44170
|
+
return (_a = el === null || el === void 0 ? void 0 : el.classList) === null || _a === void 0 ? void 0 : _a.contains(c);
|
|
44171
|
+
});
|
|
44169
44172
|
|
|
44170
44173
|
if (isLinkActive !== _this.isActive) {
|
|
44171
44174
|
_this.toggle();
|