shared-ritm 1.1.78 → 1.1.80
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/index.css +1 -1
- package/dist/shared-ritm.es.js +377 -370
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/services/TasksService.d.ts +3 -0
- package/package.json +1 -1
- package/src/api/services/AuthService.ts +41 -41
- package/src/api/services/FileService.ts +15 -15
- package/src/api/services/TasksService.ts +132 -128
- package/src/api/settings/ApiService.ts +125 -125
- package/src/api/types/Api_Repairs.ts +93 -93
- package/src/common/app-button/AppButton.vue +173 -173
- package/src/common/app-date-picker/AppDatePicker.vue +79 -76
- package/src/common/app-icon/AppIcon.vue +104 -104
- package/src/common/app-input/AppInput.vue +147 -147
- package/src/common/app-layout/AppLayout.vue +63 -63
- package/src/common/app-layout/components/AppLayoutHeader.vue +123 -123
- package/src/common/app-loader/index.vue +43 -43
- package/src/common/app-page-layout/AppPageLayout.vue +122 -122
- package/src/common/app-sheet/AppSheet.vue +114 -114
- package/src/common/app-sidebar/AppSidebar.vue +168 -168
- package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
- package/src/common/app-sidebar/components/SidebarMenuItem.vue +139 -139
- package/src/common/app-toggle/AppToggle.vue +23 -23
- package/src/global.d.ts +1 -1
- package/src/icons/components/arrow-down-icon.vue +25 -25
- package/src/icons/components/arrow-frame-icon.vue +19 -19
- package/src/icons/components/arrow-square.vue +22 -22
- package/src/icons/header/flashIcon.vue +24 -24
- package/src/icons/header/notificationIcon.vue +18 -18
- package/src/icons/header/searchStatusIcon.vue +24 -24
- package/src/icons/header/smallCapsIcon.vue +34 -34
- package/src/icons/sidebar/assign-module-icon.vue +36 -36
- package/src/icons/sidebar/instrument-history-icon.vue +32 -32
- package/src/icons/sidebar/instrument-order-icon.vue +38 -38
- package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
- package/src/icons/sidebar/instruments-icon.vue +45 -45
- package/src/icons/sidebar/logo-icon.vue +15 -15
- package/src/icons/sidebar/logout-icon.vue +13 -13
- package/src/icons/sidebar/modules-icon.vue +16 -16
- package/src/icons/sidebar/notifications-icon.vue +24 -24
- package/src/icons/sidebar/order-icon.vue +44 -44
- package/src/icons/sidebar/pass-icon.vue +38 -38
- package/src/icons/sidebar/positions-icon.vue +42 -42
- package/src/icons/sidebar/preorder-icon.vue +19 -19
- package/src/icons/sidebar/projects-icon.vue +31 -31
- package/src/icons/sidebar/repair-object-icon.vue +18 -18
- package/src/icons/sidebar/repairs-icon.vue +20 -20
- package/src/icons/sidebar/roles-icon.vue +26 -26
- package/src/icons/sidebar/status-history-icon.vue +24 -24
- package/src/icons/sidebar/tasks-icon.vue +28 -28
- package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
- package/src/icons/sidebar/tasks_today-icon.vue +27 -27
- package/src/icons/sidebar/teams-icon.vue +32 -32
- package/src/icons/sidebar/user-icon.vue +18 -18
- package/src/icons/sidebar/users-icon.vue +46 -46
- package/src/icons/sidebar/videosources-icon.vue +19 -19
- package/src/icons/sidebar/videowall-icon.vue +13 -13
- package/src/icons/sidebar/videozones-icon.vue +21 -21
- package/src/icons/sidebar/warehouses-icon.vue +43 -43
- package/src/icons/sidebar/workshop-icon.vue +100 -100
- package/src/icons/sidebar/workzones-icon.vue +22 -22
- package/src/main.ts +18 -18
- package/src/quasar-user-options.ts +17 -17
- package/src/router/index.ts +10 -10
- package/src/shims-vue.d.ts +5 -5
package/dist/shared-ritm.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ya = Object.defineProperty;
|
|
2
2
|
var Qa = (e, t, n) => t in e ? Ya(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var dl = (e, t, n) => Qa(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { markRaw as wi, defineComponent as Ne, reactive as gn, h as
|
|
4
|
+
import { markRaw as wi, defineComponent as Ne, reactive as gn, h as p, withDirectives as nn, computed as d, ref as j, getCurrentInstance as ge, nextTick as Le, watch as te, onMounted as vt, onBeforeUnmount as Te, onUnmounted as ki, Teleport as Ka, onDeactivated as So, unref as ao, Transition as ht, useCssVars as kn, openBlock as Y, createBlock as _e, mergeProps as Za, withCtx as ce, renderSlot as ut, createTextVNode as et, toDisplayString as rt, createCommentVNode as Ye, toRaw as cn, normalizeClass as me, createElementBlock as de, createVNode as ye, createElementVNode as W, onBeforeUpdate as _i, inject as Gt, onActivated as Ci, provide as Si, onBeforeMount as Xa, onUpdated as Ja, createSlots as Ga, Fragment as xo, shallowReactive as es, vShow as ts, createStaticVNode as pt, resolveDynamicComponent as ns, resolveComponent as os, renderList as xi } from "vue";
|
|
5
5
|
function _n(e, t, n, o) {
|
|
6
6
|
return Object.defineProperty(e, t, {
|
|
7
7
|
get: n,
|
|
@@ -47,7 +47,7 @@ function ls(e, t) {
|
|
|
47
47
|
}
|
|
48
48
|
function yr(e, t, n, o, r, l) {
|
|
49
49
|
t.key = o + r;
|
|
50
|
-
const i =
|
|
50
|
+
const i = p(e, t, n);
|
|
51
51
|
return r === !0 ? nn(i, l()) : i;
|
|
52
52
|
}
|
|
53
53
|
const is = ["top", "middle", "bottom"], as = pe({
|
|
@@ -71,7 +71,7 @@ const is = ["top", "middle", "bottom"], as = pe({
|
|
|
71
71
|
const r = e.outline === !0 && e.color || e.textColor;
|
|
72
72
|
return `q-badge flex inline items-center no-wrap q-badge--${e.multiLine === !0 ? "multi" : "single"}-line` + (e.outline === !0 ? " q-badge--outline" : e.color !== void 0 ? ` bg-${e.color}` : "") + (r !== void 0 ? ` text-${r}` : "") + (e.floating === !0 ? " q-badge--floating" : "") + (e.rounded === !0 ? " q-badge--rounded" : "") + (e.transparent === !0 ? " q-badge--transparent" : "");
|
|
73
73
|
});
|
|
74
|
-
return () =>
|
|
74
|
+
return () => p("div", {
|
|
75
75
|
class: o.value,
|
|
76
76
|
style: n.value,
|
|
77
77
|
role: "status",
|
|
@@ -293,47 +293,47 @@ function Pr({
|
|
|
293
293
|
}) {
|
|
294
294
|
const { props: o, proxy: r, emit: l } = ge(), i = j(null);
|
|
295
295
|
let a = null;
|
|
296
|
-
function u(
|
|
297
|
-
return i.value === null ? !1 :
|
|
296
|
+
function u(g) {
|
|
297
|
+
return i.value === null ? !1 : g === void 0 || g.touches === void 0 || g.touches.length <= 1;
|
|
298
298
|
}
|
|
299
299
|
const c = {};
|
|
300
300
|
n === void 0 && (Object.assign(c, {
|
|
301
|
-
hide(
|
|
302
|
-
r.hide(
|
|
301
|
+
hide(g) {
|
|
302
|
+
r.hide(g);
|
|
303
303
|
},
|
|
304
|
-
toggle(
|
|
305
|
-
r.toggle(
|
|
304
|
+
toggle(g) {
|
|
305
|
+
r.toggle(g), g.qAnchorHandled = !0;
|
|
306
306
|
},
|
|
307
|
-
toggleKey(
|
|
308
|
-
It(
|
|
307
|
+
toggleKey(g) {
|
|
308
|
+
It(g, 13) === !0 && c.toggle(g);
|
|
309
309
|
},
|
|
310
|
-
contextClick(
|
|
311
|
-
r.hide(
|
|
312
|
-
r.show(
|
|
310
|
+
contextClick(g) {
|
|
311
|
+
r.hide(g), Ge(g), Le(() => {
|
|
312
|
+
r.show(g), g.qAnchorHandled = !0;
|
|
313
313
|
});
|
|
314
314
|
},
|
|
315
315
|
prevent: Ge,
|
|
316
|
-
mobileTouch(
|
|
317
|
-
if (c.mobileCleanup(
|
|
316
|
+
mobileTouch(g) {
|
|
317
|
+
if (c.mobileCleanup(g), u(g) !== !0)
|
|
318
318
|
return;
|
|
319
|
-
r.hide(
|
|
320
|
-
const v =
|
|
319
|
+
r.hide(g), i.value.classList.add("non-selectable");
|
|
320
|
+
const v = g.target;
|
|
321
321
|
Et(c, "anchor", [
|
|
322
322
|
[v, "touchmove", "mobileCleanup", "passive"],
|
|
323
323
|
[v, "touchend", "mobileCleanup", "passive"],
|
|
324
324
|
[v, "touchcancel", "mobileCleanup", "passive"],
|
|
325
325
|
[i.value, "contextmenu", "prevent", "notPassive"]
|
|
326
326
|
]), a = setTimeout(() => {
|
|
327
|
-
a = null, r.show(
|
|
327
|
+
a = null, r.show(g), g.qAnchorHandled = !0;
|
|
328
328
|
}, 300);
|
|
329
329
|
},
|
|
330
|
-
mobileCleanup(
|
|
331
|
-
i.value.classList.remove("non-selectable"), a !== null && (clearTimeout(a), a = null), e.value === !0 &&
|
|
330
|
+
mobileCleanup(g) {
|
|
331
|
+
i.value.classList.remove("non-selectable"), a !== null && (clearTimeout(a), a = null), e.value === !0 && g !== void 0 && so();
|
|
332
332
|
}
|
|
333
|
-
}), n = function(
|
|
333
|
+
}), n = function(g = o.contextMenu) {
|
|
334
334
|
if (o.noParentEvent === !0 || i.value === null) return;
|
|
335
335
|
let v;
|
|
336
|
-
|
|
336
|
+
g === !0 ? r.$q.platform.is.mobile === !0 ? v = [
|
|
337
337
|
[i.value, "touchstart", "mobileTouch", "passive"]
|
|
338
338
|
] : v = [
|
|
339
339
|
[i.value, "mousedown", "hide", "passive"],
|
|
@@ -346,8 +346,8 @@ function Pr({
|
|
|
346
346
|
function s() {
|
|
347
347
|
Qt(c, "anchor");
|
|
348
348
|
}
|
|
349
|
-
function f(
|
|
350
|
-
for (i.value =
|
|
349
|
+
function f(g) {
|
|
350
|
+
for (i.value = g; i.value.classList.contains("q-anchor--skip"); )
|
|
351
351
|
i.value = i.value.parentNode;
|
|
352
352
|
n();
|
|
353
353
|
}
|
|
@@ -357,22 +357,22 @@ function Pr({
|
|
|
357
357
|
else if (o.target === !0)
|
|
358
358
|
f(r.$el.parentNode);
|
|
359
359
|
else {
|
|
360
|
-
let
|
|
360
|
+
let g = o.target;
|
|
361
361
|
if (typeof o.target == "string")
|
|
362
362
|
try {
|
|
363
|
-
|
|
363
|
+
g = document.querySelector(o.target);
|
|
364
364
|
} catch {
|
|
365
|
-
|
|
365
|
+
g = void 0;
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
g != null ? (i.value = g.$el || g, n()) : (i.value = null, console.error(`Anchor: target "${o.target}" not found`));
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
return te(() => o.contextMenu, (
|
|
371
|
-
i.value !== null && (s(), n(
|
|
370
|
+
return te(() => o.contextMenu, (g) => {
|
|
371
|
+
i.value !== null && (s(), n(g));
|
|
372
372
|
}), te(() => o.target, () => {
|
|
373
373
|
i.value !== null && s(), b();
|
|
374
|
-
}), te(() => o.noParentEvent, (
|
|
375
|
-
i.value !== null && (
|
|
374
|
+
}), te(() => o.noParentEvent, (g) => {
|
|
375
|
+
i.value !== null && (g === !0 ? s() : n());
|
|
376
376
|
}), vt(() => {
|
|
377
377
|
b(), t !== !0 && o.modelValue === !0 && i.value === null && l("update:modelValue", !1);
|
|
378
378
|
}), Te(() => {
|
|
@@ -454,9 +454,9 @@ function In({
|
|
|
454
454
|
const B = a["onUpdate:modelValue"] !== void 0;
|
|
455
455
|
B === !0 && (u("update:modelValue", !0), s = S, Le(() => {
|
|
456
456
|
s === S && (s = void 0);
|
|
457
|
-
})), (a.modelValue === null || B === !1) &&
|
|
457
|
+
})), (a.modelValue === null || B === !1) && g(S);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function g(S) {
|
|
460
460
|
e.value !== !0 && (e.value = !0, u("beforeShow", S), o !== void 0 ? o(S) : u("show", S));
|
|
461
461
|
}
|
|
462
462
|
function v(S) {
|
|
@@ -471,7 +471,7 @@ function In({
|
|
|
471
471
|
e.value !== !1 && (e.value = !1, u("beforeHide", S), r !== void 0 ? r(S) : u("hide", S));
|
|
472
472
|
}
|
|
473
473
|
function m(S) {
|
|
474
|
-
a.disable === !0 && S === !0 ? a["onUpdate:modelValue"] !== void 0 && u("update:modelValue", !1) : S === !0 !== e.value && (S === !0 ?
|
|
474
|
+
a.disable === !0 && S === !0 ? a["onUpdate:modelValue"] !== void 0 && u("update:modelValue", !1) : S === !0 !== e.value && (S === !0 ? g : w)(s);
|
|
475
475
|
}
|
|
476
476
|
te(() => a.modelValue, m), n !== void 0 && Li(i) === !0 && te(() => c.$route.fullPath, () => {
|
|
477
477
|
n.value === !0 && e.value === !0 && v();
|
|
@@ -580,7 +580,7 @@ function Hr(e, t, n, o) {
|
|
|
580
580
|
hidePortal: s,
|
|
581
581
|
portalIsActive: r,
|
|
582
582
|
portalIsAccessible: l,
|
|
583
|
-
renderPortal: () => u === !0 ? n() : r.value === !0 ? [
|
|
583
|
+
renderPortal: () => u === !0 ? n() : r.value === !0 ? [p(Ka, { to: i }, p(_s, n))] : void 0
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
586
|
const yn = {
|
|
@@ -837,7 +837,7 @@ function Nr(e, t = 0) {
|
|
|
837
837
|
const O = document.body.style, { offsetLeft: D, offsetTop: Z } = window.visualViewport;
|
|
838
838
|
D !== ml && (O.setProperty("--q-pe-left", D + "px"), ml = D), Z !== gl && (O.setProperty("--q-pe-top", Z + "px"), gl = Z);
|
|
839
839
|
}
|
|
840
|
-
const { scrollLeft: b, scrollTop:
|
|
840
|
+
const { scrollLeft: b, scrollTop: g } = n, v = a === void 0 ? qs(r, c === !0 ? [0, 0] : o) : Bs(r, a, o);
|
|
841
841
|
Object.assign(n.style, {
|
|
842
842
|
top: 0,
|
|
843
843
|
left: 0,
|
|
@@ -873,7 +873,7 @@ function Nr(e, t = 0) {
|
|
|
873
873
|
B = {
|
|
874
874
|
top: E.top + "px",
|
|
875
875
|
left: E.left + "px"
|
|
876
|
-
}, E.maxHeight !== void 0 && (B.maxHeight = E.maxHeight + "px", v.height > E.maxHeight && (B.minHeight = B.maxHeight)), E.maxWidth !== void 0 && (B.maxWidth = E.maxWidth + "px", v.width > E.maxWidth && (B.minWidth = B.maxWidth)), Object.assign(n.style, B), n.scrollTop !==
|
|
876
|
+
}, E.maxHeight !== void 0 && (B.maxHeight = E.maxHeight + "px", v.height > E.maxHeight && (B.minHeight = B.maxHeight)), E.maxWidth !== void 0 && (B.maxWidth = E.maxWidth + "px", v.width > E.maxWidth && (B.minWidth = B.maxWidth)), Object.assign(n.style, B), n.scrollTop !== g && (n.scrollTop = g), n.scrollLeft !== b && (n.scrollLeft = b);
|
|
877
877
|
}
|
|
878
878
|
function Uo(e, t, n, o, r) {
|
|
879
879
|
const l = n.bottom, i = n.right, a = oo(), u = window.innerHeight - a, c = document.body.clientWidth;
|
|
@@ -960,7 +960,7 @@ const mo = pe({
|
|
|
960
960
|
],
|
|
961
961
|
setup(e, { slots: t, emit: n, attrs: o }) {
|
|
962
962
|
let r, l;
|
|
963
|
-
const i = ge(), { proxy: { $q: a } } = i, u = j(null), c = j(!1), s = d(() => vo(e.anchor, a.lang.rtl)), f = d(() => vo(e.self, a.lang.rtl)), b = d(() => e.persistent !== !0), { registerTick:
|
|
963
|
+
const i = ge(), { proxy: { $q: a } } = i, u = j(null), c = j(!1), s = d(() => vo(e.anchor, a.lang.rtl)), f = d(() => vo(e.self, a.lang.rtl)), b = d(() => e.persistent !== !0), { registerTick: g, removeTick: v } = jr(), { registerTimeout: w } = Bo(), { transitionProps: m, transitionStyle: T } = Ir(e), { localScrollTarget: S, changeScrollEvent: B, unconfigureScrollTarget: _ } = Ei(e, le), { anchorEl: E, canShow: O, anchorEvents: D } = Pr({ showing: c, configureAnchorEl: G }), { show: Z, hide: L } = In({
|
|
964
964
|
showing: c,
|
|
965
965
|
canShow: O,
|
|
966
966
|
handleShow: U,
|
|
@@ -991,7 +991,7 @@ const mo = pe({
|
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
993
|
function U(N) {
|
|
994
|
-
R(),
|
|
994
|
+
R(), g(() => {
|
|
995
995
|
l = new MutationObserver(() => X()), l.observe(u.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), X(), le();
|
|
996
996
|
}), r === void 0 && (r = te(
|
|
997
997
|
() => a.screen.width + "|" + a.screen.height + "|" + e.self + "|" + e.anchor + "|" + a.lang.rtl,
|
|
@@ -1054,7 +1054,7 @@ const mo = pe({
|
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
1056
|
function x() {
|
|
1057
|
-
return c.value === !0 ?
|
|
1057
|
+
return c.value === !0 ? p("div", {
|
|
1058
1058
|
...o,
|
|
1059
1059
|
ref: u,
|
|
1060
1060
|
class: [
|
|
@@ -1069,7 +1069,7 @@ const mo = pe({
|
|
|
1069
1069
|
}, Ve(t.default)) : null;
|
|
1070
1070
|
}
|
|
1071
1071
|
function C() {
|
|
1072
|
-
return
|
|
1072
|
+
return p(ht, m.value, x);
|
|
1073
1073
|
}
|
|
1074
1074
|
return Te(ee), Object.assign(i.proxy, { updatePosition: X }), M;
|
|
1075
1075
|
}
|
|
@@ -1143,8 +1143,8 @@ const yl = "0 0 24 24", bl = (e) => e, Wo = (e) => `ionicons ${e}`, Ii = {
|
|
|
1143
1143
|
svg: !0,
|
|
1144
1144
|
viewBox: f,
|
|
1145
1145
|
nodes: s.split("&&").map((b) => {
|
|
1146
|
-
const [
|
|
1147
|
-
return
|
|
1146
|
+
const [g, v, w] = b.split("@@");
|
|
1147
|
+
return p("path", { style: v, d: g, transform: w });
|
|
1148
1148
|
})
|
|
1149
1149
|
};
|
|
1150
1150
|
}
|
|
@@ -1190,19 +1190,19 @@ const yl = "0 0 24 24", bl = (e) => e, Wo = (e) => `ionicons ${e}`, Ii = {
|
|
|
1190
1190
|
"aria-hidden": "true",
|
|
1191
1191
|
role: "presentation"
|
|
1192
1192
|
};
|
|
1193
|
-
return l.value.none === !0 ?
|
|
1194
|
-
|
|
1195
|
-
])) : l.value.svg === !0 ?
|
|
1196
|
-
|
|
1193
|
+
return l.value.none === !0 ? p(e.tag, i, Ve(t.default)) : l.value.img === !0 ? p(e.tag, i, $t(t.default, [
|
|
1194
|
+
p("img", { src: l.value.src })
|
|
1195
|
+
])) : l.value.svg === !0 ? p(e.tag, i, $t(t.default, [
|
|
1196
|
+
p("svg", {
|
|
1197
1197
|
viewBox: l.value.viewBox || "0 0 24 24"
|
|
1198
1198
|
}, l.value.nodes)
|
|
1199
|
-
])) : l.value.svguse === !0 ?
|
|
1200
|
-
|
|
1199
|
+
])) : l.value.svguse === !0 ? p(e.tag, i, $t(t.default, [
|
|
1200
|
+
p("svg", {
|
|
1201
1201
|
viewBox: l.value.viewBox
|
|
1202
1202
|
}, [
|
|
1203
|
-
|
|
1203
|
+
p("use", { "xlink:href": l.value.src })
|
|
1204
1204
|
])
|
|
1205
|
-
])) : (l.value.cls !== void 0 && (i.class += " " + l.value.cls),
|
|
1205
|
+
])) : (l.value.cls !== void 0 && (i.class += " " + l.value.cls), p(e.tag, i, $t(t.default, [
|
|
1206
1206
|
l.value.content
|
|
1207
1207
|
])));
|
|
1208
1208
|
};
|
|
@@ -1233,13 +1233,13 @@ const Ur = pe({
|
|
|
1233
1233
|
},
|
|
1234
1234
|
setup(e) {
|
|
1235
1235
|
const { cSize: t, classes: n } = Ni(e);
|
|
1236
|
-
return () =>
|
|
1236
|
+
return () => p("svg", {
|
|
1237
1237
|
class: n.value + " q-spinner-mat",
|
|
1238
1238
|
width: t.value,
|
|
1239
1239
|
height: t.value,
|
|
1240
1240
|
viewBox: "25 25 50 50"
|
|
1241
1241
|
}, [
|
|
1242
|
-
|
|
1242
|
+
p("circle", {
|
|
1243
1243
|
class: "path",
|
|
1244
1244
|
cx: "50",
|
|
1245
1245
|
cy: "50",
|
|
@@ -1265,10 +1265,10 @@ function kl(e, t, n, o) {
|
|
|
1265
1265
|
const r = n.modifiers.color;
|
|
1266
1266
|
let l = n.modifiers.center;
|
|
1267
1267
|
l = l === !0 || o === !0;
|
|
1268
|
-
const i = document.createElement("span"), a = document.createElement("span"), u = An(e), { left: c, top: s, width: f, height: b } = t.getBoundingClientRect(),
|
|
1268
|
+
const i = document.createElement("span"), a = document.createElement("span"), u = An(e), { left: c, top: s, width: f, height: b } = t.getBoundingClientRect(), g = Math.sqrt(f * f + b * b), v = g / 2, w = `${(f - g) / 2}px`, m = l ? w : `${u.left - c - v}px`, T = `${(b - g) / 2}px`, S = l ? T : `${u.top - s - v}px`;
|
|
1269
1269
|
a.className = "q-ripple__inner", kr(a, {
|
|
1270
|
-
height: `${
|
|
1271
|
-
width: `${
|
|
1270
|
+
height: `${g}px`,
|
|
1271
|
+
width: `${g}px`,
|
|
1272
1272
|
transform: `translate3d(${m},${S},0) scale3d(.2,.2,1)`,
|
|
1273
1273
|
opacity: 0
|
|
1274
1274
|
}), i.className = `q-ripple${r ? " text-" + r : ""}`, i.setAttribute("dir", "ltr"), i.appendChild(a), t.appendChild(i);
|
|
@@ -1411,7 +1411,7 @@ function Yi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1411
1411
|
() => i === !0 && o.disable !== !0 && a.value !== !0 && o.to !== void 0 && o.to !== null && o.to !== ""
|
|
1412
1412
|
) : d(
|
|
1413
1413
|
() => i === !0 && a.value !== !0 && o.to !== void 0 && o.to !== null && o.to !== ""
|
|
1414
|
-
), c = d(() => u.value === !0 ? S(o.to) : null), s = d(() => c.value !== null), f = d(() => a.value === !0 || s.value === !0), b = d(() => o.type === "a" || f.value === !0 ? "a" : o.tag || e || "div"),
|
|
1414
|
+
), c = d(() => u.value === !0 ? S(o.to) : null), s = d(() => c.value !== null), f = d(() => a.value === !0 || s.value === !0), b = d(() => o.type === "a" || f.value === !0 ? "a" : o.tag || e || "div"), g = d(() => a.value === !0 ? {
|
|
1415
1415
|
href: o.href,
|
|
1416
1416
|
target: o.target
|
|
1417
1417
|
} : s.value === !0 ? {
|
|
@@ -1481,7 +1481,7 @@ function Yi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1481
1481
|
linkIsActive: w,
|
|
1482
1482
|
linkIsExactActive: m,
|
|
1483
1483
|
linkClass: T,
|
|
1484
|
-
linkAttrs:
|
|
1484
|
+
linkAttrs: g,
|
|
1485
1485
|
getLink: S,
|
|
1486
1486
|
navigateToRouterLink: B,
|
|
1487
1487
|
navigateOnClick: _
|
|
@@ -1568,7 +1568,7 @@ function Zs(e) {
|
|
|
1568
1568
|
() => e.rounded === !0 || e.fab === !0 || e.fabMini === !0
|
|
1569
1569
|
), s = d(
|
|
1570
1570
|
() => e.disable !== !0 && e.loading !== !0
|
|
1571
|
-
), f = d(() => s.value === !0 ? e.tabindex || 0 : -1), b = d(() => Qi(e, "standard")),
|
|
1571
|
+
), f = d(() => s.value === !0 ? e.tabindex || 0 : -1), b = d(() => Qi(e, "standard")), g = d(() => {
|
|
1572
1572
|
const m = { tabindex: f.value };
|
|
1573
1573
|
return r.value === !0 ? Object.assign(m, i.value) : Us.includes(e.type) === !0 && (m.type = e.type), l.value === "a" ? (e.disable === !0 ? m["aria-disabled"] = "true" : m.href === void 0 && (m.role = "button"), o.value !== !0 && Ws.test(e.type) === !0 && (m.type = e.type)) : e.disable === !0 && (m.disabled = "", m["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(m, {
|
|
1574
1574
|
role: "progressbar",
|
|
@@ -1588,7 +1588,7 @@ function Zs(e) {
|
|
|
1588
1588
|
classes: v,
|
|
1589
1589
|
style: u,
|
|
1590
1590
|
innerClasses: w,
|
|
1591
|
-
attributes:
|
|
1591
|
+
attributes: g,
|
|
1592
1592
|
hasLink: r,
|
|
1593
1593
|
linkTag: l,
|
|
1594
1594
|
navigateOnClick: a,
|
|
@@ -1616,7 +1616,7 @@ const Ke = pe({
|
|
|
1616
1616
|
linkTag: c,
|
|
1617
1617
|
navigateOnClick: s,
|
|
1618
1618
|
isActionable: f
|
|
1619
|
-
} = Zs(e), b = j(null),
|
|
1619
|
+
} = Zs(e), b = j(null), g = j(null);
|
|
1620
1620
|
let v = null, w, m = null;
|
|
1621
1621
|
const T = d(
|
|
1622
1622
|
() => e.label !== void 0 && e.label !== null && e.label !== ""
|
|
@@ -1699,7 +1699,7 @@ const Ke = pe({
|
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
1701
|
function M(A) {
|
|
1702
|
-
const ee =
|
|
1702
|
+
const ee = g.value;
|
|
1703
1703
|
A !== !0 && (dn === b.value || hn === b.value) && ee !== null && ee !== document.activeElement && (ee.setAttribute("tabindex", -1), ee.focus()), dn === b.value && (v !== null && (v.removeEventListener("touchcancel", V, ft), v.removeEventListener("touchend", V, ft)), dn = v = null), hn === b.value && (document.removeEventListener("mouseup", V, ft), hn = null), fn === b.value && (document.removeEventListener("keyup", V, !0), b.value !== null && b.value.removeEventListener("blur", V, ft), fn = null), b.value !== null && b.value.classList.remove("q-btn--active");
|
|
1704
1704
|
}
|
|
1705
1705
|
function U(A) {
|
|
@@ -1714,50 +1714,50 @@ const Ke = pe({
|
|
|
1714
1714
|
}), () => {
|
|
1715
1715
|
let A = [];
|
|
1716
1716
|
e.icon !== void 0 && A.push(
|
|
1717
|
-
|
|
1717
|
+
p(lt, {
|
|
1718
1718
|
name: e.icon,
|
|
1719
1719
|
left: e.stack !== !0 && T.value === !0,
|
|
1720
1720
|
role: "img"
|
|
1721
1721
|
})
|
|
1722
1722
|
), T.value === !0 && A.push(
|
|
1723
|
-
|
|
1723
|
+
p("span", { class: "block" }, [e.label])
|
|
1724
1724
|
), A = $t(t.default, A), e.iconRight !== void 0 && e.round === !1 && A.push(
|
|
1725
|
-
|
|
1725
|
+
p(lt, {
|
|
1726
1726
|
name: e.iconRight,
|
|
1727
1727
|
right: e.stack !== !0 && T.value === !0,
|
|
1728
1728
|
role: "img"
|
|
1729
1729
|
})
|
|
1730
1730
|
);
|
|
1731
1731
|
const ee = [
|
|
1732
|
-
|
|
1732
|
+
p("span", {
|
|
1733
1733
|
class: "q-focus-helper",
|
|
1734
|
-
ref:
|
|
1734
|
+
ref: g
|
|
1735
1735
|
})
|
|
1736
1736
|
];
|
|
1737
1737
|
return e.loading === !0 && e.percentage !== void 0 && ee.push(
|
|
1738
|
-
|
|
1738
|
+
p("span", {
|
|
1739
1739
|
class: "q-btn__progress absolute-full overflow-hidden" + (e.darkPercentage === !0 ? " q-btn__progress--dark" : "")
|
|
1740
1740
|
}, [
|
|
1741
|
-
|
|
1741
|
+
p("span", {
|
|
1742
1742
|
class: "q-btn__progress-indicator fit block",
|
|
1743
1743
|
style: _.value
|
|
1744
1744
|
})
|
|
1745
1745
|
])
|
|
1746
1746
|
), ee.push(
|
|
1747
|
-
|
|
1747
|
+
p("span", {
|
|
1748
1748
|
class: "q-btn__content text-center col items-center q-anchor--skip " + i.value
|
|
1749
1749
|
}, A)
|
|
1750
1750
|
), e.loading !== null && ee.push(
|
|
1751
|
-
|
|
1751
|
+
p(ht, {
|
|
1752
1752
|
name: "q-transition--fade"
|
|
1753
1753
|
}, () => e.loading === !0 ? [
|
|
1754
|
-
|
|
1754
|
+
p("span", {
|
|
1755
1755
|
key: "loading",
|
|
1756
1756
|
class: "absolute-full flex flex-center"
|
|
1757
|
-
}, t.loading !== void 0 ? t.loading() : [
|
|
1757
|
+
}, t.loading !== void 0 ? t.loading() : [p(Ur)])
|
|
1758
1758
|
] : null)
|
|
1759
1759
|
), nn(
|
|
1760
|
-
|
|
1760
|
+
p(
|
|
1761
1761
|
c.value,
|
|
1762
1762
|
O.value,
|
|
1763
1763
|
ee
|
|
@@ -1830,10 +1830,10 @@ const Ke = pe({
|
|
|
1830
1830
|
emits: ["update:modelValue", "click"],
|
|
1831
1831
|
setup(e, { emit: t }) {
|
|
1832
1832
|
kn((a) => ({
|
|
1833
|
-
"
|
|
1834
|
-
"
|
|
1835
|
-
"
|
|
1836
|
-
|
|
1833
|
+
"653f50d4": a.width,
|
|
1834
|
+
"28dbcfd9": a.height,
|
|
1835
|
+
"463ced10": a.borderRadius,
|
|
1836
|
+
"449ea588": a.borderWidth
|
|
1837
1837
|
}));
|
|
1838
1838
|
const n = e, o = t;
|
|
1839
1839
|
function r(a) {
|
|
@@ -1894,7 +1894,7 @@ function Ct(e, t) {
|
|
|
1894
1894
|
return d(() => e.dark === null ? t.dark.isActive : e.dark);
|
|
1895
1895
|
}
|
|
1896
1896
|
function tu(e, t) {
|
|
1897
|
-
const n = j(null), o = d(() => e.disable === !0 ? null :
|
|
1897
|
+
const n = j(null), o = d(() => e.disable === !0 ? null : p("span", {
|
|
1898
1898
|
ref: n,
|
|
1899
1899
|
class: "no-outline",
|
|
1900
1900
|
tabindex: -1
|
|
@@ -1921,7 +1921,7 @@ function nu(e) {
|
|
|
1921
1921
|
function Ki(e = {}) {
|
|
1922
1922
|
return (t, n, o) => {
|
|
1923
1923
|
t[n](
|
|
1924
|
-
|
|
1924
|
+
p("input", {
|
|
1925
1925
|
class: "hidden" + (o || ""),
|
|
1926
1926
|
...e.value
|
|
1927
1927
|
})
|
|
@@ -1968,10 +1968,10 @@ const ou = {
|
|
|
1968
1968
|
function Gi(e, t) {
|
|
1969
1969
|
const { props: n, slots: o, emit: r, proxy: l } = ge(), { $q: i } = l, a = Ct(n, i), u = j(null), { refocusTargetEl: c, refocusTarget: s } = tu(n, u), f = Eo(n, ou), b = d(
|
|
1970
1970
|
() => n.val !== void 0 && Array.isArray(n.modelValue)
|
|
1971
|
-
),
|
|
1971
|
+
), g = d(() => {
|
|
1972
1972
|
const M = cn(n.val);
|
|
1973
1973
|
return b.value === !0 ? n.modelValue.findIndex((U) => cn(U) === M) : -1;
|
|
1974
|
-
}), v = d(() => b.value === !0 ?
|
|
1974
|
+
}), v = d(() => b.value === !0 ? g.value !== -1 : cn(n.modelValue) === cn(n.trueValue)), w = d(() => b.value === !0 ? g.value === -1 : cn(n.modelValue) === cn(n.falseValue)), m = d(
|
|
1975
1975
|
() => v.value === !1 && w.value === !1
|
|
1976
1976
|
), T = d(() => n.disable === !0 ? -1 : n.tabindex || 0), S = d(
|
|
1977
1977
|
() => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (n.disable === !0 ? " disabled" : "") + (a.value === !0 ? ` q-${e}--dark` : "") + (n.dense === !0 ? ` q-${e}--dense` : "") + (n.leftLabel === !0 ? " reverse" : "")
|
|
@@ -2003,7 +2003,7 @@ function Gi(e, t) {
|
|
|
2003
2003
|
if (b.value === !0) {
|
|
2004
2004
|
if (v.value === !0) {
|
|
2005
2005
|
const M = n.modelValue.slice();
|
|
2006
|
-
return M.splice(
|
|
2006
|
+
return M.splice(g.value, 1), M;
|
|
2007
2007
|
}
|
|
2008
2008
|
return n.modelValue.concat([n.val]);
|
|
2009
2009
|
}
|
|
@@ -2032,7 +2032,7 @@ function Gi(e, t) {
|
|
|
2032
2032
|
` q-${e}__native absolute q-ma-none q-pa-none`
|
|
2033
2033
|
);
|
|
2034
2034
|
const U = [
|
|
2035
|
-
|
|
2035
|
+
p("div", {
|
|
2036
2036
|
class: B.value,
|
|
2037
2037
|
style: f.value,
|
|
2038
2038
|
"aria-hidden": "true"
|
|
@@ -2041,10 +2041,10 @@ function Gi(e, t) {
|
|
|
2041
2041
|
c.value !== null && U.push(c.value);
|
|
2042
2042
|
const A = n.label !== void 0 ? $t(o.default, [n.label]) : Ve(o.default);
|
|
2043
2043
|
return A !== void 0 && U.push(
|
|
2044
|
-
|
|
2044
|
+
p("div", {
|
|
2045
2045
|
class: `q-${e}__label q-anchor--skip`
|
|
2046
2046
|
}, A)
|
|
2047
|
-
),
|
|
2047
|
+
), p("div", {
|
|
2048
2048
|
ref: u,
|
|
2049
2049
|
class: S.value,
|
|
2050
2050
|
...O.value,
|
|
@@ -2054,20 +2054,20 @@ function Gi(e, t) {
|
|
|
2054
2054
|
}, U);
|
|
2055
2055
|
};
|
|
2056
2056
|
}
|
|
2057
|
-
const ru = () =>
|
|
2057
|
+
const ru = () => p("div", {
|
|
2058
2058
|
key: "svg",
|
|
2059
2059
|
class: "q-checkbox__bg absolute"
|
|
2060
2060
|
}, [
|
|
2061
|
-
|
|
2061
|
+
p("svg", {
|
|
2062
2062
|
class: "q-checkbox__svg fit absolute-full",
|
|
2063
2063
|
viewBox: "0 0 24 24"
|
|
2064
2064
|
}, [
|
|
2065
|
-
|
|
2065
|
+
p("path", {
|
|
2066
2066
|
class: "q-checkbox__truthy",
|
|
2067
2067
|
fill: "none",
|
|
2068
2068
|
d: "M1.73,12.91 8.1,19.28 22.79,4.59"
|
|
2069
2069
|
}),
|
|
2070
|
-
|
|
2070
|
+
p("path", {
|
|
2071
2071
|
class: "q-checkbox__indet",
|
|
2072
2072
|
d: "M4,14H20V10H4"
|
|
2073
2073
|
})
|
|
@@ -2083,11 +2083,11 @@ const ru = () => g("div", {
|
|
|
2083
2083
|
() => (o.value === !0 ? e.checkedIcon : r.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || null
|
|
2084
2084
|
);
|
|
2085
2085
|
return () => l.value !== null ? [
|
|
2086
|
-
|
|
2086
|
+
p("div", {
|
|
2087
2087
|
key: "icon",
|
|
2088
2088
|
class: "q-checkbox__icon-container absolute-full flex flex-center no-wrap"
|
|
2089
2089
|
}, [
|
|
2090
|
-
|
|
2090
|
+
p(lt, {
|
|
2091
2091
|
class: "q-checkbox__icon",
|
|
2092
2092
|
name: l.value
|
|
2093
2093
|
})
|
|
@@ -2628,17 +2628,17 @@ function Cu(e, t, n, o, r) {
|
|
|
2628
2628
|
return l;
|
|
2629
2629
|
let b = "";
|
|
2630
2630
|
if (s.X !== void 0 || s.x !== void 0) {
|
|
2631
|
-
const
|
|
2632
|
-
if (isNaN(
|
|
2631
|
+
const g = parseInt(f[s.X !== void 0 ? s.X : s.x], 10);
|
|
2632
|
+
if (isNaN(g) === !0 || g < 0)
|
|
2633
2633
|
return l;
|
|
2634
|
-
const v = new Date(
|
|
2634
|
+
const v = new Date(g * (s.X !== void 0 ? 1e3 : 1));
|
|
2635
2635
|
l.year = v.getFullYear(), l.month = v.getMonth() + 1, l.day = v.getDate(), l.hour = v.getHours(), l.minute = v.getMinutes(), l.second = v.getSeconds(), l.millisecond = v.getMilliseconds();
|
|
2636
2636
|
} else {
|
|
2637
2637
|
if (s.YYYY !== void 0)
|
|
2638
2638
|
l.year = parseInt(f[s.YYYY], 10);
|
|
2639
2639
|
else if (s.YY !== void 0) {
|
|
2640
|
-
const
|
|
2641
|
-
l.year =
|
|
2640
|
+
const g = parseInt(f[s.YY], 10);
|
|
2641
|
+
l.year = g < 0 ? g : 2e3 + g;
|
|
2642
2642
|
}
|
|
2643
2643
|
if (s.M !== void 0) {
|
|
2644
2644
|
if (l.month = parseInt(f[s.M], 10), l.month < 1 || l.month > 12)
|
|
@@ -2647,8 +2647,8 @@ function Cu(e, t, n, o, r) {
|
|
|
2647
2647
|
if (s.D !== void 0) {
|
|
2648
2648
|
if (l.day = parseInt(f[s.D], 10), l.year === null || l.month === null || l.day < 1)
|
|
2649
2649
|
return l;
|
|
2650
|
-
const
|
|
2651
|
-
if (l.day >
|
|
2650
|
+
const g = o !== "persian" ? new Date(l.year, l.month, 0).getDate() : ro(l.year, l.month);
|
|
2651
|
+
if (l.day > g)
|
|
2652
2652
|
return l;
|
|
2653
2653
|
}
|
|
2654
2654
|
s.H !== void 0 ? l.hour = parseInt(f[s.H], 10) % 24 : s.h !== void 0 && (l.hour = parseInt(f[s.h], 10) % 12, (s.A && f[s.A] === "PM" || s.a && f[s.a] === "pm" || s.aa && f[s.aa] === "p.m.") && (l.hour += 12), l.hour = l.hour % 24), s.m !== void 0 && (l.minute = parseInt(f[s.m], 10) % 60), s.s !== void 0 && (l.second = parseInt(f[s.s], 10) % 60), s.S !== void 0 && (l.millisecond = parseInt(f[s.S], 10) * 10 ** (3 - f[s.S].length)), (s.Z !== void 0 || s.ZZ !== void 0) && (b = s.Z !== void 0 ? f[s.Z].replace(":", "") : f[s.ZZ], l.timezoneOffset = (b[0] === "+" ? -1 : 1) * (60 * b.slice(1, 3) + 1 * b.slice(3, 5)));
|
|
@@ -2980,7 +2980,7 @@ const Mu = pe({
|
|
|
2980
2980
|
setup(e, { slots: t, emit: n }) {
|
|
2981
2981
|
const { proxy: o } = ge(), { $q: r } = o, l = Ct(e, r), { getCache: i } = uu(), { tabindex: a, headerClass: u, getLocale: c, getCurrentDate: s } = pu(e, r);
|
|
2982
2982
|
let f;
|
|
2983
|
-
const b = nu(e),
|
|
2983
|
+
const b = nu(e), g = Ki(b), v = j(null), w = j(Nn()), m = j(c()), T = d(() => Nn()), S = d(() => c()), B = d(() => s()), _ = j(wt(w.value, m.value)), E = j(e.defaultView), O = d(() => r.lang.rtl === !0 ? "right" : "left"), D = j(O.value), Z = j(O.value), L = _.value.year, R = j(L - L % zt - (L < 0 ? zt : 0)), V = j(null), M = d(() => {
|
|
2984
2984
|
const h = e.landscape === !0 ? "landscape" : "portrait";
|
|
2985
2985
|
return `q-date q-date--${h} q-date--${h}-${e.minimal === !0 ? "minimal" : "standard"}` + (l.value === !0 ? " q-date--dark q-dark" : "") + (e.bordered === !0 ? " q-date--bordered" : "") + (e.square === !0 ? " q-date--square no-border-radius" : "") + (e.flat === !0 ? " q-date--flat no-shadow" : "") + (e.disable === !0 ? " disabled" : e.readonly === !0 ? " q-date--readonly" : "");
|
|
2986
2986
|
}), U = d(() => e.color || "primary"), A = d(() => e.textColor || "white"), ee = d(
|
|
@@ -3416,15 +3416,15 @@ const Mu = pe({
|
|
|
3416
3416
|
}
|
|
3417
3417
|
function sn() {
|
|
3418
3418
|
if (e.minimal !== !0)
|
|
3419
|
-
return
|
|
3419
|
+
return p("div", {
|
|
3420
3420
|
class: "q-date__header " + u.value
|
|
3421
3421
|
}, [
|
|
3422
|
-
|
|
3422
|
+
p("div", {
|
|
3423
3423
|
class: "relative-position"
|
|
3424
3424
|
}, [
|
|
3425
|
-
|
|
3425
|
+
p(ht, {
|
|
3426
3426
|
name: "q-transition--fade"
|
|
3427
|
-
}, () =>
|
|
3427
|
+
}, () => p("div", {
|
|
3428
3428
|
key: "h-yr-" + se.value,
|
|
3429
3429
|
class: "q-date__header-subtitle q-date__header-link " + (E.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
|
|
3430
3430
|
tabindex: a.value,
|
|
@@ -3438,15 +3438,15 @@ const Mu = pe({
|
|
|
3438
3438
|
})
|
|
3439
3439
|
}, [se.value]))
|
|
3440
3440
|
]),
|
|
3441
|
-
|
|
3441
|
+
p("div", {
|
|
3442
3442
|
class: "q-date__header-title relative-position flex no-wrap"
|
|
3443
3443
|
}, [
|
|
3444
|
-
|
|
3444
|
+
p("div", {
|
|
3445
3445
|
class: "relative-position col"
|
|
3446
3446
|
}, [
|
|
3447
|
-
|
|
3447
|
+
p(ht, {
|
|
3448
3448
|
name: "q-transition--fade"
|
|
3449
|
-
}, () =>
|
|
3449
|
+
}, () => p("div", {
|
|
3450
3450
|
key: "h-sub" + C.value,
|
|
3451
3451
|
class: "q-date__header-title-label q-date__header-link " + (E.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
|
|
3452
3452
|
tabindex: a.value,
|
|
@@ -3460,7 +3460,7 @@ const Mu = pe({
|
|
|
3460
3460
|
})
|
|
3461
3461
|
}, [C.value]))
|
|
3462
3462
|
]),
|
|
3463
|
-
e.todayBtn === !0 ?
|
|
3463
|
+
e.todayBtn === !0 ? p(Ke, {
|
|
3464
3464
|
class: "q-date__header-today self-start",
|
|
3465
3465
|
icon: r.iconSet.datetime.today,
|
|
3466
3466
|
flat: !0,
|
|
@@ -3474,10 +3474,10 @@ const Mu = pe({
|
|
|
3474
3474
|
}
|
|
3475
3475
|
function qt({ label: h, type: k, key: $, dir: Q, goTo: K, boundaries: be, cls: re }) {
|
|
3476
3476
|
return [
|
|
3477
|
-
|
|
3477
|
+
p("div", {
|
|
3478
3478
|
class: "row items-center q-date__arrow"
|
|
3479
3479
|
}, [
|
|
3480
|
-
|
|
3480
|
+
p(Ke, {
|
|
3481
3481
|
round: !0,
|
|
3482
3482
|
dense: !0,
|
|
3483
3483
|
size: "sm",
|
|
@@ -3490,13 +3490,13 @@ const Mu = pe({
|
|
|
3490
3490
|
} })
|
|
3491
3491
|
})
|
|
3492
3492
|
]),
|
|
3493
|
-
|
|
3493
|
+
p("div", {
|
|
3494
3494
|
class: "relative-position overflow-hidden flex flex-center" + re
|
|
3495
3495
|
}, [
|
|
3496
|
-
|
|
3496
|
+
p(ht, {
|
|
3497
3497
|
name: "q-transition--jump-" + Q
|
|
3498
|
-
}, () =>
|
|
3499
|
-
|
|
3498
|
+
}, () => p("div", { key: $ }, [
|
|
3499
|
+
p(Ke, {
|
|
3500
3500
|
flat: !0,
|
|
3501
3501
|
dense: !0,
|
|
3502
3502
|
noCaps: !0,
|
|
@@ -3508,10 +3508,10 @@ const Mu = pe({
|
|
|
3508
3508
|
})
|
|
3509
3509
|
]))
|
|
3510
3510
|
]),
|
|
3511
|
-
|
|
3511
|
+
p("div", {
|
|
3512
3512
|
class: "row items-center q-date__arrow"
|
|
3513
3513
|
}, [
|
|
3514
|
-
|
|
3514
|
+
p(Ke, {
|
|
3515
3515
|
round: !0,
|
|
3516
3516
|
dense: !0,
|
|
3517
3517
|
size: "sm",
|
|
@@ -3528,11 +3528,11 @@ const Mu = pe({
|
|
|
3528
3528
|
}
|
|
3529
3529
|
const Tt = {
|
|
3530
3530
|
Calendar: () => [
|
|
3531
|
-
|
|
3531
|
+
p("div", {
|
|
3532
3532
|
key: "calendar-view",
|
|
3533
3533
|
class: "q-date__view q-date__calendar"
|
|
3534
3534
|
}, [
|
|
3535
|
-
|
|
3535
|
+
p("div", {
|
|
3536
3536
|
class: "q-date__navigation row items-center no-wrap"
|
|
3537
3537
|
}, qt({
|
|
3538
3538
|
label: m.value.months[_.value.month - 1],
|
|
@@ -3551,19 +3551,19 @@ const Mu = pe({
|
|
|
3551
3551
|
boundaries: Se.value.year,
|
|
3552
3552
|
cls: ""
|
|
3553
3553
|
}))),
|
|
3554
|
-
|
|
3554
|
+
p("div", {
|
|
3555
3555
|
class: "q-date__calendar-weekdays row items-center no-wrap"
|
|
3556
|
-
}, we.value.map((h) =>
|
|
3557
|
-
|
|
3556
|
+
}, we.value.map((h) => p("div", { class: "q-date__calendar-item" }, [p("div", h)]))),
|
|
3557
|
+
p("div", {
|
|
3558
3558
|
class: "q-date__calendar-days-container relative-position overflow-hidden"
|
|
3559
3559
|
}, [
|
|
3560
|
-
|
|
3560
|
+
p(ht, {
|
|
3561
3561
|
name: "q-transition--slide-" + D.value
|
|
3562
|
-
}, () =>
|
|
3562
|
+
}, () => p("div", {
|
|
3563
3563
|
key: Pe.value,
|
|
3564
3564
|
class: "q-date__calendar-days fit"
|
|
3565
|
-
}, Xe.value.map((h) =>
|
|
3566
|
-
h.in === !0 ?
|
|
3565
|
+
}, Xe.value.map((h) => p("div", { class: h.classes }, [
|
|
3566
|
+
h.in === !0 ? p(
|
|
3567
3567
|
Ke,
|
|
3568
3568
|
{
|
|
3569
3569
|
class: h.today === !0 ? "q-date__today" : "",
|
|
@@ -3583,8 +3583,8 @@ const Mu = pe({
|
|
|
3583
3583
|
}
|
|
3584
3584
|
})
|
|
3585
3585
|
},
|
|
3586
|
-
h.event !== !1 ? () =>
|
|
3587
|
-
) :
|
|
3586
|
+
h.event !== !1 ? () => p("div", { class: "q-date__event bg-" + h.event }) : null
|
|
3587
|
+
) : p("div", "" + h.i)
|
|
3588
3588
|
]))))
|
|
3589
3589
|
])
|
|
3590
3590
|
])
|
|
@@ -3592,10 +3592,10 @@ const Mu = pe({
|
|
|
3592
3592
|
Months() {
|
|
3593
3593
|
const h = _.value.year === B.value.year, k = (Q) => Ce.value !== null && _.value.year === Ce.value.year && Ce.value.month > Q || qe.value !== null && _.value.year === qe.value.year && qe.value.month < Q, $ = m.value.monthsShort.map((Q, K) => {
|
|
3594
3594
|
const be = _.value.month === K + 1;
|
|
3595
|
-
return
|
|
3595
|
+
return p("div", {
|
|
3596
3596
|
class: "q-date__months-item flex flex-center"
|
|
3597
3597
|
}, [
|
|
3598
|
-
|
|
3598
|
+
p(Ke, {
|
|
3599
3599
|
class: h === !0 && B.value.month === K + 1 ? "q-date__today" : null,
|
|
3600
3600
|
flat: be !== !0,
|
|
3601
3601
|
label: Q,
|
|
@@ -3611,7 +3611,7 @@ const Mu = pe({
|
|
|
3611
3611
|
]);
|
|
3612
3612
|
});
|
|
3613
3613
|
return e.yearsInMonthView === !0 && $.unshift(
|
|
3614
|
-
|
|
3614
|
+
p("div", { class: "row no-wrap full-width" }, [
|
|
3615
3615
|
qt({
|
|
3616
3616
|
label: _.value.year,
|
|
3617
3617
|
type: "Years",
|
|
@@ -3622,7 +3622,7 @@ const Mu = pe({
|
|
|
3622
3622
|
cls: " col"
|
|
3623
3623
|
})
|
|
3624
3624
|
])
|
|
3625
|
-
),
|
|
3625
|
+
), p("div", {
|
|
3626
3626
|
key: "months-view",
|
|
3627
3627
|
class: "q-date__view q-date__months flex flex-center"
|
|
3628
3628
|
}, $);
|
|
@@ -3632,10 +3632,10 @@ const Mu = pe({
|
|
|
3632
3632
|
for (let K = h; K <= k; K++) {
|
|
3633
3633
|
const be = _.value.year === K;
|
|
3634
3634
|
$.push(
|
|
3635
|
-
|
|
3635
|
+
p("div", {
|
|
3636
3636
|
class: "q-date__years-item flex flex-center"
|
|
3637
3637
|
}, [
|
|
3638
|
-
|
|
3638
|
+
p(Ke, {
|
|
3639
3639
|
key: "yr" + K,
|
|
3640
3640
|
class: B.value.year === K ? "q-date__today" : null,
|
|
3641
3641
|
flat: !be,
|
|
@@ -3653,13 +3653,13 @@ const Mu = pe({
|
|
|
3653
3653
|
])
|
|
3654
3654
|
);
|
|
3655
3655
|
}
|
|
3656
|
-
return
|
|
3656
|
+
return p("div", {
|
|
3657
3657
|
class: "q-date__view q-date__years flex flex-center"
|
|
3658
3658
|
}, [
|
|
3659
|
-
|
|
3659
|
+
p("div", {
|
|
3660
3660
|
class: "col-auto"
|
|
3661
3661
|
}, [
|
|
3662
|
-
|
|
3662
|
+
p(Ke, {
|
|
3663
3663
|
round: !0,
|
|
3664
3664
|
dense: !0,
|
|
3665
3665
|
flat: !0,
|
|
@@ -3671,13 +3671,13 @@ const Mu = pe({
|
|
|
3671
3671
|
} })
|
|
3672
3672
|
})
|
|
3673
3673
|
]),
|
|
3674
|
-
|
|
3674
|
+
p("div", {
|
|
3675
3675
|
class: "q-date__years-content col self-stretch row items-center"
|
|
3676
3676
|
}, $),
|
|
3677
|
-
|
|
3677
|
+
p("div", {
|
|
3678
3678
|
class: "col-auto"
|
|
3679
3679
|
}, [
|
|
3680
|
-
|
|
3680
|
+
p(Ke, {
|
|
3681
3681
|
round: !0,
|
|
3682
3682
|
dense: !0,
|
|
3683
3683
|
flat: !0,
|
|
@@ -3740,22 +3740,22 @@ const Mu = pe({
|
|
|
3740
3740
|
setEditingRange: rn
|
|
3741
3741
|
}), () => {
|
|
3742
3742
|
const h = [
|
|
3743
|
-
|
|
3743
|
+
p("div", {
|
|
3744
3744
|
class: "q-date__content col relative-position"
|
|
3745
3745
|
}, [
|
|
3746
|
-
|
|
3746
|
+
p(ht, {
|
|
3747
3747
|
name: "q-transition--fade"
|
|
3748
3748
|
}, Tt[E.value])
|
|
3749
3749
|
])
|
|
3750
3750
|
], k = Ve(t.default);
|
|
3751
3751
|
return k !== void 0 && h.push(
|
|
3752
|
-
|
|
3753
|
-
), e.name !== void 0 && e.disable !== !0 &&
|
|
3752
|
+
p("div", { class: "q-date__actions" }, k)
|
|
3753
|
+
), e.name !== void 0 && e.disable !== !0 && g(h, "push"), p("div", {
|
|
3754
3754
|
class: M.value,
|
|
3755
3755
|
...He.value
|
|
3756
3756
|
}, [
|
|
3757
3757
|
sn(),
|
|
3758
|
-
|
|
3758
|
+
p("div", {
|
|
3759
3759
|
ref: v,
|
|
3760
3760
|
class: "q-date__main col column",
|
|
3761
3761
|
tabindex: -1
|
|
@@ -3924,7 +3924,7 @@ const Ru = {
|
|
|
3924
3924
|
let u = null, c = null, s, f;
|
|
3925
3925
|
const b = d(
|
|
3926
3926
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
|
|
3927
|
-
), { preventBodyScroll:
|
|
3927
|
+
), { preventBodyScroll: g } = aa(), { registerTimeout: v } = Bo(), { registerTick: w, removeTick: m } = jr(), { transitionProps: T, transitionStyle: S } = Ir(
|
|
3928
3928
|
e,
|
|
3929
3929
|
() => Hl[e.position][0],
|
|
3930
3930
|
() => Hl[e.position][1]
|
|
@@ -3948,7 +3948,7 @@ const Ru = {
|
|
|
3948
3948
|
te(() => e.maximized, (I) => {
|
|
3949
3949
|
i.value === !0 && x(I);
|
|
3950
3950
|
}), te(M, (I) => {
|
|
3951
|
-
|
|
3951
|
+
g(I), I === !0 ? (da(ae), ua(G)) : (Mr(ae), po(G));
|
|
3952
3952
|
});
|
|
3953
3953
|
function ee(I) {
|
|
3954
3954
|
L(), c = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, x(e.maximized), _(), a.value = !0, e.noFocus !== !0 ? (document.activeElement !== null && document.activeElement.blur(), w(H)) : m(), v(() => {
|
|
@@ -3996,7 +3996,7 @@ const Ru = {
|
|
|
3996
3996
|
e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && P() : (n("escapeKey"), Z()));
|
|
3997
3997
|
}
|
|
3998
3998
|
function le(I) {
|
|
3999
|
-
u !== null && (clearTimeout(u), u = null), (I === !0 || i.value === !0) && (x(!1), e.seamless !== !0 && (
|
|
3999
|
+
u !== null && (clearTimeout(u), u = null), (I === !0 || i.value === !0) && (x(!1), e.seamless !== !0 && (g(!1), Mr(ae), po(G))), I !== !0 && (c = null);
|
|
4000
4000
|
}
|
|
4001
4001
|
function x(I) {
|
|
4002
4002
|
I === !0 ? s !== !0 && (Jn < 1 && document.body.classList.add("q-body--dialog"), Jn++, s = !0) : s === !0 && (Jn < 2 && document.body.classList.remove("q-body--dialog"), Jn--, s = !1);
|
|
@@ -4020,26 +4020,26 @@ const Ru = {
|
|
|
4020
4020
|
}
|
|
4021
4021
|
}), Te(le);
|
|
4022
4022
|
function se() {
|
|
4023
|
-
return
|
|
4023
|
+
return p("div", {
|
|
4024
4024
|
role: "dialog",
|
|
4025
4025
|
"aria-modal": M.value === !0 ? "true" : "false",
|
|
4026
4026
|
...o,
|
|
4027
4027
|
class: A.value
|
|
4028
4028
|
}, [
|
|
4029
|
-
|
|
4029
|
+
p(ht, {
|
|
4030
4030
|
name: "q-transition--fade",
|
|
4031
4031
|
appear: !0
|
|
4032
|
-
}, () => M.value === !0 ?
|
|
4032
|
+
}, () => M.value === !0 ? p("div", {
|
|
4033
4033
|
class: "q-dialog__backdrop fixed-full",
|
|
4034
4034
|
style: B.value,
|
|
4035
4035
|
"aria-hidden": "true",
|
|
4036
4036
|
tabindex: -1,
|
|
4037
4037
|
onClick: N
|
|
4038
4038
|
}) : null),
|
|
4039
|
-
|
|
4039
|
+
p(
|
|
4040
4040
|
ht,
|
|
4041
4041
|
T.value,
|
|
4042
|
-
() => i.value === !0 ?
|
|
4042
|
+
() => i.value === !0 ? p("div", {
|
|
4043
4043
|
ref: l,
|
|
4044
4044
|
class: V.value,
|
|
4045
4045
|
style: S.value,
|
|
@@ -4098,14 +4098,14 @@ const Ru = {
|
|
|
4098
4098
|
],
|
|
4099
4099
|
setup(e, { slots: t, emit: n, attrs: o }) {
|
|
4100
4100
|
let r = null, l, i, a;
|
|
4101
|
-
const u = ge(), { proxy: c } = u, { $q: s } = c, f = j(null), b = j(!1),
|
|
4101
|
+
const u = ge(), { proxy: c } = u, { $q: s } = c, f = j(null), b = j(!1), g = d(
|
|
4102
4102
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0
|
|
4103
4103
|
), v = Ct(e, s), { registerTick: w, removeTick: m } = jr(), { registerTimeout: T } = Bo(), { transitionProps: S, transitionStyle: B } = Ir(e), { localScrollTarget: _, changeScrollEvent: E, unconfigureScrollTarget: O } = Ei(e, N), { anchorEl: D, canShow: Z } = Pr({ showing: b }), { hide: L } = In({
|
|
4104
4104
|
showing: b,
|
|
4105
4105
|
canShow: Z,
|
|
4106
4106
|
handleShow: le,
|
|
4107
4107
|
handleHide: x,
|
|
4108
|
-
hideOnRouteChange:
|
|
4108
|
+
hideOnRouteChange: g,
|
|
4109
4109
|
processOnMount: !0
|
|
4110
4110
|
}), { showPortal: R, hidePortal: V, renderPortal: M } = Hr(u, f, we, "menu"), U = {
|
|
4111
4111
|
anchorEl: D,
|
|
@@ -4187,10 +4187,10 @@ const Ru = {
|
|
|
4187
4187
|
});
|
|
4188
4188
|
}
|
|
4189
4189
|
function we() {
|
|
4190
|
-
return
|
|
4190
|
+
return p(
|
|
4191
4191
|
ht,
|
|
4192
4192
|
S.value,
|
|
4193
|
-
() => b.value === !0 ?
|
|
4193
|
+
() => b.value === !0 ? p("div", {
|
|
4194
4194
|
role: "menu",
|
|
4195
4195
|
...o,
|
|
4196
4196
|
ref: f,
|
|
@@ -4230,7 +4230,7 @@ const Ru = {
|
|
|
4230
4230
|
te(() => s(), (w) => {
|
|
4231
4231
|
i.value !== !0 && (f.value = w);
|
|
4232
4232
|
});
|
|
4233
|
-
function
|
|
4233
|
+
function g(w) {
|
|
4234
4234
|
i.value = !0, n("show", w);
|
|
4235
4235
|
}
|
|
4236
4236
|
function v(w) {
|
|
@@ -4254,7 +4254,7 @@ const Ru = {
|
|
|
4254
4254
|
ref: a,
|
|
4255
4255
|
...b.value,
|
|
4256
4256
|
...o,
|
|
4257
|
-
onShow:
|
|
4257
|
+
onShow: g,
|
|
4258
4258
|
onHide: v
|
|
4259
4259
|
};
|
|
4260
4260
|
let m;
|
|
@@ -4263,7 +4263,7 @@ const Ru = {
|
|
|
4263
4263
|
contextMenu: e.contextMenu,
|
|
4264
4264
|
noParentEvent: !0,
|
|
4265
4265
|
separateClosePopup: !0
|
|
4266
|
-
})),
|
|
4266
|
+
})), p(m, w, t.default);
|
|
4267
4267
|
};
|
|
4268
4268
|
}
|
|
4269
4269
|
}), Vu = { class: "date-picker" }, Ou = { class: "date-picker__content" }, Du = /* @__PURE__ */ Ne({
|
|
@@ -4271,7 +4271,7 @@ const Ru = {
|
|
|
4271
4271
|
props: {
|
|
4272
4272
|
label: {},
|
|
4273
4273
|
modelValue: {},
|
|
4274
|
-
disableRuleDates: {
|
|
4274
|
+
disableRuleDates: {}
|
|
4275
4275
|
},
|
|
4276
4276
|
emits: ["update:modelValue"],
|
|
4277
4277
|
setup(e, { emit: t }) {
|
|
@@ -4285,7 +4285,11 @@ const Ru = {
|
|
|
4285
4285
|
});
|
|
4286
4286
|
function l(i) {
|
|
4287
4287
|
const a = /* @__PURE__ */ new Date(), [u, c, s] = i.split("/"), f = new Date(u, c - 1, s), b = new Date(a.getFullYear(), a.getMonth(), a.getDate());
|
|
4288
|
-
|
|
4288
|
+
if (o != null && o.disableRuleDates) {
|
|
4289
|
+
const g = new Date(o.disableRuleDates);
|
|
4290
|
+
return f >= g;
|
|
4291
|
+
}
|
|
4292
|
+
return f >= b;
|
|
4289
4293
|
}
|
|
4290
4294
|
return (i, a) => (Y(), de("div", Vu, [
|
|
4291
4295
|
ye(go, {
|
|
@@ -4329,7 +4333,7 @@ const Ru = {
|
|
|
4329
4333
|
])
|
|
4330
4334
|
]));
|
|
4331
4335
|
}
|
|
4332
|
-
}), Gh = /* @__PURE__ */ ie(Du, [["__scopeId", "data-v-
|
|
4336
|
+
}), Gh = /* @__PURE__ */ ie(Du, [["__scopeId", "data-v-2436a5b4"]]);
|
|
4333
4337
|
let er, Gn = 0;
|
|
4334
4338
|
const We = new Array(256);
|
|
4335
4339
|
for (let e = 0; e < 256; e++)
|
|
@@ -4469,12 +4473,12 @@ function Wu(e, t) {
|
|
|
4469
4473
|
te(() => n.modelValue, () => {
|
|
4470
4474
|
i.value = !0, s.value === !0 && n.lazyRules === !1 && m();
|
|
4471
4475
|
});
|
|
4472
|
-
function
|
|
4476
|
+
function g() {
|
|
4473
4477
|
n.lazyRules !== "ondemand" && s.value === !0 && i.value === !0 && m();
|
|
4474
4478
|
}
|
|
4475
4479
|
te(() => n.reactiveRules, (T) => {
|
|
4476
|
-
T === !0 ? u === void 0 && (u = te(() => n.rules,
|
|
4477
|
-
}, { immediate: !0 }), te(() => n.lazyRules,
|
|
4480
|
+
T === !0 ? u === void 0 && (u = te(() => n.rules, g, { immediate: !0, deep: !0 })) : u !== void 0 && (u(), u = void 0);
|
|
4481
|
+
}, { immediate: !0 }), te(() => n.lazyRules, g), te(e, (T) => {
|
|
4478
4482
|
T === !0 ? i.value = !0 : s.value === !0 && n.lazyRules !== "ondemand" && m();
|
|
4479
4483
|
});
|
|
4480
4484
|
function v() {
|
|
@@ -4622,10 +4626,10 @@ function Gr(e) {
|
|
|
4622
4626
|
hasError: s,
|
|
4623
4627
|
errorMessage: f,
|
|
4624
4628
|
resetValidation: b
|
|
4625
|
-
} = Wu(e.focused, e.innerLoading),
|
|
4629
|
+
} = Wu(e.focused, e.innerLoading), g = e.floatingLabel !== void 0 ? d(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : d(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), v = d(
|
|
4626
4630
|
() => t.bottomSlots === !0 || t.hint !== void 0 || c.value === !0 || t.counter === !0 || t.error !== null
|
|
4627
4631
|
), w = d(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), m = d(
|
|
4628
|
-
() => `q-field row no-wrap items-start q-field--${w.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (
|
|
4632
|
+
() => `q-field row no-wrap items-start q-field--${w.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (g.value === !0 ? " q-field--float" : "") + (S.value === !0 ? " q-field--labeled" : "") + (t.dense === !0 ? " q-field--dense" : "") + (t.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (s.value === !0 ? " q-field--error" : "") + (s.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && v.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")
|
|
4629
4633
|
), T = d(
|
|
4630
4634
|
() => "q-field__control relative-position row no-wrap" + (t.bgColor !== void 0 ? ` bg-${t.bgColor}` : "") + (s.value === !0 ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value === !0 ? ` ${t.standout}` : t.color !== void 0 ? ` text-${t.color}` : "")
|
|
4631
4635
|
), S = d(
|
|
@@ -4636,7 +4640,7 @@ function Gr(e) {
|
|
|
4636
4640
|
id: e.targetUid.value,
|
|
4637
4641
|
editable: e.editable.value,
|
|
4638
4642
|
focused: e.focused.value,
|
|
4639
|
-
floatingLabel:
|
|
4643
|
+
floatingLabel: g.value,
|
|
4640
4644
|
modelValue: t.modelValue,
|
|
4641
4645
|
emitValue: e.emitValue
|
|
4642
4646
|
})), E = d(() => {
|
|
@@ -4676,27 +4680,27 @@ function Gr(e) {
|
|
|
4676
4680
|
function U() {
|
|
4677
4681
|
const P = [];
|
|
4678
4682
|
return o.prepend !== void 0 && P.push(
|
|
4679
|
-
|
|
4683
|
+
p("div", {
|
|
4680
4684
|
class: "q-field__prepend q-field__marginal row no-wrap items-center",
|
|
4681
4685
|
key: "prepend",
|
|
4682
4686
|
onClick: Ge
|
|
4683
4687
|
}, o.prepend())
|
|
4684
4688
|
), P.push(
|
|
4685
|
-
|
|
4689
|
+
p("div", {
|
|
4686
4690
|
class: "q-field__control-container col relative-position row no-wrap q-anchor--skip"
|
|
4687
4691
|
}, A())
|
|
4688
4692
|
), s.value === !0 && t.noErrorIcon === !1 && P.push(
|
|
4689
4693
|
X("error", [
|
|
4690
|
-
|
|
4694
|
+
p(lt, { name: i.iconSet.field.error, color: "negative" })
|
|
4691
4695
|
])
|
|
4692
4696
|
), t.loading === !0 || e.innerLoading.value === !0 ? P.push(
|
|
4693
4697
|
X(
|
|
4694
4698
|
"inner-loading-append",
|
|
4695
|
-
o.loading !== void 0 ? o.loading() : [
|
|
4699
|
+
o.loading !== void 0 ? o.loading() : [p(Ur, { color: t.color })]
|
|
4696
4700
|
)
|
|
4697
4701
|
) : t.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && P.push(
|
|
4698
4702
|
X("inner-clearable-append", [
|
|
4699
|
-
|
|
4703
|
+
p(lt, {
|
|
4700
4704
|
class: "q-field__focusable-action",
|
|
4701
4705
|
name: t.clearIcon || i.iconSet.field.clear,
|
|
4702
4706
|
tabindex: 0,
|
|
@@ -4708,7 +4712,7 @@ function Gr(e) {
|
|
|
4708
4712
|
})
|
|
4709
4713
|
])
|
|
4710
4714
|
), o.append !== void 0 && P.push(
|
|
4711
|
-
|
|
4715
|
+
p("div", {
|
|
4712
4716
|
class: "q-field__append q-field__marginal row no-wrap items-center",
|
|
4713
4717
|
key: "append",
|
|
4714
4718
|
onClick: Ge
|
|
@@ -4722,13 +4726,13 @@ function Gr(e) {
|
|
|
4722
4726
|
function A() {
|
|
4723
4727
|
const P = [];
|
|
4724
4728
|
return t.prefix !== void 0 && t.prefix !== null && P.push(
|
|
4725
|
-
|
|
4729
|
+
p("div", {
|
|
4726
4730
|
class: "q-field__prefix no-pointer-events row items-center"
|
|
4727
4731
|
}, t.prefix)
|
|
4728
4732
|
), e.getShadowControl !== void 0 && e.hasShadow.value === !0 && P.push(
|
|
4729
4733
|
e.getShadowControl()
|
|
4730
4734
|
), e.getControl !== void 0 ? P.push(e.getControl()) : o.rawControl !== void 0 ? P.push(o.rawControl()) : o.control !== void 0 && P.push(
|
|
4731
|
-
|
|
4735
|
+
p("div", {
|
|
4732
4736
|
ref: e.targetRef,
|
|
4733
4737
|
class: "q-field__native row",
|
|
4734
4738
|
tabindex: -1,
|
|
@@ -4736,37 +4740,37 @@ function Gr(e) {
|
|
|
4736
4740
|
"data-autofocus": t.autofocus === !0 || void 0
|
|
4737
4741
|
}, o.control(_.value))
|
|
4738
4742
|
), S.value === !0 && P.push(
|
|
4739
|
-
|
|
4743
|
+
p("div", {
|
|
4740
4744
|
class: B.value
|
|
4741
4745
|
}, Ve(o.label, t.label))
|
|
4742
4746
|
), t.suffix !== void 0 && t.suffix !== null && P.push(
|
|
4743
|
-
|
|
4747
|
+
p("div", {
|
|
4744
4748
|
class: "q-field__suffix no-pointer-events row items-center"
|
|
4745
4749
|
}, t.suffix)
|
|
4746
4750
|
), P.concat(Ve(o.default));
|
|
4747
4751
|
}
|
|
4748
4752
|
function ee() {
|
|
4749
4753
|
let P, G;
|
|
4750
|
-
s.value === !0 ? f.value !== null ? (P = [
|
|
4754
|
+
s.value === !0 ? f.value !== null ? (P = [p("div", { role: "alert" }, f.value)], G = `q--slot-error-${f.value}`) : (P = Ve(o.error), G = "q--slot-error") : (t.hideHint !== !0 || e.focused.value === !0) && (t.hint !== void 0 ? (P = [p("div", t.hint)], G = `q--slot-hint-${t.hint}`) : (P = Ve(o.hint), G = "q--slot-hint"));
|
|
4751
4755
|
const le = t.counter === !0 || o.counter !== void 0;
|
|
4752
4756
|
if (t.hideBottomSpace === !0 && le === !1 && P === void 0)
|
|
4753
4757
|
return;
|
|
4754
|
-
const x =
|
|
4758
|
+
const x = p("div", {
|
|
4755
4759
|
key: G,
|
|
4756
4760
|
class: "q-field__messages col"
|
|
4757
4761
|
}, P);
|
|
4758
|
-
return
|
|
4762
|
+
return p("div", {
|
|
4759
4763
|
class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace !== !0 ? "animated" : "stale"),
|
|
4760
4764
|
onClick: Ge
|
|
4761
4765
|
}, [
|
|
4762
|
-
t.hideBottomSpace === !0 ? x :
|
|
4763
|
-
le === !0 ?
|
|
4766
|
+
t.hideBottomSpace === !0 ? x : p(ht, { name: "q-transition--field-message" }, () => x),
|
|
4767
|
+
le === !0 ? p("div", {
|
|
4764
4768
|
class: "q-field__counter"
|
|
4765
4769
|
}, o.counter !== void 0 ? o.counter() : e.computedCounter.value) : null
|
|
4766
4770
|
]);
|
|
4767
4771
|
}
|
|
4768
4772
|
function X(P, G) {
|
|
4769
|
-
return G === null ? null :
|
|
4773
|
+
return G === null ? null : p("div", {
|
|
4770
4774
|
key: P,
|
|
4771
4775
|
class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
|
|
4772
4776
|
}, G);
|
|
@@ -4786,7 +4790,7 @@ function Gr(e) {
|
|
|
4786
4790
|
"data-autofocus": t.autofocus === !0 || void 0,
|
|
4787
4791
|
...E.value
|
|
4788
4792
|
} : E.value;
|
|
4789
|
-
return
|
|
4793
|
+
return p(e.tag.value, {
|
|
4790
4794
|
ref: e.rootRef,
|
|
4791
4795
|
class: [
|
|
4792
4796
|
m.value,
|
|
@@ -4795,14 +4799,14 @@ function Gr(e) {
|
|
|
4795
4799
|
style: r.style,
|
|
4796
4800
|
...G
|
|
4797
4801
|
}, [
|
|
4798
|
-
o.before !== void 0 ?
|
|
4802
|
+
o.before !== void 0 ? p("div", {
|
|
4799
4803
|
class: "q-field__before q-field__marginal row no-wrap items-center",
|
|
4800
4804
|
onClick: Ge
|
|
4801
4805
|
}, o.before()) : null,
|
|
4802
|
-
|
|
4806
|
+
p("div", {
|
|
4803
4807
|
class: "q-field__inner relative-position col self-stretch"
|
|
4804
4808
|
}, [
|
|
4805
|
-
|
|
4809
|
+
p("div", {
|
|
4806
4810
|
ref: e.controlRef,
|
|
4807
4811
|
class: T.value,
|
|
4808
4812
|
tabindex: -1,
|
|
@@ -4810,7 +4814,7 @@ function Gr(e) {
|
|
|
4810
4814
|
}, U()),
|
|
4811
4815
|
v.value === !0 ? ee() : null
|
|
4812
4816
|
]),
|
|
4813
|
-
o.after !== void 0 ?
|
|
4817
|
+
o.after !== void 0 ? p("div", {
|
|
4814
4818
|
class: "q-field__after q-field__marginal row no-wrap items-center",
|
|
4815
4819
|
onClick: Ge
|
|
4816
4820
|
}, o.after()) : null
|
|
@@ -4844,7 +4848,7 @@ const Qu = new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + va.jo
|
|
|
4844
4848
|
};
|
|
4845
4849
|
function Zu(e, t, n, o) {
|
|
4846
4850
|
let r, l, i, a, u, c;
|
|
4847
|
-
const s = j(null), f = j(
|
|
4851
|
+
const s = j(null), f = j(g());
|
|
4848
4852
|
function b() {
|
|
4849
4853
|
return e.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(e.type);
|
|
4850
4854
|
}
|
|
@@ -4860,7 +4864,7 @@ function Zu(e, t, n, o) {
|
|
|
4860
4864
|
}), te(() => e.unmaskedValue, () => {
|
|
4861
4865
|
s.value === !0 && m(f.value);
|
|
4862
4866
|
});
|
|
4863
|
-
function
|
|
4867
|
+
function g() {
|
|
4864
4868
|
if (w(), s.value === !0) {
|
|
4865
4869
|
const L = E(D(e.modelValue));
|
|
4866
4870
|
return e.fillMask !== !1 ? Z(L) : L;
|
|
@@ -5140,7 +5144,7 @@ const ga = pe({
|
|
|
5140
5144
|
const { proxy: o } = ge(), { $q: r } = o, l = {};
|
|
5141
5145
|
let i = NaN, a, u, c = null, s;
|
|
5142
5146
|
const f = j(null), b = Zi(e), {
|
|
5143
|
-
innerValue:
|
|
5147
|
+
innerValue: g,
|
|
5144
5148
|
hasMask: v,
|
|
5145
5149
|
moveCursorForPaste: w,
|
|
5146
5150
|
updateMaskValue: m,
|
|
@@ -5148,7 +5152,7 @@ const ga = pe({
|
|
|
5148
5152
|
onMaskedClick: S
|
|
5149
5153
|
} = Zu(e, t, X, f), B = Xu(
|
|
5150
5154
|
e
|
|
5151
|
-
), _ = d(() => On(
|
|
5155
|
+
), _ = d(() => On(g.value)), E = ma(A), O = Jr({ changeEvent: !0 }), D = d(
|
|
5152
5156
|
() => e.type === "textarea" || e.autogrow === !0
|
|
5153
5157
|
), Z = d(
|
|
5154
5158
|
() => D.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
|
|
@@ -5188,7 +5192,7 @@ const ga = pe({
|
|
|
5188
5192
|
if (u === !0 && (u = !1, String(C) === i))
|
|
5189
5193
|
return;
|
|
5190
5194
|
m(C);
|
|
5191
|
-
} else
|
|
5195
|
+
} else g.value !== C && (g.value = C, e.type === "number" && l.hasOwnProperty("value") === !0 && (a === !0 ? a = !1 : delete l.value));
|
|
5192
5196
|
e.autogrow === !0 && Le(H);
|
|
5193
5197
|
}), te(() => e.autogrow, (C) => {
|
|
5194
5198
|
C === !0 ? Le(H) : f.value !== null && n.rows > 0 && (f.value.style.height = "auto");
|
|
@@ -5257,18 +5261,18 @@ const ga = pe({
|
|
|
5257
5261
|
}
|
|
5258
5262
|
function G(C) {
|
|
5259
5263
|
C !== void 0 && nt(C), c !== null && (clearTimeout(c), c = null), s !== void 0 && s(), a = !1, u = !1, delete l.value, e.type !== "file" && setTimeout(() => {
|
|
5260
|
-
f.value !== null && (f.value.value =
|
|
5264
|
+
f.value !== null && (f.value.value = g.value !== void 0 ? g.value : "");
|
|
5261
5265
|
});
|
|
5262
5266
|
}
|
|
5263
5267
|
function le() {
|
|
5264
|
-
return l.hasOwnProperty("value") === !0 ? l.value :
|
|
5268
|
+
return l.hasOwnProperty("value") === !0 ? l.value : g.value !== void 0 ? g.value : "";
|
|
5265
5269
|
}
|
|
5266
5270
|
Te(() => {
|
|
5267
5271
|
G();
|
|
5268
5272
|
}), vt(() => {
|
|
5269
5273
|
e.autogrow === !0 && H();
|
|
5270
5274
|
}), Object.assign(O, {
|
|
5271
|
-
innerValue:
|
|
5275
|
+
innerValue: g,
|
|
5272
5276
|
fieldClass: d(
|
|
5273
5277
|
() => `q-${D.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
|
|
5274
5278
|
),
|
|
@@ -5279,9 +5283,9 @@ const ga = pe({
|
|
|
5279
5283
|
emitValue: X,
|
|
5280
5284
|
hasValue: _,
|
|
5281
5285
|
floatingLabel: d(
|
|
5282
|
-
() => _.value === !0 && (e.type !== "number" || isNaN(
|
|
5286
|
+
() => _.value === !0 && (e.type !== "number" || isNaN(g.value) === !1) || On(e.displayValue)
|
|
5283
5287
|
),
|
|
5284
|
-
getControl: () =>
|
|
5288
|
+
getControl: () => p(D.value === !0 ? "textarea" : "input", {
|
|
5285
5289
|
ref: f,
|
|
5286
5290
|
class: [
|
|
5287
5291
|
"q-field__native q-placeholder",
|
|
@@ -5292,11 +5296,11 @@ const ga = pe({
|
|
|
5292
5296
|
...L.value,
|
|
5293
5297
|
...e.type !== "file" ? { value: le() } : B.value
|
|
5294
5298
|
}),
|
|
5295
|
-
getShadowControl: () =>
|
|
5299
|
+
getShadowControl: () => p("div", {
|
|
5296
5300
|
class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (D.value === !0 ? "" : " text-no-wrap")
|
|
5297
5301
|
}, [
|
|
5298
|
-
|
|
5299
|
-
|
|
5302
|
+
p("span", { class: "invisible" }, le()),
|
|
5303
|
+
p("span", e.shadowText)
|
|
5300
5304
|
])
|
|
5301
5305
|
});
|
|
5302
5306
|
const x = Gr(O);
|
|
@@ -5381,7 +5385,7 @@ const ga = pe({
|
|
|
5381
5385
|
emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
|
|
5382
5386
|
setup(e, { emit: t }) {
|
|
5383
5387
|
kn((u) => ({
|
|
5384
|
-
"
|
|
5388
|
+
"308cc05f": u.height
|
|
5385
5389
|
}));
|
|
5386
5390
|
const n = e, o = t, r = j(!1), l = d(() => n.type === "password" ? r.value ? "text" : "password" : n.type || "text"), i = d({
|
|
5387
5391
|
get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
|
|
@@ -5567,7 +5571,7 @@ const ga = pe({
|
|
|
5567
5571
|
}), i = d(
|
|
5568
5572
|
() => `q-page${e.padding === !0 ? " q-layout-padding" : ""}`
|
|
5569
5573
|
);
|
|
5570
|
-
return () =>
|
|
5574
|
+
return () => p("main", {
|
|
5571
5575
|
class: i.value,
|
|
5572
5576
|
style: l.value
|
|
5573
5577
|
}, Ve(t.default));
|
|
@@ -5583,7 +5587,7 @@ const ga = pe({
|
|
|
5583
5587
|
const l = {};
|
|
5584
5588
|
return o.header.space === !0 && (l.paddingTop = `${o.header.size}px`), o.right.space === !0 && (l[`padding${n.lang.rtl === !0 ? "Left" : "Right"}`] = `${o.right.size}px`), o.footer.space === !0 && (l.paddingBottom = `${o.footer.size}px`), o.left.space === !0 && (l[`padding${n.lang.rtl === !0 ? "Right" : "Left"}`] = `${o.left.size}px`), l;
|
|
5585
5589
|
});
|
|
5586
|
-
return () =>
|
|
5590
|
+
return () => p("div", {
|
|
5587
5591
|
class: "q-page-container",
|
|
5588
5592
|
style: r.value
|
|
5589
5593
|
}, Ve(t.default));
|
|
@@ -5623,14 +5627,14 @@ const ga = pe({
|
|
|
5623
5627
|
});
|
|
5624
5628
|
function i() {
|
|
5625
5629
|
o !== null && o();
|
|
5626
|
-
const f = Math.max(0, Oi(r)), b = Di(r),
|
|
5630
|
+
const f = Math.max(0, Oi(r)), b = Di(r), g = {
|
|
5627
5631
|
top: f - n.position.top,
|
|
5628
5632
|
left: b - n.position.left
|
|
5629
5633
|
};
|
|
5630
|
-
if (e.axis === "vertical" &&
|
|
5634
|
+
if (e.axis === "vertical" && g.top === 0 || e.axis === "horizontal" && g.left === 0)
|
|
5631
5635
|
return;
|
|
5632
|
-
const v = Math.abs(
|
|
5633
|
-
n.position = { top: f, left: b }, n.directionChanged = n.direction !== v, n.delta =
|
|
5636
|
+
const v = Math.abs(g.top) >= Math.abs(g.left) ? g.top < 0 ? "up" : "down" : g.left < 0 ? "left" : "right";
|
|
5637
|
+
n.position = { top: f, left: b }, n.directionChanged = n.direction !== v, n.delta = g, n.directionChanged === !0 && (n.direction = v, n.inflectionPoint = n.position), t("scroll", { ...n });
|
|
5634
5638
|
}
|
|
5635
5639
|
function a() {
|
|
5636
5640
|
r = zr(l, e.scrollTarget), r.addEventListener("scroll", c, Ql), c(!0);
|
|
@@ -5642,9 +5646,9 @@ const ga = pe({
|
|
|
5642
5646
|
if (f === !0 || e.debounce === 0 || e.debounce === "0")
|
|
5643
5647
|
i();
|
|
5644
5648
|
else if (o === null) {
|
|
5645
|
-
const [b,
|
|
5649
|
+
const [b, g] = e.debounce ? [setTimeout(i, e.debounce), clearTimeout] : [requestAnimationFrame(i), cancelAnimationFrame];
|
|
5646
5650
|
o = () => {
|
|
5647
|
-
|
|
5651
|
+
g(b), o = null;
|
|
5648
5652
|
};
|
|
5649
5653
|
}
|
|
5650
5654
|
}
|
|
@@ -5715,7 +5719,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
5715
5719
|
});
|
|
5716
5720
|
}), Te(u), () => {
|
|
5717
5721
|
if (s.value === !0)
|
|
5718
|
-
return
|
|
5722
|
+
return p("object", {
|
|
5719
5723
|
class: "q--avoid-card-border",
|
|
5720
5724
|
style: Kl.style,
|
|
5721
5725
|
tabindex: -1,
|
|
@@ -5744,7 +5748,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
5744
5748
|
setup(e, { slots: t, emit: n }) {
|
|
5745
5749
|
const { proxy: { $q: o } } = ge(), r = j(null), l = j(o.screen.height), i = j(e.container === !0 ? 0 : o.screen.width), a = j({ position: 0, direction: "down", inflectionPoint: 0 }), u = j(0), c = j(en.value === !0 ? 0 : oo()), s = d(
|
|
5746
5750
|
() => "q-layout q-layout--" + (e.container === !0 ? "containerized" : "standard")
|
|
5747
|
-
), f = d(() => e.container === !1 ? { minHeight: o.screen.height + "px" } : null), b = d(() => c.value !== 0 ? { [o.lang.rtl === !0 ? "left" : "right"]: `${c.value}px` } : null),
|
|
5751
|
+
), f = d(() => e.container === !1 ? { minHeight: o.screen.height + "px" } : null), b = d(() => c.value !== 0 ? { [o.lang.rtl === !0 ? "left" : "right"]: `${c.value}px` } : null), g = d(() => c.value !== 0 ? {
|
|
5748
5752
|
[o.lang.rtl === !0 ? "right" : "left"]: 0,
|
|
5749
5753
|
[o.lang.rtl === !0 ? "left" : "right"]: `-${c.value}px`,
|
|
5750
5754
|
width: `calc(100% + ${c.value}px)`
|
|
@@ -5831,26 +5835,26 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
5831
5835
|
}
|
|
5832
5836
|
return () => {
|
|
5833
5837
|
const _ = $t(t.default, [
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
]), E =
|
|
5838
|
+
p(dc, { onScroll: v }),
|
|
5839
|
+
p(qr, { onResize: w })
|
|
5840
|
+
]), E = p("div", {
|
|
5837
5841
|
class: s.value,
|
|
5838
5842
|
style: f.value,
|
|
5839
5843
|
ref: e.container === !0 ? void 0 : r,
|
|
5840
5844
|
tabindex: -1
|
|
5841
5845
|
}, _);
|
|
5842
|
-
return e.container === !0 ?
|
|
5846
|
+
return e.container === !0 ? p("div", {
|
|
5843
5847
|
class: "q-layout-container overflow-hidden",
|
|
5844
5848
|
ref: r
|
|
5845
5849
|
}, [
|
|
5846
|
-
|
|
5847
|
-
|
|
5850
|
+
p(qr, { onResize: m }),
|
|
5851
|
+
p("div", {
|
|
5848
5852
|
class: "absolute-full",
|
|
5849
5853
|
style: b.value
|
|
5850
5854
|
}, [
|
|
5851
|
-
|
|
5855
|
+
p("div", {
|
|
5852
5856
|
class: "scroll",
|
|
5853
|
-
style:
|
|
5857
|
+
style: g.value
|
|
5854
5858
|
}, [E])
|
|
5855
5859
|
])
|
|
5856
5860
|
]) : E;
|
|
@@ -5876,7 +5880,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
5876
5880
|
}, null, 8, ["size", "thickness"])) : Ye("", !0)
|
|
5877
5881
|
], 2));
|
|
5878
5882
|
}
|
|
5879
|
-
}), mc = /* @__PURE__ */ ie(vc, [["__scopeId", "data-v-
|
|
5883
|
+
}), mc = /* @__PURE__ */ ie(vc, [["__scopeId", "data-v-ef7a12f8"]]), gc = /* @__PURE__ */ Ne({
|
|
5880
5884
|
__name: "AppLayout",
|
|
5881
5885
|
props: {
|
|
5882
5886
|
logged: { type: Boolean },
|
|
@@ -5942,7 +5946,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
5942
5946
|
const n = d(
|
|
5943
5947
|
() => "q-toolbar row no-wrap items-center" + (e.inset === !0 ? " q-toolbar--inset" : "")
|
|
5944
5948
|
);
|
|
5945
|
-
return () =>
|
|
5949
|
+
return () => p("div", { class: n.value, role: "toolbar" }, Ve(t.default));
|
|
5946
5950
|
}
|
|
5947
5951
|
}), kc = pe({
|
|
5948
5952
|
name: "QHeader",
|
|
@@ -5987,22 +5991,22 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
5987
5991
|
const S = r.rows.value.top, B = {};
|
|
5988
5992
|
return S[0] === "l" && r.left.space === !0 && (B[o.lang.rtl === !0 ? "right" : "left"] = `${r.left.size}px`), S[2] === "r" && r.right.space === !0 && (B[o.lang.rtl === !0 ? "left" : "right"] = `${r.right.size}px`), B;
|
|
5989
5993
|
});
|
|
5990
|
-
function
|
|
5994
|
+
function g(S, B) {
|
|
5991
5995
|
r.update("header", S, B);
|
|
5992
5996
|
}
|
|
5993
5997
|
function v(S, B) {
|
|
5994
5998
|
S.value !== B && (S.value = B);
|
|
5995
5999
|
}
|
|
5996
6000
|
function w({ height: S }) {
|
|
5997
|
-
v(l, S),
|
|
6001
|
+
v(l, S), g("size", S);
|
|
5998
6002
|
}
|
|
5999
6003
|
function m(S) {
|
|
6000
6004
|
s.value === !0 && v(i, !0), n("focusin", S);
|
|
6001
6005
|
}
|
|
6002
6006
|
te(() => e.modelValue, (S) => {
|
|
6003
|
-
|
|
6007
|
+
g("space", S), v(i, !0), r.animate();
|
|
6004
6008
|
}), te(u, (S) => {
|
|
6005
|
-
|
|
6009
|
+
g("offset", S);
|
|
6006
6010
|
}), te(() => e.reveal, (S) => {
|
|
6007
6011
|
S === !1 && v(i, e.modelValue);
|
|
6008
6012
|
}), te(i, (S) => {
|
|
@@ -6014,20 +6018,20 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6014
6018
|
);
|
|
6015
6019
|
});
|
|
6016
6020
|
const T = {};
|
|
6017
|
-
return r.instances.header = T, e.modelValue === !0 &&
|
|
6018
|
-
r.instances.header === T && (r.instances.header = void 0,
|
|
6021
|
+
return r.instances.header = T, e.modelValue === !0 && g("size", l.value), g("space", e.modelValue), g("offset", u.value), Te(() => {
|
|
6022
|
+
r.instances.header === T && (r.instances.header = void 0, g("size", 0), g("offset", 0), g("space", !1));
|
|
6019
6023
|
}), () => {
|
|
6020
6024
|
const S = Mi(t.default, []);
|
|
6021
6025
|
return e.elevated === !0 && S.push(
|
|
6022
|
-
|
|
6026
|
+
p("div", {
|
|
6023
6027
|
class: "q-layout__shadow absolute-full overflow-hidden no-pointer-events"
|
|
6024
6028
|
})
|
|
6025
6029
|
), S.push(
|
|
6026
|
-
|
|
6030
|
+
p(qr, {
|
|
6027
6031
|
debounce: 0,
|
|
6028
6032
|
onResize: w
|
|
6029
6033
|
})
|
|
6030
|
-
),
|
|
6034
|
+
), p("header", {
|
|
6031
6035
|
class: f.value,
|
|
6032
6036
|
style: b.value,
|
|
6033
6037
|
onFocusin: m
|
|
@@ -6145,9 +6149,9 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6145
6149
|
return { chip: m, remove: T };
|
|
6146
6150
|
});
|
|
6147
6151
|
function b(m) {
|
|
6148
|
-
m.keyCode === 13 &&
|
|
6152
|
+
m.keyCode === 13 && g(m);
|
|
6149
6153
|
}
|
|
6150
|
-
function
|
|
6154
|
+
function g(m) {
|
|
6151
6155
|
e.disable || (n("update:selected", !e.selected), n("click", m));
|
|
6152
6156
|
}
|
|
6153
6157
|
function v(m) {
|
|
@@ -6156,25 +6160,25 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6156
6160
|
function w() {
|
|
6157
6161
|
const m = [];
|
|
6158
6162
|
c.value === !0 && m.push(
|
|
6159
|
-
|
|
6163
|
+
p("div", { class: "q-focus-helper" })
|
|
6160
6164
|
), i.value === !0 && m.push(
|
|
6161
|
-
|
|
6165
|
+
p(lt, {
|
|
6162
6166
|
class: "q-chip__icon q-chip__icon--left",
|
|
6163
6167
|
name: a.value
|
|
6164
6168
|
})
|
|
6165
6169
|
);
|
|
6166
|
-
const T = e.label !== void 0 ? [
|
|
6170
|
+
const T = e.label !== void 0 ? [p("div", { class: "ellipsis" }, [e.label])] : void 0;
|
|
6167
6171
|
return m.push(
|
|
6168
|
-
|
|
6172
|
+
p("div", {
|
|
6169
6173
|
class: "q-chip__content col row no-wrap items-center q-anchor--skip"
|
|
6170
6174
|
}, ls(t.default, T))
|
|
6171
6175
|
), e.iconRight && m.push(
|
|
6172
|
-
|
|
6176
|
+
p(lt, {
|
|
6173
6177
|
class: "q-chip__icon q-chip__icon--right",
|
|
6174
6178
|
name: e.iconRight
|
|
6175
6179
|
})
|
|
6176
6180
|
), e.removable === !0 && m.push(
|
|
6177
|
-
|
|
6181
|
+
p(lt, {
|
|
6178
6182
|
class: "q-chip__icon q-chip__icon--remove cursor-pointer",
|
|
6179
6183
|
name: u.value,
|
|
6180
6184
|
...f.value.remove,
|
|
@@ -6192,7 +6196,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6192
6196
|
return c.value === !0 && Object.assign(
|
|
6193
6197
|
m,
|
|
6194
6198
|
f.value.chip,
|
|
6195
|
-
{ onClick:
|
|
6199
|
+
{ onClick: g, onKeyup: b }
|
|
6196
6200
|
), yr(
|
|
6197
6201
|
"div",
|
|
6198
6202
|
m,
|
|
@@ -6227,18 +6231,18 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6227
6231
|
setup(e, { slots: t, emit: n }) {
|
|
6228
6232
|
const { proxy: { $q: o } } = ge(), r = Ct(e, o), { hasLink: l, linkAttrs: i, linkClass: a, linkTag: u, navigateOnClick: c } = Yi(), s = j(null), f = j(null), b = d(
|
|
6229
6233
|
() => e.clickable === !0 || l.value === !0 || e.tag === "label"
|
|
6230
|
-
),
|
|
6234
|
+
), g = d(
|
|
6231
6235
|
() => e.disable !== !0 && b.value === !0
|
|
6232
6236
|
), v = d(
|
|
6233
|
-
() => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (r.value === !0 ? " q-item--dark" : "") + (l.value === !0 && e.active === null ? a.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (
|
|
6237
|
+
() => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (r.value === !0 ? " q-item--dark" : "") + (l.value === !0 && e.active === null ? a.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (g.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
|
|
6234
6238
|
), w = d(() => e.insetLevel === void 0 ? null : {
|
|
6235
6239
|
["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px"
|
|
6236
6240
|
});
|
|
6237
6241
|
function m(B) {
|
|
6238
|
-
|
|
6242
|
+
g.value === !0 && (f.value !== null && (B.qKeyEvent !== !0 && document.activeElement === s.value ? f.value.focus() : document.activeElement === f.value && s.value.focus()), c(B));
|
|
6239
6243
|
}
|
|
6240
6244
|
function T(B) {
|
|
6241
|
-
if (
|
|
6245
|
+
if (g.value === !0 && It(B, [13, 32]) === !0) {
|
|
6242
6246
|
Re(B), B.qKeyEvent = !0;
|
|
6243
6247
|
const _ = new MouseEvent("click", B);
|
|
6244
6248
|
_.qKeyEvent = !0, s.value.dispatchEvent(_);
|
|
@@ -6247,8 +6251,8 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6247
6251
|
}
|
|
6248
6252
|
function S() {
|
|
6249
6253
|
const B = Mi(t.default, []);
|
|
6250
|
-
return
|
|
6251
|
-
|
|
6254
|
+
return g.value === !0 && B.unshift(
|
|
6255
|
+
p("div", { class: "q-focus-helper", tabindex: -1, ref: f })
|
|
6252
6256
|
), B;
|
|
6253
6257
|
}
|
|
6254
6258
|
return () => {
|
|
@@ -6260,7 +6264,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6260
6264
|
onClick: m,
|
|
6261
6265
|
onKeyup: T
|
|
6262
6266
|
};
|
|
6263
|
-
return
|
|
6267
|
+
return g.value === !0 ? (B.tabindex = e.tabindex || "0", Object.assign(B, i.value)) : b.value === !0 && (B["aria-disabled"] = "true"), p(
|
|
6264
6268
|
u.value,
|
|
6265
6269
|
B,
|
|
6266
6270
|
S()
|
|
@@ -6296,7 +6300,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6296
6300
|
const n = d(
|
|
6297
6301
|
() => `q-item__section column q-item__section--${e.avatar === !0 || e.side === !0 || e.thumbnail === !0 ? "side" : "main"}` + (e.top === !0 ? " q-item__section--top justify-start" : " justify-center") + (e.avatar === !0 ? " q-item__section--avatar" : "") + (e.thumbnail === !0 ? " q-item__section--thumbnail" : "") + (e.noWrap === !0 ? " q-item__section--nowrap" : "")
|
|
6298
6302
|
);
|
|
6299
|
-
return () =>
|
|
6303
|
+
return () => p("div", { class: n.value }, Ve(t.default));
|
|
6300
6304
|
}
|
|
6301
6305
|
}), Br = pe({
|
|
6302
6306
|
name: "QItemLabel",
|
|
@@ -6315,7 +6319,7 @@ const pa = typeof ResizeObserver < "u", Kl = pa === !0 ? {} : {
|
|
|
6315
6319
|
"-webkit-box-orient": "vertical",
|
|
6316
6320
|
"-webkit-line-clamp": n.value
|
|
6317
6321
|
} : null);
|
|
6318
|
-
return () =>
|
|
6322
|
+
return () => p("div", {
|
|
6319
6323
|
style: r.value,
|
|
6320
6324
|
class: o.value
|
|
6321
6325
|
}, Ve(t.default));
|
|
@@ -6427,7 +6431,7 @@ function Rc({
|
|
|
6427
6431
|
// optional
|
|
6428
6432
|
}) {
|
|
6429
6433
|
const r = ge(), { props: l, emit: i, proxy: a } = r, { $q: u } = a;
|
|
6430
|
-
let c, s, f, b = [],
|
|
6434
|
+
let c, s, f, b = [], g;
|
|
6431
6435
|
const v = j(0), w = j(0), m = j({}), T = j(null), S = j(null), B = j(null), _ = j({ from: 0, to: 0 }), E = d(() => l.tableColspan !== void 0 ? l.tableColspan : 100);
|
|
6432
6436
|
o === void 0 && (o = d(() => l.virtualScrollItemSize));
|
|
6433
6437
|
const O = d(() => o.value + ";" + l.virtualScrollHorizontal), D = d(
|
|
@@ -6485,7 +6489,7 @@ function Rc({
|
|
|
6485
6489
|
return;
|
|
6486
6490
|
}
|
|
6487
6491
|
f !== C.scrollViewSize && X(C.scrollViewSize), U(_.value.from);
|
|
6488
|
-
const se = Math.floor(C.scrollMaxSize - Math.max(C.scrollViewSize, C.offsetEnd) - Math.min(
|
|
6492
|
+
const se = Math.floor(C.scrollMaxSize - Math.max(C.scrollViewSize, C.offsetEnd) - Math.min(g[N], C.scrollViewSize / 2));
|
|
6489
6493
|
if (se > 0 && Math.ceil(C.scrollStart) >= se) {
|
|
6490
6494
|
M(
|
|
6491
6495
|
x,
|
|
@@ -6502,7 +6506,7 @@ function Rc({
|
|
|
6502
6506
|
for (let z = 0; J >= b[z] && I < N; z++)
|
|
6503
6507
|
J -= b[z], I += gt;
|
|
6504
6508
|
for (; J > 0 && I < N; )
|
|
6505
|
-
J -=
|
|
6509
|
+
J -= g[I], J > -C.scrollViewSize ? (I++, we = J) : we = g[I] + J;
|
|
6506
6510
|
M(
|
|
6507
6511
|
x,
|
|
6508
6512
|
C,
|
|
@@ -6523,22 +6527,22 @@ function Rc({
|
|
|
6523
6527
|
Ce === !0 && Se !== null && Se !== qe && Se.contains(qe) === !0 && (Se.addEventListener("focusout", A), setTimeout(() => {
|
|
6524
6528
|
Se !== null && Se.removeEventListener("focusout", A);
|
|
6525
6529
|
})), Lc(Se, N - z);
|
|
6526
|
-
const je = J !== void 0 ?
|
|
6530
|
+
const je = J !== void 0 ? g.slice(z, N).reduce(bn, 0) : 0;
|
|
6527
6531
|
if (Ce === !0) {
|
|
6528
6532
|
const tt = $e >= _.value.from && z <= _.value.to ? _.value.to : $e;
|
|
6529
|
-
_.value = { from: z, to: tt }, v.value = Ln(b,
|
|
6530
|
-
_.value.to !== $e && c === C.scrollStart && (_.value = { from: _.value.from, to: $e }, w.value = Ln(b,
|
|
6533
|
+
_.value = { from: z, to: tt }, v.value = Ln(b, g, 0, z), w.value = Ln(b, g, $e, e.value), requestAnimationFrame(() => {
|
|
6534
|
+
_.value.to !== $e && c === C.scrollStart && (_.value = { from: _.value.from, to: $e }, w.value = Ln(b, g, $e, e.value));
|
|
6531
6535
|
});
|
|
6532
6536
|
}
|
|
6533
6537
|
requestAnimationFrame(() => {
|
|
6534
6538
|
if (c !== C.scrollStart)
|
|
6535
6539
|
return;
|
|
6536
6540
|
Ce === !0 && U(z);
|
|
6537
|
-
const tt =
|
|
6541
|
+
const tt = g.slice(z, N).reduce(bn, 0), Ze = tt + C.offsetStart + v.value, Pe = Ze + g[N];
|
|
6538
6542
|
let bt = Ze + ae;
|
|
6539
6543
|
if (J !== void 0) {
|
|
6540
6544
|
const St = tt - je, Qe = C.scrollStart + St;
|
|
6541
|
-
bt = I !== !0 && Qe < Ze && Pe < Qe + C.scrollViewSize ? Qe : J === "end" ? Pe - C.scrollViewSize : Ze - (J === "start" ? 0 : Math.round((C.scrollViewSize -
|
|
6545
|
+
bt = I !== !0 && Qe < Ze && Pe < Qe + C.scrollViewSize ? Qe : J === "end" ? Pe - C.scrollViewSize : Ze - (J === "start" ? 0 : Math.round((C.scrollViewSize - g[N]) / 2));
|
|
6542
6546
|
}
|
|
6543
6547
|
c = bt, Zl(
|
|
6544
6548
|
x,
|
|
@@ -6559,7 +6563,7 @@ function Rc({
|
|
|
6559
6563
|
for (let z = 0; z < ae; ) {
|
|
6560
6564
|
for (J = se(N[z]), z++; z < ae && N[z].classList.contains("q-virtual-scroll--with-prev") === !0; )
|
|
6561
6565
|
J += se(N[z]), z++;
|
|
6562
|
-
we = J -
|
|
6566
|
+
we = J - g[I], we !== 0 && (g[I] += we, b[Math.floor(I / gt)] += we), I++;
|
|
6563
6567
|
}
|
|
6564
6568
|
}
|
|
6565
6569
|
}
|
|
@@ -6568,21 +6572,21 @@ function Rc({
|
|
|
6568
6572
|
}
|
|
6569
6573
|
function ee(x, C) {
|
|
6570
6574
|
const N = 1 * o.value;
|
|
6571
|
-
(C === !0 || Array.isArray(
|
|
6572
|
-
const ae =
|
|
6573
|
-
|
|
6575
|
+
(C === !0 || Array.isArray(g) === !1) && (g = []);
|
|
6576
|
+
const ae = g.length;
|
|
6577
|
+
g.length = e.value;
|
|
6574
6578
|
for (let I = e.value - 1; I >= ae; I--)
|
|
6575
|
-
|
|
6579
|
+
g[I] = N;
|
|
6576
6580
|
const se = Math.floor((e.value - 1) / gt);
|
|
6577
6581
|
b = [];
|
|
6578
6582
|
for (let I = 0; I <= se; I++) {
|
|
6579
6583
|
let J = 0;
|
|
6580
6584
|
const we = Math.min((I + 1) * gt, e.value);
|
|
6581
6585
|
for (let z = I * gt; z < we; z++)
|
|
6582
|
-
J +=
|
|
6586
|
+
J += g[z];
|
|
6583
6587
|
b.push(J);
|
|
6584
6588
|
}
|
|
6585
|
-
s = -1, c = void 0, v.value = Ln(b,
|
|
6589
|
+
s = -1, c = void 0, v.value = Ln(b, g, 0, _.value.from), w.value = Ln(b, g, _.value.to, e.value), x >= 0 ? (U(_.value.from), Le(() => {
|
|
6586
6590
|
R(x);
|
|
6587
6591
|
})) : G();
|
|
6588
6592
|
}
|
|
@@ -6619,41 +6623,41 @@ function Rc({
|
|
|
6619
6623
|
["--q-virtual-scroll-item-" + N]: o.value + "px"
|
|
6620
6624
|
};
|
|
6621
6625
|
return [
|
|
6622
|
-
x === "tbody" ?
|
|
6626
|
+
x === "tbody" ? p(x, {
|
|
6623
6627
|
class: "q-virtual-scroll__padding",
|
|
6624
6628
|
key: "before",
|
|
6625
6629
|
ref: T
|
|
6626
6630
|
}, [
|
|
6627
|
-
|
|
6628
|
-
|
|
6631
|
+
p("tr", [
|
|
6632
|
+
p("td", {
|
|
6629
6633
|
style: { [N]: `${v.value}px`, ...ae },
|
|
6630
6634
|
colspan: E.value
|
|
6631
6635
|
})
|
|
6632
6636
|
])
|
|
6633
|
-
]) :
|
|
6637
|
+
]) : p(x, {
|
|
6634
6638
|
class: "q-virtual-scroll__padding",
|
|
6635
6639
|
key: "before",
|
|
6636
6640
|
ref: T,
|
|
6637
6641
|
style: { [N]: `${v.value}px`, ...ae }
|
|
6638
6642
|
}),
|
|
6639
|
-
|
|
6643
|
+
p(x, {
|
|
6640
6644
|
class: "q-virtual-scroll__content",
|
|
6641
6645
|
key: "content",
|
|
6642
6646
|
ref: B,
|
|
6643
6647
|
tabindex: -1
|
|
6644
6648
|
}, C.flat()),
|
|
6645
|
-
x === "tbody" ?
|
|
6649
|
+
x === "tbody" ? p(x, {
|
|
6646
6650
|
class: "q-virtual-scroll__padding",
|
|
6647
6651
|
key: "after",
|
|
6648
6652
|
ref: S
|
|
6649
6653
|
}, [
|
|
6650
|
-
|
|
6651
|
-
|
|
6654
|
+
p("tr", [
|
|
6655
|
+
p("td", {
|
|
6652
6656
|
style: { [N]: `${w.value}px`, ...ae },
|
|
6653
6657
|
colspan: E.value
|
|
6654
6658
|
})
|
|
6655
6659
|
])
|
|
6656
|
-
]) :
|
|
6660
|
+
]) : p(x, {
|
|
6657
6661
|
class: "q-virtual-scroll__padding",
|
|
6658
6662
|
key: "after",
|
|
6659
6663
|
ref: S,
|
|
@@ -6798,7 +6802,7 @@ const Oc = pe({
|
|
|
6798
6802
|
],
|
|
6799
6803
|
setup(e, { slots: t, emit: n }) {
|
|
6800
6804
|
const { proxy: o } = ge(), { $q: r } = o, l = j(!1), i = j(!1), a = j(-1), u = j(""), c = j(!1), s = j(!1);
|
|
6801
|
-
let f = null, b = null,
|
|
6805
|
+
let f = null, b = null, g, v, w, m = null, T, S, B, _;
|
|
6802
6806
|
const E = j(null), O = j(null), D = j(null), Z = j(null), L = j(null), R = Zi(e), V = ma($n), M = d(() => e.options.length), U = d(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
|
|
6803
6807
|
virtualScrollSliceRange: A,
|
|
6804
6808
|
virtualScrollSliceSizeComputed: ee,
|
|
@@ -6815,7 +6819,7 @@ const Oc = pe({
|
|
|
6815
6819
|
}), x = Jr(), C = d(() => {
|
|
6816
6820
|
const y = e.mapOptions === !0 && e.multiple !== !0, ne = e.modelValue !== void 0 && (e.modelValue !== null || y === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
|
|
6817
6821
|
if (e.mapOptions === !0) {
|
|
6818
|
-
const oe = e.mapOptions === !0 &&
|
|
6822
|
+
const oe = e.mapOptions === !0 && g !== void 0 ? g : [], ve = ne.map((Be) => xn(Be, oe));
|
|
6819
6823
|
return e.modelValue === null && y === !0 ? ve.filter((Be) => Be !== null) : ve;
|
|
6820
6824
|
}
|
|
6821
6825
|
return ne;
|
|
@@ -6912,7 +6916,7 @@ const Oc = pe({
|
|
|
6912
6916
|
return y.onCompositionstart = y.onCompositionupdate = y.onCompositionend = V, y;
|
|
6913
6917
|
});
|
|
6914
6918
|
te(C, (y) => {
|
|
6915
|
-
|
|
6919
|
+
g = y, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && x.innerLoading.value !== !0 && (i.value !== !0 && l.value !== !0 || se.value !== !0) && (w !== !0 && un(), (i.value === !0 || l.value === !0) && Tt(""));
|
|
6916
6920
|
}, { immediate: !0 }), te(() => e.fillInput, un), te(l, Fo), te(M, Wa);
|
|
6917
6921
|
function mt(y) {
|
|
6918
6922
|
return e.emitValue === !0 ? Xe.value(y) : y;
|
|
@@ -7103,7 +7107,7 @@ const Oc = pe({
|
|
|
7103
7107
|
return Ft();
|
|
7104
7108
|
}
|
|
7105
7109
|
function Lt() {
|
|
7106
|
-
return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Ze.value.map((y) => t["selected-item"](y)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Ze.value.map((y, ne) =>
|
|
7110
|
+
return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Ze.value.map((y) => t["selected-item"](y)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Ze.value.map((y, ne) => p(ya, {
|
|
7107
7111
|
key: "option-" + ne,
|
|
7108
7112
|
removable: x.editable.value === !0 && F.value(y.opt) !== !0,
|
|
7109
7113
|
dense: !0,
|
|
@@ -7112,11 +7116,11 @@ const Oc = pe({
|
|
|
7112
7116
|
onRemove() {
|
|
7113
7117
|
y.removeAtIndex(ne);
|
|
7114
7118
|
}
|
|
7115
|
-
}, () =>
|
|
7119
|
+
}, () => p("span", {
|
|
7116
7120
|
class: "ellipsis",
|
|
7117
7121
|
[y.html === !0 ? "innerHTML" : "textContent"]: He.value(y.opt)
|
|
7118
7122
|
}))) : [
|
|
7119
|
-
|
|
7123
|
+
p("span", {
|
|
7120
7124
|
[qe.value === !0 ? "innerHTML" : "textContent"]: $e.value
|
|
7121
7125
|
})
|
|
7122
7126
|
];
|
|
@@ -7124,14 +7128,14 @@ const Oc = pe({
|
|
|
7124
7128
|
function an() {
|
|
7125
7129
|
if (we.value === !0)
|
|
7126
7130
|
return t["no-option"] !== void 0 ? t["no-option"]({ inputValue: u.value }) : void 0;
|
|
7127
|
-
const y = t.option !== void 0 ? t.option : (oe) =>
|
|
7131
|
+
const y = t.option !== void 0 ? t.option : (oe) => p(Ht, {
|
|
7128
7132
|
key: oe.index,
|
|
7129
7133
|
...oe.itemProps
|
|
7130
|
-
}, () =>
|
|
7134
|
+
}, () => p(
|
|
7131
7135
|
ot,
|
|
7132
|
-
() =>
|
|
7136
|
+
() => p(
|
|
7133
7137
|
Br,
|
|
7134
|
-
() =>
|
|
7138
|
+
() => p("span", {
|
|
7135
7139
|
[oe.html === !0 ? "innerHTML" : "textContent"]: oe.label
|
|
7136
7140
|
})
|
|
7137
7141
|
)
|
|
@@ -7157,7 +7161,7 @@ const Oc = pe({
|
|
|
7157
7161
|
readonly: e.readonly === !0,
|
|
7158
7162
|
...Fe.value
|
|
7159
7163
|
};
|
|
7160
|
-
return y !== !0 && v === !0 && (Array.isArray(ve.class) === !0 ? ve.class = [...ve.class, "no-pointer-events"] : ve.class += " no-pointer-events"),
|
|
7164
|
+
return y !== !0 && v === !0 && (Array.isArray(ve.class) === !0 ? ve.class = [...ve.class, "no-pointer-events"] : ve.class += " no-pointer-events"), p("input", ve);
|
|
7161
7165
|
}
|
|
7162
7166
|
function $n(y) {
|
|
7163
7167
|
f !== null && (clearTimeout(f), f = null), b !== null && (clearTimeout(b), b = null), !(y && y.target && y.target.qComposing === !0) && (sn(y.target.value || ""), w = !0, T = u.value, x.focused.value !== !0 && (v !== !0 || c.value === !0) && x.focus(), e.onFilter !== void 0 && (f = setTimeout(() => {
|
|
@@ -7197,7 +7201,7 @@ const Oc = pe({
|
|
|
7197
7201
|
);
|
|
7198
7202
|
}
|
|
7199
7203
|
function Io() {
|
|
7200
|
-
return
|
|
7204
|
+
return p(Kr, {
|
|
7201
7205
|
ref: D,
|
|
7202
7206
|
class: J.value,
|
|
7203
7207
|
style: e.popupContentStyle,
|
|
@@ -7240,7 +7244,7 @@ const Oc = pe({
|
|
|
7240
7244
|
}
|
|
7241
7245
|
function Q() {
|
|
7242
7246
|
const y = [
|
|
7243
|
-
|
|
7247
|
+
p($c, {
|
|
7244
7248
|
class: `col-auto ${x.fieldClass.value}`,
|
|
7245
7249
|
...N.value,
|
|
7246
7250
|
for: x.targetUid.value,
|
|
@@ -7261,7 +7265,7 @@ const Oc = pe({
|
|
|
7261
7265
|
})
|
|
7262
7266
|
];
|
|
7263
7267
|
return l.value === !0 && y.push(
|
|
7264
|
-
|
|
7268
|
+
p("div", {
|
|
7265
7269
|
ref: L,
|
|
7266
7270
|
class: J.value + " scroll",
|
|
7267
7271
|
style: e.popupContentStyle,
|
|
@@ -7269,7 +7273,7 @@ const Oc = pe({
|
|
|
7269
7273
|
onClick: Ge,
|
|
7270
7274
|
onScrollPassive: P
|
|
7271
7275
|
}, an())
|
|
7272
|
-
),
|
|
7276
|
+
), p(Ro, {
|
|
7273
7277
|
ref: Z,
|
|
7274
7278
|
modelValue: i.value,
|
|
7275
7279
|
position: e.useInput === !0 ? "top" : void 0,
|
|
@@ -7281,7 +7285,7 @@ const Oc = pe({
|
|
|
7281
7285
|
onBeforeHide: K,
|
|
7282
7286
|
onHide: be,
|
|
7283
7287
|
onShow: re
|
|
7284
|
-
}, () =>
|
|
7288
|
+
}, () => p("div", {
|
|
7285
7289
|
class: "q-select__dialog" + (ae.value === !0 ? " q-select__dialog--dark q-dark" : "") + (c.value === !0 ? " q-select__dialog--focused" : "")
|
|
7286
7290
|
}, y));
|
|
7287
7291
|
}
|
|
@@ -7403,7 +7407,7 @@ const Oc = pe({
|
|
|
7403
7407
|
else if (x.editable.value === !0) {
|
|
7404
7408
|
const Be = oe === !0 ? je.value : void 0;
|
|
7405
7409
|
ne.push(
|
|
7406
|
-
|
|
7410
|
+
p("input", {
|
|
7407
7411
|
ref: oe === !0 ? O : void 0,
|
|
7408
7412
|
key: "d_t",
|
|
7409
7413
|
class: "q-select__focus-target",
|
|
@@ -7417,7 +7421,7 @@ const Oc = pe({
|
|
|
7417
7421
|
onKeypress: Mt
|
|
7418
7422
|
})
|
|
7419
7423
|
), oe === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && ne.push(
|
|
7420
|
-
|
|
7424
|
+
p("input", {
|
|
7421
7425
|
class: "q-select__autocomplete-input",
|
|
7422
7426
|
autocomplete: e.autocomplete,
|
|
7423
7427
|
tabindex: -1,
|
|
@@ -7426,9 +7430,9 @@ const Oc = pe({
|
|
|
7426
7430
|
);
|
|
7427
7431
|
}
|
|
7428
7432
|
if (R.value !== void 0 && e.disable !== !0 && he.value.length !== 0) {
|
|
7429
|
-
const Be = he.value.map((xe) =>
|
|
7433
|
+
const Be = he.value.map((xe) => p("option", { value: xe, selected: !0 }));
|
|
7430
7434
|
ne.push(
|
|
7431
|
-
|
|
7435
|
+
p("select", {
|
|
7432
7436
|
class: "hidden",
|
|
7433
7437
|
name: R.value,
|
|
7434
7438
|
multiple: e.multiple
|
|
@@ -7436,14 +7440,14 @@ const Oc = pe({
|
|
|
7436
7440
|
);
|
|
7437
7441
|
}
|
|
7438
7442
|
const ve = e.useInput === !0 || oe !== !0 ? void 0 : x.splitAttrs.attributes.value;
|
|
7439
|
-
return
|
|
7443
|
+
return p("div", {
|
|
7440
7444
|
class: "q-field__native row items-center",
|
|
7441
7445
|
...ve,
|
|
7442
7446
|
...x.splitAttrs.listeners.value
|
|
7443
7447
|
}, ne);
|
|
7444
7448
|
},
|
|
7445
7449
|
getInnerAppend: () => e.loading !== !0 && s.value !== !0 && e.hideDropdownIcon !== !0 ? [
|
|
7446
|
-
|
|
7450
|
+
p(lt, {
|
|
7447
7451
|
class: "q-select__dropdown-icon" + (l.value === !0 ? " rotate-180" : ""),
|
|
7448
7452
|
name: bt.value
|
|
7449
7453
|
})
|
|
@@ -7537,7 +7541,7 @@ const Oc = pe({
|
|
|
7537
7541
|
tabindex: b.tabindex,
|
|
7538
7542
|
color: "white",
|
|
7539
7543
|
"text-color": "secondary",
|
|
7540
|
-
onRemove: (
|
|
7544
|
+
onRemove: (g) => b.removeAtIndex(b.index)
|
|
7541
7545
|
}, {
|
|
7542
7546
|
default: ce(() => [
|
|
7543
7547
|
et(rt(b.opt[`${s.optionLabel}`]), 1)
|
|
@@ -7564,7 +7568,7 @@ const Oc = pe({
|
|
|
7564
7568
|
props: zi,
|
|
7565
7569
|
setup(e) {
|
|
7566
7570
|
const { cSize: t, classes: n } = Ni(e);
|
|
7567
|
-
return () =>
|
|
7571
|
+
return () => p("svg", {
|
|
7568
7572
|
class: n.value,
|
|
7569
7573
|
fill: "currentColor",
|
|
7570
7574
|
width: t.value,
|
|
@@ -7590,7 +7594,7 @@ const Oc = pe({
|
|
|
7590
7594
|
const { proxy: { $q: n } } = ge(), o = Ct(e, n), r = d(
|
|
7591
7595
|
() => "q-card" + (o.value === !0 ? " q-card--dark q-dark" : "") + (e.bordered === !0 ? " q-card--bordered" : "") + (e.square === !0 ? " q-card--square no-border-radius" : "") + (e.flat === !0 ? " q-card--flat no-shadow" : "")
|
|
7592
7596
|
);
|
|
7593
|
-
return () =>
|
|
7597
|
+
return () => p(e.tag, { class: r.value }, Ve(t.default));
|
|
7594
7598
|
}
|
|
7595
7599
|
});
|
|
7596
7600
|
function ei(e) {
|
|
@@ -7647,7 +7651,7 @@ const zc = Or(
|
|
|
7647
7651
|
emits: ["update:dialogRef", "update:currentTabName"],
|
|
7648
7652
|
setup(e, { emit: t }) {
|
|
7649
7653
|
kn((l) => ({
|
|
7650
|
-
|
|
7654
|
+
c46ffd20: l.width
|
|
7651
7655
|
}));
|
|
7652
7656
|
const n = e, o = t, r = d({
|
|
7653
7657
|
get() {
|
|
@@ -7716,7 +7720,7 @@ const zc = Or(
|
|
|
7716
7720
|
"sheet-dialog": "_sheet-dialog_1rkva_1"
|
|
7717
7721
|
}, Jc = {
|
|
7718
7722
|
$style: Xc
|
|
7719
|
-
}, lv = /* @__PURE__ */ ie(Zc, [["__cssModules", Jc], ["__scopeId", "data-v-
|
|
7723
|
+
}, lv = /* @__PURE__ */ ie(Zc, [["__cssModules", Jc], ["__scopeId", "data-v-fb6e60fa"]]), el = {
|
|
7720
7724
|
left: !0,
|
|
7721
7725
|
right: !0,
|
|
7722
7726
|
up: !0,
|
|
@@ -7842,9 +7846,9 @@ const lr = Or(
|
|
|
7842
7846
|
r.lastEvt = l;
|
|
7843
7847
|
const c = r.event.mouse === !0, s = () => {
|
|
7844
7848
|
o(l, c);
|
|
7845
|
-
let
|
|
7846
|
-
n.preserveCursor !== !0 && n.preservecursor !== !0 && (
|
|
7847
|
-
if (r.styleCleanup = void 0,
|
|
7849
|
+
let g;
|
|
7850
|
+
n.preserveCursor !== !0 && n.preservecursor !== !0 && (g = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), c === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), so(), r.styleCleanup = (v) => {
|
|
7851
|
+
if (r.styleCleanup = void 0, g !== void 0 && (document.documentElement.style.cursor = g), document.body.classList.remove("non-selectable"), c === !0) {
|
|
7848
7852
|
const w = () => {
|
|
7849
7853
|
document.body.classList.remove("no-pointer-events--children");
|
|
7850
7854
|
};
|
|
@@ -7856,8 +7860,8 @@ const lr = Or(
|
|
|
7856
7860
|
};
|
|
7857
7861
|
if (r.event.detected === !0) {
|
|
7858
7862
|
r.event.isFirst !== !0 && o(l, r.event.mouse);
|
|
7859
|
-
const { payload:
|
|
7860
|
-
|
|
7863
|
+
const { payload: g, synthetic: v } = rr(l, r, !1);
|
|
7864
|
+
g !== void 0 && (r.handler(g) === !1 ? r.end(l) : (r.styleCleanup === void 0 && r.event.isFirst === !0 && s(), r.event.lastX = g.position.left, r.event.lastY = g.position.top, r.event.lastDir = v === !0 ? void 0 : g.direction, r.event.isFirst = !1));
|
|
7861
7865
|
return;
|
|
7862
7866
|
}
|
|
7863
7867
|
if (r.direction.all === !0 || c === !0 && (r.modifiers.mouseAllDir === !0 || r.modifiers.mousealldir === !0)) {
|
|
@@ -7952,7 +7956,7 @@ const lr = Or(
|
|
|
7952
7956
|
const r = ge(), { proxy: { $q: l } } = r, i = Ct(e, l), { preventBodyScroll: a } = aa(), { registerTimeout: u, removeTimeout: c } = Bo(), s = Gt(jn, Je);
|
|
7953
7957
|
if (s === Je)
|
|
7954
7958
|
return console.error("QDrawer needs to be child of QLayout"), Je;
|
|
7955
|
-
let f, b = null,
|
|
7959
|
+
let f, b = null, g;
|
|
7956
7960
|
const v = j(
|
|
7957
7961
|
e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint
|
|
7958
7962
|
), w = d(
|
|
@@ -8143,16 +8147,16 @@ const lr = Or(
|
|
|
8143
8147
|
Le(F);
|
|
8144
8148
|
return;
|
|
8145
8149
|
}
|
|
8146
|
-
|
|
8147
|
-
|
|
8150
|
+
g = te(s.totalWidth, () => {
|
|
8151
|
+
g(), g = void 0, T.value === !1 && e.showIfAbove === !0 && v.value === !1 ? E(!1) : F();
|
|
8148
8152
|
});
|
|
8149
8153
|
}), Te(() => {
|
|
8150
|
-
|
|
8154
|
+
g !== void 0 && g(), b !== null && (clearTimeout(b), b = null), T.value === !0 && St(), s.instances[e.side] === L && (s.instances[e.side] = void 0, Qe("size", 0), Qe("offset", 0), Qe("space", !1));
|
|
8151
8155
|
}), () => {
|
|
8152
8156
|
const F = [];
|
|
8153
8157
|
v.value === !0 && (e.noSwipeOpen === !1 && F.push(
|
|
8154
8158
|
nn(
|
|
8155
|
-
|
|
8159
|
+
p("div", {
|
|
8156
8160
|
key: "open",
|
|
8157
8161
|
class: `q-drawer__opener fixed-${e.side}`,
|
|
8158
8162
|
"aria-hidden": "true"
|
|
@@ -8176,7 +8180,7 @@ const lr = Or(
|
|
|
8176
8180
|
)
|
|
8177
8181
|
));
|
|
8178
8182
|
const he = w.value === !0 && t.mini !== void 0, Fe = [
|
|
8179
|
-
|
|
8183
|
+
p(
|
|
8180
8184
|
"div",
|
|
8181
8185
|
{
|
|
8182
8186
|
...o,
|
|
@@ -8191,7 +8195,7 @@ const lr = Or(
|
|
|
8191
8195
|
)
|
|
8192
8196
|
];
|
|
8193
8197
|
return e.elevated === !0 && T.value === !0 && Fe.push(
|
|
8194
|
-
|
|
8198
|
+
p("div", {
|
|
8195
8199
|
class: "q-layout__shadow absolute-full overflow-hidden no-pointer-events"
|
|
8196
8200
|
})
|
|
8197
8201
|
), F.push(
|
|
@@ -8203,7 +8207,7 @@ const lr = Or(
|
|
|
8203
8207
|
e.noSwipeClose !== !0 && v.value === !0,
|
|
8204
8208
|
() => $e.value
|
|
8205
8209
|
)
|
|
8206
|
-
),
|
|
8210
|
+
), p("div", { class: "q-drawer-container" }, F);
|
|
8207
8211
|
};
|
|
8208
8212
|
}
|
|
8209
8213
|
}), od = pe({
|
|
@@ -8227,7 +8231,7 @@ const lr = Or(
|
|
|
8227
8231
|
function b(w, m) {
|
|
8228
8232
|
w.style.overflowY = null, w.style.height = null, w.style.transition = null, s(), m !== c && n(m);
|
|
8229
8233
|
}
|
|
8230
|
-
function
|
|
8234
|
+
function g(w, m) {
|
|
8231
8235
|
let T = 0;
|
|
8232
8236
|
l = w, o === !0 ? (s(), T = w.offsetHeight === w.scrollHeight ? 0 : void 0) : (c = "hide", w.style.overflowY = "hidden"), f(w, T, m), i = setTimeout(() => {
|
|
8233
8237
|
i = null, w.style.height = `${w.scrollHeight}px`, u = (S) => {
|
|
@@ -8245,10 +8249,10 @@ const lr = Or(
|
|
|
8245
8249
|
}
|
|
8246
8250
|
return Te(() => {
|
|
8247
8251
|
o === !0 && s();
|
|
8248
|
-
}), () =>
|
|
8252
|
+
}), () => p(ht, {
|
|
8249
8253
|
css: !1,
|
|
8250
8254
|
appear: e.appear,
|
|
8251
|
-
onEnter:
|
|
8255
|
+
onEnter: g,
|
|
8252
8256
|
onLeave: v
|
|
8253
8257
|
}, t.default);
|
|
8254
8258
|
}
|
|
@@ -8283,7 +8287,7 @@ const lr = Or(
|
|
|
8283
8287
|
}
|
|
8284
8288
|
return u;
|
|
8285
8289
|
});
|
|
8286
|
-
return () =>
|
|
8290
|
+
return () => p("hr", {
|
|
8287
8291
|
class: i.value,
|
|
8288
8292
|
style: a.value,
|
|
8289
8293
|
"aria-orientation": o.value
|
|
@@ -8330,7 +8334,7 @@ const lr = Or(
|
|
|
8330
8334
|
e.modelValue !== null ? e.modelValue : e.defaultOpened
|
|
8331
8335
|
), i = j(null), a = Zr(), { show: u, hide: c, toggle: s } = In({ showing: l });
|
|
8332
8336
|
let f, b;
|
|
8333
|
-
const
|
|
8337
|
+
const g = d(
|
|
8334
8338
|
() => `q-expansion-item q-item-type q-expansion-item--${l.value === !0 ? "expanded" : "collapsed"} q-expansion-item--${e.popup === !0 ? "popup" : "standard"}`
|
|
8335
8339
|
), v = d(() => e.contentInsetLevel === void 0 ? null : {
|
|
8336
8340
|
["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: e.contentInsetLevel * 56 + "px"
|
|
@@ -8401,7 +8405,7 @@ const lr = Or(
|
|
|
8401
8405
|
side: e.switchToggleSide !== !0,
|
|
8402
8406
|
avatar: e.switchToggleSide
|
|
8403
8407
|
}, P = [
|
|
8404
|
-
|
|
8408
|
+
p(lt, {
|
|
8405
8409
|
class: "q-expansion-item__toggle-icon" + (e.expandedIcon === void 0 && l.value === !0 ? " q-expansion-item__toggle-icon--rotated" : ""),
|
|
8406
8410
|
name: S.value
|
|
8407
8411
|
})
|
|
@@ -8412,25 +8416,25 @@ const lr = Or(
|
|
|
8412
8416
|
onClick: Z,
|
|
8413
8417
|
onKeyup: D
|
|
8414
8418
|
}), P.unshift(
|
|
8415
|
-
|
|
8419
|
+
p("div", {
|
|
8416
8420
|
ref: i,
|
|
8417
8421
|
class: "q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",
|
|
8418
8422
|
tabindex: -1
|
|
8419
8423
|
})
|
|
8420
|
-
)),
|
|
8424
|
+
)), p(ot, H, () => P);
|
|
8421
8425
|
}
|
|
8422
8426
|
function U() {
|
|
8423
8427
|
let H;
|
|
8424
8428
|
return t.header !== void 0 ? H = [].concat(t.header(_.value)) : (H = [
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
e.caption ?
|
|
8429
|
+
p(ot, () => [
|
|
8430
|
+
p(Br, { lines: e.labelLines }, () => e.label || ""),
|
|
8431
|
+
e.caption ? p(Br, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
|
|
8428
8432
|
])
|
|
8429
8433
|
], e.icon && H[e.switchToggleSide === !0 ? "push" : "unshift"](
|
|
8430
|
-
|
|
8434
|
+
p(ot, {
|
|
8431
8435
|
side: e.switchToggleSide === !0,
|
|
8432
8436
|
avatar: e.switchToggleSide !== !0
|
|
8433
|
-
}, () =>
|
|
8437
|
+
}, () => p(lt, { name: e.icon }))
|
|
8434
8438
|
)), e.disable !== !0 && e.hideExpandIcon !== !0 && H[e.switchToggleSide === !0 ? "unshift" : "push"](
|
|
8435
8439
|
M()
|
|
8436
8440
|
), H;
|
|
@@ -8448,11 +8452,11 @@ const lr = Or(
|
|
|
8448
8452
|
return T.value === !0 && (H.clickable = !0, H.onClick = O, Object.assign(
|
|
8449
8453
|
H,
|
|
8450
8454
|
w.value === !0 ? m.value : E.value
|
|
8451
|
-
)),
|
|
8455
|
+
)), p(Ht, H, U);
|
|
8452
8456
|
}
|
|
8453
8457
|
function ee() {
|
|
8454
8458
|
return nn(
|
|
8455
|
-
|
|
8459
|
+
p("div", {
|
|
8456
8460
|
key: "e-content",
|
|
8457
8461
|
class: "q-expansion-item__content relative-position",
|
|
8458
8462
|
style: v.value,
|
|
@@ -8467,18 +8471,18 @@ const lr = Or(
|
|
|
8467
8471
|
function X() {
|
|
8468
8472
|
const H = [
|
|
8469
8473
|
A(),
|
|
8470
|
-
|
|
8474
|
+
p(od, {
|
|
8471
8475
|
duration: e.duration,
|
|
8472
8476
|
onShow: L,
|
|
8473
8477
|
onHide: R
|
|
8474
8478
|
}, ee)
|
|
8475
8479
|
];
|
|
8476
8480
|
return e.expandSeparator === !0 && H.push(
|
|
8477
|
-
|
|
8481
|
+
p(ri, {
|
|
8478
8482
|
class: "q-expansion-item__border q-expansion-item__border--top absolute-top",
|
|
8479
8483
|
dark: r.value
|
|
8480
8484
|
}),
|
|
8481
|
-
|
|
8485
|
+
p(ri, {
|
|
8482
8486
|
class: "q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",
|
|
8483
8487
|
dark: r.value
|
|
8484
8488
|
})
|
|
@@ -8486,8 +8490,8 @@ const lr = Or(
|
|
|
8486
8490
|
}
|
|
8487
8491
|
return e.group !== void 0 && V(), Te(() => {
|
|
8488
8492
|
b !== void 0 && b();
|
|
8489
|
-
}), () =>
|
|
8490
|
-
|
|
8493
|
+
}), () => p("div", { class: g.value }, [
|
|
8494
|
+
p("div", { class: "q-expansion-item__container relative-position" }, X())
|
|
8491
8495
|
]);
|
|
8492
8496
|
}
|
|
8493
8497
|
}), ad = {}, sd = {
|
|
@@ -9247,8 +9251,8 @@ const _1 = /* @__PURE__ */ ie(b1, [["render", k1]]), C1 = /* @__PURE__ */ Ne({
|
|
|
9247
9251
|
},
|
|
9248
9252
|
setup(e) {
|
|
9249
9253
|
kn((r) => ({
|
|
9250
|
-
|
|
9251
|
-
"
|
|
9254
|
+
"5d838be6": r.color,
|
|
9255
|
+
"619dd817": r.size
|
|
9252
9256
|
}));
|
|
9253
9257
|
const t = e;
|
|
9254
9258
|
function n(r) {
|
|
@@ -9421,7 +9425,7 @@ const _1 = /* @__PURE__ */ ie(b1, [["render", k1]]), C1 = /* @__PURE__ */ Ne({
|
|
|
9421
9425
|
"menu-item__label": "_menu-item__label_pfw9c_18"
|
|
9422
9426
|
}, B1 = {
|
|
9423
9427
|
$style: q1
|
|
9424
|
-
}, $1 = /* @__PURE__ */ ie(M1, [["__cssModules", B1], ["__scopeId", "data-v-
|
|
9428
|
+
}, $1 = /* @__PURE__ */ ie(M1, [["__cssModules", B1], ["__scopeId", "data-v-efd5ec77"]]), E1 = /* @__PURE__ */ Ne({
|
|
9425
9429
|
__name: "SidebarMenu",
|
|
9426
9430
|
props: {
|
|
9427
9431
|
menuItems: {},
|
|
@@ -9468,7 +9472,7 @@ const O1 = /* @__PURE__ */ Ne({
|
|
|
9468
9472
|
function b() {
|
|
9469
9473
|
i.value = !i.value, l.value = !l.value;
|
|
9470
9474
|
}
|
|
9471
|
-
function
|
|
9475
|
+
function g() {
|
|
9472
9476
|
n("logout");
|
|
9473
9477
|
}
|
|
9474
9478
|
return te(
|
|
@@ -9568,7 +9572,7 @@ const O1 = /* @__PURE__ */ Ne({
|
|
|
9568
9572
|
nn((Y(), _e(Ht, {
|
|
9569
9573
|
class: me(v.$style["menu-exit"]),
|
|
9570
9574
|
clickable: "",
|
|
9571
|
-
onClick: w[2] || (w[2] = (m) =>
|
|
9575
|
+
onClick: w[2] || (w[2] = (m) => g())
|
|
9572
9576
|
}, {
|
|
9573
9577
|
default: ce(() => [
|
|
9574
9578
|
ye(ot, { avatar: "" }, {
|
|
@@ -9623,14 +9627,14 @@ const O1 = /* @__PURE__ */ Ne({
|
|
|
9623
9627
|
() => (n.value === !0 ? e.checkedIcon : o.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || e.icon
|
|
9624
9628
|
), l = d(() => n.value === !0 ? e.iconColor : null);
|
|
9625
9629
|
return () => [
|
|
9626
|
-
|
|
9627
|
-
|
|
9630
|
+
p("div", { class: "q-toggle__track" }),
|
|
9631
|
+
p(
|
|
9628
9632
|
"div",
|
|
9629
9633
|
{
|
|
9630
9634
|
class: "q-toggle__thumb absolute flex flex-center no-wrap"
|
|
9631
9635
|
},
|
|
9632
9636
|
r.value !== void 0 ? [
|
|
9633
|
-
|
|
9637
|
+
p(lt, {
|
|
9634
9638
|
name: r.value,
|
|
9635
9639
|
color: l.value
|
|
9636
9640
|
})
|
|
@@ -9677,7 +9681,7 @@ const sv = /* @__PURE__ */ ie(z1, [["render", U1], ["__scopeId", "data-v-7e32575
|
|
|
9677
9681
|
const n = d(
|
|
9678
9682
|
() => `q-card__section q-card__section--${e.horizontal === !0 ? "horiz row no-wrap" : "vert"}`
|
|
9679
9683
|
);
|
|
9680
|
-
return () =>
|
|
9684
|
+
return () => p(e.tag, { class: n.value }, Ve(t.default));
|
|
9681
9685
|
}
|
|
9682
9686
|
}), W1 = () => !0;
|
|
9683
9687
|
function Y1(e) {
|
|
@@ -9831,7 +9835,7 @@ const t0 = /* @__PURE__ */ ie(J1, [["render", e0]]), n0 = /* @__PURE__ */ Ne({
|
|
|
9831
9835
|
const o = ["unelevated", "outline", "flat", "rounded", "square", "push", "stretch", "glossy"].filter((r) => e[r] === !0).map((r) => `q-btn-group--${r}`).join(" ");
|
|
9832
9836
|
return `q-btn-group row no-wrap${o.length !== 0 ? " " + o : ""}` + (e.spread === !0 ? " q-btn-group--spread" : " inline");
|
|
9833
9837
|
});
|
|
9834
|
-
return () =>
|
|
9838
|
+
return () => p("div", { class: n.value }, Ve(t.default));
|
|
9835
9839
|
}
|
|
9836
9840
|
}), c0 = Object.keys(Yr);
|
|
9837
9841
|
function d0(e) {
|
|
@@ -9890,7 +9894,7 @@ const f0 = pe({
|
|
|
9890
9894
|
function b(_) {
|
|
9891
9895
|
n("show", _), n("update:modelValue", !0);
|
|
9892
9896
|
}
|
|
9893
|
-
function
|
|
9897
|
+
function g(_) {
|
|
9894
9898
|
r.value = !1, n("beforeHide", _);
|
|
9895
9899
|
}
|
|
9896
9900
|
function v(_) {
|
|
@@ -9919,13 +9923,13 @@ const f0 = pe({
|
|
|
9919
9923
|
e.modelValue === !0 && S();
|
|
9920
9924
|
}), () => {
|
|
9921
9925
|
const _ = [
|
|
9922
|
-
|
|
9926
|
+
p(lt, {
|
|
9923
9927
|
class: u.value,
|
|
9924
9928
|
name: e.dropdownIcon || o.$q.iconSet.arrow.dropdown
|
|
9925
9929
|
})
|
|
9926
9930
|
];
|
|
9927
9931
|
return e.disableDropdown !== !0 && _.push(
|
|
9928
|
-
|
|
9932
|
+
p(Kr, {
|
|
9929
9933
|
ref: l,
|
|
9930
9934
|
id: i.value,
|
|
9931
9935
|
class: e.contentClass,
|
|
@@ -9944,10 +9948,10 @@ const f0 = pe({
|
|
|
9944
9948
|
transitionDuration: e.transitionDuration,
|
|
9945
9949
|
onBeforeShow: f,
|
|
9946
9950
|
onShow: b,
|
|
9947
|
-
onBeforeHide:
|
|
9951
|
+
onBeforeHide: g,
|
|
9948
9952
|
onHide: v
|
|
9949
9953
|
}, t.default)
|
|
9950
|
-
), e.split === !1 ?
|
|
9954
|
+
), e.split === !1 ? p(Ke, {
|
|
9951
9955
|
class: "q-btn-dropdown q-btn-dropdown--simple",
|
|
9952
9956
|
...s.value,
|
|
9953
9957
|
...a.value,
|
|
@@ -9958,7 +9962,7 @@ const f0 = pe({
|
|
|
9958
9962
|
}, {
|
|
9959
9963
|
default: () => Ve(t.label, []).concat(_),
|
|
9960
9964
|
loading: t.loading
|
|
9961
|
-
}) :
|
|
9965
|
+
}) : p(u0, {
|
|
9962
9966
|
class: "q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",
|
|
9963
9967
|
rounded: e.rounded,
|
|
9964
9968
|
square: e.square,
|
|
@@ -9966,7 +9970,7 @@ const f0 = pe({
|
|
|
9966
9970
|
glossy: e.glossy,
|
|
9967
9971
|
stretch: e.stretch
|
|
9968
9972
|
}, () => [
|
|
9969
|
-
|
|
9973
|
+
p(Ke, {
|
|
9970
9974
|
class: "q-btn-dropdown--current",
|
|
9971
9975
|
...s.value,
|
|
9972
9976
|
disable: e.disable === !0 || e.disableMainBtn === !0,
|
|
@@ -9977,7 +9981,7 @@ const f0 = pe({
|
|
|
9977
9981
|
default: t.label,
|
|
9978
9982
|
loading: t.loading
|
|
9979
9983
|
}),
|
|
9980
|
-
|
|
9984
|
+
p(Ke, {
|
|
9981
9985
|
class: "q-btn-dropdown__arrow-container q-anchor--skip",
|
|
9982
9986
|
...a.value,
|
|
9983
9987
|
...c.value,
|
|
@@ -10362,7 +10366,7 @@ function Po(e, t, n) {
|
|
|
10362
10366
|
convertValue: c,
|
|
10363
10367
|
isVisitable: Er
|
|
10364
10368
|
});
|
|
10365
|
-
function
|
|
10369
|
+
function g(v, w) {
|
|
10366
10370
|
if (!q.isUndefined(v)) {
|
|
10367
10371
|
if (f.indexOf(v) !== -1)
|
|
10368
10372
|
throw Error("Circular reference detected in " + w.join("."));
|
|
@@ -10373,13 +10377,13 @@ function Po(e, t, n) {
|
|
|
10373
10377
|
q.isString(S) ? S.trim() : S,
|
|
10374
10378
|
w,
|
|
10375
10379
|
b
|
|
10376
|
-
)) === !0 &&
|
|
10380
|
+
)) === !0 && g(T, w ? w.concat(S) : [S]);
|
|
10377
10381
|
}), f.pop();
|
|
10378
10382
|
}
|
|
10379
10383
|
}
|
|
10380
10384
|
if (!q.isObject(e))
|
|
10381
10385
|
throw new TypeError("data must be an object");
|
|
10382
|
-
return
|
|
10386
|
+
return g(e), t;
|
|
10383
10387
|
}
|
|
10384
10388
|
function ui(e) {
|
|
10385
10389
|
const t = {
|
|
@@ -10850,8 +10854,8 @@ function _h(e, t) {
|
|
|
10850
10854
|
b += n[f++], f = f % e;
|
|
10851
10855
|
if (r = (r + 1) % e, r === l && (l = (l + 1) % e), c - i < t)
|
|
10852
10856
|
return;
|
|
10853
|
-
const
|
|
10854
|
-
return
|
|
10857
|
+
const g = s && c - s;
|
|
10858
|
+
return g ? Math.round(b * 1e3 / g) : void 0;
|
|
10855
10859
|
};
|
|
10856
10860
|
}
|
|
10857
10861
|
function Ch(e, t) {
|
|
@@ -11050,9 +11054,9 @@ const Ia = (e) => {
|
|
|
11050
11054
|
const r = Ia(e);
|
|
11051
11055
|
let l = r.data;
|
|
11052
11056
|
const i = at.from(r.headers).normalize();
|
|
11053
|
-
let { responseType: a, onUploadProgress: u, onDownloadProgress: c } = r, s, f, b,
|
|
11057
|
+
let { responseType: a, onUploadProgress: u, onDownloadProgress: c } = r, s, f, b, g, v;
|
|
11054
11058
|
function w() {
|
|
11055
|
-
|
|
11059
|
+
g && g(), v && v(), r.cancelToken && r.cancelToken.unsubscribe(s), r.signal && r.signal.removeEventListener("abort", s);
|
|
11056
11060
|
}
|
|
11057
11061
|
let m = new XMLHttpRequest();
|
|
11058
11062
|
m.open(r.method.toUpperCase(), r.url, !0), m.timeout = r.timeout;
|
|
@@ -11092,7 +11096,7 @@ const Ia = (e) => {
|
|
|
11092
11096
|
)), m = null;
|
|
11093
11097
|
}, l === void 0 && i.setContentType(null), "setRequestHeader" in m && q.forEach(i.toJSON(), function(_, E) {
|
|
11094
11098
|
m.setRequestHeader(E, _);
|
|
11095
|
-
}), q.isUndefined(r.withCredentials) || (m.withCredentials = !!r.withCredentials), a && a !== "json" && (m.responseType = r.responseType), c && ([b, v] = _o(c, !0), m.addEventListener("progress", b)), u && m.upload && ([f,
|
|
11099
|
+
}), q.isUndefined(r.withCredentials) || (m.withCredentials = !!r.withCredentials), a && a !== "json" && (m.responseType = r.responseType), c && ([b, v] = _o(c, !0), m.addEventListener("progress", b)), u && m.upload && ([f, g] = _o(u), m.upload.addEventListener("progress", f), m.upload.addEventListener("loadend", g)), (r.cancelToken || r.signal) && (s = (B) => {
|
|
11096
11100
|
m && (o(!B || B.type ? new Sn(null, e, m) : B), m.abort(), m = null);
|
|
11097
11101
|
}, r.cancelToken && r.cancelToken.subscribe(s), r.signal && (r.signal.aborted ? s() : r.signal.addEventListener("abort", s)));
|
|
11098
11102
|
const S = kh(r.url);
|
|
@@ -11241,9 +11245,9 @@ const Oh = async (e) => {
|
|
|
11241
11245
|
fetchOptions: b
|
|
11242
11246
|
} = Ia(e);
|
|
11243
11247
|
c = c ? (c + "").toLowerCase() : "text";
|
|
11244
|
-
let
|
|
11245
|
-
const w =
|
|
11246
|
-
|
|
11248
|
+
let g = Eh([r, l && l.toAbortSignal()], i), v;
|
|
11249
|
+
const w = g && g.unsubscribe && (() => {
|
|
11250
|
+
g.unsubscribe();
|
|
11247
11251
|
});
|
|
11248
11252
|
let m;
|
|
11249
11253
|
try {
|
|
@@ -11265,7 +11269,7 @@ const Oh = async (e) => {
|
|
|
11265
11269
|
const T = "credentials" in Request.prototype;
|
|
11266
11270
|
v = new Request(t, {
|
|
11267
11271
|
...b,
|
|
11268
|
-
signal:
|
|
11272
|
+
signal: g,
|
|
11269
11273
|
method: n.toUpperCase(),
|
|
11270
11274
|
headers: s.normalize().toJSON(),
|
|
11271
11275
|
body: o,
|
|
@@ -11495,18 +11499,18 @@ class Jt {
|
|
|
11495
11499
|
return s;
|
|
11496
11500
|
}
|
|
11497
11501
|
b = a.length;
|
|
11498
|
-
let
|
|
11502
|
+
let g = n;
|
|
11499
11503
|
for (f = 0; f < b; ) {
|
|
11500
11504
|
const v = a[f++], w = a[f++];
|
|
11501
11505
|
try {
|
|
11502
|
-
|
|
11506
|
+
g = v(g);
|
|
11503
11507
|
} catch (m) {
|
|
11504
11508
|
w.call(this, m);
|
|
11505
11509
|
break;
|
|
11506
11510
|
}
|
|
11507
11511
|
}
|
|
11508
11512
|
try {
|
|
11509
|
-
s = yi.call(this,
|
|
11513
|
+
s = yi.call(this, g);
|
|
11510
11514
|
} catch (v) {
|
|
11511
11515
|
return Promise.reject(v);
|
|
11512
11516
|
}
|
|
@@ -12069,6 +12073,9 @@ class Yh extends on {
|
|
|
12069
12073
|
params: o
|
|
12070
12074
|
});
|
|
12071
12075
|
}
|
|
12076
|
+
async checkBranchBeforeCloseTask(t) {
|
|
12077
|
+
return await this.post("/check_branch_before_close_task", t);
|
|
12078
|
+
}
|
|
12072
12079
|
}
|
|
12073
12080
|
let mr;
|
|
12074
12081
|
function mv() {
|