@26lights/orcha 0.7.40 → 0.8.0

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,13 +1,13 @@
1
- import { defineComponent as Y, openBlock as c, createBlock as U, unref as H, mergeProps as Pe, createElementBlock as f, createElementVNode as r, pushScopeId as ha, popScopeId as pa, createStaticVNode as Ca, computed as _, resolveDynamicComponent as Je, normalizeClass as W, renderSlot as K, toDisplayString as R, createCommentVNode as T, ref as ee, watch as fe, nextTick as Ze, withKeys as mt, toHandlers as _a, withCtx as q, createTextVNode as t1, createVNode as M, withModifiers as ke, Fragment as oe, renderList as he, toRefs as ye, getCurrentInstance as Ue, onMounted as Ot, onUnmounted as ga, withDirectives as xe, vModelText as ft, vModelCheckbox as ya, toRef as ct, Teleport as kt, normalizeStyle as ba, toValue as C1, onBeforeMount as wa, resolveComponent as $a, getCurrentScope as Ma, onScopeDispose as ka, provide as Ta } from "vue";
1
+ import { defineComponent as Y, openBlock as c, createBlock as R, unref as H, mergeProps as Pe, createElementBlock as f, createElementVNode as r, pushScopeId as ha, popScopeId as pa, createStaticVNode as Ca, computed as _, resolveDynamicComponent as Je, normalizeClass as W, renderSlot as K, toDisplayString as j, createCommentVNode as T, ref as ee, watch as fe, nextTick as Ze, withKeys as mt, toHandlers as _a, withCtx as F, createTextVNode as t1, createVNode as M, withModifiers as ke, Fragment as oe, renderList as he, toRefs as ye, getCurrentInstance as Ue, onMounted as Ot, onUnmounted as ga, withDirectives as xe, vModelText as ft, vModelCheckbox as ya, toRef as ct, Teleport as kt, normalizeStyle as ba, toValue as C1, onBeforeMount as wa, resolveComponent as $a, getCurrentScope as Ma, onScopeDispose as ka, provide as Ta } from "vue";
2
2
  import { RouterView as Sa } from "vue-router";
3
3
  import ht from "vuedraggable";
