@26lights/orcha 0.34.23 → 0.34.25

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,4 +1,4 @@
1
- import { defineComponent as J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as k, resolveDynamicComponent as vt, normalizeClass as Y, renderSlot as te, toDisplayString as X, createCommentVNode as T, ref as ne, watch as de, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as L, normalizeStyle as vn, withModifiers as me, createSlots as Na, Fragment as he, renderList as ye, onMounted as qt, onBeforeUnmount as pn, onUnmounted as mn, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
1
+ import { defineComponent as J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as k, resolveDynamicComponent as vt, normalizeClass as Y, renderSlot as te, toDisplayString as X, createCommentVNode as A, ref as ne, watch as de, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as L, normalizeStyle as vn, withModifiers as me, createSlots as Na, Fragment as he, renderList as ye, onMounted as qt, onBeforeUnmount as pn, onUnmounted as mn, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
2
2
  import { RouterView as As } from "vue-router";
3
3
  import pt from "vuedraggable";
4
4
  const Mv = /* @__PURE__ */ J({
@@ -1201,14 +1201,14 @@ const m2 = ["type"], h2 = {
1201
1201
  ])
1202
1202
  }, [
1203
1203
  te(s.$slots, "default", {}, () => [
1204
- s.label ? (v(), g("span", h2, X(s.label), 1)) : T("", !0)
1204
+ s.label ? (v(), g("span", h2, X(s.label), 1)) : A("", !0)
1205
1205
  ]),
1206
1206
  n.value ? (v(), R(ce, {
1207
1207
  key: 0,
1208
1208
  name: n.value,
1209
1209
  class: "ao-button__icon",
1210
1210
  size: a.value
1211
- }, null, 8, ["name", "size"])) : T("", !0)
1211
+ }, null, 8, ["name", "size"])) : A("", !0)
1212
1212
  ], 10, m2));
1213
1213
  }
1214
1214
  });
@@ -1350,7 +1350,7 @@ const C2 = {
1350
1350
  name: "DragIndicator",
1351
1351
  class: "ao-card-horiz__drag-handle"
1352
1352
  })
1353
- ])) : T("", !0),
1353
+ ])) : A("", !0),
1354
1354
  p("div", g2, [
1355
1355
  n.icon ? (v(), g("div", _2, [
1356
1356
  L(ce, {
@@ -1358,7 +1358,7 @@ const C2 = {
1358
1358
  name: n.icon,
1359
1359
  size: "xl"
1360
1360
  }, null, 8, ["name"])
1361
- ])) : T("", !0),
1361
+ ])) : A("", !0),
1362
1362
  p("div", y2, [
1363
1363
  L(_e, {
1364
1364
  id: n.id,
@@ -1369,22 +1369,22 @@ const C2 = {
1369
1369
  "onUpdate:title": a
1370
1370
  }, null, 8, ["id", "title"]),
1371
1371
  te(n.$slots, "subtitle", {}, () => [
1372
- n.subtitle ? (v(), g("span", b2, X(n.subtitle), 1)) : T("", !0)
1372
+ n.subtitle ? (v(), g("span", b2, X(n.subtitle), 1)) : A("", !0)
1373
1373
  ])
1374
1374
  ]),
1375
1375
  n.$slots.header ? (v(), g("div", w2, [
1376
1376
  te(n.$slots, "header")
1377
- ])) : T("", !0)
1377
+ ])) : A("", !0)
1378
1378
  ]),
1379
1379
  n.$slots.default ? (v(), g("div", $2, [
1380
1380
  te(n.$slots, "default")
1381
- ])) : T("", !0),
1381
+ ])) : A("", !0),
1382
1382
  n.$slots.footer ? (v(), g("div", k2, [
1383
1383
  te(n.$slots, "footer")
1384
- ])) : T("", !0),
1384
+ ])) : A("", !0),
1385
1385
  n.$slots.secondary ? (v(), g("div", M2, [
1386
1386
  te(n.$slots, "secondary")
1387
- ])) : T("", !0)
1387
+ ])) : A("", !0)
1388
1388
  ]),
1389
1389
  _: 3
1390
1390
  }, 8, ["class"]));
@@ -1433,7 +1433,7 @@ const _1 = /* @__PURE__ */ J({
1433
1433
  size: "sm",
1434
1434
  class: "ao-tag__close-icon"
1435
1435
  })
1436
- ])) : T("", !0)
1436
+ ])) : A("", !0)
1437
1437
  ], 6));
1438
1438
  }
1439
1439
  });
@@ -2722,12 +2722,12 @@ var B0 = {
2722
2722
  const Mn = B0;
2723
2723
  var R0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, N0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, j0 = /^'([^]*?)'?$/, U0 = /''/g, Z0 = /[a-zA-Z]/;
2724
2724
  function An(t, e, a) {
2725
- var n, s, o, i, r, l, u, d, c, m, C, $, _, y, h, M, w, A;
2725
+ var n, s, o, i, r, l, u, d, c, m, C, $, _, y, h, M, w, T;
2726
2726
  ge(2, arguments);
2727
2727
  var V = String(e), I = ca(), Z = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : I.locale) !== null && n !== void 0 ? n : Mn, U = Ke((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (u = a.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : I.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = I.locale) === null || c === void 0 || (m = c.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2728
2728
  if (!(U >= 1 && U <= 7))
2729
2729
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2730
- var z = Ke((C = ($ = (_ = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (h = a.locale) === null || h === void 0 || (M = h.options) === null || M === void 0 ? void 0 : M.weekStartsOn) !== null && _ !== void 0 ? _ : I.weekStartsOn) !== null && $ !== void 0 ? $ : (w = I.locale) === null || w === void 0 || (A = w.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && C !== void 0 ? C : 0);
2730
+ var z = Ke((C = ($ = (_ = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (h = a.locale) === null || h === void 0 || (M = h.options) === null || M === void 0 ? void 0 : M.weekStartsOn) !== null && _ !== void 0 ? _ : I.weekStartsOn) !== null && $ !== void 0 ? $ : (w = I.locale) === null || w === void 0 || (T = w.options) === null || T === void 0 ? void 0 : T.weekStartsOn) !== null && C !== void 0 ? C : 0);
2731
2731
  if (!(z >= 0 && z <= 6))
2732
2732
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2733
2733
  if (!Z.localize)
@@ -2783,7 +2783,7 @@ function q0(t, e, a) {
2783
2783
  throw new RangeError("Invalid time value");
2784
2784
  var w;
2785
2785
  M < -6 ? w = "other" : M < -1 ? w = "lastWeek" : M < 0 ? w = "yesterday" : M < 1 ? w = "today" : M < 2 ? w = "tomorrow" : M < 7 ? w = "nextWeek" : w = "other";
2786
- var A = f1(C, sa(C)), V = f1($, sa($)), I = y.formatRelative(w, A, V, {
2786
+ var T = f1(C, sa(C)), V = f1($, sa($)), I = y.formatRelative(w, T, V, {
2787
2787
  locale: y,
2788
2788
  weekStartsOn: h
2789
2789
  });
@@ -3717,12 +3717,12 @@ const Vn = (t) => {
3717
3717
  class: Y(n.value),
3718
3718
  title: i.userName
3719
3719
  }, [
3720
- i.avatarUrl ? T("", !0) : (v(), g("span", _3, X(Q(s)), 1)),
3720
+ i.avatarUrl ? A("", !0) : (v(), g("span", _3, X(Q(s)), 1)),
3721
3721
  i.avatarUrl ? (v(), g("img", {
3722
3722
  key: 1,
3723
3723
  className: "ao-avatar__image",
3724
3724
  src: i.avatarUrl
3725
- }, null, 8, y3)) : T("", !0),
3725
+ }, null, 8, y3)) : A("", !0),
3726
3726
  i.isClosable ? (v(), R(ue, {
3727
3727
  key: 2,
3728
3728
  "icon-name": "CloseRounded",
@@ -3730,7 +3730,7 @@ const Vn = (t) => {
3730
3730
  color: i.color,
3731
3731
  corners: "round",
3732
3732
  onClick: me(o, ["stop"])
3733
- }, null, 8, ["color", "onClick"])) : T("", !0)
3733
+ }, null, 8, ["color", "onClick"])) : A("", !0)
3734
3734
  ], 10, g3));
3735
3735
  }
3736
3736
  });
@@ -3800,7 +3800,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
3800
3800
  color: "primary",
3801
3801
  variant: "solid"
3802
3802
  }, null, 8, ["label"]))), 128))
3803
- ])) : T("", !0)
3803
+ ])) : A("", !0)
3804
3804
  ])
3805
3805
  ])
3806
3806
  ]),
@@ -3817,7 +3817,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
3817
3817
  p("div", P3, [
3818
3818
  p("span", null, X(n.updatedAt), 1)
3819
3819
  ])
3820
- ])) : T("", !0),
3820
+ ])) : A("", !0),
3821
3821
  n.updatedBy ? (v(), g("div", H3, [
3822
3822
  p("div", B3, [
3823
3823
  p("span", R3, X(n.$t("template.updatedBy.label")), 1)
@@ -3825,7 +3825,7 @@ const b3 = { class: "ao-card-template__subitems" }, w3 = { class: "ao-card-templ
3825
3825
  p("div", N3, [
3826
3826
  L(Xe, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3827
3827
  ])
3828
- ])) : T("", !0)
3828
+ ])) : A("", !0)
3829
3829
  ])
3830
3830
  ]),
3831
3831
  key: "0"
@@ -3850,12 +3850,12 @@ const U3 = { class: "ao-page-header" }, Z3 = { class: "ao-page-header-main" }, F
3850
3850
  "icon-name": "ArrowBackRounded",
3851
3851
  variant: "ghost",
3852
3852
  onClick: a[0] || (a[0] = (n) => e.$emit("goBack"))
3853
- })) : T("", !0),
3853
+ })) : A("", !0),
3854
3854
  te(e.$slots, "primary")
3855
3855
  ]),
3856
3856
  e.$slots.secondary ? (v(), g("div", F3, [
3857
3857
  te(e.$slots, "secondary")
3858
- ])) : T("", !0)
3858
+ ])) : A("", !0)
3859
3859
  ]));
3860
3860
  }
3861
3861
  });
@@ -3886,14 +3886,14 @@ const q3 = ["type"], W3 = {
3886
3886
  ])
3887
3887
  }, [
3888
3888
  te(s.$slots, "default", {}, () => [
3889
- s.label ? (v(), g("span", W3, X(s.label), 1)) : T("", !0)
3889
+ s.label ? (v(), g("span", W3, X(s.label), 1)) : A("", !0)
3890
3890
  ]),
3891
3891
  n.value ? (v(), R(ce, {
3892
3892
  key: 0,
3893
3893
  name: n.value,
3894
3894
  class: "ao-button-card__icon",
3895
3895
  size: a.value
3896
- }, null, 8, ["name", "size"])) : T("", !0)
3896
+ }, null, 8, ["name", "size"])) : A("", !0)
3897
3897
  ], 10, q3));
3898
3898
  }
3899
3899
  });
@@ -3930,7 +3930,7 @@ const z3 = { class: "ao-card-template-item__footer" }, Y3 = {
3930
3930
  size: "sm"
3931
3931
  }, null, 8, ["name"]),
