@dimailn/vuetify 2.7.2-alpha42 → 2.7.2-alpha44
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 +16 -10
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VInput/VInput.js +1 -1
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VTextField/VTextField.js +4 -3
- package/es5/components/VTextField/VTextField.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/overlayable/index.js +10 -5
- package/es5/mixins/overlayable/index.js.map +1 -1
- package/lib/components/VInput/VInput.js +1 -1
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +3 -2
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/overlayable/index.js +11 -3
- package/lib/mixins/overlayable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VInput/VInput.ts +1 -1
- package/src/components/VTextField/VTextField.ts +3 -3
- package/src/components/VTextField/__tests__/VTextField.spec.ts +19 -12
- package/src/mixins/overlayable/__tests__/overlayable.spec.ts +15 -0
- package/src/mixins/overlayable/index.ts +10 -3
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
|
-
|
|
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('
|
|
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-
|
|
37110
|
+
Vuetify.version = "2.7.2-alpha44";
|
|
37110
37111
|
Vuetify.config = {
|
|
37111
37112
|
silent: false
|
|
37112
37113
|
};
|
|
@@ -43191,7 +43192,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
43191
43192
|
data: function data() {
|
|
43192
43193
|
return {
|
|
43193
43194
|
animationFrame: 0,
|
|
43194
|
-
overlay: null
|
|
43195
|
+
overlay: null,
|
|
43196
|
+
overlayApp: null
|
|
43195
43197
|
};
|
|
43196
43198
|
},
|
|
43197
43199
|
watch: {
|
|
@@ -43276,13 +43278,17 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
43276
43278
|
|
|
43277
43279
|
if (this.overlay) {
|
|
43278
43280
|
Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["addOnceEventListener"])(this.overlay.$el, 'transitionend', function () {
|
|
43279
|
-
|
|
43281
|
+
var _a;
|
|
43280
43282
|
|
|
43281
|
-
_this.overlay.$el.parentNode.
|
|
43283
|
+
if (!_this.overlay || !_this.overlay.$el || !_this.overlay.$el.parentNode || _this.overlay.value || _this.isActive) return;
|
|
43284
|
+
var overlayContainer = _this.overlay.$el.parentNode;
|
|
43285
|
+
(_a = _this.overlayApp) === null || _a === void 0 ? void 0 : _a.unmount();
|
|
43286
|
+
_this.overlayApp = null;
|
|
43282
43287
|
|
|
43283
|
-
|
|
43288
|
+
if (overlayContainer === null || overlayContainer === void 0 ? void 0 : overlayContainer.parentNode) {
|
|
43289
|
+
overlayContainer.parentNode.removeChild(overlayContainer);
|
|
43290
|
+
}
|
|
43284
43291
|
|
|
43285
|
-
_this.overlayApp = null;
|
|
43286
43292
|
_this.overlay = null;
|
|
43287
43293
|
}); // Cancel animation frame in case
|
|
43288
43294
|
// overlay is removed before it
|