@26lights/orcha 0.16.0 → 0.16.2
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
|
@@ -8843,11 +8843,14 @@ const D9 = { class: "ao-card-feed__header" }, H9 = {
|
|
|
8843
8843
|
comments: {},
|
|
8844
8844
|
attachments: {},
|
|
8845
8845
|
tasks: {},
|
|
8846
|
-
isEditable: { type: Boolean }
|
|
8846
|
+
isEditable: { type: Boolean },
|
|
8847
|
+
isPrivate: { type: Boolean }
|
|
8847
8848
|
},
|
|
8848
8849
|
emits: ["removeAssignee", "updateActivity"],
|
|
8849
8850
|
setup(a, { emit: e }) {
|
|
8850
|
-
const t = a
|
|
8851
|
+
const t = a;
|
|
8852
|
+
console.log({ isPrivate: t.isPrivate });
|
|
8853
|
+
const s = (p) => {
|
|
8851
8854
|
e("updateActivity", {
|
|
8852
8855
|
id: t.id,
|
|
8853
8856
|
name: p
|
|
@@ -8913,9 +8916,9 @@ const D9 = { class: "ao-card-feed__header" }, H9 = {
|
|
|
8913
8916
|
S(_t, {
|
|
8914
8917
|
"user-name": l(w),
|
|
8915
8918
|
"avatar-url": w.avatarUrl,
|
|
8916
|
-
"is-closable": !
|
|
8919
|
+
"is-closable": !p.isPrivate,
|
|
8917
8920
|
onClose: () => r(w.id)
|
|
8918
|
-
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8921
|
+
}, null, 8, ["user-name", "avatar-url", "is-closable", "onClose"])
|
|
8919
8922
|
])) : k("", !0)
|
|
8920
8923
|
], 64))), 128))
|
|
8921
8924
|
]),
|
|
@@ -9051,6 +9054,7 @@ const Q9 = { class: "ao-project-milestone" }, J9 = { class: "ao-project-mileston
|
|
|
9051
9054
|
attachments: (L = $.attachments) == null ? void 0 : L.length,
|
|
9052
9055
|
tasks: $.tasks,
|
|
9053
9056
|
"is-editable": p.isEditable,
|
|
9057
|
+
"is-private": $.private,
|
|
9054
9058
|
onClick: (U) => p.$router.push({
|
|
9055
9059
|
name: F(Re).activity,
|
|
9056
9060
|
params: { milestoneId: p.milestoneId, activityId: $.id }
|
|
@@ -9074,7 +9078,7 @@ const Q9 = { class: "ao-project-milestone" }, J9 = { class: "ao-project-mileston
|
|
|
9074
9078
|
]),
|
|
9075
9079
|
key: "0"
|
|
9076
9080
|
} : void 0
|
|
9077
|
-
]), 1032, ["id", "name", "phase-name", "milestone-name", "deadline", "important", "users", "assignee", "comments", "attachments", "tasks", "is-editable", "onClick", "onRemoveAssignee"])
|
|
9081
|
+
]), 1032, ["id", "name", "phase-name", "milestone-name", "deadline", "important", "users", "assignee", "comments", "attachments", "tasks", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
|
|
9078
9082
|
];
|
|
9079
9083
|
}),
|
|
9080
9084
|
_: 1
|
|
@@ -9396,6 +9400,7 @@ const m4 = {
|
|
|
9396
9400
|
users: r.users,
|
|
9397
9401
|
assignee: u.assignee,
|
|
9398
9402
|
"is-editable": r.isEditable,
|
|
9403
|
+
"is-private": u.private,
|
|
9399
9404
|
onUpdateActivity: [
|
|
9400
9405
|
d[0] || (d[0] = (L) => r.isEditable && i(L)),
|
|
9401
9406
|
d[1] || (d[1] = (L) => r.isEditable && i)
|
|
@@ -9417,7 +9422,7 @@ const m4 = {
|
|
|
9417
9422
|
}, null, 8, ["label", "onClick"])) : k("", !0)
|
|
9418
9423
|
]),
|
|
9419
9424
|
_: 2
|
|
9420
|
-
}, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "onClick", "onRemoveAssignee"])
|
|
9425
|
+
}, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
|
|
9421
9426
|
];
|
|
9422
9427
|
}),
|
|
9423
9428
|
footer: j(() => [
|