@26lights/orcha 0.36.40 → 0.36.41
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 +2 -2
- package/dist/orcha.es.js +384 -383
- package/dist/orcha.umd.js +3 -3
- package/dist/src/main.d.ts +1 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as
|
|
1
|
+
import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
|
|
2
2
|
import { RouterView as Ri } from "vue-router";
|
|
3
3
|
import mt from "vuedraggable";
|
|
4
4
|
const d8 = /* @__PURE__ */ z({
|
|
@@ -119,7 +119,7 @@ const y1 = /* @__PURE__ */ j(h1, [["render", _1]]), b1 = {}, w1 = {
|
|
|
119
119
|
function S1(t, e) {
|
|
120
120
|
return p(), g("svg", w1, k1);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const A1 = /* @__PURE__ */ j(b1, [["render", S1]]), M1 = {}, T1 = {
|
|
123
123
|
width: "24",
|
|
124
124
|
height: "24",
|
|
125
125
|
viewBox: "0 0 24 24",
|
|
@@ -134,7 +134,7 @@ const M1 = /* @__PURE__ */ j(b1, [["render", S1]]), A1 = {}, T1 = {
|
|
|
134
134
|
function I1(t, e) {
|
|
135
135
|
return p(), g("svg", T1, E1);
|
|
136
136
|
}
|
|
137
|
-
const L1 = /* @__PURE__ */ j(
|
|
137
|
+
const L1 = /* @__PURE__ */ j(M1, [["render", I1]]), H1 = {}, D1 = {
|
|
138
138
|
width: "24",
|
|
139
139
|
height: "24",
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
@@ -251,10 +251,10 @@ const bo = /* @__PURE__ */ j(mo, [["render", yo]]), wo = {}, $o = {
|
|
|
251
251
|
}, null, -1), So = [
|
|
252
252
|
ko
|
|
253
253
|
];
|
|
254
|
-
function
|
|
254
|
+
function Ao(t, e) {
|
|
255
255
|
return p(), g("svg", $o, So);
|
|
256
256
|
}
|
|
257
|
-
const
|
|
257
|
+
const Mo = /* @__PURE__ */ j(wo, [["render", Ao]]), To = {}, Oo = {
|
|
258
258
|
width: "24",
|
|
259
259
|
height: "24",
|
|
260
260
|
viewBox: "0 0 24 24",
|
|
@@ -386,10 +386,10 @@ const br = /* @__PURE__ */ j(mr, [["render", yr]]), wr = {}, $r = {
|
|
|
386
386
|
}, null, -1), Sr = [
|
|
387
387
|
kr
|
|
388
388
|
];
|
|
389
|
-
function
|
|
389
|
+
function Ar(t, e) {
|
|
390
390
|
return p(), g("svg", $r, Sr);
|
|
391
391
|
}
|
|
392
|
-
const
|
|
392
|
+
const Mr = /* @__PURE__ */ j(wr, [["render", Ar]]), Tr = {}, Or = {
|
|
393
393
|
width: "24",
|
|
394
394
|
height: "24",
|
|
395
395
|
viewBox: "0 0 24 24",
|
|
@@ -521,10 +521,10 @@ const bl = /* @__PURE__ */ j(ml, [["render", yl]]), wl = {}, $l = {
|
|
|
521
521
|
}, null, -1), Sl = [
|
|
522
522
|
kl
|
|
523
523
|
];
|
|
524
|
-
function
|
|
524
|
+
function Al(t, e) {
|
|
525
525
|
return p(), g("svg", $l, Sl);
|
|
526
526
|
}
|
|
527
|
-
const
|
|
527
|
+
const Ml = /* @__PURE__ */ j(wl, [["render", Al]]), Tl = {}, Ol = {
|
|
528
528
|
width: "24",
|
|
529
529
|
height: "24",
|
|
530
530
|
viewBox: "0 0 24 24",
|
|
@@ -663,14 +663,14 @@ const $u = /* @__PURE__ */ j(gu, [["render", wu]]), ku = {}, Su = {
|
|
|
663
663
|
viewBox: "0 0 24 24",
|
|
664
664
|
fill: "none",
|
|
665
665
|
xmlns: "http://www.w3.org/2000/svg"
|
|
666
|
-
},
|
|
666
|
+
}, Au = /* @__PURE__ */ v("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), Mu = [
|
|
670
|
+
Au
|
|
671
671
|
];
|
|
672
672
|
function Tu(t, e) {
|
|
673
|
-
return p(), g("svg", Su,
|
|
673
|
+
return p(), g("svg", Su, Mu);
|
|
674
674
|
}
|
|
675
675
|
const Ou = /* @__PURE__ */ j(ku, [["render", Tu]]), Eu = {}, Iu = {
|
|
676
676
|
width: "24",
|
|
@@ -798,14 +798,14 @@ const $c = /* @__PURE__ */ j(gc, [["render", wc]]), kc = {}, Sc = {
|
|
|
798
798
|
viewBox: "0 0 24 24",
|
|
799
799
|
fill: "none",
|
|
800
800
|
xmlns: "http://www.w3.org/2000/svg"
|
|
801
|
-
},
|
|
801
|
+
}, Ac = /* @__PURE__ */ v("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), Mc = [
|
|
805
|
+
Ac
|
|
806
806
|
];
|
|
807
807
|
function Tc(t, e) {
|
|
808
|
-
return p(), g("svg", Sc,
|
|
808
|
+
return p(), g("svg", Sc, Mc);
|
|
809
809
|
}
|
|
810
810
|
const Oc = /* @__PURE__ */ j(kc, [["render", Tc]]), Ec = {}, Ic = {
|
|
811
811
|
width: "24",
|
|
@@ -930,14 +930,14 @@ const $d = /* @__PURE__ */ j(gd, [["render", wd]]), kd = {}, Sd = {
|
|
|
930
930
|
viewBox: "0 0 24 24",
|
|
931
931
|
fill: "none",
|
|
932
932
|
xmlns: "http://www.w3.org/2000/svg"
|
|
933
|
-
},
|
|
933
|
+
}, Ad = /* @__PURE__ */ v("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), Md = [
|
|
937
|
+
Ad
|
|
938
938
|
];
|
|
939
939
|
function Td(t, e) {
|
|
940
|
-
return p(), g("svg", Sd,
|
|
940
|
+
return p(), g("svg", Sd, Md);
|
|
941
941
|
}
|
|
942
942
|
const Od = /* @__PURE__ */ j(kd, [["render", Td]]), Ed = {}, Id = {
|
|
943
943
|
width: "24",
|
|
@@ -1067,7 +1067,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1067
1067
|
AccountTreeRounded: l1,
|
|
1068
1068
|
Add: v1,
|
|
1069
1069
|
AddBoxOutlineRounded: y1,
|
|
1070
|
-
ArchiveOutlineRounded:
|
|
1070
|
+
ArchiveOutlineRounded: A1,
|
|
1071
1071
|
ArrowBackRounded: L1,
|
|
1072
1072
|
ArrowDropDownRounded: R1,
|
|
1073
1073
|
ArrowForwardRounded: W1,
|
|
@@ -1076,7 +1076,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1076
1076
|
CalendarTodayOutlineRounded: lo,
|
|
1077
1077
|
CancelRounded: ho,
|
|
1078
1078
|
ChatOutline: bo,
|
|
1079
|
-
CheckBoxOutlineBlank:
|
|
1079
|
+
CheckBoxOutlineBlank: Mo,
|
|
1080
1080
|
CheckBoxOutlineBlankSharp: Ho,
|
|
1081
1081
|
CheckBoxOutlineRounded: No,
|
|
1082
1082
|
CheckSmallRounded: qo,
|
|
@@ -1085,7 +1085,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1085
1085
|
ChevronRight: ur,
|
|
1086
1086
|
CloseRounded: hr,
|
|
1087
1087
|
ContactsOutlineRounded: br,
|
|
1088
|
-
ContentCopyOutline:
|
|
1088
|
+
ContentCopyOutline: Mr,
|
|
1089
1089
|
DeleteOutlineRounded: Hr,
|
|
1090
1090
|
DragIndicator: Nr,
|
|
1091
1091
|
EditDocumentRounded: qr,
|
|
@@ -1094,7 +1094,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1094
1094
|
FilterListRounded: ul,
|
|
1095
1095
|
FlagRounded: hl,
|
|
1096
1096
|
FlowsheetOutlineRounded: bl,
|
|
1097
|
-
GifBox:
|
|
1097
|
+
GifBox: Ml,
|
|
1098
1098
|
GroupsOutline: Hl,
|
|
1099
1099
|
HomeOutlineRounded: Nl,
|
|
1100
1100
|
ImageRounded: ql,
|
|
@@ -1143,14 +1143,14 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
|
|
|
1143
1143
|
PRIMARY: "primary",
|
|
1144
1144
|
NEUTRAL: "neutral",
|
|
1145
1145
|
BLACK: "black"
|
|
1146
|
-
},
|
|
1146
|
+
}, A2 = {
|
|
1147
1147
|
WARNING: "warning",
|
|
1148
1148
|
SUCCESS: "success",
|
|
1149
1149
|
DANGER: "danger"
|
|
1150
1150
|
};
|
|
1151
1151
|
({
|
|
1152
1152
|
...Sn,
|
|
1153
|
-
...
|
|
1153
|
+
...A2
|
|
1154
1154
|
});
|
|
1155
1155
|
const Os = {
|
|
1156
1156
|
ROUND: "round",
|
|
@@ -1168,7 +1168,7 @@ const Os = {
|
|
|
1168
1168
|
}, null, 8, ["class"]));
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
1171
|
-
const
|
|
1171
|
+
const M2 = ["type"], T2 = {
|
|
1172
1172
|
key: 0,
|
|
1173
1173
|
class: "ao-button__label"
|
|
1174
1174
|
}, ce = /* @__PURE__ */ z({
|
|
@@ -1209,7 +1209,7 @@ const A2 = ["type"], T2 = {
|
|
|
1209
1209
|
class: "ao-button__icon",
|
|
1210
1210
|
size: a.value
|
|
1211
1211
|
}, null, 8, ["name", "size"])) : T("", !0)
|
|
1212
|
-
], 10,
|
|
1212
|
+
], 10, M2));
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
1215
|
function Es(t) {
|
|
@@ -1346,21 +1346,21 @@ const O2 = {
|
|
|
1346
1346
|
}, {
|
|
1347
1347
|
default: W(() => [
|
|
1348
1348
|
n.isDraggable ? (p(), g("div", O2, [
|
|
1349
|
-
|
|
1349
|
+
A(pe, {
|
|
1350
1350
|
name: "DragIndicator",
|
|
1351
1351
|
class: "ao-card-horiz__drag-handle"
|
|
1352
1352
|
})
|
|
1353
1353
|
])) : T("", !0),
|
|
1354
1354
|
v("div", E2, [
|
|
1355
1355
|
n.icon ? (p(), g("div", I2, [
|
|
1356
|
-
|
|
1356
|
+
A(pe, {
|
|
1357
1357
|
class: "ao-card-horiz__icon",
|
|
1358
1358
|
name: n.icon,
|
|
1359
1359
|
size: "xl"
|
|
1360
1360
|
}, null, 8, ["name"])
|
|
1361
1361
|
])) : T("", !0),
|
|
1362
1362
|
v("div", L2, [
|
|
1363
|
-
|
|
1363
|
+
A(ye, {
|
|
1364
1364
|
id: n.id,
|
|
1365
1365
|
class: "ao-card-horiz__title",
|
|
1366
1366
|
level: 4,
|
|
@@ -1390,7 +1390,7 @@ const O2 = {
|
|
|
1390
1390
|
}, 8, ["class"]));
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
|
-
const
|
|
1393
|
+
const An = /* @__PURE__ */ z({
|
|
1394
1394
|
__name: "AoTag",
|
|
1395
1395
|
props: {
|
|
1396
1396
|
label: {},
|
|
@@ -1428,7 +1428,7 @@ const Mn = /* @__PURE__ */ z({
|
|
|
1428
1428
|
class: "ao-tag__close",
|
|
1429
1429
|
onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
|
|
1430
1430
|
}, [
|
|
1431
|
-
|
|
1431
|
+
A(pe, {
|
|
1432
1432
|
name: "CloseRounded",
|
|
1433
1433
|
size: "sm",
|
|
1434
1434
|
class: "ao-tag__close-icon"
|
|
@@ -2470,12 +2470,12 @@ var $0 = {
|
|
|
2470
2470
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
2471
2471
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
2472
2472
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
2473
|
-
},
|
|
2473
|
+
}, A0 = {
|
|
2474
2474
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
2475
2475
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
2476
2476
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
2477
2477
|
wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
2478
|
-
},
|
|
2478
|
+
}, M0 = {
|
|
2479
2479
|
narrow: {
|
|
2480
2480
|
am: "a",
|
|
2481
2481
|
pm: "p",
|
|
@@ -2567,11 +2567,11 @@ var $0 = {
|
|
|
2567
2567
|
defaultWidth: "wide"
|
|
2568
2568
|
}),
|
|
2569
2569
|
day: Jt({
|
|
2570
|
-
values:
|
|
2570
|
+
values: A0,
|
|
2571
2571
|
defaultWidth: "wide"
|
|
2572
2572
|
}),
|
|
2573
2573
|
dayPeriod: Jt({
|
|
2574
|
-
values:
|
|
2574
|
+
values: M0,
|
|
2575
2575
|
defaultWidth: "wide",
|
|
2576
2576
|
formattingValues: T0,
|
|
2577
2577
|
defaultFormattingWidth: "wide"
|
|
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
|
|
|
2745
2745
|
}, ie = L.match(X0).map(function(E) {
|
|
2746
2746
|
var N = E[0];
|
|
2747
2747
|
if (N === "p" || N === "P") {
|
|
2748
|
-
var
|
|
2749
|
-
return
|
|
2748
|
+
var M = r0[N];
|
|
2749
|
+
return M(E, F.formatLong);
|
|
2750
2750
|
}
|
|
2751
2751
|
return E;
|
|
2752
2752
|
}).join("").match(G0).map(function(E) {
|
|
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
|
|
|
2755
2755
|
var N = E[0];
|
|
2756
2756
|
if (N === "'")
|
|
2757
2757
|
return t3(E);
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)),
|
|
2758
|
+
var M = s0[N];
|
|
2759
|
+
if (M)
|
|
2760
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), M(R, E, F.localize, Z);
|
|
2761
2761
|
if (N.match(e3))
|
|
2762
2762
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
|
|
2763
2763
|
return E;
|
|
@@ -2819,17 +2819,17 @@ function la(t, e) {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
return new Date(r + l + c);
|
|
2821
2821
|
}
|
|
2822
|
-
var
|
|
2822
|
+
var Aa = {
|
|
2823
2823
|
dateTimeDelimiter: /[T ]/,
|
|
2824
2824
|
timeZoneDelimiter: /[Z ]/i,
|
|
2825
2825
|
timezone: /([Z+-].*)$/
|
|
2826
2826
|
}, n3 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, s3 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, i3 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
2827
2827
|
function o3(t) {
|
|
2828
|
-
var e = {}, a = t.split(
|
|
2828
|
+
var e = {}, a = t.split(Aa.dateTimeDelimiter), n;
|
|
2829
2829
|
if (a.length > 2)
|
|
2830
2830
|
return e;
|
|
2831
|
-
if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1],
|
|
2832
|
-
var s =
|
|
2831
|
+
if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1], Aa.timeZoneDelimiter.test(e.date) && (e.date = t.split(Aa.timeZoneDelimiter)[0], n = t.substr(e.date.length, t.length))), n) {
|
|
2832
|
+
var s = Aa.timezone.exec(n);
|
|
2833
2833
|
s ? (e.time = n.replace(s[1], ""), e.timezone = s[1]) : e.time = n;
|
|
2834
2834
|
}
|
|
2835
2835
|
return e;
|
|
@@ -2946,7 +2946,7 @@ class _3 {
|
|
|
2946
2946
|
ma.default = _3;
|
|
2947
2947
|
Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
2948
2948
|
Yt.LexoInteger = void 0;
|
|
2949
|
-
const
|
|
2949
|
+
const Ma = qa, y3 = ma;
|
|
2950
2950
|
class se {
|
|
2951
2951
|
constructor(e, a, n) {
|
|
2952
2952
|
this.sys = e, this.sign = a, this.mag = n;
|
|
@@ -2975,7 +2975,7 @@ class se {
|
|
|
2975
2975
|
if (s === n.length)
|
|
2976
2976
|
return new se(e, a, n);
|
|
2977
2977
|
const o = new Array(s).fill(0);
|
|
2978
|
-
return
|
|
2978
|
+
return Ma.lexoHelper.arrayCopy(n, 0, o, 0, s), new se(e, a, o);
|
|
2979
2979
|
}
|
|
2980
2980
|
static add(e, a, n) {
|
|
2981
2981
|
const s = Math.max(a.length, n.length), o = new Array(s).fill(0);
|
|
@@ -2992,7 +2992,7 @@ class se {
|
|
|
2992
2992
|
static extendWithCarry(e, a) {
|
|
2993
2993
|
if (a > 0) {
|
|
2994
2994
|
const n = new Array(e.length + 1).fill(0);
|
|
2995
|
-
return
|
|
2995
|
+
return Ma.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = a, n;
|
|
2996
2996
|
}
|
|
2997
2997
|
return e;
|
|
2998
2998
|
}
|
|
@@ -3076,13 +3076,13 @@ class se {
|
|
|
3076
3076
|
if (e < 0)
|
|
3077
3077
|
return this.shiftRight(Math.abs(e));
|
|
3078
3078
|
const a = new Array(this.mag.length + e).fill(0);
|
|
3079
|
-
return
|
|
3079
|
+
return Ma.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), se.make(this.sys, this.sign, a);
|
|
3080
3080
|
}
|
|
3081
3081
|
shiftRight(e = 1) {
|
|
3082
3082
|
if (this.mag.length - e <= 0)
|
|
3083
3083
|
return se.zero(this.sys);
|
|
3084
3084
|
const a = new Array(this.mag.length - e).fill(0);
|
|
3085
|
-
return
|
|
3085
|
+
return Ma.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), se.make(this.sys, this.sign, a);
|
|
3086
3086
|
}
|
|
3087
3087
|
complement() {
|
|
3088
3088
|
return this.complementDigits(this.mag.length);
|
|
@@ -3311,7 +3311,7 @@ function Us() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
return Ta.default = a, Ta;
|
|
3313
3313
|
}
|
|
3314
|
-
var
|
|
3314
|
+
var Mn = {}, Zs = {};
|
|
3315
3315
|
Object.defineProperty(Zs, "__esModule", { value: !0 });
|
|
3316
3316
|
var za = {};
|
|
3317
3317
|
Object.defineProperty(za, "__esModule", { value: !0 });
|
|
@@ -3421,13 +3421,13 @@ Ya.LexoNumeralSystem64 = k3;
|
|
|
3421
3421
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3422
3422
|
};
|
|
3423
3423
|
Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(za, t), a(xa, t), a(Ya, t);
|
|
3424
|
-
})(
|
|
3424
|
+
})(Mn);
|
|
3425
3425
|
var fs;
|
|
3426
3426
|
function Ws() {
|
|
3427
3427
|
if (fs)
|
|
3428
3428
|
return aa;
|
|
3429
3429
|
fs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
|
|
3430
|
-
const t = ha, e = Us(), a = ma, n =
|
|
3430
|
+
const t = ha, e = Us(), a = ma, n = Mn;
|
|
3431
3431
|
class s {
|
|
3432
3432
|
constructor(i, r) {
|
|
3433
3433
|
this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
|
|
@@ -3628,7 +3628,7 @@ function Ws() {
|
|
|
3628
3628
|
for (var o in n)
|
|
3629
3629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
|
|
3630
3630
|
};
|
|
3631
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(
|
|
3631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), a(Fs, t), a(Mn, t);
|
|
3632
3632
|
})(Ie);
|
|
3633
3633
|
function qs(t) {
|
|
3634
3634
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
@@ -3642,14 +3642,14 @@ function S3(t) {
|
|
|
3642
3642
|
return e + (((n = a.milestones) == null ? void 0 : n.length) ?? 0);
|
|
3643
3643
|
}, 0)) ?? 0;
|
|
3644
3644
|
}
|
|
3645
|
-
function
|
|
3645
|
+
function A3(t) {
|
|
3646
3646
|
return (t == null ? void 0 : t.reduce((e, a) => {
|
|
3647
3647
|
var s;
|
|
3648
3648
|
const n = (s = a.milestones) != null && s.length ? qs(a.milestones) : 0;
|
|
3649
3649
|
return e + n;
|
|
3650
3650
|
}, 0)) ?? 0;
|
|
3651
3651
|
}
|
|
3652
|
-
function
|
|
3652
|
+
function M3(t) {
|
|
3653
3653
|
return t.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
|
|
3654
3654
|
}
|
|
3655
3655
|
function Ca(t, e) {
|
|
@@ -3709,7 +3709,7 @@ const zs = (t) => {
|
|
|
3709
3709
|
const a = t, n = S(() => [
|
|
3710
3710
|
`ao-avatar--${a.color}`,
|
|
3711
3711
|
...a.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${a.size}`] : ["ao-avatar", `ao-avatar--${a.size}`]
|
|
3712
|
-
]), s =
|
|
3712
|
+
]), s = M3(a.userName), o = (i) => {
|
|
3713
3713
|
e("close", i);
|
|
3714
3714
|
};
|
|
3715
3715
|
return (i, r) => (p(), g("div", {
|
|
@@ -3768,14 +3768,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3768
3768
|
subtitle: W(() => [
|
|
3769
3769
|
v("ul", H3, [
|
|
3770
3770
|
v("li", D3, [
|
|
3771
|
-
|
|
3771
|
+
A(pe, {
|
|
3772
3772
|
name: "MountainFlagOutlineRounded",
|
|
3773
3773
|
size: "sm"
|
|
3774
3774
|
}),
|
|
3775
3775
|
v("span", P3, G(n.milestones), 1)
|
|
3776
3776
|
]),
|
|
3777
3777
|
v("li", V3, [
|
|
3778
|
-
|
|
3778
|
+
A(pe, {
|
|
3779
3779
|
name: "TaskOutlineRounded",
|
|
3780
3780
|
size: "sm"
|
|
3781
3781
|
}),
|
|
@@ -3787,14 +3787,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3787
3787
|
v("div", R3, [
|
|
3788
3788
|
v("div", N3, [
|
|
3789
3789
|
v("div", j3, [
|
|
3790
|
-
|
|
3790
|
+
A(pe, {
|
|
3791
3791
|
name: "WaterfallChartRounded",
|
|
3792
3792
|
size: "sm"
|
|
3793
3793
|
}),
|
|
3794
3794
|
v("span", F3, G(n.$t("template.phases.title")), 1)
|
|
3795
3795
|
]),
|
|
3796
3796
|
n.phases ? (p(), g("ul", U3, [
|
|
3797
|
-
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(
|
|
3797
|
+
(p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(An, {
|
|
3798
3798
|
key: o.id,
|
|
3799
3799
|
label: o.name || o.id,
|
|
3800
3800
|
color: "primary",
|
|
@@ -3823,7 +3823,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
|
|
|
3823
3823
|
v("span", G3, G(n.$t("template.updatedBy.label")), 1)
|
|
3824
3824
|
]),
|
|
3825
3825
|
v("div", X3, [
|
|
3826
|
-
|
|
3826
|
+
A(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
|
|
3827
3827
|
])
|
|
3828
3828
|
])) : T("", !0)
|
|
3829
3829
|
])
|
|
@@ -3925,7 +3925,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3925
3925
|
v("ul", s5, [
|
|
3926
3926
|
(p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
|
|
3927
3927
|
i.$props[l] ? (p(), g("li", i5, [
|
|
3928
|
-
|
|
3928
|
+
A(pe, {
|
|
3929
3929
|
name: s[l],
|
|
3930
3930
|
size: "sm"
|
|
3931
3931
|
}, null, 8, ["name"]),
|
|
@@ -3936,7 +3936,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
|
|
|
3936
3936
|
]),
|
|
3937
3937
|
secondary: W(() => [
|
|
3938
3938
|
v("div", r5, [
|
|
3939
|
-
|
|
3939
|
+
A(ce, {
|
|
3940
3940
|
"icon-name": "DeleteOutlineRounded",
|
|
3941
3941
|
variant: "ghost",
|
|
3942
3942
|
size: "md",
|
|
@@ -4024,7 +4024,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4024
4024
|
onChange: i
|
|
4025
4025
|
}, {
|
|
4026
4026
|
header: W(() => [
|
|
4027
|
-
|
|
4027
|
+
A(ye, {
|
|
4028
4028
|
title: "Milestones",
|
|
4029
4029
|
level: 3,
|
|
4030
4030
|
class: "ao-list__title"
|
|
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4049
4049
|
]),
|
|
4050
4050
|
footer: W(() => [
|
|
4051
4051
|
v("div", c5, [
|
|
4052
|
-
|
|
4052
|
+
A(Ct, {
|
|
4053
4053
|
"icon-name": "AddBoxOutlineRounded",
|
|
4054
4054
|
label: r.$t("template.milestones.add"),
|
|
4055
4055
|
onClick: n
|
|
@@ -4114,7 +4114,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4114
4114
|
onChange: i
|
|
4115
4115
|
}, {
|
|
4116
4116
|
header: W(() => [
|
|
4117
|
-
|
|
4117
|
+
A(ye, {
|
|
4118
4118
|
title: "Activities",
|
|
4119
4119
|
level: 3,
|
|
4120
4120
|
class: "ao-list__title"
|
|
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4135
4135
|
]),
|
|
4136
4136
|
footer: W(() => [
|
|
4137
4137
|
v("div", f5, [
|
|
4138
|
-
|
|
4138
|
+
A(Ct, {
|
|
4139
4139
|
"icon-name": "AddBoxOutlineRounded",
|
|
4140
4140
|
label: r.$t("template.activities.add"),
|
|
4141
4141
|
onClick: n
|
|
@@ -4168,7 +4168,7 @@ const l5 = /* @__PURE__ */ z({
|
|
|
4168
4168
|
v("div", h5, [
|
|
4169
4169
|
e.$slots.header ? (p(), g("div", m5, [
|
|
4170
4170
|
v("div", C5, [
|
|
4171
|
-
|
|
4171
|
+
A(ce, {
|
|
4172
4172
|
"icon-name": "CloseRounded",
|
|
4173
4173
|
variant: "ghost",
|
|
4174
4174
|
color: "primary",
|
|
@@ -4235,7 +4235,7 @@ function S5(t) {
|
|
|
4235
4235
|
function gn(t) {
|
|
4236
4236
|
return t.replace(/start|end/g, (e) => w5[e]);
|
|
4237
4237
|
}
|
|
4238
|
-
function
|
|
4238
|
+
function A5(t, e, a) {
|
|
4239
4239
|
const n = ["left", "right"], s = ["right", "left"], o = ["top", "bottom"], i = ["bottom", "top"];
|
|
4240
4240
|
switch (t) {
|
|
4241
4241
|
case "top":
|
|
@@ -4248,9 +4248,9 @@ function M5(t, e, a) {
|
|
|
4248
4248
|
return [];
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
|
-
function
|
|
4251
|
+
function M5(t, e, a, n) {
|
|
4252
4252
|
const s = Ga(t);
|
|
4253
|
-
let o =
|
|
4253
|
+
let o = A5(Ft(t), a === "start", n);
|
|
4254
4254
|
return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(gn)))), o;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ba(t) {
|
|
@@ -4462,7 +4462,7 @@ const I5 = function(t) {
|
|
|
4462
4462
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4463
4463
|
return {};
|
|
4464
4464
|
const k = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : S5(r));
|
|
4465
|
-
!d && w !== "none" && D.push(...
|
|
4465
|
+
!d && w !== "none" && D.push(...M5(r, b, w, C));
|
|
4466
4466
|
const L = [r, ...D], H = await Ks(e, y), F = [];
|
|
4467
4467
|
let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4468
4468
|
if (u && F.push(H[k]), f) {
|
|
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
|
|
|
4490
4490
|
switch (h) {
|
|
4491
4491
|
case "bestFit": {
|
|
4492
4492
|
var x;
|
|
4493
|
-
const E = (x = U.map((N) => [N.placement, N.overflows.filter((
|
|
4493
|
+
const E = (x = U.map((N) => [N.placement, N.overflows.filter((M) => M > 0).reduce((M, m) => M + m, 0)]).sort((N, M) => N[1] - M[1])[0]) == null ? void 0 : x[0];
|
|
4494
4494
|
E && (ie = E);
|
|
4495
4495
|
break;
|
|
4496
4496
|
}
|
|
@@ -5050,7 +5050,7 @@ function je(t) {
|
|
|
5050
5050
|
return [null, void 0].indexOf(t) !== -1;
|
|
5051
5051
|
}
|
|
5052
5052
|
function J5(t, e, a) {
|
|
5053
|
-
const { object: n, valueProp: s, mode: o } =
|
|
5053
|
+
const { object: n, valueProp: s, mode: o } = Ae(t), i = Mt().proxy, r = a.iv, l = (f, d = !0) => {
|
|
5054
5054
|
r.value = u(f);
|
|
5055
5055
|
const h = c(f);
|
|
5056
5056
|
e.emit("change", h, i), d && (e.emit("input", h), e.emit("update:modelValue", h));
|
|
@@ -5060,7 +5060,7 @@ function J5(t, e, a) {
|
|
|
5060
5060
|
};
|
|
5061
5061
|
}
|
|
5062
5062
|
function e7(t, e) {
|
|
5063
|
-
const { value: a, modelValue: n, mode: s, valueProp: o } =
|
|
5063
|
+
const { value: a, modelValue: n, mode: s, valueProp: o } = Ae(t), i = ee(s.value !== "single" ? [] : {}), r = S(() => n && n.value !== void 0 ? n.value : a.value), l = S(() => s.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = S(() => s.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
|
|
5064
5064
|
return {
|
|
5065
5065
|
iv: i,
|
|
5066
5066
|
internalValue: i,
|
|
@@ -5071,7 +5071,7 @@ function e7(t, e) {
|
|
|
5071
5071
|
};
|
|
5072
5072
|
}
|
|
5073
5073
|
function t7(t, e, a) {
|
|
5074
|
-
const { regex: n } =
|
|
5074
|
+
const { regex: n } = Ae(t), s = Mt().proxy, o = a.isOpen, i = a.open, r = ee(null), l = () => {
|
|
5075
5075
|
r.value = "";
|
|
5076
5076
|
}, c = (d) => {
|
|
5077
5077
|
r.value = d.target.value;
|
|
@@ -5099,7 +5099,7 @@ function t7(t, e, a) {
|
|
|
5099
5099
|
};
|
|
5100
5100
|
}
|
|
5101
5101
|
function a7(t, e, a) {
|
|
5102
|
-
const { groupSelect: n, mode: s, groups: o, disabledProp: i } =
|
|
5102
|
+
const { groupSelect: n, mode: s, groups: o, disabledProp: i } = Ae(t), r = ee(null), l = (u) => {
|
|
5103
5103
|
u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (s.value === "single" || !n.value) || (r.value = u);
|
|
5104
5104
|
};
|
|
5105
5105
|
return {
|
|
@@ -5154,19 +5154,19 @@ function i7(t, e, a) {
|
|
|
5154
5154
|
groups: ie,
|
|
5155
5155
|
reverse: E,
|
|
5156
5156
|
infinite: N,
|
|
5157
|
-
groupOptions:
|
|
5157
|
+
groupOptions: M,
|
|
5158
5158
|
groupHideEmpty: m,
|
|
5159
5159
|
groupSelect: I,
|
|
5160
5160
|
onCreate: J,
|
|
5161
5161
|
disabledProp: ae,
|
|
5162
5162
|
searchStart: le,
|
|
5163
5163
|
searchFilter: ne
|
|
5164
|
-
} =
|
|
5164
|
+
} = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, an = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
|
|
5165
5165
|
if (ie.value) {
|
|
5166
5166
|
let $ = _t.value || /* istanbul ignore next */
|
|
5167
5167
|
[], B = [];
|
|
5168
5168
|
return $.forEach((oe) => {
|
|
5169
|
-
cn(oe[
|
|
5169
|
+
cn(oe[M.value]).forEach((me) => {
|
|
5170
5170
|
B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}), B;
|
|
@@ -5188,28 +5188,28 @@ function i7(t, e, a) {
|
|
|
5188
5188
|
[];
|
|
5189
5189
|
return it.value.length && $.push({
|
|
5190
5190
|
[U.value]: " ",
|
|
5191
|
-
[
|
|
5191
|
+
[M.value]: [...it.value],
|
|
5192
5192
|
__CREATE__: !0
|
|
5193
5193
|
}), $.concat(B);
|
|
5194
5194
|
}), wa = S(() => {
|
|
5195
5195
|
let $ = [..._t.value].map((B) => ({ ...B }));
|
|
5196
|
-
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][
|
|
5196
|
+
return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][M.value] = [...Ot.value, ...$[0][M.value]] : $ = [{
|
|
5197
5197
|
[U.value]: " ",
|
|
5198
|
-
[
|
|
5198
|
+
[M.value]: [...Ot.value],
|
|
5199
5199
|
__CREATE__: !0
|
|
5200
5200
|
}].concat($)), $;
|
|
5201
5201
|
}), nn = S(() => {
|
|
5202
5202
|
if (!ie.value)
|
|
5203
5203
|
return [];
|
|
5204
5204
|
let $ = wa.value;
|
|
5205
|
-
return
|
|
5205
|
+
return Ai(($ || /* istanbul ignore next */
|
|
5206
5206
|
[]).map((B, oe) => {
|
|
5207
|
-
const me = cn(B[
|
|
5207
|
+
const me = cn(B[M.value]);
|
|
5208
5208
|
return {
|
|
5209
5209
|
...B,
|
|
5210
5210
|
index: oe,
|
|
5211
5211
|
group: !0,
|
|
5212
|
-
[
|
|
5212
|
+
[M.value]: un(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
|
|
5213
5213
|
__VISIBLE__: un(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
|
|
5214
5214
|
};
|
|
5215
5215
|
}));
|
|
@@ -5221,7 +5221,7 @@ function i7(t, e, a) {
|
|
|
5221
5221
|
case "tags":
|
|
5222
5222
|
return !je(Y.value) && Y.value.length > 0;
|
|
5223
5223
|
}
|
|
5224
|
-
}), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(Y.value, re) : Y.value && Y.value.length > 1 ? `${Y.value.length} options selected` : "1 option selected"), fi = S(() => !Te.value.length && !
|
|
5224
|
+
}), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(Y.value, re) : Y.value && Y.value.length > 1 ? `${Y.value.length} options selected` : "1 option selected"), fi = S(() => !Te.value.length && !Me.value && !Ot.value.length), vi = S(() => Te.value.length > 0 && ot.value.length == 0 && (X.value && ie.value || !ie.value)), Ot = S(() => Xt.value === !1 || !X.value ? [] : $i(X.value) !== -1 ? [] : [{
|
|
5225
5225
|
[H.value]: X.value,
|
|
5226
5226
|
[yt.value[0]]: X.value,
|
|
5227
5227
|
[u.value]: X.value,
|
|
@@ -5234,7 +5234,7 @@ function i7(t, e, a) {
|
|
|
5234
5234
|
case "tags":
|
|
5235
5235
|
return [];
|
|
5236
5236
|
}
|
|
5237
|
-
}), mi = S(() => b.value ||
|
|
5237
|
+
}), mi = S(() => b.value || Me.value), Et = ($) => {
|
|
5238
5238
|
switch (typeof $ != "object" && ($ = xe($)), s.value) {
|
|
5239
5239
|
case "single":
|
|
5240
5240
|
we($);
|
|
@@ -5268,7 +5268,7 @@ function i7(t, e, a) {
|
|
|
5268
5268
|
we(hi.value), e.emit("clear", re);
|
|
5269
5269
|
}, ze = ($) => {
|
|
5270
5270
|
if ($.group !== void 0)
|
|
5271
|
-
return s.value === "single" ? !1 : wi($[
|
|
5271
|
+
return s.value === "single" ? !1 : wi($[M.value]) && $[M.value].length;
|
|
5272
5272
|
switch (s.value) {
|
|
5273
5273
|
case "single":
|
|
5274
5274
|
return !je(Y.value) && Y.value[H.value] == $[H.value];
|
|
@@ -5279,8 +5279,8 @@ function i7(t, e, a) {
|
|
|
5279
5279
|
}, on = ($) => $[ae.value] === !0, rn = () => O === void 0 || O.value === -1 || !sn.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
|
|
5280
5280
|
if (!on($)) {
|
|
5281
5281
|
if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
|
|
5282
|
-
|
|
5283
|
-
|
|
5282
|
+
Me.value = !0, $.then((B) => {
|
|
5283
|
+
Me.value = !1, ns(B);
|
|
5284
5284
|
});
|
|
5285
5285
|
return;
|
|
5286
5286
|
}
|
|
@@ -5324,8 +5324,8 @@ function i7(t, e, a) {
|
|
|
5324
5324
|
switch (s.value) {
|
|
5325
5325
|
case "multiple":
|
|
5326
5326
|
case "tags":
|
|
5327
|
-
bi($[
|
|
5328
|
-
$[
|
|
5327
|
+
bi($[M.value]) ? It($[M.value]) : Et(
|
|
5328
|
+
$[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
|
|
5329
5329
|
), r.value && Kt.value && Gt(nn.value.filter((B) => !B[ae.value])[Kt.value.index]);
|
|
5330
5330
|
break;
|
|
5331
5331
|
}
|
|
@@ -5337,8 +5337,8 @@ function i7(t, e, a) {
|
|
|
5337
5337
|
s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
|
|
5338
5338
|
}, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
|
|
5339
5339
|
it.value.push($);
|
|
5340
|
-
},
|
|
5341
|
-
(B) => X.value ? B.__VISIBLE__.length : B[
|
|
5340
|
+
}, Ai = ($) => m.value ? $.filter(
|
|
5341
|
+
(B) => X.value ? B.__VISIBLE__.length : B[M.value].length
|
|
5342
5342
|
) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), un = ($, B = !0) => {
|
|
5343
5343
|
let oe = $;
|
|
5344
5344
|
if (X.value && C.value) {
|
|
@@ -5357,11 +5357,11 @@ function i7(t, e, a) {
|
|
|
5357
5357
|
})), B = B.map((oe) => typeof oe == "object" ? oe : { [H.value]: oe, [yt.value[0]]: oe, [u.value]: oe }), B;
|
|
5358
5358
|
}, $a = () => {
|
|
5359
5359
|
je(V.value) || (Y.value = Sa(V.value));
|
|
5360
|
-
}, ka = ($) => (
|
|
5360
|
+
}, ka = ($) => (Me.value = !0, new Promise((B, oe) => {
|
|
5361
5361
|
n.value(X.value, re).then((me) => {
|
|
5362
|
-
Ne.value = me || [], typeof $ == "function" && $(me),
|
|
5362
|
+
Ne.value = me || [], typeof $ == "function" && $(me), Me.value = !1;
|
|
5363
5363
|
}).catch((me) => {
|
|
5364
|
-
console.error(me), Ne.value = [],
|
|
5364
|
+
console.error(me), Ne.value = [], Me.value = !1;
|
|
5365
5365
|
}).finally(() => {
|
|
5366
5366
|
B();
|
|
5367
5367
|
});
|
|
@@ -5381,7 +5381,7 @@ function i7(t, e, a) {
|
|
|
5381
5381
|
Y.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
|
|
5382
5382
|
}
|
|
5383
5383
|
});
|
|
5384
|
-
},
|
|
5384
|
+
}, Mi = ($) => {
|
|
5385
5385
|
ka($);
|
|
5386
5386
|
}, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
|
|
5387
5387
|
[u.value]: $,
|
|
@@ -5393,9 +5393,9 @@ function i7(t, e, a) {
|
|
|
5393
5393
|
[yt.value[0]]: B
|
|
5394
5394
|
}), ss = () => {
|
|
5395
5395
|
Be.value = de(X, ($) => {
|
|
5396
|
-
$.length < _.value || !$ && _.value !== 0 || (
|
|
5396
|
+
$.length < _.value || !$ && _.value !== 0 || (Me.value = !0, D.value && (Ne.value = []), setTimeout(() => {
|
|
5397
5397
|
$ == X.value && n.value(X.value, re).then((B) => {
|
|
5398
|
-
($ == X.value || !X.value) && (Ne.value = B, Kt.value = ot.value.filter((oe) => oe[ae.value] !== !0)[0] || null,
|
|
5398
|
+
($ == X.value || !X.value) && (Ne.value = B, Kt.value = ot.value.filter((oe) => oe[ae.value] !== !0)[0] || null, Me.value = !1);
|
|
5399
5399
|
}).catch(
|
|
5400
5400
|
/* istanbul ignore next */
|
|
5401
5401
|
(B) => {
|
|
@@ -5441,7 +5441,7 @@ function i7(t, e, a) {
|
|
|
5441
5441
|
filteredGroups: nn,
|
|
5442
5442
|
noOptions: fi,
|
|
5443
5443
|
noResults: vi,
|
|
5444
|
-
resolving:
|
|
5444
|
+
resolving: Me,
|
|
5445
5445
|
busy: mi,
|
|
5446
5446
|
offset: qe,
|
|
5447
5447
|
select: Et,
|
|
@@ -5456,7 +5456,7 @@ function i7(t, e, a) {
|
|
|
5456
5456
|
handleOptionClick: gi,
|
|
5457
5457
|
handleGroupClick: _i,
|
|
5458
5458
|
handleTagRemove: Ci,
|
|
5459
|
-
refreshOptions:
|
|
5459
|
+
refreshOptions: Mi,
|
|
5460
5460
|
resolveOptions: ka,
|
|
5461
5461
|
refreshLabels: dn
|
|
5462
5462
|
};
|
|
@@ -5472,7 +5472,7 @@ function o7(t, e, a) {
|
|
|
5472
5472
|
groupSelect: c,
|
|
5473
5473
|
disabledProp: u,
|
|
5474
5474
|
groupOptions: f
|
|
5475
|
-
} =
|
|
5475
|
+
} = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, y = a.search, k = a.pointer, _ = a.setPointer, C = a.clearPointer, D = a.multiselect, L = a.isOpen, H = S(() => d.value.filter((V) => !V[u.value])), F = S(() => h.value.filter((V) => !V[u.value])), U = S(() => l.value !== "single" && c.value), q = S(() => k.value && k.value.group), O = S(() => re(k.value)), x = S(() => {
|
|
5476
5476
|
const V = q.value ? k.value : (
|
|
5477
5477
|
/* istanbul ignore next */
|
|
5478
5478
|
re(k.value)
|
|
@@ -5488,7 +5488,7 @@ function o7(t, e, a) {
|
|
|
5488
5488
|
}), N = S(() => {
|
|
5489
5489
|
const V = re(k.value).__VISIBLE__.filter((X) => !X[u.value]);
|
|
5490
5490
|
return V[V.map((X) => X[n.value]).indexOf(k.value[n.value]) + 1];
|
|
5491
|
-
}),
|
|
5491
|
+
}), M = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), I = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
|
|
5492
5492
|
_(H.value[0] || null);
|
|
5493
5493
|
}, ae = () => {
|
|
5494
5494
|
!k.value || k.value[u.value] === !0 || (q.value ? b(k.value) : w(k.value));
|
|
@@ -5511,8 +5511,8 @@ function o7(t, e, a) {
|
|
|
5511
5511
|
let V = H.value[H.value.length - 1];
|
|
5512
5512
|
r.value && U.value && (V = m.value, V === void 0 && (V = Z.value)), _(V || null);
|
|
5513
5513
|
} else if (r.value && U.value) {
|
|
5514
|
-
let V = q.value ?
|
|
5515
|
-
V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V =
|
|
5514
|
+
let V = q.value ? M.value : E.value;
|
|
5515
|
+
V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = M.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
|
|
5516
5516
|
null);
|
|
5517
5517
|
} else {
|
|
5518
5518
|
let V = H.value.map((X) => X[n.value]).indexOf(k.value[n.value]) - 1;
|
|
@@ -5559,7 +5559,7 @@ function Se(t) {
|
|
|
5559
5559
|
}
|
|
5560
5560
|
return t;
|
|
5561
5561
|
}
|
|
5562
|
-
function
|
|
5562
|
+
function At(t) {
|
|
5563
5563
|
var e = Se(t).Element;
|
|
5564
5564
|
return t instanceof e || t instanceof Element;
|
|
5565
5565
|
}
|
|
@@ -5587,7 +5587,7 @@ function Wt(t, e, a) {
|
|
|
5587
5587
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
5588
5588
|
var n = t.getBoundingClientRect(), s = 1, o = 1;
|
|
5589
5589
|
e && Pe(t) && (s = t.offsetWidth > 0 && Zt(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Zt(n.height) / t.offsetHeight || 1);
|
|
5590
|
-
var i =
|
|
5590
|
+
var i = At(t) ? Se(t) : window, r = i.visualViewport, l = !ni() && a, c = (n.left + (l && r ? r.offsetLeft : 0)) / s, u = (n.top + (l && r ? r.offsetTop : 0)) / o, f = n.width / s, d = n.height / o;
|
|
5591
5591
|
return {
|
|
5592
5592
|
width: f,
|
|
5593
5593
|
height: d,
|
|
@@ -5619,7 +5619,7 @@ function Ze(t) {
|
|
|
5619
5619
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5620
5620
|
}
|
|
5621
5621
|
function gt(t) {
|
|
5622
|
-
return ((
|
|
5622
|
+
return ((At(t) ? t.ownerDocument : (
|
|
5623
5623
|
// $FlowFixMe[prop-missing]
|
|
5624
5624
|
t.document
|
|
5625
5625
|
)) || window.document).documentElement;
|
|
@@ -5721,7 +5721,7 @@ var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", tn = [Re,
|
|
|
5721
5721
|
}, []), h7 = /* @__PURE__ */ [].concat(tn, [Fn]).reduce(function(t, e) {
|
|
5722
5722
|
return t.concat([e, e + "-" + qt, e + "-" + da]);
|
|
5723
5723
|
}, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
|
|
5724
|
-
function
|
|
5724
|
+
function A7(t) {
|
|
5725
5725
|
var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), n = [];
|
|
5726
5726
|
t.forEach(function(o) {
|
|
5727
5727
|
e.set(o.name, o);
|
|
@@ -5740,8 +5740,8 @@ function M7(t) {
|
|
|
5740
5740
|
a.has(o.name) || s(o);
|
|
5741
5741
|
}), n;
|
|
5742
5742
|
}
|
|
5743
|
-
function
|
|
5744
|
-
var e =
|
|
5743
|
+
function M7(t) {
|
|
5744
|
+
var e = A7(t);
|
|
5745
5745
|
return S7.reduce(function(a, n) {
|
|
5746
5746
|
return a.concat(e.filter(function(s) {
|
|
5747
5747
|
return s.phase === n;
|
|
@@ -5820,12 +5820,12 @@ function H7(t, e) {
|
|
|
5820
5820
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5821
5821
|
}
|
|
5822
5822
|
function ys(t, e, a) {
|
|
5823
|
-
return e === oi ? yn(E7(t, a)) :
|
|
5823
|
+
return e === oi ? yn(E7(t, a)) : At(e) ? H7(e, a) : yn(I7(gt(t)));
|
|
5824
5824
|
}
|
|
5825
5825
|
function D7(t) {
|
|
5826
5826
|
var e = ia(Ja(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? en(t) : t;
|
|
5827
|
-
return
|
|
5828
|
-
return
|
|
5827
|
+
return At(n) ? e.filter(function(s) {
|
|
5828
|
+
return At(s) && L7(s, n) && Ze(s) !== "body";
|
|
5829
5829
|
}) : [];
|
|
5830
5830
|
}
|
|
5831
5831
|
function P7(t, e, a, n) {
|
|
@@ -5909,7 +5909,7 @@ function B7(t, e) {
|
|
|
5909
5909
|
}
|
|
5910
5910
|
function Un(t, e) {
|
|
5911
5911
|
e === void 0 && (e = {});
|
|
5912
|
-
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, tn)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(
|
|
5912
|
+
var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, tn)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
|
|
5913
5913
|
reference: H,
|
|
5914
5914
|
element: C,
|
|
5915
5915
|
strategy: "absolute",
|
|
@@ -5962,10 +5962,10 @@ function R7(t) {
|
|
|
5962
5962
|
setOptions: function(k) {
|
|
5963
5963
|
var _ = typeof k == "function" ? k(u.options) : k;
|
|
5964
5964
|
b(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
|
|
5965
|
-
reference:
|
|
5965
|
+
reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
|
|
5966
5966
|
popper: ia(l)
|
|
5967
5967
|
};
|
|
5968
|
-
var C =
|
|
5968
|
+
var C = M7(O7([].concat(n, u.options.modifiers)));
|
|
5969
5969
|
return u.orderedModifiers = C.filter(function(D) {
|
|
5970
5970
|
return D.enabled;
|
|
5971
5971
|
}), w(), h.update();
|
|
@@ -6238,14 +6238,14 @@ function ep(t) {
|
|
|
6238
6238
|
};
|
|
6239
6239
|
if (H) {
|
|
6240
6240
|
if (o) {
|
|
6241
|
-
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width",
|
|
6241
|
+
var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], I = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
|
|
6242
6242
|
width: 0,
|
|
6243
6243
|
height: 0
|
|
6244
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && en(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, an =
|
|
6245
|
-
H[D] = ya, R[D] = ya -
|
|
6244
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && en(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, an = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, an) : m, M, h ? kt(I, st) : I);
|
|
6245
|
+
H[D] = ya, R[D] = ya - M;
|
|
6246
6246
|
}
|
|
6247
6247
|
if (r) {
|
|
6248
|
-
var it, Ne = D === "x" ? Re : Ge,
|
|
6248
|
+
var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = H[L], qe = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
|
|
6249
6249
|
H[L] = wa, R[L] = wa - Be;
|
|
6250
6250
|
}
|
|
6251
6251
|
e.modifiersData[n] = R;
|
|
@@ -6322,10 +6322,10 @@ function op(t) {
|
|
|
6322
6322
|
rootBoundary: f,
|
|
6323
6323
|
altBoundary: d,
|
|
6324
6324
|
padding: c
|
|
6325
|
-
}),
|
|
6326
|
-
L[E] > H[E] && (
|
|
6327
|
-
var m = La(
|
|
6328
|
-
if (o && I.push(N[R] <= 0), r && I.push(N[
|
|
6325
|
+
}), M = ie ? Z ? vt : Ge : Z ? We : Re;
|
|
6326
|
+
L[E] > H[E] && (M = La(M));
|
|
6327
|
+
var m = La(M), I = [];
|
|
6328
|
+
if (o && I.push(N[R] <= 0), r && I.push(N[M] <= 0, N[m] <= 0), I.every(function(re) {
|
|
6329
6329
|
return re;
|
|
6330
6330
|
})) {
|
|
6331
6331
|
q = x, U = !1;
|
|
@@ -6363,7 +6363,7 @@ var rp = {
|
|
|
6363
6363
|
}
|
|
6364
6364
|
};
|
|
6365
6365
|
function lp(t, e, a) {
|
|
6366
|
-
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } =
|
|
6366
|
+
const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), f = ee(null), d = ee(null), h = S(() => s.value || o.value), w = S(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), b = () => {
|
|
6367
6367
|
u.value || n.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
|
|
6368
6368
|
k();
|
|
6369
6369
|
}));
|
|
@@ -6437,7 +6437,7 @@ function lp(t, e, a) {
|
|
|
6437
6437
|
};
|
|
6438
6438
|
}
|
|
6439
6439
|
function up(t, e, a) {
|
|
6440
|
-
const { searchable: n, disabled: s, clearOnBlur: o } =
|
|
6440
|
+
const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), b = S(() => n.value || s.value ? -1 : 0), y = () => {
|
|
6441
6441
|
n.value && i.value.blur(), f.value.blur();
|
|
6442
6442
|
}, k = () => {
|
|
6443
6443
|
n.value && !s.value && i.value.focus();
|
|
@@ -6487,7 +6487,7 @@ function cp(t, e, a) {
|
|
|
6487
6487
|
createTag: f,
|
|
6488
6488
|
createOption: d,
|
|
6489
6489
|
reverse: h
|
|
6490
|
-
} =
|
|
6490
|
+
} = Ae(t), w = Mt().proxy, b = a.iv, y = a.update, k = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, L = a.backwardPointer, H = a.forwardPointer, F = a.multiselect, U = a.wrapper, q = a.tags, O = a.isOpen, x = a.open, R = a.blur, Z = a.fo, ie = S(() => f.value || d.value || !1), E = S(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), N = () => {
|
|
6491
6491
|
n.value === "tags" && !r.value && ie.value && i.value && !c.value && C(Z.value[Z.value.map((I) => I[l.value]).indexOf(_.value)]);
|
|
6492
6492
|
};
|
|
6493
6493
|
return {
|
|
@@ -6567,7 +6567,7 @@ function dp(t, e, a) {
|
|
|
6567
6567
|
disabled: s,
|
|
6568
6568
|
showOptions: o,
|
|
6569
6569
|
breakTags: i
|
|
6570
|
-
} =
|
|
6570
|
+
} = Ae(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, b = a.placement, y = S(() => ({
|
|
6571
6571
|
container: "multiselect",
|
|
6572
6572
|
containerDisabled: "is-disabled",
|
|
6573
6573
|
containerOpen: "is-open",
|
|
@@ -6675,7 +6675,7 @@ function pp(t, e, a) {
|
|
|
6675
6675
|
const {
|
|
6676
6676
|
limit: n,
|
|
6677
6677
|
infinite: s
|
|
6678
|
-
} =
|
|
6678
|
+
} = Ae(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), f = ee(null), d = S(() => i.value < l.value.length), h = (b) => {
|
|
6679
6679
|
const { isIntersecting: y, target: k } = b[0];
|
|
6680
6680
|
if (y) {
|
|
6681
6681
|
const _ = k.offsetParent, C = _.scrollTop;
|
|
@@ -6709,7 +6709,7 @@ function fp(t, e, a) {
|
|
|
6709
6709
|
groupLabel: l,
|
|
6710
6710
|
aria: c,
|
|
6711
6711
|
searchable: u
|
|
6712
|
-
} =
|
|
6712
|
+
} = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, b = ee(null), y = S(() => {
|
|
6713
6713
|
let R = [];
|
|
6714
6714
|
return s && s.value && R.push(s.value), R.push("assist"), R.join("-");
|
|
6715
6715
|
}), k = S(() => {
|
|
@@ -6762,7 +6762,7 @@ function vp(t, e, a) {
|
|
|
6762
6762
|
const {
|
|
6763
6763
|
locale: n,
|
|
6764
6764
|
fallbackLocale: s
|
|
6765
|
-
} =
|
|
6765
|
+
} = Ae(t);
|
|
6766
6766
|
return {
|
|
6767
6767
|
localize: (i) => !i || typeof i != "object" ? i : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
|
|
6768
6768
|
};
|
|
@@ -7166,7 +7166,7 @@ var lt = {
|
|
|
7166
7166
|
}));
|
|
7167
7167
|
}
|
|
7168
7168
|
};
|
|
7169
|
-
const Cp = ["id", "dir"], gp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], _p = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], yp = ["onKeyup", "aria-label"], bp = ["onClick"], wp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], $p = ["innerHTML"], kp = ["id"], Sp = ["id"],
|
|
7169
|
+
const Cp = ["id", "dir"], gp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], _p = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], yp = ["onKeyup", "aria-label"], bp = ["onClick"], wp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], $p = ["innerHTML"], kp = ["id"], Sp = ["id"], Ap = ["id", "aria-label", "aria-selected"], Mp = ["data-pointed", "onMouseenter", "onMousedown"], Tp = ["innerHTML"], Op = ["aria-label"], Ep = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Ip = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Lp = ["innerHTML"], Hp = ["innerHTML"], Dp = ["value"], Pp = ["name", "value"], Vp = ["name", "value"], Bp = ["id"];
|
|
7170
7170
|
function Rp(t, e, a, n, s, o) {
|
|
7171
7171
|
return p(), g("div", {
|
|
7172
7172
|
ref: "multiselect",
|
|
@@ -7473,7 +7473,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7473
7473
|
innerHTML: t.localize(i[a.groupLabel])
|
|
7474
7474
|
}, null, 8, Tp)
|
|
7475
7475
|
])
|
|
7476
|
-
], 42,
|
|
7476
|
+
], 42, Mp)),
|
|
7477
7477
|
v("ul", {
|
|
7478
7478
|
class: K(t.classList.groupOptions),
|
|
7479
7479
|
"aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
|
|
@@ -7513,7 +7513,7 @@ function Rp(t, e, a, n, s, o) {
|
|
|
7513
7513
|
/* KEYED_FRAGMENT */
|
|
7514
7514
|
))
|
|
7515
7515
|
], 10, Op)
|
|
7516
|
-
], 10,
|
|
7516
|
+
], 10, Ap))),
|
|
7517
7517
|
128
|
|
7518
7518
|
/* KEYED_FRAGMENT */
|
|
7519
7519
|
)) : (p(!0), g(
|
|
@@ -7677,7 +7677,7 @@ function Tt() {
|
|
|
7677
7677
|
};
|
|
7678
7678
|
}
|
|
7679
7679
|
function Np() {
|
|
7680
|
-
const t =
|
|
7680
|
+
const t = Mt();
|
|
7681
7681
|
if (!t)
|
|
7682
7682
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7683
7683
|
return t;
|
|
@@ -7814,7 +7814,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
|
|
|
7814
7814
|
onChange: (y) => c(y, h.id)
|
|
7815
7815
|
}, {
|
|
7816
7816
|
tag: W(({ option: y, handleTagRemove: k }) => [
|
|
7817
|
-
|
|
7817
|
+
A(Je, {
|
|
7818
7818
|
"user-name": y.label,
|
|
7819
7819
|
"avatar-url": y.avatar,
|
|
7820
7820
|
"is-closable": !0,
|
|
@@ -7919,7 +7919,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7919
7919
|
target: "_blank",
|
|
7920
7920
|
rel: "noopener noreferrer"
|
|
7921
7921
|
}, [
|
|
7922
|
-
|
|
7922
|
+
A(pe, {
|
|
7923
7923
|
class: "ao-file__icon",
|
|
7924
7924
|
name: "AttachFileRounded",
|
|
7925
7925
|
size: "sm"
|
|
@@ -7940,7 +7940,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
|
|
|
7940
7940
|
u.isEditable ? (p(), g("li", Gp, [
|
|
7941
7941
|
v("label", Xp, [
|
|
7942
7942
|
v("div", Qp, [
|
|
7943
|
-
|
|
7943
|
+
A(pe, {
|
|
7944
7944
|
name: "Add",
|
|
7945
7945
|
size: "sm"
|
|
7946
7946
|
}),
|
|
@@ -8030,14 +8030,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8030
8030
|
]),
|
|
8031
8031
|
b.isEditable ? (p(), g("div", lf, [
|
|
8032
8032
|
Q(o) ? (p(), g(ve, { key: 0 }, [
|
|
8033
|
-
|
|
8033
|
+
A(ce, {
|
|
8034
8034
|
"icon-name": "CloseRounded",
|
|
8035
8035
|
size: "sm",
|
|
8036
8036
|
variant: "ghost",
|
|
8037
8037
|
color: "neutral",
|
|
8038
8038
|
onClick: Q(f)
|
|
8039
8039
|
}, null, 8, ["onClick"]),
|
|
8040
|
-
|
|
8040
|
+
A(ce, {
|
|
8041
8041
|
"icon-name": "CheckSmallRounded",
|
|
8042
8042
|
size: "sm",
|
|
8043
8043
|
variant: "solid",
|
|
@@ -8046,14 +8046,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
|
|
|
8046
8046
|
onClick: Q(d)
|
|
8047
8047
|
}, null, 8, ["onClick"])
|
|
8048
8048
|
], 64)) : (p(), g(ve, { key: 1 }, [
|
|
8049
|
-
|
|
8049
|
+
A(ce, {
|
|
8050
8050
|
label: b.$t("activity.comment.delete"),
|
|
8051
8051
|
size: "sm",
|
|
8052
8052
|
variant: "ghost",
|
|
8053
8053
|
color: "neutral",
|
|
8054
8054
|
onClick: h
|
|
8055
8055
|
}, null, 8, ["label"]),
|
|
8056
|
-
|
|
8056
|
+
A(ce, {
|
|
8057
8057
|
label: b.$t("activity.comment.edit"),
|
|
8058
8058
|
size: "sm",
|
|
8059
8059
|
variant: "ghost",
|
|
@@ -8129,7 +8129,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
|
|
|
8129
8129
|
]
|
|
8130
8130
|
]),
|
|
8131
8131
|
v("div", ff, [
|
|
8132
|
-
|
|
8132
|
+
A(ce, {
|
|
8133
8133
|
type: "submit",
|
|
8134
8134
|
"icon-name": "SendRounded",
|
|
8135
8135
|
color: "primary",
|
|
@@ -8183,7 +8183,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8183
8183
|
}, wf = { class: "ao-field__label" }, $f = {
|
|
8184
8184
|
key: 1,
|
|
8185
8185
|
class: "ao-field ao-feed__activity-details__project"
|
|
8186
|
-
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" },
|
|
8186
|
+
}, kf = { class: "ao-field__label" }, Sf = { class: "ao-activity-details__content" }, Af = { class: "ao-fieldset" }, Mf = { class: "ao-field__row" }, Tf = { class: "ao-field ao-field--full" }, Of = { class: "ao-field__label" }, Ef = ["readonly"], If = { class: "ao-field__row" }, Lf = { class: "ao-field ao-field--inline" }, Hf = { class: "ao-field__label" }, Df = ["readonly"], Pf = { class: "ao-fieldset" }, Vf = { class: "ao-fieldset__title" }, Bf = { class: "ao-fieldset__body" }, Rf = {
|
|
8187
8187
|
key: 0,
|
|
8188
8188
|
class: "ao-fieldset"
|
|
8189
8189
|
}, Nf = { class: "ao-fieldset__title" }, jf = { class: "ao-activity-details__aside" }, Ff = { class: "ao-activity-details__close-button" }, Uf = {
|
|
@@ -8395,7 +8395,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8395
8395
|
e("updateComment", m);
|
|
8396
8396
|
}, N = (m) => {
|
|
8397
8397
|
e("removeComment", m);
|
|
8398
|
-
},
|
|
8398
|
+
}, M = S(() => {
|
|
8399
8399
|
var m, I;
|
|
8400
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((I = a.activity.createdBy) == null ? void 0 : I.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8401
8401
|
});
|
|
@@ -8409,7 +8409,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8409
8409
|
v("div", Cf, [
|
|
8410
8410
|
v("div", gf, [
|
|
8411
8411
|
m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
|
|
8412
|
-
|
|
8412
|
+
A(ye, {
|
|
8413
8413
|
title: m.activity.name || "",
|
|
8414
8414
|
level: 4,
|
|
8415
8415
|
"is-editable": n.value,
|
|
@@ -8418,7 +8418,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8418
8418
|
v("div", yf, [
|
|
8419
8419
|
U.value ? (p(), g("label", bf, [
|
|
8420
8420
|
v("span", wf, G(m.$t("activity.project.label")), 1),
|
|
8421
|
-
|
|
8421
|
+
A($e, {
|
|
8422
8422
|
options: U.value,
|
|
8423
8423
|
value: (J = m.activity.project) == null ? void 0 : J.id,
|
|
8424
8424
|
searchable: !0,
|
|
@@ -8429,7 +8429,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8429
8429
|
])) : T("", !0),
|
|
8430
8430
|
q.value ? (p(), g("label", $f, [
|
|
8431
8431
|
v("span", kf, G(m.$t("activity.milestone.label")), 1),
|
|
8432
|
-
|
|
8432
|
+
A($e, {
|
|
8433
8433
|
options: q.value,
|
|
8434
8434
|
value: (ae = m.activity.milestone) == null ? void 0 : ae.id,
|
|
8435
8435
|
searchable: !0,
|
|
@@ -8442,9 +8442,9 @@ const bn = /* @__PURE__ */ z({
|
|
|
8442
8442
|
te(m.$slots, "header")
|
|
8443
8443
|
]),
|
|
8444
8444
|
v("div", Sf, [
|
|
8445
|
-
v("fieldset",
|
|
8446
|
-
v("div",
|
|
8447
|
-
|
|
8445
|
+
v("fieldset", Af, [
|
|
8446
|
+
v("div", Mf, [
|
|
8447
|
+
A(af, {
|
|
8448
8448
|
attachments: m.activity.attachments,
|
|
8449
8449
|
"is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
|
|
8450
8450
|
onAdd: H,
|
|
@@ -8499,14 +8499,14 @@ const bn = /* @__PURE__ */ z({
|
|
|
8499
8499
|
]),
|
|
8500
8500
|
v("fieldset", Pf, [
|
|
8501
8501
|
v("div", Vf, [
|
|
8502
|
-
|
|
8503
|
-
|
|
8502
|
+
A(pe, { name: "SelectCheckBox" }),
|
|
8503
|
+
A(ye, {
|
|
8504
8504
|
level: 4,
|
|
8505
8505
|
title: m.$t("activity.tasks.title")
|
|
8506
8506
|
}, null, 8, ["title"])
|
|
8507
8507
|
]),
|
|
8508
8508
|
v("div", Bf, [
|
|
8509
|
-
|
|
8509
|
+
A(Wp, {
|
|
8510
8510
|
class: "ao-activity-details__tasks ao-field__row",
|
|
8511
8511
|
tasks: m.activity.tasks || [],
|
|
8512
8512
|
"activity-id": m.activity.id,
|
|
@@ -8522,13 +8522,13 @@ const bn = /* @__PURE__ */ z({
|
|
|
8522
8522
|
]),
|
|
8523
8523
|
m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
|
|
8524
8524
|
v("div", Nf, [
|
|
8525
|
-
|
|
8526
|
-
|
|
8525
|
+
A(pe, { name: "ChatOutline" }),
|
|
8526
|
+
A(ye, {
|
|
8527
8527
|
level: 4,
|
|
8528
8528
|
title: m.$t("activity.comments.title")
|
|
8529
8529
|
}, null, 8, ["title"])
|
|
8530
8530
|
]),
|
|
8531
|
-
|
|
8531
|
+
A(hf, {
|
|
8532
8532
|
comments: m.activity.comments,
|
|
8533
8533
|
users: m.users,
|
|
8534
8534
|
"user-id": m.userId,
|
|
@@ -8541,7 +8541,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8541
8541
|
]),
|
|
8542
8542
|
v("div", jf, [
|
|
8543
8543
|
v("div", Ff, [
|
|
8544
|
-
|
|
8544
|
+
A(pe, {
|
|
8545
8545
|
name: "CloseRounded",
|
|
8546
8546
|
onClick: I[2] || (I[2] = (ne) => m.$emit("close"))
|
|
8547
8547
|
})
|
|
@@ -8549,7 +8549,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8549
8549
|
R.value ? (p(), g("div", Uf, [
|
|
8550
8550
|
v("label", Zf, [
|
|
8551
8551
|
v("span", Wf, G(m.$t("activity.status.label")), 1),
|
|
8552
|
-
|
|
8552
|
+
A($e, {
|
|
8553
8553
|
class: "ao-activity-details__multiselect",
|
|
8554
8554
|
options: R.value,
|
|
8555
8555
|
value: (le = m.activity.status) == null ? void 0 : le.id,
|
|
@@ -8564,7 +8564,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8564
8564
|
v("div", qf, [
|
|
8565
8565
|
v("div", zf, [
|
|
8566
8566
|
v("span", xf, G(m.$t("activity.assignee.label")), 1),
|
|
8567
|
-
|
|
8567
|
+
A($e, {
|
|
8568
8568
|
modelValue: L.value,
|
|
8569
8569
|
"onUpdate:modelValue": I[3] || (I[3] = (ne) => L.value = ne),
|
|
8570
8570
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
@@ -8581,7 +8581,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8581
8581
|
option: ne,
|
|
8582
8582
|
handleTagRemove: re
|
|
8583
8583
|
}) => [
|
|
8584
|
-
|
|
8584
|
+
A(Je, {
|
|
8585
8585
|
"user-name": ne.label,
|
|
8586
8586
|
"avatar-url": ne.avatar,
|
|
8587
8587
|
"is-closable": !0,
|
|
@@ -8615,7 +8615,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8615
8615
|
v("div", Jf, [
|
|
8616
8616
|
u.value ? (p(), g("div", ev, [
|
|
8617
8617
|
v("label", tv, [
|
|
8618
|
-
|
|
8618
|
+
A($e, {
|
|
8619
8619
|
modelValue: f.value,
|
|
8620
8620
|
"onUpdate:modelValue": I[5] || (I[5] = (ne) => f.value = ne),
|
|
8621
8621
|
class: "ao-activity-details__multiselect",
|
|
@@ -8631,7 +8631,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8631
8631
|
te(m.$slots, "default", { activity: m.activity })
|
|
8632
8632
|
]),
|
|
8633
8633
|
v("div", av, [
|
|
8634
|
-
|
|
8634
|
+
A(bn, {
|
|
8635
8635
|
modelValue: r.value,
|
|
8636
8636
|
"onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
|
|
8637
8637
|
modelModifiers: { lazy: !0 },
|
|
@@ -8646,7 +8646,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8646
8646
|
}, null, 8, ["modelValue", "label", "disabled"])
|
|
8647
8647
|
]),
|
|
8648
8648
|
m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
|
|
8649
|
-
|
|
8649
|
+
A(bn, {
|
|
8650
8650
|
modelValue: l.value,
|
|
8651
8651
|
"onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
|
|
8652
8652
|
modelModifiers: { lazy: !0 },
|
|
@@ -8661,8 +8661,8 @@ const bn = /* @__PURE__ */ z({
|
|
|
8661
8661
|
])) : T("", !0),
|
|
8662
8662
|
v("fieldset", sv, [
|
|
8663
8663
|
v("div", iv, [
|
|
8664
|
-
|
|
8665
|
-
|
|
8664
|
+
A(pe, { name: "FlowsheetOutlineRounded" }),
|
|
8665
|
+
A(ye, {
|
|
8666
8666
|
level: 4,
|
|
8667
8667
|
title: m.$t("activity.dependencies.title")
|
|
8668
8668
|
}, null, 8, ["title"])
|
|
@@ -8671,7 +8671,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8671
8671
|
v("div", rv, [
|
|
8672
8672
|
v("label", lv, [
|
|
8673
8673
|
v("span", uv, G(m.$t("activity.dependingOn.label")), 1),
|
|
8674
|
-
|
|
8674
|
+
A($e, {
|
|
8675
8675
|
modelValue: h.value,
|
|
8676
8676
|
"onUpdate:modelValue": I[8] || (I[8] = (ne) => h.value = ne),
|
|
8677
8677
|
class: "ao-activity-details__multiselect",
|
|
@@ -8687,7 +8687,7 @@ const bn = /* @__PURE__ */ z({
|
|
|
8687
8687
|
v("div", cv, [
|
|
8688
8688
|
v("label", dv, [
|
|
8689
8689
|
v("span", pv, G(m.$t("activity.blocking.label")), 1),
|
|
8690
|
-
|
|
8690
|
+
A($e, {
|
|
8691
8691
|
modelValue: b.value,
|
|
8692
8692
|
"onUpdate:modelValue": I[9] || (I[9] = (ne) => b.value = ne),
|
|
8693
8693
|
class: "ao-activity-details__multiselect",
|
|
@@ -8702,13 +8702,13 @@ const bn = /* @__PURE__ */ z({
|
|
|
8702
8702
|
])
|
|
8703
8703
|
])
|
|
8704
8704
|
]),
|
|
8705
|
-
m.isTemplate !== !0 &&
|
|
8705
|
+
m.isTemplate !== !0 && M.value ? (p(), g("div", fv, [
|
|
8706
8706
|
v("div", vv, [
|
|
8707
|
-
|
|
8708
|
-
"user-name":
|
|
8707
|
+
A(Je, {
|
|
8708
|
+
"user-name": M.value,
|
|
8709
8709
|
color: "black"
|
|
8710
8710
|
}, null, 8, ["user-name"]),
|
|
8711
|
-
v("span", null, G(
|
|
8711
|
+
v("span", null, G(M.value), 1)
|
|
8712
8712
|
])
|
|
8713
8713
|
])) : T("", !0)
|
|
8714
8714
|
])
|
|
@@ -8795,22 +8795,22 @@ const hv = /* @__PURE__ */ z({
|
|
|
8795
8795
|
}), y = S(() => Object.values(j2));
|
|
8796
8796
|
return (k, _) => (p(), P(ht(k.tagName), { class: "ao-rule-line" }, {
|
|
8797
8797
|
default: W(() => [
|
|
8798
|
-
|
|
8798
|
+
A(Q(lt), {
|
|
8799
8799
|
modelValue: s.value,
|
|
8800
8800
|
"onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
|
|
8801
8801
|
options: o.value
|
|
8802
8802
|
}, null, 8, ["modelValue", "options"]),
|
|
8803
|
-
|
|
8803
|
+
A(Q(lt), {
|
|
8804
8804
|
modelValue: i.value,
|
|
8805
8805
|
"onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
|
|
8806
8806
|
options: r.value
|
|
8807
8807
|
}, null, 8, ["modelValue", "options"]),
|
|
8808
|
-
|
|
8808
|
+
A(Q(lt), {
|
|
8809
8809
|
modelValue: d.value,
|
|
8810
8810
|
"onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
|
|
8811
8811
|
options: h.value
|
|
8812
8812
|
}, null, 8, ["modelValue", "options"]),
|
|
8813
|
-
|
|
8813
|
+
A(Q(lt), {
|
|
8814
8814
|
modelValue: c.value,
|
|
8815
8815
|
"onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
|
|
8816
8816
|
options: u.value
|
|
@@ -8827,12 +8827,12 @@ const hv = /* @__PURE__ */ z({
|
|
|
8827
8827
|
{ number: !0 }
|
|
8828
8828
|
]
|
|
8829
8829
|
]),
|
|
8830
|
-
|
|
8830
|
+
A(Q(lt), {
|
|
8831
8831
|
modelValue: b.value,
|
|
8832
8832
|
"onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
|
|
8833
8833
|
options: y.value
|
|
8834
8834
|
}, null, 8, ["modelValue", "options"]),
|
|
8835
|
-
|
|
8835
|
+
A(ce, {
|
|
8836
8836
|
class: "ao-rule-line__remove",
|
|
8837
8837
|
"icon-name": "CloseRounded",
|
|
8838
8838
|
variant: "ghost",
|
|
@@ -8861,7 +8861,7 @@ const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rule
|
|
|
8861
8861
|
};
|
|
8862
8862
|
return (s, o) => (p(), P(In, null, {
|
|
8863
8863
|
header: W(() => [
|
|
8864
|
-
|
|
8864
|
+
A(ye, {
|
|
8865
8865
|
title: s.$t("template.rules.title"),
|
|
8866
8866
|
level: 2
|
|
8867
8867
|
}, null, 8, ["title"])
|
|
@@ -8879,7 +8879,7 @@ const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rule
|
|
|
8879
8879
|
onClose: () => n(i.id)
|
|
8880
8880
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8881
8881
|
]),
|
|
8882
|
-
|
|
8882
|
+
A(Ct, {
|
|
8883
8883
|
label: s.$t("template.rules.add"),
|
|
8884
8884
|
"icon-name": "Add",
|
|
8885
8885
|
onClick: a
|
|
@@ -8900,7 +8900,7 @@ function Bt(t, e, a) {
|
|
|
8900
8900
|
const _v = {
|
|
8901
8901
|
key: 0,
|
|
8902
8902
|
class: "ao-template-details"
|
|
8903
|
-
}, yv = { class: "ao-template-details__body" }, bv = { class: "ao-template-details__cols" }, wv = { class: "ao-template-details__col" }, $v = { class: "ao-list__footer" }, kv = { class: "ao-template-details__col" }, Sv = { class: "ao-template-details__col" },
|
|
8903
|
+
}, yv = { class: "ao-template-details__body" }, bv = { class: "ao-template-details__cols" }, wv = { class: "ao-template-details__col" }, $v = { class: "ao-list__footer" }, kv = { class: "ao-template-details__col" }, Sv = { class: "ao-template-details__col" }, Av = /* @__PURE__ */ z({
|
|
8904
8904
|
__name: "AoTemplateDetails",
|
|
8905
8905
|
props: {
|
|
8906
8906
|
templateId: {},
|
|
@@ -8915,8 +8915,8 @@ const _v = {
|
|
|
8915
8915
|
setup(t, { emit: e }) {
|
|
8916
8916
|
const a = t, { t: n } = Tt(), s = S(
|
|
8917
8917
|
() => {
|
|
8918
|
-
var
|
|
8919
|
-
return (
|
|
8918
|
+
var M;
|
|
8919
|
+
return (M = a.templates) == null ? void 0 : M.find((m) => m.id === a.templateId);
|
|
8920
8920
|
}
|
|
8921
8921
|
), o = ee(!1);
|
|
8922
8922
|
de(
|
|
@@ -8924,50 +8924,50 @@ const _v = {
|
|
|
8924
8924
|
() => o.value = !1
|
|
8925
8925
|
), de(
|
|
8926
8926
|
() => {
|
|
8927
|
-
var
|
|
8928
|
-
return (
|
|
8927
|
+
var M;
|
|
8928
|
+
return (M = s.value) == null ? void 0 : M.phases;
|
|
8929
8929
|
},
|
|
8930
|
-
(
|
|
8931
|
-
o.value && Xe(
|
|
8930
|
+
(M, m) => {
|
|
8931
|
+
o.value && Xe(M, m);
|
|
8932
8932
|
}
|
|
8933
8933
|
);
|
|
8934
8934
|
const i = S(() => {
|
|
8935
|
-
var
|
|
8936
|
-
return (m = (
|
|
8935
|
+
var M, m;
|
|
8936
|
+
return (m = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
|
|
8937
8937
|
});
|
|
8938
8938
|
de(
|
|
8939
8939
|
() => {
|
|
8940
|
-
var
|
|
8941
|
-
return (
|
|
8940
|
+
var M;
|
|
8941
|
+
return (M = i.value) == null ? void 0 : M.milestones;
|
|
8942
8942
|
},
|
|
8943
|
-
(
|
|
8944
|
-
o.value && Xe(
|
|
8943
|
+
(M, m) => {
|
|
8944
|
+
o.value && Xe(M, m);
|
|
8945
8945
|
}
|
|
8946
8946
|
);
|
|
8947
8947
|
const r = S(() => {
|
|
8948
|
-
var
|
|
8949
|
-
return (m = (
|
|
8948
|
+
var M, m;
|
|
8949
|
+
return (m = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : m.find(
|
|
8950
8950
|
(I) => I.id === a.milestoneId
|
|
8951
8951
|
);
|
|
8952
8952
|
});
|
|
8953
8953
|
de(
|
|
8954
8954
|
() => {
|
|
8955
|
-
var
|
|
8956
|
-
return (
|
|
8955
|
+
var M;
|
|
8956
|
+
return (M = r.value) == null ? void 0 : M.activities;
|
|
8957
8957
|
},
|
|
8958
|
-
(
|
|
8959
|
-
o.value && Xe(
|
|
8958
|
+
(M, m) => {
|
|
8959
|
+
o.value && Xe(M, m);
|
|
8960
8960
|
}
|
|
8961
8961
|
);
|
|
8962
8962
|
const l = S(() => {
|
|
8963
|
-
var
|
|
8964
|
-
return ((m = (
|
|
8963
|
+
var M, m;
|
|
8964
|
+
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
|
|
8965
8965
|
const ae = J.milestones || [];
|
|
8966
8966
|
return [...I, ...ae];
|
|
8967
8967
|
}, [])) || [];
|
|
8968
8968
|
}), c = S(() => {
|
|
8969
|
-
var
|
|
8970
|
-
return ((m = (
|
|
8969
|
+
var M, m;
|
|
8970
|
+
return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
|
|
8971
8971
|
const le = (J.milestones || []).reduce(
|
|
8972
8972
|
(ne, re) => re.activities ? [...ne, ...re.activities] : ne,
|
|
8973
8973
|
[]
|
|
@@ -8975,17 +8975,17 @@ const _v = {
|
|
|
8975
8975
|
return [...I, ...le];
|
|
8976
8976
|
}, [])) || [];
|
|
8977
8977
|
}), u = S(() => {
|
|
8978
|
-
var
|
|
8979
|
-
return (m = (
|
|
8978
|
+
var M, m;
|
|
8979
|
+
return (m = (M = r.value) == null ? void 0 : M.activities) == null ? void 0 : m.find(
|
|
8980
8980
|
(I) => I.id === a.activityId
|
|
8981
8981
|
);
|
|
8982
8982
|
}), f = S(() => {
|
|
8983
|
-
var
|
|
8984
|
-
return ((
|
|
8983
|
+
var M;
|
|
8984
|
+
return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
|
|
8985
8985
|
}), d = () => {
|
|
8986
8986
|
if (!s.value)
|
|
8987
8987
|
return;
|
|
8988
|
-
const { name:
|
|
8988
|
+
const { name: M, rank: m } = Bt(
|
|
8989
8989
|
s.value.phases,
|
|
8990
8990
|
"phase",
|
|
8991
8991
|
n
|
|
@@ -8994,35 +8994,35 @@ const _v = {
|
|
|
8994
8994
|
type: Ce.PHASES,
|
|
8995
8995
|
templateId: a.templateId,
|
|
8996
8996
|
item: {
|
|
8997
|
-
name:
|
|
8997
|
+
name: M,
|
|
8998
8998
|
rank: m
|
|
8999
8999
|
}
|
|
9000
9000
|
});
|
|
9001
|
-
}, h = (
|
|
9001
|
+
}, h = (M) => {
|
|
9002
9002
|
e("updateItem", {
|
|
9003
9003
|
templateId: a.templateId,
|
|
9004
9004
|
id: a.templateId,
|
|
9005
9005
|
itemType: Ce.TEMPLATES,
|
|
9006
|
-
data: { name:
|
|
9006
|
+
data: { name: M }
|
|
9007
9007
|
});
|
|
9008
|
-
}, w = (
|
|
9008
|
+
}, w = (M) => {
|
|
9009
9009
|
e("removeItem", {
|
|
9010
9010
|
type: Ce.PHASES,
|
|
9011
9011
|
templateId: a.templateId,
|
|
9012
9012
|
data: {
|
|
9013
|
-
id:
|
|
9013
|
+
id: M
|
|
9014
9014
|
}
|
|
9015
9015
|
});
|
|
9016
|
-
}, b = (
|
|
9016
|
+
}, b = (M, m) => {
|
|
9017
9017
|
e("updateItem", {
|
|
9018
9018
|
templateId: a.templateId,
|
|
9019
|
-
id:
|
|
9019
|
+
id: M,
|
|
9020
9020
|
itemType: Ce.PHASES,
|
|
9021
9021
|
data: { name: m }
|
|
9022
9022
|
});
|
|
9023
|
-
}, y = (
|
|
9024
|
-
e("updateItem",
|
|
9025
|
-
}, k = (
|
|
9023
|
+
}, y = (M) => {
|
|
9024
|
+
e("updateItem", M);
|
|
9025
|
+
}, k = (M) => {
|
|
9026
9026
|
if (!i.value)
|
|
9027
9027
|
return;
|
|
9028
9028
|
const { name: m, rank: I } = Bt(
|
|
@@ -9033,32 +9033,32 @@ const _v = {
|
|
|
9033
9033
|
o.value = !0, e("addItem", {
|
|
9034
9034
|
type: Ce.MILESTONES,
|
|
9035
9035
|
templateId: a.templateId,
|
|
9036
|
-
phaseId:
|
|
9036
|
+
phaseId: M.phaseId,
|
|
9037
9037
|
item: {
|
|
9038
9038
|
name: m,
|
|
9039
9039
|
rank: I,
|
|
9040
|
-
phaseId:
|
|
9040
|
+
phaseId: M.phaseId
|
|
9041
9041
|
}
|
|
9042
9042
|
});
|
|
9043
|
-
}, _ = (
|
|
9043
|
+
}, _ = (M) => {
|
|
9044
9044
|
e("removeItem", {
|
|
9045
9045
|
type: Ce.MILESTONES,
|
|
9046
9046
|
templateId: a.templateId,
|
|
9047
|
-
phaseId:
|
|
9047
|
+
phaseId: M.phaseId,
|
|
9048
9048
|
data: {
|
|
9049
|
-
id:
|
|
9049
|
+
id: M.id
|
|
9050
9050
|
}
|
|
9051
9051
|
});
|
|
9052
|
-
}, C = (
|
|
9053
|
-
const { id: m, ...I } =
|
|
9052
|
+
}, C = (M) => {
|
|
9053
|
+
const { id: m, ...I } = M;
|
|
9054
9054
|
e("updateItem", {
|
|
9055
9055
|
itemType: Ce.MILESTONES,
|
|
9056
9056
|
id: m,
|
|
9057
9057
|
templateId: a.templateId,
|
|
9058
9058
|
data: I
|
|
9059
9059
|
});
|
|
9060
|
-
}, D = (
|
|
9061
|
-
const { milestoneId: m } =
|
|
9060
|
+
}, D = (M) => {
|
|
9061
|
+
const { milestoneId: m } = M;
|
|
9062
9062
|
if (!r.value)
|
|
9063
9063
|
return;
|
|
9064
9064
|
const { name: I, rank: J } = Bt(
|
|
@@ -9072,7 +9072,7 @@ const _v = {
|
|
|
9072
9072
|
templateId: a.templateId,
|
|
9073
9073
|
item: { name: I, rank: J, milestoneId: m }
|
|
9074
9074
|
});
|
|
9075
|
-
}, L = (
|
|
9075
|
+
}, L = (M) => {
|
|
9076
9076
|
var m, I;
|
|
9077
9077
|
e("removeItem", {
|
|
9078
9078
|
type: Ce.ACTIVITIES,
|
|
@@ -9080,11 +9080,11 @@ const _v = {
|
|
|
9080
9080
|
phaseId: (m = i.value) == null ? void 0 : m.id,
|
|
9081
9081
|
milestoneId: (I = r.value) == null ? void 0 : I.id,
|
|
9082
9082
|
data: {
|
|
9083
|
-
id:
|
|
9083
|
+
id: M.id
|
|
9084
9084
|
}
|
|
9085
9085
|
});
|
|
9086
|
-
}, H = (
|
|
9087
|
-
const { id: m, ...I } =
|
|
9086
|
+
}, H = (M) => {
|
|
9087
|
+
const { id: m, ...I } = M;
|
|
9088
9088
|
e("updateItem", {
|
|
9089
9089
|
itemType: Ce.ACTIVITIES,
|
|
9090
9090
|
id: m,
|
|
@@ -9095,60 +9095,60 @@ const _v = {
|
|
|
9095
9095
|
F.value = !F.value;
|
|
9096
9096
|
}, q = () => {
|
|
9097
9097
|
e("addRule", { templateId: a.templateId });
|
|
9098
|
-
}, O = (
|
|
9099
|
-
e("removeRule", { id:
|
|
9100
|
-
}, x = (
|
|
9098
|
+
}, O = (M) => {
|
|
9099
|
+
e("removeRule", { id: M, templateId: a.templateId });
|
|
9100
|
+
}, x = (M) => {
|
|
9101
9101
|
var m;
|
|
9102
|
-
if (
|
|
9103
|
-
const I = Ca(
|
|
9102
|
+
if (M.moved) {
|
|
9103
|
+
const I = Ca(M, ((m = s.value) == null ? void 0 : m.phases) ?? []);
|
|
9104
9104
|
e("updateItem", {
|
|
9105
9105
|
itemType: Ce.PHASES,
|
|
9106
|
-
id:
|
|
9106
|
+
id: M.moved.element.id,
|
|
9107
9107
|
templateId: a.templateId,
|
|
9108
9108
|
data: {
|
|
9109
9109
|
rank: I
|
|
9110
9110
|
}
|
|
9111
9111
|
});
|
|
9112
9112
|
}
|
|
9113
|
-
}, R = (
|
|
9113
|
+
}, R = (M) => {
|
|
9114
9114
|
!i.value || !r.value || !u.value || e("addItem", {
|
|
9115
9115
|
type: Ce.TASKS,
|
|
9116
|
-
activityId:
|
|
9116
|
+
activityId: M.activityId,
|
|
9117
9117
|
milestoneId: r.value.id,
|
|
9118
9118
|
phaseId: i.value.id,
|
|
9119
9119
|
templateId: a.templateId,
|
|
9120
|
-
item:
|
|
9120
|
+
item: M
|
|
9121
9121
|
});
|
|
9122
|
-
}, Z = (
|
|
9122
|
+
}, Z = (M) => {
|
|
9123
9123
|
!i.value || !r.value || !u.value || e("updateItem", {
|
|
9124
9124
|
itemType: Ce.TASKS,
|
|
9125
|
-
id:
|
|
9125
|
+
id: M.id,
|
|
9126
9126
|
templateId: a.templateId,
|
|
9127
|
-
data:
|
|
9127
|
+
data: M
|
|
9128
9128
|
});
|
|
9129
|
-
}, ie = (
|
|
9129
|
+
}, ie = (M) => {
|
|
9130
9130
|
!i.value || !r.value || !u.value || e("removeItem", {
|
|
9131
9131
|
type: Ce.TASKS,
|
|
9132
9132
|
activityId: u.value.id,
|
|
9133
9133
|
milestoneId: r.value.id,
|
|
9134
9134
|
phaseId: i.value.id,
|
|
9135
9135
|
templateId: a.templateId,
|
|
9136
|
-
data:
|
|
9136
|
+
data: M
|
|
9137
9137
|
});
|
|
9138
|
-
}, E = (
|
|
9139
|
-
e("addFiles",
|
|
9140
|
-
}, N = (
|
|
9141
|
-
e("removeFile",
|
|
9138
|
+
}, E = (M) => {
|
|
9139
|
+
e("addFiles", M);
|
|
9140
|
+
}, N = (M) => {
|
|
9141
|
+
e("removeFile", M);
|
|
9142
9142
|
};
|
|
9143
|
-
return (
|
|
9143
|
+
return (M, m) => {
|
|
9144
9144
|
var I, J, ae, le, ne, re;
|
|
9145
9145
|
return s.value ? (p(), g("div", _v, [
|
|
9146
|
-
|
|
9146
|
+
A(Ka, {
|
|
9147
9147
|
"can-go-back": !0,
|
|
9148
|
-
onGoBack: m[1] || (m[1] = (Y) =>
|
|
9148
|
+
onGoBack: m[1] || (m[1] = (Y) => M.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
|
|
9149
9149
|
}, {
|
|
9150
9150
|
primary: W(() => [
|
|
9151
|
-
|
|
9151
|
+
A(ye, {
|
|
9152
9152
|
title: f.value,
|
|
9153
9153
|
level: 2,
|
|
9154
9154
|
"is-editable": !0,
|
|
@@ -9162,7 +9162,7 @@ const _v = {
|
|
|
9162
9162
|
v("div", yv, [
|
|
9163
9163
|
v("ol", bv, [
|
|
9164
9164
|
v("li", wv, [
|
|
9165
|
-
|
|
9165
|
+
A(Q(mt), {
|
|
9166
9166
|
"model-value": s.value.phases,
|
|
9167
9167
|
class: "ao-templates__list",
|
|
9168
9168
|
"item-key": "id",
|
|
@@ -9170,8 +9170,8 @@ const _v = {
|
|
|
9170
9170
|
onChange: x
|
|
9171
9171
|
}, {
|
|
9172
9172
|
header: W(() => [
|
|
9173
|
-
|
|
9174
|
-
title:
|
|
9173
|
+
A(ye, {
|
|
9174
|
+
title: M.$t("template.phases.title"),
|
|
9175
9175
|
level: 3,
|
|
9176
9176
|
class: "ao-list__title"
|
|
9177
9177
|
}, null, 8, ["title"])
|
|
@@ -9179,14 +9179,14 @@ const _v = {
|
|
|
9179
9179
|
item: W(({ element: Y }) => {
|
|
9180
9180
|
var V;
|
|
9181
9181
|
return [
|
|
9182
|
-
|
|
9182
|
+
A(l5, {
|
|
9183
9183
|
id: Y.id,
|
|
9184
9184
|
name: Y.name,
|
|
9185
9185
|
milestones: Y.milestones,
|
|
9186
9186
|
"is-active": ((V = i.value) == null ? void 0 : V.id) === Y.id,
|
|
9187
9187
|
"is-draggable": !0,
|
|
9188
|
-
onClick: (X) =>
|
|
9189
|
-
params: { templateId:
|
|
9188
|
+
onClick: (X) => M.$router.push({
|
|
9189
|
+
params: { templateId: M.templateId, phaseId: Y.id }
|
|
9190
9190
|
}),
|
|
9191
9191
|
"onUpdate:title": (X) => {
|
|
9192
9192
|
b(Y.id, X);
|
|
@@ -9197,9 +9197,9 @@ const _v = {
|
|
|
9197
9197
|
}),
|
|
9198
9198
|
footer: W(() => [
|
|
9199
9199
|
v("div", $v, [
|
|
9200
|
-
|
|
9200
|
+
A(Ct, {
|
|
9201
9201
|
"icon-name": "AddBoxOutlineRounded",
|
|
9202
|
-
label:
|
|
9202
|
+
label: M.$t("template.phases.add"),
|
|
9203
9203
|
onClick: d
|
|
9204
9204
|
}, null, 8, ["label"])
|
|
9205
9205
|
])
|
|
@@ -9210,7 +9210,7 @@ const _v = {
|
|
|
9210
9210
|
v("li", kv, [
|
|
9211
9211
|
i.value ? (p(), P(d5, {
|
|
9212
9212
|
key: 0,
|
|
9213
|
-
"template-id":
|
|
9213
|
+
"template-id": M.templateId,
|
|
9214
9214
|
phase: i.value,
|
|
9215
9215
|
"milestone-id": (I = r.value) == null ? void 0 : I.id,
|
|
9216
9216
|
onAddMilestone: k,
|
|
@@ -9222,7 +9222,7 @@ const _v = {
|
|
|
9222
9222
|
v("li", Sv, [
|
|
9223
9223
|
i.value && r.value ? (p(), P(v5, {
|
|
9224
9224
|
key: 0,
|
|
9225
|
-
"template-id":
|
|
9225
|
+
"template-id": M.templateId,
|
|
9226
9226
|
"phase-id": (J = i.value) == null ? void 0 : J.id,
|
|
9227
9227
|
milestone: r.value,
|
|
9228
9228
|
"activity-id": (ae = u.value) == null ? void 0 : ae.id,
|
|
@@ -9237,19 +9237,19 @@ const _v = {
|
|
|
9237
9237
|
u.value ? (p(), P(Zn, {
|
|
9238
9238
|
key: 0,
|
|
9239
9239
|
activity: u.value,
|
|
9240
|
-
"activity-types":
|
|
9240
|
+
"activity-types": M.activityTypes,
|
|
9241
9241
|
breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(ne = r.value) == null ? void 0 : ne.name}`,
|
|
9242
9242
|
"milestone-id": (re = r.value) == null ? void 0 : re.id,
|
|
9243
9243
|
"template-activities": c.value,
|
|
9244
9244
|
"template-milestones": l.value,
|
|
9245
9245
|
"is-template": !0,
|
|
9246
9246
|
"is-editable": !0,
|
|
9247
|
-
users:
|
|
9247
|
+
users: M.users,
|
|
9248
9248
|
"onUpdate:activity": m[2] || (m[2] = (Y) => {
|
|
9249
9249
|
u.value && H(Y);
|
|
9250
9250
|
}),
|
|
9251
9251
|
"attachment-enabled": !1,
|
|
9252
|
-
onClose:
|
|
9252
|
+
onClose: M.$router.back,
|
|
9253
9253
|
onAddSubtask: R,
|
|
9254
9254
|
onUpdateSubtask: Z,
|
|
9255
9255
|
onDeleteSubtask: ie,
|
|
@@ -9257,7 +9257,7 @@ const _v = {
|
|
|
9257
9257
|
onRemoveFile: N
|
|
9258
9258
|
}, {
|
|
9259
9259
|
default: W((Y) => [
|
|
9260
|
-
te(
|
|
9260
|
+
te(M.$slots, "activityDetailsBody", pa(fa(Y)))
|
|
9261
9261
|
]),
|
|
9262
9262
|
_: 3
|
|
9263
9263
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
|
|
@@ -9279,7 +9279,7 @@ const _v = {
|
|
|
9279
9279
|
};
|
|
9280
9280
|
}
|
|
9281
9281
|
});
|
|
9282
|
-
const
|
|
9282
|
+
const Mv = {
|
|
9283
9283
|
key: 0,
|
|
9284
9284
|
class: "ao-card__header"
|
|
9285
9285
|
}, Tv = { class: "ao-card__body" }, Ov = {
|
|
@@ -9303,7 +9303,7 @@ const Av = {
|
|
|
9303
9303
|
])
|
|
9304
9304
|
}, {
|
|
9305
9305
|
default: W(() => [
|
|
9306
|
-
e.$slots.header ? (p(), g("header",
|
|
9306
|
+
e.$slots.header ? (p(), g("header", Mv, [
|
|
9307
9307
|
te(e.$slots, "header")
|
|
9308
9308
|
])) : T("", !0),
|
|
9309
9309
|
v("div", Tv, [
|
|
@@ -9382,7 +9382,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9382
9382
|
"is-clickable": c.isEditable
|
|
9383
9383
|
}, Za({
|
|
9384
9384
|
default: W(() => [
|
|
9385
|
-
|
|
9385
|
+
A(ye, {
|
|
9386
9386
|
id: c.id,
|
|
9387
9387
|
class: "ao-card-project-phase__title",
|
|
9388
9388
|
title: s.value || "",
|
|
@@ -9395,13 +9395,13 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9395
9395
|
v("div", Iv, [
|
|
9396
9396
|
o.value ? (p(), g("div", Lv, [
|
|
9397
9397
|
v("div", Hv, [
|
|
9398
|
-
|
|
9398
|
+
A(pe, {
|
|
9399
9399
|
name: "MountainFlagOutlineRounded",
|
|
9400
9400
|
size: "sm"
|
|
9401
9401
|
}),
|
|
9402
9402
|
v("span", Dv, G(i.value) + " / " + G(o.value), 1)
|
|
9403
9403
|
]),
|
|
9404
|
-
|
|
9404
|
+
A(qn, {
|
|
9405
9405
|
percentages: r.value,
|
|
9406
9406
|
class: "ao-card-project-phase__progress"
|
|
9407
9407
|
}, null, 8, ["percentages"]),
|
|
@@ -9435,7 +9435,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
|
|
|
9435
9435
|
name: "header",
|
|
9436
9436
|
fn: W(() => [
|
|
9437
9437
|
v("div", Ev, [
|
|
9438
|
-
|
|
9438
|
+
A(ce, {
|
|
9439
9439
|
class: "ao-card-project-phase__archive",
|
|
9440
9440
|
color: "primary",
|
|
9441
9441
|
variant: "ghost",
|
|
@@ -9521,10 +9521,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9521
9521
|
default: W(() => [
|
|
9522
9522
|
v("div", Nv, [
|
|
9523
9523
|
v("div", jv, [
|
|
9524
|
-
|
|
9524
|
+
A(Rv, {
|
|
9525
9525
|
color: l.color || ""
|
|
9526
9526
|
}, null, 8, ["color"]),
|
|
9527
|
-
|
|
9527
|
+
A(ye, {
|
|
9528
9528
|
id: l.id,
|
|
9529
9529
|
title: n.value || "",
|
|
9530
9530
|
level: 5,
|
|
@@ -9534,7 +9534,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9534
9534
|
}, null, 8, ["id", "title", "is-editable"])
|
|
9535
9535
|
]),
|
|
9536
9536
|
!l.readonly && l.isEditable ? (p(), g("div", Fv, [
|
|
9537
|
-
|
|
9537
|
+
A(ce, {
|
|
9538
9538
|
color: l.isSelected ? void 0 : "primary",
|
|
9539
9539
|
variant: "ghost",
|
|
9540
9540
|
"icon-name": "ArchiveOutlineRounded",
|
|
@@ -9550,13 +9550,13 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9550
9550
|
v("div", Zv, [
|
|
9551
9551
|
s.value ? (p(), g(ve, { key: 0 }, [
|
|
9552
9552
|
v("div", Wv, [
|
|
9553
|
-
|
|
9553
|
+
A(pe, {
|
|
9554
9554
|
name: "SelectCheckBox",
|
|
9555
9555
|
size: "sm"
|
|
9556
9556
|
}),
|
|
9557
9557
|
v("span", qv, G(o.value) + " / " + G(s.value), 1)
|
|
9558
9558
|
]),
|
|
9559
|
-
|
|
9559
|
+
A(qn, {
|
|
9560
9560
|
percentages: i.value,
|
|
9561
9561
|
class: "ao-card-project-milestone__progress"
|
|
9562
9562
|
}, null, 8, ["percentages"])
|
|
@@ -9581,7 +9581,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
|
|
|
9581
9581
|
v("span", Kv, G(Q(Tn)(l.deadline)), 1)
|
|
9582
9582
|
])) : T("", !0),
|
|
9583
9583
|
l.assignee ? (p(), g("div", Gv, [
|
|
9584
|
-
|
|
9584
|
+
A(Je, {
|
|
9585
9585
|
"user-name": Q(zs)(l.assignee),
|
|
9586
9586
|
"avatar-url": l.assignee.avatarUrl,
|
|
9587
9587
|
color: l.isSelected ? "black" : "primary",
|
|
@@ -9655,13 +9655,13 @@ const Qv = {
|
|
|
9655
9655
|
])
|
|
9656
9656
|
}, [
|
|
9657
9657
|
d.isEditable ? (p(), g("div", Qv, [
|
|
9658
|
-
|
|
9658
|
+
A(pe, {
|
|
9659
9659
|
name: "DragIndicator",
|
|
9660
9660
|
class: "ao-project-phase__drag-handle"
|
|
9661
9661
|
})
|
|
9662
9662
|
])) : T("", !0),
|
|
9663
9663
|
v("div", Jv, [
|
|
9664
|
-
|
|
9664
|
+
A(Bv, {
|
|
9665
9665
|
id: d.phase.id,
|
|
9666
9666
|
milestones: i.value,
|
|
9667
9667
|
name: d.phase.name,
|
|
@@ -9674,7 +9674,7 @@ const Qv = {
|
|
|
9674
9674
|
]),
|
|
9675
9675
|
v("div", e9, [
|
|
9676
9676
|
v("div", t9, [
|
|
9677
|
-
|
|
9677
|
+
A(Q(mt), He({
|
|
9678
9678
|
class: "ao-project-phase__milestones-list",
|
|
9679
9679
|
list: i.value,
|
|
9680
9680
|
disabled: d.readonly || !d.isEditable,
|
|
@@ -9684,7 +9684,7 @@ const Qv = {
|
|
|
9684
9684
|
item: W(({ element: b }) => {
|
|
9685
9685
|
var y;
|
|
9686
9686
|
return [
|
|
9687
|
-
|
|
9687
|
+
A(Xv, {
|
|
9688
9688
|
id: b.id,
|
|
9689
9689
|
name: b.name,
|
|
9690
9690
|
color: b.color,
|
|
@@ -9764,7 +9764,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9764
9764
|
e("addPhase", u);
|
|
9765
9765
|
};
|
|
9766
9766
|
return (u, f) => (p(), g("div", s9, [
|
|
9767
|
-
|
|
9767
|
+
A(Q(mt), {
|
|
9768
9768
|
class: "ao-project-phase__phases-list",
|
|
9769
9769
|
"model-value": u.phases,
|
|
9770
9770
|
"item-key": "id",
|
|
@@ -9772,7 +9772,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9772
9772
|
onChange: r
|
|
9773
9773
|
}, {
|
|
9774
9774
|
item: W(({ element: d }) => [
|
|
9775
|
-
|
|
9775
|
+
A(n9, {
|
|
9776
9776
|
phase: d,
|
|
9777
9777
|
"is-editable": !u.readonly && u.isEditable,
|
|
9778
9778
|
"closed-status": u.closedStatus,
|
|
@@ -9790,7 +9790,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
|
|
|
9790
9790
|
u.isEditable ? (p(), g("div", i9, [
|
|
9791
9791
|
o9,
|
|
9792
9792
|
v("div", r9, [
|
|
9793
|
-
|
|
9793
|
+
A(Ct, {
|
|
9794
9794
|
label: u.$t("project.phases.add"),
|
|
9795
9795
|
"icon-name": "Add",
|
|
9796
9796
|
class: "ao-project-phase__add-phase",
|
|
@@ -9820,7 +9820,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
|
|
|
9820
9820
|
};
|
|
9821
9821
|
return (r, l) => (p(), P(In, { size: "sm" }, {
|
|
9822
9822
|
header: W(() => [
|
|
9823
|
-
|
|
9823
|
+
A(ye, {
|
|
9824
9824
|
title: r.$t("project.template.add.title"),
|
|
9825
9825
|
level: 3
|
|
9826
9826
|
}, null, 8, ["title"])
|
|
@@ -9832,7 +9832,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
|
|
|
9832
9832
|
}, [
|
|
9833
9833
|
v("div", d9, [
|
|
9834
9834
|
v("div", p9, [
|
|
9835
|
-
|
|
9835
|
+
A($e, {
|
|
9836
9836
|
value: s.value,
|
|
9837
9837
|
options: n.value,
|
|
9838
9838
|
detached: !0,
|
|
@@ -9841,7 +9841,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
|
|
|
9841
9841
|
])
|
|
9842
9842
|
]),
|
|
9843
9843
|
v("footer", f9, [
|
|
9844
|
-
|
|
9844
|
+
A(ce, {
|
|
9845
9845
|
label: r.$t("project.template.add.label"),
|
|
9846
9846
|
type: "submit",
|
|
9847
9847
|
color: "primary",
|
|
@@ -9974,9 +9974,9 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9974
9974
|
return p(), g(ve, null, [
|
|
9975
9975
|
v("div", He({ class: "ao-project-overview" }, O.$attrs), [
|
|
9976
9976
|
v("div", g9, [
|
|
9977
|
-
|
|
9977
|
+
A(Ka, null, {
|
|
9978
9978
|
primary: W(() => [
|
|
9979
|
-
|
|
9979
|
+
A(ci, {
|
|
9980
9980
|
"is-left": !0,
|
|
9981
9981
|
"right-label": O.$t("project.switch.feed"),
|
|
9982
9982
|
"left-label": O.$t("project.switch.overview"),
|
|
@@ -9984,7 +9984,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
9984
9984
|
Z || O.$router.push({ name: Q(Fe).feed });
|
|
9985
9985
|
})
|
|
9986
9986
|
}, null, 8, ["right-label", "left-label"]),
|
|
9987
|
-
|
|
9987
|
+
A(ce, {
|
|
9988
9988
|
class: "ao-feed__show-archived",
|
|
9989
9989
|
size: "sm",
|
|
9990
9990
|
"icon-name": O.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -10009,7 +10009,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10009
10009
|
_: 1
|
|
10010
10010
|
}),
|
|
10011
10011
|
v("div", _9, [
|
|
10012
|
-
|
|
10012
|
+
A(u9, {
|
|
10013
10013
|
phases: O.phases,
|
|
10014
10014
|
"closed-status": O.closedStatus,
|
|
10015
10015
|
"is-editable": O.isEditable === !0,
|
|
@@ -10023,7 +10023,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10023
10023
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
10024
10024
|
])
|
|
10025
10025
|
]),
|
|
10026
|
-
|
|
10026
|
+
A(R, {
|
|
10027
10027
|
class: "ao-project__sidebar",
|
|
10028
10028
|
phases: O.phases,
|
|
10029
10029
|
"project-id": O.project.id,
|
|
@@ -10039,7 +10039,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
|
|
|
10039
10039
|
onUnarchiveActivity: w
|
|
10040
10040
|
}, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
|
|
10041
10041
|
(p(), P(Nt, { to: "body" }, [
|
|
10042
|
-
|
|
10042
|
+
A(R, {
|
|
10043
10043
|
name: "modal",
|
|
10044
10044
|
activities: _.value,
|
|
10045
10045
|
"is-task-checkable": O.isTaskCheckable,
|
|
@@ -10095,9 +10095,9 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10095
10095
|
}, k9 = { class: "ao-card-feed__body" }, S9 = {
|
|
10096
10096
|
key: 0,
|
|
10097
10097
|
class: "ao-card-feed__breadcrumbs"
|
|
10098
|
-
}, M9 = {
|
|
10099
|
-
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10100
10098
|
}, A9 = {
|
|
10099
|
+
class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
|
|
10100
|
+
}, M9 = {
|
|
10101
10101
|
key: 1,
|
|
10102
10102
|
class: "ao-card-feed__deadline"
|
|
10103
10103
|
}, T9 = { class: "ao-card-feed__footer" }, O9 = { class: "ao-card-feed__footer-row" }, E9 = { class: "ao-assignees" }, I9 = {
|
|
@@ -10158,7 +10158,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10158
10158
|
}, {
|
|
10159
10159
|
header: W(() => [
|
|
10160
10160
|
v("div", b9, [
|
|
10161
|
-
n.value ? (p(), P(
|
|
10161
|
+
n.value ? (p(), P(An, {
|
|
10162
10162
|
key: 0,
|
|
10163
10163
|
label: n.value,
|
|
10164
10164
|
class: "ao-card-feed__project",
|
|
@@ -10193,8 +10193,8 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10193
10193
|
default: W(() => [
|
|
10194
10194
|
v("div", k9, [
|
|
10195
10195
|
i.value ? (p(), g("span", S9, G(i.value), 1)) : T("", !0),
|
|
10196
|
-
v("div",
|
|
10197
|
-
|
|
10196
|
+
v("div", A9, [
|
|
10197
|
+
A(ye, {
|
|
10198
10198
|
id: h.id,
|
|
10199
10199
|
title: h.name,
|
|
10200
10200
|
level: 5,
|
|
@@ -10202,7 +10202,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10202
10202
|
"onUpdate:title": o
|
|
10203
10203
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10204
10204
|
]),
|
|
10205
|
-
h.deadline ? (p(), g("span",
|
|
10205
|
+
h.deadline ? (p(), g("span", M9, G(l.value), 1)) : T("", !0)
|
|
10206
10206
|
])
|
|
10207
10207
|
]),
|
|
10208
10208
|
footer: W(() => [
|
|
@@ -10213,7 +10213,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10213
10213
|
key: b.id
|
|
10214
10214
|
}, [
|
|
10215
10215
|
b ? (p(), g("li", I9, [
|
|
10216
|
-
|
|
10216
|
+
A(Je, {
|
|
10217
10217
|
"user-name": Q(zs)(b),
|
|
10218
10218
|
"avatar-url": b.avatarUrl,
|
|
10219
10219
|
"is-closable": !0,
|
|
@@ -10224,14 +10224,14 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10224
10224
|
]),
|
|
10225
10225
|
h.comments || h.attachments ? (p(), g("ul", L9, [
|
|
10226
10226
|
h.comments ? (p(), g("li", H9, [
|
|
10227
|
-
|
|
10227
|
+
A(pe, {
|
|
10228
10228
|
name: "ChatOutline",
|
|
10229
10229
|
size: "sm"
|
|
10230
10230
|
}),
|
|
10231
10231
|
v("span", D9, G(h.comments), 1)
|
|
10232
10232
|
])) : T("", !0),
|
|
10233
10233
|
h.attachments ? (p(), g("li", P9, [
|
|
10234
|
-
|
|
10234
|
+
A(pe, {
|
|
10235
10235
|
name: "AttachFileRounded",
|
|
10236
10236
|
size: "sm"
|
|
10237
10237
|
}),
|
|
@@ -10242,13 +10242,13 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10242
10242
|
v("div", B9, [
|
|
10243
10243
|
h.tasks && h.tasks.length ? (p(), g("div", R9, [
|
|
10244
10244
|
v("div", N9, [
|
|
10245
|
-
|
|
10245
|
+
A(pe, {
|
|
10246
10246
|
name: "SelectCheckBox",
|
|
10247
10247
|
size: "sm"
|
|
10248
10248
|
}),
|
|
10249
10249
|
v("span", j9, G(f.value) + " / " + G(u.value), 1)
|
|
10250
10250
|
]),
|
|
10251
|
-
|
|
10251
|
+
A(qn, {
|
|
10252
10252
|
percentages: d.value,
|
|
10253
10253
|
class: "ao-card-feed__progress"
|
|
10254
10254
|
}, null, 8, ["percentages"])
|
|
@@ -10267,7 +10267,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
|
|
|
10267
10267
|
*/
|
|
10268
10268
|
function wt(t) {
|
|
10269
10269
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
10270
|
-
/#/.test(t) ? e = U9(t) : /rgb/.test(t) ? e =
|
|
10270
|
+
/#/.test(t) ? e = U9(t) : /rgb/.test(t) ? e = As(t) : typeof t == "string" ? e = As(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
10271
10271
|
const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Z9(e);
|
|
10272
10272
|
return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
|
|
10273
10273
|
}
|
|
@@ -10292,7 +10292,7 @@ function U9(t) {
|
|
|
10292
10292
|
b: e(t.slice(4, 6))
|
|
10293
10293
|
};
|
|
10294
10294
|
}
|
|
10295
|
-
function
|
|
10295
|
+
function As(t) {
|
|
10296
10296
|
return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
|
|
10297
10297
|
r: Number(t[0]) || 0,
|
|
10298
10298
|
g: Number(t[1]) || 0,
|
|
@@ -10376,14 +10376,14 @@ function q9(t, e, a, n, s, o) {
|
|
|
10376
10376
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
|
|
10377
10377
|
},
|
|
10378
10378
|
[
|
|
10379
|
-
|
|
10379
|
+
A(
|
|
10380
10380
|
"canvas",
|
|
10381
10381
|
W9,
|
|
10382
10382
|
null,
|
|
10383
10383
|
512
|
|
10384
10384
|
/* NEED_PATCH */
|
|
10385
10385
|
),
|
|
10386
|
-
|
|
10386
|
+
A(
|
|
10387
10387
|
"div",
|
|
10388
10388
|
{
|
|
10389
10389
|
style: t.slideSaturationStyle,
|
|
@@ -10462,14 +10462,14 @@ function x9(t, e, a, n, s, o) {
|
|
|
10462
10462
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
|
|
10463
10463
|
},
|
|
10464
10464
|
[
|
|
10465
|
-
|
|
10465
|
+
A(
|
|
10466
10466
|
"canvas",
|
|
10467
10467
|
z9,
|
|
10468
10468
|
null,
|
|
10469
10469
|
512
|
|
10470
10470
|
/* NEED_PATCH */
|
|
10471
10471
|
),
|
|
10472
|
-
|
|
10472
|
+
A(
|
|
10473
10473
|
"div",
|
|
10474
10474
|
{
|
|
10475
10475
|
style: t.slideHueStyle,
|
|
@@ -10557,14 +10557,14 @@ function K9(t, e, a, n, s, o) {
|
|
|
10557
10557
|
onMousedown: e[1] || (e[1] = fe((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
|
|
10558
10558
|
},
|
|
10559
10559
|
[
|
|
10560
|
-
|
|
10560
|
+
A(
|
|
10561
10561
|
"canvas",
|
|
10562
10562
|
Y9,
|
|
10563
10563
|
null,
|
|
10564
10564
|
512
|
|
10565
10565
|
/* NEED_PATCH */
|
|
10566
10566
|
),
|
|
10567
|
-
|
|
10567
|
+
A(
|
|
10568
10568
|
"div",
|
|
10569
10569
|
{
|
|
10570
10570
|
style: t.slideAlphaStyle,
|
|
@@ -10682,7 +10682,7 @@ var Xn = z({
|
|
|
10682
10682
|
}
|
|
10683
10683
|
}
|
|
10684
10684
|
});
|
|
10685
|
-
const X9 = /* @__PURE__ */
|
|
10685
|
+
const X9 = /* @__PURE__ */ A(
|
|
10686
10686
|
"path",
|
|
10687
10687
|
{ d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
|
|
10688
10688
|
null,
|
|
@@ -10694,25 +10694,25 @@ const X9 = /* @__PURE__ */ M(
|
|
|
10694
10694
|
viewBox: "-16 -16 68 68",
|
|
10695
10695
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10696
10696
|
stroke: "#9099a4"
|
|
10697
|
-
}, J9 = /* @__PURE__ */
|
|
10697
|
+
}, J9 = /* @__PURE__ */ A(
|
|
10698
10698
|
"g",
|
|
10699
10699
|
{
|
|
10700
10700
|
fill: "none",
|
|
10701
10701
|
"fill-rule": "evenodd"
|
|
10702
10702
|
},
|
|
10703
10703
|
[
|
|
10704
|
-
/* @__PURE__ */
|
|
10704
|
+
/* @__PURE__ */ A("g", {
|
|
10705
10705
|
transform: "translate(1 1)",
|
|
10706
10706
|
"stroke-width": "4"
|
|
10707
10707
|
}, [
|
|
10708
|
-
/* @__PURE__ */
|
|
10708
|
+
/* @__PURE__ */ A("circle", {
|
|
10709
10709
|
"stroke-opacity": ".5",
|
|
10710
10710
|
cx: "18",
|
|
10711
10711
|
cy: "18",
|
|
10712
10712
|
r: "18"
|
|
10713
10713
|
}),
|
|
10714
|
-
/* @__PURE__ */
|
|
10715
|
-
/* @__PURE__ */
|
|
10714
|
+
/* @__PURE__ */ A("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
|
|
10715
|
+
/* @__PURE__ */ A("animateTransform", {
|
|
10716
10716
|
attributeName: "transform",
|
|
10717
10717
|
type: "rotate",
|
|
10718
10718
|
from: "0 18 18",
|
|
@@ -10784,14 +10784,14 @@ var Qn = z({
|
|
|
10784
10784
|
const t4 = { class: "color-type" }, a4 = { class: "name" };
|
|
10785
10785
|
function n4(t, e, a, n, s, o) {
|
|
10786
10786
|
return p(), P("div", t4, [
|
|
10787
|
-
|
|
10787
|
+
A(
|
|
10788
10788
|
"span",
|
|
10789
10789
|
a4,
|
|
10790
10790
|
G(t.name),
|
|
10791
10791
|
1
|
|
10792
10792
|
/* TEXT */
|
|
10793
10793
|
),
|
|
10794
|
-
Ke(
|
|
10794
|
+
Ke(A(
|
|
10795
10795
|
"input",
|
|
10796
10796
|
{
|
|
10797
10797
|
"onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
|
|
@@ -10855,7 +10855,7 @@ const s4 = { class: "colors" }, i4 = {
|
|
|
10855
10855
|
};
|
|
10856
10856
|
function o4(t, e, a, n, s, o) {
|
|
10857
10857
|
return p(), P("div", null, [
|
|
10858
|
-
|
|
10858
|
+
A("ul", s4, [
|
|
10859
10859
|
(p(!0), P(
|
|
10860
10860
|
ve,
|
|
10861
10861
|
null,
|
|
@@ -10864,7 +10864,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10864
10864
|
class: "item",
|
|
10865
10865
|
onClick: (r) => t.selectColor(i)
|
|
10866
10866
|
}, [
|
|
10867
|
-
|
|
10867
|
+
A(
|
|
10868
10868
|
"div",
|
|
10869
10869
|
{
|
|
10870
10870
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10874,7 +10874,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10874
10874
|
4
|
|
10875
10875
|
/* STYLE */
|
|
10876
10876
|
),
|
|
10877
|
-
|
|
10877
|
+
A(
|
|
10878
10878
|
"div",
|
|
10879
10879
|
{
|
|
10880
10880
|
style: { background: i },
|
|
@@ -10898,7 +10898,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10898
10898
|
class: "item",
|
|
10899
10899
|
onClick: (r) => t.selectColor(i)
|
|
10900
10900
|
}, [
|
|
10901
|
-
|
|
10901
|
+
A(
|
|
10902
10902
|
"div",
|
|
10903
10903
|
{
|
|
10904
10904
|
style: { background: `url(${t.imgAlphaBase64})` },
|
|
@@ -10908,7 +10908,7 @@ function o4(t, e, a, n, s, o) {
|
|
|
10908
10908
|
4
|
|
10909
10909
|
/* STYLE */
|
|
10910
10910
|
),
|
|
10911
|
-
|
|
10911
|
+
A(
|
|
10912
10912
|
"div",
|
|
10913
10913
|
{
|
|
10914
10914
|
style: { background: i },
|
|
@@ -11110,22 +11110,22 @@ function l4(t, e, a, n, s, o) {
|
|
|
11110
11110
|
style: { width: t.totalWidth + "px" }
|
|
11111
11111
|
},
|
|
11112
11112
|
[
|
|
11113
|
-
|
|
11114
|
-
|
|
11113
|
+
A("div", r4, [
|
|
11114
|
+
A(i, {
|
|
11115
11115
|
ref: "saturation",
|
|
11116
11116
|
color: t.rgbString,
|
|
11117
11117
|
hsv: t.hsv,
|
|
11118
11118
|
size: t.hueHeight,
|
|
11119
11119
|
onSelectSaturation: t.selectSaturation
|
|
11120
11120
|
}, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
|
|
11121
|
-
|
|
11121
|
+
A(r, {
|
|
11122
11122
|
ref: "hue",
|
|
11123
11123
|
hsv: t.hsv,
|
|
11124
11124
|
width: t.hueWidth,
|
|
11125
11125
|
height: t.hueHeight,
|
|
11126
11126
|
onSelectHue: t.selectHue
|
|
11127
11127
|
}, null, 8, ["hsv", "width", "height", "onSelectHue"]),
|
|
11128
|
-
|
|
11128
|
+
A(l, {
|
|
11129
11129
|
ref: "alpha",
|
|
11130
11130
|
color: t.rgbString,
|
|
11131
11131
|
rgba: t.rgba,
|
|
@@ -11134,14 +11134,14 @@ function l4(t, e, a, n, s, o) {
|
|
|
11134
11134
|
onSelectAlpha: t.selectAlpha
|
|
11135
11135
|
}, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
|
|
11136
11136
|
]),
|
|
11137
|
-
|
|
11137
|
+
A(
|
|
11138
11138
|
"div",
|
|
11139
11139
|
{
|
|
11140
11140
|
style: { height: t.previewHeight + "px" },
|
|
11141
11141
|
class: "color-show"
|
|
11142
11142
|
},
|
|
11143
11143
|
[
|
|
11144
|
-
|
|
11144
|
+
A(c, {
|
|
11145
11145
|
color: t.rgbaString,
|
|
11146
11146
|
width: t.previewWidth,
|
|
11147
11147
|
height: t.previewHeight
|
|
@@ -11157,21 +11157,21 @@ function l4(t, e, a, n, s, o) {
|
|
|
11157
11157
|
4
|
|
11158
11158
|
/* STYLE */
|
|
11159
11159
|
),
|
|
11160
|
-
|
|
11160
|
+
A(f, {
|
|
11161
11161
|
name: "HEX",
|
|
11162
11162
|
color: t.modelHex,
|
|
11163
11163
|
onInputColor: t.inputHex,
|
|
11164
11164
|
onInputFocus: t.handleFocus,
|
|
11165
11165
|
onInputBlur: t.handleBlur
|
|
11166
11166
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11167
|
-
|
|
11167
|
+
A(f, {
|
|
11168
11168
|
name: "RGBA",
|
|
11169
11169
|
color: t.modelRgba,
|
|
11170
11170
|
onInputColor: t.inputRgba,
|
|
11171
11171
|
onInputFocus: t.handleFocus,
|
|
11172
11172
|
onInputBlur: t.handleBlur
|
|
11173
11173
|
}, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
|
|
11174
|
-
|
|
11174
|
+
A(d, {
|
|
11175
11175
|
color: t.rgbaString,
|
|
11176
11176
|
"colors-default": t.colorsDefault,
|
|
11177
11177
|
"colors-history-key": t.colorsHistoryKey,
|
|
@@ -11237,7 +11237,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11237
11237
|
}, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-field--inline" }, b4 = { class: "ao-field__row ao-milestone__field-row" }, w4 = { class: "ao-field ao-milestone__field-multiselect" }, $4 = { class: "ao-project-milestone__body" }, k4 = {
|
|
11238
11238
|
key: 0,
|
|
11239
11239
|
class: "ao-project-milestone__footer"
|
|
11240
|
-
},
|
|
11240
|
+
}, Ms = /* @__PURE__ */ z({
|
|
11241
11241
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
11242
11242
|
props: {
|
|
11243
11243
|
milestoneId: {},
|
|
@@ -11344,7 +11344,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11344
11344
|
return p(), g("div", f4, [
|
|
11345
11345
|
v("header", v4, [
|
|
11346
11346
|
v("div", h4, [
|
|
11347
|
-
|
|
11347
|
+
A(ce, {
|
|
11348
11348
|
"icon-name": "CloseRounded",
|
|
11349
11349
|
variant: "ghost",
|
|
11350
11350
|
size: "sm",
|
|
@@ -11354,11 +11354,11 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11354
11354
|
]),
|
|
11355
11355
|
v("div", m4, [
|
|
11356
11356
|
v("div", C4, [
|
|
11357
|
-
|
|
11357
|
+
A(ye, {
|
|
11358
11358
|
title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
|
|
11359
11359
|
level: 5
|
|
11360
11360
|
}, null, 8, ["title"]),
|
|
11361
|
-
|
|
11361
|
+
A(bn, {
|
|
11362
11362
|
modelValue: k.value,
|
|
11363
11363
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
|
|
11364
11364
|
modelModifiers: { lazy: !0 },
|
|
@@ -11391,7 +11391,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11391
11391
|
]),
|
|
11392
11392
|
v("div", b4, [
|
|
11393
11393
|
v("label", w4, [
|
|
11394
|
-
|
|
11394
|
+
A($e, {
|
|
11395
11395
|
modelValue: y.value,
|
|
11396
11396
|
"onUpdate:modelValue": C[2] || (C[2] = (L) => y.value = L),
|
|
11397
11397
|
options: b.value,
|
|
@@ -11408,7 +11408,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11408
11408
|
option: L,
|
|
11409
11409
|
handleTagRemove: H
|
|
11410
11410
|
}) => [
|
|
11411
|
-
|
|
11411
|
+
A(Je, {
|
|
11412
11412
|
"user-name": L.label,
|
|
11413
11413
|
"avatar-url": L.avatar,
|
|
11414
11414
|
"is-closable": !0,
|
|
@@ -11419,14 +11419,14 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11419
11419
|
}, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
11420
11420
|
])
|
|
11421
11421
|
]),
|
|
11422
|
-
|
|
11422
|
+
A(p4, {
|
|
11423
11423
|
color: d.value,
|
|
11424
11424
|
"onUpdate:color": C[3] || (C[3] = (L) => d.value = L)
|
|
11425
11425
|
}, null, 8, ["color"])
|
|
11426
11426
|
])) : T("", !0)
|
|
11427
11427
|
]),
|
|
11428
11428
|
v("div", $4, [
|
|
11429
|
-
|
|
11429
|
+
A(Q(mt), He({
|
|
11430
11430
|
class: "ao-project-milestone__activities",
|
|
11431
11431
|
list: r.value,
|
|
11432
11432
|
disabled: !_.isEditable,
|
|
@@ -11436,7 +11436,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11436
11436
|
item: W(({ element: L }) => {
|
|
11437
11437
|
var H, F, U, q, O;
|
|
11438
11438
|
return [
|
|
11439
|
-
|
|
11439
|
+
A(di, {
|
|
11440
11440
|
id: L.id,
|
|
11441
11441
|
name: L.name || L.id,
|
|
11442
11442
|
"phase-name": (H = s.value) == null ? void 0 : H.name,
|
|
@@ -11496,7 +11496,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
|
|
|
11496
11496
|
_: 1
|
|
11497
11497
|
}, 16, ["list", "disabled"]),
|
|
11498
11498
|
_.isEditable ? (p(), g("div", k4, [
|
|
11499
|
-
|
|
11499
|
+
A(Ct, {
|
|
11500
11500
|
"icon-name": "Add",
|
|
11501
11501
|
label: _.$t("project.activity.add"),
|
|
11502
11502
|
onClick: c
|
|
@@ -11594,20 +11594,20 @@ const S4 = /* @__PURE__ */ z({
|
|
|
11594
11594
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
11595
11595
|
};
|
|
11596
11596
|
}
|
|
11597
|
-
}),
|
|
11597
|
+
}), A4 = { class: "ao-col-header" }, M4 = /* @__PURE__ */ z({
|
|
11598
11598
|
__name: "AoColHeader",
|
|
11599
11599
|
props: {
|
|
11600
11600
|
title: {},
|
|
11601
11601
|
items: {}
|
|
11602
11602
|
},
|
|
11603
11603
|
setup(t) {
|
|
11604
|
-
return (e, a) => (p(), g("header",
|
|
11605
|
-
|
|
11604
|
+
return (e, a) => (p(), g("header", A4, [
|
|
11605
|
+
A(ye, {
|
|
11606
11606
|
title: e.title,
|
|
11607
11607
|
class: "ao-col-header__title",
|
|
11608
11608
|
level: 4
|
|
11609
11609
|
}, null, 8, ["title"]),
|
|
11610
|
-
e.items ? (p(), P(
|
|
11610
|
+
e.items ? (p(), P(An, {
|
|
11611
11611
|
key: 0,
|
|
11612
11612
|
label: e.items,
|
|
11613
11613
|
class: "ao-col-header__items",
|
|
@@ -11664,7 +11664,7 @@ function hn(t) {
|
|
|
11664
11664
|
}
|
|
11665
11665
|
const D4 = O4 ? window : void 0;
|
|
11666
11666
|
function P4() {
|
|
11667
|
-
const t = ee(!1), e =
|
|
11667
|
+
const t = ee(!1), e = Mt();
|
|
11668
11668
|
return e && xt(() => {
|
|
11669
11669
|
t.value = !0;
|
|
11670
11670
|
}, e), t;
|
|
@@ -11783,7 +11783,7 @@ const R4 = {
|
|
|
11783
11783
|
var d;
|
|
11784
11784
|
return [
|
|
11785
11785
|
v("div", N4, [
|
|
11786
|
-
u.title ? (p(), P(
|
|
11786
|
+
u.title ? (p(), P(M4, {
|
|
11787
11787
|
key: 0,
|
|
11788
11788
|
title: u.title,
|
|
11789
11789
|
level: 3,
|
|
@@ -11792,7 +11792,7 @@ const R4 = {
|
|
|
11792
11792
|
])
|
|
11793
11793
|
];
|
|
11794
11794
|
}) : T("", !0),
|
|
11795
|
-
|
|
11795
|
+
A(Q(mt), He({
|
|
11796
11796
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
11797
11797
|
list: u.list,
|
|
11798
11798
|
"item-key": "id",
|
|
@@ -11813,7 +11813,7 @@ const R4 = {
|
|
|
11813
11813
|
item: W(({ element: d }) => {
|
|
11814
11814
|
var h, w, b, y, k, _, C, D, L;
|
|
11815
11815
|
return [
|
|
11816
|
-
|
|
11816
|
+
A(di, {
|
|
11817
11817
|
class: K(o(d) ? "ao-list-draggable" : ""),
|
|
11818
11818
|
id: d.id,
|
|
11819
11819
|
name: d.name,
|
|
@@ -11869,7 +11869,7 @@ const R4 = {
|
|
|
11869
11869
|
}),
|
|
11870
11870
|
footer: W(() => [
|
|
11871
11871
|
u.isLoading ? (p(), g("div", j4, [
|
|
11872
|
-
|
|
11872
|
+
A(pe, { name: "Loading" })
|
|
11873
11873
|
])) : u.hasMore ? (p(), g("div", {
|
|
11874
11874
|
key: 2,
|
|
11875
11875
|
ref_key: "scrollEnd",
|
|
@@ -11919,11 +11919,11 @@ const z4 = { class: "ao-field ao-search-field" }, x4 = ["value", "placeholder",
|
|
|
11919
11919
|
(...l) => Q(s) && Q(s)(...l)),
|
|
11920
11920
|
onKeypress: dt(n, ["enter"])
|
|
11921
11921
|
}, null, 40, x4),
|
|
11922
|
-
|
|
11922
|
+
A(pe, {
|
|
11923
11923
|
name: "SearchRounded",
|
|
11924
11924
|
class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
11925
11925
|
}, null, 8, ["class"]),
|
|
11926
|
-
|
|
11926
|
+
A(ce, {
|
|
11927
11927
|
"icon-name": "CloseRounded",
|
|
11928
11928
|
size: "sm",
|
|
11929
11929
|
color: "primary",
|
|
@@ -11962,7 +11962,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
11962
11962
|
de(
|
|
11963
11963
|
[() => a.statuses, () => a.activities, () => a.initialActivityId],
|
|
11964
11964
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11965
|
-
async ([E, N,
|
|
11965
|
+
async ([E, N, M], [m, I]) => {
|
|
11966
11966
|
i.value = Object.fromEntries(
|
|
11967
11967
|
E.map((J) => [
|
|
11968
11968
|
J.id,
|
|
@@ -11971,7 +11971,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
11971
11971
|
return ((le = ae.status) == null ? void 0 : le.id) === J.id;
|
|
11972
11972
|
})
|
|
11973
11973
|
])
|
|
11974
|
-
),
|
|
11974
|
+
), M && !r.value && (o(M), r.value = !0), l.value && Xe(N, I);
|
|
11975
11975
|
},
|
|
11976
11976
|
{ immediate: !0 }
|
|
11977
11977
|
);
|
|
@@ -11980,9 +11980,9 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
11980
11980
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((E = a.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
11981
11981
|
}), f = (E) => {
|
|
11982
11982
|
var J, ae;
|
|
11983
|
-
const N = (J = a.activities) == null ? void 0 : J.at(-1),
|
|
11983
|
+
const N = (J = a.activities) == null ? void 0 : J.at(-1), M = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, I = {
|
|
11984
11984
|
name: n("activity.defaultName", { idx: m + 1 }),
|
|
11985
|
-
rank:
|
|
11985
|
+
rank: M.format(),
|
|
11986
11986
|
statusId: E.id
|
|
11987
11987
|
};
|
|
11988
11988
|
a.filters.assigneeId.length > 0 && (I.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (I.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (I.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", I);
|
|
@@ -12038,9 +12038,9 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12038
12038
|
N && e("removeComment", E);
|
|
12039
12039
|
};
|
|
12040
12040
|
return (E, N) => {
|
|
12041
|
-
var
|
|
12041
|
+
var M;
|
|
12042
12042
|
return p(), g("div", K4, [
|
|
12043
|
-
|
|
12043
|
+
A(Ka, null, {
|
|
12044
12044
|
primary: W(() => [
|
|
12045
12045
|
v("div", G4, [
|
|
12046
12046
|
a.project ? (p(), P(ci, {
|
|
@@ -12052,7 +12052,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12052
12052
|
m && E.$router.push({ name: Q(Fe).project });
|
|
12053
12053
|
})
|
|
12054
12054
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
12055
|
-
|
|
12055
|
+
A(Y4, {
|
|
12056
12056
|
"model-value": E.searchText,
|
|
12057
12057
|
placeholder: E.$t("feed.search.placeholder"),
|
|
12058
12058
|
class: "ao-feed__search",
|
|
@@ -12096,7 +12096,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12096
12096
|
option: m,
|
|
12097
12097
|
handleTagRemove: I
|
|
12098
12098
|
}) => [
|
|
12099
|
-
|
|
12099
|
+
A(Je, {
|
|
12100
12100
|
"user-name": m.label,
|
|
12101
12101
|
"avatar-url": m.avatar,
|
|
12102
12102
|
"is-closable": !0,
|
|
@@ -12106,7 +12106,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12106
12106
|
_: 1
|
|
12107
12107
|
}, 8, ["model-value", "options", "placeholder"])) : T("", !0)
|
|
12108
12108
|
]),
|
|
12109
|
-
|
|
12109
|
+
A(ce, {
|
|
12110
12110
|
class: "ao-feed__only-important",
|
|
12111
12111
|
size: "sm",
|
|
12112
12112
|
"icon-name": E.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12118,7 +12118,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12118
12118
|
"aria-checked": E.showsOnlyImportant,
|
|
12119
12119
|
onClick: N[4] || (N[4] = (m) => E.$emit("update:showsOnlyImportant", !E.showsOnlyImportant))
|
|
12120
12120
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12121
|
-
|
|
12121
|
+
A(ce, {
|
|
12122
12122
|
class: "ao-feed__show-archived",
|
|
12123
12123
|
size: "sm",
|
|
12124
12124
|
"icon-name": E.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -12156,7 +12156,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
|
|
|
12156
12156
|
key: 0,
|
|
12157
12157
|
activity: E.selectedActivity,
|
|
12158
12158
|
"activity-types": E.activityTypes,
|
|
12159
|
-
"milestone-id": (
|
|
12159
|
+
"milestone-id": (M = E.selectedActivity.milestone) == null ? void 0 : M.id,
|
|
12160
12160
|
"template-activities": s.value,
|
|
12161
12161
|
users: E.users,
|
|
12162
12162
|
"user-id": E.userId,
|
|
@@ -12206,7 +12206,7 @@ const Dt = {
|
|
|
12206
12206
|
{
|
|
12207
12207
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
12208
12208
|
name: Dt.TEMPLATE_DETAILS,
|
|
12209
|
-
component:
|
|
12209
|
+
component: Av,
|
|
12210
12210
|
props: !0
|
|
12211
12211
|
}
|
|
12212
12212
|
]
|
|
@@ -12231,7 +12231,7 @@ const Dt = {
|
|
|
12231
12231
|
{
|
|
12232
12232
|
path: ":phaseId/:milestoneId",
|
|
12233
12233
|
name: Fe.milestone,
|
|
12234
|
-
component:
|
|
12234
|
+
component: Ms,
|
|
12235
12235
|
props: !0
|
|
12236
12236
|
},
|
|
12237
12237
|
{
|
|
@@ -12239,7 +12239,7 @@ const Dt = {
|
|
|
12239
12239
|
name: Fe.activity,
|
|
12240
12240
|
props: { default: !0, modal: !0 },
|
|
12241
12241
|
components: {
|
|
12242
|
-
default:
|
|
12242
|
+
default: Ms,
|
|
12243
12243
|
modal: S4
|
|
12244
12244
|
}
|
|
12245
12245
|
}
|
|
@@ -12294,9 +12294,9 @@ const Dt = {
|
|
|
12294
12294
|
}
|
|
12295
12295
|
};
|
|
12296
12296
|
return (r, l) => (p(), g("div", J4, [
|
|
12297
|
-
|
|
12297
|
+
A(Ka, null, {
|
|
12298
12298
|
secondary: W(() => [
|
|
12299
|
-
|
|
12299
|
+
A(ce, {
|
|
12300
12300
|
label: r.$t("templates.new"),
|
|
12301
12301
|
color: "primary",
|
|
12302
12302
|
"icon-name": "Add",
|
|
@@ -12306,7 +12306,7 @@ const Dt = {
|
|
|
12306
12306
|
]),
|
|
12307
12307
|
_: 1
|
|
12308
12308
|
}),
|
|
12309
|
-
|
|
12309
|
+
A(Q(mt), {
|
|
12310
12310
|
"model-value": r.templates,
|
|
12311
12311
|
class: "ao-templates__list",
|
|
12312
12312
|
"item-key": "id",
|
|
@@ -12316,12 +12316,12 @@ const Dt = {
|
|
|
12316
12316
|
item: W(({ element: c }) => {
|
|
12317
12317
|
var u;
|
|
12318
12318
|
return [
|
|
12319
|
-
|
|
12319
|
+
A(Q3, {
|
|
12320
12320
|
id: c.id,
|
|
12321
12321
|
title: c.name,
|
|
12322
12322
|
phases: c.phases,
|
|
12323
12323
|
milestones: (u = c.phases) != null && u.length ? Q(S3)(c.phases) : 0,
|
|
12324
|
-
activities: c.phases ? Q(
|
|
12324
|
+
activities: c.phases ? Q(A3)(c.phases) : 0,
|
|
12325
12325
|
"updated-at": c.updatedAt,
|
|
12326
12326
|
"updated-by": c.updatedBy,
|
|
12327
12327
|
onUpdateTitle: (f) => o(c.id, f),
|
|
@@ -12412,6 +12412,7 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ z({
|
|
|
12412
12412
|
}
|
|
12413
12413
|
});
|
|
12414
12414
|
export {
|
|
12415
|
+
Je as AoAvatar,
|
|
12415
12416
|
di as AoCardFeed,
|
|
12416
12417
|
g8 as AoCheckboxField,
|
|
12417
12418
|
Q4 as AoFeed,
|
|
@@ -12419,7 +12420,7 @@ export {
|
|
|
12419
12420
|
C8 as AoInputField,
|
|
12420
12421
|
$e as AoMultiselect,
|
|
12421
12422
|
u9 as AoProjectPhases,
|
|
12422
|
-
|
|
12423
|
+
Av as AoTemplateDetails,
|
|
12423
12424
|
d8 as AoTemplates,
|
|
12424
12425
|
e8 as AoTemplatesList,
|
|
12425
12426
|
F2 as TemplateItemTypeEnum,
|