@26lights/orcha 0.7.38 → 0.7.39
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.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +1085 -1085
- package/dist/orcha.umd.js +2 -2
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, openBlock as c, createBlock as U, unref as H, mergeProps as Pe, createElementBlock as
|
|
1
|
+
import { defineComponent as Y, openBlock as c, createBlock as U, unref as H, mergeProps as Pe, createElementBlock as f, createElementVNode as r, pushScopeId as ha, popScopeId as pa, createStaticVNode as Ca, computed as _, resolveDynamicComponent as Je, normalizeClass as W, renderSlot as K, toDisplayString as R, createCommentVNode as k, ref as ee, watch as fe, nextTick as Ze, withKeys as mt, toHandlers as _a, withCtx as q, createTextVNode as t1, createVNode as M, withModifiers as ke, Fragment as oe, renderList as he, toRefs as ye, getCurrentInstance as Ue, onMounted as Ot, onUnmounted as ga, withDirectives as xe, vModelText as ft, vModelCheckbox as ya, toRef as ct, Teleport as kt, normalizeStyle as ba, toValue as C1, onBeforeMount as wa, resolveComponent as $a, getCurrentScope as Ma, onScopeDispose as ka, provide as Sa } from "vue";
|
|
2
2
|
import { RouterView as Ta } from "vue-router";
|
|
3
3
|
import ht from "vuedraggable";
|
|
4
4
|
const Yd = /* @__PURE__ */ Y({
|
|
@@ -27,7 +27,7 @@ const Yd = /* @__PURE__ */ Y({
|
|
|
27
27
|
Oa
|
|
28
28
|
];
|
|
29
29
|
function Ea(a, e) {
|
|
30
|
-
return c(),
|
|
30
|
+
return c(), f("svg", Ia, La);
|
|
31
31
|
}
|
|
32
32
|
const Va = /* @__PURE__ */ O(Aa, [["render", Ea]]), Ha = {}, Da = {
|
|
33
33
|
width: "24",
|
|
@@ -42,7 +42,7 @@ const Va = /* @__PURE__ */ O(Aa, [["render", Ea]]), Ha = {}, Da = {
|
|
|
42
42
|
Pa
|
|
43
43
|
];
|
|
44
44
|
function Ba(a, e) {
|
|
45
|
-
return c(),
|
|
45
|
+
return c(), f("svg", Da, Na);
|
|
46
46
|
}
|
|
47
47
|
const Za = /* @__PURE__ */ O(Ha, [["render", Ba]]), Ua = {}, ja = {
|
|
48
48
|
width: "24",
|
|
@@ -57,7 +57,7 @@ const Za = /* @__PURE__ */ O(Ha, [["render", Ba]]), Ua = {}, ja = {
|
|
|
57
57
|
Ra
|
|
58
58
|
];
|
|
59
59
|
function Fa(a, e) {
|
|
60
|
-
return c(),
|
|
60
|
+
return c(), f("svg", ja, qa);
|
|
61
61
|
}
|
|
62
62
|
const za = /* @__PURE__ */ O(Ua, [["render", Fa]]), Wa = {}, Ya = {
|
|
63
63
|
width: "24",
|
|
@@ -72,7 +72,7 @@ const za = /* @__PURE__ */ O(Ua, [["render", Fa]]), Wa = {}, Ya = {
|
|
|
72
72
|
Ga
|
|
73
73
|
];
|
|
74
74
|
function xa(a, e) {
|
|
75
|
-
return c(),
|
|
75
|
+
return c(), f("svg", Ya, Ka);
|
|
76
76
|
}
|
|
77
77
|
const Xa = /* @__PURE__ */ O(Wa, [["render", xa]]), Qa = {}, Ja = {
|
|
78
78
|
width: "24",
|
|
@@ -87,7 +87,7 @@ const Xa = /* @__PURE__ */ O(Wa, [["render", xa]]), Qa = {}, Ja = {
|
|
|
87
87
|
en
|
|
88
88
|
];
|
|
89
89
|
function an(a, e) {
|
|
90
|
-
return c(),
|
|
90
|
+
return c(), f("svg", Ja, tn);
|
|
91
91
|
}
|
|
92
92
|
const nn = /* @__PURE__ */ O(Qa, [["render", an]]), sn = {}, ln = {
|
|
93
93
|
width: "24",
|
|
@@ -102,7 +102,7 @@ const nn = /* @__PURE__ */ O(Qa, [["render", an]]), sn = {}, ln = {
|
|
|
102
102
|
on
|
|
103
103
|
];
|
|
104
104
|
function un(a, e) {
|
|
105
|
-
return c(),
|
|
105
|
+
return c(), f("svg", ln, rn);
|
|
106
106
|
}
|
|
107
107
|
const cn = /* @__PURE__ */ O(sn, [["render", un]]), dn = {}, vn = {
|
|
108
108
|
width: "24",
|
|
@@ -117,7 +117,7 @@ const cn = /* @__PURE__ */ O(sn, [["render", un]]), dn = {}, vn = {
|
|
|
117
117
|
mn
|
|
118
118
|
];
|
|
119
119
|
function hn(a, e) {
|
|
120
|
-
return c(),
|
|
120
|
+
return c(), f("svg", vn, fn);
|
|
121
121
|
}
|
|
122
122
|
const pn = /* @__PURE__ */ O(dn, [["render", hn]]), Cn = {}, _n = {
|
|
123
123
|
width: "24",
|
|
@@ -132,7 +132,7 @@ const pn = /* @__PURE__ */ O(dn, [["render", hn]]), Cn = {}, _n = {
|
|
|
132
132
|
gn
|
|
133
133
|
];
|
|
134
134
|
function bn(a, e) {
|
|
135
|
-
return c(),
|
|
135
|
+
return c(), f("svg", _n, yn);
|
|
136
136
|
}
|
|
137
137
|
const wn = /* @__PURE__ */ O(Cn, [["render", bn]]), $n = {}, Mn = {
|
|
138
138
|
width: "24",
|
|
@@ -147,7 +147,7 @@ const wn = /* @__PURE__ */ O(Cn, [["render", bn]]), $n = {}, Mn = {
|
|
|
147
147
|
kn
|
|
148
148
|
];
|
|
149
149
|
function Tn(a, e) {
|
|
150
|
-
return c(),
|
|
150
|
+
return c(), f("svg", Mn, Sn);
|
|
151
151
|
}
|
|
152
152
|
const An = /* @__PURE__ */ O($n, [["render", Tn]]), In = {}, On = {
|
|
153
153
|
width: "24",
|
|
@@ -162,7 +162,7 @@ const An = /* @__PURE__ */ O($n, [["render", Tn]]), In = {}, On = {
|
|
|
162
162
|
Ln
|
|
163
163
|
];
|
|
164
164
|
function Vn(a, e) {
|
|
165
|
-
return c(),
|
|
165
|
+
return c(), f("svg", On, En);
|
|
166
166
|
}
|
|
167
167
|
const Hn = /* @__PURE__ */ O(In, [["render", Vn]]), Dn = {}, Pn = {
|
|
168
168
|
width: "24",
|
|
@@ -177,7 +177,7 @@ const Hn = /* @__PURE__ */ O(In, [["render", Vn]]), Dn = {}, Pn = {
|
|
|
177
177
|
Nn
|
|
178
178
|
];
|
|
179
179
|
function Zn(a, e) {
|
|
180
|
-
return c(),
|
|
180
|
+
return c(), f("svg", Pn, Bn);
|
|
181
181
|
}
|
|
182
182
|
const Un = /* @__PURE__ */ O(Dn, [["render", Zn]]), jn = {}, Rn = {
|
|
183
183
|
width: "24",
|
|
@@ -192,7 +192,7 @@ const Un = /* @__PURE__ */ O(Dn, [["render", Zn]]), jn = {}, Rn = {
|
|
|
192
192
|
qn
|
|
193
193
|
];
|
|
194
194
|
function zn(a, e) {
|
|
195
|
-
return c(),
|
|
195
|
+
return c(), f("svg", Rn, Fn);
|
|
196
196
|
}
|
|
197
197
|
const Wn = /* @__PURE__ */ O(jn, [["render", zn]]), Yn = {}, Gn = {
|
|
198
198
|
width: "24",
|
|
@@ -207,7 +207,7 @@ const Wn = /* @__PURE__ */ O(jn, [["render", zn]]), Yn = {}, Gn = {
|
|
|
207
207
|
Kn
|
|
208
208
|
];
|
|
209
209
|
function Xn(a, e) {
|
|
210
|
-
return c(),
|
|
210
|
+
return c(), f("svg", Gn, xn);
|
|
211
211
|
}
|
|
212
212
|
const Qn = /* @__PURE__ */ O(Yn, [["render", Xn]]), Jn = {}, es = {
|
|
213
213
|
width: "24",
|
|
@@ -222,7 +222,7 @@ const Qn = /* @__PURE__ */ O(Yn, [["render", Xn]]), Jn = {}, es = {
|
|
|
222
222
|
ts
|
|
223
223
|
];
|
|
224
224
|
function ns(a, e) {
|
|
225
|
-
return c(),
|
|
225
|
+
return c(), f("svg", es, as);
|
|
226
226
|
}
|
|
227
227
|
const ss = /* @__PURE__ */ O(Jn, [["render", ns]]), is = {}, ls = {
|
|
228
228
|
width: "24",
|
|
@@ -237,7 +237,7 @@ const ss = /* @__PURE__ */ O(Jn, [["render", ns]]), is = {}, ls = {
|
|
|
237
237
|
os
|
|
238
238
|
];
|
|
239
239
|
function us(a, e) {
|
|
240
|
-
return c(),
|
|
240
|
+
return c(), f("svg", ls, rs);
|
|
241
241
|
}
|
|
242
242
|
const cs = /* @__PURE__ */ O(is, [["render", us]]), ds = {}, vs = {
|
|
243
243
|
width: "24",
|
|
@@ -252,7 +252,7 @@ const cs = /* @__PURE__ */ O(is, [["render", us]]), ds = {}, vs = {
|
|
|
252
252
|
ms
|
|
253
253
|
];
|
|
254
254
|
function hs(a, e) {
|
|
255
|
-
return c(),
|
|
255
|
+
return c(), f("svg", vs, fs);
|
|
256
256
|
}
|
|
257
257
|
const ps = /* @__PURE__ */ O(ds, [["render", hs]]), Cs = {}, _s = {
|
|
258
258
|
width: "24",
|
|
@@ -267,7 +267,7 @@ const ps = /* @__PURE__ */ O(ds, [["render", hs]]), Cs = {}, _s = {
|
|
|
267
267
|
gs
|
|
268
268
|
];
|
|
269
269
|
function bs(a, e) {
|
|
270
|
-
return c(),
|
|
270
|
+
return c(), f("svg", _s, ys);
|
|
271
271
|
}
|
|
272
272
|
const ws = /* @__PURE__ */ O(Cs, [["render", bs]]), $s = {}, Ms = {
|
|
273
273
|
width: "24",
|
|
@@ -282,7 +282,7 @@ const ws = /* @__PURE__ */ O(Cs, [["render", bs]]), $s = {}, Ms = {
|
|
|
282
282
|
ks
|
|
283
283
|
];
|
|
284
284
|
function Ts(a, e) {
|
|
285
|
-
return c(),
|
|
285
|
+
return c(), f("svg", Ms, Ss);
|
|
286
286
|
}
|
|
287
287
|
const As = /* @__PURE__ */ O($s, [["render", Ts]]), Is = {}, Os = {
|
|
288
288
|
width: "24",
|
|
@@ -297,7 +297,7 @@ const As = /* @__PURE__ */ O($s, [["render", Ts]]), Is = {}, Os = {
|
|
|
297
297
|
Ls
|
|
298
298
|
];
|
|
299
299
|
function Vs(a, e) {
|
|
300
|
-
return c(),
|
|
300
|
+
return c(), f("svg", Os, Es);
|
|
301
301
|
}
|
|
302
302
|
const Hs = /* @__PURE__ */ O(Is, [["render", Vs]]), Ds = {}, Ps = {
|
|
303
303
|
width: "24",
|
|
@@ -312,7 +312,7 @@ const Hs = /* @__PURE__ */ O(Is, [["render", Vs]]), Ds = {}, Ps = {
|
|
|
312
312
|
Ns
|
|
313
313
|
];
|
|
314
314
|
function Zs(a, e) {
|
|
315
|
-
return c(),
|
|
315
|
+
return c(), f("svg", Ps, Bs);
|
|
316
316
|
}
|
|
317
317
|
const Us = /* @__PURE__ */ O(Ds, [["render", Zs]]), js = {}, Rs = {
|
|
318
318
|
width: "24",
|
|
@@ -327,7 +327,7 @@ const Us = /* @__PURE__ */ O(Ds, [["render", Zs]]), js = {}, Rs = {
|
|
|
327
327
|
qs
|
|
328
328
|
];
|
|
329
329
|
function zs(a, e) {
|
|
330
|
-
return c(),
|
|
330
|
+
return c(), f("svg", Rs, Fs);
|
|
331
331
|
}
|
|
332
332
|
const Ws = /* @__PURE__ */ O(js, [["render", zs]]), Ys = {}, Gs = {
|
|
333
333
|
width: "24",
|
|
@@ -342,7 +342,7 @@ const Ws = /* @__PURE__ */ O(js, [["render", zs]]), Ys = {}, Gs = {
|
|
|
342
342
|
Ks
|
|
343
343
|
];
|
|
344
344
|
function Xs(a, e) {
|
|
345
|
-
return c(),
|
|
345
|
+
return c(), f("svg", Gs, xs);
|
|
346
346
|
}
|
|
347
347
|
const Qs = /* @__PURE__ */ O(Ys, [["render", Xs]]), Js = {}, ei = {
|
|
348
348
|
width: "24",
|
|
@@ -357,7 +357,7 @@ const Qs = /* @__PURE__ */ O(Ys, [["render", Xs]]), Js = {}, ei = {
|
|
|
357
357
|
ti
|
|
358
358
|
];
|
|
359
359
|
function ni(a, e) {
|
|
360
|
-
return c(),
|
|
360
|
+
return c(), f("svg", ei, ai);
|
|
361
361
|
}
|
|
362
362
|
const si = /* @__PURE__ */ O(Js, [["render", ni]]), ii = {}, li = {
|
|
363
363
|
width: "24",
|
|
@@ -372,7 +372,7 @@ const si = /* @__PURE__ */ O(Js, [["render", ni]]), ii = {}, li = {
|
|
|
372
372
|
oi
|
|
373
373
|
];
|
|
374
374
|
function ui(a, e) {
|
|
375
|
-
return c(),
|
|
375
|
+
return c(), f("svg", li, ri);
|
|
376
376
|
}
|
|
377
377
|
const ci = /* @__PURE__ */ O(ii, [["render", ui]]), di = {}, vi = {
|
|
378
378
|
width: "24",
|
|
@@ -387,7 +387,7 @@ const ci = /* @__PURE__ */ O(ii, [["render", ui]]), di = {}, vi = {
|
|
|
387
387
|
mi
|
|
388
388
|
];
|
|
389
389
|
function hi(a, e) {
|
|
390
|
-
return c(),
|
|
390
|
+
return c(), f("svg", vi, fi);
|
|
391
391
|
}
|
|
392
392
|
const pi = /* @__PURE__ */ O(di, [["render", hi]]), Ci = {}, _i = {
|
|
393
393
|
width: "24",
|
|
@@ -402,7 +402,7 @@ const pi = /* @__PURE__ */ O(di, [["render", hi]]), Ci = {}, _i = {
|
|
|
402
402
|
gi
|
|
403
403
|
];
|
|
404
404
|
function bi(a, e) {
|
|
405
|
-
return c(),
|
|
405
|
+
return c(), f("svg", _i, yi);
|
|
406
406
|
}
|
|
407
407
|
const wi = /* @__PURE__ */ O(Ci, [["render", bi]]), $i = {}, Mi = {
|
|
408
408
|
width: "24",
|
|
@@ -417,7 +417,7 @@ const wi = /* @__PURE__ */ O(Ci, [["render", bi]]), $i = {}, Mi = {
|
|
|
417
417
|
ki
|
|
418
418
|
];
|
|
419
419
|
function Ti(a, e) {
|
|
420
|
-
return c(),
|
|
420
|
+
return c(), f("svg", Mi, Si);
|
|
421
421
|
}
|
|
422
422
|
const Ai = /* @__PURE__ */ O($i, [["render", Ti]]), Ii = {}, Oi = {
|
|
423
423
|
width: "24",
|
|
@@ -432,7 +432,7 @@ const Ai = /* @__PURE__ */ O($i, [["render", Ti]]), Ii = {}, Oi = {
|
|
|
432
432
|
Li
|
|
433
433
|
];
|
|
434
434
|
function Vi(a, e) {
|
|
435
|
-
return c(),
|
|
435
|
+
return c(), f("svg", Oi, Ei);
|
|
436
436
|
}
|
|
437
437
|
const Hi = /* @__PURE__ */ O(Ii, [["render", Vi]]), Di = {}, Pi = {
|
|
438
438
|
width: "24",
|
|
@@ -447,7 +447,7 @@ const Hi = /* @__PURE__ */ O(Ii, [["render", Vi]]), Di = {}, Pi = {
|
|
|
447
447
|
Ni
|
|
448
448
|
];
|
|
449
449
|
function Zi(a, e) {
|
|
450
|
-
return c(),
|
|
450
|
+
return c(), f("svg", Pi, Bi);
|
|
451
451
|
}
|
|
452
452
|
const Ui = /* @__PURE__ */ O(Di, [["render", Zi]]), ji = {}, Ri = {
|
|
453
453
|
width: "24",
|
|
@@ -462,7 +462,7 @@ const Ui = /* @__PURE__ */ O(Di, [["render", Zi]]), ji = {}, Ri = {
|
|
|
462
462
|
qi
|
|
463
463
|
];
|
|
464
464
|
function zi(a, e) {
|
|
465
|
-
return c(),
|
|
465
|
+
return c(), f("svg", Ri, Fi);
|
|
466
466
|
}
|
|
467
467
|
const Wi = /* @__PURE__ */ O(ji, [["render", zi]]), Yi = {}, Gi = {
|
|
468
468
|
width: "24",
|
|
@@ -477,7 +477,7 @@ const Wi = /* @__PURE__ */ O(ji, [["render", zi]]), Yi = {}, Gi = {
|
|
|
477
477
|
Ki
|
|
478
478
|
];
|
|
479
479
|
function Xi(a, e) {
|
|
480
|
-
return c(),
|
|
480
|
+
return c(), f("svg", Gi, xi);
|
|
481
481
|
}
|
|
482
482
|
const Qi = /* @__PURE__ */ O(Yi, [["render", Xi]]), Ji = {}, el = {
|
|
483
483
|
width: "24",
|
|
@@ -492,7 +492,7 @@ const Qi = /* @__PURE__ */ O(Yi, [["render", Xi]]), Ji = {}, el = {
|
|
|
492
492
|
tl
|
|
493
493
|
];
|
|
494
494
|
function nl(a, e) {
|
|
495
|
-
return c(),
|
|
495
|
+
return c(), f("svg", el, al);
|
|
496
496
|
}
|
|
497
497
|
const sl = /* @__PURE__ */ O(Ji, [["render", nl]]), il = {}, ll = {
|
|
498
498
|
width: "24",
|
|
@@ -507,7 +507,7 @@ const sl = /* @__PURE__ */ O(Ji, [["render", nl]]), il = {}, ll = {
|
|
|
507
507
|
ol
|
|
508
508
|
];
|
|
509
509
|
function ul(a, e) {
|
|
510
|
-
return c(),
|
|
510
|
+
return c(), f("svg", ll, rl);
|
|
511
511
|
}
|
|
512
512
|
const cl = /* @__PURE__ */ O(il, [["render", ul]]), dl = {}, vl = {
|
|
513
513
|
width: "24",
|
|
@@ -522,7 +522,7 @@ const cl = /* @__PURE__ */ O(il, [["render", ul]]), dl = {}, vl = {
|
|
|
522
522
|
ml
|
|
523
523
|
];
|
|
524
524
|
function hl(a, e) {
|
|
525
|
-
return c(),
|
|
525
|
+
return c(), f("svg", vl, fl);
|
|
526
526
|
}
|
|
527
527
|
const pl = /* @__PURE__ */ O(dl, [["render", hl]]), Cl = {}, _l = {
|
|
528
528
|
width: "24",
|
|
@@ -537,7 +537,7 @@ const pl = /* @__PURE__ */ O(dl, [["render", hl]]), Cl = {}, _l = {
|
|
|
537
537
|
gl
|
|
538
538
|
];
|
|
539
539
|
function bl(a, e) {
|
|
540
|
-
return c(),
|
|
540
|
+
return c(), f("svg", _l, yl);
|
|
541
541
|
}
|
|
542
542
|
const wl = /* @__PURE__ */ O(Cl, [["render", bl]]), $l = {}, Ml = {
|
|
543
543
|
width: "24",
|
|
@@ -552,7 +552,7 @@ const wl = /* @__PURE__ */ O(Cl, [["render", bl]]), $l = {}, Ml = {
|
|
|
552
552
|
kl
|
|
553
553
|
];
|
|
554
554
|
function Tl(a, e) {
|
|
555
|
-
return c(),
|
|
555
|
+
return c(), f("svg", Ml, Sl);
|
|
556
556
|
}
|
|
557
557
|
const Al = /* @__PURE__ */ O($l, [["render", Tl]]), Il = {}, Ol = {
|
|
558
558
|
width: "24",
|
|
@@ -567,7 +567,7 @@ const Al = /* @__PURE__ */ O($l, [["render", Tl]]), Il = {}, Ol = {
|
|
|
567
567
|
Ll
|
|
568
568
|
];
|
|
569
569
|
function Vl(a, e) {
|
|
570
|
-
return c(),
|
|
570
|
+
return c(), f("svg", Ol, El);
|
|
571
571
|
}
|
|
572
572
|
const Hl = /* @__PURE__ */ O(Il, [["render", Vl]]), Dl = {}, Pl = {
|
|
573
573
|
width: "24",
|
|
@@ -582,7 +582,7 @@ const Hl = /* @__PURE__ */ O(Il, [["render", Vl]]), Dl = {}, Pl = {
|
|
|
582
582
|
Nl
|
|
583
583
|
];
|
|
584
584
|
function Zl(a, e) {
|
|
585
|
-
return c(),
|
|
585
|
+
return c(), f("svg", Pl, Bl);
|
|
586
586
|
}
|
|
587
587
|
const Ul = /* @__PURE__ */ O(Dl, [["render", Zl]]), jl = {}, Rl = {
|
|
588
588
|
width: "24",
|
|
@@ -597,28 +597,28 @@ const Ul = /* @__PURE__ */ O(Dl, [["render", Zl]]), jl = {}, Rl = {
|
|
|
597
597
|
ql
|
|
598
598
|
];
|
|
599
599
|
function zl(a, e) {
|
|
600
|
-
return c(),
|
|
600
|
+
return c(), f("svg", Rl, Fl);
|
|
601
601
|
}
|
|
602
602
|
const Wl = /* @__PURE__ */ O(jl, [["render", zl]]), Yl = Y({
|
|
603
603
|
name: "LoadingIcon"
|
|
604
604
|
});
|
|
605
|
-
const
|
|
605
|
+
const a1 = (a) => (ha("data-v-ad6da4a9"), a = a(), pa(), a), Gl = {
|
|
606
606
|
width: "24",
|
|
607
607
|
height: "24",
|
|
608
608
|
viewBox: "0 0 24 24",
|
|
609
609
|
fill: "none",
|
|
610
610
|
xmlns: "http://www.w3.org/2000/svg"
|
|
611
|
-
}, Kl = /* @__PURE__ */
|
|
611
|
+
}, Kl = /* @__PURE__ */ a1(() => /* @__PURE__ */ r("circle", {
|
|
612
612
|
class: "dot dot--1",
|
|
613
613
|
cx: "6",
|
|
614
614
|
cy: "12",
|
|
615
615
|
r: "2"
|
|
616
|
-
}, null, -1)), xl = /* @__PURE__ */
|
|
616
|
+
}, null, -1)), xl = /* @__PURE__ */ a1(() => /* @__PURE__ */ r("circle", {
|
|
617
617
|
class: "dot dot--2",
|
|
618
618
|
cx: "12",
|
|
619
619
|
cy: "12",
|
|
620
620
|
r: "2"
|
|
621
|
-
}, null, -1)), Xl = /* @__PURE__ */
|
|
621
|
+
}, null, -1)), Xl = /* @__PURE__ */ a1(() => /* @__PURE__ */ r("circle", {
|
|
622
622
|
class: "dot dot--3",
|
|
623
623
|
cx: "18",
|
|
624
624
|
cy: "12",
|
|
@@ -629,7 +629,7 @@ const t1 = (a) => (ha("data-v-ad6da4a9"), a = a(), pa(), a), Gl = {
|
|
|
629
629
|
Xl
|
|
630
630
|
];
|
|
631
631
|
function Jl(a, e, t, s, n, l) {
|
|
632
|
-
return c(),
|
|
632
|
+
return c(), f("svg", Gl, Ql);
|
|
633
633
|
}
|
|
634
634
|
const eo = /* @__PURE__ */ O(Yl, [["render", Jl], ["__scopeId", "data-v-ad6da4a9"]]), to = {}, ao = {
|
|
635
635
|
width: "24",
|
|
@@ -644,7 +644,7 @@ const eo = /* @__PURE__ */ O(Yl, [["render", Jl], ["__scopeId", "data-v-ad6da4a9
|
|
|
644
644
|
no
|
|
645
645
|
];
|
|
646
646
|
function io(a, e) {
|
|
647
|
-
return c(),
|
|
647
|
+
return c(), f("svg", ao, so);
|
|
648
648
|
}
|
|
649
649
|
const lo = /* @__PURE__ */ O(to, [["render", io]]), oo = {}, ro = {
|
|
650
650
|
width: "24",
|
|
@@ -659,7 +659,7 @@ const lo = /* @__PURE__ */ O(to, [["render", io]]), oo = {}, ro = {
|
|
|
659
659
|
uo
|
|
660
660
|
];
|
|
661
661
|
function vo(a, e) {
|
|
662
|
-
return c(),
|
|
662
|
+
return c(), f("svg", ro, co);
|
|
663
663
|
}
|
|
664
664
|
const mo = /* @__PURE__ */ O(oo, [["render", vo]]), fo = {}, ho = {
|
|
665
665
|
width: "24",
|
|
@@ -674,7 +674,7 @@ const mo = /* @__PURE__ */ O(oo, [["render", vo]]), fo = {}, ho = {
|
|
|
674
674
|
po
|
|
675
675
|
];
|
|
676
676
|
function _o(a, e) {
|
|
677
|
-
return c(),
|
|
677
|
+
return c(), f("svg", ho, Co);
|
|
678
678
|
}
|
|
679
679
|
const go = /* @__PURE__ */ O(fo, [["render", _o]]), yo = {}, bo = {
|
|
680
680
|
width: "24",
|
|
@@ -689,7 +689,7 @@ const go = /* @__PURE__ */ O(fo, [["render", _o]]), yo = {}, bo = {
|
|
|
689
689
|
wo
|
|
690
690
|
];
|
|
691
691
|
function Mo(a, e) {
|
|
692
|
-
return c(),
|
|
692
|
+
return c(), f("svg", bo, $o);
|
|
693
693
|
}
|
|
694
694
|
const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), So = {}, To = {
|
|
695
695
|
width: "24",
|
|
@@ -704,7 +704,7 @@ const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), So = {}, To = {
|
|
|
704
704
|
Ao
|
|
705
705
|
];
|
|
706
706
|
function Oo(a, e) {
|
|
707
|
-
return c(),
|
|
707
|
+
return c(), f("svg", To, Io);
|
|
708
708
|
}
|
|
709
709
|
const Lo = /* @__PURE__ */ O(So, [["render", Oo]]), Eo = {}, Vo = {
|
|
710
710
|
width: "24",
|
|
@@ -719,7 +719,7 @@ const Lo = /* @__PURE__ */ O(So, [["render", Oo]]), Eo = {}, Vo = {
|
|
|
719
719
|
Ho
|
|
720
720
|
];
|
|
721
721
|
function Po(a, e) {
|
|
722
|
-
return c(),
|
|
722
|
+
return c(), f("svg", Vo, Do);
|
|
723
723
|
}
|
|
724
724
|
const No = /* @__PURE__ */ O(Eo, [["render", Po]]), Bo = {}, Zo = {
|
|
725
725
|
width: "24",
|
|
@@ -734,7 +734,7 @@ const No = /* @__PURE__ */ O(Eo, [["render", Po]]), Bo = {}, Zo = {
|
|
|
734
734
|
Uo
|
|
735
735
|
];
|
|
736
736
|
function Ro(a, e) {
|
|
737
|
-
return c(),
|
|
737
|
+
return c(), f("svg", Zo, jo);
|
|
738
738
|
}
|
|
739
739
|
const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
|
|
740
740
|
width: "24",
|
|
@@ -749,7 +749,7 @@ const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
|
|
|
749
749
|
Wo
|
|
750
750
|
];
|
|
751
751
|
function Go(a, e) {
|
|
752
|
-
return c(),
|
|
752
|
+
return c(), f("svg", zo, Yo);
|
|
753
753
|
}
|
|
754
754
|
const Ko = /* @__PURE__ */ O(Fo, [["render", Go]]), xo = {}, Xo = {
|
|
755
755
|
width: "24",
|
|
@@ -764,7 +764,7 @@ const Ko = /* @__PURE__ */ O(Fo, [["render", Go]]), xo = {}, Xo = {
|
|
|
764
764
|
Qo
|
|
765
765
|
];
|
|
766
766
|
function er(a, e) {
|
|
767
|
-
return c(),
|
|
767
|
+
return c(), f("svg", Xo, Jo);
|
|
768
768
|
}
|
|
769
769
|
const tr = /* @__PURE__ */ O(xo, [["render", er]]), ar = {}, nr = {
|
|
770
770
|
width: "24",
|
|
@@ -779,7 +779,7 @@ const tr = /* @__PURE__ */ O(xo, [["render", er]]), ar = {}, nr = {
|
|
|
779
779
|
sr
|
|
780
780
|
];
|
|
781
781
|
function lr(a, e) {
|
|
782
|
-
return c(),
|
|
782
|
+
return c(), f("svg", nr, ir);
|
|
783
783
|
}
|
|
784
784
|
const or = /* @__PURE__ */ O(ar, [["render", lr]]), rr = {}, ur = {
|
|
785
785
|
width: "24",
|
|
@@ -794,7 +794,7 @@ const or = /* @__PURE__ */ O(ar, [["render", lr]]), rr = {}, ur = {
|
|
|
794
794
|
cr
|
|
795
795
|
];
|
|
796
796
|
function vr(a, e) {
|
|
797
|
-
return c(),
|
|
797
|
+
return c(), f("svg", ur, dr);
|
|
798
798
|
}
|
|
799
799
|
const mr = /* @__PURE__ */ O(rr, [["render", vr]]), fr = {}, hr = {
|
|
800
800
|
width: "24",
|
|
@@ -809,7 +809,7 @@ const mr = /* @__PURE__ */ O(rr, [["render", vr]]), fr = {}, hr = {
|
|
|
809
809
|
pr
|
|
810
810
|
];
|
|
811
811
|
function _r(a, e) {
|
|
812
|
-
return c(),
|
|
812
|
+
return c(), f("svg", hr, Cr);
|
|
813
813
|
}
|
|
814
814
|
const gr = /* @__PURE__ */ O(fr, [["render", _r]]), yr = {}, br = {
|
|
815
815
|
width: "26",
|
|
@@ -821,7 +821,7 @@ const gr = /* @__PURE__ */ O(fr, [["render", _r]]), yr = {}, br = {
|
|
|
821
821
|
wr
|
|
822
822
|
];
|
|
823
823
|
function Mr(a, e) {
|
|
824
|
-
return c(),
|
|
824
|
+
return c(), f("svg", br, $r);
|
|
825
825
|
}
|
|
826
826
|
const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Sr = {}, Tr = {
|
|
827
827
|
width: "24",
|
|
@@ -836,7 +836,7 @@ const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Sr = {}, Tr = {
|
|
|
836
836
|
Ar
|
|
837
837
|
];
|
|
838
838
|
function Or(a, e) {
|
|
839
|
-
return c(),
|
|
839
|
+
return c(), f("svg", Tr, Ir);
|
|
840
840
|
}
|
|
841
841
|
const Lr = /* @__PURE__ */ O(Sr, [["render", Or]]), Er = {}, Vr = {
|
|
842
842
|
width: "24",
|
|
@@ -851,7 +851,7 @@ const Lr = /* @__PURE__ */ O(Sr, [["render", Or]]), Er = {}, Vr = {
|
|
|
851
851
|
Hr
|
|
852
852
|
];
|
|
853
853
|
function Pr(a, e) {
|
|
854
|
-
return c(),
|
|
854
|
+
return c(), f("svg", Vr, Dr);
|
|
855
855
|
}
|
|
856
856
|
const Nr = /* @__PURE__ */ O(Er, [["render", Pr]]), Br = {}, Zr = {
|
|
857
857
|
width: "24",
|
|
@@ -866,7 +866,7 @@ const Nr = /* @__PURE__ */ O(Er, [["render", Pr]]), Br = {}, Zr = {
|
|
|
866
866
|
Ur
|
|
867
867
|
];
|
|
868
868
|
function Rr(a, e) {
|
|
869
|
-
return c(),
|
|
869
|
+
return c(), f("svg", Zr, jr);
|
|
870
870
|
}
|
|
871
871
|
const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
|
|
872
872
|
width: "24",
|
|
@@ -881,7 +881,7 @@ const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
|
|
|
881
881
|
Wr
|
|
882
882
|
];
|
|
883
883
|
function Gr(a, e) {
|
|
884
|
-
return c(),
|
|
884
|
+
return c(), f("svg", zr, Yr);
|
|
885
885
|
}
|
|
886
886
|
const Kr = /* @__PURE__ */ O(Fr, [["render", Gr]]), xr = {}, Xr = {
|
|
887
887
|
width: "24",
|
|
@@ -896,7 +896,7 @@ const Kr = /* @__PURE__ */ O(Fr, [["render", Gr]]), xr = {}, Xr = {
|
|
|
896
896
|
Qr
|
|
897
897
|
];
|
|
898
898
|
function e2(a, e) {
|
|
899
|
-
return c(),
|
|
899
|
+
return c(), f("svg", Xr, Jr);
|
|
900
900
|
}
|
|
901
901
|
const t2 = /* @__PURE__ */ O(xr, [["render", e2]]), a2 = {}, n2 = {
|
|
902
902
|
width: "24",
|
|
@@ -911,7 +911,7 @@ const t2 = /* @__PURE__ */ O(xr, [["render", e2]]), a2 = {}, n2 = {
|
|
|
911
911
|
s2
|
|
912
912
|
];
|
|
913
913
|
function l2(a, e) {
|
|
914
|
-
return c(),
|
|
914
|
+
return c(), f("svg", n2, i2);
|
|
915
915
|
}
|
|
916
916
|
const o2 = /* @__PURE__ */ O(a2, [["render", l2]]), r2 = {}, u2 = {
|
|
917
917
|
width: "24",
|
|
@@ -926,7 +926,7 @@ const o2 = /* @__PURE__ */ O(a2, [["render", l2]]), r2 = {}, u2 = {
|
|
|
926
926
|
c2
|
|
927
927
|
];
|
|
928
928
|
function v2(a, e) {
|
|
929
|
-
return c(),
|
|
929
|
+
return c(), f("svg", u2, d2);
|
|
930
930
|
}
|
|
931
931
|
const m2 = /* @__PURE__ */ O(r2, [["render", v2]]), f2 = {}, h2 = {
|
|
932
932
|
width: "24",
|
|
@@ -941,7 +941,7 @@ const m2 = /* @__PURE__ */ O(r2, [["render", v2]]), f2 = {}, h2 = {
|
|
|
941
941
|
p2
|
|
942
942
|
];
|
|
943
943
|
function _2(a, e) {
|
|
944
|
-
return c(),
|
|
944
|
+
return c(), f("svg", h2, C2);
|
|
945
945
|
}
|
|
946
946
|
const g2 = /* @__PURE__ */ O(f2, [["render", _2]]), y2 = {}, b2 = {
|
|
947
947
|
width: "24",
|
|
@@ -956,7 +956,7 @@ const g2 = /* @__PURE__ */ O(f2, [["render", _2]]), y2 = {}, b2 = {
|
|
|
956
956
|
w2
|
|
957
957
|
];
|
|
958
958
|
function M2(a, e) {
|
|
959
|
-
return c(),
|
|
959
|
+
return c(), f("svg", b2, $2);
|
|
960
960
|
}
|
|
961
961
|
const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), S2 = {}, T2 = {
|
|
962
962
|
width: "24",
|
|
@@ -971,7 +971,7 @@ const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), S2 = {}, T2 = {
|
|
|
971
971
|
A2
|
|
972
972
|
];
|
|
973
973
|
function O2(a, e) {
|
|
974
|
-
return c(),
|
|
974
|
+
return c(), f("svg", T2, I2);
|
|
975
975
|
}
|
|
976
976
|
const L2 = /* @__PURE__ */ O(S2, [["render", O2]]), E2 = {}, V2 = {
|
|
977
977
|
width: "24",
|
|
@@ -986,7 +986,7 @@ const L2 = /* @__PURE__ */ O(S2, [["render", O2]]), E2 = {}, V2 = {
|
|
|
986
986
|
H2
|
|
987
987
|
];
|
|
988
988
|
function P2(a, e) {
|
|
989
|
-
return c(),
|
|
989
|
+
return c(), f("svg", V2, D2);
|
|
990
990
|
}
|
|
991
991
|
const N2 = /* @__PURE__ */ O(E2, [["render", P2]]), B2 = {}, Z2 = {
|
|
992
992
|
width: "24",
|
|
@@ -1001,7 +1001,7 @@ const N2 = /* @__PURE__ */ O(E2, [["render", P2]]), B2 = {}, Z2 = {
|
|
|
1001
1001
|
U2
|
|
1002
1002
|
];
|
|
1003
1003
|
function R2(a, e) {
|
|
1004
|
-
return c(),
|
|
1004
|
+
return c(), f("svg", Z2, j2);
|
|
1005
1005
|
}
|
|
1006
1006
|
const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
|
|
1007
1007
|
width: "24",
|
|
@@ -1016,7 +1016,7 @@ const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
|
|
|
1016
1016
|
W2
|
|
1017
1017
|
];
|
|
1018
1018
|
function G2(a, e) {
|
|
1019
|
-
return c(),
|
|
1019
|
+
return c(), f("svg", z2, Y2);
|
|
1020
1020
|
}
|
|
1021
1021
|
const K2 = /* @__PURE__ */ O(F2, [["render", G2]]), x2 = {}, X2 = {
|
|
1022
1022
|
width: "24",
|
|
@@ -1031,7 +1031,7 @@ const K2 = /* @__PURE__ */ O(F2, [["render", G2]]), x2 = {}, X2 = {
|
|
|
1031
1031
|
Q2
|
|
1032
1032
|
];
|
|
1033
1033
|
function eu(a, e) {
|
|
1034
|
-
return c(),
|
|
1034
|
+
return c(), f("svg", X2, J2);
|
|
1035
1035
|
}
|
|
1036
1036
|
const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1037
1037
|
__proto__: null,
|
|
@@ -1150,7 +1150,7 @@ const iu = ["type"], lu = {
|
|
|
1150
1150
|
},
|
|
1151
1151
|
setup(a) {
|
|
1152
1152
|
const e = a, t = _(() => e.size), s = _(() => e.isLoading ? "Loading" : e.iconName);
|
|
1153
|
-
return (n, l) => (c(),
|
|
1153
|
+
return (n, l) => (c(), f("button", {
|
|
1154
1154
|
type: n.type,
|
|
1155
1155
|
class: W([
|
|
1156
1156
|
"ao-button",
|
|
@@ -1164,7 +1164,7 @@ const iu = ["type"], lu = {
|
|
|
1164
1164
|
])
|
|
1165
1165
|
}, [
|
|
1166
1166
|
K(n.$slots, "default", {}, () => [
|
|
1167
|
-
n.label ? (c(),
|
|
1167
|
+
n.label ? (c(), f("span", lu, R(n.label), 1)) : k("", !0)
|
|
1168
1168
|
]),
|
|
1169
1169
|
s.value ? (c(), U(ie, {
|
|
1170
1170
|
key: 0,
|
|
@@ -1178,21 +1178,21 @@ const iu = ["type"], lu = {
|
|
|
1178
1178
|
function I1(a) {
|
|
1179
1179
|
const e = ee(!1), t = ee(""), s = _(() => "value" in a.value ? "value" : "innerHTML"), n = () => {
|
|
1180
1180
|
e.value = !e.value;
|
|
1181
|
-
}, l = (
|
|
1182
|
-
e.value =
|
|
1183
|
-
}, i = (
|
|
1181
|
+
}, l = (v) => {
|
|
1182
|
+
e.value = v;
|
|
1183
|
+
}, i = (v) => async () => {
|
|
1184
1184
|
l(!1), await Ze(() => {
|
|
1185
|
-
a.value[s.value] = t.value,
|
|
1185
|
+
a.value[s.value] = t.value, v == null || v();
|
|
1186
1186
|
});
|
|
1187
|
-
}, o = (
|
|
1187
|
+
}, o = (v) => async (d) => {
|
|
1188
1188
|
l(!1), await Ze(() => {
|
|
1189
|
-
|
|
1189
|
+
v(a.value[s.value], d);
|
|
1190
1190
|
});
|
|
1191
1191
|
};
|
|
1192
|
-
return fe(e, async (
|
|
1192
|
+
return fe(e, async (v) => {
|
|
1193
1193
|
await Ze(() => {
|
|
1194
1194
|
setTimeout(() => {
|
|
1195
|
-
a.value &&
|
|
1195
|
+
a.value && v && (a.value.focus(), t.value = a.value[s.value]);
|
|
1196
1196
|
}, 1);
|
|
1197
1197
|
});
|
|
1198
1198
|
}), {
|
|
@@ -1214,29 +1214,29 @@ const ve = /* @__PURE__ */ Y({
|
|
|
1214
1214
|
},
|
|
1215
1215
|
emits: ["update:title", "toggle-is-editing"],
|
|
1216
1216
|
setup(a, { emit: e }) {
|
|
1217
|
-
const t = a, s = ee(null), { isEditing: n, setIsEditing: l, onUpdate: i, onDiscard: o } = I1(s),
|
|
1217
|
+
const t = a, s = ee(null), { isEditing: n, setIsEditing: l, onUpdate: i, onDiscard: o } = I1(s), v = _(() => n.value ? "input" : t.tag || `h${t.level}`), d = _(() => t.isEditable ? n.value ? {
|
|
1218
1218
|
change: u,
|
|
1219
1219
|
click: (I) => I.stopPropagation(),
|
|
1220
|
-
blur:
|
|
1220
|
+
blur: h
|
|
1221
1221
|
} : {
|
|
1222
|
-
click:
|
|
1223
|
-
focus:
|
|
1222
|
+
click: w,
|
|
1223
|
+
focus: w
|
|
1224
1224
|
} : {}), u = i((I, E) => {
|
|
1225
|
-
const
|
|
1226
|
-
e("update:title",
|
|
1227
|
-
}),
|
|
1225
|
+
const $ = E.target.value;
|
|
1226
|
+
e("update:title", $);
|
|
1227
|
+
}), p = o(), h = async () => {
|
|
1228
1228
|
n.value && l(!1);
|
|
1229
1229
|
}, y = () => {
|
|
1230
1230
|
e("toggle-is-editing", !1);
|
|
1231
|
-
},
|
|
1231
|
+
}, w = (I) => {
|
|
1232
1232
|
I.stopPropagation(), n.value || l(!0);
|
|
1233
1233
|
};
|
|
1234
1234
|
return fe(
|
|
1235
1235
|
() => t.isEditable,
|
|
1236
1236
|
(I) => {
|
|
1237
|
-
I ||
|
|
1237
|
+
I || p();
|
|
1238
1238
|
}
|
|
1239
|
-
), (I, E) => (c(), U(Je(
|
|
1239
|
+
), (I, E) => (c(), U(Je(v.value), Pe({
|
|
1240
1240
|
ref_key: "target",
|
|
1241
1241
|
ref: s,
|
|
1242
1242
|
class: [
|
|
@@ -1253,11 +1253,11 @@ const ve = /* @__PURE__ */ Y({
|
|
|
1253
1253
|
value: H(n) ? I.title : null,
|
|
1254
1254
|
tabindex: "0",
|
|
1255
1255
|
onKeyup: mt(y, ["enter"])
|
|
1256
|
-
}, _a(
|
|
1257
|
-
onKeydown: mt(H(
|
|
1256
|
+
}, _a(d.value), {
|
|
1257
|
+
onKeydown: mt(H(p), ["esc"])
|
|
1258
1258
|
}), {
|
|
1259
1259
|
default: q(() => [
|
|
1260
|
-
|
|
1260
|
+
t1(R(I.title), 1)
|
|
1261
1261
|
]),
|
|
1262
1262
|
_: 1
|
|
1263
1263
|
}, 16, ["class", "type", "value", "onKeyup", "onKeydown"]));
|
|
@@ -1304,22 +1304,22 @@ const ou = {
|
|
|
1304
1304
|
class: W(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
|
|
1305
1305
|
}, {
|
|
1306
1306
|
default: q(() => [
|
|
1307
|
-
s.isDraggable ? (c(),
|
|
1308
|
-
|
|
1307
|
+
s.isDraggable ? (c(), f("div", ou, [
|
|
1308
|
+
M(ie, {
|
|
1309
1309
|
name: "DragIndicator",
|
|
1310
1310
|
class: "ao-card-horiz__drag-handle"
|
|
1311
1311
|
})
|
|
1312
1312
|
])) : k("", !0),
|
|
1313
1313
|
r("div", ru, [
|
|
1314
|
-
s.icon ? (c(),
|
|
1315
|
-
|
|
1314
|
+
s.icon ? (c(), f("div", uu, [
|
|
1315
|
+
M(ie, {
|
|
1316
1316
|
class: "ao-card-horiz__icon",
|
|
1317
1317
|
name: s.icon,
|
|
1318
1318
|
size: "xl"
|
|
1319
1319
|
}, null, 8, ["name"])
|
|
1320
1320
|
])) : k("", !0),
|
|
1321
1321
|
r("div", cu, [
|
|
1322
|
-
|
|
1322
|
+
M(ve, {
|
|
1323
1323
|
class: "ao-card-horiz__title",
|
|
1324
1324
|
level: 4,
|
|
1325
1325
|
title: s.title || "",
|
|
@@ -1327,20 +1327,20 @@ const ou = {
|
|
|
1327
1327
|
"onUpdate:title": t
|
|
1328
1328
|
}, null, 8, ["title"]),
|
|
1329
1329
|
K(s.$slots, "subtitle", {}, () => [
|
|
1330
|
-
s.subtitle ? (c(),
|
|
1330
|
+
s.subtitle ? (c(), f("span", du, R(s.subtitle), 1)) : k("", !0)
|
|
1331
1331
|
])
|
|
1332
1332
|
]),
|
|
1333
|
-
s.$slots.header ? (c(),
|
|
1333
|
+
s.$slots.header ? (c(), f("div", vu, [
|
|
1334
1334
|
K(s.$slots, "header")
|
|
1335
1335
|
])) : k("", !0)
|
|
1336
1336
|
]),
|
|
1337
|
-
s.$slots.default ? (c(),
|
|
1337
|
+
s.$slots.default ? (c(), f("div", mu, [
|
|
1338
1338
|
K(s.$slots, "default")
|
|
1339
1339
|
])) : k("", !0),
|
|
1340
|
-
s.$slots.footer ? (c(),
|
|
1340
|
+
s.$slots.footer ? (c(), f("div", fu, [
|
|
1341
1341
|
K(s.$slots, "footer")
|
|
1342
1342
|
])) : k("", !0),
|
|
1343
|
-
s.$slots.secondary ? (c(),
|
|
1343
|
+
s.$slots.secondary ? (c(), f("div", hu, [
|
|
1344
1344
|
K(s.$slots, "secondary")
|
|
1345
1345
|
])) : k("", !0)
|
|
1346
1346
|
]),
|
|
@@ -1362,7 +1362,7 @@ const Et = /* @__PURE__ */ Y({
|
|
|
1362
1362
|
const e = a, t = _(() => e.clickable ? "button" : "span"), s = _(
|
|
1363
1363
|
() => t.value === "button" ? { type: "button" } : {}
|
|
1364
1364
|
);
|
|
1365
|
-
return (n, l) => (c(),
|
|
1365
|
+
return (n, l) => (c(), f("div", {
|
|
1366
1366
|
class: W([
|
|
1367
1367
|
"ao-tag",
|
|
1368
1368
|
n.color ? `ao-tag--${n.color}` : "",
|
|
@@ -1375,16 +1375,16 @@ const Et = /* @__PURE__ */ Y({
|
|
|
1375
1375
|
onClick: l[0] || (l[0] = (i) => n.$emit("click", i))
|
|
1376
1376
|
}), {
|
|
1377
1377
|
default: q(() => [
|
|
1378
|
-
|
|
1378
|
+
t1(R(n.label), 1)
|
|
1379
1379
|
]),
|
|
1380
1380
|
_: 1
|
|
1381
1381
|
}, 16)),
|
|
1382
|
-
n.closable ? (c(),
|
|
1382
|
+
n.closable ? (c(), f("button", {
|
|
1383
1383
|
key: 0,
|
|
1384
1384
|
class: "ao-tag__close",
|
|
1385
1385
|
onClick: l[1] || (l[1] = (i) => n.$emit("close", i))
|
|
1386
1386
|
}, [
|
|
1387
|
-
|
|
1387
|
+
M(ie, {
|
|
1388
1388
|
name: "CloseRounded",
|
|
1389
1389
|
size: "sm",
|
|
1390
1390
|
class: "ao-tag__close-icon"
|
|
@@ -1480,34 +1480,34 @@ function ku(a) {
|
|
|
1480
1480
|
return Math.round(t / Mu) + 1;
|
|
1481
1481
|
}
|
|
1482
1482
|
function At(a, e) {
|
|
1483
|
-
var t, s, n, l, i, o,
|
|
1483
|
+
var t, s, n, l, i, o, v, d;
|
|
1484
1484
|
Ce(1, arguments);
|
|
1485
|
-
var u = Vt(),
|
|
1486
|
-
if (!(
|
|
1485
|
+
var u = Vt(), p = Ne((t = (s = (n = (l = e == null ? void 0 : e.weekStartsOn) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
1486
|
+
if (!(p >= 0 && p <= 6))
|
|
1487
1487
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1488
|
-
var
|
|
1489
|
-
return
|
|
1488
|
+
var h = Ie(a), y = h.getUTCDay(), w = (y < p ? 7 : 0) + y - p;
|
|
1489
|
+
return h.setUTCDate(h.getUTCDate() - w), h.setUTCHours(0, 0, 0, 0), h;
|
|
1490
1490
|
}
|
|
1491
1491
|
function D1(a, e) {
|
|
1492
|
-
var t, s, n, l, i, o,
|
|
1492
|
+
var t, s, n, l, i, o, v, d;
|
|
1493
1493
|
Ce(1, arguments);
|
|
1494
|
-
var u = Ie(a),
|
|
1494
|
+
var u = Ie(a), p = u.getUTCFullYear(), h = Vt(), y = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : h.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = h.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
1495
1495
|
if (!(y >= 1 && y <= 7))
|
|
1496
1496
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1497
|
-
var
|
|
1498
|
-
|
|
1499
|
-
var I = At(
|
|
1500
|
-
E.setUTCFullYear(
|
|
1497
|
+
var w = /* @__PURE__ */ new Date(0);
|
|
1498
|
+
w.setUTCFullYear(p + 1, 0, y), w.setUTCHours(0, 0, 0, 0);
|
|
1499
|
+
var I = At(w, e), E = /* @__PURE__ */ new Date(0);
|
|
1500
|
+
E.setUTCFullYear(p, 0, y), E.setUTCHours(0, 0, 0, 0);
|
|
1501
1501
|
var b = At(E, e);
|
|
1502
|
-
return u.getTime() >= I.getTime() ?
|
|
1502
|
+
return u.getTime() >= I.getTime() ? p + 1 : u.getTime() >= b.getTime() ? p : p - 1;
|
|
1503
1503
|
}
|
|
1504
1504
|
function Su(a, e) {
|
|
1505
|
-
var t, s, n, l, i, o,
|
|
1505
|
+
var t, s, n, l, i, o, v, d;
|
|
1506
1506
|
Ce(1, arguments);
|
|
1507
|
-
var u = Vt(),
|
|
1508
|
-
y.setUTCFullYear(
|
|
1509
|
-
var
|
|
1510
|
-
return
|
|
1507
|
+
var u = Vt(), p = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), h = D1(a, e), y = /* @__PURE__ */ new Date(0);
|
|
1508
|
+
y.setUTCFullYear(h, 0, p), y.setUTCHours(0, 0, 0, 0);
|
|
1509
|
+
var w = At(y, e);
|
|
1510
|
+
return w;
|
|
1511
1511
|
}
|
|
1512
1512
|
var Tu = 6048e5;
|
|
1513
1513
|
function Au(a, e) {
|
|
@@ -2057,7 +2057,7 @@ var Ge = {
|
|
|
2057
2057
|
return "Z";
|
|
2058
2058
|
switch (t) {
|
|
2059
2059
|
case "X":
|
|
2060
|
-
return
|
|
2060
|
+
return g1(i);
|
|
2061
2061
|
case "XXXX":
|
|
2062
2062
|
case "XX":
|
|
2063
2063
|
return Be(i);
|
|
@@ -2072,7 +2072,7 @@ var Ge = {
|
|
|
2072
2072
|
var l = n._originalDate || e, i = l.getTimezoneOffset();
|
|
2073
2073
|
switch (t) {
|
|
2074
2074
|
case "x":
|
|
2075
|
-
return
|
|
2075
|
+
return g1(i);
|
|
2076
2076
|
case "xxxx":
|
|
2077
2077
|
case "xx":
|
|
2078
2078
|
return Be(i);
|
|
@@ -2089,7 +2089,7 @@ var Ge = {
|
|
|
2089
2089
|
case "O":
|
|
2090
2090
|
case "OO":
|
|
2091
2091
|
case "OOO":
|
|
2092
|
-
return "GMT" +
|
|
2092
|
+
return "GMT" + _1(i, ":");
|
|
2093
2093
|
case "OOOO":
|
|
2094
2094
|
default:
|
|
2095
2095
|
return "GMT" + Be(i, ":");
|
|
@@ -2102,7 +2102,7 @@ var Ge = {
|
|
|
2102
2102
|
case "z":
|
|
2103
2103
|
case "zz":
|
|
2104
2104
|
case "zzz":
|
|
2105
|
-
return "GMT" +
|
|
2105
|
+
return "GMT" + _1(i, ":");
|
|
2106
2106
|
case "zzzz":
|
|
2107
2107
|
default:
|
|
2108
2108
|
return "GMT" + Be(i, ":");
|
|
@@ -2119,14 +2119,14 @@ var Ge = {
|
|
|
2119
2119
|
return ae(i, t.length);
|
|
2120
2120
|
}
|
|
2121
2121
|
};
|
|
2122
|
-
function
|
|
2122
|
+
function _1(a, e) {
|
|
2123
2123
|
var t = a > 0 ? "-" : "+", s = Math.abs(a), n = Math.floor(s / 60), l = s % 60;
|
|
2124
2124
|
if (l === 0)
|
|
2125
2125
|
return t + String(n);
|
|
2126
2126
|
var i = e || "";
|
|
2127
2127
|
return t + String(n) + i + ae(l, 2);
|
|
2128
2128
|
}
|
|
2129
|
-
function
|
|
2129
|
+
function g1(a, e) {
|
|
2130
2130
|
if (a % 60 === 0) {
|
|
2131
2131
|
var t = a > 0 ? "-" : "+";
|
|
2132
2132
|
return t + ae(Math.abs(a) / 60, 2);
|
|
@@ -2138,7 +2138,7 @@ function Be(a, e) {
|
|
|
2138
2138
|
return s + l + t + i;
|
|
2139
2139
|
}
|
|
2140
2140
|
const Lu = Ou;
|
|
2141
|
-
var
|
|
2141
|
+
var y1 = function(e, t) {
|
|
2142
2142
|
switch (e) {
|
|
2143
2143
|
case "P":
|
|
2144
2144
|
return t.date({
|
|
@@ -2181,7 +2181,7 @@ var g1 = function(e, t) {
|
|
|
2181
2181
|
}, Eu = function(e, t) {
|
|
2182
2182
|
var s = e.match(/(P+)(p+)?/) || [], n = s[1], l = s[2];
|
|
2183
2183
|
if (!l)
|
|
2184
|
-
return
|
|
2184
|
+
return y1(e, t);
|
|
2185
2185
|
var i;
|
|
2186
2186
|
switch (n) {
|
|
2187
2187
|
case "P":
|
|
@@ -2206,7 +2206,7 @@ var g1 = function(e, t) {
|
|
|
2206
2206
|
});
|
|
2207
2207
|
break;
|
|
2208
2208
|
}
|
|
2209
|
-
return i.replace("{{date}}",
|
|
2209
|
+
return i.replace("{{date}}", y1(n, t)).replace("{{time}}", P1(l, t));
|
|
2210
2210
|
}, Vu = {
|
|
2211
2211
|
p: P1,
|
|
2212
2212
|
P: Eu
|
|
@@ -2219,7 +2219,7 @@ function Nu(a) {
|
|
|
2219
2219
|
function Bu(a) {
|
|
2220
2220
|
return Pu.indexOf(a) !== -1;
|
|
2221
2221
|
}
|
|
2222
|
-
function
|
|
2222
|
+
function b1(a, e, t) {
|
|
2223
2223
|
if (a === "YYYY")
|
|
2224
2224
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
2225
2225
|
if (a === "YY")
|
|
@@ -2350,11 +2350,11 @@ function it(a) {
|
|
|
2350
2350
|
var l = a.defaultFormattingWidth || a.defaultWidth, i = t != null && t.width ? String(t.width) : l;
|
|
2351
2351
|
n = a.formattingValues[i] || a.formattingValues[l];
|
|
2352
2352
|
} else {
|
|
2353
|
-
var o = a.defaultWidth,
|
|
2354
|
-
n = a.values[
|
|
2353
|
+
var o = a.defaultWidth, v = t != null && t.width ? String(t.width) : a.defaultWidth;
|
|
2354
|
+
n = a.values[v] || a.values[o];
|
|
2355
2355
|
}
|
|
2356
|
-
var
|
|
2357
|
-
return n[
|
|
2356
|
+
var d = a.argumentCallback ? a.argumentCallback(e) : e;
|
|
2357
|
+
return n[d];
|
|
2358
2358
|
};
|
|
2359
2359
|
}
|
|
2360
2360
|
var xu = {
|
|
@@ -2482,15 +2482,15 @@ function lt(a) {
|
|
|
2482
2482
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = t.width, n = s && a.matchPatterns[s] || a.matchPatterns[a.defaultMatchWidth], l = e.match(n);
|
|
2483
2483
|
if (!l)
|
|
2484
2484
|
return null;
|
|
2485
|
-
var i = l[0], o = s && a.parsePatterns[s] || a.parsePatterns[a.defaultParseWidth],
|
|
2486
|
-
return
|
|
2487
|
-
}) : i3(o, function(
|
|
2488
|
-
return
|
|
2489
|
-
}),
|
|
2490
|
-
|
|
2485
|
+
var i = l[0], o = s && a.parsePatterns[s] || a.parsePatterns[a.defaultParseWidth], v = Array.isArray(o) ? l3(o, function(p) {
|
|
2486
|
+
return p.test(i);
|
|
2487
|
+
}) : i3(o, function(p) {
|
|
2488
|
+
return p.test(i);
|
|
2489
|
+
}), d;
|
|
2490
|
+
d = a.valueCallback ? a.valueCallback(v) : v, d = t.valueCallback ? t.valueCallback(d) : d;
|
|
2491
2491
|
var u = e.slice(i.length);
|
|
2492
2492
|
return {
|
|
2493
|
-
value:
|
|
2493
|
+
value: d,
|
|
2494
2494
|
rest: u
|
|
2495
2495
|
};
|
|
2496
2496
|
};
|
|
@@ -2621,12 +2621,12 @@ var w3 = {
|
|
|
2621
2621
|
const $3 = w3;
|
|
2622
2622
|
var M3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, k3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, S3 = /^'([^]*?)'?$/, T3 = /''/g, A3 = /[a-zA-Z]/;
|
|
2623
2623
|
function I3(a, e, t) {
|
|
2624
|
-
var s, n, l, i, o,
|
|
2624
|
+
var s, n, l, i, o, v, d, u, p, h, y, w, I, E, b, $, D, X;
|
|
2625
2625
|
Ce(2, arguments);
|
|
2626
|
-
var ne = String(e),
|
|
2626
|
+
var ne = String(e), C = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : C.locale) !== null && s !== void 0 ? s : $3, B = Ne((l = (i = (o = (v = t == null ? void 0 : t.firstWeekContainsDate) !== null && v !== void 0 ? v : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && o !== void 0 ? o : C.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = C.locale) === null || p === void 0 || (h = p.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && l !== void 0 ? l : 1);
|
|
2627
2627
|
if (!(B >= 1 && B <= 7))
|
|
2628
2628
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2629
|
-
var J = Ne((y = (
|
|
2629
|
+
var J = Ne((y = (w = (I = (E = t == null ? void 0 : t.weekStartsOn) !== null && E !== void 0 ? E : t == null || (b = t.locale) === null || b === void 0 || ($ = b.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && I !== void 0 ? I : C.weekStartsOn) !== null && w !== void 0 ? w : (D = C.locale) === null || D === void 0 || (X = D.options) === null || X === void 0 ? void 0 : X.weekStartsOn) !== null && y !== void 0 ? y : 0);
|
|
2630
2630
|
if (!(J >= 0 && J <= 6))
|
|
2631
2631
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2632
2632
|
if (!L.localize)
|
|
@@ -2656,7 +2656,7 @@ function I3(a, e, t) {
|
|
|
2656
2656
|
return O3(j);
|
|
2657
2657
|
var g = Lu[le];
|
|
2658
2658
|
if (g)
|
|
2659
|
-
return !(t != null && t.useAdditionalWeekYearTokens) && Bu(j) &&
|
|
2659
|
+
return !(t != null && t.useAdditionalWeekYearTokens) && Bu(j) && b1(j, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Nu(j) && b1(j, e, String(a)), g(N, j, L.localize, x);
|
|
2660
2660
|
if (le.match(A3))
|
|
2661
2661
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + le + "`");
|
|
2662
2662
|
return j;
|
|
@@ -2682,17 +2682,17 @@ function L3(a, e) {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
if (!l || isNaN(l.getTime()))
|
|
2684
2684
|
return /* @__PURE__ */ new Date(NaN);
|
|
2685
|
-
var o = l.getTime(),
|
|
2686
|
-
if (n.time && (
|
|
2685
|
+
var o = l.getTime(), v = 0, d;
|
|
2686
|
+
if (n.time && (v = B3(n.time), isNaN(v)))
|
|
2687
2687
|
return /* @__PURE__ */ new Date(NaN);
|
|
2688
2688
|
if (n.timezone) {
|
|
2689
|
-
if (
|
|
2689
|
+
if (d = Z3(n.timezone), isNaN(d))
|
|
2690
2690
|
return /* @__PURE__ */ new Date(NaN);
|
|
2691
2691
|
} else {
|
|
2692
|
-
var u = new Date(o +
|
|
2693
|
-
return
|
|
2692
|
+
var u = new Date(o + v), p = /* @__PURE__ */ new Date(0);
|
|
2693
|
+
return p.setFullYear(u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()), p.setHours(u.getUTCHours(), u.getUTCMinutes(), u.getUTCSeconds(), u.getUTCMilliseconds()), p;
|
|
2694
2694
|
}
|
|
2695
|
-
return new Date(o +
|
|
2695
|
+
return new Date(o + v + d);
|
|
2696
2696
|
}
|
|
2697
2697
|
var wt = {
|
|
2698
2698
|
dateTimeDelimiter: /[T ]/,
|
|
@@ -2728,11 +2728,11 @@ function N3(a, e) {
|
|
|
2728
2728
|
var t = a.match(E3);
|
|
2729
2729
|
if (!t)
|
|
2730
2730
|
return /* @__PURE__ */ new Date(NaN);
|
|
2731
|
-
var s = !!t[4], n = ot(t[1]), l = ot(t[2]) - 1, i = ot(t[3]), o = ot(t[4]),
|
|
2731
|
+
var s = !!t[4], n = ot(t[1]), l = ot(t[2]) - 1, i = ot(t[3]), o = ot(t[4]), v = ot(t[5]) - 1;
|
|
2732
2732
|
if (s)
|
|
2733
|
-
return F3(e, o,
|
|
2734
|
-
var
|
|
2735
|
-
return !R3(e, l, i) || !q3(e, n) ? /* @__PURE__ */ new Date(NaN) : (
|
|
2733
|
+
return F3(e, o, v) ? U3(e, o, v) : /* @__PURE__ */ new Date(NaN);
|
|
2734
|
+
var d = /* @__PURE__ */ new Date(0);
|
|
2735
|
+
return !R3(e, l, i) || !q3(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, l, Math.max(n, i)), d);
|
|
2736
2736
|
}
|
|
2737
2737
|
function ot(a) {
|
|
2738
2738
|
return a ? parseInt(a) : 1;
|
|
@@ -2856,8 +2856,8 @@ class z {
|
|
|
2856
2856
|
const n = Math.max(t.length, s.length), l = new Array(n).fill(0);
|
|
2857
2857
|
let i = 0;
|
|
2858
2858
|
for (let o = 0; o < n; ++o) {
|
|
2859
|
-
const
|
|
2860
|
-
let u =
|
|
2859
|
+
const v = o < t.length ? t[o] : 0, d = o < s.length ? s[o] : 0;
|
|
2860
|
+
let u = v + d + i;
|
|
2861
2861
|
for (i = 0; u >= e.getBase(); u -= e.getBase())
|
|
2862
2862
|
++i;
|
|
2863
2863
|
l[o] = u;
|
|
@@ -3128,11 +3128,11 @@ class be {
|
|
|
3128
3128
|
}
|
|
3129
3129
|
}
|
|
3130
3130
|
pt.LexoDecimal = be;
|
|
3131
|
-
var Mt = {},
|
|
3131
|
+
var Mt = {}, w1;
|
|
3132
3132
|
function Z1() {
|
|
3133
|
-
if (
|
|
3133
|
+
if (w1)
|
|
3134
3134
|
return Mt;
|
|
3135
|
-
|
|
3135
|
+
w1 = 1, Object.defineProperty(Mt, "__esModule", { value: !0 });
|
|
3136
3136
|
const a = et, e = j1();
|
|
3137
3137
|
class t {
|
|
3138
3138
|
constructor(n) {
|
|
@@ -3155,19 +3155,19 @@ function Z1() {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
static from(n) {
|
|
3157
3157
|
const l = a.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM), i = t.VALUES, o = i.length;
|
|
3158
|
-
for (let
|
|
3159
|
-
const
|
|
3160
|
-
if (
|
|
3161
|
-
return
|
|
3158
|
+
for (let v = 0; v < o; ++v) {
|
|
3159
|
+
const d = i[v];
|
|
3160
|
+
if (d.value.equals(l))
|
|
3161
|
+
return d;
|
|
3162
3162
|
}
|
|
3163
3163
|
throw new Error("Unknown bucket: " + n);
|
|
3164
3164
|
}
|
|
3165
3165
|
static resolve(n) {
|
|
3166
3166
|
const l = t.VALUES, i = l.length;
|
|
3167
3167
|
for (let o = 0; o < i; ++o) {
|
|
3168
|
-
const
|
|
3169
|
-
if (
|
|
3170
|
-
return
|
|
3168
|
+
const v = l[o];
|
|
3169
|
+
if (v.equals(t.from(n.toString())))
|
|
3170
|
+
return v;
|
|
3171
3171
|
}
|
|
3172
3172
|
throw new Error("No bucket found with id " + n);
|
|
3173
3173
|
}
|
|
@@ -3186,7 +3186,7 @@ function Z1() {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
return Mt.default = t, Mt;
|
|
3188
3188
|
}
|
|
3189
|
-
var
|
|
3189
|
+
var n1 = {}, U1 = {};
|
|
3190
3190
|
Object.defineProperty(U1, "__esModule", { value: !0 });
|
|
3191
3191
|
var Dt = {};
|
|
3192
3192
|
Object.defineProperty(Dt, "__esModule", { value: !0 });
|
|
@@ -3296,13 +3296,13 @@ Nt.LexoNumeralSystem64 = J3;
|
|
|
3296
3296
|
l !== "default" && !Object.prototype.hasOwnProperty.call(n, l) && e(n, s, l);
|
|
3297
3297
|
};
|
|
3298
3298
|
Object.defineProperty(a, "__esModule", { value: !0 }), t(U1, a), t(Dt, a), t(Pt, a), t(Nt, a);
|
|
3299
|
-
})(
|
|
3300
|
-
var
|
|
3299
|
+
})(n1);
|
|
3300
|
+
var $1;
|
|
3301
3301
|
function j1() {
|
|
3302
|
-
if (
|
|
3302
|
+
if ($1)
|
|
3303
3303
|
return rt;
|
|
3304
|
-
|
|
3305
|
-
const a = pt, e = Z1(), t = Ct, s =
|
|
3304
|
+
$1 = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.LexoRank = void 0;
|
|
3305
|
+
const a = pt, e = Z1(), t = Ct, s = n1;
|
|
3306
3306
|
class n {
|
|
3307
3307
|
constructor(i, o) {
|
|
3308
3308
|
this.value = i.format() + "|" + n.formatDecimal(o), this.bucket = i, this.decimal = o;
|
|
@@ -3350,87 +3350,87 @@ function j1() {
|
|
|
3350
3350
|
static between(i, o) {
|
|
3351
3351
|
if (i.getSystem().getBase() !== o.getSystem().getBase())
|
|
3352
3352
|
throw new Error("Expected same system");
|
|
3353
|
-
let
|
|
3353
|
+
let v = i, d = o, u;
|
|
3354
3354
|
if (i.getScale() < o.getScale()) {
|
|
3355
3355
|
if (u = o.setScale(i.getScale(), !1), i.compareTo(u) >= 0)
|
|
3356
3356
|
return n.mid(i, o);
|
|
3357
|
-
|
|
3357
|
+
d = u;
|
|
3358
3358
|
}
|
|
3359
|
-
if (i.getScale() >
|
|
3360
|
-
if (u = i.setScale(
|
|
3359
|
+
if (i.getScale() > d.getScale()) {
|
|
3360
|
+
if (u = i.setScale(d.getScale(), !0), u.compareTo(d) >= 0)
|
|
3361
3361
|
return n.mid(i, o);
|
|
3362
|
-
|
|
3362
|
+
v = u;
|
|
3363
3363
|
}
|
|
3364
|
-
let
|
|
3365
|
-
for (let
|
|
3366
|
-
const I =
|
|
3367
|
-
if (
|
|
3364
|
+
let p;
|
|
3365
|
+
for (let w = v.getScale(); w > 0; d = p) {
|
|
3366
|
+
const I = w - 1, E = v.setScale(I, !0);
|
|
3367
|
+
if (p = d.setScale(I, !1), E.compareTo(p) === 0)
|
|
3368
3368
|
return n.checkMid(i, o, E);
|
|
3369
|
-
if (E.compareTo(
|
|
3369
|
+
if (E.compareTo(p) > 0)
|
|
3370
3370
|
break;
|
|
3371
|
-
|
|
3371
|
+
w = I, v = E;
|
|
3372
3372
|
}
|
|
3373
|
-
let
|
|
3374
|
-
for (let
|
|
3375
|
-
y =
|
|
3376
|
-
const I =
|
|
3373
|
+
let h = n.middleInternal(i, o, v, d), y;
|
|
3374
|
+
for (let w = h.getScale(); w > 0; w = y) {
|
|
3375
|
+
y = w - 1;
|
|
3376
|
+
const I = h.setScale(y);
|
|
3377
3377
|
if (i.compareTo(I) >= 0 || I.compareTo(o) >= 0)
|
|
3378
3378
|
break;
|
|
3379
|
-
|
|
3379
|
+
h = I;
|
|
3380
3380
|
}
|
|
3381
|
-
return
|
|
3381
|
+
return h;
|
|
3382
3382
|
}
|
|
3383
3383
|
static parse(i) {
|
|
3384
|
-
const o = i.split("|"),
|
|
3385
|
-
return new n(
|
|
3384
|
+
const o = i.split("|"), v = e.default.from(o[0]), d = a.LexoDecimal.parse(o[1], n.NUMERAL_SYSTEM);
|
|
3385
|
+
return new n(v, d);
|
|
3386
3386
|
}
|
|
3387
3387
|
static from(i, o) {
|
|
3388
3388
|
if (o.getSystem().getBase() !== n.NUMERAL_SYSTEM.getBase())
|
|
3389
3389
|
throw new Error("Expected different system");
|
|
3390
3390
|
return new n(i, o);
|
|
3391
3391
|
}
|
|
3392
|
-
static middleInternal(i, o,
|
|
3393
|
-
const u = n.mid(
|
|
3392
|
+
static middleInternal(i, o, v, d) {
|
|
3393
|
+
const u = n.mid(v, d);
|
|
3394
3394
|
return n.checkMid(i, o, u);
|
|
3395
3395
|
}
|
|
3396
|
-
static checkMid(i, o,
|
|
3397
|
-
return i.compareTo(
|
|
3396
|
+
static checkMid(i, o, v) {
|
|
3397
|
+
return i.compareTo(v) >= 0 || v.compareTo(o) >= 0 ? n.mid(i, o) : v;
|
|
3398
3398
|
}
|
|
3399
3399
|
static mid(i, o) {
|
|
3400
|
-
const
|
|
3401
|
-
if (
|
|
3402
|
-
const
|
|
3403
|
-
if (
|
|
3404
|
-
return
|
|
3405
|
-
const
|
|
3406
|
-
if (
|
|
3407
|
-
return
|
|
3400
|
+
const d = i.add(o).multiply(a.LexoDecimal.half(i.getSystem())), u = i.getScale() > o.getScale() ? i.getScale() : o.getScale();
|
|
3401
|
+
if (d.getScale() > u) {
|
|
3402
|
+
const p = d.setScale(u, !1);
|
|
3403
|
+
if (p.compareTo(i) > 0)
|
|
3404
|
+
return p;
|
|
3405
|
+
const h = d.setScale(u, !0);
|
|
3406
|
+
if (h.compareTo(o) < 0)
|
|
3407
|
+
return h;
|
|
3408
3408
|
}
|
|
3409
|
-
return
|
|
3409
|
+
return d;
|
|
3410
3410
|
}
|
|
3411
3411
|
static formatDecimal(i) {
|
|
3412
|
-
const o = i.format(),
|
|
3413
|
-
let
|
|
3412
|
+
const o = i.format(), v = new t.default(o);
|
|
3413
|
+
let d = o.indexOf(n.NUMERAL_SYSTEM.getRadixPointChar());
|
|
3414
3414
|
const u = n.NUMERAL_SYSTEM.toChar(0);
|
|
3415
|
-
for (
|
|
3416
|
-
|
|
3417
|
-
for (;
|
|
3418
|
-
|
|
3419
|
-
return
|
|
3415
|
+
for (d < 0 && (d = o.length, v.append(n.NUMERAL_SYSTEM.getRadixPointChar())); d < 6; )
|
|
3416
|
+
v.insert(0, u), ++d;
|
|
3417
|
+
for (; v[v.length - 1] === u; )
|
|
3418
|
+
v.length = v.length - 1;
|
|
3419
|
+
return v.toString();
|
|
3420
3420
|
}
|
|
3421
3421
|
genPrev() {
|
|
3422
3422
|
if (this.isMax())
|
|
3423
3423
|
return new n(this.bucket, n.INITIAL_MAX_DECIMAL);
|
|
3424
3424
|
const i = this.decimal.floor();
|
|
3425
|
-
let
|
|
3426
|
-
return
|
|
3425
|
+
let v = a.LexoDecimal.from(i).subtract(n.EIGHT_DECIMAL);
|
|
3426
|
+
return v.compareTo(n.MIN_DECIMAL) <= 0 && (v = n.between(n.MIN_DECIMAL, this.decimal)), new n(this.bucket, v);
|
|
3427
3427
|
}
|
|
3428
3428
|
genNext() {
|
|
3429
3429
|
if (this.isMin())
|
|
3430
3430
|
return new n(this.bucket, n.INITIAL_MIN_DECIMAL);
|
|
3431
3431
|
const i = this.decimal.ceil();
|
|
3432
|
-
let
|
|
3433
|
-
return
|
|
3432
|
+
let v = a.LexoDecimal.from(i).add(n.EIGHT_DECIMAL);
|
|
3433
|
+
return v.compareTo(n.MAX_DECIMAL) >= 0 && (v = n.between(this.decimal, n.MAX_DECIMAL)), new n(this.bucket, v);
|
|
3434
3434
|
}
|
|
3435
3435
|
between(i) {
|
|
3436
3436
|
if (!this.bucket.equals(i.bucket))
|
|
@@ -3503,7 +3503,7 @@ function j1() {
|
|
|
3503
3503
|
for (var l in s)
|
|
3504
3504
|
l !== "default" && !Object.prototype.hasOwnProperty.call(n, l) && e(n, s, l);
|
|
3505
3505
|
};
|
|
3506
|
-
Object.defineProperty(a, "__esModule", { value: !0 }), t(B1, a), t(
|
|
3506
|
+
Object.defineProperty(a, "__esModule", { value: !0 }), t(B1, a), t(n1, a);
|
|
3507
3507
|
})(we);
|
|
3508
3508
|
function R1(a) {
|
|
3509
3509
|
return (a == null ? void 0 : a.reduce((e, t) => {
|
|
@@ -3545,7 +3545,7 @@ function Jt(a, e, t) {
|
|
|
3545
3545
|
}
|
|
3546
3546
|
return !n && l ? we.LexoRank.parse(l.rank).genPrev().format() : n && !l ? we.LexoRank.parse(n.rank).genNext().format() : n && l ? we.LexoRank.parse(l.rank).between(we.LexoRank.parse(n.rank)).format() : we.LexoRank.parse(s.rank).genNext().format();
|
|
3547
3547
|
}
|
|
3548
|
-
function
|
|
3548
|
+
function e1(a, e = "dd/MM/yyyy") {
|
|
3549
3549
|
if (!a)
|
|
3550
3550
|
return "";
|
|
3551
3551
|
const t = L3(a);
|
|
@@ -3563,7 +3563,7 @@ const n0 = ["title"], s0 = { className: "ao-avatar__initials" }, tt = /* @__PURE
|
|
|
3563
3563
|
const s = a0(a.userName), n = (l) => {
|
|
3564
3564
|
e("close", l);
|
|
3565
3565
|
};
|
|
3566
|
-
return (l, i) => (c(),
|
|
3566
|
+
return (l, i) => (c(), f("div", {
|
|
3567
3567
|
role: "img",
|
|
3568
3568
|
class: W(["ao-avatar", `ao-avatar--${l.size}`]),
|
|
3569
3569
|
title: l.userName
|
|
@@ -3612,14 +3612,14 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3612
3612
|
subtitle: q(() => [
|
|
3613
3613
|
r("ul", i0, [
|
|
3614
3614
|
r("li", l0, [
|
|
3615
|
-
|
|
3615
|
+
M(ie, {
|
|
3616
3616
|
name: "MountainFlagOutlineRounded",
|
|
3617
3617
|
size: "sm"
|
|
3618
3618
|
}),
|
|
3619
3619
|
r("span", o0, R(s.milestones), 1)
|
|
3620
3620
|
]),
|
|
3621
3621
|
r("li", r0, [
|
|
3622
|
-
|
|
3622
|
+
M(ie, {
|
|
3623
3623
|
name: "TaskOutlineRounded",
|
|
3624
3624
|
size: "sm"
|
|
3625
3625
|
}),
|
|
@@ -3631,14 +3631,14 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3631
3631
|
r("div", c0, [
|
|
3632
3632
|
r("div", d0, [
|
|
3633
3633
|
r("div", v0, [
|
|
3634
|
-
|
|
3634
|
+
M(ie, {
|
|
3635
3635
|
name: "WaterfallChartRounded",
|
|
3636
3636
|
size: "sm"
|
|
3637
3637
|
}),
|
|
3638
3638
|
r("span", m0, R(s.$t("template.phases.title")), 1)
|
|
3639
3639
|
]),
|
|
3640
|
-
s.phases ? (c(),
|
|
3641
|
-
(c(!0),
|
|
3640
|
+
s.phases ? (c(), f("ul", f0, [
|
|
3641
|
+
(c(!0), f(oe, null, he(s.phases, (l) => (c(), U(Et, {
|
|
3642
3642
|
key: l.id,
|
|
3643
3643
|
label: l.name || l.id,
|
|
3644
3644
|
color: "primary",
|
|
@@ -3650,7 +3650,7 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3650
3650
|
]),
|
|
3651
3651
|
footer: q(() => [
|
|
3652
3652
|
r("div", h0, [
|
|
3653
|
-
s.updatedAt ? (c(),
|
|
3653
|
+
s.updatedAt ? (c(), f("div", p0, [
|
|
3654
3654
|
r("div", C0, [
|
|
3655
3655
|
r("span", _0, R(s.$t("template.updatedAt.label")), 1)
|
|
3656
3656
|
]),
|
|
@@ -3658,12 +3658,12 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3658
3658
|
r("span", null, R(s.updatedAt), 1)
|
|
3659
3659
|
])
|
|
3660
3660
|
])) : k("", !0),
|
|
3661
|
-
s.updatedBy ? (c(),
|
|
3661
|
+
s.updatedBy ? (c(), f("div", y0, [
|
|
3662
3662
|
r("div", b0, [
|
|
3663
3663
|
r("span", w0, R(s.$t("template.updatedBy.label")), 1)
|
|
3664
3664
|
]),
|
|
3665
3665
|
r("div", $0, [
|
|
3666
|
-
|
|
3666
|
+
M(tt, { "user-name": s.updatedBy }, null, 8, ["user-name"])
|
|
3667
3667
|
])
|
|
3668
3668
|
])) : k("", !0)
|
|
3669
3669
|
])
|
|
@@ -3679,7 +3679,7 @@ const k0 = { class: "ao-page-header" }, S0 = { class: "ao-page-header-main" }, T
|
|
|
3679
3679
|
},
|
|
3680
3680
|
emits: ["goBack"],
|
|
3681
3681
|
setup(a) {
|
|
3682
|
-
return (e, t) => (c(),
|
|
3682
|
+
return (e, t) => (c(), f("header", k0, [
|
|
3683
3683
|
r("div", S0, [
|
|
3684
3684
|
e.canGoBack ? (c(), U(de, {
|
|
3685
3685
|
key: 0,
|
|
@@ -3712,7 +3712,7 @@ const A0 = ["type"], I0 = {
|
|
|
3712
3712
|
},
|
|
3713
3713
|
setup(a) {
|
|
3714
3714
|
const e = a, t = _(() => e.size), s = _(() => e.isLoading ? "Loading" : e.iconName);
|
|
3715
|
-
return (n, l) => (c(),
|
|
3715
|
+
return (n, l) => (c(), f("button", {
|
|
3716
3716
|
type: n.type,
|
|
3717
3717
|
class: W([
|
|
3718
3718
|
"ao-button-card",
|
|
@@ -3722,7 +3722,7 @@ const A0 = ["type"], I0 = {
|
|
|
3722
3722
|
])
|
|
3723
3723
|
}, [
|
|
3724
3724
|
K(n.$slots, "default", {}, () => [
|
|
3725
|
-
n.label ? (c(),
|
|
3725
|
+
n.label ? (c(), f("span", I0, R(n.label), 1)) : k("", !0)
|
|
3726
3726
|
]),
|
|
3727
3727
|
s.value ? (c(), U(ie, {
|
|
3728
3728
|
key: 0,
|
|
@@ -3736,7 +3736,7 @@ const A0 = ["type"], I0 = {
|
|
|
3736
3736
|
const O0 = { class: "ao-card-template-item__footer" }, L0 = {
|
|
3737
3737
|
key: 0,
|
|
3738
3738
|
class: "ao-card-template-item__subitem"
|
|
3739
|
-
}, E0 = { class: "ao-card-template-item__subitem-number" }, V0 = { class: "ao-card-template-item__secondary" },
|
|
3739
|
+
}, E0 = { class: "ao-card-template-item__subitem-number" }, V0 = { class: "ao-card-template-item__secondary" }, s1 = /* @__PURE__ */ Y({
|
|
3740
3740
|
__name: "AoCardTemplateItem",
|
|
3741
3741
|
props: {
|
|
3742
3742
|
milestones: {},
|
|
@@ -3759,20 +3759,20 @@ const O0 = { class: "ao-card-template-item__footer" }, L0 = {
|
|
|
3759
3759
|
return (i, o) => (c(), U(O1, { "onUpdate:title": t }, {
|
|
3760
3760
|
footer: q(() => [
|
|
3761
3761
|
r("ul", O0, [
|
|
3762
|
-
(c(),
|
|
3763
|
-
i.$props[
|
|
3764
|
-
|
|
3765
|
-
name: n[
|
|
3762
|
+
(c(), f(oe, null, he(s, (v) => (c(), f(oe, { key: v }, [
|
|
3763
|
+
i.$props[v] ? (c(), f("li", L0, [
|
|
3764
|
+
M(ie, {
|
|
3765
|
+
name: n[v],
|
|
3766
3766
|
size: "sm"
|
|
3767
3767
|
}, null, 8, ["name"]),
|
|
3768
|
-
r("span", E0, R(i.$props[
|
|
3768
|
+
r("span", E0, R(i.$props[v]), 1)
|
|
3769
3769
|
])) : k("", !0)
|
|
3770
3770
|
], 64))), 64))
|
|
3771
3771
|
])
|
|
3772
3772
|
]),
|
|
3773
3773
|
secondary: q(() => [
|
|
3774
3774
|
r("div", V0, [
|
|
3775
|
-
|
|
3775
|
+
M(de, {
|
|
3776
3776
|
"icon-name": "DeleteOutlineRounded",
|
|
3777
3777
|
variant: "ghost",
|
|
3778
3778
|
size: "md",
|
|
@@ -3797,7 +3797,7 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3797
3797
|
var n;
|
|
3798
3798
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
3799
3799
|
}), s = _(() => e.milestones ? R1(e.milestones) : 0);
|
|
3800
|
-
return (n, l) => (c(), U(
|
|
3800
|
+
return (n, l) => (c(), U(s1, Pe({
|
|
3801
3801
|
title: n.name,
|
|
3802
3802
|
activities: s.value,
|
|
3803
3803
|
milestones: t.value
|
|
@@ -3818,7 +3818,7 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3818
3818
|
var s;
|
|
3819
3819
|
return ((s = e.activities) == null ? void 0 : s.length) || 0;
|
|
3820
3820
|
});
|
|
3821
|
-
return (s, n) => (c(), U(
|
|
3821
|
+
return (s, n) => (c(), U(s1, { activities: t.value }, {
|
|
3822
3822
|
default: q(() => [
|
|
3823
3823
|
K(s.$slots, "default")
|
|
3824
3824
|
]),
|
|
@@ -3842,14 +3842,14 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3842
3842
|
e("updateMilestone", o);
|
|
3843
3843
|
}, i = (o) => {
|
|
3844
3844
|
if (o.moved) {
|
|
3845
|
-
const
|
|
3845
|
+
const v = Bt(o, t.phase.milestones);
|
|
3846
3846
|
e("updateMilestone", {
|
|
3847
3847
|
id: o.moved.element.id,
|
|
3848
|
-
rank:
|
|
3848
|
+
rank: v
|
|
3849
3849
|
});
|
|
3850
3850
|
}
|
|
3851
3851
|
};
|
|
3852
|
-
return (o,
|
|
3852
|
+
return (o, v) => o.phase ? (c(), U(H(ht), {
|
|
3853
3853
|
key: 0,
|
|
3854
3854
|
"model-value": o.phase.milestones,
|
|
3855
3855
|
class: "ao-templates__list",
|
|
@@ -3859,31 +3859,31 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3859
3859
|
onChange: i
|
|
3860
3860
|
}, {
|
|
3861
3861
|
header: q(() => [
|
|
3862
|
-
|
|
3862
|
+
M(ve, {
|
|
3863
3863
|
title: "Milestones",
|
|
3864
3864
|
level: 3,
|
|
3865
3865
|
class: "ao-list__title"
|
|
3866
3866
|
})
|
|
3867
3867
|
]),
|
|
3868
|
-
item: q(({ element:
|
|
3868
|
+
item: q(({ element: d }) => [
|
|
3869
3869
|
(c(), U(D0, {
|
|
3870
|
-
key:
|
|
3871
|
-
title:
|
|
3872
|
-
activities:
|
|
3873
|
-
"is-active": o.milestoneId ===
|
|
3870
|
+
key: d.id,
|
|
3871
|
+
title: d.name,
|
|
3872
|
+
activities: d.activities,
|
|
3873
|
+
"is-active": o.milestoneId === d.id,
|
|
3874
3874
|
"is-draggable": !0,
|
|
3875
|
-
"onUpdate:title": (u) => l({ id:
|
|
3875
|
+
"onUpdate:title": (u) => l({ id: d.id, name: u }),
|
|
3876
3876
|
onClick: (u) => o.$router.push({
|
|
3877
3877
|
params: {
|
|
3878
|
-
milestoneId:
|
|
3878
|
+
milestoneId: d.id
|
|
3879
3879
|
}
|
|
3880
3880
|
}),
|
|
3881
|
-
onRemove: () => n(
|
|
3881
|
+
onRemove: () => n(d.id)
|
|
3882
3882
|
}, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
3883
3883
|
]),
|
|
3884
3884
|
footer: q(() => [
|
|
3885
3885
|
r("div", P0, [
|
|
3886
|
-
|
|
3886
|
+
M(je, {
|
|
3887
3887
|
"icon-name": "AddBoxOutlineRounded",
|
|
3888
3888
|
label: o.$t("template.milestones.add"),
|
|
3889
3889
|
onClick: s
|
|
@@ -3904,7 +3904,7 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3904
3904
|
var s;
|
|
3905
3905
|
return ((s = e.tasks) == null ? void 0 : s.length) || 0;
|
|
3906
3906
|
});
|
|
3907
|
-
return (s, n) => (c(), U(
|
|
3907
|
+
return (s, n) => (c(), U(s1, { tasks: t.value }, {
|
|
3908
3908
|
default: q(() => [
|
|
3909
3909
|
K(s.$slots, "default")
|
|
3910
3910
|
]),
|
|
@@ -3931,14 +3931,14 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3931
3931
|
e("removeActivity", { id: o });
|
|
3932
3932
|
}, i = (o) => {
|
|
3933
3933
|
if (o.moved) {
|
|
3934
|
-
const
|
|
3934
|
+
const v = Bt(o, t.milestone.activities);
|
|
3935
3935
|
e("updateActivity", {
|
|
3936
3936
|
id: o.moved.element.id,
|
|
3937
|
-
rank:
|
|
3937
|
+
rank: v
|
|
3938
3938
|
});
|
|
3939
3939
|
}
|
|
3940
3940
|
};
|
|
3941
|
-
return (o,
|
|
3941
|
+
return (o, v) => o.milestone ? (c(), U(H(ht), {
|
|
3942
3942
|
key: 0,
|
|
3943
3943
|
"model-value": o.milestone.activities,
|
|
3944
3944
|
title: o.$t("template.activities.title"),
|
|
@@ -3948,27 +3948,27 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3948
3948
|
onChange: i
|
|
3949
3949
|
}, {
|
|
3950
3950
|
header: q(() => [
|
|
3951
|
-
|
|
3951
|
+
M(ve, {
|
|
3952
3952
|
title: "Activities",
|
|
3953
3953
|
level: 3,
|
|
3954
3954
|
class: "ao-list__title"
|
|
3955
3955
|
})
|
|
3956
3956
|
]),
|
|
3957
|
-
item: q(({ element:
|
|
3957
|
+
item: q(({ element: d }) => [
|
|
3958
3958
|
(c(), U(B0, {
|
|
3959
|
-
key:
|
|
3960
|
-
title:
|
|
3961
|
-
tasks:
|
|
3962
|
-
"is-active": o.activityId ===
|
|
3959
|
+
key: d.id,
|
|
3960
|
+
title: d.name,
|
|
3961
|
+
tasks: d.tasks,
|
|
3962
|
+
"is-active": o.activityId === d.id,
|
|
3963
3963
|
"is-draggable": !0,
|
|
3964
|
-
"onUpdate:title": (u) => n({ id:
|
|
3965
|
-
onClick: (u) => o.$router.push({ params: { activityId:
|
|
3966
|
-
onRemove: () => l(
|
|
3964
|
+
"onUpdate:title": (u) => n({ id: d.id, name: u }),
|
|
3965
|
+
onClick: (u) => o.$router.push({ params: { activityId: d.id } }),
|
|
3966
|
+
onRemove: () => l(d.id)
|
|
3967
3967
|
}, null, 8, ["title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
3968
3968
|
]),
|
|
3969
3969
|
footer: q(() => [
|
|
3970
3970
|
r("div", Z0, [
|
|
3971
|
-
|
|
3971
|
+
M(je, {
|
|
3972
3972
|
"icon-name": "AddBoxOutlineRounded",
|
|
3973
3973
|
label: o.$t("template.activities.add"),
|
|
3974
3974
|
onClick: s
|
|
@@ -3983,37 +3983,37 @@ function Ae(a) {
|
|
|
3983
3983
|
return [null, void 0].indexOf(a) !== -1;
|
|
3984
3984
|
}
|
|
3985
3985
|
function j0(a, e, t) {
|
|
3986
|
-
const { object: s, valueProp: n, mode: l } = ye(a), i = Ue().proxy, o = t.iv,
|
|
3987
|
-
o.value = u(
|
|
3988
|
-
const y =
|
|
3989
|
-
e.emit("change", y, i),
|
|
3990
|
-
},
|
|
3986
|
+
const { object: s, valueProp: n, mode: l } = ye(a), i = Ue().proxy, o = t.iv, v = (p, h = !0) => {
|
|
3987
|
+
o.value = u(p);
|
|
3988
|
+
const y = d(p);
|
|
3989
|
+
e.emit("change", y, i), h && (e.emit("input", y), e.emit("update:modelValue", y));
|
|
3990
|
+
}, d = (p) => s.value || Ae(p) ? p : Array.isArray(p) ? p.map((h) => h[n.value]) : p[n.value], u = (p) => Ae(p) ? l.value === "single" ? {} : [] : p;
|
|
3991
3991
|
return {
|
|
3992
|
-
update:
|
|
3992
|
+
update: v
|
|
3993
3993
|
};
|
|
3994
3994
|
}
|
|
3995
3995
|
function R0(a, e) {
|
|
3996
|
-
const { value: t, modelValue: s, mode: n, valueProp: l } = ye(a), i = ee(n.value !== "single" ? [] : {}), o = s && s.value !== void 0 ? s : t,
|
|
3996
|
+
const { value: t, modelValue: s, mode: n, valueProp: l } = ye(a), i = ee(n.value !== "single" ? [] : {}), o = s && s.value !== void 0 ? s : t, v = _(() => n.value === "single" ? i.value[l.value] : i.value.map((u) => u[l.value])), d = _(() => n.value !== "single" ? i.value.map((u) => u[l.value]).join(",") : i.value[l.value]);
|
|
3997
3997
|
return {
|
|
3998
3998
|
iv: i,
|
|
3999
3999
|
internalValue: i,
|
|
4000
4000
|
ev: o,
|
|
4001
4001
|
externalValue: o,
|
|
4002
|
-
textValue:
|
|
4003
|
-
plainValue:
|
|
4002
|
+
textValue: d,
|
|
4003
|
+
plainValue: v
|
|
4004
4004
|
};
|
|
4005
4005
|
}
|
|
4006
4006
|
function q0(a, e, t) {
|
|
4007
|
-
const { regex: s } = ye(a), n = Ue().proxy, l = t.isOpen, i = t.open, o = ee(null),
|
|
4007
|
+
const { regex: s } = ye(a), n = Ue().proxy, l = t.isOpen, i = t.open, o = ee(null), v = ee(null), d = () => {
|
|
4008
4008
|
o.value = "";
|
|
4009
4009
|
}, u = (y) => {
|
|
4010
4010
|
o.value = y.target.value;
|
|
4011
|
-
},
|
|
4011
|
+
}, p = (y) => {
|
|
4012
4012
|
if (s && s.value) {
|
|
4013
|
-
let
|
|
4014
|
-
typeof
|
|
4013
|
+
let w = s.value;
|
|
4014
|
+
typeof w == "string" && (w = new RegExp(w)), y.key.match(w) || y.preventDefault();
|
|
4015
4015
|
}
|
|
4016
|
-
},
|
|
4016
|
+
}, h = (y) => {
|
|
4017
4017
|
if (s && s.value) {
|
|
4018
4018
|
let I = (y.clipboardData || /* istanbul ignore next */
|
|
4019
4019
|
window.clipboardData).getData("Text"), E = s.value;
|
|
@@ -4025,22 +4025,22 @@ function q0(a, e, t) {
|
|
|
4025
4025
|
!l.value && y && i(), e.emit("search-change", y, n);
|
|
4026
4026
|
}), {
|
|
4027
4027
|
search: o,
|
|
4028
|
-
input:
|
|
4029
|
-
clearSearch:
|
|
4028
|
+
input: v,
|
|
4029
|
+
clearSearch: d,
|
|
4030
4030
|
handleSearchInput: u,
|
|
4031
|
-
handleKeypress:
|
|
4032
|
-
handlePaste:
|
|
4031
|
+
handleKeypress: p,
|
|
4032
|
+
handlePaste: h
|
|
4033
4033
|
};
|
|
4034
4034
|
}
|
|
4035
4035
|
function F0(a, e, t) {
|
|
4036
|
-
const { groupSelect: s, mode: n, groups: l, disabledProp: i } = ye(a), o = ee(null),
|
|
4036
|
+
const { groupSelect: s, mode: n, groups: l, disabledProp: i } = ye(a), o = ee(null), v = (u) => {
|
|
4037
4037
|
u === void 0 || u !== null && u[i.value] || l.value && u && u.group && (n.value === "single" || !s.value) || (o.value = u);
|
|
4038
4038
|
};
|
|
4039
4039
|
return {
|
|
4040
4040
|
pointer: o,
|
|
4041
|
-
setPointer:
|
|
4041
|
+
setPointer: v,
|
|
4042
4042
|
clearPointer: () => {
|
|
4043
|
-
|
|
4043
|
+
v(null);
|
|
4044
4044
|
}
|
|
4045
4045
|
};
|
|
4046
4046
|
}
|
|
@@ -4063,21 +4063,21 @@ function Y0(a, e, t) {
|
|
|
4063
4063
|
trackBy: l,
|
|
4064
4064
|
limit: i,
|
|
4065
4065
|
hideSelected: o,
|
|
4066
|
-
createTag:
|
|
4067
|
-
createOption:
|
|
4066
|
+
createTag: v,
|
|
4067
|
+
createOption: d,
|
|
4068
4068
|
label: u,
|
|
4069
|
-
appendNewTag:
|
|
4070
|
-
appendNewOption:
|
|
4069
|
+
appendNewTag: p,
|
|
4070
|
+
appendNewOption: h,
|
|
4071
4071
|
multipleLabel: y,
|
|
4072
|
-
object:
|
|
4072
|
+
object: w,
|
|
4073
4073
|
loading: I,
|
|
4074
4074
|
delay: E,
|
|
4075
4075
|
resolveOnLoad: b,
|
|
4076
|
-
minChars:
|
|
4076
|
+
minChars: $,
|
|
4077
4077
|
filterResults: D,
|
|
4078
4078
|
clearOnSearch: X,
|
|
4079
4079
|
clearOnSelect: ne,
|
|
4080
|
-
valueProp:
|
|
4080
|
+
valueProp: C,
|
|
4081
4081
|
allowAbsent: L,
|
|
4082
4082
|
groupLabel: B,
|
|
4083
4083
|
canDeselect: J,
|
|
@@ -4095,48 +4095,48 @@ function Y0(a, e, t) {
|
|
|
4095
4095
|
disabledProp: te,
|
|
4096
4096
|
searchStart: _e,
|
|
4097
4097
|
searchFilter: Me
|
|
4098
|
-
} = ye(a), re = Ue().proxy, F = t.iv, T = t.ev, Z = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, qe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, Fe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Se = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value),
|
|
4098
|
+
} = ye(a), re = Ue().proxy, F = t.iv, T = t.ev, Z = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, qe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, Fe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Se = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), r1 = _(() => v.value || d.value || !1), X1 = _(() => p.value !== void 0 ? p.value : h.value !== void 0 ? h.value : !0), He = _(() => {
|
|
4099
4099
|
if (S.value) {
|
|
4100
|
-
let
|
|
4100
|
+
let m = _t.value || /* istanbul ignore next */
|
|
4101
4101
|
[], A = [];
|
|
4102
|
-
return
|
|
4102
|
+
return m.forEach((Q) => {
|
|
4103
4103
|
Yt(Q[g.value]).forEach((ce) => {
|
|
4104
4104
|
A.push(Object.assign({}, ce, Q[te.value] ? { [te.value]: !0 } : {}));
|
|
4105
4105
|
});
|
|
4106
4106
|
}), A;
|
|
4107
4107
|
} else {
|
|
4108
|
-
let
|
|
4108
|
+
let m = Yt(Ve.value || /* istanbul ignore next */
|
|
4109
4109
|
[]);
|
|
4110
|
-
return at.value.length && (
|
|
4110
|
+
return at.value.length && (m = m.concat(at.value)), m;
|
|
4111
4111
|
}
|
|
4112
|
-
}),
|
|
4113
|
-
let
|
|
4114
|
-
return j.value && (
|
|
4112
|
+
}), u1 = _(() => {
|
|
4113
|
+
let m = He.value;
|
|
4114
|
+
return j.value && (m = m.reverse()), ze.value.length && (m = ze.value.concat(m)), Wt(m);
|
|
4115
4115
|
}), nt = _(() => {
|
|
4116
|
-
let
|
|
4117
|
-
return jt.value > 0 && (
|
|
4116
|
+
let m = u1.value;
|
|
4117
|
+
return jt.value > 0 && (m = m.slice(0, jt.value)), m;
|
|
4118
4118
|
}), _t = _(() => {
|
|
4119
4119
|
if (!S.value)
|
|
4120
4120
|
return [];
|
|
4121
|
-
let
|
|
4121
|
+
let m = [], A = Ve.value || /* istanbul ignore next */
|
|
4122
4122
|
[];
|
|
4123
|
-
return at.value.length &&
|
|
4123
|
+
return at.value.length && m.push({
|
|
4124
4124
|
[B.value]: " ",
|
|
4125
4125
|
[g.value]: [...at.value],
|
|
4126
4126
|
__CREATE__: !0
|
|
4127
|
-
}),
|
|
4127
|
+
}), m.concat(A);
|
|
4128
4128
|
}), Q1 = _(() => {
|
|
4129
|
-
let
|
|
4130
|
-
return ze.value.length && (
|
|
4129
|
+
let m = [..._t.value].map((A) => ({ ...A }));
|
|
4130
|
+
return ze.value.length && (m[0] && m[0].__CREATE__ ? m[0][g.value] = [...ze.value, ...m[0][g.value]] : m = [{
|
|
4131
4131
|
[B.value]: " ",
|
|
4132
4132
|
[g.value]: [...ze.value],
|
|
4133
4133
|
__CREATE__: !0
|
|
4134
|
-
}].concat(
|
|
4135
|
-
}),
|
|
4134
|
+
}].concat(m)), m;
|
|
4135
|
+
}), c1 = _(() => {
|
|
4136
4136
|
if (!S.value)
|
|
4137
4137
|
return [];
|
|
4138
|
-
let
|
|
4139
|
-
return ma((
|
|
4138
|
+
let m = Q1.value;
|
|
4139
|
+
return ma((m || /* istanbul ignore next */
|
|
4140
4140
|
[]).map((A, Q) => {
|
|
4141
4141
|
const ce = Yt(A[g.value]);
|
|
4142
4142
|
return {
|
|
@@ -4150,13 +4150,13 @@ function Y0(a, e, t) {
|
|
|
4150
4150
|
}), Rt = _(() => {
|
|
4151
4151
|
switch (n.value) {
|
|
4152
4152
|
case "single":
|
|
4153
|
-
return !Ae(F.value[
|
|
4153
|
+
return !Ae(F.value[C.value]);
|
|
4154
4154
|
case "multiple":
|
|
4155
4155
|
case "tags":
|
|
4156
4156
|
return !Ae(F.value) && F.value.length > 0;
|
|
4157
4157
|
}
|
|
4158
|
-
}), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(F.value, re) : F.value && F.value.length > 1 ? `${F.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Se.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (Z.value && S.value || !S.value)), ze = _(() =>
|
|
4159
|
-
[
|
|
4158
|
+
}), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(F.value, re) : F.value && F.value.length > 1 ? `${F.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Se.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (Z.value && S.value || !S.value)), ze = _(() => r1.value === !1 || !Z.value ? [] : ca(Z.value) !== -1 ? [] : [{
|
|
4159
|
+
[C.value]: Z.value,
|
|
4160
4160
|
[Te.value]: Z.value,
|
|
4161
4161
|
[u.value]: Z.value,
|
|
4162
4162
|
__CREATE__: !0
|
|
@@ -4168,134 +4168,134 @@ function Y0(a, e, t) {
|
|
|
4168
4168
|
case "tags":
|
|
4169
4169
|
return [];
|
|
4170
4170
|
}
|
|
4171
|
-
}), na = _(() => I.value || Se.value), We = (
|
|
4172
|
-
switch (typeof
|
|
4171
|
+
}), na = _(() => I.value || Se.value), We = (m) => {
|
|
4172
|
+
switch (typeof m != "object" && (m = Ee(m)), n.value) {
|
|
4173
4173
|
case "single":
|
|
4174
|
-
Oe(
|
|
4174
|
+
Oe(m);
|
|
4175
4175
|
break;
|
|
4176
4176
|
case "multiple":
|
|
4177
4177
|
case "tags":
|
|
4178
|
-
Oe(F.value.concat(
|
|
4178
|
+
Oe(F.value.concat(m));
|
|
4179
4179
|
break;
|
|
4180
4180
|
}
|
|
4181
|
-
e.emit("select",
|
|
4182
|
-
}, Ye = (
|
|
4183
|
-
switch (typeof
|
|
4181
|
+
e.emit("select", d1(m), m, re);
|
|
4182
|
+
}, Ye = (m) => {
|
|
4183
|
+
switch (typeof m != "object" && (m = Ee(m)), n.value) {
|
|
4184
4184
|
case "single":
|
|
4185
|
-
|
|
4185
|
+
m1();
|
|
4186
4186
|
break;
|
|
4187
4187
|
case "tags":
|
|
4188
4188
|
case "multiple":
|
|
4189
|
-
Oe(Array.isArray(
|
|
4189
|
+
Oe(Array.isArray(m) ? F.value.filter((A) => m.map((Q) => Q[C.value]).indexOf(A[C.value]) === -1) : F.value.filter((A) => A[C.value] != m[C.value]));
|
|
4190
4190
|
break;
|
|
4191
4191
|
}
|
|
4192
|
-
e.emit("deselect",
|
|
4193
|
-
},
|
|
4194
|
-
Ye(
|
|
4195
|
-
}, sa = (
|
|
4192
|
+
e.emit("deselect", d1(m), m, re);
|
|
4193
|
+
}, d1 = (m) => w.value ? m : m[C.value], v1 = (m) => {
|
|
4194
|
+
Ye(m);
|
|
4195
|
+
}, sa = (m, A) => {
|
|
4196
4196
|
if (A.button !== 0) {
|
|
4197
4197
|
A.preventDefault();
|
|
4198
4198
|
return;
|
|
4199
4199
|
}
|
|
4200
|
-
|
|
4201
|
-
},
|
|
4200
|
+
v1(m);
|
|
4201
|
+
}, m1 = () => {
|
|
4202
4202
|
e.emit("clear", re), Oe(aa.value);
|
|
4203
|
-
}, Le = (
|
|
4204
|
-
if (
|
|
4205
|
-
return n.value === "single" ? !1 : ua(
|
|
4203
|
+
}, Le = (m) => {
|
|
4204
|
+
if (m.group !== void 0)
|
|
4205
|
+
return n.value === "single" ? !1 : ua(m[g.value]) && m[g.value].length;
|
|
4206
4206
|
switch (n.value) {
|
|
4207
4207
|
case "single":
|
|
4208
|
-
return !Ae(F.value) && F.value[
|
|
4208
|
+
return !Ae(F.value) && F.value[C.value] == m[C.value];
|
|
4209
4209
|
case "tags":
|
|
4210
4210
|
case "multiple":
|
|
4211
|
-
return !Ae(F.value) && F.value.map((A) => A[
|
|
4211
|
+
return !Ae(F.value) && F.value.map((A) => A[C.value]).indexOf(m[C.value]) !== -1;
|
|
4212
4212
|
}
|
|
4213
|
-
}, qt = (
|
|
4214
|
-
if (!qt(
|
|
4215
|
-
if (G && G.value && !Le(
|
|
4216
|
-
Se.value = !0,
|
|
4217
|
-
Se.value = !1,
|
|
4213
|
+
}, qt = (m) => m[te.value] === !0, Ft = () => se === void 0 || se.value === -1 || !Rt.value && se.value > 0 ? !1 : F.value.length >= se.value, ia = (m) => {
|
|
4214
|
+
if (!qt(m)) {
|
|
4215
|
+
if (G && G.value && !Le(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = G.value(m, re), m instanceof Promise)) {
|
|
4216
|
+
Se.value = !0, m.then((A) => {
|
|
4217
|
+
Se.value = !1, f1(A);
|
|
4218
4218
|
});
|
|
4219
4219
|
return;
|
|
4220
4220
|
}
|
|
4221
|
-
|
|
4221
|
+
f1(m);
|
|
4222
4222
|
}
|
|
4223
|
-
},
|
|
4224
|
-
switch (
|
|
4223
|
+
}, f1 = (m) => {
|
|
4224
|
+
switch (m.__CREATE__ && (m = { ...m }, delete m.__CREATE__), n.value) {
|
|
4225
4225
|
case "single":
|
|
4226
|
-
if (
|
|
4227
|
-
J.value && Ye(
|
|
4226
|
+
if (m && Le(m)) {
|
|
4227
|
+
J.value && Ye(m), x.value && (qe(), Fe());
|
|
4228
4228
|
return;
|
|
4229
4229
|
}
|
|
4230
|
-
|
|
4230
|
+
m && zt(m), ne.value && ge(), N.value && (qe(), Fe()), m && We(m);
|
|
4231
4231
|
break;
|
|
4232
4232
|
case "multiple":
|
|
4233
|
-
if (
|
|
4234
|
-
Ye(
|
|
4233
|
+
if (m && Le(m)) {
|
|
4234
|
+
Ye(m), x.value && (qe(), Fe());
|
|
4235
4235
|
return;
|
|
4236
4236
|
}
|
|
4237
4237
|
if (Ft()) {
|
|
4238
4238
|
e.emit("max", re);
|
|
4239
4239
|
return;
|
|
4240
4240
|
}
|
|
4241
|
-
|
|
4241
|
+
m && (zt(m), We(m)), ne.value && ge(), o.value && qe(), N.value && Fe();
|
|
4242
4242
|
break;
|
|
4243
4243
|
case "tags":
|
|
4244
|
-
if (
|
|
4245
|
-
Ye(
|
|
4244
|
+
if (m && Le(m)) {
|
|
4245
|
+
Ye(m), x.value && (qe(), Fe());
|
|
4246
4246
|
return;
|
|
4247
4247
|
}
|
|
4248
4248
|
if (Ft()) {
|
|
4249
4249
|
e.emit("max", re);
|
|
4250
4250
|
return;
|
|
4251
4251
|
}
|
|
4252
|
-
|
|
4252
|
+
m && zt(m), ne.value && ge(), m && We(m), o.value && qe(), N.value && Fe();
|
|
4253
4253
|
break;
|
|
4254
4254
|
}
|
|
4255
4255
|
N.value || G1();
|
|
4256
|
-
}, la = (
|
|
4257
|
-
if (!(qt(
|
|
4256
|
+
}, la = (m) => {
|
|
4257
|
+
if (!(qt(m) || n.value === "single" || !V.value)) {
|
|
4258
4258
|
switch (n.value) {
|
|
4259
4259
|
case "multiple":
|
|
4260
4260
|
case "tags":
|
|
4261
|
-
ra(
|
|
4262
|
-
|
|
4261
|
+
ra(m[g.value]) ? Ye(m[g.value]) : We(
|
|
4262
|
+
m[g.value].filter((A) => F.value.map((Q) => Q[C.value]).indexOf(A[C.value]) === -1).filter((A) => !A[te.value]).filter((A, Q) => F.value.length + 1 + Q <= se.value || se.value === -1)
|
|
4263
4263
|
);
|
|
4264
4264
|
break;
|
|
4265
4265
|
}
|
|
4266
4266
|
N.value && K1();
|
|
4267
4267
|
}
|
|
4268
|
-
}, zt = (
|
|
4269
|
-
Ee(
|
|
4268
|
+
}, zt = (m) => {
|
|
4269
|
+
Ee(m[C.value]) === void 0 && r1.value && (e.emit("tag", m[C.value], re), e.emit("option", m[C.value], re), e.emit("create", m[C.value], re), X1.value && va(m), ge());
|
|
4270
4270
|
}, oa = () => {
|
|
4271
|
-
n.value !== "single" && We(nt.value.filter((
|
|
4272
|
-
}, ra = (
|
|
4273
|
-
parseInt(
|
|
4274
|
-
), da = (
|
|
4275
|
-
at.value.push(
|
|
4276
|
-
}, ma = (
|
|
4271
|
+
n.value !== "single" && We(nt.value.filter((m) => !m.disabled && !Le(m)));
|
|
4272
|
+
}, ra = (m) => m.find((A) => !Le(A) && !A[te.value]) === void 0, ua = (m) => m.find((A) => !Le(A)) === void 0, Ee = (m) => He.value[He.value.map((A) => String(A[C.value])).indexOf(String(m))], ca = (m, A = !0) => He.value.map((Q) => parseInt(Q[Te.value]) == Q[Te.value] ? parseInt(Q[Te.value]) : Q[Te.value]).indexOf(
|
|
4273
|
+
parseInt(m) == m ? parseInt(m) : m
|
|
4274
|
+
), da = (m) => ["tags", "multiple"].indexOf(n.value) !== -1 && o.value && Le(m), va = (m) => {
|
|
4275
|
+
at.value.push(m);
|
|
4276
|
+
}, ma = (m) => P.value ? m.filter(
|
|
4277
4277
|
(A) => Z.value ? A.__VISIBLE__.length : A[g.value].length
|
|
4278
|
-
) :
|
|
4279
|
-
let Q =
|
|
4278
|
+
) : m.filter((A) => Z.value ? A.__VISIBLE__.length : !0), Wt = (m, A = !0) => {
|
|
4279
|
+
let Q = m;
|
|
4280
4280
|
if (Z.value && D.value) {
|
|
4281
4281
|
let ce = Me.value;
|
|
4282
4282
|
ce || (ce = (st, qd) => {
|
|
4283
|
-
let
|
|
4284
|
-
return _e.value ?
|
|
4283
|
+
let p1 = Xt(x1(st[Te.value]), me.value);
|
|
4284
|
+
return _e.value ? p1.startsWith(Xt(Z.value, me.value)) : p1.indexOf(Xt(Z.value, me.value)) !== -1;
|
|
4285
4285
|
}), Q = Q.filter(ce);
|
|
4286
4286
|
}
|
|
4287
4287
|
return o.value && A && (Q = Q.filter((ce) => !da(ce))), Q;
|
|
4288
|
-
}, Yt = (
|
|
4289
|
-
let A =
|
|
4288
|
+
}, Yt = (m) => {
|
|
4289
|
+
let A = m;
|
|
4290
4290
|
return z0(A) && (A = Object.keys(A).map((Q) => {
|
|
4291
4291
|
let ce = A[Q];
|
|
4292
|
-
return { [
|
|
4293
|
-
})), A = A.map((Q) => typeof Q == "object" ? Q : { [
|
|
4292
|
+
return { [C.value]: Q, [Te.value]: ce, [u.value]: ce };
|
|
4293
|
+
})), A = A.map((Q) => typeof Q == "object" ? Q : { [C.value]: Q, [Te.value]: Q, [u.value]: Q }), A;
|
|
4294
4294
|
}, gt = () => {
|
|
4295
4295
|
Ae(T.value) || (F.value = bt(T.value));
|
|
4296
|
-
}, yt = (
|
|
4296
|
+
}, yt = (m) => (Se.value = !0, new Promise((A, Q) => {
|
|
4297
4297
|
s.value(Z.value, re).then((ce) => {
|
|
4298
|
-
Ve.value = ce || [], typeof
|
|
4298
|
+
Ve.value = ce || [], typeof m == "function" && m(ce), Se.value = !1;
|
|
4299
4299
|
}).catch((ce) => {
|
|
4300
4300
|
console.error(ce), Ve.value = [], Se.value = !1;
|
|
4301
4301
|
}).finally(() => {
|
|
@@ -4304,34 +4304,34 @@ function Y0(a, e, t) {
|
|
|
4304
4304
|
})), Gt = () => {
|
|
4305
4305
|
if (Rt.value)
|
|
4306
4306
|
if (n.value === "single") {
|
|
4307
|
-
let
|
|
4308
|
-
if (
|
|
4309
|
-
let A =
|
|
4310
|
-
F.value[u.value] = A,
|
|
4307
|
+
let m = Ee(F.value[C.value]);
|
|
4308
|
+
if (m !== void 0) {
|
|
4309
|
+
let A = m[u.value];
|
|
4310
|
+
F.value[u.value] = A, w.value && (T.value[u.value] = A);
|
|
4311
4311
|
}
|
|
4312
4312
|
} else
|
|
4313
|
-
F.value.forEach((
|
|
4314
|
-
let Q = Ee(F.value[A][
|
|
4313
|
+
F.value.forEach((m, A) => {
|
|
4314
|
+
let Q = Ee(F.value[A][C.value]);
|
|
4315
4315
|
if (Q !== void 0) {
|
|
4316
4316
|
let ce = Q[u.value];
|
|
4317
|
-
F.value[A][u.value] = ce,
|
|
4317
|
+
F.value[A][u.value] = ce, w.value && (T.value[A][u.value] = ce);
|
|
4318
4318
|
}
|
|
4319
4319
|
});
|
|
4320
|
-
}, fa = (
|
|
4321
|
-
yt(
|
|
4322
|
-
}, bt = (
|
|
4323
|
-
[u.value]:
|
|
4324
|
-
[
|
|
4325
|
-
[Te.value]:
|
|
4326
|
-
} : {}) :
|
|
4320
|
+
}, fa = (m) => {
|
|
4321
|
+
yt(m);
|
|
4322
|
+
}, bt = (m) => Ae(m) ? n.value === "single" ? {} : [] : w.value ? m : n.value === "single" ? Ee(m) || (L.value ? {
|
|
4323
|
+
[u.value]: m,
|
|
4324
|
+
[C.value]: m,
|
|
4325
|
+
[Te.value]: m
|
|
4326
|
+
} : {}) : m.filter((A) => !!Ee(A) || L.value).map((A) => Ee(A) || {
|
|
4327
4327
|
[u.value]: A,
|
|
4328
|
-
[
|
|
4328
|
+
[C.value]: A,
|
|
4329
4329
|
[Te.value]: A
|
|
4330
|
-
}),
|
|
4331
|
-
Ut.value = fe(Z, (
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
(
|
|
4330
|
+
}), h1 = () => {
|
|
4331
|
+
Ut.value = fe(Z, (m) => {
|
|
4332
|
+
m.length < $.value || !m && $.value !== 0 || (Se.value = !0, X.value && (Ve.value = []), setTimeout(() => {
|
|
4333
|
+
m == Z.value && s.value(Z.value, re).then((A) => {
|
|
4334
|
+
(m == Z.value || !Z.value) && (Ve.value = A, Y1.value = nt.value.filter((Q) => Q[te.value] !== !0)[0] || null, Se.value = !1);
|
|
4335
4335
|
}).catch(
|
|
4336
4336
|
/* istanbul ignore next */
|
|
4337
4337
|
(A) => {
|
|
@@ -4343,26 +4343,26 @@ function Y0(a, e, t) {
|
|
|
4343
4343
|
};
|
|
4344
4344
|
if (n.value !== "single" && !Ae(T.value) && !Array.isArray(T.value))
|
|
4345
4345
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
4346
|
-
return s && typeof s.value == "function" ? b.value ? yt(gt) :
|
|
4347
|
-
Ut.value && Ut.value(),
|
|
4348
|
-
}), fe(T, (
|
|
4349
|
-
if (Ae(
|
|
4350
|
-
Oe(bt(
|
|
4346
|
+
return s && typeof s.value == "function" ? b.value ? yt(gt) : w.value == !0 && gt() : (Ve.value = s.value, gt()), E.value > -1 && h1(), fe(E, (m, A) => {
|
|
4347
|
+
Ut.value && Ut.value(), m >= 0 && h1();
|
|
4348
|
+
}), fe(T, (m) => {
|
|
4349
|
+
if (Ae(m)) {
|
|
4350
|
+
Oe(bt(m), !1);
|
|
4351
4351
|
return;
|
|
4352
4352
|
}
|
|
4353
4353
|
switch (n.value) {
|
|
4354
4354
|
case "single":
|
|
4355
|
-
(
|
|
4355
|
+
(w.value ? m[C.value] != F.value[C.value] : m != F.value[C.value]) && Oe(bt(m), !1);
|
|
4356
4356
|
break;
|
|
4357
4357
|
case "multiple":
|
|
4358
4358
|
case "tags":
|
|
4359
|
-
W0(
|
|
4359
|
+
W0(w.value ? m.map((A) => A[C.value]) : m, F.value.map((A) => A[C.value])) || Oe(bt(m), !1);
|
|
4360
4360
|
break;
|
|
4361
4361
|
}
|
|
4362
|
-
}, { deep: !0 }), fe(s, (
|
|
4363
|
-
typeof a.options == "function" ? b.value && (!A ||
|
|
4362
|
+
}, { deep: !0 }), fe(s, (m, A) => {
|
|
4363
|
+
typeof a.options == "function" ? b.value && (!A || m && m.toString() !== A.toString()) && yt() : (Ve.value = a.options, Object.keys(F.value).length || gt(), Gt());
|
|
4364
4364
|
}), fe(u, Gt), {
|
|
4365
|
-
pfo:
|
|
4365
|
+
pfo: u1,
|
|
4366
4366
|
fo: nt,
|
|
4367
4367
|
filteredOptions: nt,
|
|
4368
4368
|
hasSelected: Rt,
|
|
@@ -4371,8 +4371,8 @@ function Y0(a, e, t) {
|
|
|
4371
4371
|
extendedOptions: He,
|
|
4372
4372
|
eg: _t,
|
|
4373
4373
|
extendedGroups: _t,
|
|
4374
|
-
fg:
|
|
4375
|
-
filteredGroups:
|
|
4374
|
+
fg: c1,
|
|
4375
|
+
filteredGroups: c1,
|
|
4376
4376
|
noOptions: ea,
|
|
4377
4377
|
noResults: ta,
|
|
4378
4378
|
resolving: Se,
|
|
@@ -4380,9 +4380,9 @@ function Y0(a, e, t) {
|
|
|
4380
4380
|
offset: jt,
|
|
4381
4381
|
select: We,
|
|
4382
4382
|
deselect: Ye,
|
|
4383
|
-
remove:
|
|
4383
|
+
remove: v1,
|
|
4384
4384
|
selectAll: oa,
|
|
4385
|
-
clear:
|
|
4385
|
+
clear: m1,
|
|
4386
4386
|
isSelected: Le,
|
|
4387
4387
|
isDisabled: qt,
|
|
4388
4388
|
isMax: Ft,
|
|
@@ -4402,11 +4402,11 @@ function G0(a, e, t) {
|
|
|
4402
4402
|
searchable: l,
|
|
4403
4403
|
groupLabel: i,
|
|
4404
4404
|
groups: o,
|
|
4405
|
-
mode:
|
|
4406
|
-
groupSelect:
|
|
4405
|
+
mode: v,
|
|
4406
|
+
groupSelect: d,
|
|
4407
4407
|
disabledProp: u,
|
|
4408
|
-
groupOptions:
|
|
4409
|
-
} = ye(a),
|
|
4408
|
+
groupOptions: p
|
|
4409
|
+
} = ye(a), h = t.fo, y = t.fg, w = t.handleOptionClick, I = t.handleGroupClick, E = t.search, b = t.pointer, $ = t.setPointer, D = t.clearPointer, X = t.multiselect, ne = t.isOpen, C = _(() => h.value.filter((T) => !T[u.value])), L = _(() => y.value.filter((T) => !T[u.value])), B = _(() => v.value !== "single" && d.value), J = _(() => b.value && b.value.group), se = _(() => re(b.value)), me = _(() => {
|
|
4410
4410
|
const T = J.value ? b.value : (
|
|
4411
4411
|
/* istanbul ignore next */
|
|
4412
4412
|
re(b.value)
|
|
@@ -4423,34 +4423,34 @@ function G0(a, e, t) {
|
|
|
4423
4423
|
const T = re(b.value).__VISIBLE__.filter((Z) => !Z[u.value]);
|
|
4424
4424
|
return T[T.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1];
|
|
4425
4425
|
}), g = _(() => [...me.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), P = _(() => [...x.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), V = (T) => b.value && (!T.group && b.value[s.value] === T[s.value] || T.group !== void 0 && b.value[i.value] === T[i.value]) ? !0 : void 0, G = () => {
|
|
4426
|
-
|
|
4426
|
+
$(C.value[0] || null);
|
|
4427
4427
|
}, te = () => {
|
|
4428
|
-
!b.value || b.value[u.value] === !0 || (J.value ? I(b.value) :
|
|
4428
|
+
!b.value || b.value[u.value] === !0 || (J.value ? I(b.value) : w(b.value));
|
|
4429
4429
|
}, _e = () => {
|
|
4430
4430
|
if (b.value === null)
|
|
4431
|
-
|
|
4431
|
+
$((o.value && B.value ? L.value[0].__CREATE__ ? C.value[0] : L.value[0] : C.value[0]) || null);
|
|
4432
4432
|
else if (o.value && B.value) {
|
|
4433
4433
|
let T = J.value ? S.value : le.value;
|
|
4434
|
-
T === void 0 && (T = N.value, T.__CREATE__ && (T = T[
|
|
4434
|
+
T === void 0 && (T = N.value, T.__CREATE__ && (T = T[p.value][0])), $(T || /* istanbul ignore next */
|
|
4435
4435
|
null);
|
|
4436
4436
|
} else {
|
|
4437
|
-
let T =
|
|
4438
|
-
|
|
4437
|
+
let T = C.value.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1;
|
|
4438
|
+
C.value.length <= T && (T = 0), $(C.value[T] || null);
|
|
4439
4439
|
}
|
|
4440
4440
|
Ze(() => {
|
|
4441
4441
|
F();
|
|
4442
4442
|
});
|
|
4443
4443
|
}, Me = () => {
|
|
4444
4444
|
if (b.value === null) {
|
|
4445
|
-
let T =
|
|
4446
|
-
o.value && B.value && (T = P.value, T === void 0 && (T = x.value)),
|
|
4445
|
+
let T = C.value[C.value.length - 1];
|
|
4446
|
+
o.value && B.value && (T = P.value, T === void 0 && (T = x.value)), $(T || null);
|
|
4447
4447
|
} else if (o.value && B.value) {
|
|
4448
4448
|
let T = J.value ? g.value : j.value;
|
|
4449
|
-
T === void 0 && (T = J.value ? me.value : se.value, T.__CREATE__ && (T = g.value, T === void 0 && (T = me.value))),
|
|
4449
|
+
T === void 0 && (T = J.value ? me.value : se.value, T.__CREATE__ && (T = g.value, T === void 0 && (T = me.value))), $(T || /* istanbul ignore next */
|
|
4450
4450
|
null);
|
|
4451
4451
|
} else {
|
|
4452
|
-
let T =
|
|
4453
|
-
T < 0 && (T =
|
|
4452
|
+
let T = C.value.map((Z) => Z[s.value]).indexOf(b.value[s.value]) - 1;
|
|
4453
|
+
T < 0 && (T = C.value.length - 1), $(C.value[T] || null);
|
|
4454
4454
|
}
|
|
4455
4455
|
Ze(() => {
|
|
4456
4456
|
F();
|
|
@@ -4497,26 +4497,26 @@ function K0(a, e, t) {
|
|
|
4497
4497
|
};
|
|
4498
4498
|
}
|
|
4499
4499
|
function x0(a, e, t) {
|
|
4500
|
-
const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open,
|
|
4501
|
-
s.value && i.value.blur(),
|
|
4502
|
-
},
|
|
4500
|
+
const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open, v = t.close, d = t.clearSearch, u = t.isOpen, p = ee(null), h = ee(null), y = ee(null), w = ee(!1), I = ee(!1), E = _(() => s.value || n.value ? -1 : 0), b = () => {
|
|
4501
|
+
s.value && i.value.blur(), h.value.blur();
|
|
4502
|
+
}, $ = () => {
|
|
4503
4503
|
s.value && !n.value && i.value.focus();
|
|
4504
4504
|
}, D = (J = !0) => {
|
|
4505
|
-
n.value || (
|
|
4505
|
+
n.value || (w.value = !0, J && o());
|
|
4506
4506
|
}, X = () => {
|
|
4507
|
-
|
|
4508
|
-
|
|
4507
|
+
w.value = !1, setTimeout(() => {
|
|
4508
|
+
w.value || (v(), l.value && d());
|
|
4509
4509
|
}, 1);
|
|
4510
4510
|
};
|
|
4511
4511
|
return {
|
|
4512
|
-
multiselect:
|
|
4513
|
-
wrapper:
|
|
4512
|
+
multiselect: p,
|
|
4513
|
+
wrapper: h,
|
|
4514
4514
|
tags: y,
|
|
4515
4515
|
tabindex: E,
|
|
4516
|
-
isActive:
|
|
4516
|
+
isActive: w,
|
|
4517
4517
|
mouseClicked: I,
|
|
4518
4518
|
blur: b,
|
|
4519
|
-
focus:
|
|
4519
|
+
focus: $,
|
|
4520
4520
|
activate: D,
|
|
4521
4521
|
deactivate: X,
|
|
4522
4522
|
handleFocusIn: (J) => {
|
|
@@ -4529,9 +4529,9 @@ function x0(a, e, t) {
|
|
|
4529
4529
|
X(), b();
|
|
4530
4530
|
},
|
|
4531
4531
|
handleMousedown: (J) => {
|
|
4532
|
-
I.value = !0, u.value && (J.target.isEqualNode(
|
|
4532
|
+
I.value = !0, u.value && (J.target.isEqualNode(h.value) || J.target.isEqualNode(y.value)) ? setTimeout(() => {
|
|
4533
4533
|
X();
|
|
4534
|
-
}, 0) : document.activeElement.isEqualNode(
|
|
4534
|
+
}, 0) : document.activeElement.isEqualNode(h.value) && !u.value && D(), setTimeout(() => {
|
|
4535
4535
|
I.value = !1;
|
|
4536
4536
|
}, 0);
|
|
4537
4537
|
}
|
|
@@ -4544,14 +4544,14 @@ function X0(a, e, t) {
|
|
|
4544
4544
|
openDirection: l,
|
|
4545
4545
|
searchable: i,
|
|
4546
4546
|
showOptions: o,
|
|
4547
|
-
valueProp:
|
|
4548
|
-
groups:
|
|
4547
|
+
valueProp: v,
|
|
4548
|
+
groups: d,
|
|
4549
4549
|
addOptionOn: u,
|
|
4550
|
-
createTag:
|
|
4551
|
-
createOption:
|
|
4550
|
+
createTag: p,
|
|
4551
|
+
createOption: h,
|
|
4552
4552
|
reverse: y
|
|
4553
|
-
} = ye(a),
|
|
4554
|
-
s.value === "tags" && !o.value && x.value && i.value && !
|
|
4553
|
+
} = ye(a), w = Ue().proxy, I = t.iv, E = t.update, b = t.search, $ = t.setPointer, D = t.selectPointer, X = t.backwardPointer, ne = t.forwardPointer, C = t.multiselect, L = t.wrapper, B = t.tags, J = t.isOpen, se = t.open, me = t.blur, N = t.fo, x = _(() => p.value || h.value || !1), S = _(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), j = () => {
|
|
4554
|
+
s.value === "tags" && !o.value && x.value && i.value && !d.value && $(N.value[N.value.map((V) => V[v.value]).indexOf(b.value)]);
|
|
4555
4555
|
}, le = (V) => {
|
|
4556
4556
|
let G = V.length - 1;
|
|
4557
4557
|
for (; G >= 0 && (V[G].remove === !1 || V[G].disabled); )
|
|
@@ -4560,9 +4560,9 @@ function X0(a, e, t) {
|
|
|
4560
4560
|
};
|
|
4561
4561
|
return {
|
|
4562
4562
|
handleKeydown: (V) => {
|
|
4563
|
-
e.emit("keydown", V,
|
|
4563
|
+
e.emit("keydown", V, w);
|
|
4564
4564
|
let G, te;
|
|
4565
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...
|
|
4565
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...C.value.querySelectorAll("[data-tags] > *")].filter((_e) => _e !== B.value), te = G.findIndex((_e) => _e === document.activeElement)), V.key) {
|
|
4566
4566
|
case "Backspace":
|
|
4567
4567
|
if (s.value === "single" || i.value && [null, ""].indexOf(b.value) === -1 || I.value.length === 0)
|
|
4568
4568
|
return;
|
|
@@ -4623,7 +4623,7 @@ function X0(a, e, t) {
|
|
|
4623
4623
|
}
|
|
4624
4624
|
},
|
|
4625
4625
|
handleKeyup: (V) => {
|
|
4626
|
-
e.emit("keyup", V,
|
|
4626
|
+
e.emit("keyup", V, w);
|
|
4627
4627
|
},
|
|
4628
4628
|
preparePointer: j
|
|
4629
4629
|
};
|
|
@@ -4634,7 +4634,7 @@ function Q0(a, e, t) {
|
|
|
4634
4634
|
disabled: n,
|
|
4635
4635
|
openDirection: l,
|
|
4636
4636
|
showOptions: i
|
|
4637
|
-
} = ye(a), o = t.isOpen,
|
|
4637
|
+
} = ye(a), o = t.isOpen, v = t.isPointed, d = t.isSelected, u = t.isDisabled, p = t.isActive, h = t.canPointGroups, y = t.resolving, w = t.fo, I = _(() => ({
|
|
4638
4638
|
container: "multiselect",
|
|
4639
4639
|
containerDisabled: "is-disabled",
|
|
4640
4640
|
containerOpen: "is-open",
|
|
@@ -4687,49 +4687,49 @@ function Q0(a, e, t) {
|
|
|
4687
4687
|
assist: "multiselect-assistive-text",
|
|
4688
4688
|
spacer: "multiselect-spacer",
|
|
4689
4689
|
...s.value
|
|
4690
|
-
})), E = _(() => !!(o.value && i.value && (!y.value || y.value &&
|
|
4690
|
+
})), E = _(() => !!(o.value && i.value && (!y.value || y.value && w.value.length)));
|
|
4691
4691
|
return {
|
|
4692
4692
|
classList: _(() => {
|
|
4693
|
-
const
|
|
4693
|
+
const $ = I.value;
|
|
4694
4694
|
return {
|
|
4695
|
-
container: [
|
|
4696
|
-
wrapper:
|
|
4697
|
-
spacer:
|
|
4698
|
-
singleLabel:
|
|
4699
|
-
singleLabelText:
|
|
4700
|
-
multipleLabel:
|
|
4701
|
-
search:
|
|
4702
|
-
tags:
|
|
4703
|
-
tag: [
|
|
4704
|
-
tagDisabled:
|
|
4705
|
-
tagRemove:
|
|
4706
|
-
tagRemoveIcon:
|
|
4707
|
-
tagsSearchWrapper:
|
|
4708
|
-
tagsSearch:
|
|
4709
|
-
tagsSearchCopy:
|
|
4710
|
-
placeholder:
|
|
4711
|
-
caret: [
|
|
4712
|
-
clear:
|
|
4713
|
-
clearIcon:
|
|
4714
|
-
spinner:
|
|
4715
|
-
inifinite:
|
|
4716
|
-
inifiniteSpinner:
|
|
4717
|
-
dropdown: [
|
|
4718
|
-
options: [
|
|
4719
|
-
group:
|
|
4695
|
+
container: [$.container].concat(n.value ? $.containerDisabled : []).concat(E.value && l.value === "top" ? $.containerOpenTop : []).concat(E.value && l.value !== "top" ? $.containerOpen : []).concat(p.value ? $.containerActive : []),
|
|
4696
|
+
wrapper: $.wrapper,
|
|
4697
|
+
spacer: $.spacer,
|
|
4698
|
+
singleLabel: $.singleLabel,
|
|
4699
|
+
singleLabelText: $.singleLabelText,
|
|
4700
|
+
multipleLabel: $.multipleLabel,
|
|
4701
|
+
search: $.search,
|
|
4702
|
+
tags: $.tags,
|
|
4703
|
+
tag: [$.tag].concat(n.value ? $.tagDisabled : []),
|
|
4704
|
+
tagDisabled: $.tagDisabled,
|
|
4705
|
+
tagRemove: $.tagRemove,
|
|
4706
|
+
tagRemoveIcon: $.tagRemoveIcon,
|
|
4707
|
+
tagsSearchWrapper: $.tagsSearchWrapper,
|
|
4708
|
+
tagsSearch: $.tagsSearch,
|
|
4709
|
+
tagsSearchCopy: $.tagsSearchCopy,
|
|
4710
|
+
placeholder: $.placeholder,
|
|
4711
|
+
caret: [$.caret].concat(o.value ? $.caretOpen : []),
|
|
4712
|
+
clear: $.clear,
|
|
4713
|
+
clearIcon: $.clearIcon,
|
|
4714
|
+
spinner: $.spinner,
|
|
4715
|
+
inifinite: $.inifinite,
|
|
4716
|
+
inifiniteSpinner: $.inifiniteSpinner,
|
|
4717
|
+
dropdown: [$.dropdown].concat(l.value === "top" ? $.dropdownTop : []).concat(!o.value || !i.value || !E.value ? $.dropdownHidden : []),
|
|
4718
|
+
options: [$.options].concat(l.value === "top" ? $.optionsTop : []),
|
|
4719
|
+
group: $.group,
|
|
4720
4720
|
groupLabel: (D) => {
|
|
4721
|
-
let X = [
|
|
4722
|
-
return
|
|
4721
|
+
let X = [$.groupLabel];
|
|
4722
|
+
return v(D) ? X.push(d(D) ? $.groupLabelSelectedPointed : $.groupLabelPointed) : d(D) && h.value ? X.push(u(D) ? $.groupLabelSelectedDisabled : $.groupLabelSelected) : u(D) && X.push($.groupLabelDisabled), h.value && X.push($.groupLabelPointable), X;
|
|
4723
4723
|
},
|
|
4724
|
-
groupOptions:
|
|
4724
|
+
groupOptions: $.groupOptions,
|
|
4725
4725
|
option: (D, X) => {
|
|
4726
|
-
let ne = [
|
|
4727
|
-
return
|
|
4726
|
+
let ne = [$.option];
|
|
4727
|
+
return v(D) ? ne.push(d(D) ? $.optionSelectedPointed : $.optionPointed) : d(D) ? ne.push(u(D) ? $.optionSelectedDisabled : $.optionSelected) : (u(D) || X && u(X)) && ne.push($.optionDisabled), ne;
|
|
4728
4728
|
},
|
|
4729
|
-
noOptions:
|
|
4730
|
-
noResults:
|
|
4731
|
-
assist:
|
|
4732
|
-
fakeInput:
|
|
4729
|
+
noOptions: $.noOptions,
|
|
4730
|
+
noResults: $.noResults,
|
|
4731
|
+
assist: $.assist,
|
|
4732
|
+
fakeInput: $.fakeInput
|
|
4733
4733
|
};
|
|
4734
4734
|
}),
|
|
4735
4735
|
showDropdown: E
|
|
@@ -4739,28 +4739,28 @@ function J0(a, e, t) {
|
|
|
4739
4739
|
const {
|
|
4740
4740
|
limit: s,
|
|
4741
4741
|
infinite: n
|
|
4742
|
-
} = ye(a), l = t.isOpen, i = t.offset, o = t.search,
|
|
4742
|
+
} = ye(a), l = t.isOpen, i = t.offset, o = t.search, v = t.pfo, d = t.eo, u = ee(null), p = ee(null), h = _(() => i.value < v.value.length), y = (I) => {
|
|
4743
4743
|
const { isIntersecting: E, target: b } = I[0];
|
|
4744
4744
|
if (E) {
|
|
4745
|
-
const
|
|
4745
|
+
const $ = b.offsetParent, D = $.scrollTop;
|
|
4746
4746
|
i.value += s.value == -1 ? 10 : s.value, Ze(() => {
|
|
4747
|
-
|
|
4747
|
+
$.scrollTop = D;
|
|
4748
4748
|
});
|
|
4749
4749
|
}
|
|
4750
|
-
},
|
|
4751
|
-
l.value && i.value <
|
|
4750
|
+
}, w = () => {
|
|
4751
|
+
l.value && i.value < v.value.length ? u.value.observe(p.value) : !l.value && u.value && u.value.disconnect();
|
|
4752
4752
|
};
|
|
4753
4753
|
return fe(l, () => {
|
|
4754
|
-
n.value &&
|
|
4754
|
+
n.value && w();
|
|
4755
4755
|
}), fe(o, () => {
|
|
4756
|
-
n.value && (i.value = s.value,
|
|
4757
|
-
}, { flush: "post" }), fe(
|
|
4758
|
-
n.value &&
|
|
4756
|
+
n.value && (i.value = s.value, w());
|
|
4757
|
+
}, { flush: "post" }), fe(d, () => {
|
|
4758
|
+
n.value && w();
|
|
4759
4759
|
}, { immediate: !1, flush: "post" }), Ot(() => {
|
|
4760
4760
|
window && window.IntersectionObserver && (u.value = new IntersectionObserver(y));
|
|
4761
4761
|
}), {
|
|
4762
|
-
hasMore:
|
|
4763
|
-
infiniteLoader:
|
|
4762
|
+
hasMore: h,
|
|
4763
|
+
infiniteLoader: p
|
|
4764
4764
|
};
|
|
4765
4765
|
}
|
|
4766
4766
|
function e5(a, e, t) {
|
|
@@ -4770,24 +4770,24 @@ function e5(a, e, t) {
|
|
|
4770
4770
|
valueProp: l,
|
|
4771
4771
|
label: i,
|
|
4772
4772
|
mode: o,
|
|
4773
|
-
groupLabel:
|
|
4774
|
-
aria:
|
|
4773
|
+
groupLabel: v,
|
|
4774
|
+
aria: d,
|
|
4775
4775
|
searchable: u
|
|
4776
|
-
} = ye(a),
|
|
4776
|
+
} = ye(a), p = t.pointer, h = t.iv, y = t.hasSelected, w = t.multipleLabelText, I = ee(null), E = _(() => {
|
|
4777
4777
|
let N = [];
|
|
4778
4778
|
return n && n.value && N.push(n.value), N.push("assist"), N.join("-");
|
|
4779
4779
|
}), b = _(() => {
|
|
4780
4780
|
let N = [];
|
|
4781
4781
|
return n && n.value && N.push(n.value), N.push("multiselect-options"), N.join("-");
|
|
4782
|
-
}),
|
|
4782
|
+
}), $ = _(() => {
|
|
4783
4783
|
let N = [];
|
|
4784
|
-
if (n && n.value && N.push(n.value),
|
|
4785
|
-
return N.push(
|
|
4784
|
+
if (n && n.value && N.push(n.value), p.value)
|
|
4785
|
+
return N.push(p.value.group ? "multiselect-group" : "multiselect-option"), N.push(p.value.group ? p.value.index : p.value[l.value]), N.join("-");
|
|
4786
4786
|
}), D = _(() => s.value), X = _(() => o.value !== "single"), ne = _(() => {
|
|
4787
4787
|
let N = "";
|
|
4788
|
-
return o.value === "single" && y.value && (N +=
|
|
4789
|
-
}),
|
|
4790
|
-
let N = { ...
|
|
4788
|
+
return o.value === "single" && y.value && (N += h.value[i.value]), o.value === "multiple" && y.value && (N += w.value), o.value === "tags" && y.value && (N += h.value.map((x) => x[i.value]).join(", ")), N;
|
|
4789
|
+
}), C = _(() => {
|
|
4790
|
+
let N = { ...d.value };
|
|
4791
4791
|
return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${E.value} ${N["aria-labelledby"]}` : E.value, ne.value && N["aria-label"] && (N["aria-label"] = `${ne.value}, ${N["aria-label"]}`)), N;
|
|
4792
4792
|
}), L = (N) => {
|
|
4793
4793
|
let x = [];
|
|
@@ -4808,13 +4808,13 @@ function e5(a, e, t) {
|
|
|
4808
4808
|
I.value = N ? N.innerText : null;
|
|
4809
4809
|
}
|
|
4810
4810
|
}), {
|
|
4811
|
-
arias:
|
|
4811
|
+
arias: C,
|
|
4812
4812
|
ariaLabel: ne,
|
|
4813
4813
|
ariaAssist: E,
|
|
4814
4814
|
ariaControls: b,
|
|
4815
4815
|
ariaPlaceholder: D,
|
|
4816
4816
|
ariaMultiselectable: X,
|
|
4817
|
-
ariaActiveDescendant:
|
|
4817
|
+
ariaActiveDescendant: $,
|
|
4818
4818
|
ariaOptionId: L,
|
|
4819
4819
|
ariaOptionLabel: J,
|
|
4820
4820
|
ariaGroupId: B,
|
|
@@ -5194,7 +5194,7 @@ var pe = {
|
|
|
5194
5194
|
};
|
|
5195
5195
|
const n5 = ["id", "dir"], s5 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], i5 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], l5 = ["onKeyup", "aria-label"], o5 = ["onClick"], r5 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], u5 = ["innerHTML"], c5 = ["id"], d5 = ["id", "aria-label", "aria-selected"], v5 = ["data-pointed", "onMouseenter", "onClick"], m5 = ["innerHTML"], f5 = ["aria-label"], h5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], p5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], C5 = ["innerHTML"], _5 = ["innerHTML"], g5 = ["value"], y5 = ["name", "value"], b5 = ["name", "value"], w5 = ["id"];
|
|
5196
5196
|
function $5(a, e, t, s, n, l) {
|
|
5197
|
-
return c(),
|
|
5197
|
+
return c(), f("div", {
|
|
5198
5198
|
ref: "multiselect",
|
|
5199
5199
|
class: W(a.classList.container),
|
|
5200
5200
|
id: t.searchable ? void 0 : t.id,
|
|
@@ -5217,7 +5217,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5217
5217
|
role: t.searchable ? void 0 : "combobox"
|
|
5218
5218
|
}, t.searchable ? {} : a.arias), [
|
|
5219
5219
|
k(" Search "),
|
|
5220
|
-
t.mode !== "tags" && t.searchable && !t.disabled ? (c(),
|
|
5220
|
+
t.mode !== "tags" && t.searchable && !t.disabled ? (c(), f("input", Pe({
|
|
5221
5221
|
key: 0,
|
|
5222
5222
|
type: t.inputType,
|
|
5223
5223
|
modelValue: a.search,
|
|
@@ -5240,7 +5240,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5240
5240
|
...a.arias
|
|
5241
5241
|
}), null, 16, i5)) : k("v-if", !0),
|
|
5242
5242
|
k(" Tags (with search) "),
|
|
5243
|
-
t.mode == "tags" ? (c(),
|
|
5243
|
+
t.mode == "tags" ? (c(), f(
|
|
5244
5244
|
"div",
|
|
5245
5245
|
{
|
|
5246
5246
|
key: 1,
|
|
@@ -5248,33 +5248,33 @@ function $5(a, e, t, s, n, l) {
|
|
|
5248
5248
|
"data-tags": ""
|
|
5249
5249
|
},
|
|
5250
5250
|
[
|
|
5251
|
-
(c(!0),
|
|
5251
|
+
(c(!0), f(
|
|
5252
5252
|
oe,
|
|
5253
5253
|
null,
|
|
5254
|
-
he(a.iv, (i, o,
|
|
5254
|
+
he(a.iv, (i, o, v) => K(a.$slots, "tag", {
|
|
5255
5255
|
option: i,
|
|
5256
5256
|
handleTagRemove: a.handleTagRemove,
|
|
5257
5257
|
disabled: t.disabled
|
|
5258
5258
|
}, () => [
|
|
5259
|
-
(c(),
|
|
5259
|
+
(c(), f("span", {
|
|
5260
5260
|
class: W([
|
|
5261
5261
|
a.classList.tag,
|
|
5262
5262
|
i.disabled ? a.classList.tagDisabled : null
|
|
5263
5263
|
]),
|
|
5264
5264
|
tabindex: "-1",
|
|
5265
|
-
onKeyup: mt((
|
|
5266
|
-
key:
|
|
5265
|
+
onKeyup: mt((d) => a.handleTagRemove(i, d), ["enter"]),
|
|
5266
|
+
key: v,
|
|
5267
5267
|
"aria-label": a.ariaTagLabel(a.localize(i[t.label]))
|
|
5268
5268
|
}, [
|
|
5269
|
-
|
|
5269
|
+
t1(
|
|
5270
5270
|
R(a.localize(i[t.label])) + " ",
|
|
5271
5271
|
1
|
|
5272
5272
|
/* TEXT */
|
|
5273
5273
|
),
|
|
5274
|
-
!t.disabled && !i.disabled ? (c(),
|
|
5274
|
+
!t.disabled && !i.disabled ? (c(), f("span", {
|
|
5275
5275
|
key: 0,
|
|
5276
5276
|
class: W(a.classList.tagRemove),
|
|
5277
|
-
onClick: ke((
|
|
5277
|
+
onClick: ke((d) => a.handleTagRemove(i, d), ["stop"])
|
|
5278
5278
|
}, [
|
|
5279
5279
|
r(
|
|
5280
5280
|
"span",
|
|
@@ -5309,7 +5309,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5309
5309
|
/* TEXT, CLASS */
|
|
5310
5310
|
),
|
|
5311
5311
|
k(" Actual search input "),
|
|
5312
|
-
t.searchable && !t.disabled ? (c(),
|
|
5312
|
+
t.searchable && !t.disabled ? (c(), f("input", Pe({
|
|
5313
5313
|
key: 0,
|
|
5314
5314
|
type: t.inputType,
|
|
5315
5315
|
modelValue: a.search,
|
|
@@ -5461,23 +5461,23 @@ function $5(a, e, t, s, n, l) {
|
|
|
5461
5461
|
id: a.ariaControls,
|
|
5462
5462
|
role: "listbox"
|
|
5463
5463
|
}, [
|
|
5464
|
-
t.groups ? (c(!0),
|
|
5464
|
+
t.groups ? (c(!0), f(
|
|
5465
5465
|
oe,
|
|
5466
5466
|
{ key: 0 },
|
|
5467
|
-
he(a.fg, (i, o,
|
|
5467
|
+
he(a.fg, (i, o, v) => (c(), f("li", {
|
|
5468
5468
|
class: W(a.classList.group),
|
|
5469
|
-
key:
|
|
5469
|
+
key: v,
|
|
5470
5470
|
id: a.ariaGroupId(i),
|
|
5471
5471
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
5472
5472
|
"aria-selected": a.isSelected(i),
|
|
5473
5473
|
role: "option"
|
|
5474
5474
|
}, [
|
|
5475
|
-
i.__CREATE__ ? k("v-if", !0) : (c(),
|
|
5475
|
+
i.__CREATE__ ? k("v-if", !0) : (c(), f("div", {
|
|
5476
5476
|
key: 0,
|
|
5477
5477
|
class: W(a.classList.groupLabel(i)),
|
|
5478
5478
|
"data-pointed": a.isPointed(i),
|
|
5479
|
-
onMouseenter: (
|
|
5480
|
-
onClick: (
|
|
5479
|
+
onMouseenter: (d) => a.setPointer(i, o),
|
|
5480
|
+
onClick: (d) => a.handleGroupClick(i)
|
|
5481
5481
|
}, [
|
|
5482
5482
|
K(a.$slots, "grouplabel", {
|
|
5483
5483
|
group: i,
|
|
@@ -5494,23 +5494,23 @@ function $5(a, e, t, s, n, l) {
|
|
|
5494
5494
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
5495
5495
|
role: "group"
|
|
5496
5496
|
}, [
|
|
5497
|
-
(c(!0),
|
|
5497
|
+
(c(!0), f(
|
|
5498
5498
|
oe,
|
|
5499
5499
|
null,
|
|
5500
|
-
he(i.__VISIBLE__, (
|
|
5501
|
-
class: W(a.classList.option(
|
|
5502
|
-
"data-pointed": a.isPointed(
|
|
5503
|
-
"data-selected": a.isSelected(
|
|
5504
|
-
key:
|
|
5505
|
-
onMouseenter: (
|
|
5506
|
-
onClick: (
|
|
5507
|
-
id: a.ariaOptionId(
|
|
5508
|
-
"aria-selected": a.isSelected(
|
|
5509
|
-
"aria-label": a.ariaOptionLabel(a.localize(
|
|
5500
|
+
he(i.__VISIBLE__, (d, u, p) => (c(), f("li", {
|
|
5501
|
+
class: W(a.classList.option(d, i)),
|
|
5502
|
+
"data-pointed": a.isPointed(d),
|
|
5503
|
+
"data-selected": a.isSelected(d) || void 0,
|
|
5504
|
+
key: p,
|
|
5505
|
+
onMouseenter: (h) => a.setPointer(d),
|
|
5506
|
+
onClick: (h) => a.handleOptionClick(d),
|
|
5507
|
+
id: a.ariaOptionId(d),
|
|
5508
|
+
"aria-selected": a.isSelected(d),
|
|
5509
|
+
"aria-label": a.ariaOptionLabel(a.localize(d[t.label])),
|
|
5510
5510
|
role: "option"
|
|
5511
5511
|
}, [
|
|
5512
5512
|
K(a.$slots, "option", {
|
|
5513
|
-
option:
|
|
5513
|
+
option: d,
|
|
5514
5514
|
isSelected: a.isSelected,
|
|
5515
5515
|
isPointed: a.isPointed,
|
|
5516
5516
|
search: a.search
|
|
@@ -5518,7 +5518,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5518
5518
|
r(
|
|
5519
5519
|
"span",
|
|
5520
5520
|
null,
|
|
5521
|
-
R(a.localize(
|
|
5521
|
+
R(a.localize(d[t.label])),
|
|
5522
5522
|
1
|
|
5523
5523
|
/* TEXT */
|
|
5524
5524
|
)
|
|
@@ -5531,16 +5531,16 @@ function $5(a, e, t, s, n, l) {
|
|
|
5531
5531
|
], 10, d5))),
|
|
5532
5532
|
128
|
|
5533
5533
|
/* KEYED_FRAGMENT */
|
|
5534
|
-
)) : (c(!0),
|
|
5534
|
+
)) : (c(!0), f(
|
|
5535
5535
|
oe,
|
|
5536
5536
|
{ key: 1 },
|
|
5537
|
-
he(a.fo, (i, o,
|
|
5537
|
+
he(a.fo, (i, o, v) => (c(), f("li", {
|
|
5538
5538
|
class: W(a.classList.option(i)),
|
|
5539
5539
|
"data-pointed": a.isPointed(i),
|
|
5540
5540
|
"data-selected": a.isSelected(i) || void 0,
|
|
5541
|
-
key:
|
|
5542
|
-
onMouseenter: (
|
|
5543
|
-
onClick: (
|
|
5541
|
+
key: v,
|
|
5542
|
+
onMouseenter: (d) => a.setPointer(i),
|
|
5543
|
+
onClick: (d) => a.handleOptionClick(i),
|
|
5544
5544
|
id: a.ariaOptionId(i),
|
|
5545
5545
|
"aria-selected": a.isSelected(i),
|
|
5546
5546
|
"aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
|
|
@@ -5577,7 +5577,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5577
5577
|
innerHTML: a.localize(t.noResultsText)
|
|
5578
5578
|
}, null, 10, _5)
|
|
5579
5579
|
]) : k("v-if", !0),
|
|
5580
|
-
t.infinite && a.hasMore ? (c(),
|
|
5580
|
+
t.infinite && a.hasMore ? (c(), f(
|
|
5581
5581
|
"div",
|
|
5582
5582
|
{
|
|
5583
5583
|
key: 2,
|
|
@@ -5606,7 +5606,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5606
5606
|
/* CLASS */
|
|
5607
5607
|
),
|
|
5608
5608
|
k(" Hacky input element to show HTML5 required warning "),
|
|
5609
|
-
t.required ? (c(),
|
|
5609
|
+
t.required ? (c(), f("input", {
|
|
5610
5610
|
key: 0,
|
|
5611
5611
|
class: W(a.classList.fakeInput),
|
|
5612
5612
|
tabindex: "-1",
|
|
@@ -5614,19 +5614,19 @@ function $5(a, e, t, s, n, l) {
|
|
|
5614
5614
|
required: ""
|
|
5615
5615
|
}, null, 10, g5)) : k("v-if", !0),
|
|
5616
5616
|
k(" Native input support "),
|
|
5617
|
-
t.nativeSupport ? (c(),
|
|
5617
|
+
t.nativeSupport ? (c(), f(
|
|
5618
5618
|
oe,
|
|
5619
5619
|
{ key: 1 },
|
|
5620
5620
|
[
|
|
5621
|
-
t.mode == "single" ? (c(),
|
|
5621
|
+
t.mode == "single" ? (c(), f("input", {
|
|
5622
5622
|
key: 0,
|
|
5623
5623
|
type: "hidden",
|
|
5624
5624
|
name: t.name,
|
|
5625
5625
|
value: a.plainValue !== void 0 ? a.plainValue : ""
|
|
5626
|
-
}, null, 8, y5)) : (c(!0),
|
|
5626
|
+
}, null, 8, y5)) : (c(!0), f(
|
|
5627
5627
|
oe,
|
|
5628
5628
|
{ key: 1 },
|
|
5629
|
-
he(a.plainValue, (i, o) => (c(),
|
|
5629
|
+
he(a.plainValue, (i, o) => (c(), f("input", {
|
|
5630
5630
|
type: "hidden",
|
|
5631
5631
|
name: `${t.name}[]`,
|
|
5632
5632
|
value: i,
|
|
@@ -5640,7 +5640,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5640
5640
|
/* STABLE_FRAGMENT */
|
|
5641
5641
|
)) : k("v-if", !0),
|
|
5642
5642
|
k(" Screen reader assistive text "),
|
|
5643
|
-
t.searchable && a.hasSelected ? (c(),
|
|
5643
|
+
t.searchable && a.hasSelected ? (c(), f("div", {
|
|
5644
5644
|
key: 2,
|
|
5645
5645
|
class: W(a.classList.assist),
|
|
5646
5646
|
id: a.ariaAssist,
|
|
@@ -5667,7 +5667,7 @@ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { cl
|
|
|
5667
5667
|
__name: "AoModal",
|
|
5668
5668
|
emits: ["close"],
|
|
5669
5669
|
setup(a) {
|
|
5670
|
-
return (e, t) => (c(),
|
|
5670
|
+
return (e, t) => (c(), f("div", M5, [
|
|
5671
5671
|
r("div", {
|
|
5672
5672
|
class: "ao-modal__backdrop",
|
|
5673
5673
|
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
@@ -5675,14 +5675,14 @@ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { cl
|
|
|
5675
5675
|
r("div", k5, [
|
|
5676
5676
|
r("div", S5, [
|
|
5677
5677
|
r("div", T5, [
|
|
5678
|
-
|
|
5678
|
+
M(de, {
|
|
5679
5679
|
"icon-name": "CloseRounded",
|
|
5680
5680
|
variant: "ghost",
|
|
5681
5681
|
color: "primary",
|
|
5682
5682
|
onClick: t[1] || (t[1] = (s) => e.$emit("close"))
|
|
5683
5683
|
})
|
|
5684
5684
|
]),
|
|
5685
|
-
e.$slots.header ? (c(),
|
|
5685
|
+
e.$slots.header ? (c(), f("header", A5, [
|
|
5686
5686
|
K(e.$slots, "header")
|
|
5687
5687
|
])) : k("", !0)
|
|
5688
5688
|
]),
|
|
@@ -5740,87 +5740,87 @@ const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value
|
|
|
5740
5740
|
const t = a, { t: s } = Re(), n = _(
|
|
5741
5741
|
() => {
|
|
5742
5742
|
var u;
|
|
5743
|
-
return ((u = t.users) == null ? void 0 : u.map((
|
|
5744
|
-
label: `${
|
|
5745
|
-
value:
|
|
5743
|
+
return ((u = t.users) == null ? void 0 : u.map((p) => ({
|
|
5744
|
+
label: `${p.firstName} ${p.lastName}`,
|
|
5745
|
+
value: p.id
|
|
5746
5746
|
}))) ?? [];
|
|
5747
5747
|
}
|
|
5748
5748
|
), l = () => {
|
|
5749
|
-
const u = t.tasks.length,
|
|
5749
|
+
const u = t.tasks.length, p = {
|
|
5750
5750
|
name: s("task.defaultName", { idx: u + 1 }),
|
|
5751
5751
|
activityId: t.activityId
|
|
5752
5752
|
};
|
|
5753
|
-
e("add",
|
|
5754
|
-
}, i = (u,
|
|
5753
|
+
e("add", p);
|
|
5754
|
+
}, i = (u, p) => {
|
|
5755
5755
|
const y = u.target.value;
|
|
5756
5756
|
e("update", {
|
|
5757
|
-
id:
|
|
5757
|
+
id: p,
|
|
5758
5758
|
name: y
|
|
5759
5759
|
});
|
|
5760
|
-
}, o = (u,
|
|
5760
|
+
}, o = (u, p) => {
|
|
5761
5761
|
e("update", {
|
|
5762
5762
|
id: u,
|
|
5763
|
-
isDone:
|
|
5763
|
+
isDone: p
|
|
5764
5764
|
});
|
|
5765
|
-
},
|
|
5765
|
+
}, v = (u) => {
|
|
5766
5766
|
e("delete", { id: u });
|
|
5767
|
-
},
|
|
5767
|
+
}, d = (u, p) => {
|
|
5768
5768
|
e("update", {
|
|
5769
|
-
id:
|
|
5769
|
+
id: p,
|
|
5770
5770
|
assigneeId: u
|
|
5771
5771
|
});
|
|
5772
5772
|
};
|
|
5773
|
-
return (u,
|
|
5773
|
+
return (u, p) => (c(), f("div", L5, [
|
|
5774
5774
|
r("ul", E5, [
|
|
5775
|
-
(c(!0),
|
|
5775
|
+
(c(!0), f(oe, null, he(u.tasks, (h) => {
|
|
5776
5776
|
var y;
|
|
5777
|
-
return c(),
|
|
5778
|
-
key:
|
|
5777
|
+
return c(), f("li", {
|
|
5778
|
+
key: h.id,
|
|
5779
5779
|
class: "ao-subtask"
|
|
5780
5780
|
}, [
|
|
5781
5781
|
u.isCheckable ? (c(), U(de, {
|
|
5782
5782
|
key: 0,
|
|
5783
5783
|
class: "ao-subtask__delete",
|
|
5784
|
-
"icon-name":
|
|
5784
|
+
"icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
5785
5785
|
variant: "ghost",
|
|
5786
|
-
onClick: () => o(
|
|
5786
|
+
onClick: () => o(h.id, !h.isDone)
|
|
5787
5787
|
}, null, 8, ["icon-name", "onClick"])) : k("", !0),
|
|
5788
5788
|
r("input", {
|
|
5789
|
-
value:
|
|
5789
|
+
value: h.name,
|
|
5790
5790
|
class: "ao-field__input ao-subtask__field",
|
|
5791
5791
|
type: "text",
|
|
5792
|
-
onChange: (
|
|
5792
|
+
onChange: (w) => i(w, h.id)
|
|
5793
5793
|
}, null, 40, V5),
|
|
5794
5794
|
u.users ? (c(), U(H(pe), {
|
|
5795
5795
|
key: 1,
|
|
5796
|
-
value: (y =
|
|
5796
|
+
value: (y = h.assignee) == null ? void 0 : y.id,
|
|
5797
5797
|
options: n.value,
|
|
5798
5798
|
"close-on-select": !1,
|
|
5799
5799
|
searchable: !0,
|
|
5800
5800
|
class: "ao-subtask__assignees",
|
|
5801
5801
|
placeholder: u.$t("feed.filters.assignee.placeholder"),
|
|
5802
|
-
onChange: (
|
|
5802
|
+
onChange: (w) => d(w, h.id)
|
|
5803
5803
|
}, {
|
|
5804
|
-
tag: q(({ option:
|
|
5805
|
-
|
|
5806
|
-
"user-name":
|
|
5804
|
+
tag: q(({ option: w, handleTagRemove: I }) => [
|
|
5805
|
+
M(tt, {
|
|
5806
|
+
"user-name": w.label,
|
|
5807
5807
|
"is-closable": !0,
|
|
5808
|
-
onClose: (E) => I(
|
|
5808
|
+
onClose: (E) => I(w, E)
|
|
5809
5809
|
}, null, 8, ["user-name", "onClose"])
|
|
5810
5810
|
]),
|
|
5811
5811
|
_: 2
|
|
5812
5812
|
}, 1032, ["value", "options", "placeholder", "onChange"])) : k("", !0),
|
|
5813
|
-
|
|
5813
|
+
M(de, {
|
|
5814
5814
|
class: "ao-subtask__delete",
|
|
5815
5815
|
"icon-name": "CloseRounded",
|
|
5816
5816
|
variant: "ghost",
|
|
5817
|
-
onClick: () =>
|
|
5817
|
+
onClick: () => v(h.id)
|
|
5818
5818
|
}, null, 8, ["onClick"])
|
|
5819
5819
|
]);
|
|
5820
5820
|
}), 128))
|
|
5821
5821
|
]),
|
|
5822
5822
|
r("div", H5, [
|
|
5823
|
-
|
|
5823
|
+
M(de, {
|
|
5824
5824
|
label: u.$t("activity.tasks.add"),
|
|
5825
5825
|
"icon-name": "Add",
|
|
5826
5826
|
variant: "ghost",
|
|
@@ -5844,20 +5844,20 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5844
5844
|
},
|
|
5845
5845
|
emits: ["add", "toggleIsDropActive", "remove"],
|
|
5846
5846
|
setup(a, { emit: e }) {
|
|
5847
|
-
const t = (
|
|
5848
|
-
e("remove",
|
|
5849
|
-
}, s = (
|
|
5850
|
-
const u =
|
|
5851
|
-
e("add",
|
|
5847
|
+
const t = (d) => {
|
|
5848
|
+
e("remove", d);
|
|
5849
|
+
}, s = (d) => {
|
|
5850
|
+
const u = d.target, p = Array.from(u.files ?? []);
|
|
5851
|
+
e("add", p);
|
|
5852
5852
|
}, n = ["dragenter", "dragover", "dragleave", "drop"];
|
|
5853
5853
|
Ot(() => {
|
|
5854
|
-
n.forEach((
|
|
5855
|
-
document.body.addEventListener(
|
|
5854
|
+
n.forEach((d) => {
|
|
5855
|
+
document.body.addEventListener(d, (u) => u.preventDefault());
|
|
5856
5856
|
});
|
|
5857
5857
|
}), ga(() => {
|
|
5858
|
-
n.forEach((
|
|
5858
|
+
n.forEach((d) => {
|
|
5859
5859
|
document.body.removeEventListener(
|
|
5860
|
-
|
|
5860
|
+
d,
|
|
5861
5861
|
(u) => u.preventDefault()
|
|
5862
5862
|
);
|
|
5863
5863
|
});
|
|
@@ -5869,60 +5869,60 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5869
5869
|
function o() {
|
|
5870
5870
|
l.value = !1;
|
|
5871
5871
|
}
|
|
5872
|
-
fe(l, (
|
|
5873
|
-
e("toggleIsDropActive",
|
|
5872
|
+
fe(l, (d) => {
|
|
5873
|
+
e("toggleIsDropActive", d);
|
|
5874
5874
|
});
|
|
5875
|
-
function d
|
|
5876
|
-
var
|
|
5875
|
+
function v(d) {
|
|
5876
|
+
var p;
|
|
5877
5877
|
o();
|
|
5878
|
-
const u = Array.from(((
|
|
5879
|
-
|
|
5878
|
+
const u = Array.from(((p = d.dataTransfer) == null ? void 0 : p.files) || []);
|
|
5879
|
+
d.dataTransfer && e("add", u);
|
|
5880
5880
|
}
|
|
5881
|
-
return (
|
|
5882
|
-
var
|
|
5883
|
-
return c(),
|
|
5881
|
+
return (d, u) => {
|
|
5882
|
+
var p;
|
|
5883
|
+
return c(), f("div", {
|
|
5884
5884
|
class: W([
|
|
5885
5885
|
"ao-files__wrapper",
|
|
5886
5886
|
{
|
|
5887
5887
|
"ao-files__wrapper--drop-active": l.value
|
|
5888
5888
|
}
|
|
5889
5889
|
]),
|
|
5890
|
-
onDrop: ke(
|
|
5890
|
+
onDrop: ke(v, ["prevent"]),
|
|
5891
5891
|
onDragenter: ke(i, ["prevent"]),
|
|
5892
5892
|
onDragover: ke(i, ["prevent"]),
|
|
5893
5893
|
onDragleave: ke(o, ["prevent"])
|
|
5894
5894
|
}, [
|
|
5895
|
-
(
|
|
5896
|
-
(c(!0),
|
|
5897
|
-
key:
|
|
5895
|
+
(p = d.attachments) != null && p.length && d.attachments.length > 0 ? (c(), f("ul", N5, [
|
|
5896
|
+
(c(!0), f(oe, null, he(d.attachments, (h) => (c(), f("li", {
|
|
5897
|
+
key: h.id,
|
|
5898
5898
|
class: "ao-file"
|
|
5899
5899
|
}, [
|
|
5900
5900
|
r("a", {
|
|
5901
5901
|
class: "ao-file__link",
|
|
5902
|
-
href:
|
|
5902
|
+
href: h.url,
|
|
5903
5903
|
target: "_blank",
|
|
5904
5904
|
rel: "noopener noreferrer"
|
|
5905
5905
|
}, [
|
|
5906
|
-
|
|
5906
|
+
M(ie, {
|
|
5907
5907
|
class: "ao-file__icon",
|
|
5908
5908
|
name: "AttachFileRounded",
|
|
5909
5909
|
size: "sm"
|
|
5910
5910
|
}),
|
|
5911
|
-
r("span", Z5, R(
|
|
5911
|
+
r("span", Z5, R(h.name), 1)
|
|
5912
5912
|
], 8, B5),
|
|
5913
|
-
|
|
5913
|
+
M(de, {
|
|
5914
5914
|
class: "ao-files__delete-button",
|
|
5915
5915
|
"icon-name": "DeleteOutlineRounded",
|
|
5916
5916
|
variant: "ghost",
|
|
5917
5917
|
color: "primary",
|
|
5918
5918
|
size: "md",
|
|
5919
5919
|
corners: "round",
|
|
5920
|
-
onClick: () => t(
|
|
5920
|
+
onClick: () => t(h)
|
|
5921
5921
|
}, null, 8, ["onClick"])
|
|
5922
5922
|
]))), 128))
|
|
5923
|
-
])) : (c(),
|
|
5923
|
+
])) : (c(), f("div", U5, [
|
|
5924
5924
|
r("label", j5, [
|
|
5925
|
-
r("span", R5, R(
|
|
5925
|
+
r("span", R5, R(d.$t("activity.attachment.button.resting")), 1),
|
|
5926
5926
|
r("input", {
|
|
5927
5927
|
class: "input-field",
|
|
5928
5928
|
type: "file",
|
|
@@ -5932,7 +5932,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5932
5932
|
onChange: s
|
|
5933
5933
|
}, null, 32)
|
|
5934
5934
|
]),
|
|
5935
|
-
r("span", q5, R(
|
|
5935
|
+
r("span", q5, R(d.$t("activity.attachment.placeholder.resting")), 1)
|
|
5936
5936
|
]))
|
|
5937
5937
|
], 42, P5);
|
|
5938
5938
|
};
|
|
@@ -5941,7 +5941,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5941
5941
|
const z5 = {
|
|
5942
5942
|
key: 0,
|
|
5943
5943
|
class: "ao-activity__category"
|
|
5944
|
-
}, W5 = { class: "ao-activity-details__content" }, Y5 = { class: "ao-fieldset" }, G5 = { class: "ao-field__row" }, K5 = { class: "ao-field ao-field--full" }, x5 = { class: "ao-field__label" }, X5 = { class: "ao-field__row" }, Q5 = { class: "ao-field" }, J5 = { class: "ao-field__label" }, e7 = { class: "ao-field" }, t7 = { class: "ao-field__label" }, a7 = { class: "ao-field__row" }, n7 = { class: "ao-field ao-field--multiselect" }, s7 = { class: "ao-field__label" }, i7 = { class: "ao-field__row" }, l7 = { class: "ao-field ao-field--multiselect" }, o7 = { class: "ao-field__label" }, r7 = { class: "ao-fieldset" }, u7 = { class: "ao-fieldset__title" }, c7 = { class: "ao-field__row" }, d7 = { class: "ao-field ao-field--multiselect" }, v7 = { class: "ao-field__label" }, m7 = { class: "ao-field__row" }, f7 = { class: "ao-field ao-field--multiselect" }, h7 = { class: "ao-field__label" }, p7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-field__label" }, g7 = { class: "ao-fieldset" }, y7 = { class: "ao-fieldset__title" }, b7 = { class: "ao-activity-details__aside" }, w7 = { class: "ao-fieldset__title" },
|
|
5944
|
+
}, W5 = { class: "ao-activity-details__content" }, Y5 = { class: "ao-fieldset" }, G5 = { class: "ao-field__row" }, K5 = { class: "ao-field ao-field--full" }, x5 = { class: "ao-field__label" }, X5 = { class: "ao-field__row" }, Q5 = { class: "ao-field" }, J5 = { class: "ao-field__label" }, e7 = { class: "ao-field" }, t7 = { class: "ao-field__label" }, a7 = { class: "ao-field__row" }, n7 = { class: "ao-field ao-field--multiselect" }, s7 = { class: "ao-field__label" }, i7 = { class: "ao-field__row" }, l7 = { class: "ao-field ao-field--multiselect" }, o7 = { class: "ao-field__label" }, r7 = { class: "ao-fieldset" }, u7 = { class: "ao-fieldset__title" }, c7 = { class: "ao-field__row" }, d7 = { class: "ao-field ao-field--multiselect" }, v7 = { class: "ao-field__label" }, m7 = { class: "ao-field__row" }, f7 = { class: "ao-field ao-field--multiselect" }, h7 = { class: "ao-field__label" }, p7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-field__label" }, g7 = { class: "ao-fieldset" }, y7 = { class: "ao-fieldset__title" }, b7 = { class: "ao-activity-details__aside" }, w7 = { class: "ao-fieldset__title" }, i1 = /* @__PURE__ */ Y({
|
|
5945
5945
|
__name: "AoActivityDetails",
|
|
5946
5946
|
props: {
|
|
5947
5947
|
activity: {},
|
|
@@ -5955,130 +5955,130 @@ const z5 = {
|
|
|
5955
5955
|
},
|
|
5956
5956
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile"],
|
|
5957
5957
|
setup(a, { emit: e }) {
|
|
5958
|
-
const t = a, s = (
|
|
5958
|
+
const t = a, s = (C) => {
|
|
5959
5959
|
e("update:activity", {
|
|
5960
5960
|
id: t.activity.id,
|
|
5961
|
-
name:
|
|
5961
|
+
name: C
|
|
5962
5962
|
});
|
|
5963
5963
|
}, n = _({
|
|
5964
5964
|
get() {
|
|
5965
5965
|
return t.activity.description ?? "";
|
|
5966
5966
|
},
|
|
5967
|
-
set(
|
|
5968
|
-
e("update:activity", { id: t.activity.id, description:
|
|
5967
|
+
set(C) {
|
|
5968
|
+
e("update:activity", { id: t.activity.id, description: C });
|
|
5969
5969
|
}
|
|
5970
5970
|
}), l = _({
|
|
5971
5971
|
get() {
|
|
5972
5972
|
return t.activity.estimation ?? 0;
|
|
5973
5973
|
},
|
|
5974
|
-
set(
|
|
5975
|
-
e("update:activity", { id: t.activity.id, estimation:
|
|
5974
|
+
set(C) {
|
|
5975
|
+
e("update:activity", { id: t.activity.id, estimation: C });
|
|
5976
5976
|
}
|
|
5977
5977
|
}), i = _({
|
|
5978
5978
|
get() {
|
|
5979
5979
|
return t.activity.important ?? !1;
|
|
5980
5980
|
},
|
|
5981
|
-
set(
|
|
5982
|
-
e("update:activity", { id: t.activity.id, important:
|
|
5981
|
+
set(C) {
|
|
5982
|
+
e("update:activity", { id: t.activity.id, important: C });
|
|
5983
5983
|
}
|
|
5984
5984
|
}), o = _({
|
|
5985
5985
|
get() {
|
|
5986
|
-
var
|
|
5987
|
-
return (
|
|
5986
|
+
var C;
|
|
5987
|
+
return (C = t.activity.type) == null ? void 0 : C.id;
|
|
5988
5988
|
},
|
|
5989
|
-
set(
|
|
5990
|
-
e("update:activity", { id: t.activity.id, typeId:
|
|
5989
|
+
set(C) {
|
|
5990
|
+
e("update:activity", { id: t.activity.id, typeId: C });
|
|
5991
5991
|
}
|
|
5992
|
-
}),
|
|
5993
|
-
label:
|
|
5994
|
-
value:
|
|
5995
|
-
}))),
|
|
5992
|
+
}), v = _(() => t.templateActivities.filter((C) => C.id !== t.activity.id).map((C) => ({
|
|
5993
|
+
label: C.name,
|
|
5994
|
+
value: C.id
|
|
5995
|
+
}))), d = _({
|
|
5996
5996
|
get() {
|
|
5997
5997
|
return t.activity.dependingOn;
|
|
5998
5998
|
},
|
|
5999
|
-
set(
|
|
6000
|
-
|
|
5999
|
+
set(C) {
|
|
6000
|
+
C && e("update:activity", {
|
|
6001
6001
|
id: t.activity.id,
|
|
6002
|
-
dependingOn:
|
|
6002
|
+
dependingOn: C
|
|
6003
6003
|
});
|
|
6004
6004
|
}
|
|
6005
|
-
}), u = _(() =>
|
|
6005
|
+
}), u = _(() => v.value.map((C) => {
|
|
6006
6006
|
var L;
|
|
6007
6007
|
return {
|
|
6008
|
-
...
|
|
6009
|
-
disabled: (L = t.activity.blocking) == null ? void 0 : L.some((B) => B ===
|
|
6008
|
+
...C,
|
|
6009
|
+
disabled: (L = t.activity.blocking) == null ? void 0 : L.some((B) => B === C.value)
|
|
6010
6010
|
};
|
|
6011
|
-
})),
|
|
6011
|
+
})), p = _({
|
|
6012
6012
|
get() {
|
|
6013
6013
|
return t.activity.blocking;
|
|
6014
6014
|
},
|
|
6015
|
-
set(
|
|
6016
|
-
|
|
6015
|
+
set(C) {
|
|
6016
|
+
C && e("update:activity", {
|
|
6017
6017
|
id: t.activity.id,
|
|
6018
|
-
blocking:
|
|
6018
|
+
blocking: C
|
|
6019
6019
|
});
|
|
6020
6020
|
}
|
|
6021
|
-
}),
|
|
6021
|
+
}), h = _(() => v.value.map((C) => {
|
|
6022
6022
|
var L;
|
|
6023
6023
|
return {
|
|
6024
|
-
...
|
|
6025
|
-
disabled: (L = t.activity.dependingOn) == null ? void 0 : L.some((B) => B ===
|
|
6024
|
+
...C,
|
|
6025
|
+
disabled: (L = t.activity.dependingOn) == null ? void 0 : L.some((B) => B === C.value)
|
|
6026
6026
|
};
|
|
6027
6027
|
})), y = _(() => (t.templateMilestones || []).filter((L) => L.id !== t.milestoneId).map((L) => ({
|
|
6028
6028
|
label: L.name,
|
|
6029
6029
|
value: L.id
|
|
6030
|
-
}))),
|
|
6030
|
+
}))), w = _({
|
|
6031
6031
|
get() {
|
|
6032
6032
|
return t.activity.dependingMilestones;
|
|
6033
6033
|
},
|
|
6034
|
-
set(
|
|
6034
|
+
set(C) {
|
|
6035
6035
|
e("update:activity", {
|
|
6036
6036
|
id: t.activity.id,
|
|
6037
|
-
dependingMilestones:
|
|
6037
|
+
dependingMilestones: C
|
|
6038
6038
|
});
|
|
6039
6039
|
}
|
|
6040
|
-
}), I = (
|
|
6041
|
-
e("addSubtask",
|
|
6042
|
-
}, E = (
|
|
6043
|
-
e("updateSubtask",
|
|
6044
|
-
}, b = (
|
|
6045
|
-
e("deleteSubtask",
|
|
6046
|
-
},
|
|
6047
|
-
var
|
|
6048
|
-
return ((
|
|
6040
|
+
}), I = (C) => {
|
|
6041
|
+
e("addSubtask", C);
|
|
6042
|
+
}, E = (C) => {
|
|
6043
|
+
e("updateSubtask", C);
|
|
6044
|
+
}, b = (C) => {
|
|
6045
|
+
e("deleteSubtask", C);
|
|
6046
|
+
}, $ = _(() => {
|
|
6047
|
+
var C;
|
|
6048
|
+
return ((C = t.users) == null ? void 0 : C.map((L) => ({
|
|
6049
6049
|
label: `${L.firstName} ${L.lastName}`,
|
|
6050
6050
|
value: L.id
|
|
6051
6051
|
}))) || [];
|
|
6052
6052
|
}), D = _({
|
|
6053
6053
|
get() {
|
|
6054
|
-
var
|
|
6055
|
-
return (
|
|
6054
|
+
var C;
|
|
6055
|
+
return (C = t.activity.assignee) == null ? void 0 : C.id;
|
|
6056
6056
|
},
|
|
6057
|
-
set(
|
|
6057
|
+
set(C) {
|
|
6058
6058
|
e("update:activity", {
|
|
6059
6059
|
id: t.activity.id,
|
|
6060
|
-
assigneeId:
|
|
6060
|
+
assigneeId: C
|
|
6061
6061
|
});
|
|
6062
6062
|
}
|
|
6063
|
-
}), X = (
|
|
6063
|
+
}), X = (C) => {
|
|
6064
6064
|
e("addFiles", {
|
|
6065
6065
|
activityId: t.activity.id,
|
|
6066
|
-
files:
|
|
6066
|
+
files: C
|
|
6067
6067
|
});
|
|
6068
|
-
}, ne = (
|
|
6068
|
+
}, ne = (C) => {
|
|
6069
6069
|
e("removeFile", {
|
|
6070
6070
|
activityId: t.activity.id,
|
|
6071
|
-
file:
|
|
6071
|
+
file: C
|
|
6072
6072
|
});
|
|
6073
6073
|
};
|
|
6074
|
-
return (
|
|
6075
|
-
onClose: L[8] || (L[8] = (B) =>
|
|
6074
|
+
return (C, L) => (c(), U(q1, {
|
|
6075
|
+
onClose: L[8] || (L[8] = (B) => C.$emit("close"))
|
|
6076
6076
|
}, {
|
|
6077
6077
|
header: q(() => [
|
|
6078
|
-
K(
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
title:
|
|
6078
|
+
K(C.$slots, "header", {}, () => [
|
|
6079
|
+
C.breadcrumbs ? (c(), f("div", z5, R(C.breadcrumbs), 1)) : k("", !0),
|
|
6080
|
+
M(ve, {
|
|
6081
|
+
title: C.activity.name || C.activity.id,
|
|
6082
6082
|
level: 4,
|
|
6083
6083
|
"is-editable": !0,
|
|
6084
6084
|
"onUpdate:title": s
|
|
@@ -6090,7 +6090,7 @@ const z5 = {
|
|
|
6090
6090
|
r("fieldset", Y5, [
|
|
6091
6091
|
r("div", G5, [
|
|
6092
6092
|
r("label", K5, [
|
|
6093
|
-
r("span", x5, R(
|
|
6093
|
+
r("span", x5, R(C.$t("activity.description.label")), 1),
|
|
6094
6094
|
xe(r("textarea", {
|
|
6095
6095
|
"onUpdate:modelValue": L[0] || (L[0] = (B) => n.value = B),
|
|
6096
6096
|
rows: "4",
|
|
@@ -6110,7 +6110,7 @@ const z5 = {
|
|
|
6110
6110
|
]),
|
|
6111
6111
|
r("div", X5, [
|
|
6112
6112
|
r("label", Q5, [
|
|
6113
|
-
r("span", J5, R(
|
|
6113
|
+
r("span", J5, R(C.$t("activity.estimation.label")), 1),
|
|
6114
6114
|
xe(r("input", {
|
|
6115
6115
|
"onUpdate:modelValue": L[1] || (L[1] = (B) => l.value = B),
|
|
6116
6116
|
class: "ao-field__input",
|
|
@@ -6129,7 +6129,7 @@ const z5 = {
|
|
|
6129
6129
|
])
|
|
6130
6130
|
]),
|
|
6131
6131
|
r("label", e7, [
|
|
6132
|
-
r("span", t7, R(
|
|
6132
|
+
r("span", t7, R(C.$t("activity.important.label")), 1),
|
|
6133
6133
|
xe(r("input", {
|
|
6134
6134
|
"onUpdate:modelValue": L[2] || (L[2] = (B) => i.value = B),
|
|
6135
6135
|
class: "ao-field__input",
|
|
@@ -6146,18 +6146,18 @@ const z5 = {
|
|
|
6146
6146
|
]),
|
|
6147
6147
|
r("div", a7, [
|
|
6148
6148
|
r("div", n7, [
|
|
6149
|
-
r("span", s7, R(
|
|
6150
|
-
|
|
6149
|
+
r("span", s7, R(C.$t("activity.assignee.label")), 1),
|
|
6150
|
+
M(H(pe), {
|
|
6151
6151
|
modelValue: D.value,
|
|
6152
6152
|
"onUpdate:modelValue": L[3] || (L[3] = (B) => D.value = B),
|
|
6153
|
-
options:
|
|
6153
|
+
options: $.value,
|
|
6154
6154
|
"close-on-select": !1,
|
|
6155
6155
|
searchable: !0,
|
|
6156
6156
|
class: "ao-activity-details__assignees",
|
|
6157
|
-
placeholder:
|
|
6157
|
+
placeholder: C.$t("activity.filters.assignee.placeholder")
|
|
6158
6158
|
}, {
|
|
6159
6159
|
tag: q(({ option: B, handleTagRemove: J }) => [
|
|
6160
|
-
|
|
6160
|
+
M(tt, {
|
|
6161
6161
|
"user-name": B.label,
|
|
6162
6162
|
"is-closable": !0,
|
|
6163
6163
|
onClose: (se) => J(B, se)
|
|
@@ -6169,34 +6169,34 @@ const z5 = {
|
|
|
6169
6169
|
]),
|
|
6170
6170
|
r("div", i7, [
|
|
6171
6171
|
r("label", l7, [
|
|
6172
|
-
r("span", o7, R(
|
|
6173
|
-
|
|
6172
|
+
r("span", o7, R(C.$t("activity.type.label")), 1),
|
|
6173
|
+
M(H(pe), {
|
|
6174
6174
|
modelValue: o.value,
|
|
6175
6175
|
"onUpdate:modelValue": L[4] || (L[4] = (B) => o.value = B),
|
|
6176
6176
|
class: "ao-field__multiselect",
|
|
6177
6177
|
mode: "single",
|
|
6178
6178
|
searchable: !0,
|
|
6179
6179
|
"create-option": !0,
|
|
6180
|
-
options:
|
|
6181
|
-
placeholder:
|
|
6180
|
+
options: C.activityTypes,
|
|
6181
|
+
placeholder: C.$t("activity.filters.type.placeholder")
|
|
6182
6182
|
}, null, 8, ["modelValue", "options", "placeholder"])
|
|
6183
6183
|
])
|
|
6184
6184
|
])
|
|
6185
6185
|
]),
|
|
6186
6186
|
r("fieldset", r7, [
|
|
6187
6187
|
r("div", u7, [
|
|
6188
|
-
|
|
6189
|
-
|
|
6188
|
+
M(ie, { name: "FlowsheetOutlineRounded" }),
|
|
6189
|
+
M(ve, {
|
|
6190
6190
|
level: 4,
|
|
6191
|
-
title:
|
|
6191
|
+
title: C.$t("activity.dependencies.title")
|
|
6192
6192
|
}, null, 8, ["title"])
|
|
6193
6193
|
]),
|
|
6194
6194
|
r("div", c7, [
|
|
6195
6195
|
r("label", d7, [
|
|
6196
|
-
r("span", v7, R(
|
|
6197
|
-
|
|
6198
|
-
modelValue:
|
|
6199
|
-
"onUpdate:modelValue": L[5] || (L[5] = (B) =>
|
|
6196
|
+
r("span", v7, R(C.$t("activity.dependingOn.label")), 1),
|
|
6197
|
+
M(H(pe), {
|
|
6198
|
+
modelValue: d.value,
|
|
6199
|
+
"onUpdate:modelValue": L[5] || (L[5] = (B) => d.value = B),
|
|
6200
6200
|
class: "ao-field__multiselect",
|
|
6201
6201
|
mode: "tags",
|
|
6202
6202
|
"close-on-select": !1,
|
|
@@ -6207,24 +6207,24 @@ const z5 = {
|
|
|
6207
6207
|
]),
|
|
6208
6208
|
r("div", m7, [
|
|
6209
6209
|
r("label", f7, [
|
|
6210
|
-
r("span", h7, R(
|
|
6211
|
-
|
|
6212
|
-
modelValue:
|
|
6213
|
-
"onUpdate:modelValue": L[6] || (L[6] = (B) =>
|
|
6210
|
+
r("span", h7, R(C.$t("activity.blocking.label")), 1),
|
|
6211
|
+
M(H(pe), {
|
|
6212
|
+
modelValue: p.value,
|
|
6213
|
+
"onUpdate:modelValue": L[6] || (L[6] = (B) => p.value = B),
|
|
6214
6214
|
class: "ao-field__multiselect",
|
|
6215
6215
|
mode: "tags",
|
|
6216
6216
|
"close-on-select": !1,
|
|
6217
6217
|
searchable: !0,
|
|
6218
|
-
options:
|
|
6218
|
+
options: h.value
|
|
6219
6219
|
}, null, 8, ["modelValue", "options"])
|
|
6220
6220
|
])
|
|
6221
6221
|
]),
|
|
6222
6222
|
r("div", p7, [
|
|
6223
6223
|
r("label", C7, [
|
|
6224
|
-
r("span", _7, R(
|
|
6225
|
-
|
|
6226
|
-
modelValue:
|
|
6227
|
-
"onUpdate:modelValue": L[7] || (L[7] = (B) =>
|
|
6224
|
+
r("span", _7, R(C.$t("activity.dependingMilestone.label")), 1),
|
|
6225
|
+
M(H(pe), {
|
|
6226
|
+
modelValue: w.value,
|
|
6227
|
+
"onUpdate:modelValue": L[7] || (L[7] = (B) => w.value = B),
|
|
6228
6228
|
class: "ao-field__multiselect",
|
|
6229
6229
|
mode: "tags",
|
|
6230
6230
|
"close-on-select": !1,
|
|
@@ -6236,34 +6236,34 @@ const z5 = {
|
|
|
6236
6236
|
]),
|
|
6237
6237
|
r("fieldset", g7, [
|
|
6238
6238
|
r("div", y7, [
|
|
6239
|
-
|
|
6240
|
-
|
|
6239
|
+
M(ie, { name: "SelectCheckBox" }),
|
|
6240
|
+
M(ve, {
|
|
6241
6241
|
level: 4,
|
|
6242
|
-
title:
|
|
6242
|
+
title: C.$t("activity.tasks.title")
|
|
6243
6243
|
}, null, 8, ["title"])
|
|
6244
6244
|
]),
|
|
6245
|
-
|
|
6245
|
+
M(D5, {
|
|
6246
6246
|
class: "ao-activity-details__tasks",
|
|
6247
|
-
tasks:
|
|
6248
|
-
"activity-id":
|
|
6249
|
-
users:
|
|
6247
|
+
tasks: C.activity.tasks || [],
|
|
6248
|
+
"activity-id": C.activity.id,
|
|
6249
|
+
users: C.users,
|
|
6250
6250
|
onAdd: I,
|
|
6251
6251
|
onUpdate: E,
|
|
6252
6252
|
onDelete: b
|
|
6253
6253
|
}, null, 8, ["tasks", "activity-id", "users"])
|
|
6254
6254
|
]),
|
|
6255
|
-
K(
|
|
6255
|
+
K(C.$slots, "default")
|
|
6256
6256
|
]),
|
|
6257
6257
|
r("div", b7, [
|
|
6258
6258
|
r("div", w7, [
|
|
6259
|
-
|
|
6260
|
-
|
|
6259
|
+
M(ie, { name: "AttachFileRounded" }),
|
|
6260
|
+
M(ve, {
|
|
6261
6261
|
level: 4,
|
|
6262
|
-
title:
|
|
6262
|
+
title: C.$t("activity.attachments.title")
|
|
6263
6263
|
}, null, 8, ["title"])
|
|
6264
6264
|
]),
|
|
6265
|
-
|
|
6266
|
-
attachments:
|
|
6265
|
+
M(F5, {
|
|
6266
|
+
attachments: C.activity.attachments,
|
|
6267
6267
|
onAdd: X,
|
|
6268
6268
|
onRemove: ne
|
|
6269
6269
|
}, null, 8, ["attachments"])
|
|
@@ -6349,30 +6349,30 @@ const xd = {
|
|
|
6349
6349
|
});
|
|
6350
6350
|
}
|
|
6351
6351
|
}), o = _(() => {
|
|
6352
|
-
var
|
|
6353
|
-
return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (
|
|
6352
|
+
var $;
|
|
6353
|
+
return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : ($ = {
|
|
6354
6354
|
[ue.ACTIVITIES]: t.templateActivities,
|
|
6355
6355
|
[ue.MILESTONES]: t.templateMilestones,
|
|
6356
6356
|
[ue.PHASES]: t.templatePhases
|
|
6357
|
-
}[s.value]) == null ? void 0 :
|
|
6357
|
+
}[s.value]) == null ? void 0 : $.map((D) => ({
|
|
6358
6358
|
value: D.id,
|
|
6359
6359
|
label: D.name
|
|
6360
6360
|
}));
|
|
6361
|
-
}),
|
|
6361
|
+
}), v = ct(t.rule.comparator), d = _({
|
|
6362
6362
|
get() {
|
|
6363
|
-
return
|
|
6363
|
+
return v.value;
|
|
6364
6364
|
},
|
|
6365
6365
|
set(b) {
|
|
6366
6366
|
e("update:rule", { ...t.rule, comparator: b });
|
|
6367
6367
|
}
|
|
6368
|
-
}), u = _(() => Object.values(M7)),
|
|
6368
|
+
}), u = _(() => Object.values(M7)), p = ct(t.rule.trigger), h = _({
|
|
6369
6369
|
get() {
|
|
6370
|
-
return
|
|
6370
|
+
return p.value;
|
|
6371
6371
|
},
|
|
6372
6372
|
set(b) {
|
|
6373
6373
|
e("update:rule", { ...t.rule, trigger: b });
|
|
6374
6374
|
}
|
|
6375
|
-
}), y = _(() => Object.values(k7)),
|
|
6375
|
+
}), y = _(() => Object.values(k7)), w = _({
|
|
6376
6376
|
get() {
|
|
6377
6377
|
return t.rule.duration;
|
|
6378
6378
|
},
|
|
@@ -6387,50 +6387,50 @@ const xd = {
|
|
|
6387
6387
|
e("update:rule", { ...t.rule, durationUnit: b });
|
|
6388
6388
|
}
|
|
6389
6389
|
}), E = _(() => Object.values(S7));
|
|
6390
|
-
return (b,
|
|
6390
|
+
return (b, $) => (c(), U(Je(b.tagName), { class: "ao-rule-line" }, {
|
|
6391
6391
|
default: q(() => [
|
|
6392
|
-
|
|
6392
|
+
M(H(pe), {
|
|
6393
6393
|
modelValue: n.value,
|
|
6394
|
-
"onUpdate:modelValue":
|
|
6394
|
+
"onUpdate:modelValue": $[0] || ($[0] = (D) => n.value = D),
|
|
6395
6395
|
options: l.value
|
|
6396
6396
|
}, null, 8, ["modelValue", "options"]),
|
|
6397
|
-
|
|
6397
|
+
M(H(pe), {
|
|
6398
6398
|
modelValue: i.value,
|
|
6399
|
-
"onUpdate:modelValue":
|
|
6399
|
+
"onUpdate:modelValue": $[1] || ($[1] = (D) => i.value = D),
|
|
6400
6400
|
options: o.value
|
|
6401
6401
|
}, null, 8, ["modelValue", "options"]),
|
|
6402
|
-
|
|
6403
|
-
modelValue:
|
|
6404
|
-
"onUpdate:modelValue":
|
|
6402
|
+
M(H(pe), {
|
|
6403
|
+
modelValue: h.value,
|
|
6404
|
+
"onUpdate:modelValue": $[2] || ($[2] = (D) => h.value = D),
|
|
6405
6405
|
options: y.value
|
|
6406
6406
|
}, null, 8, ["modelValue", "options"]),
|
|
6407
|
-
|
|
6408
|
-
modelValue:
|
|
6409
|
-
"onUpdate:modelValue":
|
|
6407
|
+
M(H(pe), {
|
|
6408
|
+
modelValue: d.value,
|
|
6409
|
+
"onUpdate:modelValue": $[3] || ($[3] = (D) => d.value = D),
|
|
6410
6410
|
options: u.value
|
|
6411
6411
|
}, null, 8, ["modelValue", "options"]),
|
|
6412
6412
|
xe(r("input", {
|
|
6413
|
-
"onUpdate:modelValue":
|
|
6413
|
+
"onUpdate:modelValue": $[4] || ($[4] = (D) => w.value = D),
|
|
6414
6414
|
type: "number",
|
|
6415
6415
|
min: "0"
|
|
6416
6416
|
}, null, 512), [
|
|
6417
6417
|
[
|
|
6418
6418
|
ft,
|
|
6419
|
-
|
|
6419
|
+
w.value,
|
|
6420
6420
|
void 0,
|
|
6421
6421
|
{ number: !0 }
|
|
6422
6422
|
]
|
|
6423
6423
|
]),
|
|
6424
|
-
|
|
6424
|
+
M(H(pe), {
|
|
6425
6425
|
modelValue: I.value,
|
|
6426
|
-
"onUpdate:modelValue":
|
|
6426
|
+
"onUpdate:modelValue": $[5] || ($[5] = (D) => I.value = D),
|
|
6427
6427
|
options: E.value
|
|
6428
6428
|
}, null, 8, ["modelValue", "options"]),
|
|
6429
|
-
|
|
6429
|
+
M(de, {
|
|
6430
6430
|
class: "ao-rule-line__remove",
|
|
6431
6431
|
"icon-name": "CloseRounded",
|
|
6432
6432
|
variant: "ghost",
|
|
6433
|
-
onClick:
|
|
6433
|
+
onClick: $[6] || ($[6] = (D) => b.$emit("close"))
|
|
6434
6434
|
})
|
|
6435
6435
|
]),
|
|
6436
6436
|
_: 1
|
|
@@ -6455,7 +6455,7 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
|
|
|
6455
6455
|
};
|
|
6456
6456
|
return (n, l) => (c(), U(q1, null, {
|
|
6457
6457
|
header: q(() => [
|
|
6458
|
-
|
|
6458
|
+
M(ve, {
|
|
6459
6459
|
title: n.$t("template.rules.title"),
|
|
6460
6460
|
level: 2
|
|
6461
6461
|
}, null, 8, ["title"])
|
|
@@ -6463,7 +6463,7 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
|
|
|
6463
6463
|
default: q(() => [
|
|
6464
6464
|
r("div", I7, [
|
|
6465
6465
|
r("ul", O7, [
|
|
6466
|
-
(c(!0),
|
|
6466
|
+
(c(!0), f(oe, null, he(n.rules, (i) => (c(), U(A7, {
|
|
6467
6467
|
key: i.id,
|
|
6468
6468
|
rule: i,
|
|
6469
6469
|
"template-phases": n.templatePhases,
|
|
@@ -6473,7 +6473,7 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
|
|
|
6473
6473
|
onClose: () => s(i.id)
|
|
6474
6474
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
6475
6475
|
]),
|
|
6476
|
-
|
|
6476
|
+
M(je, {
|
|
6477
6477
|
label: n.$t("template.rules.add"),
|
|
6478
6478
|
"icon-name": "Add",
|
|
6479
6479
|
onClick: t
|
|
@@ -6526,7 +6526,7 @@ const E7 = {
|
|
|
6526
6526
|
const te = G.milestones || [];
|
|
6527
6527
|
return [...V, ...te];
|
|
6528
6528
|
}, [])) || [];
|
|
6529
|
-
}),
|
|
6529
|
+
}), v = _(() => {
|
|
6530
6530
|
var g, P;
|
|
6531
6531
|
return ((P = (g = n.value) == null ? void 0 : g.phases) == null ? void 0 : P.reduce((V, G) => {
|
|
6532
6532
|
const _e = (G.milestones || []).reduce(
|
|
@@ -6535,7 +6535,7 @@ const E7 = {
|
|
|
6535
6535
|
);
|
|
6536
6536
|
return [...V, ..._e];
|
|
6537
6537
|
}, [])) || [];
|
|
6538
|
-
}),
|
|
6538
|
+
}), d = _(() => {
|
|
6539
6539
|
var g, P;
|
|
6540
6540
|
return (P = (g = i.value) == null ? void 0 : g.activities) == null ? void 0 : P.find(
|
|
6541
6541
|
(V) => V.id === t.activityId
|
|
@@ -6546,10 +6546,10 @@ const E7 = {
|
|
|
6546
6546
|
label: P.name,
|
|
6547
6547
|
value: P.id
|
|
6548
6548
|
}))) || [];
|
|
6549
|
-
}),
|
|
6549
|
+
}), p = _(() => {
|
|
6550
6550
|
var g;
|
|
6551
6551
|
return ((g = n.value) == null ? void 0 : g.name) || t.templateId;
|
|
6552
|
-
}),
|
|
6552
|
+
}), h = () => {
|
|
6553
6553
|
if (!n.value)
|
|
6554
6554
|
return;
|
|
6555
6555
|
const { name: g, rank: P } = Xe(
|
|
@@ -6573,7 +6573,7 @@ const E7 = {
|
|
|
6573
6573
|
itemType: ue.TEMPLATES,
|
|
6574
6574
|
data: { name: g }
|
|
6575
6575
|
});
|
|
6576
|
-
},
|
|
6576
|
+
}, w = (g) => {
|
|
6577
6577
|
e("removeItem", {
|
|
6578
6578
|
type: ue.PHASES,
|
|
6579
6579
|
templateId: t.templateId,
|
|
@@ -6608,7 +6608,7 @@ const E7 = {
|
|
|
6608
6608
|
phaseId: g.phaseId
|
|
6609
6609
|
}
|
|
6610
6610
|
});
|
|
6611
|
-
},
|
|
6611
|
+
}, $ = (g) => {
|
|
6612
6612
|
e("removeItem", {
|
|
6613
6613
|
type: ue.MILESTONES,
|
|
6614
6614
|
templateId: t.templateId,
|
|
@@ -6650,7 +6650,7 @@ const E7 = {
|
|
|
6650
6650
|
id: g.id
|
|
6651
6651
|
}
|
|
6652
6652
|
});
|
|
6653
|
-
},
|
|
6653
|
+
}, C = (g) => {
|
|
6654
6654
|
const { id: P, ...V } = g;
|
|
6655
6655
|
e("updateItem", {
|
|
6656
6656
|
itemType: ue.ACTIVITIES,
|
|
@@ -6678,7 +6678,7 @@ const E7 = {
|
|
|
6678
6678
|
});
|
|
6679
6679
|
}
|
|
6680
6680
|
}, N = (g) => {
|
|
6681
|
-
!l.value || !i.value || !
|
|
6681
|
+
!l.value || !i.value || !d.value || e("addItem", {
|
|
6682
6682
|
type: ue.TASKS,
|
|
6683
6683
|
activityId: g.activityId,
|
|
6684
6684
|
milestoneId: i.value.id,
|
|
@@ -6688,18 +6688,18 @@ const E7 = {
|
|
|
6688
6688
|
});
|
|
6689
6689
|
}, x = (g) => {
|
|
6690
6690
|
var P, V, G;
|
|
6691
|
-
!l.value || !i.value || !
|
|
6691
|
+
!l.value || !i.value || !d.value || e("updateItem", {
|
|
6692
6692
|
itemType: ue.TASKS,
|
|
6693
6693
|
phaseId: (P = l.value) == null ? void 0 : P.id,
|
|
6694
6694
|
milestoneId: (V = i.value) == null ? void 0 : V.id,
|
|
6695
|
-
activityId: (G =
|
|
6695
|
+
activityId: (G = d.value) == null ? void 0 : G.id,
|
|
6696
6696
|
templateId: t.templateId,
|
|
6697
6697
|
data: g
|
|
6698
6698
|
});
|
|
6699
6699
|
}, S = (g) => {
|
|
6700
|
-
!l.value || !i.value || !
|
|
6700
|
+
!l.value || !i.value || !d.value || e("removeItem", {
|
|
6701
6701
|
type: ue.TASKS,
|
|
6702
|
-
activityId:
|
|
6702
|
+
activityId: d.value.id,
|
|
6703
6703
|
milestoneId: i.value.id,
|
|
6704
6704
|
phaseId: l.value.id,
|
|
6705
6705
|
templateId: t.templateId,
|
|
@@ -6712,14 +6712,14 @@ const E7 = {
|
|
|
6712
6712
|
};
|
|
6713
6713
|
return (g, P) => {
|
|
6714
6714
|
var V, G, te, _e, Me, re;
|
|
6715
|
-
return n.value ? (c(),
|
|
6716
|
-
|
|
6715
|
+
return n.value ? (c(), f("div", E7, [
|
|
6716
|
+
M(Zt, {
|
|
6717
6717
|
"can-go-back": !0,
|
|
6718
6718
|
onGoBack: P[1] || (P[1] = (F) => g.$router.push({ name: H(dt).TEMPLATES_LIST }))
|
|
6719
6719
|
}, {
|
|
6720
6720
|
primary: q(() => [
|
|
6721
|
-
|
|
6722
|
-
title:
|
|
6721
|
+
M(ve, {
|
|
6722
|
+
title: p.value,
|
|
6723
6723
|
level: 2,
|
|
6724
6724
|
"is-editable": !0,
|
|
6725
6725
|
"onUpdate:title": P[0] || (P[0] = (F) => {
|
|
@@ -6728,7 +6728,7 @@ const E7 = {
|
|
|
6728
6728
|
}, null, 8, ["title"])
|
|
6729
6729
|
]),
|
|
6730
6730
|
secondary: q(() => [
|
|
6731
|
-
|
|
6731
|
+
M(de, {
|
|
6732
6732
|
label: g.$t("template.rules.edit"),
|
|
6733
6733
|
color: "primary",
|
|
6734
6734
|
"icon-name": "Settings",
|
|
@@ -6741,7 +6741,7 @@ const E7 = {
|
|
|
6741
6741
|
r("div", V7, [
|
|
6742
6742
|
r("ol", H7, [
|
|
6743
6743
|
r("li", D7, [
|
|
6744
|
-
|
|
6744
|
+
M(H(ht), {
|
|
6745
6745
|
"model-value": n.value.phases,
|
|
6746
6746
|
class: "ao-templates__list",
|
|
6747
6747
|
"item-key": "id",
|
|
@@ -6749,7 +6749,7 @@ const E7 = {
|
|
|
6749
6749
|
onChange: me
|
|
6750
6750
|
}, {
|
|
6751
6751
|
header: q(() => [
|
|
6752
|
-
|
|
6752
|
+
M(ve, {
|
|
6753
6753
|
title: g.$t("template.phases.title"),
|
|
6754
6754
|
level: 3,
|
|
6755
6755
|
class: "ao-list__title"
|
|
@@ -6758,7 +6758,7 @@ const E7 = {
|
|
|
6758
6758
|
item: q(({ element: F }) => {
|
|
6759
6759
|
var T;
|
|
6760
6760
|
return [
|
|
6761
|
-
|
|
6761
|
+
M(H0, {
|
|
6762
6762
|
id: F.id,
|
|
6763
6763
|
name: F.name,
|
|
6764
6764
|
milestones: F.milestones,
|
|
@@ -6770,16 +6770,16 @@ const E7 = {
|
|
|
6770
6770
|
"onUpdate:title": (Z) => {
|
|
6771
6771
|
I(F.id, Z);
|
|
6772
6772
|
},
|
|
6773
|
-
onRemove: () =>
|
|
6773
|
+
onRemove: () => w(F.id)
|
|
6774
6774
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
|
|
6775
6775
|
];
|
|
6776
6776
|
}),
|
|
6777
6777
|
footer: q(() => [
|
|
6778
6778
|
r("div", P7, [
|
|
6779
|
-
|
|
6779
|
+
M(je, {
|
|
6780
6780
|
"icon-name": "AddBoxOutlineRounded",
|
|
6781
6781
|
label: g.$t("template.phases.add"),
|
|
6782
|
-
onClick:
|
|
6782
|
+
onClick: h
|
|
6783
6783
|
}, null, 8, ["label"])
|
|
6784
6784
|
])
|
|
6785
6785
|
]),
|
|
@@ -6795,7 +6795,7 @@ const E7 = {
|
|
|
6795
6795
|
onAddMilestone: b,
|
|
6796
6796
|
onUpdateMilestone: D,
|
|
6797
6797
|
onUpdatePhase: E,
|
|
6798
|
-
onRemoveMilestone:
|
|
6798
|
+
onRemoveMilestone: $
|
|
6799
6799
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
|
|
6800
6800
|
]),
|
|
6801
6801
|
r("li", B7, [
|
|
@@ -6804,26 +6804,26 @@ const E7 = {
|
|
|
6804
6804
|
"template-id": g.templateId,
|
|
6805
6805
|
"phase-id": (G = l.value) == null ? void 0 : G.id,
|
|
6806
6806
|
milestone: i.value,
|
|
6807
|
-
"activity-id": (te =
|
|
6807
|
+
"activity-id": (te = d.value) == null ? void 0 : te.id,
|
|
6808
6808
|
onAddActivity: X,
|
|
6809
|
-
onUpdateActivity:
|
|
6809
|
+
onUpdateActivity: C,
|
|
6810
6810
|
onRemoveActivity: ne
|
|
6811
6811
|
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
|
|
6812
6812
|
])
|
|
6813
6813
|
])
|
|
6814
6814
|
]),
|
|
6815
6815
|
(c(), U(kt, { to: "body" }, [
|
|
6816
|
-
|
|
6816
|
+
d.value ? (c(), U(i1, {
|
|
6817
6817
|
key: 0,
|
|
6818
|
-
activity:
|
|
6818
|
+
activity: d.value,
|
|
6819
6819
|
"activity-types": u.value,
|
|
6820
6820
|
breadcrumbs: `${n.value.name} / ${(_e = l.value) == null ? void 0 : _e.name} / ${(Me = i.value) == null ? void 0 : Me.name}`,
|
|
6821
6821
|
"milestone-id": (re = i.value) == null ? void 0 : re.id,
|
|
6822
|
-
"template-activities":
|
|
6822
|
+
"template-activities": v.value,
|
|
6823
6823
|
"template-milestones": o.value,
|
|
6824
6824
|
"is-template": !0,
|
|
6825
6825
|
"onUpdate:activity": P[2] || (P[2] = (F) => {
|
|
6826
|
-
|
|
6826
|
+
d.value && C(F);
|
|
6827
6827
|
}),
|
|
6828
6828
|
onClose: g.$router.back,
|
|
6829
6829
|
onAddSubtask: N,
|
|
@@ -6840,7 +6840,7 @@ const E7 = {
|
|
|
6840
6840
|
rules: n.value.rules || [],
|
|
6841
6841
|
"template-phases": n.value.phases,
|
|
6842
6842
|
"template-milestones": o.value,
|
|
6843
|
-
"template-activities":
|
|
6843
|
+
"template-activities": v.value,
|
|
6844
6844
|
onClose: B,
|
|
6845
6845
|
onAddRule: J,
|
|
6846
6846
|
onRemoveRule: se
|
|
@@ -6856,7 +6856,7 @@ const U7 = {
|
|
|
6856
6856
|
}, j7 = { class: "ao-card__body" }, R7 = {
|
|
6857
6857
|
key: 1,
|
|
6858
6858
|
class: "ao-card__footer"
|
|
6859
|
-
},
|
|
6859
|
+
}, l1 = /* @__PURE__ */ Y({
|
|
6860
6860
|
__name: "AoCard",
|
|
6861
6861
|
props: {
|
|
6862
6862
|
isClickable: { type: Boolean },
|
|
@@ -6867,13 +6867,13 @@ const U7 = {
|
|
|
6867
6867
|
class: W(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
6868
6868
|
}, {
|
|
6869
6869
|
default: q(() => [
|
|
6870
|
-
e.$slots.header ? (c(),
|
|
6870
|
+
e.$slots.header ? (c(), f("header", U7, [
|
|
6871
6871
|
K(e.$slots, "header")
|
|
6872
6872
|
])) : k("", !0),
|
|
6873
6873
|
r("div", j7, [
|
|
6874
6874
|
K(e.$slots, "default")
|
|
6875
6875
|
]),
|
|
6876
|
-
e.$slots.footer ? (c(),
|
|
6876
|
+
e.$slots.footer ? (c(), f("footer", R7, [
|
|
6877
6877
|
K(e.$slots, "footer")
|
|
6878
6878
|
])) : k("", !0)
|
|
6879
6879
|
]),
|
|
@@ -6881,7 +6881,7 @@ const U7 = {
|
|
|
6881
6881
|
}, 8, ["class"]));
|
|
6882
6882
|
}
|
|
6883
6883
|
});
|
|
6884
|
-
const
|
|
6884
|
+
const o1 = /* @__PURE__ */ Y({
|
|
6885
6885
|
__name: "AoProgress",
|
|
6886
6886
|
props: {
|
|
6887
6887
|
percentages: {},
|
|
@@ -6889,11 +6889,11 @@ const l1 = /* @__PURE__ */ Y({
|
|
|
6889
6889
|
},
|
|
6890
6890
|
setup(a) {
|
|
6891
6891
|
const e = a, t = _(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
6892
|
-
return (s, n) => (c(),
|
|
6892
|
+
return (s, n) => (c(), f("div", {
|
|
6893
6893
|
class: W(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
|
|
6894
6894
|
role: "meter"
|
|
6895
6895
|
}, [
|
|
6896
|
-
(c(!0),
|
|
6896
|
+
(c(!0), f(oe, null, he(t.value, (l) => (c(), f("div", {
|
|
6897
6897
|
key: l,
|
|
6898
6898
|
class: W(["ao-progress__progress"]),
|
|
6899
6899
|
style: ba({ width: `${l * 100}%` })
|
|
@@ -6920,7 +6920,7 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
|
|
|
6920
6920
|
var l;
|
|
6921
6921
|
return (l = e.milestones) == null ? void 0 : l.filter((i) => i.status === $7.done).length;
|
|
6922
6922
|
}), n = _(() => (s.value || 0) / (t.value || 1));
|
|
6923
|
-
return (l, i) => (c(), U(
|
|
6923
|
+
return (l, i) => (c(), U(l1, { class: "ao-card-project-phase" }, {
|
|
6924
6924
|
header: q(() => [
|
|
6925
6925
|
r("div", q7, [
|
|
6926
6926
|
l.projectName ? (c(), U(Et, {
|
|
@@ -6933,7 +6933,7 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
|
|
|
6933
6933
|
])
|
|
6934
6934
|
]),
|
|
6935
6935
|
default: q(() => [
|
|
6936
|
-
|
|
6936
|
+
M(ve, {
|
|
6937
6937
|
title: l.name || l.id,
|
|
6938
6938
|
level: 4
|
|
6939
6939
|
}, null, 8, ["title"])
|
|
@@ -6941,20 +6941,20 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
|
|
|
6941
6941
|
footer: q(() => [
|
|
6942
6942
|
r("div", F7, [
|
|
6943
6943
|
r("div", z7, [
|
|
6944
|
-
t.value ? (c(),
|
|
6944
|
+
t.value ? (c(), f(oe, { key: 0 }, [
|
|
6945
6945
|
r("div", W7, [
|
|
6946
|
-
|
|
6946
|
+
M(ie, {
|
|
6947
6947
|
name: "MountainFlagOutlineRounded",
|
|
6948
6948
|
size: "sm"
|
|
6949
6949
|
}),
|
|
6950
6950
|
r("span", Y7, R(s.value) + " / " + R(t.value), 1)
|
|
6951
6951
|
]),
|
|
6952
|
-
|
|
6952
|
+
M(o1, {
|
|
6953
6953
|
percentages: n.value,
|
|
6954
6954
|
class: "ao-card-project-phase__progress"
|
|
6955
6955
|
}, null, 8, ["percentages"])
|
|
6956
6956
|
], 64)) : k("", !0),
|
|
6957
|
-
l.$slots.secondary ? (c(),
|
|
6957
|
+
l.$slots.secondary ? (c(), f("div", G7, [
|
|
6958
6958
|
K(l.$slots, "secondary")
|
|
6959
6959
|
])) : k("", !0)
|
|
6960
6960
|
])
|
|
@@ -6982,17 +6982,17 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
|
|
|
6982
6982
|
}), s = _(() => {
|
|
6983
6983
|
var l;
|
|
6984
6984
|
return (l = e.activities) == null ? void 0 : l.filter((i) => {
|
|
6985
|
-
var o,
|
|
6986
|
-
return ((o = i.status) == null ? void 0 : o.id) === ((
|
|
6985
|
+
var o, v;
|
|
6986
|
+
return ((o = i.status) == null ? void 0 : o.id) === ((v = e.doneStatus) == null ? void 0 : v.id);
|
|
6987
6987
|
}).length;
|
|
6988
6988
|
}), n = _(() => (s.value || 0) / (t.value || 1));
|
|
6989
|
-
return (l, i) => (c(), U(
|
|
6989
|
+
return (l, i) => (c(), U(l1, {
|
|
6990
6990
|
class: "ao-card-project-milestone",
|
|
6991
6991
|
"is-clickable": !0,
|
|
6992
6992
|
"tag-name": "li"
|
|
6993
6993
|
}, {
|
|
6994
6994
|
default: q(() => [
|
|
6995
|
-
|
|
6995
|
+
M(ve, {
|
|
6996
6996
|
title: l.name || l.id,
|
|
6997
6997
|
level: 5
|
|
6998
6998
|
}, null, 8, ["title"])
|
|
@@ -7000,20 +7000,20 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
|
|
|
7000
7000
|
footer: q(() => [
|
|
7001
7001
|
r("div", x7, [
|
|
7002
7002
|
r("div", X7, [
|
|
7003
|
-
t.value ? (c(),
|
|
7003
|
+
t.value ? (c(), f(oe, { key: 0 }, [
|
|
7004
7004
|
r("div", Q7, [
|
|
7005
|
-
|
|
7005
|
+
M(ie, {
|
|
7006
7006
|
name: "SelectCheckBox",
|
|
7007
7007
|
size: "sm"
|
|
7008
7008
|
}),
|
|
7009
7009
|
r("span", J7, R(s.value) + " / " + R(t.value), 1)
|
|
7010
7010
|
]),
|
|
7011
|
-
|
|
7011
|
+
M(o1, {
|
|
7012
7012
|
percentages: n.value,
|
|
7013
7013
|
class: "ao-card-project-phase__progress"
|
|
7014
7014
|
}, null, 8, ["percentages"])
|
|
7015
7015
|
], 64)) : k("", !0),
|
|
7016
|
-
l.$slots.secondary ? (c(),
|
|
7016
|
+
l.$slots.secondary ? (c(), f("div", ec, [
|
|
7017
7017
|
K(l.$slots, "secondary")
|
|
7018
7018
|
])) : k("", !0)
|
|
7019
7019
|
])
|
|
@@ -7032,12 +7032,12 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
|
|
|
7032
7032
|
emits: ["addMilestone"],
|
|
7033
7033
|
setup(a, { emit: e }) {
|
|
7034
7034
|
const t = a, { t: s } = Re(), n = _(() => t.phase.milestones), l = (i) => {
|
|
7035
|
-
const { name: o, rank:
|
|
7036
|
-
e("addMilestone", { name: o, rank:
|
|
7035
|
+
const { name: o, rank: v } = Xe(n.value ?? [], "milestone", s);
|
|
7036
|
+
e("addMilestone", { name: o, rank: v, phaseId: i });
|
|
7037
7037
|
};
|
|
7038
|
-
return (i, o) => (c(),
|
|
7038
|
+
return (i, o) => (c(), f("li", ac, [
|
|
7039
7039
|
r("div", nc, [
|
|
7040
|
-
|
|
7040
|
+
M(K7, {
|
|
7041
7041
|
id: i.phase.id,
|
|
7042
7042
|
milestones: n.value,
|
|
7043
7043
|
name: i.phase.name,
|
|
@@ -7047,20 +7047,20 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
|
|
|
7047
7047
|
r("div", sc, [
|
|
7048
7048
|
r("div", ic, [
|
|
7049
7049
|
r("ul", lc, [
|
|
7050
|
-
(c(!0),
|
|
7051
|
-
id:
|
|
7052
|
-
key:
|
|
7053
|
-
name:
|
|
7054
|
-
activities:
|
|
7050
|
+
(c(!0), f(oe, null, he(n.value, (v) => (c(), U(tc, {
|
|
7051
|
+
id: v.id,
|
|
7052
|
+
key: v.id,
|
|
7053
|
+
name: v.name,
|
|
7054
|
+
activities: v.activities,
|
|
7055
7055
|
class: "ao-project-phase__milestone",
|
|
7056
|
-
onClick: (
|
|
7056
|
+
onClick: (d) => i.$router.push({
|
|
7057
7057
|
name: H(Qe).milestone,
|
|
7058
|
-
params: { phaseId: i.phase.id, milestoneId:
|
|
7058
|
+
params: { phaseId: i.phase.id, milestoneId: v.id }
|
|
7059
7059
|
})
|
|
7060
7060
|
}, null, 8, ["id", "name", "activities", "onClick"]))), 128))
|
|
7061
7061
|
]),
|
|
7062
7062
|
r("div", oc, [
|
|
7063
|
-
|
|
7063
|
+
M(je, {
|
|
7064
7064
|
label: i.$t("project.milestone.add"),
|
|
7065
7065
|
class: "ao-project-phase__milestone-add",
|
|
7066
7066
|
"icon-name": "Add",
|
|
@@ -7076,7 +7076,7 @@ const k1 = ee([]), S1 = ee("");
|
|
|
7076
7076
|
function F1() {
|
|
7077
7077
|
return {
|
|
7078
7078
|
init: (e) => {
|
|
7079
|
-
k1.value =
|
|
7079
|
+
k1.value = C1(e.users), S1.value = C1(e.userId);
|
|
7080
7080
|
},
|
|
7081
7081
|
users: k1,
|
|
7082
7082
|
userId: S1
|
|
@@ -7097,36 +7097,36 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7097
7097
|
n({ users: t.users, userId: t.userId });
|
|
7098
7098
|
});
|
|
7099
7099
|
const l = _(() => t.phases.flatMap((b) => b.milestones)), i = () => {
|
|
7100
|
-
const { name: b, rank:
|
|
7101
|
-
e("addPhase", { name: b, rank:
|
|
7100
|
+
const { name: b, rank: $ } = Xe(t.phases, "phase", s);
|
|
7101
|
+
e("addPhase", { name: b, rank: $, projectId: t.project.id });
|
|
7102
7102
|
}, o = (b) => {
|
|
7103
7103
|
e("addMilestone", b);
|
|
7104
|
-
}, d = (b) => {
|
|
7105
|
-
e("addActivity", b);
|
|
7106
7104
|
}, v = (b) => {
|
|
7105
|
+
e("addActivity", b);
|
|
7106
|
+
}, d = (b) => {
|
|
7107
7107
|
e("update:activity", b);
|
|
7108
7108
|
}, u = (b) => {
|
|
7109
7109
|
e("addSubtask", b);
|
|
7110
|
-
},
|
|
7110
|
+
}, p = _(
|
|
7111
7111
|
() => l.value.flatMap((b) => b.activities)
|
|
7112
|
-
),
|
|
7112
|
+
), h = (b) => {
|
|
7113
7113
|
e("addFiles", b);
|
|
7114
7114
|
}, y = (b) => {
|
|
7115
7115
|
e("removeFile", b);
|
|
7116
|
-
},
|
|
7116
|
+
}, w = (b) => {
|
|
7117
7117
|
e("addComment", b);
|
|
7118
7118
|
}, I = (b) => {
|
|
7119
7119
|
e("updateComment", b);
|
|
7120
7120
|
}, E = (b) => {
|
|
7121
7121
|
e("removeComment", b);
|
|
7122
7122
|
};
|
|
7123
|
-
return (b,
|
|
7123
|
+
return (b, $) => {
|
|
7124
7124
|
const D = $a("RouterView");
|
|
7125
|
-
return c(),
|
|
7125
|
+
return c(), f("div", uc, [
|
|
7126
7126
|
r("div", cc, [
|
|
7127
|
-
|
|
7127
|
+
M(Zt, null, {
|
|
7128
7128
|
primary: q(() => [
|
|
7129
|
-
|
|
7129
|
+
M(de, {
|
|
7130
7130
|
label: b.$t("project.phases.add"),
|
|
7131
7131
|
color: "primary",
|
|
7132
7132
|
onClick: i
|
|
@@ -7138,12 +7138,12 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7138
7138
|
r("header", vc, [
|
|
7139
7139
|
r("div", mc, [
|
|
7140
7140
|
r("div", fc, [
|
|
7141
|
-
|
|
7141
|
+
M(ie, {
|
|
7142
7142
|
class: "ao-project__col-title-icon",
|
|
7143
7143
|
name: "WaterfallChartRounded",
|
|
7144
7144
|
size: "md"
|
|
7145
7145
|
}),
|
|
7146
|
-
|
|
7146
|
+
M(ve, {
|
|
7147
7147
|
level: 3,
|
|
7148
7148
|
title: b.$t("project.phases.title")
|
|
7149
7149
|
}, null, 8, ["title"])
|
|
@@ -7151,12 +7151,12 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7151
7151
|
]),
|
|
7152
7152
|
r("div", hc, [
|
|
7153
7153
|
r("div", pc, [
|
|
7154
|
-
|
|
7154
|
+
M(ie, {
|
|
7155
7155
|
class: "ao-project__col-title-icon",
|
|
7156
7156
|
name: "MountainFlagOutlineRounded",
|
|
7157
7157
|
size: "md"
|
|
7158
7158
|
}),
|
|
7159
|
-
|
|
7159
|
+
M(ve, {
|
|
7160
7160
|
level: 3,
|
|
7161
7161
|
title: b.$t("project.milestones.title")
|
|
7162
7162
|
}, null, 8, ["title"])
|
|
@@ -7164,7 +7164,7 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7164
7164
|
])
|
|
7165
7165
|
]),
|
|
7166
7166
|
r("ul", Cc, [
|
|
7167
|
-
(c(!0),
|
|
7167
|
+
(c(!0), f(oe, null, he(b.phases, (X) => (c(), U(rc, {
|
|
7168
7168
|
key: X.id,
|
|
7169
7169
|
phase: X,
|
|
7170
7170
|
"project-name": b.project.name,
|
|
@@ -7173,24 +7173,24 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7173
7173
|
])
|
|
7174
7174
|
])
|
|
7175
7175
|
]),
|
|
7176
|
-
|
|
7176
|
+
M(D, {
|
|
7177
7177
|
class: "ao-project__sidebar",
|
|
7178
7178
|
phases: b.phases,
|
|
7179
7179
|
"project-id": b.project.id,
|
|
7180
7180
|
"project-name": b.project.name,
|
|
7181
7181
|
users: b.users,
|
|
7182
|
-
onClose:
|
|
7183
|
-
onAddActivity:
|
|
7182
|
+
onClose: $[0] || ($[0] = (X) => b.$router.push({ name: H(Qe).project })),
|
|
7183
|
+
onAddActivity: v
|
|
7184
7184
|
}, null, 8, ["phases", "project-id", "project-name", "users"]),
|
|
7185
7185
|
(c(), U(kt, { to: "body" }, [
|
|
7186
|
-
|
|
7186
|
+
M(D, {
|
|
7187
7187
|
name: "modal",
|
|
7188
|
-
activities:
|
|
7189
|
-
"onUpdate:activity":
|
|
7188
|
+
activities: p.value,
|
|
7189
|
+
"onUpdate:activity": d,
|
|
7190
7190
|
onAddSubtask: u,
|
|
7191
|
-
onAddFiles:
|
|
7191
|
+
onAddFiles: h,
|
|
7192
7192
|
onRemoveFile: y,
|
|
7193
|
-
onAddComment:
|
|
7193
|
+
onAddComment: w,
|
|
7194
7194
|
onUpdateComment: I,
|
|
7195
7195
|
onRemoveComment: E
|
|
7196
7196
|
}, null, 8, ["activities"])
|
|
@@ -7240,103 +7240,103 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7240
7240
|
},
|
|
7241
7241
|
emits: ["removeAssignee", "updateActivity"],
|
|
7242
7242
|
setup(a, { emit: e }) {
|
|
7243
|
-
const t = a, s = (
|
|
7243
|
+
const t = a, s = (h) => {
|
|
7244
7244
|
e("updateActivity", {
|
|
7245
7245
|
id: t.id,
|
|
7246
|
-
name:
|
|
7246
|
+
name: h
|
|
7247
7247
|
});
|
|
7248
|
-
}, n = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => t.assignee ? [t.assignee] : []), i = (
|
|
7249
|
-
const { firstName:
|
|
7250
|
-
return
|
|
7251
|
-
},
|
|
7252
|
-
e("removeAssignee",
|
|
7248
|
+
}, n = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => t.assignee ? [t.assignee] : []), i = _(() => e1(t.deadline)), o = (h) => {
|
|
7249
|
+
const { firstName: y, lastName: w } = h || {};
|
|
7250
|
+
return y && w ? `${y} ${w}` : "";
|
|
7251
|
+
}, v = (h) => {
|
|
7252
|
+
e("removeAssignee", h);
|
|
7253
7253
|
}, d = _(() => {
|
|
7254
|
-
var
|
|
7255
|
-
return (
|
|
7256
|
-
}),
|
|
7257
|
-
var
|
|
7258
|
-
return (
|
|
7259
|
-
}),
|
|
7260
|
-
return (
|
|
7254
|
+
var h;
|
|
7255
|
+
return (h = t.tasks) == null ? void 0 : h.length;
|
|
7256
|
+
}), u = _(() => {
|
|
7257
|
+
var h;
|
|
7258
|
+
return (h = t.tasks) == null ? void 0 : h.filter((y) => y.isDone).length;
|
|
7259
|
+
}), p = _(() => (u.value || 0) / (d.value || 1));
|
|
7260
|
+
return (h, y) => (c(), U(l1, {
|
|
7261
7261
|
class: "ao-card-feed",
|
|
7262
7262
|
"is-clickable": !0
|
|
7263
7263
|
}, {
|
|
7264
7264
|
header: q(() => [
|
|
7265
7265
|
r("div", gc, [
|
|
7266
|
-
|
|
7266
|
+
h.projectName ? (c(), U(Et, {
|
|
7267
7267
|
key: 0,
|
|
7268
|
-
label:
|
|
7268
|
+
label: h.projectName,
|
|
7269
7269
|
class: "ao-card-feed__project",
|
|
7270
7270
|
variant: "solid",
|
|
7271
7271
|
color: "primary"
|
|
7272
7272
|
}, null, 8, ["label"])) : k("", !0),
|
|
7273
|
-
|
|
7273
|
+
h.important ? (c(), U(ie, {
|
|
7274
7274
|
key: 1,
|
|
7275
7275
|
name: "FlagRounded",
|
|
7276
7276
|
class: "ao-card-feed__important ao-card-feed__header-secondary",
|
|
7277
7277
|
size: "sm"
|
|
7278
7278
|
})) : k("", !0),
|
|
7279
|
-
|
|
7280
|
-
K(
|
|
7279
|
+
h.$slots.secondary ? (c(), f("div", yc, [
|
|
7280
|
+
K(h.$slots, "secondary")
|
|
7281
7281
|
])) : k("", !0)
|
|
7282
7282
|
])
|
|
7283
7283
|
]),
|
|
7284
7284
|
default: q(() => [
|
|
7285
7285
|
r("div", bc, [
|
|
7286
|
-
n.value ? (c(),
|
|
7287
|
-
|
|
7288
|
-
title:
|
|
7286
|
+
n.value ? (c(), f("span", wc, R(n.value), 1)) : k("", !0),
|
|
7287
|
+
M(ve, {
|
|
7288
|
+
title: h.name,
|
|
7289
7289
|
level: 5,
|
|
7290
7290
|
"is-editable": !0,
|
|
7291
7291
|
"onUpdate:title": s
|
|
7292
7292
|
}, null, 8, ["title"]),
|
|
7293
|
-
|
|
7293
|
+
h.deadline ? (c(), f("span", $c, R(i.value), 1)) : k("", !0)
|
|
7294
7294
|
])
|
|
7295
7295
|
]),
|
|
7296
7296
|
footer: q(() => [
|
|
7297
7297
|
r("div", Mc, [
|
|
7298
7298
|
r("div", kc, [
|
|
7299
7299
|
r("ul", Sc, [
|
|
7300
|
-
(c(!0),
|
|
7301
|
-
key:
|
|
7300
|
+
(c(!0), f(oe, null, he(l.value, (w) => (c(), f(oe, {
|
|
7301
|
+
key: w.id
|
|
7302
7302
|
}, [
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
"user-name":
|
|
7303
|
+
w ? (c(), f("li", Tc, [
|
|
7304
|
+
M(tt, {
|
|
7305
|
+
"user-name": o(w),
|
|
7306
7306
|
"is-closable": !0,
|
|
7307
|
-
onClose: () =>
|
|
7307
|
+
onClose: () => v(w.id)
|
|
7308
7308
|
}, null, 8, ["user-name", "onClose"])
|
|
7309
7309
|
])) : k("", !0)
|
|
7310
7310
|
], 64))), 128))
|
|
7311
7311
|
]),
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7312
|
+
h.comments || h.attachments ? (c(), f("ul", Ac, [
|
|
7313
|
+
h.comments ? (c(), f("li", Ic, [
|
|
7314
|
+
M(ie, {
|
|
7315
7315
|
name: "ChatOutline",
|
|
7316
7316
|
size: "sm"
|
|
7317
7317
|
}),
|
|
7318
|
-
r("span", Oc, R(
|
|
7318
|
+
r("span", Oc, R(h.comments), 1)
|
|
7319
7319
|
])) : k("", !0),
|
|
7320
|
-
|
|
7321
|
-
|
|
7320
|
+
h.attachments ? (c(), f("li", Lc, [
|
|
7321
|
+
M(ie, {
|
|
7322
7322
|
name: "AttachFileRounded",
|
|
7323
7323
|
size: "sm"
|
|
7324
7324
|
}),
|
|
7325
|
-
r("span", Ec, R(
|
|
7325
|
+
r("span", Ec, R(h.attachments), 1)
|
|
7326
7326
|
])) : k("", !0)
|
|
7327
7327
|
])) : k("", !0)
|
|
7328
7328
|
]),
|
|
7329
7329
|
r("div", Vc, [
|
|
7330
|
-
|
|
7330
|
+
h.tasks ? (c(), f("div", Hc, [
|
|
7331
7331
|
r("div", Dc, [
|
|
7332
|
-
|
|
7332
|
+
M(ie, {
|
|
7333
7333
|
name: "SelectCheckBox",
|
|
7334
7334
|
size: "sm"
|
|
7335
7335
|
}),
|
|
7336
|
-
r("span", Pc, R(
|
|
7336
|
+
r("span", Pc, R(u.value) + " / " + R(d.value), 1)
|
|
7337
7337
|
]),
|
|
7338
|
-
|
|
7339
|
-
percentages:
|
|
7338
|
+
M(o1, {
|
|
7339
|
+
percentages: p.value,
|
|
7340
7340
|
class: "ao-card-feed__progress"
|
|
7341
7341
|
}, null, 8, ["percentages"])
|
|
7342
7342
|
])) : k("", !0)
|
|
@@ -7361,54 +7361,54 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
|
|
|
7361
7361
|
setup(a, { emit: e }) {
|
|
7362
7362
|
const t = a, { t: s } = Re(), n = _(() => {
|
|
7363
7363
|
var u;
|
|
7364
|
-
return (u = t.phases) == null ? void 0 : u.find((
|
|
7364
|
+
return (u = t.phases) == null ? void 0 : u.find((p) => p.id === t.phaseId);
|
|
7365
7365
|
}), l = _(() => {
|
|
7366
7366
|
var u;
|
|
7367
|
-
return (u = t.phases) == null ? void 0 : u.flatMap((
|
|
7367
|
+
return (u = t.phases) == null ? void 0 : u.flatMap((p) => p.milestones);
|
|
7368
7368
|
}), i = _(() => {
|
|
7369
7369
|
var u;
|
|
7370
|
-
return (u = l.value) == null ? void 0 : u.find((
|
|
7370
|
+
return (u = l.value) == null ? void 0 : u.find((p) => p.id === t.milestoneId);
|
|
7371
7371
|
}), o = _(() => {
|
|
7372
7372
|
var u;
|
|
7373
7373
|
return (u = i.value) == null ? void 0 : u.activities;
|
|
7374
|
-
}),
|
|
7374
|
+
}), v = (u) => {
|
|
7375
7375
|
e("close", u);
|
|
7376
|
-
},
|
|
7377
|
-
const { name: u, rank:
|
|
7376
|
+
}, d = () => {
|
|
7377
|
+
const { name: u, rank: p } = Xe(o.value ?? [], "activity", s);
|
|
7378
7378
|
e("addActivity", {
|
|
7379
7379
|
milestoneId: t.milestoneId,
|
|
7380
7380
|
name: u,
|
|
7381
|
-
rank:
|
|
7381
|
+
rank: p,
|
|
7382
7382
|
projectId: t.projectId
|
|
7383
7383
|
});
|
|
7384
7384
|
};
|
|
7385
|
-
return (u,
|
|
7386
|
-
var
|
|
7387
|
-
return c(),
|
|
7385
|
+
return (u, p) => {
|
|
7386
|
+
var h;
|
|
7387
|
+
return c(), f("div", Nc, [
|
|
7388
7388
|
r("header", Bc, [
|
|
7389
7389
|
r("div", Zc, [
|
|
7390
7390
|
r("span", null, R(u.$t("project.milestone.title")), 1),
|
|
7391
|
-
|
|
7392
|
-
title: ((
|
|
7391
|
+
M(ve, {
|
|
7392
|
+
title: ((h = i.value) == null ? void 0 : h.name) || u.milestoneId,
|
|
7393
7393
|
level: 5
|
|
7394
7394
|
}, null, 8, ["title"])
|
|
7395
7395
|
]),
|
|
7396
|
-
|
|
7396
|
+
M(de, {
|
|
7397
7397
|
"icon-name": "CloseRounded",
|
|
7398
7398
|
variant: "ghost",
|
|
7399
|
-
onClick:
|
|
7399
|
+
onClick: v
|
|
7400
7400
|
})
|
|
7401
7401
|
]),
|
|
7402
7402
|
r("div", Uc, [
|
|
7403
7403
|
r("ul", jc, [
|
|
7404
|
-
(c(!0),
|
|
7405
|
-
var
|
|
7404
|
+
(c(!0), f(oe, null, he(o.value, (y) => {
|
|
7405
|
+
var w, I, E, b;
|
|
7406
7406
|
return c(), U(z1, {
|
|
7407
7407
|
id: y.id,
|
|
7408
7408
|
key: y.id,
|
|
7409
7409
|
name: y.name || y.id,
|
|
7410
7410
|
"project-name": u.projectName,
|
|
7411
|
-
"phase-name": (
|
|
7411
|
+
"phase-name": (w = n.value) == null ? void 0 : w.name,
|
|
7412
7412
|
"milestone-name": (I = i.value) == null ? void 0 : I.name,
|
|
7413
7413
|
deadline: y.deadline,
|
|
7414
7414
|
important: y.important,
|
|
@@ -7417,7 +7417,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
|
|
|
7417
7417
|
comments: (E = y.comments) == null ? void 0 : E.length,
|
|
7418
7418
|
attachments: (b = y.attachments) == null ? void 0 : b.length,
|
|
7419
7419
|
tasks: y.tasks,
|
|
7420
|
-
onClick: (
|
|
7420
|
+
onClick: ($) => u.$router.push({
|
|
7421
7421
|
name: H(Qe).activity,
|
|
7422
7422
|
params: { milestoneId: u.milestoneId, activityId: y.id }
|
|
7423
7423
|
})
|
|
@@ -7425,10 +7425,10 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
|
|
|
7425
7425
|
}), 128))
|
|
7426
7426
|
]),
|
|
7427
7427
|
r("div", Rc, [
|
|
7428
|
-
|
|
7428
|
+
M(je, {
|
|
7429
7429
|
"icon-name": "Add",
|
|
7430
7430
|
label: u.$t("project.activity.add"),
|
|
7431
|
-
onClick:
|
|
7431
|
+
onClick: d
|
|
7432
7432
|
}, null, 8, ["label"])
|
|
7433
7433
|
])
|
|
7434
7434
|
])
|
|
@@ -7451,14 +7451,14 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
|
|
|
7451
7451
|
emits: ["edit", "remove"],
|
|
7452
7452
|
setup(a, { emit: e }) {
|
|
7453
7453
|
const t = a, s = _(() => {
|
|
7454
|
-
const
|
|
7455
|
-
return
|
|
7456
|
-
}), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard:
|
|
7457
|
-
e("edit",
|
|
7454
|
+
const w = t.user;
|
|
7455
|
+
return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
|
|
7456
|
+
}), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard: v } = I1(n), d = _(() => e1(t.createdAt)), u = _(() => e1(t.editedAt)), p = v(), h = o((w) => {
|
|
7457
|
+
e("edit", w);
|
|
7458
7458
|
}), y = () => {
|
|
7459
7459
|
e("remove");
|
|
7460
7460
|
};
|
|
7461
|
-
return (
|
|
7461
|
+
return (w, I) => (c(), f("li", qc, [
|
|
7462
7462
|
s.value ? (c(), U(tt, {
|
|
7463
7463
|
key: 0,
|
|
7464
7464
|
"user-name": s.value,
|
|
@@ -7470,35 +7470,35 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
|
|
|
7470
7470
|
ref: n,
|
|
7471
7471
|
class: "ao-comment__content",
|
|
7472
7472
|
contenteditable: H(l)
|
|
7473
|
-
}, R(
|
|
7474
|
-
r("span", Wc, R(u.value ||
|
|
7473
|
+
}, R(w.content), 9, zc),
|
|
7474
|
+
r("span", Wc, R(u.value || d.value), 1)
|
|
7475
7475
|
]),
|
|
7476
|
-
|
|
7477
|
-
H(l) ? (c(),
|
|
7478
|
-
|
|
7476
|
+
w.isEditable ? (c(), f("div", Yc, [
|
|
7477
|
+
H(l) ? (c(), f(oe, { key: 0 }, [
|
|
7478
|
+
M(de, {
|
|
7479
7479
|
"icon-name": "CloseRounded",
|
|
7480
7480
|
size: "sm",
|
|
7481
7481
|
variant: "ghost",
|
|
7482
7482
|
color: "neutral",
|
|
7483
|
-
onClick: H(
|
|
7483
|
+
onClick: H(p)
|
|
7484
7484
|
}, null, 8, ["onClick"]),
|
|
7485
|
-
|
|
7485
|
+
M(de, {
|
|
7486
7486
|
"icon-name": "CheckSmallRounded",
|
|
7487
7487
|
size: "sm",
|
|
7488
7488
|
variant: "solid",
|
|
7489
7489
|
color: "neutral",
|
|
7490
|
-
onClick: H(
|
|
7490
|
+
onClick: H(h)
|
|
7491
7491
|
}, null, 8, ["onClick"])
|
|
7492
|
-
], 64)) : (c(),
|
|
7493
|
-
|
|
7494
|
-
label:
|
|
7492
|
+
], 64)) : (c(), f(oe, { key: 1 }, [
|
|
7493
|
+
M(de, {
|
|
7494
|
+
label: w.$t("activity.comment.delete"),
|
|
7495
7495
|
size: "sm",
|
|
7496
7496
|
variant: "ghost",
|
|
7497
7497
|
color: "neutral",
|
|
7498
7498
|
onClick: y
|
|
7499
7499
|
}, null, 8, ["label"]),
|
|
7500
|
-
|
|
7501
|
-
label:
|
|
7500
|
+
M(de, {
|
|
7501
|
+
label: w.$t("activity.comment.edit"),
|
|
7502
7502
|
size: "sm",
|
|
7503
7503
|
variant: "ghost",
|
|
7504
7504
|
color: "neutral",
|
|
@@ -7522,38 +7522,38 @@ const Kc = { class: "ao-comments" }, xc = {
|
|
|
7522
7522
|
},
|
|
7523
7523
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
7524
7524
|
setup(a, { emit: e }) {
|
|
7525
|
-
const t = a, s = (
|
|
7525
|
+
const t = a, s = (d) => t.users.find((p) => p.id === d), n = ct(t.newComment || ""), l = _({
|
|
7526
7526
|
get() {
|
|
7527
7527
|
return n.value;
|
|
7528
7528
|
},
|
|
7529
|
-
set(
|
|
7530
|
-
n.value =
|
|
7529
|
+
set(d) {
|
|
7530
|
+
n.value = d;
|
|
7531
7531
|
}
|
|
7532
7532
|
}), i = () => {
|
|
7533
|
-
const
|
|
7534
|
-
|
|
7535
|
-
}, o = (
|
|
7533
|
+
const d = n.value.trim();
|
|
7534
|
+
d && (e("createComment", { authorId: t.userId, message: d }), n.value = "");
|
|
7535
|
+
}, o = (d, u) => {
|
|
7536
7536
|
e("updateComment", {
|
|
7537
|
-
id:
|
|
7537
|
+
id: d,
|
|
7538
7538
|
message: u
|
|
7539
7539
|
});
|
|
7540
|
-
},
|
|
7541
|
-
e("removeComment", { id:
|
|
7540
|
+
}, v = (d) => {
|
|
7541
|
+
e("removeComment", { id: d });
|
|
7542
7542
|
};
|
|
7543
|
-
return (
|
|
7544
|
-
var
|
|
7545
|
-
return c(),
|
|
7546
|
-
((
|
|
7547
|
-
(c(!0),
|
|
7548
|
-
key:
|
|
7549
|
-
user: s(
|
|
7550
|
-
content:
|
|
7551
|
-
"created-at":
|
|
7552
|
-
"edited-at":
|
|
7553
|
-
"is-editable":
|
|
7543
|
+
return (d, u) => {
|
|
7544
|
+
var p;
|
|
7545
|
+
return c(), f("div", Kc, [
|
|
7546
|
+
((p = d.comments) == null ? void 0 : p.length) > 0 ? (c(), f("ul", xc, [
|
|
7547
|
+
(c(!0), f(oe, null, he(d.comments, (h) => (c(), U(Gc, {
|
|
7548
|
+
key: h.id,
|
|
7549
|
+
user: s(h.author.id),
|
|
7550
|
+
content: h.message,
|
|
7551
|
+
"created-at": h.createdAt,
|
|
7552
|
+
"edited-at": h.updatedAt,
|
|
7553
|
+
"is-editable": h.author.id === d.userId,
|
|
7554
7554
|
class: "ao-comment",
|
|
7555
|
-
onEdit: (y) => o(
|
|
7556
|
-
onRemove: () =>
|
|
7555
|
+
onEdit: (y) => o(h.id, y),
|
|
7556
|
+
onRemove: () => v(h.id)
|
|
7557
7557
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
7558
7558
|
])) : k("", !0),
|
|
7559
7559
|
r("div", Xc, [
|
|
@@ -7562,9 +7562,9 @@ const Kc = { class: "ao-comments" }, xc = {
|
|
|
7562
7562
|
onSubmit: ke(i, ["prevent"])
|
|
7563
7563
|
}, [
|
|
7564
7564
|
r("label", Jc, [
|
|
7565
|
-
r("span", ed, R(
|
|
7565
|
+
r("span", ed, R(d.$t("activity.comment.label")), 1),
|
|
7566
7566
|
xe(r("textarea", {
|
|
7567
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
7567
|
+
"onUpdate:modelValue": u[0] || (u[0] = (h) => l.value = h),
|
|
7568
7568
|
rows: "4",
|
|
7569
7569
|
class: "ao-field__textarea"
|
|
7570
7570
|
}, null, 512), [
|
|
@@ -7577,12 +7577,12 @@ const Kc = { class: "ao-comments" }, xc = {
|
|
|
7577
7577
|
])
|
|
7578
7578
|
]),
|
|
7579
7579
|
r("div", td, [
|
|
7580
|
-
|
|
7580
|
+
M(de, {
|
|
7581
7581
|
type: "submit",
|
|
7582
7582
|
"icon-name": "SendRounded",
|
|
7583
7583
|
color: "primary",
|
|
7584
7584
|
variant: "solid",
|
|
7585
|
-
label:
|
|
7585
|
+
label: d.$t("activity.comment.submit")
|
|
7586
7586
|
}, null, 8, ["label"])
|
|
7587
7587
|
])
|
|
7588
7588
|
], 40, Qc)
|
|
@@ -7604,77 +7604,77 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7604
7604
|
emits: ["update:activity", "addSubtask", "addComment", "updateComment", "removeComment"],
|
|
7605
7605
|
setup(a, { emit: e }) {
|
|
7606
7606
|
const t = a, { users: s, userId: n } = F1(), l = _(() => {
|
|
7607
|
-
var
|
|
7608
|
-
return (
|
|
7607
|
+
var h;
|
|
7608
|
+
return (h = t.activities) == null ? void 0 : h.find((y) => y.id === t.activityId);
|
|
7609
7609
|
}), i = _(() => {
|
|
7610
|
-
var
|
|
7611
|
-
return ((
|
|
7610
|
+
var h;
|
|
7611
|
+
return ((h = t.activityTypes) == null ? void 0 : h.map((y) => ({
|
|
7612
7612
|
value: y,
|
|
7613
7613
|
label: y
|
|
7614
7614
|
}))) || [];
|
|
7615
|
-
}), o = (
|
|
7616
|
-
const { id: y } =
|
|
7615
|
+
}), o = (h) => {
|
|
7616
|
+
const { id: y } = h;
|
|
7617
7617
|
l.value && l.value.projectId && e("update:activity", {
|
|
7618
7618
|
itemType: ue.ACTIVITIES,
|
|
7619
7619
|
id: y,
|
|
7620
7620
|
projectId: l.value.projectId,
|
|
7621
7621
|
data: {
|
|
7622
7622
|
...l.value,
|
|
7623
|
-
...
|
|
7623
|
+
...h,
|
|
7624
7624
|
phaseId: t.phaseId,
|
|
7625
7625
|
milestoneId: t.milestoneId
|
|
7626
7626
|
}
|
|
7627
7627
|
});
|
|
7628
|
-
},
|
|
7628
|
+
}, v = (h) => {
|
|
7629
7629
|
e("addSubtask", {
|
|
7630
|
-
...
|
|
7630
|
+
...h,
|
|
7631
7631
|
milestoneId: t.milestoneId,
|
|
7632
7632
|
phaseId: t.phaseId
|
|
7633
7633
|
});
|
|
7634
|
-
},
|
|
7634
|
+
}, d = (h) => {
|
|
7635
7635
|
l.value && e("addComment", {
|
|
7636
7636
|
activityId: l.value.id,
|
|
7637
|
-
comment:
|
|
7637
|
+
comment: h
|
|
7638
7638
|
});
|
|
7639
|
-
}, u = (
|
|
7639
|
+
}, u = (h) => {
|
|
7640
7640
|
const { id: y } = l.value || {};
|
|
7641
|
-
y && e("updateComment", { ...
|
|
7642
|
-
},
|
|
7641
|
+
y && e("updateComment", { ...h, activityId: y });
|
|
7642
|
+
}, p = (h) => {
|
|
7643
7643
|
const { id: y } = l.value || {};
|
|
7644
|
-
y && e("removeComment", { id:
|
|
7644
|
+
y && e("removeComment", { id: h, activityId: y });
|
|
7645
7645
|
};
|
|
7646
|
-
return (
|
|
7646
|
+
return (h, y) => l.value ? (c(), U(i1, {
|
|
7647
7647
|
key: 0,
|
|
7648
7648
|
activity: l.value,
|
|
7649
7649
|
"activity-types": i.value,
|
|
7650
|
-
"milestone-id":
|
|
7651
|
-
"template-activities":
|
|
7650
|
+
"milestone-id": h.milestoneId,
|
|
7651
|
+
"template-activities": h.activities,
|
|
7652
7652
|
"is-template": !1,
|
|
7653
7653
|
users: H(s),
|
|
7654
|
-
onClose:
|
|
7655
|
-
"onUpdate:activity": y[0] || (y[0] = (
|
|
7654
|
+
onClose: h.$router.back,
|
|
7655
|
+
"onUpdate:activity": y[0] || (y[0] = (w) => {
|
|
7656
7656
|
o({
|
|
7657
|
-
...
|
|
7657
|
+
...w
|
|
7658
7658
|
});
|
|
7659
7659
|
}),
|
|
7660
|
-
onAddSubtask:
|
|
7660
|
+
onAddSubtask: v
|
|
7661
7661
|
}, {
|
|
7662
7662
|
default: q(() => [
|
|
7663
7663
|
r("fieldset", ad, [
|
|
7664
7664
|
r("div", nd, [
|
|
7665
|
-
|
|
7666
|
-
|
|
7665
|
+
M(ie, { name: "ChatOutline" }),
|
|
7666
|
+
M(ve, {
|
|
7667
7667
|
level: 4,
|
|
7668
|
-
title:
|
|
7668
|
+
title: h.$t("activity.comments.title")
|
|
7669
7669
|
}, null, 8, ["title"])
|
|
7670
7670
|
]),
|
|
7671
|
-
|
|
7671
|
+
M(W1, {
|
|
7672
7672
|
comments: l.value.comments,
|
|
7673
7673
|
users: H(s),
|
|
7674
7674
|
"user-id": H(n),
|
|
7675
|
-
onCreateComment:
|
|
7675
|
+
onCreateComment: d,
|
|
7676
7676
|
onUpdateComment: u,
|
|
7677
|
-
onRemoveComment:
|
|
7677
|
+
onRemoveComment: p
|
|
7678
7678
|
}, null, 8, ["comments", "users", "user-id"])
|
|
7679
7679
|
])
|
|
7680
7680
|
]),
|
|
@@ -7746,38 +7746,38 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7746
7746
|
emits: ["addTemplate", "updateTemplates", "updateItem"],
|
|
7747
7747
|
setup(a, { emit: e }) {
|
|
7748
7748
|
const t = a, { t: s } = Re(), n = () => {
|
|
7749
|
-
var
|
|
7750
|
-
const o = (
|
|
7751
|
-
name: s("template.defaultName.template", { idx:
|
|
7752
|
-
rank:
|
|
7749
|
+
var p, h;
|
|
7750
|
+
const o = (p = t.templates) == null ? void 0 : p.at(-1), v = o ? we.LexoRank.parse(o.rank).genNext() : we.LexoRank.middle(), d = ((h = t.templates) == null ? void 0 : h.length) ?? 0, u = {
|
|
7751
|
+
name: s("template.defaultName.template", { idx: d + 1 }),
|
|
7752
|
+
rank: v.format()
|
|
7753
7753
|
};
|
|
7754
7754
|
e("addTemplate", u);
|
|
7755
|
-
}, l = (o,
|
|
7755
|
+
}, l = (o, v) => {
|
|
7756
7756
|
e("updateItem", {
|
|
7757
7757
|
itemType: ue.TEMPLATES,
|
|
7758
7758
|
id: o,
|
|
7759
7759
|
templateId: o,
|
|
7760
7760
|
data: {
|
|
7761
|
-
name:
|
|
7761
|
+
name: v
|
|
7762
7762
|
}
|
|
7763
7763
|
});
|
|
7764
7764
|
}, i = (o) => {
|
|
7765
7765
|
if (o.moved) {
|
|
7766
|
-
const
|
|
7766
|
+
const v = Bt(o, t.templates ?? []);
|
|
7767
7767
|
e("updateItem", {
|
|
7768
7768
|
itemType: ue.TEMPLATES,
|
|
7769
7769
|
id: o.moved.element.id,
|
|
7770
7770
|
templateId: o.moved.element.id,
|
|
7771
7771
|
data: {
|
|
7772
|
-
rank:
|
|
7772
|
+
rank: v
|
|
7773
7773
|
}
|
|
7774
7774
|
});
|
|
7775
7775
|
}
|
|
7776
7776
|
};
|
|
7777
|
-
return (o,
|
|
7778
|
-
|
|
7777
|
+
return (o, v) => (c(), f("div", id, [
|
|
7778
|
+
M(Zt, null, {
|
|
7779
7779
|
secondary: q(() => [
|
|
7780
|
-
|
|
7780
|
+
M(de, {
|
|
7781
7781
|
label: o.$t("templates.new"),
|
|
7782
7782
|
color: "primary",
|
|
7783
7783
|
"icon-name": "Add",
|
|
@@ -7787,27 +7787,27 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7787
7787
|
]),
|
|
7788
7788
|
_: 1
|
|
7789
7789
|
}),
|
|
7790
|
-
|
|
7790
|
+
M(H(ht), {
|
|
7791
7791
|
"model-value": o.templates,
|
|
7792
7792
|
class: "ao-templates__list",
|
|
7793
7793
|
"item-key": "id",
|
|
7794
7794
|
handle: ".ao-card__drag",
|
|
7795
7795
|
onChange: i
|
|
7796
7796
|
}, {
|
|
7797
|
-
item: q(({ element:
|
|
7797
|
+
item: q(({ element: d }) => {
|
|
7798
7798
|
var u;
|
|
7799
7799
|
return [
|
|
7800
|
-
|
|
7801
|
-
title:
|
|
7802
|
-
phases:
|
|
7803
|
-
milestones: (u =
|
|
7804
|
-
activities:
|
|
7805
|
-
"updated-at":
|
|
7806
|
-
"updated-by":
|
|
7807
|
-
onUpdateTitle: (
|
|
7808
|
-
onClick: (
|
|
7800
|
+
M(M0, {
|
|
7801
|
+
title: d.name || d.id,
|
|
7802
|
+
phases: d.phases,
|
|
7803
|
+
milestones: (u = d.phases) != null && u.length ? H(e0)(d.phases) : 0,
|
|
7804
|
+
activities: d.phases ? H(t0)(d.phases) : 0,
|
|
7805
|
+
"updated-at": d.updatedAt,
|
|
7806
|
+
"updated-by": d.updatedBy,
|
|
7807
|
+
onUpdateTitle: (p) => l(d.id, p),
|
|
7808
|
+
onClick: (p) => o.$router.push({
|
|
7809
7809
|
name: H(dt).TEMPLATE_DETAILS,
|
|
7810
|
-
params: { templateId:
|
|
7810
|
+
params: { templateId: d.id }
|
|
7811
7811
|
})
|
|
7812
7812
|
}, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
7813
7813
|
];
|
|
@@ -7824,8 +7824,8 @@ const od = { class: "ao-col-header" }, rd = /* @__PURE__ */ Y({
|
|
|
7824
7824
|
items: {}
|
|
7825
7825
|
},
|
|
7826
7826
|
setup(a) {
|
|
7827
|
-
return (e, t) => (c(),
|
|
7828
|
-
|
|
7827
|
+
return (e, t) => (c(), f("header", od, [
|
|
7828
|
+
M(ve, {
|
|
7829
7829
|
title: e.title,
|
|
7830
7830
|
class: "ao-col-header__title",
|
|
7831
7831
|
level: 4
|
|
@@ -7862,13 +7862,13 @@ function md(a, e = {}) {
|
|
|
7862
7862
|
clearTimeout(o), n(), n = vt;
|
|
7863
7863
|
};
|
|
7864
7864
|
return (o) => {
|
|
7865
|
-
const
|
|
7866
|
-
return t && l(t),
|
|
7867
|
-
n = e.rejectOnCancel ?
|
|
7865
|
+
const v = It(a), d = It(e.maxWait);
|
|
7866
|
+
return t && l(t), v <= 0 || d !== void 0 && d <= 0 ? (s && (l(s), s = null), Promise.resolve(o())) : new Promise((u, p) => {
|
|
7867
|
+
n = e.rejectOnCancel ? p : u, d && !s && (s = setTimeout(() => {
|
|
7868
7868
|
t && l(t), s = null, u(o());
|
|
7869
|
-
},
|
|
7869
|
+
}, d)), t = setTimeout(() => {
|
|
7870
7870
|
s && l(s), s = null, u(o());
|
|
7871
|
-
},
|
|
7871
|
+
}, v);
|
|
7872
7872
|
});
|
|
7873
7873
|
};
|
|
7874
7874
|
}
|
|
@@ -7901,15 +7901,15 @@ function _d(a, e, t = {}) {
|
|
|
7901
7901
|
threshold: l = 0.1,
|
|
7902
7902
|
window: i = hd,
|
|
7903
7903
|
immediate: o = !0
|
|
7904
|
-
} = t,
|
|
7905
|
-
const
|
|
7906
|
-
return (Array.isArray(
|
|
7904
|
+
} = t, v = Cd(() => i && "IntersectionObserver" in i), d = _(() => {
|
|
7905
|
+
const w = It(a);
|
|
7906
|
+
return (Array.isArray(w) ? w : [w]).map(Qt).filter(dd);
|
|
7907
7907
|
});
|
|
7908
7908
|
let u = vt;
|
|
7909
|
-
const
|
|
7910
|
-
() => [
|
|
7911
|
-
([
|
|
7912
|
-
if (u(), !
|
|
7909
|
+
const p = ee(o), h = v.value ? fe(
|
|
7910
|
+
() => [d.value, Qt(s), p.value],
|
|
7911
|
+
([w, I]) => {
|
|
7912
|
+
if (u(), !p.value || !w.length)
|
|
7913
7913
|
return;
|
|
7914
7914
|
const E = new IntersectionObserver(
|
|
7915
7915
|
e,
|
|
@@ -7919,22 +7919,22 @@ function _d(a, e, t = {}) {
|
|
|
7919
7919
|
threshold: l
|
|
7920
7920
|
}
|
|
7921
7921
|
);
|
|
7922
|
-
|
|
7922
|
+
w.forEach((b) => b && E.observe(b)), u = () => {
|
|
7923
7923
|
E.disconnect(), u = vt;
|
|
7924
7924
|
};
|
|
7925
7925
|
},
|
|
7926
7926
|
{ immediate: o, flush: "post" }
|
|
7927
7927
|
) : vt, y = () => {
|
|
7928
|
-
u(),
|
|
7928
|
+
u(), h(), p.value = !1;
|
|
7929
7929
|
};
|
|
7930
7930
|
return ud(y), {
|
|
7931
|
-
isSupported:
|
|
7932
|
-
isActive:
|
|
7931
|
+
isSupported: v,
|
|
7932
|
+
isActive: p,
|
|
7933
7933
|
pause() {
|
|
7934
|
-
u(),
|
|
7934
|
+
u(), p.value = !1;
|
|
7935
7935
|
},
|
|
7936
7936
|
resume() {
|
|
7937
|
-
|
|
7937
|
+
p.value = !0;
|
|
7938
7938
|
},
|
|
7939
7939
|
stop: y
|
|
7940
7940
|
};
|
|
@@ -7971,58 +7971,58 @@ const gd = {
|
|
|
7971
7971
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
7972
7972
|
setup(a, { emit: e }) {
|
|
7973
7973
|
const t = a, s = ee(!1), n = ee(null);
|
|
7974
|
-
_d(n, ([{ isIntersecting:
|
|
7975
|
-
s.value =
|
|
7976
|
-
}), fe(s, (
|
|
7977
|
-
|
|
7974
|
+
_d(n, ([{ isIntersecting: v }]) => {
|
|
7975
|
+
s.value = v;
|
|
7976
|
+
}), fe(s, (v) => {
|
|
7977
|
+
v && t.hasMore && !t.isLoading && e("loadMore");
|
|
7978
7978
|
});
|
|
7979
|
-
const l = (
|
|
7980
|
-
e("selectActivity",
|
|
7981
|
-
}, i = (
|
|
7982
|
-
e("updateActivity",
|
|
7983
|
-
}, o = (
|
|
7984
|
-
"added" in
|
|
7985
|
-
id:
|
|
7979
|
+
const l = (v) => {
|
|
7980
|
+
e("selectActivity", v);
|
|
7981
|
+
}, i = (v) => {
|
|
7982
|
+
e("updateActivity", v);
|
|
7983
|
+
}, o = (v) => {
|
|
7984
|
+
"added" in v ? e("updateActivity", {
|
|
7985
|
+
id: v.added.element.id,
|
|
7986
7986
|
statusId: t.status.id,
|
|
7987
|
-
rank: Jt(t.list, 0,
|
|
7988
|
-
}) : "removed" in
|
|
7989
|
-
id:
|
|
7987
|
+
rank: Jt(t.list, 0, v.added.newIndex)
|
|
7988
|
+
}) : "removed" in v || "moved" in v && e("updateActivity", {
|
|
7989
|
+
id: v.moved.element.id,
|
|
7990
7990
|
rank: Jt(
|
|
7991
7991
|
t.list,
|
|
7992
|
-
|
|
7993
|
-
|
|
7992
|
+
v.moved.oldIndex,
|
|
7993
|
+
v.moved.newIndex
|
|
7994
7994
|
)
|
|
7995
7995
|
});
|
|
7996
7996
|
};
|
|
7997
|
-
return (
|
|
7998
|
-
|
|
7997
|
+
return (v, d) => (c(), f("div", gd, [
|
|
7998
|
+
v.title || v.$slots.header ? K(v.$slots, "header", { key: 0 }, () => {
|
|
7999
7999
|
var u;
|
|
8000
8000
|
return [
|
|
8001
8001
|
r("div", yd, [
|
|
8002
|
-
|
|
8002
|
+
v.title ? (c(), U(rd, {
|
|
8003
8003
|
key: 0,
|
|
8004
|
-
title:
|
|
8004
|
+
title: v.title,
|
|
8005
8005
|
level: 3,
|
|
8006
|
-
items: (u =
|
|
8006
|
+
items: (u = v.list) == null ? void 0 : u.length
|
|
8007
8007
|
}, null, 8, ["title", "items"])) : k("", !0)
|
|
8008
8008
|
])
|
|
8009
8009
|
];
|
|
8010
8010
|
}) : k("", !0),
|
|
8011
|
-
|
|
8011
|
+
M(H(ht), Pe({
|
|
8012
8012
|
class: "ao-list-kanban__list",
|
|
8013
|
-
list:
|
|
8013
|
+
list: v.list,
|
|
8014
8014
|
"item-key": "id",
|
|
8015
8015
|
group: "kanban"
|
|
8016
|
-
},
|
|
8016
|
+
}, v.$attrs, { onChange: o }), {
|
|
8017
8017
|
item: q(({ element: u }) => {
|
|
8018
|
-
var
|
|
8018
|
+
var p, h, y, w, I, E, b;
|
|
8019
8019
|
return [
|
|
8020
|
-
|
|
8020
|
+
M(z1, {
|
|
8021
8021
|
id: u.id,
|
|
8022
8022
|
name: u.name,
|
|
8023
|
-
"project-name": (
|
|
8024
|
-
"phase-name": (y = (
|
|
8025
|
-
"milestone-name": (
|
|
8023
|
+
"project-name": (p = u.project) == null ? void 0 : p.name,
|
|
8024
|
+
"phase-name": (y = (h = u.milestone) == null ? void 0 : h.phase) == null ? void 0 : y.name,
|
|
8025
|
+
"milestone-name": (w = u.milestone) == null ? void 0 : w.name,
|
|
8026
8026
|
deadline: u.deadline,
|
|
8027
8027
|
rules: ((I = u.rules) == null ? void 0 : I.length) || 0,
|
|
8028
8028
|
tasks: u.tasks,
|
|
@@ -8031,22 +8031,22 @@ const gd = {
|
|
|
8031
8031
|
type: u.type,
|
|
8032
8032
|
comments: (E = u.comments) == null ? void 0 : E.length,
|
|
8033
8033
|
attachments: (b = u.attachments) == null ? void 0 : b.length,
|
|
8034
|
-
users:
|
|
8034
|
+
users: v.users,
|
|
8035
8035
|
assignee: u.assignee,
|
|
8036
8036
|
onClick: () => l(u.id),
|
|
8037
8037
|
onUpdateActivity: i,
|
|
8038
8038
|
onRemoveAssignee: () => i({ id: u.id, assigneeId: null })
|
|
8039
8039
|
}, {
|
|
8040
8040
|
secondary: q(() => [
|
|
8041
|
-
|
|
8041
|
+
M(de, {
|
|
8042
8042
|
color: "primary",
|
|
8043
8043
|
variant: "ghost",
|
|
8044
8044
|
"icon-name": "ArchiveOutlineRounded",
|
|
8045
8045
|
size: "sm",
|
|
8046
8046
|
"icon-position": "start",
|
|
8047
8047
|
corners: "round",
|
|
8048
|
-
label:
|
|
8049
|
-
onClick: ke(() =>
|
|
8048
|
+
label: v.$t("feed.activity.archive"),
|
|
8049
|
+
onClick: ke(() => v.$emit("archiveActivity", { id: u.id }), ["stop"])
|
|
8050
8050
|
}, null, 8, ["label", "onClick"])
|
|
8051
8051
|
]),
|
|
8052
8052
|
_: 2
|
|
@@ -8054,25 +8054,25 @@ const gd = {
|
|
|
8054
8054
|
];
|
|
8055
8055
|
}),
|
|
8056
8056
|
footer: q(() => [
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
])) :
|
|
8057
|
+
v.isLoading ? (c(), f("div", bd, [
|
|
8058
|
+
M(ie, { name: "Loading" })
|
|
8059
|
+
])) : v.hasMore ? (c(), f("div", {
|
|
8060
8060
|
key: 2,
|
|
8061
8061
|
ref_key: "scrollEnd",
|
|
8062
8062
|
ref: n,
|
|
8063
8063
|
class: "ao-list-kanban__end"
|
|
8064
|
-
}, null, 512)) : (c(),
|
|
8065
|
-
|
|
8064
|
+
}, null, 512)) : (c(), f("div", wd, [
|
|
8065
|
+
v.noMoreLabel ? (c(), f("span", $d, R(v.noMoreLabel), 1)) : (c(), f("span", Md))
|
|
8066
8066
|
]))
|
|
8067
8067
|
]),
|
|
8068
8068
|
_: 1
|
|
8069
8069
|
}, 16, ["list"]),
|
|
8070
|
-
|
|
8071
|
-
K(
|
|
8072
|
-
|
|
8070
|
+
v.$slots.footer || v.footerLabel ? (c(), f("div", kd, [
|
|
8071
|
+
K(v.$slots, "footer", {}, () => [
|
|
8072
|
+
M(je, {
|
|
8073
8073
|
"icon-name": "AddBoxOutlineRounded",
|
|
8074
|
-
label:
|
|
8075
|
-
onClick:
|
|
8074
|
+
label: v.footerLabel,
|
|
8075
|
+
onClick: d[0] || (d[0] = (u) => v.$emit("add"))
|
|
8076
8076
|
}, null, 8, ["label"])
|
|
8077
8077
|
])
|
|
8078
8078
|
])) : k("", !0)
|
|
@@ -8089,26 +8089,26 @@ const Td = { class: "ao-field ao-search-field" }, Ad = ["value", "placeholder",
|
|
|
8089
8089
|
emits: ["update:modelValue", "clear"],
|
|
8090
8090
|
setup(a, { emit: e }) {
|
|
8091
8091
|
const t = a, s = async (i) => {
|
|
8092
|
-
const
|
|
8093
|
-
e("update:modelValue",
|
|
8092
|
+
const v = i.target.value;
|
|
8093
|
+
e("update:modelValue", v, i);
|
|
8094
8094
|
}, n = fd(s, t.delay), l = (i) => {
|
|
8095
8095
|
e("clear", i);
|
|
8096
8096
|
};
|
|
8097
|
-
return (i, o) => (c(),
|
|
8097
|
+
return (i, o) => (c(), f("div", Td, [
|
|
8098
8098
|
r("input", {
|
|
8099
8099
|
value: i.modelValue,
|
|
8100
8100
|
type: "text",
|
|
8101
8101
|
class: "ao-field__input ao-search-field__input",
|
|
8102
8102
|
placeholder: i.placeholder,
|
|
8103
8103
|
onInput: o[0] || (o[0] = //@ts-ignore
|
|
8104
|
-
(...
|
|
8104
|
+
(...v) => H(n) && H(n)(...v)),
|
|
8105
8105
|
onKeypress: mt(s, ["enter"])
|
|
8106
8106
|
}, null, 40, Ad),
|
|
8107
|
-
|
|
8107
|
+
M(ie, {
|
|
8108
8108
|
name: "SearchRounded",
|
|
8109
8109
|
class: W(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
8110
8110
|
}, null, 8, ["class"]),
|
|
8111
|
-
|
|
8111
|
+
M(de, {
|
|
8112
8112
|
"icon-name": "CloseRounded",
|
|
8113
8113
|
size: "sm",
|
|
8114
8114
|
color: "primary",
|
|
@@ -8165,7 +8165,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8165
8165
|
},
|
|
8166
8166
|
{ immediate: !0 }
|
|
8167
8167
|
);
|
|
8168
|
-
const
|
|
8168
|
+
const v = (S) => {
|
|
8169
8169
|
var V, G;
|
|
8170
8170
|
const j = (V = t.activities) == null ? void 0 : V.at(-1), le = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, P = {
|
|
8171
8171
|
name: s("activity.defaultName", { idx: g + 1 }),
|
|
@@ -8173,20 +8173,20 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8173
8173
|
statusId: S.id
|
|
8174
8174
|
};
|
|
8175
8175
|
e("addActivity", P);
|
|
8176
|
-
},
|
|
8176
|
+
}, d = (S, j) => {
|
|
8177
8177
|
e("update:filters", { ...t.filters, [S]: j });
|
|
8178
8178
|
}, u = _(() => t.projects.map((S) => ({
|
|
8179
8179
|
value: S.id,
|
|
8180
8180
|
label: S.name
|
|
8181
|
-
}))),
|
|
8181
|
+
}))), p = _(() => t.activityTypes.map((S) => ({
|
|
8182
8182
|
value: S.id,
|
|
8183
8183
|
label: S.name
|
|
8184
|
-
}))),
|
|
8184
|
+
}))), h = _(() => t.users.map((S) => ({
|
|
8185
8185
|
value: S.id,
|
|
8186
8186
|
label: `${S.firstName} ${S.lastName}`
|
|
8187
8187
|
}))), y = (S) => {
|
|
8188
8188
|
i.value && e("update:activity", S);
|
|
8189
|
-
},
|
|
8189
|
+
}, w = (S) => {
|
|
8190
8190
|
e("update:activity", S);
|
|
8191
8191
|
}, I = ee(null), E = (S) => {
|
|
8192
8192
|
i.value && e("update:activity", {
|
|
@@ -8195,7 +8195,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8195
8195
|
});
|
|
8196
8196
|
}, b = (S) => {
|
|
8197
8197
|
e("archiveActivity", S);
|
|
8198
|
-
},
|
|
8198
|
+
}, $ = _({
|
|
8199
8199
|
get() {
|
|
8200
8200
|
var S;
|
|
8201
8201
|
return (S = i.value) == null ? void 0 : S.deadline;
|
|
@@ -8212,7 +8212,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8212
8212
|
i.value && e("addSubtask", S);
|
|
8213
8213
|
}, ne = (S) => {
|
|
8214
8214
|
i.value && e("updateSubtask", S);
|
|
8215
|
-
},
|
|
8215
|
+
}, C = (S) => {
|
|
8216
8216
|
i.value && e("deleteSubtask", S);
|
|
8217
8217
|
}, L = (S) => {
|
|
8218
8218
|
e("addFiles", S);
|
|
@@ -8240,17 +8240,17 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8240
8240
|
};
|
|
8241
8241
|
return (S, j) => {
|
|
8242
8242
|
var le;
|
|
8243
|
-
return c(),
|
|
8244
|
-
|
|
8243
|
+
return c(), f("div", Vd, [
|
|
8244
|
+
M(Zt, null, {
|
|
8245
8245
|
primary: q(() => [
|
|
8246
|
-
|
|
8246
|
+
M(Id, {
|
|
8247
8247
|
"model-value": S.searchText,
|
|
8248
8248
|
placeholder: S.$t("feed.search.placeholder"),
|
|
8249
8249
|
"onUpdate:modelValue": j[0] || (j[0] = (g) => S.$emit("update:searchText", g)),
|
|
8250
8250
|
onClear: D
|
|
8251
8251
|
}, null, 8, ["model-value", "placeholder"]),
|
|
8252
8252
|
r("div", Hd, [
|
|
8253
|
-
|
|
8253
|
+
M(H(pe), {
|
|
8254
8254
|
"model-value": S.filters[H(Ke).project],
|
|
8255
8255
|
mode: "tags",
|
|
8256
8256
|
options: u.value,
|
|
@@ -8258,30 +8258,30 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8258
8258
|
searchable: !0,
|
|
8259
8259
|
class: "ao-feed__filter",
|
|
8260
8260
|
placeholder: S.$t("feed.filters.project.placeholder"),
|
|
8261
|
-
"onUpdate:modelValue": j[1] || (j[1] = (g) =>
|
|
8261
|
+
"onUpdate:modelValue": j[1] || (j[1] = (g) => d(H(Ke).project, g))
|
|
8262
8262
|
}, null, 8, ["model-value", "options", "placeholder"]),
|
|
8263
|
-
|
|
8263
|
+
M(H(pe), {
|
|
8264
8264
|
"model-value": S.filters[H(Ke).type],
|
|
8265
8265
|
mode: "tags",
|
|
8266
|
-
options:
|
|
8266
|
+
options: p.value,
|
|
8267
8267
|
"close-on-select": !1,
|
|
8268
8268
|
searchable: !0,
|
|
8269
8269
|
class: "ao-feed__filter",
|
|
8270
8270
|
placeholder: S.$t("feed.filters.activityType.placeholder"),
|
|
8271
|
-
"onUpdate:modelValue": j[2] || (j[2] = (g) =>
|
|
8271
|
+
"onUpdate:modelValue": j[2] || (j[2] = (g) => d(H(Ke).type, g))
|
|
8272
8272
|
}, null, 8, ["model-value", "options", "placeholder"]),
|
|
8273
|
-
|
|
8273
|
+
M(H(pe), {
|
|
8274
8274
|
"model-value": S.filters[H(Ke).assignee],
|
|
8275
8275
|
mode: "tags",
|
|
8276
|
-
options:
|
|
8276
|
+
options: h.value,
|
|
8277
8277
|
"close-on-select": !1,
|
|
8278
8278
|
searchable: !0,
|
|
8279
8279
|
class: "ao-feed__filter",
|
|
8280
8280
|
placeholder: S.$t("feed.filters.assignee.placeholder"),
|
|
8281
|
-
"onUpdate:modelValue": j[3] || (j[3] = (g) =>
|
|
8281
|
+
"onUpdate:modelValue": j[3] || (j[3] = (g) => d(H(Ke).assignee, g))
|
|
8282
8282
|
}, {
|
|
8283
8283
|
tag: q(({ option: g, handleTagRemove: P }) => [
|
|
8284
|
-
|
|
8284
|
+
M(tt, {
|
|
8285
8285
|
"user-name": g.label,
|
|
8286
8286
|
"is-closable": !0,
|
|
8287
8287
|
onClose: (V) => P(g, V)
|
|
@@ -8294,24 +8294,24 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8294
8294
|
_: 1
|
|
8295
8295
|
}),
|
|
8296
8296
|
r("div", Dd, [
|
|
8297
|
-
(c(!0),
|
|
8297
|
+
(c(!0), f(oe, null, he(S.statuses, (g) => (c(), U(Sd, {
|
|
8298
8298
|
key: g.id,
|
|
8299
8299
|
status: g,
|
|
8300
8300
|
list: o.value[g.id],
|
|
8301
8301
|
title: g.name,
|
|
8302
8302
|
"footer-label": S.$t("feed.activity.add"),
|
|
8303
8303
|
users: S.users,
|
|
8304
|
-
onAdd: () =>
|
|
8304
|
+
onAdd: () => v(g),
|
|
8305
8305
|
onSelectActivity: H(l),
|
|
8306
8306
|
onArchiveActivity: b,
|
|
8307
|
-
onUpdateActivity:
|
|
8307
|
+
onUpdateActivity: w
|
|
8308
8308
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "onAdd", "onSelectActivity"]))), 128))
|
|
8309
8309
|
]),
|
|
8310
8310
|
(c(), U(kt, { to: "body" }, [
|
|
8311
|
-
H(i) ? (c(), U(
|
|
8311
|
+
H(i) ? (c(), U(i1, {
|
|
8312
8312
|
key: 0,
|
|
8313
8313
|
activity: H(i),
|
|
8314
|
-
"activity-types":
|
|
8314
|
+
"activity-types": p.value,
|
|
8315
8315
|
"milestone-id": (le = H(i).milestone) == null ? void 0 : le.id,
|
|
8316
8316
|
"template-activities": n.value,
|
|
8317
8317
|
users: S.users,
|
|
@@ -8319,12 +8319,12 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8319
8319
|
"onUpdate:activity": y,
|
|
8320
8320
|
onAddSubtask: X,
|
|
8321
8321
|
onUpdateSubtask: ne,
|
|
8322
|
-
onDeleteSubtask:
|
|
8322
|
+
onDeleteSubtask: C,
|
|
8323
8323
|
onAddFiles: L,
|
|
8324
8324
|
onRemoveFile: B
|
|
8325
8325
|
}, {
|
|
8326
8326
|
header: q(() => [
|
|
8327
|
-
|
|
8327
|
+
M(ve, {
|
|
8328
8328
|
ref_key: "target",
|
|
8329
8329
|
ref: I,
|
|
8330
8330
|
title: H(i).name || H(i).id,
|
|
@@ -8334,7 +8334,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8334
8334
|
}, null, 8, ["title"]),
|
|
8335
8335
|
r("label", Pd, [
|
|
8336
8336
|
r("span", Nd, R(S.$t("activity.status.label")), 1),
|
|
8337
|
-
|
|
8337
|
+
M(H(pe), {
|
|
8338
8338
|
options: N.value,
|
|
8339
8339
|
value: H(i).status.id,
|
|
8340
8340
|
onChange: x
|
|
@@ -8346,13 +8346,13 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8346
8346
|
r("label", Zd, [
|
|
8347
8347
|
r("span", Ud, R(S.$t("activity.deadline.label")), 1),
|
|
8348
8348
|
xe(r("input", {
|
|
8349
|
-
"onUpdate:modelValue": j[4] || (j[4] = (g) =>
|
|
8349
|
+
"onUpdate:modelValue": j[4] || (j[4] = (g) => $.value = g),
|
|
8350
8350
|
class: "ao-field__input",
|
|
8351
8351
|
type: "date"
|
|
8352
8352
|
}, null, 512), [
|
|
8353
8353
|
[
|
|
8354
8354
|
ft,
|
|
8355
|
-
|
|
8355
|
+
$.value,
|
|
8356
8356
|
void 0,
|
|
8357
8357
|
{ lazy: !0 }
|
|
8358
8358
|
]
|
|
@@ -8361,13 +8361,13 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8361
8361
|
]),
|
|
8362
8362
|
r("fieldset", jd, [
|
|
8363
8363
|
r("div", Rd, [
|
|
8364
|
-
|
|
8365
|
-
|
|
8364
|
+
M(ie, { name: "ChatOutline" }),
|
|
8365
|
+
M(ve, {
|
|
8366
8366
|
level: 4,
|
|
8367
8367
|
title: S.$t("activity.comments.title")
|
|
8368
8368
|
}, null, 8, ["title"])
|
|
8369
8369
|
]),
|
|
8370
|
-
|
|
8370
|
+
M(W1, {
|
|
8371
8371
|
comments: H(i).comments,
|
|
8372
8372
|
users: S.users,
|
|
8373
8373
|
"user-id": S.userId,
|