3932
3932
  p("span", x3, X(i.$props[l]), 1)
3933
- ])) : T("", !0)
3933
+ ])) : A("", !0)
3934
3934
  ], 64))), 64))
3935
3935
  ])
3936
3936
  ]),
@@ -4057,7 +4057,7 @@ const K3 = /* @__PURE__ */ J({
4057
4057
  ])
4058
4058
  ]),
4059
4059
  _: 1
4060
- }, 8, ["model-value", "title"])) : T("", !0);
4060
+ }, 8, ["model-value", "title"])) : A("", !0);
4061
4061
  }
4062
4062
  }), e5 = /* @__PURE__ */ J({
4063
4063
  __name: "AoCardTemplateItemActivity",
@@ -4143,7 +4143,7 @@ const K3 = /* @__PURE__ */ J({
4143
4143
  ])
4144
4144
  ]),
4145
4145
  _: 1
4146
- }, 8, ["model-value", "title"])) : T("", !0);
4146
+ }, 8, ["model-value", "title"])) : A("", !0);
4147
4147
  }
4148
4148
  }), n5 = { class: "ao-modal" }, s5 = {
4149
4149
  key: 0,
@@ -4178,13 +4178,13 @@ const K3 = /* @__PURE__ */ J({
4178
4178
  p("header", o5, [
4179
4179
  te(e.$slots, "header")
4180
4180
  ])
4181
- ])) : T("", !0),
4181
+ ])) : A("", !0),
4182
4182
  p("div", r5, [
4183
4183
  te(e.$slots, "default")
4184
4184
  ]),
4185
4185
  e.$slots.footer ? (v(), g("footer", l5, [
4186
4186
  te(e.$slots, "footer")
4187
- ])) : T("", !0)
4187
+ ])) : A("", !0)
4188
4188
  ])
4189
4189
  ], 2));
4190
4190
  }
