@26lights/orcha 0.37.54 → 0.37.55
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/orcha.cjs.js +2 -2
- package/dist/orcha.es.js +256 -256
- package/dist/orcha.umd.js +2 -2
- package/dist/src/types/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1260,8 +1260,8 @@ const ye = /* @__PURE__ */ x({
|
|
|
1260
1260
|
} : {
|
|
1261
1261
|
click: y,
|
|
1262
1262
|
focus: y
|
|
1263
|
-
} : {}), f = i((g,
|
|
1264
|
-
const m =
|
|
1263
|
+
} : {}), f = i((g, k) => {
|
|
1264
|
+
const m = k.target.value;
|
|
1265
1265
|
e("update:title", m);
|
|
1266
1266
|
}), d = r(), h = async () => {
|
|
1267
1267
|
s.value && o(!1);
|
|
@@ -1275,7 +1275,7 @@ const ye = /* @__PURE__ */ x({
|
|
|
1275
1275
|
(g) => {
|
|
1276
1276
|
g || d();
|
|
1277
1277
|
}
|
|
1278
|
-
), (g,
|
|
1278
|
+
), (g, k) => (p(), P(ht(c.value), He({
|
|
1279
1279
|
id: g.id,
|
|
1280
1280
|
ref_key: "target",
|
|
1281
1281
|
ref: n,
|
|
@@ -1599,8 +1599,8 @@ function Vs(t, e) {
|
|
|
1599
1599
|
w.setUTCFullYear(f + 1, 0, h), w.setUTCHours(0, 0, 0, 0);
|
|
1600
1600
|
var y = Pa(w, e), g = /* @__PURE__ */ new Date(0);
|
|
1601
1601
|
g.setUTCFullYear(f, 0, h), g.setUTCHours(0, 0, 0, 0);
|
|
1602
|
-
var
|
|
1603
|
-
return u.getTime() >= y.getTime() ? f + 1 : u.getTime() >=
|
|
1602
|
+
var k = Pa(g, e);
|
|
1603
|
+
return u.getTime() >= y.getTime() ? f + 1 : u.getTime() >= k.getTime() ? f : f - 1;
|
|
1604
1604
|
}
|
|
1605
1605
|
function J2(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, l, c;
|
|
@@ -2722,12 +2722,12 @@ var K0 = {
|
|
|
2722
2722
|
const Rs = K0;
|
|
2723
2723
|
var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Q0 = /^'([^]*?)'?$/, J0 = /''/g, e3 = /[a-zA-Z]/;
|
|
2724
2724
|
function Ns(t, e, a) {
|
|
2725
|
-
var n, s, o, i, r, l, c, u, f, d, h, w, y, g,
|
|
2725
|
+
var n, s, o, i, r, l, c, u, f, d, h, w, y, g, k, _, m, D;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
2727
|
var I = String(e), L = va(), U = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : Rs, Z = Qe((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = L.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(Z >= 1 && Z <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
|
-
var Y = Qe((h = (w = (y = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || (
|
|
2730
|
+
var Y = Qe((h = (w = (y = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || (k = a.locale) === null || k === void 0 || (_ = k.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && y !== void 0 ? y : L.weekStartsOn) !== null && w !== void 0 ? w : (m = L.locale) === null || m === void 0 || (D = m.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2731
2731
|
if (!(Y >= 0 && Y <= 6))
|
|
2732
2732
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2733
2733
|
if (!U.localize)
|
|
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
|
|
|
2745
2745
|
}, oe = I.match(X0).map(function(ne) {
|
|
2746
2746
|
var O = ne[0];
|
|
2747
2747
|
if (O === "p" || O === "P") {
|
|
2748
|
-
var
|
|
2749
|
-
return
|
|
2748
|
+
var S = r0[O];
|
|
2749
|
+
return S(ne, U.formatLong);
|
|
2750
2750
|
}
|
|
2751
2751
|
return ne;
|
|
2752
2752
|
}).join("").match(G0).map(function(ne) {
|
|
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
|
|
|
2755
2755
|
var O = ne[0];
|
|
2756
2756
|
if (O === "'")
|
|
2757
2757
|
return t3(ne);
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(ne) && ds(ne, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(ne) && ds(ne, e, String(t)),
|
|
2758
|
+
var S = s0[O];
|
|
2759
|
+
if (S)
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(ne) && ds(ne, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(ne) && ds(ne, e, String(t)), S(N, ne, U.localize, W);
|
|
2761
2761
|
if (O.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + O + "`");
|
|
2763
2763
|
return ne;
|
|
@@ -2771,7 +2771,7 @@ function t3(t) {
|
|
|
2771
2771
|
function a3(t, e, a) {
|
|
2772
2772
|
var n, s, o, i, r, l, c, u, f, d;
|
|
2773
2773
|
ge(2, arguments);
|
|
2774
|
-
var h = be(t), w = be(e), y = va(), g = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : y.locale) !== null && n !== void 0 ? n : Rs,
|
|
2774
|
+
var h = be(t), w = be(e), y = va(), g = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : y.locale) !== null && n !== void 0 ? n : Rs, k = Qe((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : y.weekStartsOn) !== null && i !== void 0 ? i : (f = y.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2775
2775
|
if (!g.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
2777
|
if (!g.formatLong)
|
|
@@ -2785,11 +2785,11 @@ function a3(t, e, a) {
|
|
|
2785
2785
|
_ < -6 ? m = "other" : _ < -1 ? m = "lastWeek" : _ < 0 ? m = "yesterday" : _ < 1 ? m = "today" : _ < 2 ? m = "tomorrow" : _ < 7 ? m = "nextWeek" : m = "other";
|
|
2786
2786
|
var D = gn(h, ra(h)), I = gn(w, ra(w)), L = g.formatRelative(m, D, I, {
|
|
2787
2787
|
locale: g,
|
|
2788
|
-
weekStartsOn:
|
|
2788
|
+
weekStartsOn: k
|
|
2789
2789
|
});
|
|
2790
2790
|
return Ns(h, L, {
|
|
2791
2791
|
locale: g,
|
|
2792
|
-
weekStartsOn:
|
|
2792
|
+
weekStartsOn: k
|
|
2793
2793
|
});
|
|
2794
2794
|
}
|
|
2795
2795
|
function la(t, e) {
|
|
@@ -4348,13 +4348,13 @@ const E5 = async (t, e, a) => {
|
|
|
4348
4348
|
for (let y = 0; y < r.length; y++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: g,
|
|
4351
|
-
fn:
|
|
4351
|
+
fn: k
|
|
4352
4352
|
} = r[y], {
|
|
4353
4353
|
x: _,
|
|
4354
4354
|
y: m,
|
|
4355
4355
|
data: D,
|
|
4356
4356
|
reset: I
|
|
4357
|
-
} = await
|
|
4357
|
+
} = await k({
|
|
4358
4358
|
x: u,
|
|
4359
4359
|
y: f,
|
|
4360
4360
|
initialPlacement: n,
|
|
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: h = 0
|
|
4413
|
-
} = Ln(e, t), w = O5(h), g = r[d ? f === "floating" ? "reference" : "floating" : f],
|
|
4413
|
+
} = Ln(e, t), w = O5(h), g = r[d ? f === "floating" ? "reference" : "floating" : f], k = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(g))) == null || a ? g : g.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4431,10 +4431,10 @@ async function Ks(t, e) {
|
|
|
4431
4431
|
strategy: l
|
|
4432
4432
|
}) : _);
|
|
4433
4433
|
return {
|
|
4434
|
-
top: (
|
|
4435
|
-
bottom: (I.bottom -
|
|
4436
|
-
left: (
|
|
4437
|
-
right: (I.right -
|
|
4434
|
+
top: (k.top - I.top + w.top) / D.y,
|
|
4435
|
+
bottom: (I.bottom - k.bottom + w.bottom) / D.y,
|
|
4436
|
+
left: (k.left - I.left + w.left) / D.x,
|
|
4437
|
+
right: (I.right - k.right + w.right) / D.x
|
|
4438
4438
|
};
|
|
4439
4439
|
}
|
|
4440
4440
|
const I5 = function(t) {
|
|
@@ -4461,11 +4461,11 @@ const I5 = function(t) {
|
|
|
4461
4461
|
} = Ln(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
|
-
const
|
|
4464
|
+
const k = Ft(s), _ = Ft(r) === r, m = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !y ? [Ba(r)] : S5(r));
|
|
4465
4465
|
!d && w !== "none" && D.push(...M5(r, y, w, m));
|
|
4466
4466
|
const I = [r, ...D], L = await Ks(e, g), U = [];
|
|
4467
4467
|
let Z = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
|
-
if (u && U.push(L[
|
|
4468
|
+
if (u && U.push(L[k]), f) {
|
|
4469
4469
|
const N = k5(s, i, m);
|
|
4470
4470
|
U.push(L[N[0]], L[N[1]]);
|
|
4471
4471
|
}
|
|
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
|
|
|
4490
4490
|
switch (h) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var K;
|
|
4493
|
-
const ne = (K = Z.map((O) => [O.placement, O.overflows.filter((
|
|
4493
|
+
const ne = (K = Z.map((O) => [O.placement, O.overflows.filter((S) => S > 0).reduce((S, F) => S + F, 0)]).sort((O, S) => O[1] - S[1])[0]) == null ? void 0 : K[0];
|
|
4494
4494
|
ne && (oe = ne);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
@@ -4528,11 +4528,11 @@ const I5 = function(t) {
|
|
|
4528
4528
|
} = n.floating;
|
|
4529
4529
|
let w, y;
|
|
4530
4530
|
c === "top" || c === "bottom" ? (w = c, y = u === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (y = c, w = u === "end" ? "top" : "bottom");
|
|
4531
|
-
const g = h - l[w],
|
|
4532
|
-
let m = g, D =
|
|
4531
|
+
const g = h - l[w], k = d - l[y], _ = !e.middlewareData.shift;
|
|
4532
|
+
let m = g, D = k;
|
|
4533
4533
|
if (f) {
|
|
4534
4534
|
const L = d - l.left - l.right;
|
|
4535
|
-
D = u || _ ? ua(
|
|
4535
|
+
D = u || _ ? ua(k, L) : L;
|
|
4536
4536
|
} else {
|
|
4537
4537
|
const L = h - l.top - l.bottom;
|
|
4538
4538
|
m = u || _ ? ua(g, L) : L;
|
|
@@ -4693,7 +4693,7 @@ function St(t, e, a, n) {
|
|
|
4693
4693
|
const d = ke(o), h = n && et(n) ? ke(n) : n;
|
|
4694
4694
|
let w = d.frameElement;
|
|
4695
4695
|
for (; w && n && h !== d; ) {
|
|
4696
|
-
const y = Vt(w), g = w.getBoundingClientRect(),
|
|
4696
|
+
const y = Vt(w), g = w.getBoundingClientRect(), k = Ve(w), _ = g.left + (w.clientLeft + parseFloat(k.paddingLeft)) * y.x, m = g.top + (w.clientTop + parseFloat(k.paddingTop)) * y.y;
|
|
4697
4697
|
l *= y.x, c *= y.y, u *= y.x, f *= y.y, l += _, c += m, w = ke(w).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
@@ -4943,15 +4943,15 @@ function G5(t, e, a, n) {
|
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
4945
|
} = n, c = Vn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
|
-
u.forEach((
|
|
4947
|
-
s &&
|
|
4946
|
+
u.forEach((k) => {
|
|
4947
|
+
s && k.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
4949
|
-
}), o &&
|
|
4949
|
+
}), o && k.addEventListener("resize", a);
|
|
4950
4950
|
});
|
|
4951
4951
|
const f = c && r ? K5(c, a) : null;
|
|
4952
4952
|
let d = -1, h = null;
|
|
4953
|
-
i && (h = new ResizeObserver((
|
|
4954
|
-
let [_] =
|
|
4953
|
+
i && (h = new ResizeObserver((k) => {
|
|
4954
|
+
let [_] = k;
|
|
4955
4955
|
_ && _.target === c && h && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
4956
4956
|
h && h.observe(e);
|
|
4957
4957
|
})), a();
|
|
@@ -4959,12 +4959,12 @@ function G5(t, e, a, n) {
|
|
|
4959
4959
|
let w, y = l ? St(t) : null;
|
|
4960
4960
|
l && g();
|
|
4961
4961
|
function g() {
|
|
4962
|
-
const
|
|
4963
|
-
y && (
|
|
4962
|
+
const k = St(t);
|
|
4963
|
+
y && (k.x !== y.x || k.y !== y.y || k.width !== y.width || k.height !== y.height) && a(), y = k, w = requestAnimationFrame(g);
|
|
4964
4964
|
}
|
|
4965
4965
|
return a(), () => {
|
|
4966
|
-
u.forEach((
|
|
4967
|
-
s &&
|
|
4966
|
+
u.forEach((k) => {
|
|
4967
|
+
s && k.removeEventListener("scroll", a), o && k.removeEventListener("resize", a);
|
|
4968
4968
|
}), f && f(), h && h.disconnect(), h = null, l && cancelAnimationFrame(w);
|
|
4969
4969
|
};
|
|
4970
4970
|
}
|
|
@@ -5138,7 +5138,7 @@ function i7(t, e, a) {
|
|
|
5138
5138
|
object: w,
|
|
5139
5139
|
loading: y,
|
|
5140
5140
|
delay: g,
|
|
5141
|
-
resolveOnLoad:
|
|
5141
|
+
resolveOnLoad: k,
|
|
5142
5142
|
minChars: _,
|
|
5143
5143
|
filterResults: m,
|
|
5144
5144
|
clearOnSearch: D,
|
|
@@ -5154,7 +5154,7 @@ function i7(t, e, a) {
|
|
|
5154
5154
|
groups: oe,
|
|
5155
5155
|
reverse: ne,
|
|
5156
5156
|
infinite: O,
|
|
5157
|
-
groupOptions:
|
|
5157
|
+
groupOptions: S,
|
|
5158
5158
|
groupHideEmpty: F,
|
|
5159
5159
|
groupSelect: V,
|
|
5160
5160
|
onCreate: se,
|
|
@@ -5166,7 +5166,7 @@ function i7(t, e, a) {
|
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((re) => {
|
|
5169
|
-
dn(re[
|
|
5169
|
+
dn(re[S.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, re[b.value] ? { [b.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
@@ -5188,14 +5188,14 @@ function i7(t, e, a) {
|
|
|
5188
5188
|
[];
|
|
5189
5189
|
return it.value.length && $.push({
|
|
5190
5190
|
[Z.value]: " ",
|
|
5191
|
-
[
|
|
5191
|
+
[S.value]: [...it.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = A(() => {
|
|
5195
5195
|
let $ = [..._t.value].map((B) => ({ ...B }));
|
|
5196
|
-
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][
|
|
5196
|
+
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][S.value] = [...Ot.value, ...$[0][S.value]] : $ = [{
|
|
5197
5197
|
[Z.value]: " ",
|
|
5198
|
-
[
|
|
5198
|
+
[S.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
5201
|
}), sn = A(() => {
|
|
@@ -5204,12 +5204,12 @@ function i7(t, e, a) {
|
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Ai(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, re) => {
|
|
5207
|
-
const me = dn(B[
|
|
5207
|
+
const me = dn(B[S.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: re,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[
|
|
5212
|
+
[S.value]: cn(me, !1).map((bt) => Object.assign({}, bt, B[b.value] ? { [b.value]: !0 } : {})),
|
|
5213
5213
|
__VISIBLE__: cn(me).map((bt) => Object.assign({}, bt, B[b.value] ? { [b.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
@@ -5268,7 +5268,7 @@ function i7(t, e, a) {
|
|
|
5268
5268
|
we(hi.value), e.emit("clear", ie);
|
|
5269
5269
|
}, ze = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
|
-
return s.value === "single" ? !1 : wi($[
|
|
5271
|
+
return s.value === "single" ? !1 : wi($[S.value]) && $[S.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
return !je(q.value) && q.value[L.value] == $[L.value];
|
|
@@ -5324,8 +5324,8 @@ function i7(t, e, a) {
|
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
|
-
bi($[
|
|
5328
|
-
$[
|
|
5327
|
+
bi($[S.value]) ? It($[S.value]) : Et(
|
|
5328
|
+
$[S.value].filter((B) => q.value.map((re) => re[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[b.value]).filter((B, re) => q.value.length + 1 + re <= E.value || E.value === -1)
|
|
5329
5329
|
), r.value && Kt.value && Gt(sn.value.filter((B) => !B[b.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
@@ -5338,7 +5338,7 @@ function i7(t, e, a) {
|
|
|
5338
5338
|
}, bi = ($) => $.find((B) => !ze(B) && !B[b.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[L.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((re) => (parseInt(B[re]) == B[re] ? parseInt(B[re]) : B[re]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Ai = ($) => F.value ? $.filter(
|
|
5341
|
-
(B) => G.value ? B.__VISIBLE__.length : B[
|
|
5341
|
+
(B) => G.value ? B.__VISIBLE__.length : B[S.value].length
|
|
5342
5342
|
) : $.filter((B) => G.value ? B.__VISIBLE__.length : !0), cn = ($, B = !0) => {
|
|
5343
5343
|
let re = $;
|
|
5344
5344
|
if (G.value && m.value) {
|
|
@@ -5407,7 +5407,7 @@ function i7(t, e, a) {
|
|
|
5407
5407
|
};
|
|
5408
5408
|
if (s.value !== "single" && !je(H.value) && !Array.isArray(H.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ?
|
|
5410
|
+
return n && typeof n.value == "function" ? k.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), g.value > -1 && ss(), de(g, ($, B) => {
|
|
5411
5411
|
Be.value && Be.value(), $ >= 0 && ss();
|
|
5412
5412
|
}), de(H, ($) => {
|
|
5413
5413
|
if (je($)) {
|
|
@@ -5424,7 +5424,7 @@ function i7(t, e, a) {
|
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
|
-
typeof t.options == "function" ?
|
|
5427
|
+
typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(q.value).length || $a(), pn());
|
|
5428
5428
|
}), de(u, pn), de(i, ($, B) => {
|
|
5429
5429
|
qe.value = O.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
@@ -5472,50 +5472,50 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: f
|
|
5475
|
-
} = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, y = a.handleGroupClick, g = a.search,
|
|
5476
|
-
const H = Y.value ?
|
|
5475
|
+
} = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, y = a.handleGroupClick, g = a.search, k = a.pointer, _ = a.setPointer, m = a.clearPointer, D = a.multiselect, I = a.isOpen, L = A(() => d.value.filter((H) => !H[u.value])), U = A(() => h.value.filter((H) => !H[u.value])), Z = A(() => l.value !== "single" && c.value), Y = A(() => k.value && k.value.group), E = A(() => ie(k.value)), K = A(() => {
|
|
5476
|
+
const H = Y.value ? k.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
|
-
ie(
|
|
5478
|
+
ie(k.value)
|
|
5479
5479
|
), G = U.value.map((we) => we[i.value]).indexOf(H[i.value]);
|
|
5480
5480
|
let ve = U.value[G - 1];
|
|
5481
5481
|
return ve === void 0 && (ve = W.value), ve;
|
|
5482
5482
|
}), N = A(() => {
|
|
5483
|
-
let H = U.value.map((G) => G.label).indexOf(Y.value ?
|
|
5483
|
+
let H = U.value.map((G) => G.label).indexOf(Y.value ? k.value[i.value] : ie(k.value)[i.value]) + 1;
|
|
5484
5484
|
return U.value.length <= H && (H = 0), U.value[H];
|
|
5485
|
-
}), W = A(() => [...U.value].slice(-1)[0]), oe = A(() =>
|
|
5485
|
+
}), W = A(() => [...U.value].slice(-1)[0]), oe = A(() => k.value.__VISIBLE__.filter((H) => !H[u.value])[0]), ne = A(() => {
|
|
5486
5486
|
const H = E.value.__VISIBLE__.filter((G) => !G[u.value]);
|
|
5487
|
-
return H[H.map((G) => G[n.value]).indexOf(
|
|
5487
|
+
return H[H.map((G) => G[n.value]).indexOf(k.value[n.value]) - 1];
|
|
5488
5488
|
}), O = A(() => {
|
|
5489
|
-
const H = ie(
|
|
5490
|
-
return H[H.map((G) => G[n.value]).indexOf(
|
|
5491
|
-
}),
|
|
5489
|
+
const H = ie(k.value).__VISIBLE__.filter((G) => !G[u.value]);
|
|
5490
|
+
return H[H.map((G) => G[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5491
|
+
}), S = A(() => [...K.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), F = A(() => [...W.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), V = (H) => k.value && (!H.group && k.value[n.value] === H[n.value] || H.group !== void 0 && k.value[i.value] === H[i.value]) ? !0 : void 0, se = () => {
|
|
5492
5492
|
_(L.value[0] || null);
|
|
5493
5493
|
}, b = () => {
|
|
5494
|
-
!
|
|
5494
|
+
!k.value || k.value[u.value] === !0 || (Y.value ? y(k.value) : w(k.value));
|
|
5495
5495
|
}, R = () => {
|
|
5496
|
-
if (
|
|
5496
|
+
if (k.value === null)
|
|
5497
5497
|
_((r.value && Z.value ? U.value[0].__CREATE__ ? L.value[0] : U.value[0] : L.value[0]) || null);
|
|
5498
5498
|
else if (r.value && Z.value) {
|
|
5499
5499
|
let H = Y.value ? oe.value : O.value;
|
|
5500
5500
|
H === void 0 && (H = N.value, H.__CREATE__ && (H = H[f.value][0])), _(H || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
5503
|
-
let H = L.value.map((G) => G[n.value]).indexOf(
|
|
5503
|
+
let H = L.value.map((G) => G[n.value]).indexOf(k.value[n.value]) + 1;
|
|
5504
5504
|
L.value.length <= H && (H = 0), _(L.value[H] || null);
|
|
5505
5505
|
}
|
|
5506
5506
|
De(() => {
|
|
5507
5507
|
q();
|
|
5508
5508
|
});
|
|
5509
5509
|
}, le = () => {
|
|
5510
|
-
if (
|
|
5510
|
+
if (k.value === null) {
|
|
5511
5511
|
let H = L.value[L.value.length - 1];
|
|
5512
5512
|
r.value && Z.value && (H = F.value, H === void 0 && (H = W.value)), _(H || null);
|
|
5513
5513
|
} else if (r.value && Z.value) {
|
|
5514
|
-
let H = Y.value ?
|
|
5515
|
-
H === void 0 && (H = Y.value ? K.value : E.value, H.__CREATE__ && (H =
|
|
5514
|
+
let H = Y.value ? S.value : ne.value;
|
|
5515
|
+
H === void 0 && (H = Y.value ? K.value : E.value, H.__CREATE__ && (H = S.value, H === void 0 && (H = K.value))), _(H || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
|
-
let H = L.value.map((G) => G[n.value]).indexOf(
|
|
5518
|
+
let H = L.value.map((G) => G[n.value]).indexOf(k.value[n.value]) - 1;
|
|
5519
5519
|
H < 0 && (H = L.value.length - 1), _(L.value[H] || null);
|
|
5520
5520
|
}
|
|
5521
5521
|
De(() => {
|
|
@@ -5541,7 +5541,7 @@ function o7(t, e, a) {
|
|
|
5541
5541
|
});
|
|
5542
5542
|
}
|
|
5543
5543
|
}), {
|
|
5544
|
-
pointer:
|
|
5544
|
+
pointer: k,
|
|
5545
5545
|
canPointGroups: Z,
|
|
5546
5546
|
isPointed: V,
|
|
5547
5547
|
setPointerFirst: se,
|
|
@@ -5909,16 +5909,16 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Un(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, y = a.padding, g = y === void 0 ? 0 : y,
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, y = a.padding, g = y === void 0 ? 0 : y, k = V7(typeof g != "number" ? g : B7(g, an)), _ = d === sa ? v7 : sa, m = t.rects.popper, D = t.elements[w ? _ : d], I = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), L = Wt(t.elements.reference), U = li({
|
|
5913
5913
|
reference: L,
|
|
5914
5914
|
element: m,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
5917
|
}), Z = bn(Object.assign({}, m, U)), Y = d === sa ? Z : L, E = {
|
|
5918
|
-
top: I.top - Y.top +
|
|
5919
|
-
bottom: Y.bottom - I.bottom +
|
|
5920
|
-
left: I.left - Y.left +
|
|
5921
|
-
right: Y.right - I.right +
|
|
5918
|
+
top: I.top - Y.top + k.top,
|
|
5919
|
+
bottom: Y.bottom - I.bottom + k.bottom,
|
|
5920
|
+
left: I.left - Y.left + k.left,
|
|
5921
|
+
right: Y.right - I.right + k.right
|
|
5922
5922
|
}, K = t.modifiersData.offset;
|
|
5923
5923
|
if (d === sa && K) {
|
|
5924
5924
|
var N = K[s];
|
|
@@ -5959,8 +5959,8 @@ function R7(t) {
|
|
|
5959
5959
|
styles: {}
|
|
5960
5960
|
}, f = [], d = !1, h = {
|
|
5961
5961
|
state: u,
|
|
5962
|
-
setOptions: function(
|
|
5963
|
-
var _ = typeof
|
|
5962
|
+
setOptions: function(k) {
|
|
5963
|
+
var _ = typeof k == "function" ? k(u.options) : k;
|
|
5964
5964
|
y(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5965
5965
|
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5966
5966
|
popper: ia(l)
|
|
@@ -5977,7 +5977,7 @@ function R7(t) {
|
|
|
5977
5977
|
// prefer the async Popper#update method
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!d) {
|
|
5980
|
-
var
|
|
5980
|
+
var k = u.elements, _ = k.reference, m = k.popper;
|
|
5981
5981
|
if (ws(_, m)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: c7(_, tn(m), u.options.strategy === "fixed"),
|
|
@@ -6019,11 +6019,11 @@ function R7(t) {
|
|
|
6019
6019
|
});
|
|
6020
6020
|
function w() {
|
|
6021
6021
|
u.orderedModifiers.forEach(function(g) {
|
|
6022
|
-
var
|
|
6022
|
+
var k = g.name, _ = g.options, m = _ === void 0 ? {} : _, D = g.effect;
|
|
6023
6023
|
if (typeof D == "function") {
|
|
6024
6024
|
var I = D({
|
|
6025
6025
|
state: u,
|
|
6026
|
-
name:
|
|
6026
|
+
name: k,
|
|
6027
6027
|
instance: h,
|
|
6028
6028
|
options: m
|
|
6029
6029
|
}), L = function() {
|
|
@@ -6099,7 +6099,7 @@ function $s(t) {
|
|
|
6099
6099
|
y
|
|
6100
6100
|
};
|
|
6101
6101
|
h = g.x, y = g.y;
|
|
6102
|
-
var
|
|
6102
|
+
var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), m = Ge, D = Re, I = window;
|
|
6103
6103
|
if (c) {
|
|
6104
6104
|
var L = tn(a), U = "clientHeight", Z = "clientWidth";
|
|
6105
6105
|
if (L === Se(a) && (L = gt(a), tt(L).position !== "static" && r === "absolute" && (U = "scrollHeight", Z = "scrollWidth")), L = L, s === Re || (s === Ge || s === vt) && o === da) {
|
|
@@ -6130,9 +6130,9 @@ function $s(t) {
|
|
|
6130
6130
|
};
|
|
6131
6131
|
if (h = N.x, y = N.y, l) {
|
|
6132
6132
|
var W;
|
|
6133
|
-
return Object.assign({}, K, (W = {}, W[D] = _ ? "0" : "", W[m] =
|
|
6133
|
+
return Object.assign({}, K, (W = {}, W[D] = _ ? "0" : "", W[m] = k ? "0" : "", W.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", W));
|
|
6134
6134
|
}
|
|
6135
|
-
return Object.assign({}, K, (e = {}, e[D] = _ ? y + "px" : "", e[m] =
|
|
6135
|
+
return Object.assign({}, K, (e = {}, e[D] = _ ? y + "px" : "", e[m] = k ? h + "px" : "", e.transform = "", e));
|
|
6136
6136
|
}
|
|
6137
6137
|
function q7(t) {
|
|
6138
6138
|
var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, l = r === void 0 ? !0 : r, c = {
|
|
@@ -6224,7 +6224,7 @@ function ep(t) {
|
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
6226
6226
|
altBoundary: u
|
|
6227
|
-
}),
|
|
6227
|
+
}), k = ct(e.placement), _ = zt(e.placement), m = !_, D = ri(k), I = Q7(D), L = e.modifiersData.popperOffsets, U = e.rects.reference, Z = e.rects.popper, Y = typeof y == "function" ? y(Object.assign({}, e.rects, {
|
|
6228
6228
|
placement: e.placement
|
|
6229
6229
|
})) : y, E = typeof Y == "number" ? {
|
|
6230
6230
|
mainAxis: Y,
|
|
@@ -6238,14 +6238,14 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (L) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var W, oe = D === "y" ? Re : Ge, ne = D === "y" ? We : vt, O = D === "y" ? "height" : "width",
|
|
6241
|
+
var W, oe = D === "y" ? Re : Ge, ne = D === "y" ? We : vt, O = D === "y" ? "height" : "width", S = L[D], F = S + g[oe], V = S - g[ne], se = h ? -Z[O] / 2 : 0, b = _ === qt ? U[O] : Z[O], R = _ === qt ? -Z[O] : -U[O], le = e.elements.arrow, ie = h && le ? si(le) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[oe], G = q[ne], ve = Ia(0, U[O], ie[O]), we = m ? U[O] / 2 - se - ve - H - E.mainAxis : b - ve - H - E.mainAxis, Kt = m ? -U[O] / 2 + se + ve + G + E.mainAxis : R + ve + G + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (W = K == null ? void 0 : K[D]) != null ? W : 0, nn =
|
|
6245
|
-
L[D] = ya, N[D] = ya -
|
|
6244
|
+
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[oe], G = q[ne], ve = Ia(0, U[O], ie[O]), we = m ? U[O] / 2 - se - ve - H - E.mainAxis : b - ve - H - E.mainAxis, Kt = m ? -U[O] / 2 + se + ve + G + E.mainAxis : R + ve + G + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (W = K == null ? void 0 : K[D]) != null ? W : 0, nn = S + we - _a - nt, st = S + Kt - _a, ya = Ia(h ? Na(F, nn) : F, S, h ? kt(V, st) : V);
|
|
6245
|
+
L[D] = ya, N[D] = ya - S;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + g[Ne], ba = Be - g[Me], Te = [Re, Ge].indexOf(
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + g[Ne], ba = Be - g[Me], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = K == null ? void 0 : K[I]) != null ? it : 0, ot = Te ? Xt : Be - U[qe] - Z[qe] - Qt + E.altAxis, _t = Te ? Be + U[qe] + Z[qe] - Qt - E.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
L[I] = wa, N[I] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = N;
|
|
@@ -6306,7 +6306,7 @@ function ip(t) {
|
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
|
-
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, y = a.allowedAutoPlacements, g = e.options.placement,
|
|
6309
|
+
for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, y = a.allowedAutoPlacements, g = e.options.placement, k = ct(g), _ = k === g, m = l || (_ || !w ? [La(g)] : ip(g)), D = [g].concat(m).reduce(function(ie, q) {
|
|
6310
6310
|
return ie.concat(ct(q) === Fn ? sp(e, {
|
|
6311
6311
|
placement: q,
|
|
6312
6312
|
boundary: u,
|
|
@@ -6322,10 +6322,10 @@ function op(t) {
|
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}),
|
|
6326
|
-
I[ne] > L[ne] && (
|
|
6327
|
-
var F = La(
|
|
6328
|
-
if (o && V.push(O[N] <= 0), r && V.push(O[
|
|
6325
|
+
}), S = oe ? W ? vt : Ge : W ? We : Re;
|
|
6326
|
+
I[ne] > L[ne] && (S = La(S));
|
|
6327
|
+
var F = La(S), V = [];
|
|
6328
|
+
if (o && V.push(O[N] <= 0), r && V.push(O[S] <= 0, O[F] <= 0), V.every(function(ie) {
|
|
6329
6329
|
return ie;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
Y = K, Z = !1;
|
|
@@ -6365,11 +6365,11 @@ var rp = {
|
|
|
6365
6365
|
function lp(t, e, a) {
|
|
6366
6366
|
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), f = ee(null), d = ee(null), h = A(() => s.value || o.value), w = A(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), y = () => {
|
|
6367
6367
|
u.value || n.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6368
|
-
|
|
6368
|
+
k();
|
|
6369
6369
|
}));
|
|
6370
6370
|
}, g = () => {
|
|
6371
6371
|
u.value && (u.value = !1, e.emit("close", r));
|
|
6372
|
-
},
|
|
6372
|
+
}, k = () => {
|
|
6373
6373
|
if (!f.value)
|
|
6374
6374
|
return;
|
|
6375
6375
|
let m = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")), D = parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px", ""));
|
|
@@ -6433,13 +6433,13 @@ function lp(t, e, a) {
|
|
|
6433
6433
|
open: y,
|
|
6434
6434
|
close: g,
|
|
6435
6435
|
placement: w,
|
|
6436
|
-
updatePopper:
|
|
6436
|
+
updatePopper: k
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
6439
|
function up(t, e, a) {
|
|
6440
6440
|
const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), y = A(() => n.value || s.value ? -1 : 0), g = () => {
|
|
6441
6441
|
n.value && i.value.blur(), f.value.blur();
|
|
6442
|
-
},
|
|
6442
|
+
}, k = () => {
|
|
6443
6443
|
n.value && !s.value && i.value.focus();
|
|
6444
6444
|
}, _ = (Z = !0) => {
|
|
6445
6445
|
s.value || (h.value = !0, Z && r());
|
|
@@ -6453,7 +6453,7 @@ function up(t, e, a) {
|
|
|
6453
6453
|
isActive: h,
|
|
6454
6454
|
mouseClicked: w,
|
|
6455
6455
|
blur: g,
|
|
6456
|
-
focus:
|
|
6456
|
+
focus: k,
|
|
6457
6457
|
activate: _,
|
|
6458
6458
|
deactivate: m,
|
|
6459
6459
|
handleFocusIn: (Z) => {
|
|
@@ -6487,7 +6487,7 @@ function cp(t, e, a) {
|
|
|
6487
6487
|
createTag: f,
|
|
6488
6488
|
createOption: d,
|
|
6489
6489
|
reverse: h
|
|
6490
|
-
} = Ae(t), w = Mt().proxy, y = a.iv, g = a.update,
|
|
6490
|
+
} = Ae(t), w = Mt().proxy, y = a.iv, g = a.update, k = a.deselect, _ = a.search, m = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, Y = a.tags, E = a.isOpen, K = a.open, N = a.blur, W = a.fo, oe = A(() => f.value || d.value || !1), ne = A(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
|
|
6491
6491
|
n.value === "tags" && !r.value && oe.value && i.value && !c.value && m(W.value[W.value.map((V) => V[l.value]).indexOf(_.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
@@ -6499,7 +6499,7 @@ function cp(t, e, a) {
|
|
|
6499
6499
|
if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || y.value.length === 0)
|
|
6500
6500
|
return;
|
|
6501
6501
|
let R = y.value.filter((le) => !le.disabled && le.remove !== !1);
|
|
6502
|
-
R.length &&
|
|
6502
|
+
R.length && k(R[R.length - 1]);
|
|
6503
6503
|
break;
|
|
6504
6504
|
case "Enter":
|
|
6505
6505
|
if (V.preventDefault(), V.keyCode === 229)
|
|
@@ -6622,12 +6622,12 @@ function dp(t, e, a) {
|
|
|
6622
6622
|
assist: "multiselect-assistive-text",
|
|
6623
6623
|
spacer: "multiselect-spacer",
|
|
6624
6624
|
...n.value
|
|
6625
|
-
})),
|
|
6625
|
+
})), k = A(() => !!(r.value && o.value && (!h.value || h.value && w.value.length)));
|
|
6626
6626
|
return {
|
|
6627
6627
|
classList: A(() => {
|
|
6628
6628
|
const m = g.value;
|
|
6629
6629
|
return {
|
|
6630
|
-
container: [m.container].concat(s.value ? m.containerDisabled : []).concat(
|
|
6630
|
+
container: [m.container].concat(s.value ? m.containerDisabled : []).concat(k.value && y.value === "top" ? m.containerOpenTop : []).concat(k.value && y.value !== "top" ? m.containerOpen : []).concat(f.value ? m.containerActive : []),
|
|
6631
6631
|
wrapper: m.wrapper,
|
|
6632
6632
|
spacer: m.spacer,
|
|
6633
6633
|
singleLabel: m.singleLabel,
|
|
@@ -6650,7 +6650,7 @@ function dp(t, e, a) {
|
|
|
6650
6650
|
spinner: m.spinner,
|
|
6651
6651
|
inifinite: m.inifinite,
|
|
6652
6652
|
inifiniteSpinner: m.inifiniteSpinner,
|
|
6653
|
-
dropdown: [m.dropdown].concat(y.value === "top" ? m.dropdownTop : []).concat(!r.value || !o.value || !
|
|
6653
|
+
dropdown: [m.dropdown].concat(y.value === "top" ? m.dropdownTop : []).concat(!r.value || !o.value || !k.value ? m.dropdownHidden : []),
|
|
6654
6654
|
options: [m.options].concat(y.value === "top" ? m.optionsTop : []),
|
|
6655
6655
|
group: m.group,
|
|
6656
6656
|
groupLabel: (D) => {
|
|
@@ -6668,7 +6668,7 @@ function dp(t, e, a) {
|
|
|
6668
6668
|
fakeInput: m.fakeInput
|
|
6669
6669
|
};
|
|
6670
6670
|
}),
|
|
6671
|
-
showDropdown:
|
|
6671
|
+
showDropdown: k
|
|
6672
6672
|
};
|
|
6673
6673
|
}
|
|
6674
6674
|
function pp(t, e, a) {
|
|
@@ -6676,9 +6676,9 @@ function pp(t, e, a) {
|
|
|
6676
6676
|
limit: n,
|
|
6677
6677
|
infinite: s
|
|
6678
6678
|
} = Ae(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), f = ee(null), d = A(() => i.value < l.value.length), h = (y) => {
|
|
6679
|
-
const { isIntersecting: g, target:
|
|
6679
|
+
const { isIntersecting: g, target: k } = y[0];
|
|
6680
6680
|
if (g) {
|
|
6681
|
-
const _ =
|
|
6681
|
+
const _ = k.offsetParent, m = _.scrollTop;
|
|
6682
6682
|
i.value += n.value == -1 ? 10 : n.value, De(() => {
|
|
6683
6683
|
_.scrollTop = m;
|
|
6684
6684
|
});
|
|
@@ -6712,7 +6712,7 @@ function fp(t, e, a) {
|
|
|
6712
6712
|
} = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, y = ee(null), g = A(() => {
|
|
6713
6713
|
let N = [];
|
|
6714
6714
|
return s && s.value && N.push(s.value), N.push("assist"), N.join("-");
|
|
6715
|
-
}),
|
|
6715
|
+
}), k = A(() => {
|
|
6716
6716
|
let N = [];
|
|
6717
6717
|
return s && s.value && N.push(s.value), N.push("multiselect-options"), N.join("-");
|
|
6718
6718
|
}), _ = A(() => {
|
|
@@ -6747,7 +6747,7 @@ function fp(t, e, a) {
|
|
|
6747
6747
|
arias: L,
|
|
6748
6748
|
ariaLabel: I,
|
|
6749
6749
|
ariaAssist: g,
|
|
6750
|
-
ariaControls:
|
|
6750
|
+
ariaControls: k,
|
|
6751
6751
|
ariaPlaceholder: m,
|
|
6752
6752
|
ariaMultiselectable: D,
|
|
6753
6753
|
ariaActiveDescendant: _,
|
|
@@ -7813,12 +7813,12 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7813
7813
|
caret: f.isEditable,
|
|
7814
7814
|
onChange: (g) => c(g, h.id)
|
|
7815
7815
|
}, {
|
|
7816
|
-
tag: z(({ option: g, handleTagRemove:
|
|
7816
|
+
tag: z(({ option: g, handleTagRemove: k }) => [
|
|
7817
7817
|
M(Je, {
|
|
7818
7818
|
"user-name": g.label,
|
|
7819
7819
|
"avatar-url": g.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
7821
|
-
onClose: (_) =>
|
|
7821
|
+
onClose: (_) => k(g, _)
|
|
7822
7822
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
7823
7823
|
]),
|
|
7824
7824
|
_: 2
|
|
@@ -7983,8 +7983,8 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
7983
7983
|
const y = a.user;
|
|
7984
7984
|
return y ? `${y == null ? void 0 : y.firstName} ${y == null ? void 0 : y.lastName}` : null;
|
|
7985
7985
|
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = A(() => {
|
|
7986
|
-
const y = a.editedAt && la(a.editedAt), g = la(a.createdAt),
|
|
7987
|
-
return _ && a3(_,
|
|
7986
|
+
const y = a.editedAt && la(a.editedAt), g = la(a.createdAt), k = /* @__PURE__ */ new Date(), _ = y ?? g;
|
|
7987
|
+
return _ && a3(_, k);
|
|
7988
7988
|
}), u = A(() => o.value ? "textarea" : "p"), f = l(), d = r((y) => {
|
|
7989
7989
|
e("edit", y);
|
|
7990
7990
|
}), h = () => {
|
|
@@ -7999,11 +7999,11 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
7999
7999
|
}
|
|
8000
8000
|
});
|
|
8001
8001
|
}), (y, g) => {
|
|
8002
|
-
var
|
|
8002
|
+
var k;
|
|
8003
8003
|
return p(), C("li", nf, [
|
|
8004
8004
|
n.value ? (p(), P(Je, {
|
|
8005
8005
|
key: 0,
|
|
8006
|
-
"avatar-url": (
|
|
8006
|
+
"avatar-url": (k = y.user) == null ? void 0 : k.avatarUrl,
|
|
8007
8007
|
"user-name": n.value,
|
|
8008
8008
|
class: "ao-comment__avatar"
|
|
8009
8009
|
}, null, 8, ["avatar-url", "user-name"])) : T("", !0),
|
|
@@ -8317,7 +8317,7 @@ const wn = /* @__PURE__ */ x({
|
|
|
8317
8317
|
(le) => le.id === b.value
|
|
8318
8318
|
)
|
|
8319
8319
|
};
|
|
8320
|
-
})),
|
|
8320
|
+
})), k = (b) => {
|
|
8321
8321
|
e("addSubtask", b);
|
|
8322
8322
|
}, _ = (b) => {
|
|
8323
8323
|
e("updateSubtask", b);
|
|
@@ -8398,7 +8398,7 @@ const wn = /* @__PURE__ */ x({
|
|
|
8398
8398
|
...b,
|
|
8399
8399
|
activityId: a.activity.id
|
|
8400
8400
|
});
|
|
8401
|
-
},
|
|
8401
|
+
}, S = (b) => {
|
|
8402
8402
|
e("updateComment", b);
|
|
8403
8403
|
}, F = (b) => {
|
|
8404
8404
|
e("removeComment", b);
|
|
@@ -8538,7 +8538,7 @@ const wn = /* @__PURE__ */ x({
|
|
|
8538
8538
|
"is-checkable": b.isTaskCheckable,
|
|
8539
8539
|
"is-editable": n.value,
|
|
8540
8540
|
"is-template": b.isTemplate,
|
|
8541
|
-
onAdd:
|
|
8541
|
+
onAdd: k,
|
|
8542
8542
|
onUpdate: _,
|
|
8543
8543
|
onDelete: m
|
|
8544
8544
|
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
@@ -8557,7 +8557,7 @@ const wn = /* @__PURE__ */ x({
|
|
|
8557
8557
|
users: b.users,
|
|
8558
8558
|
"user-id": b.userId,
|
|
8559
8559
|
onCreateComment: O,
|
|
8560
|
-
onUpdateComment:
|
|
8560
|
+
onUpdateComment: S,
|
|
8561
8561
|
onRemoveComment: F
|
|
8562
8562
|
}, null, 8, ["comments", "users", "user-id"])
|
|
8563
8563
|
])) : T("", !0)
|
|
@@ -8770,10 +8770,10 @@ const mv = /* @__PURE__ */ x({
|
|
|
8770
8770
|
get() {
|
|
8771
8771
|
return n.value;
|
|
8772
8772
|
},
|
|
8773
|
-
set(
|
|
8774
|
-
n.value =
|
|
8773
|
+
set(k) {
|
|
8774
|
+
n.value = k, e("update:rule", {
|
|
8775
8775
|
...a.rule,
|
|
8776
|
-
itemType:
|
|
8776
|
+
itemType: k,
|
|
8777
8777
|
subItemId: void 0
|
|
8778
8778
|
});
|
|
8779
8779
|
}
|
|
@@ -8781,10 +8781,10 @@ const mv = /* @__PURE__ */ x({
|
|
|
8781
8781
|
get() {
|
|
8782
8782
|
return a.rule.subItemId;
|
|
8783
8783
|
},
|
|
8784
|
-
set(
|
|
8784
|
+
set(k) {
|
|
8785
8785
|
e("update:rule", {
|
|
8786
8786
|
...a.rule,
|
|
8787
|
-
subItemId:
|
|
8787
|
+
subItemId: k,
|
|
8788
8788
|
itemType: a.rule.itemType || s.value
|
|
8789
8789
|
});
|
|
8790
8790
|
}
|
|
@@ -8802,32 +8802,32 @@ const mv = /* @__PURE__ */ x({
|
|
|
8802
8802
|
get() {
|
|
8803
8803
|
return l.value;
|
|
8804
8804
|
},
|
|
8805
|
-
set(
|
|
8806
|
-
e("update:rule", { ...a.rule, comparator:
|
|
8805
|
+
set(k) {
|
|
8806
|
+
e("update:rule", { ...a.rule, comparator: k });
|
|
8807
8807
|
}
|
|
8808
8808
|
}), u = A(() => Object.values(R2)), f = Pt(a.rule.trigger), d = A({
|
|
8809
8809
|
get() {
|
|
8810
8810
|
return f.value;
|
|
8811
8811
|
},
|
|
8812
|
-
set(
|
|
8813
|
-
e("update:rule", { ...a.rule, trigger:
|
|
8812
|
+
set(k) {
|
|
8813
|
+
e("update:rule", { ...a.rule, trigger: k });
|
|
8814
8814
|
}
|
|
8815
8815
|
}), h = A(() => Object.values(N2)), w = A({
|
|
8816
8816
|
get() {
|
|
8817
8817
|
return a.rule.duration;
|
|
8818
8818
|
},
|
|
8819
|
-
set(
|
|
8820
|
-
e("update:rule", { ...a.rule, duration:
|
|
8819
|
+
set(k) {
|
|
8820
|
+
e("update:rule", { ...a.rule, duration: k });
|
|
8821
8821
|
}
|
|
8822
8822
|
}), y = A({
|
|
8823
8823
|
get() {
|
|
8824
8824
|
return a.rule.durationUnit;
|
|
8825
8825
|
},
|
|
8826
|
-
set(
|
|
8827
|
-
e("update:rule", { ...a.rule, durationUnit:
|
|
8826
|
+
set(k) {
|
|
8827
|
+
e("update:rule", { ...a.rule, durationUnit: k });
|
|
8828
8828
|
}
|
|
8829
8829
|
}), g = A(() => Object.values(j2));
|
|
8830
|
-
return (
|
|
8830
|
+
return (k, _) => (p(), P(ht(k.tagName), { class: "ao-rule-line" }, {
|
|
8831
8831
|
default: z(() => [
|
|
8832
8832
|
M(J(lt), {
|
|
8833
8833
|
modelValue: s.value,
|
|
@@ -8870,7 +8870,7 @@ const mv = /* @__PURE__ */ x({
|
|
|
8870
8870
|
class: "ao-rule-line__remove",
|
|
8871
8871
|
"icon-name": "CloseRounded",
|
|
8872
8872
|
variant: "ghost",
|
|
8873
|
-
onClick: _[6] || (_[6] = (m) =>
|
|
8873
|
+
onClick: _[6] || (_[6] = (m) => k.$emit("close"))
|
|
8874
8874
|
})
|
|
8875
8875
|
]),
|
|
8876
8876
|
_: 1
|
|
@@ -8949,8 +8949,8 @@ const yv = {
|
|
|
8949
8949
|
setup(t, { emit: e }) {
|
|
8950
8950
|
const a = t, { t: n } = Tt(), s = A(
|
|
8951
8951
|
() => {
|
|
8952
|
-
var
|
|
8953
|
-
return (
|
|
8952
|
+
var S;
|
|
8953
|
+
return (S = a.templates) == null ? void 0 : S.find((F) => F.id === a.templateId);
|
|
8954
8954
|
}
|
|
8955
8955
|
), o = ee(!1);
|
|
8956
8956
|
de(
|
|
@@ -8958,50 +8958,50 @@ const yv = {
|
|
|
8958
8958
|
() => o.value = !1
|
|
8959
8959
|
), de(
|
|
8960
8960
|
() => {
|
|
8961
|
-
var
|
|
8962
|
-
return (
|
|
8961
|
+
var S;
|
|
8962
|
+
return (S = s.value) == null ? void 0 : S.phases;
|
|
8963
8963
|
},
|
|
8964
|
-
(
|
|
8965
|
-
o.value && Xe(
|
|
8964
|
+
(S, F) => {
|
|
8965
|
+
o.value && Xe(S, F);
|
|
8966
8966
|
}
|
|
8967
8967
|
);
|
|
8968
8968
|
const i = A(() => {
|
|
8969
|
-
var
|
|
8970
|
-
return (F = (
|
|
8969
|
+
var S, F;
|
|
8970
|
+
return (F = (S = s == null ? void 0 : s.value) == null ? void 0 : S.phases) == null ? void 0 : F.find((V) => V.id === a.phaseId);
|
|
8971
8971
|
});
|
|
8972
8972
|
de(
|
|
8973
8973
|
() => {
|
|
8974
|
-
var
|
|
8975
|
-
return (
|
|
8974
|
+
var S;
|
|
8975
|
+
return (S = i.value) == null ? void 0 : S.milestones;
|
|
8976
8976
|
},
|
|
8977
|
-
(
|
|
8978
|
-
o.value && Xe(
|
|
8977
|
+
(S, F) => {
|
|
8978
|
+
o.value && Xe(S, F);
|
|
8979
8979
|
}
|
|
8980
8980
|
);
|
|
8981
8981
|
const r = A(() => {
|
|
8982
|
-
var
|
|
8983
|
-
return (F = (
|
|
8982
|
+
var S, F;
|
|
8983
|
+
return (F = (S = i.value) == null ? void 0 : S.milestones) == null ? void 0 : F.find(
|
|
8984
8984
|
(V) => V.id === a.milestoneId
|
|
8985
8985
|
);
|
|
8986
8986
|
});
|
|
8987
8987
|
de(
|
|
8988
8988
|
() => {
|
|
8989
|
-
var
|
|
8990
|
-
return (
|
|
8989
|
+
var S;
|
|
8990
|
+
return (S = r.value) == null ? void 0 : S.activities;
|
|
8991
8991
|
},
|
|
8992
|
-
(
|
|
8993
|
-
o.value && Xe(
|
|
8992
|
+
(S, F) => {
|
|
8993
|
+
o.value && Xe(S, F);
|
|
8994
8994
|
}
|
|
8995
8995
|
);
|
|
8996
8996
|
const l = A(() => {
|
|
8997
|
-
var
|
|
8998
|
-
return ((F = (
|
|
8997
|
+
var S, F;
|
|
8998
|
+
return ((F = (S = s.value) == null ? void 0 : S.phases) == null ? void 0 : F.reduce((V, se) => {
|
|
8999
8999
|
const b = se.milestones || [];
|
|
9000
9000
|
return [...V, ...b];
|
|
9001
9001
|
}, [])) || [];
|
|
9002
9002
|
}), c = A(() => {
|
|
9003
|
-
var
|
|
9004
|
-
return ((F = (
|
|
9003
|
+
var S, F;
|
|
9004
|
+
return ((F = (S = s.value) == null ? void 0 : S.phases) == null ? void 0 : F.reduce((V, se) => {
|
|
9005
9005
|
const R = (se.milestones || []).reduce(
|
|
9006
9006
|
(le, ie) => ie.activities ? [...le, ...ie.activities] : le,
|
|
9007
9007
|
[]
|
|
@@ -9009,17 +9009,17 @@ const yv = {
|
|
|
9009
9009
|
return [...V, ...R];
|
|
9010
9010
|
}, [])) || [];
|
|
9011
9011
|
}), u = A(() => {
|
|
9012
|
-
var
|
|
9013
|
-
return (F = (
|
|
9012
|
+
var S, F;
|
|
9013
|
+
return (F = (S = r.value) == null ? void 0 : S.activities) == null ? void 0 : F.find(
|
|
9014
9014
|
(V) => V.id === a.activityId
|
|
9015
9015
|
);
|
|
9016
9016
|
}), f = A(() => {
|
|
9017
|
-
var
|
|
9018
|
-
return ((
|
|
9017
|
+
var S;
|
|
9018
|
+
return ((S = s.value) == null ? void 0 : S.name) || a.templateId;
|
|
9019
9019
|
}), d = () => {
|
|
9020
9020
|
if (!s.value)
|
|
9021
9021
|
return;
|
|
9022
|
-
const { name:
|
|
9022
|
+
const { name: S, rank: F } = Bt(
|
|
9023
9023
|
s.value.phases,
|
|
9024
9024
|
"phase",
|
|
9025
9025
|
n
|
|
@@ -9028,35 +9028,35 @@ const yv = {
|
|
|
9028
9028
|
type: Ce.PHASES,
|
|
9029
9029
|
templateId: a.templateId,
|
|
9030
9030
|
item: {
|
|
9031
|
-
name:
|
|
9031
|
+
name: S,
|
|
9032
9032
|
rank: F
|
|
9033
9033
|
}
|
|
9034
9034
|
});
|
|
9035
|
-
}, h = (
|
|
9035
|
+
}, h = (S) => {
|
|
9036
9036
|
e("updateItem", {
|
|
9037
9037
|
templateId: a.templateId,
|
|
9038
9038
|
id: a.templateId,
|
|
9039
9039
|
itemType: Ce.TEMPLATES,
|
|
9040
|
-
data: { name:
|
|
9040
|
+
data: { name: S }
|
|
9041
9041
|
});
|
|
9042
|
-
}, w = (
|
|
9042
|
+
}, w = (S) => {
|
|
9043
9043
|
e("removeItem", {
|
|
9044
9044
|
type: Ce.PHASES,
|
|
9045
9045
|
templateId: a.templateId,
|
|
9046
9046
|
data: {
|
|
9047
|
-
id:
|
|
9047
|
+
id: S
|
|
9048
9048
|
}
|
|
9049
9049
|
});
|
|
9050
|
-
}, y = (
|
|
9050
|
+
}, y = (S, F) => {
|
|
9051
9051
|
e("updateItem", {
|
|
9052
9052
|
templateId: a.templateId,
|
|
9053
|
-
id:
|
|
9053
|
+
id: S,
|
|
9054
9054
|
itemType: Ce.PHASES,
|
|
9055
9055
|
data: { name: F }
|
|
9056
9056
|
});
|
|
9057
|
-
}, g = (
|
|
9058
|
-
e("updateItem",
|
|
9059
|
-
},
|
|
9057
|
+
}, g = (S) => {
|
|
9058
|
+
e("updateItem", S);
|
|
9059
|
+
}, k = (S) => {
|
|
9060
9060
|
if (!i.value)
|
|
9061
9061
|
return;
|
|
9062
9062
|
const { name: F, rank: V } = Bt(
|
|
@@ -9067,32 +9067,32 @@ const yv = {
|
|
|
9067
9067
|
o.value = !0, e("addItem", {
|
|
9068
9068
|
type: Ce.MILESTONES,
|
|
9069
9069
|
templateId: a.templateId,
|
|
9070
|
-
phaseId:
|
|
9070
|
+
phaseId: S.phaseId,
|
|
9071
9071
|
item: {
|
|
9072
9072
|
name: F,
|
|
9073
9073
|
rank: V,
|
|
9074
|
-
phaseId:
|
|
9074
|
+
phaseId: S.phaseId
|
|
9075
9075
|
}
|
|
9076
9076
|
});
|
|
9077
|
-
}, _ = (
|
|
9077
|
+
}, _ = (S) => {
|
|
9078
9078
|
e("removeItem", {
|
|
9079
9079
|
type: Ce.MILESTONES,
|
|
9080
9080
|
templateId: a.templateId,
|
|
9081
|
-
phaseId:
|
|
9081
|
+
phaseId: S.phaseId,
|
|
9082
9082
|
data: {
|
|
9083
|
-
id:
|
|
9083
|
+
id: S.id
|
|
9084
9084
|
}
|
|
9085
9085
|
});
|
|
9086
|
-
}, m = (
|
|
9087
|
-
const { id: F, ...V } =
|
|
9086
|
+
}, m = (S) => {
|
|
9087
|
+
const { id: F, ...V } = S;
|
|
9088
9088
|
e("updateItem", {
|
|
9089
9089
|
itemType: Ce.MILESTONES,
|
|
9090
9090
|
id: F,
|
|
9091
9091
|
templateId: a.templateId,
|
|
9092
9092
|
data: V
|
|
9093
9093
|
});
|
|
9094
|
-
}, D = (
|
|
9095
|
-
const { milestoneId: F } =
|
|
9094
|
+
}, D = (S) => {
|
|
9095
|
+
const { milestoneId: F } = S;
|
|
9096
9096
|
if (!r.value)
|
|
9097
9097
|
return;
|
|
9098
9098
|
const { name: V, rank: se } = Bt(
|
|
@@ -9106,7 +9106,7 @@ const yv = {
|
|
|
9106
9106
|
templateId: a.templateId,
|
|
9107
9107
|
item: { name: V, rank: se, milestoneId: F }
|
|
9108
9108
|
});
|
|
9109
|
-
}, I = (
|
|
9109
|
+
}, I = (S) => {
|
|
9110
9110
|
var F, V;
|
|
9111
9111
|
e("removeItem", {
|
|
9112
9112
|
type: Ce.ACTIVITIES,
|
|
@@ -9114,11 +9114,11 @@ const yv = {
|
|
|
9114
9114
|
phaseId: (F = i.value) == null ? void 0 : F.id,
|
|
9115
9115
|
milestoneId: (V = r.value) == null ? void 0 : V.id,
|
|
9116
9116
|
data: {
|
|
9117
|
-
id:
|
|
9117
|
+
id: S.id
|
|
9118
9118
|
}
|
|
9119
9119
|
});
|
|
9120
|
-
}, L = (
|
|
9121
|
-
const { id: F, ...V } =
|
|
9120
|
+
}, L = (S) => {
|
|
9121
|
+
const { id: F, ...V } = S;
|
|
9122
9122
|
e("updateItem", {
|
|
9123
9123
|
itemType: Ce.ACTIVITIES,
|
|
9124
9124
|
id: F,
|
|
@@ -9129,57 +9129,57 @@ const yv = {
|
|
|
9129
9129
|
U.value = !U.value;
|
|
9130
9130
|
}, Y = () => {
|
|
9131
9131
|
e("addRule", { templateId: a.templateId });
|
|
9132
|
-
}, E = (
|
|
9133
|
-
e("removeRule", { id:
|
|
9134
|
-
}, K = (
|
|
9132
|
+
}, E = (S) => {
|
|
9133
|
+
e("removeRule", { id: S, templateId: a.templateId });
|
|
9134
|
+
}, K = (S) => {
|
|
9135
9135
|
var F;
|
|
9136
|
-
if (
|
|
9137
|
-
const V = Ca(
|
|
9136
|
+
if (S.moved) {
|
|
9137
|
+
const V = Ca(S, ((F = s.value) == null ? void 0 : F.phases) ?? []);
|
|
9138
9138
|
e("updateItem", {
|
|
9139
9139
|
itemType: Ce.PHASES,
|
|
9140
|
-
id:
|
|
9140
|
+
id: S.moved.element.id,
|
|
9141
9141
|
templateId: a.templateId,
|
|
9142
9142
|
data: {
|
|
9143
9143
|
rank: V
|
|
9144
9144
|
}
|
|
9145
9145
|
});
|
|
9146
9146
|
}
|
|
9147
|
-
}, N = (
|
|
9147
|
+
}, N = (S) => {
|
|
9148
9148
|
!i.value || !r.value || !u.value || e("addItem", {
|
|
9149
9149
|
type: Ce.TASKS,
|
|
9150
|
-
activityId:
|
|
9150
|
+
activityId: S.activityId,
|
|
9151
9151
|
milestoneId: r.value.id,
|
|
9152
9152
|
phaseId: i.value.id,
|
|
9153
9153
|
templateId: a.templateId,
|
|
9154
|
-
item:
|
|
9154
|
+
item: S
|
|
9155
9155
|
});
|
|
9156
|
-
}, W = (
|
|
9156
|
+
}, W = (S) => {
|
|
9157
9157
|
!i.value || !r.value || !u.value || e("updateItem", {
|
|
9158
9158
|
itemType: Ce.TASKS,
|
|
9159
|
-
id:
|
|
9159
|
+
id: S.id,
|
|
9160
9160
|
templateId: a.templateId,
|
|
9161
|
-
data:
|
|
9161
|
+
data: S
|
|
9162
9162
|
});
|
|
9163
|
-
}, oe = (
|
|
9163
|
+
}, oe = (S) => {
|
|
9164
9164
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9165
9165
|
type: Ce.TASKS,
|
|
9166
9166
|
activityId: u.value.id,
|
|
9167
9167
|
milestoneId: r.value.id,
|
|
9168
9168
|
phaseId: i.value.id,
|
|
9169
9169
|
templateId: a.templateId,
|
|
9170
|
-
data:
|
|
9170
|
+
data: S
|
|
9171
9171
|
});
|
|
9172
|
-
}, ne = (
|
|
9173
|
-
e("addFiles",
|
|
9174
|
-
}, O = (
|
|
9175
|
-
e("removeFile",
|
|
9172
|
+
}, ne = (S) => {
|
|
9173
|
+
e("addFiles", S);
|
|
9174
|
+
}, O = (S) => {
|
|
9175
|
+
e("removeFile", S);
|
|
9176
9176
|
};
|
|
9177
|
-
return (
|
|
9177
|
+
return (S, F) => {
|
|
9178
9178
|
var V, se, b, R, le, ie;
|
|
9179
9179
|
return s.value ? (p(), C("div", yv, [
|
|
9180
9180
|
M(Ga, {
|
|
9181
9181
|
"can-go-back": !0,
|
|
9182
|
-
onGoBack: F[1] || (F[1] = (q) =>
|
|
9182
|
+
onGoBack: F[1] || (F[1] = (q) => S.$router.push({ name: J(Dt).TEMPLATES_LIST }))
|
|
9183
9183
|
}, {
|
|
9184
9184
|
primary: z(() => [
|
|
9185
9185
|
M(ye, {
|
|
@@ -9205,7 +9205,7 @@ const yv = {
|
|
|
9205
9205
|
}, {
|
|
9206
9206
|
header: z(() => [
|
|
9207
9207
|
M(ye, {
|
|
9208
|
-
title:
|
|
9208
|
+
title: S.$t("template.phases.title"),
|
|
9209
9209
|
level: 3,
|
|
9210
9210
|
class: "ao-list__title"
|
|
9211
9211
|
}, null, 8, ["title"])
|
|
@@ -9219,8 +9219,8 @@ const yv = {
|
|
|
9219
9219
|
milestones: q.milestones,
|
|
9220
9220
|
"is-active": ((H = i.value) == null ? void 0 : H.id) === q.id,
|
|
9221
9221
|
"is-draggable": !0,
|
|
9222
|
-
onClick: (G) =>
|
|
9223
|
-
params: { templateId:
|
|
9222
|
+
onClick: (G) => S.$router.push({
|
|
9223
|
+
params: { templateId: S.templateId, phaseId: q.id }
|
|
9224
9224
|
}),
|
|
9225
9225
|
"onUpdate:title": (G) => {
|
|
9226
9226
|
y(q.id, G);
|
|
@@ -9233,7 +9233,7 @@ const yv = {
|
|
|
9233
9233
|
v("div", kv, [
|
|
9234
9234
|
M(Ct, {
|
|
9235
9235
|
"icon-name": "AddBoxOutlineRounded",
|
|
9236
|
-
label:
|
|
9236
|
+
label: S.$t("template.phases.add"),
|
|
9237
9237
|
onClick: d
|
|
9238
9238
|
}, null, 8, ["label"])
|
|
9239
9239
|
])
|
|
@@ -9244,10 +9244,10 @@ const yv = {
|
|
|
9244
9244
|
v("li", Sv, [
|
|
9245
9245
|
i.value ? (p(), P(d5, {
|
|
9246
9246
|
key: 0,
|
|
9247
|
-
"template-id":
|
|
9247
|
+
"template-id": S.templateId,
|
|
9248
9248
|
phase: i.value,
|
|
9249
9249
|
"milestone-id": (V = r.value) == null ? void 0 : V.id,
|
|
9250
|
-
onAddMilestone:
|
|
9250
|
+
onAddMilestone: k,
|
|
9251
9251
|
onUpdateMilestone: m,
|
|
9252
9252
|
onUpdatePhase: g,
|
|
9253
9253
|
onRemoveMilestone: _
|
|
@@ -9256,7 +9256,7 @@ const yv = {
|
|
|
9256
9256
|
v("li", Av, [
|
|
9257
9257
|
i.value && r.value ? (p(), P(v5, {
|
|
9258
9258
|
key: 0,
|
|
9259
|
-
"template-id":
|
|
9259
|
+
"template-id": S.templateId,
|
|
9260
9260
|
"phase-id": (se = i.value) == null ? void 0 : se.id,
|
|
9261
9261
|
milestone: r.value,
|
|
9262
9262
|
"activity-id": (b = u.value) == null ? void 0 : b.id,
|
|
@@ -9271,19 +9271,19 @@ const yv = {
|
|
|
9271
9271
|
u.value ? (p(), P(Zn, {
|
|
9272
9272
|
key: 0,
|
|
9273
9273
|
activity: u.value,
|
|
9274
|
-
"activity-types":
|
|
9274
|
+
"activity-types": S.activityTypes,
|
|
9275
9275
|
breadcrumbs: `${s.value.name} / ${(R = i.value) == null ? void 0 : R.name} / ${(le = r.value) == null ? void 0 : le.name}`,
|
|
9276
9276
|
"milestone-id": (ie = r.value) == null ? void 0 : ie.id,
|
|
9277
9277
|
"template-activities": c.value,
|
|
9278
9278
|
"template-milestones": l.value,
|
|
9279
9279
|
"is-template": !0,
|
|
9280
9280
|
"is-editable": !0,
|
|
9281
|
-
users:
|
|
9281
|
+
users: S.users,
|
|
9282
9282
|
"onUpdate:activity": F[2] || (F[2] = (q) => {
|
|
9283
9283
|
u.value && L(q);
|
|
9284
9284
|
}),
|
|
9285
9285
|
"attachment-enabled": !1,
|
|
9286
|
-
onClose:
|
|
9286
|
+
onClose: S.$router.back,
|
|
9287
9287
|
onAddSubtask: N,
|
|
9288
9288
|
onUpdateSubtask: W,
|
|
9289
9289
|
onDeleteSubtask: oe,
|
|
@@ -9291,7 +9291,7 @@ const yv = {
|
|
|
9291
9291
|
onRemoveFile: O
|
|
9292
9292
|
}, {
|
|
9293
9293
|
default: z((q) => [
|
|
9294
|
-
te(
|
|
9294
|
+
te(S.$slots, "activityDetailsBody", pa(fa(q)))
|
|
9295
9295
|
]),
|
|
9296
9296
|
_: 3
|
|
9297
9297
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -9732,7 +9732,7 @@ const Jv = {
|
|
|
9732
9732
|
important: y.important,
|
|
9733
9733
|
readonly: d.readonly,
|
|
9734
9734
|
class: X(["ao-project-phase__milestone"]),
|
|
9735
|
-
onClick: (
|
|
9735
|
+
onClick: (k) => !d.readonly && d.$router.push({
|
|
9736
9736
|
name: J(Fe).milestone,
|
|
9737
9737
|
params: { phaseId: d.phase.id, milestoneId: y.id }
|
|
9738
9738
|
}),
|
|
@@ -9986,7 +9986,7 @@ const ci = /* @__PURE__ */ j(m9, [["render", g9], ["__scopeId", "data-v-cbe33527
|
|
|
9986
9986
|
e("addSubtask", E);
|
|
9987
9987
|
}, g = (E) => {
|
|
9988
9988
|
e("updateSubtask", E);
|
|
9989
|
-
},
|
|
9989
|
+
}, k = (E) => {
|
|
9990
9990
|
e("deleteSubtask", E);
|
|
9991
9991
|
}, _ = A(
|
|
9992
9992
|
() => s.value.flatMap((E) => E.activities)
|
|
@@ -10088,7 +10088,7 @@ const ci = /* @__PURE__ */ j(m9, [["render", g9], ["__scopeId", "data-v-cbe33527
|
|
|
10088
10088
|
"onUpdate:activity": d,
|
|
10089
10089
|
onAddSubtask: y,
|
|
10090
10090
|
onUpdateSubtask: g,
|
|
10091
|
-
onDeleteSubtask:
|
|
10091
|
+
onDeleteSubtask: k,
|
|
10092
10092
|
onAddFiles: m,
|
|
10093
10093
|
onRemoveFile: D,
|
|
10094
10094
|
onAddComment: I,
|
|
@@ -10185,7 +10185,7 @@ const w9 = { class: "ao-card-feed__header" }, $9 = {
|
|
|
10185
10185
|
var g;
|
|
10186
10186
|
const h = a.assignee ? [a.assignee] : [];
|
|
10187
10187
|
console.log(JSON.stringify(a.tasks, null, 2));
|
|
10188
|
-
const w = ((g = a.tasks) == null ? void 0 : g.map((
|
|
10188
|
+
const w = ((g = a.tasks) == null ? void 0 : g.map((k) => k == null ? void 0 : k.assignee).filter((k) => k != null)) || [], y = [.../* @__PURE__ */ new Set([...h, ...w])];
|
|
10189
10189
|
return console.log("*********************************"), console.log(JSON.stringify(y, null, 2)), y;
|
|
10190
10190
|
}), l = A(() => Tn(a.deadline)), c = (h) => {
|
|
10191
10191
|
e("removeAssignee", h);
|
|
@@ -11378,7 +11378,7 @@ const h4 = /* @__PURE__ */ j(p4, [["render", v4]]), m4 = { class: "ao-project-mi
|
|
|
11378
11378
|
// `undefined` is not a value for GraphQL, we have to use `null` to reset a value
|
|
11379
11379
|
});
|
|
11380
11380
|
}
|
|
11381
|
-
}),
|
|
11381
|
+
}), k = A({
|
|
11382
11382
|
get() {
|
|
11383
11383
|
var _;
|
|
11384
11384
|
return ((_ = i.value) == null ? void 0 : _.important) ?? !1;
|
|
@@ -11407,8 +11407,8 @@ const h4 = /* @__PURE__ */ j(p4, [["render", v4]]), m4 = { class: "ao-project-mi
|
|
|
11407
11407
|
level: 5
|
|
11408
11408
|
}, null, 8, ["title"]),
|
|
11409
11409
|
M(wn, {
|
|
11410
|
-
modelValue:
|
|
11411
|
-
"onUpdate:modelValue": m[0] || (m[0] = (I) =>
|
|
11410
|
+
modelValue: k.value,
|
|
11411
|
+
"onUpdate:modelValue": m[0] || (m[0] = (I) => k.value = I),
|
|
11412
11412
|
modelModifiers: { lazy: !0 },
|
|
11413
11413
|
disabled: !_.isEditable,
|
|
11414
11414
|
class: "ao-milestone__important",
|
|
@@ -11577,18 +11577,18 @@ const T4 = /* @__PURE__ */ x({
|
|
|
11577
11577
|
setup(t, { emit: e }) {
|
|
11578
11578
|
const a = t, n = A(() => {
|
|
11579
11579
|
var g;
|
|
11580
|
-
return (g = a.phases) == null ? void 0 : g.find((
|
|
11580
|
+
return (g = a.phases) == null ? void 0 : g.find((k) => k.id === a.phaseId);
|
|
11581
11581
|
}), s = A(
|
|
11582
11582
|
() => {
|
|
11583
11583
|
var g;
|
|
11584
|
-
return (g = a.phases) == null ? void 0 : g.flatMap((
|
|
11584
|
+
return (g = a.phases) == null ? void 0 : g.flatMap((k) => k.milestones);
|
|
11585
11585
|
}
|
|
11586
11586
|
), o = A(() => {
|
|
11587
11587
|
var g;
|
|
11588
|
-
return (g = s.value) == null ? void 0 : g.find((
|
|
11588
|
+
return (g = s.value) == null ? void 0 : g.find((k) => k.id === a.milestoneId);
|
|
11589
11589
|
}), i = A(() => {
|
|
11590
11590
|
var g;
|
|
11591
|
-
return (g = a.activities) == null ? void 0 : g.find((
|
|
11591
|
+
return (g = a.activities) == null ? void 0 : g.find((k) => k.id === a.activityId);
|
|
11592
11592
|
}), r = (g) => {
|
|
11593
11593
|
e("update:activity", g);
|
|
11594
11594
|
}, l = (g) => {
|
|
@@ -11608,7 +11608,7 @@ const T4 = /* @__PURE__ */ x({
|
|
|
11608
11608
|
}, y = (g) => {
|
|
11609
11609
|
e("removeComment", g);
|
|
11610
11610
|
};
|
|
11611
|
-
return (g,
|
|
11611
|
+
return (g, k) => {
|
|
11612
11612
|
var _, m;
|
|
11613
11613
|
return i.value ? (p(), P(Zn, {
|
|
11614
11614
|
key: 0,
|
|
@@ -11747,7 +11747,7 @@ function j4(t, e, a = {}) {
|
|
|
11747
11747
|
threshold: o
|
|
11748
11748
|
}
|
|
11749
11749
|
);
|
|
11750
|
-
w.forEach((
|
|
11750
|
+
w.forEach((k) => k && g.observe(k)), u = () => {
|
|
11751
11751
|
g.disconnect(), u = oa;
|
|
11752
11752
|
};
|
|
11753
11753
|
},
|
|
@@ -11860,7 +11860,7 @@ const F4 = {
|
|
|
11860
11860
|
}
|
|
11861
11861
|
}), {
|
|
11862
11862
|
item: z(({ element: d }) => {
|
|
11863
|
-
var h, w, y, g,
|
|
11863
|
+
var h, w, y, g, k, _, m, D, I;
|
|
11864
11864
|
return [
|
|
11865
11865
|
M(di, {
|
|
11866
11866
|
class: X(o(d) ? "ao-list-draggable" : ""),
|
|
@@ -11869,7 +11869,7 @@ const F4 = {
|
|
|
11869
11869
|
"project-name": (h = d.project) == null ? void 0 : h.name,
|
|
11870
11870
|
"project-color": (w = d.project) == null ? void 0 : w.color,
|
|
11871
11871
|
"phase-name": (g = (y = d.milestone) == null ? void 0 : y.phase) == null ? void 0 : g.name,
|
|
11872
|
-
"milestone-name": (
|
|
11872
|
+
"milestone-name": (k = d.milestone) == null ? void 0 : k.name,
|
|
11873
11873
|
"milestone-color": (_ = d.milestone) == null ? void 0 : _.color,
|
|
11874
11874
|
deadline: d.deadline,
|
|
11875
11875
|
rules: ((m = d.rules) == null ? void 0 : m.length) || 0,
|
|
@@ -12008,25 +12008,25 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12008
12008
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
12009
12009
|
setup(t, { emit: e }) {
|
|
12010
12010
|
const a = t, { t: n } = Tt();
|
|
12011
|
-
function s(O,
|
|
12012
|
-
e("toast", O,
|
|
12011
|
+
function s(O, S) {
|
|
12012
|
+
e("toast", O, S);
|
|
12013
12013
|
}
|
|
12014
|
-
const o = Pt(a, "activities"), i = async (O,
|
|
12015
|
-
await e("selectActivity", O,
|
|
12014
|
+
const o = Pt(a, "activities"), i = async (O, S) => {
|
|
12015
|
+
await e("selectActivity", O, S);
|
|
12016
12016
|
}, r = ee({}), l = ee(!1), c = ee(!1), u = A(() => a.project ? "milestone" : "project");
|
|
12017
12017
|
de(
|
|
12018
12018
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12019
12019
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12020
|
-
async ([O,
|
|
12020
|
+
async ([O, S, F, V], [se, b]) => {
|
|
12021
12021
|
r.value = Object.fromEntries(
|
|
12022
12022
|
O.map((R) => [
|
|
12023
12023
|
R.id,
|
|
12024
|
-
|
|
12024
|
+
S.filter((le) => {
|
|
12025
12025
|
var ie;
|
|
12026
12026
|
return ((ie = le.status) == null ? void 0 : ie.id) === R.id;
|
|
12027
12027
|
})
|
|
12028
12028
|
])
|
|
12029
|
-
), F && !l.value ? (i(F, null), l.value = !0) : V && !l.value && (i(null, V), l.value = !0), c.value && Xe(
|
|
12029
|
+
), F && !l.value ? (i(F, null), l.value = !0) : V && !l.value && (i(null, V), l.value = !0), c.value && Xe(S, b);
|
|
12030
12030
|
},
|
|
12031
12031
|
{ immediate: !0 }
|
|
12032
12032
|
);
|
|
@@ -12035,14 +12035,14 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12035
12035
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12036
12036
|
}), d = (O) => {
|
|
12037
12037
|
var b, R;
|
|
12038
|
-
const
|
|
12038
|
+
const S = (b = a.activities) == null ? void 0 : b.at(-1), F = S ? Ie.LexoRank.parse(S.rank).genNext() : Ie.LexoRank.middle(), V = ((R = a.activities) == null ? void 0 : R.length) ?? 0, se = {
|
|
12039
12039
|
name: n("activity.defaultName", { idx: V + 1 }),
|
|
12040
12040
|
rank: F.format(),
|
|
12041
12041
|
statusId: O.id
|
|
12042
12042
|
};
|
|
12043
12043
|
a.filters.assigneeId.length > 0 && (se.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (se.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (se.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", se);
|
|
12044
|
-
}, h = (O,
|
|
12045
|
-
c.value = !1, e("update:filters", { ...a.filters, [O]:
|
|
12044
|
+
}, h = (O, S) => {
|
|
12045
|
+
c.value = !1, e("update:filters", { ...a.filters, [O]: S });
|
|
12046
12046
|
}, w = A(
|
|
12047
12047
|
() => a.project ? [a.project] : a.projects ?? []
|
|
12048
12048
|
), y = A(() => w.value.map((O) => ({
|
|
@@ -12050,11 +12050,11 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12050
12050
|
label: O.name
|
|
12051
12051
|
}))), g = A(() => {
|
|
12052
12052
|
var O;
|
|
12053
|
-
return (O = a.activityTypes) == null ? void 0 : O.map((
|
|
12054
|
-
value:
|
|
12055
|
-
label:
|
|
12053
|
+
return (O = a.activityTypes) == null ? void 0 : O.map((S) => ({
|
|
12054
|
+
value: S.id,
|
|
12055
|
+
label: S.name
|
|
12056
12056
|
}));
|
|
12057
|
-
}),
|
|
12057
|
+
}), k = A(() => a.users.map((O) => ({
|
|
12058
12058
|
value: O.id,
|
|
12059
12059
|
label: `${O.firstName} ${O.lastName}`,
|
|
12060
12060
|
avatar: O.avatarUrl
|
|
@@ -12086,13 +12086,13 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12086
12086
|
activityId: a.selectedActivity.id
|
|
12087
12087
|
});
|
|
12088
12088
|
}, oe = (O) => {
|
|
12089
|
-
const { id:
|
|
12090
|
-
|
|
12089
|
+
const { id: S } = a.selectedActivity || {};
|
|
12090
|
+
S && e("updateComment", O);
|
|
12091
12091
|
}, ne = (O) => {
|
|
12092
|
-
const { id:
|
|
12093
|
-
|
|
12092
|
+
const { id: S } = a.selectedActivity || {};
|
|
12093
|
+
S && e("removeComment", O);
|
|
12094
12094
|
};
|
|
12095
|
-
return (O,
|
|
12095
|
+
return (O, S) => {
|
|
12096
12096
|
var F;
|
|
12097
12097
|
return p(), C("div", Q4, [
|
|
12098
12098
|
M(Ga, null, {
|
|
@@ -12103,7 +12103,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12103
12103
|
"is-left": !1,
|
|
12104
12104
|
"right-label": O.$t("project.switch.feed"),
|
|
12105
12105
|
"left-label": O.$t("project.switch.overview"),
|
|
12106
|
-
"onUpdate:isLeft":
|
|
12106
|
+
"onUpdate:isLeft": S[0] || (S[0] = (V) => {
|
|
12107
12107
|
V && O.$router.push({ name: J(Fe).project });
|
|
12108
12108
|
})
|
|
12109
12109
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
@@ -12123,7 +12123,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12123
12123
|
searchable: !0,
|
|
12124
12124
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12125
12125
|
placeholder: O.$t("feed.filters.project.placeholder"),
|
|
12126
|
-
"onUpdate:modelValue":
|
|
12126
|
+
"onUpdate:modelValue": S[1] || (S[1] = (V) => h(J(Lt).project, V))
|
|
12127
12127
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12128
12128
|
g.value ? (p(), P($e, {
|
|
12129
12129
|
key: 2,
|
|
@@ -12134,18 +12134,18 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12134
12134
|
searchable: !0,
|
|
12135
12135
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12136
12136
|
placeholder: O.$t("feed.filters.activityType.placeholder"),
|
|
12137
|
-
"onUpdate:modelValue":
|
|
12137
|
+
"onUpdate:modelValue": S[2] || (S[2] = (V) => h(J(Lt).type, V))
|
|
12138
12138
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
12139
|
-
|
|
12139
|
+
k.value.length ? (p(), P($e, {
|
|
12140
12140
|
key: 3,
|
|
12141
12141
|
"model-value": O.filters[J(Lt).assignee],
|
|
12142
12142
|
mode: "tags",
|
|
12143
|
-
options:
|
|
12143
|
+
options: k.value,
|
|
12144
12144
|
"close-on-select": !1,
|
|
12145
12145
|
searchable: !0,
|
|
12146
12146
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12147
12147
|
placeholder: O.$t("feed.filters.assignee.placeholder"),
|
|
12148
|
-
"onUpdate:modelValue":
|
|
12148
|
+
"onUpdate:modelValue": S[3] || (S[3] = (V) => h(J(Lt).assignee, V))
|
|
12149
12149
|
}, {
|
|
12150
12150
|
tag: z(({
|
|
12151
12151
|
option: V,
|
|
@@ -12171,7 +12171,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12171
12171
|
label: O.$t("feed.filters.showsOnlyImportant.label"),
|
|
12172
12172
|
role: "checkbox",
|
|
12173
12173
|
"aria-checked": O.showsOnlyImportant,
|
|
12174
|
-
onClick:
|
|
12174
|
+
onClick: S[4] || (S[4] = (V) => O.$emit("update:showsOnlyImportant", !O.showsOnlyImportant))
|
|
12175
12175
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12176
12176
|
M(ue, {
|
|
12177
12177
|
class: "ao-feed__show-archived",
|
|
@@ -12183,7 +12183,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12183
12183
|
label: O.$t("feed.filters.showsArchivedActivities.label"),
|
|
12184
12184
|
role: "checkbox",
|
|
12185
12185
|
"aria-checked": O.showsArchivedActivities,
|
|
12186
|
-
onClick:
|
|
12186
|
+
onClick: S[5] || (S[5] = (V) => O.$emit("update:showsArchivedActivities", !O.showsArchivedActivities))
|
|
12187
12187
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
12188
12188
|
]),
|
|
12189
12189
|
_: 1
|
|
@@ -12221,7 +12221,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
|
|
|
12221
12221
|
"is-editable": O.isEditable,
|
|
12222
12222
|
"attachment-enabled": O.attachmentEnabled,
|
|
12223
12223
|
projects: w.value,
|
|
12224
|
-
onClose:
|
|
12224
|
+
onClose: S[6] || (S[6] = () => i(null, null)),
|
|
12225
12225
|
"onUpdate:activity": _,
|
|
12226
12226
|
onAddSubtask: Z,
|
|
12227
12227
|
onUpdateSubtask: Y,
|