quasar 2.16.5 → 2.16.6
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/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-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-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 +2 -2
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +2 -2
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +2 -2
- 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/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/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/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.addon.prod.css +1 -1
- package/dist/quasar.addon.rtl.prod.css +1 -1
- package/dist/quasar.client.js +66 -128
- package/dist/quasar.css +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +2 -2
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +5 -5
- package/dist/quasar.server.prod.cjs +3 -3
- package/dist/quasar.server.prod.js +3 -3
- package/dist/quasar.umd.js +65 -126
- package/dist/quasar.umd.prod.js +3 -3
- package/dist/web-types/web-types.json +1 -1
- package/package.json +8 -8
- package/src/components/layout/QLayout.sass +2 -2
- package/src/components/skeleton/QSkeleton.sass +3 -3
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.16.
|
|
2
|
+
* Quasar Framework v2.16.6
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -434,8 +434,7 @@
|
|
|
434
434
|
setDebounce: noop,
|
|
435
435
|
install({ $q, onSSRHydrated }) {
|
|
436
436
|
$q.screen = this;
|
|
437
|
-
if (false)
|
|
438
|
-
return;
|
|
437
|
+
if (false) return;
|
|
439
438
|
if (this.__installed === true) {
|
|
440
439
|
if ($q.config.screen !== void 0) {
|
|
441
440
|
if ($q.config.screen.bodyClasses === false) {
|
|
@@ -545,8 +544,7 @@
|
|
|
545
544
|
}, {
|
|
546
545
|
__media: void 0,
|
|
547
546
|
set(val) {
|
|
548
|
-
if (false)
|
|
549
|
-
return;
|
|
547
|
+
if (false) return;
|
|
550
548
|
Plugin.mode = val;
|
|
551
549
|
if (val === "auto") {
|
|
552
550
|
if (Plugin.__media === void 0) {
|
|
@@ -625,10 +623,8 @@
|
|
|
625
623
|
|
|
626
624
|
// src/plugins/private.body/Body.js
|
|
627
625
|
function getMobilePlatform(is) {
|
|
628
|
-
if (is.ios === true)
|
|
629
|
-
|
|
630
|
-
if (is.android === true)
|
|
631
|
-
return "android";
|
|
626
|
+
if (is.ios === true) return "ios";
|
|
627
|
+
if (is.android === true) return "android";
|
|
632
628
|
}
|
|
633
629
|
function getBodyClasses({ is, has: has2, within }, cfg) {
|
|
634
630
|
const cls = [
|
|
@@ -708,8 +704,7 @@
|
|
|
708
704
|
}
|
|
709
705
|
return;
|
|
710
706
|
}
|
|
711
|
-
if (this.__installed === true)
|
|
712
|
-
return;
|
|
707
|
+
if (this.__installed === true) return;
|
|
713
708
|
if (isRuntimeSsrPreHydration.value === true) {
|
|
714
709
|
applyClientSsrCorrections();
|
|
715
710
|
} else {
|
|
@@ -754,8 +749,7 @@
|
|
|
754
749
|
add: noop,
|
|
755
750
|
remove: noop,
|
|
756
751
|
install({ $q }) {
|
|
757
|
-
if (this.__installed === true)
|
|
758
|
-
return;
|
|
752
|
+
if (this.__installed === true) return;
|
|
759
753
|
const { cordova: cordova2, capacitor } = client.is;
|
|
760
754
|
if (cordova2 !== true && capacitor !== true) {
|
|
761
755
|
return;
|
|
@@ -905,8 +899,7 @@
|
|
|
905
899
|
|
|
906
900
|
// src/plugins/lang/Lang.js
|
|
907
901
|
function getLocale() {
|
|
908
|
-
if (false)
|
|
909
|
-
return;
|
|
902
|
+
if (false) return;
|
|
910
903
|
const val = Array.isArray(navigator.languages) === true && navigator.languages.length !== 0 ? navigator.languages[0] : navigator.language;
|
|
911
904
|
if (typeof val === "string") {
|
|
912
905
|
return val.split(/[-_]/).map((v, i) => i === 0 ? v.toLowerCase() : i > 1 || v.length < 4 ? v.toUpperCase() : v[0].toUpperCase() + v.slice(1).toLowerCase()).join("-");
|
|
@@ -1356,7 +1349,7 @@
|
|
|
1356
1349
|
}
|
|
1357
1350
|
var install_quasar_default = false ? function(parentApp, opts = {}, ssrContext) {
|
|
1358
1351
|
const $q = {
|
|
1359
|
-
version: "2.16.
|
|
1352
|
+
version: "2.16.6",
|
|
1360
1353
|
config: opts.config || {}
|
|
1361
1354
|
};
|
|
1362
1355
|
Object.assign(ssrContext, {
|
|
@@ -1386,7 +1379,7 @@
|
|
|
1386
1379
|
ssrContext
|
|
1387
1380
|
});
|
|
1388
1381
|
} : function(parentApp, opts = {}) {
|
|
1389
|
-
const $q = { version: "2.16.
|
|
1382
|
+
const $q = { version: "2.16.6" };
|
|
1390
1383
|
if (globalConfigIsFrozen === false) {
|
|
1391
1384
|
if (opts.config !== void 0) {
|
|
1392
1385
|
Object.assign(globalConfig, opts.config);
|
|
@@ -1619,8 +1612,7 @@
|
|
|
1619
1612
|
function highjackAjax(stackEntry) {
|
|
1620
1613
|
highjackCount++;
|
|
1621
1614
|
stack.push(stackEntry);
|
|
1622
|
-
if (highjackCount > 1)
|
|
1623
|
-
return;
|
|
1615
|
+
if (highjackCount > 1) return;
|
|
1624
1616
|
xhr.prototype.open = function(_, url) {
|
|
1625
1617
|
const stopStack = [];
|
|
1626
1618
|
const loadStart = () => {
|
|
@@ -2232,13 +2224,11 @@
|
|
|
2232
2224
|
const sepClass = computed(() => props4.separatorColor ? ` text-${props4.separatorColor}` : "");
|
|
2233
2225
|
const activeClass = computed(() => ` text-${props4.activeColor}`);
|
|
2234
2226
|
return () => {
|
|
2235
|
-
if (slots.default === void 0)
|
|
2236
|
-
return;
|
|
2227
|
+
if (slots.default === void 0) return;
|
|
2237
2228
|
const vnodes = getNormalizedVNodes(
|
|
2238
2229
|
hSlot(slots.default)
|
|
2239
2230
|
);
|
|
2240
|
-
if (vnodes.length === 0)
|
|
2241
|
-
return;
|
|
2231
|
+
if (vnodes.length === 0) return;
|
|
2242
2232
|
let els = 1;
|
|
2243
2233
|
const child = [], len = vnodes.filter((c) => c.type !== void 0 && c.type.name === "QBreadcrumbsEl").length, separator = slots.separator !== void 0 ? slots.separator : () => props4.separator;
|
|
2244
2234
|
vnodes.forEach((comp) => {
|
|
@@ -2740,14 +2730,10 @@
|
|
|
2740
2730
|
var mediaTypeRE = /[^\s]\/[^\s]/;
|
|
2741
2731
|
var btnDesignOptions = ["flat", "outline", "push", "unelevated"];
|
|
2742
2732
|
function getBtnDesign(props4, defaultValue) {
|
|
2743
|
-
if (props4.flat === true)
|
|
2744
|
-
|
|
2745
|
-
if (props4.
|
|
2746
|
-
|
|
2747
|
-
if (props4.push === true)
|
|
2748
|
-
return "push";
|
|
2749
|
-
if (props4.unelevated === true)
|
|
2750
|
-
return "unelevated";
|
|
2733
|
+
if (props4.flat === true) return "flat";
|
|
2734
|
+
if (props4.outline === true) return "outline";
|
|
2735
|
+
if (props4.push === true) return "push";
|
|
2736
|
+
if (props4.unelevated === true) return "unelevated";
|
|
2751
2737
|
return defaultValue;
|
|
2752
2738
|
}
|
|
2753
2739
|
function getBtnDesignAttr(props4) {
|
|
@@ -2958,8 +2944,7 @@
|
|
|
2958
2944
|
...onEvents.value
|
|
2959
2945
|
}));
|
|
2960
2946
|
function onClick(e) {
|
|
2961
|
-
if (rootRef.value === null)
|
|
2962
|
-
return;
|
|
2947
|
+
if (rootRef.value === null) return;
|
|
2963
2948
|
if (e !== void 0) {
|
|
2964
2949
|
if (e.defaultPrevented === true) {
|
|
2965
2950
|
return;
|
|
@@ -2980,8 +2965,7 @@
|
|
|
2980
2965
|
navigateOnClick(e);
|
|
2981
2966
|
}
|
|
2982
2967
|
function onKeydown2(e) {
|
|
2983
|
-
if (rootRef.value === null)
|
|
2984
|
-
return;
|
|
2968
|
+
if (rootRef.value === null) return;
|
|
2985
2969
|
emit("keydown", e);
|
|
2986
2970
|
if (isKeyCode(e, [13, 32]) === true && keyboardTarget !== rootRef.value) {
|
|
2987
2971
|
keyboardTarget !== null && cleanup();
|
|
@@ -2996,11 +2980,9 @@
|
|
|
2996
2980
|
}
|
|
2997
2981
|
}
|
|
2998
2982
|
function onTouchstart(e) {
|
|
2999
|
-
if (rootRef.value === null)
|
|
3000
|
-
return;
|
|
2983
|
+
if (rootRef.value === null) return;
|
|
3001
2984
|
emit("touchstart", e);
|
|
3002
|
-
if (e.defaultPrevented === true)
|
|
3003
|
-
return;
|
|
2985
|
+
if (e.defaultPrevented === true) return;
|
|
3004
2986
|
if (touchTarget !== rootRef.value) {
|
|
3005
2987
|
touchTarget !== null && cleanup();
|
|
3006
2988
|
touchTarget = rootRef.value;
|
|
@@ -3016,8 +2998,7 @@
|
|
|
3016
2998
|
}, 200);
|
|
3017
2999
|
}
|
|
3018
3000
|
function onMousedown(e) {
|
|
3019
|
-
if (rootRef.value === null)
|
|
3020
|
-
return;
|
|
3001
|
+
if (rootRef.value === null) return;
|
|
3021
3002
|
e.qSkipRipple = avoidMouseRipple === true;
|
|
3022
3003
|
emit("mousedown", e);
|
|
3023
3004
|
if (e.defaultPrevented !== true && mouseTarget !== rootRef.value) {
|
|
@@ -3028,8 +3009,7 @@
|
|
|
3028
3009
|
}
|
|
3029
3010
|
}
|
|
3030
3011
|
function onPressEnd(e) {
|
|
3031
|
-
if (rootRef.value === null)
|
|
3032
|
-
return;
|
|
3012
|
+
if (rootRef.value === null) return;
|
|
3033
3013
|
if (e !== void 0 && e.type === "blur" && document.activeElement === rootRef.value) {
|
|
3034
3014
|
return;
|
|
3035
3015
|
}
|
|
@@ -3277,8 +3257,7 @@
|
|
|
3277
3257
|
}
|
|
3278
3258
|
});
|
|
3279
3259
|
configureAnchorEl = function(context = props4.contextMenu) {
|
|
3280
|
-
if (props4.noParentEvent === true || anchorEl.value === null)
|
|
3281
|
-
return;
|
|
3260
|
+
if (props4.noParentEvent === true || anchorEl.value === null) return;
|
|
3282
3261
|
let evts;
|
|
3283
3262
|
if (context === true) {
|
|
3284
3263
|
if (proxy.$q.platform.is.mobile === true) {
|
|
@@ -3695,8 +3674,7 @@
|
|
|
3695
3674
|
}
|
|
3696
3675
|
function hidePortal(isReady) {
|
|
3697
3676
|
portalIsAccessible.value = false;
|
|
3698
|
-
if (isReady !== true)
|
|
3699
|
-
return;
|
|
3677
|
+
if (isReady !== true) return;
|
|
3700
3678
|
removeFocusWaitFlag(focusObj);
|
|
3701
3679
|
portalIsActive.value = false;
|
|
3702
3680
|
const index = portalProxyList.indexOf(vm2.proxy);
|
|
@@ -6316,8 +6294,7 @@
|
|
|
6316
6294
|
return child;
|
|
6317
6295
|
}
|
|
6318
6296
|
return () => {
|
|
6319
|
-
if (props4.modelValue === false)
|
|
6320
|
-
return;
|
|
6297
|
+
if (props4.modelValue === false) return;
|
|
6321
6298
|
const data = {
|
|
6322
6299
|
class: classes.value,
|
|
6323
6300
|
style: sizeStyle.value
|
|
@@ -7660,8 +7637,7 @@
|
|
|
7660
7637
|
});
|
|
7661
7638
|
}
|
|
7662
7639
|
function updateContainer(domSize) {
|
|
7663
|
-
if (domProps.value === void 0 || contentRef.value === null)
|
|
7664
|
-
return;
|
|
7640
|
+
if (domProps.value === void 0 || contentRef.value === null) return;
|
|
7665
7641
|
const size2 = domSize[domProps.value.container], scrollSize = Math.min(
|
|
7666
7642
|
contentRef.value[domProps.value.scroll],
|
|
7667
7643
|
Array.prototype.reduce.call(
|
|
@@ -7716,8 +7692,7 @@
|
|
|
7716
7692
|
}
|
|
7717
7693
|
function updateArrows() {
|
|
7718
7694
|
const content = contentRef.value;
|
|
7719
|
-
if (content === null)
|
|
7720
|
-
return;
|
|
7695
|
+
if (content === null) return;
|
|
7721
7696
|
const rect = content.getBoundingClientRect(), pos = props4.vertical === true ? content.scrollTop : Math.abs(content.scrollLeft);
|
|
7722
7697
|
if (isRTL.value === true) {
|
|
7723
7698
|
leftArrow.value = Math.ceil(pos + rect.width) < content.scrollWidth - 1;
|
|
@@ -7753,8 +7728,7 @@
|
|
|
7753
7728
|
(el) => el === fromEl || el.matches && el.matches(".q-tab.q-focusable") === true
|
|
7754
7729
|
);
|
|
7755
7730
|
const len = tabs.length;
|
|
7756
|
-
if (len === 0)
|
|
7757
|
-
return;
|
|
7731
|
+
if (len === 0) return;
|
|
7758
7732
|
if (keyCode === 36) {
|
|
7759
7733
|
scrollToTabEl(tabs[0]);
|
|
7760
7734
|
tabs[0].focus();
|
|
@@ -8662,8 +8636,7 @@
|
|
|
8662
8636
|
}
|
|
8663
8637
|
function changeSpectrum(left, top, change) {
|
|
8664
8638
|
const panel = spectrumRef.value;
|
|
8665
|
-
if (panel === null)
|
|
8666
|
-
return;
|
|
8639
|
+
if (panel === null) return;
|
|
8667
8640
|
const width3 = panel.clientWidth, height2 = panel.clientHeight, rect = panel.getBoundingClientRect();
|
|
8668
8641
|
let x = Math.min(width3, Math.max(0, left - rect.left));
|
|
8669
8642
|
if ($q.lang.rtl === true) {
|
|
@@ -9178,12 +9151,9 @@
|
|
|
9178
9151
|
return jalCalLeap(jy) === 0;
|
|
9179
9152
|
}
|
|
9180
9153
|
function jalaaliMonthLength(jy, jm) {
|
|
9181
|
-
if (jm <= 6)
|
|
9182
|
-
|
|
9183
|
-
if (
|
|
9184
|
-
return 30;
|
|
9185
|
-
if (isLeapJalaaliYear(jy))
|
|
9186
|
-
return 30;
|
|
9154
|
+
if (jm <= 6) return 31;
|
|
9155
|
+
if (jm <= 11) return 30;
|
|
9156
|
+
if (isLeapJalaaliYear(jy)) return 30;
|
|
9187
9157
|
return 29;
|
|
9188
9158
|
}
|
|
9189
9159
|
function jalCalLeap(jy) {
|
|
@@ -10873,8 +10843,7 @@
|
|
|
10873
10843
|
emit("update:modelValue", (props4.multiple === true ? model : model[0]) || null, reason);
|
|
10874
10844
|
}
|
|
10875
10845
|
function getHeader() {
|
|
10876
|
-
if (props4.minimal === true)
|
|
10877
|
-
return;
|
|
10846
|
+
if (props4.minimal === true) return;
|
|
10878
10847
|
return h("div", {
|
|
10879
10848
|
class: "q-date__header " + headerClass.value
|
|
10880
10849
|
}, [
|
|
@@ -11574,8 +11543,7 @@
|
|
|
11574
11543
|
function focus(selector) {
|
|
11575
11544
|
addFocusFn(() => {
|
|
11576
11545
|
let node = innerRef.value;
|
|
11577
|
-
if (node === null)
|
|
11578
|
-
return;
|
|
11546
|
+
if (node === null) return;
|
|
11579
11547
|
if (selector !== void 0) {
|
|
11580
11548
|
const target2 = node.querySelector(selector);
|
|
11581
11549
|
if (target2 !== null) {
|
|
@@ -11994,8 +11962,7 @@
|
|
|
11994
11962
|
applyPosition();
|
|
11995
11963
|
});
|
|
11996
11964
|
watch(() => props4.mini, () => {
|
|
11997
|
-
if (props4.noMiniAnimation)
|
|
11998
|
-
return;
|
|
11965
|
+
if (props4.noMiniAnimation) return;
|
|
11999
11966
|
if (props4.modelValue === true) {
|
|
12000
11967
|
animateMini();
|
|
12001
11968
|
$layout.animate();
|
|
@@ -12655,8 +12622,7 @@
|
|
|
12655
12622
|
}, props4.hideDelay);
|
|
12656
12623
|
}
|
|
12657
12624
|
function configureAnchorEl() {
|
|
12658
|
-
if (props4.noParentEvent === true || anchorEl.value === null)
|
|
12659
|
-
return;
|
|
12625
|
+
if (props4.noParentEvent === true || anchorEl.value === null) return;
|
|
12660
12626
|
const evts = $q.platform.is.mobile === true ? [
|
|
12661
12627
|
[anchorEl.value, "touchstart", "delayShow", "passive"]
|
|
12662
12628
|
] : [
|
|
@@ -15172,8 +15138,7 @@
|
|
|
15172
15138
|
if (fileInput !== void 0 && fileInput !== null) {
|
|
15173
15139
|
fileInput.value = "";
|
|
15174
15140
|
}
|
|
15175
|
-
if (files === void 0)
|
|
15176
|
-
return;
|
|
15141
|
+
if (files === void 0) return;
|
|
15177
15142
|
if (props4.multiple === true ? props4.modelValue && files.every((f) => innerValue.value.includes(f)) : props4.modelValue === files[0]) {
|
|
15178
15143
|
return;
|
|
15179
15144
|
}
|
|
@@ -15350,8 +15315,7 @@
|
|
|
15350
15315
|
updateLayout("size", height2);
|
|
15351
15316
|
}
|
|
15352
15317
|
function updateRevealed() {
|
|
15353
|
-
if (props4.reveal !== true)
|
|
15354
|
-
return;
|
|
15318
|
+
if (props4.reveal !== true) return;
|
|
15355
15319
|
const { direction, position: position2, inflectionPoint } = $layout.scroll.value;
|
|
15356
15320
|
updateLocal(revealed, direction === "up" || position2 - inflectionPoint < 100 || $layout.height.value - containerHeight.value - position2 - size2.value < 300);
|
|
15357
15321
|
}
|
|
@@ -15503,8 +15467,7 @@
|
|
|
15503
15467
|
}
|
|
15504
15468
|
function focus() {
|
|
15505
15469
|
addFocusFn(() => {
|
|
15506
|
-
if (rootRef.value === null)
|
|
15507
|
-
return;
|
|
15470
|
+
if (rootRef.value === null) return;
|
|
15508
15471
|
const target2 = rootRef.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || rootRef.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || rootRef.value.querySelector("[autofocus], [data-autofocus]") || Array.prototype.find.call(rootRef.value.querySelectorAll("[tabindex]"), (el) => el.tabIndex !== -1);
|
|
15509
15472
|
target2 !== null && target2 !== void 0 && target2.focus({ preventScroll: true });
|
|
15510
15473
|
});
|
|
@@ -15835,8 +15798,7 @@
|
|
|
15835
15798
|
}
|
|
15836
15799
|
}
|
|
15837
15800
|
function waitForCompleteness(target2, count) {
|
|
15838
|
-
if (count === 1e3 || vmIsDestroyed(vm2) === true)
|
|
15839
|
-
return;
|
|
15801
|
+
if (count === 1e3 || vmIsDestroyed(vm2) === true) return;
|
|
15840
15802
|
if (target2.complete === true) {
|
|
15841
15803
|
onReady(target2);
|
|
15842
15804
|
} else {
|
|
@@ -15846,8 +15808,7 @@
|
|
|
15846
15808
|
}
|
|
15847
15809
|
}
|
|
15848
15810
|
function onReady(target2) {
|
|
15849
|
-
if (vmIsDestroyed(vm2) === true)
|
|
15850
|
-
return;
|
|
15811
|
+
if (vmIsDestroyed(vm2) === true) return;
|
|
15851
15812
|
position2.value = position2.value ^ 1;
|
|
15852
15813
|
images[position2.value].value = null;
|
|
15853
15814
|
clearLoading();
|
|
@@ -16595,8 +16556,7 @@
|
|
|
16595
16556
|
function use_key_composition_default(onInput) {
|
|
16596
16557
|
return function onComposition(e) {
|
|
16597
16558
|
if (e.type === "compositionend" || e.type === "change") {
|
|
16598
|
-
if (e.target.qComposing !== true)
|
|
16599
|
-
return;
|
|
16559
|
+
if (e.target.qComposing !== true) return;
|
|
16600
16560
|
e.target.qComposing = false;
|
|
16601
16561
|
onInput(e);
|
|
16602
16562
|
} else if (e.type === "compositionupdate" && e.target.qComposing !== true && typeof e.data === "string") {
|
|
@@ -18508,8 +18468,7 @@
|
|
|
18508
18468
|
let wait = false, frame, callArgs;
|
|
18509
18469
|
function debounced() {
|
|
18510
18470
|
callArgs = arguments;
|
|
18511
|
-
if (wait === true)
|
|
18512
|
-
return;
|
|
18471
|
+
if (wait === true) return;
|
|
18513
18472
|
wait = true;
|
|
18514
18473
|
frame = window.requestAnimationFrame(() => {
|
|
18515
18474
|
fn.apply(this, callArgs);
|
|
@@ -18654,10 +18613,8 @@
|
|
|
18654
18613
|
|
|
18655
18614
|
// src/utils/clone/clone.js
|
|
18656
18615
|
function cloneDeep(data, hash = /* @__PURE__ */ new WeakMap()) {
|
|
18657
|
-
if (Object(data) !== data)
|
|
18658
|
-
|
|
18659
|
-
if (hash.has(data))
|
|
18660
|
-
return hash.get(data);
|
|
18616
|
+
if (Object(data) !== data) return data;
|
|
18617
|
+
if (hash.has(data)) return hash.get(data);
|
|
18661
18618
|
const result = data instanceof Date ? new Date(data) : data instanceof RegExp ? new RegExp(data.source, data.flags) : data instanceof Set ? /* @__PURE__ */ new Set() : data instanceof Map ? /* @__PURE__ */ new Map() : typeof data.constructor !== "function" ? /* @__PURE__ */ Object.create(null) : data.prototype !== void 0 && typeof data.prototype.constructor === "function" ? data : new data.constructor();
|
|
18662
18619
|
if (typeof data.constructor === "function" && typeof data.valueOf === "function") {
|
|
18663
18620
|
const val = data.valueOf();
|
|
@@ -18824,8 +18781,7 @@
|
|
|
18824
18781
|
updatePosition
|
|
18825
18782
|
});
|
|
18826
18783
|
return () => {
|
|
18827
|
-
if (props4.disable === true)
|
|
18828
|
-
return;
|
|
18784
|
+
if (props4.disable === true) return;
|
|
18829
18785
|
return h(QMenu_default, {
|
|
18830
18786
|
ref: menuRef,
|
|
18831
18787
|
class: "q-popup-edit",
|
|
@@ -19945,8 +19901,7 @@
|
|
|
19945
19901
|
};
|
|
19946
19902
|
});
|
|
19947
19903
|
onActivated(() => {
|
|
19948
|
-
if (scrollPosition === null)
|
|
19949
|
-
return;
|
|
19904
|
+
if (scrollPosition === null) return;
|
|
19950
19905
|
const scrollTarget = targetRef.value;
|
|
19951
19906
|
if (scrollTarget !== null) {
|
|
19952
19907
|
setHorizontalScrollPosition(scrollTarget, scrollPosition.left);
|
|
@@ -20552,8 +20507,7 @@
|
|
|
20552
20507
|
shouldActivate = true;
|
|
20553
20508
|
});
|
|
20554
20509
|
onActivated(() => {
|
|
20555
|
-
if (shouldActivate !== true)
|
|
20556
|
-
return;
|
|
20510
|
+
if (shouldActivate !== true) return;
|
|
20557
20511
|
const scrollEl = getVirtualScrollTarget();
|
|
20558
20512
|
if (prevScrollStart !== void 0 && scrollEl !== void 0 && scrollEl !== null && scrollEl.nodeType !== 8) {
|
|
20559
20513
|
setScroll2(
|
|
@@ -20951,8 +20905,7 @@
|
|
|
20951
20905
|
emit("update:modelValue", model);
|
|
20952
20906
|
}
|
|
20953
20907
|
function setOptionIndex(index) {
|
|
20954
|
-
if ($q.platform.is.desktop !== true)
|
|
20955
|
-
return;
|
|
20908
|
+
if ($q.platform.is.desktop !== true) return;
|
|
20956
20909
|
const val = index !== -1 && index < virtualScrollLength.value ? index : -1;
|
|
20957
20910
|
if (optionIndex.value !== val) {
|
|
20958
20911
|
optionIndex.value = val;
|
|
@@ -21067,8 +21020,7 @@
|
|
|
21067
21020
|
closeMenu();
|
|
21068
21021
|
return;
|
|
21069
21022
|
}
|
|
21070
|
-
if (e.target === void 0 || e.target.id !== state.targetUid.value || state.editable.value !== true)
|
|
21071
|
-
return;
|
|
21023
|
+
if (e.target === void 0 || e.target.id !== state.targetUid.value || state.editable.value !== true) return;
|
|
21072
21024
|
if (e.keyCode === 40 && state.innerLoading.value !== true && menu.value === false) {
|
|
21073
21025
|
stopAndPrevent(e);
|
|
21074
21026
|
showPopup();
|
|
@@ -21132,8 +21084,7 @@
|
|
|
21132
21084
|
}
|
|
21133
21085
|
return;
|
|
21134
21086
|
}
|
|
21135
|
-
if (e.keyCode !== 13 && (e.keyCode !== 32 || props4.useInput === true || searchBuffer !== "") && (e.keyCode !== 9 || tabShouldSelect === false))
|
|
21136
|
-
return;
|
|
21087
|
+
if (e.keyCode !== 13 && (e.keyCode !== 32 || props4.useInput === true || searchBuffer !== "") && (e.keyCode !== 9 || tabShouldSelect === false)) return;
|
|
21137
21088
|
e.keyCode !== 9 && stopAndPrevent(e);
|
|
21138
21089
|
if (optionIndex.value !== -1 && optionIndex.value < optionsLength) {
|
|
21139
21090
|
toggleOption(props4.options[optionIndex.value]);
|
|
@@ -23856,10 +23807,8 @@
|
|
|
23856
23807
|
limits: {
|
|
23857
23808
|
type: Array,
|
|
23858
23809
|
validator: (v) => {
|
|
23859
|
-
if (v.length !== 2)
|
|
23860
|
-
|
|
23861
|
-
if (typeof v[0] !== "number" || typeof v[1] !== "number")
|
|
23862
|
-
return false;
|
|
23810
|
+
if (v.length !== 2) return false;
|
|
23811
|
+
if (typeof v[0] !== "number" || typeof v[1] !== "number") return false;
|
|
23863
23812
|
return v[0] >= 0 && v[0] <= v[1];
|
|
23864
23813
|
}
|
|
23865
23814
|
},
|
|
@@ -24333,8 +24282,7 @@
|
|
|
24333
24282
|
const name2 = vm2.vnode.key;
|
|
24334
24283
|
if (name2) {
|
|
24335
24284
|
col = props4.props.colsMap[name2];
|
|
24336
|
-
if (col === void 0)
|
|
24337
|
-
return;
|
|
24285
|
+
if (col === void 0) return;
|
|
24338
24286
|
} else {
|
|
24339
24287
|
col = props4.props.col;
|
|
24340
24288
|
}
|
|
@@ -25743,8 +25691,7 @@
|
|
|
25743
25691
|
}
|
|
25744
25692
|
const name2 = vm2.vnode.key;
|
|
25745
25693
|
const col = (props4.props.colsMap !== void 0 ? props4.props.colsMap[name2] : null) || props4.props.col;
|
|
25746
|
-
if (col === void 0)
|
|
25747
|
-
return;
|
|
25694
|
+
if (col === void 0) return;
|
|
25748
25695
|
const { row } = props4.props;
|
|
25749
25696
|
return h("td", {
|
|
25750
25697
|
class: classes.value + col.__tdClass(row),
|
|
@@ -26134,8 +26081,7 @@
|
|
|
26134
26081
|
const payload = e.keyCode === 37 ? -1 : 1;
|
|
26135
26082
|
if (validHours.value !== null) {
|
|
26136
26083
|
const values = computedFormat24h.value === true ? validHours.value.values : validHours.value[isAM.value === true ? "am" : "pm"].values;
|
|
26137
|
-
if (values.length === 0)
|
|
26138
|
-
return;
|
|
26084
|
+
if (values.length === 0) return;
|
|
26139
26085
|
if (innerModel.value.hour === null) {
|
|
26140
26086
|
setHour(values[0]);
|
|
26141
26087
|
} else {
|
|
@@ -26155,8 +26101,7 @@
|
|
|
26155
26101
|
const payload = e.keyCode === 37 ? -1 : 1;
|
|
26156
26102
|
if (validMinutes.value !== null) {
|
|
26157
26103
|
const values = validMinutes.value.values;
|
|
26158
|
-
if (values.length === 0)
|
|
26159
|
-
return;
|
|
26104
|
+
if (values.length === 0) return;
|
|
26160
26105
|
if (innerModel.value.minute === null) {
|
|
26161
26106
|
setMinute(values[0]);
|
|
26162
26107
|
} else {
|
|
@@ -26176,8 +26121,7 @@
|
|
|
26176
26121
|
const payload = e.keyCode === 37 ? -1 : 1;
|
|
26177
26122
|
if (validSeconds.value !== null) {
|
|
26178
26123
|
const values = validSeconds.value.values;
|
|
26179
|
-
if (values.length === 0)
|
|
26180
|
-
return;
|
|
26124
|
+
if (values.length === 0) return;
|
|
26181
26125
|
if (innerModel.value.seconds === null) {
|
|
26182
26126
|
setSecond(values[0]);
|
|
26183
26127
|
} else {
|
|
@@ -27242,8 +27186,7 @@
|
|
|
27242
27186
|
}
|
|
27243
27187
|
}
|
|
27244
27188
|
function removeFile(file) {
|
|
27245
|
-
if (props4.disable)
|
|
27246
|
-
return;
|
|
27189
|
+
if (props4.disable) return;
|
|
27247
27190
|
if (file.__status === "uploaded") {
|
|
27248
27191
|
state.uploadedFiles.value = state.uploadedFiles.value.filter((f) => f.__key !== file.__key);
|
|
27249
27192
|
} else if (file.__status === "uploading") {
|
|
@@ -27275,8 +27218,7 @@
|
|
|
27275
27218
|
if (fileInput !== void 0 && fileInput !== null) {
|
|
27276
27219
|
fileInput.value = "";
|
|
27277
27220
|
}
|
|
27278
|
-
if (localFiles === void 0)
|
|
27279
|
-
return;
|
|
27221
|
+
if (localFiles === void 0) return;
|
|
27280
27222
|
localFiles.forEach((file) => {
|
|
27281
27223
|
state.updateFileStatus(file, "idle");
|
|
27282
27224
|
uploadSize.value += file.size;
|
|
@@ -27601,8 +27543,7 @@
|
|
|
27601
27543
|
});
|
|
27602
27544
|
let uploadIndex = 0, uploadIndexSize = 0, localUploadedSize = 0, maxUploadSize = 0, aborted;
|
|
27603
27545
|
xhr2.upload.addEventListener("progress", (e) => {
|
|
27604
|
-
if (aborted === true)
|
|
27605
|
-
return;
|
|
27546
|
+
if (aborted === true) return;
|
|
27606
27547
|
const loaded = Math.min(maxUploadSize, e.loaded);
|
|
27607
27548
|
helpers.uploadedSize.value += loaded - localUploadedSize;
|
|
27608
27549
|
localUploadedSize = loaded;
|
|
@@ -30047,8 +29988,7 @@
|
|
|
30047
29988
|
isActive: false
|
|
30048
29989
|
}, {
|
|
30049
29990
|
show(opts) {
|
|
30050
|
-
if (false)
|
|
30051
|
-
return;
|
|
29991
|
+
if (false) return;
|
|
30052
29992
|
props3 = registerProps(opts);
|
|
30053
29993
|
const { group } = props3;
|
|
30054
29994
|
Plugin7.isActive = true;
|
|
@@ -30173,8 +30113,7 @@
|
|
|
30173
30113
|
setDefaults: noop,
|
|
30174
30114
|
install({ $q, parentApp }) {
|
|
30175
30115
|
$q.loadingBar = this;
|
|
30176
|
-
if (false)
|
|
30177
|
-
return;
|
|
30116
|
+
if (false) return;
|
|
30178
30117
|
if (this.__installed === true) {
|
|
30179
30118
|
if ($q.config.loadingBar !== void 0) {
|
|
30180
30119
|
this.setDefaults($q.config.loadingBar);
|
|
@@ -31343,7 +31282,7 @@
|
|
|
31343
31282
|
console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");
|
|
31344
31283
|
}
|
|
31345
31284
|
window.Quasar = {
|
|
31346
|
-
version: "2.16.
|
|
31285
|
+
version: "2.16.6",
|
|
31347
31286
|
install(app2, opts) {
|
|
31348
31287
|
install_quasar_default(app2, {
|
|
31349
31288
|
components: components_exports,
|