@26lights/orcha 0.34.24 → 0.34.26

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 z, 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({
@@ -1164,7 +1164,7 @@ const hn = {
1164
1164
  setup(t) {
1165
1165
  const e = t, a = k(() => f2[e.name]);
1166
1166
  return (n, s) => (v(), R(vt(a.value), {
1167
- class: Y(["ao-icon", `ao-icon--${n.size}`])
1167
+ class: z(["ao-icon", `ao-icon--${n.size}`])
1168
1168
  }, null, 8, ["class"]));
1169
1169
  }
1170
1170
  });
@@ -1189,7 +1189,7 @@ const m2 = ["type"], h2 = {
1189
1189
  const e = t, a = k(() => e.size), n = k(() => e.isLoading ? "Loading" : e.iconName);
1190
1190
  return (s, o) => (v(), g("button", {
1191
1191
  type: s.type,
1192
- class: Y([
1192
+ class: z([
1193
1193
  "ao-button",
1194
1194
  `ao-button--${s.variant}`,
1195
1195
  s.color ? `ao-button--${s.color}` : "",
@@ -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
  });
@@ -1342,7 +1342,7 @@ const C2 = {
1342
1342
  e("update:title", n);
1343
1343
  };
1344
1344
  return (n, s) => (v(), R(vt(n.tagName), {
1345
- class: Y(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1345
+ class: z(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1346
1346
  }, {
1347
1347
  default: q(() => [
1348
1348
  n.isDraggable ? (v(), g("div", C2, [
@@ -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"]));
@@ -1406,7 +1406,7 @@ const _1 = /* @__PURE__ */ J({
1406
1406
  () => a.value === "button" ? { type: "button" } : {}
1407
1407
  );
1408
1408
  return (s, o) => (v(), g("div", {
1409
- class: Y([
1409
+ class: z([
1410
1410
  "ao-tag",
1411
1411
  s.color ? `ao-tag--${s.color}` : "",
1412
1412
  s.clickable ? "ao-tag--clickable" : "",
@@ -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,13 +2722,13 @@ 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);
2731
- if (!(z >= 0 && z <= 6))
2730
+ var Y = 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
+ if (!(Y >= 0 && Y <= 6))
2732
2732
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2733
2733
  if (!Z.localize)
2734
2734
  throw new RangeError("locale must contain localize property");
@@ -2739,7 +2739,7 @@ function An(t, e, a) {
2739
2739
  throw new RangeError("Invalid time value");
2740
2740
  var W = sa(S), H = f1(S, W), F = {
2741
2741
  firstWeekContainsDate: U,
2742
- weekStartsOn: z,
2742
+ weekStartsOn: Y,
2743
2743
  locale: Z,
2744
2744
  _originalDate: S
2745
2745
  }, E = V.match(N0).map(function(N) {
@@ -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
  });
@@ -3714,15 +3714,15 @@ const Vn = (t) => {
3714
3714
  };
3715
3715
  return (i, r) => (v(), g("div", {
3716
3716
  role: "img",
3717
- class: Y(n.value),
3717
+ class: z(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
  });
@@ -3878,7 +3878,7 @@ const q3 = ["type"], W3 = {
3878
3878
  const e = t, a = k(() => e.size), n = k(() => e.isLoading ? "Loading" : e.iconName);
3879
3879
  return (s, o) => (v(), g("button", {
3880
3880
  type: s.type,
3881
- class: Y([
3881
+ class: z([
3882
3882
  "ao-button-card",
3883
3883
  `ao-button-card--${s.color}`,
3884
3884
  `ao-button-card--${s.corners}`,
@@ -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,
@@ -4159,7 +4159,7 @@ const K3 = /* @__PURE__ */ J({
4159
4159
  emits: ["close"],
4160
4160
  setup(t) {
4161
4161
  return (e, a) => (v(), g("div", {
4162
- class: Y(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4162
+ class: z(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4163
4163
  }, [
4164
4164
  p("div", {
4165
4165
  class: "ao-modal__backdrop",
@@ -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);
@@ -4473,8 +4473,8 @@ const _5 = function(t) {
4473
4473
  placement: s,
4474
4474
  overflows: Z
4475
4475
  }], !Z.every((H) => H <= 0)) {
4476
- var z, S;
4477
- const H = (((z = o.flip) == null ? void 0 : z.index) || 0) + 1, F = V[H];
4476
+ var Y, S;
4477
+ const H = (((Y = o.flip) == null ? void 0 : Y.index) || 0) + 1, F = V[H];
4478
4478
  if (F)
4479
4479
  return {
4480
4480
  data: {
@@ -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
- 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));
4541
+ const I = Oe(l.left, 0), Z = Oe(l.right, 0), U = Oe(l.top, 0), Y = Oe(l.bottom, 0);
4542
+ c ? T = m - 2 * (I !== 0 || Z !== 0 ? I + Z : Oe(l.left, l.right)) : w = C - 2 * (U !== 0 || Y !== 0 ? U + Y : 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,12 +5141,12 @@ 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,
5148
5148
  groupLabel: U,
5149
- canDeselect: z,
5149
+ canDeselect: Y,
5150
5150
  max: S,
5151
5151
  strict: W,
5152
5152
  closeOnSelect: H,
@@ -5290,7 +5290,7 @@ function Y5(t, e, a) {
5290
5290
  switch (b.__CREATE__ && (b = { ...b }, delete b.__CREATE__), s.value) {
5291
5291
  case "single":
5292
5292
  if (b && ze(b)) {
5293
- z.value && Et(b), F.value && (tt(), at());
5293
+ Y.value && Et(b), F.value && (tt(), at());
5294
5294
  return;
5295
5295
  }
5296
5296
  b && n1(b), V.value && fe(), H.value && (tt(), at()), b && St(b);
@@ -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,15 +5472,15 @@ 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(() => {
5476
- const D = z.value ? h.value : (
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), Y = k(() => h.value && h.value.group), S = k(() => re(h.value)), W = k(() => {
5476
+ const D = Y.value ? h.value : (
5477
5477
  /* istanbul ignore next */
5478
5478
  re(h.value)
5479
5479
  ), K = Z.value.map((we) => we[i.value]).indexOf(D[i.value]);
5480
5480
  let fe = Z.value[K - 1];
5481
5481
  return fe === void 0 && (fe = F.value), fe;
5482
5482
  }), H = k(() => {
5483
- let D = Z.value.map((K) => K.label).indexOf(z.value ? h.value[i.value] : re(h.value)[i.value]) + 1;
5483
+ let D = Z.value.map((K) => K.label).indexOf(Y.value ? h.value[i.value] : re(h.value)[i.value]) + 1;
5484
5484
  return Z.value.length <= D && (D = 0), Z.value[D];
5485
5485
  }), F = k(() => [...Z.value].slice(-1)[0]), E = k(() => h.value.__VISIBLE__.filter((D) => !D[d.value])[0]), N = k(() => {
5486
5486
  const D = S.value.__VISIBLE__.filter((K) => !K[d.value]);
@@ -5491,12 +5491,12 @@ function x5(t, e, a) {
5491
5491
  }), f = k(() => [...W.value.__VISIBLE__.filter((D) => !D[d.value])].slice(-1)[0]), O = k(() => [...F.value.__VISIBLE__.filter((D) => !D[d.value])].slice(-1)[0]), B = (D) => h.value && (!D.group && h.value[n.value] === D[n.value] || D.group !== void 0 && h.value[i.value] === D[i.value]) ? !0 : void 0, se = () => {
5492
5492
  M(I.value[0] || null);
5493
5493
  }, ae = () => {
5494
- !h.value || h.value[d.value] === !0 || (z.value ? _(h.value) : $(h.value));
5494
+ !h.value || h.value[d.value] === !0 || (Y.value ? _(h.value) : $(h.value));
5495
5495
  }, ee = () => {
5496
5496
  if (h.value === null)
5497
5497
  M((r.value && U.value ? Z.value[0].__CREATE__ ? I.value[0] : Z.value[0] : I.value[0]) || null);
5498
5498
  else if (r.value && U.value) {
5499
- let D = z.value ? E.value : x.value;
5499
+ let D = Y.value ? E.value : x.value;
5500
5500
  D === void 0 && (D = H.value, D.__CREATE__ && (D = D[c.value][0])), M(D || /* istanbul ignore next */
5501
5501
  null);
5502
5502
  } else {
@@ -5511,8 +5511,8 @@ function x5(t, e, a) {
5511
5511
  let D = I.value[I.value.length - 1];
5512
5512
  r.value && U.value && (D = O.value, D === void 0 && (D = F.value)), M(D || null);
5513
5513
  } else if (r.value && U.value) {
5514
- let D = z.value ? f.value : N.value;
5515
- D === void 0 && (D = z.value ? W.value : S.value, D.__CREATE__ && (D = f.value, D === void 0 && (D = W.value))), M(D || /* istanbul ignore next */
5514
+ let D = Y.value ? f.value : N.value;
5515
+ D === void 0 && (D = Y.value ? W.value : S.value, D.__CREATE__ && (D = f.value, D === void 0 && (D = W.value))), M(D || /* istanbul ignore next */
5516
5516
  null);
5517
5517
  } else {
5518
5518
  let D = I.value.map((K) => K[n.value]).indexOf(h.value[n.value]) - 1;
@@ -5522,17 +5522,17 @@ 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;
5529
- r.value && (K = z.value ? D.parentElement.parentElement.parentElement : D.parentElement.parentElement.parentElement.parentElement), D.offsetTop + D.offsetHeight > K.clientHeight + K.scrollTop && (K.scrollTop = D.offsetTop + D.offsetHeight - K.clientHeight), D.offsetTop < K.scrollTop && (K.scrollTop = D.offsetTop);
5529
+ r.value && (K = Y.value ? D.parentElement.parentElement.parentElement : D.parentElement.parentElement.parentElement.parentElement), D.offsetTop + D.offsetHeight > K.clientHeight + K.scrollTop && (K.scrollTop = D.offsetTop + D.offsetHeight - K.clientHeight), D.offsetTop < K.scrollTop && (K.scrollTop = D.offsetTop);
5530
5530
  };
5531
5531
  return de(y, (D) => {
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,16 +5909,16 @@ 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",
5916
5916
  placement: s
5917
- }), U = m1(Object.assign({}, w, Z)), z = m === ta ? U : I, S = {
5918
- top: V.top - z.top + h.top,
5919
- bottom: z.bottom - V.bottom + h.bottom,
5920
- left: V.left - z.left + h.left,
5921
- right: z.right - V.right + h.right
5917
+ }), U = m1(Object.assign({}, w, Z)), Y = m === ta ? U : I, S = {
5918
+ top: V.top - Y.top + h.top,
5919
+ bottom: Y.bottom - V.bottom + h.bottom,
5920
+ left: V.left - Y.left + h.left,
5921
+ right: Y.right - V.right + h.right
5922
5922
  }, W = t.modifiersData.offset;
5923
5923
  if (m === ta && W) {
5924
5924
  var H = W[s];
@@ -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,16 +5985,16 @@ 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, Y = V.name;
5994
5994
  typeof I == "function" && (d = I({
5995
5995
  state: d,
5996
5996
  options: U,
5997
- name: z,
5997
+ name: Y,
5998
5998
  instance: C
5999
5999
  }) || d);
6000
6000
  }
@@ -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,16 +6099,16 @@ 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;
6107
- var z = c && I === V && V.visualViewport ? V.visualViewport.height : (
6106
+ T = qe;
6107
+ var Y = c && I === V && V.visualViewport ? V.visualViewport.height : (
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  I[Z]
6110
6110
  );
6111
- _ -= z - n.height, _ *= l ? 1 : -1;
6111
+ _ -= Y - n.height, _ *= l ? 1 : -1;
6112
6112
  }
6113
6113
  if (s === xe || (s === Re || s === qe) && o === la) {
6114
6114
  w = ft;
@@ -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,28 +6224,28 @@ 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, Y = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6228
6228
  placement: e.placement
6229
- })) : _, S = typeof z == "number" ? {
6230
- mainAxis: z,
6231
- altAxis: z
6229
+ })) : _, S = typeof Y == "number" ? {
6230
+ mainAxis: Y,
6231
+ altAxis: Y
6232
6232
  } : Object.assign({
6233
6233
  mainAxis: 0,
6234
6234
  altAxis: 0
6235
- }, z), W = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, H = {
6235
+ }, Y), W = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, H = {
6236
6236
  x: 0,
6237
6237
  y: 0
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, Y = 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,
@@ -6328,14 +6328,14 @@ function x7(t) {
6328
6328
  if (o && B.push(x[H] <= 0), r && B.push(x[f] <= 0, x[O] <= 0), B.every(function(re) {
6329
6329
  return re;
6330
6330
  })) {
6331
- z = W, U = !1;
6331
+ Y = W, U = !1;
6332
6332
  break;
6333
6333
  }
6334
6334
  Z.set(W, B);
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) {
@@ -6343,13 +6343,13 @@ function x7(t) {
6343
6343
  });
6344
6344
  });
6345
6345
  if (D)
6346
- return z = D, "break";
6346
+ return Y = D, "break";
6347
6347
  }, ee = se; ee > 0; ee--) {
6348
6348
  var Ce = ae(ee);
6349
6349
  if (Ce === "break")
6350
6350
  break;
6351
6351
  }
6352
- e.placement !== z && (e.modifiersData[n]._skip = !0, e.placement = z, e.reset = !0);
6352
+ e.placement !== Y && (e.modifiersData[n]._skip = !0, e.placement = Y, e.reset = !0);
6353
6353
  }
6354
6354
  }
6355
6355
  var G7 = {
@@ -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,14 +6487,14 @@ 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, Y = 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 {
6494
6494
  handleKeydown: (B) => {
6495
6495
  e.emit("keydown", B, $);
6496
6496
  let se, ae;
6497
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(B.key) !== -1 && n.value === "tags" && (se = [...Z.value.querySelectorAll("[data-tags] > *")].filter((ee) => ee !== z.value), ae = se.findIndex((ee) => ee === document.activeElement)), B.key) {
6497
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(B.key) !== -1 && n.value === "tags" && (se = [...Z.value.querySelectorAll("[data-tags] > *")].filter((ee) => ee !== Y.value), ae = se.findIndex((ee) => ee === document.activeElement)), B.key) {
6498
6498
  case "Backspace":
6499
6499
  if (n.value === "single" || i.value && [null, ""].indexOf(M.value) === -1 || _.value.length === 0)
6500
6500
  return;
@@ -6505,30 +6505,30 @@ function Q7(t, e, a) {
6505
6505
  if (B.preventDefault(), B.keyCode === 229)
6506
6506
  return;
6507
6507
  if (ae !== -1 && ae !== void 0) {
6508
- y([..._.value].filter((Ce, re) => re !== ae)), ae === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : U.value.focus());
6508
+ y([..._.value].filter((Ce, re) => re !== ae)), ae === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? Y.value.querySelector("input").focus() : U.value.focus());
6509
6509
  return;
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();
@@ -6544,14 +6544,14 @@ function Q7(t, e, a) {
6544
6544
  S.value || W(), I();
6545
6545
  break;
6546
6546
  case "ArrowLeft":
6547
- if (i.value && z.value && z.value.querySelector("input").selectionStart || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
6547
+ if (i.value && Y.value && Y.value.querySelector("input").selectionStart || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
6548
6548
  return;
6549
6549
  B.preventDefault(), ae === -1 ? se[se.length - 1].focus() : ae > 0 && se[ae - 1].focus();
6550
6550
  break;
6551
6551
  case "ArrowRight":
6552
6552
  if (ae === -1 || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
6553
6553
  return;
6554
- B.preventDefault(), se.length > ae + 1 ? se[ae + 1].focus() : i.value ? z.value.querySelector("input").focus() : i.value || U.value.focus();
6554
+ B.preventDefault(), se.length > ae + 1 ? se[ae + 1].focus() : i.value ? Y.value.querySelector("input").focus() : i.value || U.value.focus();
6555
6555
  break;
6556
6556
  }
6557
6557
  },
@@ -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(() => {
@@ -6731,7 +6731,7 @@ function t9(t, e, a) {
6731
6731
  }, U = (H) => {
6732
6732
  let F = [];
6733
6733
  return s && s.value && F.push(s.value), F.push("multiselect-group"), F.push(H.index), F.join("-");
6734
- }, z = (H) => {
6734
+ }, Y = (H) => {
6735
6735
  let F = [];
6736
6736
  return F.push(H), F.join(" ");
6737
6737
  }, S = (H) => {
@@ -6749,10 +6749,10 @@ 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
- ariaOptionLabel: z,
6755
+ ariaOptionLabel: Y,
6756
6756
  ariaGroupId: U,
6757
6757
  ariaGroupLabel: S,
6758
6758
  ariaTagLabel: W
@@ -7170,7 +7170,7 @@ const i9 = ["id", "dir"], o9 = ["tabindex", "aria-controls", "aria-placeholder",
7170
7170
  function A9(t, e, a, n, s, o) {
7171
7171
  return v(), g("div", {
7172
7172
  ref: "multiselect",
7173
- class: Y(t.classList.container),
7173
+ class: z(t.classList.container),
7174
7174
  id: a.searchable ? void 0 : a.id,
7175
7175
  dir: a.rtl ? "rtl" : void 0,
7176
7176
  onFocusin: e[10] || (e[10] = (...i) => t.handleFocusIn && t.handleFocusIn(...i)),
@@ -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,13 +7212,13 @@ 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
  {
7220
7220
  key: 1,
7221
- class: Y(t.classList.tags),
7221
+ class: z(t.classList.tags),
7222
7222
  "data-tags": ""
7223
7223
  },
7224
7224
  [
@@ -7231,7 +7231,7 @@ function A9(t, e, a, n, s, o) {
7231
7231
  disabled: a.disabled
7232
7232
  }, () => [
7233
7233
  (v(), g("span", {
7234
- class: Y([
7234
+ class: z([
7235
7235
  t.classList.tag,
7236
7236
  i.disabled ? t.classList.tagDisabled : null
7237
7237
  ]),
@@ -7243,7 +7243,7 @@ function A9(t, e, a, n, s, o) {
7243
7243
  p(
7244
7244
  "span",
7245
7245
  {
7246
- class: Y(t.classList.tagWrapper)
7246
+ class: z(t.classList.tagWrapper)
7247
7247
  },
7248
7248
  X(t.localize(i[a.label])),
7249
7249
  3
@@ -7251,19 +7251,19 @@ function A9(t, e, a, n, s, o) {
7251
7251
  ),
7252
7252
  !a.disabled && !i.disabled ? (v(), g("span", {
7253
7253
  key: 0,
7254
- class: Y(t.classList.tagRemove),
7254
+ class: z(t.classList.tagRemove),
7255
7255
  onClick: me((u) => t.handleTagRemove(i, u), ["stop"])
7256
7256
  }, [
7257
7257
  p(
7258
7258
  "span",
7259
7259
  {
7260
- class: Y(t.classList.tagRemoveIcon)
7260
+ class: z(t.classList.tagRemoveIcon)
7261
7261
  },
7262
7262
  null,
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
@@ -7272,21 +7272,21 @@ function A9(t, e, a, n, s, o) {
7272
7272
  p(
7273
7273
  "div",
7274
7274
  {
7275
- class: Y(t.classList.tagsSearchWrapper),
7275
+ class: z(t.classList.tagsSearchWrapper),
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
  {
7283
- class: Y(t.classList.tagsSearchCopy)
7283
+ class: z(t.classList.tagsSearchCopy)
7284
7284
  },
7285
7285
  X(t.search),
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
@@ -7325,13 +7325,13 @@ function A9(t, e, a, n, s, o) {
7325
7325
  p(
7326
7326
  "div",
7327
7327
  {
7328
- class: Y(t.classList.singleLabel)
7328
+ class: z(t.classList.singleLabel)
7329
7329
  },
7330
7330
  [
7331
7331
  p(
7332
7332
  "span",
7333
7333
  {
7334
- class: Y(t.classList.singleLabelText)
7334
+ class: z(t.classList.singleLabelText)
7335
7335
  },
7336
7336
  X(t.localize(t.iv[a.label])),
7337
7337
  3
@@ -7341,44 +7341,44 @@ 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
7349
7349
  }, () => [
7350
7350
  p("div", {
7351
- class: Y(t.classList.multipleLabel),
7351
+ class: z(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",
7359
7359
  {
7360
- class: Y(t.classList.placeholder),
7360
+ class: z(t.classList.placeholder),
7361
7361
  "aria-hidden": "true"
7362
7362
  },
7363
7363
  X(a.placeholder),
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",
7372
7372
  {
7373
- class: Y(t.classList.spinner),
7373
+ class: z(t.classList.spinner),
7374
7374
  "aria-hidden": "true"
7375
7375
  },
7376
7376
  null,
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
@@ -7391,7 +7391,7 @@ function A9(t, e, a, n, s, o) {
7391
7391
  role: "button",
7392
7392
  "data-clear": "",
7393
7393
  "aria-roledescription": "❎",
7394
- class: Y(t.classList.clear),
7394
+ class: z(t.classList.clear),
7395
7395
  onClick: e[6] || (e[6] = (...i) => t.clear && t.clear(...i)),
7396
7396
  onKeyup: e[7] || (e[7] = ut((...i) => t.clear && t.clear(...i), ["enter"]))
7397
7397
  },
@@ -7399,7 +7399,7 @@ function A9(t, e, a, n, s, o) {
7399
7399
  p(
7400
7400
  "span",
7401
7401
  {
7402
- class: Y(t.classList.clearIcon)
7402
+ class: z(t.classList.clearIcon)
7403
7403
  },
7404
7404
  null,
7405
7405
  2
@@ -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,
@@ -7419,7 +7419,7 @@ function A9(t, e, a, n, s, o) {
7419
7419
  p(
7420
7420
  "span",
7421
7421
  {
7422
- class: Y(t.classList.caret),
7422
+ class: z(t.classList.caret),
7423
7423
  onClick: e[8] || (e[8] = (...i) => t.handleCaretClick && t.handleCaretClick(...i)),
7424
7424
  "aria-hidden": "true"
7425
7425
  },
@@ -7427,22 +7427,22 @@ 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
7436
7436
  }, [
7437
7437
  p("div", {
7438
7438
  id: `${a.id}-dropdown`,
7439
- class: Y(t.classList.dropdown),
7439
+ class: z(t.classList.dropdown),
7440
7440
  tabindex: "-1",
7441
7441
  ref: "dropdown"
7442
7442
  }, [
7443
7443
  te(t.$slots, "beforelist", { options: t.fo }),
7444
7444
  p("ul", {
7445
- class: Y(t.classList.options),
7445
+ class: z(t.classList.options),
7446
7446
  id: t.ariaControls,
7447
7447
  role: "listbox"
7448
7448
  }, [
@@ -7450,16 +7450,16 @@ function A9(t, e, a, n, s, o) {
7450
7450
  he,
7451
7451
  { key: 0 },
7452
7452
  ye(t.fg, (i, r, l) => (v(), g("li", {
7453
- class: Y(t.classList.group),
7453
+ class: z(t.classList.group),
7454
7454
  key: l,
7455
7455
  id: t.ariaGroupId(i),
7456
7456
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
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
- class: Y(t.classList.groupLabel(i)),
7462
+ class: z(t.classList.groupLabel(i)),
7463
7463
  "data-pointed": t.isPointed(i),
7464
7464
  onMouseenter: (u) => t.setPointer(i, r),
7465
7465
  onMousedown: me((u) => t.handleGroupClick(i), ["prevent"])
@@ -7475,7 +7475,7 @@ function A9(t, e, a, n, s, o) {
7475
7475
  ])
7476
7476
  ], 42, m9)),
7477
7477
  p("ul", {
7478
- class: Y(t.classList.groupOptions),
7478
+ class: z(t.classList.groupOptions),
7479
7479
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
7480
7480
  role: "group"
7481
7481
  }, [
@@ -7483,7 +7483,7 @@ function A9(t, e, a, n, s, o) {
7483
7483
  he,
7484
7484
  null,
7485
7485
  ye(i.__VISIBLE__, (u, d, c) => (v(), g("li", {
7486
- class: Y(t.classList.option(u, i)),
7486
+ class: z(t.classList.option(u, i)),
7487
7487
  "data-pointed": t.isPointed(u),
7488
7488
  "data-selected": t.isSelected(u) || void 0,
7489
7489
  key: c,
@@ -7520,7 +7520,7 @@ function A9(t, e, a, n, s, o) {
7520
7520
  he,
7521
7521
  { key: 1 },
7522
7522
  ye(t.fo, (i, r, l) => (v(), g("li", {
7523
- class: Y(t.classList.option(i)),
7523
+ class: z(t.classList.option(i)),
7524
7524
  "data-pointed": t.isPointed(i),
7525
7525
  "data-selected": t.isSelected(i) || void 0,
7526
7526
  key: l,
@@ -7552,21 +7552,21 @@ function A9(t, e, a, n, s, o) {
7552
7552
  ], 10, v9),
7553
7553
  t.noOptions ? te(t.$slots, "nooptions", { key: 0 }, () => [
7554
7554
  p("div", {
7555
- class: Y(t.classList.noOptions),
7555
+ class: z(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
- class: Y(t.classList.noResults),
7561
+ class: z(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
  {
7568
7568
  key: 2,
7569
- class: Y(t.classList.inifinite),
7569
+ class: z(t.classList.inifinite),
7570
7570
  ref: "infiniteLoader"
7571
7571
  },
7572
7572
  [
@@ -7574,7 +7574,7 @@ function A9(t, e, a, n, s, o) {
7574
7574
  p(
7575
7575
  "span",
7576
7576
  {
7577
- class: Y(t.classList.inifiniteSpinner)
7577
+ class: z(t.classList.inifiniteSpinner)
7578
7578
  },
7579
7579
  null,
7580
7580
  2
@@ -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
- class: Y(t.classList.fakeInput),
7594
+ class: z(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,19 +7621,19 @@ 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
- class: Y(t.classList.assist),
7628
+ class: z(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
  {
7636
- class: Y(t.classList.spacer)
7636
+ class: z(t.classList.spacer)
7637
7637
  },
7638
7638
  null,
7639
7639
  2
@@ -7788,12 +7788,12 @@ 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,
7795
7795
  readonly: !c.isEditable,
7796
- class: Y(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": C.isDone }]),
7796
+ class: z(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": C.isDone }]),
7797
7797
  type: "text",
7798
7798
  onChange: (y) => i(y, C.id),
7799
7799
  onKeyup: ut(d, ["enter"])
@@ -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
  }
@@ -7894,7 +7894,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
7894
7894
  d.dataTransfer && e("add", c);
7895
7895
  }
7896
7896
  return (d, c) => (v(), g("div", {
7897
- class: Y([
7897
+ class: z([
7898
7898
  "ao-files__wrapper",
7899
7899
  {
7900
7900
  "ao-files__wrapper--drop-active": i.value
@@ -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
  }
@@ -8215,7 +8215,7 @@ const h1 = /* @__PURE__ */ J({
8215
8215
  userId: {},
8216
8216
  isTaskCheckable: { type: Function },
8217
8217
  statuses: {},
8218
- isEditable: { type: Boolean },
8218
+ isEditable: { type: [Boolean, String] },
8219
8219
  attachmentEnabled: { type: Boolean },
8220
8220
  projects: {}
8221
8221
  },
@@ -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] : [];
@@ -8362,7 +8362,7 @@ const h1 = /* @__PURE__ */ J({
8362
8362
  value: ae.id,
8363
8363
  label: ae.name
8364
8364
  }));
8365
- }), z = (f) => {
8365
+ }), Y = (f) => {
8366
8366
  a.activity && e("update:activity", {
8367
8367
  id: a.activity.id,
8368
8368
  projectId: f
@@ -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,
@@ -8421,9 +8421,9 @@ const h1 = /* @__PURE__ */ J({
8421
8421
  searchable: !0,
8422
8422
  disabled: !f.isEditable,
8423
8423
  caret: f.isEditable,
8424
- onChange: z
8424
+ onChange: Y
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;
@@ -9090,7 +9090,7 @@ const rf = {
9090
9090
  });
9091
9091
  }, Z = ne(!1), U = () => {
9092
9092
  Z.value = !Z.value;
9093
- }, z = () => {
9093
+ }, Y = () => {
9094
9094
  e("addRule", { templateId: a.templateId });
9095
9095
  }, S = (f) => {
9096
9096
  e("removeRule", { id: f, templateId: a.templateId });
@@ -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, {
@@ -9268,11 +9268,11 @@ const rf = {
9268
9268
  "template-milestones": l.value,
9269
9269
  "template-activities": u.value,
9270
9270
  onClose: U,
9271
- onAddRule: z,
9271
+ onAddRule: Y,
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
  });
@@ -9291,7 +9291,7 @@ const mf = {
9291
9291
  },
9292
9292
  setup(t) {
9293
9293
  return (e, a) => (v(), R(vt(e.tagName), {
9294
- class: Y([
9294
+ class: z([
9295
9295
  "ao-card",
9296
9296
  {
9297
9297
  "ao-card--clickable": e.isClickable,
@@ -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"]));
@@ -9323,12 +9323,12 @@ const R1 = /* @__PURE__ */ J({
9323
9323
  setup(t) {
9324
9324
  const e = t, a = k(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
9325
9325
  return (n, s) => (v(), g("div", {
9326
- class: Y(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
9326
+ class: z(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
9327
9327
  role: "meter"
9328
9328
  }, [
9329
9329
  (v(!0), g(he, null, ye(a.value, (o) => (v(), g("div", {
9330
9330
  key: o,
9331
- class: Y(["ao-progress__progress"]),
9331
+ class: z(["ao-progress__progress"]),
9332
9332
  style: vn({ width: `${o * 100}%` })
9333
9333
  }, null, 4))), 128))
9334
9334
  ], 2));
@@ -9394,10 +9394,10 @@ 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
- class: Y(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9400
+ class: z(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9401
9401
  }, [
9402
9402
  l.isEditable ? rt((v(), g("input", {
9403
9403
  key: 0,
@@ -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
  ])
@@ -9480,7 +9480,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9480
9480
  e("updateMilestone", { id: a.id, name: r });
9481
9481
  };
9482
9482
  return (r, l) => (v(), R(B1, {
9483
- class: Y([
9483
+ class: z([
9484
9484
  "ao-card-project-milestone",
9485
9485
  { "ao-card-project-milestone--selected": r.isSelected }
9486
9486
  ]),
@@ -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
  ]),
@@ -9537,14 +9537,14 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9537
9537
  r.important ? (v(), R(ce, {
9538
9538
  key: 0,
9539
9539
  name: "FlagRounded",
9540
- class: Y(
9540
+ class: z(
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
@@ -9614,7 +9614,7 @@ const Rf = {
9614
9614
  return (m, C) => {
9615
9615
  var $;
9616
9616
  return v(), g("li", {
9617
- class: Y([
9617
+ class: z([
9618
9618
  "ao-project-phase",
9619
9619
  { "ao-project-phase--selected": m.phase.id === (($ = m.$route.params) == null ? void 0 : $.phaseId) }
9620
9620
  ])
@@ -9624,7 +9624,7 @@ const Rf = {
9624
9624
  name: "DragIndicator",
9625
9625
  class: "ao-project-phase__drag-handle"
9626
9626
  })
9627
- ])) : T("", !0),
9627
+ ])) : A("", !0),
9628
9628
  p("div", Nf, [
9629
9629
  L(Mf, {
9630
9630
  id: m.phase.id,
@@ -9661,7 +9661,7 @@ const Rf = {
9661
9661
  assignee: _.assignee,
9662
9662
  important: _.important,
9663
9663
  readonly: m.readonly,
9664
- class: Y(["ao-project-phase__milestone"]),
9664
+ class: z(["ao-project-phase__milestone"]),
9665
9665
  onClick: (h) => !m.readonly && m.$router.push({
9666
9666
  name: Q(Ue).milestone,
9667
9667
  params: { phaseId: m.phase.id, milestoneId: _.id }
@@ -9680,7 +9680,7 @@ const Rf = {
9680
9680
  class: "ao-project-phase__milestone-add",
9681
9681
  "icon-name": "Add",
9682
9682
  onClick: C[0] || (C[0] = () => r(m.phase.id))
9683
- }, null, 8, ["label"])) : T("", !0)
9683
+ }, null, 8, ["label"])) : A("", !0)
9684
9684
  ])
9685
9685
  ])
9686
9686
  ])
@@ -9762,7 +9762,7 @@ const qf = { class: "ao-project__phases" }, Wf = {
9762
9762
  }, null, 8, ["label"])
9763
9763
  ]),
9764
9764
  xf
9765
- ])) : T("", !0)
9765
+ ])) : A("", !0)
9766
9766
  ]));
9767
9767
  }
9768
9768
  });
@@ -9852,7 +9852,7 @@ const a8 = { class: "toggle-wrapper" };
9852
9852
  function n8(t, e, a, n, s, o) {
9853
9853
  return v(), g("div", a8, [
9854
9854
  p("button", {
9855
- class: Y({
9855
+ class: z({
9856
9856
  button: !0,
9857
9857
  "button--left": !0,
9858
9858
  "button--inactive": !t.isLeft
@@ -9861,7 +9861,7 @@ function n8(t, e, a, n, s, o) {
9861
9861
  onClick: e[0] || (e[0] = (...i) => t.selectLeft && t.selectLeft(...i))
9862
9862
  }, X(t.leftLabel), 3),
9863
9863
  p("button", {
9864
- class: Y({
9864
+ class: z({
9865
9865
  button: !0,
9866
9866
  "button--right": !0,
9867
9867
  "button--inactive": t.isLeft
@@ -9922,7 +9922,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9922
9922
  () => s.value.flatMap((S) => S.activities)
9923
9923
  ), w = (S) => {
9924
9924
  e("addFiles", S);
9925
- }, A = (S) => {
9925
+ }, T = (S) => {
9926
9926
  e("removeFile", S);
9927
9927
  }, V = (S) => {
9928
9928
  e("addComment", S);
@@ -9930,7 +9930,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9930
9930
  e("updateComment", S);
9931
9931
  }, Z = (S) => {
9932
9932
  e("removeComment", S);
9933
- }, U = ne(!1), z = (S, W) => {
9933
+ }, U = ne(!1), Y = (S, W) => {
9934
9934
  e("applyTemplate", { templateId: S, projectId: W }), U.value = !1;
9935
9935
  };
9936
9936
  return (S, W) => {
@@ -9968,7 +9968,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9968
9968
  color: "primary",
9969
9969
  label: S.$t("project.template.add.label"),
9970
9970
  onClick: W[2] || (W[2] = (F) => U.value = !0)
9971
- }, null, 8, ["label"])) : T("", !0)
9971
+ }, null, 8, ["label"])) : A("", !0)
9972
9972
  ]),
9973
9973
  _: 1
9974
9974
  }),
@@ -10020,7 +10020,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10020
10020
  onUpdateSubtask: y,
10021
10021
  onDeleteSubtask: h,
10022
10022
  onAddFiles: w,
10023
- onRemoveFile: A,
10023
+ onRemoveFile: T,
10024
10024
  onAddComment: V,
10025
10025
  onUpdateComment: I,
10026
10026
  onRemoveComment: Z
@@ -10043,8 +10043,8 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10043
10043
  "project-id": S.project.id,
10044
10044
  templates: S.templates,
10045
10045
  onClose: W[4] || (W[4] = (F) => U.value = !1),
10046
- onApply: z
10047
- }, null, 8, ["project-id", "templates"])) : T("", !0)
10046
+ onApply: Y
10047
+ }, null, 8, ["project-id", "templates"])) : A("", !0)
10048
10048
  ]))
10049
10049
  ], 64);
10050
10050
  };
@@ -10060,7 +10060,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10060
10060
  key: 0,
10061
10061
  class: "ao-card-feed__breadcrumbs"
10062
10062
  }, f8 = {
10063
- class: /* @__PURE__ */ Y(["ao-card-feed__title-group"])
10063
+ class: /* @__PURE__ */ z(["ao-card-feed__title-group"])
10064
10064
  }, v8 = {
10065
10065
  key: 1,
10066
10066
  class: "ao-card-feed__deadline"
@@ -10115,7 +10115,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10115
10115
  return (c = a.tasks) == null ? void 0 : c.filter((m) => m.isDone).length;
10116
10116
  }), d = k(() => (u.value || 0) / (l.value || 1));
10117
10117
  return (c, m) => (v(), R(B1, {
10118
- class: Y(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
10118
+ class: z(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
10119
10119
  "is-clickable": !0
10120
10120
  }, {
10121
10121
  header: q(() => [
@@ -10127,34 +10127,34 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10127
10127
  variant: "solid",
10128
10128
  color: c.projectColor ? void 0 : "primary",
10129
10129
  "raw-color": c.projectColor
10130
- }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10130
+ }, null, 8, ["label", "color", "raw-color"])) : A("", !0),
10131
10131
  c.isPrivate || c.important || c.isClosed ? (v(), g("div", l8, [
10132
10132
  c.isPrivate ? (v(), R(ce, {
10133
10133
  key: 0,
10134
10134
  name: "Lock",
10135
10135
  class: "ao-card-feed__warning",
10136
10136
  size: "sm"
10137
- })) : T("", !0),
10137
+ })) : A("", !0),
10138
10138
  c.important ? (v(), R(ce, {
10139
10139
  key: 1,
10140
10140
  name: "FlagRounded",
10141
10141
  class: "ao-card-feed__important",
10142
10142
  size: "sm"
10143
- })) : T("", !0),
10143
+ })) : A("", !0),
10144
10144
  c.isClosed ? (v(), R(ce, {
10145
10145
  key: 2,
10146
10146
  name: "CheckSmallRounded",
10147
10147
  class: "ao-card-feed__closed"
10148
- })) : T("", !0)
10149
- ])) : T("", !0),
10148
+ })) : A("", !0)
10149
+ ])) : A("", !0),
10150
10150
  c.$slots.secondary ? (v(), g("div", u8, [
10151
10151
  te(c.$slots, "secondary")
10152
- ])) : T("", !0)
10152
+ ])) : A("", !0)
10153
10153
  ])
10154
10154
  ]),
10155
10155
  default: q(() => [
10156
10156
  p("div", d8, [
10157
- 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),
10158
10158
  p("div", f8, [
10159
10159
  L(_e, {
10160
10160
  id: c.id,
@@ -10164,7 +10164,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10164
10164
  "onUpdate:title": n
10165
10165
  }, null, 8, ["id", "title", "is-editable"])
10166
10166
  ]),
10167
- 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)
10168
10168
  ])
10169
10169
  ]),
10170
10170
  footer: q(() => [
@@ -10181,7 +10181,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10181
10181
  "is-closable": !0,
10182
10182
  onClose: () => r(C.id)
10183
10183
  }, null, 8, ["user-name", "avatar-url", "onClose"])
10184
- ])) : T("", !0)
10184
+ ])) : A("", !0)
10185
10185
  ], 64))), 128))
10186
10186
  ]),
10187
10187
  c.comments || c.attachments ? (v(), g("ul", g8, [
@@ -10191,15 +10191,15 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10191
10191
  size: "sm"
10192
10192
  }),
10193
10193
  p("span", y8, X(c.comments), 1)
10194
- ])) : T("", !0),
10194
+ ])) : A("", !0),
10195
10195
  c.attachments ? (v(), g("li", b8, [
10196
10196
  L(ce, {
10197
10197
  name: "AttachFileRounded",
10198
10198
  size: "sm"
10199
10199
  }),
10200
10200
  p("span", w8, X(c.attachments), 1)
10201
- ])) : T("", !0)
10202
- ])) : T("", !0)
10201
+ ])) : A("", !0)
10202
+ ])) : A("", !0)
10203
10203
  ]),
10204
10204
  p("div", $8, [
10205
10205
  c.tasks && c.tasks.length ? (v(), g("div", k8, [
@@ -10214,7 +10214,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10214
10214
  percentages: d.value,
10215
10215
  class: "ao-card-feed__progress"
10216
10216
  }, null, 8, ["percentages"])
10217
- ])) : T("", !0)
10217
+ ])) : A("", !0)
10218
10218
  ])
10219
10219
  ])
10220
10220
  ]),
@@ -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),
10430
- onClick: (z) => h.$router.push({
10428
+ "is-private": T.private,
10429
+ "is-closed": C(T),
10430
+ onClick: (Y) => 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
  });
@@ -10694,7 +10694,7 @@ function X8(t, e, a = {}) {
10694
10694
  };
10695
10695
  }
10696
10696
  const Q8 = {
10697
- class: /* @__PURE__ */ Y(["ao-list-kanban"])
10697
+ class: /* @__PURE__ */ z(["ao-list-kanban"])
10698
10698
  }, J8 = { class: "ao-list-kanban__header" }, ev = {
10699
10699
  key: 0,
10700
10700
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -10721,7 +10721,7 @@ const Q8 = {
10721
10721
  isLoading: { type: Boolean },
10722
10722
  hasMore: { type: Boolean },
10723
10723
  noMoreLabel: {},
10724
- isEditable: { type: Boolean }
10724
+ isEditable: { type: [Boolean, String] }
10725
10725
  },
10726
10726
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
10727
10727
  setup(t, { emit: e }) {
@@ -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,
@@ -10770,6 +10770,7 @@ const Q8 = {
10770
10770
  "ghost-class": "ao-list-kanban__ghost",
10771
10771
  animation: "200"
10772
10772
  }, u.$attrs, {
10773
+ draggable: ".item",
10773
10774
  disabled: !u.isEditable,
10774
10775
  onChange: r,
10775
10776
  onStart: d[2] || (d[2] = (c) => l.value = !0),
@@ -10780,30 +10781,31 @@ const Q8 = {
10780
10781
  }
10781
10782
  }), {
10782
10783
  item: q(({ element: c }) => {
10783
- var m, C, $, _, y, h, M, w;
10784
+ var m, C, $, _, y, h, M, w, T;
10784
10785
  return [
10785
10786
  L(Qn, {
10787
+ class: z((m = c.name) != null && m.startsWith("yo") ? "item" : "pouet"),
10786
10788
  id: c.id,
10787
10789
  name: c.name,
10788
- "project-name": (m = c.project) == null ? void 0 : m.name,
10789
- "project-color": (C = c.project) == null ? void 0 : C.color,
10790
- "phase-name": (_ = ($ = c.milestone) == null ? void 0 : $.phase) == null ? void 0 : _.name,
10791
- "milestone-name": (y = c.milestone) == null ? void 0 : y.name,
10790
+ "project-name": (C = c.project) == null ? void 0 : C.name,
10791
+ "project-color": ($ = c.project) == null ? void 0 : $.color,
10792
+ "phase-name": (y = (_ = c.milestone) == null ? void 0 : _.phase) == null ? void 0 : y.name,
10793
+ "milestone-name": (h = c.milestone) == null ? void 0 : h.name,
10792
10794
  deadline: c.deadline,
10793
- rules: ((h = c.rules) == null ? void 0 : h.length) || 0,
10795
+ rules: ((M = c.rules) == null ? void 0 : M.length) || 0,
10794
10796
  tasks: c.tasks,
10795
10797
  description: c.description,
10796
10798
  important: c.important,
10797
10799
  type: c.type,
10798
- comments: (M = c.comments) == null ? void 0 : M.length,
10799
- attachments: (w = c.attachments) == null ? void 0 : w.length,
10800
+ comments: (w = c.comments) == null ? void 0 : w.length,
10801
+ attachments: (T = c.attachments) == null ? void 0 : T.length,
10800
10802
  users: u.users,
10801
10803
  assignee: c.assignee,
10802
10804
  "is-editable": u.isEditable,
10803
10805
  "is-private": c.private,
10804
10806
  onUpdateActivity: [
10805
- d[0] || (d[0] = (A) => u.isEditable && i(A)),
10806
- d[1] || (d[1] = (A) => u.isEditable && i)
10807
+ d[0] || (d[0] = (V) => u.isEditable && i(V)),
10808
+ d[1] || (d[1] = (V) => u.isEditable && i)
10807
10809
  ],
10808
10810
  onClick: () => o(c.id),
10809
10811
  onRemoveAssignee: () => u.isEditable && i({ id: c.id, assigneeId: null })
@@ -10819,7 +10821,7 @@ const Q8 = {
10819
10821
  corners: "round",
10820
10822
  label: u.$t("feed.activity.archive"),
10821
10823
  onClick: me(() => u.$emit("archiveActivity", { id: c.id }), ["stop"])
10822
- }, null, 8, ["label", "onClick"])) : T("", !0),
10824
+ }, null, 8, ["label", "onClick"])) : A("", !0),
10823
10825
  u.isEditable && !c.active ? (v(), R(ue, {
10824
10826
  key: 1,
10825
10827
  color: "primary",
@@ -10830,10 +10832,10 @@ const Q8 = {
10830
10832
  corners: "round",
10831
10833
  label: u.$t("feed.activity.unarchive"),
10832
10834
  onClick: me(() => u.$emit("unarchiveActivity", { id: c.id }), ["stop"])
10833
- }, null, 8, ["label", "onClick"])) : T("", !0)
10835
+ }, null, 8, ["label", "onClick"])) : A("", !0)
10834
10836
  ]),
10835
10837
  _: 2
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"])
10838
+ }, 1032, ["class", "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"])
10837
10839
  ];
10838
10840
  }),
10839
10841
  footer: q(() => [
@@ -10845,7 +10847,7 @@ const Q8 = {
10845
10847
  ref: s,
10846
10848
  class: "ao-list-kanban__end"
10847
10849
  }, 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)
10850
+ u.noMoreLabel ? (v(), g("span", av, X(u.noMoreLabel), 1)) : u.isEditable ? (v(), g("span", nv)) : A("", !0)
10849
10851
  ]))
10850
10852
  ]),
10851
10853
  _: 1
@@ -10857,9 +10859,9 @@ const Q8 = {
10857
10859
  "icon-name": "AddBoxOutlineRounded",
10858
10860
  label: u.footerLabel,
10859
10861
  onClick: d[4] || (d[4] = (c) => u.$emit("add"))
10860
- }, null, 8, ["label"])) : T("", !0)
10862
+ }, null, 8, ["label"])) : A("", !0)
10861
10863
  ])
10862
- ])) : T("", !0)
10864
+ ])) : A("", !0)
10863
10865
  ]));
10864
10866
  }
10865
10867
  });
@@ -10890,14 +10892,14 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
10890
10892
  }, null, 40, rv),
10891
10893
  L(ce, {
10892
10894
  name: "SearchRounded",
10893
- class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
10895
+ class: z(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
10894
10896
  }, null, 8, ["class"]),
10895
10897
  L(ue, {
10896
10898
  "icon-name": "CloseRounded",
10897
10899
  size: "sm",
10898
10900
  color: "primary",
10899
10901
  corners: "round",
10900
- class: Y(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
10902
+ class: z(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
10901
10903
  onClick: o
10902
10904
  }, null, 8, ["class"])
10903
10905
  ]));
@@ -10920,7 +10922,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10920
10922
  showsOnlyImportant: { type: Boolean },
10921
10923
  selectedActivity: {},
10922
10924
  isTaskCheckable: { type: Function, default: void 0 },
10923
- isEditable: { type: Boolean },
10925
+ isEditable: { type: [Boolean, String] },
10924
10926
  attachmentEnabled: { type: Boolean, default: !0 }
10925
10927
  },
10926
10928
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
@@ -10980,7 +10982,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10980
10982
  e("archiveActivity", E);
10981
10983
  }, w = (E) => {
10982
10984
  e("unarchiveActivity", E);
10983
- }, A = (E) => {
10985
+ }, T = (E) => {
10984
10986
  l.value = !1, e("update:searchText", E);
10985
10987
  }, V = (E) => {
10986
10988
  l.value = !1, e("clear:searchText", E);
@@ -10990,7 +10992,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10990
10992
  a.selectedActivity && e("updateSubtask", E);
10991
10993
  }, U = (E) => {
10992
10994
  a.selectedActivity && e("deleteSubtask", E);
10993
- }, z = (E) => {
10995
+ }, Y = (E) => {
10994
10996
  e("addFiles", E);
10995
10997
  }, S = (E) => {
10996
10998
  e("removeFile", E);
@@ -11020,15 +11022,15 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11020
11022
  "onUpdate:isLeft": N[0] || (N[0] = (f) => {
11021
11023
  f && E.$router.push({ name: Q(Ue).project });
11022
11024
  })
11023
- }, null, 8, ["right-label", "left-label"])) : T("", !0),
11025
+ }, null, 8, ["right-label", "left-label"])) : A("", !0),
11024
11026
  L(lv, {
11025
11027
  "model-value": E.searchText,
11026
11028
  placeholder: E.$t("feed.search.placeholder"),
11027
11029
  class: "ao-feed__search",
11028
- "onUpdate:modelValue": A,
11030
+ "onUpdate:modelValue": T,
11029
11031
  onClear: V
11030
11032
  }, null, 8, ["model-value", "placeholder"]),
11031
- a.project ? T("", !0) : (v(), R($e, {
11033
+ a.project ? A("", !0) : (v(), R($e, {
11032
11034
  key: 1,
11033
11035
  "model-value": E.filters[Q(Ot).project],
11034
11036
  mode: "tags",
@@ -11049,8 +11051,9 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11049
11051
  class: "ao-feed__filter ao-feed__filter__types",
11050
11052
  placeholder: E.$t("feed.filters.activityType.placeholder"),
11051
11053
  "onUpdate:modelValue": N[2] || (N[2] = (f) => c(Q(Ot).type, f))
11052
- }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
11053
- L($e, {
11054
+ }, null, 8, ["model-value", "options", "placeholder"])) : A("", !0),
11055
+ _.value.length ? (v(), R($e, {
11056
+ key: 3,
11054
11057
  "model-value": E.filters[Q(Ot).assignee],
11055
11058
  mode: "tags",
11056
11059
  options: _.value,
@@ -11072,7 +11075,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11072
11075
  }, null, 8, ["user-name", "avatar-url", "onClose"])
11073
11076
  ]),
11074
11077
  _: 1
11075
- }, 8, ["model-value", "options", "placeholder"])
11078
+ }, 8, ["model-value", "options", "placeholder"])) : A("", !0)
11076
11079
  ]),
11077
11080
  L(ue, {
11078
11081
  class: "ao-feed__only-important",
@@ -11137,7 +11140,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11137
11140
  onAddSubtask: I,
11138
11141
  onUpdateSubtask: Z,
11139
11142
  onDeleteSubtask: U,
11140
- onAddFiles: z,
11143
+ onAddFiles: Y,
11141
11144
  onRemoveFile: S,
11142
11145
  onAddComment: W,
11143
11146
  onUpdateComment: H,
@@ -11147,7 +11150,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11147
11150
  te(E.$slots, "activityDetailsBody", ua(da(f)))
11148
11151
  ]),
11149
11152
  _: 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)
11153
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : A("", !0)
11151
11154
  ]))
11152
11155
  ]);
11153
11156
  };
@@ -11311,7 +11314,7 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
11311
11314
  },
11312
11315
  setup(t) {
11313
11316
  return (e, a) => (v(), g("label", {
11314
- class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
11317
+ class: z(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
11315
11318
  }, [
11316
11319
  p("span", mv, X(e.label), 1),
11317
11320
  te(e.$slots, "default")