@@ -4352,7 +4352,7 @@ const g5 = async (t, e, a) => {
4352
4352
  } = r[_], {
4353
4353
  x: M,
4354
4354
  y: w,
4355
- data: A,
4355
+ data: T,
4356
4356
  reset: V
4357
4357
  } = await h({
4358
4358
  x: d,
@@ -4372,7 +4372,7 @@ const g5 = async (t, e, a) => {
4372
4372
  ...C,
4373
4373
  [y]: {
4374
4374
  ...C[y],
4375
- ...A
4375
+ ...T
4376
4376
  }
4377
4377
  }, V && $ <= 50) {
4378
4378
  $++, typeof V == "object" && (V.placement && (m = V.placement), V.rects && (u = V.rects === !0 ? await i.getElementRects({
@@ -4419,7 +4419,7 @@ async function Hn(t, e) {
4419
4419
  ...i.floating,
4420
4420
  x: n,
4421
4421
  y: s
4422
- } : i.reference, w = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(r.floating)), A = await (o.isElement == null ? void 0 : o.isElement(w)) ? await (o.getScale == null ? void 0 : o.getScale(w)) || {
4422
+ } : i.reference, w = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(r.floating)), T = await (o.isElement == null ? void 0 : o.isElement(w)) ? await (o.getScale == null ? void 0 : o.getScale(w)) || {
4423
4423
  x: 1,
4424
4424
  y: 1
4425
4425
  } : {
@@ -4431,10 +4431,10 @@ async function Hn(t, e) {
4431
4431
  strategy: l
4432
4432
  }) : M);
4433
4433
  return {
4434
- top: (h.top - V.top + $.top) / A.y,
4435
- bottom: (V.bottom - h.bottom + $.bottom) / A.y,
4436
- left: (h.left - V.left + $.left) / A.x,
4437
- right: (V.right - h.right + $.right) / A.x
4434
+ top: (h.top - V.top + $.top) / T.y,
4435
+ bottom: (V.bottom - h.bottom + $.bottom) / T.y,
4436
+ left: (h.left - V.left + $.left) / T.x,
4437
+ right: (V.right - h.right + $.right) / T.x
4438
4438
  };
4439
4439
  }
4440
4440
  const _5 = function(t) {
@@ -4461,9 +4461,9 @@ const _5 = function(t) {
4461
4461
  } = M1(t, e);
4462
4462
  if ((a = o.arrow) != null && a.alignmentOffset)
4463
4463
  return {};
4464
- const h = Rt(s), M = Rt(r) === r, w = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), A = m || (M || !_ ? [Da(r)] : v5(r));
4465
- !m && $ !== "none" && A.push(...m5(r, _, $, w));
4466
- const V = [r, ...A], I = await Hn(e, y), Z = [];
4464
+ const h = Rt(s), M = Rt(r) === r, w = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), T = m || (M || !_ ? [Da(r)] : v5(r));
4465
+ !m && $ !== "none" && T.push(...m5(r, _, $, w));
4466
+ const V = [r, ...T], I = await Hn(e, y), Z = [];
4467
4467
  let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4468
4468
  if (d && Z.push(I[h]), c) {
4469
4469
  const H = f5(s, i, w);
@@ -4529,21 +4529,21 @@ const _5 = function(t) {
4529
4529
  let $, _;
4530
4530
  u === "top" || u === "bottom" ? ($ = u, _ = d === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (_ = u, $ = d === "end" ? "top" : "bottom");
4531
4531
  const y = C - l[$], h = m - l[_], M = !e.middlewareData.shift;
4532
- let w = y, A = h;
4532
+ let w = y, T = h;
4533
4533
  if (c) {
4534
4534
  const I = m - l.left - l.right;
4535
- A = d || M ? oa(h, I) : I;
4535
+ T = d || M ? oa(h, I) : I;
4536
4536
  } else {
4537
4537
  const I = C - l.top - l.bottom;
4538
4538
  w = d || M ? oa(y, I) : I;
4539
4539
  }
4540
4540
  if (M && !d) {
4541
4541
  const I = Oe(l.left, 0), Z = Oe(l.right, 0), U = Oe(l.top, 0), z = Oe(l.bottom, 0);
4542
- c ? A = m - 2 * (I !== 0 || Z !== 0 ? I + Z : Oe(l.left, l.right)) : w = C - 2 * (U !== 0 || z !== 0 ? U + z : Oe(l.top, l.bottom));
4542
+ c ? T = m - 2 * (I !== 0 || Z !== 0 ? I + Z : Oe(l.left, l.right)) : w = C - 2 * (U !== 0 || z !== 0 ? U + z : Oe(l.top, l.bottom));
4543
4543
  }
4544
4544
  await i({
4545
4545
  ...e,
4546
- availableWidth: A,
4546
+ availableWidth: T,
4547
4547
  availableHeight: w
4548
4548
  });
4549
4549
  const V = await s.getDimensions(o.floating);
@@ -4910,7 +4910,7 @@ function B5(t, e) {
4910
4910
  threshold: Oe(0, oa(1, l)) || 1
4911
4911
  };
4912
4912
  let w = !0;
4913
- function A(V) {
4913
+ function T(V) {
4914
4914
  const I = V[0].intersectionRatio;
4915
4915
  if (I !== l) {
4916
4916
  if (!w)
@@ -4922,13 +4922,13 @@ function B5(t, e) {
4922
4922
  w = !1;
4923
4923
  }
4924
4924
  try {
4925
- a = new IntersectionObserver(A, {
4925
+ a = new IntersectionObserver(T, {
4926
4926
  ...M,
4927
4927
  // Handle <iframe>s
4928
4928
  root: s.ownerDocument
4929
4929
  });
4930
4930
  } catch {
4931
- a = new IntersectionObserver(A, M);
4931
+ a = new IntersectionObserver(T, M);
4932
4932
  }
4933
4933
  a.observe(t);
4934
4934
  }
@@ -5141,7 +5141,7 @@ function Y5(t, e, a) {
5141
5141
  resolveOnLoad: h,
5142
5142
  minChars: M,
5143
5143
  filterResults: w,
5144
- clearOnSearch: A,
5144
+ clearOnSearch: T,
5145
5145
  clearOnSelect: V,
5146
5146
  valueProp: I,
5147
5147
  allowAbsent: Z,
@@ -5393,7 +5393,7 @@ function Y5(t, e, a) {
5393
5393
  [gt.value[0]]: P
5394
5394
  }), F1 = () => {
5395
5395
  Be.value = de(K, (b) => {
5396
- b.length < M.value || !b && M.value !== 0 || (Te.value = !0, A.value && (Ne.value = []), setTimeout(() => {
5396
+ b.length < M.value || !b && M.value !== 0 || (Te.value = !0, T.value && (Ne.value = []), setTimeout(() => {
5397
5397
  b == K.value && n.value(K.value, re).then((P) => {
5398
5398
  (b == K.value || !K.value) && (Ne.value = P, zt.value = st.value.filter((oe) => oe[ae.value] !== !0)[0] || null, Te.value = !1);
5399
5399
  }).catch(
@@ -5472,7 +5472,7 @@ function x5(t, e, a) {
5472
5472
  groupSelect: u,
5473
5473
  disabledProp: d,
5474
5474
  groupOptions: c
5475
- } = Ae(t), m = a.fo, C = a.fg, $ = a.handleOptionClick, _ = a.handleGroupClick, y = a.search, h = a.pointer, M = a.setPointer, w = a.clearPointer, A = a.multiselect, V = a.isOpen, I = k(() => m.value.filter((D) => !D[d.value])), Z = k(() => C.value.filter((D) => !D[d.value])), U = k(() => l.value !== "single" && u.value), z = k(() => h.value && h.value.group), S = k(() => re(h.value)), W = k(() => {
5475
+ } = Ae(t), m = a.fo, C = a.fg, $ = a.handleOptionClick, _ = a.handleGroupClick, y = a.search, h = a.pointer, M = a.setPointer, w = a.clearPointer, T = a.multiselect, V = a.isOpen, I = k(() => m.value.filter((D) => !D[d.value])), Z = k(() => C.value.filter((D) => !D[d.value])), U = k(() => l.value !== "single" && u.value), z = k(() => h.value && h.value.group), S = k(() => re(h.value)), W = k(() => {
5476
5476
  const D = z.value ? h.value : (
5477
5477
  /* istanbul ignore next */
5478
5478
  re(h.value)
@@ -5522,7 +5522,7 @@ function x5(t, e, a) {
5522
5522
  G();
5523
5523
  });
5524
5524
  }, re = (D) => Z.value.find((K) => K.__VISIBLE__.map((fe) => fe[n.value]).indexOf(D[n.value]) !== -1), G = () => {
5525
- let D = A.value.querySelector("[data-pointed]");
5525
+ let D = T.value.querySelector("[data-pointed]");
5526
5526
  if (!D)
5527
5527
  return;
5528
5528
  let K = D.parentElement.parentElement;
@@ -5532,7 +5532,7 @@ function x5(t, e, a) {
5532
5532
  o.value && (D.length && s.value ? se() : w());
5533
5533
  }), de(V, (D) => {
5534
5534
  if (D) {
5535
- let K = A.value.querySelectorAll("[data-selected]")[0];
5535
+ let K = T.value.querySelectorAll("[data-selected]")[0];
5536
5536
  if (!K)
5537
5537
  return;
5538
5538
  let fe = K.parentElement.parentElement;
@@ -5909,7 +5909,7 @@ function M7(t, e) {
5909
5909
  }
5910
5910
  function P1(t, e) {
5911
5911
  e === void 0 && (e = {});
5912
- var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? t7 : r, u = a.rootBoundary, d = u === void 0 ? Yn : u, c = a.elementContext, m = c === void 0 ? ta : c, C = a.altBoundary, $ = C === void 0 ? !1 : C, _ = a.padding, y = _ === void 0 ? 0 : _, h = k7(typeof y != "number" ? y : M7(y, Xa)), M = m === ta ? a7 : ta, w = t.rects.popper, A = t.elements[$ ? M : m], V = $7(kt(A) ? A : A.contextElement || ht(t.elements.popper), l, d, i), I = Ut(t.elements.reference), Z = Gn({
5912
+ var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? t7 : r, u = a.rootBoundary, d = u === void 0 ? Yn : u, c = a.elementContext, m = c === void 0 ? ta : c, C = a.altBoundary, $ = C === void 0 ? !1 : C, _ = a.padding, y = _ === void 0 ? 0 : _, h = k7(typeof y != "number" ? y : M7(y, Xa)), M = m === ta ? a7 : ta, w = t.rects.popper, T = t.elements[$ ? M : m], V = $7(kt(T) ? T : T.contextElement || ht(t.elements.popper), l, d, i), I = Ut(t.elements.reference), Z = Gn({
5913
5913
  reference: I,
5914
5914
  element: w,
5915
5915
  strategy: "absolute",
@@ -5966,8 +5966,8 @@ function A7(t) {
5966
5966
  popper: aa(l)
5967
5967
  };
5968
5968
  var w = m7(C7([].concat(n, d.options.modifiers)));
5969
- return d.orderedModifiers = w.filter(function(A) {
5970
- return A.enabled;
5969
+ return d.orderedModifiers = w.filter(function(T) {
5970
+ return T.enabled;
5971
5971
  }), $(), C.update();
5972
5972
  },
5973
5973
  // Sync update – it will always be executed, even if not necessary. This
@@ -5985,12 +5985,12 @@ function A7(t) {
5985
5985
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(S) {
5986
5986
  return d.modifiersData[S.name] = Object.assign({}, S.data);
5987
5987
  });
5988
- for (var A = 0; A < d.orderedModifiers.length; A++) {
5988
+ for (var T = 0; T < d.orderedModifiers.length; T++) {
5989
5989
  if (d.reset === !0) {
5990
- d.reset = !1, A = -1;
5990
+ d.reset = !1, T = -1;
5991
5991
  continue;
5992
5992
  }
5993
- var V = d.orderedModifiers[A], I = V.fn, Z = V.options, U = Z === void 0 ? {} : Z, z = V.name;
5993
+ var V = d.orderedModifiers[T], I = V.fn, Z = V.options, U = Z === void 0 ? {} : Z, z = V.name;
5994
5994
  typeof I == "function" && (d = I({
5995
5995
  state: d,
5996
5996
  options: U,
@@ -6019,9 +6019,9 @@ function A7(t) {
6019
6019
  });
6020
6020
  function $() {
6021
6021
  d.orderedModifiers.forEach(function(y) {
6022
- var h = y.name, M = y.options, w = M === void 0 ? {} : M, A = y.effect;
6023
- if (typeof A == "function") {
6024
- var V = A({
6022
+ var h = y.name, M = y.options, w = M === void 0 ? {} : M, T = y.effect;
6023
+ if (typeof T == "function") {
6024
+ var V = T({
6025
6025
  state: d,
6026
6026
  name: h,
6027
6027
  instance: C,
@@ -6099,11 +6099,11 @@ function un(t) {
6099
6099
  y: _
6100
6100
  };
6101
6101
  C = y.x, _ = y.y;
6102
- var h = i.hasOwnProperty("x"), M = i.hasOwnProperty("y"), w = xe, A = Re, V = window;
6102
+ var h = i.hasOwnProperty("x"), M = i.hasOwnProperty("y"), w = xe, T = Re, V = window;
6103
6103
  if (u) {
6104
6104
  var I = Ka(a), Z = "clientHeight", U = "clientWidth";
6105
6105
  if (I === Me(a) && (I = ht(a), Je(I).position !== "static" && r === "absolute" && (Z = "scrollHeight", U = "scrollWidth")), I = I, s === Re || (s === xe || s === ft) && o === la) {
6106
- A = qe;
6106
+ T = qe;
6107
6107
  var z = c && I === V && V.visualViewport ? V.visualViewport.height : (
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  I[Z]
@@ -6130,9 +6130,9 @@ function un(t) {
6130
6130
  };
6131
6131
  if (C = H.x, _ = H.y, l) {
6132
6132
  var F;
6133
- return Object.assign({}, W, (F = {}, F[A] = M ? "0" : "", F[w] = h ? "0" : "", F.transform = (V.devicePixelRatio || 1) <= 1 ? "translate(" + C + "px, " + _ + "px)" : "translate3d(" + C + "px, " + _ + "px, 0)", F));
6133
+ return Object.assign({}, W, (F = {}, F[T] = M ? "0" : "", F[w] = h ? "0" : "", F.transform = (V.devicePixelRatio || 1) <= 1 ? "translate(" + C + "px, " + _ + "px)" : "translate3d(" + C + "px, " + _ + "px, 0)", F));
6134
6134
  }
6135
- return Object.assign({}, W, (e = {}, e[A] = M ? _ + "px" : "", e[w] = h ? C + "px" : "", e.transform = "", e));
6135
+ return Object.assign({}, W, (e = {}, e[T] = M ? _ + "px" : "", e[w] = h ? C + "px" : "", e.transform = "", e));
6136
6136
  }
6137
6137
  function V7(t) {
6138
6138
  var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, l = r === void 0 ? !0 : r, u = {
@@ -6224,7 +6224,7 @@ function Z7(t) {
6224
6224
  rootBoundary: u,
6225
6225
  padding: c,
6226
6226
  altBoundary: d
6227
- }), h = lt(e.placement), M = Ft(e.placement), w = !M, A = xn(h), V = j7(A), I = e.modifiersData.popperOffsets, Z = e.rects.reference, U = e.rects.popper, z = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6227
+ }), h = lt(e.placement), M = Ft(e.placement), w = !M, T = xn(h), V = j7(T), I = e.modifiersData.popperOffsets, Z = e.rects.reference, U = e.rects.popper, z = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6228
6228
  placement: e.placement
6229
6229
  })) : _, S = typeof z == "number" ? {
6230
6230
  mainAxis: z,
@@ -6238,14 +6238,14 @@ function Z7(t) {
6238
6238
  };
6239
6239
  if (I) {
6240
6240
  if (o) {
6241
- var F, E = A === "y" ? Re : xe, N = A === "y" ? qe : ft, x = A === "y" ? "height" : "width", f = I[A], O = f + y[E], B = f - y[N], se = C ? -U[x] / 2 : 0, ae = M === Zt ? Z[x] : U[x], ee = M === Zt ? -U[x] : -Z[x], Ce = e.elements.arrow, re = C && Ce ? Wn(Ce) : {
6241
+ var F, E = T === "y" ? Re : xe, N = T === "y" ? qe : ft, x = T === "y" ? "height" : "width", f = I[T], O = f + y[E], B = f - y[N], se = C ? -U[x] / 2 : 0, ae = M === Zt ? Z[x] : U[x], ee = M === Zt ? -U[x] : -Z[x], Ce = e.elements.arrow, re = C && Ce ? Wn(Ce) : {
6242
6242
  width: 0,
6243
6243
  height: 0
6244
- }, G = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kn(), D = G[E], K = G[N], fe = Sa(0, Z[x], re[x]), we = w ? Z[x] / 2 - se - fe - D - S.mainAxis : ae - fe - D - S.mainAxis, zt = w ? -Z[x] / 2 + se + fe + K + S.mainAxis : ee + fe + K + S.mainAxis, Yt = e.elements.arrow && Ka(e.elements.arrow), tt = Yt ? A === "y" ? Yt.clientTop || 0 : Yt.clientLeft || 0 : 0, ha = (F = W == null ? void 0 : W[A]) != null ? F : 0, Qa = f + we - ha - tt, at = f + zt - ha, Ca = Sa(C ? Ha(O, Qa) : O, f, C ? wt(B, at) : B);
6245
- I[A] = Ca, H[A] = Ca - f;
6244
+ }, G = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kn(), D = G[E], K = G[N], fe = Sa(0, Z[x], re[x]), we = w ? Z[x] / 2 - se - fe - D - S.mainAxis : ae - fe - D - S.mainAxis, zt = w ? -Z[x] / 2 + se + fe + K + S.mainAxis : ee + fe + K + S.mainAxis, Yt = e.elements.arrow && Ka(e.elements.arrow), tt = Yt ? T === "y" ? Yt.clientTop || 0 : Yt.clientLeft || 0 : 0, ha = (F = W == null ? void 0 : W[T]) != null ? F : 0, Qa = f + we - ha - tt, at = f + zt - ha, Ca = Sa(C ? Ha(O, Qa) : O, f, C ? wt(B, at) : B);
6245
+ I[T] = Ca, H[T] = Ca - f;
6246
6246
  }
6247
6247
  if (r) {
6248
- var nt, Ne = A === "x" ? Re : xe, Te = A === "x" ? qe : ft, Be = I[V], We = V === "y" ? "height" : "width", xt = Be + y[Ne], ga = Be - y[Te], Se = [Re, xe].indexOf(h) !== -1, Gt = (nt = W == null ? void 0 : W[V]) != null ? nt : 0, st = Se ? xt : Be - Z[We] - U[We] - Gt + S.altAxis, Ct = Se ? Be + Z[We] + U[We] - Gt - S.altAxis : ga, _a = C && Se ? U7(st, Be, Ct) : Sa(C ? st : xt, Be, C ? Ct : ga);
6248
+ var nt, Ne = T === "x" ? Re : xe, Te = T === "x" ? qe : ft, Be = I[V], We = V === "y" ? "height" : "width", xt = Be + y[Ne], ga = Be - y[Te], Se = [Re, xe].indexOf(h) !== -1, Gt = (nt = W == null ? void 0 : W[V]) != null ? nt : 0, st = Se ? xt : Be - Z[We] - U[We] - Gt + S.altAxis, Ct = Se ? Be + Z[We] + U[We] - Gt - S.altAxis : ga, _a = C && Se ? U7(st, Be, Ct) : Sa(C ? st : xt, Be, C ? Ct : ga);
6249
6249
  I[V] = _a, H[V] = _a - Be;
6250
6250
  }
6251
6251
  e.modifiersData[n] = H;
@@ -6306,7 +6306,7 @@ function Y7(t) {
6306
6306
  function x7(t) {
6307
6307
  var e = t.state, a = t.options, n = t.name;
6308
6308
  if (!e.modifiersData[n]._skip) {
6309
- for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, u = a.padding, d = a.boundary, c = a.rootBoundary, m = a.altBoundary, C = a.flipVariations, $ = C === void 0 ? !0 : C, _ = a.allowedAutoPlacements, y = e.options.placement, h = lt(y), M = h === y, w = l || (M || !$ ? [Ea(y)] : Y7(y)), A = [y].concat(w).reduce(function(re, G) {
6309
+ for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, u = a.padding, d = a.boundary, c = a.rootBoundary, m = a.altBoundary, C = a.flipVariations, $ = C === void 0 ? !0 : C, _ = a.allowedAutoPlacements, y = e.options.placement, h = lt(y), M = h === y, w = l || (M || !$ ? [Ea(y)] : Y7(y)), T = [y].concat(w).reduce(function(re, G) {
6310
6310
  return re.concat(lt(G) === D1 ? z7(e, {
6311
6311
  placement: G,
6312
6312
  boundary: d,
@@ -6315,8 +6315,8 @@ function x7(t) {
6315
6315
  flipVariations: $,
6316
6316
  allowedAutoPlacements: _
6317
6317
  }) : G);
6318
- }, []), V = e.rects.reference, I = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0, z = A[0], S = 0; S < A.length; S++) {
6319
- var W = A[S], H = lt(W), F = Ft(W) === Zt, E = [Re, qe].indexOf(H) >= 0, N = E ? "width" : "height", x = P1(e, {
6318
+ }, []), V = e.rects.reference, I = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0, z = T[0], S = 0; S < T.length; S++) {
6319
+ var W = T[S], H = lt(W), F = Ft(W) === Zt, E = [Re, qe].indexOf(H) >= 0, N = E ? "width" : "height", x = P1(e, {
6320
6320
  placement: W,
6321
6321
  boundary: d,
6322
6322
  rootBoundary: c,
@@ -6335,7 +6335,7 @@ function x7(t) {
6335
6335
  }
6336
6336
  if (U)
6337
6337
  for (var se = $ ? 3 : 1, ae = function(G) {
6338
- var D = A.find(function(K) {
6338
+ var D = T.find(function(K) {
6339
6339
  var fe = Z.get(K);
6340
6340
  if (fe)
6341
6341
  return fe.slice(0, G).every(function(we) {
@@ -6372,7 +6372,7 @@ function K7(t, e, a) {
6372
6372
  }, h = () => {
6373
6373
  if (!c.value)
6374
6374
  return;
6375
- let w = parseInt(window.getComputedStyle(u.value).borderTopWidth.replace("px", "")), A = parseInt(window.getComputedStyle(u.value).borderBottomWidth.replace("px", ""));
6375
+ let w = parseInt(window.getComputedStyle(u.value).borderTopWidth.replace("px", "")), T = parseInt(window.getComputedStyle(u.value).borderBottomWidth.replace("px", ""));
6376
6376
  c.value.setOptions((V) => ({
6377
6377
  ...V,
6378
6378
  modifiers: [
@@ -6380,7 +6380,7 @@ function K7(t, e, a) {
6380
6380
  {
6381
6381
  name: "offset",
6382
6382
  options: {
6383
- offset: [0, ($.value === "top" ? w : A) * -1]
6383
+ offset: [0, ($.value === "top" ? w : T) * -1]
6384
6384
  }
6385
6385
  }
6386
6386
  ]
@@ -6487,7 +6487,7 @@ function Q7(t, e, a) {
6487
6487
  createTag: c,
6488
6488
  createOption: m,
6489
6489
  reverse: C
6490
- } = Ae(t), $ = Mt().proxy, _ = a.iv, y = a.update, h = a.deselect, M = a.search, w = a.setPointer, A = a.selectPointer, V = a.backwardPointer, I = a.forwardPointer, Z = a.multiselect, U = a.wrapper, z = a.tags, S = a.isOpen, W = a.open, H = a.blur, F = a.fo, E = k(() => c.value || m.value || !1), N = k(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), x = () => {
6490
+ } = Ae(t), $ = Mt().proxy, _ = a.iv, y = a.update, h = a.deselect, M = a.search, w = a.setPointer, T = a.selectPointer, V = a.backwardPointer, I = a.forwardPointer, Z = a.multiselect, U = a.wrapper, z = a.tags, S = a.isOpen, W = a.open, H = a.blur, F = a.fo, E = k(() => c.value || m.value || !1), N = k(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), x = () => {
6491
6491
  n.value === "tags" && !r.value && E.value && i.value && !u.value && w(F.value[F.value.map((B) => B[l.value]).indexOf(M.value)]);
6492
6492
  };
6493
6493
  return {
@@ -6510,25 +6510,25 @@ function Q7(t, e, a) {
6510
6510
  }
6511
6511
  if (N.value.indexOf("enter") === -1 && E.value)
6512
6512
  return;
6513
- x(), A();
6513
+ x(), T();
6514
6514
  break;
6515
6515
  case " ":
6516
6516
  if (!E.value && !i.value) {
6517
- B.preventDefault(), x(), A();
6517
+ B.preventDefault(), x(), T();
6518
6518
  return;
6519
6519
  }
6520
6520
  if (!E.value)
6521
6521
  return !1;
6522
6522
  if (N.value.indexOf("space") === -1 && E.value)
6523
6523
  return;
6524
- B.preventDefault(), x(), A();
6524
+ B.preventDefault(), x(), T();
6525
6525
  break;
6526
6526
  case "Tab":
6527
6527
  case ";":
6528
6528
  case ",":
6529
6529
  if (N.value.indexOf(B.key.toLowerCase()) === -1 || !E.value)
6530
6530
  return;
6531
- x(), A(), B.preventDefault();
6531
+ x(), T(), B.preventDefault();
6532
6532
  break;
6533
6533
  case "Escape":
6534
6534
  H();
@@ -6653,14 +6653,14 @@ function J7(t, e, a) {
6653
6653
  dropdown: [w.dropdown].concat(_.value === "top" ? w.dropdownTop : []).concat(!r.value || !o.value || !h.value ? w.dropdownHidden : []),
6654
6654
  options: [w.options].concat(_.value === "top" ? w.optionsTop : []),
6655
6655
  group: w.group,
6656
- groupLabel: (A) => {
6656
+ groupLabel: (T) => {
6657
6657
  let V = [w.groupLabel];
6658
- return l(A) ? V.push(u(A) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : u(A) && m.value ? V.push(d(A) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : d(A) && V.push(w.groupLabelDisabled), m.value && V.push(w.groupLabelPointable), V;
6658
+ return l(T) ? V.push(u(T) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : u(T) && m.value ? V.push(d(T) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : d(T) && V.push(w.groupLabelDisabled), m.value && V.push(w.groupLabelPointable), V;
6659
6659
  },
6660
6660
  groupOptions: w.groupOptions,
6661
- option: (A, V) => {
6661
+ option: (T, V) => {
6662
6662
  let I = [w.option];
6663
- return l(A) ? I.push(u(A) ? w.optionSelectedPointed : w.optionPointed) : u(A) ? I.push(d(A) ? w.optionSelectedDisabled : w.optionSelected) : (d(A) || V && d(V)) && I.push(w.optionDisabled), I;
6663
+ return l(T) ? I.push(u(T) ? w.optionSelectedPointed : w.optionPointed) : u(T) ? I.push(d(T) ? w.optionSelectedDisabled : w.optionSelected) : (d(T) || V && d(V)) && I.push(w.optionDisabled), I;
6664
6664
  },
6665
6665
  noOptions: w.noOptions,
6666
6666
  noResults: w.noResults,
@@ -6719,7 +6719,7 @@ function t9(t, e, a) {
6719
6719
  let H = [];
6720
6720
  if (s && s.value && H.push(s.value), c.value)
6721
6721
  return H.push(c.value.group ? "multiselect-group" : "multiselect-option"), H.push(c.value.group ? c.value.index : c.value[o.value]), H.join("-");
6722
- }), w = k(() => n.value), A = k(() => r.value !== "single"), V = k(() => {
6722
+ }), w = k(() => n.value), T = k(() => r.value !== "single"), V = k(() => {
6723
6723
  let H = "";
6724
6724
  return r.value === "single" && C.value && (H += m.value[i.value]), r.value === "multiple" && C.value && (H += $.value), r.value === "tags" && C.value && (H += m.value.map((F) => F[i.value]).join(", ")), H;
6725
6725
  }), I = k(() => {
@@ -6749,7 +6749,7 @@ function t9(t, e, a) {
6749
6749
  ariaAssist: y,
6750
6750
  ariaControls: h,
6751
6751
  ariaPlaceholder: w,
6752
- ariaMultiselectable: A,
6752
+ ariaMultiselectable: T,
6753
6753
  ariaActiveDescendant: M,
6754
6754
  ariaOptionId: Z,
6755
6755
  ariaOptionLabel: z,
@@ -7190,7 +7190,7 @@ function A9(t, e, a, n, s, o) {
7190
7190
  "aria-multiselectable": a.searchable ? void 0 : t.ariaMultiselectable,
7191
7191
  role: a.searchable ? void 0 : "combobox"
7192
7192
  }, a.searchable ? {} : t.arias), [
7193
- T(" Search "),
7193
+ A(" Search "),
7194
7194
  a.mode !== "tags" && a.searchable && !a.disabled ? (v(), g("input", Ve({
7195
7195
  key: 0,
7196
7196
  type: a.inputType,
@@ -7212,8 +7212,8 @@ function A9(t, e, a, n, s, o) {
7212
7212
  }, {
7213
7213
  ...a.attrs,
7214
7214
  ...t.arias
7215
- }), null, 16, r9)) : T("v-if", !0),
7216
- T(" Tags (with search) "),
7215
+ }), null, 16, r9)) : A("v-if", !0),
7216
+ A(" Tags (with search) "),
7217
7217
  a.mode == "tags" ? (v(), g(
7218
7218
  "div",
7219
7219
  {
@@ -7263,7 +7263,7 @@ function A9(t, e, a, n, s, o) {
7263
7263
  2
7264
7264
  /* CLASS */
7265
7265
  )
7266
- ], 10, u9)) : T("v-if", !0)
7266
+ ], 10, u9)) : A("v-if", !0)
7267
7267
  ], 42, l9))
7268
7268
  ])),
7269
7269
  256
@@ -7276,7 +7276,7 @@ function A9(t, e, a, n, s, o) {
7276
7276
  ref: "tags"
7277
7277
  },
7278
7278
  [
7279
- T(" Used for measuring search width "),
7279
+ A(" Used for measuring search width "),
7280
7280
  p(
7281
7281
  "span",
7282
7282
  {
@@ -7286,7 +7286,7 @@ function A9(t, e, a, n, s, o) {
7286
7286
  3
7287
7287
  /* TEXT, CLASS */
7288
7288
  ),
7289
- T(" Actual search input "),
7289
+ A(" Actual search input "),
7290
7290
  a.searchable && !a.disabled ? (v(), g("input", Ve({
7291
7291
  key: 0,
7292
7292
  type: a.inputType,
@@ -7308,7 +7308,7 @@ function A9(t, e, a, n, s, o) {
7308
7308
  }, {
7309
7309
  ...a.attrs,
7310
7310
  ...t.arias
7311
- }), null, 16, d9)) : T("v-if", !0)
7311
+ }), null, 16, d9)) : A("v-if", !0)
7312
7312
  ],
7313
7313
  2
7314
7314
  /* CLASS */
@@ -7316,8 +7316,8 @@ function A9(t, e, a, n, s, o) {
7316
7316
  ],
7317
7317
  2
7318
7318
  /* CLASS */
7319
- )) : T("v-if", !0),
7320
- T(" Single label "),
7319
+ )) : A("v-if", !0),
7320
+ A(" Single label "),
7321
7321
  a.mode == "single" && t.hasSelected && !t.search && t.iv ? te(t.$slots, "singlelabel", {
7322
7322
  key: 2,
7323
7323
  value: t.iv
@@ -7341,8 +7341,8 @@ function A9(t, e, a, n, s, o) {
7341
7341
  2
7342
7342
  /* CLASS */
7343
7343
  )
7344
- ]) : T("v-if", !0),
7345
- T(" Multiple label "),
7344
+ ]) : A("v-if", !0),
7345
+ A(" Multiple label "),
7346
7346
  a.mode == "multiple" && t.hasSelected && !t.search ? te(t.$slots, "multiplelabel", {
7347
7347
  key: 3,
7348
7348
  values: t.iv
@@ -7351,8 +7351,8 @@ function A9(t, e, a, n, s, o) {
7351
7351
  class: Y(t.classList.multipleLabel),
7352
7352
  innerHTML: t.multipleLabelText
7353
7353
  }, null, 10, c9)
7354
- ]) : T("v-if", !0),
7355
- T(" Placeholder "),
7354
+ ]) : A("v-if", !0),
7355
+ A(" Placeholder "),
7356
7356
  a.placeholder && !t.hasSelected && !t.search ? te(t.$slots, "placeholder", { key: 4 }, () => [
7357
7357
  p(
7358
7358
  "div",
@@ -7364,8 +7364,8 @@ function A9(t, e, a, n, s, o) {
7364
7364
  3
7365
7365
  /* TEXT, CLASS */
7366
7366
  )
7367
- ]) : T("v-if", !0),
7368
- T(" Spinner "),
7367
+ ]) : A("v-if", !0),
7368
+ A(" Spinner "),
7369
7369
  a.loading || t.resolving ? te(t.$slots, "spinner", { key: 5 }, () => [
7370
7370
  p(
7371
7371
  "span",
@@ -7377,8 +7377,8 @@ function A9(t, e, a, n, s, o) {
7377
7377
  2
7378
7378
  /* CLASS */
7379
7379
  )
7380
- ]) : T("v-if", !0),
7381
- T(" Clear "),
7380
+ ]) : A("v-if", !0),
7381
+ A(" Clear "),
7382
7382
  t.hasSelected && !a.disabled && a.canClear && !t.busy ? te(t.$slots, "clear", {
7383
7383
  key: 6,
7384
7384
  clear: t.clear
@@ -7409,8 +7409,8 @@ function A9(t, e, a, n, s, o) {
7409
7409
  34
7410
7410
  /* CLASS, HYDRATE_EVENTS */
7411
7411
  )
7412
- ]) : T("v-if", !0),
7413
- T(" Caret "),
7412
+ ]) : A("v-if", !0),
7413
+ A(" Caret "),
7414
7414
  a.caret && a.showOptions ? te(t.$slots, "caret", {
7415
7415
  key: 7,
7416
7416
  handleCaretClick: t.handleCaretClick,
@@ -7427,9 +7427,9 @@ function A9(t, e, a, n, s, o) {
7427
7427
  2
7428
7428
  /* CLASS */
7429
7429
  )
7430
- ]) : T("v-if", !0)
7430
+ ]) : A("v-if", !0)
7431
7431
  ], 16, o9),
7432
- T(" Options "),
7432
+ A(" Options "),
7433
7433
  (v(), R(Ht, {
7434
7434
  to: a.appendTo || "body",
7435
7435
  disabled: !a.appendToBody && !a.appendTo
@@ -7457,7 +7457,7 @@ function A9(t, e, a, n, s, o) {
7457
7457
  "aria-selected": t.isSelected(i),
7458
7458
  role: "option"
7459
7459
  }, [
7460
- i.__CREATE__ ? T("v-if", !0) : (v(), g("div", {
7460
+ i.__CREATE__ ? A("v-if", !0) : (v(), g("div", {
7461
7461
  key: 0,
7462
7462
  class: Y(t.classList.groupLabel(i)),
7463
7463
  "data-pointed": t.isPointed(i),
@@ -7555,13 +7555,13 @@ function A9(t, e, a, n, s, o) {
7555
7555
  class: Y(t.classList.noOptions),
7556
7556
  innerHTML: t.localize(a.noOptionsText)
7557
7557
  }, null, 10, y9)
7558
- ]) : T("v-if", !0),
7558
+ ]) : A("v-if", !0),
7559
7559
  t.noResults ? te(t.$slots, "noresults", { key: 1 }, () => [
7560
7560
  p("div", {
7561
7561
  class: Y(t.classList.noResults),
7562
7562
  innerHTML: t.localize(a.noResultsText)
7563
7563
  }, null, 10, b9)
7564
- ]) : T("v-if", !0),
7564
+ ]) : A("v-if", !0),
7565
7565
  a.infinite && t.hasMore ? (v(), g(
7566
7566
  "div",
7567
7567
  {
@@ -7584,19 +7584,19 @@ function A9(t, e, a, n, s, o) {
7584
7584
  ],
7585
7585
  2
7586
7586
  /* CLASS */
7587
- )) : T("v-if", !0),
7587
+ )) : A("v-if", !0),
7588
7588
  te(t.$slots, "afterlist", { options: t.fo })
7589
7589
  ], 10, f9)
7590
7590
  ], 8, ["to", "disabled"])),
7591
- T(" Hacky input element to show HTML5 required warning "),
7591
+ A(" Hacky input element to show HTML5 required warning "),
7592
7592
  a.required ? (v(), g("input", {
7593
7593
  key: 0,
7594
7594
  class: Y(t.classList.fakeInput),
7595
7595
  tabindex: "-1",
7596
7596
  value: t.textValue,
7597
7597
  required: ""
7598
- }, null, 10, w9)) : T("v-if", !0),
7599
- T(" Native input support "),
7598
+ }, null, 10, w9)) : A("v-if", !0),
7599
+ A(" Native input support "),
7600
7600
  a.nativeSupport ? (v(), g(
7601
7601
  he,
7602
7602
  { key: 1 },
@@ -7621,15 +7621,15 @@ function A9(t, e, a, n, s, o) {
7621
7621
  ],
7622
7622
  64
7623
7623
  /* STABLE_FRAGMENT */
7624
- )) : T("v-if", !0),
7625
- T(" Screen reader assistive text "),
7624
+ )) : A("v-if", !0),
7625
+ A(" Screen reader assistive text "),
7626
7626
  a.searchable && t.hasSelected ? (v(), g("div", {
7627
7627
  key: 2,
7628
7628
  class: Y(t.classList.assist),
7629
7629
  id: t.ariaAssist,
7630
7630
  "aria-hidden": "true"
7631
- }, X(t.ariaLabel), 11, M9)) : T("v-if", !0),
7632
- T(" Create height for empty input "),
7631
+ }, X(t.ariaLabel), 11, M9)) : A("v-if", !0),
7632
+ A(" Create height for empty input "),
7633
7633
  p(
7634
7634
  "div",
7635
7635
  {
@@ -7788,7 +7788,7 @@ const S9 = { class: "ao-tasks" }, E9 = { class: "ao-tasks__list" }, O9 = ["id",
7788
7788
  variant: "ghost",
7789
7789
  color: "primary",
7790
7790
  onClick: () => r(C.id, !C.isDone)
7791
- }, null, 8, ["icon-name", "disabled", "onClick"])) : T("", !0),
7791
+ }, null, 8, ["icon-name", "disabled", "onClick"])) : A("", !0),
7792
7792
  p("input", {
7793
7793
  id: C.id,
7794
7794
  value: C.name,
@@ -7822,7 +7822,7 @@ const S9 = { class: "ao-tasks" }, E9 = { class: "ao-tasks__list" }, O9 = ["id",
7822
7822
  }, null, 8, ["user-name", "avatar-url", "onClose"])
7823
7823
  ]),
7824
7824
  _: 2
7825
- }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
7825
+ }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : A("", !0),
7826
7826
  c.isEditable ? (v(), R(ue, {
7827
7827
  key: 2,
7828
7828
  class: "ao-subtask__delete",
@@ -7831,7 +7831,7 @@ const S9 = { class: "ao-tasks" }, E9 = { class: "ao-tasks__list" }, O9 = ["id",
7831
7831
  variant: "ghost",
7832
7832
  color: "neutral",
7833
7833
  onClick: () => l(C.id)
7834
- }, null, 8, ["onClick"])) : T("", !0)
7834
+ }, null, 8, ["onClick"])) : A("", !0)
7835
7835
  ]);
7836
7836
  }), 128))
7837
7837
  ]),
@@ -7843,7 +7843,7 @@ const S9 = { class: "ao-tasks" }, E9 = { class: "ao-tasks__list" }, O9 = ["id",
7843
7843
  variant: "ghost",
7844
7844
  color: "primary",
7845
7845
  onClick: o
7846
- }, null, 8, ["label"])) : T("", !0)
7846
+ }, null, 8, ["label"])) : A("", !0)
7847
7847
  ])
7848
7848
  ]));
7849
7849
  }
@@ -7935,7 +7935,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
7935
7935
  size: "sm",
7936
7936
  corners: "round",
7937
7937
  onClick: () => n(m)
7938
- }, null, 8, ["onClick"])) : T("", !0)
7938
+ }, null, 8, ["onClick"])) : A("", !0)
7939
7939
  ]))), 128)),