4
- const Yd = /* @__PURE__ */ Y({
4
+ const xd = /* @__PURE__ */ Y({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), U(H(Sa), Pe({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), R(H(Sa), Pe({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), O = (a, e) => {
13
13
  const t = a.__vccOpts || a;
@@ -53,13 +53,13 @@ const Za = /* @__PURE__ */ O(Ha, [["render", Ba]]), Ua = {}, ja = {
53
53
  }, Ra = /* @__PURE__ */ r("path", {
54
54
  d: "M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17ZM17 9H20V5H17V9ZM17 19H20V15H17V19ZM4 9H7V5H4V9Z",
55
55
  fill: "black"
56
- }, null, -1), qa = [
56
+ }, null, -1), Fa = [
57
57
  Ra
58
58
  ];
59
- function Fa(a, e) {
60
- return c(), f("svg", ja, qa);
59
+ function qa(a, e) {
60
+ return c(), f("svg", ja, Fa);
61
61
  }
62
- const za = /* @__PURE__ */ O(Ua, [["render", Fa]]), Wa = {}, Ya = {
62
+ const za = /* @__PURE__ */ O(Ua, [["render", qa]]), Wa = {}, Ya = {
63
63
  width: "24",
64
64
  height: "24",
65
65
  viewBox: "0 0 24 24",
@@ -185,14 +185,14 @@ const Un = /* @__PURE__ */ O(Dn, [["render", Zn]]), jn = {}, Rn = {
185
185
  viewBox: "0 0 24 24",
186
186
  fill: "none",
187
187
  xmlns: "http://www.w3.org/2000/svg"
188
- }, qn = /* @__PURE__ */ r("path", {
188
+ }, Fn = /* @__PURE__ */ r("path", {
189
189
  d: "M11.5 22C9.96667 22 8.66667 21.4667 7.6 20.4C6.53333 19.3333 6 18.0333 6 16.5V6C6 4.9 6.39167 3.95833 7.175 3.175C7.95833 2.39167 8.9 2 10 2C11.1 2 12.0417 2.39167 12.825 3.175C13.6083 3.95833 14 4.9 14 6V15.5C14 16.2 13.7583 16.7917 13.275 17.275C12.7917 17.7583 12.2 18 11.5 18C10.8 18 10.2083 17.7583 9.725 17.275C9.24167 16.7917 9 16.2 9 15.5V6.75C9 6.53333 9.071 6.35433 9.213 6.213C9.355 6.07167 9.534 6.00067 9.75 6C9.96667 6 10.1457 6.071 10.287 6.213C10.4283 6.355 10.4993 6.534 10.5 6.75V15.5C10.5 15.7833 10.596 16.021 10.788 16.213C10.98 16.405 11.2173 16.5007 11.5 16.5C11.7833 16.5 12.021 16.404 12.213 16.212C12.405 16.02 12.5007 15.7827 12.5 15.5V6C12.5 5.3 12.2583 4.70833 11.775 4.225C11.2917 3.74167 10.7 3.5 10 3.5C9.3 3.5 8.70833 3.74167 8.225 4.225C7.74167 4.70833 7.5 5.3 7.5 6V16.5C7.5 17.6 7.89167 18.5417 8.675 19.325C9.45833 20.1083 10.4 20.5 11.5 20.5C12.6 20.5 13.5417 20.1083 14.325 19.325C15.1083 18.5417 15.5 17.6 15.5 16.5V6.75C15.5 6.53333 15.571 6.35433 15.713 6.213C15.855 6.07167 16.034 6.00067 16.25 6C16.4667 6 16.6457 6.071 16.787 6.213C16.9283 6.355 16.9993 6.534 17 6.75V16.5C17 18.0333 16.4667 19.3333 15.4 20.4C14.3333 21.4667 13.0333 22 11.5 22Z",
190
190
  fill: "black"
191
- }, null, -1), Fn = [
192
- qn
191
+ }, null, -1), qn = [
192
+ Fn
193
193
  ];
194
194
  function zn(a, e) {
195
- return c(), f("svg", Rn, Fn);
195
+ return c(), f("svg", Rn, qn);
196
196
  }
197
197
  const Wn = /* @__PURE__ */ O(jn, [["render", zn]]), Yn = {}, Gn = {
198
198
  width: "24",
@@ -320,14 +320,14 @@ const Us = /* @__PURE__ */ O(Ds, [["render", Zs]]), js = {}, Rs = {
320
320
  viewBox: "0 0 24 24",
321
321
  fill: "none",
322
322
  xmlns: "http://www.w3.org/2000/svg"
323
- }, qs = /* @__PURE__ */ r("path", {
323
+ }, Fs = /* @__PURE__ */ r("path", {
324
324
  d: "M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",
325
325
  fill: "black"
326
- }, null, -1), Fs = [
327
- qs
326
+ }, null, -1), qs = [
327
+ Fs
328
328
  ];
329
329
  function zs(a, e) {
330
- return c(), f("svg", Rs, Fs);
330
+ return c(), f("svg", Rs, qs);
331
331
  }
332
332
  const Ws = /* @__PURE__ */ O(js, [["render", zs]]), Ys = {}, Gs = {
333
333
  width: "24",
@@ -455,14 +455,14 @@ const Ui = /* @__PURE__ */ O(Di, [["render", Zi]]), ji = {}, Ri = {
455
455
  viewBox: "0 0 24 24",
456
456
  fill: "none",
457
457
  xmlns: "http://www.w3.org/2000/svg"
458
- }, qi = /* @__PURE__ */ r("path", {
458
+ }, Fi = /* @__PURE__ */ r("path", {
459
459
  d: "M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",
460
460
  fill: "black"
461
- }, null, -1), Fi = [
462
- qi
461
+ }, null, -1), qi = [
462
+ Fi
463
463
  ];
464
464
  function zi(a, e) {
465
- return c(), f("svg", Ri, Fi);
465
+ return c(), f("svg", Ri, qi);
466
466
  }
467
467
  const Wi = /* @__PURE__ */ O(ji, [["render", zi]]), Yi = {}, Gi = {
468
468
  width: "24",
@@ -590,14 +590,14 @@ const Ul = /* @__PURE__ */ O(Dl, [["render", Zl]]), jl = {}, Rl = {
590
590
  viewBox: "0 0 24 24",
591
591
  fill: "none",
592
592
  xmlns: "http://www.w3.org/2000/svg"
593
- }, ql = /* @__PURE__ */ r("path", {
593
+ }, Fl = /* @__PURE__ */ r("path", {
594
594
  d: "M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",
595
595
  fill: "black"
596
- }, null, -1), Fl = [
597
- ql
596
+ }, null, -1), ql = [
597
+ Fl
598
598
  ];
599
599
  function zl(a, e) {
600
- return c(), f("svg", Rl, Fl);
600
+ return c(), f("svg", Rl, ql);
601
601
  }
602
602
  const Wl = /* @__PURE__ */ O(jl, [["render", zl]]), Yl = Y({
603
603
  name: "LoadingIcon"
@@ -736,7 +736,7 @@ const No = /* @__PURE__ */ O(Eo, [["render", Po]]), Bo = {}, Zo = {
736
736
  function Ro(a, e) {
737
737
  return c(), f("svg", Zo, jo);
738
738
  }
739
- const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
739
+ const Fo = /* @__PURE__ */ O(Bo, [["render", Ro]]), qo = {}, zo = {
740
740
  width: "24",
741
741
  height: "24",
742
742
  viewBox: "0 0 24 24",
@@ -751,7 +751,7 @@ const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
751
751
  function Go(a, e) {
752
752
  return c(), f("svg", zo, Yo);
753
753
  }
754
- const Ko = /* @__PURE__ */ O(Fo, [["render", Go]]), xo = {}, Xo = {
754
+ const Ko = /* @__PURE__ */ O(qo, [["render", Go]]), xo = {}, Xo = {
755
755
  width: "24",
756
756
  height: "24",
757
757
  viewBox: "0 0 24 24",
@@ -868,7 +868,7 @@ const Nr = /* @__PURE__ */ O(Er, [["render", Pr]]), Br = {}, Zr = {
868
868
  function Rr(a, e) {
869
869
  return c(), f("svg", Zr, jr);
870
870
  }
871
- const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
871
+ const Fr = /* @__PURE__ */ O(Br, [["render", Rr]]), qr = {}, zr = {
872
872
  width: "24",
873
873
  height: "24",
874
874
  viewBox: "0 0 24 24",
@@ -883,7 +883,7 @@ const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
883
883
  function Gr(a, e) {
884
884
  return c(), f("svg", zr, Yr);
885
885
  }
886
- const Kr = /* @__PURE__ */ O(Fr, [["render", Gr]]), xr = {}, Xr = {
886
+ const Kr = /* @__PURE__ */ O(qr, [["render", Gr]]), xr = {}, Xr = {
887
887
  width: "24",
888
888
  height: "24",
889
889
  viewBox: "0 0 24 24",
@@ -1003,7 +1003,7 @@ const N2 = /* @__PURE__ */ O(E2, [["render", P2]]), B2 = {}, Z2 = {
1003
1003
  function R2(a, e) {
1004
1004
  return c(), f("svg", Z2, j2);
1005
1005
  }
1006
- const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
1006
+ const F2 = /* @__PURE__ */ O(B2, [["render", R2]]), q2 = {}, z2 = {
1007
1007
  width: "24",
1008
1008
  height: "24",
1009
1009
  viewBox: "0 0 24 24",
@@ -1018,7 +1018,7 @@ const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
1018
1018
  function G2(a, e) {
1019
1019
  return c(), f("svg", z2, Y2);
1020
1020
  }
1021
- const K2 = /* @__PURE__ */ O(F2, [["render", G2]]), x2 = {}, X2 = {
1021
+ const K2 = /* @__PURE__ */ O(q2, [["render", G2]]), x2 = {}, X2 = {
1022
1022
  width: "24",
1023
1023
  height: "24",
1024
1024
  viewBox: "0 0 24 24",
@@ -1081,7 +1081,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1081
1081
  MoreTimeRounded: ko,
1082
1082
  MoreVert: Lo,
1083
1083
  MountainFlagOutlineRounded: No,
1084
- PersonAddOutlineRounded: qo,
1084
+ PersonAddOutlineRounded: Fo,
1085
1085
  PictureAsPdfRounded: Ko,
1086
1086
  RadioButtonChecked: tr,
1087
1087
  RadioButtonCheckedOutline: or,
@@ -1090,7 +1090,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1090
1090
  SearchRounded: kr,
1091
1091
  SelectCheckBox: Lr,
1092
1092
  SendRounded: Nr,
1093
- Settings: qr,
1093
+ Settings: Fr,
1094
1094
  SlideshowRounded: Kr,
1095
1095
  Target: t2,
1096
1096
  TaskOutlineRounded: o2,
@@ -1099,7 +1099,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1099
1099
  ViewComfyAltRounded: k2,
1100
1100
  ViewCompactAltRounded: L2,
1101
1101
  ViewTimelineRounded: N2,
1102
- WarningOutlineRounded: q2,
1102
+ WarningOutlineRounded: F2,
1103
1103
  WarningRounded: K2,
1104
1104
  WaterfallChartRounded: tu
1105
1105
  }, Symbol.toStringTag, { value: "Module" })), nu = {
@@ -1126,7 +1126,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1126
1126
  },
1127
1127
  setup(a) {
1128
1128
  const e = a, t = _(() => au[e.name]);
1129
- return (s, n) => (c(), U(Je(t.value), {
1129
+ return (s, n) => (c(), R(Je(t.value), {
1130
1130
  class: W(["ao-icon", `ao-icon--${s.size}`])
1131
1131
  }, null, 8, ["class"]));
1132
1132
  }
@@ -1164,9 +1164,9 @@ const iu = ["type"], lu = {
1164
1164
  ])
1165
1165
  }, [
1166
1166
  K(n.$slots, "default", {}, () => [
1167
- n.label ? (c(), f("span", lu, R(n.label), 1)) : T("", !0)
1167
+ n.label ? (c(), f("span", lu, j(n.label), 1)) : T("", !0)
1168
1168
  ]),
1169
- s.value ? (c(), U(ie, {
1169
+ s.value ? (c(), R(ie, {
1170
1170
  key: 0,
1171
1171
  name: s.value,
1172
1172
  class: "ao-button__icon",
@@ -1216,48 +1216,48 @@ const ve = /* @__PURE__ */ Y({
1216
1216
  setup(a, { emit: e }) {
1217
1217
  const t = a, s = ee(null), { isEditing: n, setIsEditing: l, onUpdate: i, onDiscard: o } = I1(s), v = _(() => n.value ? "input" : t.tag || `h${t.level}`), d = _(() => t.isEditable ? n.value ? {
1218
1218
  change: u,
1219
- click: (I) => I.stopPropagation(),
1219
+ click: (A) => A.stopPropagation(),
1220
1220
  blur: h
1221
1221
  } : {
1222
- click: w,
1223
- focus: w
1224
- } : {}), u = i((I, E) => {
1225
- const $ = E.target.value;
1226
- e("update:title", $);
1222
+ click: $,
1223
+ focus: $
1224
+ } : {}), u = i((A, E) => {
1225
+ const w = E.target.value;
1226
+ e("update:title", w);
1227
1227
  }), p = o(), h = async () => {
1228
1228
  n.value && l(!1);
1229
1229
  }, y = () => {
1230
1230
  e("toggle-is-editing", !1);
1231
- }, w = (I) => {
1232
- I.stopPropagation(), n.value || l(!0);
1231
+ }, $ = (A) => {
1232
+ A.stopPropagation(), n.value || l(!0);
1233
1233
  };
1234
1234
  return fe(
1235
1235
  () => t.isEditable,
1236
- (I) => {
1237
- I || p();
1236
+ (A) => {
1237
+ A || p();
1238
1238
  }
1239
- ), (I, E) => (c(), U(Je(v.value), Pe({
1239
+ ), (A, E) => (c(), R(Je(v.value), Pe({
1240
1240
  ref_key: "target",
1241
1241
  ref: s,
1242
1242
  class: [
1243
1243
  "ao-title",
1244
- `ao-title--${I.level}`,
1244
+ `ao-title--${A.level}`,
1245
1245
  {
1246
- [`ao-title--${I.color}`]: !!I.color,
1247
- "ao-title--editable": I.isEditable,
1246
+ [`ao-title--${A.color}`]: !!A.color,
1247
+ "ao-title--editable": A.isEditable,
1248
1248
  "ao-field__input ao-title--editing": H(n),
1249
1249
  "ao-title--readonly": !H(n)
1250
1250
  }
1251
1251
  ],
1252
1252
  type: H(n) ? "text" : null,
1253
- value: H(n) ? I.title : null,
1253
+ value: H(n) ? A.title : null,
1254
1254
  tabindex: "0",
1255
1255
  onKeyup: mt(y, ["enter"])
1256
1256
  }, _a(d.value), {
1257
1257
  onKeydown: mt(H(p), ["esc"])
1258
1258
  }), {
1259
- default: q(() => [
1260
- t1(R(I.title), 1)
1259
+ default: F(() => [
1260
+ t1(j(A.title), 1)
1261
1261
  ]),
1262
1262
  _: 1
1263
1263
  }, 16, ["class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1300,10 +1300,10 @@ const ou = {
1300
1300
  const t = (s) => {
1301
1301
  e("update:title", s);
1302
1302
  };
1303
- return (s, n) => (c(), U(Je(s.tagName), {
1303
+ return (s, n) => (c(), R(Je(s.tagName), {
1304
1304
  class: W(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1305
1305
  }, {
1306
- default: q(() => [
1306
+ default: F(() => [
1307
1307
  s.isDraggable ? (c(), f("div", ou, [
1308
1308
  M(ie, {
1309
1309
  name: "DragIndicator",
@@ -1327,7 +1327,7 @@ const ou = {
1327
1327
  "onUpdate:title": t
1328
1328
  }, null, 8, ["title"]),
1329
1329
  K(s.$slots, "subtitle", {}, () => [
1330
- s.subtitle ? (c(), f("span", du, R(s.subtitle), 1)) : T("", !0)
1330
+ s.subtitle ? (c(), f("span", du, j(s.subtitle), 1)) : T("", !0)
1331
1331
  ])
1332
1332
  ]),
1333
1333
  s.$slots.header ? (c(), f("div", vu, [
@@ -1371,11 +1371,11 @@ const Et = /* @__PURE__ */ Y({
1371
1371
  n.variant ? `ao-tag--${n.variant}` : ""
1372
1372
  ])
1373
1373
  }, [
1374
- (c(), U(Je(t.value), Pe({ class: "ao-tag__label" }, s.value, {
1374
+ (c(), R(Je(t.value), Pe({ class: "ao-tag__label" }, s.value, {
1375
1375
  onClick: l[0] || (l[0] = (i) => n.$emit("click", i))
1376
1376
  }), {
1377
- default: q(() => [
1378
- t1(R(n.label), 1)
1377
+ default: F(() => [
1378
+ t1(j(n.label), 1)
1379
1379
  ]),
1380
1380
  _: 1
1381
1381
  }, 16)),
@@ -1485,8 +1485,8 @@ function At(a, e) {
1485
1485
  var u = Vt(), p = Ne((t = (s = (n = (l = e == null ? void 0 : e.weekStartsOn) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
1486
1486
  if (!(p >= 0 && p <= 6))
1487
1487
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1488
- var h = Ie(a), y = h.getUTCDay(), w = (y < p ? 7 : 0) + y - p;
1489
- return h.setUTCDate(h.getUTCDate() - w), h.setUTCHours(0, 0, 0, 0), h;
1488
+ var h = Ie(a), y = h.getUTCDay(), $ = (y < p ? 7 : 0) + y - p;
1489
+ return h.setUTCDate(h.getUTCDate() - $), h.setUTCHours(0, 0, 0, 0), h;
1490
1490
  }
1491
1491
  function D1(a, e) {
1492
1492
  var t, s, n, l, i, o, v, d;
@@ -1494,20 +1494,20 @@ function D1(a, e) {
1494
1494
  var u = Ie(a), p = u.getUTCFullYear(), h = Vt(), y = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : h.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = h.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1495
1495
  if (!(y >= 1 && y <= 7))
1496
1496
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1497
- var w = /* @__PURE__ */ new Date(0);
1498
- w.setUTCFullYear(p + 1, 0, y), w.setUTCHours(0, 0, 0, 0);
1499
- var I = At(w, e), E = /* @__PURE__ */ new Date(0);
1497
+ var $ = /* @__PURE__ */ new Date(0);
1498
+ $.setUTCFullYear(p + 1, 0, y), $.setUTCHours(0, 0, 0, 0);
1499
+ var A = At($, e), E = /* @__PURE__ */ new Date(0);
1500
1500
  E.setUTCFullYear(p, 0, y), E.setUTCHours(0, 0, 0, 0);
1501
1501
  var b = At(E, e);
1502
- return u.getTime() >= I.getTime() ? p + 1 : u.getTime() >= b.getTime() ? p : p - 1;
1502
+ return u.getTime() >= A.getTime() ? p + 1 : u.getTime() >= b.getTime() ? p : p - 1;
1503
1503
  }
1504
1504
  function Tu(a, e) {
1505
1505
  var t, s, n, l, i, o, v, d;
1506
1506
  Ce(1, arguments);
1507
1507
  var u = Vt(), p = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), h = D1(a, e), y = /* @__PURE__ */ new Date(0);
1508
1508
  y.setUTCFullYear(h, 0, p), y.setUTCHours(0, 0, 0, 0);
1509
- var w = At(y, e);
1510
- return w;
1509
+ var $ = At(y, e);
1510
+ return $;
1511
1511
  }
1512
1512
  var Su = 6048e5;
1513
1513
  function Au(a, e) {
@@ -2307,12 +2307,12 @@ var Ru = {
2307
2307
  long: "MMMM do, y",
2308
2308
  medium: "MMM d, y",
2309
2309
  short: "MM/dd/yyyy"
2310
- }, qu = {
2310
+ }, Fu = {
2311
2311
  full: "h:mm:ss a zzzz",
2312
2312
  long: "h:mm:ss a z",
2313
2313
  medium: "h:mm:ss a",
2314
2314
  short: "h:mm a"
2315
- }, Fu = {
2315
+ }, qu = {
2316
2316
  full: "{{date}} 'at' {{time}}",
2317
2317
  long: "{{date}} 'at' {{time}}",
2318
2318
  medium: "{{date}}, {{time}}",
@@ -2323,11 +2323,11 @@ var Ru = {
2323
2323
  defaultWidth: "full"
2324
2324
  }),
2325
2325
  time: Kt({
2326
- formats: qu,
2326
+ formats: Fu,
2327
2327
  defaultWidth: "full"
2328
2328
  }),
2329
2329
  dateTime: Kt({
2330
- formats: Fu,
2330
+ formats: qu,
2331
2331
  defaultWidth: "full"
2332
2332
  })
2333
2333
  };
@@ -2621,12 +2621,12 @@ var w3 = {
2621
2621
  const $3 = w3;
2622
2622
  var M3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, k3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, T3 = /^'([^]*?)'?$/, S3 = /''/g, A3 = /[a-zA-Z]/;
2623
2623
  function I3(a, e, t) {
2624
- var s, n, l, i, o, v, d, u, p, h, y, w, I, E, b, $, D, X;
2624
+ var s, n, l, i, o, v, d, u, p, h, y, $, A, E, b, w, D, X;
2625
2625
  Ce(2, arguments);
2626
- var ne = String(e), C = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : C.locale) !== null && s !== void 0 ? s : $3, B = Ne((l = (i = (o = (v = t == null ? void 0 : t.firstWeekContainsDate) !== null && v !== void 0 ? v : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && o !== void 0 ? o : C.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = C.locale) === null || p === void 0 || (h = p.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && l !== void 0 ? l : 1);
2627
- if (!(B >= 1 && B <= 7))
2626
+ var ne = String(e), C = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : C.locale) !== null && s !== void 0 ? s : $3, Z = Ne((l = (i = (o = (v = t == null ? void 0 : t.firstWeekContainsDate) !== null && v !== void 0 ? v : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && o !== void 0 ? o : C.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = C.locale) === null || p === void 0 || (h = p.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && l !== void 0 ? l : 1);
2627
+ if (!(Z >= 1 && Z <= 7))
2628
2628
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2629
- var J = Ne((y = (w = (I = (E = t == null ? void 0 : t.weekStartsOn) !== null && E !== void 0 ? E : t == null || (b = t.locale) === null || b === void 0 || ($ = b.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && I !== void 0 ? I : C.weekStartsOn) !== null && w !== void 0 ? w : (D = C.locale) === null || D === void 0 || (X = D.options) === null || X === void 0 ? void 0 : X.weekStartsOn) !== null && y !== void 0 ? y : 0);
2629
+ var J = Ne((y = ($ = (A = (E = t == null ? void 0 : t.weekStartsOn) !== null && E !== void 0 ? E : t == null || (b = t.locale) === null || b === void 0 || (w = b.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && A !== void 0 ? A : C.weekStartsOn) !== null && $ !== void 0 ? $ : (D = C.locale) === null || D === void 0 || (X = D.options) === null || X === void 0 ? void 0 : X.weekStartsOn) !== null && y !== void 0 ? y : 0);
2630
2630
  if (!(J >= 0 && J <= 6))
2631
2631
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2632
2632
  if (!L.localize)
@@ -2637,29 +2637,29 @@ function I3(a, e, t) {
2637
2637
  if (!V1(se))
2638
2638
  throw new RangeError("Invalid time value");
2639
2639
  var me = _u(se), N = yu(se, me), x = {
2640
- firstWeekContainsDate: B,
2640
+ firstWeekContainsDate: Z,
2641
2641
  weekStartsOn: J,
2642
2642
  locale: L,
2643
2643
  _originalDate: se
2644
- }, k = ne.match(k3).map(function(j) {
2645
- var le = j[0];
2644
+ }, k = ne.match(k3).map(function(B) {
2645
+ var le = B[0];
2646
2646
  if (le === "p" || le === "P") {
2647
2647
  var g = Hu[le];
2648
- return g(j, L.formatLong);
2648
+ return g(B, L.formatLong);
2649
2649
  }
2650
- return j;
2651
- }).join("").match(M3).map(function(j) {
2652
- if (j === "''")
2650
+ return B;
2651
+ }).join("").match(M3).map(function(B) {
2652
+ if (B === "''")
2653
2653
  return "'";
2654
- var le = j[0];
2654
+ var le = B[0];
2655
2655
  if (le === "'")
2656
- return O3(j);
2656
+ return O3(B);
2657
2657
  var g = Lu[le];
2658
2658
  if (g)
2659
- return !(t != null && t.useAdditionalWeekYearTokens) && Bu(j) && b1(j, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Nu(j) && b1(j, e, String(a)), g(N, j, L.localize, x);
2659
+ return !(t != null && t.useAdditionalWeekYearTokens) && Bu(B) && b1(B, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Nu(B) && b1(B, e, String(a)), g(N, B, L.localize, x);
2660
2660
  if (le.match(A3))
2661
2661
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + le + "`");
2662
- return j;
2662
+ return B;
2663
2663
  }).join("");
2664
2664
  return k;
2665
2665
  }
@@ -2730,9 +2730,9 @@ function N3(a, e) {
2730
2730
  return /* @__PURE__ */ new Date(NaN);
2731
2731
  var s = !!t[4], n = ot(t[1]), l = ot(t[2]) - 1, i = ot(t[3]), o = ot(t[4]), v = ot(t[5]) - 1;
2732
2732
  if (s)
2733
- return F3(e, o, v) ? U3(e, o, v) : /* @__PURE__ */ new Date(NaN);
2733
+ return q3(e, o, v) ? U3(e, o, v) : /* @__PURE__ */ new Date(NaN);
2734
2734
  var d = /* @__PURE__ */ new Date(0);
2735
- return !R3(e, l, i) || !q3(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, l, Math.max(n, i)), d);
2735
+ return !R3(e, l, i) || !F3(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, l, Math.max(n, i)), d);
2736
2736
  }
2737
2737
  function ot(a) {
2738
2738
  return a ? parseInt(a) : 1;
@@ -2769,10 +2769,10 @@ function N1(a) {
2769
2769
  function R3(a, e, t) {
2770
2770
  return e >= 0 && e <= 11 && t >= 1 && t <= (j3[e] || (N1(a) ? 29 : 28));
2771
2771
  }
2772
- function q3(a, e) {
2772
+ function F3(a, e) {
2773
2773
  return e >= 1 && e <= (N1(a) ? 366 : 365);
2774
2774
  }
2775
- function F3(a, e, t) {
2775
+ function q3(a, e, t) {
2776
2776
  return e >= 1 && e <= 53 && t >= 0 && t <= 6;
2777
2777
  }
2778
2778
  function z3(a, e, t) {
@@ -3362,21 +3362,21 @@ function j1() {
3362
3362
  v = u;
3363
3363
  }
3364
3364
  let p;
3365
- for (let w = v.getScale(); w > 0; d = p) {
3366
- const I = w - 1, E = v.setScale(I, !0);
3367
- if (p = d.setScale(I, !1), E.compareTo(p) === 0)
3365
+ for (let $ = v.getScale(); $ > 0; d = p) {
3366
+ const A = $ - 1, E = v.setScale(A, !0);
3367
+ if (p = d.setScale(A, !1), E.compareTo(p) === 0)
3368
3368
  return n.checkMid(i, o, E);
3369
3369
  if (E.compareTo(p) > 0)
3370
3370
  break;
3371
- w = I, v = E;
3371
+ $ = A, v = E;
3372
3372
  }
3373
3373
  let h = n.middleInternal(i, o, v, d), y;
3374
- for (let w = h.getScale(); w > 0; w = y) {
3375
- y = w - 1;
3376
- const I = h.setScale(y);
3377
- if (i.compareTo(I) >= 0 || I.compareTo(o) >= 0)
3374
+ for (let $ = h.getScale(); $ > 0; $ = y) {
3375
+ y = $ - 1;
3376
+ const A = h.setScale(y);
3377
+ if (i.compareTo(A) >= 0 || A.compareTo(o) >= 0)
3378
3378
  break;
3379
- h = I;
3379
+ h = A;
3380
3380
  }
3381
3381
  return h;
3382
3382
  }
@@ -3568,8 +3568,8 @@ const n0 = ["title"], s0 = { className: "ao-avatar__initials" }, tt = /* @__PURE
3568
3568
  class: W(["ao-avatar", `ao-avatar--${l.size}`]),
3569
3569
  title: l.userName
3570
3570
  }, [
3571
- r("span", s0, R(H(s)), 1),
3572
- l.isClosable ? (c(), U(de, {
3571
+ r("span", s0, j(H(s)), 1),
3572
+ l.isClosable ? (c(), R(de, {
3573
3573
  key: 0,
3574
3574
  "icon-name": "CloseRounded",
3575
3575
  class: "ao-avatar__close",
@@ -3604,30 +3604,30 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
3604
3604
  const t = (s) => {
3605
3605
  e("updateTitle", s);
3606
3606
  };
3607
- return (s, n) => (c(), U(O1, {
3607
+ return (s, n) => (c(), R(O1, {
3608
3608
  title: s.title,
3609
3609
  "is-draggable": !0,
3610
3610
  "onUpdate:title": t
3611
3611
  }, {
3612
- subtitle: q(() => [
3612
+ subtitle: F(() => [
3613
3613
  r("ul", i0, [
3614
3614
  r("li", l0, [
3615
3615
  M(ie, {
3616
3616
  name: "MountainFlagOutlineRounded",
3617
3617
  size: "sm"
3618
3618
  }),
3619
- r("span", o0, R(s.milestones), 1)
3619
+ r("span", o0, j(s.milestones), 1)
3620
3620
  ]),
3621
3621
  r("li", r0, [
3622
3622
  M(ie, {
3623
3623
  name: "TaskOutlineRounded",
3624
3624
  size: "sm"
3625
3625
  }),
3626
- r("span", u0, R(s.activities), 1)
3626
+ r("span", u0, j(s.activities), 1)
3627
3627
  ])
3628
3628
  ])
3629
3629
  ]),
3630
- default: q(() => [
3630
+ default: F(() => [
3631
3631
  r("div", c0, [
3632
3632
  r("div", d0, [
3633
3633
  r("div", v0, [
@@ -3635,10 +3635,10 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
3635
3635
  name: "WaterfallChartRounded",
3636
3636
  size: "sm"
3637
3637
  }),
3638
- r("span", m0, R(s.$t("template.phases.title")), 1)
3638
+ r("span", m0, j(s.$t("template.phases.title")), 1)
3639
3639
  ]),
3640
3640
  s.phases ? (c(), f("ul", f0, [
3641
- (c(!0), f(oe, null, he(s.phases, (l) => (c(), U(Et, {
3641
+ (c(!0), f(oe, null, he(s.phases, (l) => (c(), R(Et, {
3642
3642
  key: l.id,
3643
3643
  label: l.name || l.id,
3644
3644
  color: "primary",
@@ -3648,19 +3648,19 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
3648
3648
  ])
3649
3649
  ])
3650
3650
  ]),
3651
- footer: q(() => [
3651
+ footer: F(() => [
3652
3652
  r("div", h0, [
3653
3653
  s.updatedAt ? (c(), f("div", p0, [
3654
3654
  r("div", C0, [
3655
- r("span", _0, R(s.$t("template.updatedAt.label")), 1)
3655
+ r("span", _0, j(s.$t("template.updatedAt.label")), 1)
3656
3656
  ]),
3657
3657
  r("div", g0, [
3658
- r("span", null, R(s.updatedAt), 1)
3658
+ r("span", null, j(s.updatedAt), 1)
3659
3659
  ])
3660
3660
  ])) : T("", !0),
3661
3661
  s.updatedBy ? (c(), f("div", y0, [
3662
3662
  r("div", b0, [
3663
- r("span", w0, R(s.$t("template.updatedBy.label")), 1)
3663
+ r("span", w0, j(s.$t("template.updatedBy.label")), 1)
3664
3664
  ]),
3665
3665
  r("div", $0, [
3666
3666
  M(tt, { "user-name": s.updatedBy }, null, 8, ["user-name"])
@@ -3681,7 +3681,7 @@ const k0 = { class: "ao-page-header" }, T0 = { class: "ao-page-header-main" }, S
3681
3681
  setup(a) {
3682
3682
  return (e, t) => (c(), f("header", k0, [
3683
3683
  r("div", T0, [
3684
- e.canGoBack ? (c(), U(de, {
3684
+ e.canGoBack ? (c(), R(de, {
3685
3685
  key: 0,
3686
3686
  "icon-name": "ArrowBackRounded",
3687
3687
  variant: "ghost",
@@ -3722,9 +3722,9 @@ const A0 = ["type"], I0 = {
3722
3722
  ])
3723
3723
  }, [
3724
3724
  K(n.$slots, "default", {}, () => [
3725
- n.label ? (c(), f("span", I0, R(n.label), 1)) : T("", !0)
3725
+ n.label ? (c(), f("span", I0, j(n.label), 1)) : T("", !0)
3726
3726
  ]),
3727
- s.value ? (c(), U(ie, {
3727
+ s.value ? (c(), R(ie, {
3728
3728
  key: 0,
3729
3729
  name: s.value,
3730
3730
  class: "ao-button-card__icon",
@@ -3756,8 +3756,8 @@ const O0 = { class: "ao-card-template-item__footer" }, L0 = {
3756
3756
  }, l = () => {
3757
3757
  e("remove");
3758
3758
  };
3759
- return (i, o) => (c(), U(O1, { "onUpdate:title": t }, {
3760
- footer: q(() => [
3759
+ return (i, o) => (c(), R(O1, { "onUpdate:title": t }, {
3760
+ footer: F(() => [
3761
3761
  r("ul", O0, [
3762
3762
  (c(), f(oe, null, he(s, (v) => (c(), f(oe, { key: v }, [
3763
3763
  i.$props[v] ? (c(), f("li", L0, [
@@ -3765,12 +3765,12 @@ const O0 = { class: "ao-card-template-item__footer" }, L0 = {
3765
3765
  name: n[v],
3766
3766
  size: "sm"
3767
3767
  }, null, 8, ["name"]),
3768
- r("span", E0, R(i.$props[v]), 1)
3768
+ r("span", E0, j(i.$props[v]), 1)
3769
3769
  ])) : T("", !0)
3770
3770
  ], 64))), 64))
3771
3771
  ])
3772
3772
  ]),
3773
- secondary: q(() => [
3773
+ secondary: F(() => [
3774
3774
  r("div", V0, [
3775
3775
  M(de, {
3776
3776
  "icon-name": "DeleteOutlineRounded",
@@ -3797,12 +3797,12 @@ const H0 = /* @__PURE__ */ Y({
3797
3797
  var n;
3798
3798
  return (n = e.milestones) == null ? void 0 : n.length;
3799
3799
  }), s = _(() => e.milestones ? R1(e.milestones) : 0);
3800
- return (n, l) => (c(), U(s1, Pe({
3800
+ return (n, l) => (c(), R(s1, Pe({
3801
3801
  title: n.name,
3802
3802
  activities: s.value,
3803
3803
  milestones: t.value
3804
3804
  }, n.$attrs), {
3805
- default: q(() => [
3805
+ default: F(() => [
3806
3806
  K(n.$slots, "default")
3807
3807
  ]),
3808
3808
  _: 3
@@ -3818,8 +3818,8 @@ const H0 = /* @__PURE__ */ Y({
3818
3818
  var s;
3819
3819
  return ((s = e.activities) == null ? void 0 : s.length) || 0;
3820
3820
  });
3821
- return (s, n) => (c(), U(s1, { activities: t.value }, {
3822
- default: q(() => [
3821
+ return (s, n) => (c(), R(s1, { activities: t.value }, {
3822
+ default: F(() => [
3823
3823
  K(s.$slots, "default")
3824
3824
  ]),
3825
3825
  _: 3
@@ -3849,7 +3849,7 @@ const H0 = /* @__PURE__ */ Y({
3849
3849
  });
3850
3850
  }
3851
3851
  };
3852
- return (o, v) => o.phase ? (c(), U(H(ht), {
3852
+ return (o, v) => o.phase ? (c(), R(H(ht), {
3853
3853
  key: 0,
3854
3854
  "model-value": o.phase.milestones,
3855
3855
  class: "ao-templates__list",
@@ -3858,15 +3858,15 @@ const H0 = /* @__PURE__ */ Y({
3858
3858
  "item-key": "id",
3859
3859
  onChange: i
3860
3860
  }, {
3861
- header: q(() => [
3861
+ header: F(() => [
3862
3862
  M(ve, {
3863
3863
  title: "Milestones",
3864
3864
  level: 3,
3865
3865
  class: "ao-list__title"
3866
3866
  })
3867
3867
  ]),
3868
- item: q(({ element: d }) => [
3869
- (c(), U(D0, {
3868
+ item: F(({ element: d }) => [
3869
+ (c(), R(D0, {
3870
3870
  key: d.id,
3871
3871
  title: d.name,
3872
3872
  activities: d.activities,
@@ -3881,7 +3881,7 @@ const H0 = /* @__PURE__ */ Y({
3881
3881
  onRemove: () => n(d.id)
3882
3882
  }, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3883
3883
  ]),
3884
- footer: q(() => [
3884
+ footer: F(() => [
3885
3885
  r("div", P0, [
3886
3886
  M(je, {
3887
3887
  "icon-name": "AddBoxOutlineRounded",
@@ -3904,8 +3904,8 @@ const H0 = /* @__PURE__ */ Y({
3904
3904
  var s;
3905
3905
  return ((s = e.tasks) == null ? void 0 : s.length) || 0;
3906
3906
  });
3907
- return (s, n) => (c(), U(s1, { tasks: t.value }, {
3908
- default: q(() => [
3907
+ return (s, n) => (c(), R(s1, { tasks: t.value }, {
3908
+ default: F(() => [
3909
3909
  K(s.$slots, "default")
3910
3910
  ]),
3911
3911
  _: 3
@@ -3938,7 +3938,7 @@ const H0 = /* @__PURE__ */ Y({
3938
3938
  });
3939
3939
  }
3940
3940
  };
3941
- return (o, v) => o.milestone ? (c(), U(H(ht), {
3941
+ return (o, v) => o.milestone ? (c(), R(H(ht), {
3942
3942
  key: 0,
3943
3943
  "model-value": o.milestone.activities,
3944
3944
  title: o.$t("template.activities.title"),
@@ -3947,15 +3947,15 @@ const H0 = /* @__PURE__ */ Y({
3947
3947
  "item-key": "id",
3948
3948
  onChange: i
3949
3949
  }, {
3950
- header: q(() => [
3950
+ header: F(() => [
3951
3951
  M(ve, {
3952
3952
  title: "Activities",
3953
3953
  level: 3,
3954
3954
  class: "ao-list__title"
3955
3955
  })
3956
3956
  ]),
3957
- item: q(({ element: d }) => [
3958
- (c(), U(B0, {
3957
+ item: F(({ element: d }) => [
3958
+ (c(), R(B0, {
3959
3959
  key: d.id,
3960
3960
  title: d.name,
3961
3961
  tasks: d.tasks,
@@ -3966,7 +3966,7 @@ const H0 = /* @__PURE__ */ Y({
3966
3966
  onRemove: () => l(d.id)
3967
3967
  }, null, 8, ["title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3968
3968
  ]),
3969
- footer: q(() => [
3969
+ footer: F(() => [
3970
3970
  r("div", Z0, [
3971
3971
  M(je, {
3972
3972
  "icon-name": "AddBoxOutlineRounded",
@@ -4003,21 +4003,21 @@ function R0(a, e) {
4003
4003
  plainValue: v
4004
4004
  };
4005
4005
  }
4006
- function q0(a, e, t) {
4006
+ function F0(a, e, t) {
4007
4007
  const { regex: s } = ye(a), n = Ue().proxy, l = t.isOpen, i = t.open, o = ee(null), v = ee(null), d = () => {
4008
4008
  o.value = "";
4009
4009
  }, u = (y) => {
4010
4010
  o.value = y.target.value;
4011
4011
  }, p = (y) => {
4012
4012
  if (s && s.value) {
4013
- let w = s.value;
4014
- typeof w == "string" && (w = new RegExp(w)), y.key.match(w) || y.preventDefault();
4013
+ let $ = s.value;
4014
+ typeof $ == "string" && ($ = new RegExp($)), y.key.match($) || y.preventDefault();
4015
4015
  }
4016
4016
  }, h = (y) => {
4017
4017
  if (s && s.value) {
4018
- let I = (y.clipboardData || /* istanbul ignore next */
4018
+ let A = (y.clipboardData || /* istanbul ignore next */
4019
4019
  window.clipboardData).getData("Text"), E = s.value;
4020
- typeof E == "string" && (E = new RegExp(E)), I.split("").every((b) => !!b.match(E)) || y.preventDefault();
4020
+ typeof E == "string" && (E = new RegExp(E)), A.split("").every((b) => !!b.match(E)) || y.preventDefault();
4021
4021
  }
4022
4022
  e.emit("paste", y, n);
4023
4023
  };
@@ -4032,7 +4032,7 @@ function q0(a, e, t) {
4032
4032
  handlePaste: h
4033
4033
  };
4034
4034
  }
4035
- function F0(a, e, t) {
4035
+ function q0(a, e, t) {
4036
4036
  const { groupSelect: s, mode: n, groups: l, disabledProp: i } = ye(a), o = ee(null), v = (u) => {
4037
4037
  u === void 0 || u !== null && u[i.value] || l.value && u && u.group && (n.value === "single" || !s.value) || (o.value = u);
4038
4038
  };
@@ -4069,24 +4069,24 @@ function Y0(a, e, t) {
4069
4069
  appendNewTag: p,
4070
4070
  appendNewOption: h,
4071
4071
  multipleLabel: y,
4072
- object: w,
4073
- loading: I,
4072
+ object: $,
4073
+ loading: A,
4074
4074
  delay: E,
4075
4075
  resolveOnLoad: b,
4076
- minChars: $,
4076
+ minChars: w,
4077
4077
  filterResults: D,
4078
4078
  clearOnSearch: X,
4079
4079
  clearOnSelect: ne,
4080
4080
  valueProp: C,
4081
4081
  allowAbsent: L,
4082
- groupLabel: B,
4082
+ groupLabel: Z,
4083
4083
  canDeselect: J,
4084
4084
  max: se,
4085
4085
  strict: me,
4086
4086
  closeOnSelect: N,
4087
4087
  closeOnDeselect: x,
4088
4088
  groups: k,
4089
- reverse: j,
4089
+ reverse: B,
4090
4090
  infinite: le,
4091
4091
  groupOptions: g,
4092
4092
  groupHideEmpty: P,
@@ -4095,15 +4095,15 @@ function Y0(a, e, t) {
4095
4095
  disabledProp: te,
4096
4096
  searchStart: _e,
4097
4097
  searchFilter: Me
4098
- } = ye(a), re = Ue().proxy, F = t.iv, S = t.ev, Z = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, qe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, Fe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Te = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), r1 = _(() => v.value || d.value || !1), X1 = _(() => p.value !== void 0 ? p.value : h.value !== void 0 ? h.value : !0), He = _(() => {
4098
+ } = ye(a), re = Ue().proxy, q = t.iv, S = t.ev, U = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, Fe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, qe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Te = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), r1 = _(() => v.value || d.value || !1), X1 = _(() => p.value !== void 0 ? p.value : h.value !== void 0 ? h.value : !0), He = _(() => {
4099
4099
  if (k.value) {
4100
4100
  let m = _t.value || /* istanbul ignore next */
4101
- [], A = [];
4101
+ [], I = [];
4102
4102
  return m.forEach((Q) => {
4103
4103
  Yt(Q[g.value]).forEach((ce) => {
4104
- A.push(Object.assign({}, ce, Q[te.value] ? { [te.value]: !0 } : {}));
4104
+ I.push(Object.assign({}, ce, Q[te.value] ? { [te.value]: !0 } : {}));
4105
4105
  });
4106
- }), A;
4106
+ }), I;
4107
4107
  } else {
4108
4108
  let m = Yt(Ve.value || /* istanbul ignore next */
4109
4109
  []);
@@ -4111,24 +4111,24 @@ function Y0(a, e, t) {
4111
4111
  }
4112
4112
  }), u1 = _(() => {
4113
4113
  let m = He.value;
4114
- return j.value && (m = m.reverse()), ze.value.length && (m = ze.value.concat(m)), Wt(m);
4114
+ return B.value && (m = m.reverse()), ze.value.length && (m = ze.value.concat(m)), Wt(m);
4115
4115
  }), nt = _(() => {
4116
4116
  let m = u1.value;
4117
4117
  return jt.value > 0 && (m = m.slice(0, jt.value)), m;
4118
4118
  }), _t = _(() => {
4119
4119
  if (!k.value)
4120
4120
  return [];
4121
- let m = [], A = Ve.value || /* istanbul ignore next */
4121
+ let m = [], I = Ve.value || /* istanbul ignore next */
4122
4122
  [];
4123
4123
  return at.value.length && m.push({
4124
- [B.value]: " ",
4124
+ [Z.value]: " ",
4125
4125
  [g.value]: [...at.value],
4126
4126
  __CREATE__: !0
4127
- }), m.concat(A);
4127
+ }), m.concat(I);
4128
4128
  }), Q1 = _(() => {
4129
- let m = [..._t.value].map((A) => ({ ...A }));
4129
+ let m = [..._t.value].map((I) => ({ ...I }));
4130
4130
  return ze.value.length && (m[0] && m[0].__CREATE__ ? m[0][g.value] = [...ze.value, ...m[0][g.value]] : m = [{
4131
- [B.value]: " ",
4131
+ [Z.value]: " ",
4132
4132
  [g.value]: [...ze.value],
4133
4133
  __CREATE__: !0
4134
4134
  }].concat(m)), m;
@@ -4137,28 +4137,28 @@ function Y0(a, e, t) {
4137
4137
  return [];
4138
4138
  let m = Q1.value;
4139
4139
  return ma((m || /* istanbul ignore next */
4140
- []).map((A, Q) => {
4141
- const ce = Yt(A[g.value]);
4140
+ []).map((I, Q) => {
4141
+ const ce = Yt(I[g.value]);
4142
4142
  return {
4143
- ...A,
4143
+ ...I,
4144
4144
  index: Q,
4145
4145
  group: !0,
4146
- [g.value]: Wt(ce, !1).map((st) => Object.assign({}, st, A[te.value] ? { [te.value]: !0 } : {})),
4147
- __VISIBLE__: Wt(ce).map((st) => Object.assign({}, st, A[te.value] ? { [te.value]: !0 } : {}))
4146
+ [g.value]: Wt(ce, !1).map((st) => Object.assign({}, st, I[te.value] ? { [te.value]: !0 } : {})),
4147
+ __VISIBLE__: Wt(ce).map((st) => Object.assign({}, st, I[te.value] ? { [te.value]: !0 } : {}))
4148
4148
  };
4149
4149
  }));
4150
4150
  }), Rt = _(() => {
4151
4151
  switch (n.value) {
4152
4152
  case "single":
4153
- return !Ae(F.value[C.value]);
4153
+ return !Ae(q.value[C.value]);
4154
4154
  case "multiple":
4155
4155
  case "tags":
4156
- return !Ae(F.value) && F.value.length > 0;
4156
+ return !Ae(q.value) && q.value.length > 0;
4157
4157
  }
4158
- }), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(F.value, re) : F.value && F.value.length > 1 ? `${F.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Te.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (Z.value && k.value || !k.value)), ze = _(() => r1.value === !1 || !Z.value ? [] : ca(Z.value) !== -1 ? [] : [{
4159
- [C.value]: Z.value,
4160
- [Se.value]: Z.value,
4161
- [u.value]: Z.value,
4158
+ }), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(q.value, re) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Te.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (U.value && k.value || !k.value)), ze = _(() => r1.value === !1 || !U.value ? [] : ca(U.value) !== -1 ? [] : [{
4159
+ [C.value]: U.value,
4160
+ [Se.value]: U.value,
4161
+ [u.value]: U.value,
4162
4162
  __CREATE__: !0
4163
4163
  }]), Se = _(() => l.value || u.value), aa = _(() => {
4164
4164
  switch (n.value) {
@@ -4168,14 +4168,14 @@ function Y0(a, e, t) {
4168
4168
  case "tags":
4169
4169
  return [];
4170
4170
  }
4171
- }), na = _(() => I.value || Te.value), We = (m) => {
4171
+ }), na = _(() => A.value || Te.value), We = (m) => {
4172
4172
  switch (typeof m != "object" && (m = Ee(m)), n.value) {
4173
4173
  case "single":
4174
4174
  Oe(m);
4175
4175
  break;
4176
4176
  case "multiple":
4177
4177
  case "tags":
4178
- Oe(F.value.concat(m));
4178
+ Oe(q.value.concat(m));
4179
4179
  break;
4180
4180
  }
4181
4181
  e.emit("select", d1(m), m, re);
@@ -4186,15 +4186,15 @@ function Y0(a, e, t) {
4186
4186
  break;
4187
4187
  case "tags":
4188
4188
  case "multiple":
4189
- Oe(Array.isArray(m) ? F.value.filter((A) => m.map((Q) => Q[C.value]).indexOf(A[C.value]) === -1) : F.value.filter((A) => A[C.value] != m[C.value]));
4189
+ Oe(Array.isArray(m) ? q.value.filter((I) => m.map((Q) => Q[C.value]).indexOf(I[C.value]) === -1) : q.value.filter((I) => I[C.value] != m[C.value]));
4190
4190
  break;
4191
4191
  }
4192
4192
  e.emit("deselect", d1(m), m, re);
4193
- }, d1 = (m) => w.value ? m : m[C.value], v1 = (m) => {
4193
+ }, d1 = (m) => $.value ? m : m[C.value], v1 = (m) => {
4194
4194
  Ye(m);
4195
- }, sa = (m, A) => {
4196
- if (A.button !== 0) {
4197
- A.preventDefault();
4195
+ }, sa = (m, I) => {
4196
+ if (I.button !== 0) {
4197
+ I.preventDefault();
4198
4198
  return;
4199
4199
  }
4200
4200
  v1(m);
@@ -4205,16 +4205,16 @@ function Y0(a, e, t) {
4205
4205
  return n.value === "single" ? !1 : ua(m[g.value]) && m[g.value].length;
4206
4206
  switch (n.value) {
4207
4207
  case "single":
4208
- return !Ae(F.value) && F.value[C.value] == m[C.value];
4208
+ return !Ae(q.value) && q.value[C.value] == m[C.value];
4209
4209
  case "tags":
4210
4210
  case "multiple":
4211
- return !Ae(F.value) && F.value.map((A) => A[C.value]).indexOf(m[C.value]) !== -1;
4211
+ return !Ae(q.value) && q.value.map((I) => I[C.value]).indexOf(m[C.value]) !== -1;
4212
4212
  }
4213
- }, qt = (m) => m[te.value] === !0, Ft = () => se === void 0 || se.value === -1 || !Rt.value && se.value > 0 ? !1 : F.value.length >= se.value, ia = (m) => {
4214
- if (!qt(m)) {
4213
+ }, Ft = (m) => m[te.value] === !0, qt = () => se === void 0 || se.value === -1 || !Rt.value && se.value > 0 ? !1 : q.value.length >= se.value, ia = (m) => {
4214
+ if (!Ft(m)) {
4215
4215
  if (G && G.value && !Le(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = G.value(m, re), m instanceof Promise)) {
4216
- Te.value = !0, m.then((A) => {
4217
- Te.value = !1, f1(A);
4216
+ Te.value = !0, m.then((I) => {
4217
+ Te.value = !1, f1(I);
4218
4218
  });
4219
4219
  return;
4220
4220
  }
@@ -4224,42 +4224,42 @@ function Y0(a, e, t) {
4224
4224
  switch (m.__CREATE__ && (m = { ...m }, delete m.__CREATE__), n.value) {
4225
4225
  case "single":
4226
4226
  if (m && Le(m)) {
4227
- J.value && Ye(m), x.value && (qe(), Fe());
4227
+ J.value && Ye(m), x.value && (Fe(), qe());
4228
4228
  return;
4229
4229
  }
4230
- m && zt(m), ne.value && ge(), N.value && (qe(), Fe()), m && We(m);
4230
+ m && zt(m), ne.value && ge(), N.value && (Fe(), qe()), m && We(m);
4231
4231
  break;
4232
4232
  case "multiple":
4233
4233
  if (m && Le(m)) {
4234
- Ye(m), x.value && (qe(), Fe());
4234
+ Ye(m), x.value && (Fe(), qe());
4235
4235
  return;
4236
4236
  }
4237
- if (Ft()) {
4237
+ if (qt()) {
4238
4238
  e.emit("max", re);
4239
4239
  return;
4240
4240
  }
4241
- m && (zt(m), We(m)), ne.value && ge(), o.value && qe(), N.value && Fe();
4241
+ m && (zt(m), We(m)), ne.value && ge(), o.value && Fe(), N.value && qe();
4242
4242
  break;
4243
4243
  case "tags":
4244
4244
  if (m && Le(m)) {
4245
- Ye(m), x.value && (qe(), Fe());
4245
+ Ye(m), x.value && (Fe(), qe());
4246
4246
  return;
4247
4247
  }
4248
- if (Ft()) {
4248
+ if (qt()) {
4249
4249
  e.emit("max", re);
4250
4250
  return;
4251
4251
  }
4252
- m && zt(m), ne.value && ge(), m && We(m), o.value && qe(), N.value && Fe();
4252
+ m && zt(m), ne.value && ge(), m && We(m), o.value && Fe(), N.value && qe();
4253
4253
  break;
4254
4254
  }
4255
4255
  N.value || G1();
4256
4256
  }, la = (m) => {
4257
- if (!(qt(m) || n.value === "single" || !V.value)) {
4257
+ if (!(Ft(m) || n.value === "single" || !V.value)) {
4258
4258
  switch (n.value) {
4259
4259
  case "multiple":
4260
4260
  case "tags":
4261
4261
  ra(m[g.value]) ? Ye(m[g.value]) : We(
4262
- m[g.value].filter((A) => F.value.map((Q) => Q[C.value]).indexOf(A[C.value]) === -1).filter((A) => !A[te.value]).filter((A, Q) => F.value.length + 1 + Q <= se.value || se.value === -1)
4262
+ m[g.value].filter((I) => q.value.map((Q) => Q[C.value]).indexOf(I[C.value]) === -1).filter((I) => !I[te.value]).filter((I, Q) => q.value.length + 1 + Q <= se.value || se.value === -1)
4263
4263
  );
4264
4264
  break;
4265
4265
  }
@@ -4269,73 +4269,73 @@ function Y0(a, e, t) {
4269
4269
  Ee(m[C.value]) === void 0 && r1.value && (e.emit("tag", m[C.value], re), e.emit("option", m[C.value], re), e.emit("create", m[C.value], re), X1.value && va(m), ge());
4270
4270
  }, oa = () => {
4271
4271
  n.value !== "single" && We(nt.value.filter((m) => !m.disabled && !Le(m)));
4272
- }, ra = (m) => m.find((A) => !Le(A) && !A[te.value]) === void 0, ua = (m) => m.find((A) => !Le(A)) === void 0, Ee = (m) => He.value[He.value.map((A) => String(A[C.value])).indexOf(String(m))], ca = (m, A = !0) => He.value.map((Q) => parseInt(Q[Se.value]) == Q[Se.value] ? parseInt(Q[Se.value]) : Q[Se.value]).indexOf(
4272
+ }, ra = (m) => m.find((I) => !Le(I) && !I[te.value]) === void 0, ua = (m) => m.find((I) => !Le(I)) === void 0, Ee = (m) => He.value[He.value.map((I) => String(I[C.value])).indexOf(String(m))], ca = (m, I = !0) => He.value.map((Q) => parseInt(Q[Se.value]) == Q[Se.value] ? parseInt(Q[Se.value]) : Q[Se.value]).indexOf(
4273
4273
  parseInt(m) == m ? parseInt(m) : m
4274
4274
  ), da = (m) => ["tags", "multiple"].indexOf(n.value) !== -1 && o.value && Le(m), va = (m) => {
4275
4275
  at.value.push(m);
4276
4276
  }, ma = (m) => P.value ? m.filter(
4277
- (A) => Z.value ? A.__VISIBLE__.length : A[g.value].length
4278
- ) : m.filter((A) => Z.value ? A.__VISIBLE__.length : !0), Wt = (m, A = !0) => {
4277
+ (I) => U.value ? I.__VISIBLE__.length : I[g.value].length
4278
+ ) : m.filter((I) => U.value ? I.__VISIBLE__.length : !0), Wt = (m, I = !0) => {
4279
4279
  let Q = m;
4280
- if (Z.value && D.value) {
4280
+ if (U.value && D.value) {
4281
4281
  let ce = Me.value;
4282
- ce || (ce = (st, qd) => {
4282
+ ce || (ce = (st, Wd) => {
4283
4283
  let p1 = Xt(x1(st[Se.value]), me.value);
4284
- return _e.value ? p1.startsWith(Xt(Z.value, me.value)) : p1.indexOf(Xt(Z.value, me.value)) !== -1;
4284
+ return _e.value ? p1.startsWith(Xt(U.value, me.value)) : p1.indexOf(Xt(U.value, me.value)) !== -1;
4285
4285
  }), Q = Q.filter(ce);
4286
4286
  }
4287
- return o.value && A && (Q = Q.filter((ce) => !da(ce))), Q;
4287
+ return o.value && I && (Q = Q.filter((ce) => !da(ce))), Q;
4288
4288
  }, Yt = (m) => {
4289
- let A = m;
4290
- return z0(A) && (A = Object.keys(A).map((Q) => {
4291
- let ce = A[Q];
4289
+ let I = m;
4290
+ return z0(I) && (I = Object.keys(I).map((Q) => {
4291
+ let ce = I[Q];
4292
4292
  return { [C.value]: Q, [Se.value]: ce, [u.value]: ce };
4293
- })), A = A.map((Q) => typeof Q == "object" ? Q : { [C.value]: Q, [Se.value]: Q, [u.value]: Q }), A;
4293
+ })), I = I.map((Q) => typeof Q == "object" ? Q : { [C.value]: Q, [Se.value]: Q, [u.value]: Q }), I;
4294
4294
  }, gt = () => {
4295
- Ae(S.value) || (F.value = bt(S.value));
4296
- }, yt = (m) => (Te.value = !0, new Promise((A, Q) => {
4297
- s.value(Z.value, re).then((ce) => {
4295
+ Ae(S.value) || (q.value = bt(S.value));
4296
+ }, yt = (m) => (Te.value = !0, new Promise((I, Q) => {
4297
+ s.value(U.value, re).then((ce) => {
4298
4298
  Ve.value = ce || [], typeof m == "function" && m(ce), Te.value = !1;
4299
4299
  }).catch((ce) => {
4300
4300
  console.error(ce), Ve.value = [], Te.value = !1;
4301
4301
  }).finally(() => {
4302
- A();
4302
+ I();
4303
4303
  });
4304
4304
  })), Gt = () => {
4305
4305
  if (Rt.value)
4306
4306
  if (n.value === "single") {
4307
- let m = Ee(F.value[C.value]);
4307
+ let m = Ee(q.value[C.value]);
4308
4308
  if (m !== void 0) {
4309
- let A = m[u.value];
4310
- F.value[u.value] = A, w.value && (S.value[u.value] = A);
4309
+ let I = m[u.value];
4310
+ q.value[u.value] = I, $.value && (S.value[u.value] = I);
4311
4311
  }
4312
4312
  } else
4313
- F.value.forEach((m, A) => {
4314
- let Q = Ee(F.value[A][C.value]);
4313
+ q.value.forEach((m, I) => {
4314
+ let Q = Ee(q.value[I][C.value]);
4315
4315
  if (Q !== void 0) {
4316
4316
  let ce = Q[u.value];
4317
- F.value[A][u.value] = ce, w.value && (S.value[A][u.value] = ce);
4317
+ q.value[I][u.value] = ce, $.value && (S.value[I][u.value] = ce);
4318
4318
  }
4319
4319
  });
4320
4320
  }, fa = (m) => {
4321
4321
  yt(m);
4322
- }, bt = (m) => Ae(m) ? n.value === "single" ? {} : [] : w.value ? m : n.value === "single" ? Ee(m) || (L.value ? {
4322
+ }, bt = (m) => Ae(m) ? n.value === "single" ? {} : [] : $.value ? m : n.value === "single" ? Ee(m) || (L.value ? {
4323
4323
  [u.value]: m,
4324
4324
  [C.value]: m,
4325
4325
  [Se.value]: m
4326
- } : {}) : m.filter((A) => !!Ee(A) || L.value).map((A) => Ee(A) || {
4327
- [u.value]: A,
4328
- [C.value]: A,
4329
- [Se.value]: A
4326
+ } : {}) : m.filter((I) => !!Ee(I) || L.value).map((I) => Ee(I) || {
4327
+ [u.value]: I,
4328
+ [C.value]: I,
4329
+ [Se.value]: I
4330
4330
  }), h1 = () => {
4331
- Ut.value = fe(Z, (m) => {
4332
- m.length < $.value || !m && $.value !== 0 || (Te.value = !0, X.value && (Ve.value = []), setTimeout(() => {
4333
- m == Z.value && s.value(Z.value, re).then((A) => {
4334
- (m == Z.value || !Z.value) && (Ve.value = A, Y1.value = nt.value.filter((Q) => Q[te.value] !== !0)[0] || null, Te.value = !1);
4331
+ Ut.value = fe(U, (m) => {
4332
+ m.length < w.value || !m && w.value !== 0 || (Te.value = !0, X.value && (Ve.value = []), setTimeout(() => {
4333
+ m == U.value && s.value(U.value, re).then((I) => {
4334
+ (m == U.value || !U.value) && (Ve.value = I, Y1.value = nt.value.filter((Q) => Q[te.value] !== !0)[0] || null, Te.value = !1);
4335
4335
  }).catch(
4336
4336
  /* istanbul ignore next */
4337
- (A) => {
4338
- console.error(A);
4337
+ (I) => {
4338
+ console.error(I);
4339
4339
  }
4340
4340
  );
4341
4341
  }, E.value));
@@ -4343,7 +4343,7 @@ function Y0(a, e, t) {
4343
4343
  };
4344
4344
  if (n.value !== "single" && !Ae(S.value) && !Array.isArray(S.value))
4345
4345
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
4346
- return s && typeof s.value == "function" ? b.value ? yt(gt) : w.value == !0 && gt() : (Ve.value = s.value, gt()), E.value > -1 && h1(), fe(E, (m, A) => {
4346
+ return s && typeof s.value == "function" ? b.value ? yt(gt) : $.value == !0 && gt() : (Ve.value = s.value, gt()), E.value > -1 && h1(), fe(E, (m, I) => {
4347
4347
  Ut.value && Ut.value(), m >= 0 && h1();
4348
4348
  }), fe(S, (m) => {
4349
4349
  if (Ae(m)) {
@@ -4352,15 +4352,15 @@ function Y0(a, e, t) {
4352
4352
  }
4353
4353
  switch (n.value) {
4354
4354
  case "single":
4355
- (w.value ? m[C.value] != F.value[C.value] : m != F.value[C.value]) && Oe(bt(m), !1);
4355
+ ($.value ? m[C.value] != q.value[C.value] : m != q.value[C.value]) && Oe(bt(m), !1);
4356
4356
  break;
4357
4357
  case "multiple":
4358
4358
  case "tags":
4359
- W0(w.value ? m.map((A) => A[C.value]) : m, F.value.map((A) => A[C.value])) || Oe(bt(m), !1);
4359
+ W0($.value ? m.map((I) => I[C.value]) : m, q.value.map((I) => I[C.value])) || Oe(bt(m), !1);
4360
4360
  break;
4361
4361
  }
4362
- }, { deep: !0 }), fe(s, (m, A) => {
4363
- typeof a.options == "function" ? b.value && (!A || m && m.toString() !== A.toString()) && yt() : (Ve.value = a.options, Object.keys(F.value).length || gt(), Gt());
4362
+ }, { deep: !0 }), fe(s, (m, I) => {
4363
+ typeof a.options == "function" ? b.value && (!I || m && m.toString() !== I.toString()) && yt() : (Ve.value = a.options, Object.keys(q.value).length || gt(), Gt());
4364
4364
  }), fe(u, Gt), {
4365
4365
  pfo: u1,
4366
4366
  fo: nt,
@@ -4384,8 +4384,8 @@ function Y0(a, e, t) {
4384
4384
  selectAll: oa,
4385
4385
  clear: m1,
4386
4386
  isSelected: Le,
4387
- isDisabled: qt,
4388
- isMax: Ft,
4387
+ isDisabled: Ft,
4388
+ isMax: qt,
4389
4389
  getOption: Ee,
4390
4390
  handleOptionClick: ia,
4391
4391
  handleGroupClick: la,
@@ -4406,77 +4406,77 @@ function G0(a, e, t) {
4406
4406
  groupSelect: d,
4407
4407
  disabledProp: u,
4408
4408
  groupOptions: p
4409
- } = ye(a), h = t.fo, y = t.fg, w = t.handleOptionClick, I = t.handleGroupClick, E = t.search, b = t.pointer, $ = t.setPointer, D = t.clearPointer, X = t.multiselect, ne = t.isOpen, C = _(() => h.value.filter((S) => !S[u.value])), L = _(() => y.value.filter((S) => !S[u.value])), B = _(() => v.value !== "single" && d.value), J = _(() => b.value && b.value.group), se = _(() => re(b.value)), me = _(() => {
4409
+ } = ye(a), h = t.fo, y = t.fg, $ = t.handleOptionClick, A = t.handleGroupClick, E = t.search, b = t.pointer, w = t.setPointer, D = t.clearPointer, X = t.multiselect, ne = t.isOpen, C = _(() => h.value.filter((S) => !S[u.value])), L = _(() => y.value.filter((S) => !S[u.value])), Z = _(() => v.value !== "single" && d.value), J = _(() => b.value && b.value.group), se = _(() => re(b.value)), me = _(() => {
4410
4410
  const S = J.value ? b.value : (
4411
4411
  /* istanbul ignore next */
4412
4412
  re(b.value)
4413
- ), Z = L.value.map((Oe) => Oe[i.value]).indexOf(S[i.value]);
4414
- let ge = L.value[Z - 1];
4413
+ ), U = L.value.map((Oe) => Oe[i.value]).indexOf(S[i.value]);
4414
+ let ge = L.value[U - 1];
4415
4415
  return ge === void 0 && (ge = x.value), ge;
4416
4416
  }), N = _(() => {
4417
- let S = L.value.map((Z) => Z.label).indexOf(J.value ? b.value[i.value] : re(b.value)[i.value]) + 1;
4417
+ let S = L.value.map((U) => U.label).indexOf(J.value ? b.value[i.value] : re(b.value)[i.value]) + 1;
4418
4418
  return L.value.length <= S && (S = 0), L.value[S];
4419
- }), x = _(() => [...L.value].slice(-1)[0]), k = _(() => b.value.__VISIBLE__.filter((S) => !S[u.value])[0]), j = _(() => {
4420
- const S = se.value.__VISIBLE__.filter((Z) => !Z[u.value]);
4421
- return S[S.map((Z) => Z[s.value]).indexOf(b.value[s.value]) - 1];
4419
+ }), x = _(() => [...L.value].slice(-1)[0]), k = _(() => b.value.__VISIBLE__.filter((S) => !S[u.value])[0]), B = _(() => {
4420
+ const S = se.value.__VISIBLE__.filter((U) => !U[u.value]);
4421
+ return S[S.map((U) => U[s.value]).indexOf(b.value[s.value]) - 1];
4422
4422
  }), le = _(() => {
4423
- const S = re(b.value).__VISIBLE__.filter((Z) => !Z[u.value]);
4424
- return S[S.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1];
4423
+ const S = re(b.value).__VISIBLE__.filter((U) => !U[u.value]);
4424
+ return S[S.map((U) => U[s.value]).indexOf(b.value[s.value]) + 1];
4425
4425
  }), g = _(() => [...me.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), P = _(() => [...x.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => b.value && (!S.group && b.value[s.value] === S[s.value] || S.group !== void 0 && b.value[i.value] === S[i.value]) ? !0 : void 0, G = () => {
4426
- $(C.value[0] || null);
4426
+ w(C.value[0] || null);
4427
4427
  }, te = () => {
4428
- !b.value || b.value[u.value] === !0 || (J.value ? I(b.value) : w(b.value));
4428
+ !b.value || b.value[u.value] === !0 || (J.value ? A(b.value) : $(b.value));
4429
4429
  }, _e = () => {
4430
4430
  if (b.value === null)
4431
- $((o.value && B.value ? L.value[0].__CREATE__ ? C.value[0] : L.value[0] : C.value[0]) || null);
4432
- else if (o.value && B.value) {
4431
+ w((o.value && Z.value ? L.value[0].__CREATE__ ? C.value[0] : L.value[0] : C.value[0]) || null);
4432
+ else if (o.value && Z.value) {
4433
4433
  let S = J.value ? k.value : le.value;
4434
- S === void 0 && (S = N.value, S.__CREATE__ && (S = S[p.value][0])), $(S || /* istanbul ignore next */
4434
+ S === void 0 && (S = N.value, S.__CREATE__ && (S = S[p.value][0])), w(S || /* istanbul ignore next */
4435
4435
  null);
4436
4436
  } else {
4437
- let S = C.value.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1;
4438
- C.value.length <= S && (S = 0), $(C.value[S] || null);
4437
+ let S = C.value.map((U) => U[s.value]).indexOf(b.value[s.value]) + 1;
4438
+ C.value.length <= S && (S = 0), w(C.value[S] || null);
4439
4439
  }
4440
4440
  Ze(() => {
4441
- F();
4441
+ q();
4442
4442
  });
4443
4443
  }, Me = () => {
4444
4444
  if (b.value === null) {
4445
4445
  let S = C.value[C.value.length - 1];
4446
- o.value && B.value && (S = P.value, S === void 0 && (S = x.value)), $(S || null);
4447
- } else if (o.value && B.value) {
4448
- let S = J.value ? g.value : j.value;
4449
- S === void 0 && (S = J.value ? me.value : se.value, S.__CREATE__ && (S = g.value, S === void 0 && (S = me.value))), $(S || /* istanbul ignore next */
4446
+ o.value && Z.value && (S = P.value, S === void 0 && (S = x.value)), w(S || null);
4447
+ } else if (o.value && Z.value) {
4448
+ let S = J.value ? g.value : B.value;
4449
+ S === void 0 && (S = J.value ? me.value : se.value, S.__CREATE__ && (S = g.value, S === void 0 && (S = me.value))), w(S || /* istanbul ignore next */
4450
4450
  null);
4451
4451
  } else {
4452
- let S = C.value.map((Z) => Z[s.value]).indexOf(b.value[s.value]) - 1;
4453
- S < 0 && (S = C.value.length - 1), $(C.value[S] || null);
4452
+ let S = C.value.map((U) => U[s.value]).indexOf(b.value[s.value]) - 1;
4453
+ S < 0 && (S = C.value.length - 1), w(C.value[S] || null);
4454
4454
  }
4455
4455
  Ze(() => {
4456
- F();
4456
+ q();
4457
4457
  });
4458
- }, re = (S) => L.value.find((Z) => Z.__VISIBLE__.map((ge) => ge[s.value]).indexOf(S[s.value]) !== -1), F = () => {
4458
+ }, re = (S) => L.value.find((U) => U.__VISIBLE__.map((ge) => ge[s.value]).indexOf(S[s.value]) !== -1), q = () => {
4459
4459
  let S = X.value.querySelector("[data-pointed]");
4460
4460
  if (!S)
4461
4461
  return;
4462
- let Z = S.parentElement.parentElement;
4463
- o.value && (Z = J.value ? S.parentElement.parentElement.parentElement : S.parentElement.parentElement.parentElement.parentElement), S.offsetTop + S.offsetHeight > Z.clientHeight + Z.scrollTop && (Z.scrollTop = S.offsetTop + S.offsetHeight - Z.clientHeight), S.offsetTop < Z.scrollTop && (Z.scrollTop = S.offsetTop);
4462
+ let U = S.parentElement.parentElement;
4463
+ o.value && (U = J.value ? S.parentElement.parentElement.parentElement : S.parentElement.parentElement.parentElement.parentElement), S.offsetTop + S.offsetHeight > U.clientHeight + U.scrollTop && (U.scrollTop = S.offsetTop + S.offsetHeight - U.clientHeight), S.offsetTop < U.scrollTop && (U.scrollTop = S.offsetTop);
4464
4464
  };
4465
4465
  return fe(E, (S) => {
4466
4466
  l.value && (S.length && n.value ? G() : D());
4467
4467
  }), fe(ne, (S) => {
4468
4468
  if (S) {
4469
- let Z = X.value.querySelectorAll("[data-selected]")[0];
4470
- if (!Z)
4469
+ let U = X.value.querySelectorAll("[data-selected]")[0];
4470
+ if (!U)
4471
4471
  return;
4472
- let ge = Z.parentElement.parentElement;
4472
+ let ge = U.parentElement.parentElement;
4473
4473
  Ze(() => {
4474
- ge.scrollTop > 0 || (ge.scrollTop = Z.offsetTop);
4474
+ ge.scrollTop > 0 || (ge.scrollTop = U.offsetTop);
4475
4475
  });
4476
4476
  }
4477
4477
  }), {
4478
4478
  pointer: b,
4479
- canPointGroups: B,
4479
+ canPointGroups: Z,
4480
4480
  isPointed: V,
4481
4481
  setPointerFirst: G,
4482
4482
  selectPointer: te,
@@ -4497,15 +4497,15 @@ function K0(a, e, t) {
4497
4497
  };
4498
4498
  }
4499
4499
  function x0(a, e, t) {
4500
- const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open, v = t.close, d = t.clearSearch, u = t.isOpen, p = ee(null), h = ee(null), y = ee(null), w = ee(!1), I = ee(!1), E = _(() => s.value || n.value ? -1 : 0), b = () => {
4500
+ const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open, v = t.close, d = t.clearSearch, u = t.isOpen, p = ee(null), h = ee(null), y = ee(null), $ = ee(!1), A = ee(!1), E = _(() => s.value || n.value ? -1 : 0), b = () => {
4501
4501
  s.value && i.value.blur(), h.value.blur();
4502
- }, $ = () => {
4502
+ }, w = () => {
4503
4503
  s.value && !n.value && i.value.focus();
4504
4504
  }, D = (J = !0) => {
4505
- n.value || (w.value = !0, J && o());
4505
+ n.value || ($.value = !0, J && o());
4506
4506
  }, X = () => {
4507
- w.value = !1, setTimeout(() => {
4508
- w.value || (v(), l.value && d());
4507
+ $.value = !1, setTimeout(() => {
4508
+ $.value || (v(), l.value && d());
4509
4509
  }, 1);
4510
4510
  };
4511
4511
  return {
@@ -4513,14 +4513,14 @@ function x0(a, e, t) {
4513
4513
  wrapper: h,
4514
4514
  tags: y,
4515
4515
  tabindex: E,
4516
- isActive: w,
4517
- mouseClicked: I,
4516
+ isActive: $,
4517
+ mouseClicked: A,
4518
4518
  blur: b,
4519
- focus: $,
4519
+ focus: w,
4520
4520
  activate: D,
4521
4521
  deactivate: X,
4522
4522
  handleFocusIn: (J) => {
4523
- J.target.closest("[data-tags]") && J.target.nodeName !== "INPUT" || J.target.closest("[data-clear]") || D(I.value);
4523
+ J.target.closest("[data-tags]") && J.target.nodeName !== "INPUT" || J.target.closest("[data-clear]") || D(A.value);
4524
4524
  },
4525
4525
  handleFocusOut: () => {
4526
4526
  X();
@@ -4529,10 +4529,10 @@ function x0(a, e, t) {
4529
4529
  X(), b();
4530
4530
  },
4531
4531
  handleMousedown: (J) => {
4532
- I.value = !0, u.value && (J.target.isEqualNode(h.value) || J.target.isEqualNode(y.value)) ? setTimeout(() => {
4532
+ A.value = !0, u.value && (J.target.isEqualNode(h.value) || J.target.isEqualNode(y.value)) ? setTimeout(() => {
4533
4533
  X();
4534
4534
  }, 0) : document.activeElement.isEqualNode(h.value) && !u.value && D(), setTimeout(() => {
4535
- I.value = !1;
4535
+ A.value = !1;
4536
4536
  }, 0);
4537
4537
  }
4538
4538
  };
@@ -4550,8 +4550,8 @@ function X0(a, e, t) {
4550
4550
  createTag: p,
4551
4551
  createOption: h,
4552
4552
  reverse: y
4553
- } = ye(a), w = Ue().proxy, I = t.iv, E = t.update, b = t.search, $ = t.setPointer, D = t.selectPointer, X = t.backwardPointer, ne = t.forwardPointer, C = t.multiselect, L = t.wrapper, B = t.tags, J = t.isOpen, se = t.open, me = t.blur, N = t.fo, x = _(() => p.value || h.value || !1), k = _(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), j = () => {
4554
- s.value === "tags" && !o.value && x.value && i.value && !d.value && $(N.value[N.value.map((V) => V[v.value]).indexOf(b.value)]);
4553
+ } = ye(a), $ = Ue().proxy, A = t.iv, E = t.update, b = t.search, w = t.setPointer, D = t.selectPointer, X = t.backwardPointer, ne = t.forwardPointer, C = t.multiselect, L = t.wrapper, Z = t.tags, J = t.isOpen, se = t.open, me = t.blur, N = t.fo, x = _(() => p.value || h.value || !1), k = _(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), B = () => {
4554
+ s.value === "tags" && !o.value && x.value && i.value && !d.value && w(N.value[N.value.map((V) => V[v.value]).indexOf(b.value)]);
4555
4555
  }, le = (V) => {
4556
4556
  let G = V.length - 1;
4557
4557
  for (; G >= 0 && (V[G].remove === !1 || V[G].disabled); )
@@ -4560,42 +4560,42 @@ function X0(a, e, t) {
4560
4560
  };
4561
4561
  return {
4562
4562
  handleKeydown: (V) => {
4563
- e.emit("keydown", V, w);
4563
+ e.emit("keydown", V, $);
4564
4564
  let G, te;
4565
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...C.value.querySelectorAll("[data-tags] > *")].filter((_e) => _e !== B.value), te = G.findIndex((_e) => _e === document.activeElement)), V.key) {
4565
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...C.value.querySelectorAll("[data-tags] > *")].filter((_e) => _e !== Z.value), te = G.findIndex((_e) => _e === document.activeElement)), V.key) {
4566
4566
  case "Backspace":
4567
- if (s.value === "single" || i.value && [null, ""].indexOf(b.value) === -1 || I.value.length === 0)
4567
+ if (s.value === "single" || i.value && [null, ""].indexOf(b.value) === -1 || A.value.length === 0)
4568
4568
  return;
4569
- E(le([...I.value]));
4569
+ E(le([...A.value]));
4570
4570
  break;
4571
4571
  case "Enter":
4572
4572
  if (V.preventDefault(), V.keyCode === 229)
4573
4573
  return;
4574
4574
  if (te !== -1 && te !== void 0) {
4575
- E([...I.value].filter((_e, Me) => Me !== te)), te === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : i.value ? B.value.querySelector("input").focus() : L.value.focus());
4575
+ E([...A.value].filter((_e, Me) => Me !== te)), te === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : i.value ? Z.value.querySelector("input").focus() : L.value.focus());
4576
4576
  return;
4577
4577
  }
4578
4578
  if (k.value.indexOf("enter") === -1 && x.value)
4579
4579
  return;
4580
- j(), D();
4580
+ B(), D();
4581
4581
  break;
4582
4582
  case " ":
4583
4583
  if (!x.value && !i.value) {
4584
- V.preventDefault(), j(), D();
4584
+ V.preventDefault(), B(), D();
4585
4585
  return;
4586
4586
  }
4587
4587
  if (!x.value)
4588
4588
  return !1;
4589
4589
  if (k.value.indexOf("space") === -1 && x.value)
4590
4590
  return;
4591
- V.preventDefault(), j(), D();
4591
+ V.preventDefault(), B(), D();
4592
4592
  break;
4593
4593
  case "Tab":
4594
4594
  case ";":
4595
4595
  case ",":
4596
4596
  if (k.value.indexOf(V.key.toLowerCase()) === -1 || !x.value)
4597
4597
  return;
4598
- j(), D(), V.preventDefault();
4598
+ B(), D(), V.preventDefault();
4599
4599
  break;
4600
4600
  case "Escape":
4601
4601
  me();
@@ -4611,21 +4611,21 @@ function X0(a, e, t) {
4611
4611
  J.value || se(), ne();
4612
4612
  break;
4613
4613
  case "ArrowLeft":
4614
- if (i.value && B.value && B.value.querySelector("input").selectionStart || V.shiftKey || s.value !== "tags" || !I.value || !I.value.length)
4614
+ if (i.value && Z.value && Z.value.querySelector("input").selectionStart || V.shiftKey || s.value !== "tags" || !A.value || !A.value.length)
4615
4615
  return;
4616
4616
  V.preventDefault(), te === -1 ? G[G.length - 1].focus() : te > 0 && G[te - 1].focus();
4617
4617
  break;
4618
4618
  case "ArrowRight":
4619
- if (te === -1 || V.shiftKey || s.value !== "tags" || !I.value || !I.value.length)
4619
+ if (te === -1 || V.shiftKey || s.value !== "tags" || !A.value || !A.value.length)
4620
4620
  return;
4621
- V.preventDefault(), G.length > te + 1 ? G[te + 1].focus() : i.value ? B.value.querySelector("input").focus() : i.value || L.value.focus();
4621
+ V.preventDefault(), G.length > te + 1 ? G[te + 1].focus() : i.value ? Z.value.querySelector("input").focus() : i.value || L.value.focus();
4622
4622
  break;
4623
4623
  }
4624
4624
  },
4625
4625
  handleKeyup: (V) => {
4626
- e.emit("keyup", V, w);
4626
+ e.emit("keyup", V, $);
4627
4627
  },
4628
- preparePointer: j
4628
+ preparePointer: B
4629
4629
  };
4630
4630
  }
4631
4631
  function Q0(a, e, t) {
@@ -4634,7 +4634,7 @@ function Q0(a, e, t) {
4634
4634
  disabled: n,
4635
4635
  openDirection: l,
4636
4636
  showOptions: i
4637
- } = ye(a), o = t.isOpen, v = t.isPointed, d = t.isSelected, u = t.isDisabled, p = t.isActive, h = t.canPointGroups, y = t.resolving, w = t.fo, I = _(() => ({
4637
+ } = ye(a), o = t.isOpen, v = t.isPointed, d = t.isSelected, u = t.isDisabled, p = t.isActive, h = t.canPointGroups, y = t.resolving, $ = t.fo, A = _(() => ({
4638
4638
  container: "multiselect",
4639
4639
  containerDisabled: "is-disabled",
4640
4640
  containerOpen: "is-open",
@@ -4687,49 +4687,49 @@ function Q0(a, e, t) {
4687
4687
  assist: "multiselect-assistive-text",
4688
4688
  spacer: "multiselect-spacer",
4689
4689
  ...s.value
4690
- })), E = _(() => !!(o.value && i.value && (!y.value || y.value && w.value.length)));
4690
+ })), E = _(() => !!(o.value && i.value && (!y.value || y.value && $.value.length)));
4691
4691
  return {
4692
4692
  classList: _(() => {
4693
- const $ = I.value;
4693
+ const w = A.value;
4694
4694
  return {
4695
- container: [$.container].concat(n.value ? $.containerDisabled : []).concat(E.value && l.value === "top" ? $.containerOpenTop : []).concat(E.value && l.value !== "top" ? $.containerOpen : []).concat(p.value ? $.containerActive : []),
4696
- wrapper: $.wrapper,
4697
- spacer: $.spacer,
4698
- singleLabel: $.singleLabel,
4699
- singleLabelText: $.singleLabelText,
4700
- multipleLabel: $.multipleLabel,
4701
- search: $.search,
4702
- tags: $.tags,
4703
- tag: [$.tag].concat(n.value ? $.tagDisabled : []),
4704
- tagDisabled: $.tagDisabled,
4705
- tagRemove: $.tagRemove,
4706
- tagRemoveIcon: $.tagRemoveIcon,
4707
- tagsSearchWrapper: $.tagsSearchWrapper,
4708
- tagsSearch: $.tagsSearch,
4709
- tagsSearchCopy: $.tagsSearchCopy,
4710
- placeholder: $.placeholder,
4711
- caret: [$.caret].concat(o.value ? $.caretOpen : []),
4712
- clear: $.clear,
4713
- clearIcon: $.clearIcon,
4714
- spinner: $.spinner,
4715
- inifinite: $.inifinite,
4716
- inifiniteSpinner: $.inifiniteSpinner,
4717
- dropdown: [$.dropdown].concat(l.value === "top" ? $.dropdownTop : []).concat(!o.value || !i.value || !E.value ? $.dropdownHidden : []),
4718
- options: [$.options].concat(l.value === "top" ? $.optionsTop : []),
4719
- group: $.group,
4695
+ container: [w.container].concat(n.value ? w.containerDisabled : []).concat(E.value && l.value === "top" ? w.containerOpenTop : []).concat(E.value && l.value !== "top" ? w.containerOpen : []).concat(p.value ? w.containerActive : []),
4696
+ wrapper: w.wrapper,
4697
+ spacer: w.spacer,
4698
+ singleLabel: w.singleLabel,
4699
+ singleLabelText: w.singleLabelText,
4700
+ multipleLabel: w.multipleLabel,
4701
+ search: w.search,
4702
+ tags: w.tags,
4703
+ tag: [w.tag].concat(n.value ? w.tagDisabled : []),
4704
+ tagDisabled: w.tagDisabled,
4705
+ tagRemove: w.tagRemove,
4706
+ tagRemoveIcon: w.tagRemoveIcon,
4707
+ tagsSearchWrapper: w.tagsSearchWrapper,
4708
+ tagsSearch: w.tagsSearch,
4709
+ tagsSearchCopy: w.tagsSearchCopy,
4710
+ placeholder: w.placeholder,
4711
+ caret: [w.caret].concat(o.value ? w.caretOpen : []),
4712
+ clear: w.clear,
4713
+ clearIcon: w.clearIcon,
4714
+ spinner: w.spinner,
4715
+ inifinite: w.inifinite,
4716
+ inifiniteSpinner: w.inifiniteSpinner,
4717
+ dropdown: [w.dropdown].concat(l.value === "top" ? w.dropdownTop : []).concat(!o.value || !i.value || !E.value ? w.dropdownHidden : []),
4718
+ options: [w.options].concat(l.value === "top" ? w.optionsTop : []),
4719
+ group: w.group,
4720
4720
  groupLabel: (D) => {
4721
- let X = [$.groupLabel];
4722
- return v(D) ? X.push(d(D) ? $.groupLabelSelectedPointed : $.groupLabelPointed) : d(D) && h.value ? X.push(u(D) ? $.groupLabelSelectedDisabled : $.groupLabelSelected) : u(D) && X.push($.groupLabelDisabled), h.value && X.push($.groupLabelPointable), X;
4721
+ let X = [w.groupLabel];
4722
+ return v(D) ? X.push(d(D) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : d(D) && h.value ? X.push(u(D) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : u(D) && X.push(w.groupLabelDisabled), h.value && X.push(w.groupLabelPointable), X;
4723
4723
  },
4724
- groupOptions: $.groupOptions,
4724
+ groupOptions: w.groupOptions,
4725
4725
  option: (D, X) => {
4726
- let ne = [$.option];
4727
- return v(D) ? ne.push(d(D) ? $.optionSelectedPointed : $.optionPointed) : d(D) ? ne.push(u(D) ? $.optionSelectedDisabled : $.optionSelected) : (u(D) || X && u(X)) && ne.push($.optionDisabled), ne;
4726
+ let ne = [w.option];
4727
+ return v(D) ? ne.push(d(D) ? w.optionSelectedPointed : w.optionPointed) : d(D) ? ne.push(u(D) ? w.optionSelectedDisabled : w.optionSelected) : (u(D) || X && u(X)) && ne.push(w.optionDisabled), ne;
4728
4728
  },
4729
- noOptions: $.noOptions,
4730
- noResults: $.noResults,
4731
- assist: $.assist,
4732
- fakeInput: $.fakeInput
4729
+ noOptions: w.noOptions,
4730
+ noResults: w.noResults,
4731
+ assist: w.assist,
4732
+ fakeInput: w.fakeInput
4733
4733
  };
4734
4734
  }),
4735
4735
  showDropdown: E
@@ -4739,23 +4739,23 @@ function J0(a, e, t) {
4739
4739
  const {
4740
4740
  limit: s,
4741
4741
  infinite: n
4742
- } = ye(a), l = t.isOpen, i = t.offset, o = t.search, v = t.pfo, d = t.eo, u = ee(null), p = ee(null), h = _(() => i.value < v.value.length), y = (I) => {
4743
- const { isIntersecting: E, target: b } = I[0];
4742
+ } = ye(a), l = t.isOpen, i = t.offset, o = t.search, v = t.pfo, d = t.eo, u = ee(null), p = ee(null), h = _(() => i.value < v.value.length), y = (A) => {
4743
+ const { isIntersecting: E, target: b } = A[0];
4744
4744
  if (E) {
4745
- const $ = b.offsetParent, D = $.scrollTop;
4745
+ const w = b.offsetParent, D = w.scrollTop;
4746
4746
  i.value += s.value == -1 ? 10 : s.value, Ze(() => {
4747
- $.scrollTop = D;
4747
+ w.scrollTop = D;
4748
4748
  });
4749
4749
  }
4750
- }, w = () => {
4750
+ }, $ = () => {
4751
4751
  l.value && i.value < v.value.length ? u.value.observe(p.value) : !l.value && u.value && u.value.disconnect();
4752
4752
  };
4753
4753
  return fe(l, () => {
4754
- n.value && w();
4754
+ n.value && $();
4755
4755
  }), fe(o, () => {
4756
- n.value && (i.value = s.value, w());
4756
+ n.value && (i.value = s.value, $());
4757
4757
  }, { flush: "post" }), fe(d, () => {
4758
- n.value && w();
4758
+ n.value && $();
4759
4759
  }, { immediate: !1, flush: "post" }), Ot(() => {
4760
4760
  window && window.IntersectionObserver && (u.value = new IntersectionObserver(y));
4761
4761
  }), {
@@ -4773,26 +4773,26 @@ function e5(a, e, t) {
4773
4773
  groupLabel: v,
4774
4774
  aria: d,
4775
4775
  searchable: u
4776
- } = ye(a), p = t.pointer, h = t.iv, y = t.hasSelected, w = t.multipleLabelText, I = ee(null), E = _(() => {
4776
+ } = ye(a), p = t.pointer, h = t.iv, y = t.hasSelected, $ = t.multipleLabelText, A = ee(null), E = _(() => {
4777
4777
  let N = [];
4778
4778
  return n && n.value && N.push(n.value), N.push("assist"), N.join("-");
4779
4779
  }), b = _(() => {
4780
4780
  let N = [];
4781
4781
  return n && n.value && N.push(n.value), N.push("multiselect-options"), N.join("-");
4782
- }), $ = _(() => {
4782
+ }), w = _(() => {
4783
4783
  let N = [];
4784
4784
  if (n && n.value && N.push(n.value), p.value)
4785
4785
  return N.push(p.value.group ? "multiselect-group" : "multiselect-option"), N.push(p.value.group ? p.value.index : p.value[l.value]), N.join("-");
4786
4786
  }), D = _(() => s.value), X = _(() => o.value !== "single"), ne = _(() => {
4787
4787
  let N = "";
4788
- return o.value === "single" && y.value && (N += h.value[i.value]), o.value === "multiple" && y.value && (N += w.value), o.value === "tags" && y.value && (N += h.value.map((x) => x[i.value]).join(", ")), N;
4788
+ return o.value === "single" && y.value && (N += h.value[i.value]), o.value === "multiple" && y.value && (N += $.value), o.value === "tags" && y.value && (N += h.value.map((x) => x[i.value]).join(", ")), N;
4789
4789
  }), C = _(() => {
4790
4790
  let N = { ...d.value };
4791
4791
  return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${E.value} ${N["aria-labelledby"]}` : E.value, ne.value && N["aria-label"] && (N["aria-label"] = `${ne.value}, ${N["aria-label"]}`)), N;
4792
4792
  }), L = (N) => {
4793
4793
  let x = [];
4794
4794
  return n && n.value && x.push(n.value), x.push("multiselect-option"), x.push(N[l.value]), x.join("-");
4795
- }, B = (N) => {
4795
+ }, Z = (N) => {
4796
4796
  let x = [];
4797
4797
  return n && n.value && x.push(n.value), x.push("multiselect-group"), x.push(N.index), x.join("-");
4798
4798
  }, J = (N) => {
@@ -4805,7 +4805,7 @@ function e5(a, e, t) {
4805
4805
  return Ot(() => {
4806
4806
  if (n && n.value && document && document.querySelector) {
4807
4807
  let N = document.querySelector(`[for="${n.value}"]`);
4808
- I.value = N ? N.innerText : null;
4808
+ A.value = N ? N.innerText : null;
4809
4809
  }
4810
4810
  }), {
4811
4811
  arias: C,
@@ -4814,10 +4814,10 @@ function e5(a, e, t) {
4814
4814
  ariaControls: b,
4815
4815
  ariaPlaceholder: D,
4816
4816
  ariaMultiselectable: X,
4817
- ariaActiveDescendant: $,
4817
+ ariaActiveDescendant: w,
4818
4818
  ariaOptionId: L,
4819
4819
  ariaOptionLabel: J,
4820
- ariaGroupId: B,
4820
+ ariaGroupId: Z,
4821
4821
  ariaGroupLabel: se,
4822
4822
  ariaTagLabel: me
4823
4823
  };
@@ -5178,9 +5178,9 @@ var pe = {
5178
5178
  return a5(a, e, [
5179
5179
  t5,
5180
5180
  R0,
5181
- F0,
5182
- K0,
5183
5181
  q0,
5182
+ K0,
5183
+ F0,
5184
5184
  j0,
5185
5185
  x0,
5186
5186
  Y0,
@@ -5267,7 +5267,7 @@ function $5(a, e, t, s, n, l) {
5267
5267
  "aria-label": a.ariaTagLabel(a.localize(i[t.label]))
5268
5268
  }, [
5269
5269
  t1(
5270
- R(a.localize(i[t.label])) + " ",
5270
+ j(a.localize(i[t.label])) + " ",
5271
5271
  1
5272
5272
  /* TEXT */
5273
5273
  ),
@@ -5304,7 +5304,7 @@ function $5(a, e, t, s, n, l) {
5304
5304
  {
5305
5305
  class: W(a.classList.tagsSearchCopy)
5306
5306
  },
5307
- R(a.search),
5307
+ j(a.search),
5308
5308
  3
5309
5309
  /* TEXT, CLASS */
5310
5310
  ),
@@ -5355,7 +5355,7 @@ function $5(a, e, t, s, n, l) {
5355
5355
  {
5356
5356
  class: W(a.classList.singleLabelText)
5357
5357
  },
5358
- R(a.localize(a.iv[t.label])),
5358
+ j(a.localize(a.iv[t.label])),
5359
5359
  3
5360
5360
  /* TEXT, CLASS */
5361
5361
  )
@@ -5382,7 +5382,7 @@ function $5(a, e, t, s, n, l) {
5382
5382
  class: W(a.classList.placeholder),
5383
5383
  "aria-hidden": "true"
5384
5384
  },
5385
- R(t.placeholder),
5385
+ j(t.placeholder),
5386
5386
  3
5387
5387
  /* TEXT, CLASS */
5388
5388
  )
@@ -5518,7 +5518,7 @@ function $5(a, e, t, s, n, l) {
5518
5518
  r(
5519
5519
  "span",
5520
5520
  null,
5521
- R(a.localize(d[t.label])),
5521
+ j(a.localize(d[t.label])),
5522
5522
  1
5523
5523
  /* TEXT */
5524
5524
  )
@@ -5555,7 +5555,7 @@ function $5(a, e, t, s, n, l) {
5555
5555
  r(
5556
5556
  "span",
5557
5557
  null,
5558
- R(a.localize(i[t.label])),
5558
+ j(a.localize(i[t.label])),
5559
5559
  1
5560
5560
  /* TEXT */
5561
5561
  )
@@ -5645,7 +5645,7 @@ function $5(a, e, t, s, n, l) {
5645
5645
  class: W(a.classList.assist),
5646
5646
  id: a.ariaAssist,
5647
5647
  "aria-hidden": "true"
5648
- }, R(a.ariaLabel), 11, w5)) : T("v-if", !0),
5648
+ }, j(a.ariaLabel), 11, w5)) : T("v-if", !0),
5649
5649
  T(" Create height for empty input "),
5650
5650
  r(
5651
5651
  "div",
@@ -5663,7 +5663,7 @@ pe.__file = "src/Multiselect.vue";
5663
5663
  const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, T5 = { class: "ao-modal__header" }, S5 = { class: "ao-modal__header-meta" }, A5 = {
5664
5664
  key: 0,
5665
5665
  class: "ao-modal__title-group"
5666
- }, I5 = { class: "ao-modal__body" }, q1 = /* @__PURE__ */ Y({
5666
+ }, I5 = { class: "ao-modal__body" }, F1 = /* @__PURE__ */ Y({
5667
5667
  __name: "AoModal",
5668
5668
  emits: ["close"],
5669
5669
  setup(a) {
@@ -5732,7 +5732,7 @@ const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value
5732
5732
  props: {
5733
5733
  activityId: {},
5734
5734
  tasks: {},
5735
- isCheckable: { type: Boolean },
5735
+ isCheckable: { type: Function },
5736
5736
  users: {}
5737
5737
  },
5738
5738
  emits: ["add", "delete", "update"],
@@ -5773,12 +5773,12 @@ const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value
5773
5773
  return (u, p) => (c(), f("div", L5, [
5774
5774
  r("ul", E5, [
5775
5775
  (c(!0), f(oe, null, he(u.tasks, (h) => {
5776
- var y;
5776
+ var y, $;
5777
5777
  return c(), f("li", {
5778
5778
  key: h.id,
5779
5779
  class: "ao-subtask"
5780
5780
  }, [
5781
- u.isCheckable ? (c(), U(de, {
5781
+ ((y = u.isCheckable) == null ? void 0 : y.call(u, h)) ?? !1 ? (c(), R(de, {
5782
5782
  key: 0,
5783
5783
  class: "ao-subtask__delete",
5784
5784
  "icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -5789,23 +5789,23 @@ const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value
5789
5789
  value: h.name,
5790
5790
  class: "ao-field__input ao-subtask__field",
5791
5791
  type: "text",
5792
- onChange: (w) => i(w, h.id)
5792
+ onChange: (A) => i(A, h.id)
5793
5793
  }, null, 40, V5),
5794
- u.users ? (c(), U(H(pe), {
5794
+ u.users ? (c(), R(H(pe), {
5795
5795
  key: 1,
5796
- value: (y = h.assignee) == null ? void 0 : y.id,
5796
+ value: ($ = h.assignee) == null ? void 0 : $.id,
5797
5797
  options: n.value,
5798
5798
  "close-on-select": !1,
5799
5799
  searchable: !0,
5800
5800
  class: "ao-subtask__assignees",
5801
5801
  placeholder: u.$t("feed.filters.assignee.placeholder"),
5802
- onChange: (w) => d(w, h.id)
5802
+ onChange: (A) => d(A, h.id)
5803
5803
  }, {
5804
- tag: q(({ option: w, handleTagRemove: I }) => [
5804
+ tag: F(({ option: A, handleTagRemove: E }) => [
5805
5805
  M(tt, {
5806
- "user-name": w.label,
5806
+ "user-name": A.label,
5807
5807
  "is-closable": !0,
5808
- onClose: (E) => I(w, E)
5808
+ onClose: (b) => E(A, b)
5809
5809
  }, null, 8, ["user-name", "onClose"])
5810
5810
  ]),
5811
5811
  _: 2
@@ -5837,7 +5837,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5837
5837
  }, B5 = ["href"], Z5 = { class: "ao-file__title" }, U5 = {
5838
5838
  key: 1,
5839
5839
  class: "ao-files__dropzone"
5840
- }, j5 = { class: "ao-files__input" }, R5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, q5 = { class: "ao-files__placeholder" }, F5 = /* @__PURE__ */ Y({
5840
+ }, j5 = { class: "ao-files__input" }, R5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, F5 = { class: "ao-files__placeholder" }, q5 = /* @__PURE__ */ Y({
5841
5841
  __name: "AoActivityDetailsFiles",
5842
5842
  props: {
5843
5843
  attachments: {}
@@ -5908,7 +5908,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5908
5908
  name: "AttachFileRounded",
5909
5909
  size: "sm"
5910
5910
  }),
5911
- r("span", Z5, R(h.name), 1)
5911
+ r("span", Z5, j(h.name), 1)
5912
5912
  ], 8, B5),
5913
5913
  M(de, {
5914
5914
  class: "ao-files__delete-button",
@@ -5922,7 +5922,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5922
5922
  ]))), 128))
5923
5923
  ])) : (c(), f("div", U5, [
5924
5924
  r("label", j5, [
5925
- r("span", R5, R(d.$t("activity.attachment.button.resting")), 1),
5925
+ r("span", R5, j(d.$t("activity.attachment.button.resting")), 1),
5926
5926
  r("input", {
5927
5927
  class: "input-field",
5928
5928
  type: "file",
@@ -5932,7 +5932,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5932
5932
  onChange: s
5933
5933
  }, null, 32)
5934
5934
  ]),
5935
- r("span", q5, R(d.$t("activity.attachment.placeholder.resting")), 1)
5935
+ r("span", F5, j(d.$t("activity.attachment.placeholder.resting")), 1)
5936
5936
  ]))
5937
5937
  ], 42, P5);
5938
5938
  };
@@ -5952,7 +5952,7 @@ const z5 = {
5952
5952
  templateMilestones: {},
5953
5953
  isTemplate: { type: Boolean },
5954
5954
  users: {},
5955
- isTaskCheckable: { type: Boolean }
5955
+ isTaskCheckable: { type: Function }
5956
5956
  },
5957
5957
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile"],
5958
5958
  setup(a, { emit: e }) {
@@ -6007,7 +6007,7 @@ const z5 = {
6007
6007
  var L;
6008
6008
  return {
6009
6009
  ...C,
6010
- disabled: (L = t.activity.blocking) == null ? void 0 : L.some((B) => B === C.value)
6010
+ disabled: (L = t.activity.blocking) == null ? void 0 : L.some((Z) => Z === C.value)
6011
6011
  };
6012
6012
  })), p = _({
6013
6013
  get() {
@@ -6023,12 +6023,12 @@ const z5 = {
6023
6023
  var L;
6024
6024
  return {
6025
6025
  ...C,
6026
- disabled: (L = t.activity.dependingOn) == null ? void 0 : L.some((B) => B === C.value)
6026
+ disabled: (L = t.activity.dependingOn) == null ? void 0 : L.some((Z) => Z === C.value)
6027
6027
  };
6028
6028
  })), y = _(() => (t.templateMilestones || []).filter((L) => L.id !== t.milestoneId).map((L) => ({
6029
6029
  label: L.name,
6030
6030
  value: L.id
6031
- }))), w = _({
6031
+ }))), $ = _({
6032
6032
  get() {
6033
6033
  return t.activity.dependingMilestones;
6034
6034
  },
@@ -6038,13 +6038,13 @@ const z5 = {
6038
6038
  dependingMilestones: C
6039
6039
  });
6040
6040
  }
6041
- }), I = (C) => {
6041
+ }), A = (C) => {
6042
6042
  e("addSubtask", C);
6043
6043
  }, E = (C) => {
6044
6044
  e("updateSubtask", C);
6045
6045
  }, b = (C) => {
6046
6046
  e("deleteSubtask", C);
6047
- }, $ = _(() => {
6047
+ }, w = _(() => {
6048
6048
  var C;
6049
6049
  return ((C = t.users) == null ? void 0 : C.map((L) => ({
6050
6050
  label: `${L.firstName} ${L.lastName}`,
@@ -6072,12 +6072,12 @@ const z5 = {
6072
6072
  file: C
6073
6073
  });
6074
6074
  };
6075
- return (C, L) => (c(), U(q1, {
6076
- onClose: L[8] || (L[8] = (B) => C.$emit("close"))
6075
+ return (C, L) => (c(), R(F1, {
6076
+ onClose: L[8] || (L[8] = (Z) => C.$emit("close"))
6077
6077
  }, {
6078
- header: q(() => [
6078
+ header: F(() => [
6079
6079
  K(C.$slots, "header", {}, () => [
6080
- C.breadcrumbs ? (c(), f("div", z5, R(C.breadcrumbs), 1)) : T("", !0),
6080
+ C.breadcrumbs ? (c(), f("div", z5, j(C.breadcrumbs), 1)) : T("", !0),
6081
6081
  M(ve, {
6082
6082
  title: C.activity.name || C.activity.id,
6083
6083
  level: 4,
@@ -6086,14 +6086,14 @@ const z5 = {
6086
6086
  }, null, 8, ["title"])
6087
6087
  ])
6088
6088
  ]),
6089
- default: q(() => [
6089
+ default: F(() => [
6090
6090
  r("div", W5, [
6091
6091
  r("fieldset", Y5, [
6092
6092
  r("div", G5, [
6093
6093
  r("label", K5, [
6094
- r("span", x5, R(C.$t("activity.description.label")), 1),
6094
+ r("span", x5, j(C.$t("activity.description.label")), 1),
6095
6095
  xe(r("textarea", {
6096
- "onUpdate:modelValue": L[0] || (L[0] = (B) => n.value = B),
6096
+ "onUpdate:modelValue": L[0] || (L[0] = (Z) => n.value = Z),
6097
6097
  rows: "4",
6098
6098
  class: "ao-field__textarea"
6099
6099
  }, null, 512), [
@@ -6111,9 +6111,9 @@ const z5 = {
6111
6111
  ]),
6112
6112
  r("div", X5, [
6113
6113
  r("label", Q5, [
6114
- r("span", J5, R(C.$t("activity.estimation.label")), 1),
6114
+ r("span", J5, j(C.$t("activity.estimation.label")), 1),
6115
6115
  xe(r("input", {
6116
- "onUpdate:modelValue": L[1] || (L[1] = (B) => l.value = B),
6116
+ "onUpdate:modelValue": L[1] || (L[1] = (Z) => l.value = Z),
6117
6117
  class: "ao-field__input",
6118
6118
  type: "number",
6119
6119
  min: "0"
@@ -6130,9 +6130,9 @@ const z5 = {
6130
6130
  ])
6131
6131
  ]),
6132
6132
  r("label", e7, [
6133
- r("span", t7, R(C.$t("activity.important.label")), 1),
6133
+ r("span", t7, j(C.$t("activity.important.label")), 1),
6134
6134
  xe(r("input", {
6135
- "onUpdate:modelValue": L[2] || (L[2] = (B) => i.value = B),
6135
+ "onUpdate:modelValue": L[2] || (L[2] = (Z) => i.value = Z),
6136
6136
  class: "ao-field__input",
6137
6137
  type: "checkbox"
6138
6138
  }, null, 512), [
@@ -6147,21 +6147,21 @@ const z5 = {
6147
6147
  ]),
6148
6148
  r("div", a7, [
6149
6149
  r("div", n7, [
6150
- r("span", s7, R(C.$t("activity.assignee.label")), 1),
6150
+ r("span", s7, j(C.$t("activity.assignee.label")), 1),
6151
6151
  M(H(pe), {
6152
6152
  modelValue: D.value,
6153
- "onUpdate:modelValue": L[3] || (L[3] = (B) => D.value = B),
6154
- options: $.value,
6153
+ "onUpdate:modelValue": L[3] || (L[3] = (Z) => D.value = Z),
6154
+ options: w.value,
6155
6155
  "close-on-select": !1,
6156
6156
  searchable: !0,
6157
6157
  class: "ao-activity-details__assignees",
6158
6158
  placeholder: C.$t("activity.filters.assignee.placeholder")
6159
6159
  }, {
6160
- tag: q(({ option: B, handleTagRemove: J }) => [
6160
+ tag: F(({ option: Z, handleTagRemove: J }) => [
6161
6161
  M(tt, {
6162
- "user-name": B.label,
6162
+ "user-name": Z.label,
6163
6163
  "is-closable": !0,
6164
- onClose: (se) => J(B, se)
6164
+ onClose: (se) => J(Z, se)
6165
6165
  }, null, 8, ["user-name", "onClose"])
6166
6166
  ]),
6167
6167
  _: 1
@@ -6170,10 +6170,10 @@ const z5 = {
6170
6170
  ]),
6171
6171
  r("div", i7, [
6172
6172
  r("label", l7, [
6173
- r("span", o7, R(C.$t("activity.type.label")), 1),
6173
+ r("span", o7, j(C.$t("activity.type.label")), 1),
6174
6174
  M(H(pe), {
6175
6175
  modelValue: o.value,
6176
- "onUpdate:modelValue": L[4] || (L[4] = (B) => o.value = B),
6176
+ "onUpdate:modelValue": L[4] || (L[4] = (Z) => o.value = Z),
6177
6177
  class: "ao-field__multiselect",
6178
6178
  mode: "single",
6179
6179
  searchable: !0,
@@ -6194,10 +6194,10 @@ const z5 = {
6194
6194
  ]),
6195
6195
  r("div", c7, [
6196
6196
  r("label", d7, [
6197
- r("span", v7, R(C.$t("activity.dependingOn.label")), 1),
6197
+ r("span", v7, j(C.$t("activity.dependingOn.label")), 1),
6198
6198
  M(H(pe), {
6199
6199
  modelValue: d.value,
6200
- "onUpdate:modelValue": L[5] || (L[5] = (B) => d.value = B),
6200
+ "onUpdate:modelValue": L[5] || (L[5] = (Z) => d.value = Z),
6201
6201
  class: "ao-field__multiselect",
6202
6202
  mode: "tags",
6203
6203
  "close-on-select": !1,
@@ -6208,10 +6208,10 @@ const z5 = {
6208
6208
  ]),
6209
6209
  r("div", m7, [
6210
6210
  r("label", f7, [
6211
- r("span", h7, R(C.$t("activity.blocking.label")), 1),
6211
+ r("span", h7, j(C.$t("activity.blocking.label")), 1),
6212
6212
  M(H(pe), {
6213
6213
  modelValue: p.value,
6214
- "onUpdate:modelValue": L[6] || (L[6] = (B) => p.value = B),
6214
+ "onUpdate:modelValue": L[6] || (L[6] = (Z) => p.value = Z),
6215
6215
  class: "ao-field__multiselect",
6216
6216
  mode: "tags",
6217
6217
  "close-on-select": !1,
@@ -6222,10 +6222,10 @@ const z5 = {
6222
6222
  ]),
6223
6223
  r("div", p7, [
6224
6224
  r("label", C7, [
6225
- r("span", _7, R(C.$t("activity.dependingMilestone.label")), 1),
6225
+ r("span", _7, j(C.$t("activity.dependingMilestone.label")), 1),
6226
6226
  M(H(pe), {
6227
- modelValue: w.value,
6228
- "onUpdate:modelValue": L[7] || (L[7] = (B) => w.value = B),
6227
+ modelValue: $.value,
6228
+ "onUpdate:modelValue": L[7] || (L[7] = (Z) => $.value = Z),
6229
6229
  class: "ao-field__multiselect",
6230
6230
  mode: "tags",
6231
6231
  "close-on-select": !1,
@@ -6249,7 +6249,7 @@ const z5 = {
6249
6249
  "activity-id": C.activity.id,
6250
6250
  users: C.users,
6251
6251
  "is-checkable": C.isTaskCheckable,
6252
- onAdd: I,
6252
+ onAdd: A,
6253
6253
  onUpdate: E,
6254
6254
  onDelete: b
6255
6255
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable"])
@@ -6264,7 +6264,7 @@ const z5 = {
6264
6264
  title: C.$t("activity.attachments.title")
6265
6265
  }, null, 8, ["title"])
6266
6266
  ]),
6267
- M(F5, {
6267
+ M(q5, {
6268
6268
  attachments: C.activity.attachments,
6269
6269
  onAdd: X,
6270
6270
  onRemove: ne
@@ -6279,11 +6279,11 @@ const $7 = {
6279
6279
  todo: "todo",
6280
6280
  done: "done",
6281
6281
  archived: "archived"
6282
- }, Gd = {
6282
+ }, Xd = {
6283
6283
  months: "months",
6284
6284
  weeks: "weeks",
6285
6285
  days: "days"
6286
- }, Kd = {
6286
+ }, Qd = {
6287
6287
  future: "future",
6288
6288
  this_month: "this_month",
6289
6289
  this_week: "this_week",
@@ -6307,7 +6307,7 @@ const $7 = {
6307
6307
  TASKS: "tasks"
6308
6308
  };
6309
6309
  var S7 = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(S7 || {});
6310
- const xd = {
6310
+ const Jd = {
6311
6311
  add: "add",
6312
6312
  remove: "remove",
6313
6313
  moved: "moved"
@@ -6351,12 +6351,12 @@ const xd = {
6351
6351
  });
6352
6352
  }
6353
6353
  }), o = _(() => {
6354
- var $;
6355
- return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : ($ = {
6354
+ var w;
6355
+ return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (w = {
6356
6356
  [ue.ACTIVITIES]: t.templateActivities,
6357
6357
  [ue.MILESTONES]: t.templateMilestones,
6358
6358
  [ue.PHASES]: t.templatePhases
6359
- }[s.value]) == null ? void 0 : $.map((D) => ({
6359
+ }[s.value]) == null ? void 0 : w.map((D) => ({
6360
6360
  value: D.id,
6361
6361
  label: D.name
6362
6362
  }));
@@ -6374,14 +6374,14 @@ const xd = {
6374
6374
  set(b) {
6375
6375
  e("update:rule", { ...t.rule, trigger: b });
6376
6376
  }
6377
- }), y = _(() => Object.values(k7)), w = _({
6377
+ }), y = _(() => Object.values(k7)), $ = _({
6378
6378
  get() {
6379
6379
  return t.rule.duration;
6380
6380
  },
6381
6381
  set(b) {
6382
6382
  e("update:rule", { ...t.rule, duration: b });
6383
6383
  }
6384
- }), I = _({
6384
+ }), A = _({
6385
6385
  get() {
6386
6386
  return t.rule.durationUnit;
6387
6387
  },
@@ -6389,50 +6389,50 @@ const xd = {
6389
6389
  e("update:rule", { ...t.rule, durationUnit: b });
6390
6390
  }
6391
6391
  }), E = _(() => Object.values(T7));
6392
- return (b, $) => (c(), U(Je(b.tagName), { class: "ao-rule-line" }, {
6393
- default: q(() => [
6392
+ return (b, w) => (c(), R(Je(b.tagName), { class: "ao-rule-line" }, {
6393
+ default: F(() => [
6394
6394
  M(H(pe), {
6395
6395
  modelValue: n.value,
6396
- "onUpdate:modelValue": $[0] || ($[0] = (D) => n.value = D),
6396
+ "onUpdate:modelValue": w[0] || (w[0] = (D) => n.value = D),
6397
6397
  options: l.value
6398
6398
  }, null, 8, ["modelValue", "options"]),
6399
6399
  M(H(pe), {
6400
6400
  modelValue: i.value,
6401
- "onUpdate:modelValue": $[1] || ($[1] = (D) => i.value = D),
6401
+ "onUpdate:modelValue": w[1] || (w[1] = (D) => i.value = D),
6402
6402
  options: o.value
6403
6403
  }, null, 8, ["modelValue", "options"]),
6404
6404
  M(H(pe), {
6405
6405
  modelValue: h.value,
6406
- "onUpdate:modelValue": $[2] || ($[2] = (D) => h.value = D),
6406
+ "onUpdate:modelValue": w[2] || (w[2] = (D) => h.value = D),
6407
6407
  options: y.value
6408
6408
  }, null, 8, ["modelValue", "options"]),
6409
6409
  M(H(pe), {
6410
6410
  modelValue: d.value,
6411
- "onUpdate:modelValue": $[3] || ($[3] = (D) => d.value = D),
6411
+ "onUpdate:modelValue": w[3] || (w[3] = (D) => d.value = D),
6412
6412
  options: u.value
6413
6413
  }, null, 8, ["modelValue", "options"]),
6414
6414
  xe(r("input", {
6415
- "onUpdate:modelValue": $[4] || ($[4] = (D) => w.value = D),
6415
+ "onUpdate:modelValue": w[4] || (w[4] = (D) => $.value = D),
6416
6416
  type: "number",
6417
6417
  min: "0"
6418
6418
  }, null, 512), [
6419
6419
  [
6420
6420
  ft,
6421
- w.value,
6421
+ $.value,
6422
6422
  void 0,
6423
6423
  { number: !0 }
6424
6424
  ]
6425
6425
  ]),
6426
6426
  M(H(pe), {
6427
- modelValue: I.value,
6428
- "onUpdate:modelValue": $[5] || ($[5] = (D) => I.value = D),
6427
+ modelValue: A.value,
6428
+ "onUpdate:modelValue": w[5] || (w[5] = (D) => A.value = D),
6429
6429
  options: E.value
6430
6430
  }, null, 8, ["modelValue", "options"]),
6431
6431
  M(de, {
6432
6432
  class: "ao-rule-line__remove",
6433
6433
  "icon-name": "CloseRounded",
6434
6434
  variant: "ghost",
6435
- onClick: $[6] || ($[6] = (D) => b.$emit("close"))
6435
+ onClick: w[6] || (w[6] = (D) => b.$emit("close"))
6436
6436
  })
6437
6437
  ]),
6438
6438
  _: 1
@@ -6455,17 +6455,17 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
6455
6455
  }, s = (n) => {
6456
6456
  e("removeRule", n);
6457
6457
  };
6458
- return (n, l) => (c(), U(q1, null, {
6459
- header: q(() => [
6458
+ return (n, l) => (c(), R(F1, null, {
6459
+ header: F(() => [
6460
6460
  M(ve, {
6461
6461
  title: n.$t("template.rules.title"),
6462
6462
  level: 2
6463
6463
  }, null, 8, ["title"])
6464
6464
  ]),
6465
- default: q(() => [
6465
+ default: F(() => [
6466
6466
  r("div", I7, [
6467
6467
  r("ul", O7, [
6468
- (c(!0), f(oe, null, he(n.rules, (i) => (c(), U(A7, {
6468
+ (c(!0), f(oe, null, he(n.rules, (i) => (c(), R(A7, {
6469
6469
  key: i.id,
6470
6470
  rule: i,
6471
6471
  "template-phases": n.templatePhases,
@@ -6575,7 +6575,7 @@ const E7 = {
6575
6575
  itemType: ue.TEMPLATES,
6576
6576
  data: { name: g }
6577
6577
  });
6578
- }, w = (g) => {
6578
+ }, $ = (g) => {
6579
6579
  e("removeItem", {
6580
6580
  type: ue.PHASES,
6581
6581
  templateId: t.templateId,
@@ -6583,7 +6583,7 @@ const E7 = {
6583
6583
  id: g
6584
6584
  }
6585
6585
  });
6586
- }, I = (g, P) => {
6586
+ }, A = (g, P) => {
6587
6587
  e("updateItem", {
6588
6588
  templateId: t.templateId,
6589
6589
  id: g,
@@ -6610,7 +6610,7 @@ const E7 = {
6610
6610
  phaseId: g.phaseId
6611
6611
  }
6612
6612
  });
6613
- }, $ = (g) => {
6613
+ }, w = (g) => {
6614
6614
  e("removeItem", {
6615
6615
  type: ue.MILESTONES,
6616
6616
  templateId: t.templateId,
@@ -6660,7 +6660,7 @@ const E7 = {
6660
6660
  templateId: t.templateId,
6661
6661
  data: V
6662
6662
  });
6663
- }, L = ee(!1), B = () => {
6663
+ }, L = ee(!1), Z = () => {
6664
6664
  L.value = !L.value;
6665
6665
  }, J = () => {
6666
6666
  e("addRule", { templateId: t.templateId });
@@ -6707,7 +6707,7 @@ const E7 = {
6707
6707
  templateId: t.templateId,
6708
6708
  data: g
6709
6709
  });
6710
- }, j = (g) => {
6710
+ }, B = (g) => {
6711
6711
  e("addFiles", g);
6712
6712
  }, le = (g) => {
6713
6713
  e("removeFile", g);
@@ -6717,25 +6717,25 @@ const E7 = {
6717
6717
  return n.value ? (c(), f("div", E7, [
6718
6718
  M(Zt, {
6719
6719
  "can-go-back": !0,
6720
- onGoBack: P[1] || (P[1] = (F) => g.$router.push({ name: H(dt).TEMPLATES_LIST }))
6720
+ onGoBack: P[1] || (P[1] = (q) => g.$router.push({ name: H(dt).TEMPLATES_LIST }))
6721
6721
  }, {
6722
- primary: q(() => [
6722
+ primary: F(() => [
6723
6723
  M(ve, {
6724
6724
  title: p.value,
6725
6725
  level: 2,
6726
6726
  "is-editable": !0,
6727
- "onUpdate:title": P[0] || (P[0] = (F) => {
6728
- y(F);
6727
+ "onUpdate:title": P[0] || (P[0] = (q) => {
6728
+ y(q);
6729
6729
  })
6730
6730
  }, null, 8, ["title"])
6731
6731
  ]),
6732
- secondary: q(() => [
6732
+ secondary: F(() => [
6733
6733
  M(de, {
6734
6734
  label: g.$t("template.rules.edit"),
6735
6735
  color: "primary",
6736
6736
  "icon-name": "Settings",
6737
6737
  "icon-position": "start",
6738
- onClick: B
6738
+ onClick: Z
6739
6739
  }, null, 8, ["label"])
6740
6740
  ]),
6741
6741
  _: 1
@@ -6750,33 +6750,33 @@ const E7 = {
6750
6750
  handle: ".ao-card__drag",
6751
6751
  onChange: me
6752
6752
  }, {
6753
- header: q(() => [
6753
+ header: F(() => [
6754
6754
  M(ve, {
6755
6755
  title: g.$t("template.phases.title"),
6756
6756
  level: 3,
6757
6757
  class: "ao-list__title"
6758
6758
  }, null, 8, ["title"])
6759
6759
  ]),
6760
- item: q(({ element: F }) => {
6760
+ item: F(({ element: q }) => {
6761
6761
  var S;
6762
6762
  return [
6763
6763
  M(H0, {
6764
- id: F.id,
6765
- name: F.name,
6766
- milestones: F.milestones,
6767
- "is-active": ((S = l.value) == null ? void 0 : S.id) === F.id,
6764
+ id: q.id,
6765
+ name: q.name,
6766
+ milestones: q.milestones,
6767
+ "is-active": ((S = l.value) == null ? void 0 : S.id) === q.id,
6768
6768
  "is-draggable": !0,
6769
- onClick: (Z) => g.$router.push({
6770
- params: { templateId: g.templateId, phaseId: F.id }
6769
+ onClick: (U) => g.$router.push({
6770
+ params: { templateId: g.templateId, phaseId: q.id }
6771
6771
  }),
6772
- "onUpdate:title": (Z) => {
6773
- I(F.id, Z);
6772
+ "onUpdate:title": (U) => {
6773
+ A(q.id, U);
6774
6774
  },
6775
- onRemove: () => w(F.id)
6775
+ onRemove: () => $(q.id)
6776
6776
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
6777
6777
  ];
6778
6778
  }),
6779
- footer: q(() => [
6779
+ footer: F(() => [
6780
6780
  r("div", P7, [
6781
6781
  M(je, {
6782
6782
  "icon-name": "AddBoxOutlineRounded",
@@ -6789,7 +6789,7 @@ const E7 = {
6789
6789
  }, 8, ["model-value"])
6790
6790
  ]),
6791
6791
  r("li", N7, [
6792
- l.value ? (c(), U(N0, {
6792
+ l.value ? (c(), R(N0, {
6793
6793
  key: 0,
6794
6794
  "template-id": g.templateId,
6795
6795
  phase: l.value,
@@ -6797,11 +6797,11 @@ const E7 = {
6797
6797
  onAddMilestone: b,
6798
6798
  onUpdateMilestone: D,
6799
6799
  onUpdatePhase: E,
6800
- onRemoveMilestone: $
6800
+ onRemoveMilestone: w
6801
6801
  }, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
6802
6802
  ]),
6803
6803
  r("li", B7, [
6804
- l.value && i.value ? (c(), U(U0, {
6804
+ l.value && i.value ? (c(), R(U0, {
6805
6805
  key: 0,
6806
6806
  "template-id": g.templateId,
6807
6807
  "phase-id": (G = l.value) == null ? void 0 : G.id,
@@ -6814,8 +6814,8 @@ const E7 = {
6814
6814
  ])
6815
6815
  ])
6816
6816
  ]),
6817
- (c(), U(kt, { to: "body" }, [
6818
- d.value ? (c(), U(i1, {
6817
+ (c(), R(kt, { to: "body" }, [
6818
+ d.value ? (c(), R(i1, {
6819
6819
  key: 0,
6820
6820
  activity: d.value,
6821
6821
  "activity-types": u.value,
@@ -6824,26 +6824,26 @@ const E7 = {
6824
6824
  "template-activities": v.value,
6825
6825
  "template-milestones": o.value,
6826
6826
  "is-template": !0,
6827
- "onUpdate:activity": P[2] || (P[2] = (F) => {
6828
- d.value && C(F);
6827
+ "onUpdate:activity": P[2] || (P[2] = (q) => {
6828
+ d.value && C(q);
6829
6829
  }),
6830
6830
  onClose: g.$router.back,
6831
6831
  onAddSubtask: N,
6832
6832
  onUpdateSubtask: x,
6833
6833
  onDeleteSubtask: k,
6834
- onAddFiles: j,
6834
+ onAddFiles: B,
6835
6835
  onRemoveFile: le
6836
6836
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : T("", !0)
6837
6837
  ])),
6838
- (c(), U(kt, { to: "body" }, [
6839
- L.value ? (c(), U(L7, {
6838
+ (c(), R(kt, { to: "body" }, [
6839
+ L.value ? (c(), R(L7, {
6840
6840
  key: 0,
6841
6841
  "template-id": n.value.id,
6842
6842
  rules: n.value.rules || [],
6843
6843
  "template-phases": n.value.phases,
6844
6844
  "template-milestones": o.value,
6845
6845
  "template-activities": v.value,
6846
- onClose: B,
6846
+ onClose: Z,
6847
6847
  onAddRule: J,
6848
6848
  onRemoveRule: se
6849
6849
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
@@ -6865,10 +6865,10 @@ const U7 = {
6865
6865
  tagName: { default: "div" }
6866
6866
  },
6867
6867
  setup(a) {
6868
- return (e, t) => (c(), U(Je(e.tagName), {
6868
+ return (e, t) => (c(), R(Je(e.tagName), {
6869
6869
  class: W(["ao-card", { "ao-card--clickable": e.isClickable }])
6870
6870
  }, {
6871
- default: q(() => [
6871
+ default: F(() => [
6872
6872
  e.$slots.header ? (c(), f("header", U7, [
6873
6873
  K(e.$slots, "header")
6874
6874
  ])) : T("", !0),
@@ -6903,7 +6903,7 @@ const o1 = /* @__PURE__ */ Y({
6903
6903
  ], 2));
6904
6904
  }
6905
6905
  });
6906
- const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-project-phase__footer" }, z7 = { class: "ao-card-project-phase__footer-row" }, W7 = { class: "ao-card-project-phase__subitem" }, Y7 = { class: "ao-card-project-phase__subitem" }, G7 = {
6906
+ const F7 = { class: "ao-card-project-phase__header" }, q7 = { class: "ao-card-project-phase__footer" }, z7 = { class: "ao-card-project-phase__footer-row" }, W7 = { class: "ao-card-project-phase__subitem" }, Y7 = { class: "ao-card-project-phase__subitem" }, G7 = {
6907
6907
  key: 1,
6908
6908
  class: "ao-card-project-phase__secondary"
6909
6909
  }, K7 = /* @__PURE__ */ Y({
@@ -6922,10 +6922,10 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
6922
6922
  var l;
6923
6923
  return (l = e.milestones) == null ? void 0 : l.filter((i) => i.status === $7.done).length;
6924
6924
  }), n = _(() => (s.value || 0) / (t.value || 1));
6925
- return (l, i) => (c(), U(l1, { class: "ao-card-project-phase" }, {
6926
- header: q(() => [
6927
- r("div", q7, [
6928
- l.projectName ? (c(), U(Et, {
6925
+ return (l, i) => (c(), R(l1, { class: "ao-card-project-phase" }, {
6926
+ header: F(() => [
6927
+ r("div", F7, [
6928
+ l.projectName ? (c(), R(Et, {
6929
6929
  key: 0,
6930
6930
  label: l.projectName,
6931
6931
  class: "ao-card-project-phase__project",
@@ -6934,14 +6934,14 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
6934
6934
  }, null, 8, ["label"])) : T("", !0)
6935
6935
  ])
6936
6936
  ]),
6937
- default: q(() => [
6937
+ default: F(() => [
6938
6938
  M(ve, {
6939
6939
  title: l.name || l.id,
6940
6940
  level: 4
6941
6941
  }, null, 8, ["title"])
6942
6942
  ]),
6943
- footer: q(() => [
6944
- r("div", F7, [
6943
+ footer: F(() => [
6944
+ r("div", q7, [
6945
6945
  r("div", z7, [
6946
6946
  t.value ? (c(), f(oe, { key: 0 }, [
6947
6947
  r("div", W7, [
@@ -6949,7 +6949,7 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
6949
6949
  name: "MountainFlagOutlineRounded",
6950
6950
  size: "sm"
6951
6951
  }),
6952
- r("span", Y7, R(s.value) + " / " + R(t.value), 1)
6952
+ r("span", Y7, j(s.value) + " / " + j(t.value), 1)
6953
6953
  ]),
6954
6954
  M(o1, {
6955
6955
  percentages: n.value,
@@ -6988,18 +6988,18 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
6988
6988
  return ((o = i.status) == null ? void 0 : o.id) === ((v = e.doneStatus) == null ? void 0 : v.id);
6989
6989
  }).length;
6990
6990
  }), n = _(() => (s.value || 0) / (t.value || 1));
6991
- return (l, i) => (c(), U(l1, {
6991
+ return (l, i) => (c(), R(l1, {
6992
6992
  class: "ao-card-project-milestone",
6993
6993
  "is-clickable": !0,
6994
6994
  "tag-name": "li"
6995
6995
  }, {
6996
- default: q(() => [
6996
+ default: F(() => [
6997
6997
  M(ve, {
6998
6998
  title: l.name || l.id,
6999
6999
  level: 5
7000
7000
  }, null, 8, ["title"])
7001
7001
  ]),
7002
- footer: q(() => [
7002
+ footer: F(() => [
7003
7003
  r("div", x7, [
7004
7004
  r("div", X7, [
7005
7005
  t.value ? (c(), f(oe, { key: 0 }, [
@@ -7008,7 +7008,7 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
7008
7008
  name: "SelectCheckBox",
7009
7009
  size: "sm"
7010
7010
  }),
7011
- r("span", J7, R(s.value) + " / " + R(t.value), 1)
7011
+ r("span", J7, j(s.value) + " / " + j(t.value), 1)
7012
7012
  ]),
7013
7013
  M(o1, {
7014
7014
  percentages: n.value,
@@ -7049,7 +7049,7 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
7049
7049
  r("div", sc, [
7050
7050
  r("div", ic, [
7051
7051
  r("ul", lc, [
7052
- (c(!0), f(oe, null, he(n.value, (v) => (c(), U(tc, {
7052
+ (c(!0), f(oe, null, he(n.value, (v) => (c(), R(tc, {
7053
7053
  id: v.id,
7054
7054
  key: v.id,
7055
7055
  name: v.name,
@@ -7075,7 +7075,7 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
7075
7075
  }
7076
7076
  });
7077
7077
  const k1 = ee([]), T1 = ee("");
7078
- function F1() {
7078
+ function q1() {
7079
7079
  return {
7080
7080
  init: (e) => {
7081
7081
  k1.value = C1(e.users), T1.value = C1(e.userId);
@@ -7094,13 +7094,13 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7094
7094
  },
7095
7095
  emits: ["addPhase", "addMilestone", "addActivity", "update:activity", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
7096
7096
  setup(a, { emit: e }) {
7097
- const t = a, { t: s } = Re(), { init: n } = F1();
7097
+ const t = a, { t: s } = Re(), { init: n } = q1();
7098
7098
  wa(() => {
7099
7099
  n({ users: t.users, userId: t.userId });
7100
7100
  });
7101
7101
  const l = _(() => t.phases.flatMap((b) => b.milestones)), i = () => {
7102
- const { name: b, rank: $ } = Xe(t.phases, "phase", s);
7103
- e("addPhase", { name: b, rank: $, projectId: t.project.id });
7102
+ const { name: b, rank: w } = Xe(t.phases, "phase", s);
7103
+ e("addPhase", { name: b, rank: w, projectId: t.project.id });
7104
7104
  }, o = (b) => {
7105
7105
  e("addMilestone", b);
7106
7106
  }, v = (b) => {
@@ -7115,19 +7115,19 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7115
7115
  e("addFiles", b);
7116
7116
  }, y = (b) => {
7117
7117
  e("removeFile", b);
7118
- }, w = (b) => {
7118
+ }, $ = (b) => {
7119
7119
  e("addComment", b);
7120
- }, I = (b) => {
7120
+ }, A = (b) => {
7121
7121
  e("updateComment", b);
7122
7122
  }, E = (b) => {
7123
7123
  e("removeComment", b);
7124
7124
  };
7125
- return (b, $) => {
7125
+ return (b, w) => {
7126
7126
  const D = $a("RouterView");
7127
7127
  return c(), f("div", uc, [
7128
7128
  r("div", cc, [
7129
7129
  M(Zt, null, {
7130
- primary: q(() => [
7130
+ primary: F(() => [
7131
7131
  M(de, {
7132
7132
  label: b.$t("project.phases.add"),
7133
7133
  color: "primary",
@@ -7166,7 +7166,7 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7166
7166
  ])
7167
7167
  ]),
7168
7168
  r("ul", Cc, [
7169
- (c(!0), f(oe, null, he(b.phases, (X) => (c(), U(rc, {
7169
+ (c(!0), f(oe, null, he(b.phases, (X) => (c(), R(rc, {
7170
7170
  key: X.id,
7171
7171
  phase: X,
7172
7172
  "project-name": b.project.name,
@@ -7181,10 +7181,10 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7181
7181
  "project-id": b.project.id,
7182
7182
  "project-name": b.project.name,
7183
7183
  users: b.users,
7184
- onClose: $[0] || ($[0] = (X) => b.$router.push({ name: H(Qe).project })),
7184
+ onClose: w[0] || (w[0] = (X) => b.$router.push({ name: H(Qe).project })),
7185
7185
  onAddActivity: v
7186
7186
  }, null, 8, ["phases", "project-id", "project-name", "users"]),
7187
- (c(), U(kt, { to: "body" }, [
7187
+ (c(), R(kt, { to: "body" }, [
7188
7188
  M(D, {
7189
7189
  name: "modal",
7190
7190
  activities: p.value,
@@ -7192,8 +7192,8 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7192
7192
  onAddSubtask: u,
7193
7193
  onAddFiles: h,
7194
7194
  onRemoveFile: y,
7195
- onAddComment: w,
7196
- onUpdateComment: I,
7195
+ onAddComment: $,
7196
+ onUpdateComment: A,
7197
7197
  onRemoveComment: E
7198
7198
  }, null, 8, ["activities"])
7199
7199
  ]))
@@ -7248,8 +7248,8 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7248
7248
  name: h
7249
7249
  });
7250
7250
  }, n = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => t.assignee ? [t.assignee] : []), i = _(() => e1(t.deadline)), o = (h) => {
7251
- const { firstName: y, lastName: w } = h || {};
7252
- return y && w ? `${y} ${w}` : "";
7251
+ const { firstName: y, lastName: $ } = h || {};
7252
+ return y && $ ? `${y} ${$}` : "";
7253
7253
  }, v = (h) => {
7254
7254
  e("removeAssignee", h);
7255
7255
  }, d = _(() => {
@@ -7259,20 +7259,20 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7259
7259
  var h;
7260
7260
  return (h = t.tasks) == null ? void 0 : h.filter((y) => y.isDone).length;
7261
7261
  }), p = _(() => (u.value || 0) / (d.value || 1));
7262
- return (h, y) => (c(), U(l1, {
7262
+ return (h, y) => (c(), R(l1, {
7263
7263
  class: "ao-card-feed",
7264
7264
  "is-clickable": !0
7265
7265
  }, {
7266
- header: q(() => [
7266
+ header: F(() => [
7267
7267
  r("div", gc, [
7268
- h.projectName ? (c(), U(Et, {
7268
+ h.projectName ? (c(), R(Et, {
7269
7269
  key: 0,
7270
7270
  label: h.projectName,
7271
7271
  class: "ao-card-feed__project",
7272
7272
  variant: "solid",
7273
7273
  color: "primary"
7274
7274
  }, null, 8, ["label"])) : T("", !0),
7275
- h.important ? (c(), U(ie, {
7275
+ h.important ? (c(), R(ie, {
7276
7276
  key: 1,
7277
7277
  name: "FlagRounded",
7278
7278
  class: "ao-card-feed__important ao-card-feed__header-secondary",
@@ -7283,30 +7283,30 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7283
7283
  ])) : T("", !0)
7284
7284
  ])
7285
7285
  ]),
7286
- default: q(() => [
7286
+ default: F(() => [
7287
7287
  r("div", bc, [
7288
- n.value ? (c(), f("span", wc, R(n.value), 1)) : T("", !0),
7288
+ n.value ? (c(), f("span", wc, j(n.value), 1)) : T("", !0),
7289
7289
  M(ve, {
7290
7290
  title: h.name,
7291
7291
  level: 5,
7292
7292
  "is-editable": !0,
7293
7293
  "onUpdate:title": s
7294
7294
  }, null, 8, ["title"]),
7295
- h.deadline ? (c(), f("span", $c, R(i.value), 1)) : T("", !0)
7295
+ h.deadline ? (c(), f("span", $c, j(i.value), 1)) : T("", !0)
7296
7296
  ])
7297
7297
  ]),
7298
- footer: q(() => [
7298
+ footer: F(() => [
7299
7299
  r("div", Mc, [
7300
7300
  r("div", kc, [
7301
7301
  r("ul", Tc, [
7302
- (c(!0), f(oe, null, he(l.value, (w) => (c(), f(oe, {
7303
- key: w.id
7302
+ (c(!0), f(oe, null, he(l.value, ($) => (c(), f(oe, {
7303
+ key: $.id
7304
7304
  }, [
7305
- w ? (c(), f("li", Sc, [
7305
+ $ ? (c(), f("li", Sc, [
7306
7306
  M(tt, {
7307
- "user-name": o(w),
7307
+ "user-name": o($),
7308
7308
  "is-closable": !0,
7309
- onClose: () => v(w.id)
7309
+ onClose: () => v($.id)
7310
7310
  }, null, 8, ["user-name", "onClose"])
7311
7311
  ])) : T("", !0)
7312
7312
  ], 64))), 128))
@@ -7317,14 +7317,14 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7317
7317
  name: "ChatOutline",
7318
7318
  size: "sm"
7319
7319
  }),
7320
- r("span", Oc, R(h.comments), 1)
7320
+ r("span", Oc, j(h.comments), 1)
7321
7321
  ])) : T("", !0),
7322
7322
  h.attachments ? (c(), f("li", Lc, [
7323
7323
  M(ie, {
7324
7324
  name: "AttachFileRounded",
7325
7325
  size: "sm"
7326
7326
  }),
7327
- r("span", Ec, R(h.attachments), 1)
7327
+ r("span", Ec, j(h.attachments), 1)
7328
7328
  ])) : T("", !0)
7329
7329
  ])) : T("", !0)
7330
7330
  ]),
@@ -7335,7 +7335,7 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7335
7335
  name: "SelectCheckBox",
7336
7336
  size: "sm"
7337
7337
  }),
7338
- r("span", Pc, R(u.value) + " / " + R(d.value), 1)
7338
+ r("span", Pc, j(u.value) + " / " + j(d.value), 1)
7339
7339
  ]),
7340
7340
  M(o1, {
7341
7341
  percentages: p.value,
@@ -7389,7 +7389,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7389
7389
  return c(), f("div", Nc, [
7390
7390
  r("header", Bc, [
7391
7391
  r("div", Zc, [
7392
- r("span", null, R(u.$t("project.milestone.title")), 1),
7392
+ r("span", null, j(u.$t("project.milestone.title")), 1),
7393
7393
  M(ve, {
7394
7394
  title: ((h = i.value) == null ? void 0 : h.name) || u.milestoneId,
7395
7395
  level: 5
@@ -7404,14 +7404,14 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7404
7404
  r("div", Uc, [
7405
7405
  r("ul", jc, [
7406
7406
  (c(!0), f(oe, null, he(o.value, (y) => {
7407
- var w, I, E, b;
7408
- return c(), U(z1, {
7407
+ var $, A, E, b;
7408
+ return c(), R(z1, {
7409
7409
  id: y.id,
7410
7410
  key: y.id,
7411
7411
  name: y.name || y.id,
7412
7412
  "project-name": u.projectName,
7413
- "phase-name": (w = n.value) == null ? void 0 : w.name,
7414
- "milestone-name": (I = i.value) == null ? void 0 : I.name,
7413
+ "phase-name": ($ = n.value) == null ? void 0 : $.name,
7414
+ "milestone-name": (A = i.value) == null ? void 0 : A.name,
7415
7415
  deadline: y.deadline,
7416
7416
  important: y.important,
7417
7417
  users: u.users,
@@ -7419,7 +7419,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7419
7419
  comments: (E = y.comments) == null ? void 0 : E.length,
7420
7420
  attachments: (b = y.attachments) == null ? void 0 : b.length,
7421
7421
  tasks: y.tasks,
7422
- onClick: ($) => u.$router.push({
7422
+ onClick: (w) => u.$router.push({
7423
7423
  name: H(Qe).activity,
7424
7424
  params: { milestoneId: u.milestoneId, activityId: y.id }
7425
7425
  })
@@ -7438,7 +7438,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7438
7438
  };
7439
7439
  }
7440
7440
  });
7441
- const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["contenteditable"], Wc = { class: "ao-comment__created-at" }, Yc = {
7441
+ const Fc = { class: "ao-comment" }, qc = { class: "ao-comment__body" }, zc = ["contenteditable"], Wc = { class: "ao-comment__created-at" }, Yc = {
7442
7442
  key: 1,
7443
7443
  class: "ao-comment__footer"
7444
7444
  }, Gc = /* @__PURE__ */ Y({
@@ -7453,29 +7453,29 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
7453
7453
  emits: ["edit", "remove"],
7454
7454
  setup(a, { emit: e }) {
7455
7455
  const t = a, s = _(() => {
7456
- const w = t.user;
7457
- return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
7458
- }), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard: v } = I1(n), d = _(() => e1(t.createdAt)), u = _(() => e1(t.editedAt)), p = v(), h = o((w) => {
7459
- e("edit", w);
7456
+ const $ = t.user;
7457
+ return $ ? `${$ == null ? void 0 : $.firstName} ${$ == null ? void 0 : $.lastName}` : null;
7458
+ }), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard: v } = I1(n), d = _(() => e1(t.createdAt)), u = _(() => e1(t.editedAt)), p = v(), h = o(($) => {
7459
+ e("edit", $);
7460
7460
  }), y = () => {
7461
7461
  e("remove");
7462
7462
  };
7463
- return (w, I) => (c(), f("li", qc, [
7464
- s.value ? (c(), U(tt, {
7463
+ return ($, A) => (c(), f("li", Fc, [
7464
+ s.value ? (c(), R(tt, {
7465
7465
  key: 0,
7466
7466
  "user-name": s.value,
7467
7467
  class: "ao-comment__avatar"
7468
7468
  }, null, 8, ["user-name"])) : T("", !0),
7469
- r("div", Fc, [
7469
+ r("div", qc, [
7470
7470
  r("p", {
7471
7471
  ref_key: "commentContent",
7472
7472
  ref: n,
7473
7473
  class: "ao-comment__content",
7474
7474
  contenteditable: H(l)
7475
- }, R(w.content), 9, zc),
7476
- r("span", Wc, R(u.value || d.value), 1)
7475
+ }, j($.content), 9, zc),
7476
+ r("span", Wc, j(u.value || d.value), 1)
7477
7477
  ]),
7478
- w.isEditable ? (c(), f("div", Yc, [
7478
+ $.isEditable ? (c(), f("div", Yc, [
7479
7479
  H(l) ? (c(), f(oe, { key: 0 }, [
7480
7480
  M(de, {
7481
7481
  "icon-name": "CloseRounded",
@@ -7493,14 +7493,14 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
7493
7493
  }, null, 8, ["onClick"])
7494
7494
  ], 64)) : (c(), f(oe, { key: 1 }, [
7495
7495
  M(de, {
7496
- label: w.$t("activity.comment.delete"),
7496
+ label: $.$t("activity.comment.delete"),
7497
7497
  size: "sm",
7498
7498
  variant: "ghost",
7499
7499
  color: "neutral",
7500
7500
  onClick: y
7501
7501
  }, null, 8, ["label"]),
7502
7502
  M(de, {
7503
- label: w.$t("activity.comment.edit"),
7503
+ label: $.$t("activity.comment.edit"),
7504
7504
  size: "sm",
7505
7505
  variant: "ghost",
7506
7506
  color: "neutral",
@@ -7546,7 +7546,7 @@ const Kc = { class: "ao-comments" }, xc = {
7546
7546
  var p;
7547
7547
  return c(), f("div", Kc, [
7548
7548
  ((p = d.comments) == null ? void 0 : p.length) > 0 ? (c(), f("ul", xc, [
7549
- (c(!0), f(oe, null, he(d.comments, (h) => (c(), U(Gc, {
7549
+ (c(!0), f(oe, null, he(d.comments, (h) => (c(), R(Gc, {
7550
7550
  key: h.id,
7551
7551
  user: s(h.author.id),
7552
7552
  content: h.message,
@@ -7564,7 +7564,7 @@ const Kc = { class: "ao-comments" }, xc = {
7564
7564
  onSubmit: ke(i, ["prevent"])
7565
7565
  }, [
7566
7566
  r("label", Jc, [
7567
- r("span", ed, R(d.$t("activity.comment.label")), 1),
7567
+ r("span", ed, j(d.$t("activity.comment.label")), 1),
7568
7568
  xe(r("textarea", {
7569
7569
  "onUpdate:modelValue": u[0] || (u[0] = (h) => l.value = h),
7570
7570
  rows: "4",
@@ -7605,7 +7605,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7605
7605
  },
7606
7606
  emits: ["update:activity", "addSubtask", "addComment", "updateComment", "removeComment"],
7607
7607
  setup(a, { emit: e }) {
7608
- const t = a, { users: s, userId: n } = F1(), l = _(() => {
7608
+ const t = a, { users: s, userId: n } = q1(), l = _(() => {
7609
7609
  var h;
7610
7610
  return (h = t.activities) == null ? void 0 : h.find((y) => y.id === t.activityId);
7611
7611
  }), i = _(() => {
@@ -7645,7 +7645,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7645
7645
  const { id: y } = l.value || {};
7646
7646
  y && e("removeComment", { id: h, activityId: y });
7647
7647
  };
7648
- return (h, y) => l.value ? (c(), U(i1, {
7648
+ return (h, y) => l.value ? (c(), R(i1, {
7649
7649
  key: 0,
7650
7650
  activity: l.value,
7651
7651
  "activity-types": i.value,
@@ -7654,14 +7654,14 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7654
7654
  "is-template": !1,
7655
7655
  users: H(s),
7656
7656
  onClose: h.$router.back,
7657
- "onUpdate:activity": y[0] || (y[0] = (w) => {
7657
+ "onUpdate:activity": y[0] || (y[0] = ($) => {
7658
7658
  o({
7659
- ...w
7659
+ ...$
7660
7660
  });
7661
7661
  }),
7662
7662
  onAddSubtask: v
7663
7663
  }, {
7664
- default: q(() => [
7664
+ default: F(() => [
7665
7665
  r("fieldset", ad, [
7666
7666
  r("div", nd, [
7667
7667
  M(ie, { name: "ChatOutline" }),
@@ -7687,7 +7687,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7687
7687
  TEMPLATES: "templates",
7688
7688
  TEMPLATE_DETAILS: "template_details",
7689
7689
  TEMPLATES_LIST: "templates_list"
7690
- }, Xd = (a, e = {}) => [
7690
+ }, e9 = (a, e = {}) => [
7691
7691
  {
7692
7692
  path: a,
7693
7693
  name: dt.TEMPLATES,
@@ -7710,7 +7710,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7710
7710
  project: "AoProject",
7711
7711
  milestone: "AoMilestone",
7712
7712
  activity: "AoActivity"
7713
- }, Qd = (a, e = {}) => [
7713
+ }, t9 = (a, e = {}) => [
7714
7714
  {
7715
7715
  path: a,
7716
7716
  ...e,
@@ -7778,7 +7778,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7778
7778
  };
7779
7779
  return (o, v) => (c(), f("div", id, [
7780
7780
  M(Zt, null, {
7781
- secondary: q(() => [
7781
+ secondary: F(() => [
7782
7782
  M(de, {
7783
7783
  label: o.$t("templates.new"),
7784
7784
  color: "primary",
@@ -7796,7 +7796,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7796
7796
  handle: ".ao-card__drag",
7797
7797
  onChange: i
7798
7798
  }, {
7799
- item: q(({ element: d }) => {
7799
+ item: F(({ element: d }) => {
7800
7800
  var u;
7801
7801
  return [
7802
7802
  M(M0, {
@@ -7832,7 +7832,7 @@ const od = { class: "ao-col-header" }, rd = /* @__PURE__ */ Y({
7832
7832
  class: "ao-col-header__title",
7833
7833
  level: 4
7834
7834
  }, null, 8, ["title"]),
7835
- e.items ? (c(), U(Et, {
7835
+ e.items ? (c(), R(Et, {
7836
7836
  key: 0,
7837
7837
  label: e.items,
7838
7838
  class: "ao-col-header__items",
@@ -7904,24 +7904,24 @@ function _d(a, e, t = {}) {
7904
7904
  window: i = hd,
7905
7905
  immediate: o = !0
7906
7906
  } = t, v = Cd(() => i && "IntersectionObserver" in i), d = _(() => {
7907
- const w = It(a);
7908
- return (Array.isArray(w) ? w : [w]).map(Qt).filter(dd);
7907
+ const $ = It(a);
7908
+ return (Array.isArray($) ? $ : [$]).map(Qt).filter(dd);
7909
7909
  });
7910
7910
  let u = vt;
7911
7911
  const p = ee(o), h = v.value ? fe(
7912
7912
  () => [d.value, Qt(s), p.value],
7913
- ([w, I]) => {
7914
- if (u(), !p.value || !w.length)
7913
+ ([$, A]) => {
7914
+ if (u(), !p.value || !$.length)
7915
7915
  return;
7916
7916
  const E = new IntersectionObserver(
7917
7917
  e,
7918
7918
  {
7919
- root: Qt(I),
7919
+ root: Qt(A),
7920
7920
  rootMargin: n,
7921
7921
  threshold: l
7922
7922
  }
7923
7923
  );
7924
- w.forEach((b) => b && E.observe(b)), u = () => {
7924
+ $.forEach((b) => b && E.observe(b)), u = () => {
7925
7925
  E.disconnect(), u = vt;
7926
7926
  };
7927
7927
  },
@@ -8001,7 +8001,7 @@ const gd = {
8001
8001
  var u;
8002
8002
  return [
8003
8003
  r("div", yd, [
8004
- v.title ? (c(), U(rd, {
8004
+ v.title ? (c(), R(rd, {
8005
8005
  key: 0,
8006
8006
  title: v.title,
8007
8007
  level: 3,
@@ -8016,17 +8016,17 @@ const gd = {
8016
8016
  "item-key": "id",
8017
8017
  group: "kanban"
8018
8018
  }, v.$attrs, { onChange: o }), {
8019
- item: q(({ element: u }) => {
8020
- var p, h, y, w, I, E, b;
8019
+ item: F(({ element: u }) => {
8020
+ var p, h, y, $, A, E, b;
8021
8021
  return [
8022
8022
  M(z1, {
8023
8023
  id: u.id,
8024
8024
  name: u.name,
8025
8025
  "project-name": (p = u.project) == null ? void 0 : p.name,
8026
8026
  "phase-name": (y = (h = u.milestone) == null ? void 0 : h.phase) == null ? void 0 : y.name,
8027
- "milestone-name": (w = u.milestone) == null ? void 0 : w.name,
8027
+ "milestone-name": ($ = u.milestone) == null ? void 0 : $.name,
8028
8028
  deadline: u.deadline,
8029
- rules: ((I = u.rules) == null ? void 0 : I.length) || 0,
8029
+ rules: ((A = u.rules) == null ? void 0 : A.length) || 0,
8030
8030
  tasks: u.tasks,
8031
8031
  description: u.description,
8032
8032
  important: u.important,
@@ -8039,7 +8039,7 @@ const gd = {
8039
8039
  onUpdateActivity: i,
8040
8040
  onRemoveAssignee: () => i({ id: u.id, assigneeId: null })
8041
8041
  }, {
8042
- secondary: q(() => [
8042
+ secondary: F(() => [
8043
8043
  M(de, {
8044
8044
  color: "primary",
8045
8045
  variant: "ghost",
@@ -8055,7 +8055,7 @@ const gd = {
8055
8055
  }, 1032, ["id", "name", "project-name", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "onClick", "onRemoveAssignee"])
8056
8056
  ];
8057
8057
  }),
8058
- footer: q(() => [
8058
+ footer: F(() => [
8059
8059
  v.isLoading ? (c(), f("div", bd, [
8060
8060
  M(ie, { name: "Loading" })
8061
8061
  ])) : v.hasMore ? (c(), f("div", {
@@ -8064,7 +8064,7 @@ const gd = {
8064
8064
  ref: n,
8065
8065
  class: "ao-list-kanban__end"
8066
8066
  }, null, 512)) : (c(), f("div", wd, [
8067
- v.noMoreLabel ? (c(), f("span", $d, R(v.noMoreLabel), 1)) : (c(), f("span", Md))
8067
+ v.noMoreLabel ? (c(), f("span", $d, j(v.noMoreLabel), 1)) : (c(), f("span", Md))
8068
8068
  ]))
8069
8069
  ]),
8070
8070
  _: 1
@@ -8140,7 +8140,7 @@ function Ed(a) {
8140
8140
  const e = Od(a);
8141
8141
  return Ta(Ld, e), e;
8142
8142
  }
8143
- const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { class: "ao-feed__body" }, Pd = { class: "ao-field" }, Nd = { class: "ao-field__label" }, Bd = { class: "ao-fieldset" }, Zd = { class: "ao-field" }, Ud = { class: "ao-field__label" }, jd = { class: "ao-fieldset" }, Rd = { class: "ao-fieldset__title" }, Jd = /* @__PURE__ */ Y({
8143
+ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { class: "ao-field ao-field--inline" }, Pd = ["checked"], Nd = { class: "ao-field__label" }, Bd = { class: "ao-feed__body" }, Zd = { class: "ao-field" }, Ud = { class: "ao-field__label" }, jd = { class: "ao-fieldset" }, Rd = { class: "ao-field" }, Fd = { class: "ao-field__label" }, qd = { class: "ao-fieldset" }, zd = { class: "ao-fieldset__title" }, a9 = /* @__PURE__ */ Y({
8144
8144
  __name: "AoFeed",
8145
8145
  props: {
8146
8146
  activities: {},
@@ -8151,18 +8151,19 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8151
8151
  users: {},
8152
8152
  userId: {},
8153
8153
  searchText: { default: "" },
8154
- isTaskCheckable: { type: Boolean }
8154
+ showsArchivedActivities: { type: Boolean },
8155
+ isTaskCheckable: {}
8155
8156
  },
8156
- emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
8157
+ emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
8157
8158
  setup(a, { emit: e }) {
8158
8159
  const t = a, { t: s } = Re(), n = ct(t, "activities"), { selectActivity: l, selectedActivity: i } = Ed(n), o = ee({});
8159
8160
  fe(
8160
8161
  [() => t.statuses, () => t.activities],
8161
- ([k, j]) => {
8162
+ ([k, B]) => {
8162
8163
  o.value = Object.fromEntries(
8163
8164
  k.map((le) => [
8164
8165
  le.id,
8165
- j.filter((g) => g.status.id === le.id)
8166
+ B.filter((g) => g.status.id === le.id)
8166
8167
  ])
8167
8168
  );
8168
8169
  },
@@ -8170,14 +8171,14 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8170
8171
  );
8171
8172
  const v = (k) => {
8172
8173
  var V, G;
8173
- const j = (V = t.activities) == null ? void 0 : V.at(-1), le = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, P = {
8174
+ const B = (V = t.activities) == null ? void 0 : V.at(-1), le = B ? we.LexoRank.parse(B.rank).genNext() : we.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, P = {
8174
8175
  name: s("activity.defaultName", { idx: g + 1 }),
8175
8176
  rank: le.format(),
8176
8177
  statusId: k.id
8177
8178
  };
8178
8179
  e("addActivity", P);
8179
- }, d = (k, j) => {
8180
- e("update:filters", { ...t.filters, [k]: j });
8180
+ }, d = (k, B) => {
8181
+ e("update:filters", { ...t.filters, [k]: B });
8181
8182
  }, u = _(() => t.projects.map((k) => ({
8182
8183
  value: k.id,
8183
8184
  label: k.name
@@ -8189,16 +8190,16 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8189
8190
  label: `${k.firstName} ${k.lastName}`
8190
8191
  }))), y = (k) => {
8191
8192
  i.value && e("update:activity", k);
8192
- }, w = (k) => {
8193
+ }, $ = (k) => {
8193
8194
  e("update:activity", k);
8194
- }, I = ee(null), E = (k) => {
8195
+ }, A = ee(null), E = (k) => {
8195
8196
  i.value && e("update:activity", {
8196
8197
  id: i.value.id,
8197
8198
  name: k
8198
8199
  });
8199
8200
  }, b = (k) => {
8200
8201
  e("archiveActivity", k);
8201
- }, $ = _({
8202
+ }, w = _({
8202
8203
  get() {
8203
8204
  var k;
8204
8205
  return (k = i.value) == null ? void 0 : k.deadline;
@@ -8219,7 +8220,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8219
8220
  i.value && e("deleteSubtask", k);
8220
8221
  }, L = (k) => {
8221
8222
  e("addFiles", k);
8222
- }, B = (k) => {
8223
+ }, Z = (k) => {
8223
8224
  e("removeFile", k);
8224
8225
  }, J = (k) => {
8225
8226
  i.value && e("addComment", {
@@ -8227,11 +8228,11 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8227
8228
  activityId: i.value.id
8228
8229
  });
8229
8230
  }, se = (k) => {
8230
- const { id: j } = i.value || {};
8231
- j && e("updateComment", k);
8231
+ const { id: B } = i.value || {};
8232
+ B && e("updateComment", k);
8232
8233
  }, me = (k) => {
8233
- const { id: j } = i.value || {};
8234
- j && e("removeComment", k);
8234
+ const { id: B } = i.value || {};
8235
+ B && e("removeComment", k);
8235
8236
  }, N = _(() => t.statuses.map((k) => ({
8236
8237
  value: k.id,
8237
8238
  label: k.name
@@ -8241,15 +8242,15 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8241
8242
  statusId: k
8242
8243
  });
8243
8244
  };
8244
- return (k, j) => {
8245
+ return (k, B) => {
8245
8246
  var le;
8246
8247
  return c(), f("div", Vd, [
8247
8248
  M(Zt, null, {
8248
- primary: q(() => [
8249
+ primary: F(() => [
8249
8250
  M(Id, {
8250
8251
  "model-value": k.searchText,
8251
8252
  placeholder: k.$t("feed.search.placeholder"),
8252
- "onUpdate:modelValue": j[0] || (j[0] = (g) => k.$emit("update:searchText", g)),
8253
+ "onUpdate:modelValue": B[0] || (B[0] = (g) => k.$emit("update:searchText", g)),
8253
8254
  onClear: D
8254
8255
  }, null, 8, ["model-value", "placeholder"]),
8255
8256
  r("div", Hd, [
@@ -8261,7 +8262,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8261
8262
  searchable: !0,
8262
8263
  class: "ao-feed__filter",
8263
8264
  placeholder: k.$t("feed.filters.project.placeholder"),
8264
- "onUpdate:modelValue": j[1] || (j[1] = (g) => d(H(Ke).project, g))
8265
+ "onUpdate:modelValue": B[1] || (B[1] = (g) => d(H(Ke).project, g))
8265
8266
  }, null, 8, ["model-value", "options", "placeholder"]),
8266
8267
  M(H(pe), {
8267
8268
  "model-value": k.filters[H(Ke).type],
@@ -8271,7 +8272,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8271
8272
  searchable: !0,
8272
8273
  class: "ao-feed__filter",
8273
8274
  placeholder: k.$t("feed.filters.activityType.placeholder"),
8274
- "onUpdate:modelValue": j[2] || (j[2] = (g) => d(H(Ke).type, g))
8275
+ "onUpdate:modelValue": B[2] || (B[2] = (g) => d(H(Ke).type, g))
8275
8276
  }, null, 8, ["model-value", "options", "placeholder"]),
8276
8277
  M(H(pe), {
8277
8278
  "model-value": k.filters[H(Ke).assignee],
@@ -8281,9 +8282,9 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8281
8282
  searchable: !0,
8282
8283
  class: "ao-feed__filter",
8283
8284
  placeholder: k.$t("feed.filters.assignee.placeholder"),
8284
- "onUpdate:modelValue": j[3] || (j[3] = (g) => d(H(Ke).assignee, g))
8285
+ "onUpdate:modelValue": B[3] || (B[3] = (g) => d(H(Ke).assignee, g))
8285
8286
  }, {
8286
- tag: q(({ option: g, handleTagRemove: P }) => [
8287
+ tag: F(({ option: g, handleTagRemove: P }) => [
8287
8288
  M(tt, {
8288
8289
  "user-name": g.label,
8289
8290
  "is-closable": !0,
@@ -8291,13 +8292,25 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8291
8292
  }, null, 8, ["user-name", "onClose"])
8292
8293
  ]),
8293
8294
  _: 1
8294
- }, 8, ["model-value", "options", "placeholder"])
8295
+ }, 8, ["model-value", "options", "placeholder"]),
8296
+ r("label", Dd, [
8297
+ r("input", {
8298
+ checked: k.showsArchivedActivities,
8299
+ class: "ao-field__input",
8300
+ type: "checkbox",
8301
+ onChange: B[4] || (B[4] = (g) => k.$emit(
8302
+ "update:showsArchivedActivities",
8303
+ g.target.checked
8304
+ ))
8305
+ }, null, 40, Pd),
8306
+ r("span", Nd, j(k.$t("feed.filters.showsArchivedActivities.label")), 1)
8307
+ ])
8295
8308
  ])
8296
8309
  ]),
8297
8310
  _: 1
8298
8311
  }),
8299
- r("div", Dd, [
8300
- (c(!0), f(oe, null, he(k.statuses, (g) => (c(), U(Td, {
8312
+ r("div", Bd, [
8313
+ (c(!0), f(oe, null, he(k.statuses, (g) => (c(), R(Td, {
8301
8314
  key: g.id,
8302
8315
  status: g,
8303
8316
  list: o.value[g.id],
@@ -8307,11 +8320,11 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8307
8320
  onAdd: () => v(g),
8308
8321
  onSelectActivity: H(l),
8309
8322
  onArchiveActivity: b,
8310
- onUpdateActivity: w
8323
+ onUpdateActivity: $
8311
8324
  }, null, 8, ["status", "list", "title", "footer-label", "users", "onAdd", "onSelectActivity"]))), 128))
8312
8325
  ]),
8313
- (c(), U(kt, { to: "body" }, [
8314
- H(i) ? (c(), U(i1, {
8326
+ (c(), R(kt, { to: "body" }, [
8327
+ H(i) ? (c(), R(i1, {
8315
8328
  key: 0,
8316
8329
  activity: H(i),
8317
8330
  "activity-types": p.value,
@@ -8319,25 +8332,25 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8319
8332
  "template-activities": n.value,
8320
8333
  users: k.users,
8321
8334
  "is-task-checkable": k.isTaskCheckable,
8322
- onClose: j[5] || (j[5] = () => H(l)(null)),
8335
+ onClose: B[6] || (B[6] = () => H(l)(null)),
8323
8336
  "onUpdate:activity": y,
8324
8337
  onAddSubtask: X,
8325
8338
  onUpdateSubtask: ne,
8326
8339
  onDeleteSubtask: C,
8327
8340
  onAddFiles: L,
8328
- onRemoveFile: B
8341
+ onRemoveFile: Z
8329
8342
  }, {
8330
- header: q(() => [
8343
+ header: F(() => [
8331
8344
  M(ve, {
8332
8345
  ref_key: "target",
8333
- ref: I,
8346
+ ref: A,
8334
8347
  title: H(i).name || H(i).id,
8335
8348
  level: 4,
8336
8349
  "is-editable": !0,
8337
8350
  "onUpdate:title": E
8338
8351
  }, null, 8, ["title"]),
8339
- r("label", Pd, [
8340
- r("span", Nd, R(k.$t("activity.status.label")), 1),
8352
+ r("label", Zd, [
8353
+ r("span", Ud, j(k.$t("activity.status.label")), 1),
8341
8354
  M(H(pe), {
8342
8355
  options: N.value,
8343
8356
  value: H(i).status.id,
@@ -8345,26 +8358,26 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8345
8358
  }, null, 8, ["options", "value"])
8346
8359
  ])
8347
8360
  ]),
8348
- default: q(() => [
8349
- r("fieldset", Bd, [
8350
- r("label", Zd, [
8351
- r("span", Ud, R(k.$t("activity.deadline.label")), 1),
8361
+ default: F(() => [
8362
+ r("fieldset", jd, [
8363
+ r("label", Rd, [
8364
+ r("span", Fd, j(k.$t("activity.deadline.label")), 1),
8352
8365
  xe(r("input", {
8353
- "onUpdate:modelValue": j[4] || (j[4] = (g) => $.value = g),
8366
+ "onUpdate:modelValue": B[5] || (B[5] = (g) => w.value = g),
8354
8367
  class: "ao-field__input",
8355
8368
  type: "date"
8356
8369
  }, null, 512), [
8357
8370
  [
8358
8371
  ft,
8359
- $.value,
8372
+ w.value,
8360
8373
  void 0,
8361
8374
  { lazy: !0 }
8362
8375
  ]
8363
8376
  ])
8364
8377
  ])
8365
8378
  ]),
8366
- r("fieldset", jd, [
8367
- r("div", Rd, [
8379
+ r("fieldset", qd, [
8380
+ r("div", zd, [
8368
8381
  M(ie, { name: "ChatOutline" }),
8369
8382
  M(ve, {
8370
8383
  level: 4,
@@ -8389,17 +8402,17 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8389
8402
  }
8390
8403
  });
8391
8404
  export {
8392
- Jd as AoFeed,
8405
+ a9 as AoFeed,
8393
8406
  Z7 as AoTemplateDetails,
8394
- Yd as AoTemplates,
8407
+ xd as AoTemplates,
8395
8408
  ld as AoTemplatesList,
8396
8409
  S7 as TemplateItemTypeEnum,
8397
- Kd as activityFeedStatus,
8398
- Gd as durationTypes,
8410
+ Qd as activityFeedStatus,
8411
+ Xd as durationTypes,
8399
8412
  Ke as feedFilterTypes,
8400
- Qd as getProjectOverviewRoutes,
8401
- Xd as getTemplateRoutes,
8402
- xd as listUpdateTypes,
8413
+ t9 as getProjectOverviewRoutes,
8414
+ e9 as getTemplateRoutes,
8415
+ Jd as listUpdateTypes,
8403
8416
  $7 as milestoneStatus,
8404
8417
  Qe as projectOverviewRoutes,
8405
8418
  M7 as ruleComparators,