@26lights/orcha 0.17.5 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js
CHANGED
|
@@ -6753,7 +6753,8 @@ const b5 = { class: "ao-tasks" }, y5 = { class: "ao-tasks__list" }, w5 = ["id",
|
|
|
6753
6753
|
tasks: {},
|
|
6754
6754
|
isCheckable: { type: Function },
|
|
6755
6755
|
users: {},
|
|
6756
|
-
isEditable: { type: Boolean }
|
|
6756
|
+
isEditable: { type: Boolean },
|
|
6757
|
+
isTemplate: { type: Boolean }
|
|
6757
6758
|
},
|
|
6758
6759
|
emits: ["add", "delete", "update"],
|
|
6759
6760
|
setup(a, { emit: e }) {
|
|
@@ -6823,7 +6824,7 @@ const b5 = { class: "ao-tasks" }, y5 = { class: "ao-tasks__list" }, w5 = ["id",
|
|
|
6823
6824
|
onChange: (A) => i(A, C.id),
|
|
6824
6825
|
onKeyup: Ye(u, ["enter"])
|
|
6825
6826
|
}, null, 40, w5),
|
|
6826
|
-
v.users ? (c(), R(ye, {
|
|
6827
|
+
!v.isTemplate && v.users ? (c(), R(ye, {
|
|
6827
6828
|
key: 1,
|
|
6828
6829
|
value: ($ = C.assignee) != null && $.id ? [C.assignee.id] : [],
|
|
6829
6830
|
options: n.value,
|
|
@@ -7519,10 +7520,11 @@ const Y5 = {
|
|
|
7519
7520
|
users: h.users,
|
|
7520
7521
|
"is-checkable": h.isTaskCheckable,
|
|
7521
7522
|
"is-editable": h.isEditable,
|
|
7523
|
+
"is-template": h.isTemplate,
|
|
7522
7524
|
onAdd: A,
|
|
7523
7525
|
onUpdate: g,
|
|
7524
7526
|
onDelete: b
|
|
7525
|
-
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable"])
|
|
7527
|
+
}, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
|
|
7526
7528
|
])
|
|
7527
7529
|
]),
|
|
7528
7530
|
f("fieldset", b7, [
|
|
@@ -7835,34 +7837,46 @@ const F7 = {
|
|
|
7835
7837
|
return (I = t.templates) == null ? void 0 : I.find((V) => V.id === t.templateId);
|
|
7836
7838
|
}
|
|
7837
7839
|
), o = Q(!1);
|
|
7838
|
-
ue(
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7840
|
+
ue(
|
|
7841
|
+
() => [t.templateId, t.phaseId, t.milestoneId],
|
|
7842
|
+
() => o.value = !1
|
|
7843
|
+
), ue(
|
|
7844
|
+
() => {
|
|
7845
|
+
var I;
|
|
7846
|
+
return (I = n.value) == null ? void 0 : I.phases;
|
|
7847
|
+
},
|
|
7848
|
+
(I, V) => {
|
|
7849
|
+
o.value && Ue(I, V);
|
|
7850
|
+
}
|
|
7851
|
+
);
|
|
7844
7852
|
const i = y(() => {
|
|
7845
7853
|
var I, V;
|
|
7846
7854
|
return (V = (I = n == null ? void 0 : n.value) == null ? void 0 : I.phases) == null ? void 0 : V.find((Z) => Z.id === t.phaseId);
|
|
7847
7855
|
});
|
|
7848
|
-
ue(
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7856
|
+
ue(
|
|
7857
|
+
() => {
|
|
7858
|
+
var I;
|
|
7859
|
+
return (I = i.value) == null ? void 0 : I.milestones;
|
|
7860
|
+
},
|
|
7861
|
+
(I, V) => {
|
|
7862
|
+
o.value && Ue(I, V);
|
|
7863
|
+
}
|
|
7864
|
+
);
|
|
7854
7865
|
const l = y(() => {
|
|
7855
7866
|
var I, V;
|
|
7856
7867
|
return (V = (I = i.value) == null ? void 0 : I.milestones) == null ? void 0 : V.find(
|
|
7857
7868
|
(Z) => Z.id === t.milestoneId
|
|
7858
7869
|
);
|
|
7859
7870
|
});
|
|
7860
|
-
ue(
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7871
|
+
ue(
|
|
7872
|
+
() => {
|
|
7873
|
+
var I;
|
|
7874
|
+
return (I = l.value) == null ? void 0 : I.activities;
|
|
7875
|
+
},
|
|
7876
|
+
(I, V) => {
|
|
7877
|
+
o.value && Ue(I, V);
|
|
7878
|
+
}
|
|
7879
|
+
);
|
|
7866
7880
|
const r = y(() => {
|
|
7867
7881
|
var I, V;
|
|
7868
7882
|
return ((V = (I = n.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((Z, se) => {
|
|
@@ -8067,15 +8081,6 @@ const F7 = {
|
|
|
8067
8081
|
})
|
|
8068
8082
|
}, null, 8, ["title"])
|
|
8069
8083
|
]),
|
|
8070
|
-
secondary: j(() => [
|
|
8071
|
-
T(fe, {
|
|
8072
|
-
label: I.$t("template.rules.edit"),
|
|
8073
|
-
color: "primary",
|
|
8074
|
-
"icon-name": "Settings",
|
|
8075
|
-
"icon-position": "start",
|
|
8076
|
-
onClick: E
|
|
8077
|
-
}, null, 8, ["label"])
|
|
8078
|
-
]),
|
|
8079
8084
|
_: 1
|
|
8080
8085
|
}),
|
|
8081
8086
|
f("div", q7, [
|