7940
7940
  d.isEditable ? (v(), g("li", R9, [
7941
7941
  p("label", N9, [
@@ -7955,8 +7955,8 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
7955
7955
  onChange: s
7956
7956
  }, null, 32)
7957
7957
  ])
7958
- ])) : T("", !0)
7959
- ])) : T("", !0),
7958
+ ])) : A("", !0)
7959
+ ])) : A("", !0),
7960
7960
  rt(p("div", Z9, [
7961
7961
  p("span", F9, X(d.$t("activity.attachment.placeholder.active")), 1)
7962
7962
  ], 512), [
@@ -8006,7 +8006,7 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, Y9
8006
8006
  "avatar-url": (h = _.user) == null ? void 0 : h.avatarUrl,
8007
8007
  "user-name": n.value,
8008
8008
  class: "ao-comment__avatar"
8009
- }, null, 8, ["avatar-url", "user-name"])) : T("", !0),
8009
+ }, null, 8, ["avatar-url", "user-name"])) : A("", !0),
8010
8010
  p("span", z9, X(u.value), 1),
8011
8011
  p("div", Y9, [
8012
8012
  p("div", x9, [
@@ -8061,7 +8061,7 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, Y9
8061
8061
  onClick: Q(i)
8062
8062
  }, null, 8, ["label", "onClick"])
8063
8063
  ], 64))
