@26lights/orcha 0.37.43 → 0.37.44

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
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Y, openBlock as p, createBlock as V, unref as J, mergeProps as He, createElementBlock as C, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as Q, createCommentVNode as T, ref as ee, watch as ce, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as z, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
- const f8 = /* @__PURE__ */ Y({
4
+ const v8 = /* @__PURE__ */ Y({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1441,11 +1441,11 @@ const Cn = {
1441
1441
  todo: "todo",
1442
1442
  done: "done",
1443
1443
  archived: "archived"
1444
- }, v8 = {
1444
+ }, h8 = {
1445
1445
  months: "months",
1446
1446
  weeks: "weeks",
1447
1447
  days: "days"
1448
- }, h8 = {
1448
+ }, m8 = {
1449
1449
  future: "future",
1450
1450
  this_month: "this_month",
1451
1451
  this_week: "this_week",
@@ -1469,7 +1469,7 @@ const Cn = {
1469
1469
  TASKS: "tasks"
1470
1470
  };
1471
1471
  var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
1472
- const m8 = {
1472
+ const C8 = {
1473
1473
  add: "add",
1474
1474
  remove: "remove",
1475
1475
  moved: "moved"
@@ -5343,7 +5343,7 @@ function i7(t, e, a) {
5343
5343
  let re = $;
5344
5344
  if (G.value && m.value) {
5345
5345
  let me = pe.value;
5346
- me || (me = (bt, is, u8) => yt.value.some((Ti) => {
5346
+ me || (me = (bt, is, c8) => yt.value.some((Ti) => {
5347
5347
  let os = hn(ya(bt[Ti]), K.value);
5348
5348
  return ie.value ? os.startsWith(hn(is, K.value)) : os.indexOf(hn(is, K.value)) !== -1;
5349
5349
  })), re = re.filter((bt) => me(bt, G.value, ae));
@@ -8189,19 +8189,19 @@ const wn = /* @__PURE__ */ Y({
8189
8189
  }, Nf = { class: "ao-fieldset__title" }, jf = { class: "ao-activity-details__aside" }, Ff = { class: "ao-activity-details__close-button" }, Uf = {
8190
8190
  key: 0,
8191
8191
  class: "ao-activity-details__aside-section"
8192
- }, Zf = { class: "ao-field" }, Wf = { class: "ao-field__label" }, qf = { class: "ao-activity-details__aside-section" }, zf = { class: "ao-field ao-field--multiselect" }, xf = { class: "ao-field__label" }, Yf = { class: "ao-activity-details__aside-section" }, Kf = {
8192
+ }, Zf = { class: "ao-field" }, Wf = { class: "ao-field__label" }, qf = { class: "ao-activity-details__aside-section" }, zf = { class: "ao-field ao-field--multiselect" }, xf = { class: "assignee-inline" }, Yf = { class: "ao-field__label" }, Kf = { class: "ao-activity-details__aside-section" }, Gf = {
8193
8193
  key: 0,
8194
8194
  class: "ao-field__row"
8195
- }, Gf = { class: "ao-field" }, Xf = { class: "ao-field__label" }, Qf = ["readonly"], Jf = { class: "ao-activity-details__aside-section" }, ev = {
8195
+ }, Xf = { class: "ao-field" }, Qf = { class: "ao-field__label" }, Jf = ["readonly"], ev = { class: "ao-activity-details__aside-section" }, tv = {
8196
8196
  key: 0,
8197
8197
  class: "ao-field__row"
8198
- }, tv = { class: "ao-field ao-field--multiselect" }, av = { class: "ao-activity-details__aside-section" }, nv = {
8198
+ }, av = { class: "ao-field ao-field--multiselect" }, nv = { class: "ao-activity-details__aside-section" }, sv = {
8199
8199
  key: 1,
8200
8200
  class: "ao-activity-details__aside-section"
8201
- }, sv = { class: "ao-fieldset ao-activity-details__aside-section" }, iv = { class: "ao-fieldset__title" }, ov = { class: "ao-fieldset__body" }, rv = { class: "ao-field__row" }, lv = { class: "ao-field ao-field--multiselect" }, uv = { class: "ao-field__label" }, cv = { class: "ao-field__row" }, dv = { class: "ao-field ao-field--multiselect" }, pv = { class: "ao-field__label" }, fv = {
8201
+ }, iv = { class: "ao-fieldset ao-activity-details__aside-section" }, ov = { class: "ao-fieldset__title" }, rv = { class: "ao-fieldset__body" }, lv = { class: "ao-field__row" }, uv = { class: "ao-field ao-field--multiselect" }, cv = { class: "ao-field__label" }, dv = { class: "ao-field__row" }, pv = { class: "ao-field ao-field--multiselect" }, fv = { class: "ao-field__label" }, vv = {
8202
8202
  key: 2,
8203
8203
  class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
8204
- }, vv = { class: "ao-activity__created-by" }, Zn = /* @__PURE__ */ Y({
8204
+ }, hv = { class: "ao-activity__created-by" }, Zn = /* @__PURE__ */ Y({
8205
8205
  __name: "AoActivityDetails",
8206
8206
  props: {
8207
8207
  activity: {},
@@ -8584,14 +8584,17 @@ const wn = /* @__PURE__ */ Y({
8584
8584
  ])) : T("", !0),
8585
8585
  v("div", qf, [
8586
8586
  v("div", zf, [
8587
- v("span", xf, Q(b.$t("activity.assignee.label")), 1),
8588
- A(le, {
8589
- label: b.$t("activity.assignee.toMe"),
8590
- type: "button",
8591
- color: "primary",
8592
- variant: "solid",
8593
- onClick: H
8594
- }, null, 8, ["label"]),
8587
+ v("div", xf, [
8588
+ v("span", Yf, Q(b.$t("activity.assignee.label")), 1),
8589
+ A(le, {
8590
+ label: b.$t("activity.assignee.toMe"),
8591
+ type: "button",
8592
+ color: "primary",
8593
+ variant: "solid",
8594
+ class: "ao-button--sm",
8595
+ onClick: H
8596
+ }, null, 8, ["label"])
8597
+ ]),
8595
8598
  A($e, {
8596
8599
  modelValue: I.value,
8597
8600
  "onUpdate:modelValue": D[3] || (D[3] = (j) => I.value = j),
@@ -8620,16 +8623,16 @@ const wn = /* @__PURE__ */ Y({
8620
8623
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8621
8624
  ])
8622
8625
  ]),
8623
- v("div", Yf, [
8624
- b.isTemplate !== !0 && b.userId ? (p(), C("div", Kf, [
8625
- v("label", Gf, [
8626
- v("span", Xf, Q(b.$t("activity.deadline.label")), 1),
8626
+ v("div", Kf, [
8627
+ b.isTemplate !== !0 && b.userId ? (p(), C("div", Gf, [
8628
+ v("label", Xf, [
8629
+ v("span", Qf, Q(b.$t("activity.deadline.label")), 1),
8627
8630
  Ke(v("input", {
8628
8631
  "onUpdate:modelValue": D[4] || (D[4] = (j) => c.value = j),
8629
8632
  readonly: !n.value,
8630
8633
  class: "ao-field__input",
8631
8634
  type: "date"
8632
- }, null, 8, Qf), [
8635
+ }, null, 8, Jf), [
8633
8636
  [
8634
8637
  ut,
8635
8638
  c.value,
@@ -8640,9 +8643,9 @@ const wn = /* @__PURE__ */ Y({
8640
8643
  ])
8641
8644
  ])) : T("", !0)
8642
8645
  ]),
8643
- v("div", Jf, [
8644
- u.value ? (p(), C("div", ev, [
8645
- v("label", tv, [
8646
+ v("div", ev, [
8647
+ u.value ? (p(), C("div", tv, [
8648
+ v("label", av, [
8646
8649
  A($e, {
8647
8650
  modelValue: f.value,
8648
8651
  "onUpdate:modelValue": D[5] || (D[5] = (j) => f.value = j),
@@ -8658,7 +8661,7 @@ const wn = /* @__PURE__ */ Y({
8658
8661
  ])) : T("", !0),
8659
8662
  te(b.$slots, "default", { activity: b.activity })
8660
8663
  ]),
8661
- v("div", av, [
8664
+ v("div", nv, [
8662
8665
  A(wn, {
8663
8666
  modelValue: r.value,
8664
8667
  "onUpdate:modelValue": D[6] || (D[6] = (j) => r.value = j),
@@ -8673,7 +8676,7 @@ const wn = /* @__PURE__ */ Y({
8673
8676
  size: "sm"
8674
8677
  }, null, 8, ["modelValue", "label", "disabled"])
8675
8678
  ]),
8676
- b.isTemplate !== !0 && b.activity.createdBy.id === b.userId ? (p(), C("div", nv, [
8679
+ b.isTemplate !== !0 && b.activity.createdBy.id === b.userId ? (p(), C("div", sv, [
8677
8680
  A(wn, {
8678
8681
  modelValue: l.value,
8679
8682
  "onUpdate:modelValue": D[7] || (D[7] = (j) => l.value = j),
@@ -8687,18 +8690,18 @@ const wn = /* @__PURE__ */ Y({
8687
8690
  size: "sm"
8688
8691
  }, null, 8, ["modelValue", "label", "disabled"])
8689
8692
  ])) : T("", !0),
8690
- v("fieldset", sv, [
8691
- v("div", iv, [
8693
+ v("fieldset", iv, [
8694
+ v("div", ov, [
8692
8695
  A(de, { name: "FlowsheetOutlineRounded" }),
8693
8696
  A(ye, {
8694
8697
  level: 4,
8695
8698
  title: b.$t("activity.dependencies.title")
8696
8699
  }, null, 8, ["title"])
8697
8700
  ]),
8698
- v("div", ov, [
8699
- v("div", rv, [
8700
- v("label", lv, [
8701
- v("span", uv, Q(b.$t("activity.dependingOn.label")), 1),
8701
+ v("div", rv, [
8702
+ v("div", lv, [
8703
+ v("label", uv, [
8704
+ v("span", cv, Q(b.$t("activity.dependingOn.label")), 1),
8702
8705
  A($e, {
8703
8706
  modelValue: h.value,
8704
8707
  "onUpdate:modelValue": D[8] || (D[8] = (j) => h.value = j),
@@ -8712,9 +8715,9 @@ const wn = /* @__PURE__ */ Y({
8712
8715
  }, null, 8, ["modelValue", "options", "disabled", "caret"])
8713
8716
  ])
8714
8717
  ]),
8715
- v("div", cv, [
8716
- v("label", dv, [
8717
- v("span", pv, Q(b.$t("activity.blocking.label")), 1),
8718
+ v("div", dv, [
8719
+ v("label", pv, [
8720
+ v("span", fv, Q(b.$t("activity.blocking.label")), 1),
8718
8721
  A($e, {
8719
8722
  modelValue: y.value,
8720
8723
  "onUpdate:modelValue": D[9] || (D[9] = (j) => y.value = j),
@@ -8730,8 +8733,8 @@ const wn = /* @__PURE__ */ Y({
8730
8733
  ])
8731
8734
  ])
8732
8735
  ]),
8733
- b.isTemplate !== !0 && F.value ? (p(), C("div", fv, [
8734
- v("div", vv, [
8736
+ b.isTemplate !== !0 && F.value ? (p(), C("div", vv, [
8737
+ v("div", hv, [
8735
8738
  A(Je, {
8736
8739
  "user-name": F.value,
8737
8740
  color: "black"
@@ -8747,7 +8750,7 @@ const wn = /* @__PURE__ */ Y({
8747
8750
  }));
8748
8751
  }
8749
8752
  });
8750
- const hv = /* @__PURE__ */ Y({
8753
+ const mv = /* @__PURE__ */ Y({
8751
8754
  __name: "AoRuleLine",
8752
8755
  props: {
8753
8756
  rule: {},
@@ -8871,7 +8874,7 @@ const hv = /* @__PURE__ */ Y({
8871
8874
  }));
8872
8875
  }
8873
8876
  });
8874
- const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rules__list" }, gv = /* @__PURE__ */ Y({
8877
+ const Cv = { class: "ao-template-rules__body" }, gv = { class: "ao-template-rules__list" }, _v = /* @__PURE__ */ Y({
8875
8878
  __name: "AoTemplateRules",
8876
8879
  props: {
8877
8880
  templateId: {},
@@ -8895,9 +8898,9 @@ const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rule
8895
8898
  }, null, 8, ["title"])
8896
8899
  ]),
8897
8900
  default: z(() => [
8898
- v("div", mv, [
8899
- v("ul", Cv, [
8900
- (p(!0), C(ve, null, _e(s.rules, (i) => (p(), V(hv, {
8901
+ v("div", Cv, [
8902
+ v("ul", gv, [
8903
+ (p(!0), C(ve, null, _e(s.rules, (i) => (p(), V(mv, {
8901
8904
  key: i.id,
8902
8905
  rule: i,
8903
8906
  "template-phases": s.templatePhases,
@@ -8925,10 +8928,10 @@ function Bt(t, e, a) {
8925
8928
  rank: o.format()
8926
8929
  };
8927
8930
  }
8928
- const _v = {
8931
+ const yv = {
8929
8932
  key: 0,
8930
8933
  class: "ao-template-details"
8931
- }, yv = { class: "ao-template-details__body" }, bv = { class: "ao-template-details__cols" }, wv = { class: "ao-template-details__col" }, $v = { class: "ao-list__footer" }, kv = { class: "ao-template-details__col" }, Sv = { class: "ao-template-details__col" }, Mv = /* @__PURE__ */ Y({
8934
+ }, bv = { class: "ao-template-details__body" }, wv = { class: "ao-template-details__cols" }, $v = { class: "ao-template-details__col" }, kv = { class: "ao-list__footer" }, Sv = { class: "ao-template-details__col" }, Mv = { class: "ao-template-details__col" }, Av = /* @__PURE__ */ Y({
8932
8935
  __name: "AoTemplateDetails",
8933
8936
  props: {
8934
8937
  templateId: {},
@@ -9170,7 +9173,7 @@ const _v = {
9170
9173
  };
9171
9174
  return (k, F) => {
9172
9175
  var B, b, D, ie, pe, ae;
9173
- return s.value ? (p(), C("div", _v, [
9176
+ return s.value ? (p(), C("div", yv, [
9174
9177
  A(Ga, {
9175
9178
  "can-go-back": !0,
9176
9179
  onGoBack: F[1] || (F[1] = (j) => k.$router.push({ name: J(Dt).TEMPLATES_LIST }))
@@ -9187,9 +9190,9 @@ const _v = {
9187
9190
  ]),
9188
9191
  _: 1
9189
9192
  }),
9190
- v("div", yv, [
9191
- v("ol", bv, [
9192
- v("li", wv, [
9193
+ v("div", bv, [
9194
+ v("ol", wv, [
9195
+ v("li", $v, [
9193
9196
  A(J(mt), {
9194
9197
  "model-value": s.value.phases,
9195
9198
  class: "ao-templates__list",
@@ -9224,7 +9227,7 @@ const _v = {
9224
9227
  ];
9225
9228
  }),
9226
9229
  footer: z(() => [
9227
- v("div", $v, [
9230
+ v("div", kv, [
9228
9231
  A(Ct, {
9229
9232
  "icon-name": "AddBoxOutlineRounded",
9230
9233
  label: k.$t("template.phases.add"),
@@ -9235,7 +9238,7 @@ const _v = {
9235
9238
  _: 1
9236
9239
  }, 8, ["model-value"])
9237
9240
  ]),
9238
- v("li", kv, [
9241
+ v("li", Sv, [
9239
9242
  i.value ? (p(), V(d5, {
9240
9243
  key: 0,
9241
9244
  "template-id": k.templateId,
@@ -9247,7 +9250,7 @@ const _v = {
9247
9250
  onRemoveMilestone: g
9248
9251
  }, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
9249
9252
  ]),
9250
- v("li", Sv, [
9253
+ v("li", Mv, [
9251
9254
  i.value && r.value ? (p(), V(v5, {
9252
9255
  key: 0,
9253
9256
  "template-id": k.templateId,
@@ -9291,7 +9294,7 @@ const _v = {
9291
9294
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
9292
9295
  ])),
9293
9296
  (p(), V(Nt, { to: "body" }, [
9294
- Z.value ? (p(), V(gv, {
9297
+ Z.value ? (p(), V(_v, {
9295
9298
  key: 0,
9296
9299
  "template-id": s.value.id,
9297
9300
  rules: s.value.rules || [],
@@ -9307,10 +9310,10 @@ const _v = {
9307
9310
  };
9308
9311
  }
9309
9312
  });
9310
- const Av = {
9313
+ const Tv = {
9311
9314
  key: 0,
9312
9315
  class: "ao-card__header"
9313
- }, Tv = { class: "ao-card__body" }, Ov = {
9316
+ }, Ov = { class: "ao-card__body" }, Ev = {
9314
9317
  key: 1,
9315
9318
  class: "ao-card__footer"
9316
9319
  }, Wn = /* @__PURE__ */ Y({
@@ -9331,13 +9334,13 @@ const Av = {
9331
9334
  ])
9332
9335
  }, {
9333
9336
  default: z(() => [
9334
- e.$slots.header ? (p(), C("header", Av, [
9337
+ e.$slots.header ? (p(), C("header", Tv, [
9335
9338
  te(e.$slots, "header")
9336
9339
  ])) : T("", !0),
9337
- v("div", Tv, [
9340
+ v("div", Ov, [
9338
9341
  te(e.$slots, "default")
9339
9342
  ]),
9340
- e.$slots.footer ? (p(), C("footer", Ov, [
9343
+ e.$slots.footer ? (p(), C("footer", Ev, [
9341
9344
  te(e.$slots, "footer")
9342
9345
  ])) : T("", !0)
9343
9346
  ]),
@@ -9365,13 +9368,13 @@ const qn = /* @__PURE__ */ Y({
9365
9368
  ], 2));
9366
9369
  }
9367
9370
  });
9368
- const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-project-phase__footer" }, Lv = {
9371
+ const Iv = { class: "ao-card-project-phase__header" }, Lv = { class: "ao-card-project-phase__footer" }, Hv = {
9369
9372
  key: 0,
9370
9373
  class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
9371
- }, Hv = { class: "ao-card-project-phase__subitem" }, Dv = { class: "ao-card-project-phase__subitem" }, Pv = {
9374
+ }, Dv = { class: "ao-card-project-phase__subitem" }, Pv = { class: "ao-card-project-phase__subitem" }, Vv = {
9372
9375
  key: 0,
9373
9376
  class: "ao-card-project-phase__secondary"
9374
- }, Vv = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Bv = /* @__PURE__ */ Y({
9377
+ }, Bv = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Rv = /* @__PURE__ */ Y({
9375
9378
  __name: "AoCardProjectItemPhase",
9376
9379
  props: {
9377
9380
  id: {},
@@ -9420,20 +9423,20 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9420
9423
  }, null, 8, ["id", "title", "is-editable"])
9421
9424
  ]),
9422
9425
  footer: z(() => [
9423
- v("div", Iv, [
9424
- o.value ? (p(), C("div", Lv, [
9425
- v("div", Hv, [
9426
+ v("div", Lv, [
9427
+ o.value ? (p(), C("div", Hv, [
9428
+ v("div", Dv, [
9426
9429
  A(de, {
9427
9430
  name: "MountainFlagOutlineRounded",
9428
9431
  size: "sm"
9429
9432
  }),
9430
- v("span", Dv, Q(i.value) + " / " + Q(o.value), 1)
9433
+ v("span", Pv, Q(i.value) + " / " + Q(o.value), 1)
9431
9434
  ]),
9432
9435
  A(qn, {
9433
9436
  percentages: r.value,
9434
9437
  class: "ao-card-project-phase__progress"
9435
9438
  }, null, 8, ["percentages"]),
9436
- c.$slots.secondary ? (p(), C("div", Pv, [
9439
+ c.$slots.secondary ? (p(), C("div", Vv, [
9437
9440
  te(c.$slots, "secondary")
9438
9441
  ])) : T("", !0)
9439
9442
  ])) : T("", !0),
@@ -9453,7 +9456,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9453
9456
  { lazy: !0 }
9454
9457
  ]
9455
9458
  ]) : T("", !0),
9456
- v("span", Vv, Q(J(Tn)(c.deadline)), 1)
9459
+ v("span", Bv, Q(J(Tn)(c.deadline)), 1)
9457
9460
  ], 2)
9458
9461
  ])
9459
9462
  ]),
@@ -9462,7 +9465,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9462
9465
  c.isEditable ? {
9463
9466
  name: "header",
9464
9467
  fn: z(() => [
9465
- v("div", Ev, [
9468
+ v("div", Iv, [
9466
9469
  A(le, {
9467
9470
  class: "ao-card-project-phase__archive",
9468
9471
  color: "primary",
@@ -9481,7 +9484,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9481
9484
  ]), 1032, ["is-clickable"]));
9482
9485
  }
9483
9486
  });
9484
- const Rv = /* @__PURE__ */ Y({
9487
+ const Nv = /* @__PURE__ */ Y({
9485
9488
  __name: "AoBadge",
9486
9489
  props: {
9487
9490
  color: {}
@@ -9493,19 +9496,19 @@ const Rv = /* @__PURE__ */ Y({
9493
9496
  }, null, 4));
9494
9497
  }
9495
9498
  });
9496
- const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-title-with-badge-wrapper" }, Fv = {
9499
+ const jv = { class: "ao-card-project-milestone__default" }, Fv = { class: "ao-title-with-badge-wrapper" }, Uv = {
9497
9500
  key: 0,
9498
9501
  class: "ao-card-project-milestone__archive"
9499
- }, Uv = { class: "ao-card-project-milestone__activities" }, Zv = { class: "ao-card-project-milestone__activities-row" }, Wv = { class: "ao-card-project-milestone__subitem" }, qv = { class: "ao-card-project-milestone__subitem" }, zv = {
9502
+ }, Zv = { class: "ao-card-project-milestone__activities" }, Wv = { class: "ao-card-project-milestone__activities-row" }, qv = { class: "ao-card-project-milestone__subitem" }, zv = { class: "ao-card-project-milestone__subitem" }, xv = {
9500
9503
  key: 1,
9501
9504
  class: "ao-card-project-milestone__secondary"
9502
- }, xv = { class: "ao-card-project-milestone__footer" }, Yv = {
9505
+ }, Yv = { class: "ao-card-project-milestone__footer" }, Kv = {
9503
9506
  key: 1,
9504
9507
  class: "ao-field ao-card-project-milestone__deadline"
9505
- }, Kv = { class: "ao-field__label" }, Gv = {
9508
+ }, Gv = { class: "ao-field__label" }, Xv = {
9506
9509
  key: 2,
9507
9510
  class: "ao-card-project-milestone__assignee"
9508
- }, Xv = /* @__PURE__ */ Y({
9511
+ }, Qv = /* @__PURE__ */ Y({
9509
9512
  __name: "AoCardProjectItemMilestone",
9510
9513
  props: {
9511
9514
  id: {},
@@ -9547,9 +9550,9 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9547
9550
  "is-selected": l.isSelected
9548
9551
  }, {
9549
9552
  default: z(() => [
9550
- v("div", Nv, [
9551
- v("div", jv, [
9552
- A(Rv, {
9553
+ v("div", jv, [
9554
+ v("div", Fv, [
9555
+ A(Nv, {
9553
9556
  color: l.color || ""
9554
9557
  }, null, 8, ["color"]),
9555
9558
  A(ye, {
@@ -9561,7 +9564,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9561
9564
  "onUpdate:title": r
9562
9565
  }, null, 8, ["id", "title", "is-editable"])
9563
9566
  ]),
9564
- !l.readonly && l.isEditable ? (p(), C("div", Fv, [
9567
+ !l.readonly && l.isEditable ? (p(), C("div", Uv, [
9565
9568
  A(le, {
9566
9569
  color: l.isSelected ? void 0 : "primary",
9567
9570
  variant: "ghost",
@@ -9574,29 +9577,29 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9574
9577
  }, null, 8, ["color", "label"])
9575
9578
  ])) : T("", !0)
9576
9579
  ]),
9577
- v("div", Uv, [
9578
- v("div", Zv, [
9580
+ v("div", Zv, [
9581
+ v("div", Wv, [
9579
9582
  s.value ? (p(), C(ve, { key: 0 }, [
9580
- v("div", Wv, [
9583
+ v("div", qv, [
9581
9584
  A(de, {
9582
9585
  name: "SelectCheckBox",
9583
9586
  size: "sm"
9584
9587
  }),
9585
- v("span", qv, Q(o.value) + " / " + Q(s.value), 1)
9588
+ v("span", zv, Q(o.value) + " / " + Q(s.value), 1)
9586
9589
  ]),
9587
9590
  A(qn, {
9588
9591
  percentages: i.value,
9589
9592
  class: "ao-card-project-milestone__progress"
9590
9593
  }, null, 8, ["percentages"])
9591
9594
  ], 64)) : T("", !0),
9592
- l.$slots.secondary ? (p(), C("div", zv, [
9595
+ l.$slots.secondary ? (p(), C("div", xv, [
9593
9596
  te(l.$slots, "secondary")
9594
9597
  ])) : T("", !0)
9595
9598
  ])
9596
9599
  ])
9597
9600
  ]),
9598
9601
  footer: z(() => [
9599
- v("div", xv, [
9602
+ v("div", Yv, [
9600
9603
  l.important ? (p(), V(de, {
9601
9604
  key: 0,
9602
9605
  name: "FlagRounded",
@@ -9605,10 +9608,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9605
9608
  ),
9606
9609
  size: "sm"
9607
9610
  }, null, 8, ["class"])) : T("", !0),
9608
- l.deadline ? (p(), C("label", Yv, [
9609
- v("span", Kv, Q(J(Tn)(l.deadline)), 1)
9611
+ l.deadline ? (p(), C("label", Kv, [
9612
+ v("span", Gv, Q(J(Tn)(l.deadline)), 1)
9610
9613
  ])) : T("", !0),
9611
- l.assignee ? (p(), C("div", Gv, [
9614
+ l.assignee ? (p(), C("div", Xv, [
9612
9615
  A(Je, {
9613
9616
  "user-name": J(zs)(l.assignee),
9614
9617
  "avatar-url": l.assignee.avatarUrl,
@@ -9622,10 +9625,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9622
9625
  }, 8, ["class", "is-clickable", "is-selected"]));
9623
9626
  }
9624
9627
  });
9625
- const Qv = {
9628
+ const Jv = {
9626
9629
  key: 0,
9627
9630
  class: "ao-project-phase__drag ao-card__drag"
9628
- }, Jv = { class: "ao-project-phase__col-phase" }, e9 = { class: "ao-project-phase__col-milestones" }, t9 = { class: "ao-project-phase__milestones" }, a9 = { class: "ao-project-phase__milestones-list-footer" }, n9 = /* @__PURE__ */ Y({
9631
+ }, e9 = { class: "ao-project-phase__col-phase" }, t9 = { class: "ao-project-phase__col-milestones" }, a9 = { class: "ao-project-phase__milestones" }, n9 = { class: "ao-project-phase__milestones-list-footer" }, s9 = /* @__PURE__ */ Y({
9629
9632
  __name: "AoProjectPhase",
9630
9633
  props: {
9631
9634
  phase: {},
@@ -9682,14 +9685,14 @@ const Qv = {
9682
9685
  { "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
9683
9686
  ])
9684
9687
  }, [
9685
- d.isEditable ? (p(), C("div", Qv, [
9688
+ d.isEditable ? (p(), C("div", Jv, [
9686
9689
  A(de, {
9687
9690
  name: "DragIndicator",
9688
9691
  class: "ao-project-phase__drag-handle"
9689
9692
  })
9690
9693
  ])) : T("", !0),
9691
- v("div", Jv, [
9692
- A(Bv, {
9694
+ v("div", e9, [
9695
+ A(Rv, {
9693
9696
  id: d.phase.id,
9694
9697
  milestones: i.value,
9695
9698
  name: d.phase.name,
@@ -9700,8 +9703,8 @@ const Qv = {
9700
9703
  onArchivePhase: u
9701
9704
  }, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
9702
9705
  ]),
9703
- v("div", e9, [
9704
- v("div", t9, [
9706
+ v("div", t9, [
9707
+ v("div", a9, [
9705
9708
  A(J(mt), He({
9706
9709
  class: "ao-project-phase__milestones-list",
9707
9710
  list: i.value,
@@ -9712,7 +9715,7 @@ const Qv = {
9712
9715
  item: z(({ element: y }) => {
9713
9716
  var _;
9714
9717
  return [
9715
- A(Xv, {
9718
+ A(Qv, {
9716
9719
  id: y.id,
9717
9720
  name: y.name,
9718
9721
  color: y.color,
@@ -9737,7 +9740,7 @@ const Qv = {
9737
9740
  }),
9738
9741
  _: 1
9739
9742
  }, 16, ["list", "disabled"]),
9740
- v("div", a9, [
9743
+ v("div", n9, [
9741
9744
  d.isEditable ? (p(), V(Ct, {
9742
9745
  key: 0,
9743
9746
  label: d.$t("project.milestone.add"),
@@ -9752,10 +9755,10 @@ const Qv = {
9752
9755
  };
9753
9756
  }
9754
9757
  });
9755
- const s9 = { class: "ao-project__phases" }, i9 = {
9758
+ const i9 = { class: "ao-project__phases" }, o9 = {
9756
9759
  key: 0,
9757
9760
  class: "ao-project-phase__phases-list-footer"
9758
- }, o9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), r9 = { class: "ao-project-phase__col-phase" }, l9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), u9 = /* @__PURE__ */ Y({
9761
+ }, r9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), l9 = { class: "ao-project-phase__col-phase" }, u9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), c9 = /* @__PURE__ */ Y({
9759
9762
  __name: "AoProjectPhases",
9760
9763
  props: {
9761
9764
  phases: {},
@@ -9791,7 +9794,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
9791
9794
  }, c = (u) => {
9792
9795
  e("addPhase", u);
9793
9796
  };
9794
- return (u, f) => (p(), C("div", s9, [
9797
+ return (u, f) => (p(), C("div", i9, [
9795
9798
  A(J(mt), {
9796
9799
  class: "ao-project-phase__phases-list",
9797
9800
  "model-value": u.phases,
@@ -9800,7 +9803,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
9800
9803
  onChange: r
9801
9804
  }, {
9802
9805
  item: z(({ element: d }) => [
9803
- A(n9, {
9806
+ A(s9, {
9804
9807
  phase: d,
9805
9808
  "is-editable": !u.readonly && u.isEditable,
9806
9809
  "closed-status": u.closedStatus,
@@ -9815,9 +9818,9 @@ const s9 = { class: "ao-project__phases" }, i9 = {
9815
9818
  ]),
9816
9819
  _: 1
9817
9820
  }, 8, ["model-value"]),
9818
- u.isEditable ? (p(), C("div", i9, [
9819
- o9,
9820
- v("div", r9, [
9821
+ u.isEditable ? (p(), C("div", o9, [
9822
+ r9,
9823
+ v("div", l9, [
9821
9824
  A(Ct, {
9822
9825
  label: u.$t("project.phases.add"),
9823
9826
  "icon-name": "Add",
@@ -9825,12 +9828,12 @@ const s9 = { class: "ao-project__phases" }, i9 = {
9825
9828
  onClick: c
9826
9829
  }, null, 8, ["label"])
9827
9830
  ]),
9828
- l9
9831
+ u9
9829
9832
  ])) : T("", !0)
9830
9833
  ]));
9831
9834
  }
9832
9835
  });
9833
- const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9 = { class: "field__row" }, f9 = { class: "ao-add-template-modal__form-footer" }, v9 = /* @__PURE__ */ Y({
9836
+ const d9 = ["onSubmit"], p9 = { class: "ao-add-template-modal__form-body" }, f9 = { class: "field__row" }, v9 = { class: "ao-add-template-modal__form-footer" }, h9 = /* @__PURE__ */ Y({
9834
9837
  __name: "AoAddTemplateModal",
9835
9838
  props: {
9836
9839
  projectId: {},
@@ -9858,8 +9861,8 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
9858
9861
  class: "ao-add-template-modal__form",
9859
9862
  onSubmit: fe(i, ["prevent"])
9860
9863
  }, [
9861
- v("div", d9, [
9862
- v("div", p9, [
9864
+ v("div", p9, [
9865
+ v("div", f9, [
9863
9866
  A($e, {
9864
9867
  value: s.value,
9865
9868
  options: n.value,
@@ -9868,7 +9871,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
9868
9871
  }, null, 8, ["value", "options"])
9869
9872
  ])
9870
9873
  ]),
9871
- v("footer", f9, [
9874
+ v("footer", v9, [
9872
9875
  A(le, {
9873
9876
  label: r.$t("project.template.add.label"),
9874
9877
  type: "submit",
@@ -9877,13 +9880,13 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
9877
9880
  onClick: i
9878
9881
  }, null, 8, ["label"])
9879
9882
  ])
9880
- ], 40, c9)
9883
+ ], 40, d9)
9881
9884
  ]),
9882
9885
  _: 1
9883
9886
  }));
9884
9887
  }
9885
9888
  });
9886
- const h9 = Y({
9889
+ const m9 = Y({
9887
9890
  props: {
9888
9891
  isLeft: {
9889
9892
  type: Boolean,
@@ -9912,9 +9915,9 @@ const h9 = Y({
9912
9915
  }
9913
9916
  }
9914
9917
  });
9915
- const m9 = { class: "toggle-wrapper" };
9916
- function C9(t, e, a, n, s, o) {
9917
- return p(), C("div", m9, [
9918
+ const C9 = { class: "toggle-wrapper" };
9919
+ function g9(t, e, a, n, s, o) {
9920
+ return p(), C("div", C9, [
9918
9921
  v("button", {
9919
9922
  class: X({
9920
9923
  button: !0,
@@ -9935,7 +9938,7 @@ function C9(t, e, a, n, s, o) {
9935
9938
  }, Q(t.rightLabel), 3)
9936
9939
  ]);
9937
9940
  }
9938
- const ci = /* @__PURE__ */ U(h9, [["render", C9], ["__scopeId", "data-v-cbe33527"]]), g9 = { class: "ao-project" }, _9 = { class: "ao-project__body" }, y9 = /* @__PURE__ */ Y({
9941
+ const ci = /* @__PURE__ */ U(m9, [["render", g9], ["__scopeId", "data-v-cbe33527"]]), _9 = { class: "ao-project" }, y9 = { class: "ao-project__body" }, b9 = /* @__PURE__ */ Y({
9939
9942
  __name: "AoProjectOverviewProject",
9940
9943
  props: {
9941
9944
  project: {},
@@ -10001,7 +10004,7 @@ const ci = /* @__PURE__ */ U(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
10001
10004
  const N = Ye("RouterView");
10002
10005
  return p(), C(ve, null, [
10003
10006
  v("div", He({ class: "ao-project-overview" }, E.$attrs), [
10004
- v("div", g9, [
10007
+ v("div", _9, [
10005
10008
  A(Ga, null, {
10006
10009
  primary: z(() => [
10007
10010
  A(ci, {
@@ -10036,8 +10039,8 @@ const ci = /* @__PURE__ */ U(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
10036
10039
  ]),
10037
10040
  _: 1
10038
10041
  }),
10039
- v("div", _9, [
10040
- A(u9, {
10042
+ v("div", y9, [
10043
+ A(c9, {
10041
10044
  phases: E.phases,
10042
10045
  "closed-status": E.closedStatus,
10043
10046
  "is-editable": E.isEditable === !0,
@@ -10102,7 +10105,7 @@ const ci = /* @__PURE__ */ U(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
10102
10105
  ]))
10103
10106
  ], 16),
10104
10107
  (p(), V(Nt, { to: "body" }, [
10105
- W.value ? (p(), V(v9, {
10108
+ W.value ? (p(), V(h9, {
10106
10109
  key: 0,
10107
10110
  "project-id": E.project.id,
10108
10111
  templates: E.templates,
@@ -10114,39 +10117,39 @@ const ci = /* @__PURE__ */ U(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
10114
10117
  };
10115
10118
  }
10116
10119
  });
10117
- const b9 = { class: "ao-card-feed__header" }, w9 = {
10120
+ const w9 = { class: "ao-card-feed__header" }, $9 = {
10118
10121
  key: 1,
10119
10122
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
10120
- }, $9 = {
10123
+ }, k9 = {
10121
10124
  key: 2,
10122
10125
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
10123
- }, k9 = { class: "ao-card-feed__body" }, S9 = {
10126
+ }, S9 = { class: "ao-card-feed__body" }, M9 = {
10124
10127
  key: 0,
10125
10128
  class: "ao-card-feed__breadcrumbs"
10126
- }, M9 = {
10129
+ }, A9 = {
10127
10130
  class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
10128
- }, A9 = { class: "ao-card-feed__title-line" }, T9 = {
10131
+ }, T9 = { class: "ao-card-feed__title-line" }, O9 = {
10129
10132
  key: 0,
10130
10133
  class: "ao-card-feed__slug"
10131
- }, O9 = {
10134
+ }, E9 = {
10132
10135
  key: 1,
10133
10136
  class: "ao-card-feed__deadline"
10134
- }, E9 = { class: "ao-card-feed__footer" }, I9 = { class: "ao-card-feed__footer-row" }, L9 = { class: "ao-assignees" }, H9 = {
10137
+ }, I9 = { class: "ao-card-feed__footer" }, L9 = { class: "ao-card-feed__footer-row" }, H9 = { class: "ao-assignees" }, D9 = {
10135
10138
  key: 0,
10136
10139
  class: "ao-assignee"
10137
- }, D9 = {
10140
+ }, P9 = {
10138
10141
  key: 0,
10139
10142
  class: "ao-card-feed__subitems"
10140
- }, P9 = {
10143
+ }, V9 = {
10141
10144
  key: 0,
10142
10145
  class: "ao-card-feed__subitem"
10143
- }, V9 = { class: "ao-card-feed__subitem" }, B9 = {
10146
+ }, B9 = { class: "ao-card-feed__subitem" }, R9 = {
10144
10147
  key: 1,
10145
10148
  class: "ao-card-feed__subitem"
10146
- }, R9 = { class: "ao-card-feed__subitem" }, N9 = { class: "ao-card-feed__footer-row" }, j9 = {
10149
+ }, N9 = { class: "ao-card-feed__subitem" }, j9 = { class: "ao-card-feed__footer-row" }, F9 = {
10147
10150
  key: 0,
10148
10151
  class: "ao-card-feed__progress-wrapper"
10149
- }, F9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ Y({
10152
+ }, U9 = { class: "ao-card-feed__subitem" }, Z9 = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ Y({
10150
10153
  __name: "AoCardFeed",
10151
10154
  props: {
10152
10155
  id: {},
@@ -10189,7 +10192,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10189
10192
  "is-clickable": !0
10190
10193
  }, {
10191
10194
  header: z(() => [
10192
- v("div", b9, [
10195
+ v("div", w9, [
10193
10196
  n.value ? (p(), V(qa, {
10194
10197
  key: 0,
10195
10198
  label: n.value,
@@ -10198,7 +10201,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10198
10201
  color: h.projectColor ? void 0 : "primary",
10199
10202
  "raw-color": s.value
10200
10203
  }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10201
- h.isPrivate || h.important || h.isClosed ? (p(), C("div", w9, [
10204
+ h.isPrivate || h.important || h.isClosed ? (p(), C("div", $9, [
10202
10205
  h.isPrivate ? (p(), V(de, {
10203
10206
  key: 0,
10204
10207
  name: "Lock",
@@ -10217,17 +10220,17 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10217
10220
  class: "ao-card-feed__closed"
10218
10221
  })) : T("", !0)
10219
10222
  ])) : T("", !0),
10220
- h.$slots.secondary ? (p(), C("div", $9, [
10223
+ h.$slots.secondary ? (p(), C("div", k9, [
10221
10224
  te(h.$slots, "secondary")
10222
10225
  ])) : T("", !0)
10223
10226
  ])
10224
10227
  ]),
10225
10228
  default: z(() => [
10226
- v("div", k9, [
10227
- i.value ? (p(), C("span", S9, Q(i.value), 1)) : T("", !0),
10228
- v("div", M9, [
10229
- v("div", A9, [
10230
- h.slug ? (p(), C("span", T9, Q(h.slug) + ": ", 1)) : T("", !0),
10229
+ v("div", S9, [
10230
+ i.value ? (p(), C("span", M9, Q(i.value), 1)) : T("", !0),
10231
+ v("div", A9, [
10232
+ v("div", T9, [
10233
+ h.slug ? (p(), C("span", O9, Q(h.slug) + ": ", 1)) : T("", !0),
10231
10234
  A(ye, {
10232
10235
  id: h.id,
10233
10236
  title: h.name,
@@ -10238,17 +10241,17 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10238
10241
  }, null, 8, ["id", "title", "is-editable"])
10239
10242
  ])
10240
10243
  ]),
10241
- h.deadline ? (p(), C("span", O9, Q(l.value), 1)) : T("", !0)
10244
+ h.deadline ? (p(), C("span", E9, Q(l.value), 1)) : T("", !0)
10242
10245
  ])
10243
10246
  ]),
10244
10247
  footer: z(() => [
10245
- v("div", E9, [
10246
- v("div", I9, [
10247
- v("ul", L9, [
10248
+ v("div", I9, [
10249
+ v("div", L9, [
10250
+ v("ul", H9, [
10248
10251
  (p(!0), C(ve, null, _e(r.value, (y) => (p(), C(ve, {
10249
10252
  key: y.id
10250
10253
  }, [
10251
- y ? (p(), C("li", H9, [
10254
+ y ? (p(), C("li", D9, [
10252
10255
  A(Je, {
10253
10256
  "user-name": J(zs)(y),
10254
10257
  "avatar-url": y.avatarUrl,
@@ -10258,31 +10261,31 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10258
10261
  ])) : T("", !0)
10259
10262
  ], 64))), 128))
10260
10263
  ]),
10261
- h.comments || h.attachments ? (p(), C("ul", D9, [
10262
- h.comments ? (p(), C("li", P9, [
10264
+ h.comments || h.attachments ? (p(), C("ul", P9, [
10265
+ h.comments ? (p(), C("li", V9, [
10263
10266
  A(de, {
10264
10267
  name: "ChatOutline",
10265
10268
  size: "sm"
10266
10269
  }),
10267
- v("span", V9, Q(h.comments), 1)
10270
+ v("span", B9, Q(h.comments), 1)
10268
10271
  ])) : T("", !0),
10269
- h.attachments ? (p(), C("li", B9, [
10272
+ h.attachments ? (p(), C("li", R9, [
10270
10273
  A(de, {
10271
10274
  name: "AttachFileRounded",
10272
10275
  size: "sm"
10273
10276
  }),
10274
- v("span", R9, Q(h.attachments), 1)
10277
+ v("span", N9, Q(h.attachments), 1)
10275
10278
  ])) : T("", !0)
10276
10279
  ])) : T("", !0)
10277
10280
  ]),
10278
- v("div", N9, [
10279
- h.tasks && h.tasks.length ? (p(), C("div", j9, [
10280
- v("div", F9, [
10281
+ v("div", j9, [
10282
+ h.tasks && h.tasks.length ? (p(), C("div", F9, [
10283
+ v("div", U9, [
10281
10284
  A(de, {
10282
10285
  name: "SelectCheckBox",
10283
10286
  size: "sm"
10284
10287
  }),
10285
- v("span", U9, Q(f.value) + " / " + Q(u.value), 1)
10288
+ v("span", Z9, Q(f.value) + " / " + Q(u.value), 1)
10286
10289
  ]),
10287
10290
  A(qn, {
10288
10291
  percentages: d.value,
@@ -10303,8 +10306,8 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10303
10306
  */
10304
10307
  function wt(t) {
10305
10308
  let e = { r: 0, g: 0, b: 0, a: 1 };
10306
- /#/.test(t) ? e = W9(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
10307
- const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = q9(e);
10309
+ /#/.test(t) ? e = q9(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
10310
+ const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = z9(e);
10308
10311
  return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
10309
10312
  }
10310
10313
  function zn(t) {
@@ -10315,11 +10318,11 @@ function $n(t, e, a, n, s, o) {
10315
10318
  const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
10316
10319
  r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
10317
10320
  }
10318
- function Z9({ r: t, g: e, b: a }, n) {
10321
+ function W9({ r: t, g: e, b: a }, n) {
10319
10322
  const s = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${s(t)}${s(e)}${s(a)}`;
10320
10323
  return n ? o.toUpperCase() : o;
10321
10324
  }
10322
- function W9(t) {
10325
+ function q9(t) {
10323
10326
  t = t.slice(1);
10324
10327
  const e = (a) => parseInt(a, 16) || 0;
10325
10328
  return {
@@ -10336,7 +10339,7 @@ function Ms(t) {
10336
10339
  a: Number(t[3] ? t[3] : 1)
10337
10340
  }) : t;
10338
10341
  }
10339
- function q9({ r: t, g: e, b: a }) {
10342
+ function z9({ r: t, g: e, b: a }) {
10340
10343
  t = t / 255, e = e / 255, a = a / 255;
10341
10344
  const n = Math.max(t, e, a), s = Math.min(t, e, a), o = n - s;
10342
10345
  let i = 0;
@@ -10403,8 +10406,8 @@ var xn = Y({
10403
10406
  }
10404
10407
  }
10405
10408
  });
10406
- const z9 = { ref: "canvasSaturation" };
10407
- function x9(t, e, a, n, s, o) {
10409
+ const x9 = { ref: "canvasSaturation" };
10410
+ function Y9(t, e, a, n, s, o) {
10408
10411
  return p(), V(
10409
10412
  "div",
10410
10413
  {
@@ -10414,7 +10417,7 @@ function x9(t, e, a, n, s, o) {
10414
10417
  [
10415
10418
  A(
10416
10419
  "canvas",
10417
- z9,
10420
+ x9,
10418
10421
  null,
10419
10422
  512
10420
10423
  /* NEED_PATCH */
@@ -10434,7 +10437,7 @@ function x9(t, e, a, n, s, o) {
10434
10437
  /* HYDRATE_EVENTS */
10435
10438
  );
10436
10439
  }
10437
- xn.render = x9;
10440
+ xn.render = Y9;
10438
10441
  xn.__file = "src/color/Saturation.vue";
10439
10442
  var Yn = Y({
10440
10443
  props: {
@@ -10489,8 +10492,8 @@ var Yn = Y({
10489
10492
  }
10490
10493
  }
10491
10494
  });
10492
- const Y9 = { ref: "canvasHue" };
10493
- function K9(t, e, a, n, s, o) {
10495
+ const K9 = { ref: "canvasHue" };
10496
+ function G9(t, e, a, n, s, o) {
10494
10497
  return p(), V(
10495
10498
  "div",
10496
10499
  {
@@ -10500,7 +10503,7 @@ function K9(t, e, a, n, s, o) {
10500
10503
  [
10501
10504
  A(
10502
10505
  "canvas",
10503
- Y9,
10506
+ K9,
10504
10507
  null,
10505
10508
  512
10506
10509
  /* NEED_PATCH */
@@ -10520,7 +10523,7 @@ function K9(t, e, a, n, s, o) {
10520
10523
  /* HYDRATE_EVENTS */
10521
10524
  );
10522
10525
  }
10523
- Yn.render = K9;
10526
+ Yn.render = G9;
10524
10527
  Yn.__file = "src/color/Hue.vue";
10525
10528
  var Kn = Y({
10526
10529
  props: {
@@ -10584,8 +10587,8 @@ var Kn = Y({
10584
10587
  }
10585
10588
  }
10586
10589
  });
10587
- const G9 = { ref: "canvasAlpha" };
10588
- function X9(t, e, a, n, s, o) {
10590
+ const X9 = { ref: "canvasAlpha" };
10591
+ function Q9(t, e, a, n, s, o) {
10589
10592
  return p(), V(
10590
10593
  "div",
10591
10594
  {
@@ -10595,7 +10598,7 @@ function X9(t, e, a, n, s, o) {
10595
10598
  [
10596
10599
  A(
10597
10600
  "canvas",
10598
- G9,
10601
+ X9,
10599
10602
  null,
10600
10603
  512
10601
10604
  /* NEED_PATCH */
@@ -10615,7 +10618,7 @@ function X9(t, e, a, n, s, o) {
10615
10618
  /* HYDRATE_EVENTS */
10616
10619
  );
10617
10620
  }
10618
- Kn.render = X9;
10621
+ Kn.render = Q9;
10619
10622
  Kn.__file = "src/color/Alpha.vue";
10620
10623
  var Gn = Y({
10621
10624
  props: {
@@ -10652,10 +10655,10 @@ var Gn = Y({
10652
10655
  }
10653
10656
  }
10654
10657
  });
10655
- function Q9(t, e, a, n, s, o) {
10658
+ function J9(t, e, a, n, s, o) {
10656
10659
  return p(), V("canvas");
10657
10660
  }
10658
- Gn.render = Q9;
10661
+ Gn.render = J9;
10659
10662
  Gn.__file = "src/color/Preview.vue";
10660
10663
  var Xn = Y({
10661
10664
  props: {
@@ -10718,19 +10721,19 @@ var Xn = Y({
10718
10721
  }
10719
10722
  }
10720
10723
  });
10721
- const J9 = /* @__PURE__ */ A(
10724
+ const e4 = /* @__PURE__ */ A(
10722
10725
  "path",
10723
10726
  { d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
10724
10727
  null,
10725
10728
  -1
10726
10729
  /* HOISTED */
10727
- ), e4 = {
10730
+ ), t4 = {
10728
10731
  key: 1,
10729
10732
  class: "sucker",
10730
10733
  viewBox: "-16 -16 68 68",
10731
10734
  xmlns: "http://www.w3.org/2000/svg",
10732
10735
  stroke: "#9099a4"
10733
- }, t4 = /* @__PURE__ */ A(
10736
+ }, a4 = /* @__PURE__ */ A(
10734
10737
  "g",
10735
10738
  {
10736
10739
  fill: "none",
@@ -10762,7 +10765,7 @@ const J9 = /* @__PURE__ */ A(
10762
10765
  -1
10763
10766
  /* HOISTED */
10764
10767
  );
10765
- function a4(t, e, a, n, s, o) {
10768
+ function n4(t, e, a, n, s, o) {
10766
10769
  return p(), V("div", null, [
10767
10770
  t.isSucking ? T("v-if", !0) : (p(), V(
10768
10771
  "svg",
@@ -10774,17 +10777,17 @@ function a4(t, e, a, n, s, o) {
10774
10777
  onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
10775
10778
  },
10776
10779
  [
10777
- J9
10780
+ e4
10778
10781
  ],
10779
10782
  2
10780
10783
  /* CLASS */
10781
10784
  )),
10782
- t.isSucking ? (p(), V("svg", e4, [
10783
- t4
10785
+ t.isSucking ? (p(), V("svg", t4, [
10786
+ a4
10784
10787
  ])) : T("v-if", !0)
10785
10788
  ]);
10786
10789
  }
10787
- Xn.render = a4;
10790
+ Xn.render = n4;
10788
10791
  Xn.__file = "src/color/Sucker.vue";
10789
10792
  var Qn = Y({
10790
10793
  props: {
@@ -10817,12 +10820,12 @@ var Qn = Y({
10817
10820
  };
10818
10821
  }
10819
10822
  });
10820
- const n4 = { class: "color-type" }, s4 = { class: "name" };
10821
- function i4(t, e, a, n, s, o) {
10822
- return p(), V("div", n4, [
10823
+ const s4 = { class: "color-type" }, i4 = { class: "name" };
10824
+ function o4(t, e, a, n, s, o) {
10825
+ return p(), V("div", s4, [
10823
10826
  A(
10824
10827
  "span",
10825
- s4,
10828
+ i4,
10826
10829
  Q(t.name),
10827
10830
  1
10828
10831
  /* TEXT */
@@ -10843,7 +10846,7 @@ function i4(t, e, a, n, s, o) {
10843
10846
  ])
10844
10847
  ]);
10845
10848
  }
10846
- Qn.render = i4;
10849
+ Qn.render = o4;
10847
10850
  Qn.__file = "src/color/Box.vue";
10848
10851
  var Jn = Y({
10849
10852
  name: "ColorPicker",
@@ -10885,13 +10888,13 @@ var Jn = Y({
10885
10888
  };
10886
10889
  }
10887
10890
  });
10888
- const o4 = { class: "colors" }, r4 = {
10891
+ const r4 = { class: "colors" }, l4 = {
10889
10892
  key: 0,
10890
10893
  class: "colors history"
10891
10894
  };
10892
- function l4(t, e, a, n, s, o) {
10895
+ function u4(t, e, a, n, s, o) {
10893
10896
  return p(), V("div", null, [
10894
- A("ul", o4, [
10897
+ A("ul", r4, [
10895
10898
  (p(!0), V(
10896
10899
  ve,
10897
10900
  null,
@@ -10925,7 +10928,7 @@ function l4(t, e, a, n, s, o) {
10925
10928
  /* KEYED_FRAGMENT */
10926
10929
  ))
10927
10930
  ]),
10928
- t.colorsHistory.length ? (p(), V("ul", r4, [
10931
+ t.colorsHistory.length ? (p(), V("ul", l4, [
10929
10932
  (p(!0), V(
10930
10933
  ve,
10931
10934
  null,
@@ -10961,7 +10964,7 @@ function l4(t, e, a, n, s, o) {
10961
10964
  ])) : T("v-if", !0)
10962
10965
  ]);
10963
10966
  }
10964
- Jn.render = l4;
10967
+ Jn.render = u4;
10965
10968
  Jn.__file = "src/color/Colors.vue";
10966
10969
  var Rt = Y({
10967
10970
  components: {
@@ -11072,7 +11075,7 @@ var Rt = Y({
11072
11075
  return `rgba(${this.rgbaStringShort})`;
11073
11076
  },
11074
11077
  hexString() {
11075
- return Z9(this.rgba, !0);
11078
+ return W9(this.rgba, !0);
11076
11079
  }
11077
11080
  },
11078
11081
  created() {
@@ -11136,8 +11139,8 @@ var Rt = Y({
11136
11139
  }
11137
11140
  }
11138
11141
  });
11139
- const u4 = { class: "color-set" };
11140
- function c4(t, e, a, n, s, o) {
11142
+ const c4 = { class: "color-set" };
11143
+ function d4(t, e, a, n, s, o) {
11141
11144
  const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
11142
11145
  return p(), V(
11143
11146
  "div",
@@ -11146,7 +11149,7 @@ function c4(t, e, a, n, s, o) {
11146
11149
  style: { width: t.totalWidth + "px" }
11147
11150
  },
11148
11151
  [
11149
- A("div", u4, [
11152
+ A("div", c4, [
11150
11153
  A(i, {
11151
11154
  ref: "saturation",
11152
11155
  color: t.rgbString,
@@ -11220,12 +11223,12 @@ function c4(t, e, a, n, s, o) {
11220
11223
  /* CLASS, STYLE */
11221
11224
  );
11222
11225
  }
11223
- Rt.render = c4;
11226
+ Rt.render = d4;
11224
11227
  Rt.__file = "src/color/ColorPicker.vue";
11225
11228
  Rt.install = (t) => {
11226
11229
  t.component(Rt.name, Rt);
11227
11230
  };
11228
- const d4 = {
11231
+ const p4 = {
11229
11232
  props: {
11230
11233
  color: {
11231
11234
  type: String,
@@ -11249,10 +11252,10 @@ const d4 = {
11249
11252
  this.$emit("update:color", o);
11250
11253
  }
11251
11254
  }
11252
- }, p4 = { class: "color-picker-wrapper" };
11253
- function f4(t, e, a, n, s, o) {
11255
+ }, f4 = { class: "color-picker-wrapper" };
11256
+ function v4(t, e, a, n, s, o) {
11254
11257
  const i = Ye("ColorPicker");
11255
- return p(), C("div", p4, [
11258
+ return p(), C("div", f4, [
11256
11259
  v("button", {
11257
11260
  style: Ua({ backgroundColor: a.color }),
11258
11261
  class: "color-button",
@@ -11267,10 +11270,10 @@ function f4(t, e, a, n, s, o) {
11267
11270
  }, null, 8, ["color", "onChangeColor"])) : T("", !0)
11268
11271
  ]);
11269
11272
  }
11270
- const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-milestone" }, m4 = { class: "ao-project-milestone__header" }, C4 = { class: "ao-project-milestone__header_line" }, g4 = { class: "ao-project-milestone__header_line" }, _4 = { class: "ao-project-milestone__title" }, y4 = {
11273
+ const h4 = /* @__PURE__ */ U(p4, [["render", v4]]), m4 = { class: "ao-project-milestone" }, C4 = { class: "ao-project-milestone__header" }, g4 = { class: "ao-project-milestone__header_line" }, _4 = { class: "ao-project-milestone__header_line" }, y4 = { class: "ao-project-milestone__title" }, b4 = {
11271
11274
  key: 0,
11272
11275
  class: "ao-fieldset ao-milestone__fieldset"
11273
- }, b4 = { class: "ao-field__row ao-milestone__field-row" }, w4 = { class: "ao-field ao-field--inline" }, $4 = { class: "ao-field__row ao-milestone__field-row" }, k4 = { class: "ao-field ao-milestone__field-multiselect" }, S4 = { class: "ao-project-milestone__body" }, M4 = {
11276
+ }, w4 = { class: "ao-field__row ao-milestone__field-row" }, $4 = { class: "ao-field ao-field--inline" }, k4 = { class: "ao-field__row ao-milestone__field-row" }, S4 = { class: "ao-field ao-milestone__field-multiselect" }, M4 = { class: "ao-project-milestone__body" }, A4 = {
11274
11277
  key: 0,
11275
11278
  class: "ao-project-milestone__footer"
11276
11279
  }, As = /* @__PURE__ */ Y({
@@ -11377,9 +11380,9 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11377
11380
  });
11378
11381
  return (g, m) => {
11379
11382
  var H;
11380
- return p(), C("div", h4, [
11381
- v("header", m4, [
11382
- v("div", C4, [
11383
+ return p(), C("div", m4, [
11384
+ v("header", C4, [
11385
+ v("div", g4, [
11383
11386
  A(le, {
11384
11387
  "icon-name": "CloseRounded",
11385
11388
  variant: "ghost",
@@ -11388,8 +11391,8 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11388
11391
  onClick: l
11389
11392
  })
11390
11393
  ]),
11391
- v("div", g4, [
11392
- v("div", _4, [
11394
+ v("div", _4, [
11395
+ v("div", y4, [
11393
11396
  A(ye, {
11394
11397
  title: ((H = i.value) == null ? void 0 : H.name) || g.milestoneId,
11395
11398
  level: 5
@@ -11408,9 +11411,9 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11408
11411
  }, null, 8, ["modelValue", "disabled", "label"])
11409
11412
  ])
11410
11413
  ]),
11411
- i.value ? (p(), C("div", y4, [
11412
- v("div", b4, [
11413
- v("label", w4, [
11414
+ i.value ? (p(), C("div", b4, [
11415
+ v("div", w4, [
11416
+ v("label", $4, [
11414
11417
  Ke(v("input", {
11415
11418
  "onUpdate:modelValue": m[1] || (m[1] = (L) => h.value = L),
11416
11419
  class: "ao-milestone__field ao-milestone__date-field",
@@ -11425,8 +11428,8 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11425
11428
  ])
11426
11429
  ])
11427
11430
  ]),
11428
- v("div", $4, [
11429
- v("label", k4, [
11431
+ v("div", k4, [
11432
+ v("label", S4, [
11430
11433
  A($e, {
11431
11434
  modelValue: _.value,
11432
11435
  "onUpdate:modelValue": m[2] || (m[2] = (L) => _.value = L),
@@ -11455,13 +11458,13 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11455
11458
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
11456
11459
  ])
11457
11460
  ]),
11458
- A(v4, {
11461
+ A(h4, {
11459
11462
  color: d.value,
11460
11463
  "onUpdate:color": m[3] || (m[3] = (L) => d.value = L)
11461
11464
  }, null, 8, ["color"])
11462
11465
  ])) : T("", !0)
11463
11466
  ]),
11464
- v("div", S4, [
11467
+ v("div", M4, [
11465
11468
  A(J(mt), He({
11466
11469
  class: "ao-project-milestone__activities",
11467
11470
  list: r.value,
@@ -11532,7 +11535,7 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11532
11535
  }),
11533
11536
  _: 1
11534
11537
  }, 16, ["list", "disabled"]),
11535
- g.isEditable ? (p(), C("div", M4, [
11538
+ g.isEditable ? (p(), C("div", A4, [
11536
11539
  A(Ct, {
11537
11540
  "icon-name": "Add",
11538
11541
  label: g.$t("project.activity.add"),
@@ -11544,7 +11547,7 @@ const v4 = /* @__PURE__ */ U(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11544
11547
  };
11545
11548
  }
11546
11549
  });
11547
- const A4 = /* @__PURE__ */ Y({
11550
+ const T4 = /* @__PURE__ */ Y({
11548
11551
  __name: "AoProjectOverviewActivityDetails",
11549
11552
  props: {
11550
11553
  phaseId: {},
@@ -11631,14 +11634,14 @@ const A4 = /* @__PURE__ */ Y({
11631
11634
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
11632
11635
  };
11633
11636
  }
11634
- }), T4 = { class: "ao-col-header" }, O4 = /* @__PURE__ */ Y({
11637
+ }), O4 = { class: "ao-col-header" }, E4 = /* @__PURE__ */ Y({
11635
11638
  __name: "AoColHeader",
11636
11639
  props: {
11637
11640
  title: {},
11638
11641
  items: {}
11639
11642
  },
11640
11643
  setup(t) {
11641
- return (e, a) => (p(), C("header", T4, [
11644
+ return (e, a) => (p(), C("header", O4, [
11642
11645
  A(ye, {
11643
11646
  title: e.title,
11644
11647
  class: "ao-col-header__title",
@@ -11654,17 +11657,17 @@ const A4 = /* @__PURE__ */ Y({
11654
11657
  ]));
11655
11658
  }
11656
11659
  });
11657
- function E4(t) {
11660
+ function I4(t) {
11658
11661
  return Pi() ? (Vi(t), !0) : !1;
11659
11662
  }
11660
11663
  function ja(t) {
11661
11664
  return typeof t == "function" ? t() : J(t);
11662
11665
  }
11663
- const I4 = typeof window < "u" && typeof document < "u";
11666
+ const L4 = typeof window < "u" && typeof document < "u";
11664
11667
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
11665
- const L4 = (t) => t != null, oa = () => {
11668
+ const H4 = (t) => t != null, oa = () => {
11666
11669
  };
11667
- function H4(t, e) {
11670
+ function D4(t, e) {
11668
11671
  function a(...n) {
11669
11672
  return new Promise((s, o) => {
11670
11673
  Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
@@ -11672,7 +11675,7 @@ function H4(t, e) {
11672
11675
  }
11673
11676
  return a;
11674
11677
  }
11675
- function D4(t, e = {}) {
11678
+ function P4(t, e = {}) {
11676
11679
  let a, n, s = oa;
11677
11680
  const o = (r) => {
11678
11681
  clearTimeout(r), s(), s = oa;
@@ -11688,9 +11691,9 @@ function D4(t, e = {}) {
11688
11691
  });
11689
11692
  };
11690
11693
  }
11691
- function P4(t, e = 200, a = {}) {
11692
- return H4(
11693
- D4(e, a),
11694
+ function V4(t, e = 200, a = {}) {
11695
+ return D4(
11696
+ P4(e, a),
11694
11697
  t
11695
11698
  );
11696
11699
  }
@@ -11699,27 +11702,27 @@ function mn(t) {
11699
11702
  const a = ja(t);
11700
11703
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
11701
11704
  }
11702
- const V4 = I4 ? window : void 0;
11703
- function B4() {
11705
+ const B4 = L4 ? window : void 0;
11706
+ function R4() {
11704
11707
  const t = ee(!1), e = At();
11705
11708
  return e && xt(() => {
11706
11709
  t.value = !0;
11707
11710
  }, e), t;
11708
11711
  }
11709
- function R4(t) {
11710
- const e = B4();
11712
+ function N4(t) {
11713
+ const e = R4();
11711
11714
  return M(() => (e.value, !!t()));
11712
11715
  }
11713
- function N4(t, e, a = {}) {
11716
+ function j4(t, e, a = {}) {
11714
11717
  const {
11715
11718
  root: n,
11716
11719
  rootMargin: s = "0px",
11717
11720
  threshold: o = 0.1,
11718
- window: i = V4,
11721
+ window: i = B4,
11719
11722
  immediate: r = !0
11720
- } = a, l = R4(() => i && "IntersectionObserver" in i), c = M(() => {
11723
+ } = a, l = N4(() => i && "IntersectionObserver" in i), c = M(() => {
11721
11724
  const w = ja(t);
11722
- return (Array.isArray(w) ? w : [w]).map(mn).filter(L4);
11725
+ return (Array.isArray(w) ? w : [w]).map(mn).filter(H4);
11723
11726
  });
11724
11727
  let u = oa;
11725
11728
  const f = ee(r), d = l.value ? ce(
@@ -11743,7 +11746,7 @@ function N4(t, e, a = {}) {
11743
11746
  ) : oa, h = () => {
11744
11747
  u(), d(), f.value = !1;
11745
11748
  };
11746
- return E4(h), {
11749
+ return I4(h), {
11747
11750
  isSupported: l,
11748
11751
  isActive: f,
11749
11752
  pause() {
@@ -11755,24 +11758,24 @@ function N4(t, e, a = {}) {
11755
11758
  stop: h
11756
11759
  };
11757
11760
  }
11758
- const j4 = {
11761
+ const F4 = {
11759
11762
  class: /* @__PURE__ */ X(["ao-list-kanban"])
11760
- }, F4 = { class: "ao-list-kanban__header" }, U4 = {
11763
+ }, U4 = { class: "ao-list-kanban__header" }, Z4 = {
11761
11764
  key: 0,
11762
11765
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
11763
- }, Z4 = {
11766
+ }, W4 = {
11764
11767
  key: 1,
11765
11768
  class: "ao-list-kanban__end"
11766
- }, W4 = {
11769
+ }, q4 = {
11767
11770
  key: 0,
11768
11771
  class: "ao-list-kanban__no-more"
11769
- }, q4 = {
11772
+ }, z4 = {
11770
11773
  key: 1,
11771
11774
  class: "ao-list-kanban__divider"
11772
- }, z4 = {
11775
+ }, x4 = {
11773
11776
  key: 1,
11774
11777
  class: "ao-list-kanban__footer"
11775
- }, x4 = /* @__PURE__ */ Y({
11778
+ }, Y4 = /* @__PURE__ */ Y({
11776
11779
  __name: "AoListKanban",
11777
11780
  props: {
11778
11781
  list: {},
@@ -11790,7 +11793,7 @@ const j4 = {
11790
11793
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
11791
11794
  setup(t, { emit: e }) {
11792
11795
  const a = t, n = ee(!1), s = ee(null);
11793
- N4(s, ([{ isIntersecting: u }]) => {
11796
+ j4(s, ([{ isIntersecting: u }]) => {
11794
11797
  n.value = u;
11795
11798
  }), ce(n, (u) => {
11796
11799
  u && a.hasMore && !a.isLoading && e("loadMore");
@@ -11815,12 +11818,12 @@ const j4 = {
11815
11818
  )
11816
11819
  });
11817
11820
  }, c = ee(!1);
11818
- return (u, f) => (p(), C("div", j4, [
11821
+ return (u, f) => (p(), C("div", F4, [
11819
11822
  u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
11820
11823
  var d;
11821
11824
  return [
11822
- v("div", F4, [
11823
- u.title ? (p(), V(O4, {
11825
+ v("div", U4, [
11826
+ u.title ? (p(), V(E4, {
11824
11827
  key: 0,
11825
11828
  title: u.title,
11826
11829
  level: 3,
@@ -11906,20 +11909,20 @@ const j4 = {
11906
11909
  ];
11907
11910
  }),
11908
11911
  footer: z(() => [
11909
- u.isLoading ? (p(), C("div", U4, [
11912
+ u.isLoading ? (p(), C("div", Z4, [
11910
11913
  A(de, { name: "Loading" })
11911
11914
  ])) : u.hasMore ? (p(), C("div", {
11912
11915
  key: 2,
11913
11916
  ref_key: "scrollEnd",
11914
11917
  ref: s,
11915
11918
  class: "ao-list-kanban__end"
11916
- }, null, 512)) : (p(), C("div", Z4, [
11917
- u.noMoreLabel ? (p(), C("span", W4, Q(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", q4)) : T("", !0)
11919
+ }, null, 512)) : (p(), C("div", W4, [
11920
+ u.noMoreLabel ? (p(), C("span", q4, Q(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", z4)) : T("", !0)
11918
11921
  ]))
11919
11922
  ]),
11920
11923
  _: 1
11921
11924
  }, 16, ["class", "list", "disabled"]),
11922
- u.$slots.footer || u.footerLabel ? (p(), C("div", z4, [
11925
+ u.$slots.footer || u.footerLabel ? (p(), C("div", x4, [
11923
11926
  te(u.$slots, "footer", {}, () => [
11924
11927
  u.isEditable ? (p(), V(Ct, {
11925
11928
  key: 0,
@@ -11932,7 +11935,7 @@ const j4 = {
11932
11935
  ]));
11933
11936
  }
11934
11937
  });
11935
- const Y4 = { class: "ao-field ao-search-field" }, K4 = ["value", "placeholder", "onKeypress"], G4 = /* @__PURE__ */ Y({
11938
+ const K4 = { class: "ao-field ao-search-field" }, G4 = ["value", "placeholder", "onKeypress"], X4 = /* @__PURE__ */ Y({
11936
11939
  __name: "AoSearchField",
11937
11940
  props: {
11938
11941
  modelValue: {},
@@ -11944,10 +11947,10 @@ const Y4 = { class: "ao-field ao-search-field" }, K4 = ["value", "placeholder",
11944
11947
  const a = t, n = async (i) => {
11945
11948
  const l = i.target.value;
11946
11949
  e("update:modelValue", l, i);
11947
- }, s = P4(n, a.delay), o = (i) => {
11950
+ }, s = V4(n, a.delay), o = (i) => {
11948
11951
  e("clear", i);
11949
11952
  };
11950
- return (i, r) => (p(), C("div", Y4, [
11953
+ return (i, r) => (p(), C("div", K4, [
11951
11954
  v("input", {
11952
11955
  value: i.modelValue,
11953
11956
  type: "text",
@@ -11956,7 +11959,7 @@ const Y4 = { class: "ao-field ao-search-field" }, K4 = ["value", "placeholder",
11956
11959
  onInput: r[0] || (r[0] = //@ts-ignore
11957
11960
  (...l) => J(s) && J(s)(...l)),
11958
11961
  onKeypress: dt(n, ["enter"])
11959
- }, null, 40, K4),
11962
+ }, null, 40, G4),
11960
11963
  A(de, {
11961
11964
  name: "SearchRounded",
11962
11965
  class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -11972,7 +11975,7 @@ const Y4 = { class: "ao-field ao-search-field" }, K4 = ["value", "placeholder",
11972
11975
  ]));
11973
11976
  }
11974
11977
  });
11975
- const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { class: "ao-feed__body" }, e8 = /* @__PURE__ */ Y({
11978
+ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { class: "ao-feed__body" }, t8 = /* @__PURE__ */ Y({
11976
11979
  __name: "AoFeed",
11977
11980
  props: {
11978
11981
  activities: {},
@@ -12082,10 +12085,10 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12082
12085
  };
12083
12086
  return (O, k) => {
12084
12087
  var F;
12085
- return p(), C("div", X4, [
12088
+ return p(), C("div", Q4, [
12086
12089
  A(Ga, null, {
12087
12090
  primary: z(() => [
12088
- v("div", Q4, [
12091
+ v("div", J4, [
12089
12092
  a.project ? (p(), V(ci, {
12090
12093
  key: 0,
12091
12094
  "is-left": !1,
@@ -12095,7 +12098,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12095
12098
  B && O.$router.push({ name: J(Fe).project });
12096
12099
  })
12097
12100
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
12098
- A(G4, {
12101
+ A(X4, {
12099
12102
  "model-value": O.searchText,
12100
12103
  placeholder: O.$t("feed.search.placeholder"),
12101
12104
  class: "ao-feed__search",
@@ -12176,8 +12179,8 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12176
12179
  ]),
12177
12180
  _: 1
12178
12181
  }),
12179
- v("div", J4, [
12180
- (p(!0), C(ve, null, _e(O.statuses, (B) => (p(), V(x4, {
12182
+ v("div", e8, [
12183
+ (p(!0), C(ve, null, _e(O.statuses, (B) => (p(), V(Y4, {
12181
12184
  key: B.id,
12182
12185
  status: B,
12183
12186
  list: r.value[B.id],
@@ -12235,7 +12238,7 @@ const Dt = {
12235
12238
  TEMPLATES: "templates",
12236
12239
  TEMPLATE_DETAILS: "template_details",
12237
12240
  TEMPLATES_LIST: "templates_list"
12238
- }, C8 = (t, e = {}) => [
12241
+ }, g8 = (t, e = {}) => [
12239
12242
  {
12240
12243
  path: t,
12241
12244
  name: Dt.TEMPLATES,
@@ -12245,12 +12248,12 @@ const Dt = {
12245
12248
  {
12246
12249
  path: "",
12247
12250
  name: Dt.TEMPLATES_LIST,
12248
- component: a8
12251
+ component: n8
12249
12252
  },
12250
12253
  {
12251
12254
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
12252
12255
  name: Dt.TEMPLATE_DETAILS,
12253
- component: Mv,
12256
+ component: Av,
12254
12257
  props: !0
12255
12258
  }
12256
12259
  ]
@@ -12260,7 +12263,7 @@ const Dt = {
12260
12263
  feed: "AoProjectFeed",
12261
12264
  milestone: "AoMilestone",
12262
12265
  activity: "AoActivity"
12263
- }, g8 = (t, e = {}) => [
12266
+ }, _8 = (t, e = {}) => [
12264
12267
  {
12265
12268
  path: t,
12266
12269
  ...e,
@@ -12269,7 +12272,7 @@ const Dt = {
12269
12272
  {
12270
12273
  path: "",
12271
12274
  name: Fe.project,
12272
- component: y9,
12275
+ component: b9,
12273
12276
  props: !0,
12274
12277
  children: [
12275
12278
  {
@@ -12284,7 +12287,7 @@ const Dt = {
12284
12287
  props: { default: !0, modal: !0 },
12285
12288
  components: {
12286
12289
  default: As,
12287
- modal: A4
12290
+ modal: T4
12288
12291
  }
12289
12292
  }
12290
12293
  ]
@@ -12292,12 +12295,12 @@ const Dt = {
12292
12295
  {
12293
12296
  path: "feed",
12294
12297
  name: Fe.feed,
12295
- component: e8,
12298
+ component: t8,
12296
12299
  props: !0
12297
12300
  }
12298
12301
  ]
12299
12302
  }
12300
- ], t8 = { class: "ao-templates" }, a8 = /* @__PURE__ */ Y({
12303
+ ], a8 = { class: "ao-templates" }, n8 = /* @__PURE__ */ Y({
12301
12304
  __name: "AoTemplatesList",
12302
12305
  props: {
12303
12306
  templates: {}
@@ -12337,7 +12340,7 @@ const Dt = {
12337
12340
  });
12338
12341
  }
12339
12342
  };
12340
- return (r, l) => (p(), C("div", t8, [
12343
+ return (r, l) => (p(), C("div", a8, [
12341
12344
  A(Ga, null, {
12342
12345
  secondary: z(() => [
12343
12346
  A(le, {
@@ -12381,7 +12384,7 @@ const Dt = {
12381
12384
  ]));
12382
12385
  }
12383
12386
  });
12384
- const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ Y({
12387
+ const s8 = { class: "ao-field__label" }, i8 = /* @__PURE__ */ Y({
12385
12388
  __name: "AoField",
12386
12389
  props: {
12387
12390
  label: {},
@@ -12391,11 +12394,11 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ Y({
12391
12394
  return (e, a) => (p(), C("label", {
12392
12395
  class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
12393
12396
  }, [
12394
- v("span", n8, Q(e.label), 1),
12397
+ v("span", s8, Q(e.label), 1),
12395
12398
  te(e.$slots, "default")
12396
12399
  ], 2));
12397
12400
  }
12398
- }), i8 = ["type", "value", "disabled", "readonly"], _8 = /* @__PURE__ */ Y({
12401
+ }), o8 = ["type", "value", "disabled", "readonly"], y8 = /* @__PURE__ */ Y({
12399
12402
  __name: "AoInputField",
12400
12403
  props: {
12401
12404
  label: { default: "" },
@@ -12412,7 +12415,7 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ Y({
12412
12415
  ), s = (o) => {
12413
12416
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
12414
12417
  };
12415
- return (o, i) => (p(), V(s8, { label: o.label }, {
12418
+ return (o, i) => (p(), V(i8, { label: o.label }, {
12416
12419
  default: z(() => [
12417
12420
  v("input", He({
12418
12421
  class: "ao-field__input",
@@ -12422,12 +12425,12 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ Y({
12422
12425
  readonly: o.isReadonly
12423
12426
  }, {
12424
12427
  [Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
12425
- }), null, 16, i8)
12428
+ }), null, 16, o8)
12426
12429
  ]),
12427
12430
  _: 1
12428
12431
  }, 8, ["label"]));
12429
12432
  }
12430
- }), o8 = { class: "ao-field" }, r8 = { class: "ao-field__label" }, l8 = ["checked", "disabled"], y8 = /* @__PURE__ */ Y({
12433
+ }), r8 = { class: "ao-field" }, l8 = { class: "ao-field__label" }, u8 = ["checked", "disabled"], b8 = /* @__PURE__ */ Y({
12431
12434
  __name: "AoCheckboxField",
12432
12435
  props: {
12433
12436
  label: { default: "" },
@@ -12437,8 +12440,8 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ Y({
12437
12440
  },
12438
12441
  emits: ["update:modelValue"],
12439
12442
  setup(t) {
12440
- return (e, a) => (p(), C("label", o8, [
12441
- v("span", r8, Q(e.label), 1),
12443
+ return (e, a) => (p(), C("label", r8, [
12444
+ v("span", l8, Q(e.label), 1),
12442
12445
  v("input", {
12443
12446
  class: "ao-field__input",
12444
12447
  type: "checkbox",
@@ -12451,29 +12454,29 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ Y({
12451
12454
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
12452
12455
  );
12453
12456
  })
12454
- }, null, 40, l8)
12457
+ }, null, 40, u8)
12455
12458
  ]));
12456
12459
  }
12457
12460
  });
12458
12461
  export {
12459
12462
  Je as AoAvatar,
12460
12463
  di as AoCardFeed,
12461
- y8 as AoCheckboxField,
12462
- e8 as AoFeed,
12463
- s8 as AoField,
12464
- _8 as AoInputField,
12464
+ b8 as AoCheckboxField,
12465
+ t8 as AoFeed,
12466
+ i8 as AoField,
12467
+ y8 as AoInputField,
12465
12468
  $e as AoMultiselect,
12466
- u9 as AoProjectPhases,
12467
- Mv as AoTemplateDetails,
12468
- f8 as AoTemplates,
12469
- a8 as AoTemplatesList,
12469
+ c9 as AoProjectPhases,
12470
+ Av as AoTemplateDetails,
12471
+ v8 as AoTemplates,
12472
+ n8 as AoTemplatesList,
12470
12473
  F2 as TemplateItemTypeEnum,
12471
- h8 as activityFeedStatus,
12472
- v8 as durationTypes,
12474
+ m8 as activityFeedStatus,
12475
+ h8 as durationTypes,
12473
12476
  Lt as feedFilterTypes,
12474
- g8 as getProjectOverviewRoutes,
12475
- C8 as getTemplateRoutes,
12476
- m8 as listUpdateTypes,
12477
+ _8 as getProjectOverviewRoutes,
12478
+ g8 as getTemplateRoutes,
12479
+ C8 as listUpdateTypes,
12477
12480
  Cn as milestoneStatus,
12478
12481
  Fe as projectOverviewRoutes,
12479
12482
  R2 as ruleComparators,