@dimailn/vuetify 2.7.2-alpha41 → 2.7.2-alpha42

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
@@ -37106,7 +37106,7 @@ function () {
37106
37106
 
37107
37107
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
37108
37108
  Vuetify.installed = false;
37109
- Vuetify.version = "2.7.2-alpha41";
37109
+ Vuetify.version = "2.7.2-alpha42";
37110
37110
  Vuetify.config = {
37111
37111
  silent: false
37112
37112
  };
@@ -41887,6 +41887,23 @@ __webpack_require__.r(__webpack_exports__);
41887
41887
  "use strict";
41888
41888
  __webpack_require__.r(__webpack_exports__);
41889
41889
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
41890
+ var __values = undefined && undefined.__values || function (o) {
41891
+ var s = typeof Symbol === "function" && Symbol.iterator,
41892
+ m = s && o[s],
41893
+ i = 0;
41894
+ if (m) return m.call(o);
41895
+ if (o && typeof o.length === "number") return {
41896
+ next: function next() {
41897
+ if (o && i >= o.length) o = void 0;
41898
+ return {
41899
+ value: o && o[i++],
41900
+ done: !o
41901
+ };
41902
+ }
41903
+ };
41904
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
41905
+ };
41906
+
41890
41907
  var __read = undefined && undefined.__read || function (o, n) {
41891
41908
  var m = typeof Symbol === "function" && o[Symbol.iterator];
41892
41909
  if (!m) return o;
@@ -41926,18 +41943,43 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
41926
41943
 
41927
41944
 
41928
41945
 
41929
- function searchChildren(children) {
41930
- var _a, _b;
41946
+ function searchVNodeTree(vnodes) {
41947
+ var e_1, _a;
41948
+
41949
+ var _b, _c;
41931
41950
 
41932
41951
  var results = [];
41933
41952
 
41934
- for (var index = 0; index < children.length; index++) {
41935
- var child = children[index];
41953
+ try {
41954
+ for (var vnodes_1 = __values(vnodes), vnodes_1_1 = vnodes_1.next(); !vnodes_1_1.done; vnodes_1_1 = vnodes_1.next()) {
41955
+ var vnode = vnodes_1_1.value;
41956
+ var proxy = (_b = vnode.component) === null || _b === void 0 ? void 0 : _b.proxy;
41936
41957
 
41937
- if (child.isActive && child.isDependent) {
41938
- results.push(child);
41939
- } else {
41940
- results.push.apply(results, __spreadArray([], __read(searchChildren(((_b = (_a = child.children) === null || _a === void 0 ? void 0 : _a.default) === null || _b === void 0 ? void 0 : _b.call(_a)) || [])), false));
41958
+ if ((proxy === null || proxy === void 0 ? void 0 : proxy.isActive) && (proxy === null || proxy === void 0 ? void 0 : proxy.isDependent)) {
41959
+ results.push(proxy);
41960
+ } else {
41961
+ var subTree = (_c = vnode.component) === null || _c === void 0 ? void 0 : _c.subTree;
41962
+
41963
+ if (subTree) {
41964
+ results.push.apply(results, __spreadArray([], __read(searchVNodeTree(Array.isArray(subTree) ? subTree : [subTree])), false));
41965
+ }
41966
+
41967
+ var children = vnode.children;
41968
+
41969
+ if (Array.isArray(children)) {
41970
+ results.push.apply(results, __spreadArray([], __read(searchVNodeTree(children)), false));
41971
+ }
41972
+ }
41973
+ }
41974
+ } catch (e_1_1) {
41975
+ e_1 = {
41976
+ error: e_1_1
41977
+ };
41978
+ } finally {
41979
+ try {
41980
+ if (vnodes_1_1 && !vnodes_1_1.done && (_a = vnodes_1.return)) _a.call(vnodes_1);
41981
+ } finally {
41982
+ if (e_1) throw e_1.error;
41941
41983
  }
41942
41984
  }
41943
41985
 
@@ -41967,12 +42009,12 @@ function searchChildren(children) {
41967
42009
  },
41968
42010
  methods: {
41969
42011
  getOpenDependents: function getOpenDependents() {
41970
- var _a, _b;
42012
+ var _a;
41971
42013
 
41972
- var node = (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a);
41973
- if (!node) return [];
41974
- if (this.closeDependents) return searchChildren(node);
41975
- return [];
42014
+ if (!this.closeDependents) return [];
42015
+ var subTree = (_a = this.$) === null || _a === void 0 ? void 0 : _a.subTree;
42016
+ if (!subTree) return [];
42017
+ return searchVNodeTree(Array.isArray(subTree) ? subTree : [subTree]);
41976
42018
  },
41977
42019
  getOpenDependentElements: function getOpenDependentElements() {
41978
42020
  var result = [];