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