8064
- ])) : T("", !0)
8064
+ ])) : A("", !0)
8065
8065
  ]);
8066
8066
  };
8067
8067
  }
@@ -8152,7 +8152,7 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
8152
8152
  onEdit: (_) => u($.id, _),
8153
8153
  onRemove: () => d($.id)
8154
8154
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
8155
- ])) : T("", !0)
8155
+ ])) : A("", !0)
8156
8156
  ], 512);
8157
8157
  };
8158
8158
  }
@@ -8327,7 +8327,7 @@ const h1 = /* @__PURE__ */ J({
8327
8327
  value: O.id,
8328
8328
  avatar: O.avatarUrl
8329
8329
  }))) || [];
8330
- }), A = k({
8330
+ }), T = k({
8331
8331
  get() {
8332
8332
  var f, O;
8333
8333
  return (f = a.activity.assignee) != null && f.id ? [(O = a.activity.assignee) == null ? void 0 : O.id] : [];
@@ -8405,7 +8405,7 @@ const h1 = /* @__PURE__ */ J({
8405
8405
  p("div", n4, [
8406
8406
  p("div", s4, [
8407
8407
  p("div", i4, [
8408
- f.breadcrumbs ? (v(), g("div", o4, X(f.breadcrumbs), 1)) : T("", !0),
8408
+ f.breadcrumbs ? (v(), g("div", o4, X(f.breadcrumbs), 1)) : A("", !0),
8409
8409
  L(_e, {
8410
8410
  title: f.activity.name || "",
8411
8411
  level: 4,
@@ -8423,7 +8423,7 @@ const h1 = /* @__PURE__ */ J({
8423
8423
  caret: f.isEditable,
8424
8424
  onChange: z
8425
8425
  }, null, 8, ["options", "value", "disabled", "caret"])
8426
- ])) : T("", !0),
8426
+ ])) : A("", !0),
8427
8427
  U.value ? (v(), g("label", d4, [
8428
8428
  p("span", c4, X(f.$t("activity.milestone.label")), 1),
8429
8429
  L($e, {
@@ -8434,7 +8434,7 @@ const h1 = /* @__PURE__ */ J({
8434
8434
  caret: f.isEditable,
8435
8435
  onChange: S
8436
8436
  }, null, 8, ["options", "value", "disabled", "caret"])
8437
- ])) : T("", !0)
8437
+ ])) : A("", !0)
8438
8438
  ]),
8439
8439
  te(f.$slots, "header")
8440
8440
  ]),
@@ -8533,7 +8533,7 @@ const h1 = /* @__PURE__ */ J({
8533
8533
  onUpdateComment: E,
8534
8534
  onRemoveComment: N
8535
8535
  }, null, 8, ["comments", "users", "user-id"])
8536
- ])) : T("", !0)
8536
+ ])) : A("", !0)
8537
8537
  ])
