@26lights/orcha 0.34.25 → 0.34.27
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
|
@@ -8215,7 +8215,7 @@ const h1 = /* @__PURE__ */ J({
|
|
|
8215
8215
|
userId: {},
|
|
8216
8216
|
isTaskCheckable: { type: Function },
|
|
8217
8217
|
statuses: {},
|
|
8218
|
-
isEditable: { type: Boolean },
|
|
8218
|
+
isEditable: { type: [Boolean, String] },
|
|
8219
8219
|
attachmentEnabled: { type: Boolean },
|
|
8220
8220
|
projects: {}
|
|
8221
8221
|
},
|
|
@@ -10721,7 +10721,7 @@ const Q8 = {
|
|
|
10721
10721
|
isLoading: { type: Boolean },
|
|
10722
10722
|
hasMore: { type: Boolean },
|
|
10723
10723
|
noMoreLabel: {},
|
|
10724
|
-
isEditable: { type: Boolean }
|
|
10724
|
+
isEditable: { type: [Boolean, String] }
|
|
10725
10725
|
},
|
|
10726
10726
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
10727
10727
|
setup(t, { emit: e }) {
|
|
@@ -10780,7 +10780,7 @@ const Q8 = {
|
|
|
10780
10780
|
}
|
|
10781
10781
|
}), {
|
|
10782
10782
|
item: q(({ element: c }) => {
|
|
10783
|
-
var m, C, $, _, y, h, M, w;
|
|
10783
|
+
var m, C, $, _, y, h, M, w, T;
|
|
10784
10784
|
return [
|
|
10785
10785
|
L(Qn, {
|
|
10786
10786
|
id: c.id,
|
|
@@ -10793,17 +10793,18 @@ const Q8 = {
|
|
|
10793
10793
|
rules: ((h = c.rules) == null ? void 0 : h.length) || 0,
|
|
10794
10794
|
tasks: c.tasks,
|
|
10795
10795
|
description: c.description,
|
|
10796
|
+
draggable: (M = c.name) != null && M.startsWith("yo") ? "item" : "pouet",
|
|
10796
10797
|
important: c.important,
|
|
10797
10798
|
type: c.type,
|
|
10798
|
-
comments: (
|
|
10799
|
-
attachments: (
|
|
10799
|
+
comments: (w = c.comments) == null ? void 0 : w.length,
|
|
10800
|
+
attachments: (T = c.attachments) == null ? void 0 : T.length,
|
|
10800
10801
|
users: u.users,
|
|
10801
10802
|
assignee: c.assignee,
|
|
10802
10803
|
"is-editable": u.isEditable,
|
|
10803
10804
|
"is-private": c.private,
|
|
10804
10805
|
onUpdateActivity: [
|
|
10805
|
-
d[0] || (d[0] = (
|
|
10806
|
-
d[1] || (d[1] = (
|
|
10806
|
+
d[0] || (d[0] = (V) => u.isEditable && i(V)),
|
|
10807
|
+
d[1] || (d[1] = (V) => u.isEditable && i)
|
|
10807
10808
|
],
|
|
10808
10809
|
onClick: () => o(c.id),
|
|
10809
10810
|
onRemoveAssignee: () => u.isEditable && i({ id: c.id, assigneeId: null })
|
|
@@ -10833,7 +10834,7 @@ const Q8 = {
|
|
|
10833
10834
|
}, null, 8, ["label", "onClick"])) : A("", !0)
|
|
10834
10835
|
]),
|
|
10835
10836
|
_: 2
|
|
10836
|
-
}, 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"])
|
|
10837
|
+
}, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "draggable", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
|
|
10837
10838
|
];
|
|
10838
10839
|
}),
|
|
10839
10840
|
footer: q(() => [
|
|
@@ -10920,7 +10921,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
10920
10921
|
showsOnlyImportant: { type: Boolean },
|
|
10921
10922
|
selectedActivity: {},
|
|
10922
10923
|
isTaskCheckable: { type: Function, default: void 0 },
|
|
10923
|
-
isEditable: { type: Boolean },
|
|
10924
|
+
isEditable: { type: [Boolean, String] },
|
|
10924
10925
|
attachmentEnabled: { type: Boolean, default: !0 }
|
|
10925
10926
|
},
|
|
10926
10927
|
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"],
|
|
@@ -11050,7 +11051,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
|
|
|
11050
11051
|
placeholder: E.$t("feed.filters.activityType.placeholder"),
|
|
11051
11052
|
"onUpdate:modelValue": N[2] || (N[2] = (f) => c(Q(Ot).type, f))
|
|
11052
11053
|
}, null, 8, ["model-value", "options", "placeholder"])) : A("", !0),
|
|
11053
|
-
_.value ? (v(), R($e, {
|
|
11054
|
+
_.value.length ? (v(), R($e, {
|
|
11054
11055
|
key: 3,
|
|
11055
11056
|
"model-value": E.filters[Q(Ot).assignee],
|
|
11056
11057
|
mode: "tags",
|