@26lights/orcha 0.13.1 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +192 -195
- package/dist/orcha.umd.js +2 -2
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, openBlock as v, createBlock as N, unref as F, mergeProps as Ve, createElementBlock as h, createElementVNode as f, pushScopeId as
|
|
1
|
+
import { defineComponent as G, openBlock as v, createBlock as N, unref as F, mergeProps as Ve, createElementBlock as h, createElementVNode as f, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as b, resolveDynamicComponent as tt, normalizeClass as x, renderSlot as te, toDisplayString as z, createCommentVNode as T, ref as J, watch as re, nextTick as Ee, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as A, normalizeStyle as ra, withModifiers as _e, createSlots as t1, Fragment as fe, renderList as ye, onMounted as Dt, onBeforeUnmount as dn, onUnmounted as ua, toRefs as $e, getCurrentInstance as at, toRef as dt, normalizeProps as fn, guardReactiveProps as vn, onUpdated as pn, withDirectives as ft, vModelText as Et, vModelCheckbox as hn, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
|
|
2
2
|
import { RouterView as yn } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
4
|
const Y4 = /* @__PURE__ */ G({
|
|
@@ -617,7 +617,7 @@ function ql(a, e) {
|
|
|
617
617
|
const Wl = /* @__PURE__ */ B(Ul, [["render", ql]]), zl = G({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
|
-
const T1 = (a) => (
|
|
620
|
+
const T1 = (a) => (ln("data-v-ad6da4a9"), a = a(), rn(), a), Yl = {
|
|
621
621
|
width: "24",
|
|
622
622
|
height: "24",
|
|
623
623
|
viewBox: "0 0 24 24",
|
|
@@ -832,7 +832,7 @@ const C2 = /* @__PURE__ */ B(f2, [["render", m2]]), _2 = {}, g2 = {
|
|
|
832
832
|
viewBox: "0 0 26 29",
|
|
833
833
|
fill: "none",
|
|
834
834
|
xmlns: "http://www.w3.org/2000/svg"
|
|
835
|
-
}, y2 = /* @__PURE__ */
|
|
835
|
+
}, y2 = /* @__PURE__ */ un('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), b2 = [
|
|
836
836
|
y2
|
|
837
837
|
];
|
|
838
838
|
function w2(a, e) {
|
|
@@ -1131,10 +1131,10 @@ const Ju = /* @__PURE__ */ B(Ku, [["render", Qu]]), ec = /* @__PURE__ */ Object.
|
|
|
1131
1131
|
PRIMARY: "primary",
|
|
1132
1132
|
NEUTRAL: "neutral",
|
|
1133
1133
|
BLACK: "black"
|
|
1134
|
-
},
|
|
1134
|
+
}, ca = {
|
|
1135
1135
|
ROUND: "round",
|
|
1136
1136
|
ROUNDED: "rounded"
|
|
1137
|
-
},
|
|
1137
|
+
}, de = /* @__PURE__ */ G({
|
|
1138
1138
|
__name: "AoIcon",
|
|
1139
1139
|
props: {
|
|
1140
1140
|
name: {},
|
|
@@ -1150,7 +1150,7 @@ const Ju = /* @__PURE__ */ B(Ku, [["render", Qu]]), ec = /* @__PURE__ */ Object.
|
|
|
1150
1150
|
const nc = ["type"], sc = {
|
|
1151
1151
|
key: 0,
|
|
1152
1152
|
class: "ao-button__label"
|
|
1153
|
-
},
|
|
1153
|
+
}, ce = /* @__PURE__ */ G({
|
|
1154
1154
|
__name: "AoButton",
|
|
1155
1155
|
props: {
|
|
1156
1156
|
label: { default: () => "" },
|
|
@@ -1162,7 +1162,7 @@ const nc = ["type"], sc = {
|
|
|
1162
1162
|
footer: { type: Boolean, default: () => !1 },
|
|
1163
1163
|
size: { default: () => a1.MD },
|
|
1164
1164
|
isLoading: { type: Boolean, default: () => !1 },
|
|
1165
|
-
corners: { default: () =>
|
|
1165
|
+
corners: { default: () => ca.ROUNDED }
|
|
1166
1166
|
},
|
|
1167
1167
|
setup(a) {
|
|
1168
1168
|
const e = a, t = b(() => e.size), s = b(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -1182,7 +1182,7 @@ const nc = ["type"], sc = {
|
|
|
1182
1182
|
te(n.$slots, "default", {}, () => [
|
|
1183
1183
|
n.label ? (v(), h("span", sc, z(n.label), 1)) : T("", !0)
|
|
1184
1184
|
]),
|
|
1185
|
-
s.value ? (v(), N(
|
|
1185
|
+
s.value ? (v(), N(de, {
|
|
1186
1186
|
key: 0,
|
|
1187
1187
|
name: s.value,
|
|
1188
1188
|
class: "ao-button__icon",
|
|
@@ -1191,7 +1191,7 @@ const nc = ["type"], sc = {
|
|
|
1191
1191
|
], 10, nc));
|
|
1192
1192
|
}
|
|
1193
1193
|
});
|
|
1194
|
-
function
|
|
1194
|
+
function da(a) {
|
|
1195
1195
|
const e = J(!1), t = J(""), s = b(() => "value" in a.value ? "value" : "innerHTML"), n = () => {
|
|
1196
1196
|
e.value = !e.value;
|
|
1197
1197
|
}, o = (r) => {
|
|
@@ -1232,7 +1232,7 @@ const me = /* @__PURE__ */ G({
|
|
|
1232
1232
|
},
|
|
1233
1233
|
emits: ["update:title", "toggle-is-editing"],
|
|
1234
1234
|
setup(a, { emit: e }) {
|
|
1235
|
-
const t = a, s = J(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } =
|
|
1235
|
+
const t = a, s = J(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = da(s), r = b(() => n.value ? "input" : t.tag || `h${t.level}`), c = b(() => t.isEditable ? n.value ? {
|
|
1236
1236
|
change: u,
|
|
1237
1237
|
click: (M) => M.stopPropagation(),
|
|
1238
1238
|
blur: p
|
|
@@ -1272,7 +1272,7 @@ const me = /* @__PURE__ */ G({
|
|
|
1272
1272
|
value: F(n) ? M.title : null,
|
|
1273
1273
|
tabindex: "0",
|
|
1274
1274
|
onKeyup: Ye(C, ["enter"])
|
|
1275
|
-
},
|
|
1275
|
+
}, cn(c.value), {
|
|
1276
1276
|
onKeydown: Ye(F(d), ["esc"])
|
|
1277
1277
|
}), {
|
|
1278
1278
|
default: j(() => [
|
|
@@ -1303,7 +1303,7 @@ const ic = {
|
|
|
1303
1303
|
}, vc = {
|
|
1304
1304
|
key: 3,
|
|
1305
1305
|
class: "ao-card-horiz__secondary"
|
|
1306
|
-
},
|
|
1306
|
+
}, fa = /* @__PURE__ */ G({
|
|
1307
1307
|
__name: "AoCardHoriz",
|
|
1308
1308
|
props: {
|
|
1309
1309
|
id: {},
|
|
@@ -1325,14 +1325,14 @@ const ic = {
|
|
|
1325
1325
|
}, {
|
|
1326
1326
|
default: j(() => [
|
|
1327
1327
|
s.isDraggable ? (v(), h("div", ic, [
|
|
1328
|
-
A(
|
|
1328
|
+
A(de, {
|
|
1329
1329
|
name: "DragIndicator",
|
|
1330
1330
|
class: "ao-card-horiz__drag-handle"
|
|
1331
1331
|
})
|
|
1332
1332
|
])) : T("", !0),
|
|
1333
1333
|
f("div", oc, [
|
|
1334
1334
|
s.icon ? (v(), h("div", lc, [
|
|
1335
|
-
A(
|
|
1335
|
+
A(de, {
|
|
1336
1336
|
class: "ao-card-horiz__icon",
|
|
1337
1337
|
name: s.icon,
|
|
1338
1338
|
size: "xl"
|
|
@@ -1407,7 +1407,7 @@ const E1 = /* @__PURE__ */ G({
|
|
|
1407
1407
|
class: "ao-tag__close",
|
|
1408
1408
|
onClick: o[1] || (o[1] = (i) => n.$emit("close", i))
|
|
1409
1409
|
}, [
|
|
1410
|
-
A(
|
|
1410
|
+
A(de, {
|
|
1411
1411
|
name: "CloseRounded",
|
|
1412
1412
|
size: "sm",
|
|
1413
1413
|
class: "ao-tag__close-icon"
|
|
@@ -1493,11 +1493,11 @@ function yc(a) {
|
|
|
1493
1493
|
var e = new Date(Date.UTC(a.getFullYear(), a.getMonth(), a.getDate(), a.getHours(), a.getMinutes(), a.getSeconds(), a.getMilliseconds()));
|
|
1494
1494
|
return e.setUTCFullYear(a.getFullYear()), a.getTime() - e.getTime();
|
|
1495
1495
|
}
|
|
1496
|
-
var
|
|
1496
|
+
var va = 6e4, pa = 36e5;
|
|
1497
1497
|
function bc(a) {
|
|
1498
1498
|
return ge(1, arguments), a instanceof Date || Yt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
|
|
1499
1499
|
}
|
|
1500
|
-
function
|
|
1500
|
+
function ha(a) {
|
|
1501
1501
|
if (ge(1, arguments), !bc(a) && typeof a != "number")
|
|
1502
1502
|
return !1;
|
|
1503
1503
|
var e = He(a);
|
|
@@ -1521,7 +1521,7 @@ function Kt(a) {
|
|
|
1521
1521
|
var e = 1, t = He(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
|
|
1522
1522
|
return t.setUTCDate(t.getUTCDate() - n), t.setUTCHours(0, 0, 0, 0), t;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function ma(a) {
|
|
1525
1525
|
ge(1, arguments);
|
|
1526
1526
|
var e = He(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
|
|
1527
1527
|
s.setUTCFullYear(t + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
|
|
@@ -1532,7 +1532,7 @@ function Ca(a) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
function kc(a) {
|
|
1534
1534
|
ge(1, arguments);
|
|
1535
|
-
var e =
|
|
1535
|
+
var e = ma(a), t = /* @__PURE__ */ new Date(0);
|
|
1536
1536
|
t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
1537
1537
|
var s = Kt(t);
|
|
1538
1538
|
return s;
|
|
@@ -1552,7 +1552,7 @@ function xt(a, e) {
|
|
|
1552
1552
|
var p = He(a), C = p.getUTCDay(), w = (C < d ? 7 : 0) + C - d;
|
|
1553
1553
|
return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1555
|
+
function Ca(a, e) {
|
|
1556
1556
|
var t, s, n, o, i, l, r, c;
|
|
1557
1557
|
ge(1, arguments);
|
|
1558
1558
|
var u = He(a), d = u.getUTCFullYear(), p = n1(), C = Ke((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
@@ -1568,7 +1568,7 @@ function _a(a, e) {
|
|
|
1568
1568
|
function Tc(a, e) {
|
|
1569
1569
|
var t, s, n, o, i, l, r, c;
|
|
1570
1570
|
ge(1, arguments);
|
|
1571
|
-
var u = n1(), d = Ke((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p =
|
|
1571
|
+
var u = n1(), d = Ke((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = Ca(a, e), C = /* @__PURE__ */ new Date(0);
|
|
1572
1572
|
C.setUTCFullYear(p, 0, d), C.setUTCHours(0, 0, 0, 0);
|
|
1573
1573
|
var w = xt(C, e);
|
|
1574
1574
|
return w;
|
|
@@ -1681,7 +1681,7 @@ var ct = {
|
|
|
1681
1681
|
},
|
|
1682
1682
|
// Local week-numbering year
|
|
1683
1683
|
Y: function(e, t, s, n) {
|
|
1684
|
-
var o =
|
|
1684
|
+
var o = Ca(e, n), i = o > 0 ? o : 1 - o;
|
|
1685
1685
|
if (t === "YY") {
|
|
1686
1686
|
var l = i % 100;
|
|
1687
1687
|
return oe(l, 2);
|
|
@@ -1692,7 +1692,7 @@ var ct = {
|
|
|
1692
1692
|
},
|
|
1693
1693
|
// ISO week-numbering year
|
|
1694
1694
|
R: function(e, t) {
|
|
1695
|
-
var s =
|
|
1695
|
+
var s = ma(e);
|
|
1696
1696
|
return oe(s, t.length);
|
|
1697
1697
|
},
|
|
1698
1698
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -2222,7 +2222,7 @@ var Q1 = function(e, t) {
|
|
|
2222
2222
|
width: "full"
|
|
2223
2223
|
});
|
|
2224
2224
|
}
|
|
2225
|
-
},
|
|
2225
|
+
}, _a = function(e, t) {
|
|
2226
2226
|
switch (e) {
|
|
2227
2227
|
case "p":
|
|
2228
2228
|
return t.time({
|
|
@@ -2270,9 +2270,9 @@ var Q1 = function(e, t) {
|
|
|
2270
2270
|
});
|
|
2271
2271
|
break;
|
|
2272
2272
|
}
|
|
2273
|
-
return i.replace("{{date}}", Q1(n, t)).replace("{{time}}",
|
|
2273
|
+
return i.replace("{{date}}", Q1(n, t)).replace("{{time}}", _a(o, t));
|
|
2274
2274
|
}, Hc = {
|
|
2275
|
-
p:
|
|
2275
|
+
p: _a,
|
|
2276
2276
|
P: Dc
|
|
2277
2277
|
};
|
|
2278
2278
|
const Pc = Hc;
|
|
@@ -2698,7 +2698,7 @@ function Od(a, e, t) {
|
|
|
2698
2698
|
if (!X.formatLong)
|
|
2699
2699
|
throw new RangeError("locale must contain formatLong property");
|
|
2700
2700
|
var ee = He(a);
|
|
2701
|
-
if (!
|
|
2701
|
+
if (!ha(ee))
|
|
2702
2702
|
throw new RangeError("Invalid time value");
|
|
2703
2703
|
var y = yc(ee), k = wc(ee, y), P = {
|
|
2704
2704
|
firstWeekContainsDate: ae,
|
|
@@ -2806,7 +2806,7 @@ function Ud(a) {
|
|
|
2806
2806
|
if (!e)
|
|
2807
2807
|
return NaN;
|
|
2808
2808
|
var t = w1(e[1]), s = w1(e[2]), n = w1(e[3]);
|
|
2809
|
-
return Yd(t, s, n) ? t *
|
|
2809
|
+
return Yd(t, s, n) ? t * pa + s * va + n * 1e3 : NaN;
|
|
2810
2810
|
}
|
|
2811
2811
|
function w1(a) {
|
|
2812
2812
|
return a && parseFloat(a.replace(",", ".")) || 0;
|
|
@@ -2818,7 +2818,7 @@ function jd(a) {
|
|
|
2818
2818
|
if (!e)
|
|
2819
2819
|
return 0;
|
|
2820
2820
|
var t = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
|
|
2821
|
-
return Kd(s, n) ? t * (s *
|
|
2821
|
+
return Kd(s, n) ? t * (s * pa + n * va) : NaN;
|
|
2822
2822
|
}
|
|
2823
2823
|
function Zd(a, e, t) {
|
|
2824
2824
|
var s = /* @__PURE__ */ new Date(0);
|
|
@@ -2827,14 +2827,14 @@ function Zd(a, e, t) {
|
|
|
2827
2827
|
return s.setUTCDate(s.getUTCDate() + o), s;
|
|
2828
2828
|
}
|
|
2829
2829
|
var Fd = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2830
|
-
function
|
|
2830
|
+
function ga(a) {
|
|
2831
2831
|
return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
|
|
2832
2832
|
}
|
|
2833
2833
|
function qd(a, e, t) {
|
|
2834
|
-
return e >= 0 && e <= 11 && t >= 1 && t <= (Fd[e] || (
|
|
2834
|
+
return e >= 0 && e <= 11 && t >= 1 && t <= (Fd[e] || (ga(a) ? 29 : 28));
|
|
2835
2835
|
}
|
|
2836
2836
|
function Wd(a, e) {
|
|
2837
|
-
return e >= 1 && e <= (
|
|
2837
|
+
return e >= 1 && e <= (ga(a) ? 366 : 365);
|
|
2838
2838
|
}
|
|
2839
2839
|
function zd(a, e, t) {
|
|
2840
2840
|
return e >= 1 && e <= 53 && t >= 0 && t <= 6;
|
|
@@ -2845,7 +2845,7 @@ function Yd(a, e, t) {
|
|
|
2845
2845
|
function Kd(a, e) {
|
|
2846
2846
|
return e >= 0 && e <= 59;
|
|
2847
2847
|
}
|
|
2848
|
-
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ae = {},
|
|
2848
|
+
var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ae = {}, ya = {}, kt = {}, Ht = {}, Ct = {}, s1 = {};
|
|
2849
2849
|
Object.defineProperty(s1, "__esModule", { value: !0 });
|
|
2850
2850
|
s1.lexoHelper = void 0;
|
|
2851
2851
|
s1.lexoHelper = {
|
|
@@ -3193,11 +3193,11 @@ class Me {
|
|
|
3193
3193
|
}
|
|
3194
3194
|
Ht.LexoDecimal = Me;
|
|
3195
3195
|
var Wt = {}, ea;
|
|
3196
|
-
function
|
|
3196
|
+
function ba() {
|
|
3197
3197
|
if (ea)
|
|
3198
3198
|
return Wt;
|
|
3199
3199
|
ea = 1, Object.defineProperty(Wt, "__esModule", { value: !0 });
|
|
3200
|
-
const a = Ct, e =
|
|
3200
|
+
const a = Ct, e = $a();
|
|
3201
3201
|
class t {
|
|
3202
3202
|
constructor(n) {
|
|
3203
3203
|
this.value = a.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3250,8 +3250,8 @@ function wa() {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
return Wt.default = t, Wt;
|
|
3252
3252
|
}
|
|
3253
|
-
var I1 = {},
|
|
3254
|
-
Object.defineProperty(
|
|
3253
|
+
var I1 = {}, wa = {};
|
|
3254
|
+
Object.defineProperty(wa, "__esModule", { value: !0 });
|
|
3255
3255
|
var i1 = {};
|
|
3256
3256
|
Object.defineProperty(i1, "__esModule", { value: !0 });
|
|
3257
3257
|
i1.LexoNumeralSystem10 = void 0;
|
|
@@ -3359,14 +3359,14 @@ l1.LexoNumeralSystem64 = t3;
|
|
|
3359
3359
|
for (var o in s)
|
|
3360
3360
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3361
3361
|
};
|
|
3362
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(
|
|
3362
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(wa, a), t(i1, a), t(o1, a), t(l1, a);
|
|
3363
3363
|
})(I1);
|
|
3364
3364
|
var ta;
|
|
3365
|
-
function
|
|
3365
|
+
function $a() {
|
|
3366
3366
|
if (ta)
|
|
3367
3367
|
return kt;
|
|
3368
3368
|
ta = 1, Object.defineProperty(kt, "__esModule", { value: !0 }), kt.LexoRank = void 0;
|
|
3369
|
-
const a = Ht, e =
|
|
3369
|
+
const a = Ht, e = ba(), t = Pt, s = I1;
|
|
3370
3370
|
class n {
|
|
3371
3371
|
constructor(i, l) {
|
|
3372
3372
|
this.value = i.format() + "|" + n.formatDecimal(l), this.bucket = i, this.decimal = l;
|
|
@@ -3552,8 +3552,8 @@ function Ma() {
|
|
|
3552
3552
|
for (var o in s)
|
|
3553
3553
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3554
3554
|
};
|
|
3555
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(
|
|
3556
|
-
})(
|
|
3555
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t($a(), a), t(ba(), a), t(Ht, a), t(Ct, a);
|
|
3556
|
+
})(ya);
|
|
3557
3557
|
(function(a) {
|
|
3558
3558
|
var e = Se && Se.__createBinding || (Object.create ? function(s, n, o, i) {
|
|
3559
3559
|
i === void 0 && (i = o);
|
|
@@ -3567,9 +3567,9 @@ function Ma() {
|
|
|
3567
3567
|
for (var o in s)
|
|
3568
3568
|
o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
|
|
3569
3569
|
};
|
|
3570
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(
|
|
3570
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(ya, a), t(I1, a);
|
|
3571
3571
|
})(Ae);
|
|
3572
|
-
function
|
|
3572
|
+
function Ma(a) {
|
|
3573
3573
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3574
3574
|
var s;
|
|
3575
3575
|
return e + (((s = t.activities) == null ? void 0 : s.length) ?? 0);
|
|
@@ -3584,7 +3584,7 @@ function a3(a) {
|
|
|
3584
3584
|
function n3(a) {
|
|
3585
3585
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
3586
3586
|
var n;
|
|
3587
|
-
const s = (n = t.milestones) != null && n.length ?
|
|
3587
|
+
const s = (n = t.milestones) != null && n.length ? Ma(t.milestones) : 0;
|
|
3588
3588
|
return e + s;
|
|
3589
3589
|
}, 0)) ?? 0;
|
|
3590
3590
|
}
|
|
@@ -3613,13 +3613,13 @@ function A1(a, e = "dd/MM/yyyy") {
|
|
|
3613
3613
|
if (!a)
|
|
3614
3614
|
return "";
|
|
3615
3615
|
const t = Vd(a);
|
|
3616
|
-
return
|
|
3616
|
+
return ha(t) ? Od(t, e) : "";
|
|
3617
3617
|
}
|
|
3618
|
-
function
|
|
3618
|
+
function ka(a, e) {
|
|
3619
3619
|
return a.status.id === e.id;
|
|
3620
3620
|
}
|
|
3621
3621
|
function i3(a, e) {
|
|
3622
|
-
return !a.activities.some((t) => !
|
|
3622
|
+
return !a.activities.some((t) => !ka(t, e));
|
|
3623
3623
|
}
|
|
3624
3624
|
function o3(a, e) {
|
|
3625
3625
|
return {
|
|
@@ -3643,29 +3643,26 @@ const l3 = ["title"], r3 = {
|
|
|
3643
3643
|
const s = s3(a.userName), n = (o) => {
|
|
3644
3644
|
e("close", o);
|
|
3645
3645
|
};
|
|
3646
|
-
return (o, i) => {
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
}, null, 8, ["onClick"])) : T("", !0)
|
|
3667
|
-
], 10, l3);
|
|
3668
|
-
};
|
|
3646
|
+
return (o, i) => (v(), h("div", {
|
|
3647
|
+
role: "img",
|
|
3648
|
+
class: x(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
|
|
3649
|
+
title: o.userName
|
|
3650
|
+
}, [
|
|
3651
|
+
o.avatarUrl ? T("", !0) : (v(), h("span", r3, z(F(s)), 1)),
|
|
3652
|
+
o.avatarUrl ? (v(), h("img", {
|
|
3653
|
+
key: 1,
|
|
3654
|
+
className: "ao-avatar__image",
|
|
3655
|
+
src: o.avatarUrl
|
|
3656
|
+
}, null, 8, u3)) : T("", !0),
|
|
3657
|
+
o.isClosable ? (v(), N(ce, {
|
|
3658
|
+
key: 2,
|
|
3659
|
+
"icon-name": "CloseRounded",
|
|
3660
|
+
class: "ao-avatar__close",
|
|
3661
|
+
color: "primary",
|
|
3662
|
+
corners: "round",
|
|
3663
|
+
onClick: _e(n, ["stop"])
|
|
3664
|
+
}, null, 8, ["onClick"])) : T("", !0)
|
|
3665
|
+
], 10, l3));
|
|
3669
3666
|
}
|
|
3670
3667
|
});
|
|
3671
3668
|
const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-template__subitem" }, f3 = { class: "ao-card-template__subitem-number" }, v3 = { class: "ao-card-template__subitem" }, p3 = { class: "ao-card-template__subitem" }, h3 = { class: "ao-card-template__body" }, m3 = { class: "ao-card-template__col ao-card-template__col--phases" }, C3 = { class: "ao-card-template__col-title" }, _3 = { class: "ao-card-template__col-label" }, g3 = {
|
|
@@ -3693,7 +3690,7 @@ const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-templ
|
|
|
3693
3690
|
const t = (s) => {
|
|
3694
3691
|
e("updateTitle", s);
|
|
3695
3692
|
};
|
|
3696
|
-
return (s, n) => (v(), N(
|
|
3693
|
+
return (s, n) => (v(), N(fa, {
|
|
3697
3694
|
id: s.id,
|
|
3698
3695
|
title: s.title,
|
|
3699
3696
|
"is-draggable": !0,
|
|
@@ -3702,14 +3699,14 @@ const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-templ
|
|
|
3702
3699
|
subtitle: j(() => [
|
|
3703
3700
|
f("ul", c3, [
|
|
3704
3701
|
f("li", d3, [
|
|
3705
|
-
A(
|
|
3702
|
+
A(de, {
|
|
3706
3703
|
name: "MountainFlagOutlineRounded",
|
|
3707
3704
|
size: "sm"
|
|
3708
3705
|
}),
|
|
3709
3706
|
f("span", f3, z(s.milestones), 1)
|
|
3710
3707
|
]),
|
|
3711
3708
|
f("li", v3, [
|
|
3712
|
-
A(
|
|
3709
|
+
A(de, {
|
|
3713
3710
|
name: "TaskOutlineRounded",
|
|
3714
3711
|
size: "sm"
|
|
3715
3712
|
}),
|
|
@@ -3721,7 +3718,7 @@ const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-templ
|
|
|
3721
3718
|
f("div", h3, [
|
|
3722
3719
|
f("div", m3, [
|
|
3723
3720
|
f("div", C3, [
|
|
3724
|
-
A(
|
|
3721
|
+
A(de, {
|
|
3725
3722
|
name: "WaterfallChartRounded",
|
|
3726
3723
|
size: "sm"
|
|
3727
3724
|
}),
|
|
@@ -3779,7 +3776,7 @@ const I3 = { class: "ao-page-header" }, O3 = { class: "ao-page-header-main" }, L
|
|
|
3779
3776
|
setup(a) {
|
|
3780
3777
|
return (e, t) => (v(), h("header", I3, [
|
|
3781
3778
|
f("div", O3, [
|
|
3782
|
-
e.canGoBack ? (v(), N(
|
|
3779
|
+
e.canGoBack ? (v(), N(ce, {
|
|
3783
3780
|
key: 0,
|
|
3784
3781
|
"icon-name": "ArrowBackRounded",
|
|
3785
3782
|
variant: "ghost",
|
|
@@ -3806,7 +3803,7 @@ const V3 = ["type"], D3 = {
|
|
|
3806
3803
|
color: { default: () => ac.BLACK },
|
|
3807
3804
|
size: { default: () => a1.MD },
|
|
3808
3805
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3809
|
-
corners: { default: () =>
|
|
3806
|
+
corners: { default: () => ca.ROUNDED }
|
|
3810
3807
|
},
|
|
3811
3808
|
setup(a) {
|
|
3812
3809
|
const e = a, t = b(() => e.size), s = b(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3822,7 +3819,7 @@ const V3 = ["type"], D3 = {
|
|
|
3822
3819
|
te(n.$slots, "default", {}, () => [
|
|
3823
3820
|
n.label ? (v(), h("span", D3, z(n.label), 1)) : T("", !0)
|
|
3824
3821
|
]),
|
|
3825
|
-
s.value ? (v(), N(
|
|
3822
|
+
s.value ? (v(), N(de, {
|
|
3826
3823
|
key: 0,
|
|
3827
3824
|
name: s.value,
|
|
3828
3825
|
class: "ao-button-card__icon",
|
|
@@ -3854,12 +3851,12 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
|
|
|
3854
3851
|
}, o = () => {
|
|
3855
3852
|
e("remove");
|
|
3856
3853
|
};
|
|
3857
|
-
return (i, l) => (v(), N(
|
|
3854
|
+
return (i, l) => (v(), N(fa, { "onUpdate:title": t }, {
|
|
3858
3855
|
footer: j(() => [
|
|
3859
3856
|
f("ul", H3, [
|
|
3860
3857
|
(v(), h(fe, null, ye(s, (r) => (v(), h(fe, { key: r }, [
|
|
3861
3858
|
i.$props[r] ? (v(), h("li", P3, [
|
|
3862
|
-
A(
|
|
3859
|
+
A(de, {
|
|
3863
3860
|
name: n[r],
|
|
3864
3861
|
size: "sm"
|
|
3865
3862
|
}, null, 8, ["name"]),
|
|
@@ -3870,7 +3867,7 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
|
|
|
3870
3867
|
]),
|
|
3871
3868
|
secondary: j(() => [
|
|
3872
3869
|
f("div", N3, [
|
|
3873
|
-
A(
|
|
3870
|
+
A(ce, {
|
|
3874
3871
|
"icon-name": "DeleteOutlineRounded",
|
|
3875
3872
|
variant: "ghost",
|
|
3876
3873
|
size: "md",
|
|
@@ -3894,7 +3891,7 @@ const R3 = /* @__PURE__ */ G({
|
|
|
3894
3891
|
const e = a, t = b(() => {
|
|
3895
3892
|
var n;
|
|
3896
3893
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
3897
|
-
}), s = b(() => e.milestones ?
|
|
3894
|
+
}), s = b(() => e.milestones ? Ma(e.milestones) : 0);
|
|
3898
3895
|
return (n, o) => (v(), N(O1, Ve({
|
|
3899
3896
|
id: n.id,
|
|
3900
3897
|
title: n.name,
|
|
@@ -4102,7 +4099,7 @@ const R3 = /* @__PURE__ */ G({
|
|
|
4102
4099
|
f("div", z3, [
|
|
4103
4100
|
f("div", Y3, [
|
|
4104
4101
|
f("div", K3, [
|
|
4105
|
-
A(
|
|
4102
|
+
A(ce, {
|
|
4106
4103
|
"icon-name": "CloseRounded",
|
|
4107
4104
|
variant: "ghost",
|
|
4108
4105
|
color: "primary",
|
|
@@ -4147,18 +4144,18 @@ function u1(a) {
|
|
|
4147
4144
|
function e0(a) {
|
|
4148
4145
|
return a === "x" ? "y" : "x";
|
|
4149
4146
|
}
|
|
4150
|
-
function
|
|
4147
|
+
function Aa(a) {
|
|
4151
4148
|
return a === "y" ? "height" : "width";
|
|
4152
4149
|
}
|
|
4153
4150
|
function D1(a) {
|
|
4154
4151
|
return ["top", "bottom"].includes(ht(a)) ? "y" : "x";
|
|
4155
4152
|
}
|
|
4156
|
-
function
|
|
4153
|
+
function Sa(a) {
|
|
4157
4154
|
return e0(D1(a));
|
|
4158
4155
|
}
|
|
4159
4156
|
function t0(a, e, t) {
|
|
4160
4157
|
t === void 0 && (t = !1);
|
|
4161
|
-
const s = u1(a), n =
|
|
4158
|
+
const s = u1(a), n = Sa(a), o = Aa(n);
|
|
4162
4159
|
let i = n === "x" ? s === (t ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4163
4160
|
return e.reference[o] > e.floating[o] && (i = Xt(i)), [i, Xt(i)];
|
|
4164
4161
|
}
|
|
@@ -4221,7 +4218,7 @@ function aa(a, e, t) {
|
|
|
4221
4218
|
reference: s,
|
|
4222
4219
|
floating: n
|
|
4223
4220
|
} = a;
|
|
4224
|
-
const o = D1(e), i =
|
|
4221
|
+
const o = D1(e), i = Sa(e), l = Aa(i), r = ht(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, d = s.y + s.height / 2 - n.height / 2, p = s[l] / 2 - n[l] / 2;
|
|
4225
4222
|
let C;
|
|
4226
4223
|
switch (r) {
|
|
4227
4224
|
case "top":
|
|
@@ -4328,7 +4325,7 @@ const l0 = async (a, e, t) => {
|
|
|
4328
4325
|
middlewareData: C
|
|
4329
4326
|
};
|
|
4330
4327
|
};
|
|
4331
|
-
async function
|
|
4328
|
+
async function Ta(a, e) {
|
|
4332
4329
|
var t;
|
|
4333
4330
|
e === void 0 && (e = {});
|
|
4334
4331
|
const {
|
|
@@ -4397,7 +4394,7 @@ const r0 = function(a) {
|
|
|
4397
4394
|
return {};
|
|
4398
4395
|
const _ = ht(n), g = ht(l) === l, V = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), R = p || (g || !M ? [Xt(l)] : a0(l));
|
|
4399
4396
|
!p && w !== "none" && R.push(...s0(l, M, w, V));
|
|
4400
|
-
const K = [l, ...R], D = await
|
|
4397
|
+
const K = [l, ...R], D = await Ta(e, S), X = [];
|
|
4401
4398
|
let ae = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4402
4399
|
if (u && X.push(D[_]), d) {
|
|
4403
4400
|
const k = t0(n, i, V);
|
|
@@ -4456,7 +4453,7 @@ const r0 = function(a) {
|
|
|
4456
4453
|
apply: i = () => {
|
|
4457
4454
|
},
|
|
4458
4455
|
...l
|
|
4459
|
-
} = V1(a, e), r = await
|
|
4456
|
+
} = V1(a, e), r = await Ta(e, l), c = ht(t), u = u1(t), d = D1(t) === "y", {
|
|
4460
4457
|
width: p,
|
|
4461
4458
|
height: C
|
|
4462
4459
|
} = s.floating;
|
|
@@ -4490,7 +4487,7 @@ const r0 = function(a) {
|
|
|
4490
4487
|
};
|
|
4491
4488
|
};
|
|
4492
4489
|
function Ge(a) {
|
|
4493
|
-
return
|
|
4490
|
+
return Ea(a) ? (a.nodeName || "").toLowerCase() : "#document";
|
|
4494
4491
|
}
|
|
4495
4492
|
function we(a) {
|
|
4496
4493
|
var e;
|
|
@@ -4498,9 +4495,9 @@ function we(a) {
|
|
|
4498
4495
|
}
|
|
4499
4496
|
function Ze(a) {
|
|
4500
4497
|
var e;
|
|
4501
|
-
return (e = (
|
|
4498
|
+
return (e = (Ea(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4502
4499
|
}
|
|
4503
|
-
function
|
|
4500
|
+
function Ea(a) {
|
|
4504
4501
|
return a instanceof Node || a instanceof we(a).Node;
|
|
4505
4502
|
}
|
|
4506
4503
|
function je(a) {
|
|
@@ -4567,17 +4564,17 @@ function mt(a) {
|
|
|
4567
4564
|
);
|
|
4568
4565
|
return na(e) ? e.host : e;
|
|
4569
4566
|
}
|
|
4570
|
-
function
|
|
4567
|
+
function Ia(a) {
|
|
4571
4568
|
const e = mt(a);
|
|
4572
|
-
return c1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : De(e) && Nt(e) ? e :
|
|
4569
|
+
return c1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : De(e) && Nt(e) ? e : Ia(e);
|
|
4573
4570
|
}
|
|
4574
4571
|
function Vt(a, e, t) {
|
|
4575
4572
|
var s;
|
|
4576
4573
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
4577
|
-
const n =
|
|
4574
|
+
const n = Ia(a), o = n === ((s = a.ownerDocument) == null ? void 0 : s.body), i = we(n);
|
|
4578
4575
|
return o ? e.concat(i, i.visualViewport || [], Nt(n) ? n : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(n, Vt(n));
|
|
4579
4576
|
}
|
|
4580
|
-
function
|
|
4577
|
+
function Oa(a) {
|
|
4581
4578
|
const e = Te(a);
|
|
4582
4579
|
let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4583
4580
|
const n = De(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = Gt(t) !== o || Gt(s) !== i;
|
|
@@ -4598,7 +4595,7 @@ function vt(a) {
|
|
|
4598
4595
|
width: s,
|
|
4599
4596
|
height: n,
|
|
4600
4597
|
$: o
|
|
4601
|
-
} =
|
|
4598
|
+
} = Oa(e);
|
|
4602
4599
|
let i = (o ? Gt(t.width) : t.width) / s, l = (o ? Gt(t.height) : t.height) / n;
|
|
4603
4600
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4604
4601
|
x: i,
|
|
@@ -4606,7 +4603,7 @@ function vt(a) {
|
|
|
4606
4603
|
};
|
|
4607
4604
|
}
|
|
4608
4605
|
const f0 = /* @__PURE__ */ xe(0);
|
|
4609
|
-
function
|
|
4606
|
+
function La(a) {
|
|
4610
4607
|
const e = we(a);
|
|
4611
4608
|
return !P1() || !e.visualViewport ? f0 : {
|
|
4612
4609
|
x: e.visualViewport.offsetLeft,
|
|
@@ -4621,7 +4618,7 @@ function et(a, e, t, s) {
|
|
|
4621
4618
|
const n = a.getBoundingClientRect(), o = B1(a);
|
|
4622
4619
|
let i = xe(1);
|
|
4623
4620
|
e && (s ? je(s) && (i = vt(s)) : i = vt(a));
|
|
4624
|
-
const l = v0(o, t, s) ?
|
|
4621
|
+
const l = v0(o, t, s) ? La(o) : xe(0);
|
|
4625
4622
|
let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, d = n.height / i.y;
|
|
4626
4623
|
if (o) {
|
|
4627
4624
|
const p = we(o), C = s && je(s) ? we(s) : s;
|
|
@@ -4666,12 +4663,12 @@ function p0(a) {
|
|
|
4666
4663
|
function h0(a) {
|
|
4667
4664
|
return Array.from(a.getClientRects());
|
|
4668
4665
|
}
|
|
4669
|
-
function
|
|
4666
|
+
function Va(a) {
|
|
4670
4667
|
return et(Ze(a)).left + d1(a).scrollLeft;
|
|
4671
4668
|
}
|
|
4672
4669
|
function m0(a) {
|
|
4673
4670
|
const e = Ze(a), t = d1(a), s = a.ownerDocument.body, n = ke(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = ke(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4674
|
-
let i = -t.scrollLeft +
|
|
4671
|
+
let i = -t.scrollLeft + Va(a);
|
|
4675
4672
|
const l = -t.scrollTop;
|
|
4676
4673
|
return Te(s).direction === "rtl" && (i += ke(e.clientWidth, s.clientWidth) - n), {
|
|
4677
4674
|
width: n,
|
|
@@ -4713,7 +4710,7 @@ function sa(a, e, t) {
|
|
|
4713
4710
|
else if (je(e))
|
|
4714
4711
|
s = _0(e, t);
|
|
4715
4712
|
else {
|
|
4716
|
-
const n =
|
|
4713
|
+
const n = La(a);
|
|
4717
4714
|
s = {
|
|
4718
4715
|
...e,
|
|
4719
4716
|
x: e.x - n.x,
|
|
@@ -4722,9 +4719,9 @@ function sa(a, e, t) {
|
|
|
4722
4719
|
}
|
|
4723
4720
|
return Qt(s);
|
|
4724
4721
|
}
|
|
4725
|
-
function
|
|
4722
|
+
function Da(a, e) {
|
|
4726
4723
|
const t = mt(a);
|
|
4727
|
-
return t === e || !je(t) || c1(t) ? !1 : Te(t).position === "fixed" ||
|
|
4724
|
+
return t === e || !je(t) || c1(t) ? !1 : Te(t).position === "fixed" || Da(t, e);
|
|
4728
4725
|
}
|
|
4729
4726
|
function g0(a, e) {
|
|
4730
4727
|
const t = e.get(a);
|
|
@@ -4735,7 +4732,7 @@ function g0(a, e) {
|
|
|
4735
4732
|
let i = o ? mt(a) : a;
|
|
4736
4733
|
for (; je(i) && !c1(i); ) {
|
|
4737
4734
|
const l = Te(i), r = H1(i);
|
|
4738
|
-
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Nt(i) && !r &&
|
|
4735
|
+
!r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Nt(i) && !r && Da(a, i)) ? s = s.filter((u) => u !== i) : n = l, i = mt(i);
|
|
4739
4736
|
}
|
|
4740
4737
|
return e.set(a, s), s;
|
|
4741
4738
|
}
|
|
@@ -4758,7 +4755,7 @@ function y0(a) {
|
|
|
4758
4755
|
};
|
|
4759
4756
|
}
|
|
4760
4757
|
function b0(a) {
|
|
4761
|
-
return
|
|
4758
|
+
return Oa(a);
|
|
4762
4759
|
}
|
|
4763
4760
|
function w0(a, e, t) {
|
|
4764
4761
|
const s = De(e), n = Ze(e), o = t === "fixed", i = et(a, !0, o, e);
|
|
@@ -4772,7 +4769,7 @@ function w0(a, e, t) {
|
|
|
4772
4769
|
const c = et(e, !0, o, e);
|
|
4773
4770
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4774
4771
|
} else
|
|
4775
|
-
n && (r.x =
|
|
4772
|
+
n && (r.x = Va(n));
|
|
4776
4773
|
return {
|
|
4777
4774
|
x: i.left + l.scrollLeft - r.x,
|
|
4778
4775
|
y: i.top + l.scrollTop - r.y,
|
|
@@ -4783,7 +4780,7 @@ function w0(a, e, t) {
|
|
|
4783
4780
|
function ia(a, e) {
|
|
4784
4781
|
return !De(a) || Te(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
|
|
4785
4782
|
}
|
|
4786
|
-
function
|
|
4783
|
+
function Ha(a, e) {
|
|
4787
4784
|
const t = we(a);
|
|
4788
4785
|
if (!De(a))
|
|
4789
4786
|
return t;
|
|
@@ -4798,7 +4795,7 @@ const $0 = async function(a) {
|
|
|
4798
4795
|
floating: t,
|
|
4799
4796
|
strategy: s
|
|
4800
4797
|
} = a;
|
|
4801
|
-
const n = this.getOffsetParent ||
|
|
4798
|
+
const n = this.getOffsetParent || Ha, o = this.getDimensions;
|
|
4802
4799
|
return {
|
|
4803
4800
|
reference: w0(e, await n(t), s),
|
|
4804
4801
|
floating: {
|
|
@@ -4815,7 +4812,7 @@ const k0 = {
|
|
|
4815
4812
|
convertOffsetParentRelativeRectToViewportRelativeRect: p0,
|
|
4816
4813
|
getDocumentElement: Ze,
|
|
4817
4814
|
getClippingRect: y0,
|
|
4818
|
-
getOffsetParent:
|
|
4815
|
+
getOffsetParent: Ha,
|
|
4819
4816
|
getElementRects: $0,
|
|
4820
4817
|
getClientRects: h0,
|
|
4821
4818
|
getDimensions: b0,
|
|
@@ -4974,9 +4971,9 @@ const T0 = (a, e, t) => {
|
|
|
4974
4971
|
}
|
|
4975
4972
|
Dt(() => {
|
|
4976
4973
|
c();
|
|
4977
|
-
}),
|
|
4974
|
+
}), dn(() => {
|
|
4978
4975
|
l.value();
|
|
4979
|
-
}),
|
|
4976
|
+
}), ua(() => {
|
|
4980
4977
|
l.value();
|
|
4981
4978
|
});
|
|
4982
4979
|
};
|
|
@@ -5096,7 +5093,7 @@ function P0(a, e, t) {
|
|
|
5096
5093
|
disabledProp: $,
|
|
5097
5094
|
searchStart: Y,
|
|
5098
5095
|
searchFilter: he
|
|
5099
|
-
} = $e(a), W = at().proxy, Z = t.iv, E = t.ev, U = t.search, Ce = t.clearSearch, Pe = t.update,
|
|
5096
|
+
} = $e(a), W = at().proxy, Z = t.iv, E = t.ev, U = t.search, Ce = t.clearSearch, Pe = t.update, Na = t.pointer, st = t.clearPointer, Ra = t.focus, Ua = t.deactivate, it = t.close, ja = t.localize, gt = J([]), Fe = J([]), Ie = J(!1), f1 = J(null), v1 = J(le.value && i.value === -1 ? 10 : i.value), j1 = b(() => r.value || c.value || !1), Za = b(() => d.value !== void 0 ? d.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
|
|
5100
5097
|
if (ue.value) {
|
|
5101
5098
|
let m = Rt.value || /* istanbul ignore next */
|
|
5102
5099
|
[], H = [];
|
|
@@ -5126,7 +5123,7 @@ function P0(a, e, t) {
|
|
|
5126
5123
|
[ie.value]: [...gt.value],
|
|
5127
5124
|
__CREATE__: !0
|
|
5128
5125
|
}), m.concat(H);
|
|
5129
|
-
}),
|
|
5126
|
+
}), Fa = b(() => {
|
|
5130
5127
|
let m = [...Rt.value].map((H) => ({ ...H }));
|
|
5131
5128
|
return ot.value.length && (m[0] && m[0].__CREATE__ ? m[0][ie.value] = [...ot.value, ...m[0][ie.value]] : m = [{
|
|
5132
5129
|
[ae.value]: " ",
|
|
@@ -5136,8 +5133,8 @@ function P0(a, e, t) {
|
|
|
5136
5133
|
}), F1 = b(() => {
|
|
5137
5134
|
if (!ue.value)
|
|
5138
5135
|
return [];
|
|
5139
|
-
let m =
|
|
5140
|
-
return
|
|
5136
|
+
let m = Fa.value;
|
|
5137
|
+
return sn((m || /* istanbul ignore next */
|
|
5141
5138
|
[]).map((H, se) => {
|
|
5142
5139
|
const ve = g1(H[ie.value]);
|
|
5143
5140
|
return {
|
|
@@ -5156,12 +5153,12 @@ function P0(a, e, t) {
|
|
|
5156
5153
|
case "tags":
|
|
5157
5154
|
return !Le(Z.value) && Z.value.length > 0;
|
|
5158
5155
|
}
|
|
5159
|
-
}),
|
|
5156
|
+
}), qa = b(() => C !== void 0 && C.value !== void 0 ? C.value(Z.value, W) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), Wa = b(() => !qe.value.length && !Ie.value && !ot.value.length), za = b(() => qe.value.length > 0 && yt.value.length == 0 && (U.value && ue.value || !ue.value)), ot = b(() => j1.value === !1 || !U.value ? [] : tn(U.value) !== -1 ? [] : [{
|
|
5160
5157
|
[D.value]: U.value,
|
|
5161
5158
|
[Oe.value]: U.value,
|
|
5162
5159
|
[u.value]: U.value,
|
|
5163
5160
|
__CREATE__: !0
|
|
5164
|
-
}]), Oe = b(() => o.value || u.value),
|
|
5161
|
+
}]), Oe = b(() => o.value || u.value), Ya = b(() => {
|
|
5165
5162
|
switch (n.value) {
|
|
5166
5163
|
case "single":
|
|
5167
5164
|
return null;
|
|
@@ -5169,7 +5166,7 @@ function P0(a, e, t) {
|
|
|
5169
5166
|
case "tags":
|
|
5170
5167
|
return [];
|
|
5171
5168
|
}
|
|
5172
|
-
}),
|
|
5169
|
+
}), Ka = b(() => M.value || Ie.value), lt = (m) => {
|
|
5173
5170
|
switch (typeof m != "object" && (m = Ne(m)), n.value) {
|
|
5174
5171
|
case "single":
|
|
5175
5172
|
Pe(m);
|
|
@@ -5193,17 +5190,17 @@ function P0(a, e, t) {
|
|
|
5193
5190
|
e.emit("deselect", q1(m), m, W);
|
|
5194
5191
|
}, q1 = (m) => w.value ? m : m[D.value], W1 = (m) => {
|
|
5195
5192
|
rt(m);
|
|
5196
|
-
},
|
|
5193
|
+
}, xa = (m, H) => {
|
|
5197
5194
|
if (H.button !== 0) {
|
|
5198
5195
|
H.preventDefault();
|
|
5199
5196
|
return;
|
|
5200
5197
|
}
|
|
5201
5198
|
W1(m);
|
|
5202
5199
|
}, z1 = () => {
|
|
5203
|
-
e.emit("clear", W), Pe(
|
|
5200
|
+
e.emit("clear", W), Pe(Ya.value);
|
|
5204
5201
|
}, Be = (m) => {
|
|
5205
5202
|
if (m.group !== void 0)
|
|
5206
|
-
return n.value === "single" ? !1 :
|
|
5203
|
+
return n.value === "single" ? !1 : en(m[ie.value]) && m[ie.value].length;
|
|
5207
5204
|
switch (n.value) {
|
|
5208
5205
|
case "single":
|
|
5209
5206
|
return !Le(Z.value) && Z.value[D.value] == m[D.value];
|
|
@@ -5211,7 +5208,7 @@ function P0(a, e, t) {
|
|
|
5211
5208
|
case "multiple":
|
|
5212
5209
|
return !Le(Z.value) && Z.value.map((H) => H[D.value]).indexOf(m[D.value]) !== -1;
|
|
5213
5210
|
}
|
|
5214
|
-
}, h1 = (m) => m[$.value] === !0, m1 = () => ee === void 0 || ee.value === -1 || !p1.value && ee.value > 0 ? !1 : Z.value.length >= ee.value,
|
|
5211
|
+
}, h1 = (m) => m[$.value] === !0, m1 = () => ee === void 0 || ee.value === -1 || !p1.value && ee.value > 0 ? !1 : Z.value.length >= ee.value, Ga = (m) => {
|
|
5215
5212
|
if (!h1(m)) {
|
|
5216
5213
|
if (q && q.value && !Be(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = q.value(m, W), m instanceof Promise)) {
|
|
5217
5214
|
Ie.value = !0, m.then((H) => {
|
|
@@ -5253,39 +5250,39 @@ function P0(a, e, t) {
|
|
|
5253
5250
|
m && C1(m), K.value && Ce(), m && lt(m), l.value && st(), k.value && it();
|
|
5254
5251
|
break;
|
|
5255
5252
|
}
|
|
5256
|
-
k.value ||
|
|
5257
|
-
},
|
|
5253
|
+
k.value || Ra();
|
|
5254
|
+
}, Xa = (m) => {
|
|
5258
5255
|
if (!(h1(m) || n.value === "single" || !L.value)) {
|
|
5259
5256
|
switch (n.value) {
|
|
5260
5257
|
case "multiple":
|
|
5261
5258
|
case "tags":
|
|
5262
|
-
|
|
5259
|
+
Ja(m[ie.value]) ? rt(m[ie.value]) : lt(
|
|
5263
5260
|
m[ie.value].filter((H) => Z.value.map((se) => se[D.value]).indexOf(H[D.value]) === -1).filter((H) => !H[$.value]).filter((H, se) => Z.value.length + 1 + se <= ee.value || ee.value === -1)
|
|
5264
5261
|
);
|
|
5265
5262
|
break;
|
|
5266
5263
|
}
|
|
5267
|
-
k.value &&
|
|
5264
|
+
k.value && Ua();
|
|
5268
5265
|
}
|
|
5269
5266
|
}, C1 = (m) => {
|
|
5270
|
-
Ne(m[D.value]) === void 0 && j1.value && (e.emit("tag", m[D.value], W), e.emit("option", m[D.value], W), e.emit("create", m[D.value], W),
|
|
5271
|
-
},
|
|
5267
|
+
Ne(m[D.value]) === void 0 && j1.value && (e.emit("tag", m[D.value], W), e.emit("option", m[D.value], W), e.emit("create", m[D.value], W), Za.value && nn(m), Ce());
|
|
5268
|
+
}, Qa = () => {
|
|
5272
5269
|
n.value !== "single" && lt(yt.value.filter((m) => !m.disabled && !Be(m)));
|
|
5273
|
-
},
|
|
5270
|
+
}, Ja = (m) => m.find((H) => !Be(H) && !H[$.value]) === void 0, en = (m) => m.find((H) => !Be(H)) === void 0, Ne = (m) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(m))], tn = (m, H = !0) => qe.value.map((se) => parseInt(se[Oe.value]) == se[Oe.value] ? parseInt(se[Oe.value]) : se[Oe.value]).indexOf(
|
|
5274
5271
|
parseInt(m) == m ? parseInt(m) : m
|
|
5275
|
-
),
|
|
5272
|
+
), an = (m) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(m), nn = (m) => {
|
|
5276
5273
|
gt.value.push(m);
|
|
5277
|
-
},
|
|
5274
|
+
}, sn = (m) => O.value ? m.filter(
|
|
5278
5275
|
(H) => U.value ? H.__VISIBLE__.length : H[ie.value].length
|
|
5279
5276
|
) : m.filter((H) => U.value ? H.__VISIBLE__.length : !0), _1 = (m, H = !0) => {
|
|
5280
5277
|
let se = m;
|
|
5281
5278
|
if (U.value && V.value) {
|
|
5282
5279
|
let ve = he.value;
|
|
5283
5280
|
ve || (ve = (bt, F4) => {
|
|
5284
|
-
let x1 = $1(
|
|
5281
|
+
let x1 = $1(ja(bt[Oe.value]), y.value);
|
|
5285
5282
|
return Y.value ? x1.startsWith($1(U.value, y.value)) : x1.indexOf($1(U.value, y.value)) !== -1;
|
|
5286
5283
|
}), se = se.filter(ve);
|
|
5287
5284
|
}
|
|
5288
|
-
return l.value && H && (se = se.filter((ve) => !
|
|
5285
|
+
return l.value && H && (se = se.filter((ve) => !an(ve))), se;
|
|
5289
5286
|
}, g1 = (m) => {
|
|
5290
5287
|
let H = m;
|
|
5291
5288
|
return D0(H) && (H = Object.keys(H).map((se) => {
|
|
@@ -5318,7 +5315,7 @@ function P0(a, e, t) {
|
|
|
5318
5315
|
Z.value[H][u.value] = ve, w.value && (E.value[H][u.value] = ve);
|
|
5319
5316
|
}
|
|
5320
5317
|
});
|
|
5321
|
-
},
|
|
5318
|
+
}, on = (m) => {
|
|
5322
5319
|
jt(m);
|
|
5323
5320
|
}, Zt = (m) => Le(m) ? n.value === "single" ? {} : [] : w.value ? m : n.value === "single" ? Ne(m) || (X.value ? {
|
|
5324
5321
|
[u.value]: m,
|
|
@@ -5332,7 +5329,7 @@ function P0(a, e, t) {
|
|
|
5332
5329
|
f1.value = re(U, (m) => {
|
|
5333
5330
|
m.length < g.value || !m && g.value !== 0 || (Ie.value = !0, R.value && (Fe.value = []), setTimeout(() => {
|
|
5334
5331
|
m == U.value && s.value(U.value, W).then((H) => {
|
|
5335
|
-
(m == U.value || !U.value) && (Fe.value = H,
|
|
5332
|
+
(m == U.value || !U.value) && (Fe.value = H, Na.value = yt.value.filter((se) => se[$.value] !== !0)[0] || null, Ie.value = !1);
|
|
5336
5333
|
}).catch(
|
|
5337
5334
|
/* istanbul ignore next */
|
|
5338
5335
|
(H) => {
|
|
@@ -5367,31 +5364,31 @@ function P0(a, e, t) {
|
|
|
5367
5364
|
fo: yt,
|
|
5368
5365
|
filteredOptions: yt,
|
|
5369
5366
|
hasSelected: p1,
|
|
5370
|
-
multipleLabelText:
|
|
5367
|
+
multipleLabelText: qa,
|
|
5371
5368
|
eo: qe,
|
|
5372
5369
|
extendedOptions: qe,
|
|
5373
5370
|
eg: Rt,
|
|
5374
5371
|
extendedGroups: Rt,
|
|
5375
5372
|
fg: F1,
|
|
5376
5373
|
filteredGroups: F1,
|
|
5377
|
-
noOptions:
|
|
5378
|
-
noResults:
|
|
5374
|
+
noOptions: Wa,
|
|
5375
|
+
noResults: za,
|
|
5379
5376
|
resolving: Ie,
|
|
5380
|
-
busy:
|
|
5377
|
+
busy: Ka,
|
|
5381
5378
|
offset: v1,
|
|
5382
5379
|
select: lt,
|
|
5383
5380
|
deselect: rt,
|
|
5384
5381
|
remove: W1,
|
|
5385
|
-
selectAll:
|
|
5382
|
+
selectAll: Qa,
|
|
5386
5383
|
clear: z1,
|
|
5387
5384
|
isSelected: Be,
|
|
5388
5385
|
isDisabled: h1,
|
|
5389
5386
|
isMax: m1,
|
|
5390
5387
|
getOption: Ne,
|
|
5391
|
-
handleOptionClick:
|
|
5392
|
-
handleGroupClick:
|
|
5393
|
-
handleTagRemove:
|
|
5394
|
-
refreshOptions:
|
|
5388
|
+
handleOptionClick: Ga,
|
|
5389
|
+
handleGroupClick: Xa,
|
|
5390
|
+
handleTagRemove: xa,
|
|
5391
|
+
refreshOptions: on,
|
|
5395
5392
|
resolveOptions: jt,
|
|
5396
5393
|
refreshLabels: y1
|
|
5397
5394
|
};
|
|
@@ -6680,7 +6677,7 @@ const be = /* @__PURE__ */ G({
|
|
|
6680
6677
|
ye(n.$slots, (i, l) => ({
|
|
6681
6678
|
name: l,
|
|
6682
6679
|
fn: j((r) => [
|
|
6683
|
-
te(n.$slots, l, vn(
|
|
6680
|
+
te(n.$slots, l, fn(vn(r ?? {})))
|
|
6684
6681
|
])
|
|
6685
6682
|
}))
|
|
6686
6683
|
]), 1536));
|
|
@@ -6797,7 +6794,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6797
6794
|
key: C.id,
|
|
6798
6795
|
class: "ao-subtask"
|
|
6799
6796
|
}, [
|
|
6800
|
-
((w = d.isCheckable) == null ? void 0 : w.call(d, C)) ?? !1 ? (v(), N(
|
|
6797
|
+
((w = d.isCheckable) == null ? void 0 : w.call(d, C)) ?? !1 ? (v(), N(ce, {
|
|
6801
6798
|
key: 0,
|
|
6802
6799
|
class: "ao-subtask__check",
|
|
6803
6800
|
"icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -6838,7 +6835,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6838
6835
|
]),
|
|
6839
6836
|
_: 2
|
|
6840
6837
|
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
|
|
6841
|
-
d.isEditable ? (v(), N(
|
|
6838
|
+
d.isEditable ? (v(), N(ce, {
|
|
6842
6839
|
key: 2,
|
|
6843
6840
|
class: "ao-subtask__delete",
|
|
6844
6841
|
"icon-name": "CancelRounded",
|
|
@@ -6851,7 +6848,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6851
6848
|
}), 128))
|
|
6852
6849
|
]),
|
|
6853
6850
|
f("div", C5, [
|
|
6854
|
-
d.isEditable ? (v(), N(
|
|
6851
|
+
d.isEditable ? (v(), N(ce, {
|
|
6855
6852
|
key: 0,
|
|
6856
6853
|
label: d.$t("activity.tasks.add"),
|
|
6857
6854
|
"icon-name": "Add",
|
|
@@ -6887,7 +6884,7 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], y5 = {
|
|
|
6887
6884
|
n.forEach((c) => {
|
|
6888
6885
|
document.body.addEventListener(c, (u) => u.preventDefault());
|
|
6889
6886
|
});
|
|
6890
|
-
}),
|
|
6887
|
+
}), ua(() => {
|
|
6891
6888
|
n.forEach((c) => {
|
|
6892
6889
|
document.body.removeEventListener(
|
|
6893
6890
|
c,
|
|
@@ -6936,14 +6933,14 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], y5 = {
|
|
|
6936
6933
|
target: "_blank",
|
|
6937
6934
|
rel: "noopener noreferrer"
|
|
6938
6935
|
}, [
|
|
6939
|
-
A(
|
|
6936
|
+
A(de, {
|
|
6940
6937
|
class: "ao-file__icon",
|
|
6941
6938
|
name: "AttachFileRounded",
|
|
6942
6939
|
size: "sm"
|
|
6943
6940
|
}),
|
|
6944
6941
|
f("span", w5, z(p.name), 1)
|
|
6945
6942
|
], 8, b5),
|
|
6946
|
-
c.isEditable ? (v(), N(
|
|
6943
|
+
c.isEditable ? (v(), N(ce, {
|
|
6947
6944
|
key: 0,
|
|
6948
6945
|
class: "ao-files__delete-button",
|
|
6949
6946
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -6990,12 +6987,12 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
6990
6987
|
const t = a, s = b(() => {
|
|
6991
6988
|
const S = t.user;
|
|
6992
6989
|
return S ? `${S == null ? void 0 : S.firstName} ${S == null ? void 0 : S.lastName}` : null;
|
|
6993
|
-
}), n = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } =
|
|
6990
|
+
}), n = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = da(n), c = b(() => A1(t.createdAt)), u = b(() => A1(t.editedAt)), d = b(() => o.value ? "textarea" : "p"), p = r(), C = l((S) => {
|
|
6994
6991
|
e("edit", S);
|
|
6995
6992
|
}), w = () => {
|
|
6996
6993
|
e("remove");
|
|
6997
6994
|
}, M = J(2);
|
|
6998
|
-
return
|
|
6995
|
+
return pn(() => {
|
|
6999
6996
|
Ee(() => {
|
|
7000
6997
|
var S;
|
|
7001
6998
|
if (!o.value) {
|
|
@@ -7035,14 +7032,14 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
7035
7032
|
]),
|
|
7036
7033
|
S.isEditable ? (v(), h("div", L5, [
|
|
7037
7034
|
F(o) ? (v(), h(fe, { key: 0 }, [
|
|
7038
|
-
A(
|
|
7035
|
+
A(ce, {
|
|
7039
7036
|
"icon-name": "CloseRounded",
|
|
7040
7037
|
size: "sm",
|
|
7041
7038
|
variant: "ghost",
|
|
7042
7039
|
color: "neutral",
|
|
7043
7040
|
onClick: F(p)
|
|
7044
7041
|
}, null, 8, ["onClick"]),
|
|
7045
|
-
A(
|
|
7042
|
+
A(ce, {
|
|
7046
7043
|
"icon-name": "CheckSmallRounded",
|
|
7047
7044
|
size: "sm",
|
|
7048
7045
|
variant: "solid",
|
|
@@ -7050,14 +7047,14 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
7050
7047
|
onClick: F(C)
|
|
7051
7048
|
}, null, 8, ["onClick"])
|
|
7052
7049
|
], 64)) : (v(), h(fe, { key: 1 }, [
|
|
7053
|
-
A(
|
|
7050
|
+
A(ce, {
|
|
7054
7051
|
label: S.$t("activity.comment.delete"),
|
|
7055
7052
|
size: "sm",
|
|
7056
7053
|
variant: "ghost",
|
|
7057
7054
|
color: "neutral",
|
|
7058
7055
|
onClick: w
|
|
7059
7056
|
}, null, 8, ["label"]),
|
|
7060
|
-
A(
|
|
7057
|
+
A(ce, {
|
|
7061
7058
|
label: S.$t("activity.comment.edit"),
|
|
7062
7059
|
size: "sm",
|
|
7063
7060
|
variant: "ghost",
|
|
@@ -7146,7 +7143,7 @@ const D5 = {
|
|
|
7146
7143
|
])
|
|
7147
7144
|
]),
|
|
7148
7145
|
f("div", R5, [
|
|
7149
|
-
A(
|
|
7146
|
+
A(ce, {
|
|
7150
7147
|
type: "submit",
|
|
7151
7148
|
"icon-name": "SendRounded",
|
|
7152
7149
|
color: "primary",
|
|
@@ -7412,7 +7409,7 @@ const j5 = {
|
|
|
7412
7409
|
type: "checkbox"
|
|
7413
7410
|
}, null, 8, a7), [
|
|
7414
7411
|
[
|
|
7415
|
-
|
|
7412
|
+
hn,
|
|
7416
7413
|
i.value,
|
|
7417
7414
|
void 0,
|
|
7418
7415
|
{ lazy: !0 }
|
|
@@ -7423,7 +7420,7 @@ const j5 = {
|
|
|
7423
7420
|
]),
|
|
7424
7421
|
f("fieldset", n7, [
|
|
7425
7422
|
f("div", s7, [
|
|
7426
|
-
A(
|
|
7423
|
+
A(de, { name: "AccountBoxSharp" }),
|
|
7427
7424
|
A(me, {
|
|
7428
7425
|
level: 4,
|
|
7429
7426
|
title: y.$t("activity.assignee.title")
|
|
@@ -7461,7 +7458,7 @@ const j5 = {
|
|
|
7461
7458
|
]),
|
|
7462
7459
|
f("fieldset", r7, [
|
|
7463
7460
|
f("div", u7, [
|
|
7464
|
-
A(
|
|
7461
|
+
A(de, { name: "SelectCheckBox" }),
|
|
7465
7462
|
A(me, {
|
|
7466
7463
|
level: 4,
|
|
7467
7464
|
title: y.$t("activity.tasks.title")
|
|
@@ -7483,7 +7480,7 @@ const j5 = {
|
|
|
7483
7480
|
]),
|
|
7484
7481
|
f("fieldset", d7, [
|
|
7485
7482
|
f("div", f7, [
|
|
7486
|
-
A(
|
|
7483
|
+
A(de, { name: "FlowsheetOutlineRounded" }),
|
|
7487
7484
|
A(me, {
|
|
7488
7485
|
level: 4,
|
|
7489
7486
|
title: y.$t("activity.dependencies.title")
|
|
@@ -7558,7 +7555,7 @@ const j5 = {
|
|
|
7558
7555
|
]),
|
|
7559
7556
|
y.isTemplate !== !0 && y.userId ? (v(), h("div", S7, [
|
|
7560
7557
|
f("div", T7, [
|
|
7561
|
-
A(
|
|
7558
|
+
A(de, { name: "AttachFileRounded" }),
|
|
7562
7559
|
A(me, {
|
|
7563
7560
|
level: 4,
|
|
7564
7561
|
title: y.$t("activity.attachments.title")
|
|
@@ -7571,7 +7568,7 @@ const j5 = {
|
|
|
7571
7568
|
onRemove: K
|
|
7572
7569
|
}, null, 8, ["attachments", "is-editable"]),
|
|
7573
7570
|
f("div", E7, [
|
|
7574
|
-
A(
|
|
7571
|
+
A(de, { name: "ChatOutline" }),
|
|
7575
7572
|
A(me, {
|
|
7576
7573
|
level: 4,
|
|
7577
7574
|
title: y.$t("activity.comments.title")
|
|
@@ -7704,7 +7701,7 @@ const I7 = /* @__PURE__ */ G({
|
|
|
7704
7701
|
"onUpdate:modelValue": g[5] || (g[5] = (V) => M.value = V),
|
|
7705
7702
|
options: S.value
|
|
7706
7703
|
}, null, 8, ["modelValue", "options"]),
|
|
7707
|
-
A(
|
|
7704
|
+
A(ce, {
|
|
7708
7705
|
class: "ao-rule-line__remove",
|
|
7709
7706
|
"icon-name": "CloseRounded",
|
|
7710
7707
|
variant: "ghost",
|
|
@@ -8024,7 +8021,7 @@ const D7 = {
|
|
|
8024
8021
|
}, null, 8, ["title"])
|
|
8025
8022
|
]),
|
|
8026
8023
|
secondary: j(() => [
|
|
8027
|
-
A(
|
|
8024
|
+
A(ce, {
|
|
8028
8025
|
label: O.$t("template.rules.edit"),
|
|
8029
8026
|
color: "primary",
|
|
8030
8027
|
"icon-name": "Settings",
|
|
@@ -8237,7 +8234,7 @@ const W7 = { class: "ao-card-project-phase__header" }, z7 = { class: "ao-card-pr
|
|
|
8237
8234
|
f("div", Y7, [
|
|
8238
8235
|
n.value ? (v(), h(fe, { key: 0 }, [
|
|
8239
8236
|
f("div", K7, [
|
|
8240
|
-
A(
|
|
8237
|
+
A(de, {
|
|
8241
8238
|
name: "MountainFlagOutlineRounded",
|
|
8242
8239
|
size: "sm"
|
|
8243
8240
|
}),
|
|
@@ -8260,7 +8257,7 @@ const W7 = { class: "ao-card-project-phase__header" }, z7 = { class: "ao-card-pr
|
|
|
8260
8257
|
name: "header",
|
|
8261
8258
|
fn: j(() => [
|
|
8262
8259
|
f("div", W7, [
|
|
8263
|
-
A(
|
|
8260
|
+
A(ce, {
|
|
8264
8261
|
class: "ao-card-project-phase__archive",
|
|
8265
8262
|
color: "primary",
|
|
8266
8263
|
variant: "ghost",
|
|
@@ -8300,7 +8297,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8300
8297
|
return (l = t.activities) == null ? void 0 : l.length;
|
|
8301
8298
|
}), n = b(() => {
|
|
8302
8299
|
var l;
|
|
8303
|
-
return (l = t.activities) == null ? void 0 : l.filter((r) =>
|
|
8300
|
+
return (l = t.activities) == null ? void 0 : l.filter((r) => ka(r, t.closedStatus)).length;
|
|
8304
8301
|
}), o = b(() => (n.value || 0) / (s.value || 1)), i = (l) => {
|
|
8305
8302
|
e("updateMilestone", { id: t.id, name: l });
|
|
8306
8303
|
};
|
|
@@ -8320,7 +8317,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8320
8317
|
"onUpdate:title": i
|
|
8321
8318
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8322
8319
|
l.isEditable ? (v(), h("div", J7, [
|
|
8323
|
-
A(
|
|
8320
|
+
A(ce, {
|
|
8324
8321
|
color: "primary",
|
|
8325
8322
|
variant: "ghost",
|
|
8326
8323
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -8338,7 +8335,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8338
8335
|
f("div", t9, [
|
|
8339
8336
|
s.value ? (v(), h(fe, { key: 0 }, [
|
|
8340
8337
|
f("div", a9, [
|
|
8341
|
-
A(
|
|
8338
|
+
A(de, {
|
|
8342
8339
|
name: "SelectCheckBox",
|
|
8343
8340
|
size: "sm"
|
|
8344
8341
|
}),
|
|
@@ -8398,7 +8395,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
|
|
|
8398
8395
|
};
|
|
8399
8396
|
return (d, p) => (v(), h("li", o9, [
|
|
8400
8397
|
d.isEditable ? (v(), h("div", l9, [
|
|
8401
|
-
A(
|
|
8398
|
+
A(de, {
|
|
8402
8399
|
name: "DragIndicator",
|
|
8403
8400
|
class: "ao-project-phase__drag-handle"
|
|
8404
8401
|
})
|
|
@@ -8568,7 +8565,7 @@ const g9 = ["onSubmit"], y9 = { class: "ao-add-template-modal__form-body" }, b9
|
|
|
8568
8565
|
])
|
|
8569
8566
|
]),
|
|
8570
8567
|
f("footer", w9, [
|
|
8571
|
-
A(
|
|
8568
|
+
A(ce, {
|
|
8572
8569
|
label: l.$t("project.template.add.label"),
|
|
8573
8570
|
type: "submit",
|
|
8574
8571
|
color: "primary",
|
|
@@ -8634,7 +8631,7 @@ function A9(a, e, t, s, n, o) {
|
|
|
8634
8631
|
}, z(a.rightLabel), 3)
|
|
8635
8632
|
]);
|
|
8636
8633
|
}
|
|
8637
|
-
const
|
|
8634
|
+
const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655"]]), S9 = { class: "ao-project-overview" }, T9 = { class: "ao-project" }, E9 = { class: "ao-project__body" }, I9 = /* @__PURE__ */ G({
|
|
8638
8635
|
__name: "AoProjectOverviewProject",
|
|
8639
8636
|
props: {
|
|
8640
8637
|
project: {},
|
|
@@ -8692,13 +8689,13 @@ const Ba = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8692
8689
|
e("applyTemplate", { templateId: I, projectId: ee }), X.value = !1;
|
|
8693
8690
|
};
|
|
8694
8691
|
return (I, ee) => {
|
|
8695
|
-
const y =
|
|
8692
|
+
const y = mn("RouterView");
|
|
8696
8693
|
return v(), h(fe, null, [
|
|
8697
8694
|
f("div", S9, [
|
|
8698
8695
|
f("div", T9, [
|
|
8699
8696
|
A(r1, null, {
|
|
8700
8697
|
primary: j(() => [
|
|
8701
|
-
A(
|
|
8698
|
+
A(Pa, {
|
|
8702
8699
|
"is-left": !0,
|
|
8703
8700
|
"right-label": I.$t("project.switch.feed"),
|
|
8704
8701
|
"left-label": I.$t("project.switch.overview"),
|
|
@@ -8706,7 +8703,7 @@ const Ba = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8706
8703
|
k || I.$router.push({ name: F(Re).feed });
|
|
8707
8704
|
})
|
|
8708
8705
|
}, null, 8, ["right-label", "left-label"]),
|
|
8709
|
-
I.isEditable ? (v(), N(
|
|
8706
|
+
I.isEditable ? (v(), N(ce, {
|
|
8710
8707
|
key: 0,
|
|
8711
8708
|
class: "ao-project-overview__add-template",
|
|
8712
8709
|
color: "primary",
|
|
@@ -8801,7 +8798,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8801
8798
|
}, q9 = { class: "ao-card-feed__subitem" }, W9 = { class: "ao-card-feed__footer-row" }, z9 = {
|
|
8802
8799
|
key: 0,
|
|
8803
8800
|
class: "ao-card-feed__progress-wrapper"
|
|
8804
|
-
}, Y9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" },
|
|
8801
|
+
}, Y9 = { class: "ao-card-feed__subitem" }, K9 = { class: "ao-card-feed__subitem" }, Ba = /* @__PURE__ */ G({
|
|
8805
8802
|
__name: "AoCardFeed",
|
|
8806
8803
|
props: {
|
|
8807
8804
|
id: {},
|
|
@@ -8851,7 +8848,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8851
8848
|
color: p.projectColor ? void 0 : "primary",
|
|
8852
8849
|
"raw-color": p.projectColor
|
|
8853
8850
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
8854
|
-
p.important ? (v(), N(
|
|
8851
|
+
p.important ? (v(), N(de, {
|
|
8855
8852
|
key: 1,
|
|
8856
8853
|
name: "FlagRounded",
|
|
8857
8854
|
class: "ao-card-feed__important ao-card-feed__header-secondary",
|
|
@@ -8894,14 +8891,14 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8894
8891
|
]),
|
|
8895
8892
|
p.comments || p.attachments ? (v(), h("ul", U9, [
|
|
8896
8893
|
p.comments ? (v(), h("li", j9, [
|
|
8897
|
-
A(
|
|
8894
|
+
A(de, {
|
|
8898
8895
|
name: "ChatOutline",
|
|
8899
8896
|
size: "sm"
|
|
8900
8897
|
}),
|
|
8901
8898
|
f("span", Z9, z(p.comments), 1)
|
|
8902
8899
|
])) : T("", !0),
|
|
8903
8900
|
p.attachments ? (v(), h("li", F9, [
|
|
8904
|
-
A(
|
|
8901
|
+
A(de, {
|
|
8905
8902
|
name: "AttachFileRounded",
|
|
8906
8903
|
size: "sm"
|
|
8907
8904
|
}),
|
|
@@ -8912,7 +8909,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8912
8909
|
f("div", W9, [
|
|
8913
8910
|
p.tasks && p.tasks.length ? (v(), h("div", z9, [
|
|
8914
8911
|
f("div", Y9, [
|
|
8915
|
-
A(
|
|
8912
|
+
A(de, {
|
|
8916
8913
|
name: "SelectCheckBox",
|
|
8917
8914
|
size: "sm"
|
|
8918
8915
|
}),
|
|
@@ -8994,7 +8991,7 @@ const x9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
8994
8991
|
level: 5
|
|
8995
8992
|
}, null, 8, ["title"])
|
|
8996
8993
|
]),
|
|
8997
|
-
A(
|
|
8994
|
+
A(ce, {
|
|
8998
8995
|
"icon-name": "CloseRounded",
|
|
8999
8996
|
variant: "ghost",
|
|
9000
8997
|
onClick: r
|
|
@@ -9011,7 +9008,7 @@ const x9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
9011
9008
|
item: j(({ element: M }) => {
|
|
9012
9009
|
var S, _, g, V;
|
|
9013
9010
|
return [
|
|
9014
|
-
A(
|
|
9011
|
+
A(Ba, {
|
|
9015
9012
|
id: M.id,
|
|
9016
9013
|
name: M.name || M.id,
|
|
9017
9014
|
"phase-name": (S = n.value) == null ? void 0 : S.name,
|
|
@@ -9034,7 +9031,7 @@ const x9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
9034
9031
|
p.isEditable ? {
|
|
9035
9032
|
name: "secondary",
|
|
9036
9033
|
fn: j(() => [
|
|
9037
|
-
A(
|
|
9034
|
+
A(ce, {
|
|
9038
9035
|
color: "primary",
|
|
9039
9036
|
variant: "ghost",
|
|
9040
9037
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9347,7 +9344,7 @@ const v4 = {
|
|
|
9347
9344
|
item: j(({ element: u }) => {
|
|
9348
9345
|
var d, p, C, w, M, S, _, g;
|
|
9349
9346
|
return [
|
|
9350
|
-
A(
|
|
9347
|
+
A(Ba, {
|
|
9351
9348
|
id: u.id,
|
|
9352
9349
|
name: u.name,
|
|
9353
9350
|
"project-name": (d = u.project) == null ? void 0 : d.name,
|
|
@@ -9369,7 +9366,7 @@ const v4 = {
|
|
|
9369
9366
|
onRemoveAssignee: () => i({ id: u.id, assigneeId: null })
|
|
9370
9367
|
}, {
|
|
9371
9368
|
secondary: j(() => [
|
|
9372
|
-
A(
|
|
9369
|
+
A(ce, {
|
|
9373
9370
|
color: "primary",
|
|
9374
9371
|
variant: "ghost",
|
|
9375
9372
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9386,7 +9383,7 @@ const v4 = {
|
|
|
9386
9383
|
}),
|
|
9387
9384
|
footer: j(() => [
|
|
9388
9385
|
r.isLoading ? (v(), h("div", h4, [
|
|
9389
|
-
A(
|
|
9386
|
+
A(de, { name: "Loading" })
|
|
9390
9387
|
])) : r.hasMore ? (v(), h("div", {
|
|
9391
9388
|
key: 2,
|
|
9392
9389
|
ref_key: "scrollEnd",
|
|
@@ -9435,11 +9432,11 @@ const b4 = { class: "ao-field ao-search-field" }, w4 = ["value", "placeholder",
|
|
|
9435
9432
|
(...r) => F(n) && F(n)(...r)),
|
|
9436
9433
|
onKeypress: Ye(s, ["enter"])
|
|
9437
9434
|
}, null, 40, w4),
|
|
9438
|
-
A(
|
|
9435
|
+
A(de, {
|
|
9439
9436
|
name: "SearchRounded",
|
|
9440
9437
|
class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
9441
9438
|
}, null, 8, ["class"]),
|
|
9442
|
-
A(
|
|
9439
|
+
A(ce, {
|
|
9443
9440
|
"icon-name": "CloseRounded",
|
|
9444
9441
|
size: "sm",
|
|
9445
9442
|
color: "primary",
|
|
@@ -9619,7 +9616,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9619
9616
|
A(r1, null, {
|
|
9620
9617
|
primary: j(() => [
|
|
9621
9618
|
f("div", T4, [
|
|
9622
|
-
t.project ? (v(), N(
|
|
9619
|
+
t.project ? (v(), N(Pa, {
|
|
9623
9620
|
key: 0,
|
|
9624
9621
|
"is-left": !1,
|
|
9625
9622
|
"right-label": $.$t("project.switch.feed"),
|
|
@@ -9677,7 +9674,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9677
9674
|
_: 1
|
|
9678
9675
|
}, 8, ["model-value", "options", "placeholder"])
|
|
9679
9676
|
]),
|
|
9680
|
-
A(
|
|
9677
|
+
A(ce, {
|
|
9681
9678
|
class: "ao-feed__show-archived",
|
|
9682
9679
|
size: "sm",
|
|
9683
9680
|
"icon-name": $.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -9898,7 +9895,7 @@ const Tt = {
|
|
|
9898
9895
|
return (l, r) => (v(), h("div", j4, [
|
|
9899
9896
|
A(r1, null, {
|
|
9900
9897
|
secondary: j(() => [
|
|
9901
|
-
A(
|
|
9898
|
+
A(ce, {
|
|
9902
9899
|
label: l.$t("templates.new"),
|
|
9903
9900
|
color: "primary",
|
|
9904
9901
|
"icon-name": "Add",
|