8538
8538
  ]),
8539
8539
  p("div", T4, [
@@ -8557,13 +8557,13 @@ const h1 = /* @__PURE__ */ J({
8557
8557
  onChange: H
8558
8558
  }, null, 8, ["options", "value", "disabled", "caret"])
8559
8559
  ])
8560
- ])) : T("", !0),
8560
+ ])) : A("", !0),
8561
8561
  p("div", L4, [
8562
8562
  p("div", V4, [
8563
8563
  p("span", D4, X(f.$t("activity.assignee.label")), 1),
8564
8564
  L($e, {
8565
- modelValue: A.value,
8566
- "onUpdate:modelValue": O[3] || (O[3] = (ee) => A.value = ee),
8565
+ modelValue: T.value,
8566
+ "onUpdate:modelValue": O[3] || (O[3] = (ee) => T.value = ee),
8567
8567
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
8568
8568
  options: w.value,
8569
8569
  "close-on-select": !0,
@@ -8607,7 +8607,7 @@ const h1 = /* @__PURE__ */ J({
8607
8607
  ]
8608
8608
  ])
8609
8609
  ])
8610
- ])) : T("", !0)
8610
+ ])) : A("", !0)
8611
8611
  ]),
8612
8612
  p("div", j4, [
8613
8613
  u.value ? (v(), g("div", U4, [
@@ -8624,7 +8624,7 @@ const h1 = /* @__PURE__ */ J({
8624
8624
  caret: f.isEditable
8625
8625
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8626
8626
  ])
8627
- ])) : T("", !0),
8627
+ ])) : A("", !0),
8628
8628
  te(f.$slots, "default", { activity: f.activity })
8629
8629
  ]),
8630
8630
  p("div", F4, [
@@ -8655,7 +8655,7 @@ const h1 = /* @__PURE__ */ J({
8655
8655
  class: "ao-field__input",
8656
8656
  size: "sm"
8657
8657
  }, null, 8, ["modelValue", "label", "disabled"])
8658
- ])) : T("", !0),
8658
+ ])) : A("", !0),
8659
8659
  p("fieldset", W4, [
8660
8660
  p("div", z4, [
8661
8661
  L(ce, { name: "FlowsheetOutlineRounded" }),
@@ -8707,7 +8707,7 @@ const h1 = /* @__PURE__ */ J({
8707
8707
  }, null, 8, ["user-name"]),
8708
8708
  p("span", null, X(x.value), 1)
8709
8709
  ])
8710
- ])) : T("", !0)
8710
+ ])) : A("", !0)
8711
8711
  ])
8712
8712
  ])
8713
8713
  ];
@@ -9054,7 +9054,7 @@ const rf = {
9054
9054
  templateId: a.templateId,
9055
9055
  data: B
9056
9056
  });
9057
- }, A = (f) => {
9057
+ }, T = (f) => {
9058
9058
  const { milestoneId: O } = f;
9059
9059
  if (!r.value)
9060
9060
  return;
@@ -9214,7 +9214,7 @@ const rf = {
9214
9214
  onUpdateMilestone: w,
9215
9215
  onUpdatePhase: y,
9216
9216
  onRemoveMilestone: M
9217
- }, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
9217
+ }, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
9218
9218
  ]),
9219
9219
  p("li", vf, [
9220
9220
  i.value && r.value ? (v(), R(a5, {
@@ -9223,10 +9223,10 @@ const rf = {
9223
9223
  "phase-id": (se = i.value) == null ? void 0 : se.id,
9224
9224
  milestone: r.value,
9225
9225
  "activity-id": (ae = d.value) == null ? void 0 : ae.id,
9226
- onAddActivity: A,
9226
+ onAddActivity: T,
9227
9227
  onUpdateActivity: I,
9228
9228
  onRemoveActivity: V
9229
- }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : T("", !0)
9229
+ }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : A("", !0)
9230
9230
  ])
9231
9231
  ])
9232
9232
  ]),
@@ -9257,7 +9257,7 @@ const rf = {
9257
9257
  te(f.$slots, "activityDetailsBody", ua(da(G)))
9258
9258
  ]),
9259
9259
  _: 3
9260
- }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
9260
+ }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : A("", !0)
9261
9261
  ])),
9262
9262
  (v(), R(Ht, { to: "body" }, [
9263
9263
  Z.value ? (v(), R(of, {
@@ -9270,9 +9270,9 @@ const rf = {
9270
9270
  onClose: U,
9271
9271
  onAddRule: z,
9272
9272
  onRemoveRule: S
9273
- }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
9273
+ }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : A("", !0)
9274
9274
  ]))
9275
- ])) : T("", !0);
9275
+ ])) : A("", !0);
9276
9276
  };
9277
9277
  }
9278
9278
  });
@@ -9302,13 +9302,13 @@ const mf = {
9302
9302
  default: q(() => [
9303
9303
  e.$slots.header ? (v(), g("header", mf, [
9304
9304
  te(e.$slots, "header")
9305
- ])) : T("", !0),
9305
+ ])) : A("", !0),
9306
9306
  p("div", hf, [
9307
9307
  te(e.$slots, "default")
9308
9308
  ]),
9309
9309
  e.$slots.footer ? (v(), g("footer", Cf, [
9310
9310
  te(e.$slots, "footer")
9311
- ])) : T("", !0)
9311
+ ])) : A("", !0)
9312
9312
  ]),
9313
9313
  _: 3
9314
9314
  }, 8, ["class"]));
@@ -9394,8 +9394,8 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
9394
9394
  }, null, 8, ["percentages"]),
9395
9395
  l.$slots.secondary ? (v(), g("div", $f, [
9396
9396
  te(l.$slots, "secondary")
9397
- ])) : T("", !0)
9398
- ])) : T("", !0),
9397
+ ])) : A("", !0)
9398
+ ])) : A("", !0),
9399
9399
  p("div", {
9400
9400
  class: Y(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9401
9401
  }, [
@@ -9411,7 +9411,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
9411
9411
  void 0,
9412
9412
  { lazy: !0 }
9413
9413
  ]
9414
- ]) : T("", !0),
9414
+ ]) : A("", !0),
9415
9415
  p("span", kf, X(Q(b1)(l.deadline)), 1)
9416
9416
  ], 2)
9417
9417
  ])
@@ -9509,7 +9509,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9509
9509
  label: r.$t("archive"),
9510
9510
  onClick: l[0] || (l[0] = me(() => r.$emit("archiveMilestone", { id: r.id }), ["stop"]))
9511
9511
  }, null, 8, ["color", "label"])
9512
- ])) : T("", !0)
9512
+ ])) : A("", !0)
9513
9513
  ]),
9514
9514
  p("div", Sf, [
9515
9515
  p("div", Ef, [
@@ -9525,10 +9525,10 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9525
9525
  percentages: o.value,
9526
9526
  class: "ao-card-project-milestone__progress"
9527
9527
  }, null, 8, ["percentages"])
9528
- ], 64)) : T("", !0),
9528
+ ], 64)) : A("", !0),
9529
9529
  r.$slots.secondary ? (v(), g("div", Lf, [
9530
9530
  te(r.$slots, "secondary")
9531
- ])) : T("", !0)
9531
+ ])) : A("", !0)
9532
9532
  ])
9533
9533
  ])
9534
9534
  ]),
@@ -9541,10 +9541,10 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9541
9541
  r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9542
9542
  ),
9543
9543
  size: "sm"
9544
- }, null, 8, ["class"])) : T("", !0),
9544
+ }, null, 8, ["class"])) : A("", !0),
9545
9545
  r.deadline ? (v(), g("label", Df, [
9546
9546
  p("span", Pf, X(Q(b1)(r.deadline)), 1)
9547
- ])) : T("", !0),
9547
+ ])) : A("", !0),
9548
9548
  r.assignee ? (v(), g("div", Hf, [
9549
9549
  L(Xe, {
9550
9550
  "user-name": Q(Vn)(r.assignee),
@@ -9552,7 +9552,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9552
9552
  color: r.isSelected ? "black" : "primary",
9553
9553
  size: "sm"
9554
9554
  }, null, 8, ["user-name", "avatar-url", "color"])
9555
- ])) : T("", !0)
9555
+ ])) : A("", !0)
9556
9556
  ])
9557
9557
  ]),
9558
9558
  _: 3
