@dcrackel/hematournamentui 1.0.549 → 1.0.552
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/HemaTournamentUI-lib.es.js +168 -153
- package/dist/HemaTournamentUI-lib.umd.js +6 -6
- package/package.json +1 -1
- package/src/mocks/getPoolsWithBoutsByPoolId.js +12 -12
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.test.js +0 -2
- package/src/stories/Atoms/Text/BaseText.vue +4 -1
- package/src/stories/Molecules/Boxes/BoutBoxes/TimerBox/TimerBox.vue +15 -4
- package/src/stories/Molecules/Buttons/BaseButton/BaseButton.vue +1 -1
- package/src/stories/Organisms/Cards/Director/DirectorCard.stories.js +1 -1
- package/src/stories/Organisms/Cards/Director/DirectorCard.vue +3 -5
- package/src/stories/Organisms/Cards/EventCard/EventCard.vue +1 -1
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +34 -22
- package/src/stories/Templates/EventManagement/Penalties/PenaltyReport.vue +0 -1
- package/src/stories/Templates/EventManagement/PoolLive/PoolLive.vue +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var rf = Object.defineProperty;
|
|
2
2
|
var of = (t, e, n) => e in t ? rf(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var be = (t, e, n) => of(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { openBlock as C, createElementBlock as I, normalizeClass as ee, withDirectives as no, createElementVNode as p, vModelText as cl, Fragment as ae, renderList as Qe, withKeys as Md, withModifiers as at, toDisplayString as _e, reactive as ai, computed as pe, resolveComponent as w, createBlock as ne, withCtx as Oe, createVNode as h, createCommentVNode as b, normalizeStyle as Ut, Transition as cn, renderSlot as we, ref as Ce, defineComponent as it, useSlots as Bo, toRef as qi, onMounted as Et, nextTick as ln, onUnmounted as AA, watch as rn, mergeProps as Bt, unref as P, isRef as dc, createSlots as Nt, normalizeProps as Dt, guardReactiveProps as nn, resolveDynamicComponent as ss, Teleport as sf, h as li, render as gc, useAttrs as Af, createTextVNode as
|
|
4
|
+
import { openBlock as C, createElementBlock as I, normalizeClass as ee, withDirectives as no, createElementVNode as p, vModelText as cl, Fragment as ae, renderList as Qe, withKeys as Md, withModifiers as at, toDisplayString as _e, reactive as ai, computed as pe, resolveComponent as w, createBlock as ne, withCtx as Oe, createVNode as h, createCommentVNode as b, normalizeStyle as Ut, Transition as cn, renderSlot as we, ref as Ce, defineComponent as it, useSlots as Bo, toRef as qi, onMounted as Et, nextTick as ln, onUnmounted as AA, watch as rn, mergeProps as Bt, unref as P, isRef as dc, createSlots as Nt, normalizeProps as Dt, guardReactiveProps as nn, resolveDynamicComponent as ss, Teleport as sf, h as li, render as gc, useAttrs as Af, createTextVNode as hr, onBeforeUpdate as af, vShow as Os, getCurrentScope as lf, onScopeDispose as cf, createStaticVNode as As, onBeforeUnmount as aA, getCurrentInstance as uf, watchEffect as df, shallowRef as gf, markRaw as hf, customRef as pf } from "vue";
|
|
5
5
|
const se = (t, e) => {
|
|
6
6
|
const n = t.__vccOpts || t;
|
|
7
7
|
for (const [r, o] of e)
|
|
@@ -320,7 +320,7 @@ const G2 = /* @__PURE__ */ se(bf, [["render", xf]]), Df = {
|
|
|
320
320
|
type: String,
|
|
321
321
|
default: "primary",
|
|
322
322
|
validator: function(t) {
|
|
323
|
-
return ["neutral", "quinary", "quaternary", "tertiary", "secondary", "primary", "bright", "primaryHighlight", "dropdownSelect", "alarm", "none"].indexOf(t) !== -1;
|
|
323
|
+
return ["neutral", "quinary", "quaternary", "tertiary", "secondary", "primary", "bright", "primaryHighlight", "dropdownSelect", "alarm", "none", "alarmText"].indexOf(t) !== -1;
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
326
|
invalid: {
|
|
@@ -378,6 +378,9 @@ const G2 = /* @__PURE__ */ se(bf, [["render", xf]]), Df = {
|
|
|
378
378
|
case "alarm":
|
|
379
379
|
e += " text-lossRed";
|
|
380
380
|
break;
|
|
381
|
+
case "alarmText":
|
|
382
|
+
e += " text-alarmText";
|
|
383
|
+
break;
|
|
381
384
|
}
|
|
382
385
|
switch (t.invalid && (e = " text-alarm"), t.hoverColor) {
|
|
383
386
|
case "neutral":
|
|
@@ -717,7 +720,7 @@ const J2 = /* @__PURE__ */ se(kf, [["render", Rf]]), Pf = {
|
|
|
717
720
|
grayAndBlue: this.selected ? "bg-secondary hover:bg-quinary" : "bg-gridBoxHeader",
|
|
718
721
|
whiteSecondary: this.selected ? "bg-neutral shadow" : "bg-poolBox",
|
|
719
722
|
liteGraySecondary: this.selected ? "bg-neutral shadow" : "bg-poolBox",
|
|
720
|
-
playPause: this.selected ? "bg-
|
|
723
|
+
playPause: this.selected ? "bg-alarm hover:bg-quaternaryHighlight" : "bg-quaternary hover:bg-quaternaryHighlight"
|
|
721
724
|
}[this.type] || "";
|
|
722
725
|
return `${t} ${n}`;
|
|
723
726
|
},
|
|
@@ -4526,7 +4529,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4526
4529
|
}, RI = (t) => {
|
|
4527
4530
|
const e = Pn(t, 1);
|
|
4528
4531
|
return { month: Ke(e), year: Le(e) };
|
|
4529
|
-
},
|
|
4532
|
+
}, cr = (t, e) => {
|
|
4530
4533
|
const n = Ln(t, { weekStartsOn: +e }), r = Hd(t, { weekStartsOn: +e });
|
|
4531
4534
|
return [n, r];
|
|
4532
4535
|
}, Ag = (t, e) => {
|
|
@@ -4536,7 +4539,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4536
4539
|
seconds: e ? Wo(ue()) : 0
|
|
4537
4540
|
};
|
|
4538
4541
|
return Object.assign(n, t);
|
|
4539
|
-
}, wr = (t, e, n) => [Xe(ue(t), { date: 1 }), Xe(ue(), { month: e, year: n, date: 1 })],
|
|
4542
|
+
}, wr = (t, e, n) => [Xe(ue(t), { date: 1 }), Xe(ue(), { month: e, year: n, date: 1 })], ur = (t, e, n) => {
|
|
4540
4543
|
let r = t ? ue(t) : ue();
|
|
4541
4544
|
return (e || e === 0) && (r = Wd(r, e)), n && (r = Wn(r, n)), r;
|
|
4542
4545
|
}, ag = (t, e, n, r, o) => {
|
|
@@ -4890,16 +4893,16 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4890
4893
|
)
|
|
4891
4894
|
] : T(k, Mr(null, k.hours, k.minutes, k.seconds)), v = (k) => {
|
|
4892
4895
|
const ge = Xe(ue(), { date: 1 });
|
|
4893
|
-
return Array.isArray(k) ? a.value.enabled ? k.map((xe) => T(xe,
|
|
4896
|
+
return Array.isArray(k) ? a.value.enabled ? k.map((xe) => T(xe, ur(ge, +xe.month, +xe.year))) : Is(
|
|
4894
4897
|
() => [
|
|
4895
|
-
T(k[0],
|
|
4898
|
+
T(k[0], ur(ge, +k[0].month, +k[0].year)),
|
|
4896
4899
|
T(
|
|
4897
4900
|
k[1],
|
|
4898
|
-
k[1] ?
|
|
4901
|
+
k[1] ? ur(ge, +k[1].month, +k[1].year) : xo(i.value.partialRange)
|
|
4899
4902
|
)
|
|
4900
4903
|
],
|
|
4901
4904
|
i.value.enabled
|
|
4902
|
-
) : T(k,
|
|
4905
|
+
) : T(k, ur(ge, +k.month, +k.year));
|
|
4903
4906
|
}, G = (k) => {
|
|
4904
4907
|
if (Array.isArray(k))
|
|
4905
4908
|
return k.map((ge) => z(ge));
|
|
@@ -4956,10 +4959,10 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
4956
4959
|
r.value[1] ? k(r.value[1]) : xo(i.value.partialRange)
|
|
4957
4960
|
] : k(yt(r.value)), R = () => {
|
|
4958
4961
|
if (Array.isArray(r.value)) {
|
|
4959
|
-
const k =
|
|
4962
|
+
const k = cr(r.value[0], e.weekStart), ge = r.value[1] ? cr(r.value[1], e.weekStart) : [];
|
|
4960
4963
|
return [k.map((xe) => ue(xe)), ge.map((xe) => ue(xe))];
|
|
4961
4964
|
}
|
|
4962
|
-
return
|
|
4965
|
+
return cr(r.value, e.weekStart).map((k) => ue(k));
|
|
4963
4966
|
}, E = (k, ge) => W(yt(M(k)), !1, ge), Y = (k) => {
|
|
4964
4967
|
const ge = R();
|
|
4965
4968
|
return k ? ge : t("update:model-value", R());
|
|
@@ -5201,7 +5204,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
5201
5204
|
value: H.internalModelValue
|
|
5202
5205
|
}) : b("", !0),
|
|
5203
5206
|
!H.$slots["action-preview"] && Q.value ? (C(), I(ae, { key: 1 }, [
|
|
5204
|
-
|
|
5207
|
+
hr(_e(le.value), 1)
|
|
5205
5208
|
], 64)) : b("", !0)
|
|
5206
5209
|
], 12, oB)) : b("", !0),
|
|
5207
5210
|
p("div", {
|
|
@@ -5415,7 +5418,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
5415
5418
|
item: k
|
|
5416
5419
|
}) : b("", !0),
|
|
5417
5420
|
M.$slots.item ? b("", !0) : (C(), I(ae, { key: 1 }, [
|
|
5418
|
-
|
|
5421
|
+
hr(_e(k.text), 1)
|
|
5419
5422
|
], 64))
|
|
5420
5423
|
], 2)
|
|
5421
5424
|
], 42, lB))), 128))
|
|
@@ -5556,7 +5559,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
5556
5559
|
year: t.year
|
|
5557
5560
|
}) : b("", !0),
|
|
5558
5561
|
x.$slots.year ? b("", !0) : (C(), I(ae, { key: 1 }, [
|
|
5559
|
-
|
|
5562
|
+
hr(_e(t.year), 1)
|
|
5560
5563
|
], 64))
|
|
5561
5564
|
], 40, dB),
|
|
5562
5565
|
P(o)(P(a), t.instance) ? (C(), ne(Oi, {
|
|
@@ -5770,7 +5773,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
5770
5773
|
if (A.value.enabled) {
|
|
5771
5774
|
const _ = le();
|
|
5772
5775
|
if (Array.isArray(f.value) && Array.isArray(_)) {
|
|
5773
|
-
const k = H(E, Y, 0) || H(E, Y, 1), ge =
|
|
5776
|
+
const k = H(E, Y, 0) || H(E, Y, 1), ge = ur(Tn(ue()), E, m.value(Y));
|
|
5774
5777
|
return cA(f.value, T.value, ge) && !k;
|
|
5775
5778
|
}
|
|
5776
5779
|
return !1;
|
|
@@ -5784,9 +5787,9 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
5784
5787
|
ig(m.value(E), l.value.maxDate)
|
|
5785
5788
|
) || FI(l.value.disabledDates, m.value(E)).includes(Y.value) || ((_ = u.value.months) == null ? void 0 : _.includes(Y.value)), xe = K(Y.value, E), je = cg(a.value, Y.value, m.value(E));
|
|
5786
5789
|
return { active: k, disabled: ge, isBetween: xe, highlighted: je };
|
|
5787
|
-
})), X = (E, Y) =>
|
|
5790
|
+
})), X = (E, Y) => ur(Tn(ue()), E, m.value(Y)), Ae = (E, Y) => {
|
|
5788
5791
|
const _ = f.value ? f.value : Tn(/* @__PURE__ */ new Date());
|
|
5789
|
-
f.value =
|
|
5792
|
+
f.value = ur(_, E, m.value(Y)), e("auto-apply"), e("update-flow-step");
|
|
5790
5793
|
}, z = (E, Y) => {
|
|
5791
5794
|
const _ = X(E, Y);
|
|
5792
5795
|
A.value.fixedEnd || A.value.fixedStart ? f.value = pg(_, f, e, A) : f.value ? S(_, f.value) && (f.value = Dl(f, X(E, Y), e)) : f.value = [X(E, Y)], ln().then(() => {
|
|
@@ -6168,7 +6171,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
6168
6171
|
}, [
|
|
6169
6172
|
$.separator ? (C(), I(ae, { key: 0 }, [
|
|
6170
6173
|
S.value ? b("", !0) : (C(), I(ae, { key: 0 }, [
|
|
6171
|
-
|
|
6174
|
+
hr(":")
|
|
6172
6175
|
], 64))
|
|
6173
6176
|
], 64)) : (C(), I(ae, { key: 1 }, [
|
|
6174
6177
|
p("button", {
|
|
@@ -6226,7 +6229,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
6226
6229
|
value: F.value($.type).value
|
|
6227
6230
|
}) : b("", !0),
|
|
6228
6231
|
D.$slots[$.type] ? b("", !0) : (C(), I(ae, { key: 1 }, [
|
|
6229
|
-
|
|
6232
|
+
hr(_e(F.value($.type).text), 1)
|
|
6230
6233
|
], 64))
|
|
6231
6234
|
], 42, EB),
|
|
6232
6235
|
p("button", {
|
|
@@ -6854,7 +6857,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
6854
6857
|
value: o[Z.type]
|
|
6855
6858
|
}) : b("", !0),
|
|
6856
6859
|
R.$slots[Z.type] ? b("", !0) : (C(), I(ae, { key: 1 }, [
|
|
6857
|
-
|
|
6860
|
+
hr(_e(Z.text), 1)
|
|
6858
6861
|
], 64))
|
|
6859
6862
|
], 42, FB),
|
|
6860
6863
|
h(cn, {
|
|
@@ -7005,8 +7008,8 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7005
7008
|
});
|
|
7006
7009
|
const L = (Z) => Z ? o.vertical ? "vNext" : "next" : o.vertical ? "vPrevious" : "previous", j = (Z, he) => {
|
|
7007
7010
|
if (o.transitions) {
|
|
7008
|
-
const D = Jt(
|
|
7009
|
-
T.value = ut(Jt(
|
|
7011
|
+
const D = Jt(ur(ue(), o.month, o.year));
|
|
7012
|
+
T.value = ut(Jt(ur(ue(), Z, he)), D) ? A.value[L(!0)] : A.value[L(!1)], x.value = !1, ln(() => {
|
|
7010
7013
|
x.value = !0;
|
|
7011
7014
|
});
|
|
7012
7015
|
}
|
|
@@ -7096,7 +7099,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7096
7099
|
index: ie
|
|
7097
7100
|
}) : b("", !0),
|
|
7098
7101
|
Z.$slots["calendar-header"] ? b("", !0) : (C(), I(ae, { key: 1 }, [
|
|
7099
|
-
|
|
7102
|
+
hr(_e(D), 1)
|
|
7100
7103
|
], 64))
|
|
7101
7104
|
], 8, YB);
|
|
7102
7105
|
}), 128))
|
|
@@ -7152,7 +7155,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7152
7155
|
date: fe.value
|
|
7153
7156
|
}) : b("", !0),
|
|
7154
7157
|
Z.$slots.day ? b("", !0) : (C(), I(ae, { key: 1 }, [
|
|
7155
|
-
|
|
7158
|
+
hr(_e(fe.text), 1)
|
|
7156
7159
|
], 64)),
|
|
7157
7160
|
fe.marker && K.value(fe) ? (C(), I(ae, { key: 2 }, [
|
|
7158
7161
|
Z.$slots.marker ? we(Z.$slots, "marker", {
|
|
@@ -7326,9 +7329,9 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7326
7329
|
}
|
|
7327
7330
|
}, Pe = (q, re, V, ce) => {
|
|
7328
7331
|
if (t.sixWeeks && q.length < 6) {
|
|
7329
|
-
const Ee = 6 - q.length, wt = (re.getDay() + 7 - ce) % 7, ht = 6 - (V.getDay() + 7 - ce) % 7, [Dn,
|
|
7332
|
+
const Ee = 6 - q.length, wt = (re.getDay() + 7 - ce) % 7, ht = 6 - (V.getDay() + 7 - ce) % 7, [Dn, sr] = $(wt, ht);
|
|
7330
7333
|
for (let mn = 1; mn <= Ee; mn++)
|
|
7331
|
-
if (
|
|
7334
|
+
if (sr ? !!(mn % 2) == Dn : Dn) {
|
|
7332
7335
|
const jn = q[0].days[0], Kr = J(On(jn.value, -7), Ke(re));
|
|
7333
7336
|
q.unshift({ days: Kr });
|
|
7334
7337
|
} else {
|
|
@@ -7350,12 +7353,12 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7350
7353
|
}
|
|
7351
7354
|
return ce;
|
|
7352
7355
|
}, de = (q, re) => {
|
|
7353
|
-
const V = [], ce = new Date(re, q), Ee = new Date(re, q + 1, 0), wt = t.weekStart, ht = Ln(ce, { weekStartsOn: wt }), Dn = (
|
|
7354
|
-
const mn = J(
|
|
7356
|
+
const V = [], ce = new Date(re, q), Ee = new Date(re, q + 1, 0), wt = t.weekStart, ht = Ln(ce, { weekStartsOn: wt }), Dn = (sr) => {
|
|
7357
|
+
const mn = J(sr, q);
|
|
7355
7358
|
if (V.push({ days: mn }), !V[V.length - 1].days.some(
|
|
7356
7359
|
(jn) => Ge(Jt(jn.value), Jt(Ee))
|
|
7357
7360
|
)) {
|
|
7358
|
-
const jn = On(
|
|
7361
|
+
const jn = On(sr, 7);
|
|
7359
7362
|
Dn(jn);
|
|
7360
7363
|
}
|
|
7361
7364
|
};
|
|
@@ -7845,7 +7848,7 @@ const ya = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
|
|
|
7845
7848
|
value: O.value,
|
|
7846
7849
|
text: O.text
|
|
7847
7850
|
}) : (C(), I(ae, { key: 1 }, [
|
|
7848
|
-
|
|
7851
|
+
hr(_e(O.text), 1)
|
|
7849
7852
|
], 64))
|
|
7850
7853
|
], 42, $B)
|
|
7851
7854
|
]))), 128))
|
|
@@ -8424,7 +8427,7 @@ const cE = ({
|
|
|
8424
8427
|
if (l.value.autoRange || e.weekPicker) {
|
|
8425
8428
|
if (u.value) {
|
|
8426
8429
|
if (e.hideOffsetDates && !E.current) return !1;
|
|
8427
|
-
const Y = On(u.value, +l.value.autoRange), _ =
|
|
8430
|
+
const Y = On(u.value, +l.value.autoRange), _ = cr(ue(u.value), e.weekStart);
|
|
8428
8431
|
return e.weekPicker ? Ge(_[1], ue(E.value)) : Ge(Y, ue(E.value));
|
|
8429
8432
|
}
|
|
8430
8433
|
return !1;
|
|
@@ -8435,7 +8438,7 @@ const cE = ({
|
|
|
8435
8438
|
if (u.value) {
|
|
8436
8439
|
const Y = On(u.value, +l.value.autoRange);
|
|
8437
8440
|
if (e.hideOffsetDates && !E.current) return !1;
|
|
8438
|
-
const _ =
|
|
8441
|
+
const _ = cr(ue(u.value), e.weekStart);
|
|
8439
8442
|
return e.weekPicker ? ut(E.value, _[0]) && st(E.value, _[1]) : ut(E.value, u.value) && st(E.value, Y);
|
|
8440
8443
|
}
|
|
8441
8444
|
return !1;
|
|
@@ -8445,7 +8448,7 @@ const cE = ({
|
|
|
8445
8448
|
if (l.value.autoRange || e.weekPicker) {
|
|
8446
8449
|
if (u.value) {
|
|
8447
8450
|
if (e.hideOffsetDates && !E.current) return !1;
|
|
8448
|
-
const Y =
|
|
8451
|
+
const Y = cr(ue(u.value), e.weekStart);
|
|
8449
8452
|
return e.weekPicker ? Ge(Y[0], E.value) : Ge(u.value, E.value);
|
|
8450
8453
|
}
|
|
8451
8454
|
return !1;
|
|
@@ -8478,7 +8481,7 @@ const cE = ({
|
|
|
8478
8481
|
dp__date_hover: j(E)
|
|
8479
8482
|
}), Ae = (E) => {
|
|
8480
8483
|
if (t.value && !Array.isArray(t.value)) {
|
|
8481
|
-
const Y =
|
|
8484
|
+
const Y = cr(t.value, e.weekStart);
|
|
8482
8485
|
return {
|
|
8483
8486
|
...M(E),
|
|
8484
8487
|
dp__range_start: Ge(Y[0], E.value),
|
|
@@ -8491,7 +8494,7 @@ const cE = ({
|
|
|
8491
8494
|
};
|
|
8492
8495
|
}, z = (E) => {
|
|
8493
8496
|
if (t.value && Array.isArray(t.value)) {
|
|
8494
|
-
const Y =
|
|
8497
|
+
const Y = cr(t.value[0], e.weekStart), _ = t.value[1] ? cr(t.value[1], e.weekStart) : [];
|
|
8495
8498
|
return {
|
|
8496
8499
|
...M(E),
|
|
8497
8500
|
dp__range_start: Ge(Y[0], E.value) || Ge(_[0], E.value),
|
|
@@ -11728,7 +11731,7 @@ function gw() {
|
|
|
11728
11731
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
11729
11732
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
11730
11733
|
}
|
|
11731
|
-
var CA = typeof window < "u" && typeof window.document < "u",
|
|
11734
|
+
var CA = typeof window < "u" && typeof window.document < "u", er = CA ? window : {}, kl = CA && er.document.documentElement ? "ontouchstart" in er.document.documentElement : !1, Ml = CA ? "PointerEvent" in er : !1, tt = "cropper", Ol = "all", bg = "crop", xg = "move", Dg = "zoom", Ur = "e", Gr = "w", Do = "s", Ir = "n", Ei = "ne", Qi = "nw", vi = "se", wi = "sw", Sa = "".concat(tt, "-crop"), Nc = "".concat(tt, "-disabled"), tn = "".concat(tt, "-hidden"), Hc = "".concat(tt, "-hide"), hw = "".concat(tt, "-invisible"), js = "".concat(tt, "-modal"), ka = "".concat(tt, "-move"), Ui = "".concat(tt, "Action"), Es = "".concat(tt, "Preview"), Tl = "crop", Sg = "move", kg = "none", Ma = "crop", Oa = "cropend", Ta = "cropmove", Ra = "cropstart", qc = "dblclick", pw = kl ? "touchstart" : "mousedown", fw = kl ? "touchmove" : "mousemove", Cw = kl ? "touchend touchcancel" : "mouseup", Yc = Ml ? "pointerdown" : pw, jc = Ml ? "pointermove" : fw, Kc = Ml ? "pointerup pointercancel" : Cw, Uc = "ready", Gc = "resize", Jc = "wheel", Pa = "zoom", Vc = "image/jpeg", mw = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, Iw = /^data:/, Bw = /^data:image\/jpeg;base64,/, Ew = /^img|canvas$/i, Mg = 200, Og = 100, Wc = {
|
|
11732
11735
|
// Define the view mode of the cropper
|
|
11733
11736
|
viewMode: 0,
|
|
11734
11737
|
// 0, 1, 2, 3
|
|
@@ -11799,7 +11802,7 @@ var CA = typeof window < "u" && typeof window.document < "u", tr = CA ? window :
|
|
|
11799
11802
|
cropend: null,
|
|
11800
11803
|
crop: null,
|
|
11801
11804
|
zoom: null
|
|
11802
|
-
}, Qw = '<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>', vw = Number.isNaN ||
|
|
11805
|
+
}, Qw = '<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>', vw = Number.isNaN || er.isNaN;
|
|
11803
11806
|
function Ue(t) {
|
|
11804
11807
|
return typeof t == "number" && !vw(t);
|
|
11805
11808
|
}
|
|
@@ -11945,7 +11948,7 @@ var Rg = /\s\s*/, Pg = function() {
|
|
|
11945
11948
|
e = i;
|
|
11946
11949
|
}
|
|
11947
11950
|
});
|
|
11948
|
-
|
|
11951
|
+
er.addEventListener("test", n, r), er.removeEventListener("test", n, r);
|
|
11949
11952
|
}
|
|
11950
11953
|
return t;
|
|
11951
11954
|
}();
|
|
@@ -11989,7 +11992,7 @@ function zg(t) {
|
|
|
11989
11992
|
top: e.top + (window.pageYOffset - document.documentElement.clientTop)
|
|
11990
11993
|
};
|
|
11991
11994
|
}
|
|
11992
|
-
var ZA =
|
|
11995
|
+
var ZA = er.location, Mw = /^(\w+:)\/\/([^:/?#]*):?(\d*)/i;
|
|
11993
11996
|
function Zc(t) {
|
|
11994
11997
|
var e = t.match(Mw);
|
|
11995
11998
|
return e !== null && (e[1] !== ZA.protocol || e[2] !== ZA.hostname || e[3] !== ZA.port);
|
|
@@ -12831,7 +12834,7 @@ var Yw = {
|
|
|
12831
12834
|
}
|
|
12832
12835
|
return this;
|
|
12833
12836
|
}
|
|
12834
|
-
}, Vw =
|
|
12837
|
+
}, Vw = er.Cropper, Fg = /* @__PURE__ */ function() {
|
|
12835
12838
|
function t(e) {
|
|
12836
12839
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
12837
12840
|
if (Aw(this, t), !e || !Ew.test(e.tagName))
|
|
@@ -12900,7 +12903,7 @@ var Yw = {
|
|
|
12900
12903
|
value: function() {
|
|
12901
12904
|
var n = this, r = this.image;
|
|
12902
12905
|
r.onload = null, r.onerror = null, this.sizing = !0;
|
|
12903
|
-
var o =
|
|
12906
|
+
var o = er.navigator && /(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(er.navigator.userAgent), i = function(c, u) {
|
|
12904
12907
|
nt(n.imageData, {
|
|
12905
12908
|
naturalWidth: c,
|
|
12906
12909
|
naturalHeight: u,
|
|
@@ -18352,7 +18355,7 @@ const ia = /* @__PURE__ */ Object.create(null);
|
|
|
18352
18355
|
function Ch(t) {
|
|
18353
18356
|
return t in ia ? t + "$" + ++ia[t] : (ia[t] = 0, t + "$");
|
|
18354
18357
|
}
|
|
18355
|
-
class
|
|
18358
|
+
class or {
|
|
18356
18359
|
/**
|
|
18357
18360
|
Create a plugin key.
|
|
18358
18361
|
*/
|
|
@@ -18382,7 +18385,7 @@ const Tt = function(t) {
|
|
|
18382
18385
|
return e && e.nodeType == 11 ? e.host : e;
|
|
18383
18386
|
};
|
|
18384
18387
|
let Ya = null;
|
|
18385
|
-
const
|
|
18388
|
+
const ar = function(t, e, n) {
|
|
18386
18389
|
let r = Ya || (Ya = document.createRange());
|
|
18387
18390
|
return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
|
|
18388
18391
|
}, Ab = function() {
|
|
@@ -18481,9 +18484,9 @@ function gb(t, e, n) {
|
|
|
18481
18484
|
return { node: r.startContainer, offset: r.startOffset };
|
|
18482
18485
|
}
|
|
18483
18486
|
}
|
|
18484
|
-
const
|
|
18487
|
+
const tr = typeof navigator < "u" ? navigator : null, Bu = typeof document < "u" ? document : null, qr = tr && tr.userAgent || "", ja = /Edge\/(\d+)/.exec(qr), mh = /MSIE \d/.exec(qr), Ka = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(qr), sn = !!(mh || Ka || ja), Tr = mh ? document.documentMode : Ka ? +Ka[1] : ja ? +ja[1] : 0, Fn = !sn && /gecko\/(\d+)/i.test(qr);
|
|
18485
18488
|
Fn && +(/Firefox\/(\d+)/.exec(qr) || [0, 0])[1];
|
|
18486
|
-
const Ua = !sn && /Chrome\/(\d+)/.exec(qr), Ft = !!Ua, Ih = Ua ? +Ua[1] : 0, Wt = !sn && !!
|
|
18489
|
+
const Ua = !sn && /Chrome\/(\d+)/.exec(qr), Ft = !!Ua, Ih = Ua ? +Ua[1] : 0, Wt = !sn && !!tr && /Apple Computer/.test(tr.vendor), ni = Wt && (/Mobile\/\w+/.test(qr) || !!tr && tr.maxTouchPoints > 2), En = ni || (tr ? /Mac/.test(tr.platform) : !1), hb = tr ? /Win/.test(tr.platform) : !1, Mn = /Android \d/.test(qr), ps = !!Bu && "webkitFontSmoothing" in Bu.documentElement.style, pb = ps ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
18487
18490
|
function fb(t) {
|
|
18488
18491
|
let e = t.defaultView && t.defaultView.visualViewport;
|
|
18489
18492
|
return e ? {
|
|
@@ -18498,7 +18501,7 @@ function fb(t) {
|
|
|
18498
18501
|
bottom: t.documentElement.clientHeight
|
|
18499
18502
|
};
|
|
18500
18503
|
}
|
|
18501
|
-
function
|
|
18504
|
+
function Ar(t, e) {
|
|
18502
18505
|
return typeof t == "number" ? t : t[e];
|
|
18503
18506
|
}
|
|
18504
18507
|
function Cb(t) {
|
|
@@ -18516,7 +18519,7 @@ function Eu(t, e, n) {
|
|
|
18516
18519
|
if (A.nodeType != 1)
|
|
18517
18520
|
continue;
|
|
18518
18521
|
let a = A, l = a == i.body, c = l ? fb(i) : Cb(a), u = 0, d = 0;
|
|
18519
|
-
if (e.top < c.top +
|
|
18522
|
+
if (e.top < c.top + Ar(r, "top") ? d = -(c.top - e.top + Ar(o, "top")) : e.bottom > c.bottom - Ar(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + Ar(o, "top") - c.top : e.bottom - c.bottom + Ar(o, "bottom")), e.left < c.left + Ar(r, "left") ? u = -(c.left - e.left + Ar(o, "left")) : e.right > c.right - Ar(r, "right") && (u = e.right - c.right + Ar(o, "right")), u || d)
|
|
18520
18523
|
if (l)
|
|
18521
18524
|
i.defaultView.scrollBy(u, d);
|
|
18522
18525
|
else {
|
|
@@ -18579,7 +18582,7 @@ function Qh(t, e) {
|
|
|
18579
18582
|
if (u.nodeType == 1)
|
|
18580
18583
|
g = u.getClientRects();
|
|
18581
18584
|
else if (u.nodeType == 3)
|
|
18582
|
-
g =
|
|
18585
|
+
g = ar(u).getClientRects();
|
|
18583
18586
|
else
|
|
18584
18587
|
continue;
|
|
18585
18588
|
for (let f = 0; f < g.length; f++) {
|
|
@@ -18699,11 +18702,11 @@ function wh(t, e, n) {
|
|
|
18699
18702
|
let { node: r, offset: o, atom: i } = t.docView.domFromPos(e, n < 0 ? -1 : 1), A = ps || Fn;
|
|
18700
18703
|
if (r.nodeType == 3)
|
|
18701
18704
|
if (A && (bb.test(r.nodeValue) || (n < 0 ? !o : o == r.nodeValue.length))) {
|
|
18702
|
-
let l = Br(
|
|
18705
|
+
let l = Br(ar(r, o, o), n);
|
|
18703
18706
|
if (Fn && o && /\s/.test(r.nodeValue[o - 1]) && o < r.nodeValue.length) {
|
|
18704
|
-
let c = Br(
|
|
18707
|
+
let c = Br(ar(r, o - 1, o - 1), -1);
|
|
18705
18708
|
if (c.top == l.top) {
|
|
18706
|
-
let u = Br(
|
|
18709
|
+
let u = Br(ar(r, o, o + 1), -1);
|
|
18707
18710
|
if (u.top != l.top)
|
|
18708
18711
|
return yi(u, u.left < c.left);
|
|
18709
18712
|
}
|
|
@@ -18711,7 +18714,7 @@ function wh(t, e, n) {
|
|
|
18711
18714
|
return l;
|
|
18712
18715
|
} else {
|
|
18713
18716
|
let l = o, c = o, u = n < 0 ? 1 : -1;
|
|
18714
|
-
return n < 0 && !o ? (c++, u = -1) : n >= 0 && o == r.nodeValue.length ? (l--, u = 1) : n < 0 ? l-- : c++, yi(Br(
|
|
18717
|
+
return n < 0 && !o ? (c++, u = -1) : n >= 0 && o == r.nodeValue.length ? (l--, u = 1) : n < 0 ? l-- : c++, yi(Br(ar(r, l, c), u), u < 0);
|
|
18715
18718
|
}
|
|
18716
18719
|
if (!t.state.doc.resolve(e - (i || 0)).parent.inlineContent) {
|
|
18717
18720
|
if (i == null && o && (n < 0 || o == Vn(r))) {
|
|
@@ -18727,7 +18730,7 @@ function wh(t, e, n) {
|
|
|
18727
18730
|
return sa(r.getBoundingClientRect(), n >= 0);
|
|
18728
18731
|
}
|
|
18729
18732
|
if (i == null && o && (n < 0 || o == Vn(r))) {
|
|
18730
|
-
let l = r.childNodes[o - 1], c = l.nodeType == 3 ?
|
|
18733
|
+
let l = r.childNodes[o - 1], c = l.nodeType == 3 ? ar(l, Vn(l) - (A ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
|
|
18731
18734
|
if (c)
|
|
18732
18735
|
return yi(Br(c, 1), !1);
|
|
18733
18736
|
}
|
|
@@ -18735,11 +18738,11 @@ function wh(t, e, n) {
|
|
|
18735
18738
|
let l = r.childNodes[o];
|
|
18736
18739
|
for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
|
|
18737
18740
|
l = l.nextSibling;
|
|
18738
|
-
let c = l ? l.nodeType == 3 ?
|
|
18741
|
+
let c = l ? l.nodeType == 3 ? ar(l, 0, A ? 0 : 1) : l.nodeType == 1 ? l : null : null;
|
|
18739
18742
|
if (c)
|
|
18740
18743
|
return yi(Br(c, -1), !0);
|
|
18741
18744
|
}
|
|
18742
|
-
return yi(Br(r.nodeType == 3 ?
|
|
18745
|
+
return yi(Br(r.nodeType == 3 ? ar(r) : r, -n), n >= 0);
|
|
18743
18746
|
}
|
|
18744
18747
|
function yi(t, e) {
|
|
18745
18748
|
if (t.width == 0)
|
|
@@ -18782,7 +18785,7 @@ function xb(t, e, n) {
|
|
|
18782
18785
|
if (a.nodeType == 1)
|
|
18783
18786
|
l = a.getClientRects();
|
|
18784
18787
|
else if (a.nodeType == 3)
|
|
18785
|
-
l =
|
|
18788
|
+
l = ar(a, 0, a.nodeValue.length).getClientRects();
|
|
18786
18789
|
else
|
|
18787
18790
|
continue;
|
|
18788
18791
|
for (let c = 0; c < l.length; c++) {
|
|
@@ -18815,7 +18818,7 @@ let vu = null, wu = null, yu = !1;
|
|
|
18815
18818
|
function kb(t, e, n) {
|
|
18816
18819
|
return vu == e && wu == n ? yu : (vu = e, wu = n, yu = n == "up" || n == "down" ? xb(t, e, n) : Sb(t, e, n));
|
|
18817
18820
|
}
|
|
18818
|
-
const vn = 0, bu = 1, eo = 2,
|
|
18821
|
+
const vn = 0, bu = 1, eo = 2, nr = 3;
|
|
18819
18822
|
class fs {
|
|
18820
18823
|
constructor(e, n, r, o) {
|
|
18821
18824
|
this.parent = e, this.children = n, this.dom = r, this.contentDOM = o, this.dirty = vn, r.pmViewDesc = this;
|
|
@@ -19125,10 +19128,10 @@ class fs {
|
|
|
19125
19128
|
if (r == A ? e <= A && n >= r : e < A && n > r) {
|
|
19126
19129
|
let a = r + i.border, l = A - i.border;
|
|
19127
19130
|
if (e >= a && n <= l) {
|
|
19128
|
-
this.dirty = e == r || n == A ? eo : bu, e == a && n == l && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty =
|
|
19131
|
+
this.dirty = e == r || n == A ? eo : bu, e == a && n == l && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty = nr : i.markDirty(e - a, n - a);
|
|
19129
19132
|
return;
|
|
19130
19133
|
} else
|
|
19131
|
-
i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? eo :
|
|
19134
|
+
i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? eo : nr;
|
|
19132
19135
|
}
|
|
19133
19136
|
r = A;
|
|
19134
19137
|
}
|
|
@@ -19217,10 +19220,10 @@ class fo extends fs {
|
|
|
19217
19220
|
return (!A || !A.dom) && (A = vo.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new fo(e, n, A.dom, A.contentDOM || A.dom);
|
|
19218
19221
|
}
|
|
19219
19222
|
parseRule() {
|
|
19220
|
-
return this.dirty &
|
|
19223
|
+
return this.dirty & nr || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
19221
19224
|
}
|
|
19222
19225
|
matchesMark(e) {
|
|
19223
|
-
return this.dirty !=
|
|
19226
|
+
return this.dirty != nr && this.mark.eq(e);
|
|
19224
19227
|
}
|
|
19225
19228
|
markDirty(e, n) {
|
|
19226
19229
|
if (super.markDirty(e, n), this.dirty != vn) {
|
|
@@ -19341,7 +19344,7 @@ class Rr extends fs {
|
|
|
19341
19344
|
// If this desc must be updated to match the given node decoration,
|
|
19342
19345
|
// do so and return true.
|
|
19343
19346
|
update(e, n, r, o) {
|
|
19344
|
-
return this.dirty ==
|
|
19347
|
+
return this.dirty == nr || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, n, r, o), !0);
|
|
19345
19348
|
}
|
|
19346
19349
|
updateInner(e, n, r, o) {
|
|
19347
19350
|
this.updateOuterDeco(n), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = vn;
|
|
@@ -19380,7 +19383,7 @@ class vA extends Rr {
|
|
|
19380
19383
|
return { skip: e || !0 };
|
|
19381
19384
|
}
|
|
19382
19385
|
update(e, n, r, o) {
|
|
19383
|
-
return this.dirty ==
|
|
19386
|
+
return this.dirty == nr || this.dirty != vn && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != vn || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = e, this.dirty = vn, !0);
|
|
19384
19387
|
}
|
|
19385
19388
|
inParent() {
|
|
19386
19389
|
let e = this.parent.contentDOM;
|
|
@@ -19403,7 +19406,7 @@ class vA extends Rr {
|
|
|
19403
19406
|
return new vA(this.parent, o, this.outerDeco, this.innerDeco, i, i, r);
|
|
19404
19407
|
}
|
|
19405
19408
|
markDirty(e, n) {
|
|
19406
|
-
super.markDirty(e, n), this.dom != this.nodeDOM && (e == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty =
|
|
19409
|
+
super.markDirty(e, n), this.dom != this.nodeDOM && (e == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = nr);
|
|
19407
19410
|
}
|
|
19408
19411
|
get domAtom() {
|
|
19409
19412
|
return !1;
|
|
@@ -19434,7 +19437,7 @@ class Ob extends Rr {
|
|
|
19434
19437
|
// through. If it does, and there's a `contentDOM` node, our logic
|
|
19435
19438
|
// updates the children.
|
|
19436
19439
|
update(e, n, r, o) {
|
|
19437
|
-
if (this.dirty ==
|
|
19440
|
+
if (this.dirty == nr)
|
|
19438
19441
|
return !1;
|
|
19439
19442
|
if (this.spec.update) {
|
|
19440
19443
|
let i = this.spec.update(e, n, r);
|
|
@@ -19613,7 +19616,7 @@ class Rb {
|
|
|
19613
19616
|
}
|
|
19614
19617
|
updateNodeAt(e, n, r, o, i) {
|
|
19615
19618
|
let A = this.top.children[o];
|
|
19616
|
-
return A.dirty ==
|
|
19619
|
+
return A.dirty == nr && A.dom == A.contentDOM && (A.dirty = eo), A.update(e, n, r, i) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
|
|
19617
19620
|
}
|
|
19618
19621
|
findIndexWithChild(e) {
|
|
19619
19622
|
for (; ; ) {
|
|
@@ -19641,7 +19644,7 @@ class Rb {
|
|
|
19641
19644
|
let c = this.preMatch.matched.get(l);
|
|
19642
19645
|
if (c != null && c != i)
|
|
19643
19646
|
return !1;
|
|
19644
|
-
let u = l.dom, d, g = this.isLocked(u) && !(e.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == e.text && l.dirty !=
|
|
19647
|
+
let u = l.dom, d, g = this.isLocked(u) && !(e.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == e.text && l.dirty != nr && Ja(n, l.outerDeco));
|
|
19645
19648
|
if (!g && l.update(e, n, r, o))
|
|
19646
19649
|
return this.destroyBetween(this.index, a), l.dom != u && (this.changed = !0), this.index++, !0;
|
|
19647
19650
|
if (!g && (d = this.recreateWrapper(l, e, n, r, o, A)))
|
|
@@ -19848,7 +19851,7 @@ function Nl(t, e = null) {
|
|
|
19848
19851
|
function Mh(t) {
|
|
19849
19852
|
return t.editable ? t.hasFocus() : Th(t) && document.activeElement && document.activeElement.contains(t.dom);
|
|
19850
19853
|
}
|
|
19851
|
-
function
|
|
19854
|
+
function gr(t, e = !1) {
|
|
19852
19855
|
let n = t.state.selection;
|
|
19853
19856
|
if (Oh(t, n), !!Mh(t)) {
|
|
19854
19857
|
if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Ft) {
|
|
@@ -20090,7 +20093,7 @@ function Xa(t, e, n) {
|
|
|
20090
20093
|
t.domObserver.setCurSelection();
|
|
20091
20094
|
let { state: o } = t;
|
|
20092
20095
|
setTimeout(() => {
|
|
20093
|
-
t.state == o &&
|
|
20096
|
+
t.state == o && gr(t);
|
|
20094
20097
|
}, 50);
|
|
20095
20098
|
}
|
|
20096
20099
|
function Pu(t, e) {
|
|
@@ -20548,7 +20551,7 @@ class hx {
|
|
|
20548
20551
|
}, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Sr(e, "pointer");
|
|
20549
20552
|
}
|
|
20550
20553
|
done() {
|
|
20551
|
-
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() =>
|
|
20554
|
+
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => gr(this.view)), this.view.input.mouseDown = null;
|
|
20552
20555
|
}
|
|
20553
20556
|
up(e) {
|
|
20554
20557
|
if (this.done(), !this.view.dom.contains(e.target))
|
|
@@ -20771,7 +20774,7 @@ Zt.drop = (t, e) => {
|
|
|
20771
20774
|
};
|
|
20772
20775
|
Xt.focus = (t) => {
|
|
20773
20776
|
t.input.lastFocus = Date.now(), t.focused || (t.domObserver.stop(), t.dom.classList.add("ProseMirror-focused"), t.domObserver.start(), t.focused = !0, setTimeout(() => {
|
|
20774
|
-
t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) &&
|
|
20777
|
+
t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && gr(t);
|
|
20775
20778
|
}, 20));
|
|
20776
20779
|
};
|
|
20777
20780
|
Xt.blur = (t, e) => {
|
|
@@ -21360,7 +21363,7 @@ class bx {
|
|
|
21360
21363
|
onSelectionChange() {
|
|
21361
21364
|
if (Tu(this.view)) {
|
|
21362
21365
|
if (this.suppressingSelectionUpdates)
|
|
21363
|
-
return
|
|
21366
|
+
return gr(this.view);
|
|
21364
21367
|
if (sn && Tr <= 11 && !this.view.state.selection.empty) {
|
|
21365
21368
|
let e = this.view.domSelectionRange();
|
|
21366
21369
|
if (e.focusNode && po(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
|
|
@@ -21422,7 +21425,7 @@ class bx {
|
|
|
21422
21425
|
}
|
|
21423
21426
|
}
|
|
21424
21427
|
let c = null;
|
|
21425
|
-
i < 0 && o && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && QA(r) && (c = Nl(e)) && c.eq(Ne.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0,
|
|
21428
|
+
i < 0 && o && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && QA(r) && (c = Nl(e)) && c.eq(Ne.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, gr(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || o) && (i > -1 && (e.docView.markDirty(i, A), xx(e)), this.handleDOMChange(i, A, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || gr(e), this.currentSelection.set(r));
|
|
21426
21429
|
}
|
|
21427
21430
|
registerMutation(e, n) {
|
|
21428
21431
|
if (n.indexOf(e.target) > -1)
|
|
@@ -21585,7 +21588,7 @@ function Tx(t, e, n, r, o) {
|
|
|
21585
21588
|
let v = m.start, G = m.endA, y, O, U;
|
|
21586
21589
|
if (T) {
|
|
21587
21590
|
if (B.pos == Q.pos)
|
|
21588
|
-
sn && Tr <= 11 && B.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() =>
|
|
21591
|
+
sn && Tr <= 11 && B.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => gr(t), 20)), y = t.state.tr.delete(v, G), O = u.resolve(m.start).marksAcross(u.resolve(m.endA));
|
|
21589
21592
|
else if (
|
|
21590
21593
|
// Adding or removing a mark
|
|
21591
21594
|
m.endA == m.endB && (U = Rx(B.parent.content.cut(B.parentOffset, Q.parentOffset), x.parent.content.cut(x.parentOffset, m.endA - x.start())))
|
|
@@ -21759,7 +21762,7 @@ class Lx {
|
|
|
21759
21762
|
let m = Ft ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
21760
21763
|
this.composing && (this.input.compositionNode = fx(this)), (i || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = xu(e.doc, c, l, this.dom, this)), m && !this.trackWrites && (f = !0);
|
|
21761
21764
|
}
|
|
21762
|
-
f || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Yb(this)) ?
|
|
21765
|
+
f || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Yb(this)) ? gr(this, f) : (Oh(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
21763
21766
|
}
|
|
21764
21767
|
this.updatePluginViews(o), !((r = this.dragging) === null || r === void 0) && r.node && !o.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, o), u == "reset" ? this.dom.scrollTop = 0 : u == "to selection" ? this.scrollToSelection() : g && Ib(g);
|
|
21765
21768
|
}
|
|
@@ -21846,7 +21849,7 @@ class Lx {
|
|
|
21846
21849
|
Focus the editor.
|
|
21847
21850
|
*/
|
|
21848
21851
|
focus() {
|
|
21849
|
-
this.domObserver.stop(), this.editable && Bb(this.dom),
|
|
21852
|
+
this.domObserver.stop(), this.editable && Bb(this.dom), gr(this), this.domObserver.start();
|
|
21850
21853
|
}
|
|
21851
21854
|
/**
|
|
21852
21855
|
Get the document root in which the editor exists. This will
|
|
@@ -23421,7 +23424,7 @@ const T0 = qt.create({
|
|
|
23421
23424
|
addProseMirrorPlugins() {
|
|
23422
23425
|
return [
|
|
23423
23426
|
new un({
|
|
23424
|
-
key: new
|
|
23427
|
+
key: new or("clipboardTextSerializer"),
|
|
23425
23428
|
props: {
|
|
23426
23429
|
clipboardTextSerializer: () => {
|
|
23427
23430
|
const { editor: t } = this, { state: e, schema: n } = t, { doc: r, selection: o } = e, { ranges: i } = o, A = Math.min(...i.map((u) => u.$from.pos)), a = Math.max(...i.map((u) => u.$to.pos)), l = ap(n);
|
|
@@ -23545,7 +23548,7 @@ const J0 = (t, e = {}) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
23545
23548
|
function Xl(t) {
|
|
23546
23549
|
return t instanceof Fe;
|
|
23547
23550
|
}
|
|
23548
|
-
function
|
|
23551
|
+
function dr(t = 0, e = 0, n = 0) {
|
|
23549
23552
|
return Math.min(Math.max(t, e), n);
|
|
23550
23553
|
}
|
|
23551
23554
|
function lp(t, e = null) {
|
|
@@ -23557,7 +23560,7 @@ function lp(t, e = null) {
|
|
|
23557
23560
|
if (e === "end")
|
|
23558
23561
|
return r;
|
|
23559
23562
|
const o = n.from, i = r.to;
|
|
23560
|
-
return e === "all" ? Fe.create(t,
|
|
23563
|
+
return e === "all" ? Fe.create(t, dr(0, o, i), dr(t.content.size, o, i)) : Fe.create(t, dr(e, o, i), dr(e, o, i));
|
|
23561
23564
|
}
|
|
23562
23565
|
function Zl() {
|
|
23563
23566
|
return [
|
|
@@ -23956,7 +23959,7 @@ function hp(t) {
|
|
|
23956
23959
|
return t instanceof Te;
|
|
23957
23960
|
}
|
|
23958
23961
|
function pp(t, e, n) {
|
|
23959
|
-
const o = t.state.doc.content.size, i =
|
|
23962
|
+
const o = t.state.doc.content.size, i = dr(e, 0, o), A = dr(n, 0, o), a = t.coordsAtPos(i), l = t.coordsAtPos(A, -1), c = Math.min(a.top, l.top), u = Math.max(a.bottom, l.bottom), d = Math.min(a.left, l.left), g = Math.max(a.right, l.right), f = g - d, m = u - c, x = {
|
|
23960
23963
|
top: c,
|
|
23961
23964
|
bottom: u,
|
|
23962
23965
|
left: d,
|
|
@@ -24021,13 +24024,13 @@ const OD = (t, e = {}) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
24021
24024
|
return i.isTextblock ? o().command(({ commands: A }) => _u(i, e)(n) ? !0 : A.clearNodes()).command(({ state: A }) => _u(i, e)(A, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
24022
24025
|
}, PD = (t) => ({ tr: e, dispatch: n }) => {
|
|
24023
24026
|
if (n) {
|
|
24024
|
-
const { doc: r } = e, o =
|
|
24027
|
+
const { doc: r } = e, o = dr(t, 0, r.content.size), i = Te.create(r, o);
|
|
24025
24028
|
e.setSelection(i);
|
|
24026
24029
|
}
|
|
24027
24030
|
return !0;
|
|
24028
24031
|
}, zD = (t) => ({ tr: e, dispatch: n }) => {
|
|
24029
24032
|
if (n) {
|
|
24030
|
-
const { doc: r } = e, { from: o, to: i } = typeof t == "number" ? { from: t, to: t } : t, A = Fe.atStart(r).from, a = Fe.atEnd(r).to, l =
|
|
24033
|
+
const { doc: r } = e, { from: o, to: i } = typeof t == "number" ? { from: t, to: t } : t, A = Fe.atStart(r).from, a = Fe.atEnd(r).to, l = dr(o, A, a), c = dr(i, A, a), u = Fe.create(r, l, c);
|
|
24031
24034
|
e.setSelection(u);
|
|
24032
24035
|
}
|
|
24033
24036
|
return !0;
|
|
@@ -24304,7 +24307,7 @@ const ZD = qt.create({
|
|
|
24304
24307
|
addProseMirrorPlugins() {
|
|
24305
24308
|
return [
|
|
24306
24309
|
new un({
|
|
24307
|
-
key: new
|
|
24310
|
+
key: new or("editable"),
|
|
24308
24311
|
props: {
|
|
24309
24312
|
editable: () => this.editor.options.editable
|
|
24310
24313
|
}
|
|
@@ -24317,7 +24320,7 @@ const ZD = qt.create({
|
|
|
24317
24320
|
const { editor: t } = this;
|
|
24318
24321
|
return [
|
|
24319
24322
|
new un({
|
|
24320
|
-
key: new
|
|
24323
|
+
key: new or("focusEvents"),
|
|
24321
24324
|
props: {
|
|
24322
24325
|
handleDOMEvents: {
|
|
24323
24326
|
focus: (e, n) => {
|
|
@@ -24390,7 +24393,7 @@ const ZD = qt.create({
|
|
|
24390
24393
|
// This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
|
|
24391
24394
|
// with many other commands.
|
|
24392
24395
|
new un({
|
|
24393
|
-
key: new
|
|
24396
|
+
key: new or("clearDocument"),
|
|
24394
24397
|
appendTransaction: (t, e, n) => {
|
|
24395
24398
|
if (!(t.some((m) => m.docChanged) && !e.doc.eq(n.doc)))
|
|
24396
24399
|
return;
|
|
@@ -24415,7 +24418,7 @@ const ZD = qt.create({
|
|
|
24415
24418
|
addProseMirrorPlugins() {
|
|
24416
24419
|
return [
|
|
24417
24420
|
new un({
|
|
24418
|
-
key: new
|
|
24421
|
+
key: new or("tabindex"),
|
|
24419
24422
|
props: {
|
|
24420
24423
|
attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
|
|
24421
24424
|
}
|
|
@@ -25127,7 +25130,7 @@ var An = "top", yn = "bottom", bn = "right", an = "left", $l = "auto", Cs = [An,
|
|
|
25127
25130
|
}, []), Cp = /* @__PURE__ */ [].concat(Cs, [$l]).reduce(function(t, e) {
|
|
25128
25131
|
return t.concat([e, e + "-" + oi, e + "-" + ts]);
|
|
25129
25132
|
}, []), aS = "beforeRead", lS = "read", cS = "afterRead", uS = "beforeMain", dS = "main", gS = "afterMain", hS = "beforeWrite", pS = "write", fS = "afterWrite", CS = [aS, lS, cS, uS, dS, gS, hS, pS, fS];
|
|
25130
|
-
function
|
|
25133
|
+
function rr(t) {
|
|
25131
25134
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
25132
25135
|
}
|
|
25133
25136
|
function pn(t) {
|
|
@@ -25157,7 +25160,7 @@ function mS(t) {
|
|
|
25157
25160
|
var e = t.state;
|
|
25158
25161
|
Object.keys(e.elements).forEach(function(n) {
|
|
25159
25162
|
var r = e.styles[n] || {}, o = e.attributes[n] || {}, i = e.elements[n];
|
|
25160
|
-
!wn(i) || !
|
|
25163
|
+
!wn(i) || !rr(i) || (Object.assign(i.style, r), Object.keys(o).forEach(function(A) {
|
|
25161
25164
|
var a = o[A];
|
|
25162
25165
|
a === !1 ? i.removeAttribute(A) : i.setAttribute(A, a === !0 ? "" : a);
|
|
25163
25166
|
}));
|
|
@@ -25181,7 +25184,7 @@ function IS(t) {
|
|
|
25181
25184
|
var o = e.elements[r], i = e.attributes[r] || {}, A = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : n[r]), a = A.reduce(function(l, c) {
|
|
25182
25185
|
return l[c] = "", l;
|
|
25183
25186
|
}, {});
|
|
25184
|
-
!wn(o) || !
|
|
25187
|
+
!wn(o) || !rr(o) || (Object.assign(o.style, a), Object.keys(i).forEach(function(l) {
|
|
25185
25188
|
o.removeAttribute(l);
|
|
25186
25189
|
}));
|
|
25187
25190
|
});
|
|
@@ -25251,7 +25254,7 @@ function fr(t) {
|
|
|
25251
25254
|
return pn(t).getComputedStyle(t);
|
|
25252
25255
|
}
|
|
25253
25256
|
function BS(t) {
|
|
25254
|
-
return ["table", "td", "th"].indexOf(
|
|
25257
|
+
return ["table", "td", "th"].indexOf(rr(t)) >= 0;
|
|
25255
25258
|
}
|
|
25256
25259
|
function jr(t) {
|
|
25257
25260
|
return ((Io(t) ? t.ownerDocument : (
|
|
@@ -25260,7 +25263,7 @@ function jr(t) {
|
|
|
25260
25263
|
)) || window.document).documentElement;
|
|
25261
25264
|
}
|
|
25262
25265
|
function OA(t) {
|
|
25263
|
-
return
|
|
25266
|
+
return rr(t) === "html" ? t : (
|
|
25264
25267
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
25265
25268
|
// $FlowFixMe[incompatible-return]
|
|
25266
25269
|
// $FlowFixMe[prop-missing]
|
|
@@ -25283,7 +25286,7 @@ function ES(t) {
|
|
|
25283
25286
|
return null;
|
|
25284
25287
|
}
|
|
25285
25288
|
var o = OA(t);
|
|
25286
|
-
for (ec(o) && (o = o.host); wn(o) && ["html", "body"].indexOf(
|
|
25289
|
+
for (ec(o) && (o = o.host); wn(o) && ["html", "body"].indexOf(rr(o)) < 0; ) {
|
|
25287
25290
|
var i = fr(o);
|
|
25288
25291
|
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
|
|
25289
25292
|
return o;
|
|
@@ -25294,7 +25297,7 @@ function ES(t) {
|
|
|
25294
25297
|
function ms(t) {
|
|
25295
25298
|
for (var e = pn(t), n = sd(t); n && BS(n) && fr(n).position === "static"; )
|
|
25296
25299
|
n = sd(n);
|
|
25297
|
-
return n && (
|
|
25300
|
+
return n && (rr(n) === "html" || rr(n) === "body" && fr(n).position === "static") ? e : n || ES(t) || e;
|
|
25298
25301
|
}
|
|
25299
25302
|
function nc(t) {
|
|
25300
25303
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
@@ -25517,7 +25520,7 @@ function ic(t) {
|
|
|
25517
25520
|
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
25518
25521
|
}
|
|
25519
25522
|
function wp(t) {
|
|
25520
|
-
return ["html", "body", "#document"].indexOf(
|
|
25523
|
+
return ["html", "body", "#document"].indexOf(rr(t)) >= 0 ? t.ownerDocument.body : wn(t) && ic(t) ? t : wp(OA(t));
|
|
25521
25524
|
}
|
|
25522
25525
|
function Ni(t, e) {
|
|
25523
25526
|
var n;
|
|
@@ -25546,7 +25549,7 @@ function ld(t, e, n) {
|
|
|
25546
25549
|
function FS(t) {
|
|
25547
25550
|
var e = Ni(OA(t)), n = ["absolute", "fixed"].indexOf(fr(t).position) >= 0, r = n && wn(t) ? ms(t) : t;
|
|
25548
25551
|
return Io(r) ? e.filter(function(o) {
|
|
25549
|
-
return Io(o) && Bp(o, r) &&
|
|
25552
|
+
return Io(o) && Bp(o, r) && rr(o) !== "body";
|
|
25550
25553
|
}) : [];
|
|
25551
25554
|
}
|
|
25552
25555
|
function NS(t, e, n, r) {
|
|
@@ -25854,7 +25857,7 @@ function rk(t, e, n) {
|
|
|
25854
25857
|
x: 0,
|
|
25855
25858
|
y: 0
|
|
25856
25859
|
};
|
|
25857
|
-
return (r || !r && !n) && ((
|
|
25860
|
+
return (r || !r && !n) && ((rr(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
25858
25861
|
ic(i)) && (a = tk(e)), wn(e) ? (l = si(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : i && (l.x = oc(i))), {
|
|
25859
25862
|
x: A.left + a.scrollLeft - l.x,
|
|
25860
25863
|
y: A.top + a.scrollTop - l.y,
|
|
@@ -26204,7 +26207,7 @@ process.env.NODE_ENV !== "production" && kk();
|
|
|
26204
26207
|
function kk() {
|
|
26205
26208
|
is = /* @__PURE__ */ new Set();
|
|
26206
26209
|
}
|
|
26207
|
-
function
|
|
26210
|
+
function lr(t, e) {
|
|
26208
26211
|
if (t && !is.has(e)) {
|
|
26209
26212
|
var n;
|
|
26210
26213
|
is.add(e), (n = console).warn.apply(n, Op(e));
|
|
@@ -26336,7 +26339,7 @@ function Pp(t, e) {
|
|
|
26336
26339
|
var o = hk(gn, Object.keys(Tp)), i = !gk(o, r);
|
|
26337
26340
|
i && (i = e.filter(function(A) {
|
|
26338
26341
|
return A.name === r;
|
|
26339
|
-
}).length === 0),
|
|
26342
|
+
}).length === 0), lr(i, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
26340
26343
|
|
|
26341
26344
|
`, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
26342
26345
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
@@ -26629,8 +26632,8 @@ function Fk(t, e) {
|
|
|
26629
26632
|
enabled: !0,
|
|
26630
26633
|
phase: "beforeWrite",
|
|
26631
26634
|
requires: ["computeStyles"],
|
|
26632
|
-
fn: function(
|
|
26633
|
-
var mn =
|
|
26635
|
+
fn: function(sr) {
|
|
26636
|
+
var mn = sr.state;
|
|
26634
26637
|
if (le()) {
|
|
26635
26638
|
var jn = K(), Kr = jn.box;
|
|
26636
26639
|
["placement", "reference-hidden", "escaped"].forEach(function(yo) {
|
|
@@ -26681,7 +26684,7 @@ function Fk(t, e) {
|
|
|
26681
26684
|
}
|
|
26682
26685
|
function ve() {
|
|
26683
26686
|
var te = v.props.appendTo, De, Re = Ie();
|
|
26684
|
-
v.props.interactive && te === Sp || te === "parent" ? De = Re.parentNode : De = kp(te, [Re]), De.contains(y) || De.appendChild(y), v.state.isMounted = !0, J(), process.env.NODE_ENV !== "production" &&
|
|
26687
|
+
v.props.interactive && te === Sp || te === "parent" ? De = Re.parentNode : De = kp(te, [Re]), De.contains(y) || De.appendChild(y), v.state.isMounted = !0, J(), process.env.NODE_ENV !== "production" && lr(v.props.interactive && te === gn.appendTo && Re.nextElementSibling !== y, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
26685
26688
|
|
|
26686
26689
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
26687
26690
|
|
|
@@ -26723,7 +26726,7 @@ function Fk(t, e) {
|
|
|
26723
26726
|
clearTimeout(r), clearTimeout(o), cancelAnimationFrame(i);
|
|
26724
26727
|
}
|
|
26725
26728
|
function vt(te) {
|
|
26726
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
26729
|
+
if (process.env.NODE_ENV !== "production" && lr(v.state.isDestroyed, Mo("setProps")), !v.state.isDestroyed) {
|
|
26727
26730
|
Ae("onBeforeUpdate", [v, te]), he();
|
|
26728
26731
|
var De = v.props, Re = Ed(t, Object.assign({}, De, fd(te), {
|
|
26729
26732
|
ignoreAttributes: !0
|
|
@@ -26741,7 +26744,7 @@ function Fk(t, e) {
|
|
|
26741
26744
|
});
|
|
26742
26745
|
}
|
|
26743
26746
|
function hi() {
|
|
26744
|
-
process.env.NODE_ENV !== "production" &&
|
|
26747
|
+
process.env.NODE_ENV !== "production" && lr(v.state.isDestroyed, Mo("show"));
|
|
26745
26748
|
var te = v.state.isVisible, De = v.state.isDestroyed, Re = !v.state.isEnabled, q = Un.isTouch && !v.props.touch, re = pa(v.props.duration, 0, gn.duration);
|
|
26746
26749
|
if (!(te || De || Re || q) && !Ie().hasAttribute("disabled") && (Ae("onShow", [v], !1), v.props.onShow(v) !== !1)) {
|
|
26747
26750
|
if (v.state.isVisible = !0, le() && (y.style.visibility = "visible"), X(), Y(), v.state.isMounted || (y.style.transition = "none"), le()) {
|
|
@@ -26752,8 +26755,8 @@ function Fk(t, e) {
|
|
|
26752
26755
|
var ht;
|
|
26753
26756
|
if (!(!v.state.isVisible || c)) {
|
|
26754
26757
|
if (c = !0, y.offsetHeight, y.style.transition = v.props.moveTransition, le() && v.props.animation) {
|
|
26755
|
-
var Dn = K(),
|
|
26756
|
-
fa([
|
|
26758
|
+
var Dn = K(), sr = Dn.box, mn = Dn.content;
|
|
26759
|
+
fa([sr, mn], re), Cd([sr, mn], "visible");
|
|
26757
26760
|
}
|
|
26758
26761
|
z(), N(), pd(ma, v), (ht = v.popperInstance) == null || ht.forceUpdate(), Ae("onMount", [v]), v.props.animation && le() && ge(re, function() {
|
|
26759
26762
|
v.state.isShown = !0, Ae("onShown", [v]);
|
|
@@ -26763,7 +26766,7 @@ function Fk(t, e) {
|
|
|
26763
26766
|
}
|
|
26764
26767
|
}
|
|
26765
26768
|
function wo() {
|
|
26766
|
-
process.env.NODE_ENV !== "production" &&
|
|
26769
|
+
process.env.NODE_ENV !== "production" && lr(v.state.isDestroyed, Mo("hide"));
|
|
26767
26770
|
var te = !v.state.isVisible, De = v.state.isDestroyed, Re = !v.state.isEnabled, q = pa(v.props.duration, 1, gn.duration);
|
|
26768
26771
|
if (!(te || De || Re) && (Ae("onHide", [v], !1), v.props.onHide(v) !== !1)) {
|
|
26769
26772
|
if (v.state.isVisible = !1, v.state.isShown = !1, c = !1, A = !1, le() && (y.style.visibility = "hidden"), W(), _(), X(!0), le()) {
|
|
@@ -26774,17 +26777,17 @@ function Fk(t, e) {
|
|
|
26774
26777
|
}
|
|
26775
26778
|
}
|
|
26776
26779
|
function pi(te) {
|
|
26777
|
-
process.env.NODE_ENV !== "production" &&
|
|
26780
|
+
process.env.NODE_ENV !== "production" && lr(v.state.isDestroyed, Mo("hideWithInteractivity")), H().addEventListener("mousemove", m), pd(ks, m), m(te);
|
|
26778
26781
|
}
|
|
26779
26782
|
function fi() {
|
|
26780
|
-
process.env.NODE_ENV !== "production" &&
|
|
26783
|
+
process.env.NODE_ENV !== "production" && lr(v.state.isDestroyed, Mo("unmount")), v.state.isVisible && v.hide(), v.state.isMounted && (de(), ze().forEach(function(te) {
|
|
26781
26784
|
te._tippy.unmount();
|
|
26782
26785
|
}), y.parentNode && y.parentNode.removeChild(y), ma = ma.filter(function(te) {
|
|
26783
26786
|
return te !== v;
|
|
26784
26787
|
}), v.state.isMounted = !1, Ae("onHidden", [v]));
|
|
26785
26788
|
}
|
|
26786
26789
|
function Ci() {
|
|
26787
|
-
process.env.NODE_ENV !== "production" &&
|
|
26790
|
+
process.env.NODE_ENV !== "production" && lr(v.state.isDestroyed, Mo("destroy")), !v.state.isDestroyed && (v.clearDelayTimeouts(), v.unmount(), he(), delete t._tippy, v.state.isDestroyed = !0, Ae("onDestroy", [v]));
|
|
26788
26791
|
}
|
|
26789
26792
|
}
|
|
26790
26793
|
function di(t, e) {
|
|
@@ -26796,7 +26799,7 @@ function di(t, e) {
|
|
|
26796
26799
|
}), o = Ek(t);
|
|
26797
26800
|
if (process.env.NODE_ENV !== "production") {
|
|
26798
26801
|
var i = rs(r.content), A = o.length > 1;
|
|
26799
|
-
|
|
26802
|
+
lr(i && A, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
26800
26803
|
|
|
26801
26804
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
26802
26805
|
|
|
@@ -26924,7 +26927,7 @@ class Nk {
|
|
|
26924
26927
|
}
|
|
26925
26928
|
}
|
|
26926
26929
|
const Lp = (t) => new un({
|
|
26927
|
-
key: typeof t.pluginKey == "string" ? new
|
|
26930
|
+
key: typeof t.pluginKey == "string" ? new or(t.pluginKey) : t.pluginKey,
|
|
26928
26931
|
view: (e) => new Nk({ view: e, ...t })
|
|
26929
26932
|
});
|
|
26930
26933
|
qt.create({
|
|
@@ -27016,7 +27019,7 @@ class Hk {
|
|
|
27016
27019
|
}
|
|
27017
27020
|
}
|
|
27018
27021
|
const Fp = (t) => new un({
|
|
27019
|
-
key: typeof t.pluginKey == "string" ? new
|
|
27022
|
+
key: typeof t.pluginKey == "string" ? new or(t.pluginKey) : t.pluginKey,
|
|
27020
27023
|
view: (e) => new Hk({ view: e, ...t })
|
|
27021
27024
|
});
|
|
27022
27025
|
qt.create({
|
|
@@ -27621,7 +27624,7 @@ const jk = (t = {}) => {
|
|
|
27621
27624
|
// this plugin creates a code block for pasted content from VS Code
|
|
27622
27625
|
// we can also detect the copied code language
|
|
27623
27626
|
new un({
|
|
27624
|
-
key: new
|
|
27627
|
+
key: new or("codeBlockVSCodeHandler"),
|
|
27625
27628
|
props: {
|
|
27626
27629
|
handlePaste: (t, e) => {
|
|
27627
27630
|
if (!e.clipboardData || this.editor.isActive(this.type.name))
|
|
@@ -28344,7 +28347,7 @@ function Ns(t) {
|
|
|
28344
28347
|
}
|
|
28345
28348
|
return Ba;
|
|
28346
28349
|
}
|
|
28347
|
-
const uo = new
|
|
28350
|
+
const uo = new or("history"), b1 = new or("closeHistory");
|
|
28348
28351
|
function x1(t = {}) {
|
|
28349
28352
|
return t = {
|
|
28350
28353
|
depth: t.depth || 100,
|
|
@@ -31329,7 +31332,7 @@ function ZT(t, e, n, r, o, i) {
|
|
|
31329
31332
|
class: "mr-2"
|
|
31330
31333
|
}),
|
|
31331
31334
|
h(a, {
|
|
31332
|
-
text: i.
|
|
31335
|
+
text: i.getMaxDEPoints,
|
|
31333
31336
|
size: "xs",
|
|
31334
31337
|
color: "quinary",
|
|
31335
31338
|
class: "text-right"
|
|
@@ -32250,7 +32253,7 @@ const AR = /* @__PURE__ */ se($4, [["render", sR]]), aR = {
|
|
|
32250
32253
|
function dR(t, e, n, r, o, i) {
|
|
32251
32254
|
return C(), I("div", lR, uR);
|
|
32252
32255
|
}
|
|
32253
|
-
const gR = /* @__PURE__ */ se(aR, [["render", dR]]),
|
|
32256
|
+
const gR = /* @__PURE__ */ se(aR, [["render", dR]]), ir = (t, e) => t.toLocaleLowerCase() === "admin" || t.toLocaleLowerCase() === "club" ? e ? [
|
|
32254
32257
|
{
|
|
32255
32258
|
id: "Settings",
|
|
32256
32259
|
label: "Settings",
|
|
@@ -32324,7 +32327,7 @@ const gR = /* @__PURE__ */ se(aR, [["render", dR]]), sr = (t, e) => t.toLocaleLo
|
|
|
32324
32327
|
data() {
|
|
32325
32328
|
return {
|
|
32326
32329
|
emptyDesertIcon: Vt,
|
|
32327
|
-
tabs:
|
|
32330
|
+
tabs: ir,
|
|
32328
32331
|
windowWidth: window.innerWidth,
|
|
32329
32332
|
label: "Sort by",
|
|
32330
32333
|
items: [
|
|
@@ -32347,25 +32350,28 @@ const gR = /* @__PURE__ */ se(aR, [["render", dR]]), sr = (t, e) => t.toLocaleLo
|
|
|
32347
32350
|
return this.windowWidth <= 748;
|
|
32348
32351
|
},
|
|
32349
32352
|
sortedPersons() {
|
|
32350
|
-
|
|
32351
|
-
|
|
32352
|
-
|
|
32353
|
+
if (console.log("Sorting by:", this.localSelectedItem.link), !Array.isArray(this.personsInTournament) || this.personsInTournament.length === 0)
|
|
32354
|
+
return console.warn("personsInTournament is empty or not an array"), [];
|
|
32355
|
+
let t = [...this.personsInTournament];
|
|
32356
|
+
return t.sort((e, n) => {
|
|
32357
|
+
var r, o, i, A, a, l, c, u;
|
|
32358
|
+
if (!e || !n || !e.Person || !n.Person)
|
|
32359
|
+
return console.warn("Undefined person object detected:", e, n), 0;
|
|
32360
|
+
switch (this.localSelectedItem.link) {
|
|
32353
32361
|
case "Seed":
|
|
32354
|
-
|
|
32355
|
-
return r - o;
|
|
32362
|
+
return (e.Seed || 0) - (n.Seed || 0);
|
|
32356
32363
|
case "FullName":
|
|
32357
|
-
|
|
32358
|
-
return i.localeCompare(A);
|
|
32364
|
+
return e.Person.DisplayName.localeCompare(n.Person.DisplayName);
|
|
32359
32365
|
case "HEMARating":
|
|
32360
|
-
const
|
|
32361
|
-
return (n.Person.HEMARatings[0] ?
|
|
32366
|
+
const d = ((o = (r = e.Person.HEMARatings) == null ? void 0 : r[0]) == null ? void 0 : o.Rating) || 0;
|
|
32367
|
+
return (((A = (i = n.Person.HEMARatings) == null ? void 0 : i[0]) == null ? void 0 : A.Rating) || 0) - d;
|
|
32362
32368
|
case "M2Rating":
|
|
32363
|
-
const
|
|
32364
|
-
return
|
|
32369
|
+
const f = ((l = (a = e.Person.M2Ratings) == null ? void 0 : a[0]) == null ? void 0 : l.Rating) || "U00", m = ((u = (c = n.Person.M2Ratings) == null ? void 0 : c[0]) == null ? void 0 : u.Rating) || "U00";
|
|
32370
|
+
return f.localeCompare(m);
|
|
32365
32371
|
default:
|
|
32366
|
-
return (
|
|
32372
|
+
return console.warn("Unknown sorting key:", this.localSelectedItem.link), 0;
|
|
32367
32373
|
}
|
|
32368
|
-
});
|
|
32374
|
+
}), console.log("Sorted array:", t.map((e) => e.Person.DisplayName)), t;
|
|
32369
32375
|
},
|
|
32370
32376
|
absent() {
|
|
32371
32377
|
return this.personsInTournament.filter((t) => t.Status === "Absent").length;
|
|
@@ -32376,7 +32382,7 @@ const gR = /* @__PURE__ */ se(aR, [["render", dR]]), sr = (t, e) => t.toLocaleLo
|
|
|
32376
32382
|
},
|
|
32377
32383
|
methods: {
|
|
32378
32384
|
handleSelectedItem(t) {
|
|
32379
|
-
this.localSelectedItem = t;
|
|
32385
|
+
this.localSelectedItem = t, console.log(this.localSelectedItem);
|
|
32380
32386
|
},
|
|
32381
32387
|
handleStatus(t) {
|
|
32382
32388
|
t.Status = t.Status === "Absent" ? "Present" : "Absent", this.$emit("update:person", t);
|
|
@@ -32459,8 +32465,7 @@ function bR(t, e, n, r, o, i) {
|
|
|
32459
32465
|
"onRemove:fencer": i.handleRemoveFencer,
|
|
32460
32466
|
"onUpdate:moveUp": i.handleMoveUp,
|
|
32461
32467
|
"onUpdate:moveDown": i.handleMoveDown
|
|
32462
|
-
}, null, 8, ["person", "isLast", "isEdit", "onUpdate:status", "onRemove:fencer", "onUpdate:moveUp", "onUpdate:moveDown"])
|
|
32463
|
-
er("` ")
|
|
32468
|
+
}, null, 8, ["person", "isLast", "isEdit", "onUpdate:status", "onRemove:fencer", "onUpdate:moveUp", "onUpdate:moveDown"])
|
|
32464
32469
|
]))), 256)),
|
|
32465
32470
|
!n.loading && n.personsInTournament.length === 0 ? (C(), I("div", vR, [
|
|
32466
32471
|
p("div", wR, [
|
|
@@ -33069,7 +33074,7 @@ const IP = /* @__PURE__ */ se(lP, [["render", mP]]), BP = {
|
|
|
33069
33074
|
data() {
|
|
33070
33075
|
return {
|
|
33071
33076
|
emptyDesertIcon: Vt,
|
|
33072
|
-
tabs:
|
|
33077
|
+
tabs: ir,
|
|
33073
33078
|
windowWidth: window.innerWidth,
|
|
33074
33079
|
selectedFlight: "Flight1"
|
|
33075
33080
|
};
|
|
@@ -33529,7 +33534,7 @@ const LA = /* @__PURE__ */ se(jP, [["render", VP]]), WP = {
|
|
|
33529
33534
|
data() {
|
|
33530
33535
|
return {
|
|
33531
33536
|
emptyDesertIcon: Vt,
|
|
33532
|
-
tabs:
|
|
33537
|
+
tabs: ir,
|
|
33533
33538
|
windowWidth: window.innerWidth,
|
|
33534
33539
|
viewName: "Staff List"
|
|
33535
33540
|
};
|
|
@@ -34403,6 +34408,10 @@ const sz = /* @__PURE__ */ se(V7, [["render", iz]]), Az = {
|
|
|
34403
34408
|
showSubmit: {
|
|
34404
34409
|
type: Boolean,
|
|
34405
34410
|
default: !1
|
|
34411
|
+
},
|
|
34412
|
+
clockStatus: {
|
|
34413
|
+
type: String,
|
|
34414
|
+
default: "stopped"
|
|
34406
34415
|
}
|
|
34407
34416
|
},
|
|
34408
34417
|
data() {
|
|
@@ -34421,6 +34430,11 @@ const sz = /* @__PURE__ */ se(V7, [["render", iz]]), Az = {
|
|
|
34421
34430
|
return this.running ? "running" : "paused";
|
|
34422
34431
|
}
|
|
34423
34432
|
},
|
|
34433
|
+
watch: {
|
|
34434
|
+
clockStatus(t) {
|
|
34435
|
+
t === "stopped" && this.stopTimer();
|
|
34436
|
+
}
|
|
34437
|
+
},
|
|
34424
34438
|
methods: {
|
|
34425
34439
|
startOrPause() {
|
|
34426
34440
|
this.emitTimeStateChange(), this.running ? clearInterval(this.timerInterval) : this.timerInterval = setInterval(() => {
|
|
@@ -34476,15 +34490,15 @@ function fz(t, e, n, r, o, i) {
|
|
|
34476
34490
|
h(a, {
|
|
34477
34491
|
text: n.ringName,
|
|
34478
34492
|
size: "xl",
|
|
34479
|
-
color: "quaternary",
|
|
34493
|
+
color: i.timerState === "running" ? "alarmText" : "quaternary",
|
|
34480
34494
|
weight: "bold"
|
|
34481
|
-
}, null, 8, ["text"])
|
|
34495
|
+
}, null, 8, ["text", "color"])
|
|
34482
34496
|
]),
|
|
34483
34497
|
h(a, {
|
|
34484
34498
|
text: i.formattedTime,
|
|
34485
34499
|
size: "5xl",
|
|
34486
34500
|
weight: "bold",
|
|
34487
|
-
color: i.timerState === "running" ? "
|
|
34501
|
+
color: i.timerState === "running" ? "alarmText" : "quaternary"
|
|
34488
34502
|
}, null, 8, ["text", "color"]),
|
|
34489
34503
|
h(l, {
|
|
34490
34504
|
label: i.timerState === "running" ? "Pause" : "Start",
|
|
@@ -34499,7 +34513,7 @@ function fz(t, e, n, r, o, i) {
|
|
|
34499
34513
|
"icon-name": "fa-square-chevron-up",
|
|
34500
34514
|
size: "5xl",
|
|
34501
34515
|
color: "quaternary",
|
|
34502
|
-
|
|
34516
|
+
onClick: e[2] || (e[2] = (c) => i.alterTime(1)),
|
|
34503
34517
|
class: "hover:text-quaternaryHighlight"
|
|
34504
34518
|
}),
|
|
34505
34519
|
p("div", pz, [
|
|
@@ -34513,7 +34527,7 @@ function fz(t, e, n, r, o, i) {
|
|
|
34513
34527
|
"icon-name": "fa-square-chevron-down",
|
|
34514
34528
|
size: "5xl",
|
|
34515
34529
|
color: "quaternary",
|
|
34516
|
-
|
|
34530
|
+
onClick: e[3] || (e[3] = (c) => i.alterTime(-1)),
|
|
34517
34531
|
class: "hover:text-quaternaryHighlight"
|
|
34518
34532
|
})
|
|
34519
34533
|
])
|
|
@@ -35296,7 +35310,7 @@ const rL = /* @__PURE__ */ se($z, [["render", nL]]), oL = {
|
|
|
35296
35310
|
this.localBout.TimeLeft = t, this.emitBout();
|
|
35297
35311
|
},
|
|
35298
35312
|
handleTimeStateChange(t) {
|
|
35299
|
-
this.localBout.TimeLeft = t.time, this.localBout.TimerStatus = t.running ? "running" : "stopped", this.emitBout();
|
|
35313
|
+
this.localBout.TimeLeft = t.time, this.localBout.TimerStatus = t.running ? "running" : "stopped", console.log(this.localBout.TimerStatus), this.emitBout();
|
|
35300
35314
|
},
|
|
35301
35315
|
updateScore1(t) {
|
|
35302
35316
|
this.localBout.Score1 = t, this.emitBout();
|
|
@@ -35314,7 +35328,7 @@ const rL = /* @__PURE__ */ se($z, [["render", nL]]), oL = {
|
|
|
35314
35328
|
this.localBout.CurrentPass = t, this.emitBout();
|
|
35315
35329
|
},
|
|
35316
35330
|
submitBout() {
|
|
35317
|
-
this.showSubmit && this.$emit("submit:bout", this.localBout);
|
|
35331
|
+
this.handleTimeStateChange({ time: this.localBout.TimeLeft, running: !1 }), this.showSubmit && this.$emit("submit:bout", this.localBout);
|
|
35318
35332
|
},
|
|
35319
35333
|
emitBout() {
|
|
35320
35334
|
this.localBout.Started === null && (this.localBout.Started = (/* @__PURE__ */ new Date()).toISOString());
|
|
@@ -35343,7 +35357,7 @@ const rL = /* @__PURE__ */ se($z, [["render", nL]]), oL = {
|
|
|
35343
35357
|
this.$emit("penalty:update", e), this.showPenaltyModal = !1;
|
|
35344
35358
|
},
|
|
35345
35359
|
handleAddPenalty(t) {
|
|
35346
|
-
|
|
35360
|
+
(t.penalty.PenaltyType === "Black" || t.penalty.PenaltyType === "Medical") && (this.showPenaltyConfirmationBox = !0);
|
|
35347
35361
|
const e = this.preparePenalty(t, t.fencer1);
|
|
35348
35362
|
this.$emit("penalty:add", e), this.showPenaltyModal = !1;
|
|
35349
35363
|
},
|
|
@@ -35370,9 +35384,10 @@ function sL(t, e, n, r, o, i) {
|
|
|
35370
35384
|
key: 0,
|
|
35371
35385
|
ringName: i.RingName,
|
|
35372
35386
|
initialTime: parseInt(i.startTime),
|
|
35387
|
+
clockStatus: o.localBout.TimerStatus,
|
|
35373
35388
|
"onUpdate:time": i.handleTimeChange,
|
|
35374
35389
|
"onUpdate:timeChange": i.handleTimeStateChange
|
|
35375
|
-
}, null, 8, ["ringName", "initialTime", "onUpdate:time", "onUpdate:timeChange"])) : b("", !0),
|
|
35390
|
+
}, null, 8, ["ringName", "initialTime", "clockStatus", "onUpdate:time", "onUpdate:timeChange"])) : b("", !0),
|
|
35376
35391
|
i.showPassesBox ? (C(), ne(l, {
|
|
35377
35392
|
key: 1,
|
|
35378
35393
|
bout: o.localBout,
|
|
@@ -36050,7 +36065,7 @@ const Zp = /* @__PURE__ */ se(SL, [["render", _L]]), $L = {
|
|
|
36050
36065
|
showEditBoutModal: !1,
|
|
36051
36066
|
selectedBout: {},
|
|
36052
36067
|
viewName: "Pool Grid",
|
|
36053
|
-
tabs:
|
|
36068
|
+
tabs: ir,
|
|
36054
36069
|
windowWidth: window.innerWidth
|
|
36055
36070
|
};
|
|
36056
36071
|
},
|
|
@@ -36095,7 +36110,7 @@ const Zp = /* @__PURE__ */ se(SL, [["render", _L]]), $L = {
|
|
|
36095
36110
|
return this.upcomingBouts.length;
|
|
36096
36111
|
},
|
|
36097
36112
|
markedUpcomingBouts() {
|
|
36098
|
-
const t = ["On Deck", "In The Hole"
|
|
36113
|
+
const t = ["Up Now", "On Deck", "In The Hole"];
|
|
36099
36114
|
return this.upcomingBouts.map((e, n) => n < t.length ? {
|
|
36100
36115
|
...e,
|
|
36101
36116
|
customStatus: t[n]
|
|
@@ -37108,7 +37123,7 @@ const CN = /* @__PURE__ */ se(AN, [["render", fN]]), mN = {
|
|
|
37108
37123
|
},
|
|
37109
37124
|
data() {
|
|
37110
37125
|
return {
|
|
37111
|
-
tabs:
|
|
37126
|
+
tabs: ir,
|
|
37112
37127
|
windowWidth: window.innerWidth,
|
|
37113
37128
|
initialCutoffIndex: 0,
|
|
37114
37129
|
showRemoveModal: !1,
|
|
@@ -38186,7 +38201,7 @@ const WN = /* @__PURE__ */ se(jN, [["render", VN], ["__scopeId", "data-v-8f60aeb
|
|
|
38186
38201
|
showDirectorModal: !1,
|
|
38187
38202
|
showEditBoutModal: !1,
|
|
38188
38203
|
selectedBout: {},
|
|
38189
|
-
tabs:
|
|
38204
|
+
tabs: ir,
|
|
38190
38205
|
viewName: "Tableau",
|
|
38191
38206
|
largeCards: !0,
|
|
38192
38207
|
boutsData: [...this.bouts],
|
|
@@ -38368,7 +38383,7 @@ const l8 = /* @__PURE__ */ se(XN, [["render", eH]]), tH = {
|
|
|
38368
38383
|
},
|
|
38369
38384
|
data() {
|
|
38370
38385
|
return {
|
|
38371
|
-
tabs:
|
|
38386
|
+
tabs: ir,
|
|
38372
38387
|
windowWidth: window.innerWidth,
|
|
38373
38388
|
viewName: "Edit"
|
|
38374
38389
|
};
|
|
@@ -38579,7 +38594,7 @@ const wH = /* @__PURE__ */ se(gH, [["render", vH]]), yH = {
|
|
|
38579
38594
|
data() {
|
|
38580
38595
|
return {
|
|
38581
38596
|
emptyDesertIcon: Vt,
|
|
38582
|
-
tabs:
|
|
38597
|
+
tabs: ir,
|
|
38583
38598
|
windowWidth: window.innerWidth
|
|
38584
38599
|
};
|
|
38585
38600
|
},
|
|
@@ -39279,7 +39294,7 @@ const Iq = /* @__PURE__ */ se(fq, [["render", mq]]), Bq = {
|
|
|
39279
39294
|
return {
|
|
39280
39295
|
emptyDesertIcon: Vt,
|
|
39281
39296
|
showModal: !1,
|
|
39282
|
-
tabs:
|
|
39297
|
+
tabs: ir,
|
|
39283
39298
|
windowWidth: window.innerWidth
|
|
39284
39299
|
};
|
|
39285
39300
|
},
|
|
@@ -40925,7 +40940,7 @@ const z2 = /* @__PURE__ */ se(M2, [["render", P2]]), L2 = {
|
|
|
40925
40940
|
emptyDesertIcon: Vt,
|
|
40926
40941
|
windowWidth: window.innerWidth,
|
|
40927
40942
|
detailsVisible: {},
|
|
40928
|
-
tabs:
|
|
40943
|
+
tabs: ir
|
|
40929
40944
|
};
|
|
40930
40945
|
},
|
|
40931
40946
|
computed: {
|
|
@@ -40950,7 +40965,7 @@ const z2 = /* @__PURE__ */ se(M2, [["render", P2]]), L2 = {
|
|
|
40950
40965
|
this.$emit("tab:menu-click", t);
|
|
40951
40966
|
},
|
|
40952
40967
|
penaltyRemoval(t) {
|
|
40953
|
-
|
|
40968
|
+
this.$emit("penalty:removal", t);
|
|
40954
40969
|
}
|
|
40955
40970
|
}
|
|
40956
40971
|
}, F2 = /* @__PURE__ */ p("div", { class: "md:p-4" }, null, -1), N2 = {
|