@26lights/orcha 0.41.126 → 0.41.128
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.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as X, openBlock as v, createBlock as B, unref as W, mergeProps as Te, createElementBlock as C, createElementVNode as f, pushScopeId as Bo, popScopeId as jo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as It, normalizeClass as ee, renderSlot as se, toDisplayString as Y, createCommentVNode as E, ref as x, watch as ce, nextTick as ke, withKeys as vt, toHandlers as No, withCtx as z, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Me, vShow as Uo, onUpdated as Fo, vModelText as
|
|
1
|
+
import { defineComponent as X, openBlock as v, createBlock as B, unref as W, mergeProps as Te, createElementBlock as C, createElementVNode as f, pushScopeId as Bo, popScopeId as jo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as It, normalizeClass as ee, renderSlot as se, toDisplayString as Y, createCommentVNode as E, ref as x, watch as ce, nextTick as ke, withKeys as vt, toHandlers as No, withCtx as z, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Me, vShow as Uo, onUpdated as Fo, vModelText as Ve, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
|
|
2
2
|
import { RouterView as Yo, useRoute as xo, useRouter as Es } from "vue-router";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
4
|
const u8 = /* @__PURE__ */ X({
|
|
@@ -116,10 +116,10 @@ const Ei = /* @__PURE__ */ q(Si, [["render", Oi]]), Ii = {}, Li = {
|
|
|
116
116
|
}, null, -1), Hi = [
|
|
117
117
|
Pi
|
|
118
118
|
];
|
|
119
|
-
function
|
|
119
|
+
function Di(t, e) {
|
|
120
120
|
return v(), C("svg", Li, Hi);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const Vi = /* @__PURE__ */ q(Ii, [["render", Di]]), Bi = {}, ji = {
|
|
123
123
|
width: "24",
|
|
124
124
|
height: "24",
|
|
125
125
|
viewBox: "0 0 24 24",
|
|
@@ -251,10 +251,10 @@ const El = /* @__PURE__ */ q(Sl, [["render", Ol]]), Il = {}, Ll = {
|
|
|
251
251
|
}, null, -1), Hl = [
|
|
252
252
|
Pl
|
|
253
253
|
];
|
|
254
|
-
function
|
|
254
|
+
function Dl(t, e) {
|
|
255
255
|
return v(), C("svg", Ll, Hl);
|
|
256
256
|
}
|
|
257
|
-
const
|
|
257
|
+
const Vl = /* @__PURE__ */ q(Il, [["render", Dl]]), Bl = {}, jl = {
|
|
258
258
|
width: "24",
|
|
259
259
|
height: "24",
|
|
260
260
|
viewBox: "0 0 24 24",
|
|
@@ -386,10 +386,10 @@ const E1 = /* @__PURE__ */ q(S1, [["render", O1]]), I1 = {}, L1 = {
|
|
|
386
386
|
}, null, -1), H1 = [
|
|
387
387
|
P1
|
|
388
388
|
];
|
|
389
|
-
function
|
|
389
|
+
function D1(t, e) {
|
|
390
390
|
return v(), C("svg", L1, H1);
|
|
391
391
|
}
|
|
392
|
-
const
|
|
392
|
+
const V1 = /* @__PURE__ */ q(I1, [["render", D1]]), B1 = {}, j1 = {
|
|
393
393
|
width: "24",
|
|
394
394
|
height: "24",
|
|
395
395
|
viewBox: "0 0 24 24",
|
|
@@ -521,10 +521,10 @@ const Er = /* @__PURE__ */ q(Sr, [["render", Or]]), Ir = {}, Lr = {
|
|
|
521
521
|
}, null, -1), Hr = [
|
|
522
522
|
Pr
|
|
523
523
|
];
|
|
524
|
-
function
|
|
524
|
+
function Dr(t, e) {
|
|
525
525
|
return v(), C("svg", Lr, Hr);
|
|
526
526
|
}
|
|
527
|
-
const
|
|
527
|
+
const Vr = /* @__PURE__ */ q(Ir, [["render", Dr]]), Br = {}, jr = {
|
|
528
528
|
width: "24",
|
|
529
529
|
height: "24",
|
|
530
530
|
viewBox: "0 0 24 24",
|
|
@@ -663,14 +663,14 @@ const Lu = /* @__PURE__ */ q(Au, [["render", Iu]]), Pu = {}, Hu = {
|
|
|
663
663
|
viewBox: "0 0 24 24",
|
|
664
664
|
fill: "none",
|
|
665
665
|
xmlns: "http://www.w3.org/2000/svg"
|
|
666
|
-
},
|
|
666
|
+
}, Du = /* @__PURE__ */ f("path", {
|
|
667
667
|
d: "M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",
|
|
668
668
|
fill: "black"
|
|
669
|
-
}, null, -1),
|
|
670
|
-
|
|
669
|
+
}, null, -1), Vu = [
|
|
670
|
+
Du
|
|
671
671
|
];
|
|
672
672
|
function Bu(t, e) {
|
|
673
|
-
return v(), C("svg", Hu,
|
|
673
|
+
return v(), C("svg", Hu, Vu);
|
|
674
674
|
}
|
|
675
675
|
const ju = /* @__PURE__ */ q(Pu, [["render", Bu]]), Ru = {}, Nu = {
|
|
676
676
|
width: "24",
|
|
@@ -798,14 +798,14 @@ const Lc = /* @__PURE__ */ q(Ac, [["render", Ic]]), Pc = {}, Hc = {
|
|
|
798
798
|
viewBox: "0 0 24 24",
|
|
799
799
|
fill: "none",
|
|
800
800
|
xmlns: "http://www.w3.org/2000/svg"
|
|
801
|
-
},
|
|
801
|
+
}, Dc = /* @__PURE__ */ f("path", {
|
|
802
802
|
d: "M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
|
|
803
803
|
fill: "black"
|
|
804
|
-
}, null, -1),
|
|
805
|
-
|
|
804
|
+
}, null, -1), Vc = [
|
|
805
|
+
Dc
|
|
806
806
|
];
|
|
807
807
|
function Bc(t, e) {
|
|
808
|
-
return v(), C("svg", Hc,
|
|
808
|
+
return v(), C("svg", Hc, Vc);
|
|
809
809
|
}
|
|
810
810
|
const jc = /* @__PURE__ */ q(Pc, [["render", Bc]]), Rc = {}, Nc = {
|
|
811
811
|
width: "24",
|
|
@@ -930,14 +930,14 @@ const Ld = /* @__PURE__ */ q(Ad, [["render", Id]]), Pd = {}, Hd = {
|
|
|
930
930
|
viewBox: "0 0 24 24",
|
|
931
931
|
fill: "none",
|
|
932
932
|
xmlns: "http://www.w3.org/2000/svg"
|
|
933
|
-
},
|
|
933
|
+
}, Dd = /* @__PURE__ */ f("path", {
|
|
934
934
|
d: "M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",
|
|
935
935
|
fill: "black"
|
|
936
|
-
}, null, -1),
|
|
937
|
-
|
|
936
|
+
}, null, -1), Vd = [
|
|
937
|
+
Dd
|
|
938
938
|
];
|
|
939
939
|
function Bd(t, e) {
|
|
940
|
-
return v(), C("svg", Hd,
|
|
940
|
+
return v(), C("svg", Hd, Vd);
|
|
941
941
|
}
|
|
942
942
|
const jd = /* @__PURE__ */ q(Pd, [["render", Bd]]), Rd = {}, Nd = {
|
|
943
943
|
width: "24",
|
|
@@ -1067,7 +1067,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1067
1067
|
AccountTreeRounded: Ci,
|
|
1068
1068
|
Add: ki,
|
|
1069
1069
|
AddBoxOutlineRounded: Ei,
|
|
1070
|
-
ArchiveOutlineRounded:
|
|
1070
|
+
ArchiveOutlineRounded: Vi,
|
|
1071
1071
|
ArrowBackRounded: Fi,
|
|
1072
1072
|
ArrowDropDownRounded: xi,
|
|
1073
1073
|
ArrowForwardRounded: el,
|
|
@@ -1076,7 +1076,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1076
1076
|
CalendarTodayOutlineRounded: Cl,
|
|
1077
1077
|
CancelRounded: kl,
|
|
1078
1078
|
ChatOutline: El,
|
|
1079
|
-
CheckBoxOutlineBlank:
|
|
1079
|
+
CheckBoxOutlineBlank: Vl,
|
|
1080
1080
|
CheckBoxOutlineBlankSharp: Fl,
|
|
1081
1081
|
CheckBoxOutlineRounded: xl,
|
|
1082
1082
|
CheckSmallRounded: e1,
|
|
@@ -1085,7 +1085,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1085
1085
|
ChevronRight: C1,
|
|
1086
1086
|
CloseRounded: k1,
|
|
1087
1087
|
ContactsOutlineRounded: E1,
|
|
1088
|
-
ContentCopyOutline:
|
|
1088
|
+
ContentCopyOutline: V1,
|
|
1089
1089
|
DeleteOutlineRounded: F1,
|
|
1090
1090
|
DragIndicator: x1,
|
|
1091
1091
|
EditDocumentRounded: er,
|
|
@@ -1094,7 +1094,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1094
1094
|
FilterListRounded: Cr,
|
|
1095
1095
|
FlagRounded: kr,
|
|
1096
1096
|
FlowsheetOutlineRounded: Er,
|
|
1097
|
-
GifBox:
|
|
1097
|
+
GifBox: Vr,
|
|
1098
1098
|
GroupsOutline: Fr,
|
|
1099
1099
|
HomeOutlineRounded: xr,
|
|
1100
1100
|
ImageRounded: eu,
|
|
@@ -1144,19 +1144,19 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
|
|
|
1144
1144
|
PRIMARY_LIGHTER: "primary-lighter",
|
|
1145
1145
|
NEUTRAL: "neutral",
|
|
1146
1146
|
BLACK: "black"
|
|
1147
|
-
},
|
|
1147
|
+
}, D2 = {
|
|
1148
1148
|
WARNING: "warning",
|
|
1149
1149
|
SUCCESS: "success",
|
|
1150
1150
|
DANGER: "danger"
|
|
1151
1151
|
};
|
|
1152
1152
|
({
|
|
1153
1153
|
...Ls,
|
|
1154
|
-
...
|
|
1154
|
+
...D2
|
|
1155
1155
|
});
|
|
1156
1156
|
const Pn = {
|
|
1157
1157
|
ROUND: "round",
|
|
1158
1158
|
ROUNDED: "rounded"
|
|
1159
|
-
},
|
|
1159
|
+
}, V2 = {
|
|
1160
1160
|
SOLID: "solid",
|
|
1161
1161
|
OUTLINE: "outline",
|
|
1162
1162
|
SOLID_ICON: "solid_icon"
|
|
@@ -1329,7 +1329,7 @@ const R2 = {
|
|
|
1329
1329
|
}, Y2 = {
|
|
1330
1330
|
key: 3,
|
|
1331
1331
|
class: "ao-card-horiz__secondary"
|
|
1332
|
-
},
|
|
1332
|
+
}, Dn = /* @__PURE__ */ X({
|
|
1333
1333
|
__name: "AoCardHoriz",
|
|
1334
1334
|
props: {
|
|
1335
1335
|
id: {},
|
|
@@ -1426,7 +1426,7 @@ const ra = /* @__PURE__ */ X({
|
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: z(() => [
|
|
1428
1428
|
As(Y(n.label) + " ", 1),
|
|
1429
|
-
n.variant === W(
|
|
1429
|
+
n.variant === W(V2).SOLID_ICON && n.iconName ? (v(), B(de, {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
name: n.iconName,
|
|
1432
1432
|
class: "ao-tag__icon",
|
|
@@ -1542,7 +1542,7 @@ function a0(t, e) {
|
|
|
1542
1542
|
var a = Se(t), s = Se(e), n = a.getTime() - s.getTime();
|
|
1543
1543
|
return n < 0 ? -1 : n > 0 ? 1 : n;
|
|
1544
1544
|
}
|
|
1545
|
-
var
|
|
1545
|
+
var Vn = 6e4, Bn = 36e5;
|
|
1546
1546
|
function s0(t) {
|
|
1547
1547
|
return _e(1, arguments), t instanceof Date || ja(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1548
1548
|
}
|
|
@@ -2478,11 +2478,11 @@ var P0 = {
|
|
|
2478
2478
|
narrow: ["1", "2", "3", "4"],
|
|
2479
2479
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
2480
2480
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
2481
|
-
},
|
|
2481
|
+
}, D0 = {
|
|
2482
2482
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
2483
2483
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
2484
2484
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
2485
|
-
},
|
|
2485
|
+
}, V0 = {
|
|
2486
2486
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
2487
2487
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
2488
2488
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -2575,11 +2575,11 @@ var P0 = {
|
|
|
2575
2575
|
}
|
|
2576
2576
|
}),
|
|
2577
2577
|
month: ea({
|
|
2578
|
-
values:
|
|
2578
|
+
values: D0,
|
|
2579
2579
|
defaultWidth: "wide"
|
|
2580
2580
|
}),
|
|
2581
2581
|
day: ea({
|
|
2582
|
-
values:
|
|
2582
|
+
values: V0,
|
|
2583
2583
|
defaultWidth: "wide"
|
|
2584
2584
|
}),
|
|
2585
2585
|
dayPeriod: ea({
|
|
@@ -2879,7 +2879,7 @@ function _3(t) {
|
|
|
2879
2879
|
if (!e)
|
|
2880
2880
|
return NaN;
|
|
2881
2881
|
var a = gs(e[1]), s = gs(e[2]), n = gs(e[3]);
|
|
2882
|
-
return M3(a, s, n) ? a * Bn + s *
|
|
2882
|
+
return M3(a, s, n) ? a * Bn + s * Vn + n * 1e3 : NaN;
|
|
2883
2883
|
}
|
|
2884
2884
|
function gs(t) {
|
|
2885
2885
|
return t && parseFloat(t.replace(",", ".")) || 0;
|
|
@@ -2891,7 +2891,7 @@ function y3(t) {
|
|
|
2891
2891
|
if (!e)
|
|
2892
2892
|
return 0;
|
|
2893
2893
|
var a = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
|
|
2894
|
-
return A3(s, n) ? a * (s * Bn + n *
|
|
2894
|
+
return A3(s, n) ? a * (s * Bn + n * Vn) : NaN;
|
|
2895
2895
|
}
|
|
2896
2896
|
function b3(t, e, a) {
|
|
2897
2897
|
var s = /* @__PURE__ */ new Date(0);
|
|
@@ -3648,13 +3648,13 @@ function Kn(t) {
|
|
|
3648
3648
|
return e + (((s = a.activities) == null ? void 0 : s.length) ?? 0);
|
|
3649
3649
|
}, 0)) ?? 0;
|
|
3650
3650
|
}
|
|
3651
|
-
function
|
|
3651
|
+
function D3(t) {
|
|
3652
3652
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3653
3653
|
var s;
|
|
3654
3654
|
return e + (((s = a.milestones) == null ? void 0 : s.length) ?? 0);
|
|
3655
3655
|
}, 0)) ?? 0;
|
|
3656
3656
|
}
|
|
3657
|
-
function
|
|
3657
|
+
function V3(t) {
|
|
3658
3658
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3659
3659
|
var n;
|
|
3660
3660
|
const s = (n = a.milestones) != null && n.length ? Kn(a.milestones) : 0;
|
|
@@ -3875,7 +3875,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
|
|
|
3875
3875
|
var l;
|
|
3876
3876
|
return ((l = a.phases) == null ? void 0 : l.slice(0, Cs)) ?? [];
|
|
3877
3877
|
}), o = M(() => a.phases && a.phases.length > Cs ? a.phases.length - Cs : 0);
|
|
3878
|
-
return (l, r) => (v(), B(
|
|
3878
|
+
return (l, r) => (v(), B(Dn, {
|
|
3879
3879
|
id: l.id,
|
|
3880
3880
|
title: l.title,
|
|
3881
3881
|
"is-draggable": !0,
|
|
@@ -4033,7 +4033,7 @@ const m5 = ["type"], g5 = {
|
|
|
4033
4033
|
const C5 = { class: "ao-card-template-item__footer" }, _5 = {
|
|
4034
4034
|
key: 0,
|
|
4035
4035
|
class: "ao-card-template-item__subitem"
|
|
4036
|
-
}, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" },
|
|
4036
|
+
}, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" }, Ds = /* @__PURE__ */ X({
|
|
4037
4037
|
__name: "AoCardTemplateItem",
|
|
4038
4038
|
props: {
|
|
4039
4039
|
milestones: {},
|
|
@@ -4053,7 +4053,7 @@ const C5 = { class: "ao-card-template-item__footer" }, _5 = {
|
|
|
4053
4053
|
}, i = () => {
|
|
4054
4054
|
e("remove");
|
|
4055
4055
|
};
|
|
4056
|
-
return (o, l) => (v(), B(
|
|
4056
|
+
return (o, l) => (v(), B(Dn, { "onUpdate:title": a }, {
|
|
4057
4057
|
footer: z(() => [
|
|
4058
4058
|
f("ul", C5, [
|
|
4059
4059
|
(v(), C(fe, null, Ce(s, (r) => (v(), C(fe, { key: r }, [
|
|
@@ -4094,7 +4094,7 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4094
4094
|
var n;
|
|
4095
4095
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
4096
4096
|
}), s = M(() => e.milestones ? Kn(e.milestones) : 0);
|
|
4097
|
-
return (n, i) => (v(), B(
|
|
4097
|
+
return (n, i) => (v(), B(Ds, Te({
|
|
4098
4098
|
id: n.id,
|
|
4099
4099
|
title: n.name,
|
|
4100
4100
|
activities: s.value,
|
|
@@ -4116,7 +4116,7 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4116
4116
|
var s;
|
|
4117
4117
|
return ((s = e.activities) == null ? void 0 : s.length) || 0;
|
|
4118
4118
|
});
|
|
4119
|
-
return (s, n) => (v(), B(
|
|
4119
|
+
return (s, n) => (v(), B(Ds, { activities: a.value }, {
|
|
4120
4120
|
default: z(() => [
|
|
4121
4121
|
se(s.$slots, "default")
|
|
4122
4122
|
]),
|
|
@@ -4203,7 +4203,7 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4203
4203
|
var s;
|
|
4204
4204
|
return ((s = e.tasks) == null ? void 0 : s.length) || 0;
|
|
4205
4205
|
});
|
|
4206
|
-
return (s, n) => (v(), B(
|
|
4206
|
+
return (s, n) => (v(), B(Ds, { tasks: a.value }, {
|
|
4207
4207
|
default: z(() => [
|
|
4208
4208
|
se(s.$slots, "default")
|
|
4209
4209
|
]),
|
|
@@ -4322,19 +4322,19 @@ const w5 = /* @__PURE__ */ X({
|
|
|
4322
4322
|
], 2));
|
|
4323
4323
|
}
|
|
4324
4324
|
});
|
|
4325
|
-
const da = Math.min,
|
|
4325
|
+
const da = Math.min, De = Math.max, Ua = Math.round, Pa = Math.floor, ft = (t) => ({
|
|
4326
4326
|
x: t,
|
|
4327
4327
|
y: t
|
|
4328
|
-
}),
|
|
4328
|
+
}), D5 = {
|
|
4329
4329
|
left: "right",
|
|
4330
4330
|
right: "left",
|
|
4331
4331
|
bottom: "top",
|
|
4332
4332
|
top: "bottom"
|
|
4333
|
-
},
|
|
4333
|
+
}, V5 = {
|
|
4334
4334
|
start: "end",
|
|
4335
4335
|
end: "start"
|
|
4336
4336
|
};
|
|
4337
|
-
function
|
|
4337
|
+
function Vs(t, e) {
|
|
4338
4338
|
return typeof t == "function" ? t(e) : t;
|
|
4339
4339
|
}
|
|
4340
4340
|
function Zt(t) {
|
|
@@ -4366,7 +4366,7 @@ function R5(t) {
|
|
|
4366
4366
|
return [ws(t), e, ws(e)];
|
|
4367
4367
|
}
|
|
4368
4368
|
function ws(t) {
|
|
4369
|
-
return t.replace(/start|end/g, (e) =>
|
|
4369
|
+
return t.replace(/start|end/g, (e) => V5[e]);
|
|
4370
4370
|
}
|
|
4371
4371
|
function N5(t, e, a) {
|
|
4372
4372
|
const s = ["left", "right"], n = ["right", "left"], i = ["top", "bottom"], o = ["bottom", "top"];
|
|
@@ -4387,7 +4387,7 @@ function U5(t, e, a, s) {
|
|
|
4387
4387
|
return n && (i = i.map((o) => o + "-" + n), e && (i = i.concat(i.map(ws)))), i;
|
|
4388
4388
|
}
|
|
4389
4389
|
function Fa(t) {
|
|
4390
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
4390
|
+
return t.replace(/left|right|bottom|top/g, (e) => D5[e]);
|
|
4391
4391
|
}
|
|
4392
4392
|
function F5(t) {
|
|
4393
4393
|
return {
|
|
@@ -4543,7 +4543,7 @@ async function eo(t, e) {
|
|
|
4543
4543
|
elementContext: c = "floating",
|
|
4544
4544
|
altBoundary: p = !1,
|
|
4545
4545
|
padding: h = 0
|
|
4546
|
-
} =
|
|
4546
|
+
} = Vs(e, t), g = Z5(h), m = l[p ? c === "floating" ? "reference" : "floating" : c], $ = Za(await i.getClippingRect({
|
|
4547
4547
|
element: (a = await (i.isElement == null ? void 0 : i.isElement(m))) == null || a ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(l.floating)),
|
|
4548
4548
|
boundary: d,
|
|
4549
4549
|
rootBoundary: u,
|
|
@@ -4591,7 +4591,7 @@ const z5 = function(t) {
|
|
|
4591
4591
|
fallbackAxisSideDirection: g = "none",
|
|
4592
4592
|
flipAlignment: w = !0,
|
|
4593
4593
|
...m
|
|
4594
|
-
} =
|
|
4594
|
+
} = Vs(t, e);
|
|
4595
4595
|
if ((a = i.arrow) != null && a.alignmentOffset)
|
|
4596
4596
|
return {};
|
|
4597
4597
|
const $ = Zt(n), b = Zt(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), _ = p || (b || !w ? [Fa(l)] : R5(l));
|
|
@@ -4655,7 +4655,7 @@ const z5 = function(t) {
|
|
|
4655
4655
|
apply: o = () => {
|
|
4656
4656
|
},
|
|
4657
4657
|
...l
|
|
4658
|
-
} =
|
|
4658
|
+
} = Vs(t, e), r = await eo(e, l), d = Zt(a), u = Ja(a), c = Bs(a) === "y", {
|
|
4659
4659
|
width: p,
|
|
4660
4660
|
height: h
|
|
4661
4661
|
} = s.floating;
|
|
@@ -4671,8 +4671,8 @@ const z5 = function(t) {
|
|
|
4671
4671
|
y = u || b ? da(m, T) : T;
|
|
4672
4672
|
}
|
|
4673
4673
|
if (b && !u) {
|
|
4674
|
-
const T =
|
|
4675
|
-
c ? _ = p - 2 * (T !== 0 || H !== 0 ? T + H :
|
|
4674
|
+
const T = De(r.left, 0), H = De(r.right, 0), R = De(r.top, 0), G = De(r.bottom, 0);
|
|
4675
|
+
c ? _ = p - 2 * (T !== 0 || H !== 0 ? T + H : De(r.left, r.right)) : y = h - 2 * (R !== 0 || G !== 0 ? R + G : De(r.top, r.bottom));
|
|
4676
4676
|
}
|
|
4677
4677
|
await o({
|
|
4678
4678
|
...e,
|
|
@@ -4869,10 +4869,10 @@ function oo(t) {
|
|
|
4869
4869
|
return Ot(st(t)).left + ts(t).scrollLeft;
|
|
4870
4870
|
}
|
|
4871
4871
|
function J5(t) {
|
|
4872
|
-
const e = st(t), a = ts(t), s = t.ownerDocument.body, n =
|
|
4872
|
+
const e = st(t), a = ts(t), s = t.ownerDocument.body, n = De(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), i = De(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
4873
4873
|
let o = -a.scrollLeft + oo(t);
|
|
4874
4874
|
const l = -a.scrollTop;
|
|
4875
|
-
return Re(s).direction === "rtl" && (o +=
|
|
4875
|
+
return Re(s).direction === "rtl" && (o += De(e.clientWidth, s.clientWidth) - n), {
|
|
4876
4876
|
width: n,
|
|
4877
4877
|
height: i,
|
|
4878
4878
|
x: o,
|
|
@@ -4947,7 +4947,7 @@ function s7(t) {
|
|
|
4947
4947
|
} = t;
|
|
4948
4948
|
const o = [...a === "clippingAncestors" ? a7(e, this._c) : [].concat(a), s], l = o[0], r = o.reduce((d, u) => {
|
|
4949
4949
|
const c = bn(e, u, n);
|
|
4950
|
-
return d.top =
|
|
4950
|
+
return d.top = De(c.top, d.top), d.right = da(c.right, d.right), d.bottom = da(c.bottom, d.bottom), d.left = De(c.left, d.left), d;
|
|
4951
4951
|
}, bn(e, l, n));
|
|
4952
4952
|
return {
|
|
4953
4953
|
width: r.right - r.left,
|
|
@@ -5040,7 +5040,7 @@ function u7(t, e) {
|
|
|
5040
5040
|
return;
|
|
5041
5041
|
const h = Pa(u), g = Pa(n.clientWidth - (d + c)), w = Pa(n.clientHeight - (u + p)), m = Pa(d), b = {
|
|
5042
5042
|
rootMargin: -h + "px " + -g + "px " + -w + "px " + -m + "px",
|
|
5043
|
-
threshold:
|
|
5043
|
+
threshold: De(0, da(1, r)) || 1
|
|
5044
5044
|
};
|
|
5045
5045
|
let y = !0;
|
|
5046
5046
|
function _(I) {
|
|
@@ -5293,8 +5293,8 @@ function _7(t, e, a) {
|
|
|
5293
5293
|
onCreate: L,
|
|
5294
5294
|
disabledProp: j,
|
|
5295
5295
|
searchStart: k,
|
|
5296
|
-
searchFilter:
|
|
5297
|
-
} = Ie(t), J = Pt().proxy, K = a.iv,
|
|
5296
|
+
searchFilter: D
|
|
5297
|
+
} = Ie(t), J = Pt().proxy, K = a.iv, V = a.ev, F = a.search, he = a.clearSearch, $e = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = x([]), Ze = x([]), Le = x(!1), Ne = x(null), xe = x(ae.value && o.value === -1 ? 10 : o.value), Qt = M(() => r.value || d.value || !1), Sa = M(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Pe = M(() => {
|
|
5298
5298
|
if (le.value) {
|
|
5299
5299
|
let S = bt.value || /* istanbul ignore next */
|
|
5300
5300
|
[], U = [];
|
|
@@ -5367,7 +5367,7 @@ function _7(t, e, a) {
|
|
|
5367
5367
|
case "tags":
|
|
5368
5368
|
return [];
|
|
5369
5369
|
}
|
|
5370
|
-
}), ko = M(() => w.value || Le.value),
|
|
5370
|
+
}), ko = M(() => w.value || Le.value), Dt = (S) => {
|
|
5371
5371
|
switch (typeof S != "object" && (S = Ge(S)), n.value) {
|
|
5372
5372
|
case "single":
|
|
5373
5373
|
$e(S);
|
|
@@ -5378,7 +5378,7 @@ function _7(t, e, a) {
|
|
|
5378
5378
|
break;
|
|
5379
5379
|
}
|
|
5380
5380
|
e.emit("select", nn(S), S, J);
|
|
5381
|
-
},
|
|
5381
|
+
}, Vt = (S) => {
|
|
5382
5382
|
switch (typeof S != "object" && (S = Ge(S)), n.value) {
|
|
5383
5383
|
case "single":
|
|
5384
5384
|
ln();
|
|
@@ -5390,7 +5390,7 @@ function _7(t, e, a) {
|
|
|
5390
5390
|
}
|
|
5391
5391
|
e.emit("deselect", nn(S), S, J);
|
|
5392
5392
|
}, nn = (S) => g.value ? S : S[T.value], on = (S) => {
|
|
5393
|
-
|
|
5393
|
+
Vt(S);
|
|
5394
5394
|
}, So = (S, U) => {
|
|
5395
5395
|
if (U.button !== 0) {
|
|
5396
5396
|
U.preventDefault();
|
|
@@ -5423,32 +5423,32 @@ function _7(t, e, a) {
|
|
|
5423
5423
|
switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
|
|
5424
5424
|
case "single":
|
|
5425
5425
|
if (S && Ke(S)) {
|
|
5426
|
-
G.value &&
|
|
5426
|
+
G.value && Vt(S), Q.value && (nt(), ot());
|
|
5427
5427
|
return;
|
|
5428
5428
|
}
|
|
5429
|
-
S && ps(S), I.value && he(), N.value && (nt(), ot()), S &&
|
|
5429
|
+
S && ps(S), I.value && he(), N.value && (nt(), ot()), S && Dt(S);
|
|
5430
5430
|
break;
|
|
5431
5431
|
case "multiple":
|
|
5432
5432
|
if (S && Ke(S)) {
|
|
5433
|
-
|
|
5433
|
+
Vt(S), Q.value && (nt(), ot());
|
|
5434
5434
|
return;
|
|
5435
5435
|
}
|
|
5436
5436
|
if (ds()) {
|
|
5437
5437
|
e.emit("max", J);
|
|
5438
5438
|
return;
|
|
5439
5439
|
}
|
|
5440
|
-
S && (ps(S),
|
|
5440
|
+
S && (ps(S), Dt(S)), I.value && he(), l.value && nt(), N.value && ot();
|
|
5441
5441
|
break;
|
|
5442
5442
|
case "tags":
|
|
5443
5443
|
if (S && Ke(S)) {
|
|
5444
|
-
|
|
5444
|
+
Vt(S), Q.value && (nt(), ot());
|
|
5445
5445
|
return;
|
|
5446
5446
|
}
|
|
5447
5447
|
if (ds()) {
|
|
5448
5448
|
e.emit("max", J);
|
|
5449
5449
|
return;
|
|
5450
5450
|
}
|
|
5451
|
-
S && ps(S), I.value && he(), S &&
|
|
5451
|
+
S && ps(S), I.value && he(), S && Dt(S), l.value && nt(), N.value && ot();
|
|
5452
5452
|
break;
|
|
5453
5453
|
}
|
|
5454
5454
|
N.value || $a();
|
|
@@ -5457,7 +5457,7 @@ function _7(t, e, a) {
|
|
|
5457
5457
|
switch (n.value) {
|
|
5458
5458
|
case "multiple":
|
|
5459
5459
|
case "tags":
|
|
5460
|
-
Oo(S[P.value]) ?
|
|
5460
|
+
Oo(S[P.value]) ? Vt(S[P.value]) : Dt(
|
|
5461
5461
|
S[P.value].filter((U) => K.value.map((ue) => ue[T.value]).indexOf(U[T.value]) === -1).filter((U) => !U[j.value]).filter((U, ue) => K.value.length + 1 + ue <= te.value || te.value === -1)
|
|
5462
5462
|
), l.value && Gt.value && Xt(rs.value.filter((U) => !U[j.value])[Gt.value.index]);
|
|
5463
5463
|
break;
|
|
@@ -5467,7 +5467,7 @@ function _7(t, e, a) {
|
|
|
5467
5467
|
}, ps = (S) => {
|
|
5468
5468
|
Ge(S[T.value]) === void 0 && Qt.value && (e.emit("tag", S[T.value], J), e.emit("option", S[T.value], J), e.emit("create", S[T.value], J), Sa.value && Po(S), he());
|
|
5469
5469
|
}, To = () => {
|
|
5470
|
-
n.value !== "single" &&
|
|
5470
|
+
n.value !== "single" && Dt(lt.value.filter((S) => !S.disabled && !Ke(S)));
|
|
5471
5471
|
}, Oo = (S) => S.find((U) => !Ke(U) && !U[j.value]) === void 0, Eo = (S) => S.find((U) => !Ke(U)) === void 0, Ge = (S) => Pe.value[Pe.value.map((U) => String(U[T.value])).indexOf(String(S))], Io = (S) => Pe.value.findIndex((U) => wt.value.some((ue) => (parseInt(U[ue]) == U[ue] ? parseInt(U[ue]) : U[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Lo = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ke(S), Po = (S) => {
|
|
5472
5472
|
it.value.push(S);
|
|
5473
5473
|
}, Ho = (S) => O.value ? S.filter(
|
|
@@ -5475,9 +5475,9 @@ function _7(t, e, a) {
|
|
|
5475
5475
|
) : S.filter((U) => F.value ? U.__VISIBLE__.length : !0), vs = (S, U = !0) => {
|
|
5476
5476
|
let ue = S;
|
|
5477
5477
|
if (F.value && y.value) {
|
|
5478
|
-
let ge =
|
|
5479
|
-
ge || (ge = ($t, cn, o8) => wt.value.some((
|
|
5480
|
-
let dn = _s(ka($t[
|
|
5478
|
+
let ge = D.value;
|
|
5479
|
+
ge || (ge = ($t, cn, o8) => wt.value.some((Vo) => {
|
|
5480
|
+
let dn = _s(ka($t[Vo]), ne.value);
|
|
5481
5481
|
return k.value ? dn.startsWith(_s(cn, ne.value)) : dn.indexOf(_s(cn, ne.value)) !== -1;
|
|
5482
5482
|
})), ue = ue.filter(($t) => ge($t, F.value, J));
|
|
5483
5483
|
}
|
|
@@ -5489,7 +5489,7 @@ function _7(t, e, a) {
|
|
|
5489
5489
|
return { [T.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
|
|
5490
5490
|
})), U = U.map((ue) => typeof ue == "object" ? ue : { [T.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), U;
|
|
5491
5491
|
}, Aa = () => {
|
|
5492
|
-
We(
|
|
5492
|
+
We(V.value) || (K.value = Oa(V.value));
|
|
5493
5493
|
}, Ta = (S) => (Le.value = !0, new Promise((U, ue) => {
|
|
5494
5494
|
s.value(F.value, J).then((ge) => {
|
|
5495
5495
|
Ze.value = ge || [], typeof S == "function" && S(ge), Le.value = !1;
|
|
@@ -5504,17 +5504,17 @@ function _7(t, e, a) {
|
|
|
5504
5504
|
let S = Ge(K.value[T.value]);
|
|
5505
5505
|
if (S !== void 0) {
|
|
5506
5506
|
let U = S[u.value];
|
|
5507
|
-
K.value[u.value] = U, g.value && (
|
|
5507
|
+
K.value[u.value] = U, g.value && (V.value[u.value] = U);
|
|
5508
5508
|
}
|
|
5509
5509
|
} else
|
|
5510
5510
|
K.value.forEach((S, U) => {
|
|
5511
5511
|
let ue = Ge(K.value[U][T.value]);
|
|
5512
5512
|
if (ue !== void 0) {
|
|
5513
5513
|
let ge = ue[u.value];
|
|
5514
|
-
K.value[U][u.value] = ge, g.value && (
|
|
5514
|
+
K.value[U][u.value] = ge, g.value && (V.value[U][u.value] = ge);
|
|
5515
5515
|
}
|
|
5516
5516
|
});
|
|
5517
|
-
},
|
|
5517
|
+
}, Do = (S) => {
|
|
5518
5518
|
Ta(S);
|
|
5519
5519
|
}, Oa = (S) => We(S) ? n.value === "single" ? {} : [] : g.value ? S : n.value === "single" ? Ge(S) || (H.value ? {
|
|
5520
5520
|
[u.value]: S,
|
|
@@ -5538,11 +5538,11 @@ function _7(t, e, a) {
|
|
|
5538
5538
|
}, m.value));
|
|
5539
5539
|
}, { flush: "sync" });
|
|
5540
5540
|
};
|
|
5541
|
-
if (n.value !== "single" && !We(
|
|
5541
|
+
if (n.value !== "single" && !We(V.value) && !Array.isArray(V.value))
|
|
5542
5542
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5543
5543
|
return s && typeof s.value == "function" ? $.value ? Ta(Aa) : g.value == !0 && Aa() : (Ze.value = s.value, Aa()), m.value > -1 && un(), ce(m, (S, U) => {
|
|
5544
5544
|
Ne.value && Ne.value(), S >= 0 && un();
|
|
5545
|
-
}), ce(
|
|
5545
|
+
}), ce(V, (S) => {
|
|
5546
5546
|
if (We(S)) {
|
|
5547
5547
|
$e(Oa(S), !1);
|
|
5548
5548
|
return;
|
|
@@ -5577,8 +5577,8 @@ function _7(t, e, a) {
|
|
|
5577
5577
|
resolving: Le,
|
|
5578
5578
|
busy: ko,
|
|
5579
5579
|
offset: xe,
|
|
5580
|
-
select:
|
|
5581
|
-
deselect:
|
|
5580
|
+
select: Dt,
|
|
5581
|
+
deselect: Vt,
|
|
5582
5582
|
remove: on,
|
|
5583
5583
|
selectAll: To,
|
|
5584
5584
|
clear: ln,
|
|
@@ -5589,7 +5589,7 @@ function _7(t, e, a) {
|
|
|
5589
5589
|
handleOptionClick: Mo,
|
|
5590
5590
|
handleGroupClick: Ao,
|
|
5591
5591
|
handleTagRemove: So,
|
|
5592
|
-
refreshOptions:
|
|
5592
|
+
refreshOptions: Do,
|
|
5593
5593
|
resolveOptions: Ta,
|
|
5594
5594
|
refreshLabels: hs
|
|
5595
5595
|
};
|
|
@@ -5605,23 +5605,23 @@ function y7(t, e, a) {
|
|
|
5605
5605
|
groupSelect: d,
|
|
5606
5606
|
disabledProp: u,
|
|
5607
5607
|
groupOptions: c
|
|
5608
|
-
} = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, w = a.handleGroupClick, m = a.search, $ = a.pointer, b = a.setPointer, y = a.clearPointer, _ = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((
|
|
5609
|
-
const
|
|
5608
|
+
} = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, w = a.handleGroupClick, m = a.search, $ = a.pointer, b = a.setPointer, y = a.clearPointer, _ = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((V) => !V[u.value])), H = M(() => h.value.filter((V) => !V[u.value])), R = M(() => r.value !== "single" && d.value), G = M(() => $.value && $.value.group), te = M(() => J($.value)), ne = M(() => {
|
|
5609
|
+
const V = G.value ? $.value : (
|
|
5610
5610
|
/* istanbul ignore next */
|
|
5611
5611
|
J($.value)
|
|
5612
|
-
), F = H.value.map(($e) => $e[o.value]).indexOf(
|
|
5612
|
+
), F = H.value.map(($e) => $e[o.value]).indexOf(V[o.value]);
|
|
5613
5613
|
let he = H.value[F - 1];
|
|
5614
5614
|
return he === void 0 && (he = Q.value), he;
|
|
5615
5615
|
}), N = M(() => {
|
|
5616
|
-
let
|
|
5617
|
-
return H.value.length <=
|
|
5618
|
-
}), Q = M(() => [...H.value].slice(-1)[0]), le = M(() => $.value.__VISIBLE__.filter((
|
|
5619
|
-
const
|
|
5620
|
-
return
|
|
5616
|
+
let V = H.value.map((F) => F.label).indexOf(G.value ? $.value[o.value] : J($.value)[o.value]) + 1;
|
|
5617
|
+
return H.value.length <= V && (V = 0), H.value[V];
|
|
5618
|
+
}), Q = M(() => [...H.value].slice(-1)[0]), le = M(() => $.value.__VISIBLE__.filter((V) => !V[u.value])[0]), oe = M(() => {
|
|
5619
|
+
const V = te.value.__VISIBLE__.filter((F) => !F[u.value]);
|
|
5620
|
+
return V[V.map((F) => F[s.value]).indexOf($.value[s.value]) - 1];
|
|
5621
5621
|
}), ae = M(() => {
|
|
5622
|
-
const
|
|
5623
|
-
return
|
|
5624
|
-
}), P = M(() => [...ne.value.__VISIBLE__.filter((
|
|
5622
|
+
const V = J($.value).__VISIBLE__.filter((F) => !F[u.value]);
|
|
5623
|
+
return V[V.map((F) => F[s.value]).indexOf($.value[s.value]) + 1];
|
|
5624
|
+
}), P = M(() => [...ne.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), O = M(() => [...Q.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), Z = (V) => $.value && (!V.group && $.value[s.value] === V[s.value] || V.group !== void 0 && $.value[o.value] === V[o.value]) ? !0 : void 0, L = () => {
|
|
5625
5625
|
b(T.value[0] || null);
|
|
5626
5626
|
}, j = () => {
|
|
5627
5627
|
!$.value || $.value[u.value] === !0 || (G.value ? w($.value) : g($.value));
|
|
@@ -5629,42 +5629,42 @@ function y7(t, e, a) {
|
|
|
5629
5629
|
if ($.value === null)
|
|
5630
5630
|
b((l.value && R.value ? H.value[0].__CREATE__ ? T.value[0] : H.value[0] : T.value[0]) || null);
|
|
5631
5631
|
else if (l.value && R.value) {
|
|
5632
|
-
let
|
|
5633
|
-
|
|
5632
|
+
let V = G.value ? le.value : ae.value;
|
|
5633
|
+
V === void 0 && (V = N.value, V.__CREATE__ && (V = V[c.value][0])), b(V || /* istanbul ignore next */
|
|
5634
5634
|
null);
|
|
5635
5635
|
} else {
|
|
5636
|
-
let
|
|
5637
|
-
T.value.length <=
|
|
5636
|
+
let V = T.value.map((F) => F[s.value]).indexOf($.value[s.value]) + 1;
|
|
5637
|
+
T.value.length <= V && (V = 0), b(T.value[V] || null);
|
|
5638
5638
|
}
|
|
5639
5639
|
ke(() => {
|
|
5640
5640
|
K();
|
|
5641
5641
|
});
|
|
5642
|
-
},
|
|
5642
|
+
}, D = () => {
|
|
5643
5643
|
if ($.value === null) {
|
|
5644
|
-
let
|
|
5645
|
-
l.value && R.value && (
|
|
5644
|
+
let V = T.value[T.value.length - 1];
|
|
5645
|
+
l.value && R.value && (V = O.value, V === void 0 && (V = Q.value)), b(V || null);
|
|
5646
5646
|
} else if (l.value && R.value) {
|
|
5647
|
-
let
|
|
5648
|
-
|
|
5647
|
+
let V = G.value ? P.value : oe.value;
|
|
5648
|
+
V === void 0 && (V = G.value ? ne.value : te.value, V.__CREATE__ && (V = P.value, V === void 0 && (V = ne.value))), b(V || /* istanbul ignore next */
|
|
5649
5649
|
null);
|
|
5650
5650
|
} else {
|
|
5651
|
-
let
|
|
5652
|
-
|
|
5651
|
+
let V = T.value.map((F) => F[s.value]).indexOf($.value[s.value]) - 1;
|
|
5652
|
+
V < 0 && (V = T.value.length - 1), b(T.value[V] || null);
|
|
5653
5653
|
}
|
|
5654
5654
|
ke(() => {
|
|
5655
5655
|
K();
|
|
5656
5656
|
});
|
|
5657
|
-
}, J = (
|
|
5658
|
-
let
|
|
5659
|
-
if (!
|
|
5657
|
+
}, J = (V) => H.value.find((F) => F.__VISIBLE__.map((he) => he[s.value]).indexOf(V[s.value]) !== -1), K = () => {
|
|
5658
|
+
let V = _.value.querySelector("[data-pointed]");
|
|
5659
|
+
if (!V)
|
|
5660
5660
|
return;
|
|
5661
|
-
let F =
|
|
5662
|
-
l.value && (F = G.value ?
|
|
5661
|
+
let F = V.parentElement.parentElement;
|
|
5662
|
+
l.value && (F = G.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > F.clientHeight + F.scrollTop && (F.scrollTop = V.offsetTop + V.offsetHeight - F.clientHeight), V.offsetTop < F.scrollTop && (F.scrollTop = V.offsetTop);
|
|
5663
5663
|
};
|
|
5664
|
-
return ce(m, (
|
|
5665
|
-
i.value && (
|
|
5666
|
-
}), ce(I, (
|
|
5667
|
-
if (
|
|
5664
|
+
return ce(m, (V) => {
|
|
5665
|
+
i.value && (V.length && n.value ? L() : y());
|
|
5666
|
+
}), ce(I, (V) => {
|
|
5667
|
+
if (V) {
|
|
5668
5668
|
let F = _.value.querySelectorAll("[data-selected]")[0];
|
|
5669
5669
|
if (!F)
|
|
5670
5670
|
return;
|
|
@@ -5680,7 +5680,7 @@ function y7(t, e, a) {
|
|
|
5680
5680
|
setPointerFirst: L,
|
|
5681
5681
|
selectPointer: j,
|
|
5682
5682
|
forwardPointer: k,
|
|
5683
|
-
backwardPointer:
|
|
5683
|
+
backwardPointer: D
|
|
5684
5684
|
};
|
|
5685
5685
|
}
|
|
5686
5686
|
function Ee(t) {
|
|
@@ -5853,7 +5853,7 @@ var Ue = "top", Ye = "bottom", mt = "right", Xe = "left", zs = "auto", ns = [Ue,
|
|
|
5853
5853
|
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5854
5854
|
}, []), O7 = /* @__PURE__ */ [].concat(ns, [zs]).reduce(function(t, e) {
|
|
5855
5855
|
return t.concat([e, e + "-" + Yt, e + "-" + va]);
|
|
5856
|
-
}, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main",
|
|
5856
|
+
}, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main", D7 = "afterMain", V7 = "beforeWrite", B7 = "write", j7 = "afterWrite", R7 = [E7, I7, L7, P7, H7, D7, V7, B7, j7];
|
|
5857
5857
|
function N7(t) {
|
|
5858
5858
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
|
|
5859
5859
|
t.forEach(function(i) {
|
|
@@ -6344,11 +6344,11 @@ var up = {
|
|
|
6344
6344
|
function pp(t) {
|
|
6345
6345
|
return t === "x" ? "y" : "x";
|
|
6346
6346
|
}
|
|
6347
|
-
function
|
|
6347
|
+
function Da(t, e, a) {
|
|
6348
6348
|
return Mt(t, Wa(e, a));
|
|
6349
6349
|
}
|
|
6350
6350
|
function vp(t, e, a) {
|
|
6351
|
-
var s =
|
|
6351
|
+
var s = Da(t, e, a);
|
|
6352
6352
|
return s > a ? a : s;
|
|
6353
6353
|
}
|
|
6354
6354
|
function fp(t) {
|
|
@@ -6371,14 +6371,14 @@ function fp(t) {
|
|
|
6371
6371
|
};
|
|
6372
6372
|
if (T) {
|
|
6373
6373
|
if (i) {
|
|
6374
|
-
var Q, le = _ === "y" ? Ue : Xe, oe = _ === "y" ? Ye : mt, ae = _ === "y" ? "height" : "width", P = T[_], O = P + m[le], Z = P - m[oe], L = h ? -R[ae] / 2 : 0, j = b === Yt ? H[ae] : R[ae], k = b === Yt ? -R[ae] : -H[ae],
|
|
6374
|
+
var Q, le = _ === "y" ? Ue : Xe, oe = _ === "y" ? Ye : mt, ae = _ === "y" ? "height" : "width", P = T[_], O = P + m[le], Z = P - m[oe], L = h ? -R[ae] / 2 : 0, j = b === Yt ? H[ae] : R[ae], k = b === Yt ? -R[ae] : -H[ae], D = e.elements.arrow, J = h && D ? uo(D) : {
|
|
6375
6375
|
width: 0,
|
|
6376
6376
|
height: 0
|
|
6377
|
-
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(),
|
|
6377
|
+
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), V = K[le], F = K[oe], he = Da(0, H[ae], J[ae]), $e = y ? H[ae] / 2 - L - he - V - te.mainAxis : j - he - V - te.mainAxis, Gt = y ? -H[ae] / 2 + L + he + F + te.mainAxis : k + he + F + te.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? _ === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (Q = ne == null ? void 0 : ne[_]) != null ? Q : 0, ls = P + $e - $a - nt, ot = P + Gt - $a, ka = Da(h ? Wa(O, ls) : O, P, h ? Mt(Z, ot) : Z);
|
|
6378
6378
|
T[_] = ka, N[_] = ka - P;
|
|
6379
6379
|
}
|
|
6380
6380
|
if (l) {
|
|
6381
|
-
var it, Ze = _ === "x" ? Ue : Xe, Le = _ === "x" ? Ye : mt, Ne = T[I], xe = I === "y" ? "height" : "width", Qt = Ne + m[Ze], Sa = Ne - m[Le], Pe = [Ue, Xe].indexOf($) !== -1, Jt = (it = ne == null ? void 0 : ne[I]) != null ? it : 0, lt = Pe ? Qt : Ne - H[xe] - R[xe] - Jt + te.altAxis, bt = Pe ? Ne + H[xe] + R[xe] - Jt - te.altAxis : Sa, Ma = h && Pe ? vp(lt, Ne, bt) :
|
|
6381
|
+
var it, Ze = _ === "x" ? Ue : Xe, Le = _ === "x" ? Ye : mt, Ne = T[I], xe = I === "y" ? "height" : "width", Qt = Ne + m[Ze], Sa = Ne - m[Le], Pe = [Ue, Xe].indexOf($) !== -1, Jt = (it = ne == null ? void 0 : ne[I]) != null ? it : 0, lt = Pe ? Qt : Ne - H[xe] - R[xe] - Jt + te.altAxis, bt = Pe ? Ne + H[xe] + R[xe] - Jt - te.altAxis : Sa, Ma = h && Pe ? vp(lt, Ne, bt) : Da(h ? lt : Qt, Ne, h ? bt : Sa);
|
|
6382
6382
|
T[I] = Ma, N[I] = Ma - Ne;
|
|
6383
6383
|
}
|
|
6384
6384
|
e.modifiersData[s] = N;
|
|
@@ -6396,7 +6396,7 @@ var hp = {
|
|
|
6396
6396
|
bottom: "top",
|
|
6397
6397
|
top: "bottom"
|
|
6398
6398
|
};
|
|
6399
|
-
function
|
|
6399
|
+
function Va(t) {
|
|
6400
6400
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
6401
6401
|
return mp[e];
|
|
6402
6402
|
});
|
|
@@ -6433,13 +6433,13 @@ function Cp(t, e) {
|
|
|
6433
6433
|
function _p(t) {
|
|
6434
6434
|
if (pt(t) === zs)
|
|
6435
6435
|
return [];
|
|
6436
|
-
var e =
|
|
6436
|
+
var e = Va(t);
|
|
6437
6437
|
return [On(t), e, On(e)];
|
|
6438
6438
|
}
|
|
6439
6439
|
function yp(t) {
|
|
6440
6440
|
var e = t.state, a = t.options, s = t.name;
|
|
6441
6441
|
if (!e.modifiersData[s]._skip) {
|
|
6442
|
-
for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, g = h === void 0 ? !0 : h, w = a.allowedAutoPlacements, m = e.options.placement, $ = pt(m), b = $ === m, y = r || (b || !g ? [
|
|
6442
|
+
for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, g = h === void 0 ? !0 : h, w = a.allowedAutoPlacements, m = e.options.placement, $ = pt(m), b = $ === m, y = r || (b || !g ? [Va(m)] : _p(m)), _ = [m].concat(y).reduce(function(J, K) {
|
|
6443
6443
|
return J.concat(pt(K) === zs ? Cp(e, {
|
|
6444
6444
|
placement: K,
|
|
6445
6445
|
boundary: u,
|
|
@@ -6456,8 +6456,8 @@ function yp(t) {
|
|
|
6456
6456
|
altBoundary: p,
|
|
6457
6457
|
padding: d
|
|
6458
6458
|
}), P = le ? Q ? mt : Xe : Q ? Ye : Ue;
|
|
6459
|
-
I[oe] > T[oe] && (P =
|
|
6460
|
-
var O =
|
|
6459
|
+
I[oe] > T[oe] && (P = Va(P));
|
|
6460
|
+
var O = Va(P), Z = [];
|
|
6461
6461
|
if (i && Z.push(ae[N] <= 0), l && Z.push(ae[P] <= 0, ae[O] <= 0), Z.every(function(J) {
|
|
6462
6462
|
return J;
|
|
6463
6463
|
})) {
|
|
@@ -6468,18 +6468,18 @@ function yp(t) {
|
|
|
6468
6468
|
}
|
|
6469
6469
|
if (R)
|
|
6470
6470
|
for (var L = g ? 3 : 1, j = function(K) {
|
|
6471
|
-
var
|
|
6471
|
+
var V = _.find(function(F) {
|
|
6472
6472
|
var he = H.get(F);
|
|
6473
6473
|
if (he)
|
|
6474
6474
|
return he.slice(0, K).every(function($e) {
|
|
6475
6475
|
return $e;
|
|
6476
6476
|
});
|
|
6477
6477
|
});
|
|
6478
|
-
if (
|
|
6479
|
-
return G =
|
|
6478
|
+
if (V)
|
|
6479
|
+
return G = V, "break";
|
|
6480
6480
|
}, k = L; k > 0; k--) {
|
|
6481
|
-
var
|
|
6482
|
-
if (
|
|
6481
|
+
var D = j(k);
|
|
6482
|
+
if (D === "break")
|
|
6483
6483
|
break;
|
|
6484
6484
|
}
|
|
6485
6485
|
e.placement !== G && (e.modifiersData[s]._skip = !0, e.placement = G, e.reset = !0);
|
|
@@ -6631,14 +6631,14 @@ function kp(t, e, a) {
|
|
|
6631
6631
|
case "Backspace":
|
|
6632
6632
|
if (s.value === "single" || o.value && [null, ""].indexOf(b.value) === -1 || w.value.length === 0)
|
|
6633
6633
|
return;
|
|
6634
|
-
let k = w.value.filter((
|
|
6634
|
+
let k = w.value.filter((D) => !D.disabled && D.remove !== !1);
|
|
6635
6635
|
k.length && $(k[k.length - 1]);
|
|
6636
6636
|
break;
|
|
6637
6637
|
case "Enter":
|
|
6638
6638
|
if (Z.preventDefault(), Z.keyCode === 229)
|
|
6639
6639
|
return;
|
|
6640
6640
|
if (j !== -1 && j !== void 0) {
|
|
6641
|
-
m([...w.value].filter((
|
|
6641
|
+
m([...w.value].filter((D, J) => J !== j)), j === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? G.value.querySelector("input").focus() : R.value.focus());
|
|
6642
6642
|
return;
|
|
6643
6643
|
}
|
|
6644
6644
|
if (oe.value.indexOf("enter") === -1 && le.value)
|
|
@@ -7299,7 +7299,7 @@ var ct = {
|
|
|
7299
7299
|
}));
|
|
7300
7300
|
}
|
|
7301
7301
|
};
|
|
7302
|
-
const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Hp = ["onKeyup", "aria-label"],
|
|
7302
|
+
const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Hp = ["onKeyup", "aria-label"], Dp = ["onClick"], Vp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], jp = ["id"], Rp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"], Wp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], qp = ["innerHTML"], Yp = ["innerHTML"], xp = ["value"], Kp = ["name", "value"], Gp = ["name", "value"], Xp = ["id"];
|
|
7303
7303
|
function Qp(t, e, a, s, n, i) {
|
|
7304
7304
|
return v(), C("div", {
|
|
7305
7305
|
ref: "multiselect",
|
|
@@ -7396,7 +7396,7 @@ function Qp(t, e, a, s, n, i) {
|
|
|
7396
7396
|
2
|
|
7397
7397
|
/* CLASS */
|
|
7398
7398
|
)
|
|
7399
|
-
], 10,
|
|
7399
|
+
], 10, Dp)) : E("v-if", !0)
|
|
7400
7400
|
], 42, Hp))
|
|
7401
7401
|
])),
|
|
7402
7402
|
256
|
|
@@ -7441,7 +7441,7 @@ function Qp(t, e, a, s, n, i) {
|
|
|
7441
7441
|
}, {
|
|
7442
7442
|
...a.attrs,
|
|
7443
7443
|
...t.arias
|
|
7444
|
-
}), null, 16,
|
|
7444
|
+
}), null, 16, Vp)) : E("v-if", !0)
|
|
7445
7445
|
],
|
|
7446
7446
|
2
|
|
7447
7447
|
/* CLASS */
|
|
@@ -8182,7 +8182,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
|
|
|
8182
8182
|
), ["enter"]))
|
|
8183
8183
|
]
|
|
8184
8184
|
}, null, 40, wv)), [
|
|
8185
|
-
[
|
|
8185
|
+
[Ve, i.value]
|
|
8186
8186
|
]) : (v(), C("p", bv, Y(I.content), 1)),
|
|
8187
8187
|
W(w) && W($).length > 0 ? (v(), C("ul", {
|
|
8188
8188
|
key: 2,
|
|
@@ -8301,7 +8301,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
|
|
|
8301
8301
|
(...T) => W(m) && W(m)(...T))
|
|
8302
8302
|
}, null, 40, Tv), [
|
|
8303
8303
|
[
|
|
8304
|
-
|
|
8304
|
+
Ve,
|
|
8305
8305
|
l.value,
|
|
8306
8306
|
void 0,
|
|
8307
8307
|
{ trim: !0 }
|
|
@@ -8364,7 +8364,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8364
8364
|
onClick: i[0] || (i[0] = () => s())
|
|
8365
8365
|
}, null, 8, ["color"]));
|
|
8366
8366
|
}
|
|
8367
|
-
}), Pv = { class: "ao-activity-details" }, Hv = { class: "ao-activity-details__main" },
|
|
8367
|
+
}), Pv = { class: "ao-activity-details" }, Hv = { class: "ao-activity-details__main" }, Dv = { class: "ao-activity-details__header" }, Vv = {
|
|
8368
8368
|
key: 1,
|
|
8369
8369
|
class: "ao-activity__category"
|
|
8370
8370
|
}, Bv = { class: "ao-feed__activity-details__header" }, jv = {
|
|
@@ -8391,7 +8391,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8391
8391
|
}, Sf = { class: "ao-fieldset ao-activity-details__aside-section" }, Mf = { class: "ao-fieldset__title" }, Af = { class: "ao-fieldset__body" }, Tf = { class: "ao-field__row" }, Of = { class: "ao-field ao-field--multiselect" }, Ef = { class: "ao-field__label" }, If = { class: "ao-field__row" }, Lf = { class: "ao-field ao-field--multiselect" }, Pf = { class: "ao-field__label" }, Hf = {
|
|
8392
8392
|
key: 2,
|
|
8393
8393
|
class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
|
|
8394
|
-
},
|
|
8394
|
+
}, Df = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ X({
|
|
8395
8395
|
__name: "AoActivityDetails",
|
|
8396
8396
|
props: {
|
|
8397
8397
|
activity: {},
|
|
@@ -8436,11 +8436,9 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8436
8436
|
}
|
|
8437
8437
|
}), l = M({
|
|
8438
8438
|
get() {
|
|
8439
|
-
var
|
|
8440
|
-
console.log(a.timeTrackingData, null, 2);
|
|
8441
|
-
const k = (
|
|
8442
|
-
(J) => J.activityId === a.activity.id
|
|
8443
|
-
);
|
|
8439
|
+
var D;
|
|
8440
|
+
console.log("props.timeTrackingData"), console.log(JSON.stringify(a.timeTrackingData, null, 2));
|
|
8441
|
+
const k = (D = a.timeTrackingData) == null ? void 0 : D[a.activity.id];
|
|
8444
8442
|
return (k == null ? void 0 : k.timeSpent) ?? 0;
|
|
8445
8443
|
},
|
|
8446
8444
|
set() {
|
|
@@ -8468,9 +8466,9 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8468
8466
|
}
|
|
8469
8467
|
}), c = M(() => {
|
|
8470
8468
|
var k;
|
|
8471
|
-
return (k = a.activityTypes) == null ? void 0 : k.map((
|
|
8472
|
-
label:
|
|
8473
|
-
value:
|
|
8469
|
+
return (k = a.activityTypes) == null ? void 0 : k.map((D) => ({
|
|
8470
|
+
label: D.name,
|
|
8471
|
+
value: D.id
|
|
8474
8472
|
}));
|
|
8475
8473
|
}), p = M({
|
|
8476
8474
|
get() {
|
|
@@ -8486,7 +8484,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8486
8484
|
}))), g = M({
|
|
8487
8485
|
get() {
|
|
8488
8486
|
var k;
|
|
8489
|
-
return (k = a.activity.dependingOn) == null ? void 0 : k.map((
|
|
8487
|
+
return (k = a.activity.dependingOn) == null ? void 0 : k.map((D) => D.id);
|
|
8490
8488
|
},
|
|
8491
8489
|
set(k) {
|
|
8492
8490
|
k && e("update:activity", {
|
|
@@ -8495,15 +8493,15 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8495
8493
|
});
|
|
8496
8494
|
}
|
|
8497
8495
|
}), w = M(() => h.value.map((k) => {
|
|
8498
|
-
var
|
|
8496
|
+
var D;
|
|
8499
8497
|
return {
|
|
8500
8498
|
...k,
|
|
8501
|
-
disabled: (
|
|
8499
|
+
disabled: (D = a.activity.blocking) == null ? void 0 : D.some((J) => J.id === k.value)
|
|
8502
8500
|
};
|
|
8503
8501
|
})), m = M({
|
|
8504
8502
|
get() {
|
|
8505
8503
|
var k;
|
|
8506
|
-
return (k = a.activity.blocking) == null ? void 0 : k.map((
|
|
8504
|
+
return (k = a.activity.blocking) == null ? void 0 : k.map((D) => D.id);
|
|
8507
8505
|
},
|
|
8508
8506
|
set(k) {
|
|
8509
8507
|
k && e("update:activity", {
|
|
@@ -8512,10 +8510,10 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8512
8510
|
});
|
|
8513
8511
|
}
|
|
8514
8512
|
}), $ = M(() => h.value.map((k) => {
|
|
8515
|
-
var
|
|
8513
|
+
var D;
|
|
8516
8514
|
return {
|
|
8517
8515
|
...k,
|
|
8518
|
-
disabled: (
|
|
8516
|
+
disabled: (D = a.activity.dependingOn) == null ? void 0 : D.some(
|
|
8519
8517
|
(J) => J.id === k.value
|
|
8520
8518
|
)
|
|
8521
8519
|
};
|
|
@@ -8534,15 +8532,15 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8534
8532
|
}
|
|
8535
8533
|
const H = M(() => {
|
|
8536
8534
|
var k;
|
|
8537
|
-
return ((k = a.users) == null ? void 0 : k.map((
|
|
8538
|
-
label: `${
|
|
8539
|
-
value:
|
|
8540
|
-
avatar:
|
|
8535
|
+
return ((k = a.users) == null ? void 0 : k.map((D) => ({
|
|
8536
|
+
label: `${D.firstName} ${D.lastName}`,
|
|
8537
|
+
value: D.id,
|
|
8538
|
+
avatar: D.avatarUrl
|
|
8541
8539
|
}))) || [];
|
|
8542
8540
|
}), R = M({
|
|
8543
8541
|
get() {
|
|
8544
|
-
var k,
|
|
8545
|
-
return (k = a.activity.assignee) != null && k.id ? [(
|
|
8542
|
+
var k, D;
|
|
8543
|
+
return (k = a.activity.assignee) != null && k.id ? [(D = a.activity.assignee) == null ? void 0 : D.id] : [];
|
|
8546
8544
|
},
|
|
8547
8545
|
set(k) {
|
|
8548
8546
|
e("update:activity", {
|
|
@@ -8565,14 +8563,14 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8565
8563
|
value: k.id,
|
|
8566
8564
|
label: k.name
|
|
8567
8565
|
}))), N = M(() => {
|
|
8568
|
-
var
|
|
8569
|
-
const k = (K = (J = (
|
|
8570
|
-
(
|
|
8566
|
+
var D, J, K;
|
|
8567
|
+
const k = (K = (J = (D = a.activity) == null ? void 0 : D.project) == null ? void 0 : J.phases) == null ? void 0 : K.reduce(
|
|
8568
|
+
(V, F) => [...V, ...F.milestones],
|
|
8571
8569
|
[]
|
|
8572
8570
|
);
|
|
8573
|
-
return k == null ? void 0 : k.map((
|
|
8574
|
-
value:
|
|
8575
|
-
label:
|
|
8571
|
+
return k == null ? void 0 : k.map((V) => ({
|
|
8572
|
+
value: V.id,
|
|
8573
|
+
label: V.name
|
|
8576
8574
|
}));
|
|
8577
8575
|
}), Q = (k) => {
|
|
8578
8576
|
a.activity && e("update:activity", {
|
|
@@ -8586,9 +8584,9 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8586
8584
|
});
|
|
8587
8585
|
}, oe = M(() => {
|
|
8588
8586
|
var k;
|
|
8589
|
-
return (k = a.statuses) == null ? void 0 : k.map((
|
|
8590
|
-
value:
|
|
8591
|
-
label:
|
|
8587
|
+
return (k = a.statuses) == null ? void 0 : k.map((D) => ({
|
|
8588
|
+
value: D.id,
|
|
8589
|
+
label: D.name
|
|
8592
8590
|
}));
|
|
8593
8591
|
}), ae = (k) => {
|
|
8594
8592
|
e("update:activity", {
|
|
@@ -8605,26 +8603,26 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8605
8603
|
}, Z = (k) => {
|
|
8606
8604
|
e("removeComment", k);
|
|
8607
8605
|
}, L = M(() => {
|
|
8608
|
-
var k,
|
|
8609
|
-
return ((k = a.activity.createdBy) == null ? void 0 : k.firstName) && ((
|
|
8606
|
+
var k, D;
|
|
8607
|
+
return ((k = a.activity.createdBy) == null ? void 0 : k.firstName) && ((D = a.activity.createdBy) == null ? void 0 : D.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8610
8608
|
});
|
|
8611
8609
|
function j() {
|
|
8612
|
-
const k = window.location.origin,
|
|
8610
|
+
const k = window.location.origin, D = a.activity.slug, J = `${k}/activity-feed/slug/${D}`;
|
|
8613
8611
|
navigator.clipboard.writeText(J).then(() => {
|
|
8614
8612
|
console.log(`Link copied to clipboard: ${J}`), e("toast", "clipboard.copy.success", "success");
|
|
8615
8613
|
}).catch(() => {
|
|
8616
8614
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8617
8615
|
});
|
|
8618
8616
|
}
|
|
8619
|
-
return (k,
|
|
8620
|
-
onClose:
|
|
8617
|
+
return (k, D) => (v(), B(Qa, {
|
|
8618
|
+
onClose: D[11] || (D[11] = (J) => k.$emit("close"))
|
|
8621
8619
|
}, {
|
|
8622
8620
|
default: z(() => {
|
|
8623
|
-
var J, K,
|
|
8621
|
+
var J, K, V;
|
|
8624
8622
|
return [
|
|
8625
8623
|
f("div", Pv, [
|
|
8626
8624
|
f("div", Hv, [
|
|
8627
|
-
f("div",
|
|
8625
|
+
f("div", Dv, [
|
|
8628
8626
|
k.activity.slug ? (v(), B(ra, {
|
|
8629
8627
|
key: 0,
|
|
8630
8628
|
label: k.activity.slug,
|
|
@@ -8635,7 +8633,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8635
8633
|
class: "ao-activity__ao-tag",
|
|
8636
8634
|
onClick: j
|
|
8637
8635
|
}, null, 8, ["label"])) : E("", !0),
|
|
8638
|
-
k.breadcrumbs ? (v(), C("div",
|
|
8636
|
+
k.breadcrumbs ? (v(), C("div", Vv, Y(k.breadcrumbs), 1)) : E("", !0),
|
|
8639
8637
|
A(be, {
|
|
8640
8638
|
title: k.activity.name || "",
|
|
8641
8639
|
level: 4,
|
|
@@ -8681,13 +8679,13 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8681
8679
|
f("label", zv, [
|
|
8682
8680
|
f("span", qv, Y(k.$t("activity.description.label")), 1),
|
|
8683
8681
|
Me(f("textarea", {
|
|
8684
|
-
"onUpdate:modelValue":
|
|
8682
|
+
"onUpdate:modelValue": D[0] || (D[0] = (F) => i.value = F),
|
|
8685
8683
|
readonly: !s.value,
|
|
8686
8684
|
rows: "4",
|
|
8687
8685
|
class: "ao-field__textarea"
|
|
8688
8686
|
}, null, 8, Yv), [
|
|
8689
8687
|
[
|
|
8690
|
-
|
|
8688
|
+
Ve,
|
|
8691
8689
|
i.value,
|
|
8692
8690
|
void 0,
|
|
8693
8691
|
{
|
|
@@ -8705,14 +8703,14 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8705
8703
|
f("label", Kv, [
|
|
8706
8704
|
f("span", Gv, Y(k.$t("activity.estimation.label")), 1),
|
|
8707
8705
|
Me(f("input", {
|
|
8708
|
-
"onUpdate:modelValue":
|
|
8706
|
+
"onUpdate:modelValue": D[1] || (D[1] = (F) => o.value = F),
|
|
8709
8707
|
readonly: !s.value,
|
|
8710
8708
|
class: "ao-field__input ao-field__input--estim",
|
|
8711
8709
|
type: "number",
|
|
8712
8710
|
min: "0"
|
|
8713
8711
|
}, null, 8, Xv), [
|
|
8714
8712
|
[
|
|
8715
|
-
|
|
8713
|
+
Ve,
|
|
8716
8714
|
o.value,
|
|
8717
8715
|
void 0,
|
|
8718
8716
|
{
|
|
@@ -8725,14 +8723,14 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8725
8723
|
f("label", Qv, [
|
|
8726
8724
|
f("span", Jv, Y(k.$t("activity.timeSpent.label")), 1),
|
|
8727
8725
|
Me(f("input", {
|
|
8728
|
-
"onUpdate:modelValue":
|
|
8726
|
+
"onUpdate:modelValue": D[2] || (D[2] = (F) => l.value = F),
|
|
8729
8727
|
readonly: "",
|
|
8730
8728
|
class: "ao-field__input ao-field__input--estim",
|
|
8731
8729
|
type: "number",
|
|
8732
8730
|
min: "0"
|
|
8733
8731
|
}, null, 512), [
|
|
8734
8732
|
[
|
|
8735
|
-
|
|
8733
|
+
Ve,
|
|
8736
8734
|
l.value,
|
|
8737
8735
|
void 0,
|
|
8738
8736
|
{
|
|
@@ -8790,7 +8788,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8790
8788
|
f("div", lf, [
|
|
8791
8789
|
A(de, {
|
|
8792
8790
|
name: "CloseRounded",
|
|
8793
|
-
onClick:
|
|
8791
|
+
onClick: D[3] || (D[3] = (F) => k.$emit("close"))
|
|
8794
8792
|
})
|
|
8795
8793
|
]),
|
|
8796
8794
|
oe.value ? (v(), C("div", rf, [
|
|
@@ -8799,7 +8797,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8799
8797
|
A(Ae, {
|
|
8800
8798
|
class: "ao-activity-details__multiselect",
|
|
8801
8799
|
options: oe.value,
|
|
8802
|
-
value: (
|
|
8800
|
+
value: (V = k.activity.status) == null ? void 0 : V.id,
|
|
8803
8801
|
"can-clear": !1,
|
|
8804
8802
|
"can-deselect": !1,
|
|
8805
8803
|
disabled: !s.value,
|
|
@@ -8823,7 +8821,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8823
8821
|
]),
|
|
8824
8822
|
A(Ae, {
|
|
8825
8823
|
modelValue: R.value,
|
|
8826
|
-
"onUpdate:modelValue":
|
|
8824
|
+
"onUpdate:modelValue": D[4] || (D[4] = (F) => R.value = F),
|
|
8827
8825
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8828
8826
|
options: H.value,
|
|
8829
8827
|
"close-on-select": !0,
|
|
@@ -8854,13 +8852,13 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8854
8852
|
f("label", gf, [
|
|
8855
8853
|
f("span", Cf, Y(k.$t("activity.deadline.label")), 1),
|
|
8856
8854
|
Me(f("input", {
|
|
8857
|
-
"onUpdate:modelValue":
|
|
8855
|
+
"onUpdate:modelValue": D[5] || (D[5] = (F) => u.value = F),
|
|
8858
8856
|
readonly: !s.value,
|
|
8859
8857
|
class: "ao-field__input",
|
|
8860
8858
|
type: "date"
|
|
8861
8859
|
}, null, 8, _f), [
|
|
8862
8860
|
[
|
|
8863
|
-
|
|
8861
|
+
Ve,
|
|
8864
8862
|
u.value,
|
|
8865
8863
|
void 0,
|
|
8866
8864
|
{ lazy: !0 }
|
|
@@ -8874,7 +8872,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8874
8872
|
f("label", wf, [
|
|
8875
8873
|
A(Ae, {
|
|
8876
8874
|
modelValue: p.value,
|
|
8877
|
-
"onUpdate:modelValue":
|
|
8875
|
+
"onUpdate:modelValue": D[6] || (D[6] = (F) => p.value = F),
|
|
8878
8876
|
class: "ao-activity-details__multiselect",
|
|
8879
8877
|
mode: "single",
|
|
8880
8878
|
searchable: !0,
|
|
@@ -8890,7 +8888,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8890
8888
|
f("div", $f, [
|
|
8891
8889
|
A(Ss, {
|
|
8892
8890
|
modelValue: r.value,
|
|
8893
|
-
"onUpdate:modelValue":
|
|
8891
|
+
"onUpdate:modelValue": D[7] || (D[7] = (F) => r.value = F),
|
|
8894
8892
|
modelModifiers: { lazy: !0 },
|
|
8895
8893
|
label: k.$t("activity.important.label"),
|
|
8896
8894
|
disabled: !s.value,
|
|
@@ -8905,7 +8903,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8905
8903
|
k.isTemplate !== !0 && k.activity.createdBy.id === k.userId ? (v(), C("div", kf, [
|
|
8906
8904
|
A(Ss, {
|
|
8907
8905
|
modelValue: d.value,
|
|
8908
|
-
"onUpdate:modelValue":
|
|
8906
|
+
"onUpdate:modelValue": D[8] || (D[8] = (F) => d.value = F),
|
|
8909
8907
|
modelModifiers: { lazy: !0 },
|
|
8910
8908
|
label: k.$t("activity.private.label"),
|
|
8911
8909
|
disabled: !s.value,
|
|
@@ -8930,7 +8928,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8930
8928
|
f("span", Ef, Y(k.$t("activity.dependingOn.label")), 1),
|
|
8931
8929
|
A(Ae, {
|
|
8932
8930
|
modelValue: g.value,
|
|
8933
|
-
"onUpdate:modelValue":
|
|
8931
|
+
"onUpdate:modelValue": D[9] || (D[9] = (F) => g.value = F),
|
|
8934
8932
|
class: "ao-activity-details__multiselect",
|
|
8935
8933
|
mode: "tags",
|
|
8936
8934
|
"close-on-select": !1,
|
|
@@ -8946,7 +8944,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8946
8944
|
f("span", Pf, Y(k.$t("activity.blocking.label")), 1),
|
|
8947
8945
|
A(Ae, {
|
|
8948
8946
|
modelValue: m.value,
|
|
8949
|
-
"onUpdate:modelValue":
|
|
8947
|
+
"onUpdate:modelValue": D[10] || (D[10] = (F) => m.value = F),
|
|
8950
8948
|
class: "ao-activity-details__multiselect",
|
|
8951
8949
|
mode: "tags",
|
|
8952
8950
|
"close-on-select": !1,
|
|
@@ -8960,7 +8958,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8960
8958
|
])
|
|
8961
8959
|
]),
|
|
8962
8960
|
k.isTemplate !== !0 && L.value ? (v(), C("div", Hf, [
|
|
8963
|
-
f("div",
|
|
8961
|
+
f("div", Df, [
|
|
8964
8962
|
A(et, {
|
|
8965
8963
|
"user-name": L.value,
|
|
8966
8964
|
color: "black"
|
|
@@ -8976,7 +8974,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8976
8974
|
}));
|
|
8977
8975
|
}
|
|
8978
8976
|
});
|
|
8979
|
-
const
|
|
8977
|
+
const Vf = /* @__PURE__ */ X({
|
|
8980
8978
|
__name: "AoRuleLine",
|
|
8981
8979
|
props: {
|
|
8982
8980
|
rule: {},
|
|
@@ -9078,7 +9076,7 @@ const Df = /* @__PURE__ */ X({
|
|
|
9078
9076
|
min: "0"
|
|
9079
9077
|
}, null, 512), [
|
|
9080
9078
|
[
|
|
9081
|
-
|
|
9079
|
+
Ve,
|
|
9082
9080
|
g.value,
|
|
9083
9081
|
void 0,
|
|
9084
9082
|
{ number: !0 }
|
|
@@ -9126,7 +9124,7 @@ const Bf = { class: "ao-template-rules__body" }, jf = { class: "ao-template-rule
|
|
|
9126
9124
|
default: z(() => [
|
|
9127
9125
|
f("div", Bf, [
|
|
9128
9126
|
f("ul", jf, [
|
|
9129
|
-
(v(!0), C(fe, null, Ce(n.rules, (o) => (v(), B(
|
|
9127
|
+
(v(!0), C(fe, null, Ce(n.rules, (o) => (v(), B(Vf, {
|
|
9130
9128
|
key: o.id,
|
|
9131
9129
|
rule: o,
|
|
9132
9130
|
"template-phases": n.templatePhases,
|
|
@@ -9226,7 +9224,7 @@ const Nf = {
|
|
|
9226
9224
|
var P, O;
|
|
9227
9225
|
return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((Z, L) => {
|
|
9228
9226
|
const k = (L.milestones || []).reduce(
|
|
9229
|
-
(
|
|
9227
|
+
(D, J) => J.activities ? [...D, ...J.activities] : D,
|
|
9230
9228
|
[]
|
|
9231
9229
|
);
|
|
9232
9230
|
return [...Z, ...k];
|
|
@@ -9398,7 +9396,7 @@ const Nf = {
|
|
|
9398
9396
|
e("removeFile", P);
|
|
9399
9397
|
};
|
|
9400
9398
|
return (P, O) => {
|
|
9401
|
-
var Z, L, j, k,
|
|
9399
|
+
var Z, L, j, k, D, J;
|
|
9402
9400
|
return n.value ? (v(), C("div", Nf, [
|
|
9403
9401
|
A(ba, {
|
|
9404
9402
|
"can-go-back": !0,
|
|
@@ -9434,13 +9432,13 @@ const Nf = {
|
|
|
9434
9432
|
}, null, 8, ["title"])
|
|
9435
9433
|
]),
|
|
9436
9434
|
item: z(({ element: K }) => {
|
|
9437
|
-
var
|
|
9435
|
+
var V;
|
|
9438
9436
|
return [
|
|
9439
9437
|
A(w5, {
|
|
9440
9438
|
id: K.id,
|
|
9441
9439
|
name: K.name,
|
|
9442
9440
|
milestones: K.milestones,
|
|
9443
|
-
"is-active": ((
|
|
9441
|
+
"is-active": ((V = o.value) == null ? void 0 : V.id) === K.id,
|
|
9444
9442
|
"is-draggable": !0,
|
|
9445
9443
|
onClick: (F) => P.$router.push({
|
|
9446
9444
|
params: { templateId: P.templateId, phaseId: K.id }
|
|
@@ -9495,7 +9493,7 @@ const Nf = {
|
|
|
9495
9493
|
key: 0,
|
|
9496
9494
|
activity: u.value,
|
|
9497
9495
|
"activity-types": P.activityTypes,
|
|
9498
|
-
breadcrumbs: `${n.value.name} / ${(k = o.value) == null ? void 0 : k.name} / ${(
|
|
9496
|
+
breadcrumbs: `${n.value.name} / ${(k = o.value) == null ? void 0 : k.name} / ${(D = l.value) == null ? void 0 : D.name}`,
|
|
9499
9497
|
"milestone-id": (J = l.value) == null ? void 0 : J.id,
|
|
9500
9498
|
"template-activities": d.value,
|
|
9501
9499
|
"template-milestones": r.value,
|
|
@@ -10150,7 +10148,7 @@ function fh(t, e, a, s, n, i) {
|
|
|
10150
10148
|
544
|
|
10151
10149
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
10152
10150
|
), [
|
|
10153
|
-
[
|
|
10151
|
+
[Ve, t.modelColor]
|
|
10154
10152
|
])
|
|
10155
10153
|
]);
|
|
10156
10154
|
}
|
|
@@ -10698,7 +10696,7 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10698
10696
|
type: "date"
|
|
10699
10697
|
}, null, 512)), [
|
|
10700
10698
|
[
|
|
10701
|
-
|
|
10699
|
+
Ve,
|
|
10702
10700
|
r.value,
|
|
10703
10701
|
void 0,
|
|
10704
10702
|
{ lazy: !0 }
|
|
@@ -10750,10 +10748,10 @@ const Ih = /* @__PURE__ */ X({
|
|
|
10750
10748
|
}, null, 4));
|
|
10751
10749
|
}
|
|
10752
10750
|
});
|
|
10753
|
-
const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-title-with-badge-wrapper" }, Hh = { class: "ao-card-project-item__title-line" },
|
|
10751
|
+
const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-title-with-badge-wrapper" }, Hh = { class: "ao-card-project-item__title-line" }, Dh = {
|
|
10754
10752
|
key: 0,
|
|
10755
10753
|
class: "ao-card-project-item-milestone__estimation"
|
|
10756
|
-
},
|
|
10754
|
+
}, Vh = {
|
|
10757
10755
|
key: 0,
|
|
10758
10756
|
class: "ao-card-project-milestone__archive"
|
|
10759
10757
|
}, Bh = { class: "ao-card-project-milestone__activities" }, jh = { class: "ao-card-project-milestone__activities-row" }, Rh = { class: "ao-card-project-milestone__subitem" }, Nh = { class: "ao-card-project-milestone__subitem" }, Uh = {
|
|
@@ -10822,10 +10820,10 @@ const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-ti
|
|
|
10822
10820
|
class: "ao-card-project-milestone__title",
|
|
10823
10821
|
"onUpdate:title": l
|
|
10824
10822
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10825
|
-
s.value ? (v(), C("span",
|
|
10823
|
+
s.value ? (v(), C("span", Dh, " (" + Y(s.value) + ")", 1)) : E("", !0)
|
|
10826
10824
|
])
|
|
10827
10825
|
]),
|
|
10828
|
-
!r.readonly && r.isEditable ? (v(), C("div",
|
|
10826
|
+
!r.readonly && r.isEditable ? (v(), C("div", Vh, [
|
|
10829
10827
|
A(re, {
|
|
10830
10828
|
color: "primary",
|
|
10831
10829
|
variant: "ghost",
|
|
@@ -10999,7 +10997,7 @@ const Yh = { class: "ao-mapping-card-project-phase__header" }, xh = { class: "ao
|
|
|
10999
10997
|
type: "date"
|
|
11000
10998
|
}, null, 512)), [
|
|
11001
10999
|
[
|
|
11002
|
-
|
|
11000
|
+
Ve,
|
|
11003
11001
|
r.value,
|
|
11004
11002
|
void 0,
|
|
11005
11003
|
{ lazy: !0 }
|
|
@@ -11381,7 +11379,7 @@ const _9 = ["onSubmit"], y9 = { class: "ao-save-template-modal__form-body" }, b9
|
|
|
11381
11379
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11382
11380
|
type: "text"
|
|
11383
11381
|
}, null, 512), [
|
|
11384
|
-
[
|
|
11382
|
+
[Ve, s.value]
|
|
11385
11383
|
])
|
|
11386
11384
|
])
|
|
11387
11385
|
]),
|
|
@@ -11448,7 +11446,7 @@ function L9(t, e, a, s, n, i) {
|
|
|
11448
11446
|
}, Y(o.label), 11, I9))), 128))
|
|
11449
11447
|
]);
|
|
11450
11448
|
}
|
|
11451
|
-
const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297"]]), P9 = { class: "ao-project" }, H9 = { class: "ao-project__body" },
|
|
11449
|
+
const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297"]]), P9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /* @__PURE__ */ X({
|
|
11452
11450
|
__name: "AoProjectOverviewProject",
|
|
11453
11451
|
props: {
|
|
11454
11452
|
project: {},
|
|
@@ -11656,7 +11654,7 @@ const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297
|
|
|
11656
11654
|
};
|
|
11657
11655
|
}
|
|
11658
11656
|
});
|
|
11659
|
-
const
|
|
11657
|
+
const V9 = { class: "ao-card-feed__header" }, B9 = {
|
|
11660
11658
|
key: 1,
|
|
11661
11659
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11662
11660
|
}, j9 = {
|
|
@@ -11740,7 +11738,7 @@ const D9 = { class: "ao-card-feed__header" }, B9 = {
|
|
|
11740
11738
|
"is-clickable": !0
|
|
11741
11739
|
}, {
|
|
11742
11740
|
header: z(() => [
|
|
11743
|
-
f("div",
|
|
11741
|
+
f("div", V9, [
|
|
11744
11742
|
s.value ? (v(), B(ra, {
|
|
11745
11743
|
key: 0,
|
|
11746
11744
|
label: s.value,
|
|
@@ -12016,7 +12014,7 @@ const n4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
12016
12014
|
type: "date"
|
|
12017
12015
|
}, null, 512), [
|
|
12018
12016
|
[
|
|
12019
|
-
|
|
12017
|
+
Ve,
|
|
12020
12018
|
g.value,
|
|
12021
12019
|
void 0,
|
|
12022
12020
|
{ lazy: !0 }
|
|
@@ -12376,10 +12374,10 @@ const E4 = {
|
|
|
12376
12374
|
}, H4 = {
|
|
12377
12375
|
key: 0,
|
|
12378
12376
|
class: "ao-list-kanban__no-more"
|
|
12379
|
-
},
|
|
12377
|
+
}, D4 = {
|
|
12380
12378
|
key: 1,
|
|
12381
12379
|
class: "ao-list-kanban__divider"
|
|
12382
|
-
},
|
|
12380
|
+
}, V4 = {
|
|
12383
12381
|
key: 1,
|
|
12384
12382
|
class: "ao-list-kanban__footer"
|
|
12385
12383
|
}, B4 = /* @__PURE__ */ X({
|
|
@@ -12526,12 +12524,12 @@ const E4 = {
|
|
|
12526
12524
|
ref: n,
|
|
12527
12525
|
class: "ao-list-kanban__end"
|
|
12528
12526
|
}, null, 512)) : (v(), C("div", P4, [
|
|
12529
|
-
u.noMoreLabel ? (v(), C("span", H4, Y(u.noMoreLabel), 1)) : u.isEditable ? (v(), C("span",
|
|
12527
|
+
u.noMoreLabel ? (v(), C("span", H4, Y(u.noMoreLabel), 1)) : u.isEditable ? (v(), C("span", D4)) : E("", !0)
|
|
12530
12528
|
]))
|
|
12531
12529
|
]),
|
|
12532
12530
|
_: 1
|
|
12533
12531
|
}, 16, ["class", "list", "disabled"]),
|
|
12534
|
-
u.$slots.footer || u.footerLabel ? (v(), C("div",
|
|
12532
|
+
u.$slots.footer || u.footerLabel ? (v(), C("div", V4, [
|
|
12535
12533
|
se(u.$slots, "footer", {}, () => [
|
|
12536
12534
|
u.isEditable ? (v(), B(Ct, {
|
|
12537
12535
|
key: 0,
|
|
@@ -12619,16 +12617,16 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12619
12617
|
ce(
|
|
12620
12618
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12621
12619
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12622
|
-
async ([L, j, k,
|
|
12620
|
+
async ([L, j, k, D], [J, K]) => {
|
|
12623
12621
|
l.value = Object.fromEntries(
|
|
12624
|
-
L.map((
|
|
12625
|
-
|
|
12622
|
+
L.map((V) => [
|
|
12623
|
+
V.id,
|
|
12626
12624
|
j.filter((F) => {
|
|
12627
12625
|
var he;
|
|
12628
|
-
return ((he = F.status) == null ? void 0 : he.id) ===
|
|
12626
|
+
return ((he = F.status) == null ? void 0 : he.id) === V.id;
|
|
12629
12627
|
})
|
|
12630
12628
|
])
|
|
12631
|
-
), k && !r.value ? (o(k, null), r.value = !0) :
|
|
12629
|
+
), k && !r.value ? (o(k, null), r.value = !0) : D && !r.value && (o(null, D), r.value = !0), d.value && Qe(j, K);
|
|
12632
12630
|
},
|
|
12633
12631
|
{ immediate: !0 }
|
|
12634
12632
|
);
|
|
@@ -12636,9 +12634,9 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12636
12634
|
var L;
|
|
12637
12635
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((L = a.selectedActivity.milestone.phase) == null ? void 0 : L.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12638
12636
|
}), p = (L) => {
|
|
12639
|
-
var K,
|
|
12640
|
-
const j = (K = a.activities) == null ? void 0 : K.at(-1), k = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(),
|
|
12641
|
-
name: s("activity.defaultName", { idx:
|
|
12637
|
+
var K, V;
|
|
12638
|
+
const j = (K = a.activities) == null ? void 0 : K.at(-1), k = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), D = ((V = a.activities) == null ? void 0 : V.length) ?? 0, J = {
|
|
12639
|
+
name: s("activity.defaultName", { idx: D + 1 }),
|
|
12642
12640
|
rank: k.format(),
|
|
12643
12641
|
statusId: L.id
|
|
12644
12642
|
};
|
|
@@ -12715,7 +12713,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12715
12713
|
A(sn, {
|
|
12716
12714
|
tabs: Z,
|
|
12717
12715
|
modelValue: O.value,
|
|
12718
|
-
"onUpdate:modelValue": j[0] || (j[0] = (
|
|
12716
|
+
"onUpdate:modelValue": j[0] || (j[0] = (D) => O.value = D)
|
|
12719
12717
|
}, null, 8, ["modelValue"]),
|
|
12720
12718
|
A(N4, {
|
|
12721
12719
|
"model-value": L.searchText,
|
|
@@ -12733,7 +12731,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12733
12731
|
searchable: !0,
|
|
12734
12732
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12735
12733
|
placeholder: L.$t("feed.filters.project.placeholder"),
|
|
12736
|
-
"onUpdate:modelValue": j[1] || (j[1] = (
|
|
12734
|
+
"onUpdate:modelValue": j[1] || (j[1] = (D) => h(W(Bt).project, D))
|
|
12737
12735
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12738
12736
|
m.value ? (v(), B(Ae, {
|
|
12739
12737
|
key: 1,
|
|
@@ -12744,7 +12742,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12744
12742
|
searchable: !0,
|
|
12745
12743
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12746
12744
|
placeholder: L.$t("feed.filters.activityType.placeholder"),
|
|
12747
|
-
"onUpdate:modelValue": j[2] || (j[2] = (
|
|
12745
|
+
"onUpdate:modelValue": j[2] || (j[2] = (D) => h(W(Bt).type, D))
|
|
12748
12746
|
}, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
|
|
12749
12747
|
$.value.length ? (v(), B(Ae, {
|
|
12750
12748
|
key: 2,
|
|
@@ -12755,17 +12753,17 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12755
12753
|
searchable: !0,
|
|
12756
12754
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12757
12755
|
placeholder: L.$t("feed.filters.assignee.placeholder"),
|
|
12758
|
-
"onUpdate:modelValue": j[3] || (j[3] = (
|
|
12756
|
+
"onUpdate:modelValue": j[3] || (j[3] = (D) => h(W(Bt).assignee, D))
|
|
12759
12757
|
}, {
|
|
12760
12758
|
tag: z(({
|
|
12761
|
-
option:
|
|
12759
|
+
option: D,
|
|
12762
12760
|
handleTagRemove: J
|
|
12763
12761
|
}) => [
|
|
12764
12762
|
A(et, {
|
|
12765
|
-
"user-name":
|
|
12766
|
-
"avatar-url":
|
|
12763
|
+
"user-name": D.label,
|
|
12764
|
+
"avatar-url": D.avatar,
|
|
12767
12765
|
"is-closable": !0,
|
|
12768
|
-
onClose: (K) => J(
|
|
12766
|
+
onClose: (K) => J(D, K)
|
|
12769
12767
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12770
12768
|
]),
|
|
12771
12769
|
_: 1
|
|
@@ -12781,7 +12779,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12781
12779
|
label: L.$t("feed.filters.showsOnlyNonAssigned.label"),
|
|
12782
12780
|
role: "checkbox",
|
|
12783
12781
|
"aria-checked": L.showsOnlyNonAssigned,
|
|
12784
|
-
onClick: j[4] || (j[4] = (
|
|
12782
|
+
onClick: j[4] || (j[4] = (D) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
|
|
12785
12783
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12786
12784
|
A(re, {
|
|
12787
12785
|
class: "ao-feed__only-important",
|
|
@@ -12793,7 +12791,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12793
12791
|
label: L.$t("feed.filters.showsOnlyImportant.label"),
|
|
12794
12792
|
role: "checkbox",
|
|
12795
12793
|
"aria-checked": L.showsOnlyImportant,
|
|
12796
|
-
onClick: j[5] || (j[5] = (
|
|
12794
|
+
onClick: j[5] || (j[5] = (D) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
|
|
12797
12795
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12798
12796
|
A(re, {
|
|
12799
12797
|
class: "ao-feed__show-archived",
|
|
@@ -12805,23 +12803,23 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12805
12803
|
label: L.$t("feed.filters.showsArchivedActivities.label"),
|
|
12806
12804
|
role: "checkbox",
|
|
12807
12805
|
"aria-checked": L.showsArchivedActivities,
|
|
12808
|
-
onClick: j[6] || (j[6] = (
|
|
12806
|
+
onClick: j[6] || (j[6] = (D) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
|
|
12809
12807
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
12810
12808
|
]),
|
|
12811
12809
|
_: 1
|
|
12812
12810
|
}),
|
|
12813
12811
|
f("div", Z4, [
|
|
12814
|
-
(v(!0), C(fe, null, Ce(L.statuses, (
|
|
12815
|
-
key:
|
|
12816
|
-
status:
|
|
12817
|
-
list: l.value[
|
|
12818
|
-
title:
|
|
12812
|
+
(v(!0), C(fe, null, Ce(L.statuses, (D) => (v(), B(B4, {
|
|
12813
|
+
key: D.id,
|
|
12814
|
+
status: D,
|
|
12815
|
+
list: l.value[D.id],
|
|
12816
|
+
title: D.name,
|
|
12819
12817
|
"footer-label": L.$t("feed.activity.add"),
|
|
12820
12818
|
users: L.users,
|
|
12821
12819
|
"user-id": L.userId,
|
|
12822
12820
|
"is-editable": L.isEditable,
|
|
12823
12821
|
tagType: u.value,
|
|
12824
|
-
onAdd: () => p(
|
|
12822
|
+
onAdd: () => p(D),
|
|
12825
12823
|
onSelectActivity: o,
|
|
12826
12824
|
onArchiveActivity: _,
|
|
12827
12825
|
onUnarchiveActivity: I,
|
|
@@ -12857,8 +12855,8 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12857
12855
|
onRemoveComment: ae,
|
|
12858
12856
|
onToast: n
|
|
12859
12857
|
}, {
|
|
12860
|
-
default: z((
|
|
12861
|
-
se(L.$slots, "activityDetailsBody", ha(ma(
|
|
12858
|
+
default: z((D) => [
|
|
12859
|
+
se(L.$slots, "activityDetailsBody", ha(ma(D)))
|
|
12862
12860
|
]),
|
|
12863
12861
|
_: 3
|
|
12864
12862
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data"])) : E("", !0)
|
|
@@ -13034,7 +13032,7 @@ const Rt = {
|
|
|
13034
13032
|
{
|
|
13035
13033
|
path: "",
|
|
13036
13034
|
name: ye.project,
|
|
13037
|
-
component:
|
|
13035
|
+
component: D9,
|
|
13038
13036
|
props: !0,
|
|
13039
13037
|
children: [
|
|
13040
13038
|
{
|
|
@@ -13144,8 +13142,8 @@ const Rt = {
|
|
|
13144
13142
|
id: u.id,
|
|
13145
13143
|
title: u.name,
|
|
13146
13144
|
phases: u.phases,
|
|
13147
|
-
milestones: (c = u.phases) != null && c.length ? W(
|
|
13148
|
-
activities: u.phases ? W(
|
|
13145
|
+
milestones: (c = u.phases) != null && c.length ? W(D3)(u.phases) : 0,
|
|
13146
|
+
activities: u.phases ? W(V3)(u.phases) : 0,
|
|
13149
13147
|
"updated-at": u.updatedAt,
|
|
13150
13148
|
"updated-by": u.updatedBy,
|
|
13151
13149
|
onUpdateTitle: (p) => i(u.id, p),
|