@26lights/orcha 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +429 -429
- package/dist/orcha.umd.js +1 -1
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, openBlock as d, createBlock as
|
|
1
|
+
import { defineComponent as Q, openBlock as d, createBlock as G, unref as t1, mergeProps as T1, createElementBlock as v, createElementVNode as u, pushScopeId as wt, popScopeId as $t, createStaticVNode as Mt, computed as m, resolveDynamicComponent as F1, normalizeClass as j, renderSlot as F, toDisplayString as x, createCommentVNode as A, ref as W, watch as d1, nextTick as x1, toHandlers as It, withCtx as K, createTextVNode as $e, createVNode as V, withModifiers as A1, Fragment as f1, renderList as $1, withKeys as Re, toRefs as p1, getCurrentInstance as P1, onMounted as Me, onUnmounted as St, withDirectives as ae, vModelText as we, vModelCheckbox as Lt, toRef as be, Teleport as Ue } from "vue";
|
|
2
2
|
import { RouterView as At } from "vue-router";
|
|
3
3
|
import le from "vuedraggable";
|
|
4
4
|
const fo = /* @__PURE__ */ Q({
|
|
@@ -7,7 +7,7 @@ const fo = /* @__PURE__ */ Q({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(s) {
|
|
10
|
-
return (e, t) => (d(),
|
|
10
|
+
return (e, t) => (d(), G(t1(At), T1({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), M = (s, e) => {
|
|
13
13
|
const t = s.__vccOpts || s;
|
|
@@ -27,7 +27,7 @@ const fo = /* @__PURE__ */ Q({
|
|
|
27
27
|
Ht
|
|
28
28
|
];
|
|
29
29
|
function kt(s, e) {
|
|
30
|
-
return d(),
|
|
30
|
+
return d(), v("svg", Et, Tt);
|
|
31
31
|
}
|
|
32
32
|
const Ot = /* @__PURE__ */ M(Vt, [["render", kt]]), Bt = {}, Zt = {
|
|
33
33
|
width: "24",
|
|
@@ -42,7 +42,7 @@ const Ot = /* @__PURE__ */ M(Vt, [["render", kt]]), Bt = {}, Zt = {
|
|
|
42
42
|
Dt
|
|
43
43
|
];
|
|
44
44
|
function Nt(s, e) {
|
|
45
|
-
return d(),
|
|
45
|
+
return d(), v("svg", Zt, Pt);
|
|
46
46
|
}
|
|
47
47
|
const Rt = /* @__PURE__ */ M(Bt, [["render", Nt]]), Ut = {}, qt = {
|
|
48
48
|
width: "24",
|
|
@@ -57,9 +57,9 @@ const Rt = /* @__PURE__ */ M(Bt, [["render", Nt]]), Ut = {}, qt = {
|
|
|
57
57
|
jt
|
|
58
58
|
];
|
|
59
59
|
function xt(s, e) {
|
|
60
|
-
return d(),
|
|
60
|
+
return d(), v("svg", qt, zt);
|
|
61
61
|
}
|
|
62
|
-
const Kt = /* @__PURE__ */ M(Ut, [["render", xt]]),
|
|
62
|
+
const Kt = /* @__PURE__ */ M(Ut, [["render", xt]]), Ft = {}, Gt = {
|
|
63
63
|
width: "24",
|
|
64
64
|
height: "24",
|
|
65
65
|
viewBox: "0 0 24 24",
|
|
@@ -72,9 +72,9 @@ const Kt = /* @__PURE__ */ M(Ut, [["render", xt]]), Gt = {}, Ft = {
|
|
|
72
72
|
Yt
|
|
73
73
|
];
|
|
74
74
|
function Wt(s, e) {
|
|
75
|
-
return d(),
|
|
75
|
+
return d(), v("svg", Gt, Xt);
|
|
76
76
|
}
|
|
77
|
-
const Jt = /* @__PURE__ */ M(
|
|
77
|
+
const Jt = /* @__PURE__ */ M(Ft, [["render", Wt]]), Qt = {}, e2 = {
|
|
78
78
|
width: "24",
|
|
79
79
|
height: "24",
|
|
80
80
|
viewBox: "0 0 24 24",
|
|
@@ -87,7 +87,7 @@ const Jt = /* @__PURE__ */ M(Gt, [["render", Wt]]), Qt = {}, e2 = {
|
|
|
87
87
|
t2
|
|
88
88
|
];
|
|
89
89
|
function a2(s, e) {
|
|
90
|
-
return d(),
|
|
90
|
+
return d(), v("svg", e2, s2);
|
|
91
91
|
}
|
|
92
92
|
const l2 = /* @__PURE__ */ M(Qt, [["render", a2]]), n2 = {}, i2 = {
|
|
93
93
|
width: "24",
|
|
@@ -102,7 +102,7 @@ const l2 = /* @__PURE__ */ M(Qt, [["render", a2]]), n2 = {}, i2 = {
|
|
|
102
102
|
o2
|
|
103
103
|
];
|
|
104
104
|
function u2(s, e) {
|
|
105
|
-
return d(),
|
|
105
|
+
return d(), v("svg", i2, r2);
|
|
106
106
|
}
|
|
107
107
|
const c2 = /* @__PURE__ */ M(n2, [["render", u2]]), d2 = {}, C2 = {
|
|
108
108
|
width: "24",
|
|
@@ -117,7 +117,7 @@ const c2 = /* @__PURE__ */ M(n2, [["render", u2]]), d2 = {}, C2 = {
|
|
|
117
117
|
v2
|
|
118
118
|
];
|
|
119
119
|
function h2(s, e) {
|
|
120
|
-
return d(),
|
|
120
|
+
return d(), v("svg", C2, p2);
|
|
121
121
|
}
|
|
122
122
|
const f2 = /* @__PURE__ */ M(d2, [["render", h2]]), _2 = {}, m2 = {
|
|
123
123
|
width: "24",
|
|
@@ -132,7 +132,7 @@ const f2 = /* @__PURE__ */ M(d2, [["render", h2]]), _2 = {}, m2 = {
|
|
|
132
132
|
g2
|
|
133
133
|
];
|
|
134
134
|
function y2(s, e) {
|
|
135
|
-
return d(),
|
|
135
|
+
return d(), v("svg", m2, b2);
|
|
136
136
|
}
|
|
137
137
|
const w2 = /* @__PURE__ */ M(_2, [["render", y2]]), $2 = {}, M2 = {
|
|
138
138
|
width: "24",
|
|
@@ -147,7 +147,7 @@ const w2 = /* @__PURE__ */ M(_2, [["render", y2]]), $2 = {}, M2 = {
|
|
|
147
147
|
I2
|
|
148
148
|
];
|
|
149
149
|
function L2(s, e) {
|
|
150
|
-
return d(),
|
|
150
|
+
return d(), v("svg", M2, S2);
|
|
151
151
|
}
|
|
152
152
|
const A2 = /* @__PURE__ */ M($2, [["render", L2]]), V2 = {}, E2 = {
|
|
153
153
|
width: "24",
|
|
@@ -162,7 +162,7 @@ const A2 = /* @__PURE__ */ M($2, [["render", L2]]), V2 = {}, E2 = {
|
|
|
162
162
|
H2
|
|
163
163
|
];
|
|
164
164
|
function k2(s, e) {
|
|
165
|
-
return d(),
|
|
165
|
+
return d(), v("svg", E2, T2);
|
|
166
166
|
}
|
|
167
167
|
const O2 = /* @__PURE__ */ M(V2, [["render", k2]]), B2 = {}, Z2 = {
|
|
168
168
|
width: "24",
|
|
@@ -177,7 +177,7 @@ const O2 = /* @__PURE__ */ M(V2, [["render", k2]]), B2 = {}, Z2 = {
|
|
|
177
177
|
D2
|
|
178
178
|
];
|
|
179
179
|
function N2(s, e) {
|
|
180
|
-
return d(),
|
|
180
|
+
return d(), v("svg", Z2, P2);
|
|
181
181
|
}
|
|
182
182
|
const R2 = /* @__PURE__ */ M(B2, [["render", N2]]), U2 = {}, q2 = {
|
|
183
183
|
width: "24",
|
|
@@ -192,9 +192,9 @@ const R2 = /* @__PURE__ */ M(B2, [["render", N2]]), U2 = {}, q2 = {
|
|
|
192
192
|
j2
|
|
193
193
|
];
|
|
194
194
|
function x2(s, e) {
|
|
195
|
-
return d(),
|
|
195
|
+
return d(), v("svg", q2, z2);
|
|
196
196
|
}
|
|
197
|
-
const K2 = /* @__PURE__ */ M(U2, [["render", x2]]),
|
|
197
|
+
const K2 = /* @__PURE__ */ M(U2, [["render", x2]]), F2 = {}, G2 = {
|
|
198
198
|
width: "24",
|
|
199
199
|
height: "24",
|
|
200
200
|
viewBox: "0 0 24 24",
|
|
@@ -207,9 +207,9 @@ const K2 = /* @__PURE__ */ M(U2, [["render", x2]]), G2 = {}, F2 = {
|
|
|
207
207
|
Y2
|
|
208
208
|
];
|
|
209
209
|
function W2(s, e) {
|
|
210
|
-
return d(),
|
|
210
|
+
return d(), v("svg", G2, X2);
|
|
211
211
|
}
|
|
212
|
-
const J2 = /* @__PURE__ */ M(
|
|
212
|
+
const J2 = /* @__PURE__ */ M(F2, [["render", W2]]), Q2 = {}, es = {
|
|
213
213
|
width: "24",
|
|
214
214
|
height: "24",
|
|
215
215
|
viewBox: "0 0 24 24",
|
|
@@ -222,7 +222,7 @@ const J2 = /* @__PURE__ */ M(G2, [["render", W2]]), Q2 = {}, es = {
|
|
|
222
222
|
ts
|
|
223
223
|
];
|
|
224
224
|
function as(s, e) {
|
|
225
|
-
return d(),
|
|
225
|
+
return d(), v("svg", es, ss);
|
|
226
226
|
}
|
|
227
227
|
const ls = /* @__PURE__ */ M(Q2, [["render", as]]), ns = {}, is = {
|
|
228
228
|
width: "24",
|
|
@@ -237,7 +237,7 @@ const ls = /* @__PURE__ */ M(Q2, [["render", as]]), ns = {}, is = {
|
|
|
237
237
|
os
|
|
238
238
|
];
|
|
239
239
|
function us(s, e) {
|
|
240
|
-
return d(),
|
|
240
|
+
return d(), v("svg", is, rs);
|
|
241
241
|
}
|
|
242
242
|
const cs = /* @__PURE__ */ M(ns, [["render", us]]), ds = {}, Cs = {
|
|
243
243
|
width: "24",
|
|
@@ -252,7 +252,7 @@ const cs = /* @__PURE__ */ M(ns, [["render", us]]), ds = {}, Cs = {
|
|
|
252
252
|
vs
|
|
253
253
|
];
|
|
254
254
|
function hs(s, e) {
|
|
255
|
-
return d(),
|
|
255
|
+
return d(), v("svg", Cs, ps);
|
|
256
256
|
}
|
|
257
257
|
const fs = /* @__PURE__ */ M(ds, [["render", hs]]), _s = {}, ms = {
|
|
258
258
|
width: "24",
|
|
@@ -267,7 +267,7 @@ const fs = /* @__PURE__ */ M(ds, [["render", hs]]), _s = {}, ms = {
|
|
|
267
267
|
gs
|
|
268
268
|
];
|
|
269
269
|
function ys(s, e) {
|
|
270
|
-
return d(),
|
|
270
|
+
return d(), v("svg", ms, bs);
|
|
271
271
|
}
|
|
272
272
|
const ws = /* @__PURE__ */ M(_s, [["render", ys]]), $s = {}, Ms = {
|
|
273
273
|
width: "24",
|
|
@@ -282,7 +282,7 @@ const ws = /* @__PURE__ */ M(_s, [["render", ys]]), $s = {}, Ms = {
|
|
|
282
282
|
Is
|
|
283
283
|
];
|
|
284
284
|
function Ls(s, e) {
|
|
285
|
-
return d(),
|
|
285
|
+
return d(), v("svg", Ms, Ss);
|
|
286
286
|
}
|
|
287
287
|
const As = /* @__PURE__ */ M($s, [["render", Ls]]), Vs = {}, Es = {
|
|
288
288
|
width: "24",
|
|
@@ -297,7 +297,7 @@ const As = /* @__PURE__ */ M($s, [["render", Ls]]), Vs = {}, Es = {
|
|
|
297
297
|
Hs
|
|
298
298
|
];
|
|
299
299
|
function ks(s, e) {
|
|
300
|
-
return d(),
|
|
300
|
+
return d(), v("svg", Es, Ts);
|
|
301
301
|
}
|
|
302
302
|
const Os = /* @__PURE__ */ M(Vs, [["render", ks]]), Bs = {}, Zs = {
|
|
303
303
|
width: "24",
|
|
@@ -312,7 +312,7 @@ const Os = /* @__PURE__ */ M(Vs, [["render", ks]]), Bs = {}, Zs = {
|
|
|
312
312
|
Ds
|
|
313
313
|
];
|
|
314
314
|
function Ns(s, e) {
|
|
315
|
-
return d(),
|
|
315
|
+
return d(), v("svg", Zs, Ps);
|
|
316
316
|
}
|
|
317
317
|
const Rs = /* @__PURE__ */ M(Bs, [["render", Ns]]), Us = {}, qs = {
|
|
318
318
|
width: "24",
|
|
@@ -327,9 +327,9 @@ const Rs = /* @__PURE__ */ M(Bs, [["render", Ns]]), Us = {}, qs = {
|
|
|
327
327
|
js
|
|
328
328
|
];
|
|
329
329
|
function xs(s, e) {
|
|
330
|
-
return d(),
|
|
330
|
+
return d(), v("svg", qs, zs);
|
|
331
331
|
}
|
|
332
|
-
const Ks = /* @__PURE__ */ M(Us, [["render", xs]]),
|
|
332
|
+
const Ks = /* @__PURE__ */ M(Us, [["render", xs]]), Fs = {}, Gs = {
|
|
333
333
|
width: "24",
|
|
334
334
|
height: "24",
|
|
335
335
|
viewBox: "0 0 24 24",
|
|
@@ -342,9 +342,9 @@ const Ks = /* @__PURE__ */ M(Us, [["render", xs]]), Gs = {}, Fs = {
|
|
|
342
342
|
Ys
|
|
343
343
|
];
|
|
344
344
|
function Ws(s, e) {
|
|
345
|
-
return d(),
|
|
345
|
+
return d(), v("svg", Gs, Xs);
|
|
346
346
|
}
|
|
347
|
-
const Js = /* @__PURE__ */ M(
|
|
347
|
+
const Js = /* @__PURE__ */ M(Fs, [["render", Ws]]), Qs = {}, ea = {
|
|
348
348
|
width: "24",
|
|
349
349
|
height: "24",
|
|
350
350
|
viewBox: "0 0 24 24",
|
|
@@ -357,7 +357,7 @@ const Js = /* @__PURE__ */ M(Gs, [["render", Ws]]), Qs = {}, ea = {
|
|
|
357
357
|
ta
|
|
358
358
|
];
|
|
359
359
|
function aa(s, e) {
|
|
360
|
-
return d(),
|
|
360
|
+
return d(), v("svg", ea, sa);
|
|
361
361
|
}
|
|
362
362
|
const la = /* @__PURE__ */ M(Qs, [["render", aa]]), na = {}, ia = {
|
|
363
363
|
width: "24",
|
|
@@ -372,7 +372,7 @@ const la = /* @__PURE__ */ M(Qs, [["render", aa]]), na = {}, ia = {
|
|
|
372
372
|
oa
|
|
373
373
|
];
|
|
374
374
|
function ua(s, e) {
|
|
375
|
-
return d(),
|
|
375
|
+
return d(), v("svg", ia, ra);
|
|
376
376
|
}
|
|
377
377
|
const ca = /* @__PURE__ */ M(na, [["render", ua]]), da = {}, Ca = {
|
|
378
378
|
width: "24",
|
|
@@ -387,7 +387,7 @@ const ca = /* @__PURE__ */ M(na, [["render", ua]]), da = {}, Ca = {
|
|
|
387
387
|
va
|
|
388
388
|
];
|
|
389
389
|
function ha(s, e) {
|
|
390
|
-
return d(),
|
|
390
|
+
return d(), v("svg", Ca, pa);
|
|
391
391
|
}
|
|
392
392
|
const fa = /* @__PURE__ */ M(da, [["render", ha]]), _a = {}, ma = {
|
|
393
393
|
width: "24",
|
|
@@ -402,7 +402,7 @@ const fa = /* @__PURE__ */ M(da, [["render", ha]]), _a = {}, ma = {
|
|
|
402
402
|
ga
|
|
403
403
|
];
|
|
404
404
|
function ya(s, e) {
|
|
405
|
-
return d(),
|
|
405
|
+
return d(), v("svg", ma, ba);
|
|
406
406
|
}
|
|
407
407
|
const wa = /* @__PURE__ */ M(_a, [["render", ya]]), $a = {}, Ma = {
|
|
408
408
|
width: "24",
|
|
@@ -417,7 +417,7 @@ const wa = /* @__PURE__ */ M(_a, [["render", ya]]), $a = {}, Ma = {
|
|
|
417
417
|
Ia
|
|
418
418
|
];
|
|
419
419
|
function La(s, e) {
|
|
420
|
-
return d(),
|
|
420
|
+
return d(), v("svg", Ma, Sa);
|
|
421
421
|
}
|
|
422
422
|
const Aa = /* @__PURE__ */ M($a, [["render", La]]), Va = {}, Ea = {
|
|
423
423
|
width: "24",
|
|
@@ -432,7 +432,7 @@ const Aa = /* @__PURE__ */ M($a, [["render", La]]), Va = {}, Ea = {
|
|
|
432
432
|
Ha
|
|
433
433
|
];
|
|
434
434
|
function ka(s, e) {
|
|
435
|
-
return d(),
|
|
435
|
+
return d(), v("svg", Ea, Ta);
|
|
436
436
|
}
|
|
437
437
|
const Oa = /* @__PURE__ */ M(Va, [["render", ka]]), Ba = {}, Za = {
|
|
438
438
|
width: "24",
|
|
@@ -447,7 +447,7 @@ const Oa = /* @__PURE__ */ M(Va, [["render", ka]]), Ba = {}, Za = {
|
|
|
447
447
|
Da
|
|
448
448
|
];
|
|
449
449
|
function Na(s, e) {
|
|
450
|
-
return d(),
|
|
450
|
+
return d(), v("svg", Za, Pa);
|
|
451
451
|
}
|
|
452
452
|
const Ra = /* @__PURE__ */ M(Ba, [["render", Na]]), Ua = {}, qa = {
|
|
453
453
|
width: "24",
|
|
@@ -462,9 +462,9 @@ const Ra = /* @__PURE__ */ M(Ba, [["render", Na]]), Ua = {}, qa = {
|
|
|
462
462
|
ja
|
|
463
463
|
];
|
|
464
464
|
function xa(s, e) {
|
|
465
|
-
return d(),
|
|
465
|
+
return d(), v("svg", qa, za);
|
|
466
466
|
}
|
|
467
|
-
const Ka = /* @__PURE__ */ M(Ua, [["render", xa]]),
|
|
467
|
+
const Ka = /* @__PURE__ */ M(Ua, [["render", xa]]), Fa = {}, Ga = {
|
|
468
468
|
width: "24",
|
|
469
469
|
height: "24",
|
|
470
470
|
viewBox: "0 0 24 24",
|
|
@@ -477,9 +477,9 @@ const Ka = /* @__PURE__ */ M(Ua, [["render", xa]]), Ga = {}, Fa = {
|
|
|
477
477
|
Ya
|
|
478
478
|
];
|
|
479
479
|
function Wa(s, e) {
|
|
480
|
-
return d(),
|
|
480
|
+
return d(), v("svg", Ga, Xa);
|
|
481
481
|
}
|
|
482
|
-
const Ja = /* @__PURE__ */ M(
|
|
482
|
+
const Ja = /* @__PURE__ */ M(Fa, [["render", Wa]]), Qa = {}, el = {
|
|
483
483
|
width: "24",
|
|
484
484
|
height: "24",
|
|
485
485
|
viewBox: "0 0 24 24",
|
|
@@ -492,7 +492,7 @@ const Ja = /* @__PURE__ */ M(Ga, [["render", Wa]]), Qa = {}, el = {
|
|
|
492
492
|
tl
|
|
493
493
|
];
|
|
494
494
|
function al(s, e) {
|
|
495
|
-
return d(),
|
|
495
|
+
return d(), v("svg", el, sl);
|
|
496
496
|
}
|
|
497
497
|
const ll = /* @__PURE__ */ M(Qa, [["render", al]]), nl = {}, il = {
|
|
498
498
|
width: "24",
|
|
@@ -507,7 +507,7 @@ const ll = /* @__PURE__ */ M(Qa, [["render", al]]), nl = {}, il = {
|
|
|
507
507
|
ol
|
|
508
508
|
];
|
|
509
509
|
function ul(s, e) {
|
|
510
|
-
return d(),
|
|
510
|
+
return d(), v("svg", il, rl);
|
|
511
511
|
}
|
|
512
512
|
const cl = /* @__PURE__ */ M(nl, [["render", ul]]), dl = {}, Cl = {
|
|
513
513
|
width: "24",
|
|
@@ -522,7 +522,7 @@ const cl = /* @__PURE__ */ M(nl, [["render", ul]]), dl = {}, Cl = {
|
|
|
522
522
|
vl
|
|
523
523
|
];
|
|
524
524
|
function hl(s, e) {
|
|
525
|
-
return d(),
|
|
525
|
+
return d(), v("svg", Cl, pl);
|
|
526
526
|
}
|
|
527
527
|
const fl = /* @__PURE__ */ M(dl, [["render", hl]]), _l = {}, ml = {
|
|
528
528
|
width: "24",
|
|
@@ -537,7 +537,7 @@ const fl = /* @__PURE__ */ M(dl, [["render", hl]]), _l = {}, ml = {
|
|
|
537
537
|
gl
|
|
538
538
|
];
|
|
539
539
|
function yl(s, e) {
|
|
540
|
-
return d(),
|
|
540
|
+
return d(), v("svg", ml, bl);
|
|
541
541
|
}
|
|
542
542
|
const wl = /* @__PURE__ */ M(_l, [["render", yl]]), $l = {}, Ml = {
|
|
543
543
|
width: "24",
|
|
@@ -552,7 +552,7 @@ const wl = /* @__PURE__ */ M(_l, [["render", yl]]), $l = {}, Ml = {
|
|
|
552
552
|
Il
|
|
553
553
|
];
|
|
554
554
|
function Ll(s, e) {
|
|
555
|
-
return d(),
|
|
555
|
+
return d(), v("svg", Ml, Sl);
|
|
556
556
|
}
|
|
557
557
|
const Al = /* @__PURE__ */ M($l, [["render", Ll]]), Vl = {}, El = {
|
|
558
558
|
width: "24",
|
|
@@ -567,7 +567,7 @@ const Al = /* @__PURE__ */ M($l, [["render", Ll]]), Vl = {}, El = {
|
|
|
567
567
|
Hl
|
|
568
568
|
];
|
|
569
569
|
function kl(s, e) {
|
|
570
|
-
return d(),
|
|
570
|
+
return d(), v("svg", El, Tl);
|
|
571
571
|
}
|
|
572
572
|
const Ol = /* @__PURE__ */ M(Vl, [["render", kl]]), Bl = {}, Zl = {
|
|
573
573
|
width: "24",
|
|
@@ -582,7 +582,7 @@ const Ol = /* @__PURE__ */ M(Vl, [["render", kl]]), Bl = {}, Zl = {
|
|
|
582
582
|
Dl
|
|
583
583
|
];
|
|
584
584
|
function Nl(s, e) {
|
|
585
|
-
return d(),
|
|
585
|
+
return d(), v("svg", Zl, Pl);
|
|
586
586
|
}
|
|
587
587
|
const Rl = /* @__PURE__ */ M(Bl, [["render", Nl]]), Ul = {}, ql = {
|
|
588
588
|
width: "24",
|
|
@@ -597,12 +597,12 @@ const Rl = /* @__PURE__ */ M(Bl, [["render", Nl]]), Ul = {}, ql = {
|
|
|
597
597
|
jl
|
|
598
598
|
];
|
|
599
599
|
function xl(s, e) {
|
|
600
|
-
return d(),
|
|
600
|
+
return d(), v("svg", ql, zl);
|
|
601
601
|
}
|
|
602
|
-
const Kl = /* @__PURE__ */ M(Ul, [["render", xl]]),
|
|
602
|
+
const Kl = /* @__PURE__ */ M(Ul, [["render", xl]]), Fl = Q({
|
|
603
603
|
name: "LoadingIcon"
|
|
604
604
|
});
|
|
605
|
-
const Ie = (s) => (wt("data-v-ad6da4a9"), s = s(), $t(), s),
|
|
605
|
+
const Ie = (s) => (wt("data-v-ad6da4a9"), s = s(), $t(), s), Gl = {
|
|
606
606
|
width: "24",
|
|
607
607
|
height: "24",
|
|
608
608
|
viewBox: "0 0 24 24",
|
|
@@ -629,9 +629,9 @@ const Ie = (s) => (wt("data-v-ad6da4a9"), s = s(), $t(), s), Fl = {
|
|
|
629
629
|
Wl
|
|
630
630
|
];
|
|
631
631
|
function Ql(s, e, t, n, a, i) {
|
|
632
|
-
return d(),
|
|
632
|
+
return d(), v("svg", Gl, Jl);
|
|
633
633
|
}
|
|
634
|
-
const en = /* @__PURE__ */ M(
|
|
634
|
+
const en = /* @__PURE__ */ M(Fl, [["render", Ql], ["__scopeId", "data-v-ad6da4a9"]]), tn = {}, sn = {
|
|
635
635
|
width: "24",
|
|
636
636
|
height: "24",
|
|
637
637
|
viewBox: "0 0 24 24",
|
|
@@ -644,7 +644,7 @@ const en = /* @__PURE__ */ M(Gl, [["render", Ql], ["__scopeId", "data-v-ad6da4a9
|
|
|
644
644
|
an
|
|
645
645
|
];
|
|
646
646
|
function nn(s, e) {
|
|
647
|
-
return d(),
|
|
647
|
+
return d(), v("svg", sn, ln);
|
|
648
648
|
}
|
|
649
649
|
const on = /* @__PURE__ */ M(tn, [["render", nn]]), rn = {}, un = {
|
|
650
650
|
width: "24",
|
|
@@ -659,7 +659,7 @@ const on = /* @__PURE__ */ M(tn, [["render", nn]]), rn = {}, un = {
|
|
|
659
659
|
cn
|
|
660
660
|
];
|
|
661
661
|
function Cn(s, e) {
|
|
662
|
-
return d(),
|
|
662
|
+
return d(), v("svg", un, dn);
|
|
663
663
|
}
|
|
664
664
|
const vn = /* @__PURE__ */ M(rn, [["render", Cn]]), pn = {}, hn = {
|
|
665
665
|
width: "24",
|
|
@@ -674,7 +674,7 @@ const vn = /* @__PURE__ */ M(rn, [["render", Cn]]), pn = {}, hn = {
|
|
|
674
674
|
fn
|
|
675
675
|
];
|
|
676
676
|
function mn(s, e) {
|
|
677
|
-
return d(),
|
|
677
|
+
return d(), v("svg", hn, _n);
|
|
678
678
|
}
|
|
679
679
|
const gn = /* @__PURE__ */ M(pn, [["render", mn]]), bn = {}, yn = {
|
|
680
680
|
width: "24",
|
|
@@ -689,7 +689,7 @@ const gn = /* @__PURE__ */ M(pn, [["render", mn]]), bn = {}, yn = {
|
|
|
689
689
|
wn
|
|
690
690
|
];
|
|
691
691
|
function Mn(s, e) {
|
|
692
|
-
return d(),
|
|
692
|
+
return d(), v("svg", yn, $n);
|
|
693
693
|
}
|
|
694
694
|
const In = /* @__PURE__ */ M(bn, [["render", Mn]]), Sn = {}, Ln = {
|
|
695
695
|
width: "24",
|
|
@@ -704,7 +704,7 @@ const In = /* @__PURE__ */ M(bn, [["render", Mn]]), Sn = {}, Ln = {
|
|
|
704
704
|
An
|
|
705
705
|
];
|
|
706
706
|
function En(s, e) {
|
|
707
|
-
return d(),
|
|
707
|
+
return d(), v("svg", Ln, Vn);
|
|
708
708
|
}
|
|
709
709
|
const Hn = /* @__PURE__ */ M(Sn, [["render", En]]), Tn = {}, kn = {
|
|
710
710
|
width: "24",
|
|
@@ -719,7 +719,7 @@ const Hn = /* @__PURE__ */ M(Sn, [["render", En]]), Tn = {}, kn = {
|
|
|
719
719
|
On
|
|
720
720
|
];
|
|
721
721
|
function Zn(s, e) {
|
|
722
|
-
return d(),
|
|
722
|
+
return d(), v("svg", kn, Bn);
|
|
723
723
|
}
|
|
724
724
|
const Dn = /* @__PURE__ */ M(Tn, [["render", Zn]]), Pn = {}, Nn = {
|
|
725
725
|
width: "24",
|
|
@@ -734,7 +734,7 @@ const Dn = /* @__PURE__ */ M(Tn, [["render", Zn]]), Pn = {}, Nn = {
|
|
|
734
734
|
Rn
|
|
735
735
|
];
|
|
736
736
|
function qn(s, e) {
|
|
737
|
-
return d(),
|
|
737
|
+
return d(), v("svg", Nn, Un);
|
|
738
738
|
}
|
|
739
739
|
const jn = /* @__PURE__ */ M(Pn, [["render", qn]]), zn = {}, xn = {
|
|
740
740
|
width: "24",
|
|
@@ -745,13 +745,13 @@ const jn = /* @__PURE__ */ M(Pn, [["render", qn]]), zn = {}, xn = {
|
|
|
745
745
|
}, Kn = /* @__PURE__ */ u("path", {
|
|
746
746
|
d: "M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",
|
|
747
747
|
fill: "black"
|
|
748
|
-
}, null, -1),
|
|
748
|
+
}, null, -1), Fn = [
|
|
749
749
|
Kn
|
|
750
750
|
];
|
|
751
|
-
function
|
|
752
|
-
return d(),
|
|
751
|
+
function Gn(s, e) {
|
|
752
|
+
return d(), v("svg", xn, Fn);
|
|
753
753
|
}
|
|
754
|
-
const Yn = /* @__PURE__ */ M(zn, [["render",
|
|
754
|
+
const Yn = /* @__PURE__ */ M(zn, [["render", Gn]]), Xn = {}, Wn = {
|
|
755
755
|
width: "24",
|
|
756
756
|
height: "24",
|
|
757
757
|
viewBox: "0 0 24 24",
|
|
@@ -764,7 +764,7 @@ const Yn = /* @__PURE__ */ M(zn, [["render", Fn]]), Xn = {}, Wn = {
|
|
|
764
764
|
Jn
|
|
765
765
|
];
|
|
766
766
|
function ei(s, e) {
|
|
767
|
-
return d(),
|
|
767
|
+
return d(), v("svg", Wn, Qn);
|
|
768
768
|
}
|
|
769
769
|
const ti = /* @__PURE__ */ M(Xn, [["render", ei]]), si = {}, ai = {
|
|
770
770
|
width: "24",
|
|
@@ -779,7 +779,7 @@ const ti = /* @__PURE__ */ M(Xn, [["render", ei]]), si = {}, ai = {
|
|
|
779
779
|
li
|
|
780
780
|
];
|
|
781
781
|
function ii(s, e) {
|
|
782
|
-
return d(),
|
|
782
|
+
return d(), v("svg", ai, ni);
|
|
783
783
|
}
|
|
784
784
|
const oi = /* @__PURE__ */ M(si, [["render", ii]]), ri = {}, ui = {
|
|
785
785
|
width: "24",
|
|
@@ -794,7 +794,7 @@ const oi = /* @__PURE__ */ M(si, [["render", ii]]), ri = {}, ui = {
|
|
|
794
794
|
ci
|
|
795
795
|
];
|
|
796
796
|
function Ci(s, e) {
|
|
797
|
-
return d(),
|
|
797
|
+
return d(), v("svg", ui, di);
|
|
798
798
|
}
|
|
799
799
|
const vi = /* @__PURE__ */ M(ri, [["render", Ci]]), pi = {}, hi = {
|
|
800
800
|
width: "24",
|
|
@@ -809,7 +809,7 @@ const vi = /* @__PURE__ */ M(ri, [["render", Ci]]), pi = {}, hi = {
|
|
|
809
809
|
fi
|
|
810
810
|
];
|
|
811
811
|
function mi(s, e) {
|
|
812
|
-
return d(),
|
|
812
|
+
return d(), v("svg", hi, _i);
|
|
813
813
|
}
|
|
814
814
|
const gi = /* @__PURE__ */ M(pi, [["render", mi]]), bi = {}, yi = {
|
|
815
815
|
width: "26",
|
|
@@ -821,7 +821,7 @@ const gi = /* @__PURE__ */ M(pi, [["render", mi]]), bi = {}, yi = {
|
|
|
821
821
|
wi
|
|
822
822
|
];
|
|
823
823
|
function Mi(s, e) {
|
|
824
|
-
return d(),
|
|
824
|
+
return d(), v("svg", yi, $i);
|
|
825
825
|
}
|
|
826
826
|
const Ii = /* @__PURE__ */ M(bi, [["render", Mi]]), Si = {}, Li = {
|
|
827
827
|
width: "24",
|
|
@@ -836,7 +836,7 @@ const Ii = /* @__PURE__ */ M(bi, [["render", Mi]]), Si = {}, Li = {
|
|
|
836
836
|
Ai
|
|
837
837
|
];
|
|
838
838
|
function Ei(s, e) {
|
|
839
|
-
return d(),
|
|
839
|
+
return d(), v("svg", Li, Vi);
|
|
840
840
|
}
|
|
841
841
|
const Hi = /* @__PURE__ */ M(Si, [["render", Ei]]), Ti = {}, ki = {
|
|
842
842
|
width: "24",
|
|
@@ -851,7 +851,7 @@ const Hi = /* @__PURE__ */ M(Si, [["render", Ei]]), Ti = {}, ki = {
|
|
|
851
851
|
Oi
|
|
852
852
|
];
|
|
853
853
|
function Zi(s, e) {
|
|
854
|
-
return d(),
|
|
854
|
+
return d(), v("svg", ki, Bi);
|
|
855
855
|
}
|
|
856
856
|
const Di = /* @__PURE__ */ M(Ti, [["render", Zi]]), Pi = {}, Ni = {
|
|
857
857
|
width: "24",
|
|
@@ -866,7 +866,7 @@ const Di = /* @__PURE__ */ M(Ti, [["render", Zi]]), Pi = {}, Ni = {
|
|
|
866
866
|
Ri
|
|
867
867
|
];
|
|
868
868
|
function qi(s, e) {
|
|
869
|
-
return d(),
|
|
869
|
+
return d(), v("svg", Ni, Ui);
|
|
870
870
|
}
|
|
871
871
|
const ji = /* @__PURE__ */ M(Pi, [["render", qi]]), zi = {}, xi = {
|
|
872
872
|
width: "24",
|
|
@@ -877,13 +877,13 @@ const ji = /* @__PURE__ */ M(Pi, [["render", qi]]), zi = {}, xi = {
|
|
|
877
877
|
}, Ki = /* @__PURE__ */ u("path", {
|
|
878
878
|
d: "M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",
|
|
879
879
|
fill: "black"
|
|
880
|
-
}, null, -1),
|
|
880
|
+
}, null, -1), Fi = [
|
|
881
881
|
Ki
|
|
882
882
|
];
|
|
883
|
-
function
|
|
884
|
-
return d(),
|
|
883
|
+
function Gi(s, e) {
|
|
884
|
+
return d(), v("svg", xi, Fi);
|
|
885
885
|
}
|
|
886
|
-
const Yi = /* @__PURE__ */ M(zi, [["render",
|
|
886
|
+
const Yi = /* @__PURE__ */ M(zi, [["render", Gi]]), Xi = {}, Wi = {
|
|
887
887
|
width: "24",
|
|
888
888
|
height: "24",
|
|
889
889
|
viewBox: "0 0 24 24",
|
|
@@ -896,7 +896,7 @@ const Yi = /* @__PURE__ */ M(zi, [["render", Fi]]), Xi = {}, Wi = {
|
|
|
896
896
|
Ji
|
|
897
897
|
];
|
|
898
898
|
function e3(s, e) {
|
|
899
|
-
return d(),
|
|
899
|
+
return d(), v("svg", Wi, Qi);
|
|
900
900
|
}
|
|
901
901
|
const t3 = /* @__PURE__ */ M(Xi, [["render", e3]]), s3 = {}, a3 = {
|
|
902
902
|
width: "24",
|
|
@@ -911,7 +911,7 @@ const t3 = /* @__PURE__ */ M(Xi, [["render", e3]]), s3 = {}, a3 = {
|
|
|
911
911
|
l3
|
|
912
912
|
];
|
|
913
913
|
function i3(s, e) {
|
|
914
|
-
return d(),
|
|
914
|
+
return d(), v("svg", a3, n3);
|
|
915
915
|
}
|
|
916
916
|
const o3 = /* @__PURE__ */ M(s3, [["render", i3]]), r3 = {}, u3 = {
|
|
917
917
|
width: "24",
|
|
@@ -926,7 +926,7 @@ const o3 = /* @__PURE__ */ M(s3, [["render", i3]]), r3 = {}, u3 = {
|
|
|
926
926
|
c3
|
|
927
927
|
];
|
|
928
928
|
function C3(s, e) {
|
|
929
|
-
return d(),
|
|
929
|
+
return d(), v("svg", u3, d3);
|
|
930
930
|
}
|
|
931
931
|
const v3 = /* @__PURE__ */ M(r3, [["render", C3]]), p3 = {}, h3 = {
|
|
932
932
|
width: "24",
|
|
@@ -941,7 +941,7 @@ const v3 = /* @__PURE__ */ M(r3, [["render", C3]]), p3 = {}, h3 = {
|
|
|
941
941
|
f3
|
|
942
942
|
];
|
|
943
943
|
function m3(s, e) {
|
|
944
|
-
return d(),
|
|
944
|
+
return d(), v("svg", h3, _3);
|
|
945
945
|
}
|
|
946
946
|
const g3 = /* @__PURE__ */ M(p3, [["render", m3]]), b3 = {}, y3 = {
|
|
947
947
|
width: "24",
|
|
@@ -956,7 +956,7 @@ const g3 = /* @__PURE__ */ M(p3, [["render", m3]]), b3 = {}, y3 = {
|
|
|
956
956
|
w3
|
|
957
957
|
];
|
|
958
958
|
function M3(s, e) {
|
|
959
|
-
return d(),
|
|
959
|
+
return d(), v("svg", y3, $3);
|
|
960
960
|
}
|
|
961
961
|
const I3 = /* @__PURE__ */ M(b3, [["render", M3]]), S3 = {}, L3 = {
|
|
962
962
|
width: "24",
|
|
@@ -971,7 +971,7 @@ const I3 = /* @__PURE__ */ M(b3, [["render", M3]]), S3 = {}, L3 = {
|
|
|
971
971
|
A3
|
|
972
972
|
];
|
|
973
973
|
function E3(s, e) {
|
|
974
|
-
return d(),
|
|
974
|
+
return d(), v("svg", L3, V3);
|
|
975
975
|
}
|
|
976
976
|
const H3 = /* @__PURE__ */ M(S3, [["render", E3]]), T3 = {}, k3 = {
|
|
977
977
|
width: "24",
|
|
@@ -986,7 +986,7 @@ const H3 = /* @__PURE__ */ M(S3, [["render", E3]]), T3 = {}, k3 = {
|
|
|
986
986
|
O3
|
|
987
987
|
];
|
|
988
988
|
function Z3(s, e) {
|
|
989
|
-
return d(),
|
|
989
|
+
return d(), v("svg", k3, B3);
|
|
990
990
|
}
|
|
991
991
|
const D3 = /* @__PURE__ */ M(T3, [["render", Z3]]), P3 = {}, N3 = {
|
|
992
992
|
width: "24",
|
|
@@ -1001,7 +1001,7 @@ const D3 = /* @__PURE__ */ M(T3, [["render", Z3]]), P3 = {}, N3 = {
|
|
|
1001
1001
|
R3
|
|
1002
1002
|
];
|
|
1003
1003
|
function q3(s, e) {
|
|
1004
|
-
return d(),
|
|
1004
|
+
return d(), v("svg", N3, U3);
|
|
1005
1005
|
}
|
|
1006
1006
|
const j3 = /* @__PURE__ */ M(P3, [["render", q3]]), z3 = {}, x3 = {
|
|
1007
1007
|
width: "24",
|
|
@@ -1012,13 +1012,13 @@ const j3 = /* @__PURE__ */ M(P3, [["render", q3]]), z3 = {}, x3 = {
|
|
|
1012
1012
|
}, K3 = /* @__PURE__ */ u("path", {
|
|
1013
1013
|
d: "M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",
|
|
1014
1014
|
fill: "black"
|
|
1015
|
-
}, null, -1),
|
|
1015
|
+
}, null, -1), F3 = [
|
|
1016
1016
|
K3
|
|
1017
1017
|
];
|
|
1018
|
-
function
|
|
1019
|
-
return d(),
|
|
1018
|
+
function G3(s, e) {
|
|
1019
|
+
return d(), v("svg", x3, F3);
|
|
1020
1020
|
}
|
|
1021
|
-
const Y3 = /* @__PURE__ */ M(z3, [["render",
|
|
1021
|
+
const Y3 = /* @__PURE__ */ M(z3, [["render", G3]]), X3 = {}, W3 = {
|
|
1022
1022
|
width: "24",
|
|
1023
1023
|
height: "24",
|
|
1024
1024
|
viewBox: "0 0 24 24",
|
|
@@ -1031,7 +1031,7 @@ const Y3 = /* @__PURE__ */ M(z3, [["render", F3]]), X3 = {}, W3 = {
|
|
|
1031
1031
|
J3
|
|
1032
1032
|
];
|
|
1033
1033
|
function e5(s, e) {
|
|
1034
|
-
return d(),
|
|
1034
|
+
return d(), v("svg", W3, Q3);
|
|
1035
1035
|
}
|
|
1036
1036
|
const t5 = /* @__PURE__ */ M(X3, [["render", e5]]), s5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1037
1037
|
__proto__: null,
|
|
@@ -1126,7 +1126,7 @@ const t5 = /* @__PURE__ */ M(X3, [["render", e5]]), s5 = /* @__PURE__ */ Object.
|
|
|
1126
1126
|
},
|
|
1127
1127
|
setup(s) {
|
|
1128
1128
|
const e = s, t = m(() => s5[e.name]);
|
|
1129
|
-
return (n, a) => (d(),
|
|
1129
|
+
return (n, a) => (d(), G(F1(t.value), {
|
|
1130
1130
|
class: j(["ao-icon", `ao-icon--${n.size}`])
|
|
1131
1131
|
}, null, 8, ["class"]));
|
|
1132
1132
|
}
|
|
@@ -1150,7 +1150,7 @@ const n5 = ["type"], i5 = {
|
|
|
1150
1150
|
},
|
|
1151
1151
|
setup(s) {
|
|
1152
1152
|
const e = s, t = m(() => e.size), n = m(() => e.isLoading ? "Loading" : e.iconName);
|
|
1153
|
-
return (a, i) => (d(),
|
|
1153
|
+
return (a, i) => (d(), v("button", {
|
|
1154
1154
|
type: a.type,
|
|
1155
1155
|
class: j([
|
|
1156
1156
|
"ao-button",
|
|
@@ -1163,10 +1163,10 @@ const n5 = ["type"], i5 = {
|
|
|
1163
1163
|
a.$attrs.disabled ? "ao-button--is-disabled" : ""
|
|
1164
1164
|
])
|
|
1165
1165
|
}, [
|
|
1166
|
-
|
|
1167
|
-
a.label ? (d(),
|
|
1166
|
+
F(a.$slots, "default", {}, () => [
|
|
1167
|
+
a.label ? (d(), v("span", i5, x(a.label), 1)) : A("", !0)
|
|
1168
1168
|
]),
|
|
1169
|
-
n.value ? (d(),
|
|
1169
|
+
n.value ? (d(), G(v1, {
|
|
1170
1170
|
key: 0,
|
|
1171
1171
|
name: n.value,
|
|
1172
1172
|
class: "ao-button__icon",
|
|
@@ -1186,43 +1186,43 @@ const M1 = /* @__PURE__ */ Q({
|
|
|
1186
1186
|
},
|
|
1187
1187
|
emits: ["update:title", "toggleIsEditing"],
|
|
1188
1188
|
setup(s, { emit: e }) {
|
|
1189
|
-
const t = s, n =
|
|
1190
|
-
const
|
|
1191
|
-
e("update:title",
|
|
1192
|
-
}, l = () => {
|
|
1193
|
-
e("toggleIsEditing", !1);
|
|
1194
|
-
},
|
|
1195
|
-
|
|
1189
|
+
const t = s, n = W(null), a = m(() => t.isEditing ? "input" : t.tag || `h${t.level}`), i = (r) => {
|
|
1190
|
+
const y = (r.target || null).value || "";
|
|
1191
|
+
e("update:title", y);
|
|
1192
|
+
}, l = W(!1), o = () => {
|
|
1193
|
+
l.value && (l.value = !1, e("toggleIsEditing", !1));
|
|
1194
|
+
}, p = (r) => {
|
|
1195
|
+
r.stopPropagation(), e("toggleIsEditing", !0);
|
|
1196
1196
|
};
|
|
1197
|
-
return d1(t, async (
|
|
1198
|
-
|
|
1197
|
+
return d1(t, async (r) => {
|
|
1198
|
+
r.isEditing && await x1(() => {
|
|
1199
1199
|
setTimeout(() => {
|
|
1200
|
-
var
|
|
1201
|
-
const
|
|
1200
|
+
var y, I;
|
|
1201
|
+
const C = (I = (y = n.value) == null ? void 0 : y.parentElement) == null ? void 0 : I.querySelector(
|
|
1202
1202
|
".ao-title"
|
|
1203
1203
|
);
|
|
1204
|
-
|
|
1204
|
+
C == null || C.focus(), l.value = !0, C == null || C.select();
|
|
1205
1205
|
}, 1);
|
|
1206
1206
|
});
|
|
1207
|
-
}), (
|
|
1208
|
-
ref: (
|
|
1207
|
+
}), (r, C) => (d(), G(F1(a.value), T1({
|
|
1208
|
+
ref: (y) => n.value = y,
|
|
1209
1209
|
class: [
|
|
1210
1210
|
"ao-title",
|
|
1211
|
-
`ao-title--${
|
|
1212
|
-
|
|
1213
|
-
|
|
1211
|
+
`ao-title--${r.level}`,
|
|
1212
|
+
r.color ? `ao-title--${r.color}` : "",
|
|
1213
|
+
r.isEditing ? "ao-field__input ao-title--editing" : "ao-title--readonly"
|
|
1214
1214
|
],
|
|
1215
|
-
type:
|
|
1216
|
-
value:
|
|
1215
|
+
type: r.isEditing ? "text" : null,
|
|
1216
|
+
value: r.isEditing ? r.title : null,
|
|
1217
1217
|
tabindex: "0"
|
|
1218
1218
|
}, It(
|
|
1219
|
-
|
|
1220
|
-
click:
|
|
1221
|
-
focus:
|
|
1219
|
+
r.isEditing ? { change: i } : {
|
|
1220
|
+
click: p,
|
|
1221
|
+
focus: p
|
|
1222
1222
|
}
|
|
1223
|
-
), { onBlur:
|
|
1223
|
+
), { onBlur: o }), {
|
|
1224
1224
|
default: K(() => [
|
|
1225
|
-
$e(x(
|
|
1225
|
+
$e(x(r.title), 1)
|
|
1226
1226
|
]),
|
|
1227
1227
|
_: 1
|
|
1228
1228
|
}, 16, ["class", "type", "value"]));
|
|
@@ -1262,23 +1262,23 @@ const o5 = {
|
|
|
1262
1262
|
},
|
|
1263
1263
|
emits: ["update:title"],
|
|
1264
1264
|
setup(s, { emit: e }) {
|
|
1265
|
-
const t =
|
|
1265
|
+
const t = W(!1), n = (i) => {
|
|
1266
1266
|
t.value = i;
|
|
1267
1267
|
}, a = (i) => {
|
|
1268
1268
|
e("update:title", i);
|
|
1269
1269
|
};
|
|
1270
|
-
return (i, l) => (d(),
|
|
1270
|
+
return (i, l) => (d(), G(F1(i.tagName), {
|
|
1271
1271
|
class: j(["ao-card-horiz", { "ao-card-horiz--active": i.isActive }])
|
|
1272
1272
|
}, {
|
|
1273
1273
|
default: K(() => [
|
|
1274
|
-
i.isDraggable ? (d(),
|
|
1274
|
+
i.isDraggable ? (d(), v("div", o5, [
|
|
1275
1275
|
V(v1, {
|
|
1276
1276
|
name: "DragIndicator",
|
|
1277
1277
|
class: "ao-card-horiz__drag-handle"
|
|
1278
1278
|
})
|
|
1279
1279
|
])) : A("", !0),
|
|
1280
1280
|
u("div", r5, [
|
|
1281
|
-
i.icon ? (d(),
|
|
1281
|
+
i.icon ? (d(), v("div", u5, [
|
|
1282
1282
|
V(v1, {
|
|
1283
1283
|
class: "ao-card-horiz__icon",
|
|
1284
1284
|
name: i.icon,
|
|
@@ -1298,22 +1298,22 @@ const o5 = {
|
|
|
1298
1298
|
onToggleIsEditing: n,
|
|
1299
1299
|
"onUpdate:title": a
|
|
1300
1300
|
}, null, 8, ["title", "is-editing"]),
|
|
1301
|
-
|
|
1302
|
-
i.subtitle ? (d(),
|
|
1301
|
+
F(i.$slots, "subtitle", {}, () => [
|
|
1302
|
+
i.subtitle ? (d(), v("span", c5, x(i.subtitle), 1)) : A("", !0)
|
|
1303
1303
|
])
|
|
1304
1304
|
]),
|
|
1305
|
-
i.$slots.header ? (d(),
|
|
1306
|
-
|
|
1305
|
+
i.$slots.header ? (d(), v("div", d5, [
|
|
1306
|
+
F(i.$slots, "header")
|
|
1307
1307
|
])) : A("", !0)
|
|
1308
1308
|
]),
|
|
1309
|
-
i.$slots.default ? (d(),
|
|
1310
|
-
|
|
1309
|
+
i.$slots.default ? (d(), v("div", C5, [
|
|
1310
|
+
F(i.$slots, "default")
|
|
1311
1311
|
])) : A("", !0),
|
|
1312
|
-
i.$slots.footer ? (d(),
|
|
1313
|
-
|
|
1312
|
+
i.$slots.footer ? (d(), v("div", v5, [
|
|
1313
|
+
F(i.$slots, "footer")
|
|
1314
1314
|
])) : A("", !0),
|
|
1315
|
-
i.$slots.secondary ? (d(),
|
|
1316
|
-
|
|
1315
|
+
i.$slots.secondary ? (d(), v("div", p5, [
|
|
1316
|
+
F(i.$slots, "secondary")
|
|
1317
1317
|
])) : A("", !0)
|
|
1318
1318
|
]),
|
|
1319
1319
|
_: 3
|
|
@@ -1334,7 +1334,7 @@ const h5 = /* @__PURE__ */ Q({
|
|
|
1334
1334
|
const e = s, t = m(() => e.clickable ? "button" : "span"), n = m(
|
|
1335
1335
|
() => t.value === "button" ? { type: "button" } : {}
|
|
1336
1336
|
);
|
|
1337
|
-
return (a, i) => (d(),
|
|
1337
|
+
return (a, i) => (d(), v("div", {
|
|
1338
1338
|
class: j([
|
|
1339
1339
|
"ao-tag",
|
|
1340
1340
|
a.color ? `ao-tag--${a.color}` : "",
|
|
@@ -1343,7 +1343,7 @@ const h5 = /* @__PURE__ */ Q({
|
|
|
1343
1343
|
a.variant ? `ao-tag--${a.variant}` : ""
|
|
1344
1344
|
])
|
|
1345
1345
|
}, [
|
|
1346
|
-
(d(),
|
|
1346
|
+
(d(), G(F1(t.value), T1({ class: "ao-tag__label" }, n.value, {
|
|
1347
1347
|
onClick: i[0] || (i[0] = (l) => a.$emit("click", l))
|
|
1348
1348
|
}), {
|
|
1349
1349
|
default: K(() => [
|
|
@@ -1351,7 +1351,7 @@ const h5 = /* @__PURE__ */ Q({
|
|
|
1351
1351
|
]),
|
|
1352
1352
|
_: 1
|
|
1353
1353
|
}, 16)),
|
|
1354
|
-
a.closable ? (d(),
|
|
1354
|
+
a.closable ? (d(), v("button", {
|
|
1355
1355
|
key: 0,
|
|
1356
1356
|
class: "ao-tag__close",
|
|
1357
1357
|
onClick: i[1] || (i[1] = (l) => a.$emit("close", l))
|
|
@@ -1365,7 +1365,7 @@ const h5 = /* @__PURE__ */ Q({
|
|
|
1365
1365
|
], 2));
|
|
1366
1366
|
}
|
|
1367
1367
|
});
|
|
1368
|
-
var _1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, u1 = {},
|
|
1368
|
+
var _1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, u1 = {}, Fe = {}, j1 = {}, G1 = {}, N1 = {}, ie = {};
|
|
1369
1369
|
Object.defineProperty(ie, "__esModule", { value: !0 });
|
|
1370
1370
|
ie.lexoHelper = void 0;
|
|
1371
1371
|
ie.lexoHelper = {
|
|
@@ -1440,8 +1440,8 @@ class P {
|
|
|
1440
1440
|
const a = Math.max(t.length, n.length), i = new Array(a).fill(0);
|
|
1441
1441
|
let l = 0;
|
|
1442
1442
|
for (let o = 0; o < a; ++o) {
|
|
1443
|
-
const
|
|
1444
|
-
let C =
|
|
1443
|
+
const p = o < t.length ? t[o] : 0, r = o < n.length ? n[o] : 0;
|
|
1444
|
+
let C = p + r + l;
|
|
1445
1445
|
for (l = 0; C >= e.getBase(); C -= e.getBase())
|
|
1446
1446
|
++l;
|
|
1447
1447
|
i[o] = C;
|
|
@@ -1605,8 +1605,8 @@ P.ONE_MAG = [1];
|
|
|
1605
1605
|
P.NEGATIVE_SIGN = -1;
|
|
1606
1606
|
P.ZERO_SIGN = 0;
|
|
1607
1607
|
P.POSITIVE_SIGN = 1;
|
|
1608
|
-
Object.defineProperty(
|
|
1609
|
-
|
|
1608
|
+
Object.defineProperty(G1, "__esModule", { value: !0 });
|
|
1609
|
+
G1.LexoDecimal = void 0;
|
|
1610
1610
|
const z1 = N1, g5 = Y1;
|
|
1611
1611
|
class h1 {
|
|
1612
1612
|
constructor(e, t) {
|
|
@@ -1711,9 +1711,9 @@ class h1 {
|
|
|
1711
1711
|
return this.format();
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
|
-
|
|
1714
|
+
G1.LexoDecimal = h1;
|
|
1715
1715
|
var te = {}, qe;
|
|
1716
|
-
function
|
|
1716
|
+
function Ge() {
|
|
1717
1717
|
if (qe)
|
|
1718
1718
|
return te;
|
|
1719
1719
|
qe = 1, Object.defineProperty(te, "__esModule", { value: !0 });
|
|
@@ -1739,8 +1739,8 @@ function Fe() {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
static from(a) {
|
|
1741
1741
|
const i = s.LexoInteger.parse(a, e.LexoRank.NUMERAL_SYSTEM), l = t.VALUES, o = l.length;
|
|
1742
|
-
for (let
|
|
1743
|
-
const r = l[
|
|
1742
|
+
for (let p = 0; p < o; ++p) {
|
|
1743
|
+
const r = l[p];
|
|
1744
1744
|
if (r.value.equals(i))
|
|
1745
1745
|
return r;
|
|
1746
1746
|
}
|
|
@@ -1749,9 +1749,9 @@ function Fe() {
|
|
|
1749
1749
|
static resolve(a) {
|
|
1750
1750
|
const i = t.VALUES, l = i.length;
|
|
1751
1751
|
for (let o = 0; o < l; ++o) {
|
|
1752
|
-
const
|
|
1753
|
-
if (
|
|
1754
|
-
return
|
|
1752
|
+
const p = i[o];
|
|
1753
|
+
if (p.equals(t.from(a.toString())))
|
|
1754
|
+
return p;
|
|
1755
1755
|
}
|
|
1756
1756
|
throw new Error("No bucket found with id " + a);
|
|
1757
1757
|
}
|
|
@@ -1886,7 +1886,7 @@ function Xe() {
|
|
|
1886
1886
|
if (je)
|
|
1887
1887
|
return j1;
|
|
1888
1888
|
je = 1, Object.defineProperty(j1, "__esModule", { value: !0 }), j1.LexoRank = void 0;
|
|
1889
|
-
const s =
|
|
1889
|
+
const s = G1, e = Ge(), t = Y1, n = Se;
|
|
1890
1890
|
class a {
|
|
1891
1891
|
constructor(l, o) {
|
|
1892
1892
|
this.value = l.format() + "|" + a.formatDecimal(o), this.bucket = l, this.decimal = o;
|
|
@@ -1934,7 +1934,7 @@ function Xe() {
|
|
|
1934
1934
|
static between(l, o) {
|
|
1935
1935
|
if (l.getSystem().getBase() !== o.getSystem().getBase())
|
|
1936
1936
|
throw new Error("Expected same system");
|
|
1937
|
-
let
|
|
1937
|
+
let p = l, r = o, C;
|
|
1938
1938
|
if (l.getScale() < o.getScale()) {
|
|
1939
1939
|
if (C = o.setScale(l.getScale(), !1), l.compareTo(C) >= 0)
|
|
1940
1940
|
return a.mid(l, o);
|
|
@@ -1943,42 +1943,42 @@ function Xe() {
|
|
|
1943
1943
|
if (l.getScale() > r.getScale()) {
|
|
1944
1944
|
if (C = l.setScale(r.getScale(), !0), C.compareTo(r) >= 0)
|
|
1945
1945
|
return a.mid(l, o);
|
|
1946
|
-
|
|
1946
|
+
p = C;
|
|
1947
1947
|
}
|
|
1948
1948
|
let y;
|
|
1949
|
-
for (let k =
|
|
1950
|
-
const N = k - 1, R =
|
|
1949
|
+
for (let k = p.getScale(); k > 0; r = y) {
|
|
1950
|
+
const N = k - 1, R = p.setScale(N, !0);
|
|
1951
1951
|
if (y = r.setScale(N, !1), R.compareTo(y) === 0)
|
|
1952
1952
|
return a.checkMid(l, o, R);
|
|
1953
1953
|
if (R.compareTo(y) > 0)
|
|
1954
1954
|
break;
|
|
1955
|
-
k = N,
|
|
1955
|
+
k = N, p = R;
|
|
1956
1956
|
}
|
|
1957
|
-
let
|
|
1958
|
-
for (let k =
|
|
1957
|
+
let I = a.middleInternal(l, o, p, r), B;
|
|
1958
|
+
for (let k = I.getScale(); k > 0; k = B) {
|
|
1959
1959
|
B = k - 1;
|
|
1960
|
-
const N =
|
|
1960
|
+
const N = I.setScale(B);
|
|
1961
1961
|
if (l.compareTo(N) >= 0 || N.compareTo(o) >= 0)
|
|
1962
1962
|
break;
|
|
1963
|
-
|
|
1963
|
+
I = N;
|
|
1964
1964
|
}
|
|
1965
|
-
return
|
|
1965
|
+
return I;
|
|
1966
1966
|
}
|
|
1967
1967
|
static parse(l) {
|
|
1968
|
-
const o = l.split("|"),
|
|
1969
|
-
return new a(
|
|
1968
|
+
const o = l.split("|"), p = e.default.from(o[0]), r = s.LexoDecimal.parse(o[1], a.NUMERAL_SYSTEM);
|
|
1969
|
+
return new a(p, r);
|
|
1970
1970
|
}
|
|
1971
1971
|
static from(l, o) {
|
|
1972
1972
|
if (o.getSystem().getBase() !== a.NUMERAL_SYSTEM.getBase())
|
|
1973
1973
|
throw new Error("Expected different system");
|
|
1974
1974
|
return new a(l, o);
|
|
1975
1975
|
}
|
|
1976
|
-
static middleInternal(l, o,
|
|
1977
|
-
const C = a.mid(
|
|
1976
|
+
static middleInternal(l, o, p, r) {
|
|
1977
|
+
const C = a.mid(p, r);
|
|
1978
1978
|
return a.checkMid(l, o, C);
|
|
1979
1979
|
}
|
|
1980
|
-
static checkMid(l, o,
|
|
1981
|
-
return l.compareTo(
|
|
1980
|
+
static checkMid(l, o, p) {
|
|
1981
|
+
return l.compareTo(p) >= 0 || p.compareTo(o) >= 0 ? a.mid(l, o) : p;
|
|
1982
1982
|
}
|
|
1983
1983
|
static mid(l, o) {
|
|
1984
1984
|
const r = l.add(o).multiply(s.LexoDecimal.half(l.getSystem())), C = l.getScale() > o.getScale() ? l.getScale() : o.getScale();
|
|
@@ -1986,35 +1986,35 @@ function Xe() {
|
|
|
1986
1986
|
const y = r.setScale(C, !1);
|
|
1987
1987
|
if (y.compareTo(l) > 0)
|
|
1988
1988
|
return y;
|
|
1989
|
-
const
|
|
1990
|
-
if (
|
|
1991
|
-
return
|
|
1989
|
+
const I = r.setScale(C, !0);
|
|
1990
|
+
if (I.compareTo(o) < 0)
|
|
1991
|
+
return I;
|
|
1992
1992
|
}
|
|
1993
1993
|
return r;
|
|
1994
1994
|
}
|
|
1995
1995
|
static formatDecimal(l) {
|
|
1996
|
-
const o = l.format(),
|
|
1996
|
+
const o = l.format(), p = new t.default(o);
|
|
1997
1997
|
let r = o.indexOf(a.NUMERAL_SYSTEM.getRadixPointChar());
|
|
1998
1998
|
const C = a.NUMERAL_SYSTEM.toChar(0);
|
|
1999
|
-
for (r < 0 && (r = o.length,
|
|
2000
|
-
|
|
2001
|
-
for (;
|
|
2002
|
-
|
|
2003
|
-
return
|
|
1999
|
+
for (r < 0 && (r = o.length, p.append(a.NUMERAL_SYSTEM.getRadixPointChar())); r < 6; )
|
|
2000
|
+
p.insert(0, C), ++r;
|
|
2001
|
+
for (; p[p.length - 1] === C; )
|
|
2002
|
+
p.length = p.length - 1;
|
|
2003
|
+
return p.toString();
|
|
2004
2004
|
}
|
|
2005
2005
|
genPrev() {
|
|
2006
2006
|
if (this.isMax())
|
|
2007
2007
|
return new a(this.bucket, a.INITIAL_MAX_DECIMAL);
|
|
2008
2008
|
const l = this.decimal.floor();
|
|
2009
|
-
let
|
|
2010
|
-
return
|
|
2009
|
+
let p = s.LexoDecimal.from(l).subtract(a.EIGHT_DECIMAL);
|
|
2010
|
+
return p.compareTo(a.MIN_DECIMAL) <= 0 && (p = a.between(a.MIN_DECIMAL, this.decimal)), new a(this.bucket, p);
|
|
2011
2011
|
}
|
|
2012
2012
|
genNext() {
|
|
2013
2013
|
if (this.isMin())
|
|
2014
2014
|
return new a(this.bucket, a.INITIAL_MIN_DECIMAL);
|
|
2015
2015
|
const l = this.decimal.ceil();
|
|
2016
|
-
let
|
|
2017
|
-
return
|
|
2016
|
+
let p = s.LexoDecimal.from(l).add(a.EIGHT_DECIMAL);
|
|
2017
|
+
return p.compareTo(a.MAX_DECIMAL) >= 0 && (p = a.between(this.decimal, a.MAX_DECIMAL)), new a(this.bucket, p);
|
|
2018
2018
|
}
|
|
2019
2019
|
between(l) {
|
|
2020
2020
|
if (!this.bucket.equals(l.bucket))
|
|
@@ -2072,8 +2072,8 @@ function Xe() {
|
|
|
2072
2072
|
for (var i in n)
|
|
2073
2073
|
i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
|
|
2074
2074
|
};
|
|
2075
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), t(Xe(), s), t(
|
|
2076
|
-
})(
|
|
2075
|
+
Object.defineProperty(s, "__esModule", { value: !0 }), t(Xe(), s), t(Ge(), s), t(G1, s), t(N1, s);
|
|
2076
|
+
})(Fe);
|
|
2077
2077
|
(function(s) {
|
|
2078
2078
|
var e = _1 && _1.__createBinding || (Object.create ? function(n, a, i, l) {
|
|
2079
2079
|
l === void 0 && (l = i);
|
|
@@ -2087,7 +2087,7 @@ function Xe() {
|
|
|
2087
2087
|
for (var i in n)
|
|
2088
2088
|
i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
|
|
2089
2089
|
};
|
|
2090
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), t(
|
|
2090
|
+
Object.defineProperty(s, "__esModule", { value: !0 }), t(Fe, s), t(Se, s);
|
|
2091
2091
|
})(u1);
|
|
2092
2092
|
function We(s) {
|
|
2093
2093
|
return (s == null ? void 0 : s.reduce((e, t) => {
|
|
@@ -2136,13 +2136,13 @@ const S5 = ["title"], L5 = { className: "ao-avatar__initials" }, Ae = /* @__PURE
|
|
|
2136
2136
|
const n = I5(s.userName), a = (i) => {
|
|
2137
2137
|
e("close", i);
|
|
2138
2138
|
};
|
|
2139
|
-
return (i, l) => (d(),
|
|
2139
|
+
return (i, l) => (d(), v("div", {
|
|
2140
2140
|
role: "img",
|
|
2141
2141
|
class: j(["ao-avatar", `ao-avatar--${i.size}`]),
|
|
2142
2142
|
title: i.userName
|
|
2143
2143
|
}, [
|
|
2144
2144
|
u("span", L5, x(t1(n)), 1),
|
|
2145
|
-
i.isClosable ? (d(),
|
|
2145
|
+
i.isClosable ? (d(), G(g1, {
|
|
2146
2146
|
key: 0,
|
|
2147
2147
|
"icon-name": "CloseRounded",
|
|
2148
2148
|
class: "ao-avatar__close",
|
|
@@ -2159,7 +2159,7 @@ const A5 = { class: "ao-card-template__subitems" }, V5 = { class: "ao-card-templ
|
|
|
2159
2159
|
}, P5 = { class: "ao-card-template__footer" }, N5 = { class: "ao-card-template__col ao-card-template__col--updated-at" }, R5 = { class: "ao-card-template__col-title" }, U5 = { class: "ao-card-template__col-label" }, q5 = { class: "ao-card-template__col-body" }, j5 = {
|
|
2160
2160
|
key: 0,
|
|
2161
2161
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
2162
|
-
}, z5 = { class: "ao-card-template__col-title" }, x5 = { class: "ao-card-template__col-label" }, K5 = { class: "ao-card-template__col-body" },
|
|
2162
|
+
}, z5 = { class: "ao-card-template__col-title" }, x5 = { class: "ao-card-template__col-label" }, K5 = { class: "ao-card-template__col-body" }, F5 = /* @__PURE__ */ Q({
|
|
2163
2163
|
__name: "AoCardTemplate",
|
|
2164
2164
|
props: {
|
|
2165
2165
|
title: {},
|
|
@@ -2170,7 +2170,7 @@ const A5 = { class: "ao-card-template__subitems" }, V5 = { class: "ao-card-templ
|
|
|
2170
2170
|
updatedBy: {}
|
|
2171
2171
|
},
|
|
2172
2172
|
setup(s) {
|
|
2173
|
-
return (e, t) => (d(),
|
|
2173
|
+
return (e, t) => (d(), G(Ke, {
|
|
2174
2174
|
title: e.title,
|
|
2175
2175
|
"is-draggable": !0
|
|
2176
2176
|
}, {
|
|
@@ -2202,8 +2202,8 @@ const A5 = { class: "ao-card-template__subitems" }, V5 = { class: "ao-card-templ
|
|
|
2202
2202
|
}),
|
|
2203
2203
|
u("span", Z5, x(e.$t("template.phases.title")), 1)
|
|
2204
2204
|
]),
|
|
2205
|
-
e.phases ? (d(),
|
|
2206
|
-
(d(!0),
|
|
2205
|
+
e.phases ? (d(), v("ul", D5, [
|
|
2206
|
+
(d(!0), v(f1, null, $1(e.phases, (n) => (d(), G(h5, {
|
|
2207
2207
|
key: n.id,
|
|
2208
2208
|
label: n.name || n.id,
|
|
2209
2209
|
color: "primary",
|
|
@@ -2223,7 +2223,7 @@ const A5 = { class: "ao-card-template__subitems" }, V5 = { class: "ao-card-templ
|
|
|
2223
2223
|
u("span", null, x(e.updatedAt), 1)
|
|
2224
2224
|
])
|
|
2225
2225
|
]),
|
|
2226
|
-
e.updatedBy ? (d(),
|
|
2226
|
+
e.updatedBy ? (d(), v("div", j5, [
|
|
2227
2227
|
u("div", z5, [
|
|
2228
2228
|
u("span", x5, x(e.$t("template.updatedBy.label")), 1)
|
|
2229
2229
|
]),
|
|
@@ -2237,25 +2237,25 @@ const A5 = { class: "ao-card-template__subitems" }, V5 = { class: "ao-card-templ
|
|
|
2237
2237
|
}, 8, ["title"]));
|
|
2238
2238
|
}
|
|
2239
2239
|
});
|
|
2240
|
-
const
|
|
2240
|
+
const G5 = { class: "ao-page-header" }, Y5 = { class: "ao-page-header-main" }, X5 = { class: "ao-page-header-secondary" }, Je = /* @__PURE__ */ Q({
|
|
2241
2241
|
__name: "AoPageHeader",
|
|
2242
2242
|
props: {
|
|
2243
2243
|
canGoBack: { type: Boolean }
|
|
2244
2244
|
},
|
|
2245
2245
|
emits: ["goBack"],
|
|
2246
2246
|
setup(s) {
|
|
2247
|
-
return (e, t) => (d(),
|
|
2247
|
+
return (e, t) => (d(), v("header", G5, [
|
|
2248
2248
|
u("div", Y5, [
|
|
2249
|
-
e.canGoBack ? (d(),
|
|
2249
|
+
e.canGoBack ? (d(), G(g1, {
|
|
2250
2250
|
key: 0,
|
|
2251
2251
|
"icon-name": "ArrowBackRounded",
|
|
2252
2252
|
variant: "ghost",
|
|
2253
2253
|
onClick: t[0] || (t[0] = (n) => e.$emit("goBack"))
|
|
2254
2254
|
})) : A("", !0),
|
|
2255
|
-
|
|
2255
|
+
F(e.$slots, "primary")
|
|
2256
2256
|
]),
|
|
2257
2257
|
u("div", X5, [
|
|
2258
|
-
|
|
2258
|
+
F(e.$slots, "secondary")
|
|
2259
2259
|
])
|
|
2260
2260
|
]));
|
|
2261
2261
|
}
|
|
@@ -2277,7 +2277,7 @@ const W5 = ["type"], J5 = {
|
|
|
2277
2277
|
},
|
|
2278
2278
|
setup(s) {
|
|
2279
2279
|
const e = s, t = m(() => e.size), n = m(() => e.isLoading ? "Loading" : e.iconName);
|
|
2280
|
-
return (a, i) => (d(),
|
|
2280
|
+
return (a, i) => (d(), v("button", {
|
|
2281
2281
|
type: a.type,
|
|
2282
2282
|
class: j([
|
|
2283
2283
|
"ao-button-card",
|
|
@@ -2286,10 +2286,10 @@ const W5 = ["type"], J5 = {
|
|
|
2286
2286
|
a.$attrs.disabled ? "ao-button-card--is-disabled" : ""
|
|
2287
2287
|
])
|
|
2288
2288
|
}, [
|
|
2289
|
-
|
|
2290
|
-
a.label ? (d(),
|
|
2289
|
+
F(a.$slots, "default", {}, () => [
|
|
2290
|
+
a.label ? (d(), v("span", J5, x(a.label), 1)) : A("", !0)
|
|
2291
2291
|
]),
|
|
2292
|
-
n.value ? (d(),
|
|
2292
|
+
n.value ? (d(), G(v1, {
|
|
2293
2293
|
key: 0,
|
|
2294
2294
|
name: n.value,
|
|
2295
2295
|
class: "ao-button-card__icon",
|
|
@@ -2321,16 +2321,16 @@ const Q5 = { class: "ao-card-template-item__footer" }, e7 = {
|
|
|
2321
2321
|
}, i = () => {
|
|
2322
2322
|
e("remove");
|
|
2323
2323
|
};
|
|
2324
|
-
return (l, o) => (d(),
|
|
2324
|
+
return (l, o) => (d(), G(Ke, { "onUpdate:title": t }, {
|
|
2325
2325
|
footer: K(() => [
|
|
2326
2326
|
u("ul", Q5, [
|
|
2327
|
-
(d(),
|
|
2328
|
-
l.$props[
|
|
2327
|
+
(d(), v(f1, null, $1(n, (p) => (d(), v(f1, { key: p }, [
|
|
2328
|
+
l.$props[p] ? (d(), v("li", e7, [
|
|
2329
2329
|
V(v1, {
|
|
2330
|
-
name: a[
|
|
2330
|
+
name: a[p],
|
|
2331
2331
|
size: "sm"
|
|
2332
2332
|
}, null, 8, ["name"]),
|
|
2333
|
-
u("span", t7, x(l.$props[
|
|
2333
|
+
u("span", t7, x(l.$props[p]), 1)
|
|
2334
2334
|
])) : A("", !0)
|
|
2335
2335
|
], 64))), 64))
|
|
2336
2336
|
])
|
|
@@ -2362,13 +2362,13 @@ const a7 = /* @__PURE__ */ Q({
|
|
|
2362
2362
|
var a;
|
|
2363
2363
|
return (a = e.milestones) == null ? void 0 : a.length;
|
|
2364
2364
|
}), n = m(() => e.milestones ? We(e.milestones) : 0);
|
|
2365
|
-
return (a, i) => (d(),
|
|
2365
|
+
return (a, i) => (d(), G(Ve, T1({
|
|
2366
2366
|
title: a.name,
|
|
2367
2367
|
activities: n.value,
|
|
2368
2368
|
milestones: t.value
|
|
2369
2369
|
}, a.$attrs), {
|
|
2370
2370
|
default: K(() => [
|
|
2371
|
-
|
|
2371
|
+
F(a.$slots, "default")
|
|
2372
2372
|
]),
|
|
2373
2373
|
_: 3
|
|
2374
2374
|
}, 16, ["title", "activities", "milestones"]));
|
|
@@ -2383,9 +2383,9 @@ const a7 = /* @__PURE__ */ Q({
|
|
|
2383
2383
|
var n;
|
|
2384
2384
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
2385
2385
|
});
|
|
2386
|
-
return (n, a) => (d(),
|
|
2386
|
+
return (n, a) => (d(), G(Ve, { activities: t.value }, {
|
|
2387
2387
|
default: K(() => [
|
|
2388
|
-
|
|
2388
|
+
F(n.$slots, "default")
|
|
2389
2389
|
]),
|
|
2390
2390
|
_: 3
|
|
2391
2391
|
}, 8, ["activities"]));
|
|
@@ -2446,16 +2446,16 @@ const bo = {
|
|
|
2446
2446
|
const t = s;
|
|
2447
2447
|
m({
|
|
2448
2448
|
get() {
|
|
2449
|
-
return [...t.phase.milestones || []].sort((
|
|
2449
|
+
return [...t.phase.milestones || []].sort((p, r) => p.order - r.order);
|
|
2450
2450
|
},
|
|
2451
2451
|
set(o) {
|
|
2452
|
-
const
|
|
2452
|
+
const p = o.map((r, C) => (r.order = C, r));
|
|
2453
2453
|
e("updatePhase", {
|
|
2454
2454
|
itemType: l1.PHASES,
|
|
2455
2455
|
id: t.phase.id,
|
|
2456
2456
|
templateId: t.templateId,
|
|
2457
2457
|
data: {
|
|
2458
|
-
milestones:
|
|
2458
|
+
milestones: p
|
|
2459
2459
|
}
|
|
2460
2460
|
});
|
|
2461
2461
|
}
|
|
@@ -2468,18 +2468,18 @@ const bo = {
|
|
|
2468
2468
|
e("updateMilestone", { ...o, phaseId: t.phase.id });
|
|
2469
2469
|
}, l = (o) => {
|
|
2470
2470
|
if (o.moved) {
|
|
2471
|
-
const
|
|
2471
|
+
const p = Le(o, t.phase.milestones);
|
|
2472
2472
|
e("updateItem", {
|
|
2473
2473
|
itemType: l1.MILESTONES,
|
|
2474
2474
|
id: o.moved.element.id,
|
|
2475
2475
|
templateId: t.templateId,
|
|
2476
2476
|
data: {
|
|
2477
|
-
rank:
|
|
2477
|
+
rank: p
|
|
2478
2478
|
}
|
|
2479
2479
|
});
|
|
2480
2480
|
}
|
|
2481
2481
|
};
|
|
2482
|
-
return (o,
|
|
2482
|
+
return (o, p) => o.phase ? (d(), G(t1(le), {
|
|
2483
2483
|
key: 0,
|
|
2484
2484
|
"model-value": o.phase.milestones,
|
|
2485
2485
|
class: "ao-templates__list",
|
|
@@ -2496,7 +2496,7 @@ const bo = {
|
|
|
2496
2496
|
})
|
|
2497
2497
|
]),
|
|
2498
2498
|
item: K(({ element: r }) => [
|
|
2499
|
-
(d(),
|
|
2499
|
+
(d(), G(l7, {
|
|
2500
2500
|
key: r.id,
|
|
2501
2501
|
title: r.name,
|
|
2502
2502
|
activities: r.activities,
|
|
@@ -2534,9 +2534,9 @@ const bo = {
|
|
|
2534
2534
|
var n;
|
|
2535
2535
|
return ((n = e.subtasks) == null ? void 0 : n.length) || 0;
|
|
2536
2536
|
});
|
|
2537
|
-
return (n, a) => (d(),
|
|
2537
|
+
return (n, a) => (d(), G(Ve, { subtasks: t.value }, {
|
|
2538
2538
|
default: K(() => [
|
|
2539
|
-
|
|
2539
|
+
F(n.$slots, "default")
|
|
2540
2540
|
]),
|
|
2541
2541
|
_: 3
|
|
2542
2542
|
}, 8, ["subtasks"]));
|
|
@@ -2570,22 +2570,22 @@ const bo = {
|
|
|
2570
2570
|
});
|
|
2571
2571
|
}, l = m({
|
|
2572
2572
|
get() {
|
|
2573
|
-
return [...t.milestone.activities || []].sort((
|
|
2573
|
+
return [...t.milestone.activities || []].sort((p, r) => p.order - r.order);
|
|
2574
2574
|
},
|
|
2575
2575
|
set(o) {
|
|
2576
|
-
const
|
|
2576
|
+
const p = o.map((r, C) => (r.order = C, r));
|
|
2577
2577
|
e("updateMilestone", {
|
|
2578
2578
|
id: t.milestone.id,
|
|
2579
2579
|
order: t.milestone.order,
|
|
2580
2580
|
phaseId: t.phaseId,
|
|
2581
|
-
activities:
|
|
2581
|
+
activities: p
|
|
2582
2582
|
});
|
|
2583
2583
|
}
|
|
2584
2584
|
});
|
|
2585
|
-
return (o,
|
|
2585
|
+
return (o, p) => o.milestone ? (d(), G(t1(le), {
|
|
2586
2586
|
key: 0,
|
|
2587
2587
|
modelValue: l.value,
|
|
2588
|
-
"onUpdate:modelValue":
|
|
2588
|
+
"onUpdate:modelValue": p[0] || (p[0] = (r) => l.value = r),
|
|
2589
2589
|
title: o.$t("template.activities.title"),
|
|
2590
2590
|
class: "ao-templates__list",
|
|
2591
2591
|
handle: ".ao-card__drag",
|
|
@@ -2599,7 +2599,7 @@ const bo = {
|
|
|
2599
2599
|
})
|
|
2600
2600
|
]),
|
|
2601
2601
|
item: K(({ element: r }) => [
|
|
2602
|
-
(d(),
|
|
2602
|
+
(d(), G(d7, {
|
|
2603
2603
|
key: r.id,
|
|
2604
2604
|
title: r.name,
|
|
2605
2605
|
subtasks: r.subtasks,
|
|
@@ -2627,28 +2627,28 @@ function w1(s) {
|
|
|
2627
2627
|
return [null, void 0].indexOf(s) !== -1;
|
|
2628
2628
|
}
|
|
2629
2629
|
function p7(s, e, t) {
|
|
2630
|
-
const { object: n, valueProp: a, mode: i } = p1(s), l = P1().proxy, o = t.iv,
|
|
2630
|
+
const { object: n, valueProp: a, mode: i } = p1(s), l = P1().proxy, o = t.iv, p = (y, I = !0) => {
|
|
2631
2631
|
o.value = C(y);
|
|
2632
2632
|
const B = r(y);
|
|
2633
|
-
e.emit("change", B, l),
|
|
2634
|
-
}, r = (y) => n.value || w1(y) ? y : Array.isArray(y) ? y.map((
|
|
2633
|
+
e.emit("change", B, l), I && (e.emit("input", B), e.emit("update:modelValue", B));
|
|
2634
|
+
}, r = (y) => n.value || w1(y) ? y : Array.isArray(y) ? y.map((I) => I[a.value]) : y[a.value], C = (y) => w1(y) ? i.value === "single" ? {} : [] : y;
|
|
2635
2635
|
return {
|
|
2636
|
-
update:
|
|
2636
|
+
update: p
|
|
2637
2637
|
};
|
|
2638
2638
|
}
|
|
2639
2639
|
function h7(s, e) {
|
|
2640
|
-
const { value: t, modelValue: n, mode: a, valueProp: i } = p1(s), l =
|
|
2640
|
+
const { value: t, modelValue: n, mode: a, valueProp: i } = p1(s), l = W(a.value !== "single" ? [] : {}), o = n && n.value !== void 0 ? n : t, p = m(() => a.value === "single" ? l.value[i.value] : l.value.map((C) => C[i.value])), r = m(() => a.value !== "single" ? l.value.map((C) => C[i.value]).join(",") : l.value[i.value]);
|
|
2641
2641
|
return {
|
|
2642
2642
|
iv: l,
|
|
2643
2643
|
internalValue: l,
|
|
2644
2644
|
ev: o,
|
|
2645
2645
|
externalValue: o,
|
|
2646
2646
|
textValue: r,
|
|
2647
|
-
plainValue:
|
|
2647
|
+
plainValue: p
|
|
2648
2648
|
};
|
|
2649
2649
|
}
|
|
2650
2650
|
function f7(s, e, t) {
|
|
2651
|
-
const { regex: n } = p1(s), a = P1().proxy, i = t.isOpen, l = t.open, o =
|
|
2651
|
+
const { regex: n } = p1(s), a = P1().proxy, i = t.isOpen, l = t.open, o = W(null), p = W(null), r = () => {
|
|
2652
2652
|
o.value = "";
|
|
2653
2653
|
}, C = (B) => {
|
|
2654
2654
|
o.value = B.target.value;
|
|
@@ -2657,7 +2657,7 @@ function f7(s, e, t) {
|
|
|
2657
2657
|
let k = n.value;
|
|
2658
2658
|
typeof k == "string" && (k = new RegExp(k)), B.key.match(k) || B.preventDefault();
|
|
2659
2659
|
}
|
|
2660
|
-
},
|
|
2660
|
+
}, I = (B) => {
|
|
2661
2661
|
if (n && n.value) {
|
|
2662
2662
|
let N = (B.clipboardData || /* istanbul ignore next */
|
|
2663
2663
|
window.clipboardData).getData("Text"), R = n.value;
|
|
@@ -2669,22 +2669,22 @@ function f7(s, e, t) {
|
|
|
2669
2669
|
!i.value && B && l(), e.emit("search-change", B, a);
|
|
2670
2670
|
}), {
|
|
2671
2671
|
search: o,
|
|
2672
|
-
input:
|
|
2672
|
+
input: p,
|
|
2673
2673
|
clearSearch: r,
|
|
2674
2674
|
handleSearchInput: C,
|
|
2675
2675
|
handleKeypress: y,
|
|
2676
|
-
handlePaste:
|
|
2676
|
+
handlePaste: I
|
|
2677
2677
|
};
|
|
2678
2678
|
}
|
|
2679
2679
|
function _7(s, e, t) {
|
|
2680
|
-
const { groupSelect: n, mode: a, groups: i, disabledProp: l } = p1(s), o =
|
|
2680
|
+
const { groupSelect: n, mode: a, groups: i, disabledProp: l } = p1(s), o = W(null), p = (C) => {
|
|
2681
2681
|
C === void 0 || C !== null && C[l.value] || i.value && C && C.group && (a.value === "single" || !n.value) || (o.value = C);
|
|
2682
2682
|
};
|
|
2683
2683
|
return {
|
|
2684
2684
|
pointer: o,
|
|
2685
|
-
setPointer:
|
|
2685
|
+
setPointer: p,
|
|
2686
2686
|
clearPointer: () => {
|
|
2687
|
-
|
|
2687
|
+
p(null);
|
|
2688
2688
|
}
|
|
2689
2689
|
};
|
|
2690
2690
|
}
|
|
@@ -2707,11 +2707,11 @@ function b7(s, e, t) {
|
|
|
2707
2707
|
trackBy: i,
|
|
2708
2708
|
limit: l,
|
|
2709
2709
|
hideSelected: o,
|
|
2710
|
-
createTag:
|
|
2710
|
+
createTag: p,
|
|
2711
2711
|
createOption: r,
|
|
2712
2712
|
label: C,
|
|
2713
2713
|
appendNewTag: y,
|
|
2714
|
-
appendNewOption:
|
|
2714
|
+
appendNewOption: I,
|
|
2715
2715
|
multipleLabel: B,
|
|
2716
2716
|
object: k,
|
|
2717
2717
|
loading: N,
|
|
@@ -2735,11 +2735,11 @@ function b7(s, e, t) {
|
|
|
2735
2735
|
groupOptions: n1,
|
|
2736
2736
|
groupHideEmpty: b,
|
|
2737
2737
|
groupSelect: g,
|
|
2738
|
-
onCreate:
|
|
2738
|
+
onCreate: S,
|
|
2739
2739
|
disabledProp: Z,
|
|
2740
|
-
searchStart:
|
|
2740
|
+
searchStart: J,
|
|
2741
2741
|
searchFilter: i1
|
|
2742
|
-
} = p1(s), X = P1().proxy, U = t.iv, f = t.ev, T = t.search, r1 = t.clearSearch, I1 = t.update, et = t.pointer, k1 = t.clearPointer, tt = t.focus, st = t.deactivate, O1 = t.close, at = t.localize, R1 =
|
|
2742
|
+
} = p1(s), X = P1().proxy, U = t.iv, f = t.ev, T = t.search, r1 = t.clearSearch, I1 = t.update, et = t.pointer, k1 = t.clearPointer, tt = t.focus, st = t.deactivate, O1 = t.close, at = t.localize, R1 = W([]), V1 = W([]), b1 = W(!1), de = W(null), Ce = W(H1.value && l.value === -1 ? 10 : l.value), He = m(() => p.value || r.value || !1), lt = m(() => y.value !== void 0 ? y.value : I.value !== void 0 ? I.value : !0), E1 = m(() => {
|
|
2743
2743
|
if (c1.value) {
|
|
2744
2744
|
let c = X1.value || /* istanbul ignore next */
|
|
2745
2745
|
[], w = [];
|
|
@@ -2856,7 +2856,7 @@ function b7(s, e, t) {
|
|
|
2856
2856
|
}
|
|
2857
2857
|
}, pe = (c) => c[Z.value] === !0, he = () => D === void 0 || D.value === -1 || !ve.value && D.value > 0 ? !1 : U.value.length >= D.value, Ct = (c) => {
|
|
2858
2858
|
if (!pe(c)) {
|
|
2859
|
-
if (
|
|
2859
|
+
if (S && S.value && !S1(c) && c.__CREATE__ && (c = { ...c }, delete c.__CREATE__, c = S.value(c, X), c instanceof Promise)) {
|
|
2860
2860
|
b1.value = !0, c.then((w) => {
|
|
2861
2861
|
b1.value = !1, De(w);
|
|
2862
2862
|
});
|
|
@@ -2925,7 +2925,7 @@ function b7(s, e, t) {
|
|
|
2925
2925
|
let a1 = i1.value;
|
|
2926
2926
|
a1 || (a1 = (q1, Co) => {
|
|
2927
2927
|
let Ne = ye(at(q1[y1.value]), o1.value);
|
|
2928
|
-
return
|
|
2928
|
+
return J.value ? Ne.startsWith(ye(T.value, o1.value)) : Ne.indexOf(ye(T.value, o1.value)) !== -1;
|
|
2929
2929
|
}), q = q.filter(a1);
|
|
2930
2930
|
}
|
|
2931
2931
|
return o.value && w && (q = q.filter((a1) => !mt(a1))), q;
|
|
@@ -3046,11 +3046,11 @@ function y7(s, e, t) {
|
|
|
3046
3046
|
searchable: i,
|
|
3047
3047
|
groupLabel: l,
|
|
3048
3048
|
groups: o,
|
|
3049
|
-
mode:
|
|
3049
|
+
mode: p,
|
|
3050
3050
|
groupSelect: r,
|
|
3051
3051
|
disabledProp: C,
|
|
3052
3052
|
groupOptions: y
|
|
3053
|
-
} = p1(s),
|
|
3053
|
+
} = p1(s), I = t.fo, B = t.fg, k = t.handleOptionClick, N = t.handleGroupClick, R = t.search, L = t.pointer, h = t.setPointer, O = t.clearPointer, Y = t.multiselect, s1 = t.isOpen, H = m(() => I.value.filter((f) => !f[C.value])), e1 = m(() => B.value.filter((f) => !f[C.value])), _ = m(() => p.value !== "single" && r.value), $ = m(() => L.value && L.value.group), D = m(() => X(L.value)), o1 = m(() => {
|
|
3054
3054
|
const f = $.value ? L.value : (
|
|
3055
3055
|
/* istanbul ignore next */
|
|
3056
3056
|
X(L.value)
|
|
@@ -3066,11 +3066,11 @@ function y7(s, e, t) {
|
|
|
3066
3066
|
}), H1 = m(() => {
|
|
3067
3067
|
const f = X(L.value).__VISIBLE__.filter((T) => !T[C.value]);
|
|
3068
3068
|
return f[f.map((T) => T[n.value]).indexOf(L.value[n.value]) + 1];
|
|
3069
|
-
}), n1 = m(() => [...o1.value.__VISIBLE__.filter((f) => !f[C.value])].slice(-1)[0]), b = m(() => [...z.value.__VISIBLE__.filter((f) => !f[C.value])].slice(-1)[0]), g = (f) => L.value && (!f.group && L.value[n.value] === f[n.value] || f.group !== void 0 && L.value[l.value] === f[l.value]) ? !0 : void 0,
|
|
3069
|
+
}), n1 = m(() => [...o1.value.__VISIBLE__.filter((f) => !f[C.value])].slice(-1)[0]), b = m(() => [...z.value.__VISIBLE__.filter((f) => !f[C.value])].slice(-1)[0]), g = (f) => L.value && (!f.group && L.value[n.value] === f[n.value] || f.group !== void 0 && L.value[l.value] === f[l.value]) ? !0 : void 0, S = () => {
|
|
3070
3070
|
h(H.value[0] || null);
|
|
3071
3071
|
}, Z = () => {
|
|
3072
3072
|
!L.value || L.value[C.value] === !0 || ($.value ? N(L.value) : k(L.value));
|
|
3073
|
-
},
|
|
3073
|
+
}, J = () => {
|
|
3074
3074
|
if (L.value === null)
|
|
3075
3075
|
h((o.value && _.value ? e1.value[0].__CREATE__ ? H.value[0] : e1.value[0] : H.value[0]) || null);
|
|
3076
3076
|
else if (o.value && _.value) {
|
|
@@ -3107,7 +3107,7 @@ function y7(s, e, t) {
|
|
|
3107
3107
|
o.value && (T = $.value ? f.parentElement.parentElement.parentElement : f.parentElement.parentElement.parentElement.parentElement), f.offsetTop + f.offsetHeight > T.clientHeight + T.scrollTop && (T.scrollTop = f.offsetTop + f.offsetHeight - T.clientHeight), f.offsetTop < T.scrollTop && (T.scrollTop = f.offsetTop);
|
|
3108
3108
|
};
|
|
3109
3109
|
return d1(R, (f) => {
|
|
3110
|
-
i.value && (f.length && a.value ?
|
|
3110
|
+
i.value && (f.length && a.value ? S() : O());
|
|
3111
3111
|
}), d1(s1, (f) => {
|
|
3112
3112
|
if (f) {
|
|
3113
3113
|
let T = Y.value.querySelectorAll("[data-selected]")[0];
|
|
@@ -3122,14 +3122,14 @@ function y7(s, e, t) {
|
|
|
3122
3122
|
pointer: L,
|
|
3123
3123
|
canPointGroups: _,
|
|
3124
3124
|
isPointed: g,
|
|
3125
|
-
setPointerFirst:
|
|
3125
|
+
setPointerFirst: S,
|
|
3126
3126
|
selectPointer: Z,
|
|
3127
|
-
forwardPointer:
|
|
3127
|
+
forwardPointer: J,
|
|
3128
3128
|
backwardPointer: i1
|
|
3129
3129
|
};
|
|
3130
3130
|
}
|
|
3131
3131
|
function w7(s, e, t) {
|
|
3132
|
-
const { disabled: n } = p1(s), a = P1().proxy, i =
|
|
3132
|
+
const { disabled: n } = p1(s), a = P1().proxy, i = W(!1);
|
|
3133
3133
|
return {
|
|
3134
3134
|
isOpen: i,
|
|
3135
3135
|
open: () => {
|
|
@@ -3141,20 +3141,20 @@ function w7(s, e, t) {
|
|
|
3141
3141
|
};
|
|
3142
3142
|
}
|
|
3143
3143
|
function $7(s, e, t) {
|
|
3144
|
-
const { searchable: n, disabled: a, clearOnBlur: i } = p1(s), l = t.input, o = t.open,
|
|
3145
|
-
n.value && l.value.blur(),
|
|
3144
|
+
const { searchable: n, disabled: a, clearOnBlur: i } = p1(s), l = t.input, o = t.open, p = t.close, r = t.clearSearch, C = t.isOpen, y = W(null), I = W(null), B = W(null), k = W(!1), N = W(!1), R = m(() => n.value || a.value ? -1 : 0), L = () => {
|
|
3145
|
+
n.value && l.value.blur(), I.value.blur();
|
|
3146
3146
|
}, h = () => {
|
|
3147
3147
|
n.value && !a.value && l.value.focus();
|
|
3148
3148
|
}, O = ($ = !0) => {
|
|
3149
3149
|
a.value || (k.value = !0, $ && o());
|
|
3150
3150
|
}, Y = () => {
|
|
3151
3151
|
k.value = !1, setTimeout(() => {
|
|
3152
|
-
k.value || (
|
|
3152
|
+
k.value || (p(), i.value && r());
|
|
3153
3153
|
}, 1);
|
|
3154
3154
|
};
|
|
3155
3155
|
return {
|
|
3156
3156
|
multiselect: y,
|
|
3157
|
-
wrapper:
|
|
3157
|
+
wrapper: I,
|
|
3158
3158
|
tags: B,
|
|
3159
3159
|
tabindex: R,
|
|
3160
3160
|
isActive: k,
|
|
@@ -3173,9 +3173,9 @@ function $7(s, e, t) {
|
|
|
3173
3173
|
Y(), L();
|
|
3174
3174
|
},
|
|
3175
3175
|
handleMousedown: ($) => {
|
|
3176
|
-
N.value = !0, C.value && ($.target.isEqualNode(
|
|
3176
|
+
N.value = !0, C.value && ($.target.isEqualNode(I.value) || $.target.isEqualNode(B.value)) ? setTimeout(() => {
|
|
3177
3177
|
Y();
|
|
3178
|
-
}, 0) : document.activeElement.isEqualNode(
|
|
3178
|
+
}, 0) : document.activeElement.isEqualNode(I.value) && !C.value && O(), setTimeout(() => {
|
|
3179
3179
|
N.value = !1;
|
|
3180
3180
|
}, 0);
|
|
3181
3181
|
}
|
|
@@ -3188,25 +3188,25 @@ function M7(s, e, t) {
|
|
|
3188
3188
|
openDirection: i,
|
|
3189
3189
|
searchable: l,
|
|
3190
3190
|
showOptions: o,
|
|
3191
|
-
valueProp:
|
|
3191
|
+
valueProp: p,
|
|
3192
3192
|
groups: r,
|
|
3193
3193
|
addOptionOn: C,
|
|
3194
3194
|
createTag: y,
|
|
3195
|
-
createOption:
|
|
3195
|
+
createOption: I,
|
|
3196
3196
|
reverse: B
|
|
3197
|
-
} = p1(s), k = P1().proxy, N = t.iv, R = t.update, L = t.search, h = t.setPointer, O = t.selectPointer, Y = t.backwardPointer, s1 = t.forwardPointer, H = t.multiselect, e1 = t.wrapper, _ = t.tags, $ = t.isOpen, D = t.open, o1 = t.blur, E = t.fo, z = m(() => y.value ||
|
|
3198
|
-
n.value === "tags" && !o.value && z.value && l.value && !r.value && h(E.value[E.value.map((g) => g[
|
|
3197
|
+
} = p1(s), k = P1().proxy, N = t.iv, R = t.update, L = t.search, h = t.setPointer, O = t.selectPointer, Y = t.backwardPointer, s1 = t.forwardPointer, H = t.multiselect, e1 = t.wrapper, _ = t.tags, $ = t.isOpen, D = t.open, o1 = t.blur, E = t.fo, z = m(() => y.value || I.value || !1), c1 = m(() => a.value !== void 0 ? a.value : C.value !== void 0 ? C.value : ["enter"]), m1 = () => {
|
|
3198
|
+
n.value === "tags" && !o.value && z.value && l.value && !r.value && h(E.value[E.value.map((g) => g[p.value]).indexOf(L.value)]);
|
|
3199
3199
|
}, H1 = (g) => {
|
|
3200
|
-
let
|
|
3201
|
-
for (;
|
|
3202
|
-
|
|
3203
|
-
return
|
|
3200
|
+
let S = g.length - 1;
|
|
3201
|
+
for (; S >= 0 && (g[S].remove === !1 || g[S].disabled); )
|
|
3202
|
+
S--;
|
|
3203
|
+
return S < 0 || g.splice(S, 1), g;
|
|
3204
3204
|
};
|
|
3205
3205
|
return {
|
|
3206
3206
|
handleKeydown: (g) => {
|
|
3207
3207
|
e.emit("keydown", g, k);
|
|
3208
|
-
let
|
|
3209
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(g.key) !== -1 && n.value === "tags" && (
|
|
3208
|
+
let S, Z;
|
|
3209
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(g.key) !== -1 && n.value === "tags" && (S = [...H.value.querySelectorAll("[data-tags] > *")].filter((J) => J !== _.value), Z = S.findIndex((J) => J === document.activeElement)), g.key) {
|
|
3210
3210
|
case "Backspace":
|
|
3211
3211
|
if (n.value === "single" || l.value && [null, ""].indexOf(L.value) === -1 || N.value.length === 0)
|
|
3212
3212
|
return;
|
|
@@ -3216,7 +3216,7 @@ function M7(s, e, t) {
|
|
|
3216
3216
|
if (g.preventDefault(), g.keyCode === 229)
|
|
3217
3217
|
return;
|
|
3218
3218
|
if (Z !== -1 && Z !== void 0) {
|
|
3219
|
-
R([...N.value].filter((
|
|
3219
|
+
R([...N.value].filter((J, i1) => i1 !== Z)), Z === S.length - 1 && (S.length - 1 ? S[S.length - 2].focus() : l.value ? _.value.querySelector("input").focus() : e1.value.focus());
|
|
3220
3220
|
return;
|
|
3221
3221
|
}
|
|
3222
3222
|
if (c1.value.indexOf("enter") === -1 && z.value)
|
|
@@ -3257,12 +3257,12 @@ function M7(s, e, t) {
|
|
|
3257
3257
|
case "ArrowLeft":
|
|
3258
3258
|
if (l.value && _.value && _.value.querySelector("input").selectionStart || g.shiftKey || n.value !== "tags" || !N.value || !N.value.length)
|
|
3259
3259
|
return;
|
|
3260
|
-
g.preventDefault(), Z === -1 ?
|
|
3260
|
+
g.preventDefault(), Z === -1 ? S[S.length - 1].focus() : Z > 0 && S[Z - 1].focus();
|
|
3261
3261
|
break;
|
|
3262
3262
|
case "ArrowRight":
|
|
3263
3263
|
if (Z === -1 || g.shiftKey || n.value !== "tags" || !N.value || !N.value.length)
|
|
3264
3264
|
return;
|
|
3265
|
-
g.preventDefault(),
|
|
3265
|
+
g.preventDefault(), S.length > Z + 1 ? S[Z + 1].focus() : l.value ? _.value.querySelector("input").focus() : l.value || e1.value.focus();
|
|
3266
3266
|
break;
|
|
3267
3267
|
}
|
|
3268
3268
|
},
|
|
@@ -3278,7 +3278,7 @@ function I7(s, e, t) {
|
|
|
3278
3278
|
disabled: a,
|
|
3279
3279
|
openDirection: i,
|
|
3280
3280
|
showOptions: l
|
|
3281
|
-
} = p1(s), o = t.isOpen,
|
|
3281
|
+
} = p1(s), o = t.isOpen, p = t.isPointed, r = t.isSelected, C = t.isDisabled, y = t.isActive, I = t.canPointGroups, B = t.resolving, k = t.fo, N = m(() => ({
|
|
3282
3282
|
container: "multiselect",
|
|
3283
3283
|
containerDisabled: "is-disabled",
|
|
3284
3284
|
containerOpen: "is-open",
|
|
@@ -3363,12 +3363,12 @@ function I7(s, e, t) {
|
|
|
3363
3363
|
group: h.group,
|
|
3364
3364
|
groupLabel: (O) => {
|
|
3365
3365
|
let Y = [h.groupLabel];
|
|
3366
|
-
return
|
|
3366
|
+
return p(O) ? Y.push(r(O) ? h.groupLabelSelectedPointed : h.groupLabelPointed) : r(O) && I.value ? Y.push(C(O) ? h.groupLabelSelectedDisabled : h.groupLabelSelected) : C(O) && Y.push(h.groupLabelDisabled), I.value && Y.push(h.groupLabelPointable), Y;
|
|
3367
3367
|
},
|
|
3368
3368
|
groupOptions: h.groupOptions,
|
|
3369
3369
|
option: (O, Y) => {
|
|
3370
3370
|
let s1 = [h.option];
|
|
3371
|
-
return
|
|
3371
|
+
return p(O) ? s1.push(r(O) ? h.optionSelectedPointed : h.optionPointed) : r(O) ? s1.push(C(O) ? h.optionSelectedDisabled : h.optionSelected) : (C(O) || Y && C(Y)) && s1.push(h.optionDisabled), s1;
|
|
3372
3372
|
},
|
|
3373
3373
|
noOptions: h.noOptions,
|
|
3374
3374
|
noResults: h.noResults,
|
|
@@ -3383,7 +3383,7 @@ function S7(s, e, t) {
|
|
|
3383
3383
|
const {
|
|
3384
3384
|
limit: n,
|
|
3385
3385
|
infinite: a
|
|
3386
|
-
} = p1(s), i = t.isOpen, l = t.offset, o = t.search,
|
|
3386
|
+
} = p1(s), i = t.isOpen, l = t.offset, o = t.search, p = t.pfo, r = t.eo, C = W(null), y = W(null), I = m(() => l.value < p.value.length), B = (N) => {
|
|
3387
3387
|
const { isIntersecting: R, target: L } = N[0];
|
|
3388
3388
|
if (R) {
|
|
3389
3389
|
const h = L.offsetParent, O = h.scrollTop;
|
|
@@ -3392,7 +3392,7 @@ function S7(s, e, t) {
|
|
|
3392
3392
|
});
|
|
3393
3393
|
}
|
|
3394
3394
|
}, k = () => {
|
|
3395
|
-
i.value && l.value <
|
|
3395
|
+
i.value && l.value < p.value.length ? C.value.observe(y.value) : !i.value && C.value && C.value.disconnect();
|
|
3396
3396
|
};
|
|
3397
3397
|
return d1(i, () => {
|
|
3398
3398
|
a.value && k();
|
|
@@ -3403,7 +3403,7 @@ function S7(s, e, t) {
|
|
|
3403
3403
|
}, { immediate: !1, flush: "post" }), Me(() => {
|
|
3404
3404
|
window && window.IntersectionObserver && (C.value = new IntersectionObserver(B));
|
|
3405
3405
|
}), {
|
|
3406
|
-
hasMore:
|
|
3406
|
+
hasMore: I,
|
|
3407
3407
|
infiniteLoader: y
|
|
3408
3408
|
};
|
|
3409
3409
|
}
|
|
@@ -3414,10 +3414,10 @@ function L7(s, e, t) {
|
|
|
3414
3414
|
valueProp: i,
|
|
3415
3415
|
label: l,
|
|
3416
3416
|
mode: o,
|
|
3417
|
-
groupLabel:
|
|
3417
|
+
groupLabel: p,
|
|
3418
3418
|
aria: r,
|
|
3419
3419
|
searchable: C
|
|
3420
|
-
} = p1(s), y = t.pointer,
|
|
3420
|
+
} = p1(s), y = t.pointer, I = t.iv, B = t.hasSelected, k = t.multipleLabelText, N = W(null), R = m(() => {
|
|
3421
3421
|
let E = [];
|
|
3422
3422
|
return a && a.value && E.push(a.value), E.push("assist"), E.join("-");
|
|
3423
3423
|
}), L = m(() => {
|
|
@@ -3429,7 +3429,7 @@ function L7(s, e, t) {
|
|
|
3429
3429
|
return E.push(y.value.group ? "multiselect-group" : "multiselect-option"), E.push(y.value.group ? y.value.index : y.value[i.value]), E.join("-");
|
|
3430
3430
|
}), O = m(() => n.value), Y = m(() => o.value !== "single"), s1 = m(() => {
|
|
3431
3431
|
let E = "";
|
|
3432
|
-
return o.value === "single" && B.value && (E +=
|
|
3432
|
+
return o.value === "single" && B.value && (E += I.value[l.value]), o.value === "multiple" && B.value && (E += k.value), o.value === "tags" && B.value && (E += I.value.map((z) => z[l.value]).join(", ")), E;
|
|
3433
3433
|
}), H = m(() => {
|
|
3434
3434
|
let E = { ...r.value };
|
|
3435
3435
|
return C.value && (E["aria-labelledby"] = E["aria-labelledby"] ? `${R.value} ${E["aria-labelledby"]}` : R.value, s1.value && E["aria-label"] && (E["aria-label"] = `${s1.value}, ${E["aria-label"]}`)), E;
|
|
@@ -3836,9 +3836,9 @@ var C1 = {
|
|
|
3836
3836
|
]);
|
|
3837
3837
|
}
|
|
3838
3838
|
};
|
|
3839
|
-
const E7 = ["id", "dir"], H7 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], T7 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], k7 = ["onKeyup", "aria-label"], O7 = ["onClick"], B7 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Z7 = ["innerHTML"], D7 = ["id"], P7 = ["id", "aria-label", "aria-selected"], N7 = ["data-pointed", "onMouseenter", "onClick"], R7 = ["innerHTML"], U7 = ["aria-label"], q7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], j7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], z7 = ["innerHTML"], x7 = ["innerHTML"], K7 = ["value"],
|
|
3839
|
+
const E7 = ["id", "dir"], H7 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], T7 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], k7 = ["onKeyup", "aria-label"], O7 = ["onClick"], B7 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Z7 = ["innerHTML"], D7 = ["id"], P7 = ["id", "aria-label", "aria-selected"], N7 = ["data-pointed", "onMouseenter", "onClick"], R7 = ["innerHTML"], U7 = ["aria-label"], q7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], j7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], z7 = ["innerHTML"], x7 = ["innerHTML"], K7 = ["value"], F7 = ["name", "value"], G7 = ["name", "value"], Y7 = ["id"];
|
|
3840
3840
|
function X7(s, e, t, n, a, i) {
|
|
3841
|
-
return d(),
|
|
3841
|
+
return d(), v("div", {
|
|
3842
3842
|
ref: "multiselect",
|
|
3843
3843
|
class: j(s.classList.container),
|
|
3844
3844
|
id: t.searchable ? void 0 : t.id,
|
|
@@ -3861,7 +3861,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
3861
3861
|
role: t.searchable ? void 0 : "combobox"
|
|
3862
3862
|
}, t.searchable ? {} : s.arias), [
|
|
3863
3863
|
A(" Search "),
|
|
3864
|
-
t.mode !== "tags" && t.searchable && !t.disabled ? (d(),
|
|
3864
|
+
t.mode !== "tags" && t.searchable && !t.disabled ? (d(), v("input", T1({
|
|
3865
3865
|
key: 0,
|
|
3866
3866
|
type: t.inputType,
|
|
3867
3867
|
modelValue: s.search,
|
|
@@ -3884,7 +3884,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
3884
3884
|
...s.arias
|
|
3885
3885
|
}), null, 16, T7)) : A("v-if", !0),
|
|
3886
3886
|
A(" Tags (with search) "),
|
|
3887
|
-
t.mode == "tags" ? (d(),
|
|
3887
|
+
t.mode == "tags" ? (d(), v(
|
|
3888
3888
|
"div",
|
|
3889
3889
|
{
|
|
3890
3890
|
key: 1,
|
|
@@ -3892,22 +3892,22 @@ function X7(s, e, t, n, a, i) {
|
|
|
3892
3892
|
"data-tags": ""
|
|
3893
3893
|
},
|
|
3894
3894
|
[
|
|
3895
|
-
(d(!0),
|
|
3895
|
+
(d(!0), v(
|
|
3896
3896
|
f1,
|
|
3897
3897
|
null,
|
|
3898
|
-
$1(s.iv, (l, o,
|
|
3898
|
+
$1(s.iv, (l, o, p) => F(s.$slots, "tag", {
|
|
3899
3899
|
option: l,
|
|
3900
3900
|
handleTagRemove: s.handleTagRemove,
|
|
3901
3901
|
disabled: t.disabled
|
|
3902
3902
|
}, () => [
|
|
3903
|
-
(d(),
|
|
3903
|
+
(d(), v("span", {
|
|
3904
3904
|
class: j([
|
|
3905
3905
|
s.classList.tag,
|
|
3906
3906
|
l.disabled ? s.classList.tagDisabled : null
|
|
3907
3907
|
]),
|
|
3908
3908
|
tabindex: "-1",
|
|
3909
3909
|
onKeyup: Re((r) => s.handleTagRemove(l, r), ["enter"]),
|
|
3910
|
-
key:
|
|
3910
|
+
key: p,
|
|
3911
3911
|
"aria-label": s.ariaTagLabel(s.localize(l[t.label]))
|
|
3912
3912
|
}, [
|
|
3913
3913
|
$e(
|
|
@@ -3915,7 +3915,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
3915
3915
|
1
|
|
3916
3916
|
/* TEXT */
|
|
3917
3917
|
),
|
|
3918
|
-
!t.disabled && !l.disabled ? (d(),
|
|
3918
|
+
!t.disabled && !l.disabled ? (d(), v("span", {
|
|
3919
3919
|
key: 0,
|
|
3920
3920
|
class: j(s.classList.tagRemove),
|
|
3921
3921
|
onClick: A1((r) => s.handleTagRemove(l, r), ["stop"])
|
|
@@ -3953,7 +3953,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
3953
3953
|
/* TEXT, CLASS */
|
|
3954
3954
|
),
|
|
3955
3955
|
A(" Actual search input "),
|
|
3956
|
-
t.searchable && !t.disabled ? (d(),
|
|
3956
|
+
t.searchable && !t.disabled ? (d(), v("input", T1({
|
|
3957
3957
|
key: 0,
|
|
3958
3958
|
type: t.inputType,
|
|
3959
3959
|
modelValue: s.search,
|
|
@@ -3984,7 +3984,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
3984
3984
|
/* CLASS */
|
|
3985
3985
|
)) : A("v-if", !0),
|
|
3986
3986
|
A(" Single label "),
|
|
3987
|
-
t.mode == "single" && s.hasSelected && !s.search && s.iv ?
|
|
3987
|
+
t.mode == "single" && s.hasSelected && !s.search && s.iv ? F(s.$slots, "singlelabel", {
|
|
3988
3988
|
key: 2,
|
|
3989
3989
|
value: s.iv
|
|
3990
3990
|
}, () => [
|
|
@@ -4009,7 +4009,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4009
4009
|
)
|
|
4010
4010
|
]) : A("v-if", !0),
|
|
4011
4011
|
A(" Multiple label "),
|
|
4012
|
-
t.mode == "multiple" && s.hasSelected && !s.search ?
|
|
4012
|
+
t.mode == "multiple" && s.hasSelected && !s.search ? F(s.$slots, "multiplelabel", {
|
|
4013
4013
|
key: 3,
|
|
4014
4014
|
values: s.iv
|
|
4015
4015
|
}, () => [
|
|
@@ -4019,7 +4019,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4019
4019
|
}, null, 10, Z7)
|
|
4020
4020
|
]) : A("v-if", !0),
|
|
4021
4021
|
A(" Placeholder "),
|
|
4022
|
-
t.placeholder && !s.hasSelected && !s.search ?
|
|
4022
|
+
t.placeholder && !s.hasSelected && !s.search ? F(s.$slots, "placeholder", { key: 4 }, () => [
|
|
4023
4023
|
u(
|
|
4024
4024
|
"div",
|
|
4025
4025
|
{
|
|
@@ -4032,7 +4032,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4032
4032
|
)
|
|
4033
4033
|
]) : A("v-if", !0),
|
|
4034
4034
|
A(" Spinner "),
|
|
4035
|
-
t.loading || s.resolving ?
|
|
4035
|
+
t.loading || s.resolving ? F(s.$slots, "spinner", { key: 5 }, () => [
|
|
4036
4036
|
u(
|
|
4037
4037
|
"span",
|
|
4038
4038
|
{
|
|
@@ -4045,7 +4045,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4045
4045
|
)
|
|
4046
4046
|
]) : A("v-if", !0),
|
|
4047
4047
|
A(" Clear "),
|
|
4048
|
-
s.hasSelected && !t.disabled && t.canClear && !s.busy ?
|
|
4048
|
+
s.hasSelected && !t.disabled && t.canClear && !s.busy ? F(s.$slots, "clear", {
|
|
4049
4049
|
key: 6,
|
|
4050
4050
|
clear: s.clear
|
|
4051
4051
|
}, () => [
|
|
@@ -4077,7 +4077,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4077
4077
|
)
|
|
4078
4078
|
]) : A("v-if", !0),
|
|
4079
4079
|
A(" Caret "),
|
|
4080
|
-
t.caret && t.showOptions ?
|
|
4080
|
+
t.caret && t.showOptions ? F(s.$slots, "caret", { key: 7 }, () => [
|
|
4081
4081
|
u(
|
|
4082
4082
|
"span",
|
|
4083
4083
|
{
|
|
@@ -4099,31 +4099,31 @@ function X7(s, e, t, n, a, i) {
|
|
|
4099
4099
|
tabindex: "-1"
|
|
4100
4100
|
},
|
|
4101
4101
|
[
|
|
4102
|
-
|
|
4102
|
+
F(s.$slots, "beforelist", { options: s.fo }),
|
|
4103
4103
|
u("ul", {
|
|
4104
4104
|
class: j(s.classList.options),
|
|
4105
4105
|
id: s.ariaControls,
|
|
4106
4106
|
role: "listbox"
|
|
4107
4107
|
}, [
|
|
4108
|
-
t.groups ? (d(!0),
|
|
4108
|
+
t.groups ? (d(!0), v(
|
|
4109
4109
|
f1,
|
|
4110
4110
|
{ key: 0 },
|
|
4111
|
-
$1(s.fg, (l, o,
|
|
4111
|
+
$1(s.fg, (l, o, p) => (d(), v("li", {
|
|
4112
4112
|
class: j(s.classList.group),
|
|
4113
|
-
key:
|
|
4113
|
+
key: p,
|
|
4114
4114
|
id: s.ariaGroupId(l),
|
|
4115
4115
|
"aria-label": s.ariaGroupLabel(s.localize(l[t.groupLabel])),
|
|
4116
4116
|
"aria-selected": s.isSelected(l),
|
|
4117
4117
|
role: "option"
|
|
4118
4118
|
}, [
|
|
4119
|
-
l.__CREATE__ ? A("v-if", !0) : (d(),
|
|
4119
|
+
l.__CREATE__ ? A("v-if", !0) : (d(), v("div", {
|
|
4120
4120
|
key: 0,
|
|
4121
4121
|
class: j(s.classList.groupLabel(l)),
|
|
4122
4122
|
"data-pointed": s.isPointed(l),
|
|
4123
4123
|
onMouseenter: (r) => s.setPointer(l, o),
|
|
4124
4124
|
onClick: (r) => s.handleGroupClick(l)
|
|
4125
4125
|
}, [
|
|
4126
|
-
|
|
4126
|
+
F(s.$slots, "grouplabel", {
|
|
4127
4127
|
group: l,
|
|
4128
4128
|
isSelected: s.isSelected,
|
|
4129
4129
|
isPointed: s.isPointed
|
|
@@ -4138,22 +4138,22 @@ function X7(s, e, t, n, a, i) {
|
|
|
4138
4138
|
"aria-label": s.ariaGroupLabel(s.localize(l[t.groupLabel])),
|
|
4139
4139
|
role: "group"
|
|
4140
4140
|
}, [
|
|
4141
|
-
(d(!0),
|
|
4141
|
+
(d(!0), v(
|
|
4142
4142
|
f1,
|
|
4143
4143
|
null,
|
|
4144
|
-
$1(l.__VISIBLE__, (r, C, y) => (d(),
|
|
4144
|
+
$1(l.__VISIBLE__, (r, C, y) => (d(), v("li", {
|
|
4145
4145
|
class: j(s.classList.option(r, l)),
|
|
4146
4146
|
"data-pointed": s.isPointed(r),
|
|
4147
4147
|
"data-selected": s.isSelected(r) || void 0,
|
|
4148
4148
|
key: y,
|
|
4149
|
-
onMouseenter: (
|
|
4150
|
-
onClick: (
|
|
4149
|
+
onMouseenter: (I) => s.setPointer(r),
|
|
4150
|
+
onClick: (I) => s.handleOptionClick(r),
|
|
4151
4151
|
id: s.ariaOptionId(r),
|
|
4152
4152
|
"aria-selected": s.isSelected(r),
|
|
4153
4153
|
"aria-label": s.ariaOptionLabel(s.localize(r[t.label])),
|
|
4154
4154
|
role: "option"
|
|
4155
4155
|
}, [
|
|
4156
|
-
|
|
4156
|
+
F(s.$slots, "option", {
|
|
4157
4157
|
option: r,
|
|
4158
4158
|
isSelected: s.isSelected,
|
|
4159
4159
|
isPointed: s.isPointed,
|
|
@@ -4175,14 +4175,14 @@ function X7(s, e, t, n, a, i) {
|
|
|
4175
4175
|
], 10, P7))),
|
|
4176
4176
|
128
|
|
4177
4177
|
/* KEYED_FRAGMENT */
|
|
4178
|
-
)) : (d(!0),
|
|
4178
|
+
)) : (d(!0), v(
|
|
4179
4179
|
f1,
|
|
4180
4180
|
{ key: 1 },
|
|
4181
|
-
$1(s.fo, (l, o,
|
|
4181
|
+
$1(s.fo, (l, o, p) => (d(), v("li", {
|
|
4182
4182
|
class: j(s.classList.option(l)),
|
|
4183
4183
|
"data-pointed": s.isPointed(l),
|
|
4184
4184
|
"data-selected": s.isSelected(l) || void 0,
|
|
4185
|
-
key:
|
|
4185
|
+
key: p,
|
|
4186
4186
|
onMouseenter: (r) => s.setPointer(l),
|
|
4187
4187
|
onClick: (r) => s.handleOptionClick(l),
|
|
4188
4188
|
id: s.ariaOptionId(l),
|
|
@@ -4190,7 +4190,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4190
4190
|
"aria-label": s.ariaOptionLabel(s.localize(l[t.label])),
|
|
4191
4191
|
role: "option"
|
|
4192
4192
|
}, [
|
|
4193
|
-
|
|
4193
|
+
F(s.$slots, "option", {
|
|
4194
4194
|
option: l,
|
|
4195
4195
|
isSelected: s.isSelected,
|
|
4196
4196
|
isPointed: s.isPointed,
|
|
@@ -4209,19 +4209,19 @@ function X7(s, e, t, n, a, i) {
|
|
|
4209
4209
|
/* KEYED_FRAGMENT */
|
|
4210
4210
|
))
|
|
4211
4211
|
], 10, D7),
|
|
4212
|
-
s.noOptions ?
|
|
4212
|
+
s.noOptions ? F(s.$slots, "nooptions", { key: 0 }, () => [
|
|
4213
4213
|
u("div", {
|
|
4214
4214
|
class: j(s.classList.noOptions),
|
|
4215
4215
|
innerHTML: s.localize(t.noOptionsText)
|
|
4216
4216
|
}, null, 10, z7)
|
|
4217
4217
|
]) : A("v-if", !0),
|
|
4218
|
-
s.noResults ?
|
|
4218
|
+
s.noResults ? F(s.$slots, "noresults", { key: 1 }, () => [
|
|
4219
4219
|
u("div", {
|
|
4220
4220
|
class: j(s.classList.noResults),
|
|
4221
4221
|
innerHTML: s.localize(t.noResultsText)
|
|
4222
4222
|
}, null, 10, x7)
|
|
4223
4223
|
]) : A("v-if", !0),
|
|
4224
|
-
t.infinite && s.hasMore ? (d(),
|
|
4224
|
+
t.infinite && s.hasMore ? (d(), v(
|
|
4225
4225
|
"div",
|
|
4226
4226
|
{
|
|
4227
4227
|
key: 2,
|
|
@@ -4229,7 +4229,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4229
4229
|
ref: "infiniteLoader"
|
|
4230
4230
|
},
|
|
4231
4231
|
[
|
|
4232
|
-
|
|
4232
|
+
F(s.$slots, "infinite", {}, () => [
|
|
4233
4233
|
u(
|
|
4234
4234
|
"span",
|
|
4235
4235
|
{
|
|
@@ -4244,13 +4244,13 @@ function X7(s, e, t, n, a, i) {
|
|
|
4244
4244
|
2
|
|
4245
4245
|
/* CLASS */
|
|
4246
4246
|
)) : A("v-if", !0),
|
|
4247
|
-
|
|
4247
|
+
F(s.$slots, "afterlist", { options: s.fo })
|
|
4248
4248
|
],
|
|
4249
4249
|
2
|
|
4250
4250
|
/* CLASS */
|
|
4251
4251
|
),
|
|
4252
4252
|
A(" Hacky input element to show HTML5 required warning "),
|
|
4253
|
-
t.required ? (d(),
|
|
4253
|
+
t.required ? (d(), v("input", {
|
|
4254
4254
|
key: 0,
|
|
4255
4255
|
class: j(s.classList.fakeInput),
|
|
4256
4256
|
tabindex: "-1",
|
|
@@ -4258,24 +4258,24 @@ function X7(s, e, t, n, a, i) {
|
|
|
4258
4258
|
required: ""
|
|
4259
4259
|
}, null, 10, K7)) : A("v-if", !0),
|
|
4260
4260
|
A(" Native input support "),
|
|
4261
|
-
t.nativeSupport ? (d(),
|
|
4261
|
+
t.nativeSupport ? (d(), v(
|
|
4262
4262
|
f1,
|
|
4263
4263
|
{ key: 1 },
|
|
4264
4264
|
[
|
|
4265
|
-
t.mode == "single" ? (d(),
|
|
4265
|
+
t.mode == "single" ? (d(), v("input", {
|
|
4266
4266
|
key: 0,
|
|
4267
4267
|
type: "hidden",
|
|
4268
4268
|
name: t.name,
|
|
4269
4269
|
value: s.plainValue !== void 0 ? s.plainValue : ""
|
|
4270
|
-
}, null, 8,
|
|
4270
|
+
}, null, 8, F7)) : (d(!0), v(
|
|
4271
4271
|
f1,
|
|
4272
4272
|
{ key: 1 },
|
|
4273
|
-
$1(s.plainValue, (l, o) => (d(),
|
|
4273
|
+
$1(s.plainValue, (l, o) => (d(), v("input", {
|
|
4274
4274
|
type: "hidden",
|
|
4275
4275
|
name: `${t.name}[]`,
|
|
4276
4276
|
value: l,
|
|
4277
4277
|
key: o
|
|
4278
|
-
}, null, 8,
|
|
4278
|
+
}, null, 8, G7))),
|
|
4279
4279
|
128
|
|
4280
4280
|
/* KEYED_FRAGMENT */
|
|
4281
4281
|
))
|
|
@@ -4284,7 +4284,7 @@ function X7(s, e, t, n, a, i) {
|
|
|
4284
4284
|
/* STABLE_FRAGMENT */
|
|
4285
4285
|
)) : A("v-if", !0),
|
|
4286
4286
|
A(" Screen reader assistive text "),
|
|
4287
|
-
t.searchable && s.hasSelected ? (d(),
|
|
4287
|
+
t.searchable && s.hasSelected ? (d(), v("div", {
|
|
4288
4288
|
key: 2,
|
|
4289
4289
|
class: j(s.classList.assist),
|
|
4290
4290
|
id: s.ariaAssist,
|
|
@@ -4311,7 +4311,7 @@ const W7 = { class: "ao-modal__wrapper" }, J7 = { class: "ao-modal" }, Q7 = { cl
|
|
|
4311
4311
|
__name: "AoModal",
|
|
4312
4312
|
emits: ["close"],
|
|
4313
4313
|
setup(s) {
|
|
4314
|
-
return (e, t) => (d(),
|
|
4314
|
+
return (e, t) => (d(), v("div", W7, [
|
|
4315
4315
|
u("div", {
|
|
4316
4316
|
class: "ao-modal__backdrop",
|
|
4317
4317
|
onClick: t[0] || (t[0] = (n) => e.$emit("close"))
|
|
@@ -4326,12 +4326,12 @@ const W7 = { class: "ao-modal__wrapper" }, J7 = { class: "ao-modal" }, Q7 = { cl
|
|
|
4326
4326
|
onClick: t[1] || (t[1] = (n) => e.$emit("close"))
|
|
4327
4327
|
})
|
|
4328
4328
|
]),
|
|
4329
|
-
e.$slots.header ? (d(),
|
|
4330
|
-
|
|
4329
|
+
e.$slots.header ? (d(), v("header", t0, [
|
|
4330
|
+
F(e.$slots, "header")
|
|
4331
4331
|
])) : A("", !0)
|
|
4332
4332
|
]),
|
|
4333
4333
|
u("div", s0, [
|
|
4334
|
-
|
|
4334
|
+
F(e.$slots, "default")
|
|
4335
4335
|
])
|
|
4336
4336
|
])
|
|
4337
4337
|
]));
|
|
@@ -4382,17 +4382,17 @@ const l0 = { class: "ao-subtasks" }, n0 = { class: "ao-subtasks__list" }, i0 = [
|
|
|
4382
4382
|
emits: ["add", "delete", "update"],
|
|
4383
4383
|
setup(s, { emit: e }) {
|
|
4384
4384
|
const t = s, { t: n } = Ee(), a = () => {
|
|
4385
|
-
const r = t.subtasks.length, C = t.subtasks.at(-1), y = C ? u1.LexoRank.parse(C.rank).genNext() : u1.LexoRank.middle(),
|
|
4385
|
+
const r = t.subtasks.length, C = t.subtasks.at(-1), y = C ? u1.LexoRank.parse(C.rank).genNext() : u1.LexoRank.middle(), I = {
|
|
4386
4386
|
name: n("template.defaultName.subtask", { idx: r + 1 }),
|
|
4387
4387
|
rank: y.format(),
|
|
4388
4388
|
activityId: t.activityId
|
|
4389
4389
|
};
|
|
4390
|
-
e("add",
|
|
4390
|
+
e("add", I);
|
|
4391
4391
|
}, i = (r, C) => {
|
|
4392
|
-
const
|
|
4392
|
+
const I = r.target.value;
|
|
4393
4393
|
e("update", {
|
|
4394
4394
|
id: C,
|
|
4395
|
-
name:
|
|
4395
|
+
name: I
|
|
4396
4396
|
});
|
|
4397
4397
|
}, l = (r, C) => {
|
|
4398
4398
|
e("update", {
|
|
@@ -4401,19 +4401,19 @@ const l0 = { class: "ao-subtasks" }, n0 = { class: "ao-subtasks__list" }, i0 = [
|
|
|
4401
4401
|
});
|
|
4402
4402
|
}, o = (r) => {
|
|
4403
4403
|
e("delete", r);
|
|
4404
|
-
},
|
|
4404
|
+
}, p = (r, C) => {
|
|
4405
4405
|
e("update", {
|
|
4406
4406
|
id: C,
|
|
4407
4407
|
assignees: r
|
|
4408
4408
|
});
|
|
4409
4409
|
};
|
|
4410
|
-
return (r, C) => (d(),
|
|
4410
|
+
return (r, C) => (d(), v("div", l0, [
|
|
4411
4411
|
u("ul", n0, [
|
|
4412
|
-
(d(!0),
|
|
4412
|
+
(d(!0), v(f1, null, $1(r.subtasks, (y) => (d(), v("li", {
|
|
4413
4413
|
key: y.id,
|
|
4414
4414
|
class: "ao-subtask"
|
|
4415
4415
|
}, [
|
|
4416
|
-
r.isCheckable ? (d(),
|
|
4416
|
+
r.isCheckable ? (d(), G(g1, {
|
|
4417
4417
|
key: 0,
|
|
4418
4418
|
class: "ao-subtask__delete",
|
|
4419
4419
|
"icon-name": y.status === t1(se).done ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -4427,7 +4427,7 @@ const l0 = { class: "ao-subtasks" }, n0 = { class: "ao-subtasks__list" }, i0 = [
|
|
|
4427
4427
|
value: y.name,
|
|
4428
4428
|
class: "ao-field__input ao-subtask__field",
|
|
4429
4429
|
type: "text",
|
|
4430
|
-
onChange: (
|
|
4430
|
+
onChange: (I) => i(I, y.id)
|
|
4431
4431
|
}, null, 40, i0),
|
|
4432
4432
|
V(t1(C1), {
|
|
4433
4433
|
mode: "tags",
|
|
@@ -4437,13 +4437,13 @@ const l0 = { class: "ao-subtasks" }, n0 = { class: "ao-subtasks__list" }, i0 = [
|
|
|
4437
4437
|
searchable: !0,
|
|
4438
4438
|
class: "ao-subtask__assignees",
|
|
4439
4439
|
placeholder: r.$t("feed.filters.assignee.placeholder"),
|
|
4440
|
-
onChange: (
|
|
4440
|
+
onChange: (I) => p(I, y.id)
|
|
4441
4441
|
}, {
|
|
4442
|
-
tag: K(({ option:
|
|
4442
|
+
tag: K(({ option: I, handleTagRemove: B }) => [
|
|
4443
4443
|
V(Ae, {
|
|
4444
|
-
"user-name":
|
|
4444
|
+
"user-name": I.label,
|
|
4445
4445
|
"is-closable": !0,
|
|
4446
|
-
onClose: (k) => B(
|
|
4446
|
+
onClose: (k) => B(I, k)
|
|
4447
4447
|
}, null, 8, ["user-name", "onClose"])
|
|
4448
4448
|
]),
|
|
4449
4449
|
_: 2
|
|
@@ -4499,7 +4499,7 @@ const u0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c0 = {
|
|
|
4499
4499
|
);
|
|
4500
4500
|
});
|
|
4501
4501
|
});
|
|
4502
|
-
const i =
|
|
4502
|
+
const i = W(!1);
|
|
4503
4503
|
function l() {
|
|
4504
4504
|
i.value = !0;
|
|
4505
4505
|
}
|
|
@@ -4509,7 +4509,7 @@ const u0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c0 = {
|
|
|
4509
4509
|
d1(i, (r) => {
|
|
4510
4510
|
e("toggleIsDropActive", r);
|
|
4511
4511
|
});
|
|
4512
|
-
function
|
|
4512
|
+
function p(r) {
|
|
4513
4513
|
var y;
|
|
4514
4514
|
o();
|
|
4515
4515
|
const C = Array.from(((y = r.dataTransfer) == null ? void 0 : y.files) || []);
|
|
@@ -4517,26 +4517,26 @@ const u0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c0 = {
|
|
|
4517
4517
|
}
|
|
4518
4518
|
return (r, C) => {
|
|
4519
4519
|
var y;
|
|
4520
|
-
return d(),
|
|
4520
|
+
return d(), v("div", {
|
|
4521
4521
|
class: j([
|
|
4522
4522
|
"ao-files__wrapper",
|
|
4523
4523
|
{
|
|
4524
4524
|
"ao-files__wrapper--drop-active": i.value
|
|
4525
4525
|
}
|
|
4526
4526
|
]),
|
|
4527
|
-
onDrop: A1(
|
|
4527
|
+
onDrop: A1(p, ["prevent"]),
|
|
4528
4528
|
onDragenter: A1(l, ["prevent"]),
|
|
4529
4529
|
onDragover: A1(l, ["prevent"]),
|
|
4530
4530
|
onDragleave: A1(o, ["prevent"])
|
|
4531
4531
|
}, [
|
|
4532
|
-
(y = r.attachments) != null && y.length && r.attachments.length > 0 ? (d(),
|
|
4533
|
-
(d(!0),
|
|
4534
|
-
key:
|
|
4532
|
+
(y = r.attachments) != null && y.length && r.attachments.length > 0 ? (d(), v("ul", c0, [
|
|
4533
|
+
(d(!0), v(f1, null, $1(r.attachments, (I) => (d(), v("li", {
|
|
4534
|
+
key: I.id,
|
|
4535
4535
|
class: "ao-file"
|
|
4536
4536
|
}, [
|
|
4537
4537
|
u("a", {
|
|
4538
4538
|
class: "ao-file__link",
|
|
4539
|
-
href:
|
|
4539
|
+
href: I.url,
|
|
4540
4540
|
target: "_blank",
|
|
4541
4541
|
rel: "noopener noreferrer"
|
|
4542
4542
|
}, [
|
|
@@ -4545,7 +4545,7 @@ const u0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c0 = {
|
|
|
4545
4545
|
name: "AttachFileRounded",
|
|
4546
4546
|
size: "sm"
|
|
4547
4547
|
}),
|
|
4548
|
-
u("span", C0, x(
|
|
4548
|
+
u("span", C0, x(I.name), 1)
|
|
4549
4549
|
], 8, d0),
|
|
4550
4550
|
V(g1, {
|
|
4551
4551
|
class: "ao-files__delete-button",
|
|
@@ -4554,10 +4554,10 @@ const u0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c0 = {
|
|
|
4554
4554
|
color: "primary",
|
|
4555
4555
|
size: "md",
|
|
4556
4556
|
corners: "round",
|
|
4557
|
-
onClick: () => t(
|
|
4557
|
+
onClick: () => t(I)
|
|
4558
4558
|
}, null, 8, ["onClick"])
|
|
4559
4559
|
]))), 128))
|
|
4560
|
-
])) : (d(),
|
|
4560
|
+
])) : (d(), v("div", v0, [
|
|
4561
4561
|
u("label", p0, [
|
|
4562
4562
|
u("span", h0, x(r.$t("activity.attachment.button.resting")), 1),
|
|
4563
4563
|
u("input", {
|
|
@@ -4578,7 +4578,7 @@ const u0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c0 = {
|
|
|
4578
4578
|
const m0 = {
|
|
4579
4579
|
key: 0,
|
|
4580
4580
|
class: "ao-activity__category"
|
|
4581
|
-
}, g0 = { class: "ao-activity-details__content" }, b0 = { class: "ao-fieldset" }, y0 = { class: "ao-field__row" }, w0 = { class: "ao-field ao-field--full" }, $0 = { class: "ao-field__label" }, M0 = { class: "ao-field__row" }, I0 = { class: "ao-field" }, S0 = { class: "ao-field__label" }, L0 = { class: "ao-field" }, A0 = { class: "ao-field__label" }, V0 = { class: "ao-field__row" }, E0 = { class: "ao-field ao-field--multiselect" }, H0 = { class: "ao-field__label" }, T0 = { class: "ao-field__row" }, k0 = { class: "ao-field ao-field--multiselect" }, O0 = { class: "ao-field__label" }, B0 = { class: "ao-fieldset" }, Z0 = { class: "ao-fieldset__title" }, D0 = { class: "ao-field__row" }, P0 = { class: "ao-field ao-field--multiselect" }, N0 = { class: "ao-field__label" }, R0 = { class: "ao-field__row" }, U0 = { class: "ao-field ao-field--multiselect" }, q0 = { class: "ao-field__label" }, j0 = { class: "ao-field__row" }, z0 = { class: "ao-field ao-field--multiselect" }, x0 = { class: "ao-field__label" }, K0 = { class: "ao-fieldset" },
|
|
4581
|
+
}, g0 = { class: "ao-activity-details__content" }, b0 = { class: "ao-fieldset" }, y0 = { class: "ao-field__row" }, w0 = { class: "ao-field ao-field--full" }, $0 = { class: "ao-field__label" }, M0 = { class: "ao-field__row" }, I0 = { class: "ao-field" }, S0 = { class: "ao-field__label" }, L0 = { class: "ao-field" }, A0 = { class: "ao-field__label" }, V0 = { class: "ao-field__row" }, E0 = { class: "ao-field ao-field--multiselect" }, H0 = { class: "ao-field__label" }, T0 = { class: "ao-field__row" }, k0 = { class: "ao-field ao-field--multiselect" }, O0 = { class: "ao-field__label" }, B0 = { class: "ao-fieldset" }, Z0 = { class: "ao-fieldset__title" }, D0 = { class: "ao-field__row" }, P0 = { class: "ao-field ao-field--multiselect" }, N0 = { class: "ao-field__label" }, R0 = { class: "ao-field__row" }, U0 = { class: "ao-field ao-field--multiselect" }, q0 = { class: "ao-field__label" }, j0 = { class: "ao-field__row" }, z0 = { class: "ao-field ao-field--multiselect" }, x0 = { class: "ao-field__label" }, K0 = { class: "ao-fieldset" }, F0 = { class: "ao-fieldset__title" }, G0 = { class: "ao-activity-details__aside" }, Y0 = { class: "ao-fieldset__title" }, X0 = /* @__PURE__ */ Q({
|
|
4582
4582
|
__name: "AoActivityDetails",
|
|
4583
4583
|
props: {
|
|
4584
4584
|
activity: {},
|
|
@@ -4592,7 +4592,7 @@ const m0 = {
|
|
|
4592
4592
|
},
|
|
4593
4593
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "addFiles", "removeFile"],
|
|
4594
4594
|
setup(s, { emit: e }) {
|
|
4595
|
-
const t = s, n =
|
|
4595
|
+
const t = s, n = W(!1), a = (_) => {
|
|
4596
4596
|
n.value = _;
|
|
4597
4597
|
}, i = (_) => {
|
|
4598
4598
|
e("update:activity", {
|
|
@@ -4613,7 +4613,7 @@ const m0 = {
|
|
|
4613
4613
|
set(_) {
|
|
4614
4614
|
e("update:activity", { id: t.activity.id, estimation: _ });
|
|
4615
4615
|
}
|
|
4616
|
-
}),
|
|
4616
|
+
}), p = m({
|
|
4617
4617
|
get() {
|
|
4618
4618
|
return t.activity.isImportant || !1;
|
|
4619
4619
|
},
|
|
@@ -4640,7 +4640,7 @@ const m0 = {
|
|
|
4640
4640
|
dependingOn: _
|
|
4641
4641
|
});
|
|
4642
4642
|
}
|
|
4643
|
-
}),
|
|
4643
|
+
}), I = m(() => C.value.map((_) => {
|
|
4644
4644
|
var $;
|
|
4645
4645
|
return {
|
|
4646
4646
|
..._,
|
|
@@ -4715,11 +4715,11 @@ const m0 = {
|
|
|
4715
4715
|
file: _
|
|
4716
4716
|
});
|
|
4717
4717
|
};
|
|
4718
|
-
return (_, $) => (d(),
|
|
4718
|
+
return (_, $) => (d(), G(Qe, {
|
|
4719
4719
|
onClose: $[8] || ($[8] = (D) => _.$emit("close"))
|
|
4720
4720
|
}, {
|
|
4721
4721
|
header: K(() => [
|
|
4722
|
-
_.breadcrumbs ? (d(),
|
|
4722
|
+
_.breadcrumbs ? (d(), v("div", m0, x(_.breadcrumbs), 1)) : A("", !0),
|
|
4723
4723
|
V(M1, {
|
|
4724
4724
|
title: _.activity.name || _.activity.id,
|
|
4725
4725
|
level: 4,
|
|
@@ -4774,13 +4774,13 @@ const m0 = {
|
|
|
4774
4774
|
u("label", L0, [
|
|
4775
4775
|
u("span", A0, x(_.$t("activity.isImportant.label")), 1),
|
|
4776
4776
|
ae(u("input", {
|
|
4777
|
-
"onUpdate:modelValue": $[2] || ($[2] = (D) =>
|
|
4777
|
+
"onUpdate:modelValue": $[2] || ($[2] = (D) => p.value = D),
|
|
4778
4778
|
class: "ao-field__input",
|
|
4779
4779
|
type: "checkbox"
|
|
4780
4780
|
}, null, 512), [
|
|
4781
4781
|
[
|
|
4782
4782
|
Lt,
|
|
4783
|
-
|
|
4783
|
+
p.value,
|
|
4784
4784
|
void 0,
|
|
4785
4785
|
{ lazy: !0 }
|
|
4786
4786
|
]
|
|
@@ -4844,7 +4844,7 @@ const m0 = {
|
|
|
4844
4844
|
mode: "tags",
|
|
4845
4845
|
"close-on-select": !1,
|
|
4846
4846
|
searchable: !0,
|
|
4847
|
-
options:
|
|
4847
|
+
options: I.value
|
|
4848
4848
|
}, null, 8, ["modelValue", "options"])
|
|
4849
4849
|
])
|
|
4850
4850
|
]),
|
|
@@ -4878,7 +4878,7 @@ const m0 = {
|
|
|
4878
4878
|
])
|
|
4879
4879
|
]),
|
|
4880
4880
|
u("fieldset", K0, [
|
|
4881
|
-
u("div",
|
|
4881
|
+
u("div", F0, [
|
|
4882
4882
|
V(v1, { name: "SelectCheckBox" }),
|
|
4883
4883
|
V(M1, {
|
|
4884
4884
|
level: 4,
|
|
@@ -4895,9 +4895,9 @@ const m0 = {
|
|
|
4895
4895
|
onDelete: O
|
|
4896
4896
|
}, null, 8, ["subtasks", "activity-id", "assignees-options"])
|
|
4897
4897
|
]),
|
|
4898
|
-
|
|
4898
|
+
F(_.$slots, "default")
|
|
4899
4899
|
]),
|
|
4900
|
-
u("div",
|
|
4900
|
+
u("div", G0, [
|
|
4901
4901
|
u("div", Y0, [
|
|
4902
4902
|
V(v1, { name: "AttachFileRounded" }),
|
|
4903
4903
|
V(M1, {
|
|
@@ -4961,14 +4961,14 @@ const W0 = /* @__PURE__ */ Q({
|
|
|
4961
4961
|
value: O.id,
|
|
4962
4962
|
label: O.name
|
|
4963
4963
|
}));
|
|
4964
|
-
}),
|
|
4964
|
+
}), p = be(t.rule.comparator), r = m({
|
|
4965
4965
|
get() {
|
|
4966
|
-
return
|
|
4966
|
+
return p.value;
|
|
4967
4967
|
},
|
|
4968
4968
|
set(L) {
|
|
4969
4969
|
e("update:rule", { ...t.rule, comparator: L });
|
|
4970
4970
|
}
|
|
4971
|
-
}), C = m(() => Object.values(n7)), y = be(t.rule.trigger),
|
|
4971
|
+
}), C = m(() => Object.values(n7)), y = be(t.rule.trigger), I = m({
|
|
4972
4972
|
get() {
|
|
4973
4973
|
return y.value;
|
|
4974
4974
|
},
|
|
@@ -4990,7 +4990,7 @@ const W0 = /* @__PURE__ */ Q({
|
|
|
4990
4990
|
e("update:rule", { ...t.rule, durationUnit: L });
|
|
4991
4991
|
}
|
|
4992
4992
|
}), R = m(() => Object.values(o7));
|
|
4993
|
-
return (L, h) => (d(),
|
|
4993
|
+
return (L, h) => (d(), G(F1(L.tagName), { class: "ao-rule-line" }, {
|
|
4994
4994
|
default: K(() => [
|
|
4995
4995
|
V(t1(C1), {
|
|
4996
4996
|
modelValue: a.value,
|
|
@@ -5003,8 +5003,8 @@ const W0 = /* @__PURE__ */ Q({
|
|
|
5003
5003
|
options: o.value
|
|
5004
5004
|
}, null, 8, ["modelValue", "options"]),
|
|
5005
5005
|
V(t1(C1), {
|
|
5006
|
-
modelValue:
|
|
5007
|
-
"onUpdate:modelValue": h[2] || (h[2] = (O) =>
|
|
5006
|
+
modelValue: I.value,
|
|
5007
|
+
"onUpdate:modelValue": h[2] || (h[2] = (O) => I.value = O),
|
|
5008
5008
|
options: B.value
|
|
5009
5009
|
}, null, 8, ["modelValue", "options"]),
|
|
5010
5010
|
V(t1(C1), {
|
|
@@ -5056,7 +5056,7 @@ const J0 = { class: "ao-template-rules__body" }, Q0 = { class: "ao-template-rule
|
|
|
5056
5056
|
}, n = (a) => {
|
|
5057
5057
|
e("removeRule", a);
|
|
5058
5058
|
};
|
|
5059
|
-
return (a, i) => (d(),
|
|
5059
|
+
return (a, i) => (d(), G(Qe, null, {
|
|
5060
5060
|
header: K(() => [
|
|
5061
5061
|
V(M1, {
|
|
5062
5062
|
title: a.$t("template.rules.title"),
|
|
@@ -5066,7 +5066,7 @@ const J0 = { class: "ao-template-rules__body" }, Q0 = { class: "ao-template-rule
|
|
|
5066
5066
|
default: K(() => [
|
|
5067
5067
|
u("div", J0, [
|
|
5068
5068
|
u("ul", Q0, [
|
|
5069
|
-
(d(!0),
|
|
5069
|
+
(d(!0), v(f1, null, $1(a.rules, (l) => (d(), G(W0, {
|
|
5070
5070
|
key: l.id,
|
|
5071
5071
|
rule: l,
|
|
5072
5072
|
"template-phases": a.templatePhases,
|
|
@@ -5110,40 +5110,40 @@ const to = {
|
|
|
5110
5110
|
);
|
|
5111
5111
|
m({
|
|
5112
5112
|
get() {
|
|
5113
|
-
var
|
|
5114
|
-
return [...((
|
|
5113
|
+
var S;
|
|
5114
|
+
return [...((S = a.value) == null ? void 0 : S.phases) || []].sort((Z, J) => Z.order - J.order);
|
|
5115
5115
|
},
|
|
5116
5116
|
set(b) {
|
|
5117
|
-
b.map((g,
|
|
5117
|
+
b.map((g, S) => (g.order = S, g));
|
|
5118
5118
|
}
|
|
5119
5119
|
});
|
|
5120
5120
|
const i = m(() => {
|
|
5121
5121
|
var b, g;
|
|
5122
|
-
return (g = (b = a == null ? void 0 : a.value) == null ? void 0 : b.phases) == null ? void 0 : g.find((
|
|
5122
|
+
return (g = (b = a == null ? void 0 : a.value) == null ? void 0 : b.phases) == null ? void 0 : g.find((S) => S.id === t.phaseId);
|
|
5123
5123
|
}), l = m(() => {
|
|
5124
5124
|
var b, g;
|
|
5125
5125
|
return (g = (b = i.value) == null ? void 0 : b.milestones) == null ? void 0 : g.find(
|
|
5126
|
-
(
|
|
5126
|
+
(S) => S.id === t.milestoneId
|
|
5127
5127
|
);
|
|
5128
5128
|
}), o = m(() => {
|
|
5129
5129
|
var b, g;
|
|
5130
|
-
return ((g = (b = a.value) == null ? void 0 : b.phases) == null ? void 0 : g.reduce((
|
|
5131
|
-
const
|
|
5132
|
-
return [...
|
|
5130
|
+
return ((g = (b = a.value) == null ? void 0 : b.phases) == null ? void 0 : g.reduce((S, Z) => {
|
|
5131
|
+
const J = Z.milestones || [];
|
|
5132
|
+
return [...S, ...J];
|
|
5133
5133
|
}, [])) || [];
|
|
5134
|
-
}),
|
|
5134
|
+
}), p = m(() => {
|
|
5135
5135
|
var b, g;
|
|
5136
|
-
return ((g = (b = a.value) == null ? void 0 : b.phases) == null ? void 0 : g.reduce((
|
|
5136
|
+
return ((g = (b = a.value) == null ? void 0 : b.phases) == null ? void 0 : g.reduce((S, Z) => {
|
|
5137
5137
|
const i1 = (Z.milestones || []).reduce(
|
|
5138
5138
|
(X, U) => U.activities ? [...X, ...U.activities] : X,
|
|
5139
5139
|
[]
|
|
5140
5140
|
);
|
|
5141
|
-
return [...
|
|
5141
|
+
return [...S, ...i1];
|
|
5142
5142
|
}, [])) || [];
|
|
5143
5143
|
}), r = m(() => {
|
|
5144
5144
|
var b, g;
|
|
5145
5145
|
return (g = (b = l.value) == null ? void 0 : b.activities) == null ? void 0 : g.find(
|
|
5146
|
-
(
|
|
5146
|
+
(S) => S.id === t.activityId
|
|
5147
5147
|
);
|
|
5148
5148
|
}), C = m(() => {
|
|
5149
5149
|
var b;
|
|
@@ -5154,12 +5154,12 @@ const to = {
|
|
|
5154
5154
|
}), y = m(() => {
|
|
5155
5155
|
var b;
|
|
5156
5156
|
return ((b = a.value) == null ? void 0 : b.name) || t.templateId;
|
|
5157
|
-
}),
|
|
5157
|
+
}), I = W(!1), B = () => {
|
|
5158
5158
|
if (!a.value)
|
|
5159
5159
|
return;
|
|
5160
|
-
const b = a.value.phases.length, g = a.value.phases.at(-1),
|
|
5160
|
+
const b = a.value.phases.length, g = a.value.phases.at(-1), S = g ? u1.LexoRank.parse(g.rank).genNext() : u1.LexoRank.middle(), Z = {
|
|
5161
5161
|
name: n("template.defaultName.phase", { idx: b + 1 }),
|
|
5162
|
-
rank:
|
|
5162
|
+
rank: S.format(),
|
|
5163
5163
|
templateId: t.templateId
|
|
5164
5164
|
};
|
|
5165
5165
|
e("addItem", {
|
|
@@ -5194,7 +5194,7 @@ const to = {
|
|
|
5194
5194
|
}, h = (b) => {
|
|
5195
5195
|
if (!i.value)
|
|
5196
5196
|
return;
|
|
5197
|
-
const g = i.value.milestones.length,
|
|
5197
|
+
const g = i.value.milestones.length, S = i.value.milestones.at(-1), Z = S ? u1.LexoRank.parse(S.rank).genNext() : u1.LexoRank.middle(), J = {
|
|
5198
5198
|
name: n("template.defaultName.milestone", { idx: g + 1 }),
|
|
5199
5199
|
rank: Z.format(),
|
|
5200
5200
|
phaseId: b.phaseId
|
|
@@ -5203,7 +5203,7 @@ const to = {
|
|
|
5203
5203
|
type: l1.MILESTONES,
|
|
5204
5204
|
templateId: t.templateId,
|
|
5205
5205
|
phaseId: b.phaseId,
|
|
5206
|
-
item:
|
|
5206
|
+
item: J
|
|
5207
5207
|
});
|
|
5208
5208
|
}, O = (b) => {
|
|
5209
5209
|
e("removeItem", {
|
|
@@ -5215,20 +5215,20 @@ const to = {
|
|
|
5215
5215
|
}
|
|
5216
5216
|
});
|
|
5217
5217
|
}, Y = (b) => {
|
|
5218
|
-
const { id: g, ...
|
|
5218
|
+
const { id: g, ...S } = b;
|
|
5219
5219
|
e("updateItem", {
|
|
5220
5220
|
itemType: l1.MILESTONES,
|
|
5221
5221
|
id: g,
|
|
5222
5222
|
templateId: t.templateId,
|
|
5223
|
-
data:
|
|
5223
|
+
data: S
|
|
5224
5224
|
});
|
|
5225
5225
|
}, s1 = (b) => {
|
|
5226
5226
|
const { milestoneId: g } = b;
|
|
5227
5227
|
if (!l.value)
|
|
5228
5228
|
return;
|
|
5229
|
-
const
|
|
5230
|
-
name: n("template.defaultName.activity", { idx:
|
|
5231
|
-
rank:
|
|
5229
|
+
const S = l.value.activities.length, Z = l.value.activities.at(-1), J = Z ? u1.LexoRank.parse(Z.rank).genNext() : u1.LexoRank.middle(), i1 = {
|
|
5230
|
+
name: n("template.defaultName.activity", { idx: S + 1 }),
|
|
5231
|
+
rank: J.format(),
|
|
5232
5232
|
milestoneId: g
|
|
5233
5233
|
};
|
|
5234
5234
|
e("addItem", {
|
|
@@ -5237,25 +5237,25 @@ const to = {
|
|
|
5237
5237
|
item: i1
|
|
5238
5238
|
});
|
|
5239
5239
|
}, H = (b) => {
|
|
5240
|
-
const { phaseId: g, milestoneId:
|
|
5240
|
+
const { phaseId: g, milestoneId: S } = b;
|
|
5241
5241
|
e("removeItem", {
|
|
5242
5242
|
type: l1.ACTIVITIES,
|
|
5243
5243
|
templateId: t.templateId,
|
|
5244
5244
|
phaseId: g,
|
|
5245
|
-
milestoneId:
|
|
5245
|
+
milestoneId: S,
|
|
5246
5246
|
data: {
|
|
5247
5247
|
id: b.id
|
|
5248
5248
|
}
|
|
5249
5249
|
});
|
|
5250
5250
|
}, e1 = (b) => {
|
|
5251
|
-
const { id: g, ...
|
|
5251
|
+
const { id: g, ...S } = b;
|
|
5252
5252
|
e("updateItem", {
|
|
5253
5253
|
itemType: l1.ACTIVITIES,
|
|
5254
5254
|
id: g,
|
|
5255
5255
|
templateId: t.templateId,
|
|
5256
|
-
data:
|
|
5256
|
+
data: S
|
|
5257
5257
|
});
|
|
5258
|
-
}, _ =
|
|
5258
|
+
}, _ = W(!1), $ = () => {
|
|
5259
5259
|
_.value = !_.value;
|
|
5260
5260
|
}, D = () => {
|
|
5261
5261
|
e("addRule", { templateId: t.templateId });
|
|
@@ -5264,13 +5264,13 @@ const to = {
|
|
|
5264
5264
|
}, E = (b) => {
|
|
5265
5265
|
var g;
|
|
5266
5266
|
if (b.moved) {
|
|
5267
|
-
const
|
|
5267
|
+
const S = Le(b, ((g = a.value) == null ? void 0 : g.phases) ?? []);
|
|
5268
5268
|
e("updateItem", {
|
|
5269
5269
|
itemType: l1.PHASES,
|
|
5270
5270
|
id: b.moved.element.id,
|
|
5271
5271
|
templateId: t.templateId,
|
|
5272
5272
|
data: {
|
|
5273
|
-
rank:
|
|
5273
|
+
rank: S
|
|
5274
5274
|
}
|
|
5275
5275
|
});
|
|
5276
5276
|
}
|
|
@@ -5284,29 +5284,29 @@ const to = {
|
|
|
5284
5284
|
item: b
|
|
5285
5285
|
});
|
|
5286
5286
|
}, c1 = (b) => {
|
|
5287
|
-
var Z,
|
|
5287
|
+
var Z, J, i1, X;
|
|
5288
5288
|
if (!i.value || !l.value || !r.value)
|
|
5289
5289
|
return;
|
|
5290
|
-
const g = [...((Z = r.value) == null ? void 0 : Z.subtasks) || []],
|
|
5291
|
-
g[
|
|
5292
|
-
...g[
|
|
5290
|
+
const g = [...((Z = r.value) == null ? void 0 : Z.subtasks) || []], S = g.findIndex((U) => U.id === b.id);
|
|
5291
|
+
g[S] = {
|
|
5292
|
+
...g[S],
|
|
5293
5293
|
...b
|
|
5294
5294
|
}, e1({
|
|
5295
|
-
id: (
|
|
5295
|
+
id: (J = r.value) == null ? void 0 : J.id,
|
|
5296
5296
|
phaseId: (i1 = i.value) == null ? void 0 : i1.id,
|
|
5297
5297
|
milestoneId: (X = l.value) == null ? void 0 : X.id,
|
|
5298
5298
|
subtasks: g
|
|
5299
5299
|
});
|
|
5300
5300
|
}, m1 = (b) => {
|
|
5301
|
-
var
|
|
5301
|
+
var S, Z, J, i1;
|
|
5302
5302
|
if (!i.value || !l.value || !r.value)
|
|
5303
5303
|
return;
|
|
5304
|
-
const g = [...((
|
|
5304
|
+
const g = [...((S = r.value) == null ? void 0 : S.subtasks) || []].filter(
|
|
5305
5305
|
(X) => X.id !== b
|
|
5306
5306
|
);
|
|
5307
5307
|
e1({
|
|
5308
5308
|
id: (Z = r.value) == null ? void 0 : Z.id,
|
|
5309
|
-
phaseId: (
|
|
5309
|
+
phaseId: (J = i.value) == null ? void 0 : J.id,
|
|
5310
5310
|
milestoneId: (i1 = l.value) == null ? void 0 : i1.id,
|
|
5311
5311
|
subtasks: g
|
|
5312
5312
|
});
|
|
@@ -5316,8 +5316,8 @@ const to = {
|
|
|
5316
5316
|
e("removeFile", b);
|
|
5317
5317
|
};
|
|
5318
5318
|
return (b, g) => {
|
|
5319
|
-
var
|
|
5320
|
-
return a.value ? (d(),
|
|
5319
|
+
var S, Z, J, i1, X, U;
|
|
5320
|
+
return a.value ? (d(), v("div", to, [
|
|
5321
5321
|
V(Je, {
|
|
5322
5322
|
"can-go-back": !0,
|
|
5323
5323
|
onGoBack: g[2] || (g[2] = (f) => b.$router.push({ name: t1(K1).TEMPLATES_LIST }))
|
|
@@ -5326,9 +5326,9 @@ const to = {
|
|
|
5326
5326
|
V(M1, {
|
|
5327
5327
|
title: y.value,
|
|
5328
5328
|
level: 2,
|
|
5329
|
-
"is-editing":
|
|
5329
|
+
"is-editing": I.value,
|
|
5330
5330
|
onToggleIsEditing: g[0] || (g[0] = (f) => {
|
|
5331
|
-
|
|
5331
|
+
I.value = f;
|
|
5332
5332
|
}),
|
|
5333
5333
|
"onUpdate:title": g[1] || (g[1] = (f) => {
|
|
5334
5334
|
k(f);
|
|
@@ -5395,11 +5395,11 @@ const to = {
|
|
|
5395
5395
|
}, 8, ["model-value"])
|
|
5396
5396
|
]),
|
|
5397
5397
|
u("li", io, [
|
|
5398
|
-
i.value ? (d(),
|
|
5398
|
+
i.value ? (d(), G(c7, {
|
|
5399
5399
|
key: 0,
|
|
5400
5400
|
"template-id": b.templateId,
|
|
5401
5401
|
phase: i.value,
|
|
5402
|
-
"milestone-id": (
|
|
5402
|
+
"milestone-id": (S = l.value) == null ? void 0 : S.id,
|
|
5403
5403
|
onAddMilestone: h,
|
|
5404
5404
|
onUpdateMilestone: Y,
|
|
5405
5405
|
onUpdatePhase: L,
|
|
@@ -5407,12 +5407,12 @@ const to = {
|
|
|
5407
5407
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
|
|
5408
5408
|
]),
|
|
5409
5409
|
u("li", oo, [
|
|
5410
|
-
i.value && l.value ? (d(),
|
|
5410
|
+
i.value && l.value ? (d(), G(v7, {
|
|
5411
5411
|
key: 0,
|
|
5412
5412
|
"template-id": b.templateId,
|
|
5413
5413
|
"phase-id": (Z = i.value) == null ? void 0 : Z.id,
|
|
5414
5414
|
milestone: l.value,
|
|
5415
|
-
"activity-id": (
|
|
5415
|
+
"activity-id": (J = r.value) == null ? void 0 : J.id,
|
|
5416
5416
|
onAddActivity: s1,
|
|
5417
5417
|
onUpdateActivity: e1,
|
|
5418
5418
|
onUpdateMilestone: Y,
|
|
@@ -5421,14 +5421,14 @@ const to = {
|
|
|
5421
5421
|
])
|
|
5422
5422
|
])
|
|
5423
5423
|
]),
|
|
5424
|
-
(d(),
|
|
5425
|
-
r.value ? (d(),
|
|
5424
|
+
(d(), G(Ue, { to: "body" }, [
|
|
5425
|
+
r.value ? (d(), G(X0, {
|
|
5426
5426
|
key: 0,
|
|
5427
5427
|
activity: r.value,
|
|
5428
5428
|
"activity-types": C.value,
|
|
5429
5429
|
breadcrumbs: `${a.value.name} / ${(i1 = i.value) == null ? void 0 : i1.name} / ${(X = l.value) == null ? void 0 : X.name}`,
|
|
5430
5430
|
"milestone-id": (U = l.value) == null ? void 0 : U.id,
|
|
5431
|
-
"template-activities":
|
|
5431
|
+
"template-activities": p.value,
|
|
5432
5432
|
"template-milestones": o.value,
|
|
5433
5433
|
"is-template": !0,
|
|
5434
5434
|
"onUpdate:activity": g[3] || (g[3] = (f) => {
|
|
@@ -5446,14 +5446,14 @@ const to = {
|
|
|
5446
5446
|
onRemoveFile: n1
|
|
5447
5447
|
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : A("", !0)
|
|
5448
5448
|
])),
|
|
5449
|
-
(d(),
|
|
5450
|
-
_.value ? (d(),
|
|
5449
|
+
(d(), G(Ue, { to: "body" }, [
|
|
5450
|
+
_.value ? (d(), G(eo, {
|
|
5451
5451
|
key: 0,
|
|
5452
5452
|
"template-id": a.value.id,
|
|
5453
5453
|
rules: a.value.rules || [],
|
|
5454
5454
|
"template-phases": a.value.phases,
|
|
5455
5455
|
"template-milestones": o.value,
|
|
5456
|
-
"template-activities":
|
|
5456
|
+
"template-activities": p.value,
|
|
5457
5457
|
onClose: $,
|
|
5458
5458
|
onAddRule: D,
|
|
5459
5459
|
onRemoveRule: o1
|
|
@@ -5463,8 +5463,8 @@ const to = {
|
|
|
5463
5463
|
};
|
|
5464
5464
|
}
|
|
5465
5465
|
});
|
|
5466
|
-
|
|
5467
|
-
|
|
5466
|
+
W([]);
|
|
5467
|
+
W("");
|
|
5468
5468
|
const K1 = {
|
|
5469
5469
|
TEMPLATES: "templates",
|
|
5470
5470
|
TEMPLATE_DETAILS: "template_details",
|
|
@@ -5496,35 +5496,35 @@ const K1 = {
|
|
|
5496
5496
|
emits: ["addTemplate", "updateTemplates"],
|
|
5497
5497
|
setup(s, { emit: e }) {
|
|
5498
5498
|
const t = s, { t: n } = Ee(), a = () => {
|
|
5499
|
-
var y,
|
|
5500
|
-
const o = (y = t.templates) == null ? void 0 : y.at(-1),
|
|
5499
|
+
var y, I;
|
|
5500
|
+
const o = (y = t.templates) == null ? void 0 : y.at(-1), p = o ? u1.LexoRank.parse(o.rank).genNext() : u1.LexoRank.middle(), r = ((I = t.templates) == null ? void 0 : I.length) ?? 0, C = {
|
|
5501
5501
|
name: n("template.defaultName.template", { idx: r + 1 }),
|
|
5502
|
-
rank:
|
|
5502
|
+
rank: p.format()
|
|
5503
5503
|
};
|
|
5504
5504
|
e("addTemplate", C);
|
|
5505
|
-
}, i = (o,
|
|
5505
|
+
}, i = (o, p) => {
|
|
5506
5506
|
e("updateItem", {
|
|
5507
5507
|
itemType: l1.TEMPLATES,
|
|
5508
5508
|
id: o,
|
|
5509
5509
|
templateId: o,
|
|
5510
5510
|
data: {
|
|
5511
|
-
name:
|
|
5511
|
+
name: p
|
|
5512
5512
|
}
|
|
5513
5513
|
});
|
|
5514
5514
|
}, l = (o) => {
|
|
5515
5515
|
if (o.moved) {
|
|
5516
|
-
const
|
|
5516
|
+
const p = Le(o, t.templates);
|
|
5517
5517
|
e("updateItem", {
|
|
5518
5518
|
itemType: l1.TEMPLATES,
|
|
5519
5519
|
id: o.moved.element.id,
|
|
5520
5520
|
templateId: o.moved.element.id,
|
|
5521
5521
|
data: {
|
|
5522
|
-
rank:
|
|
5522
|
+
rank: p
|
|
5523
5523
|
}
|
|
5524
5524
|
});
|
|
5525
5525
|
}
|
|
5526
5526
|
};
|
|
5527
|
-
return (o,
|
|
5527
|
+
return (o, p) => (d(), v("div", uo, [
|
|
5528
5528
|
V(Je, null, {
|
|
5529
5529
|
secondary: K(() => [
|
|
5530
5530
|
V(g1, {
|
|
@@ -5547,7 +5547,7 @@ const K1 = {
|
|
|
5547
5547
|
item: K(({ element: r }) => {
|
|
5548
5548
|
var C;
|
|
5549
5549
|
return [
|
|
5550
|
-
V(
|
|
5550
|
+
V(F5, {
|
|
5551
5551
|
title: r.name || r.id,
|
|
5552
5552
|
phases: r.phases,
|
|
5553
5553
|
milestones: (C = r.phases) != null && C.length ? t1($5)(r.phases) : 0,
|