@quickflo/quickforms-quasar 1.19.32 → 1.19.33
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.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SchemaUtils as Om, ComponentRegistry as $0, rankWith as Xe, hasConst as ey, hasXRender as Nt, isArrayType as pl, isStringType as ty, isNumberType as ny, isBooleanType as iy, isEnumType as ry, isDateFormat as oy, isTimeFormat as ly, isDateTimeFormat as sy, isRecordType as ay, isJsonType as uy, isObjectType as cy, hasOneOf as dy, hasAnyOf as fy, hasAllOf as hy } from "@quickflo/quickforms";
|
|
2
|
-
import { ComponentRegistry as
|
|
3
|
-
import { computed as v, markRaw as Dm, defineComponent as Dt, reactive as Pm, h as _, withDirectives as qi, getCurrentInstance as Je, ref as ae, onMounted as Cn, watch as me, onBeforeUpdate as Bm, inject as el, onBeforeUnmount as _t, nextTick as mt, onDeactivated as ro, onActivated as Ks, Transition as ln, onUnmounted as my, Teleport as gy, unref as py, provide as Rm, createElementBlock as Y, openBlock as P, normalizeStyle as
|
|
2
|
+
import { ComponentRegistry as GD, SchemaUtils as JD, and as XD, hasAllOf as ZD, hasAnyOf as $D, hasConditional as eP, hasConst as tP, hasExtension as nP, hasFormat as iP, hasOneOf as rP, isArrayType as oP, isBooleanType as lP, isDateFormat as sP, isDateTimeFormat as aP, isDiscriminatedUnion as uP, isEmailFormat as cP, isEnumType as dP, isIntegerType as fP, isJsonType as hP, isNullType as mP, isNumberType as gP, isObjectType as pP, isRecordType as vP, isStringType as yP, isTimeFormat as bP, isUrlFormat as kP, not as wP, or as xP, rankWith as SP } from "@quickflo/quickforms";
|
|
3
|
+
import { computed as v, markRaw as Dm, defineComponent as Dt, reactive as Pm, h as _, withDirectives as qi, getCurrentInstance as Je, ref as ae, onMounted as Cn, watch as me, onBeforeUpdate as Bm, inject as el, onBeforeUnmount as _t, nextTick as mt, onDeactivated as ro, onActivated as Ks, Transition as ln, onUnmounted as my, Teleport as gy, unref as py, provide as Rm, createElementBlock as Y, openBlock as P, normalizeStyle as lt, createVNode as V, mergeProps as gt, createSlots as Yn, withCtx as U, createTextVNode as Ae, createElementVNode as Z, toDisplayString as he, createBlock as Be, createCommentVNode as B, toRaw as tr, onBeforeMount as vc, onUpdated as vy, normalizeProps as yy, guardReactiveProps as by, shallowReactive as ky, vShow as Lm, normalizeClass as an, Fragment as De, renderList as qt, renderSlot as Vi, withModifiers as ds, shallowRef as pa } from "vue";
|
|
4
4
|
import { useFormContext as wy, useFormField as xy, generateFieldId as Sy, FieldRenderer as Ys, HiddenField as Cy } from "@quickflo/quickforms-vue";
|
|
5
|
-
import { useFormContext as
|
|
5
|
+
import { useFormContext as _P, useWatchFormValue as TP, useWatchFormValues as MP } from "@quickflo/quickforms-vue";
|
|
6
6
|
const uu = {
|
|
7
7
|
xs: 18,
|
|
8
8
|
sm: 24,
|
|
@@ -2261,7 +2261,7 @@ const Wt = $e({
|
|
|
2261
2261
|
return _t(K), Object.assign(l.proxy, { updatePosition: te }), R;
|
|
2262
2262
|
}
|
|
2263
2263
|
}), rg = Symbol("quickforms-quasar-context");
|
|
2264
|
-
function
|
|
2264
|
+
function zD(n) {
|
|
2265
2265
|
Rm(rg, n);
|
|
2266
2266
|
}
|
|
2267
2267
|
function og() {
|
|
@@ -2387,7 +2387,7 @@ function Rb(n, e, t, i, r, o) {
|
|
|
2387
2387
|
return P(), Y(
|
|
2388
2388
|
"div",
|
|
2389
2389
|
{
|
|
2390
|
-
style:
|
|
2390
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
2391
2391
|
},
|
|
2392
2392
|
[
|
|
2393
2393
|
V(i.QInput, gt({
|
|
@@ -2537,7 +2537,7 @@ function Vb(n, e, t, i, r, o) {
|
|
|
2537
2537
|
return P(), Y(
|
|
2538
2538
|
"div",
|
|
2539
2539
|
{
|
|
2540
|
-
style:
|
|
2540
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
2541
2541
|
},
|
|
2542
2542
|
[
|
|
2543
2543
|
V(i.QInput, gt({
|
|
@@ -2860,7 +2860,7 @@ function Kb(n, e, t, i, r, o) {
|
|
|
2860
2860
|
return P(), Y(
|
|
2861
2861
|
"div",
|
|
2862
2862
|
{
|
|
2863
|
-
style:
|
|
2863
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
2864
2864
|
},
|
|
2865
2865
|
[
|
|
2866
2866
|
V(i.QCheckbox, gt({
|
|
@@ -4010,10 +4010,10 @@ function wg({
|
|
|
4010
4010
|
J(S);
|
|
4011
4011
|
return;
|
|
4012
4012
|
}
|
|
4013
|
-
const { activeElement: et } = document,
|
|
4014
|
-
Ie === !0 &&
|
|
4015
|
-
|
|
4016
|
-
})), c1(
|
|
4013
|
+
const { activeElement: et } = document, at = b.value;
|
|
4014
|
+
Ie === !0 && at !== null && at !== et && at.contains(et) === !0 && (at.addEventListener("focusout", D), setTimeout(() => {
|
|
4015
|
+
at == null || at.removeEventListener("focusout", D);
|
|
4016
|
+
})), c1(at, S - ce);
|
|
4017
4017
|
const dt = se !== void 0 ? h.slice(ce, S).reduce(Fr, 0) : 0;
|
|
4018
4018
|
if (Ie === !0) {
|
|
4019
4019
|
const At = Re >= y.value.from && ce <= y.value.to ? y.value.to : Re;
|
|
@@ -4024,11 +4024,11 @@ function wg({
|
|
|
4024
4024
|
requestAnimationFrame(() => {
|
|
4025
4025
|
if (u !== k.scrollStart) return;
|
|
4026
4026
|
Ie === !0 && j(ce);
|
|
4027
|
-
const At = h.slice(ce, S).reduce(Fr, 0), bt = At + k.offsetStart + m.value,
|
|
4027
|
+
const At = h.slice(ce, S).reduce(Fr, 0), bt = At + k.offsetStart + m.value, st = bt + h[S];
|
|
4028
4028
|
let Gt = bt + T;
|
|
4029
4029
|
if (se !== void 0) {
|
|
4030
4030
|
const Jt = At - dt, Pt = k.scrollStart + Jt;
|
|
4031
|
-
Gt = X !== !0 && Pt < bt &&
|
|
4031
|
+
Gt = X !== !0 && Pt < bt && st < Pt + k.scrollViewSize ? Pt : se === "end" ? st - k.scrollViewSize : bt - (se === "start" ? 0 : Math.round((k.scrollViewSize - h[S]) / 2));
|
|
4032
4032
|
}
|
|
4033
4033
|
u = Gt, $d(
|
|
4034
4034
|
H,
|
|
@@ -4413,7 +4413,7 @@ const wr = $e({
|
|
|
4413
4413
|
() => (n.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (n.popupContentClass ? " " + n.popupContentClass : "")
|
|
4414
4414
|
), qe = v(() => R.value === 0), ce = v(
|
|
4415
4415
|
() => k.value.map((N) => z.value(N)).join(", ")
|
|
4416
|
-
), Re = v(() => n.displayValue !== void 0 ? n.displayValue : ce.value), Ie = v(() => n.optionsHtml === !0 ? () => !0 : (N) => (N == null ? void 0 : N.html) === !0), et = v(() => n.displayValueHtml === !0 || n.displayValue === void 0 && (n.optionsHtml === !0 || k.value.some(Ie.value))),
|
|
4416
|
+
), Re = v(() => n.displayValue !== void 0 ? n.displayValue : ce.value), Ie = v(() => n.optionsHtml === !0 ? () => !0 : (N) => (N == null ? void 0 : N.html) === !0), et = v(() => n.displayValueHtml === !0 || n.displayValue === void 0 && (n.optionsHtml === !0 || k.value.some(Ie.value))), at = v(() => H.focused.value === !0 ? n.tabindex : -1), dt = v(() => {
|
|
4417
4417
|
const N = {
|
|
4418
4418
|
tabindex: n.tabindex,
|
|
4419
4419
|
role: "combobox",
|
|
@@ -4435,8 +4435,8 @@ const wr = $e({
|
|
|
4435
4435
|
selected: !0,
|
|
4436
4436
|
removeAtIndex: Me,
|
|
4437
4437
|
toggleOption: He,
|
|
4438
|
-
tabindex:
|
|
4439
|
-
}))),
|
|
4438
|
+
tabindex: at.value
|
|
4439
|
+
}))), st = v(() => {
|
|
4440
4440
|
if (R.value === 0)
|
|
4441
4441
|
return [];
|
|
4442
4442
|
const { from: N, to: Se } = D.value;
|
|
@@ -4484,7 +4484,7 @@ const wr = $e({
|
|
|
4484
4484
|
onChange: O,
|
|
4485
4485
|
onKeydown: Bt,
|
|
4486
4486
|
onKeyup: ze,
|
|
4487
|
-
onKeypress:
|
|
4487
|
+
onKeypress: ut,
|
|
4488
4488
|
onFocus: We,
|
|
4489
4489
|
onClick(Se) {
|
|
4490
4490
|
m === !0 && Dn(Se);
|
|
@@ -4606,7 +4606,7 @@ const wr = $e({
|
|
|
4606
4606
|
} else
|
|
4607
4607
|
H.clearValue(N);
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function ut(N) {
|
|
4610
4610
|
t("keypress", N);
|
|
4611
4611
|
}
|
|
4612
4612
|
function Bt(N) {
|
|
@@ -4684,7 +4684,7 @@ const wr = $e({
|
|
|
4684
4684
|
removable: H.editable.value === !0 && M.value(N.opt) !== !0,
|
|
4685
4685
|
dense: !0,
|
|
4686
4686
|
textColor: n.color,
|
|
4687
|
-
tabindex:
|
|
4687
|
+
tabindex: at.value,
|
|
4688
4688
|
onRemove() {
|
|
4689
4689
|
N.removeAtIndex(Se);
|
|
4690
4690
|
}
|
|
@@ -4713,7 +4713,7 @@ const wr = $e({
|
|
|
4713
4713
|
})
|
|
4714
4714
|
)
|
|
4715
4715
|
));
|
|
4716
|
-
let Se = G("div",
|
|
4716
|
+
let Se = G("div", st.value.map(N));
|
|
4717
4717
|
return e["before-options"] !== void 0 && (Se = e["before-options"]().concat(Se)), ai(e["after-options"], Se);
|
|
4718
4718
|
}
|
|
4719
4719
|
function Xi(N, Se) {
|
|
@@ -4992,7 +4992,7 @@ const wr = $e({
|
|
|
4992
4992
|
...vt,
|
|
4993
4993
|
onKeydown: Bt,
|
|
4994
4994
|
onKeyup: Xt,
|
|
4995
|
-
onKeypress:
|
|
4995
|
+
onKeypress: ut
|
|
4996
4996
|
})
|
|
4997
4997
|
), _e === !0 && typeof n.autocomplete == "string" && n.autocomplete.length !== 0 && Se.push(
|
|
4998
4998
|
_("input", {
|
|
@@ -5123,7 +5123,7 @@ function p1(n, e, t, i, r, o) {
|
|
|
5123
5123
|
return P(), Y(
|
|
5124
5124
|
"div",
|
|
5125
5125
|
{
|
|
5126
|
-
style:
|
|
5126
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
5127
5127
|
},
|
|
5128
5128
|
[
|
|
5129
5129
|
V(i.QSelect, gt({
|
|
@@ -6548,7 +6548,7 @@ const Lg = $e({
|
|
|
6548
6548
|
return null;
|
|
6549
6549
|
const A = n.navigationMaxYearMonth.split("/");
|
|
6550
6550
|
return { year: parseInt(A[0], 10), month: parseInt(A[1], 10) };
|
|
6551
|
-
}),
|
|
6551
|
+
}), at = v(() => {
|
|
6552
6552
|
const A = {
|
|
6553
6553
|
month: { prev: !0, next: !0 },
|
|
6554
6554
|
year: { prev: !0, next: !0 }
|
|
@@ -6582,10 +6582,10 @@ const Lg = $e({
|
|
|
6582
6582
|
}), bt = v(() => {
|
|
6583
6583
|
if (O.value === null) return;
|
|
6584
6584
|
const { init: A, initHash: I, final: re, finalHash: ge } = O.value, [xe, je] = I <= ge ? [A, re] : [re, A], Te = Pi(xe), Fe = Pi(je);
|
|
6585
|
-
if (Te !==
|
|
6585
|
+
if (Te !== st.value && Fe !== st.value) return;
|
|
6586
6586
|
const nt = {};
|
|
6587
|
-
return Te ===
|
|
6588
|
-
}),
|
|
6587
|
+
return Te === st.value ? (nt.from = xe.day, nt.includeFrom = !0) : nt.from = 1, Fe === st.value ? (nt.to = je.day, nt.includeTo = !0) : nt.to = ce.value, nt;
|
|
6588
|
+
}), st = v(() => Pi(y.value)), Gt = v(() => {
|
|
6589
6589
|
const A = {};
|
|
6590
6590
|
if (n.options === void 0) {
|
|
6591
6591
|
for (let re = 1; re <= ce.value; re++)
|
|
@@ -6594,7 +6594,7 @@ const Lg = $e({
|
|
|
6594
6594
|
}
|
|
6595
6595
|
const I = typeof n.options == "function" ? n.options : (re) => n.options.includes(re);
|
|
6596
6596
|
for (let re = 1; re <= ce.value; re++) {
|
|
6597
|
-
const ge =
|
|
6597
|
+
const ge = st.value + "/" + it(re);
|
|
6598
6598
|
A[re] = I(ge);
|
|
6599
6599
|
}
|
|
6600
6600
|
return A;
|
|
@@ -6606,7 +6606,7 @@ const Lg = $e({
|
|
|
6606
6606
|
else {
|
|
6607
6607
|
const I = typeof n.events == "function" ? n.events : (re) => n.events.includes(re);
|
|
6608
6608
|
for (let re = 1; re <= ce.value; re++) {
|
|
6609
|
-
const ge =
|
|
6609
|
+
const ge = st.value + "/" + it(re);
|
|
6610
6610
|
A[re] = I(ge) === !0 && Re.value(ge);
|
|
6611
6611
|
}
|
|
6612
6612
|
}
|
|
@@ -6636,7 +6636,7 @@ const Lg = $e({
|
|
|
6636
6636
|
const Fe = { i: Te, event: Jt.value[Te], classes: [] };
|
|
6637
6637
|
Gt.value[Te] === !0 && (Fe.in = !0, Fe.flat = !0), A.push(Fe);
|
|
6638
6638
|
}
|
|
6639
|
-
if (dt.value[
|
|
6639
|
+
if (dt.value[st.value] !== void 0 && dt.value[st.value].forEach((Te) => {
|
|
6640
6640
|
const Fe = xe + Te - 1;
|
|
6641
6641
|
Object.assign(A[Fe], {
|
|
6642
6642
|
selected: !0,
|
|
@@ -6645,7 +6645,7 @@ const Lg = $e({
|
|
|
6645
6645
|
color: j.value,
|
|
6646
6646
|
textColor: D.value
|
|
6647
6647
|
});
|
|
6648
|
-
}), At.value[
|
|
6648
|
+
}), At.value[st.value] !== void 0 && At.value[st.value].forEach((Te) => {
|
|
6649
6649
|
if (Te.from !== void 0) {
|
|
6650
6650
|
const Fe = xe + Te.from - 1, nt = xe + (Te.to || ce.value) - 1;
|
|
6651
6651
|
for (let Rn = Fe; Rn <= nt; Rn++)
|
|
@@ -6822,7 +6822,7 @@ const Lg = $e({
|
|
|
6822
6822
|
const re = dt.value[I];
|
|
6823
6823
|
((re == null ? void 0 : re.includes(A.day)) === !0 ? ne : Xi)(A);
|
|
6824
6824
|
}
|
|
6825
|
-
function
|
|
6825
|
+
function ut(A) {
|
|
6826
6826
|
return { year: A.year, month: A.month, day: A.day };
|
|
6827
6827
|
}
|
|
6828
6828
|
function Bt(A, I, re) {
|
|
@@ -6858,13 +6858,13 @@ const Lg = $e({
|
|
|
6858
6858
|
return I.from !== void 0 ? {
|
|
6859
6859
|
reason: `${A}-range`,
|
|
6860
6860
|
details: {
|
|
6861
|
-
...
|
|
6862
|
-
from:
|
|
6863
|
-
to:
|
|
6861
|
+
...ut(I.target),
|
|
6862
|
+
from: ut(I.from),
|
|
6863
|
+
to: ut(I.to)
|
|
6864
6864
|
}
|
|
6865
6865
|
} : {
|
|
6866
6866
|
reason: `${A}-day`,
|
|
6867
|
-
details:
|
|
6867
|
+
details: ut(I)
|
|
6868
6868
|
};
|
|
6869
6869
|
}
|
|
6870
6870
|
function Wn(A, I, re) {
|
|
@@ -7028,7 +7028,7 @@ const Lg = $e({
|
|
|
7028
7028
|
key: y.value.month,
|
|
7029
7029
|
dir: E.value,
|
|
7030
7030
|
goTo: Oe,
|
|
7031
|
-
boundaries:
|
|
7031
|
+
boundaries: at.value.month,
|
|
7032
7032
|
cls: " col"
|
|
7033
7033
|
}).concat(Pe({
|
|
7034
7034
|
label: y.value.year,
|
|
@@ -7036,7 +7036,7 @@ const Lg = $e({
|
|
|
7036
7036
|
key: y.value.year,
|
|
7037
7037
|
dir: F.value,
|
|
7038
7038
|
goTo: Ve,
|
|
7039
|
-
boundaries:
|
|
7039
|
+
boundaries: at.value.year,
|
|
7040
7040
|
cls: ""
|
|
7041
7041
|
}))),
|
|
7042
7042
|
_("div", {
|
|
@@ -7048,7 +7048,7 @@ const Lg = $e({
|
|
|
7048
7048
|
_(ln, {
|
|
7049
7049
|
name: "q-transition--slide-" + E.value
|
|
7050
7050
|
}, () => _("div", {
|
|
7051
|
-
key:
|
|
7051
|
+
key: st.value,
|
|
7052
7052
|
class: "q-date__calendar-days fit"
|
|
7053
7053
|
}, ot.value.map((A) => _("div", { class: A.classes }, [
|
|
7054
7054
|
A.in === !0 ? _(
|
|
@@ -7106,7 +7106,7 @@ const Lg = $e({
|
|
|
7106
7106
|
key: y.value.year,
|
|
7107
7107
|
dir: F.value,
|
|
7108
7108
|
goTo: Ve,
|
|
7109
|
-
boundaries:
|
|
7109
|
+
boundaries: at.value.year,
|
|
7110
7110
|
cls: " col"
|
|
7111
7111
|
})
|
|
7112
7112
|
])
|
|
@@ -7185,7 +7185,7 @@ const Lg = $e({
|
|
|
7185
7185
|
function kt(A) {
|
|
7186
7186
|
const I = { ...y.value, day: A };
|
|
7187
7187
|
if (n.range === !1) {
|
|
7188
|
-
ze(I,
|
|
7188
|
+
ze(I, st.value);
|
|
7189
7189
|
return;
|
|
7190
7190
|
}
|
|
7191
7191
|
if (O.value === null) {
|
|
@@ -7204,12 +7204,12 @@ const Lg = $e({
|
|
|
7204
7204
|
initHash: ge,
|
|
7205
7205
|
final: I,
|
|
7206
7206
|
finalHash: ge
|
|
7207
|
-
}, t("rangeStart",
|
|
7207
|
+
}, t("rangeStart", ut(I));
|
|
7208
7208
|
} else {
|
|
7209
7209
|
const re = O.value.initHash, ge = bi(I), xe = re <= ge ? { from: O.value.init, to: I } : { from: I, to: O.value.init };
|
|
7210
7210
|
O.value = null, Xi(re === ge ? I : { target: I, ...xe }), t("rangeEnd", {
|
|
7211
|
-
from:
|
|
7212
|
-
to:
|
|
7211
|
+
from: ut(xe.from),
|
|
7212
|
+
to: ut(xe.to)
|
|
7213
7213
|
});
|
|
7214
7214
|
}
|
|
7215
7215
|
}
|
|
@@ -7299,7 +7299,7 @@ function z1(n, e, t, i, r, o) {
|
|
|
7299
7299
|
return P(), Y(
|
|
7300
7300
|
"div",
|
|
7301
7301
|
{
|
|
7302
|
-
style:
|
|
7302
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
7303
7303
|
},
|
|
7304
7304
|
[
|
|
7305
7305
|
V(i.QInput, gt({
|
|
@@ -7704,9 +7704,9 @@ const Eg = $e({
|
|
|
7704
7704
|
const We = J.value !== null ? J.value.values : void 0;
|
|
7705
7705
|
b.value === "hour" ? F.value === !0 ? (ie = 0, de = 23) : (ie = 0, de = 11, w.value === !1 && (Oe = 12)) : (ie = 0, de = 55, Ve = 5);
|
|
7706
7706
|
const Xt = [];
|
|
7707
|
-
for (let ze = ie,
|
|
7707
|
+
for (let ze = ie, ut = ie; ze <= de; ze += Ve, ut++) {
|
|
7708
7708
|
const Bt = ze + Oe, vi = (We == null ? void 0 : We.includes(Bt)) === !1, ei = b.value === "hour" && ze === 0 ? F.value === !0 ? "00" : "12" : ze;
|
|
7709
|
-
Xt.push({ val: Bt, index:
|
|
7709
|
+
Xt.push({ val: Bt, index: ut, disable: vi, label: ei });
|
|
7710
7710
|
}
|
|
7711
7711
|
return Xt;
|
|
7712
7712
|
}), ve = v(() => [[
|
|
@@ -7765,8 +7765,8 @@ const Eg = $e({
|
|
|
7765
7765
|
return de;
|
|
7766
7766
|
if (ie < de || ie > Oe)
|
|
7767
7767
|
return S(ie, de, We) <= S(ie, Oe, We) ? de : Oe;
|
|
7768
|
-
const Xt = Ve.findIndex((Bt) => ie <= Bt), ze = Ve[Xt - 1],
|
|
7769
|
-
return ie - ze <=
|
|
7768
|
+
const Xt = Ve.findIndex((Bt) => ie <= Bt), ze = Ve[Xt - 1], ut = Ve[Xt];
|
|
7769
|
+
return ie - ze <= ut - ie ? ze : ut;
|
|
7770
7770
|
}
|
|
7771
7771
|
function W() {
|
|
7772
7772
|
return n.calendar !== "persian" && n.mask !== null ? n.mask : `HH:mm${n.withSeconds === !0 ? ":ss" : ""}`;
|
|
@@ -7805,9 +7805,9 @@ const Eg = $e({
|
|
|
7805
7805
|
const Ve = Kr(ie), We = Math.abs(Ve.top - de.top), Xt = Math.sqrt(
|
|
7806
7806
|
Math.pow(Math.abs(Ve.top - de.top), 2) + Math.pow(Math.abs(Ve.left - de.left), 2)
|
|
7807
7807
|
);
|
|
7808
|
-
let ze,
|
|
7809
|
-
if (Ve.top < de.top ?
|
|
7810
|
-
if (ze =
|
|
7808
|
+
let ze, ut = Math.asin(We / Xt) * (180 / Math.PI);
|
|
7809
|
+
if (Ve.top < de.top ? ut = de.left < Ve.left ? 90 - ut : 270 + ut : ut = de.left < Ve.left ? ut + 90 : 270 - ut, b.value === "hour") {
|
|
7810
|
+
if (ze = ut / 30, K.value !== null) {
|
|
7811
7811
|
const Bt = F.value !== !0 ? w.value === !0 : K.value.am.values.length !== 0 && K.value.pm.values.length !== 0 ? Xt >= de.dist : K.value.am.values.length !== 0;
|
|
7812
7812
|
ze = T(
|
|
7813
7813
|
ze + (Bt === !0 ? 0 : 12),
|
|
@@ -7817,7 +7817,7 @@ const Eg = $e({
|
|
|
7817
7817
|
ze = Math.round(ze), F.value === !0 ? Xt < de.dist ? ze < 12 && (ze += 12) : ze === 12 && (ze = 0) : w.value === !0 && ze === 12 ? ze = 0 : w.value === !1 && ze !== 12 && (ze += 12);
|
|
7818
7818
|
F.value === !0 && (w.value = ze < 12);
|
|
7819
7819
|
} else
|
|
7820
|
-
ze = Math.round(
|
|
7820
|
+
ze = Math.round(ut / 6) % 60, b.value === "minute" && te.value !== null ? ze = T(ze, te.value) : b.value === "second" && G.value !== null && (ze = T(ze, G.value));
|
|
7821
7821
|
return Oe !== ze && M[b.value](ze), ze;
|
|
7822
7822
|
}
|
|
7823
7823
|
const et = {
|
|
@@ -7831,7 +7831,7 @@ const Eg = $e({
|
|
|
7831
7831
|
b.value = "second";
|
|
7832
7832
|
}
|
|
7833
7833
|
};
|
|
7834
|
-
function
|
|
7834
|
+
function at(ie) {
|
|
7835
7835
|
ie.keyCode === 13 && Q();
|
|
7836
7836
|
}
|
|
7837
7837
|
function dt(ie) {
|
|
@@ -7843,7 +7843,7 @@ const Eg = $e({
|
|
|
7843
7843
|
function bt(ie) {
|
|
7844
7844
|
se() !== !0 && Ie(ie, qe());
|
|
7845
7845
|
}
|
|
7846
|
-
function
|
|
7846
|
+
function st(ie) {
|
|
7847
7847
|
if (ie.keyCode === 13)
|
|
7848
7848
|
b.value = "hour";
|
|
7849
7849
|
else if ([37, 39].includes(ie.keyCode)) {
|
|
@@ -7966,7 +7966,7 @@ const Eg = $e({
|
|
|
7966
7966
|
class: "q-time__link " + (b.value === "hour" ? "q-time__link--active" : "cursor-pointer"),
|
|
7967
7967
|
tabindex: l.value,
|
|
7968
7968
|
onClick: et.hour,
|
|
7969
|
-
onKeyup:
|
|
7969
|
+
onKeyup: st
|
|
7970
7970
|
}, E.value.hour),
|
|
7971
7971
|
_("div", ":"),
|
|
7972
7972
|
_(
|
|
@@ -8007,7 +8007,7 @@ const Eg = $e({
|
|
|
8007
8007
|
class: "q-time__link " + (w.value === !0 ? "q-time__link--active" : "cursor-pointer"),
|
|
8008
8008
|
tabindex: l.value,
|
|
8009
8009
|
onClick: Q,
|
|
8010
|
-
onKeyup:
|
|
8010
|
+
onKeyup: at
|
|
8011
8011
|
}, "AM"),
|
|
8012
8012
|
_("div", {
|
|
8013
8013
|
class: "q-time__link " + (w.value !== !0 ? "q-time__link--active" : "cursor-pointer"),
|
|
@@ -8127,7 +8127,7 @@ function $1(n, e, t, i, r, o) {
|
|
|
8127
8127
|
return P(), Y(
|
|
8128
8128
|
"div",
|
|
8129
8129
|
{
|
|
8130
|
-
style:
|
|
8130
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
8131
8131
|
},
|
|
8132
8132
|
[
|
|
8133
8133
|
V(i.QInput, gt({
|
|
@@ -8400,7 +8400,7 @@ function lk(n, e, t, i, r, o) {
|
|
|
8400
8400
|
return P(), Y(
|
|
8401
8401
|
"div",
|
|
8402
8402
|
{
|
|
8403
|
-
style:
|
|
8403
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
8404
8404
|
},
|
|
8405
8405
|
[
|
|
8406
8406
|
V(i.QInput, gt({
|
|
@@ -8913,7 +8913,7 @@ function xk(n, e, t, i, r, o) {
|
|
|
8913
8913
|
return P(), Y(
|
|
8914
8914
|
"div",
|
|
8915
8915
|
{
|
|
8916
|
-
style:
|
|
8916
|
+
style: lt({ marginBottom: i.fieldGap }),
|
|
8917
8917
|
class: an(["quickform-object-field", i.sectionStyleClass])
|
|
8918
8918
|
},
|
|
8919
8919
|
[
|
|
@@ -9240,7 +9240,7 @@ const vf = /* @__PURE__ */ Ft(ck, [["render", xk], ["__scopeId", "data-v-813eef2
|
|
|
9240
9240
|
function Hk(n, e, t, i, r, o) {
|
|
9241
9241
|
return P(), Y("div", {
|
|
9242
9242
|
id: i.fieldId,
|
|
9243
|
-
style:
|
|
9243
|
+
style: lt({ marginBottom: i.fieldGap }),
|
|
9244
9244
|
class: an(["quickform-array-field", i.sectionStyleClass])
|
|
9245
9245
|
}, [
|
|
9246
9246
|
B(" Array header "),
|
|
@@ -9476,7 +9476,7 @@ function Hk(n, e, t, i, r, o) {
|
|
|
9476
9476
|
"div",
|
|
9477
9477
|
{
|
|
9478
9478
|
key: 1,
|
|
9479
|
-
style:
|
|
9479
|
+
style: lt({ textAlign: i.isRightPosition ? "right" : "left" })
|
|
9480
9480
|
},
|
|
9481
9481
|
[
|
|
9482
9482
|
V(i.QBtn, gt(i.quickformsFeatures.addButton, {
|
|
@@ -9519,7 +9519,7 @@ function zk(n) {
|
|
|
9519
9519
|
}
|
|
9520
9520
|
return n;
|
|
9521
9521
|
}
|
|
9522
|
-
function
|
|
9522
|
+
function QD(n) {
|
|
9523
9523
|
return n === null ? "null" : n === void 0 ? "" : String(n);
|
|
9524
9524
|
}
|
|
9525
9525
|
const Qk = /* @__PURE__ */ Dt({
|
|
@@ -9660,7 +9660,7 @@ function ew(n, e, t, i, r, o) {
|
|
|
9660
9660
|
"div",
|
|
9661
9661
|
{
|
|
9662
9662
|
class: "quickform-keyvalue-field",
|
|
9663
|
-
style:
|
|
9663
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
9664
9664
|
},
|
|
9665
9665
|
[
|
|
9666
9666
|
B(" Label with optional top-right button "),
|
|
@@ -9668,7 +9668,7 @@ function ew(n, e, t, i, r, o) {
|
|
|
9668
9668
|
"div",
|
|
9669
9669
|
{
|
|
9670
9670
|
key: 0,
|
|
9671
|
-
style:
|
|
9671
|
+
style: lt({
|
|
9672
9672
|
display: "flex",
|
|
9673
9673
|
alignItems: "center",
|
|
9674
9674
|
justifyContent: i.isTopPosition && i.isRightPosition ? "space-between" : "flex-start",
|
|
@@ -9813,7 +9813,7 @@ function ew(n, e, t, i, r, o) {
|
|
|
9813
9813
|
"div",
|
|
9814
9814
|
{
|
|
9815
9815
|
key: 1,
|
|
9816
|
-
style:
|
|
9816
|
+
style: lt({
|
|
9817
9817
|
textAlign: i.isRightPosition ? "right" : i.isCenterPosition ? "center" : "left",
|
|
9818
9818
|
marginTop: i.pairs.length ? "0.5rem" : "0"
|
|
9819
9819
|
})
|
|
@@ -13020,7 +13020,7 @@ class cn {
|
|
|
13020
13020
|
}
|
|
13021
13021
|
}
|
|
13022
13022
|
const Qc = [];
|
|
13023
|
-
class
|
|
13023
|
+
class ct {
|
|
13024
13024
|
constructor() {
|
|
13025
13025
|
this.parent = null, this.dom = null, this.flags = 2;
|
|
13026
13026
|
}
|
|
@@ -13051,7 +13051,7 @@ class ut {
|
|
|
13051
13051
|
for (let l of this.children) {
|
|
13052
13052
|
if (l.flags & 7) {
|
|
13053
13053
|
if (!l.dom && (o = r ? r.nextSibling : i.firstChild)) {
|
|
13054
|
-
let s =
|
|
13054
|
+
let s = ct.get(o);
|
|
13055
13055
|
(!s || !s.parent && s.canReuseDOM(l)) && l.reuseDOM(o);
|
|
13056
13056
|
}
|
|
13057
13057
|
l.sync(e, t), l.flags &= -8;
|
|
@@ -13087,7 +13087,7 @@ class ut {
|
|
|
13087
13087
|
}
|
|
13088
13088
|
if (i == this.dom.firstChild)
|
|
13089
13089
|
return 0;
|
|
13090
|
-
for (; i && !
|
|
13090
|
+
for (; i && !ct.get(i); )
|
|
13091
13091
|
i = i.nextSibling;
|
|
13092
13092
|
if (!i)
|
|
13093
13093
|
return this.length;
|
|
@@ -13200,7 +13200,7 @@ class ut {
|
|
|
13200
13200
|
this.parent = null;
|
|
13201
13201
|
}
|
|
13202
13202
|
}
|
|
13203
|
-
|
|
13203
|
+
ct.prototype.breakAfter = 0;
|
|
13204
13204
|
function Lf(n) {
|
|
13205
13205
|
let e = n.nextSibling;
|
|
13206
13206
|
return n.parentNode.removeChild(n), e;
|
|
@@ -13242,7 +13242,7 @@ function hp(n, e, t, i, r, o) {
|
|
|
13242
13242
|
n.length += d, fp(n, u, c, s, a, i, 0, r, o);
|
|
13243
13243
|
}
|
|
13244
13244
|
const Pw = 256;
|
|
13245
|
-
class Gn extends
|
|
13245
|
+
class Gn extends ct {
|
|
13246
13246
|
constructor(e) {
|
|
13247
13247
|
super(), this.text = e;
|
|
13248
13248
|
}
|
|
@@ -13278,7 +13278,7 @@ class Gn extends ut {
|
|
|
13278
13278
|
return Bw(this.dom, e, t);
|
|
13279
13279
|
}
|
|
13280
13280
|
}
|
|
13281
|
-
class Ai extends
|
|
13281
|
+
class Ai extends ct {
|
|
13282
13282
|
constructor(e, t = [], i = 0) {
|
|
13283
13283
|
super(), this.mark = e, this.children = t, this.length = i;
|
|
13284
13284
|
for (let r of t)
|
|
@@ -13329,7 +13329,7 @@ function Bw(n, e, t) {
|
|
|
13329
13329
|
let a = s[(l ? l < 0 : t >= 0) ? 0 : s.length - 1];
|
|
13330
13330
|
return ke.safari && !l && a.width == 0 && (a = Array.prototype.find.call(s, (u) => u.width) || a), l ? ll(a, l < 0) : a || null;
|
|
13331
13331
|
}
|
|
13332
|
-
class Ci extends
|
|
13332
|
+
class Ci extends ct {
|
|
13333
13333
|
static create(e, t, i) {
|
|
13334
13334
|
return new Ci(e, t, i);
|
|
13335
13335
|
}
|
|
@@ -13398,7 +13398,7 @@ class Ci extends ut {
|
|
|
13398
13398
|
super.destroy(), this.dom && this.widget.destroy(this.dom);
|
|
13399
13399
|
}
|
|
13400
13400
|
}
|
|
13401
|
-
class Zr extends
|
|
13401
|
+
class Zr extends ct {
|
|
13402
13402
|
constructor(e) {
|
|
13403
13403
|
super(), this.side = e;
|
|
13404
13404
|
}
|
|
@@ -13749,7 +13749,7 @@ function ns(n, e, t, i = 0) {
|
|
|
13749
13749
|
let r = t.length - 1;
|
|
13750
13750
|
r >= 0 && t[r] + i >= n ? t[r] = Math.max(t[r], e) : t.push(n, e);
|
|
13751
13751
|
}
|
|
13752
|
-
class zt extends
|
|
13752
|
+
class zt extends ct {
|
|
13753
13753
|
constructor() {
|
|
13754
13754
|
super(...arguments), this.children = [], this.length = 0, this.prevAttrs = void 0, this.attrs = null, this.breakAfter = 0;
|
|
13755
13755
|
}
|
|
@@ -13798,9 +13798,9 @@ class zt extends ut {
|
|
|
13798
13798
|
var i;
|
|
13799
13799
|
this.dom ? this.flags & 4 && (sp(this.dom), this.dom.className = "cm-line", this.prevAttrs = this.attrs ? null : void 0) : (this.setDOM(document.createElement("div")), this.dom.className = "cm-line", this.prevAttrs = this.attrs ? null : void 0), this.prevAttrs !== void 0 && (Nu(this.dom, this.prevAttrs, this.attrs), this.dom.classList.add("cm-line"), this.prevAttrs = void 0), super.sync(e, t);
|
|
13800
13800
|
let r = this.dom.lastChild;
|
|
13801
|
-
for (; r &&
|
|
13801
|
+
for (; r && ct.get(r) instanceof Ai; )
|
|
13802
13802
|
r = r.lastChild;
|
|
13803
|
-
if (!r || !this.length || r.nodeName != "BR" && ((i =
|
|
13803
|
+
if (!r || !this.length || r.nodeName != "BR" && ((i = ct.get(r)) === null || i === void 0 ? void 0 : i.isEditable) == !1 && (!ke.ios || !this.children.some((o) => o instanceof Gn))) {
|
|
13804
13804
|
let o = document.createElement("BR");
|
|
13805
13805
|
o.cmIgnore = !0, this.dom.appendChild(o);
|
|
13806
13806
|
}
|
|
@@ -13854,7 +13854,7 @@ class zt extends ut {
|
|
|
13854
13854
|
return null;
|
|
13855
13855
|
}
|
|
13856
13856
|
}
|
|
13857
|
-
class _i extends
|
|
13857
|
+
class _i extends ct {
|
|
13858
13858
|
constructor(e, t, i) {
|
|
13859
13859
|
super(), this.widget = e, this.length = t, this.deco = i, this.breakAfter = 0, this.prevWidget = null;
|
|
13860
13860
|
}
|
|
@@ -14558,7 +14558,7 @@ class _s {
|
|
|
14558
14558
|
return this.flags == 0 && this.transactions.length == 0;
|
|
14559
14559
|
}
|
|
14560
14560
|
}
|
|
14561
|
-
class Vf extends
|
|
14561
|
+
class Vf extends ct {
|
|
14562
14562
|
get length() {
|
|
14563
14563
|
return this.view.state.doc.length;
|
|
14564
14564
|
}
|
|
@@ -14640,7 +14640,7 @@ class Vf extends ut {
|
|
|
14640
14640
|
(a) => a.flags & 7
|
|
14641
14641
|
/* ViewFlag.Dirty */
|
|
14642
14642
|
) ? 1 : 0), this.markedForComposition.add(l);
|
|
14643
|
-
let s =
|
|
14643
|
+
let s = ct.get(o);
|
|
14644
14644
|
s && s != l && (s.dom = null), l.setDOM(o);
|
|
14645
14645
|
}, i = this.childPos(e.range.fromB, 1), r = this.children[i.i];
|
|
14646
14646
|
t(e.line, r);
|
|
@@ -14719,18 +14719,18 @@ class Vf extends ut {
|
|
|
14719
14719
|
if (e.node != t)
|
|
14720
14720
|
return e;
|
|
14721
14721
|
for (let r = e.offset; !i && r < t.childNodes.length; r++) {
|
|
14722
|
-
let o =
|
|
14722
|
+
let o = ct.get(t.childNodes[r]);
|
|
14723
14723
|
o instanceof zt && (i = o.domAtPos(0));
|
|
14724
14724
|
}
|
|
14725
14725
|
for (let r = e.offset - 1; !i && r >= 0; r--) {
|
|
14726
|
-
let o =
|
|
14726
|
+
let o = ct.get(t.childNodes[r]);
|
|
14727
14727
|
o instanceof zt && (i = o.domAtPos(o.length));
|
|
14728
14728
|
}
|
|
14729
14729
|
return i ? new cn(i.node, i.offset, !0) : e;
|
|
14730
14730
|
}
|
|
14731
14731
|
nearest(e) {
|
|
14732
14732
|
for (let t = e; t; ) {
|
|
14733
|
-
let i =
|
|
14733
|
+
let i = ct.get(t);
|
|
14734
14734
|
if (i && i.rootView == this)
|
|
14735
14735
|
return i;
|
|
14736
14736
|
t = t.parentNode;
|
|
@@ -14919,11 +14919,11 @@ function Ip(n, e) {
|
|
|
14919
14919
|
return null;
|
|
14920
14920
|
let i = up(t.focusNode, t.focusOffset), r = cp(t.focusNode, t.focusOffset), o = i || r;
|
|
14921
14921
|
if (r && i && r.node != i.node) {
|
|
14922
|
-
let s =
|
|
14922
|
+
let s = ct.get(r.node);
|
|
14923
14923
|
if (!s || s instanceof Gn && s.text != r.node.nodeValue)
|
|
14924
14924
|
o = r;
|
|
14925
14925
|
else if (n.docView.lastCompositionAfterCursor) {
|
|
14926
|
-
let a =
|
|
14926
|
+
let a = ct.get(i.node);
|
|
14927
14927
|
!a || a instanceof Gn && a.text != i.node.nodeValue || (o = r);
|
|
14928
14928
|
}
|
|
14929
14929
|
}
|
|
@@ -14941,7 +14941,7 @@ function Gw(n, e, t) {
|
|
|
14941
14941
|
return null;
|
|
14942
14942
|
let a = e.invertedDesc, u = new Nn(a.mapPos(o), a.mapPos(l), o, l), c = [];
|
|
14943
14943
|
for (let d = r.parentNode; ; d = d.parentNode) {
|
|
14944
|
-
let f =
|
|
14944
|
+
let f = ct.get(d);
|
|
14945
14945
|
if (f instanceof Ai)
|
|
14946
14946
|
c.push({ node: d, deco: f.mark });
|
|
14947
14947
|
else {
|
|
@@ -15299,7 +15299,7 @@ class ux {
|
|
|
15299
15299
|
let l = r.nextSibling;
|
|
15300
15300
|
if (l == t)
|
|
15301
15301
|
break;
|
|
15302
|
-
let s =
|
|
15302
|
+
let s = ct.get(r), a = ct.get(l);
|
|
15303
15303
|
(s && a ? s.breakAfter : (s ? s.breakAfter : Ss(r)) || Ss(l) && (r.nodeName != "BR" || r.cmIgnore) && this.text.length > o) && !dx(l, t) && this.lineBreak(), r = l;
|
|
15304
15304
|
}
|
|
15305
15305
|
return this.findPointBefore(i, t), this;
|
|
@@ -15321,7 +15321,7 @@ class ux {
|
|
|
15321
15321
|
readNode(e) {
|
|
15322
15322
|
if (e.cmIgnore)
|
|
15323
15323
|
return;
|
|
15324
|
-
let t =
|
|
15324
|
+
let t = ct.get(e), i = t && t.overrideDOMText;
|
|
15325
15325
|
if (i != null) {
|
|
15326
15326
|
this.findPointInside(e, i.length);
|
|
15327
15327
|
for (let r = i.iter(); !r.next().done; )
|
|
@@ -15349,7 +15349,7 @@ function cx(n, e, t) {
|
|
|
15349
15349
|
function dx(n, e) {
|
|
15350
15350
|
let t;
|
|
15351
15351
|
for (; !(n == e || !n); n = n.nextSibling) {
|
|
15352
|
-
let i =
|
|
15352
|
+
let i = ct.get(n);
|
|
15353
15353
|
if (!(i != null && i.isWidget || n.cmIgnore))
|
|
15354
15354
|
return !1;
|
|
15355
15355
|
i && (t || (t = [])).push(i);
|
|
@@ -15695,7 +15695,7 @@ function Cx(n, e) {
|
|
|
15695
15695
|
if (e.defaultPrevented)
|
|
15696
15696
|
return !1;
|
|
15697
15697
|
for (let t = e.target, i; t != n.contentDOM; t = t.parentNode)
|
|
15698
|
-
if (!t || t.nodeType == 11 || (i =
|
|
15698
|
+
if (!t || t.nodeType == 11 || (i = ct.get(t)) && i.ignoreEvent(e))
|
|
15699
15699
|
return !1;
|
|
15700
15700
|
return !0;
|
|
15701
15701
|
}
|
|
@@ -17347,7 +17347,7 @@ class Kx {
|
|
|
17347
17347
|
}
|
|
17348
17348
|
function oh(n, e, t) {
|
|
17349
17349
|
for (; e; ) {
|
|
17350
|
-
let i =
|
|
17350
|
+
let i = ct.get(e);
|
|
17351
17351
|
if (i && i.parent == n)
|
|
17352
17352
|
return i;
|
|
17353
17353
|
let r = e.parentNode;
|
|
@@ -18235,7 +18235,7 @@ class we {
|
|
|
18235
18235
|
*/
|
|
18236
18236
|
static findFromDOM(e) {
|
|
18237
18237
|
var t;
|
|
18238
|
-
let i = e.querySelector(".cm-content"), r = i &&
|
|
18238
|
+
let i = e.querySelector(".cm-content"), r = i && ct.get(i) || ct.get(e);
|
|
18239
18239
|
return ((t = r == null ? void 0 : r.rootView) === null || t === void 0 ? void 0 : t.view) || null;
|
|
18240
18240
|
}
|
|
18241
18241
|
}
|
|
@@ -28342,7 +28342,7 @@ function jA(n, e, t, i, r, o) {
|
|
|
28342
28342
|
"div",
|
|
28343
28343
|
{
|
|
28344
28344
|
class: "quickform-json-field-wrapper",
|
|
28345
|
-
style:
|
|
28345
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
28346
28346
|
},
|
|
28347
28347
|
[
|
|
28348
28348
|
i.label ? (P(), Y("div", EA, [
|
|
@@ -28407,7 +28407,7 @@ function jA(n, e, t, i, r, o) {
|
|
|
28407
28407
|
id: i.fieldId,
|
|
28408
28408
|
modelValue: i.code,
|
|
28409
28409
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => i.code = l),
|
|
28410
|
-
style:
|
|
28410
|
+
style: lt({ height: i.editorHeight }),
|
|
28411
28411
|
extensions: i.extensions,
|
|
28412
28412
|
disabled: t.disabled || t.readonly,
|
|
28413
28413
|
"indent-with-tab": i.indentWithTab,
|
|
@@ -28541,7 +28541,7 @@ function YA(n, e, t, i, r, o) {
|
|
|
28541
28541
|
return P(), Y(
|
|
28542
28542
|
"div",
|
|
28543
28543
|
{
|
|
28544
|
-
style:
|
|
28544
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
28545
28545
|
},
|
|
28546
28546
|
[
|
|
28547
28547
|
V(i.QSelect, gt({
|
|
@@ -29003,7 +29003,7 @@ const $A = ["left", "center", "right", "justify"], eq = $e({
|
|
|
29003
29003
|
M && f.value.contains(M) === !0 && (w.value = !0, p.value === !0 && H(M));
|
|
29004
29004
|
}
|
|
29005
29005
|
}
|
|
29006
|
-
function
|
|
29006
|
+
function at() {
|
|
29007
29007
|
a(() => {
|
|
29008
29008
|
w.value = !1;
|
|
29009
29009
|
}, 30);
|
|
@@ -29027,7 +29027,7 @@ const $A = ["left", "center", "right", "justify"], eq = $e({
|
|
|
29027
29027
|
}
|
|
29028
29028
|
}) : (At(), z.routeData.hasRouterLink.value === !0 && dt());
|
|
29029
29029
|
}
|
|
29030
|
-
function
|
|
29030
|
+
function st(z) {
|
|
29031
29031
|
b.splice(b.indexOf(z), 1), y.value--, J(), F !== void 0 && z.routeData !== void 0 && (b.every((M) => M.routeData === void 0) === !0 && F(), dt());
|
|
29032
29032
|
}
|
|
29033
29033
|
const Gt = {
|
|
@@ -29036,7 +29036,7 @@ const $A = ["left", "center", "right", "justify"], eq = $e({
|
|
|
29036
29036
|
hasFocus: w,
|
|
29037
29037
|
hasActiveTab: L,
|
|
29038
29038
|
registerTab: bt,
|
|
29039
|
-
unregisterTab:
|
|
29039
|
+
unregisterTab: st,
|
|
29040
29040
|
verifyRouteModel: dt,
|
|
29041
29041
|
updateModel: G,
|
|
29042
29042
|
onKbdNavigate: se,
|
|
@@ -29057,7 +29057,7 @@ const $A = ["left", "center", "right", "justify"], eq = $e({
|
|
|
29057
29057
|
class: R.value,
|
|
29058
29058
|
role: "tablist",
|
|
29059
29059
|
onFocusin: et,
|
|
29060
|
-
onFocusout:
|
|
29060
|
+
onFocusout: at
|
|
29061
29061
|
}, [
|
|
29062
29062
|
_(XA, { onResize: le }),
|
|
29063
29063
|
_("div", {
|
|
@@ -29443,7 +29443,7 @@ function yq(n, e, t, i, r, o) {
|
|
|
29443
29443
|
return P(), Y(
|
|
29444
29444
|
"div",
|
|
29445
29445
|
{
|
|
29446
|
-
style:
|
|
29446
|
+
style: lt({ marginBottom: i.isFlat ? void 0 : i.fieldGap })
|
|
29447
29447
|
},
|
|
29448
29448
|
[
|
|
29449
29449
|
V(i.QCard, {
|
|
@@ -29558,7 +29558,7 @@ function yq(n, e, t, i, r, o) {
|
|
|
29558
29558
|
Z(
|
|
29559
29559
|
"div",
|
|
29560
29560
|
{
|
|
29561
|
-
style:
|
|
29561
|
+
style: lt(i.isFlat ? { marginTop: "1rem" } : {
|
|
29562
29562
|
marginTop: "1rem",
|
|
29563
29563
|
paddingTop: "1rem",
|
|
29564
29564
|
borderTop: "1px solid #eee"
|
|
@@ -29661,7 +29661,7 @@ function yq(n, e, t, i, r, o) {
|
|
|
29661
29661
|
Z(
|
|
29662
29662
|
"div",
|
|
29663
29663
|
{
|
|
29664
|
-
style:
|
|
29664
|
+
style: lt(i.isFlat ? { marginTop: "1rem" } : {
|
|
29665
29665
|
marginTop: "1rem",
|
|
29666
29666
|
paddingTop: "1rem",
|
|
29667
29667
|
borderTop: "1px dashed #ddd"
|
|
@@ -29757,7 +29757,7 @@ function kq(n, e, t, i, r, o) {
|
|
|
29757
29757
|
return P(), Y(
|
|
29758
29758
|
"div",
|
|
29759
29759
|
{
|
|
29760
|
-
style:
|
|
29760
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
29761
29761
|
},
|
|
29762
29762
|
[
|
|
29763
29763
|
V(i.FieldRenderer, {
|
|
@@ -30316,7 +30316,7 @@ function rO(n, e, t, i, r, o) {
|
|
|
30316
30316
|
"div",
|
|
30317
30317
|
{
|
|
30318
30318
|
class: "quickform-jsonlogic-builder",
|
|
30319
|
-
style:
|
|
30319
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
30320
30320
|
},
|
|
30321
30321
|
[
|
|
30322
30322
|
B(" Header with label and mode toggle "),
|
|
@@ -31163,7 +31163,7 @@ function uO(n, e, t, i, r, o) {
|
|
|
31163
31163
|
return P(), Y(
|
|
31164
31164
|
"div",
|
|
31165
31165
|
{
|
|
31166
|
-
style:
|
|
31166
|
+
style: lt({ marginBottom: i.fieldGap }),
|
|
31167
31167
|
class: "quickform-tags-field"
|
|
31168
31168
|
},
|
|
31169
31169
|
[
|
|
@@ -31330,7 +31330,7 @@ function mO(n, e, t, i, r, o) {
|
|
|
31330
31330
|
return P(), Y(
|
|
31331
31331
|
"div",
|
|
31332
31332
|
{
|
|
31333
|
-
style:
|
|
31333
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
31334
31334
|
},
|
|
31335
31335
|
[
|
|
31336
31336
|
V(i.QInput, {
|
|
@@ -31502,7 +31502,7 @@ function CO(n, e, t, i, r, o) {
|
|
|
31502
31502
|
return P(), Y(
|
|
31503
31503
|
"div",
|
|
31504
31504
|
{
|
|
31505
|
-
style:
|
|
31505
|
+
style: lt({ marginBottom: i.fieldGap })
|
|
31506
31506
|
},
|
|
31507
31507
|
[
|
|
31508
31508
|
i.label ? (P(), Y("div", vO, [
|
|
@@ -32325,11 +32325,11 @@ const t2 = $e({
|
|
|
32325
32325
|
isLastPage: Re,
|
|
32326
32326
|
pagesNumber: Ie,
|
|
32327
32327
|
computedRowsPerPageOptions: et,
|
|
32328
|
-
computedRowsNumber:
|
|
32328
|
+
computedRowsNumber: at,
|
|
32329
32329
|
firstPage: dt,
|
|
32330
32330
|
prevPage: At,
|
|
32331
32331
|
nextPage: bt,
|
|
32332
|
-
lastPage:
|
|
32332
|
+
lastPage: st
|
|
32333
32333
|
} = UO(i, p, g, x, b, ee), Gt = v(() => L.value.length === 0), Jt = v(() => {
|
|
32334
32334
|
const ne = {};
|
|
32335
32335
|
return kg.forEach((be) => {
|
|
@@ -32510,7 +32510,7 @@ const t2 = $e({
|
|
|
32510
32510
|
firstPage: dt,
|
|
32511
32511
|
prevPage: At,
|
|
32512
32512
|
nextPage: bt,
|
|
32513
|
-
lastPage:
|
|
32513
|
+
lastPage: st,
|
|
32514
32514
|
inFullscreen: l.value,
|
|
32515
32515
|
toggleFullscreen: s
|
|
32516
32516
|
}));
|
|
@@ -32574,7 +32574,7 @@ const t2 = $e({
|
|
|
32574
32574
|
modelValue: Ve.value,
|
|
32575
32575
|
dark: o.value,
|
|
32576
32576
|
dense: n.dense,
|
|
32577
|
-
"onUpdate:modelValue":
|
|
32577
|
+
"onUpdate:modelValue": ut
|
|
32578
32578
|
})
|
|
32579
32579
|
];
|
|
32580
32580
|
Ee.unshift(
|
|
@@ -32600,10 +32600,10 @@ const t2 = $e({
|
|
|
32600
32600
|
ne,
|
|
32601
32601
|
"selected",
|
|
32602
32602
|
() => Ve.value,
|
|
32603
|
-
|
|
32603
|
+
ut
|
|
32604
32604
|
), ne;
|
|
32605
32605
|
}
|
|
32606
|
-
function
|
|
32606
|
+
function ut(ne) {
|
|
32607
32607
|
K.value === !0 && (ne = !1), le(
|
|
32608
32608
|
L.value.map(a.value),
|
|
32609
32609
|
L.value,
|
|
@@ -32683,7 +32683,7 @@ const t2 = $e({
|
|
|
32683
32683
|
be = Ne(de.value);
|
|
32684
32684
|
else if (be = [
|
|
32685
32685
|
_("span", Ee !== 0 ? { class: "q-table__bottom-item" } : {}, [
|
|
32686
|
-
Ee ? Pe(se.value + 1, Math.min(qe.value,
|
|
32686
|
+
Ee ? Pe(se.value + 1, Math.min(qe.value, at.value), at.value) : Pe(1, ee.value, at.value)
|
|
32687
32687
|
])
|
|
32688
32688
|
], Ee !== 0 && Ie.value > 1) {
|
|
32689
32689
|
const pt = {
|
|
@@ -32725,7 +32725,7 @@ const t2 = $e({
|
|
|
32725
32725
|
icon: Bt.value[3],
|
|
32726
32726
|
disable: Re.value,
|
|
32727
32727
|
"aria-label": r.lang.pagination.last,
|
|
32728
|
-
onClick:
|
|
32728
|
+
onClick: st
|
|
32729
32729
|
})
|
|
32730
32730
|
);
|
|
32731
32731
|
}
|
|
@@ -32807,7 +32807,7 @@ const t2 = $e({
|
|
|
32807
32807
|
firstPage: dt,
|
|
32808
32808
|
prevPage: At,
|
|
32809
32809
|
nextPage: bt,
|
|
32810
|
-
lastPage:
|
|
32810
|
+
lastPage: st,
|
|
32811
32811
|
isRowSelected: G,
|
|
32812
32812
|
clearSelection: J,
|
|
32813
32813
|
isRowExpanded: w,
|
|
@@ -32819,7 +32819,7 @@ const t2 = $e({
|
|
|
32819
32819
|
}), _y(i.proxy, {
|
|
32820
32820
|
filteredSortedRows: () => F.value,
|
|
32821
32821
|
computedRows: () => L.value,
|
|
32822
|
-
computedRowsNumber: () =>
|
|
32822
|
+
computedRowsNumber: () => at.value
|
|
32823
32823
|
}), () => {
|
|
32824
32824
|
const ne = [Oe()], be = { ref: u, class: m.value };
|
|
32825
32825
|
return n.grid === !0 ? ne.push(Wn()) : Object.assign(be, {
|
|
@@ -33092,7 +33092,7 @@ const t2 = $e({
|
|
|
33092
33092
|
default:
|
|
33093
33093
|
r("row-action", { action: z.action, index: M, row: Q });
|
|
33094
33094
|
}
|
|
33095
|
-
}, Re = (z, M) => z.showWhen ? !!M[z.showWhen] : !0, Ie = v(() => !(i.disabled || i.readonly || i.schema.maxItems && x.value.length >= i.schema.maxItems)), et = v(() => !(i.disabled || i.readonly || i.schema.minItems && x.value.length <= i.schema.minItems)),
|
|
33095
|
+
}, Re = (z, M) => z.showWhen ? !!M[z.showWhen] : !0, Ie = v(() => !(i.disabled || i.readonly || i.schema.maxItems && x.value.length >= i.schema.maxItems)), et = v(() => !(i.disabled || i.readonly || i.schema.minItems && x.value.length <= i.schema.minItems)), at = (z) => {
|
|
33096
33096
|
const M = g.value[z];
|
|
33097
33097
|
return (M == null ? void 0 : M.readOnly) === !0 || (M == null ? void 0 : M["x-readonly"]) === !0;
|
|
33098
33098
|
}, dt = (z) => {
|
|
@@ -33111,7 +33111,7 @@ const t2 = $e({
|
|
|
33111
33111
|
rowsPerPage: ((ot = m.value.pagination) == null ? void 0 : ot.rowsPerPage) ?? 0,
|
|
33112
33112
|
sortBy: null,
|
|
33113
33113
|
descending: !1
|
|
33114
|
-
}),
|
|
33114
|
+
}), st = v(() => {
|
|
33115
33115
|
var z;
|
|
33116
33116
|
return (((z = m.value.pagination) == null ? void 0 : z.rowsPerPage) ?? 0) > 0;
|
|
33117
33117
|
});
|
|
@@ -33121,7 +33121,7 @@ const t2 = $e({
|
|
|
33121
33121
|
function Jt(z) {
|
|
33122
33122
|
return z.replace(/([A-Z])/g, " $1").replace(/[_-]/g, " ").replace(/^\w/, (M) => M.toUpperCase()).trim();
|
|
33123
33123
|
}
|
|
33124
|
-
const Pt = { props: i, emit: r, value: o, label: l, hint: s, tooltip: a, errorMessage: u, required: c, fieldId: d, fieldGap: f, formContext: h, tableConfig: m, itemsSchema: p, itemProperties: g, arrayValue: x, columns: C, resolvedRowActions: b, hasRowActions: y, addButtonProps: w, filterQuery: q, rowRefToIndex: E, getOriginalIndex: F, filteredOriginalIndices: ee, isPersistSelection: L, selectionKey: O, _selectedIndicesRef: R, selectedIndices: j, setSelectedIndices: D, isAllSelected: K, isSomeSelected: te, toggleSelectAll: G, toggleSelectRow: J, bulkField: le, bulkValue: ve, bulkFieldOptions: H, bulkFieldSchema: k, applyBulkEdit: S, updateCellValue: T, addRow: W, removeRow: X, duplicateRow: se, moveRow: qe, handleRowAction: ce, shouldShowAction: Re, canAdd: Ie, canRemove: et, isReadOnly:
|
|
33124
|
+
const Pt = { props: i, emit: r, value: o, label: l, hint: s, tooltip: a, errorMessage: u, required: c, fieldId: d, fieldGap: f, formContext: h, tableConfig: m, itemsSchema: p, itemProperties: g, arrayValue: x, columns: C, resolvedRowActions: b, hasRowActions: y, addButtonProps: w, filterQuery: q, rowRefToIndex: E, getOriginalIndex: F, filteredOriginalIndices: ee, isPersistSelection: L, selectionKey: O, _selectedIndicesRef: R, selectedIndices: j, setSelectedIndices: D, isAllSelected: K, isSomeSelected: te, toggleSelectAll: G, toggleSelectRow: J, bulkField: le, bulkValue: ve, bulkFieldOptions: H, bulkFieldSchema: k, applyBulkEdit: S, updateCellValue: T, addRow: W, removeRow: X, duplicateRow: se, moveRow: qe, handleRowAction: ce, shouldShowAction: Re, canAdd: Ie, canRemove: et, isReadOnly: at, getPropertyType: dt, getEnumOptions: At, paginationModel: bt, hasPagination: st, formatCellValue: Gt, humanize: Jt, get QTable() {
|
|
33125
33125
|
return t2;
|
|
33126
33126
|
}, get QTr() {
|
|
33127
33127
|
return n2;
|
|
@@ -33172,7 +33172,7 @@ function x2(n, e, t, i, r, o) {
|
|
|
33172
33172
|
var l;
|
|
33173
33173
|
return P(), Y("div", {
|
|
33174
33174
|
id: i.fieldId,
|
|
33175
|
-
style:
|
|
33175
|
+
style: lt({ marginBottom: i.fieldGap }),
|
|
33176
33176
|
class: "quickform-table-field"
|
|
33177
33177
|
}, [
|
|
33178
33178
|
B(" Header "),
|
|
@@ -33832,7 +33832,8 @@ const Am = /* @__PURE__ */ Ft(o2, [["render", x2], ["__scopeId", "data-v-7fb1dda
|
|
|
33832
33832
|
allowOvernight: W.allowOvernight ?? !1,
|
|
33833
33833
|
hidePresets: W.hidePresets ?? !1,
|
|
33834
33834
|
allowMultipleShifts: W.allowMultipleShifts ?? !0,
|
|
33835
|
-
timezoneLabel: W.timezoneLabel || ""
|
|
33835
|
+
timezoneLabel: W.timezoneLabel || "",
|
|
33836
|
+
maxHeight: W.maxHeight || ""
|
|
33836
33837
|
};
|
|
33837
33838
|
}), l = v(() => o.value.dayOrder === "sun-first" ? [
|
|
33838
33839
|
"sunday",
|
|
@@ -34009,29 +34010,29 @@ const Am = /* @__PURE__ */ Ft(o2, [["render", x2], ["__scopeId", "data-v-7fb1dda
|
|
|
34009
34010
|
}, O2 = ["innerHTML"], D2 = ["innerHTML"], P2 = {
|
|
34010
34011
|
key: 0,
|
|
34011
34012
|
class: "qws__presets"
|
|
34012
|
-
}, B2 = {
|
|
34013
|
+
}, B2 = {
|
|
34013
34014
|
key: 0,
|
|
34014
34015
|
class: "qws__select-all-row"
|
|
34015
|
-
},
|
|
34016
|
+
}, R2 = { class: "qws__select-all-label" }, L2 = {
|
|
34016
34017
|
key: 0,
|
|
34017
34018
|
class: "qws__row-check"
|
|
34018
|
-
},
|
|
34019
|
+
}, E2 = {
|
|
34019
34020
|
key: 1,
|
|
34020
34021
|
class: "qws__row-check"
|
|
34021
|
-
},
|
|
34022
|
+
}, I2 = ["disabled", "onClick"], V2 = { class: "qws__toggle-label" }, F2 = { class: "qws__shifts" }, N2 = { class: "qws__shift-sep" }, H2 = {
|
|
34022
34023
|
key: 0,
|
|
34023
34024
|
class: "qws__overnight"
|
|
34024
|
-
},
|
|
34025
|
+
}, z2 = {
|
|
34025
34026
|
key: 0,
|
|
34026
34027
|
class: "qws__bulk"
|
|
34027
|
-
},
|
|
34028
|
+
}, Q2 = { class: "qws__bulk-left" }, j2 = { class: "qws__bulk-count" }, W2 = { class: "qws__bulk-shifts" }, U2 = { class: "qws__shift-sep" }, K2 = { class: "qws__bulk-actions" }, Y2 = {
|
|
34028
34029
|
key: 1,
|
|
34029
34030
|
class: "qws__error"
|
|
34030
34031
|
};
|
|
34031
|
-
function
|
|
34032
|
+
function G2(n, e, t, i, r, o) {
|
|
34032
34033
|
return P(), Y("div", {
|
|
34033
34034
|
id: i.fieldId,
|
|
34034
|
-
style:
|
|
34035
|
+
style: lt({ marginBottom: i.fieldGap }),
|
|
34035
34036
|
class: "qws"
|
|
34036
34037
|
}, [
|
|
34037
34038
|
B(" ── Header ────────────────────────────────────────────── "),
|
|
@@ -34097,161 +34098,143 @@ function J2(n, e, t, i, r, o) {
|
|
|
34097
34098
|
])) : B("v-if", !0)
|
|
34098
34099
|
])) : B("v-if", !0),
|
|
34099
34100
|
B(" ── Schedule grid ─────────────────────────────────────── "),
|
|
34100
|
-
Z(
|
|
34101
|
-
|
|
34102
|
-
|
|
34103
|
-
|
|
34104
|
-
|
|
34105
|
-
|
|
34106
|
-
|
|
34107
|
-
|
|
34108
|
-
|
|
34109
|
-
|
|
34110
|
-
|
|
34111
|
-
|
|
34112
|
-
|
|
34113
|
-
|
|
34114
|
-
|
|
34115
|
-
|
|
34116
|
-
|
|
34117
|
-
|
|
34118
|
-
|
|
34119
|
-
|
|
34120
|
-
|
|
34121
|
-
|
|
34122
|
-
|
|
34123
|
-
|
|
34124
|
-
|
|
34125
|
-
|
|
34126
|
-
|
|
34127
|
-
|
|
34128
|
-
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
34132
|
-
|
|
34133
|
-
|
|
34134
|
-
|
|
34135
|
-
|
|
34136
|
-
|
|
34137
|
-
|
|
34138
|
-
|
|
34139
|
-
|
|
34140
|
-
|
|
34141
|
-
|
|
34142
|
-
|
|
34143
|
-
|
|
34144
|
-
|
|
34145
|
-
|
|
34146
|
-
|
|
34147
|
-
|
|
34148
|
-
|
|
34149
|
-
|
|
34150
|
-
|
|
34151
|
-
|
|
34152
|
-
])
|
|
34153
|
-
},
|
|
34154
|
-
he(i.DAY_META[l.day].abbr),
|
|
34155
|
-
3
|
|
34156
|
-
/* TEXT, CLASS */
|
|
34157
|
-
),
|
|
34158
|
-
B(" Open/closed toggle pill "),
|
|
34159
|
-
Z("button", {
|
|
34160
|
-
class: an([
|
|
34161
|
-
"qws__toggle",
|
|
34162
|
-
l.open ? "qws__toggle--open" : "qws__toggle--closed"
|
|
34163
|
-
]),
|
|
34164
|
-
disabled: t.disabled || t.readonly,
|
|
34165
|
-
onClick: (a) => i.toggleDay(s)
|
|
34166
|
-
}, [
|
|
34167
|
-
e[4] || (e[4] = Z(
|
|
34168
|
-
"span",
|
|
34169
|
-
{ class: "qws__toggle-dot" },
|
|
34170
|
-
null,
|
|
34171
|
-
-1
|
|
34172
|
-
/* CACHED */
|
|
34173
|
-
)),
|
|
34101
|
+
Z(
|
|
34102
|
+
"div",
|
|
34103
|
+
{
|
|
34104
|
+
class: "qws__grid",
|
|
34105
|
+
style: lt(i.scheduleConfig.maxHeight ? { maxHeight: i.scheduleConfig.maxHeight, overflowY: "auto" } : void 0)
|
|
34106
|
+
},
|
|
34107
|
+
[
|
|
34108
|
+
B(" Select-all row "),
|
|
34109
|
+
!t.disabled && !t.readonly ? (P(), Y("div", B2, [
|
|
34110
|
+
V(i.QCheckbox, {
|
|
34111
|
+
"model-value": i.isAllSelected,
|
|
34112
|
+
"indeterminate-value": i.isSomeSelected ? !0 : void 0,
|
|
34113
|
+
dense: "",
|
|
34114
|
+
size: "xs",
|
|
34115
|
+
color: "primary",
|
|
34116
|
+
"onUpdate:modelValue": i.toggleSelectAll
|
|
34117
|
+
}, null, 8, ["model-value", "indeterminate-value"]),
|
|
34118
|
+
Z(
|
|
34119
|
+
"span",
|
|
34120
|
+
R2,
|
|
34121
|
+
he(i.isAllSelected ? "Deselect all" : "Select all"),
|
|
34122
|
+
1
|
|
34123
|
+
/* TEXT */
|
|
34124
|
+
)
|
|
34125
|
+
])) : B("v-if", !0),
|
|
34126
|
+
B(" Day rows "),
|
|
34127
|
+
(P(!0), Y(
|
|
34128
|
+
De,
|
|
34129
|
+
null,
|
|
34130
|
+
qt(i.days, (l, s) => (P(), Y(
|
|
34131
|
+
"div",
|
|
34132
|
+
{
|
|
34133
|
+
key: l.day,
|
|
34134
|
+
class: an(["qws__row", {
|
|
34135
|
+
"qws__row--open": l.open,
|
|
34136
|
+
"qws__row--closed": !l.open,
|
|
34137
|
+
"qws__row--selected": i.selectedDays.has(s),
|
|
34138
|
+
"qws__row--weekend": i.DAY_META[l.day].weekend
|
|
34139
|
+
}])
|
|
34140
|
+
},
|
|
34141
|
+
[
|
|
34142
|
+
B(" Checkbox "),
|
|
34143
|
+
!t.disabled && !t.readonly ? (P(), Y("div", L2, [
|
|
34144
|
+
V(i.QCheckbox, {
|
|
34145
|
+
"model-value": i.selectedDays.has(s),
|
|
34146
|
+
dense: "",
|
|
34147
|
+
size: "xs",
|
|
34148
|
+
color: "primary",
|
|
34149
|
+
"onUpdate:modelValue": (a) => i.toggleSelectDay(s)
|
|
34150
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
34151
|
+
])) : (P(), Y("div", E2)),
|
|
34152
|
+
B(" Day badge "),
|
|
34174
34153
|
Z(
|
|
34175
|
-
"
|
|
34176
|
-
|
|
34177
|
-
|
|
34178
|
-
|
|
34179
|
-
|
|
34180
|
-
|
|
34181
|
-
|
|
34182
|
-
|
|
34183
|
-
|
|
34184
|
-
|
|
34185
|
-
|
|
34186
|
-
|
|
34187
|
-
|
|
34188
|
-
|
|
34189
|
-
|
|
34190
|
-
|
|
34191
|
-
|
|
34192
|
-
|
|
34193
|
-
|
|
34194
|
-
|
|
34195
|
-
|
|
34196
|
-
|
|
34197
|
-
|
|
34198
|
-
|
|
34199
|
-
|
|
34200
|
-
|
|
34201
|
-
|
|
34202
|
-
|
|
34203
|
-
|
|
34204
|
-
|
|
34205
|
-
|
|
34206
|
-
|
|
34207
|
-
|
|
34208
|
-
|
|
34209
|
-
|
|
34210
|
-
|
|
34211
|
-
|
|
34212
|
-
|
|
34213
|
-
|
|
34214
|
-
|
|
34215
|
-
|
|
34216
|
-
|
|
34217
|
-
|
|
34218
|
-
|
|
34219
|
-
|
|
34220
|
-
|
|
34221
|
-
|
|
34222
|
-
|
|
34223
|
-
V(i.
|
|
34224
|
-
|
|
34225
|
-
|
|
34226
|
-
|
|
34227
|
-
|
|
34228
|
-
|
|
34229
|
-
|
|
34230
|
-
|
|
34231
|
-
|
|
34232
|
-
|
|
34233
|
-
|
|
34234
|
-
|
|
34235
|
-
|
|
34236
|
-
|
|
34237
|
-
|
|
34238
|
-
|
|
34239
|
-
|
|
34240
|
-
|
|
34241
|
-
|
|
34242
|
-
|
|
34243
|
-
|
|
34244
|
-
|
|
34245
|
-
|
|
34246
|
-
|
|
34247
|
-
|
|
34248
|
-
|
|
34249
|
-
|
|
34250
|
-
|
|
34154
|
+
"div",
|
|
34155
|
+
{
|
|
34156
|
+
class: an([
|
|
34157
|
+
"qws__day-badge",
|
|
34158
|
+
i.DAY_META[l.day].weekend ? "qws__day-badge--weekend" : "qws__day-badge--weekday"
|
|
34159
|
+
])
|
|
34160
|
+
},
|
|
34161
|
+
he(i.DAY_META[l.day].abbr),
|
|
34162
|
+
3
|
|
34163
|
+
/* TEXT, CLASS */
|
|
34164
|
+
),
|
|
34165
|
+
B(" Open/closed toggle pill "),
|
|
34166
|
+
Z("button", {
|
|
34167
|
+
class: an([
|
|
34168
|
+
"qws__toggle",
|
|
34169
|
+
l.open ? "qws__toggle--open" : "qws__toggle--closed"
|
|
34170
|
+
]),
|
|
34171
|
+
disabled: t.disabled || t.readonly,
|
|
34172
|
+
onClick: (a) => i.toggleDay(s)
|
|
34173
|
+
}, [
|
|
34174
|
+
e[4] || (e[4] = Z(
|
|
34175
|
+
"span",
|
|
34176
|
+
{ class: "qws__toggle-dot" },
|
|
34177
|
+
null,
|
|
34178
|
+
-1
|
|
34179
|
+
/* CACHED */
|
|
34180
|
+
)),
|
|
34181
|
+
Z(
|
|
34182
|
+
"span",
|
|
34183
|
+
V2,
|
|
34184
|
+
he(l.open ? "Open" : "Closed"),
|
|
34185
|
+
1
|
|
34186
|
+
/* TEXT */
|
|
34187
|
+
)
|
|
34188
|
+
], 10, I2),
|
|
34189
|
+
B(" Shifts area "),
|
|
34190
|
+
Z("div", F2, [
|
|
34191
|
+
l.open ? (P(), Y(
|
|
34192
|
+
De,
|
|
34193
|
+
{ key: 0 },
|
|
34194
|
+
[
|
|
34195
|
+
(P(!0), Y(
|
|
34196
|
+
De,
|
|
34197
|
+
null,
|
|
34198
|
+
qt(l.shifts, (a, u) => (P(), Y("div", {
|
|
34199
|
+
key: u,
|
|
34200
|
+
class: "qws__shift"
|
|
34201
|
+
}, [
|
|
34202
|
+
V(i.QInput, {
|
|
34203
|
+
"model-value": a.startTime,
|
|
34204
|
+
type: "time",
|
|
34205
|
+
dense: "",
|
|
34206
|
+
borderless: "",
|
|
34207
|
+
class: "qws__time-input",
|
|
34208
|
+
readonly: t.disabled || t.readonly,
|
|
34209
|
+
disable: t.disabled,
|
|
34210
|
+
"onUpdate:modelValue": (c) => a.startTime = c
|
|
34211
|
+
}, null, 8, ["model-value", "readonly", "disable", "onUpdate:modelValue"]),
|
|
34212
|
+
Z("span", N2, [
|
|
34213
|
+
V(i.QIcon, {
|
|
34214
|
+
name: "arrow_forward",
|
|
34215
|
+
size: "14px",
|
|
34216
|
+
color: "grey-5"
|
|
34217
|
+
})
|
|
34218
|
+
]),
|
|
34219
|
+
V(i.QInput, {
|
|
34220
|
+
"model-value": a.endTime,
|
|
34221
|
+
type: "time",
|
|
34222
|
+
dense: "",
|
|
34223
|
+
borderless: "",
|
|
34224
|
+
class: "qws__time-input",
|
|
34225
|
+
readonly: t.disabled || t.readonly,
|
|
34226
|
+
disable: t.disabled,
|
|
34227
|
+
"onUpdate:modelValue": (c) => a.endTime = c
|
|
34228
|
+
}, null, 8, ["model-value", "readonly", "disable", "onUpdate:modelValue"]),
|
|
34229
|
+
i.isOvernight(a) ? (P(), Y("span", H2, [
|
|
34230
|
+
V(i.QIcon, {
|
|
34231
|
+
name: "brightness_3",
|
|
34232
|
+
size: "11px"
|
|
34233
|
+
}),
|
|
34251
34234
|
V(i.QTooltip, null, {
|
|
34252
|
-
default: U(() => [...e[
|
|
34235
|
+
default: U(() => [...e[5] || (e[5] = [
|
|
34253
34236
|
Ae(
|
|
34254
|
-
"
|
|
34237
|
+
"Overnight — ends next day",
|
|
34255
34238
|
-1
|
|
34256
34239
|
/* CACHED */
|
|
34257
34240
|
)
|
|
@@ -34259,87 +34242,114 @@ function J2(n, e, t, i, r, o) {
|
|
|
34259
34242
|
_: 1
|
|
34260
34243
|
/* STABLE */
|
|
34261
34244
|
})
|
|
34262
|
-
]),
|
|
34263
|
-
|
|
34264
|
-
|
|
34265
|
-
|
|
34266
|
-
|
|
34267
|
-
|
|
34268
|
-
|
|
34269
|
-
|
|
34270
|
-
|
|
34271
|
-
|
|
34272
|
-
|
|
34273
|
-
|
|
34274
|
-
dense: "",
|
|
34275
|
-
"no-caps": "",
|
|
34276
|
-
size: "xs",
|
|
34277
|
-
icon: "add",
|
|
34278
|
-
label: "Add shift",
|
|
34279
|
-
color: "primary",
|
|
34280
|
-
class: "qws__add-shift",
|
|
34281
|
-
onClick: (a) => i.addShift(s)
|
|
34282
|
-
}, {
|
|
34283
|
-
default: U(() => [
|
|
34284
|
-
V(
|
|
34285
|
-
i.QTooltip,
|
|
34286
|
-
null,
|
|
34287
|
-
{
|
|
34245
|
+
])) : B("v-if", !0),
|
|
34246
|
+
!t.disabled && !t.readonly && l.shifts.length > 1 ? (P(), Be(i.QBtn, {
|
|
34247
|
+
key: 1,
|
|
34248
|
+
flat: "",
|
|
34249
|
+
round: "",
|
|
34250
|
+
dense: "",
|
|
34251
|
+
size: "xs",
|
|
34252
|
+
icon: "close",
|
|
34253
|
+
color: "grey-5",
|
|
34254
|
+
class: "qws__shift-remove",
|
|
34255
|
+
onClick: (c) => i.removeShift(s, u)
|
|
34256
|
+
}, {
|
|
34288
34257
|
default: U(() => [
|
|
34289
|
-
|
|
34290
|
-
|
|
34291
|
-
|
|
34292
|
-
|
|
34293
|
-
|
|
34258
|
+
V(i.QTooltip, null, {
|
|
34259
|
+
default: U(() => [...e[6] || (e[6] = [
|
|
34260
|
+
Ae(
|
|
34261
|
+
"Remove shift",
|
|
34262
|
+
-1
|
|
34263
|
+
/* CACHED */
|
|
34264
|
+
)
|
|
34265
|
+
])]),
|
|
34266
|
+
_: 1
|
|
34267
|
+
/* STABLE */
|
|
34268
|
+
})
|
|
34294
34269
|
]),
|
|
34295
|
-
_:
|
|
34296
|
-
/*
|
|
34297
|
-
},
|
|
34298
|
-
|
|
34299
|
-
|
|
34300
|
-
|
|
34301
|
-
|
|
34302
|
-
|
|
34303
|
-
|
|
34304
|
-
|
|
34305
|
-
|
|
34306
|
-
|
|
34307
|
-
|
|
34308
|
-
|
|
34309
|
-
|
|
34310
|
-
|
|
34311
|
-
|
|
34312
|
-
|
|
34313
|
-
|
|
34314
|
-
|
|
34315
|
-
|
|
34316
|
-
|
|
34317
|
-
|
|
34318
|
-
|
|
34319
|
-
|
|
34320
|
-
|
|
34321
|
-
|
|
34322
|
-
|
|
34323
|
-
|
|
34324
|
-
|
|
34325
|
-
|
|
34326
|
-
|
|
34327
|
-
|
|
34328
|
-
|
|
34329
|
-
|
|
34330
|
-
|
|
34331
|
-
|
|
34332
|
-
|
|
34333
|
-
|
|
34334
|
-
|
|
34270
|
+
_: 1
|
|
34271
|
+
/* STABLE */
|
|
34272
|
+
}, 8, ["onClick"])) : B("v-if", !0)
|
|
34273
|
+
]))),
|
|
34274
|
+
128
|
|
34275
|
+
/* KEYED_FRAGMENT */
|
|
34276
|
+
)),
|
|
34277
|
+
B(" Add shift "),
|
|
34278
|
+
!t.disabled && !t.readonly && i.scheduleConfig.allowMultipleShifts ? (P(), Be(i.QBtn, {
|
|
34279
|
+
key: 0,
|
|
34280
|
+
flat: "",
|
|
34281
|
+
dense: "",
|
|
34282
|
+
"no-caps": "",
|
|
34283
|
+
size: "xs",
|
|
34284
|
+
icon: "add",
|
|
34285
|
+
label: "Add shift",
|
|
34286
|
+
color: "primary",
|
|
34287
|
+
class: "qws__add-shift",
|
|
34288
|
+
onClick: (a) => i.addShift(s)
|
|
34289
|
+
}, {
|
|
34290
|
+
default: U(() => [
|
|
34291
|
+
V(
|
|
34292
|
+
i.QTooltip,
|
|
34293
|
+
null,
|
|
34294
|
+
{
|
|
34295
|
+
default: U(() => [
|
|
34296
|
+
Ae(
|
|
34297
|
+
" Add another time range for " + he(i.DAY_META[l.day].label),
|
|
34298
|
+
1
|
|
34299
|
+
/* TEXT */
|
|
34300
|
+
)
|
|
34301
|
+
]),
|
|
34302
|
+
_: 2
|
|
34303
|
+
/* DYNAMIC */
|
|
34304
|
+
},
|
|
34305
|
+
1024
|
|
34306
|
+
/* DYNAMIC_SLOTS */
|
|
34307
|
+
)
|
|
34308
|
+
]),
|
|
34309
|
+
_: 2
|
|
34310
|
+
/* DYNAMIC */
|
|
34311
|
+
}, 1032, ["onClick"])) : B("v-if", !0)
|
|
34312
|
+
],
|
|
34313
|
+
64
|
|
34314
|
+
/* STABLE_FRAGMENT */
|
|
34315
|
+
)) : (P(), Y(
|
|
34316
|
+
De,
|
|
34317
|
+
{ key: 1 },
|
|
34318
|
+
[
|
|
34319
|
+
B(" Closed state "),
|
|
34320
|
+
e[7] || (e[7] = Z(
|
|
34321
|
+
"div",
|
|
34322
|
+
{ class: "qws__closed-state" },
|
|
34323
|
+
[
|
|
34324
|
+
Z("span", { class: "qws__closed-label" }, "Closed")
|
|
34325
|
+
],
|
|
34326
|
+
-1
|
|
34327
|
+
/* CACHED */
|
|
34328
|
+
))
|
|
34329
|
+
],
|
|
34330
|
+
2112
|
|
34331
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
34332
|
+
))
|
|
34333
|
+
])
|
|
34334
|
+
],
|
|
34335
|
+
2
|
|
34336
|
+
/* CLASS */
|
|
34337
|
+
))),
|
|
34338
|
+
128
|
|
34339
|
+
/* KEYED_FRAGMENT */
|
|
34340
|
+
))
|
|
34341
|
+
],
|
|
34342
|
+
4
|
|
34343
|
+
/* STYLE */
|
|
34344
|
+
),
|
|
34335
34345
|
B(" ── Bulk toolbar ───────────────────────────────────────── "),
|
|
34336
34346
|
V(ln, { name: "qws-bulk" }, {
|
|
34337
34347
|
default: U(() => [
|
|
34338
|
-
i.selectedCount > 0 && !t.disabled && !t.readonly ? (P(), Y("div",
|
|
34339
|
-
Z("div",
|
|
34348
|
+
i.selectedCount > 0 && !t.disabled && !t.readonly ? (P(), Y("div", z2, [
|
|
34349
|
+
Z("div", Q2, [
|
|
34340
34350
|
Z(
|
|
34341
34351
|
"span",
|
|
34342
|
-
|
|
34352
|
+
j2,
|
|
34343
34353
|
he(i.selectedCount) + " " + he(i.selectedCount === 1 ? "day" : "days") + " selected ",
|
|
34344
34354
|
1
|
|
34345
34355
|
/* TEXT */
|
|
@@ -34348,7 +34358,7 @@ function J2(n, e, t, i, r, o) {
|
|
|
34348
34358
|
vertical: "",
|
|
34349
34359
|
class: "qws__bulk-sep"
|
|
34350
34360
|
}),
|
|
34351
|
-
Z("div",
|
|
34361
|
+
Z("div", W2, [
|
|
34352
34362
|
(P(!0), Y(
|
|
34353
34363
|
De,
|
|
34354
34364
|
null,
|
|
@@ -34364,7 +34374,7 @@ function J2(n, e, t, i, r, o) {
|
|
|
34364
34374
|
borderless: "",
|
|
34365
34375
|
class: "qws__time-input qws__time-input--bulk"
|
|
34366
34376
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
34367
|
-
Z("span",
|
|
34377
|
+
Z("span", U2, [
|
|
34368
34378
|
V(i.QIcon, {
|
|
34369
34379
|
name: "arrow_forward",
|
|
34370
34380
|
size: "14px",
|
|
@@ -34406,7 +34416,7 @@ function J2(n, e, t, i, r, o) {
|
|
|
34406
34416
|
})) : B("v-if", !0)
|
|
34407
34417
|
])
|
|
34408
34418
|
]),
|
|
34409
|
-
Z("div",
|
|
34419
|
+
Z("div", K2, [
|
|
34410
34420
|
Z("button", {
|
|
34411
34421
|
class: "qws__bulk-apply",
|
|
34412
34422
|
onClick: i.applyBulkOpen
|
|
@@ -34428,14 +34438,14 @@ function J2(n, e, t, i, r, o) {
|
|
|
34428
34438
|
B(" ── Error ──────────────────────────────────────────────── "),
|
|
34429
34439
|
i.errorMessage ? (P(), Y(
|
|
34430
34440
|
"div",
|
|
34431
|
-
|
|
34441
|
+
Y2,
|
|
34432
34442
|
he(i.errorMessage),
|
|
34433
34443
|
1
|
|
34434
34444
|
/* TEXT */
|
|
34435
34445
|
)) : B("v-if", !0)
|
|
34436
34446
|
], 12, C2);
|
|
34437
34447
|
}
|
|
34438
|
-
const qm = /* @__PURE__ */ Ft(S2, [["render",
|
|
34448
|
+
const qm = /* @__PURE__ */ Ft(S2, [["render", G2], ["__scopeId", "data-v-40143f86"], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarWeeklyScheduleField.vue"]]), J2 = /* @__PURE__ */ Dt({
|
|
34439
34449
|
__name: "QuasarMultiGroupScheduleField",
|
|
34440
34450
|
props: {
|
|
34441
34451
|
hideLabel: { type: Boolean, required: !1, default: !1 },
|
|
@@ -34472,7 +34482,8 @@ const qm = /* @__PURE__ */ Ft(S2, [["render", J2], ["__scopeId", "data-v-40143f8
|
|
|
34472
34482
|
groupIdKey: M.groupIdKey || "id",
|
|
34473
34483
|
scheduleKey: M.scheduleKey || "schedule",
|
|
34474
34484
|
allowMultipleShifts: M.allowMultipleShifts ?? !0,
|
|
34475
|
-
timezoneLabel: M.timezoneLabel || ""
|
|
34485
|
+
timezoneLabel: M.timezoneLabel || "",
|
|
34486
|
+
maxHeight: M.maxHeight || ""
|
|
34476
34487
|
};
|
|
34477
34488
|
}), {
|
|
34478
34489
|
value: l,
|
|
@@ -34711,7 +34722,7 @@ const qm = /* @__PURE__ */ Ft(S2, [["render", J2], ["__scopeId", "data-v-40143f8
|
|
|
34711
34722
|
shifts: [{ startTime: "08:00", endTime: "18:00" }]
|
|
34712
34723
|
} : { day: $, open: !1, shifts: [] } : { day: $, open: !1, shifts: [] });
|
|
34713
34724
|
}
|
|
34714
|
-
function
|
|
34725
|
+
function at() {
|
|
34715
34726
|
if (ce.value) {
|
|
34716
34727
|
ce.value = !1;
|
|
34717
34728
|
return;
|
|
@@ -34731,7 +34742,7 @@ const qm = /* @__PURE__ */ Ft(S2, [["render", J2], ["__scopeId", "data-v-40143f8
|
|
|
34731
34742
|
function bt() {
|
|
34732
34743
|
dt(Re.value);
|
|
34733
34744
|
}
|
|
34734
|
-
function
|
|
34745
|
+
function st(M) {
|
|
34735
34746
|
const Q = g(Re.value), $ = Q[M];
|
|
34736
34747
|
$.open ? ($.open = !1, $.shifts = []) : ($.open = !0, $.shifts = [le(Q, M)]), Re.value = Q;
|
|
34737
34748
|
}
|
|
@@ -34754,7 +34765,7 @@ const qm = /* @__PURE__ */ Ft(S2, [["render", J2], ["__scopeId", "data-v-40143f8
|
|
|
34754
34765
|
return w;
|
|
34755
34766
|
}, set stopCapture(M) {
|
|
34756
34767
|
w = M;
|
|
34757
|
-
}, getOriginalGroupDays: q, hasChanges: E, resetGroup: F, resetSelected: ee, selectedGroups: L, isAllSelected: O, isSomeSelected: R, toggleSelectGroup: j, toggleSelectAll: D, selectedCount: K, selectedGroupNames: te, expandedGroups: G, toggleExpanded: J, getSmartDefault: le, addTimeHours: ve, toggleDay: H, updateShiftTime: k, addShift: S, removeShift: T, getScheduleSummary: W, AVATAR_COLORS: X, getAvatarColor: se, getInitials: qe, showCustomBulk: ce, bulkDays: Re, BULK_PRESETS: Ie, buildPresetDays: et, openCustomBulk:
|
|
34768
|
+
}, getOriginalGroupDays: q, hasChanges: E, resetGroup: F, resetSelected: ee, selectedGroups: L, isAllSelected: O, isSomeSelected: R, toggleSelectGroup: j, toggleSelectAll: D, selectedCount: K, selectedGroupNames: te, expandedGroups: G, toggleExpanded: J, getSmartDefault: le, addTimeHours: ve, toggleDay: H, updateShiftTime: k, addShift: S, removeShift: T, getScheduleSummary: W, AVATAR_COLORS: X, getAvatarColor: se, getInitials: qe, showCustomBulk: ce, bulkDays: Re, BULK_PRESETS: Ie, buildPresetDays: et, openCustomBulk: at, applyDaysToSelected: dt, applyPresetToSelected: At, applyCustomToSelected: bt, toggleBulkDay: st, updateBulkShiftTime: Gt, addBulkShift: Jt, removeBulkShift: Pt, bulkHasSchedule: ot, get QCheckbox() {
|
|
34758
34769
|
return Qi;
|
|
34759
34770
|
}, get QBtn() {
|
|
34760
34771
|
return Tt;
|
|
@@ -34767,65 +34778,65 @@ const qm = /* @__PURE__ */ Ft(S2, [["render", J2], ["__scopeId", "data-v-40143f8
|
|
|
34767
34778
|
} };
|
|
34768
34779
|
return Object.defineProperty(z, "__isScriptSetup", { enumerable: !1, value: !0 }), z;
|
|
34769
34780
|
}
|
|
34770
|
-
}),
|
|
34781
|
+
}), X2 = ["id"], Z2 = {
|
|
34771
34782
|
key: 0,
|
|
34772
34783
|
class: "qmgs__header"
|
|
34773
|
-
},
|
|
34784
|
+
}, $2 = {
|
|
34774
34785
|
key: 0,
|
|
34775
34786
|
class: "qmgs__label"
|
|
34776
|
-
},
|
|
34787
|
+
}, eD = {
|
|
34777
34788
|
key: 0,
|
|
34778
34789
|
class: "qmgs__required"
|
|
34779
|
-
},
|
|
34790
|
+
}, tD = {
|
|
34780
34791
|
key: 1,
|
|
34781
34792
|
class: "qmgs__tz-badge"
|
|
34782
|
-
},
|
|
34793
|
+
}, nD = ["innerHTML"], iD = ["innerHTML"], rD = {
|
|
34783
34794
|
key: 1,
|
|
34784
34795
|
class: "qmgs__empty"
|
|
34785
|
-
},
|
|
34796
|
+
}, oD = {
|
|
34786
34797
|
key: 0,
|
|
34787
34798
|
class: "qmgs__select-all-row"
|
|
34788
|
-
},
|
|
34799
|
+
}, lD = { class: "qmgs__select-all-label" }, sD = { class: "qmgs__group-row" }, aD = {
|
|
34789
34800
|
key: 0,
|
|
34790
34801
|
class: "qmgs__group-check"
|
|
34791
|
-
},
|
|
34802
|
+
}, uD = ["onClick"], cD = { class: "qmgs__group-name" }, dD = { class: "qmgs__group-summary" }, fD = { class: "qmgs__day-dots" }, hD = { class: "qmgs__summary-text" }, mD = {
|
|
34792
34803
|
key: 0,
|
|
34793
34804
|
class: "qmgs__editor"
|
|
34794
|
-
},
|
|
34805
|
+
}, gD = {
|
|
34795
34806
|
key: 0,
|
|
34796
34807
|
class: "qmgs__editor-toolbar"
|
|
34797
|
-
},
|
|
34808
|
+
}, pD = ["disabled", "onClick"], vD = { class: "qmgs__shifts" }, yD = {
|
|
34798
34809
|
key: 1,
|
|
34799
34810
|
class: "qmgs__closed-label"
|
|
34800
|
-
},
|
|
34811
|
+
}, bD = {
|
|
34801
34812
|
key: 0,
|
|
34802
34813
|
class: "qmgs__bulk"
|
|
34803
|
-
},
|
|
34814
|
+
}, kD = { class: "qmgs__bulk-header" }, wD = { class: "qmgs__bulk-title" }, xD = { class: "qmgs__bulk-chips" }, SD = { class: "qmgs__bulk-presets" }, CD = ["onClick"], _D = { class: "qmgs__bulk-preset-label" }, TD = { class: "qmgs__bulk-preset-desc" }, MD = { class: "qmgs__bulk-footer" }, AD = { class: "qmgs__bulk-footer-right" }, qD = {
|
|
34804
34815
|
key: 0,
|
|
34805
34816
|
class: "qmgs__bulk-editor"
|
|
34806
|
-
},
|
|
34817
|
+
}, OD = { class: "qmgs__day-badge qmgs__day-badge--bulk" }, DD = ["onClick"], PD = { class: "qmgs__shifts" }, BD = {
|
|
34807
34818
|
key: 1,
|
|
34808
34819
|
class: "qmgs__closed-label qmgs__closed-label--bulk"
|
|
34809
|
-
},
|
|
34820
|
+
}, RD = { class: "qmgs__bulk-apply-row" }, LD = ["disabled"], ED = {
|
|
34810
34821
|
key: 3,
|
|
34811
34822
|
class: "qmgs__error"
|
|
34812
34823
|
};
|
|
34813
|
-
function
|
|
34824
|
+
function ID(n, e, t, i, r, o) {
|
|
34814
34825
|
return P(), Y("div", {
|
|
34815
34826
|
id: i.fieldId,
|
|
34816
|
-
style:
|
|
34827
|
+
style: lt({ marginBottom: i.fieldGap }),
|
|
34817
34828
|
class: "qmgs"
|
|
34818
34829
|
}, [
|
|
34819
34830
|
B(" ── Header ──────────────────────────────────────────── "),
|
|
34820
|
-
i.label && !t.hideLabel || i.hint || i.config.timezoneLabel ? (P(), Y("div",
|
|
34821
|
-
i.label && !t.hideLabel ? (P(), Y("div",
|
|
34831
|
+
i.label && !t.hideLabel || i.hint || i.config.timezoneLabel ? (P(), Y("div", Z2, [
|
|
34832
|
+
i.label && !t.hideLabel ? (P(), Y("div", $2, [
|
|
34822
34833
|
Ae(
|
|
34823
34834
|
he(i.label) + " ",
|
|
34824
34835
|
1
|
|
34825
34836
|
/* TEXT */
|
|
34826
34837
|
),
|
|
34827
|
-
i.required ? (P(), Y("span",
|
|
34828
|
-
i.config.timezoneLabel ? (P(), Y("span",
|
|
34838
|
+
i.required ? (P(), Y("span", eD, "*")) : B("v-if", !0),
|
|
34839
|
+
i.config.timezoneLabel ? (P(), Y("span", tD, [
|
|
34829
34840
|
V(i.QIcon, {
|
|
34830
34841
|
name: "schedule",
|
|
34831
34842
|
size: "11px"
|
|
@@ -34846,7 +34857,7 @@ function FD(n, e, t, i, r, o) {
|
|
|
34846
34857
|
default: U(() => [
|
|
34847
34858
|
V(i.QTooltip, null, {
|
|
34848
34859
|
default: U(() => [
|
|
34849
|
-
Z("span", { innerHTML: i.tooltip }, null, 8,
|
|
34860
|
+
Z("span", { innerHTML: i.tooltip }, null, 8, nD)
|
|
34850
34861
|
]),
|
|
34851
34862
|
_: 1
|
|
34852
34863
|
/* STABLE */
|
|
@@ -34860,10 +34871,10 @@ function FD(n, e, t, i, r, o) {
|
|
|
34860
34871
|
key: 1,
|
|
34861
34872
|
class: "qmgs__hint",
|
|
34862
34873
|
innerHTML: i.hint
|
|
34863
|
-
}, null, 8,
|
|
34874
|
+
}, null, 8, iD)) : B("v-if", !0)
|
|
34864
34875
|
])) : B("v-if", !0),
|
|
34865
34876
|
B(" ── Empty state ─────────────────────────────────────── "),
|
|
34866
|
-
i.rawGroups.length === 0 ? (P(), Y("div",
|
|
34877
|
+
i.rawGroups.length === 0 ? (P(), Y("div", rD, [
|
|
34867
34878
|
V(i.QIcon, {
|
|
34868
34879
|
name: "group_work",
|
|
34869
34880
|
size: "36px",
|
|
@@ -34888,370 +34899,379 @@ function FD(n, e, t, i, r, o) {
|
|
|
34888
34899
|
{ key: 2 },
|
|
34889
34900
|
[
|
|
34890
34901
|
B(" ── Group grid ──────────────────────────────────────── "),
|
|
34891
|
-
Z(
|
|
34892
|
-
|
|
34893
|
-
|
|
34894
|
-
|
|
34895
|
-
|
|
34896
|
-
|
|
34897
|
-
|
|
34898
|
-
|
|
34899
|
-
|
|
34900
|
-
|
|
34901
|
-
|
|
34902
|
-
|
|
34903
|
-
|
|
34904
|
-
|
|
34905
|
-
|
|
34906
|
-
|
|
34907
|
-
|
|
34908
|
-
|
|
34909
|
-
|
|
34910
|
-
|
|
34911
|
-
|
|
34912
|
-
|
|
34913
|
-
|
|
34914
|
-
|
|
34915
|
-
|
|
34916
|
-
|
|
34917
|
-
|
|
34918
|
-
|
|
34919
|
-
|
|
34920
|
-
|
|
34921
|
-
|
|
34922
|
-
|
|
34923
|
-
|
|
34924
|
-
|
|
34925
|
-
|
|
34926
|
-
|
|
34927
|
-
|
|
34928
|
-
|
|
34929
|
-
|
|
34930
|
-
|
|
34931
|
-
|
|
34932
|
-
|
|
34933
|
-
|
|
34934
|
-
|
|
34935
|
-
|
|
34936
|
-
|
|
34937
|
-
|
|
34938
|
-
|
|
34939
|
-
|
|
34940
|
-
|
|
34941
|
-
|
|
34942
|
-
|
|
34943
|
-
he(i.getInitials(l.name)),
|
|
34944
|
-
5
|
|
34945
|
-
/* TEXT, STYLE */
|
|
34946
|
-
),
|
|
34947
|
-
B(" Group info (click to expand) "),
|
|
34948
|
-
Z("div", {
|
|
34949
|
-
class: "qmgs__group-info",
|
|
34950
|
-
onClick: (a) => i.toggleExpanded(s)
|
|
34951
|
-
}, [
|
|
34902
|
+
Z(
|
|
34903
|
+
"div",
|
|
34904
|
+
{
|
|
34905
|
+
class: "qmgs__grid",
|
|
34906
|
+
style: lt(i.config.maxHeight ? { maxHeight: i.config.maxHeight, overflowY: "auto" } : void 0)
|
|
34907
|
+
},
|
|
34908
|
+
[
|
|
34909
|
+
B(" Select-all row "),
|
|
34910
|
+
!t.disabled && !t.readonly ? (P(), Y("div", oD, [
|
|
34911
|
+
V(i.QCheckbox, {
|
|
34912
|
+
"model-value": i.isAllSelected,
|
|
34913
|
+
"indeterminate-value": i.isSomeSelected ? !0 : void 0,
|
|
34914
|
+
dense: "",
|
|
34915
|
+
size: "xs",
|
|
34916
|
+
color: "primary",
|
|
34917
|
+
"onUpdate:modelValue": i.toggleSelectAll
|
|
34918
|
+
}, null, 8, ["model-value", "indeterminate-value"]),
|
|
34919
|
+
Z(
|
|
34920
|
+
"span",
|
|
34921
|
+
lD,
|
|
34922
|
+
he(i.isAllSelected ? "Deselect all" : `Select all ${i.rawGroups.length} groups`),
|
|
34923
|
+
1
|
|
34924
|
+
/* TEXT */
|
|
34925
|
+
)
|
|
34926
|
+
])) : B("v-if", !0),
|
|
34927
|
+
B(" Group rows "),
|
|
34928
|
+
(P(!0), Y(
|
|
34929
|
+
De,
|
|
34930
|
+
null,
|
|
34931
|
+
qt(i.rawGroups, (l, s) => (P(), Y(
|
|
34932
|
+
"div",
|
|
34933
|
+
{
|
|
34934
|
+
key: l.id || s,
|
|
34935
|
+
class: an(["qmgs__group", {
|
|
34936
|
+
"qmgs__group--selected": i.selectedGroups.has(s),
|
|
34937
|
+
"qmgs__group--expanded": i.expandedGroups.has(s)
|
|
34938
|
+
}])
|
|
34939
|
+
},
|
|
34940
|
+
[
|
|
34941
|
+
B(" Summary row "),
|
|
34942
|
+
Z("div", sD, [
|
|
34943
|
+
B(" Checkbox "),
|
|
34944
|
+
!t.disabled && !t.readonly ? (P(), Y("div", aD, [
|
|
34945
|
+
V(i.QCheckbox, {
|
|
34946
|
+
"model-value": i.selectedGroups.has(s),
|
|
34947
|
+
dense: "",
|
|
34948
|
+
size: "xs",
|
|
34949
|
+
color: "primary",
|
|
34950
|
+
"onUpdate:modelValue": (a) => i.toggleSelectGroup(s)
|
|
34951
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
34952
|
+
])) : B("v-if", !0),
|
|
34953
|
+
B(" Avatar "),
|
|
34952
34954
|
Z(
|
|
34953
34955
|
"div",
|
|
34954
|
-
|
|
34955
|
-
|
|
34956
|
-
|
|
34957
|
-
|
|
34956
|
+
{
|
|
34957
|
+
class: "qmgs__avatar",
|
|
34958
|
+
style: lt({ background: i.getAvatarColor(l.name) })
|
|
34959
|
+
},
|
|
34960
|
+
he(i.getInitials(l.name)),
|
|
34961
|
+
5
|
|
34962
|
+
/* TEXT, STYLE */
|
|
34958
34963
|
),
|
|
34959
|
-
|
|
34960
|
-
|
|
34961
|
-
|
|
34962
|
-
|
|
34963
|
-
|
|
34964
|
-
null,
|
|
34965
|
-
qt(i.groupDays[s], (a) => (P(), Y(
|
|
34966
|
-
"span",
|
|
34967
|
-
{
|
|
34968
|
-
key: a.day,
|
|
34969
|
-
class: an([
|
|
34970
|
-
"qmgs__day-dot",
|
|
34971
|
-
a.open ? "qmgs__day-dot--open" : "qmgs__day-dot--closed"
|
|
34972
|
-
])
|
|
34973
|
-
},
|
|
34974
|
-
[
|
|
34975
|
-
V(
|
|
34976
|
-
i.QTooltip,
|
|
34977
|
-
null,
|
|
34978
|
-
{
|
|
34979
|
-
default: U(() => [
|
|
34980
|
-
Z(
|
|
34981
|
-
"strong",
|
|
34982
|
-
null,
|
|
34983
|
-
he(i.DAY_META[a.day].label),
|
|
34984
|
-
1
|
|
34985
|
-
/* TEXT */
|
|
34986
|
-
),
|
|
34987
|
-
a.open ? (P(), Y(
|
|
34988
|
-
De,
|
|
34989
|
-
{ key: 0 },
|
|
34990
|
-
[
|
|
34991
|
-
e[3] || (e[3] = Z(
|
|
34992
|
-
"br",
|
|
34993
|
-
null,
|
|
34994
|
-
null,
|
|
34995
|
-
-1
|
|
34996
|
-
/* CACHED */
|
|
34997
|
-
)),
|
|
34998
|
-
Ae(
|
|
34999
|
-
he(a.shifts.map((u) => `${u.startTime} – ${u.endTime}`).join(", ")),
|
|
35000
|
-
1
|
|
35001
|
-
/* TEXT */
|
|
35002
|
-
)
|
|
35003
|
-
],
|
|
35004
|
-
64
|
|
35005
|
-
/* STABLE_FRAGMENT */
|
|
35006
|
-
)) : (P(), Y(
|
|
35007
|
-
De,
|
|
35008
|
-
{ key: 1 },
|
|
35009
|
-
[
|
|
35010
|
-
e[4] || (e[4] = Z(
|
|
35011
|
-
"br",
|
|
35012
|
-
null,
|
|
35013
|
-
null,
|
|
35014
|
-
-1
|
|
35015
|
-
/* CACHED */
|
|
35016
|
-
)),
|
|
35017
|
-
e[5] || (e[5] = Ae(
|
|
35018
|
-
"Closed",
|
|
35019
|
-
-1
|
|
35020
|
-
/* CACHED */
|
|
35021
|
-
))
|
|
35022
|
-
],
|
|
35023
|
-
64
|
|
35024
|
-
/* STABLE_FRAGMENT */
|
|
35025
|
-
))
|
|
35026
|
-
]),
|
|
35027
|
-
_: 2
|
|
35028
|
-
/* DYNAMIC */
|
|
35029
|
-
},
|
|
35030
|
-
1024
|
|
35031
|
-
/* DYNAMIC_SLOTS */
|
|
35032
|
-
)
|
|
35033
|
-
],
|
|
35034
|
-
2
|
|
35035
|
-
/* CLASS */
|
|
35036
|
-
))),
|
|
35037
|
-
128
|
|
35038
|
-
/* KEYED_FRAGMENT */
|
|
35039
|
-
))
|
|
35040
|
-
]),
|
|
35041
|
-
B(" Schedule summary text "),
|
|
34964
|
+
B(" Group info (click to expand) "),
|
|
34965
|
+
Z("div", {
|
|
34966
|
+
class: "qmgs__group-info",
|
|
34967
|
+
onClick: (a) => i.toggleExpanded(s)
|
|
34968
|
+
}, [
|
|
35042
34969
|
Z(
|
|
35043
|
-
"
|
|
35044
|
-
|
|
35045
|
-
he(
|
|
34970
|
+
"div",
|
|
34971
|
+
cD,
|
|
34972
|
+
he(l.name),
|
|
35046
34973
|
1
|
|
35047
34974
|
/* TEXT */
|
|
35048
|
-
)
|
|
35049
|
-
|
|
35050
|
-
|
|
35051
|
-
|
|
35052
|
-
|
|
35053
|
-
|
|
35054
|
-
|
|
35055
|
-
|
|
35056
|
-
|
|
35057
|
-
size: "sm",
|
|
35058
|
-
icon: i.expandedGroups.has(s) ? "expand_less" : "edit_calendar",
|
|
35059
|
-
color: "grey-5",
|
|
35060
|
-
class: "qmgs__expand-btn",
|
|
35061
|
-
onClick: (a) => i.toggleExpanded(s)
|
|
35062
|
-
}, {
|
|
35063
|
-
default: U(() => [
|
|
35064
|
-
V(
|
|
35065
|
-
i.QTooltip,
|
|
35066
|
-
null,
|
|
35067
|
-
{
|
|
35068
|
-
default: U(() => [
|
|
35069
|
-
Ae(
|
|
35070
|
-
he(i.expandedGroups.has(s) ? "Collapse" : "Edit schedule"),
|
|
35071
|
-
1
|
|
35072
|
-
/* TEXT */
|
|
35073
|
-
)
|
|
35074
|
-
]),
|
|
35075
|
-
_: 2
|
|
35076
|
-
/* DYNAMIC */
|
|
35077
|
-
},
|
|
35078
|
-
1024
|
|
35079
|
-
/* DYNAMIC_SLOTS */
|
|
35080
|
-
)
|
|
35081
|
-
]),
|
|
35082
|
-
_: 2
|
|
35083
|
-
/* DYNAMIC */
|
|
35084
|
-
}, 1032, ["icon", "onClick"])) : B("v-if", !0)
|
|
35085
|
-
]),
|
|
35086
|
-
B(" Inline schedule editor (accordion) "),
|
|
35087
|
-
V(
|
|
35088
|
-
ln,
|
|
35089
|
-
{ name: "qmgs-expand" },
|
|
35090
|
-
{
|
|
35091
|
-
default: U(() => [
|
|
35092
|
-
i.expandedGroups.has(s) ? (P(), Y("div", pD, [
|
|
35093
|
-
!t.disabled && !t.readonly && i.hasChanges(s) ? (P(), Y("div", vD, [
|
|
35094
|
-
V(i.QBtn, {
|
|
35095
|
-
flat: "",
|
|
35096
|
-
dense: "",
|
|
35097
|
-
"no-caps": "",
|
|
35098
|
-
size: "xs",
|
|
35099
|
-
icon: "history",
|
|
35100
|
-
label: "Reset to original",
|
|
35101
|
-
color: "grey-6",
|
|
35102
|
-
onClick: (a) => i.resetGroup(s)
|
|
35103
|
-
}, {
|
|
35104
|
-
default: U(() => [
|
|
35105
|
-
V(i.QTooltip, null, {
|
|
35106
|
-
default: U(() => [...e[6] || (e[6] = [
|
|
35107
|
-
Ae(
|
|
35108
|
-
"Restore this group's schedule to what was loaded from UCCE",
|
|
35109
|
-
-1
|
|
35110
|
-
/* CACHED */
|
|
35111
|
-
)
|
|
35112
|
-
])]),
|
|
35113
|
-
_: 1
|
|
35114
|
-
/* STABLE */
|
|
35115
|
-
})
|
|
35116
|
-
]),
|
|
35117
|
-
_: 1
|
|
35118
|
-
/* STABLE */
|
|
35119
|
-
}, 8, ["onClick"])
|
|
35120
|
-
])) : B("v-if", !0),
|
|
35121
|
-
(P(!0), Y(
|
|
35122
|
-
De,
|
|
35123
|
-
null,
|
|
35124
|
-
qt(i.groupDays[s], (a, u) => (P(), Y("div", {
|
|
35125
|
-
key: a.day,
|
|
35126
|
-
class: "qmgs__editor-row"
|
|
35127
|
-
}, [
|
|
35128
|
-
B(" Day badge "),
|
|
35129
|
-
Z(
|
|
35130
|
-
"div",
|
|
34975
|
+
),
|
|
34976
|
+
Z("div", dD, [
|
|
34977
|
+
B(" Day dots: 7 circles, colored if open "),
|
|
34978
|
+
Z("div", fD, [
|
|
34979
|
+
(P(!0), Y(
|
|
34980
|
+
De,
|
|
34981
|
+
null,
|
|
34982
|
+
qt(i.groupDays[s], (a) => (P(), Y(
|
|
34983
|
+
"span",
|
|
35131
34984
|
{
|
|
34985
|
+
key: a.day,
|
|
35132
34986
|
class: an([
|
|
35133
|
-
"qmgs__day-
|
|
35134
|
-
|
|
34987
|
+
"qmgs__day-dot",
|
|
34988
|
+
a.open ? "qmgs__day-dot--open" : "qmgs__day-dot--closed"
|
|
35135
34989
|
])
|
|
35136
34990
|
},
|
|
35137
|
-
|
|
35138
|
-
|
|
35139
|
-
|
|
35140
|
-
|
|
35141
|
-
|
|
35142
|
-
|
|
35143
|
-
|
|
35144
|
-
|
|
35145
|
-
|
|
35146
|
-
|
|
35147
|
-
|
|
35148
|
-
|
|
35149
|
-
|
|
35150
|
-
|
|
35151
|
-
|
|
35152
|
-
|
|
35153
|
-
|
|
35154
|
-
|
|
35155
|
-
|
|
35156
|
-
|
|
35157
|
-
|
|
35158
|
-
|
|
35159
|
-
|
|
35160
|
-
|
|
34991
|
+
[
|
|
34992
|
+
V(
|
|
34993
|
+
i.QTooltip,
|
|
34994
|
+
null,
|
|
34995
|
+
{
|
|
34996
|
+
default: U(() => [
|
|
34997
|
+
Z(
|
|
34998
|
+
"strong",
|
|
34999
|
+
null,
|
|
35000
|
+
he(i.DAY_META[a.day].label),
|
|
35001
|
+
1
|
|
35002
|
+
/* TEXT */
|
|
35003
|
+
),
|
|
35004
|
+
a.open ? (P(), Y(
|
|
35005
|
+
De,
|
|
35006
|
+
{ key: 0 },
|
|
35007
|
+
[
|
|
35008
|
+
e[3] || (e[3] = Z(
|
|
35009
|
+
"br",
|
|
35010
|
+
null,
|
|
35011
|
+
null,
|
|
35012
|
+
-1
|
|
35013
|
+
/* CACHED */
|
|
35014
|
+
)),
|
|
35015
|
+
Ae(
|
|
35016
|
+
he(a.shifts.map((u) => `${u.startTime} – ${u.endTime}`).join(", ")),
|
|
35017
|
+
1
|
|
35018
|
+
/* TEXT */
|
|
35019
|
+
)
|
|
35020
|
+
],
|
|
35021
|
+
64
|
|
35022
|
+
/* STABLE_FRAGMENT */
|
|
35023
|
+
)) : (P(), Y(
|
|
35024
|
+
De,
|
|
35025
|
+
{ key: 1 },
|
|
35026
|
+
[
|
|
35027
|
+
e[4] || (e[4] = Z(
|
|
35028
|
+
"br",
|
|
35029
|
+
null,
|
|
35030
|
+
null,
|
|
35031
|
+
-1
|
|
35032
|
+
/* CACHED */
|
|
35033
|
+
)),
|
|
35034
|
+
e[5] || (e[5] = Ae(
|
|
35035
|
+
"Closed",
|
|
35036
|
+
-1
|
|
35037
|
+
/* CACHED */
|
|
35038
|
+
))
|
|
35039
|
+
],
|
|
35040
|
+
64
|
|
35041
|
+
/* STABLE_FRAGMENT */
|
|
35042
|
+
))
|
|
35043
|
+
]),
|
|
35044
|
+
_: 2
|
|
35045
|
+
/* DYNAMIC */
|
|
35046
|
+
},
|
|
35047
|
+
1024
|
|
35048
|
+
/* DYNAMIC_SLOTS */
|
|
35049
|
+
)
|
|
35050
|
+
],
|
|
35051
|
+
2
|
|
35052
|
+
/* CLASS */
|
|
35053
|
+
))),
|
|
35054
|
+
128
|
|
35055
|
+
/* KEYED_FRAGMENT */
|
|
35056
|
+
))
|
|
35057
|
+
]),
|
|
35058
|
+
B(" Schedule summary text "),
|
|
35059
|
+
Z(
|
|
35060
|
+
"span",
|
|
35061
|
+
hD,
|
|
35062
|
+
he(i.getScheduleSummary(i.groupDays[s])),
|
|
35063
|
+
1
|
|
35064
|
+
/* TEXT */
|
|
35065
|
+
)
|
|
35066
|
+
])
|
|
35067
|
+
], 8, uD),
|
|
35068
|
+
B(" Expand button "),
|
|
35069
|
+
!t.disabled && !t.readonly ? (P(), Be(i.QBtn, {
|
|
35070
|
+
key: 1,
|
|
35071
|
+
flat: "",
|
|
35072
|
+
round: "",
|
|
35073
|
+
dense: "",
|
|
35074
|
+
size: "sm",
|
|
35075
|
+
icon: i.expandedGroups.has(s) ? "expand_less" : "edit_calendar",
|
|
35076
|
+
color: "grey-5",
|
|
35077
|
+
class: "qmgs__expand-btn",
|
|
35078
|
+
onClick: (a) => i.toggleExpanded(s)
|
|
35079
|
+
}, {
|
|
35080
|
+
default: U(() => [
|
|
35081
|
+
V(
|
|
35082
|
+
i.QTooltip,
|
|
35083
|
+
null,
|
|
35084
|
+
{
|
|
35085
|
+
default: U(() => [
|
|
35086
|
+
Ae(
|
|
35087
|
+
he(i.expandedGroups.has(s) ? "Collapse" : "Edit schedule"),
|
|
35161
35088
|
1
|
|
35162
35089
|
/* TEXT */
|
|
35163
35090
|
)
|
|
35164
|
-
]
|
|
35165
|
-
|
|
35166
|
-
|
|
35167
|
-
|
|
35168
|
-
|
|
35169
|
-
|
|
35170
|
-
|
|
35171
|
-
|
|
35172
|
-
|
|
35173
|
-
|
|
35174
|
-
|
|
35175
|
-
|
|
35176
|
-
|
|
35177
|
-
|
|
35178
|
-
|
|
35179
|
-
|
|
35180
|
-
|
|
35181
|
-
|
|
35182
|
-
|
|
35183
|
-
|
|
35184
|
-
|
|
35185
|
-
|
|
35186
|
-
|
|
35187
|
-
|
|
35188
|
-
|
|
35189
|
-
|
|
35190
|
-
|
|
35191
|
-
|
|
35192
|
-
|
|
35193
|
-
|
|
35194
|
-
|
|
35195
|
-
|
|
35196
|
-
|
|
35197
|
-
|
|
35198
|
-
|
|
35199
|
-
|
|
35200
|
-
|
|
35201
|
-
|
|
35202
|
-
|
|
35203
|
-
|
|
35204
|
-
|
|
35205
|
-
|
|
35206
|
-
|
|
35207
|
-
|
|
35208
|
-
|
|
35209
|
-
|
|
35210
|
-
|
|
35211
|
-
|
|
35212
|
-
|
|
35213
|
-
|
|
35214
|
-
|
|
35215
|
-
|
|
35216
|
-
|
|
35217
|
-
|
|
35218
|
-
|
|
35219
|
-
|
|
35220
|
-
|
|
35221
|
-
|
|
35222
|
-
|
|
35223
|
-
|
|
35224
|
-
|
|
35225
|
-
|
|
35226
|
-
|
|
35227
|
-
|
|
35228
|
-
|
|
35229
|
-
|
|
35230
|
-
|
|
35231
|
-
|
|
35232
|
-
|
|
35233
|
-
|
|
35234
|
-
|
|
35235
|
-
|
|
35236
|
-
|
|
35237
|
-
|
|
35238
|
-
|
|
35239
|
-
|
|
35240
|
-
|
|
35241
|
-
|
|
35242
|
-
|
|
35243
|
-
|
|
35244
|
-
|
|
35245
|
-
|
|
35246
|
-
|
|
35247
|
-
|
|
35248
|
-
|
|
35249
|
-
|
|
35250
|
-
|
|
35251
|
-
|
|
35252
|
-
|
|
35253
|
-
|
|
35254
|
-
|
|
35091
|
+
]),
|
|
35092
|
+
_: 2
|
|
35093
|
+
/* DYNAMIC */
|
|
35094
|
+
},
|
|
35095
|
+
1024
|
|
35096
|
+
/* DYNAMIC_SLOTS */
|
|
35097
|
+
)
|
|
35098
|
+
]),
|
|
35099
|
+
_: 2
|
|
35100
|
+
/* DYNAMIC */
|
|
35101
|
+
}, 1032, ["icon", "onClick"])) : B("v-if", !0)
|
|
35102
|
+
]),
|
|
35103
|
+
B(" Inline schedule editor (accordion) "),
|
|
35104
|
+
V(
|
|
35105
|
+
ln,
|
|
35106
|
+
{ name: "qmgs-expand" },
|
|
35107
|
+
{
|
|
35108
|
+
default: U(() => [
|
|
35109
|
+
i.expandedGroups.has(s) ? (P(), Y("div", mD, [
|
|
35110
|
+
!t.disabled && !t.readonly && i.hasChanges(s) ? (P(), Y("div", gD, [
|
|
35111
|
+
V(i.QBtn, {
|
|
35112
|
+
flat: "",
|
|
35113
|
+
dense: "",
|
|
35114
|
+
"no-caps": "",
|
|
35115
|
+
size: "xs",
|
|
35116
|
+
icon: "history",
|
|
35117
|
+
label: "Reset to original",
|
|
35118
|
+
color: "grey-6",
|
|
35119
|
+
onClick: (a) => i.resetGroup(s)
|
|
35120
|
+
}, {
|
|
35121
|
+
default: U(() => [
|
|
35122
|
+
V(i.QTooltip, null, {
|
|
35123
|
+
default: U(() => [...e[6] || (e[6] = [
|
|
35124
|
+
Ae(
|
|
35125
|
+
"Restore this group's schedule to what was loaded from UCCE",
|
|
35126
|
+
-1
|
|
35127
|
+
/* CACHED */
|
|
35128
|
+
)
|
|
35129
|
+
])]),
|
|
35130
|
+
_: 1
|
|
35131
|
+
/* STABLE */
|
|
35132
|
+
})
|
|
35133
|
+
]),
|
|
35134
|
+
_: 1
|
|
35135
|
+
/* STABLE */
|
|
35136
|
+
}, 8, ["onClick"])
|
|
35137
|
+
])) : B("v-if", !0),
|
|
35138
|
+
(P(!0), Y(
|
|
35139
|
+
De,
|
|
35140
|
+
null,
|
|
35141
|
+
qt(i.groupDays[s], (a, u) => (P(), Y("div", {
|
|
35142
|
+
key: a.day,
|
|
35143
|
+
class: "qmgs__editor-row"
|
|
35144
|
+
}, [
|
|
35145
|
+
B(" Day badge "),
|
|
35146
|
+
Z(
|
|
35147
|
+
"div",
|
|
35148
|
+
{
|
|
35149
|
+
class: an([
|
|
35150
|
+
"qmgs__day-badge",
|
|
35151
|
+
i.DAY_META[a.day].weekend ? "qmgs__day-badge--weekend" : "qmgs__day-badge--weekday"
|
|
35152
|
+
])
|
|
35153
|
+
},
|
|
35154
|
+
he(i.DAY_META[a.day].abbr),
|
|
35155
|
+
3
|
|
35156
|
+
/* TEXT, CLASS */
|
|
35157
|
+
),
|
|
35158
|
+
B(" Toggle pill "),
|
|
35159
|
+
Z("button", {
|
|
35160
|
+
class: an([
|
|
35161
|
+
"qmgs__toggle",
|
|
35162
|
+
a.open ? "qmgs__toggle--open" : "qmgs__toggle--closed"
|
|
35163
|
+
]),
|
|
35164
|
+
disabled: t.disabled || t.readonly,
|
|
35165
|
+
onClick: (c) => i.toggleDay(s, u)
|
|
35166
|
+
}, [
|
|
35167
|
+
e[7] || (e[7] = Z(
|
|
35168
|
+
"span",
|
|
35169
|
+
{ class: "qmgs__toggle-dot" },
|
|
35170
|
+
null,
|
|
35171
|
+
-1
|
|
35172
|
+
/* CACHED */
|
|
35173
|
+
)),
|
|
35174
|
+
Z(
|
|
35175
|
+
"span",
|
|
35176
|
+
null,
|
|
35177
|
+
he(a.open ? "Open" : "Closed"),
|
|
35178
|
+
1
|
|
35179
|
+
/* TEXT */
|
|
35180
|
+
)
|
|
35181
|
+
], 10, pD),
|
|
35182
|
+
B(" Shifts "),
|
|
35183
|
+
Z("div", vD, [
|
|
35184
|
+
a.open ? (P(), Y(
|
|
35185
|
+
De,
|
|
35186
|
+
{ key: 0 },
|
|
35187
|
+
[
|
|
35188
|
+
(P(!0), Y(
|
|
35189
|
+
De,
|
|
35190
|
+
null,
|
|
35191
|
+
qt(a.shifts, (c, d) => (P(), Y("div", {
|
|
35192
|
+
key: d,
|
|
35193
|
+
class: "qmgs__shift"
|
|
35194
|
+
}, [
|
|
35195
|
+
V(i.QInput, {
|
|
35196
|
+
"model-value": c.startTime,
|
|
35197
|
+
type: "time",
|
|
35198
|
+
dense: "",
|
|
35199
|
+
borderless: "",
|
|
35200
|
+
class: "qmgs__time-input",
|
|
35201
|
+
readonly: t.disabled || t.readonly,
|
|
35202
|
+
disable: t.disabled,
|
|
35203
|
+
"onUpdate:modelValue": (f) => i.updateShiftTime(s, u, d, "startTime", f)
|
|
35204
|
+
}, null, 8, ["model-value", "readonly", "disable", "onUpdate:modelValue"]),
|
|
35205
|
+
V(i.QIcon, {
|
|
35206
|
+
name: "arrow_forward",
|
|
35207
|
+
size: "13px",
|
|
35208
|
+
color: "grey-4"
|
|
35209
|
+
}),
|
|
35210
|
+
V(i.QInput, {
|
|
35211
|
+
"model-value": c.endTime,
|
|
35212
|
+
type: "time",
|
|
35213
|
+
dense: "",
|
|
35214
|
+
borderless: "",
|
|
35215
|
+
class: "qmgs__time-input",
|
|
35216
|
+
readonly: t.disabled || t.readonly,
|
|
35217
|
+
disable: t.disabled,
|
|
35218
|
+
"onUpdate:modelValue": (f) => i.updateShiftTime(s, u, d, "endTime", f)
|
|
35219
|
+
}, null, 8, ["model-value", "readonly", "disable", "onUpdate:modelValue"]),
|
|
35220
|
+
!t.disabled && !t.readonly && a.shifts.length > 1 ? (P(), Be(i.QBtn, {
|
|
35221
|
+
key: 0,
|
|
35222
|
+
flat: "",
|
|
35223
|
+
round: "",
|
|
35224
|
+
dense: "",
|
|
35225
|
+
size: "xs",
|
|
35226
|
+
icon: "close",
|
|
35227
|
+
color: "grey-4",
|
|
35228
|
+
class: "qmgs__shift-remove",
|
|
35229
|
+
onClick: (f) => i.removeShift(s, u, d)
|
|
35230
|
+
}, null, 8, ["onClick"])) : B("v-if", !0)
|
|
35231
|
+
]))),
|
|
35232
|
+
128
|
|
35233
|
+
/* KEYED_FRAGMENT */
|
|
35234
|
+
)),
|
|
35235
|
+
!t.disabled && !t.readonly && i.config.allowMultipleShifts ? (P(), Be(i.QBtn, {
|
|
35236
|
+
key: 0,
|
|
35237
|
+
flat: "",
|
|
35238
|
+
dense: "",
|
|
35239
|
+
"no-caps": "",
|
|
35240
|
+
size: "xs",
|
|
35241
|
+
icon: "add",
|
|
35242
|
+
label: "Add shift",
|
|
35243
|
+
color: "primary",
|
|
35244
|
+
class: "qmgs__add-shift",
|
|
35245
|
+
onClick: (c) => i.addShift(s, u)
|
|
35246
|
+
}, null, 8, ["onClick"])) : B("v-if", !0)
|
|
35247
|
+
],
|
|
35248
|
+
64
|
|
35249
|
+
/* STABLE_FRAGMENT */
|
|
35250
|
+
)) : (P(), Y("span", yD, "—"))
|
|
35251
|
+
])
|
|
35252
|
+
]))),
|
|
35253
|
+
128
|
|
35254
|
+
/* KEYED_FRAGMENT */
|
|
35255
|
+
))
|
|
35256
|
+
])) : B("v-if", !0)
|
|
35257
|
+
]),
|
|
35258
|
+
_: 2
|
|
35259
|
+
/* DYNAMIC */
|
|
35260
|
+
},
|
|
35261
|
+
1024
|
|
35262
|
+
/* DYNAMIC_SLOTS */
|
|
35263
|
+
)
|
|
35264
|
+
],
|
|
35265
|
+
2
|
|
35266
|
+
/* CLASS */
|
|
35267
|
+
))),
|
|
35268
|
+
128
|
|
35269
|
+
/* KEYED_FRAGMENT */
|
|
35270
|
+
))
|
|
35271
|
+
],
|
|
35272
|
+
4
|
|
35273
|
+
/* STYLE */
|
|
35274
|
+
)
|
|
35255
35275
|
],
|
|
35256
35276
|
2112
|
|
35257
35277
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -35259,10 +35279,10 @@ function FD(n, e, t, i, r, o) {
|
|
|
35259
35279
|
B(" ── Bulk panel ──────────────────────────────────────── "),
|
|
35260
35280
|
V(ln, { name: "qmgs-bulk" }, {
|
|
35261
35281
|
default: U(() => [
|
|
35262
|
-
i.selectedCount > 0 && !t.disabled && !t.readonly ? (P(), Y("div",
|
|
35282
|
+
i.selectedCount > 0 && !t.disabled && !t.readonly ? (P(), Y("div", bD, [
|
|
35263
35283
|
B(" Header: count + group name chips "),
|
|
35264
|
-
Z("div",
|
|
35265
|
-
Z("div",
|
|
35284
|
+
Z("div", kD, [
|
|
35285
|
+
Z("div", wD, [
|
|
35266
35286
|
V(i.QIcon, {
|
|
35267
35287
|
name: "tune",
|
|
35268
35288
|
size: "15px"
|
|
@@ -35275,7 +35295,7 @@ function FD(n, e, t, i, r, o) {
|
|
|
35275
35295
|
/* TEXT */
|
|
35276
35296
|
)
|
|
35277
35297
|
]),
|
|
35278
|
-
Z("div",
|
|
35298
|
+
Z("div", xD, [
|
|
35279
35299
|
(P(!0), Y(
|
|
35280
35300
|
De,
|
|
35281
35301
|
null,
|
|
@@ -35295,7 +35315,7 @@ function FD(n, e, t, i, r, o) {
|
|
|
35295
35315
|
])
|
|
35296
35316
|
]),
|
|
35297
35317
|
B(" Quick preset tiles "),
|
|
35298
|
-
Z("div",
|
|
35318
|
+
Z("div", SD, [
|
|
35299
35319
|
(P(), Y(
|
|
35300
35320
|
De,
|
|
35301
35321
|
null,
|
|
@@ -35310,25 +35330,25 @@ function FD(n, e, t, i, r, o) {
|
|
|
35310
35330
|
}, null, 8, ["name"]),
|
|
35311
35331
|
Z(
|
|
35312
35332
|
"span",
|
|
35313
|
-
|
|
35333
|
+
_D,
|
|
35314
35334
|
he(l.label),
|
|
35315
35335
|
1
|
|
35316
35336
|
/* TEXT */
|
|
35317
35337
|
),
|
|
35318
35338
|
Z(
|
|
35319
35339
|
"span",
|
|
35320
|
-
|
|
35340
|
+
TD,
|
|
35321
35341
|
he(l.description),
|
|
35322
35342
|
1
|
|
35323
35343
|
/* TEXT */
|
|
35324
35344
|
)
|
|
35325
|
-
], 10,
|
|
35345
|
+
], 10, CD)),
|
|
35326
35346
|
64
|
|
35327
35347
|
/* STABLE_FRAGMENT */
|
|
35328
35348
|
))
|
|
35329
35349
|
]),
|
|
35330
35350
|
B(" Custom hours toggle + reset + deselect "),
|
|
35331
|
-
Z("div",
|
|
35351
|
+
Z("div", MD, [
|
|
35332
35352
|
Z(
|
|
35333
35353
|
"button",
|
|
35334
35354
|
{
|
|
@@ -35349,7 +35369,7 @@ function FD(n, e, t, i, r, o) {
|
|
|
35349
35369
|
2
|
|
35350
35370
|
/* CLASS */
|
|
35351
35371
|
),
|
|
35352
|
-
Z("div",
|
|
35372
|
+
Z("div", AD, [
|
|
35353
35373
|
Z("button", {
|
|
35354
35374
|
class: "qmgs__bulk-reset",
|
|
35355
35375
|
onClick: i.resetSelected
|
|
@@ -35386,7 +35406,7 @@ function FD(n, e, t, i, r, o) {
|
|
|
35386
35406
|
B(" Custom hours editor "),
|
|
35387
35407
|
V(ln, { name: "qmgs-expand" }, {
|
|
35388
35408
|
default: U(() => [
|
|
35389
|
-
i.showCustomBulk ? (P(), Y("div",
|
|
35409
|
+
i.showCustomBulk ? (P(), Y("div", qD, [
|
|
35390
35410
|
(P(!0), Y(
|
|
35391
35411
|
De,
|
|
35392
35412
|
null,
|
|
@@ -35396,7 +35416,7 @@ function FD(n, e, t, i, r, o) {
|
|
|
35396
35416
|
}, [
|
|
35397
35417
|
Z(
|
|
35398
35418
|
"div",
|
|
35399
|
-
|
|
35419
|
+
OD,
|
|
35400
35420
|
he(i.DAY_META[l.day].abbr),
|
|
35401
35421
|
1
|
|
35402
35422
|
/* TEXT */
|
|
@@ -35422,8 +35442,8 @@ function FD(n, e, t, i, r, o) {
|
|
|
35422
35442
|
1
|
|
35423
35443
|
/* TEXT */
|
|
35424
35444
|
)
|
|
35425
|
-
], 10,
|
|
35426
|
-
Z("div",
|
|
35445
|
+
], 10, DD),
|
|
35446
|
+
Z("div", PD, [
|
|
35427
35447
|
l.open ? (P(), Y(
|
|
35428
35448
|
De,
|
|
35429
35449
|
{ key: 0 },
|
|
@@ -35484,18 +35504,18 @@ function FD(n, e, t, i, r, o) {
|
|
|
35484
35504
|
],
|
|
35485
35505
|
64
|
|
35486
35506
|
/* STABLE_FRAGMENT */
|
|
35487
|
-
)) : (P(), Y("span",
|
|
35507
|
+
)) : (P(), Y("span", BD, " — "))
|
|
35488
35508
|
])
|
|
35489
35509
|
]))),
|
|
35490
35510
|
128
|
|
35491
35511
|
/* KEYED_FRAGMENT */
|
|
35492
35512
|
)),
|
|
35493
|
-
Z("div",
|
|
35513
|
+
Z("div", RD, [
|
|
35494
35514
|
Z("button", {
|
|
35495
35515
|
class: "qmgs__bulk-apply",
|
|
35496
35516
|
disabled: !i.bulkHasSchedule,
|
|
35497
35517
|
onClick: i.applyCustomToSelected
|
|
35498
|
-
}, " Apply to " + he(i.selectedCount) + " " + he(i.selectedCount === 1 ? "group" : "groups"), 9,
|
|
35518
|
+
}, " Apply to " + he(i.selectedCount) + " " + he(i.selectedCount === 1 ? "group" : "groups"), 9, LD)
|
|
35499
35519
|
])
|
|
35500
35520
|
])) : B("v-if", !0)
|
|
35501
35521
|
]),
|
|
@@ -35510,15 +35530,15 @@ function FD(n, e, t, i, r, o) {
|
|
|
35510
35530
|
B(" ── Error ───────────────────────────────────────────── "),
|
|
35511
35531
|
i.errorMessage ? (P(), Y(
|
|
35512
35532
|
"div",
|
|
35513
|
-
|
|
35533
|
+
ED,
|
|
35514
35534
|
he(i.errorMessage),
|
|
35515
35535
|
1
|
|
35516
35536
|
/* TEXT */
|
|
35517
35537
|
)) : B("v-if", !0)
|
|
35518
|
-
], 12,
|
|
35538
|
+
], 12, X2);
|
|
35519
35539
|
}
|
|
35520
|
-
const
|
|
35521
|
-
function
|
|
35540
|
+
const VD = /* @__PURE__ */ Ft(J2, [["render", ID], ["__scopeId", "data-v-5c4670e7"], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarMultiGroupScheduleField.vue"]]);
|
|
35541
|
+
function UD() {
|
|
35522
35542
|
const n = new $0();
|
|
35523
35543
|
return n.register(
|
|
35524
35544
|
"hidden",
|
|
@@ -35594,7 +35614,7 @@ function YD() {
|
|
|
35594
35614
|
(e) => Xe(50, Nt("weekly-schedule")(e))
|
|
35595
35615
|
), n.register(
|
|
35596
35616
|
"multi-group-schedule",
|
|
35597
|
-
|
|
35617
|
+
VD,
|
|
35598
35618
|
(e) => Xe(50, Nt("multi-group-schedule")(e))
|
|
35599
35619
|
), n.register("weekly-schedule-auto", qm, (e) => pl(e) ? Xe(7, e["x-schedule"] !== void 0) : -1), n.register("table", Am, (e) => {
|
|
35600
35620
|
if (!pl(e)) return -1;
|
|
@@ -35669,7 +35689,7 @@ function YD() {
|
|
|
35669
35689
|
), n;
|
|
35670
35690
|
}
|
|
35671
35691
|
export {
|
|
35672
|
-
|
|
35692
|
+
GD as ComponentRegistry,
|
|
35673
35693
|
Y0 as OPERATORS,
|
|
35674
35694
|
wq as QuasarAllOfField,
|
|
35675
35695
|
yf as QuasarArrayField,
|
|
@@ -35681,7 +35701,7 @@ export {
|
|
|
35681
35701
|
oO as QuasarJsonLogicBuilderField,
|
|
35682
35702
|
bf as QuasarKeyValueField,
|
|
35683
35703
|
GA as QuasarMultiEnumField,
|
|
35684
|
-
|
|
35704
|
+
VD as QuasarMultiGroupScheduleField,
|
|
35685
35705
|
gO as QuasarNativeDateField,
|
|
35686
35706
|
_O as QuasarNativeDateTimeField,
|
|
35687
35707
|
Nd as QuasarNumberField,
|
|
@@ -35692,51 +35712,51 @@ export {
|
|
|
35692
35712
|
cO as QuasarTagsField,
|
|
35693
35713
|
gf as QuasarTimeField,
|
|
35694
35714
|
qm as QuasarWeeklyScheduleField,
|
|
35695
|
-
|
|
35696
|
-
|
|
35715
|
+
JD as SchemaUtils,
|
|
35716
|
+
XD as and,
|
|
35697
35717
|
ur as createEmptyCondition,
|
|
35698
35718
|
Mq as createEmptyGroup,
|
|
35699
35719
|
Cm as createEmptyRoot,
|
|
35700
|
-
|
|
35720
|
+
UD as createQuasarRegistry,
|
|
35701
35721
|
Sm as fromJsonLogic,
|
|
35702
35722
|
hn as generateConditionId,
|
|
35703
35723
|
qb as getFieldGapStyle,
|
|
35704
35724
|
xq as getOperatorInfo,
|
|
35705
|
-
|
|
35706
|
-
|
|
35707
|
-
|
|
35708
|
-
|
|
35709
|
-
|
|
35710
|
-
|
|
35711
|
-
|
|
35725
|
+
ZD as hasAllOf,
|
|
35726
|
+
$D as hasAnyOf,
|
|
35727
|
+
eP as hasConditional,
|
|
35728
|
+
tP as hasConst,
|
|
35729
|
+
nP as hasExtension,
|
|
35730
|
+
iP as hasFormat,
|
|
35731
|
+
rP as hasOneOf,
|
|
35712
35732
|
zk as inferType,
|
|
35713
|
-
|
|
35714
|
-
|
|
35715
|
-
|
|
35716
|
-
|
|
35717
|
-
|
|
35718
|
-
|
|
35719
|
-
|
|
35720
|
-
|
|
35721
|
-
|
|
35722
|
-
|
|
35723
|
-
|
|
35724
|
-
|
|
35725
|
-
|
|
35726
|
-
|
|
35727
|
-
|
|
35728
|
-
|
|
35733
|
+
oP as isArrayType,
|
|
35734
|
+
lP as isBooleanType,
|
|
35735
|
+
sP as isDateFormat,
|
|
35736
|
+
aP as isDateTimeFormat,
|
|
35737
|
+
uP as isDiscriminatedUnion,
|
|
35738
|
+
cP as isEmailFormat,
|
|
35739
|
+
dP as isEnumType,
|
|
35740
|
+
fP as isIntegerType,
|
|
35741
|
+
hP as isJsonType,
|
|
35742
|
+
mP as isNullType,
|
|
35743
|
+
gP as isNumberType,
|
|
35744
|
+
pP as isObjectType,
|
|
35745
|
+
vP as isRecordType,
|
|
35746
|
+
yP as isStringType,
|
|
35747
|
+
bP as isTimeFormat,
|
|
35748
|
+
kP as isUrlFormat,
|
|
35729
35749
|
rl as mergeQuasarProps,
|
|
35730
35750
|
Ob as mergeQuickFormsQuasarFeatures,
|
|
35731
|
-
|
|
35732
|
-
|
|
35733
|
-
|
|
35734
|
-
|
|
35735
|
-
|
|
35751
|
+
wP as not,
|
|
35752
|
+
xP as or,
|
|
35753
|
+
zD as provideQuasarFormContext,
|
|
35754
|
+
SP as rankWith,
|
|
35755
|
+
QD as toDisplayString,
|
|
35736
35756
|
wm as toJsonLogic,
|
|
35737
|
-
|
|
35757
|
+
_P as useFormContext,
|
|
35738
35758
|
og as useQuasarFormContext,
|
|
35739
35759
|
Vt as useQuasarFormField,
|
|
35740
|
-
|
|
35741
|
-
|
|
35760
|
+
TP as useWatchFormValue,
|
|
35761
|
+
MP as useWatchFormValues
|
|
35742
35762
|
};
|