quasar 2.7.3 → 2.7.6
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/QBtn.json +6 -0
- package/dist/api/QBtnDropdown.json +6 -0
- package/dist/api/QBtnGroup.json +6 -0
- package/dist/api/QExpansionItem.json +8 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +2 -2
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/kz.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +6 -0
- package/dist/lang/uz-Latn.umd.prod.js +6 -0
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +14 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +17 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +11 -2
- package/dist/quasar.umd.js +77 -46
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/api/qtable.d.ts +4 -4
- package/dist/types/index.d.ts +21 -1
- package/dist/vetur/quasar-attributes.json +12 -0
- package/dist/vetur/quasar-tags.json +3 -0
- package/dist/web-types/web-types.json +31 -1
- package/icon-set/svg-ionicons-v6.js +14 -15
- package/icon-set/svg-ionicons-v6.mjs +14 -15
- package/lang/index.json +8 -0
- package/lang/uz-Cyrl.js +98 -0
- package/lang/uz-Cyrl.mjs +93 -0
- package/lang/uz-Latn.js +102 -0
- package/lang/uz-Latn.mjs +97 -0
- package/package.json +1 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
- package/src/components/btn/QBtn.sass +3 -0
- package/src/components/btn/use-btn.js +7 -2
- package/src/components/btn/use-btn.json +5 -0
- package/src/components/btn-dropdown/QBtnDropdown.js +1 -0
- package/src/components/btn-group/QBtnGroup.js +2 -1
- package/src/components/btn-group/QBtnGroup.json +5 -0
- package/src/components/btn-group/QBtnGroup.sass +3 -0
- package/src/components/expansion-item/QExpansionItem.js +1 -1
- package/src/components/expansion-item/QExpansionItem.json +8 -1
- package/src/components/field/QField.sass +1 -0
- package/src/components/file/QFile.js +5 -0
- package/src/components/input/QInput.js +7 -1
- package/src/components/scroll-area/QScrollArea.js +4 -2
- package/src/components/select/QSelect.js +4 -4
- package/src/components/tabs/use-tab.js +8 -1
- package/src/components/timeline/QTimeline.sass +4 -0
- package/src/components/uploader/QUploader.sass +1 -1
- package/src/components/uploader/uploader-core.js +3 -3
- package/src/composables/private/use-refocus-target.js +1 -1
- package/src/directives/Ripple.js +17 -7
- package/src/utils/date.js +1 -1
- package/src/utils/private/global-dialog.js +13 -19
- package/wrappers/index.js +12 -0
- package/wrappers/index.mjs +12 -0
package/dist/quasar.sass
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.7.
|
|
2
|
+
* Quasar Framework v2.7.6
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -903,6 +903,8 @@ input[type='search']::-webkit-search-decoration
|
|
|
903
903
|
padding: 0
|
|
904
904
|
min-width: 3em
|
|
905
905
|
min-height: 3em
|
|
906
|
+
&--square
|
|
907
|
+
border-radius: 0
|
|
906
908
|
&--flat, &--outline, &--unelevated
|
|
907
909
|
&:before
|
|
908
910
|
box-shadow: none
|
|
@@ -1011,6 +1013,8 @@ input[type='search']::-webkit-search-decoration
|
|
|
1011
1013
|
margin-bottom: -2px
|
|
1012
1014
|
&--rounded
|
|
1013
1015
|
border-radius: $button-rounded-border-radius
|
|
1016
|
+
&--square
|
|
1017
|
+
border-radius: 0
|
|
1014
1018
|
&--flat, &--outline, &--unelevated
|
|
1015
1019
|
box-shadow: none
|
|
1016
1020
|
&--outline
|
|
@@ -2301,6 +2305,7 @@ $field-transition-label-right-up: .324s cubic-bezier(.4,0,.2,1)
|
|
|
2301
2305
|
width: 100%
|
|
2302
2306
|
min-width: 0
|
|
2303
2307
|
outline: 0 !important
|
|
2308
|
+
user-select: auto
|
|
2304
2309
|
&:-webkit-autofill
|
|
2305
2310
|
-webkit-animation-name: q-autofill
|
|
2306
2311
|
-webkit-animation-fill-mode: both
|
|
@@ -4581,6 +4586,10 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
|
|
|
4581
4586
|
line-height: 38px
|
|
4582
4587
|
width: 100%
|
|
4583
4588
|
color: #fff
|
|
4589
|
+
> svg,
|
|
4590
|
+
> img
|
|
4591
|
+
width: 1em
|
|
4592
|
+
height: 1em
|
|
4584
4593
|
&__dot-img
|
|
4585
4594
|
position: absolute
|
|
4586
4595
|
top: 4px
|
|
@@ -5036,7 +5045,7 @@ body.desktop
|
|
|
5036
5045
|
|
|
5037
5046
|
&::-webkit-file-upload-button
|
|
5038
5047
|
cursor: pointer
|
|
5039
|
-
&
|
|
5048
|
+
&__file
|
|
5040
5049
|
&:before
|
|
5041
5050
|
content: ''
|
|
5042
5051
|
border-top-left-radius: inherit
|
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.7.
|
|
2
|
+
* Quasar Framework v2.7.6
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1603,7 +1603,7 @@
|
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
1605
|
var installQuasar = function (parentApp, opts = {}) {
|
|
1606
|
-
const $q = { version: '2.7.
|
|
1606
|
+
const $q = { version: '2.7.6' };
|
|
1607
1607
|
|
|
1608
1608
|
if (globalConfigIsFrozen === false) {
|
|
1609
1609
|
if (opts.config !== void 0) {
|
|
@@ -2536,7 +2536,7 @@
|
|
|
2536
2536
|
return vm.appContext.config.globalProperties.$router !== void 0
|
|
2537
2537
|
}
|
|
2538
2538
|
|
|
2539
|
-
const disabledValues = [
|
|
2539
|
+
const disabledValues = [ '', true ];
|
|
2540
2540
|
|
|
2541
2541
|
var QBreadcrumbs = createComponent({
|
|
2542
2542
|
name: 'QBreadcrumbs',
|
|
@@ -3185,8 +3185,14 @@
|
|
|
3185
3185
|
name: 'ripple',
|
|
3186
3186
|
|
|
3187
3187
|
beforeMount (el, binding) {
|
|
3188
|
+
const cfg = binding.instance.$.appContext.config.globalProperties.$q.config || {};
|
|
3189
|
+
|
|
3190
|
+
if (cfg.ripple === false) {
|
|
3191
|
+
return
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3188
3194
|
const ctx = {
|
|
3189
|
-
cfg
|
|
3195
|
+
cfg,
|
|
3190
3196
|
enabled: binding.value !== false,
|
|
3191
3197
|
modifiers: {},
|
|
3192
3198
|
abort: [],
|
|
@@ -3228,19 +3234,23 @@
|
|
|
3228
3234
|
updated (el, binding) {
|
|
3229
3235
|
if (binding.oldValue !== binding.value) {
|
|
3230
3236
|
const ctx = el.__qripple;
|
|
3231
|
-
ctx
|
|
3237
|
+
if (ctx !== void 0) {
|
|
3238
|
+
ctx.enabled = binding.value !== false;
|
|
3232
3239
|
|
|
3233
|
-
|
|
3234
|
-
|
|
3240
|
+
if (ctx.enabled === true && Object(binding.value) === binding.value) {
|
|
3241
|
+
updateModifiers$1(ctx, binding);
|
|
3242
|
+
}
|
|
3235
3243
|
}
|
|
3236
3244
|
}
|
|
3237
3245
|
},
|
|
3238
3246
|
|
|
3239
3247
|
beforeUnmount (el) {
|
|
3240
3248
|
const ctx = el.__qripple;
|
|
3241
|
-
ctx
|
|
3242
|
-
|
|
3243
|
-
|
|
3249
|
+
if (ctx !== void 0) {
|
|
3250
|
+
ctx.abort.forEach(fn => { fn(); });
|
|
3251
|
+
cleanEvt(ctx, 'main');
|
|
3252
|
+
delete el._qripple;
|
|
3253
|
+
}
|
|
3244
3254
|
}
|
|
3245
3255
|
}
|
|
3246
3256
|
);
|
|
@@ -3279,6 +3289,7 @@
|
|
|
3279
3289
|
iconRight: String,
|
|
3280
3290
|
|
|
3281
3291
|
round: Boolean,
|
|
3292
|
+
square: Boolean,
|
|
3282
3293
|
outline: Boolean,
|
|
3283
3294
|
flat: Boolean,
|
|
3284
3295
|
unelevated: Boolean,
|
|
@@ -3412,8 +3423,11 @@
|
|
|
3412
3423
|
colors = `text-${ props.textColor }`;
|
|
3413
3424
|
}
|
|
3414
3425
|
|
|
3415
|
-
|
|
3416
|
-
|
|
3426
|
+
const shape = props.round === true
|
|
3427
|
+
? 'round'
|
|
3428
|
+
: `rectangle${ isRounded.value === true ? ' q-btn--rounded' : (props.square === true ? ' q-btn--square' : '') }`;
|
|
3429
|
+
|
|
3430
|
+
return `q-btn--${ design.value } q-btn--${ shape }`
|
|
3417
3431
|
+ (colors !== void 0 ? ' ' + colors : '')
|
|
3418
3432
|
+ (isActionable.value === true ? ' q-btn--actionable q-focusable q-hoverable' : (props.disable === true ? ' disabled' : ''))
|
|
3419
3433
|
+ (props.fab === true ? ' q-btn--fab' : (props.fabMini === true ? ' q-btn--fab-mini' : ''))
|
|
@@ -3421,6 +3435,7 @@
|
|
|
3421
3435
|
+ (props.dense === true ? ' q-btn--dense' : '')
|
|
3422
3436
|
+ (props.stretch === true ? ' no-border-radius self-stretch' : '')
|
|
3423
3437
|
+ (props.glossy === true ? ' glossy' : '')
|
|
3438
|
+
+ (props.square ? ' q-btn--square' : '')
|
|
3424
3439
|
});
|
|
3425
3440
|
|
|
3426
3441
|
const innerClasses = vue.computed(() =>
|
|
@@ -3815,6 +3830,7 @@
|
|
|
3815
3830
|
outline: Boolean,
|
|
3816
3831
|
flat: Boolean,
|
|
3817
3832
|
rounded: Boolean,
|
|
3833
|
+
square: Boolean,
|
|
3818
3834
|
push: Boolean,
|
|
3819
3835
|
stretch: Boolean,
|
|
3820
3836
|
glossy: Boolean,
|
|
@@ -3823,7 +3839,7 @@
|
|
|
3823
3839
|
|
|
3824
3840
|
setup (props, { slots }) {
|
|
3825
3841
|
const classes = vue.computed(() => {
|
|
3826
|
-
const cls = [ 'unelevated', 'outline', 'flat', 'rounded', 'push', 'stretch', 'glossy' ]
|
|
3842
|
+
const cls = [ 'unelevated', 'outline', 'flat', 'rounded', 'square', 'push', 'stretch', 'glossy' ]
|
|
3827
3843
|
.filter(t => props[ t ] === true)
|
|
3828
3844
|
.map(t => `q-btn-group--${ t }`).join(' ');
|
|
3829
3845
|
|
|
@@ -5686,6 +5702,7 @@
|
|
|
5686
5702
|
outline: props.outline,
|
|
5687
5703
|
flat: props.flat,
|
|
5688
5704
|
rounded: props.rounded,
|
|
5705
|
+
square: props.square,
|
|
5689
5706
|
push: props.push,
|
|
5690
5707
|
unelevated: props.unelevated,
|
|
5691
5708
|
glossy: props.glossy,
|
|
@@ -7171,7 +7188,7 @@
|
|
|
7171
7188
|
const refocusRef = vue.ref(null);
|
|
7172
7189
|
|
|
7173
7190
|
const refocusTargetEl = vue.computed(() => {
|
|
7174
|
-
if (props.disable
|
|
7191
|
+
if (props.disable === true) {
|
|
7175
7192
|
return null
|
|
7176
7193
|
}
|
|
7177
7194
|
|
|
@@ -9989,9 +10006,16 @@
|
|
|
9989
10006
|
if (isKeyCode(e, [ 13, 32 ])) {
|
|
9990
10007
|
onClick(e, true);
|
|
9991
10008
|
}
|
|
9992
|
-
else if (
|
|
10009
|
+
else if (
|
|
10010
|
+
shouldIgnoreKey(e) !== true
|
|
10011
|
+
&& e.keyCode >= 35
|
|
10012
|
+
&& e.keyCode <= 40
|
|
10013
|
+
&& e.altKey !== true
|
|
10014
|
+
&& e.metaKey !== true
|
|
10015
|
+
) {
|
|
9993
10016
|
$tabs.onKbdNavigate(e.keyCode, proxy.$el) === true && stopAndPrevent(e);
|
|
9994
10017
|
}
|
|
10018
|
+
|
|
9995
10019
|
emit('keydown', e);
|
|
9996
10020
|
}
|
|
9997
10021
|
|
|
@@ -12407,7 +12431,7 @@
|
|
|
12407
12431
|
YY (date, dateLocale, forcedYear) {
|
|
12408
12432
|
// workaround for < 1900 with new Date()
|
|
12409
12433
|
const y = this.YYYY(date, dateLocale, forcedYear) % 100;
|
|
12410
|
-
return y
|
|
12434
|
+
return y >= 0
|
|
12411
12435
|
? pad(y)
|
|
12412
12436
|
: '-' + pad(Math.abs(y))
|
|
12413
12437
|
},
|
|
@@ -17707,7 +17731,7 @@
|
|
|
17707
17731
|
let child;
|
|
17708
17732
|
|
|
17709
17733
|
if (slots.header !== void 0) {
|
|
17710
|
-
child = [].concat(slots.header());
|
|
17734
|
+
child = [].concat(slots.header({ expanded: showing.value === true }));
|
|
17711
17735
|
}
|
|
17712
17736
|
else {
|
|
17713
17737
|
child = [
|
|
@@ -18945,14 +18969,14 @@
|
|
|
18945
18969
|
|
|
18946
18970
|
function addFilesToQueue (e, fileList) {
|
|
18947
18971
|
const localFiles = processFiles(e, fileList, state.files.value, true);
|
|
18948
|
-
|
|
18949
|
-
if (localFiles === void 0) { return }
|
|
18950
|
-
|
|
18951
18972
|
const fileInput = getFileInput();
|
|
18973
|
+
|
|
18952
18974
|
if (fileInput !== void 0 && fileInput !== null) {
|
|
18953
18975
|
fileInput.value = '';
|
|
18954
18976
|
}
|
|
18955
18977
|
|
|
18978
|
+
if (localFiles === void 0) { return }
|
|
18979
|
+
|
|
18956
18980
|
localFiles.forEach(file => {
|
|
18957
18981
|
state.updateFileStatus(file, 'idle');
|
|
18958
18982
|
uploadSize.value += file.size;
|
|
@@ -21369,6 +21393,11 @@
|
|
|
21369
21393
|
|
|
21370
21394
|
function addFilesToQueue (e, fileList) {
|
|
21371
21395
|
const files = processFiles(e, fileList, innerValue.value, isAppending.value);
|
|
21396
|
+
const fileInput = getFileInput();
|
|
21397
|
+
|
|
21398
|
+
if (fileInput !== void 0 && fileInput !== null) {
|
|
21399
|
+
fileInput.value = '';
|
|
21400
|
+
}
|
|
21372
21401
|
|
|
21373
21402
|
// if nothing to do...
|
|
21374
21403
|
if (files === void 0) { return }
|
|
@@ -23464,7 +23493,7 @@
|
|
|
23464
23493
|
}
|
|
23465
23494
|
|
|
23466
23495
|
function onInput (e) {
|
|
23467
|
-
if (!e || !e.target
|
|
23496
|
+
if (!e || !e.target) {
|
|
23468
23497
|
return
|
|
23469
23498
|
}
|
|
23470
23499
|
|
|
@@ -23475,6 +23504,12 @@
|
|
|
23475
23504
|
|
|
23476
23505
|
const val = e.target.value;
|
|
23477
23506
|
|
|
23507
|
+
if (e.target.qComposing === true) {
|
|
23508
|
+
temp.value = val;
|
|
23509
|
+
|
|
23510
|
+
return
|
|
23511
|
+
}
|
|
23512
|
+
|
|
23478
23513
|
if (hasMask.value === true) {
|
|
23479
23514
|
updateMaskValue(val, false, e.inputType);
|
|
23480
23515
|
}
|
|
@@ -27055,6 +27090,8 @@
|
|
|
27055
27090
|
mouseAllDir: true
|
|
27056
27091
|
};
|
|
27057
27092
|
|
|
27093
|
+
const getMinThumbSize = size => (size >= 250 ? 50 : Math.ceil(size / 5));
|
|
27094
|
+
|
|
27058
27095
|
var QScrollArea = createComponent({
|
|
27059
27096
|
name: 'QScrollArea',
|
|
27060
27097
|
|
|
@@ -27146,7 +27183,7 @@
|
|
|
27146
27183
|
Math.round(
|
|
27147
27184
|
between(
|
|
27148
27185
|
container.vertical.value * container.vertical.value / scroll.vertical.size.value,
|
|
27149
|
-
|
|
27186
|
+
getMinThumbSize(container.vertical.value),
|
|
27150
27187
|
container.vertical.value
|
|
27151
27188
|
)
|
|
27152
27189
|
)
|
|
@@ -27188,7 +27225,7 @@
|
|
|
27188
27225
|
Math.round(
|
|
27189
27226
|
between(
|
|
27190
27227
|
container.horizontal.value * container.horizontal.value / scroll.horizontal.size.value,
|
|
27191
|
-
|
|
27228
|
+
getMinThumbSize(container.horizontal.value),
|
|
27192
27229
|
container.horizontal.value
|
|
27193
27230
|
)
|
|
27194
27231
|
)
|
|
@@ -29659,10 +29696,9 @@
|
|
|
29659
29696
|
showPopup,
|
|
29660
29697
|
|
|
29661
29698
|
floatingLabel: vue.computed(() =>
|
|
29662
|
-
(props.hideSelected === true
|
|
29663
|
-
|
|
29664
|
-
|
|
29665
|
-
)
|
|
29699
|
+
(props.hideSelected !== true && hasValue.value === true)
|
|
29700
|
+
|| typeof inputValue.value === 'number'
|
|
29701
|
+
|| inputValue.value.length > 0
|
|
29666
29702
|
|| fieldValueIsFilled(props.displayValue)
|
|
29667
29703
|
),
|
|
29668
29704
|
|
|
@@ -29722,6 +29758,7 @@
|
|
|
29722
29758
|
class: 'q-select__focus-target',
|
|
29723
29759
|
id: isTarget === true ? state.targetUid.value : void 0,
|
|
29724
29760
|
readonly: true,
|
|
29761
|
+
'data-autofocus': (fromDialog !== true && props.autofocus === true) || void 0,
|
|
29725
29762
|
...attrs,
|
|
29726
29763
|
onKeydown: onTargetKeydown,
|
|
29727
29764
|
onKeyup: onTargetKeyup,
|
|
@@ -38119,10 +38156,10 @@
|
|
|
38119
38156
|
|
|
38120
38157
|
// account for "script setup" + async component way of declaring component
|
|
38121
38158
|
if (
|
|
38122
|
-
target.component.subTree
|
|
38123
|
-
target.component.subTree.component
|
|
38124
|
-
target.component.subTree.component.proxy
|
|
38125
|
-
target.component.subTree.component.proxy[ cmd ]
|
|
38159
|
+
target.component.subTree
|
|
38160
|
+
&& target.component.subTree.component
|
|
38161
|
+
&& target.component.subTree.component.proxy
|
|
38162
|
+
&& target.component.subTree.component.proxy[ cmd ]
|
|
38126
38163
|
) {
|
|
38127
38164
|
target.component.subTree.component.proxy[ cmd ]();
|
|
38128
38165
|
return
|
|
@@ -38195,25 +38232,19 @@
|
|
|
38195
38232
|
...props,
|
|
38196
38233
|
ref: dialogRef,
|
|
38197
38234
|
onOk,
|
|
38198
|
-
onHide
|
|
38235
|
+
onHide,
|
|
38236
|
+
onVnodeMounted (...args) {
|
|
38237
|
+
if (typeof props.onVnodeMounted === 'function') {
|
|
38238
|
+
props.onVnodeMounted(...args);
|
|
38239
|
+
}
|
|
38240
|
+
|
|
38241
|
+
applyState('show');
|
|
38242
|
+
}
|
|
38199
38243
|
})
|
|
38200
38244
|
}, parentApp);
|
|
38201
38245
|
|
|
38202
38246
|
vm = app.mount(el);
|
|
38203
38247
|
|
|
38204
|
-
function show () {
|
|
38205
|
-
applyState('show');
|
|
38206
|
-
}
|
|
38207
|
-
|
|
38208
|
-
if (typeof DialogComponent.__asyncLoader === 'function') {
|
|
38209
|
-
DialogComponent.__asyncLoader().then(() => {
|
|
38210
|
-
vue.nextTick(show);
|
|
38211
|
-
});
|
|
38212
|
-
}
|
|
38213
|
-
else {
|
|
38214
|
-
vue.nextTick(show);
|
|
38215
|
-
}
|
|
38216
|
-
|
|
38217
38248
|
return API
|
|
38218
38249
|
}
|
|
38219
38250
|
}
|
|
@@ -39732,7 +39763,7 @@
|
|
|
39732
39763
|
});
|
|
39733
39764
|
|
|
39734
39765
|
var index_umd = {
|
|
39735
|
-
version: '2.7.
|
|
39766
|
+
version: '2.7.6',
|
|
39736
39767
|
install (app, opts) {
|
|
39737
39768
|
installQuasar(app, {
|
|
39738
39769
|
components,
|