@26lights/orcha 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +1095 -1082
- package/dist/orcha.umd.js +2 -2
- package/dist/src/views/AoTemplateDetails.vue.d.ts +1 -3
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, openBlock as c, createBlock as U, unref as a1, mergeProps as H1, createElementBlock as C, createElementVNode as u, pushScopeId as wt, popScopeId as yt, createStaticVNode as $t, computed as v, resolveDynamicComponent as z1, normalizeClass as D, renderSlot as q, toDisplayString as x, createCommentVNode as V, ref as J, watch as C1, nextTick as x1, toHandlers as Mt, withCtx as K, createTextVNode as ye, createVNode as B, withModifiers as te, Fragment as g1, renderList as I1, withKeys as Be, toRefs as c1, getCurrentInstance as Z1, onMounted as Ue, withDirectives as se, vModelText as we, vModelCheckbox as Lt, toRef as ge, Teleport as Pe } from "vue";
|
|
2
2
|
import { RouterView as Vt } from "vue-router";
|
|
3
3
|
import ae from "vuedraggable";
|
|
4
|
-
const
|
|
4
|
+
const xi = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "AoTemplates",
|
|
6
6
|
props: {
|
|
7
7
|
templates: {}
|
|
8
8
|
},
|
|
9
9
|
setup(s) {
|
|
10
|
-
return (e, t) => (c(),
|
|
10
|
+
return (e, t) => (c(), U(a1(Vt), H1({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
12
|
+
}), y = (s, e) => {
|
|
13
13
|
const t = s.__vccOpts || s;
|
|
14
14
|
for (const [n, a] of e)
|
|
15
15
|
t[n] = a;
|
|
@@ -29,7 +29,7 @@ const Ki = /* @__PURE__ */ X({
|
|
|
29
29
|
function At(s, e) {
|
|
30
30
|
return c(), C("svg", St, Et);
|
|
31
31
|
}
|
|
32
|
-
const Tt = /* @__PURE__ */
|
|
32
|
+
const Tt = /* @__PURE__ */ y(It, [["render", At]]), Ot = {}, kt = {
|
|
33
33
|
width: "24",
|
|
34
34
|
height: "24",
|
|
35
35
|
viewBox: "0 0 24 24",
|
|
@@ -44,7 +44,7 @@ const Tt = /* @__PURE__ */ w(It, [["render", At]]), Ot = {}, kt = {
|
|
|
44
44
|
function Pt(s, e) {
|
|
45
45
|
return c(), C("svg", kt, Bt);
|
|
46
46
|
}
|
|
47
|
-
const Dt = /* @__PURE__ */
|
|
47
|
+
const Dt = /* @__PURE__ */ y(Ot, [["render", Pt]]), Nt = {}, Rt = {
|
|
48
48
|
width: "24",
|
|
49
49
|
height: "24",
|
|
50
50
|
viewBox: "0 0 24 24",
|
|
@@ -59,7 +59,7 @@ const Dt = /* @__PURE__ */ w(Ot, [["render", Pt]]), Nt = {}, Rt = {
|
|
|
59
59
|
function jt(s, e) {
|
|
60
60
|
return c(), C("svg", Rt, qt);
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const xt = /* @__PURE__ */ y(Nt, [["render", jt]]), Kt = {}, zt = {
|
|
63
63
|
width: "24",
|
|
64
64
|
height: "24",
|
|
65
65
|
viewBox: "0 0 24 24",
|
|
@@ -72,9 +72,9 @@ const Kt = /* @__PURE__ */ w(Nt, [["render", jt]]), zt = {}, xt = {
|
|
|
72
72
|
Gt
|
|
73
73
|
];
|
|
74
74
|
function Yt(s, e) {
|
|
75
|
-
return c(), C("svg",
|
|
75
|
+
return c(), C("svg", zt, Ft);
|
|
76
76
|
}
|
|
77
|
-
const Xt = /* @__PURE__ */
|
|
77
|
+
const Xt = /* @__PURE__ */ y(Kt, [["render", Yt]]), Wt = {}, Jt = {
|
|
78
78
|
width: "24",
|
|
79
79
|
height: "24",
|
|
80
80
|
viewBox: "0 0 24 24",
|
|
@@ -89,7 +89,7 @@ const Xt = /* @__PURE__ */ w(zt, [["render", Yt]]), Wt = {}, Jt = {
|
|
|
89
89
|
function t2(s, e) {
|
|
90
90
|
return c(), C("svg", Jt, e2);
|
|
91
91
|
}
|
|
92
|
-
const s2 = /* @__PURE__ */
|
|
92
|
+
const s2 = /* @__PURE__ */ y(Wt, [["render", t2]]), a2 = {}, l2 = {
|
|
93
93
|
width: "24",
|
|
94
94
|
height: "24",
|
|
95
95
|
viewBox: "0 0 24 24",
|
|
@@ -104,7 +104,7 @@ const s2 = /* @__PURE__ */ w(Wt, [["render", t2]]), a2 = {}, l2 = {
|
|
|
104
104
|
function o2(s, e) {
|
|
105
105
|
return c(), C("svg", l2, i2);
|
|
106
106
|
}
|
|
107
|
-
const r2 = /* @__PURE__ */
|
|
107
|
+
const r2 = /* @__PURE__ */ y(a2, [["render", o2]]), u2 = {}, c2 = {
|
|
108
108
|
width: "24",
|
|
109
109
|
height: "24",
|
|
110
110
|
viewBox: "0 0 24 24",
|
|
@@ -119,7 +119,7 @@ const r2 = /* @__PURE__ */ w(a2, [["render", o2]]), u2 = {}, c2 = {
|
|
|
119
119
|
function h2(s, e) {
|
|
120
120
|
return c(), C("svg", c2, C2);
|
|
121
121
|
}
|
|
122
|
-
const f2 = /* @__PURE__ */
|
|
122
|
+
const f2 = /* @__PURE__ */ y(u2, [["render", h2]]), p2 = {}, v2 = {
|
|
123
123
|
width: "24",
|
|
124
124
|
height: "24",
|
|
125
125
|
viewBox: "0 0 24 24",
|
|
@@ -134,7 +134,7 @@ const f2 = /* @__PURE__ */ w(u2, [["render", h2]]), p2 = {}, v2 = {
|
|
|
134
134
|
function g2(s, e) {
|
|
135
135
|
return c(), C("svg", v2, m2);
|
|
136
136
|
}
|
|
137
|
-
const b2 = /* @__PURE__ */
|
|
137
|
+
const b2 = /* @__PURE__ */ y(p2, [["render", g2]]), w2 = {}, y2 = {
|
|
138
138
|
width: "24",
|
|
139
139
|
height: "24",
|
|
140
140
|
viewBox: "0 0 24 24",
|
|
@@ -149,7 +149,7 @@ const b2 = /* @__PURE__ */ w(p2, [["render", g2]]), w2 = {}, y2 = {
|
|
|
149
149
|
function L2(s, e) {
|
|
150
150
|
return c(), C("svg", y2, M2);
|
|
151
151
|
}
|
|
152
|
-
const V2 = /* @__PURE__ */
|
|
152
|
+
const V2 = /* @__PURE__ */ y(w2, [["render", L2]]), I2 = {}, S2 = {
|
|
153
153
|
width: "24",
|
|
154
154
|
height: "24",
|
|
155
155
|
viewBox: "0 0 24 24",
|
|
@@ -164,7 +164,7 @@ const V2 = /* @__PURE__ */ w(w2, [["render", L2]]), I2 = {}, S2 = {
|
|
|
164
164
|
function A2(s, e) {
|
|
165
165
|
return c(), C("svg", S2, E2);
|
|
166
166
|
}
|
|
167
|
-
const T2 = /* @__PURE__ */
|
|
167
|
+
const T2 = /* @__PURE__ */ y(I2, [["render", A2]]), O2 = {}, k2 = {
|
|
168
168
|
width: "24",
|
|
169
169
|
height: "24",
|
|
170
170
|
viewBox: "0 0 24 24",
|
|
@@ -179,7 +179,7 @@ const T2 = /* @__PURE__ */ w(I2, [["render", A2]]), O2 = {}, k2 = {
|
|
|
179
179
|
function P2(s, e) {
|
|
180
180
|
return c(), C("svg", k2, B2);
|
|
181
181
|
}
|
|
182
|
-
const D2 = /* @__PURE__ */
|
|
182
|
+
const D2 = /* @__PURE__ */ y(O2, [["render", P2]]), N2 = {}, R2 = {
|
|
183
183
|
width: "24",
|
|
184
184
|
height: "24",
|
|
185
185
|
viewBox: "0 0 24 24",
|
|
@@ -194,7 +194,7 @@ const D2 = /* @__PURE__ */ w(O2, [["render", P2]]), N2 = {}, R2 = {
|
|
|
194
194
|
function j2(s, e) {
|
|
195
195
|
return c(), C("svg", R2, q2);
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const x2 = /* @__PURE__ */ y(N2, [["render", j2]]), K2 = {}, z2 = {
|
|
198
198
|
width: "24",
|
|
199
199
|
height: "24",
|
|
200
200
|
viewBox: "0 0 24 24",
|
|
@@ -207,9 +207,9 @@ const K2 = /* @__PURE__ */ w(N2, [["render", j2]]), z2 = {}, x2 = {
|
|
|
207
207
|
G2
|
|
208
208
|
];
|
|
209
209
|
function Y2(s, e) {
|
|
210
|
-
return c(), C("svg",
|
|
210
|
+
return c(), C("svg", z2, F2);
|
|
211
211
|
}
|
|
212
|
-
const X2 = /* @__PURE__ */
|
|
212
|
+
const X2 = /* @__PURE__ */ y(K2, [["render", Y2]]), W2 = {}, J2 = {
|
|
213
213
|
width: "24",
|
|
214
214
|
height: "24",
|
|
215
215
|
viewBox: "0 0 24 24",
|
|
@@ -224,7 +224,7 @@ const X2 = /* @__PURE__ */ w(z2, [["render", Y2]]), W2 = {}, J2 = {
|
|
|
224
224
|
function ts(s, e) {
|
|
225
225
|
return c(), C("svg", J2, es);
|
|
226
226
|
}
|
|
227
|
-
const ss = /* @__PURE__ */
|
|
227
|
+
const ss = /* @__PURE__ */ y(W2, [["render", ts]]), as = {}, ls = {
|
|
228
228
|
width: "24",
|
|
229
229
|
height: "24",
|
|
230
230
|
viewBox: "0 0 24 24",
|
|
@@ -239,7 +239,7 @@ const ss = /* @__PURE__ */ w(W2, [["render", ts]]), as = {}, ls = {
|
|
|
239
239
|
function os(s, e) {
|
|
240
240
|
return c(), C("svg", ls, is);
|
|
241
241
|
}
|
|
242
|
-
const rs = /* @__PURE__ */
|
|
242
|
+
const rs = /* @__PURE__ */ y(as, [["render", os]]), us = {}, cs = {
|
|
243
243
|
width: "24",
|
|
244
244
|
height: "24",
|
|
245
245
|
viewBox: "0 0 24 24",
|
|
@@ -254,7 +254,7 @@ const rs = /* @__PURE__ */ w(as, [["render", os]]), us = {}, cs = {
|
|
|
254
254
|
function hs(s, e) {
|
|
255
255
|
return c(), C("svg", cs, Cs);
|
|
256
256
|
}
|
|
257
|
-
const fs = /* @__PURE__ */
|
|
257
|
+
const fs = /* @__PURE__ */ y(us, [["render", hs]]), ps = {}, vs = {
|
|
258
258
|
width: "24",
|
|
259
259
|
height: "24",
|
|
260
260
|
viewBox: "0 0 24 24",
|
|
@@ -269,7 +269,7 @@ const fs = /* @__PURE__ */ w(us, [["render", hs]]), ps = {}, vs = {
|
|
|
269
269
|
function gs(s, e) {
|
|
270
270
|
return c(), C("svg", vs, ms);
|
|
271
271
|
}
|
|
272
|
-
const bs = /* @__PURE__ */
|
|
272
|
+
const bs = /* @__PURE__ */ y(ps, [["render", gs]]), ws = {}, ys = {
|
|
273
273
|
width: "24",
|
|
274
274
|
height: "24",
|
|
275
275
|
viewBox: "0 0 24 24",
|
|
@@ -284,7 +284,7 @@ const bs = /* @__PURE__ */ w(ps, [["render", gs]]), ws = {}, ys = {
|
|
|
284
284
|
function Ls(s, e) {
|
|
285
285
|
return c(), C("svg", ys, Ms);
|
|
286
286
|
}
|
|
287
|
-
const Vs = /* @__PURE__ */
|
|
287
|
+
const Vs = /* @__PURE__ */ y(ws, [["render", Ls]]), Is = {}, Ss = {
|
|
288
288
|
width: "24",
|
|
289
289
|
height: "24",
|
|
290
290
|
viewBox: "0 0 24 24",
|
|
@@ -299,7 +299,7 @@ const Vs = /* @__PURE__ */ w(ws, [["render", Ls]]), Is = {}, Ss = {
|
|
|
299
299
|
function As(s, e) {
|
|
300
300
|
return c(), C("svg", Ss, Es);
|
|
301
301
|
}
|
|
302
|
-
const Ts = /* @__PURE__ */
|
|
302
|
+
const Ts = /* @__PURE__ */ y(Is, [["render", As]]), Os = {}, ks = {
|
|
303
303
|
width: "24",
|
|
304
304
|
height: "24",
|
|
305
305
|
viewBox: "0 0 24 24",
|
|
@@ -314,7 +314,7 @@ const Ts = /* @__PURE__ */ w(Is, [["render", As]]), Os = {}, ks = {
|
|
|
314
314
|
function Ps(s, e) {
|
|
315
315
|
return c(), C("svg", ks, Bs);
|
|
316
316
|
}
|
|
317
|
-
const Ds = /* @__PURE__ */
|
|
317
|
+
const Ds = /* @__PURE__ */ y(Os, [["render", Ps]]), Ns = {}, Rs = {
|
|
318
318
|
width: "24",
|
|
319
319
|
height: "24",
|
|
320
320
|
viewBox: "0 0 24 24",
|
|
@@ -329,7 +329,7 @@ const Ds = /* @__PURE__ */ w(Os, [["render", Ps]]), Ns = {}, Rs = {
|
|
|
329
329
|
function js(s, e) {
|
|
330
330
|
return c(), C("svg", Rs, qs);
|
|
331
331
|
}
|
|
332
|
-
const
|
|
332
|
+
const xs = /* @__PURE__ */ y(Ns, [["render", js]]), Ks = {}, zs = {
|
|
333
333
|
width: "24",
|
|
334
334
|
height: "24",
|
|
335
335
|
viewBox: "0 0 24 24",
|
|
@@ -342,9 +342,9 @@ const Ks = /* @__PURE__ */ w(Ns, [["render", js]]), zs = {}, xs = {
|
|
|
342
342
|
Gs
|
|
343
343
|
];
|
|
344
344
|
function Ys(s, e) {
|
|
345
|
-
return c(), C("svg",
|
|
345
|
+
return c(), C("svg", zs, Fs);
|
|
346
346
|
}
|
|
347
|
-
const Xs = /* @__PURE__ */
|
|
347
|
+
const Xs = /* @__PURE__ */ y(Ks, [["render", Ys]]), Ws = {}, Js = {
|
|
348
348
|
width: "24",
|
|
349
349
|
height: "24",
|
|
350
350
|
viewBox: "0 0 24 24",
|
|
@@ -353,285 +353,285 @@ const Xs = /* @__PURE__ */ w(zs, [["render", Ys]]), Ws = {}, Js = {
|
|
|
353
353
|
}, Qs = /* @__PURE__ */ u("path", {
|
|
354
354
|
d: "M5 23C4.71667 23 4.479 22.904 4.287 22.712C4.095 22.52 3.99934 22.2827 4 22C4 21.7167 4.096 21.479 4.288 21.287C4.48 21.095 4.71734 20.9993 5 21H19C19.2833 21 19.521 21.096 19.713 21.288C19.905 21.48 20.0007 21.7173 20 22C20 22.2833 19.904 22.521 19.712 22.713C19.52 22.905 19.2827 23.0007 19 23H5ZM5 3C4.71667 3 4.479 2.904 4.287 2.712C4.095 2.52 3.99934 2.28267 4 2C4 1.71667 4.096 1.479 4.288 1.287C4.48 1.095 4.71734 0.999337 5 1H19C19.2833 1 19.521 1.096 19.713 1.288C19.905 1.48 20.0007 1.71734 20 2C20 2.28334 19.904 2.521 19.712 2.713C19.52 2.905 19.2827 3.00067 19 3H5ZM12 13C12.8333 13 13.5417 12.7083 14.125 12.125C14.7083 11.5417 15 10.8333 15 10C15 9.16667 14.7083 8.45834 14.125 7.875C13.5417 7.29167 12.8333 7 12 7C11.1667 7 10.4583 7.29167 9.875 7.875C9.29167 8.45834 9 9.16667 9 10C9 10.8333 9.29167 11.5417 9.875 12.125C10.4583 12.7083 11.1667 13 12 13ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4ZM5.75 18C6.5 17.0667 7.40834 16.3333 8.475 15.8C9.54167 15.2667 10.7167 15 12 15C13.2833 15 14.4583 15.2667 15.525 15.8C16.5917 16.3333 17.5 17.0667 18.25 18H20V6H4V18H5.75ZM8.7 18H15.3C14.8167 17.6667 14.2957 17.4167 13.737 17.25C13.1783 17.0833 12.5993 17 12 17C11.4 17 10.8207 17.0833 10.262 17.25C9.70334 17.4167 9.18267 17.6667 8.7 18ZM12 11C11.7167 11 11.479 10.904 11.287 10.712C11.095 10.52 10.9993 10.2827 11 10C11 9.71667 11.096 9.479 11.288 9.287C11.48 9.095 11.7173 8.99934 12 9C12.2833 9 12.521 9.096 12.713 9.288C12.905 9.48 13.0007 9.71734 13 10C13 10.2833 12.904 10.521 12.712 10.713C12.52 10.905 12.2827 11.0007 12 11Z",
|
|
355
355
|
fill: "black"
|
|
356
|
-
}, null, -1),
|
|
356
|
+
}, null, -1), ea = [
|
|
357
357
|
Qs
|
|
358
358
|
];
|
|
359
|
-
function
|
|
360
|
-
return c(), C("svg", Js,
|
|
359
|
+
function ta(s, e) {
|
|
360
|
+
return c(), C("svg", Js, ea);
|
|
361
361
|
}
|
|
362
|
-
const
|
|
362
|
+
const sa = /* @__PURE__ */ y(Ws, [["render", ta]]), aa = {}, la = {
|
|
363
363
|
width: "24",
|
|
364
364
|
height: "24",
|
|
365
365
|
viewBox: "0 0 24 24",
|
|
366
366
|
fill: "none",
|
|
367
367
|
xmlns: "http://www.w3.org/2000/svg"
|
|
368
|
-
},
|
|
368
|
+
}, na = /* @__PURE__ */ u("path", {
|
|
369
369
|
d: "M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.979 17.804 7.587 17.412C7.195 17.02 6.99934 16.5493 7 16V4C7 3.45 7.196 2.979 7.588 2.587C7.98 2.195 8.45067 1.99934 9 2H18C18.55 2 19.021 2.196 19.413 2.588C19.805 2.98 20.0007 3.45067 20 4V16C20 16.55 19.804 17.021 19.412 17.413C19.02 17.805 18.5493 18.0007 18 18H9ZM9 16H18V4H9V16Z",
|
|
370
370
|
fill: "black"
|
|
371
|
-
}, null, -1),
|
|
372
|
-
|
|
371
|
+
}, null, -1), ia = [
|
|
372
|
+
na
|
|
373
373
|
];
|
|
374
|
-
function
|
|
375
|
-
return c(), C("svg",
|
|
374
|
+
function oa(s, e) {
|
|
375
|
+
return c(), C("svg", la, ia);
|
|
376
376
|
}
|
|
377
|
-
const
|
|
377
|
+
const ra = /* @__PURE__ */ y(aa, [["render", oa]]), ua = {}, ca = {
|
|
378
378
|
width: "24",
|
|
379
379
|
height: "24",
|
|
380
380
|
viewBox: "0 0 24 24",
|
|
381
381
|
fill: "none",
|
|
382
382
|
xmlns: "http://www.w3.org/2000/svg"
|
|
383
|
-
},
|
|
383
|
+
}, da = /* @__PURE__ */ u("path", {
|
|
384
384
|
d: "M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",
|
|
385
385
|
fill: "black"
|
|
386
|
-
}, null, -1),
|
|
387
|
-
|
|
386
|
+
}, null, -1), Ca = [
|
|
387
|
+
da
|
|
388
388
|
];
|
|
389
|
-
function
|
|
390
|
-
return c(), C("svg",
|
|
389
|
+
function ha(s, e) {
|
|
390
|
+
return c(), C("svg", ca, Ca);
|
|
391
391
|
}
|
|
392
|
-
const
|
|
392
|
+
const fa = /* @__PURE__ */ y(ua, [["render", ha]]), pa = {}, va = {
|
|
393
393
|
width: "24",
|
|
394
394
|
height: "24",
|
|
395
395
|
viewBox: "0 0 24 24",
|
|
396
396
|
fill: "none",
|
|
397
397
|
xmlns: "http://www.w3.org/2000/svg"
|
|
398
|
-
},
|
|
398
|
+
}, _a = /* @__PURE__ */ u("path", {
|
|
399
399
|
d: "M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",
|
|
400
400
|
fill: "black"
|
|
401
|
-
}, null, -1),
|
|
402
|
-
|
|
401
|
+
}, null, -1), ma = [
|
|
402
|
+
_a
|
|
403
403
|
];
|
|
404
|
-
function
|
|
405
|
-
return c(), C("svg",
|
|
404
|
+
function ga(s, e) {
|
|
405
|
+
return c(), C("svg", va, ma);
|
|
406
406
|
}
|
|
407
|
-
const
|
|
407
|
+
const ba = /* @__PURE__ */ y(pa, [["render", ga]]), wa = {}, ya = {
|
|
408
408
|
width: "24",
|
|
409
409
|
height: "24",
|
|
410
410
|
viewBox: "0 0 24 24",
|
|
411
411
|
fill: "none",
|
|
412
412
|
xmlns: "http://www.w3.org/2000/svg"
|
|
413
|
-
}, $
|
|
413
|
+
}, $a = /* @__PURE__ */ u("path", {
|
|
414
414
|
d: "M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",
|
|
415
415
|
fill: "black"
|
|
416
|
-
}, null, -1),
|
|
417
|
-
$
|
|
416
|
+
}, null, -1), Ma = [
|
|
417
|
+
$a
|
|
418
418
|
];
|
|
419
|
-
function
|
|
420
|
-
return c(), C("svg",
|
|
419
|
+
function La(s, e) {
|
|
420
|
+
return c(), C("svg", ya, Ma);
|
|
421
421
|
}
|
|
422
|
-
const
|
|
422
|
+
const Va = /* @__PURE__ */ y(wa, [["render", La]]), Ia = {}, Sa = {
|
|
423
423
|
width: "24",
|
|
424
424
|
height: "24",
|
|
425
425
|
viewBox: "0 0 24 24",
|
|
426
426
|
fill: "none",
|
|
427
427
|
xmlns: "http://www.w3.org/2000/svg"
|
|
428
|
-
},
|
|
428
|
+
}, Ha = /* @__PURE__ */ u("path", {
|
|
429
429
|
d: "M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3043 2.75 17.863 2.75C18.4217 2.75 18.8923 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.571 21.275 6.113C21.2917 6.655 21.1083 7.11733 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",
|
|
430
430
|
fill: "black"
|
|
431
|
-
}, null, -1),
|
|
432
|
-
|
|
431
|
+
}, null, -1), Ea = [
|
|
432
|
+
Ha
|
|
433
433
|
];
|
|
434
|
-
function
|
|
435
|
-
return c(), C("svg",
|
|
434
|
+
function Aa(s, e) {
|
|
435
|
+
return c(), C("svg", Sa, Ea);
|
|
436
436
|
}
|
|
437
|
-
const
|
|
437
|
+
const Ta = /* @__PURE__ */ y(Ia, [["render", Aa]]), Oa = {}, ka = {
|
|
438
438
|
width: "24",
|
|
439
439
|
height: "24",
|
|
440
440
|
viewBox: "0 0 24 24",
|
|
441
441
|
fill: "none",
|
|
442
442
|
xmlns: "http://www.w3.org/2000/svg"
|
|
443
|
-
},
|
|
443
|
+
}, Za = /* @__PURE__ */ u("path", {
|
|
444
444
|
d: "M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
|
|
445
445
|
fill: "black"
|
|
446
|
-
}, null, -1),
|
|
447
|
-
|
|
446
|
+
}, null, -1), Ba = [
|
|
447
|
+
Za
|
|
448
448
|
];
|
|
449
|
-
function
|
|
450
|
-
return c(), C("svg",
|
|
449
|
+
function Pa(s, e) {
|
|
450
|
+
return c(), C("svg", ka, Ba);
|
|
451
451
|
}
|
|
452
|
-
const
|
|
452
|
+
const Da = /* @__PURE__ */ y(Oa, [["render", Pa]]), Na = {}, Ra = {
|
|
453
453
|
width: "24",
|
|
454
454
|
height: "24",
|
|
455
455
|
viewBox: "0 0 24 24",
|
|
456
456
|
fill: "none",
|
|
457
457
|
xmlns: "http://www.w3.org/2000/svg"
|
|
458
|
-
},
|
|
458
|
+
}, Ua = /* @__PURE__ */ u("path", {
|
|
459
459
|
d: "M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",
|
|
460
460
|
fill: "black"
|
|
461
|
-
}, null, -1),
|
|
462
|
-
|
|
461
|
+
}, null, -1), qa = [
|
|
462
|
+
Ua
|
|
463
463
|
];
|
|
464
|
-
function
|
|
465
|
-
return c(), C("svg",
|
|
464
|
+
function ja(s, e) {
|
|
465
|
+
return c(), C("svg", Ra, qa);
|
|
466
466
|
}
|
|
467
|
-
const
|
|
467
|
+
const xa = /* @__PURE__ */ y(Na, [["render", ja]]), Ka = {}, za = {
|
|
468
468
|
width: "24",
|
|
469
469
|
height: "24",
|
|
470
470
|
viewBox: "0 0 24 24",
|
|
471
471
|
fill: "none",
|
|
472
472
|
xmlns: "http://www.w3.org/2000/svg"
|
|
473
|
-
},
|
|
473
|
+
}, Ga = /* @__PURE__ */ u("path", {
|
|
474
474
|
d: "M6 21C5.71667 21 5.479 20.904 5.287 20.712C5.095 20.52 4.99934 20.2827 5 20V5C5 4.71667 5.096 4.479 5.288 4.287C5.48 4.095 5.71734 3.99934 6 4H13.175C13.4083 4 13.6167 4.075 13.8 4.225C13.9833 4.375 14.1 4.56667 14.15 4.8L14.4 6H19C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71734 20 7V15C20 15.2833 19.904 15.521 19.712 15.713C19.52 15.905 19.2827 16.0007 19 16H13.825C13.5917 16 13.3833 15.925 13.2 15.775C13.0167 15.625 12.9 15.4333 12.85 15.2L12.6 14H7V20C7 20.2833 6.904 20.521 6.712 20.713C6.52 20.905 6.28267 21.0007 6 21Z",
|
|
475
475
|
fill: "black"
|
|
476
|
-
}, null, -1),
|
|
477
|
-
|
|
476
|
+
}, null, -1), Fa = [
|
|
477
|
+
Ga
|
|
478
478
|
];
|
|
479
|
-
function
|
|
480
|
-
return c(), C("svg",
|
|
479
|
+
function Ya(s, e) {
|
|
480
|
+
return c(), C("svg", za, Fa);
|
|
481
481
|
}
|
|
482
|
-
const
|
|
482
|
+
const Xa = /* @__PURE__ */ y(Ka, [["render", Ya]]), Wa = {}, Ja = {
|
|
483
483
|
width: "24",
|
|
484
484
|
height: "24",
|
|
485
485
|
viewBox: "0 0 24 24",
|
|
486
486
|
fill: "none",
|
|
487
487
|
xmlns: "http://www.w3.org/2000/svg"
|
|
488
|
-
},
|
|
488
|
+
}, Qa = /* @__PURE__ */ u("path", {
|
|
489
489
|
d: "M4 12V18V6V12ZM14 21C14.2833 21 14.521 20.904 14.713 20.712C14.905 20.52 15.0007 20.2827 15 20C15 19.7167 14.904 19.479 14.712 19.287C14.52 19.095 14.2827 18.9993 14 19C13.7167 19 13.479 19.096 13.287 19.288C13.095 19.48 12.9993 19.7173 13 20C13 20.2833 13.096 20.521 13.288 20.713C13.48 20.905 13.7173 21.0007 14 21ZM20 11C20.2833 11 20.521 10.904 20.713 10.712C20.905 10.52 21.0007 10.2827 21 10C21 9.71667 20.904 9.479 20.712 9.287C20.52 9.095 20.2827 8.99934 20 9C19.7167 9 19.479 9.096 19.287 9.288C19.095 9.48 18.9993 9.71734 19 10C19 10.2833 19.096 10.521 19.288 10.713C19.48 10.905 19.7173 11.0007 20 11ZM10 11C10.2833 11 10.521 10.904 10.713 10.712C10.905 10.52 11.0007 10.2827 11 10C11 9.71667 10.904 9.479 10.712 9.287C10.52 9.095 10.2827 8.99934 10 9H7C6.71667 9 6.479 9.096 6.287 9.288C6.095 9.48 5.99934 9.71734 6 10C6 10.2833 6.096 10.521 6.288 10.713C6.48 10.905 6.71734 11.0007 7 11H10ZM10 15C10.2833 15 10.521 14.904 10.713 14.712C10.905 14.52 11.0007 14.2827 11 14C11 13.7167 10.904 13.479 10.712 13.287C10.52 13.095 10.2827 12.9993 10 13H7C6.71667 13 6.479 13.096 6.287 13.288C6.095 13.48 5.99934 13.7173 6 14C6 14.2833 6.096 14.521 6.288 14.713C6.48 14.905 6.71734 15.0007 7 15H10ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6H4V18H9V20H4ZM14 23C13.1667 23 12.4583 22.7083 11.875 22.125C11.2917 21.5417 11 20.8333 11 20C11 19.35 11.1877 18.7667 11.563 18.25C11.9383 17.7333 12.4173 17.375 13 17.175V15C13 14.7167 13.096 14.479 13.288 14.287C13.48 14.095 13.7173 13.9993 14 14H19V12.825C18.4167 12.625 17.9373 12.2667 17.562 11.75C17.1867 11.2333 16.9993 10.65 17 10C17 9.16667 17.2917 8.45833 17.875 7.875C18.4583 7.29167 19.1667 7 20 7C20.8333 7 21.5417 7.29167 22.125 7.875C22.7083 8.45833 23 9.16667 23 10C23 10.65 22.8123 11.2333 22.437 11.75C22.0617 12.2667 21.5827 12.625 21 12.825V15C21 15.2833 20.904 15.521 20.712 15.713C20.52 15.905 20.2827 16.0007 20 16H15V17.175C15.5833 17.375 16.0627 17.7333 16.438 18.25C16.8133 18.7667 17.0007 19.35 17 20C17 20.8333 16.7083 21.5417 16.125 22.125C15.5417 22.7083 14.8333 23 14 23Z",
|
|
490
490
|
fill: "black"
|
|
491
|
-
}, null, -1),
|
|
492
|
-
|
|
491
|
+
}, null, -1), e3 = [
|
|
492
|
+
Qa
|
|
493
493
|
];
|
|
494
|
-
function
|
|
495
|
-
return c(), C("svg",
|
|
494
|
+
function t3(s, e) {
|
|
495
|
+
return c(), C("svg", Ja, e3);
|
|
496
496
|
}
|
|
497
|
-
const
|
|
497
|
+
const s3 = /* @__PURE__ */ y(Wa, [["render", t3]]), a3 = {}, l3 = {
|
|
498
498
|
width: "24",
|
|
499
499
|
height: "24",
|
|
500
500
|
viewBox: "0 0 24 24",
|
|
501
501
|
fill: "none",
|
|
502
502
|
xmlns: "http://www.w3.org/2000/svg"
|
|
503
|
-
},
|
|
503
|
+
}, n3 = /* @__PURE__ */ u("path", {
|
|
504
504
|
d: "M8.5 14H9.5C9.78334 14 10.021 13.904 10.213 13.712C10.405 13.52 10.5007 13.2827 10.5 13V12H9.5V13H8.5V11H10.5C10.5 10.7167 10.404 10.479 10.212 10.287C10.02 10.095 9.78267 9.99934 9.5 10H8.5C8.21667 10 7.979 10.096 7.787 10.288C7.595 10.48 7.49934 10.7173 7.5 11V13C7.5 13.2833 7.596 13.521 7.788 13.713C7.98 13.905 8.21734 14.0007 8.5 14ZM11.5 14H12.5V10H11.5V14ZM13.5 14H14.5V12.5H16V11.5H14.5V11H16.5V10H13.5V14ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",
|
|
505
505
|
fill: "black"
|
|
506
|
-
}, null, -1),
|
|
507
|
-
|
|
506
|
+
}, null, -1), i3 = [
|
|
507
|
+
n3
|
|
508
508
|
];
|
|
509
|
-
function
|
|
510
|
-
return c(), C("svg",
|
|
509
|
+
function o3(s, e) {
|
|
510
|
+
return c(), C("svg", l3, i3);
|
|
511
511
|
}
|
|
512
|
-
const
|
|
512
|
+
const r3 = /* @__PURE__ */ y(a3, [["render", o3]]), u3 = {}, c3 = {
|
|
513
513
|
width: "24",
|
|
514
514
|
height: "24",
|
|
515
515
|
viewBox: "0 0 24 24",
|
|
516
516
|
fill: "none",
|
|
517
517
|
xmlns: "http://www.w3.org/2000/svg"
|
|
518
|
-
},
|
|
518
|
+
}, d3 = /* @__PURE__ */ u("path", {
|
|
519
519
|
d: "M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",
|
|
520
520
|
fill: "black"
|
|
521
|
-
}, null, -1),
|
|
522
|
-
|
|
521
|
+
}, null, -1), C3 = [
|
|
522
|
+
d3
|
|
523
523
|
];
|
|
524
|
-
function
|
|
525
|
-
return c(), C("svg",
|
|
524
|
+
function h3(s, e) {
|
|
525
|
+
return c(), C("svg", c3, C3);
|
|
526
526
|
}
|
|
527
|
-
const
|
|
527
|
+
const f3 = /* @__PURE__ */ y(u3, [["render", h3]]), p3 = {}, v3 = {
|
|
528
528
|
width: "24",
|
|
529
529
|
height: "24",
|
|
530
530
|
viewBox: "0 0 24 24",
|
|
531
531
|
fill: "none",
|
|
532
532
|
xmlns: "http://www.w3.org/2000/svg"
|
|
533
|
-
},
|
|
533
|
+
}, _3 = /* @__PURE__ */ u("path", {
|
|
534
534
|
d: "M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",
|
|
535
535
|
fill: "black"
|
|
536
|
-
}, null, -1),
|
|
537
|
-
|
|
536
|
+
}, null, -1), m3 = [
|
|
537
|
+
_3
|
|
538
538
|
];
|
|
539
|
-
function
|
|
540
|
-
return c(), C("svg",
|
|
539
|
+
function g3(s, e) {
|
|
540
|
+
return c(), C("svg", v3, m3);
|
|
541
541
|
}
|
|
542
|
-
const
|
|
542
|
+
const b3 = /* @__PURE__ */ y(p3, [["render", g3]]), w3 = {}, y3 = {
|
|
543
543
|
width: "24",
|
|
544
544
|
height: "24",
|
|
545
545
|
viewBox: "0 0 24 24",
|
|
546
546
|
fill: "none",
|
|
547
547
|
xmlns: "http://www.w3.org/2000/svg"
|
|
548
|
-
}, $
|
|
548
|
+
}, $3 = /* @__PURE__ */ u("path", {
|
|
549
549
|
d: "M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",
|
|
550
550
|
fill: "black"
|
|
551
|
-
}, null, -1),
|
|
552
|
-
$
|
|
551
|
+
}, null, -1), M3 = [
|
|
552
|
+
$3
|
|
553
553
|
];
|
|
554
|
-
function
|
|
555
|
-
return c(), C("svg",
|
|
554
|
+
function L3(s, e) {
|
|
555
|
+
return c(), C("svg", y3, M3);
|
|
556
556
|
}
|
|
557
|
-
const
|
|
557
|
+
const V3 = /* @__PURE__ */ y(w3, [["render", L3]]), I3 = {}, S3 = {
|
|
558
558
|
width: "24",
|
|
559
559
|
height: "24",
|
|
560
560
|
viewBox: "0 0 24 24",
|
|
561
561
|
fill: "none",
|
|
562
562
|
xmlns: "http://www.w3.org/2000/svg"
|
|
563
|
-
},
|
|
563
|
+
}, H3 = /* @__PURE__ */ u("path", {
|
|
564
564
|
d: "M11 17H13V11H11V17ZM12 9C12.2833 9 12.521 8.904 12.713 8.712C12.905 8.52 13.0007 8.28267 13 8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8C11 8.28333 11.096 8.521 11.288 8.713C11.48 8.905 11.7173 9.00067 12 9ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",
|
|
565
565
|
fill: "black"
|
|
566
|
-
}, null, -1),
|
|
567
|
-
|
|
566
|
+
}, null, -1), E3 = [
|
|
567
|
+
H3
|
|
568
568
|
];
|
|
569
|
-
function
|
|
570
|
-
return c(), C("svg",
|
|
569
|
+
function A3(s, e) {
|
|
570
|
+
return c(), C("svg", S3, E3);
|
|
571
571
|
}
|
|
572
|
-
const
|
|
572
|
+
const T3 = /* @__PURE__ */ y(I3, [["render", A3]]), O3 = {}, k3 = {
|
|
573
573
|
width: "24",
|
|
574
574
|
height: "24",
|
|
575
575
|
viewBox: "0 0 24 24",
|
|
576
576
|
fill: "none",
|
|
577
577
|
xmlns: "http://www.w3.org/2000/svg"
|
|
578
|
-
},
|
|
578
|
+
}, Z3 = /* @__PURE__ */ u("path", {
|
|
579
579
|
d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
|
|
580
580
|
fill: "black"
|
|
581
|
-
}, null, -1),
|
|
582
|
-
|
|
581
|
+
}, null, -1), B3 = [
|
|
582
|
+
Z3
|
|
583
583
|
];
|
|
584
|
-
function
|
|
585
|
-
return c(), C("svg",
|
|
584
|
+
function P3(s, e) {
|
|
585
|
+
return c(), C("svg", k3, B3);
|
|
586
586
|
}
|
|
587
|
-
const
|
|
587
|
+
const D3 = /* @__PURE__ */ y(O3, [["render", P3]]), N3 = {}, R3 = {
|
|
588
588
|
width: "24",
|
|
589
589
|
height: "24",
|
|
590
590
|
viewBox: "0 0 24 24",
|
|
591
591
|
fill: "none",
|
|
592
592
|
xmlns: "http://www.w3.org/2000/svg"
|
|
593
|
-
},
|
|
593
|
+
}, U3 = /* @__PURE__ */ u("path", {
|
|
594
594
|
d: "M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",
|
|
595
595
|
fill: "black"
|
|
596
|
-
}, null, -1),
|
|
597
|
-
|
|
596
|
+
}, null, -1), q3 = [
|
|
597
|
+
U3
|
|
598
598
|
];
|
|
599
|
-
function
|
|
600
|
-
return c(), C("svg",
|
|
599
|
+
function j3(s, e) {
|
|
600
|
+
return c(), C("svg", R3, q3);
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const x3 = /* @__PURE__ */ y(N3, [["render", j3]]), K3 = Y({
|
|
603
603
|
name: "LoadingIcon"
|
|
604
604
|
});
|
|
605
|
-
const $e = (s) => (wt("data-v-ad6da4a9"), s = s(), yt(), s),
|
|
605
|
+
const $e = (s) => (wt("data-v-ad6da4a9"), s = s(), yt(), s), z3 = {
|
|
606
606
|
width: "24",
|
|
607
607
|
height: "24",
|
|
608
608
|
viewBox: "0 0 24 24",
|
|
609
609
|
fill: "none",
|
|
610
610
|
xmlns: "http://www.w3.org/2000/svg"
|
|
611
|
-
},
|
|
611
|
+
}, G3 = /* @__PURE__ */ $e(() => /* @__PURE__ */ u("circle", {
|
|
612
612
|
class: "dot dot--1",
|
|
613
613
|
cx: "6",
|
|
614
614
|
cy: "12",
|
|
615
615
|
r: "2"
|
|
616
|
-
}, null, -1)),
|
|
616
|
+
}, null, -1)), F3 = /* @__PURE__ */ $e(() => /* @__PURE__ */ u("circle", {
|
|
617
617
|
class: "dot dot--2",
|
|
618
618
|
cx: "12",
|
|
619
619
|
cy: "12",
|
|
620
620
|
r: "2"
|
|
621
|
-
}, null, -1)),
|
|
621
|
+
}, null, -1)), Y3 = /* @__PURE__ */ $e(() => /* @__PURE__ */ u("circle", {
|
|
622
622
|
class: "dot dot--3",
|
|
623
623
|
cx: "18",
|
|
624
624
|
cy: "12",
|
|
625
625
|
r: "2"
|
|
626
|
-
}, null, -1)),
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
626
|
+
}, null, -1)), X3 = [
|
|
627
|
+
G3,
|
|
628
|
+
F3,
|
|
629
|
+
Y3
|
|
630
630
|
];
|
|
631
|
-
function
|
|
632
|
-
return c(), C("svg",
|
|
631
|
+
function W3(s, e, t, n, a, i) {
|
|
632
|
+
return c(), C("svg", z3, X3);
|
|
633
633
|
}
|
|
634
|
-
const
|
|
634
|
+
const J3 = /* @__PURE__ */ y(K3, [["render", W3], ["__scopeId", "data-v-ad6da4a9"]]), Q3 = {}, el = {
|
|
635
635
|
width: "24",
|
|
636
636
|
height: "24",
|
|
637
637
|
viewBox: "0 0 24 24",
|
|
@@ -646,7 +646,7 @@ const Ja = /* @__PURE__ */ w(za, [["render", Wa], ["__scopeId", "data-v-ad6da4a9
|
|
|
646
646
|
function al(s, e) {
|
|
647
647
|
return c(), C("svg", el, sl);
|
|
648
648
|
}
|
|
649
|
-
const ll = /* @__PURE__ */
|
|
649
|
+
const ll = /* @__PURE__ */ y(Q3, [["render", al]]), nl = {}, il = {
|
|
650
650
|
width: "24",
|
|
651
651
|
height: "24",
|
|
652
652
|
viewBox: "0 0 24 24",
|
|
@@ -661,7 +661,7 @@ const ll = /* @__PURE__ */ w(Qa, [["render", al]]), nl = {}, il = {
|
|
|
661
661
|
function ul(s, e) {
|
|
662
662
|
return c(), C("svg", il, rl);
|
|
663
663
|
}
|
|
664
|
-
const cl = /* @__PURE__ */
|
|
664
|
+
const cl = /* @__PURE__ */ y(nl, [["render", ul]]), dl = {}, Cl = {
|
|
665
665
|
width: "24",
|
|
666
666
|
height: "24",
|
|
667
667
|
viewBox: "0 0 24 24",
|
|
@@ -676,7 +676,7 @@ const cl = /* @__PURE__ */ w(nl, [["render", ul]]), dl = {}, Cl = {
|
|
|
676
676
|
function pl(s, e) {
|
|
677
677
|
return c(), C("svg", Cl, fl);
|
|
678
678
|
}
|
|
679
|
-
const vl = /* @__PURE__ */
|
|
679
|
+
const vl = /* @__PURE__ */ y(dl, [["render", pl]]), _l = {}, ml = {
|
|
680
680
|
width: "24",
|
|
681
681
|
height: "24",
|
|
682
682
|
viewBox: "0 0 24 24",
|
|
@@ -691,7 +691,7 @@ const vl = /* @__PURE__ */ w(dl, [["render", pl]]), _l = {}, ml = {
|
|
|
691
691
|
function wl(s, e) {
|
|
692
692
|
return c(), C("svg", ml, bl);
|
|
693
693
|
}
|
|
694
|
-
const yl = /* @__PURE__ */
|
|
694
|
+
const yl = /* @__PURE__ */ y(_l, [["render", wl]]), $l = {}, Ml = {
|
|
695
695
|
width: "24",
|
|
696
696
|
height: "24",
|
|
697
697
|
viewBox: "0 0 24 24",
|
|
@@ -706,7 +706,7 @@ const yl = /* @__PURE__ */ w(_l, [["render", wl]]), $l = {}, Ml = {
|
|
|
706
706
|
function Il(s, e) {
|
|
707
707
|
return c(), C("svg", Ml, Vl);
|
|
708
708
|
}
|
|
709
|
-
const Sl = /* @__PURE__ */
|
|
709
|
+
const Sl = /* @__PURE__ */ y($l, [["render", Il]]), Hl = {}, El = {
|
|
710
710
|
width: "24",
|
|
711
711
|
height: "24",
|
|
712
712
|
viewBox: "0 0 24 24",
|
|
@@ -721,7 +721,7 @@ const Sl = /* @__PURE__ */ w($l, [["render", Il]]), Hl = {}, El = {
|
|
|
721
721
|
function Ol(s, e) {
|
|
722
722
|
return c(), C("svg", El, Tl);
|
|
723
723
|
}
|
|
724
|
-
const kl = /* @__PURE__ */
|
|
724
|
+
const kl = /* @__PURE__ */ y(Hl, [["render", Ol]]), Zl = {}, Bl = {
|
|
725
725
|
width: "24",
|
|
726
726
|
height: "24",
|
|
727
727
|
viewBox: "0 0 24 24",
|
|
@@ -736,7 +736,7 @@ const kl = /* @__PURE__ */ w(Hl, [["render", Ol]]), Zl = {}, Bl = {
|
|
|
736
736
|
function Nl(s, e) {
|
|
737
737
|
return c(), C("svg", Bl, Dl);
|
|
738
738
|
}
|
|
739
|
-
const Rl = /* @__PURE__ */
|
|
739
|
+
const Rl = /* @__PURE__ */ y(Zl, [["render", Nl]]), Ul = {}, ql = {
|
|
740
740
|
width: "24",
|
|
741
741
|
height: "24",
|
|
742
742
|
viewBox: "0 0 24 24",
|
|
@@ -745,13 +745,13 @@ const Rl = /* @__PURE__ */ w(Zl, [["render", Nl]]), Ul = {}, ql = {
|
|
|
745
745
|
}, jl = /* @__PURE__ */ u("path", {
|
|
746
746
|
d: "M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",
|
|
747
747
|
fill: "black"
|
|
748
|
-
}, null, -1),
|
|
748
|
+
}, null, -1), xl = [
|
|
749
749
|
jl
|
|
750
750
|
];
|
|
751
|
-
function
|
|
752
|
-
return c(), C("svg", ql,
|
|
751
|
+
function Kl(s, e) {
|
|
752
|
+
return c(), C("svg", ql, xl);
|
|
753
753
|
}
|
|
754
|
-
const
|
|
754
|
+
const zl = /* @__PURE__ */ y(Ul, [["render", Kl]]), Gl = {}, Fl = {
|
|
755
755
|
width: "24",
|
|
756
756
|
height: "24",
|
|
757
757
|
viewBox: "0 0 24 24",
|
|
@@ -766,7 +766,7 @@ const xl = /* @__PURE__ */ w(Ul, [["render", zl]]), Gl = {}, Fl = {
|
|
|
766
766
|
function Wl(s, e) {
|
|
767
767
|
return c(), C("svg", Fl, Xl);
|
|
768
768
|
}
|
|
769
|
-
const Jl = /* @__PURE__ */
|
|
769
|
+
const Jl = /* @__PURE__ */ y(Gl, [["render", Wl]]), Ql = {}, e5 = {
|
|
770
770
|
width: "24",
|
|
771
771
|
height: "24",
|
|
772
772
|
viewBox: "0 0 24 24",
|
|
@@ -781,7 +781,7 @@ const Jl = /* @__PURE__ */ w(Gl, [["render", Wl]]), Ql = {}, e5 = {
|
|
|
781
781
|
function a5(s, e) {
|
|
782
782
|
return c(), C("svg", e5, s5);
|
|
783
783
|
}
|
|
784
|
-
const l5 = /* @__PURE__ */
|
|
784
|
+
const l5 = /* @__PURE__ */ y(Ql, [["render", a5]]), n5 = {}, i5 = {
|
|
785
785
|
width: "24",
|
|
786
786
|
height: "24",
|
|
787
787
|
viewBox: "0 0 24 24",
|
|
@@ -796,7 +796,7 @@ const l5 = /* @__PURE__ */ w(Ql, [["render", a5]]), n5 = {}, i5 = {
|
|
|
796
796
|
function u5(s, e) {
|
|
797
797
|
return c(), C("svg", i5, r5);
|
|
798
798
|
}
|
|
799
|
-
const c5 = /* @__PURE__ */
|
|
799
|
+
const c5 = /* @__PURE__ */ y(n5, [["render", u5]]), d5 = {}, C5 = {
|
|
800
800
|
width: "24",
|
|
801
801
|
height: "24",
|
|
802
802
|
viewBox: "0 0 24 24",
|
|
@@ -811,7 +811,7 @@ const c5 = /* @__PURE__ */ w(n5, [["render", u5]]), d5 = {}, C5 = {
|
|
|
811
811
|
function p5(s, e) {
|
|
812
812
|
return c(), C("svg", C5, f5);
|
|
813
813
|
}
|
|
814
|
-
const v5 = /* @__PURE__ */
|
|
814
|
+
const v5 = /* @__PURE__ */ y(d5, [["render", p5]]), _5 = {}, m5 = {
|
|
815
815
|
width: "26",
|
|
816
816
|
height: "29",
|
|
817
817
|
viewBox: "0 0 26 29",
|
|
@@ -823,7 +823,7 @@ const v5 = /* @__PURE__ */ w(d5, [["render", p5]]), _5 = {}, m5 = {
|
|
|
823
823
|
function w5(s, e) {
|
|
824
824
|
return c(), C("svg", m5, b5);
|
|
825
825
|
}
|
|
826
|
-
const y5 = /* @__PURE__ */
|
|
826
|
+
const y5 = /* @__PURE__ */ y(_5, [["render", w5]]), $5 = {}, M5 = {
|
|
827
827
|
width: "24",
|
|
828
828
|
height: "24",
|
|
829
829
|
viewBox: "0 0 24 24",
|
|
@@ -838,7 +838,7 @@ const y5 = /* @__PURE__ */ w(_5, [["render", w5]]), $5 = {}, M5 = {
|
|
|
838
838
|
function I5(s, e) {
|
|
839
839
|
return c(), C("svg", M5, V5);
|
|
840
840
|
}
|
|
841
|
-
const S5 = /* @__PURE__ */
|
|
841
|
+
const S5 = /* @__PURE__ */ y($5, [["render", I5]]), H5 = {}, E5 = {
|
|
842
842
|
width: "24",
|
|
843
843
|
height: "24",
|
|
844
844
|
viewBox: "0 0 24 24",
|
|
@@ -853,7 +853,7 @@ const S5 = /* @__PURE__ */ w($5, [["render", I5]]), H5 = {}, E5 = {
|
|
|
853
853
|
function O5(s, e) {
|
|
854
854
|
return c(), C("svg", E5, T5);
|
|
855
855
|
}
|
|
856
|
-
const k5 = /* @__PURE__ */
|
|
856
|
+
const k5 = /* @__PURE__ */ y(H5, [["render", O5]]), Z5 = {}, B5 = {
|
|
857
857
|
width: "24",
|
|
858
858
|
height: "24",
|
|
859
859
|
viewBox: "0 0 24 24",
|
|
@@ -868,7 +868,7 @@ const k5 = /* @__PURE__ */ w(H5, [["render", O5]]), Z5 = {}, B5 = {
|
|
|
868
868
|
function N5(s, e) {
|
|
869
869
|
return c(), C("svg", B5, D5);
|
|
870
870
|
}
|
|
871
|
-
const R5 = /* @__PURE__ */
|
|
871
|
+
const R5 = /* @__PURE__ */ y(Z5, [["render", N5]]), U5 = {}, q5 = {
|
|
872
872
|
width: "24",
|
|
873
873
|
height: "24",
|
|
874
874
|
viewBox: "0 0 24 24",
|
|
@@ -877,13 +877,13 @@ const R5 = /* @__PURE__ */ w(Z5, [["render", N5]]), U5 = {}, q5 = {
|
|
|
877
877
|
}, j5 = /* @__PURE__ */ u("path", {
|
|
878
878
|
d: "M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",
|
|
879
879
|
fill: "black"
|
|
880
|
-
}, null, -1),
|
|
880
|
+
}, null, -1), x5 = [
|
|
881
881
|
j5
|
|
882
882
|
];
|
|
883
|
-
function
|
|
884
|
-
return c(), C("svg", q5,
|
|
883
|
+
function K5(s, e) {
|
|
884
|
+
return c(), C("svg", q5, x5);
|
|
885
885
|
}
|
|
886
|
-
const
|
|
886
|
+
const z5 = /* @__PURE__ */ y(U5, [["render", K5]]), G5 = {}, F5 = {
|
|
887
887
|
width: "24",
|
|
888
888
|
height: "24",
|
|
889
889
|
viewBox: "0 0 24 24",
|
|
@@ -898,7 +898,7 @@ const x5 = /* @__PURE__ */ w(U5, [["render", z5]]), G5 = {}, F5 = {
|
|
|
898
898
|
function W5(s, e) {
|
|
899
899
|
return c(), C("svg", F5, X5);
|
|
900
900
|
}
|
|
901
|
-
const J5 = /* @__PURE__ */
|
|
901
|
+
const J5 = /* @__PURE__ */ y(G5, [["render", W5]]), Q5 = {}, e7 = {
|
|
902
902
|
width: "24",
|
|
903
903
|
height: "24",
|
|
904
904
|
viewBox: "0 0 24 24",
|
|
@@ -913,7 +913,7 @@ const J5 = /* @__PURE__ */ w(G5, [["render", W5]]), Q5 = {}, e7 = {
|
|
|
913
913
|
function a7(s, e) {
|
|
914
914
|
return c(), C("svg", e7, s7);
|
|
915
915
|
}
|
|
916
|
-
const l7 = /* @__PURE__ */
|
|
916
|
+
const l7 = /* @__PURE__ */ y(Q5, [["render", a7]]), n7 = {}, i7 = {
|
|
917
917
|
width: "24",
|
|
918
918
|
height: "24",
|
|
919
919
|
viewBox: "0 0 24 24",
|
|
@@ -928,7 +928,7 @@ const l7 = /* @__PURE__ */ w(Q5, [["render", a7]]), n7 = {}, i7 = {
|
|
|
928
928
|
function u7(s, e) {
|
|
929
929
|
return c(), C("svg", i7, r7);
|
|
930
930
|
}
|
|
931
|
-
const c7 = /* @__PURE__ */
|
|
931
|
+
const c7 = /* @__PURE__ */ y(n7, [["render", u7]]), d7 = {}, C7 = {
|
|
932
932
|
width: "24",
|
|
933
933
|
height: "24",
|
|
934
934
|
viewBox: "0 0 24 24",
|
|
@@ -943,7 +943,7 @@ const c7 = /* @__PURE__ */ w(n7, [["render", u7]]), d7 = {}, C7 = {
|
|
|
943
943
|
function p7(s, e) {
|
|
944
944
|
return c(), C("svg", C7, f7);
|
|
945
945
|
}
|
|
946
|
-
const v7 = /* @__PURE__ */
|
|
946
|
+
const v7 = /* @__PURE__ */ y(d7, [["render", p7]]), _7 = {}, m7 = {
|
|
947
947
|
width: "24",
|
|
948
948
|
height: "24",
|
|
949
949
|
viewBox: "0 0 24 24",
|
|
@@ -958,7 +958,7 @@ const v7 = /* @__PURE__ */ w(d7, [["render", p7]]), _7 = {}, m7 = {
|
|
|
958
958
|
function w7(s, e) {
|
|
959
959
|
return c(), C("svg", m7, b7);
|
|
960
960
|
}
|
|
961
|
-
const y7 = /* @__PURE__ */
|
|
961
|
+
const y7 = /* @__PURE__ */ y(_7, [["render", w7]]), $7 = {}, M7 = {
|
|
962
962
|
width: "24",
|
|
963
963
|
height: "24",
|
|
964
964
|
viewBox: "0 0 24 24",
|
|
@@ -973,7 +973,7 @@ const y7 = /* @__PURE__ */ w(_7, [["render", w7]]), $7 = {}, M7 = {
|
|
|
973
973
|
function I7(s, e) {
|
|
974
974
|
return c(), C("svg", M7, V7);
|
|
975
975
|
}
|
|
976
|
-
const S7 = /* @__PURE__ */
|
|
976
|
+
const S7 = /* @__PURE__ */ y($7, [["render", I7]]), H7 = {}, E7 = {
|
|
977
977
|
width: "24",
|
|
978
978
|
height: "24",
|
|
979
979
|
viewBox: "0 0 24 24",
|
|
@@ -988,7 +988,7 @@ const S7 = /* @__PURE__ */ w($7, [["render", I7]]), H7 = {}, E7 = {
|
|
|
988
988
|
function O7(s, e) {
|
|
989
989
|
return c(), C("svg", E7, T7);
|
|
990
990
|
}
|
|
991
|
-
const k7 = /* @__PURE__ */
|
|
991
|
+
const k7 = /* @__PURE__ */ y(H7, [["render", O7]]), Z7 = {}, B7 = {
|
|
992
992
|
width: "24",
|
|
993
993
|
height: "24",
|
|
994
994
|
viewBox: "0 0 24 24",
|
|
@@ -1003,7 +1003,7 @@ const k7 = /* @__PURE__ */ w(H7, [["render", O7]]), Z7 = {}, B7 = {
|
|
|
1003
1003
|
function N7(s, e) {
|
|
1004
1004
|
return c(), C("svg", B7, D7);
|
|
1005
1005
|
}
|
|
1006
|
-
const R7 = /* @__PURE__ */
|
|
1006
|
+
const R7 = /* @__PURE__ */ y(Z7, [["render", N7]]), U7 = {}, q7 = {
|
|
1007
1007
|
width: "24",
|
|
1008
1008
|
height: "24",
|
|
1009
1009
|
viewBox: "0 0 24 24",
|
|
@@ -1012,13 +1012,13 @@ const R7 = /* @__PURE__ */ w(Z7, [["render", N7]]), U7 = {}, q7 = {
|
|
|
1012
1012
|
}, j7 = /* @__PURE__ */ u("path", {
|
|
1013
1013
|
d: "M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",
|
|
1014
1014
|
fill: "black"
|
|
1015
|
-
}, null, -1),
|
|
1015
|
+
}, null, -1), x7 = [
|
|
1016
1016
|
j7
|
|
1017
1017
|
];
|
|
1018
|
-
function
|
|
1019
|
-
return c(), C("svg", q7,
|
|
1018
|
+
function K7(s, e) {
|
|
1019
|
+
return c(), C("svg", q7, x7);
|
|
1020
1020
|
}
|
|
1021
|
-
const
|
|
1021
|
+
const z7 = /* @__PURE__ */ y(U7, [["render", K7]]), G7 = {}, F7 = {
|
|
1022
1022
|
width: "24",
|
|
1023
1023
|
height: "24",
|
|
1024
1024
|
viewBox: "0 0 24 24",
|
|
@@ -1033,11 +1033,11 @@ const x7 = /* @__PURE__ */ w(U7, [["render", z7]]), G7 = {}, F7 = {
|
|
|
1033
1033
|
function W7(s, e) {
|
|
1034
1034
|
return c(), C("svg", F7, X7);
|
|
1035
1035
|
}
|
|
1036
|
-
const J7 = /* @__PURE__ */
|
|
1036
|
+
const J7 = /* @__PURE__ */ y(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1037
1037
|
__proto__: null,
|
|
1038
1038
|
AccountBoxSharp: Tt,
|
|
1039
1039
|
AccountCircle: Dt,
|
|
1040
|
-
AccountTreeOutlineRounded:
|
|
1040
|
+
AccountTreeOutlineRounded: xt,
|
|
1041
1041
|
AccountTreeRounded: Xt,
|
|
1042
1042
|
Add: s2,
|
|
1043
1043
|
AddBoxOutlineRounded: r2,
|
|
@@ -1046,7 +1046,7 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1046
1046
|
ArrowDropDownRounded: V2,
|
|
1047
1047
|
ArrowForwardRounded: T2,
|
|
1048
1048
|
AssignmentOutlineRounded: D2,
|
|
1049
|
-
AttachFileRounded:
|
|
1049
|
+
AttachFileRounded: x2,
|
|
1050
1050
|
CalendarTodayOutlineRounded: X2,
|
|
1051
1051
|
ChatOutline: ss,
|
|
1052
1052
|
CheckBoxOutlineBlank: rs,
|
|
@@ -1055,26 +1055,26 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1055
1055
|
CheckSmallRounded: Vs,
|
|
1056
1056
|
ChecklistRounded: Ts,
|
|
1057
1057
|
ChevronLeft: Ds,
|
|
1058
|
-
ChevronRight:
|
|
1058
|
+
ChevronRight: xs,
|
|
1059
1059
|
CloseRounded: Xs,
|
|
1060
|
-
ContactsOutlineRounded:
|
|
1061
|
-
ContentCopyOutline:
|
|
1062
|
-
DeleteOutlineRounded:
|
|
1063
|
-
DragIndicator:
|
|
1064
|
-
EditDocumentRounded:
|
|
1065
|
-
EditOutline:
|
|
1066
|
-
ErrorOutlineRounded:
|
|
1067
|
-
FilterListRounded:
|
|
1068
|
-
FlagRounded:
|
|
1069
|
-
FlowsheetOutlineRounded:
|
|
1070
|
-
GifBox:
|
|
1071
|
-
GroupsOutline:
|
|
1072
|
-
HomeOutlineRounded:
|
|
1073
|
-
ImageRounded:
|
|
1074
|
-
Info:
|
|
1075
|
-
KeyboardArrowDown:
|
|
1076
|
-
KeyboardArrowUp:
|
|
1077
|
-
Loading:
|
|
1060
|
+
ContactsOutlineRounded: sa,
|
|
1061
|
+
ContentCopyOutline: ra,
|
|
1062
|
+
DeleteOutlineRounded: fa,
|
|
1063
|
+
DragIndicator: ba,
|
|
1064
|
+
EditDocumentRounded: Va,
|
|
1065
|
+
EditOutline: Ta,
|
|
1066
|
+
ErrorOutlineRounded: Da,
|
|
1067
|
+
FilterListRounded: xa,
|
|
1068
|
+
FlagRounded: Xa,
|
|
1069
|
+
FlowsheetOutlineRounded: s3,
|
|
1070
|
+
GifBox: r3,
|
|
1071
|
+
GroupsOutline: f3,
|
|
1072
|
+
HomeOutlineRounded: b3,
|
|
1073
|
+
ImageRounded: V3,
|
|
1074
|
+
Info: T3,
|
|
1075
|
+
KeyboardArrowDown: D3,
|
|
1076
|
+
KeyboardArrowUp: x3,
|
|
1077
|
+
Loading: J3,
|
|
1078
1078
|
LogoutRounded: ll,
|
|
1079
1079
|
Menu: cl,
|
|
1080
1080
|
MoreHoriz: vl,
|
|
@@ -1082,7 +1082,7 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1082
1082
|
MoreVert: Sl,
|
|
1083
1083
|
MountainFlagOutlineRounded: kl,
|
|
1084
1084
|
PersonAddOutlineRounded: Rl,
|
|
1085
|
-
PictureAsPdfRounded:
|
|
1085
|
+
PictureAsPdfRounded: zl,
|
|
1086
1086
|
RadioButtonChecked: Jl,
|
|
1087
1087
|
RadioButtonCheckedOutline: l5,
|
|
1088
1088
|
RadioButtonUnchecked: c5,
|
|
@@ -1091,7 +1091,7 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1091
1091
|
SelectCheckBox: S5,
|
|
1092
1092
|
SendRounded: k5,
|
|
1093
1093
|
Settings: R5,
|
|
1094
|
-
SlideshowRounded:
|
|
1094
|
+
SlideshowRounded: z5,
|
|
1095
1095
|
Target: J5,
|
|
1096
1096
|
TaskOutlineRounded: l7,
|
|
1097
1097
|
TextSnippetRounded: c7,
|
|
@@ -1100,7 +1100,7 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1100
1100
|
ViewCompactAltRounded: S7,
|
|
1101
1101
|
ViewTimelineRounded: k7,
|
|
1102
1102
|
WarningOutlineRounded: R7,
|
|
1103
|
-
WarningRounded:
|
|
1103
|
+
WarningRounded: z7,
|
|
1104
1104
|
WaterfallChartRounded: J7
|
|
1105
1105
|
}, Symbol.toStringTag, { value: "Module" })), en = {
|
|
1106
1106
|
SOLID: "solid",
|
|
@@ -1118,7 +1118,7 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1118
1118
|
}, je = {
|
|
1119
1119
|
ROUND: "round",
|
|
1120
1120
|
ROUNDED: "rounded"
|
|
1121
|
-
},
|
|
1121
|
+
}, b1 = /* @__PURE__ */ Y({
|
|
1122
1122
|
__name: "AoIcon",
|
|
1123
1123
|
props: {
|
|
1124
1124
|
name: {},
|
|
@@ -1126,15 +1126,15 @@ const J7 = /* @__PURE__ */ w(G7, [["render", W7]]), Q7 = /* @__PURE__ */ Object.
|
|
|
1126
1126
|
},
|
|
1127
1127
|
setup(s) {
|
|
1128
1128
|
const e = s, t = v(() => Q7[e.name]);
|
|
1129
|
-
return (n, a) => (c(),
|
|
1130
|
-
class:
|
|
1129
|
+
return (n, a) => (c(), U(z1(t.value), {
|
|
1130
|
+
class: D(["ao-icon", `ao-icon--${n.size}`])
|
|
1131
1131
|
}, null, 8, ["class"]));
|
|
1132
1132
|
}
|
|
1133
1133
|
});
|
|
1134
1134
|
const tn = ["type"], sn = {
|
|
1135
1135
|
key: 0,
|
|
1136
1136
|
class: "ao-button__label"
|
|
1137
|
-
}, B1 = /* @__PURE__ */
|
|
1137
|
+
}, B1 = /* @__PURE__ */ Y({
|
|
1138
1138
|
__name: "AoButton",
|
|
1139
1139
|
props: {
|
|
1140
1140
|
label: { default: () => "" },
|
|
@@ -1152,7 +1152,7 @@ const tn = ["type"], sn = {
|
|
|
1152
1152
|
const e = s, t = v(() => e.size), n = v(() => e.isLoading ? "Loading" : e.iconName);
|
|
1153
1153
|
return (a, i) => (c(), C("button", {
|
|
1154
1154
|
type: a.type,
|
|
1155
|
-
class:
|
|
1155
|
+
class: D([
|
|
1156
1156
|
"ao-button",
|
|
1157
1157
|
`ao-button--${a.variant}`,
|
|
1158
1158
|
`ao-button--${a.color}`,
|
|
@@ -1163,10 +1163,10 @@ const tn = ["type"], sn = {
|
|
|
1163
1163
|
a.$attrs.disabled ? "ao-button--is-disabled" : ""
|
|
1164
1164
|
])
|
|
1165
1165
|
}, [
|
|
1166
|
-
|
|
1167
|
-
a.label ? (c(), C("span", sn,
|
|
1166
|
+
q(a.$slots, "default", {}, () => [
|
|
1167
|
+
a.label ? (c(), C("span", sn, x(a.label), 1)) : V("", !0)
|
|
1168
1168
|
]),
|
|
1169
|
-
n.value ? (c(),
|
|
1169
|
+
n.value ? (c(), U(b1, {
|
|
1170
1170
|
key: 0,
|
|
1171
1171
|
name: n.value,
|
|
1172
1172
|
class: "ao-button__icon",
|
|
@@ -1175,7 +1175,7 @@ const tn = ["type"], sn = {
|
|
|
1175
1175
|
], 10, tn));
|
|
1176
1176
|
}
|
|
1177
1177
|
});
|
|
1178
|
-
const
|
|
1178
|
+
const S1 = /* @__PURE__ */ Y({
|
|
1179
1179
|
__name: "AoTitle",
|
|
1180
1180
|
props: {
|
|
1181
1181
|
title: {},
|
|
@@ -1186,23 +1186,23 @@ const I1 = /* @__PURE__ */ X({
|
|
|
1186
1186
|
},
|
|
1187
1187
|
emits: ["update:title", "toggleIsEditing"],
|
|
1188
1188
|
setup(s, { emit: e }) {
|
|
1189
|
-
const t = s, n =
|
|
1189
|
+
const t = s, n = J(null), a = v(() => t.isEditing ? "input" : t.tag || `h${t.level}`), i = (o) => {
|
|
1190
1190
|
const h = (o.target || null).value || "";
|
|
1191
1191
|
e("update:title", h);
|
|
1192
1192
|
}, l = () => {
|
|
1193
1193
|
e("toggleIsEditing", !1);
|
|
1194
1194
|
};
|
|
1195
|
-
return
|
|
1196
|
-
o.isEditing && await
|
|
1195
|
+
return C1(t, async (o) => {
|
|
1196
|
+
o.isEditing && await x1(() => {
|
|
1197
1197
|
setTimeout(() => {
|
|
1198
|
-
var h,
|
|
1199
|
-
const d = (
|
|
1198
|
+
var h, f;
|
|
1199
|
+
const d = (f = (h = n.value) == null ? void 0 : h.parentElement) == null ? void 0 : f.querySelector(
|
|
1200
1200
|
".ao-title"
|
|
1201
1201
|
);
|
|
1202
1202
|
d == null || d.focus();
|
|
1203
1203
|
}, 1);
|
|
1204
1204
|
});
|
|
1205
|
-
}), (o, d) => (c(),
|
|
1205
|
+
}), (o, d) => (c(), U(z1(a.value), H1({
|
|
1206
1206
|
ref: (h) => n.value = h,
|
|
1207
1207
|
class: [
|
|
1208
1208
|
"ao-title",
|
|
@@ -1218,8 +1218,8 @@ const I1 = /* @__PURE__ */ X({
|
|
|
1218
1218
|
mousedown: () => o.$emit("toggleIsEditing", !0)
|
|
1219
1219
|
}
|
|
1220
1220
|
), { onBlur: l }), {
|
|
1221
|
-
default:
|
|
1222
|
-
ye(
|
|
1221
|
+
default: K(() => [
|
|
1222
|
+
ye(x(o.title), 1)
|
|
1223
1223
|
]),
|
|
1224
1224
|
_: 1
|
|
1225
1225
|
}, 16, ["class", "type", "value"]));
|
|
@@ -1243,7 +1243,7 @@ const an = {
|
|
|
1243
1243
|
}, cn = {
|
|
1244
1244
|
key: 2,
|
|
1245
1245
|
class: "ao-card__footer"
|
|
1246
|
-
},
|
|
1246
|
+
}, xe = /* @__PURE__ */ Y({
|
|
1247
1247
|
__name: "AoCardHoriz",
|
|
1248
1248
|
props: {
|
|
1249
1249
|
title: {},
|
|
@@ -1256,24 +1256,24 @@ const an = {
|
|
|
1256
1256
|
},
|
|
1257
1257
|
emits: ["update:title"],
|
|
1258
1258
|
setup(s, { emit: e }) {
|
|
1259
|
-
const t =
|
|
1259
|
+
const t = J(!1), n = (i) => {
|
|
1260
1260
|
t.value = i;
|
|
1261
1261
|
}, a = (i) => {
|
|
1262
1262
|
e("update:title", i);
|
|
1263
1263
|
};
|
|
1264
|
-
return (i, l) => (c(),
|
|
1265
|
-
class:
|
|
1264
|
+
return (i, l) => (c(), U(z1(i.tagName), {
|
|
1265
|
+
class: D(["ao-card", { "ao-card--active": i.isActive }])
|
|
1266
1266
|
}, {
|
|
1267
|
-
default:
|
|
1267
|
+
default: K(() => [
|
|
1268
1268
|
i.isDraggable ? (c(), C("div", an, [
|
|
1269
|
-
|
|
1269
|
+
B(b1, {
|
|
1270
1270
|
name: "DragIndicator",
|
|
1271
1271
|
class: "ao-card__drag-handle"
|
|
1272
1272
|
})
|
|
1273
1273
|
])) : V("", !0),
|
|
1274
1274
|
u("div", ln, [
|
|
1275
1275
|
i.icon ? (c(), C("div", nn, [
|
|
1276
|
-
|
|
1276
|
+
B(b1, {
|
|
1277
1277
|
class: "ao-card__icon",
|
|
1278
1278
|
name: i.icon,
|
|
1279
1279
|
size: "xl"
|
|
@@ -1284,7 +1284,7 @@ const an = {
|
|
|
1284
1284
|
onClick: l[0] || (l[0] = te(() => {
|
|
1285
1285
|
}, ["stop"]))
|
|
1286
1286
|
}, [
|
|
1287
|
-
i.title ? (c(),
|
|
1287
|
+
i.title ? (c(), U(S1, {
|
|
1288
1288
|
key: 0,
|
|
1289
1289
|
class: "ao-card__title",
|
|
1290
1290
|
level: 4,
|
|
@@ -1293,26 +1293,26 @@ const an = {
|
|
|
1293
1293
|
onToggleIsEditing: n,
|
|
1294
1294
|
"onUpdate:title": a
|
|
1295
1295
|
}, null, 8, ["title", "is-editing"])) : V("", !0),
|
|
1296
|
-
|
|
1297
|
-
i.subtitle ? (c(), C("span", on,
|
|
1296
|
+
q(i.$slots, "subtitle", {}, () => [
|
|
1297
|
+
i.subtitle ? (c(), C("span", on, x(i.subtitle), 1)) : V("", !0)
|
|
1298
1298
|
])
|
|
1299
1299
|
]),
|
|
1300
1300
|
i.$slots.header ? (c(), C("div", rn, [
|
|
1301
|
-
|
|
1301
|
+
q(i.$slots, "header")
|
|
1302
1302
|
])) : V("", !0)
|
|
1303
1303
|
]),
|
|
1304
1304
|
i.$slots.default ? (c(), C("div", un, [
|
|
1305
|
-
|
|
1305
|
+
q(i.$slots, "default")
|
|
1306
1306
|
])) : V("", !0),
|
|
1307
1307
|
i.$slots.footer ? (c(), C("div", cn, [
|
|
1308
|
-
|
|
1308
|
+
q(i.$slots, "footer")
|
|
1309
1309
|
])) : V("", !0)
|
|
1310
1310
|
]),
|
|
1311
1311
|
_: 3
|
|
1312
1312
|
}, 8, ["class"]));
|
|
1313
1313
|
}
|
|
1314
1314
|
});
|
|
1315
|
-
const dn = /* @__PURE__ */
|
|
1315
|
+
const dn = /* @__PURE__ */ Y({
|
|
1316
1316
|
__name: "AoTag",
|
|
1317
1317
|
props: {
|
|
1318
1318
|
label: {},
|
|
@@ -1327,7 +1327,7 @@ const dn = /* @__PURE__ */ X({
|
|
|
1327
1327
|
() => t.value === "button" ? { type: "button" } : {}
|
|
1328
1328
|
);
|
|
1329
1329
|
return (a, i) => (c(), C("div", {
|
|
1330
|
-
class:
|
|
1330
|
+
class: D([
|
|
1331
1331
|
"ao-tag",
|
|
1332
1332
|
a.color ? `ao-tag--${a.color}` : "",
|
|
1333
1333
|
a.clickable ? "ao-tag--clickable" : "",
|
|
@@ -1335,11 +1335,11 @@ const dn = /* @__PURE__ */ X({
|
|
|
1335
1335
|
a.variant ? `ao-tag--${a.variant}` : ""
|
|
1336
1336
|
])
|
|
1337
1337
|
}, [
|
|
1338
|
-
(c(),
|
|
1338
|
+
(c(), U(z1(t.value), H1({ class: "ao-tag__label" }, n.value, {
|
|
1339
1339
|
onClick: i[0] || (i[0] = (l) => a.$emit("click", l))
|
|
1340
1340
|
}), {
|
|
1341
|
-
default:
|
|
1342
|
-
ye(
|
|
1341
|
+
default: K(() => [
|
|
1342
|
+
ye(x(a.label), 1)
|
|
1343
1343
|
]),
|
|
1344
1344
|
_: 1
|
|
1345
1345
|
}, 16)),
|
|
@@ -1348,7 +1348,7 @@ const dn = /* @__PURE__ */ X({
|
|
|
1348
1348
|
class: "ao-tag__close",
|
|
1349
1349
|
onClick: i[1] || (i[1] = (l) => a.$emit("close", l))
|
|
1350
1350
|
}, [
|
|
1351
|
-
|
|
1351
|
+
B(b1, {
|
|
1352
1352
|
name: "CloseRounded",
|
|
1353
1353
|
size: "sm",
|
|
1354
1354
|
class: "ao-tag__close-icon"
|
|
@@ -1357,7 +1357,7 @@ const dn = /* @__PURE__ */ X({
|
|
|
1357
1357
|
], 2));
|
|
1358
1358
|
}
|
|
1359
1359
|
});
|
|
1360
|
-
var
|
|
1360
|
+
var h1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, u1 = {}, Ke = {}, q1 = {}, G1 = {}, P1 = {}, ne = {};
|
|
1361
1361
|
Object.defineProperty(ne, "__esModule", { value: !0 });
|
|
1362
1362
|
ne.lexoHelper = void 0;
|
|
1363
1363
|
ne.lexoHelper = {
|
|
@@ -1433,10 +1433,10 @@ class Z {
|
|
|
1433
1433
|
let l = 0;
|
|
1434
1434
|
for (let o = 0; o < a; ++o) {
|
|
1435
1435
|
const d = o < t.length ? t[o] : 0, h = o < n.length ? n[o] : 0;
|
|
1436
|
-
let
|
|
1437
|
-
for (l = 0;
|
|
1436
|
+
let f = d + h + l;
|
|
1437
|
+
for (l = 0; f >= e.getBase(); f -= e.getBase())
|
|
1438
1438
|
++l;
|
|
1439
|
-
i[o] =
|
|
1439
|
+
i[o] = f;
|
|
1440
1440
|
}
|
|
1441
1441
|
return Z.extendWithCarry(i, l);
|
|
1442
1442
|
}
|
|
@@ -1600,34 +1600,34 @@ Z.POSITIVE_SIGN = 1;
|
|
|
1600
1600
|
Object.defineProperty(G1, "__esModule", { value: !0 });
|
|
1601
1601
|
G1.LexoDecimal = void 0;
|
|
1602
1602
|
const j1 = P1, pn = F1;
|
|
1603
|
-
class
|
|
1603
|
+
class d1 {
|
|
1604
1604
|
constructor(e, t) {
|
|
1605
1605
|
this.mag = e, this.sig = t;
|
|
1606
1606
|
}
|
|
1607
1607
|
static half(e) {
|
|
1608
1608
|
const t = e.getBase() / 2 | 0;
|
|
1609
|
-
return
|
|
1609
|
+
return d1.make(j1.LexoInteger.make(e, 1, [t]), 1);
|
|
1610
1610
|
}
|
|
1611
1611
|
static parse(e, t) {
|
|
1612
1612
|
const n = e.indexOf(t.getRadixPointChar());
|
|
1613
1613
|
if (e.lastIndexOf(t.getRadixPointChar()) !== n)
|
|
1614
1614
|
throw new Error("More than one " + t.getRadixPointChar());
|
|
1615
1615
|
if (n < 0)
|
|
1616
|
-
return
|
|
1616
|
+
return d1.make(j1.LexoInteger.parse(e, t), 0);
|
|
1617
1617
|
const a = e.substring(0, n) + e.substring(n + 1);
|
|
1618
|
-
return
|
|
1618
|
+
return d1.make(j1.LexoInteger.parse(a, t), e.length - 1 - n);
|
|
1619
1619
|
}
|
|
1620
1620
|
static from(e) {
|
|
1621
|
-
return
|
|
1621
|
+
return d1.make(e, 0);
|
|
1622
1622
|
}
|
|
1623
1623
|
static make(e, t) {
|
|
1624
1624
|
if (e.isZero())
|
|
1625
|
-
return new
|
|
1625
|
+
return new d1(e, 0);
|
|
1626
1626
|
let n = 0;
|
|
1627
1627
|
for (let l = 0; l < t && e.getMag(l) === 0; ++l)
|
|
1628
1628
|
++n;
|
|
1629
1629
|
const a = e.shiftRight(n), i = t - n;
|
|
1630
|
-
return new
|
|
1630
|
+
return new d1(a, i);
|
|
1631
1631
|
}
|
|
1632
1632
|
getSystem() {
|
|
1633
1633
|
return this.mag.getSystem();
|
|
@@ -1638,7 +1638,7 @@ class u1 {
|
|
|
1638
1638
|
t = t.shiftLeft();
|
|
1639
1639
|
for (; n > i; )
|
|
1640
1640
|
a = a.shiftLeft(), ++i;
|
|
1641
|
-
return
|
|
1641
|
+
return d1.make(t.add(a), n);
|
|
1642
1642
|
}
|
|
1643
1643
|
subtract(e) {
|
|
1644
1644
|
let t = this.mag, n = this.sig, a = e.mag, i;
|
|
@@ -1646,10 +1646,10 @@ class u1 {
|
|
|
1646
1646
|
t = t.shiftLeft();
|
|
1647
1647
|
for (; n > i; )
|
|
1648
1648
|
a = a.shiftLeft(), ++i;
|
|
1649
|
-
return
|
|
1649
|
+
return d1.make(t.subtract(a), n);
|
|
1650
1650
|
}
|
|
1651
1651
|
multiply(e) {
|
|
1652
|
-
return
|
|
1652
|
+
return d1.make(this.mag.multiply(e.mag), this.sig + e.sig);
|
|
1653
1653
|
}
|
|
1654
1654
|
floor() {
|
|
1655
1655
|
return this.mag.shiftRight(this.sig);
|
|
@@ -1677,7 +1677,7 @@ class u1 {
|
|
|
1677
1677
|
e < 0 && (e = 0);
|
|
1678
1678
|
const n = this.sig - e;
|
|
1679
1679
|
let a = this.mag.shiftRight(n);
|
|
1680
|
-
return t && (a = a.add(j1.LexoInteger.one(a.getSystem()))),
|
|
1680
|
+
return t && (a = a.add(j1.LexoInteger.one(a.getSystem()))), d1.make(a, e);
|
|
1681
1681
|
}
|
|
1682
1682
|
compareTo(e) {
|
|
1683
1683
|
if (this === e)
|
|
@@ -1703,9 +1703,9 @@ class u1 {
|
|
|
1703
1703
|
return this.format();
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
|
-
G1.LexoDecimal =
|
|
1706
|
+
G1.LexoDecimal = d1;
|
|
1707
1707
|
var ee = {}, De;
|
|
1708
|
-
function
|
|
1708
|
+
function ze() {
|
|
1709
1709
|
if (De)
|
|
1710
1710
|
return ee;
|
|
1711
1711
|
De = 1, Object.defineProperty(ee, "__esModule", { value: !0 });
|
|
@@ -1859,7 +1859,7 @@ class mn {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
re.LexoNumeralSystem64 = mn;
|
|
1861
1861
|
(function(s) {
|
|
1862
|
-
var e =
|
|
1862
|
+
var e = h1 && h1.__createBinding || (Object.create ? function(n, a, i, l) {
|
|
1863
1863
|
l === void 0 && (l = i);
|
|
1864
1864
|
var o = Object.getOwnPropertyDescriptor(a, i);
|
|
1865
1865
|
(!o || ("get" in o ? !a.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
|
|
@@ -1867,7 +1867,7 @@ re.LexoNumeralSystem64 = mn;
|
|
|
1867
1867
|
} }), Object.defineProperty(n, l, o);
|
|
1868
1868
|
} : function(n, a, i, l) {
|
|
1869
1869
|
l === void 0 && (l = i), n[l] = a[i];
|
|
1870
|
-
}), t =
|
|
1870
|
+
}), t = h1 && h1.__exportStar || function(n, a) {
|
|
1871
1871
|
for (var i in n)
|
|
1872
1872
|
i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
|
|
1873
1873
|
};
|
|
@@ -1878,7 +1878,7 @@ function Fe() {
|
|
|
1878
1878
|
if (Ne)
|
|
1879
1879
|
return q1;
|
|
1880
1880
|
Ne = 1, Object.defineProperty(q1, "__esModule", { value: !0 }), q1.LexoRank = void 0;
|
|
1881
|
-
const s = G1, e =
|
|
1881
|
+
const s = G1, e = ze(), t = F1, n = Me;
|
|
1882
1882
|
class a {
|
|
1883
1883
|
constructor(l, o) {
|
|
1884
1884
|
this.value = l.format() + "|" + a.formatDecimal(o), this.bucket = l, this.decimal = o;
|
|
@@ -1926,35 +1926,35 @@ function Fe() {
|
|
|
1926
1926
|
static between(l, o) {
|
|
1927
1927
|
if (l.getSystem().getBase() !== o.getSystem().getBase())
|
|
1928
1928
|
throw new Error("Expected same system");
|
|
1929
|
-
let d = l, h = o,
|
|
1929
|
+
let d = l, h = o, f;
|
|
1930
1930
|
if (l.getScale() < o.getScale()) {
|
|
1931
|
-
if (
|
|
1931
|
+
if (f = o.setScale(l.getScale(), !1), l.compareTo(f) >= 0)
|
|
1932
1932
|
return a.mid(l, o);
|
|
1933
|
-
h =
|
|
1933
|
+
h = f;
|
|
1934
1934
|
}
|
|
1935
1935
|
if (l.getScale() > h.getScale()) {
|
|
1936
|
-
if (
|
|
1936
|
+
if (f = l.setScale(h.getScale(), !0), f.compareTo(h) >= 0)
|
|
1937
1937
|
return a.mid(l, o);
|
|
1938
|
-
d =
|
|
1938
|
+
d = f;
|
|
1939
1939
|
}
|
|
1940
|
-
let
|
|
1941
|
-
for (let _ = d.getScale(); _ > 0; h =
|
|
1942
|
-
const
|
|
1943
|
-
if (
|
|
1944
|
-
return a.checkMid(l, o,
|
|
1945
|
-
if (
|
|
1940
|
+
let S;
|
|
1941
|
+
for (let _ = d.getScale(); _ > 0; h = S) {
|
|
1942
|
+
const $ = _ - 1, I = d.setScale($, !0);
|
|
1943
|
+
if (S = h.setScale($, !1), I.compareTo(S) === 0)
|
|
1944
|
+
return a.checkMid(l, o, I);
|
|
1945
|
+
if (I.compareTo(S) > 0)
|
|
1946
1946
|
break;
|
|
1947
|
-
_ =
|
|
1947
|
+
_ = $, d = I;
|
|
1948
1948
|
}
|
|
1949
|
-
let
|
|
1950
|
-
for (let _ =
|
|
1951
|
-
|
|
1952
|
-
const
|
|
1953
|
-
if (l.compareTo(
|
|
1949
|
+
let k = a.middleInternal(l, o, d, h), O;
|
|
1950
|
+
for (let _ = k.getScale(); _ > 0; _ = O) {
|
|
1951
|
+
O = _ - 1;
|
|
1952
|
+
const $ = k.setScale(O);
|
|
1953
|
+
if (l.compareTo($) >= 0 || $.compareTo(o) >= 0)
|
|
1954
1954
|
break;
|
|
1955
|
-
|
|
1955
|
+
k = $;
|
|
1956
1956
|
}
|
|
1957
|
-
return
|
|
1957
|
+
return k;
|
|
1958
1958
|
}
|
|
1959
1959
|
static parse(l) {
|
|
1960
1960
|
const o = l.split("|"), d = e.default.from(o[0]), h = s.LexoDecimal.parse(o[1], a.NUMERAL_SYSTEM);
|
|
@@ -1966,31 +1966,31 @@ function Fe() {
|
|
|
1966
1966
|
return new a(l, o);
|
|
1967
1967
|
}
|
|
1968
1968
|
static middleInternal(l, o, d, h) {
|
|
1969
|
-
const
|
|
1970
|
-
return a.checkMid(l, o,
|
|
1969
|
+
const f = a.mid(d, h);
|
|
1970
|
+
return a.checkMid(l, o, f);
|
|
1971
1971
|
}
|
|
1972
1972
|
static checkMid(l, o, d) {
|
|
1973
1973
|
return l.compareTo(d) >= 0 || d.compareTo(o) >= 0 ? a.mid(l, o) : d;
|
|
1974
1974
|
}
|
|
1975
1975
|
static mid(l, o) {
|
|
1976
|
-
const h = l.add(o).multiply(s.LexoDecimal.half(l.getSystem())),
|
|
1977
|
-
if (h.getScale() >
|
|
1978
|
-
const
|
|
1979
|
-
if (
|
|
1980
|
-
return
|
|
1981
|
-
const
|
|
1982
|
-
if (
|
|
1983
|
-
return
|
|
1976
|
+
const h = l.add(o).multiply(s.LexoDecimal.half(l.getSystem())), f = l.getScale() > o.getScale() ? l.getScale() : o.getScale();
|
|
1977
|
+
if (h.getScale() > f) {
|
|
1978
|
+
const S = h.setScale(f, !1);
|
|
1979
|
+
if (S.compareTo(l) > 0)
|
|
1980
|
+
return S;
|
|
1981
|
+
const k = h.setScale(f, !0);
|
|
1982
|
+
if (k.compareTo(o) < 0)
|
|
1983
|
+
return k;
|
|
1984
1984
|
}
|
|
1985
1985
|
return h;
|
|
1986
1986
|
}
|
|
1987
1987
|
static formatDecimal(l) {
|
|
1988
1988
|
const o = l.format(), d = new t.default(o);
|
|
1989
1989
|
let h = o.indexOf(a.NUMERAL_SYSTEM.getRadixPointChar());
|
|
1990
|
-
const
|
|
1990
|
+
const f = a.NUMERAL_SYSTEM.toChar(0);
|
|
1991
1991
|
for (h < 0 && (h = o.length, d.append(a.NUMERAL_SYSTEM.getRadixPointChar())); h < 6; )
|
|
1992
|
-
d.insert(0,
|
|
1993
|
-
for (; d[d.length - 1] ===
|
|
1992
|
+
d.insert(0, f), ++h;
|
|
1993
|
+
for (; d[d.length - 1] === f; )
|
|
1994
1994
|
d.length = d.length - 1;
|
|
1995
1995
|
return d.toString();
|
|
1996
1996
|
}
|
|
@@ -2052,7 +2052,7 @@ function Fe() {
|
|
|
2052
2052
|
return q1.LexoRank = a, q1;
|
|
2053
2053
|
}
|
|
2054
2054
|
(function(s) {
|
|
2055
|
-
var e =
|
|
2055
|
+
var e = h1 && h1.__createBinding || (Object.create ? function(n, a, i, l) {
|
|
2056
2056
|
l === void 0 && (l = i);
|
|
2057
2057
|
var o = Object.getOwnPropertyDescriptor(a, i);
|
|
2058
2058
|
(!o || ("get" in o ? !a.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
|
|
@@ -2060,14 +2060,14 @@ function Fe() {
|
|
|
2060
2060
|
} }), Object.defineProperty(n, l, o);
|
|
2061
2061
|
} : function(n, a, i, l) {
|
|
2062
2062
|
l === void 0 && (l = i), n[l] = a[i];
|
|
2063
|
-
}), t =
|
|
2063
|
+
}), t = h1 && h1.__exportStar || function(n, a) {
|
|
2064
2064
|
for (var i in n)
|
|
2065
2065
|
i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
|
|
2066
2066
|
};
|
|
2067
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), t(Fe(), s), t(
|
|
2068
|
-
})(
|
|
2067
|
+
Object.defineProperty(s, "__esModule", { value: !0 }), t(Fe(), s), t(ze(), s), t(G1, s), t(P1, s);
|
|
2068
|
+
})(Ke);
|
|
2069
2069
|
(function(s) {
|
|
2070
|
-
var e =
|
|
2070
|
+
var e = h1 && h1.__createBinding || (Object.create ? function(n, a, i, l) {
|
|
2071
2071
|
l === void 0 && (l = i);
|
|
2072
2072
|
var o = Object.getOwnPropertyDescriptor(a, i);
|
|
2073
2073
|
(!o || ("get" in o ? !a.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
|
|
@@ -2075,12 +2075,12 @@ function Fe() {
|
|
|
2075
2075
|
} }), Object.defineProperty(n, l, o);
|
|
2076
2076
|
} : function(n, a, i, l) {
|
|
2077
2077
|
l === void 0 && (l = i), n[l] = a[i];
|
|
2078
|
-
}), t =
|
|
2078
|
+
}), t = h1 && h1.__exportStar || function(n, a) {
|
|
2079
2079
|
for (var i in n)
|
|
2080
2080
|
i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
|
|
2081
2081
|
};
|
|
2082
|
-
Object.defineProperty(s, "__esModule", { value: !0 }), t(
|
|
2083
|
-
})(
|
|
2082
|
+
Object.defineProperty(s, "__esModule", { value: !0 }), t(Ke, s), t(Me, s);
|
|
2083
|
+
})(u1);
|
|
2084
2084
|
function Ye(s) {
|
|
2085
2085
|
return (s == null ? void 0 : s.reduce((e, t) => {
|
|
2086
2086
|
var n;
|
|
@@ -2107,16 +2107,16 @@ function Le(s, e) {
|
|
|
2107
2107
|
if (s.moved) {
|
|
2108
2108
|
const { newIndex: t } = s.moved;
|
|
2109
2109
|
if (t === 0 && e.length > 0)
|
|
2110
|
-
return
|
|
2110
|
+
return u1.LexoRank.parse(e[0].rank).genPrev().format();
|
|
2111
2111
|
if (t === e.length - 1)
|
|
2112
|
-
return
|
|
2112
|
+
return u1.LexoRank.parse(e.at(-1).rank).genNext().format();
|
|
2113
2113
|
{
|
|
2114
2114
|
const n = e[t - 1], a = e[t];
|
|
2115
|
-
return
|
|
2115
|
+
return u1.LexoRank.parse(a.rank).between(u1.LexoRank.parse(n.rank)).format();
|
|
2116
2116
|
}
|
|
2117
2117
|
}
|
|
2118
2118
|
}
|
|
2119
|
-
const yn = ["title"], $n = { className: "ao-avatar__initials" }, Mn = /* @__PURE__ */
|
|
2119
|
+
const yn = ["title"], $n = { className: "ao-avatar__initials" }, Mn = /* @__PURE__ */ Y({
|
|
2120
2120
|
__name: "AoAvatar",
|
|
2121
2121
|
props: {
|
|
2122
2122
|
userName: {},
|
|
@@ -2130,11 +2130,11 @@ const yn = ["title"], $n = { className: "ao-avatar__initials" }, Mn = /* @__PURE
|
|
|
2130
2130
|
};
|
|
2131
2131
|
return (i, l) => (c(), C("div", {
|
|
2132
2132
|
role: "img",
|
|
2133
|
-
class:
|
|
2133
|
+
class: D(["ao-avatar", `ao-avatar--${i.size}`]),
|
|
2134
2134
|
title: i.userName
|
|
2135
2135
|
}, [
|
|
2136
|
-
u("span", $n,
|
|
2137
|
-
i.isClosable ? (c(),
|
|
2136
|
+
u("span", $n, x(a1(n)), 1),
|
|
2137
|
+
i.isClosable ? (c(), U(B1, {
|
|
2138
2138
|
key: 0,
|
|
2139
2139
|
"icon-name": "CloseRounded",
|
|
2140
2140
|
class: "ao-avatar__close",
|
|
@@ -2151,7 +2151,7 @@ const Ln = { class: "ao-card-template__subitems" }, Vn = { class: "ao-card-templ
|
|
|
2151
2151
|
}, Zn = { class: "ao-card-template__col ao-card-template__col--updated-at" }, Bn = { class: "ao-card-template__col-title" }, Pn = { class: "ao-card-template__col-label" }, Dn = { class: "ao-card-template__col-body" }, Nn = {
|
|
2152
2152
|
key: 0,
|
|
2153
2153
|
class: "ao-card-template__col ao-card-template__col--updated-by"
|
|
2154
|
-
}, Rn = { class: "ao-card-template__col-title" }, Un = { class: "ao-card-template__col-label" }, qn = { class: "ao-card-template__col-body" }, jn = /* @__PURE__ */
|
|
2154
|
+
}, Rn = { class: "ao-card-template__col-title" }, Un = { class: "ao-card-template__col-label" }, qn = { class: "ao-card-template__col-body" }, jn = /* @__PURE__ */ Y({
|
|
2155
2155
|
__name: "AoCardTemplate",
|
|
2156
2156
|
props: {
|
|
2157
2157
|
title: {},
|
|
@@ -2162,40 +2162,40 @@ const Ln = { class: "ao-card-template__subitems" }, Vn = { class: "ao-card-templ
|
|
|
2162
2162
|
updatedBy: {}
|
|
2163
2163
|
},
|
|
2164
2164
|
setup(s) {
|
|
2165
|
-
return (e, t) => (c(),
|
|
2165
|
+
return (e, t) => (c(), U(xe, {
|
|
2166
2166
|
title: e.title,
|
|
2167
2167
|
"is-draggable": !0
|
|
2168
2168
|
}, {
|
|
2169
|
-
subtitle:
|
|
2169
|
+
subtitle: K(() => [
|
|
2170
2170
|
u("ul", Ln, [
|
|
2171
2171
|
u("li", Vn, [
|
|
2172
|
-
|
|
2172
|
+
B(b1, {
|
|
2173
2173
|
name: "MountainFlagOutlineRounded",
|
|
2174
2174
|
size: "sm"
|
|
2175
2175
|
}),
|
|
2176
|
-
u("span", In,
|
|
2176
|
+
u("span", In, x(e.milestones), 1)
|
|
2177
2177
|
]),
|
|
2178
2178
|
u("li", Sn, [
|
|
2179
|
-
|
|
2179
|
+
B(b1, {
|
|
2180
2180
|
name: "TaskOutlineRounded",
|
|
2181
2181
|
size: "sm"
|
|
2182
2182
|
}),
|
|
2183
|
-
u("span", Hn,
|
|
2183
|
+
u("span", Hn, x(e.activities), 1)
|
|
2184
2184
|
])
|
|
2185
2185
|
])
|
|
2186
2186
|
]),
|
|
2187
|
-
default:
|
|
2187
|
+
default: K(() => [
|
|
2188
2188
|
u("div", En, [
|
|
2189
2189
|
u("div", An, [
|
|
2190
2190
|
u("div", Tn, [
|
|
2191
|
-
|
|
2191
|
+
B(b1, {
|
|
2192
2192
|
name: "WaterfallChartRounded",
|
|
2193
2193
|
size: "sm"
|
|
2194
2194
|
}),
|
|
2195
|
-
u("span", On,
|
|
2195
|
+
u("span", On, x(e.$t("template.phases.title")), 1)
|
|
2196
2196
|
]),
|
|
2197
2197
|
e.phases ? (c(), C("ul", kn, [
|
|
2198
|
-
(c(!0), C(
|
|
2198
|
+
(c(!0), C(g1, null, I1(e.phases, (n) => (c(), U(dn, {
|
|
2199
2199
|
key: n.id,
|
|
2200
2200
|
label: n.name || n.id,
|
|
2201
2201
|
color: "primary",
|
|
@@ -2205,18 +2205,18 @@ const Ln = { class: "ao-card-template__subitems" }, Vn = { class: "ao-card-templ
|
|
|
2205
2205
|
]),
|
|
2206
2206
|
u("div", Zn, [
|
|
2207
2207
|
u("div", Bn, [
|
|
2208
|
-
u("span", Pn,
|
|
2208
|
+
u("span", Pn, x(e.$t("template.updatedAt.label")), 1)
|
|
2209
2209
|
]),
|
|
2210
2210
|
u("div", Dn, [
|
|
2211
|
-
u("span", null,
|
|
2211
|
+
u("span", null, x(e.updatedAt), 1)
|
|
2212
2212
|
])
|
|
2213
2213
|
]),
|
|
2214
2214
|
e.updatedBy ? (c(), C("div", Nn, [
|
|
2215
2215
|
u("div", Rn, [
|
|
2216
|
-
u("span", Un,
|
|
2216
|
+
u("span", Un, x(e.$t("template.updatedBy.label")), 1)
|
|
2217
2217
|
]),
|
|
2218
2218
|
u("div", qn, [
|
|
2219
|
-
|
|
2219
|
+
B(Mn, { "user-name": e.updatedBy }, null, 8, ["user-name"])
|
|
2220
2220
|
])
|
|
2221
2221
|
])) : V("", !0)
|
|
2222
2222
|
])
|
|
@@ -2225,25 +2225,25 @@ const Ln = { class: "ao-card-template__subitems" }, Vn = { class: "ao-card-templ
|
|
|
2225
2225
|
}, 8, ["title"]));
|
|
2226
2226
|
}
|
|
2227
2227
|
});
|
|
2228
|
-
const
|
|
2228
|
+
const xn = { class: "ao-page-header" }, Kn = { class: "ao-page-header-main" }, zn = { class: "ao-page-header-secondary" }, Xe = /* @__PURE__ */ Y({
|
|
2229
2229
|
__name: "AoPageHeader",
|
|
2230
2230
|
props: {
|
|
2231
2231
|
canGoBack: { type: Boolean }
|
|
2232
2232
|
},
|
|
2233
2233
|
emits: ["goBack"],
|
|
2234
2234
|
setup(s) {
|
|
2235
|
-
return (e, t) => (c(), C("header",
|
|
2236
|
-
u("div",
|
|
2237
|
-
e.canGoBack ? (c(),
|
|
2235
|
+
return (e, t) => (c(), C("header", xn, [
|
|
2236
|
+
u("div", Kn, [
|
|
2237
|
+
e.canGoBack ? (c(), U(B1, {
|
|
2238
2238
|
key: 0,
|
|
2239
2239
|
"icon-name": "ArrowBackRounded",
|
|
2240
2240
|
variant: "ghost",
|
|
2241
2241
|
onClick: t[0] || (t[0] = (n) => e.$emit("goBack"))
|
|
2242
2242
|
})) : V("", !0),
|
|
2243
|
-
|
|
2243
|
+
q(e.$slots, "primary")
|
|
2244
2244
|
]),
|
|
2245
|
-
u("div",
|
|
2246
|
-
|
|
2245
|
+
u("div", zn, [
|
|
2246
|
+
q(e.$slots, "secondary")
|
|
2247
2247
|
])
|
|
2248
2248
|
]));
|
|
2249
2249
|
}
|
|
@@ -2251,7 +2251,7 @@ const Kn = { class: "ao-page-header" }, zn = { class: "ao-page-header-main" }, x
|
|
|
2251
2251
|
const Gn = ["type"], Fn = {
|
|
2252
2252
|
key: 0,
|
|
2253
2253
|
class: "ao-button-card__label"
|
|
2254
|
-
}, ue = /* @__PURE__ */
|
|
2254
|
+
}, ue = /* @__PURE__ */ Y({
|
|
2255
2255
|
__name: "AoButtonCard",
|
|
2256
2256
|
props: {
|
|
2257
2257
|
label: { default: () => "" },
|
|
@@ -2267,17 +2267,17 @@ const Gn = ["type"], Fn = {
|
|
|
2267
2267
|
const e = s, t = v(() => e.size), n = v(() => e.isLoading ? "Loading" : e.iconName);
|
|
2268
2268
|
return (a, i) => (c(), C("button", {
|
|
2269
2269
|
type: a.type,
|
|
2270
|
-
class:
|
|
2270
|
+
class: D([
|
|
2271
2271
|
"ao-button-card",
|
|
2272
2272
|
`ao-button-card--${a.color}`,
|
|
2273
2273
|
`ao-button-card--${a.corners}`,
|
|
2274
2274
|
a.$attrs.disabled ? "ao-button-card--is-disabled" : ""
|
|
2275
2275
|
])
|
|
2276
2276
|
}, [
|
|
2277
|
-
|
|
2278
|
-
a.label ? (c(), C("span", Fn,
|
|
2277
|
+
q(a.$slots, "default", {}, () => [
|
|
2278
|
+
a.label ? (c(), C("span", Fn, x(a.label), 1)) : V("", !0)
|
|
2279
2279
|
]),
|
|
2280
|
-
n.value ? (c(),
|
|
2280
|
+
n.value ? (c(), U(b1, {
|
|
2281
2281
|
key: 0,
|
|
2282
2282
|
name: n.value,
|
|
2283
2283
|
class: "ao-button-card__icon",
|
|
@@ -2289,7 +2289,7 @@ const Gn = ["type"], Fn = {
|
|
|
2289
2289
|
const Yn = { class: "ao-card-template-item__footer" }, Xn = {
|
|
2290
2290
|
key: 0,
|
|
2291
2291
|
class: "ao-card-template-item__subitem"
|
|
2292
|
-
}, Wn = { class: "ao-card-template-item__subitem-number" }, Ve = /* @__PURE__ */
|
|
2292
|
+
}, Wn = { class: "ao-card-template-item__subitem-number" }, Ve = /* @__PURE__ */ Y({
|
|
2293
2293
|
__name: "AoCardTemplateItem",
|
|
2294
2294
|
props: {
|
|
2295
2295
|
milestones: {},
|
|
@@ -2307,16 +2307,16 @@ const Yn = { class: "ao-card-template-item__footer" }, Xn = {
|
|
|
2307
2307
|
rules: "FlowsheetOutlineRounded",
|
|
2308
2308
|
subtasks: "ChecklistRounded"
|
|
2309
2309
|
};
|
|
2310
|
-
return (i, l) => (c(),
|
|
2311
|
-
footer:
|
|
2310
|
+
return (i, l) => (c(), U(xe, { "onUpdate:title": t }, {
|
|
2311
|
+
footer: K(() => [
|
|
2312
2312
|
u("ul", Yn, [
|
|
2313
|
-
(c(), C(
|
|
2313
|
+
(c(), C(g1, null, I1(n, (o) => (c(), C(g1, { key: o }, [
|
|
2314
2314
|
i.$props[o] ? (c(), C("li", Xn, [
|
|
2315
|
-
|
|
2315
|
+
B(b1, {
|
|
2316
2316
|
name: a[o],
|
|
2317
2317
|
size: "sm"
|
|
2318
2318
|
}, null, 8, ["name"]),
|
|
2319
|
-
u("span", Wn,
|
|
2319
|
+
u("span", Wn, x(i.$props[o]), 1)
|
|
2320
2320
|
])) : V("", !0)
|
|
2321
2321
|
], 64))), 64))
|
|
2322
2322
|
])
|
|
@@ -2325,7 +2325,7 @@ const Yn = { class: "ao-card-template-item__footer" }, Xn = {
|
|
|
2325
2325
|
}));
|
|
2326
2326
|
}
|
|
2327
2327
|
});
|
|
2328
|
-
const Jn = /* @__PURE__ */
|
|
2328
|
+
const Jn = /* @__PURE__ */ Y({
|
|
2329
2329
|
__name: "AoCardTemplateItemPhase",
|
|
2330
2330
|
props: {
|
|
2331
2331
|
id: {},
|
|
@@ -2337,18 +2337,18 @@ const Jn = /* @__PURE__ */ X({
|
|
|
2337
2337
|
var a;
|
|
2338
2338
|
return (a = e.milestones) == null ? void 0 : a.length;
|
|
2339
2339
|
}), n = v(() => e.milestones ? Ye(e.milestones) : 0);
|
|
2340
|
-
return (a, i) => (c(),
|
|
2340
|
+
return (a, i) => (c(), U(Ve, H1({
|
|
2341
2341
|
title: a.name,
|
|
2342
2342
|
activities: n.value,
|
|
2343
2343
|
milestones: t.value
|
|
2344
2344
|
}, a.$attrs), {
|
|
2345
|
-
default:
|
|
2346
|
-
|
|
2345
|
+
default: K(() => [
|
|
2346
|
+
q(a.$slots, "default")
|
|
2347
2347
|
]),
|
|
2348
2348
|
_: 3
|
|
2349
2349
|
}, 16, ["title", "activities", "milestones"]));
|
|
2350
2350
|
}
|
|
2351
|
-
}), Qn = /* @__PURE__ */
|
|
2351
|
+
}), Qn = /* @__PURE__ */ Y({
|
|
2352
2352
|
__name: "AoCardTemplateItemMilestone",
|
|
2353
2353
|
props: {
|
|
2354
2354
|
activities: {}
|
|
@@ -2358,18 +2358,18 @@ const Jn = /* @__PURE__ */ X({
|
|
|
2358
2358
|
var n;
|
|
2359
2359
|
return ((n = e.activities) == null ? void 0 : n.length) || 0;
|
|
2360
2360
|
});
|
|
2361
|
-
return (n, a) => (c(),
|
|
2362
|
-
default:
|
|
2363
|
-
|
|
2361
|
+
return (n, a) => (c(), U(Ve, { activities: t.value }, {
|
|
2362
|
+
default: K(() => [
|
|
2363
|
+
q(n.$slots, "default")
|
|
2364
2364
|
]),
|
|
2365
2365
|
_: 3
|
|
2366
2366
|
}, 8, ["activities"]));
|
|
2367
2367
|
}
|
|
2368
|
-
}),
|
|
2368
|
+
}), Ki = {
|
|
2369
2369
|
months: "months",
|
|
2370
2370
|
weeks: "weeks",
|
|
2371
2371
|
days: "days"
|
|
2372
|
-
},
|
|
2372
|
+
}, zi = {
|
|
2373
2373
|
todo: "todo",
|
|
2374
2374
|
done: "done",
|
|
2375
2375
|
archived: "archived"
|
|
@@ -2389,7 +2389,7 @@ const Jn = /* @__PURE__ */ X({
|
|
|
2389
2389
|
DAYS: "days",
|
|
2390
2390
|
WEEKS: "weeks",
|
|
2391
2391
|
MONTHS: "months"
|
|
2392
|
-
},
|
|
2392
|
+
}, o1 = {
|
|
2393
2393
|
TEMPLATES: "templates",
|
|
2394
2394
|
PHASES: "phases",
|
|
2395
2395
|
MILESTONES: "milestones",
|
|
@@ -2404,7 +2404,7 @@ const Fi = {
|
|
|
2404
2404
|
project: "project",
|
|
2405
2405
|
activity_type: "activity_type",
|
|
2406
2406
|
assignee: "assignee"
|
|
2407
|
-
}, l0 = { class: "ao-list__footer" }, n0 = /* @__PURE__ */
|
|
2407
|
+
}, l0 = { class: "ao-list__footer" }, n0 = /* @__PURE__ */ Y({
|
|
2408
2408
|
__name: "AoTemplateDetailsMilestones",
|
|
2409
2409
|
props: {
|
|
2410
2410
|
templateId: {},
|
|
@@ -2421,7 +2421,7 @@ const Fi = {
|
|
|
2421
2421
|
set(l) {
|
|
2422
2422
|
const o = l.map((d, h) => (d.order = h, d));
|
|
2423
2423
|
e("updatePhase", {
|
|
2424
|
-
itemType:
|
|
2424
|
+
itemType: o1.PHASES,
|
|
2425
2425
|
id: t.phase.id,
|
|
2426
2426
|
templateId: t.templateId,
|
|
2427
2427
|
data: {
|
|
@@ -2438,7 +2438,7 @@ const Fi = {
|
|
|
2438
2438
|
if (l.moved) {
|
|
2439
2439
|
const o = Le(l, t.phase.milestones);
|
|
2440
2440
|
e("updateItem", {
|
|
2441
|
-
itemType:
|
|
2441
|
+
itemType: o1.MILESTONES,
|
|
2442
2442
|
id: l.moved.element.id,
|
|
2443
2443
|
templateId: t.templateId,
|
|
2444
2444
|
data: {
|
|
@@ -2447,7 +2447,7 @@ const Fi = {
|
|
|
2447
2447
|
});
|
|
2448
2448
|
}
|
|
2449
2449
|
};
|
|
2450
|
-
return (l, o) => l.phase ? (c(),
|
|
2450
|
+
return (l, o) => l.phase ? (c(), U(a1(ae), {
|
|
2451
2451
|
key: 0,
|
|
2452
2452
|
"model-value": l.phase.milestones,
|
|
2453
2453
|
class: "ao-templates__list",
|
|
@@ -2456,15 +2456,15 @@ const Fi = {
|
|
|
2456
2456
|
"item-key": "id",
|
|
2457
2457
|
onChange: i
|
|
2458
2458
|
}, {
|
|
2459
|
-
header:
|
|
2460
|
-
|
|
2459
|
+
header: K(() => [
|
|
2460
|
+
B(S1, {
|
|
2461
2461
|
title: "Milestones",
|
|
2462
2462
|
level: 3,
|
|
2463
2463
|
class: "ao-list__title"
|
|
2464
2464
|
})
|
|
2465
2465
|
]),
|
|
2466
|
-
item:
|
|
2467
|
-
(c(),
|
|
2466
|
+
item: K(({ element: d }) => [
|
|
2467
|
+
(c(), U(Qn, {
|
|
2468
2468
|
key: d.id,
|
|
2469
2469
|
title: d.name,
|
|
2470
2470
|
activities: d.activities,
|
|
@@ -2478,9 +2478,9 @@ const Fi = {
|
|
|
2478
2478
|
})
|
|
2479
2479
|
}, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick"]))
|
|
2480
2480
|
]),
|
|
2481
|
-
footer:
|
|
2481
|
+
footer: K(() => [
|
|
2482
2482
|
u("div", l0, [
|
|
2483
|
-
|
|
2483
|
+
B(ue, {
|
|
2484
2484
|
"icon-name": "AddBoxOutlineRounded",
|
|
2485
2485
|
label: l.$t("template.milestones.add"),
|
|
2486
2486
|
onClick: n
|
|
@@ -2490,7 +2490,7 @@ const Fi = {
|
|
|
2490
2490
|
_: 1
|
|
2491
2491
|
}, 8, ["model-value", "title"])) : V("", !0);
|
|
2492
2492
|
}
|
|
2493
|
-
}), i0 = /* @__PURE__ */
|
|
2493
|
+
}), i0 = /* @__PURE__ */ Y({
|
|
2494
2494
|
__name: "AoCardTemplateItemActivity",
|
|
2495
2495
|
props: {
|
|
2496
2496
|
name: {},
|
|
@@ -2501,14 +2501,14 @@ const Fi = {
|
|
|
2501
2501
|
var n;
|
|
2502
2502
|
return ((n = e.subtasks) == null ? void 0 : n.length) || 0;
|
|
2503
2503
|
});
|
|
2504
|
-
return (n, a) => (c(),
|
|
2505
|
-
default:
|
|
2506
|
-
|
|
2504
|
+
return (n, a) => (c(), U(Ve, { subtasks: t.value }, {
|
|
2505
|
+
default: K(() => [
|
|
2506
|
+
q(n.$slots, "default")
|
|
2507
2507
|
]),
|
|
2508
2508
|
_: 3
|
|
2509
2509
|
}, 8, ["subtasks"]));
|
|
2510
2510
|
}
|
|
2511
|
-
}), o0 = { class: "ao-list__footer" }, r0 = /* @__PURE__ */
|
|
2511
|
+
}), o0 = { class: "ao-list__footer" }, r0 = /* @__PURE__ */ Y({
|
|
2512
2512
|
__name: "AoTemplateDetailsActivities",
|
|
2513
2513
|
props: {
|
|
2514
2514
|
templateId: {},
|
|
@@ -2543,7 +2543,7 @@ const Fi = {
|
|
|
2543
2543
|
});
|
|
2544
2544
|
}
|
|
2545
2545
|
});
|
|
2546
|
-
return (l, o) => l.milestone ? (c(),
|
|
2546
|
+
return (l, o) => l.milestone ? (c(), U(a1(ae), {
|
|
2547
2547
|
key: 0,
|
|
2548
2548
|
modelValue: i.value,
|
|
2549
2549
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => i.value = d),
|
|
@@ -2552,15 +2552,15 @@ const Fi = {
|
|
|
2552
2552
|
handle: ".ao-card__drag",
|
|
2553
2553
|
"item-key": "id"
|
|
2554
2554
|
}, {
|
|
2555
|
-
header:
|
|
2556
|
-
|
|
2555
|
+
header: K(() => [
|
|
2556
|
+
B(S1, {
|
|
2557
2557
|
title: "Activities",
|
|
2558
2558
|
level: 3,
|
|
2559
2559
|
class: "ao-list__title"
|
|
2560
2560
|
})
|
|
2561
2561
|
]),
|
|
2562
|
-
item:
|
|
2563
|
-
(c(),
|
|
2562
|
+
item: K(({ element: d }) => [
|
|
2563
|
+
(c(), U(i0, {
|
|
2564
2564
|
key: d.id,
|
|
2565
2565
|
title: d.name,
|
|
2566
2566
|
subtasks: d.subtasks,
|
|
@@ -2570,9 +2570,9 @@ const Fi = {
|
|
|
2570
2570
|
onClick: (h) => l.$router.push({ params: { activityId: d.id } })
|
|
2571
2571
|
}, null, 8, ["title", "subtasks", "is-active", "onUpdate:title", "onClick"]))
|
|
2572
2572
|
]),
|
|
2573
|
-
footer:
|
|
2573
|
+
footer: K(() => [
|
|
2574
2574
|
u("div", o0, [
|
|
2575
|
-
|
|
2575
|
+
B(ue, {
|
|
2576
2576
|
"icon-name": "AddBoxOutlineRounded",
|
|
2577
2577
|
label: l.$t("template.activities.add"),
|
|
2578
2578
|
onClick: n
|
|
@@ -2583,21 +2583,21 @@ const Fi = {
|
|
|
2583
2583
|
}, 8, ["modelValue", "title"])) : V("", !0);
|
|
2584
2584
|
}
|
|
2585
2585
|
});
|
|
2586
|
-
function
|
|
2586
|
+
function m1(s) {
|
|
2587
2587
|
return [null, void 0].indexOf(s) !== -1;
|
|
2588
2588
|
}
|
|
2589
2589
|
function u0(s, e, t) {
|
|
2590
|
-
const { object: n, valueProp: a, mode: i } =
|
|
2591
|
-
o.value =
|
|
2592
|
-
const
|
|
2593
|
-
e.emit("change",
|
|
2594
|
-
}, h = (
|
|
2590
|
+
const { object: n, valueProp: a, mode: i } = c1(s), l = Z1().proxy, o = t.iv, d = (S, k = !0) => {
|
|
2591
|
+
o.value = f(S);
|
|
2592
|
+
const O = h(S);
|
|
2593
|
+
e.emit("change", O, l), k && (e.emit("input", O), e.emit("update:modelValue", O));
|
|
2594
|
+
}, h = (S) => n.value || m1(S) ? S : Array.isArray(S) ? S.map((k) => k[a.value]) : S[a.value], f = (S) => m1(S) ? i.value === "single" ? {} : [] : S;
|
|
2595
2595
|
return {
|
|
2596
2596
|
update: d
|
|
2597
2597
|
};
|
|
2598
2598
|
}
|
|
2599
2599
|
function c0(s, e) {
|
|
2600
|
-
const { value: t, modelValue: n, mode: a, valueProp: i } =
|
|
2600
|
+
const { value: t, modelValue: n, mode: a, valueProp: i } = c1(s), l = J(a.value !== "single" ? [] : {}), o = n && n.value !== void 0 ? n : t, d = v(() => a.value === "single" ? l.value[i.value] : l.value.map((f) => f[i.value])), h = v(() => a.value !== "single" ? l.value.map((f) => f[i.value]).join(",") : l.value[i.value]);
|
|
2601
2601
|
return {
|
|
2602
2602
|
iv: l,
|
|
2603
2603
|
internalValue: l,
|
|
@@ -2608,37 +2608,37 @@ function c0(s, e) {
|
|
|
2608
2608
|
};
|
|
2609
2609
|
}
|
|
2610
2610
|
function d0(s, e, t) {
|
|
2611
|
-
const { regex: n } =
|
|
2611
|
+
const { regex: n } = c1(s), a = Z1().proxy, i = t.isOpen, l = t.open, o = J(null), d = J(null), h = () => {
|
|
2612
2612
|
o.value = "";
|
|
2613
|
-
},
|
|
2614
|
-
o.value =
|
|
2615
|
-
},
|
|
2613
|
+
}, f = (O) => {
|
|
2614
|
+
o.value = O.target.value;
|
|
2615
|
+
}, S = (O) => {
|
|
2616
2616
|
if (n && n.value) {
|
|
2617
2617
|
let _ = n.value;
|
|
2618
|
-
typeof _ == "string" && (_ = new RegExp(_)),
|
|
2618
|
+
typeof _ == "string" && (_ = new RegExp(_)), O.key.match(_) || O.preventDefault();
|
|
2619
2619
|
}
|
|
2620
|
-
},
|
|
2620
|
+
}, k = (O) => {
|
|
2621
2621
|
if (n && n.value) {
|
|
2622
|
-
let
|
|
2623
|
-
window.clipboardData).getData("Text"),
|
|
2624
|
-
typeof
|
|
2622
|
+
let $ = (O.clipboardData || /* istanbul ignore next */
|
|
2623
|
+
window.clipboardData).getData("Text"), I = n.value;
|
|
2624
|
+
typeof I == "string" && (I = new RegExp(I)), $.split("").every((L) => !!L.match(I)) || O.preventDefault();
|
|
2625
2625
|
}
|
|
2626
|
-
e.emit("paste",
|
|
2626
|
+
e.emit("paste", O, a);
|
|
2627
2627
|
};
|
|
2628
|
-
return
|
|
2629
|
-
!i.value &&
|
|
2628
|
+
return C1(o, (O) => {
|
|
2629
|
+
!i.value && O && l(), e.emit("search-change", O, a);
|
|
2630
2630
|
}), {
|
|
2631
2631
|
search: o,
|
|
2632
2632
|
input: d,
|
|
2633
2633
|
clearSearch: h,
|
|
2634
|
-
handleSearchInput:
|
|
2635
|
-
handleKeypress:
|
|
2636
|
-
handlePaste:
|
|
2634
|
+
handleSearchInput: f,
|
|
2635
|
+
handleKeypress: S,
|
|
2636
|
+
handlePaste: k
|
|
2637
2637
|
};
|
|
2638
2638
|
}
|
|
2639
2639
|
function C0(s, e, t) {
|
|
2640
|
-
const { groupSelect: n, mode: a, groups: i, disabledProp: l } =
|
|
2641
|
-
|
|
2640
|
+
const { groupSelect: n, mode: a, groups: i, disabledProp: l } = c1(s), o = J(null), d = (f) => {
|
|
2641
|
+
f === void 0 || f !== null && f[l.value] || i.value && f && f.group && (a.value === "single" || !n.value) || (o.value = f);
|
|
2642
2642
|
};
|
|
2643
2643
|
return {
|
|
2644
2644
|
pointer: o,
|
|
@@ -2669,102 +2669,102 @@ function p0(s, e, t) {
|
|
|
2669
2669
|
hideSelected: o,
|
|
2670
2670
|
createTag: d,
|
|
2671
2671
|
createOption: h,
|
|
2672
|
-
label:
|
|
2673
|
-
appendNewTag:
|
|
2674
|
-
appendNewOption:
|
|
2675
|
-
multipleLabel:
|
|
2672
|
+
label: f,
|
|
2673
|
+
appendNewTag: S,
|
|
2674
|
+
appendNewOption: k,
|
|
2675
|
+
multipleLabel: O,
|
|
2676
2676
|
object: _,
|
|
2677
|
-
loading:
|
|
2678
|
-
delay:
|
|
2677
|
+
loading: $,
|
|
2678
|
+
delay: I,
|
|
2679
2679
|
resolveOnLoad: L,
|
|
2680
|
-
minChars:
|
|
2681
|
-
filterResults:
|
|
2682
|
-
clearOnSearch:
|
|
2680
|
+
minChars: p,
|
|
2681
|
+
filterResults: T,
|
|
2682
|
+
clearOnSearch: z,
|
|
2683
2683
|
clearOnSelect: Q,
|
|
2684
2684
|
valueProp: H,
|
|
2685
|
-
allowAbsent:
|
|
2686
|
-
groupLabel:
|
|
2687
|
-
canDeselect:
|
|
2688
|
-
max:
|
|
2689
|
-
strict:
|
|
2690
|
-
closeOnSelect:
|
|
2691
|
-
closeOnDeselect:
|
|
2692
|
-
groups:
|
|
2693
|
-
reverse:
|
|
2694
|
-
infinite:
|
|
2695
|
-
groupOptions:
|
|
2696
|
-
groupHideEmpty:
|
|
2697
|
-
groupSelect:
|
|
2698
|
-
onCreate:
|
|
2699
|
-
disabledProp:
|
|
2700
|
-
searchStart:
|
|
2685
|
+
allowAbsent: t1,
|
|
2686
|
+
groupLabel: s1,
|
|
2687
|
+
canDeselect: G,
|
|
2688
|
+
max: b,
|
|
2689
|
+
strict: M,
|
|
2690
|
+
closeOnSelect: m,
|
|
2691
|
+
closeOnDeselect: E,
|
|
2692
|
+
groups: X,
|
|
2693
|
+
reverse: i1,
|
|
2694
|
+
infinite: f1,
|
|
2695
|
+
groupOptions: W,
|
|
2696
|
+
groupHideEmpty: l1,
|
|
2697
|
+
groupSelect: N,
|
|
2698
|
+
onCreate: j,
|
|
2699
|
+
disabledProp: F,
|
|
2700
|
+
searchStart: M1,
|
|
2701
2701
|
searchFilter: D1
|
|
2702
|
-
} =
|
|
2703
|
-
if (
|
|
2702
|
+
} = c1(s), n1 = Z1().proxy, R = t.iv, g = t.ev, A = t.search, r1 = t.clearSearch, w1 = t.update, Qe = t.pointer, E1 = t.clearPointer, et = t.focus, tt = t.deactivate, A1 = t.close, st = t.localize, N1 = J([]), L1 = J([]), v1 = J(!1), ce = J(null), de = J(f1.value && l.value === -1 ? 10 : l.value), Ie = v(() => d.value || h.value || !1), at = v(() => S.value !== void 0 ? S.value : k.value !== void 0 ? k.value : !0), V1 = v(() => {
|
|
2703
|
+
if (X.value) {
|
|
2704
2704
|
let r = Y1.value || /* istanbul ignore next */
|
|
2705
|
-
[],
|
|
2706
|
-
return r.forEach((
|
|
2707
|
-
_e(
|
|
2708
|
-
|
|
2705
|
+
[], w = [];
|
|
2706
|
+
return r.forEach((P) => {
|
|
2707
|
+
_e(P[W.value]).forEach((e1) => {
|
|
2708
|
+
w.push(Object.assign({}, e1, P[F.value] ? { [F.value]: !0 } : {}));
|
|
2709
2709
|
});
|
|
2710
|
-
}),
|
|
2710
|
+
}), w;
|
|
2711
2711
|
} else {
|
|
2712
|
-
let r = _e(
|
|
2712
|
+
let r = _e(L1.value || /* istanbul ignore next */
|
|
2713
2713
|
[]);
|
|
2714
2714
|
return N1.value.length && (r = r.concat(N1.value)), r;
|
|
2715
2715
|
}
|
|
2716
2716
|
}), Se = v(() => {
|
|
2717
|
-
let r =
|
|
2718
|
-
return
|
|
2717
|
+
let r = V1.value;
|
|
2718
|
+
return i1.value && (r = r.reverse()), T1.value.length && (r = T1.value.concat(r)), ve(r);
|
|
2719
2719
|
}), R1 = v(() => {
|
|
2720
2720
|
let r = Se.value;
|
|
2721
2721
|
return de.value > 0 && (r = r.slice(0, de.value)), r;
|
|
2722
2722
|
}), Y1 = v(() => {
|
|
2723
|
-
if (!
|
|
2723
|
+
if (!X.value)
|
|
2724
2724
|
return [];
|
|
2725
|
-
let r = [],
|
|
2725
|
+
let r = [], w = L1.value || /* istanbul ignore next */
|
|
2726
2726
|
[];
|
|
2727
2727
|
return N1.value.length && r.push({
|
|
2728
|
-
[
|
|
2729
|
-
[
|
|
2728
|
+
[s1.value]: " ",
|
|
2729
|
+
[W.value]: [...N1.value],
|
|
2730
2730
|
__CREATE__: !0
|
|
2731
|
-
}), r.concat(
|
|
2731
|
+
}), r.concat(w);
|
|
2732
2732
|
}), lt = v(() => {
|
|
2733
|
-
let r = [...Y1.value].map((
|
|
2734
|
-
return T1.value.length && (r[0] && r[0].__CREATE__ ? r[0][
|
|
2735
|
-
[
|
|
2736
|
-
[
|
|
2733
|
+
let r = [...Y1.value].map((w) => ({ ...w }));
|
|
2734
|
+
return T1.value.length && (r[0] && r[0].__CREATE__ ? r[0][W.value] = [...T1.value, ...r[0][W.value]] : r = [{
|
|
2735
|
+
[s1.value]: " ",
|
|
2736
|
+
[W.value]: [...T1.value],
|
|
2737
2737
|
__CREATE__: !0
|
|
2738
2738
|
}].concat(r)), r;
|
|
2739
2739
|
}), He = v(() => {
|
|
2740
|
-
if (!
|
|
2740
|
+
if (!X.value)
|
|
2741
2741
|
return [];
|
|
2742
2742
|
let r = lt.value;
|
|
2743
2743
|
return gt((r || /* istanbul ignore next */
|
|
2744
|
-
[]).map((
|
|
2745
|
-
const
|
|
2744
|
+
[]).map((w, P) => {
|
|
2745
|
+
const e1 = _e(w[W.value]);
|
|
2746
2746
|
return {
|
|
2747
|
-
...
|
|
2748
|
-
index:
|
|
2747
|
+
...w,
|
|
2748
|
+
index: P,
|
|
2749
2749
|
group: !0,
|
|
2750
|
-
[
|
|
2751
|
-
__VISIBLE__: ve(
|
|
2750
|
+
[W.value]: ve(e1, !1).map((U1) => Object.assign({}, U1, w[F.value] ? { [F.value]: !0 } : {})),
|
|
2751
|
+
__VISIBLE__: ve(e1).map((U1) => Object.assign({}, U1, w[F.value] ? { [F.value]: !0 } : {}))
|
|
2752
2752
|
};
|
|
2753
2753
|
}));
|
|
2754
2754
|
}), Ce = v(() => {
|
|
2755
2755
|
switch (a.value) {
|
|
2756
2756
|
case "single":
|
|
2757
|
-
return !
|
|
2757
|
+
return !m1(R.value[H.value]);
|
|
2758
2758
|
case "multiple":
|
|
2759
2759
|
case "tags":
|
|
2760
|
-
return !
|
|
2760
|
+
return !m1(R.value) && R.value.length > 0;
|
|
2761
2761
|
}
|
|
2762
|
-
}), nt = v(() =>
|
|
2762
|
+
}), nt = v(() => O !== void 0 && O.value !== void 0 ? O.value(R.value, n1) : R.value && R.value.length > 1 ? `${R.value.length} options selected` : "1 option selected"), it = v(() => !V1.value.length && !v1.value && !T1.value.length), ot = v(() => V1.value.length > 0 && R1.value.length == 0 && (A.value && X.value || !X.value)), T1 = v(() => Ie.value === !1 || !A.value ? [] : vt(A.value) !== -1 ? [] : [{
|
|
2763
2763
|
[H.value]: A.value,
|
|
2764
|
-
[
|
|
2765
|
-
[
|
|
2764
|
+
[_1.value]: A.value,
|
|
2765
|
+
[f.value]: A.value,
|
|
2766
2766
|
__CREATE__: !0
|
|
2767
|
-
}]),
|
|
2767
|
+
}]), _1 = v(() => i.value || f.value), rt = v(() => {
|
|
2768
2768
|
switch (a.value) {
|
|
2769
2769
|
case "single":
|
|
2770
2770
|
return null;
|
|
@@ -2772,53 +2772,53 @@ function p0(s, e, t) {
|
|
|
2772
2772
|
case "tags":
|
|
2773
2773
|
return [];
|
|
2774
2774
|
}
|
|
2775
|
-
}), ut = v(() =>
|
|
2776
|
-
switch (typeof r != "object" && (r =
|
|
2775
|
+
}), ut = v(() => $.value || v1.value), O1 = (r) => {
|
|
2776
|
+
switch (typeof r != "object" && (r = $1(r)), a.value) {
|
|
2777
2777
|
case "single":
|
|
2778
|
-
|
|
2778
|
+
w1(r);
|
|
2779
2779
|
break;
|
|
2780
2780
|
case "multiple":
|
|
2781
2781
|
case "tags":
|
|
2782
|
-
|
|
2782
|
+
w1(R.value.concat(r));
|
|
2783
2783
|
break;
|
|
2784
2784
|
}
|
|
2785
|
-
e.emit("select", Ee(r), r,
|
|
2785
|
+
e.emit("select", Ee(r), r, n1);
|
|
2786
2786
|
}, k1 = (r) => {
|
|
2787
|
-
switch (typeof r != "object" && (r =
|
|
2787
|
+
switch (typeof r != "object" && (r = $1(r)), a.value) {
|
|
2788
2788
|
case "single":
|
|
2789
2789
|
Te();
|
|
2790
2790
|
break;
|
|
2791
2791
|
case "tags":
|
|
2792
2792
|
case "multiple":
|
|
2793
|
-
|
|
2793
|
+
w1(Array.isArray(r) ? R.value.filter((w) => r.map((P) => P[H.value]).indexOf(w[H.value]) === -1) : R.value.filter((w) => w[H.value] != r[H.value]));
|
|
2794
2794
|
break;
|
|
2795
2795
|
}
|
|
2796
|
-
e.emit("deselect", Ee(r), r,
|
|
2796
|
+
e.emit("deselect", Ee(r), r, n1);
|
|
2797
2797
|
}, Ee = (r) => _.value ? r : r[H.value], Ae = (r) => {
|
|
2798
2798
|
k1(r);
|
|
2799
|
-
}, ct = (r,
|
|
2800
|
-
if (
|
|
2801
|
-
|
|
2799
|
+
}, ct = (r, w) => {
|
|
2800
|
+
if (w.button !== 0) {
|
|
2801
|
+
w.preventDefault();
|
|
2802
2802
|
return;
|
|
2803
2803
|
}
|
|
2804
2804
|
Ae(r);
|
|
2805
2805
|
}, Te = () => {
|
|
2806
|
-
e.emit("clear",
|
|
2807
|
-
},
|
|
2806
|
+
e.emit("clear", n1), w1(rt.value);
|
|
2807
|
+
}, y1 = (r) => {
|
|
2808
2808
|
if (r.group !== void 0)
|
|
2809
|
-
return a.value === "single" ? !1 : pt(r[
|
|
2809
|
+
return a.value === "single" ? !1 : pt(r[W.value]) && r[W.value].length;
|
|
2810
2810
|
switch (a.value) {
|
|
2811
2811
|
case "single":
|
|
2812
|
-
return !
|
|
2812
|
+
return !m1(R.value) && R.value[H.value] == r[H.value];
|
|
2813
2813
|
case "tags":
|
|
2814
2814
|
case "multiple":
|
|
2815
|
-
return !
|
|
2815
|
+
return !m1(R.value) && R.value.map((w) => w[H.value]).indexOf(r[H.value]) !== -1;
|
|
2816
2816
|
}
|
|
2817
|
-
}, he = (r) => r[
|
|
2817
|
+
}, he = (r) => r[F.value] === !0, fe = () => b === void 0 || b.value === -1 || !Ce.value && b.value > 0 ? !1 : R.value.length >= b.value, dt = (r) => {
|
|
2818
2818
|
if (!he(r)) {
|
|
2819
|
-
if (
|
|
2820
|
-
|
|
2821
|
-
|
|
2819
|
+
if (j && j.value && !y1(r) && r.__CREATE__ && (r = { ...r }, delete r.__CREATE__, r = j.value(r, n1), r instanceof Promise)) {
|
|
2820
|
+
v1.value = !0, r.then((w) => {
|
|
2821
|
+
v1.value = !1, Oe(w);
|
|
2822
2822
|
});
|
|
2823
2823
|
return;
|
|
2824
2824
|
}
|
|
@@ -2827,159 +2827,159 @@ function p0(s, e, t) {
|
|
|
2827
2827
|
}, Oe = (r) => {
|
|
2828
2828
|
switch (r.__CREATE__ && (r = { ...r }, delete r.__CREATE__), a.value) {
|
|
2829
2829
|
case "single":
|
|
2830
|
-
if (r &&
|
|
2831
|
-
|
|
2830
|
+
if (r && y1(r)) {
|
|
2831
|
+
G.value && k1(r), E.value && (E1(), A1());
|
|
2832
2832
|
return;
|
|
2833
2833
|
}
|
|
2834
|
-
r && pe(r), Q.value &&
|
|
2834
|
+
r && pe(r), Q.value && r1(), m.value && (E1(), A1()), r && O1(r);
|
|
2835
2835
|
break;
|
|
2836
2836
|
case "multiple":
|
|
2837
|
-
if (r &&
|
|
2838
|
-
k1(r),
|
|
2837
|
+
if (r && y1(r)) {
|
|
2838
|
+
k1(r), E.value && (E1(), A1());
|
|
2839
2839
|
return;
|
|
2840
2840
|
}
|
|
2841
2841
|
if (fe()) {
|
|
2842
|
-
e.emit("max",
|
|
2842
|
+
e.emit("max", n1);
|
|
2843
2843
|
return;
|
|
2844
2844
|
}
|
|
2845
|
-
r && (pe(r), O1(r)), Q.value &&
|
|
2845
|
+
r && (pe(r), O1(r)), Q.value && r1(), o.value && E1(), m.value && A1();
|
|
2846
2846
|
break;
|
|
2847
2847
|
case "tags":
|
|
2848
|
-
if (r &&
|
|
2849
|
-
k1(r),
|
|
2848
|
+
if (r && y1(r)) {
|
|
2849
|
+
k1(r), E.value && (E1(), A1());
|
|
2850
2850
|
return;
|
|
2851
2851
|
}
|
|
2852
2852
|
if (fe()) {
|
|
2853
|
-
e.emit("max",
|
|
2853
|
+
e.emit("max", n1);
|
|
2854
2854
|
return;
|
|
2855
2855
|
}
|
|
2856
|
-
r && pe(r), Q.value &&
|
|
2856
|
+
r && pe(r), Q.value && r1(), r && O1(r), o.value && E1(), m.value && A1();
|
|
2857
2857
|
break;
|
|
2858
2858
|
}
|
|
2859
|
-
|
|
2859
|
+
m.value || et();
|
|
2860
2860
|
}, Ct = (r) => {
|
|
2861
|
-
if (!(he(r) || a.value === "single" || !
|
|
2861
|
+
if (!(he(r) || a.value === "single" || !N.value)) {
|
|
2862
2862
|
switch (a.value) {
|
|
2863
2863
|
case "multiple":
|
|
2864
2864
|
case "tags":
|
|
2865
|
-
ft(r[
|
|
2866
|
-
r[
|
|
2865
|
+
ft(r[W.value]) ? k1(r[W.value]) : O1(
|
|
2866
|
+
r[W.value].filter((w) => R.value.map((P) => P[H.value]).indexOf(w[H.value]) === -1).filter((w) => !w[F.value]).filter((w, P) => R.value.length + 1 + P <= b.value || b.value === -1)
|
|
2867
2867
|
);
|
|
2868
2868
|
break;
|
|
2869
2869
|
}
|
|
2870
|
-
|
|
2870
|
+
m.value && tt();
|
|
2871
2871
|
}
|
|
2872
2872
|
}, pe = (r) => {
|
|
2873
|
-
|
|
2873
|
+
$1(r[H.value]) === void 0 && Ie.value && (e.emit("tag", r[H.value], n1), e.emit("option", r[H.value], n1), e.emit("create", r[H.value], n1), at.value && mt(r), r1());
|
|
2874
2874
|
}, ht = () => {
|
|
2875
|
-
a.value !== "single" && O1(R1.value.filter((r) => !r.disabled && !
|
|
2876
|
-
}, ft = (r) => r.find((
|
|
2875
|
+
a.value !== "single" && O1(R1.value.filter((r) => !r.disabled && !y1(r)));
|
|
2876
|
+
}, ft = (r) => r.find((w) => !y1(w) && !w[F.value]) === void 0, pt = (r) => r.find((w) => !y1(w)) === void 0, $1 = (r) => V1.value[V1.value.map((w) => String(w[H.value])).indexOf(String(r))], vt = (r, w = !0) => V1.value.map((P) => parseInt(P[_1.value]) == P[_1.value] ? parseInt(P[_1.value]) : P[_1.value]).indexOf(
|
|
2877
2877
|
parseInt(r) == r ? parseInt(r) : r
|
|
2878
|
-
), _t = (r) => ["tags", "multiple"].indexOf(a.value) !== -1 && o.value &&
|
|
2878
|
+
), _t = (r) => ["tags", "multiple"].indexOf(a.value) !== -1 && o.value && y1(r), mt = (r) => {
|
|
2879
2879
|
N1.value.push(r);
|
|
2880
|
-
}, gt = (r) =>
|
|
2881
|
-
(
|
|
2882
|
-
) : r.filter((
|
|
2883
|
-
let
|
|
2884
|
-
if (A.value &&
|
|
2885
|
-
let
|
|
2886
|
-
|
|
2887
|
-
let Ze = be(st(U1[
|
|
2888
|
-
return
|
|
2889
|
-
}),
|
|
2880
|
+
}, gt = (r) => l1.value ? r.filter(
|
|
2881
|
+
(w) => A.value ? w.__VISIBLE__.length : w[W.value].length
|
|
2882
|
+
) : r.filter((w) => A.value ? w.__VISIBLE__.length : !0), ve = (r, w = !0) => {
|
|
2883
|
+
let P = r;
|
|
2884
|
+
if (A.value && T.value) {
|
|
2885
|
+
let e1 = D1.value;
|
|
2886
|
+
e1 || (e1 = (U1, Ri) => {
|
|
2887
|
+
let Ze = be(st(U1[_1.value]), M.value);
|
|
2888
|
+
return M1.value ? Ze.startsWith(be(A.value, M.value)) : Ze.indexOf(be(A.value, M.value)) !== -1;
|
|
2889
|
+
}), P = P.filter(e1);
|
|
2890
2890
|
}
|
|
2891
|
-
return o.value &&
|
|
2891
|
+
return o.value && w && (P = P.filter((e1) => !_t(e1))), P;
|
|
2892
2892
|
}, _e = (r) => {
|
|
2893
|
-
let
|
|
2894
|
-
return h0(
|
|
2895
|
-
let
|
|
2896
|
-
return { [H.value]:
|
|
2897
|
-
})),
|
|
2893
|
+
let w = r;
|
|
2894
|
+
return h0(w) && (w = Object.keys(w).map((P) => {
|
|
2895
|
+
let e1 = w[P];
|
|
2896
|
+
return { [H.value]: P, [_1.value]: e1, [f.value]: e1 };
|
|
2897
|
+
})), w = w.map((P) => typeof P == "object" ? P : { [H.value]: P, [_1.value]: P, [f.value]: P }), w;
|
|
2898
2898
|
}, X1 = () => {
|
|
2899
|
-
|
|
2900
|
-
}, W1 = (r) => (
|
|
2901
|
-
n.value(A.value,
|
|
2902
|
-
|
|
2903
|
-
}).catch((
|
|
2904
|
-
console.error(
|
|
2899
|
+
m1(g.value) || (R.value = J1(g.value));
|
|
2900
|
+
}, W1 = (r) => (v1.value = !0, new Promise((w, P) => {
|
|
2901
|
+
n.value(A.value, n1).then((e1) => {
|
|
2902
|
+
L1.value = e1 || [], typeof r == "function" && r(e1), v1.value = !1;
|
|
2903
|
+
}).catch((e1) => {
|
|
2904
|
+
console.error(e1), L1.value = [], v1.value = !1;
|
|
2905
2905
|
}).finally(() => {
|
|
2906
|
-
|
|
2906
|
+
w();
|
|
2907
2907
|
});
|
|
2908
2908
|
})), me = () => {
|
|
2909
2909
|
if (Ce.value)
|
|
2910
2910
|
if (a.value === "single") {
|
|
2911
|
-
let r =
|
|
2911
|
+
let r = $1(R.value[H.value]);
|
|
2912
2912
|
if (r !== void 0) {
|
|
2913
|
-
let
|
|
2914
|
-
|
|
2913
|
+
let w = r[f.value];
|
|
2914
|
+
R.value[f.value] = w, _.value && (g.value[f.value] = w);
|
|
2915
2915
|
}
|
|
2916
2916
|
} else
|
|
2917
|
-
|
|
2918
|
-
let
|
|
2919
|
-
if (
|
|
2920
|
-
let
|
|
2921
|
-
|
|
2917
|
+
R.value.forEach((r, w) => {
|
|
2918
|
+
let P = $1(R.value[w][H.value]);
|
|
2919
|
+
if (P !== void 0) {
|
|
2920
|
+
let e1 = P[f.value];
|
|
2921
|
+
R.value[w][f.value] = e1, _.value && (g.value[w][f.value] = e1);
|
|
2922
2922
|
}
|
|
2923
2923
|
});
|
|
2924
2924
|
}, bt = (r) => {
|
|
2925
2925
|
W1(r);
|
|
2926
|
-
}, J1 = (r) =>
|
|
2927
|
-
[
|
|
2926
|
+
}, J1 = (r) => m1(r) ? a.value === "single" ? {} : [] : _.value ? r : a.value === "single" ? $1(r) || (t1.value ? {
|
|
2927
|
+
[f.value]: r,
|
|
2928
2928
|
[H.value]: r,
|
|
2929
|
-
[
|
|
2930
|
-
} : {}) : r.filter((
|
|
2931
|
-
[
|
|
2932
|
-
[H.value]:
|
|
2933
|
-
[
|
|
2929
|
+
[_1.value]: r
|
|
2930
|
+
} : {}) : r.filter((w) => !!$1(w) || t1.value).map((w) => $1(w) || {
|
|
2931
|
+
[f.value]: w,
|
|
2932
|
+
[H.value]: w,
|
|
2933
|
+
[_1.value]: w
|
|
2934
2934
|
}), ke = () => {
|
|
2935
|
-
ce.value =
|
|
2936
|
-
r.length <
|
|
2937
|
-
r == A.value && n.value(A.value,
|
|
2938
|
-
(r == A.value || !A.value) && (
|
|
2935
|
+
ce.value = C1(A, (r) => {
|
|
2936
|
+
r.length < p.value || !r && p.value !== 0 || (v1.value = !0, z.value && (L1.value = []), setTimeout(() => {
|
|
2937
|
+
r == A.value && n.value(A.value, n1).then((w) => {
|
|
2938
|
+
(r == A.value || !A.value) && (L1.value = w, Qe.value = R1.value.filter((P) => P[F.value] !== !0)[0] || null, v1.value = !1);
|
|
2939
2939
|
}).catch(
|
|
2940
2940
|
/* istanbul ignore next */
|
|
2941
|
-
(
|
|
2942
|
-
console.error(
|
|
2941
|
+
(w) => {
|
|
2942
|
+
console.error(w);
|
|
2943
2943
|
}
|
|
2944
2944
|
);
|
|
2945
|
-
},
|
|
2945
|
+
}, I.value));
|
|
2946
2946
|
}, { flush: "sync" });
|
|
2947
2947
|
};
|
|
2948
|
-
if (a.value !== "single" && !
|
|
2948
|
+
if (a.value !== "single" && !m1(g.value) && !Array.isArray(g.value))
|
|
2949
2949
|
throw new Error(`v-model must be an array when using "${a.value}" mode`);
|
|
2950
|
-
return n && typeof n.value == "function" ? L.value ? W1(X1) : _.value == !0 && X1() : (
|
|
2950
|
+
return n && typeof n.value == "function" ? L.value ? W1(X1) : _.value == !0 && X1() : (L1.value = n.value, X1()), I.value > -1 && ke(), C1(I, (r, w) => {
|
|
2951
2951
|
ce.value && ce.value(), r >= 0 && ke();
|
|
2952
|
-
}),
|
|
2953
|
-
if (
|
|
2954
|
-
|
|
2952
|
+
}), C1(g, (r) => {
|
|
2953
|
+
if (m1(r)) {
|
|
2954
|
+
w1(J1(r), !1);
|
|
2955
2955
|
return;
|
|
2956
2956
|
}
|
|
2957
2957
|
switch (a.value) {
|
|
2958
2958
|
case "single":
|
|
2959
|
-
(_.value ? r[H.value] !=
|
|
2959
|
+
(_.value ? r[H.value] != R.value[H.value] : r != R.value[H.value]) && w1(J1(r), !1);
|
|
2960
2960
|
break;
|
|
2961
2961
|
case "multiple":
|
|
2962
2962
|
case "tags":
|
|
2963
|
-
f0(_.value ? r.map((
|
|
2963
|
+
f0(_.value ? r.map((w) => w[H.value]) : r, R.value.map((w) => w[H.value])) || w1(J1(r), !1);
|
|
2964
2964
|
break;
|
|
2965
2965
|
}
|
|
2966
|
-
}, { deep: !0 }),
|
|
2967
|
-
typeof s.options == "function" ? L.value && (!
|
|
2968
|
-
}),
|
|
2966
|
+
}, { deep: !0 }), C1(n, (r, w) => {
|
|
2967
|
+
typeof s.options == "function" ? L.value && (!w || r && r.toString() !== w.toString()) && W1() : (L1.value = s.options, Object.keys(R.value).length || X1(), me());
|
|
2968
|
+
}), C1(f, me), {
|
|
2969
2969
|
pfo: Se,
|
|
2970
2970
|
fo: R1,
|
|
2971
2971
|
filteredOptions: R1,
|
|
2972
2972
|
hasSelected: Ce,
|
|
2973
2973
|
multipleLabelText: nt,
|
|
2974
|
-
eo:
|
|
2975
|
-
extendedOptions:
|
|
2974
|
+
eo: V1,
|
|
2975
|
+
extendedOptions: V1,
|
|
2976
2976
|
eg: Y1,
|
|
2977
2977
|
extendedGroups: Y1,
|
|
2978
2978
|
fg: He,
|
|
2979
2979
|
filteredGroups: He,
|
|
2980
2980
|
noOptions: it,
|
|
2981
2981
|
noResults: ot,
|
|
2982
|
-
resolving:
|
|
2982
|
+
resolving: v1,
|
|
2983
2983
|
busy: ut,
|
|
2984
2984
|
offset: de,
|
|
2985
2985
|
select: O1,
|
|
@@ -2987,10 +2987,10 @@ function p0(s, e, t) {
|
|
|
2987
2987
|
remove: Ae,
|
|
2988
2988
|
selectAll: ht,
|
|
2989
2989
|
clear: Te,
|
|
2990
|
-
isSelected:
|
|
2990
|
+
isSelected: y1,
|
|
2991
2991
|
isDisabled: he,
|
|
2992
2992
|
isMax: fe,
|
|
2993
|
-
getOption:
|
|
2993
|
+
getOption: $1,
|
|
2994
2994
|
handleOptionClick: dt,
|
|
2995
2995
|
handleGroupClick: Ct,
|
|
2996
2996
|
handleTagRemove: ct,
|
|
@@ -3008,88 +3008,88 @@ function v0(s, e, t) {
|
|
|
3008
3008
|
groups: o,
|
|
3009
3009
|
mode: d,
|
|
3010
3010
|
groupSelect: h,
|
|
3011
|
-
disabledProp:
|
|
3012
|
-
groupOptions:
|
|
3013
|
-
} =
|
|
3014
|
-
const g =
|
|
3011
|
+
disabledProp: f,
|
|
3012
|
+
groupOptions: S
|
|
3013
|
+
} = c1(s), k = t.fo, O = t.fg, _ = t.handleOptionClick, $ = t.handleGroupClick, I = t.search, L = t.pointer, p = t.setPointer, T = t.clearPointer, z = t.multiselect, Q = t.isOpen, H = v(() => k.value.filter((g) => !g[f.value])), t1 = v(() => O.value.filter((g) => !g[f.value])), s1 = v(() => d.value !== "single" && h.value), G = v(() => L.value && L.value.group), b = v(() => n1(L.value)), M = v(() => {
|
|
3014
|
+
const g = G.value ? L.value : (
|
|
3015
3015
|
/* istanbul ignore next */
|
|
3016
|
-
|
|
3017
|
-
), A =
|
|
3018
|
-
let
|
|
3019
|
-
return
|
|
3020
|
-
}),
|
|
3021
|
-
let g =
|
|
3022
|
-
return
|
|
3023
|
-
}),
|
|
3024
|
-
const g =
|
|
3016
|
+
n1(L.value)
|
|
3017
|
+
), A = t1.value.map((w1) => w1[l.value]).indexOf(g[l.value]);
|
|
3018
|
+
let r1 = t1.value[A - 1];
|
|
3019
|
+
return r1 === void 0 && (r1 = E.value), r1;
|
|
3020
|
+
}), m = v(() => {
|
|
3021
|
+
let g = t1.value.map((A) => A.label).indexOf(G.value ? L.value[l.value] : n1(L.value)[l.value]) + 1;
|
|
3022
|
+
return t1.value.length <= g && (g = 0), t1.value[g];
|
|
3023
|
+
}), E = v(() => [...t1.value].slice(-1)[0]), X = v(() => L.value.__VISIBLE__.filter((g) => !g[f.value])[0]), i1 = v(() => {
|
|
3024
|
+
const g = b.value.__VISIBLE__.filter((A) => !A[f.value]);
|
|
3025
3025
|
return g[g.map((A) => A[n.value]).indexOf(L.value[n.value]) - 1];
|
|
3026
|
-
}),
|
|
3027
|
-
const g =
|
|
3026
|
+
}), f1 = v(() => {
|
|
3027
|
+
const g = n1(L.value).__VISIBLE__.filter((A) => !A[f.value]);
|
|
3028
3028
|
return g[g.map((A) => A[n.value]).indexOf(L.value[n.value]) + 1];
|
|
3029
|
-
}),
|
|
3030
|
-
|
|
3031
|
-
},
|
|
3032
|
-
!L.value || L.value[
|
|
3033
|
-
},
|
|
3029
|
+
}), W = v(() => [...M.value.__VISIBLE__.filter((g) => !g[f.value])].slice(-1)[0]), l1 = v(() => [...E.value.__VISIBLE__.filter((g) => !g[f.value])].slice(-1)[0]), N = (g) => L.value && (!g.group && L.value[n.value] === g[n.value] || g.group !== void 0 && L.value[l.value] === g[l.value]) ? !0 : void 0, j = () => {
|
|
3030
|
+
p(H.value[0] || null);
|
|
3031
|
+
}, F = () => {
|
|
3032
|
+
!L.value || L.value[f.value] === !0 || (G.value ? $(L.value) : _(L.value));
|
|
3033
|
+
}, M1 = () => {
|
|
3034
3034
|
if (L.value === null)
|
|
3035
|
-
|
|
3036
|
-
else if (o.value &&
|
|
3037
|
-
let g =
|
|
3038
|
-
g === void 0 && (g =
|
|
3035
|
+
p((o.value && s1.value ? t1.value[0].__CREATE__ ? H.value[0] : t1.value[0] : H.value[0]) || null);
|
|
3036
|
+
else if (o.value && s1.value) {
|
|
3037
|
+
let g = G.value ? X.value : f1.value;
|
|
3038
|
+
g === void 0 && (g = m.value, g.__CREATE__ && (g = g[S.value][0])), p(g || /* istanbul ignore next */
|
|
3039
3039
|
null);
|
|
3040
3040
|
} else {
|
|
3041
3041
|
let g = H.value.map((A) => A[n.value]).indexOf(L.value[n.value]) + 1;
|
|
3042
|
-
H.value.length <= g && (g = 0),
|
|
3042
|
+
H.value.length <= g && (g = 0), p(H.value[g] || null);
|
|
3043
3043
|
}
|
|
3044
|
-
|
|
3045
|
-
|
|
3044
|
+
x1(() => {
|
|
3045
|
+
R();
|
|
3046
3046
|
});
|
|
3047
3047
|
}, D1 = () => {
|
|
3048
3048
|
if (L.value === null) {
|
|
3049
3049
|
let g = H.value[H.value.length - 1];
|
|
3050
|
-
o.value &&
|
|
3051
|
-
} else if (o.value &&
|
|
3052
|
-
let g =
|
|
3053
|
-
g === void 0 && (g =
|
|
3050
|
+
o.value && s1.value && (g = l1.value, g === void 0 && (g = E.value)), p(g || null);
|
|
3051
|
+
} else if (o.value && s1.value) {
|
|
3052
|
+
let g = G.value ? W.value : i1.value;
|
|
3053
|
+
g === void 0 && (g = G.value ? M.value : b.value, g.__CREATE__ && (g = W.value, g === void 0 && (g = M.value))), p(g || /* istanbul ignore next */
|
|
3054
3054
|
null);
|
|
3055
3055
|
} else {
|
|
3056
3056
|
let g = H.value.map((A) => A[n.value]).indexOf(L.value[n.value]) - 1;
|
|
3057
|
-
g < 0 && (g = H.value.length - 1),
|
|
3057
|
+
g < 0 && (g = H.value.length - 1), p(H.value[g] || null);
|
|
3058
3058
|
}
|
|
3059
|
-
|
|
3060
|
-
|
|
3059
|
+
x1(() => {
|
|
3060
|
+
R();
|
|
3061
3061
|
});
|
|
3062
|
-
},
|
|
3063
|
-
let g =
|
|
3062
|
+
}, n1 = (g) => t1.value.find((A) => A.__VISIBLE__.map((r1) => r1[n.value]).indexOf(g[n.value]) !== -1), R = () => {
|
|
3063
|
+
let g = z.value.querySelector("[data-pointed]");
|
|
3064
3064
|
if (!g)
|
|
3065
3065
|
return;
|
|
3066
3066
|
let A = g.parentElement.parentElement;
|
|
3067
|
-
o.value && (A =
|
|
3067
|
+
o.value && (A = G.value ? g.parentElement.parentElement.parentElement : g.parentElement.parentElement.parentElement.parentElement), g.offsetTop + g.offsetHeight > A.clientHeight + A.scrollTop && (A.scrollTop = g.offsetTop + g.offsetHeight - A.clientHeight), g.offsetTop < A.scrollTop && (A.scrollTop = g.offsetTop);
|
|
3068
3068
|
};
|
|
3069
|
-
return
|
|
3070
|
-
i.value && (g.length && a.value ?
|
|
3071
|
-
}),
|
|
3069
|
+
return C1(I, (g) => {
|
|
3070
|
+
i.value && (g.length && a.value ? j() : T());
|
|
3071
|
+
}), C1(Q, (g) => {
|
|
3072
3072
|
if (g) {
|
|
3073
|
-
let A =
|
|
3073
|
+
let A = z.value.querySelectorAll("[data-selected]")[0];
|
|
3074
3074
|
if (!A)
|
|
3075
3075
|
return;
|
|
3076
|
-
let
|
|
3077
|
-
|
|
3078
|
-
|
|
3076
|
+
let r1 = A.parentElement.parentElement;
|
|
3077
|
+
x1(() => {
|
|
3078
|
+
r1.scrollTop > 0 || (r1.scrollTop = A.offsetTop);
|
|
3079
3079
|
});
|
|
3080
3080
|
}
|
|
3081
3081
|
}), {
|
|
3082
3082
|
pointer: L,
|
|
3083
|
-
canPointGroups:
|
|
3084
|
-
isPointed:
|
|
3085
|
-
setPointerFirst:
|
|
3086
|
-
selectPointer:
|
|
3087
|
-
forwardPointer:
|
|
3083
|
+
canPointGroups: s1,
|
|
3084
|
+
isPointed: N,
|
|
3085
|
+
setPointerFirst: j,
|
|
3086
|
+
selectPointer: F,
|
|
3087
|
+
forwardPointer: M1,
|
|
3088
3088
|
backwardPointer: D1
|
|
3089
3089
|
};
|
|
3090
3090
|
}
|
|
3091
3091
|
function _0(s, e, t) {
|
|
3092
|
-
const { disabled: n } =
|
|
3092
|
+
const { disabled: n } = c1(s), a = Z1().proxy, i = J(!1);
|
|
3093
3093
|
return {
|
|
3094
3094
|
isOpen: i,
|
|
3095
3095
|
open: () => {
|
|
@@ -3101,42 +3101,42 @@ function _0(s, e, t) {
|
|
|
3101
3101
|
};
|
|
3102
3102
|
}
|
|
3103
3103
|
function m0(s, e, t) {
|
|
3104
|
-
const { searchable: n, disabled: a, clearOnBlur: i } =
|
|
3105
|
-
n.value && l.value.blur(),
|
|
3106
|
-
},
|
|
3104
|
+
const { searchable: n, disabled: a, clearOnBlur: i } = c1(s), l = t.input, o = t.open, d = t.close, h = t.clearSearch, f = t.isOpen, S = J(null), k = J(null), O = J(null), _ = J(!1), $ = J(!1), I = v(() => n.value || a.value ? -1 : 0), L = () => {
|
|
3105
|
+
n.value && l.value.blur(), k.value.blur();
|
|
3106
|
+
}, p = () => {
|
|
3107
3107
|
n.value && !a.value && l.value.focus();
|
|
3108
|
-
},
|
|
3109
|
-
a.value || (_.value = !0,
|
|
3110
|
-
},
|
|
3108
|
+
}, T = (G = !0) => {
|
|
3109
|
+
a.value || (_.value = !0, G && o());
|
|
3110
|
+
}, z = () => {
|
|
3111
3111
|
_.value = !1, setTimeout(() => {
|
|
3112
3112
|
_.value || (d(), i.value && h());
|
|
3113
3113
|
}, 1);
|
|
3114
3114
|
};
|
|
3115
3115
|
return {
|
|
3116
|
-
multiselect:
|
|
3117
|
-
wrapper:
|
|
3118
|
-
tags:
|
|
3119
|
-
tabindex:
|
|
3116
|
+
multiselect: S,
|
|
3117
|
+
wrapper: k,
|
|
3118
|
+
tags: O,
|
|
3119
|
+
tabindex: I,
|
|
3120
3120
|
isActive: _,
|
|
3121
|
-
mouseClicked:
|
|
3121
|
+
mouseClicked: $,
|
|
3122
3122
|
blur: L,
|
|
3123
|
-
focus:
|
|
3124
|
-
activate:
|
|
3125
|
-
deactivate:
|
|
3126
|
-
handleFocusIn: (
|
|
3127
|
-
|
|
3123
|
+
focus: p,
|
|
3124
|
+
activate: T,
|
|
3125
|
+
deactivate: z,
|
|
3126
|
+
handleFocusIn: (G) => {
|
|
3127
|
+
G.target.closest("[data-tags]") && G.target.nodeName !== "INPUT" || G.target.closest("[data-clear]") || T($.value);
|
|
3128
3128
|
},
|
|
3129
3129
|
handleFocusOut: () => {
|
|
3130
|
-
|
|
3130
|
+
z();
|
|
3131
3131
|
},
|
|
3132
3132
|
handleCaretClick: () => {
|
|
3133
|
-
|
|
3133
|
+
z(), L();
|
|
3134
3134
|
},
|
|
3135
|
-
handleMousedown: (
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
}, 0) : document.activeElement.isEqualNode(
|
|
3139
|
-
|
|
3135
|
+
handleMousedown: (G) => {
|
|
3136
|
+
$.value = !0, f.value && (G.target.isEqualNode(k.value) || G.target.isEqualNode(O.value)) ? setTimeout(() => {
|
|
3137
|
+
z();
|
|
3138
|
+
}, 0) : document.activeElement.isEqualNode(k.value) && !f.value && T(), setTimeout(() => {
|
|
3139
|
+
$.value = !1;
|
|
3140
3140
|
}, 0);
|
|
3141
3141
|
}
|
|
3142
3142
|
};
|
|
@@ -3150,86 +3150,86 @@ function g0(s, e, t) {
|
|
|
3150
3150
|
showOptions: o,
|
|
3151
3151
|
valueProp: d,
|
|
3152
3152
|
groups: h,
|
|
3153
|
-
addOptionOn:
|
|
3154
|
-
createTag:
|
|
3155
|
-
createOption:
|
|
3156
|
-
reverse:
|
|
3157
|
-
} =
|
|
3158
|
-
n.value === "tags" && !o.value &&
|
|
3159
|
-
},
|
|
3160
|
-
let
|
|
3161
|
-
for (;
|
|
3162
|
-
|
|
3163
|
-
return
|
|
3153
|
+
addOptionOn: f,
|
|
3154
|
+
createTag: S,
|
|
3155
|
+
createOption: k,
|
|
3156
|
+
reverse: O
|
|
3157
|
+
} = c1(s), _ = Z1().proxy, $ = t.iv, I = t.update, L = t.search, p = t.setPointer, T = t.selectPointer, z = t.backwardPointer, Q = t.forwardPointer, H = t.multiselect, t1 = t.wrapper, s1 = t.tags, G = t.isOpen, b = t.open, M = t.blur, m = t.fo, E = v(() => S.value || k.value || !1), X = v(() => a.value !== void 0 ? a.value : f.value !== void 0 ? f.value : ["enter"]), i1 = () => {
|
|
3158
|
+
n.value === "tags" && !o.value && E.value && l.value && !h.value && p(m.value[m.value.map((N) => N[d.value]).indexOf(L.value)]);
|
|
3159
|
+
}, f1 = (N) => {
|
|
3160
|
+
let j = N.length - 1;
|
|
3161
|
+
for (; j >= 0 && (N[j].remove === !1 || N[j].disabled); )
|
|
3162
|
+
j--;
|
|
3163
|
+
return j < 0 || N.splice(j, 1), N;
|
|
3164
3164
|
};
|
|
3165
3165
|
return {
|
|
3166
|
-
handleKeydown: (
|
|
3167
|
-
e.emit("keydown",
|
|
3168
|
-
let
|
|
3169
|
-
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(
|
|
3166
|
+
handleKeydown: (N) => {
|
|
3167
|
+
e.emit("keydown", N, _);
|
|
3168
|
+
let j, F;
|
|
3169
|
+
switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(N.key) !== -1 && n.value === "tags" && (j = [...H.value.querySelectorAll("[data-tags] > *")].filter((M1) => M1 !== s1.value), F = j.findIndex((M1) => M1 === document.activeElement)), N.key) {
|
|
3170
3170
|
case "Backspace":
|
|
3171
|
-
if (n.value === "single" || l.value && [null, ""].indexOf(L.value) === -1 ||
|
|
3171
|
+
if (n.value === "single" || l.value && [null, ""].indexOf(L.value) === -1 || $.value.length === 0)
|
|
3172
3172
|
return;
|
|
3173
|
-
|
|
3173
|
+
I(f1([...$.value]));
|
|
3174
3174
|
break;
|
|
3175
3175
|
case "Enter":
|
|
3176
|
-
if (
|
|
3176
|
+
if (N.preventDefault(), N.keyCode === 229)
|
|
3177
3177
|
return;
|
|
3178
|
-
if (
|
|
3179
|
-
|
|
3178
|
+
if (F !== -1 && F !== void 0) {
|
|
3179
|
+
I([...$.value].filter((M1, D1) => D1 !== F)), F === j.length - 1 && (j.length - 1 ? j[j.length - 2].focus() : l.value ? s1.value.querySelector("input").focus() : t1.value.focus());
|
|
3180
3180
|
return;
|
|
3181
3181
|
}
|
|
3182
|
-
if (
|
|
3182
|
+
if (X.value.indexOf("enter") === -1 && E.value)
|
|
3183
3183
|
return;
|
|
3184
|
-
|
|
3184
|
+
i1(), T();
|
|
3185
3185
|
break;
|
|
3186
3186
|
case " ":
|
|
3187
|
-
if (!
|
|
3188
|
-
|
|
3187
|
+
if (!E.value && !l.value) {
|
|
3188
|
+
N.preventDefault(), i1(), T();
|
|
3189
3189
|
return;
|
|
3190
3190
|
}
|
|
3191
|
-
if (!
|
|
3191
|
+
if (!E.value)
|
|
3192
3192
|
return !1;
|
|
3193
|
-
if (
|
|
3193
|
+
if (X.value.indexOf("space") === -1 && E.value)
|
|
3194
3194
|
return;
|
|
3195
|
-
|
|
3195
|
+
N.preventDefault(), i1(), T();
|
|
3196
3196
|
break;
|
|
3197
3197
|
case "Tab":
|
|
3198
3198
|
case ";":
|
|
3199
3199
|
case ",":
|
|
3200
|
-
if (
|
|
3200
|
+
if (X.value.indexOf(N.key.toLowerCase()) === -1 || !E.value)
|
|
3201
3201
|
return;
|
|
3202
|
-
|
|
3202
|
+
i1(), T(), N.preventDefault();
|
|
3203
3203
|
break;
|
|
3204
3204
|
case "Escape":
|
|
3205
|
-
|
|
3205
|
+
M();
|
|
3206
3206
|
break;
|
|
3207
3207
|
case "ArrowUp":
|
|
3208
|
-
if (
|
|
3208
|
+
if (N.preventDefault(), !o.value)
|
|
3209
3209
|
return;
|
|
3210
|
-
|
|
3210
|
+
G.value || b(), z();
|
|
3211
3211
|
break;
|
|
3212
3212
|
case "ArrowDown":
|
|
3213
|
-
if (
|
|
3213
|
+
if (N.preventDefault(), !o.value)
|
|
3214
3214
|
return;
|
|
3215
|
-
|
|
3215
|
+
G.value || b(), Q();
|
|
3216
3216
|
break;
|
|
3217
3217
|
case "ArrowLeft":
|
|
3218
|
-
if (l.value &&
|
|
3218
|
+
if (l.value && s1.value && s1.value.querySelector("input").selectionStart || N.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
|
|
3219
3219
|
return;
|
|
3220
|
-
|
|
3220
|
+
N.preventDefault(), F === -1 ? j[j.length - 1].focus() : F > 0 && j[F - 1].focus();
|
|
3221
3221
|
break;
|
|
3222
3222
|
case "ArrowRight":
|
|
3223
|
-
if (
|
|
3223
|
+
if (F === -1 || N.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
|
|
3224
3224
|
return;
|
|
3225
|
-
|
|
3225
|
+
N.preventDefault(), j.length > F + 1 ? j[F + 1].focus() : l.value ? s1.value.querySelector("input").focus() : l.value || t1.value.focus();
|
|
3226
3226
|
break;
|
|
3227
3227
|
}
|
|
3228
3228
|
},
|
|
3229
|
-
handleKeyup: (
|
|
3230
|
-
e.emit("keyup",
|
|
3229
|
+
handleKeyup: (N) => {
|
|
3230
|
+
e.emit("keyup", N, _);
|
|
3231
3231
|
},
|
|
3232
|
-
preparePointer:
|
|
3232
|
+
preparePointer: i1
|
|
3233
3233
|
};
|
|
3234
3234
|
}
|
|
3235
3235
|
function b0(s, e, t) {
|
|
@@ -3238,7 +3238,7 @@ function b0(s, e, t) {
|
|
|
3238
3238
|
disabled: a,
|
|
3239
3239
|
openDirection: i,
|
|
3240
3240
|
showOptions: l
|
|
3241
|
-
} =
|
|
3241
|
+
} = c1(s), o = t.isOpen, d = t.isPointed, h = t.isSelected, f = t.isDisabled, S = t.isActive, k = t.canPointGroups, O = t.resolving, _ = t.fo, $ = v(() => ({
|
|
3242
3242
|
container: "multiselect",
|
|
3243
3243
|
containerDisabled: "is-disabled",
|
|
3244
3244
|
containerOpen: "is-open",
|
|
@@ -3291,80 +3291,80 @@ function b0(s, e, t) {
|
|
|
3291
3291
|
assist: "multiselect-assistive-text",
|
|
3292
3292
|
spacer: "multiselect-spacer",
|
|
3293
3293
|
...n.value
|
|
3294
|
-
})),
|
|
3294
|
+
})), I = v(() => !!(o.value && l.value && (!O.value || O.value && _.value.length)));
|
|
3295
3295
|
return {
|
|
3296
3296
|
classList: v(() => {
|
|
3297
|
-
const
|
|
3297
|
+
const p = $.value;
|
|
3298
3298
|
return {
|
|
3299
|
-
container: [
|
|
3300
|
-
wrapper:
|
|
3301
|
-
spacer:
|
|
3302
|
-
singleLabel:
|
|
3303
|
-
singleLabelText:
|
|
3304
|
-
multipleLabel:
|
|
3305
|
-
search:
|
|
3306
|
-
tags:
|
|
3307
|
-
tag: [
|
|
3308
|
-
tagDisabled:
|
|
3309
|
-
tagRemove:
|
|
3310
|
-
tagRemoveIcon:
|
|
3311
|
-
tagsSearchWrapper:
|
|
3312
|
-
tagsSearch:
|
|
3313
|
-
tagsSearchCopy:
|
|
3314
|
-
placeholder:
|
|
3315
|
-
caret: [
|
|
3316
|
-
clear:
|
|
3317
|
-
clearIcon:
|
|
3318
|
-
spinner:
|
|
3319
|
-
inifinite:
|
|
3320
|
-
inifiniteSpinner:
|
|
3321
|
-
dropdown: [
|
|
3322
|
-
options: [
|
|
3323
|
-
group:
|
|
3324
|
-
groupLabel: (
|
|
3325
|
-
let
|
|
3326
|
-
return d(
|
|
3299
|
+
container: [p.container].concat(a.value ? p.containerDisabled : []).concat(I.value && i.value === "top" ? p.containerOpenTop : []).concat(I.value && i.value !== "top" ? p.containerOpen : []).concat(S.value ? p.containerActive : []),
|
|
3300
|
+
wrapper: p.wrapper,
|
|
3301
|
+
spacer: p.spacer,
|
|
3302
|
+
singleLabel: p.singleLabel,
|
|
3303
|
+
singleLabelText: p.singleLabelText,
|
|
3304
|
+
multipleLabel: p.multipleLabel,
|
|
3305
|
+
search: p.search,
|
|
3306
|
+
tags: p.tags,
|
|
3307
|
+
tag: [p.tag].concat(a.value ? p.tagDisabled : []),
|
|
3308
|
+
tagDisabled: p.tagDisabled,
|
|
3309
|
+
tagRemove: p.tagRemove,
|
|
3310
|
+
tagRemoveIcon: p.tagRemoveIcon,
|
|
3311
|
+
tagsSearchWrapper: p.tagsSearchWrapper,
|
|
3312
|
+
tagsSearch: p.tagsSearch,
|
|
3313
|
+
tagsSearchCopy: p.tagsSearchCopy,
|
|
3314
|
+
placeholder: p.placeholder,
|
|
3315
|
+
caret: [p.caret].concat(o.value ? p.caretOpen : []),
|
|
3316
|
+
clear: p.clear,
|
|
3317
|
+
clearIcon: p.clearIcon,
|
|
3318
|
+
spinner: p.spinner,
|
|
3319
|
+
inifinite: p.inifinite,
|
|
3320
|
+
inifiniteSpinner: p.inifiniteSpinner,
|
|
3321
|
+
dropdown: [p.dropdown].concat(i.value === "top" ? p.dropdownTop : []).concat(!o.value || !l.value || !I.value ? p.dropdownHidden : []),
|
|
3322
|
+
options: [p.options].concat(i.value === "top" ? p.optionsTop : []),
|
|
3323
|
+
group: p.group,
|
|
3324
|
+
groupLabel: (T) => {
|
|
3325
|
+
let z = [p.groupLabel];
|
|
3326
|
+
return d(T) ? z.push(h(T) ? p.groupLabelSelectedPointed : p.groupLabelPointed) : h(T) && k.value ? z.push(f(T) ? p.groupLabelSelectedDisabled : p.groupLabelSelected) : f(T) && z.push(p.groupLabelDisabled), k.value && z.push(p.groupLabelPointable), z;
|
|
3327
3327
|
},
|
|
3328
|
-
groupOptions:
|
|
3329
|
-
option: (
|
|
3330
|
-
let Q = [
|
|
3331
|
-
return d(
|
|
3328
|
+
groupOptions: p.groupOptions,
|
|
3329
|
+
option: (T, z) => {
|
|
3330
|
+
let Q = [p.option];
|
|
3331
|
+
return d(T) ? Q.push(h(T) ? p.optionSelectedPointed : p.optionPointed) : h(T) ? Q.push(f(T) ? p.optionSelectedDisabled : p.optionSelected) : (f(T) || z && f(z)) && Q.push(p.optionDisabled), Q;
|
|
3332
3332
|
},
|
|
3333
|
-
noOptions:
|
|
3334
|
-
noResults:
|
|
3335
|
-
assist:
|
|
3336
|
-
fakeInput:
|
|
3333
|
+
noOptions: p.noOptions,
|
|
3334
|
+
noResults: p.noResults,
|
|
3335
|
+
assist: p.assist,
|
|
3336
|
+
fakeInput: p.fakeInput
|
|
3337
3337
|
};
|
|
3338
3338
|
}),
|
|
3339
|
-
showDropdown:
|
|
3339
|
+
showDropdown: I
|
|
3340
3340
|
};
|
|
3341
3341
|
}
|
|
3342
3342
|
function w0(s, e, t) {
|
|
3343
3343
|
const {
|
|
3344
3344
|
limit: n,
|
|
3345
3345
|
infinite: a
|
|
3346
|
-
} =
|
|
3347
|
-
const { isIntersecting:
|
|
3348
|
-
if (
|
|
3349
|
-
const
|
|
3350
|
-
l.value += n.value == -1 ? 10 : n.value,
|
|
3351
|
-
|
|
3346
|
+
} = c1(s), i = t.isOpen, l = t.offset, o = t.search, d = t.pfo, h = t.eo, f = J(null), S = J(null), k = v(() => l.value < d.value.length), O = ($) => {
|
|
3347
|
+
const { isIntersecting: I, target: L } = $[0];
|
|
3348
|
+
if (I) {
|
|
3349
|
+
const p = L.offsetParent, T = p.scrollTop;
|
|
3350
|
+
l.value += n.value == -1 ? 10 : n.value, x1(() => {
|
|
3351
|
+
p.scrollTop = T;
|
|
3352
3352
|
});
|
|
3353
3353
|
}
|
|
3354
3354
|
}, _ = () => {
|
|
3355
|
-
i.value && l.value < d.value.length ?
|
|
3355
|
+
i.value && l.value < d.value.length ? f.value.observe(S.value) : !i.value && f.value && f.value.disconnect();
|
|
3356
3356
|
};
|
|
3357
|
-
return
|
|
3357
|
+
return C1(i, () => {
|
|
3358
3358
|
a.value && _();
|
|
3359
|
-
}),
|
|
3359
|
+
}), C1(o, () => {
|
|
3360
3360
|
a.value && (l.value = n.value, _());
|
|
3361
|
-
}, { flush: "post" }),
|
|
3361
|
+
}, { flush: "post" }), C1(h, () => {
|
|
3362
3362
|
a.value && _();
|
|
3363
3363
|
}, { immediate: !1, flush: "post" }), Ue(() => {
|
|
3364
|
-
window && window.IntersectionObserver && (
|
|
3364
|
+
window && window.IntersectionObserver && (f.value = new IntersectionObserver(O));
|
|
3365
3365
|
}), {
|
|
3366
|
-
hasMore:
|
|
3367
|
-
infiniteLoader:
|
|
3366
|
+
hasMore: k,
|
|
3367
|
+
infiniteLoader: S
|
|
3368
3368
|
};
|
|
3369
3369
|
}
|
|
3370
3370
|
function y0(s, e, t) {
|
|
@@ -3376,61 +3376,61 @@ function y0(s, e, t) {
|
|
|
3376
3376
|
mode: o,
|
|
3377
3377
|
groupLabel: d,
|
|
3378
3378
|
aria: h,
|
|
3379
|
-
searchable:
|
|
3380
|
-
} =
|
|
3381
|
-
let
|
|
3382
|
-
return a && a.value &&
|
|
3379
|
+
searchable: f
|
|
3380
|
+
} = c1(s), S = t.pointer, k = t.iv, O = t.hasSelected, _ = t.multipleLabelText, $ = J(null), I = v(() => {
|
|
3381
|
+
let m = [];
|
|
3382
|
+
return a && a.value && m.push(a.value), m.push("assist"), m.join("-");
|
|
3383
3383
|
}), L = v(() => {
|
|
3384
|
-
let
|
|
3385
|
-
return a && a.value &&
|
|
3386
|
-
}),
|
|
3387
|
-
let
|
|
3388
|
-
if (a && a.value &&
|
|
3389
|
-
return
|
|
3390
|
-
}),
|
|
3391
|
-
let
|
|
3392
|
-
return o.value === "single" &&
|
|
3384
|
+
let m = [];
|
|
3385
|
+
return a && a.value && m.push(a.value), m.push("multiselect-options"), m.join("-");
|
|
3386
|
+
}), p = v(() => {
|
|
3387
|
+
let m = [];
|
|
3388
|
+
if (a && a.value && m.push(a.value), S.value)
|
|
3389
|
+
return m.push(S.value.group ? "multiselect-group" : "multiselect-option"), m.push(S.value.group ? S.value.index : S.value[i.value]), m.join("-");
|
|
3390
|
+
}), T = v(() => n.value), z = v(() => o.value !== "single"), Q = v(() => {
|
|
3391
|
+
let m = "";
|
|
3392
|
+
return o.value === "single" && O.value && (m += k.value[l.value]), o.value === "multiple" && O.value && (m += _.value), o.value === "tags" && O.value && (m += k.value.map((E) => E[l.value]).join(", ")), m;
|
|
3393
3393
|
}), H = v(() => {
|
|
3394
|
-
let
|
|
3395
|
-
return
|
|
3396
|
-
}),
|
|
3397
|
-
let
|
|
3398
|
-
return a && a.value &&
|
|
3399
|
-
},
|
|
3400
|
-
let
|
|
3401
|
-
return a && a.value &&
|
|
3402
|
-
},
|
|
3403
|
-
let
|
|
3404
|
-
return
|
|
3405
|
-
},
|
|
3406
|
-
let
|
|
3407
|
-
return
|
|
3408
|
-
},
|
|
3394
|
+
let m = { ...h.value };
|
|
3395
|
+
return f.value && (m["aria-labelledby"] = m["aria-labelledby"] ? `${I.value} ${m["aria-labelledby"]}` : I.value, Q.value && m["aria-label"] && (m["aria-label"] = `${Q.value}, ${m["aria-label"]}`)), m;
|
|
3396
|
+
}), t1 = (m) => {
|
|
3397
|
+
let E = [];
|
|
3398
|
+
return a && a.value && E.push(a.value), E.push("multiselect-option"), E.push(m[i.value]), E.join("-");
|
|
3399
|
+
}, s1 = (m) => {
|
|
3400
|
+
let E = [];
|
|
3401
|
+
return a && a.value && E.push(a.value), E.push("multiselect-group"), E.push(m.index), E.join("-");
|
|
3402
|
+
}, G = (m) => {
|
|
3403
|
+
let E = [];
|
|
3404
|
+
return E.push(m), E.join(" ");
|
|
3405
|
+
}, b = (m) => {
|
|
3406
|
+
let E = [];
|
|
3407
|
+
return E.push(m), E.join(" ");
|
|
3408
|
+
}, M = (m) => `${m} ❎`;
|
|
3409
3409
|
return Ue(() => {
|
|
3410
3410
|
if (a && a.value && document && document.querySelector) {
|
|
3411
|
-
let
|
|
3412
|
-
|
|
3411
|
+
let m = document.querySelector(`[for="${a.value}"]`);
|
|
3412
|
+
$.value = m ? m.innerText : null;
|
|
3413
3413
|
}
|
|
3414
3414
|
}), {
|
|
3415
3415
|
arias: H,
|
|
3416
3416
|
ariaLabel: Q,
|
|
3417
|
-
ariaAssist:
|
|
3417
|
+
ariaAssist: I,
|
|
3418
3418
|
ariaControls: L,
|
|
3419
|
-
ariaPlaceholder:
|
|
3420
|
-
ariaMultiselectable:
|
|
3421
|
-
ariaActiveDescendant:
|
|
3422
|
-
ariaOptionId:
|
|
3423
|
-
ariaOptionLabel:
|
|
3424
|
-
ariaGroupId:
|
|
3425
|
-
ariaGroupLabel:
|
|
3426
|
-
ariaTagLabel:
|
|
3419
|
+
ariaPlaceholder: T,
|
|
3420
|
+
ariaMultiselectable: z,
|
|
3421
|
+
ariaActiveDescendant: p,
|
|
3422
|
+
ariaOptionId: t1,
|
|
3423
|
+
ariaOptionLabel: G,
|
|
3424
|
+
ariaGroupId: s1,
|
|
3425
|
+
ariaGroupLabel: b,
|
|
3426
|
+
ariaTagLabel: M
|
|
3427
3427
|
};
|
|
3428
3428
|
}
|
|
3429
3429
|
function $0(s, e, t) {
|
|
3430
3430
|
const {
|
|
3431
3431
|
locale: n,
|
|
3432
3432
|
fallbackLocale: a
|
|
3433
|
-
} =
|
|
3433
|
+
} = c1(s);
|
|
3434
3434
|
return {
|
|
3435
3435
|
localize: (l) => !l || typeof l != "object" ? l : l && l[n.value] ? l[n.value] : l && n.value && l[n.value.toUpperCase()] ? l[n.value.toUpperCase()] : l && l[a.value] ? l[a.value] : l && a.value && l[a.value.toUpperCase()] ? l[a.value.toUpperCase()] : l && Object.keys(l)[0] ? l[Object.keys(l)[0]] : ""
|
|
3436
3436
|
};
|
|
@@ -3443,7 +3443,7 @@ function M0(s, e, t, n = {}) {
|
|
|
3443
3443
|
});
|
|
3444
3444
|
}), n;
|
|
3445
3445
|
}
|
|
3446
|
-
var
|
|
3446
|
+
var p1 = {
|
|
3447
3447
|
name: "Multiselect",
|
|
3448
3448
|
emits: [
|
|
3449
3449
|
"paste",
|
|
@@ -3796,11 +3796,11 @@ var h1 = {
|
|
|
3796
3796
|
]);
|
|
3797
3797
|
}
|
|
3798
3798
|
};
|
|
3799
|
-
const L0 = ["id", "dir"], V0 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], I0 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], S0 = ["onKeyup", "aria-label"], H0 = ["onClick"], E0 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], A0 = ["innerHTML"], T0 = ["id"], O0 = ["id", "aria-label", "aria-selected"], k0 = ["data-pointed", "onMouseenter", "onClick"], Z0 = ["innerHTML"], B0 = ["aria-label"], P0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], D0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], N0 = ["innerHTML"], R0 = ["innerHTML"], U0 = ["value"], q0 = ["name", "value"], j0 = ["name", "value"],
|
|
3800
|
-
function
|
|
3799
|
+
const L0 = ["id", "dir"], V0 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], I0 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], S0 = ["onKeyup", "aria-label"], H0 = ["onClick"], E0 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], A0 = ["innerHTML"], T0 = ["id"], O0 = ["id", "aria-label", "aria-selected"], k0 = ["data-pointed", "onMouseenter", "onClick"], Z0 = ["innerHTML"], B0 = ["aria-label"], P0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], D0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], N0 = ["innerHTML"], R0 = ["innerHTML"], U0 = ["value"], q0 = ["name", "value"], j0 = ["name", "value"], x0 = ["id"];
|
|
3800
|
+
function K0(s, e, t, n, a, i) {
|
|
3801
3801
|
return c(), C("div", {
|
|
3802
3802
|
ref: "multiselect",
|
|
3803
|
-
class:
|
|
3803
|
+
class: D(s.classList.container),
|
|
3804
3804
|
id: t.searchable ? void 0 : t.id,
|
|
3805
3805
|
dir: t.rtl ? "rtl" : void 0,
|
|
3806
3806
|
onFocusin: e[10] || (e[10] = (...l) => s.handleFocusIn && s.handleFocusIn(...l)),
|
|
@@ -3848,20 +3848,20 @@ function z0(s, e, t, n, a, i) {
|
|
|
3848
3848
|
"div",
|
|
3849
3849
|
{
|
|
3850
3850
|
key: 1,
|
|
3851
|
-
class:
|
|
3851
|
+
class: D(s.classList.tags),
|
|
3852
3852
|
"data-tags": ""
|
|
3853
3853
|
},
|
|
3854
3854
|
[
|
|
3855
3855
|
(c(!0), C(
|
|
3856
|
-
|
|
3856
|
+
g1,
|
|
3857
3857
|
null,
|
|
3858
|
-
|
|
3858
|
+
I1(s.iv, (l, o, d) => q(s.$slots, "tag", {
|
|
3859
3859
|
option: l,
|
|
3860
3860
|
handleTagRemove: s.handleTagRemove,
|
|
3861
3861
|
disabled: t.disabled
|
|
3862
3862
|
}, () => [
|
|
3863
3863
|
(c(), C("span", {
|
|
3864
|
-
class:
|
|
3864
|
+
class: D([
|
|
3865
3865
|
s.classList.tag,
|
|
3866
3866
|
l.disabled ? s.classList.tagDisabled : null
|
|
3867
3867
|
]),
|
|
@@ -3871,19 +3871,19 @@ function z0(s, e, t, n, a, i) {
|
|
|
3871
3871
|
"aria-label": s.ariaTagLabel(s.localize(l[t.label]))
|
|
3872
3872
|
}, [
|
|
3873
3873
|
ye(
|
|
3874
|
-
|
|
3874
|
+
x(s.localize(l[t.label])) + " ",
|
|
3875
3875
|
1
|
|
3876
3876
|
/* TEXT */
|
|
3877
3877
|
),
|
|
3878
3878
|
!t.disabled && !l.disabled ? (c(), C("span", {
|
|
3879
3879
|
key: 0,
|
|
3880
|
-
class:
|
|
3880
|
+
class: D(s.classList.tagRemove),
|
|
3881
3881
|
onClick: te((h) => s.handleTagRemove(l, h), ["stop"])
|
|
3882
3882
|
}, [
|
|
3883
3883
|
u(
|
|
3884
3884
|
"span",
|
|
3885
3885
|
{
|
|
3886
|
-
class:
|
|
3886
|
+
class: D(s.classList.tagRemoveIcon)
|
|
3887
3887
|
},
|
|
3888
3888
|
null,
|
|
3889
3889
|
2
|
|
@@ -3898,7 +3898,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
3898
3898
|
u(
|
|
3899
3899
|
"div",
|
|
3900
3900
|
{
|
|
3901
|
-
class:
|
|
3901
|
+
class: D(s.classList.tagsSearchWrapper),
|
|
3902
3902
|
ref: "tags"
|
|
3903
3903
|
},
|
|
3904
3904
|
[
|
|
@@ -3906,9 +3906,9 @@ function z0(s, e, t, n, a, i) {
|
|
|
3906
3906
|
u(
|
|
3907
3907
|
"span",
|
|
3908
3908
|
{
|
|
3909
|
-
class:
|
|
3909
|
+
class: D(s.classList.tagsSearchCopy)
|
|
3910
3910
|
},
|
|
3911
|
-
|
|
3911
|
+
x(s.search),
|
|
3912
3912
|
3
|
|
3913
3913
|
/* TEXT, CLASS */
|
|
3914
3914
|
),
|
|
@@ -3944,22 +3944,22 @@ function z0(s, e, t, n, a, i) {
|
|
|
3944
3944
|
/* CLASS */
|
|
3945
3945
|
)) : V("v-if", !0),
|
|
3946
3946
|
V(" Single label "),
|
|
3947
|
-
t.mode == "single" && s.hasSelected && !s.search && s.iv ?
|
|
3947
|
+
t.mode == "single" && s.hasSelected && !s.search && s.iv ? q(s.$slots, "singlelabel", {
|
|
3948
3948
|
key: 2,
|
|
3949
3949
|
value: s.iv
|
|
3950
3950
|
}, () => [
|
|
3951
3951
|
u(
|
|
3952
3952
|
"div",
|
|
3953
3953
|
{
|
|
3954
|
-
class:
|
|
3954
|
+
class: D(s.classList.singleLabel)
|
|
3955
3955
|
},
|
|
3956
3956
|
[
|
|
3957
3957
|
u(
|
|
3958
3958
|
"span",
|
|
3959
3959
|
{
|
|
3960
|
-
class:
|
|
3960
|
+
class: D(s.classList.singleLabelText)
|
|
3961
3961
|
},
|
|
3962
|
-
|
|
3962
|
+
x(s.localize(s.iv[t.label])),
|
|
3963
3963
|
3
|
|
3964
3964
|
/* TEXT, CLASS */
|
|
3965
3965
|
)
|
|
@@ -3969,34 +3969,34 @@ function z0(s, e, t, n, a, i) {
|
|
|
3969
3969
|
)
|
|
3970
3970
|
]) : V("v-if", !0),
|
|
3971
3971
|
V(" Multiple label "),
|
|
3972
|
-
t.mode == "multiple" && s.hasSelected && !s.search ?
|
|
3972
|
+
t.mode == "multiple" && s.hasSelected && !s.search ? q(s.$slots, "multiplelabel", {
|
|
3973
3973
|
key: 3,
|
|
3974
3974
|
values: s.iv
|
|
3975
3975
|
}, () => [
|
|
3976
3976
|
u("div", {
|
|
3977
|
-
class:
|
|
3977
|
+
class: D(s.classList.multipleLabel),
|
|
3978
3978
|
innerHTML: s.multipleLabelText
|
|
3979
3979
|
}, null, 10, A0)
|
|
3980
3980
|
]) : V("v-if", !0),
|
|
3981
3981
|
V(" Placeholder "),
|
|
3982
|
-
t.placeholder && !s.hasSelected && !s.search ?
|
|
3982
|
+
t.placeholder && !s.hasSelected && !s.search ? q(s.$slots, "placeholder", { key: 4 }, () => [
|
|
3983
3983
|
u(
|
|
3984
3984
|
"div",
|
|
3985
3985
|
{
|
|
3986
|
-
class:
|
|
3986
|
+
class: D(s.classList.placeholder),
|
|
3987
3987
|
"aria-hidden": "true"
|
|
3988
3988
|
},
|
|
3989
|
-
|
|
3989
|
+
x(t.placeholder),
|
|
3990
3990
|
3
|
|
3991
3991
|
/* TEXT, CLASS */
|
|
3992
3992
|
)
|
|
3993
3993
|
]) : V("v-if", !0),
|
|
3994
3994
|
V(" Spinner "),
|
|
3995
|
-
t.loading || s.resolving ?
|
|
3995
|
+
t.loading || s.resolving ? q(s.$slots, "spinner", { key: 5 }, () => [
|
|
3996
3996
|
u(
|
|
3997
3997
|
"span",
|
|
3998
3998
|
{
|
|
3999
|
-
class:
|
|
3999
|
+
class: D(s.classList.spinner),
|
|
4000
4000
|
"aria-hidden": "true"
|
|
4001
4001
|
},
|
|
4002
4002
|
null,
|
|
@@ -4005,7 +4005,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4005
4005
|
)
|
|
4006
4006
|
]) : V("v-if", !0),
|
|
4007
4007
|
V(" Clear "),
|
|
4008
|
-
s.hasSelected && !t.disabled && t.canClear && !s.busy ?
|
|
4008
|
+
s.hasSelected && !t.disabled && t.canClear && !s.busy ? q(s.$slots, "clear", {
|
|
4009
4009
|
key: 6,
|
|
4010
4010
|
clear: s.clear
|
|
4011
4011
|
}, () => [
|
|
@@ -4017,7 +4017,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4017
4017
|
role: "button",
|
|
4018
4018
|
"data-clear": "",
|
|
4019
4019
|
"aria-roledescription": "❎",
|
|
4020
|
-
class:
|
|
4020
|
+
class: D(s.classList.clear),
|
|
4021
4021
|
onClick: e[6] || (e[6] = (...l) => s.clear && s.clear(...l)),
|
|
4022
4022
|
onKeyup: e[7] || (e[7] = Be((...l) => s.clear && s.clear(...l), ["enter"]))
|
|
4023
4023
|
},
|
|
@@ -4025,7 +4025,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4025
4025
|
u(
|
|
4026
4026
|
"span",
|
|
4027
4027
|
{
|
|
4028
|
-
class:
|
|
4028
|
+
class: D(s.classList.clearIcon)
|
|
4029
4029
|
},
|
|
4030
4030
|
null,
|
|
4031
4031
|
2
|
|
@@ -4037,11 +4037,11 @@ function z0(s, e, t, n, a, i) {
|
|
|
4037
4037
|
)
|
|
4038
4038
|
]) : V("v-if", !0),
|
|
4039
4039
|
V(" Caret "),
|
|
4040
|
-
t.caret && t.showOptions ?
|
|
4040
|
+
t.caret && t.showOptions ? q(s.$slots, "caret", { key: 7 }, () => [
|
|
4041
4041
|
u(
|
|
4042
4042
|
"span",
|
|
4043
4043
|
{
|
|
4044
|
-
class:
|
|
4044
|
+
class: D(s.classList.caret),
|
|
4045
4045
|
onClick: e[8] || (e[8] = (...l) => s.handleCaretClick && s.handleCaretClick(...l)),
|
|
4046
4046
|
"aria-hidden": "true"
|
|
4047
4047
|
},
|
|
@@ -4055,21 +4055,21 @@ function z0(s, e, t, n, a, i) {
|
|
|
4055
4055
|
u(
|
|
4056
4056
|
"div",
|
|
4057
4057
|
{
|
|
4058
|
-
class:
|
|
4058
|
+
class: D(s.classList.dropdown),
|
|
4059
4059
|
tabindex: "-1"
|
|
4060
4060
|
},
|
|
4061
4061
|
[
|
|
4062
|
-
|
|
4062
|
+
q(s.$slots, "beforelist", { options: s.fo }),
|
|
4063
4063
|
u("ul", {
|
|
4064
|
-
class:
|
|
4064
|
+
class: D(s.classList.options),
|
|
4065
4065
|
id: s.ariaControls,
|
|
4066
4066
|
role: "listbox"
|
|
4067
4067
|
}, [
|
|
4068
4068
|
t.groups ? (c(!0), C(
|
|
4069
|
-
|
|
4069
|
+
g1,
|
|
4070
4070
|
{ key: 0 },
|
|
4071
|
-
|
|
4072
|
-
class:
|
|
4071
|
+
I1(s.fg, (l, o, d) => (c(), C("li", {
|
|
4072
|
+
class: D(s.classList.group),
|
|
4073
4073
|
key: d,
|
|
4074
4074
|
id: s.ariaGroupId(l),
|
|
4075
4075
|
"aria-label": s.ariaGroupLabel(s.localize(l[t.groupLabel])),
|
|
@@ -4078,12 +4078,12 @@ function z0(s, e, t, n, a, i) {
|
|
|
4078
4078
|
}, [
|
|
4079
4079
|
l.__CREATE__ ? V("v-if", !0) : (c(), C("div", {
|
|
4080
4080
|
key: 0,
|
|
4081
|
-
class:
|
|
4081
|
+
class: D(s.classList.groupLabel(l)),
|
|
4082
4082
|
"data-pointed": s.isPointed(l),
|
|
4083
4083
|
onMouseenter: (h) => s.setPointer(l, o),
|
|
4084
4084
|
onClick: (h) => s.handleGroupClick(l)
|
|
4085
4085
|
}, [
|
|
4086
|
-
|
|
4086
|
+
q(s.$slots, "grouplabel", {
|
|
4087
4087
|
group: l,
|
|
4088
4088
|
isSelected: s.isSelected,
|
|
4089
4089
|
isPointed: s.isPointed
|
|
@@ -4094,26 +4094,26 @@ function z0(s, e, t, n, a, i) {
|
|
|
4094
4094
|
])
|
|
4095
4095
|
], 42, k0)),
|
|
4096
4096
|
u("ul", {
|
|
4097
|
-
class:
|
|
4097
|
+
class: D(s.classList.groupOptions),
|
|
4098
4098
|
"aria-label": s.ariaGroupLabel(s.localize(l[t.groupLabel])),
|
|
4099
4099
|
role: "group"
|
|
4100
4100
|
}, [
|
|
4101
4101
|
(c(!0), C(
|
|
4102
|
-
|
|
4102
|
+
g1,
|
|
4103
4103
|
null,
|
|
4104
|
-
|
|
4105
|
-
class:
|
|
4104
|
+
I1(l.__VISIBLE__, (h, f, S) => (c(), C("li", {
|
|
4105
|
+
class: D(s.classList.option(h, l)),
|
|
4106
4106
|
"data-pointed": s.isPointed(h),
|
|
4107
4107
|
"data-selected": s.isSelected(h) || void 0,
|
|
4108
|
-
key:
|
|
4109
|
-
onMouseenter: (
|
|
4110
|
-
onClick: (
|
|
4108
|
+
key: S,
|
|
4109
|
+
onMouseenter: (k) => s.setPointer(h),
|
|
4110
|
+
onClick: (k) => s.handleOptionClick(h),
|
|
4111
4111
|
id: s.ariaOptionId(h),
|
|
4112
4112
|
"aria-selected": s.isSelected(h),
|
|
4113
4113
|
"aria-label": s.ariaOptionLabel(s.localize(h[t.label])),
|
|
4114
4114
|
role: "option"
|
|
4115
4115
|
}, [
|
|
4116
|
-
|
|
4116
|
+
q(s.$slots, "option", {
|
|
4117
4117
|
option: h,
|
|
4118
4118
|
isSelected: s.isSelected,
|
|
4119
4119
|
isPointed: s.isPointed,
|
|
@@ -4122,7 +4122,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4122
4122
|
u(
|
|
4123
4123
|
"span",
|
|
4124
4124
|
null,
|
|
4125
|
-
|
|
4125
|
+
x(s.localize(h[t.label])),
|
|
4126
4126
|
1
|
|
4127
4127
|
/* TEXT */
|
|
4128
4128
|
)
|
|
@@ -4136,10 +4136,10 @@ function z0(s, e, t, n, a, i) {
|
|
|
4136
4136
|
128
|
|
4137
4137
|
/* KEYED_FRAGMENT */
|
|
4138
4138
|
)) : (c(!0), C(
|
|
4139
|
-
|
|
4139
|
+
g1,
|
|
4140
4140
|
{ key: 1 },
|
|
4141
|
-
|
|
4142
|
-
class:
|
|
4141
|
+
I1(s.fo, (l, o, d) => (c(), C("li", {
|
|
4142
|
+
class: D(s.classList.option(l)),
|
|
4143
4143
|
"data-pointed": s.isPointed(l),
|
|
4144
4144
|
"data-selected": s.isSelected(l) || void 0,
|
|
4145
4145
|
key: d,
|
|
@@ -4150,7 +4150,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4150
4150
|
"aria-label": s.ariaOptionLabel(s.localize(l[t.label])),
|
|
4151
4151
|
role: "option"
|
|
4152
4152
|
}, [
|
|
4153
|
-
|
|
4153
|
+
q(s.$slots, "option", {
|
|
4154
4154
|
option: l,
|
|
4155
4155
|
isSelected: s.isSelected,
|
|
4156
4156
|
isPointed: s.isPointed,
|
|
@@ -4159,7 +4159,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4159
4159
|
u(
|
|
4160
4160
|
"span",
|
|
4161
4161
|
null,
|
|
4162
|
-
|
|
4162
|
+
x(s.localize(l[t.label])),
|
|
4163
4163
|
1
|
|
4164
4164
|
/* TEXT */
|
|
4165
4165
|
)
|
|
@@ -4169,15 +4169,15 @@ function z0(s, e, t, n, a, i) {
|
|
|
4169
4169
|
/* KEYED_FRAGMENT */
|
|
4170
4170
|
))
|
|
4171
4171
|
], 10, T0),
|
|
4172
|
-
s.noOptions ?
|
|
4172
|
+
s.noOptions ? q(s.$slots, "nooptions", { key: 0 }, () => [
|
|
4173
4173
|
u("div", {
|
|
4174
|
-
class:
|
|
4174
|
+
class: D(s.classList.noOptions),
|
|
4175
4175
|
innerHTML: s.localize(t.noOptionsText)
|
|
4176
4176
|
}, null, 10, N0)
|
|
4177
4177
|
]) : V("v-if", !0),
|
|
4178
|
-
s.noResults ?
|
|
4178
|
+
s.noResults ? q(s.$slots, "noresults", { key: 1 }, () => [
|
|
4179
4179
|
u("div", {
|
|
4180
|
-
class:
|
|
4180
|
+
class: D(s.classList.noResults),
|
|
4181
4181
|
innerHTML: s.localize(t.noResultsText)
|
|
4182
4182
|
}, null, 10, R0)
|
|
4183
4183
|
]) : V("v-if", !0),
|
|
@@ -4185,15 +4185,15 @@ function z0(s, e, t, n, a, i) {
|
|
|
4185
4185
|
"div",
|
|
4186
4186
|
{
|
|
4187
4187
|
key: 2,
|
|
4188
|
-
class:
|
|
4188
|
+
class: D(s.classList.inifinite),
|
|
4189
4189
|
ref: "infiniteLoader"
|
|
4190
4190
|
},
|
|
4191
4191
|
[
|
|
4192
|
-
|
|
4192
|
+
q(s.$slots, "infinite", {}, () => [
|
|
4193
4193
|
u(
|
|
4194
4194
|
"span",
|
|
4195
4195
|
{
|
|
4196
|
-
class:
|
|
4196
|
+
class: D(s.classList.inifiniteSpinner)
|
|
4197
4197
|
},
|
|
4198
4198
|
null,
|
|
4199
4199
|
2
|
|
@@ -4204,7 +4204,7 @@ function z0(s, e, t, n, a, i) {
|
|
|
4204
4204
|
2
|
|
4205
4205
|
/* CLASS */
|
|
4206
4206
|
)) : V("v-if", !0),
|
|
4207
|
-
|
|
4207
|
+
q(s.$slots, "afterlist", { options: s.fo })
|
|
4208
4208
|
],
|
|
4209
4209
|
2
|
|
4210
4210
|
/* CLASS */
|
|
@@ -4212,14 +4212,14 @@ function z0(s, e, t, n, a, i) {
|
|
|
4212
4212
|
V(" Hacky input element to show HTML5 required warning "),
|
|
4213
4213
|
t.required ? (c(), C("input", {
|
|
4214
4214
|
key: 0,
|
|
4215
|
-
class:
|
|
4215
|
+
class: D(s.classList.fakeInput),
|
|
4216
4216
|
tabindex: "-1",
|
|
4217
4217
|
value: s.textValue,
|
|
4218
4218
|
required: ""
|
|
4219
4219
|
}, null, 10, U0)) : V("v-if", !0),
|
|
4220
4220
|
V(" Native input support "),
|
|
4221
4221
|
t.nativeSupport ? (c(), C(
|
|
4222
|
-
|
|
4222
|
+
g1,
|
|
4223
4223
|
{ key: 1 },
|
|
4224
4224
|
[
|
|
4225
4225
|
t.mode == "single" ? (c(), C("input", {
|
|
@@ -4228,9 +4228,9 @@ function z0(s, e, t, n, a, i) {
|
|
|
4228
4228
|
name: t.name,
|
|
4229
4229
|
value: s.plainValue !== void 0 ? s.plainValue : ""
|
|
4230
4230
|
}, null, 8, q0)) : (c(!0), C(
|
|
4231
|
-
|
|
4231
|
+
g1,
|
|
4232
4232
|
{ key: 1 },
|
|
4233
|
-
|
|
4233
|
+
I1(s.plainValue, (l, o) => (c(), C("input", {
|
|
4234
4234
|
type: "hidden",
|
|
4235
4235
|
name: `${t.name}[]`,
|
|
4236
4236
|
value: l,
|
|
@@ -4246,15 +4246,15 @@ function z0(s, e, t, n, a, i) {
|
|
|
4246
4246
|
V(" Screen reader assistive text "),
|
|
4247
4247
|
t.searchable && s.hasSelected ? (c(), C("div", {
|
|
4248
4248
|
key: 2,
|
|
4249
|
-
class:
|
|
4249
|
+
class: D(s.classList.assist),
|
|
4250
4250
|
id: s.ariaAssist,
|
|
4251
4251
|
"aria-hidden": "true"
|
|
4252
|
-
},
|
|
4252
|
+
}, x(s.ariaLabel), 11, x0)) : V("v-if", !0),
|
|
4253
4253
|
V(" Create height for empty input "),
|
|
4254
4254
|
u(
|
|
4255
4255
|
"div",
|
|
4256
4256
|
{
|
|
4257
|
-
class:
|
|
4257
|
+
class: D(s.classList.spacer)
|
|
4258
4258
|
},
|
|
4259
4259
|
null,
|
|
4260
4260
|
2
|
|
@@ -4262,16 +4262,16 @@ function z0(s, e, t, n, a, i) {
|
|
|
4262
4262
|
)
|
|
4263
4263
|
], 42, L0);
|
|
4264
4264
|
}
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
const
|
|
4265
|
+
p1.render = K0;
|
|
4266
|
+
p1.__file = "src/Multiselect.vue";
|
|
4267
|
+
const z0 = { class: "ao-modal__wrapper" }, G0 = { class: "ao-modal" }, F0 = { class: "ao-modal__header" }, Y0 = { class: "ao-modal__header-meta" }, X0 = {
|
|
4268
4268
|
key: 0,
|
|
4269
4269
|
class: "ao-modal__title-group"
|
|
4270
|
-
}, W0 = { class: "ao-modal__body" }, We = /* @__PURE__ */
|
|
4270
|
+
}, W0 = { class: "ao-modal__body" }, We = /* @__PURE__ */ Y({
|
|
4271
4271
|
__name: "AoModal",
|
|
4272
4272
|
emits: ["close"],
|
|
4273
4273
|
setup(s) {
|
|
4274
|
-
return (e, t) => (c(), C("div",
|
|
4274
|
+
return (e, t) => (c(), C("div", z0, [
|
|
4275
4275
|
u("div", {
|
|
4276
4276
|
class: "ao-modal__backdrop",
|
|
4277
4277
|
onClick: t[0] || (t[0] = (n) => e.$emit("close"))
|
|
@@ -4279,7 +4279,7 @@ const x0 = { class: "ao-modal__wrapper" }, G0 = { class: "ao-modal" }, F0 = { cl
|
|
|
4279
4279
|
u("div", G0, [
|
|
4280
4280
|
u("div", F0, [
|
|
4281
4281
|
u("div", Y0, [
|
|
4282
|
-
|
|
4282
|
+
B(B1, {
|
|
4283
4283
|
"icon-name": "CloseRounded",
|
|
4284
4284
|
variant: "ghost",
|
|
4285
4285
|
color: "primary",
|
|
@@ -4287,11 +4287,11 @@ const x0 = { class: "ao-modal__wrapper" }, G0 = { class: "ao-modal" }, F0 = { cl
|
|
|
4287
4287
|
})
|
|
4288
4288
|
]),
|
|
4289
4289
|
e.$slots.header ? (c(), C("header", X0, [
|
|
4290
|
-
|
|
4290
|
+
q(e.$slots, "header")
|
|
4291
4291
|
])) : V("", !0)
|
|
4292
4292
|
]),
|
|
4293
4293
|
u("div", W0, [
|
|
4294
|
-
|
|
4294
|
+
q(e.$slots, "default")
|
|
4295
4295
|
])
|
|
4296
4296
|
])
|
|
4297
4297
|
]));
|
|
@@ -4300,7 +4300,7 @@ const x0 = { class: "ao-modal__wrapper" }, G0 = { class: "ao-modal" }, F0 = { cl
|
|
|
4300
4300
|
const J0 = {
|
|
4301
4301
|
key: 0,
|
|
4302
4302
|
class: "ao-activity__category"
|
|
4303
|
-
}, Q0 = { class: "ao-activity-details__content" }, ei = { class: "ao-fieldset" }, ti = { class: "ao-field__row" }, si = { class: "ao-field ao-field--full" }, ai = { class: "ao-field__label" }, li = { class: "ao-field__row" }, ni = { class: "ao-field" }, ii = { class: "ao-field__label" }, oi = { class: "ao-field" }, ri = { class: "ao-field__label" }, ui = { class: "ao-field__row" }, ci = { class: "ao-field ao-field--multiselect" }, di = { class: "ao-field__label" }, Ci = { class: "ao-fieldset" }, hi = { class: "ao-fieldset__title" }, fi = { class: "ao-field__row" }, pi = { class: "ao-field ao-field--multiselect" }, vi = { class: "ao-field__label" }, _i = { class: "ao-field__row" }, mi = { class: "ao-field ao-field--multiselect" }, gi = { class: "ao-field__label" }, bi = { class: "ao-field__row" }, wi = { class: "ao-field ao-field--multiselect" }, yi = { class: "ao-field__label" }, $i = /* @__PURE__ */ u("div", { class: "ao-activity-details__aside" }, null, -1), Mi = /* @__PURE__ */
|
|
4303
|
+
}, Q0 = { class: "ao-activity-details__content" }, ei = { class: "ao-fieldset" }, ti = { class: "ao-field__row" }, si = { class: "ao-field ao-field--full" }, ai = { class: "ao-field__label" }, li = { class: "ao-field__row" }, ni = { class: "ao-field" }, ii = { class: "ao-field__label" }, oi = { class: "ao-field" }, ri = { class: "ao-field__label" }, ui = { class: "ao-field__row" }, ci = { class: "ao-field ao-field--multiselect" }, di = { class: "ao-field__label" }, Ci = { class: "ao-fieldset" }, hi = { class: "ao-fieldset__title" }, fi = { class: "ao-field__row" }, pi = { class: "ao-field ao-field--multiselect" }, vi = { class: "ao-field__label" }, _i = { class: "ao-field__row" }, mi = { class: "ao-field ao-field--multiselect" }, gi = { class: "ao-field__label" }, bi = { class: "ao-field__row" }, wi = { class: "ao-field ao-field--multiselect" }, yi = { class: "ao-field__label" }, $i = /* @__PURE__ */ u("div", { class: "ao-activity-details__aside" }, null, -1), Mi = /* @__PURE__ */ Y({
|
|
4304
4304
|
__name: "AoActivityDetails",
|
|
4305
4305
|
props: {
|
|
4306
4306
|
activity: {},
|
|
@@ -4355,12 +4355,12 @@ const J0 = {
|
|
|
4355
4355
|
});
|
|
4356
4356
|
}
|
|
4357
4357
|
}), h = v(() => o.value.map((_) => {
|
|
4358
|
-
var
|
|
4358
|
+
var $;
|
|
4359
4359
|
return {
|
|
4360
4360
|
..._,
|
|
4361
|
-
disabled: (
|
|
4361
|
+
disabled: ($ = t.activity.blocking) == null ? void 0 : $.some((I) => I === _.value)
|
|
4362
4362
|
};
|
|
4363
|
-
})),
|
|
4363
|
+
})), f = v({
|
|
4364
4364
|
get() {
|
|
4365
4365
|
return t.activity.blocking;
|
|
4366
4366
|
},
|
|
@@ -4370,16 +4370,16 @@ const J0 = {
|
|
|
4370
4370
|
blocking: _
|
|
4371
4371
|
});
|
|
4372
4372
|
}
|
|
4373
|
-
}),
|
|
4374
|
-
var
|
|
4373
|
+
}), S = v(() => o.value.map((_) => {
|
|
4374
|
+
var $;
|
|
4375
4375
|
return {
|
|
4376
4376
|
..._,
|
|
4377
|
-
disabled: (
|
|
4377
|
+
disabled: ($ = t.activity.dependingOn) == null ? void 0 : $.some((I) => I === _.value)
|
|
4378
4378
|
};
|
|
4379
|
-
})),
|
|
4380
|
-
label:
|
|
4381
|
-
value:
|
|
4382
|
-
}))),
|
|
4379
|
+
})), k = v(() => (t.templateMilestones || []).filter(($) => $.id !== t.milestoneId).map(($) => ({
|
|
4380
|
+
label: $.name,
|
|
4381
|
+
value: $.id
|
|
4382
|
+
}))), O = v({
|
|
4383
4383
|
get() {
|
|
4384
4384
|
return t.activity.dependingMilestones;
|
|
4385
4385
|
},
|
|
@@ -4390,24 +4390,24 @@ const J0 = {
|
|
|
4390
4390
|
});
|
|
4391
4391
|
}
|
|
4392
4392
|
});
|
|
4393
|
-
return (_,
|
|
4394
|
-
onClose:
|
|
4393
|
+
return (_, $) => (c(), U(We, {
|
|
4394
|
+
onClose: $[7] || ($[7] = (I) => _.$emit("close"))
|
|
4395
4395
|
}, {
|
|
4396
|
-
header:
|
|
4397
|
-
_.breadcrumbs ? (c(), C("div", J0,
|
|
4398
|
-
|
|
4396
|
+
header: K(() => [
|
|
4397
|
+
_.breadcrumbs ? (c(), C("div", J0, x(_.breadcrumbs), 1)) : V("", !0),
|
|
4398
|
+
B(S1, {
|
|
4399
4399
|
title: _.activity.name || _.activity.id,
|
|
4400
4400
|
level: 4
|
|
4401
4401
|
}, null, 8, ["title"])
|
|
4402
4402
|
]),
|
|
4403
|
-
default:
|
|
4403
|
+
default: K(() => [
|
|
4404
4404
|
u("div", Q0, [
|
|
4405
4405
|
u("fieldset", ei, [
|
|
4406
4406
|
u("div", ti, [
|
|
4407
4407
|
u("label", si, [
|
|
4408
|
-
u("span", ai,
|
|
4408
|
+
u("span", ai, x(_.$t("activity.description.label")), 1),
|
|
4409
4409
|
se(u("textarea", {
|
|
4410
|
-
"onUpdate:modelValue":
|
|
4410
|
+
"onUpdate:modelValue": $[0] || ($[0] = (I) => n.value = I),
|
|
4411
4411
|
rows: "4",
|
|
4412
4412
|
class: "ao-field__textarea"
|
|
4413
4413
|
}, null, 512), [
|
|
@@ -4425,9 +4425,9 @@ const J0 = {
|
|
|
4425
4425
|
]),
|
|
4426
4426
|
u("div", li, [
|
|
4427
4427
|
u("label", ni, [
|
|
4428
|
-
u("span", ii,
|
|
4428
|
+
u("span", ii, x(_.$t("activity.estimation.label")), 1),
|
|
4429
4429
|
se(u("input", {
|
|
4430
|
-
"onUpdate:modelValue":
|
|
4430
|
+
"onUpdate:modelValue": $[1] || ($[1] = (I) => a.value = I),
|
|
4431
4431
|
class: "ao-field__input",
|
|
4432
4432
|
type: "number",
|
|
4433
4433
|
min: "0"
|
|
@@ -4444,9 +4444,9 @@ const J0 = {
|
|
|
4444
4444
|
])
|
|
4445
4445
|
]),
|
|
4446
4446
|
u("label", oi, [
|
|
4447
|
-
u("span", ri,
|
|
4447
|
+
u("span", ri, x(_.$t("activity.isImportant.label")), 1),
|
|
4448
4448
|
se(u("input", {
|
|
4449
|
-
"onUpdate:modelValue":
|
|
4449
|
+
"onUpdate:modelValue": $[2] || ($[2] = (I) => i.value = I),
|
|
4450
4450
|
class: "ao-field__input",
|
|
4451
4451
|
type: "checkbox"
|
|
4452
4452
|
}, null, 512), [
|
|
@@ -4461,10 +4461,10 @@ const J0 = {
|
|
|
4461
4461
|
]),
|
|
4462
4462
|
u("div", ui, [
|
|
4463
4463
|
u("label", ci, [
|
|
4464
|
-
u("span", di,
|
|
4465
|
-
|
|
4464
|
+
u("span", di, x(_.$t("activity.type.label")), 1),
|
|
4465
|
+
B(a1(p1), {
|
|
4466
4466
|
modelValue: l.value,
|
|
4467
|
-
"onUpdate:modelValue":
|
|
4467
|
+
"onUpdate:modelValue": $[3] || ($[3] = (I) => l.value = I),
|
|
4468
4468
|
class: "ao-field__multiselect",
|
|
4469
4469
|
mode: "single",
|
|
4470
4470
|
searchable: !0,
|
|
@@ -4476,18 +4476,18 @@ const J0 = {
|
|
|
4476
4476
|
]),
|
|
4477
4477
|
u("fieldset", Ci, [
|
|
4478
4478
|
u("div", hi, [
|
|
4479
|
-
|
|
4480
|
-
|
|
4479
|
+
B(b1, { name: "FlowsheetOutlineRounded" }),
|
|
4480
|
+
B(S1, {
|
|
4481
4481
|
level: 4,
|
|
4482
4482
|
title: "Dependencies"
|
|
4483
4483
|
})
|
|
4484
4484
|
]),
|
|
4485
4485
|
u("div", fi, [
|
|
4486
4486
|
u("label", pi, [
|
|
4487
|
-
u("span", vi,
|
|
4488
|
-
|
|
4487
|
+
u("span", vi, x(_.$t("activity.dependingOn.label")), 1),
|
|
4488
|
+
B(a1(p1), {
|
|
4489
4489
|
modelValue: d.value,
|
|
4490
|
-
"onUpdate:modelValue":
|
|
4490
|
+
"onUpdate:modelValue": $[4] || ($[4] = (I) => d.value = I),
|
|
4491
4491
|
class: "ao-field__multiselect",
|
|
4492
4492
|
mode: "tags",
|
|
4493
4493
|
"close-on-select": !1,
|
|
@@ -4498,34 +4498,34 @@ const J0 = {
|
|
|
4498
4498
|
]),
|
|
4499
4499
|
u("div", _i, [
|
|
4500
4500
|
u("label", mi, [
|
|
4501
|
-
u("span", gi,
|
|
4502
|
-
|
|
4503
|
-
modelValue:
|
|
4504
|
-
"onUpdate:modelValue":
|
|
4501
|
+
u("span", gi, x(_.$t("activity.blocking.label")), 1),
|
|
4502
|
+
B(a1(p1), {
|
|
4503
|
+
modelValue: f.value,
|
|
4504
|
+
"onUpdate:modelValue": $[5] || ($[5] = (I) => f.value = I),
|
|
4505
4505
|
class: "ao-field__multiselect",
|
|
4506
4506
|
mode: "tags",
|
|
4507
4507
|
"close-on-select": !1,
|
|
4508
4508
|
searchable: !0,
|
|
4509
|
-
options:
|
|
4509
|
+
options: S.value
|
|
4510
4510
|
}, null, 8, ["modelValue", "options"])
|
|
4511
4511
|
])
|
|
4512
4512
|
]),
|
|
4513
4513
|
u("div", bi, [
|
|
4514
4514
|
u("label", wi, [
|
|
4515
|
-
u("span", yi,
|
|
4516
|
-
|
|
4517
|
-
modelValue:
|
|
4518
|
-
"onUpdate:modelValue":
|
|
4515
|
+
u("span", yi, x(_.$t("activity.dependingMilestone.label")), 1),
|
|
4516
|
+
B(a1(p1), {
|
|
4517
|
+
modelValue: O.value,
|
|
4518
|
+
"onUpdate:modelValue": $[6] || ($[6] = (I) => O.value = I),
|
|
4519
4519
|
class: "ao-field__multiselect",
|
|
4520
4520
|
mode: "tags",
|
|
4521
4521
|
"close-on-select": !1,
|
|
4522
4522
|
searchable: !0,
|
|
4523
|
-
options:
|
|
4523
|
+
options: k.value
|
|
4524
4524
|
}, null, 8, ["modelValue", "options"])
|
|
4525
4525
|
])
|
|
4526
4526
|
])
|
|
4527
4527
|
]),
|
|
4528
|
-
|
|
4528
|
+
q(_.$slots, "default")
|
|
4529
4529
|
]),
|
|
4530
4530
|
$i
|
|
4531
4531
|
]),
|
|
@@ -4533,7 +4533,7 @@ const J0 = {
|
|
|
4533
4533
|
}));
|
|
4534
4534
|
}
|
|
4535
4535
|
});
|
|
4536
|
-
const Li = /* @__PURE__ */
|
|
4536
|
+
const Li = /* @__PURE__ */ Y({
|
|
4537
4537
|
__name: "AoRuleLine",
|
|
4538
4538
|
props: {
|
|
4539
4539
|
rule: {},
|
|
@@ -4545,7 +4545,7 @@ const Li = /* @__PURE__ */ X({
|
|
|
4545
4545
|
emits: ["update:rule", "close"],
|
|
4546
4546
|
setup(s, { emit: e }) {
|
|
4547
4547
|
const t = s, n = ge(
|
|
4548
|
-
t.rule.subItemType ||
|
|
4548
|
+
t.rule.subItemType || o1.ACTIVITIES
|
|
4549
4549
|
), a = v({
|
|
4550
4550
|
get() {
|
|
4551
4551
|
return n.value;
|
|
@@ -4557,7 +4557,7 @@ const Li = /* @__PURE__ */ X({
|
|
|
4557
4557
|
subItemId: void 0
|
|
4558
4558
|
});
|
|
4559
4559
|
}
|
|
4560
|
-
}), i = v(() => Object.values(
|
|
4560
|
+
}), i = v(() => Object.values(o1)), l = v({
|
|
4561
4561
|
get() {
|
|
4562
4562
|
return t.rule.subItemId;
|
|
4563
4563
|
},
|
|
@@ -4569,14 +4569,14 @@ const Li = /* @__PURE__ */ X({
|
|
|
4569
4569
|
});
|
|
4570
4570
|
}
|
|
4571
4571
|
}), o = v(() => {
|
|
4572
|
-
var
|
|
4573
|
-
return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (
|
|
4574
|
-
[
|
|
4575
|
-
[
|
|
4576
|
-
[
|
|
4577
|
-
}[n.value]) == null ? void 0 :
|
|
4578
|
-
value:
|
|
4579
|
-
label:
|
|
4572
|
+
var p;
|
|
4573
|
+
return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (p = {
|
|
4574
|
+
[o1.ACTIVITIES]: t.templateActivities,
|
|
4575
|
+
[o1.MILESTONES]: t.templateMilestones,
|
|
4576
|
+
[o1.PHASES]: t.templatePhases
|
|
4577
|
+
}[n.value]) == null ? void 0 : p.map((T) => ({
|
|
4578
|
+
value: T.id,
|
|
4579
|
+
label: T.name
|
|
4580
4580
|
}));
|
|
4581
4581
|
}), d = ge(t.rule.comparator), h = v({
|
|
4582
4582
|
get() {
|
|
@@ -4585,52 +4585,52 @@ const Li = /* @__PURE__ */ X({
|
|
|
4585
4585
|
set(L) {
|
|
4586
4586
|
e("update:rule", { ...t.rule, comparator: L });
|
|
4587
4587
|
}
|
|
4588
|
-
}),
|
|
4588
|
+
}), f = v(() => Object.values(e0)), S = ge(t.rule.trigger), k = v({
|
|
4589
4589
|
get() {
|
|
4590
|
-
return
|
|
4590
|
+
return S.value;
|
|
4591
4591
|
},
|
|
4592
4592
|
set(L) {
|
|
4593
4593
|
e("update:rule", { ...t.rule, trigger: L });
|
|
4594
4594
|
}
|
|
4595
|
-
}),
|
|
4595
|
+
}), O = v(() => Object.values(t0)), _ = v({
|
|
4596
4596
|
get() {
|
|
4597
4597
|
return t.rule.duration;
|
|
4598
4598
|
},
|
|
4599
4599
|
set(L) {
|
|
4600
4600
|
e("update:rule", { ...t.rule, duration: L });
|
|
4601
4601
|
}
|
|
4602
|
-
}),
|
|
4602
|
+
}), $ = v({
|
|
4603
4603
|
get() {
|
|
4604
4604
|
return t.rule.durationUnit;
|
|
4605
4605
|
},
|
|
4606
4606
|
set(L) {
|
|
4607
4607
|
e("update:rule", { ...t.rule, durationUnit: L });
|
|
4608
4608
|
}
|
|
4609
|
-
}),
|
|
4610
|
-
return (L,
|
|
4611
|
-
default:
|
|
4612
|
-
|
|
4609
|
+
}), I = v(() => Object.values(s0));
|
|
4610
|
+
return (L, p) => (c(), U(z1(L.tagName), { class: "ao-rule-line" }, {
|
|
4611
|
+
default: K(() => [
|
|
4612
|
+
B(a1(p1), {
|
|
4613
4613
|
modelValue: a.value,
|
|
4614
|
-
"onUpdate:modelValue":
|
|
4614
|
+
"onUpdate:modelValue": p[0] || (p[0] = (T) => a.value = T),
|
|
4615
4615
|
options: i.value
|
|
4616
4616
|
}, null, 8, ["modelValue", "options"]),
|
|
4617
|
-
|
|
4617
|
+
B(a1(p1), {
|
|
4618
4618
|
modelValue: l.value,
|
|
4619
|
-
"onUpdate:modelValue":
|
|
4619
|
+
"onUpdate:modelValue": p[1] || (p[1] = (T) => l.value = T),
|
|
4620
4620
|
options: o.value
|
|
4621
4621
|
}, null, 8, ["modelValue", "options"]),
|
|
4622
|
-
|
|
4623
|
-
modelValue:
|
|
4624
|
-
"onUpdate:modelValue":
|
|
4625
|
-
options:
|
|
4622
|
+
B(a1(p1), {
|
|
4623
|
+
modelValue: k.value,
|
|
4624
|
+
"onUpdate:modelValue": p[2] || (p[2] = (T) => k.value = T),
|
|
4625
|
+
options: O.value
|
|
4626
4626
|
}, null, 8, ["modelValue", "options"]),
|
|
4627
|
-
|
|
4627
|
+
B(a1(p1), {
|
|
4628
4628
|
modelValue: h.value,
|
|
4629
|
-
"onUpdate:modelValue":
|
|
4630
|
-
options:
|
|
4629
|
+
"onUpdate:modelValue": p[3] || (p[3] = (T) => h.value = T),
|
|
4630
|
+
options: f.value
|
|
4631
4631
|
}, null, 8, ["modelValue", "options"]),
|
|
4632
4632
|
se(u("input", {
|
|
4633
|
-
"onUpdate:modelValue":
|
|
4633
|
+
"onUpdate:modelValue": p[4] || (p[4] = (T) => _.value = T),
|
|
4634
4634
|
type: "number",
|
|
4635
4635
|
min: "0"
|
|
4636
4636
|
}, null, 512), [
|
|
@@ -4641,23 +4641,23 @@ const Li = /* @__PURE__ */ X({
|
|
|
4641
4641
|
{ number: !0 }
|
|
4642
4642
|
]
|
|
4643
4643
|
]),
|
|
4644
|
-
|
|
4645
|
-
modelValue:
|
|
4646
|
-
"onUpdate:modelValue":
|
|
4647
|
-
options:
|
|
4644
|
+
B(a1(p1), {
|
|
4645
|
+
modelValue: $.value,
|
|
4646
|
+
"onUpdate:modelValue": p[5] || (p[5] = (T) => $.value = T),
|
|
4647
|
+
options: I.value
|
|
4648
4648
|
}, null, 8, ["modelValue", "options"]),
|
|
4649
|
-
|
|
4649
|
+
B(B1, {
|
|
4650
4650
|
class: "ao-rule-line__remove",
|
|
4651
4651
|
"icon-name": "CloseRounded",
|
|
4652
4652
|
variant: "ghost",
|
|
4653
|
-
onClick:
|
|
4653
|
+
onClick: p[6] || (p[6] = (T) => L.$emit("close"))
|
|
4654
4654
|
})
|
|
4655
4655
|
]),
|
|
4656
4656
|
_: 1
|
|
4657
4657
|
}));
|
|
4658
4658
|
}
|
|
4659
4659
|
});
|
|
4660
|
-
const Vi = { class: "ao-template-rules__body" }, Ii = { class: "ao-template-rules__list" }, Si = /* @__PURE__ */
|
|
4660
|
+
const Vi = { class: "ao-template-rules__body" }, Ii = { class: "ao-template-rules__list" }, Si = /* @__PURE__ */ Y({
|
|
4661
4661
|
__name: "AoTemplateRules",
|
|
4662
4662
|
props: {
|
|
4663
4663
|
templateId: {},
|
|
@@ -4673,17 +4673,17 @@ const Vi = { class: "ao-template-rules__body" }, Ii = { class: "ao-template-rule
|
|
|
4673
4673
|
}, n = (a) => {
|
|
4674
4674
|
e("removeRule", a);
|
|
4675
4675
|
};
|
|
4676
|
-
return (a, i) => (c(),
|
|
4677
|
-
header:
|
|
4678
|
-
|
|
4676
|
+
return (a, i) => (c(), U(We, null, {
|
|
4677
|
+
header: K(() => [
|
|
4678
|
+
B(S1, {
|
|
4679
4679
|
title: a.$t("template.rules.title"),
|
|
4680
4680
|
level: 2
|
|
4681
4681
|
}, null, 8, ["title"])
|
|
4682
4682
|
]),
|
|
4683
|
-
default:
|
|
4683
|
+
default: K(() => [
|
|
4684
4684
|
u("div", Vi, [
|
|
4685
4685
|
u("ul", Ii, [
|
|
4686
|
-
(c(!0), C(
|
|
4686
|
+
(c(!0), C(g1, null, I1(a.rules, (l) => (c(), U(Li, {
|
|
4687
4687
|
key: l.id,
|
|
4688
4688
|
rule: l,
|
|
4689
4689
|
"template-phases": a.templatePhases,
|
|
@@ -4693,7 +4693,7 @@ const Vi = { class: "ao-template-rules__body" }, Ii = { class: "ao-template-rule
|
|
|
4693
4693
|
onClose: () => n(l.id)
|
|
4694
4694
|
}, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
|
|
4695
4695
|
]),
|
|
4696
|
-
|
|
4696
|
+
B(ue, {
|
|
4697
4697
|
label: a.$t("template.rules.add"),
|
|
4698
4698
|
"icon-name": "Add",
|
|
4699
4699
|
onClick: t
|
|
@@ -4718,7 +4718,7 @@ function Hi() {
|
|
|
4718
4718
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
4719
4719
|
return s;
|
|
4720
4720
|
}
|
|
4721
|
-
|
|
4721
|
+
Y({
|
|
4722
4722
|
props: {
|
|
4723
4723
|
translation: {
|
|
4724
4724
|
type: String,
|
|
@@ -4741,7 +4741,7 @@ X({
|
|
|
4741
4741
|
const Ei = {
|
|
4742
4742
|
key: 0,
|
|
4743
4743
|
class: "ao-template-details"
|
|
4744
|
-
}, Ai = { class: "ao-template-details__body" }, Ti = { class: "ao-template-details__cols" }, Oi = { class: "ao-template-details__col" }, ki = { class: "ao-list__footer" }, Zi = { class: "ao-template-details__col" }, Bi = { class: "ao-template-details__col" }, Pi = /* @__PURE__ */
|
|
4744
|
+
}, Ai = { class: "ao-template-details__body" }, Ti = { class: "ao-template-details__cols" }, Oi = { class: "ao-template-details__col" }, ki = { class: "ao-list__footer" }, Zi = { class: "ao-template-details__col" }, Bi = { class: "ao-template-details__col" }, Pi = /* @__PURE__ */ Y({
|
|
4745
4745
|
__name: "AoTemplateDetails",
|
|
4746
4746
|
props: {
|
|
4747
4747
|
templateId: {},
|
|
@@ -4751,168 +4751,180 @@ const Ei = {
|
|
|
4751
4751
|
activityId: {},
|
|
4752
4752
|
activityTypes: {}
|
|
4753
4753
|
},
|
|
4754
|
-
emits: ["addItem", "updateItem", "
|
|
4754
|
+
emits: ["addItem", "updateItem", "addRule", "removeRule"],
|
|
4755
4755
|
setup(s, { emit: e }) {
|
|
4756
4756
|
const t = s, { t: n } = Je(), a = v(
|
|
4757
4757
|
() => {
|
|
4758
|
-
var
|
|
4759
|
-
return (
|
|
4758
|
+
var b;
|
|
4759
|
+
return (b = t.templates) == null ? void 0 : b.find((M) => M.id === t.templateId);
|
|
4760
4760
|
}
|
|
4761
4761
|
);
|
|
4762
4762
|
v({
|
|
4763
4763
|
get() {
|
|
4764
|
-
var
|
|
4765
|
-
return [...((
|
|
4764
|
+
var m;
|
|
4765
|
+
return [...((m = a.value) == null ? void 0 : m.phases) || []].sort((E, X) => E.order - X.order);
|
|
4766
4766
|
},
|
|
4767
|
-
set(
|
|
4768
|
-
|
|
4769
|
-
e("updateTemplate", { id: t.templateId, phases: M });
|
|
4767
|
+
set(b) {
|
|
4768
|
+
b.map((M, m) => (M.order = m, M));
|
|
4770
4769
|
}
|
|
4771
4770
|
});
|
|
4772
4771
|
const i = v(() => {
|
|
4773
|
-
var
|
|
4774
|
-
return (M = (
|
|
4772
|
+
var b, M;
|
|
4773
|
+
return (M = (b = a == null ? void 0 : a.value) == null ? void 0 : b.phases) == null ? void 0 : M.find((m) => m.id === t.phaseId);
|
|
4775
4774
|
}), l = v(() => {
|
|
4776
|
-
var
|
|
4777
|
-
return (M = (
|
|
4778
|
-
(
|
|
4775
|
+
var b, M;
|
|
4776
|
+
return (M = (b = i.value) == null ? void 0 : b.milestones) == null ? void 0 : M.find(
|
|
4777
|
+
(m) => m.id === t.milestoneId
|
|
4779
4778
|
);
|
|
4780
4779
|
}), o = v(() => {
|
|
4781
|
-
var
|
|
4782
|
-
return ((M = (
|
|
4783
|
-
const
|
|
4784
|
-
return [...
|
|
4780
|
+
var b, M;
|
|
4781
|
+
return ((M = (b = a.value) == null ? void 0 : b.phases) == null ? void 0 : M.reduce((m, E) => {
|
|
4782
|
+
const X = E.milestones || [];
|
|
4783
|
+
return [...m, ...X];
|
|
4785
4784
|
}, [])) || [];
|
|
4786
4785
|
}), d = v(() => {
|
|
4787
|
-
var
|
|
4788
|
-
return ((M = (
|
|
4789
|
-
const
|
|
4790
|
-
(
|
|
4786
|
+
var b, M;
|
|
4787
|
+
return ((M = (b = a.value) == null ? void 0 : b.phases) == null ? void 0 : M.reduce((m, E) => {
|
|
4788
|
+
const i1 = (E.milestones || []).reduce(
|
|
4789
|
+
(f1, W) => W.activities ? [...f1, ...W.activities] : f1,
|
|
4791
4790
|
[]
|
|
4792
4791
|
);
|
|
4793
|
-
return [...
|
|
4792
|
+
return [...m, ...i1];
|
|
4794
4793
|
}, [])) || [];
|
|
4795
4794
|
}), h = v(() => {
|
|
4796
|
-
var
|
|
4797
|
-
return (M = (
|
|
4798
|
-
(
|
|
4795
|
+
var b, M;
|
|
4796
|
+
return (M = (b = l.value) == null ? void 0 : b.activities) == null ? void 0 : M.find(
|
|
4797
|
+
(m) => m.id === t.activityId
|
|
4799
4798
|
);
|
|
4800
|
-
}),
|
|
4801
|
-
var
|
|
4802
|
-
return ((
|
|
4799
|
+
}), f = v(() => {
|
|
4800
|
+
var b;
|
|
4801
|
+
return ((b = t.activityTypes) == null ? void 0 : b.map((M) => ({
|
|
4803
4802
|
label: M,
|
|
4804
4803
|
value: M
|
|
4805
4804
|
}))) || [];
|
|
4806
|
-
}),
|
|
4807
|
-
var
|
|
4808
|
-
return ((
|
|
4809
|
-
}),
|
|
4805
|
+
}), S = v(() => {
|
|
4806
|
+
var b;
|
|
4807
|
+
return ((b = a.value) == null ? void 0 : b.name) || t.templateId;
|
|
4808
|
+
}), k = J(!1), O = () => {
|
|
4810
4809
|
if (!a.value)
|
|
4811
4810
|
return;
|
|
4812
|
-
const
|
|
4813
|
-
name: n("template.defaultName.phase", { idx:
|
|
4814
|
-
rank:
|
|
4811
|
+
const b = a.value.phases.length, M = a.value.phases.at(-1), m = M ? u1.LexoRank.parse(M.rank).genNext() : u1.LexoRank.middle(), E = {
|
|
4812
|
+
name: n("template.defaultName.phase", { idx: b + 1 }),
|
|
4813
|
+
rank: m.format(),
|
|
4815
4814
|
templateId: t.templateId
|
|
4816
4815
|
};
|
|
4817
4816
|
e("addItem", {
|
|
4818
|
-
type:
|
|
4817
|
+
type: o1.PHASES,
|
|
4819
4818
|
templateId: t.templateId,
|
|
4820
|
-
item:
|
|
4819
|
+
item: E
|
|
4821
4820
|
});
|
|
4822
|
-
}, _ = (
|
|
4821
|
+
}, _ = (b) => {
|
|
4823
4822
|
e("updateItem", {
|
|
4824
4823
|
templateId: t.templateId,
|
|
4825
|
-
id:
|
|
4826
|
-
itemType:
|
|
4824
|
+
id: t.templateId,
|
|
4825
|
+
itemType: o1.TEMPLATES,
|
|
4826
|
+
data: { name: b }
|
|
4827
|
+
});
|
|
4828
|
+
}, $ = (b, M) => {
|
|
4829
|
+
e("updateItem", {
|
|
4830
|
+
templateId: t.templateId,
|
|
4831
|
+
id: b,
|
|
4832
|
+
itemType: o1.PHASES,
|
|
4827
4833
|
data: { name: M }
|
|
4828
4834
|
});
|
|
4829
|
-
},
|
|
4830
|
-
e("updateItem",
|
|
4831
|
-
},
|
|
4835
|
+
}, I = (b) => {
|
|
4836
|
+
e("updateItem", b);
|
|
4837
|
+
}, L = (b) => {
|
|
4832
4838
|
if (!i.value)
|
|
4833
4839
|
return;
|
|
4834
|
-
const M = i.value.milestones.length,
|
|
4840
|
+
const M = i.value.milestones.length, m = i.value.milestones.at(-1), E = m ? u1.LexoRank.parse(m.rank).genNext() : u1.LexoRank.middle(), X = {
|
|
4835
4841
|
name: n("template.defaultName.milestone", { idx: M + 1 }),
|
|
4836
|
-
rank:
|
|
4837
|
-
phaseId:
|
|
4842
|
+
rank: E.format(),
|
|
4843
|
+
phaseId: b.phaseId
|
|
4838
4844
|
};
|
|
4839
4845
|
e("addItem", {
|
|
4840
|
-
type:
|
|
4846
|
+
type: o1.MILESTONES,
|
|
4841
4847
|
templateId: t.templateId,
|
|
4842
|
-
phaseId:
|
|
4843
|
-
item:
|
|
4848
|
+
phaseId: b.phaseId,
|
|
4849
|
+
item: X
|
|
4844
4850
|
});
|
|
4845
|
-
},
|
|
4846
|
-
const { id: M, ...
|
|
4851
|
+
}, p = (b) => {
|
|
4852
|
+
const { id: M, ...m } = b;
|
|
4847
4853
|
e("updateItem", {
|
|
4848
|
-
itemType:
|
|
4854
|
+
itemType: o1.MILESTONES,
|
|
4849
4855
|
id: M,
|
|
4850
4856
|
templateId: t.templateId,
|
|
4851
|
-
data:
|
|
4857
|
+
data: m
|
|
4852
4858
|
});
|
|
4853
|
-
},
|
|
4854
|
-
const {
|
|
4859
|
+
}, T = (b) => {
|
|
4860
|
+
const { milestoneId: M } = b;
|
|
4861
|
+
if (!l.value)
|
|
4862
|
+
return;
|
|
4863
|
+
const m = l.value.activities.length, E = l.value.activities.at(-1), X = E ? u1.LexoRank.parse(E.rank).genNext() : u1.LexoRank.middle(), i1 = {
|
|
4864
|
+
name: n("template.defaultName.activity", { idx: m + 1 }),
|
|
4865
|
+
rank: X.format(),
|
|
4866
|
+
milestoneId: M
|
|
4867
|
+
};
|
|
4855
4868
|
e("addItem", {
|
|
4856
|
-
type:
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
milestoneId: k
|
|
4869
|
+
type: o1.ACTIVITIES,
|
|
4870
|
+
milestoneId: M,
|
|
4871
|
+
item: i1
|
|
4860
4872
|
});
|
|
4861
|
-
},
|
|
4862
|
-
const { id: M, ...
|
|
4873
|
+
}, z = (b) => {
|
|
4874
|
+
const { id: M, ...m } = b;
|
|
4863
4875
|
e("updateItem", {
|
|
4864
|
-
itemType:
|
|
4876
|
+
itemType: o1.ACTIVITIES,
|
|
4865
4877
|
id: M,
|
|
4866
4878
|
templateId: t.templateId,
|
|
4867
|
-
data:
|
|
4879
|
+
data: m
|
|
4868
4880
|
});
|
|
4869
|
-
},
|
|
4870
|
-
|
|
4871
|
-
},
|
|
4881
|
+
}, Q = J(!1), H = () => {
|
|
4882
|
+
Q.value = !Q.value;
|
|
4883
|
+
}, t1 = () => {
|
|
4872
4884
|
e("addRule", { templateId: t.templateId });
|
|
4873
|
-
},
|
|
4874
|
-
e("removeRule", { id:
|
|
4875
|
-
},
|
|
4885
|
+
}, s1 = (b) => {
|
|
4886
|
+
e("removeRule", { id: b, templateId: t.templateId });
|
|
4887
|
+
}, G = (b) => {
|
|
4876
4888
|
var M;
|
|
4877
|
-
if (
|
|
4878
|
-
const
|
|
4889
|
+
if (b.moved) {
|
|
4890
|
+
const m = Le(b, ((M = a.value) == null ? void 0 : M.phases) ?? []);
|
|
4879
4891
|
e("updateItem", {
|
|
4880
|
-
itemType:
|
|
4881
|
-
id:
|
|
4892
|
+
itemType: o1.PHASES,
|
|
4893
|
+
id: b.moved.element.id,
|
|
4882
4894
|
templateId: t.templateId,
|
|
4883
4895
|
data: {
|
|
4884
|
-
rank:
|
|
4896
|
+
rank: m
|
|
4885
4897
|
}
|
|
4886
4898
|
});
|
|
4887
4899
|
}
|
|
4888
4900
|
};
|
|
4889
|
-
return (
|
|
4890
|
-
var
|
|
4901
|
+
return (b, M) => {
|
|
4902
|
+
var m, E, X, i1, f1, W;
|
|
4891
4903
|
return a.value ? (c(), C("div", Ei, [
|
|
4892
|
-
|
|
4904
|
+
B(Xe, {
|
|
4893
4905
|
"can-go-back": !0,
|
|
4894
|
-
onGoBack: M[2] || (M[2] = (
|
|
4906
|
+
onGoBack: M[2] || (M[2] = (l1) => b.$router.push({ name: a1(K1).TEMPLATES_LIST }))
|
|
4895
4907
|
}, {
|
|
4896
|
-
primary:
|
|
4897
|
-
|
|
4898
|
-
title:
|
|
4908
|
+
primary: K(() => [
|
|
4909
|
+
B(S1, {
|
|
4910
|
+
title: S.value,
|
|
4899
4911
|
level: 2,
|
|
4900
|
-
"is-editing":
|
|
4901
|
-
onToggleIsEditing: M[0] || (M[0] = (
|
|
4902
|
-
|
|
4912
|
+
"is-editing": k.value,
|
|
4913
|
+
onToggleIsEditing: M[0] || (M[0] = (l1) => {
|
|
4914
|
+
k.value = l1;
|
|
4903
4915
|
}),
|
|
4904
|
-
"onUpdate:title": M[1] || (M[1] = (
|
|
4905
|
-
|
|
4916
|
+
"onUpdate:title": M[1] || (M[1] = (l1) => {
|
|
4917
|
+
_(l1);
|
|
4906
4918
|
})
|
|
4907
4919
|
}, null, 8, ["title", "is-editing"])
|
|
4908
4920
|
]),
|
|
4909
|
-
secondary:
|
|
4910
|
-
|
|
4911
|
-
label:
|
|
4921
|
+
secondary: K(() => [
|
|
4922
|
+
B(B1, {
|
|
4923
|
+
label: b.$t("template.rules.edit"),
|
|
4912
4924
|
color: "primary",
|
|
4913
4925
|
"icon-name": "Settings",
|
|
4914
4926
|
"icon-position": "start",
|
|
4915
|
-
onClick:
|
|
4927
|
+
onClick: H
|
|
4916
4928
|
}, null, 8, ["label"])
|
|
4917
4929
|
]),
|
|
4918
4930
|
_: 1
|
|
@@ -4920,44 +4932,44 @@ const Ei = {
|
|
|
4920
4932
|
u("div", Ai, [
|
|
4921
4933
|
u("ol", Ti, [
|
|
4922
4934
|
u("li", Oi, [
|
|
4923
|
-
|
|
4935
|
+
B(a1(ae), {
|
|
4924
4936
|
"model-value": a.value.phases,
|
|
4925
4937
|
class: "ao-templates__list",
|
|
4926
4938
|
"item-key": "id",
|
|
4927
4939
|
handle: ".ao-card__drag",
|
|
4928
|
-
onChange:
|
|
4940
|
+
onChange: G
|
|
4929
4941
|
}, {
|
|
4930
|
-
header:
|
|
4931
|
-
|
|
4932
|
-
title:
|
|
4942
|
+
header: K(() => [
|
|
4943
|
+
B(S1, {
|
|
4944
|
+
title: b.$t("template.phases.title"),
|
|
4933
4945
|
level: 3,
|
|
4934
4946
|
class: "ao-list__title"
|
|
4935
4947
|
}, null, 8, ["title"])
|
|
4936
4948
|
]),
|
|
4937
|
-
item:
|
|
4938
|
-
var
|
|
4949
|
+
item: K(({ element: l1 }) => {
|
|
4950
|
+
var N;
|
|
4939
4951
|
return [
|
|
4940
|
-
|
|
4941
|
-
id:
|
|
4942
|
-
name:
|
|
4943
|
-
milestones:
|
|
4944
|
-
"is-active": ((
|
|
4952
|
+
B(Jn, {
|
|
4953
|
+
id: l1.id,
|
|
4954
|
+
name: l1.name,
|
|
4955
|
+
milestones: l1.milestones,
|
|
4956
|
+
"is-active": ((N = i.value) == null ? void 0 : N.id) === l1.id,
|
|
4945
4957
|
"is-draggable": !0,
|
|
4946
|
-
onClick: (
|
|
4947
|
-
params: { templateId:
|
|
4958
|
+
onClick: (j) => b.$router.push({
|
|
4959
|
+
params: { templateId: b.templateId, phaseId: l1.id }
|
|
4948
4960
|
}),
|
|
4949
|
-
"onUpdate:title": (
|
|
4950
|
-
|
|
4961
|
+
"onUpdate:title": (j) => {
|
|
4962
|
+
$(l1.id, j);
|
|
4951
4963
|
}
|
|
4952
4964
|
}, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title"])
|
|
4953
4965
|
];
|
|
4954
4966
|
}),
|
|
4955
|
-
footer:
|
|
4967
|
+
footer: K(() => [
|
|
4956
4968
|
u("div", ki, [
|
|
4957
|
-
|
|
4969
|
+
B(ue, {
|
|
4958
4970
|
"icon-name": "AddBoxOutlineRounded",
|
|
4959
|
-
label:
|
|
4960
|
-
onClick:
|
|
4971
|
+
label: b.$t("template.phases.add"),
|
|
4972
|
+
onClick: O
|
|
4961
4973
|
}, null, 8, ["label"])
|
|
4962
4974
|
])
|
|
4963
4975
|
]),
|
|
@@ -4965,92 +4977,92 @@ const Ei = {
|
|
|
4965
4977
|
}, 8, ["model-value"])
|
|
4966
4978
|
]),
|
|
4967
4979
|
u("li", Zi, [
|
|
4968
|
-
i.value ? (c(),
|
|
4980
|
+
i.value ? (c(), U(n0, {
|
|
4969
4981
|
key: 0,
|
|
4970
|
-
"template-id":
|
|
4982
|
+
"template-id": b.templateId,
|
|
4971
4983
|
phase: i.value,
|
|
4972
|
-
"milestone-id": (
|
|
4973
|
-
onAddMilestone:
|
|
4974
|
-
onUpdateMilestone:
|
|
4975
|
-
onUpdatePhase:
|
|
4984
|
+
"milestone-id": (m = l.value) == null ? void 0 : m.id,
|
|
4985
|
+
onAddMilestone: L,
|
|
4986
|
+
onUpdateMilestone: p,
|
|
4987
|
+
onUpdatePhase: I
|
|
4976
4988
|
}, null, 8, ["template-id", "phase", "milestone-id"])) : V("", !0)
|
|
4977
4989
|
]),
|
|
4978
4990
|
u("li", Bi, [
|
|
4979
|
-
i.value && l.value ? (c(),
|
|
4991
|
+
i.value && l.value ? (c(), U(r0, {
|
|
4980
4992
|
key: 0,
|
|
4981
|
-
"template-id":
|
|
4982
|
-
"phase-id": (
|
|
4993
|
+
"template-id": b.templateId,
|
|
4994
|
+
"phase-id": (E = i.value) == null ? void 0 : E.id,
|
|
4983
4995
|
milestone: l.value,
|
|
4984
|
-
"activity-id": (
|
|
4985
|
-
onAddActivity:
|
|
4986
|
-
onUpdateActivity:
|
|
4987
|
-
onUpdateMilestone:
|
|
4996
|
+
"activity-id": (X = h.value) == null ? void 0 : X.id,
|
|
4997
|
+
onAddActivity: T,
|
|
4998
|
+
onUpdateActivity: z,
|
|
4999
|
+
onUpdateMilestone: p
|
|
4988
5000
|
}, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : V("", !0)
|
|
4989
5001
|
])
|
|
4990
5002
|
])
|
|
4991
5003
|
]),
|
|
4992
|
-
(c(),
|
|
4993
|
-
h.value ? (c(),
|
|
5004
|
+
(c(), U(Pe, { to: "body" }, [
|
|
5005
|
+
h.value ? (c(), U(Mi, {
|
|
4994
5006
|
key: 0,
|
|
4995
5007
|
activity: h.value,
|
|
4996
|
-
"activity-types":
|
|
4997
|
-
breadcrumbs: `${a.value.name} / ${(
|
|
4998
|
-
"milestone-id": (
|
|
5008
|
+
"activity-types": f.value,
|
|
5009
|
+
breadcrumbs: `${a.value.name} / ${(i1 = i.value) == null ? void 0 : i1.name} / ${(f1 = l.value) == null ? void 0 : f1.name}`,
|
|
5010
|
+
"milestone-id": (W = l.value) == null ? void 0 : W.id,
|
|
4999
5011
|
"template-activities": d.value,
|
|
5000
5012
|
"template-milestones": o.value,
|
|
5001
5013
|
"is-template": !0,
|
|
5002
|
-
"onUpdate:activity": M[3] || (M[3] = (
|
|
5003
|
-
|
|
5004
|
-
...
|
|
5005
|
-
phaseId:
|
|
5006
|
-
milestoneId:
|
|
5014
|
+
"onUpdate:activity": M[3] || (M[3] = (l1) => {
|
|
5015
|
+
b.phaseId && b.milestoneId && h.value && z({
|
|
5016
|
+
...l1,
|
|
5017
|
+
phaseId: b.phaseId,
|
|
5018
|
+
milestoneId: b.milestoneId,
|
|
5007
5019
|
order: h.value.order
|
|
5008
5020
|
});
|
|
5009
5021
|
}),
|
|
5010
|
-
onClose:
|
|
5022
|
+
onClose: b.$router.back
|
|
5011
5023
|
}, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : V("", !0)
|
|
5012
5024
|
])),
|
|
5013
|
-
(c(),
|
|
5014
|
-
|
|
5025
|
+
(c(), U(Pe, { to: "body" }, [
|
|
5026
|
+
Q.value ? (c(), U(Si, {
|
|
5015
5027
|
key: 0,
|
|
5016
5028
|
"template-id": a.value.id,
|
|
5017
5029
|
rules: a.value.rules || [],
|
|
5018
5030
|
"template-phases": a.value.phases,
|
|
5019
5031
|
"template-milestones": o.value,
|
|
5020
5032
|
"template-activities": d.value,
|
|
5021
|
-
onClose:
|
|
5022
|
-
onAddRule:
|
|
5023
|
-
onRemoveRule:
|
|
5033
|
+
onClose: H,
|
|
5034
|
+
onAddRule: t1,
|
|
5035
|
+
onRemoveRule: s1
|
|
5024
5036
|
}, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : V("", !0)
|
|
5025
5037
|
]))
|
|
5026
5038
|
])) : V("", !0);
|
|
5027
5039
|
};
|
|
5028
5040
|
}
|
|
5029
5041
|
});
|
|
5030
|
-
const
|
|
5042
|
+
const K1 = {
|
|
5031
5043
|
TEMPLATES: "templates",
|
|
5032
5044
|
TEMPLATE_DETAILS: "template_details",
|
|
5033
5045
|
TEMPLATES_LIST: "templates_list"
|
|
5034
5046
|
}, Xi = (s, e = {}) => [
|
|
5035
5047
|
{
|
|
5036
5048
|
path: s,
|
|
5037
|
-
name:
|
|
5049
|
+
name: K1.TEMPLATES,
|
|
5038
5050
|
...e,
|
|
5039
5051
|
children: [
|
|
5040
5052
|
{
|
|
5041
5053
|
path: "",
|
|
5042
|
-
name:
|
|
5054
|
+
name: K1.TEMPLATES_LIST,
|
|
5043
5055
|
component: Ni
|
|
5044
5056
|
},
|
|
5045
5057
|
{
|
|
5046
5058
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
5047
|
-
name:
|
|
5059
|
+
name: K1.TEMPLATE_DETAILS,
|
|
5048
5060
|
component: Pi,
|
|
5049
5061
|
props: !0
|
|
5050
5062
|
}
|
|
5051
5063
|
]
|
|
5052
5064
|
}
|
|
5053
|
-
], Di = { class: "ao-templates" }, Ni = /* @__PURE__ */
|
|
5065
|
+
], Di = { class: "ao-templates" }, Ni = /* @__PURE__ */ Y({
|
|
5054
5066
|
__name: "AoTemplatesList",
|
|
5055
5067
|
props: {
|
|
5056
5068
|
templates: {}
|
|
@@ -5058,8 +5070,8 @@ const z1 = {
|
|
|
5058
5070
|
emits: ["addTemplate", "updateTemplates"],
|
|
5059
5071
|
setup(s, { emit: e }) {
|
|
5060
5072
|
const t = s, { t: n } = Je(), a = () => {
|
|
5061
|
-
var
|
|
5062
|
-
const l = (
|
|
5073
|
+
var f, S;
|
|
5074
|
+
const l = (f = t.templates) == null ? void 0 : f.at(-1), o = l ? u1.LexoRank.parse(l.rank).genNext() : u1.LexoRank.middle(), d = ((S = t.templates) == null ? void 0 : S.length) ?? 0, h = {
|
|
5063
5075
|
name: n("template.defaultName.template", { idx: d + 1 }),
|
|
5064
5076
|
rank: o.format()
|
|
5065
5077
|
};
|
|
@@ -5068,7 +5080,7 @@ const z1 = {
|
|
|
5068
5080
|
if (l.moved) {
|
|
5069
5081
|
const o = Le(l, t.templates);
|
|
5070
5082
|
e("updateItem", {
|
|
5071
|
-
itemType:
|
|
5083
|
+
itemType: o1.TEMPLATES,
|
|
5072
5084
|
id: l.moved.element.id,
|
|
5073
5085
|
templateId: l.moved.element.id,
|
|
5074
5086
|
data: {
|
|
@@ -5078,9 +5090,9 @@ const z1 = {
|
|
|
5078
5090
|
}
|
|
5079
5091
|
};
|
|
5080
5092
|
return (l, o) => (c(), C("div", Di, [
|
|
5081
|
-
|
|
5082
|
-
secondary:
|
|
5083
|
-
|
|
5093
|
+
B(Xe, null, {
|
|
5094
|
+
secondary: K(() => [
|
|
5095
|
+
B(B1, {
|
|
5084
5096
|
label: l.$t("templates.new"),
|
|
5085
5097
|
color: "primary",
|
|
5086
5098
|
"icon-name": "Add",
|
|
@@ -5090,28 +5102,29 @@ const z1 = {
|
|
|
5090
5102
|
]),
|
|
5091
5103
|
_: 1
|
|
5092
5104
|
}),
|
|
5093
|
-
|
|
5105
|
+
B(a1(ae), {
|
|
5094
5106
|
"model-value": l.templates,
|
|
5095
5107
|
class: "ao-templates__list",
|
|
5096
5108
|
"item-key": "id",
|
|
5097
5109
|
handle: ".ao-card__drag",
|
|
5098
5110
|
onChange: i
|
|
5099
5111
|
}, {
|
|
5100
|
-
item:
|
|
5112
|
+
item: K(({ element: d }) => {
|
|
5101
5113
|
var h;
|
|
5102
5114
|
return [
|
|
5103
|
-
|
|
5115
|
+
B(jn, {
|
|
5104
5116
|
title: d.name || d.id,
|
|
5105
5117
|
phases: d.phases,
|
|
5106
|
-
milestones: (h = d.phases) != null && h.length ?
|
|
5107
|
-
activities: d.phases ?
|
|
5118
|
+
milestones: (h = d.phases) != null && h.length ? a1(gn)(d.phases) : 0,
|
|
5119
|
+
activities: d.phases ? a1(bn)(d.phases) : 0,
|
|
5108
5120
|
"updated-at": d.updatedAt,
|
|
5109
5121
|
"updated-by": d.updatedBy,
|
|
5110
|
-
|
|
5111
|
-
|
|
5122
|
+
"onUpdate:title": (f) => l.updateTemplateTitle({ id: d.id, name: f }),
|
|
5123
|
+
onClick: (f) => l.$router.push({
|
|
5124
|
+
name: a1(K1).TEMPLATE_DETAILS,
|
|
5112
5125
|
params: { templateId: d.id }
|
|
5113
5126
|
})
|
|
5114
|
-
}, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onClick"])
|
|
5127
|
+
}, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdate:title", "onClick"])
|
|
5115
5128
|
];
|
|
5116
5129
|
}),
|
|
5117
5130
|
_: 1
|
|
@@ -5121,18 +5134,18 @@ const z1 = {
|
|
|
5121
5134
|
});
|
|
5122
5135
|
export {
|
|
5123
5136
|
Pi as AoTemplateDetails,
|
|
5124
|
-
|
|
5137
|
+
xi as AoTemplates,
|
|
5125
5138
|
Ni as AoTemplatesList,
|
|
5126
5139
|
a0 as TemplateSubItemTypeEnum,
|
|
5127
5140
|
Gi as activityFeedStatus,
|
|
5128
|
-
|
|
5129
|
-
|
|
5141
|
+
zi as activityStatus,
|
|
5142
|
+
Ki as durationTypes,
|
|
5130
5143
|
Yi as feedFilters,
|
|
5131
5144
|
Xi as getTemplateRoutes,
|
|
5132
5145
|
Fi as listUpdateTypes,
|
|
5133
|
-
|
|
5146
|
+
K1 as routeNames,
|
|
5134
5147
|
e0 as ruleComparators,
|
|
5135
5148
|
s0 as ruleDurationUnits,
|
|
5136
5149
|
t0 as ruleTriggerTypes,
|
|
5137
|
-
|
|
5150
|
+
o1 as templateItemType
|
|
5138
5151
|
};
|