@@ -9602,7 +9602,11 @@ const Rf = {
9602
9602
  }, d = (m) => {
9603
9603
  e("archivePhase", m);
9604
9604
  }, c = (m) => {
9605
- "moved" in m && e("updateMilestone", {
9605
+ "added" in m ? e("updateMilestone", {
9606
+ id: m.added.element.id,
9607
+ phaseId: a.phase.id,
9608
+ rank: Bt(i.value, m.added.newIndex)
9609
+ }) : "removed" in m || "moved" in m && e("updateMilestone", {
9606
9610
  id: m.moved.element.id,
9607
9611
  rank: Bt(i.value, m.moved.newIndex)
9608
9612
  });
@@ -9620,7 +9624,7 @@ const Rf = {
9620
9624
  name: "DragIndicator",
9621
9625
  class: "ao-project-phase__drag-handle"
9622
9626
  })
9623
- ])) : T("", !0),
9627
+ ])) : A("", !0),
9624
9628
  p("div", Nf, [
9625
9629
  L(Mf, {
9626
9630
  id: m.phase.id,
@@ -9676,7 +9680,7 @@ const Rf = {
9676
9680
  class: "ao-project-phase__milestone-add",
9677
9681
  "icon-name": "Add",
9678
9682
  onClick: C[0] || (C[0] = () => r(m.phase.id))
9679
- }, null, 8, ["label"])) : T("", !0)
9683
+ }, null, 8, ["label"])) : A("", !0)
9680
9684
  ])
9681
9685
  ])
9682
9686
  ])
@@ -9758,7 +9762,7 @@ const qf = { class: "ao-project__phases" }, Wf = {
9758
9762
  }, null, 8, ["label"])
9759
9763
  ]),
9760
9764
  xf
9761
- ])) : T("", !0)
9765
+ ])) : A("", !0)
9762
9766
  ]));
9763
9767
  }
9764
9768
  });
@@ -9918,7 +9922,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9918
9922
  () => s.value.flatMap((S) => S.activities)
9919
9923
  ), w = (S) => {
9920
9924
  e("addFiles", S);
9921
- }, A = (S) => {
9925
+ }, T = (S) => {
9922
9926
  e("removeFile", S);
9923
9927
  }, V = (S) => {
9924
9928
  e("addComment", S);
@@ -9964,7 +9968,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9964
9968
  color: "primary",
9965
9969
  label: S.$t("project.template.add.label"),
9966
9970
  onClick: W[2] || (W[2] = (F) => U.value = !0)
9967
- }, null, 8, ["label"])) : T("", !0)
9971
+ }, null, 8, ["label"])) : A("", !0)
9968
9972
  ]),
9969
9973
  _: 1
9970
9974
  }),
@@ -10016,7 +10020,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10016
10020
  onUpdateSubtask: y,
10017
10021
  onDeleteSubtask: h,
10018
10022
  onAddFiles: w,
10019
- onRemoveFile: A,
10023
+ onRemoveFile: T,
10020
10024
  onAddComment: V,
10021
10025
  onUpdateComment: I,
10022
10026
  onRemoveComment: Z
@@ -10040,7 +10044,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10040
10044
  templates: S.templates,
10041
10045
  onClose: W[4] || (W[4] = (F) => U.value = !1),
10042
10046
  onApply: z
10043
- }, null, 8, ["project-id", "templates"])) : T("", !0)
10047
+ }, null, 8, ["project-id", "templates"])) : A("", !0)
10044
10048
  ]))
10045
10049
  ], 64);
10046
10050
  };
@@ -10123,34 +10127,34 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10123
10127
  variant: "solid",
10124
10128
  color: c.projectColor ? void 0 : "primary",
10125
10129
  "raw-color": c.projectColor
10126
- }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10130
+ }, null, 8, ["label", "color", "raw-color"])) : A("", !0),
10127
10131
  c.isPrivate || c.important || c.isClosed ? (v(), g("div", l8, [
10128
10132
  c.isPrivate ? (v(), R(ce, {
10129
10133
  key: 0,
10130
10134
  name: "Lock",
10131
10135
  class: "ao-card-feed__warning",
10132
10136
  size: "sm"
10133
- })) : T("", !0),
10137
+ })) : A("", !0),
10134
10138
  c.important ? (v(), R(ce, {
10135
10139
  key: 1,
10136
10140
  name: "FlagRounded",
10137
10141
  class: "ao-card-feed__important",
10138
10142
  size: "sm"
10139
- })) : T("", !0),
10143
+ })) : A("", !0),
10140
10144
  c.isClosed ? (v(), R(ce, {
10141
10145
  key: 2,
10142
10146
  name: "CheckSmallRounded",
10143
10147
  class: "ao-card-feed__closed"
10144
- })) : T("", !0)
10145
- ])) : T("", !0),
10148
+ })) : A("", !0)
10149
+ ])) : A("", !0),
10146
10150
  c.$slots.secondary ? (v(), g("div", u8, [
10147
10151
  te(c.$slots, "secondary")
10148
- ])) : T("", !0)
10152
+ ])) : A("", !0)
10149
10153
  ])
10150
10154
  ]),
10151
10155
  default: q(() => [
10152
10156
  p("div", d8, [
10153
- s.value ? (v(), g("span", c8, X(s.value), 1)) : T("", !0),
10157
+ s.value ? (v(), g("span", c8, X(s.value), 1)) : A("", !0),
10154
10158
  p("div", f8, [
10155
10159
  L(_e, {
10156
10160
  id: c.id,
@@ -10160,7 +10164,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10160
10164
  "onUpdate:title": n
10161
10165
  }, null, 8, ["id", "title", "is-editable"])
10162
10166
  ]),
10163
- c.deadline ? (v(), g("span", v8, X(i.value), 1)) : T("", !0)
10167
+ c.deadline ? (v(), g("span", v8, X(i.value), 1)) : A("", !0)
10164
10168
  ])
10165
10169
  ]),
10166
10170
  footer: q(() => [
@@ -10177,7 +10181,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10177
10181
  "is-closable": !0,
10178
10182
  onClose: () => r(C.id)
10179
10183
  }, null, 8, ["user-name", "avatar-url", "onClose"])
10180
- ])) : T("", !0)
10184
+ ])) : A("", !0)
10181
10185
  ], 64))), 128))
10182
10186
  ]),
10183
10187
  c.comments || c.attachments ? (v(), g("ul", g8, [
@@ -10187,15 +10191,15 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10187
10191
  size: "sm"
10188
10192
  }),
10189
10193
  p("span", y8, X(c.comments), 1)
10190
- ])) : T("", !0),
10194
+ ])) : A("", !0),
10191
10195
  c.attachments ? (v(), g("li", b8, [
10192
10196
  L(ce, {
10193
10197
  name: "AttachFileRounded",
10194
10198
  size: "sm"
10195
10199
  }),
10196
10200
  p("span", w8, X(c.attachments), 1)
10197
- ])) : T("", !0)
10198
- ])) : T("", !0)
10201
+ ])) : A("", !0)
10202
+ ])) : A("", !0)
10199
10203
  ]),
10200
10204
  p("div", $8, [
10201
10205
  c.tasks && c.tasks.length ? (v(), g("div", k8, [
@@ -10210,7 +10214,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10210
10214
  percentages: d.value,
10211
10215
  class: "ao-card-feed__progress"
10212
10216
  }, null, 8, ["percentages"])
10213
- ])) : T("", !0)
10217
+ ])) : A("", !0)
10214
10218
  ])
10215
10219
  ])
10216
10220
  ]),
@@ -10272,14 +10276,10 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10272
10276
  }, d = (h) => {
10273
10277
  e("updateActivity", h);
10274
10278
  }, c = (h) => {
10275
- console.log({ event: h }), r.value && ("added" in h ? e("updateActivity", {
10276
- id: h.added.element.id,
10277
- milestoneId: a.milestoneId,
10278
- rank: Bt(r.value, h.added.newIndex)
10279
- }) : "removed" in h || "moved" in h && e("updateActivity", {
10279
+ r.value && "moved" in h && e("updateActivity", {
10280
10280
  id: h.moved.element.id,
10281
10281
  rank: Bt(r.value, h.moved.newIndex)
10282
- }));
10282
+ });
10283
10283
  }, m = k({
10284
10284
  get: () => {
10285
10285
  var h;
@@ -10340,7 +10340,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10340
10340
  }, null, 8, ["title"]),
10341
10341
  L(h1, {
10342
10342
  modelValue: y.value,
10343
- "onUpdate:modelValue": M[0] || (M[0] = (A) => y.value = A),
10343
+ "onUpdate:modelValue": M[0] || (M[0] = (T) => y.value = T),
10344
10344
  modelModifiers: { lazy: !0 },
10345
10345
  disabled: !h.isEditable,
10346
10346
  class: "ao-milestone__important",
@@ -10356,7 +10356,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10356
10356
  p("div", V8, [
10357
10357
  p("label", D8, [
10358
10358
  rt(p("input", {
10359
- "onUpdate:modelValue": M[1] || (M[1] = (A) => m.value = A),
10359
+ "onUpdate:modelValue": M[1] || (M[1] = (T) => m.value = T),
10360
10360
  class: "ao-milestone__field ao-milestone__date-field",
10361
10361
  type: "date"
10362
10362
  }, null, 512), [
@@ -10373,7 +10373,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10373
10373
  p("label", H8, [
10374
10374
  L($e, {
10375
10375
  modelValue: _.value,
10376
- "onUpdate:modelValue": M[2] || (M[2] = (A) => _.value = A),
10376
+ "onUpdate:modelValue": M[2] || (M[2] = (T) => _.value = T),
10377
10377
  options: $.value,
10378
10378
  "close-on-select": !0,
10379
10379
  searchable: !0,
@@ -10385,21 +10385,21 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10385
10385
  caret: h.isEditable
10386
10386
  }, {
10387
10387
  tag: q(({
10388
- option: A,
10388
+ option: T,
10389
10389
  handleTagRemove: V
10390
10390
  }) => [
10391
10391
  L(Xe, {
10392
- "user-name": A.label,
10393
- "avatar-url": A.avatar,
10392
+ "user-name": T.label,
10393
+ "avatar-url": T.avatar,
10394
10394
  "is-closable": !0,
10395
- onClose: (I) => V(A, I)
10395
+ onClose: (I) => V(T, I)
10396
10396
  }, null, 8, ["user-name", "avatar-url", "onClose"])
10397
10397
  ]),
10398
10398
  _: 1
10399
10399
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
10400
10400
  ])
10401
10401
  ])
10402
- ])) : T("", !0)
10402
+ ])) : A("", !0)
10403
10403
  ]),
10404
10404
  p("div", B8, [
10405
10405
  L(Q(pt), Ve({
@@ -10409,35 +10409,35 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10409
10409
  "item-key": "id",
10410
10410
  group: "kanban"
10411
10411
  }, h.$attrs, { onChange: c }), {
10412
- item: q(({ element: A }) => {
10412
+ item: q(({ element: T }) => {
10413
10413
  var V, I, Z, U;
10414
10414
  return [
10415
10415
  L(Qn, {
10416
- id: A.id,
10417
- name: A.name || A.id,
10416
+ id: T.id,
10417
+ name: T.name || T.id,
10418
10418
  "phase-name": (V = s.value) == null ? void 0 : V.name,
10419
10419
  "milestone-name": (I = i.value) == null ? void 0 : I.name,
10420
- deadline: A.deadline,
10421
- important: A.important,
10420
+ deadline: T.deadline,
10421
+ important: T.important,
10422
10422
  users: h.users,
10423
- assignee: A.assignee,
10424
- comments: (Z = A.comments) == null ? void 0 : Z.length,
10425
- attachments: (U = A.attachments) == null ? void 0 : U.length,
10426
- tasks: A.tasks,
10423
+ assignee: T.assignee,
10424
+ comments: (Z = T.comments) == null ? void 0 : Z.length,
10425
+ attachments: (U = T.attachments) == null ? void 0 : U.length,
10426
+ tasks: T.tasks,
10427
10427
  "is-editable": h.isEditable,
10428
- "is-private": A.private,
10429
- "is-closed": C(A),
10428
+ "is-private": T.private,
10429
+ "is-closed": C(T),
10430
10430
  onClick: (z) => h.$router.push({
10431
10431
  name: Q(Ue).activity,
10432
- params: { milestoneId: h.milestoneId, activityId: A.id }
10432
+ params: { milestoneId: h.milestoneId, activityId: T.id }
10433
10433
  }),
10434
10434
  onUpdateActivity: d,
10435
- onRemoveAssignee: () => d({ id: A.id, assigneeId: null })
10435
+ onRemoveAssignee: () => d({ id: T.id, assigneeId: null })
10436
10436
  }, Na({ _: 2 }, [
10437
10437
  h.isEditable ? {
10438
10438
  name: "secondary",
10439
10439
  fn: q(() => [
10440
- h.isEditable && A.active ? (v(), R(ue, {
10440
+ h.isEditable && T.active ? (v(), R(ue, {
10441
10441
  key: 0,
10442
10442
  color: "primary",
10443
10443
  variant: "ghost",
@@ -10446,9 +10446,9 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10446
10446
  "icon-position": "start",
10447
10447
  corners: "round",
10448
10448
  label: h.$t("archive"),
10449
- onClick: me(() => h.$emit("archiveActivity", { id: A.id }), ["stop"])
10450
- }, null, 8, ["label", "onClick"])) : T("", !0),
10451
- h.isEditable && !A.active ? (v(), R(ue, {
10449
+ onClick: me(() => h.$emit("archiveActivity", { id: T.id }), ["stop"])
10450
+ }, null, 8, ["label", "onClick"])) : A("", !0),
10451
+ h.isEditable && !T.active ? (v(), R(ue, {
10452
10452
  key: 1,
10453
10453
  color: "primary",
10454
10454
  variant: "ghost",
@@ -10458,10 +10458,10 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10458
10458
  corners: "round",
10459
10459
  label: h.$t("feed.activity.unarchive"),
10460
10460
  onClick: me(
10461
- () => h.$emit("unarchiveActivity", { id: A.id }),
10461
+ () => h.$emit("unarchiveActivity", { id: T.id }),
10462
10462
  ["stop"]
10463
10463
  )
10464
- }, null, 8, ["label", "onClick"])) : T("", !0)
10464
+ }, null, 8, ["label", "onClick"])) : A("", !0)
10465
10465
  ]),
10466
10466
  key: "0"
10467
10467
  } : void 0
@@ -10476,7 +10476,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10476
10476
  label: h.$t("project.activity.add"),
10477
10477
  onClick: u
10478
10478
  }, null, 8, ["label"])
10479
- ])) : T("", !0)
10479
+ ])) : A("", !0)
10480
10480
  ])
10481
10481
  ]);
10482
10482
  };
