quasar 2.20.0 → 2.20.2
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 +87 -96
- 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 +87 -96
- 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/dialog/QDialog.js +0 -1
- package/src/components/drawer/QDrawer.js +1 -1
- package/src/components/input/QInput.js +2 -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-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/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.2
|
|
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.2" };
|
|
1108
1106
|
if (!globalConfigIsFrozen) {
|
|
1109
1107
|
if (opts.config !== void 0) Object.assign(globalConfig, opts.config);
|
|
1110
1108
|
$q.config = { ...globalConfig };
|
|
@@ -3786,7 +3784,7 @@ function createUidFn() {
|
|
|
3786
3784
|
return () => {
|
|
3787
3785
|
if (buf === void 0 || bufIdx + 16 > 4096) {
|
|
3788
3786
|
bufIdx = 0;
|
|
3789
|
-
buf = new Uint8Array(4096);
|
|
3787
|
+
buf = /* @__PURE__ */ new Uint8Array(4096);
|
|
3790
3788
|
crypto.getRandomValues(buf);
|
|
3791
3789
|
}
|
|
3792
3790
|
const i = bufIdx;
|
|
@@ -4341,8 +4339,7 @@ var TouchSwipe_default = createDirective({
|
|
|
4341
4339
|
if (ctx.event.dir !== false) {
|
|
4342
4340
|
stopAndPrevent(evt);
|
|
4343
4341
|
if (ctx.event.mouse) {
|
|
4344
|
-
document.body.classList.add("no-pointer-events--children");
|
|
4345
|
-
document.body.classList.add("non-selectable");
|
|
4342
|
+
document.body.classList.add("no-pointer-events--children", "non-selectable");
|
|
4346
4343
|
clearSelection();
|
|
4347
4344
|
ctx.styleCleanup = (withDelay) => {
|
|
4348
4345
|
ctx.styleCleanup = void 0;
|
|
@@ -9661,9 +9658,7 @@ function apply$1(action) {
|
|
|
9661
9658
|
window.visualViewport.removeEventListener("resize", onAppleResize, listenOpts.passiveCapture);
|
|
9662
9659
|
window.visualViewport.removeEventListener("scroll", onAppleResize, listenOpts.passiveCapture);
|
|
9663
9660
|
} else window.removeEventListener("scroll", onAppleScroll, listenOpts.passiveCapture);
|
|
9664
|
-
body.classList.remove("q-body--prevent-scroll");
|
|
9665
|
-
body.classList.remove("q-body--force-scrollbar-x");
|
|
9666
|
-
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");
|
|
9667
9662
|
document.qScrollPrevented = false;
|
|
9668
9663
|
body.style.left = bodyLeft;
|
|
9669
9664
|
body.style.top = bodyTop;
|
|
@@ -9952,7 +9947,6 @@ var QDialog_default = createComponent({
|
|
|
9952
9947
|
class: "q-dialog__backdrop fixed-full",
|
|
9953
9948
|
style: backdropStyle.value,
|
|
9954
9949
|
"aria-hidden": "true",
|
|
9955
|
-
tabindex: -1,
|
|
9956
9950
|
onClick: onBackdropClick
|
|
9957
9951
|
}) : null), h(Transition, transitionProps.value, () => showing.value ? h("div", {
|
|
9958
9952
|
ref: innerRef,
|
|
@@ -10240,7 +10234,7 @@ var QDrawer_default = createComponent({
|
|
|
10240
10234
|
}, 150);
|
|
10241
10235
|
}
|
|
10242
10236
|
function onOpenPan(evt) {
|
|
10243
|
-
if (
|
|
10237
|
+
if (showing.value) return;
|
|
10244
10238
|
const width = size.value, position = between(evt.distance.x, 0, width);
|
|
10245
10239
|
if (evt.isFinal) {
|
|
10246
10240
|
if (position >= Math.min(75, width)) show();
|
|
@@ -14586,7 +14580,7 @@ var QInput_default = createComponent({
|
|
|
14586
14580
|
inputRef,
|
|
14587
14581
|
emitValue,
|
|
14588
14582
|
hasValue,
|
|
14589
|
-
floatingLabel: computed(() => hasValue.value && (props.type !== "number" || Number.isFinite(innerValue.value)) || fieldValueIsFilled(props.displayValue)),
|
|
14583
|
+
floatingLabel: computed(() => hasValue.value && (props.type !== "number" || Number.isFinite(Number(innerValue.value))) || fieldValueIsFilled(props.displayValue)),
|
|
14590
14584
|
getControl: () => h(isTextarea.value ? "textarea" : "input", {
|
|
14591
14585
|
ref: inputRef,
|
|
14592
14586
|
class: ["q-field__native q-placeholder", props.inputClass],
|
|
@@ -15202,6 +15196,82 @@ var QLayout_default = createComponent({
|
|
|
15202
15196
|
}
|
|
15203
15197
|
});
|
|
15204
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
|
|
15205
15275
|
//#region src/components/markup-table/QMarkupTable.js
|
|
15206
15276
|
const separatorValues = [
|
|
15207
15277
|
"horizontal",
|
|
@@ -16388,82 +16458,6 @@ var QPopupProxy_default = createComponent({
|
|
|
16388
16458
|
}
|
|
16389
16459
|
});
|
|
16390
16460
|
//#endregion
|
|
16391
|
-
//#region src/components/linear-progress/QLinearProgress.js
|
|
16392
|
-
const defaultSizes = {
|
|
16393
|
-
xs: 2,
|
|
16394
|
-
sm: 4,
|
|
16395
|
-
md: 6,
|
|
16396
|
-
lg: 10,
|
|
16397
|
-
xl: 14
|
|
16398
|
-
};
|
|
16399
|
-
function width(val, reverse, $q) {
|
|
16400
|
-
return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
|
|
16401
|
-
}
|
|
16402
|
-
var QLinearProgress_default = createComponent({
|
|
16403
|
-
name: "QLinearProgress",
|
|
16404
|
-
props: {
|
|
16405
|
-
...useDarkProps,
|
|
16406
|
-
...useSizeProps,
|
|
16407
|
-
value: {
|
|
16408
|
-
type: Number,
|
|
16409
|
-
default: 0
|
|
16410
|
-
},
|
|
16411
|
-
buffer: Number,
|
|
16412
|
-
color: String,
|
|
16413
|
-
trackColor: String,
|
|
16414
|
-
reverse: Boolean,
|
|
16415
|
-
stripe: Boolean,
|
|
16416
|
-
indeterminate: Boolean,
|
|
16417
|
-
query: Boolean,
|
|
16418
|
-
rounded: Boolean,
|
|
16419
|
-
animationSpeed: {
|
|
16420
|
-
type: [String, Number],
|
|
16421
|
-
default: 2100
|
|
16422
|
-
},
|
|
16423
|
-
instantFeedback: Boolean
|
|
16424
|
-
},
|
|
16425
|
-
setup(props, { slots }) {
|
|
16426
|
-
const { proxy } = getCurrentInstance();
|
|
16427
|
-
const isDark = useDark(props, proxy.$q);
|
|
16428
|
-
const sizeStyle = useSize(props, defaultSizes);
|
|
16429
|
-
const motion = computed(() => props.indeterminate || props.query);
|
|
16430
|
-
const widthReverse = computed(() => props.reverse !== props.query);
|
|
16431
|
-
const style = computed(() => ({
|
|
16432
|
-
...sizeStyle.value !== null ? sizeStyle.value : {},
|
|
16433
|
-
"--q-linear-progress-speed": `${props.animationSpeed}ms`
|
|
16434
|
-
}));
|
|
16435
|
-
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" : ""));
|
|
16436
|
-
const trackStyle = computed(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
|
|
16437
|
-
const transitionSuffix = computed(() => `with${props.instantFeedback ? "out" : ""}-transition`);
|
|
16438
|
-
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}` : ""));
|
|
16439
|
-
const modelStyle = computed(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
|
|
16440
|
-
const modelClass = computed(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
|
|
16441
|
-
const stripeStyle = computed(() => ({ width: `${props.value * 100}%` }));
|
|
16442
|
-
const stripeClass = computed(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
|
|
16443
|
-
return () => {
|
|
16444
|
-
const child = [h("div", {
|
|
16445
|
-
class: trackClass.value,
|
|
16446
|
-
style: trackStyle.value
|
|
16447
|
-
}), h("div", {
|
|
16448
|
-
class: modelClass.value,
|
|
16449
|
-
style: modelStyle.value
|
|
16450
|
-
})];
|
|
16451
|
-
if (props.stripe && !motion.value) child.push(h("div", {
|
|
16452
|
-
class: stripeClass.value,
|
|
16453
|
-
style: stripeStyle.value
|
|
16454
|
-
}));
|
|
16455
|
-
return h("div", {
|
|
16456
|
-
class: classes.value,
|
|
16457
|
-
style: style.value,
|
|
16458
|
-
role: "progressbar",
|
|
16459
|
-
"aria-valuemin": 0,
|
|
16460
|
-
"aria-valuemax": 1,
|
|
16461
|
-
"aria-valuenow": props.indeterminate ? void 0 : props.value
|
|
16462
|
-
}, hMergeSlot(slots.default, child));
|
|
16463
|
-
};
|
|
16464
|
-
}
|
|
16465
|
-
});
|
|
16466
|
-
//#endregion
|
|
16467
16461
|
//#region src/components/pull-to-refresh/QPullToRefresh.js
|
|
16468
16462
|
const PULLER_HEIGHT = 40, OFFSET_TOP = 20;
|
|
16469
16463
|
var QPullToRefresh_default = createComponent({
|
|
@@ -20746,10 +20740,7 @@ var QTable_default = createComponent({
|
|
|
20746
20740
|
if (topLeft !== void 0) child.push(h("div", { class: "q-table__control" }, [topLeft(marginalsScope.value)]));
|
|
20747
20741
|
else if (props.title) child.push(h("div", { class: "q-table__control" }, [h("div", { class: ["q-table__title", props.titleClass] }, props.title)]));
|
|
20748
20742
|
}
|
|
20749
|
-
if (topRight !== void 0) {
|
|
20750
|
-
child.push(h("div", { class: "q-table__separator col" }));
|
|
20751
|
-
child.push(h("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
|
|
20752
|
-
}
|
|
20743
|
+
if (topRight !== void 0) child.push(h("div", { class: "q-table__separator col" }), h("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
|
|
20753
20744
|
if (child.length === 0) return;
|
|
20754
20745
|
return h("div", { class: topClass }, child);
|
|
20755
20746
|
}
|
|
@@ -25763,7 +25754,7 @@ function runSequentialPromises(sequentialPromises, { threadsNumber = 1, abortOnF
|
|
|
25763
25754
|
//#endregion
|
|
25764
25755
|
//#region src/index.dev.js
|
|
25765
25756
|
const Quasar = {
|
|
25766
|
-
version: "2.20.
|
|
25757
|
+
version: "2.20.2",
|
|
25767
25758
|
install: install_quasar_default,
|
|
25768
25759
|
lang: Plugin$5,
|
|
25769
25760
|
iconSet: Plugin$4
|
package/dist/quasar.sass
CHANGED