quasar 1.19.2 → 1.19.5
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/api/QExpansionItem.json +11 -2
- package/dist/icon-set/bootstrap-icons.umd.min.js +1 -1
- package/dist/icon-set/eva-icons.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.min.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.min.js +1 -1
- package/dist/icon-set/line-awesome.umd.min.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.min.js +1 -1
- package/dist/icon-set/material-icons-round.umd.min.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.min.js +1 -1
- package/dist/icon-set/material-icons.umd.min.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.min.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.min.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.min.js +1 -1
- package/dist/icon-set/mdi-v3.umd.min.js +1 -1
- package/dist/icon-set/mdi-v4.umd.min.js +1 -1
- package/dist/icon-set/mdi-v5.umd.min.js +1 -1
- package/dist/icon-set/mdi-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.min.js +2 -2
- package/dist/icon-set/svg-material-symbols-rounded.umd.min.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.min.js +2 -2
- package/dist/icon-set/svg-mdi-v4.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-themify.umd.min.js +1 -1
- package/dist/icon-set/themify.umd.min.js +1 -1
- package/dist/lang/ar.umd.min.js +1 -1
- package/dist/lang/az-latn.umd.min.js +1 -1
- package/dist/lang/bg.umd.min.js +1 -1
- package/dist/lang/ca.umd.min.js +1 -1
- package/dist/lang/cs.umd.min.js +1 -1
- package/dist/lang/da.umd.min.js +1 -1
- package/dist/lang/de.umd.min.js +1 -1
- package/dist/lang/el.umd.min.js +1 -1
- package/dist/lang/en-gb.umd.min.js +1 -1
- package/dist/lang/en-us.umd.min.js +1 -1
- package/dist/lang/eo.umd.min.js +1 -1
- package/dist/lang/es.umd.min.js +1 -1
- package/dist/lang/et.umd.min.js +1 -1
- package/dist/lang/eu.umd.min.js +1 -1
- package/dist/lang/fa-ir.umd.min.js +1 -1
- package/dist/lang/fa.umd.min.js +1 -1
- package/dist/lang/fi.umd.min.js +1 -1
- package/dist/lang/fr.umd.min.js +1 -1
- package/dist/lang/gn.umd.min.js +1 -1
- package/dist/lang/he.umd.min.js +1 -1
- package/dist/lang/hr.umd.min.js +1 -1
- package/dist/lang/hu.umd.min.js +1 -1
- package/dist/lang/id.umd.min.js +1 -1
- package/dist/lang/is.umd.min.js +1 -1
- package/dist/lang/it.umd.min.js +1 -1
- package/dist/lang/ja.umd.min.js +1 -1
- package/dist/lang/km.umd.min.js +1 -1
- package/dist/lang/ko-kr.umd.min.js +1 -1
- package/dist/lang/kur-ckb.umd.min.js +1 -1
- package/dist/lang/kz.umd.min.js +1 -1
- package/dist/lang/lu.umd.min.js +1 -1
- package/dist/lang/lv.umd.min.js +1 -1
- package/dist/lang/ml.umd.min.js +1 -1
- package/dist/lang/mm.umd.min.js +1 -1
- package/dist/lang/ms.umd.min.js +1 -1
- package/dist/lang/my.umd.min.js +1 -1
- package/dist/lang/nb-no.umd.min.js +1 -1
- package/dist/lang/nl.umd.min.js +1 -1
- package/dist/lang/pl.umd.min.js +1 -1
- package/dist/lang/pt-br.umd.min.js +1 -1
- package/dist/lang/pt.umd.min.js +1 -1
- package/dist/lang/ro.umd.min.js +1 -1
- package/dist/lang/ru.umd.min.js +1 -1
- package/dist/lang/sk.umd.min.js +1 -1
- package/dist/lang/sl.umd.min.js +1 -1
- package/dist/lang/sm.umd.min.js +1 -1
- package/dist/lang/sr.umd.min.js +1 -1
- package/dist/lang/sv.umd.min.js +1 -1
- package/dist/lang/ta.umd.min.js +1 -1
- package/dist/lang/th.umd.min.js +1 -1
- package/dist/lang/tr.umd.min.js +1 -1
- package/dist/lang/ug.umd.min.js +1 -1
- package/dist/lang/uk.umd.min.js +1 -1
- package/dist/lang/uz-Cyrl.umd.min.js +6 -0
- package/dist/lang/uz-Latn.umd.min.js +6 -0
- package/dist/lang/vi.umd.min.js +1 -1
- package/dist/lang/zh-hans.umd.min.js +1 -1
- package/dist/lang/zh-hant.umd.min.js +1 -1
- package/dist/quasar.addon.css +1 -1
- package/dist/quasar.addon.rtl.css +1 -1
- package/dist/quasar.common.js +2 -2
- package/dist/quasar.css +14 -9
- package/dist/quasar.esm.js +2 -2
- package/dist/quasar.ie.polyfills.js +1 -1
- package/dist/quasar.ie.polyfills.umd.min.js +1 -1
- package/dist/quasar.min.css +1 -1
- package/dist/quasar.rtl.css +21 -16
- package/dist/quasar.rtl.min.css +1 -1
- package/dist/quasar.sass +8 -3
- package/dist/quasar.styl +8 -3
- package/dist/quasar.umd.js +125 -101
- package/dist/quasar.umd.min.js +2 -2
- package/dist/quasar.umd.modern.js +124 -101
- package/dist/quasar.umd.modern.min.js +2 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/web-types/web-types.json +9 -1
- package/lang/index.json +8 -0
- package/lang/uz-Cyrl.js +93 -0
- package/lang/uz-Latn.js +97 -0
- package/package.json +1 -1
- package/src/components/carousel/QCarousel.js +2 -2
- package/src/components/chat/QChatMessage.js +4 -4
- package/src/components/date/QDate.js +4 -4
- package/src/components/drawer/QDrawer.js +1 -1
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/expansion-item/QExpansionItem.js +1 -1
- package/src/components/expansion-item/QExpansionItem.json +11 -2
- package/src/components/field/QField.js +3 -5
- package/src/components/field/QField.sass +1 -0
- package/src/components/field/QField.styl +1 -0
- package/src/components/file/QFile.js +5 -0
- package/src/components/markup-table/QMarkupTable.js +6 -6
- package/src/components/scroll-area/QScrollArea.js +4 -2
- package/src/components/select/QSelect.js +65 -48
- package/src/components/stepper/StepHeader.js +1 -1
- package/src/components/table/QTable.js +8 -8
- package/src/components/time/QTime.js +3 -3
- package/src/components/timeline/QTimeline.sass +4 -0
- package/src/components/timeline/QTimeline.styl +4 -0
- package/src/components/tree/QTree.js +4 -4
- package/src/components/tree/QTree.sass +1 -1
- package/src/components/tree/QTree.styl +1 -1
- package/src/components/uploader/QUploader.sass +1 -1
- package/src/components/uploader/QUploader.styl +1 -1
- package/src/components/uploader/QUploaderBase.js +3 -3
- package/src/components/virtual-scroll/QVirtualScroll.js +1 -1
- package/src/directives/TouchSwipe.js +1 -1
- package/src/mixins/fab.js +1 -1
- package/src/plugins/Meta.js +1 -1
- package/src/plugins/Screen.js +1 -1
- package/src/utils/date.js +1 -1
- package/src/utils/patterns.js +2 -2
package/dist/quasar.sass
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v1.19.
|
|
2
|
+
* Quasar Framework v1.19.5
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2324,6 +2324,7 @@ $field-transition-label-right-up: .324s cubic-bezier(.4,0,.2,1)
|
|
|
2324
2324
|
width: 100%
|
|
2325
2325
|
min-width: 0
|
|
2326
2326
|
outline: 0 !important
|
|
2327
|
+
user-select: auto
|
|
2327
2328
|
&:-webkit-autofill
|
|
2328
2329
|
-webkit-animation-name: q-autofill
|
|
2329
2330
|
-webkit-animation-fill-mode: both
|
|
@@ -4618,6 +4619,10 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
|
|
|
4618
4619
|
line-height: 38px
|
|
4619
4620
|
width: 100%
|
|
4620
4621
|
color: #fff
|
|
4622
|
+
> svg,
|
|
4623
|
+
> img
|
|
4624
|
+
width: 1em
|
|
4625
|
+
height: 1em
|
|
4621
4626
|
&__dot-img
|
|
4622
4627
|
position: absolute
|
|
4623
4628
|
top: 4px
|
|
@@ -4994,9 +4999,9 @@ body.desktop
|
|
|
4994
4999
|
&__arrow,
|
|
4995
5000
|
&__spinner
|
|
4996
5001
|
font-size: 16px
|
|
5002
|
+
margin-right: 4px
|
|
4997
5003
|
&__arrow
|
|
4998
5004
|
transition: transform .3s
|
|
4999
|
-
margin-right: 4px
|
|
5000
5005
|
&--rotate
|
|
5001
5006
|
transform: rotate3d(0, 0, 1, 90deg)
|
|
5002
5007
|
&__tickbox
|
|
@@ -5076,7 +5081,7 @@ body.desktop
|
|
|
5076
5081
|
|
|
5077
5082
|
&::-webkit-file-upload-button
|
|
5078
5083
|
cursor: pointer
|
|
5079
|
-
&
|
|
5084
|
+
&__file
|
|
5080
5085
|
&:before
|
|
5081
5086
|
content: ''
|
|
5082
5087
|
border-top-left-radius: inherit
|
package/dist/quasar.styl
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v1.19.
|
|
2
|
+
* Quasar Framework v1.19.5
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2371,6 +2371,7 @@ $field-transition-label-right-up = .324s cubic-bezier(.4,0,.2,1)
|
|
|
2371
2371
|
width: 100%
|
|
2372
2372
|
min-width: 0
|
|
2373
2373
|
outline: 0 !important
|
|
2374
|
+
user-select: auto
|
|
2374
2375
|
&:-webkit-autofill
|
|
2375
2376
|
-webkit-animation-name: q-autofill
|
|
2376
2377
|
-webkit-animation-fill-mode: both
|
|
@@ -4665,6 +4666,10 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
|
|
|
4665
4666
|
line-height: 38px
|
|
4666
4667
|
width: 100%
|
|
4667
4668
|
color: #fff
|
|
4669
|
+
> svg,
|
|
4670
|
+
> img
|
|
4671
|
+
width: 1em
|
|
4672
|
+
height: 1em
|
|
4668
4673
|
&__dot-img
|
|
4669
4674
|
position: absolute
|
|
4670
4675
|
top: 4px
|
|
@@ -5041,9 +5046,9 @@ body.desktop
|
|
|
5041
5046
|
&__arrow,
|
|
5042
5047
|
&__spinner
|
|
5043
5048
|
font-size: 16px
|
|
5049
|
+
margin-right: 4px
|
|
5044
5050
|
&__arrow
|
|
5045
5051
|
transition: transform .3s
|
|
5046
|
-
margin-right: 4px
|
|
5047
5052
|
&--rotate
|
|
5048
5053
|
transform: rotate3d(0, 0, 1, 90deg)
|
|
5049
5054
|
&__tickbox
|
|
@@ -5123,7 +5128,7 @@ body.desktop
|
|
|
5123
5128
|
|
|
5124
5129
|
&::-webkit-file-upload-button
|
|
5125
5130
|
cursor: pointer
|
|
5126
|
-
&
|
|
5131
|
+
&__file
|
|
5127
5132
|
&:before
|
|
5128
5133
|
content: ''
|
|
5129
5134
|
border-top-left-radius: inherit
|
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v1.19.
|
|
2
|
+
* Quasar Framework v1.19.5
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
Vue = Vue && Object.prototype.hasOwnProperty.call(Vue, 'default') ? Vue['default'] : Vue;
|
|
14
14
|
|
|
15
|
-
var version = "1.19.
|
|
15
|
+
var version = "1.19.5";
|
|
16
16
|
|
|
17
17
|
/* eslint-disable no-useless-escape */
|
|
18
18
|
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
|
|
759
759
|
// due to optimizations, this would be left out otherwise
|
|
760
760
|
classes === true && this$1.name === 'xs' &&
|
|
761
|
-
document.body.classList.add(
|
|
761
|
+
document.body.classList.add('screen--xs');
|
|
762
762
|
};
|
|
763
763
|
|
|
764
764
|
if (fromSSR === true) {
|
|
@@ -6506,7 +6506,7 @@
|
|
|
6506
6506
|
|
|
6507
6507
|
client.has.touch === true && addEvt(ctx, 'main', [
|
|
6508
6508
|
[ el, 'touchstart', 'touchStart', ("passive" + (modifiers.capture === true ? 'Capture' : '')) ],
|
|
6509
|
-
[ el, 'touchmove', 'noop',
|
|
6509
|
+
[ el, 'touchmove', 'noop', 'notPassiveCapture' ]
|
|
6510
6510
|
]);
|
|
6511
6511
|
},
|
|
6512
6512
|
|
|
@@ -7141,11 +7141,11 @@
|
|
|
7141
7141
|
},
|
|
7142
7142
|
|
|
7143
7143
|
transitionPrevComputed: function transitionPrevComputed () {
|
|
7144
|
-
return this.transitionPrev ||
|
|
7144
|
+
return this.transitionPrev || 'fade'
|
|
7145
7145
|
},
|
|
7146
7146
|
|
|
7147
7147
|
transitionNextComputed: function transitionNextComputed () {
|
|
7148
|
-
return this.transitionNext ||
|
|
7148
|
+
return this.transitionNext || 'fade'
|
|
7149
7149
|
}
|
|
7150
7150
|
},
|
|
7151
7151
|
|
|
@@ -7405,7 +7405,7 @@
|
|
|
7405
7405
|
},
|
|
7406
7406
|
|
|
7407
7407
|
containerClass: function containerClass () {
|
|
7408
|
-
return
|
|
7408
|
+
return 'q-message-container row items-end no-wrap' +
|
|
7409
7409
|
(this.sent === true ? ' reverse' : '')
|
|
7410
7410
|
},
|
|
7411
7411
|
|
|
@@ -7459,13 +7459,13 @@
|
|
|
7459
7459
|
]
|
|
7460
7460
|
}
|
|
7461
7461
|
|
|
7462
|
-
var content = withSlots
|
|
7463
|
-
?
|
|
7464
|
-
: (function (text) {
|
|
7462
|
+
var content = withSlots !== true
|
|
7463
|
+
? function (text) {
|
|
7465
7464
|
var obj;
|
|
7466
7465
|
|
|
7467
7466
|
return h('div', { domProps: ( obj = {}, obj[domPropText] = text, obj ) });
|
|
7468
|
-
}
|
|
7467
|
+
}
|
|
7468
|
+
: (contentList.length > 1 ? function (text) { return text; } : function (text) { return h('div', [text]); });
|
|
7469
7469
|
|
|
7470
7470
|
return contentList.map(function (msg, index) { return h('div', {
|
|
7471
7471
|
key: index,
|
|
@@ -8243,11 +8243,11 @@
|
|
|
8243
8243
|
timeOrFulltime: function (v) { return /^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(v); },
|
|
8244
8244
|
|
|
8245
8245
|
// -- RFC 5322 --
|
|
8246
|
-
// -- Added in
|
|
8246
|
+
// -- Added in v1.18.10 --
|
|
8247
8247
|
// This is a basic helper validation.
|
|
8248
8248
|
// For something more complex (like RFC 822) you should write and use your own rule.
|
|
8249
8249
|
// We won't be accepting PRs to enhance the one below because of the reason above.
|
|
8250
|
-
email: function (v) { return /^(([^<>()
|
|
8250
|
+
email: function (v) { return /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(v); },
|
|
8251
8251
|
|
|
8252
8252
|
hexColor: function (v) { return hex.test(v); },
|
|
8253
8253
|
hexaColor: function (v) { return hexa.test(v); },
|
|
@@ -12607,7 +12607,7 @@
|
|
|
12607
12607
|
YY: function YY (date, _, forcedYear) {
|
|
12608
12608
|
// workaround for < 1900 with new Date()
|
|
12609
12609
|
var y = this.YYYY(date, _, forcedYear) % 100;
|
|
12610
|
-
return y
|
|
12610
|
+
return y >= 0
|
|
12611
12611
|
? pad(y)
|
|
12612
12612
|
: '-' + pad(Math.abs(y))
|
|
12613
12613
|
},
|
|
@@ -12998,9 +12998,9 @@
|
|
|
12998
12998
|
var type = this.landscape === true ? 'landscape' : 'portrait';
|
|
12999
12999
|
return "q-date q-date--" + type + " q-date--" + type + "-" + (this.minimal === true ? 'minimal' : 'standard') +
|
|
13000
13000
|
(this.isDark === true ? ' q-date--dark q-dark' : '') +
|
|
13001
|
-
(this.bordered === true ?
|
|
13002
|
-
(this.square === true ?
|
|
13003
|
-
(this.flat === true ?
|
|
13001
|
+
(this.bordered === true ? ' q-date--bordered' : '') +
|
|
13002
|
+
(this.square === true ? ' q-date--square no-border-radius' : '') +
|
|
13003
|
+
(this.flat === true ? ' q-date--flat no-shadow' : '') +
|
|
13004
13004
|
(this.disable === true ? ' disabled' : (this.readonly === true ? ' q-date--readonly' : ''))
|
|
13005
13005
|
},
|
|
13006
13006
|
|
|
@@ -13563,7 +13563,7 @@
|
|
|
13563
13563
|
}
|
|
13564
13564
|
|
|
13565
13565
|
res.forEach(function (day) {
|
|
13566
|
-
var cls =
|
|
13566
|
+
var cls = 'q-date__calendar-item ';
|
|
13567
13567
|
|
|
13568
13568
|
if (day.fill === true) {
|
|
13569
13569
|
cls += 'q-date__calendar-item--fill';
|
|
@@ -15698,7 +15698,7 @@
|
|
|
15698
15698
|
child.push(
|
|
15699
15699
|
h('aside', {
|
|
15700
15700
|
ref: 'content',
|
|
15701
|
-
staticClass:
|
|
15701
|
+
staticClass: 'q-drawer',
|
|
15702
15702
|
class: this.classes,
|
|
15703
15703
|
style: this.style,
|
|
15704
15704
|
on: this.onNativeEvents,
|
|
@@ -17416,7 +17416,7 @@
|
|
|
17416
17416
|
'div',
|
|
17417
17417
|
{
|
|
17418
17418
|
ref: 'content',
|
|
17419
|
-
staticClass:
|
|
17419
|
+
staticClass: 'q-editor__content',
|
|
17420
17420
|
style: this.innerStyle,
|
|
17421
17421
|
class: this.innerClass,
|
|
17422
17422
|
attrs: {
|
|
@@ -17835,7 +17835,7 @@
|
|
|
17835
17835
|
var child;
|
|
17836
17836
|
|
|
17837
17837
|
if (this.$scopedSlots.header !== void 0) {
|
|
17838
|
-
child = [].concat(this.$scopedSlots.header());
|
|
17838
|
+
child = [].concat(this.$scopedSlots.header({ expanded: this.showing === true }));
|
|
17839
17839
|
}
|
|
17840
17840
|
else {
|
|
17841
17841
|
child = [
|
|
@@ -18022,7 +18022,7 @@
|
|
|
18022
18022
|
return {
|
|
18023
18023
|
action: 'push',
|
|
18024
18024
|
data: {
|
|
18025
|
-
staticClass:
|
|
18025
|
+
staticClass: 'q-fab__label q-tooltip--style q-fab__label--external' +
|
|
18026
18026
|
" q-fab__label--external-" + (this.labelPosition) +
|
|
18027
18027
|
(hideLabel === true ? ' q-fab__label--external-hidden' : ''),
|
|
18028
18028
|
style: this.labelStyle,
|
|
@@ -18702,11 +18702,9 @@
|
|
|
18702
18702
|
floatingLabel: function floatingLabel () {
|
|
18703
18703
|
return this.stackLabel === true ||
|
|
18704
18704
|
this.focused === true ||
|
|
18705
|
-
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
: this.hasValue === true
|
|
18709
|
-
) ||
|
|
18705
|
+
typeof this.inputValue === 'number' ||
|
|
18706
|
+
(typeof this.inputValue === 'string' && this.inputValue.length > 0) ||
|
|
18707
|
+
(this.hideSelected !== true && this.hasValue === true) ||
|
|
18710
18708
|
(
|
|
18711
18709
|
this.displayValue !== void 0 &&
|
|
18712
18710
|
this.displayValue !== null &&
|
|
@@ -19557,6 +19555,11 @@
|
|
|
19557
19555
|
var this$1 = this;
|
|
19558
19556
|
|
|
19559
19557
|
var files = this.__processFiles(e, fileList, this.innerValue, this.isAppending);
|
|
19558
|
+
var fileInput = this.__getFileInput();
|
|
19559
|
+
|
|
19560
|
+
if (fileInput !== void 0) {
|
|
19561
|
+
fileInput.value = '';
|
|
19562
|
+
}
|
|
19560
19563
|
|
|
19561
19564
|
// if nothing to do...
|
|
19562
19565
|
if (files === void 0) { return }
|
|
@@ -22749,12 +22752,12 @@
|
|
|
22749
22752
|
computed: {
|
|
22750
22753
|
classes: function classes () {
|
|
22751
22754
|
return "q-table--" + (this.separator) + "-separator" +
|
|
22752
|
-
(this.isDark === true ?
|
|
22753
|
-
(this.dense === true ?
|
|
22754
|
-
(this.flat === true ?
|
|
22755
|
-
(this.bordered === true ?
|
|
22756
|
-
(this.square === true ?
|
|
22757
|
-
(this.wrapCells === false ?
|
|
22755
|
+
(this.isDark === true ? ' q-table--dark q-table__card--dark q-dark' : '') +
|
|
22756
|
+
(this.dense === true ? ' q-table--dense' : '') +
|
|
22757
|
+
(this.flat === true ? ' q-table--flat' : '') +
|
|
22758
|
+
(this.bordered === true ? ' q-table--bordered' : '') +
|
|
22759
|
+
(this.square === true ? ' q-table--square' : '') +
|
|
22760
|
+
(this.wrapCells === false ? ' q-table--no-wrap' : '')
|
|
22758
22761
|
}
|
|
22759
22762
|
},
|
|
22760
22763
|
|
|
@@ -25622,6 +25625,8 @@
|
|
|
25622
25625
|
}
|
|
25623
25626
|
});
|
|
25624
25627
|
|
|
25628
|
+
var getMinThumbSize = function (size) { return (size >= 250 ? 50 : Math.ceil(size / 5)); };
|
|
25629
|
+
|
|
25625
25630
|
var axisList = [ 'vertical', 'horizontal' ];
|
|
25626
25631
|
var dirProps = {
|
|
25627
25632
|
vertical: { offset: 'offsetY', scroll: 'scrollTop', dir: 'down', dist: 'y' },
|
|
@@ -25739,7 +25744,7 @@
|
|
|
25739
25744
|
return Math.round(
|
|
25740
25745
|
between(
|
|
25741
25746
|
this.container.vertical * this.container.vertical / this.scroll.vertical.size,
|
|
25742
|
-
|
|
25747
|
+
getMinThumbSize(this.container.vertical),
|
|
25743
25748
|
this.container.vertical
|
|
25744
25749
|
)
|
|
25745
25750
|
)
|
|
@@ -25749,7 +25754,7 @@
|
|
|
25749
25754
|
return Math.round(
|
|
25750
25755
|
between(
|
|
25751
25756
|
this.container.horizontal * this.container.horizontal / this.scroll.horizontal.size,
|
|
25752
|
-
|
|
25757
|
+
getMinThumbSize(this.container.horizontal),
|
|
25753
25758
|
this.container.horizontal
|
|
25754
25759
|
)
|
|
25755
25760
|
)
|
|
@@ -27338,20 +27343,35 @@
|
|
|
27338
27343
|
},
|
|
27339
27344
|
|
|
27340
27345
|
comboboxAttrs: function comboboxAttrs () {
|
|
27341
|
-
|
|
27346
|
+
var attrs = {
|
|
27347
|
+
tabindex: this.tabindex,
|
|
27342
27348
|
role: 'combobox',
|
|
27343
|
-
'aria-
|
|
27349
|
+
'aria-label': this.label,
|
|
27350
|
+
'aria-autocomplete': this.useInput === true ? 'list' : 'none',
|
|
27344
27351
|
'aria-expanded': this.menu === true ? 'true' : 'false',
|
|
27345
27352
|
'aria-owns': ((this.targetUid) + "_lb"),
|
|
27346
|
-
'aria-
|
|
27353
|
+
'aria-controls': ((this.targetUid) + "_lb")
|
|
27354
|
+
};
|
|
27355
|
+
|
|
27356
|
+
if (this.optionIndex >= 0) {
|
|
27357
|
+
attrs['aria-activedescendant'] = (this.targetUid) + "_" + (this.optionIndex);
|
|
27347
27358
|
}
|
|
27359
|
+
|
|
27360
|
+
return attrs
|
|
27348
27361
|
},
|
|
27349
27362
|
|
|
27350
27363
|
listboxAttrs: function listboxAttrs () {
|
|
27351
|
-
|
|
27364
|
+
var attrs = {
|
|
27365
|
+
id: ((this.targetUid) + "_lb"),
|
|
27352
27366
|
role: 'listbox',
|
|
27353
|
-
|
|
27367
|
+
'aria-multiselectable': this.multiple === true ? 'true' : 'false'
|
|
27368
|
+
};
|
|
27369
|
+
|
|
27370
|
+
if (this.optionIndex >= 0) {
|
|
27371
|
+
attrs['aria-activedescendant'] = (this.targetUid) + "_" + (this.optionIndex);
|
|
27354
27372
|
}
|
|
27373
|
+
|
|
27374
|
+
return attrs
|
|
27355
27375
|
}
|
|
27356
27376
|
},
|
|
27357
27377
|
|
|
@@ -27430,6 +27450,9 @@
|
|
|
27430
27450
|
true
|
|
27431
27451
|
);
|
|
27432
27452
|
|
|
27453
|
+
this.dialogFieldFocused = false;
|
|
27454
|
+
document.activeElement.blur();
|
|
27455
|
+
|
|
27433
27456
|
this.hidePopup();
|
|
27434
27457
|
}
|
|
27435
27458
|
|
|
@@ -27489,6 +27512,7 @@
|
|
|
27489
27512
|
},
|
|
27490
27513
|
|
|
27491
27514
|
moveOptionSelection: function moveOptionSelection (offset, skipInputValue) {
|
|
27515
|
+
var this$1 = this;
|
|
27492
27516
|
if ( offset === void 0 ) offset = 1;
|
|
27493
27517
|
|
|
27494
27518
|
if (this.menu === true) {
|
|
@@ -27503,15 +27527,18 @@
|
|
|
27503
27527
|
while (index !== -1 && index !== this.optionIndex && this.isOptionDisabled(this.options[index]) === true)
|
|
27504
27528
|
|
|
27505
27529
|
if (this.optionIndex !== index) {
|
|
27506
|
-
this.
|
|
27507
|
-
this.
|
|
27530
|
+
cancelAnimationFrame(this.moveAnimationFrame);
|
|
27531
|
+
this.moveAnimationFrame = requestAnimationFrame(function () {
|
|
27532
|
+
this$1.setOptionIndex(index);
|
|
27533
|
+
this$1.scrollTo(index);
|
|
27508
27534
|
|
|
27509
|
-
|
|
27510
|
-
|
|
27511
|
-
|
|
27512
|
-
|
|
27513
|
-
|
|
27514
|
-
|
|
27535
|
+
if (skipInputValue !== true && this$1.useInput === true && this$1.fillInput === true) {
|
|
27536
|
+
this$1.__setInputValue(index >= 0
|
|
27537
|
+
? this$1.getOptionLabel(this$1.options[index])
|
|
27538
|
+
: this$1.defaultInputValue
|
|
27539
|
+
);
|
|
27540
|
+
}
|
|
27541
|
+
});
|
|
27515
27542
|
}
|
|
27516
27543
|
}
|
|
27517
27544
|
},
|
|
@@ -27858,7 +27885,7 @@
|
|
|
27858
27885
|
var obj;
|
|
27859
27886
|
|
|
27860
27887
|
return h(QChip, {
|
|
27861
|
-
key: '
|
|
27888
|
+
key: 'rem#' + i,
|
|
27862
27889
|
props: {
|
|
27863
27890
|
removable: this$1.editable === true && this$1.isOptionDisabled(scope.opt) !== true,
|
|
27864
27891
|
dense: true,
|
|
@@ -27898,12 +27925,13 @@
|
|
|
27898
27925
|
var attrs$1 = isTarget === true ? this.comboboxAttrs : void 0;
|
|
27899
27926
|
|
|
27900
27927
|
child.push(
|
|
27901
|
-
h('
|
|
27928
|
+
h('input', {
|
|
27902
27929
|
ref: isTarget === true ? 'target' : void 0,
|
|
27903
27930
|
key: 'd_t',
|
|
27904
27931
|
staticClass: 'q-select__focus-target',
|
|
27905
27932
|
attrs: Object.assign({}, {id: isTarget === true ? this.targetUid : void 0,
|
|
27906
|
-
|
|
27933
|
+
readonly: true,
|
|
27934
|
+
'data-autofocus': (fromDialog === true ? isTarget === true : this.autofocus) || void 0},
|
|
27907
27935
|
attrs$1),
|
|
27908
27936
|
on: cache(this, 'f-tget', {
|
|
27909
27937
|
keydown: this.__onTargetKeydown,
|
|
@@ -27916,6 +27944,7 @@
|
|
|
27916
27944
|
if (isTarget === true && typeof this.autocomplete === 'string' && this.autocomplete.length > 0) {
|
|
27917
27945
|
child.push(
|
|
27918
27946
|
h('input', {
|
|
27947
|
+
key: 'autoinp',
|
|
27919
27948
|
staticClass: 'q-select__autocomplete-input',
|
|
27920
27949
|
attrs: { autocomplete: this.autocomplete },
|
|
27921
27950
|
on: cache(this, 'autoinp', {
|
|
@@ -27954,6 +27983,12 @@
|
|
|
27954
27983
|
return void 0
|
|
27955
27984
|
}
|
|
27956
27985
|
|
|
27986
|
+
if (this.noOptions === true) {
|
|
27987
|
+
return this.$scopedSlots['no-option'] !== void 0
|
|
27988
|
+
? this.$scopedSlots['no-option']({ inputValue: this.inputValue })
|
|
27989
|
+
: void 0
|
|
27990
|
+
}
|
|
27991
|
+
|
|
27957
27992
|
if (
|
|
27958
27993
|
this.$scopedSlots.option !== void 0 &&
|
|
27959
27994
|
this.__optionScopeCache.optionSlot !== this.$scopedSlots.option
|
|
@@ -28024,9 +28059,8 @@
|
|
|
28024
28059
|
attrs,
|
|
28025
28060
|
{id: isTarget === true ? this.targetUid : void 0,
|
|
28026
28061
|
maxlength: this.maxlength, // this is converted to prop by QField
|
|
28027
|
-
tabindex: this.tabindex,
|
|
28028
28062
|
autocomplete: this.autocomplete,
|
|
28029
|
-
'data-autofocus': (fromDialog
|
|
28063
|
+
'data-autofocus': (fromDialog === true ? isTarget === true : this.autofocus) || void 0,
|
|
28030
28064
|
disabled: this.disable === true,
|
|
28031
28065
|
readonly: this.readonly === true}),
|
|
28032
28066
|
on: this.inputControlEvents
|
|
@@ -28148,6 +28182,7 @@
|
|
|
28148
28182
|
}
|
|
28149
28183
|
else {
|
|
28150
28184
|
this$1.menu = true;
|
|
28185
|
+
this$1.hasDialog === true && (this$1.dialog = true);
|
|
28151
28186
|
}
|
|
28152
28187
|
}
|
|
28153
28188
|
|
|
@@ -28188,15 +28223,13 @@
|
|
|
28188
28223
|
focusout(e);
|
|
28189
28224
|
},
|
|
28190
28225
|
click: function (e) {
|
|
28191
|
-
|
|
28192
|
-
|
|
28193
|
-
prevent(e);
|
|
28226
|
+
// label from QField will propagate click on the input (except IE)
|
|
28227
|
+
prevent(e);
|
|
28194
28228
|
|
|
28195
|
-
|
|
28196
|
-
|
|
28197
|
-
|
|
28198
|
-
|
|
28199
|
-
}
|
|
28229
|
+
if (this$1.hasDialog !== true && this$1.menu === true) {
|
|
28230
|
+
this$1.__closeMenu();
|
|
28231
|
+
this$1.$refs.target !== void 0 && this$1.$refs.target.focus();
|
|
28232
|
+
return
|
|
28200
28233
|
}
|
|
28201
28234
|
|
|
28202
28235
|
this$1.showPopup(e);
|
|
@@ -28217,15 +28250,8 @@
|
|
|
28217
28250
|
},
|
|
28218
28251
|
|
|
28219
28252
|
__getMenu: function __getMenu (h) {
|
|
28220
|
-
var child = this.noOptions === true
|
|
28221
|
-
? (
|
|
28222
|
-
this.$scopedSlots['no-option'] !== void 0
|
|
28223
|
-
? this.$scopedSlots['no-option']({ inputValue: this.inputValue })
|
|
28224
|
-
: null
|
|
28225
|
-
)
|
|
28226
|
-
: this.__getOptions(h);
|
|
28227
|
-
|
|
28228
28253
|
return h(QMenu, {
|
|
28254
|
+
key: 'menu',
|
|
28229
28255
|
ref: 'menu',
|
|
28230
28256
|
props: {
|
|
28231
28257
|
value: this.menu,
|
|
@@ -28251,7 +28277,7 @@
|
|
|
28251
28277
|
'before-hide': this.__closeMenu,
|
|
28252
28278
|
show: this.__onMenuShow
|
|
28253
28279
|
})
|
|
28254
|
-
},
|
|
28280
|
+
}, this.__getOptions(h))
|
|
28255
28281
|
},
|
|
28256
28282
|
|
|
28257
28283
|
__onMenuShow: function __onMenuShow () {
|
|
@@ -28300,8 +28326,9 @@
|
|
|
28300
28326
|
|
|
28301
28327
|
this.menu === true && content.push(
|
|
28302
28328
|
h('div', {
|
|
28329
|
+
key: 'virtMenu',
|
|
28303
28330
|
ref: 'menuContent',
|
|
28304
|
-
staticClass: 'scroll',
|
|
28331
|
+
staticClass: 'col scroll',
|
|
28305
28332
|
class: this.menuContentClass,
|
|
28306
28333
|
style: this.popupContentStyle,
|
|
28307
28334
|
attrs: this.listboxAttrs,
|
|
@@ -28309,18 +28336,11 @@
|
|
|
28309
28336
|
click: prevent,
|
|
28310
28337
|
'&scroll': this.__onVirtualScrollEvt
|
|
28311
28338
|
})
|
|
28312
|
-
}, (
|
|
28313
|
-
this.noOptions === true
|
|
28314
|
-
? (
|
|
28315
|
-
this.$scopedSlots['no-option'] !== void 0
|
|
28316
|
-
? this.$scopedSlots['no-option']({ inputValue: this.inputValue })
|
|
28317
|
-
: null
|
|
28318
|
-
)
|
|
28319
|
-
: this.__getOptions(h)
|
|
28320
|
-
))
|
|
28339
|
+
}, this.__getOptions(h))
|
|
28321
28340
|
);
|
|
28322
28341
|
|
|
28323
28342
|
return h(QDialog, {
|
|
28343
|
+
key: 'dialog',
|
|
28324
28344
|
ref: 'dialog',
|
|
28325
28345
|
props: {
|
|
28326
28346
|
value: this.dialog,
|
|
@@ -28344,13 +28364,17 @@
|
|
|
28344
28364
|
},
|
|
28345
28365
|
|
|
28346
28366
|
__onDialogBeforeHide: function __onDialogBeforeHide () {
|
|
28347
|
-
if (
|
|
28367
|
+
if (this.useInput !== true || this.$q.platform.is.desktop === true) {
|
|
28348
28368
|
this.$refs.dialog.__refocusTarget = this.$el.querySelector('.q-field__native > [tabindex]:last-child');
|
|
28349
28369
|
}
|
|
28350
28370
|
this.focused = false;
|
|
28371
|
+
this.dialogFieldFocused = false;
|
|
28351
28372
|
},
|
|
28352
28373
|
|
|
28353
28374
|
__onDialogHide: function __onDialogHide (e) {
|
|
28375
|
+
if (this.$q.platform.is.desktop !== true) {
|
|
28376
|
+
document.activeElement.blur();
|
|
28377
|
+
}
|
|
28354
28378
|
this.hidePopup();
|
|
28355
28379
|
this.focused === false && this.$emit('blur', e);
|
|
28356
28380
|
this.__resetInputValue();
|
|
@@ -31446,7 +31470,7 @@
|
|
|
31446
31470
|
},
|
|
31447
31471
|
|
|
31448
31472
|
classes: function classes () {
|
|
31449
|
-
return
|
|
31473
|
+
return 'q-stepper__tab col-grow flex items-center no-wrap relative-position' +
|
|
31450
31474
|
(this.color !== void 0 ? (" text-" + (this.color)) : '') +
|
|
31451
31475
|
(this.isError === true
|
|
31452
31476
|
? ' q-stepper__tab--error q-stepper__tab--error-with-' + (this.hasPrefix === true ? 'prefix' : 'icon')
|
|
@@ -32648,7 +32672,7 @@
|
|
|
32648
32672
|
|
|
32649
32673
|
render: function render (h) {
|
|
32650
32674
|
if (this.$scopedSlots.default === void 0) {
|
|
32651
|
-
console.error(
|
|
32675
|
+
console.error('QVirtualScroll: default scoped slot is required for rendering', this);
|
|
32652
32676
|
return
|
|
32653
32677
|
}
|
|
32654
32678
|
|
|
@@ -33412,20 +33436,20 @@
|
|
|
33412
33436
|
},
|
|
33413
33437
|
|
|
33414
33438
|
cardDefaultClass: function cardDefaultClass () {
|
|
33415
|
-
return
|
|
33439
|
+
return ' q-table__card' +
|
|
33416
33440
|
(this.isDark === true ? ' q-table__card--dark q-dark' : '') +
|
|
33417
|
-
(this.square === true ?
|
|
33418
|
-
(this.flat === true ?
|
|
33419
|
-
(this.bordered === true ?
|
|
33441
|
+
(this.square === true ? ' q-table--square' : '') +
|
|
33442
|
+
(this.flat === true ? ' q-table--flat' : '') +
|
|
33443
|
+
(this.bordered === true ? ' q-table--bordered' : '')
|
|
33420
33444
|
},
|
|
33421
33445
|
|
|
33422
33446
|
__containerClass: function __containerClass () {
|
|
33423
33447
|
return "q-table__container q-table--" + (this.separator) + "-separator column no-wrap" +
|
|
33424
33448
|
(this.grid === true ? ' q-table--grid' : this.cardDefaultClass) +
|
|
33425
|
-
(this.isDark === true ?
|
|
33426
|
-
(this.dense === true ?
|
|
33427
|
-
(this.wrapCells === false ?
|
|
33428
|
-
(this.inFullscreen === true ?
|
|
33449
|
+
(this.isDark === true ? ' q-table--dark' : '') +
|
|
33450
|
+
(this.dense === true ? ' q-table--dense' : '') +
|
|
33451
|
+
(this.wrapCells === false ? ' q-table--no-wrap' : '') +
|
|
33452
|
+
(this.inFullscreen === true ? ' fullscreen scroll' : '')
|
|
33429
33453
|
},
|
|
33430
33454
|
|
|
33431
33455
|
containerClass: function containerClass () {
|
|
@@ -33971,9 +33995,9 @@
|
|
|
33971
33995
|
return "q-time q-time--" + (this.landscape === true ? 'landscape' : 'portrait') +
|
|
33972
33996
|
(this.isDark === true ? ' q-time--dark q-dark' : '') +
|
|
33973
33997
|
(this.disable === true ? ' disabled' : (this.readonly === true ? ' q-time--readonly' : '')) +
|
|
33974
|
-
(this.bordered === true ?
|
|
33975
|
-
(this.square === true ?
|
|
33976
|
-
(this.flat === true ?
|
|
33998
|
+
(this.bordered === true ? ' q-time--bordered' : '') +
|
|
33999
|
+
(this.square === true ? ' q-time--square no-border-radius' : '') +
|
|
34000
|
+
(this.flat === true ? ' q-time--flat no-shadow' : '')
|
|
33977
34001
|
},
|
|
33978
34002
|
|
|
33979
34003
|
stringModel: function stringModel () {
|
|
@@ -35044,7 +35068,7 @@
|
|
|
35044
35068
|
classes: function classes () {
|
|
35045
35069
|
return "q-tree q-tree--" + (this.dense === true ? 'dense' : 'standard') +
|
|
35046
35070
|
(this.noConnectors === true ? ' q-tree--no-connectors' : '') +
|
|
35047
|
-
(this.isDark === true ?
|
|
35071
|
+
(this.isDark === true ? ' q-tree--dark' : '') +
|
|
35048
35072
|
(this.color !== void 0 ? (" text-" + (this.color)) : '')
|
|
35049
35073
|
},
|
|
35050
35074
|
|
|
@@ -35366,7 +35390,7 @@
|
|
|
35366
35390
|
}
|
|
35367
35391
|
|
|
35368
35392
|
if (emit === true) {
|
|
35369
|
-
this.$emit(
|
|
35393
|
+
this.$emit('update:expanded', target);
|
|
35370
35394
|
}
|
|
35371
35395
|
else {
|
|
35372
35396
|
this.innerExpanded = target;
|
|
@@ -35396,7 +35420,7 @@
|
|
|
35396
35420
|
}
|
|
35397
35421
|
|
|
35398
35422
|
if (emit === true) {
|
|
35399
|
-
this.$emit(
|
|
35423
|
+
this.$emit('update:ticked', target);
|
|
35400
35424
|
}
|
|
35401
35425
|
},
|
|
35402
35426
|
|
|
@@ -35434,7 +35458,7 @@
|
|
|
35434
35458
|
__getNodeMedia: function __getNodeMedia (h, node) {
|
|
35435
35459
|
if (node.icon !== void 0) {
|
|
35436
35460
|
return h(QIcon, {
|
|
35437
|
-
staticClass:
|
|
35461
|
+
staticClass: 'q-tree__icon q-mr-sm',
|
|
35438
35462
|
props: { name: node.icon, color: node.iconColor }
|
|
35439
35463
|
})
|
|
35440
35464
|
}
|
|
@@ -35914,14 +35938,14 @@
|
|
|
35914
35938
|
var this$1 = this;
|
|
35915
35939
|
|
|
35916
35940
|
var localFiles = this.__processFiles(e, fileList, this.files, true);
|
|
35917
|
-
|
|
35918
|
-
if (localFiles === void 0) { return }
|
|
35919
|
-
|
|
35920
35941
|
var fileInput = this.__getFileInput();
|
|
35942
|
+
|
|
35921
35943
|
if (fileInput !== void 0) {
|
|
35922
35944
|
fileInput.value = '';
|
|
35923
35945
|
}
|
|
35924
35946
|
|
|
35947
|
+
if (localFiles === void 0) { return }
|
|
35948
|
+
|
|
35925
35949
|
localFiles.forEach(function (file) {
|
|
35926
35950
|
this$1.__updateFile(file, 'idle');
|
|
35927
35951
|
this$1.uploadSize += file.size;
|