@26lights/orcha 0.42.76 → 0.42.78
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
|
@@ -25619,6 +25619,8 @@ const l1e = ["aria-label"], c1e = { class: "ao-file-preview__container" }, u1e =
|
|
|
25619
25619
|
}
|
|
25620
25620
|
i.value = !0;
|
|
25621
25621
|
try {
|
|
25622
|
+
if (!n.loadPreview)
|
|
25623
|
+
throw new Error("Attachment preview loader is missing");
|
|
25622
25624
|
const I = await n.loadPreview(T);
|
|
25623
25625
|
if (R !== a)
|
|
25624
25626
|
return;
|
|
@@ -26060,7 +26062,8 @@ const L1e = { class: "ao-activity-details" }, N1e = { class: "ao-activity-detail
|
|
|
26060
26062
|
isEditable: { type: [Boolean, String] },
|
|
26061
26063
|
attachmentEnabled: { type: Boolean },
|
|
26062
26064
|
projects: { default: () => [] },
|
|
26063
|
-
timeTrackingData: {}
|
|
26065
|
+
timeTrackingData: {},
|
|
26066
|
+
loadAttachmentPreview: {}
|
|
26064
26067
|
},
|
|
26065
26068
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
26066
26069
|
setup(t, { emit: e }) {
|
|
@@ -26611,7 +26614,7 @@ const L1e = { class: "ao-activity-details" }, N1e = { class: "ao-activity-detail
|
|
|
26611
26614
|
key: 0,
|
|
26612
26615
|
attachments: t.activity.attachments || [],
|
|
26613
26616
|
"current-index": c.value,
|
|
26614
|
-
"load-preview":
|
|
26617
|
+
"load-preview": n.loadAttachmentPreview,
|
|
26615
26618
|
"onUpdate:currentIndex": ae[10] || (ae[10] = (Me) => c.value = Me),
|
|
26616
26619
|
onClose: ae[11] || (ae[11] = (Me) => c.value = null)
|
|
26617
26620
|
}, null, 8, ["attachments", "current-index", "load-preview"])) : U("", !0)
|
|
@@ -30268,7 +30271,8 @@ const Ame = { class: "ao-feed" }, $me = { class: "ao-feed__filters" }, Dme = { c
|
|
|
30268
30271
|
isTaskCheckable: { type: Function, default: void 0 },
|
|
30269
30272
|
isEditable: { type: [Boolean, String] },
|
|
30270
30273
|
attachmentEnabled: { type: Boolean, default: !0 },
|
|
30271
|
-
timeTrackingData: {}
|
|
30274
|
+
timeTrackingData: {},
|
|
30275
|
+
loadAttachmentPreview: {}
|
|
30272
30276
|
},
|
|
30273
30277
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast", "startTimer"],
|
|
30274
30278
|
setup(t, { emit: e }) {
|
|
@@ -30508,6 +30512,7 @@ const Ame = { class: "ao-feed" }, $me = { class: "ao-feed__filters" }, Dme = { c
|
|
|
30508
30512
|
"attachment-enabled": t.attachmentEnabled,
|
|
30509
30513
|
projects: m.value,
|
|
30510
30514
|
"time-tracking-data": t.timeTrackingData,
|
|
30515
|
+
"load-attachment-preview": r.loadAttachmentPreview,
|
|
30511
30516
|
onClose: G[7] || (G[7] = () => a(null, null)),
|
|
30512
30517
|
"onUpdate:activity": g,
|
|
30513
30518
|
onAddSubtask: T,
|
|
@@ -30524,7 +30529,7 @@ const Ame = { class: "ao-feed" }, $me = { class: "ao-feed__filters" }, Dme = { c
|
|
|
30524
30529
|
ye(W.$slots, "activityDetailsBody", Ss(Ts(se)))
|
|
30525
30530
|
]),
|
|
30526
30531
|
_: 3
|
|
30527
|
-
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data"])) : U("", !0)
|
|
30532
|
+
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "load-attachment-preview"])) : U("", !0)
|
|
30528
30533
|
]))
|
|
30529
30534
|
]);
|
|
30530
30535
|
};
|