@26lights/orcha 0.41.127 → 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.cjs.js +1 -1
- package/dist/orcha.es.js +249 -248
- package/dist/orcha.umd.js +1 -1
- package/package.json +1 -1
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,9 +8436,10 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8436
8436
|
}
|
|
8437
8437
|
}), l = M({
|
|
8438
8438
|
get() {
|
|
8439
|
-
var
|
|
8440
|
-
|
|
8441
|
-
|
|
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];
|
|
8442
|
+
return (k == null ? void 0 : k.timeSpent) ?? 0;
|
|
8442
8443
|
},
|
|
8443
8444
|
set() {
|
|
8444
8445
|
}
|
|
@@ -8465,9 +8466,9 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8465
8466
|
}
|
|
8466
8467
|
}), c = M(() => {
|
|
8467
8468
|
var k;
|
|
8468
|
-
return (k = a.activityTypes) == null ? void 0 : k.map((
|
|
8469
|
-
label:
|
|
8470
|
-
value:
|
|
8469
|
+
return (k = a.activityTypes) == null ? void 0 : k.map((D) => ({
|
|
8470
|
+
label: D.name,
|
|
8471
|
+
value: D.id
|
|
8471
8472
|
}));
|
|
8472
8473
|
}), p = M({
|
|
8473
8474
|
get() {
|
|
@@ -8483,7 +8484,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8483
8484
|
}))), g = M({
|
|
8484
8485
|
get() {
|
|
8485
8486
|
var k;
|
|
8486
|
-
return (k = a.activity.dependingOn) == null ? void 0 : k.map((
|
|
8487
|
+
return (k = a.activity.dependingOn) == null ? void 0 : k.map((D) => D.id);
|
|
8487
8488
|
},
|
|
8488
8489
|
set(k) {
|
|
8489
8490
|
k && e("update:activity", {
|
|
@@ -8492,15 +8493,15 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8492
8493
|
});
|
|
8493
8494
|
}
|
|
8494
8495
|
}), w = M(() => h.value.map((k) => {
|
|
8495
|
-
var
|
|
8496
|
+
var D;
|
|
8496
8497
|
return {
|
|
8497
8498
|
...k,
|
|
8498
|
-
disabled: (
|
|
8499
|
+
disabled: (D = a.activity.blocking) == null ? void 0 : D.some((J) => J.id === k.value)
|
|
8499
8500
|
};
|
|
8500
8501
|
})), m = M({
|
|
8501
8502
|
get() {
|
|
8502
8503
|
var k;
|
|
8503
|
-
return (k = a.activity.blocking) == null ? void 0 : k.map((
|
|
8504
|
+
return (k = a.activity.blocking) == null ? void 0 : k.map((D) => D.id);
|
|
8504
8505
|
},
|
|
8505
8506
|
set(k) {
|
|
8506
8507
|
k && e("update:activity", {
|
|
@@ -8509,10 +8510,10 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8509
8510
|
});
|
|
8510
8511
|
}
|
|
8511
8512
|
}), $ = M(() => h.value.map((k) => {
|
|
8512
|
-
var
|
|
8513
|
+
var D;
|
|
8513
8514
|
return {
|
|
8514
8515
|
...k,
|
|
8515
|
-
disabled: (
|
|
8516
|
+
disabled: (D = a.activity.dependingOn) == null ? void 0 : D.some(
|
|
8516
8517
|
(J) => J.id === k.value
|
|
8517
8518
|
)
|
|
8518
8519
|
};
|
|
@@ -8531,15 +8532,15 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8531
8532
|
}
|
|
8532
8533
|
const H = M(() => {
|
|
8533
8534
|
var k;
|
|
8534
|
-
return ((k = a.users) == null ? void 0 : k.map((
|
|
8535
|
-
label: `${
|
|
8536
|
-
value:
|
|
8537
|
-
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
|
|
8538
8539
|
}))) || [];
|
|
8539
8540
|
}), R = M({
|
|
8540
8541
|
get() {
|
|
8541
|
-
var k,
|
|
8542
|
-
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] : [];
|
|
8543
8544
|
},
|
|
8544
8545
|
set(k) {
|
|
8545
8546
|
e("update:activity", {
|
|
@@ -8562,14 +8563,14 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8562
8563
|
value: k.id,
|
|
8563
8564
|
label: k.name
|
|
8564
8565
|
}))), N = M(() => {
|
|
8565
|
-
var
|
|
8566
|
-
const k = (K = (J = (
|
|
8567
|
-
(
|
|
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],
|
|
8568
8569
|
[]
|
|
8569
8570
|
);
|
|
8570
|
-
return k == null ? void 0 : k.map((
|
|
8571
|
-
value:
|
|
8572
|
-
label:
|
|
8571
|
+
return k == null ? void 0 : k.map((V) => ({
|
|
8572
|
+
value: V.id,
|
|
8573
|
+
label: V.name
|
|
8573
8574
|
}));
|
|
8574
8575
|
}), Q = (k) => {
|
|
8575
8576
|
a.activity && e("update:activity", {
|
|
@@ -8583,9 +8584,9 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8583
8584
|
});
|
|
8584
8585
|
}, oe = M(() => {
|
|
8585
8586
|
var k;
|
|
8586
|
-
return (k = a.statuses) == null ? void 0 : k.map((
|
|
8587
|
-
value:
|
|
8588
|
-
label:
|
|
8587
|
+
return (k = a.statuses) == null ? void 0 : k.map((D) => ({
|
|
8588
|
+
value: D.id,
|
|
8589
|
+
label: D.name
|
|
8589
8590
|
}));
|
|
8590
8591
|
}), ae = (k) => {
|
|
8591
8592
|
e("update:activity", {
|
|
@@ -8602,26 +8603,26 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8602
8603
|
}, Z = (k) => {
|
|
8603
8604
|
e("removeComment", k);
|
|
8604
8605
|
}, L = M(() => {
|
|
8605
|
-
var k,
|
|
8606
|
-
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}`;
|
|
8607
8608
|
});
|
|
8608
8609
|
function j() {
|
|
8609
|
-
const k = window.location.origin,
|
|
8610
|
+
const k = window.location.origin, D = a.activity.slug, J = `${k}/activity-feed/slug/${D}`;
|
|
8610
8611
|
navigator.clipboard.writeText(J).then(() => {
|
|
8611
8612
|
console.log(`Link copied to clipboard: ${J}`), e("toast", "clipboard.copy.success", "success");
|
|
8612
8613
|
}).catch(() => {
|
|
8613
8614
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8614
8615
|
});
|
|
8615
8616
|
}
|
|
8616
|
-
return (k,
|
|
8617
|
-
onClose:
|
|
8617
|
+
return (k, D) => (v(), B(Qa, {
|
|
8618
|
+
onClose: D[11] || (D[11] = (J) => k.$emit("close"))
|
|
8618
8619
|
}, {
|
|
8619
8620
|
default: z(() => {
|
|
8620
|
-
var J, K,
|
|
8621
|
+
var J, K, V;
|
|
8621
8622
|
return [
|
|
8622
8623
|
f("div", Pv, [
|
|
8623
8624
|
f("div", Hv, [
|
|
8624
|
-
f("div",
|
|
8625
|
+
f("div", Dv, [
|
|
8625
8626
|
k.activity.slug ? (v(), B(ra, {
|
|
8626
8627
|
key: 0,
|
|
8627
8628
|
label: k.activity.slug,
|
|
@@ -8632,7 +8633,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8632
8633
|
class: "ao-activity__ao-tag",
|
|
8633
8634
|
onClick: j
|
|
8634
8635
|
}, null, 8, ["label"])) : E("", !0),
|
|
8635
|
-
k.breadcrumbs ? (v(), C("div",
|
|
8636
|
+
k.breadcrumbs ? (v(), C("div", Vv, Y(k.breadcrumbs), 1)) : E("", !0),
|
|
8636
8637
|
A(be, {
|
|
8637
8638
|
title: k.activity.name || "",
|
|
8638
8639
|
level: 4,
|
|
@@ -8678,13 +8679,13 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8678
8679
|
f("label", zv, [
|
|
8679
8680
|
f("span", qv, Y(k.$t("activity.description.label")), 1),
|
|
8680
8681
|
Me(f("textarea", {
|
|
8681
|
-
"onUpdate:modelValue":
|
|
8682
|
+
"onUpdate:modelValue": D[0] || (D[0] = (F) => i.value = F),
|
|
8682
8683
|
readonly: !s.value,
|
|
8683
8684
|
rows: "4",
|
|
8684
8685
|
class: "ao-field__textarea"
|
|
8685
8686
|
}, null, 8, Yv), [
|
|
8686
8687
|
[
|
|
8687
|
-
|
|
8688
|
+
Ve,
|
|
8688
8689
|
i.value,
|
|
8689
8690
|
void 0,
|
|
8690
8691
|
{
|
|
@@ -8702,14 +8703,14 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8702
8703
|
f("label", Kv, [
|
|
8703
8704
|
f("span", Gv, Y(k.$t("activity.estimation.label")), 1),
|
|
8704
8705
|
Me(f("input", {
|
|
8705
|
-
"onUpdate:modelValue":
|
|
8706
|
+
"onUpdate:modelValue": D[1] || (D[1] = (F) => o.value = F),
|
|
8706
8707
|
readonly: !s.value,
|
|
8707
8708
|
class: "ao-field__input ao-field__input--estim",
|
|
8708
8709
|
type: "number",
|
|
8709
8710
|
min: "0"
|
|
8710
8711
|
}, null, 8, Xv), [
|
|
8711
8712
|
[
|
|
8712
|
-
|
|
8713
|
+
Ve,
|
|
8713
8714
|
o.value,
|
|
8714
8715
|
void 0,
|
|
8715
8716
|
{
|
|
@@ -8722,14 +8723,14 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8722
8723
|
f("label", Qv, [
|
|
8723
8724
|
f("span", Jv, Y(k.$t("activity.timeSpent.label")), 1),
|
|
8724
8725
|
Me(f("input", {
|
|
8725
|
-
"onUpdate:modelValue":
|
|
8726
|
+
"onUpdate:modelValue": D[2] || (D[2] = (F) => l.value = F),
|
|
8726
8727
|
readonly: "",
|
|
8727
8728
|
class: "ao-field__input ao-field__input--estim",
|
|
8728
8729
|
type: "number",
|
|
8729
8730
|
min: "0"
|
|
8730
8731
|
}, null, 512), [
|
|
8731
8732
|
[
|
|
8732
|
-
|
|
8733
|
+
Ve,
|
|
8733
8734
|
l.value,
|
|
8734
8735
|
void 0,
|
|
8735
8736
|
{
|
|
@@ -8787,7 +8788,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8787
8788
|
f("div", lf, [
|
|
8788
8789
|
A(de, {
|
|
8789
8790
|
name: "CloseRounded",
|
|
8790
|
-
onClick:
|
|
8791
|
+
onClick: D[3] || (D[3] = (F) => k.$emit("close"))
|
|
8791
8792
|
})
|
|
8792
8793
|
]),
|
|
8793
8794
|
oe.value ? (v(), C("div", rf, [
|
|
@@ -8796,7 +8797,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8796
8797
|
A(Ae, {
|
|
8797
8798
|
class: "ao-activity-details__multiselect",
|
|
8798
8799
|
options: oe.value,
|
|
8799
|
-
value: (
|
|
8800
|
+
value: (V = k.activity.status) == null ? void 0 : V.id,
|
|
8800
8801
|
"can-clear": !1,
|
|
8801
8802
|
"can-deselect": !1,
|
|
8802
8803
|
disabled: !s.value,
|
|
@@ -8820,7 +8821,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8820
8821
|
]),
|
|
8821
8822
|
A(Ae, {
|
|
8822
8823
|
modelValue: R.value,
|
|
8823
|
-
"onUpdate:modelValue":
|
|
8824
|
+
"onUpdate:modelValue": D[4] || (D[4] = (F) => R.value = F),
|
|
8824
8825
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8825
8826
|
options: H.value,
|
|
8826
8827
|
"close-on-select": !0,
|
|
@@ -8851,13 +8852,13 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8851
8852
|
f("label", gf, [
|
|
8852
8853
|
f("span", Cf, Y(k.$t("activity.deadline.label")), 1),
|
|
8853
8854
|
Me(f("input", {
|
|
8854
|
-
"onUpdate:modelValue":
|
|
8855
|
+
"onUpdate:modelValue": D[5] || (D[5] = (F) => u.value = F),
|
|
8855
8856
|
readonly: !s.value,
|
|
8856
8857
|
class: "ao-field__input",
|
|
8857
8858
|
type: "date"
|
|
8858
8859
|
}, null, 8, _f), [
|
|
8859
8860
|
[
|
|
8860
|
-
|
|
8861
|
+
Ve,
|
|
8861
8862
|
u.value,
|
|
8862
8863
|
void 0,
|
|
8863
8864
|
{ lazy: !0 }
|
|
@@ -8871,7 +8872,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8871
8872
|
f("label", wf, [
|
|
8872
8873
|
A(Ae, {
|
|
8873
8874
|
modelValue: p.value,
|
|
8874
|
-
"onUpdate:modelValue":
|
|
8875
|
+
"onUpdate:modelValue": D[6] || (D[6] = (F) => p.value = F),
|
|
8875
8876
|
class: "ao-activity-details__multiselect",
|
|
8876
8877
|
mode: "single",
|
|
8877
8878
|
searchable: !0,
|
|
@@ -8887,7 +8888,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8887
8888
|
f("div", $f, [
|
|
8888
8889
|
A(Ss, {
|
|
8889
8890
|
modelValue: r.value,
|
|
8890
|
-
"onUpdate:modelValue":
|
|
8891
|
+
"onUpdate:modelValue": D[7] || (D[7] = (F) => r.value = F),
|
|
8891
8892
|
modelModifiers: { lazy: !0 },
|
|
8892
8893
|
label: k.$t("activity.important.label"),
|
|
8893
8894
|
disabled: !s.value,
|
|
@@ -8902,7 +8903,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8902
8903
|
k.isTemplate !== !0 && k.activity.createdBy.id === k.userId ? (v(), C("div", kf, [
|
|
8903
8904
|
A(Ss, {
|
|
8904
8905
|
modelValue: d.value,
|
|
8905
|
-
"onUpdate:modelValue":
|
|
8906
|
+
"onUpdate:modelValue": D[8] || (D[8] = (F) => d.value = F),
|
|
8906
8907
|
modelModifiers: { lazy: !0 },
|
|
8907
8908
|
label: k.$t("activity.private.label"),
|
|
8908
8909
|
disabled: !s.value,
|
|
@@ -8927,7 +8928,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8927
8928
|
f("span", Ef, Y(k.$t("activity.dependingOn.label")), 1),
|
|
8928
8929
|
A(Ae, {
|
|
8929
8930
|
modelValue: g.value,
|
|
8930
|
-
"onUpdate:modelValue":
|
|
8931
|
+
"onUpdate:modelValue": D[9] || (D[9] = (F) => g.value = F),
|
|
8931
8932
|
class: "ao-activity-details__multiselect",
|
|
8932
8933
|
mode: "tags",
|
|
8933
8934
|
"close-on-select": !1,
|
|
@@ -8943,7 +8944,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8943
8944
|
f("span", Pf, Y(k.$t("activity.blocking.label")), 1),
|
|
8944
8945
|
A(Ae, {
|
|
8945
8946
|
modelValue: m.value,
|
|
8946
|
-
"onUpdate:modelValue":
|
|
8947
|
+
"onUpdate:modelValue": D[10] || (D[10] = (F) => m.value = F),
|
|
8947
8948
|
class: "ao-activity-details__multiselect",
|
|
8948
8949
|
mode: "tags",
|
|
8949
8950
|
"close-on-select": !1,
|
|
@@ -8957,7 +8958,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8957
8958
|
])
|
|
8958
8959
|
]),
|
|
8959
8960
|
k.isTemplate !== !0 && L.value ? (v(), C("div", Hf, [
|
|
8960
|
-
f("div",
|
|
8961
|
+
f("div", Df, [
|
|
8961
8962
|
A(et, {
|
|
8962
8963
|
"user-name": L.value,
|
|
8963
8964
|
color: "black"
|
|
@@ -8973,7 +8974,7 @@ const Ss = /* @__PURE__ */ X({
|
|
|
8973
8974
|
}));
|
|
8974
8975
|
}
|
|
8975
8976
|
});
|
|
8976
|
-
const
|
|
8977
|
+
const Vf = /* @__PURE__ */ X({
|
|
8977
8978
|
__name: "AoRuleLine",
|
|
8978
8979
|
props: {
|
|
8979
8980
|
rule: {},
|
|
@@ -9075,7 +9076,7 @@ const Df = /* @__PURE__ */ X({
|
|
|
9075
9076
|
min: "0"
|
|
9076
9077
|
}, null, 512), [
|
|
9077
9078
|
[
|
|
9078
|
-
|
|
9079
|
+
Ve,
|
|
9079
9080
|
g.value,
|
|
9080
9081
|
void 0,
|
|
9081
9082
|
{ number: !0 }
|
|
@@ -9123,7 +9124,7 @@ const Bf = { class: "ao-template-rules__body" }, jf = { class: "ao-template-rule
|
|
|
9123
9124
|
default: z(() => [
|
|
9124
9125
|
f("div", Bf, [
|
|
9125
9126
|
f("ul", jf, [
|
|
9126
|
-
(v(!0), C(fe, null, Ce(n.rules, (o) => (v(), B(
|
|
9127
|
+
(v(!0), C(fe, null, Ce(n.rules, (o) => (v(), B(Vf, {
|
|
9127
9128
|
key: o.id,
|
|
9128
9129
|
rule: o,
|
|
9129
9130
|
"template-phases": n.templatePhases,
|
|
@@ -9223,7 +9224,7 @@ const Nf = {
|
|
|
9223
9224
|
var P, O;
|
|
9224
9225
|
return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((Z, L) => {
|
|
9225
9226
|
const k = (L.milestones || []).reduce(
|
|
9226
|
-
(
|
|
9227
|
+
(D, J) => J.activities ? [...D, ...J.activities] : D,
|
|
9227
9228
|
[]
|
|
9228
9229
|
);
|
|
9229
9230
|
return [...Z, ...k];
|
|
@@ -9395,7 +9396,7 @@ const Nf = {
|
|
|
9395
9396
|
e("removeFile", P);
|
|
9396
9397
|
};
|
|
9397
9398
|
return (P, O) => {
|
|
9398
|
-
var Z, L, j, k,
|
|
9399
|
+
var Z, L, j, k, D, J;
|
|
9399
9400
|
return n.value ? (v(), C("div", Nf, [
|
|
9400
9401
|
A(ba, {
|
|
9401
9402
|
"can-go-back": !0,
|
|
@@ -9431,13 +9432,13 @@ const Nf = {
|
|
|
9431
9432
|
}, null, 8, ["title"])
|
|
9432
9433
|
]),
|
|
9433
9434
|
item: z(({ element: K }) => {
|
|
9434
|
-
var
|
|
9435
|
+
var V;
|
|
9435
9436
|
return [
|
|
9436
9437
|
A(w5, {
|
|
9437
9438
|
id: K.id,
|
|
9438
9439
|
name: K.name,
|
|
9439
9440
|
milestones: K.milestones,
|
|
9440
|
-
"is-active": ((
|
|
9441
|
+
"is-active": ((V = o.value) == null ? void 0 : V.id) === K.id,
|
|
9441
9442
|
"is-draggable": !0,
|
|
9442
9443
|
onClick: (F) => P.$router.push({
|
|
9443
9444
|
params: { templateId: P.templateId, phaseId: K.id }
|
|
@@ -9492,7 +9493,7 @@ const Nf = {
|
|
|
9492
9493
|
key: 0,
|
|
9493
9494
|
activity: u.value,
|
|
9494
9495
|
"activity-types": P.activityTypes,
|
|
9495
|
-
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}`,
|
|
9496
9497
|
"milestone-id": (J = l.value) == null ? void 0 : J.id,
|
|
9497
9498
|
"template-activities": d.value,
|
|
9498
9499
|
"template-milestones": r.value,
|
|
@@ -10147,7 +10148,7 @@ function fh(t, e, a, s, n, i) {
|
|
|
10147
10148
|
544
|
|
10148
10149
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
10149
10150
|
), [
|
|
10150
|
-
[
|
|
10151
|
+
[Ve, t.modelColor]
|
|
10151
10152
|
])
|
|
10152
10153
|
]);
|
|
10153
10154
|
}
|
|
@@ -10695,7 +10696,7 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
|
|
|
10695
10696
|
type: "date"
|
|
10696
10697
|
}, null, 512)), [
|
|
10697
10698
|
[
|
|
10698
|
-
|
|
10699
|
+
Ve,
|
|
10699
10700
|
r.value,
|
|
10700
10701
|
void 0,
|
|
10701
10702
|
{ lazy: !0 }
|
|
@@ -10747,10 +10748,10 @@ const Ih = /* @__PURE__ */ X({
|
|
|
10747
10748
|
}, null, 4));
|
|
10748
10749
|
}
|
|
10749
10750
|
});
|
|
10750
|
-
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 = {
|
|
10751
10752
|
key: 0,
|
|
10752
10753
|
class: "ao-card-project-item-milestone__estimation"
|
|
10753
|
-
},
|
|
10754
|
+
}, Vh = {
|
|
10754
10755
|
key: 0,
|
|
10755
10756
|
class: "ao-card-project-milestone__archive"
|
|
10756
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 = {
|
|
@@ -10819,10 +10820,10 @@ const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-ti
|
|
|
10819
10820
|
class: "ao-card-project-milestone__title",
|
|
10820
10821
|
"onUpdate:title": l
|
|
10821
10822
|
}, null, 8, ["id", "title", "is-editable"]),
|
|
10822
|
-
s.value ? (v(), C("span",
|
|
10823
|
+
s.value ? (v(), C("span", Dh, " (" + Y(s.value) + ")", 1)) : E("", !0)
|
|
10823
10824
|
])
|
|
10824
10825
|
]),
|
|
10825
|
-
!r.readonly && r.isEditable ? (v(), C("div",
|
|
10826
|
+
!r.readonly && r.isEditable ? (v(), C("div", Vh, [
|
|
10826
10827
|
A(re, {
|
|
10827
10828
|
color: "primary",
|
|
10828
10829
|
variant: "ghost",
|
|
@@ -10996,7 +10997,7 @@ const Yh = { class: "ao-mapping-card-project-phase__header" }, xh = { class: "ao
|
|
|
10996
10997
|
type: "date"
|
|
10997
10998
|
}, null, 512)), [
|
|
10998
10999
|
[
|
|
10999
|
-
|
|
11000
|
+
Ve,
|
|
11000
11001
|
r.value,
|
|
11001
11002
|
void 0,
|
|
11002
11003
|
{ lazy: !0 }
|
|
@@ -11378,7 +11379,7 @@ const _9 = ["onSubmit"], y9 = { class: "ao-save-template-modal__form-body" }, b9
|
|
|
11378
11379
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11379
11380
|
type: "text"
|
|
11380
11381
|
}, null, 512), [
|
|
11381
|
-
[
|
|
11382
|
+
[Ve, s.value]
|
|
11382
11383
|
])
|
|
11383
11384
|
])
|
|
11384
11385
|
]),
|
|
@@ -11445,7 +11446,7 @@ function L9(t, e, a, s, n, i) {
|
|
|
11445
11446
|
}, Y(o.label), 11, I9))), 128))
|
|
11446
11447
|
]);
|
|
11447
11448
|
}
|
|
11448
|
-
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({
|
|
11449
11450
|
__name: "AoProjectOverviewProject",
|
|
11450
11451
|
props: {
|
|
11451
11452
|
project: {},
|
|
@@ -11653,7 +11654,7 @@ const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297
|
|
|
11653
11654
|
};
|
|
11654
11655
|
}
|
|
11655
11656
|
});
|
|
11656
|
-
const
|
|
11657
|
+
const V9 = { class: "ao-card-feed__header" }, B9 = {
|
|
11657
11658
|
key: 1,
|
|
11658
11659
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11659
11660
|
}, j9 = {
|
|
@@ -11737,7 +11738,7 @@ const D9 = { class: "ao-card-feed__header" }, B9 = {
|
|
|
11737
11738
|
"is-clickable": !0
|
|
11738
11739
|
}, {
|
|
11739
11740
|
header: z(() => [
|
|
11740
|
-
f("div",
|
|
11741
|
+
f("div", V9, [
|
|
11741
11742
|
s.value ? (v(), B(ra, {
|
|
11742
11743
|
key: 0,
|
|
11743
11744
|
label: s.value,
|
|
@@ -12013,7 +12014,7 @@ const n4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
|
|
|
12013
12014
|
type: "date"
|
|
12014
12015
|
}, null, 512), [
|
|
12015
12016
|
[
|
|
12016
|
-
|
|
12017
|
+
Ve,
|
|
12017
12018
|
g.value,
|
|
12018
12019
|
void 0,
|
|
12019
12020
|
{ lazy: !0 }
|
|
@@ -12373,10 +12374,10 @@ const E4 = {
|
|
|
12373
12374
|
}, H4 = {
|
|
12374
12375
|
key: 0,
|
|
12375
12376
|
class: "ao-list-kanban__no-more"
|
|
12376
|
-
},
|
|
12377
|
+
}, D4 = {
|
|
12377
12378
|
key: 1,
|
|
12378
12379
|
class: "ao-list-kanban__divider"
|
|
12379
|
-
},
|
|
12380
|
+
}, V4 = {
|
|
12380
12381
|
key: 1,
|
|
12381
12382
|
class: "ao-list-kanban__footer"
|
|
12382
12383
|
}, B4 = /* @__PURE__ */ X({
|
|
@@ -12523,12 +12524,12 @@ const E4 = {
|
|
|
12523
12524
|
ref: n,
|
|
12524
12525
|
class: "ao-list-kanban__end"
|
|
12525
12526
|
}, null, 512)) : (v(), C("div", P4, [
|
|
12526
|
-
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)
|
|
12527
12528
|
]))
|
|
12528
12529
|
]),
|
|
12529
12530
|
_: 1
|
|
12530
12531
|
}, 16, ["class", "list", "disabled"]),
|
|
12531
|
-
u.$slots.footer || u.footerLabel ? (v(), C("div",
|
|
12532
|
+
u.$slots.footer || u.footerLabel ? (v(), C("div", V4, [
|
|
12532
12533
|
se(u.$slots, "footer", {}, () => [
|
|
12533
12534
|
u.isEditable ? (v(), B(Ct, {
|
|
12534
12535
|
key: 0,
|
|
@@ -12616,16 +12617,16 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12616
12617
|
ce(
|
|
12617
12618
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12618
12619
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12619
|
-
async ([L, j, k,
|
|
12620
|
+
async ([L, j, k, D], [J, K]) => {
|
|
12620
12621
|
l.value = Object.fromEntries(
|
|
12621
|
-
L.map((
|
|
12622
|
-
|
|
12622
|
+
L.map((V) => [
|
|
12623
|
+
V.id,
|
|
12623
12624
|
j.filter((F) => {
|
|
12624
12625
|
var he;
|
|
12625
|
-
return ((he = F.status) == null ? void 0 : he.id) ===
|
|
12626
|
+
return ((he = F.status) == null ? void 0 : he.id) === V.id;
|
|
12626
12627
|
})
|
|
12627
12628
|
])
|
|
12628
|
-
), 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);
|
|
12629
12630
|
},
|
|
12630
12631
|
{ immediate: !0 }
|
|
12631
12632
|
);
|
|
@@ -12633,9 +12634,9 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12633
12634
|
var L;
|
|
12634
12635
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((L = a.selectedActivity.milestone.phase) == null ? void 0 : L.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12635
12636
|
}), p = (L) => {
|
|
12636
|
-
var K,
|
|
12637
|
-
const j = (K = a.activities) == null ? void 0 : K.at(-1), k = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(),
|
|
12638
|
-
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 }),
|
|
12639
12640
|
rank: k.format(),
|
|
12640
12641
|
statusId: L.id
|
|
12641
12642
|
};
|
|
@@ -12712,7 +12713,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12712
12713
|
A(sn, {
|
|
12713
12714
|
tabs: Z,
|
|
12714
12715
|
modelValue: O.value,
|
|
12715
|
-
"onUpdate:modelValue": j[0] || (j[0] = (
|
|
12716
|
+
"onUpdate:modelValue": j[0] || (j[0] = (D) => O.value = D)
|
|
12716
12717
|
}, null, 8, ["modelValue"]),
|
|
12717
12718
|
A(N4, {
|
|
12718
12719
|
"model-value": L.searchText,
|
|
@@ -12730,7 +12731,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12730
12731
|
searchable: !0,
|
|
12731
12732
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12732
12733
|
placeholder: L.$t("feed.filters.project.placeholder"),
|
|
12733
|
-
"onUpdate:modelValue": j[1] || (j[1] = (
|
|
12734
|
+
"onUpdate:modelValue": j[1] || (j[1] = (D) => h(W(Bt).project, D))
|
|
12734
12735
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12735
12736
|
m.value ? (v(), B(Ae, {
|
|
12736
12737
|
key: 1,
|
|
@@ -12741,7 +12742,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12741
12742
|
searchable: !0,
|
|
12742
12743
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12743
12744
|
placeholder: L.$t("feed.filters.activityType.placeholder"),
|
|
12744
|
-
"onUpdate:modelValue": j[2] || (j[2] = (
|
|
12745
|
+
"onUpdate:modelValue": j[2] || (j[2] = (D) => h(W(Bt).type, D))
|
|
12745
12746
|
}, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
|
|
12746
12747
|
$.value.length ? (v(), B(Ae, {
|
|
12747
12748
|
key: 2,
|
|
@@ -12752,17 +12753,17 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12752
12753
|
searchable: !0,
|
|
12753
12754
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12754
12755
|
placeholder: L.$t("feed.filters.assignee.placeholder"),
|
|
12755
|
-
"onUpdate:modelValue": j[3] || (j[3] = (
|
|
12756
|
+
"onUpdate:modelValue": j[3] || (j[3] = (D) => h(W(Bt).assignee, D))
|
|
12756
12757
|
}, {
|
|
12757
12758
|
tag: z(({
|
|
12758
|
-
option:
|
|
12759
|
+
option: D,
|
|
12759
12760
|
handleTagRemove: J
|
|
12760
12761
|
}) => [
|
|
12761
12762
|
A(et, {
|
|
12762
|
-
"user-name":
|
|
12763
|
-
"avatar-url":
|
|
12763
|
+
"user-name": D.label,
|
|
12764
|
+
"avatar-url": D.avatar,
|
|
12764
12765
|
"is-closable": !0,
|
|
12765
|
-
onClose: (K) => J(
|
|
12766
|
+
onClose: (K) => J(D, K)
|
|
12766
12767
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12767
12768
|
]),
|
|
12768
12769
|
_: 1
|
|
@@ -12778,7 +12779,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12778
12779
|
label: L.$t("feed.filters.showsOnlyNonAssigned.label"),
|
|
12779
12780
|
role: "checkbox",
|
|
12780
12781
|
"aria-checked": L.showsOnlyNonAssigned,
|
|
12781
|
-
onClick: j[4] || (j[4] = (
|
|
12782
|
+
onClick: j[4] || (j[4] = (D) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
|
|
12782
12783
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12783
12784
|
A(re, {
|
|
12784
12785
|
class: "ao-feed__only-important",
|
|
@@ -12790,7 +12791,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12790
12791
|
label: L.$t("feed.filters.showsOnlyImportant.label"),
|
|
12791
12792
|
role: "checkbox",
|
|
12792
12793
|
"aria-checked": L.showsOnlyImportant,
|
|
12793
|
-
onClick: j[5] || (j[5] = (
|
|
12794
|
+
onClick: j[5] || (j[5] = (D) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
|
|
12794
12795
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12795
12796
|
A(re, {
|
|
12796
12797
|
class: "ao-feed__show-archived",
|
|
@@ -12802,23 +12803,23 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12802
12803
|
label: L.$t("feed.filters.showsArchivedActivities.label"),
|
|
12803
12804
|
role: "checkbox",
|
|
12804
12805
|
"aria-checked": L.showsArchivedActivities,
|
|
12805
|
-
onClick: j[6] || (j[6] = (
|
|
12806
|
+
onClick: j[6] || (j[6] = (D) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
|
|
12806
12807
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
12807
12808
|
]),
|
|
12808
12809
|
_: 1
|
|
12809
12810
|
}),
|
|
12810
12811
|
f("div", Z4, [
|
|
12811
|
-
(v(!0), C(fe, null, Ce(L.statuses, (
|
|
12812
|
-
key:
|
|
12813
|
-
status:
|
|
12814
|
-
list: l.value[
|
|
12815
|
-
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,
|
|
12816
12817
|
"footer-label": L.$t("feed.activity.add"),
|
|
12817
12818
|
users: L.users,
|
|
12818
12819
|
"user-id": L.userId,
|
|
12819
12820
|
"is-editable": L.isEditable,
|
|
12820
12821
|
tagType: u.value,
|
|
12821
|
-
onAdd: () => p(
|
|
12822
|
+
onAdd: () => p(D),
|
|
12822
12823
|
onSelectActivity: o,
|
|
12823
12824
|
onArchiveActivity: _,
|
|
12824
12825
|
onUnarchiveActivity: I,
|
|
@@ -12854,8 +12855,8 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
|
|
|
12854
12855
|
onRemoveComment: ae,
|
|
12855
12856
|
onToast: n
|
|
12856
12857
|
}, {
|
|
12857
|
-
default: z((
|
|
12858
|
-
se(L.$slots, "activityDetailsBody", ha(ma(
|
|
12858
|
+
default: z((D) => [
|
|
12859
|
+
se(L.$slots, "activityDetailsBody", ha(ma(D)))
|
|
12859
12860
|
]),
|
|
12860
12861
|
_: 3
|
|
12861
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)
|
|
@@ -13031,7 +13032,7 @@ const Rt = {
|
|
|
13031
13032
|
{
|
|
13032
13033
|
path: "",
|
|
13033
13034
|
name: ye.project,
|
|
13034
|
-
component:
|
|
13035
|
+
component: D9,
|
|
13035
13036
|
props: !0,
|
|
13036
13037
|
children: [
|
|
13037
13038
|
{
|
|
@@ -13141,8 +13142,8 @@ const Rt = {
|
|
|
13141
13142
|
id: u.id,
|
|
13142
13143
|
title: u.name,
|
|
13143
13144
|
phases: u.phases,
|
|
13144
|
-
milestones: (c = u.phases) != null && c.length ? W(
|
|
13145
|
-
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,
|
|
13146
13147
|
"updated-at": u.updatedAt,
|
|
13147
13148
|
"updated-by": u.updatedBy,
|
|
13148
13149
|
onUpdateTitle: (p) => i(u.id, p),
|