quasar 2.16.5 → 2.16.7
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 +69 -132
- 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 +4 -4
- package/dist/quasar.server.prod.js +4 -4
- package/dist/quasar.umd.js +68 -130
- package/dist/quasar.umd.prod.js +4 -4
- package/dist/web-types/web-types.json +1 -1
- package/package.json +8 -8
- package/src/components/btn/QBtn.js +2 -4
- package/src/components/layout/QLayout.sass +2 -2
- package/src/components/skeleton/QSkeleton.sass +3 -3
- package/src/composables/private.use-field/use-field.js +1 -0
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.16.
|
|
2
|
+
* Quasar Framework v2.16.7
|
|
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.7",
|
|
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.7" };
|
|
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
|
}
|
|
@@ -3091,8 +3071,7 @@
|
|
|
3091
3071
|
h(QIcon_default, {
|
|
3092
3072
|
name: props4.icon,
|
|
3093
3073
|
left: props4.stack !== true && hasLabel.value === true,
|
|
3094
|
-
role: "img"
|
|
3095
|
-
"aria-hidden": "true"
|
|
3074
|
+
role: "img"
|
|
3096
3075
|
})
|
|
3097
3076
|
);
|
|
3098
3077
|
hasLabel.value === true && inner.push(
|
|
@@ -3104,8 +3083,7 @@
|
|
|
3104
3083
|
h(QIcon_default, {
|
|
3105
3084
|
name: props4.iconRight,
|
|
3106
3085
|
right: props4.stack !== true && hasLabel.value === true,
|
|
3107
|
-
role: "img"
|
|
3108
|
-
"aria-hidden": "true"
|
|
3086
|
+
role: "img"
|
|
3109
3087
|
})
|
|
3110
3088
|
);
|
|
3111
3089
|
}
|
|
@@ -3277,8 +3255,7 @@
|
|
|
3277
3255
|
}
|
|
3278
3256
|
});
|
|
3279
3257
|
configureAnchorEl = function(context = props4.contextMenu) {
|
|
3280
|
-
if (props4.noParentEvent === true || anchorEl.value === null)
|
|
3281
|
-
return;
|
|
3258
|
+
if (props4.noParentEvent === true || anchorEl.value === null) return;
|
|
3282
3259
|
let evts;
|
|
3283
3260
|
if (context === true) {
|
|
3284
3261
|
if (proxy.$q.platform.is.mobile === true) {
|
|
@@ -3695,8 +3672,7 @@
|
|
|
3695
3672
|
}
|
|
3696
3673
|
function hidePortal(isReady) {
|
|
3697
3674
|
portalIsAccessible.value = false;
|
|
3698
|
-
if (isReady !== true)
|
|
3699
|
-
return;
|
|
3675
|
+
if (isReady !== true) return;
|
|
3700
3676
|
removeFocusWaitFlag(focusObj);
|
|
3701
3677
|
portalIsActive.value = false;
|
|
3702
3678
|
const index = portalProxyList.indexOf(vm2.proxy);
|
|
@@ -6316,8 +6292,7 @@
|
|
|
6316
6292
|
return child;
|
|
6317
6293
|
}
|
|
6318
6294
|
return () => {
|
|
6319
|
-
if (props4.modelValue === false)
|
|
6320
|
-
return;
|
|
6295
|
+
if (props4.modelValue === false) return;
|
|
6321
6296
|
const data = {
|
|
6322
6297
|
class: classes.value,
|
|
6323
6298
|
style: sizeStyle.value
|
|
@@ -7660,8 +7635,7 @@
|
|
|
7660
7635
|
});
|
|
7661
7636
|
}
|
|
7662
7637
|
function updateContainer(domSize) {
|
|
7663
|
-
if (domProps.value === void 0 || contentRef.value === null)
|
|
7664
|
-
return;
|
|
7638
|
+
if (domProps.value === void 0 || contentRef.value === null) return;
|
|
7665
7639
|
const size2 = domSize[domProps.value.container], scrollSize = Math.min(
|
|
7666
7640
|
contentRef.value[domProps.value.scroll],
|
|
7667
7641
|
Array.prototype.reduce.call(
|
|
@@ -7716,8 +7690,7 @@
|
|
|
7716
7690
|
}
|
|
7717
7691
|
function updateArrows() {
|
|
7718
7692
|
const content = contentRef.value;
|
|
7719
|
-
if (content === null)
|
|
7720
|
-
return;
|
|
7693
|
+
if (content === null) return;
|
|
7721
7694
|
const rect = content.getBoundingClientRect(), pos = props4.vertical === true ? content.scrollTop : Math.abs(content.scrollLeft);
|
|
7722
7695
|
if (isRTL.value === true) {
|
|
7723
7696
|
leftArrow.value = Math.ceil(pos + rect.width) < content.scrollWidth - 1;
|
|
@@ -7753,8 +7726,7 @@
|
|
|
7753
7726
|
(el) => el === fromEl || el.matches && el.matches(".q-tab.q-focusable") === true
|
|
7754
7727
|
);
|
|
7755
7728
|
const len = tabs.length;
|
|
7756
|
-
if (len === 0)
|
|
7757
|
-
return;
|
|
7729
|
+
if (len === 0) return;
|
|
7758
7730
|
if (keyCode === 36) {
|
|
7759
7731
|
scrollToTabEl(tabs[0]);
|
|
7760
7732
|
tabs[0].focus();
|
|
@@ -8662,8 +8634,7 @@
|
|
|
8662
8634
|
}
|
|
8663
8635
|
function changeSpectrum(left, top, change) {
|
|
8664
8636
|
const panel = spectrumRef.value;
|
|
8665
|
-
if (panel === null)
|
|
8666
|
-
return;
|
|
8637
|
+
if (panel === null) return;
|
|
8667
8638
|
const width3 = panel.clientWidth, height2 = panel.clientHeight, rect = panel.getBoundingClientRect();
|
|
8668
8639
|
let x = Math.min(width3, Math.max(0, left - rect.left));
|
|
8669
8640
|
if ($q.lang.rtl === true) {
|
|
@@ -9178,12 +9149,9 @@
|
|
|
9178
9149
|
return jalCalLeap(jy) === 0;
|
|
9179
9150
|
}
|
|
9180
9151
|
function jalaaliMonthLength(jy, jm) {
|
|
9181
|
-
if (jm <= 6)
|
|
9182
|
-
|
|
9183
|
-
if (
|
|
9184
|
-
return 30;
|
|
9185
|
-
if (isLeapJalaaliYear(jy))
|
|
9186
|
-
return 30;
|
|
9152
|
+
if (jm <= 6) return 31;
|
|
9153
|
+
if (jm <= 11) return 30;
|
|
9154
|
+
if (isLeapJalaaliYear(jy)) return 30;
|
|
9187
9155
|
return 29;
|
|
9188
9156
|
}
|
|
9189
9157
|
function jalCalLeap(jy) {
|
|
@@ -10873,8 +10841,7 @@
|
|
|
10873
10841
|
emit("update:modelValue", (props4.multiple === true ? model : model[0]) || null, reason);
|
|
10874
10842
|
}
|
|
10875
10843
|
function getHeader() {
|
|
10876
|
-
if (props4.minimal === true)
|
|
10877
|
-
return;
|
|
10844
|
+
if (props4.minimal === true) return;
|
|
10878
10845
|
return h("div", {
|
|
10879
10846
|
class: "q-date__header " + headerClass.value
|
|
10880
10847
|
}, [
|
|
@@ -11574,8 +11541,7 @@
|
|
|
11574
11541
|
function focus(selector) {
|
|
11575
11542
|
addFocusFn(() => {
|
|
11576
11543
|
let node = innerRef.value;
|
|
11577
|
-
if (node === null)
|
|
11578
|
-
return;
|
|
11544
|
+
if (node === null) return;
|
|
11579
11545
|
if (selector !== void 0) {
|
|
11580
11546
|
const target2 = node.querySelector(selector);
|
|
11581
11547
|
if (target2 !== null) {
|
|
@@ -11994,8 +11960,7 @@
|
|
|
11994
11960
|
applyPosition();
|
|
11995
11961
|
});
|
|
11996
11962
|
watch(() => props4.mini, () => {
|
|
11997
|
-
if (props4.noMiniAnimation)
|
|
11998
|
-
return;
|
|
11963
|
+
if (props4.noMiniAnimation) return;
|
|
11999
11964
|
if (props4.modelValue === true) {
|
|
12000
11965
|
animateMini();
|
|
12001
11966
|
$layout.animate();
|
|
@@ -12655,8 +12620,7 @@
|
|
|
12655
12620
|
}, props4.hideDelay);
|
|
12656
12621
|
}
|
|
12657
12622
|
function configureAnchorEl() {
|
|
12658
|
-
if (props4.noParentEvent === true || anchorEl.value === null)
|
|
12659
|
-
return;
|
|
12623
|
+
if (props4.noParentEvent === true || anchorEl.value === null) return;
|
|
12660
12624
|
const evts = $q.platform.is.mobile === true ? [
|
|
12661
12625
|
[anchorEl.value, "touchstart", "delayShow", "passive"]
|
|
12662
12626
|
] : [
|
|
@@ -14690,6 +14654,7 @@
|
|
|
14690
14654
|
name: props4.clearIcon || $q.iconSet.field.clear,
|
|
14691
14655
|
tabindex: 0,
|
|
14692
14656
|
role: "button",
|
|
14657
|
+
"aria-hidden": "false",
|
|
14693
14658
|
"aria-label": $q.lang.label.clear,
|
|
14694
14659
|
onKeyup: onClearableKeyup,
|
|
14695
14660
|
onClick: clearValue
|
|
@@ -15172,8 +15137,7 @@
|
|
|
15172
15137
|
if (fileInput !== void 0 && fileInput !== null) {
|
|
15173
15138
|
fileInput.value = "";
|
|
15174
15139
|
}
|
|
15175
|
-
if (files === void 0)
|
|
15176
|
-
return;
|
|
15140
|
+
if (files === void 0) return;
|
|
15177
15141
|
if (props4.multiple === true ? props4.modelValue && files.every((f) => innerValue.value.includes(f)) : props4.modelValue === files[0]) {
|
|
15178
15142
|
return;
|
|
15179
15143
|
}
|
|
@@ -15350,8 +15314,7 @@
|
|
|
15350
15314
|
updateLayout("size", height2);
|
|
15351
15315
|
}
|
|
15352
15316
|
function updateRevealed() {
|
|
15353
|
-
if (props4.reveal !== true)
|
|
15354
|
-
return;
|
|
15317
|
+
if (props4.reveal !== true) return;
|
|
15355
15318
|
const { direction, position: position2, inflectionPoint } = $layout.scroll.value;
|
|
15356
15319
|
updateLocal(revealed, direction === "up" || position2 - inflectionPoint < 100 || $layout.height.value - containerHeight.value - position2 - size2.value < 300);
|
|
15357
15320
|
}
|
|
@@ -15503,8 +15466,7 @@
|
|
|
15503
15466
|
}
|
|
15504
15467
|
function focus() {
|
|
15505
15468
|
addFocusFn(() => {
|
|
15506
|
-
if (rootRef.value === null)
|
|
15507
|
-
return;
|
|
15469
|
+
if (rootRef.value === null) return;
|
|
15508
15470
|
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
15471
|
target2 !== null && target2 !== void 0 && target2.focus({ preventScroll: true });
|
|
15510
15472
|
});
|
|
@@ -15835,8 +15797,7 @@
|
|
|
15835
15797
|
}
|
|
15836
15798
|
}
|
|
15837
15799
|
function waitForCompleteness(target2, count) {
|
|
15838
|
-
if (count === 1e3 || vmIsDestroyed(vm2) === true)
|
|
15839
|
-
return;
|
|
15800
|
+
if (count === 1e3 || vmIsDestroyed(vm2) === true) return;
|
|
15840
15801
|
if (target2.complete === true) {
|
|
15841
15802
|
onReady(target2);
|
|
15842
15803
|
} else {
|
|
@@ -15846,8 +15807,7 @@
|
|
|
15846
15807
|
}
|
|
15847
15808
|
}
|
|
15848
15809
|
function onReady(target2) {
|
|
15849
|
-
if (vmIsDestroyed(vm2) === true)
|
|
15850
|
-
return;
|
|
15810
|
+
if (vmIsDestroyed(vm2) === true) return;
|
|
15851
15811
|
position2.value = position2.value ^ 1;
|
|
15852
15812
|
images[position2.value].value = null;
|
|
15853
15813
|
clearLoading();
|
|
@@ -16595,8 +16555,7 @@
|
|
|
16595
16555
|
function use_key_composition_default(onInput) {
|
|
16596
16556
|
return function onComposition(e) {
|
|
16597
16557
|
if (e.type === "compositionend" || e.type === "change") {
|
|
16598
|
-
if (e.target.qComposing !== true)
|
|
16599
|
-
return;
|
|
16558
|
+
if (e.target.qComposing !== true) return;
|
|
16600
16559
|
e.target.qComposing = false;
|
|
16601
16560
|
onInput(e);
|
|
16602
16561
|
} else if (e.type === "compositionupdate" && e.target.qComposing !== true && typeof e.data === "string") {
|
|
@@ -18508,8 +18467,7 @@
|
|
|
18508
18467
|
let wait = false, frame, callArgs;
|
|
18509
18468
|
function debounced() {
|
|
18510
18469
|
callArgs = arguments;
|
|
18511
|
-
if (wait === true)
|
|
18512
|
-
return;
|
|
18470
|
+
if (wait === true) return;
|
|
18513
18471
|
wait = true;
|
|
18514
18472
|
frame = window.requestAnimationFrame(() => {
|
|
18515
18473
|
fn.apply(this, callArgs);
|
|
@@ -18654,10 +18612,8 @@
|
|
|
18654
18612
|
|
|
18655
18613
|
// src/utils/clone/clone.js
|
|
18656
18614
|
function cloneDeep(data, hash = /* @__PURE__ */ new WeakMap()) {
|
|
18657
|
-
if (Object(data) !== data)
|
|
18658
|
-
|
|
18659
|
-
if (hash.has(data))
|
|
18660
|
-
return hash.get(data);
|
|
18615
|
+
if (Object(data) !== data) return data;
|
|
18616
|
+
if (hash.has(data)) return hash.get(data);
|
|
18661
18617
|
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
18618
|
if (typeof data.constructor === "function" && typeof data.valueOf === "function") {
|
|
18663
18619
|
const val = data.valueOf();
|
|
@@ -18824,8 +18780,7 @@
|
|
|
18824
18780
|
updatePosition
|
|
18825
18781
|
});
|
|
18826
18782
|
return () => {
|
|
18827
|
-
if (props4.disable === true)
|
|
18828
|
-
return;
|
|
18783
|
+
if (props4.disable === true) return;
|
|
18829
18784
|
return h(QMenu_default, {
|
|
18830
18785
|
ref: menuRef,
|
|
18831
18786
|
class: "q-popup-edit",
|
|
@@ -19945,8 +19900,7 @@
|
|
|
19945
19900
|
};
|
|
19946
19901
|
});
|
|
19947
19902
|
onActivated(() => {
|
|
19948
|
-
if (scrollPosition === null)
|
|
19949
|
-
return;
|
|
19903
|
+
if (scrollPosition === null) return;
|
|
19950
19904
|
const scrollTarget = targetRef.value;
|
|
19951
19905
|
if (scrollTarget !== null) {
|
|
19952
19906
|
setHorizontalScrollPosition(scrollTarget, scrollPosition.left);
|
|
@@ -20552,8 +20506,7 @@
|
|
|
20552
20506
|
shouldActivate = true;
|
|
20553
20507
|
});
|
|
20554
20508
|
onActivated(() => {
|
|
20555
|
-
if (shouldActivate !== true)
|
|
20556
|
-
return;
|
|
20509
|
+
if (shouldActivate !== true) return;
|
|
20557
20510
|
const scrollEl = getVirtualScrollTarget();
|
|
20558
20511
|
if (prevScrollStart !== void 0 && scrollEl !== void 0 && scrollEl !== null && scrollEl.nodeType !== 8) {
|
|
20559
20512
|
setScroll2(
|
|
@@ -20951,8 +20904,7 @@
|
|
|
20951
20904
|
emit("update:modelValue", model);
|
|
20952
20905
|
}
|
|
20953
20906
|
function setOptionIndex(index) {
|
|
20954
|
-
if ($q.platform.is.desktop !== true)
|
|
20955
|
-
return;
|
|
20907
|
+
if ($q.platform.is.desktop !== true) return;
|
|
20956
20908
|
const val = index !== -1 && index < virtualScrollLength.value ? index : -1;
|
|
20957
20909
|
if (optionIndex.value !== val) {
|
|
20958
20910
|
optionIndex.value = val;
|
|
@@ -21067,8 +21019,7 @@
|
|
|
21067
21019
|
closeMenu();
|
|
21068
21020
|
return;
|
|
21069
21021
|
}
|
|
21070
|
-
if (e.target === void 0 || e.target.id !== state.targetUid.value || state.editable.value !== true)
|
|
21071
|
-
return;
|
|
21022
|
+
if (e.target === void 0 || e.target.id !== state.targetUid.value || state.editable.value !== true) return;
|
|
21072
21023
|
if (e.keyCode === 40 && state.innerLoading.value !== true && menu.value === false) {
|
|
21073
21024
|
stopAndPrevent(e);
|
|
21074
21025
|
showPopup();
|
|
@@ -21132,8 +21083,7 @@
|
|
|
21132
21083
|
}
|
|
21133
21084
|
return;
|
|
21134
21085
|
}
|
|
21135
|
-
if (e.keyCode !== 13 && (e.keyCode !== 32 || props4.useInput === true || searchBuffer !== "") && (e.keyCode !== 9 || tabShouldSelect === false))
|
|
21136
|
-
return;
|
|
21086
|
+
if (e.keyCode !== 13 && (e.keyCode !== 32 || props4.useInput === true || searchBuffer !== "") && (e.keyCode !== 9 || tabShouldSelect === false)) return;
|
|
21137
21087
|
e.keyCode !== 9 && stopAndPrevent(e);
|
|
21138
21088
|
if (optionIndex.value !== -1 && optionIndex.value < optionsLength) {
|
|
21139
21089
|
toggleOption(props4.options[optionIndex.value]);
|
|
@@ -23856,10 +23806,8 @@
|
|
|
23856
23806
|
limits: {
|
|
23857
23807
|
type: Array,
|
|
23858
23808
|
validator: (v) => {
|
|
23859
|
-
if (v.length !== 2)
|
|
23860
|
-
|
|
23861
|
-
if (typeof v[0] !== "number" || typeof v[1] !== "number")
|
|
23862
|
-
return false;
|
|
23809
|
+
if (v.length !== 2) return false;
|
|
23810
|
+
if (typeof v[0] !== "number" || typeof v[1] !== "number") return false;
|
|
23863
23811
|
return v[0] >= 0 && v[0] <= v[1];
|
|
23864
23812
|
}
|
|
23865
23813
|
},
|
|
@@ -24333,8 +24281,7 @@
|
|
|
24333
24281
|
const name2 = vm2.vnode.key;
|
|
24334
24282
|
if (name2) {
|
|
24335
24283
|
col = props4.props.colsMap[name2];
|
|
24336
|
-
if (col === void 0)
|
|
24337
|
-
return;
|
|
24284
|
+
if (col === void 0) return;
|
|
24338
24285
|
} else {
|
|
24339
24286
|
col = props4.props.col;
|
|
24340
24287
|
}
|
|
@@ -25743,8 +25690,7 @@
|
|
|
25743
25690
|
}
|
|
25744
25691
|
const name2 = vm2.vnode.key;
|
|
25745
25692
|
const col = (props4.props.colsMap !== void 0 ? props4.props.colsMap[name2] : null) || props4.props.col;
|
|
25746
|
-
if (col === void 0)
|
|
25747
|
-
return;
|
|
25693
|
+
if (col === void 0) return;
|
|
25748
25694
|
const { row } = props4.props;
|
|
25749
25695
|
return h("td", {
|
|
25750
25696
|
class: classes.value + col.__tdClass(row),
|
|
@@ -26134,8 +26080,7 @@
|
|
|
26134
26080
|
const payload = e.keyCode === 37 ? -1 : 1;
|
|
26135
26081
|
if (validHours.value !== null) {
|
|
26136
26082
|
const values = computedFormat24h.value === true ? validHours.value.values : validHours.value[isAM.value === true ? "am" : "pm"].values;
|
|
26137
|
-
if (values.length === 0)
|
|
26138
|
-
return;
|
|
26083
|
+
if (values.length === 0) return;
|
|
26139
26084
|
if (innerModel.value.hour === null) {
|
|
26140
26085
|
setHour(values[0]);
|
|
26141
26086
|
} else {
|
|
@@ -26155,8 +26100,7 @@
|
|
|
26155
26100
|
const payload = e.keyCode === 37 ? -1 : 1;
|
|
26156
26101
|
if (validMinutes.value !== null) {
|
|
26157
26102
|
const values = validMinutes.value.values;
|
|
26158
|
-
if (values.length === 0)
|
|
26159
|
-
return;
|
|
26103
|
+
if (values.length === 0) return;
|
|
26160
26104
|
if (innerModel.value.minute === null) {
|
|
26161
26105
|
setMinute(values[0]);
|
|
26162
26106
|
} else {
|
|
@@ -26176,8 +26120,7 @@
|
|
|
26176
26120
|
const payload = e.keyCode === 37 ? -1 : 1;
|
|
26177
26121
|
if (validSeconds.value !== null) {
|
|
26178
26122
|
const values = validSeconds.value.values;
|
|
26179
|
-
if (values.length === 0)
|
|
26180
|
-
return;
|
|
26123
|
+
if (values.length === 0) return;
|
|
26181
26124
|
if (innerModel.value.seconds === null) {
|
|
26182
26125
|
setSecond(values[0]);
|
|
26183
26126
|
} else {
|
|
@@ -27242,8 +27185,7 @@
|
|
|
27242
27185
|
}
|
|
27243
27186
|
}
|
|
27244
27187
|
function removeFile(file) {
|
|
27245
|
-
if (props4.disable)
|
|
27246
|
-
return;
|
|
27188
|
+
if (props4.disable) return;
|
|
27247
27189
|
if (file.__status === "uploaded") {
|
|
27248
27190
|
state.uploadedFiles.value = state.uploadedFiles.value.filter((f) => f.__key !== file.__key);
|
|
27249
27191
|
} else if (file.__status === "uploading") {
|
|
@@ -27275,8 +27217,7 @@
|
|
|
27275
27217
|
if (fileInput !== void 0 && fileInput !== null) {
|
|
27276
27218
|
fileInput.value = "";
|
|
27277
27219
|
}
|
|
27278
|
-
if (localFiles === void 0)
|
|
27279
|
-
return;
|
|
27220
|
+
if (localFiles === void 0) return;
|
|
27280
27221
|
localFiles.forEach((file) => {
|
|
27281
27222
|
state.updateFileStatus(file, "idle");
|
|
27282
27223
|
uploadSize.value += file.size;
|
|
@@ -27601,8 +27542,7 @@
|
|
|
27601
27542
|
});
|
|
27602
27543
|
let uploadIndex = 0, uploadIndexSize = 0, localUploadedSize = 0, maxUploadSize = 0, aborted;
|
|
27603
27544
|
xhr2.upload.addEventListener("progress", (e) => {
|
|
27604
|
-
if (aborted === true)
|
|
27605
|
-
return;
|
|
27545
|
+
if (aborted === true) return;
|
|
27606
27546
|
const loaded = Math.min(maxUploadSize, e.loaded);
|
|
27607
27547
|
helpers.uploadedSize.value += loaded - localUploadedSize;
|
|
27608
27548
|
localUploadedSize = loaded;
|
|
@@ -30047,8 +29987,7 @@
|
|
|
30047
29987
|
isActive: false
|
|
30048
29988
|
}, {
|
|
30049
29989
|
show(opts) {
|
|
30050
|
-
if (false)
|
|
30051
|
-
return;
|
|
29990
|
+
if (false) return;
|
|
30052
29991
|
props3 = registerProps(opts);
|
|
30053
29992
|
const { group } = props3;
|
|
30054
29993
|
Plugin7.isActive = true;
|
|
@@ -30173,8 +30112,7 @@
|
|
|
30173
30112
|
setDefaults: noop,
|
|
30174
30113
|
install({ $q, parentApp }) {
|
|
30175
30114
|
$q.loadingBar = this;
|
|
30176
|
-
if (false)
|
|
30177
|
-
return;
|
|
30115
|
+
if (false) return;
|
|
30178
30116
|
if (this.__installed === true) {
|
|
30179
30117
|
if ($q.config.loadingBar !== void 0) {
|
|
30180
30118
|
this.setDefaults($q.config.loadingBar);
|
|
@@ -31343,7 +31281,7 @@
|
|
|
31343
31281
|
console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");
|
|
31344
31282
|
}
|
|
31345
31283
|
window.Quasar = {
|
|
31346
|
-
version: "2.16.
|
|
31284
|
+
version: "2.16.7",
|
|
31347
31285
|
install(app2, opts) {
|
|
31348
31286
|
install_quasar_default(app2, {
|
|
31349
31287
|
components: components_exports,
|