@26lights/orcha 0.42.0 → 0.42.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
@@ -8388,16 +8388,12 @@ const As = /* @__PURE__ */ Y({
8388
8388
  }))) || [];
8389
8389
  }), E = A({
8390
8390
  get() {
8391
- var C, P;
8392
- return (C = a.activity.assignee) != null && C.id ? [(P = a.activity.assignee) == null ? void 0 : P.id] : [];
8391
+ var C;
8392
+ return (C = a.activity.assignee) != null && C.id ? [a.activity.assignee.id] : [];
8393
8393
  },
8394
8394
  set(C) {
8395
8395
  const P = C.at(-1) ?? null;
8396
- e("update:activity", {
8397
- id: a.activity.id,
8398
- assigneeId: P ?? null
8399
- // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
8400
- });
8396
+ e("update:activity", { id: a.activity.id, assigneeId: P });
8401
8397
  }
8402
8398
  }), Z = (C) => {
8403
8399
  e("addFiles", {
@@ -8465,7 +8461,7 @@ const As = /* @__PURE__ */ Y({
8465
8461
  });
8466
8462
  }
8467
8463
  return (C, P) => (v(), H(Ja, {
8468
- onClose: P[10] || (P[10] = (F) => C.$emit("close"))
8464
+ onClose: P[11] || (P[11] = (F) => C.$emit("close"))
8469
8465
  }, {
8470
8466
  default: N(() => {
8471
8467
  var F, ue, se;
@@ -8659,7 +8655,8 @@ const As = /* @__PURE__ */ Y({
8659
8655
  placeholder: C.$t("activity.filters.assignee.placeholder"),
8660
8656
  mode: "tags",
8661
8657
  disabled: !s.value,
8662
- caret: s.value
8658
+ caret: s.value,
8659
+ onSelect: P[4] || (P[4] = (B) => E.value = [B.value])
8663
8660
  }, {
8664
8661
  tag: N(({
8665
8662
  option: B,
@@ -8681,7 +8678,7 @@ const As = /* @__PURE__ */ Y({
8681
8678
  f("label", uf, [
8682
8679
  f("span", cf, z(C.$t("activity.deadline.label")), 1),
8683
8680
  De(f("input", {
8684
- "onUpdate:modelValue": P[4] || (P[4] = (B) => d.value = B),
8681
+ "onUpdate:modelValue": P[5] || (P[5] = (B) => d.value = B),
8685
8682
  readonly: !s.value,
8686
8683
  class: "ao-field__input",
8687
8684
  type: "date"
@@ -8701,7 +8698,7 @@ const As = /* @__PURE__ */ Y({
8701
8698
  f("label", ff, [
8702
8699
  M(Se, {
8703
8700
  modelValue: c.value,
8704
- "onUpdate:modelValue": P[5] || (P[5] = (B) => c.value = B),
8701
+ "onUpdate:modelValue": P[6] || (P[6] = (B) => c.value = B),
8705
8702
  class: "ao-activity-details__multiselect",
8706
8703
  mode: "single",
8707
8704
  searchable: !0,
@@ -8717,7 +8714,7 @@ const As = /* @__PURE__ */ Y({
8717
8714
  f("div", hf, [
8718
8715
  M(As, {
8719
8716
  modelValue: l.value,
8720
- "onUpdate:modelValue": P[6] || (P[6] = (B) => l.value = B),
8717
+ "onUpdate:modelValue": P[7] || (P[7] = (B) => l.value = B),
8721
8718
  modelModifiers: { lazy: !0 },
8722
8719
  label: C.$t("activity.important.label"),
8723
8720
  disabled: !s.value,
@@ -8732,7 +8729,7 @@ const As = /* @__PURE__ */ Y({
8732
8729
  C.isTemplate !== !0 && C.activity.createdBy.id === C.userId ? (v(), _("div", mf, [
8733
8730
  M(As, {
8734
8731
  modelValue: r.value,
8735
- "onUpdate:modelValue": P[7] || (P[7] = (B) => r.value = B),
8732
+ "onUpdate:modelValue": P[8] || (P[8] = (B) => r.value = B),
8736
8733
  modelModifiers: { lazy: !0 },
8737
8734
  label: C.$t("activity.private.label"),
8738
8735
  disabled: !s.value,
@@ -8757,7 +8754,7 @@ const As = /* @__PURE__ */ Y({
8757
8754
  f("span", wf, z(C.$t("activity.dependingOn.label")), 1),
8758
8755
  M(Se, {
8759
8756
  modelValue: h.value,
8760
- "onUpdate:modelValue": P[8] || (P[8] = (B) => h.value = B),
8757
+ "onUpdate:modelValue": P[9] || (P[9] = (B) => h.value = B),
8761
8758
  class: "ao-activity-details__multiselect",
8762
8759
  mode: "tags",
8763
8760
  "close-on-select": !1,
@@ -8773,7 +8770,7 @@ const As = /* @__PURE__ */ Y({
8773
8770
  f("span", Sf, z(C.$t("activity.blocking.label")), 1),
8774
8771
  M(Se, {
8775
8772
  modelValue: y.value,
8776
- "onUpdate:modelValue": P[9] || (P[9] = (B) => y.value = B),
8773
+ "onUpdate:modelValue": P[10] || (P[10] = (B) => y.value = B),
8777
8774
  class: "ao-activity-details__multiselect",
8778
8775
  mode: "tags",
8779
8776
  "close-on-select": !1,