@26lights/orcha 0.38.11 → 0.38.13
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 +808 -800
- package/dist/orcha.umd.js +3 -3
- package/dist/src/components/AoCheckboxField.vue.d.ts +5 -5
- package/dist/src/components/AoInputField.vue.d.ts +14 -14
- package/dist/src/types/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as f, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as M, resolveDynamicComponent as ht, normalizeClass as G, renderSlot as te, toDisplayString as x, createCommentVNode as E, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as T, normalizeStyle as Ua, withModifiers as ve, createSlots as Za, Fragment as he, renderList as _e, onMounted as xt, onBeforeUnmount as Tn, onUnmounted as ks, Teleport as jt, toRefs as Me, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as va, withDirectives as Ue, vShow as Hi, onUpdated as Di, vModelText as Ge, resolveComponent as Ke, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const S8 = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
|
-
return (e, a) => (p(), P(
|
|
10
|
+
return (e, a) => (p(), P(J(Ri), He({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), N = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
@@ -614,7 +614,7 @@ const su = /* @__PURE__ */ N(Ql, [["render", au]]), nu = {}, iu = {
|
|
|
614
614
|
function lu(t, e) {
|
|
615
615
|
return p(), m("svg", iu, ru);
|
|
616
616
|
}
|
|
617
|
-
const uu = /* @__PURE__ */ N(nu, [["render", lu]]), cu =
|
|
617
|
+
const uu = /* @__PURE__ */ N(nu, [["render", lu]]), cu = Y({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
620
|
const Ss = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
|
|
@@ -1155,7 +1155,7 @@ const $2 = /* @__PURE__ */ N(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1155
1155
|
const On = {
|
|
1156
1156
|
ROUND: "round",
|
|
1157
1157
|
ROUNDED: "rounded"
|
|
1158
|
-
}, pe = /* @__PURE__ */
|
|
1158
|
+
}, pe = /* @__PURE__ */ Y({
|
|
1159
1159
|
__name: "AoIcon",
|
|
1160
1160
|
props: {
|
|
1161
1161
|
name: {},
|
|
@@ -1171,7 +1171,7 @@ const On = {
|
|
|
1171
1171
|
const M2 = ["type"], T2 = {
|
|
1172
1172
|
key: 0,
|
|
1173
1173
|
class: "ao-button__label"
|
|
1174
|
-
}, ue = /* @__PURE__ */
|
|
1174
|
+
}, ue = /* @__PURE__ */ Y({
|
|
1175
1175
|
__name: "AoButton",
|
|
1176
1176
|
props: {
|
|
1177
1177
|
label: { default: () => "" },
|
|
@@ -1201,7 +1201,7 @@ const M2 = ["type"], T2 = {
|
|
|
1201
1201
|
])
|
|
1202
1202
|
}, [
|
|
1203
1203
|
te(n.$slots, "default", {}, () => [
|
|
1204
|
-
n.label ? (p(), m("span", T2,
|
|
1204
|
+
n.label ? (p(), m("span", T2, x(n.label), 1)) : E("", !0)
|
|
1205
1205
|
]),
|
|
1206
1206
|
s.value ? (p(), P(pe, {
|
|
1207
1207
|
key: 0,
|
|
@@ -1241,7 +1241,7 @@ function En(t) {
|
|
|
1241
1241
|
onDiscard: i
|
|
1242
1242
|
};
|
|
1243
1243
|
}
|
|
1244
|
-
const ye = /* @__PURE__ */
|
|
1244
|
+
const ye = /* @__PURE__ */ Y({
|
|
1245
1245
|
__name: "AoTitle",
|
|
1246
1246
|
props: {
|
|
1247
1247
|
id: {},
|
|
@@ -1285,19 +1285,19 @@ const ye = /* @__PURE__ */ x({
|
|
|
1285
1285
|
{
|
|
1286
1286
|
[`ao-title--${g.color}`]: !!g.color,
|
|
1287
1287
|
"ao-title--editable": g.isEditable,
|
|
1288
|
-
"ao-field__input ao-title--editing":
|
|
1289
|
-
"ao-title--readonly": !
|
|
1288
|
+
"ao-field__input ao-title--editing": J(n),
|
|
1289
|
+
"ao-title--readonly": !J(n)
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
|
-
type:
|
|
1293
|
-
value:
|
|
1292
|
+
type: J(n) ? "text" : null,
|
|
1293
|
+
value: J(n) ? g.title : null,
|
|
1294
1294
|
tabindex: "0",
|
|
1295
1295
|
onKeyup: dt(h, ["enter"])
|
|
1296
1296
|
}, Li(c.value), {
|
|
1297
|
-
onKeydown: dt(
|
|
1297
|
+
onKeydown: dt(J(v), ["esc"])
|
|
1298
1298
|
}), {
|
|
1299
1299
|
default: W(() => [
|
|
1300
|
-
Fa(
|
|
1300
|
+
Fa(x(g.title), 1)
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1324,7 +1324,7 @@ const O2 = {
|
|
|
1324
1324
|
}, B2 = {
|
|
1325
1325
|
key: 3,
|
|
1326
1326
|
class: "ao-card-horiz__secondary"
|
|
1327
|
-
}, In = /* @__PURE__ */
|
|
1327
|
+
}, In = /* @__PURE__ */ Y({
|
|
1328
1328
|
__name: "AoCardHoriz",
|
|
1329
1329
|
props: {
|
|
1330
1330
|
id: {},
|
|
@@ -1369,7 +1369,7 @@ const O2 = {
|
|
|
1369
1369
|
"onUpdate:title": a
|
|
1370
1370
|
}, null, 8, ["id", "title"]),
|
|
1371
1371
|
te(s.$slots, "subtitle", {}, () => [
|
|
1372
|
-
s.subtitle ? (p(), m("span", H2,
|
|
1372
|
+
s.subtitle ? (p(), m("span", H2, x(s.subtitle), 1)) : E("", !0)
|
|
1373
1373
|
])
|
|
1374
1374
|
]),
|
|
1375
1375
|
s.$slots.header ? (p(), m("div", D2, [
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const qa = /* @__PURE__ */
|
|
1393
|
+
const qa = /* @__PURE__ */ Y({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1419,7 +1419,7 @@ const qa = /* @__PURE__ */ x({
|
|
|
1419
1419
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1420
1420
|
}), {
|
|
1421
1421
|
default: W(() => [
|
|
1422
|
-
Fa(
|
|
1422
|
+
Fa(x(n.label), 1)
|
|
1423
1423
|
]),
|
|
1424
1424
|
_: 1
|
|
1425
1425
|
}, 16)),
|
|
@@ -1441,11 +1441,11 @@ const Cs = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, A8 = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, M8 = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const Cs = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const T8 = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -1486,7 +1486,7 @@ function Ha(t) {
|
|
|
1486
1486
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1487
1487
|
}, Ha(t);
|
|
1488
1488
|
}
|
|
1489
|
-
function
|
|
1489
|
+
function Je(t) {
|
|
1490
1490
|
if (t === null || t === !0 || t === !1)
|
|
1491
1491
|
return NaN;
|
|
1492
1492
|
var e = Number(t);
|
|
@@ -1503,7 +1503,7 @@ function be(t) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
function U2(t, e) {
|
|
1505
1505
|
ge(2, arguments);
|
|
1506
|
-
var a = be(t).getTime(), s =
|
|
1506
|
+
var a = be(t).getTime(), s = Je(e);
|
|
1507
1507
|
return new Date(a + s);
|
|
1508
1508
|
}
|
|
1509
1509
|
var Z2 = {};
|
|
@@ -1542,7 +1542,7 @@ function Dn(t) {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
function gs(t, e) {
|
|
1544
1544
|
ge(2, arguments);
|
|
1545
|
-
var a =
|
|
1545
|
+
var a = Je(e);
|
|
1546
1546
|
return U2(t, -a);
|
|
1547
1547
|
}
|
|
1548
1548
|
var Y2 = 864e5;
|
|
@@ -1583,7 +1583,7 @@ function Q2(t) {
|
|
|
1583
1583
|
function Pa(t, e) {
|
|
1584
1584
|
var a, s, n, o, i, r, l, c;
|
|
1585
1585
|
ge(1, arguments);
|
|
1586
|
-
var u = fa(), v =
|
|
1586
|
+
var u = fa(), v = Je((a = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
1587
1587
|
if (!(v >= 0 && v <= 6))
|
|
1588
1588
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1589
1589
|
var d = be(t), h = d.getUTCDay(), w = (h < v ? 7 : 0) + h - v;
|
|
@@ -1592,7 +1592,7 @@ function Pa(t, e) {
|
|
|
1592
1592
|
function Vn(t, e) {
|
|
1593
1593
|
var a, s, n, o, i, r, l, c;
|
|
1594
1594
|
ge(1, arguments);
|
|
1595
|
-
var u = be(t), v = u.getUTCFullYear(), d = fa(), h =
|
|
1595
|
+
var u = be(t), v = u.getUTCFullYear(), d = fa(), h = Je((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && n !== void 0 ? n : d.firstWeekContainsDate) !== null && s !== void 0 ? s : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
1596
1596
|
if (!(h >= 1 && h <= 7))
|
|
1597
1597
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1598
1598
|
var w = /* @__PURE__ */ new Date(0);
|
|
@@ -1605,7 +1605,7 @@ function Vn(t, e) {
|
|
|
1605
1605
|
function J2(t, e) {
|
|
1606
1606
|
var a, s, n, o, i, r, l, c;
|
|
1607
1607
|
ge(1, arguments);
|
|
1608
|
-
var u = fa(), v =
|
|
1608
|
+
var u = fa(), v = Je((a = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vn(t, e), h = /* @__PURE__ */ new Date(0);
|
|
1609
1609
|
h.setUTCFullYear(d, 0, v), h.setUTCHours(0, 0, 0, 0);
|
|
1610
1610
|
var w = Pa(h, e);
|
|
1611
1611
|
return w;
|
|
@@ -1674,7 +1674,7 @@ var a0 = {
|
|
|
1674
1674
|
return ce(o, a.length);
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
|
-
const
|
|
1677
|
+
const lt = a0;
|
|
1678
1678
|
var Ht = {
|
|
1679
1679
|
am: "am",
|
|
1680
1680
|
pm: "pm",
|
|
@@ -1714,7 +1714,7 @@ var Ht = {
|
|
|
1714
1714
|
unit: "year"
|
|
1715
1715
|
});
|
|
1716
1716
|
}
|
|
1717
|
-
return
|
|
1717
|
+
return lt.y(e, a);
|
|
1718
1718
|
},
|
|
1719
1719
|
// Local week-numbering year
|
|
1720
1720
|
Y: function(e, a, s, n) {
|
|
@@ -1811,7 +1811,7 @@ var Ht = {
|
|
|
1811
1811
|
switch (a) {
|
|
1812
1812
|
case "M":
|
|
1813
1813
|
case "MM":
|
|
1814
|
-
return
|
|
1814
|
+
return lt.M(e, a);
|
|
1815
1815
|
case "Mo":
|
|
1816
1816
|
return s.ordinalNumber(n + 1, {
|
|
1817
1817
|
unit: "month"
|
|
@@ -1882,7 +1882,7 @@ var Ht = {
|
|
|
1882
1882
|
d: function(e, a, s) {
|
|
1883
1883
|
return a === "do" ? s.ordinalNumber(e.getUTCDate(), {
|
|
1884
1884
|
unit: "date"
|
|
1885
|
-
}) :
|
|
1885
|
+
}) : lt.d(e, a);
|
|
1886
1886
|
},
|
|
1887
1887
|
// Day of year
|
|
1888
1888
|
D: function(e, a, s) {
|
|
@@ -2113,13 +2113,13 @@ var Ht = {
|
|
|
2113
2113
|
unit: "hour"
|
|
2114
2114
|
});
|
|
2115
2115
|
}
|
|
2116
|
-
return
|
|
2116
|
+
return lt.h(e, a);
|
|
2117
2117
|
},
|
|
2118
2118
|
// Hour [0-23]
|
|
2119
2119
|
H: function(e, a, s) {
|
|
2120
2120
|
return a === "Ho" ? s.ordinalNumber(e.getUTCHours(), {
|
|
2121
2121
|
unit: "hour"
|
|
2122
|
-
}) :
|
|
2122
|
+
}) : lt.H(e, a);
|
|
2123
2123
|
},
|
|
2124
2124
|
// Hour [0-11]
|
|
2125
2125
|
K: function(e, a, s) {
|
|
@@ -2139,17 +2139,17 @@ var Ht = {
|
|
|
2139
2139
|
m: function(e, a, s) {
|
|
2140
2140
|
return a === "mo" ? s.ordinalNumber(e.getUTCMinutes(), {
|
|
2141
2141
|
unit: "minute"
|
|
2142
|
-
}) :
|
|
2142
|
+
}) : lt.m(e, a);
|
|
2143
2143
|
},
|
|
2144
2144
|
// Second
|
|
2145
2145
|
s: function(e, a, s) {
|
|
2146
2146
|
return a === "so" ? s.ordinalNumber(e.getUTCSeconds(), {
|
|
2147
2147
|
unit: "second"
|
|
2148
|
-
}) :
|
|
2148
|
+
}) : lt.s(e, a);
|
|
2149
2149
|
},
|
|
2150
2150
|
// Fraction of second
|
|
2151
2151
|
S: function(e, a) {
|
|
2152
|
-
return
|
|
2152
|
+
return lt.S(e, a);
|
|
2153
2153
|
},
|
|
2154
2154
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
2155
2155
|
X: function(e, a, s, n) {
|
|
@@ -2724,10 +2724,10 @@ var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|
|
|
|
2724
2724
|
function jn(t, e, a) {
|
|
2725
2725
|
var s, n, o, i, r, l, c, u, v, d, h, w, g, b, A, _, C, D;
|
|
2726
2726
|
ge(2, arguments);
|
|
2727
|
-
var I = String(e), L = fa(), U = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Rn, Z =
|
|
2727
|
+
var I = String(e), L = fa(), U = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Rn, Z = Je((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = L.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2728
2728
|
if (!(Z >= 1 && Z <= 7))
|
|
2729
2729
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2730
|
-
var z =
|
|
2730
|
+
var z = Je((h = (w = (g = (b = a == null ? void 0 : a.weekStartsOn) !== null && b !== void 0 ? b : a == null || (A = a.locale) === null || A === void 0 || (_ = A.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && g !== void 0 ? g : L.weekStartsOn) !== null && w !== void 0 ? w : (C = L.locale) === null || C === void 0 || (D = C.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
2731
2731
|
if (!(z >= 0 && z <= 6))
|
|
2732
2732
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2733
2733
|
if (!U.localize)
|
|
@@ -2742,27 +2742,27 @@ function jn(t, e, a) {
|
|
|
2742
2742
|
weekStartsOn: z,
|
|
2743
2743
|
locale: U,
|
|
2744
2744
|
_originalDate: X
|
|
2745
|
-
},
|
|
2746
|
-
var O =
|
|
2745
|
+
}, se = I.match(X0).map(function(Q) {
|
|
2746
|
+
var O = Q[0];
|
|
2747
2747
|
if (O === "p" || O === "P") {
|
|
2748
2748
|
var k = r0[O];
|
|
2749
|
-
return k(
|
|
2749
|
+
return k(Q, U.formatLong);
|
|
2750
2750
|
}
|
|
2751
|
-
return
|
|
2752
|
-
}).join("").match(G0).map(function(
|
|
2753
|
-
if (
|
|
2751
|
+
return Q;
|
|
2752
|
+
}).join("").match(G0).map(function(Q) {
|
|
2753
|
+
if (Q === "''")
|
|
2754
2754
|
return "'";
|
|
2755
|
-
var O =
|
|
2755
|
+
var O = Q[0];
|
|
2756
2756
|
if (O === "'")
|
|
2757
|
-
return t3(
|
|
2757
|
+
return t3(Q);
|
|
2758
2758
|
var k = n0[O];
|
|
2759
2759
|
if (k)
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(Q) && dn(Q, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(Q) && dn(Q, e, String(t)), k(S, Q, U.localize, j);
|
|
2761
2761
|
if (O.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + O + "`");
|
|
2763
|
-
return
|
|
2763
|
+
return Q;
|
|
2764
2764
|
}).join("");
|
|
2765
|
-
return
|
|
2765
|
+
return se;
|
|
2766
2766
|
}
|
|
2767
2767
|
function t3(t) {
|
|
2768
2768
|
var e = t.match(Q0);
|
|
@@ -2771,7 +2771,7 @@ function t3(t) {
|
|
|
2771
2771
|
function a3(t, e, a) {
|
|
2772
2772
|
var s, n, o, i, r, l, c, u, v, d;
|
|
2773
2773
|
ge(2, arguments);
|
|
2774
|
-
var h = be(t), w = be(e), g = fa(), b = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : g.locale) !== null && s !== void 0 ? s : Rn, A =
|
|
2774
|
+
var h = be(t), w = be(e), g = fa(), b = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : g.locale) !== null && s !== void 0 ? s : Rn, A = Je((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : g.weekStartsOn) !== null && i !== void 0 ? i : (v = g.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
|
|
2775
2775
|
if (!b.localize)
|
|
2776
2776
|
throw new RangeError("locale must contain localize property");
|
|
2777
2777
|
if (!b.formatLong)
|
|
@@ -2795,7 +2795,7 @@ function a3(t, e, a) {
|
|
|
2795
2795
|
function la(t, e) {
|
|
2796
2796
|
var a;
|
|
2797
2797
|
ge(1, arguments);
|
|
2798
|
-
var s =
|
|
2798
|
+
var s = Je((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
|
|
2799
2799
|
if (s !== 2 && s !== 1 && s !== 0)
|
|
2800
2800
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
2801
2801
|
if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
|
|
@@ -2906,7 +2906,7 @@ function m3(t, e, a) {
|
|
|
2906
2906
|
function C3(t, e) {
|
|
2907
2907
|
return e >= 0 && e <= 59;
|
|
2908
2908
|
}
|
|
2909
|
-
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
2909
|
+
var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Fn = {}, aa = {}, ha = {}, Yt = {}, za = {};
|
|
2910
2910
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
2911
2911
|
za.lexoHelper = void 0;
|
|
2912
2912
|
za.lexoHelper = {
|
|
@@ -2947,7 +2947,7 @@ ma.default = _3;
|
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
2949
|
const Ma = za, y3 = ma;
|
|
2950
|
-
class
|
|
2950
|
+
class ne {
|
|
2951
2951
|
constructor(e, a, s) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = s;
|
|
2953
2953
|
}
|
|
@@ -2958,24 +2958,24 @@ class se {
|
|
|
2958
2958
|
let i = o.length - 1;
|
|
2959
2959
|
for (let r = 0; i >= 0; ++r)
|
|
2960
2960
|
o[r] = a.toDigit(s.charAt(i)), --i;
|
|
2961
|
-
return
|
|
2961
|
+
return ne.make(a, n, o);
|
|
2962
2962
|
}
|
|
2963
2963
|
static zero(e) {
|
|
2964
|
-
return new
|
|
2964
|
+
return new ne(e, 0, ne.ZERO_MAG);
|
|
2965
2965
|
}
|
|
2966
2966
|
static one(e) {
|
|
2967
|
-
return
|
|
2967
|
+
return ne.make(e, 1, ne.ONE_MAG);
|
|
2968
2968
|
}
|
|
2969
2969
|
static make(e, a, s) {
|
|
2970
2970
|
let n;
|
|
2971
2971
|
for (n = s.length; n > 0 && s[n - 1] === 0; --n)
|
|
2972
2972
|
;
|
|
2973
2973
|
if (n === 0)
|
|
2974
|
-
return
|
|
2974
|
+
return ne.zero(e);
|
|
2975
2975
|
if (n === s.length)
|
|
2976
|
-
return new
|
|
2976
|
+
return new ne(e, a, s);
|
|
2977
2977
|
const o = new Array(n).fill(0);
|
|
2978
|
-
return Ma.lexoHelper.arrayCopy(s, 0, o, 0, n), new
|
|
2978
|
+
return Ma.lexoHelper.arrayCopy(s, 0, o, 0, n), new ne(e, a, o);
|
|
2979
2979
|
}
|
|
2980
2980
|
static add(e, a, s) {
|
|
2981
2981
|
const n = Math.max(a.length, s.length), o = new Array(n).fill(0);
|
|
@@ -2987,7 +2987,7 @@ class se {
|
|
|
2987
2987
|
++i;
|
|
2988
2988
|
o[r] = u;
|
|
2989
2989
|
}
|
|
2990
|
-
return
|
|
2990
|
+
return ne.extendWithCarry(o, i);
|
|
2991
2991
|
}
|
|
2992
2992
|
static extendWithCarry(e, a) {
|
|
2993
2993
|
if (a > 0) {
|
|
@@ -2997,8 +2997,8 @@ class se {
|
|
|
2997
2997
|
return e;
|
|
2998
2998
|
}
|
|
2999
2999
|
static subtract(e, a, s) {
|
|
3000
|
-
const n =
|
|
3001
|
-
return o[o.length - 1] = 0,
|
|
3000
|
+
const n = ne.complement(e, s, a.length), o = ne.add(e, a, n);
|
|
3001
|
+
return o[o.length - 1] = 0, ne.add(e, o, ne.ONE_MAG);
|
|
3002
3002
|
}
|
|
3003
3003
|
static multiply(e, a, s) {
|
|
3004
3004
|
const n = new Array(a.length + s.length).fill(0);
|
|
@@ -3040,8 +3040,8 @@ class se {
|
|
|
3040
3040
|
let s;
|
|
3041
3041
|
return this.sign === -1 ? (s = this.negate(), s.subtract(e).negate()) : (s = e.negate(), this.subtract(s));
|
|
3042
3042
|
}
|
|
3043
|
-
const a =
|
|
3044
|
-
return
|
|
3043
|
+
const a = ne.add(this.sys, this.mag, e.mag);
|
|
3044
|
+
return ne.make(this.sys, this.sign, a);
|
|
3045
3045
|
}
|
|
3046
3046
|
subtract(e) {
|
|
3047
3047
|
if (this.checkSystem(e), this.isZero())
|
|
@@ -3052,8 +3052,8 @@ class se {
|
|
|
3052
3052
|
let s;
|
|
3053
3053
|
return this.sign === -1 ? (s = this.negate(), s.add(e).negate()) : (s = e.negate(), this.add(s));
|
|
3054
3054
|
}
|
|
3055
|
-
const a =
|
|
3056
|
-
return a === 0 ?
|
|
3055
|
+
const a = ne.compare(this.mag, e.mag);
|
|
3056
|
+
return a === 0 ? ne.zero(this.sys) : a < 0 ? ne.make(this.sys, this.sign === -1 ? 1 : -1, ne.subtract(this.sys, e.mag, this.mag)) : ne.make(this.sys, this.sign === -1 ? -1 : 1, ne.subtract(this.sys, this.mag, e.mag));
|
|
3057
3057
|
}
|
|
3058
3058
|
multiply(e) {
|
|
3059
3059
|
if (this.checkSystem(e), this.isZero())
|
|
@@ -3061,14 +3061,14 @@ class se {
|
|
|
3061
3061
|
if (e.isZero())
|
|
3062
3062
|
return e;
|
|
3063
3063
|
if (this.isOneish())
|
|
3064
|
-
return this.sign === e.sign ?
|
|
3064
|
+
return this.sign === e.sign ? ne.make(this.sys, 1, e.mag) : ne.make(this.sys, -1, e.mag);
|
|
3065
3065
|
if (e.isOneish())
|
|
3066
|
-
return this.sign === e.sign ?
|
|
3067
|
-
const a =
|
|
3068
|
-
return this.sign === e.sign ?
|
|
3066
|
+
return this.sign === e.sign ? ne.make(this.sys, 1, this.mag) : ne.make(this.sys, -1, this.mag);
|
|
3067
|
+
const a = ne.multiply(this.sys, this.mag, e.mag);
|
|
3068
|
+
return this.sign === e.sign ? ne.make(this.sys, 1, a) : ne.make(this.sys, -1, a);
|
|
3069
3069
|
}
|
|
3070
3070
|
negate() {
|
|
3071
|
-
return this.isZero() ? this :
|
|
3071
|
+
return this.isZero() ? this : ne.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
|
|
3072
3072
|
}
|
|
3073
3073
|
shiftLeft(e = 1) {
|
|
3074
3074
|
if (e === 0)
|
|
@@ -3076,19 +3076,19 @@ class se {
|
|
|
3076
3076
|
if (e < 0)
|
|
3077
3077
|
return this.shiftRight(Math.abs(e));
|
|
3078
3078
|
const a = new Array(this.mag.length + e).fill(0);
|
|
3079
|
-
return Ma.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length),
|
|
3079
|
+
return Ma.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), ne.make(this.sys, this.sign, a);
|
|
3080
3080
|
}
|
|
3081
3081
|
shiftRight(e = 1) {
|
|
3082
3082
|
if (this.mag.length - e <= 0)
|
|
3083
|
-
return
|
|
3083
|
+
return ne.zero(this.sys);
|
|
3084
3084
|
const a = new Array(this.mag.length - e).fill(0);
|
|
3085
|
-
return Ma.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length),
|
|
3085
|
+
return Ma.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), ne.make(this.sys, this.sign, a);
|
|
3086
3086
|
}
|
|
3087
3087
|
complement() {
|
|
3088
3088
|
return this.complementDigits(this.mag.length);
|
|
3089
3089
|
}
|
|
3090
3090
|
complementDigits(e) {
|
|
3091
|
-
return
|
|
3091
|
+
return ne.make(this.sys, this.sign, ne.complement(this.sys, this.mag, e));
|
|
3092
3092
|
}
|
|
3093
3093
|
isZero() {
|
|
3094
3094
|
return this.sign === 0 && this.mag.length === 1 && this.mag[0] === 0;
|
|
@@ -3106,12 +3106,12 @@ class se {
|
|
|
3106
3106
|
return 1;
|
|
3107
3107
|
if (this.sign === -1) {
|
|
3108
3108
|
if (e.sign === -1) {
|
|
3109
|
-
const a =
|
|
3109
|
+
const a = ne.compare(this.mag, e.mag);
|
|
3110
3110
|
return a === -1 ? 1 : a === 1 ? -1 : 0;
|
|
3111
3111
|
}
|
|
3112
3112
|
return -1;
|
|
3113
3113
|
}
|
|
3114
|
-
return this.sign === 1 ? e.sign === 1 ?
|
|
3114
|
+
return this.sign === 1 ? e.sign === 1 ? ne.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
|
|
3115
3115
|
}
|
|
3116
3116
|
getSystem() {
|
|
3117
3117
|
return this.sys;
|
|
@@ -3140,43 +3140,43 @@ class se {
|
|
|
3140
3140
|
throw new Error("Expected numbers of same numeral sys");
|
|
3141
3141
|
}
|
|
3142
3142
|
}
|
|
3143
|
-
Yt.LexoInteger =
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3143
|
+
Yt.LexoInteger = ne;
|
|
3144
|
+
ne.ZERO_MAG = [0];
|
|
3145
|
+
ne.ONE_MAG = [1];
|
|
3146
|
+
ne.NEGATIVE_SIGN = -1;
|
|
3147
|
+
ne.ZERO_SIGN = 0;
|
|
3148
|
+
ne.POSITIVE_SIGN = 1;
|
|
3149
3149
|
Object.defineProperty(ha, "__esModule", { value: !0 });
|
|
3150
3150
|
ha.LexoDecimal = void 0;
|
|
3151
3151
|
const sa = Yt, b3 = ma;
|
|
3152
|
-
class
|
|
3152
|
+
class Ee {
|
|
3153
3153
|
constructor(e, a) {
|
|
3154
3154
|
this.mag = e, this.sig = a;
|
|
3155
3155
|
}
|
|
3156
3156
|
static half(e) {
|
|
3157
3157
|
const a = e.getBase() / 2 | 0;
|
|
3158
|
-
return
|
|
3158
|
+
return Ee.make(sa.LexoInteger.make(e, 1, [a]), 1);
|
|
3159
3159
|
}
|
|
3160
3160
|
static parse(e, a) {
|
|
3161
3161
|
const s = e.indexOf(a.getRadixPointChar());
|
|
3162
3162
|
if (e.lastIndexOf(a.getRadixPointChar()) !== s)
|
|
3163
3163
|
throw new Error("More than one " + a.getRadixPointChar());
|
|
3164
3164
|
if (s < 0)
|
|
3165
|
-
return
|
|
3165
|
+
return Ee.make(sa.LexoInteger.parse(e, a), 0);
|
|
3166
3166
|
const n = e.substring(0, s) + e.substring(s + 1);
|
|
3167
|
-
return
|
|
3167
|
+
return Ee.make(sa.LexoInteger.parse(n, a), e.length - 1 - s);
|
|
3168
3168
|
}
|
|
3169
3169
|
static from(e) {
|
|
3170
|
-
return
|
|
3170
|
+
return Ee.make(e, 0);
|
|
3171
3171
|
}
|
|
3172
3172
|
static make(e, a) {
|
|
3173
3173
|
if (e.isZero())
|
|
3174
|
-
return new
|
|
3174
|
+
return new Ee(e, 0);
|
|
3175
3175
|
let s = 0;
|
|
3176
3176
|
for (let i = 0; i < a && e.getMag(i) === 0; ++i)
|
|
3177
3177
|
++s;
|
|
3178
3178
|
const n = e.shiftRight(s), o = a - s;
|
|
3179
|
-
return new
|
|
3179
|
+
return new Ee(n, o);
|
|
3180
3180
|
}
|
|
3181
3181
|
getSystem() {
|
|
3182
3182
|
return this.mag.getSystem();
|
|
@@ -3187,7 +3187,7 @@ class Oe {
|
|
|
3187
3187
|
a = a.shiftLeft();
|
|
3188
3188
|
for (; s > o; )
|
|
3189
3189
|
n = n.shiftLeft(), ++o;
|
|
3190
|
-
return
|
|
3190
|
+
return Ee.make(a.add(n), s);
|
|
3191
3191
|
}
|
|
3192
3192
|
subtract(e) {
|
|
3193
3193
|
let a = this.mag, s = this.sig, n = e.mag, o;
|
|
@@ -3195,10 +3195,10 @@ class Oe {
|
|
|
3195
3195
|
a = a.shiftLeft();
|
|
3196
3196
|
for (; s > o; )
|
|
3197
3197
|
n = n.shiftLeft(), ++o;
|
|
3198
|
-
return
|
|
3198
|
+
return Ee.make(a.subtract(n), s);
|
|
3199
3199
|
}
|
|
3200
3200
|
multiply(e) {
|
|
3201
|
-
return
|
|
3201
|
+
return Ee.make(this.mag.multiply(e.mag), this.sig + e.sig);
|
|
3202
3202
|
}
|
|
3203
3203
|
floor() {
|
|
3204
3204
|
return this.mag.shiftRight(this.sig);
|
|
@@ -3226,7 +3226,7 @@ class Oe {
|
|
|
3226
3226
|
e < 0 && (e = 0);
|
|
3227
3227
|
const s = this.sig - e;
|
|
3228
3228
|
let n = this.mag.shiftRight(s);
|
|
3229
|
-
return a && (n = n.add(sa.LexoInteger.one(n.getSystem()))),
|
|
3229
|
+
return a && (n = n.add(sa.LexoInteger.one(n.getSystem()))), Ee.make(n, e);
|
|
3230
3230
|
}
|
|
3231
3231
|
compareTo(e) {
|
|
3232
3232
|
if (this === e)
|
|
@@ -3252,7 +3252,7 @@ class Oe {
|
|
|
3252
3252
|
return this.format();
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
|
-
ha.LexoDecimal =
|
|
3255
|
+
ha.LexoDecimal = Ee;
|
|
3256
3256
|
var Ta = {}, pn;
|
|
3257
3257
|
function Un() {
|
|
3258
3258
|
if (pn)
|
|
@@ -3629,7 +3629,7 @@ function Wn() {
|
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3630
3630
|
};
|
|
3631
3631
|
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fn, t), a(Ms, t);
|
|
3632
|
-
})(
|
|
3632
|
+
})(we);
|
|
3633
3633
|
function qn(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3635
3635
|
var s;
|
|
@@ -3660,15 +3660,15 @@ function Nt(t, e) {
|
|
|
3660
3660
|
if (e === 0)
|
|
3661
3661
|
if (t.length > 1) {
|
|
3662
3662
|
const a = t[e + 1];
|
|
3663
|
-
return
|
|
3663
|
+
return we.LexoRank.parse(a.rank).genPrev().format();
|
|
3664
3664
|
} else
|
|
3665
|
-
return
|
|
3665
|
+
return we.LexoRank.middle().format();
|
|
3666
3666
|
else if (e === t.length - 1) {
|
|
3667
3667
|
const a = t[e - 1];
|
|
3668
|
-
return
|
|
3668
|
+
return we.LexoRank.parse(a.rank).genNext().format();
|
|
3669
3669
|
} else {
|
|
3670
3670
|
const a = t[e - 1], s = t[e + 1];
|
|
3671
|
-
return
|
|
3671
|
+
return we.LexoRank.parse(s.rank).between(we.LexoRank.parse(a.rank)).format();
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
3674
3674
|
function Ts(t, e = "dd/MM/yyyy") {
|
|
@@ -3695,7 +3695,7 @@ const zn = (t) => {
|
|
|
3695
3695
|
}, E3 = ["title"], I3 = {
|
|
3696
3696
|
key: 0,
|
|
3697
3697
|
className: "ao-avatar__initials"
|
|
3698
|
-
}, L3 = ["src"],
|
|
3698
|
+
}, L3 = ["src"], et = /* @__PURE__ */ Y({
|
|
3699
3699
|
__name: "AoAvatar",
|
|
3700
3700
|
props: {
|
|
3701
3701
|
userName: {},
|
|
@@ -3717,7 +3717,7 @@ const zn = (t) => {
|
|
|
3717
3717
|
class: G(s.value),
|
|
3718
3718
|
title: i.userName
|
|
3719
3719
|
}, [
|
|
3720
|
-
i.avatarUrl ? E("", !0) : (p(), m("span", I3,
|
|
3720
|
+
i.avatarUrl ? E("", !0) : (p(), m("span", I3, x(J(n)), 1)),
|
|
3721
3721
|
i.avatarUrl ? (p(), m("img", {
|
|
3722
3722
|
key: 1,
|
|
3723
3723
|
className: "ao-avatar__image",
|
|
@@ -3743,7 +3743,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3743
3743
|
}, q3 = { class: "ao-card-template__col-title" }, z3 = { class: "ao-card-template__col-label" }, x3 = { class: "ao-card-template__col-body" }, Y3 = {
|
|
3744
3744
|
key: 1,
|
|
3745
3745
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
3746
|
-
}, K3 = { class: "ao-card-template__col-title" }, G3 = { class: "ao-card-template__col-label" }, X3 = { class: "ao-card-template__col-body" }, Q3 = /* @__PURE__ */
|
|
3746
|
+
}, K3 = { class: "ao-card-template__col-title" }, G3 = { class: "ao-card-template__col-label" }, X3 = { class: "ao-card-template__col-body" }, Q3 = /* @__PURE__ */ Y({
|
|
3747
3747
|
__name: "AoCardTemplate",
|
|
3748
3748
|
props: {
|
|
3749
3749
|
id: {},
|
|
@@ -3772,14 +3772,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3772
3772
|
name: "MountainFlagOutlineRounded",
|
|
3773
3773
|
size: "sm"
|
|
3774
3774
|
}),
|
|
3775
|
-
f("span", P3,
|
|
3775
|
+
f("span", P3, x(s.milestones), 1)
|
|
3776
3776
|
]),
|
|
3777
3777
|
f("li", V3, [
|
|
3778
3778
|
T(pe, {
|
|
3779
3779
|
name: "TaskOutlineRounded",
|
|
3780
3780
|
size: "sm"
|
|
3781
3781
|
}),
|
|
3782
|
-
f("span", B3,
|
|
3782
|
+
f("span", B3, x(s.activities), 1)
|
|
3783
3783
|
])
|
|
3784
3784
|
])
|
|
3785
3785
|
]),
|
|
@@ -3791,7 +3791,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3791
3791
|
name: "WaterfallChartRounded",
|
|
3792
3792
|
size: "sm"
|
|
3793
3793
|
}),
|
|
3794
|
-
f("span", F3,
|
|
3794
|
+
f("span", F3, x(s.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
s.phases ? (p(), m("ul", U3, [
|
|
3797
3797
|
(p(!0), m(he, null, _e(s.phases, (o) => (p(), P(qa, {
|
|
@@ -3812,18 +3812,18 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3812
3812
|
f("div", Z3, [
|
|
3813
3813
|
s.updatedAt ? (p(), m("div", W3, [
|
|
3814
3814
|
f("div", q3, [
|
|
3815
|
-
f("span", z3,
|
|
3815
|
+
f("span", z3, x(s.$t("template.updatedAt.label")), 1)
|
|
3816
3816
|
]),
|
|
3817
3817
|
f("div", x3, [
|
|
3818
|
-
f("span", null,
|
|
3818
|
+
f("span", null, x(s.updatedAt), 1)
|
|
3819
3819
|
])
|
|
3820
3820
|
])) : E("", !0),
|
|
3821
3821
|
s.updatedBy ? (p(), m("div", Y3, [
|
|
3822
3822
|
f("div", K3, [
|
|
3823
|
-
f("span", G3,
|
|
3823
|
+
f("span", G3, x(s.$t("template.updatedBy.label")), 1)
|
|
3824
3824
|
]),
|
|
3825
3825
|
f("div", X3, [
|
|
3826
|
-
T(
|
|
3826
|
+
T(et, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
3827
3827
|
])
|
|
3828
3828
|
])) : E("", !0)
|
|
3829
3829
|
])
|
|
@@ -3836,7 +3836,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3836
3836
|
const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t5 = {
|
|
3837
3837
|
key: 0,
|
|
3838
3838
|
class: "ao-page-header-secondary"
|
|
3839
|
-
}, Ga = /* @__PURE__ */
|
|
3839
|
+
}, Ga = /* @__PURE__ */ Y({
|
|
3840
3840
|
__name: "AoPageHeader",
|
|
3841
3841
|
props: {
|
|
3842
3842
|
canGoBack: { type: Boolean }
|
|
@@ -3862,7 +3862,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
|
|
|
3862
3862
|
const a5 = ["type"], s5 = {
|
|
3863
3863
|
key: 0,
|
|
3864
3864
|
class: "ao-button-card__label"
|
|
3865
|
-
}, Ct = /* @__PURE__ */
|
|
3865
|
+
}, Ct = /* @__PURE__ */ Y({
|
|
3866
3866
|
__name: "AoButtonCard",
|
|
3867
3867
|
props: {
|
|
3868
3868
|
label: { default: () => "" },
|
|
@@ -3886,7 +3886,7 @@ const a5 = ["type"], s5 = {
|
|
|
3886
3886
|
])
|
|
3887
3887
|
}, [
|
|
3888
3888
|
te(n.$slots, "default", {}, () => [
|
|
3889
|
-
n.label ? (p(), m("span", s5,
|
|
3889
|
+
n.label ? (p(), m("span", s5, x(n.label), 1)) : E("", !0)
|
|
3890
3890
|
]),
|
|
3891
3891
|
s.value ? (p(), P(pe, {
|
|
3892
3892
|
key: 0,
|
|
@@ -3900,7 +3900,7 @@ const a5 = ["type"], s5 = {
|
|
|
3900
3900
|
const n5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
3901
3901
|
key: 0,
|
|
3902
3902
|
class: "ao-card-template-item__subitem"
|
|
3903
|
-
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" }, Es = /* @__PURE__ */
|
|
3903
|
+
}, o5 = { class: "ao-card-template-item__subitem-number" }, r5 = { class: "ao-card-template-item__secondary" }, Es = /* @__PURE__ */ Y({
|
|
3904
3904
|
__name: "AoCardTemplateItem",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
milestones: {},
|
|
@@ -3929,7 +3929,7 @@ const n5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3929
3929
|
name: n[l],
|
|
3930
3930
|
size: "sm"
|
|
3931
3931
|
}, null, 8, ["name"]),
|
|
3932
|
-
f("span", o5,
|
|
3932
|
+
f("span", o5, x(i.$props[l]), 1)
|
|
3933
3933
|
])) : E("", !0)
|
|
3934
3934
|
], 64))), 64))
|
|
3935
3935
|
])
|
|
@@ -3949,7 +3949,7 @@ const n5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3949
3949
|
}));
|
|
3950
3950
|
}
|
|
3951
3951
|
});
|
|
3952
|
-
const l5 = /* @__PURE__ */
|
|
3952
|
+
const l5 = /* @__PURE__ */ Y({
|
|
3953
3953
|
__name: "AoCardTemplateItemPhase",
|
|
3954
3954
|
props: {
|
|
3955
3955
|
id: {},
|
|
@@ -3973,7 +3973,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
3973
3973
|
_: 3
|
|
3974
3974
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
3975
3975
|
}
|
|
3976
|
-
}), u5 = /* @__PURE__ */
|
|
3976
|
+
}), u5 = /* @__PURE__ */ Y({
|
|
3977
3977
|
__name: "AoCardTemplateItemMilestone",
|
|
3978
3978
|
props: {
|
|
3979
3979
|
activities: {}
|
|
@@ -3990,7 +3990,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
3990
3990
|
_: 3
|
|
3991
3991
|
}, 8, ["activities"]));
|
|
3992
3992
|
}
|
|
3993
|
-
}), c5 = { class: "ao-list__footer" }, d5 = /* @__PURE__ */
|
|
3993
|
+
}), c5 = { class: "ao-list__footer" }, d5 = /* @__PURE__ */ Y({
|
|
3994
3994
|
__name: "AoTemplateDetailsMilestones",
|
|
3995
3995
|
props: {
|
|
3996
3996
|
templateId: {},
|
|
@@ -4014,7 +4014,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
4014
4014
|
});
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
|
-
return (r, l) => r.phase ? (p(), P(
|
|
4017
|
+
return (r, l) => r.phase ? (p(), P(J(mt), {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": r.phase.milestones,
|
|
4020
4020
|
class: "ao-templates__list",
|
|
@@ -4059,7 +4059,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
4059
4059
|
_: 1
|
|
4060
4060
|
}, 8, ["model-value", "title"])) : E("", !0);
|
|
4061
4061
|
}
|
|
4062
|
-
}), p5 = /* @__PURE__ */
|
|
4062
|
+
}), p5 = /* @__PURE__ */ Y({
|
|
4063
4063
|
__name: "AoCardTemplateItemActivity",
|
|
4064
4064
|
props: {
|
|
4065
4065
|
name: {},
|
|
@@ -4077,7 +4077,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
4077
4077
|
_: 3
|
|
4078
4078
|
}, 8, ["tasks"]));
|
|
4079
4079
|
}
|
|
4080
|
-
}), v5 = { class: "ao-list__footer" }, f5 = /* @__PURE__ */
|
|
4080
|
+
}), v5 = { class: "ao-list__footer" }, f5 = /* @__PURE__ */ Y({
|
|
4081
4081
|
__name: "AoTemplateDetailsActivities",
|
|
4082
4082
|
props: {
|
|
4083
4083
|
templateId: {},
|
|
@@ -4104,7 +4104,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
return (r, l) => r.milestone ? (p(), P(
|
|
4107
|
+
return (r, l) => r.milestone ? (p(), P(J(mt), {
|
|
4108
4108
|
key: 0,
|
|
4109
4109
|
"model-value": r.milestone.activities,
|
|
4110
4110
|
title: r.$t("template.activities.title"),
|
|
@@ -4151,7 +4151,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
4151
4151
|
}, C5 = { class: "ao-modal__header-meta" }, g5 = { class: "ao-modal__title-group" }, _5 = { class: "ao-modal__body" }, y5 = {
|
|
4152
4152
|
key: 1,
|
|
4153
4153
|
class: "ao-modal__footer"
|
|
4154
|
-
}, Xa = /* @__PURE__ */
|
|
4154
|
+
}, Xa = /* @__PURE__ */ Y({
|
|
4155
4155
|
__name: "AoModal",
|
|
4156
4156
|
props: {
|
|
4157
4157
|
size: { default: "md" }
|
|
@@ -4189,7 +4189,7 @@ const l5 = /* @__PURE__ */ x({
|
|
|
4189
4189
|
], 2));
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
|
-
const ua = Math.min,
|
|
4192
|
+
const ua = Math.min, Ie = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
|
|
4193
4193
|
x: t,
|
|
4194
4194
|
y: t
|
|
4195
4195
|
}), b5 = {
|
|
@@ -4485,23 +4485,23 @@ const I5 = function(t) {
|
|
|
4485
4485
|
placement: j
|
|
4486
4486
|
}
|
|
4487
4487
|
};
|
|
4488
|
-
let
|
|
4489
|
-
if (!
|
|
4488
|
+
let se = (X = Z.filter((Q) => Q.overflows[0] <= 0).sort((Q, O) => Q.overflows[1] - O.overflows[1])[0]) == null ? void 0 : X.placement;
|
|
4489
|
+
if (!se)
|
|
4490
4490
|
switch (h) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var ae;
|
|
4493
|
-
const
|
|
4494
|
-
|
|
4493
|
+
const Q = (ae = Z.map((O) => [O.placement, O.overflows.filter((k) => k > 0).reduce((k, F) => k + F, 0)]).sort((O, k) => O[1] - k[1])[0]) == null ? void 0 : ae[0];
|
|
4494
|
+
Q && (se = Q);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
4497
4497
|
case "initialPlacement":
|
|
4498
|
-
|
|
4498
|
+
se = r;
|
|
4499
4499
|
break;
|
|
4500
4500
|
}
|
|
4501
|
-
if (n !==
|
|
4501
|
+
if (n !== se)
|
|
4502
4502
|
return {
|
|
4503
4503
|
reset: {
|
|
4504
|
-
placement:
|
|
4504
|
+
placement: se
|
|
4505
4505
|
}
|
|
4506
4506
|
};
|
|
4507
4507
|
}
|
|
@@ -4538,8 +4538,8 @@ const I5 = function(t) {
|
|
|
4538
4538
|
C = u || _ ? ua(b, L) : L;
|
|
4539
4539
|
}
|
|
4540
4540
|
if (_ && !u) {
|
|
4541
|
-
const L =
|
|
4542
|
-
v ? D = d - 2 * (L !== 0 || U !== 0 ? L + U :
|
|
4541
|
+
const L = Ie(l.left, 0), U = Ie(l.right, 0), Z = Ie(l.top, 0), z = Ie(l.bottom, 0);
|
|
4542
|
+
v ? D = d - 2 * (L !== 0 || U !== 0 ? L + U : Ie(l.left, l.right)) : C = h - 2 * (Z !== 0 || z !== 0 ? Z + z : Ie(l.top, l.bottom));
|
|
4543
4543
|
}
|
|
4544
4544
|
await i({
|
|
4545
4545
|
...e,
|
|
@@ -4558,25 +4558,25 @@ const I5 = function(t) {
|
|
|
4558
4558
|
function vt(t) {
|
|
4559
4559
|
return Gn(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Se(t) {
|
|
4562
4562
|
var e;
|
|
4563
4563
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4564
4564
|
}
|
|
4565
|
-
function
|
|
4565
|
+
function st(t) {
|
|
4566
4566
|
var e;
|
|
4567
4567
|
return (e = (Gn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4568
4568
|
}
|
|
4569
4569
|
function Gn(t) {
|
|
4570
|
-
return t instanceof Node || t instanceof
|
|
4570
|
+
return t instanceof Node || t instanceof Se(t).Node;
|
|
4571
4571
|
}
|
|
4572
|
-
function
|
|
4573
|
-
return t instanceof Element || t instanceof
|
|
4572
|
+
function tt(t) {
|
|
4573
|
+
return t instanceof Element || t instanceof Se(t).Element;
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4576
|
-
return t instanceof HTMLElement || t instanceof
|
|
4575
|
+
function Ze(t) {
|
|
4576
|
+
return t instanceof HTMLElement || t instanceof Se(t).HTMLElement;
|
|
4577
4577
|
}
|
|
4578
4578
|
function hn(t) {
|
|
4579
|
-
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof
|
|
4579
|
+
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Se(t).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
4581
|
function ga(t) {
|
|
4582
4582
|
const {
|
|
@@ -4596,7 +4596,7 @@ function Hs(t) {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
function D5(t) {
|
|
4598
4598
|
let e = Ut(t);
|
|
4599
|
-
for (;
|
|
4599
|
+
for (; Ze(e) && !Ja(e); ) {
|
|
4600
4600
|
if (Hs(e))
|
|
4601
4601
|
return e;
|
|
4602
4602
|
e = Ut(e);
|
|
@@ -4610,10 +4610,10 @@ function Ja(t) {
|
|
|
4610
4610
|
return ["html", "body", "#document"].includes(vt(t));
|
|
4611
4611
|
}
|
|
4612
4612
|
function Ve(t) {
|
|
4613
|
-
return
|
|
4613
|
+
return Se(t).getComputedStyle(t);
|
|
4614
4614
|
}
|
|
4615
4615
|
function es(t) {
|
|
4616
|
-
return
|
|
4616
|
+
return tt(t) ? {
|
|
4617
4617
|
scrollLeft: t.scrollLeft,
|
|
4618
4618
|
scrollTop: t.scrollTop
|
|
4619
4619
|
} : {
|
|
@@ -4629,24 +4629,24 @@ function Ut(t) {
|
|
|
4629
4629
|
t.assignedSlot || // DOM Element detected.
|
|
4630
4630
|
t.parentNode || // ShadowRoot detected.
|
|
4631
4631
|
hn(t) && t.host || // Fallback.
|
|
4632
|
-
|
|
4632
|
+
st(t)
|
|
4633
4633
|
);
|
|
4634
4634
|
return hn(e) ? e.host : e;
|
|
4635
4635
|
}
|
|
4636
4636
|
function Xn(t) {
|
|
4637
4637
|
const e = Ut(t);
|
|
4638
|
-
return Ja(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
4638
|
+
return Ja(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && ga(e) ? e : Xn(e);
|
|
4639
4639
|
}
|
|
4640
4640
|
function ca(t, e, a) {
|
|
4641
4641
|
var s;
|
|
4642
4642
|
e === void 0 && (e = []), a === void 0 && (a = !0);
|
|
4643
|
-
const n = Xn(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i =
|
|
4643
|
+
const n = Xn(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Se(n);
|
|
4644
4644
|
return o ? e.concat(i, i.visualViewport || [], ga(n) ? n : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(n, ca(n));
|
|
4645
4645
|
}
|
|
4646
4646
|
function Qn(t) {
|
|
4647
4647
|
const e = Ve(t);
|
|
4648
4648
|
let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4649
|
-
const n =
|
|
4649
|
+
const n = Ze(t), o = n ? t.offsetWidth : a, i = n ? t.offsetHeight : s, r = Va(a) !== o || Va(s) !== i;
|
|
4650
4650
|
return r && (a = o, s = i), {
|
|
4651
4651
|
width: a,
|
|
4652
4652
|
height: s,
|
|
@@ -4654,11 +4654,11 @@ function Qn(t) {
|
|
|
4654
4654
|
};
|
|
4655
4655
|
}
|
|
4656
4656
|
function Ps(t) {
|
|
4657
|
-
return
|
|
4657
|
+
return tt(t) ? t : t.contextElement;
|
|
4658
4658
|
}
|
|
4659
4659
|
function Vt(t) {
|
|
4660
4660
|
const e = Ps(t);
|
|
4661
|
-
if (!
|
|
4661
|
+
if (!Ze(e))
|
|
4662
4662
|
return pt(1);
|
|
4663
4663
|
const a = e.getBoundingClientRect(), {
|
|
4664
4664
|
width: s,
|
|
@@ -4673,28 +4673,28 @@ function Vt(t) {
|
|
|
4673
4673
|
}
|
|
4674
4674
|
const P5 = /* @__PURE__ */ pt(0);
|
|
4675
4675
|
function Jn(t) {
|
|
4676
|
-
const e =
|
|
4676
|
+
const e = Se(t);
|
|
4677
4677
|
return !Ds() || !e.visualViewport ? P5 : {
|
|
4678
4678
|
x: e.visualViewport.offsetLeft,
|
|
4679
4679
|
y: e.visualViewport.offsetTop
|
|
4680
4680
|
};
|
|
4681
4681
|
}
|
|
4682
4682
|
function V5(t, e, a) {
|
|
4683
|
-
return e === void 0 && (e = !1), !a || e && a !==
|
|
4683
|
+
return e === void 0 && (e = !1), !a || e && a !== Se(t) ? !1 : e;
|
|
4684
4684
|
}
|
|
4685
4685
|
function St(t, e, a, s) {
|
|
4686
4686
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4687
4687
|
const n = t.getBoundingClientRect(), o = Ps(t);
|
|
4688
4688
|
let i = pt(1);
|
|
4689
|
-
e && (s ?
|
|
4689
|
+
e && (s ? tt(s) && (i = Vt(s)) : i = Vt(t));
|
|
4690
4690
|
const r = V5(o, a, s) ? Jn(o) : pt(0);
|
|
4691
4691
|
let l = (n.left + r.x) / i.x, c = (n.top + r.y) / i.y, u = n.width / i.x, v = n.height / i.y;
|
|
4692
4692
|
if (o) {
|
|
4693
|
-
const d =
|
|
4693
|
+
const d = Se(o), h = s && tt(s) ? Se(s) : s;
|
|
4694
4694
|
let w = d.frameElement;
|
|
4695
4695
|
for (; w && s && h !== d; ) {
|
|
4696
4696
|
const g = Vt(w), b = w.getBoundingClientRect(), A = Ve(w), _ = b.left + (w.clientLeft + parseFloat(A.paddingLeft)) * g.x, C = b.top + (w.clientTop + parseFloat(A.paddingTop)) * g.y;
|
|
4697
|
-
l *= g.x, c *= g.y, u *= g.x, v *= g.y, l += _, c += C, w =
|
|
4697
|
+
l *= g.x, c *= g.y, u *= g.x, v *= g.y, l += _, c += C, w = Se(w).frameElement;
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
4700
4700
|
return Ra({
|
|
@@ -4710,7 +4710,7 @@ function B5(t) {
|
|
|
4710
4710
|
offsetParent: a,
|
|
4711
4711
|
strategy: s
|
|
4712
4712
|
} = t;
|
|
4713
|
-
const n =
|
|
4713
|
+
const n = Ze(a), o = st(a);
|
|
4714
4714
|
if (a === o)
|
|
4715
4715
|
return e;
|
|
4716
4716
|
let i = {
|
|
@@ -4718,7 +4718,7 @@ function B5(t) {
|
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, r = pt(1);
|
|
4720
4720
|
const l = pt(0);
|
|
4721
|
-
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || ga(o)) && (i = es(a)),
|
|
4721
|
+
if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || ga(o)) && (i = es(a)), Ze(a))) {
|
|
4722
4722
|
const c = St(a);
|
|
4723
4723
|
r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
|
|
4724
4724
|
}
|
|
@@ -4733,13 +4733,13 @@ function R5(t) {
|
|
|
4733
4733
|
return Array.from(t.getClientRects());
|
|
4734
4734
|
}
|
|
4735
4735
|
function ei(t) {
|
|
4736
|
-
return St(
|
|
4736
|
+
return St(st(t)).left + es(t).scrollLeft;
|
|
4737
4737
|
}
|
|
4738
4738
|
function j5(t) {
|
|
4739
|
-
const e =
|
|
4739
|
+
const e = st(t), a = es(t), s = t.ownerDocument.body, n = Ie(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = Ie(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4740
4740
|
let i = -a.scrollLeft + ei(t);
|
|
4741
4741
|
const r = -a.scrollTop;
|
|
4742
|
-
return Ve(s).direction === "rtl" && (i +=
|
|
4742
|
+
return Ve(s).direction === "rtl" && (i += Ie(e.clientWidth, s.clientWidth) - n), {
|
|
4743
4743
|
width: n,
|
|
4744
4744
|
height: o,
|
|
4745
4745
|
x: i,
|
|
@@ -4747,7 +4747,7 @@ function j5(t) {
|
|
|
4747
4747
|
};
|
|
4748
4748
|
}
|
|
4749
4749
|
function N5(t, e) {
|
|
4750
|
-
const a =
|
|
4750
|
+
const a = Se(t), s = st(t), n = a.visualViewport;
|
|
4751
4751
|
let o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
4752
4752
|
if (n) {
|
|
4753
4753
|
o = n.width, i = n.height;
|
|
@@ -4762,7 +4762,7 @@ function N5(t, e) {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
4764
|
function F5(t, e) {
|
|
4765
|
-
const a = St(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o =
|
|
4765
|
+
const a = St(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = Ze(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = n * o.x, c = s * o.y;
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: i,
|
|
4768
4768
|
height: r,
|
|
@@ -4775,8 +4775,8 @@ function mn(t, e, a) {
|
|
|
4775
4775
|
if (e === "viewport")
|
|
4776
4776
|
s = N5(t, a);
|
|
4777
4777
|
else if (e === "document")
|
|
4778
|
-
s = j5(
|
|
4779
|
-
else if (
|
|
4778
|
+
s = j5(st(t));
|
|
4779
|
+
else if (tt(e))
|
|
4780
4780
|
s = F5(e, a);
|
|
4781
4781
|
else {
|
|
4782
4782
|
const n = Jn(t);
|
|
@@ -4790,16 +4790,16 @@ function mn(t, e, a) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
function ti(t, e) {
|
|
4792
4792
|
const a = Ut(t);
|
|
4793
|
-
return a === e || !
|
|
4793
|
+
return a === e || !tt(a) || Ja(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
|
|
4794
4794
|
}
|
|
4795
4795
|
function U5(t, e) {
|
|
4796
4796
|
const a = e.get(t);
|
|
4797
4797
|
if (a)
|
|
4798
4798
|
return a;
|
|
4799
|
-
let s = ca(t, [], !1).filter((r) =>
|
|
4799
|
+
let s = ca(t, [], !1).filter((r) => tt(r) && vt(r) !== "body"), n = null;
|
|
4800
4800
|
const o = Ve(t).position === "fixed";
|
|
4801
4801
|
let i = o ? Ut(t) : t;
|
|
4802
|
-
for (;
|
|
4802
|
+
for (; tt(i) && !Ja(i); ) {
|
|
4803
4803
|
const r = Ve(i), l = Hs(i);
|
|
4804
4804
|
!l && r.position === "fixed" && (n = null), (o ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || ga(i) && !l && ti(t, i)) ? s = s.filter((u) => u !== i) : n = r, i = Ut(i);
|
|
4805
4805
|
}
|
|
@@ -4814,7 +4814,7 @@ function Z5(t) {
|
|
|
4814
4814
|
} = t;
|
|
4815
4815
|
const i = [...a === "clippingAncestors" ? U5(e, this._c) : [].concat(a), s], r = i[0], l = i.reduce((c, u) => {
|
|
4816
4816
|
const v = mn(e, u, n);
|
|
4817
|
-
return c.top =
|
|
4817
|
+
return c.top = Ie(v.top, c.top), c.right = ua(v.right, c.right), c.bottom = ua(v.bottom, c.bottom), c.left = Ie(v.left, c.left), c;
|
|
4818
4818
|
}, mn(e, r, n));
|
|
4819
4819
|
return {
|
|
4820
4820
|
width: l.right - l.left,
|
|
@@ -4827,7 +4827,7 @@ function W5(t) {
|
|
|
4827
4827
|
return Qn(t);
|
|
4828
4828
|
}
|
|
4829
4829
|
function q5(t, e, a) {
|
|
4830
|
-
const s =
|
|
4830
|
+
const s = Ze(e), n = st(e), o = a === "fixed", i = St(t, !0, o, e);
|
|
4831
4831
|
let r = {
|
|
4832
4832
|
scrollLeft: 0,
|
|
4833
4833
|
scrollTop: 0
|
|
@@ -4847,11 +4847,11 @@ function q5(t, e, a) {
|
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
4849
|
function Cn(t, e) {
|
|
4850
|
-
return !
|
|
4850
|
+
return !Ze(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
4851
4851
|
}
|
|
4852
4852
|
function ai(t, e) {
|
|
4853
|
-
const a =
|
|
4854
|
-
if (!
|
|
4853
|
+
const a = Se(t);
|
|
4854
|
+
if (!Ze(t))
|
|
4855
4855
|
return a;
|
|
4856
4856
|
let s = Cn(t, e);
|
|
4857
4857
|
for (; s && H5(s) && Ve(s).position === "static"; )
|
|
@@ -4879,19 +4879,19 @@ function x5(t) {
|
|
|
4879
4879
|
}
|
|
4880
4880
|
const Y5 = {
|
|
4881
4881
|
convertOffsetParentRelativeRectToViewportRelativeRect: B5,
|
|
4882
|
-
getDocumentElement:
|
|
4882
|
+
getDocumentElement: st,
|
|
4883
4883
|
getClippingRect: Z5,
|
|
4884
4884
|
getOffsetParent: ai,
|
|
4885
4885
|
getElementRects: z5,
|
|
4886
4886
|
getClientRects: R5,
|
|
4887
4887
|
getDimensions: W5,
|
|
4888
4888
|
getScale: Vt,
|
|
4889
|
-
isElement:
|
|
4889
|
+
isElement: tt,
|
|
4890
4890
|
isRTL: x5
|
|
4891
4891
|
};
|
|
4892
4892
|
function K5(t, e) {
|
|
4893
4893
|
let a = null, s;
|
|
4894
|
-
const n =
|
|
4894
|
+
const n = st(t);
|
|
4895
4895
|
function o() {
|
|
4896
4896
|
clearTimeout(s), a && a.disconnect(), a = null;
|
|
4897
4897
|
}
|
|
@@ -4907,7 +4907,7 @@ function K5(t, e) {
|
|
|
4907
4907
|
return;
|
|
4908
4908
|
const h = Oa(u), w = Oa(n.clientWidth - (c + v)), g = Oa(n.clientHeight - (u + d)), b = Oa(c), _ = {
|
|
4909
4909
|
rootMargin: -h + "px " + -w + "px " + -g + "px " + -b + "px",
|
|
4910
|
-
threshold:
|
|
4910
|
+
threshold: Ie(0, ua(1, l)) || 1
|
|
4911
4911
|
};
|
|
4912
4912
|
let C = !0;
|
|
4913
4913
|
function D(I) {
|
|
@@ -4983,7 +4983,7 @@ const X5 = (t, e, a) => {
|
|
|
4983
4983
|
}, Q5 = (t) => {
|
|
4984
4984
|
const e = ee(!1), a = ee(), s = ee(), n = ee(0);
|
|
4985
4985
|
function o() {
|
|
4986
|
-
const v =
|
|
4986
|
+
const v = J(t.appendTo);
|
|
4987
4987
|
return v ? typeof v == "string" ? document.getElementById(v) ?? document.body : v : document.getElementById("floatingElements") ?? document.body;
|
|
4988
4988
|
}
|
|
4989
4989
|
const i = o(), r = ee(() => {
|
|
@@ -5050,7 +5050,7 @@ function Ne(t) {
|
|
|
5050
5050
|
return [null, void 0].indexOf(t) !== -1;
|
|
5051
5051
|
}
|
|
5052
5052
|
function J5(t, e, a) {
|
|
5053
|
-
const { object: s, valueProp: n, mode: o } =
|
|
5053
|
+
const { object: s, valueProp: n, mode: o } = Me(t), i = Mt().proxy, r = a.iv, l = (v, d = !0) => {
|
|
5054
5054
|
r.value = u(v);
|
|
5055
5055
|
const h = c(v);
|
|
5056
5056
|
e.emit("change", h, i), d && (e.emit("input", h), e.emit("update:modelValue", h));
|
|
@@ -5060,7 +5060,7 @@ function J5(t, e, a) {
|
|
|
5060
5060
|
};
|
|
5061
5061
|
}
|
|
5062
5062
|
function e7(t, e) {
|
|
5063
|
-
const { value: a, modelValue: s, mode: n, valueProp: o } =
|
|
5063
|
+
const { value: a, modelValue: s, mode: n, valueProp: o } = Me(t), i = ee(n.value !== "single" ? [] : {}), r = M(() => s && s.value !== void 0 ? s.value : a.value), l = M(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = M(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
5064
5064
|
return {
|
|
5065
5065
|
iv: i,
|
|
5066
5066
|
internalValue: i,
|
|
@@ -5071,7 +5071,7 @@ function e7(t, e) {
|
|
|
5071
5071
|
};
|
|
5072
5072
|
}
|
|
5073
5073
|
function t7(t, e, a) {
|
|
5074
|
-
const { regex: s } =
|
|
5074
|
+
const { regex: s } = Me(t), n = Mt().proxy, o = a.isOpen, i = a.open, r = ee(null), l = () => {
|
|
5075
5075
|
r.value = "";
|
|
5076
5076
|
}, c = (d) => {
|
|
5077
5077
|
r.value = d.target.value;
|
|
@@ -5099,7 +5099,7 @@ function t7(t, e, a) {
|
|
|
5099
5099
|
};
|
|
5100
5100
|
}
|
|
5101
5101
|
function a7(t, e, a) {
|
|
5102
|
-
const { groupSelect: s, mode: n, groups: o, disabledProp: i } =
|
|
5102
|
+
const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Me(t), r = ee(null), l = (u) => {
|
|
5103
5103
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (r.value = u);
|
|
5104
5104
|
};
|
|
5105
5105
|
return {
|
|
@@ -5151,18 +5151,18 @@ function i7(t, e, a) {
|
|
|
5151
5151
|
strict: ae,
|
|
5152
5152
|
closeOnSelect: S,
|
|
5153
5153
|
closeOnDeselect: j,
|
|
5154
|
-
groups:
|
|
5155
|
-
reverse:
|
|
5154
|
+
groups: se,
|
|
5155
|
+
reverse: Q,
|
|
5156
5156
|
infinite: O,
|
|
5157
5157
|
groupOptions: k,
|
|
5158
5158
|
groupHideEmpty: F,
|
|
5159
5159
|
groupSelect: V,
|
|
5160
|
-
onCreate:
|
|
5160
|
+
onCreate: ie,
|
|
5161
5161
|
disabledProp: y,
|
|
5162
5162
|
searchStart: R,
|
|
5163
5163
|
searchFilter: le
|
|
5164
|
-
} =
|
|
5165
|
-
if (
|
|
5164
|
+
} = Me(t), oe = Mt().proxy, q = a.iv, H = a.ev, K = a.search, fe = a.clearSearch, $e = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, ns = a.deactivate, it = a.close, ya = a.localize, ot = ee([]), je = ee([]), Te = ee(!1), Be = ee(null), ze = ee(O.value && i.value === -1 ? 10 : i.value), Xt = M(() => l.value || c.value || !1), ba = M(() => v.value !== void 0 ? v.value : d.value !== void 0 ? d.value : !0), Oe = M(() => {
|
|
5165
|
+
if (se.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((re) => {
|
|
@@ -5173,22 +5173,22 @@ function i7(t, e, a) {
|
|
|
5173
5173
|
} else {
|
|
5174
5174
|
let $ = ds(je.value || /* istanbul ignore next */
|
|
5175
5175
|
[]);
|
|
5176
|
-
return
|
|
5176
|
+
return ot.value.length && ($ = $.concat(ot.value)), $;
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Qt = M(() => {
|
|
5179
|
-
let $ =
|
|
5180
|
-
return
|
|
5181
|
-
}),
|
|
5179
|
+
let $ = Oe.value;
|
|
5180
|
+
return Q.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cs($);
|
|
5181
|
+
}), rt = M(() => {
|
|
5182
5182
|
let $ = Qt.value;
|
|
5183
|
-
return
|
|
5183
|
+
return ze.value > 0 && ($ = $.slice(0, ze.value)), $;
|
|
5184
5184
|
}), _t = M(() => {
|
|
5185
|
-
if (!
|
|
5185
|
+
if (!se.value)
|
|
5186
5186
|
return [];
|
|
5187
5187
|
let $ = [], B = je.value || /* istanbul ignore next */
|
|
5188
5188
|
[];
|
|
5189
|
-
return
|
|
5189
|
+
return ot.value.length && $.push({
|
|
5190
5190
|
[Z.value]: " ",
|
|
5191
|
-
[k.value]: [...
|
|
5191
|
+
[k.value]: [...ot.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = M(() => {
|
|
@@ -5199,7 +5199,7 @@ function i7(t, e, a) {
|
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
5201
|
}), is = M(() => {
|
|
5202
|
-
if (!
|
|
5202
|
+
if (!se.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
5205
|
return Ai(($ || /* istanbul ignore next */
|
|
@@ -5221,7 +5221,7 @@ function i7(t, e, a) {
|
|
|
5221
5221
|
case "tags":
|
|
5222
5222
|
return !Ne(q.value) && q.value.length > 0;
|
|
5223
5223
|
}
|
|
5224
|
-
}), pi = M(() => h !== void 0 && h.value !== void 0 ? h.value(q.value,
|
|
5224
|
+
}), pi = M(() => h !== void 0 && h.value !== void 0 ? h.value(q.value, oe) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), vi = M(() => !Oe.value.length && !Te.value && !Ot.value.length), fi = M(() => Oe.value.length > 0 && rt.value.length == 0 && (K.value && se.value || !se.value)), Ot = M(() => Xt.value === !1 || !K.value ? [] : $i(K.value) !== -1 ? [] : [{
|
|
5225
5225
|
[L.value]: K.value,
|
|
5226
5226
|
[yt.value[0]]: K.value,
|
|
5227
5227
|
[u.value]: K.value,
|
|
@@ -5234,28 +5234,28 @@ function i7(t, e, a) {
|
|
|
5234
5234
|
case "tags":
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
|
-
}), mi = M(() => g.value ||
|
|
5238
|
-
switch (typeof $ != "object" && ($ =
|
|
5237
|
+
}), mi = M(() => g.value || Te.value), Et = ($) => {
|
|
5238
|
+
switch (typeof $ != "object" && ($ = Ye($)), n.value) {
|
|
5239
5239
|
case "single":
|
|
5240
|
-
|
|
5240
|
+
$e($);
|
|
5241
5241
|
break;
|
|
5242
5242
|
case "multiple":
|
|
5243
5243
|
case "tags":
|
|
5244
|
-
|
|
5244
|
+
$e(q.value.concat($));
|
|
5245
5245
|
break;
|
|
5246
5246
|
}
|
|
5247
|
-
e.emit("select", Js($), $,
|
|
5247
|
+
e.emit("select", Js($), $, oe);
|
|
5248
5248
|
}, It = ($) => {
|
|
5249
|
-
switch (typeof $ != "object" && ($ =
|
|
5249
|
+
switch (typeof $ != "object" && ($ = Ye($)), n.value) {
|
|
5250
5250
|
case "single":
|
|
5251
5251
|
tn();
|
|
5252
5252
|
break;
|
|
5253
5253
|
case "tags":
|
|
5254
5254
|
case "multiple":
|
|
5255
|
-
|
|
5255
|
+
$e(Array.isArray($) ? q.value.filter((B) => $.map((re) => re[L.value]).indexOf(B[L.value]) === -1) : q.value.filter((B) => B[L.value] != $[L.value]));
|
|
5256
5256
|
break;
|
|
5257
5257
|
}
|
|
5258
|
-
e.emit("deselect", Js($), $,
|
|
5258
|
+
e.emit("deselect", Js($), $, oe);
|
|
5259
5259
|
}, Js = ($) => w.value ? $ : $[L.value], en = ($) => {
|
|
5260
5260
|
It($);
|
|
5261
5261
|
}, Ci = ($, B) => {
|
|
@@ -5265,8 +5265,8 @@ function i7(t, e, a) {
|
|
|
5265
5265
|
}
|
|
5266
5266
|
en($);
|
|
5267
5267
|
}, tn = () => {
|
|
5268
|
-
|
|
5269
|
-
},
|
|
5268
|
+
$e(hi.value), e.emit("clear", oe);
|
|
5269
|
+
}, xe = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
5271
|
return n.value === "single" ? !1 : wi($[k.value]) && $[k.value].length;
|
|
5272
5272
|
switch (n.value) {
|
|
@@ -5278,9 +5278,9 @@ function i7(t, e, a) {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
}, rs = ($) => $[y.value] === !0, ls = () => X === void 0 || X.value === -1 || !os.value && X.value > 0 ? !1 : q.value.length >= X.value, gi = ($) => {
|
|
5280
5280
|
if (!rs($)) {
|
|
5281
|
-
if (
|
|
5282
|
-
|
|
5283
|
-
|
|
5281
|
+
if (ie && ie.value && !xe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = ie.value($, oe), $ instanceof Promise)) {
|
|
5282
|
+
Te.value = !0, $.then((B) => {
|
|
5283
|
+
Te.value = !1, an(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
@@ -5289,33 +5289,33 @@ function i7(t, e, a) {
|
|
|
5289
5289
|
}, an = ($) => {
|
|
5290
5290
|
switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), n.value) {
|
|
5291
5291
|
case "single":
|
|
5292
|
-
if ($ &&
|
|
5293
|
-
z.value && It($), j.value && (
|
|
5292
|
+
if ($ && xe($)) {
|
|
5293
|
+
z.value && It($), j.value && (nt(), it());
|
|
5294
5294
|
return;
|
|
5295
5295
|
}
|
|
5296
|
-
$ && us($), I.value && fe(), S.value && (
|
|
5296
|
+
$ && us($), I.value && fe(), S.value && (nt(), it()), $ && Et($);
|
|
5297
5297
|
break;
|
|
5298
5298
|
case "multiple":
|
|
5299
|
-
if ($ &&
|
|
5300
|
-
It($), j.value && (
|
|
5299
|
+
if ($ && xe($)) {
|
|
5300
|
+
It($), j.value && (nt(), it());
|
|
5301
5301
|
return;
|
|
5302
5302
|
}
|
|
5303
5303
|
if (ls()) {
|
|
5304
|
-
e.emit("max",
|
|
5304
|
+
e.emit("max", oe);
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
|
-
$ && (us($), Et($)), I.value && fe(), r.value &&
|
|
5307
|
+
$ && (us($), Et($)), I.value && fe(), r.value && nt(), S.value && it();
|
|
5308
5308
|
break;
|
|
5309
5309
|
case "tags":
|
|
5310
|
-
if ($ &&
|
|
5311
|
-
It($), j.value && (
|
|
5310
|
+
if ($ && xe($)) {
|
|
5311
|
+
It($), j.value && (nt(), it());
|
|
5312
5312
|
return;
|
|
5313
5313
|
}
|
|
5314
5314
|
if (ls()) {
|
|
5315
|
-
e.emit("max",
|
|
5315
|
+
e.emit("max", oe);
|
|
5316
5316
|
return;
|
|
5317
5317
|
}
|
|
5318
|
-
$ && us($), I.value && fe(), $ && Et($), r.value &&
|
|
5318
|
+
$ && us($), I.value && fe(), $ && Et($), r.value && nt(), S.value && it();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
S.value || _a();
|
|
@@ -5332,21 +5332,21 @@ function i7(t, e, a) {
|
|
|
5332
5332
|
S.value && ns();
|
|
5333
5333
|
}
|
|
5334
5334
|
}, us = ($) => {
|
|
5335
|
-
|
|
5335
|
+
Ye($[L.value]) === void 0 && Xt.value && (e.emit("tag", $[L.value], oe), e.emit("option", $[L.value], oe), e.emit("create", $[L.value], oe), ba.value && Si($), fe());
|
|
5336
5336
|
}, yi = () => {
|
|
5337
|
-
n.value !== "single" && Et(
|
|
5338
|
-
}, bi = ($) => $.find((B) => !
|
|
5339
|
-
|
|
5337
|
+
n.value !== "single" && Et(rt.value.filter(($) => !$.disabled && !xe($)));
|
|
5338
|
+
}, bi = ($) => $.find((B) => !xe(B) && !B[y.value]) === void 0, wi = ($) => $.find((B) => !xe(B)) === void 0, Ye = ($) => Oe.value[Oe.value.map((B) => String(B[L.value])).indexOf(String($))], $i = ($) => Oe.value.findIndex((B) => yt.value.some((re) => (parseInt(B[re]) == B[re] ? parseInt(B[re]) : B[re]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(n.value) !== -1 && r.value && xe($), Si = ($) => {
|
|
5339
|
+
ot.value.push($);
|
|
5340
5340
|
}, Ai = ($) => F.value ? $.filter(
|
|
5341
5341
|
(B) => K.value ? B.__VISIBLE__.length : B[k.value].length
|
|
5342
5342
|
) : $.filter((B) => K.value ? B.__VISIBLE__.length : !0), cs = ($, B = !0) => {
|
|
5343
5343
|
let re = $;
|
|
5344
5344
|
if (K.value && C.value) {
|
|
5345
5345
|
let me = le.value;
|
|
5346
|
-
me || (me = (bt, nn,
|
|
5346
|
+
me || (me = (bt, nn, b8) => yt.value.some((Ti) => {
|
|
5347
5347
|
let on = hs(ya(bt[Ti]), ae.value);
|
|
5348
5348
|
return R.value ? on.startsWith(hs(nn, ae.value)) : on.indexOf(hs(nn, ae.value)) !== -1;
|
|
5349
|
-
})), re = re.filter((bt) => me(bt, K.value,
|
|
5349
|
+
})), re = re.filter((bt) => me(bt, K.value, oe));
|
|
5350
5350
|
}
|
|
5351
5351
|
return r.value && B && (re = re.filter((me) => !ki(me))), re;
|
|
5352
5352
|
}, ds = ($) => {
|
|
@@ -5357,25 +5357,25 @@ function i7(t, e, a) {
|
|
|
5357
5357
|
})), B = B.map((re) => typeof re == "object" ? re : { [L.value]: re, [yt.value[0]]: re, [u.value]: re }), B;
|
|
5358
5358
|
}, $a = () => {
|
|
5359
5359
|
Ne(H.value) || (q.value = Sa(H.value));
|
|
5360
|
-
}, ka = ($) => (
|
|
5361
|
-
s.value(K.value,
|
|
5362
|
-
je.value = me || [], typeof $ == "function" && $(me),
|
|
5360
|
+
}, ka = ($) => (Te.value = !0, new Promise((B, re) => {
|
|
5361
|
+
s.value(K.value, oe).then((me) => {
|
|
5362
|
+
je.value = me || [], typeof $ == "function" && $(me), Te.value = !1;
|
|
5363
5363
|
}).catch((me) => {
|
|
5364
|
-
console.error(me), je.value = [],
|
|
5364
|
+
console.error(me), je.value = [], Te.value = !1;
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
B();
|
|
5367
5367
|
});
|
|
5368
5368
|
})), ps = () => {
|
|
5369
5369
|
if (os.value)
|
|
5370
5370
|
if (n.value === "single") {
|
|
5371
|
-
let $ =
|
|
5371
|
+
let $ = Ye(q.value[L.value]);
|
|
5372
5372
|
if ($ !== void 0) {
|
|
5373
5373
|
let B = $[u.value];
|
|
5374
5374
|
q.value[u.value] = B, w.value && (H.value[u.value] = B);
|
|
5375
5375
|
}
|
|
5376
5376
|
} else
|
|
5377
5377
|
q.value.forEach(($, B) => {
|
|
5378
|
-
let re =
|
|
5378
|
+
let re = Ye(q.value[B][L.value]);
|
|
5379
5379
|
if (re !== void 0) {
|
|
5380
5380
|
let me = re[u.value];
|
|
5381
5381
|
q.value[B][u.value] = me, w.value && (H.value[B][u.value] = me);
|
|
@@ -5383,19 +5383,19 @@ function i7(t, e, a) {
|
|
|
5383
5383
|
});
|
|
5384
5384
|
}, Mi = ($) => {
|
|
5385
5385
|
ka($);
|
|
5386
|
-
}, Sa = ($) => Ne($) ? n.value === "single" ? {} : [] : w.value ? $ : n.value === "single" ?
|
|
5386
|
+
}, Sa = ($) => Ne($) ? n.value === "single" ? {} : [] : w.value ? $ : n.value === "single" ? Ye($) || (U.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
5388
5388
|
[L.value]: $,
|
|
5389
5389
|
[yt.value[0]]: $
|
|
5390
|
-
} : {}) : $.filter((B) => !!
|
|
5390
|
+
} : {}) : $.filter((B) => !!Ye(B) || U.value).map((B) => Ye(B) || {
|
|
5391
5391
|
[u.value]: B,
|
|
5392
5392
|
[L.value]: B,
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
5394
|
}), sn = () => {
|
|
5395
5395
|
Be.value = de(K, ($) => {
|
|
5396
|
-
$.length < _.value || !$ && _.value !== 0 || (
|
|
5397
|
-
$ == K.value && s.value(K.value,
|
|
5398
|
-
($ == K.value || !K.value) && (je.value = B, Kt.value =
|
|
5396
|
+
$.length < _.value || !$ && _.value !== 0 || (Te.value = !0, D.value && (je.value = []), setTimeout(() => {
|
|
5397
|
+
$ == K.value && s.value(K.value, oe).then((B) => {
|
|
5398
|
+
($ == K.value || !K.value) && (je.value = B, Kt.value = rt.value.filter((re) => re[y.value] !== !0)[0] || null, Te.value = !1);
|
|
5399
5399
|
}).catch(
|
|
5400
5400
|
/* istanbul ignore next */
|
|
5401
5401
|
(B) => {
|
|
@@ -5411,48 +5411,48 @@ function i7(t, e, a) {
|
|
|
5411
5411
|
Be.value && Be.value(), $ >= 0 && sn();
|
|
5412
5412
|
}), de(H, ($) => {
|
|
5413
5413
|
if (Ne($)) {
|
|
5414
|
-
|
|
5414
|
+
$e(Sa($), !1);
|
|
5415
5415
|
return;
|
|
5416
5416
|
}
|
|
5417
5417
|
switch (n.value) {
|
|
5418
5418
|
case "single":
|
|
5419
|
-
(w.value ? $[L.value] != q.value[L.value] : $ != q.value[L.value]) &&
|
|
5419
|
+
(w.value ? $[L.value] != q.value[L.value] : $ != q.value[L.value]) && $e(Sa($), !1);
|
|
5420
5420
|
break;
|
|
5421
5421
|
case "multiple":
|
|
5422
5422
|
case "tags":
|
|
5423
|
-
n7(w.value ? $.map((B) => B[L.value]) : $, q.value.map((B) => B[L.value])) ||
|
|
5423
|
+
n7(w.value ? $.map((B) => B[L.value]) : $, q.value.map((B) => B[L.value])) || $e(Sa($), !1);
|
|
5424
5424
|
break;
|
|
5425
5425
|
}
|
|
5426
5426
|
}, { deep: !0 }), de(s, ($, B) => {
|
|
5427
5427
|
typeof t.options == "function" ? A.value && (!B || $ && $.toString() !== B.toString()) && ka() : (je.value = t.options, Object.keys(q.value).length || $a(), ps());
|
|
5428
5428
|
}), de(u, ps), de(i, ($, B) => {
|
|
5429
|
-
|
|
5429
|
+
ze.value = O.value && $ === -1 ? 10 : $;
|
|
5430
5430
|
}), {
|
|
5431
5431
|
pfo: Qt,
|
|
5432
|
-
fo:
|
|
5433
|
-
filteredOptions:
|
|
5432
|
+
fo: rt,
|
|
5433
|
+
filteredOptions: rt,
|
|
5434
5434
|
hasSelected: os,
|
|
5435
5435
|
multipleLabelText: pi,
|
|
5436
|
-
eo:
|
|
5437
|
-
extendedOptions:
|
|
5436
|
+
eo: Oe,
|
|
5437
|
+
extendedOptions: Oe,
|
|
5438
5438
|
eg: _t,
|
|
5439
5439
|
extendedGroups: _t,
|
|
5440
5440
|
fg: is,
|
|
5441
5441
|
filteredGroups: is,
|
|
5442
5442
|
noOptions: vi,
|
|
5443
5443
|
noResults: fi,
|
|
5444
|
-
resolving:
|
|
5444
|
+
resolving: Te,
|
|
5445
5445
|
busy: mi,
|
|
5446
|
-
offset:
|
|
5446
|
+
offset: ze,
|
|
5447
5447
|
select: Et,
|
|
5448
5448
|
deselect: It,
|
|
5449
5449
|
remove: en,
|
|
5450
5450
|
selectAll: yi,
|
|
5451
5451
|
clear: tn,
|
|
5452
|
-
isSelected:
|
|
5452
|
+
isSelected: xe,
|
|
5453
5453
|
isDisabled: rs,
|
|
5454
5454
|
isMax: ls,
|
|
5455
|
-
getOption:
|
|
5455
|
+
getOption: Ye,
|
|
5456
5456
|
handleOptionClick: gi,
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
5458
|
handleTagRemove: Ci,
|
|
@@ -5472,23 +5472,23 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: v
|
|
5475
|
-
} =
|
|
5475
|
+
} = Me(t), d = a.fo, h = a.fg, w = a.handleOptionClick, g = a.handleGroupClick, b = a.search, A = a.pointer, _ = a.setPointer, C = a.clearPointer, D = a.multiselect, I = a.isOpen, L = M(() => d.value.filter((H) => !H[u.value])), U = M(() => h.value.filter((H) => !H[u.value])), Z = M(() => l.value !== "single" && c.value), z = M(() => A.value && A.value.group), X = M(() => oe(A.value)), ae = M(() => {
|
|
5476
5476
|
const H = z.value ? A.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
|
-
|
|
5479
|
-
), K = U.value.map((
|
|
5478
|
+
oe(A.value)
|
|
5479
|
+
), K = U.value.map(($e) => $e[i.value]).indexOf(H[i.value]);
|
|
5480
5480
|
let fe = U.value[K - 1];
|
|
5481
5481
|
return fe === void 0 && (fe = j.value), fe;
|
|
5482
5482
|
}), S = M(() => {
|
|
5483
|
-
let H = U.value.map((K) => K.label).indexOf(z.value ? A.value[i.value] :
|
|
5483
|
+
let H = U.value.map((K) => K.label).indexOf(z.value ? A.value[i.value] : oe(A.value)[i.value]) + 1;
|
|
5484
5484
|
return U.value.length <= H && (H = 0), U.value[H];
|
|
5485
|
-
}), j = M(() => [...U.value].slice(-1)[0]),
|
|
5485
|
+
}), j = M(() => [...U.value].slice(-1)[0]), se = M(() => A.value.__VISIBLE__.filter((H) => !H[u.value])[0]), Q = M(() => {
|
|
5486
5486
|
const H = X.value.__VISIBLE__.filter((K) => !K[u.value]);
|
|
5487
5487
|
return H[H.map((K) => K[s.value]).indexOf(A.value[s.value]) - 1];
|
|
5488
5488
|
}), O = M(() => {
|
|
5489
|
-
const H =
|
|
5489
|
+
const H = oe(A.value).__VISIBLE__.filter((K) => !K[u.value]);
|
|
5490
5490
|
return H[H.map((K) => K[s.value]).indexOf(A.value[s.value]) + 1];
|
|
5491
|
-
}), k = M(() => [...ae.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), F = M(() => [...j.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), V = (H) => A.value && (!H.group && A.value[s.value] === H[s.value] || H.group !== void 0 && A.value[i.value] === H[i.value]) ? !0 : void 0,
|
|
5491
|
+
}), k = M(() => [...ae.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), F = M(() => [...j.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), V = (H) => A.value && (!H.group && A.value[s.value] === H[s.value] || H.group !== void 0 && A.value[i.value] === H[i.value]) ? !0 : void 0, ie = () => {
|
|
5492
5492
|
_(L.value[0] || null);
|
|
5493
5493
|
}, y = () => {
|
|
5494
5494
|
!A.value || A.value[u.value] === !0 || (z.value ? g(A.value) : w(A.value));
|
|
@@ -5496,7 +5496,7 @@ function o7(t, e, a) {
|
|
|
5496
5496
|
if (A.value === null)
|
|
5497
5497
|
_((r.value && Z.value ? U.value[0].__CREATE__ ? L.value[0] : U.value[0] : L.value[0]) || null);
|
|
5498
5498
|
else if (r.value && Z.value) {
|
|
5499
|
-
let H = z.value ?
|
|
5499
|
+
let H = z.value ? se.value : O.value;
|
|
5500
5500
|
H === void 0 && (H = S.value, H.__CREATE__ && (H = H[v.value][0])), _(H || /* istanbul ignore next */
|
|
5501
5501
|
null);
|
|
5502
5502
|
} else {
|
|
@@ -5511,7 +5511,7 @@ function o7(t, e, a) {
|
|
|
5511
5511
|
let H = L.value[L.value.length - 1];
|
|
5512
5512
|
r.value && Z.value && (H = F.value, H === void 0 && (H = j.value)), _(H || null);
|
|
5513
5513
|
} else if (r.value && Z.value) {
|
|
5514
|
-
let H = z.value ? k.value :
|
|
5514
|
+
let H = z.value ? k.value : Q.value;
|
|
5515
5515
|
H === void 0 && (H = z.value ? ae.value : X.value, H.__CREATE__ && (H = k.value, H === void 0 && (H = ae.value))), _(H || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
@@ -5521,7 +5521,7 @@ function o7(t, e, a) {
|
|
|
5521
5521
|
De(() => {
|
|
5522
5522
|
q();
|
|
5523
5523
|
});
|
|
5524
|
-
},
|
|
5524
|
+
}, oe = (H) => U.value.find((K) => K.__VISIBLE__.map((fe) => fe[s.value]).indexOf(H[s.value]) !== -1), q = () => {
|
|
5525
5525
|
let H = D.value.querySelector("[data-pointed]");
|
|
5526
5526
|
if (!H)
|
|
5527
5527
|
return;
|
|
@@ -5529,7 +5529,7 @@ function o7(t, e, a) {
|
|
|
5529
5529
|
r.value && (K = z.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > K.clientHeight + K.scrollTop && (K.scrollTop = H.offsetTop + H.offsetHeight - K.clientHeight), H.offsetTop < K.scrollTop && (K.scrollTop = H.offsetTop);
|
|
5530
5530
|
};
|
|
5531
5531
|
return de(b, (H) => {
|
|
5532
|
-
o.value && (H.length && n.value ?
|
|
5532
|
+
o.value && (H.length && n.value ? ie() : C());
|
|
5533
5533
|
}), de(I, (H) => {
|
|
5534
5534
|
if (H) {
|
|
5535
5535
|
let K = D.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -5544,13 +5544,13 @@ function o7(t, e, a) {
|
|
|
5544
5544
|
pointer: A,
|
|
5545
5545
|
canPointGroups: Z,
|
|
5546
5546
|
isPointed: V,
|
|
5547
|
-
setPointerFirst:
|
|
5547
|
+
setPointerFirst: ie,
|
|
5548
5548
|
selectPointer: y,
|
|
5549
5549
|
forwardPointer: R,
|
|
5550
5550
|
backwardPointer: le
|
|
5551
5551
|
};
|
|
5552
5552
|
}
|
|
5553
|
-
function
|
|
5553
|
+
function Ae(t) {
|
|
5554
5554
|
if (t == null)
|
|
5555
5555
|
return window;
|
|
5556
5556
|
if (t.toString() !== "[object Window]") {
|
|
@@ -5560,17 +5560,17 @@ function Se(t) {
|
|
|
5560
5560
|
return t;
|
|
5561
5561
|
}
|
|
5562
5562
|
function At(t) {
|
|
5563
|
-
var e =
|
|
5563
|
+
var e = Ae(t).Element;
|
|
5564
5564
|
return t instanceof e || t instanceof Element;
|
|
5565
5565
|
}
|
|
5566
5566
|
function Pe(t) {
|
|
5567
|
-
var e =
|
|
5567
|
+
var e = Ae(t).HTMLElement;
|
|
5568
5568
|
return t instanceof e || t instanceof HTMLElement;
|
|
5569
5569
|
}
|
|
5570
5570
|
function Vs(t) {
|
|
5571
5571
|
if (typeof ShadowRoot > "u")
|
|
5572
5572
|
return !1;
|
|
5573
|
-
var e =
|
|
5573
|
+
var e = Ae(t).ShadowRoot;
|
|
5574
5574
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5575
5575
|
}
|
|
5576
5576
|
var kt = Math.max, ja = Math.min, Zt = Math.round;
|
|
@@ -5587,7 +5587,7 @@ function Wt(t, e, a) {
|
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5588
5588
|
var s = t.getBoundingClientRect(), n = 1, o = 1;
|
|
5589
5589
|
e && Pe(t) && (n = t.offsetWidth > 0 && Zt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Zt(s.height) / t.offsetHeight || 1);
|
|
5590
|
-
var i = At(t) ?
|
|
5590
|
+
var i = At(t) ? Ae(t) : window, r = i.visualViewport, l = !si() && a, c = (s.left + (l && r ? r.offsetLeft : 0)) / n, u = (s.top + (l && r ? r.offsetTop : 0)) / o, v = s.width / n, d = s.height / o;
|
|
5591
5591
|
return {
|
|
5592
5592
|
width: v,
|
|
5593
5593
|
height: d,
|
|
@@ -5600,7 +5600,7 @@ function Wt(t, e, a) {
|
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
5602
|
function Bs(t) {
|
|
5603
|
-
var e =
|
|
5603
|
+
var e = Ae(t), a = e.pageXOffset, s = e.pageYOffset;
|
|
5604
5604
|
return {
|
|
5605
5605
|
scrollLeft: a,
|
|
5606
5606
|
scrollTop: s
|
|
@@ -5613,9 +5613,9 @@ function r7(t) {
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function l7(t) {
|
|
5616
|
-
return t ===
|
|
5616
|
+
return t === Ae(t) || !Pe(t) ? Bs(t) : r7(t);
|
|
5617
5617
|
}
|
|
5618
|
-
function
|
|
5618
|
+
function We(t) {
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
5621
|
function gt(t) {
|
|
@@ -5627,11 +5627,11 @@ function gt(t) {
|
|
|
5627
5627
|
function Rs(t) {
|
|
5628
5628
|
return Wt(gt(t)).left + Bs(t).scrollLeft;
|
|
5629
5629
|
}
|
|
5630
|
-
function
|
|
5631
|
-
return
|
|
5630
|
+
function at(t) {
|
|
5631
|
+
return Ae(t).getComputedStyle(t);
|
|
5632
5632
|
}
|
|
5633
5633
|
function js(t) {
|
|
5634
|
-
var e =
|
|
5634
|
+
var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
|
|
5635
5635
|
return /auto|scroll|overlay|hidden/.test(a + n + s);
|
|
5636
5636
|
}
|
|
5637
5637
|
function u7(t) {
|
|
@@ -5647,7 +5647,7 @@ function c7(t, e, a) {
|
|
|
5647
5647
|
x: 0,
|
|
5648
5648
|
y: 0
|
|
5649
5649
|
};
|
|
5650
|
-
return (s || !s && !a) && ((
|
|
5650
|
+
return (s || !s && !a) && ((We(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5651
5651
|
js(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Rs(o))), {
|
|
5652
5652
|
x: i.left + r.scrollLeft - l.x,
|
|
5653
5653
|
y: i.top + r.scrollTop - l.y,
|
|
@@ -5665,7 +5665,7 @@ function ni(t) {
|
|
|
5665
5665
|
};
|
|
5666
5666
|
}
|
|
5667
5667
|
function ts(t) {
|
|
5668
|
-
return
|
|
5668
|
+
return We(t) === "html" ? t : (
|
|
5669
5669
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
5670
5670
|
// $FlowFixMe[incompatible-return]
|
|
5671
5671
|
// $FlowFixMe[prop-missing]
|
|
@@ -5677,34 +5677,34 @@ function ts(t) {
|
|
|
5677
5677
|
);
|
|
5678
5678
|
}
|
|
5679
5679
|
function ii(t) {
|
|
5680
|
-
return ["html", "body", "#document"].indexOf(
|
|
5680
|
+
return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Pe(t) && js(t) ? t : ii(ts(t));
|
|
5681
5681
|
}
|
|
5682
5682
|
function ia(t, e) {
|
|
5683
5683
|
var a;
|
|
5684
5684
|
e === void 0 && (e = []);
|
|
5685
|
-
var s = ii(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o =
|
|
5685
|
+
var s = ii(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Ae(s), i = n ? [o].concat(o.visualViewport || [], js(s) ? s : []) : s, r = e.concat(i);
|
|
5686
5686
|
return n ? r : (
|
|
5687
5687
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5688
5688
|
r.concat(ia(ts(i)))
|
|
5689
5689
|
);
|
|
5690
5690
|
}
|
|
5691
5691
|
function d7(t) {
|
|
5692
|
-
return ["table", "td", "th"].indexOf(
|
|
5692
|
+
return ["table", "td", "th"].indexOf(We(t)) >= 0;
|
|
5693
5693
|
}
|
|
5694
5694
|
function gn(t) {
|
|
5695
5695
|
return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
5696
|
-
|
|
5696
|
+
at(t).position === "fixed" ? null : t.offsetParent;
|
|
5697
5697
|
}
|
|
5698
5698
|
function p7(t) {
|
|
5699
5699
|
var e = /firefox/i.test(ys()), a = /Trident/i.test(ys());
|
|
5700
5700
|
if (a && Pe(t)) {
|
|
5701
|
-
var s =
|
|
5701
|
+
var s = at(t);
|
|
5702
5702
|
if (s.position === "fixed")
|
|
5703
5703
|
return null;
|
|
5704
5704
|
}
|
|
5705
5705
|
var n = ts(t);
|
|
5706
|
-
for (Vs(n) && (n = n.host); Pe(n) && ["html", "body"].indexOf(
|
|
5707
|
-
var o =
|
|
5706
|
+
for (Vs(n) && (n = n.host); Pe(n) && ["html", "body"].indexOf(We(n)) < 0; ) {
|
|
5707
|
+
var o = at(n);
|
|
5708
5708
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
5709
5709
|
return n;
|
|
5710
5710
|
n = n.parentNode;
|
|
@@ -5712,11 +5712,11 @@ function p7(t) {
|
|
|
5712
5712
|
return null;
|
|
5713
5713
|
}
|
|
5714
5714
|
function as(t) {
|
|
5715
|
-
for (var e =
|
|
5715
|
+
for (var e = Ae(t), a = gn(t); a && d7(a) && at(a).position === "static"; )
|
|
5716
5716
|
a = gn(a);
|
|
5717
|
-
return a && (
|
|
5717
|
+
return a && (We(a) === "html" || We(a) === "body" && at(a).position === "static") ? e : a || p7(t) || e;
|
|
5718
5718
|
}
|
|
5719
|
-
var Re = "top",
|
|
5719
|
+
var Re = "top", qe = "bottom", ft = "right", Xe = "left", Ns = "auto", ss = [Re, qe, ft, Xe], qt = "start", da = "end", v7 = "clippingParents", oi = "viewport", na = "popper", f7 = "reference", _n = /* @__PURE__ */ ss.reduce(function(t, e) {
|
|
5720
5720
|
return t.concat([e + "-" + qt, e + "-" + da]);
|
|
5721
5721
|
}, []), h7 = /* @__PURE__ */ [].concat(ss, [Ns]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
@@ -5771,7 +5771,7 @@ function O7(t) {
|
|
|
5771
5771
|
});
|
|
5772
5772
|
}
|
|
5773
5773
|
function E7(t, e) {
|
|
5774
|
-
var a =
|
|
5774
|
+
var a = Ae(t), s = gt(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, r = 0, l = 0;
|
|
5775
5775
|
if (n) {
|
|
5776
5776
|
o = n.width, i = n.height;
|
|
5777
5777
|
var c = si();
|
|
@@ -5786,7 +5786,7 @@ function E7(t, e) {
|
|
|
5786
5786
|
}
|
|
5787
5787
|
function I7(t) {
|
|
5788
5788
|
var e, a = gt(t), s = Bs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = kt(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = kt(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), r = -s.scrollLeft + Rs(t), l = -s.scrollTop;
|
|
5789
|
-
return
|
|
5789
|
+
return at(n || a).direction === "rtl" && (r += kt(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5790
5790
|
width: o,
|
|
5791
5791
|
height: i,
|
|
5792
5792
|
x: r,
|
|
@@ -5823,9 +5823,9 @@ function yn(t, e, a) {
|
|
|
5823
5823
|
return e === oi ? bs(E7(t, a)) : At(e) ? H7(e, a) : bs(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
|
-
var e = ia(ts(t)), a = ["absolute", "fixed"].indexOf(
|
|
5826
|
+
var e = ia(ts(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Pe(t) ? as(t) : t;
|
|
5827
5827
|
return At(s) ? e.filter(function(n) {
|
|
5828
|
-
return At(n) && L7(n, s) &&
|
|
5828
|
+
return At(n) && L7(n, s) && We(n) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
5831
|
function P7(t, e, a, s) {
|
|
@@ -5853,7 +5853,7 @@ function li(t) {
|
|
|
5853
5853
|
y: e.y - a.height
|
|
5854
5854
|
};
|
|
5855
5855
|
break;
|
|
5856
|
-
case
|
|
5856
|
+
case qe:
|
|
5857
5857
|
l = {
|
|
5858
5858
|
x: i,
|
|
5859
5859
|
y: e.y + e.height
|
|
@@ -5865,7 +5865,7 @@ function li(t) {
|
|
|
5865
5865
|
y: r
|
|
5866
5866
|
};
|
|
5867
5867
|
break;
|
|
5868
|
-
case
|
|
5868
|
+
case Xe:
|
|
5869
5869
|
l = {
|
|
5870
5870
|
x: e.x - a.width,
|
|
5871
5871
|
y: r
|
|
@@ -5923,8 +5923,8 @@ function Fs(t, e) {
|
|
|
5923
5923
|
if (d === na && ae) {
|
|
5924
5924
|
var S = ae[n];
|
|
5925
5925
|
Object.keys(X).forEach(function(j) {
|
|
5926
|
-
var
|
|
5927
|
-
X[j] += S[
|
|
5926
|
+
var se = [ft, qe].indexOf(j) >= 0 ? 1 : -1, Q = [Re, qe].indexOf(j) >= 0 ? "y" : "x";
|
|
5927
|
+
X[j] += S[Q] * se;
|
|
5928
5928
|
});
|
|
5929
5929
|
}
|
|
5930
5930
|
return X;
|
|
@@ -6044,7 +6044,7 @@ var Ea = {
|
|
|
6044
6044
|
passive: !0
|
|
6045
6045
|
};
|
|
6046
6046
|
function j7(t) {
|
|
6047
|
-
var e = t.state, a = t.instance, s = t.options, n = s.scroll, o = n === void 0 ? !0 : n, i = s.resize, r = i === void 0 ? !0 : i, l =
|
|
6047
|
+
var e = t.state, a = t.instance, s = t.options, n = s.scroll, o = n === void 0 ? !0 : n, i = s.resize, r = i === void 0 ? !0 : i, l = Ae(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
6048
6048
|
return o && c.forEach(function(u) {
|
|
6049
6049
|
u.addEventListener("scroll", a.update, Ea);
|
|
6050
6050
|
}), r && l.addEventListener("resize", a.update, Ea), function() {
|
|
@@ -6099,18 +6099,18 @@ function $n(t) {
|
|
|
6099
6099
|
y: g
|
|
6100
6100
|
};
|
|
6101
6101
|
h = b.x, g = b.y;
|
|
6102
|
-
var A = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C =
|
|
6102
|
+
var A = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Xe, D = Re, I = window;
|
|
6103
6103
|
if (c) {
|
|
6104
6104
|
var L = as(a), U = "clientHeight", Z = "clientWidth";
|
|
6105
|
-
if (L ===
|
|
6106
|
-
D =
|
|
6105
|
+
if (L === Ae(a) && (L = gt(a), at(L).position !== "static" && r === "absolute" && (U = "scrollHeight", Z = "scrollWidth")), L = L, n === Re || (n === Xe || n === ft) && o === da) {
|
|
6106
|
+
D = qe;
|
|
6107
6107
|
var z = v && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6108
6108
|
// $FlowFixMe[prop-missing]
|
|
6109
6109
|
L[U]
|
|
6110
6110
|
);
|
|
6111
6111
|
g -= z - s.height, g *= l ? 1 : -1;
|
|
6112
6112
|
}
|
|
6113
|
-
if (n ===
|
|
6113
|
+
if (n === Xe || (n === Re || n === qe) && o === da) {
|
|
6114
6114
|
C = ft;
|
|
6115
6115
|
var X = v && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6116
6116
|
// $FlowFixMe[prop-missing]
|
|
@@ -6124,7 +6124,7 @@ function $n(t) {
|
|
|
6124
6124
|
}, c && Z7), S = u === !0 ? W7({
|
|
6125
6125
|
x: h,
|
|
6126
6126
|
y: g
|
|
6127
|
-
},
|
|
6127
|
+
}, Ae(a)) : {
|
|
6128
6128
|
x: h,
|
|
6129
6129
|
y: g
|
|
6130
6130
|
};
|
|
@@ -6168,7 +6168,7 @@ function x7(t) {
|
|
|
6168
6168
|
var e = t.state;
|
|
6169
6169
|
Object.keys(e.elements).forEach(function(a) {
|
|
6170
6170
|
var s = e.styles[a] || {}, n = e.attributes[a] || {}, o = e.elements[a];
|
|
6171
|
-
!Pe(o) || !
|
|
6171
|
+
!Pe(o) || !We(o) || (Object.assign(o.style, s), Object.keys(n).forEach(function(i) {
|
|
6172
6172
|
var r = n[i];
|
|
6173
6173
|
r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
|
|
6174
6174
|
}));
|
|
@@ -6192,7 +6192,7 @@ function Y7(t) {
|
|
|
6192
6192
|
var n = e.elements[s], o = e.attributes[s] || {}, i = Object.keys(e.styles.hasOwnProperty(s) ? e.styles[s] : a[s]), r = i.reduce(function(l, c) {
|
|
6193
6193
|
return l[c] = "", l;
|
|
6194
6194
|
}, {});
|
|
6195
|
-
!Pe(n) || !
|
|
6195
|
+
!Pe(n) || !We(n) || (Object.assign(n.style, r), Object.keys(o).forEach(function(l) {
|
|
6196
6196
|
n.removeAttribute(l);
|
|
6197
6197
|
}));
|
|
6198
6198
|
});
|
|
@@ -6238,14 +6238,14 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (L) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var j,
|
|
6241
|
+
var j, se = D === "y" ? Re : Xe, Q = D === "y" ? qe : ft, O = D === "y" ? "height" : "width", k = L[D], F = k + b[se], V = k - b[Q], ie = h ? -Z[O] / 2 : 0, y = _ === qt ? U[O] : Z[O], R = _ === qt ? -Z[O] : -U[O], le = e.elements.arrow, oe = h && le ? ni(le) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[
|
|
6244
|
+
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[se], K = q[Q], fe = Ia(0, U[O], oe[O]), $e = C ? U[O] / 2 - ie - fe - H - X.mainAxis : y - fe - H - X.mainAxis, Kt = C ? -U[O] / 2 + ie + fe + K + X.mainAxis : R + fe + K + X.mainAxis, Gt = e.elements.arrow && as(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (j = ae == null ? void 0 : ae[D]) != null ? j : 0, ns = k + $e - _a - nt, it = k + Kt - _a, ya = Ia(h ? ja(F, ns) : F, k, h ? kt(V, it) : V);
|
|
6245
6245
|
L[D] = ya, S[D] = ya - k;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var
|
|
6248
|
+
var ot, je = D === "x" ? Re : Xe, Te = D === "x" ? qe : ft, Be = L[I], ze = I === "y" ? "height" : "width", Xt = Be + b[je], ba = Be - b[Te], Oe = [Re, Xe].indexOf(A) !== -1, Qt = (ot = ae == null ? void 0 : ae[I]) != null ? ot : 0, rt = Oe ? Xt : Be - U[ze] - Z[ze] - Qt + X.altAxis, _t = Oe ? Be + U[ze] + Z[ze] - Qt - X.altAxis : ba, wa = h && Oe ? J7(rt, Be, _t) : Ia(h ? rt : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
L[I] = wa, S[I] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[s] = S;
|
|
@@ -6306,8 +6306,8 @@ function ip(t) {
|
|
|
6306
6306
|
function op(t) {
|
|
6307
6307
|
var e = t.state, a = t.options, s = t.name;
|
|
6308
6308
|
if (!e.modifiersData[s]._skip) {
|
|
6309
|
-
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, v = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, g = a.allowedAutoPlacements, b = e.options.placement, A = ct(b), _ = A === b, C = l || (_ || !w ? [La(b)] : ip(b)), D = [b].concat(C).reduce(function(
|
|
6310
|
-
return
|
|
6309
|
+
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, v = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, g = a.allowedAutoPlacements, b = e.options.placement, A = ct(b), _ = A === b, C = l || (_ || !w ? [La(b)] : ip(b)), D = [b].concat(C).reduce(function(oe, q) {
|
|
6310
|
+
return oe.concat(ct(q) === Ns ? np(e, {
|
|
6311
6311
|
placement: q,
|
|
6312
6312
|
boundary: u,
|
|
6313
6313
|
rootBoundary: v,
|
|
@@ -6316,17 +6316,17 @@ function op(t) {
|
|
|
6316
6316
|
allowedAutoPlacements: g
|
|
6317
6317
|
}) : q);
|
|
6318
6318
|
}, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), Z = !0, z = D[0], X = 0; X < D.length; X++) {
|
|
6319
|
-
var ae = D[X], S = ct(ae), j = zt(ae) === qt,
|
|
6319
|
+
var ae = D[X], S = ct(ae), j = zt(ae) === qt, se = [Re, qe].indexOf(S) >= 0, Q = se ? "width" : "height", O = Fs(e, {
|
|
6320
6320
|
placement: ae,
|
|
6321
6321
|
boundary: u,
|
|
6322
6322
|
rootBoundary: v,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}), k =
|
|
6326
|
-
I[
|
|
6325
|
+
}), k = se ? j ? ft : Xe : j ? qe : Re;
|
|
6326
|
+
I[Q] > L[Q] && (k = La(k));
|
|
6327
6327
|
var F = La(k), V = [];
|
|
6328
|
-
if (o && V.push(O[S] <= 0), r && V.push(O[k] <= 0, O[F] <= 0), V.every(function(
|
|
6329
|
-
return
|
|
6328
|
+
if (o && V.push(O[S] <= 0), r && V.push(O[k] <= 0, O[F] <= 0), V.every(function(oe) {
|
|
6329
|
+
return oe;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
z = ae, Z = !1;
|
|
6332
6332
|
break;
|
|
@@ -6334,17 +6334,17 @@ function op(t) {
|
|
|
6334
6334
|
U.set(ae, V);
|
|
6335
6335
|
}
|
|
6336
6336
|
if (Z)
|
|
6337
|
-
for (var
|
|
6337
|
+
for (var ie = w ? 3 : 1, y = function(q) {
|
|
6338
6338
|
var H = D.find(function(K) {
|
|
6339
6339
|
var fe = U.get(K);
|
|
6340
6340
|
if (fe)
|
|
6341
|
-
return fe.slice(0, q).every(function(
|
|
6342
|
-
return
|
|
6341
|
+
return fe.slice(0, q).every(function($e) {
|
|
6342
|
+
return $e;
|
|
6343
6343
|
});
|
|
6344
6344
|
});
|
|
6345
6345
|
if (H)
|
|
6346
6346
|
return z = H, "break";
|
|
6347
|
-
}, R =
|
|
6347
|
+
}, R = ie; R > 0; R--) {
|
|
6348
6348
|
var le = y(R);
|
|
6349
6349
|
if (le === "break")
|
|
6350
6350
|
break;
|
|
@@ -6363,7 +6363,7 @@ var rp = {
|
|
|
6363
6363
|
}
|
|
6364
6364
|
};
|
|
6365
6365
|
function lp(t, e, a) {
|
|
6366
|
-
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } =
|
|
6366
|
+
const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Me(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), v = ee(null), d = ee(null), h = M(() => n.value || o.value), w = M(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), g = () => {
|
|
6367
6367
|
u.value || s.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6368
6368
|
A();
|
|
6369
6369
|
}));
|
|
@@ -6437,7 +6437,7 @@ function lp(t, e, a) {
|
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
6439
|
function up(t, e, a) {
|
|
6440
|
-
const { searchable: s, disabled: n, clearOnBlur: o } =
|
|
6440
|
+
const { searchable: s, disabled: n, clearOnBlur: o } = Me(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, v = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), g = M(() => s.value || n.value ? -1 : 0), b = () => {
|
|
6441
6441
|
s.value && i.value.blur(), v.value.blur();
|
|
6442
6442
|
}, A = () => {
|
|
6443
6443
|
s.value && !n.value && i.value.focus();
|
|
@@ -6487,14 +6487,14 @@ function cp(t, e, a) {
|
|
|
6487
6487
|
createTag: v,
|
|
6488
6488
|
createOption: d,
|
|
6489
6489
|
reverse: h
|
|
6490
|
-
} =
|
|
6491
|
-
s.value === "tags" && !r.value &&
|
|
6490
|
+
} = Me(t), w = Mt().proxy, g = a.iv, b = a.update, A = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, z = a.tags, X = a.isOpen, ae = a.open, S = a.blur, j = a.fo, se = M(() => v.value || d.value || !1), Q = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
|
|
6491
|
+
s.value === "tags" && !r.value && se.value && i.value && !c.value && C(j.value[j.value.map((V) => V[l.value]).indexOf(_.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
6494
6494
|
handleKeydown: (V) => {
|
|
6495
6495
|
e.emit("keydown", V, w);
|
|
6496
|
-
let
|
|
6497
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (
|
|
6496
|
+
let ie, y;
|
|
6497
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (ie = [...U.value.querySelectorAll("[data-tags] > *")].filter((R) => R !== z.value), y = ie.findIndex((R) => R === document.activeElement)), V.key) {
|
|
6498
6498
|
case "Backspace":
|
|
6499
6499
|
if (s.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || g.value.length === 0)
|
|
6500
6500
|
return;
|
|
@@ -6505,28 +6505,28 @@ function cp(t, e, a) {
|
|
|
6505
6505
|
if (V.preventDefault(), V.keyCode === 229)
|
|
6506
6506
|
return;
|
|
6507
6507
|
if (y !== -1 && y !== void 0) {
|
|
6508
|
-
b([...g.value].filter((le,
|
|
6508
|
+
b([...g.value].filter((le, oe) => oe !== y)), y === ie.length - 1 && (ie.length - 1 ? ie[ie.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : Z.value.focus());
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
|
-
if (
|
|
6511
|
+
if (Q.value.indexOf("enter") === -1 && se.value)
|
|
6512
6512
|
return;
|
|
6513
6513
|
O(), D();
|
|
6514
6514
|
break;
|
|
6515
6515
|
case " ":
|
|
6516
|
-
if (!
|
|
6516
|
+
if (!se.value && !i.value) {
|
|
6517
6517
|
V.preventDefault(), O(), D();
|
|
6518
6518
|
return;
|
|
6519
6519
|
}
|
|
6520
|
-
if (!
|
|
6520
|
+
if (!se.value)
|
|
6521
6521
|
return !1;
|
|
6522
|
-
if (
|
|
6522
|
+
if (Q.value.indexOf("space") === -1 && se.value)
|
|
6523
6523
|
return;
|
|
6524
6524
|
V.preventDefault(), O(), D();
|
|
6525
6525
|
break;
|
|
6526
6526
|
case "Tab":
|
|
6527
6527
|
case ";":
|
|
6528
6528
|
case ",":
|
|
6529
|
-
if (
|
|
6529
|
+
if (Q.value.indexOf(V.key.toLowerCase()) === -1 || !se.value)
|
|
6530
6530
|
return;
|
|
6531
6531
|
O(), D(), V.preventDefault();
|
|
6532
6532
|
break;
|
|
@@ -6546,12 +6546,12 @@ function cp(t, e, a) {
|
|
|
6546
6546
|
case "ArrowLeft":
|
|
6547
6547
|
if (i.value && z.value && z.value.querySelector("input").selectionStart || V.shiftKey || s.value !== "tags" || !g.value || !g.value.length)
|
|
6548
6548
|
return;
|
|
6549
|
-
V.preventDefault(), y === -1 ?
|
|
6549
|
+
V.preventDefault(), y === -1 ? ie[ie.length - 1].focus() : y > 0 && ie[y - 1].focus();
|
|
6550
6550
|
break;
|
|
6551
6551
|
case "ArrowRight":
|
|
6552
6552
|
if (y === -1 || V.shiftKey || s.value !== "tags" || !g.value || !g.value.length)
|
|
6553
6553
|
return;
|
|
6554
|
-
V.preventDefault(),
|
|
6554
|
+
V.preventDefault(), ie.length > y + 1 ? ie[y + 1].focus() : i.value ? z.value.querySelector("input").focus() : i.value || Z.value.focus();
|
|
6555
6555
|
break;
|
|
6556
6556
|
}
|
|
6557
6557
|
},
|
|
@@ -6567,7 +6567,7 @@ function dp(t, e, a) {
|
|
|
6567
6567
|
disabled: n,
|
|
6568
6568
|
showOptions: o,
|
|
6569
6569
|
breakTags: i
|
|
6570
|
-
} =
|
|
6570
|
+
} = Me(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, v = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, g = a.placement, b = M(() => ({
|
|
6571
6571
|
container: "multiselect",
|
|
6572
6572
|
containerDisabled: "is-disabled",
|
|
6573
6573
|
containerOpen: "is-open",
|
|
@@ -6675,7 +6675,7 @@ function pp(t, e, a) {
|
|
|
6675
6675
|
const {
|
|
6676
6676
|
limit: s,
|
|
6677
6677
|
infinite: n
|
|
6678
|
-
} =
|
|
6678
|
+
} = Me(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), v = ee(null), d = M(() => i.value < l.value.length), h = (g) => {
|
|
6679
6679
|
const { isIntersecting: b, target: A } = g[0];
|
|
6680
6680
|
if (b) {
|
|
6681
6681
|
const _ = A.offsetParent, C = _.scrollTop;
|
|
@@ -6709,7 +6709,7 @@ function vp(t, e, a) {
|
|
|
6709
6709
|
groupLabel: l,
|
|
6710
6710
|
aria: c,
|
|
6711
6711
|
searchable: u
|
|
6712
|
-
} =
|
|
6712
|
+
} = Me(t), v = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, g = ee(null), b = M(() => {
|
|
6713
6713
|
let S = [];
|
|
6714
6714
|
return n && n.value && S.push(n.value), S.push("assist"), S.join("-");
|
|
6715
6715
|
}), A = M(() => {
|
|
@@ -6762,7 +6762,7 @@ function fp(t, e, a) {
|
|
|
6762
6762
|
const {
|
|
6763
6763
|
locale: s,
|
|
6764
6764
|
fallbackLocale: n
|
|
6765
|
-
} =
|
|
6765
|
+
} = Me(t);
|
|
6766
6766
|
return {
|
|
6767
6767
|
localize: (i) => !i || typeof i != "object" ? i : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
|
|
6768
6768
|
};
|
|
@@ -6785,7 +6785,7 @@ function mp(t, e, a, s = {}) {
|
|
|
6785
6785
|
});
|
|
6786
6786
|
}), s;
|
|
6787
6787
|
}
|
|
6788
|
-
var
|
|
6788
|
+
var ut = {
|
|
6789
6789
|
name: "Multiselect",
|
|
6790
6790
|
emits: [
|
|
6791
6791
|
"paste",
|
|
@@ -7245,7 +7245,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7245
7245
|
{
|
|
7246
7246
|
class: G(t.classList.tagWrapper)
|
|
7247
7247
|
},
|
|
7248
|
-
|
|
7248
|
+
x(t.localize(i[a.label])),
|
|
7249
7249
|
3
|
|
7250
7250
|
/* TEXT, CLASS */
|
|
7251
7251
|
),
|
|
@@ -7282,7 +7282,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7282
7282
|
{
|
|
7283
7283
|
class: G(t.classList.tagsSearchCopy)
|
|
7284
7284
|
},
|
|
7285
|
-
|
|
7285
|
+
x(t.search),
|
|
7286
7286
|
3
|
|
7287
7287
|
/* TEXT, CLASS */
|
|
7288
7288
|
),
|
|
@@ -7333,7 +7333,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7333
7333
|
{
|
|
7334
7334
|
class: G(t.classList.singleLabelText)
|
|
7335
7335
|
},
|
|
7336
|
-
|
|
7336
|
+
x(t.localize(t.iv[a.label])),
|
|
7337
7337
|
3
|
|
7338
7338
|
/* TEXT, CLASS */
|
|
7339
7339
|
)
|
|
@@ -7360,7 +7360,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7360
7360
|
class: G(t.classList.placeholder),
|
|
7361
7361
|
"aria-hidden": "true"
|
|
7362
7362
|
},
|
|
7363
|
-
|
|
7363
|
+
x(a.placeholder),
|
|
7364
7364
|
3
|
|
7365
7365
|
/* TEXT, CLASS */
|
|
7366
7366
|
)
|
|
@@ -7503,7 +7503,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7503
7503
|
f(
|
|
7504
7504
|
"span",
|
|
7505
7505
|
null,
|
|
7506
|
-
|
|
7506
|
+
x(t.localize(c[a.label])),
|
|
7507
7507
|
1
|
|
7508
7508
|
/* TEXT */
|
|
7509
7509
|
)
|
|
@@ -7540,7 +7540,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7540
7540
|
f(
|
|
7541
7541
|
"span",
|
|
7542
7542
|
null,
|
|
7543
|
-
|
|
7543
|
+
x(t.localize(i[a.label])),
|
|
7544
7544
|
1
|
|
7545
7545
|
/* TEXT */
|
|
7546
7546
|
)
|
|
@@ -7628,7 +7628,7 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7628
7628
|
class: G(t.classList.assist),
|
|
7629
7629
|
id: t.ariaAssist,
|
|
7630
7630
|
"aria-hidden": "true"
|
|
7631
|
-
},
|
|
7631
|
+
}, x(t.ariaLabel), 11, Bp)) : E("v-if", !0),
|
|
7632
7632
|
E(" Create height for empty input "),
|
|
7633
7633
|
f(
|
|
7634
7634
|
"div",
|
|
@@ -7641,9 +7641,9 @@ function Rp(t, e, a, s, n, o) {
|
|
|
7641
7641
|
)
|
|
7642
7642
|
], 42, Cp);
|
|
7643
7643
|
}
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
const
|
|
7644
|
+
ut.render = Rp;
|
|
7645
|
+
ut.__file = "src/Multiselect.vue";
|
|
7646
|
+
const ke = /* @__PURE__ */ Y({
|
|
7647
7647
|
__name: "AoMultiselect",
|
|
7648
7648
|
props: {
|
|
7649
7649
|
detached: { type: Boolean },
|
|
@@ -7654,7 +7654,7 @@ const $e = /* @__PURE__ */ x({
|
|
|
7654
7654
|
return e.detached && Q5({
|
|
7655
7655
|
multiselect: s,
|
|
7656
7656
|
appendTo: a.value
|
|
7657
|
-
}), (n, o) => (p(), P(
|
|
7657
|
+
}), (n, o) => (p(), P(J(ut), {
|
|
7658
7658
|
ref_key: "multiselectRef",
|
|
7659
7659
|
ref: s,
|
|
7660
7660
|
class: "ao-multiselect"
|
|
@@ -7682,7 +7682,7 @@ function jp() {
|
|
|
7682
7682
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7683
7683
|
return t;
|
|
7684
7684
|
}
|
|
7685
|
-
|
|
7685
|
+
Y({
|
|
7686
7686
|
props: {
|
|
7687
7687
|
translation: {
|
|
7688
7688
|
type: String,
|
|
@@ -7702,7 +7702,7 @@ x({
|
|
|
7702
7702
|
};
|
|
7703
7703
|
}
|
|
7704
7704
|
});
|
|
7705
|
-
async function
|
|
7705
|
+
async function Qe(t, e) {
|
|
7706
7706
|
if (e && t && t.length - e.length === 1) {
|
|
7707
7707
|
const a = new Set(e.map((r) => r.id)), s = t.filter(
|
|
7708
7708
|
(r) => !a.has(r.id)
|
|
@@ -7719,7 +7719,7 @@ async function Xe(t, e) {
|
|
|
7719
7719
|
i == null || i.select();
|
|
7720
7720
|
}
|
|
7721
7721
|
}
|
|
7722
|
-
const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id", "value", "readonly", "onChange", "onKeyup"], Zp = { class: "ao-tasks__list-footer" }, Wp = /* @__PURE__ */
|
|
7722
|
+
const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id", "value", "readonly", "onChange", "onKeyup"], Zp = { class: "ao-tasks__list-footer" }, Wp = /* @__PURE__ */ Y({
|
|
7723
7723
|
__name: "AoActivityTasks",
|
|
7724
7724
|
props: {
|
|
7725
7725
|
activityId: {},
|
|
@@ -7733,7 +7733,7 @@ const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7733
7733
|
setup(t, { emit: e }) {
|
|
7734
7734
|
const a = t, { t: s } = Tt();
|
|
7735
7735
|
de(() => a.tasks, (v, d) => {
|
|
7736
|
-
|
|
7736
|
+
Qe(v, d);
|
|
7737
7737
|
});
|
|
7738
7738
|
const n = M(
|
|
7739
7739
|
() => {
|
|
@@ -7799,7 +7799,7 @@ const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7799
7799
|
onKeyup: dt(u, ["enter"])
|
|
7800
7800
|
}, null, 42, Up),
|
|
7801
7801
|
Fa(". "),
|
|
7802
|
-
!v.isTemplate && v.users ? (p(), P(
|
|
7802
|
+
!v.isTemplate && v.users ? (p(), P(ke, {
|
|
7803
7803
|
key: 1,
|
|
7804
7804
|
value: (g = h.assignee) != null && g.id ? [h.assignee.id] : [],
|
|
7805
7805
|
options: n.value,
|
|
@@ -7814,7 +7814,7 @@ const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7814
7814
|
onChange: (b) => c(b, h.id)
|
|
7815
7815
|
}, {
|
|
7816
7816
|
tag: W(({ option: b, handleTagRemove: A }) => [
|
|
7817
|
-
T(
|
|
7817
|
+
T(et, {
|
|
7818
7818
|
"user-name": b.label,
|
|
7819
7819
|
"avatar-url": b.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
@@ -7851,7 +7851,7 @@ const Np = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7851
7851
|
const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class: "ao-files__placeholder" }, xp = {
|
|
7852
7852
|
key: 0,
|
|
7853
7853
|
class: "ao-files__list"
|
|
7854
|
-
}, Yp = ["href"], Kp = { class: "ao-file__title" }, Gp = { key: 0 }, Xp = { class: "ao-files__input" }, Qp = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, Jp = { class: "ao-button__label" }, ev = { class: "ao-files__dropzone" }, tv = { class: "ao-files__dropzone-label" }, av = /* @__PURE__ */
|
|
7854
|
+
}, Yp = ["href"], Kp = { class: "ao-file__title" }, Gp = { key: 0 }, Xp = { class: "ao-files__input" }, Qp = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, Jp = { class: "ao-button__label" }, ev = { class: "ao-files__dropzone" }, tv = { class: "ao-files__dropzone-label" }, av = /* @__PURE__ */ Y({
|
|
7855
7855
|
__name: "AoActivityDetailsFiles",
|
|
7856
7856
|
props: {
|
|
7857
7857
|
attachments: {},
|
|
@@ -7906,7 +7906,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7906
7906
|
onDragleave: ve(l, ["prevent"])
|
|
7907
7907
|
}, [
|
|
7908
7908
|
te(u.$slots, "default", {}, () => [
|
|
7909
|
-
f("span", zp,
|
|
7909
|
+
f("span", zp, x(u.$t("activity.attachment.placeholder.resting")), 1)
|
|
7910
7910
|
]),
|
|
7911
7911
|
u.attachments ? (p(), m("ul", xp, [
|
|
7912
7912
|
(p(!0), m(he, null, _e(u.attachments, (d) => (p(), m("li", {
|
|
@@ -7924,7 +7924,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7924
7924
|
name: "AttachFileRounded",
|
|
7925
7925
|
size: "sm"
|
|
7926
7926
|
}),
|
|
7927
|
-
f("span", Kp,
|
|
7927
|
+
f("span", Kp, x(d.name), 1)
|
|
7928
7928
|
], 8, Yp),
|
|
7929
7929
|
u.isEditable ? (p(), P(ue, {
|
|
7930
7930
|
key: 0,
|
|
@@ -7944,7 +7944,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7944
7944
|
name: "Add",
|
|
7945
7945
|
size: "sm"
|
|
7946
7946
|
}),
|
|
7947
|
-
f("span", Jp,
|
|
7947
|
+
f("span", Jp, x(u.$t("activity.attachment.button.resting")), 1)
|
|
7948
7948
|
]),
|
|
7949
7949
|
f("input", {
|
|
7950
7950
|
class: "input-field",
|
|
@@ -7957,8 +7957,8 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7957
7957
|
])
|
|
7958
7958
|
])) : E("", !0)
|
|
7959
7959
|
])) : E("", !0),
|
|
7960
|
-
|
|
7961
|
-
f("span", tv,
|
|
7960
|
+
Ue(f("div", ev, [
|
|
7961
|
+
f("span", tv, x(u.$t("activity.attachment.placeholder.active")), 1)
|
|
7962
7962
|
], 512), [
|
|
7963
7963
|
[Hi, i.value]
|
|
7964
7964
|
])
|
|
@@ -7968,7 +7968,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7968
7968
|
const sv = { class: "ao-comment" }, nv = { class: "ao-comment__created-at" }, iv = { class: "ao-comment__body" }, ov = { class: "ao-comment__content-wrapper" }, rv = {
|
|
7969
7969
|
key: 1,
|
|
7970
7970
|
class: "ao-comment__footer"
|
|
7971
|
-
}, lv = /* @__PURE__ */
|
|
7971
|
+
}, lv = /* @__PURE__ */ Y({
|
|
7972
7972
|
__name: "AoComment",
|
|
7973
7973
|
props: {
|
|
7974
7974
|
user: {},
|
|
@@ -8001,41 +8001,41 @@ const sv = { class: "ao-comment" }, nv = { class: "ao-comment__created-at" }, iv
|
|
|
8001
8001
|
}), (g, b) => {
|
|
8002
8002
|
var A;
|
|
8003
8003
|
return p(), m("li", sv, [
|
|
8004
|
-
s.value ? (p(), P(
|
|
8004
|
+
s.value ? (p(), P(et, {
|
|
8005
8005
|
key: 0,
|
|
8006
8006
|
"avatar-url": (A = g.user) == null ? void 0 : A.avatarUrl,
|
|
8007
8007
|
"user-name": s.value,
|
|
8008
8008
|
class: "ao-comment__avatar"
|
|
8009
8009
|
}, null, 8, ["avatar-url", "user-name"])) : E("", !0),
|
|
8010
|
-
f("span", nv,
|
|
8010
|
+
f("span", nv, x(c.value), 1),
|
|
8011
8011
|
f("div", iv, [
|
|
8012
8012
|
f("div", ov, [
|
|
8013
8013
|
(p(), P(ht(u.value), {
|
|
8014
8014
|
ref_key: "commentContent",
|
|
8015
8015
|
ref: n,
|
|
8016
8016
|
class: "ao-comment__content",
|
|
8017
|
-
value:
|
|
8018
|
-
rows:
|
|
8017
|
+
value: J(o) ? g.content : null,
|
|
8018
|
+
rows: J(o) ? w.value : null,
|
|
8019
8019
|
onKeyup: [
|
|
8020
|
-
dt(
|
|
8021
|
-
dt(ve(
|
|
8020
|
+
dt(J(v), ["esc"]),
|
|
8021
|
+
dt(ve(J(d), ["ctrl"]), ["enter"])
|
|
8022
8022
|
]
|
|
8023
8023
|
}, {
|
|
8024
8024
|
default: W(() => [
|
|
8025
|
-
Fa(
|
|
8025
|
+
Fa(x(g.content), 1)
|
|
8026
8026
|
]),
|
|
8027
8027
|
_: 1
|
|
8028
8028
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
8029
8029
|
])
|
|
8030
8030
|
]),
|
|
8031
8031
|
g.isEditable ? (p(), m("div", rv, [
|
|
8032
|
-
|
|
8032
|
+
J(o) ? (p(), m(he, { key: 0 }, [
|
|
8033
8033
|
T(ue, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
8035
8035
|
size: "sm",
|
|
8036
8036
|
variant: "ghost",
|
|
8037
8037
|
color: "neutral",
|
|
8038
|
-
onClick:
|
|
8038
|
+
onClick: J(v)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
8040
|
T(ue, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
@@ -8043,7 +8043,7 @@ const sv = { class: "ao-comment" }, nv = { class: "ao-comment__created-at" }, iv
|
|
|
8043
8043
|
variant: "solid",
|
|
8044
8044
|
corners: "round",
|
|
8045
8045
|
color: "black",
|
|
8046
|
-
onClick:
|
|
8046
|
+
onClick: J(d)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), m(he, { key: 1 }, [
|
|
8049
8049
|
T(ue, {
|
|
@@ -8058,7 +8058,7 @@ const sv = { class: "ao-comment" }, nv = { class: "ao-comment__created-at" }, iv
|
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
8060
8060
|
color: "neutral",
|
|
8061
|
-
onClick:
|
|
8061
|
+
onClick: J(i)
|
|
8062
8062
|
}, null, 8, ["label", "onClick"])
|
|
8063
8063
|
], 64))
|
|
8064
8064
|
])) : E("", !0)
|
|
@@ -8069,7 +8069,7 @@ const sv = { class: "ao-comment" }, nv = { class: "ao-comment__created-at" }, iv
|
|
|
8069
8069
|
const uv = { class: "ao-comments__header" }, cv = ["onSubmit"], dv = ["placeholder"], pv = { class: "ao-comments__form-submit" }, vv = {
|
|
8070
8070
|
key: 0,
|
|
8071
8071
|
class: "ao-comments__list"
|
|
8072
|
-
}, fv = /* @__PURE__ */
|
|
8072
|
+
}, fv = /* @__PURE__ */ Y({
|
|
8073
8073
|
__name: "AoActivityDetailsComments",
|
|
8074
8074
|
props: {
|
|
8075
8075
|
comments: { default: () => [] },
|
|
@@ -8115,14 +8115,14 @@ const uv = { class: "ao-comments__header" }, cv = ["onSubmit"], dv = ["placehold
|
|
|
8115
8115
|
class: "ao-comments__form",
|
|
8116
8116
|
onSubmit: ve(l, ["prevent"])
|
|
8117
8117
|
}, [
|
|
8118
|
-
|
|
8118
|
+
Ue(f("textarea", {
|
|
8119
8119
|
"onUpdate:modelValue": d[0] || (d[0] = (w) => r.value = w),
|
|
8120
8120
|
rows: "2",
|
|
8121
8121
|
class: "ao-field__textarea ao-comments__form-textarea",
|
|
8122
8122
|
placeholder: v.$t("activity.comment.label")
|
|
8123
8123
|
}, null, 8, dv), [
|
|
8124
8124
|
[
|
|
8125
|
-
|
|
8125
|
+
Ge,
|
|
8126
8126
|
r.value,
|
|
8127
8127
|
void 0,
|
|
8128
8128
|
{ trim: !0 }
|
|
@@ -8157,7 +8157,7 @@ const uv = { class: "ao-comments__header" }, cv = ["onSubmit"], dv = ["placehold
|
|
|
8157
8157
|
};
|
|
8158
8158
|
}
|
|
8159
8159
|
});
|
|
8160
|
-
const ws = /* @__PURE__ */
|
|
8160
|
+
const ws = /* @__PURE__ */ Y({
|
|
8161
8161
|
__name: "AoButtonCheck",
|
|
8162
8162
|
props: {
|
|
8163
8163
|
modelValue: { type: Boolean },
|
|
@@ -8169,7 +8169,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8169
8169
|
e("update:modelValue", !a.modelValue);
|
|
8170
8170
|
};
|
|
8171
8171
|
return (n, o) => (p(), P(ue, {
|
|
8172
|
-
color: n.modelValue ? n.color :
|
|
8172
|
+
color: n.modelValue ? n.color : J(As).NEUTRAL,
|
|
8173
8173
|
"icon-position": "start",
|
|
8174
8174
|
onClick: o[0] || (o[0] = () => s())
|
|
8175
8175
|
}, null, 8, ["color"]));
|
|
@@ -8201,7 +8201,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8201
8201
|
}, nf = { class: "ao-fieldset ao-activity-details__aside-section" }, of = { class: "ao-fieldset__title" }, rf = { class: "ao-fieldset__body" }, lf = { class: "ao-field__row" }, uf = { class: "ao-field ao-field--multiselect" }, cf = { class: "ao-field__label" }, df = { class: "ao-field__row" }, pf = { class: "ao-field ao-field--multiselect" }, vf = { class: "ao-field__label" }, ff = {
|
|
8202
8202
|
key: 2,
|
|
8203
8203
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8204
|
-
}, hf = { class: "ao-activity__created-by" }, Us = /* @__PURE__ */
|
|
8204
|
+
}, hf = { class: "ao-activity__created-by" }, Us = /* @__PURE__ */ Y({
|
|
8205
8205
|
__name: "AoActivityDetails",
|
|
8206
8206
|
props: {
|
|
8207
8207
|
activity: {},
|
|
@@ -8363,8 +8363,8 @@ const ws = /* @__PURE__ */ x({
|
|
|
8363
8363
|
value: y.id,
|
|
8364
8364
|
label: y.name
|
|
8365
8365
|
}))), ae = M(() => {
|
|
8366
|
-
var R, le,
|
|
8367
|
-
const y = (
|
|
8366
|
+
var R, le, oe;
|
|
8367
|
+
const y = (oe = (le = (R = a.activity) == null ? void 0 : R.project) == null ? void 0 : le.phases) == null ? void 0 : oe.reduce(
|
|
8368
8368
|
(q, H) => [...q, ...H.milestones],
|
|
8369
8369
|
[]
|
|
8370
8370
|
);
|
|
@@ -8382,13 +8382,13 @@ const ws = /* @__PURE__ */ x({
|
|
|
8382
8382
|
id: a.activity.id,
|
|
8383
8383
|
milestoneId: y
|
|
8384
8384
|
});
|
|
8385
|
-
},
|
|
8385
|
+
}, se = M(() => {
|
|
8386
8386
|
var y;
|
|
8387
8387
|
return (y = a.statuses) == null ? void 0 : y.map((R) => ({
|
|
8388
8388
|
value: R.id,
|
|
8389
8389
|
label: R.name
|
|
8390
8390
|
}));
|
|
8391
|
-
}),
|
|
8391
|
+
}), Q = (y) => {
|
|
8392
8392
|
e("update:activity", {
|
|
8393
8393
|
id: a.activity.id,
|
|
8394
8394
|
statusId: y
|
|
@@ -8406,7 +8406,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8406
8406
|
var y, R;
|
|
8407
8407
|
return ((y = a.activity.createdBy) == null ? void 0 : y.firstName) && ((R = a.activity.createdBy) == null ? void 0 : R.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8408
8408
|
});
|
|
8409
|
-
function
|
|
8409
|
+
function ie() {
|
|
8410
8410
|
const y = window.location.origin, R = a.activity.slug, le = `${y}/activity-feed/slug/${R}`;
|
|
8411
8411
|
navigator.clipboard.writeText(le).then(() => {
|
|
8412
8412
|
console.log(`Link copied to clipboard: ${le}`), e("toast", "clipboard.copy.success", "success");
|
|
@@ -8418,7 +8418,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8418
8418
|
onClose: R[10] || (R[10] = (le) => y.$emit("close"))
|
|
8419
8419
|
}, {
|
|
8420
8420
|
default: W(() => {
|
|
8421
|
-
var le,
|
|
8421
|
+
var le, oe, q;
|
|
8422
8422
|
return [
|
|
8423
8423
|
f("div", hv, [
|
|
8424
8424
|
f("div", mv, [
|
|
@@ -8430,9 +8430,9 @@ const ws = /* @__PURE__ */ x({
|
|
|
8430
8430
|
variant: "solid",
|
|
8431
8431
|
color: "primary",
|
|
8432
8432
|
class: "ao-activity__ao-tag",
|
|
8433
|
-
onClick:
|
|
8433
|
+
onClick: ie
|
|
8434
8434
|
}, null, 8, ["label"])) : E("", !0),
|
|
8435
|
-
y.breadcrumbs ? (p(), m("div", gv,
|
|
8435
|
+
y.breadcrumbs ? (p(), m("div", gv, x(y.breadcrumbs), 1)) : E("", !0),
|
|
8436
8436
|
T(ye, {
|
|
8437
8437
|
title: y.activity.name || "",
|
|
8438
8438
|
level: 4,
|
|
@@ -8441,8 +8441,8 @@ const ws = /* @__PURE__ */ x({
|
|
|
8441
8441
|
}, null, 8, ["title", "is-editable"]),
|
|
8442
8442
|
f("div", _v, [
|
|
8443
8443
|
X.value ? (p(), m("label", yv, [
|
|
8444
|
-
f("span", bv,
|
|
8445
|
-
T(
|
|
8444
|
+
f("span", bv, x(y.$t("activity.project.label")), 1),
|
|
8445
|
+
T(ke, {
|
|
8446
8446
|
options: X.value,
|
|
8447
8447
|
value: (le = y.activity.project) == null ? void 0 : le.id,
|
|
8448
8448
|
searchable: !0,
|
|
@@ -8452,10 +8452,10 @@ const ws = /* @__PURE__ */ x({
|
|
|
8452
8452
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8453
8453
|
])) : E("", !0),
|
|
8454
8454
|
ae.value ? (p(), m("label", wv, [
|
|
8455
|
-
f("span", $v,
|
|
8456
|
-
T(
|
|
8455
|
+
f("span", $v, x(y.$t("activity.milestone.label")), 1),
|
|
8456
|
+
T(ke, {
|
|
8457
8457
|
options: ae.value,
|
|
8458
|
-
value: (
|
|
8458
|
+
value: (oe = y.activity.milestone) == null ? void 0 : oe.id,
|
|
8459
8459
|
searchable: !0,
|
|
8460
8460
|
disabled: !s.value,
|
|
8461
8461
|
caret: s.value,
|
|
@@ -8476,15 +8476,15 @@ const ws = /* @__PURE__ */ x({
|
|
|
8476
8476
|
}, {
|
|
8477
8477
|
default: W(() => [
|
|
8478
8478
|
f("label", Mv, [
|
|
8479
|
-
f("span", Tv,
|
|
8480
|
-
|
|
8479
|
+
f("span", Tv, x(y.$t("activity.description.label")), 1),
|
|
8480
|
+
Ue(f("textarea", {
|
|
8481
8481
|
"onUpdate:modelValue": R[0] || (R[0] = (H) => o.value = H),
|
|
8482
8482
|
readonly: !s.value,
|
|
8483
8483
|
rows: "4",
|
|
8484
8484
|
class: "ao-field__textarea"
|
|
8485
8485
|
}, null, 8, Ov), [
|
|
8486
8486
|
[
|
|
8487
|
-
|
|
8487
|
+
Ge,
|
|
8488
8488
|
o.value,
|
|
8489
8489
|
void 0,
|
|
8490
8490
|
{
|
|
@@ -8500,8 +8500,8 @@ const ws = /* @__PURE__ */ x({
|
|
|
8500
8500
|
]),
|
|
8501
8501
|
f("div", Ev, [
|
|
8502
8502
|
f("label", Iv, [
|
|
8503
|
-
f("span", Lv,
|
|
8504
|
-
|
|
8503
|
+
f("span", Lv, x(y.$t("activity.estimation.label")), 1),
|
|
8504
|
+
Ue(f("input", {
|
|
8505
8505
|
"onUpdate:modelValue": R[1] || (R[1] = (H) => i.value = H),
|
|
8506
8506
|
readonly: !s.value,
|
|
8507
8507
|
class: "ao-field__input ao-field__input--estim",
|
|
@@ -8509,7 +8509,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8509
8509
|
min: "0"
|
|
8510
8510
|
}, null, 8, Hv), [
|
|
8511
8511
|
[
|
|
8512
|
-
|
|
8512
|
+
Ge,
|
|
8513
8513
|
i.value,
|
|
8514
8514
|
void 0,
|
|
8515
8515
|
{
|
|
@@ -8570,25 +8570,25 @@ const ws = /* @__PURE__ */ x({
|
|
|
8570
8570
|
onClick: R[2] || (R[2] = (H) => y.$emit("close"))
|
|
8571
8571
|
})
|
|
8572
8572
|
]),
|
|
8573
|
-
|
|
8573
|
+
se.value ? (p(), m("div", Fv, [
|
|
8574
8574
|
f("label", Uv, [
|
|
8575
|
-
f("span", Zv,
|
|
8576
|
-
T(
|
|
8575
|
+
f("span", Zv, x(y.$t("activity.status.label")), 1),
|
|
8576
|
+
T(ke, {
|
|
8577
8577
|
class: "ao-activity-details__multiselect",
|
|
8578
|
-
options:
|
|
8578
|
+
options: se.value,
|
|
8579
8579
|
value: (q = y.activity.status) == null ? void 0 : q.id,
|
|
8580
8580
|
"can-clear": !1,
|
|
8581
8581
|
"can-deselect": !1,
|
|
8582
8582
|
disabled: !s.value,
|
|
8583
8583
|
caret: s.value,
|
|
8584
|
-
onChange:
|
|
8584
|
+
onChange: Q
|
|
8585
8585
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
8586
8586
|
])
|
|
8587
8587
|
])) : E("", !0),
|
|
8588
8588
|
f("div", Wv, [
|
|
8589
8589
|
f("div", qv, [
|
|
8590
8590
|
f("div", zv, [
|
|
8591
|
-
f("span", xv,
|
|
8591
|
+
f("span", xv, x(y.$t("activity.assignee.label")), 1),
|
|
8592
8592
|
T(ue, {
|
|
8593
8593
|
label: y.$t("activity.assignee.toMe"),
|
|
8594
8594
|
type: "button",
|
|
@@ -8598,7 +8598,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8598
8598
|
onClick: D
|
|
8599
8599
|
}, null, 8, ["label"])
|
|
8600
8600
|
]),
|
|
8601
|
-
T(
|
|
8601
|
+
T(ke, {
|
|
8602
8602
|
modelValue: U.value,
|
|
8603
8603
|
"onUpdate:modelValue": R[3] || (R[3] = (H) => U.value = H),
|
|
8604
8604
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
@@ -8615,7 +8615,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8615
8615
|
option: H,
|
|
8616
8616
|
handleTagRemove: K
|
|
8617
8617
|
}) => [
|
|
8618
|
-
T(
|
|
8618
|
+
T(et, {
|
|
8619
8619
|
"user-name": H.label,
|
|
8620
8620
|
"avatar-url": H.avatar,
|
|
8621
8621
|
"is-closable": !0,
|
|
@@ -8629,15 +8629,15 @@ const ws = /* @__PURE__ */ x({
|
|
|
8629
8629
|
f("div", Yv, [
|
|
8630
8630
|
y.isTemplate !== !0 && y.userId ? (p(), m("div", Kv, [
|
|
8631
8631
|
f("label", Gv, [
|
|
8632
|
-
f("span", Xv,
|
|
8633
|
-
|
|
8632
|
+
f("span", Xv, x(y.$t("activity.deadline.label")), 1),
|
|
8633
|
+
Ue(f("input", {
|
|
8634
8634
|
"onUpdate:modelValue": R[4] || (R[4] = (H) => c.value = H),
|
|
8635
8635
|
readonly: !s.value,
|
|
8636
8636
|
class: "ao-field__input",
|
|
8637
8637
|
type: "date"
|
|
8638
8638
|
}, null, 8, Qv), [
|
|
8639
8639
|
[
|
|
8640
|
-
|
|
8640
|
+
Ge,
|
|
8641
8641
|
c.value,
|
|
8642
8642
|
void 0,
|
|
8643
8643
|
{ lazy: !0 }
|
|
@@ -8649,7 +8649,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8649
8649
|
f("div", Jv, [
|
|
8650
8650
|
u.value ? (p(), m("div", ef, [
|
|
8651
8651
|
f("label", tf, [
|
|
8652
|
-
T(
|
|
8652
|
+
T(ke, {
|
|
8653
8653
|
modelValue: v.value,
|
|
8654
8654
|
"onUpdate:modelValue": R[5] || (R[5] = (H) => v.value = H),
|
|
8655
8655
|
class: "ao-activity-details__multiselect",
|
|
@@ -8704,8 +8704,8 @@ const ws = /* @__PURE__ */ x({
|
|
|
8704
8704
|
f("div", rf, [
|
|
8705
8705
|
f("div", lf, [
|
|
8706
8706
|
f("label", uf, [
|
|
8707
|
-
f("span", cf,
|
|
8708
|
-
T(
|
|
8707
|
+
f("span", cf, x(y.$t("activity.dependingOn.label")), 1),
|
|
8708
|
+
T(ke, {
|
|
8709
8709
|
modelValue: h.value,
|
|
8710
8710
|
"onUpdate:modelValue": R[8] || (R[8] = (H) => h.value = H),
|
|
8711
8711
|
class: "ao-activity-details__multiselect",
|
|
@@ -8720,8 +8720,8 @@ const ws = /* @__PURE__ */ x({
|
|
|
8720
8720
|
]),
|
|
8721
8721
|
f("div", df, [
|
|
8722
8722
|
f("label", pf, [
|
|
8723
|
-
f("span", vf,
|
|
8724
|
-
T(
|
|
8723
|
+
f("span", vf, x(y.$t("activity.blocking.label")), 1),
|
|
8724
|
+
T(ke, {
|
|
8725
8725
|
modelValue: g.value,
|
|
8726
8726
|
"onUpdate:modelValue": R[9] || (R[9] = (H) => g.value = H),
|
|
8727
8727
|
class: "ao-activity-details__multiselect",
|
|
@@ -8738,11 +8738,11 @@ const ws = /* @__PURE__ */ x({
|
|
|
8738
8738
|
]),
|
|
8739
8739
|
y.isTemplate !== !0 && V.value ? (p(), m("div", ff, [
|
|
8740
8740
|
f("div", hf, [
|
|
8741
|
-
T(
|
|
8741
|
+
T(et, {
|
|
8742
8742
|
"user-name": V.value,
|
|
8743
8743
|
color: "black"
|
|
8744
8744
|
}, null, 8, ["user-name"]),
|
|
8745
|
-
f("span", null,
|
|
8745
|
+
f("span", null, x(V.value), 1)
|
|
8746
8746
|
])
|
|
8747
8747
|
])) : E("", !0)
|
|
8748
8748
|
])
|
|
@@ -8753,7 +8753,7 @@ const ws = /* @__PURE__ */ x({
|
|
|
8753
8753
|
}));
|
|
8754
8754
|
}
|
|
8755
8755
|
});
|
|
8756
|
-
const mf = /* @__PURE__ */
|
|
8756
|
+
const mf = /* @__PURE__ */ Y({
|
|
8757
8757
|
__name: "AoRuleLine",
|
|
8758
8758
|
props: {
|
|
8759
8759
|
rule: {},
|
|
@@ -8829,39 +8829,39 @@ const mf = /* @__PURE__ */ x({
|
|
|
8829
8829
|
}), b = M(() => Object.values(N2));
|
|
8830
8830
|
return (A, _) => (p(), P(ht(A.tagName), { class: "ao-rule-line" }, {
|
|
8831
8831
|
default: W(() => [
|
|
8832
|
-
T(
|
|
8832
|
+
T(J(ut), {
|
|
8833
8833
|
modelValue: n.value,
|
|
8834
8834
|
"onUpdate:modelValue": _[0] || (_[0] = (C) => n.value = C),
|
|
8835
8835
|
options: o.value
|
|
8836
8836
|
}, null, 8, ["modelValue", "options"]),
|
|
8837
|
-
T(
|
|
8837
|
+
T(J(ut), {
|
|
8838
8838
|
modelValue: i.value,
|
|
8839
8839
|
"onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
|
|
8840
8840
|
options: r.value
|
|
8841
8841
|
}, null, 8, ["modelValue", "options"]),
|
|
8842
|
-
T(
|
|
8842
|
+
T(J(ut), {
|
|
8843
8843
|
modelValue: d.value,
|
|
8844
8844
|
"onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
|
|
8845
8845
|
options: h.value
|
|
8846
8846
|
}, null, 8, ["modelValue", "options"]),
|
|
8847
|
-
T(
|
|
8847
|
+
T(J(ut), {
|
|
8848
8848
|
modelValue: c.value,
|
|
8849
8849
|
"onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
|
|
8850
8850
|
options: u.value
|
|
8851
8851
|
}, null, 8, ["modelValue", "options"]),
|
|
8852
|
-
|
|
8852
|
+
Ue(f("input", {
|
|
8853
8853
|
"onUpdate:modelValue": _[4] || (_[4] = (C) => w.value = C),
|
|
8854
8854
|
type: "number",
|
|
8855
8855
|
min: "0"
|
|
8856
8856
|
}, null, 512), [
|
|
8857
8857
|
[
|
|
8858
|
-
|
|
8858
|
+
Ge,
|
|
8859
8859
|
w.value,
|
|
8860
8860
|
void 0,
|
|
8861
8861
|
{ number: !0 }
|
|
8862
8862
|
]
|
|
8863
8863
|
]),
|
|
8864
|
-
T(
|
|
8864
|
+
T(J(ut), {
|
|
8865
8865
|
modelValue: g.value,
|
|
8866
8866
|
"onUpdate:modelValue": _[5] || (_[5] = (C) => g.value = C),
|
|
8867
8867
|
options: b.value
|
|
@@ -8877,7 +8877,7 @@ const mf = /* @__PURE__ */ x({
|
|
|
8877
8877
|
}));
|
|
8878
8878
|
}
|
|
8879
8879
|
});
|
|
8880
|
-
const Cf = { class: "ao-template-rules__body" }, gf = { class: "ao-template-rules__list" }, _f = /* @__PURE__ */
|
|
8880
|
+
const Cf = { class: "ao-template-rules__body" }, gf = { class: "ao-template-rules__list" }, _f = /* @__PURE__ */ Y({
|
|
8881
8881
|
__name: "AoTemplateRules",
|
|
8882
8882
|
props: {
|
|
8883
8883
|
templateId: {},
|
|
@@ -8925,7 +8925,7 @@ const Cf = { class: "ao-template-rules__body" }, gf = { class: "ao-template-rule
|
|
|
8925
8925
|
}
|
|
8926
8926
|
});
|
|
8927
8927
|
function Bt(t, e, a) {
|
|
8928
|
-
const s = t.length, n = t.at(-1), o = n ?
|
|
8928
|
+
const s = t.length, n = t.at(-1), o = n ? we.LexoRank.parse(n.rank).genNext() : we.LexoRank.middle();
|
|
8929
8929
|
return {
|
|
8930
8930
|
name: a(`template.defaultName.${e}`, { idx: s + 1 }),
|
|
8931
8931
|
rank: o.format()
|
|
@@ -8934,7 +8934,7 @@ function Bt(t, e, a) {
|
|
|
8934
8934
|
const yf = {
|
|
8935
8935
|
key: 0,
|
|
8936
8936
|
class: "ao-template-details"
|
|
8937
|
-
}, bf = { class: "ao-template-details__body" }, wf = { class: "ao-template-details__cols" }, $f = { class: "ao-template-details__col" }, kf = { class: "ao-list__footer" }, Sf = { class: "ao-template-details__col" }, Af = { class: "ao-template-details__col" }, Mf = /* @__PURE__ */
|
|
8937
|
+
}, bf = { class: "ao-template-details__body" }, wf = { class: "ao-template-details__cols" }, $f = { class: "ao-template-details__col" }, kf = { class: "ao-list__footer" }, Sf = { class: "ao-template-details__col" }, Af = { class: "ao-template-details__col" }, Mf = /* @__PURE__ */ Y({
|
|
8938
8938
|
__name: "AoTemplateDetails",
|
|
8939
8939
|
props: {
|
|
8940
8940
|
templateId: {},
|
|
@@ -8962,7 +8962,7 @@ const yf = {
|
|
|
8962
8962
|
return (k = n.value) == null ? void 0 : k.phases;
|
|
8963
8963
|
},
|
|
8964
8964
|
(k, F) => {
|
|
8965
|
-
o.value &&
|
|
8965
|
+
o.value && Qe(k, F);
|
|
8966
8966
|
}
|
|
8967
8967
|
);
|
|
8968
8968
|
const i = M(() => {
|
|
@@ -8975,7 +8975,7 @@ const yf = {
|
|
|
8975
8975
|
return (k = i.value) == null ? void 0 : k.milestones;
|
|
8976
8976
|
},
|
|
8977
8977
|
(k, F) => {
|
|
8978
|
-
o.value &&
|
|
8978
|
+
o.value && Qe(k, F);
|
|
8979
8979
|
}
|
|
8980
8980
|
);
|
|
8981
8981
|
const r = M(() => {
|
|
@@ -8990,20 +8990,20 @@ const yf = {
|
|
|
8990
8990
|
return (k = r.value) == null ? void 0 : k.activities;
|
|
8991
8991
|
},
|
|
8992
8992
|
(k, F) => {
|
|
8993
|
-
o.value &&
|
|
8993
|
+
o.value && Qe(k, F);
|
|
8994
8994
|
}
|
|
8995
8995
|
);
|
|
8996
8996
|
const l = M(() => {
|
|
8997
8997
|
var k, F;
|
|
8998
|
-
return ((F = (k = n.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V,
|
|
8999
|
-
const y =
|
|
8998
|
+
return ((F = (k = n.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, ie) => {
|
|
8999
|
+
const y = ie.milestones || [];
|
|
9000
9000
|
return [...V, ...y];
|
|
9001
9001
|
}, [])) || [];
|
|
9002
9002
|
}), c = M(() => {
|
|
9003
9003
|
var k, F;
|
|
9004
|
-
return ((F = (k = n.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V,
|
|
9005
|
-
const R = (
|
|
9006
|
-
(le,
|
|
9004
|
+
return ((F = (k = n.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, ie) => {
|
|
9005
|
+
const R = (ie.milestones || []).reduce(
|
|
9006
|
+
(le, oe) => oe.activities ? [...le, ...oe.activities] : le,
|
|
9007
9007
|
[]
|
|
9008
9008
|
);
|
|
9009
9009
|
return [...V, ...R];
|
|
@@ -9095,7 +9095,7 @@ const yf = {
|
|
|
9095
9095
|
const { milestoneId: F } = k;
|
|
9096
9096
|
if (!r.value)
|
|
9097
9097
|
return;
|
|
9098
|
-
const { name: V, rank:
|
|
9098
|
+
const { name: V, rank: ie } = Bt(
|
|
9099
9099
|
r.value.activities,
|
|
9100
9100
|
"activity",
|
|
9101
9101
|
s
|
|
@@ -9104,7 +9104,7 @@ const yf = {
|
|
|
9104
9104
|
type: Ce.ACTIVITIES,
|
|
9105
9105
|
milestoneId: F,
|
|
9106
9106
|
templateId: a.templateId,
|
|
9107
|
-
item: { name: V, rank:
|
|
9107
|
+
item: { name: V, rank: ie, milestoneId: F }
|
|
9108
9108
|
});
|
|
9109
9109
|
}, I = (k) => {
|
|
9110
9110
|
var F, V;
|
|
@@ -9160,7 +9160,7 @@ const yf = {
|
|
|
9160
9160
|
templateId: a.templateId,
|
|
9161
9161
|
data: k
|
|
9162
9162
|
});
|
|
9163
|
-
},
|
|
9163
|
+
}, se = (k) => {
|
|
9164
9164
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9165
9165
|
type: Ce.TASKS,
|
|
9166
9166
|
activityId: u.value.id,
|
|
@@ -9169,17 +9169,17 @@ const yf = {
|
|
|
9169
9169
|
templateId: a.templateId,
|
|
9170
9170
|
data: k
|
|
9171
9171
|
});
|
|
9172
|
-
},
|
|
9172
|
+
}, Q = (k) => {
|
|
9173
9173
|
e("addFiles", k);
|
|
9174
9174
|
}, O = (k) => {
|
|
9175
9175
|
e("removeFile", k);
|
|
9176
9176
|
};
|
|
9177
9177
|
return (k, F) => {
|
|
9178
|
-
var V,
|
|
9178
|
+
var V, ie, y, R, le, oe;
|
|
9179
9179
|
return n.value ? (p(), m("div", yf, [
|
|
9180
9180
|
T(Ga, {
|
|
9181
9181
|
"can-go-back": !0,
|
|
9182
|
-
onGoBack: F[1] || (F[1] = (q) => k.$router.push({ name:
|
|
9182
|
+
onGoBack: F[1] || (F[1] = (q) => k.$router.push({ name: J(Dt).TEMPLATES_LIST }))
|
|
9183
9183
|
}, {
|
|
9184
9184
|
primary: W(() => [
|
|
9185
9185
|
T(ye, {
|
|
@@ -9196,7 +9196,7 @@ const yf = {
|
|
|
9196
9196
|
f("div", bf, [
|
|
9197
9197
|
f("ol", wf, [
|
|
9198
9198
|
f("li", $f, [
|
|
9199
|
-
T(
|
|
9199
|
+
T(J(mt), {
|
|
9200
9200
|
"model-value": n.value.phases,
|
|
9201
9201
|
class: "ao-templates__list",
|
|
9202
9202
|
"item-key": "id",
|
|
@@ -9257,7 +9257,7 @@ const yf = {
|
|
|
9257
9257
|
i.value && r.value ? (p(), P(f5, {
|
|
9258
9258
|
key: 0,
|
|
9259
9259
|
"template-id": k.templateId,
|
|
9260
|
-
"phase-id": (
|
|
9260
|
+
"phase-id": (ie = i.value) == null ? void 0 : ie.id,
|
|
9261
9261
|
milestone: r.value,
|
|
9262
9262
|
"activity-id": (y = u.value) == null ? void 0 : y.id,
|
|
9263
9263
|
onAddActivity: D,
|
|
@@ -9273,7 +9273,7 @@ const yf = {
|
|
|
9273
9273
|
activity: u.value,
|
|
9274
9274
|
"activity-types": k.activityTypes,
|
|
9275
9275
|
breadcrumbs: `${n.value.name} / ${(R = i.value) == null ? void 0 : R.name} / ${(le = r.value) == null ? void 0 : le.name}`,
|
|
9276
|
-
"milestone-id": (
|
|
9276
|
+
"milestone-id": (oe = r.value) == null ? void 0 : oe.id,
|
|
9277
9277
|
"template-activities": c.value,
|
|
9278
9278
|
"template-milestones": l.value,
|
|
9279
9279
|
"is-template": !0,
|
|
@@ -9286,8 +9286,8 @@ const yf = {
|
|
|
9286
9286
|
onClose: k.$router.back,
|
|
9287
9287
|
onAddSubtask: S,
|
|
9288
9288
|
onUpdateSubtask: j,
|
|
9289
|
-
onDeleteSubtask:
|
|
9290
|
-
onAddFiles:
|
|
9289
|
+
onDeleteSubtask: se,
|
|
9290
|
+
onAddFiles: Q,
|
|
9291
9291
|
onRemoveFile: O
|
|
9292
9292
|
}, {
|
|
9293
9293
|
default: W((q) => [
|
|
@@ -9319,7 +9319,7 @@ const Tf = {
|
|
|
9319
9319
|
}, Of = { class: "ao-card__body" }, Ef = {
|
|
9320
9320
|
key: 1,
|
|
9321
9321
|
class: "ao-card__footer"
|
|
9322
|
-
}, Zs = /* @__PURE__ */
|
|
9322
|
+
}, Zs = /* @__PURE__ */ Y({
|
|
9323
9323
|
__name: "AoCard",
|
|
9324
9324
|
props: {
|
|
9325
9325
|
isClickable: { type: Boolean },
|
|
@@ -9351,7 +9351,7 @@ const Tf = {
|
|
|
9351
9351
|
}, 8, ["class"]));
|
|
9352
9352
|
}
|
|
9353
9353
|
});
|
|
9354
|
-
const Ws = /* @__PURE__ */
|
|
9354
|
+
const Ws = /* @__PURE__ */ Y({
|
|
9355
9355
|
__name: "AoProgress",
|
|
9356
9356
|
props: {
|
|
9357
9357
|
percentages: {},
|
|
@@ -9380,7 +9380,7 @@ const If = { class: "ao-card-project-phase__header" }, Lf = { class: "ao-card-pr
|
|
|
9380
9380
|
}, Vf = { class: "ao-card-project-phase__subitem" }, Bf = { class: "ao-card-project-phase__subitem" }, Rf = {
|
|
9381
9381
|
key: 0,
|
|
9382
9382
|
class: "ao-card-project-phase__secondary"
|
|
9383
|
-
}, jf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Nf = /* @__PURE__ */
|
|
9383
|
+
}, jf = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Nf = /* @__PURE__ */ Y({
|
|
9384
9384
|
__name: "AoCardProjectItemPhase",
|
|
9385
9385
|
props: {
|
|
9386
9386
|
id: {},
|
|
@@ -9427,7 +9427,7 @@ const If = { class: "ao-card-project-phase__header" }, Lf = { class: "ao-card-pr
|
|
|
9427
9427
|
"is-editable": c.isEditable,
|
|
9428
9428
|
"onUpdate:title": s
|
|
9429
9429
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9430
|
-
n.value ? (p(), m("span", Hf, " (" +
|
|
9430
|
+
n.value ? (p(), m("span", Hf, " (" + x(n.value) + ")", 1)) : E("", !0)
|
|
9431
9431
|
])
|
|
9432
9432
|
]),
|
|
9433
9433
|
footer: W(() => [
|
|
@@ -9438,7 +9438,7 @@ const If = { class: "ao-card-project-phase__header" }, Lf = { class: "ao-card-pr
|
|
|
9438
9438
|
name: "MountainFlagOutlineRounded",
|
|
9439
9439
|
size: "sm"
|
|
9440
9440
|
}),
|
|
9441
|
-
f("span", Bf,
|
|
9441
|
+
f("span", Bf, x(i.value) + " / " + x(o.value), 1)
|
|
9442
9442
|
]),
|
|
9443
9443
|
T(Ws, {
|
|
9444
9444
|
percentages: r.value,
|
|
@@ -9451,20 +9451,20 @@ const If = { class: "ao-card-project-phase__header" }, Lf = { class: "ao-card-pr
|
|
|
9451
9451
|
f("div", {
|
|
9452
9452
|
class: G(["ao-card-project-phase__footer-row", l.value ? "" : "ao-card-project-phase__no_deadline"])
|
|
9453
9453
|
}, [
|
|
9454
|
-
c.isEditable ?
|
|
9454
|
+
c.isEditable ? Ue((p(), m("input", {
|
|
9455
9455
|
key: 0,
|
|
9456
9456
|
"onUpdate:modelValue": u[1] || (u[1] = (v) => l.value = v),
|
|
9457
9457
|
class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
|
|
9458
9458
|
type: "date"
|
|
9459
9459
|
}, null, 512)), [
|
|
9460
9460
|
[
|
|
9461
|
-
|
|
9461
|
+
Ge,
|
|
9462
9462
|
l.value,
|
|
9463
9463
|
void 0,
|
|
9464
9464
|
{ lazy: !0 }
|
|
9465
9465
|
]
|
|
9466
9466
|
]) : E("", !0),
|
|
9467
|
-
f("span", jf,
|
|
9467
|
+
f("span", jf, x(J(Ts)(c.deadline)), 1)
|
|
9468
9468
|
], 2)
|
|
9469
9469
|
])
|
|
9470
9470
|
]),
|
|
@@ -9492,7 +9492,7 @@ const If = { class: "ao-card-project-phase__header" }, Lf = { class: "ao-card-pr
|
|
|
9492
9492
|
]), 1032, ["is-clickable"]));
|
|
9493
9493
|
}
|
|
9494
9494
|
});
|
|
9495
|
-
const Ff = /* @__PURE__ */
|
|
9495
|
+
const Ff = /* @__PURE__ */ Y({
|
|
9496
9496
|
__name: "AoBadge",
|
|
9497
9497
|
props: {
|
|
9498
9498
|
color: {}
|
|
@@ -9519,7 +9519,7 @@ const Uf = { class: "ao-card-project-milestone__default" }, Zf = { class: "ao-ti
|
|
|
9519
9519
|
}, e9 = { class: "ao-field__label" }, t9 = {
|
|
9520
9520
|
key: 2,
|
|
9521
9521
|
class: "ao-card-project-milestone__assignee"
|
|
9522
|
-
}, a9 = /* @__PURE__ */
|
|
9522
|
+
}, a9 = /* @__PURE__ */ Y({
|
|
9523
9523
|
__name: "AoCardProjectItemMilestone",
|
|
9524
9524
|
props: {
|
|
9525
9525
|
id: {},
|
|
@@ -9574,7 +9574,7 @@ const Uf = { class: "ao-card-project-milestone__default" }, Zf = { class: "ao-ti
|
|
|
9574
9574
|
class: "ao-card-project-milestone__title",
|
|
9575
9575
|
"onUpdate:title": r
|
|
9576
9576
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
9577
|
-
s.value ? (p(), m("span", qf, " (" +
|
|
9577
|
+
s.value ? (p(), m("span", qf, " (" + x(s.value) + ")", 1)) : E("", !0)
|
|
9578
9578
|
])
|
|
9579
9579
|
]),
|
|
9580
9580
|
!l.readonly && l.isEditable ? (p(), m("div", zf, [
|
|
@@ -9598,7 +9598,7 @@ const Uf = { class: "ao-card-project-milestone__default" }, Zf = { class: "ao-ti
|
|
|
9598
9598
|
name: "SelectCheckBox",
|
|
9599
9599
|
size: "sm"
|
|
9600
9600
|
}),
|
|
9601
|
-
f("span", Gf,
|
|
9601
|
+
f("span", Gf, x(o.value) + " / " + x(n.value), 1)
|
|
9602
9602
|
]),
|
|
9603
9603
|
T(Ws, {
|
|
9604
9604
|
percentages: i.value,
|
|
@@ -9622,11 +9622,11 @@ const Uf = { class: "ao-card-project-milestone__default" }, Zf = { class: "ao-ti
|
|
|
9622
9622
|
size: "sm"
|
|
9623
9623
|
}, null, 8, ["class"])) : E("", !0),
|
|
9624
9624
|
l.deadline ? (p(), m("label", Jf, [
|
|
9625
|
-
f("span", e9,
|
|
9625
|
+
f("span", e9, x(J(Ts)(l.deadline)), 1)
|
|
9626
9626
|
])) : E("", !0),
|
|
9627
9627
|
l.assignee ? (p(), m("div", t9, [
|
|
9628
|
-
T(
|
|
9629
|
-
"user-name":
|
|
9628
|
+
T(et, {
|
|
9629
|
+
"user-name": J(zn)(l.assignee),
|
|
9630
9630
|
"avatar-url": l.assignee.avatarUrl,
|
|
9631
9631
|
color: l.isSelected ? "black" : "primary",
|
|
9632
9632
|
size: "sm"
|
|
@@ -9641,7 +9641,7 @@ const Uf = { class: "ao-card-project-milestone__default" }, Zf = { class: "ao-ti
|
|
|
9641
9641
|
const s9 = {
|
|
9642
9642
|
key: 0,
|
|
9643
9643
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9644
|
-
}, n9 = { class: "ao-project-phase__col-phase" }, i9 = { class: "ao-project-phase__col-milestones" }, o9 = { class: "ao-project-phase__milestones" }, r9 = { class: "ao-project-phase__milestones-list-footer" }, l9 = /* @__PURE__ */
|
|
9644
|
+
}, n9 = { class: "ao-project-phase__col-phase" }, i9 = { class: "ao-project-phase__col-milestones" }, o9 = { class: "ao-project-phase__milestones" }, r9 = { class: "ao-project-phase__milestones-list-footer" }, l9 = /* @__PURE__ */ Y({
|
|
9645
9645
|
__name: "AoProjectPhase",
|
|
9646
9646
|
props: {
|
|
9647
9647
|
phase: {},
|
|
@@ -9656,7 +9656,7 @@ const s9 = {
|
|
|
9656
9656
|
de(
|
|
9657
9657
|
() => a.phase.milestones,
|
|
9658
9658
|
(d, h) => {
|
|
9659
|
-
|
|
9659
|
+
Qe(d, h);
|
|
9660
9660
|
}
|
|
9661
9661
|
);
|
|
9662
9662
|
const n = (d) => {
|
|
@@ -9718,7 +9718,7 @@ const s9 = {
|
|
|
9718
9718
|
]),
|
|
9719
9719
|
f("div", i9, [
|
|
9720
9720
|
f("div", o9, [
|
|
9721
|
-
T(
|
|
9721
|
+
T(J(mt), He({
|
|
9722
9722
|
class: "ao-project-phase__milestones-list",
|
|
9723
9723
|
list: i.value,
|
|
9724
9724
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9743,7 +9743,7 @@ const s9 = {
|
|
|
9743
9743
|
readonly: d.readonly,
|
|
9744
9744
|
class: G(["ao-project-phase__milestone"]),
|
|
9745
9745
|
onClick: (A) => !d.readonly && d.$router.push({
|
|
9746
|
-
name:
|
|
9746
|
+
name: J(Fe).milestone,
|
|
9747
9747
|
params: { phaseId: d.phase.id, milestoneId: g.id }
|
|
9748
9748
|
}),
|
|
9749
9749
|
onUpdateMilestone: l,
|
|
@@ -9771,7 +9771,7 @@ const s9 = {
|
|
|
9771
9771
|
const u9 = { class: "ao-project__phases" }, c9 = {
|
|
9772
9772
|
key: 0,
|
|
9773
9773
|
class: "ao-project-phase__phases-list-footer"
|
|
9774
|
-
}, d9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), p9 = { class: "ao-project-phase__col-phase" }, v9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), f9 = /* @__PURE__ */
|
|
9774
|
+
}, d9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), p9 = { class: "ao-project-phase__col-phase" }, v9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), f9 = /* @__PURE__ */ Y({
|
|
9775
9775
|
__name: "AoProjectPhases",
|
|
9776
9776
|
props: {
|
|
9777
9777
|
phases: {},
|
|
@@ -9784,7 +9784,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9784
9784
|
setup(t, { emit: e }) {
|
|
9785
9785
|
const a = t;
|
|
9786
9786
|
de(() => a.phases, (u, v) => {
|
|
9787
|
-
|
|
9787
|
+
Qe(u, v);
|
|
9788
9788
|
});
|
|
9789
9789
|
const s = (u) => {
|
|
9790
9790
|
e("addMilestone", u);
|
|
@@ -9808,7 +9808,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9808
9808
|
e("addPhase", u);
|
|
9809
9809
|
};
|
|
9810
9810
|
return (u, v) => (p(), m("div", u9, [
|
|
9811
|
-
T(
|
|
9811
|
+
T(J(mt), {
|
|
9812
9812
|
class: "ao-project-phase__phases-list",
|
|
9813
9813
|
"model-value": u.phases,
|
|
9814
9814
|
"item-key": "id",
|
|
@@ -9846,7 +9846,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
|
|
|
9846
9846
|
]));
|
|
9847
9847
|
}
|
|
9848
9848
|
});
|
|
9849
|
-
const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, C9 = { class: "field__row" }, g9 = { class: "ao-add-template-modal__form-footer" }, _9 = /* @__PURE__ */
|
|
9849
|
+
const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, C9 = { class: "field__row" }, g9 = { class: "ao-add-template-modal__form-footer" }, _9 = /* @__PURE__ */ Y({
|
|
9850
9850
|
__name: "AoAddTemplateModal",
|
|
9851
9851
|
props: {
|
|
9852
9852
|
projectId: {},
|
|
@@ -9876,7 +9876,7 @@ const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, C9
|
|
|
9876
9876
|
}, [
|
|
9877
9877
|
f("div", m9, [
|
|
9878
9878
|
f("div", C9, [
|
|
9879
|
-
T(
|
|
9879
|
+
T(ke, {
|
|
9880
9880
|
value: n.value,
|
|
9881
9881
|
options: s.value,
|
|
9882
9882
|
detached: !0,
|
|
@@ -9899,7 +9899,57 @@ const h9 = ["onSubmit"], m9 = { class: "ao-add-template-modal__form-body" }, C9
|
|
|
9899
9899
|
}));
|
|
9900
9900
|
}
|
|
9901
9901
|
});
|
|
9902
|
-
const y9 =
|
|
9902
|
+
const y9 = ["onSubmit"], b9 = { class: "ao-save-template-modal__form-body" }, w9 = { class: "field__row" }, $9 = { class: "ao-field ao-field--inline" }, k9 = { class: "ao-field__label" }, S9 = { class: "ao-save-template-modal__form-footer" }, A9 = /* @__PURE__ */ Y({
|
|
9903
|
+
__name: "AoSaveTemplateModal",
|
|
9904
|
+
props: {
|
|
9905
|
+
projectId: {}
|
|
9906
|
+
},
|
|
9907
|
+
emits: ["save"],
|
|
9908
|
+
setup(t, { emit: e }) {
|
|
9909
|
+
const a = t, s = ee(""), n = () => {
|
|
9910
|
+
s.value && e("save", s.value, a.projectId);
|
|
9911
|
+
};
|
|
9912
|
+
return (o, i) => (p(), P(Xa, { size: "sm" }, {
|
|
9913
|
+
header: W(() => [
|
|
9914
|
+
T(ye, {
|
|
9915
|
+
title: o.$t("project.template.saveAsTemplate.title"),
|
|
9916
|
+
level: 3
|
|
9917
|
+
}, null, 8, ["title"])
|
|
9918
|
+
]),
|
|
9919
|
+
default: W(() => [
|
|
9920
|
+
f("form", {
|
|
9921
|
+
class: "ao-save-template-modal__form",
|
|
9922
|
+
onSubmit: ve(n, ["prevent"])
|
|
9923
|
+
}, [
|
|
9924
|
+
f("div", b9, [
|
|
9925
|
+
f("div", w9, [
|
|
9926
|
+
f("label", $9, [
|
|
9927
|
+
f("span", k9, x(o.$t("project.template.name.label")), 1),
|
|
9928
|
+
Ue(f("input", {
|
|
9929
|
+
"onUpdate:modelValue": i[0] || (i[0] = (r) => s.value = r),
|
|
9930
|
+
type: "text"
|
|
9931
|
+
}, null, 512), [
|
|
9932
|
+
[Ge, s.value]
|
|
9933
|
+
])
|
|
9934
|
+
])
|
|
9935
|
+
])
|
|
9936
|
+
]),
|
|
9937
|
+
f("footer", S9, [
|
|
9938
|
+
T(ue, {
|
|
9939
|
+
label: o.$t("project.template.saveAsTemplate.label"),
|
|
9940
|
+
type: "submit",
|
|
9941
|
+
color: "primary",
|
|
9942
|
+
variant: "solid",
|
|
9943
|
+
onClick: n
|
|
9944
|
+
}, null, 8, ["label"])
|
|
9945
|
+
])
|
|
9946
|
+
], 40, y9)
|
|
9947
|
+
]),
|
|
9948
|
+
_: 1
|
|
9949
|
+
}));
|
|
9950
|
+
}
|
|
9951
|
+
});
|
|
9952
|
+
const M9 = Y({
|
|
9903
9953
|
props: {
|
|
9904
9954
|
isLeft: {
|
|
9905
9955
|
type: Boolean,
|
|
@@ -9928,9 +9978,9 @@ const y9 = x({
|
|
|
9928
9978
|
}
|
|
9929
9979
|
}
|
|
9930
9980
|
});
|
|
9931
|
-
const
|
|
9932
|
-
function
|
|
9933
|
-
return p(), m("div",
|
|
9981
|
+
const T9 = { class: "toggle-wrapper" };
|
|
9982
|
+
function O9(t, e, a, s, n, o) {
|
|
9983
|
+
return p(), m("div", T9, [
|
|
9934
9984
|
f("button", {
|
|
9935
9985
|
class: G({
|
|
9936
9986
|
button: !0,
|
|
@@ -9939,7 +9989,7 @@ function w9(t, e, a, s, n, o) {
|
|
|
9939
9989
|
}),
|
|
9940
9990
|
type: "button",
|
|
9941
9991
|
onClick: e[0] || (e[0] = (...i) => t.selectLeft && t.selectLeft(...i))
|
|
9942
|
-
},
|
|
9992
|
+
}, x(t.leftLabel), 3),
|
|
9943
9993
|
f("button", {
|
|
9944
9994
|
class: G({
|
|
9945
9995
|
button: !0,
|
|
@@ -9948,100 +9998,10 @@ function w9(t, e, a, s, n, o) {
|
|
|
9948
9998
|
}),
|
|
9949
9999
|
type: "button",
|
|
9950
10000
|
onClick: e[1] || (e[1] = (...i) => t.selectRight && t.selectRight(...i))
|
|
9951
|
-
},
|
|
10001
|
+
}, x(t.rightLabel), 3)
|
|
9952
10002
|
]);
|
|
9953
10003
|
}
|
|
9954
|
-
const ci = /* @__PURE__ */ N(
|
|
9955
|
-
__name: "AoField",
|
|
9956
|
-
props: {
|
|
9957
|
-
label: {},
|
|
9958
|
-
isMultiselect: { type: Boolean, default: !1 }
|
|
9959
|
-
},
|
|
9960
|
-
setup(t) {
|
|
9961
|
-
return (e, a) => (p(), m("label", {
|
|
9962
|
-
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
9963
|
-
}, [
|
|
9964
|
-
f("span", $9, Y(e.label), 1),
|
|
9965
|
-
te(e.$slots, "default")
|
|
9966
|
-
], 2));
|
|
9967
|
-
}
|
|
9968
|
-
}), S9 = ["type", "value", "disabled", "readonly"], A9 = /* @__PURE__ */ x({
|
|
9969
|
-
__name: "AoInputField",
|
|
9970
|
-
props: {
|
|
9971
|
-
label: { default: "" },
|
|
9972
|
-
type: { default: "text" },
|
|
9973
|
-
modelValue: { default: "" },
|
|
9974
|
-
modelModifiers: { default: () => ({}) },
|
|
9975
|
-
isDisabled: { type: Boolean, default: !1 },
|
|
9976
|
-
isReadonly: { type: Boolean, default: !1 }
|
|
9977
|
-
},
|
|
9978
|
-
emits: ["update:modelValue"],
|
|
9979
|
-
setup(t, { emit: e }) {
|
|
9980
|
-
const a = t, s = M(
|
|
9981
|
-
() => a.modelModifiers.lazy ? "change" : "input"
|
|
9982
|
-
), n = (o) => {
|
|
9983
|
-
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
9984
|
-
};
|
|
9985
|
-
return (o, i) => (p(), P(k9, { label: o.label }, {
|
|
9986
|
-
default: W(() => [
|
|
9987
|
-
f("input", He({
|
|
9988
|
-
class: "ao-field__input",
|
|
9989
|
-
type: o.type,
|
|
9990
|
-
value: o.modelValue,
|
|
9991
|
-
disabled: o.isDisabled,
|
|
9992
|
-
readonly: o.isReadonly
|
|
9993
|
-
}, {
|
|
9994
|
-
[Pi(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
|
|
9995
|
-
}), null, 16, S9)
|
|
9996
|
-
]),
|
|
9997
|
-
_: 1
|
|
9998
|
-
}, 8, ["label"]));
|
|
9999
|
-
}
|
|
10000
|
-
}), M9 = ["onSubmit"], T9 = { class: "ao-save-template-modal__form-body" }, O9 = { class: "field__row" }, E9 = { class: "ao-save-template-modal__form-footer" }, I9 = /* @__PURE__ */ x({
|
|
10001
|
-
__name: "AoSaveTemplateModal",
|
|
10002
|
-
props: {
|
|
10003
|
-
projectId: {}
|
|
10004
|
-
},
|
|
10005
|
-
emits: ["save"],
|
|
10006
|
-
setup(t, { emit: e }) {
|
|
10007
|
-
const a = t, s = ee(""), n = () => {
|
|
10008
|
-
s.value && e("save", s.value, a.projectId);
|
|
10009
|
-
};
|
|
10010
|
-
return (o, i) => (p(), P(Xa, { size: "sm" }, {
|
|
10011
|
-
header: W(() => [
|
|
10012
|
-
T(ye, {
|
|
10013
|
-
title: o.$t("project.template.saveAsTemplate.title"),
|
|
10014
|
-
level: 3
|
|
10015
|
-
}, null, 8, ["title"])
|
|
10016
|
-
]),
|
|
10017
|
-
default: W(() => [
|
|
10018
|
-
f("form", {
|
|
10019
|
-
class: "ao-save-template-modal__form",
|
|
10020
|
-
onSubmit: ve(n, ["prevent"])
|
|
10021
|
-
}, [
|
|
10022
|
-
f("div", T9, [
|
|
10023
|
-
f("div", O9, [
|
|
10024
|
-
T(A9, {
|
|
10025
|
-
label: o.$t("project.template.name.label")
|
|
10026
|
-
}, null, 8, ["label"])
|
|
10027
|
-
])
|
|
10028
|
-
]),
|
|
10029
|
-
f("footer", E9, [
|
|
10030
|
-
T(ue, {
|
|
10031
|
-
label: o.$t("project.template.saveAsTemplate.label"),
|
|
10032
|
-
type: "submit",
|
|
10033
|
-
color: "primary",
|
|
10034
|
-
variant: "solid",
|
|
10035
|
-
onClick: n
|
|
10036
|
-
}, null, 8, ["label"])
|
|
10037
|
-
])
|
|
10038
|
-
], 40, M9)
|
|
10039
|
-
]),
|
|
10040
|
-
_: 1
|
|
10041
|
-
}));
|
|
10042
|
-
}
|
|
10043
|
-
});
|
|
10044
|
-
const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /* @__PURE__ */ x({
|
|
10004
|
+
const ci = /* @__PURE__ */ N(M9, [["render", O9], ["__scopeId", "data-v-cbe33527"]]), E9 = { class: "ao-project" }, I9 = { class: "ao-project__body" }, L9 = /* @__PURE__ */ Y({
|
|
10045
10005
|
__name: "AoProjectOverviewProject",
|
|
10046
10006
|
props: {
|
|
10047
10007
|
project: {},
|
|
@@ -10103,21 +10063,23 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10103
10063
|
}, Z = ee(!1), z = ee(!1), X = (S, j) => {
|
|
10104
10064
|
e("applyTemplate", { templateId: S, projectId: j }), Z.value = !1;
|
|
10105
10065
|
}, ae = (S, j) => {
|
|
10106
|
-
|
|
10066
|
+
var O;
|
|
10067
|
+
const se = (O = a.templates) == null ? void 0 : O.at(-1), Q = se ? we.LexoRank.parse(se.rank).genNext() : we.LexoRank.middle();
|
|
10068
|
+
e("saveTemplate", { templateName: S, rank: Q.format(), projectId: j }), z.value = !1;
|
|
10107
10069
|
};
|
|
10108
10070
|
return (S, j) => {
|
|
10109
|
-
const
|
|
10071
|
+
const se = Ke("RouterView");
|
|
10110
10072
|
return p(), m(he, null, [
|
|
10111
10073
|
f("div", He({ class: "ao-project-overview" }, S.$attrs), [
|
|
10112
|
-
f("div",
|
|
10074
|
+
f("div", E9, [
|
|
10113
10075
|
T(Ga, null, {
|
|
10114
10076
|
primary: W(() => [
|
|
10115
10077
|
T(ci, {
|
|
10116
10078
|
"is-left": !0,
|
|
10117
10079
|
"right-label": S.$t("project.switch.feed"),
|
|
10118
10080
|
"left-label": S.$t("project.switch.overview"),
|
|
10119
|
-
"onUpdate:isLeft": j[0] || (j[0] = (
|
|
10120
|
-
|
|
10081
|
+
"onUpdate:isLeft": j[0] || (j[0] = (Q) => {
|
|
10082
|
+
Q || S.$router.push({ name: J(Fe).feed });
|
|
10121
10083
|
})
|
|
10122
10084
|
}, null, 8, ["right-label", "left-label"]),
|
|
10123
10085
|
T(ue, {
|
|
@@ -10130,7 +10092,7 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10130
10092
|
label: S.$t("feed.filters.showsArchived.label"),
|
|
10131
10093
|
role: "checkbox",
|
|
10132
10094
|
"aria-checked": S.showsArchived,
|
|
10133
|
-
onClick: j[1] || (j[1] = (
|
|
10095
|
+
onClick: j[1] || (j[1] = (Q) => S.$emit("update:showsArchived", !S.showsArchived))
|
|
10134
10096
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
10135
10097
|
]),
|
|
10136
10098
|
secondary: W(() => [
|
|
@@ -10139,19 +10101,19 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10139
10101
|
class: "ao-project-overview__save-as-template",
|
|
10140
10102
|
color: "primary",
|
|
10141
10103
|
label: S.$t("project.template.saveAsTemplate.label"),
|
|
10142
|
-
onClick: j[2] || (j[2] = (
|
|
10104
|
+
onClick: j[2] || (j[2] = (Q) => z.value = !0)
|
|
10143
10105
|
}, null, 8, ["label"])) : E("", !0),
|
|
10144
10106
|
S.isEditable === !0 ? (p(), P(ue, {
|
|
10145
10107
|
key: 1,
|
|
10146
10108
|
class: "ao-project-overview__add-template",
|
|
10147
10109
|
color: "primary",
|
|
10148
10110
|
label: S.$t("project.template.add.label"),
|
|
10149
|
-
onClick: j[3] || (j[3] = (
|
|
10111
|
+
onClick: j[3] || (j[3] = (Q) => Z.value = !0)
|
|
10150
10112
|
}, null, 8, ["label"])) : E("", !0)
|
|
10151
10113
|
]),
|
|
10152
10114
|
_: 1
|
|
10153
10115
|
}),
|
|
10154
|
-
f("div",
|
|
10116
|
+
f("div", I9, [
|
|
10155
10117
|
T(f9, {
|
|
10156
10118
|
phases: S.phases,
|
|
10157
10119
|
"closed-status": S.closedStatus,
|
|
@@ -10166,7 +10128,7 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10166
10128
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
10167
10129
|
])
|
|
10168
10130
|
]),
|
|
10169
|
-
T(
|
|
10131
|
+
T(se, {
|
|
10170
10132
|
class: "ao-project__sidebar",
|
|
10171
10133
|
phases: S.phases,
|
|
10172
10134
|
"project-id": S.project.id,
|
|
@@ -10174,7 +10136,7 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10174
10136
|
users: S.users,
|
|
10175
10137
|
"is-editable": S.isEditable === !0,
|
|
10176
10138
|
"closed-status": S.closedStatus,
|
|
10177
|
-
onClose: j[4] || (j[4] = (
|
|
10139
|
+
onClose: j[4] || (j[4] = (Q) => S.$router.push({ name: J(Fe).project })),
|
|
10178
10140
|
onUpdateMilestone: c,
|
|
10179
10141
|
onAddActivity: v,
|
|
10180
10142
|
onUpdateActivity: d,
|
|
@@ -10182,7 +10144,7 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10182
10144
|
onUnarchiveActivity: w
|
|
10183
10145
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
10184
10146
|
(p(), P(jt, { to: "body" }, [
|
|
10185
|
-
T(
|
|
10147
|
+
T(se, {
|
|
10186
10148
|
name: "modal",
|
|
10187
10149
|
activities: _.value,
|
|
10188
10150
|
"is-task-checkable": S.isTaskCheckable,
|
|
@@ -10204,8 +10166,8 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10204
10166
|
onUpdateComment: L,
|
|
10205
10167
|
onRemoveComment: U
|
|
10206
10168
|
}, {
|
|
10207
|
-
default: W(({ Component:
|
|
10208
|
-
(p(), P(ht(
|
|
10169
|
+
default: W(({ Component: Q }) => [
|
|
10170
|
+
(p(), P(ht(Q), null, {
|
|
10209
10171
|
default: W((O) => [
|
|
10210
10172
|
te(S.$slots, "activityDetailsBody", pa(va(O)))
|
|
10211
10173
|
]),
|
|
@@ -10217,18 +10179,18 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10217
10179
|
]))
|
|
10218
10180
|
], 16),
|
|
10219
10181
|
(p(), P(jt, { to: "body" }, [
|
|
10220
|
-
z.value ? (p(), P(
|
|
10182
|
+
z.value ? (p(), P(A9, {
|
|
10221
10183
|
key: 0,
|
|
10222
10184
|
"project-id": S.project.id,
|
|
10223
10185
|
templates: S.templates,
|
|
10224
|
-
onClose: j[5] || (j[5] = (
|
|
10186
|
+
onClose: j[5] || (j[5] = (Q) => z.value = !1),
|
|
10225
10187
|
onSave: ae
|
|
10226
10188
|
}, null, 8, ["project-id", "templates"])) : E("", !0),
|
|
10227
10189
|
Z.value ? (p(), P(_9, {
|
|
10228
10190
|
key: 1,
|
|
10229
10191
|
"project-id": S.project.id,
|
|
10230
10192
|
templates: S.templates,
|
|
10231
|
-
onClose: j[6] || (j[6] = (
|
|
10193
|
+
onClose: j[6] || (j[6] = (Q) => Z.value = !1),
|
|
10232
10194
|
onApply: X
|
|
10233
10195
|
}, null, 8, ["project-id", "templates"])) : E("", !0)
|
|
10234
10196
|
]))
|
|
@@ -10236,39 +10198,39 @@ const L9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /*
|
|
|
10236
10198
|
};
|
|
10237
10199
|
}
|
|
10238
10200
|
});
|
|
10239
|
-
const
|
|
10201
|
+
const H9 = { class: "ao-card-feed__header" }, D9 = {
|
|
10240
10202
|
key: 1,
|
|
10241
10203
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10242
|
-
},
|
|
10204
|
+
}, P9 = {
|
|
10243
10205
|
key: 2,
|
|
10244
10206
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10245
|
-
},
|
|
10207
|
+
}, V9 = { class: "ao-card-feed__body" }, B9 = {
|
|
10246
10208
|
key: 0,
|
|
10247
10209
|
class: "ao-card-feed__breadcrumbs"
|
|
10248
|
-
},
|
|
10210
|
+
}, R9 = {
|
|
10249
10211
|
class: /* @__PURE__ */ G(["ao-card-feed__title-group"])
|
|
10250
|
-
},
|
|
10212
|
+
}, j9 = { class: "ao-card-feed__title-line" }, N9 = {
|
|
10251
10213
|
key: 0,
|
|
10252
10214
|
class: "ao-card-feed__slug"
|
|
10253
|
-
},
|
|
10215
|
+
}, F9 = {
|
|
10254
10216
|
key: 1,
|
|
10255
10217
|
class: "ao-card-feed__deadline"
|
|
10256
|
-
},
|
|
10218
|
+
}, U9 = { class: "ao-card-feed__footer" }, Z9 = { class: "ao-card-feed__footer-row" }, W9 = { class: "ao-assignees" }, q9 = {
|
|
10257
10219
|
key: 0,
|
|
10258
10220
|
class: "ao-assignee"
|
|
10259
|
-
},
|
|
10221
|
+
}, z9 = {
|
|
10260
10222
|
key: 0,
|
|
10261
10223
|
class: "ao-card-feed__subitems"
|
|
10262
|
-
},
|
|
10224
|
+
}, x9 = {
|
|
10263
10225
|
key: 0,
|
|
10264
10226
|
class: "ao-card-feed__subitem"
|
|
10265
|
-
},
|
|
10227
|
+
}, Y9 = { class: "ao-card-feed__subitem" }, K9 = {
|
|
10266
10228
|
key: 1,
|
|
10267
10229
|
class: "ao-card-feed__subitem"
|
|
10268
|
-
},
|
|
10230
|
+
}, G9 = { class: "ao-card-feed__subitem" }, X9 = { class: "ao-card-feed__footer-row" }, Q9 = {
|
|
10269
10231
|
key: 0,
|
|
10270
10232
|
class: "ao-card-feed__progress-wrapper"
|
|
10271
|
-
},
|
|
10233
|
+
}, J9 = { class: "ao-card-feed__subitem" }, e4 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ Y({
|
|
10272
10234
|
__name: "AoCardFeed",
|
|
10273
10235
|
props: {
|
|
10274
10236
|
id: {},
|
|
@@ -10311,7 +10273,7 @@ const P9 = { class: "ao-card-feed__header" }, V9 = {
|
|
|
10311
10273
|
"is-clickable": !0
|
|
10312
10274
|
}, {
|
|
10313
10275
|
header: W(() => [
|
|
10314
|
-
f("div",
|
|
10276
|
+
f("div", H9, [
|
|
10315
10277
|
s.value ? (p(), P(qa, {
|
|
10316
10278
|
key: 0,
|
|
10317
10279
|
label: s.value,
|
|
@@ -10320,7 +10282,7 @@ const P9 = { class: "ao-card-feed__header" }, V9 = {
|
|
|
10320
10282
|
color: h.projectColor ? void 0 : "primary",
|
|
10321
10283
|
"raw-color": n.value
|
|
10322
10284
|
}, null, 8, ["label", "color", "raw-color"])) : E("", !0),
|
|
10323
|
-
h.isPrivate || h.important || h.isClosed ? (p(), m("div",
|
|
10285
|
+
h.isPrivate || h.important || h.isClosed ? (p(), m("div", D9, [
|
|
10324
10286
|
h.isPrivate ? (p(), P(pe, {
|
|
10325
10287
|
key: 0,
|
|
10326
10288
|
name: "Lock",
|
|
@@ -10339,17 +10301,17 @@ const P9 = { class: "ao-card-feed__header" }, V9 = {
|
|
|
10339
10301
|
class: "ao-card-feed__closed"
|
|
10340
10302
|
})) : E("", !0)
|
|
10341
10303
|
])) : E("", !0),
|
|
10342
|
-
h.$slots.secondary ? (p(), m("div",
|
|
10304
|
+
h.$slots.secondary ? (p(), m("div", P9, [
|
|
10343
10305
|
te(h.$slots, "secondary")
|
|
10344
10306
|
])) : E("", !0)
|
|
10345
10307
|
])
|
|
10346
10308
|
]),
|
|
10347
10309
|
default: W(() => [
|
|
10348
|
-
f("div",
|
|
10349
|
-
i.value ? (p(), m("span",
|
|
10350
|
-
f("div",
|
|
10351
|
-
f("div",
|
|
10352
|
-
h.slug ? (p(), m("span",
|
|
10310
|
+
f("div", V9, [
|
|
10311
|
+
i.value ? (p(), m("span", B9, x(i.value), 1)) : E("", !0),
|
|
10312
|
+
f("div", R9, [
|
|
10313
|
+
f("div", j9, [
|
|
10314
|
+
h.slug ? (p(), m("span", N9, x(h.slug) + ": ", 1)) : E("", !0),
|
|
10353
10315
|
T(ye, {
|
|
10354
10316
|
id: h.id,
|
|
10355
10317
|
title: h.name,
|
|
@@ -10360,19 +10322,19 @@ const P9 = { class: "ao-card-feed__header" }, V9 = {
|
|
|
10360
10322
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10361
10323
|
])
|
|
10362
10324
|
]),
|
|
10363
|
-
h.deadline ? (p(), m("span",
|
|
10325
|
+
h.deadline ? (p(), m("span", F9, x(l.value), 1)) : E("", !0)
|
|
10364
10326
|
])
|
|
10365
10327
|
]),
|
|
10366
10328
|
footer: W(() => [
|
|
10367
|
-
f("div",
|
|
10368
|
-
f("div",
|
|
10369
|
-
f("ul",
|
|
10329
|
+
f("div", U9, [
|
|
10330
|
+
f("div", Z9, [
|
|
10331
|
+
f("ul", W9, [
|
|
10370
10332
|
(p(!0), m(he, null, _e(r.value, (g) => (p(), m(he, {
|
|
10371
10333
|
key: g.id
|
|
10372
10334
|
}, [
|
|
10373
|
-
g ? (p(), m("li",
|
|
10374
|
-
T(
|
|
10375
|
-
"user-name":
|
|
10335
|
+
g ? (p(), m("li", q9, [
|
|
10336
|
+
T(et, {
|
|
10337
|
+
"user-name": J(zn)(g),
|
|
10376
10338
|
"avatar-url": g.avatarUrl,
|
|
10377
10339
|
"is-closable": !0,
|
|
10378
10340
|
onClose: () => c(g.id)
|
|
@@ -10380,31 +10342,31 @@ const P9 = { class: "ao-card-feed__header" }, V9 = {
|
|
|
10380
10342
|
])) : E("", !0)
|
|
10381
10343
|
], 64))), 128))
|
|
10382
10344
|
]),
|
|
10383
|
-
h.comments || h.attachments ? (p(), m("ul",
|
|
10384
|
-
h.comments ? (p(), m("li",
|
|
10345
|
+
h.comments || h.attachments ? (p(), m("ul", z9, [
|
|
10346
|
+
h.comments ? (p(), m("li", x9, [
|
|
10385
10347
|
T(pe, {
|
|
10386
10348
|
name: "ChatOutline",
|
|
10387
10349
|
size: "sm"
|
|
10388
10350
|
}),
|
|
10389
|
-
f("span",
|
|
10351
|
+
f("span", Y9, x(h.comments), 1)
|
|
10390
10352
|
])) : E("", !0),
|
|
10391
|
-
h.attachments ? (p(), m("li",
|
|
10353
|
+
h.attachments ? (p(), m("li", K9, [
|
|
10392
10354
|
T(pe, {
|
|
10393
10355
|
name: "AttachFileRounded",
|
|
10394
10356
|
size: "sm"
|
|
10395
10357
|
}),
|
|
10396
|
-
f("span",
|
|
10358
|
+
f("span", G9, x(h.attachments), 1)
|
|
10397
10359
|
])) : E("", !0)
|
|
10398
10360
|
])) : E("", !0)
|
|
10399
10361
|
]),
|
|
10400
|
-
f("div",
|
|
10401
|
-
h.tasks && h.tasks.length ? (p(), m("div",
|
|
10402
|
-
f("div",
|
|
10362
|
+
f("div", X9, [
|
|
10363
|
+
h.tasks && h.tasks.length ? (p(), m("div", Q9, [
|
|
10364
|
+
f("div", J9, [
|
|
10403
10365
|
T(pe, {
|
|
10404
10366
|
name: "SelectCheckBox",
|
|
10405
10367
|
size: "sm"
|
|
10406
10368
|
}),
|
|
10407
|
-
f("span",
|
|
10369
|
+
f("span", e4, x(v.value) + " / " + x(u.value), 1)
|
|
10408
10370
|
]),
|
|
10409
10371
|
T(Ws, {
|
|
10410
10372
|
percentages: d.value,
|
|
@@ -10425,8 +10387,8 @@ const P9 = { class: "ao-card-feed__header" }, V9 = {
|
|
|
10425
10387
|
*/
|
|
10426
10388
|
function wt(t) {
|
|
10427
10389
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10428
|
-
/#/.test(t) ? e =
|
|
10429
|
-
const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } =
|
|
10390
|
+
/#/.test(t) ? e = a4(t) : /rgb/.test(t) ? e = An(t) : typeof t == "string" ? e = An(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10391
|
+
const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } = s4(e);
|
|
10430
10392
|
return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10431
10393
|
}
|
|
10432
10394
|
function qs(t) {
|
|
@@ -10437,11 +10399,11 @@ function $s(t, e, a, s, n, o) {
|
|
|
10437
10399
|
const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
|
|
10438
10400
|
r.addColorStop(0.01, n), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, s);
|
|
10439
10401
|
}
|
|
10440
|
-
function
|
|
10402
|
+
function t4({ r: t, g: e, b: a }, s) {
|
|
10441
10403
|
const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
|
|
10442
10404
|
return s ? o.toUpperCase() : o;
|
|
10443
10405
|
}
|
|
10444
|
-
function
|
|
10406
|
+
function a4(t) {
|
|
10445
10407
|
t = t.slice(1);
|
|
10446
10408
|
const e = (a) => parseInt(a, 16) || 0;
|
|
10447
10409
|
return {
|
|
@@ -10458,7 +10420,7 @@ function An(t) {
|
|
|
10458
10420
|
a: Number(t[3] ? t[3] : 1)
|
|
10459
10421
|
}) : t;
|
|
10460
10422
|
}
|
|
10461
|
-
function
|
|
10423
|
+
function s4({ r: t, g: e, b: a }) {
|
|
10462
10424
|
t = t / 255, e = e / 255, a = a / 255;
|
|
10463
10425
|
const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
|
|
10464
10426
|
let i = 0;
|
|
@@ -10466,7 +10428,7 @@ function i4({ r: t, g: e, b: a }) {
|
|
|
10466
10428
|
let r = parseFloat((s === 0 ? 0 : 1 - n / s).toFixed(2)), l = parseFloat(s.toFixed(2));
|
|
10467
10429
|
return { h: i, s: r, v: l };
|
|
10468
10430
|
}
|
|
10469
|
-
var zs =
|
|
10431
|
+
var zs = Y({
|
|
10470
10432
|
props: {
|
|
10471
10433
|
color: {
|
|
10472
10434
|
type: String,
|
|
@@ -10525,8 +10487,8 @@ var zs = x({
|
|
|
10525
10487
|
}
|
|
10526
10488
|
}
|
|
10527
10489
|
});
|
|
10528
|
-
const
|
|
10529
|
-
function
|
|
10490
|
+
const n4 = { ref: "canvasSaturation" };
|
|
10491
|
+
function i4(t, e, a, s, n, o) {
|
|
10530
10492
|
return p(), P(
|
|
10531
10493
|
"div",
|
|
10532
10494
|
{
|
|
@@ -10536,7 +10498,7 @@ function r4(t, e, a, s, n, o) {
|
|
|
10536
10498
|
[
|
|
10537
10499
|
T(
|
|
10538
10500
|
"canvas",
|
|
10539
|
-
|
|
10501
|
+
n4,
|
|
10540
10502
|
null,
|
|
10541
10503
|
512
|
|
10542
10504
|
/* NEED_PATCH */
|
|
@@ -10556,9 +10518,9 @@ function r4(t, e, a, s, n, o) {
|
|
|
10556
10518
|
/* HYDRATE_EVENTS */
|
|
10557
10519
|
);
|
|
10558
10520
|
}
|
|
10559
|
-
zs.render =
|
|
10521
|
+
zs.render = i4;
|
|
10560
10522
|
zs.__file = "src/color/Saturation.vue";
|
|
10561
|
-
var xs =
|
|
10523
|
+
var xs = Y({
|
|
10562
10524
|
props: {
|
|
10563
10525
|
hsv: {
|
|
10564
10526
|
type: Object,
|
|
@@ -10611,8 +10573,8 @@ var xs = x({
|
|
|
10611
10573
|
}
|
|
10612
10574
|
}
|
|
10613
10575
|
});
|
|
10614
|
-
const
|
|
10615
|
-
function
|
|
10576
|
+
const o4 = { ref: "canvasHue" };
|
|
10577
|
+
function r4(t, e, a, s, n, o) {
|
|
10616
10578
|
return p(), P(
|
|
10617
10579
|
"div",
|
|
10618
10580
|
{
|
|
@@ -10622,7 +10584,7 @@ function u4(t, e, a, s, n, o) {
|
|
|
10622
10584
|
[
|
|
10623
10585
|
T(
|
|
10624
10586
|
"canvas",
|
|
10625
|
-
|
|
10587
|
+
o4,
|
|
10626
10588
|
null,
|
|
10627
10589
|
512
|
|
10628
10590
|
/* NEED_PATCH */
|
|
@@ -10642,9 +10604,9 @@ function u4(t, e, a, s, n, o) {
|
|
|
10642
10604
|
/* HYDRATE_EVENTS */
|
|
10643
10605
|
);
|
|
10644
10606
|
}
|
|
10645
|
-
xs.render =
|
|
10607
|
+
xs.render = r4;
|
|
10646
10608
|
xs.__file = "src/color/Hue.vue";
|
|
10647
|
-
var Ys =
|
|
10609
|
+
var Ys = Y({
|
|
10648
10610
|
props: {
|
|
10649
10611
|
color: {
|
|
10650
10612
|
type: String,
|
|
@@ -10706,8 +10668,8 @@ var Ys = x({
|
|
|
10706
10668
|
}
|
|
10707
10669
|
}
|
|
10708
10670
|
});
|
|
10709
|
-
const
|
|
10710
|
-
function
|
|
10671
|
+
const l4 = { ref: "canvasAlpha" };
|
|
10672
|
+
function u4(t, e, a, s, n, o) {
|
|
10711
10673
|
return p(), P(
|
|
10712
10674
|
"div",
|
|
10713
10675
|
{
|
|
@@ -10717,7 +10679,7 @@ function d4(t, e, a, s, n, o) {
|
|
|
10717
10679
|
[
|
|
10718
10680
|
T(
|
|
10719
10681
|
"canvas",
|
|
10720
|
-
|
|
10682
|
+
l4,
|
|
10721
10683
|
null,
|
|
10722
10684
|
512
|
|
10723
10685
|
/* NEED_PATCH */
|
|
@@ -10737,9 +10699,9 @@ function d4(t, e, a, s, n, o) {
|
|
|
10737
10699
|
/* HYDRATE_EVENTS */
|
|
10738
10700
|
);
|
|
10739
10701
|
}
|
|
10740
|
-
Ys.render =
|
|
10702
|
+
Ys.render = u4;
|
|
10741
10703
|
Ys.__file = "src/color/Alpha.vue";
|
|
10742
|
-
var Ks =
|
|
10704
|
+
var Ks = Y({
|
|
10743
10705
|
props: {
|
|
10744
10706
|
color: {
|
|
10745
10707
|
type: String,
|
|
@@ -10774,12 +10736,12 @@ var Ks = x({
|
|
|
10774
10736
|
}
|
|
10775
10737
|
}
|
|
10776
10738
|
});
|
|
10777
|
-
function
|
|
10739
|
+
function c4(t, e, a, s, n, o) {
|
|
10778
10740
|
return p(), P("canvas");
|
|
10779
10741
|
}
|
|
10780
|
-
Ks.render =
|
|
10742
|
+
Ks.render = c4;
|
|
10781
10743
|
Ks.__file = "src/color/Preview.vue";
|
|
10782
|
-
var Gs =
|
|
10744
|
+
var Gs = Y({
|
|
10783
10745
|
props: {
|
|
10784
10746
|
suckerCanvas: {
|
|
10785
10747
|
type: Object,
|
|
@@ -10840,19 +10802,19 @@ var Gs = x({
|
|
|
10840
10802
|
}
|
|
10841
10803
|
}
|
|
10842
10804
|
});
|
|
10843
|
-
const
|
|
10805
|
+
const d4 = /* @__PURE__ */ T(
|
|
10844
10806
|
"path",
|
|
10845
10807
|
{ 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" },
|
|
10846
10808
|
null,
|
|
10847
10809
|
-1
|
|
10848
10810
|
/* HOISTED */
|
|
10849
|
-
),
|
|
10811
|
+
), p4 = {
|
|
10850
10812
|
key: 1,
|
|
10851
10813
|
class: "sucker",
|
|
10852
10814
|
viewBox: "-16 -16 68 68",
|
|
10853
10815
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10854
10816
|
stroke: "#9099a4"
|
|
10855
|
-
},
|
|
10817
|
+
}, v4 = /* @__PURE__ */ T(
|
|
10856
10818
|
"g",
|
|
10857
10819
|
{
|
|
10858
10820
|
fill: "none",
|
|
@@ -10884,7 +10846,7 @@ const v4 = /* @__PURE__ */ T(
|
|
|
10884
10846
|
-1
|
|
10885
10847
|
/* HOISTED */
|
|
10886
10848
|
);
|
|
10887
|
-
function
|
|
10849
|
+
function f4(t, e, a, s, n, o) {
|
|
10888
10850
|
return p(), P("div", null, [
|
|
10889
10851
|
t.isSucking ? E("v-if", !0) : (p(), P(
|
|
10890
10852
|
"svg",
|
|
@@ -10896,19 +10858,19 @@ function m4(t, e, a, s, n, o) {
|
|
|
10896
10858
|
onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
|
|
10897
10859
|
},
|
|
10898
10860
|
[
|
|
10899
|
-
|
|
10861
|
+
d4
|
|
10900
10862
|
],
|
|
10901
10863
|
2
|
|
10902
10864
|
/* CLASS */
|
|
10903
10865
|
)),
|
|
10904
|
-
t.isSucking ? (p(), P("svg",
|
|
10905
|
-
|
|
10866
|
+
t.isSucking ? (p(), P("svg", p4, [
|
|
10867
|
+
v4
|
|
10906
10868
|
])) : E("v-if", !0)
|
|
10907
10869
|
]);
|
|
10908
10870
|
}
|
|
10909
|
-
Gs.render =
|
|
10871
|
+
Gs.render = f4;
|
|
10910
10872
|
Gs.__file = "src/color/Sucker.vue";
|
|
10911
|
-
var Xs =
|
|
10873
|
+
var Xs = Y({
|
|
10912
10874
|
props: {
|
|
10913
10875
|
name: {
|
|
10914
10876
|
type: String,
|
|
@@ -10939,17 +10901,17 @@ var Xs = x({
|
|
|
10939
10901
|
};
|
|
10940
10902
|
}
|
|
10941
10903
|
});
|
|
10942
|
-
const
|
|
10943
|
-
function
|
|
10944
|
-
return p(), P("div",
|
|
10904
|
+
const h4 = { class: "color-type" }, m4 = { class: "name" };
|
|
10905
|
+
function C4(t, e, a, s, n, o) {
|
|
10906
|
+
return p(), P("div", h4, [
|
|
10945
10907
|
T(
|
|
10946
10908
|
"span",
|
|
10947
|
-
|
|
10948
|
-
|
|
10909
|
+
m4,
|
|
10910
|
+
x(t.name),
|
|
10949
10911
|
1
|
|
10950
10912
|
/* TEXT */
|
|
10951
10913
|
),
|
|
10952
|
-
|
|
10914
|
+
Ue(T(
|
|
10953
10915
|
"input",
|
|
10954
10916
|
{
|
|
10955
10917
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -10961,13 +10923,13 @@ function _4(t, e, a, s, n, o) {
|
|
|
10961
10923
|
544
|
|
10962
10924
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
10963
10925
|
), [
|
|
10964
|
-
[
|
|
10926
|
+
[Ge, t.modelColor]
|
|
10965
10927
|
])
|
|
10966
10928
|
]);
|
|
10967
10929
|
}
|
|
10968
|
-
Xs.render =
|
|
10930
|
+
Xs.render = C4;
|
|
10969
10931
|
Xs.__file = "src/color/Box.vue";
|
|
10970
|
-
var Qs =
|
|
10932
|
+
var Qs = Y({
|
|
10971
10933
|
name: "ColorPicker",
|
|
10972
10934
|
props: {
|
|
10973
10935
|
color: {
|
|
@@ -11007,13 +10969,13 @@ var Qs = x({
|
|
|
11007
10969
|
};
|
|
11008
10970
|
}
|
|
11009
10971
|
});
|
|
11010
|
-
const
|
|
10972
|
+
const g4 = { class: "colors" }, _4 = {
|
|
11011
10973
|
key: 0,
|
|
11012
10974
|
class: "colors history"
|
|
11013
10975
|
};
|
|
11014
|
-
function
|
|
10976
|
+
function y4(t, e, a, s, n, o) {
|
|
11015
10977
|
return p(), P("div", null, [
|
|
11016
|
-
T("ul",
|
|
10978
|
+
T("ul", g4, [
|
|
11017
10979
|
(p(!0), P(
|
|
11018
10980
|
he,
|
|
11019
10981
|
null,
|
|
@@ -11047,7 +11009,7 @@ function w4(t, e, a, s, n, o) {
|
|
|
11047
11009
|
/* KEYED_FRAGMENT */
|
|
11048
11010
|
))
|
|
11049
11011
|
]),
|
|
11050
|
-
t.colorsHistory.length ? (p(), P("ul",
|
|
11012
|
+
t.colorsHistory.length ? (p(), P("ul", _4, [
|
|
11051
11013
|
(p(!0), P(
|
|
11052
11014
|
he,
|
|
11053
11015
|
null,
|
|
@@ -11083,9 +11045,9 @@ function w4(t, e, a, s, n, o) {
|
|
|
11083
11045
|
])) : E("v-if", !0)
|
|
11084
11046
|
]);
|
|
11085
11047
|
}
|
|
11086
|
-
Qs.render =
|
|
11048
|
+
Qs.render = y4;
|
|
11087
11049
|
Qs.__file = "src/color/Colors.vue";
|
|
11088
|
-
var Rt =
|
|
11050
|
+
var Rt = Y({
|
|
11089
11051
|
components: {
|
|
11090
11052
|
Saturation: zs,
|
|
11091
11053
|
Hue: xs,
|
|
@@ -11194,7 +11156,7 @@ var Rt = x({
|
|
|
11194
11156
|
return `rgba(${this.rgbaStringShort})`;
|
|
11195
11157
|
},
|
|
11196
11158
|
hexString() {
|
|
11197
|
-
return
|
|
11159
|
+
return t4(this.rgba, !0);
|
|
11198
11160
|
}
|
|
11199
11161
|
},
|
|
11200
11162
|
created() {
|
|
@@ -11258,9 +11220,9 @@ var Rt = x({
|
|
|
11258
11220
|
}
|
|
11259
11221
|
}
|
|
11260
11222
|
});
|
|
11261
|
-
const
|
|
11262
|
-
function
|
|
11263
|
-
const i =
|
|
11223
|
+
const b4 = { class: "color-set" };
|
|
11224
|
+
function w4(t, e, a, s, n, o) {
|
|
11225
|
+
const i = Ke("Saturation"), r = Ke("Hue"), l = Ke("Alpha"), c = Ke("Preview"), u = Ke("Sucker"), v = Ke("Box"), d = Ke("Colors");
|
|
11264
11226
|
return p(), P(
|
|
11265
11227
|
"div",
|
|
11266
11228
|
{
|
|
@@ -11268,7 +11230,7 @@ function k4(t, e, a, s, n, o) {
|
|
|
11268
11230
|
style: { width: t.totalWidth + "px" }
|
|
11269
11231
|
},
|
|
11270
11232
|
[
|
|
11271
|
-
T("div",
|
|
11233
|
+
T("div", b4, [
|
|
11272
11234
|
T(i, {
|
|
11273
11235
|
ref: "saturation",
|
|
11274
11236
|
color: t.rgbString,
|
|
@@ -11342,12 +11304,12 @@ function k4(t, e, a, s, n, o) {
|
|
|
11342
11304
|
/* CLASS, STYLE */
|
|
11343
11305
|
);
|
|
11344
11306
|
}
|
|
11345
|
-
Rt.render =
|
|
11307
|
+
Rt.render = w4;
|
|
11346
11308
|
Rt.__file = "src/color/ColorPicker.vue";
|
|
11347
11309
|
Rt.install = (t) => {
|
|
11348
11310
|
t.component(Rt.name, Rt);
|
|
11349
11311
|
};
|
|
11350
|
-
const
|
|
11312
|
+
const $4 = {
|
|
11351
11313
|
props: {
|
|
11352
11314
|
color: {
|
|
11353
11315
|
type: String,
|
|
@@ -11371,10 +11333,10 @@ const S4 = {
|
|
|
11371
11333
|
this.$emit("update:color", o);
|
|
11372
11334
|
}
|
|
11373
11335
|
}
|
|
11374
|
-
},
|
|
11375
|
-
function
|
|
11376
|
-
const i =
|
|
11377
|
-
return p(), m("div",
|
|
11336
|
+
}, k4 = { class: "color-picker-wrapper" };
|
|
11337
|
+
function S4(t, e, a, s, n, o) {
|
|
11338
|
+
const i = Ke("ColorPicker");
|
|
11339
|
+
return p(), m("div", k4, [
|
|
11378
11340
|
f("button", {
|
|
11379
11341
|
style: Ua({ backgroundColor: a.color }),
|
|
11380
11342
|
class: "color-button",
|
|
@@ -11389,13 +11351,13 @@ function M4(t, e, a, s, n, o) {
|
|
|
11389
11351
|
}, null, 8, ["color", "onChangeColor"])) : E("", !0)
|
|
11390
11352
|
]);
|
|
11391
11353
|
}
|
|
11392
|
-
const
|
|
11354
|
+
const A4 = /* @__PURE__ */ N($4, [["render", S4]]), M4 = { class: "ao-project-milestone" }, T4 = { class: "ao-project-milestone__header" }, O4 = { class: "ao-project-milestone__header_line" }, E4 = { class: "ao-project-milestone__header_line" }, I4 = { class: "ao-project-milestone__title" }, L4 = {
|
|
11393
11355
|
key: 0,
|
|
11394
11356
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11395
|
-
},
|
|
11357
|
+
}, H4 = { class: "ao-field__row ao-milestone__field-row" }, D4 = { class: "ao-field ao-field--inline" }, P4 = { class: "ao-field__row ao-milestone__field-row" }, V4 = { class: "ao-field ao-milestone__field-multiselect" }, B4 = { class: "ao-project-milestone__body" }, R4 = {
|
|
11396
11358
|
key: 0,
|
|
11397
11359
|
class: "ao-project-milestone__footer"
|
|
11398
|
-
}, Mn = /* @__PURE__ */
|
|
11360
|
+
}, Mn = /* @__PURE__ */ Y({
|
|
11399
11361
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11400
11362
|
props: {
|
|
11401
11363
|
milestoneId: {},
|
|
@@ -11424,7 +11386,7 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11424
11386
|
return (_ = i.value) == null ? void 0 : _.activities;
|
|
11425
11387
|
});
|
|
11426
11388
|
de(r, (_, C) => {
|
|
11427
|
-
|
|
11389
|
+
Qe(_, C);
|
|
11428
11390
|
});
|
|
11429
11391
|
const l = (_) => {
|
|
11430
11392
|
e("close", _);
|
|
@@ -11499,9 +11461,9 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11499
11461
|
});
|
|
11500
11462
|
return (_, C) => {
|
|
11501
11463
|
var D;
|
|
11502
|
-
return p(), m("div",
|
|
11503
|
-
f("header",
|
|
11504
|
-
f("div",
|
|
11464
|
+
return p(), m("div", M4, [
|
|
11465
|
+
f("header", T4, [
|
|
11466
|
+
f("div", O4, [
|
|
11505
11467
|
T(ue, {
|
|
11506
11468
|
"icon-name": "CloseRounded",
|
|
11507
11469
|
variant: "ghost",
|
|
@@ -11510,8 +11472,8 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11510
11472
|
onClick: l
|
|
11511
11473
|
})
|
|
11512
11474
|
]),
|
|
11513
|
-
f("div",
|
|
11514
|
-
f("div",
|
|
11475
|
+
f("div", E4, [
|
|
11476
|
+
f("div", I4, [
|
|
11515
11477
|
T(ye, {
|
|
11516
11478
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11517
11479
|
level: 5
|
|
@@ -11530,16 +11492,16 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11530
11492
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11531
11493
|
])
|
|
11532
11494
|
]),
|
|
11533
|
-
i.value ? (p(), m("div",
|
|
11534
|
-
f("div",
|
|
11535
|
-
f("label",
|
|
11536
|
-
|
|
11495
|
+
i.value ? (p(), m("div", L4, [
|
|
11496
|
+
f("div", H4, [
|
|
11497
|
+
f("label", D4, [
|
|
11498
|
+
Ue(f("input", {
|
|
11537
11499
|
"onUpdate:modelValue": C[1] || (C[1] = (I) => h.value = I),
|
|
11538
11500
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
11539
11501
|
type: "date"
|
|
11540
11502
|
}, null, 512), [
|
|
11541
11503
|
[
|
|
11542
|
-
|
|
11504
|
+
Ge,
|
|
11543
11505
|
h.value,
|
|
11544
11506
|
void 0,
|
|
11545
11507
|
{ lazy: !0 }
|
|
@@ -11547,9 +11509,9 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11547
11509
|
])
|
|
11548
11510
|
])
|
|
11549
11511
|
]),
|
|
11550
|
-
f("div",
|
|
11551
|
-
f("label",
|
|
11552
|
-
T(
|
|
11512
|
+
f("div", P4, [
|
|
11513
|
+
f("label", V4, [
|
|
11514
|
+
T(ke, {
|
|
11553
11515
|
modelValue: b.value,
|
|
11554
11516
|
"onUpdate:modelValue": C[2] || (C[2] = (I) => b.value = I),
|
|
11555
11517
|
options: g.value,
|
|
@@ -11566,7 +11528,7 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11566
11528
|
option: I,
|
|
11567
11529
|
handleTagRemove: L
|
|
11568
11530
|
}) => [
|
|
11569
|
-
T(
|
|
11531
|
+
T(et, {
|
|
11570
11532
|
"user-name": I.label,
|
|
11571
11533
|
"avatar-url": I.avatar,
|
|
11572
11534
|
"is-closable": !0,
|
|
@@ -11577,14 +11539,14 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11577
11539
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11578
11540
|
])
|
|
11579
11541
|
]),
|
|
11580
|
-
T(
|
|
11542
|
+
T(A4, {
|
|
11581
11543
|
color: d.value,
|
|
11582
11544
|
"onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
|
|
11583
11545
|
}, null, 8, ["color"])
|
|
11584
11546
|
])) : E("", !0)
|
|
11585
11547
|
]),
|
|
11586
|
-
f("div",
|
|
11587
|
-
T(
|
|
11548
|
+
f("div", B4, [
|
|
11549
|
+
T(J(mt), He({
|
|
11588
11550
|
class: "ao-project-milestone__activities",
|
|
11589
11551
|
list: r.value,
|
|
11590
11552
|
disabled: !_.isEditable,
|
|
@@ -11612,7 +11574,7 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11612
11574
|
"is-private": I.private,
|
|
11613
11575
|
"is-closed": w(I),
|
|
11614
11576
|
onClick: (ae) => _.$router.push({
|
|
11615
|
-
name:
|
|
11577
|
+
name: J(Fe).activity,
|
|
11616
11578
|
params: { milestoneId: _.milestoneId, activityId: I.id }
|
|
11617
11579
|
}),
|
|
11618
11580
|
onUpdateActivity: u,
|
|
@@ -11654,7 +11616,7 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11654
11616
|
}),
|
|
11655
11617
|
_: 1
|
|
11656
11618
|
}, 16, ["list", "disabled"]),
|
|
11657
|
-
_.isEditable ? (p(), m("div",
|
|
11619
|
+
_.isEditable ? (p(), m("div", R4, [
|
|
11658
11620
|
T(Ct, {
|
|
11659
11621
|
"icon-name": "Add",
|
|
11660
11622
|
label: _.$t("project.activity.add"),
|
|
@@ -11666,7 +11628,7 @@ const T4 = /* @__PURE__ */ N(S4, [["render", M4]]), O4 = { class: "ao-project-mi
|
|
|
11666
11628
|
};
|
|
11667
11629
|
}
|
|
11668
11630
|
});
|
|
11669
|
-
const
|
|
11631
|
+
const j4 = /* @__PURE__ */ Y({
|
|
11670
11632
|
__name: "AoProjectOverviewActivityDetails",
|
|
11671
11633
|
props: {
|
|
11672
11634
|
phaseId: {},
|
|
@@ -11753,14 +11715,14 @@ const F4 = /* @__PURE__ */ x({
|
|
|
11753
11715
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : E("", !0);
|
|
11754
11716
|
};
|
|
11755
11717
|
}
|
|
11756
|
-
}),
|
|
11718
|
+
}), N4 = { class: "ao-col-header" }, F4 = /* @__PURE__ */ Y({
|
|
11757
11719
|
__name: "AoColHeader",
|
|
11758
11720
|
props: {
|
|
11759
11721
|
title: {},
|
|
11760
11722
|
items: {}
|
|
11761
11723
|
},
|
|
11762
11724
|
setup(t) {
|
|
11763
|
-
return (e, a) => (p(), m("header",
|
|
11725
|
+
return (e, a) => (p(), m("header", N4, [
|
|
11764
11726
|
T(ye, {
|
|
11765
11727
|
title: e.title,
|
|
11766
11728
|
class: "ao-col-header__title",
|
|
@@ -11776,17 +11738,17 @@ const F4 = /* @__PURE__ */ x({
|
|
|
11776
11738
|
]));
|
|
11777
11739
|
}
|
|
11778
11740
|
});
|
|
11779
|
-
function
|
|
11780
|
-
return
|
|
11741
|
+
function U4(t) {
|
|
11742
|
+
return Pi() ? (Vi(t), !0) : !1;
|
|
11781
11743
|
}
|
|
11782
11744
|
function Na(t) {
|
|
11783
|
-
return typeof t == "function" ? t() :
|
|
11745
|
+
return typeof t == "function" ? t() : J(t);
|
|
11784
11746
|
}
|
|
11785
|
-
const
|
|
11747
|
+
const Z4 = typeof window < "u" && typeof document < "u";
|
|
11786
11748
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
11787
|
-
const
|
|
11749
|
+
const W4 = (t) => t != null, oa = () => {
|
|
11788
11750
|
};
|
|
11789
|
-
function
|
|
11751
|
+
function q4(t, e) {
|
|
11790
11752
|
function a(...s) {
|
|
11791
11753
|
return new Promise((n, o) => {
|
|
11792
11754
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -11794,7 +11756,7 @@ function x4(t, e) {
|
|
|
11794
11756
|
}
|
|
11795
11757
|
return a;
|
|
11796
11758
|
}
|
|
11797
|
-
function
|
|
11759
|
+
function z4(t, e = {}) {
|
|
11798
11760
|
let a, s, n = oa;
|
|
11799
11761
|
const o = (r) => {
|
|
11800
11762
|
clearTimeout(r), n(), n = oa;
|
|
@@ -11810,9 +11772,9 @@ function Y4(t, e = {}) {
|
|
|
11810
11772
|
});
|
|
11811
11773
|
};
|
|
11812
11774
|
}
|
|
11813
|
-
function
|
|
11814
|
-
return
|
|
11815
|
-
|
|
11775
|
+
function x4(t, e = 200, a = {}) {
|
|
11776
|
+
return q4(
|
|
11777
|
+
z4(e, a),
|
|
11816
11778
|
t
|
|
11817
11779
|
);
|
|
11818
11780
|
}
|
|
@@ -11821,27 +11783,27 @@ function ms(t) {
|
|
|
11821
11783
|
const a = Na(t);
|
|
11822
11784
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
11823
11785
|
}
|
|
11824
|
-
const
|
|
11825
|
-
function
|
|
11786
|
+
const Y4 = Z4 ? window : void 0;
|
|
11787
|
+
function K4() {
|
|
11826
11788
|
const t = ee(!1), e = Mt();
|
|
11827
11789
|
return e && xt(() => {
|
|
11828
11790
|
t.value = !0;
|
|
11829
11791
|
}, e), t;
|
|
11830
11792
|
}
|
|
11831
|
-
function
|
|
11832
|
-
const e =
|
|
11793
|
+
function G4(t) {
|
|
11794
|
+
const e = K4();
|
|
11833
11795
|
return M(() => (e.value, !!t()));
|
|
11834
11796
|
}
|
|
11835
|
-
function
|
|
11797
|
+
function X4(t, e, a = {}) {
|
|
11836
11798
|
const {
|
|
11837
11799
|
root: s,
|
|
11838
11800
|
rootMargin: n = "0px",
|
|
11839
11801
|
threshold: o = 0.1,
|
|
11840
|
-
window: i =
|
|
11802
|
+
window: i = Y4,
|
|
11841
11803
|
immediate: r = !0
|
|
11842
|
-
} = a, l =
|
|
11804
|
+
} = a, l = G4(() => i && "IntersectionObserver" in i), c = M(() => {
|
|
11843
11805
|
const w = Na(t);
|
|
11844
|
-
return (Array.isArray(w) ? w : [w]).map(ms).filter(
|
|
11806
|
+
return (Array.isArray(w) ? w : [w]).map(ms).filter(W4);
|
|
11845
11807
|
});
|
|
11846
11808
|
let u = oa;
|
|
11847
11809
|
const v = ee(r), d = l.value ? de(
|
|
@@ -11865,7 +11827,7 @@ function J4(t, e, a = {}) {
|
|
|
11865
11827
|
) : oa, h = () => {
|
|
11866
11828
|
u(), d(), v.value = !1;
|
|
11867
11829
|
};
|
|
11868
|
-
return
|
|
11830
|
+
return U4(h), {
|
|
11869
11831
|
isSupported: l,
|
|
11870
11832
|
isActive: v,
|
|
11871
11833
|
pause() {
|
|
@@ -11877,24 +11839,24 @@ function J4(t, e, a = {}) {
|
|
|
11877
11839
|
stop: h
|
|
11878
11840
|
};
|
|
11879
11841
|
}
|
|
11880
|
-
const
|
|
11842
|
+
const Q4 = {
|
|
11881
11843
|
class: /* @__PURE__ */ G(["ao-list-kanban"])
|
|
11882
|
-
},
|
|
11844
|
+
}, J4 = { class: "ao-list-kanban__header" }, e8 = {
|
|
11883
11845
|
key: 0,
|
|
11884
11846
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
11885
|
-
},
|
|
11847
|
+
}, t8 = {
|
|
11886
11848
|
key: 1,
|
|
11887
11849
|
class: "ao-list-kanban__end"
|
|
11888
|
-
},
|
|
11850
|
+
}, a8 = {
|
|
11889
11851
|
key: 0,
|
|
11890
11852
|
class: "ao-list-kanban__no-more"
|
|
11891
|
-
},
|
|
11853
|
+
}, s8 = {
|
|
11892
11854
|
key: 1,
|
|
11893
11855
|
class: "ao-list-kanban__divider"
|
|
11894
|
-
},
|
|
11856
|
+
}, n8 = {
|
|
11895
11857
|
key: 1,
|
|
11896
11858
|
class: "ao-list-kanban__footer"
|
|
11897
|
-
},
|
|
11859
|
+
}, i8 = /* @__PURE__ */ Y({
|
|
11898
11860
|
__name: "AoListKanban",
|
|
11899
11861
|
props: {
|
|
11900
11862
|
list: {},
|
|
@@ -11912,7 +11874,7 @@ const e8 = {
|
|
|
11912
11874
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
11913
11875
|
setup(t, { emit: e }) {
|
|
11914
11876
|
const a = t, s = ee(!1), n = ee(null);
|
|
11915
|
-
|
|
11877
|
+
X4(n, ([{ isIntersecting: u }]) => {
|
|
11916
11878
|
s.value = u;
|
|
11917
11879
|
}), de(s, (u) => {
|
|
11918
11880
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -11937,12 +11899,12 @@ const e8 = {
|
|
|
11937
11899
|
)
|
|
11938
11900
|
});
|
|
11939
11901
|
}, c = ee(!1);
|
|
11940
|
-
return (u, v) => (p(), m("div",
|
|
11902
|
+
return (u, v) => (p(), m("div", Q4, [
|
|
11941
11903
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
11942
11904
|
var d;
|
|
11943
11905
|
return [
|
|
11944
|
-
f("div",
|
|
11945
|
-
u.title ? (p(), P(
|
|
11906
|
+
f("div", J4, [
|
|
11907
|
+
u.title ? (p(), P(F4, {
|
|
11946
11908
|
key: 0,
|
|
11947
11909
|
title: u.title,
|
|
11948
11910
|
level: 3,
|
|
@@ -11951,7 +11913,7 @@ const e8 = {
|
|
|
11951
11913
|
])
|
|
11952
11914
|
];
|
|
11953
11915
|
}) : E("", !0),
|
|
11954
|
-
T(
|
|
11916
|
+
T(J(mt), He({
|
|
11955
11917
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11956
11918
|
list: u.list,
|
|
11957
11919
|
"item-key": "id",
|
|
@@ -12028,20 +11990,20 @@ const e8 = {
|
|
|
12028
11990
|
];
|
|
12029
11991
|
}),
|
|
12030
11992
|
footer: W(() => [
|
|
12031
|
-
u.isLoading ? (p(), m("div",
|
|
11993
|
+
u.isLoading ? (p(), m("div", e8, [
|
|
12032
11994
|
T(pe, { name: "Loading" })
|
|
12033
11995
|
])) : u.hasMore ? (p(), m("div", {
|
|
12034
11996
|
key: 2,
|
|
12035
11997
|
ref_key: "scrollEnd",
|
|
12036
11998
|
ref: n,
|
|
12037
11999
|
class: "ao-list-kanban__end"
|
|
12038
|
-
}, null, 512)) : (p(), m("div",
|
|
12039
|
-
u.noMoreLabel ? (p(), m("span",
|
|
12000
|
+
}, null, 512)) : (p(), m("div", t8, [
|
|
12001
|
+
u.noMoreLabel ? (p(), m("span", a8, x(u.noMoreLabel), 1)) : u.isEditable ? (p(), m("span", s8)) : E("", !0)
|
|
12040
12002
|
]))
|
|
12041
12003
|
]),
|
|
12042
12004
|
_: 1
|
|
12043
12005
|
}, 16, ["class", "list", "disabled"]),
|
|
12044
|
-
u.$slots.footer || u.footerLabel ? (p(), m("div",
|
|
12006
|
+
u.$slots.footer || u.footerLabel ? (p(), m("div", n8, [
|
|
12045
12007
|
te(u.$slots, "footer", {}, () => [
|
|
12046
12008
|
u.isEditable ? (p(), P(Ct, {
|
|
12047
12009
|
key: 0,
|
|
@@ -12054,7 +12016,7 @@ const e8 = {
|
|
|
12054
12016
|
]));
|
|
12055
12017
|
}
|
|
12056
12018
|
});
|
|
12057
|
-
const
|
|
12019
|
+
const o8 = { class: "ao-field ao-search-field" }, r8 = ["value", "placeholder", "onKeypress"], l8 = /* @__PURE__ */ Y({
|
|
12058
12020
|
__name: "AoSearchField",
|
|
12059
12021
|
props: {
|
|
12060
12022
|
modelValue: {},
|
|
@@ -12066,19 +12028,19 @@ const l8 = { class: "ao-field ao-search-field" }, u8 = ["value", "placeholder",
|
|
|
12066
12028
|
const a = t, s = async (i) => {
|
|
12067
12029
|
const l = i.target.value;
|
|
12068
12030
|
e("update:modelValue", l, i);
|
|
12069
|
-
}, n =
|
|
12031
|
+
}, n = x4(s, a.delay), o = (i) => {
|
|
12070
12032
|
e("clear", i);
|
|
12071
12033
|
};
|
|
12072
|
-
return (i, r) => (p(), m("div",
|
|
12034
|
+
return (i, r) => (p(), m("div", o8, [
|
|
12073
12035
|
f("input", {
|
|
12074
12036
|
value: i.modelValue,
|
|
12075
12037
|
type: "text",
|
|
12076
12038
|
class: "ao-field__input ao-search-field__input",
|
|
12077
12039
|
placeholder: i.placeholder,
|
|
12078
12040
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
12079
|
-
(...l) =>
|
|
12041
|
+
(...l) => J(n) && J(n)(...l)),
|
|
12080
12042
|
onKeypress: dt(s, ["enter"])
|
|
12081
|
-
}, null, 40,
|
|
12043
|
+
}, null, 40, r8),
|
|
12082
12044
|
T(pe, {
|
|
12083
12045
|
name: "SearchRounded",
|
|
12084
12046
|
class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12094,7 +12056,7 @@ const l8 = { class: "ao-field ao-search-field" }, u8 = ["value", "placeholder",
|
|
|
12094
12056
|
]));
|
|
12095
12057
|
}
|
|
12096
12058
|
});
|
|
12097
|
-
const
|
|
12059
|
+
const u8 = { class: "ao-feed" }, c8 = { class: "ao-feed__filters" }, d8 = { class: "ao-feed__body" }, p8 = /* @__PURE__ */ Y({
|
|
12098
12060
|
__name: "AoFeed",
|
|
12099
12061
|
props: {
|
|
12100
12062
|
activities: {},
|
|
@@ -12128,16 +12090,16 @@ const d8 = { class: "ao-feed" }, p8 = { class: "ao-feed__filters" }, v8 = { clas
|
|
|
12128
12090
|
de(
|
|
12129
12091
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12130
12092
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12131
|
-
async ([O, k, F, V], [
|
|
12093
|
+
async ([O, k, F, V], [ie, y]) => {
|
|
12132
12094
|
r.value = Object.fromEntries(
|
|
12133
12095
|
O.map((R) => [
|
|
12134
12096
|
R.id,
|
|
12135
12097
|
k.filter((le) => {
|
|
12136
|
-
var
|
|
12137
|
-
return ((
|
|
12098
|
+
var oe;
|
|
12099
|
+
return ((oe = le.status) == null ? void 0 : oe.id) === R.id;
|
|
12138
12100
|
})
|
|
12139
12101
|
])
|
|
12140
|
-
), F && !l.value ? (i(F, null), l.value = !0) : V && !l.value && (i(null, V), l.value = !0), c.value &&
|
|
12102
|
+
), F && !l.value ? (i(F, null), l.value = !0) : V && !l.value && (i(null, V), l.value = !0), c.value && Qe(k, y);
|
|
12141
12103
|
},
|
|
12142
12104
|
{ immediate: !0 }
|
|
12143
12105
|
);
|
|
@@ -12146,12 +12108,12 @@ const d8 = { class: "ao-feed" }, p8 = { class: "ao-feed__filters" }, v8 = { clas
|
|
|
12146
12108
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12147
12109
|
}), d = (O) => {
|
|
12148
12110
|
var y, R;
|
|
12149
|
-
const k = (y = a.activities) == null ? void 0 : y.at(-1), F = k ?
|
|
12111
|
+
const k = (y = a.activities) == null ? void 0 : y.at(-1), F = k ? we.LexoRank.parse(k.rank).genNext() : we.LexoRank.middle(), V = ((R = a.activities) == null ? void 0 : R.length) ?? 0, ie = {
|
|
12150
12112
|
name: s("activity.defaultName", { idx: V + 1 }),
|
|
12151
12113
|
rank: F.format(),
|
|
12152
12114
|
statusId: O.id
|
|
12153
12115
|
};
|
|
12154
|
-
a.filters.assigneeId.length > 0 && (
|
|
12116
|
+
a.filters.assigneeId.length > 0 && (ie.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (ie.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (ie.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", ie);
|
|
12155
12117
|
}, h = (O, k) => {
|
|
12156
12118
|
c.value = !1, e("update:filters", { ...a.filters, [O]: k });
|
|
12157
12119
|
}, w = M(
|
|
@@ -12196,77 +12158,77 @@ const d8 = { class: "ao-feed" }, p8 = { class: "ao-feed__filters" }, v8 = { clas
|
|
|
12196
12158
|
...O,
|
|
12197
12159
|
activityId: a.selectedActivity.id
|
|
12198
12160
|
});
|
|
12199
|
-
},
|
|
12161
|
+
}, se = (O) => {
|
|
12200
12162
|
const { id: k } = a.selectedActivity || {};
|
|
12201
12163
|
k && e("updateComment", O);
|
|
12202
|
-
},
|
|
12164
|
+
}, Q = (O) => {
|
|
12203
12165
|
const { id: k } = a.selectedActivity || {};
|
|
12204
12166
|
k && e("removeComment", O);
|
|
12205
12167
|
};
|
|
12206
12168
|
return (O, k) => {
|
|
12207
12169
|
var F;
|
|
12208
|
-
return p(), m("div",
|
|
12170
|
+
return p(), m("div", u8, [
|
|
12209
12171
|
T(Ga, null, {
|
|
12210
12172
|
primary: W(() => [
|
|
12211
|
-
f("div",
|
|
12173
|
+
f("div", c8, [
|
|
12212
12174
|
a.project ? (p(), P(ci, {
|
|
12213
12175
|
key: 0,
|
|
12214
12176
|
"is-left": !1,
|
|
12215
12177
|
"right-label": O.$t("project.switch.feed"),
|
|
12216
12178
|
"left-label": O.$t("project.switch.overview"),
|
|
12217
12179
|
"onUpdate:isLeft": k[0] || (k[0] = (V) => {
|
|
12218
|
-
V && O.$router.push({ name:
|
|
12180
|
+
V && O.$router.push({ name: J(Fe).project });
|
|
12219
12181
|
})
|
|
12220
12182
|
}, null, 8, ["right-label", "left-label"])) : E("", !0),
|
|
12221
|
-
T(
|
|
12183
|
+
T(l8, {
|
|
12222
12184
|
"model-value": O.searchText,
|
|
12223
12185
|
placeholder: O.$t("feed.search.placeholder"),
|
|
12224
12186
|
class: "ao-feed__search",
|
|
12225
12187
|
"onUpdate:modelValue": L,
|
|
12226
12188
|
onClear: U
|
|
12227
12189
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12228
|
-
a.project ? E("", !0) : (p(), P(
|
|
12190
|
+
a.project ? E("", !0) : (p(), P(ke, {
|
|
12229
12191
|
key: 1,
|
|
12230
|
-
"model-value": O.filters[
|
|
12192
|
+
"model-value": O.filters[J(Lt).project],
|
|
12231
12193
|
mode: "tags",
|
|
12232
12194
|
options: g.value,
|
|
12233
12195
|
"close-on-select": !1,
|
|
12234
12196
|
searchable: !0,
|
|
12235
12197
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12236
12198
|
placeholder: O.$t("feed.filters.project.placeholder"),
|
|
12237
|
-
"onUpdate:modelValue": k[1] || (k[1] = (V) => h(
|
|
12199
|
+
"onUpdate:modelValue": k[1] || (k[1] = (V) => h(J(Lt).project, V))
|
|
12238
12200
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12239
|
-
b.value ? (p(), P(
|
|
12201
|
+
b.value ? (p(), P(ke, {
|
|
12240
12202
|
key: 2,
|
|
12241
|
-
"model-value": O.filters[
|
|
12203
|
+
"model-value": O.filters[J(Lt).type],
|
|
12242
12204
|
mode: "tags",
|
|
12243
12205
|
options: b.value,
|
|
12244
12206
|
"close-on-select": !1,
|
|
12245
12207
|
searchable: !0,
|
|
12246
12208
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12247
12209
|
placeholder: O.$t("feed.filters.activityType.placeholder"),
|
|
12248
|
-
"onUpdate:modelValue": k[2] || (k[2] = (V) => h(
|
|
12210
|
+
"onUpdate:modelValue": k[2] || (k[2] = (V) => h(J(Lt).type, V))
|
|
12249
12211
|
}, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
|
|
12250
|
-
A.value.length ? (p(), P(
|
|
12212
|
+
A.value.length ? (p(), P(ke, {
|
|
12251
12213
|
key: 3,
|
|
12252
|
-
"model-value": O.filters[
|
|
12214
|
+
"model-value": O.filters[J(Lt).assignee],
|
|
12253
12215
|
mode: "tags",
|
|
12254
12216
|
options: A.value,
|
|
12255
12217
|
"close-on-select": !1,
|
|
12256
12218
|
searchable: !0,
|
|
12257
12219
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12258
12220
|
placeholder: O.$t("feed.filters.assignee.placeholder"),
|
|
12259
|
-
"onUpdate:modelValue": k[3] || (k[3] = (V) => h(
|
|
12221
|
+
"onUpdate:modelValue": k[3] || (k[3] = (V) => h(J(Lt).assignee, V))
|
|
12260
12222
|
}, {
|
|
12261
12223
|
tag: W(({
|
|
12262
12224
|
option: V,
|
|
12263
|
-
handleTagRemove:
|
|
12225
|
+
handleTagRemove: ie
|
|
12264
12226
|
}) => [
|
|
12265
|
-
T(
|
|
12227
|
+
T(et, {
|
|
12266
12228
|
"user-name": V.label,
|
|
12267
12229
|
"avatar-url": V.avatar,
|
|
12268
12230
|
"is-closable": !0,
|
|
12269
|
-
onClose: (y) =>
|
|
12231
|
+
onClose: (y) => ie(V, y)
|
|
12270
12232
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12271
12233
|
]),
|
|
12272
12234
|
_: 1
|
|
@@ -12311,8 +12273,8 @@ const d8 = { class: "ao-feed" }, p8 = { class: "ao-feed__filters" }, v8 = { clas
|
|
|
12311
12273
|
]),
|
|
12312
12274
|
_: 1
|
|
12313
12275
|
}),
|
|
12314
|
-
f("div",
|
|
12315
|
-
(p(!0), m(he, null, _e(O.statuses, (V) => (p(), P(
|
|
12276
|
+
f("div", d8, [
|
|
12277
|
+
(p(!0), m(he, null, _e(O.statuses, (V) => (p(), P(i8, {
|
|
12316
12278
|
key: V.id,
|
|
12317
12279
|
status: V,
|
|
12318
12280
|
list: r.value[V.id],
|
|
@@ -12352,8 +12314,8 @@ const d8 = { class: "ao-feed" }, p8 = { class: "ao-feed__filters" }, v8 = { clas
|
|
|
12352
12314
|
onAddFiles: ae,
|
|
12353
12315
|
onRemoveFile: S,
|
|
12354
12316
|
onAddComment: j,
|
|
12355
|
-
onUpdateComment:
|
|
12356
|
-
onRemoveComment:
|
|
12317
|
+
onUpdateComment: se,
|
|
12318
|
+
onRemoveComment: Q,
|
|
12357
12319
|
onToast: n
|
|
12358
12320
|
}, {
|
|
12359
12321
|
default: W((V) => [
|
|
@@ -12370,7 +12332,7 @@ const Dt = {
|
|
|
12370
12332
|
TEMPLATES: "templates",
|
|
12371
12333
|
TEMPLATE_DETAILS: "template_details",
|
|
12372
12334
|
TEMPLATES_LIST: "templates_list"
|
|
12373
|
-
},
|
|
12335
|
+
}, O8 = (t, e = {}) => [
|
|
12374
12336
|
{
|
|
12375
12337
|
path: t,
|
|
12376
12338
|
name: Dt.TEMPLATES,
|
|
@@ -12380,7 +12342,7 @@ const Dt = {
|
|
|
12380
12342
|
{
|
|
12381
12343
|
path: "",
|
|
12382
12344
|
name: Dt.TEMPLATES_LIST,
|
|
12383
|
-
component:
|
|
12345
|
+
component: f8
|
|
12384
12346
|
},
|
|
12385
12347
|
{
|
|
12386
12348
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12395,7 +12357,7 @@ const Dt = {
|
|
|
12395
12357
|
feed: "AoProjectFeed",
|
|
12396
12358
|
milestone: "AoMilestone",
|
|
12397
12359
|
activity: "AoActivity"
|
|
12398
|
-
},
|
|
12360
|
+
}, E8 = (t, e = {}) => [
|
|
12399
12361
|
{
|
|
12400
12362
|
path: t,
|
|
12401
12363
|
...e,
|
|
@@ -12404,7 +12366,7 @@ const Dt = {
|
|
|
12404
12366
|
{
|
|
12405
12367
|
path: "",
|
|
12406
12368
|
name: Fe.project,
|
|
12407
|
-
component:
|
|
12369
|
+
component: L9,
|
|
12408
12370
|
props: !0,
|
|
12409
12371
|
children: [
|
|
12410
12372
|
{
|
|
@@ -12419,7 +12381,7 @@ const Dt = {
|
|
|
12419
12381
|
props: { default: !0, modal: !0 },
|
|
12420
12382
|
components: {
|
|
12421
12383
|
default: Mn,
|
|
12422
|
-
modal:
|
|
12384
|
+
modal: j4
|
|
12423
12385
|
}
|
|
12424
12386
|
}
|
|
12425
12387
|
]
|
|
@@ -12427,12 +12389,12 @@ const Dt = {
|
|
|
12427
12389
|
{
|
|
12428
12390
|
path: "feed",
|
|
12429
12391
|
name: Fe.feed,
|
|
12430
|
-
component:
|
|
12392
|
+
component: p8,
|
|
12431
12393
|
props: !0
|
|
12432
12394
|
}
|
|
12433
12395
|
]
|
|
12434
12396
|
}
|
|
12435
|
-
],
|
|
12397
|
+
], v8 = { class: "ao-templates" }, f8 = /* @__PURE__ */ Y({
|
|
12436
12398
|
__name: "AoTemplatesList",
|
|
12437
12399
|
props: {
|
|
12438
12400
|
templates: {}
|
|
@@ -12441,11 +12403,11 @@ const Dt = {
|
|
|
12441
12403
|
setup(t, { emit: e }) {
|
|
12442
12404
|
const a = t, { t: s } = Tt();
|
|
12443
12405
|
de(() => a.templates, (r, l) => {
|
|
12444
|
-
|
|
12406
|
+
Qe(r, l);
|
|
12445
12407
|
});
|
|
12446
12408
|
const n = () => {
|
|
12447
12409
|
var v, d;
|
|
12448
|
-
const r = (v = a.templates) == null ? void 0 : v.at(-1), l = r ?
|
|
12410
|
+
const r = (v = a.templates) == null ? void 0 : v.at(-1), l = r ? we.LexoRank.parse(r.rank).genNext() : we.LexoRank.middle(), c = ((d = a.templates) == null ? void 0 : d.length) ?? 0, u = {
|
|
12449
12411
|
name: s("template.defaultName.template", { idx: c + 1 }),
|
|
12450
12412
|
rank: l.format()
|
|
12451
12413
|
};
|
|
@@ -12472,7 +12434,7 @@ const Dt = {
|
|
|
12472
12434
|
});
|
|
12473
12435
|
}
|
|
12474
12436
|
};
|
|
12475
|
-
return (r, l) => (p(), m("div",
|
|
12437
|
+
return (r, l) => (p(), m("div", v8, [
|
|
12476
12438
|
T(Ga, null, {
|
|
12477
12439
|
secondary: W(() => [
|
|
12478
12440
|
T(ue, {
|
|
@@ -12485,7 +12447,7 @@ const Dt = {
|
|
|
12485
12447
|
]),
|
|
12486
12448
|
_: 1
|
|
12487
12449
|
}),
|
|
12488
|
-
T(
|
|
12450
|
+
T(J(mt), {
|
|
12489
12451
|
"model-value": r.templates,
|
|
12490
12452
|
class: "ao-templates__list",
|
|
12491
12453
|
"item-key": "id",
|
|
@@ -12499,13 +12461,13 @@ const Dt = {
|
|
|
12499
12461
|
id: c.id,
|
|
12500
12462
|
title: c.name,
|
|
12501
12463
|
phases: c.phases,
|
|
12502
|
-
milestones: (u = c.phases) != null && u.length ?
|
|
12503
|
-
activities: c.phases ?
|
|
12464
|
+
milestones: (u = c.phases) != null && u.length ? J(S3)(c.phases) : 0,
|
|
12465
|
+
activities: c.phases ? J(A3)(c.phases) : 0,
|
|
12504
12466
|
"updated-at": c.updatedAt,
|
|
12505
12467
|
"updated-by": c.updatedBy,
|
|
12506
12468
|
onUpdateTitle: (v) => o(c.id, v),
|
|
12507
12469
|
onClick: (v) => r.$router.push({
|
|
12508
|
-
name:
|
|
12470
|
+
name: J(Dt).TEMPLATE_DETAILS,
|
|
12509
12471
|
params: { templateId: c.id }
|
|
12510
12472
|
})
|
|
12511
12473
|
}, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
@@ -12516,7 +12478,53 @@ const Dt = {
|
|
|
12516
12478
|
]));
|
|
12517
12479
|
}
|
|
12518
12480
|
});
|
|
12519
|
-
const
|
|
12481
|
+
const h8 = { class: "ao-field__label" }, m8 = /* @__PURE__ */ Y({
|
|
12482
|
+
__name: "AoField",
|
|
12483
|
+
props: {
|
|
12484
|
+
label: {},
|
|
12485
|
+
isMultiselect: { type: Boolean, default: !1 }
|
|
12486
|
+
},
|
|
12487
|
+
setup(t) {
|
|
12488
|
+
return (e, a) => (p(), m("label", {
|
|
12489
|
+
class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12490
|
+
}, [
|
|
12491
|
+
f("span", h8, x(e.label), 1),
|
|
12492
|
+
te(e.$slots, "default")
|
|
12493
|
+
], 2));
|
|
12494
|
+
}
|
|
12495
|
+
}), C8 = ["type", "value", "disabled", "readonly"], I8 = /* @__PURE__ */ Y({
|
|
12496
|
+
__name: "AoInputField",
|
|
12497
|
+
props: {
|
|
12498
|
+
label: { default: "" },
|
|
12499
|
+
type: { default: "text" },
|
|
12500
|
+
modelValue: { default: "" },
|
|
12501
|
+
modelModifiers: { default: () => ({}) },
|
|
12502
|
+
isDisabled: { type: Boolean, default: !1 },
|
|
12503
|
+
isReadonly: { type: Boolean, default: !1 }
|
|
12504
|
+
},
|
|
12505
|
+
emits: ["update:modelValue"],
|
|
12506
|
+
setup(t, { emit: e }) {
|
|
12507
|
+
const a = t, s = M(
|
|
12508
|
+
() => a.modelModifiers.lazy ? "change" : "input"
|
|
12509
|
+
), n = (o) => {
|
|
12510
|
+
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12511
|
+
};
|
|
12512
|
+
return (o, i) => (p(), P(m8, { label: o.label }, {
|
|
12513
|
+
default: W(() => [
|
|
12514
|
+
f("input", He({
|
|
12515
|
+
class: "ao-field__input",
|
|
12516
|
+
type: o.type,
|
|
12517
|
+
value: o.modelValue,
|
|
12518
|
+
disabled: o.isDisabled,
|
|
12519
|
+
readonly: o.isReadonly
|
|
12520
|
+
}, {
|
|
12521
|
+
[Bi(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
|
|
12522
|
+
}), null, 16, C8)
|
|
12523
|
+
]),
|
|
12524
|
+
_: 1
|
|
12525
|
+
}, 8, ["label"]));
|
|
12526
|
+
}
|
|
12527
|
+
}), g8 = { class: "ao-field" }, _8 = { class: "ao-field__label" }, y8 = ["checked", "disabled"], L8 = /* @__PURE__ */ Y({
|
|
12520
12528
|
__name: "AoCheckboxField",
|
|
12521
12529
|
props: {
|
|
12522
12530
|
label: { default: "" },
|
|
@@ -12526,8 +12534,8 @@ const C8 = { class: "ao-field" }, g8 = { class: "ao-field__label" }, _8 = ["chec
|
|
|
12526
12534
|
},
|
|
12527
12535
|
emits: ["update:modelValue"],
|
|
12528
12536
|
setup(t) {
|
|
12529
|
-
return (e, a) => (p(), m("label",
|
|
12530
|
-
f("span",
|
|
12537
|
+
return (e, a) => (p(), m("label", g8, [
|
|
12538
|
+
f("span", _8, x(e.label), 1),
|
|
12531
12539
|
f("input", {
|
|
12532
12540
|
class: "ao-field__input",
|
|
12533
12541
|
type: "checkbox",
|
|
@@ -12540,29 +12548,29 @@ const C8 = { class: "ao-field" }, g8 = { class: "ao-field__label" }, _8 = ["chec
|
|
|
12540
12548
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12541
12549
|
);
|
|
12542
12550
|
})
|
|
12543
|
-
}, null, 40,
|
|
12551
|
+
}, null, 40, y8)
|
|
12544
12552
|
]));
|
|
12545
12553
|
}
|
|
12546
12554
|
});
|
|
12547
12555
|
export {
|
|
12548
|
-
|
|
12556
|
+
et as AoAvatar,
|
|
12549
12557
|
di as AoCardFeed,
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12558
|
+
L8 as AoCheckboxField,
|
|
12559
|
+
p8 as AoFeed,
|
|
12560
|
+
m8 as AoField,
|
|
12561
|
+
I8 as AoInputField,
|
|
12562
|
+
ke as AoMultiselect,
|
|
12555
12563
|
f9 as AoProjectPhases,
|
|
12556
12564
|
Mf as AoTemplateDetails,
|
|
12557
|
-
|
|
12558
|
-
|
|
12565
|
+
S8 as AoTemplates,
|
|
12566
|
+
f8 as AoTemplatesList,
|
|
12559
12567
|
F2 as TemplateItemTypeEnum,
|
|
12560
|
-
|
|
12561
|
-
|
|
12568
|
+
M8 as activityFeedStatus,
|
|
12569
|
+
A8 as durationTypes,
|
|
12562
12570
|
Lt as feedFilterTypes,
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12571
|
+
E8 as getProjectOverviewRoutes,
|
|
12572
|
+
O8 as getTemplateRoutes,
|
|
12573
|
+
T8 as listUpdateTypes,
|
|
12566
12574
|
Cs as milestoneStatus,
|
|
12567
12575
|
Fe as projectOverviewRoutes,
|
|
12568
12576
|
R2 as ruleComparators,
|