@26lights/orcha 0.35.9 → 0.35.10
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.css +1 -1
- package/dist/orcha.es.js +184 -181
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as J, openBlock as v, createBlock as R, unref as X, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as M, resolveDynamicComponent as vt, normalizeClass as x, renderSlot as te, toDisplayString as K, createCommentVNode as T, ref as ae, watch as ce, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as V, normalizeStyle as v1, withModifiers as he, createSlots as Na, Fragment as Ce, renderList as ye, onMounted as qt, onBeforeUnmount as p1, onUnmounted as m1, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
|
|
2
2
|
import { RouterView as As } from "vue-router";
|
|
3
3
|
import pt from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const Av = /* @__PURE__ */ J({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -1441,11 +1441,11 @@ const fn = {
|
|
|
1441
1441
|
todo: "todo",
|
|
1442
1442
|
done: "done",
|
|
1443
1443
|
archived: "archived"
|
|
1444
|
-
},
|
|
1444
|
+
}, Tv = {
|
|
1445
1445
|
months: "months",
|
|
1446
1446
|
weeks: "weeks",
|
|
1447
1447
|
days: "days"
|
|
1448
|
-
},
|
|
1448
|
+
}, Sv = {
|
|
1449
1449
|
future: "future",
|
|
1450
1450
|
this_month: "this_month",
|
|
1451
1451
|
this_week: "this_week",
|
|
@@ -1469,7 +1469,7 @@ const fn = {
|
|
|
1469
1469
|
TASKS: "tasks"
|
|
1470
1470
|
};
|
|
1471
1471
|
var O2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(O2 || {});
|
|
1472
|
-
const
|
|
1472
|
+
const Ov = {
|
|
1473
1473
|
add: "add",
|
|
1474
1474
|
remove: "remove",
|
|
1475
1475
|
moved: "moved"
|
|
@@ -5343,7 +5343,7 @@ function x5(t, e, a) {
|
|
|
5343
5343
|
let oe = b;
|
|
5344
5344
|
if (G.value && w.value) {
|
|
5345
5345
|
let pe = se.value;
|
|
5346
|
-
pe || (pe = (_t, Wn,
|
|
5346
|
+
pe || (pe = (_t, Wn, wv) => gt.value.some((ms) => {
|
|
5347
5347
|
let zn = dn(Ca(_t[ms]), Y.value);
|
|
5348
5348
|
return le.value ? zn.startsWith(dn(Wn, Y.value)) : zn.indexOf(dn(Wn, Y.value)) !== -1;
|
|
5349
5349
|
})), oe = oe.filter((_t) => pe(_t, G.value, re));
|
|
@@ -9452,19 +9452,19 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
|
|
|
9452
9452
|
]), 1032, ["is-clickable"]));
|
|
9453
9453
|
}
|
|
9454
9454
|
});
|
|
9455
|
-
const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
9455
|
+
const Af = { class: "ao-card-project-milestone__default" }, Tf = { class: "ao-card-project-milestone__with-estimation" }, Sf = {
|
|
9456
9456
|
key: 0,
|
|
9457
9457
|
class: "ao-card-project-milestone__archive"
|
|
9458
|
-
},
|
|
9458
|
+
}, Of = { class: "ao-card-project-milestone__activities" }, Ef = { class: "ao-card-project-milestone__activities-row" }, If = { class: "ao-card-project-milestone__subitem" }, Lf = { class: "ao-card-project-milestone__subitem" }, Vf = {
|
|
9459
9459
|
key: 1,
|
|
9460
9460
|
class: "ao-card-project-milestone__secondary"
|
|
9461
|
-
},
|
|
9461
|
+
}, Df = { class: "ao-card-project-milestone__footer" }, Pf = {
|
|
9462
9462
|
key: 1,
|
|
9463
9463
|
class: "ao-field ao-card-project-milestone__deadline"
|
|
9464
|
-
},
|
|
9464
|
+
}, Hf = { class: "ao-field__label" }, Bf = {
|
|
9465
9465
|
key: 2,
|
|
9466
9466
|
class: "ao-card-project-milestone__assignee"
|
|
9467
|
-
},
|
|
9467
|
+
}, Rf = /* @__PURE__ */ J({
|
|
9468
9468
|
__name: "AoCardProjectItemMilestone",
|
|
9469
9469
|
props: {
|
|
9470
9470
|
id: {},
|
|
@@ -9507,19 +9507,22 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9507
9507
|
}, {
|
|
9508
9508
|
default: q(() => [
|
|
9509
9509
|
p("div", Af, [
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9510
|
+
p("div", Tf, [
|
|
9511
|
+
V(_e, {
|
|
9512
|
+
id: r.id,
|
|
9513
|
+
title: r.name || "",
|
|
9514
|
+
level: 5,
|
|
9515
|
+
"is-editable": !r.readonly && r.isEditable,
|
|
9516
|
+
class: "ao-card-project-milestone__title",
|
|
9517
|
+
"onUpdate:title": i
|
|
9518
|
+
}, null, 8, ["id", "title", "is-editable"]),
|
|
9519
|
+
V(_e, {
|
|
9520
|
+
title: "()",
|
|
9521
|
+
level: 5,
|
|
9522
|
+
"is-editable": !1
|
|
9523
|
+
})
|
|
9524
|
+
]),
|
|
9525
|
+
!r.readonly && r.isEditable ? (v(), g("div", Sf, [
|
|
9523
9526
|
V(de, {
|
|
9524
9527
|
color: r.isSelected ? void 0 : "primary",
|
|
9525
9528
|
variant: "ghost",
|
|
@@ -9532,29 +9535,29 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9532
9535
|
}, null, 8, ["color", "label"])
|
|
9533
9536
|
])) : T("", !0)
|
|
9534
9537
|
]),
|
|
9535
|
-
p("div",
|
|
9536
|
-
p("div",
|
|
9538
|
+
p("div", Of, [
|
|
9539
|
+
p("div", Ef, [
|
|
9537
9540
|
n.value ? (v(), g(Ce, { key: 0 }, [
|
|
9538
|
-
p("div",
|
|
9541
|
+
p("div", If, [
|
|
9539
9542
|
V(fe, {
|
|
9540
9543
|
name: "SelectCheckBox",
|
|
9541
9544
|
size: "sm"
|
|
9542
9545
|
}),
|
|
9543
|
-
p("span",
|
|
9546
|
+
p("span", Lf, K(s.value) + " / " + K(n.value), 1)
|
|
9544
9547
|
]),
|
|
9545
9548
|
V(Nn, {
|
|
9546
9549
|
percentages: o.value,
|
|
9547
9550
|
class: "ao-card-project-milestone__progress"
|
|
9548
9551
|
}, null, 8, ["percentages"])
|
|
9549
9552
|
], 64)) : T("", !0),
|
|
9550
|
-
r.$slots.secondary ? (v(), g("div",
|
|
9553
|
+
r.$slots.secondary ? (v(), g("div", Vf, [
|
|
9551
9554
|
te(r.$slots, "secondary")
|
|
9552
9555
|
])) : T("", !0)
|
|
9553
9556
|
])
|
|
9554
9557
|
])
|
|
9555
9558
|
]),
|
|
9556
9559
|
footer: q(() => [
|
|
9557
|
-
p("div",
|
|
9560
|
+
p("div", Df, [
|
|
9558
9561
|
r.important ? (v(), R(fe, {
|
|
9559
9562
|
key: 0,
|
|
9560
9563
|
name: "FlagRounded",
|
|
@@ -9563,10 +9566,10 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9563
9566
|
),
|
|
9564
9567
|
size: "sm"
|
|
9565
9568
|
}, null, 8, ["class"])) : T("", !0),
|
|
9566
|
-
r.deadline ? (v(), g("label",
|
|
9567
|
-
p("span",
|
|
9569
|
+
r.deadline ? (v(), g("label", Pf, [
|
|
9570
|
+
p("span", Hf, K(X(wn)(r.deadline)), 1)
|
|
9568
9571
|
])) : T("", !0),
|
|
9569
|
-
r.assignee ? (v(), g("div",
|
|
9572
|
+
r.assignee ? (v(), g("div", Bf, [
|
|
9570
9573
|
V(Xe, {
|
|
9571
9574
|
"user-name": X(V1)(r.assignee),
|
|
9572
9575
|
"avatar-url": r.assignee.avatarUrl,
|
|
@@ -9580,10 +9583,10 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
|
|
|
9580
9583
|
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9581
9584
|
}
|
|
9582
9585
|
});
|
|
9583
|
-
const
|
|
9586
|
+
const Nf = {
|
|
9584
9587
|
key: 0,
|
|
9585
9588
|
class: "ao-project-phase__drag ao-card__drag"
|
|
9586
|
-
},
|
|
9589
|
+
}, jf = { class: "ao-project-phase__col-phase" }, Uf = { class: "ao-project-phase__col-milestones" }, Zf = { class: "ao-project-phase__milestones" }, Ff = { class: "ao-project-phase__milestones-list-footer" }, qf = /* @__PURE__ */ J({
|
|
9587
9590
|
__name: "AoProjectPhase",
|
|
9588
9591
|
props: {
|
|
9589
9592
|
phase: {},
|
|
@@ -9640,13 +9643,13 @@ const Rf = {
|
|
|
9640
9643
|
{ "ao-project-phase--selected": f.phase.id === (($ = f.$route.params) == null ? void 0 : $.phaseId) }
|
|
9641
9644
|
])
|
|
9642
9645
|
}, [
|
|
9643
|
-
f.isEditable ? (v(), g("div",
|
|
9646
|
+
f.isEditable ? (v(), g("div", Nf, [
|
|
9644
9647
|
V(fe, {
|
|
9645
9648
|
name: "DragIndicator",
|
|
9646
9649
|
class: "ao-project-phase__drag-handle"
|
|
9647
9650
|
})
|
|
9648
9651
|
])) : T("", !0),
|
|
9649
|
-
p("div",
|
|
9652
|
+
p("div", jf, [
|
|
9650
9653
|
V(Mf, {
|
|
9651
9654
|
id: f.phase.id,
|
|
9652
9655
|
milestones: i.value,
|
|
@@ -9658,8 +9661,8 @@ const Rf = {
|
|
|
9658
9661
|
onArchivePhase: l
|
|
9659
9662
|
}, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
|
|
9660
9663
|
]),
|
|
9661
|
-
p("div",
|
|
9662
|
-
p("div",
|
|
9664
|
+
p("div", Uf, [
|
|
9665
|
+
p("div", Zf, [
|
|
9663
9666
|
V(X(pt), Ve({
|
|
9664
9667
|
class: "ao-project-phase__milestones-list",
|
|
9665
9668
|
list: i.value,
|
|
@@ -9670,7 +9673,7 @@ const Rf = {
|
|
|
9670
9673
|
item: q(({ element: _ }) => {
|
|
9671
9674
|
var y;
|
|
9672
9675
|
return [
|
|
9673
|
-
V(
|
|
9676
|
+
V(Rf, {
|
|
9674
9677
|
id: _.id,
|
|
9675
9678
|
name: _.name,
|
|
9676
9679
|
activities: _.activities,
|
|
@@ -9694,7 +9697,7 @@ const Rf = {
|
|
|
9694
9697
|
}),
|
|
9695
9698
|
_: 1
|
|
9696
9699
|
}, 16, ["list", "disabled"]),
|
|
9697
|
-
p("div",
|
|
9700
|
+
p("div", Ff, [
|
|
9698
9701
|
f.isEditable ? (v(), R(mt, {
|
|
9699
9702
|
key: 0,
|
|
9700
9703
|
label: f.$t("project.milestone.add"),
|
|
@@ -9709,10 +9712,10 @@ const Rf = {
|
|
|
9709
9712
|
};
|
|
9710
9713
|
}
|
|
9711
9714
|
});
|
|
9712
|
-
const
|
|
9715
|
+
const Wf = { class: "ao-project__phases" }, zf = {
|
|
9713
9716
|
key: 0,
|
|
9714
9717
|
class: "ao-project-phase__phases-list-footer"
|
|
9715
|
-
},
|
|
9718
|
+
}, xf = /* @__PURE__ */ p("div", { class: "ao-project-phase__empty_drag" }, null, -1), Yf = { class: "ao-project-phase__col-phase" }, Gf = /* @__PURE__ */ p("div", { class: "ao-project-phase__col-milestones" }, null, -1), Kf = /* @__PURE__ */ J({
|
|
9716
9719
|
__name: "AoProjectPhases",
|
|
9717
9720
|
props: {
|
|
9718
9721
|
phases: {},
|
|
@@ -9748,7 +9751,7 @@ const qf = { class: "ao-project__phases" }, Wf = {
|
|
|
9748
9751
|
}, d = (l) => {
|
|
9749
9752
|
e("addPhase", l);
|
|
9750
9753
|
};
|
|
9751
|
-
return (l, c) => (v(), g("div",
|
|
9754
|
+
return (l, c) => (v(), g("div", Wf, [
|
|
9752
9755
|
V(X(pt), {
|
|
9753
9756
|
class: "ao-project-phase__phases-list",
|
|
9754
9757
|
"model-value": l.phases,
|
|
@@ -9757,7 +9760,7 @@ const qf = { class: "ao-project__phases" }, Wf = {
|
|
|
9757
9760
|
onChange: r
|
|
9758
9761
|
}, {
|
|
9759
9762
|
item: q(({ element: f }) => [
|
|
9760
|
-
V(
|
|
9763
|
+
V(qf, {
|
|
9761
9764
|
phase: f,
|
|
9762
9765
|
"is-editable": !l.readonly && l.isEditable,
|
|
9763
9766
|
"closed-status": l.closedStatus,
|
|
@@ -9772,9 +9775,9 @@ const qf = { class: "ao-project__phases" }, Wf = {
|
|
|
9772
9775
|
]),
|
|
9773
9776
|
_: 1
|
|
9774
9777
|
}, 8, ["model-value"]),
|
|
9775
|
-
l.isEditable ? (v(), g("div",
|
|
9776
|
-
|
|
9777
|
-
p("div",
|
|
9778
|
+
l.isEditable ? (v(), g("div", zf, [
|
|
9779
|
+
xf,
|
|
9780
|
+
p("div", Yf, [
|
|
9778
9781
|
V(mt, {
|
|
9779
9782
|
label: l.$t("project.phases.add"),
|
|
9780
9783
|
"icon-name": "Add",
|
|
@@ -9782,12 +9785,12 @@ const qf = { class: "ao-project__phases" }, Wf = {
|
|
|
9782
9785
|
onClick: d
|
|
9783
9786
|
}, null, 8, ["label"])
|
|
9784
9787
|
]),
|
|
9785
|
-
|
|
9788
|
+
Gf
|
|
9786
9789
|
])) : T("", !0)
|
|
9787
9790
|
]));
|
|
9788
9791
|
}
|
|
9789
9792
|
});
|
|
9790
|
-
const
|
|
9793
|
+
const Xf = ["onSubmit"], Qf = { class: "ao-add-template-modal__form-body" }, Jf = { class: "field__row" }, e8 = { class: "ao-add-template-modal__form-footer" }, t8 = /* @__PURE__ */ J({
|
|
9791
9794
|
__name: "AoAddTemplateModal",
|
|
9792
9795
|
props: {
|
|
9793
9796
|
projectId: {},
|
|
@@ -9815,8 +9818,8 @@ const Kf = ["onSubmit"], Xf = { class: "ao-add-template-modal__form-body" }, Qf
|
|
|
9815
9818
|
class: "ao-add-template-modal__form",
|
|
9816
9819
|
onSubmit: he(i, ["prevent"])
|
|
9817
9820
|
}, [
|
|
9818
|
-
p("div",
|
|
9819
|
-
p("div",
|
|
9821
|
+
p("div", Qf, [
|
|
9822
|
+
p("div", Jf, [
|
|
9820
9823
|
V($e, {
|
|
9821
9824
|
value: s.value,
|
|
9822
9825
|
options: n.value,
|
|
@@ -9825,7 +9828,7 @@ const Kf = ["onSubmit"], Xf = { class: "ao-add-template-modal__form-body" }, Qf
|
|
|
9825
9828
|
}, null, 8, ["value", "options"])
|
|
9826
9829
|
])
|
|
9827
9830
|
]),
|
|
9828
|
-
p("footer",
|
|
9831
|
+
p("footer", e8, [
|
|
9829
9832
|
V(de, {
|
|
9830
9833
|
label: r.$t("project.template.add.label"),
|
|
9831
9834
|
type: "submit",
|
|
@@ -9834,13 +9837,13 @@ const Kf = ["onSubmit"], Xf = { class: "ao-add-template-modal__form-body" }, Qf
|
|
|
9834
9837
|
onClick: i
|
|
9835
9838
|
}, null, 8, ["label"])
|
|
9836
9839
|
])
|
|
9837
|
-
], 40,
|
|
9840
|
+
], 40, Xf)
|
|
9838
9841
|
]),
|
|
9839
9842
|
_: 1
|
|
9840
9843
|
}));
|
|
9841
9844
|
}
|
|
9842
9845
|
});
|
|
9843
|
-
const
|
|
9846
|
+
const a8 = J({
|
|
9844
9847
|
props: {
|
|
9845
9848
|
isLeft: {
|
|
9846
9849
|
type: Boolean,
|
|
@@ -9869,9 +9872,9 @@ const t8 = J({
|
|
|
9869
9872
|
}
|
|
9870
9873
|
}
|
|
9871
9874
|
});
|
|
9872
|
-
const
|
|
9873
|
-
function
|
|
9874
|
-
return v(), g("div",
|
|
9875
|
+
const n8 = { class: "toggle-wrapper" };
|
|
9876
|
+
function s8(t, e, a, n, s, o) {
|
|
9877
|
+
return v(), g("div", n8, [
|
|
9875
9878
|
p("button", {
|
|
9876
9879
|
class: x({
|
|
9877
9880
|
button: !0,
|
|
@@ -9892,7 +9895,7 @@ function n8(t, e, a, n, s, o) {
|
|
|
9892
9895
|
}, K(t.rightLabel), 3)
|
|
9893
9896
|
]);
|
|
9894
9897
|
}
|
|
9895
|
-
const X1 = /* @__PURE__ */ j(
|
|
9898
|
+
const X1 = /* @__PURE__ */ j(a8, [["render", s8], ["__scopeId", "data-v-cbe33527"]]), i8 = { class: "ao-project" }, o8 = { class: "ao-project__body" }, r8 = /* @__PURE__ */ J({
|
|
9896
9899
|
__name: "AoProjectOverviewProject",
|
|
9897
9900
|
props: {
|
|
9898
9901
|
project: {},
|
|
@@ -9958,7 +9961,7 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
9958
9961
|
const B = ws("RouterView");
|
|
9959
9962
|
return v(), g(Ce, null, [
|
|
9960
9963
|
p("div", Ve({ class: "ao-project-overview" }, O.$attrs), [
|
|
9961
|
-
p("div",
|
|
9964
|
+
p("div", i8, [
|
|
9962
9965
|
V(Wa, null, {
|
|
9963
9966
|
primary: q(() => [
|
|
9964
9967
|
V(X1, {
|
|
@@ -9993,8 +9996,8 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
9993
9996
|
]),
|
|
9994
9997
|
_: 1
|
|
9995
9998
|
}),
|
|
9996
|
-
p("div",
|
|
9997
|
-
V(
|
|
9999
|
+
p("div", o8, [
|
|
10000
|
+
V(Kf, {
|
|
9998
10001
|
phases: O.phases,
|
|
9999
10002
|
"closed-status": O.closedStatus,
|
|
10000
10003
|
"is-editable": O.isEditable === !0,
|
|
@@ -10059,7 +10062,7 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
10059
10062
|
]))
|
|
10060
10063
|
], 16),
|
|
10061
10064
|
(v(), R(Ht, { to: "body" }, [
|
|
10062
|
-
U.value ? (v(), R(
|
|
10065
|
+
U.value ? (v(), R(t8, {
|
|
10063
10066
|
key: 0,
|
|
10064
10067
|
"project-id": O.project.id,
|
|
10065
10068
|
templates: O.templates,
|
|
@@ -10071,36 +10074,36 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
|
|
|
10071
10074
|
};
|
|
10072
10075
|
}
|
|
10073
10076
|
});
|
|
10074
|
-
const
|
|
10077
|
+
const l8 = { class: "ao-card-feed__header" }, u8 = {
|
|
10075
10078
|
key: 1,
|
|
10076
10079
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
10077
|
-
},
|
|
10080
|
+
}, d8 = {
|
|
10078
10081
|
key: 2,
|
|
10079
10082
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
10080
|
-
},
|
|
10083
|
+
}, c8 = { class: "ao-card-feed__body" }, f8 = {
|
|
10081
10084
|
key: 0,
|
|
10082
10085
|
class: "ao-card-feed__breadcrumbs"
|
|
10083
|
-
}, f8 = {
|
|
10084
|
-
class: /* @__PURE__ */ x(["ao-card-feed__title-group"])
|
|
10085
10086
|
}, v8 = {
|
|
10087
|
+
class: /* @__PURE__ */ x(["ao-card-feed__title-group"])
|
|
10088
|
+
}, p8 = {
|
|
10086
10089
|
key: 1,
|
|
10087
10090
|
class: "ao-card-feed__deadline"
|
|
10088
|
-
},
|
|
10091
|
+
}, m8 = { class: "ao-card-feed__footer" }, h8 = { class: "ao-card-feed__footer-row" }, C8 = { class: "ao-assignees" }, g8 = {
|
|
10089
10092
|
key: 0,
|
|
10090
10093
|
class: "ao-assignee"
|
|
10091
|
-
},
|
|
10094
|
+
}, _8 = {
|
|
10092
10095
|
key: 0,
|
|
10093
10096
|
class: "ao-card-feed__subitems"
|
|
10094
|
-
},
|
|
10097
|
+
}, y8 = {
|
|
10095
10098
|
key: 0,
|
|
10096
10099
|
class: "ao-card-feed__subitem"
|
|
10097
|
-
},
|
|
10100
|
+
}, b8 = { class: "ao-card-feed__subitem" }, w8 = {
|
|
10098
10101
|
key: 1,
|
|
10099
10102
|
class: "ao-card-feed__subitem"
|
|
10100
|
-
},
|
|
10103
|
+
}, $8 = { class: "ao-card-feed__subitem" }, k8 = { class: "ao-card-feed__footer-row" }, M8 = {
|
|
10101
10104
|
key: 0,
|
|
10102
10105
|
class: "ao-card-feed__progress-wrapper"
|
|
10103
|
-
},
|
|
10106
|
+
}, A8 = { class: "ao-card-feed__subitem" }, T8 = { class: "ao-card-feed__subitem" }, Q1 = /* @__PURE__ */ J({
|
|
10104
10107
|
__name: "AoCardFeed",
|
|
10105
10108
|
props: {
|
|
10106
10109
|
id: {},
|
|
@@ -10141,7 +10144,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10141
10144
|
"is-clickable": !0
|
|
10142
10145
|
}, {
|
|
10143
10146
|
header: q(() => [
|
|
10144
|
-
p("div",
|
|
10147
|
+
p("div", l8, [
|
|
10145
10148
|
(c.isFeedView ? c.milestoneName : c.projectName) ? (v(), R(yn, {
|
|
10146
10149
|
key: 0,
|
|
10147
10150
|
label: (c.isFeedView ? c.milestoneName : c.projectName) ?? "",
|
|
@@ -10150,7 +10153,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10150
10153
|
color: c.projectColor ? void 0 : "primary",
|
|
10151
10154
|
"raw-color": c.projectColor
|
|
10152
10155
|
}, null, 8, ["label", "color", "raw-color"])) : T("", !0),
|
|
10153
|
-
c.isPrivate || c.important || c.isClosed ? (v(), g("div",
|
|
10156
|
+
c.isPrivate || c.important || c.isClosed ? (v(), g("div", u8, [
|
|
10154
10157
|
c.isPrivate ? (v(), R(fe, {
|
|
10155
10158
|
key: 0,
|
|
10156
10159
|
name: "Lock",
|
|
@@ -10169,15 +10172,15 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10169
10172
|
class: "ao-card-feed__closed"
|
|
10170
10173
|
})) : T("", !0)
|
|
10171
10174
|
])) : T("", !0),
|
|
10172
|
-
c.$slots.secondary ? (v(), g("div",
|
|
10175
|
+
c.$slots.secondary ? (v(), g("div", d8, [
|
|
10173
10176
|
te(c.$slots, "secondary")
|
|
10174
10177
|
])) : T("", !0)
|
|
10175
10178
|
])
|
|
10176
10179
|
]),
|
|
10177
10180
|
default: q(() => [
|
|
10178
|
-
p("div",
|
|
10179
|
-
s.value ? (v(), g("span",
|
|
10180
|
-
p("div",
|
|
10181
|
+
p("div", c8, [
|
|
10182
|
+
s.value ? (v(), g("span", f8, K(s.value), 1)) : T("", !0),
|
|
10183
|
+
p("div", v8, [
|
|
10181
10184
|
V(_e, {
|
|
10182
10185
|
id: c.id,
|
|
10183
10186
|
title: c.name,
|
|
@@ -10186,17 +10189,17 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10186
10189
|
"onUpdate:title": n
|
|
10187
10190
|
}, null, 8, ["id", "title", "is-editable"])
|
|
10188
10191
|
]),
|
|
10189
|
-
c.deadline ? (v(), g("span",
|
|
10192
|
+
c.deadline ? (v(), g("span", p8, K(i.value), 1)) : T("", !0)
|
|
10190
10193
|
])
|
|
10191
10194
|
]),
|
|
10192
10195
|
footer: q(() => [
|
|
10193
|
-
p("div",
|
|
10194
|
-
p("div",
|
|
10195
|
-
p("ul",
|
|
10196
|
+
p("div", m8, [
|
|
10197
|
+
p("div", h8, [
|
|
10198
|
+
p("ul", C8, [
|
|
10196
10199
|
(v(!0), g(Ce, null, ye(o.value, (C) => (v(), g(Ce, {
|
|
10197
10200
|
key: C.id
|
|
10198
10201
|
}, [
|
|
10199
|
-
C ? (v(), g("li",
|
|
10202
|
+
C ? (v(), g("li", g8, [
|
|
10200
10203
|
V(Xe, {
|
|
10201
10204
|
"user-name": X(V1)(C),
|
|
10202
10205
|
"avatar-url": C.avatarUrl,
|
|
@@ -10206,31 +10209,31 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10206
10209
|
])) : T("", !0)
|
|
10207
10210
|
], 64))), 128))
|
|
10208
10211
|
]),
|
|
10209
|
-
c.comments || c.attachments ? (v(), g("ul",
|
|
10210
|
-
c.comments ? (v(), g("li",
|
|
10212
|
+
c.comments || c.attachments ? (v(), g("ul", _8, [
|
|
10213
|
+
c.comments ? (v(), g("li", y8, [
|
|
10211
10214
|
V(fe, {
|
|
10212
10215
|
name: "ChatOutline",
|
|
10213
10216
|
size: "sm"
|
|
10214
10217
|
}),
|
|
10215
|
-
p("span",
|
|
10218
|
+
p("span", b8, K(c.comments), 1)
|
|
10216
10219
|
])) : T("", !0),
|
|
10217
|
-
c.attachments ? (v(), g("li",
|
|
10220
|
+
c.attachments ? (v(), g("li", w8, [
|
|
10218
10221
|
V(fe, {
|
|
10219
10222
|
name: "AttachFileRounded",
|
|
10220
10223
|
size: "sm"
|
|
10221
10224
|
}),
|
|
10222
|
-
p("span",
|
|
10225
|
+
p("span", $8, K(c.attachments), 1)
|
|
10223
10226
|
])) : T("", !0)
|
|
10224
10227
|
])) : T("", !0)
|
|
10225
10228
|
]),
|
|
10226
|
-
p("div",
|
|
10227
|
-
c.tasks && c.tasks.length ? (v(), g("div",
|
|
10228
|
-
p("div",
|
|
10229
|
+
p("div", k8, [
|
|
10230
|
+
c.tasks && c.tasks.length ? (v(), g("div", M8, [
|
|
10231
|
+
p("div", A8, [
|
|
10229
10232
|
V(fe, {
|
|
10230
10233
|
name: "SelectCheckBox",
|
|
10231
10234
|
size: "sm"
|
|
10232
10235
|
}),
|
|
10233
|
-
p("span",
|
|
10236
|
+
p("span", T8, K(d.value) + " / " + K(u.value), 1)
|
|
10234
10237
|
]),
|
|
10235
10238
|
V(Nn, {
|
|
10236
10239
|
percentages: l.value,
|
|
@@ -10244,10 +10247,10 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
|
|
|
10244
10247
|
}, 8, ["class"]));
|
|
10245
10248
|
}
|
|
10246
10249
|
});
|
|
10247
|
-
const
|
|
10250
|
+
const S8 = { class: "ao-project-milestone" }, O8 = { class: "ao-project-milestone__header" }, E8 = { class: "ao-project-milestone__header_line" }, I8 = { class: "ao-project-milestone__header_line" }, L8 = { class: "ao-project-milestone__title" }, V8 = {
|
|
10248
10251
|
key: 0,
|
|
10249
10252
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
10250
|
-
},
|
|
10253
|
+
}, D8 = { class: "ao-field__row ao-milestone__field-row" }, P8 = { class: "ao-field ao-field--inline" }, H8 = { class: "ao-field__row ao-milestone__field-row" }, B8 = { class: "ao-field ao-milestone__field-multiselect" }, R8 = { class: "ao-project-milestone__body" }, N8 = {
|
|
10251
10254
|
key: 0,
|
|
10252
10255
|
class: "ao-project-milestone__footer"
|
|
10253
10256
|
}, f1 = /* @__PURE__ */ J({
|
|
@@ -10343,9 +10346,9 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10343
10346
|
});
|
|
10344
10347
|
return (m, A) => {
|
|
10345
10348
|
var w;
|
|
10346
|
-
return v(), g("div",
|
|
10347
|
-
p("header",
|
|
10348
|
-
p("div",
|
|
10349
|
+
return v(), g("div", S8, [
|
|
10350
|
+
p("header", O8, [
|
|
10351
|
+
p("div", E8, [
|
|
10349
10352
|
V(de, {
|
|
10350
10353
|
"icon-name": "CloseRounded",
|
|
10351
10354
|
variant: "ghost",
|
|
@@ -10354,8 +10357,8 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10354
10357
|
onClick: u
|
|
10355
10358
|
})
|
|
10356
10359
|
]),
|
|
10357
|
-
p("div",
|
|
10358
|
-
p("div",
|
|
10360
|
+
p("div", I8, [
|
|
10361
|
+
p("div", L8, [
|
|
10359
10362
|
V(_e, {
|
|
10360
10363
|
title: ((w = i.value) == null ? void 0 : w.name) || m.milestoneId,
|
|
10361
10364
|
level: 5
|
|
@@ -10374,9 +10377,9 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10374
10377
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
10375
10378
|
])
|
|
10376
10379
|
]),
|
|
10377
|
-
i.value ? (v(), g("div",
|
|
10378
|
-
p("div",
|
|
10379
|
-
p("label",
|
|
10380
|
+
i.value ? (v(), g("div", V8, [
|
|
10381
|
+
p("div", D8, [
|
|
10382
|
+
p("label", P8, [
|
|
10380
10383
|
rt(p("input", {
|
|
10381
10384
|
"onUpdate:modelValue": A[1] || (A[1] = (S) => f.value = S),
|
|
10382
10385
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -10391,8 +10394,8 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10391
10394
|
])
|
|
10392
10395
|
])
|
|
10393
10396
|
]),
|
|
10394
|
-
p("div",
|
|
10395
|
-
p("label",
|
|
10397
|
+
p("div", H8, [
|
|
10398
|
+
p("label", B8, [
|
|
10396
10399
|
V($e, {
|
|
10397
10400
|
modelValue: _.value,
|
|
10398
10401
|
"onUpdate:modelValue": A[2] || (A[2] = (S) => _.value = S),
|
|
@@ -10423,7 +10426,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10423
10426
|
])
|
|
10424
10427
|
])) : T("", !0)
|
|
10425
10428
|
]),
|
|
10426
|
-
p("div",
|
|
10429
|
+
p("div", R8, [
|
|
10427
10430
|
V(X(pt), Ve({
|
|
10428
10431
|
class: "ao-project-milestone__activities",
|
|
10429
10432
|
list: r.value,
|
|
@@ -10492,7 +10495,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10492
10495
|
}),
|
|
10493
10496
|
_: 1
|
|
10494
10497
|
}, 16, ["list", "disabled"]),
|
|
10495
|
-
m.isEditable ? (v(), g("div",
|
|
10498
|
+
m.isEditable ? (v(), g("div", N8, [
|
|
10496
10499
|
V(mt, {
|
|
10497
10500
|
"icon-name": "Add",
|
|
10498
10501
|
label: m.$t("project.activity.add"),
|
|
@@ -10504,7 +10507,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
|
|
|
10504
10507
|
};
|
|
10505
10508
|
}
|
|
10506
10509
|
});
|
|
10507
|
-
const
|
|
10510
|
+
const j8 = /* @__PURE__ */ J({
|
|
10508
10511
|
__name: "AoProjectOverviewActivityDetails",
|
|
10509
10512
|
props: {
|
|
10510
10513
|
phaseId: {},
|
|
@@ -10591,14 +10594,14 @@ const N8 = /* @__PURE__ */ J({
|
|
|
10591
10594
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
|
|
10592
10595
|
};
|
|
10593
10596
|
}
|
|
10594
|
-
}),
|
|
10597
|
+
}), U8 = { class: "ao-col-header" }, Z8 = /* @__PURE__ */ J({
|
|
10595
10598
|
__name: "AoColHeader",
|
|
10596
10599
|
props: {
|
|
10597
10600
|
title: {},
|
|
10598
10601
|
items: {}
|
|
10599
10602
|
},
|
|
10600
10603
|
setup(t) {
|
|
10601
|
-
return (e, a) => (v(), g("header",
|
|
10604
|
+
return (e, a) => (v(), g("header", U8, [
|
|
10602
10605
|
V(_e, {
|
|
10603
10606
|
title: e.title,
|
|
10604
10607
|
class: "ao-col-header__title",
|
|
@@ -10614,17 +10617,17 @@ const N8 = /* @__PURE__ */ J({
|
|
|
10614
10617
|
]));
|
|
10615
10618
|
}
|
|
10616
10619
|
});
|
|
10617
|
-
function
|
|
10620
|
+
function F8(t) {
|
|
10618
10621
|
return $s() ? (ks(t), !0) : !1;
|
|
10619
10622
|
}
|
|
10620
10623
|
function Ba(t) {
|
|
10621
10624
|
return typeof t == "function" ? t() : X(t);
|
|
10622
10625
|
}
|
|
10623
|
-
const
|
|
10626
|
+
const q8 = typeof window < "u" && typeof document < "u";
|
|
10624
10627
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
10625
|
-
const
|
|
10628
|
+
const W8 = (t) => t != null, na = () => {
|
|
10626
10629
|
};
|
|
10627
|
-
function
|
|
10630
|
+
function z8(t, e) {
|
|
10628
10631
|
function a(...n) {
|
|
10629
10632
|
return new Promise((s, o) => {
|
|
10630
10633
|
Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
|
|
@@ -10632,7 +10635,7 @@ function W8(t, e) {
|
|
|
10632
10635
|
}
|
|
10633
10636
|
return a;
|
|
10634
10637
|
}
|
|
10635
|
-
function
|
|
10638
|
+
function x8(t, e = {}) {
|
|
10636
10639
|
let a, n, s = na;
|
|
10637
10640
|
const o = (r) => {
|
|
10638
10641
|
clearTimeout(r), s(), s = na;
|
|
@@ -10648,9 +10651,9 @@ function z8(t, e = {}) {
|
|
|
10648
10651
|
});
|
|
10649
10652
|
};
|
|
10650
10653
|
}
|
|
10651
|
-
function
|
|
10652
|
-
return
|
|
10653
|
-
|
|
10654
|
+
function Y8(t, e = 200, a = {}) {
|
|
10655
|
+
return z8(
|
|
10656
|
+
x8(e, a),
|
|
10654
10657
|
t
|
|
10655
10658
|
);
|
|
10656
10659
|
}
|
|
@@ -10659,27 +10662,27 @@ function cn(t) {
|
|
|
10659
10662
|
const a = Ba(t);
|
|
10660
10663
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
10661
10664
|
}
|
|
10662
|
-
const
|
|
10663
|
-
function
|
|
10665
|
+
const G8 = q8 ? window : void 0;
|
|
10666
|
+
function K8() {
|
|
10664
10667
|
const t = ae(!1), e = Mt();
|
|
10665
10668
|
return e && qt(() => {
|
|
10666
10669
|
t.value = !0;
|
|
10667
10670
|
}, e), t;
|
|
10668
10671
|
}
|
|
10669
|
-
function
|
|
10670
|
-
const e =
|
|
10672
|
+
function X8(t) {
|
|
10673
|
+
const e = K8();
|
|
10671
10674
|
return M(() => (e.value, !!t()));
|
|
10672
10675
|
}
|
|
10673
|
-
function
|
|
10676
|
+
function Q8(t, e, a = {}) {
|
|
10674
10677
|
const {
|
|
10675
10678
|
root: n,
|
|
10676
10679
|
rootMargin: s = "0px",
|
|
10677
10680
|
threshold: o = 0.1,
|
|
10678
|
-
window: i =
|
|
10681
|
+
window: i = G8,
|
|
10679
10682
|
immediate: r = !0
|
|
10680
|
-
} = a, u =
|
|
10683
|
+
} = a, u = X8(() => i && "IntersectionObserver" in i), d = M(() => {
|
|
10681
10684
|
const $ = Ba(t);
|
|
10682
|
-
return (Array.isArray($) ? $ : [$]).map(cn).filter(
|
|
10685
|
+
return (Array.isArray($) ? $ : [$]).map(cn).filter(W8);
|
|
10683
10686
|
});
|
|
10684
10687
|
let l = na;
|
|
10685
10688
|
const c = ae(r), f = u.value ? ce(
|
|
@@ -10703,7 +10706,7 @@ function X8(t, e, a = {}) {
|
|
|
10703
10706
|
) : na, C = () => {
|
|
10704
10707
|
l(), f(), c.value = !1;
|
|
10705
10708
|
};
|
|
10706
|
-
return
|
|
10709
|
+
return F8(C), {
|
|
10707
10710
|
isSupported: u,
|
|
10708
10711
|
isActive: c,
|
|
10709
10712
|
pause() {
|
|
@@ -10715,24 +10718,24 @@ function X8(t, e, a = {}) {
|
|
|
10715
10718
|
stop: C
|
|
10716
10719
|
};
|
|
10717
10720
|
}
|
|
10718
|
-
const
|
|
10721
|
+
const J8 = {
|
|
10719
10722
|
class: /* @__PURE__ */ x(["ao-list-kanban"])
|
|
10720
|
-
},
|
|
10723
|
+
}, ev = { class: "ao-list-kanban__header" }, tv = {
|
|
10721
10724
|
key: 0,
|
|
10722
10725
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
10723
|
-
},
|
|
10726
|
+
}, av = {
|
|
10724
10727
|
key: 1,
|
|
10725
10728
|
class: "ao-list-kanban__end"
|
|
10726
|
-
},
|
|
10729
|
+
}, nv = {
|
|
10727
10730
|
key: 0,
|
|
10728
10731
|
class: "ao-list-kanban__no-more"
|
|
10729
|
-
},
|
|
10732
|
+
}, sv = {
|
|
10730
10733
|
key: 1,
|
|
10731
10734
|
class: "ao-list-kanban__divider"
|
|
10732
|
-
},
|
|
10735
|
+
}, iv = {
|
|
10733
10736
|
key: 1,
|
|
10734
10737
|
class: "ao-list-kanban__footer"
|
|
10735
|
-
},
|
|
10738
|
+
}, ov = /* @__PURE__ */ J({
|
|
10736
10739
|
__name: "AoListKanban",
|
|
10737
10740
|
props: {
|
|
10738
10741
|
list: {},
|
|
@@ -10750,7 +10753,7 @@ const Q8 = {
|
|
|
10750
10753
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
10751
10754
|
setup(t, { emit: e }) {
|
|
10752
10755
|
const a = t, n = ae(!1), s = ae(null);
|
|
10753
|
-
|
|
10756
|
+
Q8(s, ([{ isIntersecting: l }]) => {
|
|
10754
10757
|
n.value = l;
|
|
10755
10758
|
}), ce(n, (l) => {
|
|
10756
10759
|
l && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -10775,12 +10778,12 @@ const Q8 = {
|
|
|
10775
10778
|
)
|
|
10776
10779
|
});
|
|
10777
10780
|
}, d = ae(!1);
|
|
10778
|
-
return (l, c) => (v(), g("div",
|
|
10781
|
+
return (l, c) => (v(), g("div", J8, [
|
|
10779
10782
|
l.title || l.$slots.header ? te(l.$slots, "header", { key: 0 }, () => {
|
|
10780
10783
|
var f;
|
|
10781
10784
|
return [
|
|
10782
|
-
p("div",
|
|
10783
|
-
l.title ? (v(), R(
|
|
10785
|
+
p("div", ev, [
|
|
10786
|
+
l.title ? (v(), R(Z8, {
|
|
10784
10787
|
key: 0,
|
|
10785
10788
|
title: l.title,
|
|
10786
10789
|
level: 3,
|
|
@@ -10864,20 +10867,20 @@ const Q8 = {
|
|
|
10864
10867
|
];
|
|
10865
10868
|
}),
|
|
10866
10869
|
footer: q(() => [
|
|
10867
|
-
l.isLoading ? (v(), g("div",
|
|
10870
|
+
l.isLoading ? (v(), g("div", tv, [
|
|
10868
10871
|
V(fe, { name: "Loading" })
|
|
10869
10872
|
])) : l.hasMore ? (v(), g("div", {
|
|
10870
10873
|
key: 2,
|
|
10871
10874
|
ref_key: "scrollEnd",
|
|
10872
10875
|
ref: s,
|
|
10873
10876
|
class: "ao-list-kanban__end"
|
|
10874
|
-
}, null, 512)) : (v(), g("div",
|
|
10875
|
-
l.noMoreLabel ? (v(), g("span",
|
|
10877
|
+
}, null, 512)) : (v(), g("div", av, [
|
|
10878
|
+
l.noMoreLabel ? (v(), g("span", nv, K(l.noMoreLabel), 1)) : l.isEditable ? (v(), g("span", sv)) : T("", !0)
|
|
10876
10879
|
]))
|
|
10877
10880
|
]),
|
|
10878
10881
|
_: 1
|
|
10879
10882
|
}, 16, ["class", "list", "disabled"]),
|
|
10880
|
-
l.$slots.footer || l.footerLabel ? (v(), g("div",
|
|
10883
|
+
l.$slots.footer || l.footerLabel ? (v(), g("div", iv, [
|
|
10881
10884
|
te(l.$slots, "footer", {}, () => [
|
|
10882
10885
|
l.isEditable ? (v(), R(mt, {
|
|
10883
10886
|
key: 0,
|
|
@@ -10890,7 +10893,7 @@ const Q8 = {
|
|
|
10890
10893
|
]));
|
|
10891
10894
|
}
|
|
10892
10895
|
});
|
|
10893
|
-
const
|
|
10896
|
+
const rv = { class: "ao-field ao-search-field" }, lv = ["value", "placeholder", "onKeypress"], uv = /* @__PURE__ */ J({
|
|
10894
10897
|
__name: "AoSearchField",
|
|
10895
10898
|
props: {
|
|
10896
10899
|
modelValue: {},
|
|
@@ -10902,10 +10905,10 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
|
|
|
10902
10905
|
const a = t, n = async (i) => {
|
|
10903
10906
|
const u = i.target.value;
|
|
10904
10907
|
e("update:modelValue", u, i);
|
|
10905
|
-
}, s =
|
|
10908
|
+
}, s = Y8(n, a.delay), o = (i) => {
|
|
10906
10909
|
e("clear", i);
|
|
10907
10910
|
};
|
|
10908
|
-
return (i, r) => (v(), g("div",
|
|
10911
|
+
return (i, r) => (v(), g("div", rv, [
|
|
10909
10912
|
p("input", {
|
|
10910
10913
|
value: i.modelValue,
|
|
10911
10914
|
type: "text",
|
|
@@ -10914,7 +10917,7 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
|
|
|
10914
10917
|
onInput: r[0] || (r[0] = //@ts-ignore
|
|
10915
10918
|
(...u) => X(s) && X(s)(...u)),
|
|
10916
10919
|
onKeypress: ut(n, ["enter"])
|
|
10917
|
-
}, null, 40,
|
|
10920
|
+
}, null, 40, lv),
|
|
10918
10921
|
V(fe, {
|
|
10919
10922
|
name: "SearchRounded",
|
|
10920
10923
|
class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -10930,7 +10933,7 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
|
|
|
10930
10933
|
]));
|
|
10931
10934
|
}
|
|
10932
10935
|
});
|
|
10933
|
-
const
|
|
10936
|
+
const dv = { class: "ao-feed" }, cv = { class: "ao-feed__filters" }, fv = { class: "ao-feed__body" }, vv = /* @__PURE__ */ J({
|
|
10934
10937
|
__name: "AoFeed",
|
|
10935
10938
|
props: {
|
|
10936
10939
|
activities: {},
|
|
@@ -11035,10 +11038,10 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11035
11038
|
};
|
|
11036
11039
|
return (E, N) => {
|
|
11037
11040
|
var Q;
|
|
11038
|
-
return v(), g("div",
|
|
11041
|
+
return v(), g("div", dv, [
|
|
11039
11042
|
V(Wa, null, {
|
|
11040
11043
|
primary: q(() => [
|
|
11041
|
-
p("div",
|
|
11044
|
+
p("div", cv, [
|
|
11042
11045
|
a.project ? (v(), R(X1, {
|
|
11043
11046
|
key: 0,
|
|
11044
11047
|
"is-left": !1,
|
|
@@ -11048,7 +11051,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11048
11051
|
k && E.$router.push({ name: X(Ue).project });
|
|
11049
11052
|
})
|
|
11050
11053
|
}, null, 8, ["right-label", "left-label"])) : T("", !0),
|
|
11051
|
-
V(
|
|
11054
|
+
V(uv, {
|
|
11052
11055
|
"model-value": E.searchText,
|
|
11053
11056
|
placeholder: E.$t("feed.search.placeholder"),
|
|
11054
11057
|
class: "ao-feed__search",
|
|
@@ -11129,8 +11132,8 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11129
11132
|
]),
|
|
11130
11133
|
_: 1
|
|
11131
11134
|
}),
|
|
11132
|
-
p("div",
|
|
11133
|
-
(v(!0), g(Ce, null, ye(E.statuses, (k) => (v(), R(
|
|
11135
|
+
p("div", fv, [
|
|
11136
|
+
(v(!0), g(Ce, null, ye(E.statuses, (k) => (v(), R(ov, {
|
|
11134
11137
|
key: k.id,
|
|
11135
11138
|
status: k,
|
|
11136
11139
|
list: i.value[k.id],
|
|
@@ -11187,7 +11190,7 @@ const Lt = {
|
|
|
11187
11190
|
TEMPLATES: "templates",
|
|
11188
11191
|
TEMPLATE_DETAILS: "template_details",
|
|
11189
11192
|
TEMPLATES_LIST: "templates_list"
|
|
11190
|
-
},
|
|
11193
|
+
}, Ev = (t, e = {}) => [
|
|
11191
11194
|
{
|
|
11192
11195
|
path: t,
|
|
11193
11196
|
name: Lt.TEMPLATES,
|
|
@@ -11197,7 +11200,7 @@ const Lt = {
|
|
|
11197
11200
|
{
|
|
11198
11201
|
path: "",
|
|
11199
11202
|
name: Lt.TEMPLATES_LIST,
|
|
11200
|
-
component:
|
|
11203
|
+
component: mv
|
|
11201
11204
|
},
|
|
11202
11205
|
{
|
|
11203
11206
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -11212,7 +11215,7 @@ const Lt = {
|
|
|
11212
11215
|
feed: "AoProjectFeed",
|
|
11213
11216
|
milestone: "AoMilestone",
|
|
11214
11217
|
activity: "AoActivity"
|
|
11215
|
-
},
|
|
11218
|
+
}, Iv = (t, e = {}) => [
|
|
11216
11219
|
{
|
|
11217
11220
|
path: t,
|
|
11218
11221
|
...e,
|
|
@@ -11221,7 +11224,7 @@ const Lt = {
|
|
|
11221
11224
|
{
|
|
11222
11225
|
path: "",
|
|
11223
11226
|
name: Ue.project,
|
|
11224
|
-
component:
|
|
11227
|
+
component: r8,
|
|
11225
11228
|
props: !0,
|
|
11226
11229
|
children: [
|
|
11227
11230
|
{
|
|
@@ -11236,7 +11239,7 @@ const Lt = {
|
|
|
11236
11239
|
props: { default: !0, modal: !0 },
|
|
11237
11240
|
components: {
|
|
11238
11241
|
default: f1,
|
|
11239
|
-
modal:
|
|
11242
|
+
modal: j8
|
|
11240
11243
|
}
|
|
11241
11244
|
}
|
|
11242
11245
|
]
|
|
@@ -11244,12 +11247,12 @@ const Lt = {
|
|
|
11244
11247
|
{
|
|
11245
11248
|
path: "feed",
|
|
11246
11249
|
name: Ue.feed,
|
|
11247
|
-
component:
|
|
11250
|
+
component: vv,
|
|
11248
11251
|
props: !0
|
|
11249
11252
|
}
|
|
11250
11253
|
]
|
|
11251
11254
|
}
|
|
11252
|
-
],
|
|
11255
|
+
], pv = { class: "ao-templates" }, mv = /* @__PURE__ */ J({
|
|
11253
11256
|
__name: "AoTemplatesList",
|
|
11254
11257
|
props: {
|
|
11255
11258
|
templates: {}
|
|
@@ -11289,7 +11292,7 @@ const Lt = {
|
|
|
11289
11292
|
});
|
|
11290
11293
|
}
|
|
11291
11294
|
};
|
|
11292
|
-
return (r, u) => (v(), g("div",
|
|
11295
|
+
return (r, u) => (v(), g("div", pv, [
|
|
11293
11296
|
V(Wa, null, {
|
|
11294
11297
|
secondary: q(() => [
|
|
11295
11298
|
V(de, {
|
|
@@ -11333,7 +11336,7 @@ const Lt = {
|
|
|
11333
11336
|
]));
|
|
11334
11337
|
}
|
|
11335
11338
|
});
|
|
11336
|
-
const
|
|
11339
|
+
const hv = { class: "ao-field__label" }, Cv = /* @__PURE__ */ J({
|
|
11337
11340
|
__name: "AoField",
|
|
11338
11341
|
props: {
|
|
11339
11342
|
label: {},
|
|
@@ -11343,11 +11346,11 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
|
11343
11346
|
return (e, a) => (v(), g("label", {
|
|
11344
11347
|
class: x(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
11345
11348
|
}, [
|
|
11346
|
-
p("span",
|
|
11349
|
+
p("span", hv, K(e.label), 1),
|
|
11347
11350
|
te(e.$slots, "default")
|
|
11348
11351
|
], 2));
|
|
11349
11352
|
}
|
|
11350
|
-
}),
|
|
11353
|
+
}), gv = ["type", "value", "disabled", "readonly"], Lv = /* @__PURE__ */ J({
|
|
11351
11354
|
__name: "AoInputField",
|
|
11352
11355
|
props: {
|
|
11353
11356
|
label: { default: "" },
|
|
@@ -11364,7 +11367,7 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
|
11364
11367
|
), s = (o) => {
|
|
11365
11368
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
11366
11369
|
};
|
|
11367
|
-
return (o, i) => (v(), R(
|
|
11370
|
+
return (o, i) => (v(), R(Cv, { label: o.label }, {
|
|
11368
11371
|
default: q(() => [
|
|
11369
11372
|
p("input", Ve({
|
|
11370
11373
|
class: "ao-field__input",
|
|
@@ -11374,12 +11377,12 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
|
11374
11377
|
readonly: o.isReadonly
|
|
11375
11378
|
}, {
|
|
11376
11379
|
[Ms(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
|
|
11377
|
-
}), null, 16,
|
|
11380
|
+
}), null, 16, gv)
|
|
11378
11381
|
]),
|
|
11379
11382
|
_: 1
|
|
11380
11383
|
}, 8, ["label"]));
|
|
11381
11384
|
}
|
|
11382
|
-
}),
|
|
11385
|
+
}), _v = { class: "ao-field" }, yv = { class: "ao-field__label" }, bv = ["checked", "disabled"], Vv = /* @__PURE__ */ J({
|
|
11383
11386
|
__name: "AoCheckboxField",
|
|
11384
11387
|
props: {
|
|
11385
11388
|
label: { default: "" },
|
|
@@ -11389,8 +11392,8 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
|
11389
11392
|
},
|
|
11390
11393
|
emits: ["update:modelValue"],
|
|
11391
11394
|
setup(t) {
|
|
11392
|
-
return (e, a) => (v(), g("label",
|
|
11393
|
-
p("span",
|
|
11395
|
+
return (e, a) => (v(), g("label", _v, [
|
|
11396
|
+
p("span", yv, K(e.label), 1),
|
|
11394
11397
|
p("input", {
|
|
11395
11398
|
class: "ao-field__input",
|
|
11396
11399
|
type: "checkbox",
|
|
@@ -11403,28 +11406,28 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
|
|
|
11403
11406
|
((s = n.target) == null ? void 0 : s.checked) ?? !1
|
|
11404
11407
|
);
|
|
11405
11408
|
})
|
|
11406
|
-
}, null, 40,
|
|
11409
|
+
}, null, 40, bv)
|
|
11407
11410
|
]));
|
|
11408
11411
|
}
|
|
11409
11412
|
});
|
|
11410
11413
|
export {
|
|
11411
11414
|
Q1 as AoCardFeed,
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11415
|
+
Vv as AoCheckboxField,
|
|
11416
|
+
vv as AoFeed,
|
|
11417
|
+
Cv as AoField,
|
|
11418
|
+
Lv as AoInputField,
|
|
11416
11419
|
$e as AoMultiselect,
|
|
11417
|
-
|
|
11420
|
+
Kf as AoProjectPhases,
|
|
11418
11421
|
pf as AoTemplateDetails,
|
|
11419
|
-
|
|
11420
|
-
|
|
11422
|
+
Av as AoTemplates,
|
|
11423
|
+
mv as AoTemplatesList,
|
|
11421
11424
|
O2 as TemplateItemTypeEnum,
|
|
11422
|
-
|
|
11423
|
-
|
|
11425
|
+
Sv as activityFeedStatus,
|
|
11426
|
+
Tv as durationTypes,
|
|
11424
11427
|
Et as feedFilterTypes,
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
+
Iv as getProjectOverviewRoutes,
|
|
11429
|
+
Ev as getTemplateRoutes,
|
|
11430
|
+
Ov as listUpdateTypes,
|
|
11428
11431
|
fn as milestoneStatus,
|
|
11429
11432
|
Ue as projectOverviewRoutes,
|
|
11430
11433
|
A2 as ruleComparators,
|