@dimailn/vuetify 2.7.2-alpha41 → 2.7.2-alpha43

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
@@ -18751,7 +18751,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
18751
18751
  prependIcon: String,
18752
18752
  modelValue: null
18753
18753
  },
18754
- emits: ['click', 'mousedown', 'mouseup', 'touchstart', 'touchend', 'update:error'],
18754
+ emits: ['click', 'mousedown', 'mouseup', 'touchstart', 'touchend', 'update:error', 'change', 'update:modelValue'],
18755
18755
  data: function data() {
18756
18756
  return {
18757
18757
  lazyValue: this.modelValue,
@@ -31128,7 +31128,7 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
31128
31128
  default: 'text'
31129
31129
  }
31130
31130
  },
31131
- emits: ['update:modelValue', 'blur', 'focus', 'keydown', 'click:clear', 'click'],
31131
+ emits: ['update:modelValue', 'change', 'blur', 'focus', 'keydown', 'click:clear', 'click'],
31132
31132
  data: function data() {
31133
31133
  return {
31134
31134
  badInput: false,
@@ -31418,7 +31418,8 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
31418
31418
 
31419
31419
  var _a = this.attrs$,
31420
31420
  title = _a.title,
31421
- inputAttrs = __rest(_a, ["title"]);
31421
+ _onChange = _a.onChange,
31422
+ inputAttrs = __rest(_a, ["title", "onChange"]);
31422
31423
 
31423
31424
  var node = Object(vue__WEBPACK_IMPORTED_MODULE_12__["h"])('input', __assign(__assign(__assign(__assign({
31424
31425
  style: {},
@@ -31541,7 +31542,7 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
31541
31542
  if (val) {
31542
31543
  this.initialValue = this.lazyValue;
31543
31544
  } else if (this.initialValue !== this.lazyValue) {
31544
- this.$emit('update:modelValue', this.lazyValue);
31545
+ this.$emit('change', this.lazyValue);
31545
31546
  }
31546
31547
  },
31547
31548
  onResize: function onResize() {
@@ -37106,7 +37107,7 @@ function () {
37106
37107
 
37107
37108
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
37108
37109
  Vuetify.installed = false;
37109
- Vuetify.version = "2.7.2-alpha41";
37110
+ Vuetify.version = "2.7.2-alpha43";
37110
37111
  Vuetify.config = {
37111
37112
  silent: false
37112
37113
  };
@@ -41887,6 +41888,23 @@ __webpack_require__.r(__webpack_exports__);
41887
41888
  "use strict";
41888
41889
  __webpack_require__.r(__webpack_exports__);
41889
41890
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
41891
+ var __values = undefined && undefined.__values || function (o) {
41892
+ var s = typeof Symbol === "function" && Symbol.iterator,
41893
+ m = s && o[s],
41894
+ i = 0;
41895
+ if (m) return m.call(o);
41896
+ if (o && typeof o.length === "number") return {
41897
+ next: function next() {
41898
+ if (o && i >= o.length) o = void 0;
41899
+ return {
41900
+ value: o && o[i++],
41901
+ done: !o
41902
+ };
41903
+ }
41904
+ };
41905
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
41906
+ };
41907
+
41890
41908
  var __read = undefined && undefined.__read || function (o, n) {
41891
41909
  var m = typeof Symbol === "function" && o[Symbol.iterator];
41892
41910
  if (!m) return o;
@@ -41926,18 +41944,43 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
41926
41944
 
41927
41945
 
41928
41946
 
41929
- function searchChildren(children) {
41930
- var _a, _b;
41947
+ function searchVNodeTree(vnodes) {
41948
+ var e_1, _a;
41949
+
41950
+ var _b, _c;
41931
41951
 
41932
41952
  var results = [];
41933
41953
 
41934
- for (var index = 0; index < children.length; index++) {
41935
- var child = children[index];
41954
+ try {
41955
+ for (var vnodes_1 = __values(vnodes), vnodes_1_1 = vnodes_1.next(); !vnodes_1_1.done; vnodes_1_1 = vnodes_1.next()) {
41956
+ var vnode = vnodes_1_1.value;
41957
+ var proxy = (_b = vnode.component) === null || _b === void 0 ? void 0 : _b.proxy;
41936
41958
 
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));
41959
+ if ((proxy === null || proxy === void 0 ? void 0 : proxy.isActive) && (proxy === null || proxy === void 0 ? void 0 : proxy.isDependent)) {
41960
+ results.push(proxy);
41961
+ } else {
41962
+ var subTree = (_c = vnode.component) === null || _c === void 0 ? void 0 : _c.subTree;
41963
+
41964
+ if (subTree) {
41965
+ results.push.apply(results, __spreadArray([], __read(searchVNodeTree(Array.isArray(subTree) ? subTree : [subTree])), false));
41966
+ }
41967
+
41968
+ var children = vnode.children;
41969
+
41970
+ if (Array.isArray(children)) {
41971
+ results.push.apply(results, __spreadArray([], __read(searchVNodeTree(children)), false));
41972
+ }
41973
+ }
41974
+ }
41975
+ } catch (e_1_1) {
41976
+ e_1 = {
41977
+ error: e_1_1
41978
+ };
41979
+ } finally {
41980
+ try {
41981
+ if (vnodes_1_1 && !vnodes_1_1.done && (_a = vnodes_1.return)) _a.call(vnodes_1);
41982
+ } finally {
41983
+ if (e_1) throw e_1.error;
41941
41984
  }
41942
41985
  }
41943
41986
 
@@ -41967,12 +42010,12 @@ function searchChildren(children) {
41967
42010
  },
41968
42011
  methods: {
41969
42012
  getOpenDependents: function getOpenDependents() {
41970
- var _a, _b;
42013
+ var _a;
41971
42014
 
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 [];
42015
+ if (!this.closeDependents) return [];
42016
+ var subTree = (_a = this.$) === null || _a === void 0 ? void 0 : _a.subTree;
42017
+ if (!subTree) return [];
42018
+ return searchVNodeTree(Array.isArray(subTree) ? subTree : [subTree]);
41976
42019
  },
41977
42020
  getOpenDependentElements: function getOpenDependentElements() {
41978
42021
  var result = [];