@26lights/orcha 0.7.35 → 0.7.37
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/locales/en/translation.json +4 -4
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +749 -747
- package/dist/orcha.umd.js +2 -2
- package/dist/src/components/AoActivityDetailsComments.vue.d.ts +8 -8
- package/dist/src/components/{AoActivitySubtasks.vue.d.ts → AoActivityTasks.vue.d.ts} +2 -2
- package/dist/src/components/AoCardFeed.vue.d.ts +10 -16
- package/dist/src/components/AoCardTemplateItem.vue.d.ts +2 -2
- package/dist/src/components/AoCardTemplateItemActivity.vue.d.ts +2 -2
- package/dist/src/types/index.d.ts +15 -14
- package/dist/src/views/AoProjectOverviewMilestoneDetails.vue.d.ts +19 -17
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, openBlock as
|
|
1
|
+
import { defineComponent as Y, openBlock as c, createBlock as U, unref as H, mergeProps as Pe, createElementBlock as h, createElementVNode as r, pushScopeId as ha, popScopeId as pa, createStaticVNode as Ca, computed as _, resolveDynamicComponent as Je, normalizeClass as W, renderSlot as K, toDisplayString as R, createCommentVNode as k, ref as ee, watch as fe, nextTick as Ze, withKeys as mt, toHandlers as _a, withCtx as q, createTextVNode as e1, createVNode as $, withModifiers as ke, Fragment as oe, renderList as he, toRefs as ye, getCurrentInstance as Ue, onMounted as Ot, onUnmounted as ga, withDirectives as xe, vModelText as ft, vModelCheckbox as ya, toRef as ct, Teleport as kt, normalizeStyle as ba, toValue as p1, onBeforeMount as wa, resolveComponent as $a, getCurrentScope as Ma, onScopeDispose as ka, provide as Sa } from "vue";
|
|
2
2
|
import { RouterView as Ta } from "vue-router";
|
|
3
3
|
import ht from "vuedraggable";
|
|
4
4
|
const Yd = /* @__PURE__ */ Y({
|
|
@@ -7,7 +7,7 @@ const Yd = /* @__PURE__ */ Y({
|
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(a) {
|
|
10
|
-
return (e, t) => (
|
|
10
|
+
return (e, t) => (c(), U(H(Ta), Pe({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
12
|
}), O = (a, e) => {
|
|
13
13
|
const t = a.__vccOpts || a;
|
|
@@ -27,7 +27,7 @@ const Yd = /* @__PURE__ */ Y({
|
|
|
27
27
|
Oa
|
|
28
28
|
];
|
|
29
29
|
function Ea(a, e) {
|
|
30
|
-
return
|
|
30
|
+
return c(), h("svg", Ia, La);
|
|
31
31
|
}
|
|
32
32
|
const Va = /* @__PURE__ */ O(Aa, [["render", Ea]]), Ha = {}, Da = {
|
|
33
33
|
width: "24",
|
|
@@ -42,7 +42,7 @@ const Va = /* @__PURE__ */ O(Aa, [["render", Ea]]), Ha = {}, Da = {
|
|
|
42
42
|
Pa
|
|
43
43
|
];
|
|
44
44
|
function Ba(a, e) {
|
|
45
|
-
return
|
|
45
|
+
return c(), h("svg", Da, Na);
|
|
46
46
|
}
|
|
47
47
|
const Za = /* @__PURE__ */ O(Ha, [["render", Ba]]), Ua = {}, ja = {
|
|
48
48
|
width: "24",
|
|
@@ -57,7 +57,7 @@ const Za = /* @__PURE__ */ O(Ha, [["render", Ba]]), Ua = {}, ja = {
|
|
|
57
57
|
Ra
|
|
58
58
|
];
|
|
59
59
|
function Fa(a, e) {
|
|
60
|
-
return
|
|
60
|
+
return c(), h("svg", ja, qa);
|
|
61
61
|
}
|
|
62
62
|
const za = /* @__PURE__ */ O(Ua, [["render", Fa]]), Wa = {}, Ya = {
|
|
63
63
|
width: "24",
|
|
@@ -72,7 +72,7 @@ const za = /* @__PURE__ */ O(Ua, [["render", Fa]]), Wa = {}, Ya = {
|
|
|
72
72
|
Ga
|
|
73
73
|
];
|
|
74
74
|
function xa(a, e) {
|
|
75
|
-
return
|
|
75
|
+
return c(), h("svg", Ya, Ka);
|
|
76
76
|
}
|
|
77
77
|
const Xa = /* @__PURE__ */ O(Wa, [["render", xa]]), Qa = {}, Ja = {
|
|
78
78
|
width: "24",
|
|
@@ -87,7 +87,7 @@ const Xa = /* @__PURE__ */ O(Wa, [["render", xa]]), Qa = {}, Ja = {
|
|
|
87
87
|
en
|
|
88
88
|
];
|
|
89
89
|
function an(a, e) {
|
|
90
|
-
return
|
|
90
|
+
return c(), h("svg", Ja, tn);
|
|
91
91
|
}
|
|
92
92
|
const nn = /* @__PURE__ */ O(Qa, [["render", an]]), sn = {}, ln = {
|
|
93
93
|
width: "24",
|
|
@@ -102,7 +102,7 @@ const nn = /* @__PURE__ */ O(Qa, [["render", an]]), sn = {}, ln = {
|
|
|
102
102
|
on
|
|
103
103
|
];
|
|
104
104
|
function un(a, e) {
|
|
105
|
-
return
|
|
105
|
+
return c(), h("svg", ln, rn);
|
|
106
106
|
}
|
|
107
107
|
const cn = /* @__PURE__ */ O(sn, [["render", un]]), dn = {}, vn = {
|
|
108
108
|
width: "24",
|
|
@@ -117,7 +117,7 @@ const cn = /* @__PURE__ */ O(sn, [["render", un]]), dn = {}, vn = {
|
|
|
117
117
|
mn
|
|
118
118
|
];
|
|
119
119
|
function hn(a, e) {
|
|
120
|
-
return
|
|
120
|
+
return c(), h("svg", vn, fn);
|
|
121
121
|
}
|
|
122
122
|
const pn = /* @__PURE__ */ O(dn, [["render", hn]]), Cn = {}, _n = {
|
|
123
123
|
width: "24",
|
|
@@ -132,7 +132,7 @@ const pn = /* @__PURE__ */ O(dn, [["render", hn]]), Cn = {}, _n = {
|
|
|
132
132
|
gn
|
|
133
133
|
];
|
|
134
134
|
function bn(a, e) {
|
|
135
|
-
return
|
|
135
|
+
return c(), h("svg", _n, yn);
|
|
136
136
|
}
|
|
137
137
|
const wn = /* @__PURE__ */ O(Cn, [["render", bn]]), $n = {}, Mn = {
|
|
138
138
|
width: "24",
|
|
@@ -147,7 +147,7 @@ const wn = /* @__PURE__ */ O(Cn, [["render", bn]]), $n = {}, Mn = {
|
|
|
147
147
|
kn
|
|
148
148
|
];
|
|
149
149
|
function Tn(a, e) {
|
|
150
|
-
return
|
|
150
|
+
return c(), h("svg", Mn, Sn);
|
|
151
151
|
}
|
|
152
152
|
const An = /* @__PURE__ */ O($n, [["render", Tn]]), In = {}, On = {
|
|
153
153
|
width: "24",
|
|
@@ -162,7 +162,7 @@ const An = /* @__PURE__ */ O($n, [["render", Tn]]), In = {}, On = {
|
|
|
162
162
|
Ln
|
|
163
163
|
];
|
|
164
164
|
function Vn(a, e) {
|
|
165
|
-
return
|
|
165
|
+
return c(), h("svg", On, En);
|
|
166
166
|
}
|
|
167
167
|
const Hn = /* @__PURE__ */ O(In, [["render", Vn]]), Dn = {}, Pn = {
|
|
168
168
|
width: "24",
|
|
@@ -177,7 +177,7 @@ const Hn = /* @__PURE__ */ O(In, [["render", Vn]]), Dn = {}, Pn = {
|
|
|
177
177
|
Nn
|
|
178
178
|
];
|
|
179
179
|
function Zn(a, e) {
|
|
180
|
-
return
|
|
180
|
+
return c(), h("svg", Pn, Bn);
|
|
181
181
|
}
|
|
182
182
|
const Un = /* @__PURE__ */ O(Dn, [["render", Zn]]), jn = {}, Rn = {
|
|
183
183
|
width: "24",
|
|
@@ -192,7 +192,7 @@ const Un = /* @__PURE__ */ O(Dn, [["render", Zn]]), jn = {}, Rn = {
|
|
|
192
192
|
qn
|
|
193
193
|
];
|
|
194
194
|
function zn(a, e) {
|
|
195
|
-
return
|
|
195
|
+
return c(), h("svg", Rn, Fn);
|
|
196
196
|
}
|
|
197
197
|
const Wn = /* @__PURE__ */ O(jn, [["render", zn]]), Yn = {}, Gn = {
|
|
198
198
|
width: "24",
|
|
@@ -207,7 +207,7 @@ const Wn = /* @__PURE__ */ O(jn, [["render", zn]]), Yn = {}, Gn = {
|
|
|
207
207
|
Kn
|
|
208
208
|
];
|
|
209
209
|
function Xn(a, e) {
|
|
210
|
-
return
|
|
210
|
+
return c(), h("svg", Gn, xn);
|
|
211
211
|
}
|
|
212
212
|
const Qn = /* @__PURE__ */ O(Yn, [["render", Xn]]), Jn = {}, es = {
|
|
213
213
|
width: "24",
|
|
@@ -222,7 +222,7 @@ const Qn = /* @__PURE__ */ O(Yn, [["render", Xn]]), Jn = {}, es = {
|
|
|
222
222
|
ts
|
|
223
223
|
];
|
|
224
224
|
function ns(a, e) {
|
|
225
|
-
return
|
|
225
|
+
return c(), h("svg", es, as);
|
|
226
226
|
}
|
|
227
227
|
const ss = /* @__PURE__ */ O(Jn, [["render", ns]]), is = {}, ls = {
|
|
228
228
|
width: "24",
|
|
@@ -237,7 +237,7 @@ const ss = /* @__PURE__ */ O(Jn, [["render", ns]]), is = {}, ls = {
|
|
|
237
237
|
os
|
|
238
238
|
];
|
|
239
239
|
function us(a, e) {
|
|
240
|
-
return
|
|
240
|
+
return c(), h("svg", ls, rs);
|
|
241
241
|
}
|
|
242
242
|
const cs = /* @__PURE__ */ O(is, [["render", us]]), ds = {}, vs = {
|
|
243
243
|
width: "24",
|
|
@@ -252,7 +252,7 @@ const cs = /* @__PURE__ */ O(is, [["render", us]]), ds = {}, vs = {
|
|
|
252
252
|
ms
|
|
253
253
|
];
|
|
254
254
|
function hs(a, e) {
|
|
255
|
-
return
|
|
255
|
+
return c(), h("svg", vs, fs);
|
|
256
256
|
}
|
|
257
257
|
const ps = /* @__PURE__ */ O(ds, [["render", hs]]), Cs = {}, _s = {
|
|
258
258
|
width: "24",
|
|
@@ -267,7 +267,7 @@ const ps = /* @__PURE__ */ O(ds, [["render", hs]]), Cs = {}, _s = {
|
|
|
267
267
|
gs
|
|
268
268
|
];
|
|
269
269
|
function bs(a, e) {
|
|
270
|
-
return
|
|
270
|
+
return c(), h("svg", _s, ys);
|
|
271
271
|
}
|
|
272
272
|
const ws = /* @__PURE__ */ O(Cs, [["render", bs]]), $s = {}, Ms = {
|
|
273
273
|
width: "24",
|
|
@@ -282,7 +282,7 @@ const ws = /* @__PURE__ */ O(Cs, [["render", bs]]), $s = {}, Ms = {
|
|
|
282
282
|
ks
|
|
283
283
|
];
|
|
284
284
|
function Ts(a, e) {
|
|
285
|
-
return
|
|
285
|
+
return c(), h("svg", Ms, Ss);
|
|
286
286
|
}
|
|
287
287
|
const As = /* @__PURE__ */ O($s, [["render", Ts]]), Is = {}, Os = {
|
|
288
288
|
width: "24",
|
|
@@ -297,7 +297,7 @@ const As = /* @__PURE__ */ O($s, [["render", Ts]]), Is = {}, Os = {
|
|
|
297
297
|
Ls
|
|
298
298
|
];
|
|
299
299
|
function Vs(a, e) {
|
|
300
|
-
return
|
|
300
|
+
return c(), h("svg", Os, Es);
|
|
301
301
|
}
|
|
302
302
|
const Hs = /* @__PURE__ */ O(Is, [["render", Vs]]), Ds = {}, Ps = {
|
|
303
303
|
width: "24",
|
|
@@ -312,7 +312,7 @@ const Hs = /* @__PURE__ */ O(Is, [["render", Vs]]), Ds = {}, Ps = {
|
|
|
312
312
|
Ns
|
|
313
313
|
];
|
|
314
314
|
function Zs(a, e) {
|
|
315
|
-
return
|
|
315
|
+
return c(), h("svg", Ps, Bs);
|
|
316
316
|
}
|
|
317
317
|
const Us = /* @__PURE__ */ O(Ds, [["render", Zs]]), js = {}, Rs = {
|
|
318
318
|
width: "24",
|
|
@@ -327,7 +327,7 @@ const Us = /* @__PURE__ */ O(Ds, [["render", Zs]]), js = {}, Rs = {
|
|
|
327
327
|
qs
|
|
328
328
|
];
|
|
329
329
|
function zs(a, e) {
|
|
330
|
-
return
|
|
330
|
+
return c(), h("svg", Rs, Fs);
|
|
331
331
|
}
|
|
332
332
|
const Ws = /* @__PURE__ */ O(js, [["render", zs]]), Ys = {}, Gs = {
|
|
333
333
|
width: "24",
|
|
@@ -342,7 +342,7 @@ const Ws = /* @__PURE__ */ O(js, [["render", zs]]), Ys = {}, Gs = {
|
|
|
342
342
|
Ks
|
|
343
343
|
];
|
|
344
344
|
function Xs(a, e) {
|
|
345
|
-
return
|
|
345
|
+
return c(), h("svg", Gs, xs);
|
|
346
346
|
}
|
|
347
347
|
const Qs = /* @__PURE__ */ O(Ys, [["render", Xs]]), Js = {}, ei = {
|
|
348
348
|
width: "24",
|
|
@@ -357,7 +357,7 @@ const Qs = /* @__PURE__ */ O(Ys, [["render", Xs]]), Js = {}, ei = {
|
|
|
357
357
|
ti
|
|
358
358
|
];
|
|
359
359
|
function ni(a, e) {
|
|
360
|
-
return
|
|
360
|
+
return c(), h("svg", ei, ai);
|
|
361
361
|
}
|
|
362
362
|
const si = /* @__PURE__ */ O(Js, [["render", ni]]), ii = {}, li = {
|
|
363
363
|
width: "24",
|
|
@@ -372,7 +372,7 @@ const si = /* @__PURE__ */ O(Js, [["render", ni]]), ii = {}, li = {
|
|
|
372
372
|
oi
|
|
373
373
|
];
|
|
374
374
|
function ui(a, e) {
|
|
375
|
-
return
|
|
375
|
+
return c(), h("svg", li, ri);
|
|
376
376
|
}
|
|
377
377
|
const ci = /* @__PURE__ */ O(ii, [["render", ui]]), di = {}, vi = {
|
|
378
378
|
width: "24",
|
|
@@ -387,7 +387,7 @@ const ci = /* @__PURE__ */ O(ii, [["render", ui]]), di = {}, vi = {
|
|
|
387
387
|
mi
|
|
388
388
|
];
|
|
389
389
|
function hi(a, e) {
|
|
390
|
-
return
|
|
390
|
+
return c(), h("svg", vi, fi);
|
|
391
391
|
}
|
|
392
392
|
const pi = /* @__PURE__ */ O(di, [["render", hi]]), Ci = {}, _i = {
|
|
393
393
|
width: "24",
|
|
@@ -402,7 +402,7 @@ const pi = /* @__PURE__ */ O(di, [["render", hi]]), Ci = {}, _i = {
|
|
|
402
402
|
gi
|
|
403
403
|
];
|
|
404
404
|
function bi(a, e) {
|
|
405
|
-
return
|
|
405
|
+
return c(), h("svg", _i, yi);
|
|
406
406
|
}
|
|
407
407
|
const wi = /* @__PURE__ */ O(Ci, [["render", bi]]), $i = {}, Mi = {
|
|
408
408
|
width: "24",
|
|
@@ -417,7 +417,7 @@ const wi = /* @__PURE__ */ O(Ci, [["render", bi]]), $i = {}, Mi = {
|
|
|
417
417
|
ki
|
|
418
418
|
];
|
|
419
419
|
function Ti(a, e) {
|
|
420
|
-
return
|
|
420
|
+
return c(), h("svg", Mi, Si);
|
|
421
421
|
}
|
|
422
422
|
const Ai = /* @__PURE__ */ O($i, [["render", Ti]]), Ii = {}, Oi = {
|
|
423
423
|
width: "24",
|
|
@@ -432,7 +432,7 @@ const Ai = /* @__PURE__ */ O($i, [["render", Ti]]), Ii = {}, Oi = {
|
|
|
432
432
|
Li
|
|
433
433
|
];
|
|
434
434
|
function Vi(a, e) {
|
|
435
|
-
return
|
|
435
|
+
return c(), h("svg", Oi, Ei);
|
|
436
436
|
}
|
|
437
437
|
const Hi = /* @__PURE__ */ O(Ii, [["render", Vi]]), Di = {}, Pi = {
|
|
438
438
|
width: "24",
|
|
@@ -447,7 +447,7 @@ const Hi = /* @__PURE__ */ O(Ii, [["render", Vi]]), Di = {}, Pi = {
|
|
|
447
447
|
Ni
|
|
448
448
|
];
|
|
449
449
|
function Zi(a, e) {
|
|
450
|
-
return
|
|
450
|
+
return c(), h("svg", Pi, Bi);
|
|
451
451
|
}
|
|
452
452
|
const Ui = /* @__PURE__ */ O(Di, [["render", Zi]]), ji = {}, Ri = {
|
|
453
453
|
width: "24",
|
|
@@ -462,7 +462,7 @@ const Ui = /* @__PURE__ */ O(Di, [["render", Zi]]), ji = {}, Ri = {
|
|
|
462
462
|
qi
|
|
463
463
|
];
|
|
464
464
|
function zi(a, e) {
|
|
465
|
-
return
|
|
465
|
+
return c(), h("svg", Ri, Fi);
|
|
466
466
|
}
|
|
467
467
|
const Wi = /* @__PURE__ */ O(ji, [["render", zi]]), Yi = {}, Gi = {
|
|
468
468
|
width: "24",
|
|
@@ -477,7 +477,7 @@ const Wi = /* @__PURE__ */ O(ji, [["render", zi]]), Yi = {}, Gi = {
|
|
|
477
477
|
Ki
|
|
478
478
|
];
|
|
479
479
|
function Xi(a, e) {
|
|
480
|
-
return
|
|
480
|
+
return c(), h("svg", Gi, xi);
|
|
481
481
|
}
|
|
482
482
|
const Qi = /* @__PURE__ */ O(Yi, [["render", Xi]]), Ji = {}, el = {
|
|
483
483
|
width: "24",
|
|
@@ -492,7 +492,7 @@ const Qi = /* @__PURE__ */ O(Yi, [["render", Xi]]), Ji = {}, el = {
|
|
|
492
492
|
tl
|
|
493
493
|
];
|
|
494
494
|
function nl(a, e) {
|
|
495
|
-
return
|
|
495
|
+
return c(), h("svg", el, al);
|
|
496
496
|
}
|
|
497
497
|
const sl = /* @__PURE__ */ O(Ji, [["render", nl]]), il = {}, ll = {
|
|
498
498
|
width: "24",
|
|
@@ -507,7 +507,7 @@ const sl = /* @__PURE__ */ O(Ji, [["render", nl]]), il = {}, ll = {
|
|
|
507
507
|
ol
|
|
508
508
|
];
|
|
509
509
|
function ul(a, e) {
|
|
510
|
-
return
|
|
510
|
+
return c(), h("svg", ll, rl);
|
|
511
511
|
}
|
|
512
512
|
const cl = /* @__PURE__ */ O(il, [["render", ul]]), dl = {}, vl = {
|
|
513
513
|
width: "24",
|
|
@@ -522,7 +522,7 @@ const cl = /* @__PURE__ */ O(il, [["render", ul]]), dl = {}, vl = {
|
|
|
522
522
|
ml
|
|
523
523
|
];
|
|
524
524
|
function hl(a, e) {
|
|
525
|
-
return
|
|
525
|
+
return c(), h("svg", vl, fl);
|
|
526
526
|
}
|
|
527
527
|
const pl = /* @__PURE__ */ O(dl, [["render", hl]]), Cl = {}, _l = {
|
|
528
528
|
width: "24",
|
|
@@ -537,7 +537,7 @@ const pl = /* @__PURE__ */ O(dl, [["render", hl]]), Cl = {}, _l = {
|
|
|
537
537
|
gl
|
|
538
538
|
];
|
|
539
539
|
function bl(a, e) {
|
|
540
|
-
return
|
|
540
|
+
return c(), h("svg", _l, yl);
|
|
541
541
|
}
|
|
542
542
|
const wl = /* @__PURE__ */ O(Cl, [["render", bl]]), $l = {}, Ml = {
|
|
543
543
|
width: "24",
|
|
@@ -552,7 +552,7 @@ const wl = /* @__PURE__ */ O(Cl, [["render", bl]]), $l = {}, Ml = {
|
|
|
552
552
|
kl
|
|
553
553
|
];
|
|
554
554
|
function Tl(a, e) {
|
|
555
|
-
return
|
|
555
|
+
return c(), h("svg", Ml, Sl);
|
|
556
556
|
}
|
|
557
557
|
const Al = /* @__PURE__ */ O($l, [["render", Tl]]), Il = {}, Ol = {
|
|
558
558
|
width: "24",
|
|
@@ -567,7 +567,7 @@ const Al = /* @__PURE__ */ O($l, [["render", Tl]]), Il = {}, Ol = {
|
|
|
567
567
|
Ll
|
|
568
568
|
];
|
|
569
569
|
function Vl(a, e) {
|
|
570
|
-
return
|
|
570
|
+
return c(), h("svg", Ol, El);
|
|
571
571
|
}
|
|
572
572
|
const Hl = /* @__PURE__ */ O(Il, [["render", Vl]]), Dl = {}, Pl = {
|
|
573
573
|
width: "24",
|
|
@@ -582,7 +582,7 @@ const Hl = /* @__PURE__ */ O(Il, [["render", Vl]]), Dl = {}, Pl = {
|
|
|
582
582
|
Nl
|
|
583
583
|
];
|
|
584
584
|
function Zl(a, e) {
|
|
585
|
-
return
|
|
585
|
+
return c(), h("svg", Pl, Bl);
|
|
586
586
|
}
|
|
587
587
|
const Ul = /* @__PURE__ */ O(Dl, [["render", Zl]]), jl = {}, Rl = {
|
|
588
588
|
width: "24",
|
|
@@ -597,7 +597,7 @@ const Ul = /* @__PURE__ */ O(Dl, [["render", Zl]]), jl = {}, Rl = {
|
|
|
597
597
|
ql
|
|
598
598
|
];
|
|
599
599
|
function zl(a, e) {
|
|
600
|
-
return
|
|
600
|
+
return c(), h("svg", Rl, Fl);
|
|
601
601
|
}
|
|
602
602
|
const Wl = /* @__PURE__ */ O(jl, [["render", zl]]), Yl = Y({
|
|
603
603
|
name: "LoadingIcon"
|
|
@@ -629,7 +629,7 @@ const t1 = (a) => (ha("data-v-ad6da4a9"), a = a(), pa(), a), Gl = {
|
|
|
629
629
|
Xl
|
|
630
630
|
];
|
|
631
631
|
function Jl(a, e, t, s, n, l) {
|
|
632
|
-
return
|
|
632
|
+
return c(), h("svg", Gl, Ql);
|
|
633
633
|
}
|
|
634
634
|
const eo = /* @__PURE__ */ O(Yl, [["render", Jl], ["__scopeId", "data-v-ad6da4a9"]]), to = {}, ao = {
|
|
635
635
|
width: "24",
|
|
@@ -644,7 +644,7 @@ const eo = /* @__PURE__ */ O(Yl, [["render", Jl], ["__scopeId", "data-v-ad6da4a9
|
|
|
644
644
|
no
|
|
645
645
|
];
|
|
646
646
|
function io(a, e) {
|
|
647
|
-
return
|
|
647
|
+
return c(), h("svg", ao, so);
|
|
648
648
|
}
|
|
649
649
|
const lo = /* @__PURE__ */ O(to, [["render", io]]), oo = {}, ro = {
|
|
650
650
|
width: "24",
|
|
@@ -659,7 +659,7 @@ const lo = /* @__PURE__ */ O(to, [["render", io]]), oo = {}, ro = {
|
|
|
659
659
|
uo
|
|
660
660
|
];
|
|
661
661
|
function vo(a, e) {
|
|
662
|
-
return
|
|
662
|
+
return c(), h("svg", ro, co);
|
|
663
663
|
}
|
|
664
664
|
const mo = /* @__PURE__ */ O(oo, [["render", vo]]), fo = {}, ho = {
|
|
665
665
|
width: "24",
|
|
@@ -674,7 +674,7 @@ const mo = /* @__PURE__ */ O(oo, [["render", vo]]), fo = {}, ho = {
|
|
|
674
674
|
po
|
|
675
675
|
];
|
|
676
676
|
function _o(a, e) {
|
|
677
|
-
return
|
|
677
|
+
return c(), h("svg", ho, Co);
|
|
678
678
|
}
|
|
679
679
|
const go = /* @__PURE__ */ O(fo, [["render", _o]]), yo = {}, bo = {
|
|
680
680
|
width: "24",
|
|
@@ -689,7 +689,7 @@ const go = /* @__PURE__ */ O(fo, [["render", _o]]), yo = {}, bo = {
|
|
|
689
689
|
wo
|
|
690
690
|
];
|
|
691
691
|
function Mo(a, e) {
|
|
692
|
-
return
|
|
692
|
+
return c(), h("svg", bo, $o);
|
|
693
693
|
}
|
|
694
694
|
const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), So = {}, To = {
|
|
695
695
|
width: "24",
|
|
@@ -704,7 +704,7 @@ const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), So = {}, To = {
|
|
|
704
704
|
Ao
|
|
705
705
|
];
|
|
706
706
|
function Oo(a, e) {
|
|
707
|
-
return
|
|
707
|
+
return c(), h("svg", To, Io);
|
|
708
708
|
}
|
|
709
709
|
const Lo = /* @__PURE__ */ O(So, [["render", Oo]]), Eo = {}, Vo = {
|
|
710
710
|
width: "24",
|
|
@@ -719,7 +719,7 @@ const Lo = /* @__PURE__ */ O(So, [["render", Oo]]), Eo = {}, Vo = {
|
|
|
719
719
|
Ho
|
|
720
720
|
];
|
|
721
721
|
function Po(a, e) {
|
|
722
|
-
return
|
|
722
|
+
return c(), h("svg", Vo, Do);
|
|
723
723
|
}
|
|
724
724
|
const No = /* @__PURE__ */ O(Eo, [["render", Po]]), Bo = {}, Zo = {
|
|
725
725
|
width: "24",
|
|
@@ -734,7 +734,7 @@ const No = /* @__PURE__ */ O(Eo, [["render", Po]]), Bo = {}, Zo = {
|
|
|
734
734
|
Uo
|
|
735
735
|
];
|
|
736
736
|
function Ro(a, e) {
|
|
737
|
-
return
|
|
737
|
+
return c(), h("svg", Zo, jo);
|
|
738
738
|
}
|
|
739
739
|
const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
|
|
740
740
|
width: "24",
|
|
@@ -749,7 +749,7 @@ const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
|
|
|
749
749
|
Wo
|
|
750
750
|
];
|
|
751
751
|
function Go(a, e) {
|
|
752
|
-
return
|
|
752
|
+
return c(), h("svg", zo, Yo);
|
|
753
753
|
}
|
|
754
754
|
const Ko = /* @__PURE__ */ O(Fo, [["render", Go]]), xo = {}, Xo = {
|
|
755
755
|
width: "24",
|
|
@@ -764,7 +764,7 @@ const Ko = /* @__PURE__ */ O(Fo, [["render", Go]]), xo = {}, Xo = {
|
|
|
764
764
|
Qo
|
|
765
765
|
];
|
|
766
766
|
function er(a, e) {
|
|
767
|
-
return
|
|
767
|
+
return c(), h("svg", Xo, Jo);
|
|
768
768
|
}
|
|
769
769
|
const tr = /* @__PURE__ */ O(xo, [["render", er]]), ar = {}, nr = {
|
|
770
770
|
width: "24",
|
|
@@ -779,7 +779,7 @@ const tr = /* @__PURE__ */ O(xo, [["render", er]]), ar = {}, nr = {
|
|
|
779
779
|
sr
|
|
780
780
|
];
|
|
781
781
|
function lr(a, e) {
|
|
782
|
-
return
|
|
782
|
+
return c(), h("svg", nr, ir);
|
|
783
783
|
}
|
|
784
784
|
const or = /* @__PURE__ */ O(ar, [["render", lr]]), rr = {}, ur = {
|
|
785
785
|
width: "24",
|
|
@@ -794,7 +794,7 @@ const or = /* @__PURE__ */ O(ar, [["render", lr]]), rr = {}, ur = {
|
|
|
794
794
|
cr
|
|
795
795
|
];
|
|
796
796
|
function vr(a, e) {
|
|
797
|
-
return
|
|
797
|
+
return c(), h("svg", ur, dr);
|
|
798
798
|
}
|
|
799
799
|
const mr = /* @__PURE__ */ O(rr, [["render", vr]]), fr = {}, hr = {
|
|
800
800
|
width: "24",
|
|
@@ -809,7 +809,7 @@ const mr = /* @__PURE__ */ O(rr, [["render", vr]]), fr = {}, hr = {
|
|
|
809
809
|
pr
|
|
810
810
|
];
|
|
811
811
|
function _r(a, e) {
|
|
812
|
-
return
|
|
812
|
+
return c(), h("svg", hr, Cr);
|
|
813
813
|
}
|
|
814
814
|
const gr = /* @__PURE__ */ O(fr, [["render", _r]]), yr = {}, br = {
|
|
815
815
|
width: "26",
|
|
@@ -821,7 +821,7 @@ const gr = /* @__PURE__ */ O(fr, [["render", _r]]), yr = {}, br = {
|
|
|
821
821
|
wr
|
|
822
822
|
];
|
|
823
823
|
function Mr(a, e) {
|
|
824
|
-
return
|
|
824
|
+
return c(), h("svg", br, $r);
|
|
825
825
|
}
|
|
826
826
|
const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Sr = {}, Tr = {
|
|
827
827
|
width: "24",
|
|
@@ -836,7 +836,7 @@ const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Sr = {}, Tr = {
|
|
|
836
836
|
Ar
|
|
837
837
|
];
|
|
838
838
|
function Or(a, e) {
|
|
839
|
-
return
|
|
839
|
+
return c(), h("svg", Tr, Ir);
|
|
840
840
|
}
|
|
841
841
|
const Lr = /* @__PURE__ */ O(Sr, [["render", Or]]), Er = {}, Vr = {
|
|
842
842
|
width: "24",
|
|
@@ -851,7 +851,7 @@ const Lr = /* @__PURE__ */ O(Sr, [["render", Or]]), Er = {}, Vr = {
|
|
|
851
851
|
Hr
|
|
852
852
|
];
|
|
853
853
|
function Pr(a, e) {
|
|
854
|
-
return
|
|
854
|
+
return c(), h("svg", Vr, Dr);
|
|
855
855
|
}
|
|
856
856
|
const Nr = /* @__PURE__ */ O(Er, [["render", Pr]]), Br = {}, Zr = {
|
|
857
857
|
width: "24",
|
|
@@ -866,7 +866,7 @@ const Nr = /* @__PURE__ */ O(Er, [["render", Pr]]), Br = {}, Zr = {
|
|
|
866
866
|
Ur
|
|
867
867
|
];
|
|
868
868
|
function Rr(a, e) {
|
|
869
|
-
return
|
|
869
|
+
return c(), h("svg", Zr, jr);
|
|
870
870
|
}
|
|
871
871
|
const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
|
|
872
872
|
width: "24",
|
|
@@ -881,7 +881,7 @@ const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
|
|
|
881
881
|
Wr
|
|
882
882
|
];
|
|
883
883
|
function Gr(a, e) {
|
|
884
|
-
return
|
|
884
|
+
return c(), h("svg", zr, Yr);
|
|
885
885
|
}
|
|
886
886
|
const Kr = /* @__PURE__ */ O(Fr, [["render", Gr]]), xr = {}, Xr = {
|
|
887
887
|
width: "24",
|
|
@@ -896,7 +896,7 @@ const Kr = /* @__PURE__ */ O(Fr, [["render", Gr]]), xr = {}, Xr = {
|
|
|
896
896
|
Qr
|
|
897
897
|
];
|
|
898
898
|
function e2(a, e) {
|
|
899
|
-
return
|
|
899
|
+
return c(), h("svg", Xr, Jr);
|
|
900
900
|
}
|
|
901
901
|
const t2 = /* @__PURE__ */ O(xr, [["render", e2]]), a2 = {}, n2 = {
|
|
902
902
|
width: "24",
|
|
@@ -911,7 +911,7 @@ const t2 = /* @__PURE__ */ O(xr, [["render", e2]]), a2 = {}, n2 = {
|
|
|
911
911
|
s2
|
|
912
912
|
];
|
|
913
913
|
function l2(a, e) {
|
|
914
|
-
return
|
|
914
|
+
return c(), h("svg", n2, i2);
|
|
915
915
|
}
|
|
916
916
|
const o2 = /* @__PURE__ */ O(a2, [["render", l2]]), r2 = {}, u2 = {
|
|
917
917
|
width: "24",
|
|
@@ -926,7 +926,7 @@ const o2 = /* @__PURE__ */ O(a2, [["render", l2]]), r2 = {}, u2 = {
|
|
|
926
926
|
c2
|
|
927
927
|
];
|
|
928
928
|
function v2(a, e) {
|
|
929
|
-
return
|
|
929
|
+
return c(), h("svg", u2, d2);
|
|
930
930
|
}
|
|
931
931
|
const m2 = /* @__PURE__ */ O(r2, [["render", v2]]), f2 = {}, h2 = {
|
|
932
932
|
width: "24",
|
|
@@ -941,7 +941,7 @@ const m2 = /* @__PURE__ */ O(r2, [["render", v2]]), f2 = {}, h2 = {
|
|
|
941
941
|
p2
|
|
942
942
|
];
|
|
943
943
|
function _2(a, e) {
|
|
944
|
-
return
|
|
944
|
+
return c(), h("svg", h2, C2);
|
|
945
945
|
}
|
|
946
946
|
const g2 = /* @__PURE__ */ O(f2, [["render", _2]]), y2 = {}, b2 = {
|
|
947
947
|
width: "24",
|
|
@@ -956,7 +956,7 @@ const g2 = /* @__PURE__ */ O(f2, [["render", _2]]), y2 = {}, b2 = {
|
|
|
956
956
|
w2
|
|
957
957
|
];
|
|
958
958
|
function M2(a, e) {
|
|
959
|
-
return
|
|
959
|
+
return c(), h("svg", b2, $2);
|
|
960
960
|
}
|
|
961
961
|
const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), S2 = {}, T2 = {
|
|
962
962
|
width: "24",
|
|
@@ -971,7 +971,7 @@ const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), S2 = {}, T2 = {
|
|
|
971
971
|
A2
|
|
972
972
|
];
|
|
973
973
|
function O2(a, e) {
|
|
974
|
-
return
|
|
974
|
+
return c(), h("svg", T2, I2);
|
|
975
975
|
}
|
|
976
976
|
const L2 = /* @__PURE__ */ O(S2, [["render", O2]]), E2 = {}, V2 = {
|
|
977
977
|
width: "24",
|
|
@@ -986,7 +986,7 @@ const L2 = /* @__PURE__ */ O(S2, [["render", O2]]), E2 = {}, V2 = {
|
|
|
986
986
|
H2
|
|
987
987
|
];
|
|
988
988
|
function P2(a, e) {
|
|
989
|
-
return
|
|
989
|
+
return c(), h("svg", V2, D2);
|
|
990
990
|
}
|
|
991
991
|
const N2 = /* @__PURE__ */ O(E2, [["render", P2]]), B2 = {}, Z2 = {
|
|
992
992
|
width: "24",
|
|
@@ -1001,7 +1001,7 @@ const N2 = /* @__PURE__ */ O(E2, [["render", P2]]), B2 = {}, Z2 = {
|
|
|
1001
1001
|
U2
|
|
1002
1002
|
];
|
|
1003
1003
|
function R2(a, e) {
|
|
1004
|
-
return
|
|
1004
|
+
return c(), h("svg", Z2, j2);
|
|
1005
1005
|
}
|
|
1006
1006
|
const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
|
|
1007
1007
|
width: "24",
|
|
@@ -1016,7 +1016,7 @@ const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
|
|
|
1016
1016
|
W2
|
|
1017
1017
|
];
|
|
1018
1018
|
function G2(a, e) {
|
|
1019
|
-
return
|
|
1019
|
+
return c(), h("svg", z2, Y2);
|
|
1020
1020
|
}
|
|
1021
1021
|
const K2 = /* @__PURE__ */ O(F2, [["render", G2]]), x2 = {}, X2 = {
|
|
1022
1022
|
width: "24",
|
|
@@ -1031,7 +1031,7 @@ const K2 = /* @__PURE__ */ O(F2, [["render", G2]]), x2 = {}, X2 = {
|
|
|
1031
1031
|
Q2
|
|
1032
1032
|
];
|
|
1033
1033
|
function eu(a, e) {
|
|
1034
|
-
return
|
|
1034
|
+
return c(), h("svg", X2, J2);
|
|
1035
1035
|
}
|
|
1036
1036
|
const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1037
1037
|
__proto__: null,
|
|
@@ -1126,7 +1126,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
|
|
|
1126
1126
|
},
|
|
1127
1127
|
setup(a) {
|
|
1128
1128
|
const e = a, t = _(() => au[e.name]);
|
|
1129
|
-
return (s, n) => (
|
|
1129
|
+
return (s, n) => (c(), U(Je(t.value), {
|
|
1130
1130
|
class: W(["ao-icon", `ao-icon--${s.size}`])
|
|
1131
1131
|
}, null, 8, ["class"]));
|
|
1132
1132
|
}
|
|
@@ -1150,7 +1150,7 @@ const iu = ["type"], lu = {
|
|
|
1150
1150
|
},
|
|
1151
1151
|
setup(a) {
|
|
1152
1152
|
const e = a, t = _(() => e.size), s = _(() => e.isLoading ? "Loading" : e.iconName);
|
|
1153
|
-
return (n, l) => (
|
|
1153
|
+
return (n, l) => (c(), h("button", {
|
|
1154
1154
|
type: n.type,
|
|
1155
1155
|
class: W([
|
|
1156
1156
|
"ao-button",
|
|
@@ -1164,9 +1164,9 @@ const iu = ["type"], lu = {
|
|
|
1164
1164
|
])
|
|
1165
1165
|
}, [
|
|
1166
1166
|
K(n.$slots, "default", {}, () => [
|
|
1167
|
-
n.label ? (
|
|
1167
|
+
n.label ? (c(), h("span", lu, R(n.label), 1)) : k("", !0)
|
|
1168
1168
|
]),
|
|
1169
|
-
s.value ? (
|
|
1169
|
+
s.value ? (c(), U(ie, {
|
|
1170
1170
|
key: 0,
|
|
1171
1171
|
name: s.value,
|
|
1172
1172
|
class: "ao-button__icon",
|
|
@@ -1178,21 +1178,21 @@ const iu = ["type"], lu = {
|
|
|
1178
1178
|
function I1(a) {
|
|
1179
1179
|
const e = ee(!1), t = ee(""), s = _(() => "value" in a.value ? "value" : "innerHTML"), n = () => {
|
|
1180
1180
|
e.value = !e.value;
|
|
1181
|
-
}, l = (
|
|
1182
|
-
e.value =
|
|
1183
|
-
}, i = (
|
|
1181
|
+
}, l = (v) => {
|
|
1182
|
+
e.value = v;
|
|
1183
|
+
}, i = (v) => async () => {
|
|
1184
1184
|
l(!1), await Ze(() => {
|
|
1185
|
-
a.value[s.value] = t.value,
|
|
1185
|
+
a.value[s.value] = t.value, v == null || v();
|
|
1186
1186
|
});
|
|
1187
|
-
}, o = (
|
|
1187
|
+
}, o = (v) => async (d) => {
|
|
1188
1188
|
l(!1), await Ze(() => {
|
|
1189
|
-
|
|
1189
|
+
v(a.value[s.value], d);
|
|
1190
1190
|
});
|
|
1191
1191
|
};
|
|
1192
|
-
return fe(e, async (
|
|
1192
|
+
return fe(e, async (v) => {
|
|
1193
1193
|
await Ze(() => {
|
|
1194
1194
|
setTimeout(() => {
|
|
1195
|
-
a.value &&
|
|
1195
|
+
a.value && v && (a.value.focus(), t.value = a.value[s.value]);
|
|
1196
1196
|
}, 1);
|
|
1197
1197
|
});
|
|
1198
1198
|
}), {
|
|
@@ -1214,15 +1214,15 @@ const ve = /* @__PURE__ */ Y({
|
|
|
1214
1214
|
},
|
|
1215
1215
|
emits: ["update:title", "toggle-is-editing"],
|
|
1216
1216
|
setup(a, { emit: e }) {
|
|
1217
|
-
const t = a, s = ee(null), { isEditing: n, setIsEditing: l, onUpdate: i, onDiscard: o } = I1(s),
|
|
1218
|
-
change:
|
|
1217
|
+
const t = a, s = ee(null), { isEditing: n, setIsEditing: l, onUpdate: i, onDiscard: o } = I1(s), v = _(() => n.value ? "input" : t.tag || `h${t.level}`), d = _(() => t.isEditable ? n.value ? {
|
|
1218
|
+
change: u,
|
|
1219
1219
|
click: (I) => I.stopPropagation(),
|
|
1220
1220
|
blur: C
|
|
1221
1221
|
} : {
|
|
1222
1222
|
click: M,
|
|
1223
1223
|
focus: M
|
|
1224
|
-
} : {}),
|
|
1225
|
-
const w =
|
|
1224
|
+
} : {}), u = i((I, E) => {
|
|
1225
|
+
const w = E.target.value;
|
|
1226
1226
|
e("update:title", w);
|
|
1227
1227
|
}), m = o(), C = async () => {
|
|
1228
1228
|
n.value && l(!1);
|
|
@@ -1236,7 +1236,7 @@ const ve = /* @__PURE__ */ Y({
|
|
|
1236
1236
|
(I) => {
|
|
1237
1237
|
I || m();
|
|
1238
1238
|
}
|
|
1239
|
-
), (I,
|
|
1239
|
+
), (I, E) => (c(), U(Je(v.value), Pe({
|
|
1240
1240
|
ref_key: "target",
|
|
1241
1241
|
ref: s,
|
|
1242
1242
|
class: [
|
|
@@ -1253,7 +1253,7 @@ const ve = /* @__PURE__ */ Y({
|
|
|
1253
1253
|
value: H(n) ? I.title : null,
|
|
1254
1254
|
tabindex: "0",
|
|
1255
1255
|
onKeyup: mt(y, ["enter"])
|
|
1256
|
-
}, _a(
|
|
1256
|
+
}, _a(d.value), {
|
|
1257
1257
|
onKeydown: mt(H(m), ["esc"])
|
|
1258
1258
|
}), {
|
|
1259
1259
|
default: q(() => [
|
|
@@ -1300,18 +1300,18 @@ const ou = {
|
|
|
1300
1300
|
const t = (s) => {
|
|
1301
1301
|
e("update:title", s);
|
|
1302
1302
|
};
|
|
1303
|
-
return (s, n) => (
|
|
1303
|
+
return (s, n) => (c(), U(Je(s.tagName), {
|
|
1304
1304
|
class: W(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
|
|
1305
1305
|
}, {
|
|
1306
1306
|
default: q(() => [
|
|
1307
|
-
s.isDraggable ? (
|
|
1307
|
+
s.isDraggable ? (c(), h("div", ou, [
|
|
1308
1308
|
$(ie, {
|
|
1309
1309
|
name: "DragIndicator",
|
|
1310
1310
|
class: "ao-card-horiz__drag-handle"
|
|
1311
1311
|
})
|
|
1312
1312
|
])) : k("", !0),
|
|
1313
1313
|
r("div", ru, [
|
|
1314
|
-
s.icon ? (
|
|
1314
|
+
s.icon ? (c(), h("div", uu, [
|
|
1315
1315
|
$(ie, {
|
|
1316
1316
|
class: "ao-card-horiz__icon",
|
|
1317
1317
|
name: s.icon,
|
|
@@ -1327,20 +1327,20 @@ const ou = {
|
|
|
1327
1327
|
"onUpdate:title": t
|
|
1328
1328
|
}, null, 8, ["title"]),
|
|
1329
1329
|
K(s.$slots, "subtitle", {}, () => [
|
|
1330
|
-
s.subtitle ? (
|
|
1330
|
+
s.subtitle ? (c(), h("span", du, R(s.subtitle), 1)) : k("", !0)
|
|
1331
1331
|
])
|
|
1332
1332
|
]),
|
|
1333
|
-
s.$slots.header ? (
|
|
1333
|
+
s.$slots.header ? (c(), h("div", vu, [
|
|
1334
1334
|
K(s.$slots, "header")
|
|
1335
1335
|
])) : k("", !0)
|
|
1336
1336
|
]),
|
|
1337
|
-
s.$slots.default ? (
|
|
1337
|
+
s.$slots.default ? (c(), h("div", mu, [
|
|
1338
1338
|
K(s.$slots, "default")
|
|
1339
1339
|
])) : k("", !0),
|
|
1340
|
-
s.$slots.footer ? (
|
|
1340
|
+
s.$slots.footer ? (c(), h("div", fu, [
|
|
1341
1341
|
K(s.$slots, "footer")
|
|
1342
1342
|
])) : k("", !0),
|
|
1343
|
-
s.$slots.secondary ? (
|
|
1343
|
+
s.$slots.secondary ? (c(), h("div", hu, [
|
|
1344
1344
|
K(s.$slots, "secondary")
|
|
1345
1345
|
])) : k("", !0)
|
|
1346
1346
|
]),
|
|
@@ -1362,7 +1362,7 @@ const Et = /* @__PURE__ */ Y({
|
|
|
1362
1362
|
const e = a, t = _(() => e.clickable ? "button" : "span"), s = _(
|
|
1363
1363
|
() => t.value === "button" ? { type: "button" } : {}
|
|
1364
1364
|
);
|
|
1365
|
-
return (n, l) => (
|
|
1365
|
+
return (n, l) => (c(), h("div", {
|
|
1366
1366
|
class: W([
|
|
1367
1367
|
"ao-tag",
|
|
1368
1368
|
n.color ? `ao-tag--${n.color}` : "",
|
|
@@ -1371,7 +1371,7 @@ const Et = /* @__PURE__ */ Y({
|
|
|
1371
1371
|
n.variant ? `ao-tag--${n.variant}` : ""
|
|
1372
1372
|
])
|
|
1373
1373
|
}, [
|
|
1374
|
-
(
|
|
1374
|
+
(c(), U(Je(t.value), Pe({ class: "ao-tag__label" }, s.value, {
|
|
1375
1375
|
onClick: l[0] || (l[0] = (i) => n.$emit("click", i))
|
|
1376
1376
|
}), {
|
|
1377
1377
|
default: q(() => [
|
|
@@ -1379,7 +1379,7 @@ const Et = /* @__PURE__ */ Y({
|
|
|
1379
1379
|
]),
|
|
1380
1380
|
_: 1
|
|
1381
1381
|
}, 16)),
|
|
1382
|
-
n.closable ? (
|
|
1382
|
+
n.closable ? (c(), h("button", {
|
|
1383
1383
|
key: 0,
|
|
1384
1384
|
class: "ao-tag__close",
|
|
1385
1385
|
onClick: l[1] || (l[1] = (i) => n.$emit("close", i))
|
|
@@ -1480,31 +1480,31 @@ function ku(a) {
|
|
|
1480
1480
|
return Math.round(t / Mu) + 1;
|
|
1481
1481
|
}
|
|
1482
1482
|
function At(a, e) {
|
|
1483
|
-
var t, s, n, l, i, o,
|
|
1483
|
+
var t, s, n, l, i, o, v, d;
|
|
1484
1484
|
Ce(1, arguments);
|
|
1485
|
-
var
|
|
1485
|
+
var u = Vt(), m = Ne((t = (s = (n = (l = e == null ? void 0 : e.weekStartsOn) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
|
|
1486
1486
|
if (!(m >= 0 && m <= 6))
|
|
1487
1487
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1488
1488
|
var C = Ie(a), y = C.getUTCDay(), M = (y < m ? 7 : 0) + y - m;
|
|
1489
1489
|
return C.setUTCDate(C.getUTCDate() - M), C.setUTCHours(0, 0, 0, 0), C;
|
|
1490
1490
|
}
|
|
1491
1491
|
function D1(a, e) {
|
|
1492
|
-
var t, s, n, l, i, o,
|
|
1492
|
+
var t, s, n, l, i, o, v, d;
|
|
1493
1493
|
Ce(1, arguments);
|
|
1494
|
-
var
|
|
1494
|
+
var u = Ie(a), m = u.getUTCFullYear(), C = Vt(), y = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : C.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = C.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
|
|
1495
1495
|
if (!(y >= 1 && y <= 7))
|
|
1496
1496
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1497
1497
|
var M = /* @__PURE__ */ new Date(0);
|
|
1498
1498
|
M.setUTCFullYear(m + 1, 0, y), M.setUTCHours(0, 0, 0, 0);
|
|
1499
|
-
var I = At(M, e),
|
|
1500
|
-
|
|
1501
|
-
var b = At(
|
|
1502
|
-
return
|
|
1499
|
+
var I = At(M, e), E = /* @__PURE__ */ new Date(0);
|
|
1500
|
+
E.setUTCFullYear(m, 0, y), E.setUTCHours(0, 0, 0, 0);
|
|
1501
|
+
var b = At(E, e);
|
|
1502
|
+
return u.getTime() >= I.getTime() ? m + 1 : u.getTime() >= b.getTime() ? m : m - 1;
|
|
1503
1503
|
}
|
|
1504
1504
|
function Su(a, e) {
|
|
1505
|
-
var t, s, n, l, i, o,
|
|
1505
|
+
var t, s, n, l, i, o, v, d;
|
|
1506
1506
|
Ce(1, arguments);
|
|
1507
|
-
var
|
|
1507
|
+
var u = Vt(), m = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), C = D1(a, e), y = /* @__PURE__ */ new Date(0);
|
|
1508
1508
|
y.setUTCFullYear(C, 0, m), y.setUTCHours(0, 0, 0, 0);
|
|
1509
1509
|
var M = At(y, e);
|
|
1510
1510
|
return M;
|
|
@@ -2350,11 +2350,11 @@ function it(a) {
|
|
|
2350
2350
|
var l = a.defaultFormattingWidth || a.defaultWidth, i = t != null && t.width ? String(t.width) : l;
|
|
2351
2351
|
n = a.formattingValues[i] || a.formattingValues[l];
|
|
2352
2352
|
} else {
|
|
2353
|
-
var o = a.defaultWidth,
|
|
2354
|
-
n = a.values[
|
|
2353
|
+
var o = a.defaultWidth, v = t != null && t.width ? String(t.width) : a.defaultWidth;
|
|
2354
|
+
n = a.values[v] || a.values[o];
|
|
2355
2355
|
}
|
|
2356
|
-
var
|
|
2357
|
-
return n[
|
|
2356
|
+
var d = a.argumentCallback ? a.argumentCallback(e) : e;
|
|
2357
|
+
return n[d];
|
|
2358
2358
|
};
|
|
2359
2359
|
}
|
|
2360
2360
|
var xu = {
|
|
@@ -2482,16 +2482,16 @@ function lt(a) {
|
|
|
2482
2482
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = t.width, n = s && a.matchPatterns[s] || a.matchPatterns[a.defaultMatchWidth], l = e.match(n);
|
|
2483
2483
|
if (!l)
|
|
2484
2484
|
return null;
|
|
2485
|
-
var i = l[0], o = s && a.parsePatterns[s] || a.parsePatterns[a.defaultParseWidth],
|
|
2485
|
+
var i = l[0], o = s && a.parsePatterns[s] || a.parsePatterns[a.defaultParseWidth], v = Array.isArray(o) ? l3(o, function(m) {
|
|
2486
2486
|
return m.test(i);
|
|
2487
2487
|
}) : i3(o, function(m) {
|
|
2488
2488
|
return m.test(i);
|
|
2489
|
-
}),
|
|
2490
|
-
|
|
2491
|
-
var
|
|
2489
|
+
}), d;
|
|
2490
|
+
d = a.valueCallback ? a.valueCallback(v) : v, d = t.valueCallback ? t.valueCallback(d) : d;
|
|
2491
|
+
var u = e.slice(i.length);
|
|
2492
2492
|
return {
|
|
2493
|
-
value:
|
|
2494
|
-
rest:
|
|
2493
|
+
value: d,
|
|
2494
|
+
rest: u
|
|
2495
2495
|
};
|
|
2496
2496
|
};
|
|
2497
2497
|
}
|
|
@@ -2621,12 +2621,12 @@ var w3 = {
|
|
|
2621
2621
|
const $3 = w3;
|
|
2622
2622
|
var M3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, k3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, S3 = /^'([^]*?)'?$/, T3 = /''/g, A3 = /[a-zA-Z]/;
|
|
2623
2623
|
function I3(a, e, t) {
|
|
2624
|
-
var s, n, l, i, o,
|
|
2624
|
+
var s, n, l, i, o, v, d, u, m, C, y, M, I, E, b, w, D, X;
|
|
2625
2625
|
Ce(2, arguments);
|
|
2626
|
-
var ne = String(e), p = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : p.locale) !== null && s !== void 0 ? s : $3, B = Ne((l = (i = (o = (
|
|
2626
|
+
var ne = String(e), p = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : p.locale) !== null && s !== void 0 ? s : $3, B = Ne((l = (i = (o = (v = t == null ? void 0 : t.firstWeekContainsDate) !== null && v !== void 0 ? v : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && o !== void 0 ? o : p.firstWeekContainsDate) !== null && i !== void 0 ? i : (m = p.locale) === null || m === void 0 || (C = m.options) === null || C === void 0 ? void 0 : C.firstWeekContainsDate) !== null && l !== void 0 ? l : 1);
|
|
2627
2627
|
if (!(B >= 1 && B <= 7))
|
|
2628
2628
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
2629
|
-
var J = Ne((y = (M = (I = (
|
|
2629
|
+
var J = Ne((y = (M = (I = (E = t == null ? void 0 : t.weekStartsOn) !== null && E !== void 0 ? E : t == null || (b = t.locale) === null || b === void 0 || (w = b.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && I !== void 0 ? I : p.weekStartsOn) !== null && M !== void 0 ? M : (D = p.locale) === null || D === void 0 || (X = D.options) === null || X === void 0 ? void 0 : X.weekStartsOn) !== null && y !== void 0 ? y : 0);
|
|
2630
2630
|
if (!(J >= 0 && J <= 6))
|
|
2631
2631
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2632
2632
|
if (!L.localize)
|
|
@@ -2682,17 +2682,17 @@ function L3(a, e) {
|
|
|
2682
2682
|
}
|
|
2683
2683
|
if (!l || isNaN(l.getTime()))
|
|
2684
2684
|
return /* @__PURE__ */ new Date(NaN);
|
|
2685
|
-
var o = l.getTime(),
|
|
2686
|
-
if (n.time && (
|
|
2685
|
+
var o = l.getTime(), v = 0, d;
|
|
2686
|
+
if (n.time && (v = B3(n.time), isNaN(v)))
|
|
2687
2687
|
return /* @__PURE__ */ new Date(NaN);
|
|
2688
2688
|
if (n.timezone) {
|
|
2689
|
-
if (
|
|
2689
|
+
if (d = Z3(n.timezone), isNaN(d))
|
|
2690
2690
|
return /* @__PURE__ */ new Date(NaN);
|
|
2691
2691
|
} else {
|
|
2692
|
-
var
|
|
2693
|
-
return m.setFullYear(
|
|
2692
|
+
var u = new Date(o + v), m = /* @__PURE__ */ new Date(0);
|
|
2693
|
+
return m.setFullYear(u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()), m.setHours(u.getUTCHours(), u.getUTCMinutes(), u.getUTCSeconds(), u.getUTCMilliseconds()), m;
|
|
2694
2694
|
}
|
|
2695
|
-
return new Date(o +
|
|
2695
|
+
return new Date(o + v + d);
|
|
2696
2696
|
}
|
|
2697
2697
|
var wt = {
|
|
2698
2698
|
dateTimeDelimiter: /[T ]/,
|
|
@@ -2728,11 +2728,11 @@ function N3(a, e) {
|
|
|
2728
2728
|
var t = a.match(E3);
|
|
2729
2729
|
if (!t)
|
|
2730
2730
|
return /* @__PURE__ */ new Date(NaN);
|
|
2731
|
-
var s = !!t[4], n = ot(t[1]), l = ot(t[2]) - 1, i = ot(t[3]), o = ot(t[4]),
|
|
2731
|
+
var s = !!t[4], n = ot(t[1]), l = ot(t[2]) - 1, i = ot(t[3]), o = ot(t[4]), v = ot(t[5]) - 1;
|
|
2732
2732
|
if (s)
|
|
2733
|
-
return F3(e, o,
|
|
2734
|
-
var
|
|
2735
|
-
return !R3(e, l, i) || !q3(e, n) ? /* @__PURE__ */ new Date(NaN) : (
|
|
2733
|
+
return F3(e, o, v) ? U3(e, o, v) : /* @__PURE__ */ new Date(NaN);
|
|
2734
|
+
var d = /* @__PURE__ */ new Date(0);
|
|
2735
|
+
return !R3(e, l, i) || !q3(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, l, Math.max(n, i)), d);
|
|
2736
2736
|
}
|
|
2737
2737
|
function ot(a) {
|
|
2738
2738
|
return a ? parseInt(a) : 1;
|
|
@@ -2856,11 +2856,11 @@ class z {
|
|
|
2856
2856
|
const n = Math.max(t.length, s.length), l = new Array(n).fill(0);
|
|
2857
2857
|
let i = 0;
|
|
2858
2858
|
for (let o = 0; o < n; ++o) {
|
|
2859
|
-
const
|
|
2860
|
-
let
|
|
2861
|
-
for (i = 0;
|
|
2859
|
+
const v = o < t.length ? t[o] : 0, d = o < s.length ? s[o] : 0;
|
|
2860
|
+
let u = v + d + i;
|
|
2861
|
+
for (i = 0; u >= e.getBase(); u -= e.getBase())
|
|
2862
2862
|
++i;
|
|
2863
|
-
l[o] =
|
|
2863
|
+
l[o] = u;
|
|
2864
2864
|
}
|
|
2865
2865
|
return z.extendWithCarry(l, i);
|
|
2866
2866
|
}
|
|
@@ -3155,19 +3155,19 @@ function Z1() {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
static from(n) {
|
|
3157
3157
|
const l = a.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM), i = t.VALUES, o = i.length;
|
|
3158
|
-
for (let
|
|
3159
|
-
const
|
|
3160
|
-
if (
|
|
3161
|
-
return
|
|
3158
|
+
for (let v = 0; v < o; ++v) {
|
|
3159
|
+
const d = i[v];
|
|
3160
|
+
if (d.value.equals(l))
|
|
3161
|
+
return d;
|
|
3162
3162
|
}
|
|
3163
3163
|
throw new Error("Unknown bucket: " + n);
|
|
3164
3164
|
}
|
|
3165
3165
|
static resolve(n) {
|
|
3166
3166
|
const l = t.VALUES, i = l.length;
|
|
3167
3167
|
for (let o = 0; o < i; ++o) {
|
|
3168
|
-
const
|
|
3169
|
-
if (
|
|
3170
|
-
return
|
|
3168
|
+
const v = l[o];
|
|
3169
|
+
if (v.equals(t.from(n.toString())))
|
|
3170
|
+
return v;
|
|
3171
3171
|
}
|
|
3172
3172
|
throw new Error("No bucket found with id " + n);
|
|
3173
3173
|
}
|
|
@@ -3350,27 +3350,27 @@ function j1() {
|
|
|
3350
3350
|
static between(i, o) {
|
|
3351
3351
|
if (i.getSystem().getBase() !== o.getSystem().getBase())
|
|
3352
3352
|
throw new Error("Expected same system");
|
|
3353
|
-
let
|
|
3353
|
+
let v = i, d = o, u;
|
|
3354
3354
|
if (i.getScale() < o.getScale()) {
|
|
3355
|
-
if (
|
|
3355
|
+
if (u = o.setScale(i.getScale(), !1), i.compareTo(u) >= 0)
|
|
3356
3356
|
return n.mid(i, o);
|
|
3357
|
-
|
|
3357
|
+
d = u;
|
|
3358
3358
|
}
|
|
3359
|
-
if (i.getScale() >
|
|
3360
|
-
if (
|
|
3359
|
+
if (i.getScale() > d.getScale()) {
|
|
3360
|
+
if (u = i.setScale(d.getScale(), !0), u.compareTo(d) >= 0)
|
|
3361
3361
|
return n.mid(i, o);
|
|
3362
|
-
|
|
3362
|
+
v = u;
|
|
3363
3363
|
}
|
|
3364
3364
|
let m;
|
|
3365
|
-
for (let M =
|
|
3366
|
-
const I = M - 1,
|
|
3367
|
-
if (m =
|
|
3368
|
-
return n.checkMid(i, o,
|
|
3369
|
-
if (
|
|
3365
|
+
for (let M = v.getScale(); M > 0; d = m) {
|
|
3366
|
+
const I = M - 1, E = v.setScale(I, !0);
|
|
3367
|
+
if (m = d.setScale(I, !1), E.compareTo(m) === 0)
|
|
3368
|
+
return n.checkMid(i, o, E);
|
|
3369
|
+
if (E.compareTo(m) > 0)
|
|
3370
3370
|
break;
|
|
3371
|
-
M = I,
|
|
3371
|
+
M = I, v = E;
|
|
3372
3372
|
}
|
|
3373
|
-
let C = n.middleInternal(i, o,
|
|
3373
|
+
let C = n.middleInternal(i, o, v, d), y;
|
|
3374
3374
|
for (let M = C.getScale(); M > 0; M = y) {
|
|
3375
3375
|
y = M - 1;
|
|
3376
3376
|
const I = C.setScale(y);
|
|
@@ -3381,56 +3381,56 @@ function j1() {
|
|
|
3381
3381
|
return C;
|
|
3382
3382
|
}
|
|
3383
3383
|
static parse(i) {
|
|
3384
|
-
const o = i.split("|"),
|
|
3385
|
-
return new n(
|
|
3384
|
+
const o = i.split("|"), v = e.default.from(o[0]), d = a.LexoDecimal.parse(o[1], n.NUMERAL_SYSTEM);
|
|
3385
|
+
return new n(v, d);
|
|
3386
3386
|
}
|
|
3387
3387
|
static from(i, o) {
|
|
3388
3388
|
if (o.getSystem().getBase() !== n.NUMERAL_SYSTEM.getBase())
|
|
3389
3389
|
throw new Error("Expected different system");
|
|
3390
3390
|
return new n(i, o);
|
|
3391
3391
|
}
|
|
3392
|
-
static middleInternal(i, o,
|
|
3393
|
-
const
|
|
3394
|
-
return n.checkMid(i, o,
|
|
3392
|
+
static middleInternal(i, o, v, d) {
|
|
3393
|
+
const u = n.mid(v, d);
|
|
3394
|
+
return n.checkMid(i, o, u);
|
|
3395
3395
|
}
|
|
3396
|
-
static checkMid(i, o,
|
|
3397
|
-
return i.compareTo(
|
|
3396
|
+
static checkMid(i, o, v) {
|
|
3397
|
+
return i.compareTo(v) >= 0 || v.compareTo(o) >= 0 ? n.mid(i, o) : v;
|
|
3398
3398
|
}
|
|
3399
3399
|
static mid(i, o) {
|
|
3400
|
-
const
|
|
3401
|
-
if (
|
|
3402
|
-
const m =
|
|
3400
|
+
const d = i.add(o).multiply(a.LexoDecimal.half(i.getSystem())), u = i.getScale() > o.getScale() ? i.getScale() : o.getScale();
|
|
3401
|
+
if (d.getScale() > u) {
|
|
3402
|
+
const m = d.setScale(u, !1);
|
|
3403
3403
|
if (m.compareTo(i) > 0)
|
|
3404
3404
|
return m;
|
|
3405
|
-
const C =
|
|
3405
|
+
const C = d.setScale(u, !0);
|
|
3406
3406
|
if (C.compareTo(o) < 0)
|
|
3407
3407
|
return C;
|
|
3408
3408
|
}
|
|
3409
|
-
return
|
|
3409
|
+
return d;
|
|
3410
3410
|
}
|
|
3411
3411
|
static formatDecimal(i) {
|
|
3412
|
-
const o = i.format(),
|
|
3413
|
-
let
|
|
3414
|
-
const
|
|
3415
|
-
for (
|
|
3416
|
-
|
|
3417
|
-
for (;
|
|
3418
|
-
|
|
3419
|
-
return
|
|
3412
|
+
const o = i.format(), v = new t.default(o);
|
|
3413
|
+
let d = o.indexOf(n.NUMERAL_SYSTEM.getRadixPointChar());
|
|
3414
|
+
const u = n.NUMERAL_SYSTEM.toChar(0);
|
|
3415
|
+
for (d < 0 && (d = o.length, v.append(n.NUMERAL_SYSTEM.getRadixPointChar())); d < 6; )
|
|
3416
|
+
v.insert(0, u), ++d;
|
|
3417
|
+
for (; v[v.length - 1] === u; )
|
|
3418
|
+
v.length = v.length - 1;
|
|
3419
|
+
return v.toString();
|
|
3420
3420
|
}
|
|
3421
3421
|
genPrev() {
|
|
3422
3422
|
if (this.isMax())
|
|
3423
3423
|
return new n(this.bucket, n.INITIAL_MAX_DECIMAL);
|
|
3424
3424
|
const i = this.decimal.floor();
|
|
3425
|
-
let
|
|
3426
|
-
return
|
|
3425
|
+
let v = a.LexoDecimal.from(i).subtract(n.EIGHT_DECIMAL);
|
|
3426
|
+
return v.compareTo(n.MIN_DECIMAL) <= 0 && (v = n.between(n.MIN_DECIMAL, this.decimal)), new n(this.bucket, v);
|
|
3427
3427
|
}
|
|
3428
3428
|
genNext() {
|
|
3429
3429
|
if (this.isMin())
|
|
3430
3430
|
return new n(this.bucket, n.INITIAL_MIN_DECIMAL);
|
|
3431
3431
|
const i = this.decimal.ceil();
|
|
3432
|
-
let
|
|
3433
|
-
return
|
|
3432
|
+
let v = a.LexoDecimal.from(i).add(n.EIGHT_DECIMAL);
|
|
3433
|
+
return v.compareTo(n.MAX_DECIMAL) >= 0 && (v = n.between(this.decimal, n.MAX_DECIMAL)), new n(this.bucket, v);
|
|
3434
3434
|
}
|
|
3435
3435
|
between(i) {
|
|
3436
3436
|
if (!this.bucket.equals(i.bucket))
|
|
@@ -3563,13 +3563,13 @@ const n0 = ["title"], s0 = { className: "ao-avatar__initials" }, tt = /* @__PURE
|
|
|
3563
3563
|
const s = a0(a.userName), n = (l) => {
|
|
3564
3564
|
e("close", l);
|
|
3565
3565
|
};
|
|
3566
|
-
return (l, i) => (
|
|
3566
|
+
return (l, i) => (c(), h("div", {
|
|
3567
3567
|
role: "img",
|
|
3568
3568
|
class: W(["ao-avatar", `ao-avatar--${l.size}`]),
|
|
3569
3569
|
title: l.userName
|
|
3570
3570
|
}, [
|
|
3571
3571
|
r("span", s0, R(H(s)), 1),
|
|
3572
|
-
l.isClosable ? (
|
|
3572
|
+
l.isClosable ? (c(), U(de, {
|
|
3573
3573
|
key: 0,
|
|
3574
3574
|
"icon-name": "CloseRounded",
|
|
3575
3575
|
class: "ao-avatar__close",
|
|
@@ -3604,7 +3604,7 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3604
3604
|
const t = (s) => {
|
|
3605
3605
|
e("updateTitle", s);
|
|
3606
3606
|
};
|
|
3607
|
-
return (s, n) => (
|
|
3607
|
+
return (s, n) => (c(), U(O1, {
|
|
3608
3608
|
title: s.title,
|
|
3609
3609
|
"is-draggable": !0,
|
|
3610
3610
|
"onUpdate:title": t
|
|
@@ -3637,8 +3637,8 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3637
3637
|
}),
|
|
3638
3638
|
r("span", m0, R(s.$t("template.phases.title")), 1)
|
|
3639
3639
|
]),
|
|
3640
|
-
s.phases ? (
|
|
3641
|
-
(
|
|
3640
|
+
s.phases ? (c(), h("ul", f0, [
|
|
3641
|
+
(c(!0), h(oe, null, he(s.phases, (l) => (c(), U(Et, {
|
|
3642
3642
|
key: l.id,
|
|
3643
3643
|
label: l.name || l.id,
|
|
3644
3644
|
color: "primary",
|
|
@@ -3650,7 +3650,7 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3650
3650
|
]),
|
|
3651
3651
|
footer: q(() => [
|
|
3652
3652
|
r("div", h0, [
|
|
3653
|
-
s.updatedAt ? (
|
|
3653
|
+
s.updatedAt ? (c(), h("div", p0, [
|
|
3654
3654
|
r("div", C0, [
|
|
3655
3655
|
r("span", _0, R(s.$t("template.updatedAt.label")), 1)
|
|
3656
3656
|
]),
|
|
@@ -3658,7 +3658,7 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
|
|
|
3658
3658
|
r("span", null, R(s.updatedAt), 1)
|
|
3659
3659
|
])
|
|
3660
3660
|
])) : k("", !0),
|
|
3661
|
-
s.updatedBy ? (
|
|
3661
|
+
s.updatedBy ? (c(), h("div", y0, [
|
|
3662
3662
|
r("div", b0, [
|
|
3663
3663
|
r("span", w0, R(s.$t("template.updatedBy.label")), 1)
|
|
3664
3664
|
]),
|
|
@@ -3679,9 +3679,9 @@ const k0 = { class: "ao-page-header" }, S0 = { class: "ao-page-header-main" }, T
|
|
|
3679
3679
|
},
|
|
3680
3680
|
emits: ["goBack"],
|
|
3681
3681
|
setup(a) {
|
|
3682
|
-
return (e, t) => (
|
|
3682
|
+
return (e, t) => (c(), h("header", k0, [
|
|
3683
3683
|
r("div", S0, [
|
|
3684
|
-
e.canGoBack ? (
|
|
3684
|
+
e.canGoBack ? (c(), U(de, {
|
|
3685
3685
|
key: 0,
|
|
3686
3686
|
"icon-name": "ArrowBackRounded",
|
|
3687
3687
|
variant: "ghost",
|
|
@@ -3712,7 +3712,7 @@ const A0 = ["type"], I0 = {
|
|
|
3712
3712
|
},
|
|
3713
3713
|
setup(a) {
|
|
3714
3714
|
const e = a, t = _(() => e.size), s = _(() => e.isLoading ? "Loading" : e.iconName);
|
|
3715
|
-
return (n, l) => (
|
|
3715
|
+
return (n, l) => (c(), h("button", {
|
|
3716
3716
|
type: n.type,
|
|
3717
3717
|
class: W([
|
|
3718
3718
|
"ao-button-card",
|
|
@@ -3722,9 +3722,9 @@ const A0 = ["type"], I0 = {
|
|
|
3722
3722
|
])
|
|
3723
3723
|
}, [
|
|
3724
3724
|
K(n.$slots, "default", {}, () => [
|
|
3725
|
-
n.label ? (
|
|
3725
|
+
n.label ? (c(), h("span", I0, R(n.label), 1)) : k("", !0)
|
|
3726
3726
|
]),
|
|
3727
|
-
s.value ? (
|
|
3727
|
+
s.value ? (c(), U(ie, {
|
|
3728
3728
|
key: 0,
|
|
3729
3729
|
name: s.value,
|
|
3730
3730
|
class: "ao-button-card__icon",
|
|
@@ -3741,31 +3741,31 @@ const O0 = { class: "ao-card-template-item__footer" }, L0 = {
|
|
|
3741
3741
|
props: {
|
|
3742
3742
|
milestones: {},
|
|
3743
3743
|
activities: {},
|
|
3744
|
-
|
|
3744
|
+
tasks: {},
|
|
3745
3745
|
rules: {}
|
|
3746
3746
|
},
|
|
3747
3747
|
emits: ["update:title", "remove"],
|
|
3748
3748
|
setup(a, { emit: e }) {
|
|
3749
3749
|
const t = (i) => {
|
|
3750
3750
|
e("update:title", i);
|
|
3751
|
-
}, s = ["milestones", "activities", "rules", "
|
|
3751
|
+
}, s = ["milestones", "activities", "rules", "tasks"], n = {
|
|
3752
3752
|
milestones: "MountainFlagOutlineRounded",
|
|
3753
3753
|
activities: "TaskOutlineRounded",
|
|
3754
3754
|
rules: "FlowsheetOutlineRounded",
|
|
3755
|
-
|
|
3755
|
+
tasks: "ChecklistRounded"
|
|
3756
3756
|
}, l = () => {
|
|
3757
3757
|
e("remove");
|
|
3758
3758
|
};
|
|
3759
|
-
return (i, o) => (
|
|
3759
|
+
return (i, o) => (c(), U(O1, { "onUpdate:title": t }, {
|
|
3760
3760
|
footer: q(() => [
|
|
3761
3761
|
r("ul", O0, [
|
|
3762
|
-
(
|
|
3763
|
-
i.$props[
|
|
3762
|
+
(c(), h(oe, null, he(s, (v) => (c(), h(oe, { key: v }, [
|
|
3763
|
+
i.$props[v] ? (c(), h("li", L0, [
|
|
3764
3764
|
$(ie, {
|
|
3765
|
-
name: n[
|
|
3765
|
+
name: n[v],
|
|
3766
3766
|
size: "sm"
|
|
3767
3767
|
}, null, 8, ["name"]),
|
|
3768
|
-
r("span", E0, R(i.$props[
|
|
3768
|
+
r("span", E0, R(i.$props[v]), 1)
|
|
3769
3769
|
])) : k("", !0)
|
|
3770
3770
|
], 64))), 64))
|
|
3771
3771
|
])
|
|
@@ -3797,7 +3797,7 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3797
3797
|
var n;
|
|
3798
3798
|
return (n = e.milestones) == null ? void 0 : n.length;
|
|
3799
3799
|
}), s = _(() => e.milestones ? R1(e.milestones) : 0);
|
|
3800
|
-
return (n, l) => (
|
|
3800
|
+
return (n, l) => (c(), U(n1, Pe({
|
|
3801
3801
|
title: n.name,
|
|
3802
3802
|
activities: s.value,
|
|
3803
3803
|
milestones: t.value
|
|
@@ -3818,7 +3818,7 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3818
3818
|
var s;
|
|
3819
3819
|
return ((s = e.activities) == null ? void 0 : s.length) || 0;
|
|
3820
3820
|
});
|
|
3821
|
-
return (s, n) => (
|
|
3821
|
+
return (s, n) => (c(), U(n1, { activities: t.value }, {
|
|
3822
3822
|
default: q(() => [
|
|
3823
3823
|
K(s.$slots, "default")
|
|
3824
3824
|
]),
|
|
@@ -3842,14 +3842,14 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3842
3842
|
e("updateMilestone", o);
|
|
3843
3843
|
}, i = (o) => {
|
|
3844
3844
|
if (o.moved) {
|
|
3845
|
-
const
|
|
3845
|
+
const v = Bt(o, t.phase.milestones);
|
|
3846
3846
|
e("updateMilestone", {
|
|
3847
3847
|
id: o.moved.element.id,
|
|
3848
|
-
rank:
|
|
3848
|
+
rank: v
|
|
3849
3849
|
});
|
|
3850
3850
|
}
|
|
3851
3851
|
};
|
|
3852
|
-
return (o,
|
|
3852
|
+
return (o, v) => o.phase ? (c(), U(H(ht), {
|
|
3853
3853
|
key: 0,
|
|
3854
3854
|
"model-value": o.phase.milestones,
|
|
3855
3855
|
class: "ao-templates__list",
|
|
@@ -3865,20 +3865,20 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3865
3865
|
class: "ao-list__title"
|
|
3866
3866
|
})
|
|
3867
3867
|
]),
|
|
3868
|
-
item: q(({ element:
|
|
3869
|
-
(
|
|
3870
|
-
key:
|
|
3871
|
-
title:
|
|
3872
|
-
activities:
|
|
3873
|
-
"is-active": o.milestoneId ===
|
|
3868
|
+
item: q(({ element: d }) => [
|
|
3869
|
+
(c(), U(D0, {
|
|
3870
|
+
key: d.id,
|
|
3871
|
+
title: d.name,
|
|
3872
|
+
activities: d.activities,
|
|
3873
|
+
"is-active": o.milestoneId === d.id,
|
|
3874
3874
|
"is-draggable": !0,
|
|
3875
|
-
"onUpdate:title": (
|
|
3876
|
-
onClick: (
|
|
3875
|
+
"onUpdate:title": (u) => l({ id: d.id, name: u }),
|
|
3876
|
+
onClick: (u) => o.$router.push({
|
|
3877
3877
|
params: {
|
|
3878
|
-
milestoneId:
|
|
3878
|
+
milestoneId: d.id
|
|
3879
3879
|
}
|
|
3880
3880
|
}),
|
|
3881
|
-
onRemove: () => n(
|
|
3881
|
+
onRemove: () => n(d.id)
|
|
3882
3882
|
}, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
3883
3883
|
]),
|
|
3884
3884
|
footer: q(() => [
|
|
@@ -3897,19 +3897,19 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3897
3897
|
__name: "AoCardTemplateItemActivity",
|
|
3898
3898
|
props: {
|
|
3899
3899
|
name: {},
|
|
3900
|
-
|
|
3900
|
+
tasks: {}
|
|
3901
3901
|
},
|
|
3902
3902
|
setup(a) {
|
|
3903
3903
|
const e = a, t = _(() => {
|
|
3904
3904
|
var s;
|
|
3905
|
-
return ((s = e.
|
|
3905
|
+
return ((s = e.tasks) == null ? void 0 : s.length) || 0;
|
|
3906
3906
|
});
|
|
3907
|
-
return (s, n) => (
|
|
3907
|
+
return (s, n) => (c(), U(n1, { tasks: t.value }, {
|
|
3908
3908
|
default: q(() => [
|
|
3909
3909
|
K(s.$slots, "default")
|
|
3910
3910
|
]),
|
|
3911
3911
|
_: 3
|
|
3912
|
-
}, 8, ["
|
|
3912
|
+
}, 8, ["tasks"]));
|
|
3913
3913
|
}
|
|
3914
3914
|
}), Z0 = { class: "ao-list__footer" }, U0 = /* @__PURE__ */ Y({
|
|
3915
3915
|
__name: "AoTemplateDetailsActivities",
|
|
@@ -3931,14 +3931,14 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3931
3931
|
e("removeActivity", { id: o });
|
|
3932
3932
|
}, i = (o) => {
|
|
3933
3933
|
if (o.moved) {
|
|
3934
|
-
const
|
|
3934
|
+
const v = Bt(o, t.milestone.activities);
|
|
3935
3935
|
e("updateActivity", {
|
|
3936
3936
|
id: o.moved.element.id,
|
|
3937
|
-
rank:
|
|
3937
|
+
rank: v
|
|
3938
3938
|
});
|
|
3939
3939
|
}
|
|
3940
3940
|
};
|
|
3941
|
-
return (o,
|
|
3941
|
+
return (o, v) => o.milestone ? (c(), U(H(ht), {
|
|
3942
3942
|
key: 0,
|
|
3943
3943
|
"model-value": o.milestone.activities,
|
|
3944
3944
|
title: o.$t("template.activities.title"),
|
|
@@ -3954,17 +3954,17 @@ const H0 = /* @__PURE__ */ Y({
|
|
|
3954
3954
|
class: "ao-list__title"
|
|
3955
3955
|
})
|
|
3956
3956
|
]),
|
|
3957
|
-
item: q(({ element:
|
|
3958
|
-
(
|
|
3959
|
-
key:
|
|
3960
|
-
title:
|
|
3961
|
-
|
|
3962
|
-
"is-active": o.activityId ===
|
|
3957
|
+
item: q(({ element: d }) => [
|
|
3958
|
+
(c(), U(B0, {
|
|
3959
|
+
key: d.id,
|
|
3960
|
+
title: d.name,
|
|
3961
|
+
tasks: d.tasks,
|
|
3962
|
+
"is-active": o.activityId === d.id,
|
|
3963
3963
|
"is-draggable": !0,
|
|
3964
|
-
"onUpdate:title": (
|
|
3965
|
-
onClick: (
|
|
3966
|
-
onRemove: () => l(
|
|
3967
|
-
}, null, 8, ["title", "
|
|
3964
|
+
"onUpdate:title": (u) => n({ id: d.id, name: u }),
|
|
3965
|
+
onClick: (u) => o.$router.push({ params: { activityId: d.id } }),
|
|
3966
|
+
onRemove: () => l(d.id)
|
|
3967
|
+
}, null, 8, ["title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
|
|
3968
3968
|
]),
|
|
3969
3969
|
footer: q(() => [
|
|
3970
3970
|
r("div", Z0, [
|
|
@@ -3983,30 +3983,30 @@ function Ae(a) {
|
|
|
3983
3983
|
return [null, void 0].indexOf(a) !== -1;
|
|
3984
3984
|
}
|
|
3985
3985
|
function j0(a, e, t) {
|
|
3986
|
-
const { object: s, valueProp: n, mode: l } = ye(a), i = Ue().proxy, o = t.iv,
|
|
3987
|
-
o.value =
|
|
3988
|
-
const y =
|
|
3986
|
+
const { object: s, valueProp: n, mode: l } = ye(a), i = Ue().proxy, o = t.iv, v = (m, C = !0) => {
|
|
3987
|
+
o.value = u(m);
|
|
3988
|
+
const y = d(m);
|
|
3989
3989
|
e.emit("change", y, i), C && (e.emit("input", y), e.emit("update:modelValue", y));
|
|
3990
|
-
},
|
|
3990
|
+
}, d = (m) => s.value || Ae(m) ? m : Array.isArray(m) ? m.map((C) => C[n.value]) : m[n.value], u = (m) => Ae(m) ? l.value === "single" ? {} : [] : m;
|
|
3991
3991
|
return {
|
|
3992
|
-
update:
|
|
3992
|
+
update: v
|
|
3993
3993
|
};
|
|
3994
3994
|
}
|
|
3995
3995
|
function R0(a, e) {
|
|
3996
|
-
const { value: t, modelValue: s, mode: n, valueProp: l } = ye(a), i = ee(n.value !== "single" ? [] : {}), o = s && s.value !== void 0 ? s : t,
|
|
3996
|
+
const { value: t, modelValue: s, mode: n, valueProp: l } = ye(a), i = ee(n.value !== "single" ? [] : {}), o = s && s.value !== void 0 ? s : t, v = _(() => n.value === "single" ? i.value[l.value] : i.value.map((u) => u[l.value])), d = _(() => n.value !== "single" ? i.value.map((u) => u[l.value]).join(",") : i.value[l.value]);
|
|
3997
3997
|
return {
|
|
3998
3998
|
iv: i,
|
|
3999
3999
|
internalValue: i,
|
|
4000
4000
|
ev: o,
|
|
4001
4001
|
externalValue: o,
|
|
4002
|
-
textValue:
|
|
4003
|
-
plainValue:
|
|
4002
|
+
textValue: d,
|
|
4003
|
+
plainValue: v
|
|
4004
4004
|
};
|
|
4005
4005
|
}
|
|
4006
4006
|
function q0(a, e, t) {
|
|
4007
|
-
const { regex: s } = ye(a), n = Ue().proxy, l = t.isOpen, i = t.open, o = ee(null),
|
|
4007
|
+
const { regex: s } = ye(a), n = Ue().proxy, l = t.isOpen, i = t.open, o = ee(null), v = ee(null), d = () => {
|
|
4008
4008
|
o.value = "";
|
|
4009
|
-
},
|
|
4009
|
+
}, u = (y) => {
|
|
4010
4010
|
o.value = y.target.value;
|
|
4011
4011
|
}, m = (y) => {
|
|
4012
4012
|
if (s && s.value) {
|
|
@@ -4016,8 +4016,8 @@ function q0(a, e, t) {
|
|
|
4016
4016
|
}, C = (y) => {
|
|
4017
4017
|
if (s && s.value) {
|
|
4018
4018
|
let I = (y.clipboardData || /* istanbul ignore next */
|
|
4019
|
-
window.clipboardData).getData("Text"),
|
|
4020
|
-
typeof
|
|
4019
|
+
window.clipboardData).getData("Text"), E = s.value;
|
|
4020
|
+
typeof E == "string" && (E = new RegExp(E)), I.split("").every((b) => !!b.match(E)) || y.preventDefault();
|
|
4021
4021
|
}
|
|
4022
4022
|
e.emit("paste", y, n);
|
|
4023
4023
|
};
|
|
@@ -4025,22 +4025,22 @@ function q0(a, e, t) {
|
|
|
4025
4025
|
!l.value && y && i(), e.emit("search-change", y, n);
|
|
4026
4026
|
}), {
|
|
4027
4027
|
search: o,
|
|
4028
|
-
input:
|
|
4029
|
-
clearSearch:
|
|
4030
|
-
handleSearchInput:
|
|
4028
|
+
input: v,
|
|
4029
|
+
clearSearch: d,
|
|
4030
|
+
handleSearchInput: u,
|
|
4031
4031
|
handleKeypress: m,
|
|
4032
4032
|
handlePaste: C
|
|
4033
4033
|
};
|
|
4034
4034
|
}
|
|
4035
4035
|
function F0(a, e, t) {
|
|
4036
|
-
const { groupSelect: s, mode: n, groups: l, disabledProp: i } = ye(a), o = ee(null),
|
|
4037
|
-
|
|
4036
|
+
const { groupSelect: s, mode: n, groups: l, disabledProp: i } = ye(a), o = ee(null), v = (u) => {
|
|
4037
|
+
u === void 0 || u !== null && u[i.value] || l.value && u && u.group && (n.value === "single" || !s.value) || (o.value = u);
|
|
4038
4038
|
};
|
|
4039
4039
|
return {
|
|
4040
4040
|
pointer: o,
|
|
4041
|
-
setPointer:
|
|
4041
|
+
setPointer: v,
|
|
4042
4042
|
clearPointer: () => {
|
|
4043
|
-
|
|
4043
|
+
v(null);
|
|
4044
4044
|
}
|
|
4045
4045
|
};
|
|
4046
4046
|
}
|
|
@@ -4063,15 +4063,15 @@ function Y0(a, e, t) {
|
|
|
4063
4063
|
trackBy: l,
|
|
4064
4064
|
limit: i,
|
|
4065
4065
|
hideSelected: o,
|
|
4066
|
-
createTag:
|
|
4067
|
-
createOption:
|
|
4068
|
-
label:
|
|
4066
|
+
createTag: v,
|
|
4067
|
+
createOption: d,
|
|
4068
|
+
label: u,
|
|
4069
4069
|
appendNewTag: m,
|
|
4070
4070
|
appendNewOption: C,
|
|
4071
4071
|
multipleLabel: y,
|
|
4072
4072
|
object: M,
|
|
4073
4073
|
loading: I,
|
|
4074
|
-
delay:
|
|
4074
|
+
delay: E,
|
|
4075
4075
|
resolveOnLoad: b,
|
|
4076
4076
|
minChars: w,
|
|
4077
4077
|
filterResults: D,
|
|
@@ -4090,12 +4090,12 @@ function Y0(a, e, t) {
|
|
|
4090
4090
|
infinite: le,
|
|
4091
4091
|
groupOptions: g,
|
|
4092
4092
|
groupHideEmpty: P,
|
|
4093
|
-
groupSelect:
|
|
4093
|
+
groupSelect: V,
|
|
4094
4094
|
onCreate: G,
|
|
4095
4095
|
disabledProp: te,
|
|
4096
4096
|
searchStart: _e,
|
|
4097
4097
|
searchFilter: Me
|
|
4098
|
-
} = ye(a), re = Ue().proxy, F = t.iv, T = t.ev, Z = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, qe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, Fe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Se = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), o1 = _(() =>
|
|
4098
|
+
} = ye(a), re = Ue().proxy, F = t.iv, T = t.ev, Z = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, qe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, Fe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Se = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), o1 = _(() => v.value || d.value || !1), X1 = _(() => m.value !== void 0 ? m.value : C.value !== void 0 ? C.value : !0), He = _(() => {
|
|
4099
4099
|
if (S.value) {
|
|
4100
4100
|
let f = _t.value || /* istanbul ignore next */
|
|
4101
4101
|
[], A = [];
|
|
@@ -4158,9 +4158,9 @@ function Y0(a, e, t) {
|
|
|
4158
4158
|
}), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(F.value, re) : F.value && F.value.length > 1 ? `${F.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Se.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (Z.value && S.value || !S.value)), ze = _(() => o1.value === !1 || !Z.value ? [] : ca(Z.value) !== -1 ? [] : [{
|
|
4159
4159
|
[p.value]: Z.value,
|
|
4160
4160
|
[Te.value]: Z.value,
|
|
4161
|
-
[
|
|
4161
|
+
[u.value]: Z.value,
|
|
4162
4162
|
__CREATE__: !0
|
|
4163
|
-
}]), Te = _(() => l.value ||
|
|
4163
|
+
}]), Te = _(() => l.value || u.value), aa = _(() => {
|
|
4164
4164
|
switch (n.value) {
|
|
4165
4165
|
case "single":
|
|
4166
4166
|
return null;
|
|
@@ -4254,7 +4254,7 @@ function Y0(a, e, t) {
|
|
|
4254
4254
|
}
|
|
4255
4255
|
N.value || G1();
|
|
4256
4256
|
}, la = (f) => {
|
|
4257
|
-
if (!(qt(f) || n.value === "single" || !
|
|
4257
|
+
if (!(qt(f) || n.value === "single" || !V.value)) {
|
|
4258
4258
|
switch (n.value) {
|
|
4259
4259
|
case "multiple":
|
|
4260
4260
|
case "tags":
|
|
@@ -4289,8 +4289,8 @@ function Y0(a, e, t) {
|
|
|
4289
4289
|
let A = f;
|
|
4290
4290
|
return z0(A) && (A = Object.keys(A).map((Q) => {
|
|
4291
4291
|
let ce = A[Q];
|
|
4292
|
-
return { [p.value]: Q, [Te.value]: ce, [
|
|
4293
|
-
})), A = A.map((Q) => typeof Q == "object" ? Q : { [p.value]: Q, [Te.value]: Q, [
|
|
4292
|
+
return { [p.value]: Q, [Te.value]: ce, [u.value]: ce };
|
|
4293
|
+
})), A = A.map((Q) => typeof Q == "object" ? Q : { [p.value]: Q, [Te.value]: Q, [u.value]: Q }), A;
|
|
4294
4294
|
}, gt = () => {
|
|
4295
4295
|
Ae(T.value) || (F.value = bt(T.value));
|
|
4296
4296
|
}, yt = (f) => (Se.value = !0, new Promise((A, Q) => {
|
|
@@ -4306,25 +4306,25 @@ function Y0(a, e, t) {
|
|
|
4306
4306
|
if (n.value === "single") {
|
|
4307
4307
|
let f = Ee(F.value[p.value]);
|
|
4308
4308
|
if (f !== void 0) {
|
|
4309
|
-
let A = f[
|
|
4310
|
-
F.value[
|
|
4309
|
+
let A = f[u.value];
|
|
4310
|
+
F.value[u.value] = A, M.value && (T.value[u.value] = A);
|
|
4311
4311
|
}
|
|
4312
4312
|
} else
|
|
4313
4313
|
F.value.forEach((f, A) => {
|
|
4314
4314
|
let Q = Ee(F.value[A][p.value]);
|
|
4315
4315
|
if (Q !== void 0) {
|
|
4316
|
-
let ce = Q[
|
|
4317
|
-
F.value[A][
|
|
4316
|
+
let ce = Q[u.value];
|
|
4317
|
+
F.value[A][u.value] = ce, M.value && (T.value[A][u.value] = ce);
|
|
4318
4318
|
}
|
|
4319
4319
|
});
|
|
4320
4320
|
}, fa = (f) => {
|
|
4321
4321
|
yt(f);
|
|
4322
4322
|
}, bt = (f) => Ae(f) ? n.value === "single" ? {} : [] : M.value ? f : n.value === "single" ? Ee(f) || (L.value ? {
|
|
4323
|
-
[
|
|
4323
|
+
[u.value]: f,
|
|
4324
4324
|
[p.value]: f,
|
|
4325
4325
|
[Te.value]: f
|
|
4326
4326
|
} : {}) : f.filter((A) => !!Ee(A) || L.value).map((A) => Ee(A) || {
|
|
4327
|
-
[
|
|
4327
|
+
[u.value]: A,
|
|
4328
4328
|
[p.value]: A,
|
|
4329
4329
|
[Te.value]: A
|
|
4330
4330
|
}), f1 = () => {
|
|
@@ -4338,12 +4338,12 @@ function Y0(a, e, t) {
|
|
|
4338
4338
|
console.error(A);
|
|
4339
4339
|
}
|
|
4340
4340
|
);
|
|
4341
|
-
},
|
|
4341
|
+
}, E.value));
|
|
4342
4342
|
}, { flush: "sync" });
|
|
4343
4343
|
};
|
|
4344
4344
|
if (n.value !== "single" && !Ae(T.value) && !Array.isArray(T.value))
|
|
4345
4345
|
throw new Error(`v-model must be an array when using "${n.value}" mode`);
|
|
4346
|
-
return s && typeof s.value == "function" ? b.value ? yt(gt) : M.value == !0 && gt() : (Ve.value = s.value, gt()),
|
|
4346
|
+
return s && typeof s.value == "function" ? b.value ? yt(gt) : M.value == !0 && gt() : (Ve.value = s.value, gt()), E.value > -1 && f1(), fe(E, (f, A) => {
|
|
4347
4347
|
Ut.value && Ut.value(), f >= 0 && f1();
|
|
4348
4348
|
}), fe(T, (f) => {
|
|
4349
4349
|
if (Ae(f)) {
|
|
@@ -4361,7 +4361,7 @@ function Y0(a, e, t) {
|
|
|
4361
4361
|
}
|
|
4362
4362
|
}, { deep: !0 }), fe(s, (f, A) => {
|
|
4363
4363
|
typeof a.options == "function" ? b.value && (!A || f && f.toString() !== A.toString()) && yt() : (Ve.value = a.options, Object.keys(F.value).length || gt(), Gt());
|
|
4364
|
-
}), fe(
|
|
4364
|
+
}), fe(u, Gt), {
|
|
4365
4365
|
pfo: r1,
|
|
4366
4366
|
fo: nt,
|
|
4367
4367
|
filteredOptions: nt,
|
|
@@ -4402,11 +4402,11 @@ function G0(a, e, t) {
|
|
|
4402
4402
|
searchable: l,
|
|
4403
4403
|
groupLabel: i,
|
|
4404
4404
|
groups: o,
|
|
4405
|
-
mode:
|
|
4406
|
-
groupSelect:
|
|
4407
|
-
disabledProp:
|
|
4405
|
+
mode: v,
|
|
4406
|
+
groupSelect: d,
|
|
4407
|
+
disabledProp: u,
|
|
4408
4408
|
groupOptions: m
|
|
4409
|
-
} = ye(a), C = t.fo, y = t.fg, M = t.handleOptionClick, I = t.handleGroupClick,
|
|
4409
|
+
} = ye(a), C = t.fo, y = t.fg, M = t.handleOptionClick, I = t.handleGroupClick, E = t.search, b = t.pointer, w = t.setPointer, D = t.clearPointer, X = t.multiselect, ne = t.isOpen, p = _(() => C.value.filter((T) => !T[u.value])), L = _(() => y.value.filter((T) => !T[u.value])), B = _(() => v.value !== "single" && d.value), J = _(() => b.value && b.value.group), se = _(() => re(b.value)), me = _(() => {
|
|
4410
4410
|
const T = J.value ? b.value : (
|
|
4411
4411
|
/* istanbul ignore next */
|
|
4412
4412
|
re(b.value)
|
|
@@ -4416,16 +4416,16 @@ function G0(a, e, t) {
|
|
|
4416
4416
|
}), N = _(() => {
|
|
4417
4417
|
let T = L.value.map((Z) => Z.label).indexOf(J.value ? b.value[i.value] : re(b.value)[i.value]) + 1;
|
|
4418
4418
|
return L.value.length <= T && (T = 0), L.value[T];
|
|
4419
|
-
}), x = _(() => [...L.value].slice(-1)[0]), S = _(() => b.value.__VISIBLE__.filter((T) => !T[
|
|
4420
|
-
const T = se.value.__VISIBLE__.filter((Z) => !Z[
|
|
4419
|
+
}), x = _(() => [...L.value].slice(-1)[0]), S = _(() => b.value.__VISIBLE__.filter((T) => !T[u.value])[0]), j = _(() => {
|
|
4420
|
+
const T = se.value.__VISIBLE__.filter((Z) => !Z[u.value]);
|
|
4421
4421
|
return T[T.map((Z) => Z[s.value]).indexOf(b.value[s.value]) - 1];
|
|
4422
4422
|
}), le = _(() => {
|
|
4423
|
-
const T = re(b.value).__VISIBLE__.filter((Z) => !Z[
|
|
4423
|
+
const T = re(b.value).__VISIBLE__.filter((Z) => !Z[u.value]);
|
|
4424
4424
|
return T[T.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1];
|
|
4425
|
-
}), g = _(() => [...me.value.__VISIBLE__.filter((T) => !T[
|
|
4425
|
+
}), g = _(() => [...me.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), P = _(() => [...x.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), V = (T) => b.value && (!T.group && b.value[s.value] === T[s.value] || T.group !== void 0 && b.value[i.value] === T[i.value]) ? !0 : void 0, G = () => {
|
|
4426
4426
|
w(p.value[0] || null);
|
|
4427
4427
|
}, te = () => {
|
|
4428
|
-
!b.value || b.value[
|
|
4428
|
+
!b.value || b.value[u.value] === !0 || (J.value ? I(b.value) : M(b.value));
|
|
4429
4429
|
}, _e = () => {
|
|
4430
4430
|
if (b.value === null)
|
|
4431
4431
|
w((o.value && B.value ? L.value[0].__CREATE__ ? p.value[0] : L.value[0] : p.value[0]) || null);
|
|
@@ -4462,7 +4462,7 @@ function G0(a, e, t) {
|
|
|
4462
4462
|
let Z = T.parentElement.parentElement;
|
|
4463
4463
|
o.value && (Z = J.value ? T.parentElement.parentElement.parentElement : T.parentElement.parentElement.parentElement.parentElement), T.offsetTop + T.offsetHeight > Z.clientHeight + Z.scrollTop && (Z.scrollTop = T.offsetTop + T.offsetHeight - Z.clientHeight), T.offsetTop < Z.scrollTop && (Z.scrollTop = T.offsetTop);
|
|
4464
4464
|
};
|
|
4465
|
-
return fe(
|
|
4465
|
+
return fe(E, (T) => {
|
|
4466
4466
|
l.value && (T.length && n.value ? G() : D());
|
|
4467
4467
|
}), fe(ne, (T) => {
|
|
4468
4468
|
if (T) {
|
|
@@ -4477,7 +4477,7 @@ function G0(a, e, t) {
|
|
|
4477
4477
|
}), {
|
|
4478
4478
|
pointer: b,
|
|
4479
4479
|
canPointGroups: B,
|
|
4480
|
-
isPointed:
|
|
4480
|
+
isPointed: V,
|
|
4481
4481
|
setPointerFirst: G,
|
|
4482
4482
|
selectPointer: te,
|
|
4483
4483
|
forwardPointer: _e,
|
|
@@ -4497,7 +4497,7 @@ function K0(a, e, t) {
|
|
|
4497
4497
|
};
|
|
4498
4498
|
}
|
|
4499
4499
|
function x0(a, e, t) {
|
|
4500
|
-
const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open,
|
|
4500
|
+
const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open, v = t.close, d = t.clearSearch, u = t.isOpen, m = ee(null), C = ee(null), y = ee(null), M = ee(!1), I = ee(!1), E = _(() => s.value || n.value ? -1 : 0), b = () => {
|
|
4501
4501
|
s.value && i.value.blur(), C.value.blur();
|
|
4502
4502
|
}, w = () => {
|
|
4503
4503
|
s.value && !n.value && i.value.focus();
|
|
@@ -4505,14 +4505,14 @@ function x0(a, e, t) {
|
|
|
4505
4505
|
n.value || (M.value = !0, J && o());
|
|
4506
4506
|
}, X = () => {
|
|
4507
4507
|
M.value = !1, setTimeout(() => {
|
|
4508
|
-
M.value || (
|
|
4508
|
+
M.value || (v(), l.value && d());
|
|
4509
4509
|
}, 1);
|
|
4510
4510
|
};
|
|
4511
4511
|
return {
|
|
4512
4512
|
multiselect: m,
|
|
4513
4513
|
wrapper: C,
|
|
4514
4514
|
tags: y,
|
|
4515
|
-
tabindex:
|
|
4515
|
+
tabindex: E,
|
|
4516
4516
|
isActive: M,
|
|
4517
4517
|
mouseClicked: I,
|
|
4518
4518
|
blur: b,
|
|
@@ -4529,9 +4529,9 @@ function x0(a, e, t) {
|
|
|
4529
4529
|
X(), b();
|
|
4530
4530
|
},
|
|
4531
4531
|
handleMousedown: (J) => {
|
|
4532
|
-
I.value = !0,
|
|
4532
|
+
I.value = !0, u.value && (J.target.isEqualNode(C.value) || J.target.isEqualNode(y.value)) ? setTimeout(() => {
|
|
4533
4533
|
X();
|
|
4534
|
-
}, 0) : document.activeElement.isEqualNode(C.value) && !
|
|
4534
|
+
}, 0) : document.activeElement.isEqualNode(C.value) && !u.value && D(), setTimeout(() => {
|
|
4535
4535
|
I.value = !1;
|
|
4536
4536
|
}, 0);
|
|
4537
4537
|
}
|
|
@@ -4544,35 +4544,35 @@ function X0(a, e, t) {
|
|
|
4544
4544
|
openDirection: l,
|
|
4545
4545
|
searchable: i,
|
|
4546
4546
|
showOptions: o,
|
|
4547
|
-
valueProp:
|
|
4548
|
-
groups:
|
|
4549
|
-
addOptionOn:
|
|
4547
|
+
valueProp: v,
|
|
4548
|
+
groups: d,
|
|
4549
|
+
addOptionOn: u,
|
|
4550
4550
|
createTag: m,
|
|
4551
4551
|
createOption: C,
|
|
4552
4552
|
reverse: y
|
|
4553
|
-
} = ye(a), M = Ue().proxy, I = t.iv,
|
|
4554
|
-
s.value === "tags" && !o.value && x.value && i.value && !
|
|
4555
|
-
}, le = (
|
|
4556
|
-
let G =
|
|
4557
|
-
for (; G >= 0 && (
|
|
4553
|
+
} = ye(a), M = Ue().proxy, I = t.iv, E = t.update, b = t.search, w = t.setPointer, D = t.selectPointer, X = t.backwardPointer, ne = t.forwardPointer, p = t.multiselect, L = t.wrapper, B = t.tags, J = t.isOpen, se = t.open, me = t.blur, N = t.fo, x = _(() => m.value || C.value || !1), S = _(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), j = () => {
|
|
4554
|
+
s.value === "tags" && !o.value && x.value && i.value && !d.value && w(N.value[N.value.map((V) => V[v.value]).indexOf(b.value)]);
|
|
4555
|
+
}, le = (V) => {
|
|
4556
|
+
let G = V.length - 1;
|
|
4557
|
+
for (; G >= 0 && (V[G].remove === !1 || V[G].disabled); )
|
|
4558
4558
|
G--;
|
|
4559
|
-
return G < 0 ||
|
|
4559
|
+
return G < 0 || V.splice(G, 1), V;
|
|
4560
4560
|
};
|
|
4561
4561
|
return {
|
|
4562
|
-
handleKeydown: (
|
|
4563
|
-
e.emit("keydown",
|
|
4562
|
+
handleKeydown: (V) => {
|
|
4563
|
+
e.emit("keydown", V, M);
|
|
4564
4564
|
let G, te;
|
|
4565
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(
|
|
4565
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...p.value.querySelectorAll("[data-tags] > *")].filter((_e) => _e !== B.value), te = G.findIndex((_e) => _e === document.activeElement)), V.key) {
|
|
4566
4566
|
case "Backspace":
|
|
4567
4567
|
if (s.value === "single" || i.value && [null, ""].indexOf(b.value) === -1 || I.value.length === 0)
|
|
4568
4568
|
return;
|
|
4569
|
-
|
|
4569
|
+
E(le([...I.value]));
|
|
4570
4570
|
break;
|
|
4571
4571
|
case "Enter":
|
|
4572
|
-
if (
|
|
4572
|
+
if (V.preventDefault(), V.keyCode === 229)
|
|
4573
4573
|
return;
|
|
4574
4574
|
if (te !== -1 && te !== void 0) {
|
|
4575
|
-
|
|
4575
|
+
E([...I.value].filter((_e, Me) => Me !== te)), te === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : i.value ? B.value.querySelector("input").focus() : L.value.focus());
|
|
4576
4576
|
return;
|
|
4577
4577
|
}
|
|
4578
4578
|
if (S.value.indexOf("enter") === -1 && x.value)
|
|
@@ -4581,49 +4581,49 @@ function X0(a, e, t) {
|
|
|
4581
4581
|
break;
|
|
4582
4582
|
case " ":
|
|
4583
4583
|
if (!x.value && !i.value) {
|
|
4584
|
-
|
|
4584
|
+
V.preventDefault(), j(), D();
|
|
4585
4585
|
return;
|
|
4586
4586
|
}
|
|
4587
4587
|
if (!x.value)
|
|
4588
4588
|
return !1;
|
|
4589
4589
|
if (S.value.indexOf("space") === -1 && x.value)
|
|
4590
4590
|
return;
|
|
4591
|
-
|
|
4591
|
+
V.preventDefault(), j(), D();
|
|
4592
4592
|
break;
|
|
4593
4593
|
case "Tab":
|
|
4594
4594
|
case ";":
|
|
4595
4595
|
case ",":
|
|
4596
|
-
if (S.value.indexOf(
|
|
4596
|
+
if (S.value.indexOf(V.key.toLowerCase()) === -1 || !x.value)
|
|
4597
4597
|
return;
|
|
4598
|
-
j(), D(),
|
|
4598
|
+
j(), D(), V.preventDefault();
|
|
4599
4599
|
break;
|
|
4600
4600
|
case "Escape":
|
|
4601
4601
|
me();
|
|
4602
4602
|
break;
|
|
4603
4603
|
case "ArrowUp":
|
|
4604
|
-
if (
|
|
4604
|
+
if (V.preventDefault(), !o.value)
|
|
4605
4605
|
return;
|
|
4606
4606
|
J.value || se(), X();
|
|
4607
4607
|
break;
|
|
4608
4608
|
case "ArrowDown":
|
|
4609
|
-
if (
|
|
4609
|
+
if (V.preventDefault(), !o.value)
|
|
4610
4610
|
return;
|
|
4611
4611
|
J.value || se(), ne();
|
|
4612
4612
|
break;
|
|
4613
4613
|
case "ArrowLeft":
|
|
4614
|
-
if (i.value && B.value && B.value.querySelector("input").selectionStart ||
|
|
4614
|
+
if (i.value && B.value && B.value.querySelector("input").selectionStart || V.shiftKey || s.value !== "tags" || !I.value || !I.value.length)
|
|
4615
4615
|
return;
|
|
4616
|
-
|
|
4616
|
+
V.preventDefault(), te === -1 ? G[G.length - 1].focus() : te > 0 && G[te - 1].focus();
|
|
4617
4617
|
break;
|
|
4618
4618
|
case "ArrowRight":
|
|
4619
|
-
if (te === -1 ||
|
|
4619
|
+
if (te === -1 || V.shiftKey || s.value !== "tags" || !I.value || !I.value.length)
|
|
4620
4620
|
return;
|
|
4621
|
-
|
|
4621
|
+
V.preventDefault(), G.length > te + 1 ? G[te + 1].focus() : i.value ? B.value.querySelector("input").focus() : i.value || L.value.focus();
|
|
4622
4622
|
break;
|
|
4623
4623
|
}
|
|
4624
4624
|
},
|
|
4625
|
-
handleKeyup: (
|
|
4626
|
-
e.emit("keyup",
|
|
4625
|
+
handleKeyup: (V) => {
|
|
4626
|
+
e.emit("keyup", V, M);
|
|
4627
4627
|
},
|
|
4628
4628
|
preparePointer: j
|
|
4629
4629
|
};
|
|
@@ -4634,7 +4634,7 @@ function Q0(a, e, t) {
|
|
|
4634
4634
|
disabled: n,
|
|
4635
4635
|
openDirection: l,
|
|
4636
4636
|
showOptions: i
|
|
4637
|
-
} = ye(a), o = t.isOpen,
|
|
4637
|
+
} = ye(a), o = t.isOpen, v = t.isPointed, d = t.isSelected, u = t.isDisabled, m = t.isActive, C = t.canPointGroups, y = t.resolving, M = t.fo, I = _(() => ({
|
|
4638
4638
|
container: "multiselect",
|
|
4639
4639
|
containerDisabled: "is-disabled",
|
|
4640
4640
|
containerOpen: "is-open",
|
|
@@ -4687,12 +4687,12 @@ function Q0(a, e, t) {
|
|
|
4687
4687
|
assist: "multiselect-assistive-text",
|
|
4688
4688
|
spacer: "multiselect-spacer",
|
|
4689
4689
|
...s.value
|
|
4690
|
-
})),
|
|
4690
|
+
})), E = _(() => !!(o.value && i.value && (!y.value || y.value && M.value.length)));
|
|
4691
4691
|
return {
|
|
4692
4692
|
classList: _(() => {
|
|
4693
4693
|
const w = I.value;
|
|
4694
4694
|
return {
|
|
4695
|
-
container: [w.container].concat(n.value ? w.containerDisabled : []).concat(
|
|
4695
|
+
container: [w.container].concat(n.value ? w.containerDisabled : []).concat(E.value && l.value === "top" ? w.containerOpenTop : []).concat(E.value && l.value !== "top" ? w.containerOpen : []).concat(m.value ? w.containerActive : []),
|
|
4696
4696
|
wrapper: w.wrapper,
|
|
4697
4697
|
spacer: w.spacer,
|
|
4698
4698
|
singleLabel: w.singleLabel,
|
|
@@ -4714,17 +4714,17 @@ function Q0(a, e, t) {
|
|
|
4714
4714
|
spinner: w.spinner,
|
|
4715
4715
|
inifinite: w.inifinite,
|
|
4716
4716
|
inifiniteSpinner: w.inifiniteSpinner,
|
|
4717
|
-
dropdown: [w.dropdown].concat(l.value === "top" ? w.dropdownTop : []).concat(!o.value || !i.value || !
|
|
4717
|
+
dropdown: [w.dropdown].concat(l.value === "top" ? w.dropdownTop : []).concat(!o.value || !i.value || !E.value ? w.dropdownHidden : []),
|
|
4718
4718
|
options: [w.options].concat(l.value === "top" ? w.optionsTop : []),
|
|
4719
4719
|
group: w.group,
|
|
4720
4720
|
groupLabel: (D) => {
|
|
4721
4721
|
let X = [w.groupLabel];
|
|
4722
|
-
return
|
|
4722
|
+
return v(D) ? X.push(d(D) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : d(D) && C.value ? X.push(u(D) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : u(D) && X.push(w.groupLabelDisabled), C.value && X.push(w.groupLabelPointable), X;
|
|
4723
4723
|
},
|
|
4724
4724
|
groupOptions: w.groupOptions,
|
|
4725
4725
|
option: (D, X) => {
|
|
4726
4726
|
let ne = [w.option];
|
|
4727
|
-
return
|
|
4727
|
+
return v(D) ? ne.push(d(D) ? w.optionSelectedPointed : w.optionPointed) : d(D) ? ne.push(u(D) ? w.optionSelectedDisabled : w.optionSelected) : (u(D) || X && u(X)) && ne.push(w.optionDisabled), ne;
|
|
4728
4728
|
},
|
|
4729
4729
|
noOptions: w.noOptions,
|
|
4730
4730
|
noResults: w.noResults,
|
|
@@ -4732,32 +4732,32 @@ function Q0(a, e, t) {
|
|
|
4732
4732
|
fakeInput: w.fakeInput
|
|
4733
4733
|
};
|
|
4734
4734
|
}),
|
|
4735
|
-
showDropdown:
|
|
4735
|
+
showDropdown: E
|
|
4736
4736
|
};
|
|
4737
4737
|
}
|
|
4738
4738
|
function J0(a, e, t) {
|
|
4739
4739
|
const {
|
|
4740
4740
|
limit: s,
|
|
4741
4741
|
infinite: n
|
|
4742
|
-
} = ye(a), l = t.isOpen, i = t.offset, o = t.search,
|
|
4743
|
-
const { isIntersecting:
|
|
4744
|
-
if (
|
|
4742
|
+
} = ye(a), l = t.isOpen, i = t.offset, o = t.search, v = t.pfo, d = t.eo, u = ee(null), m = ee(null), C = _(() => i.value < v.value.length), y = (I) => {
|
|
4743
|
+
const { isIntersecting: E, target: b } = I[0];
|
|
4744
|
+
if (E) {
|
|
4745
4745
|
const w = b.offsetParent, D = w.scrollTop;
|
|
4746
4746
|
i.value += s.value == -1 ? 10 : s.value, Ze(() => {
|
|
4747
4747
|
w.scrollTop = D;
|
|
4748
4748
|
});
|
|
4749
4749
|
}
|
|
4750
4750
|
}, M = () => {
|
|
4751
|
-
l.value && i.value <
|
|
4751
|
+
l.value && i.value < v.value.length ? u.value.observe(m.value) : !l.value && u.value && u.value.disconnect();
|
|
4752
4752
|
};
|
|
4753
4753
|
return fe(l, () => {
|
|
4754
4754
|
n.value && M();
|
|
4755
4755
|
}), fe(o, () => {
|
|
4756
4756
|
n.value && (i.value = s.value, M());
|
|
4757
|
-
}, { flush: "post" }), fe(
|
|
4757
|
+
}, { flush: "post" }), fe(d, () => {
|
|
4758
4758
|
n.value && M();
|
|
4759
4759
|
}, { immediate: !1, flush: "post" }), Ot(() => {
|
|
4760
|
-
window && window.IntersectionObserver && (
|
|
4760
|
+
window && window.IntersectionObserver && (u.value = new IntersectionObserver(y));
|
|
4761
4761
|
}), {
|
|
4762
4762
|
hasMore: C,
|
|
4763
4763
|
infiniteLoader: m
|
|
@@ -4770,10 +4770,10 @@ function e5(a, e, t) {
|
|
|
4770
4770
|
valueProp: l,
|
|
4771
4771
|
label: i,
|
|
4772
4772
|
mode: o,
|
|
4773
|
-
groupLabel:
|
|
4774
|
-
aria:
|
|
4775
|
-
searchable:
|
|
4776
|
-
} = ye(a), m = t.pointer, C = t.iv, y = t.hasSelected, M = t.multipleLabelText, I = ee(null),
|
|
4773
|
+
groupLabel: v,
|
|
4774
|
+
aria: d,
|
|
4775
|
+
searchable: u
|
|
4776
|
+
} = ye(a), m = t.pointer, C = t.iv, y = t.hasSelected, M = t.multipleLabelText, I = ee(null), E = _(() => {
|
|
4777
4777
|
let N = [];
|
|
4778
4778
|
return n && n.value && N.push(n.value), N.push("assist"), N.join("-");
|
|
4779
4779
|
}), b = _(() => {
|
|
@@ -4787,8 +4787,8 @@ function e5(a, e, t) {
|
|
|
4787
4787
|
let N = "";
|
|
4788
4788
|
return o.value === "single" && y.value && (N += C.value[i.value]), o.value === "multiple" && y.value && (N += M.value), o.value === "tags" && y.value && (N += C.value.map((x) => x[i.value]).join(", ")), N;
|
|
4789
4789
|
}), p = _(() => {
|
|
4790
|
-
let N = { ...
|
|
4791
|
-
return
|
|
4790
|
+
let N = { ...d.value };
|
|
4791
|
+
return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${E.value} ${N["aria-labelledby"]}` : E.value, ne.value && N["aria-label"] && (N["aria-label"] = `${ne.value}, ${N["aria-label"]}`)), N;
|
|
4792
4792
|
}), L = (N) => {
|
|
4793
4793
|
let x = [];
|
|
4794
4794
|
return n && n.value && x.push(n.value), x.push("multiselect-option"), x.push(N[l.value]), x.join("-");
|
|
@@ -4810,7 +4810,7 @@ function e5(a, e, t) {
|
|
|
4810
4810
|
}), {
|
|
4811
4811
|
arias: p,
|
|
4812
4812
|
ariaLabel: ne,
|
|
4813
|
-
ariaAssist:
|
|
4813
|
+
ariaAssist: E,
|
|
4814
4814
|
ariaControls: b,
|
|
4815
4815
|
ariaPlaceholder: D,
|
|
4816
4816
|
ariaMultiselectable: X,
|
|
@@ -5194,7 +5194,7 @@ var pe = {
|
|
|
5194
5194
|
};
|
|
5195
5195
|
const n5 = ["id", "dir"], s5 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], i5 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], l5 = ["onKeyup", "aria-label"], o5 = ["onClick"], r5 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], u5 = ["innerHTML"], c5 = ["id"], d5 = ["id", "aria-label", "aria-selected"], v5 = ["data-pointed", "onMouseenter", "onClick"], m5 = ["innerHTML"], f5 = ["aria-label"], h5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], p5 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], C5 = ["innerHTML"], _5 = ["innerHTML"], g5 = ["value"], y5 = ["name", "value"], b5 = ["name", "value"], w5 = ["id"];
|
|
5196
5196
|
function $5(a, e, t, s, n, l) {
|
|
5197
|
-
return
|
|
5197
|
+
return c(), h("div", {
|
|
5198
5198
|
ref: "multiselect",
|
|
5199
5199
|
class: W(a.classList.container),
|
|
5200
5200
|
id: t.searchable ? void 0 : t.id,
|
|
@@ -5217,7 +5217,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5217
5217
|
role: t.searchable ? void 0 : "combobox"
|
|
5218
5218
|
}, t.searchable ? {} : a.arias), [
|
|
5219
5219
|
k(" Search "),
|
|
5220
|
-
t.mode !== "tags" && t.searchable && !t.disabled ? (
|
|
5220
|
+
t.mode !== "tags" && t.searchable && !t.disabled ? (c(), h("input", Pe({
|
|
5221
5221
|
key: 0,
|
|
5222
5222
|
type: t.inputType,
|
|
5223
5223
|
modelValue: a.search,
|
|
@@ -5240,7 +5240,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5240
5240
|
...a.arias
|
|
5241
5241
|
}), null, 16, i5)) : k("v-if", !0),
|
|
5242
5242
|
k(" Tags (with search) "),
|
|
5243
|
-
t.mode == "tags" ? (
|
|
5243
|
+
t.mode == "tags" ? (c(), h(
|
|
5244
5244
|
"div",
|
|
5245
5245
|
{
|
|
5246
5246
|
key: 1,
|
|
@@ -5248,22 +5248,22 @@ function $5(a, e, t, s, n, l) {
|
|
|
5248
5248
|
"data-tags": ""
|
|
5249
5249
|
},
|
|
5250
5250
|
[
|
|
5251
|
-
(
|
|
5251
|
+
(c(!0), h(
|
|
5252
5252
|
oe,
|
|
5253
5253
|
null,
|
|
5254
|
-
he(a.iv, (i, o,
|
|
5254
|
+
he(a.iv, (i, o, v) => K(a.$slots, "tag", {
|
|
5255
5255
|
option: i,
|
|
5256
5256
|
handleTagRemove: a.handleTagRemove,
|
|
5257
5257
|
disabled: t.disabled
|
|
5258
5258
|
}, () => [
|
|
5259
|
-
(
|
|
5259
|
+
(c(), h("span", {
|
|
5260
5260
|
class: W([
|
|
5261
5261
|
a.classList.tag,
|
|
5262
5262
|
i.disabled ? a.classList.tagDisabled : null
|
|
5263
5263
|
]),
|
|
5264
5264
|
tabindex: "-1",
|
|
5265
|
-
onKeyup: mt((
|
|
5266
|
-
key:
|
|
5265
|
+
onKeyup: mt((d) => a.handleTagRemove(i, d), ["enter"]),
|
|
5266
|
+
key: v,
|
|
5267
5267
|
"aria-label": a.ariaTagLabel(a.localize(i[t.label]))
|
|
5268
5268
|
}, [
|
|
5269
5269
|
e1(
|
|
@@ -5271,10 +5271,10 @@ function $5(a, e, t, s, n, l) {
|
|
|
5271
5271
|
1
|
|
5272
5272
|
/* TEXT */
|
|
5273
5273
|
),
|
|
5274
|
-
!t.disabled && !i.disabled ? (
|
|
5274
|
+
!t.disabled && !i.disabled ? (c(), h("span", {
|
|
5275
5275
|
key: 0,
|
|
5276
5276
|
class: W(a.classList.tagRemove),
|
|
5277
|
-
onClick: ke((
|
|
5277
|
+
onClick: ke((d) => a.handleTagRemove(i, d), ["stop"])
|
|
5278
5278
|
}, [
|
|
5279
5279
|
r(
|
|
5280
5280
|
"span",
|
|
@@ -5309,7 +5309,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5309
5309
|
/* TEXT, CLASS */
|
|
5310
5310
|
),
|
|
5311
5311
|
k(" Actual search input "),
|
|
5312
|
-
t.searchable && !t.disabled ? (
|
|
5312
|
+
t.searchable && !t.disabled ? (c(), h("input", Pe({
|
|
5313
5313
|
key: 0,
|
|
5314
5314
|
type: t.inputType,
|
|
5315
5315
|
modelValue: a.search,
|
|
@@ -5461,23 +5461,23 @@ function $5(a, e, t, s, n, l) {
|
|
|
5461
5461
|
id: a.ariaControls,
|
|
5462
5462
|
role: "listbox"
|
|
5463
5463
|
}, [
|
|
5464
|
-
t.groups ? (
|
|
5464
|
+
t.groups ? (c(!0), h(
|
|
5465
5465
|
oe,
|
|
5466
5466
|
{ key: 0 },
|
|
5467
|
-
he(a.fg, (i, o,
|
|
5467
|
+
he(a.fg, (i, o, v) => (c(), h("li", {
|
|
5468
5468
|
class: W(a.classList.group),
|
|
5469
|
-
key:
|
|
5469
|
+
key: v,
|
|
5470
5470
|
id: a.ariaGroupId(i),
|
|
5471
5471
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
5472
5472
|
"aria-selected": a.isSelected(i),
|
|
5473
5473
|
role: "option"
|
|
5474
5474
|
}, [
|
|
5475
|
-
i.__CREATE__ ? k("v-if", !0) : (
|
|
5475
|
+
i.__CREATE__ ? k("v-if", !0) : (c(), h("div", {
|
|
5476
5476
|
key: 0,
|
|
5477
5477
|
class: W(a.classList.groupLabel(i)),
|
|
5478
5478
|
"data-pointed": a.isPointed(i),
|
|
5479
|
-
onMouseenter: (
|
|
5480
|
-
onClick: (
|
|
5479
|
+
onMouseenter: (d) => a.setPointer(i, o),
|
|
5480
|
+
onClick: (d) => a.handleGroupClick(i)
|
|
5481
5481
|
}, [
|
|
5482
5482
|
K(a.$slots, "grouplabel", {
|
|
5483
5483
|
group: i,
|
|
@@ -5494,23 +5494,23 @@ function $5(a, e, t, s, n, l) {
|
|
|
5494
5494
|
"aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
|
|
5495
5495
|
role: "group"
|
|
5496
5496
|
}, [
|
|
5497
|
-
(
|
|
5497
|
+
(c(!0), h(
|
|
5498
5498
|
oe,
|
|
5499
5499
|
null,
|
|
5500
|
-
he(i.__VISIBLE__, (
|
|
5501
|
-
class: W(a.classList.option(
|
|
5502
|
-
"data-pointed": a.isPointed(
|
|
5503
|
-
"data-selected": a.isSelected(
|
|
5500
|
+
he(i.__VISIBLE__, (d, u, m) => (c(), h("li", {
|
|
5501
|
+
class: W(a.classList.option(d, i)),
|
|
5502
|
+
"data-pointed": a.isPointed(d),
|
|
5503
|
+
"data-selected": a.isSelected(d) || void 0,
|
|
5504
5504
|
key: m,
|
|
5505
|
-
onMouseenter: (C) => a.setPointer(
|
|
5506
|
-
onClick: (C) => a.handleOptionClick(
|
|
5507
|
-
id: a.ariaOptionId(
|
|
5508
|
-
"aria-selected": a.isSelected(
|
|
5509
|
-
"aria-label": a.ariaOptionLabel(a.localize(
|
|
5505
|
+
onMouseenter: (C) => a.setPointer(d),
|
|
5506
|
+
onClick: (C) => a.handleOptionClick(d),
|
|
5507
|
+
id: a.ariaOptionId(d),
|
|
5508
|
+
"aria-selected": a.isSelected(d),
|
|
5509
|
+
"aria-label": a.ariaOptionLabel(a.localize(d[t.label])),
|
|
5510
5510
|
role: "option"
|
|
5511
5511
|
}, [
|
|
5512
5512
|
K(a.$slots, "option", {
|
|
5513
|
-
option:
|
|
5513
|
+
option: d,
|
|
5514
5514
|
isSelected: a.isSelected,
|
|
5515
5515
|
isPointed: a.isPointed,
|
|
5516
5516
|
search: a.search
|
|
@@ -5518,7 +5518,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5518
5518
|
r(
|
|
5519
5519
|
"span",
|
|
5520
5520
|
null,
|
|
5521
|
-
R(a.localize(
|
|
5521
|
+
R(a.localize(d[t.label])),
|
|
5522
5522
|
1
|
|
5523
5523
|
/* TEXT */
|
|
5524
5524
|
)
|
|
@@ -5531,16 +5531,16 @@ function $5(a, e, t, s, n, l) {
|
|
|
5531
5531
|
], 10, d5))),
|
|
5532
5532
|
128
|
|
5533
5533
|
/* KEYED_FRAGMENT */
|
|
5534
|
-
)) : (
|
|
5534
|
+
)) : (c(!0), h(
|
|
5535
5535
|
oe,
|
|
5536
5536
|
{ key: 1 },
|
|
5537
|
-
he(a.fo, (i, o,
|
|
5537
|
+
he(a.fo, (i, o, v) => (c(), h("li", {
|
|
5538
5538
|
class: W(a.classList.option(i)),
|
|
5539
5539
|
"data-pointed": a.isPointed(i),
|
|
5540
5540
|
"data-selected": a.isSelected(i) || void 0,
|
|
5541
|
-
key:
|
|
5542
|
-
onMouseenter: (
|
|
5543
|
-
onClick: (
|
|
5541
|
+
key: v,
|
|
5542
|
+
onMouseenter: (d) => a.setPointer(i),
|
|
5543
|
+
onClick: (d) => a.handleOptionClick(i),
|
|
5544
5544
|
id: a.ariaOptionId(i),
|
|
5545
5545
|
"aria-selected": a.isSelected(i),
|
|
5546
5546
|
"aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
|
|
@@ -5577,7 +5577,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5577
5577
|
innerHTML: a.localize(t.noResultsText)
|
|
5578
5578
|
}, null, 10, _5)
|
|
5579
5579
|
]) : k("v-if", !0),
|
|
5580
|
-
t.infinite && a.hasMore ? (
|
|
5580
|
+
t.infinite && a.hasMore ? (c(), h(
|
|
5581
5581
|
"div",
|
|
5582
5582
|
{
|
|
5583
5583
|
key: 2,
|
|
@@ -5606,7 +5606,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5606
5606
|
/* CLASS */
|
|
5607
5607
|
),
|
|
5608
5608
|
k(" Hacky input element to show HTML5 required warning "),
|
|
5609
|
-
t.required ? (
|
|
5609
|
+
t.required ? (c(), h("input", {
|
|
5610
5610
|
key: 0,
|
|
5611
5611
|
class: W(a.classList.fakeInput),
|
|
5612
5612
|
tabindex: "-1",
|
|
@@ -5614,19 +5614,19 @@ function $5(a, e, t, s, n, l) {
|
|
|
5614
5614
|
required: ""
|
|
5615
5615
|
}, null, 10, g5)) : k("v-if", !0),
|
|
5616
5616
|
k(" Native input support "),
|
|
5617
|
-
t.nativeSupport ? (
|
|
5617
|
+
t.nativeSupport ? (c(), h(
|
|
5618
5618
|
oe,
|
|
5619
5619
|
{ key: 1 },
|
|
5620
5620
|
[
|
|
5621
|
-
t.mode == "single" ? (
|
|
5621
|
+
t.mode == "single" ? (c(), h("input", {
|
|
5622
5622
|
key: 0,
|
|
5623
5623
|
type: "hidden",
|
|
5624
5624
|
name: t.name,
|
|
5625
5625
|
value: a.plainValue !== void 0 ? a.plainValue : ""
|
|
5626
|
-
}, null, 8, y5)) : (
|
|
5626
|
+
}, null, 8, y5)) : (c(!0), h(
|
|
5627
5627
|
oe,
|
|
5628
5628
|
{ key: 1 },
|
|
5629
|
-
he(a.plainValue, (i, o) => (
|
|
5629
|
+
he(a.plainValue, (i, o) => (c(), h("input", {
|
|
5630
5630
|
type: "hidden",
|
|
5631
5631
|
name: `${t.name}[]`,
|
|
5632
5632
|
value: i,
|
|
@@ -5640,7 +5640,7 @@ function $5(a, e, t, s, n, l) {
|
|
|
5640
5640
|
/* STABLE_FRAGMENT */
|
|
5641
5641
|
)) : k("v-if", !0),
|
|
5642
5642
|
k(" Screen reader assistive text "),
|
|
5643
|
-
t.searchable && a.hasSelected ? (
|
|
5643
|
+
t.searchable && a.hasSelected ? (c(), h("div", {
|
|
5644
5644
|
key: 2,
|
|
5645
5645
|
class: W(a.classList.assist),
|
|
5646
5646
|
id: a.ariaAssist,
|
|
@@ -5667,7 +5667,7 @@ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { cl
|
|
|
5667
5667
|
__name: "AoModal",
|
|
5668
5668
|
emits: ["close"],
|
|
5669
5669
|
setup(a) {
|
|
5670
|
-
return (e, t) => (
|
|
5670
|
+
return (e, t) => (c(), h("div", M5, [
|
|
5671
5671
|
r("div", {
|
|
5672
5672
|
class: "ao-modal__backdrop",
|
|
5673
5673
|
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
@@ -5682,7 +5682,7 @@ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { cl
|
|
|
5682
5682
|
onClick: t[1] || (t[1] = (s) => e.$emit("close"))
|
|
5683
5683
|
})
|
|
5684
5684
|
]),
|
|
5685
|
-
e.$slots.header ? (
|
|
5685
|
+
e.$slots.header ? (c(), h("header", A5, [
|
|
5686
5686
|
K(e.$slots, "header")
|
|
5687
5687
|
])) : k("", !0)
|
|
5688
5688
|
]),
|
|
@@ -5727,11 +5727,11 @@ Y({
|
|
|
5727
5727
|
};
|
|
5728
5728
|
}
|
|
5729
5729
|
});
|
|
5730
|
-
const L5 = { class: "ao-
|
|
5731
|
-
__name: "
|
|
5730
|
+
const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value", "onChange"], H5 = { class: "ao-tasks__list-footer" }, D5 = /* @__PURE__ */ Y({
|
|
5731
|
+
__name: "AoActivityTasks",
|
|
5732
5732
|
props: {
|
|
5733
5733
|
activityId: {},
|
|
5734
|
-
|
|
5734
|
+
tasks: {},
|
|
5735
5735
|
isCheckable: { type: Boolean },
|
|
5736
5736
|
users: {}
|
|
5737
5737
|
},
|
|
@@ -5739,46 +5739,46 @@ const L5 = { class: "ao-subtasks" }, E5 = { class: "ao-subtasks__list" }, V5 = [
|
|
|
5739
5739
|
setup(a, { emit: e }) {
|
|
5740
5740
|
const t = a, { t: s } = Re(), n = _(
|
|
5741
5741
|
() => {
|
|
5742
|
-
var
|
|
5743
|
-
return ((
|
|
5742
|
+
var u;
|
|
5743
|
+
return ((u = t.users) == null ? void 0 : u.map((m) => ({
|
|
5744
5744
|
label: `${m.firstName} ${m.lastName}`,
|
|
5745
5745
|
value: m.id
|
|
5746
5746
|
}))) ?? [];
|
|
5747
5747
|
}
|
|
5748
5748
|
), l = () => {
|
|
5749
|
-
const
|
|
5750
|
-
name: s("task.defaultName", { idx:
|
|
5749
|
+
const u = t.tasks.length, m = {
|
|
5750
|
+
name: s("task.defaultName", { idx: u + 1 }),
|
|
5751
5751
|
activityId: t.activityId
|
|
5752
5752
|
};
|
|
5753
5753
|
e("add", m);
|
|
5754
|
-
}, i = (
|
|
5755
|
-
const y =
|
|
5754
|
+
}, i = (u, m) => {
|
|
5755
|
+
const y = u.target.value;
|
|
5756
5756
|
e("update", {
|
|
5757
5757
|
id: m,
|
|
5758
5758
|
name: y
|
|
5759
5759
|
});
|
|
5760
|
-
}, o = (
|
|
5760
|
+
}, o = (u, m) => {
|
|
5761
5761
|
e("update", {
|
|
5762
|
-
id:
|
|
5762
|
+
id: u,
|
|
5763
5763
|
isDone: m
|
|
5764
5764
|
});
|
|
5765
|
-
},
|
|
5766
|
-
e("delete", { id:
|
|
5767
|
-
},
|
|
5765
|
+
}, v = (u) => {
|
|
5766
|
+
e("delete", { id: u });
|
|
5767
|
+
}, d = (u, m) => {
|
|
5768
5768
|
e("update", {
|
|
5769
5769
|
id: m,
|
|
5770
|
-
assigneeId:
|
|
5770
|
+
assigneeId: u
|
|
5771
5771
|
});
|
|
5772
5772
|
};
|
|
5773
|
-
return (
|
|
5773
|
+
return (u, m) => (c(), h("div", L5, [
|
|
5774
5774
|
r("ul", E5, [
|
|
5775
|
-
(
|
|
5775
|
+
(c(!0), h(oe, null, he(u.tasks, (C) => {
|
|
5776
5776
|
var y;
|
|
5777
|
-
return
|
|
5777
|
+
return c(), h("li", {
|
|
5778
5778
|
key: C.id,
|
|
5779
5779
|
class: "ao-subtask"
|
|
5780
5780
|
}, [
|
|
5781
|
-
|
|
5781
|
+
u.isCheckable ? (c(), U(de, {
|
|
5782
5782
|
key: 0,
|
|
5783
5783
|
class: "ao-subtask__delete",
|
|
5784
5784
|
"icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
|
|
@@ -5791,21 +5791,21 @@ const L5 = { class: "ao-subtasks" }, E5 = { class: "ao-subtasks__list" }, V5 = [
|
|
|
5791
5791
|
type: "text",
|
|
5792
5792
|
onChange: (M) => i(M, C.id)
|
|
5793
5793
|
}, null, 40, V5),
|
|
5794
|
-
|
|
5794
|
+
u.users ? (c(), U(H(pe), {
|
|
5795
5795
|
key: 1,
|
|
5796
5796
|
value: (y = C.assignee) == null ? void 0 : y.id,
|
|
5797
5797
|
options: n.value,
|
|
5798
5798
|
"close-on-select": !1,
|
|
5799
5799
|
searchable: !0,
|
|
5800
5800
|
class: "ao-subtask__assignees",
|
|
5801
|
-
placeholder:
|
|
5802
|
-
onChange: (M) =>
|
|
5801
|
+
placeholder: u.$t("feed.filters.assignee.placeholder"),
|
|
5802
|
+
onChange: (M) => d(M, C.id)
|
|
5803
5803
|
}, {
|
|
5804
5804
|
tag: q(({ option: M, handleTagRemove: I }) => [
|
|
5805
5805
|
$(tt, {
|
|
5806
5806
|
"user-name": M.label,
|
|
5807
5807
|
"is-closable": !0,
|
|
5808
|
-
onClose: (
|
|
5808
|
+
onClose: (E) => I(M, E)
|
|
5809
5809
|
}, null, 8, ["user-name", "onClose"])
|
|
5810
5810
|
]),
|
|
5811
5811
|
_: 2
|
|
@@ -5814,14 +5814,14 @@ const L5 = { class: "ao-subtasks" }, E5 = { class: "ao-subtasks__list" }, V5 = [
|
|
|
5814
5814
|
class: "ao-subtask__delete",
|
|
5815
5815
|
"icon-name": "CloseRounded",
|
|
5816
5816
|
variant: "ghost",
|
|
5817
|
-
onClick: () =>
|
|
5817
|
+
onClick: () => v(C.id)
|
|
5818
5818
|
}, null, 8, ["onClick"])
|
|
5819
5819
|
]);
|
|
5820
5820
|
}), 128))
|
|
5821
5821
|
]),
|
|
5822
5822
|
r("div", H5, [
|
|
5823
5823
|
$(de, {
|
|
5824
|
-
label:
|
|
5824
|
+
label: u.$t("activity.tasks.add"),
|
|
5825
5825
|
"icon-name": "Add",
|
|
5826
5826
|
variant: "ghost",
|
|
5827
5827
|
color: "primary",
|
|
@@ -5844,21 +5844,21 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5844
5844
|
},
|
|
5845
5845
|
emits: ["add", "toggleIsDropActive", "remove"],
|
|
5846
5846
|
setup(a, { emit: e }) {
|
|
5847
|
-
const t = (
|
|
5848
|
-
e("remove",
|
|
5849
|
-
}, s = (
|
|
5850
|
-
const
|
|
5847
|
+
const t = (d) => {
|
|
5848
|
+
e("remove", d);
|
|
5849
|
+
}, s = (d) => {
|
|
5850
|
+
const u = d.target, m = Array.from(u.files ?? []);
|
|
5851
5851
|
e("add", m);
|
|
5852
5852
|
}, n = ["dragenter", "dragover", "dragleave", "drop"];
|
|
5853
5853
|
Ot(() => {
|
|
5854
|
-
n.forEach((
|
|
5855
|
-
document.body.addEventListener(
|
|
5854
|
+
n.forEach((d) => {
|
|
5855
|
+
document.body.addEventListener(d, (u) => u.preventDefault());
|
|
5856
5856
|
});
|
|
5857
5857
|
}), ga(() => {
|
|
5858
|
-
n.forEach((
|
|
5858
|
+
n.forEach((d) => {
|
|
5859
5859
|
document.body.removeEventListener(
|
|
5860
|
-
|
|
5861
|
-
(
|
|
5860
|
+
d,
|
|
5861
|
+
(u) => u.preventDefault()
|
|
5862
5862
|
);
|
|
5863
5863
|
});
|
|
5864
5864
|
});
|
|
@@ -5869,31 +5869,31 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5869
5869
|
function o() {
|
|
5870
5870
|
l.value = !1;
|
|
5871
5871
|
}
|
|
5872
|
-
fe(l, (
|
|
5873
|
-
e("toggleIsDropActive",
|
|
5872
|
+
fe(l, (d) => {
|
|
5873
|
+
e("toggleIsDropActive", d);
|
|
5874
5874
|
});
|
|
5875
|
-
function
|
|
5875
|
+
function v(d) {
|
|
5876
5876
|
var m;
|
|
5877
5877
|
o();
|
|
5878
|
-
const
|
|
5879
|
-
|
|
5878
|
+
const u = Array.from(((m = d.dataTransfer) == null ? void 0 : m.files) || []);
|
|
5879
|
+
d.dataTransfer && e("add", u);
|
|
5880
5880
|
}
|
|
5881
|
-
return (
|
|
5881
|
+
return (d, u) => {
|
|
5882
5882
|
var m;
|
|
5883
|
-
return
|
|
5883
|
+
return c(), h("div", {
|
|
5884
5884
|
class: W([
|
|
5885
5885
|
"ao-files__wrapper",
|
|
5886
5886
|
{
|
|
5887
5887
|
"ao-files__wrapper--drop-active": l.value
|
|
5888
5888
|
}
|
|
5889
5889
|
]),
|
|
5890
|
-
onDrop: ke(
|
|
5890
|
+
onDrop: ke(v, ["prevent"]),
|
|
5891
5891
|
onDragenter: ke(i, ["prevent"]),
|
|
5892
5892
|
onDragover: ke(i, ["prevent"]),
|
|
5893
5893
|
onDragleave: ke(o, ["prevent"])
|
|
5894
5894
|
}, [
|
|
5895
|
-
(m =
|
|
5896
|
-
(
|
|
5895
|
+
(m = d.attachments) != null && m.length && d.attachments.length > 0 ? (c(), h("ul", N5, [
|
|
5896
|
+
(c(!0), h(oe, null, he(d.attachments, (C) => (c(), h("li", {
|
|
5897
5897
|
key: C.id,
|
|
5898
5898
|
class: "ao-file"
|
|
5899
5899
|
}, [
|
|
@@ -5920,9 +5920,9 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5920
5920
|
onClick: () => t(C)
|
|
5921
5921
|
}, null, 8, ["onClick"])
|
|
5922
5922
|
]))), 128))
|
|
5923
|
-
])) : (
|
|
5923
|
+
])) : (c(), h("div", U5, [
|
|
5924
5924
|
r("label", j5, [
|
|
5925
|
-
r("span", R5, R(
|
|
5925
|
+
r("span", R5, R(d.$t("activity.attachment.button.resting")), 1),
|
|
5926
5926
|
r("input", {
|
|
5927
5927
|
class: "input-field",
|
|
5928
5928
|
type: "file",
|
|
@@ -5932,7 +5932,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
|
|
|
5932
5932
|
onChange: s
|
|
5933
5933
|
}, null, 32)
|
|
5934
5934
|
]),
|
|
5935
|
-
r("span", q5, R(
|
|
5935
|
+
r("span", q5, R(d.$t("activity.attachment.placeholder.resting")), 1)
|
|
5936
5936
|
]))
|
|
5937
5937
|
], 42, P5);
|
|
5938
5938
|
};
|
|
@@ -5989,10 +5989,10 @@ const z5 = {
|
|
|
5989
5989
|
set(p) {
|
|
5990
5990
|
e("update:activity", { id: t.activity.id, typeId: p });
|
|
5991
5991
|
}
|
|
5992
|
-
}),
|
|
5992
|
+
}), v = _(() => t.templateActivities.filter((p) => p.id !== t.activity.id).map((p) => ({
|
|
5993
5993
|
label: p.name,
|
|
5994
5994
|
value: p.id
|
|
5995
|
-
}))),
|
|
5995
|
+
}))), d = _({
|
|
5996
5996
|
get() {
|
|
5997
5997
|
return t.activity.dependingOn;
|
|
5998
5998
|
},
|
|
@@ -6002,7 +6002,7 @@ const z5 = {
|
|
|
6002
6002
|
dependingOn: p
|
|
6003
6003
|
});
|
|
6004
6004
|
}
|
|
6005
|
-
}),
|
|
6005
|
+
}), u = _(() => v.value.map((p) => {
|
|
6006
6006
|
var L;
|
|
6007
6007
|
return {
|
|
6008
6008
|
...p,
|
|
@@ -6018,7 +6018,7 @@ const z5 = {
|
|
|
6018
6018
|
blocking: p
|
|
6019
6019
|
});
|
|
6020
6020
|
}
|
|
6021
|
-
}), C = _(() =>
|
|
6021
|
+
}), C = _(() => v.value.map((p) => {
|
|
6022
6022
|
var L;
|
|
6023
6023
|
return {
|
|
6024
6024
|
...p,
|
|
@@ -6039,7 +6039,7 @@ const z5 = {
|
|
|
6039
6039
|
}
|
|
6040
6040
|
}), I = (p) => {
|
|
6041
6041
|
e("addSubtask", p);
|
|
6042
|
-
},
|
|
6042
|
+
}, E = (p) => {
|
|
6043
6043
|
e("updateSubtask", p);
|
|
6044
6044
|
}, b = (p) => {
|
|
6045
6045
|
e("deleteSubtask", p);
|
|
@@ -6071,12 +6071,12 @@ const z5 = {
|
|
|
6071
6071
|
file: p
|
|
6072
6072
|
});
|
|
6073
6073
|
};
|
|
6074
|
-
return (p, L) => (
|
|
6074
|
+
return (p, L) => (c(), U(q1, {
|
|
6075
6075
|
onClose: L[8] || (L[8] = (B) => p.$emit("close"))
|
|
6076
6076
|
}, {
|
|
6077
6077
|
header: q(() => [
|
|
6078
6078
|
K(p.$slots, "header", {}, () => [
|
|
6079
|
-
p.breadcrumbs ? (
|
|
6079
|
+
p.breadcrumbs ? (c(), h("div", z5, R(p.breadcrumbs), 1)) : k("", !0),
|
|
6080
6080
|
$(ve, {
|
|
6081
6081
|
title: p.activity.name || p.activity.id,
|
|
6082
6082
|
level: 4,
|
|
@@ -6129,7 +6129,7 @@ const z5 = {
|
|
|
6129
6129
|
])
|
|
6130
6130
|
]),
|
|
6131
6131
|
r("label", e7, [
|
|
6132
|
-
r("span", t7, R(p.$t("activity.
|
|
6132
|
+
r("span", t7, R(p.$t("activity.important.label")), 1),
|
|
6133
6133
|
xe(r("input", {
|
|
6134
6134
|
"onUpdate:modelValue": L[2] || (L[2] = (B) => i.value = B),
|
|
6135
6135
|
class: "ao-field__input",
|
|
@@ -6195,13 +6195,13 @@ const z5 = {
|
|
|
6195
6195
|
r("label", d7, [
|
|
6196
6196
|
r("span", v7, R(p.$t("activity.dependingOn.label")), 1),
|
|
6197
6197
|
$(H(pe), {
|
|
6198
|
-
modelValue:
|
|
6199
|
-
"onUpdate:modelValue": L[5] || (L[5] = (B) =>
|
|
6198
|
+
modelValue: d.value,
|
|
6199
|
+
"onUpdate:modelValue": L[5] || (L[5] = (B) => d.value = B),
|
|
6200
6200
|
class: "ao-field__multiselect",
|
|
6201
6201
|
mode: "tags",
|
|
6202
6202
|
"close-on-select": !1,
|
|
6203
6203
|
searchable: !0,
|
|
6204
|
-
options:
|
|
6204
|
+
options: u.value
|
|
6205
6205
|
}, null, 8, ["modelValue", "options"])
|
|
6206
6206
|
])
|
|
6207
6207
|
]),
|
|
@@ -6239,18 +6239,18 @@ const z5 = {
|
|
|
6239
6239
|
$(ie, { name: "SelectCheckBox" }),
|
|
6240
6240
|
$(ve, {
|
|
6241
6241
|
level: 4,
|
|
6242
|
-
title: p.$t("activity.
|
|
6242
|
+
title: p.$t("activity.tasks.title")
|
|
6243
6243
|
}, null, 8, ["title"])
|
|
6244
6244
|
]),
|
|
6245
6245
|
$(D5, {
|
|
6246
|
-
class: "ao-activity-
|
|
6247
|
-
|
|
6246
|
+
class: "ao-activity-details__tasks",
|
|
6247
|
+
tasks: p.activity.tasks || [],
|
|
6248
6248
|
"activity-id": p.activity.id,
|
|
6249
6249
|
users: p.users,
|
|
6250
6250
|
onAdd: I,
|
|
6251
|
-
onUpdate:
|
|
6251
|
+
onUpdate: E,
|
|
6252
6252
|
onDelete: b
|
|
6253
|
-
}, null, 8, ["
|
|
6253
|
+
}, null, 8, ["tasks", "activity-id", "users"])
|
|
6254
6254
|
]),
|
|
6255
6255
|
K(p.$slots, "default")
|
|
6256
6256
|
]),
|
|
@@ -6302,7 +6302,7 @@ const $7 = {
|
|
|
6302
6302
|
PHASES: "phases",
|
|
6303
6303
|
MILESTONES: "milestones",
|
|
6304
6304
|
ACTIVITIES: "activities",
|
|
6305
|
-
|
|
6305
|
+
TASKS: "tasks"
|
|
6306
6306
|
};
|
|
6307
6307
|
var T7 = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(T7 || {});
|
|
6308
6308
|
const xd = {
|
|
@@ -6358,14 +6358,14 @@ const xd = {
|
|
|
6358
6358
|
value: D.id,
|
|
6359
6359
|
label: D.name
|
|
6360
6360
|
}));
|
|
6361
|
-
}),
|
|
6361
|
+
}), v = ct(t.rule.comparator), d = _({
|
|
6362
6362
|
get() {
|
|
6363
|
-
return
|
|
6363
|
+
return v.value;
|
|
6364
6364
|
},
|
|
6365
6365
|
set(b) {
|
|
6366
6366
|
e("update:rule", { ...t.rule, comparator: b });
|
|
6367
6367
|
}
|
|
6368
|
-
}),
|
|
6368
|
+
}), u = _(() => Object.values(M7)), m = ct(t.rule.trigger), C = _({
|
|
6369
6369
|
get() {
|
|
6370
6370
|
return m.value;
|
|
6371
6371
|
},
|
|
@@ -6386,8 +6386,8 @@ const xd = {
|
|
|
6386
6386
|
set(b) {
|
|
6387
6387
|
e("update:rule", { ...t.rule, durationUnit: b });
|
|
6388
6388
|
}
|
|
6389
|
-
}),
|
|
6390
|
-
return (b, w) => (
|
|
6389
|
+
}), E = _(() => Object.values(S7));
|
|
6390
|
+
return (b, w) => (c(), U(Je(b.tagName), { class: "ao-rule-line" }, {
|
|
6391
6391
|
default: q(() => [
|
|
6392
6392
|
$(H(pe), {
|
|
6393
6393
|
modelValue: n.value,
|
|
@@ -6405,9 +6405,9 @@ const xd = {
|
|
|
6405
6405
|
options: y.value
|
|
6406
6406
|
}, null, 8, ["modelValue", "options"]),
|
|
6407
6407
|
$(H(pe), {
|
|
6408
|
-
modelValue:
|
|
6409
|
-
"onUpdate:modelValue": w[3] || (w[3] = (D) =>
|
|
6410
|
-
options:
|
|
6408
|
+
modelValue: d.value,
|
|
6409
|
+
"onUpdate:modelValue": w[3] || (w[3] = (D) => d.value = D),
|
|
6410
|
+
options: u.value
|
|
6411
6411
|
}, null, 8, ["modelValue", "options"]),
|
|
6412
6412
|
xe(r("input", {
|
|
6413
6413
|
"onUpdate:modelValue": w[4] || (w[4] = (D) => M.value = D),
|
|
@@ -6424,7 +6424,7 @@ const xd = {
|
|
|
6424
6424
|
$(H(pe), {
|
|
6425
6425
|
modelValue: I.value,
|
|
6426
6426
|
"onUpdate:modelValue": w[5] || (w[5] = (D) => I.value = D),
|
|
6427
|
-
options:
|
|
6427
|
+
options: E.value
|
|
6428
6428
|
}, null, 8, ["modelValue", "options"]),
|
|
6429
6429
|
$(de, {
|
|
6430
6430
|
class: "ao-rule-line__remove",
|
|
@@ -6453,7 +6453,7 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
|
|
|
6453
6453
|
}, s = (n) => {
|
|
6454
6454
|
e("removeRule", n);
|
|
6455
6455
|
};
|
|
6456
|
-
return (n, l) => (
|
|
6456
|
+
return (n, l) => (c(), U(q1, null, {
|
|
6457
6457
|
header: q(() => [
|
|
6458
6458
|
$(ve, {
|
|
6459
6459
|
title: n.$t("template.rules.title"),
|
|
@@ -6463,7 +6463,7 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
|
|
|
6463
6463
|
default: q(() => [
|
|
6464
6464
|
r("div", I7, [
|
|
6465
6465
|
r("ul", O7, [
|
|
6466
|
-
(
|
|
6466
|
+
(c(!0), h(oe, null, he(n.rules, (i) => (c(), U(A7, {
|
|
6467
6467
|
key: i.id,
|
|
6468
6468
|
rule: i,
|
|
6469
6469
|
"template-phases": n.templatePhases,
|
|
@@ -6514,33 +6514,33 @@ const E7 = {
|
|
|
6514
6514
|
}
|
|
6515
6515
|
), l = _(() => {
|
|
6516
6516
|
var g, P;
|
|
6517
|
-
return (P = (g = n == null ? void 0 : n.value) == null ? void 0 : g.phases) == null ? void 0 : P.find((
|
|
6517
|
+
return (P = (g = n == null ? void 0 : n.value) == null ? void 0 : g.phases) == null ? void 0 : P.find((V) => V.id === t.phaseId);
|
|
6518
6518
|
}), i = _(() => {
|
|
6519
6519
|
var g, P;
|
|
6520
6520
|
return (P = (g = l.value) == null ? void 0 : g.milestones) == null ? void 0 : P.find(
|
|
6521
|
-
(
|
|
6521
|
+
(V) => V.id === t.milestoneId
|
|
6522
6522
|
);
|
|
6523
6523
|
}), o = _(() => {
|
|
6524
6524
|
var g, P;
|
|
6525
|
-
return ((P = (g = n.value) == null ? void 0 : g.phases) == null ? void 0 : P.reduce((
|
|
6525
|
+
return ((P = (g = n.value) == null ? void 0 : g.phases) == null ? void 0 : P.reduce((V, G) => {
|
|
6526
6526
|
const te = G.milestones || [];
|
|
6527
|
-
return [...
|
|
6527
|
+
return [...V, ...te];
|
|
6528
6528
|
}, [])) || [];
|
|
6529
|
-
}),
|
|
6529
|
+
}), v = _(() => {
|
|
6530
6530
|
var g, P;
|
|
6531
|
-
return ((P = (g = n.value) == null ? void 0 : g.phases) == null ? void 0 : P.reduce((
|
|
6531
|
+
return ((P = (g = n.value) == null ? void 0 : g.phases) == null ? void 0 : P.reduce((V, G) => {
|
|
6532
6532
|
const _e = (G.milestones || []).reduce(
|
|
6533
6533
|
(Me, re) => re.activities ? [...Me, ...re.activities] : Me,
|
|
6534
6534
|
[]
|
|
6535
6535
|
);
|
|
6536
|
-
return [...
|
|
6536
|
+
return [...V, ..._e];
|
|
6537
6537
|
}, [])) || [];
|
|
6538
|
-
}),
|
|
6538
|
+
}), d = _(() => {
|
|
6539
6539
|
var g, P;
|
|
6540
6540
|
return (P = (g = i.value) == null ? void 0 : g.activities) == null ? void 0 : P.find(
|
|
6541
|
-
(
|
|
6541
|
+
(V) => V.id === t.activityId
|
|
6542
6542
|
);
|
|
6543
|
-
}),
|
|
6543
|
+
}), u = _(() => {
|
|
6544
6544
|
var g;
|
|
6545
6545
|
return ((g = t.activityTypes) == null ? void 0 : g.map((P) => ({
|
|
6546
6546
|
label: P.name,
|
|
@@ -6588,12 +6588,12 @@ const E7 = {
|
|
|
6588
6588
|
itemType: ue.PHASES,
|
|
6589
6589
|
data: { name: P }
|
|
6590
6590
|
});
|
|
6591
|
-
},
|
|
6591
|
+
}, E = (g) => {
|
|
6592
6592
|
e("updateItem", g);
|
|
6593
6593
|
}, b = (g) => {
|
|
6594
6594
|
if (!l.value)
|
|
6595
6595
|
return;
|
|
6596
|
-
const { name: P, rank:
|
|
6596
|
+
const { name: P, rank: V } = Xe(
|
|
6597
6597
|
l.value.milestones,
|
|
6598
6598
|
"milestone",
|
|
6599
6599
|
s
|
|
@@ -6604,7 +6604,7 @@ const E7 = {
|
|
|
6604
6604
|
phaseId: g.phaseId,
|
|
6605
6605
|
item: {
|
|
6606
6606
|
name: P,
|
|
6607
|
-
rank:
|
|
6607
|
+
rank: V,
|
|
6608
6608
|
phaseId: g.phaseId
|
|
6609
6609
|
}
|
|
6610
6610
|
});
|
|
@@ -6618,18 +6618,18 @@ const E7 = {
|
|
|
6618
6618
|
}
|
|
6619
6619
|
});
|
|
6620
6620
|
}, D = (g) => {
|
|
6621
|
-
const { id: P, ...
|
|
6621
|
+
const { id: P, ...V } = g;
|
|
6622
6622
|
e("updateItem", {
|
|
6623
6623
|
itemType: ue.MILESTONES,
|
|
6624
6624
|
id: P,
|
|
6625
6625
|
templateId: t.templateId,
|
|
6626
|
-
data:
|
|
6626
|
+
data: V
|
|
6627
6627
|
});
|
|
6628
6628
|
}, X = (g) => {
|
|
6629
6629
|
const { milestoneId: P } = g;
|
|
6630
6630
|
if (!i.value)
|
|
6631
6631
|
return;
|
|
6632
|
-
const { name:
|
|
6632
|
+
const { name: V, rank: G } = Xe(
|
|
6633
6633
|
i.value.activities,
|
|
6634
6634
|
"activity",
|
|
6635
6635
|
s
|
|
@@ -6637,26 +6637,26 @@ const E7 = {
|
|
|
6637
6637
|
e("addItem", {
|
|
6638
6638
|
type: ue.ACTIVITIES,
|
|
6639
6639
|
milestoneId: P,
|
|
6640
|
-
item: { name:
|
|
6640
|
+
item: { name: V, rank: G, milestoneId: P }
|
|
6641
6641
|
});
|
|
6642
6642
|
}, ne = (g) => {
|
|
6643
|
-
const { phaseId: P, milestoneId:
|
|
6643
|
+
const { phaseId: P, milestoneId: V } = g;
|
|
6644
6644
|
e("removeItem", {
|
|
6645
6645
|
type: ue.ACTIVITIES,
|
|
6646
6646
|
templateId: t.templateId,
|
|
6647
6647
|
phaseId: P,
|
|
6648
|
-
milestoneId:
|
|
6648
|
+
milestoneId: V,
|
|
6649
6649
|
data: {
|
|
6650
6650
|
id: g.id
|
|
6651
6651
|
}
|
|
6652
6652
|
});
|
|
6653
6653
|
}, p = (g) => {
|
|
6654
|
-
const { id: P, ...
|
|
6654
|
+
const { id: P, ...V } = g;
|
|
6655
6655
|
e("updateItem", {
|
|
6656
6656
|
itemType: ue.ACTIVITIES,
|
|
6657
6657
|
id: P,
|
|
6658
6658
|
templateId: t.templateId,
|
|
6659
|
-
data:
|
|
6659
|
+
data: V
|
|
6660
6660
|
});
|
|
6661
6661
|
}, L = ee(!1), B = () => {
|
|
6662
6662
|
L.value = !L.value;
|
|
@@ -6667,19 +6667,19 @@ const E7 = {
|
|
|
6667
6667
|
}, me = (g) => {
|
|
6668
6668
|
var P;
|
|
6669
6669
|
if (g.moved) {
|
|
6670
|
-
const
|
|
6670
|
+
const V = Bt(g, ((P = n.value) == null ? void 0 : P.phases) ?? []);
|
|
6671
6671
|
e("updateItem", {
|
|
6672
6672
|
itemType: ue.PHASES,
|
|
6673
6673
|
id: g.moved.element.id,
|
|
6674
6674
|
templateId: t.templateId,
|
|
6675
6675
|
data: {
|
|
6676
|
-
rank:
|
|
6676
|
+
rank: V
|
|
6677
6677
|
}
|
|
6678
6678
|
});
|
|
6679
6679
|
}
|
|
6680
6680
|
}, N = (g) => {
|
|
6681
|
-
!l.value || !i.value || !
|
|
6682
|
-
type: ue.
|
|
6681
|
+
!l.value || !i.value || !d.value || e("addItem", {
|
|
6682
|
+
type: ue.TASKS,
|
|
6683
6683
|
activityId: g.activityId,
|
|
6684
6684
|
milestoneId: i.value.id,
|
|
6685
6685
|
phaseId: l.value.id,
|
|
@@ -6687,19 +6687,19 @@ const E7 = {
|
|
|
6687
6687
|
item: g
|
|
6688
6688
|
});
|
|
6689
6689
|
}, x = (g) => {
|
|
6690
|
-
var P,
|
|
6691
|
-
!l.value || !i.value || !
|
|
6692
|
-
itemType: ue.
|
|
6690
|
+
var P, V, G;
|
|
6691
|
+
!l.value || !i.value || !d.value || e("updateItem", {
|
|
6692
|
+
itemType: ue.TASKS,
|
|
6693
6693
|
phaseId: (P = l.value) == null ? void 0 : P.id,
|
|
6694
|
-
milestoneId: (
|
|
6695
|
-
activityId: (G =
|
|
6694
|
+
milestoneId: (V = i.value) == null ? void 0 : V.id,
|
|
6695
|
+
activityId: (G = d.value) == null ? void 0 : G.id,
|
|
6696
6696
|
templateId: t.templateId,
|
|
6697
6697
|
data: g
|
|
6698
6698
|
});
|
|
6699
6699
|
}, S = (g) => {
|
|
6700
|
-
!l.value || !i.value || !
|
|
6701
|
-
type: ue.
|
|
6702
|
-
activityId:
|
|
6700
|
+
!l.value || !i.value || !d.value || e("removeItem", {
|
|
6701
|
+
type: ue.TASKS,
|
|
6702
|
+
activityId: d.value.id,
|
|
6703
6703
|
milestoneId: i.value.id,
|
|
6704
6704
|
phaseId: l.value.id,
|
|
6705
6705
|
templateId: t.templateId,
|
|
@@ -6711,8 +6711,8 @@ const E7 = {
|
|
|
6711
6711
|
e("removeFile", g);
|
|
6712
6712
|
};
|
|
6713
6713
|
return (g, P) => {
|
|
6714
|
-
var
|
|
6715
|
-
return n.value ? (
|
|
6714
|
+
var V, G, te, _e, Me, re;
|
|
6715
|
+
return n.value ? (c(), h("div", E7, [
|
|
6716
6716
|
$(Zt, {
|
|
6717
6717
|
"can-go-back": !0,
|
|
6718
6718
|
onGoBack: P[1] || (P[1] = (F) => g.$router.push({ name: H(dt).TEMPLATES_LIST }))
|
|
@@ -6787,24 +6787,24 @@ const E7 = {
|
|
|
6787
6787
|
}, 8, ["model-value"])
|
|
6788
6788
|
]),
|
|
6789
6789
|
r("li", N7, [
|
|
6790
|
-
l.value ? (
|
|
6790
|
+
l.value ? (c(), U(N0, {
|
|
6791
6791
|
key: 0,
|
|
6792
6792
|
"template-id": g.templateId,
|
|
6793
6793
|
phase: l.value,
|
|
6794
|
-
"milestone-id": (
|
|
6794
|
+
"milestone-id": (V = i.value) == null ? void 0 : V.id,
|
|
6795
6795
|
onAddMilestone: b,
|
|
6796
6796
|
onUpdateMilestone: D,
|
|
6797
|
-
onUpdatePhase:
|
|
6797
|
+
onUpdatePhase: E,
|
|
6798
6798
|
onRemoveMilestone: w
|
|
6799
6799
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
|
|
6800
6800
|
]),
|
|
6801
6801
|
r("li", B7, [
|
|
6802
|
-
l.value && i.value ? (
|
|
6802
|
+
l.value && i.value ? (c(), U(U0, {
|
|
6803
6803
|
key: 0,
|
|
6804
6804
|
"template-id": g.templateId,
|
|
6805
6805
|
"phase-id": (G = l.value) == null ? void 0 : G.id,
|
|
6806
6806
|
milestone: i.value,
|
|
6807
|
-
"activity-id": (te =
|
|
6807
|
+
"activity-id": (te = d.value) == null ? void 0 : te.id,
|
|
6808
6808
|
onAddActivity: X,
|
|
6809
6809
|
onUpdateActivity: p,
|
|
6810
6810
|
onRemoveActivity: ne
|
|
@@ -6812,18 +6812,18 @@ const E7 = {
|
|
|
6812
6812
|
])
|
|
6813
6813
|
])
|
|
6814
6814
|
]),
|
|
6815
|
-
(
|
|
6816
|
-
|
|
6815
|
+
(c(), U(kt, { to: "body" }, [
|
|
6816
|
+
d.value ? (c(), U(s1, {
|
|
6817
6817
|
key: 0,
|
|
6818
|
-
activity:
|
|
6819
|
-
"activity-types":
|
|
6818
|
+
activity: d.value,
|
|
6819
|
+
"activity-types": u.value,
|
|
6820
6820
|
breadcrumbs: `${n.value.name} / ${(_e = l.value) == null ? void 0 : _e.name} / ${(Me = i.value) == null ? void 0 : Me.name}`,
|
|
6821
6821
|
"milestone-id": (re = i.value) == null ? void 0 : re.id,
|
|
6822
|
-
"template-activities":
|
|
6822
|
+
"template-activities": v.value,
|
|
6823
6823
|
"template-milestones": o.value,
|
|
6824
6824
|
"is-template": !0,
|
|
6825
6825
|
"onUpdate:activity": P[2] || (P[2] = (F) => {
|
|
6826
|
-
|
|
6826
|
+
d.value && p(F);
|
|
6827
6827
|
}),
|
|
6828
6828
|
onClose: g.$router.back,
|
|
6829
6829
|
onAddSubtask: N,
|
|
@@ -6833,14 +6833,14 @@ const E7 = {
|
|
|
6833
6833
|
onRemoveFile: le
|
|
6834
6834
|
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : k("", !0)
|
|
6835
6835
|
])),
|
|
6836
|
-
(
|
|
6837
|
-
L.value ? (
|
|
6836
|
+
(c(), U(kt, { to: "body" }, [
|
|
6837
|
+
L.value ? (c(), U(L7, {
|
|
6838
6838
|
key: 0,
|
|
6839
6839
|
"template-id": n.value.id,
|
|
6840
6840
|
rules: n.value.rules || [],
|
|
6841
6841
|
"template-phases": n.value.phases,
|
|
6842
6842
|
"template-milestones": o.value,
|
|
6843
|
-
"template-activities":
|
|
6843
|
+
"template-activities": v.value,
|
|
6844
6844
|
onClose: B,
|
|
6845
6845
|
onAddRule: J,
|
|
6846
6846
|
onRemoveRule: se
|
|
@@ -6863,17 +6863,17 @@ const U7 = {
|
|
|
6863
6863
|
tagName: { default: "div" }
|
|
6864
6864
|
},
|
|
6865
6865
|
setup(a) {
|
|
6866
|
-
return (e, t) => (
|
|
6866
|
+
return (e, t) => (c(), U(Je(e.tagName), {
|
|
6867
6867
|
class: W(["ao-card", { "ao-card--clickable": e.isClickable }])
|
|
6868
6868
|
}, {
|
|
6869
6869
|
default: q(() => [
|
|
6870
|
-
e.$slots.header ? (
|
|
6870
|
+
e.$slots.header ? (c(), h("header", U7, [
|
|
6871
6871
|
K(e.$slots, "header")
|
|
6872
6872
|
])) : k("", !0),
|
|
6873
6873
|
r("div", j7, [
|
|
6874
6874
|
K(e.$slots, "default")
|
|
6875
6875
|
]),
|
|
6876
|
-
e.$slots.footer ? (
|
|
6876
|
+
e.$slots.footer ? (c(), h("footer", R7, [
|
|
6877
6877
|
K(e.$slots, "footer")
|
|
6878
6878
|
])) : k("", !0)
|
|
6879
6879
|
]),
|
|
@@ -6889,11 +6889,11 @@ const l1 = /* @__PURE__ */ Y({
|
|
|
6889
6889
|
},
|
|
6890
6890
|
setup(a) {
|
|
6891
6891
|
const e = a, t = _(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
|
|
6892
|
-
return (s, n) => (
|
|
6892
|
+
return (s, n) => (c(), h("div", {
|
|
6893
6893
|
class: W(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
|
|
6894
6894
|
role: "meter"
|
|
6895
6895
|
}, [
|
|
6896
|
-
(
|
|
6896
|
+
(c(!0), h(oe, null, he(t.value, (l) => (c(), h("div", {
|
|
6897
6897
|
key: l,
|
|
6898
6898
|
class: W(["ao-progress__progress"]),
|
|
6899
6899
|
style: ba({ width: `${l * 100}%` })
|
|
@@ -6920,10 +6920,10 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
|
|
|
6920
6920
|
var l;
|
|
6921
6921
|
return (l = e.milestones) == null ? void 0 : l.filter((i) => i.status === $7.done).length;
|
|
6922
6922
|
}), n = _(() => (s.value || 0) / (t.value || 1));
|
|
6923
|
-
return (l, i) => (
|
|
6923
|
+
return (l, i) => (c(), U(i1, { class: "ao-card-project-phase" }, {
|
|
6924
6924
|
header: q(() => [
|
|
6925
6925
|
r("div", q7, [
|
|
6926
|
-
l.projectName ? (
|
|
6926
|
+
l.projectName ? (c(), U(Et, {
|
|
6927
6927
|
key: 0,
|
|
6928
6928
|
label: l.projectName,
|
|
6929
6929
|
class: "ao-card-project-phase__project",
|
|
@@ -6941,7 +6941,7 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
|
|
|
6941
6941
|
footer: q(() => [
|
|
6942
6942
|
r("div", F7, [
|
|
6943
6943
|
r("div", z7, [
|
|
6944
|
-
t.value ? (
|
|
6944
|
+
t.value ? (c(), h(oe, { key: 0 }, [
|
|
6945
6945
|
r("div", W7, [
|
|
6946
6946
|
$(ie, {
|
|
6947
6947
|
name: "MountainFlagOutlineRounded",
|
|
@@ -6954,7 +6954,7 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
|
|
|
6954
6954
|
class: "ao-card-project-phase__progress"
|
|
6955
6955
|
}, null, 8, ["percentages"])
|
|
6956
6956
|
], 64)) : k("", !0),
|
|
6957
|
-
l.$slots.secondary ? (
|
|
6957
|
+
l.$slots.secondary ? (c(), h("div", G7, [
|
|
6958
6958
|
K(l.$slots, "secondary")
|
|
6959
6959
|
])) : k("", !0)
|
|
6960
6960
|
])
|
|
@@ -6982,11 +6982,11 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
|
|
|
6982
6982
|
}), s = _(() => {
|
|
6983
6983
|
var l;
|
|
6984
6984
|
return (l = e.activities) == null ? void 0 : l.filter((i) => {
|
|
6985
|
-
var o,
|
|
6986
|
-
return ((o = i.status) == null ? void 0 : o.id) === ((
|
|
6985
|
+
var o, v;
|
|
6986
|
+
return ((o = i.status) == null ? void 0 : o.id) === ((v = e.doneStatus) == null ? void 0 : v.id);
|
|
6987
6987
|
}).length;
|
|
6988
6988
|
}), n = _(() => (s.value || 0) / (t.value || 1));
|
|
6989
|
-
return (l, i) => (
|
|
6989
|
+
return (l, i) => (c(), U(i1, {
|
|
6990
6990
|
class: "ao-card-project-milestone",
|
|
6991
6991
|
"is-clickable": !0,
|
|
6992
6992
|
"tag-name": "li"
|
|
@@ -7000,7 +7000,7 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
|
|
|
7000
7000
|
footer: q(() => [
|
|
7001
7001
|
r("div", x7, [
|
|
7002
7002
|
r("div", X7, [
|
|
7003
|
-
t.value ? (
|
|
7003
|
+
t.value ? (c(), h(oe, { key: 0 }, [
|
|
7004
7004
|
r("div", Q7, [
|
|
7005
7005
|
$(ie, {
|
|
7006
7006
|
name: "SelectCheckBox",
|
|
@@ -7013,7 +7013,7 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
|
|
|
7013
7013
|
class: "ao-card-project-phase__progress"
|
|
7014
7014
|
}, null, 8, ["percentages"])
|
|
7015
7015
|
], 64)) : k("", !0),
|
|
7016
|
-
l.$slots.secondary ? (
|
|
7016
|
+
l.$slots.secondary ? (c(), h("div", ec, [
|
|
7017
7017
|
K(l.$slots, "secondary")
|
|
7018
7018
|
])) : k("", !0)
|
|
7019
7019
|
])
|
|
@@ -7032,10 +7032,10 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
|
|
|
7032
7032
|
emits: ["addMilestone"],
|
|
7033
7033
|
setup(a, { emit: e }) {
|
|
7034
7034
|
const t = a, { t: s } = Re(), n = _(() => t.phase.milestones), l = (i) => {
|
|
7035
|
-
const { name: o, rank:
|
|
7036
|
-
e("addMilestone", { name: o, rank:
|
|
7035
|
+
const { name: o, rank: v } = Xe(n.value ?? [], "milestone", s);
|
|
7036
|
+
e("addMilestone", { name: o, rank: v, phaseId: i });
|
|
7037
7037
|
};
|
|
7038
|
-
return (i, o) => (
|
|
7038
|
+
return (i, o) => (c(), h("li", ac, [
|
|
7039
7039
|
r("div", nc, [
|
|
7040
7040
|
$(K7, {
|
|
7041
7041
|
id: i.phase.id,
|
|
@@ -7047,15 +7047,15 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
|
|
|
7047
7047
|
r("div", sc, [
|
|
7048
7048
|
r("div", ic, [
|
|
7049
7049
|
r("ul", lc, [
|
|
7050
|
-
(
|
|
7051
|
-
id:
|
|
7052
|
-
key:
|
|
7053
|
-
name:
|
|
7054
|
-
activities:
|
|
7050
|
+
(c(!0), h(oe, null, he(n.value, (v) => (c(), U(tc, {
|
|
7051
|
+
id: v.id,
|
|
7052
|
+
key: v.id,
|
|
7053
|
+
name: v.name,
|
|
7054
|
+
activities: v.activities,
|
|
7055
7055
|
class: "ao-project-phase__milestone",
|
|
7056
|
-
onClick: (
|
|
7056
|
+
onClick: (d) => i.$router.push({
|
|
7057
7057
|
name: H(Qe).milestone,
|
|
7058
|
-
params: { phaseId: i.phase.id, milestoneId:
|
|
7058
|
+
params: { phaseId: i.phase.id, milestoneId: v.id }
|
|
7059
7059
|
})
|
|
7060
7060
|
}, null, 8, ["id", "name", "activities", "onClick"]))), 128))
|
|
7061
7061
|
]),
|
|
@@ -7101,11 +7101,11 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7101
7101
|
e("addPhase", { name: b, rank: w, projectId: t.project.id });
|
|
7102
7102
|
}, o = (b) => {
|
|
7103
7103
|
e("addMilestone", b);
|
|
7104
|
-
},
|
|
7104
|
+
}, v = (b) => {
|
|
7105
7105
|
e("addActivity", b);
|
|
7106
|
-
},
|
|
7106
|
+
}, d = (b) => {
|
|
7107
7107
|
e("update:activity", b);
|
|
7108
|
-
},
|
|
7108
|
+
}, u = (b) => {
|
|
7109
7109
|
e("addSubtask", b);
|
|
7110
7110
|
}, m = _(
|
|
7111
7111
|
() => l.value.flatMap((b) => b.activities)
|
|
@@ -7117,12 +7117,12 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7117
7117
|
e("addComment", b);
|
|
7118
7118
|
}, I = (b) => {
|
|
7119
7119
|
e("updateComment", b);
|
|
7120
|
-
},
|
|
7120
|
+
}, E = (b) => {
|
|
7121
7121
|
e("removeComment", b);
|
|
7122
7122
|
};
|
|
7123
7123
|
return (b, w) => {
|
|
7124
7124
|
const D = $a("RouterView");
|
|
7125
|
-
return
|
|
7125
|
+
return c(), h("div", uc, [
|
|
7126
7126
|
r("div", cc, [
|
|
7127
7127
|
$(Zt, null, {
|
|
7128
7128
|
primary: q(() => [
|
|
@@ -7164,7 +7164,7 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7164
7164
|
])
|
|
7165
7165
|
]),
|
|
7166
7166
|
r("ul", Cc, [
|
|
7167
|
-
(
|
|
7167
|
+
(c(!0), h(oe, null, he(b.phases, (X) => (c(), U(rc, {
|
|
7168
7168
|
key: X.id,
|
|
7169
7169
|
phase: X,
|
|
7170
7170
|
"project-name": b.project.name,
|
|
@@ -7175,23 +7175,24 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
|
|
|
7175
7175
|
]),
|
|
7176
7176
|
$(D, {
|
|
7177
7177
|
class: "ao-project__sidebar",
|
|
7178
|
-
|
|
7178
|
+
phases: b.phases,
|
|
7179
|
+
"project-id": b.project.id,
|
|
7179
7180
|
"project-name": b.project.name,
|
|
7180
7181
|
users: b.users,
|
|
7181
7182
|
onClose: w[0] || (w[0] = (X) => b.$router.push({ name: H(Qe).project })),
|
|
7182
|
-
onAddActivity:
|
|
7183
|
-
}, null, 8, ["
|
|
7184
|
-
(
|
|
7183
|
+
onAddActivity: v
|
|
7184
|
+
}, null, 8, ["phases", "project-id", "project-name", "users"]),
|
|
7185
|
+
(c(), U(kt, { to: "body" }, [
|
|
7185
7186
|
$(D, {
|
|
7186
7187
|
name: "modal",
|
|
7187
7188
|
activities: m.value,
|
|
7188
|
-
"onUpdate:activity":
|
|
7189
|
-
onAddSubtask:
|
|
7189
|
+
"onUpdate:activity": d,
|
|
7190
|
+
onAddSubtask: u,
|
|
7190
7191
|
onAddFiles: C,
|
|
7191
7192
|
onRemoveFile: y,
|
|
7192
7193
|
onAddComment: M,
|
|
7193
7194
|
onUpdateComment: I,
|
|
7194
|
-
onRemoveComment:
|
|
7195
|
+
onRemoveComment: E
|
|
7195
7196
|
}, null, 8, ["activities"])
|
|
7196
7197
|
]))
|
|
7197
7198
|
]);
|
|
@@ -7206,7 +7207,7 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7206
7207
|
class: "ao-card-feed__breadcrumbs"
|
|
7207
7208
|
}, $c = {
|
|
7208
7209
|
key: 1,
|
|
7209
|
-
class: "ao-card-
|
|
7210
|
+
class: "ao-card-feed__deadline"
|
|
7210
7211
|
}, Mc = { class: "ao-card-feed__footer" }, kc = { class: "ao-card-feed__footer-row" }, Sc = { class: "ao-assignees" }, Tc = {
|
|
7211
7212
|
key: 0,
|
|
7212
7213
|
class: "ao-assignee"
|
|
@@ -7230,13 +7231,12 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7230
7231
|
projectName: {},
|
|
7231
7232
|
phaseName: {},
|
|
7232
7233
|
milestoneName: {},
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
assignees: {},
|
|
7234
|
+
deadline: {},
|
|
7235
|
+
important: { type: Boolean },
|
|
7236
|
+
assignee: {},
|
|
7237
7237
|
comments: {},
|
|
7238
7238
|
attachments: {},
|
|
7239
|
-
|
|
7239
|
+
tasks: {}
|
|
7240
7240
|
},
|
|
7241
7241
|
emits: ["removeAssignee", "updateActivity"],
|
|
7242
7242
|
setup(a, { emit: e }) {
|
|
@@ -7245,68 +7245,62 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7245
7245
|
id: t.id,
|
|
7246
7246
|
name: m
|
|
7247
7247
|
});
|
|
7248
|
-
}, n = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => {
|
|
7249
|
-
var m;
|
|
7250
|
-
return (m = t.assignees) == null ? void 0 : m.map((C) => {
|
|
7251
|
-
var y;
|
|
7252
|
-
return (y = t.users) == null ? void 0 : y.find((M) => M.id === C);
|
|
7253
|
-
});
|
|
7254
|
-
}), i = (m) => {
|
|
7248
|
+
}, n = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => t.assignee ? [t.assignee] : []), i = (m) => {
|
|
7255
7249
|
const { firstName: C, lastName: y } = m || {};
|
|
7256
7250
|
return C && y ? `${C} ${y}` : "";
|
|
7257
7251
|
}, o = (m) => {
|
|
7258
7252
|
e("removeAssignee", m);
|
|
7259
|
-
},
|
|
7253
|
+
}, v = _(() => {
|
|
7260
7254
|
var m;
|
|
7261
|
-
return (m = t.
|
|
7262
|
-
}),
|
|
7255
|
+
return (m = t.tasks) == null ? void 0 : m.length;
|
|
7256
|
+
}), d = _(() => {
|
|
7263
7257
|
var m;
|
|
7264
|
-
return (m = t.
|
|
7265
|
-
}),
|
|
7266
|
-
return (m, C) => (
|
|
7258
|
+
return (m = t.tasks) == null ? void 0 : m.filter((C) => C.isDone).length;
|
|
7259
|
+
}), u = _(() => (d.value || 0) / (v.value || 1));
|
|
7260
|
+
return (m, C) => (c(), U(i1, {
|
|
7267
7261
|
class: "ao-card-feed",
|
|
7268
7262
|
"is-clickable": !0
|
|
7269
7263
|
}, {
|
|
7270
7264
|
header: q(() => [
|
|
7271
7265
|
r("div", gc, [
|
|
7272
|
-
m.projectName ? (
|
|
7266
|
+
m.projectName ? (c(), U(Et, {
|
|
7273
7267
|
key: 0,
|
|
7274
7268
|
label: m.projectName,
|
|
7275
7269
|
class: "ao-card-feed__project",
|
|
7276
7270
|
variant: "solid",
|
|
7277
7271
|
color: "primary"
|
|
7278
7272
|
}, null, 8, ["label"])) : k("", !0),
|
|
7279
|
-
m.
|
|
7273
|
+
m.important ? (c(), U(ie, {
|
|
7280
7274
|
key: 1,
|
|
7281
7275
|
name: "FlagRounded",
|
|
7282
7276
|
class: "ao-card-feed__important ao-card-feed__header-secondary",
|
|
7283
7277
|
size: "sm"
|
|
7284
7278
|
})) : k("", !0),
|
|
7285
|
-
m.$slots.secondary ? (
|
|
7279
|
+
m.$slots.secondary ? (c(), h("div", yc, [
|
|
7286
7280
|
K(m.$slots, "secondary")
|
|
7287
7281
|
])) : k("", !0)
|
|
7288
7282
|
])
|
|
7289
7283
|
]),
|
|
7290
7284
|
default: q(() => [
|
|
7291
7285
|
r("div", bc, [
|
|
7292
|
-
n.value ? (
|
|
7286
|
+
n.value ? (c(), h("span", wc, R(n.value), 1)) : k("", !0),
|
|
7293
7287
|
$(ve, {
|
|
7294
7288
|
title: m.name,
|
|
7295
7289
|
level: 5,
|
|
7296
7290
|
"is-editable": !0,
|
|
7297
7291
|
"onUpdate:title": s
|
|
7298
7292
|
}, null, 8, ["title"]),
|
|
7299
|
-
m.
|
|
7293
|
+
m.deadline ? (c(), h("span", $c, R(m.deadline), 1)) : k("", !0)
|
|
7300
7294
|
])
|
|
7301
7295
|
]),
|
|
7302
7296
|
footer: q(() => [
|
|
7303
7297
|
r("div", Mc, [
|
|
7304
7298
|
r("div", kc, [
|
|
7305
7299
|
r("ul", Sc, [
|
|
7306
|
-
(
|
|
7300
|
+
(c(!0), h(oe, null, he(l.value, (y) => (c(), h(oe, {
|
|
7307
7301
|
key: y.id
|
|
7308
7302
|
}, [
|
|
7309
|
-
y ? (
|
|
7303
|
+
y ? (c(), h("li", Tc, [
|
|
7310
7304
|
$(tt, {
|
|
7311
7305
|
"user-name": i(y),
|
|
7312
7306
|
"is-closable": !0,
|
|
@@ -7315,15 +7309,15 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7315
7309
|
])) : k("", !0)
|
|
7316
7310
|
], 64))), 128))
|
|
7317
7311
|
]),
|
|
7318
|
-
m.comments || m.attachments ? (
|
|
7319
|
-
m.comments ? (
|
|
7312
|
+
m.comments || m.attachments ? (c(), h("ul", Ac, [
|
|
7313
|
+
m.comments ? (c(), h("li", Ic, [
|
|
7320
7314
|
$(ie, {
|
|
7321
7315
|
name: "ChatOutline",
|
|
7322
7316
|
size: "sm"
|
|
7323
7317
|
}),
|
|
7324
7318
|
r("span", Oc, R(m.comments), 1)
|
|
7325
7319
|
])) : k("", !0),
|
|
7326
|
-
m.attachments ? (
|
|
7320
|
+
m.attachments ? (c(), h("li", Lc, [
|
|
7327
7321
|
$(ie, {
|
|
7328
7322
|
name: "AttachFileRounded",
|
|
7329
7323
|
size: "sm"
|
|
@@ -7333,16 +7327,16 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7333
7327
|
])) : k("", !0)
|
|
7334
7328
|
]),
|
|
7335
7329
|
r("div", Vc, [
|
|
7336
|
-
m.
|
|
7330
|
+
m.tasks ? (c(), h("div", Hc, [
|
|
7337
7331
|
r("div", Dc, [
|
|
7338
7332
|
$(ie, {
|
|
7339
7333
|
name: "SelectCheckBox",
|
|
7340
7334
|
size: "sm"
|
|
7341
7335
|
}),
|
|
7342
|
-
r("span", Pc, R(
|
|
7336
|
+
r("span", Pc, R(d.value) + " / " + R(v.value), 1)
|
|
7343
7337
|
]),
|
|
7344
7338
|
$(l1, {
|
|
7345
|
-
percentages:
|
|
7339
|
+
percentages: u.value,
|
|
7346
7340
|
class: "ao-card-feed__progress"
|
|
7347
7341
|
}, null, 8, ["percentages"])
|
|
7348
7342
|
])) : k("", !0)
|
|
@@ -7356,77 +7350,85 @@ const gc = { class: "ao-card-feed__header" }, yc = {
|
|
|
7356
7350
|
const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-milestone__header" }, Zc = { class: "ao-project-milestone__title" }, Uc = { class: "ao-project-milestone__body" }, jc = { class: "ao-project-milestone__activities" }, Rc = { class: "ao-project-milestone__footer" }, T1 = /* @__PURE__ */ Y({
|
|
7357
7351
|
__name: "AoProjectOverviewMilestoneDetails",
|
|
7358
7352
|
props: {
|
|
7359
|
-
phaseId: {},
|
|
7360
7353
|
milestoneId: {},
|
|
7361
7354
|
users: {},
|
|
7362
|
-
milestones: {},
|
|
7363
7355
|
projectName: {},
|
|
7364
|
-
|
|
7356
|
+
projectId: {},
|
|
7357
|
+
phases: {},
|
|
7358
|
+
phaseId: {}
|
|
7365
7359
|
},
|
|
7366
7360
|
emits: ["close", "addActivity"],
|
|
7367
7361
|
setup(a, { emit: e }) {
|
|
7368
7362
|
const t = a, { t: s } = Re(), n = _(() => {
|
|
7369
7363
|
var u;
|
|
7370
|
-
return (u = t.
|
|
7364
|
+
return (u = t.phases) == null ? void 0 : u.find((m) => m.id === t.phaseId);
|
|
7371
7365
|
}), l = _(() => {
|
|
7372
7366
|
var u;
|
|
7373
|
-
return (u =
|
|
7374
|
-
}), i = (
|
|
7367
|
+
return (u = t.phases) == null ? void 0 : u.flatMap((m) => m.milestones);
|
|
7368
|
+
}), i = _(() => {
|
|
7369
|
+
var u;
|
|
7370
|
+
return (u = l.value) == null ? void 0 : u.find((m) => m.id === t.milestoneId);
|
|
7371
|
+
}), o = _(() => {
|
|
7372
|
+
var u;
|
|
7373
|
+
return (u = i.value) == null ? void 0 : u.activities;
|
|
7374
|
+
}), v = (u) => {
|
|
7375
7375
|
e("close", u);
|
|
7376
|
-
},
|
|
7377
|
-
const { name: u, rank:
|
|
7376
|
+
}, d = () => {
|
|
7377
|
+
const { name: u, rank: m } = Xe(o.value ?? [], "activity", s);
|
|
7378
7378
|
e("addActivity", {
|
|
7379
7379
|
milestoneId: t.milestoneId,
|
|
7380
7380
|
name: u,
|
|
7381
|
-
rank:
|
|
7381
|
+
rank: m,
|
|
7382
|
+
projectId: t.projectId
|
|
7382
7383
|
});
|
|
7383
7384
|
};
|
|
7384
|
-
return (u,
|
|
7385
|
-
var
|
|
7386
|
-
return
|
|
7385
|
+
return (u, m) => {
|
|
7386
|
+
var C;
|
|
7387
|
+
return c(), h("div", Nc, [
|
|
7387
7388
|
r("header", Bc, [
|
|
7388
7389
|
r("div", Zc, [
|
|
7389
7390
|
r("span", null, R(u.$t("project.milestone.title")), 1),
|
|
7390
7391
|
$(ve, {
|
|
7391
|
-
title: ((
|
|
7392
|
+
title: ((C = i.value) == null ? void 0 : C.name) || u.milestoneId,
|
|
7392
7393
|
level: 5
|
|
7393
7394
|
}, null, 8, ["title"])
|
|
7394
7395
|
]),
|
|
7395
7396
|
$(de, {
|
|
7396
7397
|
"icon-name": "CloseRounded",
|
|
7397
7398
|
variant: "ghost",
|
|
7398
|
-
onClick:
|
|
7399
|
+
onClick: v
|
|
7399
7400
|
})
|
|
7400
7401
|
]),
|
|
7401
7402
|
r("div", Uc, [
|
|
7402
7403
|
r("ul", jc, [
|
|
7403
|
-
(
|
|
7404
|
-
var
|
|
7405
|
-
return
|
|
7406
|
-
|
|
7407
|
-
|
|
7404
|
+
(c(!0), h(oe, null, he(o.value, (y) => {
|
|
7405
|
+
var M, I, E, b;
|
|
7406
|
+
return c(), U(z1, {
|
|
7407
|
+
id: y.id,
|
|
7408
|
+
key: y.id,
|
|
7409
|
+
name: y.name || y.id,
|
|
7408
7410
|
"project-name": u.projectName,
|
|
7409
|
-
"phase-name":
|
|
7410
|
-
"milestone-name": (
|
|
7411
|
-
|
|
7412
|
-
|
|
7411
|
+
"phase-name": (M = n.value) == null ? void 0 : M.name,
|
|
7412
|
+
"milestone-name": (I = i.value) == null ? void 0 : I.name,
|
|
7413
|
+
deadline: y.deadline,
|
|
7414
|
+
important: y.important,
|
|
7413
7415
|
users: u.users,
|
|
7414
|
-
|
|
7415
|
-
comments: (
|
|
7416
|
-
attachments: (
|
|
7417
|
-
|
|
7418
|
-
onClick: (
|
|
7416
|
+
assignee: y.assignee,
|
|
7417
|
+
comments: (E = y.comments) == null ? void 0 : E.length,
|
|
7418
|
+
attachments: (b = y.attachments) == null ? void 0 : b.length,
|
|
7419
|
+
tasks: y.tasks,
|
|
7420
|
+
onClick: (w) => u.$router.push({
|
|
7419
7421
|
name: H(Qe).activity,
|
|
7420
|
-
params: { milestoneId: u.milestoneId, activityId:
|
|
7422
|
+
params: { milestoneId: u.milestoneId, activityId: y.id }
|
|
7421
7423
|
})
|
|
7422
|
-
}, null, 8, ["name", "project-name", "phase-name", "milestone-name", "
|
|
7424
|
+
}, null, 8, ["id", "name", "project-name", "phase-name", "milestone-name", "deadline", "important", "users", "assignee", "comments", "attachments", "tasks", "onClick"]);
|
|
7423
7425
|
}), 128))
|
|
7424
7426
|
]),
|
|
7425
7427
|
r("div", Rc, [
|
|
7426
7428
|
$(je, {
|
|
7427
7429
|
"icon-name": "Add",
|
|
7428
7430
|
label: u.$t("project.activity.add"),
|
|
7429
|
-
onClick:
|
|
7431
|
+
onClick: d
|
|
7430
7432
|
}, null, 8, ["label"])
|
|
7431
7433
|
])
|
|
7432
7434
|
])
|
|
@@ -7451,13 +7453,13 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
|
|
|
7451
7453
|
const t = a, s = _(() => {
|
|
7452
7454
|
const M = t.user;
|
|
7453
7455
|
return M ? `${M == null ? void 0 : M.firstName} ${M == null ? void 0 : M.lastName}` : null;
|
|
7454
|
-
}), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard:
|
|
7456
|
+
}), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard: v } = I1(n), d = _(() => $1(t.createdAt)), u = _(() => $1(t.editedAt)), m = v(), C = o((M) => {
|
|
7455
7457
|
e("edit", M);
|
|
7456
7458
|
}), y = () => {
|
|
7457
7459
|
e("remove");
|
|
7458
7460
|
};
|
|
7459
|
-
return (M, I) => (
|
|
7460
|
-
s.value ? (
|
|
7461
|
+
return (M, I) => (c(), h("li", qc, [
|
|
7462
|
+
s.value ? (c(), U(tt, {
|
|
7461
7463
|
key: 0,
|
|
7462
7464
|
"user-name": s.value,
|
|
7463
7465
|
class: "ao-comment__avatar"
|
|
@@ -7469,10 +7471,10 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
|
|
|
7469
7471
|
class: "ao-comment__content",
|
|
7470
7472
|
contenteditable: H(l)
|
|
7471
7473
|
}, R(M.content), 9, zc),
|
|
7472
|
-
r("span", Wc, R(
|
|
7474
|
+
r("span", Wc, R(u.value || d.value), 1)
|
|
7473
7475
|
]),
|
|
7474
|
-
M.isEditable ? (
|
|
7475
|
-
H(l) ? (
|
|
7476
|
+
M.isEditable ? (c(), h("div", Yc, [
|
|
7477
|
+
H(l) ? (c(), h(oe, { key: 0 }, [
|
|
7476
7478
|
$(de, {
|
|
7477
7479
|
"icon-name": "CloseRounded",
|
|
7478
7480
|
size: "sm",
|
|
@@ -7487,7 +7489,7 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
|
|
|
7487
7489
|
color: "neutral",
|
|
7488
7490
|
onClick: H(C)
|
|
7489
7491
|
}, null, 8, ["onClick"])
|
|
7490
|
-
], 64)) : (
|
|
7492
|
+
], 64)) : (c(), h(oe, { key: 1 }, [
|
|
7491
7493
|
$(de, {
|
|
7492
7494
|
label: M.$t("activity.comment.delete"),
|
|
7493
7495
|
size: "sm",
|
|
@@ -7520,38 +7522,38 @@ const Kc = { class: "ao-comments" }, xc = {
|
|
|
7520
7522
|
},
|
|
7521
7523
|
emits: ["createComment", "updateComment", "removeComment"],
|
|
7522
7524
|
setup(a, { emit: e }) {
|
|
7523
|
-
const t = a, s = (
|
|
7525
|
+
const t = a, s = (d) => t.users.find((m) => m.id === d), n = ct(t.newComment || ""), l = _({
|
|
7524
7526
|
get() {
|
|
7525
7527
|
return n.value;
|
|
7526
7528
|
},
|
|
7527
|
-
set(
|
|
7528
|
-
n.value =
|
|
7529
|
+
set(d) {
|
|
7530
|
+
n.value = d;
|
|
7529
7531
|
}
|
|
7530
7532
|
}), i = () => {
|
|
7531
|
-
const
|
|
7532
|
-
|
|
7533
|
-
}, o = (
|
|
7533
|
+
const d = n.value.trim();
|
|
7534
|
+
d && (e("createComment", { authorId: t.userId, message: d }), n.value = "");
|
|
7535
|
+
}, o = (d, u) => {
|
|
7534
7536
|
e("updateComment", {
|
|
7535
|
-
id:
|
|
7536
|
-
message:
|
|
7537
|
+
id: d,
|
|
7538
|
+
message: u
|
|
7537
7539
|
});
|
|
7538
|
-
},
|
|
7539
|
-
e("removeComment", { id:
|
|
7540
|
+
}, v = (d) => {
|
|
7541
|
+
e("removeComment", { id: d });
|
|
7540
7542
|
};
|
|
7541
|
-
return (
|
|
7543
|
+
return (d, u) => {
|
|
7542
7544
|
var m;
|
|
7543
|
-
return
|
|
7544
|
-
((m =
|
|
7545
|
-
(
|
|
7545
|
+
return c(), h("div", Kc, [
|
|
7546
|
+
((m = d.comments) == null ? void 0 : m.length) > 0 ? (c(), h("ul", xc, [
|
|
7547
|
+
(c(!0), h(oe, null, he(d.comments, (C) => (c(), U(Gc, {
|
|
7546
7548
|
key: C.id,
|
|
7547
7549
|
user: s(C.author.id),
|
|
7548
7550
|
content: C.message,
|
|
7549
7551
|
"created-at": C.createdAt,
|
|
7550
7552
|
"edited-at": C.updatedAt,
|
|
7551
|
-
"is-editable": C.author.id ===
|
|
7553
|
+
"is-editable": C.author.id === d.userId,
|
|
7552
7554
|
class: "ao-comment",
|
|
7553
7555
|
onEdit: (y) => o(C.id, y),
|
|
7554
|
-
onRemove: () =>
|
|
7556
|
+
onRemove: () => v(C.id)
|
|
7555
7557
|
}, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
|
|
7556
7558
|
])) : k("", !0),
|
|
7557
7559
|
r("div", Xc, [
|
|
@@ -7560,9 +7562,9 @@ const Kc = { class: "ao-comments" }, xc = {
|
|
|
7560
7562
|
onSubmit: ke(i, ["prevent"])
|
|
7561
7563
|
}, [
|
|
7562
7564
|
r("label", Jc, [
|
|
7563
|
-
r("span", ed, R(
|
|
7565
|
+
r("span", ed, R(d.$t("activity.comment.label")), 1),
|
|
7564
7566
|
xe(r("textarea", {
|
|
7565
|
-
"onUpdate:modelValue":
|
|
7567
|
+
"onUpdate:modelValue": u[0] || (u[0] = (C) => l.value = C),
|
|
7566
7568
|
rows: "4",
|
|
7567
7569
|
class: "ao-field__textarea"
|
|
7568
7570
|
}, null, 512), [
|
|
@@ -7580,7 +7582,7 @@ const Kc = { class: "ao-comments" }, xc = {
|
|
|
7580
7582
|
"icon-name": "SendRounded",
|
|
7581
7583
|
color: "primary",
|
|
7582
7584
|
variant: "solid",
|
|
7583
|
-
label:
|
|
7585
|
+
label: d.$t("activity.comment.submit")
|
|
7584
7586
|
}, null, 8, ["label"])
|
|
7585
7587
|
])
|
|
7586
7588
|
], 40, Qc)
|
|
@@ -7623,25 +7625,25 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7623
7625
|
milestoneId: t.milestoneId
|
|
7624
7626
|
}
|
|
7625
7627
|
});
|
|
7626
|
-
},
|
|
7628
|
+
}, v = (C) => {
|
|
7627
7629
|
e("addSubtask", {
|
|
7628
7630
|
...C,
|
|
7629
7631
|
milestoneId: t.milestoneId,
|
|
7630
7632
|
phaseId: t.phaseId
|
|
7631
7633
|
});
|
|
7632
|
-
},
|
|
7634
|
+
}, d = (C) => {
|
|
7633
7635
|
l.value && e("addComment", {
|
|
7634
7636
|
activityId: l.value.id,
|
|
7635
7637
|
comment: C
|
|
7636
7638
|
});
|
|
7637
|
-
},
|
|
7639
|
+
}, u = (C) => {
|
|
7638
7640
|
const { id: y } = l.value || {};
|
|
7639
7641
|
y && e("updateComment", { ...C, activityId: y });
|
|
7640
7642
|
}, m = (C) => {
|
|
7641
7643
|
const { id: y } = l.value || {};
|
|
7642
7644
|
y && e("removeComment", { id: C, activityId: y });
|
|
7643
7645
|
};
|
|
7644
|
-
return (C, y) => l.value ? (
|
|
7646
|
+
return (C, y) => l.value ? (c(), U(s1, {
|
|
7645
7647
|
key: 0,
|
|
7646
7648
|
activity: l.value,
|
|
7647
7649
|
"activity-types": i.value,
|
|
@@ -7655,7 +7657,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7655
7657
|
...M
|
|
7656
7658
|
});
|
|
7657
7659
|
}),
|
|
7658
|
-
onAddSubtask:
|
|
7660
|
+
onAddSubtask: v
|
|
7659
7661
|
}, {
|
|
7660
7662
|
default: q(() => [
|
|
7661
7663
|
r("fieldset", ad, [
|
|
@@ -7670,8 +7672,8 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7670
7672
|
comments: l.value.comments,
|
|
7671
7673
|
users: H(s),
|
|
7672
7674
|
"user-id": H(n),
|
|
7673
|
-
onCreateComment:
|
|
7674
|
-
onUpdateComment:
|
|
7675
|
+
onCreateComment: d,
|
|
7676
|
+
onUpdateComment: u,
|
|
7675
7677
|
onRemoveComment: m
|
|
7676
7678
|
}, null, 8, ["comments", "users", "user-id"])
|
|
7677
7679
|
])
|
|
@@ -7745,34 +7747,34 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7745
7747
|
setup(a, { emit: e }) {
|
|
7746
7748
|
const t = a, { t: s } = Re(), n = () => {
|
|
7747
7749
|
var m, C;
|
|
7748
|
-
const o = (m = t.templates) == null ? void 0 : m.at(-1),
|
|
7749
|
-
name: s("template.defaultName.template", { idx:
|
|
7750
|
-
rank:
|
|
7750
|
+
const o = (m = t.templates) == null ? void 0 : m.at(-1), v = o ? we.LexoRank.parse(o.rank).genNext() : we.LexoRank.middle(), d = ((C = t.templates) == null ? void 0 : C.length) ?? 0, u = {
|
|
7751
|
+
name: s("template.defaultName.template", { idx: d + 1 }),
|
|
7752
|
+
rank: v.format()
|
|
7751
7753
|
};
|
|
7752
|
-
e("addTemplate",
|
|
7753
|
-
}, l = (o,
|
|
7754
|
+
e("addTemplate", u);
|
|
7755
|
+
}, l = (o, v) => {
|
|
7754
7756
|
e("updateItem", {
|
|
7755
7757
|
itemType: ue.TEMPLATES,
|
|
7756
7758
|
id: o,
|
|
7757
7759
|
templateId: o,
|
|
7758
7760
|
data: {
|
|
7759
|
-
name:
|
|
7761
|
+
name: v
|
|
7760
7762
|
}
|
|
7761
7763
|
});
|
|
7762
7764
|
}, i = (o) => {
|
|
7763
7765
|
if (o.moved) {
|
|
7764
|
-
const
|
|
7766
|
+
const v = Bt(o, t.templates ?? []);
|
|
7765
7767
|
e("updateItem", {
|
|
7766
7768
|
itemType: ue.TEMPLATES,
|
|
7767
7769
|
id: o.moved.element.id,
|
|
7768
7770
|
templateId: o.moved.element.id,
|
|
7769
7771
|
data: {
|
|
7770
|
-
rank:
|
|
7772
|
+
rank: v
|
|
7771
7773
|
}
|
|
7772
7774
|
});
|
|
7773
7775
|
}
|
|
7774
7776
|
};
|
|
7775
|
-
return (o,
|
|
7777
|
+
return (o, v) => (c(), h("div", id, [
|
|
7776
7778
|
$(Zt, null, {
|
|
7777
7779
|
secondary: q(() => [
|
|
7778
7780
|
$(de, {
|
|
@@ -7792,20 +7794,20 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
|
|
|
7792
7794
|
handle: ".ao-card__drag",
|
|
7793
7795
|
onChange: i
|
|
7794
7796
|
}, {
|
|
7795
|
-
item: q(({ element:
|
|
7796
|
-
var
|
|
7797
|
+
item: q(({ element: d }) => {
|
|
7798
|
+
var u;
|
|
7797
7799
|
return [
|
|
7798
7800
|
$(M0, {
|
|
7799
|
-
title:
|
|
7800
|
-
phases:
|
|
7801
|
-
milestones: (
|
|
7802
|
-
activities:
|
|
7803
|
-
"updated-at":
|
|
7804
|
-
"updated-by":
|
|
7805
|
-
onUpdateTitle: (m) => l(
|
|
7801
|
+
title: d.name || d.id,
|
|
7802
|
+
phases: d.phases,
|
|
7803
|
+
milestones: (u = d.phases) != null && u.length ? H(e0)(d.phases) : 0,
|
|
7804
|
+
activities: d.phases ? H(t0)(d.phases) : 0,
|
|
7805
|
+
"updated-at": d.updatedAt,
|
|
7806
|
+
"updated-by": d.updatedBy,
|
|
7807
|
+
onUpdateTitle: (m) => l(d.id, m),
|
|
7806
7808
|
onClick: (m) => o.$router.push({
|
|
7807
7809
|
name: H(dt).TEMPLATE_DETAILS,
|
|
7808
|
-
params: { templateId:
|
|
7810
|
+
params: { templateId: d.id }
|
|
7809
7811
|
})
|
|
7810
7812
|
}, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
|
|
7811
7813
|
];
|
|
@@ -7822,13 +7824,13 @@ const od = { class: "ao-col-header" }, rd = /* @__PURE__ */ Y({
|
|
|
7822
7824
|
items: {}
|
|
7823
7825
|
},
|
|
7824
7826
|
setup(a) {
|
|
7825
|
-
return (e, t) => (
|
|
7827
|
+
return (e, t) => (c(), h("header", od, [
|
|
7826
7828
|
$(ve, {
|
|
7827
7829
|
title: e.title,
|
|
7828
7830
|
class: "ao-col-header__title",
|
|
7829
7831
|
level: 4
|
|
7830
7832
|
}, null, 8, ["title"]),
|
|
7831
|
-
e.items ? (
|
|
7833
|
+
e.items ? (c(), U(Et, {
|
|
7832
7834
|
key: 0,
|
|
7833
7835
|
label: e.items,
|
|
7834
7836
|
class: "ao-col-header__items",
|
|
@@ -7860,13 +7862,13 @@ function md(a, e = {}) {
|
|
|
7860
7862
|
clearTimeout(o), n(), n = vt;
|
|
7861
7863
|
};
|
|
7862
7864
|
return (o) => {
|
|
7863
|
-
const
|
|
7864
|
-
return t && l(t),
|
|
7865
|
-
n = e.rejectOnCancel ? m :
|
|
7866
|
-
t && l(t), s = null,
|
|
7867
|
-
},
|
|
7868
|
-
s && l(s), s = null,
|
|
7869
|
-
},
|
|
7865
|
+
const v = It(a), d = It(e.maxWait);
|
|
7866
|
+
return t && l(t), v <= 0 || d !== void 0 && d <= 0 ? (s && (l(s), s = null), Promise.resolve(o())) : new Promise((u, m) => {
|
|
7867
|
+
n = e.rejectOnCancel ? m : u, d && !s && (s = setTimeout(() => {
|
|
7868
|
+
t && l(t), s = null, u(o());
|
|
7869
|
+
}, d)), t = setTimeout(() => {
|
|
7870
|
+
s && l(s), s = null, u(o());
|
|
7871
|
+
}, v);
|
|
7870
7872
|
});
|
|
7871
7873
|
};
|
|
7872
7874
|
}
|
|
@@ -7899,17 +7901,17 @@ function _d(a, e, t = {}) {
|
|
|
7899
7901
|
threshold: l = 0.1,
|
|
7900
7902
|
window: i = hd,
|
|
7901
7903
|
immediate: o = !0
|
|
7902
|
-
} = t,
|
|
7904
|
+
} = t, v = Cd(() => i && "IntersectionObserver" in i), d = _(() => {
|
|
7903
7905
|
const M = It(a);
|
|
7904
7906
|
return (Array.isArray(M) ? M : [M]).map(Qt).filter(dd);
|
|
7905
7907
|
});
|
|
7906
|
-
let
|
|
7907
|
-
const m = ee(o), C =
|
|
7908
|
-
() => [
|
|
7908
|
+
let u = vt;
|
|
7909
|
+
const m = ee(o), C = v.value ? fe(
|
|
7910
|
+
() => [d.value, Qt(s), m.value],
|
|
7909
7911
|
([M, I]) => {
|
|
7910
|
-
if (
|
|
7912
|
+
if (u(), !m.value || !M.length)
|
|
7911
7913
|
return;
|
|
7912
|
-
const
|
|
7914
|
+
const E = new IntersectionObserver(
|
|
7913
7915
|
e,
|
|
7914
7916
|
{
|
|
7915
7917
|
root: Qt(I),
|
|
@@ -7917,19 +7919,19 @@ function _d(a, e, t = {}) {
|
|
|
7917
7919
|
threshold: l
|
|
7918
7920
|
}
|
|
7919
7921
|
);
|
|
7920
|
-
M.forEach((b) => b &&
|
|
7921
|
-
|
|
7922
|
+
M.forEach((b) => b && E.observe(b)), u = () => {
|
|
7923
|
+
E.disconnect(), u = vt;
|
|
7922
7924
|
};
|
|
7923
7925
|
},
|
|
7924
7926
|
{ immediate: o, flush: "post" }
|
|
7925
7927
|
) : vt, y = () => {
|
|
7926
|
-
|
|
7928
|
+
u(), C(), m.value = !1;
|
|
7927
7929
|
};
|
|
7928
7930
|
return ud(y), {
|
|
7929
|
-
isSupported:
|
|
7931
|
+
isSupported: v,
|
|
7930
7932
|
isActive: m,
|
|
7931
7933
|
pause() {
|
|
7932
|
-
|
|
7934
|
+
u(), m.value = !1;
|
|
7933
7935
|
},
|
|
7934
7936
|
resume() {
|
|
7935
7937
|
m.value = !0;
|
|
@@ -7969,71 +7971,71 @@ const gd = {
|
|
|
7969
7971
|
emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
|
|
7970
7972
|
setup(a, { emit: e }) {
|
|
7971
7973
|
const t = a, s = ee(!1), n = ee(null);
|
|
7972
|
-
_d(n, ([{ isIntersecting:
|
|
7973
|
-
s.value =
|
|
7974
|
-
}), fe(s, (
|
|
7975
|
-
|
|
7974
|
+
_d(n, ([{ isIntersecting: v }]) => {
|
|
7975
|
+
s.value = v;
|
|
7976
|
+
}), fe(s, (v) => {
|
|
7977
|
+
v && t.hasMore && !t.isLoading && e("loadMore");
|
|
7976
7978
|
});
|
|
7977
|
-
const l = (
|
|
7978
|
-
e("selectActivity",
|
|
7979
|
-
}, i = (
|
|
7980
|
-
e("updateActivity",
|
|
7981
|
-
}, o = (
|
|
7982
|
-
"added" in
|
|
7983
|
-
id:
|
|
7979
|
+
const l = (v) => {
|
|
7980
|
+
e("selectActivity", v);
|
|
7981
|
+
}, i = (v) => {
|
|
7982
|
+
e("updateActivity", v);
|
|
7983
|
+
}, o = (v) => {
|
|
7984
|
+
"added" in v ? e("updateActivity", {
|
|
7985
|
+
id: v.added.element.id,
|
|
7984
7986
|
statusId: t.status.id,
|
|
7985
|
-
rank: Jt(t.list, 0,
|
|
7986
|
-
}) : "removed" in
|
|
7987
|
-
id:
|
|
7987
|
+
rank: Jt(t.list, 0, v.added.newIndex)
|
|
7988
|
+
}) : "removed" in v || "moved" in v && e("updateActivity", {
|
|
7989
|
+
id: v.moved.element.id,
|
|
7988
7990
|
rank: Jt(
|
|
7989
7991
|
t.list,
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
+
v.moved.oldIndex,
|
|
7993
|
+
v.moved.newIndex
|
|
7992
7994
|
)
|
|
7993
7995
|
});
|
|
7994
7996
|
};
|
|
7995
|
-
return (
|
|
7996
|
-
|
|
7997
|
-
var
|
|
7997
|
+
return (v, d) => (c(), h("div", gd, [
|
|
7998
|
+
v.title || v.$slots.header ? K(v.$slots, "header", { key: 0 }, () => {
|
|
7999
|
+
var u;
|
|
7998
8000
|
return [
|
|
7999
8001
|
r("div", yd, [
|
|
8000
|
-
|
|
8002
|
+
v.title ? (c(), U(rd, {
|
|
8001
8003
|
key: 0,
|
|
8002
|
-
title:
|
|
8004
|
+
title: v.title,
|
|
8003
8005
|
level: 3,
|
|
8004
|
-
items: (
|
|
8006
|
+
items: (u = v.list) == null ? void 0 : u.length
|
|
8005
8007
|
}, null, 8, ["title", "items"])) : k("", !0)
|
|
8006
8008
|
])
|
|
8007
8009
|
];
|
|
8008
8010
|
}) : k("", !0),
|
|
8009
8011
|
$(H(ht), Pe({
|
|
8010
8012
|
class: "ao-list-kanban__list",
|
|
8011
|
-
list:
|
|
8013
|
+
list: v.list,
|
|
8012
8014
|
"item-key": "id",
|
|
8013
8015
|
group: "kanban"
|
|
8014
|
-
},
|
|
8015
|
-
item: q(({ element:
|
|
8016
|
-
var m, C, y, M, I,
|
|
8016
|
+
}, v.$attrs, { onChange: o }), {
|
|
8017
|
+
item: q(({ element: u }) => {
|
|
8018
|
+
var m, C, y, M, I, E, b;
|
|
8017
8019
|
return [
|
|
8018
8020
|
$(z1, {
|
|
8019
|
-
id:
|
|
8020
|
-
name:
|
|
8021
|
-
"project-name": (m =
|
|
8022
|
-
"phase-name": (y = (C =
|
|
8023
|
-
"milestone-name": (M =
|
|
8024
|
-
|
|
8025
|
-
rules: ((I =
|
|
8026
|
-
|
|
8027
|
-
description:
|
|
8028
|
-
|
|
8029
|
-
type:
|
|
8030
|
-
comments: (
|
|
8031
|
-
attachments: (b =
|
|
8032
|
-
users:
|
|
8033
|
-
|
|
8034
|
-
onClick: () => l(
|
|
8021
|
+
id: u.id,
|
|
8022
|
+
name: u.name,
|
|
8023
|
+
"project-name": (m = u.project) == null ? void 0 : m.name,
|
|
8024
|
+
"phase-name": (y = (C = u.milestone) == null ? void 0 : C.phase) == null ? void 0 : y.name,
|
|
8025
|
+
"milestone-name": (M = u.milestone) == null ? void 0 : M.name,
|
|
8026
|
+
deadline: u.deadline,
|
|
8027
|
+
rules: ((I = u.rules) == null ? void 0 : I.length) || 0,
|
|
8028
|
+
tasks: u.tasks,
|
|
8029
|
+
description: u.description,
|
|
8030
|
+
important: u.important,
|
|
8031
|
+
type: u.type,
|
|
8032
|
+
comments: (E = u.comments) == null ? void 0 : E.length,
|
|
8033
|
+
attachments: (b = u.attachments) == null ? void 0 : b.length,
|
|
8034
|
+
users: v.users,
|
|
8035
|
+
assignee: u.assignee,
|
|
8036
|
+
onClick: () => l(u.id),
|
|
8035
8037
|
onUpdateActivity: i,
|
|
8036
|
-
onRemoveAssignee: () => i({ id:
|
|
8038
|
+
onRemoveAssignee: () => i({ id: u.id, assigneeId: null })
|
|
8037
8039
|
}, {
|
|
8038
8040
|
secondary: q(() => [
|
|
8039
8041
|
$(de, {
|
|
@@ -8042,33 +8044,33 @@ const gd = {
|
|
|
8042
8044
|
"icon-name": "ArchiveOutlineRounded",
|
|
8043
8045
|
size: "sm",
|
|
8044
8046
|
corners: "round",
|
|
8045
|
-
onClick: ke(() =>
|
|
8047
|
+
onClick: ke(() => v.$emit("archiveActivity", u.id), ["stop"])
|
|
8046
8048
|
}, null, 8, ["onClick"])
|
|
8047
8049
|
]),
|
|
8048
8050
|
_: 2
|
|
8049
|
-
}, 1032, ["id", "name", "project-name", "phase-name", "milestone-name", "
|
|
8051
|
+
}, 1032, ["id", "name", "project-name", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "onClick", "onRemoveAssignee"])
|
|
8050
8052
|
];
|
|
8051
8053
|
}),
|
|
8052
8054
|
footer: q(() => [
|
|
8053
|
-
|
|
8055
|
+
v.isLoading ? (c(), h("div", bd, [
|
|
8054
8056
|
$(ie, { name: "Loading" })
|
|
8055
|
-
])) :
|
|
8057
|
+
])) : v.hasMore ? (c(), h("div", {
|
|
8056
8058
|
key: 2,
|
|
8057
8059
|
ref_key: "scrollEnd",
|
|
8058
8060
|
ref: n,
|
|
8059
8061
|
class: "ao-list-kanban__end"
|
|
8060
|
-
}, null, 512)) : (
|
|
8061
|
-
|
|
8062
|
+
}, null, 512)) : (c(), h("div", wd, [
|
|
8063
|
+
v.noMoreLabel ? (c(), h("span", $d, R(v.noMoreLabel), 1)) : (c(), h("span", Md))
|
|
8062
8064
|
]))
|
|
8063
8065
|
]),
|
|
8064
8066
|
_: 1
|
|
8065
8067
|
}, 16, ["list"]),
|
|
8066
|
-
|
|
8067
|
-
K(
|
|
8068
|
+
v.$slots.footer || v.footerLabel ? (c(), h("div", kd, [
|
|
8069
|
+
K(v.$slots, "footer", {}, () => [
|
|
8068
8070
|
$(je, {
|
|
8069
8071
|
"icon-name": "AddBoxOutlineRounded",
|
|
8070
|
-
label:
|
|
8071
|
-
onClick:
|
|
8072
|
+
label: v.footerLabel,
|
|
8073
|
+
onClick: d[0] || (d[0] = (u) => v.$emit("add"))
|
|
8072
8074
|
}, null, 8, ["label"])
|
|
8073
8075
|
])
|
|
8074
8076
|
])) : k("", !0)
|
|
@@ -8085,19 +8087,19 @@ const Td = { class: "ao-field ao-search-field" }, Ad = ["value", "placeholder",
|
|
|
8085
8087
|
emits: ["update:modelValue", "clear"],
|
|
8086
8088
|
setup(a, { emit: e }) {
|
|
8087
8089
|
const t = a, s = async (i) => {
|
|
8088
|
-
const
|
|
8089
|
-
e("update:modelValue",
|
|
8090
|
+
const v = i.target.value;
|
|
8091
|
+
e("update:modelValue", v, i);
|
|
8090
8092
|
}, n = fd(s, t.delay), l = (i) => {
|
|
8091
8093
|
e("clear", i);
|
|
8092
8094
|
};
|
|
8093
|
-
return (i, o) => (
|
|
8095
|
+
return (i, o) => (c(), h("div", Td, [
|
|
8094
8096
|
r("input", {
|
|
8095
8097
|
value: i.modelValue,
|
|
8096
8098
|
type: "text",
|
|
8097
8099
|
class: "ao-field__input ao-search-field__input",
|
|
8098
8100
|
placeholder: i.placeholder,
|
|
8099
8101
|
onInput: o[0] || (o[0] = //@ts-ignore
|
|
8100
|
-
(...
|
|
8102
|
+
(...v) => H(n) && H(n)(...v)),
|
|
8101
8103
|
onKeypress: mt(s, ["enter"])
|
|
8102
8104
|
}, null, 40, Ad),
|
|
8103
8105
|
$(ie, {
|
|
@@ -8161,17 +8163,17 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8161
8163
|
},
|
|
8162
8164
|
{ immediate: !0 }
|
|
8163
8165
|
);
|
|
8164
|
-
const
|
|
8165
|
-
var
|
|
8166
|
-
const j = (
|
|
8166
|
+
const v = (S) => {
|
|
8167
|
+
var V, G;
|
|
8168
|
+
const j = (V = t.activities) == null ? void 0 : V.at(-1), le = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, P = {
|
|
8167
8169
|
name: s("activity.defaultName", { idx: g + 1 }),
|
|
8168
8170
|
rank: le.format(),
|
|
8169
8171
|
statusId: S.id
|
|
8170
8172
|
};
|
|
8171
8173
|
e("addActivity", P);
|
|
8172
|
-
},
|
|
8174
|
+
}, d = (S, j) => {
|
|
8173
8175
|
e("update:filters", { ...t.filters, [S]: j });
|
|
8174
|
-
},
|
|
8176
|
+
}, u = _(() => t.projects.map((S) => ({
|
|
8175
8177
|
value: S.id,
|
|
8176
8178
|
label: S.name
|
|
8177
8179
|
}))), m = _(() => t.activityTypes.map((S) => ({
|
|
@@ -8184,7 +8186,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8184
8186
|
i.value && e("update:activity", S);
|
|
8185
8187
|
}, M = (S) => {
|
|
8186
8188
|
e("update:activity", S);
|
|
8187
|
-
}, I = ee(null),
|
|
8189
|
+
}, I = ee(null), E = (S) => {
|
|
8188
8190
|
i.value && e("update:activity", {
|
|
8189
8191
|
id: i.value.id,
|
|
8190
8192
|
name: S
|
|
@@ -8236,7 +8238,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8236
8238
|
};
|
|
8237
8239
|
return (S, j) => {
|
|
8238
8240
|
var le;
|
|
8239
|
-
return
|
|
8241
|
+
return c(), h("div", Vd, [
|
|
8240
8242
|
$(Zt, null, {
|
|
8241
8243
|
primary: q(() => [
|
|
8242
8244
|
$(Id, {
|
|
@@ -8249,12 +8251,12 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8249
8251
|
$(H(pe), {
|
|
8250
8252
|
"model-value": S.filters[H(Ke).project],
|
|
8251
8253
|
mode: "tags",
|
|
8252
|
-
options:
|
|
8254
|
+
options: u.value,
|
|
8253
8255
|
"close-on-select": !1,
|
|
8254
8256
|
searchable: !0,
|
|
8255
8257
|
class: "ao-feed__filter",
|
|
8256
8258
|
placeholder: S.$t("feed.filters.project.placeholder"),
|
|
8257
|
-
"onUpdate:modelValue": j[1] || (j[1] = (g) =>
|
|
8259
|
+
"onUpdate:modelValue": j[1] || (j[1] = (g) => d(H(Ke).project, g))
|
|
8258
8260
|
}, null, 8, ["model-value", "options", "placeholder"]),
|
|
8259
8261
|
$(H(pe), {
|
|
8260
8262
|
"model-value": S.filters[H(Ke).type],
|
|
@@ -8264,7 +8266,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8264
8266
|
searchable: !0,
|
|
8265
8267
|
class: "ao-feed__filter",
|
|
8266
8268
|
placeholder: S.$t("feed.filters.activityType.placeholder"),
|
|
8267
|
-
"onUpdate:modelValue": j[2] || (j[2] = (g) =>
|
|
8269
|
+
"onUpdate:modelValue": j[2] || (j[2] = (g) => d(H(Ke).type, g))
|
|
8268
8270
|
}, null, 8, ["model-value", "options", "placeholder"]),
|
|
8269
8271
|
$(H(pe), {
|
|
8270
8272
|
"model-value": S.filters[H(Ke).assignee],
|
|
@@ -8274,13 +8276,13 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8274
8276
|
searchable: !0,
|
|
8275
8277
|
class: "ao-feed__filter",
|
|
8276
8278
|
placeholder: S.$t("feed.filters.assignee.placeholder"),
|
|
8277
|
-
"onUpdate:modelValue": j[3] || (j[3] = (g) =>
|
|
8279
|
+
"onUpdate:modelValue": j[3] || (j[3] = (g) => d(H(Ke).assignee, g))
|
|
8278
8280
|
}, {
|
|
8279
8281
|
tag: q(({ option: g, handleTagRemove: P }) => [
|
|
8280
8282
|
$(tt, {
|
|
8281
8283
|
"user-name": g.label,
|
|
8282
8284
|
"is-closable": !0,
|
|
8283
|
-
onClose: (
|
|
8285
|
+
onClose: (V) => P(g, V)
|
|
8284
8286
|
}, null, 8, ["user-name", "onClose"])
|
|
8285
8287
|
]),
|
|
8286
8288
|
_: 1
|
|
@@ -8290,21 +8292,21 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8290
8292
|
_: 1
|
|
8291
8293
|
}),
|
|
8292
8294
|
r("div", Dd, [
|
|
8293
|
-
(
|
|
8295
|
+
(c(!0), h(oe, null, he(S.statuses, (g) => (c(), U(Sd, {
|
|
8294
8296
|
key: g.id,
|
|
8295
8297
|
status: g,
|
|
8296
8298
|
list: o.value[g.id],
|
|
8297
8299
|
title: g.name,
|
|
8298
8300
|
"footer-label": S.$t("feed.activity.add"),
|
|
8299
8301
|
users: S.users,
|
|
8300
|
-
onAdd: () =>
|
|
8302
|
+
onAdd: () => v(g),
|
|
8301
8303
|
onSelectActivity: H(l),
|
|
8302
8304
|
onArchiveActivity: b,
|
|
8303
8305
|
onUpdateActivity: M
|
|
8304
8306
|
}, null, 8, ["status", "list", "title", "footer-label", "users", "onAdd", "onSelectActivity"]))), 128))
|
|
8305
8307
|
]),
|
|
8306
|
-
(
|
|
8307
|
-
H(i) ? (
|
|
8308
|
+
(c(), U(kt, { to: "body" }, [
|
|
8309
|
+
H(i) ? (c(), U(s1, {
|
|
8308
8310
|
key: 0,
|
|
8309
8311
|
activity: H(i),
|
|
8310
8312
|
"activity-types": m.value,
|
|
@@ -8326,7 +8328,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8326
8328
|
title: H(i).name || H(i).id,
|
|
8327
8329
|
level: 4,
|
|
8328
8330
|
"is-editable": !0,
|
|
8329
|
-
"onUpdate:title":
|
|
8331
|
+
"onUpdate:title": E
|
|
8330
8332
|
}, null, 8, ["title"]),
|
|
8331
8333
|
r("label", Pd, [
|
|
8332
8334
|
r("span", Nd, R(S.$t("activity.status.label")), 1),
|
|
@@ -8340,7 +8342,7 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
|
|
|
8340
8342
|
default: q(() => [
|
|
8341
8343
|
r("fieldset", Bd, [
|
|
8342
8344
|
r("label", Zd, [
|
|
8343
|
-
r("span", Ud, R(S.$t("activity.
|
|
8345
|
+
r("span", Ud, R(S.$t("activity.deadline.label")), 1),
|
|
8344
8346
|
xe(r("input", {
|
|
8345
8347
|
"onUpdate:modelValue": j[4] || (j[4] = (g) => w.value = g),
|
|
8346
8348
|
class: "ao-field__input",
|