@26lights/orcha 0.13.2 → 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 +196 -200
- 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 {
|
|
@@ -3627,7 +3627,10 @@ function o3(a, e) {
|
|
|
3627
3627
|
status: i3(a, e) ? k1.done : k1.todo
|
|
3628
3628
|
};
|
|
3629
3629
|
}
|
|
3630
|
-
const l3 = ["title"], r3 = {
|
|
3630
|
+
const l3 = ["title"], r3 = {
|
|
3631
|
+
key: 0,
|
|
3632
|
+
className: "ao-avatar__initials"
|
|
3633
|
+
}, u3 = ["src"], _t = /* @__PURE__ */ G({
|
|
3631
3634
|
__name: "AoAvatar",
|
|
3632
3635
|
props: {
|
|
3633
3636
|
userName: {},
|
|
@@ -3640,33 +3643,26 @@ const l3 = ["title"], r3 = { className: "ao-avatar__initials" }, u3 = ["title",
|
|
|
3640
3643
|
const s = s3(a.userName), n = (o) => {
|
|
3641
3644
|
e("close", o);
|
|
3642
3645
|
};
|
|
3643
|
-
return (o, i) => {
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
key: 1,
|
|
3664
|
-
class: x(["ao-avatar", `ao-avatar--${o.size}`]),
|
|
3665
|
-
title: o.userName,
|
|
3666
|
-
src: o.avatarUrl
|
|
3667
|
-
}, null, 10, u3)) : T("", !0)
|
|
3668
|
-
], 64);
|
|
3669
|
-
};
|
|
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));
|
|
3670
3666
|
}
|
|
3671
3667
|
});
|
|
3672
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 = {
|
|
@@ -3694,7 +3690,7 @@ const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-templ
|
|
|
3694
3690
|
const t = (s) => {
|
|
3695
3691
|
e("updateTitle", s);
|
|
3696
3692
|
};
|
|
3697
|
-
return (s, n) => (v(), N(
|
|
3693
|
+
return (s, n) => (v(), N(fa, {
|
|
3698
3694
|
id: s.id,
|
|
3699
3695
|
title: s.title,
|
|
3700
3696
|
"is-draggable": !0,
|
|
@@ -3703,14 +3699,14 @@ const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-templ
|
|
|
3703
3699
|
subtitle: j(() => [
|
|
3704
3700
|
f("ul", c3, [
|
|
3705
3701
|
f("li", d3, [
|
|
3706
|
-
A(
|
|
3702
|
+
A(de, {
|
|
3707
3703
|
name: "MountainFlagOutlineRounded",
|
|
3708
3704
|
size: "sm"
|
|
3709
3705
|
}),
|
|
3710
3706
|
f("span", f3, z(s.milestones), 1)
|
|
3711
3707
|
]),
|
|
3712
3708
|
f("li", v3, [
|
|
3713
|
-
A(
|
|
3709
|
+
A(de, {
|
|
3714
3710
|
name: "TaskOutlineRounded",
|
|
3715
3711
|
size: "sm"
|
|
3716
3712
|
}),
|
|
@@ -3722,7 +3718,7 @@ const c3 = { class: "ao-card-template__subitems" }, d3 = { class: "ao-card-templ
|
|
|
3722
3718
|
f("div", h3, [
|
|
3723
3719
|
f("div", m3, [
|
|
3724
3720
|
f("div", C3, [
|
|
3725
|
-
A(
|
|
3721
|
+
A(de, {
|
|
3726
3722
|
name: "WaterfallChartRounded",
|
|
3727
3723
|
size: "sm"
|
|
3728
3724
|
}),
|
|
@@ -3780,7 +3776,7 @@ const I3 = { class: "ao-page-header" }, O3 = { class: "ao-page-header-main" }, L
|
|
|
3780
3776
|
setup(a) {
|
|
3781
3777
|
return (e, t) => (v(), h("header", I3, [
|
|
3782
3778
|
f("div", O3, [
|
|
3783
|
-
e.canGoBack ? (v(), N(
|
|
3779
|
+
e.canGoBack ? (v(), N(ce, {
|
|
3784
3780
|
key: 0,
|
|
3785
3781
|
"icon-name": "ArrowBackRounded",
|
|
3786
3782
|
variant: "ghost",
|
|
@@ -3807,7 +3803,7 @@ const V3 = ["type"], D3 = {
|
|
|
3807
3803
|
color: { default: () => ac.BLACK },
|
|
3808
3804
|
size: { default: () => a1.MD },
|
|
3809
3805
|
isLoading: { type: Boolean, default: () => !1 },
|
|
3810
|
-
corners: { default: () =>
|
|
3806
|
+
corners: { default: () => ca.ROUNDED }
|
|
3811
3807
|
},
|
|
3812
3808
|
setup(a) {
|
|
3813
3809
|
const e = a, t = b(() => e.size), s = b(() => e.isLoading ? "Loading" : e.iconName);
|
|
@@ -3823,7 +3819,7 @@ const V3 = ["type"], D3 = {
|
|
|
3823
3819
|
te(n.$slots, "default", {}, () => [
|
|
3824
3820
|
n.label ? (v(), h("span", D3, z(n.label), 1)) : T("", !0)
|
|
3825
3821
|
]),
|
|
3826
|
-
s.value ? (v(), N(
|
|
3822
|
+
s.value ? (v(), N(de, {
|
|
3827
3823
|
key: 0,
|
|
3828
3824
|
name: s.value,
|
|
3829
3825
|
class: "ao-button-card__icon",
|
|
@@ -3855,12 +3851,12 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
|
|
|
3855
3851
|
}, o = () => {
|
|
3856
3852
|
e("remove");
|
|
3857
3853
|
};
|
|
3858
|
-
return (i, l) => (v(), N(
|
|
3854
|
+
return (i, l) => (v(), N(fa, { "onUpdate:title": t }, {
|
|
3859
3855
|
footer: j(() => [
|
|
3860
3856
|
f("ul", H3, [
|
|
3861
3857
|
(v(), h(fe, null, ye(s, (r) => (v(), h(fe, { key: r }, [
|
|
3862
3858
|
i.$props[r] ? (v(), h("li", P3, [
|
|
3863
|
-
A(
|
|
3859
|
+
A(de, {
|
|
3864
3860
|
name: n[r],
|
|
3865
3861
|
size: "sm"
|
|
3866
3862
|
}, null, 8, ["name"]),
|
|
@@ -3871,7 +3867,7 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
|
|
|
3871
3867
|
]),
|
|
3872
3868
|
secondary: j(() => [
|
|
3873
3869
|
f("div", N3, [
|
|
3874
|
-
A(
|
|
3870
|
+
A(ce, {
|
|
3875
3871
|
"icon-name": "DeleteOutlineRounded",
|
|
3876
3872
|
variant: "ghost",
|
|
3877
3873
|
size: "md",
|
|
@@ -3895,7 +3891,7 @@ const R3 = /* @__PURE__ */ G({
|
|
|
3895
3891
|
const e = a, t = b(() => {
|
|
3896
3892
|
var n;
|
|
3897
3893
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
3898
|
-
}), s = b(() => e.milestones ?
|
|
3894
|
+
}), s = b(() => e.milestones ? Ma(e.milestones) : 0);
|
|
3899
3895
|
return (n, o) => (v(), N(O1, Ve({
|
|
3900
3896
|
id: n.id,
|
|
3901
3897
|
title: n.name,
|
|
@@ -4103,7 +4099,7 @@ const R3 = /* @__PURE__ */ G({
|
|
|
4103
4099
|
f("div", z3, [
|
|
4104
4100
|
f("div", Y3, [
|
|
4105
4101
|
f("div", K3, [
|
|
4106
|
-
A(
|
|
4102
|
+
A(ce, {
|
|
4107
4103
|
"icon-name": "CloseRounded",
|
|
4108
4104
|
variant: "ghost",
|
|
4109
4105
|
color: "primary",
|
|
@@ -4148,18 +4144,18 @@ function u1(a) {
|
|
|
4148
4144
|
function e0(a) {
|
|
4149
4145
|
return a === "x" ? "y" : "x";
|
|
4150
4146
|
}
|
|
4151
|
-
function
|
|
4147
|
+
function Aa(a) {
|
|
4152
4148
|
return a === "y" ? "height" : "width";
|
|
4153
4149
|
}
|
|
4154
4150
|
function D1(a) {
|
|
4155
4151
|
return ["top", "bottom"].includes(ht(a)) ? "y" : "x";
|
|
4156
4152
|
}
|
|
4157
|
-
function
|
|
4153
|
+
function Sa(a) {
|
|
4158
4154
|
return e0(D1(a));
|
|
4159
4155
|
}
|
|
4160
4156
|
function t0(a, e, t) {
|
|
4161
4157
|
t === void 0 && (t = !1);
|
|
4162
|
-
const s = u1(a), n =
|
|
4158
|
+
const s = u1(a), n = Sa(a), o = Aa(n);
|
|
4163
4159
|
let i = n === "x" ? s === (t ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
4164
4160
|
return e.reference[o] > e.floating[o] && (i = Xt(i)), [i, Xt(i)];
|
|
4165
4161
|
}
|
|
@@ -4222,7 +4218,7 @@ function aa(a, e, t) {
|
|
|
4222
4218
|
reference: s,
|
|
4223
4219
|
floating: n
|
|
4224
4220
|
} = a;
|
|
4225
|
-
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;
|
|
4226
4222
|
let C;
|
|
4227
4223
|
switch (r) {
|
|
4228
4224
|
case "top":
|
|
@@ -4329,7 +4325,7 @@ const l0 = async (a, e, t) => {
|
|
|
4329
4325
|
middlewareData: C
|
|
4330
4326
|
};
|
|
4331
4327
|
};
|
|
4332
|
-
async function
|
|
4328
|
+
async function Ta(a, e) {
|
|
4333
4329
|
var t;
|
|
4334
4330
|
e === void 0 && (e = {});
|
|
4335
4331
|
const {
|
|
@@ -4398,7 +4394,7 @@ const r0 = function(a) {
|
|
|
4398
4394
|
return {};
|
|
4399
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));
|
|
4400
4396
|
!p && w !== "none" && R.push(...s0(l, M, w, V));
|
|
4401
|
-
const K = [l, ...R], D = await
|
|
4397
|
+
const K = [l, ...R], D = await Ta(e, S), X = [];
|
|
4402
4398
|
let ae = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4403
4399
|
if (u && X.push(D[_]), d) {
|
|
4404
4400
|
const k = t0(n, i, V);
|
|
@@ -4457,7 +4453,7 @@ const r0 = function(a) {
|
|
|
4457
4453
|
apply: i = () => {
|
|
4458
4454
|
},
|
|
4459
4455
|
...l
|
|
4460
|
-
} = V1(a, e), r = await
|
|
4456
|
+
} = V1(a, e), r = await Ta(e, l), c = ht(t), u = u1(t), d = D1(t) === "y", {
|
|
4461
4457
|
width: p,
|
|
4462
4458
|
height: C
|
|
4463
4459
|
} = s.floating;
|
|
@@ -4491,7 +4487,7 @@ const r0 = function(a) {
|
|
|
4491
4487
|
};
|
|
4492
4488
|
};
|
|
4493
4489
|
function Ge(a) {
|
|
4494
|
-
return
|
|
4490
|
+
return Ea(a) ? (a.nodeName || "").toLowerCase() : "#document";
|
|
4495
4491
|
}
|
|
4496
4492
|
function we(a) {
|
|
4497
4493
|
var e;
|
|
@@ -4499,9 +4495,9 @@ function we(a) {
|
|
|
4499
4495
|
}
|
|
4500
4496
|
function Ze(a) {
|
|
4501
4497
|
var e;
|
|
4502
|
-
return (e = (
|
|
4498
|
+
return (e = (Ea(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4503
4499
|
}
|
|
4504
|
-
function
|
|
4500
|
+
function Ea(a) {
|
|
4505
4501
|
return a instanceof Node || a instanceof we(a).Node;
|
|
4506
4502
|
}
|
|
4507
4503
|
function je(a) {
|
|
@@ -4568,17 +4564,17 @@ function mt(a) {
|
|
|
4568
4564
|
);
|
|
4569
4565
|
return na(e) ? e.host : e;
|
|
4570
4566
|
}
|
|
4571
|
-
function
|
|
4567
|
+
function Ia(a) {
|
|
4572
4568
|
const e = mt(a);
|
|
4573
|
-
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);
|
|
4574
4570
|
}
|
|
4575
4571
|
function Vt(a, e, t) {
|
|
4576
4572
|
var s;
|
|
4577
4573
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
4578
|
-
const n =
|
|
4574
|
+
const n = Ia(a), o = n === ((s = a.ownerDocument) == null ? void 0 : s.body), i = we(n);
|
|
4579
4575
|
return o ? e.concat(i, i.visualViewport || [], Nt(n) ? n : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(n, Vt(n));
|
|
4580
4576
|
}
|
|
4581
|
-
function
|
|
4577
|
+
function Oa(a) {
|
|
4582
4578
|
const e = Te(a);
|
|
4583
4579
|
let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
4584
4580
|
const n = De(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = Gt(t) !== o || Gt(s) !== i;
|
|
@@ -4599,7 +4595,7 @@ function vt(a) {
|
|
|
4599
4595
|
width: s,
|
|
4600
4596
|
height: n,
|
|
4601
4597
|
$: o
|
|
4602
|
-
} =
|
|
4598
|
+
} = Oa(e);
|
|
4603
4599
|
let i = (o ? Gt(t.width) : t.width) / s, l = (o ? Gt(t.height) : t.height) / n;
|
|
4604
4600
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4605
4601
|
x: i,
|
|
@@ -4607,7 +4603,7 @@ function vt(a) {
|
|
|
4607
4603
|
};
|
|
4608
4604
|
}
|
|
4609
4605
|
const f0 = /* @__PURE__ */ xe(0);
|
|
4610
|
-
function
|
|
4606
|
+
function La(a) {
|
|
4611
4607
|
const e = we(a);
|
|
4612
4608
|
return !P1() || !e.visualViewport ? f0 : {
|
|
4613
4609
|
x: e.visualViewport.offsetLeft,
|
|
@@ -4622,7 +4618,7 @@ function et(a, e, t, s) {
|
|
|
4622
4618
|
const n = a.getBoundingClientRect(), o = B1(a);
|
|
4623
4619
|
let i = xe(1);
|
|
4624
4620
|
e && (s ? je(s) && (i = vt(s)) : i = vt(a));
|
|
4625
|
-
const l = v0(o, t, s) ?
|
|
4621
|
+
const l = v0(o, t, s) ? La(o) : xe(0);
|
|
4626
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;
|
|
4627
4623
|
if (o) {
|
|
4628
4624
|
const p = we(o), C = s && je(s) ? we(s) : s;
|
|
@@ -4667,12 +4663,12 @@ function p0(a) {
|
|
|
4667
4663
|
function h0(a) {
|
|
4668
4664
|
return Array.from(a.getClientRects());
|
|
4669
4665
|
}
|
|
4670
|
-
function
|
|
4666
|
+
function Va(a) {
|
|
4671
4667
|
return et(Ze(a)).left + d1(a).scrollLeft;
|
|
4672
4668
|
}
|
|
4673
4669
|
function m0(a) {
|
|
4674
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);
|
|
4675
|
-
let i = -t.scrollLeft +
|
|
4671
|
+
let i = -t.scrollLeft + Va(a);
|
|
4676
4672
|
const l = -t.scrollTop;
|
|
4677
4673
|
return Te(s).direction === "rtl" && (i += ke(e.clientWidth, s.clientWidth) - n), {
|
|
4678
4674
|
width: n,
|
|
@@ -4714,7 +4710,7 @@ function sa(a, e, t) {
|
|
|
4714
4710
|
else if (je(e))
|
|
4715
4711
|
s = _0(e, t);
|
|
4716
4712
|
else {
|
|
4717
|
-
const n =
|
|
4713
|
+
const n = La(a);
|
|
4718
4714
|
s = {
|
|
4719
4715
|
...e,
|
|
4720
4716
|
x: e.x - n.x,
|
|
@@ -4723,9 +4719,9 @@ function sa(a, e, t) {
|
|
|
4723
4719
|
}
|
|
4724
4720
|
return Qt(s);
|
|
4725
4721
|
}
|
|
4726
|
-
function
|
|
4722
|
+
function Da(a, e) {
|
|
4727
4723
|
const t = mt(a);
|
|
4728
|
-
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);
|
|
4729
4725
|
}
|
|
4730
4726
|
function g0(a, e) {
|
|
4731
4727
|
const t = e.get(a);
|
|
@@ -4736,7 +4732,7 @@ function g0(a, e) {
|
|
|
4736
4732
|
let i = o ? mt(a) : a;
|
|
4737
4733
|
for (; je(i) && !c1(i); ) {
|
|
4738
4734
|
const l = Te(i), r = H1(i);
|
|
4739
|
-
!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);
|
|
4740
4736
|
}
|
|
4741
4737
|
return e.set(a, s), s;
|
|
4742
4738
|
}
|
|
@@ -4759,7 +4755,7 @@ function y0(a) {
|
|
|
4759
4755
|
};
|
|
4760
4756
|
}
|
|
4761
4757
|
function b0(a) {
|
|
4762
|
-
return
|
|
4758
|
+
return Oa(a);
|
|
4763
4759
|
}
|
|
4764
4760
|
function w0(a, e, t) {
|
|
4765
4761
|
const s = De(e), n = Ze(e), o = t === "fixed", i = et(a, !0, o, e);
|
|
@@ -4773,7 +4769,7 @@ function w0(a, e, t) {
|
|
|
4773
4769
|
const c = et(e, !0, o, e);
|
|
4774
4770
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4775
4771
|
} else
|
|
4776
|
-
n && (r.x =
|
|
4772
|
+
n && (r.x = Va(n));
|
|
4777
4773
|
return {
|
|
4778
4774
|
x: i.left + l.scrollLeft - r.x,
|
|
4779
4775
|
y: i.top + l.scrollTop - r.y,
|
|
@@ -4784,7 +4780,7 @@ function w0(a, e, t) {
|
|
|
4784
4780
|
function ia(a, e) {
|
|
4785
4781
|
return !De(a) || Te(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
|
|
4786
4782
|
}
|
|
4787
|
-
function
|
|
4783
|
+
function Ha(a, e) {
|
|
4788
4784
|
const t = we(a);
|
|
4789
4785
|
if (!De(a))
|
|
4790
4786
|
return t;
|
|
@@ -4799,7 +4795,7 @@ const $0 = async function(a) {
|
|
|
4799
4795
|
floating: t,
|
|
4800
4796
|
strategy: s
|
|
4801
4797
|
} = a;
|
|
4802
|
-
const n = this.getOffsetParent ||
|
|
4798
|
+
const n = this.getOffsetParent || Ha, o = this.getDimensions;
|
|
4803
4799
|
return {
|
|
4804
4800
|
reference: w0(e, await n(t), s),
|
|
4805
4801
|
floating: {
|
|
@@ -4816,7 +4812,7 @@ const k0 = {
|
|
|
4816
4812
|
convertOffsetParentRelativeRectToViewportRelativeRect: p0,
|
|
4817
4813
|
getDocumentElement: Ze,
|
|
4818
4814
|
getClippingRect: y0,
|
|
4819
|
-
getOffsetParent:
|
|
4815
|
+
getOffsetParent: Ha,
|
|
4820
4816
|
getElementRects: $0,
|
|
4821
4817
|
getClientRects: h0,
|
|
4822
4818
|
getDimensions: b0,
|
|
@@ -4975,9 +4971,9 @@ const T0 = (a, e, t) => {
|
|
|
4975
4971
|
}
|
|
4976
4972
|
Dt(() => {
|
|
4977
4973
|
c();
|
|
4978
|
-
}),
|
|
4974
|
+
}), dn(() => {
|
|
4979
4975
|
l.value();
|
|
4980
|
-
}),
|
|
4976
|
+
}), ua(() => {
|
|
4981
4977
|
l.value();
|
|
4982
4978
|
});
|
|
4983
4979
|
};
|
|
@@ -5097,7 +5093,7 @@ function P0(a, e, t) {
|
|
|
5097
5093
|
disabledProp: $,
|
|
5098
5094
|
searchStart: Y,
|
|
5099
5095
|
searchFilter: he
|
|
5100
|
-
} = $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(() => {
|
|
5101
5097
|
if (ue.value) {
|
|
5102
5098
|
let m = Rt.value || /* istanbul ignore next */
|
|
5103
5099
|
[], H = [];
|
|
@@ -5127,7 +5123,7 @@ function P0(a, e, t) {
|
|
|
5127
5123
|
[ie.value]: [...gt.value],
|
|
5128
5124
|
__CREATE__: !0
|
|
5129
5125
|
}), m.concat(H);
|
|
5130
|
-
}),
|
|
5126
|
+
}), Fa = b(() => {
|
|
5131
5127
|
let m = [...Rt.value].map((H) => ({ ...H }));
|
|
5132
5128
|
return ot.value.length && (m[0] && m[0].__CREATE__ ? m[0][ie.value] = [...ot.value, ...m[0][ie.value]] : m = [{
|
|
5133
5129
|
[ae.value]: " ",
|
|
@@ -5137,8 +5133,8 @@ function P0(a, e, t) {
|
|
|
5137
5133
|
}), F1 = b(() => {
|
|
5138
5134
|
if (!ue.value)
|
|
5139
5135
|
return [];
|
|
5140
|
-
let m =
|
|
5141
|
-
return
|
|
5136
|
+
let m = Fa.value;
|
|
5137
|
+
return sn((m || /* istanbul ignore next */
|
|
5142
5138
|
[]).map((H, se) => {
|
|
5143
5139
|
const ve = g1(H[ie.value]);
|
|
5144
5140
|
return {
|
|
@@ -5157,12 +5153,12 @@ function P0(a, e, t) {
|
|
|
5157
5153
|
case "tags":
|
|
5158
5154
|
return !Le(Z.value) && Z.value.length > 0;
|
|
5159
5155
|
}
|
|
5160
|
-
}),
|
|
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 ? [] : [{
|
|
5161
5157
|
[D.value]: U.value,
|
|
5162
5158
|
[Oe.value]: U.value,
|
|
5163
5159
|
[u.value]: U.value,
|
|
5164
5160
|
__CREATE__: !0
|
|
5165
|
-
}]), Oe = b(() => o.value || u.value),
|
|
5161
|
+
}]), Oe = b(() => o.value || u.value), Ya = b(() => {
|
|
5166
5162
|
switch (n.value) {
|
|
5167
5163
|
case "single":
|
|
5168
5164
|
return null;
|
|
@@ -5170,7 +5166,7 @@ function P0(a, e, t) {
|
|
|
5170
5166
|
case "tags":
|
|
5171
5167
|
return [];
|
|
5172
5168
|
}
|
|
5173
|
-
}),
|
|
5169
|
+
}), Ka = b(() => M.value || Ie.value), lt = (m) => {
|
|
5174
5170
|
switch (typeof m != "object" && (m = Ne(m)), n.value) {
|
|
5175
5171
|
case "single":
|
|
5176
5172
|
Pe(m);
|
|
@@ -5194,17 +5190,17 @@ function P0(a, e, t) {
|
|
|
5194
5190
|
e.emit("deselect", q1(m), m, W);
|
|
5195
5191
|
}, q1 = (m) => w.value ? m : m[D.value], W1 = (m) => {
|
|
5196
5192
|
rt(m);
|
|
5197
|
-
},
|
|
5193
|
+
}, xa = (m, H) => {
|
|
5198
5194
|
if (H.button !== 0) {
|
|
5199
5195
|
H.preventDefault();
|
|
5200
5196
|
return;
|
|
5201
5197
|
}
|
|
5202
5198
|
W1(m);
|
|
5203
5199
|
}, z1 = () => {
|
|
5204
|
-
e.emit("clear", W), Pe(
|
|
5200
|
+
e.emit("clear", W), Pe(Ya.value);
|
|
5205
5201
|
}, Be = (m) => {
|
|
5206
5202
|
if (m.group !== void 0)
|
|
5207
|
-
return n.value === "single" ? !1 :
|
|
5203
|
+
return n.value === "single" ? !1 : en(m[ie.value]) && m[ie.value].length;
|
|
5208
5204
|
switch (n.value) {
|
|
5209
5205
|
case "single":
|
|
5210
5206
|
return !Le(Z.value) && Z.value[D.value] == m[D.value];
|
|
@@ -5212,7 +5208,7 @@ function P0(a, e, t) {
|
|
|
5212
5208
|
case "multiple":
|
|
5213
5209
|
return !Le(Z.value) && Z.value.map((H) => H[D.value]).indexOf(m[D.value]) !== -1;
|
|
5214
5210
|
}
|
|
5215
|
-
}, 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) => {
|
|
5216
5212
|
if (!h1(m)) {
|
|
5217
5213
|
if (q && q.value && !Be(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = q.value(m, W), m instanceof Promise)) {
|
|
5218
5214
|
Ie.value = !0, m.then((H) => {
|
|
@@ -5254,39 +5250,39 @@ function P0(a, e, t) {
|
|
|
5254
5250
|
m && C1(m), K.value && Ce(), m && lt(m), l.value && st(), k.value && it();
|
|
5255
5251
|
break;
|
|
5256
5252
|
}
|
|
5257
|
-
k.value ||
|
|
5258
|
-
},
|
|
5253
|
+
k.value || Ra();
|
|
5254
|
+
}, Xa = (m) => {
|
|
5259
5255
|
if (!(h1(m) || n.value === "single" || !L.value)) {
|
|
5260
5256
|
switch (n.value) {
|
|
5261
5257
|
case "multiple":
|
|
5262
5258
|
case "tags":
|
|
5263
|
-
|
|
5259
|
+
Ja(m[ie.value]) ? rt(m[ie.value]) : lt(
|
|
5264
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)
|
|
5265
5261
|
);
|
|
5266
5262
|
break;
|
|
5267
5263
|
}
|
|
5268
|
-
k.value &&
|
|
5264
|
+
k.value && Ua();
|
|
5269
5265
|
}
|
|
5270
5266
|
}, C1 = (m) => {
|
|
5271
|
-
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),
|
|
5272
|
-
},
|
|
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 = () => {
|
|
5273
5269
|
n.value !== "single" && lt(yt.value.filter((m) => !m.disabled && !Be(m)));
|
|
5274
|
-
},
|
|
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(
|
|
5275
5271
|
parseInt(m) == m ? parseInt(m) : m
|
|
5276
|
-
),
|
|
5272
|
+
), an = (m) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(m), nn = (m) => {
|
|
5277
5273
|
gt.value.push(m);
|
|
5278
|
-
},
|
|
5274
|
+
}, sn = (m) => O.value ? m.filter(
|
|
5279
5275
|
(H) => U.value ? H.__VISIBLE__.length : H[ie.value].length
|
|
5280
5276
|
) : m.filter((H) => U.value ? H.__VISIBLE__.length : !0), _1 = (m, H = !0) => {
|
|
5281
5277
|
let se = m;
|
|
5282
5278
|
if (U.value && V.value) {
|
|
5283
5279
|
let ve = he.value;
|
|
5284
5280
|
ve || (ve = (bt, F4) => {
|
|
5285
|
-
let x1 = $1(
|
|
5281
|
+
let x1 = $1(ja(bt[Oe.value]), y.value);
|
|
5286
5282
|
return Y.value ? x1.startsWith($1(U.value, y.value)) : x1.indexOf($1(U.value, y.value)) !== -1;
|
|
5287
5283
|
}), se = se.filter(ve);
|
|
5288
5284
|
}
|
|
5289
|
-
return l.value && H && (se = se.filter((ve) => !
|
|
5285
|
+
return l.value && H && (se = se.filter((ve) => !an(ve))), se;
|
|
5290
5286
|
}, g1 = (m) => {
|
|
5291
5287
|
let H = m;
|
|
5292
5288
|
return D0(H) && (H = Object.keys(H).map((se) => {
|
|
@@ -5319,7 +5315,7 @@ function P0(a, e, t) {
|
|
|
5319
5315
|
Z.value[H][u.value] = ve, w.value && (E.value[H][u.value] = ve);
|
|
5320
5316
|
}
|
|
5321
5317
|
});
|
|
5322
|
-
},
|
|
5318
|
+
}, on = (m) => {
|
|
5323
5319
|
jt(m);
|
|
5324
5320
|
}, Zt = (m) => Le(m) ? n.value === "single" ? {} : [] : w.value ? m : n.value === "single" ? Ne(m) || (X.value ? {
|
|
5325
5321
|
[u.value]: m,
|
|
@@ -5333,7 +5329,7 @@ function P0(a, e, t) {
|
|
|
5333
5329
|
f1.value = re(U, (m) => {
|
|
5334
5330
|
m.length < g.value || !m && g.value !== 0 || (Ie.value = !0, R.value && (Fe.value = []), setTimeout(() => {
|
|
5335
5331
|
m == U.value && s.value(U.value, W).then((H) => {
|
|
5336
|
-
(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);
|
|
5337
5333
|
}).catch(
|
|
5338
5334
|
/* istanbul ignore next */
|
|
5339
5335
|
(H) => {
|
|
@@ -5368,31 +5364,31 @@ function P0(a, e, t) {
|
|
|
5368
5364
|
fo: yt,
|
|
5369
5365
|
filteredOptions: yt,
|
|
5370
5366
|
hasSelected: p1,
|
|
5371
|
-
multipleLabelText:
|
|
5367
|
+
multipleLabelText: qa,
|
|
5372
5368
|
eo: qe,
|
|
5373
5369
|
extendedOptions: qe,
|
|
5374
5370
|
eg: Rt,
|
|
5375
5371
|
extendedGroups: Rt,
|
|
5376
5372
|
fg: F1,
|
|
5377
5373
|
filteredGroups: F1,
|
|
5378
|
-
noOptions:
|
|
5379
|
-
noResults:
|
|
5374
|
+
noOptions: Wa,
|
|
5375
|
+
noResults: za,
|
|
5380
5376
|
resolving: Ie,
|
|
5381
|
-
busy:
|
|
5377
|
+
busy: Ka,
|
|
5382
5378
|
offset: v1,
|
|
5383
5379
|
select: lt,
|
|
5384
5380
|
deselect: rt,
|
|
5385
5381
|
remove: W1,
|
|
5386
|
-
selectAll:
|
|
5382
|
+
selectAll: Qa,
|
|
5387
5383
|
clear: z1,
|
|
5388
5384
|
isSelected: Be,
|
|
5389
5385
|
isDisabled: h1,
|
|
5390
5386
|
isMax: m1,
|
|
5391
5387
|
getOption: Ne,
|
|
5392
|
-
handleOptionClick:
|
|
5393
|
-
handleGroupClick:
|
|
5394
|
-
handleTagRemove:
|
|
5395
|
-
refreshOptions:
|
|
5388
|
+
handleOptionClick: Ga,
|
|
5389
|
+
handleGroupClick: Xa,
|
|
5390
|
+
handleTagRemove: xa,
|
|
5391
|
+
refreshOptions: on,
|
|
5396
5392
|
resolveOptions: jt,
|
|
5397
5393
|
refreshLabels: y1
|
|
5398
5394
|
};
|
|
@@ -6681,7 +6677,7 @@ const be = /* @__PURE__ */ G({
|
|
|
6681
6677
|
ye(n.$slots, (i, l) => ({
|
|
6682
6678
|
name: l,
|
|
6683
6679
|
fn: j((r) => [
|
|
6684
|
-
te(n.$slots, l, vn(
|
|
6680
|
+
te(n.$slots, l, fn(vn(r ?? {})))
|
|
6685
6681
|
])
|
|
6686
6682
|
}))
|
|
6687
6683
|
]), 1536));
|
|
@@ -6798,7 +6794,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6798
6794
|
key: C.id,
|
|
6799
6795
|
class: "ao-subtask"
|
|
6800
6796
|
}, [
|
|
6801
|
-
((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, {
|
|
6802
6798
|
key: 0,
|
|
6803
6799
|
class: "ao-subtask__check",
|
|
6804
6800
|
"icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -6839,7 +6835,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6839
6835
|
]),
|
|
6840
6836
|
_: 2
|
|
6841
6837
|
}, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
|
|
6842
|
-
d.isEditable ? (v(), N(
|
|
6838
|
+
d.isEditable ? (v(), N(ce, {
|
|
6843
6839
|
key: 2,
|
|
6844
6840
|
class: "ao-subtask__delete",
|
|
6845
6841
|
"icon-name": "CancelRounded",
|
|
@@ -6852,7 +6848,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
|
|
|
6852
6848
|
}), 128))
|
|
6853
6849
|
]),
|
|
6854
6850
|
f("div", C5, [
|
|
6855
|
-
d.isEditable ? (v(), N(
|
|
6851
|
+
d.isEditable ? (v(), N(ce, {
|
|
6856
6852
|
key: 0,
|
|
6857
6853
|
label: d.$t("activity.tasks.add"),
|
|
6858
6854
|
"icon-name": "Add",
|
|
@@ -6888,7 +6884,7 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], y5 = {
|
|
|
6888
6884
|
n.forEach((c) => {
|
|
6889
6885
|
document.body.addEventListener(c, (u) => u.preventDefault());
|
|
6890
6886
|
});
|
|
6891
|
-
}),
|
|
6887
|
+
}), ua(() => {
|
|
6892
6888
|
n.forEach((c) => {
|
|
6893
6889
|
document.body.removeEventListener(
|
|
6894
6890
|
c,
|
|
@@ -6937,14 +6933,14 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], y5 = {
|
|
|
6937
6933
|
target: "_blank",
|
|
6938
6934
|
rel: "noopener noreferrer"
|
|
6939
6935
|
}, [
|
|
6940
|
-
A(
|
|
6936
|
+
A(de, {
|
|
6941
6937
|
class: "ao-file__icon",
|
|
6942
6938
|
name: "AttachFileRounded",
|
|
6943
6939
|
size: "sm"
|
|
6944
6940
|
}),
|
|
6945
6941
|
f("span", w5, z(p.name), 1)
|
|
6946
6942
|
], 8, b5),
|
|
6947
|
-
c.isEditable ? (v(), N(
|
|
6943
|
+
c.isEditable ? (v(), N(ce, {
|
|
6948
6944
|
key: 0,
|
|
6949
6945
|
class: "ao-files__delete-button",
|
|
6950
6946
|
"icon-name": "DeleteOutlineRounded",
|
|
@@ -6991,12 +6987,12 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
6991
6987
|
const t = a, s = b(() => {
|
|
6992
6988
|
const S = t.user;
|
|
6993
6989
|
return S ? `${S == null ? void 0 : S.firstName} ${S == null ? void 0 : S.lastName}` : null;
|
|
6994
|
-
}), 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) => {
|
|
6995
6991
|
e("edit", S);
|
|
6996
6992
|
}), w = () => {
|
|
6997
6993
|
e("remove");
|
|
6998
6994
|
}, M = J(2);
|
|
6999
|
-
return
|
|
6995
|
+
return pn(() => {
|
|
7000
6996
|
Ee(() => {
|
|
7001
6997
|
var S;
|
|
7002
6998
|
if (!o.value) {
|
|
@@ -7036,14 +7032,14 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
7036
7032
|
]),
|
|
7037
7033
|
S.isEditable ? (v(), h("div", L5, [
|
|
7038
7034
|
F(o) ? (v(), h(fe, { key: 0 }, [
|
|
7039
|
-
A(
|
|
7035
|
+
A(ce, {
|
|
7040
7036
|
"icon-name": "CloseRounded",
|
|
7041
7037
|
size: "sm",
|
|
7042
7038
|
variant: "ghost",
|
|
7043
7039
|
color: "neutral",
|
|
7044
7040
|
onClick: F(p)
|
|
7045
7041
|
}, null, 8, ["onClick"]),
|
|
7046
|
-
A(
|
|
7042
|
+
A(ce, {
|
|
7047
7043
|
"icon-name": "CheckSmallRounded",
|
|
7048
7044
|
size: "sm",
|
|
7049
7045
|
variant: "solid",
|
|
@@ -7051,14 +7047,14 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
|
|
|
7051
7047
|
onClick: F(C)
|
|
7052
7048
|
}, null, 8, ["onClick"])
|
|
7053
7049
|
], 64)) : (v(), h(fe, { key: 1 }, [
|
|
7054
|
-
A(
|
|
7050
|
+
A(ce, {
|
|
7055
7051
|
label: S.$t("activity.comment.delete"),
|
|
7056
7052
|
size: "sm",
|
|
7057
7053
|
variant: "ghost",
|
|
7058
7054
|
color: "neutral",
|
|
7059
7055
|
onClick: w
|
|
7060
7056
|
}, null, 8, ["label"]),
|
|
7061
|
-
A(
|
|
7057
|
+
A(ce, {
|
|
7062
7058
|
label: S.$t("activity.comment.edit"),
|
|
7063
7059
|
size: "sm",
|
|
7064
7060
|
variant: "ghost",
|
|
@@ -7147,7 +7143,7 @@ const D5 = {
|
|
|
7147
7143
|
])
|
|
7148
7144
|
]),
|
|
7149
7145
|
f("div", R5, [
|
|
7150
|
-
A(
|
|
7146
|
+
A(ce, {
|
|
7151
7147
|
type: "submit",
|
|
7152
7148
|
"icon-name": "SendRounded",
|
|
7153
7149
|
color: "primary",
|
|
@@ -7413,7 +7409,7 @@ const j5 = {
|
|
|
7413
7409
|
type: "checkbox"
|
|
7414
7410
|
}, null, 8, a7), [
|
|
7415
7411
|
[
|
|
7416
|
-
|
|
7412
|
+
hn,
|
|
7417
7413
|
i.value,
|
|
7418
7414
|
void 0,
|
|
7419
7415
|
{ lazy: !0 }
|
|
@@ -7424,7 +7420,7 @@ const j5 = {
|
|
|
7424
7420
|
]),
|
|
7425
7421
|
f("fieldset", n7, [
|
|
7426
7422
|
f("div", s7, [
|
|
7427
|
-
A(
|
|
7423
|
+
A(de, { name: "AccountBoxSharp" }),
|
|
7428
7424
|
A(me, {
|
|
7429
7425
|
level: 4,
|
|
7430
7426
|
title: y.$t("activity.assignee.title")
|
|
@@ -7462,7 +7458,7 @@ const j5 = {
|
|
|
7462
7458
|
]),
|
|
7463
7459
|
f("fieldset", r7, [
|
|
7464
7460
|
f("div", u7, [
|
|
7465
|
-
A(
|
|
7461
|
+
A(de, { name: "SelectCheckBox" }),
|
|
7466
7462
|
A(me, {
|
|
7467
7463
|
level: 4,
|
|
7468
7464
|
title: y.$t("activity.tasks.title")
|
|
@@ -7484,7 +7480,7 @@ const j5 = {
|
|
|
7484
7480
|
]),
|
|
7485
7481
|
f("fieldset", d7, [
|
|
7486
7482
|
f("div", f7, [
|
|
7487
|
-
A(
|
|
7483
|
+
A(de, { name: "FlowsheetOutlineRounded" }),
|
|
7488
7484
|
A(me, {
|
|
7489
7485
|
level: 4,
|
|
7490
7486
|
title: y.$t("activity.dependencies.title")
|
|
@@ -7559,7 +7555,7 @@ const j5 = {
|
|
|
7559
7555
|
]),
|
|
7560
7556
|
y.isTemplate !== !0 && y.userId ? (v(), h("div", S7, [
|
|
7561
7557
|
f("div", T7, [
|
|
7562
|
-
A(
|
|
7558
|
+
A(de, { name: "AttachFileRounded" }),
|
|
7563
7559
|
A(me, {
|
|
7564
7560
|
level: 4,
|
|
7565
7561
|
title: y.$t("activity.attachments.title")
|
|
@@ -7572,7 +7568,7 @@ const j5 = {
|
|
|
7572
7568
|
onRemove: K
|
|
7573
7569
|
}, null, 8, ["attachments", "is-editable"]),
|
|
7574
7570
|
f("div", E7, [
|
|
7575
|
-
A(
|
|
7571
|
+
A(de, { name: "ChatOutline" }),
|
|
7576
7572
|
A(me, {
|
|
7577
7573
|
level: 4,
|
|
7578
7574
|
title: y.$t("activity.comments.title")
|
|
@@ -7705,7 +7701,7 @@ const I7 = /* @__PURE__ */ G({
|
|
|
7705
7701
|
"onUpdate:modelValue": g[5] || (g[5] = (V) => M.value = V),
|
|
7706
7702
|
options: S.value
|
|
7707
7703
|
}, null, 8, ["modelValue", "options"]),
|
|
7708
|
-
A(
|
|
7704
|
+
A(ce, {
|
|
7709
7705
|
class: "ao-rule-line__remove",
|
|
7710
7706
|
"icon-name": "CloseRounded",
|
|
7711
7707
|
variant: "ghost",
|
|
@@ -8025,7 +8021,7 @@ const D7 = {
|
|
|
8025
8021
|
}, null, 8, ["title"])
|
|
8026
8022
|
]),
|
|
8027
8023
|
secondary: j(() => [
|
|
8028
|
-
A(
|
|
8024
|
+
A(ce, {
|
|
8029
8025
|
label: O.$t("template.rules.edit"),
|
|
8030
8026
|
color: "primary",
|
|
8031
8027
|
"icon-name": "Settings",
|
|
@@ -8238,7 +8234,7 @@ const W7 = { class: "ao-card-project-phase__header" }, z7 = { class: "ao-card-pr
|
|
|
8238
8234
|
f("div", Y7, [
|
|
8239
8235
|
n.value ? (v(), h(fe, { key: 0 }, [
|
|
8240
8236
|
f("div", K7, [
|
|
8241
|
-
A(
|
|
8237
|
+
A(de, {
|
|
8242
8238
|
name: "MountainFlagOutlineRounded",
|
|
8243
8239
|
size: "sm"
|
|
8244
8240
|
}),
|
|
@@ -8261,7 +8257,7 @@ const W7 = { class: "ao-card-project-phase__header" }, z7 = { class: "ao-card-pr
|
|
|
8261
8257
|
name: "header",
|
|
8262
8258
|
fn: j(() => [
|
|
8263
8259
|
f("div", W7, [
|
|
8264
|
-
A(
|
|
8260
|
+
A(ce, {
|
|
8265
8261
|
class: "ao-card-project-phase__archive",
|
|
8266
8262
|
color: "primary",
|
|
8267
8263
|
variant: "ghost",
|
|
@@ -8301,7 +8297,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8301
8297
|
return (l = t.activities) == null ? void 0 : l.length;
|
|
8302
8298
|
}), n = b(() => {
|
|
8303
8299
|
var l;
|
|
8304
|
-
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;
|
|
8305
8301
|
}), o = b(() => (n.value || 0) / (s.value || 1)), i = (l) => {
|
|
8306
8302
|
e("updateMilestone", { id: t.id, name: l });
|
|
8307
8303
|
};
|
|
@@ -8321,7 +8317,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8321
8317
|
"onUpdate:title": i
|
|
8322
8318
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8323
8319
|
l.isEditable ? (v(), h("div", J7, [
|
|
8324
|
-
A(
|
|
8320
|
+
A(ce, {
|
|
8325
8321
|
color: "primary",
|
|
8326
8322
|
variant: "ghost",
|
|
8327
8323
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -8339,7 +8335,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
|
|
|
8339
8335
|
f("div", t9, [
|
|
8340
8336
|
s.value ? (v(), h(fe, { key: 0 }, [
|
|
8341
8337
|
f("div", a9, [
|
|
8342
|
-
A(
|
|
8338
|
+
A(de, {
|
|
8343
8339
|
name: "SelectCheckBox",
|
|
8344
8340
|
size: "sm"
|
|
8345
8341
|
}),
|
|
@@ -8399,7 +8395,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
|
|
|
8399
8395
|
};
|
|
8400
8396
|
return (d, p) => (v(), h("li", o9, [
|
|
8401
8397
|
d.isEditable ? (v(), h("div", l9, [
|
|
8402
|
-
A(
|
|
8398
|
+
A(de, {
|
|
8403
8399
|
name: "DragIndicator",
|
|
8404
8400
|
class: "ao-project-phase__drag-handle"
|
|
8405
8401
|
})
|
|
@@ -8569,7 +8565,7 @@ const g9 = ["onSubmit"], y9 = { class: "ao-add-template-modal__form-body" }, b9
|
|
|
8569
8565
|
])
|
|
8570
8566
|
]),
|
|
8571
8567
|
f("footer", w9, [
|
|
8572
|
-
A(
|
|
8568
|
+
A(ce, {
|
|
8573
8569
|
label: l.$t("project.template.add.label"),
|
|
8574
8570
|
type: "submit",
|
|
8575
8571
|
color: "primary",
|
|
@@ -8635,7 +8631,7 @@ function A9(a, e, t, s, n, o) {
|
|
|
8635
8631
|
}, z(a.rightLabel), 3)
|
|
8636
8632
|
]);
|
|
8637
8633
|
}
|
|
8638
|
-
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({
|
|
8639
8635
|
__name: "AoProjectOverviewProject",
|
|
8640
8636
|
props: {
|
|
8641
8637
|
project: {},
|
|
@@ -8693,13 +8689,13 @@ const Ba = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8693
8689
|
e("applyTemplate", { templateId: I, projectId: ee }), X.value = !1;
|
|
8694
8690
|
};
|
|
8695
8691
|
return (I, ee) => {
|
|
8696
|
-
const y =
|
|
8692
|
+
const y = mn("RouterView");
|
|
8697
8693
|
return v(), h(fe, null, [
|
|
8698
8694
|
f("div", S9, [
|
|
8699
8695
|
f("div", T9, [
|
|
8700
8696
|
A(r1, null, {
|
|
8701
8697
|
primary: j(() => [
|
|
8702
|
-
A(
|
|
8698
|
+
A(Pa, {
|
|
8703
8699
|
"is-left": !0,
|
|
8704
8700
|
"right-label": I.$t("project.switch.feed"),
|
|
8705
8701
|
"left-label": I.$t("project.switch.overview"),
|
|
@@ -8707,7 +8703,7 @@ const Ba = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
|
|
|
8707
8703
|
k || I.$router.push({ name: F(Re).feed });
|
|
8708
8704
|
})
|
|
8709
8705
|
}, null, 8, ["right-label", "left-label"]),
|
|
8710
|
-
I.isEditable ? (v(), N(
|
|
8706
|
+
I.isEditable ? (v(), N(ce, {
|
|
8711
8707
|
key: 0,
|
|
8712
8708
|
class: "ao-project-overview__add-template",
|
|
8713
8709
|
color: "primary",
|
|
@@ -8802,7 +8798,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8802
8798
|
}, q9 = { class: "ao-card-feed__subitem" }, W9 = { class: "ao-card-feed__footer-row" }, z9 = {
|
|
8803
8799
|
key: 0,
|
|
8804
8800
|
class: "ao-card-feed__progress-wrapper"
|
|
8805
|
-
}, 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({
|
|
8806
8802
|
__name: "AoCardFeed",
|
|
8807
8803
|
props: {
|
|
8808
8804
|
id: {},
|
|
@@ -8852,7 +8848,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8852
8848
|
color: p.projectColor ? void 0 : "primary",
|
|
8853
8849
|
"raw-color": p.projectColor
|
|
8854
8850
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
8855
|
-
p.important ? (v(), N(
|
|
8851
|
+
p.important ? (v(), N(de, {
|
|
8856
8852
|
key: 1,
|
|
8857
8853
|
name: "FlagRounded",
|
|
8858
8854
|
class: "ao-card-feed__important ao-card-feed__header-secondary",
|
|
@@ -8895,14 +8891,14 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8895
8891
|
]),
|
|
8896
8892
|
p.comments || p.attachments ? (v(), h("ul", U9, [
|
|
8897
8893
|
p.comments ? (v(), h("li", j9, [
|
|
8898
|
-
A(
|
|
8894
|
+
A(de, {
|
|
8899
8895
|
name: "ChatOutline",
|
|
8900
8896
|
size: "sm"
|
|
8901
8897
|
}),
|
|
8902
8898
|
f("span", Z9, z(p.comments), 1)
|
|
8903
8899
|
])) : T("", !0),
|
|
8904
8900
|
p.attachments ? (v(), h("li", F9, [
|
|
8905
|
-
A(
|
|
8901
|
+
A(de, {
|
|
8906
8902
|
name: "AttachFileRounded",
|
|
8907
8903
|
size: "sm"
|
|
8908
8904
|
}),
|
|
@@ -8913,7 +8909,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
|
|
|
8913
8909
|
f("div", W9, [
|
|
8914
8910
|
p.tasks && p.tasks.length ? (v(), h("div", z9, [
|
|
8915
8911
|
f("div", Y9, [
|
|
8916
|
-
A(
|
|
8912
|
+
A(de, {
|
|
8917
8913
|
name: "SelectCheckBox",
|
|
8918
8914
|
size: "sm"
|
|
8919
8915
|
}),
|
|
@@ -8995,7 +8991,7 @@ const x9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
8995
8991
|
level: 5
|
|
8996
8992
|
}, null, 8, ["title"])
|
|
8997
8993
|
]),
|
|
8998
|
-
A(
|
|
8994
|
+
A(ce, {
|
|
8999
8995
|
"icon-name": "CloseRounded",
|
|
9000
8996
|
variant: "ghost",
|
|
9001
8997
|
onClick: r
|
|
@@ -9012,7 +9008,7 @@ const x9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
9012
9008
|
item: j(({ element: M }) => {
|
|
9013
9009
|
var S, _, g, V;
|
|
9014
9010
|
return [
|
|
9015
|
-
A(
|
|
9011
|
+
A(Ba, {
|
|
9016
9012
|
id: M.id,
|
|
9017
9013
|
name: M.name || M.id,
|
|
9018
9014
|
"phase-name": (S = n.value) == null ? void 0 : S.name,
|
|
@@ -9035,7 +9031,7 @@ const x9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-mileston
|
|
|
9035
9031
|
p.isEditable ? {
|
|
9036
9032
|
name: "secondary",
|
|
9037
9033
|
fn: j(() => [
|
|
9038
|
-
A(
|
|
9034
|
+
A(ce, {
|
|
9039
9035
|
color: "primary",
|
|
9040
9036
|
variant: "ghost",
|
|
9041
9037
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9348,7 +9344,7 @@ const v4 = {
|
|
|
9348
9344
|
item: j(({ element: u }) => {
|
|
9349
9345
|
var d, p, C, w, M, S, _, g;
|
|
9350
9346
|
return [
|
|
9351
|
-
A(
|
|
9347
|
+
A(Ba, {
|
|
9352
9348
|
id: u.id,
|
|
9353
9349
|
name: u.name,
|
|
9354
9350
|
"project-name": (d = u.project) == null ? void 0 : d.name,
|
|
@@ -9370,7 +9366,7 @@ const v4 = {
|
|
|
9370
9366
|
onRemoveAssignee: () => i({ id: u.id, assigneeId: null })
|
|
9371
9367
|
}, {
|
|
9372
9368
|
secondary: j(() => [
|
|
9373
|
-
A(
|
|
9369
|
+
A(ce, {
|
|
9374
9370
|
color: "primary",
|
|
9375
9371
|
variant: "ghost",
|
|
9376
9372
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9387,7 +9383,7 @@ const v4 = {
|
|
|
9387
9383
|
}),
|
|
9388
9384
|
footer: j(() => [
|
|
9389
9385
|
r.isLoading ? (v(), h("div", h4, [
|
|
9390
|
-
A(
|
|
9386
|
+
A(de, { name: "Loading" })
|
|
9391
9387
|
])) : r.hasMore ? (v(), h("div", {
|
|
9392
9388
|
key: 2,
|
|
9393
9389
|
ref_key: "scrollEnd",
|
|
@@ -9436,11 +9432,11 @@ const b4 = { class: "ao-field ao-search-field" }, w4 = ["value", "placeholder",
|
|
|
9436
9432
|
(...r) => F(n) && F(n)(...r)),
|
|
9437
9433
|
onKeypress: Ye(s, ["enter"])
|
|
9438
9434
|
}, null, 40, w4),
|
|
9439
|
-
A(
|
|
9435
|
+
A(de, {
|
|
9440
9436
|
name: "SearchRounded",
|
|
9441
9437
|
class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
9442
9438
|
}, null, 8, ["class"]),
|
|
9443
|
-
A(
|
|
9439
|
+
A(ce, {
|
|
9444
9440
|
"icon-name": "CloseRounded",
|
|
9445
9441
|
size: "sm",
|
|
9446
9442
|
color: "primary",
|
|
@@ -9620,7 +9616,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9620
9616
|
A(r1, null, {
|
|
9621
9617
|
primary: j(() => [
|
|
9622
9618
|
f("div", T4, [
|
|
9623
|
-
t.project ? (v(), N(
|
|
9619
|
+
t.project ? (v(), N(Pa, {
|
|
9624
9620
|
key: 0,
|
|
9625
9621
|
"is-left": !1,
|
|
9626
9622
|
"right-label": $.$t("project.switch.feed"),
|
|
@@ -9678,7 +9674,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
|
|
|
9678
9674
|
_: 1
|
|
9679
9675
|
}, 8, ["model-value", "options", "placeholder"])
|
|
9680
9676
|
]),
|
|
9681
|
-
A(
|
|
9677
|
+
A(ce, {
|
|
9682
9678
|
class: "ao-feed__show-archived",
|
|
9683
9679
|
size: "sm",
|
|
9684
9680
|
"icon-name": $.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -9899,7 +9895,7 @@ const Tt = {
|
|
|
9899
9895
|
return (l, r) => (v(), h("div", j4, [
|
|
9900
9896
|
A(r1, null, {
|
|
9901
9897
|
secondary: j(() => [
|
|
9902
|
-
A(
|
|
9898
|
+
A(ce, {
|
|
9903
9899
|
label: l.$t("templates.new"),
|
|
9904
9900
|
color: "primary",
|
|
9905
9901
|
"icon-name": "Add",
|