@vuetify/nightly 2.6.2-master-20211217.0 → 2.6.2
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/json/attributes.json +8 -0
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +29 -7
- package/dist/vuetify.js +44 -37
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VCombobox/VCombobox.js +1 -1
- package/es5/components/VCombobox/VCombobox.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +0 -4
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +7 -11
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VOtpInput/VOtpInput.js +2 -0
- package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideGroup.js +2 -0
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +14 -8
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/activatable/index.js +6 -2
- package/es5/mixins/activatable/index.js.map +1 -1
- package/es5/mixins/menuable/index.js +9 -8
- package/es5/mixins/menuable/index.js.map +1 -1
- package/es5/mixins/routable/index.js +2 -2
- package/es5/mixins/routable/index.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.js +1 -1
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +0 -4
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +3 -7
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VOtpInput/VOtpInput.js +2 -0
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.js +3 -1
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +14 -8
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/activatable/index.js +6 -2
- package/lib/mixins/activatable/index.js.map +1 -1
- package/lib/mixins/menuable/index.js +9 -8
- package/lib/mixins/menuable/index.js.map +1 -1
- package/lib/mixins/routable/index.js +2 -2
- package/lib/mixins/routable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VCombobox/VCombobox.ts +1 -1
- package/src/components/VCombobox/__tests__/VCombobox.spec.ts +2 -2
- package/src/components/VMenu/VMenu.ts +0 -4
- package/src/components/VNavigationDrawer/VNavigationDrawer.ts +3 -6
- package/src/components/VOtpInput/VOtpInput.ts +2 -0
- package/src/components/VSlideGroup/VSlideGroup.ts +5 -1
- package/src/components/VTooltip/VTooltip.ts +14 -7
- package/src/mixins/activatable/__tests__/__snapshots__/activatable.spec.ts.snap +1 -2
- package/src/mixins/activatable/index.ts +6 -2
- package/src/mixins/menuable/index.ts +8 -7
- package/src/mixins/routable/index.ts +2 -2
|
@@ -947,6 +947,10 @@
|
|
|
947
947
|
"type": "number|string",
|
|
948
948
|
"description": "Milliseconds to wait before opening component."
|
|
949
949
|
},
|
|
950
|
+
"v-bottom-sheet/open-on-click": {
|
|
951
|
+
"type": "boolean",
|
|
952
|
+
"description": ""
|
|
953
|
+
},
|
|
950
954
|
"v-bottom-sheet/open-on-focus": {
|
|
951
955
|
"type": "boolean",
|
|
952
956
|
"description": ""
|
|
@@ -3595,6 +3599,10 @@
|
|
|
3595
3599
|
"type": "number|string",
|
|
3596
3600
|
"description": "Milliseconds to wait before opening component."
|
|
3597
3601
|
},
|
|
3602
|
+
"v-dialog/open-on-click": {
|
|
3603
|
+
"type": "boolean",
|
|
3604
|
+
"description": ""
|
|
3605
|
+
},
|
|
3598
3606
|
"v-dialog/open-on-focus": {
|
|
3599
3607
|
"type": "boolean",
|
|
3600
3608
|
"description": ""
|
package/dist/json/tags.json
CHANGED
|
@@ -286,6 +286,7 @@
|
|
|
286
286
|
"max-width",
|
|
287
287
|
"no-click-animation",
|
|
288
288
|
"open-delay",
|
|
289
|
+
"open-on-click",
|
|
289
290
|
"open-on-focus",
|
|
290
291
|
"open-on-hover",
|
|
291
292
|
"origin",
|
|
@@ -1103,6 +1104,7 @@
|
|
|
1103
1104
|
"max-width",
|
|
1104
1105
|
"no-click-animation",
|
|
1105
1106
|
"open-delay",
|
|
1107
|
+
"open-on-click",
|
|
1106
1108
|
"open-on-focus",
|
|
1107
1109
|
"open-on-hover",
|
|
1108
1110
|
"origin",
|
package/dist/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "vuetify",
|
|
5
|
-
"version": "2.6.2
|
|
5
|
+
"version": "2.6.2",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -3309,6 +3309,17 @@
|
|
|
3309
3309
|
]
|
|
3310
3310
|
}
|
|
3311
3311
|
},
|
|
3312
|
+
{
|
|
3313
|
+
"name": "open-on-click",
|
|
3314
|
+
"description": "",
|
|
3315
|
+
"doc-url": "https://www.vuetifyjs.com/api/v-bottom-sheet#props",
|
|
3316
|
+
"default": "true",
|
|
3317
|
+
"value": {
|
|
3318
|
+
"kind": "expression",
|
|
3319
|
+
"type": "boolean"
|
|
3320
|
+
},
|
|
3321
|
+
"type": "boolean"
|
|
3322
|
+
},
|
|
3312
3323
|
{
|
|
3313
3324
|
"name": "open-on-focus",
|
|
3314
3325
|
"description": "",
|
|
@@ -5129,7 +5140,7 @@
|
|
|
5129
5140
|
"name": "start",
|
|
5130
5141
|
"description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
|
|
5131
5142
|
"doc-url": "https://www.vuetifyjs.com/api/v-calendar#props",
|
|
5132
|
-
"default": "2021-12-
|
|
5143
|
+
"default": "2021-12-29",
|
|
5133
5144
|
"value": {
|
|
5134
5145
|
"kind": "expression",
|
|
5135
5146
|
"type": [
|
|
@@ -6758,7 +6769,7 @@
|
|
|
6758
6769
|
"name": "start",
|
|
6759
6770
|
"description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
|
|
6760
6771
|
"doc-url": "https://www.vuetifyjs.com/api/v-calendar-daily#props",
|
|
6761
|
-
"default": "2021-12-
|
|
6772
|
+
"default": "2021-12-29",
|
|
6762
6773
|
"value": {
|
|
6763
6774
|
"kind": "expression",
|
|
6764
6775
|
"type": [
|
|
@@ -6976,7 +6987,7 @@
|
|
|
6976
6987
|
"name": "start",
|
|
6977
6988
|
"description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
|
|
6978
6989
|
"doc-url": "https://www.vuetifyjs.com/api/v-calendar-weekly#props",
|
|
6979
|
-
"default": "2021-12-
|
|
6990
|
+
"default": "2021-12-29",
|
|
6980
6991
|
"value": {
|
|
6981
6992
|
"kind": "expression",
|
|
6982
6993
|
"type": [
|
|
@@ -7194,7 +7205,7 @@
|
|
|
7194
7205
|
"name": "start",
|
|
7195
7206
|
"description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
|
|
7196
7207
|
"doc-url": "https://www.vuetifyjs.com/api/v-calendar-monthly#props",
|
|
7197
|
-
"default": "2021-12-
|
|
7208
|
+
"default": "2021-12-29",
|
|
7198
7209
|
"value": {
|
|
7199
7210
|
"kind": "expression",
|
|
7200
7211
|
"type": [
|
|
@@ -14695,6 +14706,17 @@
|
|
|
14695
14706
|
]
|
|
14696
14707
|
}
|
|
14697
14708
|
},
|
|
14709
|
+
{
|
|
14710
|
+
"name": "open-on-click",
|
|
14711
|
+
"description": "",
|
|
14712
|
+
"doc-url": "https://www.vuetifyjs.com/api/v-dialog#props",
|
|
14713
|
+
"default": "true",
|
|
14714
|
+
"value": {
|
|
14715
|
+
"kind": "expression",
|
|
14716
|
+
"type": "boolean"
|
|
14717
|
+
},
|
|
14718
|
+
"type": "boolean"
|
|
14719
|
+
},
|
|
14698
14720
|
{
|
|
14699
14721
|
"name": "open-on-focus",
|
|
14700
14722
|
"description": "",
|
|
@@ -32938,7 +32960,7 @@
|
|
|
32938
32960
|
"name": "open-on-click",
|
|
32939
32961
|
"description": "Designates whether the tooltip should open on activator click",
|
|
32940
32962
|
"doc-url": "https://www.vuetifyjs.com/api/v-tooltip#props",
|
|
32941
|
-
"default": "
|
|
32963
|
+
"default": "true",
|
|
32942
32964
|
"value": {
|
|
32943
32965
|
"kind": "expression",
|
|
32944
32966
|
"type": "boolean"
|
|
@@ -32949,7 +32971,7 @@
|
|
|
32949
32971
|
"name": "open-on-focus",
|
|
32950
32972
|
"description": "",
|
|
32951
32973
|
"doc-url": "https://www.vuetifyjs.com/api/v-tooltip#props",
|
|
32952
|
-
"default": "
|
|
32974
|
+
"default": "true",
|
|
32953
32975
|
"value": {
|
|
32954
32976
|
"kind": "expression",
|
|
32955
32977
|
"type": "boolean"
|
package/dist/vuetify.js
CHANGED
|
@@ -9288,7 +9288,7 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
9288
9288
|
}
|
|
9289
9289
|
},
|
|
9290
9290
|
setValue: function setValue(value) {
|
|
9291
|
-
_VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setValue.call(this, value
|
|
9291
|
+
_VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setValue.call(this, value === undefined ? this.internalSearch : value);
|
|
9292
9292
|
},
|
|
9293
9293
|
updateEditing: function updateEditing() {
|
|
9294
9294
|
var _this = this;
|
|
@@ -19747,10 +19747,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
|
|
|
19747
19747
|
},
|
|
19748
19748
|
offsetX: Boolean,
|
|
19749
19749
|
offsetY: Boolean,
|
|
19750
|
-
openOnClick: {
|
|
19751
|
-
type: Boolean,
|
|
19752
|
-
default: true
|
|
19753
|
-
},
|
|
19754
19750
|
openOnHover: Boolean,
|
|
19755
19751
|
origin: {
|
|
19756
19752
|
type: String,
|
|
@@ -20591,6 +20587,12 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
|
|
|
20591
20587
|
var _this = this;
|
|
20592
20588
|
|
|
20593
20589
|
var on = {
|
|
20590
|
+
mouseenter: function mouseenter() {
|
|
20591
|
+
return _this.isMouseover = true;
|
|
20592
|
+
},
|
|
20593
|
+
mouseleave: function mouseleave() {
|
|
20594
|
+
return _this.isMouseover = false;
|
|
20595
|
+
},
|
|
20594
20596
|
transitionend: function transitionend(e) {
|
|
20595
20597
|
if (e.target !== e.currentTarget) return;
|
|
20596
20598
|
|
|
@@ -20609,16 +20611,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
|
|
|
20609
20611
|
};
|
|
20610
20612
|
}
|
|
20611
20613
|
|
|
20612
|
-
if (this.expandOnHover) {
|
|
20613
|
-
on.mouseenter = function () {
|
|
20614
|
-
return _this.isMouseover = true;
|
|
20615
|
-
};
|
|
20616
|
-
|
|
20617
|
-
on.mouseleave = function () {
|
|
20618
|
-
return _this.isMouseover = false;
|
|
20619
|
-
};
|
|
20620
|
-
}
|
|
20621
|
-
|
|
20622
20614
|
return on;
|
|
20623
20615
|
},
|
|
20624
20616
|
genPosition: function genPosition(name) {
|
|
@@ -20673,7 +20665,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
|
|
|
20673
20665
|
*/
|
|
20674
20666
|
updateApplication: function updateApplication() {
|
|
20675
20667
|
if (!this.isActive || this.isMobile || this.temporary || !this.$el) return 0;
|
|
20676
|
-
var width = Number(this.
|
|
20668
|
+
var width = Number(this.miniVariant ? this.miniVariantWidth : this.width);
|
|
20677
20669
|
return isNaN(width) ? this.$el.clientWidth : width;
|
|
20678
20670
|
},
|
|
20679
20671
|
updateMiniVariant: function updateMiniVariant(val) {
|
|
@@ -20851,6 +20843,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
|
|
|
20851
20843
|
isFocused: 'updateValue',
|
|
20852
20844
|
value: function value(val) {
|
|
20853
20845
|
this.lazyValue = val;
|
|
20846
|
+
this.otp = (val === null || val === void 0 ? void 0 : val.split('')) || [];
|
|
20854
20847
|
}
|
|
20855
20848
|
},
|
|
20856
20849
|
created: function created() {
|
|
@@ -21072,6 +21065,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
|
|
|
21072
21065
|
}
|
|
21073
21066
|
|
|
21074
21067
|
this.otp = newOtp;
|
|
21068
|
+
this.internalValue = this.otp.join('');
|
|
21075
21069
|
var targetFocus = Math.min(index + inputDataArray.length, maxCursor);
|
|
21076
21070
|
this.changeFocus(targetFocus);
|
|
21077
21071
|
|
|
@@ -25443,7 +25437,9 @@ var BaseSlideGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"]
|
|
|
25443
25437
|
// and need to be recalculated
|
|
25444
25438
|
isOverflowing: 'setWidths',
|
|
25445
25439
|
scrollOffset: function scrollOffset(val) {
|
|
25440
|
+
if (this.$vuetify.rtl) val = -val;
|
|
25446
25441
|
var scroll = val <= 0 ? bias(-val) : val > this.widths.content - this.widths.wrapper ? -(this.widths.content - this.widths.wrapper) + bias(this.widths.content - this.widths.wrapper - val) : -val;
|
|
25442
|
+
if (this.$vuetify.rtl) scroll = -scroll;
|
|
25447
25443
|
this.$refs.content.style.transform = "translateX(" + scroll + "px)";
|
|
25448
25444
|
}
|
|
25449
25445
|
},
|
|
@@ -31216,6 +31212,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31216
31212
|
type: Boolean,
|
|
31217
31213
|
default: true
|
|
31218
31214
|
},
|
|
31215
|
+
openOnFocus: {
|
|
31216
|
+
type: Boolean,
|
|
31217
|
+
default: true
|
|
31218
|
+
},
|
|
31219
31219
|
tag: {
|
|
31220
31220
|
type: String,
|
|
31221
31221
|
default: 'span'
|
|
@@ -31322,17 +31322,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31322
31322
|
|
|
31323
31323
|
var listeners = _mixins_activatable__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.genActivatorListeners.call(this);
|
|
31324
31324
|
|
|
31325
|
-
|
|
31326
|
-
|
|
31325
|
+
if (this.openOnFocus) {
|
|
31326
|
+
listeners.focus = function (e) {
|
|
31327
|
+
_this.getActivator(e);
|
|
31327
31328
|
|
|
31328
|
-
|
|
31329
|
-
|
|
31329
|
+
_this.runDelay('open');
|
|
31330
|
+
};
|
|
31330
31331
|
|
|
31331
|
-
|
|
31332
|
-
|
|
31332
|
+
listeners.blur = function (e) {
|
|
31333
|
+
_this.getActivator(e);
|
|
31333
31334
|
|
|
31334
|
-
|
|
31335
|
-
|
|
31335
|
+
_this.runDelay('close');
|
|
31336
|
+
};
|
|
31337
|
+
}
|
|
31336
31338
|
|
|
31337
31339
|
listeners.keydown = function (e) {
|
|
31338
31340
|
if (e.keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_7__["keyCodes"].esc) {
|
|
@@ -35007,7 +35009,7 @@ function () {
|
|
|
35007
35009
|
|
|
35008
35010
|
Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
|
|
35009
35011
|
Vuetify.installed = false;
|
|
35010
|
-
Vuetify.version = "2.6.2
|
|
35012
|
+
Vuetify.version = "2.6.2";
|
|
35011
35013
|
Vuetify.config = {
|
|
35012
35014
|
silent: false
|
|
35013
35015
|
};
|
|
@@ -38791,6 +38793,10 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
|
|
|
38791
38793
|
},
|
|
38792
38794
|
disabled: Boolean,
|
|
38793
38795
|
internalActivator: Boolean,
|
|
38796
|
+
openOnClick: {
|
|
38797
|
+
type: Boolean,
|
|
38798
|
+
default: true
|
|
38799
|
+
},
|
|
38794
38800
|
openOnHover: Boolean,
|
|
38795
38801
|
openOnFocus: Boolean
|
|
38796
38802
|
},
|
|
@@ -38855,7 +38861,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
|
|
|
38855
38861
|
},
|
|
38856
38862
|
genActivatorAttributes: function genActivatorAttributes() {
|
|
38857
38863
|
return {
|
|
38858
|
-
role: 'button',
|
|
38864
|
+
role: this.openOnClick && !this.openOnHover ? 'button' : undefined,
|
|
38859
38865
|
'aria-haspopup': true,
|
|
38860
38866
|
'aria-expanded': String(this.isActive)
|
|
38861
38867
|
};
|
|
@@ -38878,7 +38884,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
|
|
|
38878
38884
|
|
|
38879
38885
|
_this.runDelay('close');
|
|
38880
38886
|
};
|
|
38881
|
-
} else {
|
|
38887
|
+
} else if (this.openOnClick) {
|
|
38882
38888
|
listeners.click = function (e) {
|
|
38883
38889
|
var activator = _this.getActivator(e);
|
|
38884
38890
|
|
|
@@ -40111,7 +40117,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
|
|
|
40111
40117
|
default: 0
|
|
40112
40118
|
},
|
|
40113
40119
|
offsetOverflow: Boolean,
|
|
40114
|
-
openOnClick: Boolean,
|
|
40115
40120
|
positionX: {
|
|
40116
40121
|
type: Number,
|
|
40117
40122
|
default: null
|
|
@@ -40313,14 +40318,16 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
|
|
|
40313
40318
|
var listeners = _activatable__WEBPACK_IMPORTED_MODULE_2__["default"].options.methods.genActivatorListeners.call(this);
|
|
40314
40319
|
var onClick = listeners.click;
|
|
40315
40320
|
|
|
40316
|
-
|
|
40317
|
-
|
|
40318
|
-
|
|
40319
|
-
|
|
40321
|
+
if (onClick) {
|
|
40322
|
+
listeners.click = function (e) {
|
|
40323
|
+
if (_this.openOnClick) {
|
|
40324
|
+
onClick && onClick(e);
|
|
40325
|
+
}
|
|
40320
40326
|
|
|
40321
|
-
|
|
40322
|
-
|
|
40323
|
-
|
|
40327
|
+
_this.absoluteX = e.clientX;
|
|
40328
|
+
_this.absoluteY = e.clientY;
|
|
40329
|
+
};
|
|
40330
|
+
}
|
|
40324
40331
|
|
|
40325
40332
|
return listeners;
|
|
40326
40333
|
},
|
|
@@ -41353,8 +41360,8 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
41353
41360
|
var _this = this;
|
|
41354
41361
|
|
|
41355
41362
|
if (!this.to || !this.$refs.link || !this.$route) return;
|
|
41356
|
-
var activeClass = (this.activeClass + " " + (this.proxyClass || '')).trim();
|
|
41357
|
-
var exactActiveClass = (this.exactActiveClass + " " + (this.proxyClass || '')).trim() || activeClass;
|
|
41363
|
+
var activeClass = ((this.activeClass || '') + " " + (this.proxyClass || '')).trim();
|
|
41364
|
+
var exactActiveClass = ((this.exactActiveClass || '') + " " + (this.proxyClass || '')).trim() || activeClass;
|
|
41358
41365
|
var path = '_vnode.data.class.' + (this.exact ? exactActiveClass : activeClass);
|
|
41359
41366
|
this.$nextTick(function () {
|
|
41360
41367
|
/* istanbul ignore else */
|