quasar 2.20.1 → 2.20.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.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/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 +88 -102
- package/dist/quasar.sass +1 -1
- package/dist/quasar.server.prod.cjs +4 -4
- package/dist/quasar.server.prod.js +4 -4
- package/dist/quasar.umd.js +88 -102
- package/dist/quasar.umd.prod.js +4 -4
- package/dist/web-types/web-types.json +1 -1
- package/package.json +5 -5
- package/src/components/drawer/QDrawer.js +1 -1
- package/src/components/table/QTable.js +1 -1
- package/src/components.js +123 -79
- package/src/composables.js +11 -25
- package/src/directives/touch-pan/TouchPan.js +5 -1
- package/src/directives/touch-swipe/TouchSwipe.js +4 -2
- package/src/directives.js +11 -25
- package/src/plugins/lang/Lang.js +1 -0
- package/src/plugins/private.body/Body.js +1 -2
- package/src/plugins.js +17 -37
- package/src/utils/colors/colors.js +3 -3
- package/src/utils/colors/colors.test.js +1 -1
- package/src/utils/event/event.js +1 -2
- package/src/utils/private.focus/focus-manager.js +0 -4
- package/src/utils/scroll/prevent-scroll.js +5 -3
- package/src/utils.js +24 -52
- package/src/components/ajax-bar/index.js +0 -3
- package/src/components/avatar/index.js +0 -3
- package/src/components/badge/index.js +0 -3
- package/src/components/banner/index.js +0 -3
- package/src/components/bar/index.js +0 -3
- package/src/components/breadcrumbs/index.js +0 -4
- package/src/components/btn/index.js +0 -3
- package/src/components/btn-dropdown/index.js +0 -3
- package/src/components/btn-group/index.js +0 -3
- package/src/components/btn-toggle/index.js +0 -3
- package/src/components/card/index.js +0 -5
- package/src/components/carousel/index.js +0 -5
- package/src/components/chat/index.js +0 -3
- package/src/components/checkbox/index.js +0 -3
- package/src/components/chip/index.js +0 -3
- package/src/components/circular-progress/index.js +0 -3
- package/src/components/color/index.js +0 -3
- package/src/components/date/index.js +0 -3
- package/src/components/dialog/index.js +0 -3
- package/src/components/drawer/index.js +0 -3
- package/src/components/editor/index.js +0 -3
- package/src/components/expansion-item/index.js +0 -3
- package/src/components/fab/index.js +0 -4
- package/src/components/field/index.js +0 -3
- package/src/components/file/index.js +0 -3
- package/src/components/footer/index.js +0 -3
- package/src/components/form/index.js +0 -4
- package/src/components/header/index.js +0 -3
- package/src/components/icon/index.js +0 -3
- package/src/components/img/index.js +0 -3
- package/src/components/infinite-scroll/index.js +0 -3
- package/src/components/inner-loading/index.js +0 -3
- package/src/components/input/index.js +0 -3
- package/src/components/intersection/index.js +0 -3
- package/src/components/item/index.js +0 -7
- package/src/components/knob/index.js +0 -3
- package/src/components/layout/index.js +0 -3
- package/src/components/linear-progress/index.js +0 -3
- package/src/components/markup-table/index.js +0 -3
- package/src/components/menu/index.js +0 -3
- package/src/components/no-ssr/index.js +0 -3
- package/src/components/option-group/index.js +0 -3
- package/src/components/page/index.js +0 -4
- package/src/components/page-scroller/index.js +0 -3
- package/src/components/page-sticky/index.js +0 -3
- package/src/components/pagination/index.js +0 -3
- package/src/components/parallax/index.js +0 -3
- package/src/components/popup-edit/index.js +0 -3
- package/src/components/popup-proxy/index.js +0 -3
- package/src/components/pull-to-refresh/index.js +0 -3
- package/src/components/radio/index.js +0 -3
- package/src/components/range/index.js +0 -3
- package/src/components/rating/index.js +0 -3
- package/src/components/resize-observer/index.js +0 -3
- package/src/components/responsive/index.js +0 -3
- package/src/components/scroll-area/index.js +0 -3
- package/src/components/scroll-observer/index.js +0 -3
- package/src/components/select/index.js +0 -3
- package/src/components/separator/index.js +0 -3
- package/src/components/skeleton/index.js +0 -3
- package/src/components/slide-item/index.js +0 -3
- package/src/components/slide-transition/index.js +0 -3
- package/src/components/slider/index.js +0 -3
- package/src/components/space/index.js +0 -3
- package/src/components/spinner/index.js +0 -50
- package/src/components/splitter/index.js +0 -3
- package/src/components/stepper/index.js +0 -5
- package/src/components/tab-panels/index.js +0 -4
- package/src/components/table/index.js +0 -6
- package/src/components/tabs/index.js +0 -5
- package/src/components/time/index.js +0 -3
- package/src/components/timeline/index.js +0 -4
- package/src/components/toggle/index.js +0 -3
- package/src/components/toolbar/index.js +0 -4
- package/src/components/tooltip/index.js +0 -3
- package/src/components/tree/index.js +0 -3
- package/src/components/uploader/index.js +0 -4
- package/src/components/video/index.js +0 -3
- package/src/components/virtual-scroll/index.js +0 -3
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.20.
|
|
2
|
+
* Quasar Framework v2.20.3
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -284,8 +284,7 @@ function getEventPath(e) {
|
|
|
284
284
|
while (el) {
|
|
285
285
|
path.push(el);
|
|
286
286
|
if (el.tagName === "HTML") {
|
|
287
|
-
path.push(document);
|
|
288
|
-
path.push(window);
|
|
287
|
+
path.push(document, window);
|
|
289
288
|
return path;
|
|
290
289
|
}
|
|
291
290
|
el = el.parentElement;
|
|
@@ -557,8 +556,7 @@ function getBodyClasses({ is, has, within }, cfg) {
|
|
|
557
556
|
}
|
|
558
557
|
if (is.nativeMobile) {
|
|
559
558
|
const type = is.nativeMobileWrapper;
|
|
560
|
-
cls.push(type);
|
|
561
|
-
cls.push("native-mobile");
|
|
559
|
+
cls.push(type, "native-mobile");
|
|
562
560
|
if (is.ios && (cfg[type] === void 0 || cfg[type].iosStatusBarPadding)) cls.push("q-ios-padding");
|
|
563
561
|
} else if (is.electron) cls.push("electron");
|
|
564
562
|
else if (is.bex) cls.push("bex");
|
|
@@ -1104,7 +1102,7 @@ function prepareApp(app, uiOpts, pluginOpts) {
|
|
|
1104
1102
|
};
|
|
1105
1103
|
}
|
|
1106
1104
|
var install_quasar_default = function installQuasar(parentApp, opts = {}) {
|
|
1107
|
-
const $q = { version: "2.20.
|
|
1105
|
+
const $q = { version: "2.20.3" };
|
|
1108
1106
|
if (!globalConfigIsFrozen) {
|
|
1109
1107
|
if (opts.config !== void 0) Object.assign(globalConfig, opts.config);
|
|
1110
1108
|
$q.config = { ...globalConfig };
|
|
@@ -2890,13 +2888,7 @@ function removeFocusWaitFlag(flag) {
|
|
|
2890
2888
|
}
|
|
2891
2889
|
function addFocusFn(fn) {
|
|
2892
2890
|
if (waitFlags.length === 0) fn();
|
|
2893
|
-
else
|
|
2894
|
-
/**
|
|
2895
|
-
* While in the wait state, do not let focus be set on any element.
|
|
2896
|
-
*/
|
|
2897
|
-
document.activeElement?.blur?.();
|
|
2898
|
-
queue.push(fn);
|
|
2899
|
-
}
|
|
2891
|
+
else queue.push(fn);
|
|
2900
2892
|
}
|
|
2901
2893
|
function removeFocusFn(fn) {
|
|
2902
2894
|
queue = queue.filter((entry) => entry !== fn);
|
|
@@ -3792,7 +3784,7 @@ function createUidFn() {
|
|
|
3792
3784
|
return () => {
|
|
3793
3785
|
if (buf === void 0 || bufIdx + 16 > 4096) {
|
|
3794
3786
|
bufIdx = 0;
|
|
3795
|
-
buf = new Uint8Array(4096);
|
|
3787
|
+
buf = /* @__PURE__ */ new Uint8Array(4096);
|
|
3796
3788
|
crypto.getRandomValues(buf);
|
|
3797
3789
|
}
|
|
3798
3790
|
const i = bufIdx;
|
|
@@ -4347,8 +4339,7 @@ var TouchSwipe_default = createDirective({
|
|
|
4347
4339
|
if (ctx.event.dir !== false) {
|
|
4348
4340
|
stopAndPrevent(evt);
|
|
4349
4341
|
if (ctx.event.mouse) {
|
|
4350
|
-
document.body.classList.add("no-pointer-events--children");
|
|
4351
|
-
document.body.classList.add("non-selectable");
|
|
4342
|
+
document.body.classList.add("no-pointer-events--children", "non-selectable");
|
|
4352
4343
|
clearSelection();
|
|
4353
4344
|
ctx.styleCleanup = (withDelay) => {
|
|
4354
4345
|
ctx.styleCleanup = void 0;
|
|
@@ -5458,7 +5449,7 @@ function getChanges(evt, ctx, isFinal) {
|
|
|
5458
5449
|
}
|
|
5459
5450
|
}
|
|
5460
5451
|
let synthetic = false;
|
|
5461
|
-
if (dir === void 0 &&
|
|
5452
|
+
if (dir === void 0 && isFinal === false) {
|
|
5462
5453
|
if (ctx.event.isFirst || ctx.event.lastDir === void 0) return {};
|
|
5463
5454
|
dir = ctx.event.lastDir;
|
|
5464
5455
|
synthetic = true;
|
|
@@ -9667,9 +9658,7 @@ function apply$1(action) {
|
|
|
9667
9658
|
window.visualViewport.removeEventListener("resize", onAppleResize, listenOpts.passiveCapture);
|
|
9668
9659
|
window.visualViewport.removeEventListener("scroll", onAppleResize, listenOpts.passiveCapture);
|
|
9669
9660
|
} else window.removeEventListener("scroll", onAppleScroll, listenOpts.passiveCapture);
|
|
9670
|
-
body.classList.remove("q-body--prevent-scroll");
|
|
9671
|
-
body.classList.remove("q-body--force-scrollbar-x");
|
|
9672
|
-
body.classList.remove("q-body--force-scrollbar-y");
|
|
9661
|
+
body.classList.remove("q-body--prevent-scroll", "q-body--force-scrollbar-x", "q-body--force-scrollbar-y");
|
|
9673
9662
|
document.qScrollPrevented = false;
|
|
9674
9663
|
body.style.left = bodyLeft;
|
|
9675
9664
|
body.style.top = bodyTop;
|
|
@@ -10245,7 +10234,7 @@ var QDrawer_default = createComponent({
|
|
|
10245
10234
|
}, 150);
|
|
10246
10235
|
}
|
|
10247
10236
|
function onOpenPan(evt) {
|
|
10248
|
-
if (
|
|
10237
|
+
if (showing.value) return;
|
|
10249
10238
|
const width = size.value, position = between(evt.distance.x, 0, width);
|
|
10250
10239
|
if (evt.isFinal) {
|
|
10251
10240
|
if (position >= Math.min(75, width)) show();
|
|
@@ -15207,6 +15196,82 @@ var QLayout_default = createComponent({
|
|
|
15207
15196
|
}
|
|
15208
15197
|
});
|
|
15209
15198
|
//#endregion
|
|
15199
|
+
//#region src/components/linear-progress/QLinearProgress.js
|
|
15200
|
+
const defaultSizes = {
|
|
15201
|
+
xs: 2,
|
|
15202
|
+
sm: 4,
|
|
15203
|
+
md: 6,
|
|
15204
|
+
lg: 10,
|
|
15205
|
+
xl: 14
|
|
15206
|
+
};
|
|
15207
|
+
function width(val, reverse, $q) {
|
|
15208
|
+
return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
|
|
15209
|
+
}
|
|
15210
|
+
var QLinearProgress_default = createComponent({
|
|
15211
|
+
name: "QLinearProgress",
|
|
15212
|
+
props: {
|
|
15213
|
+
...useDarkProps,
|
|
15214
|
+
...useSizeProps,
|
|
15215
|
+
value: {
|
|
15216
|
+
type: Number,
|
|
15217
|
+
default: 0
|
|
15218
|
+
},
|
|
15219
|
+
buffer: Number,
|
|
15220
|
+
color: String,
|
|
15221
|
+
trackColor: String,
|
|
15222
|
+
reverse: Boolean,
|
|
15223
|
+
stripe: Boolean,
|
|
15224
|
+
indeterminate: Boolean,
|
|
15225
|
+
query: Boolean,
|
|
15226
|
+
rounded: Boolean,
|
|
15227
|
+
animationSpeed: {
|
|
15228
|
+
type: [String, Number],
|
|
15229
|
+
default: 2100
|
|
15230
|
+
},
|
|
15231
|
+
instantFeedback: Boolean
|
|
15232
|
+
},
|
|
15233
|
+
setup(props, { slots }) {
|
|
15234
|
+
const { proxy } = getCurrentInstance();
|
|
15235
|
+
const isDark = useDark(props, proxy.$q);
|
|
15236
|
+
const sizeStyle = useSize(props, defaultSizes);
|
|
15237
|
+
const motion = computed(() => props.indeterminate || props.query);
|
|
15238
|
+
const widthReverse = computed(() => props.reverse !== props.query);
|
|
15239
|
+
const style = computed(() => ({
|
|
15240
|
+
...sizeStyle.value !== null ? sizeStyle.value : {},
|
|
15241
|
+
"--q-linear-progress-speed": `${props.animationSpeed}ms`
|
|
15242
|
+
}));
|
|
15243
|
+
const classes = computed(() => "q-linear-progress" + (props.color !== void 0 ? ` text-${props.color}` : "") + (props.reverse || props.query ? " q-linear-progress--reverse" : "") + (props.rounded ? " rounded-borders" : ""));
|
|
15244
|
+
const trackStyle = computed(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
|
|
15245
|
+
const transitionSuffix = computed(() => `with${props.instantFeedback ? "out" : ""}-transition`);
|
|
15246
|
+
const trackClass = computed(() => `q-linear-progress__track absolute-full q-linear-progress__track--${transitionSuffix.value} q-linear-progress__track--${isDark.value ? "dark" : "light"}` + (props.trackColor !== void 0 ? ` bg-${props.trackColor}` : ""));
|
|
15247
|
+
const modelStyle = computed(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
|
|
15248
|
+
const modelClass = computed(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
|
|
15249
|
+
const stripeStyle = computed(() => ({ width: `${props.value * 100}%` }));
|
|
15250
|
+
const stripeClass = computed(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
|
|
15251
|
+
return () => {
|
|
15252
|
+
const child = [h("div", {
|
|
15253
|
+
class: trackClass.value,
|
|
15254
|
+
style: trackStyle.value
|
|
15255
|
+
}), h("div", {
|
|
15256
|
+
class: modelClass.value,
|
|
15257
|
+
style: modelStyle.value
|
|
15258
|
+
})];
|
|
15259
|
+
if (props.stripe && !motion.value) child.push(h("div", {
|
|
15260
|
+
class: stripeClass.value,
|
|
15261
|
+
style: stripeStyle.value
|
|
15262
|
+
}));
|
|
15263
|
+
return h("div", {
|
|
15264
|
+
class: classes.value,
|
|
15265
|
+
style: style.value,
|
|
15266
|
+
role: "progressbar",
|
|
15267
|
+
"aria-valuemin": 0,
|
|
15268
|
+
"aria-valuemax": 1,
|
|
15269
|
+
"aria-valuenow": props.indeterminate ? void 0 : props.value
|
|
15270
|
+
}, hMergeSlot(slots.default, child));
|
|
15271
|
+
};
|
|
15272
|
+
}
|
|
15273
|
+
});
|
|
15274
|
+
//#endregion
|
|
15210
15275
|
//#region src/components/markup-table/QMarkupTable.js
|
|
15211
15276
|
const separatorValues = [
|
|
15212
15277
|
"horizontal",
|
|
@@ -16393,82 +16458,6 @@ var QPopupProxy_default = createComponent({
|
|
|
16393
16458
|
}
|
|
16394
16459
|
});
|
|
16395
16460
|
//#endregion
|
|
16396
|
-
//#region src/components/linear-progress/QLinearProgress.js
|
|
16397
|
-
const defaultSizes = {
|
|
16398
|
-
xs: 2,
|
|
16399
|
-
sm: 4,
|
|
16400
|
-
md: 6,
|
|
16401
|
-
lg: 10,
|
|
16402
|
-
xl: 14
|
|
16403
|
-
};
|
|
16404
|
-
function width(val, reverse, $q) {
|
|
16405
|
-
return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
|
|
16406
|
-
}
|
|
16407
|
-
var QLinearProgress_default = createComponent({
|
|
16408
|
-
name: "QLinearProgress",
|
|
16409
|
-
props: {
|
|
16410
|
-
...useDarkProps,
|
|
16411
|
-
...useSizeProps,
|
|
16412
|
-
value: {
|
|
16413
|
-
type: Number,
|
|
16414
|
-
default: 0
|
|
16415
|
-
},
|
|
16416
|
-
buffer: Number,
|
|
16417
|
-
color: String,
|
|
16418
|
-
trackColor: String,
|
|
16419
|
-
reverse: Boolean,
|
|
16420
|
-
stripe: Boolean,
|
|
16421
|
-
indeterminate: Boolean,
|
|
16422
|
-
query: Boolean,
|
|
16423
|
-
rounded: Boolean,
|
|
16424
|
-
animationSpeed: {
|
|
16425
|
-
type: [String, Number],
|
|
16426
|
-
default: 2100
|
|
16427
|
-
},
|
|
16428
|
-
instantFeedback: Boolean
|
|
16429
|
-
},
|
|
16430
|
-
setup(props, { slots }) {
|
|
16431
|
-
const { proxy } = getCurrentInstance();
|
|
16432
|
-
const isDark = useDark(props, proxy.$q);
|
|
16433
|
-
const sizeStyle = useSize(props, defaultSizes);
|
|
16434
|
-
const motion = computed(() => props.indeterminate || props.query);
|
|
16435
|
-
const widthReverse = computed(() => props.reverse !== props.query);
|
|
16436
|
-
const style = computed(() => ({
|
|
16437
|
-
...sizeStyle.value !== null ? sizeStyle.value : {},
|
|
16438
|
-
"--q-linear-progress-speed": `${props.animationSpeed}ms`
|
|
16439
|
-
}));
|
|
16440
|
-
const classes = computed(() => "q-linear-progress" + (props.color !== void 0 ? ` text-${props.color}` : "") + (props.reverse || props.query ? " q-linear-progress--reverse" : "") + (props.rounded ? " rounded-borders" : ""));
|
|
16441
|
-
const trackStyle = computed(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
|
|
16442
|
-
const transitionSuffix = computed(() => `with${props.instantFeedback ? "out" : ""}-transition`);
|
|
16443
|
-
const trackClass = computed(() => `q-linear-progress__track absolute-full q-linear-progress__track--${transitionSuffix.value} q-linear-progress__track--${isDark.value ? "dark" : "light"}` + (props.trackColor !== void 0 ? ` bg-${props.trackColor}` : ""));
|
|
16444
|
-
const modelStyle = computed(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
|
|
16445
|
-
const modelClass = computed(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
|
|
16446
|
-
const stripeStyle = computed(() => ({ width: `${props.value * 100}%` }));
|
|
16447
|
-
const stripeClass = computed(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
|
|
16448
|
-
return () => {
|
|
16449
|
-
const child = [h("div", {
|
|
16450
|
-
class: trackClass.value,
|
|
16451
|
-
style: trackStyle.value
|
|
16452
|
-
}), h("div", {
|
|
16453
|
-
class: modelClass.value,
|
|
16454
|
-
style: modelStyle.value
|
|
16455
|
-
})];
|
|
16456
|
-
if (props.stripe && !motion.value) child.push(h("div", {
|
|
16457
|
-
class: stripeClass.value,
|
|
16458
|
-
style: stripeStyle.value
|
|
16459
|
-
}));
|
|
16460
|
-
return h("div", {
|
|
16461
|
-
class: classes.value,
|
|
16462
|
-
style: style.value,
|
|
16463
|
-
role: "progressbar",
|
|
16464
|
-
"aria-valuemin": 0,
|
|
16465
|
-
"aria-valuemax": 1,
|
|
16466
|
-
"aria-valuenow": props.indeterminate ? void 0 : props.value
|
|
16467
|
-
}, hMergeSlot(slots.default, child));
|
|
16468
|
-
};
|
|
16469
|
-
}
|
|
16470
|
-
});
|
|
16471
|
-
//#endregion
|
|
16472
16461
|
//#region src/components/pull-to-refresh/QPullToRefresh.js
|
|
16473
16462
|
const PULLER_HEIGHT = 40, OFFSET_TOP = 20;
|
|
16474
16463
|
var QPullToRefresh_default = createComponent({
|
|
@@ -20751,10 +20740,7 @@ var QTable_default = createComponent({
|
|
|
20751
20740
|
if (topLeft !== void 0) child.push(h("div", { class: "q-table__control" }, [topLeft(marginalsScope.value)]));
|
|
20752
20741
|
else if (props.title) child.push(h("div", { class: "q-table__control" }, [h("div", { class: ["q-table__title", props.titleClass] }, props.title)]));
|
|
20753
20742
|
}
|
|
20754
|
-
if (topRight !== void 0) {
|
|
20755
|
-
child.push(h("div", { class: "q-table__separator col" }));
|
|
20756
|
-
child.push(h("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
|
|
20757
|
-
}
|
|
20743
|
+
if (topRight !== void 0) child.push(h("div", { class: "q-table__separator col" }), h("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
|
|
20758
20744
|
if (child.length === 0) return;
|
|
20759
20745
|
return h("div", { class: topClass }, child);
|
|
20760
20746
|
}
|
|
@@ -25768,7 +25754,7 @@ function runSequentialPromises(sequentialPromises, { threadsNumber = 1, abortOnF
|
|
|
25768
25754
|
//#endregion
|
|
25769
25755
|
//#region src/index.dev.js
|
|
25770
25756
|
const Quasar = {
|
|
25771
|
-
version: "2.20.
|
|
25757
|
+
version: "2.20.3",
|
|
25772
25758
|
install: install_quasar_default,
|
|
25773
25759
|
lang: Plugin$5,
|
|
25774
25760
|
iconSet: Plugin$4
|
package/dist/quasar.sass
CHANGED