@@ -10562,11 +10562,11 @@ const N8 = /* @__PURE__ */ J({
10562
10562
  onUpdateComment: $,
10563
10563
  onRemoveComment: _
10564
10564
  }, {
10565
- default: q((A) => [
10566
- te(y.$slots, "default", ua(da(A)))
10565
+ default: q((T) => [
10566
+ te(y.$slots, "default", ua(da(T)))
10567
10567
  ]),
10568
10568
  _: 3
10569
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
10569
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : A("", !0);
10570
10570
  };
10571
10571
  }
10572
10572
  }), j8 = { class: "ao-col-header" }, U8 = /* @__PURE__ */ J({
@@ -10588,7 +10588,7 @@ const N8 = /* @__PURE__ */ J({
10588
10588
  class: "ao-col-header__items",
10589
10589
  variant: "solid",
10590
10590
  color: "primary"
10591
- }, null, 8, ["label"])) : T("", !0)
10591
+ }, null, 8, ["label"])) : A("", !0)
10592
10592
  ]));
10593
10593
  }
10594
10594
  });
@@ -10758,10 +10758,10 @@ const Q8 = {
10758
10758
  title: u.title,
10759
10759
  level: 3,
10760
10760
  items: (c = u.list) == null ? void 0 : c.length
10761
- }, null, 8, ["title", "items"])) : T("", !0)
10761
+ }, null, 8, ["title", "items"])) : A("", !0)
10762
10762
  ])
10763
10763
  ];
10764
- }) : T("", !0),
10764
+ }) : A("", !0),
10765
10765
  L(Q(pt), Ve({
10766
10766
  class: ["ao-list-kanban__list", l.value ? "ao-list-kanban__transition" : void 0],
10767
10767
  list: u.list,
@@ -10802,8 +10802,8 @@ const Q8 = {
10802
10802
  "is-editable": u.isEditable,
10803
10803
  "is-private": c.private,
10804
10804
  onUpdateActivity: [
10805
- d[0] || (d[0] = (A) => u.isEditable && i(A)),
10806
- d[1] || (d[1] = (A) => u.isEditable && i)
10805
+ d[0] || (d[0] = (T) => u.isEditable && i(T)),
10806
+ d[1] || (d[1] = (T) => u.isEditable && i)
10807
10807
  ],
10808
10808
  onClick: () => o(c.id),
10809
10809
  onRemoveAssignee: () => u.isEditable && i({ id: c.id, assigneeId: null })
@@ -10819,7 +10819,7 @@ const Q8 = {
10819
10819
  corners: "round",
10820
10820
  label: u.$t("feed.activity.archive"),
10821
10821
  onClick: me(() => u.$emit("archiveActivity", { id: c.id }), ["stop"])
10822
- }, null, 8, ["label", "onClick"])) : T("", !0),
10822
+ }, null, 8, ["label", "onClick"])) : A("", !0),
10823
10823
  u.isEditable && !c.active ? (v(), R(ue, {
10824
10824
  key: 1,
10825
10825
  color: "primary",
@@ -10830,7 +10830,7 @@ const Q8 = {
10830
10830
  corners: "round",
10831
10831
  label: u.$t("feed.activity.unarchive"),
10832
10832
  onClick: me(() => u.$emit("unarchiveActivity", { id: c.id }), ["stop"])
10833
- }, null, 8, ["label", "onClick"])) : T("", !0)
10833
+ }, null, 8, ["label", "onClick"])) : A("", !0)
10834
10834
  ]),
10835
10835
  _: 2
10836
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"])
@@ -10845,7 +10845,7 @@ const Q8 = {
10845
10845
  ref: s,
10846
10846
  class: "ao-list-kanban__end"
10847
10847
  }, null, 512)) : (v(), g("div", tv, [
10848
- u.noMoreLabel ? (v(), g("span", av, X(u.noMoreLabel), 1)) : u.isEditable ? (v(), g("span", nv)) : T("", !0)
10848
+ u.noMoreLabel ? (v(), g("span", av, X(u.noMoreLabel), 1)) : u.isEditable ? (v(), g("span", nv)) : A("", !0)
10849
10849
  ]))
10850
10850
  ]),
10851
10851
  _: 1
@@ -10857,9 +10857,9 @@ const Q8 = {
10857
10857
  "icon-name": "AddBoxOutlineRounded",
10858
10858
  label: u.footerLabel,
10859
10859
  onClick: d[4] || (d[4] = (c) => u.$emit("add"))
10860
- }, null, 8, ["label"])) : T("", !0)
10860
+ }, null, 8, ["label"])) : A("", !0)
10861
10861
  ])
10862
- ])) : T("", !0)
10862
+ ])) : A("", !0)
10863
10863
  ]));
10864
10864
  }
10865
10865
  });
@@ -10980,7 +10980,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10980
10980
  e("archiveActivity", E);
10981
10981
  }, w = (E) => {
10982
10982
  e("unarchiveActivity", E);
10983
- }, A = (E) => {
10983
+ }, T = (E) => {
10984
10984
  l.value = !1, e("update:searchText", E);
10985
10985
  }, V = (E) => {
10986
10986
  l.value = !1, e("clear:searchText", E);
@@ -11020,15 +11020,15 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11020
11020
  "onUpdate:isLeft": N[0] || (N[0] = (f) => {
11021
11021
  f && E.$router.push({ name: Q(Ue).project });
11022
11022
  })
11023
- }, null, 8, ["right-label", "left-label"])) : T("", !0),
11023
+ }, null, 8, ["right-label", "left-label"])) : A("", !0),
11024
11024
  L(lv, {
11025
11025
  "model-value": E.searchText,
11026
11026
  placeholder: E.$t("feed.search.placeholder"),
11027
11027
  class: "ao-feed__search",
11028
- "onUpdate:modelValue": A,
11028
+ "onUpdate:modelValue": T,
11029
11029
  onClear: V
11030
11030
  }, null, 8, ["model-value", "placeholder"]),
11031
- a.project ? T("", !0) : (v(), R($e, {
11031
+ a.project ? A("", !0) : (v(), R($e, {
11032
11032
  key: 1,
11033
11033
  "model-value": E.filters[Q(Ot).project],
11034
11034
  mode: "tags",
@@ -11049,8 +11049,9 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11049
11049
  class: "ao-feed__filter ao-feed__filter__types",
11050
11050
  placeholder: E.$t("feed.filters.activityType.placeholder"),
11051
11051
  "onUpdate:modelValue": N[2] || (N[2] = (f) => c(Q(Ot).type, f))
11052
- }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
11053
- L($e, {
11052
+ }, null, 8, ["model-value", "options", "placeholder"])) : A("", !0),
11053
+ _.value ? (v(), R($e, {
11054
+ key: 3,
11054
11055
  "model-value": E.filters[Q(Ot).assignee],
11055
11056
  mode: "tags",
11056
11057
  options: _.value,
@@ -11072,7 +11073,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11072
11073
  }, null, 8, ["user-name", "avatar-url", "onClose"])
11073
11074
  ]),
11074
11075
  _: 1
11075
- }, 8, ["model-value", "options", "placeholder"])
11076
+ }, 8, ["model-value", "options", "placeholder"])) : A("", !0)
11076
11077
  ]),
11077
11078
  L(ue, {
11078
11079
  class: "ao-feed__only-important",
@@ -11147,7 +11148,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11147
11148
  te(E.$slots, "activityDetailsBody", ua(da(f)))
11148
11149
  ]),
11149
11150
  _: 3
11150
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : T("", !0)
11151
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : A("", !0)
11151
11152
  ]))
11152
11153
  ]);
11153
11154
  };