@26lights/orcha 0.37.21 → 0.37.23
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 +388 -387
- package/dist/orcha.umd.js +2 -2
- package/dist/src/router/routes.d.ts +2 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as P, unref as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Ii, popScopeId as Li, createStaticVNode as Hi, computed as A, resolveDynamicComponent as ht, normalizeClass as Y, renderSlot as te, toDisplayString as K, createCommentVNode as O, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Di, withCtx as Z, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as Mt, onBeforeUnmount as Os, onUnmounted as An, Teleport as jt, toRefs as Ae, getCurrentInstance as Tt, toRef as Vt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Pi, onUpdated as Vi, vModelText as ut, resolveComponent as xe, getCurrentScope as Bi, onScopeDispose as Ri, toHandlerKey as Ni } from "vue";
|
|
2
2
|
import { RouterView as ji, useRoute as Fi } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const h8 = /* @__PURE__ */ q({
|
|
@@ -7,7 +7,7 @@ const h8 = /* @__PURE__ */ q({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(), P(
|
|
10
|
+
return (e, a) => (p(), P(Q(ji), He({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), N = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -617,23 +617,23 @@ function du(t, e) {
|
|
|
617
617
|
const pu = /* @__PURE__ */ N(ru, [["render", du]]), fu = q({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const Mn = (t) => (Ii("data-v-ad6da4a9"), t = t(), Li(), t), vu = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
624
624
|
fill: "none",
|
|
625
625
|
xmlns: "http://www.w3.org/2000/svg"
|
|
626
|
-
}, hu = /* @__PURE__ */
|
|
626
|
+
}, hu = /* @__PURE__ */ Mn(() => /* @__PURE__ */ v("circle", {
|
|
627
627
|
class: "dot dot--1",
|
|
628
628
|
cx: "6",
|
|
629
629
|
cy: "12",
|
|
630
630
|
r: "2"
|
|
631
|
-
}, null, -1)), mu = /* @__PURE__ */
|
|
631
|
+
}, null, -1)), mu = /* @__PURE__ */ Mn(() => /* @__PURE__ */ v("circle", {
|
|
632
632
|
class: "dot dot--2",
|
|
633
633
|
cx: "12",
|
|
634
634
|
cy: "12",
|
|
635
635
|
r: "2"
|
|
636
|
-
}, null, -1)), Cu = /* @__PURE__ */
|
|
636
|
+
}, null, -1)), Cu = /* @__PURE__ */ Mn(() => /* @__PURE__ */ v("circle", {
|
|
637
637
|
class: "dot dot--3",
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
@@ -1139,7 +1139,7 @@ const A2 = /* @__PURE__ */ N(b2, [["render", S2]]), M2 = /* @__PURE__ */ Object.
|
|
|
1139
1139
|
MD: "md",
|
|
1140
1140
|
LG: "lg",
|
|
1141
1141
|
XL: "xl"
|
|
1142
|
-
},
|
|
1142
|
+
}, Tn = {
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
@@ -1149,10 +1149,10 @@ const A2 = /* @__PURE__ */ N(b2, [["render", S2]]), M2 = /* @__PURE__ */ Object.
|
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
|
-
...
|
|
1152
|
+
...Tn,
|
|
1153
1153
|
...O2
|
|
1154
1154
|
});
|
|
1155
|
-
const
|
|
1155
|
+
const Es = {
|
|
1156
1156
|
ROUND: "round",
|
|
1157
1157
|
ROUNDED: "rounded"
|
|
1158
1158
|
}, pe = /* @__PURE__ */ q({
|
|
@@ -1183,7 +1183,7 @@ const E2 = ["type"], I2 = {
|
|
|
1183
1183
|
footer: { type: Boolean, default: () => !1 },
|
|
1184
1184
|
size: { default: () => Wa.MD },
|
|
1185
1185
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1186
|
-
corners: { default: () =>
|
|
1186
|
+
corners: { default: () => Es.ROUNDED }
|
|
1187
1187
|
},
|
|
1188
1188
|
setup(t) {
|
|
1189
1189
|
const e = t, a = A(() => e.size), n = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1212,7 +1212,7 @@ const E2 = ["type"], I2 = {
|
|
|
1212
1212
|
], 10, E2));
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
|
-
function
|
|
1215
|
+
function Is(t) {
|
|
1216
1216
|
const e = ee(!1), a = ee(""), n = A(() => "value" in t.value ? "value" : "innerHTML"), s = () => {
|
|
1217
1217
|
e.value = !e.value;
|
|
1218
1218
|
}, o = (l) => {
|
|
@@ -1253,7 +1253,7 @@ const ye = /* @__PURE__ */ q({
|
|
|
1253
1253
|
},
|
|
1254
1254
|
emits: ["update:title", "toggle-is-editing"],
|
|
1255
1255
|
setup(t, { emit: e }) {
|
|
1256
|
-
const a = t, n = ee(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } =
|
|
1256
|
+
const a = t, n = ee(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = Is(n), l = A(() => a.title.replace(/\s*\(\d+\)$/, "")), c = A(() => s.value ? "input" : a.tag || `h${a.level}`), u = A(() => a.isEditable ? s.value ? {
|
|
1257
1257
|
change: f,
|
|
1258
1258
|
click: (y) => y.stopPropagation(),
|
|
1259
1259
|
blur: h
|
|
@@ -1285,16 +1285,16 @@ const ye = /* @__PURE__ */ q({
|
|
|
1285
1285
|
{
|
|
1286
1286
|
[`ao-title--${y.color}`]: !!y.color,
|
|
1287
1287
|
"ao-title--editable": y.isEditable,
|
|
1288
|
-
"ao-field__input ao-title--editing":
|
|
1289
|
-
"ao-title--readonly": !
|
|
1288
|
+
"ao-field__input ao-title--editing": Q(s),
|
|
1289
|
+
"ao-title--readonly": !Q(s)
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
|
-
type:
|
|
1293
|
-
value:
|
|
1292
|
+
type: Q(s) ? "text" : null,
|
|
1293
|
+
value: Q(s) ? l.value : null,
|
|
1294
1294
|
tabindex: "0",
|
|
1295
1295
|
onKeyup: dt(w, ["enter"])
|
|
1296
1296
|
}, Di(u.value), {
|
|
1297
|
-
onKeydown: dt(
|
|
1297
|
+
onKeydown: dt(Q(d), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
1299
|
default: Z(() => [
|
|
1300
1300
|
Fa(K(y.title), 1)
|
|
@@ -1324,7 +1324,7 @@ const L2 = {
|
|
|
1324
1324
|
}, j2 = {
|
|
1325
1325
|
key: 3,
|
|
1326
1326
|
class: "ao-card-horiz__secondary"
|
|
1327
|
-
},
|
|
1327
|
+
}, Ls = /* @__PURE__ */ q({
|
|
1328
1328
|
__name: "AoCardHoriz",
|
|
1329
1329
|
props: {
|
|
1330
1330
|
id: {},
|
|
@@ -1437,7 +1437,7 @@ const qa = /* @__PURE__ */ q({
|
|
|
1437
1437
|
], 6));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const _n = {
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
@@ -1530,17 +1530,17 @@ function K2(t, e) {
|
|
|
1530
1530
|
var a = be(t), n = be(e), s = a.getTime() - n.getTime();
|
|
1531
1531
|
return s < 0 ? -1 : s > 0 ? 1 : s;
|
|
1532
1532
|
}
|
|
1533
|
-
var
|
|
1533
|
+
var Hs = 6e4, Ds = 36e5;
|
|
1534
1534
|
function G2(t) {
|
|
1535
1535
|
return ge(1, arguments), t instanceof Date || Ha(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function Ps(t) {
|
|
1538
1538
|
if (ge(1, arguments), !G2(t) && typeof t != "number")
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
var e = be(t);
|
|
1541
1541
|
return !isNaN(Number(e));
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function yn(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
1545
|
var a = Qe(e);
|
|
1546
1546
|
return q2(t, -a);
|
|
@@ -1558,7 +1558,7 @@ function Da(t) {
|
|
|
1558
1558
|
var e = 1, a = be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1559
1559
|
return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Vs(t) {
|
|
1562
1562
|
ge(1, arguments);
|
|
1563
1563
|
var e = be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1564
1564
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
@@ -1569,7 +1569,7 @@ function Bs(t) {
|
|
|
1569
1569
|
}
|
|
1570
1570
|
function J2(t) {
|
|
1571
1571
|
ge(1, arguments);
|
|
1572
|
-
var e =
|
|
1572
|
+
var e = Vs(t), a = /* @__PURE__ */ new Date(0);
|
|
1573
1573
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1574
1574
|
var n = Da(a);
|
|
1575
1575
|
return n;
|
|
@@ -1589,7 +1589,7 @@ function Pa(t, e) {
|
|
|
1589
1589
|
var d = be(t), h = d.getUTCDay(), w = (h < f ? 7 : 0) + h - f;
|
|
1590
1590
|
return d.setUTCDate(d.getUTCDate() - w), d.setUTCHours(0, 0, 0, 0), d;
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function Bs(t, e) {
|
|
1593
1593
|
var a, n, s, o, i, r, l, c;
|
|
1594
1594
|
ge(1, arguments);
|
|
1595
1595
|
var u = be(t), f = u.getUTCFullYear(), d = va(), h = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
@@ -1605,7 +1605,7 @@ function Rs(t, e) {
|
|
|
1605
1605
|
function a0(t, e) {
|
|
1606
1606
|
var a, n, s, o, i, r, l, c;
|
|
1607
1607
|
ge(1, arguments);
|
|
1608
|
-
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d =
|
|
1608
|
+
var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Bs(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
h.setUTCFullYear(d, 0, f), h.setUTCHours(0, 0, 0, 0);
|
|
1610
1610
|
var w = Pa(h, e);
|
|
1611
1611
|
return w;
|
|
@@ -1718,7 +1718,7 @@ var Dt = {
|
|
|
1718
1718
|
},
|
|
1719
1719
|
// Local week-numbering year
|
|
1720
1720
|
Y: function(e, a, n, s) {
|
|
1721
|
-
var o =
|
|
1721
|
+
var o = Bs(e, s), i = o > 0 ? o : 1 - o;
|
|
1722
1722
|
if (a === "YY") {
|
|
1723
1723
|
var r = i % 100;
|
|
1724
1724
|
return ue(r, 2);
|
|
@@ -1729,7 +1729,7 @@ var Dt = {
|
|
|
1729
1729
|
},
|
|
1730
1730
|
// ISO week-numbering year
|
|
1731
1731
|
R: function(e, a) {
|
|
1732
|
-
var n =
|
|
1732
|
+
var n = Vs(e);
|
|
1733
1733
|
return ue(n, a.length);
|
|
1734
1734
|
},
|
|
1735
1735
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2259,7 +2259,7 @@ var ds = function(e, a) {
|
|
|
2259
2259
|
width: "full"
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
|
-
},
|
|
2262
|
+
}, Rs = function(e, a) {
|
|
2263
2263
|
switch (e) {
|
|
2264
2264
|
case "p":
|
|
2265
2265
|
return a.time({
|
|
@@ -2307,9 +2307,9 @@ var ds = function(e, a) {
|
|
|
2307
2307
|
});
|
|
2308
2308
|
break;
|
|
2309
2309
|
}
|
|
2310
|
-
return i.replace("{{date}}", ds(s, a)).replace("{{time}}",
|
|
2310
|
+
return i.replace("{{date}}", ds(s, a)).replace("{{time}}", Rs(o, a));
|
|
2311
2311
|
}, u0 = {
|
|
2312
|
-
p:
|
|
2312
|
+
p: Rs,
|
|
2313
2313
|
P: l0
|
|
2314
2314
|
};
|
|
2315
2315
|
const c0 = u0;
|
|
@@ -2397,7 +2397,7 @@ var h0 = {
|
|
|
2397
2397
|
return typeof o == "string" ? s = o : a === 1 ? s = o.one : s = o.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
|
|
2398
2398
|
};
|
|
2399
2399
|
const C0 = m0;
|
|
2400
|
-
function
|
|
2400
|
+
function vn(t) {
|
|
2401
2401
|
return function() {
|
|
2402
2402
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
|
|
2403
2403
|
return n;
|
|
@@ -2419,15 +2419,15 @@ var g0 = {
|
|
|
2419
2419
|
medium: "{{date}}, {{time}}",
|
|
2420
2420
|
short: "{{date}}, {{time}}"
|
|
2421
2421
|
}, b0 = {
|
|
2422
|
-
date:
|
|
2422
|
+
date: vn({
|
|
2423
2423
|
formats: g0,
|
|
2424
2424
|
defaultWidth: "full"
|
|
2425
2425
|
}),
|
|
2426
|
-
time:
|
|
2426
|
+
time: vn({
|
|
2427
2427
|
formats: _0,
|
|
2428
2428
|
defaultWidth: "full"
|
|
2429
2429
|
}),
|
|
2430
|
-
dateTime:
|
|
2430
|
+
dateTime: vn({
|
|
2431
2431
|
formats: y0,
|
|
2432
2432
|
defaultWidth: "full"
|
|
2433
2433
|
})
|
|
@@ -2719,12 +2719,12 @@ var Q0 = {
|
|
|
2719
2719
|
firstWeekContainsDate: 1
|
|
2720
2720
|
}
|
|
2721
2721
|
};
|
|
2722
|
-
const
|
|
2722
|
+
const Ns = Q0;
|
|
2723
2723
|
var J0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, e3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, t3 = /^'([^]*?)'?$/, a3 = /''/g, n3 = /[a-zA-Z]/;
|
|
2724
|
-
function
|
|
2724
|
+
function js(t, e, a) {
|
|
2725
2725
|
var n, s, o, i, r, l, c, u, f, d, h, w, b, y, S, _, C, D;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
|
-
var L = String(e), H = va(), j = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n :
|
|
2727
|
+
var L = String(e), H = va(), j = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Ns, F = 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 : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = H.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 (!(F >= 1 && F <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
2730
|
var W = Qe((h = (w = (b = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (S = a.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && b !== void 0 ? b : H.weekStartsOn) !== null && w !== void 0 ? w : (C = H.locale) === null || C === void 0 || (D = C.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
@@ -2735,9 +2735,9 @@ function Fs(t, e, a) {
|
|
|
2735
2735
|
if (!j.formatLong)
|
|
2736
2736
|
throw new RangeError("locale must contain formatLong property");
|
|
2737
2737
|
var I = be(t);
|
|
2738
|
-
if (!
|
|
2738
|
+
if (!Ps(I))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
|
-
var z = ra(I), R =
|
|
2740
|
+
var z = ra(I), R = yn(I, z), U = {
|
|
2741
2741
|
firstWeekContainsDate: F,
|
|
2742
2742
|
weekStartsOn: W,
|
|
2743
2743
|
locale: j,
|
|
@@ -2771,7 +2771,7 @@ function s3(t) {
|
|
|
2771
2771
|
function i3(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), b = va(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n :
|
|
2774
|
+
var h = be(t), w = be(e), b = va(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Ns, S = 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 : b.weekStartsOn) !== null && i !== void 0 ? i : (f = b.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 (!y.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
2777
|
if (!y.formatLong)
|
|
@@ -2783,11 +2783,11 @@ function i3(t, e, a) {
|
|
|
2783
2783
|
throw new RangeError("Invalid time value");
|
|
2784
2784
|
var C;
|
|
2785
2785
|
_ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
|
|
2786
|
-
var D =
|
|
2786
|
+
var D = yn(h, ra(h)), L = yn(w, ra(w)), H = y.formatRelative(C, D, L, {
|
|
2787
2787
|
locale: y,
|
|
2788
2788
|
weekStartsOn: S
|
|
2789
2789
|
});
|
|
2790
|
-
return
|
|
2790
|
+
return js(h, H, {
|
|
2791
2791
|
locale: y,
|
|
2792
2792
|
weekStartsOn: S
|
|
2793
2793
|
});
|
|
@@ -2866,10 +2866,10 @@ function p3(t) {
|
|
|
2866
2866
|
var e = t.match(r3);
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
|
-
var a =
|
|
2870
|
-
return _3(a, n, s) ? a *
|
|
2869
|
+
var a = hn(e[1]), n = hn(e[2]), s = hn(e[3]);
|
|
2870
|
+
return _3(a, n, s) ? a * Ds + n * Hs + s * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function hn(t) {
|
|
2873
2873
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
2874
2874
|
}
|
|
2875
2875
|
function f3(t) {
|
|
@@ -2879,7 +2879,7 @@ function f3(t) {
|
|
|
2879
2879
|
if (!e)
|
|
2880
2880
|
return 0;
|
|
2881
2881
|
var a = e[1] === "+" ? -1 : 1, n = parseInt(e[2]), s = e[3] && parseInt(e[3]) || 0;
|
|
2882
|
-
return y3(n, s) ? a * (n *
|
|
2882
|
+
return y3(n, s) ? a * (n * Ds + s * Hs) : NaN;
|
|
2883
2883
|
}
|
|
2884
2884
|
function v3(t, e, a) {
|
|
2885
2885
|
var n = /* @__PURE__ */ new Date(0);
|
|
@@ -2888,14 +2888,14 @@ function v3(t, e, a) {
|
|
|
2888
2888
|
return n.setUTCDate(n.getUTCDate() + o), n;
|
|
2889
2889
|
}
|
|
2890
2890
|
var h3 = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2891
|
-
function
|
|
2891
|
+
function Fs(t) {
|
|
2892
2892
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
2893
2893
|
}
|
|
2894
2894
|
function m3(t, e, a) {
|
|
2895
|
-
return e >= 0 && e <= 11 && a >= 1 && a <= (h3[e] || (
|
|
2895
|
+
return e >= 0 && e <= 11 && a >= 1 && a <= (h3[e] || (Fs(t) ? 29 : 28));
|
|
2896
2896
|
}
|
|
2897
2897
|
function C3(t, e) {
|
|
2898
|
-
return e >= 1 && e <= (
|
|
2898
|
+
return e >= 1 && e <= (Fs(t) ? 366 : 365);
|
|
2899
2899
|
}
|
|
2900
2900
|
function g3(t, e, a) {
|
|
2901
2901
|
return e >= 1 && e <= 53 && a >= 0 && a <= 6;
|
|
@@ -2906,7 +2906,7 @@ function _3(t, e, a) {
|
|
|
2906
2906
|
function y3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {},
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Us = {}, aa = {}, ha = {}, Yt = {}, za = {};
|
|
2910
2910
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
2911
2911
|
za.lexoHelper = void 0;
|
|
2912
2912
|
za.lexoHelper = {
|
|
@@ -3254,11 +3254,11 @@ class Oe {
|
|
|
3254
3254
|
}
|
|
3255
3255
|
ha.LexoDecimal = Oe;
|
|
3256
3256
|
var Ta = {}, fs;
|
|
3257
|
-
function
|
|
3257
|
+
function Zs() {
|
|
3258
3258
|
if (fs)
|
|
3259
3259
|
return Ta;
|
|
3260
3260
|
fs = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
|
|
3261
|
-
const t = Yt, e =
|
|
3261
|
+
const t = Yt, e = qs();
|
|
3262
3262
|
class a {
|
|
3263
3263
|
constructor(s) {
|
|
3264
3264
|
this.value = t.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3311,8 +3311,8 @@ function Ws() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3315
|
-
Object.defineProperty(
|
|
3314
|
+
var On = {}, Ws = {};
|
|
3315
|
+
Object.defineProperty(Ws, "__esModule", { value: !0 });
|
|
3316
3316
|
var xa = {};
|
|
3317
3317
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
3318
3318
|
xa.LexoNumeralSystem10 = void 0;
|
|
@@ -3420,14 +3420,14 @@ Ka.LexoNumeralSystem64 = M3;
|
|
|
3420
3420
|
for (var o in n)
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3424
|
-
})(
|
|
3423
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Ws, t), a(xa, t), a(Ya, t), a(Ka, t);
|
|
3424
|
+
})(On);
|
|
3425
3425
|
var vs;
|
|
3426
|
-
function
|
|
3426
|
+
function qs() {
|
|
3427
3427
|
if (vs)
|
|
3428
3428
|
return aa;
|
|
3429
3429
|
vs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
-
const t = ha, e =
|
|
3430
|
+
const t = ha, e = Zs(), a = ma, n = On;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3613,8 +3613,8 @@ function zs() {
|
|
|
3613
3613
|
for (var o in n)
|
|
3614
3614
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3615
3615
|
};
|
|
3616
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3617
|
-
})(
|
|
3616
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(qs(), t), a(Zs(), t), a(ha, t), a(Yt, t);
|
|
3617
|
+
})(Us);
|
|
3618
3618
|
(function(t) {
|
|
3619
3619
|
var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
|
|
3620
3620
|
i === void 0 && (i = o);
|
|
@@ -3628,9 +3628,9 @@ function zs() {
|
|
|
3628
3628
|
for (var o in n)
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3630
3630
|
};
|
|
3631
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Us, t), a(On, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
|
-
function
|
|
3633
|
+
function zs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3635
3635
|
var n;
|
|
3636
3636
|
return e + (((n = a.activities) == null ? void 0 : n.length) ?? 0);
|
|
@@ -3645,7 +3645,7 @@ function T3(t) {
|
|
|
3645
3645
|
function O3(t) {
|
|
3646
3646
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3647
3647
|
var s;
|
|
3648
|
-
const n = (s = a.milestones) != null && s.length ?
|
|
3648
|
+
const n = (s = a.milestones) != null && s.length ? zs(a.milestones) : 0;
|
|
3649
3649
|
return e + n;
|
|
3650
3650
|
}, 0)) ?? 0;
|
|
3651
3651
|
}
|
|
@@ -3671,25 +3671,25 @@ function Ft(t, e) {
|
|
|
3671
3671
|
return Ie.LexoRank.parse(n.rank).between(Ie.LexoRank.parse(a.rank)).format();
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
function
|
|
3674
|
+
function En(t, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!t)
|
|
3676
3676
|
return "";
|
|
3677
3677
|
const a = la(t);
|
|
3678
|
-
return
|
|
3678
|
+
return Ps(a) ? js(a, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function In(t, e) {
|
|
3681
3681
|
return t.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
3683
|
function I3(t, e) {
|
|
3684
|
-
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !
|
|
3684
|
+
return t.activities.length === 0 ? !1 : !t.activities.some((a) => !In(a, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function L3(t, e) {
|
|
3687
3687
|
return {
|
|
3688
3688
|
...t,
|
|
3689
|
-
status: I3(t, e) ?
|
|
3689
|
+
status: I3(t, e) ? _n.done : _n.todo
|
|
3690
3690
|
};
|
|
3691
3691
|
}
|
|
3692
|
-
const
|
|
3692
|
+
const xs = (t) => {
|
|
3693
3693
|
const { firstName: e, lastName: a } = t || {};
|
|
3694
3694
|
return `${e ?? ""}${e ? " " : ""}${a ?? ""}`;
|
|
3695
3695
|
}, H3 = ["title"], D3 = {
|
|
@@ -3717,7 +3717,7 @@ const Ys = (t) => {
|
|
|
3717
3717
|
class: Y(n.value),
|
|
3718
3718
|
title: i.userName
|
|
3719
3719
|
}, [
|
|
3720
|
-
i.avatarUrl ? O("", !0) : (p(), g("span", D3, K(
|
|
3720
|
+
i.avatarUrl ? O("", !0) : (p(), g("span", D3, K(Q(s)), 1)),
|
|
3721
3721
|
i.avatarUrl ? (p(), g("img", {
|
|
3722
3722
|
key: 1,
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
@@ -3759,7 +3759,7 @@ const V3 = { class: "ao-card-template__subitems" }, B3 = { class: "ao-card-templ
|
|
|
3759
3759
|
const a = (n) => {
|
|
3760
3760
|
e("updateTitle", n);
|
|
3761
3761
|
};
|
|
3762
|
-
return (n, s) => (p(), P(
|
|
3762
|
+
return (n, s) => (p(), P(Ls, {
|
|
3763
3763
|
id: n.id,
|
|
3764
3764
|
title: n.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
@@ -3869,10 +3869,10 @@ const i5 = ["type"], o5 = {
|
|
|
3869
3869
|
iconName: {},
|
|
3870
3870
|
iconPosition: {},
|
|
3871
3871
|
type: { default: () => "button" },
|
|
3872
|
-
color: { default: () =>
|
|
3872
|
+
color: { default: () => Tn.BLACK },
|
|
3873
3873
|
size: { default: () => Wa.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
|
-
corners: { default: () =>
|
|
3875
|
+
corners: { default: () => Es.ROUNDED }
|
|
3876
3876
|
},
|
|
3877
3877
|
setup(t) {
|
|
3878
3878
|
const e = t, a = A(() => e.size), n = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3900,7 +3900,7 @@ const i5 = ["type"], o5 = {
|
|
|
3900
3900
|
const r5 = { class: "ao-card-template-item__footer" }, l5 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, u5 = { class: "ao-card-template-item__subitem-number" }, c5 = { class: "ao-card-template-item__secondary" },
|
|
3903
|
+
}, u5 = { class: "ao-card-template-item__subitem-number" }, c5 = { class: "ao-card-template-item__secondary" }, Ln = /* @__PURE__ */ q({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3920,7 +3920,7 @@ const r5 = { class: "ao-card-template-item__footer" }, l5 = {
|
|
|
3920
3920
|
}, o = () => {
|
|
3921
3921
|
e("remove");
|
|
3922
3922
|
};
|
|
3923
|
-
return (i, r) => (p(), P(
|
|
3923
|
+
return (i, r) => (p(), P(Ls, { "onUpdate:title": a }, {
|
|
3924
3924
|
footer: Z(() => [
|
|
3925
3925
|
v("ul", r5, [
|
|
3926
3926
|
(p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
|
|
@@ -3960,8 +3960,8 @@ const d5 = /* @__PURE__ */ q({
|
|
|
3960
3960
|
const e = t, a = A(() => {
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
|
-
}), n = A(() => e.milestones ?
|
|
3964
|
-
return (s, o) => (p(), P(
|
|
3963
|
+
}), n = A(() => e.milestones ? zs(e.milestones) : 0);
|
|
3964
|
+
return (s, o) => (p(), P(Ln, He({
|
|
3965
3965
|
id: s.id,
|
|
3966
3966
|
title: s.name,
|
|
3967
3967
|
activities: n.value,
|
|
@@ -3983,7 +3983,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
3983
3983
|
var n;
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
|
-
return (n, s) => (p(), P(
|
|
3986
|
+
return (n, s) => (p(), P(Ln, { activities: a.value }, {
|
|
3987
3987
|
default: Z(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4014,7 +4014,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
return (r, l) => r.phase ? (p(), P(
|
|
4017
|
+
return (r, l) => r.phase ? (p(), P(Q(mt), {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": r.phase.milestones,
|
|
4020
4020
|
class: "ao-templates__list",
|
|
@@ -4070,7 +4070,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4070
4070
|
var n;
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
|
-
return (n, s) => (p(), P(
|
|
4073
|
+
return (n, s) => (p(), P(Ln, { tasks: a.value }, {
|
|
4074
4074
|
default: Z(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4104,7 +4104,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
return (r, l) => r.milestone ? (p(), P(
|
|
4107
|
+
return (r, l) => r.milestone ? (p(), P(Q(mt), {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
"model-value": r.milestone.activities,
|
|
4110
4110
|
title: r.$t("template.activities.title"),
|
|
@@ -4151,7 +4151,7 @@ const d5 = /* @__PURE__ */ q({
|
|
|
4151
4151
|
}, y5 = { class: "ao-modal__header-meta" }, b5 = { class: "ao-modal__title-group" }, w5 = { class: "ao-modal__body" }, $5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4154
|
+
}, Hn = /* @__PURE__ */ q({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4201,7 +4201,7 @@ const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) =
|
|
|
4201
4201
|
start: "end",
|
|
4202
4202
|
end: "start"
|
|
4203
4203
|
};
|
|
4204
|
-
function
|
|
4204
|
+
function Dn(t, e) {
|
|
4205
4205
|
return typeof t == "function" ? t(e) : t;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Ut(t) {
|
|
@@ -4213,26 +4213,26 @@ function Xa(t) {
|
|
|
4213
4213
|
function A5(t) {
|
|
4214
4214
|
return t === "x" ? "y" : "x";
|
|
4215
4215
|
}
|
|
4216
|
-
function
|
|
4216
|
+
function Ys(t) {
|
|
4217
4217
|
return t === "y" ? "height" : "width";
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function Pn(t) {
|
|
4220
4220
|
return ["top", "bottom"].includes(Ut(t)) ? "y" : "x";
|
|
4221
4221
|
}
|
|
4222
|
-
function
|
|
4223
|
-
return A5(
|
|
4222
|
+
function Ks(t) {
|
|
4223
|
+
return A5(Pn(t));
|
|
4224
4224
|
}
|
|
4225
4225
|
function M5(t, e, a) {
|
|
4226
4226
|
a === void 0 && (a = !1);
|
|
4227
|
-
const n = Xa(t), s =
|
|
4227
|
+
const n = Xa(t), s = Ks(t), o = Ys(s);
|
|
4228
4228
|
let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4229
4229
|
return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
|
|
4230
4230
|
}
|
|
4231
4231
|
function T5(t) {
|
|
4232
4232
|
const e = Ba(t);
|
|
4233
|
-
return [
|
|
4233
|
+
return [bn(t), e, bn(e)];
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function bn(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => S5[e]);
|
|
4237
4237
|
}
|
|
4238
4238
|
function O5(t, e, a) {
|
|
@@ -4251,7 +4251,7 @@ function O5(t, e, a) {
|
|
|
4251
4251
|
function E5(t, e, a, n) {
|
|
4252
4252
|
const s = Xa(t);
|
|
4253
4253
|
let o = O5(Ut(t), a === "start", n);
|
|
4254
|
-
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(
|
|
4254
|
+
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(bn)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ba(t) {
|
|
4257
4257
|
return t.replace(/left|right|bottom|top/g, (e) => k5[e]);
|
|
@@ -4287,7 +4287,7 @@ function hs(t, e, a) {
|
|
|
4287
4287
|
reference: n,
|
|
4288
4288
|
floating: s
|
|
4289
4289
|
} = t;
|
|
4290
|
-
const o =
|
|
4290
|
+
const o = Pn(e), i = Ks(e), r = Ys(i), l = Ut(e), c = o === "y", u = n.x + n.width / 2 - s.width / 2, f = n.y + n.height / 2 - s.height / 2, d = n[r] / 2 - s[r] / 2;
|
|
4291
4291
|
let h;
|
|
4292
4292
|
switch (l) {
|
|
4293
4293
|
case "top":
|
|
@@ -4394,7 +4394,7 @@ const H5 = async (t, e, a) => {
|
|
|
4394
4394
|
middlewareData: h
|
|
4395
4395
|
};
|
|
4396
4396
|
};
|
|
4397
|
-
async function
|
|
4397
|
+
async function Gs(t, e) {
|
|
4398
4398
|
var a;
|
|
4399
4399
|
e === void 0 && (e = {});
|
|
4400
4400
|
const {
|
|
@@ -4410,7 +4410,7 @@ async function Xs(t, e) {
|
|
|
4410
4410
|
elementContext: f = "floating",
|
|
4411
4411
|
altBoundary: d = !1,
|
|
4412
4412
|
padding: h = 0
|
|
4413
|
-
} =
|
|
4413
|
+
} = Dn(e, t), w = L5(h), y = r[d ? f === "floating" ? "reference" : "floating" : f], S = Ra(await o.getClippingRect({
|
|
4414
4414
|
element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: c,
|
|
4416
4416
|
rootBoundary: u,
|
|
@@ -4458,12 +4458,12 @@ const D5 = function(t) {
|
|
|
4458
4458
|
fallbackAxisSideDirection: w = "none",
|
|
4459
4459
|
flipAlignment: b = !0,
|
|
4460
4460
|
...y
|
|
4461
|
-
} =
|
|
4461
|
+
} = Dn(t, e);
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const S = Ut(s), _ = Ut(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : T5(r));
|
|
4465
4465
|
!d && w !== "none" && D.push(...E5(r, b, w, C));
|
|
4466
|
-
const L = [r, ...D], H = await
|
|
4466
|
+
const L = [r, ...D], H = await Gs(e, y), j = [];
|
|
4467
4467
|
let F = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
4468
|
if (u && j.push(H[S]), f) {
|
|
4469
4469
|
const R = M5(s, i, C);
|
|
@@ -4522,7 +4522,7 @@ const D5 = function(t) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} =
|
|
4525
|
+
} = Dn(t, e), l = await Gs(e, r), c = Ut(a), u = Xa(a), f = Pn(a) === "y", {
|
|
4526
4526
|
width: d,
|
|
4527
4527
|
height: h
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4556,7 +4556,7 @@ const D5 = function(t) {
|
|
|
4556
4556
|
};
|
|
4557
4557
|
};
|
|
4558
4558
|
function ft(t) {
|
|
4559
|
-
return
|
|
4559
|
+
return Xs(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4560
4560
|
}
|
|
4561
4561
|
function ke(t) {
|
|
4562
4562
|
var e;
|
|
@@ -4564,15 +4564,15 @@ function ke(t) {
|
|
|
4564
4564
|
}
|
|
4565
4565
|
function at(t) {
|
|
4566
4566
|
var e;
|
|
4567
|
-
return (e = (
|
|
4567
|
+
return (e = (Xs(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4568
4568
|
}
|
|
4569
|
-
function
|
|
4569
|
+
function Xs(t) {
|
|
4570
4570
|
return t instanceof Node || t instanceof ke(t).Node;
|
|
4571
4571
|
}
|
|
4572
4572
|
function et(t) {
|
|
4573
4573
|
return t instanceof Element || t instanceof ke(t).Element;
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4575
|
+
function Fe(t) {
|
|
4576
4576
|
return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
4578
|
function ms(t) {
|
|
@@ -4590,20 +4590,20 @@ function ga(t) {
|
|
|
4590
4590
|
function V5(t) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ft(t));
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
const e =
|
|
4593
|
+
function Vn(t) {
|
|
4594
|
+
const e = Bn(), a = Ve(t);
|
|
4595
4595
|
return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (a.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (a.contain || "").includes(n));
|
|
4596
4596
|
}
|
|
4597
4597
|
function B5(t) {
|
|
4598
4598
|
let e = Zt(t);
|
|
4599
|
-
for (;
|
|
4600
|
-
if (
|
|
4599
|
+
for (; Fe(e) && !Qa(e); ) {
|
|
4600
|
+
if (Vn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Zt(e);
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Bn() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function Qa(t) {
|
|
@@ -4633,38 +4633,38 @@ function Zt(t) {
|
|
|
4633
4633
|
);
|
|
4634
4634
|
return ms(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
|
-
function
|
|
4636
|
+
function Qs(t) {
|
|
4637
4637
|
const e = Zt(t);
|
|
4638
|
-
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4638
|
+
return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Fe(e) && ga(e) ? e : Qs(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var n;
|
|
4642
4642
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4643
|
-
const s =
|
|
4643
|
+
const s = Qs(t), o = s === ((n = t.ownerDocument) == null ? void 0 : n.body), i = ke(s);
|
|
4644
4644
|
return o ? e.concat(i, i.visualViewport || [], ga(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Js(t) {
|
|
4647
4647
|
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4649
|
-
const s =
|
|
4649
|
+
const s = Fe(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
|
|
4650
4650
|
return r && (a = o, n = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: n,
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function Rn(t) {
|
|
4657
4657
|
return et(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
4659
|
function Bt(t) {
|
|
4660
|
-
const e =
|
|
4661
|
-
if (!
|
|
4660
|
+
const e = Rn(t);
|
|
4661
|
+
if (!Fe(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
4664
4664
|
width: n,
|
|
4665
4665
|
height: s,
|
|
4666
4666
|
$: o
|
|
4667
|
-
} =
|
|
4667
|
+
} = Js(e);
|
|
4668
4668
|
let i = (o ? Va(a.width) : a.width) / n, r = (o ? Va(a.height) : a.height) / s;
|
|
4669
4669
|
return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
4670
4670
|
x: i,
|
|
@@ -4672,9 +4672,9 @@ function Bt(t) {
|
|
|
4672
4672
|
};
|
|
4673
4673
|
}
|
|
4674
4674
|
const R5 = /* @__PURE__ */ pt(0);
|
|
4675
|
-
function
|
|
4675
|
+
function ei(t) {
|
|
4676
4676
|
const e = ke(t);
|
|
4677
|
-
return !
|
|
4677
|
+
return !Bn() || !e.visualViewport ? R5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
@@ -4684,10 +4684,10 @@ function N5(t, e, a) {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
function St(t, e, a, n) {
|
|
4686
4686
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4687
|
-
const s = t.getBoundingClientRect(), o =
|
|
4687
|
+
const s = t.getBoundingClientRect(), o = Rn(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
4689
|
e && (n ? et(n) && (i = Bt(n)) : i = Bt(t));
|
|
4690
|
-
const r = N5(o, a, n) ?
|
|
4690
|
+
const r = N5(o, a, n) ? ei(o) : pt(0);
|
|
4691
4691
|
let l = (s.left + r.x) / i.x, c = (s.top + r.y) / i.y, u = s.width / i.x, f = s.height / i.y;
|
|
4692
4692
|
if (o) {
|
|
4693
4693
|
const d = ke(o), h = n && et(n) ? ke(n) : n;
|
|
@@ -4710,7 +4710,7 @@ function j5(t) {
|
|
|
4710
4710
|
offsetParent: a,
|
|
4711
4711
|
strategy: n
|
|
4712
4712
|
} = t;
|
|
4713
|
-
const s =
|
|
4713
|
+
const s = Fe(a), o = at(a);
|
|
4714
4714
|
if (a === o)
|
|
4715
4715
|
return e;
|
|
4716
4716
|
let i = {
|
|
@@ -4718,7 +4718,7 @@ function j5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)),
|
|
4721
|
+
if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Fe(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Bt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4732,12 +4732,12 @@ function j5(t) {
|
|
|
4732
4732
|
function F5(t) {
|
|
4733
4733
|
return Array.from(t.getClientRects());
|
|
4734
4734
|
}
|
|
4735
|
-
function
|
|
4735
|
+
function ti(t) {
|
|
4736
4736
|
return St(at(t)).left + Ja(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function U5(t) {
|
|
4739
4739
|
const e = at(t), a = Ja(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4740
|
-
let i = -a.scrollLeft +
|
|
4740
|
+
let i = -a.scrollLeft + ti(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
4742
|
return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
|
|
4743
4743
|
width: s,
|
|
@@ -4751,7 +4751,7 @@ function Z5(t, e) {
|
|
|
4751
4751
|
let o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
4752
4752
|
if (s) {
|
|
4753
4753
|
o = s.width, i = s.height;
|
|
4754
|
-
const c =
|
|
4754
|
+
const c = Bn();
|
|
4755
4755
|
(!c || c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4762,7 +4762,7 @@ function Z5(t, e) {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
4764
|
function W5(t, e) {
|
|
4765
|
-
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o =
|
|
4765
|
+
const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Fe(t) ? Bt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: i,
|
|
4768
4768
|
height: r,
|
|
@@ -4779,7 +4779,7 @@ function Cs(t, e, a) {
|
|
|
4779
4779
|
else if (et(e))
|
|
4780
4780
|
n = W5(e, a);
|
|
4781
4781
|
else {
|
|
4782
|
-
const s =
|
|
4782
|
+
const s = ei(t);
|
|
4783
4783
|
n = {
|
|
4784
4784
|
...e,
|
|
4785
4785
|
x: e.x - s.x,
|
|
@@ -4788,9 +4788,9 @@ function Cs(t, e, a) {
|
|
|
4788
4788
|
}
|
|
4789
4789
|
return Ra(n);
|
|
4790
4790
|
}
|
|
4791
|
-
function
|
|
4791
|
+
function ai(t, e) {
|
|
4792
4792
|
const a = Zt(t);
|
|
4793
|
-
return a === e || !et(a) || Qa(a) ? !1 : Ve(a).position === "fixed" ||
|
|
4793
|
+
return a === e || !et(a) || Qa(a) ? !1 : Ve(a).position === "fixed" || ai(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function q5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
@@ -4800,8 +4800,8 @@ function q5(t, e) {
|
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Zt(t) : t;
|
|
4802
4802
|
for (; et(i) && !Qa(i); ) {
|
|
4803
|
-
const r = Ve(i), l =
|
|
4804
|
-
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l &&
|
|
4803
|
+
const r = Ve(i), l = Vn(i);
|
|
4804
|
+
!l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ai(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Zt(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(t, n), n;
|
|
4807
4807
|
}
|
|
@@ -4824,10 +4824,10 @@ function z5(t) {
|
|
|
4824
4824
|
};
|
|
4825
4825
|
}
|
|
4826
4826
|
function x5(t) {
|
|
4827
|
-
return
|
|
4827
|
+
return Js(t);
|
|
4828
4828
|
}
|
|
4829
4829
|
function Y5(t, e, a) {
|
|
4830
|
-
const n =
|
|
4830
|
+
const n = Fe(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4831
4831
|
let r = {
|
|
4832
4832
|
scrollLeft: 0,
|
|
4833
4833
|
scrollTop: 0
|
|
@@ -4838,7 +4838,7 @@ function Y5(t, e, a) {
|
|
|
4838
4838
|
const c = St(e, !0, o, e);
|
|
4839
4839
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4840
4840
|
} else
|
|
4841
|
-
s && (l.x =
|
|
4841
|
+
s && (l.x = ti(s));
|
|
4842
4842
|
return {
|
|
4843
4843
|
x: i.left + r.scrollLeft - l.x,
|
|
4844
4844
|
y: i.top + r.scrollTop - l.y,
|
|
@@ -4847,16 +4847,16 @@ function Y5(t, e, a) {
|
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
4849
|
function gs(t, e) {
|
|
4850
|
-
return !
|
|
4850
|
+
return !Fe(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
|
-
function
|
|
4852
|
+
function ni(t, e) {
|
|
4853
4853
|
const a = ke(t);
|
|
4854
|
-
if (!
|
|
4854
|
+
if (!Fe(t))
|
|
4855
4855
|
return a;
|
|
4856
4856
|
let n = gs(t, e);
|
|
4857
4857
|
for (; n && V5(n) && Ve(n).position === "static"; )
|
|
4858
4858
|
n = gs(n, e);
|
|
4859
|
-
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !
|
|
4859
|
+
return n && (ft(n) === "html" || ft(n) === "body" && Ve(n).position === "static" && !Vn(n)) ? a : n || B5(t) || a;
|
|
4860
4860
|
}
|
|
4861
4861
|
const K5 = async function(t) {
|
|
4862
4862
|
let {
|
|
@@ -4864,7 +4864,7 @@ const K5 = async function(t) {
|
|
|
4864
4864
|
floating: a,
|
|
4865
4865
|
strategy: n
|
|
4866
4866
|
} = t;
|
|
4867
|
-
const s = this.getOffsetParent ||
|
|
4867
|
+
const s = this.getOffsetParent || ni, o = this.getDimensions;
|
|
4868
4868
|
return {
|
|
4869
4869
|
reference: Y5(e, await s(a), n),
|
|
4870
4870
|
floating: {
|
|
@@ -4881,7 +4881,7 @@ const X5 = {
|
|
|
4881
4881
|
convertOffsetParentRelativeRectToViewportRelativeRect: j5,
|
|
4882
4882
|
getDocumentElement: at,
|
|
4883
4883
|
getClippingRect: z5,
|
|
4884
|
-
getOffsetParent:
|
|
4884
|
+
getOffsetParent: ni,
|
|
4885
4885
|
getElementRects: K5,
|
|
4886
4886
|
getClientRects: F5,
|
|
4887
4887
|
getDimensions: x5,
|
|
@@ -4942,7 +4942,7 @@ function J5(t, e, a, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: l = !1
|
|
4945
|
-
} = n, c =
|
|
4945
|
+
} = n, c = Rn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
|
|
4946
4946
|
u.forEach((S) => {
|
|
4947
4947
|
s && S.addEventListener("scroll", a, {
|
|
4948
4948
|
passive: !0
|
|
@@ -4983,7 +4983,7 @@ const e7 = (t, e, a) => {
|
|
|
4983
4983
|
}, t7 = (t) => {
|
|
4984
4984
|
const e = ee(!1), a = ee(), n = ee(), s = ee(0);
|
|
4985
4985
|
function o() {
|
|
4986
|
-
const f =
|
|
4986
|
+
const f = Q(t.appendTo);
|
|
4987
4987
|
return f ? typeof f == "string" ? document.getElementById(f) ?? document.body : f : document.getElementById("floatingElements") ?? document.body;
|
|
4988
4988
|
}
|
|
4989
4989
|
const i = o(), r = ee(() => {
|
|
@@ -5040,9 +5040,9 @@ const e7 = (t, e, a) => {
|
|
|
5040
5040
|
}
|
|
5041
5041
|
Mt(() => {
|
|
5042
5042
|
c();
|
|
5043
|
-
}),
|
|
5043
|
+
}), Os(() => {
|
|
5044
5044
|
r.value();
|
|
5045
|
-
}),
|
|
5045
|
+
}), An(() => {
|
|
5046
5046
|
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
@@ -5110,7 +5110,7 @@ function i7(t, e, a) {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
}
|
|
5113
|
-
function
|
|
5113
|
+
function mn(t, e = !0) {
|
|
5114
5114
|
return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
|
|
5115
5115
|
}
|
|
5116
5116
|
function o7(t) {
|
|
@@ -5157,30 +5157,30 @@ function l7(t, e, a) {
|
|
|
5157
5157
|
groupOptions: k,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
5159
|
groupSelect: E,
|
|
5160
|
-
onCreate:
|
|
5160
|
+
onCreate: X,
|
|
5161
5161
|
disabledProp: J,
|
|
5162
5162
|
searchStart: re,
|
|
5163
5163
|
searchFilter: ae
|
|
5164
|
-
} = Ae(t), le = Tt().proxy, x = a.iv, V = a.ev, G = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus,
|
|
5164
|
+
} = Ae(t), le = Tt().proxy, x = a.iv, V = a.ev, G = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, sn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), We = ee(T.value && i.value === -1 ? 10 : i.value), Xt = A(() => l.value || c.value || !1), ba = A(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = A(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
|
|
5169
|
+
pn(oe[k.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[J.value] ? { [J.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
5173
5173
|
} else {
|
|
5174
|
-
let $ =
|
|
5174
|
+
let $ = pn(Ne.value || /* istanbul ignore next */
|
|
5175
5175
|
[]);
|
|
5176
5176
|
return it.value.length && ($ = $.concat(it.value)), $;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = A(() => {
|
|
5179
5179
|
let $ = Te.value;
|
|
5180
|
-
return se.value && ($ = $.reverse()), Et.value.length && ($ = Et.value.concat($)),
|
|
5180
|
+
return se.value && ($ = $.reverse()), Et.value.length && ($ = Et.value.concat($)), dn($);
|
|
5181
5181
|
}), ot = A(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
|
-
return
|
|
5183
|
+
return We.value > 0 && ($ = $.slice(0, We.value)), $;
|
|
5184
5184
|
}), _t = A(() => {
|
|
5185
5185
|
if (!ie.value)
|
|
5186
5186
|
return [];
|
|
@@ -5198,22 +5198,22 @@ function l7(t, e, a) {
|
|
|
5198
5198
|
[k.value]: [...Et.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
|
-
}),
|
|
5201
|
+
}), on = A(() => {
|
|
5202
5202
|
if (!ie.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Ti(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me =
|
|
5207
|
+
const me = pn(B[k.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[k.value]:
|
|
5213
|
-
__VISIBLE__:
|
|
5212
|
+
[k.value]: dn(me, !1).map((bt) => Object.assign({}, bt, B[J.value] ? { [J.value]: !0 } : {})),
|
|
5213
|
+
__VISIBLE__: dn(me).map((bt) => Object.assign({}, bt, B[J.value] ? { [J.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
5216
|
-
}),
|
|
5216
|
+
}), rn = A(() => {
|
|
5217
5217
|
switch (s.value) {
|
|
5218
5218
|
case "single":
|
|
5219
5219
|
return !je(x.value[H.value]);
|
|
@@ -5235,7 +5235,7 @@ function l7(t, e, a) {
|
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
5237
|
}), gi = A(() => b.value || Me.value), It = ($) => {
|
|
5238
|
-
switch (typeof $ != "object" && ($ =
|
|
5238
|
+
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we($);
|
|
5241
5241
|
break;
|
|
@@ -5246,7 +5246,7 @@ function l7(t, e, a) {
|
|
|
5246
5246
|
}
|
|
5247
5247
|
e.emit("select", ts($), $, le);
|
|
5248
5248
|
}, Lt = ($) => {
|
|
5249
|
-
switch (typeof $ != "object" && ($ =
|
|
5249
|
+
switch (typeof $ != "object" && ($ = ze($)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
5251
|
ns();
|
|
5252
5252
|
break;
|
|
@@ -5266,7 +5266,7 @@ function l7(t, e, a) {
|
|
|
5266
5266
|
as($);
|
|
5267
5267
|
}, ns = () => {
|
|
5268
5268
|
we(Ci.value), e.emit("clear", le);
|
|
5269
|
-
},
|
|
5269
|
+
}, qe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
5271
|
return s.value === "single" ? !1 : ki($[k.value]) && $[k.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
@@ -5276,9 +5276,9 @@ function l7(t, e, a) {
|
|
|
5276
5276
|
case "multiple":
|
|
5277
5277
|
return !je(x.value) && x.value.map((B) => B[H.value]).indexOf($[H.value]) !== -1;
|
|
5278
5278
|
}
|
|
5279
|
-
},
|
|
5280
|
-
if (!
|
|
5281
|
-
if (
|
|
5279
|
+
}, ln = ($) => $[J.value] === !0, un = () => I === void 0 || I.value === -1 || !rn.value && I.value > 0 ? !1 : x.value.length >= I.value, yi = ($) => {
|
|
5280
|
+
if (!ln($)) {
|
|
5281
|
+
if (X && X.value && !qe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = X.value($, le), $ instanceof Promise)) {
|
|
5282
5282
|
Me.value = !0, $.then((B) => {
|
|
5283
5283
|
Me.value = !1, ss(B);
|
|
5284
5284
|
});
|
|
@@ -5289,67 +5289,67 @@ function l7(t, e, a) {
|
|
|
5289
5289
|
}, ss = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
|
-
if ($ &&
|
|
5292
|
+
if ($ && qe($)) {
|
|
5293
5293
|
W.value && Lt($), U.value && (nt(), st());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
$ &&
|
|
5296
|
+
$ && cn($), L.value && he(), R.value && (nt(), st()), $ && It($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
|
-
if ($ &&
|
|
5299
|
+
if ($ && qe($)) {
|
|
5300
5300
|
Lt($), U.value && (nt(), st());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5303
|
+
if (un()) {
|
|
5304
5304
|
e.emit("max", le);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
$ && (
|
|
5307
|
+
$ && (cn($), It($)), L.value && he(), r.value && nt(), R.value && st();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
|
-
if ($ &&
|
|
5310
|
+
if ($ && qe($)) {
|
|
5311
5311
|
Lt($), U.value && (nt(), st());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
5314
|
-
if (
|
|
5314
|
+
if (un()) {
|
|
5315
5315
|
e.emit("max", le);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
$ &&
|
|
5318
|
+
$ && cn($), L.value && he(), $ && It($), r.value && nt(), R.value && st();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
R.value || _a();
|
|
5322
5322
|
}, bi = ($) => {
|
|
5323
|
-
if (!(
|
|
5323
|
+
if (!(ln($) || s.value === "single" || !E.value)) {
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
5327
|
$i($[k.value]) ? Lt($[k.value]) : It(
|
|
5328
5328
|
$[k.value].filter((B) => x.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[J.value]).filter((B, oe) => x.value.length + 1 + oe <= I.value || I.value === -1)
|
|
5329
|
-
), r.value && Kt.value && Gt(
|
|
5329
|
+
), r.value && Kt.value && Gt(on.value.filter((B) => !B[J.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
5332
|
-
R.value &&
|
|
5332
|
+
R.value && sn();
|
|
5333
5333
|
}
|
|
5334
|
-
},
|
|
5335
|
-
|
|
5334
|
+
}, cn = ($) => {
|
|
5335
|
+
ze($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], le), e.emit("option", $[H.value], le), e.emit("create", $[H.value], le), ba.value && Mi($), he());
|
|
5336
5336
|
}, wi = () => {
|
|
5337
|
-
s.value !== "single" && It(ot.value.filter(($) => !$.disabled && !
|
|
5338
|
-
}, $i = ($) => $.find((B) => !
|
|
5337
|
+
s.value !== "single" && It(ot.value.filter(($) => !$.disabled && !qe($)));
|
|
5338
|
+
}, $i = ($) => $.find((B) => !qe(B) && !B[J.value]) === void 0, ki = ($) => $.find((B) => !qe(B)) === void 0, ze = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], Si = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), Ai = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && qe($), Mi = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
5340
|
}, Ti = ($) => m.value ? $.filter(
|
|
5341
5341
|
(B) => G.value ? B.__VISIBLE__.length : B[k.value].length
|
|
5342
|
-
) : $.filter((B) => G.value ? B.__VISIBLE__.length : !0),
|
|
5342
|
+
) : $.filter((B) => G.value ? B.__VISIBLE__.length : !0), dn = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (G.value && C.value) {
|
|
5345
5345
|
let me = ae.value;
|
|
5346
5346
|
me || (me = (bt, os, d8) => yt.value.some((Ei) => {
|
|
5347
|
-
let rs =
|
|
5348
|
-
return re.value ? rs.startsWith(
|
|
5347
|
+
let rs = mn(ya(bt[Ei]), z.value);
|
|
5348
|
+
return re.value ? rs.startsWith(mn(os, z.value)) : rs.indexOf(mn(os, z.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((bt) => me(bt, G.value, le));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (oe = oe.filter((me) => !Ai(me))), oe;
|
|
5352
|
-
},
|
|
5352
|
+
}, pn = ($) => {
|
|
5353
5353
|
let B = $;
|
|
5354
5354
|
return o7(B) && (B = Object.keys(B).map((oe) => {
|
|
5355
5355
|
let me = B[oe];
|
|
@@ -5365,17 +5365,17 @@ function l7(t, e, a) {
|
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
B();
|
|
5367
5367
|
});
|
|
5368
|
-
})),
|
|
5369
|
-
if (
|
|
5368
|
+
})), fn = () => {
|
|
5369
|
+
if (rn.value)
|
|
5370
5370
|
if (s.value === "single") {
|
|
5371
|
-
let $ =
|
|
5371
|
+
let $ = ze(x.value[H.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
5374
|
x.value[u.value] = B, w.value && (V.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
x.value.forEach(($, B) => {
|
|
5378
|
-
let oe =
|
|
5378
|
+
let oe = ze(x.value[B][H.value]);
|
|
5379
5379
|
if (oe !== void 0) {
|
|
5380
5380
|
let me = oe[u.value];
|
|
5381
5381
|
x.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
|
|
@@ -5383,11 +5383,11 @@ function l7(t, e, a) {
|
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Oi = ($) => {
|
|
5385
5385
|
ka($);
|
|
5386
|
-
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ?
|
|
5386
|
+
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? ze($) || (j.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
5388
5388
|
[H.value]: $,
|
|
5389
5389
|
[yt.value[0]]: $
|
|
5390
|
-
} : {}) : $.filter((B) => !!
|
|
5390
|
+
} : {}) : $.filter((B) => !!ze(B) || j.value).map((B) => ze(B) || {
|
|
5391
5391
|
[u.value]: B,
|
|
5392
5392
|
[H.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
@@ -5424,41 +5424,41 @@ function l7(t, e, a) {
|
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(n, ($, B) => {
|
|
5427
|
-
typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(x.value).length || $a(),
|
|
5428
|
-
}), de(u,
|
|
5429
|
-
|
|
5427
|
+
typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(x.value).length || $a(), fn());
|
|
5428
|
+
}), de(u, fn), de(i, ($, B) => {
|
|
5429
|
+
We.value = T.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Qt,
|
|
5432
5432
|
fo: ot,
|
|
5433
5433
|
filteredOptions: ot,
|
|
5434
|
-
hasSelected:
|
|
5434
|
+
hasSelected: rn,
|
|
5435
5435
|
multipleLabelText: vi,
|
|
5436
5436
|
eo: Te,
|
|
5437
5437
|
extendedOptions: Te,
|
|
5438
5438
|
eg: _t,
|
|
5439
5439
|
extendedGroups: _t,
|
|
5440
|
-
fg:
|
|
5441
|
-
filteredGroups:
|
|
5440
|
+
fg: on,
|
|
5441
|
+
filteredGroups: on,
|
|
5442
5442
|
noOptions: hi,
|
|
5443
5443
|
noResults: mi,
|
|
5444
5444
|
resolving: Me,
|
|
5445
5445
|
busy: gi,
|
|
5446
|
-
offset:
|
|
5446
|
+
offset: We,
|
|
5447
5447
|
select: It,
|
|
5448
5448
|
deselect: Lt,
|
|
5449
5449
|
remove: as,
|
|
5450
5450
|
selectAll: wi,
|
|
5451
5451
|
clear: ns,
|
|
5452
|
-
isSelected:
|
|
5453
|
-
isDisabled:
|
|
5454
|
-
isMax:
|
|
5455
|
-
getOption:
|
|
5452
|
+
isSelected: qe,
|
|
5453
|
+
isDisabled: ln,
|
|
5454
|
+
isMax: un,
|
|
5455
|
+
getOption: ze,
|
|
5456
5456
|
handleOptionClick: yi,
|
|
5457
5457
|
handleGroupClick: bi,
|
|
5458
5458
|
handleTagRemove: _i,
|
|
5459
5459
|
refreshOptions: Oi,
|
|
5460
5460
|
resolveOptions: ka,
|
|
5461
|
-
refreshLabels:
|
|
5461
|
+
refreshLabels: fn
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
5464
5464
|
function u7(t, e, a) {
|
|
@@ -5488,7 +5488,7 @@ function u7(t, e, a) {
|
|
|
5488
5488
|
}), T = A(() => {
|
|
5489
5489
|
const V = le(S.value).__VISIBLE__.filter((G) => !G[u.value]);
|
|
5490
5490
|
return V[V.map((G) => G[n.value]).indexOf(S.value[n.value]) + 1];
|
|
5491
|
-
}), k = A(() => [...z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = A(() => [...U.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), E = (V) => S.value && (!V.group && S.value[n.value] === V[n.value] || V.group !== void 0 && S.value[i.value] === V[i.value]) ? !0 : void 0,
|
|
5491
|
+
}), k = A(() => [...z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = A(() => [...U.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), E = (V) => S.value && (!V.group && S.value[n.value] === V[n.value] || V.group !== void 0 && S.value[i.value] === V[i.value]) ? !0 : void 0, X = () => {
|
|
5492
5492
|
_(H.value[0] || null);
|
|
5493
5493
|
}, J = () => {
|
|
5494
5494
|
!S.value || S.value[u.value] === !0 || (W.value ? b(S.value) : w(S.value));
|
|
@@ -5529,7 +5529,7 @@ function u7(t, e, a) {
|
|
|
5529
5529
|
r.value && (G = W.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > G.clientHeight + G.scrollTop && (G.scrollTop = V.offsetTop + V.offsetHeight - G.clientHeight), V.offsetTop < G.scrollTop && (G.scrollTop = V.offsetTop);
|
|
5530
5530
|
};
|
|
5531
5531
|
return de(y, (V) => {
|
|
5532
|
-
o.value && (V.length && s.value ?
|
|
5532
|
+
o.value && (V.length && s.value ? X() : C());
|
|
5533
5533
|
}), de(L, (V) => {
|
|
5534
5534
|
if (V) {
|
|
5535
5535
|
let G = D.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -5544,7 +5544,7 @@ function u7(t, e, a) {
|
|
|
5544
5544
|
pointer: S,
|
|
5545
5545
|
canPointGroups: F,
|
|
5546
5546
|
isPointed: E,
|
|
5547
|
-
setPointerFirst:
|
|
5547
|
+
setPointerFirst: X,
|
|
5548
5548
|
selectPointer: J,
|
|
5549
5549
|
forwardPointer: re,
|
|
5550
5550
|
backwardPointer: ae
|
|
@@ -5567,27 +5567,27 @@ function Pe(t) {
|
|
|
5567
5567
|
var e = Se(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function Nn(t) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
5573
|
var e = Se(t).ShadowRoot;
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var kt = Math.max, Na = Math.min, Wt = Math.round;
|
|
5577
|
-
function
|
|
5577
|
+
function wn() {
|
|
5578
5578
|
var t = navigator.userAgentData;
|
|
5579
5579
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
5580
5580
|
return e.brand + "/" + e.version;
|
|
5581
5581
|
}).join(" ") : navigator.userAgent;
|
|
5582
5582
|
}
|
|
5583
|
-
function
|
|
5584
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
5583
|
+
function si() {
|
|
5584
|
+
return !/^((?!chrome|android).)*safari/i.test(wn());
|
|
5585
5585
|
}
|
|
5586
5586
|
function qt(t, e, a) {
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5588
5588
|
var n = t.getBoundingClientRect(), s = 1, o = 1;
|
|
5589
5589
|
e && Pe(t) && (s = t.offsetWidth > 0 && Wt(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Wt(n.height) / t.offsetHeight || 1);
|
|
5590
|
-
var i = At(t) ? Se(t) : window, r = i.visualViewport, l = !
|
|
5590
|
+
var i = At(t) ? Se(t) : window, r = i.visualViewport, l = !si() && a, c = (n.left + (l && r ? r.offsetLeft : 0)) / s, u = (n.top + (l && r ? r.offsetTop : 0)) / o, f = n.width / s, d = n.height / o;
|
|
5591
5591
|
return {
|
|
5592
5592
|
width: f,
|
|
5593
5593
|
height: d,
|
|
@@ -5599,7 +5599,7 @@ function qt(t, e, a) {
|
|
|
5599
5599
|
y: u
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function jn(t) {
|
|
5603
5603
|
var e = Se(t), a = e.pageXOffset, n = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: a,
|
|
@@ -5613,9 +5613,9 @@ function c7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function d7(t) {
|
|
5616
|
-
return t === Se(t) || !Pe(t) ?
|
|
5616
|
+
return t === Se(t) || !Pe(t) ? jn(t) : c7(t);
|
|
5617
5617
|
}
|
|
5618
|
-
function
|
|
5618
|
+
function Ue(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
5621
|
function gt(t) {
|
|
@@ -5624,13 +5624,13 @@ function gt(t) {
|
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5628
|
-
return qt(gt(t)).left +
|
|
5627
|
+
function Fn(t) {
|
|
5628
|
+
return qt(gt(t)).left + jn(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function tt(t) {
|
|
5631
5631
|
return Se(t).getComputedStyle(t);
|
|
5632
5632
|
}
|
|
5633
|
-
function
|
|
5633
|
+
function Un(t) {
|
|
5634
5634
|
var e = tt(t), a = e.overflow, n = e.overflowX, s = e.overflowY;
|
|
5635
5635
|
return /auto|scroll|overlay|hidden/.test(a + s + n);
|
|
5636
5636
|
}
|
|
@@ -5647,15 +5647,15 @@ function f7(t, e, a) {
|
|
|
5647
5647
|
x: 0,
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
|
-
return (n || !n && !a) && ((
|
|
5651
|
-
|
|
5650
|
+
return (n || !n && !a) && ((Ue(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
+
Un(o)) && (r = d7(e)), Pe(e) ? (l = qt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Fn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
5654
5654
|
width: i.width,
|
|
5655
5655
|
height: i.height
|
|
5656
5656
|
};
|
|
5657
5657
|
}
|
|
5658
|
-
function
|
|
5658
|
+
function ii(t) {
|
|
5659
5659
|
var e = qt(t), a = t.offsetWidth, n = t.offsetHeight;
|
|
5660
5660
|
return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
|
|
5661
5661
|
x: t.offsetLeft,
|
|
@@ -5665,45 +5665,45 @@ function oi(t) {
|
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
5667
|
function en(t) {
|
|
5668
|
-
return
|
|
5668
|
+
return Ue(t) === "html" ? t : (
|
|
5669
5669
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5670
|
// $FlowFixMe[incompatible-return]
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
5672
5672
|
t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
5673
5673
|
t.parentNode || // DOM Element detected
|
|
5674
|
-
(
|
|
5674
|
+
(Nn(t) ? t.host : null) || // ShadowRoot detected
|
|
5675
5675
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5676
5676
|
gt(t)
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
|
-
function
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(
|
|
5679
|
+
function oi(t) {
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Ue(t)) >= 0 ? t.ownerDocument.body : Pe(t) && Un(t) ? t : oi(en(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var n =
|
|
5685
|
+
var n = oi(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], Un(n) ? n : []) : n, r = e.concat(i);
|
|
5686
5686
|
return s ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
5688
|
r.concat(ia(en(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function v7(t) {
|
|
5692
|
-
return ["table", "td", "th"].indexOf(
|
|
5692
|
+
return ["table", "td", "th"].indexOf(Ue(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
5694
|
function _s(t) {
|
|
5695
5695
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function h7(t) {
|
|
5699
|
-
var e = /firefox/i.test(
|
|
5699
|
+
var e = /firefox/i.test(wn()), a = /Trident/i.test(wn());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
5701
|
var n = tt(t);
|
|
5702
5702
|
if (n.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = en(t);
|
|
5706
|
-
for (
|
|
5706
|
+
for (Nn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ue(s)) < 0; ) {
|
|
5707
5707
|
var o = tt(s);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5709
5709
|
return s;
|
|
@@ -5714,11 +5714,11 @@ function h7(t) {
|
|
|
5714
5714
|
function tn(t) {
|
|
5715
5715
|
for (var e = Se(t), a = _s(t); a && v7(a) && tt(a).position === "static"; )
|
|
5716
5716
|
a = _s(a);
|
|
5717
|
-
return a && (
|
|
5717
|
+
return a && (Ue(a) === "html" || Ue(a) === "body" && tt(a).position === "static") ? e : a || h7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top",
|
|
5719
|
+
var Re = "top", Ze = "bottom", vt = "right", Ge = "left", Zn = "auto", an = [Re, Ze, vt, Ge], zt = "start", da = "end", m7 = "clippingParents", ri = "viewport", sa = "popper", C7 = "reference", ys = /* @__PURE__ */ an.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + zt, e + "-" + da]);
|
|
5721
|
-
}, []), g7 = /* @__PURE__ */ [].concat(an, [
|
|
5721
|
+
}, []), g7 = /* @__PURE__ */ [].concat(an, [Zn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + zt, e + "-" + da]);
|
|
5723
5723
|
}, []), _7 = "beforeRead", y7 = "read", b7 = "afterRead", w7 = "beforeMain", $7 = "main", k7 = "afterMain", S7 = "beforeWrite", A7 = "write", M7 = "afterWrite", T7 = [_7, y7, b7, w7, $7, k7, S7, A7, M7];
|
|
5724
5724
|
function O7(t) {
|
|
@@ -5774,18 +5774,18 @@ function H7(t, e) {
|
|
|
5774
5774
|
var a = Se(t), n = gt(t), s = a.visualViewport, o = n.clientWidth, i = n.clientHeight, r = 0, l = 0;
|
|
5775
5775
|
if (s) {
|
|
5776
5776
|
o = s.width, i = s.height;
|
|
5777
|
-
var c =
|
|
5777
|
+
var c = si();
|
|
5778
5778
|
(c || !c && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
5779
5779
|
}
|
|
5780
5780
|
return {
|
|
5781
5781
|
width: o,
|
|
5782
5782
|
height: i,
|
|
5783
|
-
x: r +
|
|
5783
|
+
x: r + Fn(t),
|
|
5784
5784
|
y: l
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function D7(t) {
|
|
5788
|
-
var e, a = gt(t), n =
|
|
5788
|
+
var e, a = gt(t), n = jn(t), s = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), r = -n.scrollLeft + Fn(t), l = -n.scrollTop;
|
|
5789
5789
|
return tt(s || a).direction === "rtl" && (r += kt(a.clientWidth, s ? s.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
@@ -5797,7 +5797,7 @@ function P7(t, e) {
|
|
|
5797
5797
|
var a = e.getRootNode && e.getRootNode();
|
|
5798
5798
|
if (t.contains(e))
|
|
5799
5799
|
return !0;
|
|
5800
|
-
if (a &&
|
|
5800
|
+
if (a && Nn(a)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && t.isSameNode(n))
|
|
@@ -5807,7 +5807,7 @@ function P7(t, e) {
|
|
|
5807
5807
|
}
|
|
5808
5808
|
return !1;
|
|
5809
5809
|
}
|
|
5810
|
-
function
|
|
5810
|
+
function $n(t) {
|
|
5811
5811
|
return Object.assign({}, t, {
|
|
5812
5812
|
left: t.x,
|
|
5813
5813
|
top: t.y,
|
|
@@ -5820,12 +5820,12 @@ function V7(t, e) {
|
|
|
5820
5820
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5821
5821
|
}
|
|
5822
5822
|
function bs(t, e, a) {
|
|
5823
|
-
return e ===
|
|
5823
|
+
return e === ri ? $n(H7(t, a)) : At(e) ? V7(e, a) : $n(D7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function B7(t) {
|
|
5826
5826
|
var e = ia(en(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? tn(t) : t;
|
|
5827
5827
|
return At(n) ? e.filter(function(s) {
|
|
5828
|
-
return At(s) && P7(s, n) &&
|
|
5828
|
+
return At(s) && P7(s, n) && Ue(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
5831
|
function R7(t, e, a, n) {
|
|
@@ -5841,10 +5841,10 @@ function ct(t) {
|
|
|
5841
5841
|
function xt(t) {
|
|
5842
5842
|
return t.split("-")[1];
|
|
5843
5843
|
}
|
|
5844
|
-
function
|
|
5844
|
+
function li(t) {
|
|
5845
5845
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5846
5846
|
}
|
|
5847
|
-
function
|
|
5847
|
+
function ui(t) {
|
|
5848
5848
|
var e = t.reference, a = t.element, n = t.placement, s = n ? ct(n) : null, o = n ? xt(n) : null, i = e.x + e.width / 2 - a.width / 2, r = e.y + e.height / 2 - a.height / 2, l;
|
|
5849
5849
|
switch (s) {
|
|
5850
5850
|
case Re:
|
|
@@ -5853,7 +5853,7 @@ function ci(t) {
|
|
|
5853
5853
|
y: e.y - a.height
|
|
5854
5854
|
};
|
|
5855
5855
|
break;
|
|
5856
|
-
case
|
|
5856
|
+
case Ze:
|
|
5857
5857
|
l = {
|
|
5858
5858
|
x: i,
|
|
5859
5859
|
y: e.y + e.height
|
|
@@ -5877,7 +5877,7 @@ function ci(t) {
|
|
|
5877
5877
|
y: e.y
|
|
5878
5878
|
};
|
|
5879
5879
|
}
|
|
5880
|
-
var c = s ?
|
|
5880
|
+
var c = s ? li(s) : null;
|
|
5881
5881
|
if (c != null) {
|
|
5882
5882
|
var u = c === "y" ? "height" : "width";
|
|
5883
5883
|
switch (o) {
|
|
@@ -5891,7 +5891,7 @@ function ci(t) {
|
|
|
5891
5891
|
}
|
|
5892
5892
|
return l;
|
|
5893
5893
|
}
|
|
5894
|
-
function
|
|
5894
|
+
function ci() {
|
|
5895
5895
|
return {
|
|
5896
5896
|
top: 0,
|
|
5897
5897
|
right: 0,
|
|
@@ -5900,21 +5900,21 @@ function di() {
|
|
|
5900
5900
|
};
|
|
5901
5901
|
}
|
|
5902
5902
|
function N7(t) {
|
|
5903
|
-
return Object.assign({},
|
|
5903
|
+
return Object.assign({}, ci(), t);
|
|
5904
5904
|
}
|
|
5905
5905
|
function j7(t, e) {
|
|
5906
5906
|
return e.reduce(function(a, n) {
|
|
5907
5907
|
return a[n] = t, a;
|
|
5908
5908
|
}, {});
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
5910
|
+
function Wn(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 ? m7 : r, c = a.rootBoundary, u = c === void 0 ?
|
|
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 ? m7 : r, c = a.rootBoundary, u = c === void 0 ? ri : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, S = N7(typeof y != "number" ? y : j7(y, an)), _ = d === sa ? C7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = R7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = qt(t.elements.reference), j = ui({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
5916
5916
|
placement: s
|
|
5917
|
-
}), F =
|
|
5917
|
+
}), F = $n(Object.assign({}, C, j)), W = d === sa ? F : H, I = {
|
|
5918
5918
|
top: L.top - W.top + S.top,
|
|
5919
5919
|
bottom: W.bottom - L.bottom + S.bottom,
|
|
5920
5920
|
left: L.left - W.left + S.left,
|
|
@@ -5923,7 +5923,7 @@ function Zn(t, e) {
|
|
|
5923
5923
|
if (d === sa && z) {
|
|
5924
5924
|
var R = z[s];
|
|
5925
5925
|
Object.keys(I).forEach(function(U) {
|
|
5926
|
-
var ie = [vt,
|
|
5926
|
+
var ie = [vt, Ze].indexOf(U) >= 0 ? 1 : -1, se = [Re, Ze].indexOf(U) >= 0 ? "y" : "x";
|
|
5927
5927
|
I[U] += R[se] * ie;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
@@ -5981,7 +5981,7 @@ function F7(t) {
|
|
|
5981
5981
|
if ($s(_, C)) {
|
|
5982
5982
|
u.rects = {
|
|
5983
5983
|
reference: f7(_, tn(C), u.options.strategy === "fixed"),
|
|
5984
|
-
popper:
|
|
5984
|
+
popper: ii(C)
|
|
5985
5985
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(I) {
|
|
5986
5986
|
return u.modifiersData[I.name] = Object.assign({}, I.data);
|
|
5987
5987
|
});
|
|
@@ -6064,7 +6064,7 @@ var Z7 = {
|
|
|
6064
6064
|
};
|
|
6065
6065
|
function W7(t) {
|
|
6066
6066
|
var e = t.state, a = t.name;
|
|
6067
|
-
e.modifiersData[a] =
|
|
6067
|
+
e.modifiersData[a] = ui({
|
|
6068
6068
|
reference: e.rects.reference,
|
|
6069
6069
|
element: e.rects.popper,
|
|
6070
6070
|
strategy: "absolute",
|
|
@@ -6103,14 +6103,14 @@ function ks(t) {
|
|
|
6103
6103
|
if (c) {
|
|
6104
6104
|
var H = tn(a), j = "clientHeight", F = "clientWidth";
|
|
6105
6105
|
if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (j = "scrollHeight", F = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
|
|
6106
|
-
D =
|
|
6106
|
+
D = Ze;
|
|
6107
6107
|
var W = f && H === L && L.visualViewport ? L.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
6109
|
H[j]
|
|
6110
6110
|
);
|
|
6111
6111
|
b -= W - n.height, b *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
|
-
if (s === Ge || (s === Re || s ===
|
|
6113
|
+
if (s === Ge || (s === Re || s === Ze) && o === da) {
|
|
6114
6114
|
C = vt;
|
|
6115
6115
|
var I = f && H === L && L.visualViewport ? L.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
@@ -6168,7 +6168,7 @@ function G7(t) {
|
|
|
6168
6168
|
var e = t.state;
|
|
6169
6169
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6170
|
var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
|
|
6171
|
-
!Pe(o) || !
|
|
6171
|
+
!Pe(o) || !Ue(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
|
|
6172
6172
|
var r = s[i];
|
|
6173
6173
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6174
6174
|
}));
|
|
@@ -6192,7 +6192,7 @@ function X7(t) {
|
|
|
6192
6192
|
var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
|
|
6193
6193
|
return l[c] = "", l;
|
|
6194
6194
|
}, {});
|
|
6195
|
-
!Pe(s) || !
|
|
6195
|
+
!Pe(s) || !Ue(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
|
|
6196
6196
|
s.removeAttribute(l);
|
|
6197
6197
|
}));
|
|
6198
6198
|
});
|
|
@@ -6219,12 +6219,12 @@ function ap(t, e, a) {
|
|
|
6219
6219
|
return n > a ? a : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function np(t) {
|
|
6222
|
-
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, y =
|
|
6222
|
+
var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, y = Wn(e, {
|
|
6223
6223
|
boundary: l,
|
|
6224
6224
|
rootBoundary: c,
|
|
6225
6225
|
padding: f,
|
|
6226
6226
|
altBoundary: u
|
|
6227
|
-
}), S = ct(e.placement), _ = xt(e.placement), C = !_, D =
|
|
6227
|
+
}), S = ct(e.placement), _ = xt(e.placement), C = !_, D = li(S), L = tp(D), H = e.modifiersData.popperOffsets, j = e.rects.reference, F = e.rects.popper, W = typeof b == "function" ? b(Object.assign({}, e.rects, {
|
|
6228
6228
|
placement: e.placement
|
|
6229
6229
|
})) : b, I = typeof W == "number" ? {
|
|
6230
6230
|
mainAxis: W,
|
|
@@ -6238,14 +6238,14 @@ function np(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var U, ie = D === "y" ? Re : Ge, se = D === "y" ?
|
|
6241
|
+
var U, ie = D === "y" ? Re : Ge, se = D === "y" ? Ze : vt, T = D === "y" ? "height" : "width", k = H[D], m = k + y[ie], E = k - y[se], X = h ? -F[T] / 2 : 0, J = _ === zt ? j[T] : F[T], re = _ === zt ? -F[T] : -j[T], ae = e.elements.arrow, le = h && ae ? ii(ae) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding :
|
|
6244
|
+
}, x = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ci(), V = x[ie], G = x[se], he = Ia(0, j[T], le[T]), we = C ? j[T] / 2 - X - he - V - I.mainAxis : J - he - V - I.mainAxis, Kt = C ? -j[T] / 2 + X + he + G + I.mainAxis : re + he + G + I.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (U = z == null ? void 0 : z[D]) != null ? U : 0, sn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(m, sn) : m, k, h ? kt(E, st) : E);
|
|
6245
6245
|
H[D] = ya, R[D] = ya - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ?
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? Ze : vt, Be = H[L], We = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(S) !== -1, Qt = (it = z == null ? void 0 : z[L]) != null ? it : 0, ot = Te ? Xt : Be - j[We] - F[We] - Qt + I.altAxis, _t = Te ? Be + j[We] + F[We] - Qt - I.altAxis : ba, wa = h && Te ? ap(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
H[L] = wa, R[L] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
@@ -6286,7 +6286,7 @@ function rp(t, e) {
|
|
|
6286
6286
|
});
|
|
6287
6287
|
d.length === 0 && (d = f);
|
|
6288
6288
|
var h = d.reduce(function(w, b) {
|
|
6289
|
-
return w[b] =
|
|
6289
|
+
return w[b] = Wn(t, {
|
|
6290
6290
|
placement: b,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
@@ -6298,7 +6298,7 @@ function rp(t, e) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function lp(t) {
|
|
6301
|
-
if (ct(t) ===
|
|
6301
|
+
if (ct(t) === Zn)
|
|
6302
6302
|
return [];
|
|
6303
6303
|
var e = La(t);
|
|
6304
6304
|
return [Ss(t), e, Ss(e)];
|
|
@@ -6307,7 +6307,7 @@ function up(t) {
|
|
|
6307
6307
|
var e = t.state, a = t.options, n = t.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
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, b = a.allowedAutoPlacements, y = e.options.placement, S = ct(y), _ = S === y, C = l || (_ || !w ? [La(y)] : lp(y)), D = [y].concat(C).reduce(function(le, x) {
|
|
6310
|
-
return le.concat(ct(x) ===
|
|
6310
|
+
return le.concat(ct(x) === Zn ? rp(e, {
|
|
6311
6311
|
placement: x,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: f,
|
|
@@ -6316,13 +6316,13 @@ function up(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: b
|
|
6317
6317
|
}) : x);
|
|
6318
6318
|
}, []), L = e.rects.reference, H = e.rects.popper, j = /* @__PURE__ */ new Map(), F = !0, W = D[0], I = 0; I < D.length; I++) {
|
|
6319
|
-
var z = D[I], R = ct(z), U = xt(z) === zt, ie = [Re,
|
|
6319
|
+
var z = D[I], R = ct(z), U = xt(z) === zt, ie = [Re, Ze].indexOf(R) >= 0, se = ie ? "width" : "height", T = Wn(e, {
|
|
6320
6320
|
placement: z,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}), k = ie ? U ? vt : Ge : U ?
|
|
6325
|
+
}), k = ie ? U ? vt : Ge : U ? Ze : Re;
|
|
6326
6326
|
L[se] > H[se] && (k = La(k));
|
|
6327
6327
|
var m = La(k), E = [];
|
|
6328
6328
|
if (o && E.push(T[R] <= 0), r && E.push(T[k] <= 0, T[m] <= 0), E.every(function(le) {
|
|
@@ -6334,7 +6334,7 @@ function up(t) {
|
|
|
6334
6334
|
j.set(z, E);
|
|
6335
6335
|
}
|
|
6336
6336
|
if (F)
|
|
6337
|
-
for (var
|
|
6337
|
+
for (var X = w ? 3 : 1, J = function(x) {
|
|
6338
6338
|
var V = D.find(function(G) {
|
|
6339
6339
|
var he = j.get(G);
|
|
6340
6340
|
if (he)
|
|
@@ -6344,7 +6344,7 @@ function up(t) {
|
|
|
6344
6344
|
});
|
|
6345
6345
|
if (V)
|
|
6346
6346
|
return W = V, "break";
|
|
6347
|
-
}, re =
|
|
6347
|
+
}, re = X; re > 0; re--) {
|
|
6348
6348
|
var ae = J(re);
|
|
6349
6349
|
if (ae === "break")
|
|
6350
6350
|
break;
|
|
@@ -6425,7 +6425,7 @@ function dp(t, e, a) {
|
|
|
6425
6425
|
}
|
|
6426
6426
|
]
|
|
6427
6427
|
}));
|
|
6428
|
-
}),
|
|
6428
|
+
}), Os(() => {
|
|
6429
6429
|
!h.value || !f.value || (f.value.destroy(), f.value = null);
|
|
6430
6430
|
}), {
|
|
6431
6431
|
popper: f,
|
|
@@ -6493,8 +6493,8 @@ function fp(t, e, a) {
|
|
|
6493
6493
|
return {
|
|
6494
6494
|
handleKeydown: (E) => {
|
|
6495
6495
|
e.emit("keydown", E, w);
|
|
6496
|
-
let
|
|
6497
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(E.key) !== -1 && n.value === "tags" && (
|
|
6496
|
+
let X, J;
|
|
6497
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(E.key) !== -1 && n.value === "tags" && (X = [...j.value.querySelectorAll("[data-tags] > *")].filter((re) => re !== W.value), J = X.findIndex((re) => re === document.activeElement)), E.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
6499
|
if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || b.value.length === 0)
|
|
6500
6500
|
return;
|
|
@@ -6505,7 +6505,7 @@ function fp(t, e, a) {
|
|
|
6505
6505
|
if (E.preventDefault(), E.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
6507
|
if (J !== -1 && J !== void 0) {
|
|
6508
|
-
y([...b.value].filter((ae, le) => le !== J)), J ===
|
|
6508
|
+
y([...b.value].filter((ae, le) => le !== J)), J === X.length - 1 && (X.length - 1 ? X[X.length - 2].focus() : i.value ? W.value.querySelector("input").focus() : F.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
6511
|
if (se.value.indexOf("enter") === -1 && ie.value)
|
|
@@ -6546,12 +6546,12 @@ function fp(t, e, a) {
|
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
6547
|
if (i.value && W.value && W.value.querySelector("input").selectionStart || E.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
|
|
6548
6548
|
return;
|
|
6549
|
-
E.preventDefault(), J === -1 ?
|
|
6549
|
+
E.preventDefault(), J === -1 ? X[X.length - 1].focus() : J > 0 && X[J - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
6552
|
if (J === -1 || E.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
|
|
6553
6553
|
return;
|
|
6554
|
-
E.preventDefault(),
|
|
6554
|
+
E.preventDefault(), X.length > J + 1 ? X[J + 1].focus() : i.value ? W.value.querySelector("input").focus() : i.value || F.value.focus();
|
|
6555
6555
|
break;
|
|
6556
6556
|
}
|
|
6557
6557
|
},
|
|
@@ -7654,7 +7654,7 @@ const $e = /* @__PURE__ */ q({
|
|
|
7654
7654
|
return e.detached && t7({
|
|
7655
7655
|
multiselect: n,
|
|
7656
7656
|
appendTo: a.value
|
|
7657
|
-
}), (s, o) => (p(), P(
|
|
7657
|
+
}), (s, o) => (p(), P(Q(lt), {
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: n,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
@@ -7869,7 +7869,7 @@ const Yp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], Kp = { class:
|
|
|
7869
7869
|
o.forEach((u) => {
|
|
7870
7870
|
document.body.addEventListener(u, (f) => f.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), An(() => {
|
|
7873
7873
|
o.forEach((u) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
u,
|
|
@@ -7982,7 +7982,7 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
7982
7982
|
const a = t, n = A(() => {
|
|
7983
7983
|
const b = a.user;
|
|
7984
7984
|
return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
|
|
7985
|
-
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } =
|
|
7985
|
+
}), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Is(s), c = A(() => {
|
|
7986
7986
|
const b = a.editedAt && la(a.editedAt), y = la(a.createdAt), S = /* @__PURE__ */ new Date(), _ = b ?? y;
|
|
7987
7987
|
return _ && i3(_, S);
|
|
7988
7988
|
}), u = A(() => o.value ? "textarea" : "p"), f = l(), d = r((b) => {
|
|
@@ -8014,11 +8014,11 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
8017
|
-
value:
|
|
8018
|
-
rows:
|
|
8017
|
+
value: Q(o) ? b.content : null,
|
|
8018
|
+
rows: Q(o) ? w.value : null,
|
|
8019
8019
|
onKeyup: [
|
|
8020
|
-
dt(
|
|
8021
|
-
dt(fe(
|
|
8020
|
+
dt(Q(f), ["esc"]),
|
|
8021
|
+
dt(fe(Q(d), ["ctrl"]), ["enter"])
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
8024
|
default: Z(() => [
|
|
@@ -8029,13 +8029,13 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8029
8029
|
])
|
|
8030
8030
|
]),
|
|
8031
8031
|
b.isEditable ? (p(), g("div", df, [
|
|
8032
|
-
|
|
8032
|
+
Q(o) ? (p(), g(ve, { key: 0 }, [
|
|
8033
8033
|
M(ce, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
8035
8035
|
size: "sm",
|
|
8036
8036
|
variant: "ghost",
|
|
8037
8037
|
color: "neutral",
|
|
8038
|
-
onClick:
|
|
8038
|
+
onClick: Q(f)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
8040
|
M(ce, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
@@ -8043,7 +8043,7 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8043
8043
|
variant: "solid",
|
|
8044
8044
|
corners: "round",
|
|
8045
8045
|
color: "black",
|
|
8046
|
-
onClick:
|
|
8046
|
+
onClick: Q(d)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), g(ve, { key: 1 }, [
|
|
8049
8049
|
M(ce, {
|
|
@@ -8058,7 +8058,7 @@ const rf = { class: "ao-comment" }, lf = { class: "ao-comment__created-at" }, uf
|
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
8060
8060
|
color: "neutral",
|
|
8061
|
-
onClick:
|
|
8061
|
+
onClick: Q(i)
|
|
8062
8062
|
}, null, 8, ["label", "onClick"])
|
|
8063
8063
|
], 64))
|
|
8064
8064
|
])) : O("", !0)
|
|
@@ -8157,7 +8157,7 @@ const ff = { class: "ao-comments__header" }, vf = ["onSubmit"], hf = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const
|
|
8160
|
+
const kn = /* @__PURE__ */ q({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8169,7 +8169,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
8171
|
return (s, o) => (p(), P(ce, {
|
|
8172
|
-
color: s.modelValue ? s.color :
|
|
8172
|
+
color: s.modelValue ? s.color : Q(Tn).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8201,7 +8201,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8201
8201
|
}, rv = { class: "ao-fieldset ao-activity-details__aside-section" }, lv = { class: "ao-fieldset__title" }, uv = { class: "ao-fieldset__body" }, cv = { class: "ao-field__row" }, dv = { class: "ao-field ao-field--multiselect" }, pv = { class: "ao-field__label" }, fv = { class: "ao-field__row" }, vv = { class: "ao-field ao-field--multiselect" }, hv = { class: "ao-field__label" }, mv = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
}, Cv = { class: "ao-activity__created-by" },
|
|
8204
|
+
}, Cv = { class: "ao-activity__created-by" }, nn = /* @__PURE__ */ q({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8296,7 +8296,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8296
8296
|
var E;
|
|
8297
8297
|
return {
|
|
8298
8298
|
...m,
|
|
8299
|
-
disabled: (E = a.activity.blocking) == null ? void 0 : E.some((
|
|
8299
|
+
disabled: (E = a.activity.blocking) == null ? void 0 : E.some((X) => X.id === m.value)
|
|
8300
8300
|
};
|
|
8301
8301
|
})), b = A({
|
|
8302
8302
|
get() {
|
|
@@ -8314,7 +8314,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8314
8314
|
return {
|
|
8315
8315
|
...m,
|
|
8316
8316
|
disabled: (E = a.activity.dependingOn) == null ? void 0 : E.some(
|
|
8317
|
-
(
|
|
8317
|
+
(X) => X.id === m.value
|
|
8318
8318
|
)
|
|
8319
8319
|
};
|
|
8320
8320
|
})), S = (m) => {
|
|
@@ -8356,8 +8356,8 @@ const wn = /* @__PURE__ */ q({
|
|
|
8356
8356
|
value: m.id,
|
|
8357
8357
|
label: m.name
|
|
8358
8358
|
}))), W = A(() => {
|
|
8359
|
-
var E,
|
|
8360
|
-
const m = (J = (
|
|
8359
|
+
var E, X, J;
|
|
8360
|
+
const m = (J = (X = (E = a.activity) == null ? void 0 : E.project) == null ? void 0 : X.phases) == null ? void 0 : J.reduce(
|
|
8361
8361
|
(re, ae) => [...re, ...ae.milestones],
|
|
8362
8362
|
[]
|
|
8363
8363
|
);
|
|
@@ -8399,11 +8399,11 @@ const wn = /* @__PURE__ */ q({
|
|
|
8399
8399
|
var m, E;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((E = a.activity.createdBy) == null ? void 0 : E.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
8402
|
-
return (m, E) => (p(), P(
|
|
8403
|
-
onClose: E[10] || (E[10] = (
|
|
8402
|
+
return (m, E) => (p(), P(Hn, {
|
|
8403
|
+
onClose: E[10] || (E[10] = (X) => m.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: Z(() => {
|
|
8406
|
-
var
|
|
8406
|
+
var X, J, re;
|
|
8407
8407
|
return [
|
|
8408
8408
|
v("div", _f, [
|
|
8409
8409
|
v("div", yf, [
|
|
@@ -8428,7 +8428,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8428
8428
|
v("span", Sf, K(m.$t("activity.project.label")), 1),
|
|
8429
8429
|
M($e, {
|
|
8430
8430
|
options: F.value,
|
|
8431
|
-
value: (
|
|
8431
|
+
value: (X = m.activity.project) == null ? void 0 : X.id,
|
|
8432
8432
|
searchable: !0,
|
|
8433
8433
|
disabled: !n.value,
|
|
8434
8434
|
caret: n.value,
|
|
@@ -8639,7 +8639,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8639
8639
|
te(m.$slots, "default", { activity: m.activity })
|
|
8640
8640
|
]),
|
|
8641
8641
|
v("div", iv, [
|
|
8642
|
-
M(
|
|
8642
|
+
M(kn, {
|
|
8643
8643
|
modelValue: r.value,
|
|
8644
8644
|
"onUpdate:modelValue": E[6] || (E[6] = (ae) => r.value = ae),
|
|
8645
8645
|
modelModifiers: { lazy: !0 },
|
|
@@ -8654,7 +8654,7 @@ const wn = /* @__PURE__ */ q({
|
|
|
8654
8654
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8655
8655
|
]),
|
|
8656
8656
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", ov, [
|
|
8657
|
-
M(
|
|
8657
|
+
M(kn, {
|
|
8658
8658
|
modelValue: l.value,
|
|
8659
8659
|
"onUpdate:modelValue": E[7] || (E[7] = (ae) => l.value = ae),
|
|
8660
8660
|
modelModifiers: { lazy: !0 },
|
|
@@ -8803,22 +8803,22 @@ const gv = /* @__PURE__ */ q({
|
|
|
8803
8803
|
}), y = A(() => Object.values(Z2));
|
|
8804
8804
|
return (S, _) => (p(), P(ht(S.tagName), { class: "ao-rule-line" }, {
|
|
8805
8805
|
default: Z(() => [
|
|
8806
|
-
M(
|
|
8806
|
+
M(Q(lt), {
|
|
8807
8807
|
modelValue: s.value,
|
|
8808
8808
|
"onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
|
|
8809
8809
|
options: o.value
|
|
8810
8810
|
}, null, 8, ["modelValue", "options"]),
|
|
8811
|
-
M(
|
|
8811
|
+
M(Q(lt), {
|
|
8812
8812
|
modelValue: i.value,
|
|
8813
8813
|
"onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
|
|
8814
8814
|
options: r.value
|
|
8815
8815
|
}, null, 8, ["modelValue", "options"]),
|
|
8816
|
-
M(
|
|
8816
|
+
M(Q(lt), {
|
|
8817
8817
|
modelValue: d.value,
|
|
8818
8818
|
"onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
|
|
8819
8819
|
options: h.value
|
|
8820
8820
|
}, null, 8, ["modelValue", "options"]),
|
|
8821
|
-
M(
|
|
8821
|
+
M(Q(lt), {
|
|
8822
8822
|
modelValue: c.value,
|
|
8823
8823
|
"onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
|
|
8824
8824
|
options: u.value
|
|
@@ -8835,7 +8835,7 @@ const gv = /* @__PURE__ */ q({
|
|
|
8835
8835
|
{ number: !0 }
|
|
8836
8836
|
]
|
|
8837
8837
|
]),
|
|
8838
|
-
M(
|
|
8838
|
+
M(Q(lt), {
|
|
8839
8839
|
modelValue: b.value,
|
|
8840
8840
|
"onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
|
|
8841
8841
|
options: y.value
|
|
@@ -8867,7 +8867,7 @@ const _v = { class: "ao-template-rules__body" }, yv = { class: "ao-template-rule
|
|
|
8867
8867
|
}, n = (s) => {
|
|
8868
8868
|
e("removeRule", s);
|
|
8869
8869
|
};
|
|
8870
|
-
return (s, o) => (p(), P(
|
|
8870
|
+
return (s, o) => (p(), P(Hn, null, {
|
|
8871
8871
|
header: Z(() => [
|
|
8872
8872
|
M(ye, {
|
|
8873
8873
|
title: s.$t("template.rules.title"),
|
|
@@ -8969,14 +8969,14 @@ const wv = {
|
|
|
8969
8969
|
);
|
|
8970
8970
|
const l = A(() => {
|
|
8971
8971
|
var k, m;
|
|
8972
|
-
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E,
|
|
8973
|
-
const J =
|
|
8972
|
+
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E, X) => {
|
|
8973
|
+
const J = X.milestones || [];
|
|
8974
8974
|
return [...E, ...J];
|
|
8975
8975
|
}, [])) || [];
|
|
8976
8976
|
}), c = A(() => {
|
|
8977
8977
|
var k, m;
|
|
8978
|
-
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E,
|
|
8979
|
-
const re = (
|
|
8978
|
+
return ((m = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : m.reduce((E, X) => {
|
|
8979
|
+
const re = (X.milestones || []).reduce(
|
|
8980
8980
|
(ae, le) => le.activities ? [...ae, ...le.activities] : ae,
|
|
8981
8981
|
[]
|
|
8982
8982
|
);
|
|
@@ -9069,7 +9069,7 @@ const wv = {
|
|
|
9069
9069
|
const { milestoneId: m } = k;
|
|
9070
9070
|
if (!r.value)
|
|
9071
9071
|
return;
|
|
9072
|
-
const { name: E, rank:
|
|
9072
|
+
const { name: E, rank: X } = Rt(
|
|
9073
9073
|
r.value.activities,
|
|
9074
9074
|
"activity",
|
|
9075
9075
|
n
|
|
@@ -9078,7 +9078,7 @@ const wv = {
|
|
|
9078
9078
|
type: Ce.ACTIVITIES,
|
|
9079
9079
|
milestoneId: m,
|
|
9080
9080
|
templateId: a.templateId,
|
|
9081
|
-
item: { name: E, rank:
|
|
9081
|
+
item: { name: E, rank: X, milestoneId: m }
|
|
9082
9082
|
});
|
|
9083
9083
|
}, L = (k) => {
|
|
9084
9084
|
var m, E;
|
|
@@ -9149,11 +9149,11 @@ const wv = {
|
|
|
9149
9149
|
e("removeFile", k);
|
|
9150
9150
|
};
|
|
9151
9151
|
return (k, m) => {
|
|
9152
|
-
var E,
|
|
9152
|
+
var E, X, J, re, ae, le;
|
|
9153
9153
|
return s.value ? (p(), g("div", wv, [
|
|
9154
9154
|
M(Ga, {
|
|
9155
9155
|
"can-go-back": !0,
|
|
9156
|
-
onGoBack: m[1] || (m[1] = (x) => k.$router.push({ name:
|
|
9156
|
+
onGoBack: m[1] || (m[1] = (x) => k.$router.push({ name: Q(Pt).TEMPLATES_LIST }))
|
|
9157
9157
|
}, {
|
|
9158
9158
|
primary: Z(() => [
|
|
9159
9159
|
M(ye, {
|
|
@@ -9170,7 +9170,7 @@ const wv = {
|
|
|
9170
9170
|
v("div", $v, [
|
|
9171
9171
|
v("ol", kv, [
|
|
9172
9172
|
v("li", Sv, [
|
|
9173
|
-
M(
|
|
9173
|
+
M(Q(mt), {
|
|
9174
9174
|
"model-value": s.value.phases,
|
|
9175
9175
|
class: "ao-templates__list",
|
|
9176
9176
|
"item-key": "id",
|
|
@@ -9231,7 +9231,7 @@ const wv = {
|
|
|
9231
9231
|
i.value && r.value ? (p(), P(C5, {
|
|
9232
9232
|
key: 0,
|
|
9233
9233
|
"template-id": k.templateId,
|
|
9234
|
-
"phase-id": (
|
|
9234
|
+
"phase-id": (X = i.value) == null ? void 0 : X.id,
|
|
9235
9235
|
milestone: r.value,
|
|
9236
9236
|
"activity-id": (J = u.value) == null ? void 0 : J.id,
|
|
9237
9237
|
onAddActivity: D,
|
|
@@ -9242,7 +9242,7 @@ const wv = {
|
|
|
9242
9242
|
])
|
|
9243
9243
|
]),
|
|
9244
9244
|
(p(), P(jt, { to: "body" }, [
|
|
9245
|
-
u.value ? (p(), P(
|
|
9245
|
+
u.value ? (p(), P(nn, {
|
|
9246
9246
|
key: 0,
|
|
9247
9247
|
activity: u.value,
|
|
9248
9248
|
"activity-types": k.activityTypes,
|
|
@@ -9380,7 +9380,7 @@ const Hv = { class: "ao-card-project-phase__header" }, Dv = { class: "ao-card-pr
|
|
|
9380
9380
|
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9381
9381
|
}), i = A(() => {
|
|
9382
9382
|
var c;
|
|
9383
|
-
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status ===
|
|
9383
|
+
return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === _n.done).length;
|
|
9384
9384
|
}), r = A(() => (i.value || 0) / (o.value || 1)), l = A({
|
|
9385
9385
|
get: () => a.deadline ?? "",
|
|
9386
9386
|
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
@@ -9433,7 +9433,7 @@ const Hv = { class: "ao-card-project-phase__header" }, Dv = { class: "ao-card-pr
|
|
|
9433
9433
|
{ lazy: !0 }
|
|
9434
9434
|
]
|
|
9435
9435
|
]) : O("", !0),
|
|
9436
|
-
v("span", Nv, K(
|
|
9436
|
+
v("span", Nv, K(Q(En)(c.deadline)), 1)
|
|
9437
9437
|
], 2)
|
|
9438
9438
|
])
|
|
9439
9439
|
]),
|
|
@@ -9512,7 +9512,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9512
9512
|
}), o = A(() => {
|
|
9513
9513
|
var l;
|
|
9514
9514
|
return (l = a.activities) == null ? void 0 : l.filter(
|
|
9515
|
-
(c) =>
|
|
9515
|
+
(c) => In(c, a.closedStatus)
|
|
9516
9516
|
).length;
|
|
9517
9517
|
}), i = A(() => (o.value || 0) / (s.value || 1)), r = (l) => {
|
|
9518
9518
|
e("updateMilestone", { id: a.id, name: l });
|
|
@@ -9586,11 +9586,11 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
|
|
|
9586
9586
|
size: "sm"
|
|
9587
9587
|
}, null, 8, ["class"])) : O("", !0),
|
|
9588
9588
|
l.deadline ? (p(), g("label", Xv, [
|
|
9589
|
-
v("span", Qv, K(
|
|
9589
|
+
v("span", Qv, K(Q(En)(l.deadline)), 1)
|
|
9590
9590
|
])) : O("", !0),
|
|
9591
9591
|
l.assignee ? (p(), g("div", Jv, [
|
|
9592
9592
|
M(Je, {
|
|
9593
|
-
"user-name":
|
|
9593
|
+
"user-name": Q(xs)(l.assignee),
|
|
9594
9594
|
"avatar-url": l.assignee.avatarUrl,
|
|
9595
9595
|
color: l.isSelected ? "black" : "primary",
|
|
9596
9596
|
size: "sm"
|
|
@@ -9682,7 +9682,7 @@ const t9 = {
|
|
|
9682
9682
|
]),
|
|
9683
9683
|
v("div", n9, [
|
|
9684
9684
|
v("div", s9, [
|
|
9685
|
-
M(
|
|
9685
|
+
M(Q(mt), He({
|
|
9686
9686
|
class: "ao-project-phase__milestones-list",
|
|
9687
9687
|
list: i.value,
|
|
9688
9688
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9707,7 +9707,7 @@ const t9 = {
|
|
|
9707
9707
|
readonly: d.readonly,
|
|
9708
9708
|
class: Y(["ao-project-phase__milestone"]),
|
|
9709
9709
|
onClick: (S) => !d.readonly && d.$router.push({
|
|
9710
|
-
name:
|
|
9710
|
+
name: d.projectOverviewRoutes.milestone,
|
|
9711
9711
|
params: { phaseId: d.phase.id, milestoneId: b.id }
|
|
9712
9712
|
}),
|
|
9713
9713
|
onUpdateMilestone: l,
|
|
@@ -9772,7 +9772,7 @@ const r9 = { class: "ao-project__phases" }, l9 = {
|
|
|
9772
9772
|
e("addPhase", u);
|
|
9773
9773
|
};
|
|
9774
9774
|
return (u, f) => (p(), g("div", r9, [
|
|
9775
|
-
M(
|
|
9775
|
+
M(Q(mt), {
|
|
9776
9776
|
class: "ao-project-phase__phases-list",
|
|
9777
9777
|
"model-value": u.phases,
|
|
9778
9778
|
"item-key": "id",
|
|
@@ -9826,7 +9826,7 @@ const f9 = ["onSubmit"], v9 = { class: "ao-add-template-modal__form-body" }, h9
|
|
|
9826
9826
|
}, i = () => {
|
|
9827
9827
|
s.value && e("apply", s.value, a.projectId);
|
|
9828
9828
|
};
|
|
9829
|
-
return (r, l) => (p(), P(
|
|
9829
|
+
return (r, l) => (p(), P(Hn, { size: "sm" }, {
|
|
9830
9830
|
header: Z(() => [
|
|
9831
9831
|
M(ye, {
|
|
9832
9832
|
title: r.$t("project.template.add.title"),
|
|
@@ -9915,7 +9915,7 @@ function y9(t, e, a, n, s, o) {
|
|
|
9915
9915
|
}, K(t.rightLabel), 3)
|
|
9916
9916
|
]);
|
|
9917
9917
|
}
|
|
9918
|
-
const
|
|
9918
|
+
const di = /* @__PURE__ */ N(g9, [["render", y9], ["__scopeId", "data-v-cbe33527"]]), b9 = { class: "ao-project" }, w9 = { class: "ao-project__body" }, $9 = /* @__PURE__ */ q({
|
|
9919
9919
|
__name: "AoProjectOverviewProject",
|
|
9920
9920
|
props: {
|
|
9921
9921
|
project: {},
|
|
@@ -9978,18 +9978,18 @@ const pi = /* @__PURE__ */ N(g9, [["render", y9], ["__scopeId", "data-v-cbe33527
|
|
|
9978
9978
|
e("applyTemplate", { templateId: I, projectId: z }), F.value = !1;
|
|
9979
9979
|
};
|
|
9980
9980
|
return (I, z) => {
|
|
9981
|
-
const R =
|
|
9981
|
+
const R = xe("RouterView");
|
|
9982
9982
|
return p(), g(ve, null, [
|
|
9983
9983
|
v("div", He({ class: "ao-project-overview" }, I.$attrs), [
|
|
9984
9984
|
v("div", b9, [
|
|
9985
9985
|
M(Ga, null, {
|
|
9986
9986
|
primary: Z(() => [
|
|
9987
|
-
M(
|
|
9987
|
+
M(di, {
|
|
9988
9988
|
"is-left": !0,
|
|
9989
9989
|
"right-label": I.$t("project.switch.feed"),
|
|
9990
9990
|
"left-label": I.$t("project.switch.overview"),
|
|
9991
9991
|
"onUpdate:isLeft": z[0] || (z[0] = (U) => {
|
|
9992
|
-
U || I.$router.push({ name:
|
|
9992
|
+
U || I.$router.push({ name: Q(Ye).feed });
|
|
9993
9993
|
})
|
|
9994
9994
|
}, null, 8, ["right-label", "left-label"]),
|
|
9995
9995
|
M(ce, {
|
|
@@ -10039,7 +10039,7 @@ const pi = /* @__PURE__ */ N(g9, [["render", y9], ["__scopeId", "data-v-cbe33527
|
|
|
10039
10039
|
users: I.users,
|
|
10040
10040
|
"is-editable": I.isEditable === !0,
|
|
10041
10041
|
"closed-status": I.closedStatus,
|
|
10042
|
-
onClose: z[3] || (z[3] = (U) => I.$router.push({ name:
|
|
10042
|
+
onClose: z[3] || (z[3] = (U) => I.$router.push({ name: Q(Ye).project })),
|
|
10043
10043
|
onUpdateMilestone: c,
|
|
10044
10044
|
onAddActivity: f,
|
|
10045
10045
|
onUpdateActivity: d,
|
|
@@ -10126,7 +10126,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10126
10126
|
}, F9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__footer-row" }, Z9 = {
|
|
10127
10127
|
key: 0,
|
|
10128
10128
|
class: "ao-card-feed__progress-wrapper"
|
|
10129
|
-
}, W9 = { class: "ao-card-feed__subitem" }, q9 = { class: "ao-card-feed__subitem" },
|
|
10129
|
+
}, W9 = { class: "ao-card-feed__subitem" }, q9 = { class: "ao-card-feed__subitem" }, pi = /* @__PURE__ */ q({
|
|
10130
10130
|
__name: "AoCardFeed",
|
|
10131
10131
|
props: {
|
|
10132
10132
|
id: {},
|
|
@@ -10155,7 +10155,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10155
10155
|
id: a.id,
|
|
10156
10156
|
name: h
|
|
10157
10157
|
});
|
|
10158
|
-
}, i = A(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = A(() => a.assignee ? [a.assignee] : []), l = A(() =>
|
|
10158
|
+
}, i = A(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = A(() => a.assignee ? [a.assignee] : []), l = A(() => En(a.deadline)), c = (h) => {
|
|
10159
10159
|
e("removeAssignee", h);
|
|
10160
10160
|
}, u = A(() => {
|
|
10161
10161
|
var h;
|
|
@@ -10230,7 +10230,7 @@ const k9 = { class: "ao-card-feed__header" }, S9 = {
|
|
|
10230
10230
|
}, [
|
|
10231
10231
|
b ? (p(), g("li", V9, [
|
|
10232
10232
|
M(Je, {
|
|
10233
|
-
"user-name":
|
|
10233
|
+
"user-name": Q(xs)(b),
|
|
10234
10234
|
"avatar-url": b.avatarUrl,
|
|
10235
10235
|
"is-closable": !0,
|
|
10236
10236
|
onClose: () => c(b.id)
|
|
@@ -10291,7 +10291,7 @@ function xn(t) {
|
|
|
10291
10291
|
const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
|
|
10292
10292
|
return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
|
|
10293
10293
|
}
|
|
10294
|
-
function
|
|
10294
|
+
function Sn(t, e, a, n, s, o) {
|
|
10295
10295
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
|
|
10296
10296
|
r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
|
|
10297
10297
|
}
|
|
@@ -10357,7 +10357,7 @@ var Yn = q({
|
|
|
10357
10357
|
methods: {
|
|
10358
10358
|
renderColor() {
|
|
10359
10359
|
const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
|
|
10360
|
-
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e),
|
|
10360
|
+
t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), Sn("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), Sn("p", a, e, e, "rgba(0,0,0,0)", "#000000");
|
|
10361
10361
|
},
|
|
10362
10362
|
renderSlide() {
|
|
10363
10363
|
this.slideSaturationStyle = {
|
|
@@ -10542,7 +10542,7 @@ var Gn = q({
|
|
|
10542
10542
|
methods: {
|
|
10543
10543
|
renderColor() {
|
|
10544
10544
|
const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = xn(n), o = t.getContext("2d");
|
|
10545
|
-
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a),
|
|
10545
|
+
t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), Sn("p", o, e, a, "rgba(255,255,255,0)", this.color);
|
|
10546
10546
|
},
|
|
10547
10547
|
renderSlide() {
|
|
10548
10548
|
this.slideAlphaStyle = {
|
|
@@ -10844,7 +10844,7 @@ var es = q({
|
|
|
10844
10844
|
emits: ["selectColor"],
|
|
10845
10845
|
setup(t, { emit: e }) {
|
|
10846
10846
|
const a = ee(), n = ee([]), s = ee();
|
|
10847
|
-
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = xn(4).toDataURL(),
|
|
10847
|
+
t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = xn(4).toDataURL(), An(() => {
|
|
10848
10848
|
o(a.value);
|
|
10849
10849
|
});
|
|
10850
10850
|
function o(r) {
|
|
@@ -11118,7 +11118,7 @@ var Nt = q({
|
|
|
11118
11118
|
});
|
|
11119
11119
|
const p4 = { class: "color-set" };
|
|
11120
11120
|
function f4(t, e, a, n, s, o) {
|
|
11121
|
-
const i =
|
|
11121
|
+
const i = xe("Saturation"), r = xe("Hue"), l = xe("Alpha"), c = xe("Preview"), u = xe("Sucker"), f = xe("Box"), d = xe("Colors");
|
|
11122
11122
|
return p(), P(
|
|
11123
11123
|
"div",
|
|
11124
11124
|
{
|
|
@@ -11231,7 +11231,7 @@ const v4 = {
|
|
|
11231
11231
|
}
|
|
11232
11232
|
}, h4 = { class: "color-picker-wrapper" };
|
|
11233
11233
|
function m4(t, e, a, n, s, o) {
|
|
11234
|
-
const i =
|
|
11234
|
+
const i = xe("ColorPicker");
|
|
11235
11235
|
return p(), g("div", h4, [
|
|
11236
11236
|
v("button", {
|
|
11237
11237
|
style: Ua({ backgroundColor: a.color }),
|
|
@@ -11327,7 +11327,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11327
11327
|
deadline: _ != null && _.length ? _ : null
|
|
11328
11328
|
});
|
|
11329
11329
|
}
|
|
11330
|
-
}), w = (_) => a.closedStatus ?
|
|
11330
|
+
}), w = (_) => a.closedStatus ? In(_, a.closedStatus) : !1, b = A(() => {
|
|
11331
11331
|
var _;
|
|
11332
11332
|
return ((_ = a.users) == null ? void 0 : _.map((C) => ({
|
|
11333
11333
|
label: `${C.firstName} ${C.lastName}`,
|
|
@@ -11374,7 +11374,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11374
11374
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11375
11375
|
level: 5
|
|
11376
11376
|
}, null, 8, ["title"]),
|
|
11377
|
-
M(
|
|
11377
|
+
M(kn, {
|
|
11378
11378
|
modelValue: S.value,
|
|
11379
11379
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => S.value = L),
|
|
11380
11380
|
modelModifiers: { lazy: !0 },
|
|
@@ -11442,7 +11442,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11442
11442
|
])) : O("", !0)
|
|
11443
11443
|
]),
|
|
11444
11444
|
v("div", T4, [
|
|
11445
|
-
M(
|
|
11445
|
+
M(Q(mt), He({
|
|
11446
11446
|
class: "ao-project-milestone__activities",
|
|
11447
11447
|
list: r.value,
|
|
11448
11448
|
disabled: !_.isEditable,
|
|
@@ -11452,7 +11452,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11452
11452
|
item: Z(({ element: L }) => {
|
|
11453
11453
|
var H, j, F, W, I;
|
|
11454
11454
|
return [
|
|
11455
|
-
M(
|
|
11455
|
+
M(pi, {
|
|
11456
11456
|
id: L.id,
|
|
11457
11457
|
name: L.name || L.id,
|
|
11458
11458
|
"phase-name": (H = s.value) == null ? void 0 : H.name,
|
|
@@ -11470,7 +11470,7 @@ const C4 = /* @__PURE__ */ N(v4, [["render", m4]]), g4 = { class: "ao-project-mi
|
|
|
11470
11470
|
"is-private": L.private,
|
|
11471
11471
|
"is-closed": w(L),
|
|
11472
11472
|
onClick: (z) => _.$router.push({
|
|
11473
|
-
name:
|
|
11473
|
+
name: Q(Ye).activity,
|
|
11474
11474
|
params: { milestoneId: _.milestoneId, activityId: L.id }
|
|
11475
11475
|
}),
|
|
11476
11476
|
onUpdateActivity: u,
|
|
@@ -11578,7 +11578,7 @@ const E4 = /* @__PURE__ */ q({
|
|
|
11578
11578
|
};
|
|
11579
11579
|
return (y, S) => {
|
|
11580
11580
|
var _, C;
|
|
11581
|
-
return i.value ? (p(), P(
|
|
11581
|
+
return i.value ? (p(), P(nn, {
|
|
11582
11582
|
key: 0,
|
|
11583
11583
|
activity: i.value,
|
|
11584
11584
|
"activity-types": y.activityTypes,
|
|
@@ -11638,7 +11638,7 @@ function H4(t) {
|
|
|
11638
11638
|
return Bi() ? (Ri(t), !0) : !1;
|
|
11639
11639
|
}
|
|
11640
11640
|
function ja(t) {
|
|
11641
|
-
return typeof t == "function" ? t() :
|
|
11641
|
+
return typeof t == "function" ? t() : Q(t);
|
|
11642
11642
|
}
|
|
11643
11643
|
const D4 = typeof window < "u" && typeof document < "u";
|
|
11644
11644
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -11674,7 +11674,7 @@ function R4(t, e = 200, a = {}) {
|
|
|
11674
11674
|
t
|
|
11675
11675
|
);
|
|
11676
11676
|
}
|
|
11677
|
-
function
|
|
11677
|
+
function Cn(t) {
|
|
11678
11678
|
var e;
|
|
11679
11679
|
const a = ja(t);
|
|
11680
11680
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
@@ -11699,18 +11699,18 @@ function U4(t, e, a = {}) {
|
|
|
11699
11699
|
immediate: r = !0
|
|
11700
11700
|
} = a, l = F4(() => i && "IntersectionObserver" in i), c = A(() => {
|
|
11701
11701
|
const w = ja(t);
|
|
11702
|
-
return (Array.isArray(w) ? w : [w]).map(
|
|
11702
|
+
return (Array.isArray(w) ? w : [w]).map(Cn).filter(P4);
|
|
11703
11703
|
});
|
|
11704
11704
|
let u = oa;
|
|
11705
11705
|
const f = ee(r), d = l.value ? de(
|
|
11706
|
-
() => [c.value,
|
|
11706
|
+
() => [c.value, Cn(n), f.value],
|
|
11707
11707
|
([w, b]) => {
|
|
11708
11708
|
if (u(), !f.value || !w.length)
|
|
11709
11709
|
return;
|
|
11710
11710
|
const y = new IntersectionObserver(
|
|
11711
11711
|
e,
|
|
11712
11712
|
{
|
|
11713
|
-
root:
|
|
11713
|
+
root: Cn(b),
|
|
11714
11714
|
rootMargin: s,
|
|
11715
11715
|
threshold: o
|
|
11716
11716
|
}
|
|
@@ -11809,7 +11809,7 @@ const Z4 = {
|
|
|
11809
11809
|
])
|
|
11810
11810
|
];
|
|
11811
11811
|
}) : O("", !0),
|
|
11812
|
-
M(
|
|
11812
|
+
M(Q(mt), He({
|
|
11813
11813
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11814
11814
|
list: u.list,
|
|
11815
11815
|
"item-key": "id",
|
|
@@ -11830,7 +11830,7 @@ const Z4 = {
|
|
|
11830
11830
|
item: Z(({ element: d }) => {
|
|
11831
11831
|
var h, w, b, y, S, _, C, D, L;
|
|
11832
11832
|
return [
|
|
11833
|
-
M(
|
|
11833
|
+
M(pi, {
|
|
11834
11834
|
class: Y(o(d) ? "ao-list-draggable" : ""),
|
|
11835
11835
|
id: d.id,
|
|
11836
11836
|
name: d.name,
|
|
@@ -11849,7 +11849,6 @@ const Z4 = {
|
|
|
11849
11849
|
attachments: (L = d.attachments) == null ? void 0 : L.length,
|
|
11850
11850
|
users: u.users,
|
|
11851
11851
|
assignee: d.assignee,
|
|
11852
|
-
slug: d.slug,
|
|
11853
11852
|
"is-editable": o(d),
|
|
11854
11853
|
"is-private": d.private,
|
|
11855
11854
|
"tag-type": u.tagType,
|
|
@@ -11882,7 +11881,7 @@ const Z4 = {
|
|
|
11882
11881
|
}, null, 8, ["label", "onClick"])) : O("", !0)
|
|
11883
11882
|
]),
|
|
11884
11883
|
_: 2
|
|
11885
|
-
}, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "
|
|
11884
|
+
}, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
|
|
11886
11885
|
];
|
|
11887
11886
|
}),
|
|
11888
11887
|
footer: Z(() => [
|
|
@@ -11934,7 +11933,7 @@ const X4 = { class: "ao-field ao-search-field" }, Q4 = ["value", "placeholder",
|
|
|
11934
11933
|
class: "ao-field__input ao-search-field__input",
|
|
11935
11934
|
placeholder: i.placeholder,
|
|
11936
11935
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
11937
|
-
(...l) =>
|
|
11936
|
+
(...l) => Q(s) && Q(s)(...l)),
|
|
11938
11937
|
onKeypress: dt(n, ["enter"])
|
|
11939
11938
|
}, null, 40, Q4),
|
|
11940
11939
|
M(pe, {
|
|
@@ -11952,7 +11951,7 @@ const X4 = { class: "ao-field ao-search-field" }, Q4 = ["value", "placeholder",
|
|
|
11952
11951
|
]));
|
|
11953
11952
|
}
|
|
11954
11953
|
});
|
|
11955
|
-
const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { class: "ao-feed__body" },
|
|
11954
|
+
const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { class: "ao-feed__body" }, fi = /* @__PURE__ */ q({
|
|
11956
11955
|
__name: "AoFeed",
|
|
11957
11956
|
props: {
|
|
11958
11957
|
activities: {},
|
|
@@ -11976,7 +11975,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
11976
11975
|
setup(t, { emit: e }) {
|
|
11977
11976
|
const a = t, { t: n } = Ot(), s = Fi();
|
|
11978
11977
|
Mt(() => {
|
|
11979
|
-
console.log(s), console.log(s.params);
|
|
11978
|
+
console.log(s.matched), console.log(s.params);
|
|
11980
11979
|
const T = s.params.activitySlug;
|
|
11981
11980
|
if (console.log(T), T) {
|
|
11982
11981
|
const k = o.value.find((m) => m.slug === T);
|
|
@@ -11989,7 +11988,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
11989
11988
|
de(
|
|
11990
11989
|
[() => a.statuses, () => a.activities, () => a.initialActivityId],
|
|
11991
11990
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11992
|
-
async ([T, k, m], [E,
|
|
11991
|
+
async ([T, k, m], [E, X]) => {
|
|
11993
11992
|
r.value = Object.fromEntries(
|
|
11994
11993
|
T.map((J) => [
|
|
11995
11994
|
J.id,
|
|
@@ -11998,7 +11997,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
11998
11997
|
return ((ae = re.status) == null ? void 0 : ae.id) === J.id;
|
|
11999
11998
|
})
|
|
12000
11999
|
])
|
|
12001
|
-
), m && !l.value && (i(m), l.value = !0), c.value && Xe(k,
|
|
12000
|
+
), m && !l.value && (i(m), l.value = !0), c.value && Xe(k, X);
|
|
12002
12001
|
},
|
|
12003
12002
|
{ immediate: !0 }
|
|
12004
12003
|
);
|
|
@@ -12007,12 +12006,12 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12007
12006
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((T = a.selectedActivity.milestone.phase) == null ? void 0 : T.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12008
12007
|
}), d = (T) => {
|
|
12009
12008
|
var J, re;
|
|
12010
|
-
const k = (J = a.activities) == null ? void 0 : J.at(-1), m = k ? Ie.LexoRank.parse(k.rank).genNext() : Ie.LexoRank.middle(), E = ((re = a.activities) == null ? void 0 : re.length) ?? 0,
|
|
12009
|
+
const k = (J = a.activities) == null ? void 0 : J.at(-1), m = k ? Ie.LexoRank.parse(k.rank).genNext() : Ie.LexoRank.middle(), E = ((re = a.activities) == null ? void 0 : re.length) ?? 0, X = {
|
|
12011
12010
|
name: n("activity.defaultName", { idx: E + 1 }),
|
|
12012
12011
|
rank: m.format(),
|
|
12013
12012
|
statusId: T.id
|
|
12014
12013
|
};
|
|
12015
|
-
a.filters.assigneeId.length > 0 && (
|
|
12014
|
+
a.filters.assigneeId.length > 0 && (X.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (X.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (X.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", X);
|
|
12016
12015
|
}, h = (T, k) => {
|
|
12017
12016
|
c.value = !1, e("update:filters", { ...a.filters, [T]: k });
|
|
12018
12017
|
}, w = A(
|
|
@@ -12070,13 +12069,13 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12070
12069
|
M(Ga, null, {
|
|
12071
12070
|
primary: Z(() => [
|
|
12072
12071
|
v("div", t8, [
|
|
12073
|
-
a.project ? (p(), P(
|
|
12072
|
+
a.project ? (p(), P(di, {
|
|
12074
12073
|
key: 0,
|
|
12075
12074
|
"is-left": !1,
|
|
12076
12075
|
"right-label": T.$t("project.switch.feed"),
|
|
12077
12076
|
"left-label": T.$t("project.switch.overview"),
|
|
12078
12077
|
"onUpdate:isLeft": k[0] || (k[0] = (E) => {
|
|
12079
|
-
E && T.$router.push({ name:
|
|
12078
|
+
E && T.$router.push({ name: Q(Ye).project });
|
|
12080
12079
|
})
|
|
12081
12080
|
}, null, 8, ["right-label", "left-label"])) : O("", !0),
|
|
12082
12081
|
M(J4, {
|
|
@@ -12088,46 +12087,46 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12088
12087
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12089
12088
|
a.project ? O("", !0) : (p(), P($e, {
|
|
12090
12089
|
key: 1,
|
|
12091
|
-
"model-value": T.filters[
|
|
12090
|
+
"model-value": T.filters[Q(Ht).project],
|
|
12092
12091
|
mode: "tags",
|
|
12093
12092
|
options: b.value,
|
|
12094
12093
|
"close-on-select": !1,
|
|
12095
12094
|
searchable: !0,
|
|
12096
12095
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12097
12096
|
placeholder: T.$t("feed.filters.project.placeholder"),
|
|
12098
|
-
"onUpdate:modelValue": k[1] || (k[1] = (E) => h(
|
|
12097
|
+
"onUpdate:modelValue": k[1] || (k[1] = (E) => h(Q(Ht).project, E))
|
|
12099
12098
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12100
12099
|
y.value ? (p(), P($e, {
|
|
12101
12100
|
key: 2,
|
|
12102
|
-
"model-value": T.filters[
|
|
12101
|
+
"model-value": T.filters[Q(Ht).type],
|
|
12103
12102
|
mode: "tags",
|
|
12104
12103
|
options: y.value,
|
|
12105
12104
|
"close-on-select": !1,
|
|
12106
12105
|
searchable: !0,
|
|
12107
12106
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12108
12107
|
placeholder: T.$t("feed.filters.activityType.placeholder"),
|
|
12109
|
-
"onUpdate:modelValue": k[2] || (k[2] = (E) => h(
|
|
12108
|
+
"onUpdate:modelValue": k[2] || (k[2] = (E) => h(Q(Ht).type, E))
|
|
12110
12109
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12111
12110
|
S.value.length ? (p(), P($e, {
|
|
12112
12111
|
key: 3,
|
|
12113
|
-
"model-value": T.filters[
|
|
12112
|
+
"model-value": T.filters[Q(Ht).assignee],
|
|
12114
12113
|
mode: "tags",
|
|
12115
12114
|
options: S.value,
|
|
12116
12115
|
"close-on-select": !1,
|
|
12117
12116
|
searchable: !0,
|
|
12118
12117
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12119
12118
|
placeholder: T.$t("feed.filters.assignee.placeholder"),
|
|
12120
|
-
"onUpdate:modelValue": k[3] || (k[3] = (E) => h(
|
|
12119
|
+
"onUpdate:modelValue": k[3] || (k[3] = (E) => h(Q(Ht).assignee, E))
|
|
12121
12120
|
}, {
|
|
12122
12121
|
tag: Z(({
|
|
12123
12122
|
option: E,
|
|
12124
|
-
handleTagRemove:
|
|
12123
|
+
handleTagRemove: X
|
|
12125
12124
|
}) => [
|
|
12126
12125
|
M(Je, {
|
|
12127
12126
|
"user-name": E.label,
|
|
12128
12127
|
"avatar-url": E.avatar,
|
|
12129
12128
|
"is-closable": !0,
|
|
12130
|
-
onClose: (J) =>
|
|
12129
|
+
onClose: (J) => X(E, J)
|
|
12131
12130
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12132
12131
|
]),
|
|
12133
12132
|
_: 1
|
|
@@ -12179,7 +12178,7 @@ const e8 = { class: "ao-feed" }, t8 = { class: "ao-feed__filters" }, a8 = { clas
|
|
|
12179
12178
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
12180
12179
|
]),
|
|
12181
12180
|
(p(), P(jt, { to: "body" }, [
|
|
12182
|
-
T.selectedActivity ? (p(), P(
|
|
12181
|
+
T.selectedActivity ? (p(), P(nn, {
|
|
12183
12182
|
key: 0,
|
|
12184
12183
|
activity: T.selectedActivity,
|
|
12185
12184
|
"activity-types": T.activityTypes,
|
|
@@ -12238,7 +12237,7 @@ const Pt = {
|
|
|
12238
12237
|
}
|
|
12239
12238
|
]
|
|
12240
12239
|
}
|
|
12241
|
-
],
|
|
12240
|
+
], Ye = {
|
|
12242
12241
|
project: "AoProject",
|
|
12243
12242
|
feed: "AoProjectFeed",
|
|
12244
12243
|
milestone: "AoMilestone",
|
|
@@ -12247,23 +12246,23 @@ const Pt = {
|
|
|
12247
12246
|
{
|
|
12248
12247
|
path: t,
|
|
12249
12248
|
...e,
|
|
12250
|
-
redirect: { name:
|
|
12249
|
+
redirect: { name: Ye.project },
|
|
12251
12250
|
children: [
|
|
12252
12251
|
{
|
|
12253
12252
|
path: "",
|
|
12254
|
-
name:
|
|
12253
|
+
name: Ye.project,
|
|
12255
12254
|
component: $9,
|
|
12256
12255
|
props: !0,
|
|
12257
12256
|
children: [
|
|
12258
12257
|
{
|
|
12259
12258
|
path: ":phaseId/:milestoneId",
|
|
12260
|
-
name:
|
|
12259
|
+
name: Ye.milestone,
|
|
12261
12260
|
component: Ts,
|
|
12262
12261
|
props: !0
|
|
12263
12262
|
},
|
|
12264
12263
|
{
|
|
12265
12264
|
path: ":phaseId/:milestoneId/:activityId",
|
|
12266
|
-
name:
|
|
12265
|
+
name: Ye.activity,
|
|
12267
12266
|
props: { default: !0, modal: !0 },
|
|
12268
12267
|
components: {
|
|
12269
12268
|
default: Ts,
|
|
@@ -12274,29 +12273,31 @@ const Pt = {
|
|
|
12274
12273
|
},
|
|
12275
12274
|
{
|
|
12276
12275
|
path: "feed",
|
|
12277
|
-
name:
|
|
12278
|
-
component:
|
|
12276
|
+
name: Ye.feed,
|
|
12277
|
+
component: fi,
|
|
12279
12278
|
props: !0
|
|
12280
12279
|
}
|
|
12281
12280
|
]
|
|
12282
12281
|
}
|
|
12283
|
-
],
|
|
12284
|
-
feed: "AoFeed"
|
|
12282
|
+
], gn = {
|
|
12283
|
+
feed: "AoFeed",
|
|
12284
|
+
activity: "AoActivityDetails"
|
|
12285
12285
|
}, b8 = (t, e = {}) => [
|
|
12286
12286
|
{
|
|
12287
12287
|
path: t,
|
|
12288
|
+
redirect: { name: gn.feed },
|
|
12288
12289
|
...e,
|
|
12289
12290
|
children: [
|
|
12290
12291
|
{
|
|
12291
12292
|
path: "",
|
|
12292
|
-
name:
|
|
12293
|
-
component:
|
|
12293
|
+
name: gn.feed,
|
|
12294
|
+
component: fi,
|
|
12294
12295
|
props: !0
|
|
12295
12296
|
},
|
|
12296
12297
|
{
|
|
12297
12298
|
path: ":activitySlug",
|
|
12298
|
-
name:
|
|
12299
|
-
component:
|
|
12299
|
+
name: gn.activity,
|
|
12300
|
+
component: nn,
|
|
12300
12301
|
props: !0
|
|
12301
12302
|
}
|
|
12302
12303
|
]
|
|
@@ -12354,7 +12355,7 @@ const Pt = {
|
|
|
12354
12355
|
]),
|
|
12355
12356
|
_: 1
|
|
12356
12357
|
}),
|
|
12357
|
-
M(
|
|
12358
|
+
M(Q(mt), {
|
|
12358
12359
|
"model-value": r.templates,
|
|
12359
12360
|
class: "ao-templates__list",
|
|
12360
12361
|
"item-key": "id",
|
|
@@ -12368,13 +12369,13 @@ const Pt = {
|
|
|
12368
12369
|
id: c.id,
|
|
12369
12370
|
title: c.name,
|
|
12370
12371
|
phases: c.phases,
|
|
12371
|
-
milestones: (u = c.phases) != null && u.length ?
|
|
12372
|
-
activities: c.phases ?
|
|
12372
|
+
milestones: (u = c.phases) != null && u.length ? Q(T3)(c.phases) : 0,
|
|
12373
|
+
activities: c.phases ? Q(O3)(c.phases) : 0,
|
|
12373
12374
|
"updated-at": c.updatedAt,
|
|
12374
12375
|
"updated-by": c.updatedBy,
|
|
12375
12376
|
onUpdateTitle: (f) => o(c.id, f),
|
|
12376
12377
|
onClick: (f) => r.$router.push({
|
|
12377
|
-
name:
|
|
12378
|
+
name: Q(Pt).TEMPLATE_DETAILS,
|
|
12378
12379
|
params: { templateId: c.id }
|
|
12379
12380
|
})
|
|
12380
12381
|
}, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
@@ -12461,9 +12462,9 @@ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ q({
|
|
|
12461
12462
|
});
|
|
12462
12463
|
export {
|
|
12463
12464
|
Je as AoAvatar,
|
|
12464
|
-
|
|
12465
|
+
pi as AoCardFeed,
|
|
12465
12466
|
$8 as AoCheckboxField,
|
|
12466
|
-
|
|
12467
|
+
fi as AoFeed,
|
|
12467
12468
|
o8 as AoField,
|
|
12468
12469
|
w8 as AoInputField,
|
|
12469
12470
|
$e as AoMultiselect,
|
|
@@ -12472,7 +12473,7 @@ export {
|
|
|
12472
12473
|
h8 as AoTemplates,
|
|
12473
12474
|
s8 as AoTemplatesList,
|
|
12474
12475
|
W2 as TemplateItemTypeEnum,
|
|
12475
|
-
|
|
12476
|
+
gn as activityFeedRoutes,
|
|
12476
12477
|
C8 as activityFeedStatus,
|
|
12477
12478
|
m8 as durationTypes,
|
|
12478
12479
|
Ht as feedFilterTypes,
|
|
@@ -12480,8 +12481,8 @@ export {
|
|
|
12480
12481
|
y8 as getProjectOverviewRoutes,
|
|
12481
12482
|
_8 as getTemplateRoutes,
|
|
12482
12483
|
g8 as listUpdateTypes,
|
|
12483
|
-
|
|
12484
|
-
|
|
12484
|
+
_n as milestoneStatus,
|
|
12485
|
+
Ye as projectOverviewRoutes,
|
|
12485
12486
|
F2 as ruleComparators,
|
|
12486
12487
|
Z2 as ruleDurationUnits,
|
|
12487
12488
|
U2 as ruleTriggerTypes,
|