quasar 1.19.0 → 1.19.3
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/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 +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.min.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.min.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +6 -0
- 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 +17 -6
- 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 +17 -6
- package/dist/quasar.rtl.min.css +1 -1
- package/dist/quasar.sass +11 -4
- package/dist/quasar.styl +15 -5
- package/dist/quasar.umd.js +50 -46
- package/dist/quasar.umd.min.js +2 -2
- package/dist/quasar.umd.modern.js +50 -46
- package/dist/quasar.umd.modern.min.js +2 -2
- package/dist/types/index.d.ts +3 -0
- package/dist/web-types/web-types.json +1 -1
- package/lang/ca.js +31 -31
- package/lang/index.json +12 -0
- package/lang/ko-kr.js +21 -21
- package/lang/sm.js +93 -0
- package/lang/uz-Cyrl.js +93 -0
- package/lang/uz-Latn.js +97 -0
- package/package.json +1 -1
- package/src/components/field/QField.js +4 -7
- package/src/components/file/QFile.js +4 -2
- package/src/components/icon/QIcon.sass +3 -2
- package/src/components/icon/QIcon.styl +7 -3
- package/src/components/input/QInput.js +2 -2
- package/src/components/scroll-area/QScrollArea.js +4 -2
- package/src/components/select/QSelect.js +10 -5
- package/src/components/table/QTable.sass +1 -1
- package/src/components/table/QTable.styl +1 -1
- package/src/components/timeline/QTimeline.sass +4 -0
- package/src/components/timeline/QTimeline.styl +4 -0
- package/src/components/uploader/QUploaderBase.js +2 -1
- package/src/css/core/colors.sass +1 -0
- package/src/css/core/colors.styl +1 -0
- package/src/css/core/dark.sass +1 -0
- package/src/css/core/dark.styl +1 -0
- package/src/directives/Ripple.js +2 -7
- package/src/mixins/anchor.js +1 -1
- package/src/mixins/composition.js +16 -13
- package/src/mixins/virtual-scroll.js +3 -2
- package/src/utils/date.js +2 -2
package/dist/quasar.sass
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v1.19.
|
|
2
|
+
* Quasar Framework v1.19.3
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -648,6 +648,7 @@ input[type='search']::-webkit-search-decoration
|
|
|
648
648
|
line-height: 1
|
|
649
649
|
width: 1em
|
|
650
650
|
height: 1em
|
|
651
|
+
flex-shrink: 0
|
|
651
652
|
letter-spacing: normal
|
|
652
653
|
text-transform: none
|
|
653
654
|
white-space: nowrap
|
|
@@ -665,8 +666,8 @@ input[type='search']::-webkit-search-decoration
|
|
|
665
666
|
justify-content: center
|
|
666
667
|
> svg,
|
|
667
668
|
> img
|
|
668
|
-
width:
|
|
669
|
-
height:
|
|
669
|
+
width: 100%
|
|
670
|
+
height: 100%
|
|
670
671
|
.q-icon,
|
|
671
672
|
.material-icons,
|
|
672
673
|
.material-icons-outlined,
|
|
@@ -4190,7 +4191,7 @@ body.platform-ios
|
|
|
4190
4191
|
&--selected
|
|
4191
4192
|
transform: scale(.95)
|
|
4192
4193
|
.q-table--horizontal-separator, .q-table--cell-separator
|
|
4193
|
-
thead th, tbody tr:not(:last-child) td
|
|
4194
|
+
thead th, tbody tr:not(:last-child) > td
|
|
4194
4195
|
border-bottom-width: 1px
|
|
4195
4196
|
.q-table--vertical-separator, .q-table--cell-separator
|
|
4196
4197
|
td, th
|
|
@@ -4617,6 +4618,10 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
|
|
|
4617
4618
|
line-height: 38px
|
|
4618
4619
|
width: 100%
|
|
4619
4620
|
color: #fff
|
|
4621
|
+
> svg,
|
|
4622
|
+
> img
|
|
4623
|
+
width: 1em
|
|
4624
|
+
height: 1em
|
|
4620
4625
|
&__dot-img
|
|
4621
4626
|
position: absolute
|
|
4622
4627
|
top: 4px
|
|
@@ -5517,6 +5522,7 @@ body.q-ios-padding .q-notifications__list
|
|
|
5517
5522
|
--q-color-info: #{$info}
|
|
5518
5523
|
--q-color-warning: #{$warning}
|
|
5519
5524
|
--q-color-dark: #{$dark}
|
|
5525
|
+
--q-color-dark-page: #{$dark-page}
|
|
5520
5526
|
.text-dark
|
|
5521
5527
|
color: $dark !important
|
|
5522
5528
|
color: var(--q-color-dark) !important
|
|
@@ -7500,6 +7506,7 @@ body.desktop
|
|
|
7500
7506
|
body.body--dark
|
|
7501
7507
|
color: #fff
|
|
7502
7508
|
background: $dark-page
|
|
7509
|
+
background: var(--q-color-dark-page)
|
|
7503
7510
|
.q-dark
|
|
7504
7511
|
color: #fff
|
|
7505
7512
|
background: $grey-9
|
package/dist/quasar.styl
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v1.19.
|
|
2
|
+
* Quasar Framework v1.19.3
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -694,6 +694,7 @@ input[type='search']::-webkit-search-decoration
|
|
|
694
694
|
line-height: 1
|
|
695
695
|
width: 1em
|
|
696
696
|
height: 1em
|
|
697
|
+
flex-shrink: 0
|
|
697
698
|
letter-spacing: normal
|
|
698
699
|
text-transform: none
|
|
699
700
|
white-space: nowrap
|
|
@@ -711,13 +712,16 @@ input[type='search']::-webkit-search-decoration
|
|
|
711
712
|
justify-content: center
|
|
712
713
|
> svg,
|
|
713
714
|
> img
|
|
714
|
-
width:
|
|
715
|
-
height:
|
|
715
|
+
width: 100%
|
|
716
|
+
height: 100%
|
|
716
717
|
.q-icon,
|
|
717
718
|
.material-icons,
|
|
718
719
|
.material-icons-outlined,
|
|
719
720
|
.material-icons-round,
|
|
720
|
-
.material-icons-sharp
|
|
721
|
+
.material-icons-sharp,
|
|
722
|
+
.material-symbols-outlined,
|
|
723
|
+
.material-symbols-rounded,
|
|
724
|
+
.material-symbols-sharp
|
|
721
725
|
user-select: none
|
|
722
726
|
cursor: inherit
|
|
723
727
|
font-size: inherit
|
|
@@ -4234,7 +4238,7 @@ body.platform-ios
|
|
|
4234
4238
|
&--selected
|
|
4235
4239
|
transform: scale(.95)
|
|
4236
4240
|
.q-table--horizontal-separator, .q-table--cell-separator
|
|
4237
|
-
thead th, tbody tr:not(:last-child) td
|
|
4241
|
+
thead th, tbody tr:not(:last-child) > td
|
|
4238
4242
|
border-bottom-width: 1px
|
|
4239
4243
|
.q-table--vertical-separator, .q-table--cell-separator
|
|
4240
4244
|
td, th
|
|
@@ -4661,6 +4665,10 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
|
|
|
4661
4665
|
line-height: 38px
|
|
4662
4666
|
width: 100%
|
|
4663
4667
|
color: #fff
|
|
4668
|
+
> svg,
|
|
4669
|
+
> img
|
|
4670
|
+
width: 1em
|
|
4671
|
+
height: 1em
|
|
4664
4672
|
&__dot-img
|
|
4665
4673
|
position: absolute
|
|
4666
4674
|
top: 4px
|
|
@@ -5558,6 +5566,7 @@ body.q-ios-padding .q-notifications__list
|
|
|
5558
5566
|
--q-color-info: $info
|
|
5559
5567
|
--q-color-warning: $warning
|
|
5560
5568
|
--q-color-dark: $dark
|
|
5569
|
+
--q-color-dark-page: $dark-page
|
|
5561
5570
|
.text-dark
|
|
5562
5571
|
color: $dark !important
|
|
5563
5572
|
color: var(--q-color-dark) !important
|
|
@@ -7543,6 +7552,7 @@ body.desktop
|
|
|
7543
7552
|
body.body--dark
|
|
7544
7553
|
color: #fff
|
|
7545
7554
|
background: $dark-page
|
|
7555
|
+
background: var(--q-color-dark-page)
|
|
7546
7556
|
.q-dark
|
|
7547
7557
|
color: #fff
|
|
7548
7558
|
background: $grey-9
|
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v1.19.
|
|
2
|
+
* Quasar Framework v1.19.3
|
|
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.3";
|
|
16
16
|
|
|
17
17
|
/* eslint-disable no-useless-escape */
|
|
18
18
|
|
|
@@ -3397,11 +3397,7 @@
|
|
|
3397
3397
|
evt.qSkipRipple !== true &&
|
|
3398
3398
|
// on ENTER in form IE emits a PointerEvent with negative client cordinates
|
|
3399
3399
|
(client.is.ie !== true || evt.clientX >= 0) &&
|
|
3400
|
-
(
|
|
3401
|
-
ctx.modifiers.early === true
|
|
3402
|
-
? ['mousedown', 'touchstart'].includes(evt.type) === true
|
|
3403
|
-
: evt.type === 'click'
|
|
3404
|
-
)
|
|
3400
|
+
evt.type === (ctx.modifiers.early === true ? 'pointerdown' : 'click')
|
|
3405
3401
|
) {
|
|
3406
3402
|
showRipple(evt, el, ctx, evt.qKeyEvent === true);
|
|
3407
3403
|
}
|
|
@@ -3424,8 +3420,7 @@
|
|
|
3424
3420
|
el.__qripple = ctx;
|
|
3425
3421
|
|
|
3426
3422
|
addEvt(ctx, 'main', [
|
|
3427
|
-
[ el, '
|
|
3428
|
-
[ el, 'touchstart', 'start', 'passive' ],
|
|
3423
|
+
[ el, 'pointerdown', 'start', 'passive' ],
|
|
3429
3424
|
[ el, 'click', 'start', 'passive' ],
|
|
3430
3425
|
[ el, 'keydown', 'keystart', 'passive' ],
|
|
3431
3426
|
[ el, 'keyup', 'keystart', 'passive' ]
|
|
@@ -4199,7 +4194,7 @@
|
|
|
4199
4194
|
},
|
|
4200
4195
|
|
|
4201
4196
|
__pickAnchorEl: function __pickAnchorEl () {
|
|
4202
|
-
if (this.target === false || this.target === '') {
|
|
4197
|
+
if (this.target === false || this.target === '' || this.parentEl === null) {
|
|
4203
4198
|
this.anchorEl = void 0;
|
|
4204
4199
|
}
|
|
4205
4200
|
else if (this.target === true) {
|
|
@@ -12177,7 +12172,7 @@
|
|
|
12177
12172
|
var date = new Date(
|
|
12178
12173
|
d.year,
|
|
12179
12174
|
d.month === null ? null : d.month - 1,
|
|
12180
|
-
d.day,
|
|
12175
|
+
d.day === null ? 1 : d.day,
|
|
12181
12176
|
d.hour,
|
|
12182
12177
|
d.minute,
|
|
12183
12178
|
d.second,
|
|
@@ -12612,7 +12607,7 @@
|
|
|
12612
12607
|
YY: function YY (date, _, forcedYear) {
|
|
12613
12608
|
// workaround for < 1900 with new Date()
|
|
12614
12609
|
var y = this.YYYY(date, _, forcedYear) % 100;
|
|
12615
|
-
return y
|
|
12610
|
+
return y >= 0
|
|
12616
12611
|
? pad(y)
|
|
12617
12612
|
: '-' + pad(Math.abs(y))
|
|
12618
12613
|
},
|
|
@@ -18707,11 +18702,8 @@
|
|
|
18707
18702
|
floatingLabel: function floatingLabel () {
|
|
18708
18703
|
return this.stackLabel === true ||
|
|
18709
18704
|
this.focused === true ||
|
|
18710
|
-
(
|
|
18711
|
-
|
|
18712
|
-
? this.inputValue.length > 0
|
|
18713
|
-
: this.hasValue === true
|
|
18714
|
-
) ||
|
|
18705
|
+
(typeof this.inputValue === 'string' && this.inputValue.length > 0) ||
|
|
18706
|
+
(this.hideSelected !== true && this.hasValue === true) ||
|
|
18715
18707
|
(
|
|
18716
18708
|
this.displayValue !== void 0 &&
|
|
18717
18709
|
this.displayValue !== null &&
|
|
@@ -18932,7 +18924,7 @@
|
|
|
18932
18924
|
staticClass: 'q-field__native row',
|
|
18933
18925
|
attrs: Object.assign({}, {tabindex: -1},
|
|
18934
18926
|
this.qAttrs,
|
|
18935
|
-
{'data-autofocus': this.autofocus})
|
|
18927
|
+
{'data-autofocus': this.autofocus || void 0})
|
|
18936
18928
|
}, this.$scopedSlots.control(this.controlSlotScope))
|
|
18937
18929
|
);
|
|
18938
18930
|
}
|
|
@@ -19110,7 +19102,7 @@
|
|
|
19110
19102
|
|
|
19111
19103
|
var attrs = this.__getControl === void 0 && this.$scopedSlots.control === void 0
|
|
19112
19104
|
? Object.assign({}, this.qAttrs,
|
|
19113
|
-
{'data-autofocus': this.autofocus},
|
|
19105
|
+
{'data-autofocus': this.autofocus || void 0},
|
|
19114
19106
|
this.attrs)
|
|
19115
19107
|
: this.attrs;
|
|
19116
19108
|
|
|
@@ -19517,6 +19509,10 @@
|
|
|
19517
19509
|
|
|
19518
19510
|
isAppending: function isAppending () {
|
|
19519
19511
|
return this.multiple === true && this.append === true
|
|
19512
|
+
},
|
|
19513
|
+
|
|
19514
|
+
fieldClass: function fieldClass () {
|
|
19515
|
+
return 'q-file q-field--auto-height' + (this.dnd === true ? ' q-file--dnd' : '')
|
|
19520
19516
|
}
|
|
19521
19517
|
},
|
|
19522
19518
|
|
|
@@ -19687,8 +19683,6 @@
|
|
|
19687
19683
|
},
|
|
19688
19684
|
|
|
19689
19685
|
created: function created () {
|
|
19690
|
-
this.fieldClass = 'q-file q-field--auto-height';
|
|
19691
|
-
|
|
19692
19686
|
// necessary for QField's clearable
|
|
19693
19687
|
// and FileValueMixin
|
|
19694
19688
|
this.type = 'file';
|
|
@@ -21481,28 +21475,29 @@
|
|
|
21481
21475
|
var isJapanese = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/;
|
|
21482
21476
|
var isChinese = /(?:[\u3300-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF\uFE30-\uFE4F]|[\uD840-\uD868\uD86A-\uD872][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD873[\uDC00-\uDEAF]|\uD87E[\uDC00-\uDE1F])/;
|
|
21483
21477
|
var isKorean = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/;
|
|
21478
|
+
var isPlainText = /[a-z0-9_ -]$/i;
|
|
21484
21479
|
|
|
21485
21480
|
var CompositionMixin = {
|
|
21486
21481
|
methods: {
|
|
21487
21482
|
__onComposition: function __onComposition (e) {
|
|
21488
21483
|
if (e.type === 'compositionend' || e.type === 'change') {
|
|
21489
|
-
if (e.target.
|
|
21490
|
-
e.target.
|
|
21484
|
+
if (e.target.qComposing !== true) { return }
|
|
21485
|
+
e.target.qComposing = false;
|
|
21491
21486
|
this.__onInput(e);
|
|
21492
21487
|
}
|
|
21493
|
-
else if (
|
|
21494
|
-
|
|
21495
|
-
|
|
21496
|
-
|
|
21497
|
-
|
|
21498
|
-
|
|
21499
|
-
|
|
21500
|
-
e.
|
|
21488
|
+
else if (
|
|
21489
|
+
e.type === 'compositionupdate' &&
|
|
21490
|
+
e.target.qComposing !== true &&
|
|
21491
|
+
typeof e.data === 'string'
|
|
21492
|
+
) {
|
|
21493
|
+
var isComposing = client.is.firefox === true
|
|
21494
|
+
? isPlainText.test(e.data) === false
|
|
21495
|
+
: isJapanese.test(e.data) === true || isChinese.test(e.data) === true || isKorean.test(e.data) === true;
|
|
21496
|
+
|
|
21497
|
+
if (isComposing === true) {
|
|
21498
|
+
e.target.qComposing = true;
|
|
21501
21499
|
}
|
|
21502
21500
|
}
|
|
21503
|
-
else {
|
|
21504
|
-
e.target.composing = true;
|
|
21505
|
-
}
|
|
21506
21501
|
}
|
|
21507
21502
|
}
|
|
21508
21503
|
};
|
|
@@ -21647,7 +21642,7 @@
|
|
|
21647
21642
|
|
|
21648
21643
|
inputAttrs: function inputAttrs () {
|
|
21649
21644
|
var attrs = Object.assign({}, {tabindex: 0,
|
|
21650
|
-
'data-autofocus': this.autofocus,
|
|
21645
|
+
'data-autofocus': this.autofocus || void 0,
|
|
21651
21646
|
rows: this.type === 'textarea' ? 6 : void 0,
|
|
21652
21647
|
'aria-label': this.label,
|
|
21653
21648
|
name: this.nameProp},
|
|
@@ -21701,7 +21696,7 @@
|
|
|
21701
21696
|
},
|
|
21702
21697
|
|
|
21703
21698
|
__onInput: function __onInput (e) {
|
|
21704
|
-
if (!e || !e.target || e.target.
|
|
21699
|
+
if (!e || !e.target || e.target.qComposing === true) {
|
|
21705
21700
|
return
|
|
21706
21701
|
}
|
|
21707
21702
|
|
|
@@ -25624,6 +25619,8 @@
|
|
|
25624
25619
|
}
|
|
25625
25620
|
});
|
|
25626
25621
|
|
|
25622
|
+
var getMinThumbSize = function (size) { return (size >= 250 ? 50 : Math.ceil(size / 5)); };
|
|
25623
|
+
|
|
25627
25624
|
var axisList = [ 'vertical', 'horizontal' ];
|
|
25628
25625
|
var dirProps = {
|
|
25629
25626
|
vertical: { offset: 'offsetY', scroll: 'scrollTop', dir: 'down', dist: 'y' },
|
|
@@ -25741,7 +25738,7 @@
|
|
|
25741
25738
|
return Math.round(
|
|
25742
25739
|
between(
|
|
25743
25740
|
this.container.vertical * this.container.vertical / this.scroll.vertical.size,
|
|
25744
|
-
|
|
25741
|
+
getMinThumbSize(this.container.vertical),
|
|
25745
25742
|
this.container.vertical
|
|
25746
25743
|
)
|
|
25747
25744
|
)
|
|
@@ -25751,7 +25748,7 @@
|
|
|
25751
25748
|
return Math.round(
|
|
25752
25749
|
between(
|
|
25753
25750
|
this.container.horizontal * this.container.horizontal / this.scroll.horizontal.size,
|
|
25754
|
-
|
|
25751
|
+
getMinThumbSize(this.container.horizontal),
|
|
25755
25752
|
this.container.horizontal
|
|
25756
25753
|
)
|
|
25757
25754
|
)
|
|
@@ -26383,11 +26380,12 @@
|
|
|
26383
26380
|
setOverflowAnchor.isSupported = window.getComputedStyle(document.body).overflowAnchor !== void 0;
|
|
26384
26381
|
}
|
|
26385
26382
|
|
|
26386
|
-
if (setOverflowAnchor.isSupported === false) {
|
|
26383
|
+
if (setOverflowAnchor.isSupported === false || contentEl === void 0) {
|
|
26387
26384
|
return
|
|
26388
26385
|
}
|
|
26389
26386
|
|
|
26390
|
-
|
|
26387
|
+
cancelAnimationFrame(contentEl._qOverflowAnimationFrame);
|
|
26388
|
+
contentEl._qOverflowAnimationFrame = requestAnimationFrame(function () {
|
|
26391
26389
|
if (contentEl === void 0) {
|
|
26392
26390
|
return
|
|
26393
26391
|
}
|
|
@@ -27064,15 +27062,20 @@
|
|
|
27064
27062
|
this.__updateMenu(show);
|
|
27065
27063
|
},
|
|
27066
27064
|
|
|
27067
|
-
virtualScrollLength: function virtualScrollLength () {
|
|
27065
|
+
virtualScrollLength: function virtualScrollLength (newLength, oldLength) {
|
|
27068
27066
|
var this$1 = this;
|
|
27069
27067
|
|
|
27070
27068
|
if (this.menu === true && this.innerLoading === false) {
|
|
27071
|
-
this.
|
|
27069
|
+
this.__resetVirtualScroll(-1, true);
|
|
27072
27070
|
|
|
27073
27071
|
this.$nextTick(function () {
|
|
27074
27072
|
if (this$1.menu === true && this$1.innerLoading === false) {
|
|
27075
|
-
|
|
27073
|
+
if (newLength > oldLength) {
|
|
27074
|
+
this$1.__resetVirtualScroll();
|
|
27075
|
+
}
|
|
27076
|
+
else {
|
|
27077
|
+
this$1.__updateMenu(true);
|
|
27078
|
+
}
|
|
27076
27079
|
}
|
|
27077
27080
|
});
|
|
27078
27081
|
}
|
|
@@ -28022,7 +28025,7 @@
|
|
|
28022
28025
|
maxlength: this.maxlength, // this is converted to prop by QField
|
|
28023
28026
|
tabindex: this.tabindex,
|
|
28024
28027
|
autocomplete: this.autocomplete,
|
|
28025
|
-
'data-autofocus': fromDialog
|
|
28028
|
+
'data-autofocus': (fromDialog !== true && this.autofocus) || void 0,
|
|
28026
28029
|
disabled: this.disable === true,
|
|
28027
28030
|
readonly: this.readonly === true}),
|
|
28028
28031
|
on: this.inputControlEvents
|
|
@@ -28044,7 +28047,7 @@
|
|
|
28044
28047
|
|
|
28045
28048
|
clearTimeout(this.inputTimer);
|
|
28046
28049
|
|
|
28047
|
-
if (e && e.target && e.target.
|
|
28050
|
+
if (e && e.target && e.target.qComposing === true) {
|
|
28048
28051
|
return
|
|
28049
28052
|
}
|
|
28050
28053
|
|
|
@@ -36104,7 +36107,8 @@
|
|
|
36104
36107
|
'q-uploader--bordered': this.bordered,
|
|
36105
36108
|
'q-uploader--square no-border-radius': this.square,
|
|
36106
36109
|
'q-uploader--flat no-shadow': this.flat,
|
|
36107
|
-
'disabled q-uploader--disable': this.disable
|
|
36110
|
+
'disabled q-uploader--disable': this.disable,
|
|
36111
|
+
'q-uploader--dnd': this.dnd
|
|
36108
36112
|
},
|
|
36109
36113
|
on: this.canAddFiles === true
|
|
36110
36114
|
? cache(this, 'drag', {
|