quasar 2.2.4 → 2.3.0
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/QCircularProgress.json +14 -0
- package/dist/api/QLinearProgress.json +14 -0
- package/dist/api/QSkeleton.json +1 -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/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/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-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- 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-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.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.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/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/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/ms.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/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/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 +2 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +2 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +3 -2
- package/dist/quasar.umd.js +119 -64
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/index.d.ts +10 -0
- package/dist/vetur/quasar-attributes.json +8 -0
- package/dist/vetur/quasar-tags.json +4 -2
- package/dist/web-types/web-types.json +21 -1
- package/package.json +1 -1
- package/src/api.extends.json +7 -0
- package/src/components/circular-progress/QCircularProgress.js +6 -1
- package/src/components/circular-progress/QCircularProgress.json +6 -0
- package/src/components/infinite-scroll/QInfiniteScroll.js +48 -31
- package/src/components/linear-progress/QLinearProgress.js +10 -1
- package/src/components/linear-progress/QLinearProgress.json +6 -0
- package/src/components/linear-progress/QLinearProgress.sass +2 -1
- package/src/components/popup-proxy/QPopupProxy.js +6 -15
- package/src/components/skeleton/QSkeleton.json +1 -4
- package/src/components/table/table-pagination.js +2 -2
- package/src/components/virtual-scroll/use-virtual-scroll.js +17 -1
- package/src/composables/use-dialog-plugin-component.js +6 -1
- package/src/utils/create-uploader-component.js +6 -4
- package/src/utils/private/get-emits-object.js +11 -0
- package/src/utils/private/vm.js +3 -3
package/dist/quasar.sass
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.
|
|
2
|
+
* Quasar Framework v2.3.0
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2993,6 +2993,7 @@ body.platform-ios
|
|
|
2993
2993
|
|
|
2994
2994
|
position: unset !important
|
|
2995
2995
|
.q-linear-progress
|
|
2996
|
+
--q-linear-progress-speed: .3s
|
|
2996
2997
|
position: relative
|
|
2997
2998
|
width: 100%
|
|
2998
2999
|
overflow: hidden
|
|
@@ -3002,7 +3003,7 @@ body.platform-ios
|
|
|
3002
3003
|
&__model, &__track
|
|
3003
3004
|
transform-origin: 0 0
|
|
3004
3005
|
&--with-transition
|
|
3005
|
-
transition: transform
|
|
3006
|
+
transition: transform var(--q-linear-progress-speed)
|
|
3006
3007
|
&--reverse
|
|
3007
3008
|
.q-linear-progress
|
|
3008
3009
|
&__model, &__track
|
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.
|
|
2
|
+
* Quasar Framework v2.3.0
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
const SIZE_LIST = [ 'sm', 'md', 'lg', 'xl' ];
|
|
563
|
-
const { passive: passive$
|
|
563
|
+
const { passive: passive$4 } = listenOpts;
|
|
564
564
|
|
|
565
565
|
var Screen = defineReactivePlugin({
|
|
566
566
|
width: 0,
|
|
@@ -697,11 +697,11 @@
|
|
|
697
697
|
};
|
|
698
698
|
|
|
699
699
|
this.setDebounce = delay => {
|
|
700
|
-
updateEvt !== void 0 && target.removeEventListener('resize', updateEvt, passive$
|
|
700
|
+
updateEvt !== void 0 && target.removeEventListener('resize', updateEvt, passive$4);
|
|
701
701
|
updateEvt = delay > 0
|
|
702
702
|
? debounce(this.__update, delay)
|
|
703
703
|
: this.__update;
|
|
704
|
-
target.addEventListener('resize', updateEvt, passive$
|
|
704
|
+
target.addEventListener('resize', updateEvt, passive$4);
|
|
705
705
|
};
|
|
706
706
|
|
|
707
707
|
this.setDebounce(updateDebounce);
|
|
@@ -1437,7 +1437,7 @@
|
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
1439
|
var installQuasar = function (parentApp, opts = {}) {
|
|
1440
|
-
const $q = { version: '2.
|
|
1440
|
+
const $q = { version: '2.3.0' };
|
|
1441
1441
|
|
|
1442
1442
|
if (globalConfigIsFrozen === false) {
|
|
1443
1443
|
if (opts.config !== void 0) {
|
|
@@ -2271,14 +2271,14 @@
|
|
|
2271
2271
|
|
|
2272
2272
|
// used directly by docs too
|
|
2273
2273
|
function getParentVm (vm) {
|
|
2274
|
-
if (vm.$parent
|
|
2274
|
+
if (Object(vm.$parent) === vm.$parent) {
|
|
2275
2275
|
return vm.$parent
|
|
2276
2276
|
}
|
|
2277
2277
|
|
|
2278
2278
|
vm = vm.$.parent;
|
|
2279
2279
|
|
|
2280
|
-
while (vm
|
|
2281
|
-
if (vm.proxy
|
|
2280
|
+
while (Object(vm) === vm) {
|
|
2281
|
+
if (Object(vm.proxy) === vm.proxy) {
|
|
2282
2282
|
return vm.proxy
|
|
2283
2283
|
}
|
|
2284
2284
|
|
|
@@ -7550,6 +7550,11 @@
|
|
|
7550
7550
|
default: 0
|
|
7551
7551
|
},
|
|
7552
7552
|
|
|
7553
|
+
animationSpeed: {
|
|
7554
|
+
type: [ String, Number ],
|
|
7555
|
+
default: 600
|
|
7556
|
+
},
|
|
7557
|
+
|
|
7553
7558
|
indeterminate: Boolean
|
|
7554
7559
|
},
|
|
7555
7560
|
|
|
@@ -7569,7 +7574,7 @@
|
|
|
7569
7574
|
|
|
7570
7575
|
const circleStyle = vue.computed(() => (
|
|
7571
7576
|
props.instantFeedback !== true && props.indeterminate !== true
|
|
7572
|
-
? { transition:
|
|
7577
|
+
? { transition: `stroke-dashoffset ${ props.animationSpeed }ms ease 0s, stroke ${ props.animationSpeed }ms ease` }
|
|
7573
7578
|
: ''
|
|
7574
7579
|
));
|
|
7575
7580
|
|
|
@@ -19653,6 +19658,8 @@
|
|
|
19653
19658
|
}
|
|
19654
19659
|
});
|
|
19655
19660
|
|
|
19661
|
+
const { passive: passive$3 } = listenOpts;
|
|
19662
|
+
|
|
19656
19663
|
var QInfiniteScroll = createComponent({
|
|
19657
19664
|
name: 'QInfiniteScroll',
|
|
19658
19665
|
|
|
@@ -19680,20 +19687,21 @@
|
|
|
19680
19687
|
emits: [ 'load' ],
|
|
19681
19688
|
|
|
19682
19689
|
setup (props, { slots, emit }) {
|
|
19683
|
-
const
|
|
19690
|
+
const isFetching = vue.ref(false);
|
|
19691
|
+
const isWorking = vue.ref(true);
|
|
19684
19692
|
const rootRef = vue.ref(null);
|
|
19685
19693
|
|
|
19686
19694
|
let index = props.initialIndex || 0;
|
|
19687
|
-
let
|
|
19695
|
+
let scrollPos = false;
|
|
19688
19696
|
let localScrollTarget, poll;
|
|
19689
19697
|
|
|
19690
19698
|
const classes = vue.computed(() =>
|
|
19691
19699
|
'q-infinite-scroll__loading'
|
|
19692
|
-
+ (
|
|
19700
|
+
+ (isFetching.value === true ? '' : ' invisible')
|
|
19693
19701
|
);
|
|
19694
19702
|
|
|
19695
19703
|
function immediatePoll () {
|
|
19696
|
-
if (props.disable === true ||
|
|
19704
|
+
if (props.disable === true || isFetching.value === true || isWorking.value === false) {
|
|
19697
19705
|
return
|
|
19698
19706
|
}
|
|
19699
19707
|
|
|
@@ -19715,18 +19723,18 @@
|
|
|
19715
19723
|
}
|
|
19716
19724
|
|
|
19717
19725
|
function trigger () {
|
|
19718
|
-
if (props.disable === true ||
|
|
19726
|
+
if (props.disable === true || isFetching.value === true || isWorking.value === false) {
|
|
19719
19727
|
return
|
|
19720
19728
|
}
|
|
19721
19729
|
|
|
19722
19730
|
index++;
|
|
19723
|
-
|
|
19731
|
+
isFetching.value = true;
|
|
19724
19732
|
|
|
19725
19733
|
const heightBefore = getScrollHeight(localScrollTarget);
|
|
19726
19734
|
|
|
19727
19735
|
emit('load', index, isDone => {
|
|
19728
|
-
if (isWorking === true) {
|
|
19729
|
-
|
|
19736
|
+
if (isWorking.value === true) {
|
|
19737
|
+
isFetching.value = false;
|
|
19730
19738
|
vue.nextTick(() => {
|
|
19731
19739
|
if (props.reverse === true) {
|
|
19732
19740
|
const
|
|
@@ -19753,31 +19761,31 @@
|
|
|
19753
19761
|
}
|
|
19754
19762
|
|
|
19755
19763
|
function resume () {
|
|
19756
|
-
if (isWorking === false) {
|
|
19757
|
-
isWorking = true;
|
|
19758
|
-
localScrollTarget.addEventListener('scroll', poll,
|
|
19764
|
+
if (isWorking.value === false) {
|
|
19765
|
+
isWorking.value = true;
|
|
19766
|
+
localScrollTarget.addEventListener('scroll', poll, passive$3);
|
|
19759
19767
|
}
|
|
19760
19768
|
|
|
19761
19769
|
immediatePoll();
|
|
19762
19770
|
}
|
|
19763
19771
|
|
|
19764
19772
|
function stop () {
|
|
19765
|
-
if (isWorking === true) {
|
|
19766
|
-
isWorking = false;
|
|
19767
|
-
|
|
19768
|
-
localScrollTarget.removeEventListener('scroll', poll,
|
|
19773
|
+
if (isWorking.value === true) {
|
|
19774
|
+
isWorking.value = false;
|
|
19775
|
+
isFetching.value = false;
|
|
19776
|
+
localScrollTarget.removeEventListener('scroll', poll, passive$3);
|
|
19769
19777
|
}
|
|
19770
19778
|
}
|
|
19771
19779
|
|
|
19772
19780
|
function updateScrollTarget () {
|
|
19773
|
-
if (localScrollTarget && isWorking === true) {
|
|
19774
|
-
localScrollTarget.removeEventListener('scroll', poll,
|
|
19781
|
+
if (localScrollTarget && isWorking.value === true) {
|
|
19782
|
+
localScrollTarget.removeEventListener('scroll', poll, passive$3);
|
|
19775
19783
|
}
|
|
19776
19784
|
|
|
19777
19785
|
localScrollTarget = getScrollTarget(rootRef.value, props.scrollTarget);
|
|
19778
19786
|
|
|
19779
|
-
if (isWorking === true) {
|
|
19780
|
-
localScrollTarget.addEventListener('scroll', poll,
|
|
19787
|
+
if (isWorking.value === true) {
|
|
19788
|
+
localScrollTarget.addEventListener('scroll', poll, passive$3);
|
|
19781
19789
|
}
|
|
19782
19790
|
}
|
|
19783
19791
|
|
|
@@ -19801,30 +19809,44 @@
|
|
|
19801
19809
|
? immediatePoll
|
|
19802
19810
|
: debounce(immediatePoll, isNaN(val) === true ? 100 : val);
|
|
19803
19811
|
|
|
19804
|
-
if (localScrollTarget && isWorking === true) {
|
|
19812
|
+
if (localScrollTarget && isWorking.value === true) {
|
|
19805
19813
|
if (oldPoll !== void 0) {
|
|
19806
|
-
localScrollTarget.removeEventListener('scroll', oldPoll,
|
|
19814
|
+
localScrollTarget.removeEventListener('scroll', oldPoll, passive$3);
|
|
19807
19815
|
}
|
|
19808
19816
|
|
|
19809
|
-
localScrollTarget.addEventListener('scroll', poll,
|
|
19817
|
+
localScrollTarget.addEventListener('scroll', poll, passive$3);
|
|
19810
19818
|
}
|
|
19811
19819
|
}
|
|
19812
19820
|
|
|
19813
19821
|
vue.watch(() => props.disable, val => {
|
|
19814
|
-
if (val === true) {
|
|
19815
|
-
|
|
19816
|
-
|
|
19817
|
-
|
|
19818
|
-
|
|
19822
|
+
if (val === true) { stop(); }
|
|
19823
|
+
else { resume(); }
|
|
19824
|
+
});
|
|
19825
|
+
|
|
19826
|
+
vue.watch(() => props.reverse, val => {
|
|
19827
|
+
if (isFetching.value === false && isWorking.value === true) {
|
|
19828
|
+
immediatePoll();
|
|
19819
19829
|
}
|
|
19820
19830
|
});
|
|
19821
19831
|
|
|
19822
19832
|
vue.watch(() => props.scrollTarget, updateScrollTarget);
|
|
19823
19833
|
vue.watch(() => props.debounce, setDebounce);
|
|
19824
19834
|
|
|
19835
|
+
vue.onActivated(() => {
|
|
19836
|
+
if (localScrollTarget && scrollPos !== false) {
|
|
19837
|
+
setVerticalScrollPosition(localScrollTarget, scrollPos);
|
|
19838
|
+
}
|
|
19839
|
+
});
|
|
19840
|
+
|
|
19841
|
+
vue.onDeactivated(() => {
|
|
19842
|
+
scrollPos = localScrollTarget
|
|
19843
|
+
? getVerticalScrollPosition(localScrollTarget)
|
|
19844
|
+
: false;
|
|
19845
|
+
});
|
|
19846
|
+
|
|
19825
19847
|
vue.onBeforeUnmount(() => {
|
|
19826
|
-
if (isWorking === true) {
|
|
19827
|
-
localScrollTarget.removeEventListener('scroll', poll,
|
|
19848
|
+
if (isWorking.value === true) {
|
|
19849
|
+
localScrollTarget.removeEventListener('scroll', poll, passive$3);
|
|
19828
19850
|
}
|
|
19829
19851
|
});
|
|
19830
19852
|
|
|
@@ -19847,7 +19869,7 @@
|
|
|
19847
19869
|
return () => {
|
|
19848
19870
|
const child = hUniqueSlot(slots.default, []);
|
|
19849
19871
|
|
|
19850
|
-
if (props.disable !== true && isWorking === true) {
|
|
19872
|
+
if (props.disable !== true && isWorking.value === true) {
|
|
19851
19873
|
child[ props.reverse === false ? 'push' : 'unshift' ](
|
|
19852
19874
|
vue.h('div', { class: classes.value }, hSlot(slots.loading))
|
|
19853
19875
|
);
|
|
@@ -23210,6 +23232,10 @@
|
|
|
23210
23232
|
|
|
23211
23233
|
const type = vue.ref(getType());
|
|
23212
23234
|
|
|
23235
|
+
const popupProps = vue.computed(() => (
|
|
23236
|
+
type.value === 'menu' ? { maxHeight: '99vh' } : {})
|
|
23237
|
+
);
|
|
23238
|
+
|
|
23213
23239
|
vue.watch(() => getType(), val => {
|
|
23214
23240
|
if (showing.value !== true) {
|
|
23215
23241
|
type.value = val;
|
|
@@ -23235,21 +23261,9 @@
|
|
|
23235
23261
|
}
|
|
23236
23262
|
|
|
23237
23263
|
return () => {
|
|
23238
|
-
const def = hSlot(slots.default);
|
|
23239
|
-
|
|
23240
|
-
const popupProps = (
|
|
23241
|
-
type.value === 'menu'
|
|
23242
|
-
&& def !== void 0
|
|
23243
|
-
&& def[ 0 ] !== void 0
|
|
23244
|
-
&& def[ 0 ].type !== void 0
|
|
23245
|
-
&& [ 'QDate', 'QTime', 'QCarousel', 'QColor' ].includes(
|
|
23246
|
-
def[ 0 ].type.name
|
|
23247
|
-
)
|
|
23248
|
-
) ? { cover: true, maxHeight: '99vh' } : {};
|
|
23249
|
-
|
|
23250
23264
|
const data = {
|
|
23251
23265
|
ref: popupRef,
|
|
23252
|
-
...popupProps,
|
|
23266
|
+
...popupProps.value,
|
|
23253
23267
|
...attrs,
|
|
23254
23268
|
onShow,
|
|
23255
23269
|
onHide
|
|
@@ -23270,7 +23284,7 @@
|
|
|
23270
23284
|
});
|
|
23271
23285
|
}
|
|
23272
23286
|
|
|
23273
|
-
return vue.h(component, data,
|
|
23287
|
+
return vue.h(component, data, slots.default)
|
|
23274
23288
|
}
|
|
23275
23289
|
}
|
|
23276
23290
|
});
|
|
@@ -23313,6 +23327,11 @@
|
|
|
23313
23327
|
query: Boolean,
|
|
23314
23328
|
rounded: Boolean,
|
|
23315
23329
|
|
|
23330
|
+
animationSpeed: {
|
|
23331
|
+
type: [ String, Number ],
|
|
23332
|
+
default: 2100
|
|
23333
|
+
},
|
|
23334
|
+
|
|
23316
23335
|
instantFeedback: Boolean
|
|
23317
23336
|
},
|
|
23318
23337
|
|
|
@@ -23322,6 +23341,10 @@
|
|
|
23322
23341
|
const sizeStyle = useSize(props, defaultSizes);
|
|
23323
23342
|
|
|
23324
23343
|
const motion = vue.computed(() => props.indeterminate === true || props.query === true);
|
|
23344
|
+
const style = vue.computed(() => ({
|
|
23345
|
+
...(sizeStyle.value !== null ? sizeStyle.value : {}),
|
|
23346
|
+
'--q-linear-progress-speed': `${ props.animationSpeed }ms`
|
|
23347
|
+
}));
|
|
23325
23348
|
|
|
23326
23349
|
const classes = vue.computed(() =>
|
|
23327
23350
|
'q-linear-progress'
|
|
@@ -23372,7 +23395,7 @@
|
|
|
23372
23395
|
|
|
23373
23396
|
return vue.h('div', {
|
|
23374
23397
|
class: classes.value,
|
|
23375
|
-
style:
|
|
23398
|
+
style: style.value,
|
|
23376
23399
|
role: 'progressbar',
|
|
23377
23400
|
'aria-valuemin': 0,
|
|
23378
23401
|
'aria-valuemax': 1,
|
|
@@ -25459,6 +25482,22 @@
|
|
|
25459
25482
|
setVirtualScrollSize();
|
|
25460
25483
|
});
|
|
25461
25484
|
|
|
25485
|
+
vue.onActivated(() => {
|
|
25486
|
+
const scrollEl = getVirtualScrollTarget();
|
|
25487
|
+
|
|
25488
|
+
if (prevScrollStart !== void 0 && scrollEl !== void 0 && scrollEl !== null && scrollEl.nodeType !== 8) {
|
|
25489
|
+
setScroll(
|
|
25490
|
+
scrollEl,
|
|
25491
|
+
prevScrollStart,
|
|
25492
|
+
props.virtualScrollHorizontal,
|
|
25493
|
+
$q.lang.rtl
|
|
25494
|
+
);
|
|
25495
|
+
}
|
|
25496
|
+
else {
|
|
25497
|
+
scrollTo(prevToIndex);
|
|
25498
|
+
}
|
|
25499
|
+
});
|
|
25500
|
+
|
|
25462
25501
|
setOverflowAnchor !== noop && vue.onBeforeUnmount(() => {
|
|
25463
25502
|
const styleSheet = document.getElementById(vsId + '_ss');
|
|
25464
25503
|
styleSheet !== null && styleSheet.remove();
|
|
@@ -30244,7 +30283,7 @@
|
|
|
30244
30283
|
default: () => [ 5, 7, 10, 15, 20, 25, 50, 0 ]
|
|
30245
30284
|
},
|
|
30246
30285
|
|
|
30247
|
-
'onUpdate:pagination': Function
|
|
30286
|
+
'onUpdate:pagination': [ Function, Array ]
|
|
30248
30287
|
};
|
|
30249
30288
|
|
|
30250
30289
|
function useTablePaginationState (vm, getCellValue) {
|
|
@@ -30294,7 +30333,7 @@
|
|
|
30294
30333
|
...val
|
|
30295
30334
|
});
|
|
30296
30335
|
|
|
30297
|
-
if (samePagination(computedPagination.value, newPagination)) {
|
|
30336
|
+
if (samePagination(computedPagination.value, newPagination) === true) {
|
|
30298
30337
|
if (isServerSide.value === true && forceServerRequest === true) {
|
|
30299
30338
|
sendServerRequest(newPagination);
|
|
30300
30339
|
}
|
|
@@ -34023,6 +34062,20 @@
|
|
|
34023
34062
|
}
|
|
34024
34063
|
}
|
|
34025
34064
|
|
|
34065
|
+
const trueFn = () => true;
|
|
34066
|
+
|
|
34067
|
+
function getEmitsObject (emitsArray) {
|
|
34068
|
+
const emitsObject = {};
|
|
34069
|
+
|
|
34070
|
+
emitsArray.forEach(val => {
|
|
34071
|
+
emitsObject[ val ] = trueFn;
|
|
34072
|
+
});
|
|
34073
|
+
|
|
34074
|
+
return emitsObject
|
|
34075
|
+
}
|
|
34076
|
+
|
|
34077
|
+
const coreEmitsObject = getEmitsObject(coreEmits);
|
|
34078
|
+
|
|
34026
34079
|
var createUploaderComponent = ({ name, props, emits, injectPlugin }) => createComponent({
|
|
34027
34080
|
name,
|
|
34028
34081
|
|
|
@@ -34031,10 +34084,9 @@
|
|
|
34031
34084
|
...props
|
|
34032
34085
|
},
|
|
34033
34086
|
|
|
34034
|
-
emits:
|
|
34035
|
-
...
|
|
34036
|
-
...emits
|
|
34037
|
-
],
|
|
34087
|
+
emits: Object(emits) === emits
|
|
34088
|
+
? { ...coreEmitsObject, ...emits }
|
|
34089
|
+
: [ ...coreEmits, ...emits ],
|
|
34038
34090
|
|
|
34039
34091
|
setup () {
|
|
34040
34092
|
return getRenderer(injectPlugin)
|
|
@@ -34068,7 +34120,7 @@
|
|
|
34068
34120
|
factory: Function
|
|
34069
34121
|
};
|
|
34070
34122
|
|
|
34071
|
-
const emits = [ 'factory-failed', 'uploaded', 'failed', 'uploading' ];
|
|
34123
|
+
const emits$1 = [ 'factory-failed', 'uploaded', 'failed', 'uploading' ];
|
|
34072
34124
|
|
|
34073
34125
|
function injectPlugin ({ props, emit, helpers }) {
|
|
34074
34126
|
const xhrs = vue.ref([]);
|
|
@@ -34294,7 +34346,7 @@
|
|
|
34294
34346
|
var xhrUploaderPlugin = {
|
|
34295
34347
|
name: 'QUploader',
|
|
34296
34348
|
props: props$2,
|
|
34297
|
-
emits,
|
|
34349
|
+
emits: emits$1,
|
|
34298
34350
|
injectPlugin
|
|
34299
34351
|
};
|
|
34300
34352
|
|
|
@@ -38676,7 +38728,10 @@
|
|
|
38676
38728
|
}
|
|
38677
38729
|
}
|
|
38678
38730
|
|
|
38679
|
-
|
|
38731
|
+
const emits = [ 'ok', 'hide' ];
|
|
38732
|
+
|
|
38733
|
+
useDialogPluginComponent.emits = emits;
|
|
38734
|
+
useDialogPluginComponent.emitsObject = getEmitsObject(emits);
|
|
38680
38735
|
|
|
38681
38736
|
function useMeta (metaOptions) {
|
|
38682
38737
|
{
|
|
@@ -38732,7 +38787,7 @@
|
|
|
38732
38787
|
});
|
|
38733
38788
|
|
|
38734
38789
|
var index_umd = {
|
|
38735
|
-
version: '2.
|
|
38790
|
+
version: '2.3.0',
|
|
38736
38791
|
install (app, opts) {
|
|
38737
38792
|
installQuasar(app, {
|
|
38738
38793
|
components,
|