vuetify 1.5.20 → 1.5.24
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.css +13 -6
- package/dist/vuetify.css.map +1 -1
- package/dist/vuetify.js +28 -14
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAutocomplete/VAutocomplete.js +4 -0
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VCombobox/VCombobox.js +1 -1
- package/es5/components/VCombobox/VCombobox.js.map +1 -1
- package/es5/components/VDataTable/mixins/body.js +5 -1
- package/es5/components/VDataTable/mixins/body.js.map +1 -1
- package/es5/components/VInput/VInput.js +2 -2
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +4 -4
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VTextField/VTextField.js +12 -5
- package/es5/components/VTextField/VTextField.js.map +1 -1
- package/es5/components/Vuetify/index.js +1 -1
- package/es5/index.js +1 -1
- package/es5/util/mask.js +1 -1
- package/es5/util/mask.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +4 -0
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.js +1 -1
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VDataTable/mixins/body.js +5 -1
- package/lib/components/VDataTable/mixins/body.js.map +1 -1
- package/lib/components/VInput/VInput.js +2 -2
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +4 -4
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +12 -5
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/Vuetify/index.js +1 -1
- package/lib/util/mask.js +1 -1
- package/lib/util/mask.js.map +1 -1
- package/package.json +2 -2
- package/src/components/VAutocomplete/VAutocomplete.js +4 -0
- package/src/components/VCombobox/VCombobox.js +1 -1
- package/src/components/VDataTable/mixins/body.js +6 -1
- package/src/components/VInput/VInput.ts +2 -2
- package/src/components/VSelect/VSelect.js +7 -4
- package/src/components/VTextField/VTextField.js +8 -3
- package/src/stylus/components/_data-table.styl +9 -2
- package/src/stylus/components/_tables.styl +2 -2
- package/src/stylus/settings/_theme.styl +2 -0
- package/src/util/mask.ts +1 -1
package/dist/vuetify.js
CHANGED
|
@@ -702,6 +702,10 @@ var defaultMenuProps = __assign({}, _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1_
|
|
|
702
702
|
_VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.onTabDown.call(this, e);
|
|
703
703
|
this.updateSelf();
|
|
704
704
|
},
|
|
705
|
+
selectItem: function selectItem(item) {
|
|
706
|
+
_VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.selectItem.call(this, item);
|
|
707
|
+
this.setSearch();
|
|
708
|
+
},
|
|
705
709
|
setSelectedItems: function setSelectedItems() {
|
|
706
710
|
_VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setSelectedItems.call(this);
|
|
707
711
|
// #4273 Don't replace if searching
|
|
@@ -3925,7 +3929,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3925
3929
|
if (this.editingIndex > -1) {
|
|
3926
3930
|
this.updateEditing();
|
|
3927
3931
|
} else {
|
|
3928
|
-
|
|
3932
|
+
_VAutocomplete_VAutocomplete__WEBPACK_IMPORTED_MODULE_2__["default"].options.methods.selectItem.call(this, item);
|
|
3929
3933
|
}
|
|
3930
3934
|
},
|
|
3931
3935
|
setSelectedItems: function setSelectedItems() {
|
|
@@ -4540,8 +4544,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4540
4544
|
}, [this.$scopedSlots.expand(props)]);
|
|
4541
4545
|
children.push(expand);
|
|
4542
4546
|
}
|
|
4547
|
+
var classes = {
|
|
4548
|
+
'v-datatable__expand-col': true,
|
|
4549
|
+
'v-datatable__expand-col--expanded': this.isExpanded(props.item)
|
|
4550
|
+
};
|
|
4543
4551
|
var transition = this.$createElement('transition-group', {
|
|
4544
|
-
class:
|
|
4552
|
+
class: classes,
|
|
4545
4553
|
attrs: { colspan: this.headerColumns },
|
|
4546
4554
|
props: {
|
|
4547
4555
|
tag: 'td'
|
|
@@ -8174,8 +8182,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
8174
8182
|
value: this.hasMessages || this.hasHint ? messages : []
|
|
8175
8183
|
},
|
|
8176
8184
|
scopedSlots: {
|
|
8177
|
-
default: this.$scopedSlots.
|
|
8178
|
-
return _this.$scopedSlots.
|
|
8185
|
+
default: this.$scopedSlots.message ? function (props) {
|
|
8186
|
+
return _this.$scopedSlots.message(props);
|
|
8179
8187
|
} : undefined
|
|
8180
8188
|
}
|
|
8181
8189
|
});
|
|
@@ -12290,11 +12298,10 @@ var defaultMenuProps = {
|
|
|
12290
12298
|
methods: {
|
|
12291
12299
|
/** @public */
|
|
12292
12300
|
blur: function blur(e) {
|
|
12301
|
+
_VTextField_VTextField__WEBPACK_IMPORTED_MODULE_5__["default"].options.methods.blur.call(this, e);
|
|
12293
12302
|
this.isMenuActive = false;
|
|
12294
12303
|
this.isFocused = false;
|
|
12295
|
-
this.$refs.input && this.$refs.input.blur();
|
|
12296
12304
|
this.selectedIndex = -1;
|
|
12297
|
-
this.onBlur(e);
|
|
12298
12305
|
},
|
|
12299
12306
|
/** @public */
|
|
12300
12307
|
activateMenu: function activateMenu() {
|
|
@@ -12531,7 +12538,7 @@ var defaultMenuProps = {
|
|
|
12531
12538
|
return Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["getPropertyFromItem"])(item, this.itemValue, this.getText(item));
|
|
12532
12539
|
},
|
|
12533
12540
|
onBlur: function onBlur(e) {
|
|
12534
|
-
this.$emit('blur', e);
|
|
12541
|
+
e && this.$emit('blur', e);
|
|
12535
12542
|
},
|
|
12536
12543
|
onChipInput: function onChipInput(item) {
|
|
12537
12544
|
if (this.multiple) this.selectItem(item);else this.setValue(null);
|
|
@@ -12573,7 +12580,8 @@ var defaultMenuProps = {
|
|
|
12573
12580
|
this.keyboardLookupPrefix += e.key.toLowerCase();
|
|
12574
12581
|
this.keyboardLookupLastTime = now;
|
|
12575
12582
|
var index = this.allItems.findIndex(function (item) {
|
|
12576
|
-
|
|
12583
|
+
var text = (_this.getText(item) || '').toString();
|
|
12584
|
+
return text.toLowerCase().startsWith(_this.keyboardLookupPrefix);
|
|
12577
12585
|
});
|
|
12578
12586
|
var item = this.allItems[index];
|
|
12579
12587
|
if (index !== -1) {
|
|
@@ -16141,8 +16149,14 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
|
|
|
16141
16149
|
this.onFocus();
|
|
16142
16150
|
},
|
|
16143
16151
|
/** @public */
|
|
16144
|
-
blur: function blur() {
|
|
16145
|
-
|
|
16152
|
+
blur: function blur(e) {
|
|
16153
|
+
var _this = this;
|
|
16154
|
+
// https://github.com/vuetifyjs/vuetify/issues/5913
|
|
16155
|
+
// Safari tab order gets broken if called synchronous
|
|
16156
|
+
window.requestAnimationFrame(function () {
|
|
16157
|
+
_this.$refs.input && _this.$refs.input.blur();
|
|
16158
|
+
});
|
|
16159
|
+
this.onBlur(e);
|
|
16146
16160
|
},
|
|
16147
16161
|
clearableCallback: function clearableCallback() {
|
|
16148
16162
|
var _this = this;
|
|
@@ -16268,7 +16282,7 @@ var dirtyTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'mo
|
|
|
16268
16282
|
// to allow external change
|
|
16269
16283
|
// to persist
|
|
16270
16284
|
this.internalChange = false;
|
|
16271
|
-
this.$emit('blur', e);
|
|
16285
|
+
e && this.$emit('blur', e);
|
|
16272
16286
|
},
|
|
16273
16287
|
onClick: function onClick() {
|
|
16274
16288
|
if (this.isFocused || this.disabled) return;
|
|
@@ -19231,7 +19245,7 @@ var Vuetify = {
|
|
|
19231
19245
|
return false;
|
|
19232
19246
|
})(opts.components);
|
|
19233
19247
|
},
|
|
19234
|
-
version: '1.5.
|
|
19248
|
+
version: '1.5.24'
|
|
19235
19249
|
};
|
|
19236
19250
|
function checkVueVersion(Vue, requiredVue) {
|
|
19237
19251
|
var vueDep = requiredVue || '^2.5.18';
|
|
@@ -20917,7 +20931,7 @@ var Vuetify = {
|
|
|
20917
20931
|
Vue.use(_components_Vuetify__WEBPACK_IMPORTED_MODULE_1__["default"], __assign({ components: _components__WEBPACK_IMPORTED_MODULE_2__,
|
|
20918
20932
|
directives: _directives__WEBPACK_IMPORTED_MODULE_3__["default"] }, args));
|
|
20919
20933
|
},
|
|
20920
|
-
version: '1.5.
|
|
20934
|
+
version: '1.5.24'
|
|
20921
20935
|
};
|
|
20922
20936
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
20923
20937
|
window.Vue.use(Vuetify);
|
|
@@ -25743,7 +25757,7 @@ var maskText = function maskText(text, masked, dontFillMaskBlanks) {
|
|
|
25743
25757
|
return newText;
|
|
25744
25758
|
};
|
|
25745
25759
|
var unmaskText = function unmaskText(text) {
|
|
25746
|
-
return text ? String(text).replace(new RegExp(defaultDelimiters, 'g'), '') : text;
|
|
25760
|
+
return text ? String(text).replace(new RegExp(defaultDelimiters.source, 'g'), '') : text;
|
|
25747
25761
|
};
|
|
25748
25762
|
|
|
25749
25763
|
/***/ }),
|