@26lights/orcha 0.37.38 → 0.37.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, openBlock as p, createBlock as V, unref as ee, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as A, resolveDynamicComponent as ht, normalizeClass as G, renderSlot as ae, toDisplayString as X, createCommentVNode as T, ref as te, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as q, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
1
+ import { defineComponent as x, openBlock as p, createBlock as V, unref as ee, mergeProps as He, createElementBlock as y, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as G, renderSlot as ae, toDisplayString as X, createCommentVNode as T, ref as te, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as q, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
4
  const f8 = /* @__PURE__ */ x({
@@ -27,7 +27,7 @@ const f8 = /* @__PURE__ */ x({
27
27
  Fi
28
28
  ];
29
29
  function Zi(t, e) {
30
- return p(), g("svg", ji, Ui);
30
+ return p(), y("svg", ji, Ui);
31
31
  }
32
32
  const Wi = /* @__PURE__ */ N(Ni, [["render", Zi]]), qi = {}, zi = {
33
33
  width: "24",
@@ -42,7 +42,7 @@ const Wi = /* @__PURE__ */ N(Ni, [["render", Zi]]), qi = {}, zi = {
42
42
  xi
43
43
  ];
44
44
  function Ki(t, e) {
45
- return p(), g("svg", zi, Yi);
45
+ return p(), y("svg", zi, Yi);
46
46
  }
47
47
  const Gi = /* @__PURE__ */ N(qi, [["render", Ki]]), Xi = {}, Qi = {
48
48
  width: "24",
@@ -57,7 +57,7 @@ const Gi = /* @__PURE__ */ N(qi, [["render", Ki]]), Xi = {}, Qi = {
57
57
  Ji
58
58
  ];
59
59
  function to(t, e) {
60
- return p(), g("svg", Qi, eo);
60
+ return p(), y("svg", Qi, eo);
61
61
  }
62
62
  const ao = /* @__PURE__ */ N(Xi, [["render", to]]), no = {}, so = {
63
63
  width: "24",
@@ -72,7 +72,7 @@ const ao = /* @__PURE__ */ N(Xi, [["render", to]]), no = {}, so = {
72
72
  io
73
73
  ];
74
74
  function ro(t, e) {
75
- return p(), g("svg", so, oo);
75
+ return p(), y("svg", so, oo);
76
76
  }
77
77
  const lo = /* @__PURE__ */ N(no, [["render", ro]]), uo = {}, co = {
78
78
  width: "24",
@@ -87,7 +87,7 @@ const lo = /* @__PURE__ */ N(no, [["render", ro]]), uo = {}, co = {
87
87
  po
88
88
  ];
89
89
  function vo(t, e) {
90
- return p(), g("svg", co, fo);
90
+ return p(), y("svg", co, fo);
91
91
  }
92
92
  const ho = /* @__PURE__ */ N(uo, [["render", vo]]), mo = {}, Co = {
93
93
  width: "24",
@@ -102,7 +102,7 @@ const ho = /* @__PURE__ */ N(uo, [["render", vo]]), mo = {}, Co = {
102
102
  go
103
103
  ];
104
104
  function yo(t, e) {
105
- return p(), g("svg", Co, _o);
105
+ return p(), y("svg", Co, _o);
106
106
  }
107
107
  const bo = /* @__PURE__ */ N(mo, [["render", yo]]), wo = {}, $o = {
108
108
  width: "24",
@@ -117,7 +117,7 @@ const bo = /* @__PURE__ */ N(mo, [["render", yo]]), wo = {}, $o = {
117
117
  ko
118
118
  ];
119
119
  function Ao(t, e) {
120
- return p(), g("svg", $o, So);
120
+ return p(), y("svg", $o, So);
121
121
  }
122
122
  const Mo = /* @__PURE__ */ N(wo, [["render", Ao]]), To = {}, Oo = {
123
123
  width: "24",
@@ -132,7 +132,7 @@ const Mo = /* @__PURE__ */ N(wo, [["render", Ao]]), To = {}, Oo = {
132
132
  Eo
133
133
  ];
134
134
  function Lo(t, e) {
135
- return p(), g("svg", Oo, Io);
135
+ return p(), y("svg", Oo, Io);
136
136
  }
137
137
  const Ho = /* @__PURE__ */ N(To, [["render", Lo]]), Do = {}, Po = {
138
138
  width: "24",
@@ -147,7 +147,7 @@ const Ho = /* @__PURE__ */ N(To, [["render", Lo]]), Do = {}, Po = {
147
147
  Vo
148
148
  ];
149
149
  function Ro(t, e) {
150
- return p(), g("svg", Po, Bo);
150
+ return p(), y("svg", Po, Bo);
151
151
  }
152
152
  const No = /* @__PURE__ */ N(Do, [["render", Ro]]), jo = {}, Fo = {
153
153
  width: "24",
@@ -162,7 +162,7 @@ const No = /* @__PURE__ */ N(Do, [["render", Ro]]), jo = {}, Fo = {
162
162
  Uo
163
163
  ];
164
164
  function Wo(t, e) {
165
- return p(), g("svg", Fo, Zo);
165
+ return p(), y("svg", Fo, Zo);
166
166
  }
167
167
  const qo = /* @__PURE__ */ N(jo, [["render", Wo]]), zo = {}, xo = {
168
168
  width: "24",
@@ -177,7 +177,7 @@ const qo = /* @__PURE__ */ N(jo, [["render", Wo]]), zo = {}, xo = {
177
177
  Yo
178
178
  ];
179
179
  function Go(t, e) {
180
- return p(), g("svg", xo, Ko);
180
+ return p(), y("svg", xo, Ko);
181
181
  }
182
182
  const Xo = /* @__PURE__ */ N(zo, [["render", Go]]), Qo = {}, Jo = {
183
183
  width: "24",
@@ -192,7 +192,7 @@ const Xo = /* @__PURE__ */ N(zo, [["render", Go]]), Qo = {}, Jo = {
192
192
  e1
193
193
  ];
194
194
  function a1(t, e) {
195
- return p(), g("svg", Jo, t1);
195
+ return p(), y("svg", Jo, t1);
196
196
  }
197
197
  const n1 = /* @__PURE__ */ N(Qo, [["render", a1]]), s1 = {}, i1 = {
198
198
  width: "24",
@@ -207,7 +207,7 @@ const n1 = /* @__PURE__ */ N(Qo, [["render", a1]]), s1 = {}, i1 = {
207
207
  o1
208
208
  ];
209
209
  function l1(t, e) {
210
- return p(), g("svg", i1, r1);
210
+ return p(), y("svg", i1, r1);
211
211
  }
212
212
  const u1 = /* @__PURE__ */ N(s1, [["render", l1]]), c1 = {}, d1 = {
213
213
  width: "24",
@@ -222,7 +222,7 @@ const u1 = /* @__PURE__ */ N(s1, [["render", l1]]), c1 = {}, d1 = {
222
222
  p1
223
223
  ];
224
224
  function v1(t, e) {
225
- return p(), g("svg", d1, f1);
225
+ return p(), y("svg", d1, f1);
226
226
  }
227
227
  const h1 = /* @__PURE__ */ N(c1, [["render", v1]]), m1 = {}, C1 = {
228
228
  width: "24",
@@ -237,7 +237,7 @@ const h1 = /* @__PURE__ */ N(c1, [["render", v1]]), m1 = {}, C1 = {
237
237
  g1
238
238
  ];
239
239
  function y1(t, e) {
240
- return p(), g("svg", C1, _1);
240
+ return p(), y("svg", C1, _1);
241
241
  }
242
242
  const b1 = /* @__PURE__ */ N(m1, [["render", y1]]), w1 = {}, $1 = {
243
243
  width: "24",
@@ -252,7 +252,7 @@ const b1 = /* @__PURE__ */ N(m1, [["render", y1]]), w1 = {}, $1 = {
252
252
  k1
253
253
  ];
254
254
  function A1(t, e) {
255
- return p(), g("svg", $1, S1);
255
+ return p(), y("svg", $1, S1);
256
256
  }
257
257
  const M1 = /* @__PURE__ */ N(w1, [["render", A1]]), T1 = {}, O1 = {
258
258
  width: "24",
@@ -267,7 +267,7 @@ const M1 = /* @__PURE__ */ N(w1, [["render", A1]]), T1 = {}, O1 = {
267
267
  E1
268
268
  ];
269
269
  function L1(t, e) {
270
- return p(), g("svg", O1, I1);
270
+ return p(), y("svg", O1, I1);
271
271
  }
272
272
  const H1 = /* @__PURE__ */ N(T1, [["render", L1]]), D1 = {}, P1 = {
273
273
  width: "24",
@@ -282,7 +282,7 @@ const H1 = /* @__PURE__ */ N(T1, [["render", L1]]), D1 = {}, P1 = {
282
282
  V1
283
283
  ];
284
284
  function R1(t, e) {
285
- return p(), g("svg", P1, B1);
285
+ return p(), y("svg", P1, B1);
286
286
  }
287
287
  const N1 = /* @__PURE__ */ N(D1, [["render", R1]]), j1 = {}, F1 = {
288
288
  width: "24",
@@ -297,7 +297,7 @@ const N1 = /* @__PURE__ */ N(D1, [["render", R1]]), j1 = {}, F1 = {
297
297
  U1
298
298
  ];
299
299
  function W1(t, e) {
300
- return p(), g("svg", F1, Z1);
300
+ return p(), y("svg", F1, Z1);
301
301
  }
302
302
  const q1 = /* @__PURE__ */ N(j1, [["render", W1]]), z1 = {}, x1 = {
303
303
  width: "24",
@@ -312,7 +312,7 @@ const q1 = /* @__PURE__ */ N(j1, [["render", W1]]), z1 = {}, x1 = {
312
312
  Y1
313
313
  ];
314
314
  function G1(t, e) {
315
- return p(), g("svg", x1, K1);
315
+ return p(), y("svg", x1, K1);
316
316
  }
317
317
  const X1 = /* @__PURE__ */ N(z1, [["render", G1]]), Q1 = {}, J1 = {
318
318
  width: "24",
@@ -327,7 +327,7 @@ const X1 = /* @__PURE__ */ N(z1, [["render", G1]]), Q1 = {}, J1 = {
327
327
  er
328
328
  ];
329
329
  function ar(t, e) {
330
- return p(), g("svg", J1, tr);
330
+ return p(), y("svg", J1, tr);
331
331
  }
332
332
  const nr = /* @__PURE__ */ N(Q1, [["render", ar]]), sr = {}, ir = {
333
333
  width: "24",
@@ -342,7 +342,7 @@ const nr = /* @__PURE__ */ N(Q1, [["render", ar]]), sr = {}, ir = {
342
342
  or
343
343
  ];
344
344
  function lr(t, e) {
345
- return p(), g("svg", ir, rr);
345
+ return p(), y("svg", ir, rr);
346
346
  }
347
347
  const ur = /* @__PURE__ */ N(sr, [["render", lr]]), cr = {}, dr = {
348
348
  width: "24",
@@ -357,7 +357,7 @@ const ur = /* @__PURE__ */ N(sr, [["render", lr]]), cr = {}, dr = {
357
357
  pr
358
358
  ];
359
359
  function vr(t, e) {
360
- return p(), g("svg", dr, fr);
360
+ return p(), y("svg", dr, fr);
361
361
  }
362
362
  const hr = /* @__PURE__ */ N(cr, [["render", vr]]), mr = {}, Cr = {
363
363
  width: "24",
@@ -372,7 +372,7 @@ const hr = /* @__PURE__ */ N(cr, [["render", vr]]), mr = {}, Cr = {
372
372
  gr
373
373
  ];
374
374
  function yr(t, e) {
375
- return p(), g("svg", Cr, _r);
375
+ return p(), y("svg", Cr, _r);
376
376
  }
377
377
  const br = /* @__PURE__ */ N(mr, [["render", yr]]), wr = {}, $r = {
378
378
  width: "24",
@@ -387,7 +387,7 @@ const br = /* @__PURE__ */ N(mr, [["render", yr]]), wr = {}, $r = {
387
387
  kr
388
388
  ];
389
389
  function Ar(t, e) {
390
- return p(), g("svg", $r, Sr);
390
+ return p(), y("svg", $r, Sr);
391
391
  }
392
392
  const Mr = /* @__PURE__ */ N(wr, [["render", Ar]]), Tr = {}, Or = {
393
393
  width: "24",
@@ -402,7 +402,7 @@ const Mr = /* @__PURE__ */ N(wr, [["render", Ar]]), Tr = {}, Or = {
402
402
  Er
403
403
  ];
404
404
  function Lr(t, e) {
405
- return p(), g("svg", Or, Ir);
405
+ return p(), y("svg", Or, Ir);
406
406
  }
407
407
  const Hr = /* @__PURE__ */ N(Tr, [["render", Lr]]), Dr = {}, Pr = {
408
408
  width: "24",
@@ -417,7 +417,7 @@ const Hr = /* @__PURE__ */ N(Tr, [["render", Lr]]), Dr = {}, Pr = {
417
417
  Vr
418
418
  ];
419
419
  function Rr(t, e) {
420
- return p(), g("svg", Pr, Br);
420
+ return p(), y("svg", Pr, Br);
421
421
  }
422
422
  const Nr = /* @__PURE__ */ N(Dr, [["render", Rr]]), jr = {}, Fr = {
423
423
  width: "24",
@@ -432,7 +432,7 @@ const Nr = /* @__PURE__ */ N(Dr, [["render", Rr]]), jr = {}, Fr = {
432
432
  Ur
433
433
  ];
434
434
  function Wr(t, e) {
435
- return p(), g("svg", Fr, Zr);
435
+ return p(), y("svg", Fr, Zr);
436
436
  }
437
437
  const qr = /* @__PURE__ */ N(jr, [["render", Wr]]), zr = {}, xr = {
438
438
  width: "24",
@@ -447,7 +447,7 @@ const qr = /* @__PURE__ */ N(jr, [["render", Wr]]), zr = {}, xr = {
447
447
  Yr
448
448
  ];
449
449
  function Gr(t, e) {
450
- return p(), g("svg", xr, Kr);
450
+ return p(), y("svg", xr, Kr);
451
451
  }
452
452
  const Xr = /* @__PURE__ */ N(zr, [["render", Gr]]), Qr = {}, Jr = {
453
453
  width: "24",
@@ -462,7 +462,7 @@ const Xr = /* @__PURE__ */ N(zr, [["render", Gr]]), Qr = {}, Jr = {
462
462
  el
463
463
  ];
464
464
  function al(t, e) {
465
- return p(), g("svg", Jr, tl);
465
+ return p(), y("svg", Jr, tl);
466
466
  }
467
467
  const nl = /* @__PURE__ */ N(Qr, [["render", al]]), sl = {}, il = {
468
468
  width: "24",
@@ -477,7 +477,7 @@ const nl = /* @__PURE__ */ N(Qr, [["render", al]]), sl = {}, il = {
477
477
  ol
478
478
  ];
479
479
  function ll(t, e) {
480
- return p(), g("svg", il, rl);
480
+ return p(), y("svg", il, rl);
481
481
  }
482
482
  const ul = /* @__PURE__ */ N(sl, [["render", ll]]), cl = {}, dl = {
483
483
  width: "24",
@@ -492,7 +492,7 @@ const ul = /* @__PURE__ */ N(sl, [["render", ll]]), cl = {}, dl = {
492
492
  pl
493
493
  ];
494
494
  function vl(t, e) {
495
- return p(), g("svg", dl, fl);
495
+ return p(), y("svg", dl, fl);
496
496
  }
497
497
  const hl = /* @__PURE__ */ N(cl, [["render", vl]]), ml = {}, Cl = {
498
498
  width: "24",
@@ -507,7 +507,7 @@ const hl = /* @__PURE__ */ N(cl, [["render", vl]]), ml = {}, Cl = {
507
507
  gl
508
508
  ];
509
509
  function yl(t, e) {
510
- return p(), g("svg", Cl, _l);
510
+ return p(), y("svg", Cl, _l);
511
511
  }
512
512
  const bl = /* @__PURE__ */ N(ml, [["render", yl]]), wl = {}, $l = {
513
513
  width: "24",
@@ -522,7 +522,7 @@ const bl = /* @__PURE__ */ N(ml, [["render", yl]]), wl = {}, $l = {
522
522
  kl
523
523
  ];
524
524
  function Al(t, e) {
525
- return p(), g("svg", $l, Sl);
525
+ return p(), y("svg", $l, Sl);
526
526
  }
527
527
  const Ml = /* @__PURE__ */ N(wl, [["render", Al]]), Tl = {}, Ol = {
528
528
  width: "24",
@@ -537,7 +537,7 @@ const Ml = /* @__PURE__ */ N(wl, [["render", Al]]), Tl = {}, Ol = {
537
537
  El
538
538
  ];
539
539
  function Ll(t, e) {
540
- return p(), g("svg", Ol, Il);
540
+ return p(), y("svg", Ol, Il);
541
541
  }
542
542
  const Hl = /* @__PURE__ */ N(Tl, [["render", Ll]]), Dl = {}, Pl = {
543
543
  width: "24",
@@ -552,7 +552,7 @@ const Hl = /* @__PURE__ */ N(Tl, [["render", Ll]]), Dl = {}, Pl = {
552
552
  Vl
553
553
  ];
554
554
  function Rl(t, e) {
555
- return p(), g("svg", Pl, Bl);
555
+ return p(), y("svg", Pl, Bl);
556
556
  }
557
557
  const Nl = /* @__PURE__ */ N(Dl, [["render", Rl]]), jl = {}, Fl = {
558
558
  width: "24",
@@ -567,7 +567,7 @@ const Nl = /* @__PURE__ */ N(Dl, [["render", Rl]]), jl = {}, Fl = {
567
567
  Ul
568
568
  ];
569
569
  function Wl(t, e) {
570
- return p(), g("svg", Fl, Zl);
570
+ return p(), y("svg", Fl, Zl);
571
571
  }
572
572
  const ql = /* @__PURE__ */ N(jl, [["render", Wl]]), zl = {}, xl = {
573
573
  width: "24",
@@ -582,7 +582,7 @@ const ql = /* @__PURE__ */ N(jl, [["render", Wl]]), zl = {}, xl = {
582
582
  Yl
583
583
  ];
584
584
  function Gl(t, e) {
585
- return p(), g("svg", xl, Kl);
585
+ return p(), y("svg", xl, Kl);
586
586
  }
587
587
  const Xl = /* @__PURE__ */ N(zl, [["render", Gl]]), Ql = {}, Jl = {
588
588
  width: "24",
@@ -597,7 +597,7 @@ const Xl = /* @__PURE__ */ N(zl, [["render", Gl]]), Ql = {}, Jl = {
597
597
  eu
598
598
  ];
599
599
  function au(t, e) {
600
- return p(), g("svg", Jl, tu);
600
+ return p(), y("svg", Jl, tu);
601
601
  }
602
602
  const nu = /* @__PURE__ */ N(Ql, [["render", au]]), su = {}, iu = {
603
603
  width: "24",
@@ -612,7 +612,7 @@ const nu = /* @__PURE__ */ N(Ql, [["render", au]]), su = {}, iu = {
612
612
  ou
613
613
  ];
614
614
  function lu(t, e) {
615
- return p(), g("svg", iu, ru);
615
+ return p(), y("svg", iu, ru);
616
616
  }
617
617
  const uu = /* @__PURE__ */ N(su, [["render", lu]]), cu = x({
618
618
  name: "LoadingIcon"
@@ -644,7 +644,7 @@ const Sn = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
644
644
  vu
645
645
  ];
646
646
  function mu(t, e, a, n, s, o) {
647
- return p(), g("svg", du, hu);
647
+ return p(), y("svg", du, hu);
648
648
  }
649
649
  const Cu = /* @__PURE__ */ N(cu, [["render", mu], ["__scopeId", "data-v-ad6da4a9"]]), gu = {}, _u = {
650
650
  xmlns: "http://www.w3.org/2000/svg",
@@ -655,7 +655,7 @@ const Cu = /* @__PURE__ */ N(cu, [["render", mu], ["__scopeId", "data-v-ad6da4a9
655
655
  yu
656
656
  ];
657
657
  function wu(t, e) {
658
- return p(), g("svg", _u, bu);
658
+ return p(), y("svg", _u, bu);
659
659
  }
660
660
  const $u = /* @__PURE__ */ N(gu, [["render", wu]]), ku = {}, Su = {
661
661
  width: "24",
@@ -670,7 +670,7 @@ const $u = /* @__PURE__ */ N(gu, [["render", wu]]), ku = {}, Su = {
670
670
  Au
671
671
  ];
672
672
  function Tu(t, e) {
673
- return p(), g("svg", Su, Mu);
673
+ return p(), y("svg", Su, Mu);
674
674
  }
675
675
  const Ou = /* @__PURE__ */ N(ku, [["render", Tu]]), Eu = {}, Iu = {
676
676
  width: "24",
@@ -685,7 +685,7 @@ const Ou = /* @__PURE__ */ N(ku, [["render", Tu]]), Eu = {}, Iu = {
685
685
  Lu
686
686
  ];
687
687
  function Du(t, e) {
688
- return p(), g("svg", Iu, Hu);
688
+ return p(), y("svg", Iu, Hu);
689
689
  }
690
690
  const Pu = /* @__PURE__ */ N(Eu, [["render", Du]]), Vu = {}, Bu = {
691
691
  width: "24",
@@ -700,7 +700,7 @@ const Pu = /* @__PURE__ */ N(Eu, [["render", Du]]), Vu = {}, Bu = {
700
700
  Ru
701
701
  ];
702
702
  function ju(t, e) {
703
- return p(), g("svg", Bu, Nu);
703
+ return p(), y("svg", Bu, Nu);
704
704
  }
705
705
  const Fu = /* @__PURE__ */ N(Vu, [["render", ju]]), Uu = {}, Zu = {
706
706
  width: "24",
@@ -715,7 +715,7 @@ const Fu = /* @__PURE__ */ N(Vu, [["render", ju]]), Uu = {}, Zu = {
715
715
  Wu
716
716
  ];
717
717
  function zu(t, e) {
718
- return p(), g("svg", Zu, qu);
718
+ return p(), y("svg", Zu, qu);
719
719
  }
720
720
  const xu = /* @__PURE__ */ N(Uu, [["render", zu]]), Yu = {}, Ku = {
721
721
  width: "24",
@@ -730,7 +730,7 @@ const xu = /* @__PURE__ */ N(Uu, [["render", zu]]), Yu = {}, Ku = {
730
730
  Gu
731
731
  ];
732
732
  function Qu(t, e) {
733
- return p(), g("svg", Ku, Xu);
733
+ return p(), y("svg", Ku, Xu);
734
734
  }
735
735
  const Ju = /* @__PURE__ */ N(Yu, [["render", Qu]]), ec = {}, tc = {
736
736
  width: "24",
@@ -745,7 +745,7 @@ const Ju = /* @__PURE__ */ N(Yu, [["render", Qu]]), ec = {}, tc = {
745
745
  ac
746
746
  ];
747
747
  function sc(t, e) {
748
- return p(), g("svg", tc, nc);
748
+ return p(), y("svg", tc, nc);
749
749
  }
750
750
  const ic = /* @__PURE__ */ N(ec, [["render", sc]]), oc = {}, rc = {
751
751
  width: "24",
@@ -760,7 +760,7 @@ const ic = /* @__PURE__ */ N(ec, [["render", sc]]), oc = {}, rc = {
760
760
  lc
761
761
  ];
762
762
  function cc(t, e) {
763
- return p(), g("svg", rc, uc);
763
+ return p(), y("svg", rc, uc);
764
764
  }
765
765
  const dc = /* @__PURE__ */ N(oc, [["render", cc]]), pc = {}, fc = {
766
766
  width: "24",
@@ -775,7 +775,7 @@ const dc = /* @__PURE__ */ N(oc, [["render", cc]]), pc = {}, fc = {
775
775
  vc
776
776
  ];
777
777
  function mc(t, e) {
778
- return p(), g("svg", fc, hc);
778
+ return p(), y("svg", fc, hc);
779
779
  }
780
780
  const Cc = /* @__PURE__ */ N(pc, [["render", mc]]), gc = {}, _c = {
781
781
  width: "24",
@@ -790,7 +790,7 @@ const Cc = /* @__PURE__ */ N(pc, [["render", mc]]), gc = {}, _c = {
790
790
  yc
791
791
  ];
792
792
  function wc(t, e) {
793
- return p(), g("svg", _c, bc);
793
+ return p(), y("svg", _c, bc);
794
794
  }
795
795
  const $c = /* @__PURE__ */ N(gc, [["render", wc]]), kc = {}, Sc = {
796
796
  width: "24",
@@ -805,7 +805,7 @@ const $c = /* @__PURE__ */ N(gc, [["render", wc]]), kc = {}, Sc = {
805
805
  Ac
806
806
  ];
807
807
  function Tc(t, e) {
808
- return p(), g("svg", Sc, Mc);
808
+ return p(), y("svg", Sc, Mc);
809
809
  }
810
810
  const Oc = /* @__PURE__ */ N(kc, [["render", Tc]]), Ec = {}, Ic = {
811
811
  width: "24",
@@ -820,7 +820,7 @@ const Oc = /* @__PURE__ */ N(kc, [["render", Tc]]), Ec = {}, Ic = {
820
820
  Lc
821
821
  ];
822
822
  function Dc(t, e) {
823
- return p(), g("svg", Ic, Hc);
823
+ return p(), y("svg", Ic, Hc);
824
824
  }
825
825
  const Pc = /* @__PURE__ */ N(Ec, [["render", Dc]]), Vc = {}, Bc = {
826
826
  width: "24",
@@ -835,7 +835,7 @@ const Pc = /* @__PURE__ */ N(Ec, [["render", Dc]]), Vc = {}, Bc = {
835
835
  Rc
836
836
  ];
837
837
  function jc(t, e) {
838
- return p(), g("svg", Bc, Nc);
838
+ return p(), y("svg", Bc, Nc);
839
839
  }
840
840
  const Fc = /* @__PURE__ */ N(Vc, [["render", jc]]), Uc = {}, Zc = {
841
841
  width: "26",
@@ -847,7 +847,7 @@ const Fc = /* @__PURE__ */ N(Vc, [["render", jc]]), Uc = {}, Zc = {
847
847
  Wc
848
848
  ];
849
849
  function zc(t, e) {
850
- return p(), g("svg", Zc, qc);
850
+ return p(), y("svg", Zc, qc);
851
851
  }
852
852
  const xc = /* @__PURE__ */ N(Uc, [["render", zc]]), Yc = {}, Kc = {
853
853
  width: "24",
@@ -862,7 +862,7 @@ const xc = /* @__PURE__ */ N(Uc, [["render", zc]]), Yc = {}, Kc = {
862
862
  Gc
863
863
  ];
864
864
  function Qc(t, e) {
865
- return p(), g("svg", Kc, Xc);
865
+ return p(), y("svg", Kc, Xc);
866
866
  }
867
867
  const Jc = /* @__PURE__ */ N(Yc, [["render", Qc]]), ed = {}, td = {
868
868
  width: "24",
@@ -877,7 +877,7 @@ const Jc = /* @__PURE__ */ N(Yc, [["render", Qc]]), ed = {}, td = {
877
877
  ad
878
878
  ];
879
879
  function sd(t, e) {
880
- return p(), g("svg", td, nd);
880
+ return p(), y("svg", td, nd);
881
881
  }
882
882
  const id = /* @__PURE__ */ N(ed, [["render", sd]]), od = {}, rd = {
883
883
  width: "24",
@@ -892,7 +892,7 @@ const id = /* @__PURE__ */ N(ed, [["render", sd]]), od = {}, rd = {
892
892
  ld
893
893
  ];
894
894
  function cd(t, e) {
895
- return p(), g("svg", rd, ud);
895
+ return p(), y("svg", rd, ud);
896
896
  }
897
897
  const dd = /* @__PURE__ */ N(od, [["render", cd]]), pd = {}, fd = {
898
898
  width: "24",
@@ -907,7 +907,7 @@ const dd = /* @__PURE__ */ N(od, [["render", cd]]), pd = {}, fd = {
907
907
  vd
908
908
  ];
909
909
  function md(t, e) {
910
- return p(), g("svg", fd, hd);
910
+ return p(), y("svg", fd, hd);
911
911
  }
912
912
  const Cd = /* @__PURE__ */ N(pd, [["render", md]]), gd = {}, _d = {
913
913
  width: "24",
@@ -922,7 +922,7 @@ const Cd = /* @__PURE__ */ N(pd, [["render", md]]), gd = {}, _d = {
922
922
  yd
923
923
  ];
924
924
  function wd(t, e) {
925
- return p(), g("svg", _d, bd);
925
+ return p(), y("svg", _d, bd);
926
926
  }
927
927
  const $d = /* @__PURE__ */ N(gd, [["render", wd]]), kd = {}, Sd = {
928
928
  width: "24",
@@ -937,7 +937,7 @@ const $d = /* @__PURE__ */ N(gd, [["render", wd]]), kd = {}, Sd = {
937
937
  Ad
938
938
  ];
939
939
  function Td(t, e) {
940
- return p(), g("svg", Sd, Md);
940
+ return p(), y("svg", Sd, Md);
941
941
  }
942
942
  const Od = /* @__PURE__ */ N(kd, [["render", Td]]), Ed = {}, Id = {
943
943
  width: "24",
@@ -952,7 +952,7 @@ const Od = /* @__PURE__ */ N(kd, [["render", Td]]), Ed = {}, Id = {
952
952
  Ld
953
953
  ];
954
954
  function Dd(t, e) {
955
- return p(), g("svg", Id, Hd);
955
+ return p(), y("svg", Id, Hd);
956
956
  }
957
957
  const Pd = /* @__PURE__ */ N(Ed, [["render", Dd]]), Vd = {}, Bd = {
958
958
  width: "24",
@@ -967,7 +967,7 @@ const Pd = /* @__PURE__ */ N(Ed, [["render", Dd]]), Vd = {}, Bd = {
967
967
  Rd
968
968
  ];
969
969
  function jd(t, e) {
970
- return p(), g("svg", Bd, Nd);
970
+ return p(), y("svg", Bd, Nd);
971
971
  }
972
972
  const Fd = /* @__PURE__ */ N(Vd, [["render", jd]]), Ud = {}, Zd = {
973
973
  width: "24",
@@ -982,7 +982,7 @@ const Fd = /* @__PURE__ */ N(Vd, [["render", jd]]), Ud = {}, Zd = {
982
982
  Wd
983
983
  ];
984
984
  function zd(t, e) {
985
- return p(), g("svg", Zd, qd);
985
+ return p(), y("svg", Zd, qd);
986
986
  }
987
987
  const xd = /* @__PURE__ */ N(Ud, [["render", zd]]), Yd = {}, Kd = {
988
988
  width: "24",
@@ -997,7 +997,7 @@ const xd = /* @__PURE__ */ N(Ud, [["render", zd]]), Yd = {}, Kd = {
997
997
  Gd
998
998
  ];
999
999
  function Qd(t, e) {
1000
- return p(), g("svg", Kd, Xd);
1000
+ return p(), y("svg", Kd, Xd);
1001
1001
  }
1002
1002
  const Jd = /* @__PURE__ */ N(Yd, [["render", Qd]]), e2 = {}, t2 = {
1003
1003
  width: "24",
@@ -1012,7 +1012,7 @@ const Jd = /* @__PURE__ */ N(Yd, [["render", Qd]]), e2 = {}, t2 = {
1012
1012
  a2
1013
1013
  ];
1014
1014
  function s2(t, e) {
1015
- return p(), g("svg", t2, n2);
1015
+ return p(), y("svg", t2, n2);
1016
1016
  }
1017
1017
  const i2 = /* @__PURE__ */ N(e2, [["render", s2]]), o2 = {}, r2 = {
1018
1018
  width: "24",
@@ -1027,7 +1027,7 @@ const i2 = /* @__PURE__ */ N(e2, [["render", s2]]), o2 = {}, r2 = {
1027
1027
  l2
1028
1028
  ];
1029
1029
  function c2(t, e) {
1030
- return p(), g("svg", r2, u2);
1030
+ return p(), y("svg", r2, u2);
1031
1031
  }
1032
1032
  const d2 = /* @__PURE__ */ N(o2, [["render", c2]]), p2 = {}, f2 = {
1033
1033
  width: "24",
@@ -1042,7 +1042,7 @@ const d2 = /* @__PURE__ */ N(o2, [["render", c2]]), p2 = {}, f2 = {
1042
1042
  v2
1043
1043
  ];
1044
1044
  function m2(t, e) {
1045
- return p(), g("svg", f2, h2);
1045
+ return p(), y("svg", f2, h2);
1046
1046
  }
1047
1047
  const C2 = /* @__PURE__ */ N(p2, [["render", m2]]), g2 = {}, _2 = {
1048
1048
  width: "24",
@@ -1057,7 +1057,7 @@ const C2 = /* @__PURE__ */ N(p2, [["render", m2]]), g2 = {}, _2 = {
1057
1057
  y2
1058
1058
  ];
1059
1059
  function w2(t, e) {
1060
- return p(), g("svg", _2, b2);
1060
+ return p(), y("svg", _2, b2);
1061
1061
  }
1062
1062
  const $2 = /* @__PURE__ */ N(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1063
1063
  __proto__: null,
@@ -1162,7 +1162,7 @@ const Os = {
1162
1162
  size: { default: Wa.MD }
1163
1163
  },
1164
1164
  setup(t) {
1165
- const e = t, a = A(() => k2[e.name]);
1165
+ const e = t, a = S(() => k2[e.name]);
1166
1166
  return (n, s) => (p(), V(ht(a.value), {
1167
1167
  class: G(["ao-icon", `ao-icon--${n.size}`])
1168
1168
  }, null, 8, ["class"]));
@@ -1186,8 +1186,8 @@ const M2 = ["type"], T2 = {
1186
1186
  corners: { default: () => Os.ROUNDED }
1187
1187
  },
1188
1188
  setup(t) {
1189
- const e = t, a = A(() => e.size), n = A(() => e.isLoading ? "Loading" : e.iconName);
1190
- return (s, o) => (p(), g("button", {
1189
+ const e = t, a = S(() => e.size), n = S(() => e.isLoading ? "Loading" : e.iconName);
1190
+ return (s, o) => (p(), y("button", {
1191
1191
  type: s.type,
1192
1192
  class: G([
1193
1193
  "ao-button",
@@ -1201,7 +1201,7 @@ const M2 = ["type"], T2 = {
1201
1201
  ])
1202
1202
  }, [
1203
1203
  ae(s.$slots, "default", {}, () => [
1204
- s.label ? (p(), g("span", T2, X(s.label), 1)) : T("", !0)
1204
+ s.label ? (p(), y("span", T2, X(s.label), 1)) : T("", !0)
1205
1205
  ]),
1206
1206
  n.value ? (p(), V(pe, {
1207
1207
  key: 0,
@@ -1213,7 +1213,7 @@ const M2 = ["type"], T2 = {
1213
1213
  }
1214
1214
  });
1215
1215
  function Es(t) {
1216
- const e = te(!1), a = te(""), n = A(() => "value" in t.value ? "value" : "innerHTML"), s = () => {
1216
+ const e = te(!1), a = te(""), n = S(() => "value" in t.value ? "value" : "innerHTML"), s = () => {
1217
1217
  e.value = !e.value;
1218
1218
  }, o = (l) => {
1219
1219
  e.value = l;
@@ -1253,38 +1253,38 @@ const ye = /* @__PURE__ */ x({
1253
1253
  },
1254
1254
  emits: ["update:title", "toggle-is-editing"],
1255
1255
  setup(t, { emit: e }) {
1256
- const a = t, n = te(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = Es(n), l = A(() => a.title.replace(/\s*\(\d+\)$/, "")), c = A(() => s.value ? "input" : a.tag || `h${a.level}`), u = A(() => a.isEditable ? s.value ? {
1256
+ const a = t, n = te(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = Es(n), l = S(() => a.title.replace(/\s*\(\d+\)$/, "")), c = S(() => s.value ? "input" : a.tag || `h${a.level}`), u = S(() => a.isEditable ? s.value ? {
1257
1257
  change: f,
1258
- click: (y) => y.stopPropagation(),
1258
+ click: (A) => A.stopPropagation(),
1259
1259
  blur: h
1260
1260
  } : {
1261
1261
  click: b,
1262
1262
  focus: b
1263
- } : {}), f = i((y, S) => {
1264
- const C = S.target.value;
1265
- e("update:title", C);
1263
+ } : {}), f = i((A, _) => {
1264
+ const g = _.target.value;
1265
+ e("update:title", g);
1266
1266
  }), d = r(), h = async () => {
1267
1267
  s.value && o(!1);
1268
1268
  }, w = () => {
1269
1269
  e("toggle-is-editing", !1);
1270
- }, b = (y) => {
1271
- y.stopPropagation(), s.value || o(!0);
1270
+ }, b = (A) => {
1271
+ A.stopPropagation(), s.value || o(!0);
1272
1272
  };
1273
1273
  return de(
1274
1274
  () => a.isEditable,
1275
- (y) => {
1276
- y || d();
1275
+ (A) => {
1276
+ A || d();
1277
1277
  }
1278
- ), (y, S) => (p(), V(ht(c.value), He({
1279
- id: y.id,
1278
+ ), (A, _) => (p(), V(ht(c.value), He({
1279
+ id: A.id,
1280
1280
  ref_key: "target",
1281
1281
  ref: n,
1282
1282
  class: [
1283
1283
  "ao-title",
1284
- `ao-title--${y.level}`,
1284
+ `ao-title--${A.level}`,
1285
1285
  {
1286
- [`ao-title--${y.color}`]: !!y.color,
1287
- "ao-title--editable": y.isEditable,
1286
+ [`ao-title--${A.color}`]: !!A.color,
1287
+ "ao-title--editable": A.isEditable,
1288
1288
  "ao-field__input ao-title--editing": ee(s),
1289
1289
  "ao-title--readonly": !ee(s)
1290
1290
  }
@@ -1297,7 +1297,7 @@ const ye = /* @__PURE__ */ x({
1297
1297
  onKeydown: dt(ee(d), ["esc"])
1298
1298
  }), {
1299
1299
  default: q(() => [
1300
- Fa(X(y.title), 1)
1300
+ Fa(X(A.title), 1)
1301
1301
  ]),
1302
1302
  _: 1
1303
1303
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1345,14 +1345,14 @@ const O2 = {
1345
1345
  class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1346
1346
  }, {
1347
1347
  default: q(() => [
1348
- n.isDraggable ? (p(), g("div", O2, [
1348
+ n.isDraggable ? (p(), y("div", O2, [
1349
1349
  M(pe, {
1350
1350
  name: "DragIndicator",
1351
1351
  class: "ao-card-horiz__drag-handle"
1352
1352
  })
1353
1353
  ])) : T("", !0),
1354
1354
  v("div", E2, [
1355
- n.icon ? (p(), g("div", I2, [
1355
+ n.icon ? (p(), y("div", I2, [
1356
1356
  M(pe, {
1357
1357
  class: "ao-card-horiz__icon",
1358
1358
  name: n.icon,
@@ -1369,20 +1369,20 @@ const O2 = {
1369
1369
  "onUpdate:title": a
1370
1370
  }, null, 8, ["id", "title"]),
1371
1371
  ae(n.$slots, "subtitle", {}, () => [
1372
- n.subtitle ? (p(), g("span", H2, X(n.subtitle), 1)) : T("", !0)
1372
+ n.subtitle ? (p(), y("span", H2, X(n.subtitle), 1)) : T("", !0)
1373
1373
  ])
1374
1374
  ]),
1375
- n.$slots.header ? (p(), g("div", D2, [
1375
+ n.$slots.header ? (p(), y("div", D2, [
1376
1376
  ae(n.$slots, "header")
1377
1377
  ])) : T("", !0)
1378
1378
  ]),
1379
- n.$slots.default ? (p(), g("div", P2, [
1379
+ n.$slots.default ? (p(), y("div", P2, [
1380
1380
  ae(n.$slots, "default")
1381
1381
  ])) : T("", !0),
1382
- n.$slots.footer ? (p(), g("div", V2, [
1382
+ n.$slots.footer ? (p(), y("div", V2, [
1383
1383
  ae(n.$slots, "footer")
1384
1384
  ])) : T("", !0),
1385
- n.$slots.secondary ? (p(), g("div", B2, [
1385
+ n.$slots.secondary ? (p(), y("div", B2, [
1386
1386
  ae(n.$slots, "secondary")
1387
1387
  ])) : T("", !0)
1388
1388
  ]),
@@ -1402,10 +1402,10 @@ const qa = /* @__PURE__ */ x({
1402
1402
  },
1403
1403
  emits: ["click", "close"],
1404
1404
  setup(t) {
1405
- const e = t, a = A(() => e.clickable ? "button" : "span"), n = A(
1405
+ const e = t, a = S(() => e.clickable ? "button" : "span"), n = S(
1406
1406
  () => a.value === "button" ? { type: "button" } : {}
1407
1407
  );
1408
- return (s, o) => (p(), g("div", {
1408
+ return (s, o) => (p(), y("div", {
1409
1409
  class: G([
1410
1410
  "ao-tag",
1411
1411
  s.color ? `ao-tag--${s.color}` : "",
@@ -1423,7 +1423,7 @@ const qa = /* @__PURE__ */ x({
1423
1423
  ]),
1424
1424
  _: 1
1425
1425
  }, 16)),
1426
- s.closable ? (p(), g("button", {
1426
+ s.closable ? (p(), y("button", {
1427
1427
  key: 0,
1428
1428
  class: "ao-tag__close",
1429
1429
  onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
@@ -1597,10 +1597,10 @@ function Vs(t, e) {
1597
1597
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1598
1598
  var w = /* @__PURE__ */ new Date(0);
1599
1599
  w.setUTCFullYear(f + 1, 0, h), w.setUTCHours(0, 0, 0, 0);
1600
- var b = Pa(w, e), y = /* @__PURE__ */ new Date(0);
1601
- y.setUTCFullYear(f, 0, h), y.setUTCHours(0, 0, 0, 0);
1602
- var S = Pa(y, e);
1603
- return u.getTime() >= b.getTime() ? f + 1 : u.getTime() >= S.getTime() ? f : f - 1;
1600
+ var b = Pa(w, e), A = /* @__PURE__ */ new Date(0);
1601
+ A.setUTCFullYear(f, 0, h), A.setUTCHours(0, 0, 0, 0);
1602
+ var _ = Pa(A, e);
1603
+ return u.getTime() >= b.getTime() ? f + 1 : u.getTime() >= _.getTime() ? f : f - 1;
1604
1604
  }
1605
1605
  function J2(t, e) {
1606
1606
  var a, n, s, o, i, r, l, c;
@@ -2722,12 +2722,12 @@ var K0 = {
2722
2722
  const Rs = K0;
2723
2723
  var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Q0 = /^'([^]*?)'?$/, J0 = /''/g, e3 = /[a-zA-Z]/;
2724
2724
  function Ns(t, e, a) {
2725
- var n, s, o, i, r, l, c, u, f, d, h, w, b, y, S, _, C, H;
2725
+ var n, s, o, i, r, l, c, u, f, d, h, w, b, A, _, C, g, H;
2726
2726
  ge(2, arguments);
2727
2727
  var I = String(e), L = va(), F = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : Rs, U = Qe((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = L.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2728
2728
  if (!(U >= 1 && U <= 7))
2729
2729
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2730
- var z = Qe((h = (w = (b = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (S = a.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && b !== void 0 ? b : L.weekStartsOn) !== null && w !== void 0 ? w : (C = L.locale) === null || C === void 0 || (H = C.options) === null || H === void 0 ? void 0 : H.weekStartsOn) !== null && h !== void 0 ? h : 0);
2730
+ var z = Qe((h = (w = (b = (A = a == null ? void 0 : a.weekStartsOn) !== null && A !== void 0 ? A : a == null || (_ = a.locale) === null || _ === void 0 || (C = _.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && b !== void 0 ? b : L.weekStartsOn) !== null && w !== void 0 ? w : (g = L.locale) === null || g === void 0 || (H = g.options) === null || H === void 0 ? void 0 : H.weekStartsOn) !== null && h !== void 0 ? h : 0);
2731
2731
  if (!(z >= 0 && z <= 6))
2732
2732
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2733
2733
  if (!F.localize)
@@ -2771,25 +2771,25 @@ function t3(t) {
2771
2771
  function a3(t, e, a) {
2772
2772
  var n, s, o, i, r, l, c, u, f, d;
2773
2773
  ge(2, arguments);
2774
- var h = be(t), w = be(e), b = va(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Rs, S = Qe((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : b.weekStartsOn) !== null && i !== void 0 ? i : (f = b.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
2775
- if (!y.localize)
2774
+ var h = be(t), w = be(e), b = va(), A = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Rs, _ = Qe((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : b.weekStartsOn) !== null && i !== void 0 ? i : (f = b.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
2775
+ if (!A.localize)
2776
2776
  throw new RangeError("locale must contain localize property");
2777
- if (!y.formatLong)
2777
+ if (!A.formatLong)
2778
2778
  throw new RangeError("locale must contain formatLong property");
2779
- if (!y.formatRelative)
2779
+ if (!A.formatRelative)
2780
2780
  throw new RangeError("locale must contain formatRelative property");
2781
- var _ = q2(h, w);
2782
- if (isNaN(_))
2781
+ var C = q2(h, w);
2782
+ if (isNaN(C))
2783
2783
  throw new RangeError("Invalid time value");
2784
- var C;
2785
- _ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
2786
- var H = gn(h, ra(h)), I = gn(w, ra(w)), L = y.formatRelative(C, H, I, {
2787
- locale: y,
2788
- weekStartsOn: S
2784
+ var g;
2785
+ C < -6 ? g = "other" : C < -1 ? g = "lastWeek" : C < 0 ? g = "yesterday" : C < 1 ? g = "today" : C < 2 ? g = "tomorrow" : C < 7 ? g = "nextWeek" : g = "other";
2786
+ var H = gn(h, ra(h)), I = gn(w, ra(w)), L = A.formatRelative(g, H, I, {
2787
+ locale: A,
2788
+ weekStartsOn: _
2789
2789
  });
2790
2790
  return Ns(h, L, {
2791
- locale: y,
2792
- weekStartsOn: S
2791
+ locale: A,
2792
+ weekStartsOn: _
2793
2793
  });
2794
2794
  }
2795
2795
  function la(t, e) {
@@ -3488,12 +3488,12 @@ function Ws() {
3488
3488
  }
3489
3489
  let f;
3490
3490
  for (let w = l.getScale(); w > 0; c = f) {
3491
- const b = w - 1, y = l.setScale(b, !0);
3492
- if (f = c.setScale(b, !1), y.compareTo(f) === 0)
3493
- return s.checkMid(i, r, y);
3494
- if (y.compareTo(f) > 0)
3491
+ const b = w - 1, A = l.setScale(b, !0);
3492
+ if (f = c.setScale(b, !1), A.compareTo(f) === 0)
3493
+ return s.checkMid(i, r, A);
3494
+ if (A.compareTo(f) > 0)
3495
3495
  break;
3496
- w = b, l = y;
3496
+ w = b, l = A;
3497
3497
  }
3498
3498
  let d = s.middleInternal(i, r, l, c), h;
3499
3499
  for (let w = d.getScale(); w > 0; w = h) {
@@ -3706,19 +3706,19 @@ const zs = (t) => {
3706
3706
  },
3707
3707
  emits: ["close"],
3708
3708
  setup(t, { emit: e }) {
3709
- const a = t, n = A(() => [
3709
+ const a = t, n = S(() => [
3710
3710
  `ao-avatar--${a.color}`,
3711
3711
  ...a.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${a.size}`] : ["ao-avatar", `ao-avatar--${a.size}`]
3712
3712
  ]), s = M3(a.userName), o = (i) => {
3713
3713
  e("close", i);
3714
3714
  };
3715
- return (i, r) => (p(), g("div", {
3715
+ return (i, r) => (p(), y("div", {
3716
3716
  role: "img",
3717
3717
  class: G(n.value),
3718
3718
  title: i.userName
3719
3719
  }, [
3720
- i.avatarUrl ? T("", !0) : (p(), g("span", I3, X(ee(s)), 1)),
3721
- i.avatarUrl ? (p(), g("img", {
3720
+ i.avatarUrl ? T("", !0) : (p(), y("span", I3, X(ee(s)), 1)),
3721
+ i.avatarUrl ? (p(), y("img", {
3722
3722
  key: 1,
3723
3723
  className: "ao-avatar__image",
3724
3724
  src: i.avatarUrl
@@ -3793,8 +3793,8 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3793
3793
  }),
3794
3794
  v("span", F3, X(n.$t("template.phases.title")), 1)
3795
3795
  ]),
3796
- n.phases ? (p(), g("ul", U3, [
3797
- (p(!0), g(ve, null, _e(n.phases, (o) => (p(), V(qa, {
3796
+ n.phases ? (p(), y("ul", U3, [
3797
+ (p(!0), y(ve, null, _e(n.phases, (o) => (p(), V(qa, {
3798
3798
  key: o.id,
3799
3799
  label: o.name || o.id,
3800
3800
  color: "primary",
@@ -3810,7 +3810,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3810
3810
  name: "footer",
3811
3811
  fn: q(() => [
3812
3812
  v("div", Z3, [
3813
- n.updatedAt ? (p(), g("div", W3, [
3813
+ n.updatedAt ? (p(), y("div", W3, [
3814
3814
  v("div", q3, [
3815
3815
  v("span", z3, X(n.$t("template.updatedAt.label")), 1)
3816
3816
  ]),
@@ -3818,7 +3818,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3818
3818
  v("span", null, X(n.updatedAt), 1)
3819
3819
  ])
3820
3820
  ])) : T("", !0),
3821
- n.updatedBy ? (p(), g("div", Y3, [
3821
+ n.updatedBy ? (p(), y("div", Y3, [
3822
3822
  v("div", K3, [
3823
3823
  v("span", G3, X(n.$t("template.updatedBy.label")), 1)
3824
3824
  ]),
@@ -3843,7 +3843,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
3843
3843
  },
3844
3844
  emits: ["goBack"],
3845
3845
  setup(t) {
3846
- return (e, a) => (p(), g("header", J3, [
3846
+ return (e, a) => (p(), y("header", J3, [
3847
3847
  v("div", e5, [
3848
3848
  e.canGoBack ? (p(), V(ue, {
3849
3849
  key: 0,
@@ -3853,7 +3853,7 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
3853
3853
  })) : T("", !0),
3854
3854
  ae(e.$slots, "primary")
3855
3855
  ]),
3856
- e.$slots.secondary ? (p(), g("div", t5, [
3856
+ e.$slots.secondary ? (p(), y("div", t5, [
3857
3857
  ae(e.$slots, "secondary")
3858
3858
  ])) : T("", !0)
3859
3859
  ]));
@@ -3875,8 +3875,8 @@ const a5 = ["type"], n5 = {
3875
3875
  corners: { default: () => Os.ROUNDED }
3876
3876
  },
3877
3877
  setup(t) {
3878
- const e = t, a = A(() => e.size), n = A(() => e.isLoading ? "Loading" : e.iconName);
3879
- return (s, o) => (p(), g("button", {
3878
+ const e = t, a = S(() => e.size), n = S(() => e.isLoading ? "Loading" : e.iconName);
3879
+ return (s, o) => (p(), y("button", {
3880
3880
  type: s.type,
3881
3881
  class: G([
3882
3882
  "ao-button-card",
@@ -3886,7 +3886,7 @@ const a5 = ["type"], n5 = {
3886
3886
  ])
3887
3887
  }, [
3888
3888
  ae(s.$slots, "default", {}, () => [
3889
- s.label ? (p(), g("span", n5, X(s.label), 1)) : T("", !0)
3889
+ s.label ? (p(), y("span", n5, X(s.label), 1)) : T("", !0)
3890
3890
  ]),
3891
3891
  n.value ? (p(), V(pe, {
3892
3892
  key: 0,
@@ -3923,8 +3923,8 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
3923
3923
  return (i, r) => (p(), V(Is, { "onUpdate:title": a }, {
3924
3924
  footer: q(() => [
3925
3925
  v("ul", s5, [
3926
- (p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
3927
- i.$props[l] ? (p(), g("li", i5, [
3926
+ (p(), y(ve, null, _e(n, (l) => (p(), y(ve, { key: l }, [
3927
+ i.$props[l] ? (p(), y("li", i5, [
3928
3928
  M(pe, {
3929
3929
  name: s[l],
3930
3930
  size: "sm"
@@ -3957,10 +3957,10 @@ const l5 = /* @__PURE__ */ x({
3957
3957
  milestones: {}
3958
3958
  },
3959
3959
  setup(t) {
3960
- const e = t, a = A(() => {
3960
+ const e = t, a = S(() => {
3961
3961
  var s;
3962
3962
  return (s = e.milestones) == null ? void 0 : s.length;
3963
- }), n = A(() => e.milestones ? qs(e.milestones) : 0);
3963
+ }), n = S(() => e.milestones ? qs(e.milestones) : 0);
3964
3964
  return (s, o) => (p(), V(En, He({
3965
3965
  id: s.id,
3966
3966
  title: s.name,
@@ -3979,7 +3979,7 @@ const l5 = /* @__PURE__ */ x({
3979
3979
  activities: {}
3980
3980
  },
3981
3981
  setup(t) {
3982
- const e = t, a = A(() => {
3982
+ const e = t, a = S(() => {
3983
3983
  var n;
3984
3984
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
3985
3985
  });
@@ -4066,7 +4066,7 @@ const l5 = /* @__PURE__ */ x({
4066
4066
  tasks: {}
4067
4067
  },
4068
4068
  setup(t) {
4069
- const e = t, a = A(() => {
4069
+ const e = t, a = S(() => {
4070
4070
  var n;
4071
4071
  return ((n = e.tasks) == null ? void 0 : n.length) || 0;
4072
4072
  });
@@ -4158,7 +4158,7 @@ const l5 = /* @__PURE__ */ x({
4158
4158
  },
4159
4159
  emits: ["close"],
4160
4160
  setup(t) {
4161
- return (e, a) => (p(), g("div", {
4161
+ return (e, a) => (p(), y("div", {
4162
4162
  class: G(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4163
4163
  }, [
4164
4164
  v("div", {
@@ -4166,7 +4166,7 @@ const l5 = /* @__PURE__ */ x({
4166
4166
  onClick: a[0] || (a[0] = (n) => e.$emit("close"))
4167
4167
  }),
4168
4168
  v("div", h5, [
4169
- e.$slots.header ? (p(), g("div", m5, [
4169
+ e.$slots.header ? (p(), y("div", m5, [
4170
4170
  v("div", C5, [
4171
4171
  M(ue, {
4172
4172
  "icon-name": "CloseRounded",
@@ -4182,7 +4182,7 @@ const l5 = /* @__PURE__ */ x({
4182
4182
  v("div", _5, [
4183
4183
  ae(e.$slots, "default")
4184
4184
  ]),
4185
- e.$slots.footer ? (p(), g("footer", y5, [
4185
+ e.$slots.footer ? (p(), y("footer", y5, [
4186
4186
  ae(e.$slots, "footer")
4187
4187
  ])) : T("", !0)
4188
4188
  ])
@@ -4347,14 +4347,14 @@ const E5 = async (t, e, a) => {
4347
4347
  } = vs(c, n, l), d = n, h = {}, w = 0;
4348
4348
  for (let b = 0; b < r.length; b++) {
4349
4349
  const {
4350
- name: y,
4351
- fn: S
4350
+ name: A,
4351
+ fn: _
4352
4352
  } = r[b], {
4353
- x: _,
4354
- y: C,
4353
+ x: C,
4354
+ y: g,
4355
4355
  data: H,
4356
4356
  reset: I
4357
- } = await S({
4357
+ } = await _({
4358
4358
  x: u,
4359
4359
  y: f,
4360
4360
  initialPlacement: n,
@@ -4368,10 +4368,10 @@ const E5 = async (t, e, a) => {
4368
4368
  floating: e
4369
4369
  }
4370
4370
  });
4371
- if (u = _ ?? u, f = C ?? f, h = {
4371
+ if (u = C ?? u, f = g ?? f, h = {
4372
4372
  ...h,
4373
- [y]: {
4374
- ...h[y],
4373
+ [A]: {
4374
+ ...h[A],
4375
4375
  ...H
4376
4376
  }
4377
4377
  }, I && w <= 50) {
@@ -4410,31 +4410,31 @@ async function Ks(t, e) {
4410
4410
  elementContext: f = "floating",
4411
4411
  altBoundary: d = !1,
4412
4412
  padding: h = 0
4413
- } = Ln(e, t), w = O5(h), y = r[d ? f === "floating" ? "reference" : "floating" : f], S = Ra(await o.getClippingRect({
4414
- element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
4413
+ } = Ln(e, t), w = O5(h), A = r[d ? f === "floating" ? "reference" : "floating" : f], _ = Ra(await o.getClippingRect({
4414
+ element: (a = await (o.isElement == null ? void 0 : o.isElement(A))) == null || a ? A : A.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
4415
4415
  boundary: c,
4416
4416
  rootBoundary: u,
4417
4417
  strategy: l
4418
- })), _ = f === "floating" ? {
4418
+ })), C = f === "floating" ? {
4419
4419
  ...i.floating,
4420
4420
  x: n,
4421
4421
  y: s
4422
- } : i.reference, C = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(r.floating)), H = await (o.isElement == null ? void 0 : o.isElement(C)) ? await (o.getScale == null ? void 0 : o.getScale(C)) || {
4422
+ } : i.reference, g = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(r.floating)), H = await (o.isElement == null ? void 0 : o.isElement(g)) ? await (o.getScale == null ? void 0 : o.getScale(g)) || {
4423
4423
  x: 1,
4424
4424
  y: 1
4425
4425
  } : {
4426
4426
  x: 1,
4427
4427
  y: 1
4428
4428
  }, I = Ra(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4429
- rect: _,
4430
- offsetParent: C,
4429
+ rect: C,
4430
+ offsetParent: g,
4431
4431
  strategy: l
4432
- }) : _);
4432
+ }) : C);
4433
4433
  return {
4434
- top: (S.top - I.top + w.top) / H.y,
4435
- bottom: (I.bottom - S.bottom + w.bottom) / H.y,
4436
- left: (S.left - I.left + w.left) / H.x,
4437
- right: (I.right - S.right + w.right) / H.x
4434
+ top: (_.top - I.top + w.top) / H.y,
4435
+ bottom: (I.bottom - _.bottom + w.bottom) / H.y,
4436
+ left: (_.left - I.left + w.left) / H.x,
4437
+ right: (I.right - _.right + w.right) / H.x
4438
4438
  };
4439
4439
  }
4440
4440
  const I5 = function(t) {
@@ -4457,16 +4457,16 @@ const I5 = function(t) {
4457
4457
  fallbackStrategy: h = "bestFit",
4458
4458
  fallbackAxisSideDirection: w = "none",
4459
4459
  flipAlignment: b = !0,
4460
- ...y
4460
+ ...A
4461
4461
  } = Ln(t, e);
4462
4462
  if ((a = o.arrow) != null && a.alignmentOffset)
4463
4463
  return {};
4464
- const S = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), H = d || (_ || !b ? [Ba(r)] : S5(r));
4465
- !d && w !== "none" && H.push(...M5(r, b, w, C));
4466
- const I = [r, ...H], L = await Ks(e, y), F = [];
4464
+ const _ = Ft(s), C = Ft(r) === r, g = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), H = d || (C || !b ? [Ba(r)] : S5(r));
4465
+ !d && w !== "none" && H.push(...M5(r, b, w, g));
4466
+ const I = [r, ...H], L = await Ks(e, A), F = [];
4467
4467
  let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4468
- if (u && F.push(L[S]), f) {
4469
- const R = k5(s, i, C);
4468
+ if (u && F.push(L[_]), f) {
4469
+ const R = k5(s, i, g);
4470
4470
  F.push(L[R[0]], L[R[1]]);
4471
4471
  }
4472
4472
  if (U = [...U, {
@@ -4528,23 +4528,23 @@ const I5 = function(t) {
4528
4528
  } = n.floating;
4529
4529
  let w, b;
4530
4530
  c === "top" || c === "bottom" ? (w = c, b = u === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (b = c, w = u === "end" ? "top" : "bottom");
4531
- const y = h - l[w], S = d - l[b], _ = !e.middlewareData.shift;
4532
- let C = y, H = S;
4531
+ const A = h - l[w], _ = d - l[b], C = !e.middlewareData.shift;
4532
+ let g = A, H = _;
4533
4533
  if (f) {
4534
4534
  const L = d - l.left - l.right;
4535
- H = u || _ ? ua(S, L) : L;
4535
+ H = u || C ? ua(_, L) : L;
4536
4536
  } else {
4537
4537
  const L = h - l.top - l.bottom;
4538
- C = u || _ ? ua(y, L) : L;
4538
+ g = u || C ? ua(A, L) : L;
4539
4539
  }
4540
- if (_ && !u) {
4540
+ if (C && !u) {
4541
4541
  const L = Ee(l.left, 0), F = Ee(l.right, 0), U = Ee(l.top, 0), z = Ee(l.bottom, 0);
4542
- f ? H = d - 2 * (L !== 0 || F !== 0 ? L + F : Ee(l.left, l.right)) : C = h - 2 * (U !== 0 || z !== 0 ? U + z : Ee(l.top, l.bottom));
4542
+ f ? H = d - 2 * (L !== 0 || F !== 0 ? L + F : Ee(l.left, l.right)) : g = h - 2 * (U !== 0 || z !== 0 ? U + z : Ee(l.top, l.bottom));
4543
4543
  }
4544
4544
  await i({
4545
4545
  ...e,
4546
4546
  availableWidth: H,
4547
- availableHeight: C
4547
+ availableHeight: g
4548
4548
  });
4549
4549
  const I = await s.getDimensions(o.floating);
4550
4550
  return d !== I.width || h !== I.height ? {
@@ -4693,8 +4693,8 @@ function St(t, e, a, n) {
4693
4693
  const d = ke(o), h = n && et(n) ? ke(n) : n;
4694
4694
  let w = d.frameElement;
4695
4695
  for (; w && n && h !== d; ) {
4696
- const b = Vt(w), y = w.getBoundingClientRect(), S = Ve(w), _ = y.left + (w.clientLeft + parseFloat(S.paddingLeft)) * b.x, C = y.top + (w.clientTop + parseFloat(S.paddingTop)) * b.y;
4697
- l *= b.x, c *= b.y, u *= b.x, f *= b.y, l += _, c += C, w = ke(w).frameElement;
4696
+ const b = Vt(w), A = w.getBoundingClientRect(), _ = Ve(w), C = A.left + (w.clientLeft + parseFloat(_.paddingLeft)) * b.x, g = A.top + (w.clientTop + parseFloat(_.paddingTop)) * b.y;
4697
+ l *= b.x, c *= b.y, u *= b.x, f *= b.y, l += C, c += g, w = ke(w).frameElement;
4698
4698
  }
4699
4699
  }
4700
4700
  return Ra({
@@ -4905,30 +4905,30 @@ function K5(t, e) {
4905
4905
  } = t.getBoundingClientRect();
4906
4906
  if (r || e(), !f || !d)
4907
4907
  return;
4908
- const h = Oa(u), w = Oa(s.clientWidth - (c + f)), b = Oa(s.clientHeight - (u + d)), y = Oa(c), _ = {
4909
- rootMargin: -h + "px " + -w + "px " + -b + "px " + -y + "px",
4908
+ const h = Oa(u), w = Oa(s.clientWidth - (c + f)), b = Oa(s.clientHeight - (u + d)), A = Oa(c), C = {
4909
+ rootMargin: -h + "px " + -w + "px " + -b + "px " + -A + "px",
4910
4910
  threshold: Ee(0, ua(1, l)) || 1
4911
4911
  };
4912
- let C = !0;
4912
+ let g = !0;
4913
4913
  function H(I) {
4914
4914
  const L = I[0].intersectionRatio;
4915
4915
  if (L !== l) {
4916
- if (!C)
4916
+ if (!g)
4917
4917
  return i();
4918
4918
  L ? i(!1, L) : n = setTimeout(() => {
4919
4919
  i(!1, 1e-7);
4920
4920
  }, 100);
4921
4921
  }
4922
- C = !1;
4922
+ g = !1;
4923
4923
  }
4924
4924
  try {
4925
4925
  a = new IntersectionObserver(H, {
4926
- ..._,
4926
+ ...C,
4927
4927
  // Handle <iframe>s
4928
4928
  root: s.ownerDocument
4929
4929
  });
4930
4930
  } catch {
4931
- a = new IntersectionObserver(H, _);
4931
+ a = new IntersectionObserver(H, C);
4932
4932
  }
4933
4933
  a.observe(t);
4934
4934
  }
@@ -4943,28 +4943,28 @@ function G5(t, e, a, n) {
4943
4943
  layoutShift: r = typeof IntersectionObserver == "function",
4944
4944
  animationFrame: l = !1
4945
4945
  } = n, c = Vn(t), u = s || o ? [...c ? ca(c) : [], ...ca(e)] : [];
4946
- u.forEach((S) => {
4947
- s && S.addEventListener("scroll", a, {
4946
+ u.forEach((_) => {
4947
+ s && _.addEventListener("scroll", a, {
4948
4948
  passive: !0
4949
- }), o && S.addEventListener("resize", a);
4949
+ }), o && _.addEventListener("resize", a);
4950
4950
  });
4951
4951
  const f = c && r ? K5(c, a) : null;
4952
4952
  let d = -1, h = null;
4953
- i && (h = new ResizeObserver((S) => {
4954
- let [_] = S;
4955
- _ && _.target === c && h && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
4953
+ i && (h = new ResizeObserver((_) => {
4954
+ let [C] = _;
4955
+ C && C.target === c && h && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
4956
4956
  h && h.observe(e);
4957
4957
  })), a();
4958
4958
  }), c && !l && h.observe(c), h.observe(e));
4959
4959
  let w, b = l ? St(t) : null;
4960
- l && y();
4961
- function y() {
4962
- const S = St(t);
4963
- b && (S.x !== b.x || S.y !== b.y || S.width !== b.width || S.height !== b.height) && a(), b = S, w = requestAnimationFrame(y);
4960
+ l && A();
4961
+ function A() {
4962
+ const _ = St(t);
4963
+ b && (_.x !== b.x || _.y !== b.y || _.width !== b.width || _.height !== b.height) && a(), b = _, w = requestAnimationFrame(A);
4964
4964
  }
4965
4965
  return a(), () => {
4966
- u.forEach((S) => {
4967
- s && S.removeEventListener("scroll", a), o && S.removeEventListener("resize", a);
4966
+ u.forEach((_) => {
4967
+ s && _.removeEventListener("scroll", a), o && _.removeEventListener("resize", a);
4968
4968
  }), f && f(), h && h.disconnect(), h = null, l && cancelAnimationFrame(w);
4969
4969
  };
4970
4970
  }
@@ -5060,7 +5060,7 @@ function J5(t, e, a) {
5060
5060
  };
5061
5061
  }
5062
5062
  function e7(t, e) {
5063
- const { value: a, modelValue: n, mode: s, valueProp: o } = Ae(t), i = te(s.value !== "single" ? [] : {}), r = A(() => n && n.value !== void 0 ? n.value : a.value), l = A(() => s.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = A(() => s.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
5063
+ const { value: a, modelValue: n, mode: s, valueProp: o } = Ae(t), i = te(s.value !== "single" ? [] : {}), r = S(() => n && n.value !== void 0 ? n.value : a.value), l = S(() => s.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = S(() => s.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
5064
5064
  return {
5065
5065
  iv: i,
5066
5066
  internalValue: i,
@@ -5084,7 +5084,7 @@ function t7(t, e, a) {
5084
5084
  if (n && n.value) {
5085
5085
  let w = (d.clipboardData || /* istanbul ignore next */
5086
5086
  window.clipboardData).getData("Text"), b = n.value;
5087
- typeof b == "string" && (b = new RegExp(b)), w.split("").every((y) => !!y.match(b)) || d.preventDefault();
5087
+ typeof b == "string" && (b = new RegExp(b)), w.split("").every((A) => !!A.match(b)) || d.preventDefault();
5088
5088
  }
5089
5089
  e.emit("paste", d, s);
5090
5090
  };
@@ -5137,10 +5137,10 @@ function i7(t, e, a) {
5137
5137
  multipleLabel: h,
5138
5138
  object: w,
5139
5139
  loading: b,
5140
- delay: y,
5141
- resolveOnLoad: S,
5142
- minChars: _,
5143
- filterResults: C,
5140
+ delay: A,
5141
+ resolveOnLoad: _,
5142
+ minChars: C,
5143
+ filterResults: g,
5144
5144
  clearOnSearch: H,
5145
5145
  clearOnSelect: I,
5146
5146
  valueProp: L,
@@ -5161,7 +5161,7 @@ function i7(t, e, a) {
5161
5161
  disabledProp: Q,
5162
5162
  searchStart: re,
5163
5163
  searchFilter: ce
5164
- } = Ae(t), W = Mt().proxy, K = a.iv, P = a.ev, J = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = te([]), Ne = te([]), Me = te(!1), Be = te(null), qe = te(O.value && i.value === -1 ? 10 : i.value), Xt = A(() => l.value || c.value || !1), ba = A(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = A(() => {
5164
+ } = Ae(t), W = Mt().proxy, K = a.iv, P = a.ev, J = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = te([]), Ne = te([]), Me = te(!1), Be = te(null), qe = te(O.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5165
5165
  if (ie.value) {
5166
5166
  let $ = _t.value || /* istanbul ignore next */
5167
5167
  [], B = [];
@@ -5175,13 +5175,13 @@ function i7(t, e, a) {
5175
5175
  []);
5176
5176
  return it.value.length && ($ = $.concat(it.value)), $;
5177
5177
  }
5178
- }), Qt = A(() => {
5178
+ }), Qt = S(() => {
5179
5179
  let $ = Te.value;
5180
5180
  return se.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
5181
- }), ot = A(() => {
5181
+ }), ot = S(() => {
5182
5182
  let $ = Qt.value;
5183
5183
  return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
5184
- }), _t = A(() => {
5184
+ }), _t = S(() => {
5185
5185
  if (!ie.value)
5186
5186
  return [];
5187
5187
  let $ = [], B = Ne.value || /* istanbul ignore next */
@@ -5191,14 +5191,14 @@ function i7(t, e, a) {
5191
5191
  [k.value]: [...it.value],
5192
5192
  __CREATE__: !0
5193
5193
  }), $.concat(B);
5194
- }), wa = A(() => {
5194
+ }), wa = S(() => {
5195
5195
  let $ = [..._t.value].map((B) => ({ ...B }));
5196
5196
  return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][k.value] = [...Ot.value, ...$[0][k.value]] : $ = [{
5197
5197
  [U.value]: " ",
5198
5198
  [k.value]: [...Ot.value],
5199
5199
  __CREATE__: !0
5200
5200
  }].concat($)), $;
5201
- }), sn = A(() => {
5201
+ }), sn = S(() => {
5202
5202
  if (!ie.value)
5203
5203
  return [];
5204
5204
  let $ = wa.value;
@@ -5213,7 +5213,7 @@ function i7(t, e, a) {
5213
5213
  __VISIBLE__: cn(me).map((bt) => Object.assign({}, bt, B[Q.value] ? { [Q.value]: !0 } : {}))
5214
5214
  };
5215
5215
  }));
5216
- }), on = A(() => {
5216
+ }), on = S(() => {
5217
5217
  switch (s.value) {
5218
5218
  case "single":
5219
5219
  return !je(K.value[L.value]);
@@ -5221,12 +5221,12 @@ function i7(t, e, a) {
5221
5221
  case "tags":
5222
5222
  return !je(K.value) && K.value.length > 0;
5223
5223
  }
5224
- }), pi = A(() => h !== void 0 && h.value !== void 0 ? h.value(K.value, W) : K.value && K.value.length > 1 ? `${K.value.length} options selected` : "1 option selected"), fi = A(() => !Te.value.length && !Me.value && !Ot.value.length), vi = A(() => Te.value.length > 0 && ot.value.length == 0 && (J.value && ie.value || !ie.value)), Ot = A(() => Xt.value === !1 || !J.value ? [] : $i(J.value) !== -1 ? [] : [{
5224
+ }), pi = S(() => h !== void 0 && h.value !== void 0 ? h.value(K.value, W) : K.value && K.value.length > 1 ? `${K.value.length} options selected` : "1 option selected"), fi = S(() => !Te.value.length && !Me.value && !Ot.value.length), vi = S(() => Te.value.length > 0 && ot.value.length == 0 && (J.value && ie.value || !ie.value)), Ot = S(() => Xt.value === !1 || !J.value ? [] : $i(J.value) !== -1 ? [] : [{
5225
5225
  [L.value]: J.value,
5226
5226
  [yt.value[0]]: J.value,
5227
5227
  [u.value]: J.value,
5228
5228
  __CREATE__: !0
5229
- }]), yt = A(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), hi = A(() => {
5229
+ }]), yt = S(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), hi = S(() => {
5230
5230
  switch (s.value) {
5231
5231
  case "single":
5232
5232
  return null;
@@ -5234,7 +5234,7 @@ function i7(t, e, a) {
5234
5234
  case "tags":
5235
5235
  return [];
5236
5236
  }
5237
- }), mi = A(() => b.value || Me.value), Et = ($) => {
5237
+ }), mi = S(() => b.value || Me.value), Et = ($) => {
5238
5238
  switch (typeof $ != "object" && ($ = xe($)), s.value) {
5239
5239
  case "single":
5240
5240
  we($);
@@ -5341,7 +5341,7 @@ function i7(t, e, a) {
5341
5341
  (B) => J.value ? B.__VISIBLE__.length : B[k.value].length
5342
5342
  ) : $.filter((B) => J.value ? B.__VISIBLE__.length : !0), cn = ($, B = !0) => {
5343
5343
  let oe = $;
5344
- if (J.value && C.value) {
5344
+ if (J.value && g.value) {
5345
5345
  let me = ce.value;
5346
5346
  me || (me = (bt, is, u8) => yt.value.some((Ti) => {
5347
5347
  let os = hn(ya(bt[Ti]), Y.value);
@@ -5393,7 +5393,7 @@ function i7(t, e, a) {
5393
5393
  [yt.value[0]]: B
5394
5394
  }), ss = () => {
5395
5395
  Be.value = de(J, ($) => {
5396
- $.length < _.value || !$ && _.value !== 0 || (Me.value = !0, H.value && (Ne.value = []), setTimeout(() => {
5396
+ $.length < C.value || !$ && C.value !== 0 || (Me.value = !0, H.value && (Ne.value = []), setTimeout(() => {
5397
5397
  $ == J.value && n.value(J.value, W).then((B) => {
5398
5398
  ($ == J.value || !J.value) && (Ne.value = B, Kt.value = ot.value.filter((oe) => oe[Q.value] !== !0)[0] || null, Me.value = !1);
5399
5399
  }).catch(
@@ -5402,12 +5402,12 @@ function i7(t, e, a) {
5402
5402
  console.error(B);
5403
5403
  }
5404
5404
  );
5405
- }, y.value));
5405
+ }, A.value));
5406
5406
  }, { flush: "sync" });
5407
5407
  };
5408
5408
  if (s.value !== "single" && !je(P.value) && !Array.isArray(P.value))
5409
5409
  throw new Error(`v-model must be an array when using "${s.value}" mode`);
5410
- return n && typeof n.value == "function" ? S.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), y.value > -1 && ss(), de(y, ($, B) => {
5410
+ return n && typeof n.value == "function" ? _.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), A.value > -1 && ss(), de(A, ($, B) => {
5411
5411
  Be.value && Be.value(), $ >= 0 && ss();
5412
5412
  }), de(P, ($) => {
5413
5413
  if (je($)) {
@@ -5424,7 +5424,7 @@ function i7(t, e, a) {
5424
5424
  break;
5425
5425
  }
5426
5426
  }, { deep: !0 }), de(n, ($, B) => {
5427
- typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(K.value).length || $a(), pn());
5427
+ typeof t.options == "function" ? _.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(K.value).length || $a(), pn());
5428
5428
  }), de(u, pn), de(i, ($, B) => {
5429
5429
  qe.value = O.value && $ === -1 ? 10 : $;
5430
5430
  }), {
@@ -5472,51 +5472,51 @@ function o7(t, e, a) {
5472
5472
  groupSelect: c,
5473
5473
  disabledProp: u,
5474
5474
  groupOptions: f
5475
- } = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, y = a.search, S = a.pointer, _ = a.setPointer, C = a.clearPointer, H = a.multiselect, I = a.isOpen, L = A(() => d.value.filter((P) => !P[u.value])), F = A(() => h.value.filter((P) => !P[u.value])), U = A(() => l.value !== "single" && c.value), z = A(() => S.value && S.value.group), E = A(() => W(S.value)), Y = A(() => {
5476
- const P = z.value ? S.value : (
5475
+ } = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, A = a.search, _ = a.pointer, C = a.setPointer, g = a.clearPointer, H = a.multiselect, I = a.isOpen, L = S(() => d.value.filter((P) => !P[u.value])), F = S(() => h.value.filter((P) => !P[u.value])), U = S(() => l.value !== "single" && c.value), z = S(() => _.value && _.value.group), E = S(() => W(_.value)), Y = S(() => {
5476
+ const P = z.value ? _.value : (
5477
5477
  /* istanbul ignore next */
5478
- W(S.value)
5478
+ W(_.value)
5479
5479
  ), J = F.value.map((we) => we[i.value]).indexOf(P[i.value]);
5480
5480
  let he = F.value[J - 1];
5481
5481
  return he === void 0 && (he = Z.value), he;
5482
- }), R = A(() => {
5483
- let P = F.value.map((J) => J.label).indexOf(z.value ? S.value[i.value] : W(S.value)[i.value]) + 1;
5482
+ }), R = S(() => {
5483
+ let P = F.value.map((J) => J.label).indexOf(z.value ? _.value[i.value] : W(_.value)[i.value]) + 1;
5484
5484
  return F.value.length <= P && (P = 0), F.value[P];
5485
- }), Z = A(() => [...F.value].slice(-1)[0]), ie = A(() => S.value.__VISIBLE__.filter((P) => !P[u.value])[0]), se = A(() => {
5485
+ }), Z = S(() => [...F.value].slice(-1)[0]), ie = S(() => _.value.__VISIBLE__.filter((P) => !P[u.value])[0]), se = S(() => {
5486
5486
  const P = E.value.__VISIBLE__.filter((J) => !J[u.value]);
5487
- return P[P.map((J) => J[n.value]).indexOf(S.value[n.value]) - 1];
5488
- }), O = A(() => {
5489
- const P = W(S.value).__VISIBLE__.filter((J) => !J[u.value]);
5490
- return P[P.map((J) => J[n.value]).indexOf(S.value[n.value]) + 1];
5491
- }), k = A(() => [...Y.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), j = A(() => [...Z.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), m = (P) => S.value && (!P.group && S.value[n.value] === P[n.value] || P.group !== void 0 && S.value[i.value] === P[i.value]) ? !0 : void 0, D = () => {
5492
- _(L.value[0] || null);
5487
+ return P[P.map((J) => J[n.value]).indexOf(_.value[n.value]) - 1];
5488
+ }), O = S(() => {
5489
+ const P = W(_.value).__VISIBLE__.filter((J) => !J[u.value]);
5490
+ return P[P.map((J) => J[n.value]).indexOf(_.value[n.value]) + 1];
5491
+ }), k = S(() => [...Y.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), j = S(() => [...Z.value.__VISIBLE__.filter((P) => !P[u.value])].slice(-1)[0]), m = (P) => _.value && (!P.group && _.value[n.value] === P[n.value] || P.group !== void 0 && _.value[i.value] === P[i.value]) ? !0 : void 0, D = () => {
5492
+ C(L.value[0] || null);
5493
5493
  }, Q = () => {
5494
- !S.value || S.value[u.value] === !0 || (z.value ? b(S.value) : w(S.value));
5494
+ !_.value || _.value[u.value] === !0 || (z.value ? b(_.value) : w(_.value));
5495
5495
  }, re = () => {
5496
- if (S.value === null)
5497
- _((r.value && U.value ? F.value[0].__CREATE__ ? L.value[0] : F.value[0] : L.value[0]) || null);
5496
+ if (_.value === null)
5497
+ C((r.value && U.value ? F.value[0].__CREATE__ ? L.value[0] : F.value[0] : L.value[0]) || null);
5498
5498
  else if (r.value && U.value) {
5499
5499
  let P = z.value ? ie.value : O.value;
5500
- P === void 0 && (P = R.value, P.__CREATE__ && (P = P[f.value][0])), _(P || /* istanbul ignore next */
5500
+ P === void 0 && (P = R.value, P.__CREATE__ && (P = P[f.value][0])), C(P || /* istanbul ignore next */
5501
5501
  null);
5502
5502
  } else {
5503
- let P = L.value.map((J) => J[n.value]).indexOf(S.value[n.value]) + 1;
5504
- L.value.length <= P && (P = 0), _(L.value[P] || null);
5503
+ let P = L.value.map((J) => J[n.value]).indexOf(_.value[n.value]) + 1;
5504
+ L.value.length <= P && (P = 0), C(L.value[P] || null);
5505
5505
  }
5506
5506
  De(() => {
5507
5507
  K();
5508
5508
  });
5509
5509
  }, ce = () => {
5510
- if (S.value === null) {
5510
+ if (_.value === null) {
5511
5511
  let P = L.value[L.value.length - 1];
5512
- r.value && U.value && (P = j.value, P === void 0 && (P = Z.value)), _(P || null);
5512
+ r.value && U.value && (P = j.value, P === void 0 && (P = Z.value)), C(P || null);
5513
5513
  } else if (r.value && U.value) {
5514
5514
  let P = z.value ? k.value : se.value;
5515
- P === void 0 && (P = z.value ? Y.value : E.value, P.__CREATE__ && (P = k.value, P === void 0 && (P = Y.value))), _(P || /* istanbul ignore next */
5515
+ P === void 0 && (P = z.value ? Y.value : E.value, P.__CREATE__ && (P = k.value, P === void 0 && (P = Y.value))), C(P || /* istanbul ignore next */
5516
5516
  null);
5517
5517
  } else {
5518
- let P = L.value.map((J) => J[n.value]).indexOf(S.value[n.value]) - 1;
5519
- P < 0 && (P = L.value.length - 1), _(L.value[P] || null);
5518
+ let P = L.value.map((J) => J[n.value]).indexOf(_.value[n.value]) - 1;
5519
+ P < 0 && (P = L.value.length - 1), C(L.value[P] || null);
5520
5520
  }
5521
5521
  De(() => {
5522
5522
  K();
@@ -5528,8 +5528,8 @@ function o7(t, e, a) {
5528
5528
  let J = P.parentElement.parentElement;
5529
5529
  r.value && (J = z.value ? P.parentElement.parentElement.parentElement : P.parentElement.parentElement.parentElement.parentElement), P.offsetTop + P.offsetHeight > J.clientHeight + J.scrollTop && (J.scrollTop = P.offsetTop + P.offsetHeight - J.clientHeight), P.offsetTop < J.scrollTop && (J.scrollTop = P.offsetTop);
5530
5530
  };
5531
- return de(y, (P) => {
5532
- o.value && (P.length && s.value ? D() : C());
5531
+ return de(A, (P) => {
5532
+ o.value && (P.length && s.value ? D() : g());
5533
5533
  }), de(I, (P) => {
5534
5534
  if (P) {
5535
5535
  let J = H.value.querySelectorAll("[data-selected]")[0];
@@ -5541,7 +5541,7 @@ function o7(t, e, a) {
5541
5541
  });
5542
5542
  }
5543
5543
  }), {
5544
- pointer: S,
5544
+ pointer: _,
5545
5545
  canPointGroups: U,
5546
5546
  isPointed: m,
5547
5547
  setPointerFirst: D,
@@ -5909,16 +5909,16 @@ function B7(t, e) {
5909
5909
  }
5910
5910
  function Un(t, e) {
5911
5911
  e === void 0 && (e = {});
5912
- var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, S = V7(typeof y != "number" ? y : B7(y, an)), _ = d === sa ? v7 : sa, C = t.rects.popper, H = t.elements[w ? _ : d], I = P7(At(H) ? H : H.contextElement || gt(t.elements.popper), l, u, i), L = Wt(t.elements.reference), F = li({
5912
+ var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, A = b === void 0 ? 0 : b, _ = V7(typeof A != "number" ? A : B7(A, an)), C = d === sa ? v7 : sa, g = t.rects.popper, H = t.elements[w ? C : d], I = P7(At(H) ? H : H.contextElement || gt(t.elements.popper), l, u, i), L = Wt(t.elements.reference), F = li({
5913
5913
  reference: L,
5914
- element: C,
5914
+ element: g,
5915
5915
  strategy: "absolute",
5916
5916
  placement: s
5917
- }), U = bn(Object.assign({}, C, F)), z = d === sa ? U : L, E = {
5918
- top: I.top - z.top + S.top,
5919
- bottom: z.bottom - I.bottom + S.bottom,
5920
- left: I.left - z.left + S.left,
5921
- right: z.right - I.right + S.right
5917
+ }), U = bn(Object.assign({}, g, F)), z = d === sa ? U : L, E = {
5918
+ top: I.top - z.top + _.top,
5919
+ bottom: z.bottom - I.bottom + _.bottom,
5920
+ left: I.left - z.left + _.left,
5921
+ right: z.right - I.right + _.right
5922
5922
  }, Y = t.modifiersData.offset;
5923
5923
  if (d === sa && Y) {
5924
5924
  var R = Y[s];
@@ -5959,14 +5959,14 @@ function R7(t) {
5959
5959
  styles: {}
5960
5960
  }, f = [], d = !1, h = {
5961
5961
  state: u,
5962
- setOptions: function(S) {
5963
- var _ = typeof S == "function" ? S(u.options) : S;
5964
- b(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
5962
+ setOptions: function(_) {
5963
+ var C = typeof _ == "function" ? _(u.options) : _;
5964
+ b(), u.options = Object.assign({}, o, u.options, C), u.scrollParents = {
5965
5965
  reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
5966
5966
  popper: ia(l)
5967
5967
  };
5968
- var C = M7(O7([].concat(n, u.options.modifiers)));
5969
- return u.orderedModifiers = C.filter(function(H) {
5968
+ var g = M7(O7([].concat(n, u.options.modifiers)));
5969
+ return u.orderedModifiers = g.filter(function(H) {
5970
5970
  return H.enabled;
5971
5971
  }), w(), h.update();
5972
5972
  },
@@ -5977,11 +5977,11 @@ function R7(t) {
5977
5977
  // prefer the async Popper#update method
5978
5978
  forceUpdate: function() {
5979
5979
  if (!d) {
5980
- var S = u.elements, _ = S.reference, C = S.popper;
5981
- if (ws(_, C)) {
5980
+ var _ = u.elements, C = _.reference, g = _.popper;
5981
+ if (ws(C, g)) {
5982
5982
  u.rects = {
5983
- reference: c7(_, tn(C), u.options.strategy === "fixed"),
5984
- popper: si(C)
5983
+ reference: c7(C, tn(g), u.options.strategy === "fixed"),
5984
+ popper: si(g)
5985
5985
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(E) {
5986
5986
  return u.modifiersData[E.name] = Object.assign({}, E.data);
5987
5987
  });
@@ -6004,8 +6004,8 @@ function R7(t) {
6004
6004
  // Async and optimistically optimized update – it will not be executed if
6005
6005
  // not necessary (debounced to run at most once-per-tick)
6006
6006
  update: T7(function() {
6007
- return new Promise(function(y) {
6008
- h.forceUpdate(), y(u);
6007
+ return new Promise(function(A) {
6008
+ h.forceUpdate(), A(u);
6009
6009
  });
6010
6010
  }),
6011
6011
  destroy: function() {
@@ -6014,18 +6014,18 @@ function R7(t) {
6014
6014
  };
6015
6015
  if (!ws(r, l))
6016
6016
  return h;
6017
- h.setOptions(c).then(function(y) {
6018
- !d && c.onFirstUpdate && c.onFirstUpdate(y);
6017
+ h.setOptions(c).then(function(A) {
6018
+ !d && c.onFirstUpdate && c.onFirstUpdate(A);
6019
6019
  });
6020
6020
  function w() {
6021
- u.orderedModifiers.forEach(function(y) {
6022
- var S = y.name, _ = y.options, C = _ === void 0 ? {} : _, H = y.effect;
6021
+ u.orderedModifiers.forEach(function(A) {
6022
+ var _ = A.name, C = A.options, g = C === void 0 ? {} : C, H = A.effect;
6023
6023
  if (typeof H == "function") {
6024
6024
  var I = H({
6025
6025
  state: u,
6026
- name: S,
6026
+ name: _,
6027
6027
  instance: h,
6028
- options: C
6028
+ options: g
6029
6029
  }), L = function() {
6030
6030
  };
6031
6031
  f.push(I || L);
@@ -6033,8 +6033,8 @@ function R7(t) {
6033
6033
  });
6034
6034
  }
6035
6035
  function b() {
6036
- f.forEach(function(y) {
6037
- return y();
6036
+ f.forEach(function(A) {
6037
+ return A();
6038
6038
  }), f = [];
6039
6039
  }
6040
6040
  return h;
@@ -6091,15 +6091,15 @@ function W7(t, e) {
6091
6091
  };
6092
6092
  }
6093
6093
  function $s(t) {
6094
- var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y, b = w === void 0 ? 0 : w, y = typeof u == "function" ? u({
6094
+ var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y, b = w === void 0 ? 0 : w, A = typeof u == "function" ? u({
6095
6095
  x: h,
6096
6096
  y: b
6097
6097
  }) : {
6098
6098
  x: h,
6099
6099
  y: b
6100
6100
  };
6101
- h = y.x, b = y.y;
6102
- var S = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, H = Re, I = window;
6101
+ h = A.x, b = A.y;
6102
+ var _ = i.hasOwnProperty("x"), C = i.hasOwnProperty("y"), g = Ge, H = Re, I = window;
6103
6103
  if (c) {
6104
6104
  var L = tn(a), F = "clientHeight", U = "clientWidth";
6105
6105
  if (L === Se(a) && (L = gt(a), tt(L).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), L = L, s === Re || (s === Ge || s === vt) && o === da) {
@@ -6111,7 +6111,7 @@ function $s(t) {
6111
6111
  b -= z - n.height, b *= l ? 1 : -1;
6112
6112
  }
6113
6113
  if (s === Ge || (s === Re || s === We) && o === da) {
6114
- C = vt;
6114
+ g = vt;
6115
6115
  var E = f && L === I && I.visualViewport ? I.visualViewport.width : (
6116
6116
  // $FlowFixMe[prop-missing]
6117
6117
  L[U]
@@ -6130,9 +6130,9 @@ function $s(t) {
6130
6130
  };
6131
6131
  if (h = R.x, b = R.y, l) {
6132
6132
  var Z;
6133
- return Object.assign({}, Y, (Z = {}, Z[H] = _ ? "0" : "", Z[C] = S ? "0" : "", Z.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", Z));
6133
+ return Object.assign({}, Y, (Z = {}, Z[H] = C ? "0" : "", Z[g] = _ ? "0" : "", Z.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", Z));
6134
6134
  }
6135
- return Object.assign({}, Y, (e = {}, e[H] = _ ? b + "px" : "", e[C] = S ? h + "px" : "", e.transform = "", e));
6135
+ return Object.assign({}, Y, (e = {}, e[H] = C ? b + "px" : "", e[g] = _ ? h + "px" : "", e.transform = "", e));
6136
6136
  }
6137
6137
  function q7(t) {
6138
6138
  var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, l = r === void 0 ? !0 : r, c = {
@@ -6219,12 +6219,12 @@ function J7(t, e, a) {
6219
6219
  return n > a ? a : n;
6220
6220
  }
6221
6221
  function ep(t) {
6222
- var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, y = Un(e, {
6222
+ var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, A = Un(e, {
6223
6223
  boundary: l,
6224
6224
  rootBoundary: c,
6225
6225
  padding: f,
6226
6226
  altBoundary: u
6227
- }), S = ct(e.placement), _ = zt(e.placement), C = !_, H = ri(S), I = Q7(H), L = e.modifiersData.popperOffsets, F = e.rects.reference, U = e.rects.popper, z = typeof b == "function" ? b(Object.assign({}, e.rects, {
6227
+ }), _ = ct(e.placement), C = zt(e.placement), g = !C, H = ri(_), I = Q7(H), L = e.modifiersData.popperOffsets, F = e.rects.reference, U = e.rects.popper, z = typeof b == "function" ? b(Object.assign({}, e.rects, {
6228
6228
  placement: e.placement
6229
6229
  })) : b, E = typeof z == "number" ? {
6230
6230
  mainAxis: z,
@@ -6238,14 +6238,14 @@ function ep(t) {
6238
6238
  };
6239
6239
  if (L) {
6240
6240
  if (o) {
6241
- var Z, ie = H === "y" ? Re : Ge, se = H === "y" ? We : vt, O = H === "y" ? "height" : "width", k = L[H], j = k + y[ie], m = k - y[se], D = h ? -U[O] / 2 : 0, Q = _ === qt ? F[O] : U[O], re = _ === qt ? -U[O] : -F[O], ce = e.elements.arrow, W = h && ce ? si(ce) : {
6241
+ var Z, ie = H === "y" ? Re : Ge, se = H === "y" ? We : vt, O = H === "y" ? "height" : "width", k = L[H], j = k + A[ie], m = k - A[se], D = h ? -U[O] / 2 : 0, Q = C === qt ? F[O] : U[O], re = C === qt ? -U[O] : -F[O], ce = e.elements.arrow, W = h && ce ? si(ce) : {
6242
6242
  width: 0,
6243
6243
  height: 0
6244
- }, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), P = K[ie], J = K[se], he = Ia(0, F[O], W[O]), we = C ? F[O] / 2 - D - he - P - E.mainAxis : Q - he - P - E.mainAxis, Kt = C ? -F[O] / 2 + D + he + J + E.mainAxis : re + he + J + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? H === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = Y == null ? void 0 : Y[H]) != null ? Z : 0, nn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(j, nn) : j, k, h ? kt(m, st) : m);
6244
+ }, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), P = K[ie], J = K[se], he = Ia(0, F[O], W[O]), we = g ? F[O] / 2 - D - he - P - E.mainAxis : Q - he - P - E.mainAxis, Kt = g ? -F[O] / 2 + D + he + J + E.mainAxis : re + he + J + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? H === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = Y == null ? void 0 : Y[H]) != null ? Z : 0, nn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(j, nn) : j, k, h ? kt(m, st) : m);
6245
6245
  L[H] = ya, R[H] = ya - k;
6246
6246
  }
6247
6247
  if (r) {
6248
- var it, Ne = H === "x" ? Re : Ge, Me = H === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Me], Te = [Re, Ge].indexOf(S) !== -1, Qt = (it = Y == null ? void 0 : Y[I]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + E.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - E.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6248
+ var it, Ne = H === "x" ? Re : Ge, Me = H === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + A[Ne], ba = Be - A[Me], Te = [Re, Ge].indexOf(_) !== -1, Qt = (it = Y == null ? void 0 : Y[I]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + E.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - E.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6249
6249
  L[I] = wa, R[I] = wa - Be;
6250
6250
  }
6251
6251
  e.modifiersData[n] = R;
@@ -6306,7 +6306,7 @@ function ip(t) {
6306
6306
  function op(t) {
6307
6307
  var e = t.state, a = t.options, n = t.name;
6308
6308
  if (!e.modifiersData[n]._skip) {
6309
- for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, b = a.allowedAutoPlacements, y = e.options.placement, S = ct(y), _ = S === y, C = l || (_ || !w ? [La(y)] : ip(y)), H = [y].concat(C).reduce(function(W, K) {
6309
+ for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, b = a.allowedAutoPlacements, A = e.options.placement, _ = ct(A), C = _ === A, g = l || (C || !w ? [La(A)] : ip(A)), H = [A].concat(g).reduce(function(W, K) {
6310
6310
  return W.concat(ct(K) === Fn ? sp(e, {
6311
6311
  placement: K,
6312
6312
  boundary: u,
@@ -6363,16 +6363,16 @@ var rp = {
6363
6363
  }
6364
6364
  };
6365
6365
  function lp(t, e, a) {
6366
- const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = te(!1), f = te(null), d = te(null), h = A(() => s.value || o.value), w = A(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), b = () => {
6366
+ const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = te(!1), f = te(null), d = te(null), h = S(() => s.value || o.value), w = S(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), b = () => {
6367
6367
  u.value || n.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
6368
- S();
6368
+ _();
6369
6369
  }));
6370
- }, y = () => {
6370
+ }, A = () => {
6371
6371
  u.value && (u.value = !1, e.emit("close", r));
6372
- }, S = () => {
6372
+ }, _ = () => {
6373
6373
  if (!f.value)
6374
6374
  return;
6375
- let C = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")), H = parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px", ""));
6375
+ let g = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")), H = parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px", ""));
6376
6376
  f.value.setOptions((I) => ({
6377
6377
  ...I,
6378
6378
  modifiers: [
@@ -6380,22 +6380,22 @@ function lp(t, e, a) {
6380
6380
  {
6381
6381
  name: "offset",
6382
6382
  options: {
6383
- offset: [0, (w.value === "top" ? C : H) * -1]
6383
+ offset: [0, (w.value === "top" ? g : H) * -1]
6384
6384
  }
6385
6385
  }
6386
6386
  ]
6387
6387
  })), f.value.update();
6388
- }, _ = (C) => {
6389
- for (; C && C !== document.body; ) {
6390
- if (getComputedStyle(C).position === "fixed")
6388
+ }, C = (g) => {
6389
+ for (; g && g !== document.body; ) {
6390
+ if (getComputedStyle(g).position === "fixed")
6391
6391
  return !0;
6392
- C = C.parentElement;
6392
+ g = g.parentElement;
6393
6393
  }
6394
6394
  return !1;
6395
6395
  };
6396
6396
  return xt(() => {
6397
6397
  h.value && (f.value = X7(l.value, c.value, {
6398
- strategy: _(l.value) ? (
6398
+ strategy: C(l.value) ? (
6399
6399
  /* istanbul ignore next: UI feature */
6400
6400
  "fixed"
6401
6401
  ) : void 0,
@@ -6408,19 +6408,19 @@ function lp(t, e, a) {
6408
6408
  enabled: !0,
6409
6409
  phase: "beforeWrite",
6410
6410
  requires: ["computeStyles"],
6411
- fn: ({ state: C }) => {
6412
- C.styles.popper.width = `${C.rects.reference.width}px`;
6411
+ fn: ({ state: g }) => {
6412
+ g.styles.popper.width = `${g.rects.reference.width}px`;
6413
6413
  },
6414
- effect: ({ state: C }) => {
6415
- C.elements.popper.style.width = `${C.elements.reference.offsetWidth}px`;
6414
+ effect: ({ state: g }) => {
6415
+ g.elements.popper.style.width = `${g.elements.reference.offsetWidth}px`;
6416
6416
  }
6417
6417
  },
6418
6418
  {
6419
6419
  name: "toggleClass",
6420
6420
  enabled: !0,
6421
6421
  phase: "write",
6422
- fn({ state: C }) {
6423
- d.value = C.placement;
6422
+ fn({ state: g }) {
6423
+ d.value = g.placement;
6424
6424
  }
6425
6425
  }
6426
6426
  ]
@@ -6431,19 +6431,19 @@ function lp(t, e, a) {
6431
6431
  popper: f,
6432
6432
  isOpen: u,
6433
6433
  open: b,
6434
- close: y,
6434
+ close: A,
6435
6435
  placement: w,
6436
- updatePopper: S
6436
+ updatePopper: _
6437
6437
  };
6438
6438
  }
6439
6439
  function up(t, e, a) {
6440
- const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = te(!1), w = te(!1), b = A(() => n.value || s.value ? -1 : 0), y = () => {
6440
+ const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = te(!1), w = te(!1), b = S(() => n.value || s.value ? -1 : 0), A = () => {
6441
6441
  n.value && i.value.blur(), f.value.blur();
6442
- }, S = () => {
6442
+ }, _ = () => {
6443
6443
  n.value && !s.value && i.value.focus();
6444
- }, _ = (U = !0) => {
6444
+ }, C = (U = !0) => {
6445
6445
  s.value || (h.value = !0, U && r());
6446
- }, C = () => {
6446
+ }, g = () => {
6447
6447
  h.value = !1, setTimeout(() => {
6448
6448
  h.value || (l(), o.value && c());
6449
6449
  }, 1);
@@ -6452,23 +6452,23 @@ function up(t, e, a) {
6452
6452
  tabindex: b,
6453
6453
  isActive: h,
6454
6454
  mouseClicked: w,
6455
- blur: y,
6456
- focus: S,
6457
- activate: _,
6458
- deactivate: C,
6455
+ blur: A,
6456
+ focus: _,
6457
+ activate: C,
6458
+ deactivate: g,
6459
6459
  handleFocusIn: (U) => {
6460
- U.target.closest("[data-tags]") && U.target.nodeName !== "INPUT" || U.target.closest("[data-clear]") || _(w.value);
6460
+ U.target.closest("[data-tags]") && U.target.nodeName !== "INPUT" || U.target.closest("[data-clear]") || C(w.value);
6461
6461
  },
6462
6462
  handleFocusOut: () => {
6463
- C();
6463
+ g();
6464
6464
  },
6465
6465
  handleCaretClick: () => {
6466
- C(), y();
6466
+ g(), A();
6467
6467
  },
6468
6468
  handleMousedown: (U) => {
6469
6469
  w.value = !0, u.value && (U.target.isEqualNode(f.value) || U.target.isEqualNode(d.value)) ? setTimeout(() => {
6470
- C();
6471
- }, 0) : !u.value && (document.activeElement.isEqualNode(f.value) || document.activeElement.isEqualNode(i.value)) && _(), setTimeout(() => {
6470
+ g();
6471
+ }, 0) : !u.value && (document.activeElement.isEqualNode(f.value) || document.activeElement.isEqualNode(i.value)) && C(), setTimeout(() => {
6472
6472
  w.value = !1;
6473
6473
  }, 0);
6474
6474
  }
@@ -6487,8 +6487,8 @@ function cp(t, e, a) {
6487
6487
  createTag: f,
6488
6488
  createOption: d,
6489
6489
  reverse: h
6490
- } = Ae(t), w = Mt().proxy, b = a.iv, y = a.update, S = a.deselect, _ = a.search, C = a.setPointer, H = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, U = a.wrapper, z = a.tags, E = a.isOpen, Y = a.open, R = a.blur, Z = a.fo, ie = A(() => f.value || d.value || !1), se = A(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
6491
- n.value === "tags" && !r.value && ie.value && i.value && !c.value && C(Z.value[Z.value.map((m) => m[l.value]).indexOf(_.value)]);
6490
+ } = Ae(t), w = Mt().proxy, b = a.iv, A = a.update, _ = a.deselect, C = a.search, g = a.setPointer, H = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, U = a.wrapper, z = a.tags, E = a.isOpen, Y = a.open, R = a.blur, Z = a.fo, ie = S(() => f.value || d.value || !1), se = S(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
6491
+ n.value === "tags" && !r.value && ie.value && i.value && !c.value && g(Z.value[Z.value.map((m) => m[l.value]).indexOf(C.value)]);
6492
6492
  };
6493
6493
  return {
6494
6494
  handleKeydown: (m) => {
@@ -6496,16 +6496,16 @@ function cp(t, e, a) {
6496
6496
  let D, Q;
6497
6497
  switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(m.key) !== -1 && n.value === "tags" && (D = [...F.value.querySelectorAll("[data-tags] > *")].filter((re) => re !== z.value), Q = D.findIndex((re) => re === document.activeElement)), m.key) {
6498
6498
  case "Backspace":
6499
- if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || b.value.length === 0)
6499
+ if (n.value === "single" || i.value && [null, ""].indexOf(C.value) === -1 || b.value.length === 0)
6500
6500
  return;
6501
6501
  let re = b.value.filter((ce) => !ce.disabled && ce.remove !== !1);
6502
- re.length && S(re[re.length - 1]);
6502
+ re.length && _(re[re.length - 1]);
6503
6503
  break;
6504
6504
  case "Enter":
6505
6505
  if (m.preventDefault(), m.keyCode === 229)
6506
6506
  return;
6507
6507
  if (Q !== -1 && Q !== void 0) {
6508
- y([...b.value].filter((ce, W) => W !== Q)), Q === D.length - 1 && (D.length - 1 ? D[D.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : U.value.focus());
6508
+ A([...b.value].filter((ce, W) => W !== Q)), Q === D.length - 1 && (D.length - 1 ? D[D.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : U.value.focus());
6509
6509
  return;
6510
6510
  }
6511
6511
  if (se.value.indexOf("enter") === -1 && ie.value)
@@ -6567,7 +6567,7 @@ function dp(t, e, a) {
6567
6567
  disabled: s,
6568
6568
  showOptions: o,
6569
6569
  breakTags: i
6570
- } = Ae(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, b = a.placement, y = A(() => ({
6570
+ } = Ae(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, b = a.placement, A = S(() => ({
6571
6571
  container: "multiselect",
6572
6572
  containerDisabled: "is-disabled",
6573
6573
  containerOpen: "is-open",
@@ -6622,65 +6622,65 @@ function dp(t, e, a) {
6622
6622
  assist: "multiselect-assistive-text",
6623
6623
  spacer: "multiselect-spacer",
6624
6624
  ...n.value
6625
- })), S = A(() => !!(r.value && o.value && (!h.value || h.value && w.value.length)));
6625
+ })), _ = S(() => !!(r.value && o.value && (!h.value || h.value && w.value.length)));
6626
6626
  return {
6627
- classList: A(() => {
6628
- const C = y.value;
6627
+ classList: S(() => {
6628
+ const g = A.value;
6629
6629
  return {
6630
- container: [C.container].concat(s.value ? C.containerDisabled : []).concat(S.value && b.value === "top" ? C.containerOpenTop : []).concat(S.value && b.value !== "top" ? C.containerOpen : []).concat(f.value ? C.containerActive : []),
6631
- wrapper: C.wrapper,
6632
- spacer: C.spacer,
6633
- singleLabel: C.singleLabel,
6634
- singleLabelText: C.singleLabelText,
6635
- multipleLabel: C.multipleLabel,
6636
- search: C.search,
6637
- tags: C.tags,
6638
- tag: [C.tag].concat(s.value ? C.tagDisabled : []),
6639
- tagWrapper: [C.tagWrapper, i.value ? C.tagWrapperBreak : null],
6640
- tagDisabled: C.tagDisabled,
6641
- tagRemove: C.tagRemove,
6642
- tagRemoveIcon: C.tagRemoveIcon,
6643
- tagsSearchWrapper: C.tagsSearchWrapper,
6644
- tagsSearch: C.tagsSearch,
6645
- tagsSearchCopy: C.tagsSearchCopy,
6646
- placeholder: C.placeholder,
6647
- caret: [C.caret].concat(r.value ? C.caretOpen : []),
6648
- clear: C.clear,
6649
- clearIcon: C.clearIcon,
6650
- spinner: C.spinner,
6651
- inifinite: C.inifinite,
6652
- inifiniteSpinner: C.inifiniteSpinner,
6653
- dropdown: [C.dropdown].concat(b.value === "top" ? C.dropdownTop : []).concat(!r.value || !o.value || !S.value ? C.dropdownHidden : []),
6654
- options: [C.options].concat(b.value === "top" ? C.optionsTop : []),
6655
- group: C.group,
6630
+ container: [g.container].concat(s.value ? g.containerDisabled : []).concat(_.value && b.value === "top" ? g.containerOpenTop : []).concat(_.value && b.value !== "top" ? g.containerOpen : []).concat(f.value ? g.containerActive : []),
6631
+ wrapper: g.wrapper,
6632
+ spacer: g.spacer,
6633
+ singleLabel: g.singleLabel,
6634
+ singleLabelText: g.singleLabelText,
6635
+ multipleLabel: g.multipleLabel,
6636
+ search: g.search,
6637
+ tags: g.tags,
6638
+ tag: [g.tag].concat(s.value ? g.tagDisabled : []),
6639
+ tagWrapper: [g.tagWrapper, i.value ? g.tagWrapperBreak : null],
6640
+ tagDisabled: g.tagDisabled,
6641
+ tagRemove: g.tagRemove,
6642
+ tagRemoveIcon: g.tagRemoveIcon,
6643
+ tagsSearchWrapper: g.tagsSearchWrapper,
6644
+ tagsSearch: g.tagsSearch,
6645
+ tagsSearchCopy: g.tagsSearchCopy,
6646
+ placeholder: g.placeholder,
6647
+ caret: [g.caret].concat(r.value ? g.caretOpen : []),
6648
+ clear: g.clear,
6649
+ clearIcon: g.clearIcon,
6650
+ spinner: g.spinner,
6651
+ inifinite: g.inifinite,
6652
+ inifiniteSpinner: g.inifiniteSpinner,
6653
+ dropdown: [g.dropdown].concat(b.value === "top" ? g.dropdownTop : []).concat(!r.value || !o.value || !_.value ? g.dropdownHidden : []),
6654
+ options: [g.options].concat(b.value === "top" ? g.optionsTop : []),
6655
+ group: g.group,
6656
6656
  groupLabel: (H) => {
6657
- let I = [C.groupLabel];
6658
- return l(H) ? I.push(c(H) ? C.groupLabelSelectedPointed : C.groupLabelPointed) : c(H) && d.value ? I.push(u(H) ? C.groupLabelSelectedDisabled : C.groupLabelSelected) : u(H) && I.push(C.groupLabelDisabled), d.value && I.push(C.groupLabelPointable), I;
6657
+ let I = [g.groupLabel];
6658
+ return l(H) ? I.push(c(H) ? g.groupLabelSelectedPointed : g.groupLabelPointed) : c(H) && d.value ? I.push(u(H) ? g.groupLabelSelectedDisabled : g.groupLabelSelected) : u(H) && I.push(g.groupLabelDisabled), d.value && I.push(g.groupLabelPointable), I;
6659
6659
  },
6660
- groupOptions: C.groupOptions,
6660
+ groupOptions: g.groupOptions,
6661
6661
  option: (H, I) => {
6662
- let L = [C.option];
6663
- return l(H) ? L.push(c(H) ? C.optionSelectedPointed : C.optionPointed) : c(H) ? L.push(u(H) ? C.optionSelectedDisabled : C.optionSelected) : (u(H) || I && u(I)) && L.push(C.optionDisabled), L;
6662
+ let L = [g.option];
6663
+ return l(H) ? L.push(c(H) ? g.optionSelectedPointed : g.optionPointed) : c(H) ? L.push(u(H) ? g.optionSelectedDisabled : g.optionSelected) : (u(H) || I && u(I)) && L.push(g.optionDisabled), L;
6664
6664
  },
6665
- noOptions: C.noOptions,
6666
- noResults: C.noResults,
6667
- assist: C.assist,
6668
- fakeInput: C.fakeInput
6665
+ noOptions: g.noOptions,
6666
+ noResults: g.noResults,
6667
+ assist: g.assist,
6668
+ fakeInput: g.fakeInput
6669
6669
  };
6670
6670
  }),
6671
- showDropdown: S
6671
+ showDropdown: _
6672
6672
  };
6673
6673
  }
6674
6674
  function pp(t, e, a) {
6675
6675
  const {
6676
6676
  limit: n,
6677
6677
  infinite: s
6678
- } = Ae(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = te(null), f = te(null), d = A(() => i.value < l.value.length), h = (b) => {
6679
- const { isIntersecting: y, target: S } = b[0];
6680
- if (y) {
6681
- const _ = S.offsetParent, C = _.scrollTop;
6678
+ } = Ae(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = te(null), f = te(null), d = S(() => i.value < l.value.length), h = (b) => {
6679
+ const { isIntersecting: A, target: _ } = b[0];
6680
+ if (A) {
6681
+ const C = _.offsetParent, g = C.scrollTop;
6682
6682
  i.value += n.value == -1 ? 10 : n.value, De(() => {
6683
- _.scrollTop = C;
6683
+ C.scrollTop = g;
6684
6684
  });
6685
6685
  }
6686
6686
  }, w = () => {
@@ -6709,22 +6709,22 @@ function fp(t, e, a) {
6709
6709
  groupLabel: l,
6710
6710
  aria: c,
6711
6711
  searchable: u
6712
- } = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, b = te(null), y = A(() => {
6712
+ } = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, b = te(null), A = S(() => {
6713
6713
  let R = [];
6714
6714
  return s && s.value && R.push(s.value), R.push("assist"), R.join("-");
6715
- }), S = A(() => {
6715
+ }), _ = S(() => {
6716
6716
  let R = [];
6717
6717
  return s && s.value && R.push(s.value), R.push("multiselect-options"), R.join("-");
6718
- }), _ = A(() => {
6718
+ }), C = S(() => {
6719
6719
  let R = [];
6720
6720
  if (s && s.value && R.push(s.value), f.value)
6721
6721
  return R.push(f.value.group ? "multiselect-group" : "multiselect-option"), R.push(f.value.group ? f.value.index : f.value[o.value]), R.join("-");
6722
- }), C = A(() => n.value), H = A(() => r.value !== "single"), I = A(() => {
6722
+ }), g = S(() => n.value), H = S(() => r.value !== "single"), I = S(() => {
6723
6723
  let R = "";
6724
6724
  return r.value === "single" && h.value && (R += d.value[i.value]), r.value === "multiple" && h.value && (R += w.value), r.value === "tags" && h.value && (R += d.value.map((Z) => Z[i.value]).join(", ")), R;
6725
- }), L = A(() => {
6725
+ }), L = S(() => {
6726
6726
  let R = { ...c.value };
6727
- return u.value && (R["aria-labelledby"] = R["aria-labelledby"] ? `${y.value} ${R["aria-labelledby"]}` : y.value, I.value && R["aria-label"] && (R["aria-label"] = `${I.value}, ${R["aria-label"]}`)), R;
6727
+ return u.value && (R["aria-labelledby"] = R["aria-labelledby"] ? `${A.value} ${R["aria-labelledby"]}` : A.value, I.value && R["aria-label"] && (R["aria-label"] = `${I.value}, ${R["aria-label"]}`)), R;
6728
6728
  }), F = (R) => {
6729
6729
  let Z = [];
6730
6730
  return s && s.value && Z.push(s.value), Z.push("multiselect-option"), Z.push(R[o.value]), Z.join("-");
@@ -6746,11 +6746,11 @@ function fp(t, e, a) {
6746
6746
  }), {
6747
6747
  arias: L,
6748
6748
  ariaLabel: I,
6749
- ariaAssist: y,
6750
- ariaControls: S,
6751
- ariaPlaceholder: C,
6749
+ ariaAssist: A,
6750
+ ariaControls: _,
6751
+ ariaPlaceholder: g,
6752
6752
  ariaMultiselectable: H,
6753
- ariaActiveDescendant: _,
6753
+ ariaActiveDescendant: C,
6754
6754
  ariaOptionId: F,
6755
6755
  ariaOptionLabel: z,
6756
6756
  ariaGroupId: U,
@@ -7168,7 +7168,7 @@ var lt = {
7168
7168
  };
7169
7169
  const Cp = ["id", "dir"], gp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], _p = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], yp = ["onKeyup", "aria-label"], bp = ["onClick"], wp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], $p = ["innerHTML"], kp = ["id"], Sp = ["id"], Ap = ["id", "aria-label", "aria-selected"], Mp = ["data-pointed", "onMouseenter", "onMousedown"], Tp = ["innerHTML"], Op = ["aria-label"], Ep = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Ip = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], Lp = ["innerHTML"], Hp = ["innerHTML"], Dp = ["value"], Pp = ["name", "value"], Vp = ["name", "value"], Bp = ["id"];
7170
7170
  function Rp(t, e, a, n, s, o) {
7171
- return p(), g("div", {
7171
+ return p(), y("div", {
7172
7172
  ref: "multiselect",
7173
7173
  class: G(t.classList.container),
7174
7174
  id: a.searchable ? void 0 : a.id,
@@ -7191,7 +7191,7 @@ function Rp(t, e, a, n, s, o) {
7191
7191
  role: a.searchable ? void 0 : "combobox"
7192
7192
  }, a.searchable ? {} : t.arias), [
7193
7193
  T(" Search "),
7194
- a.mode !== "tags" && a.searchable && !a.disabled ? (p(), g("input", He({
7194
+ a.mode !== "tags" && a.searchable && !a.disabled ? (p(), y("input", He({
7195
7195
  key: 0,
7196
7196
  type: a.inputType,
7197
7197
  modelValue: t.search,
@@ -7214,7 +7214,7 @@ function Rp(t, e, a, n, s, o) {
7214
7214
  ...t.arias
7215
7215
  }), null, 16, _p)) : T("v-if", !0),
7216
7216
  T(" Tags (with search) "),
7217
- a.mode == "tags" ? (p(), g(
7217
+ a.mode == "tags" ? (p(), y(
7218
7218
  "div",
7219
7219
  {
7220
7220
  key: 1,
@@ -7222,7 +7222,7 @@ function Rp(t, e, a, n, s, o) {
7222
7222
  "data-tags": ""
7223
7223
  },
7224
7224
  [
7225
- (p(!0), g(
7225
+ (p(!0), y(
7226
7226
  ve,
7227
7227
  null,
7228
7228
  _e(t.iv, (i, r, l) => ae(t.$slots, "tag", {
@@ -7230,7 +7230,7 @@ function Rp(t, e, a, n, s, o) {
7230
7230
  handleTagRemove: t.handleTagRemove,
7231
7231
  disabled: a.disabled
7232
7232
  }, () => [
7233
- (p(), g("span", {
7233
+ (p(), y("span", {
7234
7234
  class: G([
7235
7235
  t.classList.tag,
7236
7236
  i.disabled ? t.classList.tagDisabled : null
@@ -7249,7 +7249,7 @@ function Rp(t, e, a, n, s, o) {
7249
7249
  3
7250
7250
  /* TEXT, CLASS */
7251
7251
  ),
7252
- !a.disabled && !i.disabled ? (p(), g("span", {
7252
+ !a.disabled && !i.disabled ? (p(), y("span", {
7253
7253
  key: 0,
7254
7254
  class: G(t.classList.tagRemove),
7255
7255
  onClick: fe((c) => t.handleTagRemove(i, c), ["stop"])
@@ -7287,7 +7287,7 @@ function Rp(t, e, a, n, s, o) {
7287
7287
  /* TEXT, CLASS */
7288
7288
  ),
7289
7289
  T(" Actual search input "),
7290
- a.searchable && !a.disabled ? (p(), g("input", He({
7290
+ a.searchable && !a.disabled ? (p(), y("input", He({
7291
7291
  key: 0,
7292
7292
  type: a.inputType,
7293
7293
  modelValue: t.search,
@@ -7446,10 +7446,10 @@ function Rp(t, e, a, n, s, o) {
7446
7446
  id: t.ariaControls,
7447
7447
  role: "listbox"
7448
7448
  }, [
7449
- a.groups ? (p(!0), g(
7449
+ a.groups ? (p(!0), y(
7450
7450
  ve,
7451
7451
  { key: 0 },
7452
- _e(t.fg, (i, r, l) => (p(), g("li", {
7452
+ _e(t.fg, (i, r, l) => (p(), y("li", {
7453
7453
  class: G(t.classList.group),
7454
7454
  key: l,
7455
7455
  id: t.ariaGroupId(i),
@@ -7457,7 +7457,7 @@ function Rp(t, e, a, n, s, o) {
7457
7457
  "aria-selected": t.isSelected(i),
7458
7458
  role: "option"
7459
7459
  }, [
7460
- i.__CREATE__ ? T("v-if", !0) : (p(), g("div", {
7460
+ i.__CREATE__ ? T("v-if", !0) : (p(), y("div", {
7461
7461
  key: 0,
7462
7462
  class: G(t.classList.groupLabel(i)),
7463
7463
  "data-pointed": t.isPointed(i),
@@ -7479,10 +7479,10 @@ function Rp(t, e, a, n, s, o) {
7479
7479
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
7480
7480
  role: "group"
7481
7481
  }, [
7482
- (p(!0), g(
7482
+ (p(!0), y(
7483
7483
  ve,
7484
7484
  null,
7485
- _e(i.__VISIBLE__, (c, u, f) => (p(), g("li", {
7485
+ _e(i.__VISIBLE__, (c, u, f) => (p(), y("li", {
7486
7486
  class: G(t.classList.option(c, i)),
7487
7487
  "data-pointed": t.isPointed(c),
7488
7488
  "data-selected": t.isSelected(c) || void 0,
@@ -7516,10 +7516,10 @@ function Rp(t, e, a, n, s, o) {
7516
7516
  ], 10, Ap))),
7517
7517
  128
7518
7518
  /* KEYED_FRAGMENT */
7519
- )) : (p(!0), g(
7519
+ )) : (p(!0), y(
7520
7520
  ve,
7521
7521
  { key: 1 },
7522
- _e(t.fo, (i, r, l) => (p(), g("li", {
7522
+ _e(t.fo, (i, r, l) => (p(), y("li", {
7523
7523
  class: G(t.classList.option(i)),
7524
7524
  "data-pointed": t.isPointed(i),
7525
7525
  "data-selected": t.isSelected(i) || void 0,
@@ -7562,7 +7562,7 @@ function Rp(t, e, a, n, s, o) {
7562
7562
  innerHTML: t.localize(a.noResultsText)
7563
7563
  }, null, 10, Hp)
7564
7564
  ]) : T("v-if", !0),
7565
- a.infinite && t.hasMore ? (p(), g(
7565
+ a.infinite && t.hasMore ? (p(), y(
7566
7566
  "div",
7567
7567
  {
7568
7568
  key: 2,
@@ -7589,7 +7589,7 @@ function Rp(t, e, a, n, s, o) {
7589
7589
  ], 10, kp)
7590
7590
  ], 8, ["to", "disabled"])),
7591
7591
  T(" Hacky input element to show HTML5 required warning "),
7592
- a.required ? (p(), g("input", {
7592
+ a.required ? (p(), y("input", {
7593
7593
  key: 0,
7594
7594
  class: G(t.classList.fakeInput),
7595
7595
  tabindex: "-1",
@@ -7597,19 +7597,19 @@ function Rp(t, e, a, n, s, o) {
7597
7597
  required: ""
7598
7598
  }, null, 10, Dp)) : T("v-if", !0),
7599
7599
  T(" Native input support "),
7600
- a.nativeSupport ? (p(), g(
7600
+ a.nativeSupport ? (p(), y(
7601
7601
  ve,
7602
7602
  { key: 1 },
7603
7603
  [
7604
- a.mode == "single" ? (p(), g("input", {
7604
+ a.mode == "single" ? (p(), y("input", {
7605
7605
  key: 0,
7606
7606
  type: "hidden",
7607
7607
  name: a.name,
7608
7608
  value: t.plainValue !== void 0 ? t.plainValue : ""
7609
- }, null, 8, Pp)) : (p(!0), g(
7609
+ }, null, 8, Pp)) : (p(!0), y(
7610
7610
  ve,
7611
7611
  { key: 1 },
7612
- _e(t.plainValue, (i, r) => (p(), g("input", {
7612
+ _e(t.plainValue, (i, r) => (p(), y("input", {
7613
7613
  type: "hidden",
7614
7614
  name: `${a.name}[]`,
7615
7615
  value: i,
@@ -7623,7 +7623,7 @@ function Rp(t, e, a, n, s, o) {
7623
7623
  /* STABLE_FRAGMENT */
7624
7624
  )) : T("v-if", !0),
7625
7625
  T(" Screen reader assistive text "),
7626
- a.searchable && t.hasSelected ? (p(), g("div", {
7626
+ a.searchable && t.hasSelected ? (p(), y("div", {
7627
7627
  key: 2,
7628
7628
  class: G(t.classList.assist),
7629
7629
  id: t.ariaAssist,
@@ -7735,7 +7735,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7735
7735
  de(() => a.tasks, (f, d) => {
7736
7736
  Xe(f, d);
7737
7737
  });
7738
- const s = A(
7738
+ const s = S(
7739
7739
  () => {
7740
7740
  var f;
7741
7741
  return ((f = a.users) == null ? void 0 : f.map((d) => ({
@@ -7772,11 +7772,11 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7772
7772
  const d = f.target;
7773
7773
  d == null || d.blur();
7774
7774
  };
7775
- return (f, d) => (p(), g("div", jp, [
7775
+ return (f, d) => (p(), y("div", jp, [
7776
7776
  v("ul", Fp, [
7777
- (p(!0), g(ve, null, _e(f.tasks, (h) => {
7777
+ (p(!0), y(ve, null, _e(f.tasks, (h) => {
7778
7778
  var w, b;
7779
- return p(), g("li", {
7779
+ return p(), y("li", {
7780
7780
  key: h.id,
7781
7781
  class: "ao-subtask"
7782
7782
  }, [
@@ -7795,7 +7795,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7795
7795
  readonly: !f.isEditable,
7796
7796
  class: G(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": h.isDone }]),
7797
7797
  type: "text",
7798
- onChange: (y) => i(y, h.id),
7798
+ onChange: (A) => i(A, h.id),
7799
7799
  onKeyup: dt(u, ["enter"])
7800
7800
  }, null, 42, Up),
7801
7801
  Fa(". "),
@@ -7811,14 +7811,14 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7811
7811
  placeholder: f.$t("feed.filters.assignee.placeholder"),
7812
7812
  disabled: !f.isEditable,
7813
7813
  caret: f.isEditable,
7814
- onChange: (y) => c(y, h.id)
7814
+ onChange: (A) => c(A, h.id)
7815
7815
  }, {
7816
- tag: q(({ option: y, handleTagRemove: S }) => [
7816
+ tag: q(({ option: A, handleTagRemove: _ }) => [
7817
7817
  M(Je, {
7818
- "user-name": y.label,
7819
- "avatar-url": y.avatar,
7818
+ "user-name": A.label,
7819
+ "avatar-url": A.avatar,
7820
7820
  "is-closable": !0,
7821
- onClose: (_) => S(y, _)
7821
+ onClose: (C) => _(A, C)
7822
7822
  }, null, 8, ["user-name", "avatar-url", "onClose"])
7823
7823
  ]),
7824
7824
  _: 2
@@ -7893,7 +7893,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7893
7893
  const f = Array.from(((d = u.dataTransfer) == null ? void 0 : d.files) || []);
7894
7894
  u.dataTransfer && e("add", f);
7895
7895
  }
7896
- return (u, f) => (p(), g("div", {
7896
+ return (u, f) => (p(), y("div", {
7897
7897
  class: G([
7898
7898
  "ao-files__wrapper",
7899
7899
  {
@@ -7908,8 +7908,8 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7908
7908
  ae(u.$slots, "default", {}, () => [
7909
7909
  v("span", zp, X(u.$t("activity.attachment.placeholder.resting")), 1)
7910
7910
  ]),
7911
- u.attachments ? (p(), g("ul", xp, [
7912
- (p(!0), g(ve, null, _e(u.attachments, (d) => (p(), g("li", {
7911
+ u.attachments ? (p(), y("ul", xp, [
7912
+ (p(!0), y(ve, null, _e(u.attachments, (d) => (p(), y("li", {
7913
7913
  key: d.id,
7914
7914
  class: "ao-file"
7915
7915
  }, [
@@ -7937,7 +7937,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7937
7937
  onClick: () => n(d)
7938
7938
  }, null, 8, ["onClick"])) : T("", !0)
7939
7939
  ]))), 128)),
7940
- u.isEditable ? (p(), g("li", Gp, [
7940
+ u.isEditable ? (p(), y("li", Gp, [
7941
7941
  v("label", Xp, [
7942
7942
  v("div", Qp, [
7943
7943
  M(pe, {
@@ -7979,13 +7979,13 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
7979
7979
  },
7980
7980
  emits: ["edit", "remove"],
7981
7981
  setup(t, { emit: e }) {
7982
- const a = t, n = A(() => {
7982
+ const a = t, n = S(() => {
7983
7983
  const b = a.user;
7984
7984
  return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
7985
- }), s = te(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = A(() => {
7986
- const b = a.editedAt && la(a.editedAt), y = la(a.createdAt), S = /* @__PURE__ */ new Date(), _ = b ?? y;
7987
- return _ && a3(_, S);
7988
- }), u = A(() => o.value ? "textarea" : "p"), f = l(), d = r((b) => {
7985
+ }), s = te(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = S(() => {
7986
+ const b = a.editedAt && la(a.editedAt), A = la(a.createdAt), _ = /* @__PURE__ */ new Date(), C = b ?? A;
7987
+ return C && a3(C, _);
7988
+ }), u = S(() => o.value ? "textarea" : "p"), f = l(), d = r((b) => {
7989
7989
  e("edit", b);
7990
7990
  }), h = () => {
7991
7991
  e("remove");
@@ -7994,16 +7994,16 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
7994
7994
  De(() => {
7995
7995
  var b;
7996
7996
  if (!o.value) {
7997
- const y = (b = s.value) == null ? void 0 : b.getClientRects().length;
7998
- w.value = y || 2;
7997
+ const A = (b = s.value) == null ? void 0 : b.getClientRects().length;
7998
+ w.value = A || 2;
7999
7999
  }
8000
8000
  });
8001
- }), (b, y) => {
8002
- var S;
8003
- return p(), g("li", nf, [
8001
+ }), (b, A) => {
8002
+ var _;
8003
+ return p(), y("li", nf, [
8004
8004
  n.value ? (p(), V(Je, {
8005
8005
  key: 0,
8006
- "avatar-url": (S = b.user) == null ? void 0 : S.avatarUrl,
8006
+ "avatar-url": (_ = b.user) == null ? void 0 : _.avatarUrl,
8007
8007
  "user-name": n.value,
8008
8008
  class: "ao-comment__avatar"
8009
8009
  }, null, 8, ["avatar-url", "user-name"])) : T("", !0),
@@ -8028,8 +8028,8 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8028
8028
  }, 40, ["value", "rows", "onKeyup"]))
8029
8029
  ])
8030
8030
  ]),
8031
- b.isEditable ? (p(), g("div", lf, [
8032
- ee(o) ? (p(), g(ve, { key: 0 }, [
8031
+ b.isEditable ? (p(), y("div", lf, [
8032
+ ee(o) ? (p(), y(ve, { key: 0 }, [
8033
8033
  M(ue, {
8034
8034
  "icon-name": "CloseRounded",
8035
8035
  size: "sm",
@@ -8045,7 +8045,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8045
8045
  color: "black",
8046
8046
  onClick: ee(d)
8047
8047
  }, null, 8, ["onClick"])
8048
- ], 64)) : (p(), g(ve, { key: 1 }, [
8048
+ ], 64)) : (p(), y(ve, { key: 1 }, [
8049
8049
  M(ue, {
8050
8050
  label: b.$t("activity.comment.delete"),
8051
8051
  size: "sm",
@@ -8079,13 +8079,13 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8079
8079
  },
8080
8080
  emits: ["createComment", "updateComment", "removeComment"],
8081
8081
  setup(t, { emit: e }) {
8082
- const a = t, n = A(() => (a.comments || []).toSorted(
8082
+ const a = t, n = S(() => (a.comments || []).toSorted(
8083
8083
  (d, h) => z2(la(d.createdAt), la(h.createdAt))
8084
8084
  )), s = (f) => a.users.find((h) => h.id === f), o = te();
8085
8085
  De(() => {
8086
8086
  o.value && (o.value.scrollTop = o.value.scrollHeight);
8087
8087
  });
8088
- const i = Pt(a.newComment), r = A({
8088
+ const i = Pt(a.newComment), r = S({
8089
8089
  get() {
8090
8090
  return i.value;
8091
8091
  },
@@ -8105,7 +8105,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8105
8105
  };
8106
8106
  return (f, d) => {
8107
8107
  var h;
8108
- return p(), g("div", {
8108
+ return p(), y("div", {
8109
8109
  ref_key: "commentsContainer",
8110
8110
  ref: o,
8111
8111
  class: "ao-comments"
@@ -8140,8 +8140,8 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8140
8140
  ])
8141
8141
  ], 40, df)
8142
8142
  ]),
8143
- ((h = n.value) == null ? void 0 : h.length) > 0 ? (p(), g("ul", vf, [
8144
- (p(!0), g(ve, null, _e(n.value, (w) => (p(), V(uf, {
8143
+ ((h = n.value) == null ? void 0 : h.length) > 0 ? (p(), y("ul", vf, [
8144
+ (p(!0), y(ve, null, _e(n.value, (w) => (p(), V(uf, {
8145
8145
  key: w.id,
8146
8146
  user: s(w.author.id),
8147
8147
  content: w.message,
@@ -8221,7 +8221,7 @@ const wn = /* @__PURE__ */ x({
8221
8221
  },
8222
8222
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
8223
8223
  setup(t, { emit: e }) {
8224
- const a = t, n = A(() => {
8224
+ const a = t, n = S(() => {
8225
8225
  var m;
8226
8226
  return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((m = a.activity.assignee) == null ? void 0 : m.id) : !1;
8227
8227
  }), s = (m) => {
@@ -8229,48 +8229,48 @@ const wn = /* @__PURE__ */ x({
8229
8229
  id: a.activity.id,
8230
8230
  name: m
8231
8231
  });
8232
- }, o = A({
8232
+ }, o = S({
8233
8233
  get() {
8234
8234
  return a.activity.description ?? "";
8235
8235
  },
8236
8236
  set(m) {
8237
8237
  e("update:activity", { id: a.activity.id, description: m });
8238
8238
  }
8239
- }), i = A({
8239
+ }), i = S({
8240
8240
  get() {
8241
8241
  return a.activity.estimation ?? 0;
8242
8242
  },
8243
8243
  set(m) {
8244
8244
  e("update:activity", { id: a.activity.id, estimation: m });
8245
8245
  }
8246
- }), r = A({
8246
+ }), r = S({
8247
8247
  get() {
8248
8248
  return a.activity.important ?? !1;
8249
8249
  },
8250
8250
  set(m) {
8251
8251
  e("update:activity", { id: a.activity.id, important: m });
8252
8252
  }
8253
- }), l = A({
8253
+ }), l = S({
8254
8254
  get() {
8255
8255
  return a.activity.private ?? !1;
8256
8256
  },
8257
8257
  set(m) {
8258
8258
  e("update:activity", { id: a.activity.id, private: m });
8259
8259
  }
8260
- }), c = A({
8260
+ }), c = S({
8261
8261
  get() {
8262
8262
  return a.activity.deadline;
8263
8263
  },
8264
8264
  set(m) {
8265
8265
  e("update:activity", { id: a.activity.id, deadline: m });
8266
8266
  }
8267
- }), u = A(() => {
8267
+ }), u = S(() => {
8268
8268
  var m;
8269
8269
  return (m = a.activityTypes) == null ? void 0 : m.map((D) => ({
8270
8270
  label: D.name,
8271
8271
  value: D.id
8272
8272
  }));
8273
- }), f = A({
8273
+ }), f = S({
8274
8274
  get() {
8275
8275
  var m;
8276
8276
  return (m = a.activity.type) == null ? void 0 : m.id;
@@ -8278,10 +8278,10 @@ const wn = /* @__PURE__ */ x({
8278
8278
  set(m) {
8279
8279
  e("update:activity", { id: a.activity.id, typeId: m });
8280
8280
  }
8281
- }), d = A(() => a.templateActivities.filter((m) => m.id !== a.activity.id).map((m) => ({
8281
+ }), d = S(() => a.templateActivities.filter((m) => m.id !== a.activity.id).map((m) => ({
8282
8282
  label: m.name,
8283
8283
  value: m.id
8284
- }))), h = A({
8284
+ }))), h = S({
8285
8285
  get() {
8286
8286
  var m;
8287
8287
  return (m = a.activity.dependingOn) == null ? void 0 : m.map((D) => D.id);
@@ -8292,13 +8292,13 @@ const wn = /* @__PURE__ */ x({
8292
8292
  dependingOn: m
8293
8293
  });
8294
8294
  }
8295
- }), w = A(() => d.value.map((m) => {
8295
+ }), w = S(() => d.value.map((m) => {
8296
8296
  var D;
8297
8297
  return {
8298
8298
  ...m,
8299
8299
  disabled: (D = a.activity.blocking) == null ? void 0 : D.some((Q) => Q.id === m.value)
8300
8300
  };
8301
- })), b = A({
8301
+ })), b = S({
8302
8302
  get() {
8303
8303
  var m;
8304
8304
  return (m = a.activity.blocking) == null ? void 0 : m.map((D) => D.id);
@@ -8309,7 +8309,7 @@ const wn = /* @__PURE__ */ x({
8309
8309
  blocking: m
8310
8310
  });
8311
8311
  }
8312
- }), y = A(() => d.value.map((m) => {
8312
+ }), A = S(() => d.value.map((m) => {
8313
8313
  var D;
8314
8314
  return {
8315
8315
  ...m,
@@ -8317,20 +8317,20 @@ const wn = /* @__PURE__ */ x({
8317
8317
  (Q) => Q.id === m.value
8318
8318
  )
8319
8319
  };
8320
- })), S = (m) => {
8320
+ })), _ = (m) => {
8321
8321
  e("addSubtask", m);
8322
- }, _ = (m) => {
8323
- e("updateSubtask", m);
8324
8322
  }, C = (m) => {
8323
+ e("updateSubtask", m);
8324
+ }, g = (m) => {
8325
8325
  e("deleteSubtask", m);
8326
- }, H = A(() => {
8326
+ }, H = S(() => {
8327
8327
  var m;
8328
8328
  return ((m = a.users) == null ? void 0 : m.map((D) => ({
8329
8329
  label: `${D.firstName} ${D.lastName}`,
8330
8330
  value: D.id,
8331
8331
  avatar: D.avatarUrl
8332
8332
  }))) || [];
8333
- }), I = A({
8333
+ }), I = S({
8334
8334
  get() {
8335
8335
  var m, D;
8336
8336
  return (m = a.activity.assignee) != null && m.id ? [(D = a.activity.assignee) == null ? void 0 : D.id] : [];
@@ -8352,10 +8352,10 @@ const wn = /* @__PURE__ */ x({
8352
8352
  activityId: a.activity.id,
8353
8353
  file: m
8354
8354
  });
8355
- }, U = A(() => a.projects.map((m) => ({
8355
+ }, U = S(() => a.projects.map((m) => ({
8356
8356
  value: m.id,
8357
8357
  label: m.name
8358
- }))), z = A(() => {
8358
+ }))), z = S(() => {
8359
8359
  var D, Q, re;
8360
8360
  const m = (re = (Q = (D = a.activity) == null ? void 0 : D.project) == null ? void 0 : Q.phases) == null ? void 0 : re.reduce(
8361
8361
  (ce, W) => [...ce, ...W.milestones],
@@ -8375,7 +8375,7 @@ const wn = /* @__PURE__ */ x({
8375
8375
  id: a.activity.id,
8376
8376
  milestoneId: m
8377
8377
  });
8378
- }, R = A(() => {
8378
+ }, R = S(() => {
8379
8379
  var m;
8380
8380
  return (m = a.statuses) == null ? void 0 : m.map((D) => ({
8381
8381
  value: D.id,
@@ -8395,12 +8395,12 @@ const wn = /* @__PURE__ */ x({
8395
8395
  e("updateComment", m);
8396
8396
  }, O = (m) => {
8397
8397
  e("removeComment", m);
8398
- }, k = A(() => {
8398
+ }, k = S(() => {
8399
8399
  var m, D;
8400
8400
  return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((D = a.activity.createdBy) == null ? void 0 : D.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8401
8401
  });
8402
8402
  function j() {
8403
- const m = window.location.origin, D = a.activity.slug, Q = `${m}/activity/${D}`;
8403
+ const m = window.location.origin, D = a.activity.slug, Q = `${m}/activity-feed/slug/${D}`;
8404
8404
  navigator.clipboard.writeText(Q).then(() => {
8405
8405
  e("toast", "Link copied to clipboard!", "success");
8406
8406
  }).catch(() => {
@@ -8425,7 +8425,7 @@ const wn = /* @__PURE__ */ x({
8425
8425
  class: "ao-activity__ao-tag",
8426
8426
  onClick: j
8427
8427
  }, null, 8, ["label"])) : T("", !0),
8428
- m.breadcrumbs ? (p(), g("div", _f, X(m.breadcrumbs), 1)) : T("", !0),
8428
+ m.breadcrumbs ? (p(), y("div", _f, X(m.breadcrumbs), 1)) : T("", !0),
8429
8429
  M(ye, {
8430
8430
  title: m.activity.name || "",
8431
8431
  level: 4,
@@ -8433,7 +8433,7 @@ const wn = /* @__PURE__ */ x({
8433
8433
  "onUpdate:title": s
8434
8434
  }, null, 8, ["title", "is-editable"]),
8435
8435
  v("div", yf, [
8436
- U.value ? (p(), g("label", bf, [
8436
+ U.value ? (p(), y("label", bf, [
8437
8437
  v("span", wf, X(m.$t("activity.project.label")), 1),
8438
8438
  M($e, {
8439
8439
  options: U.value,
@@ -8444,7 +8444,7 @@ const wn = /* @__PURE__ */ x({
8444
8444
  onChange: E
8445
8445
  }, null, 8, ["options", "value", "disabled", "caret"])
8446
8446
  ])) : T("", !0),
8447
- z.value ? (p(), g("label", $f, [
8447
+ z.value ? (p(), y("label", $f, [
8448
8448
  v("span", kf, X(m.$t("activity.milestone.label")), 1),
8449
8449
  M($e, {
8450
8450
  options: z.value,
@@ -8531,13 +8531,13 @@ const wn = /* @__PURE__ */ x({
8531
8531
  "is-checkable": m.isTaskCheckable,
8532
8532
  "is-editable": n.value,
8533
8533
  "is-template": m.isTemplate,
8534
- onAdd: S,
8535
- onUpdate: _,
8536
- onDelete: C
8534
+ onAdd: _,
8535
+ onUpdate: C,
8536
+ onDelete: g
8537
8537
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
8538
8538
  ])
8539
8539
  ]),
8540
- m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
8540
+ m.isTemplate !== !0 && m.userId ? (p(), y("div", Rf, [
8541
8541
  v("div", Nf, [
8542
8542
  M(pe, { name: "ChatOutline" }),
8543
8543
  M(ye, {
@@ -8563,7 +8563,7 @@ const wn = /* @__PURE__ */ x({
8563
8563
  onClick: D[2] || (D[2] = (W) => m.$emit("close"))
8564
8564
  })
8565
8565
  ]),
8566
- R.value ? (p(), g("div", Uf, [
8566
+ R.value ? (p(), y("div", Uf, [
8567
8567
  v("label", Zf, [
8568
8568
  v("span", Wf, X(m.$t("activity.status.label")), 1),
8569
8569
  M($e, {
@@ -8610,7 +8610,7 @@ const wn = /* @__PURE__ */ x({
8610
8610
  ])
8611
8611
  ]),
8612
8612
  v("div", Yf, [
8613
- m.isTemplate !== !0 && m.userId ? (p(), g("div", Kf, [
8613
+ m.isTemplate !== !0 && m.userId ? (p(), y("div", Kf, [
8614
8614
  v("label", Gf, [
8615
8615
  v("span", Xf, X(m.$t("activity.deadline.label")), 1),
8616
8616
  Ke(v("input", {
@@ -8630,7 +8630,7 @@ const wn = /* @__PURE__ */ x({
8630
8630
  ])) : T("", !0)
8631
8631
  ]),
8632
8632
  v("div", Jf, [
8633
- u.value ? (p(), g("div", ev, [
8633
+ u.value ? (p(), y("div", ev, [
8634
8634
  v("label", tv, [
8635
8635
  M($e, {
8636
8636
  modelValue: f.value,
@@ -8662,7 +8662,7 @@ const wn = /* @__PURE__ */ x({
8662
8662
  size: "sm"
8663
8663
  }, null, 8, ["modelValue", "label", "disabled"])
8664
8664
  ]),
8665
- m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
8665
+ m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), y("div", nv, [
8666
8666
  M(wn, {
8667
8667
  modelValue: l.value,
8668
8668
  "onUpdate:modelValue": D[7] || (D[7] = (W) => l.value = W),
@@ -8711,7 +8711,7 @@ const wn = /* @__PURE__ */ x({
8711
8711
  mode: "tags",
8712
8712
  "close-on-select": !1,
8713
8713
  searchable: !0,
8714
- options: y.value,
8714
+ options: A.value,
8715
8715
  disabled: !n.value,
8716
8716
  caret: n.value
8717
8717
  }, null, 8, ["modelValue", "options", "disabled", "caret"])
@@ -8719,7 +8719,7 @@ const wn = /* @__PURE__ */ x({
8719
8719
  ])
8720
8720
  ])
8721
8721
  ]),
8722
- m.isTemplate !== !0 && k.value ? (p(), g("div", fv, [
8722
+ m.isTemplate !== !0 && k.value ? (p(), y("div", fv, [
8723
8723
  v("div", vv, [
8724
8724
  M(Je, {
8725
8725
  "user-name": k.value,
@@ -8749,91 +8749,91 @@ const hv = /* @__PURE__ */ x({
8749
8749
  setup(t, { emit: e }) {
8750
8750
  const a = t, n = Pt(
8751
8751
  a.rule.itemType || Ce.ACTIVITIES
8752
- ), s = A({
8752
+ ), s = S({
8753
8753
  get() {
8754
8754
  return n.value;
8755
8755
  },
8756
- set(S) {
8757
- n.value = S, e("update:rule", {
8756
+ set(_) {
8757
+ n.value = _, e("update:rule", {
8758
8758
  ...a.rule,
8759
- itemType: S,
8759
+ itemType: _,
8760
8760
  subItemId: void 0
8761
8761
  });
8762
8762
  }
8763
- }), o = A(() => Object.values(Ce)), i = A({
8763
+ }), o = S(() => Object.values(Ce)), i = S({
8764
8764
  get() {
8765
8765
  return a.rule.subItemId;
8766
8766
  },
8767
- set(S) {
8767
+ set(_) {
8768
8768
  e("update:rule", {
8769
8769
  ...a.rule,
8770
- subItemId: S,
8770
+ subItemId: _,
8771
8771
  itemType: a.rule.itemType || s.value
8772
8772
  });
8773
8773
  }
8774
- }), r = A(() => {
8775
- var _;
8776
- return !a.templateActivities || !a.templateMilestones || !a.templatePhases ? null : (_ = {
8774
+ }), r = S(() => {
8775
+ var C;
8776
+ return !a.templateActivities || !a.templateMilestones || !a.templatePhases ? null : (C = {
8777
8777
  [Ce.ACTIVITIES]: a.templateActivities,
8778
8778
  [Ce.MILESTONES]: a.templateMilestones,
8779
8779
  [Ce.PHASES]: a.templatePhases
8780
- }[n.value]) == null ? void 0 : _.map((C) => ({
8781
- value: C.id,
8782
- label: C.name
8780
+ }[n.value]) == null ? void 0 : C.map((g) => ({
8781
+ value: g.id,
8782
+ label: g.name
8783
8783
  }));
8784
- }), l = Pt(a.rule.comparator), c = A({
8784
+ }), l = Pt(a.rule.comparator), c = S({
8785
8785
  get() {
8786
8786
  return l.value;
8787
8787
  },
8788
- set(S) {
8789
- e("update:rule", { ...a.rule, comparator: S });
8788
+ set(_) {
8789
+ e("update:rule", { ...a.rule, comparator: _ });
8790
8790
  }
8791
- }), u = A(() => Object.values(R2)), f = Pt(a.rule.trigger), d = A({
8791
+ }), u = S(() => Object.values(R2)), f = Pt(a.rule.trigger), d = S({
8792
8792
  get() {
8793
8793
  return f.value;
8794
8794
  },
8795
- set(S) {
8796
- e("update:rule", { ...a.rule, trigger: S });
8795
+ set(_) {
8796
+ e("update:rule", { ...a.rule, trigger: _ });
8797
8797
  }
8798
- }), h = A(() => Object.values(N2)), w = A({
8798
+ }), h = S(() => Object.values(N2)), w = S({
8799
8799
  get() {
8800
8800
  return a.rule.duration;
8801
8801
  },
8802
- set(S) {
8803
- e("update:rule", { ...a.rule, duration: S });
8802
+ set(_) {
8803
+ e("update:rule", { ...a.rule, duration: _ });
8804
8804
  }
8805
- }), b = A({
8805
+ }), b = S({
8806
8806
  get() {
8807
8807
  return a.rule.durationUnit;
8808
8808
  },
8809
- set(S) {
8810
- e("update:rule", { ...a.rule, durationUnit: S });
8809
+ set(_) {
8810
+ e("update:rule", { ...a.rule, durationUnit: _ });
8811
8811
  }
8812
- }), y = A(() => Object.values(j2));
8813
- return (S, _) => (p(), V(ht(S.tagName), { class: "ao-rule-line" }, {
8812
+ }), A = S(() => Object.values(j2));
8813
+ return (_, C) => (p(), V(ht(_.tagName), { class: "ao-rule-line" }, {
8814
8814
  default: q(() => [
8815
8815
  M(ee(lt), {
8816
8816
  modelValue: s.value,
8817
- "onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
8817
+ "onUpdate:modelValue": C[0] || (C[0] = (g) => s.value = g),
8818
8818
  options: o.value
8819
8819
  }, null, 8, ["modelValue", "options"]),
8820
8820
  M(ee(lt), {
8821
8821
  modelValue: i.value,
8822
- "onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
8822
+ "onUpdate:modelValue": C[1] || (C[1] = (g) => i.value = g),
8823
8823
  options: r.value
8824
8824
  }, null, 8, ["modelValue", "options"]),
8825
8825
  M(ee(lt), {
8826
8826
  modelValue: d.value,
8827
- "onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
8827
+ "onUpdate:modelValue": C[2] || (C[2] = (g) => d.value = g),
8828
8828
  options: h.value
8829
8829
  }, null, 8, ["modelValue", "options"]),
8830
8830
  M(ee(lt), {
8831
8831
  modelValue: c.value,
8832
- "onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
8832
+ "onUpdate:modelValue": C[3] || (C[3] = (g) => c.value = g),
8833
8833
  options: u.value
8834
8834
  }, null, 8, ["modelValue", "options"]),
8835
8835
  Ke(v("input", {
8836
- "onUpdate:modelValue": _[4] || (_[4] = (C) => w.value = C),
8836
+ "onUpdate:modelValue": C[4] || (C[4] = (g) => w.value = g),
8837
8837
  type: "number",
8838
8838
  min: "0"
8839
8839
  }, null, 512), [
@@ -8846,14 +8846,14 @@ const hv = /* @__PURE__ */ x({
8846
8846
  ]),
8847
8847
  M(ee(lt), {
8848
8848
  modelValue: b.value,
8849
- "onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
8850
- options: y.value
8849
+ "onUpdate:modelValue": C[5] || (C[5] = (g) => b.value = g),
8850
+ options: A.value
8851
8851
  }, null, 8, ["modelValue", "options"]),
8852
8852
  M(ue, {
8853
8853
  class: "ao-rule-line__remove",
8854
8854
  "icon-name": "CloseRounded",
8855
8855
  variant: "ghost",
8856
- onClick: _[6] || (_[6] = (C) => S.$emit("close"))
8856
+ onClick: C[6] || (C[6] = (g) => _.$emit("close"))
8857
8857
  })
8858
8858
  ]),
8859
8859
  _: 1
@@ -8886,7 +8886,7 @@ const mv = { class: "ao-template-rules__body" }, Cv = { class: "ao-template-rule
8886
8886
  default: q(() => [
8887
8887
  v("div", mv, [
8888
8888
  v("ul", Cv, [
8889
- (p(!0), g(ve, null, _e(s.rules, (i) => (p(), V(hv, {
8889
+ (p(!0), y(ve, null, _e(s.rules, (i) => (p(), V(hv, {
8890
8890
  key: i.id,
8891
8891
  rule: i,
8892
8892
  "template-phases": s.templatePhases,
@@ -8930,7 +8930,7 @@ const _v = {
8930
8930
  },
8931
8931
  emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
8932
8932
  setup(t, { emit: e }) {
8933
- const a = t, { t: n } = Tt(), s = A(
8933
+ const a = t, { t: n } = Tt(), s = S(
8934
8934
  () => {
8935
8935
  var k;
8936
8936
  return (k = a.templates) == null ? void 0 : k.find((j) => j.id === a.templateId);
@@ -8948,7 +8948,7 @@ const _v = {
8948
8948
  o.value && Xe(k, j);
8949
8949
  }
8950
8950
  );
8951
- const i = A(() => {
8951
+ const i = S(() => {
8952
8952
  var k, j;
8953
8953
  return (j = (k = s == null ? void 0 : s.value) == null ? void 0 : k.phases) == null ? void 0 : j.find((m) => m.id === a.phaseId);
8954
8954
  });
@@ -8961,7 +8961,7 @@ const _v = {
8961
8961
  o.value && Xe(k, j);
8962
8962
  }
8963
8963
  );
8964
- const r = A(() => {
8964
+ const r = S(() => {
8965
8965
  var k, j;
8966
8966
  return (j = (k = i.value) == null ? void 0 : k.milestones) == null ? void 0 : j.find(
8967
8967
  (m) => m.id === a.milestoneId
@@ -8976,13 +8976,13 @@ const _v = {
8976
8976
  o.value && Xe(k, j);
8977
8977
  }
8978
8978
  );
8979
- const l = A(() => {
8979
+ const l = S(() => {
8980
8980
  var k, j;
8981
8981
  return ((j = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : j.reduce((m, D) => {
8982
8982
  const Q = D.milestones || [];
8983
8983
  return [...m, ...Q];
8984
8984
  }, [])) || [];
8985
- }), c = A(() => {
8985
+ }), c = S(() => {
8986
8986
  var k, j;
8987
8987
  return ((j = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : j.reduce((m, D) => {
8988
8988
  const re = (D.milestones || []).reduce(
@@ -8991,12 +8991,12 @@ const _v = {
8991
8991
  );
8992
8992
  return [...m, ...re];
8993
8993
  }, [])) || [];
8994
- }), u = A(() => {
8994
+ }), u = S(() => {
8995
8995
  var k, j;
8996
8996
  return (j = (k = r.value) == null ? void 0 : k.activities) == null ? void 0 : j.find(
8997
8997
  (m) => m.id === a.activityId
8998
8998
  );
8999
- }), f = A(() => {
8999
+ }), f = S(() => {
9000
9000
  var k;
9001
9001
  return ((k = s.value) == null ? void 0 : k.name) || a.templateId;
9002
9002
  }), d = () => {
@@ -9037,9 +9037,9 @@ const _v = {
9037
9037
  itemType: Ce.PHASES,
9038
9038
  data: { name: j }
9039
9039
  });
9040
- }, y = (k) => {
9040
+ }, A = (k) => {
9041
9041
  e("updateItem", k);
9042
- }, S = (k) => {
9042
+ }, _ = (k) => {
9043
9043
  if (!i.value)
9044
9044
  return;
9045
9045
  const { name: j, rank: m } = Bt(
@@ -9057,7 +9057,7 @@ const _v = {
9057
9057
  phaseId: k.phaseId
9058
9058
  }
9059
9059
  });
9060
- }, _ = (k) => {
9060
+ }, C = (k) => {
9061
9061
  e("removeItem", {
9062
9062
  type: Ce.MILESTONES,
9063
9063
  templateId: a.templateId,
@@ -9066,7 +9066,7 @@ const _v = {
9066
9066
  id: k.id
9067
9067
  }
9068
9068
  });
9069
- }, C = (k) => {
9069
+ }, g = (k) => {
9070
9070
  const { id: j, ...m } = k;
9071
9071
  e("updateItem", {
9072
9072
  itemType: Ce.MILESTONES,
@@ -9159,7 +9159,7 @@ const _v = {
9159
9159
  };
9160
9160
  return (k, j) => {
9161
9161
  var m, D, Q, re, ce, W;
9162
- return s.value ? (p(), g("div", _v, [
9162
+ return s.value ? (p(), y("div", _v, [
9163
9163
  M(Ga, {
9164
9164
  "can-go-back": !0,
9165
9165
  onGoBack: j[1] || (j[1] = (K) => k.$router.push({ name: ee(Dt).TEMPLATES_LIST }))
@@ -9230,10 +9230,10 @@ const _v = {
9230
9230
  "template-id": k.templateId,
9231
9231
  phase: i.value,
9232
9232
  "milestone-id": (m = r.value) == null ? void 0 : m.id,
9233
- onAddMilestone: S,
9234
- onUpdateMilestone: C,
9235
- onUpdatePhase: y,
9236
- onRemoveMilestone: _
9233
+ onAddMilestone: _,
9234
+ onUpdateMilestone: g,
9235
+ onUpdatePhase: A,
9236
+ onRemoveMilestone: C
9237
9237
  }, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
9238
9238
  ]),
9239
9239
  v("li", Sv, [
@@ -9320,13 +9320,13 @@ const Mv = {
9320
9320
  ])
9321
9321
  }, {
9322
9322
  default: q(() => [
9323
- e.$slots.header ? (p(), g("header", Mv, [
9323
+ e.$slots.header ? (p(), y("header", Mv, [
9324
9324
  ae(e.$slots, "header")
9325
9325
  ])) : T("", !0),
9326
9326
  v("div", Tv, [
9327
9327
  ae(e.$slots, "default")
9328
9328
  ]),
9329
- e.$slots.footer ? (p(), g("footer", Ov, [
9329
+ e.$slots.footer ? (p(), y("footer", Ov, [
9330
9330
  ae(e.$slots, "footer")
9331
9331
  ])) : T("", !0)
9332
9332
  ]),
@@ -9341,12 +9341,12 @@ const qn = /* @__PURE__ */ x({
9341
9341
  status: {}
9342
9342
  },
9343
9343
  setup(t) {
9344
- const e = t, a = A(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
9345
- return (n, s) => (p(), g("div", {
9344
+ const e = t, a = S(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
9345
+ return (n, s) => (p(), y("div", {
9346
9346
  class: G(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
9347
9347
  role: "meter"
9348
9348
  }, [
9349
- (p(!0), g(ve, null, _e(a.value, (o) => (p(), g("div", {
9349
+ (p(!0), y(ve, null, _e(a.value, (o) => (p(), y("div", {
9350
9350
  key: o,
9351
9351
  class: G(["ao-progress__progress"]),
9352
9352
  style: Ua({ width: `${o * 100}%` })
@@ -9374,7 +9374,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9374
9374
  setup(t, { emit: e }) {
9375
9375
  const a = t, n = (c) => {
9376
9376
  e("update:title", c);
9377
- }, s = A(() => {
9377
+ }, s = S(() => {
9378
9378
  var u;
9379
9379
  const c = (u = a.milestones) == null ? void 0 : u.reduce(
9380
9380
  (f, d) => {
@@ -9384,13 +9384,13 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9384
9384
  0
9385
9385
  );
9386
9386
  return c ? `${a.name} (${c})` : a.name;
9387
- }), o = A(() => {
9387
+ }), o = S(() => {
9388
9388
  var c;
9389
9389
  return (c = a.milestones) == null ? void 0 : c.length;
9390
- }), i = A(() => {
9390
+ }), i = S(() => {
9391
9391
  var c;
9392
9392
  return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === Cn.done).length;
9393
- }), r = A(() => (i.value || 0) / (o.value || 1)), l = A({
9393
+ }), r = S(() => (i.value || 0) / (o.value || 1)), l = S({
9394
9394
  get: () => a.deadline ?? "",
9395
9395
  set: (c) => e("update:deadline", c != null && c.length ? c : null)
9396
9396
  });
@@ -9410,7 +9410,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9410
9410
  ]),
9411
9411
  footer: q(() => [
9412
9412
  v("div", Iv, [
9413
- o.value ? (p(), g("div", Lv, [
9413
+ o.value ? (p(), y("div", Lv, [
9414
9414
  v("div", Hv, [
9415
9415
  M(pe, {
9416
9416
  name: "MountainFlagOutlineRounded",
@@ -9422,14 +9422,14 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9422
9422
  percentages: r.value,
9423
9423
  class: "ao-card-project-phase__progress"
9424
9424
  }, null, 8, ["percentages"]),
9425
- c.$slots.secondary ? (p(), g("div", Pv, [
9425
+ c.$slots.secondary ? (p(), y("div", Pv, [
9426
9426
  ae(c.$slots, "secondary")
9427
9427
  ])) : T("", !0)
9428
9428
  ])) : T("", !0),
9429
9429
  v("div", {
9430
9430
  class: G(["ao-card-project-phase__footer-row", l.value ? "" : "ao-card-project-phase__no_deadline"])
9431
9431
  }, [
9432
- c.isEditable ? Ke((p(), g("input", {
9432
+ c.isEditable ? Ke((p(), y("input", {
9433
9433
  key: 0,
9434
9434
  "onUpdate:modelValue": u[1] || (u[1] = (f) => l.value = f),
9435
9435
  class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
@@ -9476,7 +9476,7 @@ const Rv = /* @__PURE__ */ x({
9476
9476
  color: {}
9477
9477
  },
9478
9478
  setup(t) {
9479
- return (e, a) => (p(), g("span", {
9479
+ return (e, a) => (p(), y("span", {
9480
9480
  class: "badge",
9481
9481
  style: Ua({ backgroundColor: e.color })
9482
9482
  }, null, 4));
@@ -9511,19 +9511,19 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9511
9511
  },
9512
9512
  emits: ["updateMilestone", "archiveMilestone"],
9513
9513
  setup(t, { emit: e }) {
9514
- const a = t, n = A(() => {
9514
+ const a = t, n = S(() => {
9515
9515
  var c;
9516
9516
  const l = (c = a.activities) == null ? void 0 : c.reduce((u, f) => u + (f.estimation || 0), 0);
9517
9517
  return l ? `${a.name} (${l})` : a.name;
9518
- }), s = A(() => {
9518
+ }), s = S(() => {
9519
9519
  var l;
9520
9520
  return (l = a.activities) == null ? void 0 : l.length;
9521
- }), o = A(() => {
9521
+ }), o = S(() => {
9522
9522
  var l;
9523
9523
  return (l = a.activities) == null ? void 0 : l.filter(
9524
9524
  (c) => On(c, a.closedStatus)
9525
9525
  ).length;
9526
- }), i = A(() => (o.value || 0) / (s.value || 1)), r = (l) => {
9526
+ }), i = S(() => (o.value || 0) / (s.value || 1)), r = (l) => {
9527
9527
  e("updateMilestone", { id: a.id, name: l });
9528
9528
  };
9529
9529
  return (l, c) => (p(), V(Wn, {
@@ -9550,7 +9550,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9550
9550
  "onUpdate:title": r
9551
9551
  }, null, 8, ["id", "title", "is-editable"])
9552
9552
  ]),
9553
- !l.readonly && l.isEditable ? (p(), g("div", Fv, [
9553
+ !l.readonly && l.isEditable ? (p(), y("div", Fv, [
9554
9554
  M(ue, {
9555
9555
  color: l.isSelected ? void 0 : "primary",
9556
9556
  variant: "ghost",
@@ -9565,7 +9565,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9565
9565
  ]),
9566
9566
  v("div", Uv, [
9567
9567
  v("div", Zv, [
9568
- s.value ? (p(), g(ve, { key: 0 }, [
9568
+ s.value ? (p(), y(ve, { key: 0 }, [
9569
9569
  v("div", Wv, [
9570
9570
  M(pe, {
9571
9571
  name: "SelectCheckBox",
@@ -9578,7 +9578,7 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9578
9578
  class: "ao-card-project-milestone__progress"
9579
9579
  }, null, 8, ["percentages"])
9580
9580
  ], 64)) : T("", !0),
9581
- l.$slots.secondary ? (p(), g("div", zv, [
9581
+ l.$slots.secondary ? (p(), y("div", zv, [
9582
9582
  ae(l.$slots, "secondary")
9583
9583
  ])) : T("", !0)
9584
9584
  ])
@@ -9594,10 +9594,10 @@ const Nv = { class: "ao-card-project-milestone__default" }, jv = { class: "ao-ti
9594
9594
  ),
9595
9595
  size: "sm"
9596
9596
  }, null, 8, ["class"])) : T("", !0),
9597
- l.deadline ? (p(), g("label", Yv, [
9597
+ l.deadline ? (p(), y("label", Yv, [
9598
9598
  v("span", Kv, X(ee(Tn)(l.deadline)), 1)
9599
9599
  ])) : T("", !0),
9600
- l.assignee ? (p(), g("div", Gv, [
9600
+ l.assignee ? (p(), y("div", Gv, [
9601
9601
  M(Je, {
9602
9602
  "user-name": ee(zs)(l.assignee),
9603
9603
  "avatar-url": l.assignee.avatarUrl,
@@ -9636,7 +9636,7 @@ const Qv = {
9636
9636
  e("updatePhase", { id: a.phase.id, name: d });
9637
9637
  }, o = (d) => {
9638
9638
  e("updatePhase", { id: a.phase.id, deadline: d });
9639
- }, i = A(
9639
+ }, i = S(
9640
9640
  () => a.phase.milestones.map(
9641
9641
  (d) => O3(d, a.closedStatus)
9642
9642
  )
@@ -9665,13 +9665,13 @@ const Qv = {
9665
9665
  };
9666
9666
  return (d, h) => {
9667
9667
  var w;
9668
- return p(), g("li", {
9668
+ return p(), y("li", {
9669
9669
  class: G([
9670
9670
  "ao-project-phase",
9671
9671
  { "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
9672
9672
  ])
9673
9673
  }, [
9674
- d.isEditable ? (p(), g("div", Qv, [
9674
+ d.isEditable ? (p(), y("div", Qv, [
9675
9675
  M(pe, {
9676
9676
  name: "DragIndicator",
9677
9677
  class: "ao-project-phase__drag-handle"
@@ -9699,7 +9699,7 @@ const Qv = {
9699
9699
  group: "kanban"
9700
9700
  }, d.$attrs, { onChange: f }), {
9701
9701
  item: q(({ element: b }) => {
9702
- var y;
9702
+ var A;
9703
9703
  return [
9704
9704
  M(Xv, {
9705
9705
  id: b.id,
@@ -9710,12 +9710,12 @@ const Qv = {
9710
9710
  "is-editable": !d.readonly && d.isEditable,
9711
9711
  "is-draggable": !d.readonly && d.isEditable,
9712
9712
  "closed-status": d.closedStatus,
9713
- "is-selected": b.id === ((y = d.$route.params) == null ? void 0 : y.milestoneId),
9713
+ "is-selected": b.id === ((A = d.$route.params) == null ? void 0 : A.milestoneId),
9714
9714
  assignee: b.assignee,
9715
9715
  important: b.important,
9716
9716
  readonly: d.readonly,
9717
9717
  class: G(["ao-project-phase__milestone"]),
9718
- onClick: (S) => !d.readonly && d.$router.push({
9718
+ onClick: (_) => !d.readonly && d.$router.push({
9719
9719
  name: ee(Fe).milestone,
9720
9720
  params: { phaseId: d.phase.id, milestoneId: b.id }
9721
9721
  }),
@@ -9780,7 +9780,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
9780
9780
  }, c = (u) => {
9781
9781
  e("addPhase", u);
9782
9782
  };
9783
- return (u, f) => (p(), g("div", s9, [
9783
+ return (u, f) => (p(), y("div", s9, [
9784
9784
  M(ee(mt), {
9785
9785
  class: "ao-project-phase__phases-list",
9786
9786
  "model-value": u.phases,
@@ -9804,7 +9804,7 @@ const s9 = { class: "ao-project__phases" }, i9 = {
9804
9804
  ]),
9805
9805
  _: 1
9806
9806
  }, 8, ["model-value"]),
9807
- u.isEditable ? (p(), g("div", i9, [
9807
+ u.isEditable ? (p(), y("div", i9, [
9808
9808
  o9,
9809
9809
  v("div", r9, [
9810
9810
  M(Ct, {
@@ -9827,7 +9827,7 @@ const c9 = ["onSubmit"], d9 = { class: "ao-add-template-modal__form-body" }, p9
9827
9827
  },
9828
9828
  emits: ["apply"],
9829
9829
  setup(t, { emit: e }) {
9830
- const a = t, n = A(() => a.templates.map((r) => ({
9830
+ const a = t, n = S(() => a.templates.map((r) => ({
9831
9831
  value: r.id,
9832
9832
  label: r.name
9833
9833
  }))), s = te(null), o = (r) => {
@@ -9903,7 +9903,7 @@ const h9 = x({
9903
9903
  });
9904
9904
  const m9 = { class: "toggle-wrapper" };
9905
9905
  function C9(t, e, a, n, s, o) {
9906
- return p(), g("div", m9, [
9906
+ return p(), y("div", m9, [
9907
9907
  v("button", {
9908
9908
  class: G({
9909
9909
  button: !0,
@@ -9942,7 +9942,7 @@ const ci = /* @__PURE__ */ N(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
9942
9942
  },
9943
9943
  emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "update:showsArchived"],
9944
9944
  setup(t, { emit: e }) {
9945
- const a = t, { t: n } = Tt(), s = A(
9945
+ const a = t, { t: n } = Tt(), s = S(
9946
9946
  () => a.phases.flatMap((E) => E.milestones)
9947
9947
  ), o = () => {
9948
9948
  const { name: E, rank: Y } = Bt(a.phases, "phase", n);
@@ -9967,13 +9967,13 @@ const ci = /* @__PURE__ */ N(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
9967
9967
  e("unarchiveActivity", E);
9968
9968
  }, b = (E) => {
9969
9969
  e("addSubtask", E);
9970
- }, y = (E) => {
9970
+ }, A = (E) => {
9971
9971
  e("updateSubtask", E);
9972
- }, S = (E) => {
9972
+ }, _ = (E) => {
9973
9973
  e("deleteSubtask", E);
9974
- }, _ = A(
9974
+ }, C = S(
9975
9975
  () => s.value.flatMap((E) => E.activities)
9976
- ), C = (E) => {
9976
+ ), g = (E) => {
9977
9977
  e("addFiles", E);
9978
9978
  }, H = (E) => {
9979
9979
  e("removeFile", E);
@@ -9988,7 +9988,7 @@ const ci = /* @__PURE__ */ N(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
9988
9988
  };
9989
9989
  return (E, Y) => {
9990
9990
  const R = Ye("RouterView");
9991
- return p(), g(ve, null, [
9991
+ return p(), y(ve, null, [
9992
9992
  v("div", He({ class: "ao-project-overview" }, E.$attrs), [
9993
9993
  v("div", g9, [
9994
9994
  M(Ga, null, {
@@ -10058,7 +10058,7 @@ const ci = /* @__PURE__ */ N(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
10058
10058
  (p(), V(Nt, { to: "body" }, [
10059
10059
  M(R, {
10060
10060
  name: "modal",
10061
- activities: _.value,
10061
+ activities: C.value,
10062
10062
  "is-task-checkable": E.isTaskCheckable,
10063
10063
  statuses: E.statuses,
10064
10064
  "activity-types": E.activityTypes,
@@ -10070,9 +10070,9 @@ const ci = /* @__PURE__ */ N(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
10070
10070
  "attachment-enabled": E.attachmentEnabled,
10071
10071
  "onUpdate:activity": d,
10072
10072
  onAddSubtask: b,
10073
- onUpdateSubtask: y,
10074
- onDeleteSubtask: S,
10075
- onAddFiles: C,
10073
+ onUpdateSubtask: A,
10074
+ onDeleteSubtask: _,
10075
+ onAddFiles: g,
10076
10076
  onRemoveFile: H,
10077
10077
  onAddComment: I,
10078
10078
  onUpdateComment: L,
@@ -10159,20 +10159,20 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10159
10159
  },
10160
10160
  emits: ["removeAssignee", "updateActivity"],
10161
10161
  setup(t, { emit: e }) {
10162
- const a = t, n = A(() => a.tagType === "milestone" ? a.milestoneName : a.projectName), s = A(() => a.tagType === "milestone" ? a.milestoneColor : a.projectColor), o = (h) => {
10162
+ const a = t, n = S(() => a.tagType === "milestone" ? a.milestoneName : a.projectName), s = S(() => a.tagType === "milestone" ? a.milestoneColor : a.projectColor), o = (h) => {
10163
10163
  e("updateActivity", {
10164
10164
  id: a.id,
10165
10165
  name: h
10166
10166
  });
10167
- }, i = A(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = A(() => a.assignee ? [a.assignee] : []), l = A(() => Tn(a.deadline)), c = (h) => {
10167
+ }, i = S(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), r = S(() => a.assignee ? [a.assignee] : []), l = S(() => Tn(a.deadline)), c = (h) => {
10168
10168
  e("removeAssignee", h);
10169
- }, u = A(() => {
10169
+ }, u = S(() => {
10170
10170
  var h;
10171
10171
  return (h = a.tasks) == null ? void 0 : h.length;
10172
- }), f = A(() => {
10172
+ }), f = S(() => {
10173
10173
  var h;
10174
10174
  return (h = a.tasks) == null ? void 0 : h.filter((w) => w.isDone).length;
10175
- }), d = A(() => (f.value || 0) / (u.value || 1));
10175
+ }), d = S(() => (f.value || 0) / (u.value || 1));
10176
10176
  return (h, w) => (p(), V(Wn, {
10177
10177
  class: G(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
10178
10178
  "is-clickable": !0
@@ -10187,7 +10187,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10187
10187
  color: h.projectColor ? void 0 : "primary",
10188
10188
  "raw-color": s.value
10189
10189
  }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10190
- h.isPrivate || h.important || h.isClosed ? (p(), g("div", w9, [
10190
+ h.isPrivate || h.important || h.isClosed ? (p(), y("div", w9, [
10191
10191
  h.isPrivate ? (p(), V(pe, {
10192
10192
  key: 0,
10193
10193
  name: "Lock",
@@ -10206,17 +10206,17 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10206
10206
  class: "ao-card-feed__closed"
10207
10207
  })) : T("", !0)
10208
10208
  ])) : T("", !0),
10209
- h.$slots.secondary ? (p(), g("div", $9, [
10209
+ h.$slots.secondary ? (p(), y("div", $9, [
10210
10210
  ae(h.$slots, "secondary")
10211
10211
  ])) : T("", !0)
10212
10212
  ])
10213
10213
  ]),
10214
10214
  default: q(() => [
10215
10215
  v("div", k9, [
10216
- i.value ? (p(), g("span", S9, X(i.value), 1)) : T("", !0),
10216
+ i.value ? (p(), y("span", S9, X(i.value), 1)) : T("", !0),
10217
10217
  v("div", A9, [
10218
10218
  v("div", M9, [
10219
- h.slug ? (p(), g("span", T9, X(h.slug) + ": ", 1)) : T("", !0),
10219
+ h.slug ? (p(), y("span", T9, X(h.slug) + ": ", 1)) : T("", !0),
10220
10220
  M(ye, {
10221
10221
  id: h.id,
10222
10222
  title: h.name,
@@ -10227,17 +10227,17 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10227
10227
  }, null, 8, ["id", "title", "is-editable"])
10228
10228
  ])
10229
10229
  ]),
10230
- h.deadline ? (p(), g("span", O9, X(l.value), 1)) : T("", !0)
10230
+ h.deadline ? (p(), y("span", O9, X(l.value), 1)) : T("", !0)
10231
10231
  ])
10232
10232
  ]),
10233
10233
  footer: q(() => [
10234
10234
  v("div", E9, [
10235
10235
  v("div", I9, [
10236
10236
  v("ul", L9, [
10237
- (p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
10237
+ (p(!0), y(ve, null, _e(r.value, (b) => (p(), y(ve, {
10238
10238
  key: b.id
10239
10239
  }, [
10240
- b ? (p(), g("li", H9, [
10240
+ b ? (p(), y("li", H9, [
10241
10241
  M(Je, {
10242
10242
  "user-name": ee(zs)(b),
10243
10243
  "avatar-url": b.avatarUrl,
@@ -10247,15 +10247,15 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10247
10247
  ])) : T("", !0)
10248
10248
  ], 64))), 128))
10249
10249
  ]),
10250
- h.comments || h.attachments ? (p(), g("ul", D9, [
10251
- h.comments ? (p(), g("li", P9, [
10250
+ h.comments || h.attachments ? (p(), y("ul", D9, [
10251
+ h.comments ? (p(), y("li", P9, [
10252
10252
  M(pe, {
10253
10253
  name: "ChatOutline",
10254
10254
  size: "sm"
10255
10255
  }),
10256
10256
  v("span", V9, X(h.comments), 1)
10257
10257
  ])) : T("", !0),
10258
- h.attachments ? (p(), g("li", B9, [
10258
+ h.attachments ? (p(), y("li", B9, [
10259
10259
  M(pe, {
10260
10260
  name: "AttachFileRounded",
10261
10261
  size: "sm"
@@ -10265,7 +10265,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10265
10265
  ])) : T("", !0)
10266
10266
  ]),
10267
10267
  v("div", N9, [
10268
- h.tasks && h.tasks.length ? (p(), g("div", j9, [
10268
+ h.tasks && h.tasks.length ? (p(), y("div", j9, [
10269
10269
  v("div", F9, [
10270
10270
  M(pe, {
10271
10271
  name: "SelectCheckBox",
@@ -10789,7 +10789,7 @@ var Qn = x({
10789
10789
  emits: ["inputColor", "inputFocus", "inputBlur"],
10790
10790
  setup(t, { emit: e }) {
10791
10791
  return {
10792
- modelColor: A({
10792
+ modelColor: S({
10793
10793
  get() {
10794
10794
  return t.color || "";
10795
10795
  },
@@ -11241,7 +11241,7 @@ const d4 = {
11241
11241
  }, p4 = { class: "color-picker-wrapper" };
11242
11242
  function f4(t, e, a, n, s, o) {
11243
11243
  const i = Ye("ColorPicker");
11244
- return p(), g("div", p4, [
11244
+ return p(), y("div", p4, [
11245
11245
  v("button", {
11246
11246
  style: Ua({ backgroundColor: a.color }),
11247
11247
  class: "color-button",
@@ -11275,98 +11275,98 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11275
11275
  },
11276
11276
  emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
11277
11277
  setup(t, { emit: e }) {
11278
- const a = t, { t: n } = Tt(), s = A(() => {
11279
- var _;
11280
- return (_ = a.phases) == null ? void 0 : _.find((C) => C.id === a.phaseId);
11281
- }), o = A(
11278
+ const a = t, { t: n } = Tt(), s = S(() => {
11279
+ var C;
11280
+ return (C = a.phases) == null ? void 0 : C.find((g) => g.id === a.phaseId);
11281
+ }), o = S(
11282
11282
  () => {
11283
- var _;
11284
- return (_ = a.phases) == null ? void 0 : _.flatMap((C) => C.milestones);
11283
+ var C;
11284
+ return (C = a.phases) == null ? void 0 : C.flatMap((g) => g.milestones);
11285
11285
  }
11286
- ), i = A(() => {
11287
- var _;
11288
- return (_ = o.value) == null ? void 0 : _.find((C) => C.id === a.milestoneId);
11289
- }), r = A(() => {
11290
- var _;
11291
- return (_ = i.value) == null ? void 0 : _.activities;
11286
+ ), i = S(() => {
11287
+ var C;
11288
+ return (C = o.value) == null ? void 0 : C.find((g) => g.id === a.milestoneId);
11289
+ }), r = S(() => {
11290
+ var C;
11291
+ return (C = i.value) == null ? void 0 : C.activities;
11292
11292
  });
11293
- de(r, (_, C) => {
11294
- Xe(_, C);
11293
+ de(r, (C, g) => {
11294
+ Xe(C, g);
11295
11295
  });
11296
- const l = (_) => {
11297
- e("close", _);
11296
+ const l = (C) => {
11297
+ e("close", C);
11298
11298
  }, c = () => {
11299
- const { name: _, rank: C } = Bt(
11299
+ const { name: C, rank: g } = Bt(
11300
11300
  r.value ?? [],
11301
11301
  "activity",
11302
11302
  n
11303
11303
  );
11304
11304
  e("addActivity", {
11305
11305
  milestoneId: a.milestoneId,
11306
- name: _,
11307
- rank: C,
11306
+ name: C,
11307
+ rank: g,
11308
11308
  projectId: a.projectId
11309
11309
  });
11310
- }, u = (_) => {
11311
- e("updateActivity", _);
11312
- }, f = (_) => {
11313
- r.value && "moved" in _ && e("updateActivity", {
11314
- id: _.moved.element.id,
11315
- rank: jt(r.value, _.moved.newIndex)
11310
+ }, u = (C) => {
11311
+ e("updateActivity", C);
11312
+ }, f = (C) => {
11313
+ r.value && "moved" in C && e("updateActivity", {
11314
+ id: C.moved.element.id,
11315
+ rank: jt(r.value, C.moved.newIndex)
11316
11316
  });
11317
- }, d = A({
11317
+ }, d = S({
11318
11318
  get: () => {
11319
- var _;
11320
- return (_ = i.value) == null ? void 0 : _.color;
11319
+ var C;
11320
+ return (C = i.value) == null ? void 0 : C.color;
11321
11321
  },
11322
- set: (_) => {
11322
+ set: (C) => {
11323
11323
  i.value && e("updateMilestone", {
11324
11324
  id: i.value.id,
11325
- color: _
11325
+ color: C
11326
11326
  });
11327
11327
  }
11328
- }), h = A({
11328
+ }), h = S({
11329
11329
  get: () => {
11330
- var _;
11331
- return ((_ = i == null ? void 0 : i.value) == null ? void 0 : _.deadline) ?? "";
11330
+ var C;
11331
+ return ((C = i == null ? void 0 : i.value) == null ? void 0 : C.deadline) ?? "";
11332
11332
  },
11333
- set: (_) => {
11333
+ set: (C) => {
11334
11334
  i.value && e("updateMilestone", {
11335
11335
  id: i.value.id,
11336
- deadline: _ != null && _.length ? _ : null
11336
+ deadline: C != null && C.length ? C : null
11337
11337
  });
11338
11338
  }
11339
- }), w = (_) => a.closedStatus ? On(_, a.closedStatus) : !1, b = A(() => {
11340
- var _;
11341
- return ((_ = a.users) == null ? void 0 : _.map((C) => ({
11342
- label: `${C.firstName} ${C.lastName}`,
11343
- value: C.id,
11344
- avatar: C.avatarUrl
11339
+ }), w = (C) => a.closedStatus ? On(C, a.closedStatus) : !1, b = S(() => {
11340
+ var C;
11341
+ return ((C = a.users) == null ? void 0 : C.map((g) => ({
11342
+ label: `${g.firstName} ${g.lastName}`,
11343
+ value: g.id,
11344
+ avatar: g.avatarUrl
11345
11345
  }))) || [];
11346
- }), y = A({
11346
+ }), A = S({
11347
11347
  get() {
11348
- var _, C;
11349
- return (C = (_ = i.value) == null ? void 0 : _.assignee) != null && C.id ? [i.value.assignee.id] : [];
11348
+ var C, g;
11349
+ return (g = (C = i.value) == null ? void 0 : C.assignee) != null && g.id ? [i.value.assignee.id] : [];
11350
11350
  },
11351
- set(_) {
11351
+ set(C) {
11352
11352
  e("updateMilestone", {
11353
11353
  id: a.milestoneId,
11354
- assigneeId: _[0] ?? null
11354
+ assigneeId: C[0] ?? null
11355
11355
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
11356
11356
  });
11357
11357
  }
11358
- }), S = A({
11358
+ }), _ = S({
11359
11359
  get() {
11360
- var _;
11361
- return ((_ = i.value) == null ? void 0 : _.important) ?? !1;
11360
+ var C;
11361
+ return ((C = i.value) == null ? void 0 : C.important) ?? !1;
11362
11362
  },
11363
- set(_) {
11364
- e("updateMilestone", { id: a.milestoneId, important: _ });
11363
+ set(C) {
11364
+ e("updateMilestone", { id: a.milestoneId, important: C });
11365
11365
  }
11366
11366
  });
11367
- return (_, C) => {
11367
+ return (C, g) => {
11368
11368
  var H;
11369
- return p(), g("div", h4, [
11369
+ return p(), y("div", h4, [
11370
11370
  v("header", m4, [
11371
11371
  v("div", C4, [
11372
11372
  M(ue, {
@@ -11380,28 +11380,28 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11380
11380
  v("div", g4, [
11381
11381
  v("div", _4, [
11382
11382
  M(ye, {
11383
- title: ((H = i.value) == null ? void 0 : H.name) || _.milestoneId,
11383
+ title: ((H = i.value) == null ? void 0 : H.name) || C.milestoneId,
11384
11384
  level: 5
11385
11385
  }, null, 8, ["title"]),
11386
11386
  M(wn, {
11387
- modelValue: S.value,
11388
- "onUpdate:modelValue": C[0] || (C[0] = (I) => S.value = I),
11387
+ modelValue: _.value,
11388
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => _.value = I),
11389
11389
  modelModifiers: { lazy: !0 },
11390
- disabled: !_.isEditable,
11390
+ disabled: !C.isEditable,
11391
11391
  class: "ao-milestone__important",
11392
11392
  color: "danger",
11393
- label: _.$t("activity.important.label"),
11393
+ label: C.$t("activity.important.label"),
11394
11394
  "icon-name": "FlagRounded",
11395
11395
  variant: "ghost",
11396
11396
  size: "sm"
11397
11397
  }, null, 8, ["modelValue", "disabled", "label"])
11398
11398
  ])
11399
11399
  ]),
11400
- i.value ? (p(), g("div", y4, [
11400
+ i.value ? (p(), y("div", y4, [
11401
11401
  v("div", b4, [
11402
11402
  v("label", w4, [
11403
11403
  Ke(v("input", {
11404
- "onUpdate:modelValue": C[1] || (C[1] = (I) => h.value = I),
11404
+ "onUpdate:modelValue": g[1] || (g[1] = (I) => h.value = I),
11405
11405
  class: "ao-milestone__field ao-milestone__date-field",
11406
11406
  type: "date"
11407
11407
  }, null, 512), [
@@ -11417,17 +11417,17 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11417
11417
  v("div", $4, [
11418
11418
  v("label", k4, [
11419
11419
  M($e, {
11420
- modelValue: y.value,
11421
- "onUpdate:modelValue": C[2] || (C[2] = (I) => y.value = I),
11420
+ modelValue: A.value,
11421
+ "onUpdate:modelValue": g[2] || (g[2] = (I) => A.value = I),
11422
11422
  options: b.value,
11423
11423
  "close-on-select": !0,
11424
11424
  searchable: !0,
11425
11425
  max: 1,
11426
11426
  class: "ao-milestone__field ao-milestone__multiselect",
11427
- placeholder: _.$t("activity.filters.assignee.placeholder"),
11427
+ placeholder: C.$t("activity.filters.assignee.placeholder"),
11428
11428
  mode: "tags",
11429
- disabled: !_.isEditable,
11430
- caret: _.isEditable
11429
+ disabled: !C.isEditable,
11430
+ caret: C.isEditable
11431
11431
  }, {
11432
11432
  tag: q(({
11433
11433
  option: I,
@@ -11446,7 +11446,7 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11446
11446
  ]),
11447
11447
  M(v4, {
11448
11448
  color: d.value,
11449
- "onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
11449
+ "onUpdate:color": g[3] || (g[3] = (I) => d.value = I)
11450
11450
  }, null, 8, ["color"])
11451
11451
  ])) : T("", !0)
11452
11452
  ]),
@@ -11454,10 +11454,10 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11454
11454
  M(ee(mt), He({
11455
11455
  class: "ao-project-milestone__activities",
11456
11456
  list: r.value,
11457
- disabled: !_.isEditable,
11457
+ disabled: !C.isEditable,
11458
11458
  "item-key": "id",
11459
11459
  group: "kanban"
11460
- }, _.$attrs, { onChange: f }), {
11460
+ }, C.$attrs, { onChange: f }), {
11461
11461
  item: q(({ element: I }) => {
11462
11462
  var L, F, U, z, E;
11463
11463
  return [
@@ -11469,26 +11469,26 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11469
11469
  "milestone-color": (U = i.value) == null ? void 0 : U.color,
11470
11470
  deadline: I.deadline,
11471
11471
  important: I.important,
11472
- users: _.users,
11472
+ users: C.users,
11473
11473
  assignee: I.assignee,
11474
11474
  slug: I.slug,
11475
11475
  comments: (z = I.comments) == null ? void 0 : z.length,
11476
11476
  attachments: (E = I.attachments) == null ? void 0 : E.length,
11477
11477
  tasks: I.tasks,
11478
- "is-editable": _.isEditable,
11478
+ "is-editable": C.isEditable,
11479
11479
  "is-private": I.private,
11480
11480
  "is-closed": w(I),
11481
- onClick: (Y) => _.$router.push({
11481
+ onClick: (Y) => C.$router.push({
11482
11482
  name: ee(Fe).activity,
11483
- params: { milestoneId: _.milestoneId, activityId: I.id }
11483
+ params: { milestoneId: C.milestoneId, activityId: I.id }
11484
11484
  }),
11485
11485
  onUpdateActivity: u,
11486
11486
  onRemoveAssignee: () => u({ id: I.id, assigneeId: null })
11487
11487
  }, Za({ _: 2 }, [
11488
- _.isEditable ? {
11488
+ C.isEditable ? {
11489
11489
  name: "secondary",
11490
11490
  fn: q(() => [
11491
- _.isEditable && I.active ? (p(), V(ue, {
11491
+ C.isEditable && I.active ? (p(), V(ue, {
11492
11492
  key: 0,
11493
11493
  color: "primary",
11494
11494
  variant: "ghost",
@@ -11496,10 +11496,10 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11496
11496
  size: "sm",
11497
11497
  "icon-position": "start",
11498
11498
  corners: "round",
11499
- label: _.$t("archive"),
11500
- onClick: fe(() => _.$emit("archiveActivity", { id: I.id }), ["stop"])
11499
+ label: C.$t("archive"),
11500
+ onClick: fe(() => C.$emit("archiveActivity", { id: I.id }), ["stop"])
11501
11501
  }, null, 8, ["label", "onClick"])) : T("", !0),
11502
- _.isEditable && !I.active ? (p(), V(ue, {
11502
+ C.isEditable && !I.active ? (p(), V(ue, {
11503
11503
  key: 1,
11504
11504
  color: "primary",
11505
11505
  variant: "ghost",
@@ -11507,9 +11507,9 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11507
11507
  size: "sm",
11508
11508
  "icon-position": "start",
11509
11509
  corners: "round",
11510
- label: _.$t("feed.activity.unarchive"),
11510
+ label: C.$t("feed.activity.unarchive"),
11511
11511
  onClick: fe(
11512
- () => _.$emit("unarchiveActivity", { id: I.id }),
11512
+ () => C.$emit("unarchiveActivity", { id: I.id }),
11513
11513
  ["stop"]
11514
11514
  )
11515
11515
  }, null, 8, ["label", "onClick"])) : T("", !0)
@@ -11521,10 +11521,10 @@ const v4 = /* @__PURE__ */ N(d4, [["render", f4]]), h4 = { class: "ao-project-mi
11521
11521
  }),
11522
11522
  _: 1
11523
11523
  }, 16, ["list", "disabled"]),
11524
- _.isEditable ? (p(), g("div", A4, [
11524
+ C.isEditable ? (p(), y("div", A4, [
11525
11525
  M(Ct, {
11526
11526
  "icon-name": "Add",
11527
- label: _.$t("project.activity.add"),
11527
+ label: C.$t("project.activity.add"),
11528
11528
  onClick: c
11529
11529
  }, null, 8, ["label"])
11530
11530
  ])) : T("", !0)
@@ -11552,57 +11552,60 @@ const M4 = /* @__PURE__ */ x({
11552
11552
  },
11553
11553
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
11554
11554
  setup(t, { emit: e }) {
11555
- const a = t, n = A(() => {
11556
- var y;
11557
- return (y = a.phases) == null ? void 0 : y.find((S) => S.id === a.phaseId);
11558
- }), s = A(
11555
+ const a = t, n = S(() => {
11556
+ var _;
11557
+ return (_ = a.phases) == null ? void 0 : _.find((C) => C.id === a.phaseId);
11558
+ }), s = S(
11559
11559
  () => {
11560
- var y;
11561
- return (y = a.phases) == null ? void 0 : y.flatMap((S) => S.milestones);
11560
+ var _;
11561
+ return (_ = a.phases) == null ? void 0 : _.flatMap((C) => C.milestones);
11562
11562
  }
11563
- ), o = A(() => {
11564
- var y;
11565
- return (y = s.value) == null ? void 0 : y.find((S) => S.id === a.milestoneId);
11566
- }), i = A(() => {
11567
- var y;
11568
- return (y = a.activities) == null ? void 0 : y.find((S) => S.id === a.activityId);
11569
- }), r = (y) => {
11570
- e("update:activity", y);
11571
- }, l = (y) => {
11572
- e("addSubtask", y);
11573
- }, c = (y) => {
11574
- e("updateSubtask", y);
11575
- }, u = (y) => {
11576
- e("deleteSubtask", y);
11577
- }, f = (y) => {
11578
- e("addFiles", y);
11579
- }, d = (y) => {
11580
- e("removeFile", y);
11581
- }, h = (y) => {
11582
- e("addComment", y);
11583
- }, w = (y) => {
11584
- e("updateComment", y);
11585
- }, b = (y) => {
11586
- e("removeComment", y);
11563
+ ), o = S(() => {
11564
+ var _;
11565
+ return (_ = s.value) == null ? void 0 : _.find((C) => C.id === a.milestoneId);
11566
+ }), i = S(() => {
11567
+ var _;
11568
+ return (_ = a.activities) == null ? void 0 : _.find((C) => C.id === a.activityId);
11569
+ }), r = (_) => {
11570
+ e("update:activity", _);
11571
+ }, l = (_) => {
11572
+ e("addSubtask", _);
11573
+ }, c = (_) => {
11574
+ e("updateSubtask", _);
11575
+ }, u = (_) => {
11576
+ e("deleteSubtask", _);
11577
+ }, f = (_) => {
11578
+ e("addFiles", _);
11579
+ }, d = (_) => {
11580
+ e("removeFile", _);
11581
+ }, h = (_) => {
11582
+ e("addComment", _);
11583
+ }, w = (_) => {
11584
+ e("updateComment", _);
11585
+ }, b = (_) => {
11586
+ e("removeComment", _);
11587
11587
  };
11588
- return (y, S) => {
11589
- var _, C;
11588
+ function A(_, C) {
11589
+ e("toast", _, C);
11590
+ }
11591
+ return (_, C) => {
11592
+ var g, H;
11590
11593
  return i.value ? (p(), V(Zn, {
11591
11594
  key: 0,
11592
11595
  activity: i.value,
11593
- "activity-types": y.activityTypes,
11594
- "milestone-id": y.milestoneId,
11595
- "template-activities": y.activities,
11596
+ "activity-types": _.activityTypes,
11597
+ "milestone-id": _.milestoneId,
11598
+ "template-activities": _.activities,
11596
11599
  "is-template": !1,
11597
- users: y.users,
11598
- "user-id": y.userId,
11599
- "is-task-checkable": y.isTaskCheckable,
11600
- statuses: y.statuses,
11601
- breadcrumbs: `${(_ = n.value) == null ? void 0 : _.name} / ${(C = o.value) == null ? void 0 : C.name}`,
11602
- "is-editable": y.isEditable,
11603
- "attachment-enabled": y.attachmentEnabled,
11604
- projects: [y.project],
11605
- onClose: y.$router.back,
11600
+ users: _.users,
11601
+ "user-id": _.userId,
11602
+ "is-task-checkable": _.isTaskCheckable,
11603
+ statuses: _.statuses,
11604
+ breadcrumbs: `${(g = n.value) == null ? void 0 : g.name} / ${(H = o.value) == null ? void 0 : H.name}`,
11605
+ "is-editable": _.isEditable,
11606
+ "attachment-enabled": _.attachmentEnabled,
11607
+ projects: [_.project],
11608
+ onClose: _.$router.back,
11606
11609
  "onUpdate:activity": r,
11607
11610
  onAddSubtask: l,
11608
11611
  onUpdateSubtask: c,
@@ -11611,10 +11614,11 @@ const M4 = /* @__PURE__ */ x({
11611
11614
  onRemoveFile: d,
11612
11615
  onAddComment: h,
11613
11616
  onUpdateComment: w,
11614
- onRemoveComment: b
11617
+ onRemoveComment: b,
11618
+ onToast: A
11615
11619
  }, {
11616
- default: q((H) => [
11617
- ae(y.$slots, "default", pa(fa(H)))
11620
+ default: q((I) => [
11621
+ ae(_.$slots, "default", pa(fa(I)))
11618
11622
  ]),
11619
11623
  _: 3
11620
11624
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
@@ -11627,7 +11631,7 @@ const M4 = /* @__PURE__ */ x({
11627
11631
  items: {}
11628
11632
  },
11629
11633
  setup(t) {
11630
- return (e, a) => (p(), g("header", T4, [
11634
+ return (e, a) => (p(), y("header", T4, [
11631
11635
  M(ye, {
11632
11636
  title: e.title,
11633
11637
  class: "ao-col-header__title",
@@ -11697,7 +11701,7 @@ function B4() {
11697
11701
  }
11698
11702
  function R4(t) {
11699
11703
  const e = B4();
11700
- return A(() => (e.value, !!t()));
11704
+ return S(() => (e.value, !!t()));
11701
11705
  }
11702
11706
  function N4(t, e, a = {}) {
11703
11707
  const {
@@ -11706,7 +11710,7 @@ function N4(t, e, a = {}) {
11706
11710
  threshold: o = 0.1,
11707
11711
  window: i = V4,
11708
11712
  immediate: r = !0
11709
- } = a, l = R4(() => i && "IntersectionObserver" in i), c = A(() => {
11713
+ } = a, l = R4(() => i && "IntersectionObserver" in i), c = S(() => {
11710
11714
  const w = ja(t);
11711
11715
  return (Array.isArray(w) ? w : [w]).map(mn).filter(L4);
11712
11716
  });
@@ -11716,7 +11720,7 @@ function N4(t, e, a = {}) {
11716
11720
  ([w, b]) => {
11717
11721
  if (u(), !f.value || !w.length)
11718
11722
  return;
11719
- const y = new IntersectionObserver(
11723
+ const A = new IntersectionObserver(
11720
11724
  e,
11721
11725
  {
11722
11726
  root: mn(b),
@@ -11724,8 +11728,8 @@ function N4(t, e, a = {}) {
11724
11728
  threshold: o
11725
11729
  }
11726
11730
  );
11727
- w.forEach((S) => S && y.observe(S)), u = () => {
11728
- y.disconnect(), u = oa;
11731
+ w.forEach((_) => _ && A.observe(_)), u = () => {
11732
+ A.disconnect(), u = oa;
11729
11733
  };
11730
11734
  },
11731
11735
  { immediate: r, flush: "post" }
@@ -11804,7 +11808,7 @@ const j4 = {
11804
11808
  )
11805
11809
  });
11806
11810
  }, c = te(!1);
11807
- return (u, f) => (p(), g("div", j4, [
11811
+ return (u, f) => (p(), y("div", j4, [
11808
11812
  u.title || u.$slots.header ? ae(u.$slots, "header", { key: 0 }, () => {
11809
11813
  var d;
11810
11814
  return [
@@ -11837,7 +11841,7 @@ const j4 = {
11837
11841
  }
11838
11842
  }), {
11839
11843
  item: q(({ element: d }) => {
11840
- var h, w, b, y, S, _, C, H, I;
11844
+ var h, w, b, A, _, C, g, H, I;
11841
11845
  return [
11842
11846
  M(di, {
11843
11847
  class: G(o(d) ? "ao-list-draggable" : ""),
@@ -11845,11 +11849,11 @@ const j4 = {
11845
11849
  name: d.name,
11846
11850
  "project-name": (h = d.project) == null ? void 0 : h.name,
11847
11851
  "project-color": (w = d.project) == null ? void 0 : w.color,
11848
- "phase-name": (y = (b = d.milestone) == null ? void 0 : b.phase) == null ? void 0 : y.name,
11849
- "milestone-name": (S = d.milestone) == null ? void 0 : S.name,
11850
- "milestone-color": (_ = d.milestone) == null ? void 0 : _.color,
11852
+ "phase-name": (A = (b = d.milestone) == null ? void 0 : b.phase) == null ? void 0 : A.name,
11853
+ "milestone-name": (_ = d.milestone) == null ? void 0 : _.name,
11854
+ "milestone-color": (C = d.milestone) == null ? void 0 : C.color,
11851
11855
  deadline: d.deadline,
11852
- rules: ((C = d.rules) == null ? void 0 : C.length) || 0,
11856
+ rules: ((g = d.rules) == null ? void 0 : g.length) || 0,
11853
11857
  tasks: d.tasks,
11854
11858
  description: d.description,
11855
11859
  important: d.important,
@@ -11895,20 +11899,20 @@ const j4 = {
11895
11899
  ];
11896
11900
  }),
11897
11901
  footer: q(() => [
11898
- u.isLoading ? (p(), g("div", U4, [
11902
+ u.isLoading ? (p(), y("div", U4, [
11899
11903
  M(pe, { name: "Loading" })
11900
- ])) : u.hasMore ? (p(), g("div", {
11904
+ ])) : u.hasMore ? (p(), y("div", {
11901
11905
  key: 2,
11902
11906
  ref_key: "scrollEnd",
11903
11907
  ref: s,
11904
11908
  class: "ao-list-kanban__end"
11905
- }, null, 512)) : (p(), g("div", Z4, [
11906
- u.noMoreLabel ? (p(), g("span", W4, X(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", q4)) : T("", !0)
11909
+ }, null, 512)) : (p(), y("div", Z4, [
11910
+ u.noMoreLabel ? (p(), y("span", W4, X(u.noMoreLabel), 1)) : u.isEditable ? (p(), y("span", q4)) : T("", !0)
11907
11911
  ]))
11908
11912
  ]),
11909
11913
  _: 1
11910
11914
  }, 16, ["class", "list", "disabled"]),
11911
- u.$slots.footer || u.footerLabel ? (p(), g("div", z4, [
11915
+ u.$slots.footer || u.footerLabel ? (p(), y("div", z4, [
11912
11916
  ae(u.$slots, "footer", {}, () => [
11913
11917
  u.isEditable ? (p(), V(Ct, {
11914
11918
  key: 0,
@@ -11936,7 +11940,7 @@ const Y4 = { class: "ao-field ao-search-field" }, K4 = ["value", "placeholder",
11936
11940
  }, s = P4(n, a.delay), o = (i) => {
11937
11941
  e("clear", i);
11938
11942
  };
11939
- return (i, r) => (p(), g("div", Y4, [
11943
+ return (i, r) => (p(), y("div", Y4, [
11940
11944
  v("input", {
11941
11945
  value: i.modelValue,
11942
11946
  type: "text",
@@ -11990,7 +11994,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
11990
11994
  }
11991
11995
  const o = Pt(a, "activities"), i = async (O, k) => {
11992
11996
  await e("selectActivity", O, k);
11993
- }, r = te({}), l = te(!1), c = te(!1), u = A(() => a.project ? "milestone" : "project");
11997
+ }, r = te({}), l = te(!1), c = te(!1), u = S(() => a.project ? "milestone" : "project");
11994
11998
  de(
11995
11999
  [() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
11996
12000
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -12007,7 +12011,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12007
12011
  },
12008
12012
  { immediate: !0 }
12009
12013
  );
12010
- const f = A(() => {
12014
+ const f = S(() => {
12011
12015
  var O;
12012
12016
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12013
12017
  }), d = (O) => {
@@ -12020,24 +12024,24 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12020
12024
  a.filters.assigneeId.length > 0 && (D.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (D.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (D.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", D);
12021
12025
  }, h = (O, k) => {
12022
12026
  c.value = !1, e("update:filters", { ...a.filters, [O]: k });
12023
- }, w = A(
12027
+ }, w = S(
12024
12028
  () => a.project ? [a.project] : a.projects ?? []
12025
- ), b = A(() => w.value.map((O) => ({
12029
+ ), b = S(() => w.value.map((O) => ({
12026
12030
  value: O.id,
12027
12031
  label: O.name
12028
- }))), y = A(() => {
12032
+ }))), A = S(() => {
12029
12033
  var O;
12030
12034
  return (O = a.activityTypes) == null ? void 0 : O.map((k) => ({
12031
12035
  value: k.id,
12032
12036
  label: k.name
12033
12037
  }));
12034
- }), S = A(() => a.users.map((O) => ({
12038
+ }), _ = S(() => a.users.map((O) => ({
12035
12039
  value: O.id,
12036
12040
  label: `${O.firstName} ${O.lastName}`,
12037
12041
  avatar: O.avatarUrl
12038
- }))), _ = (O) => {
12042
+ }))), C = (O) => {
12039
12043
  a.selectedActivity && e("update:activity", O);
12040
- }, C = (O) => {
12044
+ }, g = (O) => {
12041
12045
  e("update:activity", O);
12042
12046
  }, H = (O) => {
12043
12047
  e("archiveActivity", O);
@@ -12071,7 +12075,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12071
12075
  };
12072
12076
  return (O, k) => {
12073
12077
  var j;
12074
- return p(), g("div", X4, [
12078
+ return p(), y("div", X4, [
12075
12079
  M(Ga, null, {
12076
12080
  primary: q(() => [
12077
12081
  v("div", Q4, [
@@ -12102,22 +12106,22 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12102
12106
  placeholder: O.$t("feed.filters.project.placeholder"),
12103
12107
  "onUpdate:modelValue": k[1] || (k[1] = (m) => h(ee(Lt).project, m))
12104
12108
  }, null, 8, ["model-value", "options", "placeholder"])),
12105
- y.value ? (p(), V($e, {
12109
+ A.value ? (p(), V($e, {
12106
12110
  key: 2,
12107
12111
  "model-value": O.filters[ee(Lt).type],
12108
12112
  mode: "tags",
12109
- options: y.value,
12113
+ options: A.value,
12110
12114
  "close-on-select": !1,
12111
12115
  searchable: !0,
12112
12116
  class: "ao-feed__filter ao-feed__filter__types",
12113
12117
  placeholder: O.$t("feed.filters.activityType.placeholder"),
12114
12118
  "onUpdate:modelValue": k[2] || (k[2] = (m) => h(ee(Lt).type, m))
12115
12119
  }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
12116
- S.value.length ? (p(), V($e, {
12120
+ _.value.length ? (p(), V($e, {
12117
12121
  key: 3,
12118
12122
  "model-value": O.filters[ee(Lt).assignee],
12119
12123
  mode: "tags",
12120
- options: S.value,
12124
+ options: _.value,
12121
12125
  "close-on-select": !1,
12122
12126
  searchable: !0,
12123
12127
  class: "ao-feed__filter ao-feed__filter__assignees",
@@ -12166,7 +12170,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12166
12170
  _: 1
12167
12171
  }),
12168
12172
  v("div", J4, [
12169
- (p(!0), g(ve, null, _e(O.statuses, (m) => (p(), V(x4, {
12173
+ (p(!0), y(ve, null, _e(O.statuses, (m) => (p(), V(x4, {
12170
12174
  key: m.id,
12171
12175
  status: m,
12172
12176
  list: r.value[m.id],
@@ -12180,7 +12184,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12180
12184
  onSelectActivity: i,
12181
12185
  onArchiveActivity: H,
12182
12186
  onUnarchiveActivity: I,
12183
- onUpdateActivity: C
12187
+ onUpdateActivity: g
12184
12188
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
12185
12189
  ]),
12186
12190
  (p(), V(Nt, { to: "body" }, [
@@ -12199,7 +12203,7 @@ const X4 = { class: "ao-feed" }, Q4 = { class: "ao-feed__filters" }, J4 = { clas
12199
12203
  "attachment-enabled": O.attachmentEnabled,
12200
12204
  projects: w.value,
12201
12205
  onClose: k[6] || (k[6] = () => i(null, null)),
12202
- "onUpdate:activity": _,
12206
+ "onUpdate:activity": C,
12203
12207
  onAddSubtask: U,
12204
12208
  onUpdateSubtask: z,
12205
12209
  onDeleteSubtask: E,
@@ -12326,7 +12330,7 @@ const Dt = {
12326
12330
  });
12327
12331
  }
12328
12332
  };
12329
- return (r, l) => (p(), g("div", t8, [
12333
+ return (r, l) => (p(), y("div", t8, [
12330
12334
  M(Ga, null, {
12331
12335
  secondary: q(() => [
12332
12336
  M(ue, {
@@ -12377,7 +12381,7 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ x({
12377
12381
  isMultiselect: { type: Boolean, default: !1 }
12378
12382
  },
12379
12383
  setup(t) {
12380
- return (e, a) => (p(), g("label", {
12384
+ return (e, a) => (p(), y("label", {
12381
12385
  class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
12382
12386
  }, [
12383
12387
  v("span", n8, X(e.label), 1),
@@ -12396,7 +12400,7 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ x({
12396
12400
  },
12397
12401
  emits: ["update:modelValue"],
12398
12402
  setup(t, { emit: e }) {
12399
- const a = t, n = A(
12403
+ const a = t, n = S(
12400
12404
  () => a.modelModifiers.lazy ? "change" : "input"
12401
12405
  ), s = (o) => {
12402
12406
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
@@ -12426,7 +12430,7 @@ const n8 = { class: "ao-field__label" }, s8 = /* @__PURE__ */ x({
12426
12430
  },
12427
12431
  emits: ["update:modelValue"],
12428
12432
  setup(t) {
12429
- return (e, a) => (p(), g("label", o8, [
12433
+ return (e, a) => (p(), y("label", o8, [
12430
12434
  v("span", r8, X(e.label), 1),
12431
12435
  v("input", {
12432
12436
  class: "ao-field__input",