@26lights/orcha 0.41.80 → 0.41.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +612 -614
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as v, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as pt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as
|
|
1
|
+
import { defineComponent as q, openBlock as v, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as pt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
4
|
const t8 = /* @__PURE__ */ q({
|
|
@@ -1153,7 +1153,7 @@ const I2 = /* @__PURE__ */ U(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.
|
|
|
1153
1153
|
...Ls,
|
|
1154
1154
|
...H2
|
|
1155
1155
|
});
|
|
1156
|
-
const
|
|
1156
|
+
const Pn = {
|
|
1157
1157
|
ROUND: "round",
|
|
1158
1158
|
ROUNDED: "rounded"
|
|
1159
1159
|
}, V2 = {
|
|
@@ -1188,7 +1188,7 @@ const D2 = ["type"], B2 = {
|
|
|
1188
1188
|
footer: { type: Boolean, default: () => !1 },
|
|
1189
1189
|
size: { default: () => Ya.MD },
|
|
1190
1190
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1191
|
-
corners: { default: () =>
|
|
1191
|
+
corners: { default: () => Pn.ROUNDED }
|
|
1192
1192
|
},
|
|
1193
1193
|
setup(t) {
|
|
1194
1194
|
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1217,7 +1217,7 @@ const D2 = ["type"], B2 = {
|
|
|
1217
1217
|
], 10, D2));
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
|
-
function
|
|
1220
|
+
function Hn(t) {
|
|
1221
1221
|
const e = x(!1), a = x(""), s = A(() => "value" in t.value ? "value" : "innerHTML"), n = () => {
|
|
1222
1222
|
e.value = !e.value;
|
|
1223
1223
|
}, o = (r) => {
|
|
@@ -1258,7 +1258,7 @@ const be = /* @__PURE__ */ q({
|
|
|
1258
1258
|
},
|
|
1259
1259
|
emits: ["update:title", "toggle-is-editing"],
|
|
1260
1260
|
setup(t, { emit: e }) {
|
|
1261
|
-
const a = t, s = x(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } =
|
|
1261
|
+
const a = t, s = x(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = Hn(s), r = A(() => n.value ? "input" : a.tag || `h${a.level}`), d = A(() => a.isEditable ? n.value ? {
|
|
1262
1262
|
change: u,
|
|
1263
1263
|
click: (y) => y.stopPropagation(),
|
|
1264
1264
|
blur: p
|
|
@@ -1329,7 +1329,7 @@ const j2 = {
|
|
|
1329
1329
|
}, q2 = {
|
|
1330
1330
|
key: 3,
|
|
1331
1331
|
class: "ao-card-horiz__secondary"
|
|
1332
|
-
},
|
|
1332
|
+
}, Vn = /* @__PURE__ */ q({
|
|
1333
1333
|
__name: "AoCardHoriz",
|
|
1334
1334
|
props: {
|
|
1335
1335
|
id: {},
|
|
@@ -1498,7 +1498,7 @@ function ja(t) {
|
|
|
1498
1498
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1499
1499
|
}, ja(t);
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function Qe(t) {
|
|
1502
1502
|
if (t === null || t === !0 || t === !1)
|
|
1503
1503
|
return NaN;
|
|
1504
1504
|
var e = Number(t);
|
|
@@ -1515,7 +1515,7 @@ function $e(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
function X2(t, e) {
|
|
1517
1517
|
Ce(2, arguments);
|
|
1518
|
-
var a = $e(t).getTime(), s =
|
|
1518
|
+
var a = $e(t).getTime(), s = Qe(e);
|
|
1519
1519
|
return new Date(a + s);
|
|
1520
1520
|
}
|
|
1521
1521
|
var Q2 = {};
|
|
@@ -1526,7 +1526,7 @@ function ua(t) {
|
|
|
1526
1526
|
var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1527
1527
|
return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1529
|
+
function pn(t) {
|
|
1530
1530
|
Ce(1, arguments);
|
|
1531
1531
|
var e = $e(t);
|
|
1532
1532
|
return e.setHours(0, 0, 0, 0), e;
|
|
@@ -1534,7 +1534,7 @@ function dn(t) {
|
|
|
1534
1534
|
var J2 = 864e5;
|
|
1535
1535
|
function e0(t, e) {
|
|
1536
1536
|
Ce(2, arguments);
|
|
1537
|
-
var a =
|
|
1537
|
+
var a = pn(t), s = pn(e), n = a.getTime() - ua(a), o = s.getTime() - ua(s);
|
|
1538
1538
|
return Math.round((n - o) / J2);
|
|
1539
1539
|
}
|
|
1540
1540
|
function t0(t, e) {
|
|
@@ -1542,11 +1542,11 @@ function t0(t, e) {
|
|
|
1542
1542
|
var a = $e(t), s = $e(e), n = a.getTime() - s.getTime();
|
|
1543
1543
|
return n < 0 ? -1 : n > 0 ? 1 : n;
|
|
1544
1544
|
}
|
|
1545
|
-
var
|
|
1545
|
+
var Dn = 6e4, Bn = 36e5;
|
|
1546
1546
|
function a0(t) {
|
|
1547
1547
|
return Ce(1, arguments), t instanceof Date || ja(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function jn(t) {
|
|
1550
1550
|
if (Ce(1, arguments), !a0(t) && typeof t != "number")
|
|
1551
1551
|
return !1;
|
|
1552
1552
|
var e = $e(t);
|
|
@@ -1554,7 +1554,7 @@ function Bn(t) {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
function ws(t, e) {
|
|
1556
1556
|
Ce(2, arguments);
|
|
1557
|
-
var a =
|
|
1557
|
+
var a = Qe(e);
|
|
1558
1558
|
return X2(t, -a);
|
|
1559
1559
|
}
|
|
1560
1560
|
var s0 = 864e5;
|
|
@@ -1570,7 +1570,7 @@ function Ra(t) {
|
|
|
1570
1570
|
var e = 1, a = $e(t), s = a.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
|
|
1571
1571
|
return a.setUTCDate(a.getUTCDate() - n), a.setUTCHours(0, 0, 0, 0), a;
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function Rn(t) {
|
|
1574
1574
|
Ce(1, arguments);
|
|
1575
1575
|
var e = $e(t), a = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
s.setUTCFullYear(a + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
|
|
@@ -1581,7 +1581,7 @@ function jn(t) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
function i0(t) {
|
|
1583
1583
|
Ce(1, arguments);
|
|
1584
|
-
var e =
|
|
1584
|
+
var e = Rn(t), a = /* @__PURE__ */ new Date(0);
|
|
1585
1585
|
a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
1586
1586
|
var s = Ra(a);
|
|
1587
1587
|
return s;
|
|
@@ -1595,16 +1595,16 @@ function l0(t) {
|
|
|
1595
1595
|
function Na(t, e) {
|
|
1596
1596
|
var a, s, n, o, i, l, r, d;
|
|
1597
1597
|
Ce(1, arguments);
|
|
1598
|
-
var u = ga(), c =
|
|
1598
|
+
var u = ga(), c = Qe((a = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1599
1599
|
if (!(c >= 0 && c <= 6))
|
|
1600
1600
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1601
1601
|
var p = $e(t), h = p.getUTCDay(), w = (h < c ? 7 : 0) + h - c;
|
|
1602
1602
|
return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function Nn(t, e) {
|
|
1605
1605
|
var a, s, n, o, i, l, r, d;
|
|
1606
1606
|
Ce(1, arguments);
|
|
1607
|
-
var u = $e(t), c = u.getUTCFullYear(), p = ga(), h =
|
|
1607
|
+
var u = $e(t), c = u.getUTCFullYear(), p = ga(), h = Qe((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1608
1608
|
if (!(h >= 1 && h <= 7))
|
|
1609
1609
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1610
1610
|
var w = /* @__PURE__ */ new Date(0);
|
|
@@ -1617,7 +1617,7 @@ function Rn(t, e) {
|
|
|
1617
1617
|
function r0(t, e) {
|
|
1618
1618
|
var a, s, n, o, i, l, r, d;
|
|
1619
1619
|
Ce(1, arguments);
|
|
1620
|
-
var u = ga(), c =
|
|
1620
|
+
var u = ga(), c = Qe((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = Nn(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1621
1621
|
h.setUTCFullYear(p, 0, c), h.setUTCHours(0, 0, 0, 0);
|
|
1622
1622
|
var w = Na(h, e);
|
|
1623
1623
|
return w;
|
|
@@ -1686,7 +1686,7 @@ var d0 = {
|
|
|
1686
1686
|
return de(o, a.length);
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
|
-
const
|
|
1689
|
+
const lt = d0;
|
|
1690
1690
|
var Bt = {
|
|
1691
1691
|
am: "am",
|
|
1692
1692
|
pm: "pm",
|
|
@@ -1726,11 +1726,11 @@ var Bt = {
|
|
|
1726
1726
|
unit: "year"
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
|
-
return
|
|
1729
|
+
return lt.y(e, a);
|
|
1730
1730
|
},
|
|
1731
1731
|
// Local week-numbering year
|
|
1732
1732
|
Y: function(e, a, s, n) {
|
|
1733
|
-
var o =
|
|
1733
|
+
var o = Nn(e, n), i = o > 0 ? o : 1 - o;
|
|
1734
1734
|
if (a === "YY") {
|
|
1735
1735
|
var l = i % 100;
|
|
1736
1736
|
return de(l, 2);
|
|
@@ -1741,7 +1741,7 @@ var Bt = {
|
|
|
1741
1741
|
},
|
|
1742
1742
|
// ISO week-numbering year
|
|
1743
1743
|
R: function(e, a) {
|
|
1744
|
-
var s =
|
|
1744
|
+
var s = Rn(e);
|
|
1745
1745
|
return de(s, a.length);
|
|
1746
1746
|
},
|
|
1747
1747
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -1823,7 +1823,7 @@ var Bt = {
|
|
|
1823
1823
|
switch (a) {
|
|
1824
1824
|
case "M":
|
|
1825
1825
|
case "MM":
|
|
1826
|
-
return
|
|
1826
|
+
return lt.M(e, a);
|
|
1827
1827
|
case "Mo":
|
|
1828
1828
|
return s.ordinalNumber(n + 1, {
|
|
1829
1829
|
unit: "month"
|
|
@@ -1894,7 +1894,7 @@ var Bt = {
|
|
|
1894
1894
|
d: function(e, a, s) {
|
|
1895
1895
|
return a === "do" ? s.ordinalNumber(e.getUTCDate(), {
|
|
1896
1896
|
unit: "date"
|
|
1897
|
-
}) :
|
|
1897
|
+
}) : lt.d(e, a);
|
|
1898
1898
|
},
|
|
1899
1899
|
// Day of year
|
|
1900
1900
|
D: function(e, a, s) {
|
|
@@ -2125,13 +2125,13 @@ var Bt = {
|
|
|
2125
2125
|
unit: "hour"
|
|
2126
2126
|
});
|
|
2127
2127
|
}
|
|
2128
|
-
return
|
|
2128
|
+
return lt.h(e, a);
|
|
2129
2129
|
},
|
|
2130
2130
|
// Hour [0-23]
|
|
2131
2131
|
H: function(e, a, s) {
|
|
2132
2132
|
return a === "Ho" ? s.ordinalNumber(e.getUTCHours(), {
|
|
2133
2133
|
unit: "hour"
|
|
2134
|
-
}) :
|
|
2134
|
+
}) : lt.H(e, a);
|
|
2135
2135
|
},
|
|
2136
2136
|
// Hour [0-11]
|
|
2137
2137
|
K: function(e, a, s) {
|
|
@@ -2151,17 +2151,17 @@ var Bt = {
|
|
|
2151
2151
|
m: function(e, a, s) {
|
|
2152
2152
|
return a === "mo" ? s.ordinalNumber(e.getUTCMinutes(), {
|
|
2153
2153
|
unit: "minute"
|
|
2154
|
-
}) :
|
|
2154
|
+
}) : lt.m(e, a);
|
|
2155
2155
|
},
|
|
2156
2156
|
// Second
|
|
2157
2157
|
s: function(e, a, s) {
|
|
2158
2158
|
return a === "so" ? s.ordinalNumber(e.getUTCSeconds(), {
|
|
2159
2159
|
unit: "second"
|
|
2160
|
-
}) :
|
|
2160
|
+
}) : lt.s(e, a);
|
|
2161
2161
|
},
|
|
2162
2162
|
// Fraction of second
|
|
2163
2163
|
S: function(e, a) {
|
|
2164
|
-
return
|
|
2164
|
+
return lt.S(e, a);
|
|
2165
2165
|
},
|
|
2166
2166
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
2167
2167
|
X: function(e, a, s, n) {
|
|
@@ -2170,7 +2170,7 @@ var Bt = {
|
|
|
2170
2170
|
return "Z";
|
|
2171
2171
|
switch (a) {
|
|
2172
2172
|
case "X":
|
|
2173
|
-
return
|
|
2173
|
+
return fn(i);
|
|
2174
2174
|
case "XXXX":
|
|
2175
2175
|
case "XX":
|
|
2176
2176
|
return St(i);
|
|
@@ -2185,7 +2185,7 @@ var Bt = {
|
|
|
2185
2185
|
var o = n._originalDate || e, i = o.getTimezoneOffset();
|
|
2186
2186
|
switch (a) {
|
|
2187
2187
|
case "x":
|
|
2188
|
-
return
|
|
2188
|
+
return fn(i);
|
|
2189
2189
|
case "xxxx":
|
|
2190
2190
|
case "xx":
|
|
2191
2191
|
return St(i);
|
|
@@ -2202,7 +2202,7 @@ var Bt = {
|
|
|
2202
2202
|
case "O":
|
|
2203
2203
|
case "OO":
|
|
2204
2204
|
case "OOO":
|
|
2205
|
-
return "GMT" +
|
|
2205
|
+
return "GMT" + vn(i, ":");
|
|
2206
2206
|
case "OOOO":
|
|
2207
2207
|
default:
|
|
2208
2208
|
return "GMT" + St(i, ":");
|
|
@@ -2215,7 +2215,7 @@ var Bt = {
|
|
|
2215
2215
|
case "z":
|
|
2216
2216
|
case "zz":
|
|
2217
2217
|
case "zzz":
|
|
2218
|
-
return "GMT" +
|
|
2218
|
+
return "GMT" + vn(i, ":");
|
|
2219
2219
|
case "zzzz":
|
|
2220
2220
|
default:
|
|
2221
2221
|
return "GMT" + St(i, ":");
|
|
@@ -2232,14 +2232,14 @@ var Bt = {
|
|
|
2232
2232
|
return de(i, a.length);
|
|
2233
2233
|
}
|
|
2234
2234
|
};
|
|
2235
|
-
function
|
|
2235
|
+
function vn(t, e) {
|
|
2236
2236
|
var a = t > 0 ? "-" : "+", s = Math.abs(t), n = Math.floor(s / 60), o = s % 60;
|
|
2237
2237
|
if (o === 0)
|
|
2238
2238
|
return a + String(n);
|
|
2239
2239
|
var i = e || "";
|
|
2240
2240
|
return a + String(n) + i + de(o, 2);
|
|
2241
2241
|
}
|
|
2242
|
-
function
|
|
2242
|
+
function fn(t, e) {
|
|
2243
2243
|
if (t % 60 === 0) {
|
|
2244
2244
|
var a = t > 0 ? "-" : "+";
|
|
2245
2245
|
return a + de(Math.abs(t) / 60, 2);
|
|
@@ -2251,7 +2251,7 @@ function St(t, e) {
|
|
|
2251
2251
|
return s + o + a + i;
|
|
2252
2252
|
}
|
|
2253
2253
|
const v0 = p0;
|
|
2254
|
-
var
|
|
2254
|
+
var hn = function(e, a) {
|
|
2255
2255
|
switch (e) {
|
|
2256
2256
|
case "P":
|
|
2257
2257
|
return a.date({
|
|
@@ -2271,7 +2271,7 @@ var fn = function(e, a) {
|
|
|
2271
2271
|
width: "full"
|
|
2272
2272
|
});
|
|
2273
2273
|
}
|
|
2274
|
-
},
|
|
2274
|
+
}, Un = function(e, a) {
|
|
2275
2275
|
switch (e) {
|
|
2276
2276
|
case "p":
|
|
2277
2277
|
return a.time({
|
|
@@ -2294,7 +2294,7 @@ var fn = function(e, a) {
|
|
|
2294
2294
|
}, f0 = function(e, a) {
|
|
2295
2295
|
var s = e.match(/(P+)(p+)?/) || [], n = s[1], o = s[2];
|
|
2296
2296
|
if (!o)
|
|
2297
|
-
return
|
|
2297
|
+
return hn(e, a);
|
|
2298
2298
|
var i;
|
|
2299
2299
|
switch (n) {
|
|
2300
2300
|
case "P":
|
|
@@ -2319,9 +2319,9 @@ var fn = function(e, a) {
|
|
|
2319
2319
|
});
|
|
2320
2320
|
break;
|
|
2321
2321
|
}
|
|
2322
|
-
return i.replace("{{date}}",
|
|
2322
|
+
return i.replace("{{date}}", hn(n, a)).replace("{{time}}", Un(o, a));
|
|
2323
2323
|
}, h0 = {
|
|
2324
|
-
p:
|
|
2324
|
+
p: Un,
|
|
2325
2325
|
P: f0
|
|
2326
2326
|
};
|
|
2327
2327
|
const m0 = h0;
|
|
@@ -2332,7 +2332,7 @@ function _0(t) {
|
|
|
2332
2332
|
function y0(t) {
|
|
2333
2333
|
return C0.indexOf(t) !== -1;
|
|
2334
2334
|
}
|
|
2335
|
-
function
|
|
2335
|
+
function mn(t, e, a) {
|
|
2336
2336
|
if (t === "YYYY")
|
|
2337
2337
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2338
2338
|
if (t === "YY")
|
|
@@ -2731,15 +2731,15 @@ var n3 = {
|
|
|
2731
2731
|
firstWeekContainsDate: 1
|
|
2732
2732
|
}
|
|
2733
2733
|
};
|
|
2734
|
-
const
|
|
2734
|
+
const Fn = n3;
|
|
2735
2735
|
var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, l3 = /^'([^]*?)'?$/, r3 = /''/g, u3 = /[a-zA-Z]/;
|
|
2736
|
-
function
|
|
2736
|
+
function Zn(t, e, a) {
|
|
2737
2737
|
var s, n, o, i, l, r, d, u, c, p, h, w, y, g, $, m, _, P;
|
|
2738
2738
|
Ce(2, arguments);
|
|
2739
|
-
var I = String(e), L = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s :
|
|
2739
|
+
var I = String(e), L = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Fn, z = Qe((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = L.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2740
2740
|
if (!(z >= 1 && z <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
|
-
var K =
|
|
2742
|
+
var K = Qe((h = (w = (y = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (m = $.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && y !== void 0 ? y : L.weekStartsOn) !== null && w !== void 0 ? w : (_ = L.locale) === null || _ === void 0 || (P = _.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2743
2743
|
if (!(K >= 0 && K <= 6))
|
|
2744
2744
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2745
2745
|
if (!F.localize)
|
|
@@ -2747,7 +2747,7 @@ function Fn(t, e, a) {
|
|
|
2747
2747
|
if (!F.formatLong)
|
|
2748
2748
|
throw new RangeError("locale must contain formatLong property");
|
|
2749
2749
|
var J = $e(t);
|
|
2750
|
-
if (!
|
|
2750
|
+
if (!jn(J))
|
|
2751
2751
|
throw new RangeError("Invalid time value");
|
|
2752
2752
|
var ae = ua(J), j = ws(J, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
@@ -2769,7 +2769,7 @@ function Fn(t, e, a) {
|
|
|
2769
2769
|
return c3(se);
|
|
2770
2770
|
var E = v0[ee];
|
|
2771
2771
|
if (E)
|
|
2772
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) &&
|
|
2772
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && mn(se, e, String(t)), E(j, se, F.localize, G);
|
|
2773
2773
|
if (ee.match(u3))
|
|
2774
2774
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + ee + "`");
|
|
2775
2775
|
return se;
|
|
@@ -2783,7 +2783,7 @@ function c3(t) {
|
|
|
2783
2783
|
function d3(t, e, a) {
|
|
2784
2784
|
var s, n, o, i, l, r, d, u, c, p;
|
|
2785
2785
|
Ce(2, arguments);
|
|
2786
|
-
var h = $e(t), w = $e(e), y = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : y.locale) !== null && s !== void 0 ? s :
|
|
2786
|
+
var h = $e(t), w = $e(e), y = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : y.locale) !== null && s !== void 0 ? s : Fn, $ = Qe((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : y.weekStartsOn) !== null && i !== void 0 ? i : (c = y.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2787
2787
|
if (!g.localize)
|
|
2788
2788
|
throw new RangeError("locale must contain localize property");
|
|
2789
2789
|
if (!g.formatLong)
|
|
@@ -2799,7 +2799,7 @@ function d3(t, e, a) {
|
|
|
2799
2799
|
locale: g,
|
|
2800
2800
|
weekStartsOn: $
|
|
2801
2801
|
});
|
|
2802
|
-
return
|
|
2802
|
+
return Zn(h, L, {
|
|
2803
2803
|
locale: g,
|
|
2804
2804
|
weekStartsOn: $
|
|
2805
2805
|
});
|
|
@@ -2807,7 +2807,7 @@ function d3(t, e, a) {
|
|
|
2807
2807
|
function ca(t, e) {
|
|
2808
2808
|
var a;
|
|
2809
2809
|
Ce(1, arguments);
|
|
2810
|
-
var s =
|
|
2810
|
+
var s = Qe((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
2811
2811
|
if (s !== 2 && s !== 1 && s !== 0)
|
|
2812
2812
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
2813
2813
|
if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
|
|
@@ -2879,7 +2879,7 @@ function C3(t) {
|
|
|
2879
2879
|
if (!e)
|
|
2880
2880
|
return NaN;
|
|
2881
2881
|
var a = Cs(e[1]), s = Cs(e[2]), n = Cs(e[3]);
|
|
2882
|
-
return S3(a, s, n) ? a *
|
|
2882
|
+
return S3(a, s, n) ? a * Bn + s * Dn + n * 1e3 : NaN;
|
|
2883
2883
|
}
|
|
2884
2884
|
function Cs(t) {
|
|
2885
2885
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
@@ -2891,7 +2891,7 @@ function _3(t) {
|
|
|
2891
2891
|
if (!e)
|
|
2892
2892
|
return 0;
|
|
2893
2893
|
var a = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
|
|
2894
|
-
return A3(s, n) ? a * (s *
|
|
2894
|
+
return A3(s, n) ? a * (s * Bn + n * Dn) : NaN;
|
|
2895
2895
|
}
|
|
2896
2896
|
function y3(t, e, a) {
|
|
2897
2897
|
var s = /* @__PURE__ */ new Date(0);
|
|
@@ -2900,14 +2900,14 @@ function y3(t, e, a) {
|
|
|
2900
2900
|
return s.setUTCDate(s.getUTCDate() + o), s;
|
|
2901
2901
|
}
|
|
2902
2902
|
var b3 = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2903
|
-
function
|
|
2903
|
+
function Wn(t) {
|
|
2904
2904
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
2905
2905
|
}
|
|
2906
2906
|
function w3(t, e, a) {
|
|
2907
|
-
return e >= 0 && e <= 11 && a >= 1 && a <= (b3[e] || (
|
|
2907
|
+
return e >= 0 && e <= 11 && a >= 1 && a <= (b3[e] || (Wn(t) ? 29 : 28));
|
|
2908
2908
|
}
|
|
2909
2909
|
function $3(t, e) {
|
|
2910
|
-
return e >= 1 && e <= (
|
|
2910
|
+
return e >= 1 && e <= (Wn(t) ? 366 : 365);
|
|
2911
2911
|
}
|
|
2912
2912
|
function k3(t, e, a) {
|
|
2913
2913
|
return e >= 1 && e <= 53 && a >= 0 && a <= 6;
|
|
@@ -2918,7 +2918,7 @@ function S3(t, e, a) {
|
|
|
2918
2918
|
function A3(t, e) {
|
|
2919
2919
|
return e >= 0 && e <= 59;
|
|
2920
2920
|
}
|
|
2921
|
-
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {},
|
|
2921
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, zn = {}, sa = {}, Ca = {}, Kt = {}, xa = {};
|
|
2922
2922
|
Object.defineProperty(xa, "__esModule", { value: !0 });
|
|
2923
2923
|
xa.lexoHelper = void 0;
|
|
2924
2924
|
xa.lexoHelper = {
|
|
@@ -3265,12 +3265,12 @@ class Pe {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
}
|
|
3267
3267
|
Ca.LexoDecimal = Pe;
|
|
3268
|
-
var La = {},
|
|
3269
|
-
function
|
|
3270
|
-
if (
|
|
3268
|
+
var La = {}, gn;
|
|
3269
|
+
function qn() {
|
|
3270
|
+
if (gn)
|
|
3271
3271
|
return La;
|
|
3272
|
-
|
|
3273
|
-
const t = Kt, e =
|
|
3272
|
+
gn = 1, Object.defineProperty(La, "__esModule", { value: !0 });
|
|
3273
|
+
const t = Kt, e = xn();
|
|
3274
3274
|
class a {
|
|
3275
3275
|
constructor(n) {
|
|
3276
3276
|
this.value = t.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3323,8 +3323,8 @@ function zn() {
|
|
|
3323
3323
|
}
|
|
3324
3324
|
return La.default = a, La;
|
|
3325
3325
|
}
|
|
3326
|
-
var Ps = {},
|
|
3327
|
-
Object.defineProperty(
|
|
3326
|
+
var Ps = {}, Yn = {};
|
|
3327
|
+
Object.defineProperty(Yn, "__esModule", { value: !0 });
|
|
3328
3328
|
var Ka = {};
|
|
3329
3329
|
Object.defineProperty(Ka, "__esModule", { value: !0 });
|
|
3330
3330
|
Ka.LexoNumeralSystem10 = void 0;
|
|
@@ -3432,14 +3432,14 @@ Xa.LexoNumeralSystem64 = P3;
|
|
|
3432
3432
|
for (var o in s)
|
|
3433
3433
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3434
3434
|
};
|
|
3435
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3435
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn, t), a(Ka, t), a(Ga, t), a(Xa, t);
|
|
3436
3436
|
})(Ps);
|
|
3437
|
-
var
|
|
3438
|
-
function
|
|
3439
|
-
if (
|
|
3437
|
+
var Cn;
|
|
3438
|
+
function xn() {
|
|
3439
|
+
if (Cn)
|
|
3440
3440
|
return sa;
|
|
3441
|
-
|
|
3442
|
-
const t = Ca, e =
|
|
3441
|
+
Cn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.LexoRank = void 0;
|
|
3442
|
+
const t = Ca, e = qn(), a = _a, s = Ps;
|
|
3443
3443
|
class n {
|
|
3444
3444
|
constructor(i, l) {
|
|
3445
3445
|
this.value = i.format() + "|" + n.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3625,8 +3625,8 @@ function Yn() {
|
|
|
3625
3625
|
for (var o in s)
|
|
3626
3626
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3627
3627
|
};
|
|
3628
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3629
|
-
})(
|
|
3628
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(xn(), t), a(qn(), t), a(Ca, t), a(Kt, t);
|
|
3629
|
+
})(zn);
|
|
3630
3630
|
(function(t) {
|
|
3631
3631
|
var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3632
3632
|
i === void 0 && (i = o);
|
|
@@ -3640,9 +3640,9 @@ function Yn() {
|
|
|
3640
3640
|
for (var o in s)
|
|
3641
3641
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3642
3642
|
};
|
|
3643
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(
|
|
3643
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(zn, t), a(Ps, t);
|
|
3644
3644
|
})(we);
|
|
3645
|
-
function
|
|
3645
|
+
function Kn(t) {
|
|
3646
3646
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3647
3647
|
var s;
|
|
3648
3648
|
return e + (((s = a.activities) == null ? void 0 : s.length) ?? 0);
|
|
@@ -3657,7 +3657,7 @@ function H3(t) {
|
|
|
3657
3657
|
function V3(t) {
|
|
3658
3658
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3659
3659
|
var n;
|
|
3660
|
-
const s = (n = a.milestones) != null && n.length ?
|
|
3660
|
+
const s = (n = a.milestones) != null && n.length ? Kn(a.milestones) : 0;
|
|
3661
3661
|
return e + s;
|
|
3662
3662
|
}, 0)) ?? 0;
|
|
3663
3663
|
}
|
|
@@ -3687,7 +3687,7 @@ function Qa(t, e = "dd/MM/yyyy") {
|
|
|
3687
3687
|
if (!t)
|
|
3688
3688
|
return "";
|
|
3689
3689
|
const a = ca(t);
|
|
3690
|
-
return
|
|
3690
|
+
return jn(a) ? Zn(a, e) : "";
|
|
3691
3691
|
}
|
|
3692
3692
|
function Hs(t, e) {
|
|
3693
3693
|
return t.status.id === e.id;
|
|
@@ -3701,7 +3701,7 @@ function j3(t, e) {
|
|
|
3701
3701
|
status: B3(t, e) ? Ba.done : Ba.todo
|
|
3702
3702
|
};
|
|
3703
3703
|
}
|
|
3704
|
-
const
|
|
3704
|
+
const Gn = (t) => {
|
|
3705
3705
|
const { firstName: e, lastName: a } = t || {};
|
|
3706
3706
|
return `${e ?? ""}${e ? " " : ""}${a ?? ""}`;
|
|
3707
3707
|
};
|
|
@@ -3725,7 +3725,7 @@ function N3(t, e = 0.15) {
|
|
|
3725
3725
|
const U3 = ["title"], F3 = {
|
|
3726
3726
|
key: 0,
|
|
3727
3727
|
className: "ao-avatar__initials"
|
|
3728
|
-
}, Z3 = ["src"],
|
|
3728
|
+
}, Z3 = ["src"], Je = /* @__PURE__ */ q({
|
|
3729
3729
|
__name: "AoAvatar",
|
|
3730
3730
|
props: {
|
|
3731
3731
|
userName: {},
|
|
@@ -3794,7 +3794,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3794
3794
|
var l;
|
|
3795
3795
|
return ((l = a.phases) == null ? void 0 : l.slice(0, _s)) ?? [];
|
|
3796
3796
|
}), i = A(() => a.phases && a.phases.length > _s ? a.phases.length - _s : 0);
|
|
3797
|
-
return (l, r) => (v(), D(
|
|
3797
|
+
return (l, r) => (v(), D(Vn, {
|
|
3798
3798
|
id: l.id,
|
|
3799
3799
|
title: l.title,
|
|
3800
3800
|
"is-draggable": !0,
|
|
@@ -3875,7 +3875,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
|
|
|
3875
3875
|
f("span", l5, W(l.$t("template.updatedBy.label")), 1)
|
|
3876
3876
|
]),
|
|
3877
3877
|
f("div", r5, [
|
|
3878
|
-
M(
|
|
3878
|
+
M(Je, { "user-name": l.updatedBy }, null, 8, ["user-name"])
|
|
3879
3879
|
])
|
|
3880
3880
|
])) : O("", !0)
|
|
3881
3881
|
])
|
|
@@ -3924,7 +3924,7 @@ const f5 = ["type"], h5 = {
|
|
|
3924
3924
|
color: { default: () => Ls.BLACK },
|
|
3925
3925
|
size: { default: () => Ya.MD },
|
|
3926
3926
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3927
|
-
corners: { default: () =>
|
|
3927
|
+
corners: { default: () => Pn.ROUNDED }
|
|
3928
3928
|
},
|
|
3929
3929
|
setup(t) {
|
|
3930
3930
|
const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3972,7 +3972,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
|
|
|
3972
3972
|
}, o = () => {
|
|
3973
3973
|
e("remove");
|
|
3974
3974
|
};
|
|
3975
|
-
return (i, l) => (v(), D(
|
|
3975
|
+
return (i, l) => (v(), D(Vn, { "onUpdate:title": a }, {
|
|
3976
3976
|
footer: N(() => [
|
|
3977
3977
|
f("ul", m5, [
|
|
3978
3978
|
(v(), C(fe, null, _e(s, (r) => (v(), C(fe, { key: r }, [
|
|
@@ -4012,7 +4012,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4012
4012
|
const e = t, a = A(() => {
|
|
4013
4013
|
var n;
|
|
4014
4014
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
4015
|
-
}), s = A(() => e.milestones ?
|
|
4015
|
+
}), s = A(() => e.milestones ? Kn(e.milestones) : 0);
|
|
4016
4016
|
return (n, o) => (v(), D(Vs, Ae({
|
|
4017
4017
|
id: n.id,
|
|
4018
4018
|
title: n.name,
|
|
@@ -4265,18 +4265,18 @@ function es(t) {
|
|
|
4265
4265
|
function V5(t) {
|
|
4266
4266
|
return t === "x" ? "y" : "x";
|
|
4267
4267
|
}
|
|
4268
|
-
function
|
|
4268
|
+
function Xn(t) {
|
|
4269
4269
|
return t === "y" ? "height" : "width";
|
|
4270
4270
|
}
|
|
4271
4271
|
function Bs(t) {
|
|
4272
4272
|
return ["top", "bottom"].includes(Zt(t)) ? "y" : "x";
|
|
4273
4273
|
}
|
|
4274
|
-
function
|
|
4274
|
+
function Qn(t) {
|
|
4275
4275
|
return V5(Bs(t));
|
|
4276
4276
|
}
|
|
4277
4277
|
function D5(t, e, a) {
|
|
4278
4278
|
a === void 0 && (a = !1);
|
|
4279
|
-
const s = es(t), n =
|
|
4279
|
+
const s = es(t), n = Qn(t), o = Xn(n);
|
|
4280
4280
|
let i = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4281
4281
|
return e.reference[o] > e.floating[o] && (i = Fa(i)), [i, Fa(i)];
|
|
4282
4282
|
}
|
|
@@ -4334,12 +4334,12 @@ function Za(t) {
|
|
|
4334
4334
|
bottom: t.y + t.height
|
|
4335
4335
|
};
|
|
4336
4336
|
}
|
|
4337
|
-
function
|
|
4337
|
+
function _n(t, e, a) {
|
|
4338
4338
|
let {
|
|
4339
4339
|
reference: s,
|
|
4340
4340
|
floating: n
|
|
4341
4341
|
} = t;
|
|
4342
|
-
const o = Bs(e), i =
|
|
4342
|
+
const o = Bs(e), i = Qn(e), l = Xn(i), r = Zt(e), d = o === "y", u = s.x + s.width / 2 - n.width / 2, c = s.y + s.height / 2 - n.height / 2, p = s[l] / 2 - n[l] / 2;
|
|
4343
4343
|
let h;
|
|
4344
4344
|
switch (r) {
|
|
4345
4345
|
case "top":
|
|
@@ -4396,7 +4396,7 @@ const F5 = async (t, e, a) => {
|
|
|
4396
4396
|
}), {
|
|
4397
4397
|
x: u,
|
|
4398
4398
|
y: c
|
|
4399
|
-
} =
|
|
4399
|
+
} = _n(d, s, r), p = s, h = {}, w = 0;
|
|
4400
4400
|
for (let y = 0; y < l.length; y++) {
|
|
4401
4401
|
const {
|
|
4402
4402
|
name: g,
|
|
@@ -4434,7 +4434,7 @@ const F5 = async (t, e, a) => {
|
|
|
4434
4434
|
}) : I.rects), {
|
|
4435
4435
|
x: u,
|
|
4436
4436
|
y: c
|
|
4437
|
-
} =
|
|
4437
|
+
} = _n(d, p, r)), y = -1;
|
|
4438
4438
|
continue;
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
@@ -4446,7 +4446,7 @@ const F5 = async (t, e, a) => {
|
|
|
4446
4446
|
middlewareData: h
|
|
4447
4447
|
};
|
|
4448
4448
|
};
|
|
4449
|
-
async function
|
|
4449
|
+
async function Jn(t, e) {
|
|
4450
4450
|
var a;
|
|
4451
4451
|
e === void 0 && (e = {});
|
|
4452
4452
|
const {
|
|
@@ -4515,7 +4515,7 @@ const Z5 = function(t) {
|
|
|
4515
4515
|
return {};
|
|
4516
4516
|
const $ = Zt(n), m = Zt(l) === l, _ = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), P = p || (m || !y ? [Fa(l)] : B5(l));
|
|
4517
4517
|
!p && w !== "none" && P.push(...R5(l, y, w, _));
|
|
4518
|
-
const I = [l, ...P], L = await
|
|
4518
|
+
const I = [l, ...P], L = await Jn(e, g), F = [];
|
|
4519
4519
|
let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4520
4520
|
if (u && F.push(L[$]), c) {
|
|
4521
4521
|
const j = D5(n, i, _);
|
|
@@ -4574,7 +4574,7 @@ const Z5 = function(t) {
|
|
|
4574
4574
|
apply: i = () => {
|
|
4575
4575
|
},
|
|
4576
4576
|
...l
|
|
4577
|
-
} = Ds(t, e), r = await
|
|
4577
|
+
} = Ds(t, e), r = await Jn(e, l), d = Zt(a), u = es(a), c = Bs(a) === "y", {
|
|
4578
4578
|
width: p,
|
|
4579
4579
|
height: h
|
|
4580
4580
|
} = s.floating;
|
|
@@ -4608,26 +4608,26 @@ const Z5 = function(t) {
|
|
|
4608
4608
|
};
|
|
4609
4609
|
};
|
|
4610
4610
|
function ft(t) {
|
|
4611
|
-
return
|
|
4611
|
+
return ei(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4612
4612
|
}
|
|
4613
4613
|
function Te(t) {
|
|
4614
4614
|
var e;
|
|
4615
4615
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4616
4616
|
}
|
|
4617
|
-
function
|
|
4617
|
+
function at(t) {
|
|
4618
4618
|
var e;
|
|
4619
|
-
return (e = (
|
|
4619
|
+
return (e = (ei(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4620
4620
|
}
|
|
4621
|
-
function
|
|
4621
|
+
function ei(t) {
|
|
4622
4622
|
return t instanceof Node || t instanceof Te(t).Node;
|
|
4623
4623
|
}
|
|
4624
|
-
function
|
|
4624
|
+
function et(t) {
|
|
4625
4625
|
return t instanceof Element || t instanceof Te(t).Element;
|
|
4626
4626
|
}
|
|
4627
4627
|
function We(t) {
|
|
4628
4628
|
return t instanceof HTMLElement || t instanceof Te(t).HTMLElement;
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function yn(t) {
|
|
4631
4631
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Te(t).ShadowRoot;
|
|
4632
4632
|
}
|
|
4633
4633
|
function wa(t) {
|
|
@@ -4665,7 +4665,7 @@ function je(t) {
|
|
|
4665
4665
|
return Te(t).getComputedStyle(t);
|
|
4666
4666
|
}
|
|
4667
4667
|
function as(t) {
|
|
4668
|
-
return
|
|
4668
|
+
return et(t) ? {
|
|
4669
4669
|
scrollLeft: t.scrollLeft,
|
|
4670
4670
|
scrollTop: t.scrollTop
|
|
4671
4671
|
} : {
|
|
@@ -4680,22 +4680,22 @@ function Wt(t) {
|
|
|
4680
4680
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4681
4681
|
t.assignedSlot || // DOM Element detected.
|
|
4682
4682
|
t.parentNode || // ShadowRoot detected.
|
|
4683
|
-
|
|
4684
|
-
|
|
4683
|
+
yn(t) && t.host || // Fallback.
|
|
4684
|
+
at(t)
|
|
4685
4685
|
);
|
|
4686
|
-
return
|
|
4686
|
+
return yn(e) ? e.host : e;
|
|
4687
4687
|
}
|
|
4688
|
-
function
|
|
4688
|
+
function ti(t) {
|
|
4689
4689
|
const e = Wt(t);
|
|
4690
|
-
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && wa(e) ? e :
|
|
4690
|
+
return ts(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : We(e) && wa(e) ? e : ti(e);
|
|
4691
4691
|
}
|
|
4692
4692
|
function pa(t, e, a) {
|
|
4693
4693
|
var s;
|
|
4694
4694
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4695
|
-
const n =
|
|
4695
|
+
const n = ti(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Te(n);
|
|
4696
4696
|
return o ? e.concat(i, i.visualViewport || [], wa(n) ? n : [], i.frameElement && a ? pa(i.frameElement) : []) : e.concat(n, pa(n));
|
|
4697
4697
|
}
|
|
4698
|
-
function
|
|
4698
|
+
function ai(t) {
|
|
4699
4699
|
const e = je(t);
|
|
4700
4700
|
let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4701
4701
|
const n = We(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, l = Ua(a) !== o || Ua(s) !== i;
|
|
@@ -4706,7 +4706,7 @@ function ti(t) {
|
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
4708
|
function Ns(t) {
|
|
4709
|
-
return
|
|
4709
|
+
return et(t) ? t : t.contextElement;
|
|
4710
4710
|
}
|
|
4711
4711
|
function Nt(t) {
|
|
4712
4712
|
const e = Ns(t);
|
|
@@ -4716,7 +4716,7 @@ function Nt(t) {
|
|
|
4716
4716
|
width: s,
|
|
4717
4717
|
height: n,
|
|
4718
4718
|
$: o
|
|
4719
|
-
} =
|
|
4719
|
+
} = ai(e);
|
|
4720
4720
|
let i = (o ? Ua(a.width) : a.width) / s, l = (o ? Ua(a.height) : a.height) / n;
|
|
4721
4721
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4722
4722
|
x: i,
|
|
@@ -4724,7 +4724,7 @@ function Nt(t) {
|
|
|
4724
4724
|
};
|
|
4725
4725
|
}
|
|
4726
4726
|
const Y5 = /* @__PURE__ */ vt(0);
|
|
4727
|
-
function
|
|
4727
|
+
function si(t) {
|
|
4728
4728
|
const e = Te(t);
|
|
4729
4729
|
return !Rs() || !e.visualViewport ? Y5 : {
|
|
4730
4730
|
x: e.visualViewport.offsetLeft,
|
|
@@ -4738,11 +4738,11 @@ function Ot(t, e, a, s) {
|
|
|
4738
4738
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4739
4739
|
const n = t.getBoundingClientRect(), o = Ns(t);
|
|
4740
4740
|
let i = vt(1);
|
|
4741
|
-
e && (s ?
|
|
4742
|
-
const l = x5(o, a, s) ?
|
|
4741
|
+
e && (s ? et(s) && (i = Nt(s)) : i = Nt(t));
|
|
4742
|
+
const l = x5(o, a, s) ? si(o) : vt(0);
|
|
4743
4743
|
let r = (n.left + l.x) / i.x, d = (n.top + l.y) / i.y, u = n.width / i.x, c = n.height / i.y;
|
|
4744
4744
|
if (o) {
|
|
4745
|
-
const p = Te(o), h = s &&
|
|
4745
|
+
const p = Te(o), h = s && et(s) ? Te(s) : s;
|
|
4746
4746
|
let w = p.frameElement;
|
|
4747
4747
|
for (; w && s && h !== p; ) {
|
|
4748
4748
|
const y = Nt(w), g = w.getBoundingClientRect(), $ = je(w), m = g.left + (w.clientLeft + parseFloat($.paddingLeft)) * y.x, _ = g.top + (w.clientTop + parseFloat($.paddingTop)) * y.y;
|
|
@@ -4762,7 +4762,7 @@ function K5(t) {
|
|
|
4762
4762
|
offsetParent: a,
|
|
4763
4763
|
strategy: s
|
|
4764
4764
|
} = t;
|
|
4765
|
-
const n = We(a), o =
|
|
4765
|
+
const n = We(a), o = at(a);
|
|
4766
4766
|
if (a === o)
|
|
4767
4767
|
return e;
|
|
4768
4768
|
let i = {
|
|
@@ -4784,12 +4784,12 @@ function K5(t) {
|
|
|
4784
4784
|
function G5(t) {
|
|
4785
4785
|
return Array.from(t.getClientRects());
|
|
4786
4786
|
}
|
|
4787
|
-
function
|
|
4788
|
-
return Ot(
|
|
4787
|
+
function ni(t) {
|
|
4788
|
+
return Ot(at(t)).left + as(t).scrollLeft;
|
|
4789
4789
|
}
|
|
4790
4790
|
function X5(t) {
|
|
4791
|
-
const e =
|
|
4792
|
-
let i = -a.scrollLeft +
|
|
4791
|
+
const e = at(t), a = as(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4792
|
+
let i = -a.scrollLeft + ni(t);
|
|
4793
4793
|
const l = -a.scrollTop;
|
|
4794
4794
|
return je(s).direction === "rtl" && (i += He(e.clientWidth, s.clientWidth) - n), {
|
|
4795
4795
|
width: n,
|
|
@@ -4799,7 +4799,7 @@ function X5(t) {
|
|
|
4799
4799
|
};
|
|
4800
4800
|
}
|
|
4801
4801
|
function Q5(t, e) {
|
|
4802
|
-
const a = Te(t), s =
|
|
4802
|
+
const a = Te(t), s = at(t), n = a.visualViewport;
|
|
4803
4803
|
let o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
4804
4804
|
if (n) {
|
|
4805
4805
|
o = n.width, i = n.height;
|
|
@@ -4822,16 +4822,16 @@ function J5(t, e) {
|
|
|
4822
4822
|
y: d
|
|
4823
4823
|
};
|
|
4824
4824
|
}
|
|
4825
|
-
function
|
|
4825
|
+
function bn(t, e, a) {
|
|
4826
4826
|
let s;
|
|
4827
4827
|
if (e === "viewport")
|
|
4828
4828
|
s = Q5(t, a);
|
|
4829
4829
|
else if (e === "document")
|
|
4830
|
-
s = X5(
|
|
4831
|
-
else if (
|
|
4830
|
+
s = X5(at(t));
|
|
4831
|
+
else if (et(e))
|
|
4832
4832
|
s = J5(e, a);
|
|
4833
4833
|
else {
|
|
4834
|
-
const n =
|
|
4834
|
+
const n = si(t);
|
|
4835
4835
|
s = {
|
|
4836
4836
|
...e,
|
|
4837
4837
|
x: e.x - n.x,
|
|
@@ -4840,20 +4840,20 @@ function yn(t, e, a) {
|
|
|
4840
4840
|
}
|
|
4841
4841
|
return Za(s);
|
|
4842
4842
|
}
|
|
4843
|
-
function
|
|
4843
|
+
function ii(t, e) {
|
|
4844
4844
|
const a = Wt(t);
|
|
4845
|
-
return a === e || !
|
|
4845
|
+
return a === e || !et(a) || ts(a) ? !1 : je(a).position === "fixed" || ii(a, e);
|
|
4846
4846
|
}
|
|
4847
4847
|
function e7(t, e) {
|
|
4848
4848
|
const a = e.get(t);
|
|
4849
4849
|
if (a)
|
|
4850
4850
|
return a;
|
|
4851
|
-
let s = pa(t, [], !1).filter((l) =>
|
|
4851
|
+
let s = pa(t, [], !1).filter((l) => et(l) && ft(l) !== "body"), n = null;
|
|
4852
4852
|
const o = je(t).position === "fixed";
|
|
4853
4853
|
let i = o ? Wt(t) : t;
|
|
4854
|
-
for (;
|
|
4854
|
+
for (; et(i) && !ts(i); ) {
|
|
4855
4855
|
const l = je(i), r = js(i);
|
|
4856
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r &&
|
|
4856
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(i) && !r && ii(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Wt(i);
|
|
4857
4857
|
}
|
|
4858
4858
|
return e.set(t, s), s;
|
|
4859
4859
|
}
|
|
@@ -4865,9 +4865,9 @@ function t7(t) {
|
|
|
4865
4865
|
strategy: n
|
|
4866
4866
|
} = t;
|
|
4867
4867
|
const i = [...a === "clippingAncestors" ? e7(e, this._c) : [].concat(a), s], l = i[0], r = i.reduce((d, u) => {
|
|
4868
|
-
const c =
|
|
4868
|
+
const c = bn(e, u, n);
|
|
4869
4869
|
return d.top = He(c.top, d.top), d.right = da(c.right, d.right), d.bottom = da(c.bottom, d.bottom), d.left = He(c.left, d.left), d;
|
|
4870
|
-
},
|
|
4870
|
+
}, bn(e, l, n));
|
|
4871
4871
|
return {
|
|
4872
4872
|
width: r.right - r.left,
|
|
4873
4873
|
height: r.bottom - r.top,
|
|
@@ -4876,10 +4876,10 @@ function t7(t) {
|
|
|
4876
4876
|
};
|
|
4877
4877
|
}
|
|
4878
4878
|
function a7(t) {
|
|
4879
|
-
return
|
|
4879
|
+
return ai(t);
|
|
4880
4880
|
}
|
|
4881
4881
|
function s7(t, e, a) {
|
|
4882
|
-
const s = We(e), n =
|
|
4882
|
+
const s = We(e), n = at(e), o = a === "fixed", i = Ot(t, !0, o, e);
|
|
4883
4883
|
let l = {
|
|
4884
4884
|
scrollLeft: 0,
|
|
4885
4885
|
scrollTop: 0
|
|
@@ -4890,7 +4890,7 @@ function s7(t, e, a) {
|
|
|
4890
4890
|
const d = Ot(e, !0, o, e);
|
|
4891
4891
|
r.x = d.x + e.clientLeft, r.y = d.y + e.clientTop;
|
|
4892
4892
|
} else
|
|
4893
|
-
n && (r.x =
|
|
4893
|
+
n && (r.x = ni(n));
|
|
4894
4894
|
return {
|
|
4895
4895
|
x: i.left + l.scrollLeft - r.x,
|
|
4896
4896
|
y: i.top + l.scrollTop - r.y,
|
|
@@ -4898,16 +4898,16 @@ function s7(t, e, a) {
|
|
|
4898
4898
|
height: i.height
|
|
4899
4899
|
};
|
|
4900
4900
|
}
|
|
4901
|
-
function
|
|
4901
|
+
function wn(t, e) {
|
|
4902
4902
|
return !We(t) || je(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4903
4903
|
}
|
|
4904
|
-
function
|
|
4904
|
+
function oi(t, e) {
|
|
4905
4905
|
const a = Te(t);
|
|
4906
4906
|
if (!We(t))
|
|
4907
4907
|
return a;
|
|
4908
|
-
let s =
|
|
4908
|
+
let s = wn(t, e);
|
|
4909
4909
|
for (; s && z5(s) && je(s).position === "static"; )
|
|
4910
|
-
s =
|
|
4910
|
+
s = wn(s, e);
|
|
4911
4911
|
return s && (ft(s) === "html" || ft(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || q5(t) || a;
|
|
4912
4912
|
}
|
|
4913
4913
|
const n7 = async function(t) {
|
|
@@ -4916,7 +4916,7 @@ const n7 = async function(t) {
|
|
|
4916
4916
|
floating: a,
|
|
4917
4917
|
strategy: s
|
|
4918
4918
|
} = t;
|
|
4919
|
-
const n = this.getOffsetParent ||
|
|
4919
|
+
const n = this.getOffsetParent || oi, o = this.getDimensions;
|
|
4920
4920
|
return {
|
|
4921
4921
|
reference: s7(e, await n(a), s),
|
|
4922
4922
|
floating: {
|
|
@@ -4931,19 +4931,19 @@ function i7(t) {
|
|
|
4931
4931
|
}
|
|
4932
4932
|
const o7 = {
|
|
4933
4933
|
convertOffsetParentRelativeRectToViewportRelativeRect: K5,
|
|
4934
|
-
getDocumentElement:
|
|
4934
|
+
getDocumentElement: at,
|
|
4935
4935
|
getClippingRect: t7,
|
|
4936
|
-
getOffsetParent:
|
|
4936
|
+
getOffsetParent: oi,
|
|
4937
4937
|
getElementRects: n7,
|
|
4938
4938
|
getClientRects: G5,
|
|
4939
4939
|
getDimensions: a7,
|
|
4940
4940
|
getScale: Nt,
|
|
4941
|
-
isElement:
|
|
4941
|
+
isElement: et,
|
|
4942
4942
|
isRTL: i7
|
|
4943
4943
|
};
|
|
4944
4944
|
function l7(t, e) {
|
|
4945
4945
|
let a = null, s;
|
|
4946
|
-
const n =
|
|
4946
|
+
const n = at(t);
|
|
4947
4947
|
function o() {
|
|
4948
4948
|
clearTimeout(s), a && a.disconnect(), a = null;
|
|
4949
4949
|
}
|
|
@@ -5213,7 +5213,7 @@ function g7(t, e, a) {
|
|
|
5213
5213
|
disabledProp: b,
|
|
5214
5214
|
searchStart: V,
|
|
5215
5215
|
searchFilter: oe
|
|
5216
|
-
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer,
|
|
5216
|
+
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, st = a.clearPointer, $a = a.focus, rs = a.deactivate, nt = a.close, ka = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Qt = A(() => r.value || d.value || !1), Sa = A(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Le = A(() => {
|
|
5217
5217
|
if (le.value) {
|
|
5218
5218
|
let S = bt.value || /* istanbul ignore next */
|
|
5219
5219
|
[], B = [];
|
|
@@ -5225,12 +5225,12 @@ function g7(t, e, a) {
|
|
|
5225
5225
|
} else {
|
|
5226
5226
|
let S = hs(Ue.value || /* istanbul ignore next */
|
|
5227
5227
|
[]);
|
|
5228
|
-
return
|
|
5228
|
+
return it.value.length && (S = S.concat(it.value)), S;
|
|
5229
5229
|
}
|
|
5230
5230
|
}), Jt = A(() => {
|
|
5231
5231
|
let S = Le.value;
|
|
5232
5232
|
return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.value.concat(S)), fs(S);
|
|
5233
|
-
}),
|
|
5233
|
+
}), ot = A(() => {
|
|
5234
5234
|
let S = Jt.value;
|
|
5235
5235
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5236
5236
|
}), bt = A(() => {
|
|
@@ -5238,9 +5238,9 @@ function g7(t, e, a) {
|
|
|
5238
5238
|
return [];
|
|
5239
5239
|
let S = [], B = Ue.value || /* istanbul ignore next */
|
|
5240
5240
|
[];
|
|
5241
|
-
return
|
|
5241
|
+
return it.value.length && S.push({
|
|
5242
5242
|
[z.value]: " ",
|
|
5243
|
-
[E.value]: [...
|
|
5243
|
+
[E.value]: [...it.value],
|
|
5244
5244
|
__CREATE__: !0
|
|
5245
5245
|
}), S.concat(B);
|
|
5246
5246
|
}), Aa = A(() => {
|
|
@@ -5273,7 +5273,7 @@ function g7(t, e, a) {
|
|
|
5273
5273
|
case "tags":
|
|
5274
5274
|
return !Fe(Z.value) && Z.value.length > 0;
|
|
5275
5275
|
}
|
|
5276
|
-
}), Ci = A(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 &&
|
|
5276
|
+
}), Ci = A(() => h !== void 0 && h.value !== void 0 ? h.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Pt = A(() => Qt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5277
5277
|
[L.value]: Y.value,
|
|
5278
5278
|
[wt.value[0]]: Y.value,
|
|
5279
5279
|
[u.value]: Y.value,
|
|
@@ -5296,27 +5296,27 @@ function g7(t, e, a) {
|
|
|
5296
5296
|
ke(Z.value.concat(S));
|
|
5297
5297
|
break;
|
|
5298
5298
|
}
|
|
5299
|
-
e.emit("select",
|
|
5299
|
+
e.emit("select", nn(S), S, ne);
|
|
5300
5300
|
}, Vt = (S) => {
|
|
5301
5301
|
switch (typeof S != "object" && (S = Ke(S)), n.value) {
|
|
5302
5302
|
case "single":
|
|
5303
|
-
|
|
5303
|
+
ln();
|
|
5304
5304
|
break;
|
|
5305
5305
|
case "tags":
|
|
5306
5306
|
case "multiple":
|
|
5307
5307
|
ke(Array.isArray(S) ? Z.value.filter((B) => S.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1) : Z.value.filter((B) => B[L.value] != S[L.value]));
|
|
5308
5308
|
break;
|
|
5309
5309
|
}
|
|
5310
|
-
e.emit("deselect",
|
|
5311
|
-
},
|
|
5310
|
+
e.emit("deselect", nn(S), S, ne);
|
|
5311
|
+
}, nn = (S) => w.value ? S : S[L.value], on = (S) => {
|
|
5312
5312
|
Vt(S);
|
|
5313
5313
|
}, $i = (S, B) => {
|
|
5314
5314
|
if (B.button !== 0) {
|
|
5315
5315
|
B.preventDefault();
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
|
|
5319
|
-
},
|
|
5318
|
+
on(S);
|
|
5319
|
+
}, ln = () => {
|
|
5320
5320
|
ke(bi.value), e.emit("clear", ne);
|
|
5321
5321
|
}, xe = (S) => {
|
|
5322
5322
|
if (S.group !== void 0)
|
|
@@ -5332,42 +5332,42 @@ function g7(t, e, a) {
|
|
|
5332
5332
|
if (!ds(S)) {
|
|
5333
5333
|
if (R && R.value && !xe(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = R.value(S, ne), S instanceof Promise)) {
|
|
5334
5334
|
Ie.value = !0, S.then((B) => {
|
|
5335
|
-
Ie.value = !1,
|
|
5335
|
+
Ie.value = !1, rn(B);
|
|
5336
5336
|
});
|
|
5337
5337
|
return;
|
|
5338
5338
|
}
|
|
5339
|
-
|
|
5339
|
+
rn(S);
|
|
5340
5340
|
}
|
|
5341
|
-
},
|
|
5341
|
+
}, rn = (S) => {
|
|
5342
5342
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5343
5343
|
case "single":
|
|
5344
5344
|
if (S && xe(S)) {
|
|
5345
|
-
K.value && Vt(S), G.value && (
|
|
5345
|
+
K.value && Vt(S), G.value && (st(), nt());
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
|
-
S && vs(S), I.value && he(), j.value && (
|
|
5348
|
+
S && vs(S), I.value && he(), j.value && (st(), nt()), S && Ht(S);
|
|
5349
5349
|
break;
|
|
5350
5350
|
case "multiple":
|
|
5351
5351
|
if (S && xe(S)) {
|
|
5352
|
-
Vt(S), G.value && (
|
|
5352
|
+
Vt(S), G.value && (st(), nt());
|
|
5353
5353
|
return;
|
|
5354
5354
|
}
|
|
5355
5355
|
if (ps()) {
|
|
5356
5356
|
e.emit("max", ne);
|
|
5357
5357
|
return;
|
|
5358
5358
|
}
|
|
5359
|
-
S && (vs(S), Ht(S)), I.value && he(), l.value &&
|
|
5359
|
+
S && (vs(S), Ht(S)), I.value && he(), l.value && st(), j.value && nt();
|
|
5360
5360
|
break;
|
|
5361
5361
|
case "tags":
|
|
5362
5362
|
if (S && xe(S)) {
|
|
5363
|
-
Vt(S), G.value && (
|
|
5363
|
+
Vt(S), G.value && (st(), nt());
|
|
5364
5364
|
return;
|
|
5365
5365
|
}
|
|
5366
5366
|
if (ps()) {
|
|
5367
5367
|
e.emit("max", ne);
|
|
5368
5368
|
return;
|
|
5369
5369
|
}
|
|
5370
|
-
S && vs(S), I.value && he(), S && Ht(S), l.value &&
|
|
5370
|
+
S && vs(S), I.value && he(), S && Ht(S), l.value && st(), j.value && nt();
|
|
5371
5371
|
break;
|
|
5372
5372
|
}
|
|
5373
5373
|
j.value || $a();
|
|
@@ -5386,18 +5386,18 @@ function g7(t, e, a) {
|
|
|
5386
5386
|
}, vs = (S) => {
|
|
5387
5387
|
Ke(S[L.value]) === void 0 && Qt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.value && Ii(S), he());
|
|
5388
5388
|
}, Ai = () => {
|
|
5389
|
-
n.value !== "single" && Ht(
|
|
5389
|
+
n.value !== "single" && Ht(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5390
5390
|
}, Mi = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
5391
|
-
|
|
5391
|
+
it.value.push(S);
|
|
5392
5392
|
}, Li = (S) => T.value ? S.filter(
|
|
5393
5393
|
(B) => Y.value ? B.__VISIBLE__.length : B[E.value].length
|
|
5394
5394
|
) : S.filter((B) => Y.value ? B.__VISIBLE__.length : !0), fs = (S, B = !0) => {
|
|
5395
5395
|
let ue = S;
|
|
5396
5396
|
if (Y.value && _.value) {
|
|
5397
5397
|
let ge = oe.value;
|
|
5398
|
-
ge || (ge = ($t,
|
|
5399
|
-
let
|
|
5400
|
-
return V.value ?
|
|
5398
|
+
ge || (ge = ($t, cn, X4) => wt.value.some((Hi) => {
|
|
5399
|
+
let dn = ys(ka($t[Hi]), ae.value);
|
|
5400
|
+
return V.value ? dn.startsWith(ys(cn, ae.value)) : dn.indexOf(ys(cn, ae.value)) !== -1;
|
|
5401
5401
|
})), ue = ue.filter(($t) => ge($t, Y.value, ne));
|
|
5402
5402
|
}
|
|
5403
5403
|
return l.value && B && (ue = ue.filter((ge) => !Ei(ge))), ue;
|
|
@@ -5443,11 +5443,11 @@ function g7(t, e, a) {
|
|
|
5443
5443
|
[u.value]: B,
|
|
5444
5444
|
[L.value]: B,
|
|
5445
5445
|
[wt.value[0]]: B
|
|
5446
|
-
}),
|
|
5446
|
+
}), un = () => {
|
|
5447
5447
|
Re.value = ce(Y, (S) => {
|
|
5448
5448
|
S.length < m.value || !S && m.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
5449
5449
|
S == Y.value && s.value(Y.value, ne).then((B) => {
|
|
5450
|
-
(S == Y.value || !Y.value) && (Ue.value = B, Gt.value =
|
|
5450
|
+
(S == Y.value || !Y.value) && (Ue.value = B, Gt.value = ot.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ie.value = !1);
|
|
5451
5451
|
}).catch(
|
|
5452
5452
|
/* istanbul ignore next */
|
|
5453
5453
|
(B) => {
|
|
@@ -5459,8 +5459,8 @@ function g7(t, e, a) {
|
|
|
5459
5459
|
};
|
|
5460
5460
|
if (n.value !== "single" && !Fe(H.value) && !Array.isArray(H.value))
|
|
5461
5461
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5462
|
-
return s && typeof s.value == "function" ? $.value ? Ta(Ma) : w.value == !0 && Ma() : (Ue.value = s.value, Ma()), g.value > -1 &&
|
|
5463
|
-
Re.value && Re.value(), S >= 0 &&
|
|
5462
|
+
return s && typeof s.value == "function" ? $.value ? Ta(Ma) : w.value == !0 && Ma() : (Ue.value = s.value, Ma()), g.value > -1 && un(), ce(g, (S, B) => {
|
|
5463
|
+
Re.value && Re.value(), S >= 0 && un();
|
|
5464
5464
|
}), ce(H, (S) => {
|
|
5465
5465
|
if (Fe(S)) {
|
|
5466
5466
|
ke(Oa(S), !1);
|
|
@@ -5481,8 +5481,8 @@ function g7(t, e, a) {
|
|
|
5481
5481
|
Ye.value = ee.value && S === -1 ? 10 : S;
|
|
5482
5482
|
}), {
|
|
5483
5483
|
pfo: Jt,
|
|
5484
|
-
fo:
|
|
5485
|
-
filteredOptions:
|
|
5484
|
+
fo: ot,
|
|
5485
|
+
filteredOptions: ot,
|
|
5486
5486
|
hasSelected: cs,
|
|
5487
5487
|
multipleLabelText: Ci,
|
|
5488
5488
|
eo: Le,
|
|
@@ -5498,9 +5498,9 @@ function g7(t, e, a) {
|
|
|
5498
5498
|
offset: Ye,
|
|
5499
5499
|
select: Ht,
|
|
5500
5500
|
deselect: Vt,
|
|
5501
|
-
remove:
|
|
5501
|
+
remove: on,
|
|
5502
5502
|
selectAll: Ai,
|
|
5503
|
-
clear:
|
|
5503
|
+
clear: ln,
|
|
5504
5504
|
isSelected: xe,
|
|
5505
5505
|
isDisabled: ds,
|
|
5506
5506
|
isMax: ps,
|
|
@@ -5632,14 +5632,14 @@ function ks() {
|
|
|
5632
5632
|
return e.brand + "/" + e.version;
|
|
5633
5633
|
}).join(" ") : navigator.userAgent;
|
|
5634
5634
|
}
|
|
5635
|
-
function
|
|
5635
|
+
function li() {
|
|
5636
5636
|
return !/^((?!chrome|android).)*safari/i.test(ks());
|
|
5637
5637
|
}
|
|
5638
5638
|
function qt(t, e, a) {
|
|
5639
5639
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5640
5640
|
var s = t.getBoundingClientRect(), n = 1, o = 1;
|
|
5641
5641
|
e && Be(t) && (n = t.offsetWidth > 0 && zt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && zt(s.height) / t.offsetHeight || 1);
|
|
5642
|
-
var i = Et(t) ? Oe(t) : window, l = i.visualViewport, r = !
|
|
5642
|
+
var i = Et(t) ? Oe(t) : window, l = i.visualViewport, r = !li() && a, d = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / o, c = s.width / n, p = s.height / o;
|
|
5643
5643
|
return {
|
|
5644
5644
|
width: c,
|
|
5645
5645
|
height: p,
|
|
@@ -5679,11 +5679,11 @@ function _t(t) {
|
|
|
5679
5679
|
function Zs(t) {
|
|
5680
5680
|
return qt(_t(t)).left + Fs(t).scrollLeft;
|
|
5681
5681
|
}
|
|
5682
|
-
function
|
|
5682
|
+
function tt(t) {
|
|
5683
5683
|
return Oe(t).getComputedStyle(t);
|
|
5684
5684
|
}
|
|
5685
5685
|
function Ws(t) {
|
|
5686
|
-
var e =
|
|
5686
|
+
var e = tt(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
|
|
5687
5687
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5688
5688
|
}
|
|
5689
5689
|
function b7(t) {
|
|
@@ -5707,7 +5707,7 @@ function w7(t, e, a) {
|
|
|
5707
5707
|
height: i.height
|
|
5708
5708
|
};
|
|
5709
5709
|
}
|
|
5710
|
-
function
|
|
5710
|
+
function ri(t) {
|
|
5711
5711
|
var e = qt(t), a = t.offsetWidth, s = t.offsetHeight;
|
|
5712
5712
|
return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - s) <= 1 && (s = e.height), {
|
|
5713
5713
|
x: t.offsetLeft,
|
|
@@ -5728,13 +5728,13 @@ function ss(t) {
|
|
|
5728
5728
|
_t(t)
|
|
5729
5729
|
);
|
|
5730
5730
|
}
|
|
5731
|
-
function
|
|
5732
|
-
return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t :
|
|
5731
|
+
function ui(t) {
|
|
5732
|
+
return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ui(ss(t));
|
|
5733
5733
|
}
|
|
5734
5734
|
function oa(t, e) {
|
|
5735
5735
|
var a;
|
|
5736
5736
|
e === void 0 && (e = []);
|
|
5737
|
-
var s =
|
|
5737
|
+
var s = ui(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Oe(s), i = n ? [o].concat(o.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(i);
|
|
5738
5738
|
return n ? l : (
|
|
5739
5739
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5740
5740
|
l.concat(oa(ss(i)))
|
|
@@ -5743,20 +5743,20 @@ function oa(t, e) {
|
|
|
5743
5743
|
function $7(t) {
|
|
5744
5744
|
return ["table", "td", "th"].indexOf(ze(t)) >= 0;
|
|
5745
5745
|
}
|
|
5746
|
-
function
|
|
5746
|
+
function $n(t) {
|
|
5747
5747
|
return !Be(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5748
|
-
|
|
5748
|
+
tt(t).position === "fixed" ? null : t.offsetParent;
|
|
5749
5749
|
}
|
|
5750
5750
|
function k7(t) {
|
|
5751
5751
|
var e = /firefox/i.test(ks()), a = /Trident/i.test(ks());
|
|
5752
5752
|
if (a && Be(t)) {
|
|
5753
|
-
var s =
|
|
5753
|
+
var s = tt(t);
|
|
5754
5754
|
if (s.position === "fixed")
|
|
5755
5755
|
return null;
|
|
5756
5756
|
}
|
|
5757
5757
|
var n = ss(t);
|
|
5758
5758
|
for (Us(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(ze(n)) < 0; ) {
|
|
5759
|
-
var o =
|
|
5759
|
+
var o = tt(n);
|
|
5760
5760
|
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")
|
|
5761
5761
|
return n;
|
|
5762
5762
|
n = n.parentNode;
|
|
@@ -5764,11 +5764,11 @@ function k7(t) {
|
|
|
5764
5764
|
return null;
|
|
5765
5765
|
}
|
|
5766
5766
|
function ns(t) {
|
|
5767
|
-
for (var e = Oe(t), a =
|
|
5768
|
-
a =
|
|
5769
|
-
return a && (ze(a) === "html" || ze(a) === "body" &&
|
|
5767
|
+
for (var e = Oe(t), a = $n(t); a && $7(a) && tt(a).position === "static"; )
|
|
5768
|
+
a = $n(a);
|
|
5769
|
+
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || k7(t) || e;
|
|
5770
5770
|
}
|
|
5771
|
-
var Ne = "top", qe = "bottom", ht = "right",
|
|
5771
|
+
var Ne = "top", qe = "bottom", ht = "right", Ge = "left", zs = "auto", is = [Ne, qe, ht, Ge], Yt = "start", va = "end", S7 = "clippingParents", ci = "viewport", ia = "popper", A7 = "reference", kn = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5772
5772
|
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5773
5773
|
}, []), M7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5774
5774
|
return t.concat([e, e + "-" + Yt, e + "-" + va]);
|
|
@@ -5826,7 +5826,7 @@ function F7(t, e) {
|
|
|
5826
5826
|
var a = Oe(t), s = _t(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
5827
5827
|
if (n) {
|
|
5828
5828
|
o = n.width, i = n.height;
|
|
5829
|
-
var d =
|
|
5829
|
+
var d = li();
|
|
5830
5830
|
(d || !d && e === "fixed") && (l = n.offsetLeft, r = n.offsetTop);
|
|
5831
5831
|
}
|
|
5832
5832
|
return {
|
|
@@ -5838,7 +5838,7 @@ function F7(t, e) {
|
|
|
5838
5838
|
}
|
|
5839
5839
|
function Z7(t) {
|
|
5840
5840
|
var e, a = _t(t), s = Fs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = At(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = At(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Zs(t), r = -s.scrollTop;
|
|
5841
|
-
return
|
|
5841
|
+
return tt(n || a).direction === "rtl" && (l += At(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5842
5842
|
width: o,
|
|
5843
5843
|
height: i,
|
|
5844
5844
|
x: l,
|
|
@@ -5871,20 +5871,20 @@ function z7(t, e) {
|
|
|
5871
5871
|
var a = qt(t, !1, e === "fixed");
|
|
5872
5872
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5873
5873
|
}
|
|
5874
|
-
function
|
|
5875
|
-
return e ===
|
|
5874
|
+
function Sn(t, e, a) {
|
|
5875
|
+
return e === ci ? Ss(F7(t, a)) : Et(e) ? z7(e, a) : Ss(Z7(_t(t)));
|
|
5876
5876
|
}
|
|
5877
5877
|
function q7(t) {
|
|
5878
|
-
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(
|
|
5878
|
+
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
5879
5879
|
return Et(s) ? e.filter(function(n) {
|
|
5880
5880
|
return Et(n) && W7(n, s) && ze(n) !== "body";
|
|
5881
5881
|
}) : [];
|
|
5882
5882
|
}
|
|
5883
5883
|
function Y7(t, e, a, s) {
|
|
5884
5884
|
var n = e === "clippingParents" ? q7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], l = o.reduce(function(r, d) {
|
|
5885
|
-
var u =
|
|
5885
|
+
var u = Sn(t, d, s);
|
|
5886
5886
|
return r.top = At(u.top, r.top), r.right = Wa(u.right, r.right), r.bottom = Wa(u.bottom, r.bottom), r.left = At(u.left, r.left), r;
|
|
5887
|
-
},
|
|
5887
|
+
}, Sn(t, i, s));
|
|
5888
5888
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
5889
5889
|
}
|
|
5890
5890
|
function ct(t) {
|
|
@@ -5893,10 +5893,10 @@ function ct(t) {
|
|
|
5893
5893
|
function xt(t) {
|
|
5894
5894
|
return t.split("-")[1];
|
|
5895
5895
|
}
|
|
5896
|
-
function
|
|
5896
|
+
function di(t) {
|
|
5897
5897
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5898
5898
|
}
|
|
5899
|
-
function
|
|
5899
|
+
function pi(t) {
|
|
5900
5900
|
var e = t.reference, a = t.element, s = t.placement, n = s ? ct(s) : null, o = s ? xt(s) : null, i = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, r;
|
|
5901
5901
|
switch (n) {
|
|
5902
5902
|
case Ne:
|
|
@@ -5917,7 +5917,7 @@ function di(t) {
|
|
|
5917
5917
|
y: l
|
|
5918
5918
|
};
|
|
5919
5919
|
break;
|
|
5920
|
-
case
|
|
5920
|
+
case Ge:
|
|
5921
5921
|
r = {
|
|
5922
5922
|
x: e.x - a.width,
|
|
5923
5923
|
y: l
|
|
@@ -5929,7 +5929,7 @@ function di(t) {
|
|
|
5929
5929
|
y: e.y
|
|
5930
5930
|
};
|
|
5931
5931
|
}
|
|
5932
|
-
var d = n ?
|
|
5932
|
+
var d = n ? di(n) : null;
|
|
5933
5933
|
if (d != null) {
|
|
5934
5934
|
var u = d === "y" ? "height" : "width";
|
|
5935
5935
|
switch (o) {
|
|
@@ -5943,7 +5943,7 @@ function di(t) {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
return r;
|
|
5945
5945
|
}
|
|
5946
|
-
function
|
|
5946
|
+
function vi() {
|
|
5947
5947
|
return {
|
|
5948
5948
|
top: 0,
|
|
5949
5949
|
right: 0,
|
|
@@ -5952,7 +5952,7 @@ function pi() {
|
|
|
5952
5952
|
};
|
|
5953
5953
|
}
|
|
5954
5954
|
function x7(t) {
|
|
5955
|
-
return Object.assign({},
|
|
5955
|
+
return Object.assign({}, vi(), t);
|
|
5956
5956
|
}
|
|
5957
5957
|
function K7(t, e) {
|
|
5958
5958
|
return e.reduce(function(a, s) {
|
|
@@ -5961,7 +5961,7 @@ function K7(t, e) {
|
|
|
5961
5961
|
}
|
|
5962
5962
|
function qs(t, e) {
|
|
5963
5963
|
e === void 0 && (e = {});
|
|
5964
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ?
|
|
5964
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? ci : d, c = a.elementContext, p = c === void 0 ? ia : c, h = a.altBoundary, w = h === void 0 ? !1 : h, y = a.padding, g = y === void 0 ? 0 : y, $ = x7(typeof g != "number" ? g : K7(g, is)), m = p === ia ? A7 : ia, _ = t.rects.popper, P = t.elements[w ? m : p], I = Y7(Et(P) ? P : P.contextElement || _t(t.elements.popper), r, u, i), L = qt(t.elements.reference), F = pi({
|
|
5965
5965
|
reference: L,
|
|
5966
5966
|
element: _,
|
|
5967
5967
|
strategy: "absolute",
|
|
@@ -5981,12 +5981,12 @@ function qs(t, e) {
|
|
|
5981
5981
|
}
|
|
5982
5982
|
return J;
|
|
5983
5983
|
}
|
|
5984
|
-
var
|
|
5984
|
+
var An = {
|
|
5985
5985
|
placement: "bottom",
|
|
5986
5986
|
modifiers: [],
|
|
5987
5987
|
strategy: "absolute"
|
|
5988
5988
|
};
|
|
5989
|
-
function
|
|
5989
|
+
function Mn() {
|
|
5990
5990
|
for (var t = arguments.length, e = new Array(t), a = 0; a < t; a++)
|
|
5991
5991
|
e[a] = arguments[a];
|
|
5992
5992
|
return !e.some(function(s) {
|
|
@@ -5995,13 +5995,13 @@ function An() {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
function G7(t) {
|
|
5997
5997
|
t === void 0 && (t = {});
|
|
5998
|
-
var e = t, a = e.defaultModifiers, s = a === void 0 ? [] : a, n = e.defaultOptions, o = n === void 0 ?
|
|
5998
|
+
var e = t, a = e.defaultModifiers, s = a === void 0 ? [] : a, n = e.defaultOptions, o = n === void 0 ? An : n;
|
|
5999
5999
|
return function(l, r, d) {
|
|
6000
6000
|
d === void 0 && (d = o);
|
|
6001
6001
|
var u = {
|
|
6002
6002
|
placement: "bottom",
|
|
6003
6003
|
orderedModifiers: [],
|
|
6004
|
-
options: Object.assign({},
|
|
6004
|
+
options: Object.assign({}, An, o),
|
|
6005
6005
|
modifiersData: {},
|
|
6006
6006
|
elements: {
|
|
6007
6007
|
reference: l,
|
|
@@ -6030,10 +6030,10 @@ function G7(t) {
|
|
|
6030
6030
|
forceUpdate: function() {
|
|
6031
6031
|
if (!p) {
|
|
6032
6032
|
var $ = u.elements, m = $.reference, _ = $.popper;
|
|
6033
|
-
if (
|
|
6033
|
+
if (Mn(m, _)) {
|
|
6034
6034
|
u.rects = {
|
|
6035
6035
|
reference: w7(m, ns(_), u.options.strategy === "fixed"),
|
|
6036
|
-
popper:
|
|
6036
|
+
popper: ri(_)
|
|
6037
6037
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(J) {
|
|
6038
6038
|
return u.modifiersData[J.name] = Object.assign({}, J.data);
|
|
6039
6039
|
});
|
|
@@ -6064,7 +6064,7 @@ function G7(t) {
|
|
|
6064
6064
|
y(), p = !0;
|
|
6065
6065
|
}
|
|
6066
6066
|
};
|
|
6067
|
-
if (!
|
|
6067
|
+
if (!Mn(l, r))
|
|
6068
6068
|
return h;
|
|
6069
6069
|
h.setOptions(d).then(function(g) {
|
|
6070
6070
|
!p && d.onFirstUpdate && d.onFirstUpdate(g);
|
|
@@ -6116,7 +6116,7 @@ var Q7 = {
|
|
|
6116
6116
|
};
|
|
6117
6117
|
function J7(t) {
|
|
6118
6118
|
var e = t.state, a = t.name;
|
|
6119
|
-
e.modifiersData[a] =
|
|
6119
|
+
e.modifiersData[a] = pi({
|
|
6120
6120
|
reference: e.rects.reference,
|
|
6121
6121
|
element: e.rects.popper,
|
|
6122
6122
|
strategy: "absolute",
|
|
@@ -6142,7 +6142,7 @@ function ap(t, e) {
|
|
|
6142
6142
|
y: zt(s * n) / n || 0
|
|
6143
6143
|
};
|
|
6144
6144
|
}
|
|
6145
|
-
function
|
|
6145
|
+
function Tn(t) {
|
|
6146
6146
|
var e, a = t.popper, s = t.popperRect, n = t.placement, o = t.variation, i = t.offsets, l = t.position, r = t.gpuAcceleration, d = t.adaptive, u = t.roundOffsets, c = t.isFixed, p = i.x, h = p === void 0 ? 0 : p, w = i.y, y = w === void 0 ? 0 : w, g = typeof u == "function" ? u({
|
|
6147
6147
|
x: h,
|
|
6148
6148
|
y
|
|
@@ -6151,10 +6151,10 @@ function Mn(t) {
|
|
|
6151
6151
|
y
|
|
6152
6152
|
};
|
|
6153
6153
|
h = g.x, y = g.y;
|
|
6154
|
-
var $ = i.hasOwnProperty("x"), m = i.hasOwnProperty("y"), _ =
|
|
6154
|
+
var $ = i.hasOwnProperty("x"), m = i.hasOwnProperty("y"), _ = Ge, P = Ne, I = window;
|
|
6155
6155
|
if (d) {
|
|
6156
6156
|
var L = ns(a), F = "clientHeight", z = "clientWidth";
|
|
6157
|
-
if (L === Oe(a) && (L = _t(a),
|
|
6157
|
+
if (L === Oe(a) && (L = _t(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ht) && o === va) {
|
|
6158
6158
|
P = qe;
|
|
6159
6159
|
var K = c && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
@@ -6162,7 +6162,7 @@ function Mn(t) {
|
|
|
6162
6162
|
);
|
|
6163
6163
|
y -= K - s.height, y *= r ? 1 : -1;
|
|
6164
6164
|
}
|
|
6165
|
-
if (n ===
|
|
6165
|
+
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6166
6166
|
_ = ht;
|
|
6167
6167
|
var J = c && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
@@ -6195,12 +6195,12 @@ function sp(t) {
|
|
|
6195
6195
|
gpuAcceleration: n,
|
|
6196
6196
|
isFixed: e.options.strategy === "fixed"
|
|
6197
6197
|
};
|
|
6198
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
6198
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Tn(Object.assign({}, d, {
|
|
6199
6199
|
offsets: e.modifiersData.popperOffsets,
|
|
6200
6200
|
position: e.options.strategy,
|
|
6201
6201
|
adaptive: i,
|
|
6202
6202
|
roundOffsets: r
|
|
6203
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
6203
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Tn(Object.assign({}, d, {
|
|
6204
6204
|
offsets: e.modifiersData.arrow,
|
|
6205
6205
|
position: "absolute",
|
|
6206
6206
|
adaptive: !1,
|
|
@@ -6276,7 +6276,7 @@ function pp(t) {
|
|
|
6276
6276
|
rootBoundary: d,
|
|
6277
6277
|
padding: c,
|
|
6278
6278
|
altBoundary: u
|
|
6279
|
-
}), $ = ct(e.placement), m = xt(e.placement), _ = !m, P =
|
|
6279
|
+
}), $ = ct(e.placement), m = xt(e.placement), _ = !m, P = di($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof y == "function" ? y(Object.assign({}, e.rects, {
|
|
6280
6280
|
placement: e.placement
|
|
6281
6281
|
})) : y, J = typeof K == "number" ? {
|
|
6282
6282
|
mainAxis: K,
|
|
@@ -6290,14 +6290,14 @@ function pp(t) {
|
|
|
6290
6290
|
};
|
|
6291
6291
|
if (L) {
|
|
6292
6292
|
if (o) {
|
|
6293
|
-
var G, le = P === "y" ? Ne :
|
|
6293
|
+
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = m === Yt ? F[ee] : z[ee], V = m === Yt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? ri(oe) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
|
-
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding :
|
|
6296
|
+
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? At(k, nt) : k);
|
|
6297
6297
|
L[P] = ka, j[P] = ka - E;
|
|
6298
6298
|
}
|
|
6299
6299
|
if (l) {
|
|
6300
|
-
var
|
|
6300
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + J.altAxis, bt = Le ? Re + F[Ye] + z[Ye] - Jt - J.altAxis : Sa, Aa = h && Le ? dp(ot, Re, bt) : Va(h ? ot : Qt, Re, h ? bt : Sa);
|
|
6301
6301
|
L[I] = Aa, j[I] = Aa - Re;
|
|
6302
6302
|
}
|
|
6303
6303
|
e.modifiersData[s] = j;
|
|
@@ -6324,14 +6324,14 @@ var hp = {
|
|
|
6324
6324
|
start: "end",
|
|
6325
6325
|
end: "start"
|
|
6326
6326
|
};
|
|
6327
|
-
function
|
|
6327
|
+
function On(t) {
|
|
6328
6328
|
return t.replace(/start|end/g, function(e) {
|
|
6329
6329
|
return hp[e];
|
|
6330
6330
|
});
|
|
6331
6331
|
}
|
|
6332
6332
|
function mp(t, e) {
|
|
6333
6333
|
e === void 0 && (e = {});
|
|
6334
|
-
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, d = r === void 0 ? M7 : r, u = xt(s), c = u ? l ?
|
|
6334
|
+
var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, d = r === void 0 ? M7 : r, u = xt(s), c = u ? l ? kn : kn.filter(function(w) {
|
|
6335
6335
|
return xt(w) === u;
|
|
6336
6336
|
}) : is, p = c.filter(function(w) {
|
|
6337
6337
|
return d.indexOf(w) >= 0;
|
|
@@ -6353,7 +6353,7 @@ function gp(t) {
|
|
|
6353
6353
|
if (ct(t) === zs)
|
|
6354
6354
|
return [];
|
|
6355
6355
|
var e = Da(t);
|
|
6356
|
-
return [
|
|
6356
|
+
return [On(t), e, On(e)];
|
|
6357
6357
|
}
|
|
6358
6358
|
function Cp(t) {
|
|
6359
6359
|
var e = t.state, a = t.options, s = t.name;
|
|
@@ -6374,7 +6374,7 @@ function Cp(t) {
|
|
|
6374
6374
|
rootBoundary: c,
|
|
6375
6375
|
altBoundary: p,
|
|
6376
6376
|
padding: d
|
|
6377
|
-
}), E = le ? G ? ht :
|
|
6377
|
+
}), E = le ? G ? ht : Ge : G ? qe : Ne;
|
|
6378
6378
|
I[se] > L[se] && (E = Da(E));
|
|
6379
6379
|
var T = Da(E), k = [];
|
|
6380
6380
|
if (o && k.push(ee[j] <= 0), l && k.push(ee[E] <= 0, ee[T] <= 0), k.every(function(ne) {
|
|
@@ -7720,7 +7720,7 @@ const Se = /* @__PURE__ */ q({
|
|
|
7720
7720
|
]), 1536));
|
|
7721
7721
|
}
|
|
7722
7722
|
});
|
|
7723
|
-
var
|
|
7723
|
+
var En;
|
|
7724
7724
|
function yt() {
|
|
7725
7725
|
const t = Xp(), e = t.appContext.config.globalProperties;
|
|
7726
7726
|
return {
|
|
@@ -7745,16 +7745,16 @@ q({
|
|
|
7745
7745
|
return () => {
|
|
7746
7746
|
const a = t.translation, s = [];
|
|
7747
7747
|
let n, o = 0;
|
|
7748
|
-
for (; (n =
|
|
7748
|
+
for (; (n = En.exec(a)) !== null; ) {
|
|
7749
7749
|
s.push(a.substring(o, n.index));
|
|
7750
7750
|
const i = e[n[1]];
|
|
7751
|
-
i ? s.push(...i()) : s.push(n[0]), o =
|
|
7751
|
+
i ? s.push(...i()) : s.push(n[0]), o = En.lastIndex;
|
|
7752
7752
|
}
|
|
7753
7753
|
return s.push(a.substring(o)), s;
|
|
7754
7754
|
};
|
|
7755
7755
|
}
|
|
7756
7756
|
});
|
|
7757
|
-
async function
|
|
7757
|
+
async function Xe(t, e) {
|
|
7758
7758
|
if (e && t && t.length - e.length === 1) {
|
|
7759
7759
|
const a = new Set(e.map((l) => l.id)), s = t.filter(
|
|
7760
7760
|
(l) => !a.has(l.id)
|
|
@@ -7785,7 +7785,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7785
7785
|
setup(t, { emit: e }) {
|
|
7786
7786
|
const a = t, { t: s } = yt();
|
|
7787
7787
|
ce(() => a.tasks, (c, p) => {
|
|
7788
|
-
|
|
7788
|
+
Xe(c, p);
|
|
7789
7789
|
});
|
|
7790
7790
|
const n = A(
|
|
7791
7791
|
() => {
|
|
@@ -7866,7 +7866,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7866
7866
|
onChange: (g) => d(g, h.id)
|
|
7867
7867
|
}, {
|
|
7868
7868
|
tag: N(({ option: g, handleTagRemove: $ }) => [
|
|
7869
|
-
M(
|
|
7869
|
+
M(Je, {
|
|
7870
7870
|
"user-name": g.label,
|
|
7871
7871
|
"avatar-url": g.avatar,
|
|
7872
7872
|
"is-closable": !0,
|
|
@@ -8034,7 +8034,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8034
8034
|
const a = t, s = A(() => {
|
|
8035
8035
|
const y = a.user;
|
|
8036
8036
|
return y ? `${y == null ? void 0 : y.firstName} ${y == null ? void 0 : y.lastName}` : null;
|
|
8037
|
-
}), n = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } =
|
|
8037
|
+
}), n = x(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Hn(n), d = A(() => {
|
|
8038
8038
|
const y = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), $ = /* @__PURE__ */ new Date(), m = y ?? g;
|
|
8039
8039
|
return m && d3(m, $);
|
|
8040
8040
|
}), u = A(() => o.value ? "textarea" : "p"), c = r(), p = l((y) => {
|
|
@@ -8053,7 +8053,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8053
8053
|
}), (y, g) => {
|
|
8054
8054
|
var $;
|
|
8055
8055
|
return v(), C("li", hv, [
|
|
8056
|
-
s.value ? (v(), D(
|
|
8056
|
+
s.value ? (v(), D(Je, {
|
|
8057
8057
|
key: 0,
|
|
8058
8058
|
"avatar-url": ($ = y.user) == null ? void 0 : $.avatarUrl,
|
|
8059
8059
|
"user-name": s.value,
|
|
@@ -8668,7 +8668,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8668
8668
|
option: H,
|
|
8669
8669
|
handleTagRemove: Y
|
|
8670
8670
|
}) => [
|
|
8671
|
-
M(
|
|
8671
|
+
M(Je, {
|
|
8672
8672
|
"user-name": H.label,
|
|
8673
8673
|
"avatar-url": H.avatar,
|
|
8674
8674
|
"is-closable": !0,
|
|
@@ -8791,7 +8791,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8791
8791
|
]),
|
|
8792
8792
|
b.isTemplate !== !0 && k.value ? (v(), C("div", Af, [
|
|
8793
8793
|
f("div", Mf, [
|
|
8794
|
-
M(
|
|
8794
|
+
M(Je, {
|
|
8795
8795
|
"user-name": k.value,
|
|
8796
8796
|
color: "black"
|
|
8797
8797
|
}, null, 8, ["user-name"]),
|
|
@@ -9015,7 +9015,7 @@ const Lf = {
|
|
|
9015
9015
|
return (E = n.value) == null ? void 0 : E.phases;
|
|
9016
9016
|
},
|
|
9017
9017
|
(E, T) => {
|
|
9018
|
-
o.value &&
|
|
9018
|
+
o.value && Xe(E, T);
|
|
9019
9019
|
}
|
|
9020
9020
|
);
|
|
9021
9021
|
const i = A(() => {
|
|
@@ -9028,7 +9028,7 @@ const Lf = {
|
|
|
9028
9028
|
return (E = i.value) == null ? void 0 : E.milestones;
|
|
9029
9029
|
},
|
|
9030
9030
|
(E, T) => {
|
|
9031
|
-
o.value &&
|
|
9031
|
+
o.value && Xe(E, T);
|
|
9032
9032
|
}
|
|
9033
9033
|
);
|
|
9034
9034
|
const l = A(() => {
|
|
@@ -9043,7 +9043,7 @@ const Lf = {
|
|
|
9043
9043
|
return (E = l.value) == null ? void 0 : E.activities;
|
|
9044
9044
|
},
|
|
9045
9045
|
(E, T) => {
|
|
9046
|
-
o.value &&
|
|
9046
|
+
o.value && Xe(E, T);
|
|
9047
9047
|
}
|
|
9048
9048
|
);
|
|
9049
9049
|
const r = A(() => {
|
|
@@ -9437,310 +9437,6 @@ const ls = /* @__PURE__ */ q({
|
|
|
9437
9437
|
], 2));
|
|
9438
9438
|
}
|
|
9439
9439
|
});
|
|
9440
|
-
const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-project-item__title-line" }, qf = {
|
|
9441
|
-
key: 0,
|
|
9442
|
-
class: "ao-card-project-item-phase__estimation"
|
|
9443
|
-
}, Yf = { class: "ao-card-project-phase__footer" }, xf = {
|
|
9444
|
-
key: 0,
|
|
9445
|
-
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
9446
|
-
}, Kf = { class: "ao-card-project-phase__subitem" }, Gf = { class: "ao-card-project-phase__subitem" }, Xf = {
|
|
9447
|
-
key: 0,
|
|
9448
|
-
class: "ao-card-project-phase__secondary"
|
|
9449
|
-
}, Qf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Jf = /* @__PURE__ */ q({
|
|
9450
|
-
__name: "AoCardProjectItemPhase",
|
|
9451
|
-
props: {
|
|
9452
|
-
id: {},
|
|
9453
|
-
projectName: {},
|
|
9454
|
-
name: {},
|
|
9455
|
-
milestones: {},
|
|
9456
|
-
isEditable: { type: Boolean },
|
|
9457
|
-
deadline: {},
|
|
9458
|
-
active: { type: Boolean },
|
|
9459
|
-
color: {}
|
|
9460
|
-
},
|
|
9461
|
-
emits: ["update:title", "update:deadline", "archivePhase", "unarchivePhase", "updatePhase"],
|
|
9462
|
-
setup(t, { emit: e }) {
|
|
9463
|
-
const a = t, s = (c) => {
|
|
9464
|
-
e("update:title", c);
|
|
9465
|
-
}, n = A(() => {
|
|
9466
|
-
var c;
|
|
9467
|
-
return (c = a.milestones) == null ? void 0 : c.reduce(
|
|
9468
|
-
(p, h) => {
|
|
9469
|
-
var w;
|
|
9470
|
-
return p + ((w = h.activities) == null ? void 0 : w.reduce((y, g) => y + (g.estimation || 0), 0));
|
|
9471
|
-
},
|
|
9472
|
-
0
|
|
9473
|
-
);
|
|
9474
|
-
}), o = A(() => {
|
|
9475
|
-
var c;
|
|
9476
|
-
return (c = a.milestones) == null ? void 0 : c.length;
|
|
9477
|
-
}), i = A(() => {
|
|
9478
|
-
var c;
|
|
9479
|
-
return (c = a.milestones) == null ? void 0 : c.filter((p) => p.status === Ba.done).length;
|
|
9480
|
-
}), l = A(() => (i.value || 0) / (o.value || 1)), r = A({
|
|
9481
|
-
get: () => a.deadline ?? "",
|
|
9482
|
-
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
9483
|
-
}), d = A({
|
|
9484
|
-
get: () => a.color,
|
|
9485
|
-
set: (c) => {
|
|
9486
|
-
e("updatePhase", {
|
|
9487
|
-
id: a.id,
|
|
9488
|
-
color: c
|
|
9489
|
-
});
|
|
9490
|
-
}
|
|
9491
|
-
}), u = (c, p) => {
|
|
9492
|
-
const h = c.target;
|
|
9493
|
-
h.closest("button") || h.closest("input") || h.closest(".ao-title") || p();
|
|
9494
|
-
};
|
|
9495
|
-
return (c, p) => {
|
|
9496
|
-
const h = Ge("AoColorPicker");
|
|
9497
|
-
return v(), D(h, {
|
|
9498
|
-
color: d.value,
|
|
9499
|
-
"onUpdate:color": p[2] || (p[2] = (w) => d.value = w)
|
|
9500
|
-
}, {
|
|
9501
|
-
clickable: N(({ openPicker: w, bgColor: y }) => [
|
|
9502
|
-
M(os, {
|
|
9503
|
-
class: "ao-card-project-phase",
|
|
9504
|
-
"is-clickable": c.isEditable,
|
|
9505
|
-
color: y,
|
|
9506
|
-
withLeftBorder: !0,
|
|
9507
|
-
onClick: (g) => u(g, w)
|
|
9508
|
-
}, fa({
|
|
9509
|
-
default: N(() => [
|
|
9510
|
-
f("div", zf, [
|
|
9511
|
-
M(be, {
|
|
9512
|
-
id: c.id,
|
|
9513
|
-
class: "ao-card-project-phase__title",
|
|
9514
|
-
title: c.name || "",
|
|
9515
|
-
level: 4,
|
|
9516
|
-
"is-editable": c.isEditable,
|
|
9517
|
-
"onUpdate:title": s
|
|
9518
|
-
}, null, 8, ["id", "title", "is-editable"]),
|
|
9519
|
-
n.value ? (v(), C("span", qf, " (" + W(n.value) + ")", 1)) : O("", !0)
|
|
9520
|
-
])
|
|
9521
|
-
]),
|
|
9522
|
-
footer: N(() => [
|
|
9523
|
-
f("div", Yf, [
|
|
9524
|
-
o.value ? (v(), C("div", xf, [
|
|
9525
|
-
f("div", Kf, [
|
|
9526
|
-
M(pe, {
|
|
9527
|
-
name: "MountainFlagOutlineRounded",
|
|
9528
|
-
size: "sm"
|
|
9529
|
-
}),
|
|
9530
|
-
f("span", Gf, W(i.value) + " / " + W(o.value), 1)
|
|
9531
|
-
]),
|
|
9532
|
-
M(ls, {
|
|
9533
|
-
percentages: l.value,
|
|
9534
|
-
class: "ao-card-project-phase__progress",
|
|
9535
|
-
color: c.color
|
|
9536
|
-
}, null, 8, ["percentages", "color"]),
|
|
9537
|
-
c.$slots.secondary ? (v(), C("div", Xf, [
|
|
9538
|
-
te(c.$slots, "secondary")
|
|
9539
|
-
])) : O("", !0)
|
|
9540
|
-
])) : O("", !0),
|
|
9541
|
-
f("div", {
|
|
9542
|
-
class: X(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
9543
|
-
}, [
|
|
9544
|
-
c.isEditable ? De((v(), C("input", {
|
|
9545
|
-
key: 0,
|
|
9546
|
-
"onUpdate:modelValue": p[1] || (p[1] = (g) => r.value = g),
|
|
9547
|
-
class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
|
|
9548
|
-
type: "date"
|
|
9549
|
-
}, null, 512)), [
|
|
9550
|
-
[
|
|
9551
|
-
Ze,
|
|
9552
|
-
r.value,
|
|
9553
|
-
void 0,
|
|
9554
|
-
{ lazy: !0 }
|
|
9555
|
-
]
|
|
9556
|
-
]) : O("", !0),
|
|
9557
|
-
f("span", Qf, W(Q(Qa)(c.deadline)), 1)
|
|
9558
|
-
], 2)
|
|
9559
|
-
])
|
|
9560
|
-
]),
|
|
9561
|
-
_: 2
|
|
9562
|
-
}, [
|
|
9563
|
-
c.isEditable ? {
|
|
9564
|
-
name: "header",
|
|
9565
|
-
fn: N(() => [
|
|
9566
|
-
f("div", Wf, [
|
|
9567
|
-
M(re, {
|
|
9568
|
-
class: "ao-card-project-phase__archive",
|
|
9569
|
-
color: "primary",
|
|
9570
|
-
variant: "ghost",
|
|
9571
|
-
"icon-name": "ArchiveOutlineRounded",
|
|
9572
|
-
size: "sm",
|
|
9573
|
-
"icon-position": "start",
|
|
9574
|
-
corners: "round",
|
|
9575
|
-
label: c.active ? c.$t("archive") : c.$t("unarchive"),
|
|
9576
|
-
onClick: p[0] || (p[0] = ve(
|
|
9577
|
-
() => c.active ? c.$emit("archivePhase", { id: c.id }) : c.$emit("unarchivePhase", { id: c.id }),
|
|
9578
|
-
["stop"]
|
|
9579
|
-
))
|
|
9580
|
-
}, null, 8, ["label"])
|
|
9581
|
-
])
|
|
9582
|
-
]),
|
|
9583
|
-
key: "0"
|
|
9584
|
-
} : void 0
|
|
9585
|
-
]), 1032, ["is-clickable", "color", "onClick"])
|
|
9586
|
-
]),
|
|
9587
|
-
_: 3
|
|
9588
|
-
}, 8, ["color"]);
|
|
9589
|
-
};
|
|
9590
|
-
}
|
|
9591
|
-
});
|
|
9592
|
-
const eh = /* @__PURE__ */ q({
|
|
9593
|
-
__name: "AoBadge",
|
|
9594
|
-
props: {
|
|
9595
|
-
color: {}
|
|
9596
|
-
},
|
|
9597
|
-
setup(t) {
|
|
9598
|
-
return (e, a) => (v(), C("span", {
|
|
9599
|
-
class: "aoBadge",
|
|
9600
|
-
style: pt({ backgroundColor: e.color })
|
|
9601
|
-
}, null, 4));
|
|
9602
|
-
}
|
|
9603
|
-
});
|
|
9604
|
-
const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-title-with-badge-wrapper" }, sh = { class: "ao-card-project-item__title-line" }, nh = {
|
|
9605
|
-
key: 0,
|
|
9606
|
-
class: "ao-card-project-item-milestone__estimation"
|
|
9607
|
-
}, ih = {
|
|
9608
|
-
key: 0,
|
|
9609
|
-
class: "ao-card-project-milestone__archive"
|
|
9610
|
-
}, oh = { class: "ao-card-project-milestone__activities" }, lh = { class: "ao-card-project-milestone__activities-row" }, rh = { class: "ao-card-project-milestone__subitem" }, uh = { class: "ao-card-project-milestone__subitem" }, ch = {
|
|
9611
|
-
key: 1,
|
|
9612
|
-
class: "ao-card-project-milestone__secondary"
|
|
9613
|
-
}, dh = { class: "ao-card-project-milestone__footer" }, ph = {
|
|
9614
|
-
key: 1,
|
|
9615
|
-
class: "ao-field ao-card-project-milestone__deadline"
|
|
9616
|
-
}, vh = { class: "ao-field__label" }, fh = {
|
|
9617
|
-
key: 2,
|
|
9618
|
-
class: "ao-card-project-milestone__assignee"
|
|
9619
|
-
}, hh = /* @__PURE__ */ q({
|
|
9620
|
-
__name: "AoCardProjectItemMilestone",
|
|
9621
|
-
props: {
|
|
9622
|
-
id: {},
|
|
9623
|
-
name: {},
|
|
9624
|
-
color: {},
|
|
9625
|
-
phaseColor: {},
|
|
9626
|
-
activities: {},
|
|
9627
|
-
closedStatus: {},
|
|
9628
|
-
isEditable: { type: Boolean },
|
|
9629
|
-
deadline: {},
|
|
9630
|
-
active: { type: Boolean },
|
|
9631
|
-
isSelected: { type: Boolean },
|
|
9632
|
-
assignee: {},
|
|
9633
|
-
important: { type: Boolean },
|
|
9634
|
-
readonly: { type: Boolean }
|
|
9635
|
-
},
|
|
9636
|
-
emits: ["updateMilestone", "archiveMilestone", "unarchiveMilestone"],
|
|
9637
|
-
setup(t, { emit: e }) {
|
|
9638
|
-
const a = t, s = A(() => {
|
|
9639
|
-
var r;
|
|
9640
|
-
return (r = a.activities) == null ? void 0 : r.reduce((d, u) => d + (u.estimation || 0), 0);
|
|
9641
|
-
}), n = A(() => {
|
|
9642
|
-
var r;
|
|
9643
|
-
return (r = a.activities) == null ? void 0 : r.length;
|
|
9644
|
-
}), o = A(() => {
|
|
9645
|
-
var r;
|
|
9646
|
-
return (r = a.activities) == null ? void 0 : r.filter(
|
|
9647
|
-
(d) => Hs(d, a.closedStatus)
|
|
9648
|
-
).length;
|
|
9649
|
-
}), i = A(() => (o.value || 0) / (n.value || 1)), l = (r) => {
|
|
9650
|
-
e("updateMilestone", { id: a.id, name: r });
|
|
9651
|
-
};
|
|
9652
|
-
return (r, d) => (v(), D(os, {
|
|
9653
|
-
class: X([
|
|
9654
|
-
"ao-card-project-milestone"
|
|
9655
|
-
]),
|
|
9656
|
-
"is-clickable": !r.readonly,
|
|
9657
|
-
"tag-name": "li",
|
|
9658
|
-
"is-selected": r.isSelected,
|
|
9659
|
-
color: r.phaseColor
|
|
9660
|
-
}, {
|
|
9661
|
-
default: N(() => [
|
|
9662
|
-
f("div", th, [
|
|
9663
|
-
f("div", ah, [
|
|
9664
|
-
M(eh, {
|
|
9665
|
-
color: r.color || ""
|
|
9666
|
-
}, null, 8, ["color"]),
|
|
9667
|
-
f("div", sh, [
|
|
9668
|
-
M(be, {
|
|
9669
|
-
id: r.id,
|
|
9670
|
-
title: r.name || "",
|
|
9671
|
-
level: 5,
|
|
9672
|
-
"is-editable": !r.readonly && r.isEditable,
|
|
9673
|
-
class: "ao-card-project-milestone__title",
|
|
9674
|
-
"onUpdate:title": l
|
|
9675
|
-
}, null, 8, ["id", "title", "is-editable"]),
|
|
9676
|
-
s.value ? (v(), C("span", nh, " (" + W(s.value) + ")", 1)) : O("", !0)
|
|
9677
|
-
])
|
|
9678
|
-
]),
|
|
9679
|
-
!r.readonly && r.isEditable ? (v(), C("div", ih, [
|
|
9680
|
-
M(re, {
|
|
9681
|
-
color: "primary",
|
|
9682
|
-
variant: "ghost",
|
|
9683
|
-
"icon-name": "ArchiveOutlineRounded",
|
|
9684
|
-
size: "sm",
|
|
9685
|
-
"icon-position": "start",
|
|
9686
|
-
corners: "round",
|
|
9687
|
-
label: r.active ? r.$t("archive") : r.$t("unarchive"),
|
|
9688
|
-
onClick: d[0] || (d[0] = ve(
|
|
9689
|
-
() => r.active ? r.$emit("archiveMilestone", { id: r.id }) : r.$emit("unarchiveMilestone", { id: r.id }),
|
|
9690
|
-
["stop"]
|
|
9691
|
-
))
|
|
9692
|
-
}, null, 8, ["label"])
|
|
9693
|
-
])) : O("", !0)
|
|
9694
|
-
]),
|
|
9695
|
-
f("div", oh, [
|
|
9696
|
-
f("div", lh, [
|
|
9697
|
-
n.value ? (v(), C(fe, { key: 0 }, [
|
|
9698
|
-
f("div", rh, [
|
|
9699
|
-
M(pe, {
|
|
9700
|
-
name: "SelectCheckBox",
|
|
9701
|
-
size: "sm"
|
|
9702
|
-
}),
|
|
9703
|
-
f("span", uh, W(o.value) + " / " + W(n.value), 1)
|
|
9704
|
-
]),
|
|
9705
|
-
M(ls, {
|
|
9706
|
-
percentages: i.value,
|
|
9707
|
-
color: r.phaseColor,
|
|
9708
|
-
class: "ao-card-project-milestone__progress"
|
|
9709
|
-
}, null, 8, ["percentages", "color"])
|
|
9710
|
-
], 64)) : O("", !0),
|
|
9711
|
-
r.$slots.secondary ? (v(), C("div", ch, [
|
|
9712
|
-
te(r.$slots, "secondary")
|
|
9713
|
-
])) : O("", !0)
|
|
9714
|
-
])
|
|
9715
|
-
])
|
|
9716
|
-
]),
|
|
9717
|
-
footer: N(() => [
|
|
9718
|
-
f("div", dh, [
|
|
9719
|
-
r.important ? (v(), D(pe, {
|
|
9720
|
-
key: 0,
|
|
9721
|
-
name: "FlagRounded",
|
|
9722
|
-
class: X(
|
|
9723
|
-
r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
9724
|
-
),
|
|
9725
|
-
size: "sm"
|
|
9726
|
-
}, null, 8, ["class"])) : O("", !0),
|
|
9727
|
-
r.deadline ? (v(), C("label", ph, [
|
|
9728
|
-
f("span", vh, W(Q(Qa)(r.deadline)), 1)
|
|
9729
|
-
])) : O("", !0),
|
|
9730
|
-
r.assignee ? (v(), C("div", fh, [
|
|
9731
|
-
M(et, {
|
|
9732
|
-
"user-name": Q(Kn)(r.assignee),
|
|
9733
|
-
"avatar-url": r.assignee.avatarUrl,
|
|
9734
|
-
color: r.isSelected ? "black" : "primary",
|
|
9735
|
-
size: "sm"
|
|
9736
|
-
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
9737
|
-
])) : O("", !0)
|
|
9738
|
-
])
|
|
9739
|
-
]),
|
|
9740
|
-
_: 3
|
|
9741
|
-
}, 8, ["is-clickable", "is-selected", "color"]));
|
|
9742
|
-
}
|
|
9743
|
-
});
|
|
9744
9440
|
/*!
|
|
9745
9441
|
* vue-color-kit v1.0.6
|
|
9746
9442
|
* (c) 2023
|
|
@@ -9748,8 +9444,8 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
|
|
|
9748
9444
|
*/
|
|
9749
9445
|
function kt(t) {
|
|
9750
9446
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
9751
|
-
/#/.test(t) ? e =
|
|
9752
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } =
|
|
9447
|
+
/#/.test(t) ? e = zf(t) : /rgb/.test(t) ? e = In(t) : typeof t == "string" ? e = In(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
9448
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = qf(e);
|
|
9753
9449
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: l, v: r };
|
|
9754
9450
|
}
|
|
9755
9451
|
function xs(t) {
|
|
@@ -9760,11 +9456,11 @@ function Ms(t, e, a, s, n, o) {
|
|
|
9760
9456
|
const i = t === "l", l = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
9761
9457
|
l.addColorStop(0.01, n), l.addColorStop(0.99, o), e.fillStyle = l, e.fillRect(0, 0, a, s);
|
|
9762
9458
|
}
|
|
9763
|
-
function
|
|
9459
|
+
function Wf({ r: t, g: e, b: a }, s) {
|
|
9764
9460
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
9765
9461
|
return s ? o.toUpperCase() : o;
|
|
9766
9462
|
}
|
|
9767
|
-
function
|
|
9463
|
+
function zf(t) {
|
|
9768
9464
|
t = t.slice(1);
|
|
9769
9465
|
const e = (a) => parseInt(a, 16) || 0;
|
|
9770
9466
|
return {
|
|
@@ -9773,7 +9469,7 @@ function gh(t) {
|
|
|
9773
9469
|
b: e(t.slice(4, 6))
|
|
9774
9470
|
};
|
|
9775
9471
|
}
|
|
9776
|
-
function
|
|
9472
|
+
function In(t) {
|
|
9777
9473
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
9778
9474
|
r: Number(t[0]) || 0,
|
|
9779
9475
|
g: Number(t[1]) || 0,
|
|
@@ -9781,7 +9477,7 @@ function En(t) {
|
|
|
9781
9477
|
a: Number(t[3] ? t[3] : 1)
|
|
9782
9478
|
}) : t;
|
|
9783
9479
|
}
|
|
9784
|
-
function
|
|
9480
|
+
function qf({ r: t, g: e, b: a }) {
|
|
9785
9481
|
t = t / 255, e = e / 255, a = a / 255;
|
|
9786
9482
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
9787
9483
|
let i = 0;
|
|
@@ -9848,8 +9544,8 @@ var Ks = q({
|
|
|
9848
9544
|
}
|
|
9849
9545
|
}
|
|
9850
9546
|
});
|
|
9851
|
-
const
|
|
9852
|
-
function
|
|
9547
|
+
const Yf = { ref: "canvasSaturation" };
|
|
9548
|
+
function xf(t, e, a, s, n, o) {
|
|
9853
9549
|
return v(), D(
|
|
9854
9550
|
"div",
|
|
9855
9551
|
{
|
|
@@ -9859,7 +9555,7 @@ function yh(t, e, a, s, n, o) {
|
|
|
9859
9555
|
[
|
|
9860
9556
|
M(
|
|
9861
9557
|
"canvas",
|
|
9862
|
-
|
|
9558
|
+
Yf,
|
|
9863
9559
|
null,
|
|
9864
9560
|
512
|
|
9865
9561
|
/* NEED_PATCH */
|
|
@@ -9879,7 +9575,7 @@ function yh(t, e, a, s, n, o) {
|
|
|
9879
9575
|
/* HYDRATE_EVENTS */
|
|
9880
9576
|
);
|
|
9881
9577
|
}
|
|
9882
|
-
Ks.render =
|
|
9578
|
+
Ks.render = xf;
|
|
9883
9579
|
Ks.__file = "src/color/Saturation.vue";
|
|
9884
9580
|
var Gs = q({
|
|
9885
9581
|
props: {
|
|
@@ -9934,8 +9630,8 @@ var Gs = q({
|
|
|
9934
9630
|
}
|
|
9935
9631
|
}
|
|
9936
9632
|
});
|
|
9937
|
-
const
|
|
9938
|
-
function
|
|
9633
|
+
const Kf = { ref: "canvasHue" };
|
|
9634
|
+
function Gf(t, e, a, s, n, o) {
|
|
9939
9635
|
return v(), D(
|
|
9940
9636
|
"div",
|
|
9941
9637
|
{
|
|
@@ -9945,7 +9641,7 @@ function wh(t, e, a, s, n, o) {
|
|
|
9945
9641
|
[
|
|
9946
9642
|
M(
|
|
9947
9643
|
"canvas",
|
|
9948
|
-
|
|
9644
|
+
Kf,
|
|
9949
9645
|
null,
|
|
9950
9646
|
512
|
|
9951
9647
|
/* NEED_PATCH */
|
|
@@ -9965,7 +9661,7 @@ function wh(t, e, a, s, n, o) {
|
|
|
9965
9661
|
/* HYDRATE_EVENTS */
|
|
9966
9662
|
);
|
|
9967
9663
|
}
|
|
9968
|
-
Gs.render =
|
|
9664
|
+
Gs.render = Gf;
|
|
9969
9665
|
Gs.__file = "src/color/Hue.vue";
|
|
9970
9666
|
var Xs = q({
|
|
9971
9667
|
props: {
|
|
@@ -10029,8 +9725,8 @@ var Xs = q({
|
|
|
10029
9725
|
}
|
|
10030
9726
|
}
|
|
10031
9727
|
});
|
|
10032
|
-
const
|
|
10033
|
-
function
|
|
9728
|
+
const Xf = { ref: "canvasAlpha" };
|
|
9729
|
+
function Qf(t, e, a, s, n, o) {
|
|
10034
9730
|
return v(), D(
|
|
10035
9731
|
"div",
|
|
10036
9732
|
{
|
|
@@ -10040,7 +9736,7 @@ function kh(t, e, a, s, n, o) {
|
|
|
10040
9736
|
[
|
|
10041
9737
|
M(
|
|
10042
9738
|
"canvas",
|
|
10043
|
-
|
|
9739
|
+
Xf,
|
|
10044
9740
|
null,
|
|
10045
9741
|
512
|
|
10046
9742
|
/* NEED_PATCH */
|
|
@@ -10060,7 +9756,7 @@ function kh(t, e, a, s, n, o) {
|
|
|
10060
9756
|
/* HYDRATE_EVENTS */
|
|
10061
9757
|
);
|
|
10062
9758
|
}
|
|
10063
|
-
Xs.render =
|
|
9759
|
+
Xs.render = Qf;
|
|
10064
9760
|
Xs.__file = "src/color/Alpha.vue";
|
|
10065
9761
|
var Qs = q({
|
|
10066
9762
|
props: {
|
|
@@ -10097,10 +9793,10 @@ var Qs = q({
|
|
|
10097
9793
|
}
|
|
10098
9794
|
}
|
|
10099
9795
|
});
|
|
10100
|
-
function
|
|
9796
|
+
function Jf(t, e, a, s, n, o) {
|
|
10101
9797
|
return v(), D("canvas");
|
|
10102
9798
|
}
|
|
10103
|
-
Qs.render =
|
|
9799
|
+
Qs.render = Jf;
|
|
10104
9800
|
Qs.__file = "src/color/Preview.vue";
|
|
10105
9801
|
var Js = q({
|
|
10106
9802
|
props: {
|
|
@@ -10163,19 +9859,19 @@ var Js = q({
|
|
|
10163
9859
|
}
|
|
10164
9860
|
}
|
|
10165
9861
|
});
|
|
10166
|
-
const
|
|
9862
|
+
const eh = /* @__PURE__ */ M(
|
|
10167
9863
|
"path",
|
|
10168
9864
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10169
9865
|
null,
|
|
10170
9866
|
-1
|
|
10171
9867
|
/* HOISTED */
|
|
10172
|
-
),
|
|
9868
|
+
), th = {
|
|
10173
9869
|
key: 1,
|
|
10174
9870
|
class: "sucker",
|
|
10175
9871
|
viewBox: "-16 -16 68 68",
|
|
10176
9872
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10177
9873
|
stroke: "#9099a4"
|
|
10178
|
-
},
|
|
9874
|
+
}, ah = /* @__PURE__ */ M(
|
|
10179
9875
|
"g",
|
|
10180
9876
|
{
|
|
10181
9877
|
fill: "none",
|
|
@@ -10207,7 +9903,7 @@ const Ah = /* @__PURE__ */ M(
|
|
|
10207
9903
|
-1
|
|
10208
9904
|
/* HOISTED */
|
|
10209
9905
|
);
|
|
10210
|
-
function
|
|
9906
|
+
function sh(t, e, a, s, n, o) {
|
|
10211
9907
|
return v(), D("div", null, [
|
|
10212
9908
|
t.isSucking ? O("v-if", !0) : (v(), D(
|
|
10213
9909
|
"svg",
|
|
@@ -10219,17 +9915,17 @@ function Oh(t, e, a, s, n, o) {
|
|
|
10219
9915
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10220
9916
|
},
|
|
10221
9917
|
[
|
|
10222
|
-
|
|
9918
|
+
eh
|
|
10223
9919
|
],
|
|
10224
9920
|
2
|
|
10225
9921
|
/* CLASS */
|
|
10226
9922
|
)),
|
|
10227
|
-
t.isSucking ? (v(), D("svg",
|
|
10228
|
-
|
|
9923
|
+
t.isSucking ? (v(), D("svg", th, [
|
|
9924
|
+
ah
|
|
10229
9925
|
])) : O("v-if", !0)
|
|
10230
9926
|
]);
|
|
10231
9927
|
}
|
|
10232
|
-
Js.render =
|
|
9928
|
+
Js.render = sh;
|
|
10233
9929
|
Js.__file = "src/color/Sucker.vue";
|
|
10234
9930
|
var en = q({
|
|
10235
9931
|
props: {
|
|
@@ -10262,12 +9958,12 @@ var en = q({
|
|
|
10262
9958
|
};
|
|
10263
9959
|
}
|
|
10264
9960
|
});
|
|
10265
|
-
const
|
|
10266
|
-
function
|
|
10267
|
-
return v(), D("div",
|
|
9961
|
+
const nh = { class: "color-type" }, ih = { class: "name" };
|
|
9962
|
+
function oh(t, e, a, s, n, o) {
|
|
9963
|
+
return v(), D("div", nh, [
|
|
10268
9964
|
M(
|
|
10269
9965
|
"span",
|
|
10270
|
-
|
|
9966
|
+
ih,
|
|
10271
9967
|
W(t.name),
|
|
10272
9968
|
1
|
|
10273
9969
|
/* TEXT */
|
|
@@ -10288,7 +9984,7 @@ function Lh(t, e, a, s, n, o) {
|
|
|
10288
9984
|
])
|
|
10289
9985
|
]);
|
|
10290
9986
|
}
|
|
10291
|
-
en.render =
|
|
9987
|
+
en.render = oh;
|
|
10292
9988
|
en.__file = "src/color/Box.vue";
|
|
10293
9989
|
var tn = q({
|
|
10294
9990
|
name: "ColorPicker",
|
|
@@ -10330,13 +10026,13 @@ var tn = q({
|
|
|
10330
10026
|
};
|
|
10331
10027
|
}
|
|
10332
10028
|
});
|
|
10333
|
-
const
|
|
10029
|
+
const lh = { class: "colors" }, rh = {
|
|
10334
10030
|
key: 0,
|
|
10335
10031
|
class: "colors history"
|
|
10336
10032
|
};
|
|
10337
|
-
function
|
|
10033
|
+
function uh(t, e, a, s, n, o) {
|
|
10338
10034
|
return v(), D("div", null, [
|
|
10339
|
-
M("ul",
|
|
10035
|
+
M("ul", lh, [
|
|
10340
10036
|
(v(!0), D(
|
|
10341
10037
|
fe,
|
|
10342
10038
|
null,
|
|
@@ -10370,7 +10066,7 @@ function Vh(t, e, a, s, n, o) {
|
|
|
10370
10066
|
/* KEYED_FRAGMENT */
|
|
10371
10067
|
))
|
|
10372
10068
|
]),
|
|
10373
|
-
t.colorsHistory.length ? (v(), D("ul",
|
|
10069
|
+
t.colorsHistory.length ? (v(), D("ul", rh, [
|
|
10374
10070
|
(v(!0), D(
|
|
10375
10071
|
fe,
|
|
10376
10072
|
null,
|
|
@@ -10406,7 +10102,7 @@ function Vh(t, e, a, s, n, o) {
|
|
|
10406
10102
|
])) : O("v-if", !0)
|
|
10407
10103
|
]);
|
|
10408
10104
|
}
|
|
10409
|
-
tn.render =
|
|
10105
|
+
tn.render = uh;
|
|
10410
10106
|
tn.__file = "src/color/Colors.vue";
|
|
10411
10107
|
var Ut = q({
|
|
10412
10108
|
components: {
|
|
@@ -10517,7 +10213,7 @@ var Ut = q({
|
|
|
10517
10213
|
return `rgba(${this.rgbaStringShort})`;
|
|
10518
10214
|
},
|
|
10519
10215
|
hexString() {
|
|
10520
|
-
return
|
|
10216
|
+
return Wf(this.rgba, !0);
|
|
10521
10217
|
}
|
|
10522
10218
|
},
|
|
10523
10219
|
created() {
|
|
@@ -10581,9 +10277,9 @@ var Ut = q({
|
|
|
10581
10277
|
}
|
|
10582
10278
|
}
|
|
10583
10279
|
});
|
|
10584
|
-
const
|
|
10585
|
-
function
|
|
10586
|
-
const i =
|
|
10280
|
+
const ch = { class: "color-set" };
|
|
10281
|
+
function dh(t, e, a, s, n, o) {
|
|
10282
|
+
const i = rt("Saturation"), l = rt("Hue"), r = rt("Alpha"), d = rt("Preview"), u = rt("Sucker"), c = rt("Box"), p = rt("Colors");
|
|
10587
10283
|
return v(), D(
|
|
10588
10284
|
"div",
|
|
10589
10285
|
{
|
|
@@ -10591,7 +10287,7 @@ function Bh(t, e, a, s, n, o) {
|
|
|
10591
10287
|
style: { width: t.totalWidth + "px" }
|
|
10592
10288
|
},
|
|
10593
10289
|
[
|
|
10594
|
-
M("div",
|
|
10290
|
+
M("div", ch, [
|
|
10595
10291
|
M(i, {
|
|
10596
10292
|
ref: "saturation",
|
|
10597
10293
|
color: t.rgbString,
|
|
@@ -10665,12 +10361,12 @@ function Bh(t, e, a, s, n, o) {
|
|
|
10665
10361
|
/* CLASS, STYLE */
|
|
10666
10362
|
);
|
|
10667
10363
|
}
|
|
10668
|
-
Ut.render =
|
|
10364
|
+
Ut.render = dh;
|
|
10669
10365
|
Ut.__file = "src/color/ColorPicker.vue";
|
|
10670
10366
|
Ut.install = (t) => {
|
|
10671
10367
|
t.component(Ut.name, Ut);
|
|
10672
10368
|
};
|
|
10673
|
-
const
|
|
10369
|
+
const ph = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ q({
|
|
10674
10370
|
__name: "AoColorPicker",
|
|
10675
10371
|
props: {
|
|
10676
10372
|
color: {}
|
|
@@ -10692,7 +10388,7 @@ const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10692
10388
|
const { r, g: d, b: u, a: c } = l.rgba, p = `rgba(${r}, ${d}, ${u}, ${c})`;
|
|
10693
10389
|
console.log("COLOR"), console.log(p), console.log(l), e("update:color", p);
|
|
10694
10390
|
};
|
|
10695
|
-
return (l, r) => (v(), C("div",
|
|
10391
|
+
return (l, r) => (v(), C("div", ph, [
|
|
10696
10392
|
te(l.$slots, "clickable", {
|
|
10697
10393
|
openPicker: n,
|
|
10698
10394
|
bgColor: l.color
|
|
@@ -10712,6 +10408,307 @@ const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
|
|
|
10712
10408
|
]));
|
|
10713
10409
|
}
|
|
10714
10410
|
});
|
|
10411
|
+
const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-project-item__title-line" }, hh = {
|
|
10412
|
+
key: 0,
|
|
10413
|
+
class: "ao-card-project-item-phase__estimation"
|
|
10414
|
+
}, mh = { class: "ao-card-project-phase__footer" }, gh = {
|
|
10415
|
+
key: 0,
|
|
10416
|
+
class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
|
|
10417
|
+
}, Ch = { class: "ao-card-project-phase__subitem" }, _h = { class: "ao-card-project-phase__subitem" }, yh = {
|
|
10418
|
+
key: 0,
|
|
10419
|
+
class: "ao-card-project-phase__secondary"
|
|
10420
|
+
}, bh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, wh = /* @__PURE__ */ q({
|
|
10421
|
+
__name: "AoCardProjectItemPhase",
|
|
10422
|
+
props: {
|
|
10423
|
+
id: {},
|
|
10424
|
+
projectName: {},
|
|
10425
|
+
name: {},
|
|
10426
|
+
milestones: {},
|
|
10427
|
+
isEditable: { type: Boolean },
|
|
10428
|
+
deadline: {},
|
|
10429
|
+
active: { type: Boolean },
|
|
10430
|
+
color: {}
|
|
10431
|
+
},
|
|
10432
|
+
emits: ["update:title", "update:deadline", "archivePhase", "unarchivePhase", "updatePhase"],
|
|
10433
|
+
setup(t, { emit: e }) {
|
|
10434
|
+
const a = t, s = (c) => {
|
|
10435
|
+
e("update:title", c);
|
|
10436
|
+
}, n = A(() => {
|
|
10437
|
+
var c;
|
|
10438
|
+
return (c = a.milestones) == null ? void 0 : c.reduce(
|
|
10439
|
+
(p, h) => {
|
|
10440
|
+
var w;
|
|
10441
|
+
return p + ((w = h.activities) == null ? void 0 : w.reduce((y, g) => y + (g.estimation || 0), 0));
|
|
10442
|
+
},
|
|
10443
|
+
0
|
|
10444
|
+
);
|
|
10445
|
+
}), o = A(() => {
|
|
10446
|
+
var c;
|
|
10447
|
+
return (c = a.milestones) == null ? void 0 : c.length;
|
|
10448
|
+
}), i = A(() => {
|
|
10449
|
+
var c;
|
|
10450
|
+
return (c = a.milestones) == null ? void 0 : c.filter((p) => p.status === Ba.done).length;
|
|
10451
|
+
}), l = A(() => (i.value || 0) / (o.value || 1)), r = A({
|
|
10452
|
+
get: () => a.deadline ?? "",
|
|
10453
|
+
set: (c) => e("update:deadline", c != null && c.length ? c : null)
|
|
10454
|
+
}), d = A({
|
|
10455
|
+
get: () => a.color,
|
|
10456
|
+
set: (c) => {
|
|
10457
|
+
e("updatePhase", {
|
|
10458
|
+
id: a.id,
|
|
10459
|
+
color: c
|
|
10460
|
+
});
|
|
10461
|
+
}
|
|
10462
|
+
}), u = (c, p) => {
|
|
10463
|
+
const h = c.target;
|
|
10464
|
+
h.closest("button") || h.closest("input") || h.closest(".ao-title") || p();
|
|
10465
|
+
};
|
|
10466
|
+
return (c, p) => (v(), D(an, {
|
|
10467
|
+
color: d.value,
|
|
10468
|
+
"onUpdate:color": p[2] || (p[2] = (h) => d.value = h)
|
|
10469
|
+
}, {
|
|
10470
|
+
clickable: N(({ openPicker: h, bgColor: w }) => [
|
|
10471
|
+
M(os, {
|
|
10472
|
+
class: "ao-card-project-phase",
|
|
10473
|
+
"is-clickable": c.isEditable,
|
|
10474
|
+
color: w,
|
|
10475
|
+
withLeftBorder: !0,
|
|
10476
|
+
onClick: (y) => u(y, h)
|
|
10477
|
+
}, fa({
|
|
10478
|
+
default: N(() => [
|
|
10479
|
+
f("div", fh, [
|
|
10480
|
+
M(be, {
|
|
10481
|
+
id: c.id,
|
|
10482
|
+
class: "ao-card-project-phase__title",
|
|
10483
|
+
title: c.name || "",
|
|
10484
|
+
level: 4,
|
|
10485
|
+
"is-editable": c.isEditable,
|
|
10486
|
+
"onUpdate:title": s
|
|
10487
|
+
}, null, 8, ["id", "title", "is-editable"]),
|
|
10488
|
+
n.value ? (v(), C("span", hh, " (" + W(n.value) + ")", 1)) : O("", !0)
|
|
10489
|
+
])
|
|
10490
|
+
]),
|
|
10491
|
+
footer: N(() => [
|
|
10492
|
+
f("div", mh, [
|
|
10493
|
+
o.value ? (v(), C("div", gh, [
|
|
10494
|
+
f("div", Ch, [
|
|
10495
|
+
M(pe, {
|
|
10496
|
+
name: "MountainFlagOutlineRounded",
|
|
10497
|
+
size: "sm"
|
|
10498
|
+
}),
|
|
10499
|
+
f("span", _h, W(i.value) + " / " + W(o.value), 1)
|
|
10500
|
+
]),
|
|
10501
|
+
M(ls, {
|
|
10502
|
+
percentages: l.value,
|
|
10503
|
+
class: "ao-card-project-phase__progress",
|
|
10504
|
+
color: c.color
|
|
10505
|
+
}, null, 8, ["percentages", "color"]),
|
|
10506
|
+
c.$slots.secondary ? (v(), C("div", yh, [
|
|
10507
|
+
te(c.$slots, "secondary")
|
|
10508
|
+
])) : O("", !0)
|
|
10509
|
+
])) : O("", !0),
|
|
10510
|
+
f("div", {
|
|
10511
|
+
class: X(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
10512
|
+
}, [
|
|
10513
|
+
c.isEditable ? De((v(), C("input", {
|
|
10514
|
+
key: 0,
|
|
10515
|
+
"onUpdate:modelValue": p[1] || (p[1] = (y) => r.value = y),
|
|
10516
|
+
class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
|
|
10517
|
+
type: "date"
|
|
10518
|
+
}, null, 512)), [
|
|
10519
|
+
[
|
|
10520
|
+
Ze,
|
|
10521
|
+
r.value,
|
|
10522
|
+
void 0,
|
|
10523
|
+
{ lazy: !0 }
|
|
10524
|
+
]
|
|
10525
|
+
]) : O("", !0),
|
|
10526
|
+
f("span", bh, W(Q(Qa)(c.deadline)), 1)
|
|
10527
|
+
], 2)
|
|
10528
|
+
])
|
|
10529
|
+
]),
|
|
10530
|
+
_: 2
|
|
10531
|
+
}, [
|
|
10532
|
+
c.isEditable ? {
|
|
10533
|
+
name: "header",
|
|
10534
|
+
fn: N(() => [
|
|
10535
|
+
f("div", vh, [
|
|
10536
|
+
M(re, {
|
|
10537
|
+
class: "ao-card-project-phase__archive",
|
|
10538
|
+
color: "primary",
|
|
10539
|
+
variant: "ghost",
|
|
10540
|
+
"icon-name": "ArchiveOutlineRounded",
|
|
10541
|
+
size: "sm",
|
|
10542
|
+
"icon-position": "start",
|
|
10543
|
+
corners: "round",
|
|
10544
|
+
label: c.active ? c.$t("archive") : c.$t("unarchive"),
|
|
10545
|
+
onClick: p[0] || (p[0] = ve(
|
|
10546
|
+
() => c.active ? c.$emit("archivePhase", { id: c.id }) : c.$emit("unarchivePhase", { id: c.id }),
|
|
10547
|
+
["stop"]
|
|
10548
|
+
))
|
|
10549
|
+
}, null, 8, ["label"])
|
|
10550
|
+
])
|
|
10551
|
+
]),
|
|
10552
|
+
key: "0"
|
|
10553
|
+
} : void 0
|
|
10554
|
+
]), 1032, ["is-clickable", "color", "onClick"])
|
|
10555
|
+
]),
|
|
10556
|
+
_: 3
|
|
10557
|
+
}, 8, ["color"]));
|
|
10558
|
+
}
|
|
10559
|
+
});
|
|
10560
|
+
const $h = /* @__PURE__ */ q({
|
|
10561
|
+
__name: "AoBadge",
|
|
10562
|
+
props: {
|
|
10563
|
+
color: {}
|
|
10564
|
+
},
|
|
10565
|
+
setup(t) {
|
|
10566
|
+
return (e, a) => (v(), C("span", {
|
|
10567
|
+
class: "aoBadge",
|
|
10568
|
+
style: pt({ backgroundColor: e.color })
|
|
10569
|
+
}, null, 4));
|
|
10570
|
+
}
|
|
10571
|
+
});
|
|
10572
|
+
const kh = { class: "ao-card-project-milestone__default" }, Sh = { class: "ao-title-with-badge-wrapper" }, Ah = { class: "ao-card-project-item__title-line" }, Mh = {
|
|
10573
|
+
key: 0,
|
|
10574
|
+
class: "ao-card-project-item-milestone__estimation"
|
|
10575
|
+
}, Th = {
|
|
10576
|
+
key: 0,
|
|
10577
|
+
class: "ao-card-project-milestone__archive"
|
|
10578
|
+
}, Oh = { class: "ao-card-project-milestone__activities" }, Eh = { class: "ao-card-project-milestone__activities-row" }, Ih = { class: "ao-card-project-milestone__subitem" }, Lh = { class: "ao-card-project-milestone__subitem" }, Ph = {
|
|
10579
|
+
key: 1,
|
|
10580
|
+
class: "ao-card-project-milestone__secondary"
|
|
10581
|
+
}, Hh = { class: "ao-card-project-milestone__footer" }, Vh = {
|
|
10582
|
+
key: 1,
|
|
10583
|
+
class: "ao-field ao-card-project-milestone__deadline"
|
|
10584
|
+
}, Dh = { class: "ao-field__label" }, Bh = {
|
|
10585
|
+
key: 2,
|
|
10586
|
+
class: "ao-card-project-milestone__assignee"
|
|
10587
|
+
}, jh = /* @__PURE__ */ q({
|
|
10588
|
+
__name: "AoCardProjectItemMilestone",
|
|
10589
|
+
props: {
|
|
10590
|
+
id: {},
|
|
10591
|
+
name: {},
|
|
10592
|
+
color: {},
|
|
10593
|
+
phaseColor: {},
|
|
10594
|
+
activities: {},
|
|
10595
|
+
closedStatus: {},
|
|
10596
|
+
isEditable: { type: Boolean },
|
|
10597
|
+
deadline: {},
|
|
10598
|
+
active: { type: Boolean },
|
|
10599
|
+
isSelected: { type: Boolean },
|
|
10600
|
+
assignee: {},
|
|
10601
|
+
important: { type: Boolean },
|
|
10602
|
+
readonly: { type: Boolean }
|
|
10603
|
+
},
|
|
10604
|
+
emits: ["updateMilestone", "archiveMilestone", "unarchiveMilestone"],
|
|
10605
|
+
setup(t, { emit: e }) {
|
|
10606
|
+
const a = t, s = A(() => {
|
|
10607
|
+
var r;
|
|
10608
|
+
return (r = a.activities) == null ? void 0 : r.reduce((d, u) => d + (u.estimation || 0), 0);
|
|
10609
|
+
}), n = A(() => {
|
|
10610
|
+
var r;
|
|
10611
|
+
return (r = a.activities) == null ? void 0 : r.length;
|
|
10612
|
+
}), o = A(() => {
|
|
10613
|
+
var r;
|
|
10614
|
+
return (r = a.activities) == null ? void 0 : r.filter(
|
|
10615
|
+
(d) => Hs(d, a.closedStatus)
|
|
10616
|
+
).length;
|
|
10617
|
+
}), i = A(() => (o.value || 0) / (n.value || 1)), l = (r) => {
|
|
10618
|
+
e("updateMilestone", { id: a.id, name: r });
|
|
10619
|
+
};
|
|
10620
|
+
return (r, d) => (v(), D(os, {
|
|
10621
|
+
class: X([
|
|
10622
|
+
"ao-card-project-milestone"
|
|
10623
|
+
]),
|
|
10624
|
+
"is-clickable": !r.readonly,
|
|
10625
|
+
"tag-name": "li",
|
|
10626
|
+
"is-selected": r.isSelected,
|
|
10627
|
+
color: r.phaseColor
|
|
10628
|
+
}, {
|
|
10629
|
+
default: N(() => [
|
|
10630
|
+
f("div", kh, [
|
|
10631
|
+
f("div", Sh, [
|
|
10632
|
+
M($h, {
|
|
10633
|
+
color: r.color || ""
|
|
10634
|
+
}, null, 8, ["color"]),
|
|
10635
|
+
f("div", Ah, [
|
|
10636
|
+
M(be, {
|
|
10637
|
+
id: r.id,
|
|
10638
|
+
title: r.name || "",
|
|
10639
|
+
level: 5,
|
|
10640
|
+
"is-editable": !r.readonly && r.isEditable,
|
|
10641
|
+
class: "ao-card-project-milestone__title",
|
|
10642
|
+
"onUpdate:title": l
|
|
10643
|
+
}, null, 8, ["id", "title", "is-editable"]),
|
|
10644
|
+
s.value ? (v(), C("span", Mh, " (" + W(s.value) + ")", 1)) : O("", !0)
|
|
10645
|
+
])
|
|
10646
|
+
]),
|
|
10647
|
+
!r.readonly && r.isEditable ? (v(), C("div", Th, [
|
|
10648
|
+
M(re, {
|
|
10649
|
+
color: "primary",
|
|
10650
|
+
variant: "ghost",
|
|
10651
|
+
"icon-name": "ArchiveOutlineRounded",
|
|
10652
|
+
size: "sm",
|
|
10653
|
+
"icon-position": "start",
|
|
10654
|
+
corners: "round",
|
|
10655
|
+
label: r.active ? r.$t("archive") : r.$t("unarchive"),
|
|
10656
|
+
onClick: d[0] || (d[0] = ve(
|
|
10657
|
+
() => r.active ? r.$emit("archiveMilestone", { id: r.id }) : r.$emit("unarchiveMilestone", { id: r.id }),
|
|
10658
|
+
["stop"]
|
|
10659
|
+
))
|
|
10660
|
+
}, null, 8, ["label"])
|
|
10661
|
+
])) : O("", !0)
|
|
10662
|
+
]),
|
|
10663
|
+
f("div", Oh, [
|
|
10664
|
+
f("div", Eh, [
|
|
10665
|
+
n.value ? (v(), C(fe, { key: 0 }, [
|
|
10666
|
+
f("div", Ih, [
|
|
10667
|
+
M(pe, {
|
|
10668
|
+
name: "SelectCheckBox",
|
|
10669
|
+
size: "sm"
|
|
10670
|
+
}),
|
|
10671
|
+
f("span", Lh, W(o.value) + " / " + W(n.value), 1)
|
|
10672
|
+
]),
|
|
10673
|
+
M(ls, {
|
|
10674
|
+
percentages: i.value,
|
|
10675
|
+
color: r.phaseColor,
|
|
10676
|
+
class: "ao-card-project-milestone__progress"
|
|
10677
|
+
}, null, 8, ["percentages", "color"])
|
|
10678
|
+
], 64)) : O("", !0),
|
|
10679
|
+
r.$slots.secondary ? (v(), C("div", Ph, [
|
|
10680
|
+
te(r.$slots, "secondary")
|
|
10681
|
+
])) : O("", !0)
|
|
10682
|
+
])
|
|
10683
|
+
])
|
|
10684
|
+
]),
|
|
10685
|
+
footer: N(() => [
|
|
10686
|
+
f("div", Hh, [
|
|
10687
|
+
r.important ? (v(), D(pe, {
|
|
10688
|
+
key: 0,
|
|
10689
|
+
name: "FlagRounded",
|
|
10690
|
+
class: X(
|
|
10691
|
+
r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
|
|
10692
|
+
),
|
|
10693
|
+
size: "sm"
|
|
10694
|
+
}, null, 8, ["class"])) : O("", !0),
|
|
10695
|
+
r.deadline ? (v(), C("label", Vh, [
|
|
10696
|
+
f("span", Dh, W(Q(Qa)(r.deadline)), 1)
|
|
10697
|
+
])) : O("", !0),
|
|
10698
|
+
r.assignee ? (v(), C("div", Bh, [
|
|
10699
|
+
M(Je, {
|
|
10700
|
+
"user-name": Q(Gn)(r.assignee),
|
|
10701
|
+
"avatar-url": r.assignee.avatarUrl,
|
|
10702
|
+
color: r.isSelected ? "black" : "primary",
|
|
10703
|
+
size: "sm"
|
|
10704
|
+
}, null, 8, ["user-name", "avatar-url", "color"])
|
|
10705
|
+
])) : O("", !0)
|
|
10706
|
+
])
|
|
10707
|
+
]),
|
|
10708
|
+
_: 3
|
|
10709
|
+
}, 8, ["is-clickable", "is-selected", "color"]));
|
|
10710
|
+
}
|
|
10711
|
+
});
|
|
10715
10712
|
const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao-card-project-item__title-line" }, Uh = {
|
|
10716
10713
|
key: 0,
|
|
10717
10714
|
class: "ao-card-project-item-phase__estimation"
|
|
@@ -10767,7 +10764,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
|
|
|
10767
10764
|
const h = c.target;
|
|
10768
10765
|
h.closest("button") || h.closest("input") || h.closest(".ao-title") || p();
|
|
10769
10766
|
};
|
|
10770
|
-
return (c, p) => (v(), D(
|
|
10767
|
+
return (c, p) => (v(), D(an, {
|
|
10771
10768
|
color: d.value,
|
|
10772
10769
|
"onUpdate:color": p[2] || (p[2] = (h) => d.value = h)
|
|
10773
10770
|
}, {
|
|
@@ -10888,7 +10885,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10888
10885
|
ce(
|
|
10889
10886
|
() => a.phase.milestones,
|
|
10890
10887
|
(m, _) => {
|
|
10891
|
-
|
|
10888
|
+
Xe(m, _);
|
|
10892
10889
|
}
|
|
10893
10890
|
);
|
|
10894
10891
|
const n = (m) => {
|
|
@@ -10958,7 +10955,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10958
10955
|
onUpdatePhase: i
|
|
10959
10956
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10960
10957
|
])) : (v(), C("div", Xh, [
|
|
10961
|
-
M(
|
|
10958
|
+
M(wh, {
|
|
10962
10959
|
id: m.phase.id,
|
|
10963
10960
|
milestones: l.value,
|
|
10964
10961
|
name: m.phase.name,
|
|
@@ -10969,7 +10966,8 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10969
10966
|
"onUpdate:deadline": o,
|
|
10970
10967
|
"onUpdate:title": n,
|
|
10971
10968
|
onArchivePhase: p,
|
|
10972
|
-
onUnarchivePhase: h
|
|
10969
|
+
onUnarchivePhase: h,
|
|
10970
|
+
onUpdatePhase: i
|
|
10973
10971
|
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color"])
|
|
10974
10972
|
]))
|
|
10975
10973
|
], 4),
|
|
@@ -10988,7 +10986,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
|
|
|
10988
10986
|
item: N(({ element: P }) => {
|
|
10989
10987
|
var I;
|
|
10990
10988
|
return [
|
|
10991
|
-
M(
|
|
10989
|
+
M(jh, {
|
|
10992
10990
|
id: P.id,
|
|
10993
10991
|
name: P.name,
|
|
10994
10992
|
color: P.color,
|
|
@@ -11046,7 +11044,7 @@ const a9 = { class: "ao-project__phases" }, s9 = {
|
|
|
11046
11044
|
setup(t, { emit: e }) {
|
|
11047
11045
|
const a = t;
|
|
11048
11046
|
ce(() => a.phases, (p, h) => {
|
|
11049
|
-
|
|
11047
|
+
Xe(p, h);
|
|
11050
11048
|
});
|
|
11051
11049
|
const s = (p) => {
|
|
11052
11050
|
e("addMilestone", p);
|
|
@@ -11269,7 +11267,7 @@ function k9(t, e, a, s, n, o) {
|
|
|
11269
11267
|
}, W(i.label), 11, $9))), 128))
|
|
11270
11268
|
]);
|
|
11271
11269
|
}
|
|
11272
|
-
const
|
|
11270
|
+
const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297"]]), S9 = { class: "ao-project" }, A9 = { class: "ao-project__body" }, M9 = /* @__PURE__ */ q({
|
|
11273
11271
|
__name: "AoProjectOverviewProject",
|
|
11274
11272
|
props: {
|
|
11275
11273
|
project: {},
|
|
@@ -11348,13 +11346,13 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
|
|
|
11348
11346
|
return ce(ee, (T) => {
|
|
11349
11347
|
T === "feed" ? (se.push({ name: ye.feed }), console.log("Navigating to feed...")) : T === "overview" ? (se.push({ name: ye.project }), console.log("Navigating to feed...")) : T === "mapping" && (se.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
11350
11348
|
}), (T, k) => {
|
|
11351
|
-
const R =
|
|
11349
|
+
const R = rt("RouterView");
|
|
11352
11350
|
return v(), C(fe, null, [
|
|
11353
11351
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11354
11352
|
f("div", S9, [
|
|
11355
11353
|
M(ba, null, {
|
|
11356
11354
|
primary: N(() => [
|
|
11357
|
-
M(
|
|
11355
|
+
M(sn, {
|
|
11358
11356
|
tabs: E,
|
|
11359
11357
|
modelValue: ee.value,
|
|
11360
11358
|
"onUpdate:modelValue": k[0] || (k[0] = (b) => ee.value = b)
|
|
@@ -11612,8 +11610,8 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
|
|
|
11612
11610
|
key: y.id
|
|
11613
11611
|
}, [
|
|
11614
11612
|
y ? (v(), C("li", N9, [
|
|
11615
|
-
M(
|
|
11616
|
-
"user-name": Q(
|
|
11613
|
+
M(Je, {
|
|
11614
|
+
"user-name": Q(Gn)(y),
|
|
11617
11615
|
"avatar-url": y.avatarUrl,
|
|
11618
11616
|
"is-closable": !0,
|
|
11619
11617
|
onClose: () => d(y.id)
|
|
@@ -11665,7 +11663,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11665
11663
|
}, a4 = { class: "ao-field__row ao-milestone__field-row" }, s4 = { class: "ao-field ao-field--inline" }, n4 = { class: "ao-field__row ao-milestone__field-row" }, i4 = { class: "ao-field ao-milestone__field-multiselect" }, o4 = ["onClick"], l4 = { class: "ao-project-milestone__body" }, r4 = {
|
|
11666
11664
|
key: 0,
|
|
11667
11665
|
class: "ao-project-milestone__footer"
|
|
11668
|
-
},
|
|
11666
|
+
}, Ln = /* @__PURE__ */ q({
|
|
11669
11667
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11670
11668
|
props: {
|
|
11671
11669
|
milestoneId: {},
|
|
@@ -11694,7 +11692,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11694
11692
|
return (m = i.value) == null ? void 0 : m.activities;
|
|
11695
11693
|
});
|
|
11696
11694
|
ce(l, (m, _) => {
|
|
11697
|
-
|
|
11695
|
+
Xe(m, _);
|
|
11698
11696
|
});
|
|
11699
11697
|
const r = (m) => {
|
|
11700
11698
|
e("close", m);
|
|
@@ -11836,7 +11834,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11836
11834
|
option: I,
|
|
11837
11835
|
handleTagRemove: L
|
|
11838
11836
|
}) => [
|
|
11839
|
-
M(
|
|
11837
|
+
M(Je, {
|
|
11840
11838
|
"user-name": I.label,
|
|
11841
11839
|
"avatar-url": I.avatar,
|
|
11842
11840
|
"is-closable": !0,
|
|
@@ -11847,7 +11845,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
|
|
|
11847
11845
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11848
11846
|
])
|
|
11849
11847
|
]),
|
|
11850
|
-
M(
|
|
11848
|
+
M(an, {
|
|
11851
11849
|
color: p.value,
|
|
11852
11850
|
"onUpdate:color": _[3] || (_[3] = (I) => p.value = I)
|
|
11853
11851
|
}, {
|
|
@@ -12416,7 +12414,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12416
12414
|
return ((Y = H.status) == null ? void 0 : Y.id) === Z.id;
|
|
12417
12415
|
})
|
|
12418
12416
|
])
|
|
12419
|
-
), b && !r.value ? (i(b, null), r.value = !0) : V && !r.value && (i(null, V), r.value = !0), d.value &&
|
|
12417
|
+
), b && !r.value ? (i(b, null), r.value = !0) : V && !r.value && (i(null, V), r.value = !0), d.value && Xe(R, ne);
|
|
12420
12418
|
},
|
|
12421
12419
|
{ immediate: !0 }
|
|
12422
12420
|
);
|
|
@@ -12494,7 +12492,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12494
12492
|
M(ba, null, {
|
|
12495
12493
|
primary: N(() => [
|
|
12496
12494
|
f("div", H4, [
|
|
12497
|
-
M(
|
|
12495
|
+
M(sn, {
|
|
12498
12496
|
tabs: T,
|
|
12499
12497
|
modelValue: E.value,
|
|
12500
12498
|
"onUpdate:modelValue": R[0] || (R[0] = (V) => E.value = V)
|
|
@@ -12543,7 +12541,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
|
|
|
12543
12541
|
option: V,
|
|
12544
12542
|
handleTagRemove: oe
|
|
12545
12543
|
}) => [
|
|
12546
|
-
M(
|
|
12544
|
+
M(Je, {
|
|
12547
12545
|
"user-name": V.label,
|
|
12548
12546
|
"avatar-url": V.avatar,
|
|
12549
12547
|
"is-closable": !0,
|
|
@@ -12697,7 +12695,7 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
|
|
|
12697
12695
|
f("div", B4, [
|
|
12698
12696
|
M(ba, null, {
|
|
12699
12697
|
primary: N(() => [
|
|
12700
|
-
M(
|
|
12698
|
+
M(sn, {
|
|
12701
12699
|
tabs: y,
|
|
12702
12700
|
modelValue: w.value,
|
|
12703
12701
|
"onUpdate:modelValue": $[0] || ($[0] = (m) => w.value = m)
|
|
@@ -12820,7 +12818,7 @@ const jt = {
|
|
|
12820
12818
|
{
|
|
12821
12819
|
path: ":phaseId/:milestoneId",
|
|
12822
12820
|
name: ye.milestone,
|
|
12823
|
-
component:
|
|
12821
|
+
component: Ln,
|
|
12824
12822
|
props: !0
|
|
12825
12823
|
},
|
|
12826
12824
|
{
|
|
@@ -12828,7 +12826,7 @@ const jt = {
|
|
|
12828
12826
|
name: ye.activity,
|
|
12829
12827
|
props: { default: !0, modal: !0 },
|
|
12830
12828
|
components: {
|
|
12831
|
-
default:
|
|
12829
|
+
default: Ln,
|
|
12832
12830
|
modal: u4
|
|
12833
12831
|
}
|
|
12834
12832
|
}
|
|
@@ -12857,7 +12855,7 @@ const jt = {
|
|
|
12857
12855
|
setup(t, { emit: e }) {
|
|
12858
12856
|
const a = t, { t: s } = yt();
|
|
12859
12857
|
ce(() => a.templates, (r, d) => {
|
|
12860
|
-
|
|
12858
|
+
Xe(r, d);
|
|
12861
12859
|
});
|
|
12862
12860
|
const n = () => {
|
|
12863
12861
|
var p, h;
|
|
@@ -13017,7 +13015,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
|
|
|
13017
13015
|
}
|
|
13018
13016
|
});
|
|
13019
13017
|
export {
|
|
13020
|
-
|
|
13018
|
+
Je as AoAvatar,
|
|
13021
13019
|
gi as AoCardFeed,
|
|
13022
13020
|
r8 as AoCheckboxField,
|
|
13023
13021
|
D4 as AoFeed,
|