@26lights/orcha 0.41.68 → 0.41.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as pt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
|
|
2
2
|
import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import gt from "vuedraggable";
|
|
4
|
+
const e8 = /* @__PURE__ */ q({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
@@ -9,7 +9,7 @@ const J4 = /* @__PURE__ */ q({
|
|
|
9
9
|
setup(t) {
|
|
10
10
|
return (e, a) => (p(), D(Q(zi), Ae({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
12
|
+
}), U = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
14
14
|
for (const [s, n] of e)
|
|
15
15
|
a[s] = n;
|
|
@@ -29,7 +29,7 @@ const J4 = /* @__PURE__ */ q({
|
|
|
29
29
|
function Xi(t, e) {
|
|
30
30
|
return p(), C("svg", xi, Gi);
|
|
31
31
|
}
|
|
32
|
-
const Qi = /* @__PURE__ */
|
|
32
|
+
const Qi = /* @__PURE__ */ U(Yi, [["render", Xi]]), Ji = {}, eo = {
|
|
33
33
|
width: "24",
|
|
34
34
|
height: "24",
|
|
35
35
|
viewBox: "0 0 24 24",
|
|
@@ -44,7 +44,7 @@ const Qi = /* @__PURE__ */ F(Yi, [["render", Xi]]), Ji = {}, eo = {
|
|
|
44
44
|
function so(t, e) {
|
|
45
45
|
return p(), C("svg", eo, ao);
|
|
46
46
|
}
|
|
47
|
-
const no = /* @__PURE__ */
|
|
47
|
+
const no = /* @__PURE__ */ U(Ji, [["render", so]]), io = {}, oo = {
|
|
48
48
|
width: "24",
|
|
49
49
|
height: "24",
|
|
50
50
|
viewBox: "0 0 24 24",
|
|
@@ -59,7 +59,7 @@ const no = /* @__PURE__ */ F(Ji, [["render", so]]), io = {}, oo = {
|
|
|
59
59
|
function uo(t, e) {
|
|
60
60
|
return p(), C("svg", oo, ro);
|
|
61
61
|
}
|
|
62
|
-
const co = /* @__PURE__ */
|
|
62
|
+
const co = /* @__PURE__ */ U(io, [["render", uo]]), po = {}, vo = {
|
|
63
63
|
width: "24",
|
|
64
64
|
height: "24",
|
|
65
65
|
viewBox: "0 0 24 24",
|
|
@@ -74,7 +74,7 @@ const co = /* @__PURE__ */ F(io, [["render", uo]]), po = {}, vo = {
|
|
|
74
74
|
function mo(t, e) {
|
|
75
75
|
return p(), C("svg", vo, ho);
|
|
76
76
|
}
|
|
77
|
-
const go = /* @__PURE__ */
|
|
77
|
+
const go = /* @__PURE__ */ U(po, [["render", mo]]), Co = {}, _o = {
|
|
78
78
|
width: "24",
|
|
79
79
|
height: "24",
|
|
80
80
|
viewBox: "0 0 24 24",
|
|
@@ -89,7 +89,7 @@ const go = /* @__PURE__ */ F(po, [["render", mo]]), Co = {}, _o = {
|
|
|
89
89
|
function wo(t, e) {
|
|
90
90
|
return p(), C("svg", _o, bo);
|
|
91
91
|
}
|
|
92
|
-
const $o = /* @__PURE__ */
|
|
92
|
+
const $o = /* @__PURE__ */ U(Co, [["render", wo]]), ko = {}, So = {
|
|
93
93
|
width: "24",
|
|
94
94
|
height: "24",
|
|
95
95
|
viewBox: "0 0 24 24",
|
|
@@ -104,7 +104,7 @@ const $o = /* @__PURE__ */ F(Co, [["render", wo]]), ko = {}, So = {
|
|
|
104
104
|
function To(t, e) {
|
|
105
105
|
return p(), C("svg", So, Mo);
|
|
106
106
|
}
|
|
107
|
-
const Oo = /* @__PURE__ */
|
|
107
|
+
const Oo = /* @__PURE__ */ U(ko, [["render", To]]), Eo = {}, Io = {
|
|
108
108
|
width: "24",
|
|
109
109
|
height: "24",
|
|
110
110
|
viewBox: "0 0 24 24",
|
|
@@ -119,7 +119,7 @@ const Oo = /* @__PURE__ */ F(ko, [["render", To]]), Eo = {}, Io = {
|
|
|
119
119
|
function Ho(t, e) {
|
|
120
120
|
return p(), C("svg", Io, Po);
|
|
121
121
|
}
|
|
122
|
-
const Vo = /* @__PURE__ */
|
|
122
|
+
const Vo = /* @__PURE__ */ U(Eo, [["render", Ho]]), Do = {}, Bo = {
|
|
123
123
|
width: "24",
|
|
124
124
|
height: "24",
|
|
125
125
|
viewBox: "0 0 24 24",
|
|
@@ -134,7 +134,7 @@ const Vo = /* @__PURE__ */ F(Eo, [["render", Ho]]), Do = {}, Bo = {
|
|
|
134
134
|
function No(t, e) {
|
|
135
135
|
return p(), C("svg", Bo, Ro);
|
|
136
136
|
}
|
|
137
|
-
const Uo = /* @__PURE__ */
|
|
137
|
+
const Uo = /* @__PURE__ */ U(Do, [["render", No]]), Fo = {}, Zo = {
|
|
138
138
|
width: "24",
|
|
139
139
|
height: "24",
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
@@ -149,7 +149,7 @@ const Uo = /* @__PURE__ */ F(Do, [["render", No]]), Fo = {}, Zo = {
|
|
|
149
149
|
function qo(t, e) {
|
|
150
150
|
return p(), C("svg", Zo, zo);
|
|
151
151
|
}
|
|
152
|
-
const Yo = /* @__PURE__ */
|
|
152
|
+
const Yo = /* @__PURE__ */ U(Fo, [["render", qo]]), xo = {}, Ko = {
|
|
153
153
|
width: "24",
|
|
154
154
|
height: "24",
|
|
155
155
|
viewBox: "0 0 24 24",
|
|
@@ -164,7 +164,7 @@ const Yo = /* @__PURE__ */ F(Fo, [["render", qo]]), xo = {}, Ko = {
|
|
|
164
164
|
function Qo(t, e) {
|
|
165
165
|
return p(), C("svg", Ko, Xo);
|
|
166
166
|
}
|
|
167
|
-
const Jo = /* @__PURE__ */
|
|
167
|
+
const Jo = /* @__PURE__ */ U(xo, [["render", Qo]]), e1 = {}, t1 = {
|
|
168
168
|
width: "24",
|
|
169
169
|
height: "24",
|
|
170
170
|
viewBox: "0 0 24 24",
|
|
@@ -179,7 +179,7 @@ const Jo = /* @__PURE__ */ F(xo, [["render", Qo]]), e1 = {}, t1 = {
|
|
|
179
179
|
function n1(t, e) {
|
|
180
180
|
return p(), C("svg", t1, s1);
|
|
181
181
|
}
|
|
182
|
-
const i1 = /* @__PURE__ */
|
|
182
|
+
const i1 = /* @__PURE__ */ U(e1, [["render", n1]]), o1 = {}, l1 = {
|
|
183
183
|
width: "24",
|
|
184
184
|
height: "24",
|
|
185
185
|
viewBox: "0 0 24 24",
|
|
@@ -194,7 +194,7 @@ const i1 = /* @__PURE__ */ F(e1, [["render", n1]]), o1 = {}, l1 = {
|
|
|
194
194
|
function c1(t, e) {
|
|
195
195
|
return p(), C("svg", l1, u1);
|
|
196
196
|
}
|
|
197
|
-
const d1 = /* @__PURE__ */
|
|
197
|
+
const d1 = /* @__PURE__ */ U(o1, [["render", c1]]), p1 = {}, v1 = {
|
|
198
198
|
width: "24",
|
|
199
199
|
height: "24",
|
|
200
200
|
viewBox: "0 0 24 24",
|
|
@@ -209,7 +209,7 @@ const d1 = /* @__PURE__ */ F(o1, [["render", c1]]), p1 = {}, v1 = {
|
|
|
209
209
|
function m1(t, e) {
|
|
210
210
|
return p(), C("svg", v1, h1);
|
|
211
211
|
}
|
|
212
|
-
const g1 = /* @__PURE__ */
|
|
212
|
+
const g1 = /* @__PURE__ */ U(p1, [["render", m1]]), C1 = {}, _1 = {
|
|
213
213
|
width: "24",
|
|
214
214
|
height: "24",
|
|
215
215
|
viewBox: "0 0 24 24",
|
|
@@ -224,7 +224,7 @@ const g1 = /* @__PURE__ */ F(p1, [["render", m1]]), C1 = {}, _1 = {
|
|
|
224
224
|
function w1(t, e) {
|
|
225
225
|
return p(), C("svg", _1, b1);
|
|
226
226
|
}
|
|
227
|
-
const $1 = /* @__PURE__ */
|
|
227
|
+
const $1 = /* @__PURE__ */ U(C1, [["render", w1]]), k1 = {}, S1 = {
|
|
228
228
|
width: "24",
|
|
229
229
|
height: "24",
|
|
230
230
|
viewBox: "0 0 24 24",
|
|
@@ -239,7 +239,7 @@ const $1 = /* @__PURE__ */ F(C1, [["render", w1]]), k1 = {}, S1 = {
|
|
|
239
239
|
function T1(t, e) {
|
|
240
240
|
return p(), C("svg", S1, M1);
|
|
241
241
|
}
|
|
242
|
-
const O1 = /* @__PURE__ */
|
|
242
|
+
const O1 = /* @__PURE__ */ U(k1, [["render", T1]]), E1 = {}, I1 = {
|
|
243
243
|
width: "24",
|
|
244
244
|
height: "24",
|
|
245
245
|
viewBox: "0 0 24 24",
|
|
@@ -254,7 +254,7 @@ const O1 = /* @__PURE__ */ F(k1, [["render", T1]]), E1 = {}, I1 = {
|
|
|
254
254
|
function H1(t, e) {
|
|
255
255
|
return p(), C("svg", I1, P1);
|
|
256
256
|
}
|
|
257
|
-
const V1 = /* @__PURE__ */
|
|
257
|
+
const V1 = /* @__PURE__ */ U(E1, [["render", H1]]), D1 = {}, B1 = {
|
|
258
258
|
width: "24",
|
|
259
259
|
height: "24",
|
|
260
260
|
viewBox: "0 0 24 24",
|
|
@@ -269,7 +269,7 @@ const V1 = /* @__PURE__ */ F(E1, [["render", H1]]), D1 = {}, B1 = {
|
|
|
269
269
|
function N1(t, e) {
|
|
270
270
|
return p(), C("svg", B1, R1);
|
|
271
271
|
}
|
|
272
|
-
const U1 = /* @__PURE__ */
|
|
272
|
+
const U1 = /* @__PURE__ */ U(D1, [["render", N1]]), F1 = {}, Z1 = {
|
|
273
273
|
width: "24",
|
|
274
274
|
height: "24",
|
|
275
275
|
viewBox: "0 0 24 24",
|
|
@@ -284,7 +284,7 @@ const U1 = /* @__PURE__ */ F(D1, [["render", N1]]), F1 = {}, Z1 = {
|
|
|
284
284
|
function q1(t, e) {
|
|
285
285
|
return p(), C("svg", Z1, z1);
|
|
286
286
|
}
|
|
287
|
-
const Y1 = /* @__PURE__ */
|
|
287
|
+
const Y1 = /* @__PURE__ */ U(F1, [["render", q1]]), x1 = {}, K1 = {
|
|
288
288
|
width: "24",
|
|
289
289
|
height: "24",
|
|
290
290
|
viewBox: "0 0 24 24",
|
|
@@ -299,7 +299,7 @@ const Y1 = /* @__PURE__ */ F(F1, [["render", q1]]), x1 = {}, K1 = {
|
|
|
299
299
|
function Q1(t, e) {
|
|
300
300
|
return p(), C("svg", K1, X1);
|
|
301
301
|
}
|
|
302
|
-
const J1 = /* @__PURE__ */
|
|
302
|
+
const J1 = /* @__PURE__ */ U(x1, [["render", Q1]]), el = {}, tl = {
|
|
303
303
|
width: "24",
|
|
304
304
|
height: "24",
|
|
305
305
|
viewBox: "0 0 24 24",
|
|
@@ -314,7 +314,7 @@ const J1 = /* @__PURE__ */ F(x1, [["render", Q1]]), el = {}, tl = {
|
|
|
314
314
|
function nl(t, e) {
|
|
315
315
|
return p(), C("svg", tl, sl);
|
|
316
316
|
}
|
|
317
|
-
const il = /* @__PURE__ */
|
|
317
|
+
const il = /* @__PURE__ */ U(el, [["render", nl]]), ol = {}, ll = {
|
|
318
318
|
width: "24",
|
|
319
319
|
height: "24",
|
|
320
320
|
viewBox: "0 0 24 24",
|
|
@@ -329,7 +329,7 @@ const il = /* @__PURE__ */ F(el, [["render", nl]]), ol = {}, ll = {
|
|
|
329
329
|
function cl(t, e) {
|
|
330
330
|
return p(), C("svg", ll, ul);
|
|
331
331
|
}
|
|
332
|
-
const dl = /* @__PURE__ */
|
|
332
|
+
const dl = /* @__PURE__ */ U(ol, [["render", cl]]), pl = {}, vl = {
|
|
333
333
|
width: "24",
|
|
334
334
|
height: "24",
|
|
335
335
|
viewBox: "0 0 24 24",
|
|
@@ -344,7 +344,7 @@ const dl = /* @__PURE__ */ F(ol, [["render", cl]]), pl = {}, vl = {
|
|
|
344
344
|
function ml(t, e) {
|
|
345
345
|
return p(), C("svg", vl, hl);
|
|
346
346
|
}
|
|
347
|
-
const gl = /* @__PURE__ */
|
|
347
|
+
const gl = /* @__PURE__ */ U(pl, [["render", ml]]), Cl = {}, _l = {
|
|
348
348
|
width: "24",
|
|
349
349
|
height: "24",
|
|
350
350
|
viewBox: "0 0 24 24",
|
|
@@ -359,7 +359,7 @@ const gl = /* @__PURE__ */ F(pl, [["render", ml]]), Cl = {}, _l = {
|
|
|
359
359
|
function wl(t, e) {
|
|
360
360
|
return p(), C("svg", _l, bl);
|
|
361
361
|
}
|
|
362
|
-
const $l = /* @__PURE__ */
|
|
362
|
+
const $l = /* @__PURE__ */ U(Cl, [["render", wl]]), kl = {}, Sl = {
|
|
363
363
|
width: "24",
|
|
364
364
|
height: "24",
|
|
365
365
|
viewBox: "0 0 24 24",
|
|
@@ -374,7 +374,7 @@ const $l = /* @__PURE__ */ F(Cl, [["render", wl]]), kl = {}, Sl = {
|
|
|
374
374
|
function Tl(t, e) {
|
|
375
375
|
return p(), C("svg", Sl, Ml);
|
|
376
376
|
}
|
|
377
|
-
const Ol = /* @__PURE__ */
|
|
377
|
+
const Ol = /* @__PURE__ */ U(kl, [["render", Tl]]), El = {}, Il = {
|
|
378
378
|
width: "24",
|
|
379
379
|
height: "24",
|
|
380
380
|
viewBox: "0 0 24 24",
|
|
@@ -389,7 +389,7 @@ const Ol = /* @__PURE__ */ F(kl, [["render", Tl]]), El = {}, Il = {
|
|
|
389
389
|
function Hl(t, e) {
|
|
390
390
|
return p(), C("svg", Il, Pl);
|
|
391
391
|
}
|
|
392
|
-
const Vl = /* @__PURE__ */
|
|
392
|
+
const Vl = /* @__PURE__ */ U(El, [["render", Hl]]), Dl = {}, Bl = {
|
|
393
393
|
width: "24",
|
|
394
394
|
height: "24",
|
|
395
395
|
viewBox: "0 0 24 24",
|
|
@@ -404,7 +404,7 @@ const Vl = /* @__PURE__ */ F(El, [["render", Hl]]), Dl = {}, Bl = {
|
|
|
404
404
|
function Nl(t, e) {
|
|
405
405
|
return p(), C("svg", Bl, Rl);
|
|
406
406
|
}
|
|
407
|
-
const Ul = /* @__PURE__ */
|
|
407
|
+
const Ul = /* @__PURE__ */ U(Dl, [["render", Nl]]), Fl = {}, Zl = {
|
|
408
408
|
width: "24",
|
|
409
409
|
height: "24",
|
|
410
410
|
viewBox: "0 0 24 24",
|
|
@@ -419,7 +419,7 @@ const Ul = /* @__PURE__ */ F(Dl, [["render", Nl]]), Fl = {}, Zl = {
|
|
|
419
419
|
function ql(t, e) {
|
|
420
420
|
return p(), C("svg", Zl, zl);
|
|
421
421
|
}
|
|
422
|
-
const Yl = /* @__PURE__ */
|
|
422
|
+
const Yl = /* @__PURE__ */ U(Fl, [["render", ql]]), xl = {}, Kl = {
|
|
423
423
|
width: "24",
|
|
424
424
|
height: "24",
|
|
425
425
|
viewBox: "0 0 24 24",
|
|
@@ -434,7 +434,7 @@ const Yl = /* @__PURE__ */ F(Fl, [["render", ql]]), xl = {}, Kl = {
|
|
|
434
434
|
function Ql(t, e) {
|
|
435
435
|
return p(), C("svg", Kl, Xl);
|
|
436
436
|
}
|
|
437
|
-
const Jl = /* @__PURE__ */
|
|
437
|
+
const Jl = /* @__PURE__ */ U(xl, [["render", Ql]]), er = {}, tr = {
|
|
438
438
|
width: "24",
|
|
439
439
|
height: "24",
|
|
440
440
|
viewBox: "0 0 24 24",
|
|
@@ -449,7 +449,7 @@ const Jl = /* @__PURE__ */ F(xl, [["render", Ql]]), er = {}, tr = {
|
|
|
449
449
|
function nr(t, e) {
|
|
450
450
|
return p(), C("svg", tr, sr);
|
|
451
451
|
}
|
|
452
|
-
const ir = /* @__PURE__ */
|
|
452
|
+
const ir = /* @__PURE__ */ U(er, [["render", nr]]), or = {}, lr = {
|
|
453
453
|
width: "24",
|
|
454
454
|
height: "24",
|
|
455
455
|
viewBox: "0 0 24 24",
|
|
@@ -464,7 +464,7 @@ const ir = /* @__PURE__ */ F(er, [["render", nr]]), or = {}, lr = {
|
|
|
464
464
|
function cr(t, e) {
|
|
465
465
|
return p(), C("svg", lr, ur);
|
|
466
466
|
}
|
|
467
|
-
const dr = /* @__PURE__ */
|
|
467
|
+
const dr = /* @__PURE__ */ U(or, [["render", cr]]), pr = {}, vr = {
|
|
468
468
|
width: "24",
|
|
469
469
|
height: "24",
|
|
470
470
|
viewBox: "0 0 24 24",
|
|
@@ -479,7 +479,7 @@ const dr = /* @__PURE__ */ F(or, [["render", cr]]), pr = {}, vr = {
|
|
|
479
479
|
function mr(t, e) {
|
|
480
480
|
return p(), C("svg", vr, hr);
|
|
481
481
|
}
|
|
482
|
-
const gr = /* @__PURE__ */
|
|
482
|
+
const gr = /* @__PURE__ */ U(pr, [["render", mr]]), Cr = {}, _r = {
|
|
483
483
|
width: "24",
|
|
484
484
|
height: "24",
|
|
485
485
|
viewBox: "0 0 24 24",
|
|
@@ -494,7 +494,7 @@ const gr = /* @__PURE__ */ F(pr, [["render", mr]]), Cr = {}, _r = {
|
|
|
494
494
|
function wr(t, e) {
|
|
495
495
|
return p(), C("svg", _r, br);
|
|
496
496
|
}
|
|
497
|
-
const $r = /* @__PURE__ */
|
|
497
|
+
const $r = /* @__PURE__ */ U(Cr, [["render", wr]]), kr = {}, Sr = {
|
|
498
498
|
width: "24",
|
|
499
499
|
height: "24",
|
|
500
500
|
viewBox: "0 0 24 24",
|
|
@@ -509,7 +509,7 @@ const $r = /* @__PURE__ */ F(Cr, [["render", wr]]), kr = {}, Sr = {
|
|
|
509
509
|
function Tr(t, e) {
|
|
510
510
|
return p(), C("svg", Sr, Mr);
|
|
511
511
|
}
|
|
512
|
-
const Or = /* @__PURE__ */
|
|
512
|
+
const Or = /* @__PURE__ */ U(kr, [["render", Tr]]), Er = {}, Ir = {
|
|
513
513
|
width: "24",
|
|
514
514
|
height: "24",
|
|
515
515
|
viewBox: "0 0 24 24",
|
|
@@ -524,7 +524,7 @@ const Or = /* @__PURE__ */ F(kr, [["render", Tr]]), Er = {}, Ir = {
|
|
|
524
524
|
function Hr(t, e) {
|
|
525
525
|
return p(), C("svg", Ir, Pr);
|
|
526
526
|
}
|
|
527
|
-
const Vr = /* @__PURE__ */
|
|
527
|
+
const Vr = /* @__PURE__ */ U(Er, [["render", Hr]]), Dr = {}, Br = {
|
|
528
528
|
width: "24",
|
|
529
529
|
height: "24",
|
|
530
530
|
viewBox: "0 0 24 24",
|
|
@@ -539,7 +539,7 @@ const Vr = /* @__PURE__ */ F(Er, [["render", Hr]]), Dr = {}, Br = {
|
|
|
539
539
|
function Nr(t, e) {
|
|
540
540
|
return p(), C("svg", Br, Rr);
|
|
541
541
|
}
|
|
542
|
-
const Ur = /* @__PURE__ */
|
|
542
|
+
const Ur = /* @__PURE__ */ U(Dr, [["render", Nr]]), Fr = {}, Zr = {
|
|
543
543
|
width: "24",
|
|
544
544
|
height: "24",
|
|
545
545
|
viewBox: "0 0 24 24",
|
|
@@ -554,7 +554,7 @@ const Ur = /* @__PURE__ */ F(Dr, [["render", Nr]]), Fr = {}, Zr = {
|
|
|
554
554
|
function qr(t, e) {
|
|
555
555
|
return p(), C("svg", Zr, zr);
|
|
556
556
|
}
|
|
557
|
-
const Yr = /* @__PURE__ */
|
|
557
|
+
const Yr = /* @__PURE__ */ U(Fr, [["render", qr]]), xr = {}, Kr = {
|
|
558
558
|
width: "24",
|
|
559
559
|
height: "24",
|
|
560
560
|
viewBox: "0 0 24 24",
|
|
@@ -569,7 +569,7 @@ const Yr = /* @__PURE__ */ F(Fr, [["render", qr]]), xr = {}, Kr = {
|
|
|
569
569
|
function Qr(t, e) {
|
|
570
570
|
return p(), C("svg", Kr, Xr);
|
|
571
571
|
}
|
|
572
|
-
const Jr = /* @__PURE__ */
|
|
572
|
+
const Jr = /* @__PURE__ */ U(xr, [["render", Qr]]), eu = {}, tu = {
|
|
573
573
|
width: "24",
|
|
574
574
|
height: "24",
|
|
575
575
|
viewBox: "0 0 24 24",
|
|
@@ -584,7 +584,7 @@ const Jr = /* @__PURE__ */ F(xr, [["render", Qr]]), eu = {}, tu = {
|
|
|
584
584
|
function nu(t, e) {
|
|
585
585
|
return p(), C("svg", tu, su);
|
|
586
586
|
}
|
|
587
|
-
const iu = /* @__PURE__ */
|
|
587
|
+
const iu = /* @__PURE__ */ U(eu, [["render", nu]]), ou = {}, lu = {
|
|
588
588
|
width: "24",
|
|
589
589
|
height: "24",
|
|
590
590
|
viewBox: "0 0 24 24",
|
|
@@ -599,7 +599,7 @@ const iu = /* @__PURE__ */ F(eu, [["render", nu]]), ou = {}, lu = {
|
|
|
599
599
|
function cu(t, e) {
|
|
600
600
|
return p(), C("svg", lu, uu);
|
|
601
601
|
}
|
|
602
|
-
const du = /* @__PURE__ */
|
|
602
|
+
const du = /* @__PURE__ */ U(ou, [["render", cu]]), pu = {}, vu = {
|
|
603
603
|
width: "24",
|
|
604
604
|
height: "24",
|
|
605
605
|
viewBox: "0 0 24 24",
|
|
@@ -614,7 +614,7 @@ const du = /* @__PURE__ */ F(ou, [["render", cu]]), pu = {}, vu = {
|
|
|
614
614
|
function mu(t, e) {
|
|
615
615
|
return p(), C("svg", vu, hu);
|
|
616
616
|
}
|
|
617
|
-
const gu = /* @__PURE__ */
|
|
617
|
+
const gu = /* @__PURE__ */ U(pu, [["render", mu]]), Cu = q({
|
|
618
618
|
name: "LoadingIcon"
|
|
619
619
|
});
|
|
620
620
|
const Is = (t) => (Vi("data-v-ad6da4a9"), t = t(), Di(), t), _u = {
|
|
@@ -646,7 +646,7 @@ const Is = (t) => (Vi("data-v-ad6da4a9"), t = t(), Di(), t), _u = {
|
|
|
646
646
|
function ku(t, e, a, s, n, o) {
|
|
647
647
|
return p(), C("svg", _u, $u);
|
|
648
648
|
}
|
|
649
|
-
const Su = /* @__PURE__ */
|
|
649
|
+
const Su = /* @__PURE__ */ U(Cu, [["render", ku], ["__scopeId", "data-v-ad6da4a9"]]), Au = {}, Mu = {
|
|
650
650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
651
651
|
height: "24",
|
|
652
652
|
viewBox: "0 -960 960 960",
|
|
@@ -657,7 +657,7 @@ const Su = /* @__PURE__ */ F(Cu, [["render", ku], ["__scopeId", "data-v-ad6da4a9
|
|
|
657
657
|
function Eu(t, e) {
|
|
658
658
|
return p(), C("svg", Mu, Ou);
|
|
659
659
|
}
|
|
660
|
-
const Iu = /* @__PURE__ */
|
|
660
|
+
const Iu = /* @__PURE__ */ U(Au, [["render", Eu]]), Lu = {}, Pu = {
|
|
661
661
|
width: "24",
|
|
662
662
|
height: "24",
|
|
663
663
|
viewBox: "0 0 24 24",
|
|
@@ -672,7 +672,7 @@ const Iu = /* @__PURE__ */ F(Au, [["render", Eu]]), Lu = {}, Pu = {
|
|
|
672
672
|
function Du(t, e) {
|
|
673
673
|
return p(), C("svg", Pu, Vu);
|
|
674
674
|
}
|
|
675
|
-
const Bu = /* @__PURE__ */
|
|
675
|
+
const Bu = /* @__PURE__ */ U(Lu, [["render", Du]]), ju = {}, Ru = {
|
|
676
676
|
width: "24",
|
|
677
677
|
height: "24",
|
|
678
678
|
viewBox: "0 0 24 24",
|
|
@@ -687,7 +687,7 @@ const Bu = /* @__PURE__ */ F(Lu, [["render", Du]]), ju = {}, Ru = {
|
|
|
687
687
|
function Fu(t, e) {
|
|
688
688
|
return p(), C("svg", Ru, Uu);
|
|
689
689
|
}
|
|
690
|
-
const Zu = /* @__PURE__ */
|
|
690
|
+
const Zu = /* @__PURE__ */ U(ju, [["render", Fu]]), Wu = {}, zu = {
|
|
691
691
|
width: "24",
|
|
692
692
|
height: "24",
|
|
693
693
|
viewBox: "0 0 24 24",
|
|
@@ -702,7 +702,7 @@ const Zu = /* @__PURE__ */ F(ju, [["render", Fu]]), Wu = {}, zu = {
|
|
|
702
702
|
function xu(t, e) {
|
|
703
703
|
return p(), C("svg", zu, Yu);
|
|
704
704
|
}
|
|
705
|
-
const Ku = /* @__PURE__ */
|
|
705
|
+
const Ku = /* @__PURE__ */ U(Wu, [["render", xu]]), Gu = {}, Xu = {
|
|
706
706
|
width: "24",
|
|
707
707
|
height: "24",
|
|
708
708
|
viewBox: "0 0 24 24",
|
|
@@ -717,7 +717,7 @@ const Ku = /* @__PURE__ */ F(Wu, [["render", xu]]), Gu = {}, Xu = {
|
|
|
717
717
|
function ec(t, e) {
|
|
718
718
|
return p(), C("svg", Xu, Ju);
|
|
719
719
|
}
|
|
720
|
-
const tc = /* @__PURE__ */
|
|
720
|
+
const tc = /* @__PURE__ */ U(Gu, [["render", ec]]), ac = {}, sc = {
|
|
721
721
|
width: "24",
|
|
722
722
|
height: "24",
|
|
723
723
|
viewBox: "0 0 24 24",
|
|
@@ -732,7 +732,7 @@ const tc = /* @__PURE__ */ F(Gu, [["render", ec]]), ac = {}, sc = {
|
|
|
732
732
|
function oc(t, e) {
|
|
733
733
|
return p(), C("svg", sc, ic);
|
|
734
734
|
}
|
|
735
|
-
const lc = /* @__PURE__ */
|
|
735
|
+
const lc = /* @__PURE__ */ U(ac, [["render", oc]]), rc = {}, uc = {
|
|
736
736
|
width: "24",
|
|
737
737
|
height: "24",
|
|
738
738
|
viewBox: "0 0 24 24",
|
|
@@ -747,7 +747,7 @@ const lc = /* @__PURE__ */ F(ac, [["render", oc]]), rc = {}, uc = {
|
|
|
747
747
|
function pc(t, e) {
|
|
748
748
|
return p(), C("svg", uc, dc);
|
|
749
749
|
}
|
|
750
|
-
const vc = /* @__PURE__ */
|
|
750
|
+
const vc = /* @__PURE__ */ U(rc, [["render", pc]]), fc = {}, hc = {
|
|
751
751
|
width: "24",
|
|
752
752
|
height: "24",
|
|
753
753
|
viewBox: "0 0 24 24",
|
|
@@ -762,7 +762,7 @@ const vc = /* @__PURE__ */ F(rc, [["render", pc]]), fc = {}, hc = {
|
|
|
762
762
|
function Cc(t, e) {
|
|
763
763
|
return p(), C("svg", hc, gc);
|
|
764
764
|
}
|
|
765
|
-
const _c = /* @__PURE__ */
|
|
765
|
+
const _c = /* @__PURE__ */ U(fc, [["render", Cc]]), yc = {}, bc = {
|
|
766
766
|
width: "24",
|
|
767
767
|
height: "24",
|
|
768
768
|
viewBox: "0 0 24 24",
|
|
@@ -777,7 +777,7 @@ const _c = /* @__PURE__ */ F(fc, [["render", Cc]]), yc = {}, bc = {
|
|
|
777
777
|
function kc(t, e) {
|
|
778
778
|
return p(), C("svg", bc, $c);
|
|
779
779
|
}
|
|
780
|
-
const Sc = /* @__PURE__ */
|
|
780
|
+
const Sc = /* @__PURE__ */ U(yc, [["render", kc]]), Ac = {}, Mc = {
|
|
781
781
|
width: "24",
|
|
782
782
|
height: "24",
|
|
783
783
|
viewBox: "0 0 24 24",
|
|
@@ -792,7 +792,7 @@ const Sc = /* @__PURE__ */ F(yc, [["render", kc]]), Ac = {}, Mc = {
|
|
|
792
792
|
function Ec(t, e) {
|
|
793
793
|
return p(), C("svg", Mc, Oc);
|
|
794
794
|
}
|
|
795
|
-
const Ic = /* @__PURE__ */
|
|
795
|
+
const Ic = /* @__PURE__ */ U(Ac, [["render", Ec]]), Lc = {}, Pc = {
|
|
796
796
|
width: "24",
|
|
797
797
|
height: "24",
|
|
798
798
|
viewBox: "0 0 24 24",
|
|
@@ -807,7 +807,7 @@ const Ic = /* @__PURE__ */ F(Ac, [["render", Ec]]), Lc = {}, Pc = {
|
|
|
807
807
|
function Dc(t, e) {
|
|
808
808
|
return p(), C("svg", Pc, Vc);
|
|
809
809
|
}
|
|
810
|
-
const Bc = /* @__PURE__ */
|
|
810
|
+
const Bc = /* @__PURE__ */ U(Lc, [["render", Dc]]), jc = {}, Rc = {
|
|
811
811
|
width: "24",
|
|
812
812
|
height: "24",
|
|
813
813
|
viewBox: "0 0 24 24",
|
|
@@ -822,7 +822,7 @@ const Bc = /* @__PURE__ */ F(Lc, [["render", Dc]]), jc = {}, Rc = {
|
|
|
822
822
|
function Fc(t, e) {
|
|
823
823
|
return p(), C("svg", Rc, Uc);
|
|
824
824
|
}
|
|
825
|
-
const Zc = /* @__PURE__ */
|
|
825
|
+
const Zc = /* @__PURE__ */ U(jc, [["render", Fc]]), Wc = {}, zc = {
|
|
826
826
|
width: "24",
|
|
827
827
|
height: "24",
|
|
828
828
|
viewBox: "0 0 24 24",
|
|
@@ -837,7 +837,7 @@ const Zc = /* @__PURE__ */ F(jc, [["render", Fc]]), Wc = {}, zc = {
|
|
|
837
837
|
function xc(t, e) {
|
|
838
838
|
return p(), C("svg", zc, Yc);
|
|
839
839
|
}
|
|
840
|
-
const Kc = /* @__PURE__ */
|
|
840
|
+
const Kc = /* @__PURE__ */ U(Wc, [["render", xc]]), Gc = {}, Xc = {
|
|
841
841
|
width: "26",
|
|
842
842
|
height: "29",
|
|
843
843
|
viewBox: "0 0 26 29",
|
|
@@ -849,7 +849,7 @@ const Kc = /* @__PURE__ */ F(Wc, [["render", xc]]), Gc = {}, Xc = {
|
|
|
849
849
|
function ed(t, e) {
|
|
850
850
|
return p(), C("svg", Xc, Jc);
|
|
851
851
|
}
|
|
852
|
-
const td = /* @__PURE__ */
|
|
852
|
+
const td = /* @__PURE__ */ U(Gc, [["render", ed]]), ad = {}, sd = {
|
|
853
853
|
width: "24",
|
|
854
854
|
height: "24",
|
|
855
855
|
viewBox: "0 0 24 24",
|
|
@@ -864,7 +864,7 @@ const td = /* @__PURE__ */ F(Gc, [["render", ed]]), ad = {}, sd = {
|
|
|
864
864
|
function od(t, e) {
|
|
865
865
|
return p(), C("svg", sd, id);
|
|
866
866
|
}
|
|
867
|
-
const ld = /* @__PURE__ */
|
|
867
|
+
const ld = /* @__PURE__ */ U(ad, [["render", od]]), rd = {}, ud = {
|
|
868
868
|
width: "24",
|
|
869
869
|
height: "24",
|
|
870
870
|
viewBox: "0 0 24 24",
|
|
@@ -879,7 +879,7 @@ const ld = /* @__PURE__ */ F(ad, [["render", od]]), rd = {}, ud = {
|
|
|
879
879
|
function pd(t, e) {
|
|
880
880
|
return p(), C("svg", ud, dd);
|
|
881
881
|
}
|
|
882
|
-
const vd = /* @__PURE__ */
|
|
882
|
+
const vd = /* @__PURE__ */ U(rd, [["render", pd]]), fd = {}, hd = {
|
|
883
883
|
width: "24",
|
|
884
884
|
height: "24",
|
|
885
885
|
viewBox: "0 0 24 24",
|
|
@@ -894,7 +894,7 @@ const vd = /* @__PURE__ */ F(rd, [["render", pd]]), fd = {}, hd = {
|
|
|
894
894
|
function Cd(t, e) {
|
|
895
895
|
return p(), C("svg", hd, gd);
|
|
896
896
|
}
|
|
897
|
-
const _d = /* @__PURE__ */
|
|
897
|
+
const _d = /* @__PURE__ */ U(fd, [["render", Cd]]), yd = {}, bd = {
|
|
898
898
|
width: "24",
|
|
899
899
|
height: "24",
|
|
900
900
|
viewBox: "0 0 24 24",
|
|
@@ -909,7 +909,7 @@ const _d = /* @__PURE__ */ F(fd, [["render", Cd]]), yd = {}, bd = {
|
|
|
909
909
|
function kd(t, e) {
|
|
910
910
|
return p(), C("svg", bd, $d);
|
|
911
911
|
}
|
|
912
|
-
const Sd = /* @__PURE__ */
|
|
912
|
+
const Sd = /* @__PURE__ */ U(yd, [["render", kd]]), Ad = {}, Md = {
|
|
913
913
|
width: "24",
|
|
914
914
|
height: "24",
|
|
915
915
|
viewBox: "0 0 24 24",
|
|
@@ -924,7 +924,7 @@ const Sd = /* @__PURE__ */ F(yd, [["render", kd]]), Ad = {}, Md = {
|
|
|
924
924
|
function Ed(t, e) {
|
|
925
925
|
return p(), C("svg", Md, Od);
|
|
926
926
|
}
|
|
927
|
-
const Id = /* @__PURE__ */
|
|
927
|
+
const Id = /* @__PURE__ */ U(Ad, [["render", Ed]]), Ld = {}, Pd = {
|
|
928
928
|
width: "24",
|
|
929
929
|
height: "24",
|
|
930
930
|
viewBox: "0 0 24 24",
|
|
@@ -939,7 +939,7 @@ const Id = /* @__PURE__ */ F(Ad, [["render", Ed]]), Ld = {}, Pd = {
|
|
|
939
939
|
function Dd(t, e) {
|
|
940
940
|
return p(), C("svg", Pd, Vd);
|
|
941
941
|
}
|
|
942
|
-
const Bd = /* @__PURE__ */
|
|
942
|
+
const Bd = /* @__PURE__ */ U(Ld, [["render", Dd]]), jd = {}, Rd = {
|
|
943
943
|
width: "24",
|
|
944
944
|
height: "24",
|
|
945
945
|
viewBox: "0 0 24 24",
|
|
@@ -954,7 +954,7 @@ const Bd = /* @__PURE__ */ F(Ld, [["render", Dd]]), jd = {}, Rd = {
|
|
|
954
954
|
function Fd(t, e) {
|
|
955
955
|
return p(), C("svg", Rd, Ud);
|
|
956
956
|
}
|
|
957
|
-
const Zd = /* @__PURE__ */
|
|
957
|
+
const Zd = /* @__PURE__ */ U(jd, [["render", Fd]]), Wd = {}, zd = {
|
|
958
958
|
width: "24",
|
|
959
959
|
height: "24",
|
|
960
960
|
viewBox: "0 0 24 24",
|
|
@@ -969,7 +969,7 @@ const Zd = /* @__PURE__ */ F(jd, [["render", Fd]]), Wd = {}, zd = {
|
|
|
969
969
|
function xd(t, e) {
|
|
970
970
|
return p(), C("svg", zd, Yd);
|
|
971
971
|
}
|
|
972
|
-
const Kd = /* @__PURE__ */
|
|
972
|
+
const Kd = /* @__PURE__ */ U(Wd, [["render", xd]]), Gd = {}, Xd = {
|
|
973
973
|
width: "24",
|
|
974
974
|
height: "24",
|
|
975
975
|
viewBox: "0 0 24 24",
|
|
@@ -984,7 +984,7 @@ const Kd = /* @__PURE__ */ F(Wd, [["render", xd]]), Gd = {}, Xd = {
|
|
|
984
984
|
function e2(t, e) {
|
|
985
985
|
return p(), C("svg", Xd, Jd);
|
|
986
986
|
}
|
|
987
|
-
const t2 = /* @__PURE__ */
|
|
987
|
+
const t2 = /* @__PURE__ */ U(Gd, [["render", e2]]), a2 = {}, s2 = {
|
|
988
988
|
width: "24",
|
|
989
989
|
height: "24",
|
|
990
990
|
viewBox: "0 0 24 24",
|
|
@@ -999,7 +999,7 @@ const t2 = /* @__PURE__ */ F(Gd, [["render", e2]]), a2 = {}, s2 = {
|
|
|
999
999
|
function o2(t, e) {
|
|
1000
1000
|
return p(), C("svg", s2, i2);
|
|
1001
1001
|
}
|
|
1002
|
-
const l2 = /* @__PURE__ */
|
|
1002
|
+
const l2 = /* @__PURE__ */ U(a2, [["render", o2]]), r2 = {}, u2 = {
|
|
1003
1003
|
width: "24",
|
|
1004
1004
|
height: "24",
|
|
1005
1005
|
viewBox: "0 0 24 24",
|
|
@@ -1014,7 +1014,7 @@ const l2 = /* @__PURE__ */ F(a2, [["render", o2]]), r2 = {}, u2 = {
|
|
|
1014
1014
|
function p2(t, e) {
|
|
1015
1015
|
return p(), C("svg", u2, d2);
|
|
1016
1016
|
}
|
|
1017
|
-
const v2 = /* @__PURE__ */
|
|
1017
|
+
const v2 = /* @__PURE__ */ U(r2, [["render", p2]]), f2 = {}, h2 = {
|
|
1018
1018
|
width: "24",
|
|
1019
1019
|
height: "24",
|
|
1020
1020
|
viewBox: "0 0 24 24",
|
|
@@ -1029,7 +1029,7 @@ const v2 = /* @__PURE__ */ F(r2, [["render", p2]]), f2 = {}, h2 = {
|
|
|
1029
1029
|
function C2(t, e) {
|
|
1030
1030
|
return p(), C("svg", h2, g2);
|
|
1031
1031
|
}
|
|
1032
|
-
const _2 = /* @__PURE__ */
|
|
1032
|
+
const _2 = /* @__PURE__ */ U(f2, [["render", C2]]), y2 = {}, b2 = {
|
|
1033
1033
|
width: "24",
|
|
1034
1034
|
height: "24",
|
|
1035
1035
|
viewBox: "0 0 24 24",
|
|
@@ -1044,7 +1044,7 @@ const _2 = /* @__PURE__ */ F(f2, [["render", C2]]), y2 = {}, b2 = {
|
|
|
1044
1044
|
function k2(t, e) {
|
|
1045
1045
|
return p(), C("svg", b2, $2);
|
|
1046
1046
|
}
|
|
1047
|
-
const S2 = /* @__PURE__ */
|
|
1047
|
+
const S2 = /* @__PURE__ */ U(y2, [["render", k2]]), A2 = {}, M2 = {
|
|
1048
1048
|
width: "24",
|
|
1049
1049
|
height: "24",
|
|
1050
1050
|
viewBox: "0 0 24 24",
|
|
@@ -1059,7 +1059,7 @@ const S2 = /* @__PURE__ */ F(y2, [["render", k2]]), A2 = {}, M2 = {
|
|
|
1059
1059
|
function E2(t, e) {
|
|
1060
1060
|
return p(), C("svg", M2, O2);
|
|
1061
1061
|
}
|
|
1062
|
-
const I2 = /* @__PURE__ */
|
|
1062
|
+
const I2 = /* @__PURE__ */ U(A2, [["render", E2]]), L2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1063
1063
|
__proto__: null,
|
|
1064
1064
|
AccountBoxSharp: Qi,
|
|
1065
1065
|
AccountCircle: no,
|
|
@@ -1168,7 +1168,7 @@ const Ln = {
|
|
|
1168
1168
|
},
|
|
1169
1169
|
setup(t) {
|
|
1170
1170
|
const e = t, a = A(() => L2[e.name]);
|
|
1171
|
-
return (s, n) => (p(), D(
|
|
1171
|
+
return (s, n) => (p(), D(mt(a.value), {
|
|
1172
1172
|
class: X(["ao-icon", `ao-icon--${s.size}`])
|
|
1173
1173
|
}, null, 8, ["class"]));
|
|
1174
1174
|
}
|
|
@@ -1280,7 +1280,7 @@ const be = /* @__PURE__ */ q({
|
|
|
1280
1280
|
(b) => {
|
|
1281
1281
|
b || d();
|
|
1282
1282
|
}
|
|
1283
|
-
), (b, g) => (p(), D(
|
|
1283
|
+
), (b, g) => (p(), D(mt(r.value), Ae({
|
|
1284
1284
|
id: b.id,
|
|
1285
1285
|
ref_key: "target",
|
|
1286
1286
|
ref: s,
|
|
@@ -1346,7 +1346,7 @@ const j2 = {
|
|
|
1346
1346
|
const a = (s) => {
|
|
1347
1347
|
e("update:title", s);
|
|
1348
1348
|
};
|
|
1349
|
-
return (s, n) => (p(), D(
|
|
1349
|
+
return (s, n) => (p(), D(mt(s.tagName), {
|
|
1350
1350
|
class: X(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
|
|
1351
1351
|
}, {
|
|
1352
1352
|
default: N(() => [
|
|
@@ -1419,9 +1419,9 @@ const ra = /* @__PURE__ */ q({
|
|
|
1419
1419
|
n.closable ? "ao-tag--closable" : "",
|
|
1420
1420
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1421
1421
|
]),
|
|
1422
|
-
style:
|
|
1422
|
+
style: pt(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
|
|
1423
1423
|
}, [
|
|
1424
|
-
(p(), D(
|
|
1424
|
+
(p(), D(mt(a.value), Ae({ class: "ao-tag__label" }, s.value, {
|
|
1425
1425
|
onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
|
|
1426
1426
|
}), {
|
|
1427
1427
|
default: N(() => [
|
|
@@ -1453,11 +1453,11 @@ const Ba = {
|
|
|
1453
1453
|
todo: "todo",
|
|
1454
1454
|
done: "done",
|
|
1455
1455
|
archived: "archived"
|
|
1456
|
-
},
|
|
1456
|
+
}, t8 = {
|
|
1457
1457
|
months: "months",
|
|
1458
1458
|
weeks: "weeks",
|
|
1459
1459
|
days: "days"
|
|
1460
|
-
},
|
|
1460
|
+
}, a8 = {
|
|
1461
1461
|
future: "future",
|
|
1462
1462
|
this_month: "this_month",
|
|
1463
1463
|
this_week: "this_week",
|
|
@@ -1481,7 +1481,7 @@ const Ba = {
|
|
|
1481
1481
|
TASKS: "tasks"
|
|
1482
1482
|
};
|
|
1483
1483
|
var G2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(G2 || {});
|
|
1484
|
-
const
|
|
1484
|
+
const s8 = {
|
|
1485
1485
|
add: "add",
|
|
1486
1486
|
remove: "remove",
|
|
1487
1487
|
moved: "moved"
|
|
@@ -2173,11 +2173,11 @@ var Bt = {
|
|
|
2173
2173
|
return vn(i);
|
|
2174
2174
|
case "XXXX":
|
|
2175
2175
|
case "XX":
|
|
2176
|
-
return
|
|
2176
|
+
return St(i);
|
|
2177
2177
|
case "XXXXX":
|
|
2178
2178
|
case "XXX":
|
|
2179
2179
|
default:
|
|
2180
|
-
return
|
|
2180
|
+
return St(i, ":");
|
|
2181
2181
|
}
|
|
2182
2182
|
},
|
|
2183
2183
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -2188,11 +2188,11 @@ var Bt = {
|
|
|
2188
2188
|
return vn(i);
|
|
2189
2189
|
case "xxxx":
|
|
2190
2190
|
case "xx":
|
|
2191
|
-
return
|
|
2191
|
+
return St(i);
|
|
2192
2192
|
case "xxxxx":
|
|
2193
2193
|
case "xxx":
|
|
2194
2194
|
default:
|
|
2195
|
-
return
|
|
2195
|
+
return St(i, ":");
|
|
2196
2196
|
}
|
|
2197
2197
|
},
|
|
2198
2198
|
// Timezone (GMT)
|
|
@@ -2205,7 +2205,7 @@ var Bt = {
|
|
|
2205
2205
|
return "GMT" + pn(i, ":");
|
|
2206
2206
|
case "OOOO":
|
|
2207
2207
|
default:
|
|
2208
|
-
return "GMT" +
|
|
2208
|
+
return "GMT" + St(i, ":");
|
|
2209
2209
|
}
|
|
2210
2210
|
},
|
|
2211
2211
|
// Timezone (specific non-location)
|
|
@@ -2218,7 +2218,7 @@ var Bt = {
|
|
|
2218
2218
|
return "GMT" + pn(i, ":");
|
|
2219
2219
|
case "zzzz":
|
|
2220
2220
|
default:
|
|
2221
|
-
return "GMT" +
|
|
2221
|
+
return "GMT" + St(i, ":");
|
|
2222
2222
|
}
|
|
2223
2223
|
},
|
|
2224
2224
|
// Seconds timestamp
|
|
@@ -2244,9 +2244,9 @@ function vn(t, e) {
|
|
|
2244
2244
|
var a = t > 0 ? "-" : "+";
|
|
2245
2245
|
return a + de(Math.abs(t) / 60, 2);
|
|
2246
2246
|
}
|
|
2247
|
-
return
|
|
2247
|
+
return St(t, e);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function St(t, e) {
|
|
2250
2250
|
var a = e || "", s = t > 0 ? "-" : "+", n = Math.abs(t), o = de(Math.floor(n / 60), 2), i = de(n % 60, 2);
|
|
2251
2251
|
return s + o + a + i;
|
|
2252
2252
|
}
|
|
@@ -2734,17 +2734,17 @@ var n3 = {
|
|
|
2734
2734
|
const Un = n3;
|
|
2735
2735
|
var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, l3 = /^'([^]*?)'?$/, r3 = /''/g, u3 = /[a-zA-Z]/;
|
|
2736
2736
|
function Fn(t, e, a) {
|
|
2737
|
-
var s, n, o, i, l, r, c, u, d, v, m, w, b, g, $, h, _,
|
|
2737
|
+
var s, n, o, i, l, r, c, u, d, v, m, w, b, g, $, h, _, P;
|
|
2738
2738
|
Ce(2, arguments);
|
|
2739
|
-
var I = String(e), L = ga(),
|
|
2739
|
+
var I = String(e), L = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Un, z = Qe((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (d = L.locale) === null || d === void 0 || (v = d.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
2740
2740
|
if (!(z >= 1 && z <= 7))
|
|
2741
2741
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2742
|
-
var K = Qe((m = (w = (b = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (h = $.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && b !== void 0 ? b : L.weekStartsOn) !== null && w !== void 0 ? w : (_ = L.locale) === null || _ === void 0 || (
|
|
2742
|
+
var K = Qe((m = (w = (b = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (h = $.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && b !== void 0 ? b : L.weekStartsOn) !== null && w !== void 0 ? w : (_ = L.locale) === null || _ === void 0 || (P = _.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && m !== void 0 ? m : 0);
|
|
2743
2743
|
if (!(K >= 0 && K <= 6))
|
|
2744
2744
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2745
|
-
if (!
|
|
2745
|
+
if (!F.localize)
|
|
2746
2746
|
throw new RangeError("locale must contain localize property");
|
|
2747
|
-
if (!
|
|
2747
|
+
if (!F.formatLong)
|
|
2748
2748
|
throw new RangeError("locale must contain formatLong property");
|
|
2749
2749
|
var J = $e(t);
|
|
2750
2750
|
if (!Bn(J))
|
|
@@ -2752,13 +2752,13 @@ function Fn(t, e, a) {
|
|
|
2752
2752
|
var ae = ua(J), j = ws(J, ae), G = {
|
|
2753
2753
|
firstWeekContainsDate: z,
|
|
2754
2754
|
weekStartsOn: K,
|
|
2755
|
-
locale:
|
|
2755
|
+
locale: F,
|
|
2756
2756
|
_originalDate: J
|
|
2757
2757
|
}, le = I.match(o3).map(function(se) {
|
|
2758
2758
|
var ee = se[0];
|
|
2759
2759
|
if (ee === "p" || ee === "P") {
|
|
2760
2760
|
var E = m0[ee];
|
|
2761
|
-
return E(se,
|
|
2761
|
+
return E(se, F.formatLong);
|
|
2762
2762
|
}
|
|
2763
2763
|
return se;
|
|
2764
2764
|
}).join("").match(i3).map(function(se) {
|
|
@@ -2769,7 +2769,7 @@ function Fn(t, e, a) {
|
|
|
2769
2769
|
return c3(se);
|
|
2770
2770
|
var E = v0[ee];
|
|
2771
2771
|
if (E)
|
|
2772
|
-
return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && hn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && hn(se, e, String(t)), E(j, se,
|
|
2772
|
+
return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && hn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && hn(se, e, String(t)), E(j, se, F.localize, G);
|
|
2773
2773
|
if (ee.match(u3))
|
|
2774
2774
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + ee + "`");
|
|
2775
2775
|
return se;
|
|
@@ -2795,7 +2795,7 @@ function d3(t, e, a) {
|
|
|
2795
2795
|
throw new RangeError("Invalid time value");
|
|
2796
2796
|
var _;
|
|
2797
2797
|
h < -6 ? _ = "other" : h < -1 ? _ = "lastWeek" : h < 0 ? _ = "yesterday" : h < 1 ? _ = "today" : h < 2 ? _ = "tomorrow" : h < 7 ? _ = "nextWeek" : _ = "other";
|
|
2798
|
-
var
|
|
2798
|
+
var P = ws(m, ua(m)), I = ws(w, ua(w)), L = g.formatRelative(_, P, I, {
|
|
2799
2799
|
locale: g,
|
|
2800
2800
|
weekStartsOn: $
|
|
2801
2801
|
});
|
|
@@ -3709,7 +3709,7 @@ function R3(t, e) {
|
|
|
3709
3709
|
const a = t.replace("#", ""), s = parseInt(a.slice(0, 2), 16), n = parseInt(a.slice(2, 4), 16), o = parseInt(a.slice(4, 6), 16);
|
|
3710
3710
|
return `rgba(${s}, ${n}, ${o}, ${e})`;
|
|
3711
3711
|
}
|
|
3712
|
-
function N3(t, e = 0.
|
|
3712
|
+
function N3(t, e = 0.15) {
|
|
3713
3713
|
var a;
|
|
3714
3714
|
if (t.startsWith("#"))
|
|
3715
3715
|
return R3(t, e);
|
|
@@ -3914,7 +3914,7 @@ const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v
|
|
|
3914
3914
|
const f5 = ["type"], h5 = {
|
|
3915
3915
|
key: 0,
|
|
3916
3916
|
class: "ao-button-card__label"
|
|
3917
|
-
},
|
|
3917
|
+
}, Ct = /* @__PURE__ */ q({
|
|
3918
3918
|
__name: "AoButtonCard",
|
|
3919
3919
|
props: {
|
|
3920
3920
|
label: { default: () => "" },
|
|
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4066
4066
|
});
|
|
4067
4067
|
}
|
|
4068
4068
|
};
|
|
4069
|
-
return (l, r) => l.phase ? (p(), D(Q(
|
|
4069
|
+
return (l, r) => l.phase ? (p(), D(Q(gt), {
|
|
4070
4070
|
key: 0,
|
|
4071
4071
|
"model-value": l.phase.milestones,
|
|
4072
4072
|
class: "ao-templates__list",
|
|
@@ -4101,7 +4101,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4101
4101
|
]),
|
|
4102
4102
|
footer: N(() => [
|
|
4103
4103
|
f("div", w5, [
|
|
4104
|
-
M(
|
|
4104
|
+
M(Ct, {
|
|
4105
4105
|
"icon-name": "AddBoxOutlineRounded",
|
|
4106
4106
|
label: l.$t("template.milestones.add"),
|
|
4107
4107
|
onClick: s
|
|
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4156
4156
|
});
|
|
4157
4157
|
}
|
|
4158
4158
|
};
|
|
4159
|
-
return (l, r) => l.milestone ? (p(), D(Q(
|
|
4159
|
+
return (l, r) => l.milestone ? (p(), D(Q(gt), {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
"model-value": l.milestone.activities,
|
|
4162
4162
|
title: l.$t("template.activities.title"),
|
|
@@ -4187,7 +4187,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4187
4187
|
]),
|
|
4188
4188
|
footer: N(() => [
|
|
4189
4189
|
f("div", S5, [
|
|
4190
|
-
M(
|
|
4190
|
+
M(Ct, {
|
|
4191
4191
|
"icon-name": "AddBoxOutlineRounded",
|
|
4192
4192
|
label: l.$t("template.activities.add"),
|
|
4193
4193
|
onClick: s
|
|
@@ -4241,7 +4241,7 @@ const y5 = /* @__PURE__ */ q({
|
|
|
4241
4241
|
], 2));
|
|
4242
4242
|
}
|
|
4243
4243
|
});
|
|
4244
|
-
const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor,
|
|
4244
|
+
const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, vt = (t) => ({
|
|
4245
4245
|
x: t,
|
|
4246
4246
|
y: t
|
|
4247
4247
|
}), P5 = {
|
|
@@ -4404,7 +4404,7 @@ const F5 = async (t, e, a) => {
|
|
|
4404
4404
|
} = l[b], {
|
|
4405
4405
|
x: h,
|
|
4406
4406
|
y: _,
|
|
4407
|
-
data:
|
|
4407
|
+
data: P,
|
|
4408
4408
|
reset: I
|
|
4409
4409
|
} = await $({
|
|
4410
4410
|
x: u,
|
|
@@ -4424,7 +4424,7 @@ const F5 = async (t, e, a) => {
|
|
|
4424
4424
|
...m,
|
|
4425
4425
|
[g]: {
|
|
4426
4426
|
...m[g],
|
|
4427
|
-
...
|
|
4427
|
+
...P
|
|
4428
4428
|
}
|
|
4429
4429
|
}, I && w <= 50) {
|
|
4430
4430
|
w++, typeof I == "object" && (I.placement && (v = I.placement), I.rects && (c = I.rects === !0 ? await i.getElementRects({
|
|
@@ -4471,7 +4471,7 @@ async function Qn(t, e) {
|
|
|
4471
4471
|
...i.floating,
|
|
4472
4472
|
x: s,
|
|
4473
4473
|
y: n
|
|
4474
|
-
} : i.reference, _ = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)),
|
|
4474
|
+
} : i.reference, _ = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), P = await (o.isElement == null ? void 0 : o.isElement(_)) ? await (o.getScale == null ? void 0 : o.getScale(_)) || {
|
|
4475
4475
|
x: 1,
|
|
4476
4476
|
y: 1
|
|
4477
4477
|
} : {
|
|
@@ -4483,10 +4483,10 @@ async function Qn(t, e) {
|
|
|
4483
4483
|
strategy: r
|
|
4484
4484
|
}) : h);
|
|
4485
4485
|
return {
|
|
4486
|
-
top: ($.top - I.top + w.top) /
|
|
4487
|
-
bottom: (I.bottom - $.bottom + w.bottom) /
|
|
4488
|
-
left: ($.left - I.left + w.left) /
|
|
4489
|
-
right: (I.right - $.right + w.right) /
|
|
4486
|
+
top: ($.top - I.top + w.top) / P.y,
|
|
4487
|
+
bottom: (I.bottom - $.bottom + w.bottom) / P.y,
|
|
4488
|
+
left: ($.left - I.left + w.left) / P.x,
|
|
4489
|
+
right: (I.right - $.right + w.right) / P.x
|
|
4490
4490
|
};
|
|
4491
4491
|
}
|
|
4492
4492
|
const Z5 = function(t) {
|
|
@@ -4513,18 +4513,18 @@ const Z5 = function(t) {
|
|
|
4513
4513
|
} = Ds(t, e);
|
|
4514
4514
|
if ((a = o.arrow) != null && a.alignmentOffset)
|
|
4515
4515
|
return {};
|
|
4516
|
-
const $ = Zt(n), h = Zt(l) === l, _ = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)),
|
|
4517
|
-
!v && w !== "none" &&
|
|
4518
|
-
const I = [l, ...
|
|
4516
|
+
const $ = Zt(n), h = Zt(l) === l, _ = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), P = v || (h || !b ? [Fa(l)] : B5(l));
|
|
4517
|
+
!v && w !== "none" && P.push(...R5(l, b, w, _));
|
|
4518
|
+
const I = [l, ...P], L = await Qn(e, g), F = [];
|
|
4519
4519
|
let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
|
|
4520
|
-
if (u &&
|
|
4520
|
+
if (u && F.push(L[$]), d) {
|
|
4521
4521
|
const j = D5(n, i, _);
|
|
4522
|
-
|
|
4522
|
+
F.push(L[j[0]], L[j[1]]);
|
|
4523
4523
|
}
|
|
4524
4524
|
if (z = [...z, {
|
|
4525
4525
|
placement: n,
|
|
4526
|
-
overflows:
|
|
4527
|
-
}], !
|
|
4526
|
+
overflows: F
|
|
4527
|
+
}], !F.every((j) => j <= 0)) {
|
|
4528
4528
|
var K, J;
|
|
4529
4529
|
const j = (((K = o.flip) == null ? void 0 : K.index) || 0) + 1, G = I[j];
|
|
4530
4530
|
if (G)
|
|
@@ -4581,21 +4581,21 @@ const Z5 = function(t) {
|
|
|
4581
4581
|
let w, b;
|
|
4582
4582
|
c === "top" || c === "bottom" ? (w = c, b = u === (await (n.isRTL == null ? void 0 : n.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (b = c, w = u === "end" ? "top" : "bottom");
|
|
4583
4583
|
const g = m - r[w], $ = v - r[b], h = !e.middlewareData.shift;
|
|
4584
|
-
let _ = g,
|
|
4584
|
+
let _ = g, P = $;
|
|
4585
4585
|
if (d) {
|
|
4586
4586
|
const L = v - r.left - r.right;
|
|
4587
|
-
|
|
4587
|
+
P = u || h ? da($, L) : L;
|
|
4588
4588
|
} else {
|
|
4589
4589
|
const L = m - r.top - r.bottom;
|
|
4590
4590
|
_ = u || h ? da(g, L) : L;
|
|
4591
4591
|
}
|
|
4592
4592
|
if (h && !u) {
|
|
4593
|
-
const L = He(r.left, 0),
|
|
4594
|
-
d ?
|
|
4593
|
+
const L = He(r.left, 0), F = He(r.right, 0), z = He(r.top, 0), K = He(r.bottom, 0);
|
|
4594
|
+
d ? P = v - 2 * (L !== 0 || F !== 0 ? L + F : He(r.left, r.right)) : _ = m - 2 * (z !== 0 || K !== 0 ? z + K : He(r.top, r.bottom));
|
|
4595
4595
|
}
|
|
4596
4596
|
await i({
|
|
4597
4597
|
...e,
|
|
4598
|
-
availableWidth:
|
|
4598
|
+
availableWidth: P,
|
|
4599
4599
|
availableHeight: _
|
|
4600
4600
|
});
|
|
4601
4601
|
const I = await n.getDimensions(o.floating);
|
|
@@ -4607,7 +4607,7 @@ const Z5 = function(t) {
|
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
4609
|
};
|
|
4610
|
-
function
|
|
4610
|
+
function ft(t) {
|
|
4611
4611
|
return Jn(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4612
4612
|
}
|
|
4613
4613
|
function Te(t) {
|
|
@@ -4640,7 +4640,7 @@ function wa(t) {
|
|
|
4640
4640
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
|
|
4641
4641
|
}
|
|
4642
4642
|
function z5(t) {
|
|
4643
|
-
return ["table", "td", "th"].includes(
|
|
4643
|
+
return ["table", "td", "th"].includes(ft(t));
|
|
4644
4644
|
}
|
|
4645
4645
|
function js(t) {
|
|
4646
4646
|
const e = Rs(), a = je(t);
|
|
@@ -4659,7 +4659,7 @@ function Rs() {
|
|
|
4659
4659
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4660
4660
|
}
|
|
4661
4661
|
function ts(t) {
|
|
4662
|
-
return ["html", "body", "#document"].includes(
|
|
4662
|
+
return ["html", "body", "#document"].includes(ft(t));
|
|
4663
4663
|
}
|
|
4664
4664
|
function je(t) {
|
|
4665
4665
|
return Te(t).getComputedStyle(t);
|
|
@@ -4674,7 +4674,7 @@ function as(t) {
|
|
|
4674
4674
|
};
|
|
4675
4675
|
}
|
|
4676
4676
|
function Wt(t) {
|
|
4677
|
-
if (
|
|
4677
|
+
if (ft(t) === "html")
|
|
4678
4678
|
return t;
|
|
4679
4679
|
const e = (
|
|
4680
4680
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -4711,7 +4711,7 @@ function Ns(t) {
|
|
|
4711
4711
|
function Nt(t) {
|
|
4712
4712
|
const e = Ns(t);
|
|
4713
4713
|
if (!We(e))
|
|
4714
|
-
return
|
|
4714
|
+
return vt(1);
|
|
4715
4715
|
const a = e.getBoundingClientRect(), {
|
|
4716
4716
|
width: s,
|
|
4717
4717
|
height: n,
|
|
@@ -4723,7 +4723,7 @@ function Nt(t) {
|
|
|
4723
4723
|
y: l
|
|
4724
4724
|
};
|
|
4725
4725
|
}
|
|
4726
|
-
const Y5 = /* @__PURE__ */
|
|
4726
|
+
const Y5 = /* @__PURE__ */ vt(0);
|
|
4727
4727
|
function ai(t) {
|
|
4728
4728
|
const e = Te(t);
|
|
4729
4729
|
return !Rs() || !e.visualViewport ? Y5 : {
|
|
@@ -4737,9 +4737,9 @@ function x5(t, e, a) {
|
|
|
4737
4737
|
function Ot(t, e, a, s) {
|
|
4738
4738
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
4739
4739
|
const n = t.getBoundingClientRect(), o = Ns(t);
|
|
4740
|
-
let i =
|
|
4740
|
+
let i = vt(1);
|
|
4741
4741
|
e && (s ? et(s) && (i = Nt(s)) : i = Nt(t));
|
|
4742
|
-
const l = x5(o, a, s) ? ai(o) :
|
|
4742
|
+
const l = x5(o, a, s) ? ai(o) : vt(0);
|
|
4743
4743
|
let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, d = n.height / i.y;
|
|
4744
4744
|
if (o) {
|
|
4745
4745
|
const v = Te(o), m = s && et(s) ? Te(s) : s;
|
|
@@ -4768,9 +4768,9 @@ function K5(t) {
|
|
|
4768
4768
|
let i = {
|
|
4769
4769
|
scrollLeft: 0,
|
|
4770
4770
|
scrollTop: 0
|
|
4771
|
-
}, l =
|
|
4772
|
-
const r =
|
|
4773
|
-
if ((n || !n && s !== "fixed") && ((
|
|
4771
|
+
}, l = vt(1);
|
|
4772
|
+
const r = vt(0);
|
|
4773
|
+
if ((n || !n && s !== "fixed") && ((ft(a) !== "body" || wa(o)) && (i = as(a)), We(a))) {
|
|
4774
4774
|
const c = Ot(a);
|
|
4775
4775
|
l = Nt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
|
|
4776
4776
|
}
|
|
@@ -4814,7 +4814,7 @@ function Q5(t, e) {
|
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
4816
|
function J5(t, e) {
|
|
4817
|
-
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) :
|
|
4817
|
+
const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : vt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
|
|
4818
4818
|
return {
|
|
4819
4819
|
width: i,
|
|
4820
4820
|
height: l,
|
|
@@ -4848,7 +4848,7 @@ function e7(t, e) {
|
|
|
4848
4848
|
const a = e.get(t);
|
|
4849
4849
|
if (a)
|
|
4850
4850
|
return a;
|
|
4851
|
-
let s = pa(t, [], !1).filter((l) => et(l) &&
|
|
4851
|
+
let s = pa(t, [], !1).filter((l) => et(l) && ft(l) !== "body"), n = null;
|
|
4852
4852
|
const o = je(t).position === "fixed";
|
|
4853
4853
|
let i = o ? Wt(t) : t;
|
|
4854
4854
|
for (; et(i) && !ts(i); ) {
|
|
@@ -4884,9 +4884,9 @@ function s7(t, e, a) {
|
|
|
4884
4884
|
scrollLeft: 0,
|
|
4885
4885
|
scrollTop: 0
|
|
4886
4886
|
};
|
|
4887
|
-
const r =
|
|
4887
|
+
const r = vt(0);
|
|
4888
4888
|
if (s || !s && !o)
|
|
4889
|
-
if ((
|
|
4889
|
+
if ((ft(e) !== "body" || wa(n)) && (l = as(e)), s) {
|
|
4890
4890
|
const c = Ot(e, !0, o, e);
|
|
4891
4891
|
r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
|
|
4892
4892
|
} else
|
|
@@ -4908,7 +4908,7 @@ function ii(t, e) {
|
|
|
4908
4908
|
let s = bn(t, e);
|
|
4909
4909
|
for (; s && z5(s) && je(s).position === "static"; )
|
|
4910
4910
|
s = bn(s, e);
|
|
4911
|
-
return s && (
|
|
4911
|
+
return s && (ft(s) === "html" || ft(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || q5(t) || a;
|
|
4912
4912
|
}
|
|
4913
4913
|
const n7 = async function(t) {
|
|
4914
4914
|
let {
|
|
@@ -4962,7 +4962,7 @@ function l7(t, e) {
|
|
|
4962
4962
|
threshold: He(0, da(1, r)) || 1
|
|
4963
4963
|
};
|
|
4964
4964
|
let _ = !0;
|
|
4965
|
-
function
|
|
4965
|
+
function P(I) {
|
|
4966
4966
|
const L = I[0].intersectionRatio;
|
|
4967
4967
|
if (L !== r) {
|
|
4968
4968
|
if (!_)
|
|
@@ -4974,13 +4974,13 @@ function l7(t, e) {
|
|
|
4974
4974
|
_ = !1;
|
|
4975
4975
|
}
|
|
4976
4976
|
try {
|
|
4977
|
-
a = new IntersectionObserver(
|
|
4977
|
+
a = new IntersectionObserver(P, {
|
|
4978
4978
|
...h,
|
|
4979
4979
|
// Handle <iframe>s
|
|
4980
4980
|
root: n.ownerDocument
|
|
4981
4981
|
});
|
|
4982
4982
|
} catch {
|
|
4983
|
-
a = new IntersectionObserver(
|
|
4983
|
+
a = new IntersectionObserver(P, h);
|
|
4984
4984
|
}
|
|
4985
4985
|
a.observe(t);
|
|
4986
4986
|
}
|
|
@@ -5193,10 +5193,10 @@ function g7(t, e, a) {
|
|
|
5193
5193
|
resolveOnLoad: $,
|
|
5194
5194
|
minChars: h,
|
|
5195
5195
|
filterResults: _,
|
|
5196
|
-
clearOnSearch:
|
|
5196
|
+
clearOnSearch: P,
|
|
5197
5197
|
clearOnSelect: I,
|
|
5198
5198
|
valueProp: L,
|
|
5199
|
-
allowAbsent:
|
|
5199
|
+
allowAbsent: F,
|
|
5200
5200
|
groupLabel: z,
|
|
5201
5201
|
canDeselect: K,
|
|
5202
5202
|
max: J,
|
|
@@ -5211,11 +5211,11 @@ function g7(t, e, a) {
|
|
|
5211
5211
|
groupSelect: k,
|
|
5212
5212
|
onCreate: R,
|
|
5213
5213
|
disabledProp: y,
|
|
5214
|
-
searchStart:
|
|
5214
|
+
searchStart: V,
|
|
5215
5215
|
searchFilter: oe
|
|
5216
|
-
} = Ee(t), ne = Lt().proxy, Z = a.iv,
|
|
5216
|
+
} = Ee(t), ne = Lt().proxy, Z = a.iv, H = a.ev, Y = a.search, he = a.clearSearch, ke = a.update, Gt = a.pointer, Xt = a.setPointer, st = a.clearPointer, $a = a.focus, rs = a.deactivate, nt = a.close, ka = a.localize, it = x([]), Ue = x([]), Ie = x(!1), Re = x(null), Ye = x(ee.value && i.value === -1 ? 10 : i.value), Qt = A(() => r.value || c.value || !1), Sa = A(() => d.value !== void 0 ? d.value : v.value !== void 0 ? v.value : !0), Le = A(() => {
|
|
5217
5217
|
if (le.value) {
|
|
5218
|
-
let S =
|
|
5218
|
+
let S = bt.value || /* istanbul ignore next */
|
|
5219
5219
|
[], B = [];
|
|
5220
5220
|
return S.forEach((ue) => {
|
|
5221
5221
|
hs(ue[E.value]).forEach((ge) => {
|
|
@@ -5233,7 +5233,7 @@ function g7(t, e, a) {
|
|
|
5233
5233
|
}), ot = A(() => {
|
|
5234
5234
|
let S = Jt.value;
|
|
5235
5235
|
return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
|
|
5236
|
-
}),
|
|
5236
|
+
}), bt = A(() => {
|
|
5237
5237
|
if (!le.value)
|
|
5238
5238
|
return [];
|
|
5239
5239
|
let S = [], B = Ue.value || /* istanbul ignore next */
|
|
@@ -5244,7 +5244,7 @@ function g7(t, e, a) {
|
|
|
5244
5244
|
__CREATE__: !0
|
|
5245
5245
|
}), S.concat(B);
|
|
5246
5246
|
}), Aa = A(() => {
|
|
5247
|
-
let S = [...
|
|
5247
|
+
let S = [...bt.value].map((B) => ({ ...B }));
|
|
5248
5248
|
return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Pt.value, ...S[0][E.value]] : S = [{
|
|
5249
5249
|
[z.value]: " ",
|
|
5250
5250
|
[E.value]: [...Pt.value],
|
|
@@ -5261,8 +5261,8 @@ function g7(t, e, a) {
|
|
|
5261
5261
|
...B,
|
|
5262
5262
|
index: ue,
|
|
5263
5263
|
group: !0,
|
|
5264
|
-
[E.value]: fs(ge, !1).map((
|
|
5265
|
-
__VISIBLE__: fs(ge).map((
|
|
5264
|
+
[E.value]: fs(ge, !1).map(($t) => Object.assign({}, $t, B[y.value] ? { [y.value]: !0 } : {})),
|
|
5265
|
+
__VISIBLE__: fs(ge).map(($t) => Object.assign({}, $t, B[y.value] ? { [y.value]: !0 } : {}))
|
|
5266
5266
|
};
|
|
5267
5267
|
}));
|
|
5268
5268
|
}), cs = A(() => {
|
|
@@ -5275,10 +5275,10 @@ function g7(t, e, a) {
|
|
|
5275
5275
|
}
|
|
5276
5276
|
}), Ci = A(() => m !== void 0 && m.value !== void 0 ? m.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), _i = A(() => !Le.value.length && !Ie.value && !Pt.value.length), yi = A(() => Le.value.length > 0 && ot.value.length == 0 && (Y.value && le.value || !le.value)), Pt = A(() => Qt.value === !1 || !Y.value ? [] : Oi(Y.value) !== -1 ? [] : [{
|
|
5277
5277
|
[L.value]: Y.value,
|
|
5278
|
-
[
|
|
5278
|
+
[wt.value[0]]: Y.value,
|
|
5279
5279
|
[u.value]: Y.value,
|
|
5280
5280
|
__CREATE__: !0
|
|
5281
|
-
}]),
|
|
5281
|
+
}]), wt = A(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), bi = A(() => {
|
|
5282
5282
|
switch (n.value) {
|
|
5283
5283
|
case "single":
|
|
5284
5284
|
return null;
|
|
@@ -5387,7 +5387,7 @@ function g7(t, e, a) {
|
|
|
5387
5387
|
Ke(S[L.value]) === void 0 && Qt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), Sa.value && Ii(S), he());
|
|
5388
5388
|
}, Ai = () => {
|
|
5389
5389
|
n.value !== "single" && Ht(ot.value.filter((S) => !S.disabled && !xe(S)));
|
|
5390
|
-
}, Mi = (S) => S.find((B) => !xe(B) && !B[y.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) =>
|
|
5390
|
+
}, Mi = (S) => S.find((B) => !xe(B) && !B[y.value]) === void 0, Ti = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Oi = (S) => Le.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Ei = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ii = (S) => {
|
|
5391
5391
|
it.value.push(S);
|
|
5392
5392
|
}, Li = (S) => T.value ? S.filter(
|
|
5393
5393
|
(B) => Y.value ? B.__VISIBLE__.length : B[E.value].length
|
|
@@ -5395,20 +5395,20 @@ function g7(t, e, a) {
|
|
|
5395
5395
|
let ue = S;
|
|
5396
5396
|
if (Y.value && _.value) {
|
|
5397
5397
|
let ge = oe.value;
|
|
5398
|
-
ge || (ge = (
|
|
5399
|
-
let cn = ys(ka(
|
|
5400
|
-
return
|
|
5401
|
-
})), ue = ue.filter((
|
|
5398
|
+
ge || (ge = ($t, un, G4) => wt.value.some((Hi) => {
|
|
5399
|
+
let cn = ys(ka($t[Hi]), ae.value);
|
|
5400
|
+
return V.value ? cn.startsWith(ys(un, ae.value)) : cn.indexOf(ys(un, ae.value)) !== -1;
|
|
5401
|
+
})), ue = ue.filter(($t) => ge($t, Y.value, ne));
|
|
5402
5402
|
}
|
|
5403
5403
|
return l.value && B && (ue = ue.filter((ge) => !Ei(ge))), ue;
|
|
5404
5404
|
}, hs = (S) => {
|
|
5405
5405
|
let B = S;
|
|
5406
5406
|
return h7(B) && (B = Object.keys(B).map((ue) => {
|
|
5407
5407
|
let ge = B[ue];
|
|
5408
|
-
return { [L.value]: ue, [
|
|
5409
|
-
})), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [
|
|
5408
|
+
return { [L.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
|
|
5409
|
+
})), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), B;
|
|
5410
5410
|
}, Ma = () => {
|
|
5411
|
-
Fe(
|
|
5411
|
+
Fe(H.value) || (Z.value = Oa(H.value));
|
|
5412
5412
|
}, Ta = (S) => (Ie.value = !0, new Promise((B, ue) => {
|
|
5413
5413
|
s.value(Y.value, ne).then((ge) => {
|
|
5414
5414
|
Ue.value = ge || [], typeof S == "function" && S(ge), Ie.value = !1;
|
|
@@ -5423,29 +5423,29 @@ function g7(t, e, a) {
|
|
|
5423
5423
|
let S = Ke(Z.value[L.value]);
|
|
5424
5424
|
if (S !== void 0) {
|
|
5425
5425
|
let B = S[u.value];
|
|
5426
|
-
Z.value[u.value] = B, w.value && (
|
|
5426
|
+
Z.value[u.value] = B, w.value && (H.value[u.value] = B);
|
|
5427
5427
|
}
|
|
5428
5428
|
} else
|
|
5429
5429
|
Z.value.forEach((S, B) => {
|
|
5430
5430
|
let ue = Ke(Z.value[B][L.value]);
|
|
5431
5431
|
if (ue !== void 0) {
|
|
5432
5432
|
let ge = ue[u.value];
|
|
5433
|
-
Z.value[B][u.value] = ge, w.value && (
|
|
5433
|
+
Z.value[B][u.value] = ge, w.value && (H.value[B][u.value] = ge);
|
|
5434
5434
|
}
|
|
5435
5435
|
});
|
|
5436
5436
|
}, Pi = (S) => {
|
|
5437
5437
|
Ta(S);
|
|
5438
|
-
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ke(S) || (
|
|
5438
|
+
}, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ke(S) || (F.value ? {
|
|
5439
5439
|
[u.value]: S,
|
|
5440
5440
|
[L.value]: S,
|
|
5441
|
-
[
|
|
5442
|
-
} : {}) : S.filter((B) => !!Ke(B) ||
|
|
5441
|
+
[wt.value[0]]: S
|
|
5442
|
+
} : {}) : S.filter((B) => !!Ke(B) || F.value).map((B) => Ke(B) || {
|
|
5443
5443
|
[u.value]: B,
|
|
5444
5444
|
[L.value]: B,
|
|
5445
|
-
[
|
|
5445
|
+
[wt.value[0]]: B
|
|
5446
5446
|
}), rn = () => {
|
|
5447
5447
|
Re.value = ce(Y, (S) => {
|
|
5448
|
-
S.length < h.value || !S && h.value !== 0 || (Ie.value = !0,
|
|
5448
|
+
S.length < h.value || !S && h.value !== 0 || (Ie.value = !0, P.value && (Ue.value = []), setTimeout(() => {
|
|
5449
5449
|
S == Y.value && s.value(Y.value, ne).then((B) => {
|
|
5450
5450
|
(S == Y.value || !Y.value) && (Ue.value = B, Gt.value = ot.value.filter((ue) => ue[y.value] !== !0)[0] || null, Ie.value = !1);
|
|
5451
5451
|
}).catch(
|
|
@@ -5457,11 +5457,11 @@ function g7(t, e, a) {
|
|
|
5457
5457
|
}, g.value));
|
|
5458
5458
|
}, { flush: "sync" });
|
|
5459
5459
|
};
|
|
5460
|
-
if (n.value !== "single" && !Fe(
|
|
5460
|
+
if (n.value !== "single" && !Fe(H.value) && !Array.isArray(H.value))
|
|
5461
5461
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
5462
5462
|
return s && typeof s.value == "function" ? $.value ? Ta(Ma) : w.value == !0 && Ma() : (Ue.value = s.value, Ma()), g.value > -1 && rn(), ce(g, (S, B) => {
|
|
5463
5463
|
Re.value && Re.value(), S >= 0 && rn();
|
|
5464
|
-
}), ce(
|
|
5464
|
+
}), ce(H, (S) => {
|
|
5465
5465
|
if (Fe(S)) {
|
|
5466
5466
|
ke(Oa(S), !1);
|
|
5467
5467
|
return;
|
|
@@ -5487,8 +5487,8 @@ function g7(t, e, a) {
|
|
|
5487
5487
|
multipleLabelText: Ci,
|
|
5488
5488
|
eo: Le,
|
|
5489
5489
|
extendedOptions: Le,
|
|
5490
|
-
eg:
|
|
5491
|
-
extendedGroups:
|
|
5490
|
+
eg: bt,
|
|
5491
|
+
extendedGroups: bt,
|
|
5492
5492
|
fg: us,
|
|
5493
5493
|
filteredGroups: us,
|
|
5494
5494
|
noOptions: _i,
|
|
@@ -5524,67 +5524,67 @@ function C7(t, e, a) {
|
|
|
5524
5524
|
groupSelect: c,
|
|
5525
5525
|
disabledProp: u,
|
|
5526
5526
|
groupOptions: d
|
|
5527
|
-
} = Ee(t), v = a.fo, m = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, $ = a.pointer, h = a.setPointer, _ = a.clearPointer,
|
|
5528
|
-
const
|
|
5527
|
+
} = Ee(t), v = a.fo, m = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, $ = a.pointer, h = a.setPointer, _ = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => v.value.filter((H) => !H[u.value])), F = A(() => m.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && c.value), K = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
|
|
5528
|
+
const H = K.value ? $.value : (
|
|
5529
5529
|
/* istanbul ignore next */
|
|
5530
5530
|
ne($.value)
|
|
5531
|
-
), Y =
|
|
5532
|
-
let he =
|
|
5531
|
+
), Y = F.value.map((ke) => ke[i.value]).indexOf(H[i.value]);
|
|
5532
|
+
let he = F.value[Y - 1];
|
|
5533
5533
|
return he === void 0 && (he = G.value), he;
|
|
5534
5534
|
}), j = A(() => {
|
|
5535
|
-
let
|
|
5536
|
-
return
|
|
5537
|
-
}), G = A(() => [...
|
|
5538
|
-
const
|
|
5539
|
-
return
|
|
5535
|
+
let H = F.value.map((Y) => Y.label).indexOf(K.value ? $.value[i.value] : ne($.value)[i.value]) + 1;
|
|
5536
|
+
return F.value.length <= H && (H = 0), F.value[H];
|
|
5537
|
+
}), G = A(() => [...F.value].slice(-1)[0]), le = A(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = A(() => {
|
|
5538
|
+
const H = J.value.__VISIBLE__.filter((Y) => !Y[u.value]);
|
|
5539
|
+
return H[H.map((Y) => Y[s.value]).indexOf($.value[s.value]) - 1];
|
|
5540
5540
|
}), ee = A(() => {
|
|
5541
|
-
const
|
|
5542
|
-
return
|
|
5543
|
-
}), E = A(() => [...ae.value.__VISIBLE__.filter((
|
|
5541
|
+
const H = ne($.value).__VISIBLE__.filter((Y) => !Y[u.value]);
|
|
5542
|
+
return H[H.map((Y) => Y[s.value]).indexOf($.value[s.value]) + 1];
|
|
5543
|
+
}), E = A(() => [...ae.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), T = A(() => [...G.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), k = (H) => $.value && (!H.group && $.value[s.value] === H[s.value] || H.group !== void 0 && $.value[i.value] === H[i.value]) ? !0 : void 0, R = () => {
|
|
5544
5544
|
h(L.value[0] || null);
|
|
5545
5545
|
}, y = () => {
|
|
5546
5546
|
!$.value || $.value[u.value] === !0 || (K.value ? b($.value) : w($.value));
|
|
5547
|
-
},
|
|
5547
|
+
}, V = () => {
|
|
5548
5548
|
if ($.value === null)
|
|
5549
|
-
h((l.value && z.value ?
|
|
5549
|
+
h((l.value && z.value ? F.value[0].__CREATE__ ? L.value[0] : F.value[0] : L.value[0]) || null);
|
|
5550
5550
|
else if (l.value && z.value) {
|
|
5551
|
-
let
|
|
5552
|
-
|
|
5551
|
+
let H = K.value ? le.value : ee.value;
|
|
5552
|
+
H === void 0 && (H = j.value, H.__CREATE__ && (H = H[d.value][0])), h(H || /* istanbul ignore next */
|
|
5553
5553
|
null);
|
|
5554
5554
|
} else {
|
|
5555
|
-
let
|
|
5556
|
-
L.value.length <=
|
|
5555
|
+
let H = L.value.map((Y) => Y[s.value]).indexOf($.value[s.value]) + 1;
|
|
5556
|
+
L.value.length <= H && (H = 0), h(L.value[H] || null);
|
|
5557
5557
|
}
|
|
5558
5558
|
Me(() => {
|
|
5559
5559
|
Z();
|
|
5560
5560
|
});
|
|
5561
5561
|
}, oe = () => {
|
|
5562
5562
|
if ($.value === null) {
|
|
5563
|
-
let
|
|
5564
|
-
l.value && z.value && (
|
|
5563
|
+
let H = L.value[L.value.length - 1];
|
|
5564
|
+
l.value && z.value && (H = T.value, H === void 0 && (H = G.value)), h(H || null);
|
|
5565
5565
|
} else if (l.value && z.value) {
|
|
5566
|
-
let
|
|
5567
|
-
|
|
5566
|
+
let H = K.value ? E.value : se.value;
|
|
5567
|
+
H === void 0 && (H = K.value ? ae.value : J.value, H.__CREATE__ && (H = E.value, H === void 0 && (H = ae.value))), h(H || /* istanbul ignore next */
|
|
5568
5568
|
null);
|
|
5569
5569
|
} else {
|
|
5570
|
-
let
|
|
5571
|
-
|
|
5570
|
+
let H = L.value.map((Y) => Y[s.value]).indexOf($.value[s.value]) - 1;
|
|
5571
|
+
H < 0 && (H = L.value.length - 1), h(L.value[H] || null);
|
|
5572
5572
|
}
|
|
5573
5573
|
Me(() => {
|
|
5574
5574
|
Z();
|
|
5575
5575
|
});
|
|
5576
|
-
}, ne = (
|
|
5577
|
-
let
|
|
5578
|
-
if (!
|
|
5576
|
+
}, ne = (H) => F.value.find((Y) => Y.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), Z = () => {
|
|
5577
|
+
let H = P.value.querySelector("[data-pointed]");
|
|
5578
|
+
if (!H)
|
|
5579
5579
|
return;
|
|
5580
|
-
let Y =
|
|
5581
|
-
l.value && (Y = K.value ?
|
|
5580
|
+
let Y = H.parentElement.parentElement;
|
|
5581
|
+
l.value && (Y = K.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > Y.clientHeight + Y.scrollTop && (Y.scrollTop = H.offsetTop + H.offsetHeight - Y.clientHeight), H.offsetTop < Y.scrollTop && (Y.scrollTop = H.offsetTop);
|
|
5582
5582
|
};
|
|
5583
|
-
return ce(g, (
|
|
5584
|
-
o.value && (
|
|
5585
|
-
}), ce(I, (
|
|
5586
|
-
if (
|
|
5587
|
-
let Y =
|
|
5583
|
+
return ce(g, (H) => {
|
|
5584
|
+
o.value && (H.length && n.value ? R() : _());
|
|
5585
|
+
}), ce(I, (H) => {
|
|
5586
|
+
if (H) {
|
|
5587
|
+
let Y = P.value.querySelectorAll("[data-selected]")[0];
|
|
5588
5588
|
if (!Y)
|
|
5589
5589
|
return;
|
|
5590
5590
|
let he = Y.parentElement.parentElement;
|
|
@@ -5598,7 +5598,7 @@ function C7(t, e, a) {
|
|
|
5598
5598
|
isPointed: k,
|
|
5599
5599
|
setPointerFirst: R,
|
|
5600
5600
|
selectPointer: y,
|
|
5601
|
-
forwardPointer:
|
|
5601
|
+
forwardPointer: V,
|
|
5602
5602
|
backwardPointer: oe
|
|
5603
5603
|
};
|
|
5604
5604
|
}
|
|
@@ -5625,7 +5625,7 @@ function Us(t) {
|
|
|
5625
5625
|
var e = Oe(t).ShadowRoot;
|
|
5626
5626
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5627
5627
|
}
|
|
5628
|
-
var
|
|
5628
|
+
var At = Math.max, Wa = Math.min, zt = Math.round;
|
|
5629
5629
|
function ks() {
|
|
5630
5630
|
var t = navigator.userAgentData;
|
|
5631
5631
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5670,14 +5670,14 @@ function y7(t) {
|
|
|
5670
5670
|
function ze(t) {
|
|
5671
5671
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5672
5672
|
}
|
|
5673
|
-
function
|
|
5673
|
+
function _t(t) {
|
|
5674
5674
|
return ((Et(t) ? t.ownerDocument : (
|
|
5675
5675
|
// $FlowFixMe[prop-missing]
|
|
5676
5676
|
t.document
|
|
5677
5677
|
)) || window.document).documentElement;
|
|
5678
5678
|
}
|
|
5679
5679
|
function Zs(t) {
|
|
5680
|
-
return qt(
|
|
5680
|
+
return qt(_t(t)).left + Fs(t).scrollLeft;
|
|
5681
5681
|
}
|
|
5682
5682
|
function tt(t) {
|
|
5683
5683
|
return Oe(t).getComputedStyle(t);
|
|
@@ -5692,7 +5692,7 @@ function b7(t) {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
function w7(t, e, a) {
|
|
5694
5694
|
a === void 0 && (a = !1);
|
|
5695
|
-
var s = Be(e), n = Be(e) && b7(e), o =
|
|
5695
|
+
var s = Be(e), n = Be(e) && b7(e), o = _t(e), i = qt(t, n, a), l = {
|
|
5696
5696
|
scrollLeft: 0,
|
|
5697
5697
|
scrollTop: 0
|
|
5698
5698
|
}, r = {
|
|
@@ -5725,7 +5725,7 @@ function ss(t) {
|
|
|
5725
5725
|
t.parentNode || // DOM Element detected
|
|
5726
5726
|
(Us(t) ? t.host : null) || // ShadowRoot detected
|
|
5727
5727
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
5728
|
-
|
|
5728
|
+
_t(t)
|
|
5729
5729
|
);
|
|
5730
5730
|
}
|
|
5731
5731
|
function ri(t) {
|
|
@@ -5768,7 +5768,7 @@ function ns(t) {
|
|
|
5768
5768
|
a = wn(a);
|
|
5769
5769
|
return a && (ze(a) === "html" || ze(a) === "body" && tt(a).position === "static") ? e : a || k7(t) || e;
|
|
5770
5770
|
}
|
|
5771
|
-
var Ne = "top", qe = "bottom",
|
|
5771
|
+
var Ne = "top", qe = "bottom", ht = "right", Ge = "left", zs = "auto", is = [Ne, qe, ht, Ge], Yt = "start", va = "end", S7 = "clippingParents", ui = "viewport", ia = "popper", A7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
|
|
5772
5772
|
return t.concat([e + "-" + Yt, e + "-" + va]);
|
|
5773
5773
|
}, []), M7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
|
|
5774
5774
|
return t.concat([e, e + "-" + Yt, e + "-" + va]);
|
|
@@ -5823,7 +5823,7 @@ function U7(t) {
|
|
|
5823
5823
|
});
|
|
5824
5824
|
}
|
|
5825
5825
|
function F7(t, e) {
|
|
5826
|
-
var a = Oe(t), s =
|
|
5826
|
+
var a = Oe(t), s = _t(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
|
|
5827
5827
|
if (n) {
|
|
5828
5828
|
o = n.width, i = n.height;
|
|
5829
5829
|
var c = oi();
|
|
@@ -5837,8 +5837,8 @@ function F7(t, e) {
|
|
|
5837
5837
|
};
|
|
5838
5838
|
}
|
|
5839
5839
|
function Z7(t) {
|
|
5840
|
-
var e, a =
|
|
5841
|
-
return tt(n || a).direction === "rtl" && (l +=
|
|
5840
|
+
var e, a = _t(t), s = Fs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = At(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = At(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Zs(t), r = -s.scrollTop;
|
|
5841
|
+
return tt(n || a).direction === "rtl" && (l += At(a.clientWidth, n ? n.clientWidth : 0) - o), {
|
|
5842
5842
|
width: o,
|
|
5843
5843
|
height: i,
|
|
5844
5844
|
x: l,
|
|
@@ -5872,7 +5872,7 @@ function z7(t, e) {
|
|
|
5872
5872
|
return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
|
|
5873
5873
|
}
|
|
5874
5874
|
function kn(t, e, a) {
|
|
5875
|
-
return e === ui ? Ss(F7(t, a)) : Et(e) ? z7(e, a) : Ss(Z7(
|
|
5875
|
+
return e === ui ? Ss(F7(t, a)) : Et(e) ? z7(e, a) : Ss(Z7(_t(t)));
|
|
5876
5876
|
}
|
|
5877
5877
|
function q7(t) {
|
|
5878
5878
|
var e = oa(ss(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
|
|
@@ -5883,7 +5883,7 @@ function q7(t) {
|
|
|
5883
5883
|
function Y7(t, e, a, s) {
|
|
5884
5884
|
var n = e === "clippingParents" ? q7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], l = o.reduce(function(r, c) {
|
|
5885
5885
|
var u = kn(t, c, s);
|
|
5886
|
-
return r.top =
|
|
5886
|
+
return r.top = At(u.top, r.top), r.right = Wa(u.right, r.right), r.bottom = Wa(u.bottom, r.bottom), r.left = At(u.left, r.left), r;
|
|
5887
5887
|
}, kn(t, i, s));
|
|
5888
5888
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
5889
5889
|
}
|
|
@@ -5911,7 +5911,7 @@ function di(t) {
|
|
|
5911
5911
|
y: e.y + e.height
|
|
5912
5912
|
};
|
|
5913
5913
|
break;
|
|
5914
|
-
case
|
|
5914
|
+
case ht:
|
|
5915
5915
|
r = {
|
|
5916
5916
|
x: e.x + e.width,
|
|
5917
5917
|
y: l
|
|
@@ -5961,12 +5961,12 @@ function K7(t, e) {
|
|
|
5961
5961
|
}
|
|
5962
5962
|
function qs(t, e) {
|
|
5963
5963
|
e === void 0 && (e = {});
|
|
5964
|
-
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, m = a.altBoundary, w = m === void 0 ? !1 : m, b = a.padding, g = b === void 0 ? 0 : b, $ = x7(typeof g != "number" ? g : K7(g, is)), h = v === ia ? A7 : ia, _ = t.rects.popper,
|
|
5964
|
+
var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, d = a.elementContext, v = d === void 0 ? ia : d, m = a.altBoundary, w = m === void 0 ? !1 : m, b = a.padding, g = b === void 0 ? 0 : b, $ = x7(typeof g != "number" ? g : K7(g, is)), h = v === ia ? A7 : ia, _ = t.rects.popper, P = t.elements[w ? h : v], I = Y7(Et(P) ? P : P.contextElement || _t(t.elements.popper), r, u, i), L = qt(t.elements.reference), F = di({
|
|
5965
5965
|
reference: L,
|
|
5966
5966
|
element: _,
|
|
5967
5967
|
strategy: "absolute",
|
|
5968
5968
|
placement: n
|
|
5969
|
-
}), z = Ss(Object.assign({}, _,
|
|
5969
|
+
}), z = Ss(Object.assign({}, _, F)), K = v === ia ? z : L, J = {
|
|
5970
5970
|
top: I.top - K.top + $.top,
|
|
5971
5971
|
bottom: K.bottom - I.bottom + $.bottom,
|
|
5972
5972
|
left: I.left - K.left + $.left,
|
|
@@ -5975,7 +5975,7 @@ function qs(t, e) {
|
|
|
5975
5975
|
if (v === ia && ae) {
|
|
5976
5976
|
var j = ae[n];
|
|
5977
5977
|
Object.keys(J).forEach(function(G) {
|
|
5978
|
-
var le = [
|
|
5978
|
+
var le = [ht, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
|
|
5979
5979
|
J[G] += j[se] * le;
|
|
5980
5980
|
});
|
|
5981
5981
|
}
|
|
@@ -6018,8 +6018,8 @@ function G7(t) {
|
|
|
6018
6018
|
popper: oa(r)
|
|
6019
6019
|
};
|
|
6020
6020
|
var _ = R7(U7([].concat(s, u.options.modifiers)));
|
|
6021
|
-
return u.orderedModifiers = _.filter(function(
|
|
6022
|
-
return
|
|
6021
|
+
return u.orderedModifiers = _.filter(function(P) {
|
|
6022
|
+
return P.enabled;
|
|
6023
6023
|
}), w(), m.update();
|
|
6024
6024
|
},
|
|
6025
6025
|
// Sync update – it will always be executed, even if not necessary. This
|
|
@@ -6037,12 +6037,12 @@ function G7(t) {
|
|
|
6037
6037
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(J) {
|
|
6038
6038
|
return u.modifiersData[J.name] = Object.assign({}, J.data);
|
|
6039
6039
|
});
|
|
6040
|
-
for (var
|
|
6040
|
+
for (var P = 0; P < u.orderedModifiers.length; P++) {
|
|
6041
6041
|
if (u.reset === !0) {
|
|
6042
|
-
u.reset = !1,
|
|
6042
|
+
u.reset = !1, P = -1;
|
|
6043
6043
|
continue;
|
|
6044
6044
|
}
|
|
6045
|
-
var I = u.orderedModifiers[
|
|
6045
|
+
var I = u.orderedModifiers[P], L = I.fn, F = I.options, z = F === void 0 ? {} : F, K = I.name;
|
|
6046
6046
|
typeof L == "function" && (u = L({
|
|
6047
6047
|
state: u,
|
|
6048
6048
|
options: z,
|
|
@@ -6071,9 +6071,9 @@ function G7(t) {
|
|
|
6071
6071
|
});
|
|
6072
6072
|
function w() {
|
|
6073
6073
|
u.orderedModifiers.forEach(function(g) {
|
|
6074
|
-
var $ = g.name, h = g.options, _ = h === void 0 ? {} : h,
|
|
6075
|
-
if (typeof
|
|
6076
|
-
var I =
|
|
6074
|
+
var $ = g.name, h = g.options, _ = h === void 0 ? {} : h, P = g.effect;
|
|
6075
|
+
if (typeof P == "function") {
|
|
6076
|
+
var I = P({
|
|
6077
6077
|
state: u,
|
|
6078
6078
|
name: $,
|
|
6079
6079
|
instance: m,
|
|
@@ -6151,19 +6151,19 @@ function Mn(t) {
|
|
|
6151
6151
|
y: b
|
|
6152
6152
|
};
|
|
6153
6153
|
m = g.x, b = g.y;
|
|
6154
|
-
var $ = i.hasOwnProperty("x"), h = i.hasOwnProperty("y"), _ = Ge,
|
|
6154
|
+
var $ = i.hasOwnProperty("x"), h = i.hasOwnProperty("y"), _ = Ge, P = Ne, I = window;
|
|
6155
6155
|
if (c) {
|
|
6156
|
-
var L = ns(a),
|
|
6157
|
-
if (L === Oe(a) && (L =
|
|
6158
|
-
|
|
6156
|
+
var L = ns(a), F = "clientHeight", z = "clientWidth";
|
|
6157
|
+
if (L === Oe(a) && (L = _t(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ht) && o === va) {
|
|
6158
|
+
P = qe;
|
|
6159
6159
|
var K = d && L === I && I.visualViewport ? I.visualViewport.height : (
|
|
6160
6160
|
// $FlowFixMe[prop-missing]
|
|
6161
|
-
L[
|
|
6161
|
+
L[F]
|
|
6162
6162
|
);
|
|
6163
6163
|
b -= K - s.height, b *= r ? 1 : -1;
|
|
6164
6164
|
}
|
|
6165
6165
|
if (n === Ge || (n === Ne || n === qe) && o === va) {
|
|
6166
|
-
_ =
|
|
6166
|
+
_ = ht;
|
|
6167
6167
|
var J = d && L === I && I.visualViewport ? I.visualViewport.width : (
|
|
6168
6168
|
// $FlowFixMe[prop-missing]
|
|
6169
6169
|
L[z]
|
|
@@ -6182,9 +6182,9 @@ function Mn(t) {
|
|
|
6182
6182
|
};
|
|
6183
6183
|
if (m = j.x, b = j.y, r) {
|
|
6184
6184
|
var G;
|
|
6185
|
-
return Object.assign({}, ae, (G = {}, G[
|
|
6185
|
+
return Object.assign({}, ae, (G = {}, G[P] = h ? "0" : "", G[_] = $ ? "0" : "", G.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + b + "px)" : "translate3d(" + m + "px, " + b + "px, 0)", G));
|
|
6186
6186
|
}
|
|
6187
|
-
return Object.assign({}, ae, (e = {}, e[
|
|
6187
|
+
return Object.assign({}, ae, (e = {}, e[P] = h ? b + "px" : "", e[_] = $ ? m + "px" : "", e.transform = "", e));
|
|
6188
6188
|
}
|
|
6189
6189
|
function sp(t) {
|
|
6190
6190
|
var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, o = a.adaptive, i = o === void 0 ? !0 : o, l = a.roundOffsets, r = l === void 0 ? !0 : l, c = {
|
|
@@ -6264,7 +6264,7 @@ function cp(t) {
|
|
|
6264
6264
|
return t === "x" ? "y" : "x";
|
|
6265
6265
|
}
|
|
6266
6266
|
function Va(t, e, a) {
|
|
6267
|
-
return
|
|
6267
|
+
return At(t, Wa(e, a));
|
|
6268
6268
|
}
|
|
6269
6269
|
function dp(t, e, a) {
|
|
6270
6270
|
var s = Va(t, e, a);
|
|
@@ -6276,7 +6276,7 @@ function pp(t) {
|
|
|
6276
6276
|
rootBoundary: c,
|
|
6277
6277
|
padding: d,
|
|
6278
6278
|
altBoundary: u
|
|
6279
|
-
}), $ = ct(e.placement), h = xt(e.placement), _ = !h,
|
|
6279
|
+
}), $ = ct(e.placement), h = xt(e.placement), _ = !h, P = ci($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof b == "function" ? b(Object.assign({}, e.rects, {
|
|
6280
6280
|
placement: e.placement
|
|
6281
6281
|
})) : b, J = typeof K == "number" ? {
|
|
6282
6282
|
mainAxis: K,
|
|
@@ -6290,14 +6290,14 @@ function pp(t) {
|
|
|
6290
6290
|
};
|
|
6291
6291
|
if (L) {
|
|
6292
6292
|
if (o) {
|
|
6293
|
-
var G, le =
|
|
6293
|
+
var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = m ? -z[ee] / 2 : 0, y = h === Yt ? F[ee] : z[ee], V = h === Yt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = m && oe ? li(oe) : {
|
|
6294
6294
|
width: 0,
|
|
6295
6295
|
height: 0
|
|
6296
|
-
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(),
|
|
6297
|
-
L[
|
|
6296
|
+
}, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H - J.mainAxis : y - he - H - J.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(m ? Wa(T, rs) : T, E, m ? At(k, nt) : k);
|
|
6297
|
+
L[P] = ka, j[P] = ka - E;
|
|
6298
6298
|
}
|
|
6299
6299
|
if (l) {
|
|
6300
|
-
var it, Ue =
|
|
6300
|
+
var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + J.altAxis, bt = Le ? Re + F[Ye] + z[Ye] - Jt - J.altAxis : Sa, Aa = m && Le ? dp(ot, Re, bt) : Va(m ? ot : Qt, Re, m ? bt : Sa);
|
|
6301
6301
|
L[I] = Aa, j[I] = Aa - Re;
|
|
6302
6302
|
}
|
|
6303
6303
|
e.modifiersData[s] = j;
|
|
@@ -6358,7 +6358,7 @@ function gp(t) {
|
|
|
6358
6358
|
function Cp(t) {
|
|
6359
6359
|
var e = t.state, a = t.options, s = t.name;
|
|
6360
6360
|
if (!e.modifiersData[s]._skip) {
|
|
6361
|
-
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, c = a.padding, u = a.boundary, d = a.rootBoundary, v = a.altBoundary, m = a.flipVariations, w = m === void 0 ? !0 : m, b = a.allowedAutoPlacements, g = e.options.placement, $ = ct(g), h = $ === g, _ = r || (h || !w ? [Da(g)] : gp(g)),
|
|
6361
|
+
for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, c = a.padding, u = a.boundary, d = a.rootBoundary, v = a.altBoundary, m = a.flipVariations, w = m === void 0 ? !0 : m, b = a.allowedAutoPlacements, g = e.options.placement, $ = ct(g), h = $ === g, _ = r || (h || !w ? [Da(g)] : gp(g)), P = [g].concat(_).reduce(function(ne, Z) {
|
|
6362
6362
|
return ne.concat(ct(Z) === zs ? mp(e, {
|
|
6363
6363
|
placement: Z,
|
|
6364
6364
|
boundary: u,
|
|
@@ -6367,14 +6367,14 @@ function Cp(t) {
|
|
|
6367
6367
|
flipVariations: w,
|
|
6368
6368
|
allowedAutoPlacements: b
|
|
6369
6369
|
}) : Z);
|
|
6370
|
-
}, []), I = e.rects.reference, L = e.rects.popper,
|
|
6371
|
-
var ae =
|
|
6370
|
+
}, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], J = 0; J < P.length; J++) {
|
|
6371
|
+
var ae = P[J], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
|
|
6372
6372
|
placement: ae,
|
|
6373
6373
|
boundary: u,
|
|
6374
6374
|
rootBoundary: d,
|
|
6375
6375
|
altBoundary: v,
|
|
6376
6376
|
padding: c
|
|
6377
|
-
}), E = le ? G ?
|
|
6377
|
+
}), E = le ? G ? ht : Ge : G ? qe : Ne;
|
|
6378
6378
|
I[se] > L[se] && (E = Da(E));
|
|
6379
6379
|
var T = Da(E), k = [];
|
|
6380
6380
|
if (o && k.push(ee[j] <= 0), l && k.push(ee[E] <= 0, ee[T] <= 0), k.every(function(ne) {
|
|
@@ -6383,21 +6383,21 @@ function Cp(t) {
|
|
|
6383
6383
|
K = ae, z = !1;
|
|
6384
6384
|
break;
|
|
6385
6385
|
}
|
|
6386
|
-
|
|
6386
|
+
F.set(ae, k);
|
|
6387
6387
|
}
|
|
6388
6388
|
if (z)
|
|
6389
6389
|
for (var R = w ? 3 : 1, y = function(Z) {
|
|
6390
|
-
var
|
|
6391
|
-
var he =
|
|
6390
|
+
var H = P.find(function(Y) {
|
|
6391
|
+
var he = F.get(Y);
|
|
6392
6392
|
if (he)
|
|
6393
6393
|
return he.slice(0, Z).every(function(ke) {
|
|
6394
6394
|
return ke;
|
|
6395
6395
|
});
|
|
6396
6396
|
});
|
|
6397
|
-
if (
|
|
6398
|
-
return K =
|
|
6399
|
-
},
|
|
6400
|
-
var oe = y(
|
|
6397
|
+
if (H)
|
|
6398
|
+
return K = H, "break";
|
|
6399
|
+
}, V = R; V > 0; V--) {
|
|
6400
|
+
var oe = y(V);
|
|
6401
6401
|
if (oe === "break")
|
|
6402
6402
|
break;
|
|
6403
6403
|
}
|
|
@@ -6424,7 +6424,7 @@ function yp(t, e, a) {
|
|
|
6424
6424
|
}, $ = () => {
|
|
6425
6425
|
if (!d.value)
|
|
6426
6426
|
return;
|
|
6427
|
-
let _ = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")),
|
|
6427
|
+
let _ = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")), P = parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px", ""));
|
|
6428
6428
|
d.value.setOptions((I) => ({
|
|
6429
6429
|
...I,
|
|
6430
6430
|
modifiers: [
|
|
@@ -6432,7 +6432,7 @@ function yp(t, e, a) {
|
|
|
6432
6432
|
{
|
|
6433
6433
|
name: "offset",
|
|
6434
6434
|
options: {
|
|
6435
|
-
offset: [0, (w.value === "top" ? _ :
|
|
6435
|
+
offset: [0, (w.value === "top" ? _ : P) * -1]
|
|
6436
6436
|
}
|
|
6437
6437
|
}
|
|
6438
6438
|
]
|
|
@@ -6539,19 +6539,19 @@ function wp(t, e, a) {
|
|
|
6539
6539
|
createTag: d,
|
|
6540
6540
|
createOption: v,
|
|
6541
6541
|
reverse: m
|
|
6542
|
-
} = Ee(t), w = Lt().proxy, b = a.iv, g = a.update, $ = a.deselect, h = a.search, _ = a.setPointer,
|
|
6542
|
+
} = Ee(t), w = Lt().proxy, b = a.iv, g = a.update, $ = a.deselect, h = a.search, _ = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => d.value || v.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
|
|
6543
6543
|
s.value === "tags" && !l.value && le.value && i.value && !c.value && _(G.value[G.value.map((k) => k[r.value]).indexOf(h.value)]);
|
|
6544
6544
|
};
|
|
6545
6545
|
return {
|
|
6546
6546
|
handleKeydown: (k) => {
|
|
6547
6547
|
e.emit("keydown", k, w);
|
|
6548
6548
|
let R, y;
|
|
6549
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (R = [...
|
|
6549
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (R = [...F.value.querySelectorAll("[data-tags] > *")].filter((V) => V !== K.value), y = R.findIndex((V) => V === document.activeElement)), k.key) {
|
|
6550
6550
|
case "Backspace":
|
|
6551
6551
|
if (s.value === "single" || i.value && [null, ""].indexOf(h.value) === -1 || b.value.length === 0)
|
|
6552
6552
|
return;
|
|
6553
|
-
let
|
|
6554
|
-
|
|
6553
|
+
let V = b.value.filter((oe) => !oe.disabled && oe.remove !== !1);
|
|
6554
|
+
V.length && $(V[V.length - 1]);
|
|
6555
6555
|
break;
|
|
6556
6556
|
case "Enter":
|
|
6557
6557
|
if (k.preventDefault(), k.keyCode === 229)
|
|
@@ -6562,25 +6562,25 @@ function wp(t, e, a) {
|
|
|
6562
6562
|
}
|
|
6563
6563
|
if (se.value.indexOf("enter") === -1 && le.value)
|
|
6564
6564
|
return;
|
|
6565
|
-
ee(),
|
|
6565
|
+
ee(), P();
|
|
6566
6566
|
break;
|
|
6567
6567
|
case " ":
|
|
6568
6568
|
if (!le.value && !i.value) {
|
|
6569
|
-
k.preventDefault(), ee(),
|
|
6569
|
+
k.preventDefault(), ee(), P();
|
|
6570
6570
|
return;
|
|
6571
6571
|
}
|
|
6572
6572
|
if (!le.value)
|
|
6573
6573
|
return !1;
|
|
6574
6574
|
if (se.value.indexOf("space") === -1 && le.value)
|
|
6575
6575
|
return;
|
|
6576
|
-
k.preventDefault(), ee(),
|
|
6576
|
+
k.preventDefault(), ee(), P();
|
|
6577
6577
|
break;
|
|
6578
6578
|
case "Tab":
|
|
6579
6579
|
case ";":
|
|
6580
6580
|
case ",":
|
|
6581
6581
|
if (se.value.indexOf(k.key.toLowerCase()) === -1 || !le.value)
|
|
6582
6582
|
return;
|
|
6583
|
-
ee(),
|
|
6583
|
+
ee(), P(), k.preventDefault();
|
|
6584
6584
|
break;
|
|
6585
6585
|
case "Escape":
|
|
6586
6586
|
j();
|
|
@@ -6705,14 +6705,14 @@ function $p(t, e, a) {
|
|
|
6705
6705
|
dropdown: [_.dropdown].concat(b.value === "top" ? _.dropdownTop : []).concat(!l.value || !o.value || !$.value ? _.dropdownHidden : []),
|
|
6706
6706
|
options: [_.options].concat(b.value === "top" ? _.optionsTop : []),
|
|
6707
6707
|
group: _.group,
|
|
6708
|
-
groupLabel: (
|
|
6708
|
+
groupLabel: (P) => {
|
|
6709
6709
|
let I = [_.groupLabel];
|
|
6710
|
-
return r(
|
|
6710
|
+
return r(P) ? I.push(c(P) ? _.groupLabelSelectedPointed : _.groupLabelPointed) : c(P) && v.value ? I.push(u(P) ? _.groupLabelSelectedDisabled : _.groupLabelSelected) : u(P) && I.push(_.groupLabelDisabled), v.value && I.push(_.groupLabelPointable), I;
|
|
6711
6711
|
},
|
|
6712
6712
|
groupOptions: _.groupOptions,
|
|
6713
|
-
option: (
|
|
6713
|
+
option: (P, I) => {
|
|
6714
6714
|
let L = [_.option];
|
|
6715
|
-
return r(
|
|
6715
|
+
return r(P) ? L.push(c(P) ? _.optionSelectedPointed : _.optionPointed) : c(P) ? L.push(u(P) ? _.optionSelectedDisabled : _.optionSelected) : (u(P) || I && u(I)) && L.push(_.optionDisabled), L;
|
|
6716
6716
|
},
|
|
6717
6717
|
noOptions: _.noOptions,
|
|
6718
6718
|
noResults: _.noResults,
|
|
@@ -6771,13 +6771,13 @@ function Sp(t, e, a) {
|
|
|
6771
6771
|
let j = [];
|
|
6772
6772
|
if (n && n.value && j.push(n.value), d.value)
|
|
6773
6773
|
return j.push(d.value.group ? "multiselect-group" : "multiselect-option"), j.push(d.value.group ? d.value.index : d.value[o.value]), j.join("-");
|
|
6774
|
-
}), _ = A(() => s.value),
|
|
6774
|
+
}), _ = A(() => s.value), P = A(() => l.value !== "single"), I = A(() => {
|
|
6775
6775
|
let j = "";
|
|
6776
6776
|
return l.value === "single" && m.value && (j += v.value[i.value]), l.value === "multiple" && m.value && (j += w.value), l.value === "tags" && m.value && (j += v.value.map((G) => G[i.value]).join(", ")), j;
|
|
6777
6777
|
}), L = A(() => {
|
|
6778
6778
|
let j = { ...c.value };
|
|
6779
6779
|
return u.value && (j["aria-labelledby"] = j["aria-labelledby"] ? `${g.value} ${j["aria-labelledby"]}` : g.value, I.value && j["aria-label"] && (j["aria-label"] = `${I.value}, ${j["aria-label"]}`)), j;
|
|
6780
|
-
}),
|
|
6780
|
+
}), F = (j) => {
|
|
6781
6781
|
let G = [];
|
|
6782
6782
|
return n && n.value && G.push(n.value), G.push("multiselect-option"), G.push(j[o.value]), G.join("-");
|
|
6783
6783
|
}, z = (j) => {
|
|
@@ -6801,9 +6801,9 @@ function Sp(t, e, a) {
|
|
|
6801
6801
|
ariaAssist: g,
|
|
6802
6802
|
ariaControls: $,
|
|
6803
6803
|
ariaPlaceholder: _,
|
|
6804
|
-
ariaMultiselectable:
|
|
6804
|
+
ariaMultiselectable: P,
|
|
6805
6805
|
ariaActiveDescendant: h,
|
|
6806
|
-
ariaOptionId:
|
|
6806
|
+
ariaOptionId: F,
|
|
6807
6807
|
ariaOptionLabel: K,
|
|
6808
6808
|
ariaGroupId: z,
|
|
6809
6809
|
ariaGroupLabel: J,
|
|
@@ -7721,7 +7721,7 @@ const Se = /* @__PURE__ */ q({
|
|
|
7721
7721
|
}
|
|
7722
7722
|
});
|
|
7723
7723
|
var On;
|
|
7724
|
-
function
|
|
7724
|
+
function yt() {
|
|
7725
7725
|
const t = Xp(), e = t.appContext.config.globalProperties;
|
|
7726
7726
|
return {
|
|
7727
7727
|
i18next: e.$i18next,
|
|
@@ -7783,7 +7783,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
|
|
|
7783
7783
|
},
|
|
7784
7784
|
emits: ["add", "delete", "update"],
|
|
7785
7785
|
setup(t, { emit: e }) {
|
|
7786
|
-
const a = t, { t: s } =
|
|
7786
|
+
const a = t, { t: s } = yt();
|
|
7787
7787
|
ce(() => a.tasks, (d, v) => {
|
|
7788
7788
|
Xe(d, v);
|
|
7789
7789
|
});
|
|
@@ -8062,7 +8062,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
|
|
|
8062
8062
|
f("span", mv, W(c.value), 1),
|
|
8063
8063
|
f("div", gv, [
|
|
8064
8064
|
f("div", Cv, [
|
|
8065
|
-
(p(), D(
|
|
8065
|
+
(p(), D(mt(u.value), {
|
|
8066
8066
|
ref_key: "commentContent",
|
|
8067
8067
|
ref: n,
|
|
8068
8068
|
class: "ao-comment__content",
|
|
@@ -8318,9 +8318,9 @@ const As = /* @__PURE__ */ q({
|
|
|
8318
8318
|
}
|
|
8319
8319
|
}), u = A(() => {
|
|
8320
8320
|
var y;
|
|
8321
|
-
return (y = a.activityTypes) == null ? void 0 : y.map((
|
|
8322
|
-
label:
|
|
8323
|
-
value:
|
|
8321
|
+
return (y = a.activityTypes) == null ? void 0 : y.map((V) => ({
|
|
8322
|
+
label: V.name,
|
|
8323
|
+
value: V.id
|
|
8324
8324
|
}));
|
|
8325
8325
|
}), d = A({
|
|
8326
8326
|
get() {
|
|
@@ -8336,7 +8336,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8336
8336
|
}))), m = A({
|
|
8337
8337
|
get() {
|
|
8338
8338
|
var y;
|
|
8339
|
-
return (y = a.activity.dependingOn) == null ? void 0 : y.map((
|
|
8339
|
+
return (y = a.activity.dependingOn) == null ? void 0 : y.map((V) => V.id);
|
|
8340
8340
|
},
|
|
8341
8341
|
set(y) {
|
|
8342
8342
|
y && e("update:activity", {
|
|
@@ -8345,15 +8345,15 @@ const As = /* @__PURE__ */ q({
|
|
|
8345
8345
|
});
|
|
8346
8346
|
}
|
|
8347
8347
|
}), w = A(() => v.value.map((y) => {
|
|
8348
|
-
var
|
|
8348
|
+
var V;
|
|
8349
8349
|
return {
|
|
8350
8350
|
...y,
|
|
8351
|
-
disabled: (
|
|
8351
|
+
disabled: (V = a.activity.blocking) == null ? void 0 : V.some((oe) => oe.id === y.value)
|
|
8352
8352
|
};
|
|
8353
8353
|
})), b = A({
|
|
8354
8354
|
get() {
|
|
8355
8355
|
var y;
|
|
8356
|
-
return (y = a.activity.blocking) == null ? void 0 : y.map((
|
|
8356
|
+
return (y = a.activity.blocking) == null ? void 0 : y.map((V) => V.id);
|
|
8357
8357
|
},
|
|
8358
8358
|
set(y) {
|
|
8359
8359
|
y && e("update:activity", {
|
|
@@ -8362,10 +8362,10 @@ const As = /* @__PURE__ */ q({
|
|
|
8362
8362
|
});
|
|
8363
8363
|
}
|
|
8364
8364
|
}), g = A(() => v.value.map((y) => {
|
|
8365
|
-
var
|
|
8365
|
+
var V;
|
|
8366
8366
|
return {
|
|
8367
8367
|
...y,
|
|
8368
|
-
disabled: (
|
|
8368
|
+
disabled: (V = a.activity.dependingOn) == null ? void 0 : V.some(
|
|
8369
8369
|
(oe) => oe.id === y.value
|
|
8370
8370
|
)
|
|
8371
8371
|
};
|
|
@@ -8376,23 +8376,23 @@ const As = /* @__PURE__ */ q({
|
|
|
8376
8376
|
}, _ = (y) => {
|
|
8377
8377
|
e("deleteSubtask", y);
|
|
8378
8378
|
};
|
|
8379
|
-
function
|
|
8380
|
-
a.userId ?
|
|
8379
|
+
function P() {
|
|
8380
|
+
a.userId ? F.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
|
|
8381
8381
|
}
|
|
8382
8382
|
function I(y) {
|
|
8383
|
-
|
|
8383
|
+
F.value = [y];
|
|
8384
8384
|
}
|
|
8385
8385
|
const L = A(() => {
|
|
8386
8386
|
var y;
|
|
8387
|
-
return ((y = a.users) == null ? void 0 : y.map((
|
|
8388
|
-
label: `${
|
|
8389
|
-
value:
|
|
8390
|
-
avatar:
|
|
8387
|
+
return ((y = a.users) == null ? void 0 : y.map((V) => ({
|
|
8388
|
+
label: `${V.firstName} ${V.lastName}`,
|
|
8389
|
+
value: V.id,
|
|
8390
|
+
avatar: V.avatarUrl
|
|
8391
8391
|
}))) || [];
|
|
8392
|
-
}),
|
|
8392
|
+
}), F = A({
|
|
8393
8393
|
get() {
|
|
8394
|
-
var y,
|
|
8395
|
-
return (y = a.activity.assignee) != null && y.id ? [(
|
|
8394
|
+
var y, V;
|
|
8395
|
+
return (y = a.activity.assignee) != null && y.id ? [(V = a.activity.assignee) == null ? void 0 : V.id] : [];
|
|
8396
8396
|
},
|
|
8397
8397
|
set(y) {
|
|
8398
8398
|
e("update:activity", {
|
|
@@ -8415,9 +8415,9 @@ const As = /* @__PURE__ */ q({
|
|
|
8415
8415
|
value: y.id,
|
|
8416
8416
|
label: y.name
|
|
8417
8417
|
}))), ae = A(() => {
|
|
8418
|
-
var
|
|
8419
|
-
const y = (ne = (oe = (
|
|
8420
|
-
(Z,
|
|
8418
|
+
var V, oe, ne;
|
|
8419
|
+
const y = (ne = (oe = (V = a.activity) == null ? void 0 : V.project) == null ? void 0 : oe.phases) == null ? void 0 : ne.reduce(
|
|
8420
|
+
(Z, H) => [...Z, ...H.milestones],
|
|
8421
8421
|
[]
|
|
8422
8422
|
);
|
|
8423
8423
|
return y == null ? void 0 : y.map((Z) => ({
|
|
@@ -8436,9 +8436,9 @@ const As = /* @__PURE__ */ q({
|
|
|
8436
8436
|
});
|
|
8437
8437
|
}, le = A(() => {
|
|
8438
8438
|
var y;
|
|
8439
|
-
return (y = a.statuses) == null ? void 0 : y.map((
|
|
8440
|
-
value:
|
|
8441
|
-
label:
|
|
8439
|
+
return (y = a.statuses) == null ? void 0 : y.map((V) => ({
|
|
8440
|
+
value: V.id,
|
|
8441
|
+
label: V.name
|
|
8442
8442
|
}));
|
|
8443
8443
|
}), se = (y) => {
|
|
8444
8444
|
e("update:activity", {
|
|
@@ -8455,19 +8455,19 @@ const As = /* @__PURE__ */ q({
|
|
|
8455
8455
|
}, T = (y) => {
|
|
8456
8456
|
e("removeComment", y);
|
|
8457
8457
|
}, k = A(() => {
|
|
8458
|
-
var y,
|
|
8459
|
-
return ((y = a.activity.createdBy) == null ? void 0 : y.firstName) && ((
|
|
8458
|
+
var y, V;
|
|
8459
|
+
return ((y = a.activity.createdBy) == null ? void 0 : y.firstName) && ((V = a.activity.createdBy) == null ? void 0 : V.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8460
8460
|
});
|
|
8461
8461
|
function R() {
|
|
8462
|
-
const y = window.location.origin,
|
|
8462
|
+
const y = window.location.origin, V = a.activity.slug, oe = `${y}/activity-feed/slug/${V}`;
|
|
8463
8463
|
navigator.clipboard.writeText(oe).then(() => {
|
|
8464
8464
|
console.log(`Link copied to clipboard: ${oe}`), e("toast", "clipboard.copy.success", "success");
|
|
8465
8465
|
}).catch(() => {
|
|
8466
8466
|
console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
|
|
8467
8467
|
});
|
|
8468
8468
|
}
|
|
8469
|
-
return (y,
|
|
8470
|
-
onClose:
|
|
8469
|
+
return (y, V) => (p(), D(Ja, {
|
|
8470
|
+
onClose: V[10] || (V[10] = (oe) => y.$emit("close"))
|
|
8471
8471
|
}, {
|
|
8472
8472
|
default: N(() => {
|
|
8473
8473
|
var oe, ne, Z;
|
|
@@ -8531,7 +8531,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8531
8531
|
f("label", Rv, [
|
|
8532
8532
|
f("span", Nv, W(y.$t("activity.description.label")), 1),
|
|
8533
8533
|
De(f("textarea", {
|
|
8534
|
-
"onUpdate:modelValue":
|
|
8534
|
+
"onUpdate:modelValue": V[0] || (V[0] = (H) => o.value = H),
|
|
8535
8535
|
readonly: !s.value,
|
|
8536
8536
|
rows: "4",
|
|
8537
8537
|
class: "ao-field__textarea"
|
|
@@ -8555,7 +8555,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8555
8555
|
f("label", Zv, [
|
|
8556
8556
|
f("span", Wv, W(y.$t("activity.estimation.label")), 1),
|
|
8557
8557
|
De(f("input", {
|
|
8558
|
-
"onUpdate:modelValue":
|
|
8558
|
+
"onUpdate:modelValue": V[1] || (V[1] = (H) => i.value = H),
|
|
8559
8559
|
readonly: !s.value,
|
|
8560
8560
|
class: "ao-field__input ao-field__input--estim",
|
|
8561
8561
|
type: "number",
|
|
@@ -8620,7 +8620,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8620
8620
|
f("div", Qv, [
|
|
8621
8621
|
M(pe, {
|
|
8622
8622
|
name: "CloseRounded",
|
|
8623
|
-
onClick:
|
|
8623
|
+
onClick: V[2] || (V[2] = (H) => y.$emit("close"))
|
|
8624
8624
|
})
|
|
8625
8625
|
]),
|
|
8626
8626
|
le.value ? (p(), C("div", Jv, [
|
|
@@ -8648,12 +8648,12 @@ const As = /* @__PURE__ */ q({
|
|
|
8648
8648
|
color: "primary",
|
|
8649
8649
|
variant: "solid",
|
|
8650
8650
|
class: "ao-button--sm",
|
|
8651
|
-
onClick:
|
|
8651
|
+
onClick: P
|
|
8652
8652
|
}, null, 8, ["label"])
|
|
8653
8653
|
]),
|
|
8654
8654
|
M(Se, {
|
|
8655
|
-
modelValue:
|
|
8656
|
-
"onUpdate:modelValue":
|
|
8655
|
+
modelValue: F.value,
|
|
8656
|
+
"onUpdate:modelValue": V[3] || (V[3] = (H) => F.value = H),
|
|
8657
8657
|
class: "ao-activity-details__assignees ao-activity-details__multiselect",
|
|
8658
8658
|
options: L.value,
|
|
8659
8659
|
"close-on-select": !0,
|
|
@@ -8665,14 +8665,14 @@ const As = /* @__PURE__ */ q({
|
|
|
8665
8665
|
onSelect: I
|
|
8666
8666
|
}, {
|
|
8667
8667
|
tag: N(({
|
|
8668
|
-
option:
|
|
8668
|
+
option: H,
|
|
8669
8669
|
handleTagRemove: Y
|
|
8670
8670
|
}) => [
|
|
8671
8671
|
M(Je, {
|
|
8672
|
-
"user-name":
|
|
8673
|
-
"avatar-url":
|
|
8672
|
+
"user-name": H.label,
|
|
8673
|
+
"avatar-url": H.avatar,
|
|
8674
8674
|
"is-closable": !0,
|
|
8675
|
-
onClose: (he) => Y(
|
|
8675
|
+
onClose: (he) => Y(H, he)
|
|
8676
8676
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
8677
8677
|
]),
|
|
8678
8678
|
_: 1
|
|
@@ -8684,7 +8684,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8684
8684
|
f("label", uf, [
|
|
8685
8685
|
f("span", cf, W(y.$t("activity.deadline.label")), 1),
|
|
8686
8686
|
De(f("input", {
|
|
8687
|
-
"onUpdate:modelValue":
|
|
8687
|
+
"onUpdate:modelValue": V[4] || (V[4] = (H) => c.value = H),
|
|
8688
8688
|
readonly: !s.value,
|
|
8689
8689
|
class: "ao-field__input",
|
|
8690
8690
|
type: "date"
|
|
@@ -8704,7 +8704,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8704
8704
|
f("label", ff, [
|
|
8705
8705
|
M(Se, {
|
|
8706
8706
|
modelValue: d.value,
|
|
8707
|
-
"onUpdate:modelValue":
|
|
8707
|
+
"onUpdate:modelValue": V[5] || (V[5] = (H) => d.value = H),
|
|
8708
8708
|
class: "ao-activity-details__multiselect",
|
|
8709
8709
|
mode: "single",
|
|
8710
8710
|
searchable: !0,
|
|
@@ -8720,7 +8720,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8720
8720
|
f("div", hf, [
|
|
8721
8721
|
M(As, {
|
|
8722
8722
|
modelValue: l.value,
|
|
8723
|
-
"onUpdate:modelValue":
|
|
8723
|
+
"onUpdate:modelValue": V[6] || (V[6] = (H) => l.value = H),
|
|
8724
8724
|
modelModifiers: { lazy: !0 },
|
|
8725
8725
|
label: y.$t("activity.important.label"),
|
|
8726
8726
|
disabled: !s.value,
|
|
@@ -8735,7 +8735,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8735
8735
|
y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (p(), C("div", mf, [
|
|
8736
8736
|
M(As, {
|
|
8737
8737
|
modelValue: r.value,
|
|
8738
|
-
"onUpdate:modelValue":
|
|
8738
|
+
"onUpdate:modelValue": V[7] || (V[7] = (H) => r.value = H),
|
|
8739
8739
|
modelModifiers: { lazy: !0 },
|
|
8740
8740
|
label: y.$t("activity.private.label"),
|
|
8741
8741
|
disabled: !s.value,
|
|
@@ -8760,7 +8760,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8760
8760
|
f("span", wf, W(y.$t("activity.dependingOn.label")), 1),
|
|
8761
8761
|
M(Se, {
|
|
8762
8762
|
modelValue: m.value,
|
|
8763
|
-
"onUpdate:modelValue":
|
|
8763
|
+
"onUpdate:modelValue": V[8] || (V[8] = (H) => m.value = H),
|
|
8764
8764
|
class: "ao-activity-details__multiselect",
|
|
8765
8765
|
mode: "tags",
|
|
8766
8766
|
"close-on-select": !1,
|
|
@@ -8776,7 +8776,7 @@ const As = /* @__PURE__ */ q({
|
|
|
8776
8776
|
f("span", Sf, W(y.$t("activity.blocking.label")), 1),
|
|
8777
8777
|
M(Se, {
|
|
8778
8778
|
modelValue: b.value,
|
|
8779
|
-
"onUpdate:modelValue":
|
|
8779
|
+
"onUpdate:modelValue": V[9] || (V[9] = (H) => b.value = H),
|
|
8780
8780
|
class: "ao-activity-details__multiselect",
|
|
8781
8781
|
mode: "tags",
|
|
8782
8782
|
"close-on-select": !1,
|
|
@@ -8880,7 +8880,7 @@ const Tf = /* @__PURE__ */ q({
|
|
|
8880
8880
|
e("update:rule", { ...a.rule, durationUnit: $ });
|
|
8881
8881
|
}
|
|
8882
8882
|
}), g = A(() => Object.values(K2));
|
|
8883
|
-
return ($, h) => (p(), D(
|
|
8883
|
+
return ($, h) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
|
|
8884
8884
|
default: N(() => [
|
|
8885
8885
|
M(Q(ut), {
|
|
8886
8886
|
modelValue: n.value,
|
|
@@ -8966,7 +8966,7 @@ const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rule
|
|
|
8966
8966
|
onClose: () => s(i.id)
|
|
8967
8967
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
8968
8968
|
]),
|
|
8969
|
-
M(
|
|
8969
|
+
M(Ct, {
|
|
8970
8970
|
label: n.$t("template.rules.add"),
|
|
8971
8971
|
"icon-name": "Add",
|
|
8972
8972
|
onClick: a
|
|
@@ -8977,7 +8977,7 @@ const Of = { class: "ao-template-rules__body" }, Ef = { class: "ao-template-rule
|
|
|
8977
8977
|
}));
|
|
8978
8978
|
}
|
|
8979
8979
|
});
|
|
8980
|
-
function
|
|
8980
|
+
function Mt(t, e, a) {
|
|
8981
8981
|
const s = t.length, n = t.at(-1), o = n ? we.LexoRank.parse(n.rank).genNext() : we.LexoRank.middle();
|
|
8982
8982
|
return {
|
|
8983
8983
|
name: a(`template.defaultName.${e}`, { idx: s + 1 }),
|
|
@@ -9000,7 +9000,7 @@ const Lf = {
|
|
|
9000
9000
|
},
|
|
9001
9001
|
emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
|
|
9002
9002
|
setup(t, { emit: e }) {
|
|
9003
|
-
const a = t, { t: s } =
|
|
9003
|
+
const a = t, { t: s } = yt(), n = A(
|
|
9004
9004
|
() => {
|
|
9005
9005
|
var E;
|
|
9006
9006
|
return (E = a.templates) == null ? void 0 : E.find((T) => T.id === a.templateId);
|
|
@@ -9055,11 +9055,11 @@ const Lf = {
|
|
|
9055
9055
|
}), c = A(() => {
|
|
9056
9056
|
var E, T;
|
|
9057
9057
|
return ((T = (E = n.value) == null ? void 0 : E.phases) == null ? void 0 : T.reduce((k, R) => {
|
|
9058
|
-
const
|
|
9058
|
+
const V = (R.milestones || []).reduce(
|
|
9059
9059
|
(oe, ne) => ne.activities ? [...oe, ...ne.activities] : oe,
|
|
9060
9060
|
[]
|
|
9061
9061
|
);
|
|
9062
|
-
return [...k, ...
|
|
9062
|
+
return [...k, ...V];
|
|
9063
9063
|
}, [])) || [];
|
|
9064
9064
|
}), u = A(() => {
|
|
9065
9065
|
var E, T;
|
|
@@ -9072,7 +9072,7 @@ const Lf = {
|
|
|
9072
9072
|
}), v = () => {
|
|
9073
9073
|
if (!n.value)
|
|
9074
9074
|
return;
|
|
9075
|
-
const { name: E, rank: T } =
|
|
9075
|
+
const { name: E, rank: T } = Mt(
|
|
9076
9076
|
n.value.phases,
|
|
9077
9077
|
"phase",
|
|
9078
9078
|
s
|
|
@@ -9112,7 +9112,7 @@ const Lf = {
|
|
|
9112
9112
|
}, $ = (E) => {
|
|
9113
9113
|
if (!i.value)
|
|
9114
9114
|
return;
|
|
9115
|
-
const { name: T, rank: k } =
|
|
9115
|
+
const { name: T, rank: k } = Mt(
|
|
9116
9116
|
i.value.milestones,
|
|
9117
9117
|
"milestone",
|
|
9118
9118
|
s
|
|
@@ -9144,11 +9144,11 @@ const Lf = {
|
|
|
9144
9144
|
templateId: a.templateId,
|
|
9145
9145
|
data: k
|
|
9146
9146
|
});
|
|
9147
|
-
},
|
|
9147
|
+
}, P = (E) => {
|
|
9148
9148
|
const { milestoneId: T } = E;
|
|
9149
9149
|
if (!l.value)
|
|
9150
9150
|
return;
|
|
9151
|
-
const { name: k, rank: R } =
|
|
9151
|
+
const { name: k, rank: R } = Mt(
|
|
9152
9152
|
l.value.activities,
|
|
9153
9153
|
"activity",
|
|
9154
9154
|
s
|
|
@@ -9178,8 +9178,8 @@ const Lf = {
|
|
|
9178
9178
|
templateId: a.templateId,
|
|
9179
9179
|
data: k
|
|
9180
9180
|
});
|
|
9181
|
-
},
|
|
9182
|
-
|
|
9181
|
+
}, F = x(!1), z = () => {
|
|
9182
|
+
F.value = !F.value;
|
|
9183
9183
|
}, K = () => {
|
|
9184
9184
|
e("addRule", { templateId: a.templateId });
|
|
9185
9185
|
}, J = (E) => {
|
|
@@ -9228,7 +9228,7 @@ const Lf = {
|
|
|
9228
9228
|
e("removeFile", E);
|
|
9229
9229
|
};
|
|
9230
9230
|
return (E, T) => {
|
|
9231
|
-
var k, R, y,
|
|
9231
|
+
var k, R, y, V, oe, ne;
|
|
9232
9232
|
return n.value ? (p(), C("div", Lf, [
|
|
9233
9233
|
M(ba, {
|
|
9234
9234
|
"can-go-back": !0,
|
|
@@ -9249,7 +9249,7 @@ const Lf = {
|
|
|
9249
9249
|
f("div", Pf, [
|
|
9250
9250
|
f("ol", Hf, [
|
|
9251
9251
|
f("li", Vf, [
|
|
9252
|
-
M(Q(
|
|
9252
|
+
M(Q(gt), {
|
|
9253
9253
|
"model-value": n.value.phases,
|
|
9254
9254
|
class: "ao-templates__list",
|
|
9255
9255
|
"item-key": "id",
|
|
@@ -9264,13 +9264,13 @@ const Lf = {
|
|
|
9264
9264
|
}, null, 8, ["title"])
|
|
9265
9265
|
]),
|
|
9266
9266
|
item: N(({ element: Z }) => {
|
|
9267
|
-
var
|
|
9267
|
+
var H;
|
|
9268
9268
|
return [
|
|
9269
9269
|
M(y5, {
|
|
9270
9270
|
id: Z.id,
|
|
9271
9271
|
name: Z.name,
|
|
9272
9272
|
milestones: Z.milestones,
|
|
9273
|
-
"is-active": ((
|
|
9273
|
+
"is-active": ((H = i.value) == null ? void 0 : H.id) === Z.id,
|
|
9274
9274
|
"is-draggable": !0,
|
|
9275
9275
|
onClick: (Y) => E.$router.push({
|
|
9276
9276
|
params: { templateId: E.templateId, phaseId: Z.id }
|
|
@@ -9284,7 +9284,7 @@ const Lf = {
|
|
|
9284
9284
|
}),
|
|
9285
9285
|
footer: N(() => [
|
|
9286
9286
|
f("div", Df, [
|
|
9287
|
-
M(
|
|
9287
|
+
M(Ct, {
|
|
9288
9288
|
"icon-name": "AddBoxOutlineRounded",
|
|
9289
9289
|
label: E.$t("template.phases.add"),
|
|
9290
9290
|
onClick: v
|
|
@@ -9313,7 +9313,7 @@ const Lf = {
|
|
|
9313
9313
|
"phase-id": (R = i.value) == null ? void 0 : R.id,
|
|
9314
9314
|
milestone: l.value,
|
|
9315
9315
|
"activity-id": (y = u.value) == null ? void 0 : y.id,
|
|
9316
|
-
onAddActivity:
|
|
9316
|
+
onAddActivity: P,
|
|
9317
9317
|
onUpdateActivity: L,
|
|
9318
9318
|
onRemoveActivity: I
|
|
9319
9319
|
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : O("", !0)
|
|
@@ -9325,7 +9325,7 @@ const Lf = {
|
|
|
9325
9325
|
key: 0,
|
|
9326
9326
|
activity: u.value,
|
|
9327
9327
|
"activity-types": E.activityTypes,
|
|
9328
|
-
breadcrumbs: `${n.value.name} / ${(
|
|
9328
|
+
breadcrumbs: `${n.value.name} / ${(V = i.value) == null ? void 0 : V.name} / ${(oe = l.value) == null ? void 0 : oe.name}`,
|
|
9329
9329
|
"milestone-id": (ne = l.value) == null ? void 0 : ne.id,
|
|
9330
9330
|
"template-activities": c.value,
|
|
9331
9331
|
"template-milestones": r.value,
|
|
@@ -9350,7 +9350,7 @@ const Lf = {
|
|
|
9350
9350
|
}, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
|
|
9351
9351
|
])),
|
|
9352
9352
|
(p(), D(Tt, { to: "body" }, [
|
|
9353
|
-
|
|
9353
|
+
F.value ? (p(), D(If, {
|
|
9354
9354
|
key: 0,
|
|
9355
9355
|
"template-id": n.value.id,
|
|
9356
9356
|
rules: n.value.rules || [],
|
|
@@ -9377,17 +9377,18 @@ const Nf = {
|
|
|
9377
9377
|
props: {
|
|
9378
9378
|
isClickable: { type: Boolean },
|
|
9379
9379
|
tagName: { default: "div" },
|
|
9380
|
-
isSelected: { type: Boolean }
|
|
9380
|
+
isSelected: { type: Boolean },
|
|
9381
|
+
borderColor: {}
|
|
9381
9382
|
},
|
|
9382
9383
|
setup(t) {
|
|
9383
|
-
return (e, a) => (p(), D(
|
|
9384
|
+
return (e, a) => (p(), D(mt(e.tagName), {
|
|
9384
9385
|
class: X([
|
|
9385
9386
|
"ao-card",
|
|
9386
9387
|
{
|
|
9387
|
-
"ao-card--clickable": e.isClickable
|
|
9388
|
-
"ao-card--highlight": e.isSelected
|
|
9388
|
+
"ao-card--clickable": e.isClickable
|
|
9389
9389
|
}
|
|
9390
|
-
])
|
|
9390
|
+
]),
|
|
9391
|
+
style: pt(e.isSelected ? { borderColor: e.borderColor || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
|
|
9391
9392
|
}, {
|
|
9392
9393
|
default: N(() => [
|
|
9393
9394
|
e.$slots.header ? (p(), C("header", Nf, [
|
|
@@ -9401,7 +9402,7 @@ const Nf = {
|
|
|
9401
9402
|
])) : O("", !0)
|
|
9402
9403
|
]),
|
|
9403
9404
|
_: 3
|
|
9404
|
-
}, 8, ["class"]));
|
|
9405
|
+
}, 8, ["class", "style"]));
|
|
9405
9406
|
}
|
|
9406
9407
|
});
|
|
9407
9408
|
const ls = /* @__PURE__ */ q({
|
|
@@ -9419,7 +9420,7 @@ const ls = /* @__PURE__ */ q({
|
|
|
9419
9420
|
(p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
|
|
9420
9421
|
key: o,
|
|
9421
9422
|
class: X(["ao-progress__progress"]),
|
|
9422
|
-
style:
|
|
9423
|
+
style: pt({ width: `${o * 100}%` })
|
|
9423
9424
|
}, null, 4))), 128))
|
|
9424
9425
|
], 2));
|
|
9425
9426
|
}
|
|
@@ -9557,7 +9558,7 @@ const Jf = /* @__PURE__ */ q({
|
|
|
9557
9558
|
setup(t) {
|
|
9558
9559
|
return (e, a) => (p(), C("span", {
|
|
9559
9560
|
class: "aoBadge",
|
|
9560
|
-
style:
|
|
9561
|
+
style: pt({ backgroundColor: e.color })
|
|
9561
9562
|
}, null, 4));
|
|
9562
9563
|
}
|
|
9563
9564
|
});
|
|
@@ -9582,6 +9583,7 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9582
9583
|
id: {},
|
|
9583
9584
|
name: {},
|
|
9584
9585
|
color: {},
|
|
9586
|
+
phaseColor: {},
|
|
9585
9587
|
activities: {},
|
|
9586
9588
|
closedStatus: {},
|
|
9587
9589
|
isEditable: { type: Boolean },
|
|
@@ -9615,7 +9617,8 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9615
9617
|
]),
|
|
9616
9618
|
"is-clickable": !r.readonly,
|
|
9617
9619
|
"tag-name": "li",
|
|
9618
|
-
"is-selected": r.isSelected
|
|
9620
|
+
"is-selected": r.isSelected,
|
|
9621
|
+
borderColor: r.phaseColor
|
|
9619
9622
|
}, {
|
|
9620
9623
|
default: N(() => [
|
|
9621
9624
|
f("div", eh, [
|
|
@@ -9696,7 +9699,7 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9696
9699
|
])
|
|
9697
9700
|
]),
|
|
9698
9701
|
_: 3
|
|
9699
|
-
}, 8, ["class", "is-clickable", "is-selected"]));
|
|
9702
|
+
}, 8, ["class", "is-clickable", "is-selected", "borderColor"]));
|
|
9700
9703
|
}
|
|
9701
9704
|
});
|
|
9702
9705
|
/*!
|
|
@@ -9704,7 +9707,7 @@ const eh = { class: "ao-card-project-milestone__default" }, th = { class: "ao-ti
|
|
|
9704
9707
|
* (c) 2023
|
|
9705
9708
|
* @license MIT
|
|
9706
9709
|
*/
|
|
9707
|
-
function
|
|
9710
|
+
function kt(t) {
|
|
9708
9711
|
let e = { r: 0, g: 0, b: 0, a: 1 };
|
|
9709
9712
|
/#/.test(t) ? e = mh(t) : /rgb/.test(t) ? e = En(t) : typeof t == "string" ? e = En(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
|
|
9710
9713
|
const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = gh(e);
|
|
@@ -10479,7 +10482,7 @@ var Ut = q({
|
|
|
10479
10482
|
}
|
|
10480
10483
|
},
|
|
10481
10484
|
created() {
|
|
10482
|
-
Object.assign(this,
|
|
10485
|
+
Object.assign(this, kt(this.color)), this.setText(), this.$watch("rgba", () => {
|
|
10483
10486
|
this.$emit("changeColor", {
|
|
10484
10487
|
rgba: this.rgba,
|
|
10485
10488
|
hsv: this.hsv,
|
|
@@ -10489,7 +10492,7 @@ var Ut = q({
|
|
|
10489
10492
|
},
|
|
10490
10493
|
methods: {
|
|
10491
10494
|
selectSaturation(t) {
|
|
10492
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
10495
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
|
|
10493
10496
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText();
|
|
10494
10497
|
},
|
|
10495
10498
|
handleFocus(t) {
|
|
@@ -10499,7 +10502,7 @@ var Ut = q({
|
|
|
10499
10502
|
this.$emit("inputBlur", t);
|
|
10500
10503
|
},
|
|
10501
10504
|
selectHue(t) {
|
|
10502
|
-
const { r: e, g: a, b: s, h: n, s: o, v: i } =
|
|
10505
|
+
const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
|
|
10503
10506
|
Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText(), this.$nextTick(() => {
|
|
10504
10507
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide();
|
|
10505
10508
|
});
|
|
@@ -10508,13 +10511,13 @@ var Ut = q({
|
|
|
10508
10511
|
this.a = t, this.setText();
|
|
10509
10512
|
},
|
|
10510
10513
|
inputHex(t) {
|
|
10511
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10514
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10512
10515
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = t, this.modelRgba = this.rgbaStringShort, this.$nextTick(() => {
|
|
10513
10516
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10514
10517
|
});
|
|
10515
10518
|
},
|
|
10516
10519
|
inputRgba(t) {
|
|
10517
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10520
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10518
10521
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = this.hexString, this.modelRgba = t, this.$nextTick(() => {
|
|
10519
10522
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10520
10523
|
});
|
|
@@ -10526,13 +10529,13 @@ var Ut = q({
|
|
|
10526
10529
|
this.$emit("openSucker", t);
|
|
10527
10530
|
},
|
|
10528
10531
|
selectSucker(t) {
|
|
10529
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10532
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10530
10533
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
10531
10534
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10532
10535
|
});
|
|
10533
10536
|
},
|
|
10534
10537
|
selectColor(t) {
|
|
10535
|
-
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } =
|
|
10538
|
+
const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
|
|
10536
10539
|
Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
|
|
10537
10540
|
this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
|
|
10538
10541
|
});
|
|
@@ -10734,7 +10737,7 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10734
10737
|
class: "ao-mapping-card-project-phase",
|
|
10735
10738
|
"is-clickable": d.isEditable,
|
|
10736
10739
|
onClick: (b) => u(b, m),
|
|
10737
|
-
style:
|
|
10740
|
+
style: pt({ "--ao-card-custom-bg": w })
|
|
10738
10741
|
}, fa({
|
|
10739
10742
|
default: N(() => [
|
|
10740
10743
|
f("div", Rh, [
|
|
@@ -10817,19 +10820,19 @@ const jh = { class: "ao-mapping-card-project-phase__header" }, Rh = { class: "ao
|
|
|
10817
10820
|
}, 8, ["color"]));
|
|
10818
10821
|
}
|
|
10819
10822
|
});
|
|
10820
|
-
const xh = {
|
|
10823
|
+
const xh = { class: "ao-project-phase" }, Kh = {
|
|
10821
10824
|
key: 0,
|
|
10822
10825
|
class: "ao-project-phase__drag ao-card__drag"
|
|
10823
|
-
},
|
|
10826
|
+
}, Gh = {
|
|
10824
10827
|
key: 1,
|
|
10825
10828
|
class: "ao-project-phase__col-phase"
|
|
10826
|
-
},
|
|
10829
|
+
}, Xh = {
|
|
10827
10830
|
key: 2,
|
|
10828
10831
|
class: "ao-mapping-project-phase__col-phase"
|
|
10829
|
-
},
|
|
10832
|
+
}, Qh = {
|
|
10830
10833
|
key: 0,
|
|
10831
10834
|
class: "ao-project-phase__col-milestones"
|
|
10832
|
-
},
|
|
10835
|
+
}, Jh = { class: "ao-project-phase__milestones-list-footer" }, e9 = /* @__PURE__ */ q({
|
|
10833
10836
|
__name: "AoProjectPhase",
|
|
10834
10837
|
props: {
|
|
10835
10838
|
phase: {},
|
|
@@ -10840,7 +10843,7 @@ const xh = {
|
|
|
10840
10843
|
},
|
|
10841
10844
|
emits: ["addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
|
|
10842
10845
|
setup(t, { emit: e }) {
|
|
10843
|
-
const a = t, { t: s } =
|
|
10846
|
+
const a = t, { t: s } = yt();
|
|
10844
10847
|
ce(
|
|
10845
10848
|
() => a.phase.milestones,
|
|
10846
10849
|
(h, _) => {
|
|
@@ -10858,12 +10861,12 @@ const xh = {
|
|
|
10858
10861
|
(h) => j3(h, a.closedStatus)
|
|
10859
10862
|
)
|
|
10860
10863
|
), r = (h) => {
|
|
10861
|
-
const { name: _, rank:
|
|
10864
|
+
const { name: _, rank: P } = Mt(
|
|
10862
10865
|
l.value ?? [],
|
|
10863
10866
|
"milestone",
|
|
10864
10867
|
s
|
|
10865
10868
|
);
|
|
10866
|
-
e("addMilestone", { name: _, rank:
|
|
10869
|
+
e("addMilestone", { name: _, rank: P, phaseId: h });
|
|
10867
10870
|
}, c = (h) => {
|
|
10868
10871
|
e("updateMilestone", h);
|
|
10869
10872
|
}, u = (h) => {
|
|
@@ -10883,115 +10886,111 @@ const xh = {
|
|
|
10883
10886
|
id: h.moved.element.id,
|
|
10884
10887
|
rank: Ft(l.value, h.moved.newIndex)
|
|
10885
10888
|
});
|
|
10886
|
-
}, b = A(() =>
|
|
10887
|
-
|
|
10888
|
-
var
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10889
|
+
}, b = qi(), g = A(() => b.path.includes("/mapping")), $ = A(() => {
|
|
10890
|
+
var h;
|
|
10891
|
+
return a.phase.id !== ((h = b.params) == null ? void 0 : h.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: N3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
|
|
10892
|
+
});
|
|
10893
|
+
return (h, _) => (p(), C("li", xh, [
|
|
10894
|
+
f("div", {
|
|
10895
|
+
class: "ao-project-phases__draggable-card",
|
|
10896
|
+
style: pt($.value)
|
|
10894
10897
|
}, [
|
|
10898
|
+
h.isEditable ? (p(), C("div", Kh, [
|
|
10899
|
+
M(pe, {
|
|
10900
|
+
name: "DragIndicator",
|
|
10901
|
+
class: "ao-project-phase__drag-handle"
|
|
10902
|
+
})
|
|
10903
|
+
])) : O("", !0),
|
|
10904
|
+
g.value ? (p(), C("div", Xh, [
|
|
10905
|
+
M(Yh, {
|
|
10906
|
+
id: h.phase.id,
|
|
10907
|
+
milestones: l.value,
|
|
10908
|
+
name: h.phase.name,
|
|
10909
|
+
deadline: h.phase.deadline,
|
|
10910
|
+
active: h.phase.active,
|
|
10911
|
+
"is-editable": h.isEditable,
|
|
10912
|
+
"onUpdate:deadline": o,
|
|
10913
|
+
"onUpdate:title": n,
|
|
10914
|
+
onArchivePhase: v,
|
|
10915
|
+
onUnarchivePhase: m,
|
|
10916
|
+
onUpdatePhase: i
|
|
10917
|
+
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10918
|
+
])) : (p(), C("div", Gh, [
|
|
10919
|
+
M(Qf, {
|
|
10920
|
+
id: h.phase.id,
|
|
10921
|
+
milestones: l.value,
|
|
10922
|
+
name: h.phase.name,
|
|
10923
|
+
deadline: h.phase.deadline,
|
|
10924
|
+
active: h.phase.active,
|
|
10925
|
+
"is-editable": h.isEditable,
|
|
10926
|
+
"onUpdate:deadline": o,
|
|
10927
|
+
"onUpdate:title": n,
|
|
10928
|
+
onArchivePhase: v,
|
|
10929
|
+
onUnarchivePhase: m
|
|
10930
|
+
}, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable"])
|
|
10931
|
+
]))
|
|
10932
|
+
], 4),
|
|
10933
|
+
g.value ? O("", !0) : (p(), C("div", Qh, [
|
|
10895
10934
|
f("div", {
|
|
10896
|
-
class: "ao-project-
|
|
10897
|
-
style:
|
|
10935
|
+
class: "ao-project-phase__milestones",
|
|
10936
|
+
style: pt($.value)
|
|
10898
10937
|
}, [
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
M(fh, {
|
|
10950
|
-
id: I.id,
|
|
10951
|
-
name: I.name,
|
|
10952
|
-
color: I.color,
|
|
10953
|
-
activities: I.activities,
|
|
10954
|
-
deadline: I.deadline,
|
|
10955
|
-
active: I.active,
|
|
10956
|
-
"is-editable": !h.readonly && h.isEditable,
|
|
10957
|
-
"is-draggable": !h.readonly && h.isEditable,
|
|
10958
|
-
"closed-status": h.closedStatus,
|
|
10959
|
-
"is-selected": I.id === ((L = h.$route.params) == null ? void 0 : L.milestoneId),
|
|
10960
|
-
assignee: I.assignee,
|
|
10961
|
-
important: I.important,
|
|
10962
|
-
readonly: h.readonly,
|
|
10963
|
-
class: X(["ao-project-phase__milestone"]),
|
|
10964
|
-
onClick: (U) => !h.readonly && h.$router.push({
|
|
10965
|
-
name: Q(ye).milestone,
|
|
10966
|
-
params: { phaseId: h.phase.id, milestoneId: I.id }
|
|
10967
|
-
}),
|
|
10968
|
-
onUpdateMilestone: c,
|
|
10969
|
-
onArchiveMilestone: u,
|
|
10970
|
-
onUnarchiveMilestone: d
|
|
10971
|
-
}, null, 8, ["id", "name", "color", "activities", "deadline", "active", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
|
|
10972
|
-
];
|
|
10973
|
-
}),
|
|
10974
|
-
_: 1
|
|
10975
|
-
}, 16, ["list", "disabled"]),
|
|
10976
|
-
f("div", Qh, [
|
|
10977
|
-
h.isEditable ? (p(), D(gt, {
|
|
10978
|
-
key: 0,
|
|
10979
|
-
label: h.$t("project.milestone.add"),
|
|
10980
|
-
class: "ao-project-phase__milestone-add",
|
|
10981
|
-
"icon-name": "Add",
|
|
10982
|
-
onClick: _[0] || (_[0] = () => r(h.phase.id))
|
|
10983
|
-
}, null, 8, ["label"])) : O("", !0)
|
|
10984
|
-
])
|
|
10985
|
-
], 4)
|
|
10986
|
-
]))
|
|
10987
|
-
], 2);
|
|
10988
|
-
};
|
|
10938
|
+
M(Q(gt), Ae({
|
|
10939
|
+
class: "ao-project-phase__milestones-list",
|
|
10940
|
+
list: l.value,
|
|
10941
|
+
disabled: h.readonly || !h.isEditable,
|
|
10942
|
+
"item-key": "id",
|
|
10943
|
+
group: "kanban"
|
|
10944
|
+
}, h.$attrs, { onChange: w }), {
|
|
10945
|
+
item: N(({ element: P }) => {
|
|
10946
|
+
var I;
|
|
10947
|
+
return [
|
|
10948
|
+
M(fh, {
|
|
10949
|
+
id: P.id,
|
|
10950
|
+
name: P.name,
|
|
10951
|
+
color: P.color,
|
|
10952
|
+
"phase-color": h.phase.color,
|
|
10953
|
+
activities: P.activities,
|
|
10954
|
+
deadline: P.deadline,
|
|
10955
|
+
active: P.active,
|
|
10956
|
+
"is-editable": !h.readonly && h.isEditable,
|
|
10957
|
+
"is-draggable": !h.readonly && h.isEditable,
|
|
10958
|
+
"closed-status": h.closedStatus,
|
|
10959
|
+
"is-selected": P.id === ((I = h.$route.params) == null ? void 0 : I.milestoneId),
|
|
10960
|
+
assignee: P.assignee,
|
|
10961
|
+
important: P.important,
|
|
10962
|
+
readonly: h.readonly,
|
|
10963
|
+
class: X(["ao-project-phase__milestone"]),
|
|
10964
|
+
onClick: (L) => !h.readonly && h.$router.push({
|
|
10965
|
+
name: Q(ye).milestone,
|
|
10966
|
+
params: { phaseId: h.phase.id, milestoneId: P.id }
|
|
10967
|
+
}),
|
|
10968
|
+
onUpdateMilestone: c,
|
|
10969
|
+
onArchiveMilestone: u,
|
|
10970
|
+
onUnarchiveMilestone: d
|
|
10971
|
+
}, null, 8, ["id", "name", "color", "phase-color", "activities", "deadline", "active", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
|
|
10972
|
+
];
|
|
10973
|
+
}),
|
|
10974
|
+
_: 1
|
|
10975
|
+
}, 16, ["list", "disabled"]),
|
|
10976
|
+
f("div", Jh, [
|
|
10977
|
+
h.isEditable ? (p(), D(Ct, {
|
|
10978
|
+
key: 0,
|
|
10979
|
+
label: h.$t("project.milestone.add"),
|
|
10980
|
+
class: "ao-project-phase__milestone-add",
|
|
10981
|
+
"icon-name": "Add",
|
|
10982
|
+
onClick: _[0] || (_[0] = () => r(h.phase.id))
|
|
10983
|
+
}, null, 8, ["label"])) : O("", !0)
|
|
10984
|
+
])
|
|
10985
|
+
], 4)
|
|
10986
|
+
]))
|
|
10987
|
+
]));
|
|
10989
10988
|
}
|
|
10990
10989
|
});
|
|
10991
|
-
const
|
|
10990
|
+
const t9 = { class: "ao-project__phases" }, a9 = {
|
|
10992
10991
|
key: 0,
|
|
10993
10992
|
class: "ao-project-phase__phases-list-footer"
|
|
10994
|
-
},
|
|
10993
|
+
}, s9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), n9 = { class: "ao-project-phase__col-phase" }, i9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), fi = /* @__PURE__ */ q({
|
|
10995
10994
|
__name: "AoProjectPhases",
|
|
10996
10995
|
props: {
|
|
10997
10996
|
phases: {},
|
|
@@ -11031,8 +11030,8 @@ const e9 = { class: "ao-project__phases" }, t9 = {
|
|
|
11031
11030
|
}, d = (v) => {
|
|
11032
11031
|
e("addPhase", v);
|
|
11033
11032
|
};
|
|
11034
|
-
return (v, m) => (p(), C("div",
|
|
11035
|
-
M(Q(
|
|
11033
|
+
return (v, m) => (p(), C("div", t9, [
|
|
11034
|
+
M(Q(gt), {
|
|
11036
11035
|
class: "ao-project-phase__phases-list",
|
|
11037
11036
|
"model-value": v.phases,
|
|
11038
11037
|
"item-key": "id",
|
|
@@ -11040,7 +11039,7 @@ const e9 = { class: "ao-project__phases" }, t9 = {
|
|
|
11040
11039
|
onChange: c
|
|
11041
11040
|
}, {
|
|
11042
11041
|
item: N(({ element: w }) => [
|
|
11043
|
-
M(
|
|
11042
|
+
M(e9, {
|
|
11044
11043
|
phase: w,
|
|
11045
11044
|
"is-editable": !v.readonly && v.isEditable,
|
|
11046
11045
|
"closed-status": v.closedStatus,
|
|
@@ -11057,22 +11056,22 @@ const e9 = { class: "ao-project__phases" }, t9 = {
|
|
|
11057
11056
|
]),
|
|
11058
11057
|
_: 1
|
|
11059
11058
|
}, 8, ["model-value"]),
|
|
11060
|
-
v.isEditable ? (p(), C("div",
|
|
11061
|
-
|
|
11062
|
-
f("div",
|
|
11063
|
-
M(
|
|
11059
|
+
v.isEditable ? (p(), C("div", a9, [
|
|
11060
|
+
s9,
|
|
11061
|
+
f("div", n9, [
|
|
11062
|
+
M(Ct, {
|
|
11064
11063
|
label: v.$t("project.phases.add"),
|
|
11065
11064
|
"icon-name": "Add",
|
|
11066
11065
|
class: "ao-project-phase__add-phase",
|
|
11067
11066
|
onClick: d
|
|
11068
11067
|
}, null, 8, ["label"])
|
|
11069
11068
|
]),
|
|
11070
|
-
|
|
11069
|
+
i9
|
|
11071
11070
|
])) : O("", !0)
|
|
11072
11071
|
]));
|
|
11073
11072
|
}
|
|
11074
11073
|
});
|
|
11075
|
-
const
|
|
11074
|
+
const o9 = ["onSubmit"], l9 = { class: "ao-add-template-modal__form-body" }, r9 = { class: "field__row" }, u9 = { class: "ao-add-template-modal__form-footer" }, hi = /* @__PURE__ */ q({
|
|
11076
11075
|
__name: "AoAddTemplateModal",
|
|
11077
11076
|
props: {
|
|
11078
11077
|
projectId: {},
|
|
@@ -11101,8 +11100,8 @@ const i9 = ["onSubmit"], o9 = { class: "ao-add-template-modal__form-body" }, l9
|
|
|
11101
11100
|
onSubmit: ve(i, ["prevent"])
|
|
11102
11101
|
}, [
|
|
11103
11102
|
f("p", null, W(l.$t("project.template.apply.notice")), 1),
|
|
11104
|
-
f("div",
|
|
11105
|
-
f("div",
|
|
11103
|
+
f("div", l9, [
|
|
11104
|
+
f("div", r9, [
|
|
11106
11105
|
M(Se, {
|
|
11107
11106
|
value: n.value,
|
|
11108
11107
|
options: s.value,
|
|
@@ -11111,7 +11110,7 @@ const i9 = ["onSubmit"], o9 = { class: "ao-add-template-modal__form-body" }, l9
|
|
|
11111
11110
|
}, null, 8, ["value", "options"])
|
|
11112
11111
|
])
|
|
11113
11112
|
]),
|
|
11114
|
-
f("footer",
|
|
11113
|
+
f("footer", u9, [
|
|
11115
11114
|
M(re, {
|
|
11116
11115
|
label: l.$t("project.template.apply.label"),
|
|
11117
11116
|
type: "submit",
|
|
@@ -11120,13 +11119,13 @@ const i9 = ["onSubmit"], o9 = { class: "ao-add-template-modal__form-body" }, l9
|
|
|
11120
11119
|
onClick: i
|
|
11121
11120
|
}, null, 8, ["label"])
|
|
11122
11121
|
])
|
|
11123
|
-
], 40,
|
|
11122
|
+
], 40, o9)
|
|
11124
11123
|
]),
|
|
11125
11124
|
_: 1
|
|
11126
11125
|
}));
|
|
11127
11126
|
}
|
|
11128
11127
|
});
|
|
11129
|
-
const
|
|
11128
|
+
const c9 = ["onSubmit"], d9 = { class: "ao-save-template-modal__form-body" }, p9 = { class: "field__row" }, v9 = { class: "ao-field ao-field--inline" }, f9 = { class: "ao-field__label" }, h9 = { class: "ao-save-template-modal__phases" }, m9 = { class: "ao-field__label" }, g9 = { class: "ao-save-template-modal__phases-list" }, C9 = ["value"], _9 = { class: "ao-save-template-modal__form-footer" }, mi = /* @__PURE__ */ q({
|
|
11130
11129
|
__name: "AoSaveTemplateModal",
|
|
11131
11130
|
props: {
|
|
11132
11131
|
phases: {}
|
|
@@ -11152,10 +11151,10 @@ const u9 = ["onSubmit"], c9 = { class: "ao-save-template-modal__form-body" }, d9
|
|
|
11152
11151
|
class: "ao-save-template-modal__form",
|
|
11153
11152
|
onSubmit: ve(o, ["prevent"])
|
|
11154
11153
|
}, [
|
|
11155
|
-
f("div",
|
|
11156
|
-
f("div",
|
|
11157
|
-
f("label",
|
|
11158
|
-
f("span",
|
|
11154
|
+
f("div", d9, [
|
|
11155
|
+
f("div", p9, [
|
|
11156
|
+
f("label", v9, [
|
|
11157
|
+
f("span", f9, W(i.$t("project.template.name.label")) + ": ", 1),
|
|
11159
11158
|
De(f("input", {
|
|
11160
11159
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
11161
11160
|
type: "text"
|
|
@@ -11164,9 +11163,9 @@ const u9 = ["onSubmit"], c9 = { class: "ao-save-template-modal__form-body" }, d9
|
|
|
11164
11163
|
])
|
|
11165
11164
|
])
|
|
11166
11165
|
]),
|
|
11167
|
-
f("div",
|
|
11168
|
-
f("div",
|
|
11169
|
-
f("div",
|
|
11166
|
+
f("div", h9, [
|
|
11167
|
+
f("div", m9, W(i.$t("project.template.phases.label")), 1),
|
|
11168
|
+
f("div", g9, [
|
|
11170
11169
|
(p(!0), C(fe, null, _e(a.phases, (r) => (p(), C("label", {
|
|
11171
11170
|
class: "ao-field ao-field--checkbox",
|
|
11172
11171
|
key: r.id
|
|
@@ -11175,7 +11174,7 @@ const u9 = ["onSubmit"], c9 = { class: "ao-save-template-modal__form-body" }, d9
|
|
|
11175
11174
|
type: "checkbox",
|
|
11176
11175
|
value: r.id,
|
|
11177
11176
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => n.value = c)
|
|
11178
|
-
}, null, 8,
|
|
11177
|
+
}, null, 8, C9), [
|
|
11179
11178
|
[Ui, n.value]
|
|
11180
11179
|
]),
|
|
11181
11180
|
f("span", null, W(r.name), 1)
|
|
@@ -11183,7 +11182,7 @@ const u9 = ["onSubmit"], c9 = { class: "ao-save-template-modal__form-body" }, d9
|
|
|
11183
11182
|
])
|
|
11184
11183
|
])
|
|
11185
11184
|
]),
|
|
11186
|
-
f("footer",
|
|
11185
|
+
f("footer", _9, [
|
|
11187
11186
|
M(re, {
|
|
11188
11187
|
label: i.$t("project.template.save.label"),
|
|
11189
11188
|
type: "submit",
|
|
@@ -11192,13 +11191,13 @@ const u9 = ["onSubmit"], c9 = { class: "ao-save-template-modal__form-body" }, d9
|
|
|
11192
11191
|
onClick: o
|
|
11193
11192
|
}, null, 8, ["label"])
|
|
11194
11193
|
])
|
|
11195
|
-
], 40,
|
|
11194
|
+
], 40, c9)
|
|
11196
11195
|
]),
|
|
11197
11196
|
_: 1
|
|
11198
11197
|
}));
|
|
11199
11198
|
}
|
|
11200
11199
|
});
|
|
11201
|
-
const
|
|
11200
|
+
const y9 = q({
|
|
11202
11201
|
props: {
|
|
11203
11202
|
modelValue: {
|
|
11204
11203
|
type: [String, Number],
|
|
@@ -11216,18 +11215,18 @@ const _9 = q({
|
|
|
11216
11215
|
}
|
|
11217
11216
|
}
|
|
11218
11217
|
});
|
|
11219
|
-
const
|
|
11220
|
-
function
|
|
11221
|
-
return p(), C("div",
|
|
11218
|
+
const b9 = { class: "tabbar-wrapper" }, w9 = ["onClick"];
|
|
11219
|
+
function $9(t, e, a, s, n, o) {
|
|
11220
|
+
return p(), C("div", b9, [
|
|
11222
11221
|
(p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
|
|
11223
11222
|
key: i.value,
|
|
11224
11223
|
class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
|
|
11225
11224
|
type: "button",
|
|
11226
11225
|
onClick: (l) => t.selectTab(i.value)
|
|
11227
|
-
}, W(i.label), 11,
|
|
11226
|
+
}, W(i.label), 11, w9))), 128))
|
|
11228
11227
|
]);
|
|
11229
11228
|
}
|
|
11230
|
-
const an = /* @__PURE__ */
|
|
11229
|
+
const an = /* @__PURE__ */ U(y9, [["render", $9], ["__scopeId", "data-v-ff4e3297"]]), k9 = { class: "ao-project" }, S9 = { class: "ao-project__body" }, A9 = /* @__PURE__ */ q({
|
|
11231
11230
|
__name: "AoProjectOverviewProject",
|
|
11232
11231
|
props: {
|
|
11233
11232
|
project: {},
|
|
@@ -11245,10 +11244,10 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11245
11244
|
},
|
|
11246
11245
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addActivity", "update:activity", "archiveActivity", "copyPhaseToTemplate", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
11247
11246
|
setup(t, { emit: e }) {
|
|
11248
|
-
const a = t, { t: s } =
|
|
11247
|
+
const a = t, { t: s } = yt(), n = A(
|
|
11249
11248
|
() => a.phases.flatMap((T) => T.milestones)
|
|
11250
11249
|
), o = () => {
|
|
11251
|
-
const { name: T, rank: k } =
|
|
11250
|
+
const { name: T, rank: k } = Mt(a.phases, "phase", s);
|
|
11252
11251
|
e("addPhase", { name: T, rank: k, projectId: a.project.id });
|
|
11253
11252
|
}, i = (T) => {
|
|
11254
11253
|
e("updatePhase", T);
|
|
@@ -11278,13 +11277,13 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11278
11277
|
e("addSubtask", T);
|
|
11279
11278
|
}, _ = (T) => {
|
|
11280
11279
|
e("updateSubtask", T);
|
|
11281
|
-
},
|
|
11280
|
+
}, P = (T) => {
|
|
11282
11281
|
e("deleteSubtask", T);
|
|
11283
11282
|
}, I = A(
|
|
11284
11283
|
() => n.value.flatMap((T) => T.activities)
|
|
11285
11284
|
), L = (T) => {
|
|
11286
11285
|
e("addFiles", T);
|
|
11287
|
-
},
|
|
11286
|
+
}, F = (T) => {
|
|
11288
11287
|
e("removeFile", T);
|
|
11289
11288
|
}, z = (T) => {
|
|
11290
11289
|
e("addComment", T);
|
|
@@ -11295,8 +11294,8 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11295
11294
|
}, ae = x(!1), j = x(!1), G = (T, k) => {
|
|
11296
11295
|
e("applyTemplate", { templateId: T, projectId: k }), ae.value = !1;
|
|
11297
11296
|
}, le = (T, k) => {
|
|
11298
|
-
var
|
|
11299
|
-
const R = (
|
|
11297
|
+
var V;
|
|
11298
|
+
const R = (V = a.templates) == null ? void 0 : V.at(-1), y = R ? we.LexoRank.parse(R.rank).genNext() : we.LexoRank.middle();
|
|
11300
11299
|
e("saveTemplate", { templateName: T, rank: y.format(), phaseIds: k }), j.value = !1;
|
|
11301
11300
|
}, se = Es(), ee = x("overview"), E = [
|
|
11302
11301
|
{ label: "Overview", value: "overview" },
|
|
@@ -11309,7 +11308,7 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11309
11308
|
const R = rt("RouterView");
|
|
11310
11309
|
return p(), C(fe, null, [
|
|
11311
11310
|
f("div", Ae({ class: "ao-project-overview" }, T.$attrs), [
|
|
11312
|
-
f("div",
|
|
11311
|
+
f("div", k9, [
|
|
11313
11312
|
M(ba, null, {
|
|
11314
11313
|
primary: N(() => [
|
|
11315
11314
|
M(an, {
|
|
@@ -11348,7 +11347,7 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11348
11347
|
]),
|
|
11349
11348
|
_: 1
|
|
11350
11349
|
}),
|
|
11351
|
-
f("div",
|
|
11350
|
+
f("div", S9, [
|
|
11352
11351
|
M(fi, {
|
|
11353
11352
|
phases: T.phases,
|
|
11354
11353
|
"closed-status": T.closedStatus,
|
|
@@ -11397,17 +11396,17 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11397
11396
|
"onUpdate:activity": b,
|
|
11398
11397
|
onAddSubtask: h,
|
|
11399
11398
|
onUpdateSubtask: _,
|
|
11400
|
-
onDeleteSubtask:
|
|
11399
|
+
onDeleteSubtask: P,
|
|
11401
11400
|
onAddFiles: L,
|
|
11402
|
-
onRemoveFile:
|
|
11401
|
+
onRemoveFile: F,
|
|
11403
11402
|
onAddComment: z,
|
|
11404
11403
|
onUpdateComment: K,
|
|
11405
11404
|
onRemoveComment: J
|
|
11406
11405
|
}, {
|
|
11407
11406
|
default: N(({ Component: y }) => [
|
|
11408
|
-
(p(), D(
|
|
11409
|
-
default: N((
|
|
11410
|
-
te(T.$slots, "activityDetailsBody", ha(ma(
|
|
11407
|
+
(p(), D(mt(y), null, {
|
|
11408
|
+
default: N((V) => [
|
|
11409
|
+
te(T.$slots, "activityDetailsBody", ha(ma(V)))
|
|
11411
11410
|
]),
|
|
11412
11411
|
_: 2
|
|
11413
11412
|
}, 1024))
|
|
@@ -11435,39 +11434,39 @@ const an = /* @__PURE__ */ F(_9, [["render", w9], ["__scopeId", "data-v-ff4e3297
|
|
|
11435
11434
|
};
|
|
11436
11435
|
}
|
|
11437
11436
|
});
|
|
11438
|
-
const
|
|
11437
|
+
const M9 = { class: "ao-card-feed__header" }, T9 = {
|
|
11439
11438
|
key: 1,
|
|
11440
11439
|
class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
|
|
11441
|
-
},
|
|
11440
|
+
}, O9 = {
|
|
11442
11441
|
key: 2,
|
|
11443
11442
|
class: "ao-card-feed__header-secondary ao-card-feed__secondary"
|
|
11444
|
-
},
|
|
11443
|
+
}, E9 = { class: "ao-card-feed__body" }, I9 = {
|
|
11445
11444
|
key: 0,
|
|
11446
11445
|
class: "ao-card-feed__breadcrumbs"
|
|
11447
|
-
},
|
|
11446
|
+
}, L9 = {
|
|
11448
11447
|
class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
|
|
11449
|
-
},
|
|
11448
|
+
}, P9 = { class: "ao-card-feed__title-line" }, H9 = {
|
|
11450
11449
|
key: 0,
|
|
11451
11450
|
class: "ao-card-feed__slug"
|
|
11452
|
-
},
|
|
11451
|
+
}, V9 = {
|
|
11453
11452
|
key: 1,
|
|
11454
11453
|
class: "ao-card-feed__deadline"
|
|
11455
|
-
},
|
|
11454
|
+
}, D9 = { class: "ao-card-feed__footer" }, B9 = { class: "ao-card-feed__footer-row" }, j9 = { class: "ao-assignees" }, R9 = {
|
|
11456
11455
|
key: 0,
|
|
11457
11456
|
class: "ao-assignee"
|
|
11458
|
-
},
|
|
11457
|
+
}, N9 = {
|
|
11459
11458
|
key: 0,
|
|
11460
11459
|
class: "ao-card-feed__subitems"
|
|
11461
|
-
},
|
|
11460
|
+
}, U9 = {
|
|
11462
11461
|
key: 0,
|
|
11463
11462
|
class: "ao-card-feed__subitem"
|
|
11464
|
-
},
|
|
11463
|
+
}, F9 = { class: "ao-card-feed__subitem" }, Z9 = {
|
|
11465
11464
|
key: 1,
|
|
11466
11465
|
class: "ao-card-feed__subitem"
|
|
11467
|
-
},
|
|
11466
|
+
}, W9 = { class: "ao-card-feed__subitem" }, z9 = { class: "ao-card-feed__footer-row" }, q9 = {
|
|
11468
11467
|
key: 0,
|
|
11469
11468
|
class: "ao-card-feed__progress-wrapper"
|
|
11470
|
-
},
|
|
11469
|
+
}, Y9 = { class: "ao-card-feed__subitem" }, x9 = { class: "ao-card-feed__subitem" }, gi = /* @__PURE__ */ q({
|
|
11471
11470
|
__name: "AoCardFeed",
|
|
11472
11471
|
props: {
|
|
11473
11472
|
id: {},
|
|
@@ -11510,7 +11509,7 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
11510
11509
|
"is-clickable": !0
|
|
11511
11510
|
}, {
|
|
11512
11511
|
header: N(() => [
|
|
11513
|
-
f("div",
|
|
11512
|
+
f("div", M9, [
|
|
11514
11513
|
s.value ? (p(), D(ra, {
|
|
11515
11514
|
key: 0,
|
|
11516
11515
|
label: s.value,
|
|
@@ -11519,7 +11518,7 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
11519
11518
|
color: m.projectColor ? void 0 : "primary",
|
|
11520
11519
|
"raw-color": n.value
|
|
11521
11520
|
}, null, 8, ["label", "color", "raw-color"])) : O("", !0),
|
|
11522
|
-
m.isPrivate || m.important || m.isClosed ? (p(), C("div",
|
|
11521
|
+
m.isPrivate || m.important || m.isClosed ? (p(), C("div", T9, [
|
|
11523
11522
|
m.isPrivate ? (p(), D(pe, {
|
|
11524
11523
|
key: 0,
|
|
11525
11524
|
name: "Lock",
|
|
@@ -11538,17 +11537,17 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
11538
11537
|
class: "ao-card-feed__closed"
|
|
11539
11538
|
})) : O("", !0)
|
|
11540
11539
|
])) : O("", !0),
|
|
11541
|
-
m.$slots.secondary ? (p(), C("div",
|
|
11540
|
+
m.$slots.secondary ? (p(), C("div", O9, [
|
|
11542
11541
|
te(m.$slots, "secondary")
|
|
11543
11542
|
])) : O("", !0)
|
|
11544
11543
|
])
|
|
11545
11544
|
]),
|
|
11546
11545
|
default: N(() => [
|
|
11547
|
-
f("div",
|
|
11548
|
-
i.value ? (p(), C("span",
|
|
11549
|
-
f("div",
|
|
11550
|
-
f("div",
|
|
11551
|
-
m.slug ? (p(), C("span",
|
|
11546
|
+
f("div", E9, [
|
|
11547
|
+
i.value ? (p(), C("span", I9, W(i.value), 1)) : O("", !0),
|
|
11548
|
+
f("div", L9, [
|
|
11549
|
+
f("div", P9, [
|
|
11550
|
+
m.slug ? (p(), C("span", H9, W(m.slug) + ": ", 1)) : O("", !0),
|
|
11552
11551
|
M(be, {
|
|
11553
11552
|
id: m.id,
|
|
11554
11553
|
title: m.name,
|
|
@@ -11559,17 +11558,17 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
11559
11558
|
}, null, 8, ["id", "title", "is-editable"])
|
|
11560
11559
|
])
|
|
11561
11560
|
]),
|
|
11562
|
-
m.deadline ? (p(), C("span",
|
|
11561
|
+
m.deadline ? (p(), C("span", V9, W(r.value), 1)) : O("", !0)
|
|
11563
11562
|
])
|
|
11564
11563
|
]),
|
|
11565
11564
|
footer: N(() => [
|
|
11566
|
-
f("div",
|
|
11567
|
-
f("div",
|
|
11568
|
-
f("ul",
|
|
11565
|
+
f("div", D9, [
|
|
11566
|
+
f("div", B9, [
|
|
11567
|
+
f("ul", j9, [
|
|
11569
11568
|
(p(!0), C(fe, null, _e(l.value, (b) => (p(), C(fe, {
|
|
11570
11569
|
key: b.id
|
|
11571
11570
|
}, [
|
|
11572
|
-
b ? (p(), C("li",
|
|
11571
|
+
b ? (p(), C("li", R9, [
|
|
11573
11572
|
M(Je, {
|
|
11574
11573
|
"user-name": Q(Kn)(b),
|
|
11575
11574
|
"avatar-url": b.avatarUrl,
|
|
@@ -11579,31 +11578,31 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
11579
11578
|
])) : O("", !0)
|
|
11580
11579
|
], 64))), 128))
|
|
11581
11580
|
]),
|
|
11582
|
-
m.comments || m.attachments ? (p(), C("ul",
|
|
11583
|
-
m.comments ? (p(), C("li",
|
|
11581
|
+
m.comments || m.attachments ? (p(), C("ul", N9, [
|
|
11582
|
+
m.comments ? (p(), C("li", U9, [
|
|
11584
11583
|
M(pe, {
|
|
11585
11584
|
name: "ChatOutline",
|
|
11586
11585
|
size: "sm"
|
|
11587
11586
|
}),
|
|
11588
|
-
f("span",
|
|
11587
|
+
f("span", F9, W(m.comments), 1)
|
|
11589
11588
|
])) : O("", !0),
|
|
11590
|
-
m.attachments ? (p(), C("li",
|
|
11589
|
+
m.attachments ? (p(), C("li", Z9, [
|
|
11591
11590
|
M(pe, {
|
|
11592
11591
|
name: "AttachFileRounded",
|
|
11593
11592
|
size: "sm"
|
|
11594
11593
|
}),
|
|
11595
|
-
f("span",
|
|
11594
|
+
f("span", W9, W(m.attachments), 1)
|
|
11596
11595
|
])) : O("", !0)
|
|
11597
11596
|
])) : O("", !0)
|
|
11598
11597
|
]),
|
|
11599
|
-
f("div",
|
|
11600
|
-
m.tasks && m.tasks.length ? (p(), C("div",
|
|
11601
|
-
f("div",
|
|
11598
|
+
f("div", z9, [
|
|
11599
|
+
m.tasks && m.tasks.length ? (p(), C("div", q9, [
|
|
11600
|
+
f("div", Y9, [
|
|
11602
11601
|
M(pe, {
|
|
11603
11602
|
name: "SelectCheckBox",
|
|
11604
11603
|
size: "sm"
|
|
11605
11604
|
}),
|
|
11606
|
-
f("span",
|
|
11605
|
+
f("span", x9, W(d.value) + " / " + W(u.value), 1)
|
|
11607
11606
|
]),
|
|
11608
11607
|
M(ls, {
|
|
11609
11608
|
percentages: v.value,
|
|
@@ -11617,10 +11616,10 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
|
|
|
11617
11616
|
}, 8, ["class"]));
|
|
11618
11617
|
}
|
|
11619
11618
|
});
|
|
11620
|
-
const
|
|
11619
|
+
const K9 = { class: "ao-project-milestone" }, G9 = { class: "ao-project-milestone__header" }, X9 = { class: "ao-project-milestone__header_line" }, Q9 = { class: "ao-project-milestone__header_line" }, J9 = { class: "ao-project-milestone__title" }, e4 = {
|
|
11621
11620
|
key: 0,
|
|
11622
11621
|
class: "ao-fieldset ao-milestone__fieldset"
|
|
11623
|
-
},
|
|
11622
|
+
}, t4 = { class: "ao-field__row ao-milestone__field-row" }, a4 = { class: "ao-field ao-field--inline" }, s4 = { class: "ao-field__row ao-milestone__field-row" }, n4 = { class: "ao-field ao-milestone__field-multiselect" }, i4 = ["onClick"], o4 = { class: "ao-project-milestone__body" }, l4 = {
|
|
11624
11623
|
key: 0,
|
|
11625
11624
|
class: "ao-project-milestone__footer"
|
|
11626
11625
|
}, In = /* @__PURE__ */ q({
|
|
@@ -11636,7 +11635,7 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11636
11635
|
},
|
|
11637
11636
|
emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
|
|
11638
11637
|
setup(t, { emit: e }) {
|
|
11639
|
-
const a = t, { t: s } =
|
|
11638
|
+
const a = t, { t: s } = yt(), n = A(() => {
|
|
11640
11639
|
var h;
|
|
11641
11640
|
return (h = a.phases) == null ? void 0 : h.find((_) => _.id === a.phaseId);
|
|
11642
11641
|
}), o = A(
|
|
@@ -11657,7 +11656,7 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11657
11656
|
const r = (h) => {
|
|
11658
11657
|
e("close", h);
|
|
11659
11658
|
}, c = () => {
|
|
11660
|
-
const { name: h, rank: _ } =
|
|
11659
|
+
const { name: h, rank: _ } = Mt(
|
|
11661
11660
|
l.value ?? [],
|
|
11662
11661
|
"activity",
|
|
11663
11662
|
s
|
|
@@ -11726,10 +11725,10 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11726
11725
|
}
|
|
11727
11726
|
});
|
|
11728
11727
|
return (h, _) => {
|
|
11729
|
-
var
|
|
11730
|
-
return p(), C("div",
|
|
11731
|
-
f("header",
|
|
11732
|
-
f("div",
|
|
11728
|
+
var P;
|
|
11729
|
+
return p(), C("div", K9, [
|
|
11730
|
+
f("header", G9, [
|
|
11731
|
+
f("div", X9, [
|
|
11733
11732
|
M(re, {
|
|
11734
11733
|
"icon-name": "CloseRounded",
|
|
11735
11734
|
variant: "ghost",
|
|
@@ -11738,10 +11737,10 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11738
11737
|
onClick: r
|
|
11739
11738
|
})
|
|
11740
11739
|
]),
|
|
11741
|
-
f("div",
|
|
11742
|
-
f("div",
|
|
11740
|
+
f("div", Q9, [
|
|
11741
|
+
f("div", J9, [
|
|
11743
11742
|
M(be, {
|
|
11744
|
-
title: ((
|
|
11743
|
+
title: ((P = i.value) == null ? void 0 : P.name) || h.milestoneId,
|
|
11745
11744
|
level: 5
|
|
11746
11745
|
}, null, 8, ["title"]),
|
|
11747
11746
|
M(As, {
|
|
@@ -11758,9 +11757,9 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11758
11757
|
}, null, 8, ["modelValue", "disabled", "label"])
|
|
11759
11758
|
])
|
|
11760
11759
|
]),
|
|
11761
|
-
i.value ? (p(), C("div",
|
|
11762
|
-
f("div",
|
|
11763
|
-
f("label",
|
|
11760
|
+
i.value ? (p(), C("div", e4, [
|
|
11761
|
+
f("div", t4, [
|
|
11762
|
+
f("label", a4, [
|
|
11764
11763
|
De(f("input", {
|
|
11765
11764
|
"onUpdate:modelValue": _[1] || (_[1] = (I) => m.value = I),
|
|
11766
11765
|
class: "ao-milestone__field ao-milestone__date-field",
|
|
@@ -11775,8 +11774,8 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11775
11774
|
])
|
|
11776
11775
|
])
|
|
11777
11776
|
]),
|
|
11778
|
-
f("div",
|
|
11779
|
-
f("label",
|
|
11777
|
+
f("div", s4, [
|
|
11778
|
+
f("label", n4, [
|
|
11780
11779
|
M(Se, {
|
|
11781
11780
|
modelValue: g.value,
|
|
11782
11781
|
"onUpdate:modelValue": _[2] || (_[2] = (I) => g.value = I),
|
|
@@ -11798,7 +11797,7 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11798
11797
|
"user-name": I.label,
|
|
11799
11798
|
"avatar-url": I.avatar,
|
|
11800
11799
|
"is-closable": !0,
|
|
11801
|
-
onClose: (
|
|
11800
|
+
onClose: (F) => L(I, F)
|
|
11802
11801
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
11803
11802
|
]),
|
|
11804
11803
|
_: 1
|
|
@@ -11811,17 +11810,17 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11811
11810
|
}, {
|
|
11812
11811
|
clickable: N(({ openPicker: I, bgColor: L }) => [
|
|
11813
11812
|
f("button", {
|
|
11814
|
-
style:
|
|
11813
|
+
style: pt({ background: L }),
|
|
11815
11814
|
class: "color-button",
|
|
11816
11815
|
onClick: I
|
|
11817
|
-
}, null, 12,
|
|
11816
|
+
}, null, 12, i4)
|
|
11818
11817
|
]),
|
|
11819
11818
|
_: 1
|
|
11820
11819
|
}, 8, ["color"])
|
|
11821
11820
|
])) : O("", !0)
|
|
11822
11821
|
]),
|
|
11823
|
-
f("div",
|
|
11824
|
-
M(Q(
|
|
11822
|
+
f("div", o4, [
|
|
11823
|
+
M(Q(gt), Ae({
|
|
11825
11824
|
class: "ao-project-milestone__activities",
|
|
11826
11825
|
list: l.value,
|
|
11827
11826
|
disabled: !h.isEditable,
|
|
@@ -11829,13 +11828,13 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11829
11828
|
group: "kanban"
|
|
11830
11829
|
}, h.$attrs, { onChange: d }), {
|
|
11831
11830
|
item: N(({ element: I }) => {
|
|
11832
|
-
var L,
|
|
11831
|
+
var L, F, z, K, J;
|
|
11833
11832
|
return [
|
|
11834
11833
|
M(gi, {
|
|
11835
11834
|
id: I.id,
|
|
11836
11835
|
name: I.name || I.id,
|
|
11837
11836
|
"phase-name": (L = n.value) == null ? void 0 : L.name,
|
|
11838
|
-
"milestone-name": (
|
|
11837
|
+
"milestone-name": (F = i.value) == null ? void 0 : F.name,
|
|
11839
11838
|
"milestone-color": (z = i.value) == null ? void 0 : z.color,
|
|
11840
11839
|
deadline: I.deadline,
|
|
11841
11840
|
important: I.important,
|
|
@@ -11891,8 +11890,8 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11891
11890
|
}),
|
|
11892
11891
|
_: 1
|
|
11893
11892
|
}, 16, ["list", "disabled"]),
|
|
11894
|
-
h.isEditable ? (p(), C("div",
|
|
11895
|
-
M(
|
|
11893
|
+
h.isEditable ? (p(), C("div", l4, [
|
|
11894
|
+
M(Ct, {
|
|
11896
11895
|
"icon-name": "Add",
|
|
11897
11896
|
label: h.$t("project.activity.add"),
|
|
11898
11897
|
onClick: c
|
|
@@ -11903,7 +11902,7 @@ const x9 = { class: "ao-project-milestone" }, K9 = { class: "ao-project-mileston
|
|
|
11903
11902
|
};
|
|
11904
11903
|
}
|
|
11905
11904
|
});
|
|
11906
|
-
const
|
|
11905
|
+
const r4 = /* @__PURE__ */ q({
|
|
11907
11906
|
__name: "AoProjectOverviewActivityDetails",
|
|
11908
11907
|
props: {
|
|
11909
11908
|
phaseId: {},
|
|
@@ -11983,21 +11982,21 @@ const l4 = /* @__PURE__ */ q({
|
|
|
11983
11982
|
onUpdateComment: w,
|
|
11984
11983
|
onRemoveComment: b
|
|
11985
11984
|
}, {
|
|
11986
|
-
default: N((
|
|
11987
|
-
te(g.$slots, "default", ha(ma(
|
|
11985
|
+
default: N((P) => [
|
|
11986
|
+
te(g.$slots, "default", ha(ma(P)))
|
|
11988
11987
|
]),
|
|
11989
11988
|
_: 3
|
|
11990
11989
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
|
|
11991
11990
|
};
|
|
11992
11991
|
}
|
|
11993
|
-
}),
|
|
11992
|
+
}), u4 = { class: "ao-col-header" }, c4 = /* @__PURE__ */ q({
|
|
11994
11993
|
__name: "AoColHeader",
|
|
11995
11994
|
props: {
|
|
11996
11995
|
title: {},
|
|
11997
11996
|
items: {}
|
|
11998
11997
|
},
|
|
11999
11998
|
setup(t) {
|
|
12000
|
-
return (e, a) => (p(), C("header",
|
|
11999
|
+
return (e, a) => (p(), C("header", u4, [
|
|
12001
12000
|
M(be, {
|
|
12002
12001
|
title: e.title,
|
|
12003
12002
|
class: "ao-col-header__title",
|
|
@@ -12013,17 +12012,17 @@ const l4 = /* @__PURE__ */ q({
|
|
|
12013
12012
|
]));
|
|
12014
12013
|
}
|
|
12015
12014
|
});
|
|
12016
|
-
function
|
|
12015
|
+
function d4(t) {
|
|
12017
12016
|
return Fi() ? (Zi(t), !0) : !1;
|
|
12018
12017
|
}
|
|
12019
12018
|
function za(t) {
|
|
12020
12019
|
return typeof t == "function" ? t() : Q(t);
|
|
12021
12020
|
}
|
|
12022
|
-
const
|
|
12021
|
+
const p4 = typeof window < "u" && typeof document < "u";
|
|
12023
12022
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12024
|
-
const
|
|
12023
|
+
const v4 = (t) => t != null, la = () => {
|
|
12025
12024
|
};
|
|
12026
|
-
function
|
|
12025
|
+
function f4(t, e) {
|
|
12027
12026
|
function a(...s) {
|
|
12028
12027
|
return new Promise((n, o) => {
|
|
12029
12028
|
Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
|
|
@@ -12031,7 +12030,7 @@ function v4(t, e) {
|
|
|
12031
12030
|
}
|
|
12032
12031
|
return a;
|
|
12033
12032
|
}
|
|
12034
|
-
function
|
|
12033
|
+
function h4(t, e = {}) {
|
|
12035
12034
|
let a, s, n = la;
|
|
12036
12035
|
const o = (l) => {
|
|
12037
12036
|
clearTimeout(l), n(), n = la;
|
|
@@ -12047,9 +12046,9 @@ function f4(t, e = {}) {
|
|
|
12047
12046
|
});
|
|
12048
12047
|
};
|
|
12049
12048
|
}
|
|
12050
|
-
function
|
|
12051
|
-
return
|
|
12052
|
-
|
|
12049
|
+
function m4(t, e = 200, a = {}) {
|
|
12050
|
+
return f4(
|
|
12051
|
+
h4(e, a),
|
|
12053
12052
|
t
|
|
12054
12053
|
);
|
|
12055
12054
|
}
|
|
@@ -12058,27 +12057,27 @@ function bs(t) {
|
|
|
12058
12057
|
const a = za(t);
|
|
12059
12058
|
return (e = a == null ? void 0 : a.$el) != null ? e : a;
|
|
12060
12059
|
}
|
|
12061
|
-
const
|
|
12062
|
-
function
|
|
12060
|
+
const g4 = p4 ? window : void 0;
|
|
12061
|
+
function C4() {
|
|
12063
12062
|
const t = x(!1), e = Lt();
|
|
12064
12063
|
return e && It(() => {
|
|
12065
12064
|
t.value = !0;
|
|
12066
12065
|
}, e), t;
|
|
12067
12066
|
}
|
|
12068
|
-
function
|
|
12069
|
-
const e =
|
|
12067
|
+
function _4(t) {
|
|
12068
|
+
const e = C4();
|
|
12070
12069
|
return A(() => (e.value, !!t()));
|
|
12071
12070
|
}
|
|
12072
|
-
function
|
|
12071
|
+
function y4(t, e, a = {}) {
|
|
12073
12072
|
const {
|
|
12074
12073
|
root: s,
|
|
12075
12074
|
rootMargin: n = "0px",
|
|
12076
12075
|
threshold: o = 0.1,
|
|
12077
|
-
window: i =
|
|
12076
|
+
window: i = g4,
|
|
12078
12077
|
immediate: l = !0
|
|
12079
|
-
} = a, r =
|
|
12078
|
+
} = a, r = _4(() => i && "IntersectionObserver" in i), c = A(() => {
|
|
12080
12079
|
const w = za(t);
|
|
12081
|
-
return (Array.isArray(w) ? w : [w]).map(bs).filter(
|
|
12080
|
+
return (Array.isArray(w) ? w : [w]).map(bs).filter(v4);
|
|
12082
12081
|
});
|
|
12083
12082
|
let u = la;
|
|
12084
12083
|
const d = x(l), v = r.value ? ce(
|
|
@@ -12102,7 +12101,7 @@ function _4(t, e, a = {}) {
|
|
|
12102
12101
|
) : la, m = () => {
|
|
12103
12102
|
u(), v(), d.value = !1;
|
|
12104
12103
|
};
|
|
12105
|
-
return
|
|
12104
|
+
return d4(m), {
|
|
12106
12105
|
isSupported: r,
|
|
12107
12106
|
isActive: d,
|
|
12108
12107
|
pause() {
|
|
@@ -12114,24 +12113,24 @@ function _4(t, e, a = {}) {
|
|
|
12114
12113
|
stop: m
|
|
12115
12114
|
};
|
|
12116
12115
|
}
|
|
12117
|
-
const
|
|
12116
|
+
const b4 = {
|
|
12118
12117
|
class: /* @__PURE__ */ X(["ao-list-kanban"])
|
|
12119
|
-
},
|
|
12118
|
+
}, w4 = { class: "ao-list-kanban__header" }, $4 = {
|
|
12120
12119
|
key: 0,
|
|
12121
12120
|
class: "ao-list-kanban__end ao-list-kanban__end--loading"
|
|
12122
|
-
},
|
|
12121
|
+
}, k4 = {
|
|
12123
12122
|
key: 1,
|
|
12124
12123
|
class: "ao-list-kanban__end"
|
|
12125
|
-
},
|
|
12124
|
+
}, S4 = {
|
|
12126
12125
|
key: 0,
|
|
12127
12126
|
class: "ao-list-kanban__no-more"
|
|
12128
|
-
},
|
|
12127
|
+
}, A4 = {
|
|
12129
12128
|
key: 1,
|
|
12130
12129
|
class: "ao-list-kanban__divider"
|
|
12131
|
-
},
|
|
12130
|
+
}, M4 = {
|
|
12132
12131
|
key: 1,
|
|
12133
12132
|
class: "ao-list-kanban__footer"
|
|
12134
|
-
},
|
|
12133
|
+
}, T4 = /* @__PURE__ */ q({
|
|
12135
12134
|
__name: "AoListKanban",
|
|
12136
12135
|
props: {
|
|
12137
12136
|
list: {},
|
|
@@ -12149,7 +12148,7 @@ const y4 = {
|
|
|
12149
12148
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
|
|
12150
12149
|
setup(t, { emit: e }) {
|
|
12151
12150
|
const a = t, s = x(!1), n = x(null);
|
|
12152
|
-
|
|
12151
|
+
y4(n, ([{ isIntersecting: u }]) => {
|
|
12153
12152
|
s.value = u;
|
|
12154
12153
|
}), ce(s, (u) => {
|
|
12155
12154
|
u && a.hasMore && !a.isLoading && e("loadMore");
|
|
@@ -12174,12 +12173,12 @@ const y4 = {
|
|
|
12174
12173
|
)
|
|
12175
12174
|
});
|
|
12176
12175
|
}, c = x(!1);
|
|
12177
|
-
return (u, d) => (p(), C("div",
|
|
12176
|
+
return (u, d) => (p(), C("div", b4, [
|
|
12178
12177
|
u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
|
|
12179
12178
|
var v;
|
|
12180
12179
|
return [
|
|
12181
|
-
f("div",
|
|
12182
|
-
u.title ? (p(), D(
|
|
12180
|
+
f("div", w4, [
|
|
12181
|
+
u.title ? (p(), D(c4, {
|
|
12183
12182
|
key: 0,
|
|
12184
12183
|
title: u.title,
|
|
12185
12184
|
level: 3,
|
|
@@ -12188,7 +12187,7 @@ const y4 = {
|
|
|
12188
12187
|
])
|
|
12189
12188
|
];
|
|
12190
12189
|
}) : O("", !0),
|
|
12191
|
-
M(Q(
|
|
12190
|
+
M(Q(gt), Ae({
|
|
12192
12191
|
class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
|
|
12193
12192
|
list: u.list,
|
|
12194
12193
|
"item-key": "id",
|
|
@@ -12207,7 +12206,7 @@ const y4 = {
|
|
|
12207
12206
|
}
|
|
12208
12207
|
}), {
|
|
12209
12208
|
item: N(({ element: v }) => {
|
|
12210
|
-
var m, w, b, g, $, h, _,
|
|
12209
|
+
var m, w, b, g, $, h, _, P, I;
|
|
12211
12210
|
return [
|
|
12212
12211
|
M(gi, {
|
|
12213
12212
|
class: X(o(v) ? "ao-list-draggable" : ""),
|
|
@@ -12224,7 +12223,7 @@ const y4 = {
|
|
|
12224
12223
|
description: v.description,
|
|
12225
12224
|
important: v.important,
|
|
12226
12225
|
type: v.type,
|
|
12227
|
-
comments: (
|
|
12226
|
+
comments: (P = v.comments) == null ? void 0 : P.length,
|
|
12228
12227
|
attachments: (I = v.attachments) == null ? void 0 : I.length,
|
|
12229
12228
|
users: u.users,
|
|
12230
12229
|
assignee: v.assignee,
|
|
@@ -12265,22 +12264,22 @@ const y4 = {
|
|
|
12265
12264
|
];
|
|
12266
12265
|
}),
|
|
12267
12266
|
footer: N(() => [
|
|
12268
|
-
u.isLoading ? (p(), C("div",
|
|
12267
|
+
u.isLoading ? (p(), C("div", $4, [
|
|
12269
12268
|
M(pe, { name: "Loading" })
|
|
12270
12269
|
])) : u.hasMore ? (p(), C("div", {
|
|
12271
12270
|
key: 2,
|
|
12272
12271
|
ref_key: "scrollEnd",
|
|
12273
12272
|
ref: n,
|
|
12274
12273
|
class: "ao-list-kanban__end"
|
|
12275
|
-
}, null, 512)) : (p(), C("div",
|
|
12276
|
-
u.noMoreLabel ? (p(), C("span",
|
|
12274
|
+
}, null, 512)) : (p(), C("div", k4, [
|
|
12275
|
+
u.noMoreLabel ? (p(), C("span", S4, W(u.noMoreLabel), 1)) : u.isEditable ? (p(), C("span", A4)) : O("", !0)
|
|
12277
12276
|
]))
|
|
12278
12277
|
]),
|
|
12279
12278
|
_: 1
|
|
12280
12279
|
}, 16, ["class", "list", "disabled"]),
|
|
12281
|
-
u.$slots.footer || u.footerLabel ? (p(), C("div",
|
|
12280
|
+
u.$slots.footer || u.footerLabel ? (p(), C("div", M4, [
|
|
12282
12281
|
te(u.$slots, "footer", {}, () => [
|
|
12283
|
-
u.isEditable ? (p(), D(
|
|
12282
|
+
u.isEditable ? (p(), D(Ct, {
|
|
12284
12283
|
key: 0,
|
|
12285
12284
|
"icon-name": "AddBoxOutlineRounded",
|
|
12286
12285
|
label: u.footerLabel,
|
|
@@ -12291,7 +12290,7 @@ const y4 = {
|
|
|
12291
12290
|
]));
|
|
12292
12291
|
}
|
|
12293
12292
|
});
|
|
12294
|
-
const
|
|
12293
|
+
const O4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder", "onKeypress"], I4 = /* @__PURE__ */ q({
|
|
12295
12294
|
__name: "AoSearchField",
|
|
12296
12295
|
props: {
|
|
12297
12296
|
modelValue: {},
|
|
@@ -12303,10 +12302,10 @@ const T4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
|
|
|
12303
12302
|
const a = t, s = async (i) => {
|
|
12304
12303
|
const r = i.target.value;
|
|
12305
12304
|
e("update:modelValue", r, i);
|
|
12306
|
-
}, n =
|
|
12305
|
+
}, n = m4(s, a.delay), o = (i) => {
|
|
12307
12306
|
e("clear", i);
|
|
12308
12307
|
};
|
|
12309
|
-
return (i, l) => (p(), C("div",
|
|
12308
|
+
return (i, l) => (p(), C("div", O4, [
|
|
12310
12309
|
f("input", {
|
|
12311
12310
|
value: i.modelValue,
|
|
12312
12311
|
type: "text",
|
|
@@ -12315,7 +12314,7 @@ const T4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
|
|
|
12315
12314
|
onInput: l[0] || (l[0] = //@ts-ignore
|
|
12316
12315
|
(...r) => Q(n) && Q(n)(...r)),
|
|
12317
12316
|
onKeypress: dt(s, ["enter"])
|
|
12318
|
-
}, null, 40,
|
|
12317
|
+
}, null, 40, E4),
|
|
12319
12318
|
M(pe, {
|
|
12320
12319
|
name: "SearchRounded",
|
|
12321
12320
|
class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
|
|
@@ -12331,7 +12330,7 @@ const T4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
|
|
|
12331
12330
|
]));
|
|
12332
12331
|
}
|
|
12333
12332
|
});
|
|
12334
|
-
const
|
|
12333
|
+
const L4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, H4 = { class: "ao-feed__body" }, V4 = /* @__PURE__ */ q({
|
|
12335
12334
|
__name: "AoFeed",
|
|
12336
12335
|
props: {
|
|
12337
12336
|
activities: {},
|
|
@@ -12355,7 +12354,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12355
12354
|
},
|
|
12356
12355
|
emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
12357
12356
|
setup(t, { emit: e }) {
|
|
12358
|
-
const a = t, { t: s } =
|
|
12357
|
+
const a = t, { t: s } = yt();
|
|
12359
12358
|
function n(k, R) {
|
|
12360
12359
|
e("toast", k, R);
|
|
12361
12360
|
}
|
|
@@ -12365,16 +12364,16 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12365
12364
|
ce(
|
|
12366
12365
|
[() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
|
|
12367
12366
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12368
|
-
async ([k, R, y,
|
|
12367
|
+
async ([k, R, y, V], [oe, ne]) => {
|
|
12369
12368
|
l.value = Object.fromEntries(
|
|
12370
12369
|
k.map((Z) => [
|
|
12371
12370
|
Z.id,
|
|
12372
|
-
R.filter((
|
|
12371
|
+
R.filter((H) => {
|
|
12373
12372
|
var Y;
|
|
12374
|
-
return ((Y =
|
|
12373
|
+
return ((Y = H.status) == null ? void 0 : Y.id) === Z.id;
|
|
12375
12374
|
})
|
|
12376
12375
|
])
|
|
12377
|
-
), y && !r.value ? (i(y, null), r.value = !0) :
|
|
12376
|
+
), y && !r.value ? (i(y, null), r.value = !0) : V && !r.value && (i(null, V), r.value = !0), c.value && Xe(R, ne);
|
|
12378
12377
|
},
|
|
12379
12378
|
{ immediate: !0 }
|
|
12380
12379
|
);
|
|
@@ -12383,8 +12382,8 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12383
12382
|
return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((k = a.selectedActivity.milestone.phase) == null ? void 0 : k.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
|
|
12384
12383
|
}), v = (k) => {
|
|
12385
12384
|
var ne, Z;
|
|
12386
|
-
const R = (ne = a.activities) == null ? void 0 : ne.at(-1), y = R ? we.LexoRank.parse(R.rank).genNext() : we.LexoRank.middle(),
|
|
12387
|
-
name: s("activity.defaultName", { idx:
|
|
12385
|
+
const R = (ne = a.activities) == null ? void 0 : ne.at(-1), y = R ? we.LexoRank.parse(R.rank).genNext() : we.LexoRank.middle(), V = ((Z = a.activities) == null ? void 0 : Z.length) ?? 0, oe = {
|
|
12386
|
+
name: s("activity.defaultName", { idx: V + 1 }),
|
|
12388
12387
|
rank: y.format(),
|
|
12389
12388
|
statusId: k.id
|
|
12390
12389
|
};
|
|
@@ -12410,13 +12409,13 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12410
12409
|
a.selectedActivity && e("update:activity", k);
|
|
12411
12410
|
}, _ = (k) => {
|
|
12412
12411
|
e("update:activity", k);
|
|
12413
|
-
},
|
|
12412
|
+
}, P = (k) => {
|
|
12414
12413
|
e("archiveActivity", k);
|
|
12415
12414
|
}, I = (k) => {
|
|
12416
12415
|
e("unarchiveActivity", k);
|
|
12417
12416
|
}, L = (k) => {
|
|
12418
12417
|
c.value = !1, e("update:searchText", k);
|
|
12419
|
-
},
|
|
12418
|
+
}, F = (k) => {
|
|
12420
12419
|
c.value = !1, e("clear:searchText", k);
|
|
12421
12420
|
}, z = (k) => {
|
|
12422
12421
|
a.selectedActivity && e("addSubtask", k);
|
|
@@ -12448,21 +12447,21 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12448
12447
|
k === "feed" ? (ee.push({ name: ye.feed }), console.log("Navigating to feed...")) : k === "overview" ? (ee.push({ name: ye.project }), console.log("Navigating to feed...")) : k === "mapping" && (ee.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12449
12448
|
}), (k, R) => {
|
|
12450
12449
|
var y;
|
|
12451
|
-
return p(), C("div",
|
|
12450
|
+
return p(), C("div", L4, [
|
|
12452
12451
|
M(ba, null, {
|
|
12453
12452
|
primary: N(() => [
|
|
12454
|
-
f("div",
|
|
12453
|
+
f("div", P4, [
|
|
12455
12454
|
M(an, {
|
|
12456
12455
|
tabs: T,
|
|
12457
12456
|
modelValue: E.value,
|
|
12458
|
-
"onUpdate:modelValue": R[0] || (R[0] = (
|
|
12457
|
+
"onUpdate:modelValue": R[0] || (R[0] = (V) => E.value = V)
|
|
12459
12458
|
}, null, 8, ["modelValue"]),
|
|
12460
|
-
M(
|
|
12459
|
+
M(I4, {
|
|
12461
12460
|
"model-value": k.searchText,
|
|
12462
12461
|
placeholder: k.$t("feed.search.placeholder"),
|
|
12463
12462
|
class: "ao-feed__search",
|
|
12464
12463
|
"onUpdate:modelValue": L,
|
|
12465
|
-
onClear:
|
|
12464
|
+
onClear: F
|
|
12466
12465
|
}, null, 8, ["model-value", "placeholder"]),
|
|
12467
12466
|
a.project ? O("", !0) : (p(), D(Se, {
|
|
12468
12467
|
key: 0,
|
|
@@ -12473,7 +12472,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12473
12472
|
searchable: !0,
|
|
12474
12473
|
class: "ao-feed__filter ao-feed__filter__projects",
|
|
12475
12474
|
placeholder: k.$t("feed.filters.project.placeholder"),
|
|
12476
|
-
"onUpdate:modelValue": R[1] || (R[1] = (
|
|
12475
|
+
"onUpdate:modelValue": R[1] || (R[1] = (V) => m(Q(Dt).project, V))
|
|
12477
12476
|
}, null, 8, ["model-value", "options", "placeholder"])),
|
|
12478
12477
|
g.value ? (p(), D(Se, {
|
|
12479
12478
|
key: 1,
|
|
@@ -12484,7 +12483,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12484
12483
|
searchable: !0,
|
|
12485
12484
|
class: "ao-feed__filter ao-feed__filter__types",
|
|
12486
12485
|
placeholder: k.$t("feed.filters.activityType.placeholder"),
|
|
12487
|
-
"onUpdate:modelValue": R[2] || (R[2] = (
|
|
12486
|
+
"onUpdate:modelValue": R[2] || (R[2] = (V) => m(Q(Dt).type, V))
|
|
12488
12487
|
}, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
|
|
12489
12488
|
$.value.length ? (p(), D(Se, {
|
|
12490
12489
|
key: 2,
|
|
@@ -12495,17 +12494,17 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12495
12494
|
searchable: !0,
|
|
12496
12495
|
class: "ao-feed__filter ao-feed__filter__assignees",
|
|
12497
12496
|
placeholder: k.$t("feed.filters.assignee.placeholder"),
|
|
12498
|
-
"onUpdate:modelValue": R[3] || (R[3] = (
|
|
12497
|
+
"onUpdate:modelValue": R[3] || (R[3] = (V) => m(Q(Dt).assignee, V))
|
|
12499
12498
|
}, {
|
|
12500
12499
|
tag: N(({
|
|
12501
|
-
option:
|
|
12500
|
+
option: V,
|
|
12502
12501
|
handleTagRemove: oe
|
|
12503
12502
|
}) => [
|
|
12504
12503
|
M(Je, {
|
|
12505
|
-
"user-name":
|
|
12506
|
-
"avatar-url":
|
|
12504
|
+
"user-name": V.label,
|
|
12505
|
+
"avatar-url": V.avatar,
|
|
12507
12506
|
"is-closable": !0,
|
|
12508
|
-
onClose: (ne) => oe(
|
|
12507
|
+
onClose: (ne) => oe(V, ne)
|
|
12509
12508
|
}, null, 8, ["user-name", "avatar-url", "onClose"])
|
|
12510
12509
|
]),
|
|
12511
12510
|
_: 1
|
|
@@ -12521,7 +12520,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12521
12520
|
label: k.$t("feed.filters.showsOnlyNonAssigned.label"),
|
|
12522
12521
|
role: "checkbox",
|
|
12523
12522
|
"aria-checked": k.showsOnlyNonAssigned,
|
|
12524
|
-
onClick: R[4] || (R[4] = (
|
|
12523
|
+
onClick: R[4] || (R[4] = (V) => k.$emit("update:showsOnlyNonAssigned", !k.showsOnlyNonAssigned))
|
|
12525
12524
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12526
12525
|
M(re, {
|
|
12527
12526
|
class: "ao-feed__only-important",
|
|
@@ -12533,7 +12532,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12533
12532
|
label: k.$t("feed.filters.showsOnlyImportant.label"),
|
|
12534
12533
|
role: "checkbox",
|
|
12535
12534
|
"aria-checked": k.showsOnlyImportant,
|
|
12536
|
-
onClick: R[5] || (R[5] = (
|
|
12535
|
+
onClick: R[5] || (R[5] = (V) => k.$emit("update:showsOnlyImportant", !k.showsOnlyImportant))
|
|
12537
12536
|
}, null, 8, ["icon-name", "label", "aria-checked"]),
|
|
12538
12537
|
M(re, {
|
|
12539
12538
|
class: "ao-feed__show-archived",
|
|
@@ -12545,25 +12544,25 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12545
12544
|
label: k.$t("feed.filters.showsArchivedActivities.label"),
|
|
12546
12545
|
role: "checkbox",
|
|
12547
12546
|
"aria-checked": k.showsArchivedActivities,
|
|
12548
|
-
onClick: R[6] || (R[6] = (
|
|
12547
|
+
onClick: R[6] || (R[6] = (V) => k.$emit("update:showsArchivedActivities", !k.showsArchivedActivities))
|
|
12549
12548
|
}, null, 8, ["icon-name", "label", "aria-checked"])
|
|
12550
12549
|
]),
|
|
12551
12550
|
_: 1
|
|
12552
12551
|
}),
|
|
12553
|
-
f("div",
|
|
12554
|
-
(p(!0), C(fe, null, _e(k.statuses, (
|
|
12555
|
-
key:
|
|
12556
|
-
status:
|
|
12557
|
-
list: l.value[
|
|
12558
|
-
title:
|
|
12552
|
+
f("div", H4, [
|
|
12553
|
+
(p(!0), C(fe, null, _e(k.statuses, (V) => (p(), D(T4, {
|
|
12554
|
+
key: V.id,
|
|
12555
|
+
status: V,
|
|
12556
|
+
list: l.value[V.id],
|
|
12557
|
+
title: V.name,
|
|
12559
12558
|
"footer-label": k.$t("feed.activity.add"),
|
|
12560
12559
|
users: k.users,
|
|
12561
12560
|
"user-id": k.userId,
|
|
12562
12561
|
"is-editable": k.isEditable,
|
|
12563
12562
|
tagType: u.value,
|
|
12564
|
-
onAdd: () => v(
|
|
12563
|
+
onAdd: () => v(V),
|
|
12565
12564
|
onSelectActivity: i,
|
|
12566
|
-
onArchiveActivity:
|
|
12565
|
+
onArchiveActivity: P,
|
|
12567
12566
|
onUnarchiveActivity: I,
|
|
12568
12567
|
onUpdateActivity: _
|
|
12569
12568
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
|
|
@@ -12595,8 +12594,8 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12595
12594
|
onRemoveComment: se,
|
|
12596
12595
|
onToast: n
|
|
12597
12596
|
}, {
|
|
12598
|
-
default: N((
|
|
12599
|
-
te(k.$slots, "activityDetailsBody", ha(ma(
|
|
12597
|
+
default: N((V) => [
|
|
12598
|
+
te(k.$slots, "activityDetailsBody", ha(ma(V)))
|
|
12600
12599
|
]),
|
|
12601
12600
|
_: 3
|
|
12602
12601
|
}, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : O("", !0)
|
|
@@ -12605,10 +12604,10 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
|
|
|
12605
12604
|
};
|
|
12606
12605
|
}
|
|
12607
12606
|
});
|
|
12608
|
-
const
|
|
12607
|
+
const D4 = { class: "ao-project-mapping" }, B4 = { class: "ao-project-mapping-mapping__body" }, j4 = { class: "ao-project-mapping-mapping__phases" }, R4 = {
|
|
12609
12608
|
key: 0,
|
|
12610
12609
|
class: "ao-project-mapping-mapping__image-wrapper"
|
|
12611
|
-
},
|
|
12610
|
+
}, N4 = ["src", "alt"], U4 = /* @__PURE__ */ q({
|
|
12612
12611
|
__name: "AoMapping",
|
|
12613
12612
|
props: {
|
|
12614
12613
|
project: {},
|
|
@@ -12626,8 +12625,8 @@ const V4 = { class: "ao-project-mapping" }, D4 = { class: "ao-project-mapping-ma
|
|
|
12626
12625
|
},
|
|
12627
12626
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
12628
12627
|
setup(t, { emit: e }) {
|
|
12629
|
-
const a = t, { t: s } =
|
|
12630
|
-
const { name: g, rank: $ } =
|
|
12628
|
+
const a = t, { t: s } = yt(), n = () => {
|
|
12629
|
+
const { name: g, rank: $ } = Mt(a.phases, "phase", s);
|
|
12631
12630
|
e("addPhase", { name: g, rank: $, projectId: a.project.id });
|
|
12632
12631
|
}, o = (g) => {
|
|
12633
12632
|
e("updatePhase", g);
|
|
@@ -12640,8 +12639,8 @@ const V4 = { class: "ao-project-mapping" }, D4 = { class: "ao-project-mapping-ma
|
|
|
12640
12639
|
}, c = x(!1), u = x(!1), d = (g, $) => {
|
|
12641
12640
|
e("applyTemplate", { templateId: g, projectId: $ }), c.value = !1;
|
|
12642
12641
|
}, v = (g, $) => {
|
|
12643
|
-
var
|
|
12644
|
-
const h = (
|
|
12642
|
+
var P;
|
|
12643
|
+
const h = (P = a.templates) == null ? void 0 : P.at(-1), _ = h ? we.LexoRank.parse(h.rank).genNext() : we.LexoRank.middle();
|
|
12645
12644
|
e("saveTemplate", { templateName: g, rank: _.format(), phaseIds: $ }), u.value = !1;
|
|
12646
12645
|
}, m = Es(), w = x("mapping"), b = [
|
|
12647
12646
|
{ label: "Overview", value: "overview" },
|
|
@@ -12652,7 +12651,7 @@ const V4 = { class: "ao-project-mapping" }, D4 = { class: "ao-project-mapping-ma
|
|
|
12652
12651
|
g === "feed" ? (m.push({ name: ye.feed }), console.log("Navigating to feed...")) : g === "overview" ? (m.push({ name: ye.project }), console.log("Navigating to feed...")) : g === "mapping" && (m.push({ name: ye.mapping }), console.log("Navigating to feed..."));
|
|
12653
12652
|
}), (g, $) => (p(), C(fe, null, [
|
|
12654
12653
|
f("div", Ae({ class: "ao-project-mapping-overview" }, g.$attrs), [
|
|
12655
|
-
f("div",
|
|
12654
|
+
f("div", D4, [
|
|
12656
12655
|
M(ba, null, {
|
|
12657
12656
|
primary: N(() => [
|
|
12658
12657
|
M(an, {
|
|
@@ -12691,8 +12690,8 @@ const V4 = { class: "ao-project-mapping" }, D4 = { class: "ao-project-mapping-ma
|
|
|
12691
12690
|
]),
|
|
12692
12691
|
_: 1
|
|
12693
12692
|
}),
|
|
12694
|
-
f("div",
|
|
12695
|
-
f("div",
|
|
12693
|
+
f("div", B4, [
|
|
12694
|
+
f("div", j4, [
|
|
12696
12695
|
M(fi, {
|
|
12697
12696
|
phases: g.phases,
|
|
12698
12697
|
"closed-status": g.closedStatus,
|
|
@@ -12705,12 +12704,12 @@ const V4 = { class: "ao-project-mapping" }, D4 = { class: "ao-project-mapping-ma
|
|
|
12705
12704
|
onCopyPhaseToTemplate: r
|
|
12706
12705
|
}, null, 8, ["phases", "closed-status", "is-editable", "users"])
|
|
12707
12706
|
]),
|
|
12708
|
-
g.project.architectureImage ? (p(), C("div",
|
|
12707
|
+
g.project.architectureImage ? (p(), C("div", R4, [
|
|
12709
12708
|
f("img", {
|
|
12710
12709
|
class: "architecture-image",
|
|
12711
12710
|
src: g.project.architectureImage.url,
|
|
12712
12711
|
alt: Q(s)("architectureImage.alt")
|
|
12713
|
-
}, null, 8,
|
|
12712
|
+
}, null, 8, N4)
|
|
12714
12713
|
])) : O("", !0)
|
|
12715
12714
|
])
|
|
12716
12715
|
])
|
|
@@ -12737,7 +12736,7 @@ const jt = {
|
|
|
12737
12736
|
TEMPLATES: "templates",
|
|
12738
12737
|
TEMPLATE_DETAILS: "template_details",
|
|
12739
12738
|
TEMPLATES_LIST: "templates_list"
|
|
12740
|
-
},
|
|
12739
|
+
}, n8 = (t, e = {}) => [
|
|
12741
12740
|
{
|
|
12742
12741
|
path: t,
|
|
12743
12742
|
name: jt.TEMPLATES,
|
|
@@ -12747,7 +12746,7 @@ const jt = {
|
|
|
12747
12746
|
{
|
|
12748
12747
|
path: "",
|
|
12749
12748
|
name: jt.TEMPLATES_LIST,
|
|
12750
|
-
component:
|
|
12749
|
+
component: Z4
|
|
12751
12750
|
},
|
|
12752
12751
|
{
|
|
12753
12752
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
@@ -12763,7 +12762,7 @@ const jt = {
|
|
|
12763
12762
|
mapping: "AoProjectMapping",
|
|
12764
12763
|
milestone: "AoMilestone",
|
|
12765
12764
|
activity: "AoActivity"
|
|
12766
|
-
},
|
|
12765
|
+
}, i8 = (t, e = {}) => [
|
|
12767
12766
|
{
|
|
12768
12767
|
path: t,
|
|
12769
12768
|
...e,
|
|
@@ -12772,7 +12771,7 @@ const jt = {
|
|
|
12772
12771
|
{
|
|
12773
12772
|
path: "",
|
|
12774
12773
|
name: ye.project,
|
|
12775
|
-
component:
|
|
12774
|
+
component: A9,
|
|
12776
12775
|
props: !0,
|
|
12777
12776
|
children: [
|
|
12778
12777
|
{
|
|
@@ -12787,7 +12786,7 @@ const jt = {
|
|
|
12787
12786
|
props: { default: !0, modal: !0 },
|
|
12788
12787
|
components: {
|
|
12789
12788
|
default: In,
|
|
12790
|
-
modal:
|
|
12789
|
+
modal: r4
|
|
12791
12790
|
}
|
|
12792
12791
|
}
|
|
12793
12792
|
]
|
|
@@ -12795,25 +12794,25 @@ const jt = {
|
|
|
12795
12794
|
{
|
|
12796
12795
|
path: "feed",
|
|
12797
12796
|
name: ye.feed,
|
|
12798
|
-
component:
|
|
12797
|
+
component: V4,
|
|
12799
12798
|
props: !0
|
|
12800
12799
|
},
|
|
12801
12800
|
{
|
|
12802
12801
|
path: "mapping",
|
|
12803
12802
|
name: ye.mapping,
|
|
12804
|
-
component:
|
|
12803
|
+
component: U4,
|
|
12805
12804
|
props: !0
|
|
12806
12805
|
}
|
|
12807
12806
|
]
|
|
12808
12807
|
}
|
|
12809
|
-
],
|
|
12808
|
+
], F4 = { class: "ao-templates" }, Z4 = /* @__PURE__ */ q({
|
|
12810
12809
|
__name: "AoTemplatesList",
|
|
12811
12810
|
props: {
|
|
12812
12811
|
templates: {}
|
|
12813
12812
|
},
|
|
12814
12813
|
emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
|
|
12815
12814
|
setup(t, { emit: e }) {
|
|
12816
|
-
const a = t, { t: s } =
|
|
12815
|
+
const a = t, { t: s } = yt();
|
|
12817
12816
|
ce(() => a.templates, (r, c) => {
|
|
12818
12817
|
Xe(r, c);
|
|
12819
12818
|
});
|
|
@@ -12855,7 +12854,7 @@ const jt = {
|
|
|
12855
12854
|
});
|
|
12856
12855
|
}
|
|
12857
12856
|
};
|
|
12858
|
-
return (r, c) => (p(), C("div",
|
|
12857
|
+
return (r, c) => (p(), C("div", F4, [
|
|
12859
12858
|
M(ba, null, {
|
|
12860
12859
|
secondary: N(() => [
|
|
12861
12860
|
M(re, {
|
|
@@ -12868,7 +12867,7 @@ const jt = {
|
|
|
12868
12867
|
]),
|
|
12869
12868
|
_: 1
|
|
12870
12869
|
}),
|
|
12871
|
-
M(Q(
|
|
12870
|
+
M(Q(gt), {
|
|
12872
12871
|
"model-value": r.templates,
|
|
12873
12872
|
class: "ao-templates__list",
|
|
12874
12873
|
"item-key": "id",
|
|
@@ -12900,7 +12899,7 @@ const jt = {
|
|
|
12900
12899
|
]));
|
|
12901
12900
|
}
|
|
12902
12901
|
});
|
|
12903
|
-
const
|
|
12902
|
+
const W4 = { class: "ao-field__label" }, z4 = /* @__PURE__ */ q({
|
|
12904
12903
|
__name: "AoField",
|
|
12905
12904
|
props: {
|
|
12906
12905
|
label: {},
|
|
@@ -12910,11 +12909,11 @@ const Z4 = { class: "ao-field__label" }, W4 = /* @__PURE__ */ q({
|
|
|
12910
12909
|
return (e, a) => (p(), C("label", {
|
|
12911
12910
|
class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
|
|
12912
12911
|
}, [
|
|
12913
|
-
f("span",
|
|
12912
|
+
f("span", W4, W(e.label), 1),
|
|
12914
12913
|
te(e.$slots, "default")
|
|
12915
12914
|
], 2));
|
|
12916
12915
|
}
|
|
12917
|
-
}),
|
|
12916
|
+
}), q4 = ["type", "value", "disabled", "readonly"], o8 = /* @__PURE__ */ q({
|
|
12918
12917
|
__name: "AoInputField",
|
|
12919
12918
|
props: {
|
|
12920
12919
|
label: { default: "" },
|
|
@@ -12931,7 +12930,7 @@ const Z4 = { class: "ao-field__label" }, W4 = /* @__PURE__ */ q({
|
|
|
12931
12930
|
), n = (o) => {
|
|
12932
12931
|
a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
|
|
12933
12932
|
};
|
|
12934
|
-
return (o, i) => (p(), D(
|
|
12933
|
+
return (o, i) => (p(), D(z4, { label: o.label }, {
|
|
12935
12934
|
default: N(() => [
|
|
12936
12935
|
f("input", Ae({
|
|
12937
12936
|
class: "ao-field__input",
|
|
@@ -12941,12 +12940,12 @@ const Z4 = { class: "ao-field__label" }, W4 = /* @__PURE__ */ q({
|
|
|
12941
12940
|
readonly: o.isReadonly
|
|
12942
12941
|
}, {
|
|
12943
12942
|
[Wi(s.value)]: i[0] || (i[0] = (l) => n(l.target.value))
|
|
12944
|
-
}), null, 16,
|
|
12943
|
+
}), null, 16, q4)
|
|
12945
12944
|
]),
|
|
12946
12945
|
_: 1
|
|
12947
12946
|
}, 8, ["label"]));
|
|
12948
12947
|
}
|
|
12949
|
-
}),
|
|
12948
|
+
}), Y4 = { class: "ao-field" }, x4 = { class: "ao-field__label" }, K4 = ["checked", "disabled"], l8 = /* @__PURE__ */ q({
|
|
12950
12949
|
__name: "AoCheckboxField",
|
|
12951
12950
|
props: {
|
|
12952
12951
|
label: { default: "" },
|
|
@@ -12956,8 +12955,8 @@ const Z4 = { class: "ao-field__label" }, W4 = /* @__PURE__ */ q({
|
|
|
12956
12955
|
},
|
|
12957
12956
|
emits: ["update:modelValue"],
|
|
12958
12957
|
setup(t) {
|
|
12959
|
-
return (e, a) => (p(), C("label",
|
|
12960
|
-
f("span",
|
|
12958
|
+
return (e, a) => (p(), C("label", Y4, [
|
|
12959
|
+
f("span", x4, W(e.label), 1),
|
|
12961
12960
|
f("input", {
|
|
12962
12961
|
class: "ao-field__input",
|
|
12963
12962
|
type: "checkbox",
|
|
@@ -12970,29 +12969,29 @@ const Z4 = { class: "ao-field__label" }, W4 = /* @__PURE__ */ q({
|
|
|
12970
12969
|
((n = s.target) == null ? void 0 : n.checked) ?? !1
|
|
12971
12970
|
);
|
|
12972
12971
|
})
|
|
12973
|
-
}, null, 40,
|
|
12972
|
+
}, null, 40, K4)
|
|
12974
12973
|
]));
|
|
12975
12974
|
}
|
|
12976
12975
|
});
|
|
12977
12976
|
export {
|
|
12978
12977
|
Je as AoAvatar,
|
|
12979
12978
|
gi as AoCardFeed,
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12979
|
+
l8 as AoCheckboxField,
|
|
12980
|
+
V4 as AoFeed,
|
|
12981
|
+
z4 as AoField,
|
|
12982
|
+
o8 as AoInputField,
|
|
12984
12983
|
Se as AoMultiselect,
|
|
12985
12984
|
fi as AoProjectPhases,
|
|
12986
12985
|
Rf as AoTemplateDetails,
|
|
12987
|
-
|
|
12988
|
-
|
|
12986
|
+
e8 as AoTemplates,
|
|
12987
|
+
Z4 as AoTemplatesList,
|
|
12989
12988
|
G2 as TemplateItemTypeEnum,
|
|
12990
|
-
|
|
12991
|
-
|
|
12989
|
+
a8 as activityFeedStatus,
|
|
12990
|
+
t8 as durationTypes,
|
|
12992
12991
|
Dt as feedFilterTypes,
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
|
|
12992
|
+
i8 as getProjectOverviewRoutes,
|
|
12993
|
+
n8 as getTemplateRoutes,
|
|
12994
|
+
s8 as listUpdateTypes,
|
|
12996
12995
|
Ba as milestoneStatus,
|
|
12997
12996
|
ye as projectOverviewRoutes,
|
|
12998
12997
|
Y2 as ruleComparators,
|