@26lights/orcha 0.7.10 → 0.7.11

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 x, openBlock as d, createBlock as q, unref as N, mergeProps as De, createElementBlock as C, createElementVNode as r, pushScopeId as Rt, popScopeId as qt, createStaticVNode as Ft, computed as v, resolveDynamicComponent as Ke, normalizeClass as K, renderSlot as W, toDisplayString as R, createCommentVNode as A, ref as J, watch as fe, nextTick as je, withKeys as a1, toHandlers as zt, withCtx as F, createTextVNode as Z1, createVNode as y, Fragment as oe, renderList as me, withModifiers as Te, toRefs as we, getCurrentInstance as Be, onMounted as _1, onUnmounted as Gt, withDirectives as Fe, vModelText as n1, vModelCheckbox as Kt, toRef as m1, Teleport as C1, normalizeStyle as xt, resolveComponent as Wt, toValue as ze, getCurrentScope as Yt, onScopeDispose as Xt } from "vue";
1
+ import { defineComponent as x, openBlock as c, createBlock as q, unref as N, mergeProps as De, createElementBlock as C, createElementVNode as r, pushScopeId as Ut, popScopeId as qt, createStaticVNode as Ft, computed as v, resolveDynamicComponent as Ke, normalizeClass as K, renderSlot as W, toDisplayString as U, createCommentVNode as A, ref as J, watch as fe, nextTick as je, withKeys as a1, toHandlers as zt, withCtx as F, createTextVNode as N1, createVNode as y, Fragment as oe, renderList as me, withModifiers as Te, toRefs as we, getCurrentInstance as Be, onMounted as _1, onUnmounted as Gt, withDirectives as Fe, vModelText as n1, vModelCheckbox as Kt, toRef as m1, Teleport as C1, normalizeStyle as xt, resolveComponent as Wt, toValue as ze, getCurrentScope as Yt, onScopeDispose as Xt } from "vue";
2
2
  import { RouterView as Qt } from "vue-router";
3
3
  import i1 from "vuedraggable";
