@26lights/orcha 0.2.1 → 0.2.3

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,7 +1,7 @@
1
1
  import { defineComponent as K, openBlock as r, createBlock as x, unref as l1, mergeProps as L1, createElementBlock as u, createElementVNode as i, pushScopeId as Ye, popScopeId as Xe, createStaticVNode as Je, computed as v, resolveDynamicComponent as P1, normalizeClass as P, renderSlot as N, toDisplayString as U, createCommentVNode as V, ref as Y, watch as u1, nextTick as E1, toHandlers as Qe, withCtx as z, createTextVNode as oe, createVNode as A, withModifiers as z1, Fragment as p1, renderList as $1, withKeys as ge, toRefs as o1, getCurrentInstance as D1, onMounted as we, withDirectives as j1, vModelText as ie, vModelCheckbox as e2, toRef as se, Teleport as be } from "vue";
2
2
  import { RouterView as t2 } from "vue-router";
3
- import G1 from "vuedraggable";
4
- const d9 = /* @__PURE__ */ K({
3
+ import F1 from "vuedraggable";
4
+ const c9 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -89,7 +89,7 @@ const L2 = /* @__PURE__ */ $(b2, [["render", V2]]), H2 = {}, M2 = {
89
89
  function I2(e, l) {
90
90
  return r(), u("svg", M2, O2);
91
91
  }
92
- const T2 = /* @__PURE__ */ $(H2, [["render", I2]]), Z2 = {}, S2 = {
92
+ const T2 = /* @__PURE__ */ $(H2, [["render", I2]]), S2 = {}, Z2 = {
93
93
  width: "24",
94
94
  height: "24",
95
95
  viewBox: "0 0 24 24",
@@ -102,9 +102,9 @@ const T2 = /* @__PURE__ */ $(H2, [["render", I2]]), Z2 = {}, S2 = {
102
102
  A2
103
103
  ];
104
104
  function E2(e, l) {
105
- return r(), u("svg", S2, B2);
105
+ return r(), u("svg", Z2, B2);
106
106
  }
107
- const R2 = /* @__PURE__ */ $(Z2, [["render", E2]]), P2 = {}, D2 = {
107
+ const R2 = /* @__PURE__ */ $(S2, [["render", E2]]), P2 = {}, D2 = {
108
108
  width: "24",
109
109
  height: "24",
110
110
  viewBox: "0 0 24 24",
@@ -125,14 +125,14 @@ const U2 = /* @__PURE__ */ $(P2, [["render", N2]]), z2 = {}, j2 = {
125
125
  viewBox: "0 0 24 24",
126
126
  fill: "none",
127
127
  xmlns: "http://www.w3.org/2000/svg"
128
- }, G2 = /* @__PURE__ */ i("path", {
128
+ }, F2 = /* @__PURE__ */ i("path", {
129
129
  d: "M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",
130
130
  fill: "black"
131
- }, null, -1), F2 = [
132
- G2
131
+ }, null, -1), G2 = [
132
+ F2
133
133
  ];
134
134
  function K2(e, l) {
135
- return r(), u("svg", j2, F2);
135
+ return r(), u("svg", j2, G2);
136
136
  }
137
137
  const W2 = /* @__PURE__ */ $(z2, [["render", K2]]), Y2 = {}, X2 = {
138
138
  width: "24",
@@ -224,7 +224,7 @@ const Lt = /* @__PURE__ */ $(bt, [["render", Vt]]), Ht = {}, Mt = {
224
224
  function It(e, l) {
225
225
  return r(), u("svg", Mt, Ot);
226
226
  }
227
- const Tt = /* @__PURE__ */ $(Ht, [["render", It]]), Zt = {}, St = {
227
+ const Tt = /* @__PURE__ */ $(Ht, [["render", It]]), St = {}, Zt = {
228
228
  width: "24",
229
229
  height: "24",
230
230
  viewBox: "0 0 24 24",
@@ -237,9 +237,9 @@ const Tt = /* @__PURE__ */ $(Ht, [["render", It]]), Zt = {}, St = {
237
237
  At
238
238
  ];
239
239
  function Et(e, l) {
240
- return r(), u("svg", St, Bt);
240
+ return r(), u("svg", Zt, Bt);
241
241
  }
242
- const Rt = /* @__PURE__ */ $(Zt, [["render", Et]]), Pt = {}, Dt = {
242
+ const Rt = /* @__PURE__ */ $(St, [["render", Et]]), Pt = {}, Dt = {
243
243
  width: "24",
244
244
  height: "24",
245
245
  viewBox: "0 0 24 24",
@@ -260,14 +260,14 @@ const Ut = /* @__PURE__ */ $(Pt, [["render", Nt]]), zt = {}, jt = {
260
260
  viewBox: "0 0 24 24",
261
261
  fill: "none",
262
262
  xmlns: "http://www.w3.org/2000/svg"
263
- }, Gt = /* @__PURE__ */ i("path", {
263
+ }, Ft = /* @__PURE__ */ i("path", {
264
264
  d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",
265
265
  fill: "black"
266
- }, null, -1), Ft = [
267
- Gt
266
+ }, null, -1), Gt = [
267
+ Ft
268
268
  ];
269
269
  function Kt(e, l) {
270
- return r(), u("svg", jt, Ft);
270
+ return r(), u("svg", jt, Gt);
271
271
  }
272
272
  const Wt = /* @__PURE__ */ $(zt, [["render", Kt]]), Yt = {}, Xt = {
273
273
  width: "24",
@@ -359,7 +359,7 @@ const L3 = /* @__PURE__ */ $(b3, [["render", V3]]), H3 = {}, M3 = {
359
359
  function I3(e, l) {
360
360
  return r(), u("svg", M3, O3);
361
361
  }
362
- const T3 = /* @__PURE__ */ $(H3, [["render", I3]]), Z3 = {}, S3 = {
362
+ const T3 = /* @__PURE__ */ $(H3, [["render", I3]]), S3 = {}, Z3 = {
363
363
  width: "24",
364
364
  height: "24",
365
365
  viewBox: "0 0 24 24",
@@ -372,9 +372,9 @@ const T3 = /* @__PURE__ */ $(H3, [["render", I3]]), Z3 = {}, S3 = {
372
372
  A3
373
373
  ];
374
374
  function E3(e, l) {
375
- return r(), u("svg", S3, B3);
375
+ return r(), u("svg", Z3, B3);
376
376
  }
377
- const R3 = /* @__PURE__ */ $(Z3, [["render", E3]]), P3 = {}, D3 = {
377
+ const R3 = /* @__PURE__ */ $(S3, [["render", E3]]), P3 = {}, D3 = {
378
378
  width: "24",
379
379
  height: "24",
380
380
  viewBox: "0 0 24 24",
@@ -395,14 +395,14 @@ const U3 = /* @__PURE__ */ $(P3, [["render", N3]]), z3 = {}, j3 = {
395
395
  viewBox: "0 0 24 24",
396
396
  fill: "none",
397
397
  xmlns: "http://www.w3.org/2000/svg"
398
- }, G3 = /* @__PURE__ */ i("path", {
398
+ }, F3 = /* @__PURE__ */ i("path", {
399
399
  d: "M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",
400
400
  fill: "black"
401
- }, null, -1), F3 = [
402
- G3
401
+ }, null, -1), G3 = [
402
+ F3
403
403
  ];
404
404
  function K3(e, l) {
405
- return r(), u("svg", j3, F3);
405
+ return r(), u("svg", j3, G3);
406
406
  }
407
407
  const W3 = /* @__PURE__ */ $(z3, [["render", K3]]), Y3 = {}, X3 = {
408
408
  width: "24",
@@ -494,7 +494,7 @@ const L5 = /* @__PURE__ */ $(b5, [["render", V5]]), H5 = {}, M5 = {
494
494
  function I5(e, l) {
495
495
  return r(), u("svg", M5, O5);
496
496
  }
497
- const T5 = /* @__PURE__ */ $(H5, [["render", I5]]), Z5 = {}, S5 = {
497
+ const T5 = /* @__PURE__ */ $(H5, [["render", I5]]), S5 = {}, Z5 = {
498
498
  width: "24",
499
499
  height: "24",
500
500
  viewBox: "0 0 24 24",
@@ -507,9 +507,9 @@ const T5 = /* @__PURE__ */ $(H5, [["render", I5]]), Z5 = {}, S5 = {
507
507
  A5
508
508
  ];
509
509
  function E5(e, l) {
510
- return r(), u("svg", S5, B5);
510
+ return r(), u("svg", Z5, B5);
511
511
  }
512
- const R5 = /* @__PURE__ */ $(Z5, [["render", E5]]), P5 = {}, D5 = {
512
+ const R5 = /* @__PURE__ */ $(S5, [["render", E5]]), P5 = {}, D5 = {
513
513
  width: "24",
514
514
  height: "24",
515
515
  viewBox: "0 0 24 24",
@@ -530,14 +530,14 @@ const U5 = /* @__PURE__ */ $(P5, [["render", N5]]), z5 = {}, j5 = {
530
530
  viewBox: "0 0 24 24",
531
531
  fill: "none",
532
532
  xmlns: "http://www.w3.org/2000/svg"
533
- }, G5 = /* @__PURE__ */ i("path", {
533
+ }, F5 = /* @__PURE__ */ i("path", {
534
534
  d: "M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",
535
535
  fill: "black"
536
- }, null, -1), F5 = [
537
- G5
536
+ }, null, -1), G5 = [
537
+ F5
538
538
  ];
539
539
  function K5(e, l) {
540
- return r(), u("svg", j5, F5);
540
+ return r(), u("svg", j5, G5);
541
541
  }
542
542
  const W5 = /* @__PURE__ */ $(z5, [["render", K5]]), Y5 = {}, X5 = {
543
543
  width: "24",
@@ -643,10 +643,10 @@ const M7 = /* @__PURE__ */ $(b7, [["render", H7], ["__scopeId", "data-v-ad6da4a9
643
643
  }, null, -1), T7 = [
644
644
  I7
645
645
  ];
646
- function Z7(e, l) {
646
+ function S7(e, l) {
647
647
  return r(), u("svg", O7, T7);
648
648
  }
649
- const S7 = /* @__PURE__ */ $(k7, [["render", Z7]]), A7 = {}, B7 = {
649
+ const Z7 = /* @__PURE__ */ $(k7, [["render", S7]]), A7 = {}, B7 = {
650
650
  width: "24",
651
651
  height: "24",
652
652
  viewBox: "0 0 24 24",
@@ -676,7 +676,7 @@ const D7 = /* @__PURE__ */ $(A7, [["render", P7]]), q7 = {}, x7 = {
676
676
  function z7(e, l) {
677
677
  return r(), u("svg", x7, U7);
678
678
  }
679
- const j7 = /* @__PURE__ */ $(q7, [["render", z7]]), G7 = {}, F7 = {
679
+ const j7 = /* @__PURE__ */ $(q7, [["render", z7]]), F7 = {}, G7 = {
680
680
  width: "24",
681
681
  height: "24",
682
682
  viewBox: "0 0 24 24",
@@ -689,9 +689,9 @@ const j7 = /* @__PURE__ */ $(q7, [["render", z7]]), G7 = {}, F7 = {
689
689
  K7
690
690
  ];
691
691
  function Y7(e, l) {
692
- return r(), u("svg", F7, W7);
692
+ return r(), u("svg", G7, W7);
693
693
  }
694
- const X7 = /* @__PURE__ */ $(G7, [["render", Y7]]), J7 = {}, Q7 = {
694
+ const X7 = /* @__PURE__ */ $(F7, [["render", Y7]]), J7 = {}, Q7 = {
695
695
  width: "24",
696
696
  height: "24",
697
697
  viewBox: "0 0 24 24",
@@ -778,10 +778,10 @@ const M0 = /* @__PURE__ */ $($0, [["render", H0]]), k0 = {}, O0 = {
778
778
  }, null, -1), T0 = [
779
779
  I0
780
780
  ];
781
- function Z0(e, l) {
781
+ function S0(e, l) {
782
782
  return r(), u("svg", O0, T0);
783
783
  }
784
- const S0 = /* @__PURE__ */ $(k0, [["render", Z0]]), A0 = {}, B0 = {
784
+ const Z0 = /* @__PURE__ */ $(k0, [["render", S0]]), A0 = {}, B0 = {
785
785
  width: "24",
786
786
  height: "24",
787
787
  viewBox: "0 0 24 24",
@@ -811,7 +811,7 @@ const D0 = /* @__PURE__ */ $(A0, [["render", P0]]), q0 = {}, x0 = {
811
811
  function z0(e, l) {
812
812
  return r(), u("svg", x0, U0);
813
813
  }
814
- const j0 = /* @__PURE__ */ $(q0, [["render", z0]]), G0 = {}, F0 = {
814
+ const j0 = /* @__PURE__ */ $(q0, [["render", z0]]), F0 = {}, G0 = {
815
815
  width: "26",
816
816
  height: "29",
817
817
  viewBox: "0 0 26 29",
@@ -821,9 +821,9 @@ const j0 = /* @__PURE__ */ $(q0, [["render", z0]]), G0 = {}, F0 = {
821
821
  K0
822
822
  ];
823
823
  function Y0(e, l) {
824
- return r(), u("svg", F0, W0);
824
+ return r(), u("svg", G0, W0);
825
825
  }
826
- const X0 = /* @__PURE__ */ $(G0, [["render", Y0]]), J0 = {}, Q0 = {
826
+ const X0 = /* @__PURE__ */ $(F0, [["render", Y0]]), J0 = {}, Q0 = {
827
827
  width: "24",
828
828
  height: "24",
829
829
  viewBox: "0 0 24 24",
@@ -910,10 +910,10 @@ const Ml = /* @__PURE__ */ $($l, [["render", Hl]]), kl = {}, Ol = {
910
910
  }, null, -1), Tl = [
911
911
  Il
912
912
  ];
913
- function Zl(e, l) {
913
+ function Sl(e, l) {
914
914
  return r(), u("svg", Ol, Tl);
915
915
  }
916
- const Sl = /* @__PURE__ */ $(kl, [["render", Zl]]), Al = {}, Bl = {
916
+ const Zl = /* @__PURE__ */ $(kl, [["render", Sl]]), Al = {}, Bl = {
917
917
  width: "24",
918
918
  height: "24",
919
919
  viewBox: "0 0 24 24",
@@ -943,7 +943,7 @@ const Dl = /* @__PURE__ */ $(Al, [["render", Pl]]), ql = {}, xl = {
943
943
  function zl(e, l) {
944
944
  return r(), u("svg", xl, Ul);
945
945
  }
946
- const jl = /* @__PURE__ */ $(ql, [["render", zl]]), Gl = {}, Fl = {
946
+ const jl = /* @__PURE__ */ $(ql, [["render", zl]]), Fl = {}, Gl = {
947
947
  width: "24",
948
948
  height: "24",
949
949
  viewBox: "0 0 24 24",
@@ -956,9 +956,9 @@ const jl = /* @__PURE__ */ $(ql, [["render", zl]]), Gl = {}, Fl = {
956
956
  Kl
957
957
  ];
958
958
  function Yl(e, l) {
959
- return r(), u("svg", Fl, Wl);
959
+ return r(), u("svg", Gl, Wl);
960
960
  }
961
- const Xl = /* @__PURE__ */ $(Gl, [["render", Yl]]), Jl = {}, Ql = {
961
+ const Xl = /* @__PURE__ */ $(Fl, [["render", Yl]]), Jl = {}, Ql = {
962
962
  width: "24",
963
963
  height: "24",
964
964
  viewBox: "0 0 24 24",
@@ -1075,7 +1075,7 @@ const Ma = /* @__PURE__ */ $($a, [["render", Ha]]), ka = /* @__PURE__ */ Object.
1075
1075
  KeyboardArrowDown: v7,
1076
1076
  KeyboardArrowUp: g7,
1077
1077
  Loading: M7,
1078
- LogoutRounded: S7,
1078
+ LogoutRounded: Z7,
1079
1079
  Menu: D7,
1080
1080
  MoreHoriz: j7,
1081
1081
  MoreTimeRounded: X7,
@@ -1084,7 +1084,7 @@ const Ma = /* @__PURE__ */ $($a, [["render", Ha]]), ka = /* @__PURE__ */ Object.
1084
1084
  PersonAddOutlineRounded: _0,
1085
1085
  PictureAsPdfRounded: w0,
1086
1086
  RadioButtonChecked: M0,
1087
- RadioButtonCheckedOutline: S0,
1087
+ RadioButtonCheckedOutline: Z0,
1088
1088
  RadioButtonUnchecked: D0,
1089
1089
  RemoveRounded: j0,
1090
1090
  SearchRounded: X0,
@@ -1093,7 +1093,7 @@ const Ma = /* @__PURE__ */ $($a, [["render", Ha]]), ka = /* @__PURE__ */ Object.
1093
1093
  Settings: _l,
1094
1094
  SlideshowRounded: wl,
1095
1095
  Target: Ml,
1096
- TaskOutlineRounded: Sl,
1096
+ TaskOutlineRounded: Zl,
1097
1097
  TextSnippetRounded: Dl,
1098
1098
  TimerOutline: jl,
1099
1099
  ViewComfyAltRounded: Xl,
@@ -1106,7 +1106,7 @@ const Ma = /* @__PURE__ */ $($a, [["render", Ha]]), ka = /* @__PURE__ */ Object.
1106
1106
  SOLID: "solid",
1107
1107
  GHOST: "ghost",
1108
1108
  OUTLINE: "outline"
1109
- }, F1 = {
1109
+ }, G1 = {
1110
1110
  SM: "sm",
1111
1111
  MD: "md",
1112
1112
  LG: "lg",
@@ -1122,7 +1122,7 @@ const Ma = /* @__PURE__ */ $($a, [["render", Ha]]), ka = /* @__PURE__ */ Object.
1122
1122
  __name: "AoIcon",
1123
1123
  props: {
1124
1124
  name: {},
1125
- size: { default: F1.MD }
1125
+ size: { default: G1.MD }
1126
1126
  },
1127
1127
  setup(e) {
1128
1128
  const l = e, t = v(() => ka[l.name]);
@@ -1144,7 +1144,7 @@ const Ia = ["type"], Ta = {
1144
1144
  type: { default: () => "button" },
1145
1145
  color: { default: () => $e.NEUTRAL },
1146
1146
  footer: { type: Boolean, default: () => !1 },
1147
- size: { default: () => F1.MD },
1147
+ size: { default: () => G1.MD },
1148
1148
  isLoading: { type: Boolean, default: () => !1 },
1149
1149
  corners: { default: () => ye.ROUNDED }
1150
1150
  },
@@ -1225,10 +1225,10 @@ const y1 = /* @__PURE__ */ K({
1225
1225
  }, 16, ["class", "type", "value"]));
1226
1226
  }
1227
1227
  });
1228
- const Za = {
1228
+ const Sa = {
1229
1229
  key: 0,
1230
1230
  class: "ao-card__drag"
1231
- }, Sa = { class: "ao-card__header" }, Aa = {
1231
+ }, Za = { class: "ao-card__header" }, Aa = {
1232
1232
  key: 0,
1233
1233
  class: "ao-card__avatar"
1234
1234
  }, Ba = {
@@ -1265,13 +1265,13 @@ const Za = {
1265
1265
  class: P(["ao-card", { "ao-card--active": d.isActive }])
1266
1266
  }, {
1267
1267
  default: z(() => [
1268
- d.isDraggable ? (r(), u("div", Za, [
1268
+ d.isDraggable ? (r(), u("div", Sa, [
1269
1269
  A(_1, {
1270
1270
  name: "DragIndicator",
1271
1271
  class: "ao-card__drag-handle"
1272
1272
  })
1273
1273
  ])) : V("", !0),
1274
- i("div", Sa, [
1274
+ i("div", Za, [
1275
1275
  d.icon ? (r(), u("div", Aa, [
1276
1276
  A(_1, {
1277
1277
  class: "ao-card__icon",
@@ -1384,7 +1384,7 @@ const Ua = ["title"], za = { className: "ao-avatar__initials" }, ja = /* @__PURE
1384
1384
  props: {
1385
1385
  userName: {},
1386
1386
  isClosable: { type: Boolean },
1387
- size: { default: F1.MD }
1387
+ size: { default: G1.MD }
1388
1388
  },
1389
1389
  emits: ["close"],
1390
1390
  setup(e, { emit: l }) {
@@ -1408,7 +1408,7 @@ const Ua = ["title"], za = { className: "ao-avatar__initials" }, ja = /* @__PURE
1408
1408
  ], 10, Ua));
1409
1409
  }
1410
1410
  });
1411
- const Ga = { class: "ao-card-template__subitems" }, Fa = { class: "ao-card-template__subitem" }, Ka = { class: "ao-card-template__subitem-number" }, Wa = { class: "ao-card-template__subitem" }, Ya = { class: "ao-card-template__subitem" }, Xa = { class: "ao-card-template__body" }, Ja = { class: "ao-card-template__col ao-card-template__col--phases" }, Qa = { class: "ao-card-template__col-title" }, es = { class: "ao-card-template__col-label" }, ts = {
1411
+ const Fa = { class: "ao-card-template__subitems" }, Ga = { class: "ao-card-template__subitem" }, Ka = { class: "ao-card-template__subitem-number" }, Wa = { class: "ao-card-template__subitem" }, Ya = { class: "ao-card-template__subitem" }, Xa = { class: "ao-card-template__body" }, Ja = { class: "ao-card-template__col ao-card-template__col--phases" }, Qa = { class: "ao-card-template__col-title" }, es = { class: "ao-card-template__col-label" }, ts = {
1412
1412
  key: 0,
1413
1413
  class: "ao-card-template__col-body ao-card-template__phases-list"
1414
1414
  }, ls = { class: "ao-card-template__col ao-card-template__col--updated-at" }, as = { class: "ao-card-template__col-title" }, ss = { class: "ao-card-template__col-label" }, ns = { class: "ao-card-template__col-body" }, is = {
@@ -1430,8 +1430,8 @@ const Ga = { class: "ao-card-template__subitems" }, Fa = { class: "ao-card-templ
1430
1430
  "is-draggable": !0
1431
1431
  }, {
1432
1432
  subtitle: z(() => [
1433
- i("ul", Ga, [
1434
- i("li", Fa, [
1433
+ i("ul", Fa, [
1434
+ i("li", Ga, [
1435
1435
  A(_1, {
1436
1436
  name: "MountainFlagOutlineRounded",
1437
1437
  size: "sm"
@@ -1522,7 +1522,7 @@ const ps = ["type"], _s = {
1522
1522
  iconPosition: {},
1523
1523
  type: { default: () => "button" },
1524
1524
  color: { default: () => $e.BLACK },
1525
- size: { default: () => F1.MD },
1525
+ size: { default: () => G1.MD },
1526
1526
  isLoading: { type: Boolean, default: () => !1 },
1527
1527
  corners: { default: () => ye.ROUNDED }
1528
1528
  },
@@ -1628,7 +1628,17 @@ const gs = /* @__PURE__ */ K({
1628
1628
  _: 3
1629
1629
  }, 8, ["activities"]));
1630
1630
  }
1631
- }), ws = {
1631
+ }), C9 = {
1632
+ todo: "todo",
1633
+ done: "done",
1634
+ archived: "archived"
1635
+ }, v9 = {
1636
+ future: "future",
1637
+ this_month: "this_month",
1638
+ this_week: "this_week",
1639
+ today: "today",
1640
+ done: "done"
1641
+ }, ws = {
1632
1642
  BEFORE: "before",
1633
1643
  AFTER: "after"
1634
1644
  }, $s = {
@@ -1642,7 +1652,17 @@ const gs = /* @__PURE__ */ K({
1642
1652
  PHASES: "phases",
1643
1653
  MILESTONES: "milestones",
1644
1654
  ACTIVITIES: "activities"
1645
- }, Vs = { class: "ao-list__footer" }, Ls = /* @__PURE__ */ K({
1655
+ };
1656
+ var Vs = /* @__PURE__ */ ((e) => (e.PHASES = "phases", e.MILESTONES = "milestones", e.ACTIVITIES = "activities", e))(Vs || {});
1657
+ const p9 = {
1658
+ add: "add",
1659
+ remove: "remove",
1660
+ moved: "moved"
1661
+ }, _9 = {
1662
+ project: "project",
1663
+ activity_type: "activity_type",
1664
+ assignee: "assignee"
1665
+ }, Ls = { class: "ao-list__footer" }, Hs = /* @__PURE__ */ K({
1646
1666
  __name: "AoTemplateDetailsMilestones",
1647
1667
  props: {
1648
1668
  templateId: {},
@@ -1671,7 +1691,7 @@ const gs = /* @__PURE__ */ K({
1671
1691
  }, d = (a) => {
1672
1692
  l("updateMilestone", { ...a, phaseId: t.phase.id });
1673
1693
  };
1674
- return (a, c) => a.phase ? (r(), x(l1(G1), {
1694
+ return (a, c) => a.phase ? (r(), x(l1(F1), {
1675
1695
  key: 0,
1676
1696
  modelValue: o.value,
1677
1697
  "onUpdate:modelValue": c[0] || (c[0] = (h) => o.value = h),
@@ -1703,7 +1723,7 @@ const gs = /* @__PURE__ */ K({
1703
1723
  }, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick"]))
1704
1724
  ]),
1705
1725
  footer: z(() => [
1706
- i("div", Vs, [
1726
+ i("div", Ls, [
1707
1727
  A(K1, {
1708
1728
  "icon-name": "AddBoxOutlineRounded",
1709
1729
  label: a.$t("template.milestones.add"),
@@ -1714,7 +1734,7 @@ const gs = /* @__PURE__ */ K({
1714
1734
  _: 1
1715
1735
  }, 8, ["modelValue", "title"])) : V("", !0);
1716
1736
  }
1717
- }), Hs = /* @__PURE__ */ K({
1737
+ }), Ms = /* @__PURE__ */ K({
1718
1738
  __name: "AoCardTemplateItemActivity",
1719
1739
  props: {
1720
1740
  name: {},
@@ -1732,7 +1752,7 @@ const gs = /* @__PURE__ */ K({
1732
1752
  _: 3
1733
1753
  }, 8, ["subtasks"]));
1734
1754
  }
1735
- }), Ms = { class: "ao-list__footer" }, ks = /* @__PURE__ */ K({
1755
+ }), ks = { class: "ao-list__footer" }, Os = /* @__PURE__ */ K({
1736
1756
  __name: "AoTemplateDetailsActivities",
1737
1757
  props: {
1738
1758
  templateId: {},
@@ -1767,7 +1787,7 @@ const gs = /* @__PURE__ */ K({
1767
1787
  });
1768
1788
  }
1769
1789
  });
1770
- return (a, c) => a.milestone ? (r(), x(l1(G1), {
1790
+ return (a, c) => a.milestone ? (r(), x(l1(F1), {
1771
1791
  key: 0,
1772
1792
  modelValue: d.value,
1773
1793
  "onUpdate:modelValue": c[0] || (c[0] = (h) => d.value = h),
@@ -1784,7 +1804,7 @@ const gs = /* @__PURE__ */ K({
1784
1804
  })
1785
1805
  ]),
1786
1806
  item: z(({ element: h }) => [
1787
- (r(), x(Hs, {
1807
+ (r(), x(Ms, {
1788
1808
  key: h.id,
1789
1809
  title: h.name,
1790
1810
  subtasks: h.subtasks,
@@ -1795,7 +1815,7 @@ const gs = /* @__PURE__ */ K({
1795
1815
  }, null, 8, ["title", "subtasks", "is-active", "onUpdate:title", "onClick"]))
1796
1816
  ]),
1797
1817
  footer: z(() => [
1798
- i("div", Ms, [
1818
+ i("div", ks, [
1799
1819
  A(K1, {
1800
1820
  "icon-name": "AddBoxOutlineRounded",
1801
1821
  label: a.$t("template.activities.add"),
@@ -1810,17 +1830,17 @@ const gs = /* @__PURE__ */ K({
1810
1830
  function v1(e) {
1811
1831
  return [null, void 0].indexOf(e) !== -1;
1812
1832
  }
1813
- function Os(e, l, t) {
1833
+ function Is(e, l, t) {
1814
1834
  const { object: o, valueProp: n, mode: d } = o1(e), a = D1().proxy, c = t.iv, h = (T, R = !0) => {
1815
1835
  c.value = b(T);
1816
- const Z = g(T);
1817
- l.emit("change", Z, a), R && (l.emit("input", Z), l.emit("update:modelValue", Z));
1836
+ const S = g(T);
1837
+ l.emit("change", S, a), R && (l.emit("input", S), l.emit("update:modelValue", S));
1818
1838
  }, g = (T) => o.value || v1(T) ? T : Array.isArray(T) ? T.map((R) => R[n.value]) : T[n.value], b = (T) => v1(T) ? d.value === "single" ? {} : [] : T;
1819
1839
  return {
1820
1840
  update: h
1821
1841
  };
1822
1842
  }
1823
- function Is(e, l) {
1843
+ function Ts(e, l) {
1824
1844
  const { value: t, modelValue: o, mode: n, valueProp: d } = o1(e), a = Y(n.value !== "single" ? [] : {}), c = o && o.value !== void 0 ? o : t, h = v(() => n.value === "single" ? a.value[d.value] : a.value.map((b) => b[d.value])), g = v(() => n.value !== "single" ? a.value.map((b) => b[d.value]).join(",") : a.value[d.value]);
1825
1845
  return {
1826
1846
  iv: a,
@@ -1831,26 +1851,26 @@ function Is(e, l) {
1831
1851
  plainValue: h
1832
1852
  };
1833
1853
  }
1834
- function Ts(e, l, t) {
1854
+ function Ss(e, l, t) {
1835
1855
  const { regex: o } = o1(e), n = D1().proxy, d = t.isOpen, a = t.open, c = Y(null), h = Y(null), g = () => {
1836
1856
  c.value = "";
1837
- }, b = (Z) => {
1838
- c.value = Z.target.value;
1839
- }, T = (Z) => {
1857
+ }, b = (S) => {
1858
+ c.value = S.target.value;
1859
+ }, T = (S) => {
1840
1860
  if (o && o.value) {
1841
1861
  let _ = o.value;
1842
- typeof _ == "string" && (_ = new RegExp(_)), Z.key.match(_) || Z.preventDefault();
1862
+ typeof _ == "string" && (_ = new RegExp(_)), S.key.match(_) || S.preventDefault();
1843
1863
  }
1844
- }, R = (Z) => {
1864
+ }, R = (S) => {
1845
1865
  if (o && o.value) {
1846
- let L = (Z.clipboardData || /* istanbul ignore next */
1866
+ let L = (S.clipboardData || /* istanbul ignore next */
1847
1867
  window.clipboardData).getData("Text"), M = o.value;
1848
- typeof M == "string" && (M = new RegExp(M)), L.split("").every((y) => !!y.match(M)) || Z.preventDefault();
1868
+ typeof M == "string" && (M = new RegExp(M)), L.split("").every((y) => !!y.match(M)) || S.preventDefault();
1849
1869
  }
1850
- l.emit("paste", Z, n);
1870
+ l.emit("paste", S, n);
1851
1871
  };
1852
- return u1(c, (Z) => {
1853
- !d.value && Z && a(), l.emit("search-change", Z, n);
1872
+ return u1(c, (S) => {
1873
+ !d.value && S && a(), l.emit("search-change", S, n);
1854
1874
  }), {
1855
1875
  search: c,
1856
1876
  input: h,
@@ -1875,16 +1895,16 @@ function Zs(e, l, t) {
1875
1895
  function ne(e, l = !0) {
1876
1896
  return l ? String(e).toLowerCase().trim() : String(e).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
1877
1897
  }
1878
- function Ss(e) {
1898
+ function As(e) {
1879
1899
  return Object.prototype.toString.call(e) === "[object Object]";
1880
1900
  }
1881
- function As(e, l) {
1901
+ function Bs(e, l) {
1882
1902
  const t = l.slice().sort();
1883
1903
  return e.length === l.length && e.slice().sort().every(function(o, n) {
1884
1904
  return o === t[n];
1885
1905
  });
1886
1906
  }
1887
- function Bs(e, l, t) {
1907
+ function Es(e, l, t) {
1888
1908
  const {
1889
1909
  options: o,
1890
1910
  mode: n,
@@ -1896,7 +1916,7 @@ function Bs(e, l, t) {
1896
1916
  label: b,
1897
1917
  appendNewTag: T,
1898
1918
  appendNewOption: R,
1899
- multipleLabel: Z,
1919
+ multipleLabel: S,
1900
1920
  object: _,
1901
1921
  loading: L,
1902
1922
  delay: M,
@@ -1909,7 +1929,7 @@ function Bs(e, l, t) {
1909
1929
  allowAbsent: e1,
1910
1930
  groupLabel: m,
1911
1931
  canDeselect: w,
1912
- max: S,
1932
+ max: Z,
1913
1933
  strict: W,
1914
1934
  closeOnSelect: H,
1915
1935
  closeOnDeselect: B,
@@ -1919,23 +1939,23 @@ function Bs(e, l, t) {
1919
1939
  groupOptions: t1,
1920
1940
  groupHideEmpty: V1,
1921
1941
  groupSelect: D,
1922
- onCreate: G,
1923
- disabledProp: F,
1942
+ onCreate: F,
1943
+ disabledProp: G,
1924
1944
  searchStart: g1,
1925
- searchFilter: Z1
1926
- } = o1(e), s1 = D1().proxy, q = t.iv, p = t.ev, I = t.search, i1 = t.clearSearch, f1 = t.update, ke = t.pointer, H1 = t.clearPointer, Oe = t.focus, Ie = t.deactivate, M1 = t.close, Te = t.localize, S1 = Y([]), b1 = Y([]), c1 = Y(!1), W1 = Y(null), Y1 = Y(X.value && a.value === -1 ? 10 : a.value), de = v(() => h.value || g.value || !1), Ze = v(() => T.value !== void 0 ? T.value : R.value !== void 0 ? R.value : !0), w1 = v(() => {
1945
+ searchFilter: S1
1946
+ } = o1(e), s1 = D1().proxy, q = t.iv, p = t.ev, I = t.search, i1 = t.clearSearch, f1 = t.update, ke = t.pointer, H1 = t.clearPointer, Oe = t.focus, Ie = t.deactivate, M1 = t.close, Te = t.localize, Z1 = Y([]), b1 = Y([]), c1 = Y(!1), W1 = Y(null), Y1 = Y(X.value && a.value === -1 ? 10 : a.value), de = v(() => h.value || g.value || !1), Se = v(() => T.value !== void 0 ? T.value : R.value !== void 0 ? R.value : !0), w1 = v(() => {
1927
1947
  if (a1.value) {
1928
1948
  let s = q1.value || /* istanbul ignore next */
1929
1949
  [], f = [];
1930
1950
  return s.forEach((E) => {
1931
1951
  le(E[t1.value]).forEach((J) => {
1932
- f.push(Object.assign({}, J, E[F.value] ? { [F.value]: !0 } : {}));
1952
+ f.push(Object.assign({}, J, E[G.value] ? { [G.value]: !0 } : {}));
1933
1953
  });
1934
1954
  }), f;
1935
1955
  } else {
1936
1956
  let s = le(b1.value || /* istanbul ignore next */
1937
1957
  []);
1938
- return S1.value.length && (s = s.concat(S1.value)), s;
1958
+ return Z1.value.length && (s = s.concat(Z1.value)), s;
1939
1959
  }
1940
1960
  }), ce = v(() => {
1941
1961
  let s = w1.value;
@@ -1948,12 +1968,12 @@ function Bs(e, l, t) {
1948
1968
  return [];
1949
1969
  let s = [], f = b1.value || /* istanbul ignore next */
1950
1970
  [];
1951
- return S1.value.length && s.push({
1971
+ return Z1.value.length && s.push({
1952
1972
  [m.value]: " ",
1953
- [t1.value]: [...S1.value],
1973
+ [t1.value]: [...Z1.value],
1954
1974
  __CREATE__: !0
1955
1975
  }), s.concat(f);
1956
- }), Se = v(() => {
1976
+ }), Ze = v(() => {
1957
1977
  let s = [...q1.value].map((f) => ({ ...f }));
1958
1978
  return k1.value.length && (s[0] && s[0].__CREATE__ ? s[0][t1.value] = [...k1.value, ...s[0][t1.value]] : s = [{
1959
1979
  [m.value]: " ",
@@ -1963,7 +1983,7 @@ function Bs(e, l, t) {
1963
1983
  }), Ce = v(() => {
1964
1984
  if (!a1.value)
1965
1985
  return [];
1966
- let s = Se.value;
1986
+ let s = Ze.value;
1967
1987
  return Ke((s || /* istanbul ignore next */
1968
1988
  []).map((f, E) => {
1969
1989
  const J = le(f[t1.value]);
@@ -1971,8 +1991,8 @@ function Bs(e, l, t) {
1971
1991
  ...f,
1972
1992
  index: E,
1973
1993
  group: !0,
1974
- [t1.value]: te(J, !1).map((B1) => Object.assign({}, B1, f[F.value] ? { [F.value]: !0 } : {})),
1975
- __VISIBLE__: te(J).map((B1) => Object.assign({}, B1, f[F.value] ? { [F.value]: !0 } : {}))
1994
+ [t1.value]: te(J, !1).map((B1) => Object.assign({}, B1, f[G.value] ? { [G.value]: !0 } : {})),
1995
+ __VISIBLE__: te(J).map((B1) => Object.assign({}, B1, f[G.value] ? { [G.value]: !0 } : {}))
1976
1996
  };
1977
1997
  }));
1978
1998
  }), X1 = v(() => {
@@ -1983,7 +2003,7 @@ function Bs(e, l, t) {
1983
2003
  case "tags":
1984
2004
  return !v1(q.value) && q.value.length > 0;
1985
2005
  }
1986
- }), Ae = v(() => Z !== void 0 && Z.value !== void 0 ? Z.value(q.value, s1) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), Be = v(() => !w1.value.length && !c1.value && !k1.value.length), Ee = v(() => w1.value.length > 0 && A1.value.length == 0 && (I.value && a1.value || !a1.value)), k1 = v(() => de.value === !1 || !I.value ? [] : je(I.value) !== -1 ? [] : [{
2006
+ }), Ae = v(() => S !== void 0 && S.value !== void 0 ? S.value(q.value, s1) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), Be = v(() => !w1.value.length && !c1.value && !k1.value.length), Ee = v(() => w1.value.length > 0 && A1.value.length == 0 && (I.value && a1.value || !a1.value)), k1 = v(() => de.value === !1 || !I.value ? [] : je(I.value) !== -1 ? [] : [{
1987
2007
  [k.value]: I.value,
1988
2008
  [C1.value]: I.value,
1989
2009
  [b.value]: I.value,
@@ -2038,9 +2058,9 @@ function Bs(e, l, t) {
2038
2058
  case "multiple":
2039
2059
  return !v1(q.value) && q.value.map((f) => f[k.value]).indexOf(s[k.value]) !== -1;
2040
2060
  }
2041
- }, J1 = (s) => s[F.value] === !0, Q1 = () => S === void 0 || S.value === -1 || !X1.value && S.value > 0 ? !1 : q.value.length >= S.value, qe = (s) => {
2061
+ }, J1 = (s) => s[G.value] === !0, Q1 = () => Z === void 0 || Z.value === -1 || !X1.value && Z.value > 0 ? !1 : q.value.length >= Z.value, qe = (s) => {
2042
2062
  if (!J1(s)) {
2043
- if (G && G.value && !h1(s) && s.__CREATE__ && (s = { ...s }, delete s.__CREATE__, s = G.value(s, s1), s instanceof Promise)) {
2063
+ if (F && F.value && !h1(s) && s.__CREATE__ && (s = { ...s }, delete s.__CREATE__, s = F.value(s, s1), s instanceof Promise)) {
2044
2064
  c1.value = !0, s.then((f) => {
2045
2065
  c1.value = !1, fe(f);
2046
2066
  });
@@ -2087,35 +2107,35 @@ function Bs(e, l, t) {
2087
2107
  case "multiple":
2088
2108
  case "tags":
2089
2109
  Ue(s[t1.value]) ? I1(s[t1.value]) : O1(
2090
- s[t1.value].filter((f) => q.value.map((E) => E[k.value]).indexOf(f[k.value]) === -1).filter((f) => !f[F.value]).filter((f, E) => q.value.length + 1 + E <= S.value || S.value === -1)
2110
+ s[t1.value].filter((f) => q.value.map((E) => E[k.value]).indexOf(f[k.value]) === -1).filter((f) => !f[G.value]).filter((f, E) => q.value.length + 1 + E <= Z.value || Z.value === -1)
2091
2111
  );
2092
2112
  break;
2093
2113
  }
2094
2114
  H.value && Ie();
2095
2115
  }
2096
2116
  }, ee = (s) => {
2097
- m1(s[k.value]) === void 0 && de.value && (l.emit("tag", s[k.value], s1), l.emit("option", s[k.value], s1), l.emit("create", s[k.value], s1), Ze.value && Fe(s), i1());
2117
+ m1(s[k.value]) === void 0 && de.value && (l.emit("tag", s[k.value], s1), l.emit("option", s[k.value], s1), l.emit("create", s[k.value], s1), Se.value && Ge(s), i1());
2098
2118
  }, Ne = () => {
2099
2119
  n.value !== "single" && O1(A1.value.filter((s) => !s.disabled && !h1(s)));
2100
- }, Ue = (s) => s.find((f) => !h1(f) && !f[F.value]) === void 0, ze = (s) => s.find((f) => !h1(f)) === void 0, m1 = (s) => w1.value[w1.value.map((f) => String(f[k.value])).indexOf(String(s))], je = (s, f = !0) => w1.value.map((E) => parseInt(E[C1.value]) == E[C1.value] ? parseInt(E[C1.value]) : E[C1.value]).indexOf(
2120
+ }, Ue = (s) => s.find((f) => !h1(f) && !f[G.value]) === void 0, ze = (s) => s.find((f) => !h1(f)) === void 0, m1 = (s) => w1.value[w1.value.map((f) => String(f[k.value])).indexOf(String(s))], je = (s, f = !0) => w1.value.map((E) => parseInt(E[C1.value]) == E[C1.value] ? parseInt(E[C1.value]) : E[C1.value]).indexOf(
2101
2121
  parseInt(s) == s ? parseInt(s) : s
2102
- ), Ge = (s) => ["tags", "multiple"].indexOf(n.value) !== -1 && c.value && h1(s), Fe = (s) => {
2103
- S1.value.push(s);
2122
+ ), Fe = (s) => ["tags", "multiple"].indexOf(n.value) !== -1 && c.value && h1(s), Ge = (s) => {
2123
+ Z1.value.push(s);
2104
2124
  }, Ke = (s) => V1.value ? s.filter(
2105
2125
  (f) => I.value ? f.__VISIBLE__.length : f[t1.value].length
2106
2126
  ) : s.filter((f) => I.value ? f.__VISIBLE__.length : !0), te = (s, f = !0) => {
2107
2127
  let E = s;
2108
2128
  if (I.value && O.value) {
2109
- let J = Z1.value;
2110
- J || (J = (B1, i9) => {
2129
+ let J = S1.value;
2130
+ J || (J = (B1, o9) => {
2111
2131
  let me = ne(Te(B1[C1.value]), W.value);
2112
2132
  return g1.value ? me.startsWith(ne(I.value, W.value)) : me.indexOf(ne(I.value, W.value)) !== -1;
2113
2133
  }), E = E.filter(J);
2114
2134
  }
2115
- return c.value && f && (E = E.filter((J) => !Ge(J))), E;
2135
+ return c.value && f && (E = E.filter((J) => !Fe(J))), E;
2116
2136
  }, le = (s) => {
2117
2137
  let f = s;
2118
- return Ss(f) && (f = Object.keys(f).map((E) => {
2138
+ return As(f) && (f = Object.keys(f).map((E) => {
2119
2139
  let J = f[E];
2120
2140
  return { [k.value]: E, [C1.value]: J, [b.value]: J };
2121
2141
  })), f = f.map((E) => typeof E == "object" ? E : { [k.value]: E, [C1.value]: E, [b.value]: E }), f;
@@ -2159,7 +2179,7 @@ function Bs(e, l, t) {
2159
2179
  W1.value = u1(I, (s) => {
2160
2180
  s.length < C.value || !s && C.value !== 0 || (c1.value = !0, j.value && (b1.value = []), setTimeout(() => {
2161
2181
  s == I.value && o.value(I.value, s1).then((f) => {
2162
- (s == I.value || !I.value) && (b1.value = f, ke.value = A1.value.filter((E) => E[F.value] !== !0)[0] || null, c1.value = !1);
2182
+ (s == I.value || !I.value) && (b1.value = f, ke.value = A1.value.filter((E) => E[G.value] !== !0)[0] || null, c1.value = !1);
2163
2183
  }).catch(
2164
2184
  /* istanbul ignore next */
2165
2185
  (f) => {
@@ -2184,7 +2204,7 @@ function Bs(e, l, t) {
2184
2204
  break;
2185
2205
  case "multiple":
2186
2206
  case "tags":
2187
- As(_.value ? s.map((f) => f[k.value]) : s, q.value.map((f) => f[k.value])) || f1(U1(s), !1);
2207
+ Bs(_.value ? s.map((f) => f[k.value]) : s, q.value.map((f) => f[k.value])) || f1(U1(s), !1);
2188
2208
  break;
2189
2209
  }
2190
2210
  }, { deep: !0 }), u1(o, (s, f) => {
@@ -2223,7 +2243,7 @@ function Bs(e, l, t) {
2223
2243
  refreshLabels: ae
2224
2244
  };
2225
2245
  }
2226
- function Es(e, l, t) {
2246
+ function Rs(e, l, t) {
2227
2247
  const {
2228
2248
  valueProp: o,
2229
2249
  showOptions: n,
@@ -2234,7 +2254,7 @@ function Es(e, l, t) {
2234
2254
  groupSelect: g,
2235
2255
  disabledProp: b,
2236
2256
  groupOptions: T
2237
- } = o1(e), R = t.fo, Z = t.fg, _ = t.handleOptionClick, L = t.handleGroupClick, M = t.search, y = t.pointer, C = t.setPointer, O = t.clearPointer, j = t.multiselect, Q = t.isOpen, k = v(() => R.value.filter((p) => !p[b.value])), e1 = v(() => Z.value.filter((p) => !p[b.value])), m = v(() => h.value !== "single" && g.value), w = v(() => y.value && y.value.group), S = v(() => s1(y.value)), W = v(() => {
2257
+ } = o1(e), R = t.fo, S = t.fg, _ = t.handleOptionClick, L = t.handleGroupClick, M = t.search, y = t.pointer, C = t.setPointer, O = t.clearPointer, j = t.multiselect, Q = t.isOpen, k = v(() => R.value.filter((p) => !p[b.value])), e1 = v(() => S.value.filter((p) => !p[b.value])), m = v(() => h.value !== "single" && g.value), w = v(() => y.value && y.value.group), Z = v(() => s1(y.value)), W = v(() => {
2238
2258
  const p = w.value ? y.value : (
2239
2259
  /* istanbul ignore next */
2240
2260
  s1(y.value)
@@ -2245,14 +2265,14 @@ function Es(e, l, t) {
2245
2265
  let p = e1.value.map((I) => I.label).indexOf(w.value ? y.value[a.value] : s1(y.value)[a.value]) + 1;
2246
2266
  return e1.value.length <= p && (p = 0), e1.value[p];
2247
2267
  }), B = v(() => [...e1.value].slice(-1)[0]), a1 = v(() => y.value.__VISIBLE__.filter((p) => !p[b.value])[0]), n1 = v(() => {
2248
- const p = S.value.__VISIBLE__.filter((I) => !I[b.value]);
2268
+ const p = Z.value.__VISIBLE__.filter((I) => !I[b.value]);
2249
2269
  return p[p.map((I) => I[o.value]).indexOf(y.value[o.value]) - 1];
2250
2270
  }), X = v(() => {
2251
2271
  const p = s1(y.value).__VISIBLE__.filter((I) => !I[b.value]);
2252
2272
  return p[p.map((I) => I[o.value]).indexOf(y.value[o.value]) + 1];
2253
- }), t1 = v(() => [...W.value.__VISIBLE__.filter((p) => !p[b.value])].slice(-1)[0]), V1 = v(() => [...B.value.__VISIBLE__.filter((p) => !p[b.value])].slice(-1)[0]), D = (p) => y.value && (!p.group && y.value[o.value] === p[o.value] || p.group !== void 0 && y.value[a.value] === p[a.value]) ? !0 : void 0, G = () => {
2273
+ }), t1 = v(() => [...W.value.__VISIBLE__.filter((p) => !p[b.value])].slice(-1)[0]), V1 = v(() => [...B.value.__VISIBLE__.filter((p) => !p[b.value])].slice(-1)[0]), D = (p) => y.value && (!p.group && y.value[o.value] === p[o.value] || p.group !== void 0 && y.value[a.value] === p[a.value]) ? !0 : void 0, F = () => {
2254
2274
  C(k.value[0] || null);
2255
- }, F = () => {
2275
+ }, G = () => {
2256
2276
  !y.value || y.value[b.value] === !0 || (w.value ? L(y.value) : _(y.value));
2257
2277
  }, g1 = () => {
2258
2278
  if (y.value === null)
@@ -2268,13 +2288,13 @@ function Es(e, l, t) {
2268
2288
  E1(() => {
2269
2289
  q();
2270
2290
  });
2271
- }, Z1 = () => {
2291
+ }, S1 = () => {
2272
2292
  if (y.value === null) {
2273
2293
  let p = k.value[k.value.length - 1];
2274
2294
  c.value && m.value && (p = V1.value, p === void 0 && (p = B.value)), C(p || null);
2275
2295
  } else if (c.value && m.value) {
2276
2296
  let p = w.value ? t1.value : n1.value;
2277
- p === void 0 && (p = w.value ? W.value : S.value, p.__CREATE__ && (p = t1.value, p === void 0 && (p = W.value))), C(p || /* istanbul ignore next */
2297
+ p === void 0 && (p = w.value ? W.value : Z.value, p.__CREATE__ && (p = t1.value, p === void 0 && (p = W.value))), C(p || /* istanbul ignore next */
2278
2298
  null);
2279
2299
  } else {
2280
2300
  let p = k.value.map((I) => I[o.value]).indexOf(y.value[o.value]) - 1;
@@ -2291,7 +2311,7 @@ function Es(e, l, t) {
2291
2311
  c.value && (I = w.value ? p.parentElement.parentElement.parentElement : p.parentElement.parentElement.parentElement.parentElement), p.offsetTop + p.offsetHeight > I.clientHeight + I.scrollTop && (I.scrollTop = p.offsetTop + p.offsetHeight - I.clientHeight), p.offsetTop < I.scrollTop && (I.scrollTop = p.offsetTop);
2292
2312
  };
2293
2313
  return u1(M, (p) => {
2294
- d.value && (p.length && n.value ? G() : O());
2314
+ d.value && (p.length && n.value ? F() : O());
2295
2315
  }), u1(Q, (p) => {
2296
2316
  if (p) {
2297
2317
  let I = j.value.querySelectorAll("[data-selected]")[0];
@@ -2306,13 +2326,13 @@ function Es(e, l, t) {
2306
2326
  pointer: y,
2307
2327
  canPointGroups: m,
2308
2328
  isPointed: D,
2309
- setPointerFirst: G,
2310
- selectPointer: F,
2329
+ setPointerFirst: F,
2330
+ selectPointer: G,
2311
2331
  forwardPointer: g1,
2312
- backwardPointer: Z1
2332
+ backwardPointer: S1
2313
2333
  };
2314
2334
  }
2315
- function Rs(e, l, t) {
2335
+ function Ps(e, l, t) {
2316
2336
  const { disabled: o } = o1(e), n = D1().proxy, d = Y(!1);
2317
2337
  return {
2318
2338
  isOpen: d,
@@ -2324,8 +2344,8 @@ function Rs(e, l, t) {
2324
2344
  }
2325
2345
  };
2326
2346
  }
2327
- function Ps(e, l, t) {
2328
- const { searchable: o, disabled: n, clearOnBlur: d } = o1(e), a = t.input, c = t.open, h = t.close, g = t.clearSearch, b = t.isOpen, T = Y(null), R = Y(null), Z = Y(null), _ = Y(!1), L = Y(!1), M = v(() => o.value || n.value ? -1 : 0), y = () => {
2347
+ function Ds(e, l, t) {
2348
+ const { searchable: o, disabled: n, clearOnBlur: d } = o1(e), a = t.input, c = t.open, h = t.close, g = t.clearSearch, b = t.isOpen, T = Y(null), R = Y(null), S = Y(null), _ = Y(!1), L = Y(!1), M = v(() => o.value || n.value ? -1 : 0), y = () => {
2329
2349
  o.value && a.value.blur(), R.value.blur();
2330
2350
  }, C = () => {
2331
2351
  o.value && !n.value && a.value.focus();
@@ -2339,7 +2359,7 @@ function Ps(e, l, t) {
2339
2359
  return {
2340
2360
  multiselect: T,
2341
2361
  wrapper: R,
2342
- tags: Z,
2362
+ tags: S,
2343
2363
  tabindex: M,
2344
2364
  isActive: _,
2345
2365
  mouseClicked: L,
@@ -2357,7 +2377,7 @@ function Ps(e, l, t) {
2357
2377
  j(), y();
2358
2378
  },
2359
2379
  handleMousedown: (w) => {
2360
- L.value = !0, b.value && (w.target.isEqualNode(R.value) || w.target.isEqualNode(Z.value)) ? setTimeout(() => {
2380
+ L.value = !0, b.value && (w.target.isEqualNode(R.value) || w.target.isEqualNode(S.value)) ? setTimeout(() => {
2361
2381
  j();
2362
2382
  }, 0) : document.activeElement.isEqualNode(R.value) && !b.value && O(), setTimeout(() => {
2363
2383
  L.value = !1;
@@ -2365,7 +2385,7 @@ function Ps(e, l, t) {
2365
2385
  }
2366
2386
  };
2367
2387
  }
2368
- function Ds(e, l, t) {
2388
+ function qs(e, l, t) {
2369
2389
  const {
2370
2390
  mode: o,
2371
2391
  addTagOn: n,
@@ -2377,20 +2397,20 @@ function Ds(e, l, t) {
2377
2397
  addOptionOn: b,
2378
2398
  createTag: T,
2379
2399
  createOption: R,
2380
- reverse: Z
2381
- } = o1(e), _ = D1().proxy, L = t.iv, M = t.update, y = t.search, C = t.setPointer, O = t.selectPointer, j = t.backwardPointer, Q = t.forwardPointer, k = t.multiselect, e1 = t.wrapper, m = t.tags, w = t.isOpen, S = t.open, W = t.blur, H = t.fo, B = v(() => T.value || R.value || !1), a1 = v(() => n.value !== void 0 ? n.value : b.value !== void 0 ? b.value : ["enter"]), n1 = () => {
2400
+ reverse: S
2401
+ } = o1(e), _ = D1().proxy, L = t.iv, M = t.update, y = t.search, C = t.setPointer, O = t.selectPointer, j = t.backwardPointer, Q = t.forwardPointer, k = t.multiselect, e1 = t.wrapper, m = t.tags, w = t.isOpen, Z = t.open, W = t.blur, H = t.fo, B = v(() => T.value || R.value || !1), a1 = v(() => n.value !== void 0 ? n.value : b.value !== void 0 ? b.value : ["enter"]), n1 = () => {
2382
2402
  o.value === "tags" && !c.value && B.value && a.value && !g.value && C(H.value[H.value.map((D) => D[h.value]).indexOf(y.value)]);
2383
2403
  }, X = (D) => {
2384
- let G = D.length - 1;
2385
- for (; G >= 0 && (D[G].remove === !1 || D[G].disabled); )
2386
- G--;
2387
- return G < 0 || D.splice(G, 1), D;
2404
+ let F = D.length - 1;
2405
+ for (; F >= 0 && (D[F].remove === !1 || D[F].disabled); )
2406
+ F--;
2407
+ return F < 0 || D.splice(F, 1), D;
2388
2408
  };
2389
2409
  return {
2390
2410
  handleKeydown: (D) => {
2391
2411
  l.emit("keydown", D, _);
2392
- let G, F;
2393
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(D.key) !== -1 && o.value === "tags" && (G = [...k.value.querySelectorAll("[data-tags] > *")].filter((g1) => g1 !== m.value), F = G.findIndex((g1) => g1 === document.activeElement)), D.key) {
2412
+ let F, G;
2413
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(D.key) !== -1 && o.value === "tags" && (F = [...k.value.querySelectorAll("[data-tags] > *")].filter((g1) => g1 !== m.value), G = F.findIndex((g1) => g1 === document.activeElement)), D.key) {
2394
2414
  case "Backspace":
2395
2415
  if (o.value === "single" || a.value && [null, ""].indexOf(y.value) === -1 || L.value.length === 0)
2396
2416
  return;
@@ -2399,8 +2419,8 @@ function Ds(e, l, t) {
2399
2419
  case "Enter":
2400
2420
  if (D.preventDefault(), D.keyCode === 229)
2401
2421
  return;
2402
- if (F !== -1 && F !== void 0) {
2403
- M([...L.value].filter((g1, Z1) => Z1 !== F)), F === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : a.value ? m.value.querySelector("input").focus() : e1.value.focus());
2422
+ if (G !== -1 && G !== void 0) {
2423
+ M([...L.value].filter((g1, S1) => S1 !== G)), G === F.length - 1 && (F.length - 1 ? F[F.length - 2].focus() : a.value ? m.value.querySelector("input").focus() : e1.value.focus());
2404
2424
  return;
2405
2425
  }
2406
2426
  if (a1.value.indexOf("enter") === -1 && B.value)
@@ -2431,22 +2451,22 @@ function Ds(e, l, t) {
2431
2451
  case "ArrowUp":
2432
2452
  if (D.preventDefault(), !c.value)
2433
2453
  return;
2434
- w.value || S(), j();
2454
+ w.value || Z(), j();
2435
2455
  break;
2436
2456
  case "ArrowDown":
2437
2457
  if (D.preventDefault(), !c.value)
2438
2458
  return;
2439
- w.value || S(), Q();
2459
+ w.value || Z(), Q();
2440
2460
  break;
2441
2461
  case "ArrowLeft":
2442
2462
  if (a.value && m.value && m.value.querySelector("input").selectionStart || D.shiftKey || o.value !== "tags" || !L.value || !L.value.length)
2443
2463
  return;
2444
- D.preventDefault(), F === -1 ? G[G.length - 1].focus() : F > 0 && G[F - 1].focus();
2464
+ D.preventDefault(), G === -1 ? F[F.length - 1].focus() : G > 0 && F[G - 1].focus();
2445
2465
  break;
2446
2466
  case "ArrowRight":
2447
- if (F === -1 || D.shiftKey || o.value !== "tags" || !L.value || !L.value.length)
2467
+ if (G === -1 || D.shiftKey || o.value !== "tags" || !L.value || !L.value.length)
2448
2468
  return;
2449
- D.preventDefault(), G.length > F + 1 ? G[F + 1].focus() : a.value ? m.value.querySelector("input").focus() : a.value || e1.value.focus();
2469
+ D.preventDefault(), F.length > G + 1 ? F[G + 1].focus() : a.value ? m.value.querySelector("input").focus() : a.value || e1.value.focus();
2450
2470
  break;
2451
2471
  }
2452
2472
  },
@@ -2456,13 +2476,13 @@ function Ds(e, l, t) {
2456
2476
  preparePointer: n1
2457
2477
  };
2458
2478
  }
2459
- function qs(e, l, t) {
2479
+ function xs(e, l, t) {
2460
2480
  const {
2461
2481
  classes: o,
2462
2482
  disabled: n,
2463
2483
  openDirection: d,
2464
2484
  showOptions: a
2465
- } = o1(e), c = t.isOpen, h = t.isPointed, g = t.isSelected, b = t.isDisabled, T = t.isActive, R = t.canPointGroups, Z = t.resolving, _ = t.fo, L = v(() => ({
2485
+ } = o1(e), c = t.isOpen, h = t.isPointed, g = t.isSelected, b = t.isDisabled, T = t.isActive, R = t.canPointGroups, S = t.resolving, _ = t.fo, L = v(() => ({
2466
2486
  container: "multiselect",
2467
2487
  containerDisabled: "is-disabled",
2468
2488
  containerOpen: "is-open",
@@ -2515,7 +2535,7 @@ function qs(e, l, t) {
2515
2535
  assist: "multiselect-assistive-text",
2516
2536
  spacer: "multiselect-spacer",
2517
2537
  ...o.value
2518
- })), M = v(() => !!(c.value && a.value && (!Z.value || Z.value && _.value.length)));
2538
+ })), M = v(() => !!(c.value && a.value && (!S.value || S.value && _.value.length)));
2519
2539
  return {
2520
2540
  classList: v(() => {
2521
2541
  const C = L.value;
@@ -2563,11 +2583,11 @@ function qs(e, l, t) {
2563
2583
  showDropdown: M
2564
2584
  };
2565
2585
  }
2566
- function xs(e, l, t) {
2586
+ function Ns(e, l, t) {
2567
2587
  const {
2568
2588
  limit: o,
2569
2589
  infinite: n
2570
- } = o1(e), d = t.isOpen, a = t.offset, c = t.search, h = t.pfo, g = t.eo, b = Y(null), T = Y(null), R = v(() => a.value < h.value.length), Z = (L) => {
2590
+ } = o1(e), d = t.isOpen, a = t.offset, c = t.search, h = t.pfo, g = t.eo, b = Y(null), T = Y(null), R = v(() => a.value < h.value.length), S = (L) => {
2571
2591
  const { isIntersecting: M, target: y } = L[0];
2572
2592
  if (M) {
2573
2593
  const C = y.offsetParent, O = C.scrollTop;
@@ -2585,13 +2605,13 @@ function xs(e, l, t) {
2585
2605
  }, { flush: "post" }), u1(g, () => {
2586
2606
  n.value && _();
2587
2607
  }, { immediate: !1, flush: "post" }), we(() => {
2588
- window && window.IntersectionObserver && (b.value = new IntersectionObserver(Z));
2608
+ window && window.IntersectionObserver && (b.value = new IntersectionObserver(S));
2589
2609
  }), {
2590
2610
  hasMore: R,
2591
2611
  infiniteLoader: T
2592
2612
  };
2593
2613
  }
2594
- function Ns(e, l, t) {
2614
+ function Us(e, l, t) {
2595
2615
  const {
2596
2616
  placeholder: o,
2597
2617
  id: n,
@@ -2601,7 +2621,7 @@ function Ns(e, l, t) {
2601
2621
  groupLabel: h,
2602
2622
  aria: g,
2603
2623
  searchable: b
2604
- } = o1(e), T = t.pointer, R = t.iv, Z = t.hasSelected, _ = t.multipleLabelText, L = Y(null), M = v(() => {
2624
+ } = o1(e), T = t.pointer, R = t.iv, S = t.hasSelected, _ = t.multipleLabelText, L = Y(null), M = v(() => {
2605
2625
  let H = [];
2606
2626
  return n && n.value && H.push(n.value), H.push("assist"), H.join("-");
2607
2627
  }), y = v(() => {
@@ -2613,7 +2633,7 @@ function Ns(e, l, t) {
2613
2633
  return H.push(T.value.group ? "multiselect-group" : "multiselect-option"), H.push(T.value.group ? T.value.index : T.value[d.value]), H.join("-");
2614
2634
  }), O = v(() => o.value), j = v(() => c.value !== "single"), Q = v(() => {
2615
2635
  let H = "";
2616
- return c.value === "single" && Z.value && (H += R.value[a.value]), c.value === "multiple" && Z.value && (H += _.value), c.value === "tags" && Z.value && (H += R.value.map((B) => B[a.value]).join(", ")), H;
2636
+ return c.value === "single" && S.value && (H += R.value[a.value]), c.value === "multiple" && S.value && (H += _.value), c.value === "tags" && S.value && (H += R.value.map((B) => B[a.value]).join(", ")), H;
2617
2637
  }), k = v(() => {
2618
2638
  let H = { ...g.value };
2619
2639
  return b.value && (H["aria-labelledby"] = H["aria-labelledby"] ? `${M.value} ${H["aria-labelledby"]}` : M.value, Q.value && H["aria-label"] && (H["aria-label"] = `${Q.value}, ${H["aria-label"]}`)), H;
@@ -2626,7 +2646,7 @@ function Ns(e, l, t) {
2626
2646
  }, w = (H) => {
2627
2647
  let B = [];
2628
2648
  return B.push(H), B.join(" ");
2629
- }, S = (H) => {
2649
+ }, Z = (H) => {
2630
2650
  let B = [];
2631
2651
  return B.push(H), B.join(" ");
2632
2652
  }, W = (H) => `${H} ❎`;
@@ -2646,11 +2666,11 @@ function Ns(e, l, t) {
2646
2666
  ariaOptionId: e1,
2647
2667
  ariaOptionLabel: w,
2648
2668
  ariaGroupId: m,
2649
- ariaGroupLabel: S,
2669
+ ariaGroupLabel: Z,
2650
2670
  ariaTagLabel: W
2651
2671
  };
2652
2672
  }
2653
- function Us(e, l, t) {
2673
+ function zs(e, l, t) {
2654
2674
  const {
2655
2675
  locale: o,
2656
2676
  fallbackLocale: n
@@ -2659,7 +2679,7 @@ function Us(e, l, t) {
2659
2679
  localize: (a) => !a || typeof a != "object" ? a : a && a[o.value] ? a[o.value] : a && o.value && a[o.value.toUpperCase()] ? a[o.value.toUpperCase()] : a && a[n.value] ? a[n.value] : a && n.value && a[n.value.toUpperCase()] ? a[n.value.toUpperCase()] : a && Object.keys(a)[0] ? a[Object.keys(a)[0]] : ""
2660
2680
  };
2661
2681
  }
2662
- function zs(e, l, t, o = {}) {
2682
+ function js(e, l, t, o = {}) {
2663
2683
  return t.forEach((n) => {
2664
2684
  n && (o = {
2665
2685
  ...o,
@@ -3003,25 +3023,25 @@ var d1 = {
3003
3023
  }
3004
3024
  },
3005
3025
  setup(e, l) {
3006
- return zs(e, l, [
3007
- Us,
3008
- Is,
3009
- Zs,
3010
- Rs,
3026
+ return js(e, l, [
3027
+ zs,
3011
3028
  Ts,
3012
- Os,
3029
+ Zs,
3013
3030
  Ps,
3014
- Bs,
3015
- xs,
3016
- Es,
3031
+ Ss,
3032
+ Is,
3017
3033
  Ds,
3034
+ Es,
3035
+ Ns,
3036
+ Rs,
3018
3037
  qs,
3019
- Ns
3038
+ xs,
3039
+ Us
3020
3040
  ]);
3021
3041
  }
3022
3042
  };
3023
- const js = ["id", "dir"], Gs = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Fs = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Ks = ["onKeyup", "aria-label"], Ws = ["onClick"], Ys = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Xs = ["innerHTML"], Js = ["id"], Qs = ["id", "aria-label", "aria-selected"], en = ["data-pointed", "onMouseenter", "onClick"], tn = ["innerHTML"], ln = ["aria-label"], an = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], sn = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], nn = ["innerHTML"], on = ["innerHTML"], rn = ["value"], un = ["name", "value"], dn = ["name", "value"], cn = ["id"];
3024
- function Cn(e, l, t, o, n, d) {
3043
+ const Fs = ["id", "dir"], Gs = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Ks = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Ws = ["onKeyup", "aria-label"], Ys = ["onClick"], Xs = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Js = ["innerHTML"], Qs = ["id"], en = ["id", "aria-label", "aria-selected"], tn = ["data-pointed", "onMouseenter", "onClick"], ln = ["innerHTML"], an = ["aria-label"], sn = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], nn = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], on = ["innerHTML"], rn = ["innerHTML"], un = ["value"], dn = ["name", "value"], cn = ["name", "value"], Cn = ["id"];
3044
+ function vn(e, l, t, o, n, d) {
3025
3045
  return r(), u("div", {
3026
3046
  ref: "multiselect",
3027
3047
  class: P(e.classList.container),
@@ -3066,7 +3086,7 @@ function Cn(e, l, t, o, n, d) {
3066
3086
  }, {
3067
3087
  ...t.attrs,
3068
3088
  ...e.arias
3069
- }), null, 16, Fs)) : V("v-if", !0),
3089
+ }), null, 16, Ks)) : V("v-if", !0),
3070
3090
  V(" Tags (with search) "),
3071
3091
  t.mode == "tags" ? (r(), u(
3072
3092
  "div",
@@ -3113,8 +3133,8 @@ function Cn(e, l, t, o, n, d) {
3113
3133
  2
3114
3134
  /* CLASS */
3115
3135
  )
3116
- ], 10, Ws)) : V("v-if", !0)
3117
- ], 42, Ks))
3136
+ ], 10, Ys)) : V("v-if", !0)
3137
+ ], 42, Ws))
3118
3138
  ])),
3119
3139
  256
3120
3140
  /* UNKEYED_FRAGMENT */
@@ -3158,7 +3178,7 @@ function Cn(e, l, t, o, n, d) {
3158
3178
  }, {
3159
3179
  ...t.attrs,
3160
3180
  ...e.arias
3161
- }), null, 16, Ys)) : V("v-if", !0)
3181
+ }), null, 16, Xs)) : V("v-if", !0)
3162
3182
  ],
3163
3183
  2
3164
3184
  /* CLASS */
@@ -3200,7 +3220,7 @@ function Cn(e, l, t, o, n, d) {
3200
3220
  i("div", {
3201
3221
  class: P(e.classList.multipleLabel),
3202
3222
  innerHTML: e.multipleLabelText
3203
- }, null, 10, Xs)
3223
+ }, null, 10, Js)
3204
3224
  ]) : V("v-if", !0),
3205
3225
  V(" Placeholder "),
3206
3226
  t.placeholder && !e.hasSelected && !e.search ? N(e.$slots, "placeholder", { key: 4 }, () => [
@@ -3314,9 +3334,9 @@ function Cn(e, l, t, o, n, d) {
3314
3334
  }, () => [
3315
3335
  i("span", {
3316
3336
  innerHTML: e.localize(a[t.groupLabel])
3317
- }, null, 8, tn)
3337
+ }, null, 8, ln)
3318
3338
  ])
3319
- ], 42, en)),
3339
+ ], 42, tn)),
3320
3340
  i("ul", {
3321
3341
  class: P(e.classList.groupOptions),
3322
3342
  "aria-label": e.ariaGroupLabel(e.localize(a[t.groupLabel])),
@@ -3351,12 +3371,12 @@ function Cn(e, l, t, o, n, d) {
3351
3371
  /* TEXT */
3352
3372
  )
3353
3373
  ])
3354
- ], 42, an))),
3374
+ ], 42, sn))),
3355
3375
  128
3356
3376
  /* KEYED_FRAGMENT */
3357
3377
  ))
3358
- ], 10, ln)
3359
- ], 10, Qs))),
3378
+ ], 10, an)
3379
+ ], 10, en))),
3360
3380
  128
3361
3381
  /* KEYED_FRAGMENT */
3362
3382
  )) : (r(!0), u(
@@ -3388,22 +3408,22 @@ function Cn(e, l, t, o, n, d) {
3388
3408
  /* TEXT */
3389
3409
  )
3390
3410
  ])
3391
- ], 42, sn))),
3411
+ ], 42, nn))),
3392
3412
  128
3393
3413
  /* KEYED_FRAGMENT */
3394
3414
  ))
3395
- ], 10, Js),
3415
+ ], 10, Qs),
3396
3416
  e.noOptions ? N(e.$slots, "nooptions", { key: 0 }, () => [
3397
3417
  i("div", {
3398
3418
  class: P(e.classList.noOptions),
3399
3419
  innerHTML: e.localize(t.noOptionsText)
3400
- }, null, 10, nn)
3420
+ }, null, 10, on)
3401
3421
  ]) : V("v-if", !0),
3402
3422
  e.noResults ? N(e.$slots, "noresults", { key: 1 }, () => [
3403
3423
  i("div", {
3404
3424
  class: P(e.classList.noResults),
3405
3425
  innerHTML: e.localize(t.noResultsText)
3406
- }, null, 10, on)
3426
+ }, null, 10, rn)
3407
3427
  ]) : V("v-if", !0),
3408
3428
  t.infinite && e.hasMore ? (r(), u(
3409
3429
  "div",
@@ -3440,7 +3460,7 @@ function Cn(e, l, t, o, n, d) {
3440
3460
  tabindex: "-1",
3441
3461
  value: e.textValue,
3442
3462
  required: ""
3443
- }, null, 10, rn)) : V("v-if", !0),
3463
+ }, null, 10, un)) : V("v-if", !0),
3444
3464
  V(" Native input support "),
3445
3465
  t.nativeSupport ? (r(), u(
3446
3466
  p1,
@@ -3451,7 +3471,7 @@ function Cn(e, l, t, o, n, d) {
3451
3471
  type: "hidden",
3452
3472
  name: t.name,
3453
3473
  value: e.plainValue !== void 0 ? e.plainValue : ""
3454
- }, null, 8, un)) : (r(!0), u(
3474
+ }, null, 8, dn)) : (r(!0), u(
3455
3475
  p1,
3456
3476
  { key: 1 },
3457
3477
  $1(e.plainValue, (a, c) => (r(), u("input", {
@@ -3459,7 +3479,7 @@ function Cn(e, l, t, o, n, d) {
3459
3479
  name: `${t.name}[]`,
3460
3480
  value: a,
3461
3481
  key: c
3462
- }, null, 8, dn))),
3482
+ }, null, 8, cn))),
3463
3483
  128
3464
3484
  /* KEYED_FRAGMENT */
3465
3485
  ))
@@ -3473,7 +3493,7 @@ function Cn(e, l, t, o, n, d) {
3473
3493
  class: P(e.classList.assist),
3474
3494
  id: e.ariaAssist,
3475
3495
  "aria-hidden": "true"
3476
- }, U(e.ariaLabel), 11, cn)) : V("v-if", !0),
3496
+ }, U(e.ariaLabel), 11, Cn)) : V("v-if", !0),
3477
3497
  V(" Create height for empty input "),
3478
3498
  i(
3479
3499
  "div",
@@ -3484,25 +3504,25 @@ function Cn(e, l, t, o, n, d) {
3484
3504
  2
3485
3505
  /* CLASS */
3486
3506
  )
3487
- ], 42, js);
3507
+ ], 42, Fs);
3488
3508
  }
3489
- d1.render = Cn;
3509
+ d1.render = vn;
3490
3510
  d1.__file = "src/Multiselect.vue";
3491
- const vn = { class: "ao-modal__wrapper" }, pn = { class: "ao-modal" }, _n = { class: "ao-modal__header" }, fn = { class: "ao-modal__header-meta" }, hn = {
3511
+ const pn = { class: "ao-modal__wrapper" }, _n = { class: "ao-modal" }, fn = { class: "ao-modal__header" }, hn = { class: "ao-modal__header-meta" }, mn = {
3492
3512
  key: 0,
3493
3513
  class: "ao-modal__title-group"
3494
- }, mn = { class: "ao-modal__body" }, Me = /* @__PURE__ */ K({
3514
+ }, gn = { class: "ao-modal__body" }, Me = /* @__PURE__ */ K({
3495
3515
  __name: "AoModal",
3496
3516
  emits: ["close"],
3497
3517
  setup(e) {
3498
- return (l, t) => (r(), u("div", vn, [
3518
+ return (l, t) => (r(), u("div", pn, [
3499
3519
  i("div", {
3500
3520
  class: "ao-modal__backdrop",
3501
3521
  onClick: t[0] || (t[0] = (o) => l.$emit("close"))
3502
3522
  }),
3503
- i("div", pn, [
3504
- i("div", _n, [
3505
- i("div", fn, [
3523
+ i("div", _n, [
3524
+ i("div", fn, [
3525
+ i("div", hn, [
3506
3526
  A(T1, {
3507
3527
  "icon-name": "CloseRounded",
3508
3528
  variant: "ghost",
@@ -3510,21 +3530,21 @@ const vn = { class: "ao-modal__wrapper" }, pn = { class: "ao-modal" }, _n = { cl
3510
3530
  onClick: t[1] || (t[1] = (o) => l.$emit("close"))
3511
3531
  })
3512
3532
  ]),
3513
- l.$slots.header ? (r(), u("header", hn, [
3533
+ l.$slots.header ? (r(), u("header", mn, [
3514
3534
  N(l.$slots, "header")
3515
3535
  ])) : V("", !0)
3516
3536
  ]),
3517
- i("div", mn, [
3537
+ i("div", gn, [
3518
3538
  N(l.$slots, "default")
3519
3539
  ])
3520
3540
  ])
3521
3541
  ]));
3522
3542
  }
3523
3543
  });
3524
- const gn = {
3544
+ const bn = {
3525
3545
  key: 0,
3526
3546
  class: "ao-activity__category"
3527
- }, bn = { class: "ao-activity-details__content" }, wn = { class: "ao-fieldset" }, $n = { class: "ao-field__row" }, yn = { class: "ao-field ao-field--full" }, Vn = { class: "ao-field__label" }, Ln = { class: "ao-field__row" }, Hn = { class: "ao-field" }, Mn = { class: "ao-field__label" }, kn = { class: "ao-field" }, On = { class: "ao-field__label" }, In = { class: "ao-field__row" }, Tn = { class: "ao-field ao-field--multiselect" }, Zn = { class: "ao-field__label" }, Sn = { class: "ao-fieldset" }, An = { class: "ao-fieldset__title" }, Bn = { class: "ao-field__row" }, En = { class: "ao-field ao-field--multiselect" }, Rn = { class: "ao-field__label" }, Pn = { class: "ao-field__row" }, Dn = { class: "ao-field ao-field--multiselect" }, qn = { class: "ao-field__label" }, xn = { class: "ao-field__row" }, Nn = { class: "ao-field ao-field--multiselect" }, Un = { class: "ao-field__label" }, zn = /* @__PURE__ */ i("div", { class: "ao-activity-details__aside" }, null, -1), jn = /* @__PURE__ */ K({
3547
+ }, wn = { class: "ao-activity-details__content" }, $n = { class: "ao-fieldset" }, yn = { class: "ao-field__row" }, Vn = { class: "ao-field ao-field--full" }, Ln = { class: "ao-field__label" }, Hn = { class: "ao-field__row" }, Mn = { class: "ao-field" }, kn = { class: "ao-field__label" }, On = { class: "ao-field" }, In = { class: "ao-field__label" }, Tn = { class: "ao-field__row" }, Sn = { class: "ao-field ao-field--multiselect" }, Zn = { class: "ao-field__label" }, An = { class: "ao-fieldset" }, Bn = { class: "ao-fieldset__title" }, En = { class: "ao-field__row" }, Rn = { class: "ao-field ao-field--multiselect" }, Pn = { class: "ao-field__label" }, Dn = { class: "ao-field__row" }, qn = { class: "ao-field ao-field--multiselect" }, xn = { class: "ao-field__label" }, Nn = { class: "ao-field__row" }, Un = { class: "ao-field ao-field--multiselect" }, zn = { class: "ao-field__label" }, jn = /* @__PURE__ */ i("div", { class: "ao-activity-details__aside" }, null, -1), Fn = /* @__PURE__ */ K({
3528
3548
  __name: "AoActivityDetails",
3529
3549
  props: {
3530
3550
  activity: {},
@@ -3602,7 +3622,7 @@ const gn = {
3602
3622
  })), R = v(() => (t.templateMilestones || []).filter((L) => L.id !== t.milestoneId).map((L) => ({
3603
3623
  label: L.name,
3604
3624
  value: L.id
3605
- }))), Z = v({
3625
+ }))), S = v({
3606
3626
  get() {
3607
3627
  return t.activity.dependingMilestones;
3608
3628
  },
@@ -3617,18 +3637,18 @@ const gn = {
3617
3637
  onClose: L[7] || (L[7] = (M) => _.$emit("close"))
3618
3638
  }, {
3619
3639
  header: z(() => [
3620
- _.breadcrumbs ? (r(), u("div", gn, U(_.breadcrumbs), 1)) : V("", !0),
3640
+ _.breadcrumbs ? (r(), u("div", bn, U(_.breadcrumbs), 1)) : V("", !0),
3621
3641
  A(y1, {
3622
3642
  title: _.activity.name || _.activity.id,
3623
3643
  level: 4
3624
3644
  }, null, 8, ["title"])
3625
3645
  ]),
3626
3646
  default: z(() => [
3627
- i("div", bn, [
3628
- i("fieldset", wn, [
3629
- i("div", $n, [
3630
- i("label", yn, [
3631
- i("span", Vn, U(_.$t("activity.description.label")), 1),
3647
+ i("div", wn, [
3648
+ i("fieldset", $n, [
3649
+ i("div", yn, [
3650
+ i("label", Vn, [
3651
+ i("span", Ln, U(_.$t("activity.description.label")), 1),
3632
3652
  j1(i("textarea", {
3633
3653
  "onUpdate:modelValue": L[0] || (L[0] = (M) => o.value = M),
3634
3654
  rows: "4",
@@ -3646,9 +3666,9 @@ const gn = {
3646
3666
  ])
3647
3667
  ])
3648
3668
  ]),
3649
- i("div", Ln, [
3650
- i("label", Hn, [
3651
- i("span", Mn, U(_.$t("activity.estimation.label")), 1),
3669
+ i("div", Hn, [
3670
+ i("label", Mn, [
3671
+ i("span", kn, U(_.$t("activity.estimation.label")), 1),
3652
3672
  j1(i("input", {
3653
3673
  "onUpdate:modelValue": L[1] || (L[1] = (M) => n.value = M),
3654
3674
  class: "ao-field__input",
@@ -3666,8 +3686,8 @@ const gn = {
3666
3686
  ]
3667
3687
  ])
3668
3688
  ]),
3669
- i("label", kn, [
3670
- i("span", On, U(_.$t("activity.isImportant.label")), 1),
3689
+ i("label", On, [
3690
+ i("span", In, U(_.$t("activity.isImportant.label")), 1),
3671
3691
  j1(i("input", {
3672
3692
  "onUpdate:modelValue": L[2] || (L[2] = (M) => d.value = M),
3673
3693
  class: "ao-field__input",
@@ -3682,8 +3702,8 @@ const gn = {
3682
3702
  ])
3683
3703
  ])
3684
3704
  ]),
3685
- i("div", In, [
3686
- i("label", Tn, [
3705
+ i("div", Tn, [
3706
+ i("label", Sn, [
3687
3707
  i("span", Zn, U(_.$t("activity.type.label")), 1),
3688
3708
  A(l1(d1), {
3689
3709
  modelValue: a.value,
@@ -3697,17 +3717,17 @@ const gn = {
3697
3717
  ])
3698
3718
  ])
3699
3719
  ]),
3700
- i("fieldset", Sn, [
3701
- i("div", An, [
3720
+ i("fieldset", An, [
3721
+ i("div", Bn, [
3702
3722
  A(_1, { name: "FlowsheetOutlineRounded" }),
3703
3723
  A(y1, {
3704
3724
  level: 4,
3705
3725
  title: "Dependencies"
3706
3726
  })
3707
3727
  ]),
3708
- i("div", Bn, [
3709
- i("label", En, [
3710
- i("span", Rn, U(_.$t("activity.dependingOn.label")), 1),
3728
+ i("div", En, [
3729
+ i("label", Rn, [
3730
+ i("span", Pn, U(_.$t("activity.dependingOn.label")), 1),
3711
3731
  A(l1(d1), {
3712
3732
  modelValue: h.value,
3713
3733
  "onUpdate:modelValue": L[4] || (L[4] = (M) => h.value = M),
@@ -3719,9 +3739,9 @@ const gn = {
3719
3739
  }, null, 8, ["modelValue", "options"])
3720
3740
  ])
3721
3741
  ]),
3722
- i("div", Pn, [
3723
- i("label", Dn, [
3724
- i("span", qn, U(_.$t("activity.blocking.label")), 1),
3742
+ i("div", Dn, [
3743
+ i("label", qn, [
3744
+ i("span", xn, U(_.$t("activity.blocking.label")), 1),
3725
3745
  A(l1(d1), {
3726
3746
  modelValue: b.value,
3727
3747
  "onUpdate:modelValue": L[5] || (L[5] = (M) => b.value = M),
@@ -3733,12 +3753,12 @@ const gn = {
3733
3753
  }, null, 8, ["modelValue", "options"])
3734
3754
  ])
3735
3755
  ]),
3736
- i("div", xn, [
3737
- i("label", Nn, [
3738
- i("span", Un, U(_.$t("activity.dependingMilestone.label")), 1),
3756
+ i("div", Nn, [
3757
+ i("label", Un, [
3758
+ i("span", zn, U(_.$t("activity.dependingMilestone.label")), 1),
3739
3759
  A(l1(d1), {
3740
- modelValue: Z.value,
3741
- "onUpdate:modelValue": L[6] || (L[6] = (M) => Z.value = M),
3760
+ modelValue: S.value,
3761
+ "onUpdate:modelValue": L[6] || (L[6] = (M) => S.value = M),
3742
3762
  class: "ao-field__multiselect",
3743
3763
  mode: "tags",
3744
3764
  "close-on-select": !1,
@@ -3749,7 +3769,7 @@ const gn = {
3749
3769
  ])
3750
3770
  ])
3751
3771
  ]),
3752
- zn
3772
+ jn
3753
3773
  ]),
3754
3774
  _: 1
3755
3775
  }));
@@ -3814,7 +3834,7 @@ const Gn = /* @__PURE__ */ K({
3814
3834
  set(y) {
3815
3835
  l("update:rule", { ...t.rule, trigger: y });
3816
3836
  }
3817
- }), Z = v(() => Object.values($s)), _ = v({
3837
+ }), S = v(() => Object.values($s)), _ = v({
3818
3838
  get() {
3819
3839
  return t.rule.duration;
3820
3840
  },
@@ -3844,7 +3864,7 @@ const Gn = /* @__PURE__ */ K({
3844
3864
  A(l1(d1), {
3845
3865
  modelValue: R.value,
3846
3866
  "onUpdate:modelValue": C[2] || (C[2] = (O) => R.value = O),
3847
- options: Z.value
3867
+ options: S.value
3848
3868
  }, null, 8, ["modelValue", "options"]),
3849
3869
  A(l1(d1), {
3850
3870
  modelValue: g.value,
@@ -3879,7 +3899,7 @@ const Gn = /* @__PURE__ */ K({
3879
3899
  }));
3880
3900
  }
3881
3901
  });
3882
- const Fn = { class: "ao-template-rules__body" }, Kn = { class: "ao-template-rules__list" }, Wn = /* @__PURE__ */ K({
3902
+ const Kn = { class: "ao-template-rules__body" }, Wn = { class: "ao-template-rules__list" }, Yn = /* @__PURE__ */ K({
3883
3903
  __name: "AoTemplateRules",
3884
3904
  props: {
3885
3905
  templateId: {},
@@ -3903,8 +3923,8 @@ const Fn = { class: "ao-template-rules__body" }, Kn = { class: "ao-template-rule
3903
3923
  }, null, 8, ["title"])
3904
3924
  ]),
3905
3925
  default: z(() => [
3906
- i("div", Fn, [
3907
- i("ul", Kn, [
3926
+ i("div", Kn, [
3927
+ i("ul", Wn, [
3908
3928
  (r(!0), u(p1, null, $1(n.rules, (a) => (r(), x(Gn, {
3909
3929
  key: a.id,
3910
3930
  rule: a,
@@ -3926,10 +3946,10 @@ const Fn = { class: "ao-template-rules__body" }, Kn = { class: "ao-template-rule
3926
3946
  }));
3927
3947
  }
3928
3948
  });
3929
- const Yn = {
3949
+ const Xn = {
3930
3950
  key: 0,
3931
3951
  class: "ao-template-details"
3932
- }, Xn = { class: "ao-template-details__body" }, Jn = { class: "ao-template-details__cols" }, Qn = { class: "ao-template-details__col" }, e9 = { class: "ao-list__footer" }, t9 = { class: "ao-template-details__col" }, l9 = { class: "ao-template-details__col" }, a9 = /* @__PURE__ */ K({
3952
+ }, Jn = { class: "ao-template-details__body" }, Qn = { class: "ao-template-details__cols" }, e9 = { class: "ao-template-details__col" }, t9 = { class: "ao-list__footer" }, l9 = { class: "ao-template-details__col" }, a9 = { class: "ao-template-details__col" }, s9 = /* @__PURE__ */ K({
3933
3953
  __name: "AoTemplateDetails",
3934
3954
  props: {
3935
3955
  templateId: {},
@@ -3948,40 +3968,40 @@ const Yn = {
3948
3968
  }
3949
3969
  ), n = v({
3950
3970
  get() {
3951
- var S;
3952
- return [...((S = o.value) == null ? void 0 : S.phases) || []].sort((W, H) => W.order - H.order);
3971
+ var Z;
3972
+ return [...((Z = o.value) == null ? void 0 : Z.phases) || []].sort((W, H) => W.order - H.order);
3953
3973
  },
3954
3974
  set(m) {
3955
- const w = m.map((S, W) => (S.order = W, S));
3975
+ const w = m.map((Z, W) => (Z.order = W, Z));
3956
3976
  l("updateTemplate", { id: t.templateId, phases: w });
3957
3977
  }
3958
3978
  }), d = v(() => {
3959
3979
  var m, w;
3960
- return (w = (m = o == null ? void 0 : o.value) == null ? void 0 : m.phases) == null ? void 0 : w.find((S) => S.id === t.phaseId);
3980
+ return (w = (m = o == null ? void 0 : o.value) == null ? void 0 : m.phases) == null ? void 0 : w.find((Z) => Z.id === t.phaseId);
3961
3981
  }), a = v(() => {
3962
3982
  var m, w;
3963
3983
  return (w = (m = d.value) == null ? void 0 : m.milestones) == null ? void 0 : w.find(
3964
- (S) => S.id === t.milestoneId
3984
+ (Z) => Z.id === t.milestoneId
3965
3985
  );
3966
3986
  }), c = v(() => {
3967
3987
  var m, w;
3968
- return ((w = (m = o.value) == null ? void 0 : m.phases) == null ? void 0 : w.reduce((S, W) => {
3988
+ return ((w = (m = o.value) == null ? void 0 : m.phases) == null ? void 0 : w.reduce((Z, W) => {
3969
3989
  const H = W.milestones || [];
3970
- return [...S, ...H];
3990
+ return [...Z, ...H];
3971
3991
  }, [])) || [];
3972
3992
  }), h = v(() => {
3973
3993
  var m, w;
3974
- return ((w = (m = o.value) == null ? void 0 : m.phases) == null ? void 0 : w.reduce((S, W) => {
3994
+ return ((w = (m = o.value) == null ? void 0 : m.phases) == null ? void 0 : w.reduce((Z, W) => {
3975
3995
  const B = (W.milestones || []).reduce(
3976
3996
  (a1, n1) => n1.activities ? [...a1, ...n1.activities] : a1,
3977
3997
  []
3978
3998
  );
3979
- return [...S, ...B];
3999
+ return [...Z, ...B];
3980
4000
  }, [])) || [];
3981
4001
  }), g = v(() => {
3982
4002
  var m, w;
3983
4003
  return (w = (m = a.value) == null ? void 0 : m.activities) == null ? void 0 : w.find(
3984
- (S) => S.id === t.activityId
4004
+ (Z) => Z.id === t.activityId
3985
4005
  );
3986
4006
  }), b = v(() => {
3987
4007
  var m;
@@ -3992,7 +4012,7 @@ const Yn = {
3992
4012
  }), T = v(() => {
3993
4013
  var m;
3994
4014
  return ((m = o.value) == null ? void 0 : m.name) || t.templateId;
3995
- }), R = Y(!1), Z = () => {
4015
+ }), R = Y(!1), S = () => {
3996
4016
  l("addItem", {
3997
4017
  type: r1.PHASES,
3998
4018
  templateId: t.templateId
@@ -4014,28 +4034,28 @@ const Yn = {
4014
4034
  phaseId: w
4015
4035
  });
4016
4036
  }, y = (m) => {
4017
- const { id: w, ...S } = m;
4037
+ const { id: w, ...Z } = m;
4018
4038
  l("updateItem", {
4019
4039
  subItemType: r1.MILESTONES,
4020
4040
  id: w,
4021
4041
  templateId: t.templateId,
4022
- data: S
4042
+ data: Z
4023
4043
  });
4024
4044
  }, C = (m) => {
4025
- const { phaseId: w, milestoneId: S } = m;
4045
+ const { phaseId: w, milestoneId: Z } = m;
4026
4046
  l("addItem", {
4027
4047
  type: r1.ACTIVITIES,
4028
4048
  templateId: t.templateId,
4029
4049
  phaseId: w,
4030
- milestoneId: S
4050
+ milestoneId: Z
4031
4051
  });
4032
4052
  }, O = (m) => {
4033
- const { id: w, ...S } = m;
4053
+ const { id: w, ...Z } = m;
4034
4054
  l("updateItem", {
4035
4055
  subItemType: r1.ACTIVITIES,
4036
4056
  id: w,
4037
4057
  templateId: t.templateId,
4038
- data: S
4058
+ data: Z
4039
4059
  });
4040
4060
  }, j = Y(!1), Q = () => {
4041
4061
  j.value = !j.value;
@@ -4045,8 +4065,8 @@ const Yn = {
4045
4065
  l("removeRule", { id: m, templateId: t.templateId });
4046
4066
  };
4047
4067
  return (m, w) => {
4048
- var S, W, H, B, a1, n1;
4049
- return o.value ? (r(), u("div", Yn, [
4068
+ var Z, W, H, B, a1, n1;
4069
+ return o.value ? (r(), u("div", Xn, [
4050
4070
  A(He, {
4051
4071
  "can-go-back": !0,
4052
4072
  onGoBack: w[2] || (w[2] = (X) => m.$router.push({ name: l1(R1).TEMPLATES_LIST }))
@@ -4075,10 +4095,10 @@ const Yn = {
4075
4095
  ]),
4076
4096
  _: 1
4077
4097
  }),
4078
- i("div", Xn, [
4079
- i("ol", Jn, [
4080
- i("li", Qn, [
4081
- A(l1(G1), {
4098
+ i("div", Jn, [
4099
+ i("ol", Qn, [
4100
+ i("li", e9, [
4101
+ A(l1(F1), {
4082
4102
  modelValue: n.value,
4083
4103
  "onUpdate:modelValue": w[3] || (w[3] = (X) => n.value = X),
4084
4104
  class: "ao-templates__list",
@@ -4111,30 +4131,30 @@ const Yn = {
4111
4131
  ];
4112
4132
  }),
4113
4133
  footer: z(() => [
4114
- i("div", e9, [
4134
+ i("div", t9, [
4115
4135
  A(K1, {
4116
4136
  "icon-name": "AddBoxOutlineRounded",
4117
4137
  label: m.$t("template.phases.add"),
4118
- onClick: Z
4138
+ onClick: S
4119
4139
  }, null, 8, ["label"])
4120
4140
  ])
4121
4141
  ]),
4122
4142
  _: 1
4123
4143
  }, 8, ["modelValue"])
4124
4144
  ]),
4125
- i("li", t9, [
4126
- d.value ? (r(), x(Ls, {
4145
+ i("li", l9, [
4146
+ d.value ? (r(), x(Hs, {
4127
4147
  key: 0,
4128
4148
  "template-id": m.templateId,
4129
4149
  phase: d.value,
4130
- "milestone-id": (S = a.value) == null ? void 0 : S.id,
4150
+ "milestone-id": (Z = a.value) == null ? void 0 : Z.id,
4131
4151
  onAddMilestone: M,
4132
4152
  onUpdateMilestone: y,
4133
4153
  onUpdatePhase: L
4134
4154
  }, null, 8, ["template-id", "phase", "milestone-id"])) : V("", !0)
4135
4155
  ]),
4136
- i("li", l9, [
4137
- d.value && a.value ? (r(), x(ks, {
4156
+ i("li", a9, [
4157
+ d.value && a.value ? (r(), x(Os, {
4138
4158
  key: 0,
4139
4159
  "template-id": m.templateId,
4140
4160
  "phase-id": (W = d.value) == null ? void 0 : W.id,
@@ -4148,7 +4168,7 @@ const Yn = {
4148
4168
  ])
4149
4169
  ]),
4150
4170
  (r(), x(be, { to: "body" }, [
4151
- g.value ? (r(), x(jn, {
4171
+ g.value ? (r(), x(Fn, {
4152
4172
  key: 0,
4153
4173
  activity: g.value,
4154
4174
  "activity-types": b.value,
@@ -4168,7 +4188,7 @@ const Yn = {
4168
4188
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : V("", !0)
4169
4189
  ])),
4170
4190
  (r(), x(be, { to: "body" }, [
4171
- j.value ? (r(), x(Wn, {
4191
+ j.value ? (r(), x(Yn, {
4172
4192
  key: 0,
4173
4193
  "template-id": o.value.id,
4174
4194
  rules: o.value.rules || [],
@@ -4188,7 +4208,7 @@ const R1 = {
4188
4208
  TEMPLATES: "templates",
4189
4209
  TEMPLATE_DETAILS: "template_details",
4190
4210
  TEMPLATES_LIST: "templates_list"
4191
- }, c9 = (e, l = {}) => [
4211
+ }, f9 = (e, l = {}) => [
4192
4212
  {
4193
4213
  path: e,
4194
4214
  name: R1.TEMPLATES,
@@ -4197,17 +4217,17 @@ const R1 = {
4197
4217
  {
4198
4218
  path: "",
4199
4219
  name: R1.TEMPLATES_LIST,
4200
- component: n9
4220
+ component: i9
4201
4221
  },
4202
4222
  {
4203
4223
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
4204
4224
  name: R1.TEMPLATE_DETAILS,
4205
- component: a9,
4225
+ component: s9,
4206
4226
  props: !0
4207
4227
  }
4208
4228
  ]
4209
4229
  }
4210
- ], s9 = { class: "ao-templates" }, n9 = /* @__PURE__ */ K({
4230
+ ], n9 = { class: "ao-templates" }, i9 = /* @__PURE__ */ K({
4211
4231
  __name: "AoTemplatesList",
4212
4232
  props: {
4213
4233
  templates: {}
@@ -4224,7 +4244,7 @@ const R1 = {
4224
4244
  d && l("updateTemplates", d);
4225
4245
  }
4226
4246
  });
4227
- return (d, a) => (r(), u("div", s9, [
4247
+ return (d, a) => (r(), u("div", n9, [
4228
4248
  A(He, null, {
4229
4249
  secondary: z(() => [
4230
4250
  A(T1, {
@@ -4237,7 +4257,7 @@ const R1 = {
4237
4257
  ]),
4238
4258
  _: 1
4239
4259
  }),
4240
- A(l1(G1), {
4260
+ A(l1(F1), {
4241
4261
  modelValue: n.value,
4242
4262
  "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
4243
4263
  class: "ao-templates__list",
@@ -4267,9 +4287,18 @@ const R1 = {
4267
4287
  }
4268
4288
  });
4269
4289
  export {
4270
- a9 as AoTemplateDetails,
4271
- d9 as AoTemplates,
4272
- n9 as AoTemplatesList,
4273
- c9 as getTemplateRoutes,
4274
- R1 as routeNames
4290
+ s9 as AoTemplateDetails,
4291
+ c9 as AoTemplates,
4292
+ i9 as AoTemplatesList,
4293
+ Vs as TemplateSubItemTypeEnum,
4294
+ v9 as activityFeedStatus,
4295
+ C9 as activityStatus,
4296
+ _9 as feedFilters,
4297
+ f9 as getTemplateRoutes,
4298
+ p9 as listUpdateTypes,
4299
+ R1 as routeNames,
4300
+ ws as ruleComparators,
4301
+ ys as ruleDurationUnits,
4302
+ $s as ruleTriggerTypes,
4303
+ r1 as templateSubItemType
4275
4304
  };