quasar 2.21.0 → 2.21.1
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.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/fontawesome-v7-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v7.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/mdi-v7.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-fontawesome-v7.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 +1 -1
- package/dist/icon-set/svg-ionicons-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v8.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-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-mdi-v7.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/bs-BA.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-CH.umd.prod.js +1 -1
- package/dist/lang/de-DE.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/hi.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/kk.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/lb.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/mk.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-MY.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/sq.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/tl.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/ur-PK.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.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.client.js +32 -41
- package/dist/quasar.css +8 -1
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +9 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +6 -2
- package/dist/quasar.server.prod.cjs +17 -17
- package/dist/quasar.server.prod.js +17 -17
- package/dist/quasar.umd.js +32 -41
- package/dist/quasar.umd.prod.js +17 -17
- package/dist/web-types/web-types.json +1 -1
- package/package.json +2 -2
- package/src/css/core/helpers.sass +6 -1
- package/src/utils/scroll/prevent-scroll.js +6 -48
package/dist/lang/lb.umd.prod.js
CHANGED
package/dist/lang/lt.umd.prod.js
CHANGED
package/dist/lang/lu.umd.prod.js
CHANGED
package/dist/lang/lv.umd.prod.js
CHANGED
package/dist/lang/mk.umd.prod.js
CHANGED
package/dist/lang/ml.umd.prod.js
CHANGED
package/dist/lang/mm.umd.prod.js
CHANGED
package/dist/lang/ms.umd.prod.js
CHANGED
package/dist/lang/my.umd.prod.js
CHANGED
package/dist/lang/nl.umd.prod.js
CHANGED
package/dist/lang/pl.umd.prod.js
CHANGED
package/dist/lang/pt.umd.prod.js
CHANGED
package/dist/lang/ro.umd.prod.js
CHANGED
package/dist/lang/ru.umd.prod.js
CHANGED
package/dist/lang/sk.umd.prod.js
CHANGED
package/dist/lang/sl.umd.prod.js
CHANGED
package/dist/lang/sm.umd.prod.js
CHANGED
package/dist/lang/sq.umd.prod.js
CHANGED
package/dist/lang/sr.umd.prod.js
CHANGED
package/dist/lang/sv.umd.prod.js
CHANGED
package/dist/lang/ta.umd.prod.js
CHANGED
package/dist/lang/th.umd.prod.js
CHANGED
package/dist/lang/tl.umd.prod.js
CHANGED
package/dist/lang/tr.umd.prod.js
CHANGED
package/dist/lang/ug.umd.prod.js
CHANGED
package/dist/lang/uk.umd.prod.js
CHANGED
package/dist/lang/vi.umd.prod.js
CHANGED
package/dist/quasar.client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.21.
|
|
2
|
+
* Quasar Framework v2.21.1
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1102,7 +1102,7 @@ function prepareApp(app, uiOpts, pluginOpts) {
|
|
|
1102
1102
|
};
|
|
1103
1103
|
}
|
|
1104
1104
|
var install_quasar_default = function installQuasar(parentApp, opts = {}) {
|
|
1105
|
-
const $q = { version: "2.21.
|
|
1105
|
+
const $q = { version: "2.21.1" };
|
|
1106
1106
|
if (!globalConfigIsFrozen) {
|
|
1107
1107
|
if (opts.config !== void 0) Object.assign(globalConfig, opts.config);
|
|
1108
1108
|
$q.config = { ...globalConfig };
|
|
@@ -2639,7 +2639,7 @@ function useAnchor({ showing, avoidEmit, configureAnchorEl }) {
|
|
|
2639
2639
|
});
|
|
2640
2640
|
configureAnchorEl = function configureAnchorElFn(context = props.contextMenu) {
|
|
2641
2641
|
if (props.noParentEvent || anchorEl.value === null) return;
|
|
2642
|
-
|
|
2642
|
+
const evts = context ? proxy.$q.platform.is.mobile ? [[
|
|
2643
2643
|
anchorEl.value,
|
|
2644
2644
|
"touchstart",
|
|
2645
2645
|
"mobileTouch",
|
|
@@ -2664,7 +2664,8 @@ function useAnchor({ showing, avoidEmit, configureAnchorEl }) {
|
|
|
2664
2664
|
"keyup",
|
|
2665
2665
|
"toggleKey",
|
|
2666
2666
|
"passive"
|
|
2667
|
-
]]
|
|
2667
|
+
]];
|
|
2668
|
+
addEvt(anchorEvents, "anchor", evts);
|
|
2668
2669
|
};
|
|
2669
2670
|
}
|
|
2670
2671
|
function unconfigureAnchorEl() {
|
|
@@ -9602,18 +9603,6 @@ function useHistory(showing, hide, hideOnRouteChange) {
|
|
|
9602
9603
|
//#endregion
|
|
9603
9604
|
//#region src/utils/scroll/prevent-scroll.js
|
|
9604
9605
|
let registered = 0, scrollPositionX, scrollPositionY, maxScrollTop, vpPendingUpdate = false, bodyLeft, bodyTop, href, closeTimer = null;
|
|
9605
|
-
function onWheel(e) {
|
|
9606
|
-
if (shouldPreventScroll(e)) stopAndPrevent(e);
|
|
9607
|
-
}
|
|
9608
|
-
function shouldPreventScroll(e) {
|
|
9609
|
-
if (e.target === document.body || e.target.classList.contains("q-layout__backdrop")) return true;
|
|
9610
|
-
const path = getEventPath(e), shift = e.shiftKey && !e.deltaX, scrollY = !shift && Math.abs(e.deltaX) <= Math.abs(e.deltaY), delta = shift || scrollY ? e.deltaY : e.deltaX;
|
|
9611
|
-
for (let index = 0; index < path.length; index++) {
|
|
9612
|
-
const el = path[index];
|
|
9613
|
-
if (hasScrollbar(el, scrollY)) return scrollY ? delta < 0 && el.scrollTop === 0 ? true : delta > 0 && el.scrollTop + el.clientHeight === el.scrollHeight : delta < 0 && el.scrollLeft === 0 ? true : delta > 0 && el.scrollLeft + el.clientWidth === el.scrollWidth;
|
|
9614
|
-
}
|
|
9615
|
-
return true;
|
|
9616
|
-
}
|
|
9617
9606
|
function onAppleScroll(e) {
|
|
9618
9607
|
if (e.target === document) document.scrollingElement.scrollTop = document.scrollingElement.scrollTop;
|
|
9619
9608
|
}
|
|
@@ -9643,7 +9632,7 @@ function apply$1(action) {
|
|
|
9643
9632
|
body.style.top = `-${scrollPositionY}px`;
|
|
9644
9633
|
if (overflowX !== "hidden" && (overflowX === "scroll" || body.scrollWidth > window.innerWidth)) body.classList.add("q-body--force-scrollbar-x");
|
|
9645
9634
|
if (overflowY !== "hidden" && (overflowY === "scroll" || body.scrollHeight > window.innerHeight)) body.classList.add("q-body--force-scrollbar-y");
|
|
9646
|
-
|
|
9635
|
+
document.documentElement.classList.add("q-document--prevent-scroll");
|
|
9647
9636
|
document.qScrollPrevented = true;
|
|
9648
9637
|
if (client.is.ios) if (hasViewport) {
|
|
9649
9638
|
window.scrollTo(0, 0);
|
|
@@ -9651,14 +9640,13 @@ function apply$1(action) {
|
|
|
9651
9640
|
window.visualViewport.addEventListener("scroll", onAppleResize, listenOpts.passiveCapture);
|
|
9652
9641
|
window.scrollTo(0, 0);
|
|
9653
9642
|
} else window.addEventListener("scroll", onAppleScroll, listenOpts.passiveCapture);
|
|
9654
|
-
}
|
|
9655
|
-
if (client.is.desktop && client.is.mac) window[`${action}EventListener`]("wheel", onWheel, listenOpts.notPassive);
|
|
9656
|
-
if (action === "remove") {
|
|
9643
|
+
} else {
|
|
9657
9644
|
if (client.is.ios) if (hasViewport) {
|
|
9658
9645
|
window.visualViewport.removeEventListener("resize", onAppleResize, listenOpts.passiveCapture);
|
|
9659
9646
|
window.visualViewport.removeEventListener("scroll", onAppleResize, listenOpts.passiveCapture);
|
|
9660
9647
|
} else window.removeEventListener("scroll", onAppleScroll, listenOpts.passiveCapture);
|
|
9661
|
-
|
|
9648
|
+
document.documentElement.classList.remove("q-document--prevent-scroll");
|
|
9649
|
+
body.classList.remove("q-body--force-scrollbar-x", "q-body--force-scrollbar-y");
|
|
9662
9650
|
document.qScrollPrevented = false;
|
|
9663
9651
|
body.style.left = bodyLeft;
|
|
9664
9652
|
body.style.top = bodyTop;
|
|
@@ -10727,7 +10715,7 @@ var QTooltip_default = createComponent({
|
|
|
10727
10715
|
clearSelection();
|
|
10728
10716
|
document.body.classList.add("non-selectable");
|
|
10729
10717
|
const target = anchorEl.value;
|
|
10730
|
-
|
|
10718
|
+
const evts = [
|
|
10731
10719
|
"touchmove",
|
|
10732
10720
|
"touchcancel",
|
|
10733
10721
|
"touchend",
|
|
@@ -10737,7 +10725,8 @@ var QTooltip_default = createComponent({
|
|
|
10737
10725
|
e,
|
|
10738
10726
|
"delayHide",
|
|
10739
10727
|
"passiveCapture"
|
|
10740
|
-
])
|
|
10728
|
+
]);
|
|
10729
|
+
addEvt(anchorEvents, "tooltipTemp", evts);
|
|
10741
10730
|
}
|
|
10742
10731
|
registerTimeout(() => {
|
|
10743
10732
|
show(evt);
|
|
@@ -10757,7 +10746,7 @@ var QTooltip_default = createComponent({
|
|
|
10757
10746
|
}
|
|
10758
10747
|
function configureAnchorEl() {
|
|
10759
10748
|
if (props.noParentEvent || anchorEl.value === null) return;
|
|
10760
|
-
|
|
10749
|
+
const evts = $q.platform.is.mobile ? [[
|
|
10761
10750
|
anchorEl.value,
|
|
10762
10751
|
"touchstart",
|
|
10763
10752
|
"delayShow",
|
|
@@ -10772,7 +10761,8 @@ var QTooltip_default = createComponent({
|
|
|
10772
10761
|
"mouseleave",
|
|
10773
10762
|
"delayHide",
|
|
10774
10763
|
"passive"
|
|
10775
|
-
]]
|
|
10764
|
+
]];
|
|
10765
|
+
addEvt(anchorEvents, "anchor", evts);
|
|
10776
10766
|
}
|
|
10777
10767
|
function configureScrollTarget() {
|
|
10778
10768
|
if (anchorEl.value !== null || props.scrollTarget !== void 0) {
|
|
@@ -23226,6 +23216,19 @@ function morph(_options) {
|
|
|
23226
23216
|
margin: 0;
|
|
23227
23217
|
width: 0;
|
|
23228
23218
|
height: 0;
|
|
23219
|
+
`;
|
|
23220
|
+
const keyframesTo = options.keepToClone === true ? "" : `
|
|
23221
|
+
@keyframes ${qAnimId}-to {
|
|
23222
|
+
0% {
|
|
23223
|
+
${keyframeToStart}
|
|
23224
|
+
}
|
|
23225
|
+
|
|
23226
|
+
100% {
|
|
23227
|
+
margin: ${elToParentHeightDiff < 0 ? elToParentHeightDiff / 2 : 0}px ${elToParentWidthDiff < 0 ? elToParentWidthDiff / 2 : 0}px;
|
|
23228
|
+
width: ${elToCloneWidth + elToPosition.marginH}px;
|
|
23229
|
+
height: ${elToCloneHeight + elToPosition.marginV}px;
|
|
23230
|
+
}
|
|
23231
|
+
}
|
|
23229
23232
|
`;
|
|
23230
23233
|
style.innerHTML = `
|
|
23231
23234
|
@keyframes ${qAnimId} {
|
|
@@ -23261,19 +23264,7 @@ function morph(_options) {
|
|
|
23261
23264
|
|
|
23262
23265
|
${keyframesFromTween}
|
|
23263
23266
|
|
|
23264
|
-
${
|
|
23265
|
-
@keyframes ${qAnimId}-to {
|
|
23266
|
-
0% {
|
|
23267
|
-
${keyframeToStart}
|
|
23268
|
-
}
|
|
23269
|
-
|
|
23270
|
-
100% {
|
|
23271
|
-
margin: ${elToParentHeightDiff < 0 ? elToParentHeightDiff / 2 : 0}px ${elToParentWidthDiff < 0 ? elToParentWidthDiff / 2 : 0}px;
|
|
23272
|
-
width: ${elToCloneWidth + elToPosition.marginH}px;
|
|
23273
|
-
height: ${elToCloneHeight + elToPosition.marginV}px;
|
|
23274
|
-
}
|
|
23275
|
-
}
|
|
23276
|
-
`}
|
|
23267
|
+
${keyframesTo}
|
|
23277
23268
|
`;
|
|
23278
23269
|
document.head.append(style);
|
|
23279
23270
|
let animationDirection = "normal";
|
|
@@ -25254,8 +25245,8 @@ var Notify_default = {
|
|
|
25254
25245
|
if (!this.__installed) {
|
|
25255
25246
|
positionList.forEach((pos) => {
|
|
25256
25247
|
notificationsList[pos] = ref([]);
|
|
25257
|
-
const vert = pos === "left" || pos === "center" || pos === "right" ? "center" : pos.includes("top") ? "top" : "bottom", align = pos.includes("left") ? "start" : pos.includes("right") ? "end" : "center"
|
|
25258
|
-
positionClass[pos] = `q-notifications__list q-notifications__list--${vert} fixed column no-wrap ${
|
|
25248
|
+
const vert = pos === "left" || pos === "center" || pos === "right" ? "center" : pos.includes("top") ? "top" : "bottom", align = pos.includes("left") ? "start" : pos.includes("right") ? "end" : "center", classes = pos === "left" || pos === "right" ? `items-${pos === "left" ? "start" : "end"} justify-center` : pos === "center" ? "flex-center" : `items-${align}`;
|
|
25249
|
+
positionClass[pos] = `q-notifications__list q-notifications__list--${vert} fixed column no-wrap ${classes}`;
|
|
25259
25250
|
});
|
|
25260
25251
|
const el = createGlobalNode("q-notify");
|
|
25261
25252
|
createChildApp(getComponent(), parentApp).mount(el);
|
|
@@ -25762,7 +25753,7 @@ function runSequentialPromises(sequentialPromises, { threadsNumber = 1, abortOnF
|
|
|
25762
25753
|
//#endregion
|
|
25763
25754
|
//#region src/index.dev.js
|
|
25764
25755
|
const Quasar = {
|
|
25765
|
-
version: "2.21.
|
|
25756
|
+
version: "2.21.1",
|
|
25766
25757
|
install: install_quasar_default,
|
|
25767
25758
|
lang: Plugin$5,
|
|
25768
25759
|
iconSet: Plugin$4
|
package/dist/quasar.css
CHANGED
|
@@ -10332,8 +10332,15 @@ body.body--dark .inset-shadow-down {
|
|
|
10332
10332
|
opacity: 0.7;
|
|
10333
10333
|
}
|
|
10334
10334
|
|
|
10335
|
+
.q-document--prevent-scroll {
|
|
10336
|
+
overscroll-behavior: none !important;
|
|
10337
|
+
}
|
|
10338
|
+
.q-document--prevent-scroll body {
|
|
10339
|
+
position: fixed !important;
|
|
10340
|
+
}
|
|
10341
|
+
|
|
10335
10342
|
/* body */
|
|
10336
|
-
.q-body--fullscreen-mixin
|
|
10343
|
+
.q-body--fullscreen-mixin {
|
|
10337
10344
|
position: fixed !important;
|
|
10338
10345
|
}
|
|
10339
10346
|
|