4
- const Rd = /* @__PURE__ */ x({
4
+ const Uc = /* @__PURE__ */ x({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(s) {
10
- return (e, t) => (d(), q(N(Qt), De({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), q(N(Qt), De({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), H = (s, e) => {
13
13
  const t = s.__vccOpts || s;
@@ -27,7 +27,7 @@ const Rd = /* @__PURE__ */ x({
27
27
  ts
28
28
  ];
29
29
  function as(s, e) {
30
- return d(), C("svg", es, ss);
30
+ return c(), C("svg", es, ss);
31
31
  }
32
32
  const ns = /* @__PURE__ */ H(Jt, [["render", as]]), is = {}, os = {
33
33
  width: "24",
@@ -41,10 +41,10 @@ const ns = /* @__PURE__ */ H(Jt, [["render", as]]), is = {}, os = {
41
41
  }, null, -1), rs = [
42
42
  ls
43
43
  ];
44
- function ds(s, e) {
45
- return d(), C("svg", os, rs);
44
+ function cs(s, e) {
45
+ return c(), C("svg", os, rs);
46
46
  }
47
- const cs = /* @__PURE__ */ H(is, [["render", ds]]), us = {}, ps = {
47
+ const ds = /* @__PURE__ */ H(is, [["render", cs]]), us = {}, ps = {
48
48
  width: "24",
49
49
  height: "24",
50
50
  viewBox: "0 0 24 24",
@@ -57,7 +57,7 @@ const cs = /* @__PURE__ */ H(is, [["render", ds]]), us = {}, ps = {
57
57
  hs
58
58
  ];
59
59
  function Cs(s, e) {
60
- return d(), C("svg", ps, ms);
60
+ return c(), C("svg", ps, ms);
61
61
  }
62
62
  const vs = /* @__PURE__ */ H(us, [["render", Cs]]), _s = {}, fs = {
63
63
  width: "24",
@@ -72,7 +72,7 @@ const vs = /* @__PURE__ */ H(us, [["render", Cs]]), _s = {}, fs = {
72
72
  gs
73
73
  ];
74
74
  function bs(s, e) {
75
- return d(), C("svg", fs, ys);
75
+ return c(), C("svg", fs, ys);
76
76
  }
77
77
  const ws = /* @__PURE__ */ H(_s, [["render", bs]]), $s = {}, Is = {
78
78
  width: "24",
@@ -87,7 +87,7 @@ const ws = /* @__PURE__ */ H(_s, [["render", bs]]), $s = {}, Is = {
87
87
  Ss
88
88
  ];
89
89
  function As(s, e) {
90
- return d(), C("svg", Is, Ms);
90
+ return c(), C("svg", Is, Ms);
91
91
  }
92
92
  const ks = /* @__PURE__ */ H($s, [["render", As]]), Ts = {}, Ls = {
93
93
  width: "24",
@@ -102,7 +102,7 @@ const ks = /* @__PURE__ */ H($s, [["render", As]]), Ts = {}, Ls = {
102
102
  Vs
103
103
  ];
104
104
  function Hs(s, e) {
105
- return d(), C("svg", Ls, Es);
105
+ return c(), C("svg", Ls, Es);
106
106
  }
107
107
  const Os = /* @__PURE__ */ H(Ts, [["render", Hs]]), Ds = {}, js = {
108
108
  width: "24",
@@ -117,9 +117,9 @@ const Os = /* @__PURE__ */ H(Ts, [["render", Hs]]), Ds = {}, js = {
117
117
  Bs
118
118
  ];
119
119
  function Zs(s, e) {
120
- return d(), C("svg", js, Ps);
120
+ return c(), C("svg", js, Ps);
121
121
  }
122
- const Ns = /* @__PURE__ */ H(Ds, [["render", Zs]]), Us = {}, Rs = {
122
+ const Ns = /* @__PURE__ */ H(Ds, [["render", Zs]]), Rs = {}, Us = {
123
123
  width: "24",
124
124
  height: "24",
125
125
  viewBox: "0 0 24 24",
@@ -132,9 +132,9 @@ const Ns = /* @__PURE__ */ H(Ds, [["render", Zs]]), Us = {}, Rs = {
132
132
  qs
133
133
  ];
134
134
  function zs(s, e) {
135
- return d(), C("svg", Rs, Fs);
135
+ return c(), C("svg", Us, Fs);
136
136
  }
137
- const Gs = /* @__PURE__ */ H(Us, [["render", zs]]), Ks = {}, xs = {
137
+ const Gs = /* @__PURE__ */ H(Rs, [["render", zs]]), Ks = {}, xs = {
138
138
  width: "24",
139
139
  height: "24",
140
140
  viewBox: "0 0 24 24",
@@ -147,7 +147,7 @@ const Gs = /* @__PURE__ */ H(Us, [["render", zs]]), Ks = {}, xs = {
147
147
  Ws
148
148
  ];
149
149
  function Xs(s, e) {
150
- return d(), C("svg", xs, Ys);
150
+ return c(), C("svg", xs, Ys);
151
151
  }
152
152
  const Qs = /* @__PURE__ */ H(Ks, [["render", Xs]]), Js = {}, ea = {
153
153
  width: "24",
@@ -162,7 +162,7 @@ const Qs = /* @__PURE__ */ H(Ks, [["render", Xs]]), Js = {}, ea = {
162
162
  ta
163
163
  ];
164
164
  function aa(s, e) {
165
- return d(), C("svg", ea, sa);
165
+ return c(), C("svg", ea, sa);
166
166
  }
167
167
  const na = /* @__PURE__ */ H(Js, [["render", aa]]), ia = {}, oa = {
168
168
  width: "24",
@@ -176,10 +176,10 @@ const na = /* @__PURE__ */ H(Js, [["render", aa]]), ia = {}, oa = {
176
176
  }, null, -1), ra = [
177
177
  la
178
178
  ];
179
- function da(s, e) {
180
- return d(), C("svg", oa, ra);
179
+ function ca(s, e) {
180
+ return c(), C("svg", oa, ra);
181
181
  }
182
- const ca = /* @__PURE__ */ H(ia, [["render", da]]), ua = {}, pa = {
182
+ const da = /* @__PURE__ */ H(ia, [["render", ca]]), ua = {}, pa = {
183
183
  width: "24",
184
184
  height: "24",
185
185
  viewBox: "0 0 24 24",
@@ -192,7 +192,7 @@ const ca = /* @__PURE__ */ H(ia, [["render", da]]), ua = {}, pa = {
192
192
  ha
193
193
  ];
194
194
  function Ca(s, e) {
195
- return d(), C("svg", pa, ma);
195
+ return c(), C("svg", pa, ma);
196
196
  }
197
197
  const va = /* @__PURE__ */ H(ua, [["render", Ca]]), _a = {}, fa = {
198
198
  width: "24",
@@ -207,7 +207,7 @@ const va = /* @__PURE__ */ H(ua, [["render", Ca]]), _a = {}, fa = {
207
207
  ga
208
208
  ];
209
209
  function ba(s, e) {
210
- return d(), C("svg", fa, ya);
210
+ return c(), C("svg", fa, ya);
211
211
  }
212
212
  const wa = /* @__PURE__ */ H(_a, [["render", ba]]), $a = {}, Ia = {
213
213
  width: "24",
@@ -222,7 +222,7 @@ const wa = /* @__PURE__ */ H(_a, [["render", ba]]), $a = {}, Ia = {
222
222
  Sa
223
223
  ];
224
224
  function Aa(s, e) {
225
- return d(), C("svg", Ia, Ma);
225
+ return c(), C("svg", Ia, Ma);
226
226
  }
227
227
  const ka = /* @__PURE__ */ H($a, [["render", Aa]]), Ta = {}, La = {
228
228
  width: "24",
@@ -237,7 +237,7 @@ const ka = /* @__PURE__ */ H($a, [["render", Aa]]), Ta = {}, La = {
237
237
  Va
238
238
  ];
239
239
  function Ha(s, e) {
240
- return d(), C("svg", La, Ea);
240
+ return c(), C("svg", La, Ea);
241
241
  }
242
242
  const Oa = /* @__PURE__ */ H(Ta, [["render", Ha]]), Da = {}, ja = {
243
243
  width: "24",
@@ -252,9 +252,9 @@ const Oa = /* @__PURE__ */ H(Ta, [["render", Ha]]), Da = {}, ja = {
252
252
  Ba
253
253
  ];
254
254
  function Za(s, e) {
255
- return d(), C("svg", ja, Pa);
255
+ return c(), C("svg", ja, Pa);
256
256
  }
257
- const Na = /* @__PURE__ */ H(Da, [["render", Za]]), Ua = {}, Ra = {
257
+ const Na = /* @__PURE__ */ H(Da, [["render", Za]]), Ra = {}, Ua = {
258
258
  width: "24",
259
259
  height: "24",
260
260
  viewBox: "0 0 24 24",
@@ -267,9 +267,9 @@ const Na = /* @__PURE__ */ H(Da, [["render", Za]]), Ua = {}, Ra = {
267
267
  qa
268
268
  ];
269
269
  function za(s, e) {
270
- return d(), C("svg", Ra, Fa);
270
+ return c(), C("svg", Ua, Fa);
271
271
  }
272
- const Ga = /* @__PURE__ */ H(Ua, [["render", za]]), Ka = {}, xa = {
272
+ const Ga = /* @__PURE__ */ H(Ra, [["render", za]]), Ka = {}, xa = {
273
273
  width: "24",
274
274
  height: "24",
275
275
  viewBox: "0 0 24 24",
@@ -282,7 +282,7 @@ const Ga = /* @__PURE__ */ H(Ua, [["render", za]]), Ka = {}, xa = {
282
282
  Wa
283
283
  ];
284
284
  function Xa(s, e) {
285
- return d(), C("svg", xa, Ya);
285
+ return c(), C("svg", xa, Ya);
286
286
  }
287
287
  const Qa = /* @__PURE__ */ H(Ka, [["render", Xa]]), Ja = {}, en = {
288
288
  width: "24",
@@ -297,7 +297,7 @@ const Qa = /* @__PURE__ */ H(Ka, [["render", Xa]]), Ja = {}, en = {
297
297
  tn
298
298
  ];
299
299
  function an(s, e) {
300
- return d(), C("svg", en, sn);
300
+ return c(), C("svg", en, sn);
301
301
  }
302
302
  const nn = /* @__PURE__ */ H(Ja, [["render", an]]), on = {}, ln = {
303
303
  width: "24",
@@ -308,13 +308,13 @@ const nn = /* @__PURE__ */ H(Ja, [["render", an]]), on = {}, ln = {
308
308
  }, rn = /* @__PURE__ */ r("path", {
309
309
  d: "M14 18L8 12L14 6L15.4 7.4L10.8 12L15.4 16.6L14 18Z",
310
310
  fill: "black"
311
- }, null, -1), dn = [
311
+ }, null, -1), cn = [
312
312
  rn
313
313
  ];
314
- function cn(s, e) {
315
- return d(), C("svg", ln, dn);
314
+ function dn(s, e) {
315
+ return c(), C("svg", ln, cn);
316
316
  }
317
- const un = /* @__PURE__ */ H(on, [["render", cn]]), pn = {}, hn = {
317
+ const un = /* @__PURE__ */ H(on, [["render", dn]]), pn = {}, hn = {
318
318
  width: "24",
319
319
  height: "24",
320
320
  viewBox: "0 0 24 24",
@@ -327,7 +327,7 @@ const un = /* @__PURE__ */ H(on, [["render", cn]]), pn = {}, hn = {
327
327
  mn
328
328
  ];
329
329
  function vn(s, e) {
330
- return d(), C("svg", hn, Cn);
330
+ return c(), C("svg", hn, Cn);
331
331
  }
332
332
  const _n = /* @__PURE__ */ H(pn, [["render", vn]]), fn = {}, gn = {
333
333
  width: "24",
@@ -342,7 +342,7 @@ const _n = /* @__PURE__ */ H(pn, [["render", vn]]), fn = {}, gn = {
342
342
  yn
343
343
  ];
344
344
  function wn(s, e) {
345
- return d(), C("svg", gn, bn);
345
+ return c(), C("svg", gn, bn);
346
346
  }
347
347
  const $n = /* @__PURE__ */ H(fn, [["render", wn]]), In = {}, Sn = {
348
348
  width: "24",
@@ -357,7 +357,7 @@ const $n = /* @__PURE__ */ H(fn, [["render", wn]]), In = {}, Sn = {
357
357
  Mn
358
358
  ];
359
359
  function kn(s, e) {
360
- return d(), C("svg", Sn, An);
360
+ return c(), C("svg", Sn, An);
361
361
  }
362
362
  const Tn = /* @__PURE__ */ H(In, [["render", kn]]), Ln = {}, Vn = {
363
363
  width: "24",
@@ -372,7 +372,7 @@ const Tn = /* @__PURE__ */ H(In, [["render", kn]]), Ln = {}, Vn = {
372
372
  En
373
373
  ];
374
374
  function On(s, e) {
375
- return d(), C("svg", Vn, Hn);
375
+ return c(), C("svg", Vn, Hn);
376
376
  }
377
377
  const Dn = /* @__PURE__ */ H(Ln, [["render", On]]), jn = {}, Bn = {
378
378
  width: "24",
@@ -387,9 +387,9 @@ const Dn = /* @__PURE__ */ H(Ln, [["render", On]]), jn = {}, Bn = {
387
387
  Pn
388
388
  ];
389
389
  function Nn(s, e) {
390
- return d(), C("svg", Bn, Zn);
390
+ return c(), C("svg", Bn, Zn);
391
391
  }
392
- const Un = /* @__PURE__ */ H(jn, [["render", Nn]]), Rn = {}, qn = {
392
+ const Rn = /* @__PURE__ */ H(jn, [["render", Nn]]), Un = {}, qn = {
393
393
  width: "24",
394
394
  height: "24",
395
395
  viewBox: "0 0 24 24",
@@ -402,9 +402,9 @@ const Un = /* @__PURE__ */ H(jn, [["render", Nn]]), Rn = {}, qn = {
402
402
  Fn
403
403
  ];
404
404
  function Gn(s, e) {
405
- return d(), C("svg", qn, zn);
405
+ return c(), C("svg", qn, zn);
406
406
  }
407
- const Kn = /* @__PURE__ */ H(Rn, [["render", Gn]]), xn = {}, Wn = {
407
+ const Kn = /* @__PURE__ */ H(Un, [["render", Gn]]), xn = {}, Wn = {
408
408
  width: "24",
409
409
  height: "24",
410
410
  viewBox: "0 0 24 24",
@@ -417,7 +417,7 @@ const Kn = /* @__PURE__ */ H(Rn, [["render", Gn]]), xn = {}, Wn = {
417
417
  Yn
418
418
  ];
419
419
  function Qn(s, e) {
420
- return d(), C("svg", Wn, Xn);
420
+ return c(), C("svg", Wn, Xn);
421
421
  }
422
422
  const Jn = /* @__PURE__ */ H(xn, [["render", Qn]]), ei = {}, ti = {
423
423
  width: "24",
@@ -432,7 +432,7 @@ const Jn = /* @__PURE__ */ H(xn, [["render", Qn]]), ei = {}, ti = {
432
432
  si
433
433
  ];
434
434
  function ni(s, e) {
435
- return d(), C("svg", ti, ai);
435
+ return c(), C("svg", ti, ai);
436
436
  }
437
437
  const ii = /* @__PURE__ */ H(ei, [["render", ni]]), oi = {}, li = {
438
438
  width: "24",
@@ -443,13 +443,13 @@ const ii = /* @__PURE__ */ H(ei, [["render", ni]]), oi = {}, li = {
443
443
  }, ri = /* @__PURE__ */ r("path", {
444
444
  d: "M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
445
445
  fill: "black"
446
- }, null, -1), di = [
446
+ }, null, -1), ci = [
447
447
  ri
448
448
  ];
449
- function ci(s, e) {
450
- return d(), C("svg", li, di);
449
+ function di(s, e) {
450
+ return c(), C("svg", li, ci);
451
451
  }
452
- const ui = /* @__PURE__ */ H(oi, [["render", ci]]), pi = {}, hi = {
452
+ const ui = /* @__PURE__ */ H(oi, [["render", di]]), pi = {}, hi = {
453
453
  width: "24",
454
454
  height: "24",
455
455
  viewBox: "0 0 24 24",
@@ -462,7 +462,7 @@ const ui = /* @__PURE__ */ H(oi, [["render", ci]]), pi = {}, hi = {
462
462
  mi
463
463
  ];
464
464
  function vi(s, e) {
465
- return d(), C("svg", hi, Ci);
465
+ return c(), C("svg", hi, Ci);
466
466
  }
467
467
  const _i = /* @__PURE__ */ H(pi, [["render", vi]]), fi = {}, gi = {
468
468
  width: "24",
@@ -477,7 +477,7 @@ const _i = /* @__PURE__ */ H(pi, [["render", vi]]), fi = {}, gi = {
477
477
  yi
478
478
  ];
479
479
  function wi(s, e) {
480
- return d(), C("svg", gi, bi);
480
+ return c(), C("svg", gi, bi);
481
481
  }
482
482
  const $i = /* @__PURE__ */ H(fi, [["render", wi]]), Ii = {}, Si = {
483
483
  width: "24",
@@ -492,7 +492,7 @@ const $i = /* @__PURE__ */ H(fi, [["render", wi]]), Ii = {}, Si = {
492
492
  Mi
493
493
  ];
494
494
  function ki(s, e) {
495
- return d(), C("svg", Si, Ai);
495
+ return c(), C("svg", Si, Ai);
496
496
  }
497
497
  const Ti = /* @__PURE__ */ H(Ii, [["render", ki]]), Li = {}, Vi = {
498
498
  width: "24",
@@ -507,7 +507,7 @@ const Ti = /* @__PURE__ */ H(Ii, [["render", ki]]), Li = {}, Vi = {
507
507
  Ei
508
508
  ];
509
509
  function Oi(s, e) {
510
- return d(), C("svg", Vi, Hi);
510
+ return c(), C("svg", Vi, Hi);
511
511
  }
512
512
  const Di = /* @__PURE__ */ H(Li, [["render", Oi]]), ji = {}, Bi = {
513
513
  width: "24",
@@ -522,9 +522,9 @@ const Di = /* @__PURE__ */ H(Li, [["render", Oi]]), ji = {}, Bi = {
522
522
  Pi
523
523
  ];
524
524
  function Ni(s, e) {
525
- return d(), C("svg", Bi, Zi);
525
+ return c(), C("svg", Bi, Zi);
526
526
  }
527
- const Ui = /* @__PURE__ */ H(ji, [["render", Ni]]), Ri = {}, qi = {
527
+ const Ri = /* @__PURE__ */ H(ji, [["render", Ni]]), Ui = {}, qi = {
528
528
  width: "24",
529
529
  height: "24",
530
530
  viewBox: "0 0 24 24",
@@ -537,9 +537,9 @@ const Ui = /* @__PURE__ */ H(ji, [["render", Ni]]), Ri = {}, qi = {
537
537
  Fi
538
538
  ];
539
539
  function Gi(s, e) {
540
- return d(), C("svg", qi, zi);
540
+ return c(), C("svg", qi, zi);
541
541
  }
542
- const Ki = /* @__PURE__ */ H(Ri, [["render", Gi]]), xi = {}, Wi = {
542
+ const Ki = /* @__PURE__ */ H(Ui, [["render", Gi]]), xi = {}, Wi = {
543
543
  width: "24",
544
544
  height: "24",
545
545
  viewBox: "0 0 24 24",
@@ -552,7 +552,7 @@ const Ki = /* @__PURE__ */ H(Ri, [["render", Gi]]), xi = {}, Wi = {
552
552
  Yi
553
553
  ];
554
554
  function Qi(s, e) {
555
- return d(), C("svg", Wi, Xi);
555
+ return c(), C("svg", Wi, Xi);
556
556
  }
557
557
  const Ji = /* @__PURE__ */ H(xi, [["render", Qi]]), eo = {}, to = {
558
558
  width: "24",
@@ -567,7 +567,7 @@ const Ji = /* @__PURE__ */ H(xi, [["render", Qi]]), eo = {}, to = {
567
567
  so
568
568
  ];
569
569
  function no(s, e) {
570
- return d(), C("svg", to, ao);
570
+ return c(), C("svg", to, ao);
571
571
  }
572
572
  const io = /* @__PURE__ */ H(eo, [["render", no]]), oo = {}, lo = {
573
573
  width: "24",
@@ -582,7 +582,7 @@ const io = /* @__PURE__ */ H(eo, [["render", no]]), oo = {}, lo = {
582
582
  ro
583
583
  ];
584
584
  function uo(s, e) {
585
- return d(), C("svg", lo, co);
585
+ return c(), C("svg", lo, co);
586
586
  }
587
587
  const po = /* @__PURE__ */ H(oo, [["render", uo]]), ho = {}, mo = {
588
588
  width: "24",
@@ -597,28 +597,28 @@ const po = /* @__PURE__ */ H(oo, [["render", uo]]), ho = {}, mo = {
597
597
  Co
598
598
  ];
599
599
  function _o(s, e) {
600
- return d(), C("svg", mo, vo);
600
+ return c(), C("svg", mo, vo);
601
601
  }
602
602
  const fo = /* @__PURE__ */ H(ho, [["render", _o]]), go = x({
603
603
  name: "LoadingIcon"
604
604
  });
605
- const N1 = (s) => (Rt("data-v-ad6da4a9"), s = s(), qt(), s), yo = {
605
+ const R1 = (s) => (Ut("data-v-ad6da4a9"), s = s(), qt(), s), yo = {
606
606
  width: "24",
607
607
  height: "24",
608
608
  viewBox: "0 0 24 24",
609
609
  fill: "none",
610
610
  xmlns: "http://www.w3.org/2000/svg"
611
- }, bo = /* @__PURE__ */ N1(() => /* @__PURE__ */ r("circle", {
611
+ }, bo = /* @__PURE__ */ R1(() => /* @__PURE__ */ r("circle", {
612
612
  class: "dot dot--1",
613
613
  cx: "6",
614
614
  cy: "12",
615
615
  r: "2"
616
- }, null, -1)), wo = /* @__PURE__ */ N1(() => /* @__PURE__ */ r("circle", {
616
+ }, null, -1)), wo = /* @__PURE__ */ R1(() => /* @__PURE__ */ r("circle", {
617
617
  class: "dot dot--2",
618
618
  cx: "12",
619
619
  cy: "12",
620
620
  r: "2"
621
- }, null, -1)), $o = /* @__PURE__ */ N1(() => /* @__PURE__ */ r("circle", {
621
+ }, null, -1)), $o = /* @__PURE__ */ R1(() => /* @__PURE__ */ r("circle", {
622
622
  class: "dot dot--3",
623
623
  cx: "18",
624
624
  cy: "12",
@@ -629,7 +629,7 @@ const N1 = (s) => (Rt("data-v-ad6da4a9"), s = s(), qt(), s), yo = {
629
629
  $o
630
630
  ];
631
631
  function So(s, e, t, n, a, o) {
632
- return d(), C("svg", yo, Io);
632
+ return c(), C("svg", yo, Io);
633
633
  }
634
634
  const Mo = /* @__PURE__ */ H(go, [["render", So], ["__scopeId", "data-v-ad6da4a9"]]), Ao = {}, ko = {
635
635
  width: "24",
@@ -644,7 +644,7 @@ const Mo = /* @__PURE__ */ H(go, [["render", So], ["__scopeId", "data-v-ad6da4a9
644
644
  To
645
645
  ];
646
646
  function Vo(s, e) {
647
- return d(), C("svg", ko, Lo);
647
+ return c(), C("svg", ko, Lo);
648
648
  }
649
649
  const Eo = /* @__PURE__ */ H(Ao, [["render", Vo]]), Ho = {}, Oo = {
650
650
  width: "24",
@@ -659,7 +659,7 @@ const Eo = /* @__PURE__ */ H(Ao, [["render", Vo]]), Ho = {}, Oo = {
659
659
  Do
660
660
  ];
661
661
  function Bo(s, e) {
662
- return d(), C("svg", Oo, jo);
662
+ return c(), C("svg", Oo, jo);
663
663
  }
664
664
  const Po = /* @__PURE__ */ H(Ho, [["render", Bo]]), Zo = {}, No = {
665
665
  width: "24",
@@ -667,14 +667,14 @@ const Po = /* @__PURE__ */ H(Ho, [["render", Bo]]), Zo = {}, No = {
667
667
  viewBox: "0 0 24 24",
668
668
  fill: "none",
669
669
  xmlns: "http://www.w3.org/2000/svg"
670
- }, Uo = /* @__PURE__ */ r("path", {
670
+ }, Ro = /* @__PURE__ */ r("path", {
671
671
  d: "M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",
672
672
  fill: "black"
673
- }, null, -1), Ro = [
674
- Uo
673
+ }, null, -1), Uo = [
674
+ Ro
675
675
  ];
676
676
  function qo(s, e) {
677
- return d(), C("svg", No, Ro);
677
+ return c(), C("svg", No, Uo);
678
678
  }
679
679
  const Fo = /* @__PURE__ */ H(Zo, [["render", qo]]), zo = {}, Go = {
680
680
  width: "24",
@@ -689,7 +689,7 @@ const Fo = /* @__PURE__ */ H(Zo, [["render", qo]]), zo = {}, Go = {
689
689
  Ko
690
690
  ];
691
691
  function Wo(s, e) {
692
- return d(), C("svg", Go, xo);
692
+ return c(), C("svg", Go, xo);
693
693
  }
694
694
  const Yo = /* @__PURE__ */ H(zo, [["render", Wo]]), Xo = {}, Qo = {
695
695
  width: "24",
@@ -704,7 +704,7 @@ const Yo = /* @__PURE__ */ H(zo, [["render", Wo]]), Xo = {}, Qo = {
704
704
  Jo
705
705
  ];
706
706
  function tl(s, e) {
707
- return d(), C("svg", Qo, el);
707
+ return c(), C("svg", Qo, el);
708
708
  }
709
709
  const sl = /* @__PURE__ */ H(Xo, [["render", tl]]), al = {}, nl = {
710
710
  width: "24",
@@ -719,9 +719,9 @@ const sl = /* @__PURE__ */ H(Xo, [["render", tl]]), al = {}, nl = {
719
719
  il
720
720
  ];
721
721
  function ll(s, e) {
722
- return d(), C("svg", nl, ol);
722
+ return c(), C("svg", nl, ol);
723
723
  }
724
- const rl = /* @__PURE__ */ H(al, [["render", ll]]), dl = {}, cl = {
724
+ const rl = /* @__PURE__ */ H(al, [["render", ll]]), cl = {}, dl = {
725
725
  width: "24",
726
726
  height: "24",
727
727
  viewBox: "0 0 24 24",
@@ -734,9 +734,9 @@ const rl = /* @__PURE__ */ H(al, [["render", ll]]), dl = {}, cl = {
734
734
  ul
735
735
  ];
736
736
  function hl(s, e) {
737
- return d(), C("svg", cl, pl);
737
+ return c(), C("svg", dl, pl);
738
738
  }
739
- const ml = /* @__PURE__ */ H(dl, [["render", hl]]), Cl = {}, vl = {
739
+ const ml = /* @__PURE__ */ H(cl, [["render", hl]]), Cl = {}, vl = {
740
740
  width: "24",
741
741
  height: "24",
742
742
  viewBox: "0 0 24 24",
@@ -749,7 +749,7 @@ const ml = /* @__PURE__ */ H(dl, [["render", hl]]), Cl = {}, vl = {
749
749
  _l
750
750
  ];
751
751
  function gl(s, e) {
752
- return d(), C("svg", vl, fl);
752
+ return c(), C("svg", vl, fl);
753
753
  }
754
754
  const yl = /* @__PURE__ */ H(Cl, [["render", gl]]), bl = {}, wl = {
755
755
  width: "24",
@@ -764,7 +764,7 @@ const yl = /* @__PURE__ */ H(Cl, [["render", gl]]), bl = {}, wl = {
764
764
  $l
765
765
  ];
766
766
  function Sl(s, e) {
767
- return d(), C("svg", wl, Il);
767
+ return c(), C("svg", wl, Il);
768
768
  }
769
769
  const Ml = /* @__PURE__ */ H(bl, [["render", Sl]]), Al = {}, kl = {
770
770
  width: "24",
@@ -779,7 +779,7 @@ const Ml = /* @__PURE__ */ H(bl, [["render", Sl]]), Al = {}, kl = {
779
779
  Tl
780
780
  ];
781
781
  function Vl(s, e) {
782
- return d(), C("svg", kl, Ll);
782
+ return c(), C("svg", kl, Ll);
783
783
  }
784
784
  const El = /* @__PURE__ */ H(Al, [["render", Vl]]), Hl = {}, Ol = {
785
785
  width: "24",
@@ -794,7 +794,7 @@ const El = /* @__PURE__ */ H(Al, [["render", Vl]]), Hl = {}, Ol = {
794
794
  Dl
795
795
  ];
796
796
  function Bl(s, e) {
797
- return d(), C("svg", Ol, jl);
797
+ return c(), C("svg", Ol, jl);
798
798
  }
799
799
  const Pl = /* @__PURE__ */ H(Hl, [["render", Bl]]), Zl = {}, Nl = {
800
800
  width: "24",
@@ -802,14 +802,14 @@ const Pl = /* @__PURE__ */ H(Hl, [["render", Bl]]), Zl = {}, Nl = {
802
802
  viewBox: "0 0 24 24",
803
803
  fill: "none",
804
804
  xmlns: "http://www.w3.org/2000/svg"
805
- }, Ul = /* @__PURE__ */ r("path", {
805
+ }, Rl = /* @__PURE__ */ r("path", {
806
806
  d: "M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",
807
807
  fill: "black"
808
- }, null, -1), Rl = [
809
- Ul
808
+ }, null, -1), Ul = [
809
+ Rl
810
810
  ];
811
811
  function ql(s, e) {
812
- return d(), C("svg", Nl, Rl);
812
+ return c(), C("svg", Nl, Ul);
813
813
  }
814
814
  const Fl = /* @__PURE__ */ H(Zl, [["render", ql]]), zl = {}, Gl = {
815
815
  width: "26",
@@ -821,7 +821,7 @@ const Fl = /* @__PURE__ */ H(Zl, [["render", ql]]), zl = {}, Gl = {
821
821
  Kl
822
822
  ];
823
823
  function Wl(s, e) {
824
- return d(), C("svg", Gl, xl);
824
+ return c(), C("svg", Gl, xl);
825
825
  }
826
826
  const Yl = /* @__PURE__ */ H(zl, [["render", Wl]]), Xl = {}, Ql = {
827
827
  width: "24",
@@ -836,7 +836,7 @@ const Yl = /* @__PURE__ */ H(zl, [["render", Wl]]), Xl = {}, Ql = {
836
836
  Jl
837
837
  ];
838
838
  function t2(s, e) {
839
- return d(), C("svg", Ql, e2);
839
+ return c(), C("svg", Ql, e2);
840
840
  }
841
841
  const s2 = /* @__PURE__ */ H(Xl, [["render", t2]]), a2 = {}, n2 = {
842
842
  width: "24",
@@ -851,9 +851,9 @@ const s2 = /* @__PURE__ */ H(Xl, [["render", t2]]), a2 = {}, n2 = {
851
851
  i2
852
852
  ];
853
853
  function l2(s, e) {
854
- return d(), C("svg", n2, o2);
854
+ return c(), C("svg", n2, o2);
855
855
  }
856
- const r2 = /* @__PURE__ */ H(a2, [["render", l2]]), d2 = {}, c2 = {
856
+ const r2 = /* @__PURE__ */ H(a2, [["render", l2]]), c2 = {}, d2 = {
857
857
  width: "24",
858
858
  height: "24",
859
859
  viewBox: "0 0 24 24",
@@ -866,9 +866,9 @@ const r2 = /* @__PURE__ */ H(a2, [["render", l2]]), d2 = {}, c2 = {
866
866
  u2
867
867
  ];
868
868
  function h2(s, e) {
869
- return d(), C("svg", c2, p2);
869
+ return c(), C("svg", d2, p2);
870
870
  }
871
- const m2 = /* @__PURE__ */ H(d2, [["render", h2]]), C2 = {}, v2 = {
871
+ const m2 = /* @__PURE__ */ H(c2, [["render", h2]]), C2 = {}, v2 = {
872
872
  width: "24",
873
873
  height: "24",
874
874
  viewBox: "0 0 24 24",
@@ -881,7 +881,7 @@ const m2 = /* @__PURE__ */ H(d2, [["render", h2]]), C2 = {}, v2 = {
881
881
  _2
882
882
  ];
883
883
  function g2(s, e) {
884
- return d(), C("svg", v2, f2);
884
+ return c(), C("svg", v2, f2);
885
885
  }
886
886
  const y2 = /* @__PURE__ */ H(C2, [["render", g2]]), b2 = {}, w2 = {
887
887
  width: "24",
@@ -896,7 +896,7 @@ const y2 = /* @__PURE__ */ H(C2, [["render", g2]]), b2 = {}, w2 = {
896
896
  $2
897
897
  ];
898
898
  function S2(s, e) {
899
- return d(), C("svg", w2, I2);
899
+ return c(), C("svg", w2, I2);
900
900
  }
901
901
  const M2 = /* @__PURE__ */ H(b2, [["render", S2]]), A2 = {}, k2 = {
902
902
  width: "24",
@@ -911,7 +911,7 @@ const M2 = /* @__PURE__ */ H(b2, [["render", S2]]), A2 = {}, k2 = {
911
911
  T2
912
912
  ];
913
913
  function V2(s, e) {
914
- return d(), C("svg", k2, L2);
914
+ return c(), C("svg", k2, L2);
915
915
  }
916
916
  const E2 = /* @__PURE__ */ H(A2, [["render", V2]]), H2 = {}, O2 = {
917
917
  width: "24",
@@ -926,7 +926,7 @@ const E2 = /* @__PURE__ */ H(A2, [["render", V2]]), H2 = {}, O2 = {
926
926
  D2
927
927
  ];
928
928
  function B2(s, e) {
929
- return d(), C("svg", O2, j2);
929
+ return c(), C("svg", O2, j2);
930
930
  }
931
931
  const P2 = /* @__PURE__ */ H(H2, [["render", B2]]), Z2 = {}, N2 = {
932
932
  width: "24",
@@ -934,14 +934,14 @@ const P2 = /* @__PURE__ */ H(H2, [["render", B2]]), Z2 = {}, N2 = {
934
934
  viewBox: "0 0 24 24",
935
935
  fill: "none",
936
936
  xmlns: "http://www.w3.org/2000/svg"
937
- }, U2 = /* @__PURE__ */ r("path", {
937
+ }, R2 = /* @__PURE__ */ r("path", {
938
938
  d: "M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",
939
939
  fill: "black"
940
- }, null, -1), R2 = [
941
- U2
940
+ }, null, -1), U2 = [
941
+ R2
942
942
  ];
943
943
  function q2(s, e) {
944
- return d(), C("svg", N2, R2);
944
+ return c(), C("svg", N2, U2);
945
945
  }
946
946
  const F2 = /* @__PURE__ */ H(Z2, [["render", q2]]), z2 = {}, G2 = {
947
947
  width: "24",
@@ -956,7 +956,7 @@ const F2 = /* @__PURE__ */ H(Z2, [["render", q2]]), z2 = {}, G2 = {
956
956
  K2
957
957
  ];
958
958
  function W2(s, e) {
959
- return d(), C("svg", G2, x2);
959
+ return c(), C("svg", G2, x2);
960
960
  }
961
961
  const Y2 = /* @__PURE__ */ H(z2, [["render", W2]]), X2 = {}, Q2 = {
962
962
  width: "24",
@@ -971,7 +971,7 @@ const Y2 = /* @__PURE__ */ H(z2, [["render", W2]]), X2 = {}, Q2 = {
971
971
  J2
972
972
  ];
973
973
  function tr(s, e) {
974
- return d(), C("svg", Q2, er);
974
+ return c(), C("svg", Q2, er);
975
975
  }
976
976
  const sr = /* @__PURE__ */ H(X2, [["render", tr]]), ar = {}, nr = {
977
977
  width: "24",
@@ -986,9 +986,9 @@ const sr = /* @__PURE__ */ H(X2, [["render", tr]]), ar = {}, nr = {
986
986
  ir
987
987
  ];
988
988
  function lr(s, e) {
989
- return d(), C("svg", nr, or);
989
+ return c(), C("svg", nr, or);
990
990
  }
991
- const rr = /* @__PURE__ */ H(ar, [["render", lr]]), dr = {}, cr = {
991
+ const rr = /* @__PURE__ */ H(ar, [["render", lr]]), cr = {}, dr = {
992
992
  width: "24",
993
993
  height: "24",
994
994
  viewBox: "0 0 24 24",
@@ -1001,9 +1001,9 @@ const rr = /* @__PURE__ */ H(ar, [["render", lr]]), dr = {}, cr = {
1001
1001
  ur
1002
1002
  ];
1003
1003
  function hr(s, e) {
1004
- return d(), C("svg", cr, pr);
1004
+ return c(), C("svg", dr, pr);
1005
1005
  }
1006
- const mr = /* @__PURE__ */ H(dr, [["render", hr]]), Cr = {}, vr = {
1006
+ const mr = /* @__PURE__ */ H(cr, [["render", hr]]), Cr = {}, vr = {
1007
1007
  width: "24",
1008
1008
  height: "24",
1009
1009
  viewBox: "0 0 24 24",
@@ -1016,7 +1016,7 @@ const mr = /* @__PURE__ */ H(dr, [["render", hr]]), Cr = {}, vr = {
1016
1016
  _r
1017
1017
  ];
1018
1018
  function gr(s, e) {
1019
- return d(), C("svg", vr, fr);
1019
+ return c(), C("svg", vr, fr);
1020
1020
  }
1021
1021
  const yr = /* @__PURE__ */ H(Cr, [["render", gr]]), br = {}, wr = {
1022
1022
  width: "24",
@@ -1031,12 +1031,12 @@ const yr = /* @__PURE__ */ H(Cr, [["render", gr]]), br = {}, wr = {
1031
1031
  $r
1032
1032
  ];
1033
1033
  function Sr(s, e) {
1034
- return d(), C("svg", wr, Ir);
1034
+ return c(), C("svg", wr, Ir);
1035
1035
  }
1036
1036
  const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1037
1037
  __proto__: null,
1038
1038
  AccountBoxSharp: ns,
1039
- AccountCircle: cs,
1039
+ AccountCircle: ds,
1040
1040
  AccountTreeOutlineRounded: vs,
1041
1041
  AccountTreeRounded: ws,
1042
1042
  Add: ks,
@@ -1045,7 +1045,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1045
1045
  ArrowBackRounded: Gs,
1046
1046
  ArrowDropDownRounded: Qs,
1047
1047
  ArrowForwardRounded: na,
1048
- AssignmentOutlineRounded: ca,
1048
+ AssignmentOutlineRounded: da,
1049
1049
  AttachFileRounded: va,
1050
1050
  CalendarTodayOutlineRounded: wa,
1051
1051
  ChatOutline: ka,
@@ -1059,7 +1059,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1059
1059
  CloseRounded: $n,
1060
1060
  ContactsOutlineRounded: Tn,
1061
1061
  ContentCopyOutline: Dn,
1062
- DeleteOutlineRounded: Un,
1062
+ DeleteOutlineRounded: Rn,
1063
1063
  DragIndicator: Kn,
1064
1064
  EditDocumentRounded: Jn,
1065
1065
  EditOutline: ii,
@@ -1068,7 +1068,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1068
1068
  FlagRounded: $i,
1069
1069
  FlowsheetOutlineRounded: Ti,
1070
1070
  GifBox: Di,
1071
- GroupsOutline: Ui,
1071
+ GroupsOutline: Ri,
1072
1072
  HomeOutlineRounded: Ki,
1073
1073
  ImageRounded: Ji,
1074
1074
  Info: io,
@@ -1126,7 +1126,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1126
1126
  },
1127
1127
  setup(s) {
1128
1128
  const e = s, t = v(() => Ar[e.name]);
1129
- return (n, a) => (d(), q(Ke(t.value), {
1129
+ return (n, a) => (c(), q(Ke(t.value), {
1130
1130
  class: K(["ao-icon", `ao-icon--${n.size}`])
1131
1131
  }, null, 8, ["class"]));
1132
1132
  }
@@ -1150,7 +1150,7 @@ const Lr = ["type"], Vr = {
1150
1150
  },
1151
1151
  setup(s) {
1152
1152
  const e = s, t = v(() => e.size), n = v(() => e.isLoading ? "Loading" : e.iconName);
1153
- return (a, o) => (d(), C("button", {
1153
+ return (a, o) => (c(), C("button", {
1154
1154
  type: a.type,
1155
1155
  class: K([
1156
1156
  "ao-button",
@@ -1164,9 +1164,9 @@ const Lr = ["type"], Vr = {
1164
1164
  ])
1165
1165
  }, [
1166
1166
  W(a.$slots, "default", {}, () => [
1167
- a.label ? (d(), C("span", Vr, R(a.label), 1)) : A("", !0)
1167
+ a.label ? (c(), C("span", Vr, U(a.label), 1)) : A("", !0)
1168
1168
  ]),
1169
- n.value ? (d(), q(le, {
1169
+ n.value ? (c(), q(le, {
1170
1170
  key: 0,
1171
1171
  name: n.value,
1172
1172
  class: "ao-button__icon",
@@ -1175,24 +1175,24 @@ const Lr = ["type"], Vr = {
1175
1175
  ], 10, Lr));
1176
1176
  }
1177
1177
  });
1178
- function dt(s) {
1178
+ function ct(s) {
1179
1179
  const e = J(!1), t = J(""), n = v(() => "value" in s.value ? "value" : "innerHTML"), a = () => {
1180
1180
  e.value = !e.value;
1181
- }, o = (p) => {
1182
- e.value = p;
1183
- }, i = (p) => async () => {
1181
+ }, o = (h) => {
1182
+ e.value = h;
1183
+ }, i = (h) => async () => {
1184
1184
  o(!1), await je(() => {
1185
- s.value[n.value] = t.value, p == null || p();
1185
+ s.value[n.value] = t.value, h == null || h();
1186
1186
  });
1187
- }, l = (p) => async (c) => {
1187
+ }, l = (h) => async (d) => {
1188
1188
  o(!1), await je(() => {
1189
- p(s.value[n.value], c);
1189
+ h(s.value[n.value], d);
1190
1190
  });
1191
1191
  };
1192
- return fe(e, async (p) => {
1192
+ return fe(e, async (h) => {
1193
1193
  await je(() => {
1194
1194
  setTimeout(() => {
1195
- s.value && p && (s.value.focus(), t.value = s.value[n.value]);
1195
+ s.value && h && (s.value.focus(), t.value = s.value[n.value]);
1196
1196
  }, 1);
1197
1197
  });
1198
1198
  }), {
@@ -1214,14 +1214,14 @@ const pe = /* @__PURE__ */ x({
1214
1214
  },
1215
1215
  emits: ["update:title", "toggle-is-editing"],
1216
1216
  setup(s, { emit: e }) {
1217
- const t = s, n = J(null), { isEditing: a, setIsEditing: o, onUpdate: i, onDiscard: l } = dt(n), p = v(() => a.value ? "input" : t.tag || `h${t.level}`), c = v(() => t.isEditable ? a.value ? {
1218
- change: h,
1217
+ const t = s, n = J(null), { isEditing: a, setIsEditing: o, onUpdate: i, onDiscard: l } = ct(n), h = v(() => a.value ? "input" : t.tag || `h${t.level}`), d = v(() => t.isEditable ? a.value ? {
1218
+ change: p,
1219
1219
  click: (w) => w.stopPropagation(),
1220
1220
  blur: f
1221
1221
  } : {
1222
1222
  click: V,
1223
1223
  focus: V
1224
- } : {}), h = i((w, O) => {
1224
+ } : {}), p = i((w, O) => {
1225
1225
  const b = O.target.value;
1226
1226
  e("update:title", b);
1227
1227
  }), _ = l(), f = async () => {
@@ -1236,7 +1236,7 @@ const pe = /* @__PURE__ */ x({
1236
1236
  (w) => {
1237
1237
  w || _();
1238
1238
  }
1239
- ), (w, O) => (d(), q(Ke(p.value), De({
1239
+ ), (w, O) => (c(), q(Ke(h.value), De({
1240
1240
  ref_key: "target",
1241
1241
  ref: n,
1242
1242
  class: [
@@ -1253,11 +1253,11 @@ const pe = /* @__PURE__ */ x({
1253
1253
  value: N(a) ? w.title : null,
1254
1254
  tabindex: "0",
1255
1255
  onKeyup: a1(g, ["enter"])
1256
- }, zt(c.value), {
1256
+ }, zt(d.value), {
1257
1257
  onKeydown: a1(N(_), ["esc"])
1258
1258
  }), {
1259
1259
  default: F(() => [
1260
- Z1(R(w.title), 1)
1260
+ N1(U(w.title), 1)
1261
1261
  ]),
1262
1262
  _: 1
1263
1263
  }, 16, ["class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1284,7 +1284,7 @@ const Er = {
1284
1284
  }, Nr = {
1285
1285
  key: 3,
1286
1286
  class: "ao-card-horiz__secondary"
1287
- }, ct = /* @__PURE__ */ x({
1287
+ }, dt = /* @__PURE__ */ x({
1288
1288
  __name: "AoCardHoriz",
1289
1289
  props: {
1290
1290
  title: {},
@@ -1300,18 +1300,18 @@ const Er = {
1300
1300
  const t = (n) => {
1301
1301
  e("update:title", n);
1302
1302
  };
1303
- return (n, a) => (d(), q(Ke(n.tagName), {
1303
+ return (n, a) => (c(), q(Ke(n.tagName), {
1304
1304
  class: K(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1305
1305
  }, {
1306
1306
  default: F(() => [
1307
- n.isDraggable ? (d(), C("div", Er, [
1307
+ n.isDraggable ? (c(), C("div", Er, [
1308
1308
  y(le, {
1309
1309
  name: "DragIndicator",
1310
1310
  class: "ao-card-horiz__drag-handle"
1311
1311
  })
1312
1312
  ])) : A("", !0),
1313
1313
  r("div", Hr, [
1314
- n.icon ? (d(), C("div", Or, [
1314
+ n.icon ? (c(), C("div", Or, [
1315
1315
  y(le, {
1316
1316
  class: "ao-card-horiz__icon",
1317
1317
  name: n.icon,
@@ -1327,20 +1327,20 @@ const Er = {
1327
1327
  "onUpdate:title": t
1328
1328
  }, null, 8, ["title"]),
1329
1329
  W(n.$slots, "subtitle", {}, () => [
1330
- n.subtitle ? (d(), C("span", jr, R(n.subtitle), 1)) : A("", !0)
1330
+ n.subtitle ? (c(), C("span", jr, U(n.subtitle), 1)) : A("", !0)
1331
1331
  ])
1332
1332
  ]),
1333
- n.$slots.header ? (d(), C("div", Br, [
1333
+ n.$slots.header ? (c(), C("div", Br, [
1334
1334
  W(n.$slots, "header")
1335
1335
  ])) : A("", !0)
1336
1336
  ]),
1337
- n.$slots.default ? (d(), C("div", Pr, [
1337
+ n.$slots.default ? (c(), C("div", Pr, [
1338
1338
  W(n.$slots, "default")
1339
1339
  ])) : A("", !0),
1340
- n.$slots.footer ? (d(), C("div", Zr, [
1340
+ n.$slots.footer ? (c(), C("div", Zr, [
1341
1341
  W(n.$slots, "footer")
1342
1342
  ])) : A("", !0),
1343
- n.$slots.secondary ? (d(), C("div", Nr, [
1343
+ n.$slots.secondary ? (c(), C("div", Nr, [
1344
1344
  W(n.$slots, "secondary")
1345
1345
  ])) : A("", !0)
1346
1346
  ]),
@@ -1362,7 +1362,7 @@ const g1 = /* @__PURE__ */ x({
1362
1362
  const e = s, t = v(() => e.clickable ? "button" : "span"), n = v(
1363
1363
  () => t.value === "button" ? { type: "button" } : {}
1364
1364
  );
1365
- return (a, o) => (d(), C("div", {
1365
+ return (a, o) => (c(), C("div", {
1366
1366
  class: K([
1367
1367
  "ao-tag",
1368
1368
  a.color ? `ao-tag--${a.color}` : "",
@@ -1371,15 +1371,15 @@ const g1 = /* @__PURE__ */ x({
1371
1371
  a.variant ? `ao-tag--${a.variant}` : ""
1372
1372
  ])
1373
1373
  }, [
1374
- (d(), q(Ke(t.value), De({ class: "ao-tag__label" }, n.value, {
1374
+ (c(), q(Ke(t.value), De({ class: "ao-tag__label" }, n.value, {
1375
1375
  onClick: o[0] || (o[0] = (i) => a.$emit("click", i))
1376
1376
  }), {
1377
1377
  default: F(() => [
1378
- Z1(R(a.label), 1)
1378
+ N1(U(a.label), 1)
1379
1379
  ]),
1380
1380
  _: 1
1381
1381
  }, 16)),
1382
- a.closable ? (d(), C("button", {
1382
+ a.closable ? (c(), C("button", {
1383
1383
  key: 0,
1384
1384
  class: "ao-tag__close",
1385
1385
  onClick: o[1] || (o[1] = (i) => a.$emit("close", i))
@@ -1397,9 +1397,9 @@ var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1397
1397
  Object.defineProperty(y1, "__esModule", { value: !0 });
1398
1398
  y1.lexoHelper = void 0;
1399
1399
  y1.lexoHelper = {
1400
- arrayCopy: Ur
1400
+ arrayCopy: Rr
1401
1401
  };
1402
- function Ur(s, e, t, n, a) {
1402
+ function Rr(s, e, t, n, a) {
1403
1403
  let o = n;
1404
1404
  const i = e + a;
1405
1405
  for (let l = e; l < i; l++)
@@ -1407,7 +1407,7 @@ function Ur(s, e, t, n, a) {
1407
1407
  }
1408
1408
  var l1 = {};
1409
1409
  Object.defineProperty(l1, "__esModule", { value: !0 });
1410
- class Rr {
1410
+ class Ur {
1411
1411
  constructor(e = "") {
1412
1412
  this.str = e;
1413
1413
  }
@@ -1430,7 +1430,7 @@ class Rr {
1430
1430
  return this.str;
1431
1431
  }
1432
1432
  }
1433
- l1.default = Rr;
1433
+ l1.default = Ur;
1434
1434
  Object.defineProperty(xe, "__esModule", { value: !0 });
1435
1435
  xe.LexoInteger = void 0;
1436
1436
  const p1 = y1, qr = l1;
@@ -1468,11 +1468,11 @@ class G {
1468
1468
  const a = Math.max(t.length, n.length), o = new Array(a).fill(0);
1469
1469
  let i = 0;
1470
1470
  for (let l = 0; l < a; ++l) {
1471
- const p = l < t.length ? t[l] : 0, c = l < n.length ? n[l] : 0;
1472
- let h = p + c + i;
1473
- for (i = 0; h >= e.getBase(); h -= e.getBase())
1471
+ const h = l < t.length ? t[l] : 0, d = l < n.length ? n[l] : 0;
1472
+ let p = h + d + i;
1473
+ for (i = 0; p >= e.getBase(); p -= e.getBase())
1474
1474
  ++i;
1475
- o[l] = h;
1475
+ o[l] = p;
1476
1476
  }
1477
1477
  return G.extendWithCarry(o, i);
1478
1478
  }
@@ -1767,19 +1767,19 @@ function pt() {
1767
1767
  }
1768
1768
  static from(a) {
1769
1769
  const o = s.LexoInteger.parse(a, e.LexoRank.NUMERAL_SYSTEM), i = t.VALUES, l = i.length;
1770
- for (let p = 0; p < l; ++p) {
1771
- const c = i[p];
1772
- if (c.value.equals(o))
1773
- return c;
1770
+ for (let h = 0; h < l; ++h) {
1771
+ const d = i[h];
1772
+ if (d.value.equals(o))
1773
+ return d;
1774
1774
  }
1775
1775
  throw new Error("Unknown bucket: " + a);
1776
1776
  }
1777
1777
  static resolve(a) {
1778
1778
  const o = t.VALUES, i = o.length;
1779
1779
  for (let l = 0; l < i; ++l) {
1780
- const p = o[l];
1781
- if (p.equals(t.from(a.toString())))
1782
- return p;
1780
+ const h = o[l];
1781
+ if (h.equals(t.from(a.toString())))
1782
+ return h;
1783
1783
  }
1784
1784
  throw new Error("No bucket found with id " + a);
1785
1785
  }
@@ -1962,27 +1962,27 @@ function mt() {
1962
1962
  static between(i, l) {
1963
1963
  if (i.getSystem().getBase() !== l.getSystem().getBase())
1964
1964
  throw new Error("Expected same system");
1965
- let p = i, c = l, h;
1965
+ let h = i, d = l, p;
1966
1966
  if (i.getScale() < l.getScale()) {
1967
- if (h = l.setScale(i.getScale(), !1), i.compareTo(h) >= 0)
1967
+ if (p = l.setScale(i.getScale(), !1), i.compareTo(p) >= 0)
1968
1968
  return a.mid(i, l);
1969
- c = h;
1969
+ d = p;
1970
1970
  }
1971
- if (i.getScale() > c.getScale()) {
1972
- if (h = i.setScale(c.getScale(), !0), h.compareTo(c) >= 0)
1971
+ if (i.getScale() > d.getScale()) {
1972
+ if (p = i.setScale(d.getScale(), !0), p.compareTo(d) >= 0)
1973
1973
  return a.mid(i, l);
1974
- p = h;
1974
+ h = p;
1975
1975
  }
1976
1976
  let _;
1977
- for (let V = p.getScale(); V > 0; c = _) {
1978
- const w = V - 1, O = p.setScale(w, !0);
1979
- if (_ = c.setScale(w, !1), O.compareTo(_) === 0)
1977
+ for (let V = h.getScale(); V > 0; d = _) {
1978
+ const w = V - 1, O = h.setScale(w, !0);
1979
+ if (_ = d.setScale(w, !1), O.compareTo(_) === 0)
1980
1980
  return a.checkMid(i, l, O);
1981
1981
  if (O.compareTo(_) > 0)
1982
1982
  break;
1983
- V = w, p = O;
1983
+ V = w, h = O;
1984
1984
  }
1985
- let f = a.middleInternal(i, l, p, c), g;
1985
+ let f = a.middleInternal(i, l, h, d), g;
1986
1986
  for (let V = f.getScale(); V > 0; V = g) {
1987
1987
  g = V - 1;
1988
1988
  const w = f.setScale(g);
@@ -1993,56 +1993,56 @@ function mt() {
1993
1993
  return f;
1994
1994
  }
1995
1995
  static parse(i) {
1996
- const l = i.split("|"), p = e.default.from(l[0]), c = s.LexoDecimal.parse(l[1], a.NUMERAL_SYSTEM);
1997
- return new a(p, c);
1996
+ const l = i.split("|"), h = e.default.from(l[0]), d = s.LexoDecimal.parse(l[1], a.NUMERAL_SYSTEM);
1997
+ return new a(h, d);
1998
1998
  }
1999
1999
  static from(i, l) {
2000
2000
  if (l.getSystem().getBase() !== a.NUMERAL_SYSTEM.getBase())
2001
2001
  throw new Error("Expected different system");
2002
2002
  return new a(i, l);
2003
2003
  }
2004
- static middleInternal(i, l, p, c) {
2005
- const h = a.mid(p, c);
2006
- return a.checkMid(i, l, h);
2004
+ static middleInternal(i, l, h, d) {
2005
+ const p = a.mid(h, d);
2006
+ return a.checkMid(i, l, p);
2007
2007
  }
2008
- static checkMid(i, l, p) {
2009
- return i.compareTo(p) >= 0 || p.compareTo(l) >= 0 ? a.mid(i, l) : p;
2008
+ static checkMid(i, l, h) {
2009
+ return i.compareTo(h) >= 0 || h.compareTo(l) >= 0 ? a.mid(i, l) : h;
2010
2010
  }
2011
2011
  static mid(i, l) {
2012
- const c = i.add(l).multiply(s.LexoDecimal.half(i.getSystem())), h = i.getScale() > l.getScale() ? i.getScale() : l.getScale();
2013
- if (c.getScale() > h) {
2014
- const _ = c.setScale(h, !1);
2012
+ const d = i.add(l).multiply(s.LexoDecimal.half(i.getSystem())), p = i.getScale() > l.getScale() ? i.getScale() : l.getScale();
2013
+ if (d.getScale() > p) {
2014
+ const _ = d.setScale(p, !1);
2015
2015
  if (_.compareTo(i) > 0)
2016
2016
  return _;
2017
- const f = c.setScale(h, !0);
2017
+ const f = d.setScale(p, !0);
2018
2018
  if (f.compareTo(l) < 0)
2019
2019
  return f;
2020
2020
  }
2021
- return c;
2021
+ return d;
2022
2022
  }
2023
2023
  static formatDecimal(i) {
2024
- const l = i.format(), p = new t.default(l);
2025
- let c = l.indexOf(a.NUMERAL_SYSTEM.getRadixPointChar());
2026
- const h = a.NUMERAL_SYSTEM.toChar(0);
2027
- for (c < 0 && (c = l.length, p.append(a.NUMERAL_SYSTEM.getRadixPointChar())); c < 6; )
2028
- p.insert(0, h), ++c;
2029
- for (; p[p.length - 1] === h; )
2030
- p.length = p.length - 1;
2031
- return p.toString();
2024
+ const l = i.format(), h = new t.default(l);
2025
+ let d = l.indexOf(a.NUMERAL_SYSTEM.getRadixPointChar());
2026
+ const p = a.NUMERAL_SYSTEM.toChar(0);
2027
+ for (d < 0 && (d = l.length, h.append(a.NUMERAL_SYSTEM.getRadixPointChar())); d < 6; )
2028
+ h.insert(0, p), ++d;
2029
+ for (; h[h.length - 1] === p; )
2030
+ h.length = h.length - 1;
2031
+ return h.toString();
2032
2032
  }
2033
2033
  genPrev() {
2034
2034
  if (this.isMax())
2035
2035
  return new a(this.bucket, a.INITIAL_MAX_DECIMAL);
2036
2036
  const i = this.decimal.floor();
2037
- let p = s.LexoDecimal.from(i).subtract(a.EIGHT_DECIMAL);
2038
- return p.compareTo(a.MIN_DECIMAL) <= 0 && (p = a.between(a.MIN_DECIMAL, this.decimal)), new a(this.bucket, p);
2037
+ let h = s.LexoDecimal.from(i).subtract(a.EIGHT_DECIMAL);
2038
+ return h.compareTo(a.MIN_DECIMAL) <= 0 && (h = a.between(a.MIN_DECIMAL, this.decimal)), new a(this.bucket, h);
2039
2039
  }
2040
2040
  genNext() {
2041
2041
  if (this.isMin())
2042
2042
  return new a(this.bucket, a.INITIAL_MIN_DECIMAL);
2043
2043
  const i = this.decimal.ceil();
2044
- let p = s.LexoDecimal.from(i).add(a.EIGHT_DECIMAL);
2045
- return p.compareTo(a.MAX_DECIMAL) >= 0 && (p = a.between(this.decimal, a.MAX_DECIMAL)), new a(this.bucket, p);
2044
+ let h = s.LexoDecimal.from(i).add(a.EIGHT_DECIMAL);
2045
+ return h.compareTo(a.MAX_DECIMAL) >= 0 && (h = a.between(this.decimal, a.MAX_DECIMAL)), new a(this.bucket, h);
2046
2046
  }
2047
2047
  between(i) {
2048
2048
  if (!this.bucket.equals(i.bucket))
@@ -2139,7 +2139,7 @@ function Wr(s) {
2139
2139
  function Yr(s) {
2140
2140
  return s.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
2141
2141
  }
2142
- function R1(s, e) {
2142
+ function I1(s, e) {
2143
2143
  if (s.moved) {
2144
2144
  const { newIndex: t } = s.moved;
2145
2145
  if (t === 0 && e.length > 0)
@@ -2164,13 +2164,13 @@ const Xr = ["title"], Qr = { className: "ao-avatar__initials" }, We = /* @__PURE
2164
2164
  const n = Yr(s.userName), a = (o) => {
2165
2165
  e("close", o);
2166
2166
  };
2167
- return (o, i) => (d(), C("div", {
2167
+ return (o, i) => (c(), C("div", {
2168
2168
  role: "img",
2169
2169
  class: K(["ao-avatar", `ao-avatar--${o.size}`]),
2170
2170
  title: o.userName
2171
2171
  }, [
2172
- r("span", Qr, R(N(n)), 1),
2173
- o.isClosable ? (d(), q(ue, {
2172
+ r("span", Qr, U(N(n)), 1),
2173
+ o.isClosable ? (c(), q(ue, {
2174
2174
  key: 0,
2175
2175
  "icon-name": "CloseRounded",
2176
2176
  class: "ao-avatar__close",
@@ -2184,7 +2184,7 @@ const Xr = ["title"], Qr = { className: "ao-avatar__initials" }, We = /* @__PURE
2184
2184
  const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-template__subitem" }, t3 = { class: "ao-card-template__subitem-number" }, s3 = { class: "ao-card-template__subitem" }, a3 = { class: "ao-card-template__subitem" }, n3 = { class: "ao-card-template__body" }, i3 = { class: "ao-card-template__col ao-card-template__col--phases" }, o3 = { class: "ao-card-template__col-title" }, l3 = { class: "ao-card-template__col-label" }, r3 = {
2185
2185
  key: 0,
2186
2186
  class: "ao-card-template__col-body ao-card-template__phases-list"
2187
- }, d3 = { class: "ao-card-template__footer" }, c3 = {
2187
+ }, c3 = { class: "ao-card-template__footer" }, d3 = {
2188
2188
  key: 0,
2189
2189
  class: "ao-card-template__col ao-card-template__col--updated-at"
2190
2190
  }, u3 = { class: "ao-card-template__col-title" }, p3 = { class: "ao-card-template__col-label" }, h3 = { class: "ao-card-template__col-body" }, m3 = {
@@ -2205,7 +2205,7 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2205
2205
  const t = (n) => {
2206
2206
  e("updateTitle", n);
2207
2207
  };
2208
- return (n, a) => (d(), q(ct, {
2208
+ return (n, a) => (c(), q(dt, {
2209
2209
  title: n.title,
2210
2210
  "is-draggable": !0,
2211
2211
  "onUpdate:title": t
@@ -2217,14 +2217,14 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2217
2217
  name: "MountainFlagOutlineRounded",
2218
2218
  size: "sm"
2219
2219
  }),
2220
- r("span", t3, R(n.milestones), 1)
2220
+ r("span", t3, U(n.milestones), 1)
2221
2221
  ]),
2222
2222
  r("li", s3, [
2223
2223
  y(le, {
2224
2224
  name: "TaskOutlineRounded",
2225
2225
  size: "sm"
2226
2226
  }),
2227
- r("span", a3, R(n.activities), 1)
2227
+ r("span", a3, U(n.activities), 1)
2228
2228
  ])
2229
2229
  ])
2230
2230
  ]),
@@ -2236,10 +2236,10 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2236
2236
  name: "WaterfallChartRounded",
2237
2237
  size: "sm"
2238
2238
  }),
2239
- r("span", l3, R(n.$t("template.phases.title")), 1)
2239
+ r("span", l3, U(n.$t("template.phases.title")), 1)
2240
2240
  ]),
2241
- n.phases ? (d(), C("ul", r3, [
2242
- (d(!0), C(oe, null, me(n.phases, (o) => (d(), q(g1, {
2241
+ n.phases ? (c(), C("ul", r3, [
2242
+ (c(!0), C(oe, null, me(n.phases, (o) => (c(), q(g1, {
2243
2243
  key: o.id,
2244
2244
  label: o.name || o.id,
2245
2245
  color: "primary",
@@ -2250,18 +2250,18 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2250
2250
  ])
2251
2251
  ]),
2252
2252
  footer: F(() => [
2253
- r("div", d3, [
2254
- n.updatedAt ? (d(), C("div", c3, [
2253
+ r("div", c3, [
2254
+ n.updatedAt ? (c(), C("div", d3, [
2255
2255
  r("div", u3, [
2256
- r("span", p3, R(n.$t("template.updatedAt.label")), 1)
2256
+ r("span", p3, U(n.$t("template.updatedAt.label")), 1)
2257
2257
  ]),
2258
2258
  r("div", h3, [
2259
- r("span", null, R(n.updatedAt), 1)
2259
+ r("span", null, U(n.updatedAt), 1)
2260
2260
  ])
2261
2261
  ])) : A("", !0),
2262
- n.updatedBy ? (d(), C("div", m3, [
2262
+ n.updatedBy ? (c(), C("div", m3, [
2263
2263
  r("div", C3, [
2264
- r("span", v3, R(n.$t("template.updatedBy.label")), 1)
2264
+ r("span", v3, U(n.$t("template.updatedBy.label")), 1)
2265
2265
  ]),
2266
2266
  r("div", _3, [
2267
2267
  y(We, { "user-name": n.updatedBy }, null, 8, ["user-name"])
@@ -2273,16 +2273,16 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2273
2273
  }, 8, ["title"]));
2274
2274
  }
2275
2275
  });
2276
- const g3 = { class: "ao-page-header" }, y3 = { class: "ao-page-header-main" }, b3 = { class: "ao-page-header-secondary" }, I1 = /* @__PURE__ */ x({
2276
+ const g3 = { class: "ao-page-header" }, y3 = { class: "ao-page-header-main" }, b3 = { class: "ao-page-header-secondary" }, S1 = /* @__PURE__ */ x({
2277
2277
  __name: "AoPageHeader",
2278
2278
  props: {
2279
2279
  canGoBack: { type: Boolean }
2280
2280
  },
2281
2281
  emits: ["goBack"],
2282
2282
  setup(s) {
2283
- return (e, t) => (d(), C("header", g3, [
2283
+ return (e, t) => (c(), C("header", g3, [
2284
2284
  r("div", y3, [
2285
- e.canGoBack ? (d(), q(ue, {
2285
+ e.canGoBack ? (c(), q(ue, {
2286
2286
  key: 0,
2287
2287
  "icon-name": "ArrowBackRounded",
2288
2288
  variant: "ghost",
@@ -2313,7 +2313,7 @@ const w3 = ["type"], $3 = {
2313
2313
  },
2314
2314
  setup(s) {
2315
2315
  const e = s, t = v(() => e.size), n = v(() => e.isLoading ? "Loading" : e.iconName);
2316
- return (a, o) => (d(), C("button", {
2316
+ return (a, o) => (c(), C("button", {
2317
2317
  type: a.type,
2318
2318
  class: K([
2319
2319
  "ao-button-card",
@@ -2323,9 +2323,9 @@ const w3 = ["type"], $3 = {
2323
2323
  ])
2324
2324
  }, [
2325
2325
  W(a.$slots, "default", {}, () => [
2326
- a.label ? (d(), C("span", $3, R(a.label), 1)) : A("", !0)
2326
+ a.label ? (c(), C("span", $3, U(a.label), 1)) : A("", !0)
2327
2327
  ]),
2328
- n.value ? (d(), q(le, {
2328
+ n.value ? (c(), q(le, {
2329
2329
  key: 0,
2330
2330
  name: n.value,
2331
2331
  class: "ao-button-card__icon",
@@ -2357,16 +2357,16 @@ const I3 = { class: "ao-card-template-item__footer" }, S3 = {
2357
2357
  }, o = () => {
2358
2358
  e("remove");
2359
2359
  };
2360
- return (i, l) => (d(), q(ct, { "onUpdate:title": t }, {
2360
+ return (i, l) => (c(), q(dt, { "onUpdate:title": t }, {
2361
2361
  footer: F(() => [
2362
2362
  r("ul", I3, [
2363
- (d(), C(oe, null, me(n, (p) => (d(), C(oe, { key: p }, [
2364
- i.$props[p] ? (d(), C("li", S3, [
2363
+ (c(), C(oe, null, me(n, (h) => (c(), C(oe, { key: h }, [
2364
+ i.$props[h] ? (c(), C("li", S3, [
2365
2365
  y(le, {
2366
- name: a[p],
2366
+ name: a[h],
2367
2367
  size: "sm"
2368
2368
  }, null, 8, ["name"]),
2369
- r("span", M3, R(i.$props[p]), 1)
2369
+ r("span", M3, U(i.$props[h]), 1)
2370
2370
  ])) : A("", !0)
2371
2371
  ], 64))), 64))
2372
2372
  ])
@@ -2398,7 +2398,7 @@ const k3 = /* @__PURE__ */ x({
2398
2398
  var a;
2399
2399
  return (a = e.milestones) == null ? void 0 : a.length;
2400
2400
  }), n = v(() => e.milestones ? Ct(e.milestones) : 0);
2401
- return (a, o) => (d(), q(q1, De({
2401
+ return (a, o) => (c(), q(q1, De({
2402
2402
  title: a.name,
2403
2403
  activities: n.value,
2404
2404
  milestones: t.value
@@ -2419,7 +2419,7 @@ const k3 = /* @__PURE__ */ x({
2419
2419
  var n;
2420
2420
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
2421
2421
  });
2422
- return (n, a) => (d(), q(q1, { activities: t.value }, {
2422
+ return (n, a) => (c(), q(q1, { activities: t.value }, {
2423
2423
  default: F(() => [
2424
2424
  W(n.$slots, "default")
2425
2425
  ]),
@@ -2440,17 +2440,17 @@ const k3 = /* @__PURE__ */ x({
2440
2440
  }, a = (l) => {
2441
2441
  e("removeMilestone", { phaseId: t.phase.id, id: l });
2442
2442
  }, o = (l) => {
2443
- e("updateMilestone", { ...l, phaseId: t.phase.id });
2443
+ e("updateMilestone", l);
2444
2444
  }, i = (l) => {
2445
2445
  if (l.moved) {
2446
- const p = R1(l, t.phase.milestones);
2446
+ const h = I1(l, t.phase.milestones);
2447
2447
  e("updateMilestone", {
2448
2448
  id: l.moved.element.id,
2449
- rank: p
2449
+ rank: h
2450
2450
  });
2451
2451
  }
2452
2452
  };
2453
- return (l, p) => l.phase ? (d(), q(N(i1), {
2453
+ return (l, h) => l.phase ? (c(), q(N(i1), {
2454
2454
  key: 0,
2455
2455
  "model-value": l.phase.milestones,
2456
2456
  class: "ao-templates__list",
@@ -2466,20 +2466,20 @@ const k3 = /* @__PURE__ */ x({
2466
2466
  class: "ao-list__title"
2467
2467
  })
2468
2468
  ]),
2469
- item: F(({ element: c }) => [
2470
- (d(), q(T3, {
2471
- key: c.id,
2472
- title: c.name,
2473
- activities: c.activities,
2474
- "is-active": l.milestoneId === c.id,
2469
+ item: F(({ element: d }) => [
2470
+ (c(), q(T3, {
2471
+ key: d.id,
2472
+ title: d.name,
2473
+ activities: d.activities,
2474
+ "is-active": l.milestoneId === d.id,
2475
2475
  "is-draggable": !0,
2476
- "onUpdate:title": (h) => o({ id: c.id, name: h, order: c.order }),
2477
- onClick: (h) => l.$router.push({
2476
+ "onUpdate:title": (p) => o({ id: d.id, name: p }),
2477
+ onClick: (p) => l.$router.push({
2478
2478
  params: {
2479
- milestoneId: c.id
2479
+ milestoneId: d.id
2480
2480
  }
2481
2481
  }),
2482
- onRemove: () => a(c.id)
2482
+ onRemove: () => a(d.id)
2483
2483
  }, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
2484
2484
  ]),
2485
2485
  footer: F(() => [
@@ -2505,7 +2505,7 @@ const k3 = /* @__PURE__ */ x({
2505
2505
  var n;
2506
2506
  return ((n = e.subtasks) == null ? void 0 : n.length) || 0;
2507
2507
  });
2508
- return (n, a) => (d(), q(q1, { subtasks: t.value }, {
2508
+ return (n, a) => (c(), q(q1, { subtasks: t.value }, {
2509
2509
  default: F(() => [
2510
2510
  W(n.$slots, "default")
2511
2511
  ]),
@@ -2524,43 +2524,29 @@ const k3 = /* @__PURE__ */ x({
2524
2524
  setup(s, { emit: e }) {
2525
2525
  const t = s, n = () => {
2526
2526
  e("addActivity", {
2527
- milestoneId: t.milestone.id,
2528
- phaseId: t.phaseId
2529
- });
2530
- }, a = (l) => {
2531
- e("updateActivity", {
2532
- ...l,
2533
- phaseId: t.phaseId,
2534
2527
  milestoneId: t.milestone.id
2535
2528
  });
2529
+ }, a = (l) => {
2530
+ e("updateActivity", { ...l });
2536
2531
  }, o = (l) => {
2537
- e("removeActivity", {
2538
- phaseId: t.phaseId,
2539
- milestoneId: t.milestone.id,
2540
- id: l
2541
- });
2542
- }, i = v({
2543
- get() {
2544
- return [...t.milestone.activities || []].sort((p, c) => p.order - c.order);
2545
- },
2546
- set(l) {
2547
- const p = l.map((c, h) => (c.order = h, c));
2548
- e("updateMilestone", {
2549
- id: t.milestone.id,
2550
- order: t.milestone.order,
2551
- phaseId: t.phaseId,
2552
- activities: p
2532
+ e("removeActivity", { id: l });
2533
+ }, i = (l) => {
2534
+ if (l.moved) {
2535
+ const h = I1(l, t.milestone.activities);
2536
+ e("updateActivity", {
2537
+ id: l.moved.element.id,
2538
+ rank: h
2553
2539
  });
2554
2540
  }
2555
- });
2556
- return (l, p) => l.milestone ? (d(), q(N(i1), {
2541
+ };
2542
+ return (l, h) => l.milestone ? (c(), q(N(i1), {
2557
2543
  key: 0,
2558
- modelValue: i.value,
2559
- "onUpdate:modelValue": p[0] || (p[0] = (c) => i.value = c),
2544
+ "model-value": l.milestone.activities,
2560
2545
  title: l.$t("template.activities.title"),
2561
2546
  class: "ao-templates__list",
2562
2547
  handle: ".ao-card__drag",
2563
- "item-key": "id"
2548
+ "item-key": "id",
2549
+ onChange: i
2564
2550
  }, {
2565
2551
  header: F(() => [
2566
2552
  y(pe, {
@@ -2569,16 +2555,16 @@ const k3 = /* @__PURE__ */ x({
2569
2555
  class: "ao-list__title"
2570
2556
  })
2571
2557
  ]),
2572
- item: F(({ element: c }) => [
2573
- (d(), q(E3, {
2574
- key: c.id,
2575
- title: c.name,
2576
- subtasks: c.subtasks,
2577
- "is-active": l.activityId === c.id,
2558
+ item: F(({ element: d }) => [
2559
+ (c(), q(E3, {
2560
+ key: d.id,
2561
+ title: d.name,
2562
+ subtasks: d.subtasks,
2563
+ "is-active": l.activityId === d.id,
2578
2564
  "is-draggable": !0,
2579
- "onUpdate:title": (h) => a({ id: c.id, name: h, order: c.order }),
2580
- onClick: (h) => l.$router.push({ params: { activityId: c.id } }),
2581
- onRemove: () => o(c.id)
2565
+ "onUpdate:title": (p) => a({ id: d.id, name: p }),
2566
+ onClick: (p) => l.$router.push({ params: { activityId: d.id } }),
2567
+ onRemove: () => o(d.id)
2582
2568
  }, null, 8, ["title", "subtasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
2583
2569
  ]),
2584
2570
  footer: F(() => [
@@ -2591,37 +2577,37 @@ const k3 = /* @__PURE__ */ x({
2591
2577
  ])
2592
2578
  ]),
2593
2579
  _: 1
2594
- }, 8, ["modelValue", "title"])) : A("", !0);
2580
+ }, 8, ["model-value", "title"])) : A("", !0);
2595
2581
  }
2596
2582
  });
2597
2583
  function ke(s) {
2598
2584
  return [null, void 0].indexOf(s) !== -1;
2599
2585
  }
2600
2586
  function D3(s, e, t) {
2601
- const { object: n, valueProp: a, mode: o } = we(s), i = Be().proxy, l = t.iv, p = (_, f = !0) => {
2602
- l.value = h(_);
2603
- const g = c(_);
2587
+ const { object: n, valueProp: a, mode: o } = we(s), i = Be().proxy, l = t.iv, h = (_, f = !0) => {
2588
+ l.value = p(_);
2589
+ const g = d(_);
2604
2590
  e.emit("change", g, i), f && (e.emit("input", g), e.emit("update:modelValue", g));
2605
- }, c = (_) => n.value || ke(_) ? _ : Array.isArray(_) ? _.map((f) => f[a.value]) : _[a.value], h = (_) => ke(_) ? o.value === "single" ? {} : [] : _;
2591
+ }, d = (_) => n.value || ke(_) ? _ : Array.isArray(_) ? _.map((f) => f[a.value]) : _[a.value], p = (_) => ke(_) ? o.value === "single" ? {} : [] : _;
2606
2592
  return {
2607
- update: p
2593
+ update: h
2608
2594
  };
2609
2595
  }
2610
2596
  function j3(s, e) {
2611
- const { value: t, modelValue: n, mode: a, valueProp: o } = we(s), i = J(a.value !== "single" ? [] : {}), l = n && n.value !== void 0 ? n : t, p = v(() => a.value === "single" ? i.value[o.value] : i.value.map((h) => h[o.value])), c = v(() => a.value !== "single" ? i.value.map((h) => h[o.value]).join(",") : i.value[o.value]);
2597
+ const { value: t, modelValue: n, mode: a, valueProp: o } = we(s), i = J(a.value !== "single" ? [] : {}), l = n && n.value !== void 0 ? n : t, h = v(() => a.value === "single" ? i.value[o.value] : i.value.map((p) => p[o.value])), d = v(() => a.value !== "single" ? i.value.map((p) => p[o.value]).join(",") : i.value[o.value]);
2612
2598
  return {
2613
2599
  iv: i,
2614
2600
  internalValue: i,
2615
2601
  ev: l,
2616
2602
  externalValue: l,
2617
- textValue: c,
2618
- plainValue: p
2603
+ textValue: d,
2604
+ plainValue: h
2619
2605
  };
2620
2606
  }
2621
2607
  function B3(s, e, t) {
2622
- const { regex: n } = we(s), a = Be().proxy, o = t.isOpen, i = t.open, l = J(null), p = J(null), c = () => {
2608
+ const { regex: n } = we(s), a = Be().proxy, o = t.isOpen, i = t.open, l = J(null), h = J(null), d = () => {
2623
2609
  l.value = "";
2624
- }, h = (g) => {
2610
+ }, p = (g) => {
2625
2611
  l.value = g.target.value;
2626
2612
  }, _ = (g) => {
2627
2613
  if (n && n.value) {
@@ -2640,26 +2626,26 @@ function B3(s, e, t) {
2640
2626
  !o.value && g && i(), e.emit("search-change", g, a);
2641
2627
  }), {
2642
2628
  search: l,
2643
- input: p,
2644
- clearSearch: c,
2645
- handleSearchInput: h,
2629
+ input: h,
2630
+ clearSearch: d,
2631
+ handleSearchInput: p,
2646
2632
  handleKeypress: _,
2647
2633
  handlePaste: f
2648
2634
  };
2649
2635
  }
2650
2636
  function P3(s, e, t) {
2651
- const { groupSelect: n, mode: a, groups: o, disabledProp: i } = we(s), l = J(null), p = (h) => {
2652
- h === void 0 || h !== null && h[i.value] || o.value && h && h.group && (a.value === "single" || !n.value) || (l.value = h);
2637
+ const { groupSelect: n, mode: a, groups: o, disabledProp: i } = we(s), l = J(null), h = (p) => {
2638
+ p === void 0 || p !== null && p[i.value] || o.value && p && p.group && (a.value === "single" || !n.value) || (l.value = p);
2653
2639
  };
2654
2640
  return {
2655
2641
  pointer: l,
2656
- setPointer: p,
2642
+ setPointer: h,
2657
2643
  clearPointer: () => {
2658
- p(null);
2644
+ h(null);
2659
2645
  }
2660
2646
  };
2661
2647
  }
2662
- function D1(s, e = !0) {
2648
+ function j1(s, e = !0) {
2663
2649
  return e ? String(s).toLowerCase().trim() : String(s).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
2664
2650
  }
2665
2651
  function Z3(s) {
@@ -2671,16 +2657,16 @@ function N3(s, e) {
2671
2657
  return n === t[a];
2672
2658
  });
2673
2659
  }
2674
- function U3(s, e, t) {
2660
+ function R3(s, e, t) {
2675
2661
  const {
2676
2662
  options: n,
2677
2663
  mode: a,
2678
2664
  trackBy: o,
2679
2665
  limit: i,
2680
2666
  hideSelected: l,
2681
- createTag: p,
2682
- createOption: c,
2683
- label: h,
2667
+ createTag: h,
2668
+ createOption: d,
2669
+ label: p,
2684
2670
  appendNewTag: _,
2685
2671
  appendNewOption: f,
2686
2672
  multipleLabel: g,
@@ -2689,7 +2675,7 @@ function U3(s, e, t) {
2689
2675
  delay: O,
2690
2676
  resolveOnLoad: L,
2691
2677
  minChars: b,
2692
- filterResults: j,
2678
+ filterResults: P,
2693
2679
  clearOnSearch: Y,
2694
2680
  clearOnSelect: te,
2695
2681
  valueProp: D,
@@ -2698,7 +2684,7 @@ function U3(s, e, t) {
2698
2684
  canDeselect: E,
2699
2685
  max: z,
2700
2686
  strict: he,
2701
- closeOnSelect: B,
2687
+ closeOnSelect: j,
2702
2688
  closeOnDeselect: X,
2703
2689
  groups: ge,
2704
2690
  reverse: ye,
@@ -2707,29 +2693,29 @@ function U3(s, e, t) {
2707
2693
  groupHideEmpty: $,
2708
2694
  groupSelect: S,
2709
2695
  onCreate: k,
2710
- disabledProp: P,
2696
+ disabledProp: B,
2711
2697
  searchStart: ae,
2712
2698
  searchFilter: re
2713
- } = we(s), ee = Be().proxy, U = t.iv, M = t.ev, Z = t.search, ve = t.clearSearch, Se = t.update, yt = t.pointer, Ze = t.clearPointer, bt = t.focus, wt = t.deactivate, Ne = t.close, $t = t.localize, Ye = J([]), He = J([]), Me = J(!1), M1 = J(null), A1 = J(Le.value && i.value === -1 ? 10 : i.value), K1 = v(() => p.value || c.value || !1), It = v(() => _.value !== void 0 ? _.value : f.value !== void 0 ? f.value : !0), Oe = v(() => {
2699
+ } = we(s), ee = Be().proxy, R = t.iv, M = t.ev, Z = t.search, ve = t.clearSearch, Se = t.update, yt = t.pointer, Ze = t.clearPointer, bt = t.focus, wt = t.deactivate, Ne = t.close, $t = t.localize, Ye = J([]), He = J([]), Me = J(!1), A1 = J(null), k1 = J(Le.value && i.value === -1 ? 10 : i.value), K1 = v(() => h.value || d.value || !1), It = v(() => _.value !== void 0 ? _.value : f.value !== void 0 ? f.value : !0), Oe = v(() => {
2714
2700
  if (ge.value) {
2715
2701
  let m = r1.value || /* istanbul ignore next */
2716
2702
  [], T = [];
2717
2703
  return m.forEach((Q) => {
2718
- H1(Q[u.value]).forEach((de) => {
2719
- T.push(Object.assign({}, de, Q[P.value] ? { [P.value]: !0 } : {}));
2704
+ O1(Q[u.value]).forEach((ce) => {
2705
+ T.push(Object.assign({}, ce, Q[B.value] ? { [B.value]: !0 } : {}));
2720
2706
  });
2721
2707
  }), T;
2722
2708
  } else {
2723
- let m = H1(He.value || /* istanbul ignore next */
2709
+ let m = O1(He.value || /* istanbul ignore next */
2724
2710
  []);
2725
2711
  return Ye.value.length && (m = m.concat(Ye.value)), m;
2726
2712
  }
2727
2713
  }), x1 = v(() => {
2728
2714
  let m = Oe.value;
2729
- return ye.value && (m = m.reverse()), Ue.value.length && (m = Ue.value.concat(m)), E1(m);
2715
+ return ye.value && (m = m.reverse()), Re.value.length && (m = Re.value.concat(m)), H1(m);
2730
2716
  }), Xe = v(() => {
2731
2717
  let m = x1.value;
2732
- return A1.value > 0 && (m = m.slice(0, A1.value)), m;
2718
+ return k1.value > 0 && (m = m.slice(0, k1.value)), m;
2733
2719
  }), r1 = v(() => {
2734
2720
  if (!ge.value)
2735
2721
  return [];
@@ -2742,9 +2728,9 @@ function U3(s, e, t) {
2742
2728
  }), m.concat(T);
2743
2729
  }), St = v(() => {
2744
2730
  let m = [...r1.value].map((T) => ({ ...T }));
2745
- return Ue.value.length && (m[0] && m[0].__CREATE__ ? m[0][u.value] = [...Ue.value, ...m[0][u.value]] : m = [{
2731
+ return Re.value.length && (m[0] && m[0].__CREATE__ ? m[0][u.value] = [...Re.value, ...m[0][u.value]] : m = [{
2746
2732
  [I.value]: " ",
2747
- [u.value]: [...Ue.value],
2733
+ [u.value]: [...Re.value],
2748
2734
  __CREATE__: !0
2749
2735
  }].concat(m)), m;
2750
2736
  }), W1 = v(() => {
@@ -2753,29 +2739,29 @@ function U3(s, e, t) {
2753
2739
  let m = St.value;
2754
2740
  return Nt((m || /* istanbul ignore next */
2755
2741
  []).map((T, Q) => {
2756
- const de = H1(T[u.value]);
2742
+ const ce = O1(T[u.value]);
2757
2743
  return {
2758
2744
  ...T,
2759
2745
  index: Q,
2760
2746
  group: !0,
2761
- [u.value]: E1(de, !1).map((Qe) => Object.assign({}, Qe, T[P.value] ? { [P.value]: !0 } : {})),
2762
- __VISIBLE__: E1(de).map((Qe) => Object.assign({}, Qe, T[P.value] ? { [P.value]: !0 } : {}))
2747
+ [u.value]: H1(ce, !1).map((Qe) => Object.assign({}, Qe, T[B.value] ? { [B.value]: !0 } : {})),
2748
+ __VISIBLE__: H1(ce).map((Qe) => Object.assign({}, Qe, T[B.value] ? { [B.value]: !0 } : {}))
2763
2749
  };
2764
2750
  }));
2765
- }), k1 = v(() => {
2751
+ }), T1 = v(() => {
2766
2752
  switch (a.value) {
2767
2753
  case "single":
2768
- return !ke(U.value[D.value]);
2754
+ return !ke(R.value[D.value]);
2769
2755
  case "multiple":
2770
2756
  case "tags":
2771
- return !ke(U.value) && U.value.length > 0;
2757
+ return !ke(R.value) && R.value.length > 0;
2772
2758
  }
2773
- }), Mt = v(() => g !== void 0 && g.value !== void 0 ? g.value(U.value, ee) : U.value && U.value.length > 1 ? `${U.value.length} options selected` : "1 option selected"), At = v(() => !Oe.value.length && !Me.value && !Ue.value.length), kt = v(() => Oe.value.length > 0 && Xe.value.length == 0 && (Z.value && ge.value || !ge.value)), Ue = v(() => K1.value === !1 || !Z.value ? [] : Bt(Z.value) !== -1 ? [] : [{
2759
+ }), Mt = v(() => g !== void 0 && g.value !== void 0 ? g.value(R.value, ee) : R.value && R.value.length > 1 ? `${R.value.length} options selected` : "1 option selected"), At = v(() => !Oe.value.length && !Me.value && !Re.value.length), kt = v(() => Oe.value.length > 0 && Xe.value.length == 0 && (Z.value && ge.value || !ge.value)), Re = v(() => K1.value === !1 || !Z.value ? [] : Bt(Z.value) !== -1 ? [] : [{
2774
2760
  [D.value]: Z.value,
2775
2761
  [Ae.value]: Z.value,
2776
- [h.value]: Z.value,
2762
+ [p.value]: Z.value,
2777
2763
  __CREATE__: !0
2778
- }]), Ae = v(() => o.value || h.value), Tt = v(() => {
2764
+ }]), Ae = v(() => o.value || p.value), Tt = v(() => {
2779
2765
  switch (a.value) {
2780
2766
  case "single":
2781
2767
  return null;
@@ -2783,14 +2769,14 @@ function U3(s, e, t) {
2783
2769
  case "tags":
2784
2770
  return [];
2785
2771
  }
2786
- }), Lt = v(() => w.value || Me.value), Re = (m) => {
2772
+ }), Lt = v(() => w.value || Me.value), Ue = (m) => {
2787
2773
  switch (typeof m != "object" && (m = Ee(m)), a.value) {
2788
2774
  case "single":
2789
2775
  Se(m);
2790
2776
  break;
2791
2777
  case "multiple":
2792
2778
  case "tags":
2793
- Se(U.value.concat(m));
2779
+ Se(R.value.concat(m));
2794
2780
  break;
2795
2781
  }
2796
2782
  e.emit("select", Y1(m), m, ee);
@@ -2801,7 +2787,7 @@ function U3(s, e, t) {
2801
2787
  break;
2802
2788
  case "tags":
2803
2789
  case "multiple":
2804
- Se(Array.isArray(m) ? U.value.filter((T) => m.map((Q) => Q[D.value]).indexOf(T[D.value]) === -1) : U.value.filter((T) => T[D.value] != m[D.value]));
2790
+ Se(Array.isArray(m) ? R.value.filter((T) => m.map((Q) => Q[D.value]).indexOf(T[D.value]) === -1) : R.value.filter((T) => T[D.value] != m[D.value]));
2805
2791
  break;
2806
2792
  }
2807
2793
  e.emit("deselect", Y1(m), m, ee);
@@ -2820,13 +2806,13 @@ function U3(s, e, t) {
2820
2806
  return a.value === "single" ? !1 : jt(m[u.value]) && m[u.value].length;
2821
2807
  switch (a.value) {
2822
2808
  case "single":
2823
- return !ke(U.value) && U.value[D.value] == m[D.value];
2809
+ return !ke(R.value) && R.value[D.value] == m[D.value];
2824
2810
  case "tags":
2825
2811
  case "multiple":
2826
- return !ke(U.value) && U.value.map((T) => T[D.value]).indexOf(m[D.value]) !== -1;
2812
+ return !ke(R.value) && R.value.map((T) => T[D.value]).indexOf(m[D.value]) !== -1;
2827
2813
  }
2828
- }, T1 = (m) => m[P.value] === !0, L1 = () => z === void 0 || z.value === -1 || !k1.value && z.value > 0 ? !1 : U.value.length >= z.value, Et = (m) => {
2829
- if (!T1(m)) {
2814
+ }, L1 = (m) => m[B.value] === !0, V1 = () => z === void 0 || z.value === -1 || !T1.value && z.value > 0 ? !1 : R.value.length >= z.value, Et = (m) => {
2815
+ if (!L1(m)) {
2830
2816
  if (k && k.value && !Ve(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = k.value(m, ee), m instanceof Promise)) {
2831
2817
  Me.value = !0, m.then((T) => {
2832
2818
  Me.value = !1, J1(T);
@@ -2842,111 +2828,111 @@ function U3(s, e, t) {
2842
2828
  E.value && qe(m), X.value && (Ze(), Ne());
2843
2829
  return;
2844
2830
  }
2845
- m && V1(m), te.value && ve(), B.value && (Ze(), Ne()), m && Re(m);
2831
+ m && E1(m), te.value && ve(), j.value && (Ze(), Ne()), m && Ue(m);
2846
2832
  break;
2847
2833
  case "multiple":
2848
2834
  if (m && Ve(m)) {
2849
2835
  qe(m), X.value && (Ze(), Ne());
2850
2836
  return;
2851
2837
  }
2852
- if (L1()) {
2838
+ if (V1()) {
2853
2839
  e.emit("max", ee);
2854
2840
  return;
2855
2841
  }
2856
- m && (V1(m), Re(m)), te.value && ve(), l.value && Ze(), B.value && Ne();
2842
+ m && (E1(m), Ue(m)), te.value && ve(), l.value && Ze(), j.value && Ne();
2857
2843
  break;
2858
2844
  case "tags":
2859
2845
  if (m && Ve(m)) {
2860
2846
  qe(m), X.value && (Ze(), Ne());
2861
2847
  return;
2862
2848
  }
2863
- if (L1()) {
2849
+ if (V1()) {
2864
2850
  e.emit("max", ee);
2865
2851
  return;
2866
2852
  }
2867
- m && V1(m), te.value && ve(), m && Re(m), l.value && Ze(), B.value && Ne();
2853
+ m && E1(m), te.value && ve(), m && Ue(m), l.value && Ze(), j.value && Ne();
2868
2854
  break;
2869
2855
  }
2870
- B.value || bt();
2856
+ j.value || bt();
2871
2857
  }, Ht = (m) => {
2872
- if (!(T1(m) || a.value === "single" || !S.value)) {
2858
+ if (!(L1(m) || a.value === "single" || !S.value)) {
2873
2859
  switch (a.value) {
2874
2860
  case "multiple":
2875
2861
  case "tags":
2876
- Dt(m[u.value]) ? qe(m[u.value]) : Re(
2877
- m[u.value].filter((T) => U.value.map((Q) => Q[D.value]).indexOf(T[D.value]) === -1).filter((T) => !T[P.value]).filter((T, Q) => U.value.length + 1 + Q <= z.value || z.value === -1)
2862
+ Dt(m[u.value]) ? qe(m[u.value]) : Ue(
2863
+ m[u.value].filter((T) => R.value.map((Q) => Q[D.value]).indexOf(T[D.value]) === -1).filter((T) => !T[B.value]).filter((T, Q) => R.value.length + 1 + Q <= z.value || z.value === -1)
2878
2864
  );
2879
2865
  break;
2880
2866
  }
2881
- B.value && wt();
2867
+ j.value && wt();
2882
2868
  }
2883
- }, V1 = (m) => {
2869
+ }, E1 = (m) => {
2884
2870
  Ee(m[D.value]) === void 0 && K1.value && (e.emit("tag", m[D.value], ee), e.emit("option", m[D.value], ee), e.emit("create", m[D.value], ee), It.value && Zt(m), ve());
2885
2871
  }, Ot = () => {
2886
- a.value !== "single" && Re(Xe.value.filter((m) => !m.disabled && !Ve(m)));
2887
- }, Dt = (m) => m.find((T) => !Ve(T) && !T[P.value]) === void 0, jt = (m) => m.find((T) => !Ve(T)) === void 0, Ee = (m) => Oe.value[Oe.value.map((T) => String(T[D.value])).indexOf(String(m))], Bt = (m, T = !0) => Oe.value.map((Q) => parseInt(Q[Ae.value]) == Q[Ae.value] ? parseInt(Q[Ae.value]) : Q[Ae.value]).indexOf(
2872
+ a.value !== "single" && Ue(Xe.value.filter((m) => !m.disabled && !Ve(m)));
2873
+ }, Dt = (m) => m.find((T) => !Ve(T) && !T[B.value]) === void 0, jt = (m) => m.find((T) => !Ve(T)) === void 0, Ee = (m) => Oe.value[Oe.value.map((T) => String(T[D.value])).indexOf(String(m))], Bt = (m, T = !0) => Oe.value.map((Q) => parseInt(Q[Ae.value]) == Q[Ae.value] ? parseInt(Q[Ae.value]) : Q[Ae.value]).indexOf(
2888
2874
  parseInt(m) == m ? parseInt(m) : m
2889
2875
  ), Pt = (m) => ["tags", "multiple"].indexOf(a.value) !== -1 && l.value && Ve(m), Zt = (m) => {
2890
2876
  Ye.value.push(m);
2891
2877
  }, Nt = (m) => $.value ? m.filter(
2892
2878
  (T) => Z.value ? T.__VISIBLE__.length : T[u.value].length
2893
- ) : m.filter((T) => Z.value ? T.__VISIBLE__.length : !0), E1 = (m, T = !0) => {
2879
+ ) : m.filter((T) => Z.value ? T.__VISIBLE__.length : !0), H1 = (m, T = !0) => {
2894
2880
  let Q = m;
2895
- if (Z.value && j.value) {
2896
- let de = re.value;
2897
- de || (de = (Qe, Pd) => {
2898
- let tt = D1($t(Qe[Ae.value]), he.value);
2899
- return ae.value ? tt.startsWith(D1(Z.value, he.value)) : tt.indexOf(D1(Z.value, he.value)) !== -1;
2900
- }), Q = Q.filter(de);
2881
+ if (Z.value && P.value) {
2882
+ let ce = re.value;
2883
+ ce || (ce = (Qe, Pc) => {
2884
+ let tt = j1($t(Qe[Ae.value]), he.value);
2885
+ return ae.value ? tt.startsWith(j1(Z.value, he.value)) : tt.indexOf(j1(Z.value, he.value)) !== -1;
2886
+ }), Q = Q.filter(ce);
2901
2887
  }
2902
- return l.value && T && (Q = Q.filter((de) => !Pt(de))), Q;
2903
- }, H1 = (m) => {
2888
+ return l.value && T && (Q = Q.filter((ce) => !Pt(ce))), Q;
2889
+ }, O1 = (m) => {
2904
2890
  let T = m;
2905
2891
  return Z3(T) && (T = Object.keys(T).map((Q) => {
2906
- let de = T[Q];
2907
- return { [D.value]: Q, [Ae.value]: de, [h.value]: de };
2908
- })), T = T.map((Q) => typeof Q == "object" ? Q : { [D.value]: Q, [Ae.value]: Q, [h.value]: Q }), T;
2909
- }, d1 = () => {
2910
- ke(M.value) || (U.value = u1(M.value));
2911
- }, c1 = (m) => (Me.value = !0, new Promise((T, Q) => {
2912
- n.value(Z.value, ee).then((de) => {
2913
- He.value = de || [], typeof m == "function" && m(de), Me.value = !1;
2914
- }).catch((de) => {
2915
- console.error(de), He.value = [], Me.value = !1;
2892
+ let ce = T[Q];
2893
+ return { [D.value]: Q, [Ae.value]: ce, [p.value]: ce };
2894
+ })), T = T.map((Q) => typeof Q == "object" ? Q : { [D.value]: Q, [Ae.value]: Q, [p.value]: Q }), T;
2895
+ }, c1 = () => {
2896
+ ke(M.value) || (R.value = u1(M.value));
2897
+ }, d1 = (m) => (Me.value = !0, new Promise((T, Q) => {
2898
+ n.value(Z.value, ee).then((ce) => {
2899
+ He.value = ce || [], typeof m == "function" && m(ce), Me.value = !1;
2900
+ }).catch((ce) => {
2901
+ console.error(ce), He.value = [], Me.value = !1;
2916
2902
  }).finally(() => {
2917
2903
  T();
2918
2904
  });
2919
- })), O1 = () => {
2920
- if (k1.value)
2905
+ })), D1 = () => {
2906
+ if (T1.value)
2921
2907
  if (a.value === "single") {
2922
- let m = Ee(U.value[D.value]);
2908
+ let m = Ee(R.value[D.value]);
2923
2909
  if (m !== void 0) {
2924
- let T = m[h.value];
2925
- U.value[h.value] = T, V.value && (M.value[h.value] = T);
2910
+ let T = m[p.value];
2911
+ R.value[p.value] = T, V.value && (M.value[p.value] = T);
2926
2912
  }
2927
2913
  } else
2928
- U.value.forEach((m, T) => {
2929
- let Q = Ee(U.value[T][D.value]);
2914
+ R.value.forEach((m, T) => {
2915
+ let Q = Ee(R.value[T][D.value]);
2930
2916
  if (Q !== void 0) {
2931
- let de = Q[h.value];
2932
- U.value[T][h.value] = de, V.value && (M.value[T][h.value] = de);
2917
+ let ce = Q[p.value];
2918
+ R.value[T][p.value] = ce, V.value && (M.value[T][p.value] = ce);
2933
2919
  }
2934
2920
  });
2935
- }, Ut = (m) => {
2936
- c1(m);
2921
+ }, Rt = (m) => {
2922
+ d1(m);
2937
2923
  }, u1 = (m) => ke(m) ? a.value === "single" ? {} : [] : V.value ? m : a.value === "single" ? Ee(m) || (se.value ? {
2938
- [h.value]: m,
2924
+ [p.value]: m,
2939
2925
  [D.value]: m,
2940
2926
  [Ae.value]: m
2941
2927
  } : {}) : m.filter((T) => !!Ee(T) || se.value).map((T) => Ee(T) || {
2942
- [h.value]: T,
2928
+ [p.value]: T,
2943
2929
  [D.value]: T,
2944
2930
  [Ae.value]: T
2945
2931
  }), et = () => {
2946
- M1.value = fe(Z, (m) => {
2932
+ A1.value = fe(Z, (m) => {
2947
2933
  m.length < b.value || !m && b.value !== 0 || (Me.value = !0, Y.value && (He.value = []), setTimeout(() => {
2948
2934
  m == Z.value && n.value(Z.value, ee).then((T) => {
2949
- (m == Z.value || !Z.value) && (He.value = T, yt.value = Xe.value.filter((Q) => Q[P.value] !== !0)[0] || null, Me.value = !1);
2935
+ (m == Z.value || !Z.value) && (He.value = T, yt.value = Xe.value.filter((Q) => Q[B.value] !== !0)[0] || null, Me.value = !1);
2950
2936
  }).catch(
2951
2937
  /* istanbul ignore next */
2952
2938
  (T) => {
@@ -2958,8 +2944,8 @@ function U3(s, e, t) {
2958
2944
  };
2959
2945
  if (a.value !== "single" && !ke(M.value) && !Array.isArray(M.value))
2960
2946
  throw new Error(`v-model must be an array when using "${a.value}" mode`);
2961
- return n && typeof n.value == "function" ? L.value ? c1(d1) : V.value == !0 && d1() : (He.value = n.value, d1()), O.value > -1 && et(), fe(O, (m, T) => {
2962
- M1.value && M1.value(), m >= 0 && et();
2947
+ return n && typeof n.value == "function" ? L.value ? d1(c1) : V.value == !0 && c1() : (He.value = n.value, c1()), O.value > -1 && et(), fe(O, (m, T) => {
2948
+ A1.value && A1.value(), m >= 0 && et();
2963
2949
  }), fe(M, (m) => {
2964
2950
  if (ke(m)) {
2965
2951
  Se(u1(m), !1);
@@ -2967,20 +2953,20 @@ function U3(s, e, t) {
2967
2953
  }
2968
2954
  switch (a.value) {
2969
2955
  case "single":
2970
- (V.value ? m[D.value] != U.value[D.value] : m != U.value[D.value]) && Se(u1(m), !1);
2956
+ (V.value ? m[D.value] != R.value[D.value] : m != R.value[D.value]) && Se(u1(m), !1);
2971
2957
  break;
2972
2958
  case "multiple":
2973
2959
  case "tags":
2974
- N3(V.value ? m.map((T) => T[D.value]) : m, U.value.map((T) => T[D.value])) || Se(u1(m), !1);
2960
+ N3(V.value ? m.map((T) => T[D.value]) : m, R.value.map((T) => T[D.value])) || Se(u1(m), !1);
2975
2961
  break;
2976
2962
  }
2977
2963
  }, { deep: !0 }), fe(n, (m, T) => {
2978
- typeof s.options == "function" ? L.value && (!T || m && m.toString() !== T.toString()) && c1() : (He.value = s.options, Object.keys(U.value).length || d1(), O1());
2979
- }), fe(h, O1), {
2964
+ typeof s.options == "function" ? L.value && (!T || m && m.toString() !== T.toString()) && d1() : (He.value = s.options, Object.keys(R.value).length || c1(), D1());
2965
+ }), fe(p, D1), {
2980
2966
  pfo: x1,
2981
2967
  fo: Xe,
2982
2968
  filteredOptions: Xe,
2983
- hasSelected: k1,
2969
+ hasSelected: T1,
2984
2970
  multipleLabelText: Mt,
2985
2971
  eo: Oe,
2986
2972
  extendedOptions: Oe,
@@ -2992,68 +2978,68 @@ function U3(s, e, t) {
2992
2978
  noResults: kt,
2993
2979
  resolving: Me,
2994
2980
  busy: Lt,
2995
- offset: A1,
2996
- select: Re,
2981
+ offset: k1,
2982
+ select: Ue,
2997
2983
  deselect: qe,
2998
2984
  remove: X1,
2999
2985
  selectAll: Ot,
3000
2986
  clear: Q1,
3001
2987
  isSelected: Ve,
3002
- isDisabled: T1,
3003
- isMax: L1,
2988
+ isDisabled: L1,
2989
+ isMax: V1,
3004
2990
  getOption: Ee,
3005
2991
  handleOptionClick: Et,
3006
2992
  handleGroupClick: Ht,
3007
2993
  handleTagRemove: Vt,
3008
- refreshOptions: Ut,
3009
- resolveOptions: c1,
3010
- refreshLabels: O1
2994
+ refreshOptions: Rt,
2995
+ resolveOptions: d1,
2996
+ refreshLabels: D1
3011
2997
  };
3012
2998
  }
3013
- function R3(s, e, t) {
2999
+ function U3(s, e, t) {
3014
3000
  const {
3015
3001
  valueProp: n,
3016
3002
  showOptions: a,
3017
3003
  searchable: o,
3018
3004
  groupLabel: i,
3019
3005
  groups: l,
3020
- mode: p,
3021
- groupSelect: c,
3022
- disabledProp: h,
3006
+ mode: h,
3007
+ groupSelect: d,
3008
+ disabledProp: p,
3023
3009
  groupOptions: _
3024
- } = we(s), f = t.fo, g = t.fg, V = t.handleOptionClick, w = t.handleGroupClick, O = t.search, L = t.pointer, b = t.setPointer, j = t.clearPointer, Y = t.multiselect, te = t.isOpen, D = v(() => f.value.filter((M) => !M[h.value])), se = v(() => g.value.filter((M) => !M[h.value])), I = v(() => p.value !== "single" && c.value), E = v(() => L.value && L.value.group), z = v(() => ee(L.value)), he = v(() => {
3010
+ } = we(s), f = t.fo, g = t.fg, V = t.handleOptionClick, w = t.handleGroupClick, O = t.search, L = t.pointer, b = t.setPointer, P = t.clearPointer, Y = t.multiselect, te = t.isOpen, D = v(() => f.value.filter((M) => !M[p.value])), se = v(() => g.value.filter((M) => !M[p.value])), I = v(() => h.value !== "single" && d.value), E = v(() => L.value && L.value.group), z = v(() => ee(L.value)), he = v(() => {
3025
3011
  const M = E.value ? L.value : (
3026
3012
  /* istanbul ignore next */
3027
3013
  ee(L.value)
3028
3014
  ), Z = se.value.map((Se) => Se[i.value]).indexOf(M[i.value]);
3029
3015
  let ve = se.value[Z - 1];
3030
3016
  return ve === void 0 && (ve = X.value), ve;
3031
- }), B = v(() => {
3017
+ }), j = v(() => {
3032
3018
  let M = se.value.map((Z) => Z.label).indexOf(E.value ? L.value[i.value] : ee(L.value)[i.value]) + 1;
3033
3019
  return se.value.length <= M && (M = 0), se.value[M];
3034
- }), X = v(() => [...se.value].slice(-1)[0]), ge = v(() => L.value.__VISIBLE__.filter((M) => !M[h.value])[0]), ye = v(() => {
3035
- const M = z.value.__VISIBLE__.filter((Z) => !Z[h.value]);
3020
+ }), X = v(() => [...se.value].slice(-1)[0]), ge = v(() => L.value.__VISIBLE__.filter((M) => !M[p.value])[0]), ye = v(() => {
3021
+ const M = z.value.__VISIBLE__.filter((Z) => !Z[p.value]);
3036
3022
  return M[M.map((Z) => Z[n.value]).indexOf(L.value[n.value]) - 1];
3037
3023
  }), Le = v(() => {
3038
- const M = ee(L.value).__VISIBLE__.filter((Z) => !Z[h.value]);
3024
+ const M = ee(L.value).__VISIBLE__.filter((Z) => !Z[p.value]);
3039
3025
  return M[M.map((Z) => Z[n.value]).indexOf(L.value[n.value]) + 1];
3040
- }), u = v(() => [...he.value.__VISIBLE__.filter((M) => !M[h.value])].slice(-1)[0]), $ = v(() => [...X.value.__VISIBLE__.filter((M) => !M[h.value])].slice(-1)[0]), S = (M) => L.value && (!M.group && L.value[n.value] === M[n.value] || M.group !== void 0 && L.value[i.value] === M[i.value]) ? !0 : void 0, k = () => {
3026
+ }), u = v(() => [...he.value.__VISIBLE__.filter((M) => !M[p.value])].slice(-1)[0]), $ = v(() => [...X.value.__VISIBLE__.filter((M) => !M[p.value])].slice(-1)[0]), S = (M) => L.value && (!M.group && L.value[n.value] === M[n.value] || M.group !== void 0 && L.value[i.value] === M[i.value]) ? !0 : void 0, k = () => {
3041
3027
  b(D.value[0] || null);
3042
- }, P = () => {
3043
- !L.value || L.value[h.value] === !0 || (E.value ? w(L.value) : V(L.value));
3028
+ }, B = () => {
3029
+ !L.value || L.value[p.value] === !0 || (E.value ? w(L.value) : V(L.value));
3044
3030
  }, ae = () => {
3045
3031
  if (L.value === null)
3046
3032
  b((l.value && I.value ? se.value[0].__CREATE__ ? D.value[0] : se.value[0] : D.value[0]) || null);
3047
3033
  else if (l.value && I.value) {
3048
3034
  let M = E.value ? ge.value : Le.value;
3049
- M === void 0 && (M = B.value, M.__CREATE__ && (M = M[_.value][0])), b(M || /* istanbul ignore next */
3035
+ M === void 0 && (M = j.value, M.__CREATE__ && (M = M[_.value][0])), b(M || /* istanbul ignore next */
3050
3036
  null);
3051
3037
  } else {
3052
3038
  let M = D.value.map((Z) => Z[n.value]).indexOf(L.value[n.value]) + 1;
3053
3039
  D.value.length <= M && (M = 0), b(D.value[M] || null);
3054
3040
  }
3055
3041
  je(() => {
3056
- U();
3042
+ R();
3057
3043
  });
3058
3044
  }, re = () => {
3059
3045
  if (L.value === null) {
@@ -3068,9 +3054,9 @@ function R3(s, e, t) {
3068
3054
  M < 0 && (M = D.value.length - 1), b(D.value[M] || null);
3069
3055
  }
3070
3056
  je(() => {
3071
- U();
3057
+ R();
3072
3058
  });
3073
- }, ee = (M) => se.value.find((Z) => Z.__VISIBLE__.map((ve) => ve[n.value]).indexOf(M[n.value]) !== -1), U = () => {
3059
+ }, ee = (M) => se.value.find((Z) => Z.__VISIBLE__.map((ve) => ve[n.value]).indexOf(M[n.value]) !== -1), R = () => {
3074
3060
  let M = Y.value.querySelector("[data-pointed]");
3075
3061
  if (!M)
3076
3062
  return;
@@ -3078,7 +3064,7 @@ function R3(s, e, t) {
3078
3064
  l.value && (Z = E.value ? M.parentElement.parentElement.parentElement : M.parentElement.parentElement.parentElement.parentElement), M.offsetTop + M.offsetHeight > Z.clientHeight + Z.scrollTop && (Z.scrollTop = M.offsetTop + M.offsetHeight - Z.clientHeight), M.offsetTop < Z.scrollTop && (Z.scrollTop = M.offsetTop);
3079
3065
  };
3080
3066
  return fe(O, (M) => {
3081
- o.value && (M.length && a.value ? k() : j());
3067
+ o.value && (M.length && a.value ? k() : P());
3082
3068
  }), fe(te, (M) => {
3083
3069
  if (M) {
3084
3070
  let Z = Y.value.querySelectorAll("[data-selected]")[0];
@@ -3094,7 +3080,7 @@ function R3(s, e, t) {
3094
3080
  canPointGroups: I,
3095
3081
  isPointed: S,
3096
3082
  setPointerFirst: k,
3097
- selectPointer: P,
3083
+ selectPointer: B,
3098
3084
  forwardPointer: ae,
3099
3085
  backwardPointer: re
3100
3086
  };
@@ -3112,15 +3098,15 @@ function q3(s, e, t) {
3112
3098
  };
3113
3099
  }
3114
3100
  function F3(s, e, t) {
3115
- const { searchable: n, disabled: a, clearOnBlur: o } = we(s), i = t.input, l = t.open, p = t.close, c = t.clearSearch, h = t.isOpen, _ = J(null), f = J(null), g = J(null), V = J(!1), w = J(!1), O = v(() => n.value || a.value ? -1 : 0), L = () => {
3101
+ const { searchable: n, disabled: a, clearOnBlur: o } = we(s), i = t.input, l = t.open, h = t.close, d = t.clearSearch, p = t.isOpen, _ = J(null), f = J(null), g = J(null), V = J(!1), w = J(!1), O = v(() => n.value || a.value ? -1 : 0), L = () => {
3116
3102
  n.value && i.value.blur(), f.value.blur();
3117
3103
  }, b = () => {
3118
3104
  n.value && !a.value && i.value.focus();
3119
- }, j = (E = !0) => {
3105
+ }, P = (E = !0) => {
3120
3106
  a.value || (V.value = !0, E && l());
3121
3107
  }, Y = () => {
3122
3108
  V.value = !1, setTimeout(() => {
3123
- V.value || (p(), o.value && c());
3109
+ V.value || (h(), o.value && d());
3124
3110
  }, 1);
3125
3111
  };
3126
3112
  return {
@@ -3132,10 +3118,10 @@ function F3(s, e, t) {
3132
3118
  mouseClicked: w,
3133
3119
  blur: L,
3134
3120
  focus: b,
3135
- activate: j,
3121
+ activate: P,
3136
3122
  deactivate: Y,
3137
3123
  handleFocusIn: (E) => {
3138
- E.target.closest("[data-tags]") && E.target.nodeName !== "INPUT" || E.target.closest("[data-clear]") || j(w.value);
3124
+ E.target.closest("[data-tags]") && E.target.nodeName !== "INPUT" || E.target.closest("[data-clear]") || P(w.value);
3139
3125
  },
3140
3126
  handleFocusOut: () => {
3141
3127
  Y();
@@ -3144,9 +3130,9 @@ function F3(s, e, t) {
3144
3130
  Y(), L();
3145
3131
  },
3146
3132
  handleMousedown: (E) => {
3147
- w.value = !0, h.value && (E.target.isEqualNode(f.value) || E.target.isEqualNode(g.value)) ? setTimeout(() => {
3133
+ w.value = !0, p.value && (E.target.isEqualNode(f.value) || E.target.isEqualNode(g.value)) ? setTimeout(() => {
3148
3134
  Y();
3149
- }, 0) : document.activeElement.isEqualNode(f.value) && !h.value && j(), setTimeout(() => {
3135
+ }, 0) : document.activeElement.isEqualNode(f.value) && !p.value && P(), setTimeout(() => {
3150
3136
  w.value = !1;
3151
3137
  }, 0);
3152
3138
  }
@@ -3159,14 +3145,14 @@ function z3(s, e, t) {
3159
3145
  openDirection: o,
3160
3146
  searchable: i,
3161
3147
  showOptions: l,
3162
- valueProp: p,
3163
- groups: c,
3164
- addOptionOn: h,
3148
+ valueProp: h,
3149
+ groups: d,
3150
+ addOptionOn: p,
3165
3151
  createTag: _,
3166
3152
  createOption: f,
3167
3153
  reverse: g
3168
- } = we(s), V = Be().proxy, w = t.iv, O = t.update, L = t.search, b = t.setPointer, j = t.selectPointer, Y = t.backwardPointer, te = t.forwardPointer, D = t.multiselect, se = t.wrapper, I = t.tags, E = t.isOpen, z = t.open, he = t.blur, B = t.fo, X = v(() => _.value || f.value || !1), ge = v(() => a.value !== void 0 ? a.value : h.value !== void 0 ? h.value : ["enter"]), ye = () => {
3169
- n.value === "tags" && !l.value && X.value && i.value && !c.value && b(B.value[B.value.map((S) => S[p.value]).indexOf(L.value)]);
3154
+ } = we(s), V = Be().proxy, w = t.iv, O = t.update, L = t.search, b = t.setPointer, P = t.selectPointer, Y = t.backwardPointer, te = t.forwardPointer, D = t.multiselect, se = t.wrapper, I = t.tags, E = t.isOpen, z = t.open, he = t.blur, j = t.fo, X = v(() => _.value || f.value || !1), ge = v(() => a.value !== void 0 ? a.value : p.value !== void 0 ? p.value : ["enter"]), ye = () => {
3155
+ n.value === "tags" && !l.value && X.value && i.value && !d.value && b(j.value[j.value.map((S) => S[h.value]).indexOf(L.value)]);
3170
3156
  }, Le = (S) => {
3171
3157
  let k = S.length - 1;
3172
3158
  for (; k >= 0 && (S[k].remove === !1 || S[k].disabled); )
@@ -3176,8 +3162,8 @@ function z3(s, e, t) {
3176
3162
  return {
3177
3163
  handleKeydown: (S) => {
3178
3164
  e.emit("keydown", S, V);
3179
- let k, P;
3180
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(S.key) !== -1 && n.value === "tags" && (k = [...D.value.querySelectorAll("[data-tags] > *")].filter((ae) => ae !== I.value), P = k.findIndex((ae) => ae === document.activeElement)), S.key) {
3165
+ let k, B;
3166
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(S.key) !== -1 && n.value === "tags" && (k = [...D.value.querySelectorAll("[data-tags] > *")].filter((ae) => ae !== I.value), B = k.findIndex((ae) => ae === document.activeElement)), S.key) {
3181
3167
  case "Backspace":
3182
3168
  if (n.value === "single" || i.value && [null, ""].indexOf(L.value) === -1 || w.value.length === 0)
3183
3169
  return;
@@ -3186,31 +3172,31 @@ function z3(s, e, t) {
3186
3172
  case "Enter":
3187
3173
  if (S.preventDefault(), S.keyCode === 229)
3188
3174
  return;
3189
- if (P !== -1 && P !== void 0) {
3190
- O([...w.value].filter((ae, re) => re !== P)), P === k.length - 1 && (k.length - 1 ? k[k.length - 2].focus() : i.value ? I.value.querySelector("input").focus() : se.value.focus());
3175
+ if (B !== -1 && B !== void 0) {
3176
+ O([...w.value].filter((ae, re) => re !== B)), B === k.length - 1 && (k.length - 1 ? k[k.length - 2].focus() : i.value ? I.value.querySelector("input").focus() : se.value.focus());
3191
3177
  return;
3192
3178
  }
3193
3179
  if (ge.value.indexOf("enter") === -1 && X.value)
3194
3180
  return;
3195
- ye(), j();
3181
+ ye(), P();
3196
3182
  break;
3197
3183
  case " ":
3198
3184
  if (!X.value && !i.value) {
3199
- S.preventDefault(), ye(), j();
3185
+ S.preventDefault(), ye(), P();
3200
3186
  return;
3201
3187
  }
3202
3188
  if (!X.value)
3203
3189
  return !1;
3204
3190
  if (ge.value.indexOf("space") === -1 && X.value)
3205
3191
  return;
3206
- S.preventDefault(), ye(), j();
3192
+ S.preventDefault(), ye(), P();
3207
3193
  break;
3208
3194
  case "Tab":
3209
3195
  case ";":
3210
3196
  case ",":
3211
3197
  if (ge.value.indexOf(S.key.toLowerCase()) === -1 || !X.value)
3212
3198
  return;
3213
- ye(), j(), S.preventDefault();
3199
+ ye(), P(), S.preventDefault();
3214
3200
  break;
3215
3201
  case "Escape":
3216
3202
  he();
@@ -3228,12 +3214,12 @@ function z3(s, e, t) {
3228
3214
  case "ArrowLeft":
3229
3215
  if (i.value && I.value && I.value.querySelector("input").selectionStart || S.shiftKey || n.value !== "tags" || !w.value || !w.value.length)
3230
3216
  return;
3231
- S.preventDefault(), P === -1 ? k[k.length - 1].focus() : P > 0 && k[P - 1].focus();
3217
+ S.preventDefault(), B === -1 ? k[k.length - 1].focus() : B > 0 && k[B - 1].focus();
3232
3218
  break;
3233
3219
  case "ArrowRight":
3234
- if (P === -1 || S.shiftKey || n.value !== "tags" || !w.value || !w.value.length)
3220
+ if (B === -1 || S.shiftKey || n.value !== "tags" || !w.value || !w.value.length)
3235
3221
  return;
3236
- S.preventDefault(), k.length > P + 1 ? k[P + 1].focus() : i.value ? I.value.querySelector("input").focus() : i.value || se.value.focus();
3222
+ S.preventDefault(), k.length > B + 1 ? k[B + 1].focus() : i.value ? I.value.querySelector("input").focus() : i.value || se.value.focus();
3237
3223
  break;
3238
3224
  }
3239
3225
  },
@@ -3249,7 +3235,7 @@ function G3(s, e, t) {
3249
3235
  disabled: a,
3250
3236
  openDirection: o,
3251
3237
  showOptions: i
3252
- } = we(s), l = t.isOpen, p = t.isPointed, c = t.isSelected, h = t.isDisabled, _ = t.isActive, f = t.canPointGroups, g = t.resolving, V = t.fo, w = v(() => ({
3238
+ } = we(s), l = t.isOpen, h = t.isPointed, d = t.isSelected, p = t.isDisabled, _ = t.isActive, f = t.canPointGroups, g = t.resolving, V = t.fo, w = v(() => ({
3253
3239
  container: "multiselect",
3254
3240
  containerDisabled: "is-disabled",
3255
3241
  containerOpen: "is-open",
@@ -3332,14 +3318,14 @@ function G3(s, e, t) {
3332
3318
  dropdown: [b.dropdown].concat(o.value === "top" ? b.dropdownTop : []).concat(!l.value || !i.value || !O.value ? b.dropdownHidden : []),
3333
3319
  options: [b.options].concat(o.value === "top" ? b.optionsTop : []),
3334
3320
  group: b.group,
3335
- groupLabel: (j) => {
3321
+ groupLabel: (P) => {
3336
3322
  let Y = [b.groupLabel];
3337
- return p(j) ? Y.push(c(j) ? b.groupLabelSelectedPointed : b.groupLabelPointed) : c(j) && f.value ? Y.push(h(j) ? b.groupLabelSelectedDisabled : b.groupLabelSelected) : h(j) && Y.push(b.groupLabelDisabled), f.value && Y.push(b.groupLabelPointable), Y;
3323
+ return h(P) ? Y.push(d(P) ? b.groupLabelSelectedPointed : b.groupLabelPointed) : d(P) && f.value ? Y.push(p(P) ? b.groupLabelSelectedDisabled : b.groupLabelSelected) : p(P) && Y.push(b.groupLabelDisabled), f.value && Y.push(b.groupLabelPointable), Y;
3338
3324
  },
3339
3325
  groupOptions: b.groupOptions,
3340
- option: (j, Y) => {
3326
+ option: (P, Y) => {
3341
3327
  let te = [b.option];
3342
- return p(j) ? te.push(c(j) ? b.optionSelectedPointed : b.optionPointed) : c(j) ? te.push(h(j) ? b.optionSelectedDisabled : b.optionSelected) : (h(j) || Y && h(Y)) && te.push(b.optionDisabled), te;
3328
+ return h(P) ? te.push(d(P) ? b.optionSelectedPointed : b.optionPointed) : d(P) ? te.push(p(P) ? b.optionSelectedDisabled : b.optionSelected) : (p(P) || Y && p(Y)) && te.push(b.optionDisabled), te;
3343
3329
  },
3344
3330
  noOptions: b.noOptions,
3345
3331
  noResults: b.noResults,
@@ -3354,25 +3340,25 @@ function K3(s, e, t) {
3354
3340
  const {
3355
3341
  limit: n,
3356
3342
  infinite: a
3357
- } = we(s), o = t.isOpen, i = t.offset, l = t.search, p = t.pfo, c = t.eo, h = J(null), _ = J(null), f = v(() => i.value < p.value.length), g = (w) => {
3343
+ } = we(s), o = t.isOpen, i = t.offset, l = t.search, h = t.pfo, d = t.eo, p = J(null), _ = J(null), f = v(() => i.value < h.value.length), g = (w) => {
3358
3344
  const { isIntersecting: O, target: L } = w[0];
3359
3345
  if (O) {
3360
- const b = L.offsetParent, j = b.scrollTop;
3346
+ const b = L.offsetParent, P = b.scrollTop;
3361
3347
  i.value += n.value == -1 ? 10 : n.value, je(() => {
3362
- b.scrollTop = j;
3348
+ b.scrollTop = P;
3363
3349
  });
3364
3350
  }
3365
3351
  }, V = () => {
3366
- o.value && i.value < p.value.length ? h.value.observe(_.value) : !o.value && h.value && h.value.disconnect();
3352
+ o.value && i.value < h.value.length ? p.value.observe(_.value) : !o.value && p.value && p.value.disconnect();
3367
3353
  };
3368
3354
  return fe(o, () => {
3369
3355
  a.value && V();
3370
3356
  }), fe(l, () => {
3371
3357
  a.value && (i.value = n.value, V());
3372
- }, { flush: "post" }), fe(c, () => {
3358
+ }, { flush: "post" }), fe(d, () => {
3373
3359
  a.value && V();
3374
3360
  }, { immediate: !1, flush: "post" }), _1(() => {
3375
- window && window.IntersectionObserver && (h.value = new IntersectionObserver(g));
3361
+ window && window.IntersectionObserver && (p.value = new IntersectionObserver(g));
3376
3362
  }), {
3377
3363
  hasMore: f,
3378
3364
  infiniteLoader: _
@@ -3385,49 +3371,49 @@ function x3(s, e, t) {
3385
3371
  valueProp: o,
3386
3372
  label: i,
3387
3373
  mode: l,
3388
- groupLabel: p,
3389
- aria: c,
3390
- searchable: h
3374
+ groupLabel: h,
3375
+ aria: d,
3376
+ searchable: p
3391
3377
  } = we(s), _ = t.pointer, f = t.iv, g = t.hasSelected, V = t.multipleLabelText, w = J(null), O = v(() => {
3392
- let B = [];
3393
- return a && a.value && B.push(a.value), B.push("assist"), B.join("-");
3378
+ let j = [];
3379
+ return a && a.value && j.push(a.value), j.push("assist"), j.join("-");
3394
3380
  }), L = v(() => {
3395
- let B = [];
3396
- return a && a.value && B.push(a.value), B.push("multiselect-options"), B.join("-");
3381
+ let j = [];
3382
+ return a && a.value && j.push(a.value), j.push("multiselect-options"), j.join("-");
3397
3383
  }), b = v(() => {
3398
- let B = [];
3399
- if (a && a.value && B.push(a.value), _.value)
3400
- return B.push(_.value.group ? "multiselect-group" : "multiselect-option"), B.push(_.value.group ? _.value.index : _.value[o.value]), B.join("-");
3401
- }), j = v(() => n.value), Y = v(() => l.value !== "single"), te = v(() => {
3402
- let B = "";
3403
- return l.value === "single" && g.value && (B += f.value[i.value]), l.value === "multiple" && g.value && (B += V.value), l.value === "tags" && g.value && (B += f.value.map((X) => X[i.value]).join(", ")), B;
3384
+ let j = [];
3385
+ if (a && a.value && j.push(a.value), _.value)
3386
+ return j.push(_.value.group ? "multiselect-group" : "multiselect-option"), j.push(_.value.group ? _.value.index : _.value[o.value]), j.join("-");
3387
+ }), P = v(() => n.value), Y = v(() => l.value !== "single"), te = v(() => {
3388
+ let j = "";
3389
+ return l.value === "single" && g.value && (j += f.value[i.value]), l.value === "multiple" && g.value && (j += V.value), l.value === "tags" && g.value && (j += f.value.map((X) => X[i.value]).join(", ")), j;
3404
3390
  }), D = v(() => {
3405
- let B = { ...c.value };
3406
- return h.value && (B["aria-labelledby"] = B["aria-labelledby"] ? `${O.value} ${B["aria-labelledby"]}` : O.value, te.value && B["aria-label"] && (B["aria-label"] = `${te.value}, ${B["aria-label"]}`)), B;
3407
- }), se = (B) => {
3391
+ let j = { ...d.value };
3392
+ return p.value && (j["aria-labelledby"] = j["aria-labelledby"] ? `${O.value} ${j["aria-labelledby"]}` : O.value, te.value && j["aria-label"] && (j["aria-label"] = `${te.value}, ${j["aria-label"]}`)), j;
3393
+ }), se = (j) => {
3408
3394
  let X = [];
3409
- return a && a.value && X.push(a.value), X.push("multiselect-option"), X.push(B[o.value]), X.join("-");
3410
- }, I = (B) => {
3395
+ return a && a.value && X.push(a.value), X.push("multiselect-option"), X.push(j[o.value]), X.join("-");
3396
+ }, I = (j) => {
3411
3397
  let X = [];
3412
- return a && a.value && X.push(a.value), X.push("multiselect-group"), X.push(B.index), X.join("-");
3413
- }, E = (B) => {
3398
+ return a && a.value && X.push(a.value), X.push("multiselect-group"), X.push(j.index), X.join("-");
3399
+ }, E = (j) => {
3414
3400
  let X = [];
3415
- return X.push(B), X.join(" ");
3416
- }, z = (B) => {
3401
+ return X.push(j), X.join(" ");
3402
+ }, z = (j) => {
3417
3403
  let X = [];
3418
- return X.push(B), X.join(" ");
3419
- }, he = (B) => `${B} ❎`;
3404
+ return X.push(j), X.join(" ");
3405
+ }, he = (j) => `${j} ❎`;
3420
3406
  return _1(() => {
3421
3407
  if (a && a.value && document && document.querySelector) {
3422
- let B = document.querySelector(`[for="${a.value}"]`);
3423
- w.value = B ? B.innerText : null;
3408
+ let j = document.querySelector(`[for="${a.value}"]`);
3409
+ w.value = j ? j.innerText : null;
3424
3410
  }
3425
3411
  }), {
3426
3412
  arias: D,
3427
3413
  ariaLabel: te,
3428
3414
  ariaAssist: O,
3429
3415
  ariaControls: L,
3430
- ariaPlaceholder: j,
3416
+ ariaPlaceholder: P,
3431
3417
  ariaMultiselectable: Y,
3432
3418
  ariaActiveDescendant: b,
3433
3419
  ariaOptionId: se,
@@ -3798,18 +3784,18 @@ var Ce = {
3798
3784
  B3,
3799
3785
  D3,
3800
3786
  F3,
3801
- U3,
3802
- K3,
3803
3787
  R3,
3788
+ K3,
3789
+ U3,
3804
3790
  z3,
3805
3791
  G3,
3806
3792
  x3
3807
3793
  ]);
3808
3794
  }
3809
3795
  };
3810
- const X3 = ["id", "dir"], Q3 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], J3 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], e0 = ["onKeyup", "aria-label"], t0 = ["onClick"], s0 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], a0 = ["innerHTML"], n0 = ["id"], i0 = ["id", "aria-label", "aria-selected"], o0 = ["data-pointed", "onMouseenter", "onClick"], l0 = ["innerHTML"], r0 = ["aria-label"], d0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], c0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], u0 = ["innerHTML"], p0 = ["innerHTML"], h0 = ["value"], m0 = ["name", "value"], C0 = ["name", "value"], v0 = ["id"];
3796
+ const X3 = ["id", "dir"], Q3 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], J3 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], e0 = ["onKeyup", "aria-label"], t0 = ["onClick"], s0 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], a0 = ["innerHTML"], n0 = ["id"], i0 = ["id", "aria-label", "aria-selected"], o0 = ["data-pointed", "onMouseenter", "onClick"], l0 = ["innerHTML"], r0 = ["aria-label"], c0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], d0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], u0 = ["innerHTML"], p0 = ["innerHTML"], h0 = ["value"], m0 = ["name", "value"], C0 = ["name", "value"], v0 = ["id"];
3811
3797
  function _0(s, e, t, n, a, o) {
3812
- return d(), C("div", {
3798
+ return c(), C("div", {
3813
3799
  ref: "multiselect",
3814
3800
  class: K(s.classList.container),
3815
3801
  id: t.searchable ? void 0 : t.id,
@@ -3832,7 +3818,7 @@ function _0(s, e, t, n, a, o) {
3832
3818
  role: t.searchable ? void 0 : "combobox"
3833
3819
  }, t.searchable ? {} : s.arias), [
3834
3820
  A(" Search "),
3835
- t.mode !== "tags" && t.searchable && !t.disabled ? (d(), C("input", De({
3821
+ t.mode !== "tags" && t.searchable && !t.disabled ? (c(), C("input", De({
3836
3822
  key: 0,
3837
3823
  type: t.inputType,
3838
3824
  modelValue: s.search,
@@ -3855,7 +3841,7 @@ function _0(s, e, t, n, a, o) {
3855
3841
  ...s.arias
3856
3842
  }), null, 16, J3)) : A("v-if", !0),
3857
3843
  A(" Tags (with search) "),
3858
- t.mode == "tags" ? (d(), C(
3844
+ t.mode == "tags" ? (c(), C(
3859
3845
  "div",
3860
3846
  {
3861
3847
  key: 1,
@@ -3863,33 +3849,33 @@ function _0(s, e, t, n, a, o) {
3863
3849
  "data-tags": ""
3864
3850
  },
3865
3851
  [
3866
- (d(!0), C(
3852
+ (c(!0), C(
3867
3853
  oe,
3868
3854
  null,
3869
- me(s.iv, (i, l, p) => W(s.$slots, "tag", {
3855
+ me(s.iv, (i, l, h) => W(s.$slots, "tag", {
3870
3856
  option: i,
3871
3857
  handleTagRemove: s.handleTagRemove,
3872
3858
  disabled: t.disabled
3873
3859
  }, () => [
3874
- (d(), C("span", {
3860
+ (c(), C("span", {
3875
3861
  class: K([
3876
3862
  s.classList.tag,
3877
3863
  i.disabled ? s.classList.tagDisabled : null
3878
3864
  ]),
3879
3865
  tabindex: "-1",
3880
- onKeyup: a1((c) => s.handleTagRemove(i, c), ["enter"]),
3881
- key: p,
3866
+ onKeyup: a1((d) => s.handleTagRemove(i, d), ["enter"]),
3867
+ key: h,
3882
3868
  "aria-label": s.ariaTagLabel(s.localize(i[t.label]))
3883
3869
  }, [
3884
- Z1(
3885
- R(s.localize(i[t.label])) + " ",
3870
+ N1(
3871
+ U(s.localize(i[t.label])) + " ",
3886
3872
  1
3887
3873
  /* TEXT */
3888
3874
  ),
3889
- !t.disabled && !i.disabled ? (d(), C("span", {
3875
+ !t.disabled && !i.disabled ? (c(), C("span", {
3890
3876
  key: 0,
3891
3877
  class: K(s.classList.tagRemove),
3892
- onClick: Te((c) => s.handleTagRemove(i, c), ["stop"])
3878
+ onClick: Te((d) => s.handleTagRemove(i, d), ["stop"])
3893
3879
  }, [
3894
3880
  r(
3895
3881
  "span",
@@ -3919,12 +3905,12 @@ function _0(s, e, t, n, a, o) {
3919
3905
  {
3920
3906
  class: K(s.classList.tagsSearchCopy)
3921
3907
  },
3922
- R(s.search),
3908
+ U(s.search),
3923
3909
  3
3924
3910
  /* TEXT, CLASS */
3925
3911
  ),
3926
3912
  A(" Actual search input "),
3927
- t.searchable && !t.disabled ? (d(), C("input", De({
3913
+ t.searchable && !t.disabled ? (c(), C("input", De({
3928
3914
  key: 0,
3929
3915
  type: t.inputType,
3930
3916
  modelValue: s.search,
@@ -3970,7 +3956,7 @@ function _0(s, e, t, n, a, o) {
3970
3956
  {
3971
3957
  class: K(s.classList.singleLabelText)
3972
3958
  },
3973
- R(s.localize(s.iv[t.label])),
3959
+ U(s.localize(s.iv[t.label])),
3974
3960
  3
3975
3961
  /* TEXT, CLASS */
3976
3962
  )
@@ -3997,7 +3983,7 @@ function _0(s, e, t, n, a, o) {
3997
3983
  class: K(s.classList.placeholder),
3998
3984
  "aria-hidden": "true"
3999
3985
  },
4000
- R(t.placeholder),
3986
+ U(t.placeholder),
4001
3987
  3
4002
3988
  /* TEXT, CLASS */
4003
3989
  )
@@ -4076,23 +4062,23 @@ function _0(s, e, t, n, a, o) {
4076
4062
  id: s.ariaControls,
4077
4063
  role: "listbox"
4078
4064
  }, [
4079
- t.groups ? (d(!0), C(
4065
+ t.groups ? (c(!0), C(
4080
4066
  oe,
4081
4067
  { key: 0 },
4082
- me(s.fg, (i, l, p) => (d(), C("li", {
4068
+ me(s.fg, (i, l, h) => (c(), C("li", {
4083
4069
  class: K(s.classList.group),
4084
- key: p,
4070
+ key: h,
4085
4071
  id: s.ariaGroupId(i),
4086
4072
  "aria-label": s.ariaGroupLabel(s.localize(i[t.groupLabel])),
4087
4073
  "aria-selected": s.isSelected(i),
4088
4074
  role: "option"
4089
4075
  }, [
4090
- i.__CREATE__ ? A("v-if", !0) : (d(), C("div", {
4076
+ i.__CREATE__ ? A("v-if", !0) : (c(), C("div", {
4091
4077
  key: 0,
4092
4078
  class: K(s.classList.groupLabel(i)),
4093
4079
  "data-pointed": s.isPointed(i),
4094
- onMouseenter: (c) => s.setPointer(i, l),
4095
- onClick: (c) => s.handleGroupClick(i)
4080
+ onMouseenter: (d) => s.setPointer(i, l),
4081
+ onClick: (d) => s.handleGroupClick(i)
4096
4082
  }, [
4097
4083
  W(s.$slots, "grouplabel", {
4098
4084
  group: i,
@@ -4109,23 +4095,23 @@ function _0(s, e, t, n, a, o) {
4109
4095
  "aria-label": s.ariaGroupLabel(s.localize(i[t.groupLabel])),
4110
4096
  role: "group"
4111
4097
  }, [
4112
- (d(!0), C(
4098
+ (c(!0), C(
4113
4099
  oe,
4114
4100
  null,
4115
- me(i.__VISIBLE__, (c, h, _) => (d(), C("li", {
4116
- class: K(s.classList.option(c, i)),
4117
- "data-pointed": s.isPointed(c),
4118
- "data-selected": s.isSelected(c) || void 0,
4101
+ me(i.__VISIBLE__, (d, p, _) => (c(), C("li", {
4102
+ class: K(s.classList.option(d, i)),
4103
+ "data-pointed": s.isPointed(d),
4104
+ "data-selected": s.isSelected(d) || void 0,
4119
4105
  key: _,
4120
- onMouseenter: (f) => s.setPointer(c),
4121
- onClick: (f) => s.handleOptionClick(c),
4122
- id: s.ariaOptionId(c),
4123
- "aria-selected": s.isSelected(c),
4124
- "aria-label": s.ariaOptionLabel(s.localize(c[t.label])),
4106
+ onMouseenter: (f) => s.setPointer(d),
4107
+ onClick: (f) => s.handleOptionClick(d),
4108
+ id: s.ariaOptionId(d),
4109
+ "aria-selected": s.isSelected(d),
4110
+ "aria-label": s.ariaOptionLabel(s.localize(d[t.label])),
4125
4111
  role: "option"
4126
4112
  }, [
4127
4113
  W(s.$slots, "option", {
4128
- option: c,
4114
+ option: d,
4129
4115
  isSelected: s.isSelected,
4130
4116
  isPointed: s.isPointed,
4131
4117
  search: s.search
@@ -4133,12 +4119,12 @@ function _0(s, e, t, n, a, o) {
4133
4119
  r(
4134
4120
  "span",
4135
4121
  null,
4136
- R(s.localize(c[t.label])),
4122
+ U(s.localize(d[t.label])),
4137
4123
  1
4138
4124
  /* TEXT */
4139
4125
  )
4140
4126
  ])
4141
- ], 42, d0))),
4127
+ ], 42, c0))),
4142
4128
  128
4143
4129
  /* KEYED_FRAGMENT */
4144
4130
  ))
@@ -4146,16 +4132,16 @@ function _0(s, e, t, n, a, o) {
4146
4132
  ], 10, i0))),
4147
4133
  128
4148
4134
  /* KEYED_FRAGMENT */
4149
- )) : (d(!0), C(
4135
+ )) : (c(!0), C(
4150
4136
  oe,
4151
4137
  { key: 1 },
4152
- me(s.fo, (i, l, p) => (d(), C("li", {
4138
+ me(s.fo, (i, l, h) => (c(), C("li", {
4153
4139
  class: K(s.classList.option(i)),
4154
4140
  "data-pointed": s.isPointed(i),
4155
4141
  "data-selected": s.isSelected(i) || void 0,
4156
- key: p,
4157
- onMouseenter: (c) => s.setPointer(i),
4158
- onClick: (c) => s.handleOptionClick(i),
4142
+ key: h,
4143
+ onMouseenter: (d) => s.setPointer(i),
4144
+ onClick: (d) => s.handleOptionClick(i),
4159
4145
  id: s.ariaOptionId(i),
4160
4146
  "aria-selected": s.isSelected(i),
4161
4147
  "aria-label": s.ariaOptionLabel(s.localize(i[t.label])),
@@ -4170,12 +4156,12 @@ function _0(s, e, t, n, a, o) {
4170
4156
  r(
4171
4157
  "span",
4172
4158
  null,
4173
- R(s.localize(i[t.label])),
4159
+ U(s.localize(i[t.label])),
4174
4160
  1
4175
4161
  /* TEXT */
4176
4162
  )
4177
4163
  ])
4178
- ], 42, c0))),
4164
+ ], 42, d0))),
4179
4165
  128
4180
4166
  /* KEYED_FRAGMENT */
4181
4167
  ))
@@ -4192,7 +4178,7 @@ function _0(s, e, t, n, a, o) {
4192
4178
  innerHTML: s.localize(t.noResultsText)
4193
4179
  }, null, 10, p0)
4194
4180
  ]) : A("v-if", !0),
4195
- t.infinite && s.hasMore ? (d(), C(
4181
+ t.infinite && s.hasMore ? (c(), C(
4196
4182
  "div",
4197
4183
  {
4198
4184
  key: 2,
@@ -4221,7 +4207,7 @@ function _0(s, e, t, n, a, o) {
4221
4207
  /* CLASS */
4222
4208
  ),
4223
4209
  A(" Hacky input element to show HTML5 required warning "),
4224
- t.required ? (d(), C("input", {
4210
+ t.required ? (c(), C("input", {
4225
4211
  key: 0,
4226
4212
  class: K(s.classList.fakeInput),
4227
4213
  tabindex: "-1",
@@ -4229,19 +4215,19 @@ function _0(s, e, t, n, a, o) {
4229
4215
  required: ""
4230
4216
  }, null, 10, h0)) : A("v-if", !0),
4231
4217
  A(" Native input support "),
4232
- t.nativeSupport ? (d(), C(
4218
+ t.nativeSupport ? (c(), C(
4233
4219
  oe,
4234
4220
  { key: 1 },
4235
4221
  [
4236
- t.mode == "single" ? (d(), C("input", {
4222
+ t.mode == "single" ? (c(), C("input", {
4237
4223
  key: 0,
4238
4224
  type: "hidden",
4239
4225
  name: t.name,
4240
4226
  value: s.plainValue !== void 0 ? s.plainValue : ""
4241
- }, null, 8, m0)) : (d(!0), C(
4227
+ }, null, 8, m0)) : (c(!0), C(
4242
4228
  oe,
4243
4229
  { key: 1 },
4244
- me(s.plainValue, (i, l) => (d(), C("input", {
4230
+ me(s.plainValue, (i, l) => (c(), C("input", {
4245
4231
  type: "hidden",
4246
4232
  name: `${t.name}[]`,
4247
4233
  value: i,
@@ -4255,12 +4241,12 @@ function _0(s, e, t, n, a, o) {
4255
4241
  /* STABLE_FRAGMENT */
4256
4242
  )) : A("v-if", !0),
4257
4243
  A(" Screen reader assistive text "),
4258
- t.searchable && s.hasSelected ? (d(), C("div", {
4244
+ t.searchable && s.hasSelected ? (c(), C("div", {
4259
4245
  key: 2,
4260
4246
  class: K(s.classList.assist),
4261
4247
  id: s.ariaAssist,
4262
4248
  "aria-hidden": "true"
4263
- }, R(s.ariaLabel), 11, v0)) : A("v-if", !0),
4249
+ }, U(s.ariaLabel), 11, v0)) : A("v-if", !0),
4264
4250
  A(" Create height for empty input "),
4265
4251
  r(
4266
4252
  "div",
@@ -4282,7 +4268,7 @@ const f0 = { class: "ao-modal__wrapper" }, g0 = { class: "ao-modal" }, y0 = { cl
4282
4268
  __name: "AoModal",
4283
4269
  emits: ["close"],
4284
4270
  setup(s) {
4285
- return (e, t) => (d(), C("div", f0, [
4271
+ return (e, t) => (c(), C("div", f0, [
4286
4272
  r("div", {
4287
4273
  class: "ao-modal__backdrop",
4288
4274
  onClick: t[0] || (t[0] = (n) => e.$emit("close"))
@@ -4297,7 +4283,7 @@ const f0 = { class: "ao-modal__wrapper" }, g0 = { class: "ao-modal" }, y0 = { cl
4297
4283
  onClick: t[1] || (t[1] = (n) => e.$emit("close"))
4298
4284
  })
4299
4285
  ]),
4300
- e.$slots.header ? (d(), C("header", w0, [
4286
+ e.$slots.header ? (c(), C("header", w0, [
4301
4287
  W(e.$slots, "header")
4302
4288
  ])) : A("", !0)
4303
4289
  ]),
@@ -4309,7 +4295,7 @@ const f0 = { class: "ao-modal__wrapper" }, g0 = { class: "ao-modal" }, y0 = { cl
4309
4295
  }
4310
4296
  });
4311
4297
  var nt;
4312
- function S1() {
4298
+ function M1() {
4313
4299
  const s = I0(), e = s.appContext.config.globalProperties;
4314
4300
  return {
4315
4301
  i18next: e.$i18next,
@@ -4352,39 +4338,39 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4352
4338
  },
4353
4339
  emits: ["add", "delete", "update"],
4354
4340
  setup(s, { emit: e }) {
4355
- const t = s, { t: n } = S1(), a = () => {
4356
- const c = t.subtasks.length, h = t.subtasks.at(-1), _ = h ? _e.LexoRank.parse(h.rank).genNext() : _e.LexoRank.middle(), f = {
4357
- name: n("template.defaultName.subtask", { idx: c + 1 }),
4341
+ const t = s, { t: n } = M1(), a = () => {
4342
+ const d = t.subtasks.length, p = t.subtasks.at(-1), _ = p ? _e.LexoRank.parse(p.rank).genNext() : _e.LexoRank.middle(), f = {
4343
+ name: n("template.defaultName.subtask", { idx: d + 1 }),
4358
4344
  rank: _.format(),
4359
4345
  activityId: t.activityId
4360
4346
  };
4361
4347
  e("add", f);
4362
- }, o = (c, h) => {
4363
- const f = c.target.value;
4348
+ }, o = (d, p) => {
4349
+ const f = d.target.value;
4364
4350
  e("update", {
4365
- id: h,
4351
+ id: p,
4366
4352
  name: f
4367
4353
  });
4368
- }, i = (c, h) => {
4354
+ }, i = (d, p) => {
4369
4355
  e("update", {
4370
- id: c,
4371
- status: h
4356
+ id: d,
4357
+ status: p
4372
4358
  });
4373
- }, l = (c) => {
4374
- e("delete", c);
4375
- }, p = (c, h) => {
4359
+ }, l = (d) => {
4360
+ e("delete", d);
4361
+ }, h = (d, p) => {
4376
4362
  e("update", {
4377
- id: h,
4378
- assignees: c
4363
+ id: p,
4364
+ assignees: d
4379
4365
  });
4380
4366
  };
4381
- return (c, h) => (d(), C("div", S0, [
4367
+ return (d, p) => (c(), C("div", S0, [
4382
4368
  r("ul", M0, [
4383
- (d(!0), C(oe, null, me(c.subtasks, (_) => (d(), C("li", {
4369
+ (c(!0), C(oe, null, me(d.subtasks, (_) => (c(), C("li", {
4384
4370
  key: _.id,
4385
4371
  class: "ao-subtask"
4386
4372
  }, [
4387
- c.isCheckable ? (d(), q(ue, {
4373
+ d.isCheckable ? (c(), q(ue, {
4388
4374
  key: 0,
4389
4375
  class: "ao-subtask__delete",
4390
4376
  "icon-name": _.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -4400,12 +4386,12 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4400
4386
  y(N(Ce), {
4401
4387
  mode: "tags",
4402
4388
  value: _.assignees,
4403
- options: c.assigneesOptions,
4389
+ options: d.assigneesOptions,
4404
4390
  "close-on-select": !1,
4405
4391
  searchable: !0,
4406
4392
  class: "ao-subtask__assignees",
4407
- placeholder: c.$t("feed.filters.assignee.placeholder"),
4408
- onChange: (f) => p(f, _.id)
4393
+ placeholder: d.$t("feed.filters.assignee.placeholder"),
4394
+ onChange: (f) => h(f, _.id)
4409
4395
  }, {
4410
4396
  tag: F(({ option: f, handleTagRemove: g }) => [
4411
4397
  y(We, {
@@ -4426,7 +4412,7 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4426
4412
  ]),
4427
4413
  r("div", k0, [
4428
4414
  y(ue, {
4429
- label: c.$t("activity.subtasks.add"),
4415
+ label: d.$t("activity.subtasks.add"),
4430
4416
  "icon-name": "Add",
4431
4417
  variant: "ghost",
4432
4418
  color: "primary",
@@ -4449,21 +4435,21 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4449
4435
  },
4450
4436
  emits: ["add", "toggleIsDropActive", "remove"],
4451
4437
  setup(s, { emit: e }) {
4452
- const t = (c) => {
4453
- e("remove", c);
4454
- }, n = (c) => {
4455
- const h = c.target, _ = Array.from(h.files ?? []);
4438
+ const t = (d) => {
4439
+ e("remove", d);
4440
+ }, n = (d) => {
4441
+ const p = d.target, _ = Array.from(p.files ?? []);
4456
4442
  e("add", _);
4457
4443
  }, a = ["dragenter", "dragover", "dragleave", "drop"];
4458
4444
  _1(() => {
4459
- a.forEach((c) => {
4460
- document.body.addEventListener(c, (h) => h.preventDefault());
4445
+ a.forEach((d) => {
4446
+ document.body.addEventListener(d, (p) => p.preventDefault());
4461
4447
  });
4462
4448
  }), Gt(() => {
4463
- a.forEach((c) => {
4449
+ a.forEach((d) => {
4464
4450
  document.body.removeEventListener(
4465
- c,
4466
- (h) => h.preventDefault()
4451
+ d,
4452
+ (p) => p.preventDefault()
4467
4453
  );
4468
4454
  });
4469
4455
  });
@@ -4474,31 +4460,31 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4474
4460
  function l() {
4475
4461
  o.value = !1;
4476
4462
  }
4477
- fe(o, (c) => {
4478
- e("toggleIsDropActive", c);
4463
+ fe(o, (d) => {
4464
+ e("toggleIsDropActive", d);
4479
4465
  });
4480
- function p(c) {
4466
+ function h(d) {
4481
4467
  var _;
4482
4468
  l();
4483
- const h = Array.from(((_ = c.dataTransfer) == null ? void 0 : _.files) || []);
4484
- c.dataTransfer && e("add", h);
4469
+ const p = Array.from(((_ = d.dataTransfer) == null ? void 0 : _.files) || []);
4470
+ d.dataTransfer && e("add", p);
4485
4471
  }
4486
- return (c, h) => {
4472
+ return (d, p) => {
4487
4473
  var _;
4488
- return d(), C("div", {
4474
+ return c(), C("div", {
4489
4475
  class: K([
4490
4476
  "ao-files__wrapper",
4491
4477
  {
4492
4478
  "ao-files__wrapper--drop-active": o.value
4493
4479
  }
4494
4480
  ]),
4495
- onDrop: Te(p, ["prevent"]),
4481
+ onDrop: Te(h, ["prevent"]),
4496
4482
  onDragenter: Te(i, ["prevent"]),
4497
4483
  onDragover: Te(i, ["prevent"]),
4498
4484
  onDragleave: Te(l, ["prevent"])
4499
4485
  }, [
4500
- (_ = c.attachments) != null && _.length && c.attachments.length > 0 ? (d(), C("ul", V0, [
4501
- (d(!0), C(oe, null, me(c.attachments, (f) => (d(), C("li", {
4486
+ (_ = d.attachments) != null && _.length && d.attachments.length > 0 ? (c(), C("ul", V0, [
4487
+ (c(!0), C(oe, null, me(d.attachments, (f) => (c(), C("li", {
4502
4488
  key: f.id,
4503
4489
  class: "ao-file"
4504
4490
  }, [
@@ -4513,7 +4499,7 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4513
4499
  name: "AttachFileRounded",
4514
4500
  size: "sm"
4515
4501
  }),
4516
- r("span", H0, R(f.name), 1)
4502
+ r("span", H0, U(f.name), 1)
4517
4503
  ], 8, E0),
4518
4504
  y(ue, {
4519
4505
  class: "ao-files__delete-button",
@@ -4525,9 +4511,9 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4525
4511
  onClick: () => t(f)
4526
4512
  }, null, 8, ["onClick"])
4527
4513
  ]))), 128))
4528
- ])) : (d(), C("div", O0, [
4514
+ ])) : (c(), C("div", O0, [
4529
4515
  r("label", D0, [
4530
- r("span", j0, R(c.$t("activity.attachment.button.resting")), 1),
4516
+ r("span", j0, U(d.$t("activity.attachment.button.resting")), 1),
4531
4517
  r("input", {
4532
4518
  class: "input-field",
4533
4519
  type: "file",
@@ -4537,7 +4523,7 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4537
4523
  onChange: n
4538
4524
  }, null, 32)
4539
4525
  ]),
4540
- r("span", B0, R(c.$t("activity.attachment.placeholder.resting")), 1)
4526
+ r("span", B0, U(d.$t("activity.attachment.placeholder.resting")), 1)
4541
4527
  ]))
4542
4528
  ], 42, L0);
4543
4529
  };
@@ -4546,7 +4532,7 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4546
4532
  const Z0 = {
4547
4533
  key: 0,
4548
4534
  class: "ao-activity__category"
4549
- }, N0 = { class: "ao-activity-details__content" }, U0 = { class: "ao-fieldset" }, R0 = { class: "ao-field__row" }, q0 = { class: "ao-field ao-field--full" }, F0 = { class: "ao-field__label" }, z0 = { class: "ao-field__row" }, G0 = { class: "ao-field" }, K0 = { class: "ao-field__label" }, x0 = { class: "ao-field" }, W0 = { class: "ao-field__label" }, Y0 = { class: "ao-field__row" }, X0 = { class: "ao-field ao-field--multiselect" }, Q0 = { class: "ao-field__label" }, J0 = { class: "ao-field__row" }, e5 = { class: "ao-field ao-field--multiselect" }, t5 = { class: "ao-field__label" }, s5 = { class: "ao-fieldset" }, a5 = { class: "ao-fieldset__title" }, n5 = { class: "ao-field__row" }, i5 = { class: "ao-field ao-field--multiselect" }, o5 = { class: "ao-field__label" }, l5 = { class: "ao-field__row" }, r5 = { class: "ao-field ao-field--multiselect" }, d5 = { class: "ao-field__label" }, c5 = { class: "ao-field__row" }, u5 = { class: "ao-field ao-field--multiselect" }, p5 = { class: "ao-field__label" }, h5 = { class: "ao-fieldset" }, m5 = { class: "ao-fieldset__title" }, C5 = { class: "ao-activity-details__aside" }, v5 = { class: "ao-fieldset__title" }, F1 = /* @__PURE__ */ x({
4535
+ }, N0 = { class: "ao-activity-details__content" }, R0 = { class: "ao-fieldset" }, U0 = { class: "ao-field__row" }, q0 = { class: "ao-field ao-field--full" }, F0 = { class: "ao-field__label" }, z0 = { class: "ao-field__row" }, G0 = { class: "ao-field" }, K0 = { class: "ao-field__label" }, x0 = { class: "ao-field" }, W0 = { class: "ao-field__label" }, Y0 = { class: "ao-field__row" }, X0 = { class: "ao-field ao-field--multiselect" }, Q0 = { class: "ao-field__label" }, J0 = { class: "ao-field__row" }, e5 = { class: "ao-field ao-field--multiselect" }, t5 = { class: "ao-field__label" }, s5 = { class: "ao-fieldset" }, a5 = { class: "ao-fieldset__title" }, n5 = { class: "ao-field__row" }, i5 = { class: "ao-field ao-field--multiselect" }, o5 = { class: "ao-field__label" }, l5 = { class: "ao-field__row" }, r5 = { class: "ao-field ao-field--multiselect" }, c5 = { class: "ao-field__label" }, d5 = { class: "ao-field__row" }, u5 = { class: "ao-field ao-field--multiselect" }, p5 = { class: "ao-field__label" }, h5 = { class: "ao-fieldset" }, m5 = { class: "ao-fieldset__title" }, C5 = { class: "ao-activity-details__aside" }, v5 = { class: "ao-fieldset__title" }, F1 = /* @__PURE__ */ x({
4550
4536
  __name: "AoActivityDetails",
4551
4537
  props: {
4552
4538
  activity: {},
@@ -4581,14 +4567,14 @@ const Z0 = {
4581
4567
  set(I) {
4582
4568
  e("update:activity", { id: t.activity.id, estimation: I });
4583
4569
  }
4584
- }), p = v({
4570
+ }), h = v({
4585
4571
  get() {
4586
4572
  return t.activity.important ?? !1;
4587
4573
  },
4588
4574
  set(I) {
4589
4575
  e("update:activity", { id: t.activity.id, important: I });
4590
4576
  }
4591
- }), c = v({
4577
+ }), d = v({
4592
4578
  get() {
4593
4579
  var I;
4594
4580
  return (I = t.activity.type) == null ? void 0 : I.id;
@@ -4596,7 +4582,7 @@ const Z0 = {
4596
4582
  set(I) {
4597
4583
  e("update:activity", { id: t.activity.id, typeId: I });
4598
4584
  }
4599
- }), h = v(() => t.templateActivities.filter((I) => I.id !== t.activity.id).map((I) => ({
4585
+ }), p = v(() => t.templateActivities.filter((I) => I.id !== t.activity.id).map((I) => ({
4600
4586
  label: I.name,
4601
4587
  value: I.id
4602
4588
  }))), _ = v({
@@ -4609,7 +4595,7 @@ const Z0 = {
4609
4595
  dependingOn: I
4610
4596
  });
4611
4597
  }
4612
- }), f = v(() => h.value.map((I) => {
4598
+ }), f = v(() => p.value.map((I) => {
4613
4599
  var E;
4614
4600
  return {
4615
4601
  ...I,
@@ -4625,7 +4611,7 @@ const Z0 = {
4625
4611
  blocking: I
4626
4612
  });
4627
4613
  }
4628
- }), V = v(() => h.value.map((I) => {
4614
+ }), V = v(() => p.value.map((I) => {
4629
4615
  var E;
4630
4616
  return {
4631
4617
  ...I,
@@ -4652,7 +4638,7 @@ const Z0 = {
4652
4638
  ...E[z],
4653
4639
  ...I
4654
4640
  }, e("update:activity", { id: t.activity.id, tasks: E });
4655
- }, j = (I) => {
4641
+ }, P = (I) => {
4656
4642
  const E = [...t.activity.tasks || []].filter((z) => z.id !== I);
4657
4643
  e("update:activity", { id: t.activity.id, tasks: E });
4658
4644
  }, Y = v(() => {
@@ -4683,12 +4669,12 @@ const Z0 = {
4683
4669
  file: I
4684
4670
  });
4685
4671
  };
4686
- return (I, E) => (d(), q(vt, {
4672
+ return (I, E) => (c(), q(vt, {
4687
4673
  onClose: E[8] || (E[8] = (z) => I.$emit("close"))
4688
4674
  }, {
4689
4675
  header: F(() => [
4690
4676
  W(I.$slots, "header", {}, () => [
4691
- I.breadcrumbs ? (d(), C("div", Z0, R(I.breadcrumbs), 1)) : A("", !0),
4677
+ I.breadcrumbs ? (c(), C("div", Z0, U(I.breadcrumbs), 1)) : A("", !0),
4692
4678
  y(pe, {
4693
4679
  title: I.activity.name || I.activity.id,
4694
4680
  level: 4,
@@ -4701,10 +4687,10 @@ const Z0 = {
4701
4687
  ]),
4702
4688
  default: F(() => [
4703
4689
  r("div", N0, [
4704
- r("fieldset", U0, [
4705
- r("div", R0, [
4690
+ r("fieldset", R0, [
4691
+ r("div", U0, [
4706
4692
  r("label", q0, [
4707
- r("span", F0, R(I.$t("activity.description.label")), 1),
4693
+ r("span", F0, U(I.$t("activity.description.label")), 1),
4708
4694
  Fe(r("textarea", {
4709
4695
  "onUpdate:modelValue": E[0] || (E[0] = (z) => i.value = z),
4710
4696
  rows: "4",
@@ -4724,7 +4710,7 @@ const Z0 = {
4724
4710
  ]),
4725
4711
  r("div", z0, [
4726
4712
  r("label", G0, [
4727
- r("span", K0, R(I.$t("activity.estimation.label")), 1),
4713
+ r("span", K0, U(I.$t("activity.estimation.label")), 1),
4728
4714
  Fe(r("input", {
4729
4715
  "onUpdate:modelValue": E[1] || (E[1] = (z) => l.value = z),
4730
4716
  class: "ao-field__input",
@@ -4743,15 +4729,15 @@ const Z0 = {
4743
4729
  ])
4744
4730
  ]),
4745
4731
  r("label", x0, [
4746
- r("span", W0, R(I.$t("activity.isImportant.label")), 1),
4732
+ r("span", W0, U(I.$t("activity.isImportant.label")), 1),
4747
4733
  Fe(r("input", {
4748
- "onUpdate:modelValue": E[2] || (E[2] = (z) => p.value = z),
4734
+ "onUpdate:modelValue": E[2] || (E[2] = (z) => h.value = z),
4749
4735
  class: "ao-field__input",
4750
4736
  type: "checkbox"
4751
4737
  }, null, 512), [
4752
4738
  [
4753
4739
  Kt,
4754
- p.value,
4740
+ h.value,
4755
4741
  void 0,
4756
4742
  { lazy: !0 }
4757
4743
  ]
@@ -4760,7 +4746,7 @@ const Z0 = {
4760
4746
  ]),
4761
4747
  r("div", Y0, [
4762
4748
  r("div", X0, [
4763
- r("span", Q0, R(I.$t("activity.assignees.label")), 1),
4749
+ r("span", Q0, U(I.$t("activity.assignees.label")), 1),
4764
4750
  y(N(Ce), {
4765
4751
  modelValue: te.value,
4766
4752
  "onUpdate:modelValue": E[3] || (E[3] = (z) => te.value = z),
@@ -4774,7 +4760,7 @@ const Z0 = {
4774
4760
  y(We, {
4775
4761
  "user-name": z.label,
4776
4762
  "is-closable": !0,
4777
- onClose: (B) => he(z, B)
4763
+ onClose: (j) => he(z, j)
4778
4764
  }, null, 8, ["user-name", "onClose"])
4779
4765
  ]),
4780
4766
  _: 1
@@ -4783,10 +4769,10 @@ const Z0 = {
4783
4769
  ]),
4784
4770
  r("div", J0, [
4785
4771
  r("label", e5, [
4786
- r("span", t5, R(I.$t("activity.type.label")), 1),
4772
+ r("span", t5, U(I.$t("activity.type.label")), 1),
4787
4773
  y(N(Ce), {
4788
- modelValue: c.value,
4789
- "onUpdate:modelValue": E[4] || (E[4] = (z) => c.value = z),
4774
+ modelValue: d.value,
4775
+ "onUpdate:modelValue": E[4] || (E[4] = (z) => d.value = z),
4790
4776
  class: "ao-field__multiselect",
4791
4777
  mode: "single",
4792
4778
  searchable: !0,
@@ -4806,7 +4792,7 @@ const Z0 = {
4806
4792
  ]),
4807
4793
  r("div", n5, [
4808
4794
  r("label", i5, [
4809
- r("span", o5, R(I.$t("activity.dependingOn.label")), 1),
4795
+ r("span", o5, U(I.$t("activity.dependingOn.label")), 1),
4810
4796
  y(N(Ce), {
4811
4797
  modelValue: _.value,
4812
4798
  "onUpdate:modelValue": E[5] || (E[5] = (z) => _.value = z),
@@ -4820,7 +4806,7 @@ const Z0 = {
4820
4806
  ]),
4821
4807
  r("div", l5, [
4822
4808
  r("label", r5, [
4823
- r("span", d5, R(I.$t("activity.blocking.label")), 1),
4809
+ r("span", c5, U(I.$t("activity.blocking.label")), 1),
4824
4810
  y(N(Ce), {
4825
4811
  modelValue: g.value,
4826
4812
  "onUpdate:modelValue": E[6] || (E[6] = (z) => g.value = z),
@@ -4832,9 +4818,9 @@ const Z0 = {
4832
4818
  }, null, 8, ["modelValue", "options"])
4833
4819
  ])
4834
4820
  ]),
4835
- r("div", c5, [
4821
+ r("div", d5, [
4836
4822
  r("label", u5, [
4837
- r("span", p5, R(I.$t("activity.dependingMilestone.label")), 1),
4823
+ r("span", p5, U(I.$t("activity.dependingMilestone.label")), 1),
4838
4824
  y(N(Ce), {
4839
4825
  modelValue: O.value,
4840
4826
  "onUpdate:modelValue": E[7] || (E[7] = (z) => O.value = z),
@@ -4862,7 +4848,7 @@ const Z0 = {
4862
4848
  "assignees-options": Y.value,
4863
4849
  onAdd: L,
4864
4850
  onUpdate: b,
4865
- onDelete: j
4851
+ onDelete: P
4866
4852
  }, null, 8, ["subtasks", "activity-id", "assignees-options"])
4867
4853
  ]),
4868
4854
  W(I.$slots, "default")
@@ -4890,7 +4876,7 @@ const _5 = {
4890
4876
  todo: "todo",
4891
4877
  done: "done",
4892
4878
  archived: "archived"
4893
- }, qd = {
4879
+ }, qc = {
4894
4880
  months: "months",
4895
4881
  weeks: "weeks",
4896
4882
  days: "days"
@@ -4910,7 +4896,7 @@ const _5 = {
4910
4896
  DAYS: "days",
4911
4897
  WEEKS: "weeks",
4912
4898
  MONTHS: "months"
4913
- }, ce = {
4899
+ }, de = {
4914
4900
  TEMPLATES: "templates",
4915
4901
  PHASES: "phases",
4916
4902
  MILESTONES: "milestones",
@@ -4918,11 +4904,11 @@ const _5 = {
4918
4904
  SUBTASKS: "subtasks"
4919
4905
  };
4920
4906
  var w5 = /* @__PURE__ */ ((s) => (s.PHASES = "phases", s.MILESTONES = "milestones", s.ACTIVITIES = "activities", s))(w5 || {});
4921
- const Fd = {
4907
+ const Fc = {
4922
4908
  add: "add",
4923
4909
  remove: "remove",
4924
4910
  moved: "moved"
4925
- }, j1 = {
4911
+ }, B1 = {
4926
4912
  project: "project",
4927
4913
  activity_type: "activity_type",
4928
4914
  assignee: "assignee"
@@ -4938,7 +4924,7 @@ const Fd = {
4938
4924
  emits: ["update:rule", "close"],
4939
4925
  setup(s, { emit: e }) {
4940
4926
  const t = s, n = m1(
4941
- t.rule.itemType || ce.ACTIVITIES
4927
+ t.rule.itemType || de.ACTIVITIES
4942
4928
  ), a = v({
4943
4929
  get() {
4944
4930
  return n.value;
@@ -4950,7 +4936,7 @@ const Fd = {
4950
4936
  subItemId: void 0
4951
4937
  });
4952
4938
  }
4953
- }), o = v(() => Object.values(ce)), i = v({
4939
+ }), o = v(() => Object.values(de)), i = v({
4954
4940
  get() {
4955
4941
  return t.rule.subItemId;
4956
4942
  },
@@ -4964,21 +4950,21 @@ const Fd = {
4964
4950
  }), l = v(() => {
4965
4951
  var b;
4966
4952
  return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (b = {
4967
- [ce.ACTIVITIES]: t.templateActivities,
4968
- [ce.MILESTONES]: t.templateMilestones,
4969
- [ce.PHASES]: t.templatePhases
4970
- }[n.value]) == null ? void 0 : b.map((j) => ({
4971
- value: j.id,
4972
- label: j.name
4953
+ [de.ACTIVITIES]: t.templateActivities,
4954
+ [de.MILESTONES]: t.templateMilestones,
4955
+ [de.PHASES]: t.templatePhases
4956
+ }[n.value]) == null ? void 0 : b.map((P) => ({
4957
+ value: P.id,
4958
+ label: P.name
4973
4959
  }));
4974
- }), p = m1(t.rule.comparator), c = v({
4960
+ }), h = m1(t.rule.comparator), d = v({
4975
4961
  get() {
4976
- return p.value;
4962
+ return h.value;
4977
4963
  },
4978
4964
  set(L) {
4979
4965
  e("update:rule", { ...t.rule, comparator: L });
4980
4966
  }
4981
- }), h = v(() => Object.values(g5)), _ = m1(t.rule.trigger), f = v({
4967
+ }), p = v(() => Object.values(g5)), _ = m1(t.rule.trigger), f = v({
4982
4968
  get() {
4983
4969
  return _.value;
4984
4970
  },
@@ -5000,30 +4986,30 @@ const Fd = {
5000
4986
  e("update:rule", { ...t.rule, durationUnit: L });
5001
4987
  }
5002
4988
  }), O = v(() => Object.values(b5));
5003
- return (L, b) => (d(), q(Ke(L.tagName), { class: "ao-rule-line" }, {
4989
+ return (L, b) => (c(), q(Ke(L.tagName), { class: "ao-rule-line" }, {
5004
4990
  default: F(() => [
5005
4991
  y(N(Ce), {
5006
4992
  modelValue: a.value,
5007
- "onUpdate:modelValue": b[0] || (b[0] = (j) => a.value = j),
4993
+ "onUpdate:modelValue": b[0] || (b[0] = (P) => a.value = P),
5008
4994
  options: o.value
5009
4995
  }, null, 8, ["modelValue", "options"]),
5010
4996
  y(N(Ce), {
5011
4997
  modelValue: i.value,
5012
- "onUpdate:modelValue": b[1] || (b[1] = (j) => i.value = j),
4998
+ "onUpdate:modelValue": b[1] || (b[1] = (P) => i.value = P),
5013
4999
  options: l.value
5014
5000
  }, null, 8, ["modelValue", "options"]),
5015
5001
  y(N(Ce), {
5016
5002
  modelValue: f.value,
5017
- "onUpdate:modelValue": b[2] || (b[2] = (j) => f.value = j),
5003
+ "onUpdate:modelValue": b[2] || (b[2] = (P) => f.value = P),
5018
5004
  options: g.value
5019
5005
  }, null, 8, ["modelValue", "options"]),
5020
5006
  y(N(Ce), {
5021
- modelValue: c.value,
5022
- "onUpdate:modelValue": b[3] || (b[3] = (j) => c.value = j),
5023
- options: h.value
5007
+ modelValue: d.value,
5008
+ "onUpdate:modelValue": b[3] || (b[3] = (P) => d.value = P),
5009
+ options: p.value
5024
5010
  }, null, 8, ["modelValue", "options"]),
5025
5011
  Fe(r("input", {
5026
- "onUpdate:modelValue": b[4] || (b[4] = (j) => V.value = j),
5012
+ "onUpdate:modelValue": b[4] || (b[4] = (P) => V.value = P),
5027
5013
  type: "number",
5028
5014
  min: "0"
5029
5015
  }, null, 512), [
@@ -5036,14 +5022,14 @@ const Fd = {
5036
5022
  ]),
5037
5023
  y(N(Ce), {
5038
5024
  modelValue: w.value,
5039
- "onUpdate:modelValue": b[5] || (b[5] = (j) => w.value = j),
5025
+ "onUpdate:modelValue": b[5] || (b[5] = (P) => w.value = P),
5040
5026
  options: O.value
5041
5027
  }, null, 8, ["modelValue", "options"]),
5042
5028
  y(ue, {
5043
5029
  class: "ao-rule-line__remove",
5044
5030
  "icon-name": "CloseRounded",
5045
5031
  variant: "ghost",
5046
- onClick: b[6] || (b[6] = (j) => L.$emit("close"))
5032
+ onClick: b[6] || (b[6] = (P) => L.$emit("close"))
5047
5033
  })
5048
5034
  ]),
5049
5035
  _: 1
@@ -5066,7 +5052,7 @@ const I5 = { class: "ao-template-rules__body" }, S5 = { class: "ao-template-rule
5066
5052
  }, n = (a) => {
5067
5053
  e("removeRule", a);
5068
5054
  };
5069
- return (a, o) => (d(), q(vt, null, {
5055
+ return (a, o) => (c(), q(vt, null, {
5070
5056
  header: F(() => [
5071
5057
  y(pe, {
5072
5058
  title: a.$t("template.rules.title"),
@@ -5076,7 +5062,7 @@ const I5 = { class: "ao-template-rules__body" }, S5 = { class: "ao-template-rule
5076
5062
  default: F(() => [
5077
5063
  r("div", I5, [
5078
5064
  r("ul", S5, [
5079
- (d(!0), C(oe, null, me(a.rules, (i) => (d(), q($5, {
5065
+ (c(!0), C(oe, null, me(a.rules, (i) => (c(), q($5, {
5080
5066
  key: i.id,
5081
5067
  rule: i,
5082
5068
  "template-phases": a.templatePhases,
@@ -5112,7 +5098,7 @@ const A5 = {
5112
5098
  },
5113
5099
  emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
5114
5100
  setup(s, { emit: e }) {
5115
- const t = s, { t: n } = S1(), a = v(
5101
+ const t = s, { t: n } = M1(), a = v(
5116
5102
  () => {
5117
5103
  var u;
5118
5104
  return (u = t.templates) == null ? void 0 : u.find(($) => $.id === t.templateId);
@@ -5121,7 +5107,7 @@ const A5 = {
5121
5107
  v({
5122
5108
  get() {
5123
5109
  var S;
5124
- return [...((S = a.value) == null ? void 0 : S.phases) || []].sort((k, P) => k.order - P.order);
5110
+ return [...((S = a.value) == null ? void 0 : S.phases) || []].sort((k, B) => k.order - B.order);
5125
5111
  },
5126
5112
  set(u) {
5127
5113
  u.map(($, S) => ($.order = S, $));
@@ -5138,10 +5124,10 @@ const A5 = {
5138
5124
  }), l = v(() => {
5139
5125
  var u, $;
5140
5126
  return (($ = (u = a.value) == null ? void 0 : u.phases) == null ? void 0 : $.reduce((S, k) => {
5141
- const P = k.milestones || [];
5142
- return [...S, ...P];
5127
+ const B = k.milestones || [];
5128
+ return [...S, ...B];
5143
5129
  }, [])) || [];
5144
- }), p = v(() => {
5130
+ }), h = v(() => {
5145
5131
  var u, $;
5146
5132
  return (($ = (u = a.value) == null ? void 0 : u.phases) == null ? void 0 : $.reduce((S, k) => {
5147
5133
  const ae = (k.milestones || []).reduce(
@@ -5150,12 +5136,12 @@ const A5 = {
5150
5136
  );
5151
5137
  return [...S, ...ae];
5152
5138
  }, [])) || [];
5153
- }), c = v(() => {
5139
+ }), d = v(() => {
5154
5140
  var u, $;
5155
5141
  return ($ = (u = i.value) == null ? void 0 : u.activities) == null ? void 0 : $.find(
5156
5142
  (S) => S.id === t.activityId
5157
5143
  );
5158
- }), h = v(() => {
5144
+ }), p = v(() => {
5159
5145
  var u;
5160
5146
  return ((u = t.activityTypes) == null ? void 0 : u.map(($) => ({
5161
5147
  label: $.name,
@@ -5173,7 +5159,7 @@ const A5 = {
5173
5159
  templateId: t.templateId
5174
5160
  };
5175
5161
  e("addItem", {
5176
- type: ce.PHASES,
5162
+ type: de.PHASES,
5177
5163
  templateId: t.templateId,
5178
5164
  item: k
5179
5165
  });
@@ -5181,12 +5167,12 @@ const A5 = {
5181
5167
  e("updateItem", {
5182
5168
  templateId: t.templateId,
5183
5169
  id: t.templateId,
5184
- itemType: ce.TEMPLATES,
5170
+ itemType: de.TEMPLATES,
5185
5171
  data: { name: u }
5186
5172
  });
5187
5173
  }, V = (u) => {
5188
5174
  e("removeItem", {
5189
- type: ce.PHASES,
5175
+ type: de.PHASES,
5190
5176
  templateId: t.templateId,
5191
5177
  data: {
5192
5178
  id: u
@@ -5196,7 +5182,7 @@ const A5 = {
5196
5182
  e("updateItem", {
5197
5183
  templateId: t.templateId,
5198
5184
  id: u,
5199
- itemType: ce.PHASES,
5185
+ itemType: de.PHASES,
5200
5186
  data: { name: $ }
5201
5187
  });
5202
5188
  }, O = (u) => {
@@ -5204,30 +5190,30 @@ const A5 = {
5204
5190
  }, L = (u) => {
5205
5191
  if (!o.value)
5206
5192
  return;
5207
- const $ = o.value.milestones.length, S = o.value.milestones.at(-1), k = S ? _e.LexoRank.parse(S.rank).genNext() : _e.LexoRank.middle(), P = {
5193
+ const $ = o.value.milestones.length, S = o.value.milestones.at(-1), k = S ? _e.LexoRank.parse(S.rank).genNext() : _e.LexoRank.middle(), B = {
5208
5194
  name: n("template.defaultName.milestone", { idx: $ + 1 }),
5209
5195
  rank: k.format(),
5210
5196
  phaseId: u.phaseId
5211
5197
  };
5212
5198
  e("addItem", {
5213
- type: ce.MILESTONES,
5199
+ type: de.MILESTONES,
5214
5200
  templateId: t.templateId,
5215
5201
  phaseId: u.phaseId,
5216
- item: P
5202
+ item: B
5217
5203
  });
5218
5204
  }, b = (u) => {
5219
5205
  e("removeItem", {
5220
- type: ce.MILESTONES,
5206
+ type: de.MILESTONES,
5221
5207
  templateId: t.templateId,
5222
5208
  phaseId: u.phaseId,
5223
5209
  data: {
5224
5210
  id: u.id
5225
5211
  }
5226
5212
  });
5227
- }, j = (u) => {
5213
+ }, P = (u) => {
5228
5214
  const { id: $, ...S } = u;
5229
5215
  e("updateItem", {
5230
- itemType: ce.MILESTONES,
5216
+ itemType: de.MILESTONES,
5231
5217
  id: $,
5232
5218
  templateId: t.templateId,
5233
5219
  data: S
@@ -5236,20 +5222,20 @@ const A5 = {
5236
5222
  const { milestoneId: $ } = u;
5237
5223
  if (!i.value)
5238
5224
  return;
5239
- const S = i.value.activities.length, k = i.value.activities.at(-1), P = k ? _e.LexoRank.parse(k.rank).genNext() : _e.LexoRank.middle(), ae = {
5225
+ const S = i.value.activities.length, k = i.value.activities.at(-1), B = k ? _e.LexoRank.parse(k.rank).genNext() : _e.LexoRank.middle(), ae = {
5240
5226
  name: n("template.defaultName.activity", { idx: S + 1 }),
5241
- rank: P.format(),
5227
+ rank: B.format(),
5242
5228
  milestoneId: $
5243
5229
  };
5244
5230
  e("addItem", {
5245
- type: ce.ACTIVITIES,
5231
+ type: de.ACTIVITIES,
5246
5232
  milestoneId: $,
5247
5233
  item: ae
5248
5234
  });
5249
5235
  }, te = (u) => {
5250
5236
  const { phaseId: $, milestoneId: S } = u;
5251
5237
  e("removeItem", {
5252
- type: ce.ACTIVITIES,
5238
+ type: de.ACTIVITIES,
5253
5239
  templateId: t.templateId,
5254
5240
  phaseId: $,
5255
5241
  milestoneId: S,
@@ -5260,7 +5246,7 @@ const A5 = {
5260
5246
  }, D = (u) => {
5261
5247
  const { id: $, ...S } = u;
5262
5248
  e("updateItem", {
5263
- itemType: ce.ACTIVITIES,
5249
+ itemType: de.ACTIVITIES,
5264
5250
  id: $,
5265
5251
  templateId: t.templateId,
5266
5252
  data: S
@@ -5274,9 +5260,9 @@ const A5 = {
5274
5260
  }, he = (u) => {
5275
5261
  var $;
5276
5262
  if (u.moved) {
5277
- const S = R1(u, (($ = a.value) == null ? void 0 : $.phases) ?? []);
5263
+ const S = I1(u, (($ = a.value) == null ? void 0 : $.phases) ?? []);
5278
5264
  e("updateItem", {
5279
- itemType: ce.PHASES,
5265
+ itemType: de.PHASES,
5280
5266
  id: u.moved.element.id,
5281
5267
  templateId: t.templateId,
5282
5268
  data: {
@@ -5284,9 +5270,9 @@ const A5 = {
5284
5270
  }
5285
5271
  });
5286
5272
  }
5287
- }, B = (u) => {
5288
- !o.value || !i.value || !c.value || e("addItem", {
5289
- type: ce.SUBTASKS,
5273
+ }, j = (u) => {
5274
+ !o.value || !i.value || !d.value || e("addItem", {
5275
+ type: de.SUBTASKS,
5290
5276
  activityId: u.activityId,
5291
5277
  milestoneId: i.value.id,
5292
5278
  phaseId: o.value.id,
@@ -5294,29 +5280,29 @@ const A5 = {
5294
5280
  item: u
5295
5281
  });
5296
5282
  }, X = (u) => {
5297
- var k, P, ae, re;
5298
- if (!o.value || !i.value || !c.value)
5283
+ var k, B, ae, re;
5284
+ if (!o.value || !i.value || !d.value)
5299
5285
  return;
5300
- const $ = [...((k = c.value) == null ? void 0 : k.subtasks) || []], S = $.findIndex((ee) => ee.id === u.id);
5286
+ const $ = [...((k = d.value) == null ? void 0 : k.subtasks) || []], S = $.findIndex((ee) => ee.id === u.id);
5301
5287
  $[S] = {
5302
5288
  ...$[S],
5303
5289
  ...u
5304
5290
  }, D({
5305
- id: (P = c.value) == null ? void 0 : P.id,
5291
+ id: (B = d.value) == null ? void 0 : B.id,
5306
5292
  phaseId: (ae = o.value) == null ? void 0 : ae.id,
5307
5293
  milestoneId: (re = i.value) == null ? void 0 : re.id,
5308
5294
  subtasks: $
5309
5295
  });
5310
5296
  }, ge = (u) => {
5311
- var S, k, P, ae;
5312
- if (!o.value || !i.value || !c.value)
5297
+ var S, k, B, ae;
5298
+ if (!o.value || !i.value || !d.value)
5313
5299
  return;
5314
- const $ = [...((S = c.value) == null ? void 0 : S.subtasks) || []].filter(
5300
+ const $ = [...((S = d.value) == null ? void 0 : S.subtasks) || []].filter(
5315
5301
  (re) => re.id !== u
5316
5302
  );
5317
5303
  D({
5318
- id: (k = c.value) == null ? void 0 : k.id,
5319
- phaseId: (P = o.value) == null ? void 0 : P.id,
5304
+ id: (k = d.value) == null ? void 0 : k.id,
5305
+ phaseId: (B = o.value) == null ? void 0 : B.id,
5320
5306
  milestoneId: (ae = i.value) == null ? void 0 : ae.id,
5321
5307
  subtasks: $
5322
5308
  });
@@ -5326,19 +5312,19 @@ const A5 = {
5326
5312
  e("removeFile", u);
5327
5313
  };
5328
5314
  return (u, $) => {
5329
- var S, k, P, ae, re, ee;
5330
- return a.value ? (d(), C("div", A5, [
5331
- y(I1, {
5315
+ var S, k, B, ae, re, ee;
5316
+ return a.value ? (c(), C("div", A5, [
5317
+ y(S1, {
5332
5318
  "can-go-back": !0,
5333
- onGoBack: $[1] || ($[1] = (U) => u.$router.push({ name: N(t1).TEMPLATES_LIST }))
5319
+ onGoBack: $[1] || ($[1] = (R) => u.$router.push({ name: N(t1).TEMPLATES_LIST }))
5334
5320
  }, {
5335
5321
  primary: F(() => [
5336
5322
  y(pe, {
5337
5323
  title: _.value,
5338
5324
  level: 2,
5339
5325
  "is-editable": !0,
5340
- "onUpdate:title": $[0] || ($[0] = (U) => {
5341
- g(U);
5326
+ "onUpdate:title": $[0] || ($[0] = (R) => {
5327
+ g(R);
5342
5328
  })
5343
5329
  }, null, 8, ["title"])
5344
5330
  ]),
@@ -5370,22 +5356,22 @@ const A5 = {
5370
5356
  class: "ao-list__title"
5371
5357
  }, null, 8, ["title"])
5372
5358
  ]),
5373
- item: F(({ element: U }) => {
5359
+ item: F(({ element: R }) => {
5374
5360
  var M;
5375
5361
  return [
5376
5362
  y(k3, {
5377
- id: U.id,
5378
- name: U.name,
5379
- milestones: U.milestones,
5380
- "is-active": ((M = o.value) == null ? void 0 : M.id) === U.id,
5363
+ id: R.id,
5364
+ name: R.name,
5365
+ milestones: R.milestones,
5366
+ "is-active": ((M = o.value) == null ? void 0 : M.id) === R.id,
5381
5367
  "is-draggable": !0,
5382
5368
  onClick: (Z) => u.$router.push({
5383
- params: { templateId: u.templateId, phaseId: U.id }
5369
+ params: { templateId: u.templateId, phaseId: R.id }
5384
5370
  }),
5385
5371
  "onUpdate:title": (Z) => {
5386
- w(U.id, Z);
5372
+ w(R.id, Z);
5387
5373
  },
5388
- onRemove: () => V(U.id)
5374
+ onRemove: () => V(R.id)
5389
5375
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
5390
5376
  ];
5391
5377
  }),
@@ -5402,65 +5388,64 @@ const A5 = {
5402
5388
  }, 8, ["model-value"])
5403
5389
  ]),
5404
5390
  r("li", E5, [
5405
- o.value ? (d(), q(V3, {
5391
+ o.value ? (c(), q(V3, {
5406
5392
  key: 0,
5407
5393
  "template-id": u.templateId,
5408
5394
  phase: o.value,
5409
5395
  "milestone-id": (S = i.value) == null ? void 0 : S.id,
5410
5396
  onAddMilestone: L,
5411
- onUpdateMilestone: j,
5397
+ onUpdateMilestone: P,
5412
5398
  onUpdatePhase: O,
5413
5399
  onRemoveMilestone: b
5414
5400
  }, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
5415
5401
  ]),
5416
5402
  r("li", H5, [
5417
- o.value && i.value ? (d(), q(O3, {
5403
+ o.value && i.value ? (c(), q(O3, {
5418
5404
  key: 0,
5419
5405
  "template-id": u.templateId,
5420
5406
  "phase-id": (k = o.value) == null ? void 0 : k.id,
5421
5407
  milestone: i.value,
5422
- "activity-id": (P = c.value) == null ? void 0 : P.id,
5408
+ "activity-id": (B = d.value) == null ? void 0 : B.id,
5423
5409
  onAddActivity: Y,
5424
5410
  onUpdateActivity: D,
5425
- onUpdateMilestone: j,
5426
5411
  onRemoveActivity: te
5427
5412
  }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : A("", !0)
5428
5413
  ])
5429
5414
  ])
5430
5415
  ]),
5431
- (d(), q(C1, { to: "body" }, [
5432
- c.value ? (d(), q(F1, {
5416
+ (c(), q(C1, { to: "body" }, [
5417
+ d.value ? (c(), q(F1, {
5433
5418
  key: 0,
5434
- activity: c.value,
5435
- "activity-types": h.value,
5419
+ activity: d.value,
5420
+ "activity-types": p.value,
5436
5421
  breadcrumbs: `${a.value.name} / ${(ae = o.value) == null ? void 0 : ae.name} / ${(re = i.value) == null ? void 0 : re.name}`,
5437
5422
  "milestone-id": (ee = i.value) == null ? void 0 : ee.id,
5438
- "template-activities": p.value,
5423
+ "template-activities": h.value,
5439
5424
  "template-milestones": l.value,
5440
5425
  "is-template": !0,
5441
- "onUpdate:activity": $[2] || ($[2] = (U) => {
5442
- u.phaseId && u.milestoneId && c.value && D({
5443
- ...U,
5426
+ "onUpdate:activity": $[2] || ($[2] = (R) => {
5427
+ u.phaseId && u.milestoneId && d.value && D({
5428
+ ...R,
5444
5429
  phaseId: u.phaseId,
5445
5430
  milestoneId: u.milestoneId
5446
5431
  });
5447
5432
  }),
5448
5433
  onClose: u.$router.back,
5449
- onAddSubtask: B,
5434
+ onAddSubtask: j,
5450
5435
  onUpdateSubtask: X,
5451
5436
  onDeleteSubtask: ge,
5452
5437
  onAddFiles: ye,
5453
5438
  onRemoveFile: Le
5454
5439
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : A("", !0)
5455
5440
  ])),
5456
- (d(), q(C1, { to: "body" }, [
5457
- se.value ? (d(), q(M5, {
5441
+ (c(), q(C1, { to: "body" }, [
5442
+ se.value ? (c(), q(M5, {
5458
5443
  key: 0,
5459
5444
  "template-id": a.value.id,
5460
5445
  rules: a.value.rules || [],
5461
5446
  "template-phases": a.value.phases,
5462
5447
  "template-milestones": l.value,
5463
- "template-activities": p.value,
5448
+ "template-activities": h.value,
5464
5449
  onClose: I,
5465
5450
  onAddRule: E,
5466
5451
  onRemoveRule: z
@@ -5483,17 +5468,17 @@ const D5 = {
5483
5468
  tagName: { default: "div" }
5484
5469
  },
5485
5470
  setup(s) {
5486
- return (e, t) => (d(), q(Ke(e.tagName), {
5471
+ return (e, t) => (c(), q(Ke(e.tagName), {
5487
5472
  class: K(["ao-card", { "ao-card--clickable": e.isClickable }])
5488
5473
  }, {
5489
5474
  default: F(() => [
5490
- e.$slots.header ? (d(), C("header", D5, [
5475
+ e.$slots.header ? (c(), C("header", D5, [
5491
5476
  W(e.$slots, "header")
5492
5477
  ])) : A("", !0),
5493
5478
  r("div", j5, [
5494
5479
  W(e.$slots, "default")
5495
5480
  ]),
5496
- e.$slots.footer ? (d(), C("footer", B5, [
5481
+ e.$slots.footer ? (c(), C("footer", B5, [
5497
5482
  W(e.$slots, "footer")
5498
5483
  ])) : A("", !0)
5499
5484
  ]),
@@ -5509,11 +5494,11 @@ const G1 = /* @__PURE__ */ x({
5509
5494
  },
5510
5495
  setup(s) {
5511
5496
  const e = s, t = v(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
5512
- return (n, a) => (d(), C("div", {
5497
+ return (n, a) => (c(), C("div", {
5513
5498
  class: K(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
5514
5499
  role: "meter"
5515
5500
  }, [
5516
- (d(!0), C(oe, null, me(t.value, (o) => (d(), C("div", {
5501
+ (c(!0), C(oe, null, me(t.value, (o) => (c(), C("div", {
5517
5502
  key: o,
5518
5503
  class: K(["ao-progress__progress"]),
5519
5504
  style: xt({ width: `${o * 100}%` })
@@ -5521,7 +5506,7 @@ const G1 = /* @__PURE__ */ x({
5521
5506
  ], 2));
5522
5507
  }
5523
5508
  });
5524
- const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-project-phase__footer" }, N5 = { class: "ao-card-project-phase__footer-row" }, U5 = { class: "ao-card-project-phase__subitem" }, R5 = { class: "ao-card-project-phase__subitem" }, q5 = {
5509
+ const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-project-phase__footer" }, N5 = { class: "ao-card-project-phase__footer-row" }, R5 = { class: "ao-card-project-phase__subitem" }, U5 = { class: "ao-card-project-phase__subitem" }, q5 = {
5525
5510
  key: 1,
5526
5511
  class: "ao-card-project-phase__secondary"
5527
5512
  }, F5 = /* @__PURE__ */ x({
@@ -5540,10 +5525,10 @@ const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-pr
5540
5525
  var o;
5541
5526
  return (o = e.milestones) == null ? void 0 : o.filter((i) => i.status === _5.done).length;
5542
5527
  }), a = v(() => (n.value || 0) / (t.value || 1));
5543
- return (o, i) => (d(), q(z1, { class: "ao-card-project-phase" }, {
5528
+ return (o, i) => (c(), q(z1, { class: "ao-card-project-phase" }, {
5544
5529
  header: F(() => [
5545
5530
  r("div", P5, [
5546
- o.projectName ? (d(), q(g1, {
5531
+ o.projectName ? (c(), q(g1, {
5547
5532
  key: 0,
5548
5533
  label: o.projectName,
5549
5534
  class: "ao-card-project-phase__project",
@@ -5561,20 +5546,20 @@ const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-pr
5561
5546
  footer: F(() => [
5562
5547
  r("div", Z5, [
5563
5548
  r("div", N5, [
5564
- t.value ? (d(), C(oe, { key: 0 }, [
5565
- r("div", U5, [
5549
+ t.value ? (c(), C(oe, { key: 0 }, [
5550
+ r("div", R5, [
5566
5551
  y(le, {
5567
5552
  name: "MountainFlagOutlineRounded",
5568
5553
  size: "sm"
5569
5554
  }),
5570
- r("span", R5, R(n.value) + " / " + R(t.value), 1)
5555
+ r("span", U5, U(n.value) + " / " + U(t.value), 1)
5571
5556
  ]),
5572
5557
  y(G1, {
5573
5558
  percentages: a.value,
5574
5559
  class: "ao-card-project-phase__progress"
5575
5560
  }, null, 8, ["percentages"])
5576
5561
  ], 64)) : A("", !0),
5577
- o.$slots.secondary ? (d(), C("div", q5, [
5562
+ o.$slots.secondary ? (c(), C("div", q5, [
5578
5563
  W(o.$slots, "secondary")
5579
5564
  ])) : A("", !0)
5580
5565
  ])
@@ -5602,11 +5587,11 @@ const z5 = { class: "ao-card-project-phase__footer" }, G5 = { class: "ao-card-pr
5602
5587
  }), n = v(() => {
5603
5588
  var o;
5604
5589
  return (o = e.activities) == null ? void 0 : o.filter((i) => {
5605
- var l, p;
5606
- return ((l = i.status) == null ? void 0 : l.id) === ((p = e.doneStatus) == null ? void 0 : p.id);
5590
+ var l, h;
5591
+ return ((l = i.status) == null ? void 0 : l.id) === ((h = e.doneStatus) == null ? void 0 : h.id);
5607
5592
  }).length;
5608
5593
  }), a = v(() => (n.value || 0) / (t.value || 1));
5609
- return (o, i) => (d(), q(z1, {
5594
+ return (o, i) => (c(), q(z1, {
5610
5595
  class: "ao-card-project-milestone",
5611
5596
  "is-clickable": !0,
5612
5597
  "tag-name": "li"
@@ -5620,20 +5605,20 @@ const z5 = { class: "ao-card-project-phase__footer" }, G5 = { class: "ao-card-pr
5620
5605
  footer: F(() => [
5621
5606
  r("div", z5, [
5622
5607
  r("div", G5, [
5623
- t.value ? (d(), C(oe, { key: 0 }, [
5608
+ t.value ? (c(), C(oe, { key: 0 }, [
5624
5609
  r("div", K5, [
5625
5610
  y(le, {
5626
5611
  name: "SelectCheckBox",
5627
5612
  size: "sm"
5628
5613
  }),
5629
- r("span", x5, R(n.value) + " / " + R(t.value), 1)
5614
+ r("span", x5, U(n.value) + " / " + U(t.value), 1)
5630
5615
  ]),
5631
5616
  y(G1, {
5632
5617
  percentages: a.value,
5633
5618
  class: "ao-card-project-phase__progress"
5634
5619
  }, null, 8, ["percentages"])
5635
5620
  ], 64)) : A("", !0),
5636
- o.$slots.secondary ? (d(), C("div", W5, [
5621
+ o.$slots.secondary ? (c(), C("div", W5, [
5637
5622
  W(o.$slots, "secondary")
5638
5623
  ])) : A("", !0)
5639
5624
  ])
@@ -5654,7 +5639,7 @@ const X5 = { class: "ao-project-phase" }, Q5 = { class: "ao-project-phase__col-p
5654
5639
  const t = s, n = v(() => t.phase.milestones), a = (o) => {
5655
5640
  e("addMilestone", o);
5656
5641
  };
5657
- return (o, i) => (d(), C("li", X5, [
5642
+ return (o, i) => (c(), C("li", X5, [
5658
5643
  r("div", Q5, [
5659
5644
  y(F5, {
5660
5645
  id: o.phase.id,
@@ -5666,13 +5651,13 @@ const X5 = { class: "ao-project-phase" }, Q5 = { class: "ao-project-phase__col-p
5666
5651
  r("div", J5, [
5667
5652
  r("div", e7, [
5668
5653
  r("ul", t7, [
5669
- (d(!0), C(oe, null, me(n.value, (l) => (d(), q(Y5, {
5654
+ (c(!0), C(oe, null, me(n.value, (l) => (c(), q(Y5, {
5670
5655
  id: l.id,
5671
5656
  key: l.id,
5672
5657
  name: l.name,
5673
5658
  activities: l.activities,
5674
5659
  class: "ao-project-phase__milestone",
5675
- onClick: (p) => o.$router.push({
5660
+ onClick: (h) => o.$router.push({
5676
5661
  name: N(Ge).milestone,
5677
5662
  params: { phaseId: o.phase.id, milestoneId: l.id }
5678
5663
  })
@@ -5691,7 +5676,7 @@ const X5 = { class: "ao-project-phase" }, Q5 = { class: "ao-project-phase__col-p
5691
5676
  ]));
5692
5677
  }
5693
5678
  });
5694
- const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { class: "ao-project__col-header" }, l7 = { class: "ao-project__col ao-project__col--phases" }, r7 = { class: "ao-project__col-title" }, d7 = { class: "ao-project__col ao-project__col--milestones" }, c7 = { class: "ao-project__col-title" }, u7 = { class: "ao-project__phases" }, p7 = /* @__PURE__ */ x({
5679
+ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { class: "ao-project__col-header" }, l7 = { class: "ao-project__col ao-project__col--phases" }, r7 = { class: "ao-project__col-title" }, c7 = { class: "ao-project__col ao-project__col--milestones" }, d7 = { class: "ao-project__col-title" }, u7 = { class: "ao-project__phases" }, p7 = /* @__PURE__ */ x({
5695
5680
  __name: "AoProjectOverviewProject",
5696
5681
  props: {
5697
5682
  project: {},
@@ -5708,24 +5693,24 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5708
5693
  e("addActivity", w);
5709
5694
  }, l = (w) => {
5710
5695
  e("update:activity", w);
5711
- }, p = (w) => {
5696
+ }, h = (w) => {
5712
5697
  var b;
5713
- const O = t.phases.find((j) => {
5698
+ const O = t.phases.find((P) => {
5714
5699
  var Y;
5715
- return (Y = j.milestones) == null ? void 0 : Y.find((te) => {
5700
+ return (Y = P.milestones) == null ? void 0 : Y.find((te) => {
5716
5701
  var D;
5717
5702
  return (D = te.activities) == null ? void 0 : D.find((se) => se.id === w.activityId);
5718
5703
  });
5719
- }), L = (b = O == null ? void 0 : O.milestones) == null ? void 0 : b.find((j) => {
5704
+ }), L = (b = O == null ? void 0 : O.milestones) == null ? void 0 : b.find((P) => {
5720
5705
  var Y;
5721
- return (Y = j.activities) == null ? void 0 : Y.find((te) => te.id === w.activityId);
5706
+ return (Y = P.activities) == null ? void 0 : Y.find((te) => te.id === w.activityId);
5722
5707
  });
5723
5708
  e("addSubtask", {
5724
5709
  milestoneId: L == null ? void 0 : L.id,
5725
5710
  phaseId: O == null ? void 0 : O.id,
5726
5711
  ...w
5727
5712
  });
5728
- }, c = v(() => n.value.reduce((w, O) => [...w, ...O.activities || []], [])), h = (w) => {
5713
+ }, d = v(() => n.value.reduce((w, O) => [...w, ...O.activities || []], [])), p = (w) => {
5729
5714
  e("addFiles", w);
5730
5715
  }, _ = (w) => {
5731
5716
  e("removeFile", w);
@@ -5738,9 +5723,9 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5738
5723
  };
5739
5724
  return (w, O) => {
5740
5725
  const L = Wt("RouterView");
5741
- return d(), C(oe, null, [
5726
+ return c(), C(oe, null, [
5742
5727
  r("div", n7, [
5743
- y(I1, null, {
5728
+ y(S1, null, {
5744
5729
  primary: F(() => [
5745
5730
  y(ue, {
5746
5731
  label: w.$t("project.phases.add"),
@@ -5765,8 +5750,8 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5765
5750
  }, null, 8, ["title"])
5766
5751
  ])
5767
5752
  ]),
5768
- r("div", d7, [
5769
- r("div", c7, [
5753
+ r("div", c7, [
5754
+ r("div", d7, [
5770
5755
  y(le, {
5771
5756
  class: "ao-project__col-title-icon",
5772
5757
  name: "MountainFlagOutlineRounded",
@@ -5780,7 +5765,7 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5780
5765
  ])
5781
5766
  ]),
5782
5767
  r("ul", u7, [
5783
- (d(!0), C(oe, null, me(w.phases, (b) => (d(), q(a7, {
5768
+ (c(!0), C(oe, null, me(w.phases, (b) => (c(), q(a7, {
5784
5769
  key: b.id,
5785
5770
  phase: b,
5786
5771
  "project-name": w.project.projectName,
@@ -5797,13 +5782,13 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5797
5782
  onClose: O[0] || (O[0] = (b) => w.$router.push({ name: N(Ge).project })),
5798
5783
  onAddActivity: i
5799
5784
  }, null, 8, ["milestones", "project-name", "users"]),
5800
- (d(), q(C1, { to: "body" }, [
5785
+ (c(), q(C1, { to: "body" }, [
5801
5786
  y(L, {
5802
5787
  name: "modal",
5803
- activities: c.value,
5788
+ activities: d.value,
5804
5789
  "onUpdate:activity": l,
5805
- onAddSubtask: p,
5806
- onAddFiles: h,
5790
+ onAddSubtask: h,
5791
+ onAddFiles: p,
5807
5792
  onRemoveFile: _,
5808
5793
  onAddComment: f,
5809
5794
  onUpdateComment: g,
@@ -5869,45 +5854,45 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5869
5854
  var w;
5870
5855
  return (w = t.users) == null ? void 0 : w.find((O) => O.id === V);
5871
5856
  });
5872
- }), p = (g) => {
5857
+ }), h = (g) => {
5873
5858
  const { firstName: V, lastName: w } = g || {};
5874
5859
  return V && w ? `${V} ${w}` : "";
5875
- }, c = (g) => {
5860
+ }, d = (g) => {
5876
5861
  e("removeAssignee", g);
5877
- }, h = v(() => {
5862
+ }, p = v(() => {
5878
5863
  var g;
5879
5864
  return (g = t.subtasks) == null ? void 0 : g.length;
5880
5865
  }), _ = v(() => {
5881
5866
  var g;
5882
5867
  return (g = t.subtasks) == null ? void 0 : g.filter((V) => V.isDone).length;
5883
- }), f = v(() => (_.value || 0) / (h.value || 1));
5884
- return (g, V) => (d(), q(z1, {
5868
+ }), f = v(() => (_.value || 0) / (p.value || 1));
5869
+ return (g, V) => (c(), q(z1, {
5885
5870
  class: "ao-card-feed",
5886
5871
  "is-clickable": !0
5887
5872
  }, {
5888
5873
  header: F(() => [
5889
5874
  r("div", h7, [
5890
- g.projectName ? (d(), q(g1, {
5875
+ g.projectName ? (c(), q(g1, {
5891
5876
  key: 0,
5892
5877
  label: g.projectName,
5893
5878
  class: "ao-card-feed__project",
5894
5879
  variant: "solid",
5895
5880
  color: "primary"
5896
5881
  }, null, 8, ["label"])) : A("", !0),
5897
- g.isImportant ? (d(), q(le, {
5882
+ g.isImportant ? (c(), q(le, {
5898
5883
  key: 1,
5899
5884
  name: "FlagRounded",
5900
5885
  class: "ao-card-feed__important ao-card-feed__header-secondary",
5901
5886
  size: "sm"
5902
5887
  })) : A("", !0),
5903
- g.$slots.secondary ? (d(), C("div", m7, [
5888
+ g.$slots.secondary ? (c(), C("div", m7, [
5904
5889
  W(g.$slots, "secondary")
5905
5890
  ])) : A("", !0)
5906
5891
  ])
5907
5892
  ]),
5908
5893
  default: F(() => [
5909
5894
  r("div", C7, [
5910
- i.value ? (d(), C("span", v7, R(i.value), 1)) : A("", !0),
5895
+ i.value ? (c(), C("span", v7, U(i.value), 1)) : A("", !0),
5911
5896
  y(pe, {
5912
5897
  title: g.name,
5913
5898
  level: 5,
@@ -5916,50 +5901,50 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5916
5901
  onToggleIsEditing: a,
5917
5902
  "onUpdate:title": o
5918
5903
  }, null, 8, ["title", "is-editing"]),
5919
- g.endDate ? (d(), C("span", _7, R(g.endDate), 1)) : A("", !0)
5904
+ g.endDate ? (c(), C("span", _7, U(g.endDate), 1)) : A("", !0)
5920
5905
  ])
5921
5906
  ]),
5922
5907
  footer: F(() => [
5923
5908
  r("div", f7, [
5924
5909
  r("div", g7, [
5925
5910
  r("ul", y7, [
5926
- (d(!0), C(oe, null, me(l.value, (w) => (d(), C(oe, {
5911
+ (c(!0), C(oe, null, me(l.value, (w) => (c(), C(oe, {
5927
5912
  key: w.id
5928
5913
  }, [
5929
- w ? (d(), C("li", b7, [
5914
+ w ? (c(), C("li", b7, [
5930
5915
  y(We, {
5931
- "user-name": p(w),
5916
+ "user-name": h(w),
5932
5917
  "is-closable": !0,
5933
- onClose: () => c(w.id)
5918
+ onClose: () => d(w.id)
5934
5919
  }, null, 8, ["user-name", "onClose"])
5935
5920
  ])) : A("", !0)
5936
5921
  ], 64))), 128))
5937
5922
  ]),
5938
- g.comments || g.attachments ? (d(), C("ul", w7, [
5939
- g.comments ? (d(), C("li", $7, [
5923
+ g.comments || g.attachments ? (c(), C("ul", w7, [
5924
+ g.comments ? (c(), C("li", $7, [
5940
5925
  y(le, {
5941
5926
  name: "ChatOutline",
5942
5927
  size: "sm"
5943
5928
  }),
5944
- r("span", I7, R(g.comments), 1)
5929
+ r("span", I7, U(g.comments), 1)
5945
5930
  ])) : A("", !0),
5946
- g.attachments ? (d(), C("li", S7, [
5931
+ g.attachments ? (c(), C("li", S7, [
5947
5932
  y(le, {
5948
5933
  name: "AttachFileRounded",
5949
5934
  size: "sm"
5950
5935
  }),
5951
- r("span", M7, R(g.attachments), 1)
5936
+ r("span", M7, U(g.attachments), 1)
5952
5937
  ])) : A("", !0)
5953
5938
  ])) : A("", !0)
5954
5939
  ]),
5955
5940
  r("div", A7, [
5956
- g.subtasks ? (d(), C("div", k7, [
5941
+ g.subtasks ? (c(), C("div", k7, [
5957
5942
  r("div", T7, [
5958
5943
  y(le, {
5959
5944
  name: "SelectCheckBox",
5960
5945
  size: "sm"
5961
5946
  }),
5962
- r("span", L7, R(_.value) + " / " + R(h.value), 1)
5947
+ r("span", L7, U(_.value) + " / " + U(p.value), 1)
5963
5948
  ]),
5964
5949
  y(G1, {
5965
5950
  percentages: f.value,
@@ -5987,7 +5972,7 @@ const V7 = { class: "ao-project-milestone" }, E7 = { class: "ao-project-mileston
5987
5972
  setup(s, { emit: e }) {
5988
5973
  const t = s, n = v(() => {
5989
5974
  var l;
5990
- return (l = t.milestones) == null ? void 0 : l.find((p) => p.id === t.milestoneId);
5975
+ return (l = t.milestones) == null ? void 0 : l.find((h) => h.id === t.milestoneId);
5991
5976
  }), a = v(() => {
5992
5977
  var l;
5993
5978
  return (l = n.value) == null ? void 0 : l.activities;
@@ -5999,14 +5984,14 @@ const V7 = { class: "ao-project-milestone" }, E7 = { class: "ao-project-mileston
5999
5984
  phaseId: t.phaseId
6000
5985
  });
6001
5986
  };
6002
- return (l, p) => {
6003
- var c;
6004
- return d(), C("div", V7, [
5987
+ return (l, h) => {
5988
+ var d;
5989
+ return c(), C("div", V7, [
6005
5990
  r("header", E7, [
6006
5991
  r("div", H7, [
6007
- r("span", null, R(l.$t("project.milestone.title")), 1),
5992
+ r("span", null, U(l.$t("project.milestone.title")), 1),
6008
5993
  y(pe, {
6009
- title: ((c = n.value) == null ? void 0 : c.name) || l.milestoneId,
5994
+ title: ((d = n.value) == null ? void 0 : d.name) || l.milestoneId,
6010
5995
  level: 5
6011
5996
  }, null, 8, ["title"])
6012
5997
  ]),
@@ -6018,24 +6003,24 @@ const V7 = { class: "ao-project-milestone" }, E7 = { class: "ao-project-mileston
6018
6003
  ]),
6019
6004
  r("div", O7, [
6020
6005
  r("ul", D7, [
6021
- (d(!0), C(oe, null, me(a.value, (h) => {
6006
+ (c(!0), C(oe, null, me(a.value, (p) => {
6022
6007
  var _, f, g;
6023
- return d(), q(_t, {
6024
- key: h.id,
6025
- name: h.name || h.id,
6008
+ return c(), q(_t, {
6009
+ key: p.id,
6010
+ name: p.name || p.id,
6026
6011
  "project-name": l.projectName,
6027
6012
  "phase-name": l.phaseName,
6028
6013
  "milestone-name": (_ = n.value) == null ? void 0 : _.name,
6029
- "end-date": h.endDate,
6030
- "is-important": h.isImportant,
6014
+ "end-date": p.endDate,
6015
+ "is-important": p.isImportant,
6031
6016
  users: l.users,
6032
- assignees: h.assignees,
6033
- comments: (f = h.comments) == null ? void 0 : f.length,
6034
- attachments: (g = h.attachments) == null ? void 0 : g.length,
6035
- subtasks: h.subtasks,
6017
+ assignees: p.assignees,
6018
+ comments: (f = p.comments) == null ? void 0 : f.length,
6019
+ attachments: (g = p.attachments) == null ? void 0 : g.length,
6020
+ subtasks: p.subtasks,
6036
6021
  onClick: (V) => l.$router.push({
6037
6022
  name: N(Ge).activity,
6038
- params: { phaseId: l.phaseId, milestoneId: l.milestoneId, activityId: h.id }
6023
+ params: { phaseId: l.phaseId, milestoneId: l.milestoneId, activityId: p.id }
6039
6024
  })
6040
6025
  }, null, 8, ["name", "project-name", "phase-name", "milestone-name", "end-date", "is-important", "users", "assignees", "comments", "attachments", "subtasks", "onClick"]);
6041
6026
  }), 128))
@@ -6062,7 +6047,7 @@ function B7() {
6062
6047
  userId: lt
6063
6048
  };
6064
6049
  }
6065
- const P7 = { class: "ao-comment" }, Z7 = { class: "ao-comment__body" }, N7 = ["contenteditable"], U7 = { class: "ao-comment__created-at" }, R7 = {
6050
+ const P7 = { class: "ao-comment" }, Z7 = { class: "ao-comment__body" }, N7 = ["contenteditable"], R7 = { class: "ao-comment__created-at" }, U7 = {
6066
6051
  key: 1,
6067
6052
  class: "ao-comment__footer"
6068
6053
  }, q7 = /* @__PURE__ */ x({
@@ -6079,13 +6064,13 @@ const P7 = { class: "ao-comment" }, Z7 = { class: "ao-comment__body" }, N7 = ["c
6079
6064
  const t = s, n = v(() => {
6080
6065
  const f = t.user;
6081
6066
  return f ? `${f == null ? void 0 : f.firstName} ${f == null ? void 0 : f.lastName}` : null;
6082
- }), a = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: p } = dt(a), c = p(), h = l((f) => {
6067
+ }), a = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: h } = ct(a), d = h(), p = l((f) => {
6083
6068
  e("edit", f);
6084
6069
  }), _ = () => {
6085
6070
  e("remove");
6086
6071
  };
6087
- return (f, g) => (d(), C("li", P7, [
6088
- n.value ? (d(), q(We, {
6072
+ return (f, g) => (c(), C("li", P7, [
6073
+ n.value ? (c(), q(We, {
6089
6074
  key: 0,
6090
6075
  "user-name": n.value,
6091
6076
  class: "ao-comment__avatar"
@@ -6096,26 +6081,26 @@ const P7 = { class: "ao-comment" }, Z7 = { class: "ao-comment__body" }, N7 = ["c
6096
6081
  ref: a,
6097
6082
  class: "ao-comment__content",
6098
6083
  contenteditable: N(o)
6099
- }, R(f.content), 9, N7),
6100
- r("span", U7, R(f.editedAt || f.createdAt), 1)
6084
+ }, U(f.content), 9, N7),
6085
+ r("span", R7, U(f.editedAt || f.createdAt), 1)
6101
6086
  ]),
6102
- f.isEditable ? (d(), C("div", R7, [
6103
- N(o) ? (d(), C(oe, { key: 0 }, [
6087
+ f.isEditable ? (c(), C("div", U7, [
6088
+ N(o) ? (c(), C(oe, { key: 0 }, [
6104
6089
  y(ue, {
6105
6090
  "icon-name": "CloseRounded",
6106
6091
  size: "sm",
6107
6092
  variant: "ghost",
6108
6093
  color: "neutral",
6109
- onClick: N(c)
6094
+ onClick: N(d)
6110
6095
  }, null, 8, ["onClick"]),
6111
6096
  y(ue, {
6112
6097
  "icon-name": "CheckSmallRounded",
6113
6098
  size: "sm",
6114
6099
  variant: "solid",
6115
6100
  color: "neutral",
6116
- onClick: N(h)
6101
+ onClick: N(p)
6117
6102
  }, null, 8, ["onClick"])
6118
- ], 64)) : (d(), C(oe, { key: 1 }, [
6103
+ ], 64)) : (c(), C(oe, { key: 1 }, [
6119
6104
  y(ue, {
6120
6105
  label: f.$t("activity.comment.delete"),
6121
6106
  size: "sm",
@@ -6145,36 +6130,36 @@ const F7 = { class: "ao-comments" }, z7 = { class: "ao-comments__list" }, G7 = {
6145
6130
  },
6146
6131
  emits: ["createComment", "updateComment", "removeComment"],
6147
6132
  setup(s, { emit: e }) {
6148
- const t = s, n = (c) => t.users.find((_) => _.id === c), a = m1(t.newComment || ""), o = v({
6133
+ const t = s, n = (d) => t.users.find((_) => _.id === d), a = m1(t.newComment || ""), o = v({
6149
6134
  get() {
6150
6135
  return a.value;
6151
6136
  },
6152
- set(c) {
6153
- a.value = c;
6137
+ set(d) {
6138
+ a.value = d;
6154
6139
  }
6155
6140
  }), i = () => {
6156
- const c = a.value.trim();
6157
- c && (e("createComment", c), a.value = "");
6158
- }, l = (c, h) => {
6141
+ const d = a.value.trim();
6142
+ d && (e("createComment", d), a.value = "");
6143
+ }, l = (d, p) => {
6159
6144
  e("updateComment", {
6160
- id: c,
6161
- content: h
6145
+ id: d,
6146
+ content: p
6162
6147
  });
6163
- }, p = (c) => {
6164
- e("removeComment", c);
6148
+ }, h = (d) => {
6149
+ e("removeComment", d);
6165
6150
  };
6166
- return (c, h) => (d(), C("div", F7, [
6151
+ return (d, p) => (c(), C("div", F7, [
6167
6152
  r("ul", z7, [
6168
- (d(!0), C(oe, null, me(c.comments, (_) => (d(), q(q7, {
6153
+ (c(!0), C(oe, null, me(d.comments, (_) => (c(), q(q7, {
6169
6154
  key: _.id,
6170
6155
  user: n(_.userId),
6171
6156
  content: _.content,
6172
6157
  "created-at": _.createdAt,
6173
6158
  "edited-at": _.editedAt,
6174
- "is-editable": _.userId === c.userId,
6159
+ "is-editable": _.userId === d.userId,
6175
6160
  class: "ao-comment",
6176
6161
  onEdit: (f) => l(_.id, f),
6177
- onRemove: () => p(_.id)
6162
+ onRemove: () => h(_.id)
6178
6163
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
6179
6164
  ]),
6180
6165
  r("div", G7, [
@@ -6183,9 +6168,9 @@ const F7 = { class: "ao-comments" }, z7 = { class: "ao-comments__list" }, G7 = {
6183
6168
  onSubmit: Te(i, ["prevent"])
6184
6169
  }, [
6185
6170
  r("label", x7, [
6186
- r("span", W7, R(c.$t("activity.comment.label")), 1),
6171
+ r("span", W7, U(d.$t("activity.comment.label")), 1),
6187
6172
  Fe(r("textarea", {
6188
- "onUpdate:modelValue": h[0] || (h[0] = (_) => o.value = _),
6173
+ "onUpdate:modelValue": p[0] || (p[0] = (_) => o.value = _),
6189
6174
  rows: "4",
6190
6175
  class: "ao-field__textarea"
6191
6176
  }, null, 512), [
@@ -6203,7 +6188,7 @@ const F7 = { class: "ao-comments" }, z7 = { class: "ao-comments__list" }, G7 = {
6203
6188
  "icon-name": "SendRounded",
6204
6189
  color: "primary",
6205
6190
  variant: "solid",
6206
- label: c.$t("activity.comment.submit")
6191
+ label: d.$t("activity.comment.submit")
6207
6192
  }, null, 8, ["label"])
6208
6193
  ])
6209
6194
  ], 40, K7)
@@ -6235,7 +6220,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6235
6220
  }), l = (f) => {
6236
6221
  const { id: g } = f;
6237
6222
  o.value && o.value.projectId && e("update:activity", {
6238
- itemType: ce.ACTIVITIES,
6223
+ itemType: de.ACTIVITIES,
6239
6224
  id: g,
6240
6225
  projectId: o.value.projectId,
6241
6226
  data: {
@@ -6245,25 +6230,25 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6245
6230
  milestoneId: t.milestoneId
6246
6231
  }
6247
6232
  });
6248
- }, p = (f) => {
6233
+ }, h = (f) => {
6249
6234
  e("addSubtask", {
6250
6235
  ...f,
6251
6236
  milestoneId: t.milestoneId,
6252
6237
  phaseId: t.phaseId
6253
6238
  });
6254
- }, c = (f) => {
6239
+ }, d = (f) => {
6255
6240
  o.value && e("addComment", {
6256
6241
  activityId: o.value.id,
6257
6242
  comment: f
6258
6243
  });
6259
- }, h = (f) => {
6244
+ }, p = (f) => {
6260
6245
  const { id: g } = o.value || {};
6261
6246
  g && e("updateComment", { ...f, activityId: g });
6262
6247
  }, _ = (f) => {
6263
6248
  const { id: g } = o.value || {};
6264
6249
  g && e("removeComment", { id: f, activityId: g });
6265
6250
  };
6266
- return (f, g) => o.value ? (d(), q(F1, {
6251
+ return (f, g) => o.value ? (c(), q(F1, {
6267
6252
  key: 0,
6268
6253
  activity: o.value,
6269
6254
  "activity-types": i.value,
@@ -6277,7 +6262,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6277
6262
  ...V
6278
6263
  });
6279
6264
  }),
6280
- onAddSubtask: p
6265
+ onAddSubtask: h
6281
6266
  }, {
6282
6267
  default: F(() => [
6283
6268
  r("fieldset", X7, [
@@ -6292,8 +6277,8 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6292
6277
  comments: o.value.comments,
6293
6278
  users: N(n),
6294
6279
  "user-id": N(a),
6295
- onCreateComment: c,
6296
- onUpdateComment: h,
6280
+ onCreateComment: d,
6281
+ onUpdateComment: p,
6297
6282
  onRemoveComment: _
6298
6283
  }, null, 8, ["comments", "users", "user-id"])
6299
6284
  ])
@@ -6305,7 +6290,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6305
6290
  TEMPLATES: "templates",
6306
6291
  TEMPLATE_DETAILS: "template_details",
6307
6292
  TEMPLATES_LIST: "templates_list"
6308
- }, zd = (s, e = {}) => [
6293
+ }, zc = (s, e = {}) => [
6309
6294
  {
6310
6295
  path: s,
6311
6296
  name: t1.TEMPLATES,
@@ -6314,7 +6299,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6314
6299
  {
6315
6300
  path: "",
6316
6301
  name: t1.TEMPLATES_LIST,
6317
- component: td
6302
+ component: tc
6318
6303
  },
6319
6304
  {
6320
6305
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -6328,7 +6313,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6328
6313
  project: "project",
6329
6314
  milestone: "milestone",
6330
6315
  activity: "activity"
6331
- }, Gd = (s, e = {}) => [
6316
+ }, Gc = (s, e = {}) => [
6332
6317
  {
6333
6318
  path: s,
6334
6319
  ...e,
@@ -6356,44 +6341,44 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6356
6341
  }
6357
6342
  ]
6358
6343
  }
6359
- ], ed = { class: "ao-templates" }, td = /* @__PURE__ */ x({
6344
+ ], ec = { class: "ao-templates" }, tc = /* @__PURE__ */ x({
6360
6345
  __name: "AoTemplatesList",
6361
6346
  props: {
6362
6347
  templates: {}
6363
6348
  },
6364
6349
  emits: ["addTemplate", "updateTemplates", "updateItem"],
6365
6350
  setup(s, { emit: e }) {
6366
- const t = s, { t: n } = S1(), a = () => {
6351
+ const t = s, { t: n } = M1(), a = () => {
6367
6352
  var _, f;
6368
- const l = (_ = t.templates) == null ? void 0 : _.at(-1), p = l ? _e.LexoRank.parse(l.rank).genNext() : _e.LexoRank.middle(), c = ((f = t.templates) == null ? void 0 : f.length) ?? 0, h = {
6369
- name: n("template.defaultName.template", { idx: c + 1 }),
6370
- rank: p.format()
6353
+ const l = (_ = t.templates) == null ? void 0 : _.at(-1), h = l ? _e.LexoRank.parse(l.rank).genNext() : _e.LexoRank.middle(), d = ((f = t.templates) == null ? void 0 : f.length) ?? 0, p = {
6354
+ name: n("template.defaultName.template", { idx: d + 1 }),
6355
+ rank: h.format()
6371
6356
  };
6372
- e("addTemplate", h);
6373
- }, o = (l, p) => {
6357
+ e("addTemplate", p);
6358
+ }, o = (l, h) => {
6374
6359
  e("updateItem", {
6375
- itemType: ce.TEMPLATES,
6360
+ itemType: de.TEMPLATES,
6376
6361
  id: l,
6377
6362
  templateId: l,
6378
6363
  data: {
6379
- name: p
6364
+ name: h
6380
6365
  }
6381
6366
  });
6382
6367
  }, i = (l) => {
6383
6368
  if (l.moved) {
6384
- const p = R1(l, t.templates ?? []);
6369
+ const h = I1(l, t.templates ?? []);
6385
6370
  e("updateItem", {
6386
- itemType: ce.TEMPLATES,
6371
+ itemType: de.TEMPLATES,
6387
6372
  id: l.moved.element.id,
6388
6373
  templateId: l.moved.element.id,
6389
6374
  data: {
6390
- rank: p
6375
+ rank: h
6391
6376
  }
6392
6377
  });
6393
6378
  }
6394
6379
  };
6395
- return (l, p) => (d(), C("div", ed, [
6396
- y(I1, null, {
6380
+ return (l, h) => (c(), C("div", ec, [
6381
+ y(S1, null, {
6397
6382
  secondary: F(() => [
6398
6383
  y(ue, {
6399
6384
  label: l.$t("templates.new"),
@@ -6412,20 +6397,20 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6412
6397
  handle: ".ao-card__drag",
6413
6398
  onChange: i
6414
6399
  }, {
6415
- item: F(({ element: c }) => {
6416
- var h;
6400
+ item: F(({ element: d }) => {
6401
+ var p;
6417
6402
  return [
6418
6403
  y(f3, {
6419
- title: c.name || c.id,
6420
- phases: c.phases,
6421
- milestones: (h = c.phases) != null && h.length ? N(xr)(c.phases) : 0,
6422
- activities: c.phases ? N(Wr)(c.phases) : 0,
6423
- "updated-at": c.updatedAt,
6424
- "updated-by": c.updatedBy,
6425
- onUpdateTitle: (_) => o(c.id, _),
6404
+ title: d.name || d.id,
6405
+ phases: d.phases,
6406
+ milestones: (p = d.phases) != null && p.length ? N(xr)(d.phases) : 0,
6407
+ activities: d.phases ? N(Wr)(d.phases) : 0,
6408
+ "updated-at": d.updatedAt,
6409
+ "updated-by": d.updatedBy,
6410
+ onUpdateTitle: (_) => o(d.id, _),
6426
6411
  onClick: (_) => l.$router.push({
6427
6412
  name: N(t1).TEMPLATE_DETAILS,
6428
- params: { templateId: c.id }
6413
+ params: { templateId: d.id }
6429
6414
  })
6430
6415
  }, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
6431
6416
  ];
@@ -6435,20 +6420,20 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6435
6420
  ]));
6436
6421
  }
6437
6422
  });
6438
- const sd = { class: "ao-col-header" }, ad = /* @__PURE__ */ x({
6423
+ const sc = { class: "ao-col-header" }, ac = /* @__PURE__ */ x({
6439
6424
  __name: "AoColHeader",
6440
6425
  props: {
6441
6426
  title: {},
6442
6427
  items: {}
6443
6428
  },
6444
6429
  setup(s) {
6445
- return (e, t) => (d(), C("header", sd, [
6430
+ return (e, t) => (c(), C("header", sc, [
6446
6431
  y(pe, {
6447
6432
  title: e.title,
6448
6433
  class: "ao-col-header__title",
6449
6434
  level: 4
6450
6435
  }, null, 8, ["title"]),
6451
- e.items ? (d(), q(g1, {
6436
+ e.items ? (c(), q(g1, {
6452
6437
  key: 0,
6453
6438
  label: e.items,
6454
6439
  class: "ao-col-header__items",
@@ -6458,15 +6443,15 @@ const sd = { class: "ao-col-header" }, ad = /* @__PURE__ */ x({
6458
6443
  ]));
6459
6444
  }
6460
6445
  });
6461
- function nd(s) {
6446
+ function nc(s) {
6462
6447
  return Yt() ? (Xt(s), !0) : !1;
6463
6448
  }
6464
6449
  function v1(s) {
6465
6450
  return typeof s == "function" ? s() : N(s);
6466
6451
  }
6467
- const id = typeof window < "u", od = (s) => s != null, s1 = () => {
6452
+ const ic = typeof window < "u", oc = (s) => s != null, s1 = () => {
6468
6453
  };
6469
- function ld(s, e) {
6454
+ function lc(s, e) {
6470
6455
  function t(...n) {
6471
6456
  return new Promise((a, o) => {
6472
6457
  Promise.resolve(s(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(a).catch(o);
@@ -6474,82 +6459,82 @@ function ld(s, e) {
6474
6459
  }
6475
6460
  return t;
6476
6461
  }
6477
- function rd(s, e = {}) {
6462
+ function rc(s, e = {}) {
6478
6463
  let t, n, a = s1;
6479
6464
  const o = (l) => {
6480
6465
  clearTimeout(l), a(), a = s1;
6481
6466
  };
6482
6467
  return (l) => {
6483
- const p = v1(s), c = v1(e.maxWait);
6484
- return t && o(t), p <= 0 || c !== void 0 && c <= 0 ? (n && (o(n), n = null), Promise.resolve(l())) : new Promise((h, _) => {
6485
- a = e.rejectOnCancel ? _ : h, c && !n && (n = setTimeout(() => {
6486
- t && o(t), n = null, h(l());
6487
- }, c)), t = setTimeout(() => {
6488
- n && o(n), n = null, h(l());
6489
- }, p);
6468
+ const h = v1(s), d = v1(e.maxWait);
6469
+ return t && o(t), h <= 0 || d !== void 0 && d <= 0 ? (n && (o(n), n = null), Promise.resolve(l())) : new Promise((p, _) => {
6470
+ a = e.rejectOnCancel ? _ : p, d && !n && (n = setTimeout(() => {
6471
+ t && o(t), n = null, p(l());
6472
+ }, d)), t = setTimeout(() => {
6473
+ n && o(n), n = null, p(l());
6474
+ }, h);
6490
6475
  });
6491
6476
  };
6492
6477
  }
6493
- function dd(s, e = 200, t = {}) {
6494
- return ld(
6495
- rd(e, t),
6478
+ function cc(s, e = 200, t = {}) {
6479
+ return lc(
6480
+ rc(e, t),
6496
6481
  s
6497
6482
  );
6498
6483
  }
6499
- function B1(s) {
6484
+ function P1(s) {
6500
6485
  var e;
6501
6486
  const t = v1(s);
6502
6487
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
6503
6488
  }
6504
- const cd = id ? window : void 0;
6505
- function ud() {
6489
+ const dc = ic ? window : void 0;
6490
+ function uc() {
6506
6491
  const s = J(!1);
6507
6492
  return Be() && _1(() => {
6508
6493
  s.value = !0;
6509
6494
  }), s;
6510
6495
  }
6511
- function pd(s) {
6512
- const e = ud();
6496
+ function pc(s) {
6497
+ const e = uc();
6513
6498
  return v(() => (e.value, !!s()));
6514
6499
  }
6515
- function hd(s, e, t = {}) {
6500
+ function hc(s, e, t = {}) {
6516
6501
  const {
6517
6502
  root: n,
6518
6503
  rootMargin: a = "0px",
6519
6504
  threshold: o = 0.1,
6520
- window: i = cd,
6505
+ window: i = dc,
6521
6506
  immediate: l = !0
6522
- } = t, p = pd(() => i && "IntersectionObserver" in i), c = v(() => {
6507
+ } = t, h = pc(() => i && "IntersectionObserver" in i), d = v(() => {
6523
6508
  const V = v1(s);
6524
- return (Array.isArray(V) ? V : [V]).map(B1).filter(od);
6509
+ return (Array.isArray(V) ? V : [V]).map(P1).filter(oc);
6525
6510
  });
6526
- let h = s1;
6527
- const _ = J(l), f = p.value ? fe(
6528
- () => [c.value, B1(n), _.value],
6511
+ let p = s1;
6512
+ const _ = J(l), f = h.value ? fe(
6513
+ () => [d.value, P1(n), _.value],
6529
6514
  ([V, w]) => {
6530
- if (h(), !_.value || !V.length)
6515
+ if (p(), !_.value || !V.length)
6531
6516
  return;
6532
6517
  const O = new IntersectionObserver(
6533
6518
  e,
6534
6519
  {
6535
- root: B1(w),
6520
+ root: P1(w),
6536
6521
  rootMargin: a,
6537
6522
  threshold: o
6538
6523
  }
6539
6524
  );
6540
- V.forEach((L) => L && O.observe(L)), h = () => {
6541
- O.disconnect(), h = s1;
6525
+ V.forEach((L) => L && O.observe(L)), p = () => {
6526
+ O.disconnect(), p = s1;
6542
6527
  };
6543
6528
  },
6544
6529
  { immediate: l, flush: "post" }
6545
6530
  ) : s1, g = () => {
6546
- h(), f(), _.value = !1;
6531
+ p(), f(), _.value = !1;
6547
6532
  };
6548
- return nd(g), {
6549
- isSupported: p,
6533
+ return nc(g), {
6534
+ isSupported: h,
6550
6535
  isActive: _,
6551
6536
  pause() {
6552
- h(), _.value = !1;
6537
+ p(), _.value = !1;
6553
6538
  },
6554
6539
  resume() {
6555
6540
  _.value = !0;
@@ -6557,24 +6542,24 @@ function hd(s, e, t = {}) {
6557
6542
  stop: g
6558
6543
  };
6559
6544
  }
6560
- const md = {
6545
+ const mc = {
6561
6546
  class: /* @__PURE__ */ K(["ao-list-kanban"])
6562
- }, Cd = { class: "ao-list-kanban__header" }, vd = {
6547
+ }, Cc = { class: "ao-list-kanban__header" }, vc = {
6563
6548
  key: 0,
6564
6549
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
6565
- }, _d = {
6550
+ }, _c = {
6566
6551
  key: 1,
6567
6552
  class: "ao-list-kanban__end"
6568
- }, fd = {
6553
+ }, fc = {
6569
6554
  key: 0,
6570
6555
  class: "ao-list-kanban__no-more"
6571
- }, gd = {
6556
+ }, gc = {
6572
6557
  key: 1,
6573
6558
  class: "ao-list-kanban__divider"
6574
- }, yd = {
6559
+ }, yc = {
6575
6560
  key: 1,
6576
6561
  class: "ao-list-kanban__footer"
6577
- }, bd = /* @__PURE__ */ x({
6562
+ }, bc = /* @__PURE__ */ x({
6578
6563
  __name: "AoListKanban",
6579
6564
  props: {
6580
6565
  list: {},
@@ -6587,56 +6572,56 @@ const md = {
6587
6572
  },
6588
6573
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
6589
6574
  setup(s, { emit: e }) {
6590
- const t = s, n = (p) => {
6575
+ const t = s, n = (h) => {
6591
6576
  e("change:list", {
6592
6577
  status: t.status,
6593
- change: p
6578
+ change: h
6594
6579
  });
6595
6580
  }, a = J(!1), o = J(null);
6596
- hd(o, ([{ isIntersecting: p }]) => {
6597
- a.value = p;
6598
- }), fe(a, (p) => {
6599
- p && t.hasMore && !t.isLoading && e("loadMore");
6581
+ hc(o, ([{ isIntersecting: h }]) => {
6582
+ a.value = h;
6583
+ }), fe(a, (h) => {
6584
+ h && t.hasMore && !t.isLoading && e("loadMore");
6600
6585
  });
6601
- const i = (p) => {
6602
- e("selectActivity", p);
6603
- }, l = (p) => {
6604
- e("updateActivity", p);
6586
+ const i = (h) => {
6587
+ e("selectActivity", h);
6588
+ }, l = (h) => {
6589
+ e("updateActivity", h);
6605
6590
  };
6606
- return (p, c) => (d(), C("div", md, [
6607
- p.title || p.$slots.header ? W(p.$slots, "header", { key: 0 }, () => {
6608
- var h;
6591
+ return (h, d) => (c(), C("div", mc, [
6592
+ h.title || h.$slots.header ? W(h.$slots, "header", { key: 0 }, () => {
6593
+ var p;
6609
6594
  return [
6610
- r("div", Cd, [
6611
- p.title ? (d(), q(ad, {
6595
+ r("div", Cc, [
6596
+ h.title ? (c(), q(ac, {
6612
6597
  key: 0,
6613
- title: p.title,
6598
+ title: h.title,
6614
6599
  level: 3,
6615
- items: (h = p.list) == null ? void 0 : h.length
6600
+ items: (p = h.list) == null ? void 0 : p.length
6616
6601
  }, null, 8, ["title", "items"])) : A("", !0)
6617
6602
  ])
6618
6603
  ];
6619
6604
  }) : A("", !0),
6620
6605
  y(N(i1), De({
6621
- list: p.list,
6606
+ list: h.list,
6622
6607
  class: "ao-list-kanban__list",
6623
6608
  "item-key": "id",
6624
6609
  group: "kanban"
6625
- }, p.$attrs, { onChange: n }), {
6626
- item: F(({ element: h }) => {
6610
+ }, h.$attrs, { onChange: n }), {
6611
+ item: F(({ element: p }) => {
6627
6612
  var _, f, g;
6628
6613
  return [
6629
6614
  y(_t, {
6630
- id: h.id,
6631
- name: h.name,
6632
- rules: ((_ = h.rules) == null ? void 0 : _.length) || 0,
6633
- subtasks: h.subtasks,
6634
- description: h.description,
6635
- "is-important": h.isImportant,
6636
- type: h.type,
6637
- comments: (f = h.comments) == null ? void 0 : f.length,
6638
- attachments: (g = h.attachments) == null ? void 0 : g.length,
6639
- onClick: () => i(h.id),
6615
+ id: p.id,
6616
+ name: p.name,
6617
+ rules: ((_ = p.rules) == null ? void 0 : _.length) || 0,
6618
+ subtasks: p.subtasks,
6619
+ description: p.description,
6620
+ "is-important": p.isImportant,
6621
+ type: p.type,
6622
+ comments: (f = p.comments) == null ? void 0 : f.length,
6623
+ attachments: (g = p.attachments) == null ? void 0 : g.length,
6624
+ onClick: () => i(p.id),
6640
6625
  onUpdateActivity: l
6641
6626
  }, {
6642
6627
  secondary: F(() => [
@@ -6646,7 +6631,7 @@ const md = {
6646
6631
  "icon-name": "ArchiveOutlineRounded",
6647
6632
  size: "sm",
6648
6633
  corners: "round",
6649
- onClick: Te(() => p.$emit("archiveActivity", h.id), ["stop"])
6634
+ onClick: Te(() => h.$emit("archiveActivity", p.id), ["stop"])
6650
6635
  }, null, 8, ["onClick"])
6651
6636
  ]),
6652
6637
  _: 2
@@ -6654,32 +6639,32 @@ const md = {
6654
6639
  ];
6655
6640
  }),
6656
6641
  footer: F(() => [
6657
- p.isLoading ? (d(), C("div", vd, [
6642
+ h.isLoading ? (c(), C("div", vc, [
6658
6643
  y(le, { name: "Loading" })
6659
- ])) : p.hasMore ? (d(), C("div", {
6644
+ ])) : h.hasMore ? (c(), C("div", {
6660
6645
  key: 2,
6661
6646
  ref_key: "scrollEnd",
6662
6647
  ref: o,
6663
6648
  class: "ao-list-kanban__end"
6664
- }, null, 512)) : (d(), C("div", _d, [
6665
- p.noMoreLabel ? (d(), C("span", fd, R(p.noMoreLabel), 1)) : (d(), C("span", gd))
6649
+ }, null, 512)) : (c(), C("div", _c, [
6650
+ h.noMoreLabel ? (c(), C("span", fc, U(h.noMoreLabel), 1)) : (c(), C("span", gc))
6666
6651
  ]))
6667
6652
  ]),
6668
6653
  _: 1
6669
6654
  }, 16, ["list"]),
6670
- p.$slots.footer || p.footerLabel ? (d(), C("div", yd, [
6671
- W(p.$slots, "footer", {}, () => [
6655
+ h.$slots.footer || h.footerLabel ? (c(), C("div", yc, [
6656
+ W(h.$slots, "footer", {}, () => [
6672
6657
  y(Pe, {
6673
6658
  "icon-name": "AddBoxOutlineRounded",
6674
- label: p.footerLabel,
6675
- onClick: c[0] || (c[0] = (h) => p.$emit("add"))
6659
+ label: h.footerLabel,
6660
+ onClick: d[0] || (d[0] = (p) => h.$emit("add"))
6676
6661
  }, null, 8, ["label"])
6677
6662
  ])
6678
6663
  ])) : A("", !0)
6679
6664
  ]));
6680
6665
  }
6681
6666
  });
6682
- const wd = { class: "ao-field ao-search-field" }, $d = ["value", "placeholder", "onKeypress"], Id = /* @__PURE__ */ x({
6667
+ const wc = { class: "ao-field ao-search-field" }, $c = ["value", "placeholder", "onKeypress"], Ic = /* @__PURE__ */ x({
6683
6668
  __name: "AoSearchField",
6684
6669
  props: {
6685
6670
  modelValue: {},
@@ -6689,21 +6674,21 @@ const wd = { class: "ao-field ao-search-field" }, $d = ["value", "placeholder",
6689
6674
  emits: ["update:modelValue", "clear"],
6690
6675
  setup(s, { emit: e }) {
6691
6676
  const t = s, n = async (i) => {
6692
- const p = i.target.value;
6693
- e("update:modelValue", p, i);
6694
- }, a = dd(n, t.delay), o = (i) => {
6677
+ const h = i.target.value;
6678
+ e("update:modelValue", h, i);
6679
+ }, a = cc(n, t.delay), o = (i) => {
6695
6680
  e("clear", i);
6696
6681
  };
6697
- return (i, l) => (d(), C("div", wd, [
6682
+ return (i, l) => (c(), C("div", wc, [
6698
6683
  r("input", {
6699
6684
  value: i.modelValue,
6700
6685
  type: "text",
6701
6686
  class: "ao-field__input ao-search-field__input",
6702
6687
  placeholder: i.placeholder,
6703
6688
  onInput: l[0] || (l[0] = //@ts-ignore
6704
- (...p) => N(a) && N(a)(...p)),
6689
+ (...h) => N(a) && N(a)(...h)),
6705
6690
  onKeypress: a1(n, ["enter"])
6706
- }, null, 40, $d),
6691
+ }, null, 40, $c),
6707
6692
  y(le, {
6708
6693
  name: "SearchRounded",
6709
6694
  class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -6738,7 +6723,7 @@ const ne = {
6738
6723
  name: "add URQL dependency",
6739
6724
  rank: be(0)
6740
6725
  }
6741
- ], Sd = [
6726
+ ], Sc = [
6742
6727
  {
6743
6728
  id: "0-0-0",
6744
6729
  name: "Create front0",
@@ -7464,23 +7449,23 @@ const ne = {
7464
7449
  milestoneId: "21",
7465
7450
  feedStatus: "this_week"
7466
7451
  }
7467
- ], P1 = J([Sd[0]]), gt = J(""), Md = v(() => P1.value.find(
7452
+ ], Z1 = J([Sc[0]]), gt = J(""), Mc = v(() => Z1.value.find(
7468
7453
  (e) => e.id === gt.value
7469
7454
  ));
7470
- function Ad() {
7455
+ function Ac() {
7471
7456
  return {
7472
7457
  init: (t) => {
7473
- P1.value = ze(t);
7458
+ Z1.value = ze(t);
7474
7459
  },
7475
- activities: P1,
7476
- selectedActivity: Md,
7460
+ activities: Z1,
7461
+ selectedActivity: Mc,
7477
7462
  selectActivity: (t) => {
7478
7463
  const n = t || "";
7479
7464
  gt.value = n;
7480
7465
  }
7481
7466
  };
7482
7467
  }
7483
- const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { class: "ao-feed__body" }, Vd = { class: "ao-field" }, Ed = { class: "ao-field__label" }, Hd = { class: "ao-fieldset" }, Od = { class: "ao-field" }, Dd = { class: "ao-field__label" }, jd = { class: "ao-fieldset" }, Bd = { class: "ao-fieldset__title" }, Kd = /* @__PURE__ */ x({
7468
+ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { class: "ao-feed__body" }, Vc = { class: "ao-field" }, Ec = { class: "ao-field__label" }, Hc = { class: "ao-fieldset" }, Oc = { class: "ao-field" }, Dc = { class: "ao-field__label" }, jc = { class: "ao-fieldset" }, Bc = { class: "ao-fieldset__title" }, Kc = /* @__PURE__ */ x({
7484
7469
  __name: "AoFeed",
7485
7470
  props: {
7486
7471
  activities: {},
@@ -7494,31 +7479,31 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7494
7479
  },
7495
7480
  emits: ["change:activities", "addActivity", "update:filter", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
7496
7481
  setup(s, { emit: e }) {
7497
- const t = s, { t: n } = S1(), { selectActivity: a, selectedActivity: o } = Ad(), i = v(
7482
+ const t = s, { t: n } = M1(), { selectActivity: a, selectedActivity: o } = Ac(), i = v(
7498
7483
  () => t.activities.reduce((u, $) => {
7499
- var k, P;
7484
+ var k, B;
7500
7485
  const S = u[(k = $.status) == null ? void 0 : k.id] ?? [];
7501
7486
  return S.push($), {
7502
7487
  ...u,
7503
- [(P = $.status) == null ? void 0 : P.id]: S
7488
+ [(B = $.status) == null ? void 0 : B.id]: S
7504
7489
  };
7505
7490
  }, {})
7506
7491
  ), l = (u) => {
7507
7492
  e("change:activities", u);
7508
- }, p = (u) => {
7493
+ }, h = (u) => {
7509
7494
  e("addActivity", { statusId: u.id });
7510
- }, c = v({
7495
+ }, d = v({
7511
7496
  get() {
7512
7497
  return ze(t.filters.project);
7513
7498
  },
7514
7499
  set(u) {
7515
7500
  const $ = {
7516
- type: j1.project,
7501
+ type: B1.project,
7517
7502
  values: u
7518
7503
  };
7519
7504
  e("update:filter", $);
7520
7505
  }
7521
- }), h = v(() => t.projects.map((u) => ({
7506
+ }), p = v(() => t.projects.map((u) => ({
7522
7507
  value: u.id,
7523
7508
  label: u.name
7524
7509
  }))), _ = v({
@@ -7527,7 +7512,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7527
7512
  },
7528
7513
  set(u) {
7529
7514
  const $ = {
7530
- type: j1.activity_type,
7515
+ type: B1.activity_type,
7531
7516
  values: u
7532
7517
  };
7533
7518
  e("update:filter", $);
@@ -7541,7 +7526,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7541
7526
  },
7542
7527
  set(u) {
7543
7528
  const $ = {
7544
- type: j1.assignee,
7529
+ type: B1.assignee,
7545
7530
  values: u
7546
7531
  };
7547
7532
  e("update:filter", $);
@@ -7558,7 +7543,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7558
7543
  id: o.value.id,
7559
7544
  name: u
7560
7545
  });
7561
- }, j = (u) => {
7546
+ }, P = (u) => {
7562
7547
  e("archiveActivity", u);
7563
7548
  }, Y = v({
7564
7549
  get() {
@@ -7581,27 +7566,27 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7581
7566
  e("update:searchText", u);
7582
7567
  }
7583
7568
  }), se = (u) => {
7584
- var P, ae;
7569
+ var B, ae;
7585
7570
  if (!o.value)
7586
7571
  return;
7587
7572
  const $ = t.projects.find((re) => {
7588
7573
  var ee;
7589
- return (ee = re.phases) == null ? void 0 : ee.find((U) => {
7574
+ return (ee = re.phases) == null ? void 0 : ee.find((R) => {
7590
7575
  var M;
7591
- return (M = U.milestones) == null ? void 0 : M.find((Z) => {
7576
+ return (M = R.milestones) == null ? void 0 : M.find((Z) => {
7592
7577
  var ve;
7593
7578
  return (ve = Z.activities) == null ? void 0 : ve.find((Se) => Se.id === u.activityId);
7594
7579
  });
7595
7580
  });
7596
- }), S = (P = $ == null ? void 0 : $.phases) == null ? void 0 : P.find((re) => {
7581
+ }), S = (B = $ == null ? void 0 : $.phases) == null ? void 0 : B.find((re) => {
7597
7582
  var ee;
7598
- return (ee = re.milestones) == null ? void 0 : ee.find((U) => {
7583
+ return (ee = re.milestones) == null ? void 0 : ee.find((R) => {
7599
7584
  var M;
7600
- return (M = U.activities) == null ? void 0 : M.find((Z) => Z.id === u.activityId);
7585
+ return (M = R.activities) == null ? void 0 : M.find((Z) => Z.id === u.activityId);
7601
7586
  });
7602
7587
  }), k = (ae = S == null ? void 0 : S.milestones) == null ? void 0 : ae.find((re) => {
7603
7588
  var ee;
7604
- return (ee = re.activities) == null ? void 0 : ee.find((U) => U.id === u.activityId);
7589
+ return (ee = re.activities) == null ? void 0 : ee.find((R) => R.id === u.activityId);
7605
7590
  });
7606
7591
  e("addSubtask", {
7607
7592
  ...u,
@@ -7609,27 +7594,27 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7609
7594
  phaseId: S == null ? void 0 : S.id
7610
7595
  });
7611
7596
  }, I = (u) => {
7612
- var k, P;
7597
+ var k, B;
7613
7598
  if (!o.value)
7614
7599
  return;
7615
7600
  const $ = [...((k = o.value) == null ? void 0 : k.tasks) || []], S = $.findIndex((ae) => ae.id === u.id);
7616
7601
  $[S] = {
7617
7602
  ...$[S],
7618
7603
  ...u
7619
- }, w({ id: (P = o.value) == null ? void 0 : P.id, tasks: $ });
7604
+ }, w({ id: (B = o.value) == null ? void 0 : B.id, tasks: $ });
7620
7605
  }, E = (u) => {
7621
7606
  var S, k;
7622
7607
  if (!o.value)
7623
7608
  return;
7624
7609
  const $ = [...((S = o.value) == null ? void 0 : S.tasks) || []].filter(
7625
- (P) => P.id !== u
7610
+ (B) => B.id !== u
7626
7611
  );
7627
7612
  w({ id: (k = o.value) == null ? void 0 : k.id, tasks: $ });
7628
7613
  }, z = (u) => {
7629
7614
  e("addFiles", u);
7630
7615
  }, he = (u) => {
7631
7616
  e("removeFile", u);
7632
- }, B = (u) => {
7617
+ }, j = (u) => {
7633
7618
  o.value && e("addComment", {
7634
7619
  activityId: o.value.id,
7635
7620
  comment: u
@@ -7656,21 +7641,21 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7656
7641
  };
7657
7642
  return (u, $) => {
7658
7643
  var S;
7659
- return d(), C("div", kd, [
7660
- y(I1, null, {
7644
+ return c(), C("div", kc, [
7645
+ y(S1, null, {
7661
7646
  primary: F(() => [
7662
- y(Id, {
7647
+ y(Ic, {
7663
7648
  modelValue: D.value,
7664
7649
  "onUpdate:modelValue": $[0] || ($[0] = (k) => D.value = k),
7665
7650
  placeholder: u.$t("feed.search.placeholder"),
7666
7651
  onClear: te
7667
7652
  }, null, 8, ["modelValue", "placeholder"]),
7668
- r("div", Td, [
7653
+ r("div", Tc, [
7669
7654
  y(N(Ce), {
7670
- modelValue: c.value,
7671
- "onUpdate:modelValue": $[1] || ($[1] = (k) => c.value = k),
7655
+ modelValue: d.value,
7656
+ "onUpdate:modelValue": $[1] || ($[1] = (k) => d.value = k),
7672
7657
  mode: "tags",
7673
- options: h.value,
7658
+ options: p.value,
7674
7659
  "close-on-select": !1,
7675
7660
  searchable: !0,
7676
7661
  class: "ao-feed__filter",
@@ -7696,11 +7681,11 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7696
7681
  class: "ao-feed__filter",
7697
7682
  placeholder: u.$t("feed.filters.assignee.placeholder")
7698
7683
  }, {
7699
- tag: F(({ option: k, handleTagRemove: P }) => [
7684
+ tag: F(({ option: k, handleTagRemove: B }) => [
7700
7685
  y(We, {
7701
7686
  "user-name": k.label,
7702
7687
  "is-closable": !0,
7703
- onClose: (ae) => P(k, ae)
7688
+ onClose: (ae) => B(k, ae)
7704
7689
  }, null, 8, ["user-name", "onClose"])
7705
7690
  ]),
7706
7691
  _: 1
@@ -7709,22 +7694,22 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7709
7694
  ]),
7710
7695
  _: 1
7711
7696
  }),
7712
- r("div", Ld, [
7713
- (d(!0), C(oe, null, me(u.statuses, (k) => (d(), q(bd, {
7697
+ r("div", Lc, [
7698
+ (c(!0), C(oe, null, me(u.statuses, (k) => (c(), q(bc, {
7714
7699
  key: k.id,
7715
7700
  status: k,
7716
7701
  list: i.value[k.id],
7717
7702
  title: k.name,
7718
7703
  "footer-label": u.$t("feed.activity.add"),
7719
- onAdd: () => p(k),
7704
+ onAdd: () => h(k),
7720
7705
  onSelectActivity: N(a),
7721
7706
  "onChange:list": l,
7722
- onArchiveActivity: j,
7707
+ onArchiveActivity: P,
7723
7708
  onUpdateActivity: O
7724
7709
  }, null, 8, ["status", "list", "title", "footer-label", "onAdd", "onSelectActivity"]))), 128))
7725
7710
  ]),
7726
- (d(), q(C1, { to: "body" }, [
7727
- N(o) ? (d(), q(F1, {
7711
+ (c(), q(C1, { to: "body" }, [
7712
+ N(o) ? (c(), q(F1, {
7728
7713
  key: 0,
7729
7714
  activity: N(o),
7730
7715
  "activity-types": f.value,
@@ -7752,8 +7737,8 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7752
7737
  "is-editable": !0,
7753
7738
  "onUpdate:title": b
7754
7739
  }, null, 8, ["title"]),
7755
- r("label", Vd, [
7756
- r("span", Ed, R(u.$t("activity.feedStatus.label")), 1),
7740
+ r("label", Vc, [
7741
+ r("span", Ec, U(u.$t("activity.feedStatus.label")), 1),
7757
7742
  y(N(Ce), {
7758
7743
  options: ye.value,
7759
7744
  value: N(o).feedStatus,
@@ -7762,9 +7747,9 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7762
7747
  ])
7763
7748
  ]),
7764
7749
  default: F(() => [
7765
- r("fieldset", Hd, [
7766
- r("label", Od, [
7767
- r("span", Dd, R(u.$t("activity.endDate.label")), 1),
7750
+ r("fieldset", Hc, [
7751
+ r("label", Oc, [
7752
+ r("span", Dc, U(u.$t("activity.endDate.label")), 1),
7768
7753
  Fe(r("input", {
7769
7754
  "onUpdate:modelValue": $[4] || ($[4] = (k) => Y.value = k),
7770
7755
  class: "ao-field__input",
@@ -7779,8 +7764,8 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7779
7764
  ])
7780
7765
  ])
7781
7766
  ]),
7782
- r("fieldset", jd, [
7783
- r("div", Bd, [
7767
+ r("fieldset", jc, [
7768
+ r("div", Bc, [
7784
7769
  y(le, { name: "ChatOutline" }),
7785
7770
  y(pe, {
7786
7771
  level: 4,
@@ -7791,7 +7776,7 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7791
7776
  comments: N(o).comments,
7792
7777
  users: u.users,
7793
7778
  "user-id": u.userId,
7794
- onCreateComment: B,
7779
+ onCreateComment: j,
7795
7780
  onUpdateComment: X,
7796
7781
  onRemoveComment: ge
7797
7782
  }, null, 8, ["comments", "users", "user-id"])
@@ -7805,22 +7790,22 @@ const kd = { class: "ao-feed" }, Td = { class: "ao-feed__filters" }, Ld = { clas
7805
7790
  }
7806
7791
  });
7807
7792
  export {
7808
- Kd as AoFeed,
7793
+ Kc as AoFeed,
7809
7794
  O5 as AoTemplateDetails,
7810
- Rd as AoTemplates,
7811
- td as AoTemplatesList,
7795
+ Uc as AoTemplates,
7796
+ tc as AoTemplatesList,
7812
7797
  w5 as TemplateItemTypeEnum,
7813
7798
  f5 as activityFeedStatus,
7814
- qd as durationTypes,
7815
- j1 as feedFilters,
7816
- Gd as getProjectOverviewRoutes,
7817
- zd as getTemplateRoutes,
7818
- Fd as listUpdateTypes,
7799
+ qc as durationTypes,
7800
+ B1 as feedFilters,
7801
+ Gc as getProjectOverviewRoutes,
7802
+ zc as getTemplateRoutes,
7803
+ Fc as listUpdateTypes,
7819
7804
  _5 as milestoneStatus,
7820
7805
  Ge as projectOverviewRoutes,
7821
7806
  g5 as ruleComparators,
7822
7807
  b5 as ruleDurationUnits,
7823
7808
  y5 as ruleTriggerTypes,
7824
- ce as templateItemType,
7809
+ de as templateItemType,
7825
7810
  t1 as templateRouteNames
7826
7811
  };