quasar 2.17.4 → 2.17.5
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/api/Notify.json +1 -1
- 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 +2 -2
- 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 +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/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.client.js +101 -286
- package/dist/quasar.sass +1 -1
- package/dist/quasar.server.prod.cjs +6 -6
- package/dist/quasar.server.prod.js +6 -6
- package/dist/quasar.umd.js +101 -286
- package/dist/quasar.umd.prod.js +5 -5
- package/dist/web-types/web-types.json +1 -1
- package/package.json +3 -3
- package/src/components/btn/QBtn.js +6 -6
- package/src/components/date/QDate.js +6 -9
- package/src/components/editor/editor-caret.js +7 -5
- package/src/components/editor/editor-utils.js +1 -3
- package/src/components/file/QFile.js +1 -3
- package/src/components/infinite-scroll/QInfiniteScroll.js +10 -6
- package/src/components/input/QInput.js +2 -8
- package/src/components/input/use-mask.js +2 -5
- package/src/components/knob/QKnob.js +1 -3
- package/src/components/layout/QLayout.js +1 -4
- package/src/components/pagination/QPagination.js +2 -3
- package/src/components/popup-edit/QPopupEdit.js +1 -3
- package/src/components/pull-to-refresh/QPullToRefresh.js +5 -8
- package/src/components/range/QRange.js +1 -3
- package/src/components/scroll-area/QScrollArea.js +1 -3
- package/src/components/scroll-observer/QScrollObserver.js +1 -3
- package/src/components/select/QSelect.js +34 -36
- package/src/components/slide-item/QSlideItem.js +4 -3
- package/src/components/slider/QSlider.js +1 -3
- package/src/components/table/QTable.js +3 -10
- package/src/components/table/table-pagination.js +1 -3
- package/src/components/tabs/QTabs.js +1 -1
- package/src/components/time/QTime.js +6 -6
- package/src/components/tooltip/QTooltip.js +4 -1
- package/src/components/tree/QTree.js +1 -3
- package/src/components/uploader/uploader-core.js +1 -3
- package/src/components/uploader/xhr-uploader-plugin.js +1 -3
- package/src/components/virtual-scroll/use-virtual-scroll.js +14 -18
- package/src/composables/private.use-anchor/use-anchor.js +1 -3
- package/src/composables/private.use-field/use-field.js +6 -6
- package/src/composables/private.use-file/use-file-dom-props.js +1 -4
- package/src/composables/private.use-fullscreen/use-fullscreen.js +2 -6
- package/src/composables/private.use-model-toggle/use-model-toggle.js +4 -12
- package/src/composables/private.use-panel/use-panel.js +12 -4
- package/src/directives/morph/Morph.js +5 -6
- package/src/directives/ripple/Ripple.js +1 -3
- package/src/directives/touch-hold/TouchHold.js +4 -3
- package/src/directives/touch-pan/TouchPan.js +7 -12
- package/src/directives/touch-repeat/TouchRepeat.js +4 -12
- package/src/directives/touch-swipe/TouchSwipe.js +7 -12
- package/src/plugins/notify/Notify.json +2 -2
- package/src/plugins/private.history/History.js +3 -9
- package/src/utils/date/date.js +2 -6
- package/src/utils/dom/dom.js +1 -3
- package/src/utils/morph/morph.js +4 -5
- package/src/utils/open-url/open-url.js +1 -0
- package/src/utils/private.click-outside/click-outside.js +2 -6
- package/src/utils/private.position-engine/position-engine.js +1 -3
- package/src/utils/scroll/prevent-scroll.js +4 -12
package/dist/quasar.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.17.
|
|
2
|
+
* Quasar Framework v2.17.5
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -786,19 +786,13 @@
|
|
|
786
786
|
install({ $q }) {
|
|
787
787
|
if (this.__installed === true) return;
|
|
788
788
|
const { cordova: cordova2, capacitor } = client.is;
|
|
789
|
-
if (cordova2 !== true && capacitor !== true)
|
|
790
|
-
return;
|
|
791
|
-
}
|
|
789
|
+
if (cordova2 !== true && capacitor !== true) return;
|
|
792
790
|
const qConf = $q.config[cordova2 === true ? "cordova" : "capacitor"];
|
|
793
|
-
if (qConf !== void 0 && qConf.backButton === false)
|
|
794
|
-
return;
|
|
795
|
-
}
|
|
791
|
+
if (qConf !== void 0 && qConf.backButton === false) return;
|
|
796
792
|
if (
|
|
797
793
|
// if we're on Capacitor mode
|
|
798
794
|
capacitor === true && (window.Capacitor === void 0 || window.Capacitor.Plugins.App === void 0)
|
|
799
|
-
)
|
|
800
|
-
return;
|
|
801
|
-
}
|
|
795
|
+
) return;
|
|
802
796
|
this.add = (entry) => {
|
|
803
797
|
if (entry.condition === void 0) {
|
|
804
798
|
entry.condition = getTrue;
|
|
@@ -1384,7 +1378,7 @@
|
|
|
1384
1378
|
}
|
|
1385
1379
|
var install_quasar_default = false ? function(parentApp, opts = {}, ssrContext) {
|
|
1386
1380
|
const $q = {
|
|
1387
|
-
version: "2.17.
|
|
1381
|
+
version: "2.17.5",
|
|
1388
1382
|
config: opts.config || {}
|
|
1389
1383
|
};
|
|
1390
1384
|
Object.assign(ssrContext, {
|
|
@@ -1414,7 +1408,7 @@
|
|
|
1414
1408
|
ssrContext
|
|
1415
1409
|
});
|
|
1416
1410
|
} : function(parentApp, opts = {}) {
|
|
1417
|
-
const $q = { version: "2.17.
|
|
1411
|
+
const $q = { version: "2.17.5" };
|
|
1418
1412
|
if (globalConfigIsFrozen === false) {
|
|
1419
1413
|
if (opts.config !== void 0) {
|
|
1420
1414
|
Object.assign(globalConfig, opts.config);
|
|
@@ -2580,9 +2574,7 @@
|
|
|
2580
2574
|
elements.forEach((el) => css(el, style2));
|
|
2581
2575
|
}
|
|
2582
2576
|
function ready(fn) {
|
|
2583
|
-
if (typeof fn !== "function")
|
|
2584
|
-
return;
|
|
2585
|
-
}
|
|
2577
|
+
if (typeof fn !== "function") return;
|
|
2586
2578
|
if (document.readyState !== "loading") {
|
|
2587
2579
|
return fn();
|
|
2588
2580
|
}
|
|
@@ -2693,9 +2685,7 @@
|
|
|
2693
2685
|
name: "ripple",
|
|
2694
2686
|
beforeMount(el, binding) {
|
|
2695
2687
|
const cfg = binding.instance.$.appContext.config.globalProperties.$q.config || {};
|
|
2696
|
-
if (cfg.ripple === false)
|
|
2697
|
-
return;
|
|
2698
|
-
}
|
|
2688
|
+
if (cfg.ripple === false) return;
|
|
2699
2689
|
const ctx = {
|
|
2700
2690
|
cfg,
|
|
2701
2691
|
enabled: binding.value !== false,
|
|
@@ -2981,9 +2971,7 @@
|
|
|
2981
2971
|
function onClick(e) {
|
|
2982
2972
|
if (rootRef.value === null) return;
|
|
2983
2973
|
if (e !== void 0) {
|
|
2984
|
-
if (e.defaultPrevented === true)
|
|
2985
|
-
return;
|
|
2986
|
-
}
|
|
2974
|
+
if (e.defaultPrevented === true) return;
|
|
2987
2975
|
const el = document.activeElement;
|
|
2988
2976
|
if (props4.type === "submit" && el !== document.body && rootRef.value.contains(el) === false && el.contains(rootRef.value) === false) {
|
|
2989
2977
|
rootRef.value.focus();
|
|
@@ -3045,9 +3033,7 @@
|
|
|
3045
3033
|
}
|
|
3046
3034
|
function onPressEnd(e) {
|
|
3047
3035
|
if (rootRef.value === null) return;
|
|
3048
|
-
if (e !== void 0 && e.type === "blur" && document.activeElement === rootRef.value)
|
|
3049
|
-
return;
|
|
3050
|
-
}
|
|
3036
|
+
if (e !== void 0 && e.type === "blur" && document.activeElement === rootRef.value) return;
|
|
3051
3037
|
if (e !== void 0 && e.type === "keyup") {
|
|
3052
3038
|
if (keyboardTarget === rootRef.value && isKeyCode(e, [13, 32]) === true) {
|
|
3053
3039
|
const evt = new MouseEvent("click", e);
|
|
@@ -3260,9 +3246,7 @@
|
|
|
3260
3246
|
prevent,
|
|
3261
3247
|
mobileTouch(evt) {
|
|
3262
3248
|
anchorEvents.mobileCleanup(evt);
|
|
3263
|
-
if (canShow(evt) !== true)
|
|
3264
|
-
return;
|
|
3265
|
-
}
|
|
3249
|
+
if (canShow(evt) !== true) return;
|
|
3266
3250
|
proxy.hide(evt);
|
|
3267
3251
|
anchorEl.value.classList.add("non-selectable");
|
|
3268
3252
|
const target2 = evt.target;
|
|
@@ -3454,9 +3438,7 @@
|
|
|
3454
3438
|
}
|
|
3455
3439
|
}
|
|
3456
3440
|
function show(evt) {
|
|
3457
|
-
if (props4.disable === true || evt !== void 0 && evt.qAnchorHandled === true || canShow !== void 0 && canShow(evt) !== true)
|
|
3458
|
-
return;
|
|
3459
|
-
}
|
|
3441
|
+
if (props4.disable === true || evt !== void 0 && evt.qAnchorHandled === true || canShow !== void 0 && canShow(evt) !== true) return;
|
|
3460
3442
|
const listener = props4["onUpdate:modelValue"] !== void 0;
|
|
3461
3443
|
if (listener === true && true) {
|
|
3462
3444
|
emit("update:modelValue", true);
|
|
@@ -3472,9 +3454,7 @@
|
|
|
3472
3454
|
}
|
|
3473
3455
|
}
|
|
3474
3456
|
function processShow(evt) {
|
|
3475
|
-
if (showing.value === true)
|
|
3476
|
-
return;
|
|
3477
|
-
}
|
|
3457
|
+
if (showing.value === true) return;
|
|
3478
3458
|
showing.value = true;
|
|
3479
3459
|
emit("beforeShow", evt);
|
|
3480
3460
|
if (handleShow !== void 0) {
|
|
@@ -3484,9 +3464,7 @@
|
|
|
3484
3464
|
}
|
|
3485
3465
|
}
|
|
3486
3466
|
function hide(evt) {
|
|
3487
|
-
if (props4.disable === true)
|
|
3488
|
-
return;
|
|
3489
|
-
}
|
|
3467
|
+
if (props4.disable === true) return;
|
|
3490
3468
|
const listener = props4["onUpdate:modelValue"] !== void 0;
|
|
3491
3469
|
if (listener === true && true) {
|
|
3492
3470
|
emit("update:modelValue", false);
|
|
@@ -3502,9 +3480,7 @@
|
|
|
3502
3480
|
}
|
|
3503
3481
|
}
|
|
3504
3482
|
function processHide(evt) {
|
|
3505
|
-
if (showing.value === false)
|
|
3506
|
-
return;
|
|
3507
|
-
}
|
|
3483
|
+
if (showing.value === false) return;
|
|
3508
3484
|
showing.value = false;
|
|
3509
3485
|
emit("beforeHide", evt);
|
|
3510
3486
|
if (handleHide !== void 0) {
|
|
@@ -4032,9 +4008,7 @@
|
|
|
4032
4008
|
timer = null;
|
|
4033
4009
|
}
|
|
4034
4010
|
const target2 = evt.target;
|
|
4035
|
-
if (target2 === void 0 || target2.nodeType === 8 || target2.classList.contains("no-pointer-events") === true)
|
|
4036
|
-
return;
|
|
4037
|
-
}
|
|
4011
|
+
if (target2 === void 0 || target2.nodeType === 8 || target2.classList.contains("no-pointer-events") === true) return;
|
|
4038
4012
|
let portalIndex2 = portalProxyList.length - 1;
|
|
4039
4013
|
while (portalIndex2 >= 0) {
|
|
4040
4014
|
const proxy = portalProxyList[portalIndex2].$;
|
|
@@ -4045,9 +4019,7 @@
|
|
|
4045
4019
|
if (proxy.type.name !== "QDialog") {
|
|
4046
4020
|
break;
|
|
4047
4021
|
}
|
|
4048
|
-
if (proxy.props.seamless !== true)
|
|
4049
|
-
return;
|
|
4050
|
-
}
|
|
4022
|
+
if (proxy.props.seamless !== true) return;
|
|
4051
4023
|
portalIndex2--;
|
|
4052
4024
|
}
|
|
4053
4025
|
for (let i = registeredList.length - 1; i >= 0; i--) {
|
|
@@ -4186,9 +4158,7 @@
|
|
|
4186
4158
|
};
|
|
4187
4159
|
}
|
|
4188
4160
|
function setPosition(cfg, retryNumber = 0) {
|
|
4189
|
-
if (cfg.targetEl === null || cfg.anchorEl === null || retryNumber > 5)
|
|
4190
|
-
return;
|
|
4191
|
-
}
|
|
4161
|
+
if (cfg.targetEl === null || cfg.anchorEl === null || retryNumber > 5) return;
|
|
4192
4162
|
if (cfg.targetEl.offsetHeight === 0 || cfg.targetEl.offsetWidth === 0) {
|
|
4193
4163
|
setTimeout(() => {
|
|
4194
4164
|
setPosition(cfg, retryNumber + 1);
|
|
@@ -5099,9 +5069,7 @@
|
|
|
5099
5069
|
false ? { name: "touch-swipe", getSSRProps: noop_ssr_directive_transform_default } : {
|
|
5100
5070
|
name: "touch-swipe",
|
|
5101
5071
|
beforeMount(el, { value: value2, arg, modifiers }) {
|
|
5102
|
-
if (modifiers.mouse !== true && client.has.touch !== true)
|
|
5103
|
-
return;
|
|
5104
|
-
}
|
|
5072
|
+
if (modifiers.mouse !== true && client.has.touch !== true) return;
|
|
5105
5073
|
const mouseCapture = modifiers.mouseCapture === true ? "Capture" : "";
|
|
5106
5074
|
const ctx = {
|
|
5107
5075
|
handler: value2,
|
|
@@ -5140,17 +5108,13 @@
|
|
|
5140
5108
|
};
|
|
5141
5109
|
},
|
|
5142
5110
|
move(evt) {
|
|
5143
|
-
if (ctx.event === void 0)
|
|
5144
|
-
return;
|
|
5145
|
-
}
|
|
5111
|
+
if (ctx.event === void 0) return;
|
|
5146
5112
|
if (ctx.event.dir !== false) {
|
|
5147
5113
|
stopAndPrevent(evt);
|
|
5148
5114
|
return;
|
|
5149
5115
|
}
|
|
5150
5116
|
const time = Date.now() - ctx.event.time;
|
|
5151
|
-
if (time === 0)
|
|
5152
|
-
return;
|
|
5153
|
-
}
|
|
5117
|
+
if (time === 0) return;
|
|
5154
5118
|
const pos = position(evt), distX = pos.left - ctx.event.x, absX = Math.abs(distX), distY = pos.top - ctx.event.y, absY = Math.abs(distY);
|
|
5155
5119
|
if (ctx.event.mouse !== true) {
|
|
5156
5120
|
if (absX < ctx.sensitivity[1] && absY < ctx.sensitivity[1]) {
|
|
@@ -5217,9 +5181,7 @@
|
|
|
5217
5181
|
}
|
|
5218
5182
|
},
|
|
5219
5183
|
end(evt) {
|
|
5220
|
-
if (ctx.event === void 0)
|
|
5221
|
-
return;
|
|
5222
|
-
}
|
|
5184
|
+
if (ctx.event === void 0) return;
|
|
5223
5185
|
cleanEvt(ctx, "temp");
|
|
5224
5186
|
client.is.firefox === true && preventDraggable(el, false);
|
|
5225
5187
|
ctx.styleCleanup !== void 0 && ctx.styleCleanup(true);
|
|
@@ -5322,8 +5284,8 @@
|
|
|
5322
5284
|
const { getCache } = use_render_cache_default();
|
|
5323
5285
|
const { registerTimeout } = use_timeout_default();
|
|
5324
5286
|
let panels, forcedPanelTransition;
|
|
5325
|
-
const panelIndex = ref(null);
|
|
5326
5287
|
const panelTransition = ref(null);
|
|
5288
|
+
const panelIndex = { value: null };
|
|
5327
5289
|
function onSwipe(evt) {
|
|
5328
5290
|
const dir = props4.vertical === true ? "up" : "left";
|
|
5329
5291
|
goToPanelByOffset((proxy.$q.lang.rtl === true ? -1 : 1) * (evt.direction === dir ? 1 : -1));
|
|
@@ -5447,9 +5409,7 @@
|
|
|
5447
5409
|
];
|
|
5448
5410
|
}
|
|
5449
5411
|
function getPanelContent() {
|
|
5450
|
-
if (panels.length === 0)
|
|
5451
|
-
return;
|
|
5452
|
-
}
|
|
5412
|
+
if (panels.length === 0) return;
|
|
5453
5413
|
return props4.animated === true ? [h(Transition, { name: panelTransition.value }, getPanelContentChild)] : getPanelContentChild();
|
|
5454
5414
|
}
|
|
5455
5415
|
function updatePanelsList(slots) {
|
|
@@ -5518,9 +5478,7 @@
|
|
|
5518
5478
|
}
|
|
5519
5479
|
}
|
|
5520
5480
|
function setFullscreen() {
|
|
5521
|
-
if (inFullscreen.value === true)
|
|
5522
|
-
return;
|
|
5523
|
-
}
|
|
5481
|
+
if (inFullscreen.value === true) return;
|
|
5524
5482
|
inFullscreen.value = true;
|
|
5525
5483
|
container = proxy.$el.parentNode;
|
|
5526
5484
|
container.replaceChild(fullscreenFillerNode, proxy.$el);
|
|
@@ -5535,9 +5493,7 @@
|
|
|
5535
5493
|
History_default.add(historyEntry);
|
|
5536
5494
|
}
|
|
5537
5495
|
function exitFullscreen() {
|
|
5538
|
-
if (inFullscreen.value !== true)
|
|
5539
|
-
return;
|
|
5540
|
-
}
|
|
5496
|
+
if (inFullscreen.value !== true) return;
|
|
5541
5497
|
if (historyEntry !== void 0) {
|
|
5542
5498
|
History_default.remove(historyEntry);
|
|
5543
5499
|
historyEntry = void 0;
|
|
@@ -6584,9 +6540,7 @@
|
|
|
6584
6540
|
false ? { name: "touch-pan", getSSRProps: noop_ssr_directive_transform_default } : {
|
|
6585
6541
|
name: "touch-pan",
|
|
6586
6542
|
beforeMount(el, { value: value2, modifiers }) {
|
|
6587
|
-
if (modifiers.mouse !== true && client.has.touch !== true)
|
|
6588
|
-
return;
|
|
6589
|
-
}
|
|
6543
|
+
if (modifiers.mouse !== true && client.has.touch !== true) return;
|
|
6590
6544
|
function handleEvent(evt, mouseEvent) {
|
|
6591
6545
|
if (modifiers.mouse === true && mouseEvent === true) {
|
|
6592
6546
|
stopAndPrevent(evt);
|
|
@@ -6656,13 +6610,9 @@
|
|
|
6656
6610
|
};
|
|
6657
6611
|
},
|
|
6658
6612
|
move(evt) {
|
|
6659
|
-
if (ctx.event === void 0)
|
|
6660
|
-
return;
|
|
6661
|
-
}
|
|
6613
|
+
if (ctx.event === void 0) return;
|
|
6662
6614
|
const pos = position(evt), distX = pos.left - ctx.event.x, distY = pos.top - ctx.event.y;
|
|
6663
|
-
if (distX === 0 && distY === 0)
|
|
6664
|
-
return;
|
|
6665
|
-
}
|
|
6615
|
+
if (distX === 0 && distY === 0) return;
|
|
6666
6616
|
ctx.lastEvt = evt;
|
|
6667
6617
|
const isMouseEvt = ctx.event.mouse === true;
|
|
6668
6618
|
const start = () => {
|
|
@@ -6733,9 +6683,7 @@
|
|
|
6733
6683
|
}
|
|
6734
6684
|
},
|
|
6735
6685
|
end(evt, abort) {
|
|
6736
|
-
if (ctx.event === void 0)
|
|
6737
|
-
return;
|
|
6738
|
-
}
|
|
6686
|
+
if (ctx.event === void 0) return;
|
|
6739
6687
|
cleanEvt(ctx, "temp");
|
|
6740
6688
|
client.is.firefox === true && preventDraggable(el, false);
|
|
6741
6689
|
if (abort === true) {
|
|
@@ -7371,9 +7319,7 @@
|
|
|
7371
7319
|
state.focus.value = true;
|
|
7372
7320
|
}
|
|
7373
7321
|
function onKeydown2(evt) {
|
|
7374
|
-
if (
|
|
7375
|
-
return;
|
|
7376
|
-
}
|
|
7322
|
+
if (keyCodes.includes(evt.keyCode) === false) return;
|
|
7377
7323
|
stopAndPrevent(evt);
|
|
7378
7324
|
const stepVal = ([34, 33].includes(evt.keyCode) ? 10 : 1) * state.keyStep.value, offset2 = ([34, 37, 40].includes(evt.keyCode) ? -1 : 1) * (state.isReversed.value === true ? -1 : 1) * (props4.vertical === true ? -1 : 1) * stepVal;
|
|
7379
7325
|
model.value = between(
|
|
@@ -7662,7 +7608,7 @@
|
|
|
7662
7608
|
}
|
|
7663
7609
|
function recalculateScroll() {
|
|
7664
7610
|
registerScrollTick(() => {
|
|
7665
|
-
updateContainer({
|
|
7611
|
+
rootRef.value && updateContainer({
|
|
7666
7612
|
width: rootRef.value.offsetWidth,
|
|
7667
7613
|
height: rootRef.value.offsetHeight
|
|
7668
7614
|
});
|
|
@@ -10118,13 +10064,9 @@
|
|
|
10118
10064
|
}
|
|
10119
10065
|
};
|
|
10120
10066
|
function formatDate(val, mask, dateLocale, __forcedYear, __forcedTimezoneOffset) {
|
|
10121
|
-
if (val !== 0 && !val || val === Infinity || val === -Infinity)
|
|
10122
|
-
return;
|
|
10123
|
-
}
|
|
10067
|
+
if (val !== 0 && !val || val === Infinity || val === -Infinity) return;
|
|
10124
10068
|
const date = new Date(val);
|
|
10125
|
-
if (isNaN(date))
|
|
10126
|
-
return;
|
|
10127
|
-
}
|
|
10069
|
+
if (isNaN(date)) return;
|
|
10128
10070
|
if (mask === void 0) {
|
|
10129
10071
|
mask = defaultMask;
|
|
10130
10072
|
}
|
|
@@ -10440,16 +10382,12 @@
|
|
|
10440
10382
|
return map;
|
|
10441
10383
|
});
|
|
10442
10384
|
const rangeView = computed(() => {
|
|
10443
|
-
if (editRange.value === null)
|
|
10444
|
-
return;
|
|
10445
|
-
}
|
|
10385
|
+
if (editRange.value === null) return;
|
|
10446
10386
|
const { init, initHash, final, finalHash } = editRange.value;
|
|
10447
10387
|
const [from, to] = initHash <= finalHash ? [init, final] : [final, init];
|
|
10448
10388
|
const fromHash = getMonthHash(from);
|
|
10449
10389
|
const toHash = getMonthHash(to);
|
|
10450
|
-
if (fromHash !== viewMonthHash.value && toHash !== viewMonthHash.value)
|
|
10451
|
-
return;
|
|
10452
|
-
}
|
|
10390
|
+
if (fromHash !== viewMonthHash.value && toHash !== viewMonthHash.value) return;
|
|
10453
10391
|
const view2 = {};
|
|
10454
10392
|
if (fromHash === viewMonthHash.value) {
|
|
10455
10393
|
view2.from = from.day;
|
|
@@ -10889,9 +10827,7 @@
|
|
|
10889
10827
|
emitValue(value2, "add", date);
|
|
10890
10828
|
}
|
|
10891
10829
|
function removeFromModel(date) {
|
|
10892
|
-
if (props4.noUnset === true)
|
|
10893
|
-
return;
|
|
10894
|
-
}
|
|
10830
|
+
if (props4.noUnset === true) return;
|
|
10895
10831
|
let model = null;
|
|
10896
10832
|
if (props4.multiple === true && Array.isArray(props4.modelValue) === true) {
|
|
10897
10833
|
const val = encodeEntry(date);
|
|
@@ -11340,9 +11276,7 @@
|
|
|
11340
11276
|
}
|
|
11341
11277
|
}
|
|
11342
11278
|
function onAppleResize(evt) {
|
|
11343
|
-
if (vpPendingUpdate === true)
|
|
11344
|
-
return;
|
|
11345
|
-
}
|
|
11279
|
+
if (vpPendingUpdate === true) return;
|
|
11346
11280
|
vpPendingUpdate = true;
|
|
11347
11281
|
requestAnimationFrame(() => {
|
|
11348
11282
|
vpPendingUpdate = false;
|
|
@@ -11419,17 +11353,11 @@
|
|
|
11419
11353
|
closeTimer = null;
|
|
11420
11354
|
return;
|
|
11421
11355
|
}
|
|
11422
|
-
if (registered > 1)
|
|
11423
|
-
return;
|
|
11424
|
-
}
|
|
11356
|
+
if (registered > 1) return;
|
|
11425
11357
|
} else {
|
|
11426
|
-
if (registered === 0)
|
|
11427
|
-
return;
|
|
11428
|
-
}
|
|
11358
|
+
if (registered === 0) return;
|
|
11429
11359
|
registered--;
|
|
11430
|
-
if (registered > 0)
|
|
11431
|
-
return;
|
|
11432
|
-
}
|
|
11360
|
+
if (registered > 0) return;
|
|
11433
11361
|
action = "remove";
|
|
11434
11362
|
if (client.is.ios === true && client.is.nativeMobile === true) {
|
|
11435
11363
|
closeTimer !== null && clearTimeout(closeTimer);
|
|
@@ -12466,11 +12394,7 @@
|
|
|
12466
12394
|
if (link === null) {
|
|
12467
12395
|
const selection = this.selectWord(this.selection);
|
|
12468
12396
|
const url = selection ? selection.toString() : "";
|
|
12469
|
-
if (!url.length)
|
|
12470
|
-
if (!this.range || !this.range.cloneContents().querySelector("img")) {
|
|
12471
|
-
return;
|
|
12472
|
-
}
|
|
12473
|
-
}
|
|
12397
|
+
if (!url.length && (!this.range || !this.range.cloneContents().querySelector("img"))) return;
|
|
12474
12398
|
this.eVm.editLinkUrl.value = urlRegex.test(url) ? url : "https://";
|
|
12475
12399
|
document.execCommand("createLink", false, this.eVm.editLinkUrl.value);
|
|
12476
12400
|
this.save(selection.getRangeAt(0));
|
|
@@ -13033,9 +12957,7 @@
|
|
|
13033
12957
|
link = evt.target.value;
|
|
13034
12958
|
},
|
|
13035
12959
|
onKeydown: (evt) => {
|
|
13036
|
-
if (shouldIgnoreKey(evt) === true)
|
|
13037
|
-
return;
|
|
13038
|
-
}
|
|
12960
|
+
if (shouldIgnoreKey(evt) === true) return;
|
|
13039
12961
|
switch (evt.keyCode) {
|
|
13040
12962
|
case 13:
|
|
13041
12963
|
prevent(evt);
|
|
@@ -14661,9 +14583,7 @@
|
|
|
14661
14583
|
focusoutTimer !== null && clearTimeout(focusoutTimer);
|
|
14662
14584
|
focusoutTimer = setTimeout(() => {
|
|
14663
14585
|
focusoutTimer = null;
|
|
14664
|
-
if (document.hasFocus() === true && (state.hasPopupOpen === true || state.controlRef === void 0 || state.controlRef.value === null || state.controlRef.value.contains(document.activeElement) !== false))
|
|
14665
|
-
return;
|
|
14666
|
-
}
|
|
14586
|
+
if (document.hasFocus() === true && (state.hasPopupOpen === true || state.controlRef === void 0 || state.controlRef.value === null || state.controlRef.value.contains(document.activeElement) !== false)) return;
|
|
14667
14587
|
if (state.focused.value === true) {
|
|
14668
14588
|
state.focused.value = false;
|
|
14669
14589
|
emit("blur", e);
|
|
@@ -14810,9 +14730,7 @@
|
|
|
14810
14730
|
}
|
|
14811
14731
|
}
|
|
14812
14732
|
const hasCounter = props4.counter === true || slots.counter !== void 0;
|
|
14813
|
-
if (props4.hideBottomSpace === true && hasCounter === false && msg === void 0)
|
|
14814
|
-
return;
|
|
14815
|
-
}
|
|
14733
|
+
if (props4.hideBottomSpace === true && hasCounter === false && msg === void 0) return;
|
|
14816
14734
|
const main = h("div", {
|
|
14817
14735
|
key,
|
|
14818
14736
|
class: "q-field__messages col"
|
|
@@ -15101,9 +15019,7 @@
|
|
|
15101
15019
|
}
|
|
15102
15020
|
}
|
|
15103
15021
|
return typeGuard === true ? computed(() => {
|
|
15104
|
-
if (props4.type !== "file")
|
|
15105
|
-
return;
|
|
15106
|
-
}
|
|
15022
|
+
if (props4.type !== "file") return;
|
|
15107
15023
|
return getFormDomProps();
|
|
15108
15024
|
}) : computed(getFormDomProps);
|
|
15109
15025
|
}
|
|
@@ -15212,9 +15128,7 @@
|
|
|
15212
15128
|
fileInput.value = "";
|
|
15213
15129
|
}
|
|
15214
15130
|
if (files === void 0) return;
|
|
15215
|
-
if (props4.multiple === true ? props4.modelValue && files.every((f) => innerValue.value.includes(f)) : props4.modelValue === files[0])
|
|
15216
|
-
return;
|
|
15217
|
-
}
|
|
15131
|
+
if (props4.multiple === true ? props4.modelValue && files.every((f) => innerValue.value.includes(f)) : props4.modelValue === files[0]) return;
|
|
15218
15132
|
emitValue(
|
|
15219
15133
|
isAppending.value === true ? innerValue.value.concat(files) : files
|
|
15220
15134
|
);
|
|
@@ -16040,9 +15954,7 @@
|
|
|
16040
15954
|
() => "q-infinite-scroll__loading" + (isFetching.value === true ? "" : " invisible")
|
|
16041
15955
|
);
|
|
16042
15956
|
function immediatePoll() {
|
|
16043
|
-
if (props4.disable === true || isFetching.value === true || isWorking.value === false)
|
|
16044
|
-
return;
|
|
16045
|
-
}
|
|
15957
|
+
if (props4.disable === true || isFetching.value === true || isWorking.value === false) return;
|
|
16046
15958
|
const scrollHeight = getScrollHeight(localScrollTarget), scrollPosition = getVerticalScrollPosition(localScrollTarget), containerHeight = height(localScrollTarget);
|
|
16047
15959
|
if (props4.reverse === false) {
|
|
16048
15960
|
if (Math.round(scrollPosition + containerHeight + props4.offset) >= Math.round(scrollHeight)) {
|
|
@@ -16053,9 +15965,7 @@
|
|
|
16053
15965
|
}
|
|
16054
15966
|
}
|
|
16055
15967
|
function trigger3() {
|
|
16056
|
-
if (props4.disable === true || isFetching.value === true || isWorking.value === false)
|
|
16057
|
-
return;
|
|
16058
|
-
}
|
|
15968
|
+
if (props4.disable === true || isFetching.value === true || isWorking.value === false) return;
|
|
16059
15969
|
index++;
|
|
16060
15970
|
isFetching.value = true;
|
|
16061
15971
|
const heightBefore = getScrollHeight(localScrollTarget);
|
|
@@ -16532,9 +16442,7 @@
|
|
|
16532
16442
|
}
|
|
16533
16443
|
function onMaskedKeydown(e) {
|
|
16534
16444
|
emit("keydown", e);
|
|
16535
|
-
if (shouldIgnoreKey(e) === true || e.altKey === true)
|
|
16536
|
-
return;
|
|
16537
|
-
}
|
|
16445
|
+
if (shouldIgnoreKey(e) === true || e.altKey === true) return;
|
|
16538
16446
|
const inp = inputRef.value, start = inp.selectionStart, end = inp.selectionEnd;
|
|
16539
16447
|
if (!e.shiftKey) {
|
|
16540
16448
|
selectionAnchor = void 0;
|
|
@@ -16752,9 +16660,7 @@
|
|
|
16752
16660
|
if (hasMask.value === true) {
|
|
16753
16661
|
if (stopValueWatcher === true) {
|
|
16754
16662
|
stopValueWatcher = false;
|
|
16755
|
-
if (String(v) === emitCachedValue)
|
|
16756
|
-
return;
|
|
16757
|
-
}
|
|
16663
|
+
if (String(v) === emitCachedValue) return;
|
|
16758
16664
|
}
|
|
16759
16665
|
updateMaskValue(v);
|
|
16760
16666
|
} else if (innerValue.value !== v) {
|
|
@@ -16798,9 +16704,7 @@
|
|
|
16798
16704
|
emit("paste", e);
|
|
16799
16705
|
}
|
|
16800
16706
|
function onInput(e) {
|
|
16801
|
-
if (!e || !e.target)
|
|
16802
|
-
return;
|
|
16803
|
-
}
|
|
16707
|
+
if (!e || !e.target) return;
|
|
16804
16708
|
if (props4.type === "file") {
|
|
16805
16709
|
emit("update:modelValue", e.target.files);
|
|
16806
16710
|
return;
|
|
@@ -17231,9 +17135,7 @@
|
|
|
17231
17135
|
updatePosition(evt, true);
|
|
17232
17136
|
}
|
|
17233
17137
|
function onKeydown2(evt) {
|
|
17234
|
-
if (
|
|
17235
|
-
return;
|
|
17236
|
-
}
|
|
17138
|
+
if (keyCodes2.includes(evt.keyCode) === false) return;
|
|
17237
17139
|
stopAndPrevent(evt);
|
|
17238
17140
|
const stepVal = ([34, 33].includes(evt.keyCode) ? 10 : 1) * step.value, offset2 = [34, 37, 40].includes(evt.keyCode) ? -stepVal : stepVal;
|
|
17239
17141
|
model.value = between(
|
|
@@ -17363,9 +17265,7 @@
|
|
|
17363
17265
|
top: top - scroll.position.top,
|
|
17364
17266
|
left: left - scroll.position.left
|
|
17365
17267
|
};
|
|
17366
|
-
if (props4.axis === "vertical" && delta.top === 0 || props4.axis === "horizontal" && delta.left === 0)
|
|
17367
|
-
return;
|
|
17368
|
-
}
|
|
17268
|
+
if (props4.axis === "vertical" && delta.top === 0 || props4.axis === "horizontal" && delta.left === 0) return;
|
|
17369
17269
|
const curDir = Math.abs(delta.top) >= Math.abs(delta.left) ? delta.top < 0 ? "up" : "down" : delta.left < 0 ? "left" : "right";
|
|
17370
17270
|
scroll.position = { top, left };
|
|
17371
17271
|
scroll.directionChanged = scroll.direction !== curDir;
|
|
@@ -17537,9 +17437,7 @@
|
|
|
17537
17437
|
el.classList.remove("hide-scrollbar");
|
|
17538
17438
|
}, hideScrollbar = function() {
|
|
17539
17439
|
if (timer2 === null) {
|
|
17540
|
-
if (el.scrollHeight > $q.screen.height)
|
|
17541
|
-
return;
|
|
17542
|
-
}
|
|
17440
|
+
if (el.scrollHeight > $q.screen.height) return;
|
|
17543
17441
|
el.classList.add("hide-scrollbar");
|
|
17544
17442
|
} else {
|
|
17545
17443
|
clearTimeout(timer2);
|
|
@@ -18290,9 +18188,7 @@
|
|
|
18290
18188
|
get: () => props4.modelValue,
|
|
18291
18189
|
set: (val) => {
|
|
18292
18190
|
val = parseInt(val, 10);
|
|
18293
|
-
if (props4.disable || isNaN(val))
|
|
18294
|
-
return;
|
|
18295
|
-
}
|
|
18191
|
+
if (props4.disable || isNaN(val)) return;
|
|
18296
18192
|
const value2 = between(val, minProp.value, maxProp.value);
|
|
18297
18193
|
if (props4.modelValue !== value2) {
|
|
18298
18194
|
emit("update:modelValue", value2);
|
|
@@ -18789,9 +18685,7 @@
|
|
|
18789
18685
|
});
|
|
18790
18686
|
});
|
|
18791
18687
|
function set2() {
|
|
18792
|
-
if (props4.validate(currentModel.value) === false)
|
|
18793
|
-
return;
|
|
18794
|
-
}
|
|
18688
|
+
if (props4.validate(currentModel.value) === false) return;
|
|
18795
18689
|
if (hasModelChanged() === true) {
|
|
18796
18690
|
emit("save", currentModel.value, initialValue.value);
|
|
18797
18691
|
emit("update:modelValue", currentModel.value);
|
|
@@ -19116,11 +19010,11 @@
|
|
|
19116
19010
|
return false;
|
|
19117
19011
|
}
|
|
19118
19012
|
pulling.value = true;
|
|
19119
|
-
const { top, left } =
|
|
19013
|
+
const { top, left } = proxy.$el.getBoundingClientRect();
|
|
19120
19014
|
positionCSS.value = {
|
|
19121
19015
|
top: top + "px",
|
|
19122
19016
|
left: left + "px",
|
|
19123
|
-
width: window.getComputedStyle(
|
|
19017
|
+
width: window.getComputedStyle(proxy.$el).getPropertyValue("width")
|
|
19124
19018
|
};
|
|
19125
19019
|
}
|
|
19126
19020
|
prevent(event.evt);
|
|
@@ -19154,7 +19048,7 @@
|
|
|
19154
19048
|
});
|
|
19155
19049
|
});
|
|
19156
19050
|
}
|
|
19157
|
-
let
|
|
19051
|
+
let localScrollTarget, timer2 = null;
|
|
19158
19052
|
function animateTo({ pos, ratio }, done) {
|
|
19159
19053
|
animating.value = true;
|
|
19160
19054
|
pullPosition.value = pos;
|
|
@@ -19169,13 +19063,10 @@
|
|
|
19169
19063
|
}, 300);
|
|
19170
19064
|
}
|
|
19171
19065
|
function updateScrollTarget() {
|
|
19172
|
-
localScrollTarget = getScrollTarget(
|
|
19066
|
+
localScrollTarget = getScrollTarget(proxy.$el, props4.scrollTarget);
|
|
19173
19067
|
}
|
|
19174
19068
|
watch(() => props4.scrollTarget, updateScrollTarget);
|
|
19175
|
-
onMounted(
|
|
19176
|
-
$el = proxy.$el;
|
|
19177
|
-
updateScrollTarget();
|
|
19178
|
-
});
|
|
19069
|
+
onMounted(updateScrollTarget);
|
|
19179
19070
|
onBeforeUnmount(() => {
|
|
19180
19071
|
timer2 !== null && clearTimeout(timer2);
|
|
19181
19072
|
});
|
|
@@ -19444,9 +19335,7 @@
|
|
|
19444
19335
|
}
|
|
19445
19336
|
}
|
|
19446
19337
|
function onKeydown2(evt) {
|
|
19447
|
-
if (
|
|
19448
|
-
return;
|
|
19449
|
-
}
|
|
19338
|
+
if (keyCodes.includes(evt.keyCode) === false) return;
|
|
19450
19339
|
stopAndPrevent(evt);
|
|
19451
19340
|
const stepVal = ([34, 33].includes(evt.keyCode) ? 10 : 1) * state.keyStep.value, offset2 = ([34, 37, 40].includes(evt.keyCode) ? -1 : 1) * (state.isReversed.value === true ? -1 : 1) * (props4.vertical === true ? -1 : 1) * stepVal;
|
|
19452
19341
|
if (state.focus.value === "both") {
|
|
@@ -19939,9 +19828,7 @@
|
|
|
19939
19828
|
function onPanThumb(e, axis) {
|
|
19940
19829
|
const data = scroll[axis];
|
|
19941
19830
|
if (e.isFirst === true) {
|
|
19942
|
-
if (data.thumbHidden.value === true)
|
|
19943
|
-
return;
|
|
19944
|
-
}
|
|
19831
|
+
if (data.thumbHidden.value === true) return;
|
|
19945
19832
|
panRefPos = data.position.value;
|
|
19946
19833
|
panning.value = true;
|
|
19947
19834
|
} else if (panning.value !== true) {
|
|
@@ -20122,16 +20009,12 @@
|
|
|
20122
20009
|
];
|
|
20123
20010
|
var filterProto = Array.prototype.filter;
|
|
20124
20011
|
var setOverflowAnchor = window.getComputedStyle(document.body).overflowAnchor === void 0 ? noop : function(contentEl, index) {
|
|
20125
|
-
if (contentEl === null)
|
|
20126
|
-
return;
|
|
20127
|
-
}
|
|
20012
|
+
if (contentEl === null) return;
|
|
20128
20013
|
if (contentEl._qOverflowAnimationFrame !== void 0) {
|
|
20129
20014
|
cancelAnimationFrame(contentEl._qOverflowAnimationFrame);
|
|
20130
20015
|
}
|
|
20131
20016
|
contentEl._qOverflowAnimationFrame = requestAnimationFrame(() => {
|
|
20132
|
-
if (contentEl === null)
|
|
20133
|
-
return;
|
|
20134
|
-
}
|
|
20017
|
+
if (contentEl === null) return;
|
|
20135
20018
|
contentEl._qOverflowAnimationFrame = void 0;
|
|
20136
20019
|
const children = contentEl.children || [];
|
|
20137
20020
|
filterProto.call(children, (el2) => el2.dataset && el2.dataset.qVsAnchor !== void 0).forEach((el2) => {
|
|
@@ -20313,9 +20196,7 @@
|
|
|
20313
20196
|
}
|
|
20314
20197
|
function scrollTo(toIndex, edge) {
|
|
20315
20198
|
const scrollEl = getVirtualScrollTarget();
|
|
20316
|
-
if (scrollEl === void 0 || scrollEl === null || scrollEl.nodeType === 8)
|
|
20317
|
-
return;
|
|
20318
|
-
}
|
|
20199
|
+
if (scrollEl === void 0 || scrollEl === null || scrollEl.nodeType === 8) return;
|
|
20319
20200
|
const scrollDetails = getScrollDetails(
|
|
20320
20201
|
scrollEl,
|
|
20321
20202
|
getVirtualScrollEl(),
|
|
@@ -20337,9 +20218,7 @@
|
|
|
20337
20218
|
}
|
|
20338
20219
|
function localOnVirtualScrollEvt() {
|
|
20339
20220
|
const scrollEl = getVirtualScrollTarget();
|
|
20340
|
-
if (scrollEl === void 0 || scrollEl === null || scrollEl.nodeType === 8)
|
|
20341
|
-
return;
|
|
20342
|
-
}
|
|
20221
|
+
if (scrollEl === void 0 || scrollEl === null || scrollEl.nodeType === 8) return;
|
|
20343
20222
|
const scrollDetails = getScrollDetails(
|
|
20344
20223
|
scrollEl,
|
|
20345
20224
|
getVirtualScrollEl(),
|
|
@@ -20350,9 +20229,7 @@
|
|
|
20350
20229
|
props4.virtualScrollStickySizeStart,
|
|
20351
20230
|
props4.virtualScrollStickySizeEnd
|
|
20352
20231
|
), listLastIndex = virtualScrollLength.value - 1, listEndOffset = scrollDetails.scrollMaxSize - scrollDetails.offsetStart - scrollDetails.offsetEnd - virtualScrollPaddingAfter.value;
|
|
20353
|
-
if (prevScrollStart === scrollDetails.scrollStart)
|
|
20354
|
-
return;
|
|
20355
|
-
}
|
|
20232
|
+
if (prevScrollStart === scrollDetails.scrollStart) return;
|
|
20356
20233
|
if (scrollDetails.scrollMaxSize <= 0) {
|
|
20357
20234
|
setVirtualScrollSliceRange(scrollEl, scrollDetails, 0, 0);
|
|
20358
20235
|
return;
|
|
@@ -20434,9 +20311,7 @@
|
|
|
20434
20311
|
});
|
|
20435
20312
|
}
|
|
20436
20313
|
requestAnimationFrame(() => {
|
|
20437
|
-
if (prevScrollStart !== scrollDetails.scrollStart)
|
|
20438
|
-
return;
|
|
20439
|
-
}
|
|
20314
|
+
if (prevScrollStart !== scrollDetails.scrollStart) return;
|
|
20440
20315
|
if (rangeChanged === true) {
|
|
20441
20316
|
updateVirtualScrollSizes(from);
|
|
20442
20317
|
}
|
|
@@ -20975,21 +20850,15 @@
|
|
|
20975
20850
|
emit("update:modelValue", props4.multiple === true ? [val] : val);
|
|
20976
20851
|
return;
|
|
20977
20852
|
}
|
|
20978
|
-
if (unique === true && isOptionSelected(opt) === true)
|
|
20979
|
-
|
|
20980
|
-
}
|
|
20981
|
-
if (props4.maxValues !== void 0 && props4.modelValue.length >= props4.maxValues) {
|
|
20982
|
-
return;
|
|
20983
|
-
}
|
|
20853
|
+
if (unique === true && isOptionSelected(opt) === true) return;
|
|
20854
|
+
if (props4.maxValues !== void 0 && props4.modelValue.length >= props4.maxValues) return;
|
|
20984
20855
|
const model = props4.modelValue.slice();
|
|
20985
20856
|
emit("add", { index: model.length, value: val });
|
|
20986
20857
|
model.push(val);
|
|
20987
20858
|
emit("update:modelValue", model);
|
|
20988
20859
|
}
|
|
20989
20860
|
function toggleOption(opt, keepOpen) {
|
|
20990
|
-
if (state.editable.value !== true || opt === void 0 || isOptionDisabled.value(opt) === true)
|
|
20991
|
-
return;
|
|
20992
|
-
}
|
|
20861
|
+
if (state.editable.value !== true || opt === void 0 || isOptionDisabled.value(opt) === true) return;
|
|
20993
20862
|
const optValue = getOptionValue.value(opt);
|
|
20994
20863
|
if (props4.multiple !== true) {
|
|
20995
20864
|
if (keepOpen !== true) {
|
|
@@ -21018,9 +20887,7 @@
|
|
|
21018
20887
|
if (index !== -1) {
|
|
21019
20888
|
emit("remove", { index, value: model.splice(index, 1)[0] });
|
|
21020
20889
|
} else {
|
|
21021
|
-
if (props4.maxValues !== void 0 && model.length >= props4.maxValues)
|
|
21022
|
-
return;
|
|
21023
|
-
}
|
|
20890
|
+
if (props4.maxValues !== void 0 && model.length >= props4.maxValues) return;
|
|
21024
20891
|
const val = props4.emitValue === true ? optValue : opt;
|
|
21025
20892
|
emit("add", { index: model.length, value: val });
|
|
21026
20893
|
model.push(val);
|
|
@@ -21120,9 +20987,7 @@
|
|
|
21120
20987
|
}
|
|
21121
20988
|
function onTargetKeydown(e) {
|
|
21122
20989
|
emit("keydown", e);
|
|
21123
|
-
if (shouldIgnoreKey(e) === true)
|
|
21124
|
-
return;
|
|
21125
|
-
}
|
|
20990
|
+
if (shouldIgnoreKey(e) === true) return;
|
|
21126
20991
|
const newValueModeValid = inputValue.value.length !== 0 && (props4.newValueMode !== void 0 || props4.onNewValue !== void 0);
|
|
21127
20992
|
const tabShouldSelect = e.shiftKey !== true && props4.disableTabSelection !== true && props4.multiple !== true && (optionIndex.value !== -1 || newValueModeValid === true);
|
|
21128
20993
|
if (e.keyCode === 27) {
|
|
@@ -21206,16 +21071,12 @@
|
|
|
21206
21071
|
if (newValueModeValid === true) {
|
|
21207
21072
|
const done = (val, mode) => {
|
|
21208
21073
|
if (mode) {
|
|
21209
|
-
if (validateNewValueMode(mode) !== true)
|
|
21210
|
-
return;
|
|
21211
|
-
}
|
|
21074
|
+
if (validateNewValueMode(mode) !== true) return;
|
|
21212
21075
|
} else {
|
|
21213
21076
|
mode = props4.newValueMode;
|
|
21214
21077
|
}
|
|
21215
21078
|
updateInputValue("", props4.multiple !== true, true);
|
|
21216
|
-
if (val === void 0 || val === null)
|
|
21217
|
-
return;
|
|
21218
|
-
}
|
|
21079
|
+
if (val === void 0 || val === null) return;
|
|
21219
21080
|
const fn = mode === "toggle" ? toggleOption : add;
|
|
21220
21081
|
fn(val, mode === "add-unique");
|
|
21221
21082
|
if (props4.multiple !== true) {
|
|
@@ -21228,9 +21089,7 @@
|
|
|
21228
21089
|
} else {
|
|
21229
21090
|
done(inputValue.value);
|
|
21230
21091
|
}
|
|
21231
|
-
if (props4.multiple !== true)
|
|
21232
|
-
return;
|
|
21233
|
-
}
|
|
21092
|
+
if (props4.multiple !== true) return;
|
|
21234
21093
|
}
|
|
21235
21094
|
if (menu.value === true) {
|
|
21236
21095
|
closeMenu();
|
|
@@ -21338,9 +21197,7 @@
|
|
|
21338
21197
|
clearTimeout(inputValueTimer);
|
|
21339
21198
|
inputValueTimer = null;
|
|
21340
21199
|
}
|
|
21341
|
-
if (e && e.target && e.target.qComposing === true)
|
|
21342
|
-
return;
|
|
21343
|
-
}
|
|
21200
|
+
if (e && e.target && e.target.qComposing === true) return;
|
|
21344
21201
|
setInputValue(e.target.value || "");
|
|
21345
21202
|
userInputValue = true;
|
|
21346
21203
|
defaultInputValue = inputValue.value;
|
|
@@ -21378,9 +21235,7 @@
|
|
|
21378
21235
|
}
|
|
21379
21236
|
}
|
|
21380
21237
|
function filter(val, keepClosed, afterUpdateFn) {
|
|
21381
|
-
if (props4.onFilter === void 0 || keepClosed !== true && state.focused.value !== true)
|
|
21382
|
-
return;
|
|
21383
|
-
}
|
|
21238
|
+
if (props4.onFilter === void 0 || keepClosed !== true && state.focused.value !== true) return;
|
|
21384
21239
|
if (state.innerLoading.value === true) {
|
|
21385
21240
|
emit("filterAbort");
|
|
21386
21241
|
} else {
|
|
@@ -21550,9 +21405,7 @@
|
|
|
21550
21405
|
setVirtualScrollSize();
|
|
21551
21406
|
}
|
|
21552
21407
|
function closeMenu() {
|
|
21553
|
-
if (dialog.value === true)
|
|
21554
|
-
return;
|
|
21555
|
-
}
|
|
21408
|
+
if (dialog.value === true) return;
|
|
21556
21409
|
optionIndex.value = -1;
|
|
21557
21410
|
if (menu.value === true) {
|
|
21558
21411
|
menu.value = false;
|
|
@@ -21570,9 +21423,7 @@
|
|
|
21570
21423
|
}
|
|
21571
21424
|
}
|
|
21572
21425
|
function showPopup(e) {
|
|
21573
|
-
if (state.editable.value !== true)
|
|
21574
|
-
return;
|
|
21575
|
-
}
|
|
21426
|
+
if (state.editable.value !== true) return;
|
|
21576
21427
|
if (hasDialog === true) {
|
|
21577
21428
|
state.onControlFocusin(e);
|
|
21578
21429
|
dialog.value = true;
|
|
@@ -21929,9 +21780,7 @@
|
|
|
21929
21780
|
showing = dir === 2 ? "top" : "bottom";
|
|
21930
21781
|
dist = evt.distance.y;
|
|
21931
21782
|
}
|
|
21932
|
-
if (pan.dir !== null && Math.abs(dir) !== Math.abs(pan.dir))
|
|
21933
|
-
return;
|
|
21934
|
-
}
|
|
21783
|
+
if (pan.dir !== null && Math.abs(dir) !== Math.abs(pan.dir)) return;
|
|
21935
21784
|
if (pan.dir !== dir) {
|
|
21936
21785
|
["left", "right", "top", "bottom"].forEach((d) => {
|
|
21937
21786
|
if (dirRefs[d]) {
|
|
@@ -23314,9 +23163,7 @@
|
|
|
23314
23163
|
}));
|
|
23315
23164
|
});
|
|
23316
23165
|
watch(pagesNumber, (lastPage2, oldLastPage) => {
|
|
23317
|
-
if (lastPage2 === oldLastPage)
|
|
23318
|
-
return;
|
|
23319
|
-
}
|
|
23166
|
+
if (lastPage2 === oldLastPage) return;
|
|
23320
23167
|
const currentPage = computedPagination.value.page;
|
|
23321
23168
|
if (lastPage2 && !currentPage) {
|
|
23322
23169
|
setPagination({ page: 1 });
|
|
@@ -23954,9 +23801,7 @@
|
|
|
23954
23801
|
])
|
|
23955
23802
|
);
|
|
23956
23803
|
}
|
|
23957
|
-
if (child.length === 0)
|
|
23958
|
-
return;
|
|
23959
|
-
}
|
|
23804
|
+
if (child.length === 0) return;
|
|
23960
23805
|
return h("div", { class: topClass }, child);
|
|
23961
23806
|
}
|
|
23962
23807
|
const headerSelectedValue = computed(() => someRowsSelected.value === true ? null : allRowsSelected.value);
|
|
@@ -24053,13 +23898,9 @@
|
|
|
24053
23898
|
return $q.lang.rtl === true ? ico.reverse() : ico;
|
|
24054
23899
|
});
|
|
24055
23900
|
function getBottomDiv() {
|
|
24056
|
-
if (props4.hideBottom === true)
|
|
24057
|
-
return;
|
|
24058
|
-
}
|
|
23901
|
+
if (props4.hideBottom === true) return;
|
|
24059
23902
|
if (nothingToDisplay.value === true) {
|
|
24060
|
-
if (props4.hideNoData === true)
|
|
24061
|
-
return;
|
|
24062
|
-
}
|
|
23903
|
+
if (props4.hideNoData === true) return;
|
|
24063
23904
|
const message = props4.loading === true ? props4.loadingLabel || $q.lang.table.loading : props4.filter ? props4.noResultsLabel || $q.lang.table.noResults : props4.noDataLabel || $q.lang.table.noData;
|
|
24064
23905
|
const noData = slots["no-data"];
|
|
24065
23906
|
const children = noData !== void 0 ? [noData({ message, icon: $q.iconSet.table.warning, filter: props4.filter })] : [
|
|
@@ -24620,9 +24461,7 @@
|
|
|
24620
24461
|
};
|
|
24621
24462
|
}
|
|
24622
24463
|
function onPan(event) {
|
|
24623
|
-
if (shouldAbortInteraction() === true)
|
|
24624
|
-
return;
|
|
24625
|
-
}
|
|
24464
|
+
if (shouldAbortInteraction() === true) return;
|
|
24626
24465
|
if (event.isFirst === true) {
|
|
24627
24466
|
draggingClockRect = getClockRect();
|
|
24628
24467
|
dragCache = updateClock(event.evt, draggingClockRect);
|
|
@@ -24846,9 +24685,7 @@
|
|
|
24846
24685
|
goToViewWhenHasModel("second");
|
|
24847
24686
|
return;
|
|
24848
24687
|
}
|
|
24849
|
-
if (innerModel.value.hour === null || innerModel.value.minute === null || props4.withSeconds === true && innerModel.value.second === null)
|
|
24850
|
-
return;
|
|
24851
|
-
}
|
|
24688
|
+
if (innerModel.value.hour === null || innerModel.value.minute === null || props4.withSeconds === true && innerModel.value.second === null) return;
|
|
24852
24689
|
updateValue2();
|
|
24853
24690
|
}
|
|
24854
24691
|
function updateValue2(obj) {
|
|
@@ -25364,9 +25201,7 @@
|
|
|
25364
25201
|
}
|
|
25365
25202
|
function setExpanded(key, state, node = getNodeByKey(key), m = meta.value[key]) {
|
|
25366
25203
|
if (m.lazy && m.lazy !== "loaded") {
|
|
25367
|
-
if (m.lazy === "loading")
|
|
25368
|
-
return;
|
|
25369
|
-
}
|
|
25204
|
+
if (m.lazy === "loading") return;
|
|
25370
25205
|
lazy.value[key] = "loading";
|
|
25371
25206
|
if (Array.isArray(node[props4.childrenKey]) !== true) {
|
|
25372
25207
|
node[props4.childrenKey] = [];
|
|
@@ -25815,9 +25650,7 @@
|
|
|
25815
25650
|
});
|
|
25816
25651
|
}
|
|
25817
25652
|
function batchRemoveFiles(statusList, cb) {
|
|
25818
|
-
if (props4.disable === true)
|
|
25819
|
-
return;
|
|
25820
|
-
}
|
|
25653
|
+
if (props4.disable === true) return;
|
|
25821
25654
|
const removed = {
|
|
25822
25655
|
files: [],
|
|
25823
25656
|
size: 0
|
|
@@ -26214,9 +26047,7 @@
|
|
|
26214
26047
|
}
|
|
26215
26048
|
}, false);
|
|
26216
26049
|
xhr2.onreadystatechange = () => {
|
|
26217
|
-
if (xhr2.readyState < 4)
|
|
26218
|
-
return;
|
|
26219
|
-
}
|
|
26050
|
+
if (xhr2.readyState < 4) return;
|
|
26220
26051
|
if (xhr2.status && xhr2.status < 400) {
|
|
26221
26052
|
helpers.uploadedFiles.value = helpers.uploadedFiles.value.concat(files);
|
|
26222
26053
|
files.forEach((f) => {
|
|
@@ -27075,9 +26906,7 @@
|
|
|
27075
26906
|
elToClone.style.animation = `${options.duration}ms ${options.easing} ${options.delay}ms ${animationDirection} ${options.fill} ${qAnimId}-to`;
|
|
27076
26907
|
elTo.style.animation = `${options.duration}ms ${options.easing} ${options.delay}ms ${animationDirection} ${options.fill} ${qAnimId}`;
|
|
27077
26908
|
const cleanup = (evt) => {
|
|
27078
|
-
if (evt === Object(evt) && evt.animationName !== qAnimId)
|
|
27079
|
-
return;
|
|
27080
|
-
}
|
|
26909
|
+
if (evt === Object(evt) && evt.animationName !== qAnimId) return;
|
|
27081
26910
|
elTo.removeEventListener("animationend", cleanup);
|
|
27082
26911
|
elTo.removeEventListener("animationcancel", cleanup);
|
|
27083
26912
|
commonCleanup();
|
|
@@ -27176,9 +27005,7 @@
|
|
|
27176
27005
|
}
|
|
27177
27006
|
}
|
|
27178
27007
|
function trigger2(group) {
|
|
27179
|
-
if (group.animating === true || group.queue.length < 2)
|
|
27180
|
-
return;
|
|
27181
|
-
}
|
|
27008
|
+
if (group.animating === true || group.queue.length < 2) return;
|
|
27182
27009
|
const [from, to] = group.queue;
|
|
27183
27010
|
group.animating = true;
|
|
27184
27011
|
from.animating = true;
|
|
@@ -27195,9 +27022,7 @@
|
|
|
27195
27022
|
...to.opts,
|
|
27196
27023
|
onEnd(dir, aborted) {
|
|
27197
27024
|
to.opts.onEnd !== void 0 && to.opts.onEnd(dir, aborted);
|
|
27198
|
-
if (aborted === true)
|
|
27199
|
-
return;
|
|
27200
|
-
}
|
|
27025
|
+
if (aborted === true) return;
|
|
27201
27026
|
from.animating = false;
|
|
27202
27027
|
to.animating = false;
|
|
27203
27028
|
group.animating = false;
|
|
@@ -27473,9 +27298,7 @@
|
|
|
27473
27298
|
name: "touch-hold",
|
|
27474
27299
|
beforeMount(el, binding) {
|
|
27475
27300
|
const { modifiers } = binding;
|
|
27476
|
-
if (modifiers.mouse !== true && client.has.touch !== true)
|
|
27477
|
-
return;
|
|
27478
|
-
}
|
|
27301
|
+
if (modifiers.mouse !== true && client.has.touch !== true) return;
|
|
27479
27302
|
const ctx = {
|
|
27480
27303
|
handler: binding.value,
|
|
27481
27304
|
noop,
|
|
@@ -27619,9 +27442,7 @@
|
|
|
27619
27442
|
}
|
|
27620
27443
|
return acc;
|
|
27621
27444
|
}, []);
|
|
27622
|
-
if (modifiers.mouse !== true && client.has.touch !== true && keyboard.length === 0)
|
|
27623
|
-
return;
|
|
27624
|
-
}
|
|
27445
|
+
if (modifiers.mouse !== true && client.has.touch !== true && keyboard.length === 0) return;
|
|
27625
27446
|
const durations = typeof arg === "string" && arg.length !== 0 ? arg.split(":").map((val) => parseInt(val, 10)) : [0, 600, 300];
|
|
27626
27447
|
const durationsLast = durations.length - 1;
|
|
27627
27448
|
const ctx = {
|
|
@@ -27642,9 +27463,7 @@
|
|
|
27642
27463
|
if (durations[0] === 0 || ctx.event !== void 0) {
|
|
27643
27464
|
stopAndPrevent(evt);
|
|
27644
27465
|
el.focus();
|
|
27645
|
-
if (ctx.event !== void 0)
|
|
27646
|
-
return;
|
|
27647
|
-
}
|
|
27466
|
+
if (ctx.event !== void 0) return;
|
|
27648
27467
|
}
|
|
27649
27468
|
addEvt(ctx, "temp", [
|
|
27650
27469
|
[document, "keyup", "end", "notPassiveCapture"],
|
|
@@ -27695,9 +27514,7 @@
|
|
|
27695
27514
|
};
|
|
27696
27515
|
const fn = () => {
|
|
27697
27516
|
ctx.timer = void 0;
|
|
27698
|
-
if (ctx.event === void 0)
|
|
27699
|
-
return;
|
|
27700
|
-
}
|
|
27517
|
+
if (ctx.event === void 0) return;
|
|
27701
27518
|
if (ctx.event.repeatCount === 0) {
|
|
27702
27519
|
ctx.event.evt = evt;
|
|
27703
27520
|
if (keyboardEvent === true) {
|
|
@@ -27731,9 +27548,7 @@
|
|
|
27731
27548
|
}
|
|
27732
27549
|
},
|
|
27733
27550
|
end(evt) {
|
|
27734
|
-
if (ctx.event === void 0)
|
|
27735
|
-
return;
|
|
27736
|
-
}
|
|
27551
|
+
if (ctx.event === void 0) return;
|
|
27737
27552
|
ctx.styleCleanup !== void 0 && ctx.styleCleanup(true);
|
|
27738
27553
|
evt !== void 0 && ctx.event.repeatCount > 0 && stopAndPrevent(evt);
|
|
27739
27554
|
cleanEvt(ctx, "temp");
|
|
@@ -29934,7 +29749,7 @@
|
|
|
29934
29749
|
console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");
|
|
29935
29750
|
}
|
|
29936
29751
|
window.Quasar = {
|
|
29937
|
-
version: "2.17.
|
|
29752
|
+
version: "2.17.5",
|
|
29938
29753
|
install(app2, opts) {
|
|
29939
29754
|
install_quasar_default(app2, {
|
|
29940
29755
|
components: components_exports,
|