@26lights/orcha 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +305 -284
- package/dist/orcha.umd.js +1 -1
- package/dist/src/components/AoInputField.vue.d.ts +37 -0
- package/dist/src/main.d.ts +1 -0
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ie, createElementBlock as m, createElementVNode as f, pushScopeId as ls, popScopeId as rs, createStaticVNode as us, computed as y, resolveDynamicComponent as at, normalizeClass as x, renderSlot as X, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as ds, withCtx as U, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Dt, onBeforeUnmount as cs, onUnmounted as da, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as fs, guardReactiveProps as vs, onUpdated as ps, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s } from "vue";
|
|
2
2
|
import { RouterView as gs } from "vue-router";
|
|
3
3
|
import Xe from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const i8 = /* @__PURE__ */ K({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(a) {
|
|
10
|
-
return (e, t) => (c(), R(
|
|
10
|
+
return (e, t) => (c(), R(q(gs), Ie({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), P = (a, e) => {
|
|
13
13
|
const t = a.__vccOpts || a;
|
|
@@ -614,7 +614,7 @@ const Rl = /* @__PURE__ */ P(Dl, [["render", Nl]]), Ul = {}, jl = {
|
|
|
614
614
|
function ql(a, e) {
|
|
615
615
|
return c(), m("svg", jl, Fl);
|
|
616
616
|
}
|
|
617
|
-
const zl = /* @__PURE__ */ P(Ul, [["render", ql]]), Wl =
|
|
617
|
+
const zl = /* @__PURE__ */ P(Ul, [["render", ql]]), Wl = K({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
620
|
const S1 = (a) => (ls("data-v-ad6da4a9"), a = a(), rs(), a), Yl = {
|
|
@@ -1146,7 +1146,7 @@ const id = /* @__PURE__ */ P(ed, [["render", nd]]), od = /* @__PURE__ */ Object.
|
|
|
1146
1146
|
}, ca = {
|
|
1147
1147
|
ROUND: "round",
|
|
1148
1148
|
ROUNDED: "rounded"
|
|
1149
|
-
}, ce = /* @__PURE__ */
|
|
1149
|
+
}, ce = /* @__PURE__ */ K({
|
|
1150
1150
|
__name: "AoIcon",
|
|
1151
1151
|
props: {
|
|
1152
1152
|
name: {},
|
|
@@ -1155,14 +1155,14 @@ const id = /* @__PURE__ */ P(ed, [["render", nd]]), od = /* @__PURE__ */ Object.
|
|
|
1155
1155
|
setup(a) {
|
|
1156
1156
|
const e = a, t = y(() => od[e.name]);
|
|
1157
1157
|
return (n, s) => (c(), R(at(t.value), {
|
|
1158
|
-
class:
|
|
1158
|
+
class: x(["ao-icon", `ao-icon--${n.size}`])
|
|
1159
1159
|
}, null, 8, ["class"]));
|
|
1160
1160
|
}
|
|
1161
1161
|
});
|
|
1162
1162
|
const ud = ["type"], dd = {
|
|
1163
1163
|
key: 0,
|
|
1164
1164
|
class: "ao-button__label"
|
|
1165
|
-
}, fe = /* @__PURE__ */
|
|
1165
|
+
}, fe = /* @__PURE__ */ K({
|
|
1166
1166
|
__name: "AoButton",
|
|
1167
1167
|
props: {
|
|
1168
1168
|
label: { default: () => "" },
|
|
@@ -1180,7 +1180,7 @@ const ud = ["type"], dd = {
|
|
|
1180
1180
|
const e = a, t = y(() => e.size), n = y(() => e.isLoading ? "Loading" : e.iconName);
|
|
1181
1181
|
return (s, o) => (c(), m("button", {
|
|
1182
1182
|
type: s.type,
|
|
1183
|
-
class:
|
|
1183
|
+
class: x([
|
|
1184
1184
|
"ao-button",
|
|
1185
1185
|
`ao-button--${s.variant}`,
|
|
1186
1186
|
s.color ? `ao-button--${s.color}` : "",
|
|
@@ -1192,7 +1192,7 @@ const ud = ["type"], dd = {
|
|
|
1192
1192
|
])
|
|
1193
1193
|
}, [
|
|
1194
1194
|
X(s.$slots, "default", {}, () => [
|
|
1195
|
-
s.label ? (c(), m("span", dd,
|
|
1195
|
+
s.label ? (c(), m("span", dd, Z(s.label), 1)) : k("", !0)
|
|
1196
1196
|
]),
|
|
1197
1197
|
n.value ? (c(), R(ce, {
|
|
1198
1198
|
key: 0,
|
|
@@ -1232,7 +1232,7 @@ function fa(a) {
|
|
|
1232
1232
|
onDiscard: i
|
|
1233
1233
|
};
|
|
1234
1234
|
}
|
|
1235
|
-
const Ce = /* @__PURE__ */
|
|
1235
|
+
const Ce = /* @__PURE__ */ K({
|
|
1236
1236
|
__name: "AoTitle",
|
|
1237
1237
|
props: {
|
|
1238
1238
|
id: {},
|
|
@@ -1276,19 +1276,19 @@ const Ce = /* @__PURE__ */ x({
|
|
|
1276
1276
|
{
|
|
1277
1277
|
[`ao-title--${$.color}`]: !!$.color,
|
|
1278
1278
|
"ao-title--editable": $.isEditable,
|
|
1279
|
-
"ao-field__input ao-title--editing":
|
|
1280
|
-
"ao-title--readonly": !
|
|
1279
|
+
"ao-field__input ao-title--editing": q(s),
|
|
1280
|
+
"ao-title--readonly": !q(s)
|
|
1281
1281
|
}
|
|
1282
1282
|
],
|
|
1283
|
-
type:
|
|
1284
|
-
value:
|
|
1283
|
+
type: q(s) ? "text" : null,
|
|
1284
|
+
value: q(s) ? $.title : null,
|
|
1285
1285
|
tabindex: "0",
|
|
1286
1286
|
onKeyup: Ye(C, ["enter"])
|
|
1287
1287
|
}, ds(d.value), {
|
|
1288
|
-
onKeydown: Ye(
|
|
1288
|
+
onKeydown: Ye(q(v), ["esc"])
|
|
1289
1289
|
}), {
|
|
1290
1290
|
default: U(() => [
|
|
1291
|
-
e1(
|
|
1291
|
+
e1(Z($.title), 1)
|
|
1292
1292
|
]),
|
|
1293
1293
|
_: 1
|
|
1294
1294
|
}, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1315,7 +1315,7 @@ const cd = {
|
|
|
1315
1315
|
}, gd = {
|
|
1316
1316
|
key: 3,
|
|
1317
1317
|
class: "ao-card-horiz__secondary"
|
|
1318
|
-
}, va = /* @__PURE__ */
|
|
1318
|
+
}, va = /* @__PURE__ */ K({
|
|
1319
1319
|
__name: "AoCardHoriz",
|
|
1320
1320
|
props: {
|
|
1321
1321
|
id: {},
|
|
@@ -1333,7 +1333,7 @@ const cd = {
|
|
|
1333
1333
|
e("update:title", n);
|
|
1334
1334
|
};
|
|
1335
1335
|
return (n, s) => (c(), R(at(n.tagName), {
|
|
1336
|
-
class:
|
|
1336
|
+
class: x(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1337
1337
|
}, {
|
|
1338
1338
|
default: U(() => [
|
|
1339
1339
|
n.isDraggable ? (c(), m("div", cd, [
|
|
@@ -1360,7 +1360,7 @@ const cd = {
|
|
|
1360
1360
|
"onUpdate:title": t
|
|
1361
1361
|
}, null, 8, ["id", "title"]),
|
|
1362
1362
|
X(n.$slots, "subtitle", {}, () => [
|
|
1363
|
-
n.subtitle ? (c(), m("span", hd,
|
|
1363
|
+
n.subtitle ? (c(), m("span", hd, Z(n.subtitle), 1)) : k("", !0)
|
|
1364
1364
|
])
|
|
1365
1365
|
]),
|
|
1366
1366
|
n.$slots.header ? (c(), m("div", md, [
|
|
@@ -1381,7 +1381,7 @@ const cd = {
|
|
|
1381
1381
|
}, 8, ["class"]));
|
|
1382
1382
|
}
|
|
1383
1383
|
});
|
|
1384
|
-
const E1 = /* @__PURE__ */
|
|
1384
|
+
const E1 = /* @__PURE__ */ K({
|
|
1385
1385
|
__name: "AoTag",
|
|
1386
1386
|
props: {
|
|
1387
1387
|
label: {},
|
|
@@ -1397,7 +1397,7 @@ const E1 = /* @__PURE__ */ x({
|
|
|
1397
1397
|
() => t.value === "button" ? { type: "button" } : {}
|
|
1398
1398
|
);
|
|
1399
1399
|
return (s, o) => (c(), m("div", {
|
|
1400
|
-
class:
|
|
1400
|
+
class: x([
|
|
1401
1401
|
"ao-tag",
|
|
1402
1402
|
s.color ? `ao-tag--${s.color}` : "",
|
|
1403
1403
|
s.clickable ? "ao-tag--clickable" : "",
|
|
@@ -1410,7 +1410,7 @@ const E1 = /* @__PURE__ */ x({
|
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1411
1411
|
}), {
|
|
1412
1412
|
default: U(() => [
|
|
1413
|
-
e1(
|
|
1413
|
+
e1(Z(s.label), 1)
|
|
1414
1414
|
]),
|
|
1415
1415
|
_: 1
|
|
1416
1416
|
}, 16)),
|
|
@@ -1432,11 +1432,11 @@ const k1 = {
|
|
|
1432
1432
|
todo: "todo",
|
|
1433
1433
|
done: "done",
|
|
1434
1434
|
archived: "archived"
|
|
1435
|
-
},
|
|
1435
|
+
}, o8 = {
|
|
1436
1436
|
months: "months",
|
|
1437
1437
|
weeks: "weeks",
|
|
1438
1438
|
days: "days"
|
|
1439
|
-
},
|
|
1439
|
+
}, l8 = {
|
|
1440
1440
|
future: "future",
|
|
1441
1441
|
this_month: "this_month",
|
|
1442
1442
|
this_week: "this_week",
|
|
@@ -1460,7 +1460,7 @@ const k1 = {
|
|
|
1460
1460
|
TASKS: "tasks"
|
|
1461
1461
|
};
|
|
1462
1462
|
var $d = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))($d || {});
|
|
1463
|
-
const
|
|
1463
|
+
const r8 = {
|
|
1464
1464
|
add: "add",
|
|
1465
1465
|
remove: "remove",
|
|
1466
1466
|
moved: "moved"
|
|
@@ -2699,15 +2699,15 @@ var Lc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Vc = /P+p+|P+|
|
|
|
2699
2699
|
function Bc(a, e, t) {
|
|
2700
2700
|
var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, b, L, j;
|
|
2701
2701
|
ge(2, arguments);
|
|
2702
|
-
var W = String(e), H = s1(),
|
|
2702
|
+
var W = String(e), H = s1(), G = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Oc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2703
2703
|
if (!(te >= 1 && te <= 7))
|
|
2704
2704
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2705
2705
|
var E = Ke((C = (w = ($ = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (g = t.locale) === null || g === void 0 || (b = g.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && $ !== void 0 ? $ : H.weekStartsOn) !== null && w !== void 0 ? w : (L = H.locale) === null || L === void 0 || (j = L.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && C !== void 0 ? C : 0);
|
|
2706
2706
|
if (!(E >= 0 && E <= 6))
|
|
2707
2707
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2708
|
-
if (!
|
|
2708
|
+
if (!G.localize)
|
|
2709
2709
|
throw new RangeError("locale must contain localize property");
|
|
2710
|
-
if (!
|
|
2710
|
+
if (!G.formatLong)
|
|
2711
2711
|
throw new RangeError("locale must contain formatLong property");
|
|
2712
2712
|
var ee = Be(a);
|
|
2713
2713
|
if (!ma(ee))
|
|
@@ -2715,13 +2715,13 @@ function Bc(a, e, t) {
|
|
|
2715
2715
|
var de = Ad(ee), h = Sd(ee, de), O = {
|
|
2716
2716
|
firstWeekContainsDate: te,
|
|
2717
2717
|
weekStartsOn: E,
|
|
2718
|
-
locale:
|
|
2718
|
+
locale: G,
|
|
2719
2719
|
_originalDate: ee
|
|
2720
2720
|
}, z = W.match(Vc).map(function(ae) {
|
|
2721
2721
|
var re = ae[0];
|
|
2722
2722
|
if (re === "p" || re === "P") {
|
|
2723
2723
|
var oe = Zd[re];
|
|
2724
|
-
return oe(ae,
|
|
2724
|
+
return oe(ae, G.formatLong);
|
|
2725
2725
|
}
|
|
2726
2726
|
return ae;
|
|
2727
2727
|
}).join("").match(Lc).map(function(ae) {
|
|
@@ -2732,7 +2732,7 @@ function Bc(a, e, t) {
|
|
|
2732
2732
|
return Nc(ae);
|
|
2733
2733
|
var oe = Rd[re];
|
|
2734
2734
|
if (oe)
|
|
2735
|
-
return !(t != null && t.useAdditionalWeekYearTokens) && Wd(ae) && ea(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && zd(ae) && ea(ae, e, String(a)), oe(h, ae,
|
|
2735
|
+
return !(t != null && t.useAdditionalWeekYearTokens) && Wd(ae) && ea(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && zd(ae) && ea(ae, e, String(a)), oe(h, ae, G.localize, O);
|
|
2736
2736
|
if (re.match(Pc))
|
|
2737
2737
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
|
|
2738
2738
|
return ae;
|
|
@@ -3642,7 +3642,7 @@ function f0(a, e) {
|
|
|
3642
3642
|
const v0 = ["title"], p0 = {
|
|
3643
3643
|
key: 0,
|
|
3644
3644
|
className: "ao-avatar__initials"
|
|
3645
|
-
}, h0 = ["src"], gt = /* @__PURE__ */
|
|
3645
|
+
}, h0 = ["src"], gt = /* @__PURE__ */ K({
|
|
3646
3646
|
__name: "AoAvatar",
|
|
3647
3647
|
props: {
|
|
3648
3648
|
userName: {},
|
|
@@ -3657,10 +3657,10 @@ const v0 = ["title"], p0 = {
|
|
|
3657
3657
|
};
|
|
3658
3658
|
return (o, i) => (c(), m("div", {
|
|
3659
3659
|
role: "img",
|
|
3660
|
-
class:
|
|
3660
|
+
class: x(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
|
|
3661
3661
|
title: o.userName
|
|
3662
3662
|
}, [
|
|
3663
|
-
o.avatarUrl ? k("", !0) : (c(), m("span", p0, q(
|
|
3663
|
+
o.avatarUrl ? k("", !0) : (c(), m("span", p0, Z(q(n)), 1)),
|
|
3664
3664
|
o.avatarUrl ? (c(), m("img", {
|
|
3665
3665
|
key: 1,
|
|
3666
3666
|
className: "ao-avatar__image",
|
|
@@ -3686,7 +3686,7 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3686
3686
|
}, S0 = { class: "ao-card-template__col-title" }, E0 = { class: "ao-card-template__col-label" }, I0 = { class: "ao-card-template__col-body" }, O0 = {
|
|
3687
3687
|
key: 1,
|
|
3688
3688
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
3689
|
-
}, L0 = { class: "ao-card-template__col-title" }, V0 = { class: "ao-card-template__col-label" }, D0 = { class: "ao-card-template__col-body" }, H0 = /* @__PURE__ */
|
|
3689
|
+
}, L0 = { class: "ao-card-template__col-title" }, V0 = { class: "ao-card-template__col-label" }, D0 = { class: "ao-card-template__col-body" }, H0 = /* @__PURE__ */ K({
|
|
3690
3690
|
__name: "AoCardTemplate",
|
|
3691
3691
|
props: {
|
|
3692
3692
|
id: {},
|
|
@@ -3715,14 +3715,14 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3715
3715
|
name: "MountainFlagOutlineRounded",
|
|
3716
3716
|
size: "sm"
|
|
3717
3717
|
}),
|
|
3718
|
-
f("span", _0,
|
|
3718
|
+
f("span", _0, Z(n.milestones), 1)
|
|
3719
3719
|
]),
|
|
3720
3720
|
f("li", g0, [
|
|
3721
3721
|
T(ce, {
|
|
3722
3722
|
name: "TaskOutlineRounded",
|
|
3723
3723
|
size: "sm"
|
|
3724
3724
|
}),
|
|
3725
|
-
f("span", b0,
|
|
3725
|
+
f("span", b0, Z(n.activities), 1)
|
|
3726
3726
|
])
|
|
3727
3727
|
])
|
|
3728
3728
|
]),
|
|
@@ -3734,7 +3734,7 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3734
3734
|
name: "WaterfallChartRounded",
|
|
3735
3735
|
size: "sm"
|
|
3736
3736
|
}),
|
|
3737
|
-
f("span", M0,
|
|
3737
|
+
f("span", M0, Z(n.$t("template.phases.title")), 1)
|
|
3738
3738
|
]),
|
|
3739
3739
|
n.phases ? (c(), m("ul", k0, [
|
|
3740
3740
|
(c(!0), m(ve, null, be(n.phases, (o) => (c(), R(E1, {
|
|
@@ -3755,15 +3755,15 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3755
3755
|
f("div", A0, [
|
|
3756
3756
|
n.updatedAt ? (c(), m("div", T0, [
|
|
3757
3757
|
f("div", S0, [
|
|
3758
|
-
f("span", E0,
|
|
3758
|
+
f("span", E0, Z(n.$t("template.updatedAt.label")), 1)
|
|
3759
3759
|
]),
|
|
3760
3760
|
f("div", I0, [
|
|
3761
|
-
f("span", null,
|
|
3761
|
+
f("span", null, Z(n.updatedAt), 1)
|
|
3762
3762
|
])
|
|
3763
3763
|
])) : k("", !0),
|
|
3764
3764
|
n.updatedBy ? (c(), m("div", O0, [
|
|
3765
3765
|
f("div", L0, [
|
|
3766
|
-
f("span", V0,
|
|
3766
|
+
f("span", V0, Z(n.$t("template.updatedBy.label")), 1)
|
|
3767
3767
|
]),
|
|
3768
3768
|
f("div", D0, [
|
|
3769
3769
|
T(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
@@ -3779,7 +3779,7 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3779
3779
|
const P0 = { class: "ao-page-header" }, B0 = { class: "ao-page-header-main" }, N0 = {
|
|
3780
3780
|
key: 0,
|
|
3781
3781
|
class: "ao-page-header-secondary"
|
|
3782
|
-
}, r1 = /* @__PURE__ */
|
|
3782
|
+
}, r1 = /* @__PURE__ */ K({
|
|
3783
3783
|
__name: "AoPageHeader",
|
|
3784
3784
|
props: {
|
|
3785
3785
|
canGoBack: { type: Boolean }
|
|
@@ -3805,7 +3805,7 @@ const P0 = { class: "ao-page-header" }, B0 = { class: "ao-page-header-main" }, N
|
|
|
3805
3805
|
const R0 = ["type"], U0 = {
|
|
3806
3806
|
key: 0,
|
|
3807
3807
|
class: "ao-button-card__label"
|
|
3808
|
-
}, Qe = /* @__PURE__ */
|
|
3808
|
+
}, Qe = /* @__PURE__ */ K({
|
|
3809
3809
|
__name: "AoButtonCard",
|
|
3810
3810
|
props: {
|
|
3811
3811
|
label: { default: () => "" },
|
|
@@ -3821,7 +3821,7 @@ const R0 = ["type"], U0 = {
|
|
|
3821
3821
|
const e = a, t = y(() => e.size), n = y(() => e.isLoading ? "Loading" : e.iconName);
|
|
3822
3822
|
return (s, o) => (c(), m("button", {
|
|
3823
3823
|
type: s.type,
|
|
3824
|
-
class:
|
|
3824
|
+
class: x([
|
|
3825
3825
|
"ao-button-card",
|
|
3826
3826
|
`ao-button-card--${s.color}`,
|
|
3827
3827
|
`ao-button-card--${s.corners}`,
|
|
@@ -3829,7 +3829,7 @@ const R0 = ["type"], U0 = {
|
|
|
3829
3829
|
])
|
|
3830
3830
|
}, [
|
|
3831
3831
|
X(s.$slots, "default", {}, () => [
|
|
3832
|
-
s.label ? (c(), m("span", U0,
|
|
3832
|
+
s.label ? (c(), m("span", U0, Z(s.label), 1)) : k("", !0)
|
|
3833
3833
|
]),
|
|
3834
3834
|
n.value ? (c(), R(ce, {
|
|
3835
3835
|
key: 0,
|
|
@@ -3843,7 +3843,7 @@ const R0 = ["type"], U0 = {
|
|
|
3843
3843
|
const j0 = { class: "ao-card-template-item__footer" }, Z0 = {
|
|
3844
3844
|
key: 0,
|
|
3845
3845
|
class: "ao-card-template-item__subitem"
|
|
3846
|
-
}, F0 = { class: "ao-card-template-item__subitem-number" }, q0 = { class: "ao-card-template-item__secondary" }, O1 = /* @__PURE__ */
|
|
3846
|
+
}, F0 = { class: "ao-card-template-item__subitem-number" }, q0 = { class: "ao-card-template-item__secondary" }, O1 = /* @__PURE__ */ K({
|
|
3847
3847
|
__name: "AoCardTemplateItem",
|
|
3848
3848
|
props: {
|
|
3849
3849
|
milestones: {},
|
|
@@ -3872,7 +3872,7 @@ const j0 = { class: "ao-card-template-item__footer" }, Z0 = {
|
|
|
3872
3872
|
name: s[r],
|
|
3873
3873
|
size: "sm"
|
|
3874
3874
|
}, null, 8, ["name"]),
|
|
3875
|
-
f("span", F0,
|
|
3875
|
+
f("span", F0, Z(i.$props[r]), 1)
|
|
3876
3876
|
])) : k("", !0)
|
|
3877
3877
|
], 64))), 64))
|
|
3878
3878
|
])
|
|
@@ -3892,7 +3892,7 @@ const j0 = { class: "ao-card-template-item__footer" }, Z0 = {
|
|
|
3892
3892
|
}));
|
|
3893
3893
|
}
|
|
3894
3894
|
});
|
|
3895
|
-
const z0 = /* @__PURE__ */
|
|
3895
|
+
const z0 = /* @__PURE__ */ K({
|
|
3896
3896
|
__name: "AoCardTemplateItemPhase",
|
|
3897
3897
|
props: {
|
|
3898
3898
|
id: {},
|
|
@@ -3916,7 +3916,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
3916
3916
|
_: 3
|
|
3917
3917
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
3918
3918
|
}
|
|
3919
|
-
}), W0 = /* @__PURE__ */
|
|
3919
|
+
}), W0 = /* @__PURE__ */ K({
|
|
3920
3920
|
__name: "AoCardTemplateItemMilestone",
|
|
3921
3921
|
props: {
|
|
3922
3922
|
activities: {}
|
|
@@ -3933,7 +3933,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
3933
3933
|
_: 3
|
|
3934
3934
|
}, 8, ["activities"]));
|
|
3935
3935
|
}
|
|
3936
|
-
}), Y0 = { class: "ao-list__footer" }, K0 = /* @__PURE__ */
|
|
3936
|
+
}), Y0 = { class: "ao-list__footer" }, K0 = /* @__PURE__ */ K({
|
|
3937
3937
|
__name: "AoTemplateDetailsMilestones",
|
|
3938
3938
|
props: {
|
|
3939
3939
|
templateId: {},
|
|
@@ -3957,7 +3957,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
3957
3957
|
});
|
|
3958
3958
|
}
|
|
3959
3959
|
};
|
|
3960
|
-
return (l, r) => l.phase ? (c(), R(
|
|
3960
|
+
return (l, r) => l.phase ? (c(), R(q(Xe), {
|
|
3961
3961
|
key: 0,
|
|
3962
3962
|
"model-value": l.phase.milestones,
|
|
3963
3963
|
class: "ao-templates__list",
|
|
@@ -4002,7 +4002,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
4002
4002
|
_: 1
|
|
4003
4003
|
}, 8, ["model-value", "title"])) : k("", !0);
|
|
4004
4004
|
}
|
|
4005
|
-
}), G0 = /* @__PURE__ */
|
|
4005
|
+
}), G0 = /* @__PURE__ */ K({
|
|
4006
4006
|
__name: "AoCardTemplateItemActivity",
|
|
4007
4007
|
props: {
|
|
4008
4008
|
name: {},
|
|
@@ -4020,7 +4020,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
4020
4020
|
_: 3
|
|
4021
4021
|
}, 8, ["tasks"]));
|
|
4022
4022
|
}
|
|
4023
|
-
}), x0 = { class: "ao-list__footer" }, X0 = /* @__PURE__ */
|
|
4023
|
+
}), x0 = { class: "ao-list__footer" }, X0 = /* @__PURE__ */ K({
|
|
4024
4024
|
__name: "AoTemplateDetailsActivities",
|
|
4025
4025
|
props: {
|
|
4026
4026
|
templateId: {},
|
|
@@ -4047,7 +4047,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
4047
4047
|
});
|
|
4048
4048
|
}
|
|
4049
4049
|
};
|
|
4050
|
-
return (l, r) => l.milestone ? (c(), R(
|
|
4050
|
+
return (l, r) => l.milestone ? (c(), R(q(Xe), {
|
|
4051
4051
|
key: 0,
|
|
4052
4052
|
"model-value": l.milestone.activities,
|
|
4053
4053
|
title: l.$t("template.activities.title"),
|
|
@@ -4094,7 +4094,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
4094
4094
|
}, a3 = { class: "ao-modal__body" }, s3 = {
|
|
4095
4095
|
key: 0,
|
|
4096
4096
|
class: "ao-modal__footer"
|
|
4097
|
-
}, L1 = /* @__PURE__ */
|
|
4097
|
+
}, L1 = /* @__PURE__ */ K({
|
|
4098
4098
|
__name: "AoModal",
|
|
4099
4099
|
props: {
|
|
4100
4100
|
size: { default: "md" }
|
|
@@ -4102,7 +4102,7 @@ const z0 = /* @__PURE__ */ x({
|
|
|
4102
4102
|
emits: ["close"],
|
|
4103
4103
|
setup(a) {
|
|
4104
4104
|
return (e, t) => (c(), m("div", {
|
|
4105
|
-
class:
|
|
4105
|
+
class: x(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
|
|
4106
4106
|
}, [
|
|
4107
4107
|
f("div", {
|
|
4108
4108
|
class: "ao-modal__backdrop",
|
|
@@ -4406,16 +4406,16 @@ const p3 = function(a) {
|
|
|
4406
4406
|
return {};
|
|
4407
4407
|
const g = mt(s), b = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (b || !$ ? [Xt(l)] : r3(l));
|
|
4408
4408
|
!p && w !== "none" && j.push(...d3(l, $, w, L));
|
|
4409
|
-
const W = [l, ...j], H = await Ea(e, A),
|
|
4409
|
+
const W = [l, ...j], H = await Ea(e, A), G = [];
|
|
4410
4410
|
let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4411
|
-
if (u &&
|
|
4411
|
+
if (u && G.push(H[g]), v) {
|
|
4412
4412
|
const h = l3(s, i, L);
|
|
4413
|
-
|
|
4413
|
+
G.push(H[h[0]], H[h[1]]);
|
|
4414
4414
|
}
|
|
4415
4415
|
if (te = [...te, {
|
|
4416
4416
|
placement: s,
|
|
4417
|
-
overflows:
|
|
4418
|
-
}], !
|
|
4417
|
+
overflows: G
|
|
4418
|
+
}], !G.every((h) => h <= 0)) {
|
|
4419
4419
|
var E, ee;
|
|
4420
4420
|
const h = (((E = o.flip) == null ? void 0 : E.index) || 0) + 1, O = W[h];
|
|
4421
4421
|
if (O)
|
|
@@ -4481,8 +4481,8 @@ const p3 = function(a) {
|
|
|
4481
4481
|
L = u || b ? Lt(A, H) : H;
|
|
4482
4482
|
}
|
|
4483
4483
|
if (b && !u) {
|
|
4484
|
-
const H = Ae(r.left, 0),
|
|
4485
|
-
v ? j = p - 2 * (H !== 0 ||
|
|
4484
|
+
const H = Ae(r.left, 0), G = Ae(r.right, 0), te = Ae(r.top, 0), E = Ae(r.bottom, 0);
|
|
4485
|
+
v ? j = p - 2 * (H !== 0 || G !== 0 ? H + G : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
|
|
4486
4486
|
}
|
|
4487
4487
|
await i({
|
|
4488
4488
|
...e,
|
|
@@ -4926,7 +4926,7 @@ const D3 = (a, e, t) => {
|
|
|
4926
4926
|
}, H3 = (a) => {
|
|
4927
4927
|
const e = J(!1), t = J(), n = J(), s = J(0);
|
|
4928
4928
|
function o() {
|
|
4929
|
-
const v =
|
|
4929
|
+
const v = q(a.appendTo);
|
|
4930
4930
|
return v ? typeof v == "string" ? document.getElementById(v) ?? document.body : v : document.getElementById("floatingElements") ?? document.body;
|
|
4931
4931
|
}
|
|
4932
4932
|
const i = o(), l = J(() => {
|
|
@@ -5088,7 +5088,7 @@ function Z3(a, e, t) {
|
|
|
5088
5088
|
clearOnSearch: j,
|
|
5089
5089
|
clearOnSelect: W,
|
|
5090
5090
|
valueProp: H,
|
|
5091
|
-
allowAbsent:
|
|
5091
|
+
allowAbsent: G,
|
|
5092
5092
|
groupLabel: te,
|
|
5093
5093
|
canDeselect: E,
|
|
5094
5094
|
max: ee,
|
|
@@ -5101,7 +5101,7 @@ function Z3(a, e, t) {
|
|
|
5101
5101
|
groupOptions: oe,
|
|
5102
5102
|
groupHideEmpty: I,
|
|
5103
5103
|
groupSelect: V,
|
|
5104
|
-
onCreate:
|
|
5104
|
+
onCreate: F,
|
|
5105
5105
|
disabledProp: ne,
|
|
5106
5106
|
searchStart: M,
|
|
5107
5107
|
searchFilter: Y
|
|
@@ -5222,7 +5222,7 @@ function Z3(a, e, t) {
|
|
|
5222
5222
|
}
|
|
5223
5223
|
}, h1 = (_) => _[ne.value] === !0, m1 = () => ee === void 0 || ee.value === -1 || !p1.value && ee.value > 0 ? !1 : B.value.length >= ee.value, Xa = (_) => {
|
|
5224
5224
|
if (!h1(_)) {
|
|
5225
|
-
if (
|
|
5225
|
+
if (F && F.value && !Ne(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = F.value(_, ie), _ instanceof Promise)) {
|
|
5226
5226
|
Le.value = !0, _.then((D) => {
|
|
5227
5227
|
Le.value = !1, Y1(D);
|
|
5228
5228
|
});
|
|
@@ -5289,7 +5289,7 @@ function Z3(a, e, t) {
|
|
|
5289
5289
|
let se = _;
|
|
5290
5290
|
if (N.value && L.value) {
|
|
5291
5291
|
let he = Y.value;
|
|
5292
|
-
he || (he = (wt,
|
|
5292
|
+
he || (he = (wt, t8) => {
|
|
5293
5293
|
let G1 = $1(Za(wt[Ve.value]), de.value);
|
|
5294
5294
|
return M.value ? G1.startsWith($1(N.value, de.value)) : G1.indexOf($1(N.value, de.value)) !== -1;
|
|
5295
5295
|
}), se = se.filter(he);
|
|
@@ -5329,11 +5329,11 @@ function Z3(a, e, t) {
|
|
|
5329
5329
|
});
|
|
5330
5330
|
}, os = (_) => {
|
|
5331
5331
|
jt(_);
|
|
5332
|
-
}, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (
|
|
5332
|
+
}, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (G.value ? {
|
|
5333
5333
|
[u.value]: _,
|
|
5334
5334
|
[H.value]: _,
|
|
5335
5335
|
[Ve.value]: _
|
|
5336
|
-
} : {}) : _.filter((D) => !!Re(D) ||
|
|
5336
|
+
} : {}) : _.filter((D) => !!Re(D) || G.value).map((D) => Re(D) || {
|
|
5337
5337
|
[u.value]: D,
|
|
5338
5338
|
[H.value]: D,
|
|
5339
5339
|
[Ve.value]: D
|
|
@@ -5416,29 +5416,29 @@ function F3(a, e, t) {
|
|
|
5416
5416
|
groupSelect: d,
|
|
5417
5417
|
disabledProp: u,
|
|
5418
5418
|
groupOptions: v
|
|
5419
|
-
} = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, b = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = y(() => p.value.filter((S) => !S[u.value])),
|
|
5419
|
+
} = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, b = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = y(() => p.value.filter((S) => !S[u.value])), G = y(() => C.value.filter((S) => !S[u.value])), te = y(() => r.value !== "single" && d.value), E = y(() => g.value && g.value.group), ee = y(() => ie(g.value)), de = y(() => {
|
|
5420
5420
|
const S = E.value ? g.value : (
|
|
5421
5421
|
/* istanbul ignore next */
|
|
5422
5422
|
ie(g.value)
|
|
5423
|
-
), N =
|
|
5424
|
-
let pe =
|
|
5423
|
+
), N = G.value.map((Me) => Me[i.value]).indexOf(S[i.value]);
|
|
5424
|
+
let pe = G.value[N - 1];
|
|
5425
5425
|
return pe === void 0 && (pe = O.value), pe;
|
|
5426
5426
|
}), h = y(() => {
|
|
5427
|
-
let S =
|
|
5428
|
-
return
|
|
5429
|
-
}), O = y(() => [...
|
|
5427
|
+
let S = G.value.map((N) => N.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
|
|
5428
|
+
return G.value.length <= S && (S = 0), G.value[S];
|
|
5429
|
+
}), O = y(() => [...G.value].slice(-1)[0]), z = y(() => g.value.__VISIBLE__.filter((S) => !S[u.value])[0]), ae = y(() => {
|
|
5430
5430
|
const S = ee.value.__VISIBLE__.filter((N) => !N[u.value]);
|
|
5431
5431
|
return S[S.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1];
|
|
5432
5432
|
}), re = y(() => {
|
|
5433
5433
|
const S = ie(g.value).__VISIBLE__.filter((N) => !N[u.value]);
|
|
5434
5434
|
return S[S.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1];
|
|
5435
|
-
}), oe = y(() => [...de.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), I = y(() => [...O.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => g.value && (!S.group && g.value[n.value] === S[n.value] || S.group !== void 0 && g.value[i.value] === S[i.value]) ? !0 : void 0,
|
|
5435
|
+
}), oe = y(() => [...de.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), I = y(() => [...O.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => g.value && (!S.group && g.value[n.value] === S[n.value] || S.group !== void 0 && g.value[i.value] === S[i.value]) ? !0 : void 0, F = () => {
|
|
5436
5436
|
b(H.value[0] || null);
|
|
5437
5437
|
}, ne = () => {
|
|
5438
5438
|
!g.value || g.value[u.value] === !0 || (E.value ? $(g.value) : w(g.value));
|
|
5439
5439
|
}, M = () => {
|
|
5440
5440
|
if (g.value === null)
|
|
5441
|
-
b((l.value && te.value ?
|
|
5441
|
+
b((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
|
|
5442
5442
|
else if (l.value && te.value) {
|
|
5443
5443
|
let S = E.value ? z.value : re.value;
|
|
5444
5444
|
S === void 0 && (S = h.value, S.__CREATE__ && (S = S[v.value][0])), b(S || /* istanbul ignore next */
|
|
@@ -5465,7 +5465,7 @@ function F3(a, e, t) {
|
|
|
5465
5465
|
Oe(() => {
|
|
5466
5466
|
B();
|
|
5467
5467
|
});
|
|
5468
|
-
}, ie = (S) =>
|
|
5468
|
+
}, ie = (S) => G.value.find((N) => N.__VISIBLE__.map((pe) => pe[n.value]).indexOf(S[n.value]) !== -1), B = () => {
|
|
5469
5469
|
let S = j.value.querySelector("[data-pointed]");
|
|
5470
5470
|
if (!S)
|
|
5471
5471
|
return;
|
|
@@ -5473,7 +5473,7 @@ function F3(a, e, t) {
|
|
|
5473
5473
|
l.value && (N = E.value ? S.parentElement.parentElement.parentElement : S.parentElement.parentElement.parentElement.parentElement), S.offsetTop + S.offsetHeight > N.clientHeight + N.scrollTop && (N.scrollTop = S.offsetTop + S.offsetHeight - N.clientHeight), S.offsetTop < N.scrollTop && (N.scrollTop = S.offsetTop);
|
|
5474
5474
|
};
|
|
5475
5475
|
return ue(A, (S) => {
|
|
5476
|
-
o.value && (S.length && s.value ?
|
|
5476
|
+
o.value && (S.length && s.value ? F() : L());
|
|
5477
5477
|
}), ue(W, (S) => {
|
|
5478
5478
|
if (S) {
|
|
5479
5479
|
let N = j.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -5488,7 +5488,7 @@ function F3(a, e, t) {
|
|
|
5488
5488
|
pointer: g,
|
|
5489
5489
|
canPointGroups: te,
|
|
5490
5490
|
isPointed: V,
|
|
5491
|
-
setPointerFirst:
|
|
5491
|
+
setPointerFirst: F,
|
|
5492
5492
|
selectPointer: ne,
|
|
5493
5493
|
forwardPointer: M,
|
|
5494
5494
|
backwardPointer: Y
|
|
@@ -5560,19 +5560,19 @@ function W3(a, e, t) {
|
|
|
5560
5560
|
createTag: v,
|
|
5561
5561
|
createOption: p,
|
|
5562
5562
|
reverse: C
|
|
5563
|
-
} = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, b = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect,
|
|
5563
|
+
} = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, b = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, G = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = y(() => v.value || p.value || !1), z = y(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
|
|
5564
5564
|
n.value === "tags" && !l.value && O.value && i.value && !d.value && b(h.value[h.value.map((V) => V[r.value]).indexOf(g.value)]);
|
|
5565
5565
|
}, re = (V) => {
|
|
5566
|
-
let
|
|
5567
|
-
for (;
|
|
5568
|
-
|
|
5569
|
-
return
|
|
5566
|
+
let F = V.length - 1;
|
|
5567
|
+
for (; F >= 0 && (V[F].remove === !1 || V[F].disabled); )
|
|
5568
|
+
F--;
|
|
5569
|
+
return F < 0 || V.splice(F, 1), V;
|
|
5570
5570
|
};
|
|
5571
5571
|
return {
|
|
5572
5572
|
handleKeydown: (V) => {
|
|
5573
5573
|
e.emit("keydown", V, w);
|
|
5574
|
-
let
|
|
5575
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && n.value === "tags" && (
|
|
5574
|
+
let F, ne;
|
|
5575
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && n.value === "tags" && (F = [...H.value.querySelectorAll("[data-tags] > *")].filter((M) => M !== te.value), ne = F.findIndex((M) => M === document.activeElement)), V.key) {
|
|
5576
5576
|
case "Backspace":
|
|
5577
5577
|
if (n.value === "single" || i.value && [null, ""].indexOf(g.value) === -1 || $.value.length === 0)
|
|
5578
5578
|
return;
|
|
@@ -5582,7 +5582,7 @@ function W3(a, e, t) {
|
|
|
5582
5582
|
if (V.preventDefault(), V.keyCode === 229)
|
|
5583
5583
|
return;
|
|
5584
5584
|
if (ne !== -1 && ne !== void 0) {
|
|
5585
|
-
A([...$.value].filter((M, Y) => Y !== ne)), ne ===
|
|
5585
|
+
A([...$.value].filter((M, Y) => Y !== ne)), ne === F.length - 1 && (F.length - 1 ? F[F.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : G.value.focus());
|
|
5586
5586
|
return;
|
|
5587
5587
|
}
|
|
5588
5588
|
if (z.value.indexOf("enter") === -1 && O.value)
|
|
@@ -5623,12 +5623,12 @@ function W3(a, e, t) {
|
|
|
5623
5623
|
case "ArrowLeft":
|
|
5624
5624
|
if (i.value && te.value && te.value.querySelector("input").selectionStart || V.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
|
|
5625
5625
|
return;
|
|
5626
|
-
V.preventDefault(), ne === -1 ?
|
|
5626
|
+
V.preventDefault(), ne === -1 ? F[F.length - 1].focus() : ne > 0 && F[ne - 1].focus();
|
|
5627
5627
|
break;
|
|
5628
5628
|
case "ArrowRight":
|
|
5629
5629
|
if (ne === -1 || V.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
|
|
5630
5630
|
return;
|
|
5631
|
-
V.preventDefault(),
|
|
5631
|
+
V.preventDefault(), F.length > ne + 1 ? F[ne + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || G.value.focus();
|
|
5632
5632
|
break;
|
|
5633
5633
|
}
|
|
5634
5634
|
},
|
|
@@ -5799,7 +5799,7 @@ function G3(a, e, t) {
|
|
|
5799
5799
|
}), H = y(() => {
|
|
5800
5800
|
let h = { ...d.value };
|
|
5801
5801
|
return u.value && (h["aria-labelledby"] = h["aria-labelledby"] ? `${A.value} ${h["aria-labelledby"]}` : A.value, W.value && h["aria-label"] && (h["aria-label"] = `${W.value}, ${h["aria-label"]}`)), h;
|
|
5802
|
-
}),
|
|
5802
|
+
}), G = (h) => {
|
|
5803
5803
|
let O = [];
|
|
5804
5804
|
return s && s.value && O.push(s.value), O.push("multiselect-option"), O.push(h[o.value]), O.join("-");
|
|
5805
5805
|
}, te = (h) => {
|
|
@@ -5825,7 +5825,7 @@ function G3(a, e, t) {
|
|
|
5825
5825
|
ariaPlaceholder: L,
|
|
5826
5826
|
ariaMultiselectable: j,
|
|
5827
5827
|
ariaActiveDescendant: b,
|
|
5828
|
-
ariaOptionId:
|
|
5828
|
+
ariaOptionId: G,
|
|
5829
5829
|
ariaOptionLabel: E,
|
|
5830
5830
|
ariaGroupId: te,
|
|
5831
5831
|
ariaGroupLabel: ee,
|
|
@@ -6206,7 +6206,7 @@ const Q3 = ["id", "dir"], J3 = ["tabindex", "aria-controls", "aria-placeholder",
|
|
|
6206
6206
|
function _5(a, e, t, n, s, o) {
|
|
6207
6207
|
return c(), m("div", {
|
|
6208
6208
|
ref: "multiselect",
|
|
6209
|
-
class:
|
|
6209
|
+
class: x(a.classList.container),
|
|
6210
6210
|
id: t.searchable ? void 0 : t.id,
|
|
6211
6211
|
dir: t.rtl ? "rtl" : void 0,
|
|
6212
6212
|
onFocusin: e[10] || (e[10] = (...i) => a.handleFocusIn && a.handleFocusIn(...i)),
|
|
@@ -6254,7 +6254,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6254
6254
|
"div",
|
|
6255
6255
|
{
|
|
6256
6256
|
key: 1,
|
|
6257
|
-
class:
|
|
6257
|
+
class: x(a.classList.tags),
|
|
6258
6258
|
"data-tags": ""
|
|
6259
6259
|
},
|
|
6260
6260
|
[
|
|
@@ -6267,7 +6267,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6267
6267
|
disabled: t.disabled
|
|
6268
6268
|
}, () => [
|
|
6269
6269
|
(c(), m("span", {
|
|
6270
|
-
class:
|
|
6270
|
+
class: x([
|
|
6271
6271
|
a.classList.tag,
|
|
6272
6272
|
i.disabled ? a.classList.tagDisabled : null
|
|
6273
6273
|
]),
|
|
@@ -6277,19 +6277,19 @@ function _5(a, e, t, n, s, o) {
|
|
|
6277
6277
|
"aria-label": a.ariaTagLabel(a.localize(i[t.label]))
|
|
6278
6278
|
}, [
|
|
6279
6279
|
e1(
|
|
6280
|
-
|
|
6280
|
+
Z(a.localize(i[t.label])) + " ",
|
|
6281
6281
|
1
|
|
6282
6282
|
/* TEXT */
|
|
6283
6283
|
),
|
|
6284
6284
|
!t.disabled && !i.disabled ? (c(), m("span", {
|
|
6285
6285
|
key: 0,
|
|
6286
|
-
class:
|
|
6286
|
+
class: x(a.classList.tagRemove),
|
|
6287
6287
|
onClick: _e((d) => a.handleTagRemove(i, d), ["stop"])
|
|
6288
6288
|
}, [
|
|
6289
6289
|
f(
|
|
6290
6290
|
"span",
|
|
6291
6291
|
{
|
|
6292
|
-
class:
|
|
6292
|
+
class: x(a.classList.tagRemoveIcon)
|
|
6293
6293
|
},
|
|
6294
6294
|
null,
|
|
6295
6295
|
2
|
|
@@ -6304,7 +6304,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6304
6304
|
f(
|
|
6305
6305
|
"div",
|
|
6306
6306
|
{
|
|
6307
|
-
class:
|
|
6307
|
+
class: x(a.classList.tagsSearchWrapper),
|
|
6308
6308
|
ref: "tags"
|
|
6309
6309
|
},
|
|
6310
6310
|
[
|
|
@@ -6312,9 +6312,9 @@ function _5(a, e, t, n, s, o) {
|
|
|
6312
6312
|
f(
|
|
6313
6313
|
"span",
|
|
6314
6314
|
{
|
|
6315
|
-
class:
|
|
6315
|
+
class: x(a.classList.tagsSearchCopy)
|
|
6316
6316
|
},
|
|
6317
|
-
|
|
6317
|
+
Z(a.search),
|
|
6318
6318
|
3
|
|
6319
6319
|
/* TEXT, CLASS */
|
|
6320
6320
|
),
|
|
@@ -6357,15 +6357,15 @@ function _5(a, e, t, n, s, o) {
|
|
|
6357
6357
|
f(
|
|
6358
6358
|
"div",
|
|
6359
6359
|
{
|
|
6360
|
-
class:
|
|
6360
|
+
class: x(a.classList.singleLabel)
|
|
6361
6361
|
},
|
|
6362
6362
|
[
|
|
6363
6363
|
f(
|
|
6364
6364
|
"span",
|
|
6365
6365
|
{
|
|
6366
|
-
class:
|
|
6366
|
+
class: x(a.classList.singleLabelText)
|
|
6367
6367
|
},
|
|
6368
|
-
|
|
6368
|
+
Z(a.localize(a.iv[t.label])),
|
|
6369
6369
|
3
|
|
6370
6370
|
/* TEXT, CLASS */
|
|
6371
6371
|
)
|
|
@@ -6380,7 +6380,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6380
6380
|
values: a.iv
|
|
6381
6381
|
}, () => [
|
|
6382
6382
|
f("div", {
|
|
6383
|
-
class:
|
|
6383
|
+
class: x(a.classList.multipleLabel),
|
|
6384
6384
|
innerHTML: a.multipleLabelText
|
|
6385
6385
|
}, null, 10, n5)
|
|
6386
6386
|
]) : k("v-if", !0),
|
|
@@ -6389,10 +6389,10 @@ function _5(a, e, t, n, s, o) {
|
|
|
6389
6389
|
f(
|
|
6390
6390
|
"div",
|
|
6391
6391
|
{
|
|
6392
|
-
class:
|
|
6392
|
+
class: x(a.classList.placeholder),
|
|
6393
6393
|
"aria-hidden": "true"
|
|
6394
6394
|
},
|
|
6395
|
-
|
|
6395
|
+
Z(t.placeholder),
|
|
6396
6396
|
3
|
|
6397
6397
|
/* TEXT, CLASS */
|
|
6398
6398
|
)
|
|
@@ -6402,7 +6402,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6402
6402
|
f(
|
|
6403
6403
|
"span",
|
|
6404
6404
|
{
|
|
6405
|
-
class:
|
|
6405
|
+
class: x(a.classList.spinner),
|
|
6406
6406
|
"aria-hidden": "true"
|
|
6407
6407
|
},
|
|
6408
6408
|
null,
|
|
@@ -6423,7 +6423,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6423
6423
|
role: "button",
|
|
6424
6424
|
"data-clear": "",
|
|
6425
6425
|
"aria-roledescription": "❎",
|
|
6426
|
-
class:
|
|
6426
|
+
class: x(a.classList.clear),
|
|
6427
6427
|
onClick: e[6] || (e[6] = (...i) => a.clear && a.clear(...i)),
|
|
6428
6428
|
onKeyup: e[7] || (e[7] = Ye((...i) => a.clear && a.clear(...i), ["enter"]))
|
|
6429
6429
|
},
|
|
@@ -6431,7 +6431,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6431
6431
|
f(
|
|
6432
6432
|
"span",
|
|
6433
6433
|
{
|
|
6434
|
-
class:
|
|
6434
|
+
class: x(a.classList.clearIcon)
|
|
6435
6435
|
},
|
|
6436
6436
|
null,
|
|
6437
6437
|
2
|
|
@@ -6447,7 +6447,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6447
6447
|
f(
|
|
6448
6448
|
"span",
|
|
6449
6449
|
{
|
|
6450
|
-
class:
|
|
6450
|
+
class: x(a.classList.caret),
|
|
6451
6451
|
onClick: e[8] || (e[8] = (...i) => a.handleCaretClick && a.handleCaretClick(...i)),
|
|
6452
6452
|
"aria-hidden": "true"
|
|
6453
6453
|
},
|
|
@@ -6461,13 +6461,13 @@ function _5(a, e, t, n, s, o) {
|
|
|
6461
6461
|
f(
|
|
6462
6462
|
"div",
|
|
6463
6463
|
{
|
|
6464
|
-
class:
|
|
6464
|
+
class: x(a.classList.dropdown),
|
|
6465
6465
|
tabindex: "-1"
|
|
6466
6466
|
},
|
|
6467
6467
|
[
|
|
6468
6468
|
X(a.$slots, "beforelist", { options: a.fo }),
|
|
6469
6469
|
f("ul", {
|
|
6470
|
-
class:
|
|
6470
|
+
class: x(a.classList.options),
|
|
6471
6471
|
id: a.ariaControls,
|
|
6472
6472
|
role: "listbox"
|
|
6473
6473
|
}, [
|
|
@@ -6475,7 +6475,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6475
6475
|
ve,
|
|
6476
6476
|
{ key: 0 },
|
|
6477
6477
|
be(a.fg, (i, l, r) => (c(), m("li", {
|
|
6478
|
-
class:
|
|
6478
|
+
class: x(a.classList.group),
|
|
6479
6479
|
key: r,
|
|
6480
6480
|
id: a.ariaGroupId(i),
|
|
6481
6481
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
@@ -6484,7 +6484,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6484
6484
|
}, [
|
|
6485
6485
|
i.__CREATE__ ? k("v-if", !0) : (c(), m("div", {
|
|
6486
6486
|
key: 0,
|
|
6487
|
-
class:
|
|
6487
|
+
class: x(a.classList.groupLabel(i)),
|
|
6488
6488
|
"data-pointed": a.isPointed(i),
|
|
6489
6489
|
onMouseenter: (d) => a.setPointer(i, l),
|
|
6490
6490
|
onClick: (d) => a.handleGroupClick(i)
|
|
@@ -6500,7 +6500,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6500
6500
|
])
|
|
6501
6501
|
], 42, l5)),
|
|
6502
6502
|
f("ul", {
|
|
6503
|
-
class:
|
|
6503
|
+
class: x(a.classList.groupOptions),
|
|
6504
6504
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
6505
6505
|
role: "group"
|
|
6506
6506
|
}, [
|
|
@@ -6508,7 +6508,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6508
6508
|
ve,
|
|
6509
6509
|
null,
|
|
6510
6510
|
be(i.__VISIBLE__, (d, u, v) => (c(), m("li", {
|
|
6511
|
-
class:
|
|
6511
|
+
class: x(a.classList.option(d, i)),
|
|
6512
6512
|
"data-pointed": a.isPointed(d),
|
|
6513
6513
|
"data-selected": a.isSelected(d) || void 0,
|
|
6514
6514
|
key: v,
|
|
@@ -6528,7 +6528,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6528
6528
|
f(
|
|
6529
6529
|
"span",
|
|
6530
6530
|
null,
|
|
6531
|
-
|
|
6531
|
+
Z(a.localize(d[t.label])),
|
|
6532
6532
|
1
|
|
6533
6533
|
/* TEXT */
|
|
6534
6534
|
)
|
|
@@ -6545,7 +6545,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6545
6545
|
ve,
|
|
6546
6546
|
{ key: 1 },
|
|
6547
6547
|
be(a.fo, (i, l, r) => (c(), m("li", {
|
|
6548
|
-
class:
|
|
6548
|
+
class: x(a.classList.option(i)),
|
|
6549
6549
|
"data-pointed": a.isPointed(i),
|
|
6550
6550
|
"data-selected": a.isSelected(i) || void 0,
|
|
6551
6551
|
key: r,
|
|
@@ -6565,7 +6565,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6565
6565
|
f(
|
|
6566
6566
|
"span",
|
|
6567
6567
|
null,
|
|
6568
|
-
|
|
6568
|
+
Z(a.localize(i[t.label])),
|
|
6569
6569
|
1
|
|
6570
6570
|
/* TEXT */
|
|
6571
6571
|
)
|
|
@@ -6577,13 +6577,13 @@ function _5(a, e, t, n, s, o) {
|
|
|
6577
6577
|
], 10, i5),
|
|
6578
6578
|
a.noOptions ? X(a.$slots, "nooptions", { key: 0 }, () => [
|
|
6579
6579
|
f("div", {
|
|
6580
|
-
class:
|
|
6580
|
+
class: x(a.classList.noOptions),
|
|
6581
6581
|
innerHTML: a.localize(t.noOptionsText)
|
|
6582
6582
|
}, null, 10, f5)
|
|
6583
6583
|
]) : k("v-if", !0),
|
|
6584
6584
|
a.noResults ? X(a.$slots, "noresults", { key: 1 }, () => [
|
|
6585
6585
|
f("div", {
|
|
6586
|
-
class:
|
|
6586
|
+
class: x(a.classList.noResults),
|
|
6587
6587
|
innerHTML: a.localize(t.noResultsText)
|
|
6588
6588
|
}, null, 10, v5)
|
|
6589
6589
|
]) : k("v-if", !0),
|
|
@@ -6591,7 +6591,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6591
6591
|
"div",
|
|
6592
6592
|
{
|
|
6593
6593
|
key: 2,
|
|
6594
|
-
class:
|
|
6594
|
+
class: x(a.classList.inifinite),
|
|
6595
6595
|
ref: "infiniteLoader"
|
|
6596
6596
|
},
|
|
6597
6597
|
[
|
|
@@ -6599,7 +6599,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6599
6599
|
f(
|
|
6600
6600
|
"span",
|
|
6601
6601
|
{
|
|
6602
|
-
class:
|
|
6602
|
+
class: x(a.classList.inifiniteSpinner)
|
|
6603
6603
|
},
|
|
6604
6604
|
null,
|
|
6605
6605
|
2
|
|
@@ -6618,7 +6618,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6618
6618
|
k(" Hacky input element to show HTML5 required warning "),
|
|
6619
6619
|
t.required ? (c(), m("input", {
|
|
6620
6620
|
key: 0,
|
|
6621
|
-
class:
|
|
6621
|
+
class: x(a.classList.fakeInput),
|
|
6622
6622
|
tabindex: "-1",
|
|
6623
6623
|
value: a.textValue,
|
|
6624
6624
|
required: ""
|
|
@@ -6652,15 +6652,15 @@ function _5(a, e, t, n, s, o) {
|
|
|
6652
6652
|
k(" Screen reader assistive text "),
|
|
6653
6653
|
t.searchable && a.hasSelected ? (c(), m("div", {
|
|
6654
6654
|
key: 2,
|
|
6655
|
-
class:
|
|
6655
|
+
class: x(a.classList.assist),
|
|
6656
6656
|
id: a.ariaAssist,
|
|
6657
6657
|
"aria-hidden": "true"
|
|
6658
|
-
},
|
|
6658
|
+
}, Z(a.ariaLabel), 11, C5)) : k("v-if", !0),
|
|
6659
6659
|
k(" Create height for empty input "),
|
|
6660
6660
|
f(
|
|
6661
6661
|
"div",
|
|
6662
6662
|
{
|
|
6663
|
-
class:
|
|
6663
|
+
class: x(a.classList.spacer)
|
|
6664
6664
|
},
|
|
6665
6665
|
null,
|
|
6666
6666
|
2
|
|
@@ -6670,7 +6670,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6670
6670
|
}
|
|
6671
6671
|
We.render = _5;
|
|
6672
6672
|
We.__file = "src/Multiselect.vue";
|
|
6673
|
-
const ye = /* @__PURE__ */
|
|
6673
|
+
const ye = /* @__PURE__ */ K({
|
|
6674
6674
|
__name: "AoMultiselect",
|
|
6675
6675
|
props: {
|
|
6676
6676
|
detached: { type: Boolean },
|
|
@@ -6681,7 +6681,7 @@ const ye = /* @__PURE__ */ x({
|
|
|
6681
6681
|
return e.detached && H3({
|
|
6682
6682
|
multiselect: n,
|
|
6683
6683
|
appendTo: t.value
|
|
6684
|
-
}), (s, o) => (c(), R(
|
|
6684
|
+
}), (s, o) => (c(), R(q(We), {
|
|
6685
6685
|
ref_key: "multiselectRef",
|
|
6686
6686
|
ref: n,
|
|
6687
6687
|
class: "ao-multiselect"
|
|
@@ -6709,7 +6709,7 @@ function g5() {
|
|
|
6709
6709
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
6710
6710
|
return a;
|
|
6711
6711
|
}
|
|
6712
|
-
|
|
6712
|
+
K({
|
|
6713
6713
|
props: {
|
|
6714
6714
|
translation: {
|
|
6715
6715
|
type: String,
|
|
@@ -6746,7 +6746,7 @@ async function Ue(a, e) {
|
|
|
6746
6746
|
i == null || i.select();
|
|
6747
6747
|
}
|
|
6748
6748
|
}
|
|
6749
|
-
const b5 = { class: "ao-tasks" }, y5 = { class: "ao-tasks__list" }, w5 = ["id", "value", "readonly", "onChange", "onKeyup"], $5 = { class: "ao-tasks__list-footer" }, M5 = /* @__PURE__ */
|
|
6749
|
+
const b5 = { class: "ao-tasks" }, y5 = { class: "ao-tasks__list" }, w5 = ["id", "value", "readonly", "onChange", "onKeyup"], $5 = { class: "ao-tasks__list-footer" }, M5 = /* @__PURE__ */ K({
|
|
6750
6750
|
__name: "AoActivityTasks",
|
|
6751
6751
|
props: {
|
|
6752
6752
|
activityId: {},
|
|
@@ -6879,7 +6879,7 @@ const k5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6879
6879
|
}, T5 = ["href"], S5 = { class: "ao-file__title" }, E5 = {
|
|
6880
6880
|
key: 1,
|
|
6881
6881
|
class: "ao-files__dropzone"
|
|
6882
|
-
}, I5 = { class: "ao-files__input" }, O5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, L5 = { class: "ao-files__placeholder" }, V5 = /* @__PURE__ */
|
|
6882
|
+
}, I5 = { class: "ao-files__input" }, O5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, L5 = { class: "ao-files__placeholder" }, V5 = /* @__PURE__ */ K({
|
|
6883
6883
|
__name: "AoActivityDetailsFiles",
|
|
6884
6884
|
props: {
|
|
6885
6885
|
attachments: {},
|
|
@@ -6924,7 +6924,7 @@ const k5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6924
6924
|
return (d, u) => {
|
|
6925
6925
|
var v;
|
|
6926
6926
|
return c(), m("div", {
|
|
6927
|
-
class:
|
|
6927
|
+
class: x([
|
|
6928
6928
|
"ao-files__wrapper",
|
|
6929
6929
|
{
|
|
6930
6930
|
"ao-files__wrapper--drop-active": o.value
|
|
@@ -6951,7 +6951,7 @@ const k5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6951
6951
|
name: "AttachFileRounded",
|
|
6952
6952
|
size: "sm"
|
|
6953
6953
|
}),
|
|
6954
|
-
f("span", S5,
|
|
6954
|
+
f("span", S5, Z(p.name), 1)
|
|
6955
6955
|
], 8, T5),
|
|
6956
6956
|
d.isEditable ? (c(), R(fe, {
|
|
6957
6957
|
key: 0,
|
|
@@ -6967,7 +6967,7 @@ const k5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6967
6967
|
])) : k("", !0),
|
|
6968
6968
|
d.isEditable ? (c(), m("div", E5, [
|
|
6969
6969
|
f("label", I5, [
|
|
6970
|
-
f("span", O5,
|
|
6970
|
+
f("span", O5, Z(d.$t("activity.attachment.button.resting")), 1),
|
|
6971
6971
|
f("input", {
|
|
6972
6972
|
class: "input-field",
|
|
6973
6973
|
type: "file",
|
|
@@ -6977,7 +6977,7 @@ const k5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6977
6977
|
onChange: n
|
|
6978
6978
|
}, null, 32)
|
|
6979
6979
|
]),
|
|
6980
|
-
f("span", L5,
|
|
6980
|
+
f("span", L5, Z(d.$t("activity.attachment.placeholder.resting")), 1)
|
|
6981
6981
|
])) : k("", !0)
|
|
6982
6982
|
], 42, k5);
|
|
6983
6983
|
};
|
|
@@ -6986,7 +6986,7 @@ const k5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6986
6986
|
const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { class: "ao-comment__content-wrapper" }, B5 = { class: "ao-comment__created-at" }, N5 = {
|
|
6987
6987
|
key: 1,
|
|
6988
6988
|
class: "ao-comment__footer"
|
|
6989
|
-
}, R5 = /* @__PURE__ */
|
|
6989
|
+
}, R5 = /* @__PURE__ */ K({
|
|
6990
6990
|
__name: "AoComment",
|
|
6991
6991
|
props: {
|
|
6992
6992
|
user: {},
|
|
@@ -7028,36 +7028,36 @@ const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7028
7028
|
ref_key: "commentContent",
|
|
7029
7029
|
ref: s,
|
|
7030
7030
|
class: "ao-comment__content",
|
|
7031
|
-
value:
|
|
7032
|
-
rows:
|
|
7031
|
+
value: q(o) ? A.content : null,
|
|
7032
|
+
rows: q(o) ? $.value : null,
|
|
7033
7033
|
onKeyup: [
|
|
7034
|
-
Ye(
|
|
7035
|
-
Ye(_e(
|
|
7034
|
+
Ye(q(p), ["esc"]),
|
|
7035
|
+
Ye(_e(q(C), ["ctrl"]), ["enter"])
|
|
7036
7036
|
]
|
|
7037
7037
|
}, {
|
|
7038
7038
|
default: U(() => [
|
|
7039
|
-
e1(
|
|
7039
|
+
e1(Z(A.content), 1)
|
|
7040
7040
|
]),
|
|
7041
7041
|
_: 1
|
|
7042
7042
|
}, 40, ["value", "rows", "onKeyup"]))
|
|
7043
7043
|
]),
|
|
7044
|
-
f("span", B5,
|
|
7044
|
+
f("span", B5, Z(u.value || d.value), 1)
|
|
7045
7045
|
]),
|
|
7046
7046
|
A.isEditable ? (c(), m("div", N5, [
|
|
7047
|
-
|
|
7047
|
+
q(o) ? (c(), m(ve, { key: 0 }, [
|
|
7048
7048
|
T(fe, {
|
|
7049
7049
|
"icon-name": "CloseRounded",
|
|
7050
7050
|
size: "sm",
|
|
7051
7051
|
variant: "ghost",
|
|
7052
7052
|
color: "neutral",
|
|
7053
|
-
onClick:
|
|
7053
|
+
onClick: q(p)
|
|
7054
7054
|
}, null, 8, ["onClick"]),
|
|
7055
7055
|
T(fe, {
|
|
7056
7056
|
"icon-name": "CheckSmallRounded",
|
|
7057
7057
|
size: "sm",
|
|
7058
7058
|
variant: "solid",
|
|
7059
7059
|
color: "neutral",
|
|
7060
|
-
onClick:
|
|
7060
|
+
onClick: q(C)
|
|
7061
7061
|
}, null, 8, ["onClick"])
|
|
7062
7062
|
], 64)) : (c(), m(ve, { key: 1 }, [
|
|
7063
7063
|
T(fe, {
|
|
@@ -7072,7 +7072,7 @@ const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7072
7072
|
size: "sm",
|
|
7073
7073
|
variant: "ghost",
|
|
7074
7074
|
color: "neutral",
|
|
7075
|
-
onClick:
|
|
7075
|
+
onClick: q(i)
|
|
7076
7076
|
}, null, 8, ["label", "onClick"])
|
|
7077
7077
|
], 64))
|
|
7078
7078
|
])) : k("", !0)
|
|
@@ -7083,7 +7083,7 @@ const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7083
7083
|
const U5 = {
|
|
7084
7084
|
key: 0,
|
|
7085
7085
|
class: "ao-comments__list"
|
|
7086
|
-
}, j5 = { class: "ao-comments__footer" }, Z5 = ["onSubmit"], F5 = { class: "ao-field ao-field--full" }, q5 = { class: "ao-field__label" }, z5 = { class: "ao-comments__form-footer" }, W5 = /* @__PURE__ */
|
|
7086
|
+
}, j5 = { class: "ao-comments__footer" }, Z5 = ["onSubmit"], F5 = { class: "ao-field ao-field--full" }, q5 = { class: "ao-field__label" }, z5 = { class: "ao-comments__form-footer" }, W5 = /* @__PURE__ */ K({
|
|
7087
7087
|
__name: "AoActivityDetailsComments",
|
|
7088
7088
|
props: {
|
|
7089
7089
|
comments: { default: () => [] },
|
|
@@ -7141,7 +7141,7 @@ const U5 = {
|
|
|
7141
7141
|
onSubmit: _e(l, ["prevent"])
|
|
7142
7142
|
}, [
|
|
7143
7143
|
f("label", F5, [
|
|
7144
|
-
f("span", q5,
|
|
7144
|
+
f("span", q5, Z(u.$t("activity.comment.label")), 1),
|
|
7145
7145
|
et(f("textarea", {
|
|
7146
7146
|
"onUpdate:modelValue": v[0] || (v[0] = (C) => i.value = C),
|
|
7147
7147
|
rows: "4",
|
|
@@ -7188,7 +7188,7 @@ const Y5 = {
|
|
|
7188
7188
|
}, D7 = { class: "ao-field ao-field--multiselect" }, H7 = { class: "ao-field__label" }, P7 = {
|
|
7189
7189
|
key: 0,
|
|
7190
7190
|
class: "ao-activity-details__aside"
|
|
7191
|
-
}, B7 = { class: "ao-fieldset__title" }, N7 = { class: "ao-fieldset__title" }, N1 = /* @__PURE__ */
|
|
7191
|
+
}, B7 = { class: "ao-fieldset__title" }, N7 = { class: "ao-fieldset__title" }, N1 = /* @__PURE__ */ K({
|
|
7192
7192
|
__name: "AoActivityDetails",
|
|
7193
7193
|
props: {
|
|
7194
7194
|
activity: {},
|
|
@@ -7334,7 +7334,7 @@ const Y5 = {
|
|
|
7334
7334
|
activityId: t.activity.id,
|
|
7335
7335
|
file: h
|
|
7336
7336
|
});
|
|
7337
|
-
},
|
|
7337
|
+
}, G = y(() => {
|
|
7338
7338
|
var h;
|
|
7339
7339
|
return (h = t.statuses) == null ? void 0 : h.map((O) => ({
|
|
7340
7340
|
value: O.id,
|
|
@@ -7359,7 +7359,7 @@ const Y5 = {
|
|
|
7359
7359
|
onClose: O[9] || (O[9] = (z) => h.$emit("close"))
|
|
7360
7360
|
}, {
|
|
7361
7361
|
header: U(() => [
|
|
7362
|
-
h.breadcrumbs ? (c(), m("div", Y5,
|
|
7362
|
+
h.breadcrumbs ? (c(), m("div", Y5, Z(h.breadcrumbs), 1)) : k("", !0),
|
|
7363
7363
|
T(Ce, {
|
|
7364
7364
|
title: h.activity.name || "",
|
|
7365
7365
|
level: 4,
|
|
@@ -7369,10 +7369,10 @@ const Y5 = {
|
|
|
7369
7369
|
X(h.$slots, "header", {}, () => {
|
|
7370
7370
|
var z;
|
|
7371
7371
|
return [
|
|
7372
|
-
|
|
7373
|
-
f("span", G5,
|
|
7372
|
+
G.value ? (c(), m("label", K5, [
|
|
7373
|
+
f("span", G5, Z(h.$t("activity.status.label")), 1),
|
|
7374
7374
|
T(ye, {
|
|
7375
|
-
options:
|
|
7375
|
+
options: G.value,
|
|
7376
7376
|
value: (z = h.activity.status) == null ? void 0 : z.id,
|
|
7377
7377
|
"can-clear": !1,
|
|
7378
7378
|
"can-deselect": !1,
|
|
@@ -7389,7 +7389,7 @@ const Y5 = {
|
|
|
7389
7389
|
f("fieldset", X5, [
|
|
7390
7390
|
f("div", Q5, [
|
|
7391
7391
|
f("label", J5, [
|
|
7392
|
-
f("span", e7,
|
|
7392
|
+
f("span", e7, Z(h.$t("activity.description.label")), 1),
|
|
7393
7393
|
et(f("textarea", {
|
|
7394
7394
|
"onUpdate:modelValue": O[0] || (O[0] = (z) => s.value = z),
|
|
7395
7395
|
readonly: !h.isEditable,
|
|
@@ -7410,7 +7410,7 @@ const Y5 = {
|
|
|
7410
7410
|
]),
|
|
7411
7411
|
f("div", a7, [
|
|
7412
7412
|
f("label", s7, [
|
|
7413
|
-
f("span", n7,
|
|
7413
|
+
f("span", n7, Z(h.$t("activity.estimation.label")), 1),
|
|
7414
7414
|
et(f("input", {
|
|
7415
7415
|
"onUpdate:modelValue": O[1] || (O[1] = (z) => o.value = z),
|
|
7416
7416
|
readonly: !h.isEditable,
|
|
@@ -7430,7 +7430,7 @@ const Y5 = {
|
|
|
7430
7430
|
])
|
|
7431
7431
|
]),
|
|
7432
7432
|
f("label", o7, [
|
|
7433
|
-
f("span", l7,
|
|
7433
|
+
f("span", l7, Z(h.$t("activity.important.label")), 1),
|
|
7434
7434
|
et(f("input", {
|
|
7435
7435
|
"onUpdate:modelValue": O[2] || (O[2] = (z) => i.value = z),
|
|
7436
7436
|
disabled: !h.isEditable,
|
|
@@ -7446,7 +7446,7 @@ const Y5 = {
|
|
|
7446
7446
|
])
|
|
7447
7447
|
]),
|
|
7448
7448
|
h.isTemplate !== !0 && h.activity.createdBy.id === h.userId ? (c(), m("label", u7, [
|
|
7449
|
-
f("span", d7,
|
|
7449
|
+
f("span", d7, Z(h.$t("activity.private.label")), 1),
|
|
7450
7450
|
et(f("input", {
|
|
7451
7451
|
"onUpdate:modelValue": O[3] || (O[3] = (z) => l.value = z),
|
|
7452
7452
|
disabled: !h.isEditable,
|
|
@@ -7538,7 +7538,7 @@ const Y5 = {
|
|
|
7538
7538
|
f("div", w7, [
|
|
7539
7539
|
f("div", $7, [
|
|
7540
7540
|
f("label", M7, [
|
|
7541
|
-
f("span", k7,
|
|
7541
|
+
f("span", k7, Z(h.$t("activity.dependingOn.label")), 1),
|
|
7542
7542
|
T(ye, {
|
|
7543
7543
|
modelValue: u.value,
|
|
7544
7544
|
"onUpdate:modelValue": O[5] || (O[5] = (z) => u.value = z),
|
|
@@ -7553,7 +7553,7 @@ const Y5 = {
|
|
|
7553
7553
|
]),
|
|
7554
7554
|
f("div", A7, [
|
|
7555
7555
|
f("label", T7, [
|
|
7556
|
-
f("span", S7,
|
|
7556
|
+
f("span", S7, Z(h.$t("activity.blocking.label")), 1),
|
|
7557
7557
|
T(ye, {
|
|
7558
7558
|
modelValue: p.value,
|
|
7559
7559
|
"onUpdate:modelValue": O[6] || (O[6] = (z) => p.value = z),
|
|
@@ -7568,7 +7568,7 @@ const Y5 = {
|
|
|
7568
7568
|
]),
|
|
7569
7569
|
f("div", E7, [
|
|
7570
7570
|
f("label", I7, [
|
|
7571
|
-
f("span", O7,
|
|
7571
|
+
f("span", O7, Z(h.$t("activity.dependingMilestone.label")), 1),
|
|
7572
7572
|
T(ye, {
|
|
7573
7573
|
modelValue: $.value,
|
|
7574
7574
|
"onUpdate:modelValue": O[7] || (O[7] = (z) => $.value = z),
|
|
@@ -7586,7 +7586,7 @@ const Y5 = {
|
|
|
7586
7586
|
f("fieldset", L7, [
|
|
7587
7587
|
h.activityTypes ? (c(), m("div", V7, [
|
|
7588
7588
|
f("label", D7, [
|
|
7589
|
-
f("span", H7,
|
|
7589
|
+
f("span", H7, Z(h.$t("activity.type.label")), 1),
|
|
7590
7590
|
T(ye, {
|
|
7591
7591
|
modelValue: r.value,
|
|
7592
7592
|
"onUpdate:modelValue": O[8] || (O[8] = (z) => r.value = z),
|
|
@@ -7637,7 +7637,7 @@ const Y5 = {
|
|
|
7637
7637
|
}));
|
|
7638
7638
|
}
|
|
7639
7639
|
});
|
|
7640
|
-
const R7 = /* @__PURE__ */
|
|
7640
|
+
const R7 = /* @__PURE__ */ K({
|
|
7641
7641
|
__name: "AoRuleLine",
|
|
7642
7642
|
props: {
|
|
7643
7643
|
rule: {},
|
|
@@ -7713,22 +7713,22 @@ const R7 = /* @__PURE__ */ x({
|
|
|
7713
7713
|
}), A = y(() => Object.values(wd));
|
|
7714
7714
|
return (g, b) => (c(), R(at(g.tagName), { class: "ao-rule-line" }, {
|
|
7715
7715
|
default: U(() => [
|
|
7716
|
-
T(
|
|
7716
|
+
T(q(We), {
|
|
7717
7717
|
modelValue: s.value,
|
|
7718
7718
|
"onUpdate:modelValue": b[0] || (b[0] = (L) => s.value = L),
|
|
7719
7719
|
options: o.value
|
|
7720
7720
|
}, null, 8, ["modelValue", "options"]),
|
|
7721
|
-
T(
|
|
7721
|
+
T(q(We), {
|
|
7722
7722
|
modelValue: i.value,
|
|
7723
7723
|
"onUpdate:modelValue": b[1] || (b[1] = (L) => i.value = L),
|
|
7724
7724
|
options: l.value
|
|
7725
7725
|
}, null, 8, ["modelValue", "options"]),
|
|
7726
|
-
T(
|
|
7726
|
+
T(q(We), {
|
|
7727
7727
|
modelValue: p.value,
|
|
7728
7728
|
"onUpdate:modelValue": b[2] || (b[2] = (L) => p.value = L),
|
|
7729
7729
|
options: C.value
|
|
7730
7730
|
}, null, 8, ["modelValue", "options"]),
|
|
7731
|
-
T(
|
|
7731
|
+
T(q(We), {
|
|
7732
7732
|
modelValue: d.value,
|
|
7733
7733
|
"onUpdate:modelValue": b[3] || (b[3] = (L) => d.value = L),
|
|
7734
7734
|
options: u.value
|
|
@@ -7745,7 +7745,7 @@ const R7 = /* @__PURE__ */ x({
|
|
|
7745
7745
|
{ number: !0 }
|
|
7746
7746
|
]
|
|
7747
7747
|
]),
|
|
7748
|
-
T(
|
|
7748
|
+
T(q(We), {
|
|
7749
7749
|
modelValue: $.value,
|
|
7750
7750
|
"onUpdate:modelValue": b[5] || (b[5] = (L) => $.value = L),
|
|
7751
7751
|
options: A.value
|
|
@@ -7761,7 +7761,7 @@ const R7 = /* @__PURE__ */ x({
|
|
|
7761
7761
|
}));
|
|
7762
7762
|
}
|
|
7763
7763
|
});
|
|
7764
|
-
const U7 = { class: "ao-template-rules__body" }, j7 = { class: "ao-template-rules__list" }, Z7 = /* @__PURE__ */
|
|
7764
|
+
const U7 = { class: "ao-template-rules__body" }, j7 = { class: "ao-template-rules__list" }, Z7 = /* @__PURE__ */ K({
|
|
7765
7765
|
__name: "AoTemplateRules",
|
|
7766
7766
|
props: {
|
|
7767
7767
|
templateId: {},
|
|
@@ -7818,7 +7818,7 @@ function ht(a, e, t) {
|
|
|
7818
7818
|
const F7 = {
|
|
7819
7819
|
key: 0,
|
|
7820
7820
|
class: "ao-template-details"
|
|
7821
|
-
}, q7 = { class: "ao-template-details__body" }, z7 = { class: "ao-template-details__cols" }, W7 = { class: "ao-template-details__col" }, Y7 = { class: "ao-list__footer" }, K7 = { class: "ao-template-details__col" }, G7 = { class: "ao-template-details__col" }, x7 = /* @__PURE__ */
|
|
7821
|
+
}, q7 = { class: "ao-template-details__body" }, z7 = { class: "ao-template-details__cols" }, W7 = { class: "ao-template-details__col" }, Y7 = { class: "ao-list__footer" }, K7 = { class: "ao-template-details__col" }, G7 = { class: "ao-template-details__col" }, x7 = /* @__PURE__ */ K({
|
|
7822
7822
|
__name: "AoTemplateDetails",
|
|
7823
7823
|
props: {
|
|
7824
7824
|
templateId: {},
|
|
@@ -7851,7 +7851,7 @@ const F7 = {
|
|
|
7851
7851
|
);
|
|
7852
7852
|
const i = y(() => {
|
|
7853
7853
|
var I, V;
|
|
7854
|
-
return (V = (I = s == null ? void 0 : s.value) == null ? void 0 : I.phases) == null ? void 0 : V.find((
|
|
7854
|
+
return (V = (I = s == null ? void 0 : s.value) == null ? void 0 : I.phases) == null ? void 0 : V.find((F) => F.id === t.phaseId);
|
|
7855
7855
|
});
|
|
7856
7856
|
ue(
|
|
7857
7857
|
() => {
|
|
@@ -7865,7 +7865,7 @@ const F7 = {
|
|
|
7865
7865
|
const l = y(() => {
|
|
7866
7866
|
var I, V;
|
|
7867
7867
|
return (V = (I = i.value) == null ? void 0 : I.milestones) == null ? void 0 : V.find(
|
|
7868
|
-
(
|
|
7868
|
+
(F) => F.id === t.milestoneId
|
|
7869
7869
|
);
|
|
7870
7870
|
});
|
|
7871
7871
|
ue(
|
|
@@ -7879,23 +7879,23 @@ const F7 = {
|
|
|
7879
7879
|
);
|
|
7880
7880
|
const r = y(() => {
|
|
7881
7881
|
var I, V;
|
|
7882
|
-
return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((
|
|
7882
|
+
return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((F, ne) => {
|
|
7883
7883
|
const M = ne.milestones || [];
|
|
7884
|
-
return [...
|
|
7884
|
+
return [...F, ...M];
|
|
7885
7885
|
}, [])) || [];
|
|
7886
7886
|
}), d = y(() => {
|
|
7887
7887
|
var I, V;
|
|
7888
|
-
return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((
|
|
7888
|
+
return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((F, ne) => {
|
|
7889
7889
|
const Y = (ne.milestones || []).reduce(
|
|
7890
7890
|
(ie, B) => B.activities ? [...ie, ...B.activities] : ie,
|
|
7891
7891
|
[]
|
|
7892
7892
|
);
|
|
7893
|
-
return [...
|
|
7893
|
+
return [...F, ...Y];
|
|
7894
7894
|
}, [])) || [];
|
|
7895
7895
|
}), u = y(() => {
|
|
7896
7896
|
var I, V;
|
|
7897
7897
|
return (V = (I = l.value) == null ? void 0 : I.activities) == null ? void 0 : V.find(
|
|
7898
|
-
(
|
|
7898
|
+
(F) => F.id === t.activityId
|
|
7899
7899
|
);
|
|
7900
7900
|
}), v = y(() => {
|
|
7901
7901
|
var I;
|
|
@@ -7949,7 +7949,7 @@ const F7 = {
|
|
|
7949
7949
|
}, b = (I) => {
|
|
7950
7950
|
if (!i.value)
|
|
7951
7951
|
return;
|
|
7952
|
-
const { name: V, rank:
|
|
7952
|
+
const { name: V, rank: F } = ht(
|
|
7953
7953
|
i.value.milestones,
|
|
7954
7954
|
"milestone",
|
|
7955
7955
|
n
|
|
@@ -7960,7 +7960,7 @@ const F7 = {
|
|
|
7960
7960
|
phaseId: I.phaseId,
|
|
7961
7961
|
item: {
|
|
7962
7962
|
name: V,
|
|
7963
|
-
rank:
|
|
7963
|
+
rank: F,
|
|
7964
7964
|
phaseId: I.phaseId
|
|
7965
7965
|
}
|
|
7966
7966
|
});
|
|
@@ -7974,18 +7974,18 @@ const F7 = {
|
|
|
7974
7974
|
}
|
|
7975
7975
|
});
|
|
7976
7976
|
}, j = (I) => {
|
|
7977
|
-
const { id: V, ...
|
|
7977
|
+
const { id: V, ...F } = I;
|
|
7978
7978
|
e("updateItem", {
|
|
7979
7979
|
itemType: me.MILESTONES,
|
|
7980
7980
|
id: V,
|
|
7981
7981
|
templateId: t.templateId,
|
|
7982
|
-
data:
|
|
7982
|
+
data: F
|
|
7983
7983
|
});
|
|
7984
7984
|
}, W = (I) => {
|
|
7985
7985
|
const { milestoneId: V } = I;
|
|
7986
7986
|
if (!l.value)
|
|
7987
7987
|
return;
|
|
7988
|
-
const { name:
|
|
7988
|
+
const { name: F, rank: ne } = ht(
|
|
7989
7989
|
l.value.activities,
|
|
7990
7990
|
"activity",
|
|
7991
7991
|
n
|
|
@@ -7994,26 +7994,26 @@ const F7 = {
|
|
|
7994
7994
|
type: me.ACTIVITIES,
|
|
7995
7995
|
milestoneId: V,
|
|
7996
7996
|
templateId: t.templateId,
|
|
7997
|
-
item: { name:
|
|
7997
|
+
item: { name: F, rank: ne, milestoneId: V }
|
|
7998
7998
|
});
|
|
7999
7999
|
}, H = (I) => {
|
|
8000
|
-
var V,
|
|
8000
|
+
var V, F;
|
|
8001
8001
|
e("removeItem", {
|
|
8002
8002
|
type: me.ACTIVITIES,
|
|
8003
8003
|
templateId: t.templateId,
|
|
8004
8004
|
phaseId: (V = i.value) == null ? void 0 : V.id,
|
|
8005
|
-
milestoneId: (
|
|
8005
|
+
milestoneId: (F = l.value) == null ? void 0 : F.id,
|
|
8006
8006
|
data: {
|
|
8007
8007
|
id: I.id
|
|
8008
8008
|
}
|
|
8009
8009
|
});
|
|
8010
|
-
},
|
|
8011
|
-
const { id: V, ...
|
|
8010
|
+
}, G = (I) => {
|
|
8011
|
+
const { id: V, ...F } = I;
|
|
8012
8012
|
e("updateItem", {
|
|
8013
8013
|
itemType: me.ACTIVITIES,
|
|
8014
8014
|
id: V,
|
|
8015
8015
|
templateId: t.templateId,
|
|
8016
|
-
data:
|
|
8016
|
+
data: F
|
|
8017
8017
|
});
|
|
8018
8018
|
}, te = J(!1), E = () => {
|
|
8019
8019
|
te.value = !te.value;
|
|
@@ -8024,13 +8024,13 @@ const F7 = {
|
|
|
8024
8024
|
}, h = (I) => {
|
|
8025
8025
|
var V;
|
|
8026
8026
|
if (I.moved) {
|
|
8027
|
-
const
|
|
8027
|
+
const F = Bt(I, ((V = s.value) == null ? void 0 : V.phases) ?? []);
|
|
8028
8028
|
e("updateItem", {
|
|
8029
8029
|
itemType: me.PHASES,
|
|
8030
8030
|
id: I.moved.element.id,
|
|
8031
8031
|
templateId: t.templateId,
|
|
8032
8032
|
data: {
|
|
8033
|
-
rank:
|
|
8033
|
+
rank: F
|
|
8034
8034
|
}
|
|
8035
8035
|
});
|
|
8036
8036
|
}
|
|
@@ -8065,11 +8065,11 @@ const F7 = {
|
|
|
8065
8065
|
e("removeFile", I);
|
|
8066
8066
|
};
|
|
8067
8067
|
return (I, V) => {
|
|
8068
|
-
var
|
|
8068
|
+
var F, ne, M, Y, ie, B;
|
|
8069
8069
|
return s.value ? (c(), m("div", F7, [
|
|
8070
8070
|
T(r1, {
|
|
8071
8071
|
"can-go-back": !0,
|
|
8072
|
-
onGoBack: V[1] || (V[1] = (S) => I.$router.push({ name:
|
|
8072
|
+
onGoBack: V[1] || (V[1] = (S) => I.$router.push({ name: q(ft).TEMPLATES_LIST }))
|
|
8073
8073
|
}, {
|
|
8074
8074
|
primary: U(() => [
|
|
8075
8075
|
T(Ce, {
|
|
@@ -8086,7 +8086,7 @@ const F7 = {
|
|
|
8086
8086
|
f("div", q7, [
|
|
8087
8087
|
f("ol", z7, [
|
|
8088
8088
|
f("li", W7, [
|
|
8089
|
-
T(
|
|
8089
|
+
T(q(Xe), {
|
|
8090
8090
|
"model-value": s.value.phases,
|
|
8091
8091
|
class: "ao-templates__list",
|
|
8092
8092
|
"item-key": "id",
|
|
@@ -8136,7 +8136,7 @@ const F7 = {
|
|
|
8136
8136
|
key: 0,
|
|
8137
8137
|
"template-id": I.templateId,
|
|
8138
8138
|
phase: i.value,
|
|
8139
|
-
"milestone-id": (
|
|
8139
|
+
"milestone-id": (F = l.value) == null ? void 0 : F.id,
|
|
8140
8140
|
onAddMilestone: b,
|
|
8141
8141
|
onUpdateMilestone: j,
|
|
8142
8142
|
onUpdatePhase: g,
|
|
@@ -8151,7 +8151,7 @@ const F7 = {
|
|
|
8151
8151
|
milestone: l.value,
|
|
8152
8152
|
"activity-id": (M = u.value) == null ? void 0 : M.id,
|
|
8153
8153
|
onAddActivity: W,
|
|
8154
|
-
onUpdateActivity:
|
|
8154
|
+
onUpdateActivity: G,
|
|
8155
8155
|
onRemoveActivity: H
|
|
8156
8156
|
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
|
|
8157
8157
|
])
|
|
@@ -8170,7 +8170,7 @@ const F7 = {
|
|
|
8170
8170
|
"is-editable": !0,
|
|
8171
8171
|
users: I.users,
|
|
8172
8172
|
"onUpdate:activity": V[2] || (V[2] = (S) => {
|
|
8173
|
-
u.value &&
|
|
8173
|
+
u.value && G(S);
|
|
8174
8174
|
}),
|
|
8175
8175
|
onClose: I.$router.back,
|
|
8176
8176
|
onAddSubtask: O,
|
|
@@ -8208,7 +8208,7 @@ const X7 = {
|
|
|
8208
8208
|
}, Q7 = { class: "ao-card__body" }, J7 = {
|
|
8209
8209
|
key: 1,
|
|
8210
8210
|
class: "ao-card__footer"
|
|
8211
|
-
}, R1 = /* @__PURE__ */
|
|
8211
|
+
}, R1 = /* @__PURE__ */ K({
|
|
8212
8212
|
__name: "AoCard",
|
|
8213
8213
|
props: {
|
|
8214
8214
|
isClickable: { type: Boolean },
|
|
@@ -8216,7 +8216,7 @@ const X7 = {
|
|
|
8216
8216
|
},
|
|
8217
8217
|
setup(a) {
|
|
8218
8218
|
return (e, t) => (c(), R(at(e.tagName), {
|
|
8219
|
-
class:
|
|
8219
|
+
class: x(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
8220
8220
|
}, {
|
|
8221
8221
|
default: U(() => [
|
|
8222
8222
|
e.$slots.header ? (c(), m("header", X7, [
|
|
@@ -8233,7 +8233,7 @@ const X7 = {
|
|
|
8233
8233
|
}, 8, ["class"]));
|
|
8234
8234
|
}
|
|
8235
8235
|
});
|
|
8236
|
-
const U1 = /* @__PURE__ */
|
|
8236
|
+
const U1 = /* @__PURE__ */ K({
|
|
8237
8237
|
__name: "AoProgress",
|
|
8238
8238
|
props: {
|
|
8239
8239
|
percentages: {},
|
|
@@ -8242,12 +8242,12 @@ const U1 = /* @__PURE__ */ x({
|
|
|
8242
8242
|
setup(a) {
|
|
8243
8243
|
const e = a, t = y(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
8244
8244
|
return (n, s) => (c(), m("div", {
|
|
8245
|
-
class:
|
|
8245
|
+
class: x(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
|
|
8246
8246
|
role: "meter"
|
|
8247
8247
|
}, [
|
|
8248
8248
|
(c(!0), m(ve, null, be(t.value, (o) => (c(), m("div", {
|
|
8249
8249
|
key: o,
|
|
8250
|
-
class:
|
|
8250
|
+
class: x(["ao-progress__progress"]),
|
|
8251
8251
|
style: ua({ width: `${o * 100}%` })
|
|
8252
8252
|
}, null, 4))), 128))
|
|
8253
8253
|
], 2));
|
|
@@ -8256,7 +8256,7 @@ const U1 = /* @__PURE__ */ x({
|
|
|
8256
8256
|
const e9 = { class: "ao-card-project-phase__header" }, t9 = { class: "ao-card-project-phase__footer" }, a9 = { class: "ao-card-project-phase__footer-row" }, s9 = { class: "ao-card-project-phase__subitem" }, n9 = { class: "ao-card-project-phase__subitem" }, i9 = {
|
|
8257
8257
|
key: 1,
|
|
8258
8258
|
class: "ao-card-project-phase__secondary"
|
|
8259
|
-
}, o9 = /* @__PURE__ */
|
|
8259
|
+
}, o9 = /* @__PURE__ */ K({
|
|
8260
8260
|
__name: "AoCardProjectItemPhase",
|
|
8261
8261
|
props: {
|
|
8262
8262
|
id: {},
|
|
@@ -8296,7 +8296,7 @@ const e9 = { class: "ao-card-project-phase__header" }, t9 = { class: "ao-card-pr
|
|
|
8296
8296
|
name: "MountainFlagOutlineRounded",
|
|
8297
8297
|
size: "sm"
|
|
8298
8298
|
}),
|
|
8299
|
-
f("span", n9,
|
|
8299
|
+
f("span", n9, Z(o.value) + " / " + Z(s.value), 1)
|
|
8300
8300
|
]),
|
|
8301
8301
|
T(U1, {
|
|
8302
8302
|
percentages: i.value,
|
|
@@ -8339,7 +8339,7 @@ const l9 = { class: "ao-card-project-milestone__default" }, r9 = {
|
|
|
8339
8339
|
}, u9 = { class: "ao-card-project-phase__footer" }, d9 = { class: "ao-card-project-phase__footer-row" }, c9 = { class: "ao-card-project-phase__subitem" }, f9 = { class: "ao-card-project-phase__subitem" }, v9 = {
|
|
8340
8340
|
key: 1,
|
|
8341
8341
|
class: "ao-card-project-phase__secondary"
|
|
8342
|
-
}, p9 = /* @__PURE__ */
|
|
8342
|
+
}, p9 = /* @__PURE__ */ K({
|
|
8343
8343
|
__name: "AoCardProjectItemMilestone",
|
|
8344
8344
|
props: {
|
|
8345
8345
|
id: {},
|
|
@@ -8397,7 +8397,7 @@ const l9 = { class: "ao-card-project-milestone__default" }, r9 = {
|
|
|
8397
8397
|
name: "SelectCheckBox",
|
|
8398
8398
|
size: "sm"
|
|
8399
8399
|
}),
|
|
8400
|
-
f("span", f9,
|
|
8400
|
+
f("span", f9, Z(s.value) + " / " + Z(n.value), 1)
|
|
8401
8401
|
]),
|
|
8402
8402
|
T(U1, {
|
|
8403
8403
|
percentages: o.value,
|
|
@@ -8417,7 +8417,7 @@ const l9 = { class: "ao-card-project-milestone__default" }, r9 = {
|
|
|
8417
8417
|
const h9 = { class: "ao-project-phase" }, m9 = {
|
|
8418
8418
|
key: 0,
|
|
8419
8419
|
class: "ao-project-phase__drag ao-card__drag"
|
|
8420
|
-
}, C9 = { class: "ao-project-phase__col-phase" }, _9 = { class: "ao-project-phase__col-milestones" }, g9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, y9 = /* @__PURE__ */
|
|
8420
|
+
}, C9 = { class: "ao-project-phase__col-phase" }, _9 = { class: "ao-project-phase__col-milestones" }, g9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, y9 = /* @__PURE__ */ K({
|
|
8421
8421
|
__name: "AoProjectPhase",
|
|
8422
8422
|
props: {
|
|
8423
8423
|
phase: {},
|
|
@@ -8470,7 +8470,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
|
|
|
8470
8470
|
]),
|
|
8471
8471
|
f("div", _9, [
|
|
8472
8472
|
f("div", g9, [
|
|
8473
|
-
T(
|
|
8473
|
+
T(q(Xe), Ie({
|
|
8474
8474
|
class: "ao-project-phase__milestones-list",
|
|
8475
8475
|
list: o.value,
|
|
8476
8476
|
disabled: !v.isEditable,
|
|
@@ -8487,7 +8487,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
|
|
|
8487
8487
|
"closed-status": v.closedStatus,
|
|
8488
8488
|
class: "ao-project-phase__milestone",
|
|
8489
8489
|
onClick: (w) => v.$router.push({
|
|
8490
|
-
name:
|
|
8490
|
+
name: q(He).milestone,
|
|
8491
8491
|
params: { phaseId: v.phase.id, milestoneId: C.id }
|
|
8492
8492
|
}),
|
|
8493
8493
|
onUpdateMilestone: l,
|
|
@@ -8513,7 +8513,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
|
|
|
8513
8513
|
const w9 = { class: "ao-project__phases" }, $9 = {
|
|
8514
8514
|
key: 0,
|
|
8515
8515
|
class: "ao-project-phase__phases-list-footer"
|
|
8516
|
-
}, M9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), k9 = { class: "ao-project-phase__col-phase" }, A9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), T9 = /* @__PURE__ */
|
|
8516
|
+
}, M9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), k9 = { class: "ao-project-phase__col-phase" }, A9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), T9 = /* @__PURE__ */ K({
|
|
8517
8517
|
__name: "AoProjectPhases",
|
|
8518
8518
|
props: {
|
|
8519
8519
|
phases: {},
|
|
@@ -8548,7 +8548,7 @@ const w9 = { class: "ao-project__phases" }, $9 = {
|
|
|
8548
8548
|
e("addPhase", u);
|
|
8549
8549
|
};
|
|
8550
8550
|
return (u, v) => (c(), m("div", w9, [
|
|
8551
|
-
T(
|
|
8551
|
+
T(q(Xe), {
|
|
8552
8552
|
class: "ao-project-phase__phases-list",
|
|
8553
8553
|
"model-value": u.phases,
|
|
8554
8554
|
"item-key": "id",
|
|
@@ -8584,7 +8584,7 @@ const w9 = { class: "ao-project__phases" }, $9 = {
|
|
|
8584
8584
|
]));
|
|
8585
8585
|
}
|
|
8586
8586
|
});
|
|
8587
|
-
const S9 = ["onSubmit"], E9 = { class: "ao-add-template-modal__form-body" }, I9 = { class: "field__row" }, O9 = { class: "ao-add-template-modal__form-footer" }, L9 = /* @__PURE__ */
|
|
8587
|
+
const S9 = ["onSubmit"], E9 = { class: "ao-add-template-modal__form-body" }, I9 = { class: "field__row" }, O9 = { class: "ao-add-template-modal__form-footer" }, L9 = /* @__PURE__ */ K({
|
|
8588
8588
|
__name: "AoAddTemplateModal",
|
|
8589
8589
|
props: {
|
|
8590
8590
|
projectId: {},
|
|
@@ -8637,7 +8637,7 @@ const S9 = ["onSubmit"], E9 = { class: "ao-add-template-modal__form-body" }, I9
|
|
|
8637
8637
|
}));
|
|
8638
8638
|
}
|
|
8639
8639
|
});
|
|
8640
|
-
const V9 =
|
|
8640
|
+
const V9 = K({
|
|
8641
8641
|
props: {
|
|
8642
8642
|
isLeft: {
|
|
8643
8643
|
type: Boolean,
|
|
@@ -8670,26 +8670,26 @@ const D9 = { class: "toggle-wrapper" };
|
|
|
8670
8670
|
function H9(a, e, t, n, s, o) {
|
|
8671
8671
|
return c(), m("div", D9, [
|
|
8672
8672
|
f("button", {
|
|
8673
|
-
class:
|
|
8673
|
+
class: x({
|
|
8674
8674
|
button: !0,
|
|
8675
8675
|
"button--left": !0,
|
|
8676
8676
|
"button--inactive": !a.isLeft
|
|
8677
8677
|
}),
|
|
8678
8678
|
type: "button",
|
|
8679
8679
|
onClick: e[0] || (e[0] = (...i) => a.selectLeft && a.selectLeft(...i))
|
|
8680
|
-
},
|
|
8680
|
+
}, Z(a.leftLabel), 3),
|
|
8681
8681
|
f("button", {
|
|
8682
|
-
class:
|
|
8682
|
+
class: x({
|
|
8683
8683
|
button: !0,
|
|
8684
8684
|
"button--right": !0,
|
|
8685
8685
|
"button--inactive": a.isLeft
|
|
8686
8686
|
}),
|
|
8687
8687
|
type: "button",
|
|
8688
8688
|
onClick: e[1] || (e[1] = (...i) => a.selectRight && a.selectRight(...i))
|
|
8689
|
-
},
|
|
8689
|
+
}, Z(a.rightLabel), 3)
|
|
8690
8690
|
]);
|
|
8691
8691
|
}
|
|
8692
|
-
const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237"]]), P9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, N9 = /* @__PURE__ */
|
|
8692
|
+
const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237"]]), P9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, N9 = /* @__PURE__ */ K({
|
|
8693
8693
|
__name: "AoProjectOverviewProject",
|
|
8694
8694
|
props: {
|
|
8695
8695
|
project: {},
|
|
@@ -8743,8 +8743,8 @@ const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237
|
|
|
8743
8743
|
e("updateComment", E);
|
|
8744
8744
|
}, H = (E) => {
|
|
8745
8745
|
e("removeComment", E);
|
|
8746
|
-
},
|
|
8747
|
-
e("applyTemplate", { templateId: E, projectId: ee }),
|
|
8746
|
+
}, G = J(!1), te = (E, ee) => {
|
|
8747
|
+
e("applyTemplate", { templateId: E, projectId: ee }), G.value = !1;
|
|
8748
8748
|
};
|
|
8749
8749
|
return (E, ee) => {
|
|
8750
8750
|
const de = hs("RouterView");
|
|
@@ -8758,7 +8758,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237
|
|
|
8758
8758
|
"right-label": E.$t("project.switch.feed"),
|
|
8759
8759
|
"left-label": E.$t("project.switch.overview"),
|
|
8760
8760
|
"onUpdate:isLeft": ee[0] || (ee[0] = (h) => {
|
|
8761
|
-
h || E.$router.push({ name:
|
|
8761
|
+
h || E.$router.push({ name: q(He).feed });
|
|
8762
8762
|
})
|
|
8763
8763
|
}, null, 8, ["right-label", "left-label"]),
|
|
8764
8764
|
E.isEditable ? (c(), R(fe, {
|
|
@@ -8766,7 +8766,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237
|
|
|
8766
8766
|
class: "ao-project-overview__add-template",
|
|
8767
8767
|
color: "primary",
|
|
8768
8768
|
label: E.$t("project.template.add.label"),
|
|
8769
|
-
onClick: ee[1] || (ee[1] = (h) =>
|
|
8769
|
+
onClick: ee[1] || (ee[1] = (h) => G.value = !0)
|
|
8770
8770
|
}, null, 8, ["label"])) : k("", !0)
|
|
8771
8771
|
]),
|
|
8772
8772
|
_: 1
|
|
@@ -8792,7 +8792,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237
|
|
|
8792
8792
|
"project-name": E.project.name,
|
|
8793
8793
|
users: E.users,
|
|
8794
8794
|
"is-editable": E.isEditable,
|
|
8795
|
-
onClose: ee[2] || (ee[2] = (h) => E.$router.push({ name:
|
|
8795
|
+
onClose: ee[2] || (ee[2] = (h) => E.$router.push({ name: q(He).project })),
|
|
8796
8796
|
onAddActivity: v,
|
|
8797
8797
|
onUpdateActivity: p,
|
|
8798
8798
|
onArchiveActivity: C
|
|
@@ -8825,11 +8825,11 @@ const Ba = /* @__PURE__ */ P(V9, [["render", H9], ["__scopeId", "data-v-c0ae9237
|
|
|
8825
8825
|
]))
|
|
8826
8826
|
], 16),
|
|
8827
8827
|
(c(), R(It, { to: "body" }, [
|
|
8828
|
-
|
|
8828
|
+
G.value ? (c(), R(L9, {
|
|
8829
8829
|
key: 0,
|
|
8830
8830
|
"project-id": E.project.id,
|
|
8831
8831
|
templates: E.templates,
|
|
8832
|
-
onClose: ee[3] || (ee[3] = (h) =>
|
|
8832
|
+
onClose: ee[3] || (ee[3] = (h) => G.value = !1),
|
|
8833
8833
|
onApply: te
|
|
8834
8834
|
}, null, 8, ["project-id", "templates"])) : k("", !0)
|
|
8835
8835
|
]))
|
|
@@ -8864,7 +8864,7 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
8864
8864
|
}, J9 = { class: "ao-card-feed__subitem" }, e4 = { class: "ao-card-feed__footer-row" }, t4 = {
|
|
8865
8865
|
key: 0,
|
|
8866
8866
|
class: "ao-card-feed__progress-wrapper"
|
|
8867
|
-
}, a4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */
|
|
8867
|
+
}, a4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ K({
|
|
8868
8868
|
__name: "AoCardFeed",
|
|
8869
8869
|
props: {
|
|
8870
8870
|
id: {},
|
|
@@ -8936,7 +8936,7 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
8936
8936
|
]),
|
|
8937
8937
|
default: U(() => [
|
|
8938
8938
|
f("div", Z9, [
|
|
8939
|
-
s.value ? (c(), m("span", F9,
|
|
8939
|
+
s.value ? (c(), m("span", F9, Z(s.value), 1)) : k("", !0),
|
|
8940
8940
|
T(Ce, {
|
|
8941
8941
|
id: p.id,
|
|
8942
8942
|
title: p.name,
|
|
@@ -8944,7 +8944,7 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
8944
8944
|
"is-editable": p.isEditable,
|
|
8945
8945
|
"onUpdate:title": n
|
|
8946
8946
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
8947
|
-
p.deadline ? (c(), m("span", q9,
|
|
8947
|
+
p.deadline ? (c(), m("span", q9, Z(i.value), 1)) : k("", !0)
|
|
8948
8948
|
])
|
|
8949
8949
|
]),
|
|
8950
8950
|
footer: U(() => [
|
|
@@ -8970,14 +8970,14 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
8970
8970
|
name: "ChatOutline",
|
|
8971
8971
|
size: "sm"
|
|
8972
8972
|
}),
|
|
8973
|
-
f("span", X9,
|
|
8973
|
+
f("span", X9, Z(p.comments), 1)
|
|
8974
8974
|
])) : k("", !0),
|
|
8975
8975
|
p.attachments ? (c(), m("li", Q9, [
|
|
8976
8976
|
T(ce, {
|
|
8977
8977
|
name: "AttachFileRounded",
|
|
8978
8978
|
size: "sm"
|
|
8979
8979
|
}),
|
|
8980
|
-
f("span", J9,
|
|
8980
|
+
f("span", J9, Z(p.attachments), 1)
|
|
8981
8981
|
])) : k("", !0)
|
|
8982
8982
|
])) : k("", !0)
|
|
8983
8983
|
]),
|
|
@@ -8988,7 +8988,7 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
8988
8988
|
name: "SelectCheckBox",
|
|
8989
8989
|
size: "sm"
|
|
8990
8990
|
}),
|
|
8991
|
-
f("span", s4,
|
|
8991
|
+
f("span", s4, Z(u.value) + " / " + Z(d.value), 1)
|
|
8992
8992
|
]),
|
|
8993
8993
|
T(U1, {
|
|
8994
8994
|
percentages: v.value,
|
|
@@ -9005,7 +9005,7 @@ const R9 = { class: "ao-card-feed__header" }, U9 = {
|
|
|
9005
9005
|
const n4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-milestone__header" }, o4 = { class: "ao-project-milestone__title" }, l4 = { class: "ao-project-milestone__body" }, r4 = {
|
|
9006
9006
|
key: 0,
|
|
9007
9007
|
class: "ao-project-milestone__footer"
|
|
9008
|
-
}, ra = /* @__PURE__ */
|
|
9008
|
+
}, ra = /* @__PURE__ */ K({
|
|
9009
9009
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
9010
9010
|
props: {
|
|
9011
9011
|
milestoneId: {},
|
|
@@ -9060,7 +9060,7 @@ const n4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
|
|
|
9060
9060
|
return c(), m("div", n4, [
|
|
9061
9061
|
f("header", i4, [
|
|
9062
9062
|
f("div", o4, [
|
|
9063
|
-
f("span", null,
|
|
9063
|
+
f("span", null, Z(p.$t("project.milestone.title")), 1),
|
|
9064
9064
|
T(Ce, {
|
|
9065
9065
|
title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
|
|
9066
9066
|
level: 5
|
|
@@ -9073,7 +9073,7 @@ const n4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
|
|
|
9073
9073
|
})
|
|
9074
9074
|
]),
|
|
9075
9075
|
f("div", l4, [
|
|
9076
|
-
T(
|
|
9076
|
+
T(q(Xe), Ie({
|
|
9077
9077
|
class: "ao-project-milestone__activities",
|
|
9078
9078
|
list: l.value,
|
|
9079
9079
|
disabled: !p.isEditable,
|
|
@@ -9098,7 +9098,7 @@ const n4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
|
|
|
9098
9098
|
"is-editable": p.isEditable,
|
|
9099
9099
|
"is-private": $.private,
|
|
9100
9100
|
onClick: (j) => p.$router.push({
|
|
9101
|
-
name:
|
|
9101
|
+
name: q(He).activity,
|
|
9102
9102
|
params: { milestoneId: p.milestoneId, activityId: $.id }
|
|
9103
9103
|
}),
|
|
9104
9104
|
onUpdateActivity: u,
|
|
@@ -9137,7 +9137,7 @@ const n4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
|
|
|
9137
9137
|
};
|
|
9138
9138
|
}
|
|
9139
9139
|
});
|
|
9140
|
-
const u4 = /* @__PURE__ */
|
|
9140
|
+
const u4 = /* @__PURE__ */ K({
|
|
9141
9141
|
__name: "AoProjectOverviewActivityDetails",
|
|
9142
9142
|
props: {
|
|
9143
9143
|
phaseId: {},
|
|
@@ -9220,7 +9220,7 @@ const u4 = /* @__PURE__ */ x({
|
|
|
9220
9220
|
}, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
|
|
9221
9221
|
};
|
|
9222
9222
|
}
|
|
9223
|
-
}), d4 = { class: "ao-col-header" }, c4 = /* @__PURE__ */
|
|
9223
|
+
}), d4 = { class: "ao-col-header" }, c4 = /* @__PURE__ */ K({
|
|
9224
9224
|
__name: "AoColHeader",
|
|
9225
9225
|
props: {
|
|
9226
9226
|
title: {},
|
|
@@ -9247,7 +9247,7 @@ function f4(a) {
|
|
|
9247
9247
|
return ms() ? (Cs(a), !0) : !1;
|
|
9248
9248
|
}
|
|
9249
9249
|
function Jt(a) {
|
|
9250
|
-
return typeof a == "function" ? a() :
|
|
9250
|
+
return typeof a == "function" ? a() : q(a);
|
|
9251
9251
|
}
|
|
9252
9252
|
const v4 = typeof window < "u", p4 = (a) => a != null, St = () => {
|
|
9253
9253
|
};
|
|
@@ -9343,7 +9343,7 @@ function y4(a, e, t = {}) {
|
|
|
9343
9343
|
};
|
|
9344
9344
|
}
|
|
9345
9345
|
const w4 = {
|
|
9346
|
-
class: /* @__PURE__ */
|
|
9346
|
+
class: /* @__PURE__ */ x(["ao-list-kanban"])
|
|
9347
9347
|
}, $4 = { class: "ao-list-kanban__header" }, M4 = {
|
|
9348
9348
|
key: 0,
|
|
9349
9349
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
@@ -9359,7 +9359,7 @@ const w4 = {
|
|
|
9359
9359
|
}, S4 = {
|
|
9360
9360
|
key: 1,
|
|
9361
9361
|
class: "ao-list-kanban__footer"
|
|
9362
|
-
}, E4 = /* @__PURE__ */
|
|
9362
|
+
}, E4 = /* @__PURE__ */ K({
|
|
9363
9363
|
__name: "AoListKanban",
|
|
9364
9364
|
props: {
|
|
9365
9365
|
list: {},
|
|
@@ -9412,7 +9412,7 @@ const w4 = {
|
|
|
9412
9412
|
])
|
|
9413
9413
|
];
|
|
9414
9414
|
}) : k("", !0),
|
|
9415
|
-
T(
|
|
9415
|
+
T(q(Xe), Ie({
|
|
9416
9416
|
class: "ao-list-kanban__list",
|
|
9417
9417
|
list: r.list,
|
|
9418
9418
|
"item-key": "id",
|
|
@@ -9476,7 +9476,7 @@ const w4 = {
|
|
|
9476
9476
|
ref: s,
|
|
9477
9477
|
class: "ao-list-kanban__end"
|
|
9478
9478
|
}, null, 512)) : (c(), m("div", k4, [
|
|
9479
|
-
r.noMoreLabel ? (c(), m("span", A4,
|
|
9479
|
+
r.noMoreLabel ? (c(), m("span", A4, Z(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", T4)) : k("", !0)
|
|
9480
9480
|
]))
|
|
9481
9481
|
]),
|
|
9482
9482
|
_: 1
|
|
@@ -9494,7 +9494,7 @@ const w4 = {
|
|
|
9494
9494
|
]));
|
|
9495
9495
|
}
|
|
9496
9496
|
});
|
|
9497
|
-
const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */
|
|
9497
|
+
const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ K({
|
|
9498
9498
|
__name: "AoSearchField",
|
|
9499
9499
|
props: {
|
|
9500
9500
|
modelValue: {},
|
|
@@ -9516,19 +9516,19 @@ const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
|
|
|
9516
9516
|
class: "ao-field__input ao-search-field__input",
|
|
9517
9517
|
placeholder: i.placeholder,
|
|
9518
9518
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
9519
|
-
(...r) =>
|
|
9519
|
+
(...r) => q(s) && q(s)(...r)),
|
|
9520
9520
|
onKeypress: Ye(n, ["enter"])
|
|
9521
9521
|
}, null, 40, O4),
|
|
9522
9522
|
T(ce, {
|
|
9523
9523
|
name: "SearchRounded",
|
|
9524
|
-
class:
|
|
9524
|
+
class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
9525
9525
|
}, null, 8, ["class"]),
|
|
9526
9526
|
T(fe, {
|
|
9527
9527
|
"icon-name": "CloseRounded",
|
|
9528
9528
|
size: "sm",
|
|
9529
9529
|
color: "primary",
|
|
9530
9530
|
corners: "round",
|
|
9531
|
-
class:
|
|
9531
|
+
class: x(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
|
|
9532
9532
|
onClick: o
|
|
9533
9533
|
}, null, 8, ["class"])
|
|
9534
9534
|
]));
|
|
@@ -9562,7 +9562,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9562
9562
|
}, F4 = { class: "ao-field__label" }, q4 = {
|
|
9563
9563
|
key: 2,
|
|
9564
9564
|
class: "ao-field ao-feed__activity-details__status"
|
|
9565
|
-
}, z4 = { class: "ao-field__label" }, W4 = { class: "ao-field__row" }, Y4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = /* @__PURE__ */
|
|
9565
|
+
}, z4 = { class: "ao-field__label" }, W4 = { class: "ao-field__row" }, Y4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = /* @__PURE__ */ K({
|
|
9566
9566
|
__name: "AoFeed",
|
|
9567
9567
|
props: {
|
|
9568
9568
|
activities: {},
|
|
@@ -9645,7 +9645,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9645
9645
|
}
|
|
9646
9646
|
}), H = (M) => {
|
|
9647
9647
|
u.value = !1, e("update:searchText", M);
|
|
9648
|
-
},
|
|
9648
|
+
}, G = (M) => {
|
|
9649
9649
|
u.value = !1, e("clear:searchText", M);
|
|
9650
9650
|
}, te = (M) => {
|
|
9651
9651
|
i.value && e("addSubtask", M);
|
|
@@ -9688,7 +9688,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9688
9688
|
id: i.value.id,
|
|
9689
9689
|
milestoneId: M
|
|
9690
9690
|
});
|
|
9691
|
-
},
|
|
9691
|
+
}, F = y(() => {
|
|
9692
9692
|
var M;
|
|
9693
9693
|
return (M = t.statuses) == null ? void 0 : M.map((Y) => ({
|
|
9694
9694
|
value: Y.id,
|
|
@@ -9712,7 +9712,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9712
9712
|
"right-label": M.$t("project.switch.feed"),
|
|
9713
9713
|
"left-label": M.$t("project.switch.overview"),
|
|
9714
9714
|
"onUpdate:isLeft": Y[0] || (Y[0] = (B) => {
|
|
9715
|
-
B && M.$router.push({ name:
|
|
9715
|
+
B && M.$router.push({ name: q(He).project });
|
|
9716
9716
|
})
|
|
9717
9717
|
}, null, 8, ["right-label", "left-label"])) : k("", !0),
|
|
9718
9718
|
T(L4, {
|
|
@@ -9720,39 +9720,39 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9720
9720
|
placeholder: M.$t("feed.search.placeholder"),
|
|
9721
9721
|
class: "ao-feed__search",
|
|
9722
9722
|
"onUpdate:modelValue": H,
|
|
9723
|
-
onClear:
|
|
9723
|
+
onClear: G
|
|
9724
9724
|
}, null, 8, ["model-value", "placeholder"]),
|
|
9725
9725
|
t.project ? k("", !0) : (c(), R(ye, {
|
|
9726
9726
|
key: 1,
|
|
9727
|
-
"model-value": M.filters[
|
|
9727
|
+
"model-value": M.filters[q(dt).project],
|
|
9728
9728
|
mode: "tags",
|
|
9729
9729
|
options: $.value,
|
|
9730
9730
|
"close-on-select": !1,
|
|
9731
9731
|
searchable: !0,
|
|
9732
9732
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
9733
9733
|
placeholder: M.$t("feed.filters.project.placeholder"),
|
|
9734
|
-
"onUpdate:modelValue": Y[1] || (Y[1] = (B) => C(
|
|
9734
|
+
"onUpdate:modelValue": Y[1] || (Y[1] = (B) => C(q(dt).project, B))
|
|
9735
9735
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
9736
9736
|
A.value ? (c(), R(ye, {
|
|
9737
9737
|
key: 2,
|
|
9738
|
-
"model-value": M.filters[
|
|
9738
|
+
"model-value": M.filters[q(dt).type],
|
|
9739
9739
|
mode: "tags",
|
|
9740
9740
|
options: A.value,
|
|
9741
9741
|
"close-on-select": !1,
|
|
9742
9742
|
searchable: !0,
|
|
9743
9743
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
9744
9744
|
placeholder: M.$t("feed.filters.activityType.placeholder"),
|
|
9745
|
-
"onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(
|
|
9745
|
+
"onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(q(dt).type, B))
|
|
9746
9746
|
}, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
|
|
9747
9747
|
T(ye, {
|
|
9748
|
-
"model-value": M.filters[
|
|
9748
|
+
"model-value": M.filters[q(dt).assignee],
|
|
9749
9749
|
mode: "tags",
|
|
9750
9750
|
options: g.value,
|
|
9751
9751
|
"close-on-select": !1,
|
|
9752
9752
|
searchable: !0,
|
|
9753
9753
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
9754
9754
|
placeholder: M.$t("feed.filters.assignee.placeholder"),
|
|
9755
|
-
"onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(
|
|
9755
|
+
"onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(q(dt).assignee, B))
|
|
9756
9756
|
}, {
|
|
9757
9757
|
tag: U(({ option: B, handleTagRemove: S }) => [
|
|
9758
9758
|
T(gt, {
|
|
@@ -9796,11 +9796,11 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9796
9796
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
|
|
9797
9797
|
]),
|
|
9798
9798
|
(c(), R(It, { to: "body" }, [
|
|
9799
|
-
|
|
9799
|
+
q(i) ? (c(), R(N1, {
|
|
9800
9800
|
key: 0,
|
|
9801
|
-
activity:
|
|
9801
|
+
activity: q(i),
|
|
9802
9802
|
"activity-types": A.value,
|
|
9803
|
-
"milestone-id": (ie =
|
|
9803
|
+
"milestone-id": (ie = q(i).milestone) == null ? void 0 : ie.id,
|
|
9804
9804
|
"template-activities": s.value,
|
|
9805
9805
|
users: M.users,
|
|
9806
9806
|
"user-id": M.userId,
|
|
@@ -9824,10 +9824,10 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9824
9824
|
return [
|
|
9825
9825
|
f("div", R4, [
|
|
9826
9826
|
re.value && !t.project ? (c(), m("label", U4, [
|
|
9827
|
-
f("span", j4,
|
|
9827
|
+
f("span", j4, Z(M.$t("activity.project.label")), 1),
|
|
9828
9828
|
T(ye, {
|
|
9829
9829
|
options: re.value,
|
|
9830
|
-
value: (B =
|
|
9830
|
+
value: (B = q(i).project) == null ? void 0 : B.id,
|
|
9831
9831
|
searchable: !0,
|
|
9832
9832
|
disabled: !M.isEditable,
|
|
9833
9833
|
caret: M.isEditable,
|
|
@@ -9835,21 +9835,21 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9835
9835
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9836
9836
|
])) : k("", !0),
|
|
9837
9837
|
oe.value ? (c(), m("label", Z4, [
|
|
9838
|
-
f("span", F4,
|
|
9838
|
+
f("span", F4, Z(M.$t("activity.milestone.label")), 1),
|
|
9839
9839
|
T(ye, {
|
|
9840
9840
|
options: oe.value,
|
|
9841
|
-
value: (S =
|
|
9841
|
+
value: (S = q(i).milestone) == null ? void 0 : S.id,
|
|
9842
9842
|
searchable: !0,
|
|
9843
9843
|
disabled: !M.isEditable,
|
|
9844
9844
|
caret: M.isEditable,
|
|
9845
9845
|
onChange: V
|
|
9846
9846
|
}, null, 8, ["options", "value", "disabled", "caret"])
|
|
9847
9847
|
])) : k("", !0),
|
|
9848
|
-
|
|
9849
|
-
f("span", z4,
|
|
9848
|
+
F.value ? (c(), m("label", q4, [
|
|
9849
|
+
f("span", z4, Z(M.$t("activity.status.label")), 1),
|
|
9850
9850
|
T(ye, {
|
|
9851
|
-
options:
|
|
9852
|
-
value: (N =
|
|
9851
|
+
options: F.value,
|
|
9852
|
+
value: (N = q(i).status) == null ? void 0 : N.id,
|
|
9853
9853
|
"can-clear": !1,
|
|
9854
9854
|
"can-deselect": !1,
|
|
9855
9855
|
disabled: !M.isEditable,
|
|
@@ -9863,7 +9863,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
|
|
|
9863
9863
|
default: U(() => [
|
|
9864
9864
|
f("div", W4, [
|
|
9865
9865
|
f("label", Y4, [
|
|
9866
|
-
f("span", K4,
|
|
9866
|
+
f("span", K4, Z(M.$t("activity.deadline.label")), 1),
|
|
9867
9867
|
et(f("input", {
|
|
9868
9868
|
"onUpdate:modelValue": Y[5] || (Y[5] = (B) => W.value = B),
|
|
9869
9869
|
class: "ao-field__input",
|
|
@@ -9891,7 +9891,7 @@ const ft = {
|
|
|
9891
9891
|
TEMPLATES: "templates",
|
|
9892
9892
|
TEMPLATE_DETAILS: "template_details",
|
|
9893
9893
|
TEMPLATES_LIST: "templates_list"
|
|
9894
|
-
},
|
|
9894
|
+
}, u8 = (a, e = {}) => [
|
|
9895
9895
|
{
|
|
9896
9896
|
path: a,
|
|
9897
9897
|
name: ft.TEMPLATES,
|
|
@@ -9916,7 +9916,7 @@ const ft = {
|
|
|
9916
9916
|
feed: "AoProjectFeed",
|
|
9917
9917
|
milestone: "AoMilestone",
|
|
9918
9918
|
activity: "AoActivity"
|
|
9919
|
-
},
|
|
9919
|
+
}, d8 = (a, e = {}) => [
|
|
9920
9920
|
{
|
|
9921
9921
|
path: a,
|
|
9922
9922
|
...e,
|
|
@@ -9953,7 +9953,7 @@ const ft = {
|
|
|
9953
9953
|
}
|
|
9954
9954
|
]
|
|
9955
9955
|
}
|
|
9956
|
-
], x4 = { class: "ao-templates" }, X4 = /* @__PURE__ */
|
|
9956
|
+
], x4 = { class: "ao-templates" }, X4 = /* @__PURE__ */ K({
|
|
9957
9957
|
__name: "AoTemplatesList",
|
|
9958
9958
|
props: {
|
|
9959
9959
|
templates: {}
|
|
@@ -10006,7 +10006,7 @@ const ft = {
|
|
|
10006
10006
|
]),
|
|
10007
10007
|
_: 1
|
|
10008
10008
|
}),
|
|
10009
|
-
T(
|
|
10009
|
+
T(q(Xe), {
|
|
10010
10010
|
"model-value": l.templates,
|
|
10011
10011
|
class: "ao-templates__list",
|
|
10012
10012
|
"item-key": "id",
|
|
@@ -10020,13 +10020,13 @@ const ft = {
|
|
|
10020
10020
|
id: d.id,
|
|
10021
10021
|
title: d.name,
|
|
10022
10022
|
phases: d.phases,
|
|
10023
|
-
milestones: (u = d.phases) != null && u.length ?
|
|
10024
|
-
activities: d.phases ?
|
|
10023
|
+
milestones: (u = d.phases) != null && u.length ? q(r0)(d.phases) : 0,
|
|
10024
|
+
activities: d.phases ? q(u0)(d.phases) : 0,
|
|
10025
10025
|
"updated-at": d.updatedAt,
|
|
10026
10026
|
"updated-by": d.updatedBy,
|
|
10027
10027
|
onUpdateTitle: (v) => o(d.id, v),
|
|
10028
10028
|
onClick: (v) => l.$router.push({
|
|
10029
|
-
name:
|
|
10029
|
+
name: q(ft).TEMPLATE_DETAILS,
|
|
10030
10030
|
params: { templateId: d.id }
|
|
10031
10031
|
})
|
|
10032
10032
|
}, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
@@ -10037,18 +10037,39 @@ const ft = {
|
|
|
10037
10037
|
]));
|
|
10038
10038
|
}
|
|
10039
10039
|
});
|
|
10040
|
+
const Q4 = { class: "ao-field" }, J4 = { class: "ao-field__label" }, e8 = ["type", "value"], c8 = /* @__PURE__ */ K({
|
|
10041
|
+
__name: "AoInputField",
|
|
10042
|
+
props: {
|
|
10043
|
+
label: { default: "" },
|
|
10044
|
+
type: { default: "text" },
|
|
10045
|
+
modelValue: {}
|
|
10046
|
+
},
|
|
10047
|
+
emits: ["update:modelValue"],
|
|
10048
|
+
setup(a) {
|
|
10049
|
+
return (e, t) => (c(), m("label", Q4, [
|
|
10050
|
+
f("span", J4, Z(e.label), 1),
|
|
10051
|
+
f("input", {
|
|
10052
|
+
class: "ao-field__input",
|
|
10053
|
+
type: e.type,
|
|
10054
|
+
value: e.modelValue,
|
|
10055
|
+
"on:update:modelValue": t[0] || (t[0] = (n) => e.$emit("update:modelValue", n))
|
|
10056
|
+
}, null, 40, e8)
|
|
10057
|
+
]));
|
|
10058
|
+
}
|
|
10059
|
+
});
|
|
10040
10060
|
export {
|
|
10041
10061
|
G4 as AoFeed,
|
|
10062
|
+
c8 as AoInputField,
|
|
10042
10063
|
x7 as AoTemplateDetails,
|
|
10043
|
-
|
|
10064
|
+
i8 as AoTemplates,
|
|
10044
10065
|
X4 as AoTemplatesList,
|
|
10045
10066
|
$d as TemplateItemTypeEnum,
|
|
10046
|
-
|
|
10047
|
-
|
|
10067
|
+
l8 as activityFeedStatus,
|
|
10068
|
+
o8 as durationTypes,
|
|
10048
10069
|
dt as feedFilterTypes,
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10070
|
+
d8 as getProjectOverviewRoutes,
|
|
10071
|
+
u8 as getTemplateRoutes,
|
|
10072
|
+
r8 as listUpdateTypes,
|
|
10052
10073
|
k1 as milestoneStatus,
|
|
10053
10074
|
He as projectOverviewRoutes,
|
|
10054
10075
|
bd as ruleComparators,
|