@26lights/orcha 0.35.14 → 0.35.16
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 +1 -1
- package/dist/orcha.es.js +278 -278
- package/dist/orcha.umd.js +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, openBlock as v, createBlock as R, unref as
|
|
1
|
+
import { defineComponent as J, openBlock as v, createBlock as R, unref as X, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as M, resolveDynamicComponent as vt, normalizeClass as x, renderSlot as te, toDisplayString as K, createCommentVNode as T, ref as ae, watch as ce, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as W, createTextVNode as Ra, createVNode as V, normalizeStyle as v1, withModifiers as he, createSlots as Na, Fragment as Ce, renderList as ye, onMounted as Wt, onBeforeUnmount as p1, onUnmounted as m1, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
|
|
2
2
|
import { RouterView as As } from "vue-router";
|
|
3
3
|
import pt from "vuedraggable";
|
|
4
4
|
const Mv = /* @__PURE__ */ J({
|
|
@@ -7,7 +7,7 @@ const Mv = /* @__PURE__ */ J({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(a) {
|
|
10
|
-
return (e, t) => (v(), R(
|
|
10
|
+
return (e, t) => (v(), R(X(As), Ve({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), j = (a, e) => {
|
|
13
13
|
const t = a.__vccOpts || a;
|
|
@@ -1152,7 +1152,7 @@ const c2 = /* @__PURE__ */ j(o2, [["render", d2]]), f2 = /* @__PURE__ */ Object.
|
|
|
1152
1152
|
..._n,
|
|
1153
1153
|
...p2
|
|
1154
1154
|
});
|
|
1155
|
-
const
|
|
1155
|
+
const h1 = {
|
|
1156
1156
|
ROUND: "round",
|
|
1157
1157
|
ROUNDED: "rounded"
|
|
1158
1158
|
}, fe = /* @__PURE__ */ J({
|
|
@@ -1183,7 +1183,7 @@ const m2 = ["type"], h2 = {
|
|
|
1183
1183
|
footer: { type: Boolean, default: () => !1 },
|
|
1184
1184
|
size: { default: () => ja.MD },
|
|
1185
1185
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1186
|
-
corners: { default: () =>
|
|
1186
|
+
corners: { default: () => h1.ROUNDED }
|
|
1187
1187
|
},
|
|
1188
1188
|
setup(a) {
|
|
1189
1189
|
const e = a, t = M(() => e.size), n = M(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1212,7 +1212,7 @@ const m2 = ["type"], h2 = {
|
|
|
1212
1212
|
], 10, m2));
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
|
-
function
|
|
1215
|
+
function C1(a) {
|
|
1216
1216
|
const e = ae(!1), t = ae(""), n = M(() => "value" in a.value ? "value" : "innerHTML"), s = () => {
|
|
1217
1217
|
e.value = !e.value;
|
|
1218
1218
|
}, o = (u) => {
|
|
@@ -1253,7 +1253,7 @@ const _e = /* @__PURE__ */ J({
|
|
|
1253
1253
|
},
|
|
1254
1254
|
emits: ["update:title", "toggle-is-editing"],
|
|
1255
1255
|
setup(a, { emit: e }) {
|
|
1256
|
-
const t = a, n = ae(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } =
|
|
1256
|
+
const t = a, n = ae(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = C1(n), u = M(() => t.title.replace(/\s*\(\d+\)$/, "")), d = M(() => s.value ? "input" : t.tag || `h${t.level}`), l = M(() => t.isEditable ? s.value ? {
|
|
1257
1257
|
change: c,
|
|
1258
1258
|
click: (_) => _.stopPropagation(),
|
|
1259
1259
|
blur: C
|
|
@@ -1285,16 +1285,16 @@ const _e = /* @__PURE__ */ J({
|
|
|
1285
1285
|
{
|
|
1286
1286
|
[`ao-title--${_.color}`]: !!_.color,
|
|
1287
1287
|
"ao-title--editable": _.isEditable,
|
|
1288
|
-
"ao-field__input ao-title--editing":
|
|
1289
|
-
"ao-title--readonly": !
|
|
1288
|
+
"ao-field__input ao-title--editing": X(s),
|
|
1289
|
+
"ao-title--readonly": !X(s)
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
|
-
type:
|
|
1293
|
-
value:
|
|
1292
|
+
type: X(s) ? "text" : null,
|
|
1293
|
+
value: X(s) ? u.value : null,
|
|
1294
1294
|
tabindex: "0",
|
|
1295
1295
|
onKeyup: ut($, ["enter"])
|
|
1296
1296
|
}, _s(l.value), {
|
|
1297
|
-
onKeydown: ut(
|
|
1297
|
+
onKeydown: ut(X(f), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
1299
|
default: W(() => [
|
|
1300
1300
|
Ra(K(_.title), 1)
|
|
@@ -1324,7 +1324,7 @@ const C2 = {
|
|
|
1324
1324
|
}, M2 = {
|
|
1325
1325
|
key: 3,
|
|
1326
1326
|
class: "ao-card-horiz__secondary"
|
|
1327
|
-
},
|
|
1327
|
+
}, g1 = /* @__PURE__ */ J({
|
|
1328
1328
|
__name: "AoCardHoriz",
|
|
1329
1329
|
props: {
|
|
1330
1330
|
id: {},
|
|
@@ -1413,7 +1413,7 @@ const yn = /* @__PURE__ */ J({
|
|
|
1413
1413
|
s.closable ? "ao-tag--closable" : "",
|
|
1414
1414
|
s.variant ? `ao-tag--${s.variant}` : ""
|
|
1415
1415
|
]),
|
|
1416
|
-
style:
|
|
1416
|
+
style: v1(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1417
1417
|
}, [
|
|
1418
1418
|
(v(), R(vt(t.value), Ve({ class: "ao-tag__label" }, n.value, {
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
@@ -1514,7 +1514,7 @@ function sa(a) {
|
|
|
1514
1514
|
var e = new Date(Date.UTC(a.getFullYear(), a.getMonth(), a.getDate(), a.getHours(), a.getMinutes(), a.getSeconds(), a.getMilliseconds()));
|
|
1515
1515
|
return e.setUTCFullYear(a.getFullYear()), a.getTime() - e.getTime();
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function xn(a) {
|
|
1518
1518
|
ge(1, arguments);
|
|
1519
1519
|
var e = be(a);
|
|
1520
1520
|
return e.setHours(0, 0, 0, 0), e;
|
|
@@ -1522,7 +1522,7 @@ function zn(a) {
|
|
|
1522
1522
|
var L2 = 864e5;
|
|
1523
1523
|
function V2(a, e) {
|
|
1524
1524
|
ge(2, arguments);
|
|
1525
|
-
var t =
|
|
1525
|
+
var t = xn(a), n = xn(e), s = t.getTime() - sa(t), o = n.getTime() - sa(n);
|
|
1526
1526
|
return Math.round((s - o) / L2);
|
|
1527
1527
|
}
|
|
1528
1528
|
function D2(a, e) {
|
|
@@ -1530,11 +1530,11 @@ function D2(a, e) {
|
|
|
1530
1530
|
var t = be(a), n = be(e), s = t.getTime() - n.getTime();
|
|
1531
1531
|
return s < 0 ? -1 : s > 0 ? 1 : s;
|
|
1532
1532
|
}
|
|
1533
|
-
var
|
|
1533
|
+
var _1 = 6e4, y1 = 36e5;
|
|
1534
1534
|
function P2(a) {
|
|
1535
1535
|
return ge(1, arguments), a instanceof Date || Ea(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function b1(a) {
|
|
1538
1538
|
if (ge(1, arguments), !P2(a) && typeof a != "number")
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
var e = be(a);
|
|
@@ -1558,7 +1558,7 @@ function Ia(a) {
|
|
|
1558
1558
|
var e = 1, t = be(a), n = t.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1559
1559
|
return t.setUTCDate(t.getUTCDate() - s), t.setUTCHours(0, 0, 0, 0), t;
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function w1(a) {
|
|
1562
1562
|
ge(1, arguments);
|
|
1563
1563
|
var e = be(a), t = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1564
1564
|
n.setUTCFullYear(t + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
@@ -1569,7 +1569,7 @@ function b1(a) {
|
|
|
1569
1569
|
}
|
|
1570
1570
|
function R2(a) {
|
|
1571
1571
|
ge(1, arguments);
|
|
1572
|
-
var e =
|
|
1572
|
+
var e = w1(a), t = /* @__PURE__ */ new Date(0);
|
|
1573
1573
|
t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
1574
1574
|
var n = Ia(t);
|
|
1575
1575
|
return n;
|
|
@@ -1589,7 +1589,7 @@ function La(a, e) {
|
|
|
1589
1589
|
var f = be(a), C = f.getUTCDay(), $ = (C < c ? 7 : 0) + C - c;
|
|
1590
1590
|
return f.setUTCDate(f.getUTCDate() - $), f.setUTCHours(0, 0, 0, 0), f;
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function $1(a, e) {
|
|
1593
1593
|
var t, n, s, o, i, r, u, d;
|
|
1594
1594
|
ge(1, arguments);
|
|
1595
1595
|
var l = be(a), c = l.getUTCFullYear(), f = ca(), C = Ke((t = (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 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = f.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
@@ -1605,7 +1605,7 @@ function w1(a, e) {
|
|
|
1605
1605
|
function U2(a, e) {
|
|
1606
1606
|
var t, n, s, o, i, r, u, d;
|
|
1607
1607
|
ge(1, arguments);
|
|
1608
|
-
var l = ca(), c = Ke((t = (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 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = l.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), f =
|
|
1608
|
+
var l = ca(), c = Ke((t = (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 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = l.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), f = $1(a, e), C = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
C.setUTCFullYear(f, 0, c), C.setUTCHours(0, 0, 0, 0);
|
|
1610
1610
|
var $ = La(C, e);
|
|
1611
1611
|
return $;
|
|
@@ -1718,7 +1718,7 @@ var It = {
|
|
|
1718
1718
|
},
|
|
1719
1719
|
// Local week-numbering year
|
|
1720
1720
|
Y: function(e, t, n, s) {
|
|
1721
|
-
var o =
|
|
1721
|
+
var o = $1(e, s), i = o > 0 ? o : 1 - o;
|
|
1722
1722
|
if (t === "YY") {
|
|
1723
1723
|
var r = i % 100;
|
|
1724
1724
|
return ue(r, 2);
|
|
@@ -1729,7 +1729,7 @@ var It = {
|
|
|
1729
1729
|
},
|
|
1730
1730
|
// ISO week-numbering year
|
|
1731
1731
|
R: function(e, t) {
|
|
1732
|
-
var n =
|
|
1732
|
+
var n = w1(e);
|
|
1733
1733
|
return ue(n, t.length);
|
|
1734
1734
|
},
|
|
1735
1735
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2158,7 +2158,7 @@ var It = {
|
|
|
2158
2158
|
return "Z";
|
|
2159
2159
|
switch (t) {
|
|
2160
2160
|
case "X":
|
|
2161
|
-
return
|
|
2161
|
+
return Gn(i);
|
|
2162
2162
|
case "XXXX":
|
|
2163
2163
|
case "XX":
|
|
2164
2164
|
return yt(i);
|
|
@@ -2173,7 +2173,7 @@ var It = {
|
|
|
2173
2173
|
var o = s._originalDate || e, i = o.getTimezoneOffset();
|
|
2174
2174
|
switch (t) {
|
|
2175
2175
|
case "x":
|
|
2176
|
-
return
|
|
2176
|
+
return Gn(i);
|
|
2177
2177
|
case "xxxx":
|
|
2178
2178
|
case "xx":
|
|
2179
2179
|
return yt(i);
|
|
@@ -2190,7 +2190,7 @@ var It = {
|
|
|
2190
2190
|
case "O":
|
|
2191
2191
|
case "OO":
|
|
2192
2192
|
case "OOO":
|
|
2193
|
-
return "GMT" +
|
|
2193
|
+
return "GMT" + Yn(i, ":");
|
|
2194
2194
|
case "OOOO":
|
|
2195
2195
|
default:
|
|
2196
2196
|
return "GMT" + yt(i, ":");
|
|
@@ -2203,7 +2203,7 @@ var It = {
|
|
|
2203
2203
|
case "z":
|
|
2204
2204
|
case "zz":
|
|
2205
2205
|
case "zzz":
|
|
2206
|
-
return "GMT" +
|
|
2206
|
+
return "GMT" + Yn(i, ":");
|
|
2207
2207
|
case "zzzz":
|
|
2208
2208
|
default:
|
|
2209
2209
|
return "GMT" + yt(i, ":");
|
|
@@ -2220,14 +2220,14 @@ var It = {
|
|
|
2220
2220
|
return ue(i, t.length);
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
|
-
function
|
|
2223
|
+
function Yn(a, e) {
|
|
2224
2224
|
var t = a > 0 ? "-" : "+", n = Math.abs(a), s = Math.floor(n / 60), o = n % 60;
|
|
2225
2225
|
if (o === 0)
|
|
2226
2226
|
return t + String(s);
|
|
2227
2227
|
var i = e || "";
|
|
2228
2228
|
return t + String(s) + i + ue(o, 2);
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2230
|
+
function Gn(a, e) {
|
|
2231
2231
|
if (a % 60 === 0) {
|
|
2232
2232
|
var t = a > 0 ? "-" : "+";
|
|
2233
2233
|
return t + ue(Math.abs(a) / 60, 2);
|
|
@@ -2239,7 +2239,7 @@ function yt(a, e) {
|
|
|
2239
2239
|
return n + o + t + i;
|
|
2240
2240
|
}
|
|
2241
2241
|
const z2 = q2;
|
|
2242
|
-
var
|
|
2242
|
+
var Kn = function(e, t) {
|
|
2243
2243
|
switch (e) {
|
|
2244
2244
|
case "P":
|
|
2245
2245
|
return t.date({
|
|
@@ -2259,7 +2259,7 @@ var Gn = function(e, t) {
|
|
|
2259
2259
|
width: "full"
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
|
-
},
|
|
2262
|
+
}, k1 = function(e, t) {
|
|
2263
2263
|
switch (e) {
|
|
2264
2264
|
case "p":
|
|
2265
2265
|
return t.time({
|
|
@@ -2282,7 +2282,7 @@ var Gn = function(e, t) {
|
|
|
2282
2282
|
}, x2 = function(e, t) {
|
|
2283
2283
|
var n = e.match(/(P+)(p+)?/) || [], s = n[1], o = n[2];
|
|
2284
2284
|
if (!o)
|
|
2285
|
-
return
|
|
2285
|
+
return Kn(e, t);
|
|
2286
2286
|
var i;
|
|
2287
2287
|
switch (s) {
|
|
2288
2288
|
case "P":
|
|
@@ -2307,9 +2307,9 @@ var Gn = function(e, t) {
|
|
|
2307
2307
|
});
|
|
2308
2308
|
break;
|
|
2309
2309
|
}
|
|
2310
|
-
return i.replace("{{date}}",
|
|
2310
|
+
return i.replace("{{date}}", Kn(s, t)).replace("{{time}}", k1(o, t));
|
|
2311
2311
|
}, Y2 = {
|
|
2312
|
-
p:
|
|
2312
|
+
p: k1,
|
|
2313
2313
|
P: x2
|
|
2314
2314
|
};
|
|
2315
2315
|
const G2 = Y2;
|
|
@@ -2320,7 +2320,7 @@ function Q2(a) {
|
|
|
2320
2320
|
function J2(a) {
|
|
2321
2321
|
return X2.indexOf(a) !== -1;
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function Xn(a, e, t) {
|
|
2324
2324
|
if (a === "YYYY")
|
|
2325
2325
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2326
2326
|
if (a === "YY")
|
|
@@ -2719,12 +2719,12 @@ var B0 = {
|
|
|
2719
2719
|
firstWeekContainsDate: 1
|
|
2720
2720
|
}
|
|
2721
2721
|
};
|
|
2722
|
-
const
|
|
2722
|
+
const M1 = B0;
|
|
2723
2723
|
var R0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, N0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, j0 = /^'([^]*?)'?$/, U0 = /''/g, Z0 = /[a-zA-Z]/;
|
|
2724
|
-
function
|
|
2724
|
+
function A1(a, e, t) {
|
|
2725
2725
|
var n, s, o, i, r, u, d, l, c, f, C, $, w, _, m, A, y, S;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
|
-
var D = String(e), L = ca(), Z = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n :
|
|
2727
|
+
var D = String(e), L = ca(), Z = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : M1, U = Ke((o = (i = (r = (u = t == null ? void 0 : t.firstWeekContainsDate) !== null && u !== void 0 ? u : t == null || (d = t.locale) === null || d === void 0 || (l = d.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = L.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(U >= 1 && U <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
2730
|
var q = Ke((C = ($ = (w = (_ = t == null ? void 0 : t.weekStartsOn) !== null && _ !== void 0 ? _ : t == null || (m = t.locale) === null || m === void 0 || (A = m.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && w !== void 0 ? w : L.weekStartsOn) !== null && $ !== void 0 ? $ : (y = L.locale) === null || y === void 0 || (S = y.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && C !== void 0 ? C : 0);
|
|
@@ -2735,7 +2735,7 @@ function M1(a, e, t) {
|
|
|
2735
2735
|
if (!Z.formatLong)
|
|
2736
2736
|
throw new RangeError("locale must contain formatLong property");
|
|
2737
2737
|
var O = be(a);
|
|
2738
|
-
if (!
|
|
2738
|
+
if (!b1(O))
|
|
2739
2739
|
throw new RangeError("Invalid time value");
|
|
2740
2740
|
var Y = sa(O), B = vn(O, Y), F = {
|
|
2741
2741
|
firstWeekContainsDate: U,
|
|
@@ -2743,23 +2743,23 @@ function M1(a, e, t) {
|
|
|
2743
2743
|
locale: Z,
|
|
2744
2744
|
_originalDate: O
|
|
2745
2745
|
}, E = D.match(N0).map(function(N) {
|
|
2746
|
-
var
|
|
2747
|
-
if (
|
|
2748
|
-
var k = G2[
|
|
2746
|
+
var Q = N[0];
|
|
2747
|
+
if (Q === "p" || Q === "P") {
|
|
2748
|
+
var k = G2[Q];
|
|
2749
2749
|
return k(N, Z.formatLong);
|
|
2750
2750
|
}
|
|
2751
2751
|
return N;
|
|
2752
2752
|
}).join("").match(R0).map(function(N) {
|
|
2753
2753
|
if (N === "''")
|
|
2754
2754
|
return "'";
|
|
2755
|
-
var
|
|
2756
|
-
if (
|
|
2755
|
+
var Q = N[0];
|
|
2756
|
+
if (Q === "'")
|
|
2757
2757
|
return F0(N);
|
|
2758
|
-
var k = z2[
|
|
2758
|
+
var k = z2[Q];
|
|
2759
2759
|
if (k)
|
|
2760
|
-
return !(t != null && t.useAdditionalWeekYearTokens) && J2(N) &&
|
|
2761
|
-
if (
|
|
2762
|
-
throw new RangeError("Format string contains an unescaped latin alphabet character `" +
|
|
2760
|
+
return !(t != null && t.useAdditionalWeekYearTokens) && J2(N) && Xn(N, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Q2(N) && Xn(N, e, String(a)), k(B, N, Z.localize, F);
|
|
2761
|
+
if (Q.match(Z0))
|
|
2762
|
+
throw new RangeError("Format string contains an unescaped latin alphabet character `" + Q + "`");
|
|
2763
2763
|
return N;
|
|
2764
2764
|
}).join("");
|
|
2765
2765
|
return E;
|
|
@@ -2771,7 +2771,7 @@ function F0(a) {
|
|
|
2771
2771
|
function W0(a, e, t) {
|
|
2772
2772
|
var n, s, o, i, r, u, d, l, c, f;
|
|
2773
2773
|
ge(2, arguments);
|
|
2774
|
-
var C = be(a), $ = be(e), w = ca(), _ = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : w.locale) !== null && n !== void 0 ? n :
|
|
2774
|
+
var C = be(a), $ = be(e), w = ca(), _ = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : w.locale) !== null && n !== void 0 ? n : M1, m = Ke((o = (i = (r = (u = t == null ? void 0 : t.weekStartsOn) !== null && u !== void 0 ? u : t == null || (d = t.locale) === null || d === void 0 || (l = d.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : w.weekStartsOn) !== null && i !== void 0 ? i : (c = w.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2775
2775
|
if (!_.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
2777
|
if (!_.formatLong)
|
|
@@ -2787,7 +2787,7 @@ function W0(a, e, t) {
|
|
|
2787
2787
|
locale: _,
|
|
2788
2788
|
weekStartsOn: m
|
|
2789
2789
|
});
|
|
2790
|
-
return
|
|
2790
|
+
return A1(C, L, {
|
|
2791
2791
|
locale: _,
|
|
2792
2792
|
weekStartsOn: m
|
|
2793
2793
|
});
|
|
@@ -2867,7 +2867,7 @@ function X0(a) {
|
|
|
2867
2867
|
if (!e)
|
|
2868
2868
|
return NaN;
|
|
2869
2869
|
var t = un(e[1]), n = un(e[2]), s = un(e[3]);
|
|
2870
|
-
return s3(t, n, s) ? t *
|
|
2870
|
+
return s3(t, n, s) ? t * y1 + n * _1 + s * 1e3 : NaN;
|
|
2871
2871
|
}
|
|
2872
2872
|
function un(a) {
|
|
2873
2873
|
return a && parseFloat(a.replace(",", ".")) || 0;
|
|
@@ -2879,7 +2879,7 @@ function Q0(a) {
|
|
|
2879
2879
|
if (!e)
|
|
2880
2880
|
return 0;
|
|
2881
2881
|
var t = e[1] === "+" ? -1 : 1, n = parseInt(e[2]), s = e[3] && parseInt(e[3]) || 0;
|
|
2882
|
-
return i3(n, s) ? t * (n *
|
|
2882
|
+
return i3(n, s) ? t * (n * y1 + s * _1) : NaN;
|
|
2883
2883
|
}
|
|
2884
2884
|
function J0(a, e, t) {
|
|
2885
2885
|
var n = /* @__PURE__ */ new Date(0);
|
|
@@ -2888,14 +2888,14 @@ function J0(a, e, t) {
|
|
|
2888
2888
|
return n.setUTCDate(n.getUTCDate() + o), n;
|
|
2889
2889
|
}
|
|
2890
2890
|
var e3 = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2891
|
-
function
|
|
2891
|
+
function T1(a) {
|
|
2892
2892
|
return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
|
|
2893
2893
|
}
|
|
2894
2894
|
function t3(a, e, t) {
|
|
2895
|
-
return e >= 0 && e <= 11 && t >= 1 && t <= (e3[e] || (
|
|
2895
|
+
return e >= 0 && e <= 11 && t >= 1 && t <= (e3[e] || (T1(a) ? 29 : 28));
|
|
2896
2896
|
}
|
|
2897
2897
|
function a3(a, e) {
|
|
2898
|
-
return e >= 1 && e <= (
|
|
2898
|
+
return e >= 1 && e <= (T1(a) ? 366 : 365);
|
|
2899
2899
|
}
|
|
2900
2900
|
function n3(a, e, t) {
|
|
2901
2901
|
return e >= 1 && e <= 53 && t >= 0 && t <= 6;
|
|
@@ -2906,7 +2906,7 @@ function s3(a, e, t) {
|
|
|
2906
2906
|
function i3(a, 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 = {}, S1 = {}, Jt = {}, fa = {}, qt = {}, Ua = {};
|
|
2910
2910
|
Object.defineProperty(Ua, "__esModule", { value: !0 });
|
|
2911
2911
|
Ua.lexoHelper = void 0;
|
|
2912
2912
|
Ua.lexoHelper = {
|
|
@@ -3253,12 +3253,12 @@ class Oe {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
3255
|
fa.LexoDecimal = Oe;
|
|
3256
|
-
var Ma = {},
|
|
3257
|
-
function
|
|
3258
|
-
if (
|
|
3256
|
+
var Ma = {}, Qn;
|
|
3257
|
+
function O1() {
|
|
3258
|
+
if (Qn)
|
|
3259
3259
|
return Ma;
|
|
3260
|
-
|
|
3261
|
-
const a = qt, e =
|
|
3260
|
+
Qn = 1, Object.defineProperty(Ma, "__esModule", { value: !0 });
|
|
3261
|
+
const a = qt, e = I1();
|
|
3262
3262
|
class t {
|
|
3263
3263
|
constructor(s) {
|
|
3264
3264
|
this.value = a.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3311,8 +3311,8 @@ function S1() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ma.default = t, Ma;
|
|
3313
3313
|
}
|
|
3314
|
-
var bn = {},
|
|
3315
|
-
Object.defineProperty(
|
|
3314
|
+
var bn = {}, E1 = {};
|
|
3315
|
+
Object.defineProperty(E1, "__esModule", { value: !0 });
|
|
3316
3316
|
var Za = {};
|
|
3317
3317
|
Object.defineProperty(Za, "__esModule", { value: !0 });
|
|
3318
3318
|
Za.LexoNumeralSystem10 = void 0;
|
|
@@ -3420,14 +3420,14 @@ Wa.LexoNumeralSystem64 = f3;
|
|
|
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(a, "__esModule", { value: !0 }), t(
|
|
3423
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(E1, a), t(Za, a), t(Fa, a), t(Wa, a);
|
|
3424
3424
|
})(bn);
|
|
3425
|
-
var
|
|
3426
|
-
function
|
|
3427
|
-
if (
|
|
3425
|
+
var Jn;
|
|
3426
|
+
function I1() {
|
|
3427
|
+
if (Jn)
|
|
3428
3428
|
return Jt;
|
|
3429
|
-
|
|
3430
|
-
const a = fa, e =
|
|
3429
|
+
Jn = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.LexoRank = void 0;
|
|
3430
|
+
const a = fa, e = O1(), t = va, n = bn;
|
|
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 E1() {
|
|
|
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(a, "__esModule", { value: !0 }), t(
|
|
3617
|
-
})(
|
|
3616
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(I1(), a), t(O1(), a), t(fa, a), t(qt, a);
|
|
3617
|
+
})(S1);
|
|
3618
3618
|
(function(a) {
|
|
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 E1() {
|
|
|
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(a, "__esModule", { value: !0 }), t(
|
|
3631
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(S1, a), t(bn, a);
|
|
3632
3632
|
})(Ie);
|
|
3633
|
-
function
|
|
3633
|
+
function L1(a) {
|
|
3634
3634
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3635
3635
|
var n;
|
|
3636
3636
|
return e + (((n = t.activities) == null ? void 0 : n.length) ?? 0);
|
|
@@ -3645,7 +3645,7 @@ function v3(a) {
|
|
|
3645
3645
|
function p3(a) {
|
|
3646
3646
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3647
3647
|
var s;
|
|
3648
|
-
const n = (s = t.milestones) != null && s.length ?
|
|
3648
|
+
const n = (s = t.milestones) != null && s.length ? L1(t.milestones) : 0;
|
|
3649
3649
|
return e + n;
|
|
3650
3650
|
}, 0)) ?? 0;
|
|
3651
3651
|
}
|
|
@@ -3671,17 +3671,17 @@ function Bt(a, e) {
|
|
|
3671
3671
|
return Ie.LexoRank.parse(n.rank).between(Ie.LexoRank.parse(t.rank)).format();
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
|
-
function
|
|
3674
|
+
function wn(a, e = "dd/MM/yyyy") {
|
|
3675
3675
|
if (!a)
|
|
3676
3676
|
return "";
|
|
3677
3677
|
const t = ia(a);
|
|
3678
|
-
return
|
|
3678
|
+
return b1(t) ? A1(t, e) : "";
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3680
|
+
function $n(a, e) {
|
|
3681
3681
|
return a.status.id === e.id;
|
|
3682
3682
|
}
|
|
3683
3683
|
function h3(a, e) {
|
|
3684
|
-
return a.activities.length === 0 ? !1 : !a.activities.some((t) =>
|
|
3684
|
+
return a.activities.length === 0 ? !1 : !a.activities.some((t) => !$n(t, e));
|
|
3685
3685
|
}
|
|
3686
3686
|
function C3(a, e) {
|
|
3687
3687
|
return {
|
|
@@ -3717,7 +3717,7 @@ const V1 = (a) => {
|
|
|
3717
3717
|
class: x(n.value),
|
|
3718
3718
|
title: i.userName
|
|
3719
3719
|
}, [
|
|
3720
|
-
i.avatarUrl ? T("", !0) : (v(), g("span", _3, K(
|
|
3720
|
+
i.avatarUrl ? T("", !0) : (v(), g("span", _3, K(X(s)), 1)),
|
|
3721
3721
|
i.avatarUrl ? (v(), g("img", {
|
|
3722
3722
|
key: 1,
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
@@ -3759,7 +3759,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
|
|
|
3759
3759
|
const t = (n) => {
|
|
3760
3760
|
e("updateTitle", n);
|
|
3761
3761
|
};
|
|
3762
|
-
return (n, s) => (v(), R(
|
|
3762
|
+
return (n, s) => (v(), R(g1, {
|
|
3763
3763
|
id: n.id,
|
|
3764
3764
|
title: n.title,
|
|
3765
3765
|
"is-draggable": !0,
|
|
@@ -3872,7 +3872,7 @@ const W3 = ["type"], q3 = {
|
|
|
3872
3872
|
color: { default: () => _n.BLACK },
|
|
3873
3873
|
size: { default: () => ja.MD },
|
|
3874
3874
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3875
|
-
corners: { default: () =>
|
|
3875
|
+
corners: { default: () => h1.ROUNDED }
|
|
3876
3876
|
},
|
|
3877
3877
|
setup(a) {
|
|
3878
3878
|
const e = a, t = M(() => e.size), n = M(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3900,7 +3900,7 @@ const W3 = ["type"], q3 = {
|
|
|
3900
3900
|
const z3 = { class: "ao-card-template-item__footer" }, x3 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, Y3 = { class: "ao-card-template-item__subitem-number" }, G3 = { class: "ao-card-template-item__secondary" },
|
|
3903
|
+
}, Y3 = { class: "ao-card-template-item__subitem-number" }, G3 = { class: "ao-card-template-item__secondary" }, kn = /* @__PURE__ */ J({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3920,7 +3920,7 @@ const z3 = { class: "ao-card-template-item__footer" }, x3 = {
|
|
|
3920
3920
|
}, o = () => {
|
|
3921
3921
|
e("remove");
|
|
3922
3922
|
};
|
|
3923
|
-
return (i, r) => (v(), R(
|
|
3923
|
+
return (i, r) => (v(), R(g1, { "onUpdate:title": t }, {
|
|
3924
3924
|
footer: W(() => [
|
|
3925
3925
|
p("ul", z3, [
|
|
3926
3926
|
(v(), g(Ce, null, ye(n, (u) => (v(), g(Ce, { key: u }, [
|
|
@@ -3960,8 +3960,8 @@ const K3 = /* @__PURE__ */ J({
|
|
|
3960
3960
|
const e = a, t = M(() => {
|
|
3961
3961
|
var s;
|
|
3962
3962
|
return (s = e.milestones) == null ? void 0 : s.length;
|
|
3963
|
-
}), n = M(() => e.milestones ?
|
|
3964
|
-
return (s, o) => (v(), R(
|
|
3963
|
+
}), n = M(() => e.milestones ? L1(e.milestones) : 0);
|
|
3964
|
+
return (s, o) => (v(), R(kn, Ve({
|
|
3965
3965
|
id: s.id,
|
|
3966
3966
|
title: s.name,
|
|
3967
3967
|
activities: n.value,
|
|
@@ -3983,7 +3983,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
3983
3983
|
var n;
|
|
3984
3984
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
3985
3985
|
});
|
|
3986
|
-
return (n, s) => (v(), R(
|
|
3986
|
+
return (n, s) => (v(), R(kn, { activities: t.value }, {
|
|
3987
3987
|
default: W(() => [
|
|
3988
3988
|
te(n.$slots, "default")
|
|
3989
3989
|
]),
|
|
@@ -4014,7 +4014,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
return (r, u) => r.phase ? (v(), R(
|
|
4017
|
+
return (r, u) => r.phase ? (v(), R(X(pt), {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": r.phase.milestones,
|
|
4020
4020
|
class: "ao-templates__list",
|
|
@@ -4070,7 +4070,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4070
4070
|
var n;
|
|
4071
4071
|
return ((n = e.tasks) == null ? void 0 : n.length) || 0;
|
|
4072
4072
|
});
|
|
4073
|
-
return (n, s) => (v(), R(
|
|
4073
|
+
return (n, s) => (v(), R(kn, { tasks: t.value }, {
|
|
4074
4074
|
default: W(() => [
|
|
4075
4075
|
te(n.$slots, "default")
|
|
4076
4076
|
]),
|
|
@@ -4104,7 +4104,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
return (r, u) => r.milestone ? (v(), R(
|
|
4107
|
+
return (r, u) => r.milestone ? (v(), R(X(pt), {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
"model-value": r.milestone.activities,
|
|
4110
4110
|
title: r.$t("template.activities.title"),
|
|
@@ -4151,7 +4151,7 @@ const K3 = /* @__PURE__ */ J({
|
|
|
4151
4151
|
}, i5 = { class: "ao-modal__header-meta" }, o5 = { class: "ao-modal__title-group" }, r5 = { class: "ao-modal__body" }, l5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
},
|
|
4154
|
+
}, Mn = /* @__PURE__ */ J({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4201,7 +4201,7 @@ const oa = Math.min, Ee = Math.max, Va = Math.round, Aa = Math.floor, dt = (a) =
|
|
|
4201
4201
|
start: "end",
|
|
4202
4202
|
end: "start"
|
|
4203
4203
|
};
|
|
4204
|
-
function
|
|
4204
|
+
function An(a, e) {
|
|
4205
4205
|
return typeof a == "function" ? a(e) : a;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Rt(a) {
|
|
@@ -4216,11 +4216,11 @@ function c5(a) {
|
|
|
4216
4216
|
function D1(a) {
|
|
4217
4217
|
return a === "y" ? "height" : "width";
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function Tn(a) {
|
|
4220
4220
|
return ["top", "bottom"].includes(Rt(a)) ? "y" : "x";
|
|
4221
4221
|
}
|
|
4222
4222
|
function P1(a) {
|
|
4223
|
-
return c5(
|
|
4223
|
+
return c5(Tn(a));
|
|
4224
4224
|
}
|
|
4225
4225
|
function f5(a, e, t) {
|
|
4226
4226
|
t === void 0 && (t = !1);
|
|
@@ -4282,12 +4282,12 @@ function Pa(a) {
|
|
|
4282
4282
|
bottom: a.y + a.height
|
|
4283
4283
|
};
|
|
4284
4284
|
}
|
|
4285
|
-
function
|
|
4285
|
+
function e1(a, e, t) {
|
|
4286
4286
|
let {
|
|
4287
4287
|
reference: n,
|
|
4288
4288
|
floating: s
|
|
4289
4289
|
} = a;
|
|
4290
|
-
const o =
|
|
4290
|
+
const o = Tn(e), i = P1(e), r = D1(i), u = Rt(e), d = o === "y", l = n.x + n.width / 2 - s.width / 2, c = n.y + n.height / 2 - s.height / 2, f = n[r] / 2 - s[r] / 2;
|
|
4291
4291
|
let C;
|
|
4292
4292
|
switch (u) {
|
|
4293
4293
|
case "top":
|
|
@@ -4344,7 +4344,7 @@ const g5 = async (a, e, t) => {
|
|
|
4344
4344
|
}), {
|
|
4345
4345
|
x: l,
|
|
4346
4346
|
y: c
|
|
4347
|
-
} =
|
|
4347
|
+
} = e1(d, n, u), f = n, C = {}, $ = 0;
|
|
4348
4348
|
for (let w = 0; w < r.length; w++) {
|
|
4349
4349
|
const {
|
|
4350
4350
|
name: _,
|
|
@@ -4382,7 +4382,7 @@ const g5 = async (a, e, t) => {
|
|
|
4382
4382
|
}) : D.rects), {
|
|
4383
4383
|
x: l,
|
|
4384
4384
|
y: c
|
|
4385
|
-
} =
|
|
4385
|
+
} = e1(d, f, u)), w = -1;
|
|
4386
4386
|
continue;
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
@@ -4410,7 +4410,7 @@ async function H1(a, e) {
|
|
|
4410
4410
|
elementContext: c = "floating",
|
|
4411
4411
|
altBoundary: f = !1,
|
|
4412
4412
|
padding: C = 0
|
|
4413
|
-
} =
|
|
4413
|
+
} = An(e, a), $ = C5(C), _ = r[f ? c === "floating" ? "reference" : "floating" : c], m = Pa(await o.getClippingRect({
|
|
4414
4414
|
element: (t = await (o.isElement == null ? void 0 : o.isElement(_))) == null || t ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
|
|
4415
4415
|
boundary: d,
|
|
4416
4416
|
rootBoundary: l,
|
|
@@ -4458,7 +4458,7 @@ const _5 = function(a) {
|
|
|
4458
4458
|
fallbackAxisSideDirection: $ = "none",
|
|
4459
4459
|
flipAlignment: w = !0,
|
|
4460
4460
|
..._
|
|
4461
|
-
} =
|
|
4461
|
+
} = An(a, e);
|
|
4462
4462
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const m = Rt(s), A = Rt(r) === r, y = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), S = f || (A || !w ? [Da(r)] : v5(r));
|
|
@@ -4485,12 +4485,12 @@ const _5 = function(a) {
|
|
|
4485
4485
|
placement: F
|
|
4486
4486
|
}
|
|
4487
4487
|
};
|
|
4488
|
-
let E = (O = U.filter((N) => N.overflows[0] <= 0).sort((N,
|
|
4488
|
+
let E = (O = U.filter((N) => N.overflows[0] <= 0).sort((N, Q) => N.overflows[1] - Q.overflows[1])[0]) == null ? void 0 : O.placement;
|
|
4489
4489
|
if (!E)
|
|
4490
4490
|
switch (C) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var Y;
|
|
4493
|
-
const N = (Y = U.map((
|
|
4493
|
+
const N = (Y = U.map((Q) => [Q.placement, Q.overflows.filter((k) => k > 0).reduce((k, h) => k + h, 0)]).sort((Q, k) => Q[1] - k[1])[0]) == null ? void 0 : Y[0];
|
|
4494
4494
|
N && (E = N);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
@@ -4522,7 +4522,7 @@ const _5 = function(a) {
|
|
|
4522
4522
|
apply: i = () => {
|
|
4523
4523
|
},
|
|
4524
4524
|
...r
|
|
4525
|
-
} =
|
|
4525
|
+
} = An(a, e), u = await H1(e, r), d = Rt(t), l = za(t), c = Tn(t) === "y", {
|
|
4526
4526
|
width: f,
|
|
4527
4527
|
height: C
|
|
4528
4528
|
} = n.floating;
|
|
@@ -4575,7 +4575,7 @@ function Qe(a) {
|
|
|
4575
4575
|
function Ze(a) {
|
|
4576
4576
|
return a instanceof HTMLElement || a instanceof ke(a).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function t1(a) {
|
|
4579
4579
|
return typeof ShadowRoot > "u" ? !1 : a instanceof ShadowRoot || a instanceof ke(a).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
4581
|
function ma(a) {
|
|
@@ -4590,20 +4590,20 @@ function ma(a) {
|
|
|
4590
4590
|
function b5(a) {
|
|
4591
4591
|
return ["table", "td", "th"].includes(ct(a));
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
const e =
|
|
4593
|
+
function Sn(a) {
|
|
4594
|
+
const e = On(), t = He(a);
|
|
4595
4595
|
return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (t.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (t.contain || "").includes(n));
|
|
4596
4596
|
}
|
|
4597
4597
|
function w5(a) {
|
|
4598
4598
|
let e = Nt(a);
|
|
4599
4599
|
for (; Ze(e) && !xa(e); ) {
|
|
4600
|
-
if (
|
|
4600
|
+
if (Sn(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Nt(e);
|
|
4603
4603
|
}
|
|
4604
4604
|
return null;
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function On() {
|
|
4607
4607
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4608
4608
|
}
|
|
4609
4609
|
function xa(a) {
|
|
@@ -4628,10 +4628,10 @@ function Nt(a) {
|
|
|
4628
4628
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4629
4629
|
a.assignedSlot || // DOM Element detected.
|
|
4630
4630
|
a.parentNode || // ShadowRoot detected.
|
|
4631
|
-
|
|
4631
|
+
t1(a) && a.host || // Fallback.
|
|
4632
4632
|
et(a)
|
|
4633
4633
|
);
|
|
4634
|
-
return
|
|
4634
|
+
return t1(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
4636
|
function R1(a) {
|
|
4637
4637
|
const e = Nt(a);
|
|
@@ -4653,11 +4653,11 @@ function N1(a) {
|
|
|
4653
4653
|
$: r
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
|
-
function
|
|
4656
|
+
function En(a) {
|
|
4657
4657
|
return Qe(a) ? a : a.contextElement;
|
|
4658
4658
|
}
|
|
4659
4659
|
function Dt(a) {
|
|
4660
|
-
const e =
|
|
4660
|
+
const e = En(a);
|
|
4661
4661
|
if (!Ze(e))
|
|
4662
4662
|
return dt(1);
|
|
4663
4663
|
const t = e.getBoundingClientRect(), {
|
|
@@ -4674,7 +4674,7 @@ function Dt(a) {
|
|
|
4674
4674
|
const $5 = /* @__PURE__ */ dt(0);
|
|
4675
4675
|
function j1(a) {
|
|
4676
4676
|
const e = ke(a);
|
|
4677
|
-
return !
|
|
4677
|
+
return !On() || !e.visualViewport ? $5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
@@ -4684,7 +4684,7 @@ function k5(a, e, t) {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
function $t(a, e, t, n) {
|
|
4686
4686
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
4687
|
-
const s = a.getBoundingClientRect(), o =
|
|
4687
|
+
const s = a.getBoundingClientRect(), o = En(a);
|
|
4688
4688
|
let i = dt(1);
|
|
4689
4689
|
e && (n ? Qe(n) && (i = Dt(n)) : i = Dt(a));
|
|
4690
4690
|
const r = k5(o, t, n) ? j1(o) : dt(0);
|
|
@@ -4751,7 +4751,7 @@ function S5(a, e) {
|
|
|
4751
4751
|
let o = n.clientWidth, i = n.clientHeight, r = 0, u = 0;
|
|
4752
4752
|
if (s) {
|
|
4753
4753
|
o = s.width, i = s.height;
|
|
4754
|
-
const d =
|
|
4754
|
+
const d = On();
|
|
4755
4755
|
(!d || d && e === "fixed") && (r = s.offsetLeft, u = s.offsetTop);
|
|
4756
4756
|
}
|
|
4757
4757
|
return {
|
|
@@ -4770,7 +4770,7 @@ function O5(a, e) {
|
|
|
4770
4770
|
y: d
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function a1(a, e, t) {
|
|
4774
4774
|
let n;
|
|
4775
4775
|
if (e === "viewport")
|
|
4776
4776
|
n = S5(a, t);
|
|
@@ -4800,7 +4800,7 @@ function E5(a, e) {
|
|
|
4800
4800
|
const o = He(a).position === "fixed";
|
|
4801
4801
|
let i = o ? Nt(a) : a;
|
|
4802
4802
|
for (; Qe(i) && !xa(i); ) {
|
|
4803
|
-
const r = He(i), u =
|
|
4803
|
+
const r = He(i), u = Sn(i);
|
|
4804
4804
|
!u && r.position === "fixed" && (s = null), (o ? !u && !s : !u && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ma(i) && !u && Z1(a, i)) ? n = n.filter((l) => l !== i) : s = r, i = Nt(i);
|
|
4805
4805
|
}
|
|
4806
4806
|
return e.set(a, n), n;
|
|
@@ -4813,9 +4813,9 @@ function I5(a) {
|
|
|
4813
4813
|
strategy: s
|
|
4814
4814
|
} = a;
|
|
4815
4815
|
const i = [...t === "clippingAncestors" ? E5(e, this._c) : [].concat(t), n], r = i[0], u = i.reduce((d, l) => {
|
|
4816
|
-
const c =
|
|
4816
|
+
const c = a1(e, l, s);
|
|
4817
4817
|
return d.top = Ee(c.top, d.top), d.right = oa(c.right, d.right), d.bottom = oa(c.bottom, d.bottom), d.left = Ee(c.left, d.left), d;
|
|
4818
|
-
},
|
|
4818
|
+
}, a1(e, r, s));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: u.right - u.left,
|
|
4821
4821
|
height: u.bottom - u.top,
|
|
@@ -4846,17 +4846,17 @@ function V5(a, e, t) {
|
|
|
4846
4846
|
height: i.height
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4849
|
+
function n1(a, e) {
|
|
4850
4850
|
return !Ze(a) || He(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function F1(a, e) {
|
|
4853
4853
|
const t = ke(a);
|
|
4854
4854
|
if (!Ze(a))
|
|
4855
4855
|
return t;
|
|
4856
|
-
let n =
|
|
4856
|
+
let n = n1(a, e);
|
|
4857
4857
|
for (; n && b5(n) && He(n).position === "static"; )
|
|
4858
|
-
n =
|
|
4859
|
-
return n && (ct(n) === "html" || ct(n) === "body" && He(n).position === "static" && !
|
|
4858
|
+
n = n1(n, e);
|
|
4859
|
+
return n && (ct(n) === "html" || ct(n) === "body" && He(n).position === "static" && !Sn(n)) ? t : n || w5(a) || t;
|
|
4860
4860
|
}
|
|
4861
4861
|
const D5 = async function(a) {
|
|
4862
4862
|
let {
|
|
@@ -4942,7 +4942,7 @@ function R5(a, e, t, n) {
|
|
|
4942
4942
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
4943
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
4944
4944
|
animationFrame: u = !1
|
|
4945
|
-
} = n, d =
|
|
4945
|
+
} = n, d = En(a), l = s || o ? [...d ? ra(d) : [], ...ra(e)] : [];
|
|
4946
4946
|
l.forEach((m) => {
|
|
4947
4947
|
s && m.addEventListener("scroll", t, {
|
|
4948
4948
|
passive: !0
|
|
@@ -4983,7 +4983,7 @@ const N5 = (a, e, t) => {
|
|
|
4983
4983
|
}, j5 = (a) => {
|
|
4984
4984
|
const e = ae(!1), t = ae(), n = ae(), s = ae(0);
|
|
4985
4985
|
function o() {
|
|
4986
|
-
const c =
|
|
4986
|
+
const c = X(a.appendTo);
|
|
4987
4987
|
return c ? typeof c == "string" ? document.getElementById(c) ?? document.body : c : document.getElementById("floatingElements") ?? document.body;
|
|
4988
4988
|
}
|
|
4989
4989
|
const i = o(), r = ae(() => {
|
|
@@ -5040,10 +5040,10 @@ const N5 = (a, e, t) => {
|
|
|
5040
5040
|
}
|
|
5041
5041
|
Wt(() => {
|
|
5042
5042
|
d();
|
|
5043
|
-
}), v1(() => {
|
|
5044
|
-
r.value();
|
|
5045
5043
|
}), p1(() => {
|
|
5046
5044
|
r.value();
|
|
5045
|
+
}), m1(() => {
|
|
5046
|
+
r.value();
|
|
5047
5047
|
});
|
|
5048
5048
|
};
|
|
5049
5049
|
function je(a) {
|
|
@@ -5153,7 +5153,7 @@ function x5(a, e, t) {
|
|
|
5153
5153
|
closeOnDeselect: F,
|
|
5154
5154
|
groups: E,
|
|
5155
5155
|
reverse: N,
|
|
5156
|
-
infinite:
|
|
5156
|
+
infinite: Q,
|
|
5157
5157
|
groupOptions: k,
|
|
5158
5158
|
groupHideEmpty: h,
|
|
5159
5159
|
groupSelect: I,
|
|
@@ -5161,7 +5161,7 @@ function x5(a, e, t) {
|
|
|
5161
5161
|
disabledProp: ne,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: se
|
|
5164
|
-
} = Ae(a), re = Mt().proxy, z = t.iv, P = t.ev, G = t.search, ve = t.clearSearch, we = t.update, zt = t.pointer, xt = t.setPointer, tt = t.clearPointer, ha = t.focus, Qa = t.deactivate, at = t.close, Ca = t.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null), qe = ae(
|
|
5164
|
+
} = Ae(a), re = Mt().proxy, z = t.iv, P = t.ev, G = t.search, ve = t.clearSearch, we = t.update, zt = t.pointer, xt = t.setPointer, tt = t.clearPointer, ha = t.focus, Qa = t.deactivate, at = t.close, Ca = t.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null), qe = ae(Q.value && i.value === -1 ? 10 : i.value), Yt = M(() => u.value || d.value || !1), ga = M(() => c.value !== void 0 ? c.value : f.value !== void 0 ? f.value : !0), Se = M(() => {
|
|
5165
5165
|
if (E.value) {
|
|
5166
5166
|
let b = Ct.value || /* istanbul ignore next */
|
|
5167
5167
|
[], H = [];
|
|
@@ -5244,27 +5244,27 @@ function x5(a, e, t) {
|
|
|
5244
5244
|
we(z.value.concat(b));
|
|
5245
5245
|
break;
|
|
5246
5246
|
}
|
|
5247
|
-
e.emit("select",
|
|
5247
|
+
e.emit("select", jn(b), b, re);
|
|
5248
5248
|
}, Ot = (b) => {
|
|
5249
5249
|
switch (typeof b != "object" && (b = xe(b)), s.value) {
|
|
5250
5250
|
case "single":
|
|
5251
|
-
|
|
5251
|
+
Zn();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
case "multiple":
|
|
5255
5255
|
we(Array.isArray(b) ? z.value.filter((H) => b.map((oe) => oe[L.value]).indexOf(H[L.value]) === -1) : z.value.filter((H) => H[L.value] != b[L.value]));
|
|
5256
5256
|
break;
|
|
5257
5257
|
}
|
|
5258
|
-
e.emit("deselect",
|
|
5259
|
-
},
|
|
5258
|
+
e.emit("deselect", jn(b), b, re);
|
|
5259
|
+
}, jn = (b) => $.value ? b : b[L.value], Un = (b) => {
|
|
5260
5260
|
Ot(b);
|
|
5261
5261
|
}, ss = (b, H) => {
|
|
5262
5262
|
if (H.button !== 0) {
|
|
5263
5263
|
H.preventDefault();
|
|
5264
5264
|
return;
|
|
5265
5265
|
}
|
|
5266
|
-
|
|
5267
|
-
},
|
|
5266
|
+
Un(b);
|
|
5267
|
+
}, Zn = () => {
|
|
5268
5268
|
we(as.value), e.emit("clear", re);
|
|
5269
5269
|
}, ze = (b) => {
|
|
5270
5270
|
if (b.group !== void 0)
|
|
@@ -5280,13 +5280,13 @@ function x5(a, e, t) {
|
|
|
5280
5280
|
if (!tn(b)) {
|
|
5281
5281
|
if (ee && ee.value && !ze(b) && b.__CREATE__ && (b = { ...b }, delete b.__CREATE__, b = ee.value(b, re), b instanceof Promise)) {
|
|
5282
5282
|
Te.value = !0, b.then((H) => {
|
|
5283
|
-
Te.value = !1,
|
|
5283
|
+
Te.value = !1, Fn(H);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
5287
|
-
|
|
5287
|
+
Fn(b);
|
|
5288
5288
|
}
|
|
5289
|
-
},
|
|
5289
|
+
}, Fn = (b) => {
|
|
5290
5290
|
switch (b.__CREATE__ && (b = { ...b }, delete b.__CREATE__), s.value) {
|
|
5291
5291
|
case "single":
|
|
5292
5292
|
if (b && ze(b)) {
|
|
@@ -5343,9 +5343,9 @@ function x5(a, e, t) {
|
|
|
5343
5343
|
let oe = b;
|
|
5344
5344
|
if (G.value && y.value) {
|
|
5345
5345
|
let pe = se.value;
|
|
5346
|
-
pe || (pe = (_t,
|
|
5347
|
-
let
|
|
5348
|
-
return le.value ?
|
|
5346
|
+
pe || (pe = (_t, qn, bv) => gt.value.some((ms) => {
|
|
5347
|
+
let zn = dn(Ca(_t[ms]), Y.value);
|
|
5348
|
+
return le.value ? zn.startsWith(dn(qn, Y.value)) : zn.indexOf(dn(qn, Y.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((_t) => pe(_t, G.value, re));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && H && (oe = oe.filter((pe) => !cs(pe))), oe;
|
|
@@ -5391,7 +5391,7 @@ function x5(a, e, t) {
|
|
|
5391
5391
|
[l.value]: H,
|
|
5392
5392
|
[L.value]: H,
|
|
5393
5393
|
[gt.value[0]]: H
|
|
5394
|
-
}),
|
|
5394
|
+
}), Wn = () => {
|
|
5395
5395
|
Be.value = ce(G, (b) => {
|
|
5396
5396
|
b.length < A.value || !b && A.value !== 0 || (Te.value = !0, S.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
b == G.value && n.value(G.value, re).then((H) => {
|
|
@@ -5407,8 +5407,8 @@ function x5(a, e, t) {
|
|
|
5407
5407
|
};
|
|
5408
5408
|
if (s.value !== "single" && !je(P.value) && !Array.isArray(P.value))
|
|
5409
5409
|
throw new Error(`v-model must be an array when using "${s.value}" mode`);
|
|
5410
|
-
return n && typeof n.value == "function" ? m.value ? ba(ya) : $.value == !0 && ya() : (Ne.value = n.value, ya()), _.value > -1 &&
|
|
5411
|
-
Be.value && Be.value(), b >= 0 &&
|
|
5410
|
+
return n && typeof n.value == "function" ? m.value ? ba(ya) : $.value == !0 && ya() : (Ne.value = n.value, ya()), _.value > -1 && Wn(), ce(_, (b, H) => {
|
|
5411
|
+
Be.value && Be.value(), b >= 0 && Wn();
|
|
5412
5412
|
}), ce(P, (b) => {
|
|
5413
5413
|
if (je(b)) {
|
|
5414
5414
|
we(wa(b), !1);
|
|
@@ -5426,7 +5426,7 @@ function x5(a, e, t) {
|
|
|
5426
5426
|
}, { deep: !0 }), ce(n, (b, H) => {
|
|
5427
5427
|
typeof a.options == "function" ? m.value && (!H || b && b.toString() !== H.toString()) && ba() : (Ne.value = a.options, Object.keys(z.value).length || ya(), rn());
|
|
5428
5428
|
}), ce(l, rn), ce(i, (b, H) => {
|
|
5429
|
-
qe.value =
|
|
5429
|
+
qe.value = Q.value && b === -1 ? 10 : b;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Gt,
|
|
5432
5432
|
fo: st,
|
|
@@ -5446,9 +5446,9 @@ function x5(a, e, t) {
|
|
|
5446
5446
|
offset: qe,
|
|
5447
5447
|
select: St,
|
|
5448
5448
|
deselect: Ot,
|
|
5449
|
-
remove:
|
|
5449
|
+
remove: Un,
|
|
5450
5450
|
selectAll: rs,
|
|
5451
|
-
clear:
|
|
5451
|
+
clear: Zn,
|
|
5452
5452
|
isSelected: ze,
|
|
5453
5453
|
isDisabled: tn,
|
|
5454
5454
|
isMax: an,
|
|
@@ -5485,7 +5485,7 @@ function Y5(a, e, t) {
|
|
|
5485
5485
|
}), F = M(() => [...Z.value].slice(-1)[0]), E = M(() => m.value.__VISIBLE__.filter((P) => !P[l.value])[0]), N = M(() => {
|
|
5486
5486
|
const P = O.value.__VISIBLE__.filter((G) => !G[l.value]);
|
|
5487
5487
|
return P[P.map((G) => G[n.value]).indexOf(m.value[n.value]) - 1];
|
|
5488
|
-
}),
|
|
5488
|
+
}), Q = M(() => {
|
|
5489
5489
|
const P = re(m.value).__VISIBLE__.filter((G) => !G[l.value]);
|
|
5490
5490
|
return P[P.map((G) => G[n.value]).indexOf(m.value[n.value]) + 1];
|
|
5491
5491
|
}), k = M(() => [...Y.value.__VISIBLE__.filter((P) => !P[l.value])].slice(-1)[0]), h = M(() => [...F.value.__VISIBLE__.filter((P) => !P[l.value])].slice(-1)[0]), I = (P) => m.value && (!P.group && m.value[n.value] === P[n.value] || P.group !== void 0 && m.value[i.value] === P[i.value]) ? !0 : void 0, ee = () => {
|
|
@@ -5496,7 +5496,7 @@ function Y5(a, e, t) {
|
|
|
5496
5496
|
if (m.value === null)
|
|
5497
5497
|
A((r.value && U.value ? Z.value[0].__CREATE__ ? L.value[0] : Z.value[0] : L.value[0]) || null);
|
|
5498
5498
|
else if (r.value && U.value) {
|
|
5499
|
-
let P = q.value ? E.value :
|
|
5499
|
+
let P = q.value ? E.value : Q.value;
|
|
5500
5500
|
P === void 0 && (P = B.value, P.__CREATE__ && (P = P[c.value][0])), A(P || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
@@ -5567,7 +5567,7 @@ function Pe(a) {
|
|
|
5567
5567
|
var e = Me(a).HTMLElement;
|
|
5568
5568
|
return a instanceof e || a instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function In(a) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
5573
|
var e = Me(a).ShadowRoot;
|
|
@@ -5599,7 +5599,7 @@ function Ut(a, e, t) {
|
|
|
5599
5599
|
y: l
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function Ln(a) {
|
|
5603
5603
|
var e = Me(a), t = e.pageXOffset, n = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: t,
|
|
@@ -5613,7 +5613,7 @@ function G5(a) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function K5(a) {
|
|
5616
|
-
return a === Me(a) || !Pe(a) ?
|
|
5616
|
+
return a === Me(a) || !Pe(a) ? Ln(a) : G5(a);
|
|
5617
5617
|
}
|
|
5618
5618
|
function Fe(a) {
|
|
5619
5619
|
return a ? (a.nodeName || "").toLowerCase() : null;
|
|
@@ -5624,13 +5624,13 @@ function ht(a) {
|
|
|
5624
5624
|
a.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5628
|
-
return Ut(ht(a)).left +
|
|
5627
|
+
function Vn(a) {
|
|
5628
|
+
return Ut(ht(a)).left + Ln(a).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
5630
|
function Je(a) {
|
|
5631
5631
|
return Me(a).getComputedStyle(a);
|
|
5632
5632
|
}
|
|
5633
|
-
function
|
|
5633
|
+
function Dn(a) {
|
|
5634
5634
|
var e = Je(a), t = e.overflow, n = e.overflowX, s = e.overflowY;
|
|
5635
5635
|
return /auto|scroll|overlay|hidden/.test(t + s + n);
|
|
5636
5636
|
}
|
|
@@ -5648,7 +5648,7 @@ function Q5(a, e, t) {
|
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
5650
|
return (n || !n && !t) && ((Fe(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
|
-
|
|
5651
|
+
Dn(o)) && (r = K5(e)), Pe(e) ? (u = Ut(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : o && (u.x = Vn(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - u.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - u.y,
|
|
5654
5654
|
width: i.width,
|
|
@@ -5671,18 +5671,18 @@ function Ga(a) {
|
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
5672
5672
|
a.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
5673
5673
|
a.parentNode || // DOM Element detected
|
|
5674
|
-
(
|
|
5674
|
+
(In(a) ? a.host : null) || // ShadowRoot detected
|
|
5675
5675
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5676
5676
|
ht(a)
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function z1(a) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(Fe(a)) >= 0 ? a.ownerDocument.body : Pe(a) &&
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(Fe(a)) >= 0 ? a.ownerDocument.body : Pe(a) && Dn(a) ? a : z1(Ga(a));
|
|
5681
5681
|
}
|
|
5682
5682
|
function aa(a, e) {
|
|
5683
5683
|
var t;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var n = z1(a), s = n === ((t = a.ownerDocument) == null ? void 0 : t.body), o = Me(n), i = s ? [o].concat(o.visualViewport || [],
|
|
5685
|
+
var n = z1(a), s = n === ((t = a.ownerDocument) == null ? void 0 : t.body), o = Me(n), i = s ? [o].concat(o.visualViewport || [], Dn(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(aa(Ga(i)))
|
|
@@ -5691,7 +5691,7 @@ function aa(a, e) {
|
|
|
5691
5691
|
function J5(a) {
|
|
5692
5692
|
return ["table", "td", "th"].indexOf(Fe(a)) >= 0;
|
|
5693
5693
|
}
|
|
5694
|
-
function
|
|
5694
|
+
function s1(a) {
|
|
5695
5695
|
return !Pe(a) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
5696
|
Je(a).position === "fixed" ? null : a.offsetParent;
|
|
5697
5697
|
}
|
|
@@ -5703,7 +5703,7 @@ function e7(a) {
|
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var s = Ga(a);
|
|
5706
|
-
for (
|
|
5706
|
+
for (In(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Fe(s)) < 0; ) {
|
|
5707
5707
|
var o = Je(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;
|
|
@@ -5712,13 +5712,13 @@ function e7(a) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function Ka(a) {
|
|
5715
|
-
for (var e = Me(a), t =
|
|
5716
|
-
t =
|
|
5715
|
+
for (var e = Me(a), t = s1(a); t && J5(t) && Je(t).position === "static"; )
|
|
5716
|
+
t = s1(t);
|
|
5717
5717
|
return t && (Fe(t) === "html" || Fe(t) === "body" && Je(t).position === "static") ? e : t || e7(a) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top", We = "bottom", ft = "right", Ye = "left",
|
|
5719
|
+
var Re = "top", We = "bottom", ft = "right", Ye = "left", Pn = "auto", Xa = [Re, We, ft, Ye], Zt = "start", la = "end", t7 = "clippingParents", x1 = "viewport", ta = "popper", a7 = "reference", i1 = /* @__PURE__ */ Xa.reduce(function(a, e) {
|
|
5720
5720
|
return a.concat([e + "-" + Zt, e + "-" + la]);
|
|
5721
|
-
}, []), n7 = /* @__PURE__ */ [].concat(Xa, [
|
|
5721
|
+
}, []), n7 = /* @__PURE__ */ [].concat(Xa, [Pn]).reduce(function(a, e) {
|
|
5722
5722
|
return a.concat([e, e + "-" + Zt, e + "-" + la]);
|
|
5723
5723
|
}, []), s7 = "beforeRead", i7 = "read", o7 = "afterRead", r7 = "beforeMain", l7 = "main", u7 = "afterMain", d7 = "beforeWrite", c7 = "write", f7 = "afterWrite", v7 = [s7, i7, o7, r7, l7, u7, d7, c7, f7];
|
|
5724
5724
|
function p7(a) {
|
|
@@ -5780,12 +5780,12 @@ function g7(a, e) {
|
|
|
5780
5780
|
return {
|
|
5781
5781
|
width: o,
|
|
5782
5782
|
height: i,
|
|
5783
|
-
x: r +
|
|
5783
|
+
x: r + Vn(a),
|
|
5784
5784
|
y: u
|
|
5785
5785
|
};
|
|
5786
5786
|
}
|
|
5787
5787
|
function _7(a) {
|
|
5788
|
-
var e, t = ht(a), n =
|
|
5788
|
+
var e, t = ht(a), n = Ln(a), s = (e = a.ownerDocument) == null ? void 0 : e.body, o = wt(t.scrollWidth, t.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = wt(t.scrollHeight, t.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), r = -n.scrollLeft + Vn(a), u = -n.scrollTop;
|
|
5789
5789
|
return Je(s || t).direction === "rtl" && (r += wt(t.clientWidth, s ? s.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
@@ -5797,7 +5797,7 @@ function y7(a, e) {
|
|
|
5797
5797
|
var t = e.getRootNode && e.getRootNode();
|
|
5798
5798
|
if (a.contains(e))
|
|
5799
5799
|
return !0;
|
|
5800
|
-
if (t &&
|
|
5800
|
+
if (t && In(t)) {
|
|
5801
5801
|
var n = e;
|
|
5802
5802
|
do {
|
|
5803
5803
|
if (n && a.isSameNode(n))
|
|
@@ -5819,7 +5819,7 @@ function b7(a, e) {
|
|
|
5819
5819
|
var t = Ut(a, !1, e === "fixed");
|
|
5820
5820
|
return t.top = t.top + a.clientTop, t.left = t.left + a.clientLeft, t.bottom = t.top + a.clientHeight, t.right = t.left + a.clientWidth, t.width = a.clientWidth, t.height = a.clientHeight, t.x = t.left, t.y = t.top, t;
|
|
5821
5821
|
}
|
|
5822
|
-
function
|
|
5822
|
+
function o1(a, e, t) {
|
|
5823
5823
|
return e === x1 ? hn(g7(a, t)) : kt(e) ? b7(e, t) : hn(_7(ht(a)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function w7(a) {
|
|
@@ -5830,9 +5830,9 @@ function w7(a) {
|
|
|
5830
5830
|
}
|
|
5831
5831
|
function $7(a, e, t, n) {
|
|
5832
5832
|
var s = e === "clippingParents" ? w7(a) : [].concat(e), o = [].concat(s, [t]), i = o[0], r = o.reduce(function(u, d) {
|
|
5833
|
-
var l =
|
|
5833
|
+
var l = o1(a, d, n);
|
|
5834
5834
|
return u.top = wt(l.top, u.top), u.right = Ha(l.right, u.right), u.bottom = Ha(l.bottom, u.bottom), u.left = wt(l.left, u.left), u;
|
|
5835
|
-
},
|
|
5835
|
+
}, o1(a, i, n));
|
|
5836
5836
|
return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
5837
5837
|
}
|
|
5838
5838
|
function lt(a) {
|
|
@@ -5907,7 +5907,7 @@ function M7(a, e) {
|
|
|
5907
5907
|
return t[n] = a, t;
|
|
5908
5908
|
}, {});
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
5910
|
+
function Hn(a, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
5912
|
var t = e, n = t.placement, s = n === void 0 ? a.placement : n, o = t.strategy, i = o === void 0 ? a.strategy : o, r = t.boundary, u = r === void 0 ? t7 : r, d = t.rootBoundary, l = d === void 0 ? x1 : d, c = t.elementContext, f = c === void 0 ? ta : c, C = t.altBoundary, $ = C === void 0 ? !1 : C, w = t.padding, _ = w === void 0 ? 0 : w, m = k7(typeof _ != "number" ? _ : M7(_, Xa)), A = f === ta ? a7 : ta, y = a.rects.popper, S = a.elements[$ ? A : f], D = $7(kt(S) ? S : S.contextElement || ht(a.elements.popper), u, l, i), L = Ut(a.elements.reference), Z = G1({
|
|
5913
5913
|
reference: L,
|
|
@@ -5929,12 +5929,12 @@ function Pn(a, e) {
|
|
|
5929
5929
|
}
|
|
5930
5930
|
return O;
|
|
5931
5931
|
}
|
|
5932
|
-
var
|
|
5932
|
+
var r1 = {
|
|
5933
5933
|
placement: "bottom",
|
|
5934
5934
|
modifiers: [],
|
|
5935
5935
|
strategy: "absolute"
|
|
5936
5936
|
};
|
|
5937
|
-
function
|
|
5937
|
+
function l1() {
|
|
5938
5938
|
for (var a = arguments.length, e = new Array(a), t = 0; t < a; t++)
|
|
5939
5939
|
e[t] = arguments[t];
|
|
5940
5940
|
return !e.some(function(n) {
|
|
@@ -5943,13 +5943,13 @@ function r1() {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
function A7(a) {
|
|
5945
5945
|
a === void 0 && (a = {});
|
|
5946
|
-
var e = a, t = e.defaultModifiers, n = t === void 0 ? [] : t, s = e.defaultOptions, o = s === void 0 ?
|
|
5946
|
+
var e = a, t = e.defaultModifiers, n = t === void 0 ? [] : t, s = e.defaultOptions, o = s === void 0 ? r1 : s;
|
|
5947
5947
|
return function(r, u, d) {
|
|
5948
5948
|
d === void 0 && (d = o);
|
|
5949
5949
|
var l = {
|
|
5950
5950
|
placement: "bottom",
|
|
5951
5951
|
orderedModifiers: [],
|
|
5952
|
-
options: Object.assign({},
|
|
5952
|
+
options: Object.assign({}, r1, o),
|
|
5953
5953
|
modifiersData: {},
|
|
5954
5954
|
elements: {
|
|
5955
5955
|
reference: r,
|
|
@@ -5978,7 +5978,7 @@ function A7(a) {
|
|
|
5978
5978
|
forceUpdate: function() {
|
|
5979
5979
|
if (!f) {
|
|
5980
5980
|
var m = l.elements, A = m.reference, y = m.popper;
|
|
5981
|
-
if (
|
|
5981
|
+
if (l1(A, y)) {
|
|
5982
5982
|
l.rects = {
|
|
5983
5983
|
reference: Q5(A, Ka(y), l.options.strategy === "fixed"),
|
|
5984
5984
|
popper: q1(y)
|
|
@@ -6012,7 +6012,7 @@ function A7(a) {
|
|
|
6012
6012
|
w(), f = !0;
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
|
-
if (!
|
|
6015
|
+
if (!l1(r, u))
|
|
6016
6016
|
return C;
|
|
6017
6017
|
C.setOptions(d).then(function(_) {
|
|
6018
6018
|
!f && d.onFirstUpdate && d.onFirstUpdate(_);
|
|
@@ -6090,7 +6090,7 @@ function L7(a, e) {
|
|
|
6090
6090
|
y: jt(n * s) / s || 0
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function u1(a) {
|
|
6094
6094
|
var e, t = a.popper, n = a.popperRect, s = a.placement, o = a.variation, i = a.offsets, r = a.position, u = a.gpuAcceleration, d = a.adaptive, l = a.roundOffsets, c = a.isFixed, f = i.x, C = f === void 0 ? 0 : f, $ = i.y, w = $ === void 0 ? 0 : $, _ = typeof l == "function" ? l({
|
|
6095
6095
|
x: C,
|
|
6096
6096
|
y: w
|
|
@@ -6143,12 +6143,12 @@ function V7(a) {
|
|
|
6143
6143
|
gpuAcceleration: s,
|
|
6144
6144
|
isFixed: e.options.strategy === "fixed"
|
|
6145
6145
|
};
|
|
6146
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
6146
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, u1(Object.assign({}, d, {
|
|
6147
6147
|
offsets: e.modifiersData.popperOffsets,
|
|
6148
6148
|
position: e.options.strategy,
|
|
6149
6149
|
adaptive: i,
|
|
6150
6150
|
roundOffsets: u
|
|
6151
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
6151
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, u1(Object.assign({}, d, {
|
|
6152
6152
|
offsets: e.modifiersData.arrow,
|
|
6153
6153
|
position: "absolute",
|
|
6154
6154
|
adaptive: !1,
|
|
@@ -6219,7 +6219,7 @@ function U7(a, e, t) {
|
|
|
6219
6219
|
return n > t ? t : n;
|
|
6220
6220
|
}
|
|
6221
6221
|
function Z7(a) {
|
|
6222
|
-
var e = a.state, t = a.options, n = a.name, s = t.mainAxis, o = s === void 0 ? !0 : s, i = t.altAxis, r = i === void 0 ? !1 : i, u = t.boundary, d = t.rootBoundary, l = t.altBoundary, c = t.padding, f = t.tether, C = f === void 0 ? !0 : f, $ = t.tetherOffset, w = $ === void 0 ? 0 : $, _ =
|
|
6222
|
+
var e = a.state, t = a.options, n = a.name, s = t.mainAxis, o = s === void 0 ? !0 : s, i = t.altAxis, r = i === void 0 ? !1 : i, u = t.boundary, d = t.rootBoundary, l = t.altBoundary, c = t.padding, f = t.tether, C = f === void 0 ? !0 : f, $ = t.tetherOffset, w = $ === void 0 ? 0 : $, _ = Hn(e, {
|
|
6223
6223
|
boundary: u,
|
|
6224
6224
|
rootBoundary: d,
|
|
6225
6225
|
padding: c,
|
|
@@ -6238,10 +6238,10 @@ function Z7(a) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (L) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var F, E = S === "y" ? Re : Ye, N = S === "y" ? We : ft,
|
|
6241
|
+
var F, E = S === "y" ? Re : Ye, N = S === "y" ? We : ft, Q = S === "y" ? "height" : "width", k = L[S], h = k + _[E], I = k - _[N], ee = C ? -U[Q] / 2 : 0, ne = A === Zt ? Z[Q] : U[Q], le = A === Zt ? -U[Q] : -Z[Q], se = e.elements.arrow, re = C && se ? q1(se) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : K1(), P = z[E], G = z[N], ve = Sa(0, Z[
|
|
6244
|
+
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : K1(), P = z[E], G = z[N], ve = Sa(0, Z[Q], re[Q]), we = y ? Z[Q] / 2 - ee - ve - P - O.mainAxis : ne - ve - P - O.mainAxis, zt = y ? -Z[Q] / 2 + ee + ve + G + O.mainAxis : le + ve + G + O.mainAxis, xt = e.elements.arrow && Ka(e.elements.arrow), tt = xt ? S === "y" ? xt.clientTop || 0 : xt.clientLeft || 0 : 0, ha = (F = Y == null ? void 0 : Y[S]) != null ? F : 0, Qa = k + we - ha - tt, at = k + zt - ha, Ca = Sa(C ? Ha(h, Qa) : h, k, C ? wt(I, at) : I);
|
|
6245
6245
|
L[S] = Ca, B[S] = Ca - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
@@ -6272,21 +6272,21 @@ var q7 = {
|
|
|
6272
6272
|
start: "end",
|
|
6273
6273
|
end: "start"
|
|
6274
6274
|
};
|
|
6275
|
-
function
|
|
6275
|
+
function d1(a) {
|
|
6276
6276
|
return a.replace(/start|end/g, function(e) {
|
|
6277
6277
|
return q7[e];
|
|
6278
6278
|
});
|
|
6279
6279
|
}
|
|
6280
6280
|
function z7(a, e) {
|
|
6281
6281
|
e === void 0 && (e = {});
|
|
6282
|
-
var t = e, n = t.placement, s = t.boundary, o = t.rootBoundary, i = t.padding, r = t.flipVariations, u = t.allowedAutoPlacements, d = u === void 0 ? n7 : u, l = Ft(n), c = l ? r ?
|
|
6282
|
+
var t = e, n = t.placement, s = t.boundary, o = t.rootBoundary, i = t.padding, r = t.flipVariations, u = t.allowedAutoPlacements, d = u === void 0 ? n7 : u, l = Ft(n), c = l ? r ? i1 : i1.filter(function($) {
|
|
6283
6283
|
return Ft($) === l;
|
|
6284
6284
|
}) : Xa, f = c.filter(function($) {
|
|
6285
6285
|
return d.indexOf($) >= 0;
|
|
6286
6286
|
});
|
|
6287
6287
|
f.length === 0 && (f = c);
|
|
6288
6288
|
var C = f.reduce(function($, w) {
|
|
6289
|
-
return $[w] =
|
|
6289
|
+
return $[w] = Hn(a, {
|
|
6290
6290
|
placement: w,
|
|
6291
6291
|
boundary: s,
|
|
6292
6292
|
rootBoundary: o,
|
|
@@ -6298,16 +6298,16 @@ function z7(a, e) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
function x7(a) {
|
|
6301
|
-
if (lt(a) ===
|
|
6301
|
+
if (lt(a) === Pn)
|
|
6302
6302
|
return [];
|
|
6303
6303
|
var e = Oa(a);
|
|
6304
|
-
return [
|
|
6304
|
+
return [d1(a), e, d1(e)];
|
|
6305
6305
|
}
|
|
6306
6306
|
function Y7(a) {
|
|
6307
6307
|
var e = a.state, t = a.options, n = a.name;
|
|
6308
6308
|
if (!e.modifiersData[n]._skip) {
|
|
6309
6309
|
for (var s = t.mainAxis, o = s === void 0 ? !0 : s, i = t.altAxis, r = i === void 0 ? !0 : i, u = t.fallbackPlacements, d = t.padding, l = t.boundary, c = t.rootBoundary, f = t.altBoundary, C = t.flipVariations, $ = C === void 0 ? !0 : C, w = t.allowedAutoPlacements, _ = e.options.placement, m = lt(_), A = m === _, y = u || (A || !$ ? [Oa(_)] : x7(_)), S = [_].concat(y).reduce(function(re, z) {
|
|
6310
|
-
return re.concat(lt(z) ===
|
|
6310
|
+
return re.concat(lt(z) === Pn ? z7(e, {
|
|
6311
6311
|
placement: z,
|
|
6312
6312
|
boundary: l,
|
|
6313
6313
|
rootBoundary: c,
|
|
@@ -6316,7 +6316,7 @@ function Y7(a) {
|
|
|
6316
6316
|
allowedAutoPlacements: w
|
|
6317
6317
|
}) : z);
|
|
6318
6318
|
}, []), D = e.rects.reference, L = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0, q = S[0], O = 0; O < S.length; O++) {
|
|
6319
|
-
var Y = S[O], B = lt(Y), F = Ft(Y) === Zt, E = [Re, We].indexOf(B) >= 0, N = E ? "width" : "height",
|
|
6319
|
+
var Y = S[O], B = lt(Y), F = Ft(Y) === Zt, E = [Re, We].indexOf(B) >= 0, N = E ? "width" : "height", Q = Hn(e, {
|
|
6320
6320
|
placement: Y,
|
|
6321
6321
|
boundary: l,
|
|
6322
6322
|
rootBoundary: c,
|
|
@@ -6325,7 +6325,7 @@ function Y7(a) {
|
|
|
6325
6325
|
}), k = E ? F ? ft : Ye : F ? We : Re;
|
|
6326
6326
|
D[N] > L[N] && (k = Oa(k));
|
|
6327
6327
|
var h = Oa(k), I = [];
|
|
6328
|
-
if (o && I.push(
|
|
6328
|
+
if (o && I.push(Q[B] <= 0), r && I.push(Q[k] <= 0, Q[h] <= 0), I.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
q = Y, U = !1;
|
|
@@ -6425,7 +6425,7 @@ function K7(a, e, t) {
|
|
|
6425
6425
|
}
|
|
6426
6426
|
]
|
|
6427
6427
|
}));
|
|
6428
|
-
}),
|
|
6428
|
+
}), p1(() => {
|
|
6429
6429
|
!C.value || !c.value || (c.value.destroy(), c.value = null);
|
|
6430
6430
|
}), {
|
|
6431
6431
|
popper: c,
|
|
@@ -6487,7 +6487,7 @@ function Q7(a, e, t) {
|
|
|
6487
6487
|
createTag: c,
|
|
6488
6488
|
createOption: f,
|
|
6489
6489
|
reverse: C
|
|
6490
|
-
} = Ae(a), $ = Mt().proxy, w = t.iv, _ = t.update, m = t.deselect, A = t.search, y = t.setPointer, S = t.selectPointer, D = t.backwardPointer, L = t.forwardPointer, Z = t.multiselect, U = t.wrapper, q = t.tags, O = t.isOpen, Y = t.open, B = t.blur, F = t.fo, E = M(() => c.value || f.value || !1), N = M(() => s.value !== void 0 ? s.value : l.value !== void 0 ? l.value : ["enter"]),
|
|
6490
|
+
} = Ae(a), $ = Mt().proxy, w = t.iv, _ = t.update, m = t.deselect, A = t.search, y = t.setPointer, S = t.selectPointer, D = t.backwardPointer, L = t.forwardPointer, Z = t.multiselect, U = t.wrapper, q = t.tags, O = t.isOpen, Y = t.open, B = t.blur, F = t.fo, E = M(() => c.value || f.value || !1), N = M(() => s.value !== void 0 ? s.value : l.value !== void 0 ? l.value : ["enter"]), Q = () => {
|
|
6491
6491
|
n.value === "tags" && !r.value && E.value && i.value && !d.value && y(F.value[F.value.map((I) => I[u.value]).indexOf(A.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
@@ -6510,25 +6510,25 @@ function Q7(a, e, t) {
|
|
|
6510
6510
|
}
|
|
6511
6511
|
if (N.value.indexOf("enter") === -1 && E.value)
|
|
6512
6512
|
return;
|
|
6513
|
-
|
|
6513
|
+
Q(), S();
|
|
6514
6514
|
break;
|
|
6515
6515
|
case " ":
|
|
6516
6516
|
if (!E.value && !i.value) {
|
|
6517
|
-
I.preventDefault(),
|
|
6517
|
+
I.preventDefault(), Q(), S();
|
|
6518
6518
|
return;
|
|
6519
6519
|
}
|
|
6520
6520
|
if (!E.value)
|
|
6521
6521
|
return !1;
|
|
6522
6522
|
if (N.value.indexOf("space") === -1 && E.value)
|
|
6523
6523
|
return;
|
|
6524
|
-
I.preventDefault(),
|
|
6524
|
+
I.preventDefault(), Q(), S();
|
|
6525
6525
|
break;
|
|
6526
6526
|
case "Tab":
|
|
6527
6527
|
case ";":
|
|
6528
6528
|
case ",":
|
|
6529
6529
|
if (N.value.indexOf(I.key.toLowerCase()) === -1 || !E.value)
|
|
6530
6530
|
return;
|
|
6531
|
-
|
|
6531
|
+
Q(), S(), I.preventDefault();
|
|
6532
6532
|
break;
|
|
6533
6533
|
case "Escape":
|
|
6534
6534
|
B();
|
|
@@ -6558,7 +6558,7 @@ function Q7(a, e, t) {
|
|
|
6558
6558
|
handleKeyup: (I) => {
|
|
6559
6559
|
e.emit("keyup", I, $);
|
|
6560
6560
|
},
|
|
6561
|
-
preparePointer:
|
|
6561
|
+
preparePointer: Q
|
|
6562
6562
|
};
|
|
6563
6563
|
}
|
|
6564
6564
|
function J7(a, e, t) {
|
|
@@ -7654,7 +7654,7 @@ const $e = /* @__PURE__ */ J({
|
|
|
7654
7654
|
return e.detached && j5({
|
|
7655
7655
|
multiselect: n,
|
|
7656
7656
|
appendTo: t.value
|
|
7657
|
-
}), (s, o) => (v(), R(
|
|
7657
|
+
}), (s, o) => (v(), R(X(ot), {
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: n,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
@@ -7668,7 +7668,7 @@ const $e = /* @__PURE__ */ J({
|
|
|
7668
7668
|
]), 1536));
|
|
7669
7669
|
}
|
|
7670
7670
|
});
|
|
7671
|
-
var
|
|
7671
|
+
var c1;
|
|
7672
7672
|
function At() {
|
|
7673
7673
|
const a = T9(), e = a.appContext.config.globalProperties;
|
|
7674
7674
|
return {
|
|
@@ -7693,10 +7693,10 @@ J({
|
|
|
7693
7693
|
return () => {
|
|
7694
7694
|
const t = a.translation, n = [];
|
|
7695
7695
|
let s, o = 0;
|
|
7696
|
-
for (; (s =
|
|
7696
|
+
for (; (s = c1.exec(t)) !== null; ) {
|
|
7697
7697
|
n.push(t.substring(o, s.index));
|
|
7698
7698
|
const i = e[s[1]];
|
|
7699
|
-
i ? n.push(...i()) : n.push(s[0]), o =
|
|
7699
|
+
i ? n.push(...i()) : n.push(s[0]), o = c1.lastIndex;
|
|
7700
7700
|
}
|
|
7701
7701
|
return n.push(t.substring(o)), n;
|
|
7702
7702
|
};
|
|
@@ -7869,7 +7869,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
|
|
|
7869
7869
|
o.forEach((l) => {
|
|
7870
7870
|
document.body.addEventListener(l, (c) => c.preventDefault());
|
|
7871
7871
|
});
|
|
7872
|
-
}),
|
|
7872
|
+
}), m1(() => {
|
|
7873
7873
|
o.forEach((l) => {
|
|
7874
7874
|
document.body.removeEventListener(
|
|
7875
7875
|
l,
|
|
@@ -7982,7 +7982,7 @@ const q9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
7982
7982
|
const t = a, n = M(() => {
|
|
7983
7983
|
const w = t.user;
|
|
7984
7984
|
return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
|
|
7985
|
-
}), s = ae(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: u } =
|
|
7985
|
+
}), s = ae(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: u } = C1(s), d = M(() => {
|
|
7986
7986
|
const w = t.editedAt && ia(t.editedAt), _ = ia(t.createdAt), m = /* @__PURE__ */ new Date(), A = w ?? _;
|
|
7987
7987
|
return A && W0(A, m);
|
|
7988
7988
|
}), l = M(() => o.value ? "textarea" : "p"), c = u(), f = r((w) => {
|
|
@@ -8014,11 +8014,11 @@ const q9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: s,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
8017
|
-
value:
|
|
8018
|
-
rows:
|
|
8017
|
+
value: X(o) ? w.content : null,
|
|
8018
|
+
rows: X(o) ? $.value : null,
|
|
8019
8019
|
onKeyup: [
|
|
8020
|
-
ut(
|
|
8021
|
-
ut(he(
|
|
8020
|
+
ut(X(c), ["esc"]),
|
|
8021
|
+
ut(he(X(f), ["ctrl"]), ["enter"])
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
8024
|
default: W(() => [
|
|
@@ -8029,13 +8029,13 @@ const q9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
8029
8029
|
])
|
|
8030
8030
|
]),
|
|
8031
8031
|
w.isEditable ? (v(), g("div", G9, [
|
|
8032
|
-
|
|
8032
|
+
X(o) ? (v(), g(Ce, { key: 0 }, [
|
|
8033
8033
|
V(de, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
8035
8035
|
size: "sm",
|
|
8036
8036
|
variant: "ghost",
|
|
8037
8037
|
color: "neutral",
|
|
8038
|
-
onClick:
|
|
8038
|
+
onClick: X(c)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
8040
|
V(de, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
@@ -8043,7 +8043,7 @@ const q9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
8043
8043
|
variant: "solid",
|
|
8044
8044
|
corners: "round",
|
|
8045
8045
|
color: "black",
|
|
8046
|
-
onClick:
|
|
8046
|
+
onClick: X(f)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (v(), g(Ce, { key: 1 }, [
|
|
8049
8049
|
V(de, {
|
|
@@ -8058,7 +8058,7 @@ const q9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
|
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
8060
8060
|
color: "neutral",
|
|
8061
|
-
onClick:
|
|
8061
|
+
onClick: X(i)
|
|
8062
8062
|
}, null, 8, ["label", "onClick"])
|
|
8063
8063
|
], 64))
|
|
8064
8064
|
])) : T("", !0)
|
|
@@ -8169,7 +8169,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8169
8169
|
e("update:modelValue", !t.modelValue);
|
|
8170
8170
|
};
|
|
8171
8171
|
return (s, o) => (v(), R(de, {
|
|
8172
|
-
color: s.modelValue ? s.color :
|
|
8172
|
+
color: s.modelValue ? s.color : X(_n).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => n())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8201,7 +8201,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8201
8201
|
}, q4 = { class: "ao-fieldset ao-activity-details__aside-section" }, z4 = { class: "ao-fieldset__title" }, x4 = { class: "ao-fieldset__body" }, Y4 = { class: "ao-field__row" }, G4 = { class: "ao-field ao-field--multiselect" }, K4 = { class: "ao-field__label" }, X4 = { class: "ao-field__row" }, Q4 = { class: "ao-field ao-field--multiselect" }, J4 = { class: "ao-field__label" }, ef = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
}, tf = { class: "ao-activity__created-by" },
|
|
8204
|
+
}, tf = { class: "ao-activity__created-by" }, Bn = /* @__PURE__ */ J({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8393,13 +8393,13 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8393
8393
|
});
|
|
8394
8394
|
}, N = (h) => {
|
|
8395
8395
|
e("updateComment", h);
|
|
8396
|
-
},
|
|
8396
|
+
}, Q = (h) => {
|
|
8397
8397
|
e("removeComment", h);
|
|
8398
8398
|
}, k = M(() => {
|
|
8399
8399
|
var h, I;
|
|
8400
8400
|
return ((h = t.activity.createdBy) == null ? void 0 : h.firstName) && ((I = t.activity.createdBy) == null ? void 0 : I.lastName) && `${t.activity.createdBy.firstName} ${t.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
8402
|
-
return (h, I) => (v(), R(
|
|
8402
|
+
return (h, I) => (v(), R(Mn, {
|
|
8403
8403
|
onClose: I[10] || (I[10] = (ee) => h.$emit("close"))
|
|
8404
8404
|
}, {
|
|
8405
8405
|
default: W(() => {
|
|
@@ -8534,7 +8534,7 @@ const Cn = /* @__PURE__ */ J({
|
|
|
8534
8534
|
"user-id": h.userId,
|
|
8535
8535
|
onCreateComment: E,
|
|
8536
8536
|
onUpdateComment: N,
|
|
8537
|
-
onRemoveComment:
|
|
8537
|
+
onRemoveComment: Q
|
|
8538
8538
|
}, null, 8, ["comments", "users", "user-id"])
|
|
8539
8539
|
])) : T("", !0)
|
|
8540
8540
|
])
|
|
@@ -8795,22 +8795,22 @@ const af = /* @__PURE__ */ J({
|
|
|
8795
8795
|
}), _ = M(() => Object.values(S2));
|
|
8796
8796
|
return (m, A) => (v(), R(vt(m.tagName), { class: "ao-rule-line" }, {
|
|
8797
8797
|
default: W(() => [
|
|
8798
|
-
V(
|
|
8798
|
+
V(X(ot), {
|
|
8799
8799
|
modelValue: s.value,
|
|
8800
8800
|
"onUpdate:modelValue": A[0] || (A[0] = (y) => s.value = y),
|
|
8801
8801
|
options: o.value
|
|
8802
8802
|
}, null, 8, ["modelValue", "options"]),
|
|
8803
|
-
V(
|
|
8803
|
+
V(X(ot), {
|
|
8804
8804
|
modelValue: i.value,
|
|
8805
8805
|
"onUpdate:modelValue": A[1] || (A[1] = (y) => i.value = y),
|
|
8806
8806
|
options: r.value
|
|
8807
8807
|
}, null, 8, ["modelValue", "options"]),
|
|
8808
|
-
V(
|
|
8808
|
+
V(X(ot), {
|
|
8809
8809
|
modelValue: f.value,
|
|
8810
8810
|
"onUpdate:modelValue": A[2] || (A[2] = (y) => f.value = y),
|
|
8811
8811
|
options: C.value
|
|
8812
8812
|
}, null, 8, ["modelValue", "options"]),
|
|
8813
|
-
V(
|
|
8813
|
+
V(X(ot), {
|
|
8814
8814
|
modelValue: d.value,
|
|
8815
8815
|
"onUpdate:modelValue": A[3] || (A[3] = (y) => d.value = y),
|
|
8816
8816
|
options: l.value
|
|
@@ -8827,7 +8827,7 @@ const af = /* @__PURE__ */ J({
|
|
|
8827
8827
|
{ number: !0 }
|
|
8828
8828
|
]
|
|
8829
8829
|
]),
|
|
8830
|
-
V(
|
|
8830
|
+
V(X(ot), {
|
|
8831
8831
|
modelValue: w.value,
|
|
8832
8832
|
"onUpdate:modelValue": A[5] || (A[5] = (y) => w.value = y),
|
|
8833
8833
|
options: _.value
|
|
@@ -8859,7 +8859,7 @@ const nf = { class: "ao-template-rules__body" }, sf = { class: "ao-template-rule
|
|
|
8859
8859
|
}, n = (s) => {
|
|
8860
8860
|
e("removeRule", s);
|
|
8861
8861
|
};
|
|
8862
|
-
return (s, o) => (v(), R(
|
|
8862
|
+
return (s, o) => (v(), R(Mn, null, {
|
|
8863
8863
|
header: W(() => [
|
|
8864
8864
|
V(_e, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
@@ -9137,7 +9137,7 @@ const rf = {
|
|
|
9137
9137
|
});
|
|
9138
9138
|
}, N = (k) => {
|
|
9139
9139
|
e("addFiles", k);
|
|
9140
|
-
},
|
|
9140
|
+
}, Q = (k) => {
|
|
9141
9141
|
e("removeFile", k);
|
|
9142
9142
|
};
|
|
9143
9143
|
return (k, h) => {
|
|
@@ -9145,7 +9145,7 @@ const rf = {
|
|
|
9145
9145
|
return s.value ? (v(), g("div", rf, [
|
|
9146
9146
|
V(qa, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
|
-
onGoBack: h[1] || (h[1] = (z) => k.$router.push({ name:
|
|
9148
|
+
onGoBack: h[1] || (h[1] = (z) => k.$router.push({ name: X(Lt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
9150
9150
|
primary: W(() => [
|
|
9151
9151
|
V(_e, {
|
|
@@ -9162,7 +9162,7 @@ const rf = {
|
|
|
9162
9162
|
p("div", lf, [
|
|
9163
9163
|
p("ol", uf, [
|
|
9164
9164
|
p("li", df, [
|
|
9165
|
-
V(
|
|
9165
|
+
V(X(pt), {
|
|
9166
9166
|
"model-value": s.value.phases,
|
|
9167
9167
|
class: "ao-templates__list",
|
|
9168
9168
|
"item-key": "id",
|
|
@@ -9234,7 +9234,7 @@ const rf = {
|
|
|
9234
9234
|
])
|
|
9235
9235
|
]),
|
|
9236
9236
|
(v(), R(Ht, { to: "body" }, [
|
|
9237
|
-
l.value ? (v(), R(
|
|
9237
|
+
l.value ? (v(), R(Bn, {
|
|
9238
9238
|
key: 0,
|
|
9239
9239
|
activity: l.value,
|
|
9240
9240
|
"activity-types": k.activityTypes,
|
|
@@ -9254,7 +9254,7 @@ const rf = {
|
|
|
9254
9254
|
onUpdateSubtask: F,
|
|
9255
9255
|
onDeleteSubtask: E,
|
|
9256
9256
|
onAddFiles: N,
|
|
9257
|
-
onRemoveFile:
|
|
9257
|
+
onRemoveFile: Q
|
|
9258
9258
|
}, {
|
|
9259
9259
|
default: W((z) => [
|
|
9260
9260
|
te(k.$slots, "activityDetailsBody", ua(da(z)))
|
|
@@ -9285,7 +9285,7 @@ const mf = {
|
|
|
9285
9285
|
}, hf = { class: "ao-card__body" }, Cf = {
|
|
9286
9286
|
key: 1,
|
|
9287
9287
|
class: "ao-card__footer"
|
|
9288
|
-
},
|
|
9288
|
+
}, Rn = /* @__PURE__ */ J({
|
|
9289
9289
|
__name: "AoCard",
|
|
9290
9290
|
props: {
|
|
9291
9291
|
isClickable: { type: Boolean },
|
|
@@ -9317,7 +9317,7 @@ const mf = {
|
|
|
9317
9317
|
}, 8, ["class"]));
|
|
9318
9318
|
}
|
|
9319
9319
|
});
|
|
9320
|
-
const
|
|
9320
|
+
const Nn = /* @__PURE__ */ J({
|
|
9321
9321
|
__name: "AoProgress",
|
|
9322
9322
|
props: {
|
|
9323
9323
|
percentages: {},
|
|
@@ -9332,7 +9332,7 @@ const Rn = /* @__PURE__ */ J({
|
|
|
9332
9332
|
(v(!0), g(Ce, null, ye(t.value, (o) => (v(), g("div", {
|
|
9333
9333
|
key: o,
|
|
9334
9334
|
class: x(["ao-progress__progress"]),
|
|
9335
|
-
style:
|
|
9335
|
+
style: v1({ width: `${o * 100}%` })
|
|
9336
9336
|
}, null, 4))), 128))
|
|
9337
9337
|
], 2));
|
|
9338
9338
|
}
|
|
@@ -9377,7 +9377,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9377
9377
|
get: () => t.deadline ?? "",
|
|
9378
9378
|
set: (d) => e("update:deadline", d != null && d.length ? d : null)
|
|
9379
9379
|
});
|
|
9380
|
-
return (d, l) => (v(), R(
|
|
9380
|
+
return (d, l) => (v(), R(Rn, {
|
|
9381
9381
|
class: "ao-card-project-phase",
|
|
9382
9382
|
"is-clickable": d.isEditable
|
|
9383
9383
|
}, Na({
|
|
@@ -9401,7 +9401,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9401
9401
|
}),
|
|
9402
9402
|
p("span", wf, K(i.value) + " / " + K(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
|
-
V(
|
|
9404
|
+
V(Nn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
@@ -9425,7 +9425,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9425
9425
|
{ lazy: !0 }
|
|
9426
9426
|
]
|
|
9427
9427
|
]) : T("", !0),
|
|
9428
|
-
p("span", kf, K(
|
|
9428
|
+
p("span", kf, K(X(wn)(d.deadline)), 1)
|
|
9429
9429
|
], 2)
|
|
9430
9430
|
])
|
|
9431
9431
|
]),
|
|
@@ -9483,7 +9483,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9483
9483
|
setup(a, { emit: e }) {
|
|
9484
9484
|
const t = a, n = M(() => {
|
|
9485
9485
|
var d;
|
|
9486
|
-
const u =
|
|
9486
|
+
const u = (d = t.activities) == null ? void 0 : d.reduce((l, c) => l + (c.estimation || 0), 0);
|
|
9487
9487
|
return u ? `${t.name} (${u})` : t.name;
|
|
9488
9488
|
}), s = M(() => {
|
|
9489
9489
|
var u;
|
|
@@ -9491,12 +9491,12 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9491
9491
|
}), o = M(() => {
|
|
9492
9492
|
var u;
|
|
9493
9493
|
return (u = t.activities) == null ? void 0 : u.filter(
|
|
9494
|
-
(d) =>
|
|
9494
|
+
(d) => $n(d, t.closedStatus)
|
|
9495
9495
|
).length;
|
|
9496
9496
|
}), i = M(() => (o.value || 0) / (s.value || 1)), r = (u) => {
|
|
9497
9497
|
e("updateMilestone", { id: t.id, name: u });
|
|
9498
9498
|
};
|
|
9499
|
-
return (u, d) => (v(), R(
|
|
9499
|
+
return (u, d) => (v(), R(Rn, {
|
|
9500
9500
|
class: x([
|
|
9501
9501
|
"ao-card-project-milestone",
|
|
9502
9502
|
{ "ao-card-project-milestone--selected": u.isSelected }
|
|
@@ -9538,7 +9538,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9538
9538
|
}),
|
|
9539
9539
|
p("span", If, K(o.value) + " / " + K(s.value), 1)
|
|
9540
9540
|
]),
|
|
9541
|
-
V(
|
|
9541
|
+
V(Nn, {
|
|
9542
9542
|
percentages: i.value,
|
|
9543
9543
|
class: "ao-card-project-milestone__progress"
|
|
9544
9544
|
}, null, 8, ["percentages"])
|
|
@@ -9560,11 +9560,11 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9560
9560
|
size: "sm"
|
|
9561
9561
|
}, null, 8, ["class"])) : T("", !0),
|
|
9562
9562
|
u.deadline ? (v(), g("label", Df, [
|
|
9563
|
-
p("span", Pf, K(
|
|
9563
|
+
p("span", Pf, K(X(wn)(u.deadline)), 1)
|
|
9564
9564
|
])) : T("", !0),
|
|
9565
9565
|
u.assignee ? (v(), g("div", Hf, [
|
|
9566
9566
|
V(Xe, {
|
|
9567
|
-
"user-name":
|
|
9567
|
+
"user-name": X(V1)(u.assignee),
|
|
9568
9568
|
"avatar-url": u.assignee.avatarUrl,
|
|
9569
9569
|
color: u.isSelected ? "black" : "primary",
|
|
9570
9570
|
size: "sm"
|
|
@@ -9656,7 +9656,7 @@ const Rf = {
|
|
|
9656
9656
|
]),
|
|
9657
9657
|
p("div", jf, [
|
|
9658
9658
|
p("div", Uf, [
|
|
9659
|
-
V(
|
|
9659
|
+
V(X(pt), Ve({
|
|
9660
9660
|
class: "ao-project-phase__milestones-list",
|
|
9661
9661
|
list: i.value,
|
|
9662
9662
|
disabled: f.readonly || !f.isEditable,
|
|
@@ -9680,7 +9680,7 @@ const Rf = {
|
|
|
9680
9680
|
readonly: f.readonly,
|
|
9681
9681
|
class: x(["ao-project-phase__milestone"]),
|
|
9682
9682
|
onClick: (m) => !f.readonly && f.$router.push({
|
|
9683
|
-
name:
|
|
9683
|
+
name: X(Ue).milestone,
|
|
9684
9684
|
params: { phaseId: f.phase.id, milestoneId: w.id }
|
|
9685
9685
|
}),
|
|
9686
9686
|
onUpdateMilestone: u,
|
|
@@ -9745,7 +9745,7 @@ const Wf = { class: "ao-project__phases" }, qf = {
|
|
|
9745
9745
|
e("addPhase", l);
|
|
9746
9746
|
};
|
|
9747
9747
|
return (l, c) => (v(), g("div", Wf, [
|
|
9748
|
-
V(
|
|
9748
|
+
V(X(pt), {
|
|
9749
9749
|
class: "ao-project-phase__phases-list",
|
|
9750
9750
|
"model-value": l.phases,
|
|
9751
9751
|
"item-key": "id",
|
|
@@ -9799,7 +9799,7 @@ const Kf = ["onSubmit"], Xf = { class: "ao-add-template-modal__form-body" }, Qf
|
|
|
9799
9799
|
}, i = () => {
|
|
9800
9800
|
s.value && e("apply", s.value, t.projectId);
|
|
9801
9801
|
};
|
|
9802
|
-
return (r, u) => (v(), R(
|
|
9802
|
+
return (r, u) => (v(), R(Mn, { size: "sm" }, {
|
|
9803
9803
|
header: W(() => [
|
|
9804
9804
|
V(_e, {
|
|
9805
9805
|
title: r.$t("project.template.add.title"),
|
|
@@ -9962,7 +9962,7 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
9962
9962
|
"right-label": O.$t("project.switch.feed"),
|
|
9963
9963
|
"left-label": O.$t("project.switch.overview"),
|
|
9964
9964
|
"onUpdate:isLeft": Y[0] || (Y[0] = (F) => {
|
|
9965
|
-
F || O.$router.push({ name:
|
|
9965
|
+
F || O.$router.push({ name: X(Ue).feed });
|
|
9966
9966
|
})
|
|
9967
9967
|
}, null, 8, ["right-label", "left-label"]),
|
|
9968
9968
|
V(de, {
|
|
@@ -10012,7 +10012,7 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
10012
10012
|
users: O.users,
|
|
10013
10013
|
"is-editable": O.isEditable === !0,
|
|
10014
10014
|
"closed-status": O.closedStatus,
|
|
10015
|
-
onClose: Y[3] || (Y[3] = (F) => O.$router.push({ name:
|
|
10015
|
+
onClose: Y[3] || (Y[3] = (F) => O.$router.push({ name: X(Ue).project })),
|
|
10016
10016
|
onUpdateMilestone: d,
|
|
10017
10017
|
onAddActivity: c,
|
|
10018
10018
|
onUpdateActivity: f,
|
|
@@ -10123,7 +10123,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10123
10123
|
id: t.id,
|
|
10124
10124
|
name: c
|
|
10125
10125
|
});
|
|
10126
|
-
}, s = M(() => t.isFeedView && t.phaseName ? `${t.phaseName}` : t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = M(() => t.assignee ? [t.assignee] : []), i = M(() =>
|
|
10126
|
+
}, s = M(() => t.isFeedView && t.phaseName ? `${t.phaseName}` : t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = M(() => t.assignee ? [t.assignee] : []), i = M(() => wn(t.deadline)), r = (c) => {
|
|
10127
10127
|
e("removeAssignee", c);
|
|
10128
10128
|
}, u = M(() => {
|
|
10129
10129
|
var c;
|
|
@@ -10132,7 +10132,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10132
10132
|
var c;
|
|
10133
10133
|
return (c = t.tasks) == null ? void 0 : c.filter((f) => f.isDone).length;
|
|
10134
10134
|
}), l = M(() => (d.value || 0) / (u.value || 1));
|
|
10135
|
-
return (c, f) => (v(), R(
|
|
10135
|
+
return (c, f) => (v(), R(Rn, {
|
|
10136
10136
|
class: x(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
|
|
10137
10137
|
"is-clickable": !0
|
|
10138
10138
|
}, {
|
|
@@ -10194,7 +10194,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10194
10194
|
}, [
|
|
10195
10195
|
C ? (v(), g("li", C8, [
|
|
10196
10196
|
V(Xe, {
|
|
10197
|
-
"user-name":
|
|
10197
|
+
"user-name": X(V1)(C),
|
|
10198
10198
|
"avatar-url": C.avatarUrl,
|
|
10199
10199
|
"is-closable": !0,
|
|
10200
10200
|
onClose: () => r(C.id)
|
|
@@ -10228,7 +10228,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10228
10228
|
}),
|
|
10229
10229
|
p("span", A8, K(d.value) + " / " + K(u.value), 1)
|
|
10230
10230
|
]),
|
|
10231
|
-
V(
|
|
10231
|
+
V(Nn, {
|
|
10232
10232
|
percentages: l.value,
|
|
10233
10233
|
class: "ao-card-feed__progress"
|
|
10234
10234
|
}, null, 8, ["percentages"])
|
|
@@ -10246,7 +10246,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10246
10246
|
}, V8 = { class: "ao-field__row ao-milestone__field-row" }, D8 = { class: "ao-field ao-field--inline" }, P8 = { class: "ao-field__row ao-milestone__field-row" }, H8 = { class: "ao-field ao-milestone__field-multiselect" }, B8 = { class: "ao-project-milestone__body" }, R8 = {
|
|
10247
10247
|
key: 0,
|
|
10248
10248
|
class: "ao-project-milestone__footer"
|
|
10249
|
-
},
|
|
10249
|
+
}, f1 = /* @__PURE__ */ J({
|
|
10250
10250
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
10251
10251
|
props: {
|
|
10252
10252
|
milestoneId: {},
|
|
@@ -10309,7 +10309,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10309
10309
|
deadline: m != null && m.length ? m : null
|
|
10310
10310
|
});
|
|
10311
10311
|
}
|
|
10312
|
-
}), C = (m) => t.closedStatus ?
|
|
10312
|
+
}), C = (m) => t.closedStatus ? $n(m, t.closedStatus) : !1, $ = M(() => {
|
|
10313
10313
|
var m;
|
|
10314
10314
|
return ((m = t.users) == null ? void 0 : m.map((A) => ({
|
|
10315
10315
|
label: `${A.firstName} ${A.lastName}`,
|
|
@@ -10420,7 +10420,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10420
10420
|
])) : T("", !0)
|
|
10421
10421
|
]),
|
|
10422
10422
|
p("div", B8, [
|
|
10423
|
-
V(
|
|
10423
|
+
V(X(pt), Ve({
|
|
10424
10424
|
class: "ao-project-milestone__activities",
|
|
10425
10425
|
list: r.value,
|
|
10426
10426
|
disabled: !m.isEditable,
|
|
@@ -10446,7 +10446,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10446
10446
|
"is-private": S.private,
|
|
10447
10447
|
"is-closed": C(S),
|
|
10448
10448
|
onClick: (q) => m.$router.push({
|
|
10449
|
-
name:
|
|
10449
|
+
name: X(Ue).activity,
|
|
10450
10450
|
params: { milestoneId: m.milestoneId, activityId: S.id }
|
|
10451
10451
|
}),
|
|
10452
10452
|
onUpdateActivity: l,
|
|
@@ -10554,7 +10554,7 @@ const N8 = /* @__PURE__ */ J({
|
|
|
10554
10554
|
};
|
|
10555
10555
|
return (_, m) => {
|
|
10556
10556
|
var A, y;
|
|
10557
|
-
return i.value ? (v(), R(
|
|
10557
|
+
return i.value ? (v(), R(Bn, {
|
|
10558
10558
|
key: 0,
|
|
10559
10559
|
activity: i.value,
|
|
10560
10560
|
"activity-types": _.activityTypes,
|
|
@@ -10614,7 +10614,7 @@ function Z8(a) {
|
|
|
10614
10614
|
return $s() ? (ks(a), !0) : !1;
|
|
10615
10615
|
}
|
|
10616
10616
|
function Ba(a) {
|
|
10617
|
-
return typeof a == "function" ? a() :
|
|
10617
|
+
return typeof a == "function" ? a() : X(a);
|
|
10618
10618
|
}
|
|
10619
10619
|
const F8 = typeof window < "u" && typeof document < "u";
|
|
10620
10620
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -10785,7 +10785,7 @@ const Q8 = {
|
|
|
10785
10785
|
])
|
|
10786
10786
|
];
|
|
10787
10787
|
}) : T("", !0),
|
|
10788
|
-
V(
|
|
10788
|
+
V(X(pt), Ve({
|
|
10789
10789
|
class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
|
|
10790
10790
|
list: l.list,
|
|
10791
10791
|
"item-key": "id",
|
|
@@ -10908,7 +10908,7 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
|
|
|
10908
10908
|
class: "ao-field__input ao-search-field__input",
|
|
10909
10909
|
placeholder: i.placeholder,
|
|
10910
10910
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
10911
|
-
(...u) =>
|
|
10911
|
+
(...u) => X(s) && X(s)(...u)),
|
|
10912
10912
|
onKeypress: ut(n, ["enter"])
|
|
10913
10913
|
}, null, 40, rv),
|
|
10914
10914
|
V(fe, {
|
|
@@ -10954,7 +10954,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
10954
10954
|
ce(
|
|
10955
10955
|
[() => t.statuses, () => t.activities, () => t.initialActivityId],
|
|
10956
10956
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10957
|
-
async ([E, N,
|
|
10957
|
+
async ([E, N, Q], [k, h]) => {
|
|
10958
10958
|
i.value = Object.fromEntries(
|
|
10959
10959
|
E.map((I) => [
|
|
10960
10960
|
I.id,
|
|
@@ -10963,7 +10963,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
10963
10963
|
return ((ne = ee.status) == null ? void 0 : ne.id) === I.id;
|
|
10964
10964
|
})
|
|
10965
10965
|
])
|
|
10966
|
-
),
|
|
10966
|
+
), Q && !r.value && (o(Q), r.value = !0), u.value && Ge(N, h);
|
|
10967
10967
|
},
|
|
10968
10968
|
{ immediate: !0 }
|
|
10969
10969
|
);
|
|
@@ -10972,9 +10972,9 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
10972
10972
|
return !t.selectedActivity || !t.selectedActivity.milestone ? "" : `${((E = t.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${t.selectedActivity.milestone.name ?? ""}`;
|
|
10973
10973
|
}), l = (E) => {
|
|
10974
10974
|
var I, ee;
|
|
10975
|
-
const N = (I = t.activities) == null ? void 0 : I.at(-1),
|
|
10975
|
+
const N = (I = t.activities) == null ? void 0 : I.at(-1), Q = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), k = ((ee = t.activities) == null ? void 0 : ee.length) ?? 0, h = {
|
|
10976
10976
|
name: n("activity.defaultName", { idx: k + 1 }),
|
|
10977
|
-
rank:
|
|
10977
|
+
rank: Q.format(),
|
|
10978
10978
|
statusId: E.id
|
|
10979
10979
|
};
|
|
10980
10980
|
t.filters.assigneeId.length > 0 && (h.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (h.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (h.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", h);
|
|
@@ -11030,7 +11030,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11030
11030
|
N && e("removeComment", E);
|
|
11031
11031
|
};
|
|
11032
11032
|
return (E, N) => {
|
|
11033
|
-
var
|
|
11033
|
+
var Q;
|
|
11034
11034
|
return v(), g("div", uv, [
|
|
11035
11035
|
V(qa, null, {
|
|
11036
11036
|
primary: W(() => [
|
|
@@ -11041,7 +11041,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11041
11041
|
"right-label": E.$t("project.switch.feed"),
|
|
11042
11042
|
"left-label": E.$t("project.switch.overview"),
|
|
11043
11043
|
"onUpdate:isLeft": N[0] || (N[0] = (k) => {
|
|
11044
|
-
k && E.$router.push({ name:
|
|
11044
|
+
k && E.$router.push({ name: X(Ue).project });
|
|
11045
11045
|
})
|
|
11046
11046
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
11047
11047
|
V(lv, {
|
|
@@ -11053,36 +11053,36 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11053
11053
|
}, null, 8, ["model-value", "placeholder"]),
|
|
11054
11054
|
t.project ? T("", !0) : (v(), R($e, {
|
|
11055
11055
|
key: 1,
|
|
11056
|
-
"model-value": E.filters[
|
|
11056
|
+
"model-value": E.filters[X(Et).project],
|
|
11057
11057
|
mode: "tags",
|
|
11058
11058
|
options: C.value,
|
|
11059
11059
|
"close-on-select": !1,
|
|
11060
11060
|
searchable: !0,
|
|
11061
11061
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
11062
11062
|
placeholder: E.$t("feed.filters.project.placeholder"),
|
|
11063
|
-
"onUpdate:modelValue": N[1] || (N[1] = (k) => c(
|
|
11063
|
+
"onUpdate:modelValue": N[1] || (N[1] = (k) => c(X(Et).project, k))
|
|
11064
11064
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
11065
11065
|
$.value ? (v(), R($e, {
|
|
11066
11066
|
key: 2,
|
|
11067
|
-
"model-value": E.filters[
|
|
11067
|
+
"model-value": E.filters[X(Et).type],
|
|
11068
11068
|
mode: "tags",
|
|
11069
11069
|
options: $.value,
|
|
11070
11070
|
"close-on-select": !1,
|
|
11071
11071
|
searchable: !0,
|
|
11072
11072
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
11073
11073
|
placeholder: E.$t("feed.filters.activityType.placeholder"),
|
|
11074
|
-
"onUpdate:modelValue": N[2] || (N[2] = (k) => c(
|
|
11074
|
+
"onUpdate:modelValue": N[2] || (N[2] = (k) => c(X(Et).type, k))
|
|
11075
11075
|
}, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
|
|
11076
11076
|
w.value.length ? (v(), R($e, {
|
|
11077
11077
|
key: 3,
|
|
11078
|
-
"model-value": E.filters[
|
|
11078
|
+
"model-value": E.filters[X(Et).assignee],
|
|
11079
11079
|
mode: "tags",
|
|
11080
11080
|
options: w.value,
|
|
11081
11081
|
"close-on-select": !1,
|
|
11082
11082
|
searchable: !0,
|
|
11083
11083
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
11084
11084
|
placeholder: E.$t("feed.filters.assignee.placeholder"),
|
|
11085
|
-
"onUpdate:modelValue": N[3] || (N[3] = (k) => c(
|
|
11085
|
+
"onUpdate:modelValue": N[3] || (N[3] = (k) => c(X(Et).assignee, k))
|
|
11086
11086
|
}, {
|
|
11087
11087
|
tag: W(({
|
|
11088
11088
|
option: k,
|
|
@@ -11144,11 +11144,11 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11144
11144
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "is-feed-view", "onAdd"]))), 128))
|
|
11145
11145
|
]),
|
|
11146
11146
|
(v(), R(Ht, { to: "body" }, [
|
|
11147
|
-
E.selectedActivity ? (v(), R(
|
|
11147
|
+
E.selectedActivity ? (v(), R(Bn, {
|
|
11148
11148
|
key: 0,
|
|
11149
11149
|
activity: E.selectedActivity,
|
|
11150
11150
|
"activity-types": E.activityTypes,
|
|
11151
|
-
"milestone-id": (
|
|
11151
|
+
"milestone-id": (Q = E.selectedActivity.milestone) == null ? void 0 : Q.id,
|
|
11152
11152
|
"template-activities": s.value,
|
|
11153
11153
|
users: E.users,
|
|
11154
11154
|
"user-id": E.userId,
|
|
@@ -11223,7 +11223,7 @@ const Lt = {
|
|
|
11223
11223
|
{
|
|
11224
11224
|
path: ":phaseId/:milestoneId",
|
|
11225
11225
|
name: Ue.milestone,
|
|
11226
|
-
component:
|
|
11226
|
+
component: f1,
|
|
11227
11227
|
props: !0
|
|
11228
11228
|
},
|
|
11229
11229
|
{
|
|
@@ -11231,7 +11231,7 @@ const Lt = {
|
|
|
11231
11231
|
name: Ue.activity,
|
|
11232
11232
|
props: { default: !0, modal: !0 },
|
|
11233
11233
|
components: {
|
|
11234
|
-
default:
|
|
11234
|
+
default: f1,
|
|
11235
11235
|
modal: N8
|
|
11236
11236
|
}
|
|
11237
11237
|
}
|
|
@@ -11298,7 +11298,7 @@ const Lt = {
|
|
|
11298
11298
|
]),
|
|
11299
11299
|
_: 1
|
|
11300
11300
|
}),
|
|
11301
|
-
V(
|
|
11301
|
+
V(X(pt), {
|
|
11302
11302
|
"model-value": r.templates,
|
|
11303
11303
|
class: "ao-templates__list",
|
|
11304
11304
|
"item-key": "id",
|
|
@@ -11312,13 +11312,13 @@ const Lt = {
|
|
|
11312
11312
|
id: d.id,
|
|
11313
11313
|
title: d.name,
|
|
11314
11314
|
phases: d.phases,
|
|
11315
|
-
milestones: (l = d.phases) != null && l.length ?
|
|
11316
|
-
activities: d.phases ?
|
|
11315
|
+
milestones: (l = d.phases) != null && l.length ? X(v3)(d.phases) : 0,
|
|
11316
|
+
activities: d.phases ? X(p3)(d.phases) : 0,
|
|
11317
11317
|
"updated-at": d.updatedAt,
|
|
11318
11318
|
"updated-by": d.updatedBy,
|
|
11319
11319
|
onUpdateTitle: (c) => o(d.id, c),
|
|
11320
11320
|
onClick: (c) => r.$router.push({
|
|
11321
|
-
name:
|
|
11321
|
+
name: X(Lt).TEMPLATE_DETAILS,
|
|
11322
11322
|
params: { templateId: d.id }
|
|
11323
11323
|
})
|
|
11324
11324
|
}, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|