@26lights/orcha 0.32.7 → 0.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +233 -225
- package/dist/orcha.umd.js +1 -1
- package/dist/src/components/AoActivityDetails.vue.d.ts +8 -0
- package/dist/src/views/AoFeed.vue.d.ts +8 -0
- package/dist/src/views/AoProjectOverviewActivityDetails.vue.d.ts +8 -0
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, openBlock as d, createBlock as B, unref as Y, mergeProps as Se, createElementBlock as m, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as $, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as G, openBlock as d, createBlock as B, unref as Y, mergeProps as Se, createElementBlock as m, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as $, resolveDynamicComponent as xe, normalizeClass as X, renderSlot as Q, toDisplayString as Z, createCommentVNode as M, ref as J, watch as de, nextTick as Ie, withKeys as Ke, toHandlers as vs, withCtx as U, createTextVNode as s1, createVNode as S, normalizeStyle as ca, withModifiers as Ce, createSlots as n1, Fragment as ve, renderList as ye, onMounted as Ht, onBeforeUnmount as fs, onUnmounted as va, toRefs as $e, getCurrentInstance as nt, toRef as pt, normalizeProps as Pt, guardReactiveProps as Bt, onUpdated as ps, withDirectives as Ue, vModelText as at, vModelCheckbox as x1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, toHandlerKey as _s } from "vue";
|
|
2
2
|
import { RouterView as gs } from "vue-router";
|
|
3
3
|
import Je from "vuedraggable";
|
|
4
4
|
const c8 = /* @__PURE__ */ G({
|
|
@@ -89,20 +89,20 @@ const Fs = /* @__PURE__ */ P(Ns, [["render", Zs]]), qs = {}, zs = {
|
|
|
89
89
|
function Ks(a, e) {
|
|
90
90
|
return d(), m("svg", zs, Ys);
|
|
91
91
|
}
|
|
92
|
-
const Gs = /* @__PURE__ */ P(qs, [["render", Ks]]), Xs = {},
|
|
92
|
+
const Gs = /* @__PURE__ */ P(qs, [["render", Ks]]), Xs = {}, Qs = {
|
|
93
93
|
width: "24",
|
|
94
94
|
height: "24",
|
|
95
95
|
viewBox: "0 0 24 24",
|
|
96
96
|
fill: "none",
|
|
97
97
|
xmlns: "http://www.w3.org/2000/svg"
|
|
98
|
-
},
|
|
98
|
+
}, xs = /* @__PURE__ */ v("path", {
|
|
99
99
|
d: "M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16V13H16C16.2833 13 16.5207 12.904 16.712 12.712C16.904 12.5207 17 12.2833 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.5207 11.0957 16.2833 11 16 11H13V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V11H8C7.71667 11 7.479 11.0957 7.287 11.287C7.09567 11.479 7 11.7167 7 12C7 12.2833 7.09567 12.5207 7.287 12.712C7.479 12.904 7.71667 13 8 13H11V16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM5 21C4.45 21 3.979 20.8043 3.587 20.413C3.19567 20.021 3 19.55 3 19V5C3 4.45 3.19567 3.979 3.587 3.587C3.979 3.19567 4.45 3 5 3H19C19.55 3 20.021 3.19567 20.413 3.587C20.8043 3.979 21 4.45 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.021 20.8043 19.55 21 19 21H5ZM5 19H19V5H5V19ZM5 19V5V19Z",
|
|
100
100
|
fill: "black"
|
|
101
101
|
}, null, -1), Js = [
|
|
102
|
-
|
|
102
|
+
xs
|
|
103
103
|
];
|
|
104
104
|
function en(a, e) {
|
|
105
|
-
return d(), m("svg",
|
|
105
|
+
return d(), m("svg", Qs, Js);
|
|
106
106
|
}
|
|
107
107
|
const tn = /* @__PURE__ */ P(Xs, [["render", en]]), an = {}, sn = {
|
|
108
108
|
width: "24",
|
|
@@ -224,7 +224,7 @@ const qn = /* @__PURE__ */ P(Rn, [["render", Fn]]), zn = {}, Wn = {
|
|
|
224
224
|
function Gn(a, e) {
|
|
225
225
|
return d(), m("svg", Wn, Kn);
|
|
226
226
|
}
|
|
227
|
-
const Xn = /* @__PURE__ */ P(zn, [["render", Gn]]),
|
|
227
|
+
const Xn = /* @__PURE__ */ P(zn, [["render", Gn]]), Qn = {}, xn = {
|
|
228
228
|
width: "24",
|
|
229
229
|
height: "24",
|
|
230
230
|
viewBox: "0 0 24 24",
|
|
@@ -237,9 +237,9 @@ const Xn = /* @__PURE__ */ P(zn, [["render", Gn]]), xn = {}, Qn = {
|
|
|
237
237
|
Jn
|
|
238
238
|
];
|
|
239
239
|
function ti(a, e) {
|
|
240
|
-
return d(), m("svg",
|
|
240
|
+
return d(), m("svg", xn, ei);
|
|
241
241
|
}
|
|
242
|
-
const ai = /* @__PURE__ */ P(
|
|
242
|
+
const ai = /* @__PURE__ */ P(Qn, [["render", ti]]), si = {}, ni = {
|
|
243
243
|
width: "24",
|
|
244
244
|
height: "24",
|
|
245
245
|
viewBox: "0 0 24 24",
|
|
@@ -359,7 +359,7 @@ const qi = /* @__PURE__ */ P(Ri, [["render", Fi]]), zi = {}, Wi = {
|
|
|
359
359
|
function Gi(a, e) {
|
|
360
360
|
return d(), m("svg", Wi, Ki);
|
|
361
361
|
}
|
|
362
|
-
const Xi = /* @__PURE__ */ P(zi, [["render", Gi]]),
|
|
362
|
+
const Xi = /* @__PURE__ */ P(zi, [["render", Gi]]), Qi = {}, xi = {
|
|
363
363
|
width: "24",
|
|
364
364
|
height: "24",
|
|
365
365
|
viewBox: "0 0 24 24",
|
|
@@ -372,9 +372,9 @@ const Xi = /* @__PURE__ */ P(zi, [["render", Gi]]), xi = {}, Qi = {
|
|
|
372
372
|
Ji
|
|
373
373
|
];
|
|
374
374
|
function to(a, e) {
|
|
375
|
-
return d(), m("svg",
|
|
375
|
+
return d(), m("svg", xi, eo);
|
|
376
376
|
}
|
|
377
|
-
const ao = /* @__PURE__ */ P(
|
|
377
|
+
const ao = /* @__PURE__ */ P(Qi, [["render", to]]), so = {}, no = {
|
|
378
378
|
width: "24",
|
|
379
379
|
height: "24",
|
|
380
380
|
viewBox: "0 0 24 24",
|
|
@@ -494,7 +494,7 @@ const zo = /* @__PURE__ */ P(Uo, [["render", qo]]), Wo = {}, Yo = {
|
|
|
494
494
|
function Xo(a, e) {
|
|
495
495
|
return d(), m("svg", Yo, Go);
|
|
496
496
|
}
|
|
497
|
-
const
|
|
497
|
+
const Qo = /* @__PURE__ */ P(Wo, [["render", Xo]]), xo = {}, Jo = {
|
|
498
498
|
width: "24",
|
|
499
499
|
height: "24",
|
|
500
500
|
viewBox: "0 0 24 24",
|
|
@@ -509,7 +509,7 @@ const xo = /* @__PURE__ */ P(Wo, [["render", Xo]]), Qo = {}, Jo = {
|
|
|
509
509
|
function al(a, e) {
|
|
510
510
|
return d(), m("svg", Jo, tl);
|
|
511
511
|
}
|
|
512
|
-
const sl = /* @__PURE__ */ P(
|
|
512
|
+
const sl = /* @__PURE__ */ P(xo, [["render", al]]), nl = {}, il = {
|
|
513
513
|
width: "24",
|
|
514
514
|
height: "24",
|
|
515
515
|
viewBox: "0 0 24 24",
|
|
@@ -638,15 +638,15 @@ const I1 = (a) => (us("data-v-ad6da4a9"), a = a(), ds(), a), Yl = {
|
|
|
638
638
|
cx: "18",
|
|
639
639
|
cy: "12",
|
|
640
640
|
r: "2"
|
|
641
|
-
}, null, -1)),
|
|
641
|
+
}, null, -1)), Ql = [
|
|
642
642
|
Kl,
|
|
643
643
|
Gl,
|
|
644
644
|
Xl
|
|
645
645
|
];
|
|
646
|
-
function
|
|
647
|
-
return d(), m("svg", Yl,
|
|
646
|
+
function xl(a, e, t, n, s, o) {
|
|
647
|
+
return d(), m("svg", Yl, Ql);
|
|
648
648
|
}
|
|
649
|
-
const Jl = /* @__PURE__ */ P(Wl, [["render",
|
|
649
|
+
const Jl = /* @__PURE__ */ P(Wl, [["render", xl], ["__scopeId", "data-v-ad6da4a9"]]), er = {}, tr = {
|
|
650
650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
651
651
|
height: "24",
|
|
652
652
|
viewBox: "0 -960 960 960",
|
|
@@ -771,13 +771,13 @@ const Yr = /* @__PURE__ */ P(Zr, [["render", Wr]]), Kr = {}, Gr = {
|
|
|
771
771
|
}, Xr = /* @__PURE__ */ v("path", {
|
|
772
772
|
d: "M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",
|
|
773
773
|
fill: "black"
|
|
774
|
-
}, null, -1),
|
|
774
|
+
}, null, -1), Qr = [
|
|
775
775
|
Xr
|
|
776
776
|
];
|
|
777
|
-
function
|
|
778
|
-
return d(), m("svg", Gr,
|
|
777
|
+
function xr(a, e) {
|
|
778
|
+
return d(), m("svg", Gr, Qr);
|
|
779
779
|
}
|
|
780
|
-
const Jr = /* @__PURE__ */ P(Kr, [["render",
|
|
780
|
+
const Jr = /* @__PURE__ */ P(Kr, [["render", xr]]), e2 = {}, t2 = {
|
|
781
781
|
width: "24",
|
|
782
782
|
height: "24",
|
|
783
783
|
viewBox: "0 0 24 24",
|
|
@@ -903,13 +903,13 @@ const Y2 = /* @__PURE__ */ P(Z2, [["render", W2]]), K2 = {}, G2 = {
|
|
|
903
903
|
}, X2 = /* @__PURE__ */ v("path", {
|
|
904
904
|
d: "M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 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 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",
|
|
905
905
|
fill: "black"
|
|
906
|
-
}, null, -1),
|
|
906
|
+
}, null, -1), Q2 = [
|
|
907
907
|
X2
|
|
908
908
|
];
|
|
909
|
-
function
|
|
910
|
-
return d(), m("svg", G2,
|
|
909
|
+
function x2(a, e) {
|
|
910
|
+
return d(), m("svg", G2, Q2);
|
|
911
911
|
}
|
|
912
|
-
const J2 = /* @__PURE__ */ P(K2, [["render",
|
|
912
|
+
const J2 = /* @__PURE__ */ P(K2, [["render", x2]]), eu = {}, tu = {
|
|
913
913
|
width: "24",
|
|
914
914
|
height: "24",
|
|
915
915
|
viewBox: "0 0 24 24",
|
|
@@ -1038,13 +1038,13 @@ const Yu = /* @__PURE__ */ P(Zu, [["render", Wu]]), Ku = {}, Gu = {
|
|
|
1038
1038
|
}, Xu = /* @__PURE__ */ v("path", {
|
|
1039
1039
|
d: "M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",
|
|
1040
1040
|
fill: "black"
|
|
1041
|
-
}, null, -1),
|
|
1041
|
+
}, null, -1), Qu = [
|
|
1042
1042
|
Xu
|
|
1043
1043
|
];
|
|
1044
|
-
function
|
|
1045
|
-
return d(), m("svg", Gu,
|
|
1044
|
+
function xu(a, e) {
|
|
1045
|
+
return d(), m("svg", Gu, Qu);
|
|
1046
1046
|
}
|
|
1047
|
-
const Ju = /* @__PURE__ */ P(Ku, [["render",
|
|
1047
|
+
const Ju = /* @__PURE__ */ P(Ku, [["render", xu]]), ed = {}, td = {
|
|
1048
1048
|
width: "24",
|
|
1049
1049
|
height: "24",
|
|
1050
1050
|
viewBox: "0 0 24 24",
|
|
@@ -1092,7 +1092,7 @@ const id = /* @__PURE__ */ P(ed, [["render", nd]]), od = /* @__PURE__ */ Object.
|
|
|
1092
1092
|
EditOutline: Vo,
|
|
1093
1093
|
ErrorOutlineRounded: Ro,
|
|
1094
1094
|
FilterListRounded: zo,
|
|
1095
|
-
FlagRounded:
|
|
1095
|
+
FlagRounded: Qo,
|
|
1096
1096
|
FlowsheetOutlineRounded: sl,
|
|
1097
1097
|
GifBox: ul,
|
|
1098
1098
|
GroupsOutline: hl,
|
|
@@ -1154,7 +1154,7 @@ const id = /* @__PURE__ */ P(ed, [["render", nd]]), od = /* @__PURE__ */ Object.
|
|
|
1154
1154
|
},
|
|
1155
1155
|
setup(a) {
|
|
1156
1156
|
const e = a, t = $(() => od[e.name]);
|
|
1157
|
-
return (n, s) => (d(), B(
|
|
1157
|
+
return (n, s) => (d(), B(xe(t.value), {
|
|
1158
1158
|
class: X(["ao-icon", `ao-icon--${n.size}`])
|
|
1159
1159
|
}, null, 8, ["class"]));
|
|
1160
1160
|
}
|
|
@@ -1191,7 +1191,7 @@ const ud = ["type"], dd = {
|
|
|
1191
1191
|
s.$attrs.disabled ? "ao-button--is-disabled" : ""
|
|
1192
1192
|
])
|
|
1193
1193
|
}, [
|
|
1194
|
-
|
|
1194
|
+
Q(s.$slots, "default", {}, () => [
|
|
1195
1195
|
s.label ? (d(), m("span", dd, Z(s.label), 1)) : M("", !0)
|
|
1196
1196
|
]),
|
|
1197
1197
|
n.value ? (d(), B(ce, {
|
|
@@ -1266,7 +1266,7 @@ const me = /* @__PURE__ */ G({
|
|
|
1266
1266
|
(T) => {
|
|
1267
1267
|
T || f();
|
|
1268
1268
|
}
|
|
1269
|
-
), (T, _) => (d(), B(
|
|
1269
|
+
), (T, _) => (d(), B(xe(u.value), Se({
|
|
1270
1270
|
id: T.id,
|
|
1271
1271
|
ref_key: "target",
|
|
1272
1272
|
ref: n,
|
|
@@ -1332,7 +1332,7 @@ const cd = {
|
|
|
1332
1332
|
const t = (n) => {
|
|
1333
1333
|
e("update:title", n);
|
|
1334
1334
|
};
|
|
1335
|
-
return (n, s) => (d(), B(
|
|
1335
|
+
return (n, s) => (d(), B(xe(n.tagName), {
|
|
1336
1336
|
class: X(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
|
|
1337
1337
|
}, {
|
|
1338
1338
|
default: U(() => [
|
|
@@ -1359,22 +1359,22 @@ const cd = {
|
|
|
1359
1359
|
"is-editable": !0,
|
|
1360
1360
|
"onUpdate:title": t
|
|
1361
1361
|
}, null, 8, ["id", "title"]),
|
|
1362
|
-
|
|
1362
|
+
Q(n.$slots, "subtitle", {}, () => [
|
|
1363
1363
|
n.subtitle ? (d(), m("span", hd, Z(n.subtitle), 1)) : M("", !0)
|
|
1364
1364
|
])
|
|
1365
1365
|
]),
|
|
1366
1366
|
n.$slots.header ? (d(), m("div", md, [
|
|
1367
|
-
|
|
1367
|
+
Q(n.$slots, "header")
|
|
1368
1368
|
])) : M("", !0)
|
|
1369
1369
|
]),
|
|
1370
1370
|
n.$slots.default ? (d(), m("div", Cd, [
|
|
1371
|
-
|
|
1371
|
+
Q(n.$slots, "default")
|
|
1372
1372
|
])) : M("", !0),
|
|
1373
1373
|
n.$slots.footer ? (d(), m("div", _d, [
|
|
1374
|
-
|
|
1374
|
+
Q(n.$slots, "footer")
|
|
1375
1375
|
])) : M("", !0),
|
|
1376
1376
|
n.$slots.secondary ? (d(), m("div", gd, [
|
|
1377
|
-
|
|
1377
|
+
Q(n.$slots, "secondary")
|
|
1378
1378
|
])) : M("", !0)
|
|
1379
1379
|
]),
|
|
1380
1380
|
_: 3
|
|
@@ -1406,7 +1406,7 @@ const O1 = /* @__PURE__ */ G({
|
|
|
1406
1406
|
]),
|
|
1407
1407
|
style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
|
|
1408
1408
|
}, [
|
|
1409
|
-
(d(), B(
|
|
1409
|
+
(d(), B(xe(t.value), Se({ class: "ao-tag__label" }, n.value, {
|
|
1410
1410
|
onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
|
|
1411
1411
|
}), {
|
|
1412
1412
|
default: U(() => [
|
|
@@ -1528,7 +1528,7 @@ function Id(a) {
|
|
|
1528
1528
|
var n = e.getTime(), s = t - n;
|
|
1529
1529
|
return Math.floor(s / Ed) + 1;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Qt(a) {
|
|
1532
1532
|
ge(1, arguments);
|
|
1533
1533
|
var e = 1, t = Pe(a), n = t.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
|
|
1534
1534
|
return t.setUTCDate(t.getUTCDate() - s), t.setUTCHours(0, 0, 0, 0), t;
|
|
@@ -1537,25 +1537,25 @@ function ga(a) {
|
|
|
1537
1537
|
ge(1, arguments);
|
|
1538
1538
|
var e = Pe(a), t = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
1539
1539
|
n.setUTCFullYear(t + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
1540
|
-
var s =
|
|
1540
|
+
var s = Qt(n), o = /* @__PURE__ */ new Date(0);
|
|
1541
1541
|
o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
|
|
1542
|
-
var i =
|
|
1542
|
+
var i = Qt(o);
|
|
1543
1543
|
return e.getTime() >= s.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
|
|
1544
1544
|
}
|
|
1545
1545
|
function Od(a) {
|
|
1546
1546
|
ge(1, arguments);
|
|
1547
1547
|
var e = ga(a), t = /* @__PURE__ */ new Date(0);
|
|
1548
1548
|
t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
1549
|
-
var n =
|
|
1549
|
+
var n = Qt(t);
|
|
1550
1550
|
return n;
|
|
1551
1551
|
}
|
|
1552
1552
|
var Ld = 6048e5;
|
|
1553
1553
|
function Vd(a) {
|
|
1554
1554
|
ge(1, arguments);
|
|
1555
|
-
var e = Pe(a), t =
|
|
1555
|
+
var e = Pe(a), t = Qt(e).getTime() - Od(e).getTime();
|
|
1556
1556
|
return Math.round(t / Ld) + 1;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function xt(a, e) {
|
|
1559
1559
|
var t, n, s, o, i, l, u, r;
|
|
1560
1560
|
ge(1, arguments);
|
|
1561
1561
|
var c = o1(), f = Ge((t = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : c.weekStartsOn) !== null && n !== void 0 ? n : (u = c.locale) === null || u === void 0 || (r = u.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
@@ -1572,9 +1572,9 @@ function ya(a, e) {
|
|
|
1572
1572
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1573
1573
|
var b = /* @__PURE__ */ new Date(0);
|
|
1574
1574
|
b.setUTCFullYear(f + 1, 0, h), b.setUTCHours(0, 0, 0, 0);
|
|
1575
|
-
var T =
|
|
1575
|
+
var T = xt(b, e), _ = /* @__PURE__ */ new Date(0);
|
|
1576
1576
|
_.setUTCFullYear(f, 0, h), _.setUTCHours(0, 0, 0, 0);
|
|
1577
|
-
var k =
|
|
1577
|
+
var k = xt(_, e);
|
|
1578
1578
|
return c.getTime() >= T.getTime() ? f + 1 : c.getTime() >= k.getTime() ? f : f - 1;
|
|
1579
1579
|
}
|
|
1580
1580
|
function Dd(a, e) {
|
|
@@ -1582,13 +1582,13 @@ function Dd(a, e) {
|
|
|
1582
1582
|
ge(1, arguments);
|
|
1583
1583
|
var c = o1(), f = Ge((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = c.locale) === null || u === void 0 || (r = u.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = ya(a, e), h = /* @__PURE__ */ new Date(0);
|
|
1584
1584
|
h.setUTCFullYear(p, 0, f), h.setUTCHours(0, 0, 0, 0);
|
|
1585
|
-
var b =
|
|
1585
|
+
var b = xt(h, e);
|
|
1586
1586
|
return b;
|
|
1587
1587
|
}
|
|
1588
1588
|
var Hd = 6048e5;
|
|
1589
1589
|
function Pd(a, e) {
|
|
1590
1590
|
ge(1, arguments);
|
|
1591
|
-
var t = Pe(a), n =
|
|
1591
|
+
var t = Pe(a), n = xt(t, e).getTime() - Dd(t, e).getTime();
|
|
1592
1592
|
return Math.round(n / Hd) + 1;
|
|
1593
1593
|
}
|
|
1594
1594
|
function oe(a, e) {
|
|
@@ -2383,12 +2383,12 @@ var Xd = {
|
|
|
2383
2383
|
long: "MMMM do, y",
|
|
2384
2384
|
medium: "MMM d, y",
|
|
2385
2385
|
short: "MM/dd/yyyy"
|
|
2386
|
-
},
|
|
2386
|
+
}, Qd = {
|
|
2387
2387
|
full: "h:mm:ss a zzzz",
|
|
2388
2388
|
long: "h:mm:ss a z",
|
|
2389
2389
|
medium: "h:mm:ss a",
|
|
2390
2390
|
short: "h:mm a"
|
|
2391
|
-
},
|
|
2391
|
+
}, xd = {
|
|
2392
2392
|
full: "{{date}} 'at' {{time}}",
|
|
2393
2393
|
long: "{{date}} 'at' {{time}}",
|
|
2394
2394
|
medium: "{{date}}, {{time}}",
|
|
@@ -2399,11 +2399,11 @@ var Xd = {
|
|
|
2399
2399
|
defaultWidth: "full"
|
|
2400
2400
|
}),
|
|
2401
2401
|
time: k1({
|
|
2402
|
-
formats:
|
|
2402
|
+
formats: Qd,
|
|
2403
2403
|
defaultWidth: "full"
|
|
2404
2404
|
}),
|
|
2405
2405
|
dateTime: k1({
|
|
2406
|
-
formats:
|
|
2406
|
+
formats: xd,
|
|
2407
2407
|
defaultWidth: "full"
|
|
2408
2408
|
})
|
|
2409
2409
|
};
|
|
@@ -2806,9 +2806,9 @@ function zc(a, e) {
|
|
|
2806
2806
|
return /* @__PURE__ */ new Date(NaN);
|
|
2807
2807
|
var n = !!t[4], s = At(t[1]), o = At(t[2]) - 1, i = At(t[3]), l = At(t[4]), u = At(t[5]) - 1;
|
|
2808
2808
|
if (n)
|
|
2809
|
-
return
|
|
2809
|
+
return xc(e, l, u) ? Kc(e, l, u) : /* @__PURE__ */ new Date(NaN);
|
|
2810
2810
|
var r = /* @__PURE__ */ new Date(0);
|
|
2811
|
-
return !Xc(e, o, i) || !
|
|
2811
|
+
return !Xc(e, o, i) || !Qc(e, s) ? /* @__PURE__ */ new Date(NaN) : (r.setUTCFullYear(e, o, Math.max(s, i)), r);
|
|
2812
2812
|
}
|
|
2813
2813
|
function At(a) {
|
|
2814
2814
|
return a ? parseInt(a) : 1;
|
|
@@ -2845,10 +2845,10 @@ function wa(a) {
|
|
|
2845
2845
|
function Xc(a, e, t) {
|
|
2846
2846
|
return e >= 0 && e <= 11 && t >= 1 && t <= (Gc[e] || (wa(a) ? 29 : 28));
|
|
2847
2847
|
}
|
|
2848
|
-
function
|
|
2848
|
+
function Qc(a, e) {
|
|
2849
2849
|
return e >= 1 && e <= (wa(a) ? 366 : 365);
|
|
2850
2850
|
}
|
|
2851
|
-
function
|
|
2851
|
+
function xc(a, e, t) {
|
|
2852
2852
|
return e >= 1 && e <= 53 && t >= 0 && t <= 6;
|
|
2853
2853
|
}
|
|
2854
2854
|
function Jc(a, e, t) {
|
|
@@ -2898,7 +2898,7 @@ Rt.default = a0;
|
|
|
2898
2898
|
Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
2899
2899
|
gt.LexoInteger = void 0;
|
|
2900
2900
|
const Yt = l1, s0 = Rt;
|
|
2901
|
-
class
|
|
2901
|
+
class x {
|
|
2902
2902
|
constructor(e, t, n) {
|
|
2903
2903
|
this.sys = e, this.sign = t, this.mag = n;
|
|
2904
2904
|
}
|
|
@@ -2909,24 +2909,24 @@ class Q {
|
|
|
2909
2909
|
let i = o.length - 1;
|
|
2910
2910
|
for (let l = 0; i >= 0; ++l)
|
|
2911
2911
|
o[l] = t.toDigit(n.charAt(i)), --i;
|
|
2912
|
-
return
|
|
2912
|
+
return x.make(t, s, o);
|
|
2913
2913
|
}
|
|
2914
2914
|
static zero(e) {
|
|
2915
|
-
return new
|
|
2915
|
+
return new x(e, 0, x.ZERO_MAG);
|
|
2916
2916
|
}
|
|
2917
2917
|
static one(e) {
|
|
2918
|
-
return
|
|
2918
|
+
return x.make(e, 1, x.ONE_MAG);
|
|
2919
2919
|
}
|
|
2920
2920
|
static make(e, t, n) {
|
|
2921
2921
|
let s;
|
|
2922
2922
|
for (s = n.length; s > 0 && n[s - 1] === 0; --s)
|
|
2923
2923
|
;
|
|
2924
2924
|
if (s === 0)
|
|
2925
|
-
return
|
|
2925
|
+
return x.zero(e);
|
|
2926
2926
|
if (s === n.length)
|
|
2927
|
-
return new
|
|
2927
|
+
return new x(e, t, n);
|
|
2928
2928
|
const o = new Array(s).fill(0);
|
|
2929
|
-
return Yt.lexoHelper.arrayCopy(n, 0, o, 0, s), new
|
|
2929
|
+
return Yt.lexoHelper.arrayCopy(n, 0, o, 0, s), new x(e, t, o);
|
|
2930
2930
|
}
|
|
2931
2931
|
static add(e, t, n) {
|
|
2932
2932
|
const s = Math.max(t.length, n.length), o = new Array(s).fill(0);
|
|
@@ -2938,7 +2938,7 @@ class Q {
|
|
|
2938
2938
|
++i;
|
|
2939
2939
|
o[l] = c;
|
|
2940
2940
|
}
|
|
2941
|
-
return
|
|
2941
|
+
return x.extendWithCarry(o, i);
|
|
2942
2942
|
}
|
|
2943
2943
|
static extendWithCarry(e, t) {
|
|
2944
2944
|
if (t > 0) {
|
|
@@ -2948,8 +2948,8 @@ class Q {
|
|
|
2948
2948
|
return e;
|
|
2949
2949
|
}
|
|
2950
2950
|
static subtract(e, t, n) {
|
|
2951
|
-
const s =
|
|
2952
|
-
return o[o.length - 1] = 0,
|
|
2951
|
+
const s = x.complement(e, n, t.length), o = x.add(e, t, s);
|
|
2952
|
+
return o[o.length - 1] = 0, x.add(e, o, x.ONE_MAG);
|
|
2953
2953
|
}
|
|
2954
2954
|
static multiply(e, t, n) {
|
|
2955
2955
|
const s = new Array(t.length + n.length).fill(0);
|
|
@@ -2991,8 +2991,8 @@ class Q {
|
|
|
2991
2991
|
let n;
|
|
2992
2992
|
return this.sign === -1 ? (n = this.negate(), n.subtract(e).negate()) : (n = e.negate(), this.subtract(n));
|
|
2993
2993
|
}
|
|
2994
|
-
const t =
|
|
2995
|
-
return
|
|
2994
|
+
const t = x.add(this.sys, this.mag, e.mag);
|
|
2995
|
+
return x.make(this.sys, this.sign, t);
|
|
2996
2996
|
}
|
|
2997
2997
|
subtract(e) {
|
|
2998
2998
|
if (this.checkSystem(e), this.isZero())
|
|
@@ -3003,8 +3003,8 @@ class Q {
|
|
|
3003
3003
|
let n;
|
|
3004
3004
|
return this.sign === -1 ? (n = this.negate(), n.add(e).negate()) : (n = e.negate(), this.add(n));
|
|
3005
3005
|
}
|
|
3006
|
-
const t =
|
|
3007
|
-
return t === 0 ?
|
|
3006
|
+
const t = x.compare(this.mag, e.mag);
|
|
3007
|
+
return t === 0 ? x.zero(this.sys) : t < 0 ? x.make(this.sys, this.sign === -1 ? 1 : -1, x.subtract(this.sys, e.mag, this.mag)) : x.make(this.sys, this.sign === -1 ? -1 : 1, x.subtract(this.sys, this.mag, e.mag));
|
|
3008
3008
|
}
|
|
3009
3009
|
multiply(e) {
|
|
3010
3010
|
if (this.checkSystem(e), this.isZero())
|
|
@@ -3012,14 +3012,14 @@ class Q {
|
|
|
3012
3012
|
if (e.isZero())
|
|
3013
3013
|
return e;
|
|
3014
3014
|
if (this.isOneish())
|
|
3015
|
-
return this.sign === e.sign ?
|
|
3015
|
+
return this.sign === e.sign ? x.make(this.sys, 1, e.mag) : x.make(this.sys, -1, e.mag);
|
|
3016
3016
|
if (e.isOneish())
|
|
3017
|
-
return this.sign === e.sign ?
|
|
3018
|
-
const t =
|
|
3019
|
-
return this.sign === e.sign ?
|
|
3017
|
+
return this.sign === e.sign ? x.make(this.sys, 1, this.mag) : x.make(this.sys, -1, this.mag);
|
|
3018
|
+
const t = x.multiply(this.sys, this.mag, e.mag);
|
|
3019
|
+
return this.sign === e.sign ? x.make(this.sys, 1, t) : x.make(this.sys, -1, t);
|
|
3020
3020
|
}
|
|
3021
3021
|
negate() {
|
|
3022
|
-
return this.isZero() ? this :
|
|
3022
|
+
return this.isZero() ? this : x.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
|
|
3023
3023
|
}
|
|
3024
3024
|
shiftLeft(e = 1) {
|
|
3025
3025
|
if (e === 0)
|
|
@@ -3027,19 +3027,19 @@ class Q {
|
|
|
3027
3027
|
if (e < 0)
|
|
3028
3028
|
return this.shiftRight(Math.abs(e));
|
|
3029
3029
|
const t = new Array(this.mag.length + e).fill(0);
|
|
3030
|
-
return Yt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length),
|
|
3030
|
+
return Yt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), x.make(this.sys, this.sign, t);
|
|
3031
3031
|
}
|
|
3032
3032
|
shiftRight(e = 1) {
|
|
3033
3033
|
if (this.mag.length - e <= 0)
|
|
3034
|
-
return
|
|
3034
|
+
return x.zero(this.sys);
|
|
3035
3035
|
const t = new Array(this.mag.length - e).fill(0);
|
|
3036
|
-
return Yt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length),
|
|
3036
|
+
return Yt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), x.make(this.sys, this.sign, t);
|
|
3037
3037
|
}
|
|
3038
3038
|
complement() {
|
|
3039
3039
|
return this.complementDigits(this.mag.length);
|
|
3040
3040
|
}
|
|
3041
3041
|
complementDigits(e) {
|
|
3042
|
-
return
|
|
3042
|
+
return x.make(this.sys, this.sign, x.complement(this.sys, this.mag, e));
|
|
3043
3043
|
}
|
|
3044
3044
|
isZero() {
|
|
3045
3045
|
return this.sign === 0 && this.mag.length === 1 && this.mag[0] === 0;
|
|
@@ -3057,12 +3057,12 @@ class Q {
|
|
|
3057
3057
|
return 1;
|
|
3058
3058
|
if (this.sign === -1) {
|
|
3059
3059
|
if (e.sign === -1) {
|
|
3060
|
-
const t =
|
|
3060
|
+
const t = x.compare(this.mag, e.mag);
|
|
3061
3061
|
return t === -1 ? 1 : t === 1 ? -1 : 0;
|
|
3062
3062
|
}
|
|
3063
3063
|
return -1;
|
|
3064
3064
|
}
|
|
3065
|
-
return this.sign === 1 ? e.sign === 1 ?
|
|
3065
|
+
return this.sign === 1 ? e.sign === 1 ? x.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
|
|
3066
3066
|
}
|
|
3067
3067
|
getSystem() {
|
|
3068
3068
|
return this.sys;
|
|
@@ -3091,12 +3091,12 @@ class Q {
|
|
|
3091
3091
|
throw new Error("Expected numbers of same numeral sys");
|
|
3092
3092
|
}
|
|
3093
3093
|
}
|
|
3094
|
-
gt.LexoInteger =
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3094
|
+
gt.LexoInteger = x;
|
|
3095
|
+
x.ZERO_MAG = [0];
|
|
3096
|
+
x.ONE_MAG = [1];
|
|
3097
|
+
x.NEGATIVE_SIGN = -1;
|
|
3098
|
+
x.ZERO_SIGN = 0;
|
|
3099
|
+
x.POSITIVE_SIGN = 1;
|
|
3100
3100
|
Object.defineProperty(Nt, "__esModule", { value: !0 });
|
|
3101
3101
|
Nt.LexoDecimal = void 0;
|
|
3102
3102
|
const St = gt, n0 = Rt;
|
|
@@ -3738,7 +3738,7 @@ const m0 = { class: "ao-card-template__subitems" }, C0 = { class: "ao-card-templ
|
|
|
3738
3738
|
v("span", k0, Z(n.$t("template.phases.title")), 1)
|
|
3739
3739
|
]),
|
|
3740
3740
|
n.phases ? (d(), m("ul", M0, [
|
|
3741
|
-
(d(!0), m(
|
|
3741
|
+
(d(!0), m(ve, null, ye(n.phases, (o) => (d(), B(O1, {
|
|
3742
3742
|
key: o.id,
|
|
3743
3743
|
label: o.name || o.id,
|
|
3744
3744
|
color: "primary",
|
|
@@ -3795,10 +3795,10 @@ const P0 = { class: "ao-page-header" }, B0 = { class: "ao-page-header-main" }, N
|
|
|
3795
3795
|
variant: "ghost",
|
|
3796
3796
|
onClick: t[0] || (t[0] = (n) => e.$emit("goBack"))
|
|
3797
3797
|
})) : M("", !0),
|
|
3798
|
-
|
|
3798
|
+
Q(e.$slots, "primary")
|
|
3799
3799
|
]),
|
|
3800
3800
|
e.$slots.secondary ? (d(), m("div", N0, [
|
|
3801
|
-
|
|
3801
|
+
Q(e.$slots, "secondary")
|
|
3802
3802
|
])) : M("", !0)
|
|
3803
3803
|
]));
|
|
3804
3804
|
}
|
|
@@ -3829,7 +3829,7 @@ const R0 = ["type"], U0 = {
|
|
|
3829
3829
|
s.$attrs.disabled ? "ao-button-card--is-disabled" : ""
|
|
3830
3830
|
])
|
|
3831
3831
|
}, [
|
|
3832
|
-
|
|
3832
|
+
Q(s.$slots, "default", {}, () => [
|
|
3833
3833
|
s.label ? (d(), m("span", U0, Z(s.label), 1)) : M("", !0)
|
|
3834
3834
|
]),
|
|
3835
3835
|
n.value ? (d(), B(ce, {
|
|
@@ -3867,7 +3867,7 @@ const j0 = { class: "ao-card-template-item__footer" }, Z0 = {
|
|
|
3867
3867
|
return (i, l) => (d(), B(ha, { "onUpdate:title": t }, {
|
|
3868
3868
|
footer: U(() => [
|
|
3869
3869
|
v("ul", j0, [
|
|
3870
|
-
(d(), m(
|
|
3870
|
+
(d(), m(ve, null, ye(n, (u) => (d(), m(ve, { key: u }, [
|
|
3871
3871
|
i.$props[u] ? (d(), m("li", Z0, [
|
|
3872
3872
|
S(ce, {
|
|
3873
3873
|
name: s[u],
|
|
@@ -3912,7 +3912,7 @@ const z0 = /* @__PURE__ */ G({
|
|
|
3912
3912
|
milestones: t.value
|
|
3913
3913
|
}, s.$attrs), {
|
|
3914
3914
|
default: U(() => [
|
|
3915
|
-
|
|
3915
|
+
Q(s.$slots, "default")
|
|
3916
3916
|
]),
|
|
3917
3917
|
_: 3
|
|
3918
3918
|
}, 16, ["id", "title", "activities", "milestones"]));
|
|
@@ -3929,7 +3929,7 @@ const z0 = /* @__PURE__ */ G({
|
|
|
3929
3929
|
});
|
|
3930
3930
|
return (n, s) => (d(), B(V1, { activities: t.value }, {
|
|
3931
3931
|
default: U(() => [
|
|
3932
|
-
|
|
3932
|
+
Q(n.$slots, "default")
|
|
3933
3933
|
]),
|
|
3934
3934
|
_: 3
|
|
3935
3935
|
}, 8, ["activities"]));
|
|
@@ -4016,12 +4016,12 @@ const z0 = /* @__PURE__ */ G({
|
|
|
4016
4016
|
});
|
|
4017
4017
|
return (n, s) => (d(), B(V1, { tasks: t.value }, {
|
|
4018
4018
|
default: U(() => [
|
|
4019
|
-
|
|
4019
|
+
Q(n.$slots, "default")
|
|
4020
4020
|
]),
|
|
4021
4021
|
_: 3
|
|
4022
4022
|
}, 8, ["tasks"]));
|
|
4023
4023
|
}
|
|
4024
|
-
}), X0 = { class: "ao-list__footer" },
|
|
4024
|
+
}), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ G({
|
|
4025
4025
|
__name: "AoTemplateDetailsActivities",
|
|
4026
4026
|
props: {
|
|
4027
4027
|
templateId: {},
|
|
@@ -4089,7 +4089,7 @@ const z0 = /* @__PURE__ */ G({
|
|
|
4089
4089
|
_: 1
|
|
4090
4090
|
}, 8, ["model-value", "title"])) : M("", !0);
|
|
4091
4091
|
}
|
|
4092
|
-
}),
|
|
4092
|
+
}), x0 = { class: "ao-modal" }, J0 = { class: "ao-modal__header" }, e3 = { class: "ao-modal__header-meta" }, t3 = {
|
|
4093
4093
|
key: 0,
|
|
4094
4094
|
class: "ao-modal__title-group"
|
|
4095
4095
|
}, a3 = { class: "ao-modal__body" }, s3 = {
|
|
@@ -4109,7 +4109,7 @@ const z0 = /* @__PURE__ */ G({
|
|
|
4109
4109
|
class: "ao-modal__backdrop",
|
|
4110
4110
|
onClick: t[0] || (t[0] = (n) => e.$emit("close"))
|
|
4111
4111
|
}),
|
|
4112
|
-
v("div",
|
|
4112
|
+
v("div", x0, [
|
|
4113
4113
|
v("div", J0, [
|
|
4114
4114
|
v("div", e3, [
|
|
4115
4115
|
S(le, {
|
|
@@ -4120,14 +4120,14 @@ const z0 = /* @__PURE__ */ G({
|
|
|
4120
4120
|
})
|
|
4121
4121
|
]),
|
|
4122
4122
|
e.$slots.header ? (d(), m("header", t3, [
|
|
4123
|
-
|
|
4123
|
+
Q(e.$slots, "header")
|
|
4124
4124
|
])) : M("", !0)
|
|
4125
4125
|
]),
|
|
4126
4126
|
v("div", a3, [
|
|
4127
|
-
|
|
4127
|
+
Q(e.$slots, "default")
|
|
4128
4128
|
]),
|
|
4129
4129
|
e.$slots.footer ? (d(), m("footer", s3, [
|
|
4130
|
-
|
|
4130
|
+
Q(e.$slots, "footer")
|
|
4131
4131
|
])) : M("", !0)
|
|
4132
4132
|
])
|
|
4133
4133
|
], 2));
|
|
@@ -4499,7 +4499,7 @@ const p3 = function(a) {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
};
|
|
4501
4501
|
};
|
|
4502
|
-
function
|
|
4502
|
+
function Qe(a) {
|
|
4503
4503
|
return La(a) ? (a.nodeName || "").toLowerCase() : "#document";
|
|
4504
4504
|
}
|
|
4505
4505
|
function we(a) {
|
|
@@ -4532,7 +4532,7 @@ function jt(a) {
|
|
|
4532
4532
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !["inline", "contents"].includes(s);
|
|
4533
4533
|
}
|
|
4534
4534
|
function m3(a) {
|
|
4535
|
-
return ["table", "td", "th"].includes(
|
|
4535
|
+
return ["table", "td", "th"].includes(Qe(a));
|
|
4536
4536
|
}
|
|
4537
4537
|
function B1(a) {
|
|
4538
4538
|
const e = N1(), t = Ee(a);
|
|
@@ -4551,7 +4551,7 @@ function N1() {
|
|
|
4551
4551
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4552
4552
|
}
|
|
4553
4553
|
function f1(a) {
|
|
4554
|
-
return ["html", "body", "#document"].includes(
|
|
4554
|
+
return ["html", "body", "#document"].includes(Qe(a));
|
|
4555
4555
|
}
|
|
4556
4556
|
function Ee(a) {
|
|
4557
4557
|
return we(a).getComputedStyle(a);
|
|
@@ -4566,7 +4566,7 @@ function p1(a) {
|
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
4568
|
function _t(a) {
|
|
4569
|
-
if (
|
|
4569
|
+
if (Qe(a) === "html")
|
|
4570
4570
|
return a;
|
|
4571
4571
|
const e = (
|
|
4572
4572
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -4662,7 +4662,7 @@ function y3(a) {
|
|
|
4662
4662
|
scrollTop: 0
|
|
4663
4663
|
}, l = Xe(1);
|
|
4664
4664
|
const u = Xe(0);
|
|
4665
|
-
if ((s || !s && n !== "fixed") && ((
|
|
4665
|
+
if ((s || !s && n !== "fixed") && ((Qe(t) !== "body" || jt(o)) && (i = p1(t)), He(t))) {
|
|
4666
4666
|
const r = st(t);
|
|
4667
4667
|
l = ht(t), u.x = r.x + t.clientLeft, u.y = r.y + t.clientTop;
|
|
4668
4668
|
}
|
|
@@ -4740,7 +4740,7 @@ function M3(a, e) {
|
|
|
4740
4740
|
const t = e.get(a);
|
|
4741
4741
|
if (t)
|
|
4742
4742
|
return t;
|
|
4743
|
-
let n = Dt(a, [], !1).filter((l) => Ze(l) &&
|
|
4743
|
+
let n = Dt(a, [], !1).filter((l) => Ze(l) && Qe(l) !== "body"), s = null;
|
|
4744
4744
|
const o = Ee(a).position === "fixed";
|
|
4745
4745
|
let i = o ? _t(a) : a;
|
|
4746
4746
|
for (; Ze(i) && !f1(i); ) {
|
|
@@ -4778,7 +4778,7 @@ function S3(a, e, t) {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
const u = Xe(0);
|
|
4780
4780
|
if (n || !n && !o)
|
|
4781
|
-
if ((
|
|
4781
|
+
if ((Qe(e) !== "body" || jt(s)) && (l = p1(e)), n) {
|
|
4782
4782
|
const r = st(e, !0, o, e);
|
|
4783
4783
|
u.x = r.x + e.clientLeft, u.y = r.y + e.clientTop;
|
|
4784
4784
|
} else
|
|
@@ -4800,7 +4800,7 @@ function Na(a, e) {
|
|
|
4800
4800
|
let n = ra(a, e);
|
|
4801
4801
|
for (; n && m3(n) && Ee(n).position === "static"; )
|
|
4802
4802
|
n = ra(n, e);
|
|
4803
|
-
return n && (
|
|
4803
|
+
return n && (Qe(n) === "html" || Qe(n) === "body" && Ee(n).position === "static" && !B1(n)) ? t : n || C3(a) || t;
|
|
4804
4804
|
}
|
|
4805
4805
|
const E3 = async function(a) {
|
|
4806
4806
|
let {
|
|
@@ -5105,7 +5105,7 @@ function Z3(a, e, t) {
|
|
|
5105
5105
|
onCreate: ne,
|
|
5106
5106
|
disabledProp: y,
|
|
5107
5107
|
searchStart: W,
|
|
5108
|
-
searchFilter:
|
|
5108
|
+
searchFilter: fe
|
|
5109
5109
|
} = $e(a), z = nt().proxy, N = t.iv, O = t.ev, q = t.search, _e = t.clearSearch, Be = t.update, ja = t.pointer, ot = t.clearPointer, Za = t.focus, Fa = t.deactivate, lt = t.close, qa = t.localize, bt = J([]), qe = J([]), Oe = J(!1), h1 = J(null), m1 = J(ue.value && i.value === -1 ? 10 : i.value), F1 = $(() => u.value || r.value || !1), za = $(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), ze = $(() => {
|
|
5110
5110
|
if (re.value) {
|
|
5111
5111
|
let C = Zt.value || /* istanbul ignore next */
|
|
@@ -5179,7 +5179,7 @@ function Z3(a, e, t) {
|
|
|
5179
5179
|
case "tags":
|
|
5180
5180
|
return [];
|
|
5181
5181
|
}
|
|
5182
|
-
}),
|
|
5182
|
+
}), Qa = $(() => T.value || Oe.value), ut = (C) => {
|
|
5183
5183
|
switch (typeof C != "object" && (C = Re(C)), s.value) {
|
|
5184
5184
|
case "single":
|
|
5185
5185
|
Be(C);
|
|
@@ -5203,7 +5203,7 @@ function Z3(a, e, t) {
|
|
|
5203
5203
|
e.emit("deselect", W1(C), C, z);
|
|
5204
5204
|
}, W1 = (C) => b.value ? C : C[V.value], Y1 = (C) => {
|
|
5205
5205
|
dt(C);
|
|
5206
|
-
},
|
|
5206
|
+
}, xa = (C, D) => {
|
|
5207
5207
|
if (D.button !== 0) {
|
|
5208
5208
|
D.preventDefault();
|
|
5209
5209
|
return;
|
|
@@ -5289,10 +5289,10 @@ function Z3(a, e, t) {
|
|
|
5289
5289
|
) : C.filter((D) => q.value ? D.__VISIBLE__.length : !0), b1 = (C, D = !0) => {
|
|
5290
5290
|
let ie = C;
|
|
5291
5291
|
if (q.value && L.value) {
|
|
5292
|
-
let pe =
|
|
5292
|
+
let pe = fe.value;
|
|
5293
5293
|
pe || (pe = ($t, l8) => {
|
|
5294
|
-
let
|
|
5295
|
-
return W.value ?
|
|
5294
|
+
let Q1 = A1(qa($t[Le.value]), g.value);
|
|
5295
|
+
return W.value ? Q1.startsWith(A1(q.value, g.value)) : Q1.indexOf(A1(q.value, g.value)) !== -1;
|
|
5296
5296
|
}), ie = ie.filter(pe);
|
|
5297
5297
|
}
|
|
5298
5298
|
return l.value && D && (ie = ie.filter((pe) => !is(pe))), ie;
|
|
@@ -5387,7 +5387,7 @@ function Z3(a, e, t) {
|
|
|
5387
5387
|
noOptions: Ka,
|
|
5388
5388
|
noResults: Ga,
|
|
5389
5389
|
resolving: Oe,
|
|
5390
|
-
busy:
|
|
5390
|
+
busy: Qa,
|
|
5391
5391
|
offset: m1,
|
|
5392
5392
|
select: ut,
|
|
5393
5393
|
deselect: dt,
|
|
@@ -5400,7 +5400,7 @@ function Z3(a, e, t) {
|
|
|
5400
5400
|
getOption: Re,
|
|
5401
5401
|
handleOptionClick: Ja,
|
|
5402
5402
|
handleGroupClick: es,
|
|
5403
|
-
handleTagRemove:
|
|
5403
|
+
handleTagRemove: xa,
|
|
5404
5404
|
refreshOptions: rs,
|
|
5405
5405
|
resolveOptions: qt,
|
|
5406
5406
|
refreshLabels: $1
|
|
@@ -5451,7 +5451,7 @@ function F3(a, e, t) {
|
|
|
5451
5451
|
Ie(() => {
|
|
5452
5452
|
N();
|
|
5453
5453
|
});
|
|
5454
|
-
},
|
|
5454
|
+
}, fe = () => {
|
|
5455
5455
|
if (k.value === null) {
|
|
5456
5456
|
let O = V.value[V.value.length - 1];
|
|
5457
5457
|
l.value && te.value && (O = F.value, O === void 0 && (O = H.value)), w(O || null);
|
|
@@ -5492,7 +5492,7 @@ function F3(a, e, t) {
|
|
|
5492
5492
|
setPointerFirst: ne,
|
|
5493
5493
|
selectPointer: y,
|
|
5494
5494
|
forwardPointer: W,
|
|
5495
|
-
backwardPointer:
|
|
5495
|
+
backwardPointer: fe
|
|
5496
5496
|
};
|
|
5497
5497
|
}
|
|
5498
5498
|
function q3(a, e, t) {
|
|
@@ -5583,7 +5583,7 @@ function W3(a, e, t) {
|
|
|
5583
5583
|
if (j.preventDefault(), j.keyCode === 229)
|
|
5584
5584
|
return;
|
|
5585
5585
|
if (y !== -1 && y !== void 0) {
|
|
5586
|
-
_([...T.value].filter((W,
|
|
5586
|
+
_([...T.value].filter((W, fe) => fe !== y)), y === ne.length - 1 && (ne.length - 1 ? ne[ne.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : ee.value.focus());
|
|
5587
5587
|
return;
|
|
5588
5588
|
}
|
|
5589
5589
|
if (re.value.indexOf("enter") === -1 && H.value)
|
|
@@ -5842,7 +5842,7 @@ function X3(a, e, t) {
|
|
|
5842
5842
|
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]] : ""
|
|
5843
5843
|
};
|
|
5844
5844
|
}
|
|
5845
|
-
function
|
|
5845
|
+
function Q3(a, e, t, n = {}) {
|
|
5846
5846
|
return t.forEach((s) => {
|
|
5847
5847
|
s && (n = {
|
|
5848
5848
|
...n,
|
|
@@ -6186,7 +6186,7 @@ var Ye = {
|
|
|
6186
6186
|
}
|
|
6187
6187
|
},
|
|
6188
6188
|
setup(a, e) {
|
|
6189
|
-
return
|
|
6189
|
+
return Q3(a, e, [
|
|
6190
6190
|
X3,
|
|
6191
6191
|
B3,
|
|
6192
6192
|
R3,
|
|
@@ -6203,7 +6203,7 @@ var Ye = {
|
|
|
6203
6203
|
]);
|
|
6204
6204
|
}
|
|
6205
6205
|
};
|
|
6206
|
-
const
|
|
6206
|
+
const x3 = ["id", "dir"], J3 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], e5 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], t5 = ["onKeyup", "aria-label"], a5 = ["onClick"], s5 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], n5 = ["innerHTML"], i5 = ["id"], o5 = ["id", "aria-label", "aria-selected"], l5 = ["data-pointed", "onMouseenter", "onClick"], r5 = ["innerHTML"], u5 = ["aria-label"], d5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], c5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], v5 = ["innerHTML"], f5 = ["innerHTML"], p5 = ["value"], h5 = ["name", "value"], m5 = ["name", "value"], C5 = ["id"];
|
|
6207
6207
|
function _5(a, e, t, n, s, o) {
|
|
6208
6208
|
return d(), m("div", {
|
|
6209
6209
|
ref: "multiselect",
|
|
@@ -6260,9 +6260,9 @@ function _5(a, e, t, n, s, o) {
|
|
|
6260
6260
|
},
|
|
6261
6261
|
[
|
|
6262
6262
|
(d(!0), m(
|
|
6263
|
-
|
|
6263
|
+
ve,
|
|
6264
6264
|
null,
|
|
6265
|
-
ye(a.iv, (i, l, u) =>
|
|
6265
|
+
ye(a.iv, (i, l, u) => Q(a.$slots, "tag", {
|
|
6266
6266
|
option: i,
|
|
6267
6267
|
handleTagRemove: a.handleTagRemove,
|
|
6268
6268
|
disabled: t.disabled
|
|
@@ -6351,7 +6351,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6351
6351
|
/* CLASS */
|
|
6352
6352
|
)) : M("v-if", !0),
|
|
6353
6353
|
M(" Single label "),
|
|
6354
|
-
t.mode == "single" && a.hasSelected && !a.search && a.iv ?
|
|
6354
|
+
t.mode == "single" && a.hasSelected && !a.search && a.iv ? Q(a.$slots, "singlelabel", {
|
|
6355
6355
|
key: 2,
|
|
6356
6356
|
value: a.iv
|
|
6357
6357
|
}, () => [
|
|
@@ -6376,7 +6376,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6376
6376
|
)
|
|
6377
6377
|
]) : M("v-if", !0),
|
|
6378
6378
|
M(" Multiple label "),
|
|
6379
|
-
t.mode == "multiple" && a.hasSelected && !a.search ?
|
|
6379
|
+
t.mode == "multiple" && a.hasSelected && !a.search ? Q(a.$slots, "multiplelabel", {
|
|
6380
6380
|
key: 3,
|
|
6381
6381
|
values: a.iv
|
|
6382
6382
|
}, () => [
|
|
@@ -6386,7 +6386,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6386
6386
|
}, null, 10, n5)
|
|
6387
6387
|
]) : M("v-if", !0),
|
|
6388
6388
|
M(" Placeholder "),
|
|
6389
|
-
t.placeholder && !a.hasSelected && !a.search ?
|
|
6389
|
+
t.placeholder && !a.hasSelected && !a.search ? Q(a.$slots, "placeholder", { key: 4 }, () => [
|
|
6390
6390
|
v(
|
|
6391
6391
|
"div",
|
|
6392
6392
|
{
|
|
@@ -6399,7 +6399,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6399
6399
|
)
|
|
6400
6400
|
]) : M("v-if", !0),
|
|
6401
6401
|
M(" Spinner "),
|
|
6402
|
-
t.loading || a.resolving ?
|
|
6402
|
+
t.loading || a.resolving ? Q(a.$slots, "spinner", { key: 5 }, () => [
|
|
6403
6403
|
v(
|
|
6404
6404
|
"span",
|
|
6405
6405
|
{
|
|
@@ -6412,7 +6412,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6412
6412
|
)
|
|
6413
6413
|
]) : M("v-if", !0),
|
|
6414
6414
|
M(" Clear "),
|
|
6415
|
-
a.hasSelected && !t.disabled && t.canClear && !a.busy ?
|
|
6415
|
+
a.hasSelected && !t.disabled && t.canClear && !a.busy ? Q(a.$slots, "clear", {
|
|
6416
6416
|
key: 6,
|
|
6417
6417
|
clear: a.clear
|
|
6418
6418
|
}, () => [
|
|
@@ -6444,7 +6444,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6444
6444
|
)
|
|
6445
6445
|
]) : M("v-if", !0),
|
|
6446
6446
|
M(" Caret "),
|
|
6447
|
-
t.caret && t.showOptions ?
|
|
6447
|
+
t.caret && t.showOptions ? Q(a.$slots, "caret", { key: 7 }, () => [
|
|
6448
6448
|
v(
|
|
6449
6449
|
"span",
|
|
6450
6450
|
{
|
|
@@ -6466,14 +6466,14 @@ function _5(a, e, t, n, s, o) {
|
|
|
6466
6466
|
tabindex: "-1"
|
|
6467
6467
|
},
|
|
6468
6468
|
[
|
|
6469
|
-
|
|
6469
|
+
Q(a.$slots, "beforelist", { options: a.fo }),
|
|
6470
6470
|
v("ul", {
|
|
6471
6471
|
class: X(a.classList.options),
|
|
6472
6472
|
id: a.ariaControls,
|
|
6473
6473
|
role: "listbox"
|
|
6474
6474
|
}, [
|
|
6475
6475
|
t.groups ? (d(!0), m(
|
|
6476
|
-
|
|
6476
|
+
ve,
|
|
6477
6477
|
{ key: 0 },
|
|
6478
6478
|
ye(a.fg, (i, l, u) => (d(), m("li", {
|
|
6479
6479
|
class: X(a.classList.group),
|
|
@@ -6490,7 +6490,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6490
6490
|
onMouseenter: (r) => a.setPointer(i, l),
|
|
6491
6491
|
onClick: (r) => a.handleGroupClick(i)
|
|
6492
6492
|
}, [
|
|
6493
|
-
|
|
6493
|
+
Q(a.$slots, "grouplabel", {
|
|
6494
6494
|
group: i,
|
|
6495
6495
|
isSelected: a.isSelected,
|
|
6496
6496
|
isPointed: a.isPointed
|
|
@@ -6506,7 +6506,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6506
6506
|
role: "group"
|
|
6507
6507
|
}, [
|
|
6508
6508
|
(d(!0), m(
|
|
6509
|
-
|
|
6509
|
+
ve,
|
|
6510
6510
|
null,
|
|
6511
6511
|
ye(i.__VISIBLE__, (r, c, f) => (d(), m("li", {
|
|
6512
6512
|
class: X(a.classList.option(r, i)),
|
|
@@ -6520,7 +6520,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6520
6520
|
"aria-label": a.ariaOptionLabel(a.localize(r[t.label])),
|
|
6521
6521
|
role: "option"
|
|
6522
6522
|
}, [
|
|
6523
|
-
|
|
6523
|
+
Q(a.$slots, "option", {
|
|
6524
6524
|
option: r,
|
|
6525
6525
|
isSelected: a.isSelected,
|
|
6526
6526
|
isPointed: a.isPointed,
|
|
@@ -6543,7 +6543,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6543
6543
|
128
|
|
6544
6544
|
/* KEYED_FRAGMENT */
|
|
6545
6545
|
)) : (d(!0), m(
|
|
6546
|
-
|
|
6546
|
+
ve,
|
|
6547
6547
|
{ key: 1 },
|
|
6548
6548
|
ye(a.fo, (i, l, u) => (d(), m("li", {
|
|
6549
6549
|
class: X(a.classList.option(i)),
|
|
@@ -6557,7 +6557,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6557
6557
|
"aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
|
|
6558
6558
|
role: "option"
|
|
6559
6559
|
}, [
|
|
6560
|
-
|
|
6560
|
+
Q(a.$slots, "option", {
|
|
6561
6561
|
option: i,
|
|
6562
6562
|
isSelected: a.isSelected,
|
|
6563
6563
|
isPointed: a.isPointed,
|
|
@@ -6576,13 +6576,13 @@ function _5(a, e, t, n, s, o) {
|
|
|
6576
6576
|
/* KEYED_FRAGMENT */
|
|
6577
6577
|
))
|
|
6578
6578
|
], 10, i5),
|
|
6579
|
-
a.noOptions ?
|
|
6579
|
+
a.noOptions ? Q(a.$slots, "nooptions", { key: 0 }, () => [
|
|
6580
6580
|
v("div", {
|
|
6581
6581
|
class: X(a.classList.noOptions),
|
|
6582
6582
|
innerHTML: a.localize(t.noOptionsText)
|
|
6583
6583
|
}, null, 10, v5)
|
|
6584
6584
|
]) : M("v-if", !0),
|
|
6585
|
-
a.noResults ?
|
|
6585
|
+
a.noResults ? Q(a.$slots, "noresults", { key: 1 }, () => [
|
|
6586
6586
|
v("div", {
|
|
6587
6587
|
class: X(a.classList.noResults),
|
|
6588
6588
|
innerHTML: a.localize(t.noResultsText)
|
|
@@ -6596,7 +6596,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6596
6596
|
ref: "infiniteLoader"
|
|
6597
6597
|
},
|
|
6598
6598
|
[
|
|
6599
|
-
|
|
6599
|
+
Q(a.$slots, "infinite", {}, () => [
|
|
6600
6600
|
v(
|
|
6601
6601
|
"span",
|
|
6602
6602
|
{
|
|
@@ -6611,7 +6611,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6611
6611
|
2
|
|
6612
6612
|
/* CLASS */
|
|
6613
6613
|
)) : M("v-if", !0),
|
|
6614
|
-
|
|
6614
|
+
Q(a.$slots, "afterlist", { options: a.fo })
|
|
6615
6615
|
],
|
|
6616
6616
|
2
|
|
6617
6617
|
/* CLASS */
|
|
@@ -6626,7 +6626,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6626
6626
|
}, null, 10, p5)) : M("v-if", !0),
|
|
6627
6627
|
M(" Native input support "),
|
|
6628
6628
|
t.nativeSupport ? (d(), m(
|
|
6629
|
-
|
|
6629
|
+
ve,
|
|
6630
6630
|
{ key: 1 },
|
|
6631
6631
|
[
|
|
6632
6632
|
t.mode == "single" ? (d(), m("input", {
|
|
@@ -6635,7 +6635,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6635
6635
|
name: t.name,
|
|
6636
6636
|
value: a.plainValue !== void 0 ? a.plainValue : ""
|
|
6637
6637
|
}, null, 8, h5)) : (d(!0), m(
|
|
6638
|
-
|
|
6638
|
+
ve,
|
|
6639
6639
|
{ key: 1 },
|
|
6640
6640
|
ye(a.plainValue, (i, l) => (d(), m("input", {
|
|
6641
6641
|
type: "hidden",
|
|
@@ -6667,7 +6667,7 @@ function _5(a, e, t, n, s, o) {
|
|
|
6667
6667
|
2
|
|
6668
6668
|
/* CLASS */
|
|
6669
6669
|
)
|
|
6670
|
-
], 42,
|
|
6670
|
+
], 42, x3);
|
|
6671
6671
|
}
|
|
6672
6672
|
Ye.render = _5;
|
|
6673
6673
|
Ye.__file = "src/Multiselect.vue";
|
|
@@ -6690,7 +6690,7 @@ const be = /* @__PURE__ */ G({
|
|
|
6690
6690
|
ye(s.$slots, (i, l) => ({
|
|
6691
6691
|
name: l,
|
|
6692
6692
|
fn: U((u) => [
|
|
6693
|
-
|
|
6693
|
+
Q(s.$slots, l, Pt(Bt(u ?? {})))
|
|
6694
6694
|
])
|
|
6695
6695
|
}))
|
|
6696
6696
|
]), 1536));
|
|
@@ -6802,7 +6802,7 @@ const y5 = { class: "ao-tasks" }, b5 = { class: "ao-tasks__list" }, w5 = ["id",
|
|
|
6802
6802
|
};
|
|
6803
6803
|
return (f, p) => (d(), m("div", y5, [
|
|
6804
6804
|
v("ul", b5, [
|
|
6805
|
-
(d(!0), m(
|
|
6805
|
+
(d(!0), m(ve, null, ye(f.tasks, (h) => {
|
|
6806
6806
|
var b, T;
|
|
6807
6807
|
return d(), m("li", {
|
|
6808
6808
|
key: h.id,
|
|
@@ -6937,7 +6937,7 @@ const M5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], A5 = {
|
|
|
6937
6937
|
onDragleave: Ce(l, ["prevent"])
|
|
6938
6938
|
}, [
|
|
6939
6939
|
(f = r.attachments) != null && f.length && r.attachments.length > 0 ? (d(), m("ul", A5, [
|
|
6940
|
-
(d(!0), m(
|
|
6940
|
+
(d(!0), m(ve, null, ye(r.attachments, (p) => (d(), m("li", {
|
|
6941
6941
|
key: p.id,
|
|
6942
6942
|
class: "ao-file"
|
|
6943
6943
|
}, [
|
|
@@ -7025,7 +7025,7 @@ const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7025
7025
|
}, null, 8, ["avatar-url", "user-name"])) : M("", !0),
|
|
7026
7026
|
v("div", H5, [
|
|
7027
7027
|
v("div", P5, [
|
|
7028
|
-
(d(), B(
|
|
7028
|
+
(d(), B(xe(f.value), {
|
|
7029
7029
|
ref_key: "commentContent",
|
|
7030
7030
|
ref: s,
|
|
7031
7031
|
class: "ao-comment__content",
|
|
@@ -7045,7 +7045,7 @@ const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7045
7045
|
v("span", B5, Z(c.value || r.value), 1)
|
|
7046
7046
|
]),
|
|
7047
7047
|
_.isEditable ? (d(), m("div", N5, [
|
|
7048
|
-
Y(o) ? (d(), m(
|
|
7048
|
+
Y(o) ? (d(), m(ve, { key: 0 }, [
|
|
7049
7049
|
S(le, {
|
|
7050
7050
|
"icon-name": "CloseRounded",
|
|
7051
7051
|
size: "sm",
|
|
@@ -7060,7 +7060,7 @@ const D5 = { class: "ao-comment" }, H5 = { class: "ao-comment__body" }, P5 = { c
|
|
|
7060
7060
|
color: "neutral",
|
|
7061
7061
|
onClick: Y(h)
|
|
7062
7062
|
}, null, 8, ["onClick"])
|
|
7063
|
-
], 64)) : (d(), m(
|
|
7063
|
+
], 64)) : (d(), m(ve, { key: 1 }, [
|
|
7064
7064
|
S(le, {
|
|
7065
7065
|
label: _.$t("activity.comment.delete"),
|
|
7066
7066
|
size: "sm",
|
|
@@ -7124,7 +7124,7 @@ const U5 = {
|
|
|
7124
7124
|
class: "ao-comments"
|
|
7125
7125
|
}, [
|
|
7126
7126
|
((p = c.comments) == null ? void 0 : p.length) > 0 ? (d(), m("ul", U5, [
|
|
7127
|
-
(d(!0), m(
|
|
7127
|
+
(d(!0), m(ve, null, ye(c.comments, (h) => (d(), B(R5, {
|
|
7128
7128
|
key: h.id,
|
|
7129
7129
|
user: n(h.author.id),
|
|
7130
7130
|
content: h.message,
|
|
@@ -7177,7 +7177,7 @@ const Y5 = {
|
|
|
7177
7177
|
}, K5 = {
|
|
7178
7178
|
key: 0,
|
|
7179
7179
|
class: "ao-field"
|
|
7180
|
-
}, G5 = { class: "ao-field__label" }, X5 = { class: "ao-activity-details__content" },
|
|
7180
|
+
}, G5 = { class: "ao-field__label" }, X5 = { class: "ao-activity-details__content" }, Q5 = { class: "ao-fieldset" }, x5 = { class: "ao-field__row" }, J5 = { class: "ao-field ao-field--full" }, e7 = { class: "ao-field__label" }, t7 = ["readonly"], a7 = { class: "ao-field__row" }, s7 = { class: "ao-field" }, n7 = { class: "ao-field__label" }, i7 = ["readonly"], o7 = { class: "ao-field" }, l7 = { class: "ao-field__label" }, r7 = ["disabled"], u7 = {
|
|
7181
7181
|
key: 0,
|
|
7182
7182
|
class: "ao-field"
|
|
7183
7183
|
}, d7 = { class: "ao-field__label" }, c7 = ["disabled"], v7 = {
|
|
@@ -7203,7 +7203,8 @@ const Y5 = {
|
|
|
7203
7203
|
userId: {},
|
|
7204
7204
|
isTaskCheckable: { type: Function },
|
|
7205
7205
|
statuses: {},
|
|
7206
|
-
isEditable: { type: Boolean }
|
|
7206
|
+
isEditable: { type: Boolean },
|
|
7207
|
+
attachmentEnabled: { type: Boolean }
|
|
7207
7208
|
},
|
|
7208
7209
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
7209
7210
|
setup(a, { emit: e }) {
|
|
@@ -7360,7 +7361,7 @@ const Y5 = {
|
|
|
7360
7361
|
"is-editable": g.isEditable,
|
|
7361
7362
|
"onUpdate:title": n
|
|
7362
7363
|
}, null, 8, ["title", "is-editable"]),
|
|
7363
|
-
|
|
7364
|
+
Q(g.$slots, "header", {}, () => {
|
|
7364
7365
|
var H;
|
|
7365
7366
|
return [
|
|
7366
7367
|
V.value ? (d(), m("label", K5, [
|
|
@@ -7380,8 +7381,8 @@ const Y5 = {
|
|
|
7380
7381
|
]),
|
|
7381
7382
|
default: U(() => [
|
|
7382
7383
|
v("div", X5, [
|
|
7383
|
-
v("fieldset",
|
|
7384
|
-
v("div",
|
|
7384
|
+
v("fieldset", Q5, [
|
|
7385
|
+
v("div", x5, [
|
|
7385
7386
|
v("label", J5, [
|
|
7386
7387
|
v("span", e7, Z(g.$t("activity.description.label")), 1),
|
|
7387
7388
|
Ue(v("textarea", {
|
|
@@ -7432,7 +7433,7 @@ const Y5 = {
|
|
|
7432
7433
|
type: "checkbox"
|
|
7433
7434
|
}, null, 8, r7), [
|
|
7434
7435
|
[
|
|
7435
|
-
|
|
7436
|
+
x1,
|
|
7436
7437
|
i.value,
|
|
7437
7438
|
void 0,
|
|
7438
7439
|
{ lazy: !0 }
|
|
@@ -7448,7 +7449,7 @@ const Y5 = {
|
|
|
7448
7449
|
type: "checkbox"
|
|
7449
7450
|
}, null, 8, c7), [
|
|
7450
7451
|
[
|
|
7451
|
-
|
|
7452
|
+
x1,
|
|
7452
7453
|
l.value,
|
|
7453
7454
|
void 0,
|
|
7454
7455
|
{ lazy: !0 }
|
|
@@ -7578,23 +7579,25 @@ const Y5 = {
|
|
|
7578
7579
|
}, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
|
|
7579
7580
|
])
|
|
7580
7581
|
])) : M("", !0),
|
|
7581
|
-
|
|
7582
|
+
Q(g.$slots, "default", { activity: g.activity })
|
|
7582
7583
|
])
|
|
7583
7584
|
]),
|
|
7584
7585
|
g.isTemplate !== !0 && g.userId ? (d(), m("div", V7, [
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7586
|
+
g.attachmentEnabled ? (d(), m(ve, { key: 0 }, [
|
|
7587
|
+
v("div", D7, [
|
|
7588
|
+
S(ce, { name: "AttachFileRounded" }),
|
|
7589
|
+
S(me, {
|
|
7590
|
+
level: 4,
|
|
7591
|
+
title: g.$t("activity.attachments.title")
|
|
7592
|
+
}, null, 8, ["title"])
|
|
7593
|
+
]),
|
|
7594
|
+
S(V5, {
|
|
7595
|
+
attachments: g.activity.attachments,
|
|
7596
|
+
"is-editable": g.isEditable,
|
|
7597
|
+
onAdd: R,
|
|
7598
|
+
onRemove: K
|
|
7599
|
+
}, null, 8, ["attachments", "is-editable"])
|
|
7600
|
+
], 64)) : M("", !0),
|
|
7598
7601
|
v("div", H7, [
|
|
7599
7602
|
S(ce, { name: "ChatOutline" }),
|
|
7600
7603
|
S(me, {
|
|
@@ -7690,7 +7693,7 @@ const P7 = /* @__PURE__ */ G({
|
|
|
7690
7693
|
e("update:rule", { ...t.rule, durationUnit: k });
|
|
7691
7694
|
}
|
|
7692
7695
|
}), _ = $(() => Object.values(wd));
|
|
7693
|
-
return (k, w) => (d(), B(
|
|
7696
|
+
return (k, w) => (d(), B(xe(k.tagName), { class: "ao-rule-line" }, {
|
|
7694
7697
|
default: U(() => [
|
|
7695
7698
|
S(Y(Ye), {
|
|
7696
7699
|
modelValue: s.value,
|
|
@@ -7766,7 +7769,7 @@ const B7 = { class: "ao-template-rules__body" }, N7 = { class: "ao-template-rule
|
|
|
7766
7769
|
default: U(() => [
|
|
7767
7770
|
v("div", B7, [
|
|
7768
7771
|
v("ul", N7, [
|
|
7769
|
-
(d(!0), m(
|
|
7772
|
+
(d(!0), m(ve, null, ye(s.rules, (i) => (d(), B(P7, {
|
|
7770
7773
|
key: i.id,
|
|
7771
7774
|
rule: i,
|
|
7772
7775
|
"template-phases": s.templatePhases,
|
|
@@ -7866,7 +7869,7 @@ const U7 = {
|
|
|
7866
7869
|
var A, F;
|
|
7867
7870
|
return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((j, ne) => {
|
|
7868
7871
|
const W = (ne.milestones || []).reduce(
|
|
7869
|
-
(
|
|
7872
|
+
(fe, z) => z.activities ? [...fe, ...z.activities] : fe,
|
|
7870
7873
|
[]
|
|
7871
7874
|
);
|
|
7872
7875
|
return [...j, ...W];
|
|
@@ -8038,7 +8041,7 @@ const U7 = {
|
|
|
8038
8041
|
e("removeFile", A);
|
|
8039
8042
|
};
|
|
8040
8043
|
return (A, F) => {
|
|
8041
|
-
var j, ne, y, W,
|
|
8044
|
+
var j, ne, y, W, fe, z;
|
|
8042
8045
|
return s.value ? (d(), m("div", U7, [
|
|
8043
8046
|
S(c1, {
|
|
8044
8047
|
"can-go-back": !0,
|
|
@@ -8117,7 +8120,7 @@ const U7 = {
|
|
|
8117
8120
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : M("", !0)
|
|
8118
8121
|
]),
|
|
8119
8122
|
v("li", W7, [
|
|
8120
|
-
i.value && l.value ? (d(), B(
|
|
8123
|
+
i.value && l.value ? (d(), B(Q0, {
|
|
8121
8124
|
key: 0,
|
|
8122
8125
|
"template-id": A.templateId,
|
|
8123
8126
|
"phase-id": (ne = i.value) == null ? void 0 : ne.id,
|
|
@@ -8135,7 +8138,7 @@ const U7 = {
|
|
|
8135
8138
|
key: 0,
|
|
8136
8139
|
activity: c.value,
|
|
8137
8140
|
"activity-types": A.activityTypes,
|
|
8138
|
-
breadcrumbs: `${s.value.name} / ${(W = i.value) == null ? void 0 : W.name} / ${(
|
|
8141
|
+
breadcrumbs: `${s.value.name} / ${(W = i.value) == null ? void 0 : W.name} / ${(fe = l.value) == null ? void 0 : fe.name}`,
|
|
8139
8142
|
"milestone-id": (z = l.value) == null ? void 0 : z.id,
|
|
8140
8143
|
"template-activities": r.value,
|
|
8141
8144
|
"template-milestones": u.value,
|
|
@@ -8145,6 +8148,7 @@ const U7 = {
|
|
|
8145
8148
|
"onUpdate:activity": F[2] || (F[2] = (N) => {
|
|
8146
8149
|
c.value && V(N);
|
|
8147
8150
|
}),
|
|
8151
|
+
"attachment-enabled": !1,
|
|
8148
8152
|
onClose: A.$router.back,
|
|
8149
8153
|
onAddSubtask: E,
|
|
8150
8154
|
onUpdateSubtask: H,
|
|
@@ -8153,7 +8157,7 @@ const U7 = {
|
|
|
8153
8157
|
onRemoveFile: ue
|
|
8154
8158
|
}, {
|
|
8155
8159
|
default: U((N) => [
|
|
8156
|
-
|
|
8160
|
+
Q(A.$slots, "activityDetailsBody", Pt(Bt(N)))
|
|
8157
8161
|
]),
|
|
8158
8162
|
_: 3
|
|
8159
8163
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : M("", !0)
|
|
@@ -8188,18 +8192,18 @@ const K7 = {
|
|
|
8188
8192
|
tagName: { default: "div" }
|
|
8189
8193
|
},
|
|
8190
8194
|
setup(a) {
|
|
8191
|
-
return (e, t) => (d(), B(
|
|
8195
|
+
return (e, t) => (d(), B(xe(e.tagName), {
|
|
8192
8196
|
class: X(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
8193
8197
|
}, {
|
|
8194
8198
|
default: U(() => [
|
|
8195
8199
|
e.$slots.header ? (d(), m("header", K7, [
|
|
8196
|
-
|
|
8200
|
+
Q(e.$slots, "header")
|
|
8197
8201
|
])) : M("", !0),
|
|
8198
8202
|
v("div", G7, [
|
|
8199
|
-
|
|
8203
|
+
Q(e.$slots, "default")
|
|
8200
8204
|
]),
|
|
8201
8205
|
e.$slots.footer ? (d(), m("footer", X7, [
|
|
8202
|
-
|
|
8206
|
+
Q(e.$slots, "footer")
|
|
8203
8207
|
])) : M("", !0)
|
|
8204
8208
|
]),
|
|
8205
8209
|
_: 3
|
|
@@ -8218,7 +8222,7 @@ const Z1 = /* @__PURE__ */ G({
|
|
|
8218
8222
|
class: X(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
|
|
8219
8223
|
role: "meter"
|
|
8220
8224
|
}, [
|
|
8221
|
-
(d(!0), m(
|
|
8225
|
+
(d(!0), m(ve, null, ye(t.value, (o) => (d(), m("div", {
|
|
8222
8226
|
key: o,
|
|
8223
8227
|
class: X(["ao-progress__progress"]),
|
|
8224
8228
|
style: ca({ width: `${o * 100}%` })
|
|
@@ -8226,7 +8230,7 @@ const Z1 = /* @__PURE__ */ G({
|
|
|
8226
8230
|
], 2));
|
|
8227
8231
|
}
|
|
8228
8232
|
});
|
|
8229
|
-
const
|
|
8233
|
+
const Q7 = { class: "ao-card-project-phase__header" }, x7 = { class: "ao-card-project-phase__footer" }, J7 = { class: "ao-card-project-phase__footer-row" }, e9 = { class: "ao-card-project-phase__subitem" }, t9 = { class: "ao-card-project-phase__subitem" }, a9 = {
|
|
8230
8234
|
key: 1,
|
|
8231
8235
|
class: "ao-card-project-phase__secondary"
|
|
8232
8236
|
}, s9 = { class: "ao-field ao-field__inline" }, n9 = { class: "ao-card-project-phase__deadline" }, i9 = /* @__PURE__ */ G({
|
|
@@ -8265,9 +8269,9 @@ const x7 = { class: "ao-card-project-phase__header" }, Q7 = { class: "ao-card-pr
|
|
|
8265
8269
|
}, null, 8, ["id", "title", "is-editable"])
|
|
8266
8270
|
]),
|
|
8267
8271
|
footer: U(() => [
|
|
8268
|
-
v("div",
|
|
8272
|
+
v("div", x7, [
|
|
8269
8273
|
v("div", J7, [
|
|
8270
|
-
s.value ? (d(), m(
|
|
8274
|
+
s.value ? (d(), m(ve, { key: 0 }, [
|
|
8271
8275
|
v("div", e9, [
|
|
8272
8276
|
S(ce, {
|
|
8273
8277
|
name: "MountainFlagOutlineRounded",
|
|
@@ -8281,7 +8285,7 @@ const x7 = { class: "ao-card-project-phase__header" }, Q7 = { class: "ao-card-pr
|
|
|
8281
8285
|
}, null, 8, ["percentages"])
|
|
8282
8286
|
], 64)) : M("", !0),
|
|
8283
8287
|
u.$slots.secondary ? (d(), m("div", a9, [
|
|
8284
|
-
|
|
8288
|
+
Q(u.$slots, "secondary")
|
|
8285
8289
|
])) : M("", !0)
|
|
8286
8290
|
]),
|
|
8287
8291
|
v("div", {
|
|
@@ -8311,7 +8315,7 @@ const x7 = { class: "ao-card-project-phase__header" }, Q7 = { class: "ao-card-pr
|
|
|
8311
8315
|
u.isEditable ? {
|
|
8312
8316
|
name: "header",
|
|
8313
8317
|
fn: U(() => [
|
|
8314
|
-
v("div",
|
|
8318
|
+
v("div", Q7, [
|
|
8315
8319
|
S(le, {
|
|
8316
8320
|
class: "ao-card-project-phase__archive",
|
|
8317
8321
|
color: "primary",
|
|
@@ -8389,7 +8393,7 @@ const o9 = { class: "ao-card-project-milestone__default" }, l9 = {
|
|
|
8389
8393
|
footer: U(() => [
|
|
8390
8394
|
v("div", r9, [
|
|
8391
8395
|
v("div", u9, [
|
|
8392
|
-
n.value ? (d(), m(
|
|
8396
|
+
n.value ? (d(), m(ve, { key: 0 }, [
|
|
8393
8397
|
v("div", d9, [
|
|
8394
8398
|
S(ce, {
|
|
8395
8399
|
name: "SelectCheckBox",
|
|
@@ -8408,7 +8412,7 @@ const o9 = { class: "ao-card-project-milestone__default" }, l9 = {
|
|
|
8408
8412
|
])
|
|
8409
8413
|
])) : M("", !0),
|
|
8410
8414
|
l.$slots.secondary ? (d(), m("div", h9, [
|
|
8411
|
-
|
|
8415
|
+
Q(l.$slots, "secondary")
|
|
8412
8416
|
])) : M("", !0)
|
|
8413
8417
|
])
|
|
8414
8418
|
])
|
|
@@ -8759,7 +8763,7 @@ const Ra = /* @__PURE__ */ P(H9, [["render", B9], ["__scopeId", "data-v-5637c519
|
|
|
8759
8763
|
};
|
|
8760
8764
|
return (I, g) => {
|
|
8761
8765
|
const E = hs("RouterView");
|
|
8762
|
-
return d(), m(
|
|
8766
|
+
return d(), m(ve, null, [
|
|
8763
8767
|
v("div", Se({ class: "ao-project-overview" }, I.$attrs), [
|
|
8764
8768
|
v("div", N9, [
|
|
8765
8769
|
S(c1, null, {
|
|
@@ -8844,9 +8848,9 @@ const Ra = /* @__PURE__ */ P(H9, [["render", B9], ["__scopeId", "data-v-5637c519
|
|
|
8844
8848
|
onRemoveComment: ee
|
|
8845
8849
|
}, {
|
|
8846
8850
|
default: U(({ Component: H }) => [
|
|
8847
|
-
(d(), B(
|
|
8851
|
+
(d(), B(xe(H), null, {
|
|
8848
8852
|
default: U((re) => [
|
|
8849
|
-
|
|
8853
|
+
Q(I.$slots, "activityDetailsBody", Pt(Bt(re)))
|
|
8850
8854
|
]),
|
|
8851
8855
|
_: 2
|
|
8852
8856
|
}, 1024))
|
|
@@ -8883,10 +8887,10 @@ const j9 = { class: "ao-card-feed__header" }, Z9 = {
|
|
|
8883
8887
|
}, Y9 = { class: "ao-card-feed__footer" }, K9 = { class: "ao-card-feed__footer-row" }, G9 = { class: "ao-assignees" }, X9 = {
|
|
8884
8888
|
key: 0,
|
|
8885
8889
|
class: "ao-assignee"
|
|
8886
|
-
},
|
|
8890
|
+
}, Q9 = {
|
|
8887
8891
|
key: 0,
|
|
8888
8892
|
class: "ao-card-feed__subitems"
|
|
8889
|
-
},
|
|
8893
|
+
}, x9 = {
|
|
8890
8894
|
key: 0,
|
|
8891
8895
|
class: "ao-card-feed__subitem"
|
|
8892
8896
|
}, J9 = { class: "ao-card-feed__subitem" }, e4 = {
|
|
@@ -8961,7 +8965,7 @@ const j9 = { class: "ao-card-feed__header" }, Z9 = {
|
|
|
8961
8965
|
})) : M("", !0)
|
|
8962
8966
|
])) : M("", !0),
|
|
8963
8967
|
p.$slots.secondary ? (d(), m("div", F9, [
|
|
8964
|
-
|
|
8968
|
+
Q(p.$slots, "secondary")
|
|
8965
8969
|
])) : M("", !0)
|
|
8966
8970
|
])
|
|
8967
8971
|
]),
|
|
@@ -8982,7 +8986,7 @@ const j9 = { class: "ao-card-feed__header" }, Z9 = {
|
|
|
8982
8986
|
v("div", Y9, [
|
|
8983
8987
|
v("div", K9, [
|
|
8984
8988
|
v("ul", G9, [
|
|
8985
|
-
(d(!0), m(
|
|
8989
|
+
(d(!0), m(ve, null, ye(o.value, (b) => (d(), m(ve, {
|
|
8986
8990
|
key: b.id
|
|
8987
8991
|
}, [
|
|
8988
8992
|
b ? (d(), m("li", X9, [
|
|
@@ -8995,8 +8999,8 @@ const j9 = { class: "ao-card-feed__header" }, Z9 = {
|
|
|
8995
8999
|
])) : M("", !0)
|
|
8996
9000
|
], 64))), 128))
|
|
8997
9001
|
]),
|
|
8998
|
-
p.comments || p.attachments ? (d(), m("ul",
|
|
8999
|
-
p.comments ? (d(), m("li",
|
|
9002
|
+
p.comments || p.attachments ? (d(), m("ul", Q9, [
|
|
9003
|
+
p.comments ? (d(), m("li", x9, [
|
|
9000
9004
|
S(ce, {
|
|
9001
9005
|
name: "ChatOutline",
|
|
9002
9006
|
size: "sm"
|
|
@@ -9223,7 +9227,8 @@ const h4 = /* @__PURE__ */ G({
|
|
|
9223
9227
|
phases: {},
|
|
9224
9228
|
users: {},
|
|
9225
9229
|
userId: {},
|
|
9226
|
-
isEditable: { type: Boolean }
|
|
9230
|
+
isEditable: { type: Boolean },
|
|
9231
|
+
attachmentEnabled: { type: Boolean }
|
|
9227
9232
|
},
|
|
9228
9233
|
emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9229
9234
|
setup(a, { emit: e }) {
|
|
@@ -9275,6 +9280,7 @@ const h4 = /* @__PURE__ */ G({
|
|
|
9275
9280
|
statuses: _.statuses,
|
|
9276
9281
|
breadcrumbs: `${(w = n.value) == null ? void 0 : w.name} / ${(L = o.value) == null ? void 0 : L.name}`,
|
|
9277
9282
|
"is-editable": _.isEditable,
|
|
9283
|
+
"attachment-enabled": _.attachmentEnabled,
|
|
9278
9284
|
onClose: _.$router.back,
|
|
9279
9285
|
"onUpdate:activity": l,
|
|
9280
9286
|
onAddSubtask: u,
|
|
@@ -9287,10 +9293,10 @@ const h4 = /* @__PURE__ */ G({
|
|
|
9287
9293
|
onRemoveComment: T
|
|
9288
9294
|
}, {
|
|
9289
9295
|
default: U((R) => [
|
|
9290
|
-
|
|
9296
|
+
Q(_.$slots, "default", Pt(Bt(R)))
|
|
9291
9297
|
]),
|
|
9292
9298
|
_: 3
|
|
9293
|
-
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : M("", !0);
|
|
9299
|
+
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "onClose"])) : M("", !0);
|
|
9294
9300
|
};
|
|
9295
9301
|
}
|
|
9296
9302
|
}), m4 = { class: "ao-col-header" }, C4 = /* @__PURE__ */ G({
|
|
@@ -9471,7 +9477,7 @@ const S4 = {
|
|
|
9471
9477
|
});
|
|
9472
9478
|
}, u = J(!1);
|
|
9473
9479
|
return (r, c) => (d(), m("div", S4, [
|
|
9474
|
-
r.title || r.$slots.header ?
|
|
9480
|
+
r.title || r.$slots.header ? Q(r.$slots, "header", { key: 0 }, () => {
|
|
9475
9481
|
var f;
|
|
9476
9482
|
return [
|
|
9477
9483
|
v("div", E4, [
|
|
@@ -9573,7 +9579,7 @@ const S4 = {
|
|
|
9573
9579
|
_: 1
|
|
9574
9580
|
}, 16, ["class", "list", "disabled"]),
|
|
9575
9581
|
r.$slots.footer || r.footerLabel ? (d(), m("div", D4, [
|
|
9576
|
-
|
|
9582
|
+
Q(r.$slots, "footer", {}, () => [
|
|
9577
9583
|
r.isEditable ? (d(), B(et, {
|
|
9578
9584
|
key: 0,
|
|
9579
9585
|
"icon-name": "AddBoxOutlineRounded",
|
|
@@ -9634,7 +9640,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9634
9640
|
}, W4 = { class: "ao-field__label" }, Y4 = {
|
|
9635
9641
|
key: 2,
|
|
9636
9642
|
class: "ao-field ao-feed__activity-details__status"
|
|
9637
|
-
}, K4 = { class: "ao-field__label" }, G4 = { class: "ao-field__row" }, X4 = { class: "ao-field" },
|
|
9643
|
+
}, K4 = { class: "ao-field__label" }, G4 = { class: "ao-field__row" }, X4 = { class: "ao-field" }, Q4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ G({
|
|
9638
9644
|
__name: "AoFeed",
|
|
9639
9645
|
props: {
|
|
9640
9646
|
activities: {},
|
|
@@ -9651,7 +9657,8 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9651
9657
|
showsOnlyImportant: { type: Boolean },
|
|
9652
9658
|
selectedActivity: {},
|
|
9653
9659
|
isTaskCheckable: { type: Function, default: void 0 },
|
|
9654
|
-
isEditable: { type: Boolean }
|
|
9660
|
+
isEditable: { type: Boolean },
|
|
9661
|
+
attachmentEnabled: { type: Boolean }
|
|
9655
9662
|
},
|
|
9656
9663
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
|
|
9657
9664
|
setup(a, { emit: e }) {
|
|
@@ -9661,7 +9668,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9661
9668
|
de(
|
|
9662
9669
|
[() => t.statuses, () => t.activities, () => t.initialActivityId],
|
|
9663
9670
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9664
|
-
async ([y, W,
|
|
9671
|
+
async ([y, W, fe], [z, N]) => {
|
|
9665
9672
|
i.value = Object.fromEntries(
|
|
9666
9673
|
y.map((O) => [
|
|
9667
9674
|
O.id,
|
|
@@ -9670,7 +9677,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9670
9677
|
return ((_e = q.status) == null ? void 0 : _e.id) === O.id;
|
|
9671
9678
|
})
|
|
9672
9679
|
])
|
|
9673
|
-
),
|
|
9680
|
+
), fe && !l.value && (o(fe), l.value = !0), u.value && je(W, N);
|
|
9674
9681
|
},
|
|
9675
9682
|
{ immediate: !0 }
|
|
9676
9683
|
);
|
|
@@ -9679,9 +9686,9 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9679
9686
|
return !t.selectedActivity || !t.selectedActivity.milestone ? "" : `${((y = t.selectedActivity.milestone.phase) == null ? void 0 : y.name) ?? ""} / ${t.selectedActivity.milestone.name ?? ""}`;
|
|
9680
9687
|
}), c = (y) => {
|
|
9681
9688
|
var O, q;
|
|
9682
|
-
const W = (O = t.activities) == null ? void 0 : O.at(-1),
|
|
9689
|
+
const W = (O = t.activities) == null ? void 0 : O.at(-1), fe = W ? Ae.LexoRank.parse(W.rank).genNext() : Ae.LexoRank.middle(), z = ((q = t.activities) == null ? void 0 : q.length) ?? 0, N = {
|
|
9683
9690
|
name: n("activity.defaultName", { idx: z + 1 }),
|
|
9684
|
-
rank:
|
|
9691
|
+
rank: fe.format(),
|
|
9685
9692
|
statusId: y.id
|
|
9686
9693
|
};
|
|
9687
9694
|
t.filters.assigneeId.length > 0 && (N.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (N.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (N.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", N);
|
|
@@ -9750,8 +9757,8 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9750
9757
|
value: y.id,
|
|
9751
9758
|
label: y.name
|
|
9752
9759
|
}))), ue = $(() => {
|
|
9753
|
-
var W,
|
|
9754
|
-
const y = (z = (
|
|
9760
|
+
var W, fe, z;
|
|
9761
|
+
const y = (z = (fe = (W = t.selectedActivity) == null ? void 0 : W.project) == null ? void 0 : fe.phases) == null ? void 0 : z.reduce(
|
|
9755
9762
|
(N, O) => [...N, ...O.milestones],
|
|
9756
9763
|
[]
|
|
9757
9764
|
);
|
|
@@ -9782,7 +9789,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9782
9789
|
});
|
|
9783
9790
|
};
|
|
9784
9791
|
return (y, W) => {
|
|
9785
|
-
var
|
|
9792
|
+
var fe;
|
|
9786
9793
|
return d(), m("div", R4, [
|
|
9787
9794
|
S(c1, null, {
|
|
9788
9795
|
primary: U(() => [
|
|
@@ -9877,7 +9884,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9877
9884
|
_: 1
|
|
9878
9885
|
}),
|
|
9879
9886
|
v("div", j4, [
|
|
9880
|
-
(d(!0), m(
|
|
9887
|
+
(d(!0), m(ve, null, ye(y.statuses, (z) => (d(), B(H4, {
|
|
9881
9888
|
key: z.id,
|
|
9882
9889
|
status: z,
|
|
9883
9890
|
list: i.value[z.id],
|
|
@@ -9897,7 +9904,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9897
9904
|
key: 0,
|
|
9898
9905
|
activity: y.selectedActivity,
|
|
9899
9906
|
"activity-types": y.activityTypes,
|
|
9900
|
-
"milestone-id": (
|
|
9907
|
+
"milestone-id": (fe = y.selectedActivity.milestone) == null ? void 0 : fe.id,
|
|
9901
9908
|
"template-activities": s.value,
|
|
9902
9909
|
users: y.users,
|
|
9903
9910
|
"user-id": y.userId,
|
|
@@ -9905,6 +9912,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9905
9912
|
statuses: y.statuses,
|
|
9906
9913
|
breadcrumbs: r.value,
|
|
9907
9914
|
"is-editable": y.isEditable,
|
|
9915
|
+
"attachment-enabled": y.attachmentEnabled,
|
|
9908
9916
|
onClose: W[7] || (W[7] = () => o(null)),
|
|
9909
9917
|
"onUpdate:activity": _,
|
|
9910
9918
|
onAddSubtask: ee,
|
|
@@ -9960,7 +9968,7 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9960
9968
|
default: U((z) => [
|
|
9961
9969
|
v("div", G4, [
|
|
9962
9970
|
v("label", X4, [
|
|
9963
|
-
v("span",
|
|
9971
|
+
v("span", Q4, Z(y.$t("activity.deadline.label")), 1),
|
|
9964
9972
|
Ue(v("input", {
|
|
9965
9973
|
"onUpdate:modelValue": W[6] || (W[6] = (N) => R.value = N),
|
|
9966
9974
|
class: "ao-field__input",
|
|
@@ -9975,10 +9983,10 @@ const R4 = { class: "ao-feed" }, U4 = { class: "ao-feed__filters" }, j4 = { clas
|
|
|
9975
9983
|
])
|
|
9976
9984
|
])
|
|
9977
9985
|
]),
|
|
9978
|
-
|
|
9986
|
+
Q(y.$slots, "activityDetailsBody", Pt(Bt(z)))
|
|
9979
9987
|
]),
|
|
9980
9988
|
_: 3
|
|
9981
|
-
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : M("", !0)
|
|
9989
|
+
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled"])) : M("", !0)
|
|
9982
9990
|
]))
|
|
9983
9991
|
]);
|
|
9984
9992
|
};
|
|
@@ -10045,7 +10053,7 @@ const ft = {
|
|
|
10045
10053
|
{
|
|
10046
10054
|
path: "feed",
|
|
10047
10055
|
name: De.feed,
|
|
10048
|
-
component:
|
|
10056
|
+
component: x4,
|
|
10049
10057
|
props: !0
|
|
10050
10058
|
}
|
|
10051
10059
|
]
|
|
@@ -10145,7 +10153,7 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ G({
|
|
|
10145
10153
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
10146
10154
|
}, [
|
|
10147
10155
|
v("span", t8, Z(e.label), 1),
|
|
10148
|
-
|
|
10156
|
+
Q(e.$slots, "default")
|
|
10149
10157
|
], 2));
|
|
10150
10158
|
}
|
|
10151
10159
|
}), s8 = ["type", "value", "disabled", "readonly"], C8 = /* @__PURE__ */ G({
|
|
@@ -10211,7 +10219,7 @@ const t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ G({
|
|
|
10211
10219
|
export {
|
|
10212
10220
|
Ua as AoCardFeed,
|
|
10213
10221
|
_8 as AoCheckboxField,
|
|
10214
|
-
|
|
10222
|
+
x4 as AoFeed,
|
|
10215
10223
|
a8 as AoField,
|
|
10216
10224
|
C8 as AoInputField,
|
|
10217
10225
|
be as AoMultiselect,
|