@26lights/orcha 0.11.4 → 0.12.1

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
@@ -9552,7 +9552,8 @@ const M4 = { class: "ao-feed" }, k4 = { class: "ao-feed__filters" }, A4 = { clas
9552
9552
  userId: {},
9553
9553
  searchText: { default: "" },
9554
9554
  showsArchivedActivities: { type: Boolean },
9555
- isTaskCheckable: { type: Function, default: void 0 }
9555
+ isTaskCheckable: { type: Function, default: void 0 },
9556
+ isProjectLocked: { type: Boolean }
9556
9557
  },
9557
9558
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9558
9559
  setup(a, { emit: e }) {
@@ -9690,7 +9691,8 @@ const M4 = { class: "ao-feed" }, k4 = { class: "ao-feed__filters" }, A4 = { clas
9690
9691
  "onUpdate:modelValue": j,
9691
9692
  onClear: W
9692
9693
  }, null, 8, ["model-value", "placeholder"]),
9693
- k(be, {
9694
+ g.isProjectLocked ? T("", !0) : (v(), R(be, {
9695
+ key: 0,
9694
9696
  "model-value": g.filters[Z(rt).project],
9695
9697
  mode: "tags",
9696
9698
  options: C.value,
@@ -9699,9 +9701,9 @@ const M4 = { class: "ao-feed" }, k4 = { class: "ao-feed__filters" }, A4 = { clas
9699
9701
  class: "ao-feed__filter ao-feed__filter__projects",
9700
9702
  placeholder: g.$t("feed.filters.project.placeholder"),
9701
9703
  "onUpdate:modelValue": P[0] || (P[0] = (ae) => p(Z(rt).project, ae))
9702
- }, null, 8, ["model-value", "options", "placeholder"]),
9704
+ }, null, 8, ["model-value", "options", "placeholder"])),
9703
9705
  $.value ? (v(), R(be, {
9704
- key: 0,
9706
+ key: 1,
9705
9707
  "model-value": g.filters[Z(rt).type],
9706
9708
  mode: "tags",
9707
9709
  options: $.value,
@@ -9788,7 +9790,7 @@ const M4 = { class: "ao-feed" }, k4 = { class: "ao-feed__filters" }, A4 = { clas
9788
9790
  var ae, Q, z;
9789
9791
  return [
9790
9792
  f("div", S4, [
9791
- le.value ? (v(), h("label", T4, [
9793
+ le.value && !g.isProjectLocked ? (v(), h("label", T4, [
9792
9794
  f("span", E4, F(g.$t("activity.project.label")), 1),
9793
9795
  k(be, {
9794
9796
  options: le.value,