quasar 2.20.1 → 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 -101
- 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 -101
- package/dist/quasar.umd.prod.js +4 -4
- package/dist/web-types/web-types.json +1 -1
- package/package.json +4 -4
- 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-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/quasar.umd.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
|
*/
|
|
@@ -282,8 +282,7 @@
|
|
|
282
282
|
while (el) {
|
|
283
283
|
path.push(el);
|
|
284
284
|
if (el.tagName === "HTML") {
|
|
285
|
-
path.push(document);
|
|
286
|
-
path.push(window);
|
|
285
|
+
path.push(document, window);
|
|
287
286
|
return path;
|
|
288
287
|
}
|
|
289
288
|
el = el.parentElement;
|
|
@@ -555,8 +554,7 @@
|
|
|
555
554
|
}
|
|
556
555
|
if (is.nativeMobile) {
|
|
557
556
|
const type = is.nativeMobileWrapper;
|
|
558
|
-
cls.push(type);
|
|
559
|
-
cls.push("native-mobile");
|
|
557
|
+
cls.push(type, "native-mobile");
|
|
560
558
|
if (is.ios && (cfg[type] === void 0 || cfg[type].iosStatusBarPadding)) cls.push("q-ios-padding");
|
|
561
559
|
} else if (is.electron) cls.push("electron");
|
|
562
560
|
else if (is.bex) cls.push("bex");
|
|
@@ -1102,7 +1100,7 @@
|
|
|
1102
1100
|
};
|
|
1103
1101
|
}
|
|
1104
1102
|
var install_quasar_default = function installQuasar(parentApp, opts = {}) {
|
|
1105
|
-
const $q = { version: "2.20.
|
|
1103
|
+
const $q = { version: "2.20.2" };
|
|
1106
1104
|
if (!globalConfigIsFrozen) {
|
|
1107
1105
|
if (opts.config !== void 0) Object.assign(globalConfig, opts.config);
|
|
1108
1106
|
$q.config = { ...globalConfig };
|
|
@@ -2888,13 +2886,7 @@
|
|
|
2888
2886
|
}
|
|
2889
2887
|
function addFocusFn(fn) {
|
|
2890
2888
|
if (waitFlags.length === 0) fn();
|
|
2891
|
-
else
|
|
2892
|
-
/**
|
|
2893
|
-
* While in the wait state, do not let focus be set on any element.
|
|
2894
|
-
*/
|
|
2895
|
-
document.activeElement?.blur?.();
|
|
2896
|
-
queue.push(fn);
|
|
2897
|
-
}
|
|
2889
|
+
else queue.push(fn);
|
|
2898
2890
|
}
|
|
2899
2891
|
function removeFocusFn(fn) {
|
|
2900
2892
|
queue = queue.filter((entry) => entry !== fn);
|
|
@@ -3790,7 +3782,7 @@
|
|
|
3790
3782
|
return () => {
|
|
3791
3783
|
if (buf === void 0 || bufIdx + 16 > 4096) {
|
|
3792
3784
|
bufIdx = 0;
|
|
3793
|
-
buf = new Uint8Array(4096);
|
|
3785
|
+
buf = /* @__PURE__ */ new Uint8Array(4096);
|
|
3794
3786
|
crypto.getRandomValues(buf);
|
|
3795
3787
|
}
|
|
3796
3788
|
const i = bufIdx;
|
|
@@ -4345,8 +4337,7 @@
|
|
|
4345
4337
|
if (ctx.event.dir !== false) {
|
|
4346
4338
|
stopAndPrevent(evt);
|
|
4347
4339
|
if (ctx.event.mouse) {
|
|
4348
|
-
document.body.classList.add("no-pointer-events--children");
|
|
4349
|
-
document.body.classList.add("non-selectable");
|
|
4340
|
+
document.body.classList.add("no-pointer-events--children", "non-selectable");
|
|
4350
4341
|
clearSelection();
|
|
4351
4342
|
ctx.styleCleanup = (withDelay) => {
|
|
4352
4343
|
ctx.styleCleanup = void 0;
|
|
@@ -9665,9 +9656,7 @@
|
|
|
9665
9656
|
window.visualViewport.removeEventListener("resize", onAppleResize, listenOpts.passiveCapture);
|
|
9666
9657
|
window.visualViewport.removeEventListener("scroll", onAppleResize, listenOpts.passiveCapture);
|
|
9667
9658
|
} else window.removeEventListener("scroll", onAppleScroll, listenOpts.passiveCapture);
|
|
9668
|
-
body.classList.remove("q-body--prevent-scroll");
|
|
9669
|
-
body.classList.remove("q-body--force-scrollbar-x");
|
|
9670
|
-
body.classList.remove("q-body--force-scrollbar-y");
|
|
9659
|
+
body.classList.remove("q-body--prevent-scroll", "q-body--force-scrollbar-x", "q-body--force-scrollbar-y");
|
|
9671
9660
|
document.qScrollPrevented = false;
|
|
9672
9661
|
body.style.left = bodyLeft;
|
|
9673
9662
|
body.style.top = bodyTop;
|
|
@@ -10243,7 +10232,7 @@
|
|
|
10243
10232
|
}, 150);
|
|
10244
10233
|
}
|
|
10245
10234
|
function onOpenPan(evt) {
|
|
10246
|
-
if (
|
|
10235
|
+
if (showing.value) return;
|
|
10247
10236
|
const width = size.value, position = between(evt.distance.x, 0, width);
|
|
10248
10237
|
if (evt.isFinal) {
|
|
10249
10238
|
if (position >= Math.min(75, width)) show();
|
|
@@ -15205,6 +15194,82 @@
|
|
|
15205
15194
|
}
|
|
15206
15195
|
});
|
|
15207
15196
|
//#endregion
|
|
15197
|
+
//#region src/components/linear-progress/QLinearProgress.js
|
|
15198
|
+
const defaultSizes = {
|
|
15199
|
+
xs: 2,
|
|
15200
|
+
sm: 4,
|
|
15201
|
+
md: 6,
|
|
15202
|
+
lg: 10,
|
|
15203
|
+
xl: 14
|
|
15204
|
+
};
|
|
15205
|
+
function width(val, reverse, $q) {
|
|
15206
|
+
return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
|
|
15207
|
+
}
|
|
15208
|
+
var QLinearProgress_default = createComponent({
|
|
15209
|
+
name: "QLinearProgress",
|
|
15210
|
+
props: {
|
|
15211
|
+
...useDarkProps,
|
|
15212
|
+
...useSizeProps,
|
|
15213
|
+
value: {
|
|
15214
|
+
type: Number,
|
|
15215
|
+
default: 0
|
|
15216
|
+
},
|
|
15217
|
+
buffer: Number,
|
|
15218
|
+
color: String,
|
|
15219
|
+
trackColor: String,
|
|
15220
|
+
reverse: Boolean,
|
|
15221
|
+
stripe: Boolean,
|
|
15222
|
+
indeterminate: Boolean,
|
|
15223
|
+
query: Boolean,
|
|
15224
|
+
rounded: Boolean,
|
|
15225
|
+
animationSpeed: {
|
|
15226
|
+
type: [String, Number],
|
|
15227
|
+
default: 2100
|
|
15228
|
+
},
|
|
15229
|
+
instantFeedback: Boolean
|
|
15230
|
+
},
|
|
15231
|
+
setup(props, { slots }) {
|
|
15232
|
+
const { proxy } = (0, vue.getCurrentInstance)();
|
|
15233
|
+
const isDark = useDark(props, proxy.$q);
|
|
15234
|
+
const sizeStyle = useSize(props, defaultSizes);
|
|
15235
|
+
const motion = (0, vue.computed)(() => props.indeterminate || props.query);
|
|
15236
|
+
const widthReverse = (0, vue.computed)(() => props.reverse !== props.query);
|
|
15237
|
+
const style = (0, vue.computed)(() => ({
|
|
15238
|
+
...sizeStyle.value !== null ? sizeStyle.value : {},
|
|
15239
|
+
"--q-linear-progress-speed": `${props.animationSpeed}ms`
|
|
15240
|
+
}));
|
|
15241
|
+
const classes = (0, vue.computed)(() => "q-linear-progress" + (props.color !== void 0 ? ` text-${props.color}` : "") + (props.reverse || props.query ? " q-linear-progress--reverse" : "") + (props.rounded ? " rounded-borders" : ""));
|
|
15242
|
+
const trackStyle = (0, vue.computed)(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
|
|
15243
|
+
const transitionSuffix = (0, vue.computed)(() => `with${props.instantFeedback ? "out" : ""}-transition`);
|
|
15244
|
+
const trackClass = (0, vue.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}` : ""));
|
|
15245
|
+
const modelStyle = (0, vue.computed)(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
|
|
15246
|
+
const modelClass = (0, vue.computed)(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
|
|
15247
|
+
const stripeStyle = (0, vue.computed)(() => ({ width: `${props.value * 100}%` }));
|
|
15248
|
+
const stripeClass = (0, vue.computed)(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
|
|
15249
|
+
return () => {
|
|
15250
|
+
const child = [(0, vue.h)("div", {
|
|
15251
|
+
class: trackClass.value,
|
|
15252
|
+
style: trackStyle.value
|
|
15253
|
+
}), (0, vue.h)("div", {
|
|
15254
|
+
class: modelClass.value,
|
|
15255
|
+
style: modelStyle.value
|
|
15256
|
+
})];
|
|
15257
|
+
if (props.stripe && !motion.value) child.push((0, vue.h)("div", {
|
|
15258
|
+
class: stripeClass.value,
|
|
15259
|
+
style: stripeStyle.value
|
|
15260
|
+
}));
|
|
15261
|
+
return (0, vue.h)("div", {
|
|
15262
|
+
class: classes.value,
|
|
15263
|
+
style: style.value,
|
|
15264
|
+
role: "progressbar",
|
|
15265
|
+
"aria-valuemin": 0,
|
|
15266
|
+
"aria-valuemax": 1,
|
|
15267
|
+
"aria-valuenow": props.indeterminate ? void 0 : props.value
|
|
15268
|
+
}, hMergeSlot(slots.default, child));
|
|
15269
|
+
};
|
|
15270
|
+
}
|
|
15271
|
+
});
|
|
15272
|
+
//#endregion
|
|
15208
15273
|
//#region src/components/markup-table/QMarkupTable.js
|
|
15209
15274
|
const separatorValues = [
|
|
15210
15275
|
"horizontal",
|
|
@@ -16391,82 +16456,6 @@
|
|
|
16391
16456
|
}
|
|
16392
16457
|
});
|
|
16393
16458
|
//#endregion
|
|
16394
|
-
//#region src/components/linear-progress/QLinearProgress.js
|
|
16395
|
-
const defaultSizes = {
|
|
16396
|
-
xs: 2,
|
|
16397
|
-
sm: 4,
|
|
16398
|
-
md: 6,
|
|
16399
|
-
lg: 10,
|
|
16400
|
-
xl: 14
|
|
16401
|
-
};
|
|
16402
|
-
function width(val, reverse, $q) {
|
|
16403
|
-
return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
|
|
16404
|
-
}
|
|
16405
|
-
var QLinearProgress_default = createComponent({
|
|
16406
|
-
name: "QLinearProgress",
|
|
16407
|
-
props: {
|
|
16408
|
-
...useDarkProps,
|
|
16409
|
-
...useSizeProps,
|
|
16410
|
-
value: {
|
|
16411
|
-
type: Number,
|
|
16412
|
-
default: 0
|
|
16413
|
-
},
|
|
16414
|
-
buffer: Number,
|
|
16415
|
-
color: String,
|
|
16416
|
-
trackColor: String,
|
|
16417
|
-
reverse: Boolean,
|
|
16418
|
-
stripe: Boolean,
|
|
16419
|
-
indeterminate: Boolean,
|
|
16420
|
-
query: Boolean,
|
|
16421
|
-
rounded: Boolean,
|
|
16422
|
-
animationSpeed: {
|
|
16423
|
-
type: [String, Number],
|
|
16424
|
-
default: 2100
|
|
16425
|
-
},
|
|
16426
|
-
instantFeedback: Boolean
|
|
16427
|
-
},
|
|
16428
|
-
setup(props, { slots }) {
|
|
16429
|
-
const { proxy } = (0, vue.getCurrentInstance)();
|
|
16430
|
-
const isDark = useDark(props, proxy.$q);
|
|
16431
|
-
const sizeStyle = useSize(props, defaultSizes);
|
|
16432
|
-
const motion = (0, vue.computed)(() => props.indeterminate || props.query);
|
|
16433
|
-
const widthReverse = (0, vue.computed)(() => props.reverse !== props.query);
|
|
16434
|
-
const style = (0, vue.computed)(() => ({
|
|
16435
|
-
...sizeStyle.value !== null ? sizeStyle.value : {},
|
|
16436
|
-
"--q-linear-progress-speed": `${props.animationSpeed}ms`
|
|
16437
|
-
}));
|
|
16438
|
-
const classes = (0, vue.computed)(() => "q-linear-progress" + (props.color !== void 0 ? ` text-${props.color}` : "") + (props.reverse || props.query ? " q-linear-progress--reverse" : "") + (props.rounded ? " rounded-borders" : ""));
|
|
16439
|
-
const trackStyle = (0, vue.computed)(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
|
|
16440
|
-
const transitionSuffix = (0, vue.computed)(() => `with${props.instantFeedback ? "out" : ""}-transition`);
|
|
16441
|
-
const trackClass = (0, vue.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}` : ""));
|
|
16442
|
-
const modelStyle = (0, vue.computed)(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
|
|
16443
|
-
const modelClass = (0, vue.computed)(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
|
|
16444
|
-
const stripeStyle = (0, vue.computed)(() => ({ width: `${props.value * 100}%` }));
|
|
16445
|
-
const stripeClass = (0, vue.computed)(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
|
|
16446
|
-
return () => {
|
|
16447
|
-
const child = [(0, vue.h)("div", {
|
|
16448
|
-
class: trackClass.value,
|
|
16449
|
-
style: trackStyle.value
|
|
16450
|
-
}), (0, vue.h)("div", {
|
|
16451
|
-
class: modelClass.value,
|
|
16452
|
-
style: modelStyle.value
|
|
16453
|
-
})];
|
|
16454
|
-
if (props.stripe && !motion.value) child.push((0, vue.h)("div", {
|
|
16455
|
-
class: stripeClass.value,
|
|
16456
|
-
style: stripeStyle.value
|
|
16457
|
-
}));
|
|
16458
|
-
return (0, vue.h)("div", {
|
|
16459
|
-
class: classes.value,
|
|
16460
|
-
style: style.value,
|
|
16461
|
-
role: "progressbar",
|
|
16462
|
-
"aria-valuemin": 0,
|
|
16463
|
-
"aria-valuemax": 1,
|
|
16464
|
-
"aria-valuenow": props.indeterminate ? void 0 : props.value
|
|
16465
|
-
}, hMergeSlot(slots.default, child));
|
|
16466
|
-
};
|
|
16467
|
-
}
|
|
16468
|
-
});
|
|
16469
|
-
//#endregion
|
|
16470
16459
|
//#region src/components/pull-to-refresh/QPullToRefresh.js
|
|
16471
16460
|
const PULLER_HEIGHT = 40, OFFSET_TOP = 20;
|
|
16472
16461
|
var QPullToRefresh_default = createComponent({
|
|
@@ -20749,10 +20738,7 @@
|
|
|
20749
20738
|
if (topLeft !== void 0) child.push((0, vue.h)("div", { class: "q-table__control" }, [topLeft(marginalsScope.value)]));
|
|
20750
20739
|
else if (props.title) child.push((0, vue.h)("div", { class: "q-table__control" }, [(0, vue.h)("div", { class: ["q-table__title", props.titleClass] }, props.title)]));
|
|
20751
20740
|
}
|
|
20752
|
-
if (topRight !== void 0) {
|
|
20753
|
-
child.push((0, vue.h)("div", { class: "q-table__separator col" }));
|
|
20754
|
-
child.push((0, vue.h)("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
|
|
20755
|
-
}
|
|
20741
|
+
if (topRight !== void 0) child.push((0, vue.h)("div", { class: "q-table__separator col" }), (0, vue.h)("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
|
|
20756
20742
|
if (child.length === 0) return;
|
|
20757
20743
|
return (0, vue.h)("div", { class: topClass }, child);
|
|
20758
20744
|
}
|
|
@@ -25974,7 +25960,7 @@
|
|
|
25974
25960
|
*/
|
|
25975
25961
|
if (window.Vue === void 0) console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");
|
|
25976
25962
|
window.Quasar = {
|
|
25977
|
-
version: "2.20.
|
|
25963
|
+
version: "2.20.2",
|
|
25978
25964
|
install(app, opts) {
|
|
25979
25965
|
install_quasar_default(app, {
|
|
25980
25966
|
components: components_exports,
|