vi-grid-builder 2.2.1 → 2.2.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/style.css +1 -1
- package/dist/vi-grid-builder.js +776 -734
- package/dist/vi-grid-builder.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/vi-grid-builder.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as v, createElementBlock as w, mergeProps as We, toDisplayString as I, createElementVNode as x, defineComponent as At, computed as A, watch as ct, h as Sn, resolveComponent as Y, withModifiers as Tt, createVNode as H, Fragment as ce, renderList as ue, createCommentVNode as T, createTextVNode as On, ref as q, onMounted as ba, onUnmounted as wa, createBlock as R, resolveDynamicComponent as Ce, renderSlot as z, normalizeClass as te, withCtx as he } from "vue";
|
|
2
2
|
const F = (e, t) => {
|
|
3
3
|
const n = e.__vccOpts || e;
|
|
4
4
|
for (const [a, r] of t)
|
|
@@ -11,7 +11,7 @@ const F = (e, t) => {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
function xa(e, t, n, a, r, i) {
|
|
14
|
-
return
|
|
14
|
+
return v(), w("div", We({ class: "vi-grid-badge" }, e.$attrs, { class: n.value }), I(n.value), 17);
|
|
15
15
|
}
|
|
16
16
|
const Pa = /* @__PURE__ */ F(_a, [["render", xa]]);
|
|
17
17
|
const ka = {
|
|
@@ -19,30 +19,29 @@ const ka = {
|
|
|
19
19
|
props: {
|
|
20
20
|
value: {}
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, Ca = { class: "vi-grid-image" }, Sa = ["src"];
|
|
23
23
|
function Oa(e, t, n, a, r, i) {
|
|
24
|
-
return
|
|
25
|
-
|
|
24
|
+
return v(), w("div", Ca, [
|
|
25
|
+
x("img", { src: n.value }, null, 8, Sa)
|
|
26
26
|
]);
|
|
27
27
|
}
|
|
28
|
-
const Aa = /* @__PURE__ */ F(ka, [["render", Oa]])
|
|
29
|
-
const Ta = {
|
|
28
|
+
const Aa = /* @__PURE__ */ F(ka, [["render", Oa]]), Ta = {
|
|
30
29
|
name: "ViGridText",
|
|
31
30
|
props: {
|
|
32
31
|
value: {}
|
|
33
32
|
}
|
|
34
33
|
}, Ma = { class: "vi-grid-text" };
|
|
35
34
|
function Da(e, t, n, a, r, i) {
|
|
36
|
-
return
|
|
35
|
+
return v(), w("div", Ma, I(n.value), 1);
|
|
37
36
|
}
|
|
38
37
|
const Na = /* @__PURE__ */ F(Ta, [["render", Da]]);
|
|
39
|
-
function
|
|
38
|
+
function Ve(e) {
|
|
40
39
|
"@babel/helpers - typeof";
|
|
41
|
-
return
|
|
40
|
+
return Ve = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
42
41
|
return typeof t;
|
|
43
42
|
} : function(t) {
|
|
44
43
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
45
|
-
},
|
|
44
|
+
}, Ve(e);
|
|
46
45
|
}
|
|
47
46
|
function ne(e) {
|
|
48
47
|
if (e === null || e === !0 || e === !1)
|
|
@@ -54,111 +53,111 @@ function N(e, t) {
|
|
|
54
53
|
if (t.length < e)
|
|
55
54
|
throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
|
|
56
55
|
}
|
|
57
|
-
function
|
|
56
|
+
function G(e) {
|
|
58
57
|
N(1, arguments);
|
|
59
58
|
var t = Object.prototype.toString.call(e);
|
|
60
|
-
return e instanceof Date ||
|
|
59
|
+
return e instanceof Date || Ve(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
61
60
|
}
|
|
62
61
|
function Ea(e, t) {
|
|
63
62
|
N(2, arguments);
|
|
64
|
-
var n =
|
|
63
|
+
var n = G(e).getTime(), a = ne(t);
|
|
65
64
|
return new Date(n + a);
|
|
66
65
|
}
|
|
67
|
-
var
|
|
66
|
+
var Ia = {};
|
|
68
67
|
function qe() {
|
|
69
|
-
return
|
|
68
|
+
return Ia;
|
|
70
69
|
}
|
|
71
|
-
function
|
|
70
|
+
function Fa(e) {
|
|
72
71
|
var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
73
72
|
return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
|
|
74
73
|
}
|
|
75
|
-
var
|
|
76
|
-
function Ra(e) {
|
|
77
|
-
return N(1, arguments), e instanceof Date || Ye(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
78
|
-
}
|
|
74
|
+
var An = 6e4, Tn = 36e5;
|
|
79
75
|
function La(e) {
|
|
80
|
-
|
|
76
|
+
return N(1, arguments), e instanceof Date || Ve(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
77
|
+
}
|
|
78
|
+
function Ra(e) {
|
|
79
|
+
if (N(1, arguments), !La(e) && typeof e != "number")
|
|
81
80
|
return !1;
|
|
82
|
-
var t =
|
|
81
|
+
var t = G(e);
|
|
83
82
|
return !isNaN(Number(t));
|
|
84
83
|
}
|
|
85
|
-
function
|
|
84
|
+
function za(e, t) {
|
|
86
85
|
N(2, arguments);
|
|
87
86
|
var n = ne(t);
|
|
88
87
|
return Ea(e, -n);
|
|
89
88
|
}
|
|
90
|
-
var
|
|
91
|
-
function
|
|
89
|
+
var Ua = 864e5;
|
|
90
|
+
function Wa(e) {
|
|
92
91
|
N(1, arguments);
|
|
93
|
-
var t =
|
|
92
|
+
var t = G(e), n = t.getTime();
|
|
94
93
|
t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
|
|
95
94
|
var a = t.getTime(), r = n - a;
|
|
96
|
-
return Math.floor(r /
|
|
95
|
+
return Math.floor(r / Ua) + 1;
|
|
97
96
|
}
|
|
98
|
-
function
|
|
97
|
+
function Ye(e) {
|
|
99
98
|
N(1, arguments);
|
|
100
|
-
var t = 1, n =
|
|
99
|
+
var t = 1, n = G(e), a = n.getUTCDay(), r = (a < t ? 7 : 0) + a - t;
|
|
101
100
|
return n.setUTCDate(n.getUTCDate() - r), n.setUTCHours(0, 0, 0, 0), n;
|
|
102
101
|
}
|
|
103
|
-
function
|
|
102
|
+
function Mn(e) {
|
|
104
103
|
N(1, arguments);
|
|
105
|
-
var t =
|
|
104
|
+
var t = G(e), n = t.getUTCFullYear(), a = /* @__PURE__ */ new Date(0);
|
|
106
105
|
a.setUTCFullYear(n + 1, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
107
|
-
var r =
|
|
106
|
+
var r = Ye(a), i = /* @__PURE__ */ new Date(0);
|
|
108
107
|
i.setUTCFullYear(n, 0, 4), i.setUTCHours(0, 0, 0, 0);
|
|
109
|
-
var o =
|
|
108
|
+
var o = Ye(i);
|
|
110
109
|
return t.getTime() >= r.getTime() ? n + 1 : t.getTime() >= o.getTime() ? n : n - 1;
|
|
111
110
|
}
|
|
112
|
-
function
|
|
111
|
+
function Va(e) {
|
|
113
112
|
N(1, arguments);
|
|
114
|
-
var t =
|
|
113
|
+
var t = Mn(e), n = /* @__PURE__ */ new Date(0);
|
|
115
114
|
n.setUTCFullYear(t, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
116
|
-
var a =
|
|
115
|
+
var a = Ye(n);
|
|
117
116
|
return a;
|
|
118
117
|
}
|
|
119
|
-
var
|
|
120
|
-
function
|
|
118
|
+
var Ya = 6048e5;
|
|
119
|
+
function ja(e) {
|
|
121
120
|
N(1, arguments);
|
|
122
|
-
var t =
|
|
123
|
-
return Math.round(n /
|
|
121
|
+
var t = G(e), n = Ye(t).getTime() - Va(t).getTime();
|
|
122
|
+
return Math.round(n / Ya) + 1;
|
|
124
123
|
}
|
|
125
|
-
function
|
|
124
|
+
function je(e, t) {
|
|
126
125
|
var n, a, r, i, o, s, c, l;
|
|
127
126
|
N(1, arguments);
|
|
128
127
|
var f = qe(), d = ne((n = (a = (r = (i = t == null ? void 0 : t.weekStartsOn) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && r !== void 0 ? r : f.weekStartsOn) !== null && a !== void 0 ? a : (c = f.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : 0);
|
|
129
128
|
if (!(d >= 0 && d <= 6))
|
|
130
129
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
131
|
-
var h =
|
|
130
|
+
var h = G(e), g = h.getUTCDay(), b = (g < d ? 7 : 0) + g - d;
|
|
132
131
|
return h.setUTCDate(h.getUTCDate() - b), h.setUTCHours(0, 0, 0, 0), h;
|
|
133
132
|
}
|
|
134
|
-
function
|
|
133
|
+
function Dn(e, t) {
|
|
135
134
|
var n, a, r, i, o, s, c, l;
|
|
136
135
|
N(1, arguments);
|
|
137
|
-
var f =
|
|
136
|
+
var f = G(e), d = f.getUTCFullYear(), h = qe(), g = ne((n = (a = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : h.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = h.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
|
|
138
137
|
if (!(g >= 1 && g <= 7))
|
|
139
138
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
140
139
|
var b = /* @__PURE__ */ new Date(0);
|
|
141
140
|
b.setUTCFullYear(d + 1, 0, g), b.setUTCHours(0, 0, 0, 0);
|
|
142
|
-
var
|
|
143
|
-
|
|
144
|
-
var m =
|
|
145
|
-
return f.getTime() >=
|
|
141
|
+
var P = je(b, t), _ = /* @__PURE__ */ new Date(0);
|
|
142
|
+
_.setUTCFullYear(d, 0, g), _.setUTCHours(0, 0, 0, 0);
|
|
143
|
+
var m = je(_, t);
|
|
144
|
+
return f.getTime() >= P.getTime() ? d + 1 : f.getTime() >= m.getTime() ? d : d - 1;
|
|
146
145
|
}
|
|
147
|
-
function
|
|
146
|
+
function $a(e, t) {
|
|
148
147
|
var n, a, r, i, o, s, c, l;
|
|
149
148
|
N(1, arguments);
|
|
150
|
-
var f = qe(), d = ne((n = (a = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : f.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = f.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), h =
|
|
149
|
+
var f = qe(), d = ne((n = (a = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && r !== void 0 ? r : f.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = f.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), h = Dn(e, t), g = /* @__PURE__ */ new Date(0);
|
|
151
150
|
g.setUTCFullYear(h, 0, d), g.setUTCHours(0, 0, 0, 0);
|
|
152
|
-
var b =
|
|
151
|
+
var b = je(g, t);
|
|
153
152
|
return b;
|
|
154
153
|
}
|
|
155
154
|
var Ba = 6048e5;
|
|
156
|
-
function
|
|
155
|
+
function Ga(e, t) {
|
|
157
156
|
N(1, arguments);
|
|
158
|
-
var n =
|
|
157
|
+
var n = G(e), a = je(n, t).getTime() - $a(n, t).getTime();
|
|
159
158
|
return Math.round(a / Ba) + 1;
|
|
160
159
|
}
|
|
161
|
-
function
|
|
160
|
+
function C(e, t) {
|
|
162
161
|
for (var n = e < 0 ? "-" : "", a = Math.abs(e).toString(); a.length < t; )
|
|
163
162
|
a = "0" + a;
|
|
164
163
|
return n + a;
|
|
@@ -167,16 +166,16 @@ var Ha = {
|
|
|
167
166
|
// Year
|
|
168
167
|
y: function(t, n) {
|
|
169
168
|
var a = t.getUTCFullYear(), r = a > 0 ? a : 1 - a;
|
|
170
|
-
return
|
|
169
|
+
return C(n === "yy" ? r % 100 : r, n.length);
|
|
171
170
|
},
|
|
172
171
|
// Month
|
|
173
172
|
M: function(t, n) {
|
|
174
173
|
var a = t.getUTCMonth();
|
|
175
|
-
return n === "M" ? String(a + 1) :
|
|
174
|
+
return n === "M" ? String(a + 1) : C(a + 1, 2);
|
|
176
175
|
},
|
|
177
176
|
// Day of the month
|
|
178
177
|
d: function(t, n) {
|
|
179
|
-
return
|
|
178
|
+
return C(t.getUTCDate(), n.length);
|
|
180
179
|
},
|
|
181
180
|
// AM or PM
|
|
182
181
|
a: function(t, n) {
|
|
@@ -196,27 +195,27 @@ var Ha = {
|
|
|
196
195
|
},
|
|
197
196
|
// Hour [1-12]
|
|
198
197
|
h: function(t, n) {
|
|
199
|
-
return
|
|
198
|
+
return C(t.getUTCHours() % 12 || 12, n.length);
|
|
200
199
|
},
|
|
201
200
|
// Hour [0-23]
|
|
202
201
|
H: function(t, n) {
|
|
203
|
-
return
|
|
202
|
+
return C(t.getUTCHours(), n.length);
|
|
204
203
|
},
|
|
205
204
|
// Minute
|
|
206
205
|
m: function(t, n) {
|
|
207
|
-
return
|
|
206
|
+
return C(t.getUTCMinutes(), n.length);
|
|
208
207
|
},
|
|
209
208
|
// Second
|
|
210
209
|
s: function(t, n) {
|
|
211
|
-
return
|
|
210
|
+
return C(t.getUTCSeconds(), n.length);
|
|
212
211
|
},
|
|
213
212
|
// Fraction of second
|
|
214
213
|
S: function(t, n) {
|
|
215
214
|
var a = n.length, r = t.getUTCMilliseconds(), i = Math.floor(r * Math.pow(10, a - 3));
|
|
216
|
-
return
|
|
215
|
+
return C(i, n.length);
|
|
217
216
|
}
|
|
218
217
|
};
|
|
219
|
-
const
|
|
218
|
+
const Z = Ha;
|
|
220
219
|
var ge = {
|
|
221
220
|
am: "am",
|
|
222
221
|
pm: "pm",
|
|
@@ -256,23 +255,23 @@ var ge = {
|
|
|
256
255
|
unit: "year"
|
|
257
256
|
});
|
|
258
257
|
}
|
|
259
|
-
return
|
|
258
|
+
return Z.y(t, n);
|
|
260
259
|
},
|
|
261
260
|
// Local week-numbering year
|
|
262
261
|
Y: function(t, n, a, r) {
|
|
263
|
-
var i =
|
|
262
|
+
var i = Dn(t, r), o = i > 0 ? i : 1 - i;
|
|
264
263
|
if (n === "YY") {
|
|
265
264
|
var s = o % 100;
|
|
266
|
-
return
|
|
265
|
+
return C(s, 2);
|
|
267
266
|
}
|
|
268
267
|
return n === "Yo" ? a.ordinalNumber(o, {
|
|
269
268
|
unit: "year"
|
|
270
|
-
}) :
|
|
269
|
+
}) : C(o, n.length);
|
|
271
270
|
},
|
|
272
271
|
// ISO week-numbering year
|
|
273
272
|
R: function(t, n) {
|
|
274
|
-
var a =
|
|
275
|
-
return
|
|
273
|
+
var a = Mn(t);
|
|
274
|
+
return C(a, n.length);
|
|
276
275
|
},
|
|
277
276
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
278
277
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -285,7 +284,7 @@ var ge = {
|
|
|
285
284
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
286
285
|
u: function(t, n) {
|
|
287
286
|
var a = t.getUTCFullYear();
|
|
288
|
-
return
|
|
287
|
+
return C(a, n.length);
|
|
289
288
|
},
|
|
290
289
|
// Quarter
|
|
291
290
|
Q: function(t, n, a) {
|
|
@@ -294,7 +293,7 @@ var ge = {
|
|
|
294
293
|
case "Q":
|
|
295
294
|
return String(r);
|
|
296
295
|
case "QQ":
|
|
297
|
-
return
|
|
296
|
+
return C(r, 2);
|
|
298
297
|
case "Qo":
|
|
299
298
|
return a.ordinalNumber(r, {
|
|
300
299
|
unit: "quarter"
|
|
@@ -324,7 +323,7 @@ var ge = {
|
|
|
324
323
|
case "q":
|
|
325
324
|
return String(r);
|
|
326
325
|
case "qq":
|
|
327
|
-
return
|
|
326
|
+
return C(r, 2);
|
|
328
327
|
case "qo":
|
|
329
328
|
return a.ordinalNumber(r, {
|
|
330
329
|
unit: "quarter"
|
|
@@ -353,7 +352,7 @@ var ge = {
|
|
|
353
352
|
switch (n) {
|
|
354
353
|
case "M":
|
|
355
354
|
case "MM":
|
|
356
|
-
return
|
|
355
|
+
return Z.M(t, n);
|
|
357
356
|
case "Mo":
|
|
358
357
|
return a.ordinalNumber(r + 1, {
|
|
359
358
|
unit: "month"
|
|
@@ -383,7 +382,7 @@ var ge = {
|
|
|
383
382
|
case "L":
|
|
384
383
|
return String(r + 1);
|
|
385
384
|
case "LL":
|
|
386
|
-
return
|
|
385
|
+
return C(r + 1, 2);
|
|
387
386
|
case "Lo":
|
|
388
387
|
return a.ordinalNumber(r + 1, {
|
|
389
388
|
unit: "month"
|
|
@@ -408,30 +407,30 @@ var ge = {
|
|
|
408
407
|
},
|
|
409
408
|
// Local week of year
|
|
410
409
|
w: function(t, n, a, r) {
|
|
411
|
-
var i =
|
|
410
|
+
var i = Ga(t, r);
|
|
412
411
|
return n === "wo" ? a.ordinalNumber(i, {
|
|
413
412
|
unit: "week"
|
|
414
|
-
}) :
|
|
413
|
+
}) : C(i, n.length);
|
|
415
414
|
},
|
|
416
415
|
// ISO week of year
|
|
417
416
|
I: function(t, n, a) {
|
|
418
|
-
var r =
|
|
417
|
+
var r = ja(t);
|
|
419
418
|
return n === "Io" ? a.ordinalNumber(r, {
|
|
420
419
|
unit: "week"
|
|
421
|
-
}) :
|
|
420
|
+
}) : C(r, n.length);
|
|
422
421
|
},
|
|
423
422
|
// Day of the month
|
|
424
423
|
d: function(t, n, a) {
|
|
425
424
|
return n === "do" ? a.ordinalNumber(t.getUTCDate(), {
|
|
426
425
|
unit: "date"
|
|
427
|
-
}) :
|
|
426
|
+
}) : Z.d(t, n);
|
|
428
427
|
},
|
|
429
428
|
// Day of year
|
|
430
429
|
D: function(t, n, a) {
|
|
431
|
-
var r =
|
|
430
|
+
var r = Wa(t);
|
|
432
431
|
return n === "Do" ? a.ordinalNumber(r, {
|
|
433
432
|
unit: "dayOfYear"
|
|
434
|
-
}) :
|
|
433
|
+
}) : C(r, n.length);
|
|
435
434
|
},
|
|
436
435
|
// Day of week
|
|
437
436
|
E: function(t, n, a) {
|
|
@@ -469,7 +468,7 @@ var ge = {
|
|
|
469
468
|
case "e":
|
|
470
469
|
return String(o);
|
|
471
470
|
case "ee":
|
|
472
|
-
return
|
|
471
|
+
return C(o, 2);
|
|
473
472
|
case "eo":
|
|
474
473
|
return a.ordinalNumber(o, {
|
|
475
474
|
unit: "day"
|
|
@@ -504,7 +503,7 @@ var ge = {
|
|
|
504
503
|
case "c":
|
|
505
504
|
return String(o);
|
|
506
505
|
case "cc":
|
|
507
|
-
return
|
|
506
|
+
return C(o, n.length);
|
|
508
507
|
case "co":
|
|
509
508
|
return a.ordinalNumber(o, {
|
|
510
509
|
unit: "day"
|
|
@@ -539,7 +538,7 @@ var ge = {
|
|
|
539
538
|
case "i":
|
|
540
539
|
return String(i);
|
|
541
540
|
case "ii":
|
|
542
|
-
return
|
|
541
|
+
return C(i, n.length);
|
|
543
542
|
case "io":
|
|
544
543
|
return a.ordinalNumber(i, {
|
|
545
544
|
unit: "day"
|
|
@@ -655,43 +654,43 @@ var ge = {
|
|
|
655
654
|
unit: "hour"
|
|
656
655
|
});
|
|
657
656
|
}
|
|
658
|
-
return
|
|
657
|
+
return Z.h(t, n);
|
|
659
658
|
},
|
|
660
659
|
// Hour [0-23]
|
|
661
660
|
H: function(t, n, a) {
|
|
662
661
|
return n === "Ho" ? a.ordinalNumber(t.getUTCHours(), {
|
|
663
662
|
unit: "hour"
|
|
664
|
-
}) :
|
|
663
|
+
}) : Z.H(t, n);
|
|
665
664
|
},
|
|
666
665
|
// Hour [0-11]
|
|
667
666
|
K: function(t, n, a) {
|
|
668
667
|
var r = t.getUTCHours() % 12;
|
|
669
668
|
return n === "Ko" ? a.ordinalNumber(r, {
|
|
670
669
|
unit: "hour"
|
|
671
|
-
}) :
|
|
670
|
+
}) : C(r, n.length);
|
|
672
671
|
},
|
|
673
672
|
// Hour [1-24]
|
|
674
673
|
k: function(t, n, a) {
|
|
675
674
|
var r = t.getUTCHours();
|
|
676
675
|
return r === 0 && (r = 24), n === "ko" ? a.ordinalNumber(r, {
|
|
677
676
|
unit: "hour"
|
|
678
|
-
}) :
|
|
677
|
+
}) : C(r, n.length);
|
|
679
678
|
},
|
|
680
679
|
// Minute
|
|
681
680
|
m: function(t, n, a) {
|
|
682
681
|
return n === "mo" ? a.ordinalNumber(t.getUTCMinutes(), {
|
|
683
682
|
unit: "minute"
|
|
684
|
-
}) :
|
|
683
|
+
}) : Z.m(t, n);
|
|
685
684
|
},
|
|
686
685
|
// Second
|
|
687
686
|
s: function(t, n, a) {
|
|
688
687
|
return n === "so" ? a.ordinalNumber(t.getUTCSeconds(), {
|
|
689
688
|
unit: "second"
|
|
690
|
-
}) :
|
|
689
|
+
}) : Z.s(t, n);
|
|
691
690
|
},
|
|
692
691
|
// Fraction of second
|
|
693
692
|
S: function(t, n) {
|
|
694
|
-
return
|
|
693
|
+
return Z.S(t, n);
|
|
695
694
|
},
|
|
696
695
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
697
696
|
X: function(t, n, a, r) {
|
|
@@ -732,7 +731,7 @@ var ge = {
|
|
|
732
731
|
case "O":
|
|
733
732
|
case "OO":
|
|
734
733
|
case "OOO":
|
|
735
|
-
return "GMT" +
|
|
734
|
+
return "GMT" + $t(o, ":");
|
|
736
735
|
case "OOOO":
|
|
737
736
|
default:
|
|
738
737
|
return "GMT" + se(o, ":");
|
|
@@ -745,7 +744,7 @@ var ge = {
|
|
|
745
744
|
case "z":
|
|
746
745
|
case "zz":
|
|
747
746
|
case "zzz":
|
|
748
|
-
return "GMT" +
|
|
747
|
+
return "GMT" + $t(o, ":");
|
|
749
748
|
case "zzzz":
|
|
750
749
|
default:
|
|
751
750
|
return "GMT" + se(o, ":");
|
|
@@ -754,34 +753,34 @@ var ge = {
|
|
|
754
753
|
// Seconds timestamp
|
|
755
754
|
t: function(t, n, a, r) {
|
|
756
755
|
var i = r._originalDate || t, o = Math.floor(i.getTime() / 1e3);
|
|
757
|
-
return
|
|
756
|
+
return C(o, n.length);
|
|
758
757
|
},
|
|
759
758
|
// Milliseconds timestamp
|
|
760
759
|
T: function(t, n, a, r) {
|
|
761
760
|
var i = r._originalDate || t, o = i.getTime();
|
|
762
|
-
return
|
|
761
|
+
return C(o, n.length);
|
|
763
762
|
}
|
|
764
763
|
};
|
|
765
|
-
function
|
|
764
|
+
function $t(e, t) {
|
|
766
765
|
var n = e > 0 ? "-" : "+", a = Math.abs(e), r = Math.floor(a / 60), i = a % 60;
|
|
767
766
|
if (i === 0)
|
|
768
767
|
return n + String(r);
|
|
769
768
|
var o = t || "";
|
|
770
|
-
return n + String(r) + o +
|
|
769
|
+
return n + String(r) + o + C(i, 2);
|
|
771
770
|
}
|
|
772
771
|
function Bt(e, t) {
|
|
773
772
|
if (e % 60 === 0) {
|
|
774
773
|
var n = e > 0 ? "-" : "+";
|
|
775
|
-
return n +
|
|
774
|
+
return n + C(Math.abs(e) / 60, 2);
|
|
776
775
|
}
|
|
777
776
|
return se(e, t);
|
|
778
777
|
}
|
|
779
778
|
function se(e, t) {
|
|
780
|
-
var n = t || "", a = e > 0 ? "-" : "+", r = Math.abs(e), i =
|
|
779
|
+
var n = t || "", a = e > 0 ? "-" : "+", r = Math.abs(e), i = C(Math.floor(r / 60), 2), o = C(r % 60, 2);
|
|
781
780
|
return a + i + n + o;
|
|
782
781
|
}
|
|
783
782
|
const Ka = qa;
|
|
784
|
-
var
|
|
783
|
+
var Gt = function(t, n) {
|
|
785
784
|
switch (t) {
|
|
786
785
|
case "P":
|
|
787
786
|
return n.date({
|
|
@@ -801,7 +800,7 @@ var $t = function(t, n) {
|
|
|
801
800
|
width: "full"
|
|
802
801
|
});
|
|
803
802
|
}
|
|
804
|
-
},
|
|
803
|
+
}, Nn = function(t, n) {
|
|
805
804
|
switch (t) {
|
|
806
805
|
case "p":
|
|
807
806
|
return n.time({
|
|
@@ -824,7 +823,7 @@ var $t = function(t, n) {
|
|
|
824
823
|
}, Xa = function(t, n) {
|
|
825
824
|
var a = t.match(/(P+)(p+)?/) || [], r = a[1], i = a[2];
|
|
826
825
|
if (!i)
|
|
827
|
-
return
|
|
826
|
+
return Gt(t, n);
|
|
828
827
|
var o;
|
|
829
828
|
switch (r) {
|
|
830
829
|
case "P":
|
|
@@ -849,9 +848,9 @@ var $t = function(t, n) {
|
|
|
849
848
|
});
|
|
850
849
|
break;
|
|
851
850
|
}
|
|
852
|
-
return o.replace("{{date}}",
|
|
851
|
+
return o.replace("{{date}}", Gt(r, n)).replace("{{time}}", Nn(i, n));
|
|
853
852
|
}, Qa = {
|
|
854
|
-
p:
|
|
853
|
+
p: Nn,
|
|
855
854
|
P: Xa
|
|
856
855
|
};
|
|
857
856
|
const Ja = Qa;
|
|
@@ -1148,7 +1147,7 @@ function kr(e, t) {
|
|
|
1148
1147
|
if (t(e[n]))
|
|
1149
1148
|
return n;
|
|
1150
1149
|
}
|
|
1151
|
-
function
|
|
1150
|
+
function Cr(e) {
|
|
1152
1151
|
return function(t) {
|
|
1153
1152
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.match(e.matchPattern);
|
|
1154
1153
|
if (!a)
|
|
@@ -1165,7 +1164,7 @@ function Sr(e) {
|
|
|
1165
1164
|
};
|
|
1166
1165
|
};
|
|
1167
1166
|
}
|
|
1168
|
-
var
|
|
1167
|
+
var Sr = /^(\d+)(th|st|nd|rd)?/i, Or = /\d+/i, Ar = {
|
|
1169
1168
|
narrow: /^(b|a)/i,
|
|
1170
1169
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1171
1170
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -1184,18 +1183,18 @@ var Cr = /^(\d+)(th|st|nd|rd)?/i, Or = /\d+/i, Ar = {
|
|
|
1184
1183
|
}, Er = {
|
|
1185
1184
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
1186
1185
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
1187
|
-
},
|
|
1186
|
+
}, Ir = {
|
|
1188
1187
|
narrow: /^[smtwf]/i,
|
|
1189
1188
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
1190
1189
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
1191
1190
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
1192
|
-
},
|
|
1191
|
+
}, Fr = {
|
|
1193
1192
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
1194
1193
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
1195
|
-
},
|
|
1194
|
+
}, Lr = {
|
|
1196
1195
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
1197
1196
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
1198
|
-
},
|
|
1197
|
+
}, Rr = {
|
|
1199
1198
|
any: {
|
|
1200
1199
|
am: /^a/i,
|
|
1201
1200
|
pm: /^p/i,
|
|
@@ -1206,9 +1205,9 @@ var Cr = /^(\d+)(th|st|nd|rd)?/i, Or = /\d+/i, Ar = {
|
|
|
1206
1205
|
evening: /evening/i,
|
|
1207
1206
|
night: /night/i
|
|
1208
1207
|
}
|
|
1209
|
-
},
|
|
1210
|
-
ordinalNumber:
|
|
1211
|
-
matchPattern:
|
|
1208
|
+
}, zr = {
|
|
1209
|
+
ordinalNumber: Cr({
|
|
1210
|
+
matchPattern: Sr,
|
|
1212
1211
|
parsePattern: Or,
|
|
1213
1212
|
valueCallback: function(t) {
|
|
1214
1213
|
return parseInt(t, 10);
|
|
@@ -1236,78 +1235,78 @@ var Cr = /^(\d+)(th|st|nd|rd)?/i, Or = /\d+/i, Ar = {
|
|
|
1236
1235
|
defaultParseWidth: "any"
|
|
1237
1236
|
}),
|
|
1238
1237
|
day: Pe({
|
|
1239
|
-
matchPatterns:
|
|
1238
|
+
matchPatterns: Ir,
|
|
1240
1239
|
defaultMatchWidth: "wide",
|
|
1241
|
-
parsePatterns:
|
|
1240
|
+
parsePatterns: Fr,
|
|
1242
1241
|
defaultParseWidth: "any"
|
|
1243
1242
|
}),
|
|
1244
1243
|
dayPeriod: Pe({
|
|
1245
|
-
matchPatterns:
|
|
1244
|
+
matchPatterns: Lr,
|
|
1246
1245
|
defaultMatchWidth: "any",
|
|
1247
|
-
parsePatterns:
|
|
1246
|
+
parsePatterns: Rr,
|
|
1248
1247
|
defaultParseWidth: "any"
|
|
1249
1248
|
})
|
|
1250
1249
|
};
|
|
1251
|
-
const
|
|
1252
|
-
var
|
|
1250
|
+
const Ur = zr;
|
|
1251
|
+
var Wr = {
|
|
1253
1252
|
code: "en-US",
|
|
1254
1253
|
formatDistance: ir,
|
|
1255
1254
|
formatLong: ur,
|
|
1256
1255
|
formatRelative: mr,
|
|
1257
1256
|
localize: xr,
|
|
1258
|
-
match:
|
|
1257
|
+
match: Ur,
|
|
1259
1258
|
options: {
|
|
1260
1259
|
weekStartsOn: 0,
|
|
1261
1260
|
firstWeekContainsDate: 1
|
|
1262
1261
|
}
|
|
1263
1262
|
};
|
|
1264
|
-
const
|
|
1265
|
-
var
|
|
1263
|
+
const Vr = Wr;
|
|
1264
|
+
var Yr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, jr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, $r = /^'([^]*?)'?$/, Br = /''/g, Gr = /[a-zA-Z]/;
|
|
1266
1265
|
function Hr(e, t, n) {
|
|
1267
|
-
var a, r, i, o, s, c, l, f, d, h, g, b,
|
|
1266
|
+
var a, r, i, o, s, c, l, f, d, h, g, b, P, _, m, y, k, O;
|
|
1268
1267
|
N(2, arguments);
|
|
1269
|
-
var
|
|
1268
|
+
var M = String(t), V = qe(), E = (a = (r = n == null ? void 0 : n.locale) !== null && r !== void 0 ? r : V.locale) !== null && a !== void 0 ? a : Vr, oe = ne((i = (o = (s = (c = n == null ? void 0 : n.firstWeekContainsDate) !== null && c !== void 0 ? c : n == null || (l = n.locale) === null || l === void 0 || (f = l.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && s !== void 0 ? s : V.firstWeekContainsDate) !== null && o !== void 0 ? o : (d = V.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
|
|
1270
1269
|
if (!(oe >= 1 && oe <= 7))
|
|
1271
1270
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1272
|
-
var _e = ne((g = (b = (
|
|
1271
|
+
var _e = ne((g = (b = (P = (_ = n == null ? void 0 : n.weekStartsOn) !== null && _ !== void 0 ? _ : n == null || (m = n.locale) === null || m === void 0 || (y = m.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && P !== void 0 ? P : V.weekStartsOn) !== null && b !== void 0 ? b : (k = V.locale) === null || k === void 0 || (O = k.options) === null || O === void 0 ? void 0 : O.weekStartsOn) !== null && g !== void 0 ? g : 0);
|
|
1273
1272
|
if (!(_e >= 0 && _e <= 6))
|
|
1274
1273
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1275
1274
|
if (!E.localize)
|
|
1276
1275
|
throw new RangeError("locale must contain localize property");
|
|
1277
1276
|
if (!E.formatLong)
|
|
1278
1277
|
throw new RangeError("locale must contain formatLong property");
|
|
1279
|
-
var me =
|
|
1280
|
-
if (!
|
|
1278
|
+
var me = G(e);
|
|
1279
|
+
if (!Ra(me))
|
|
1281
1280
|
throw new RangeError("Invalid time value");
|
|
1282
|
-
var et =
|
|
1281
|
+
var et = Fa(me), tt = za(me, et), jt = {
|
|
1283
1282
|
firstWeekContainsDate: oe,
|
|
1284
1283
|
weekStartsOn: _e,
|
|
1285
1284
|
locale: E,
|
|
1286
1285
|
_originalDate: me
|
|
1287
|
-
},
|
|
1288
|
-
var
|
|
1289
|
-
if (
|
|
1290
|
-
var
|
|
1291
|
-
return
|
|
1286
|
+
}, ya = M.match(jr).map(function(U) {
|
|
1287
|
+
var J = U[0];
|
|
1288
|
+
if (J === "p" || J === "P") {
|
|
1289
|
+
var Ie = Ja[J];
|
|
1290
|
+
return Ie(U, E.formatLong);
|
|
1292
1291
|
}
|
|
1293
1292
|
return U;
|
|
1294
|
-
}).join("").match(
|
|
1293
|
+
}).join("").match(Yr).map(function(U) {
|
|
1295
1294
|
if (U === "''")
|
|
1296
1295
|
return "'";
|
|
1297
|
-
var
|
|
1298
|
-
if (
|
|
1296
|
+
var J = U[0];
|
|
1297
|
+
if (J === "'")
|
|
1299
1298
|
return qr(U);
|
|
1300
|
-
var
|
|
1301
|
-
if (
|
|
1302
|
-
return !(n != null && n.useAdditionalWeekYearTokens) && nr(U) && Ht(U, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && tr(U) && Ht(U, t, String(e)),
|
|
1303
|
-
if (
|
|
1304
|
-
throw new RangeError("Format string contains an unescaped latin alphabet character `" +
|
|
1299
|
+
var Ie = Ka[J];
|
|
1300
|
+
if (Ie)
|
|
1301
|
+
return !(n != null && n.useAdditionalWeekYearTokens) && nr(U) && Ht(U, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && tr(U) && Ht(U, t, String(e)), Ie(tt, U, E.localize, jt);
|
|
1302
|
+
if (J.match(Gr))
|
|
1303
|
+
throw new RangeError("Format string contains an unescaped latin alphabet character `" + J + "`");
|
|
1305
1304
|
return U;
|
|
1306
1305
|
}).join("");
|
|
1307
|
-
return
|
|
1306
|
+
return ya;
|
|
1308
1307
|
}
|
|
1309
1308
|
function qr(e) {
|
|
1310
|
-
var t = e.match(
|
|
1309
|
+
var t = e.match($r);
|
|
1311
1310
|
return t ? t[1].replace(Br, "'") : e;
|
|
1312
1311
|
}
|
|
1313
1312
|
function Kr(e, t) {
|
|
@@ -1337,17 +1336,17 @@ function Kr(e, t) {
|
|
|
1337
1336
|
}
|
|
1338
1337
|
return new Date(s + c + l);
|
|
1339
1338
|
}
|
|
1340
|
-
var
|
|
1339
|
+
var Fe = {
|
|
1341
1340
|
dateTimeDelimiter: /[T ]/,
|
|
1342
1341
|
timeZoneDelimiter: /[Z ]/i,
|
|
1343
1342
|
timezone: /([Z+-].*)$/
|
|
1344
1343
|
}, Xr = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Qr = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, Jr = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
1345
1344
|
function Zr(e) {
|
|
1346
|
-
var t = {}, n = e.split(
|
|
1345
|
+
var t = {}, n = e.split(Fe.dateTimeDelimiter), a;
|
|
1347
1346
|
if (n.length > 2)
|
|
1348
1347
|
return t;
|
|
1349
|
-
if (/:/.test(n[0]) ? a = n[0] : (t.date = n[0], a = n[1],
|
|
1350
|
-
var r =
|
|
1348
|
+
if (/:/.test(n[0]) ? a = n[0] : (t.date = n[0], a = n[1], Fe.timeZoneDelimiter.test(t.date) && (t.date = e.split(Fe.timeZoneDelimiter)[0], a = e.substr(t.date.length, e.length))), a) {
|
|
1349
|
+
var r = Fe.timezone.exec(a);
|
|
1351
1350
|
r ? (t.time = a.replace(r[1], ""), t.timezone = r[1]) : t.time = a;
|
|
1352
1351
|
}
|
|
1353
1352
|
return t;
|
|
@@ -1385,7 +1384,7 @@ function ni(e) {
|
|
|
1385
1384
|
if (!t)
|
|
1386
1385
|
return NaN;
|
|
1387
1386
|
var n = at(t[1]), a = at(t[2]), r = at(t[3]);
|
|
1388
|
-
return ci(n, a, r) ? n *
|
|
1387
|
+
return ci(n, a, r) ? n * Tn + a * An + r * 1e3 : NaN;
|
|
1389
1388
|
}
|
|
1390
1389
|
function at(e) {
|
|
1391
1390
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
@@ -1397,7 +1396,7 @@ function ai(e) {
|
|
|
1397
1396
|
if (!t)
|
|
1398
1397
|
return 0;
|
|
1399
1398
|
var n = t[1] === "+" ? -1 : 1, a = parseInt(t[2]), r = t[3] && parseInt(t[3]) || 0;
|
|
1400
|
-
return ui(a, r) ? n * (a *
|
|
1399
|
+
return ui(a, r) ? n * (a * Tn + r * An) : NaN;
|
|
1401
1400
|
}
|
|
1402
1401
|
function ri(e, t, n) {
|
|
1403
1402
|
var a = /* @__PURE__ */ new Date(0);
|
|
@@ -1406,14 +1405,14 @@ function ri(e, t, n) {
|
|
|
1406
1405
|
return a.setUTCDate(a.getUTCDate() + i), a;
|
|
1407
1406
|
}
|
|
1408
1407
|
var ii = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
1409
|
-
function
|
|
1408
|
+
function En(e) {
|
|
1410
1409
|
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
1411
1410
|
}
|
|
1412
1411
|
function oi(e, t, n) {
|
|
1413
|
-
return t >= 0 && t <= 11 && n >= 1 && n <= (ii[t] || (
|
|
1412
|
+
return t >= 0 && t <= 11 && n >= 1 && n <= (ii[t] || (En(e) ? 29 : 28));
|
|
1414
1413
|
}
|
|
1415
1414
|
function si(e, t) {
|
|
1416
|
-
return t >= 1 && t <= (
|
|
1415
|
+
return t >= 1 && t <= (En(e) ? 366 : 365);
|
|
1417
1416
|
}
|
|
1418
1417
|
function li(e, t, n) {
|
|
1419
1418
|
return t >= 1 && t <= 53 && n >= 0 && n <= 6;
|
|
@@ -1453,11 +1452,11 @@ const fi = {
|
|
|
1453
1452
|
}
|
|
1454
1453
|
}, di = { class: "vi-grid-date" };
|
|
1455
1454
|
function mi(e, t, n, a, r, i) {
|
|
1456
|
-
return
|
|
1455
|
+
return v(), w("div", di, I(i.dateFormatted), 1);
|
|
1457
1456
|
}
|
|
1458
1457
|
const gi = /* @__PURE__ */ F(fi, [["render", mi]]);
|
|
1459
1458
|
/*!
|
|
1460
|
-
* Font Awesome Free 6.7.
|
|
1459
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
1461
1460
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
1462
1461
|
* Copyright 2024 Fonticons, Inc.
|
|
1463
1462
|
*/
|
|
@@ -1508,20 +1507,20 @@ function pi(e) {
|
|
|
1508
1507
|
}
|
|
1509
1508
|
const Kt = () => {
|
|
1510
1509
|
};
|
|
1511
|
-
let Mt = {},
|
|
1510
|
+
let Mt = {}, In = {}, Fn = null, Ln = {
|
|
1512
1511
|
mark: Kt,
|
|
1513
1512
|
measure: Kt
|
|
1514
1513
|
};
|
|
1515
1514
|
try {
|
|
1516
|
-
typeof window < "u" && (Mt = window), typeof document < "u" && (
|
|
1515
|
+
typeof window < "u" && (Mt = window), typeof document < "u" && (In = document), typeof MutationObserver < "u" && (Fn = MutationObserver), typeof performance < "u" && (Ln = performance);
|
|
1517
1516
|
} catch {
|
|
1518
1517
|
}
|
|
1519
1518
|
const {
|
|
1520
1519
|
userAgent: Xt = ""
|
|
1521
|
-
} = Mt.navigator || {}, ae = Mt,
|
|
1520
|
+
} = Mt.navigator || {}, ae = Mt, S = In, Qt = Fn, Le = Ln;
|
|
1522
1521
|
ae.document;
|
|
1523
|
-
const
|
|
1524
|
-
var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,
|
|
1522
|
+
const Q = !!S.documentElement && !!S.head && typeof S.addEventListener == "function" && typeof S.createElement == "function", Rn = ~Xt.indexOf("MSIE") || ~Xt.indexOf("Trident/");
|
|
1523
|
+
var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, zn = {
|
|
1525
1524
|
classic: {
|
|
1526
1525
|
fa: "solid",
|
|
1527
1526
|
fas: "solid",
|
|
@@ -1637,7 +1636,7 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1637
1636
|
300: "fasdl",
|
|
1638
1637
|
100: "fasdt"
|
|
1639
1638
|
}
|
|
1640
|
-
},
|
|
1639
|
+
}, Ci = /* @__PURE__ */ new Map([["classic", {
|
|
1641
1640
|
defaultShortPrefixId: "fas",
|
|
1642
1641
|
defaultStyleId: "solid",
|
|
1643
1642
|
styleIds: ["solid", "regular", "light", "thin", "brands"],
|
|
@@ -1661,7 +1660,7 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1661
1660
|
styleIds: ["solid", "regular", "light", "thin"],
|
|
1662
1661
|
futureStyleIds: [],
|
|
1663
1662
|
defaultFontWeight: 900
|
|
1664
|
-
}]]),
|
|
1663
|
+
}]]), Si = {
|
|
1665
1664
|
classic: {
|
|
1666
1665
|
solid: "fas",
|
|
1667
1666
|
regular: "far",
|
|
@@ -1717,12 +1716,12 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1717
1716
|
"kit-duotone": {
|
|
1718
1717
|
"kit-duotone": "fakd"
|
|
1719
1718
|
}
|
|
1720
|
-
},
|
|
1719
|
+
}, Re = {
|
|
1721
1720
|
GROUP: "duotone-group",
|
|
1722
1721
|
SWAP_OPACITY: "swap-opacity",
|
|
1723
1722
|
PRIMARY: "primary",
|
|
1724
1723
|
SECONDARY: "secondary"
|
|
1725
|
-
}, Ni = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], Ei = ["fak", "fa-kit", "fakd", "fa-kit-duotone"],
|
|
1724
|
+
}, Ni = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], Ei = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], Ii = {
|
|
1726
1725
|
"Font Awesome Kit": {
|
|
1727
1726
|
400: "fak",
|
|
1728
1727
|
normal: "fak"
|
|
@@ -1731,7 +1730,7 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1731
1730
|
400: "fakd",
|
|
1732
1731
|
normal: "fakd"
|
|
1733
1732
|
}
|
|
1734
|
-
},
|
|
1733
|
+
}, Fi = {
|
|
1735
1734
|
classic: {
|
|
1736
1735
|
"fa-brands": "fab",
|
|
1737
1736
|
"fa-duotone": "fad",
|
|
@@ -1757,7 +1756,7 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1757
1756
|
"fa-light": "fasdl",
|
|
1758
1757
|
"fa-thin": "fasdt"
|
|
1759
1758
|
}
|
|
1760
|
-
},
|
|
1759
|
+
}, Li = {
|
|
1761
1760
|
classic: ["fas", "far", "fal", "fat", "fad"],
|
|
1762
1761
|
duotone: ["fadr", "fadl", "fadt"],
|
|
1763
1762
|
sharp: ["fass", "fasr", "fasl", "fast"],
|
|
@@ -1788,7 +1787,7 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1788
1787
|
fasdl: "fa-light",
|
|
1789
1788
|
fasdt: "fa-thin"
|
|
1790
1789
|
}
|
|
1791
|
-
},
|
|
1790
|
+
}, Ri = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands"], ft = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", ...Ni, ...Ri], zi = ["solid", "regular", "light", "thin", "duotone", "brands"], Vn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Ui = Vn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Wi = [...Object.keys(Li), ...zi, "2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", Re.GROUP, Re.SWAP_OPACITY, Re.PRIMARY, Re.SECONDARY].concat(Vn.map((e) => "".concat(e, "x"))).concat(Ui.map((e) => "w-".concat(e))), Vi = {
|
|
1792
1791
|
"Font Awesome 5 Free": {
|
|
1793
1792
|
900: "fas",
|
|
1794
1793
|
400: "far"
|
|
@@ -1807,7 +1806,7 @@ var yi = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, bi
|
|
|
1807
1806
|
900: "fad"
|
|
1808
1807
|
}
|
|
1809
1808
|
};
|
|
1810
|
-
const
|
|
1809
|
+
const K = "___FONT_AWESOME___", dt = 16, Yn = "fa", jn = "svg-inline--fa", fe = "data-fa-i2svg", mt = "data-fa-pseudo-element", Yi = "data-fa-pseudo-element-pending", Dt = "data-prefix", Nt = "data-icon", en = "fontawesome-i2svg", ji = "async", $i = ["HTML", "HEAD", "STYLE", "SCRIPT"], $n = (() => {
|
|
1811
1810
|
try {
|
|
1812
1811
|
return process.env.NODE_ENV === "production";
|
|
1813
1812
|
} catch {
|
|
@@ -1821,36 +1820,36 @@ function Ne(e) {
|
|
|
1821
1820
|
}
|
|
1822
1821
|
});
|
|
1823
1822
|
}
|
|
1824
|
-
const
|
|
1825
|
-
|
|
1823
|
+
const Bn = u({}, zn);
|
|
1824
|
+
Bn[D] = u(u(u(u({}, {
|
|
1826
1825
|
"fa-duotone": "duotone"
|
|
1827
|
-
}),
|
|
1828
|
-
const Bi = Ne(
|
|
1826
|
+
}), zn[D]), Jt.kit), Jt["kit-duotone"]);
|
|
1827
|
+
const Bi = Ne(Bn), gt = u({}, Si);
|
|
1829
1828
|
gt[D] = u(u(u(u({}, {
|
|
1830
1829
|
duotone: "fad"
|
|
1831
1830
|
}), gt[D]), Zt.kit), Zt["kit-duotone"]);
|
|
1832
1831
|
const tn = Ne(gt), ht = u({}, ut);
|
|
1833
1832
|
ht[D] = u(u({}, ht[D]), Di.kit);
|
|
1834
|
-
const Et = Ne(ht), vt = u({},
|
|
1833
|
+
const Et = Ne(ht), vt = u({}, Fi);
|
|
1835
1834
|
vt[D] = u(u({}, vt[D]), Ti.kit);
|
|
1836
1835
|
Ne(vt);
|
|
1837
|
-
const
|
|
1836
|
+
const Gi = yi, Gn = "fa-layers-text", Hi = bi, qi = u({}, Pi);
|
|
1838
1837
|
Ne(qi);
|
|
1839
|
-
const Ki = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], rt = wi, Xi = [...Ai, ...
|
|
1838
|
+
const Ki = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], rt = wi, Xi = [...Ai, ...Wi], Oe = ae.FontAwesomeConfig || {};
|
|
1840
1839
|
function Qi(e) {
|
|
1841
|
-
var t =
|
|
1840
|
+
var t = S.querySelector("script[" + e + "]");
|
|
1842
1841
|
if (t)
|
|
1843
1842
|
return t.getAttribute(e);
|
|
1844
1843
|
}
|
|
1845
1844
|
function Ji(e) {
|
|
1846
1845
|
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
1847
1846
|
}
|
|
1848
|
-
|
|
1847
|
+
S && typeof S.querySelector == "function" && [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]].forEach((t) => {
|
|
1849
1848
|
let [n, a] = t;
|
|
1850
1849
|
const r = Ji(Qi(n));
|
|
1851
1850
|
r != null && (Oe[a] = r);
|
|
1852
1851
|
});
|
|
1853
|
-
const
|
|
1852
|
+
const Hn = {
|
|
1854
1853
|
styleDefault: "solid",
|
|
1855
1854
|
familyDefault: D,
|
|
1856
1855
|
cssPrefix: Yn,
|
|
@@ -1866,37 +1865,37 @@ const $n = {
|
|
|
1866
1865
|
showMissingIcons: !0
|
|
1867
1866
|
};
|
|
1868
1867
|
Oe.familyPrefix && (Oe.cssPrefix = Oe.familyPrefix);
|
|
1869
|
-
const ye = u(u({},
|
|
1868
|
+
const ye = u(u({}, Hn), Oe);
|
|
1870
1869
|
ye.autoReplaceSvg || (ye.observeMutations = !1);
|
|
1871
|
-
const
|
|
1872
|
-
Object.keys(
|
|
1873
|
-
Object.defineProperty(
|
|
1870
|
+
const p = {};
|
|
1871
|
+
Object.keys(Hn).forEach((e) => {
|
|
1872
|
+
Object.defineProperty(p, e, {
|
|
1874
1873
|
enumerable: !0,
|
|
1875
1874
|
set: function(t) {
|
|
1876
|
-
ye[e] = t, Ae.forEach((n) => n(
|
|
1875
|
+
ye[e] = t, Ae.forEach((n) => n(p));
|
|
1877
1876
|
},
|
|
1878
1877
|
get: function() {
|
|
1879
1878
|
return ye[e];
|
|
1880
1879
|
}
|
|
1881
1880
|
});
|
|
1882
1881
|
});
|
|
1883
|
-
Object.defineProperty(
|
|
1882
|
+
Object.defineProperty(p, "familyPrefix", {
|
|
1884
1883
|
enumerable: !0,
|
|
1885
1884
|
set: function(e) {
|
|
1886
|
-
ye.cssPrefix = e, Ae.forEach((t) => t(
|
|
1885
|
+
ye.cssPrefix = e, Ae.forEach((t) => t(p));
|
|
1887
1886
|
},
|
|
1888
1887
|
get: function() {
|
|
1889
1888
|
return ye.cssPrefix;
|
|
1890
1889
|
}
|
|
1891
1890
|
});
|
|
1892
|
-
ae.FontAwesomeConfig =
|
|
1891
|
+
ae.FontAwesomeConfig = p;
|
|
1893
1892
|
const Ae = [];
|
|
1894
1893
|
function Zi(e) {
|
|
1895
1894
|
return Ae.push(e), () => {
|
|
1896
1895
|
Ae.splice(Ae.indexOf(e), 1);
|
|
1897
1896
|
};
|
|
1898
1897
|
}
|
|
1899
|
-
const
|
|
1898
|
+
const ee = dt, $ = {
|
|
1900
1899
|
size: 16,
|
|
1901
1900
|
x: 0,
|
|
1902
1901
|
y: 0,
|
|
@@ -1905,17 +1904,17 @@ const te = dt, B = {
|
|
|
1905
1904
|
flipY: !1
|
|
1906
1905
|
};
|
|
1907
1906
|
function eo(e) {
|
|
1908
|
-
if (!e || !
|
|
1907
|
+
if (!e || !Q)
|
|
1909
1908
|
return;
|
|
1910
|
-
const t =
|
|
1909
|
+
const t = S.createElement("style");
|
|
1911
1910
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
1912
|
-
const n =
|
|
1911
|
+
const n = S.head.childNodes;
|
|
1913
1912
|
let a = null;
|
|
1914
1913
|
for (let r = n.length - 1; r > -1; r--) {
|
|
1915
1914
|
const i = n[r], o = (i.tagName || "").toUpperCase();
|
|
1916
1915
|
["STYLE", "LINK"].indexOf(o) > -1 && (a = i);
|
|
1917
1916
|
}
|
|
1918
|
-
return
|
|
1917
|
+
return S.head.insertBefore(t, a), e;
|
|
1919
1918
|
}
|
|
1920
1919
|
const to = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
1921
1920
|
function Me() {
|
|
@@ -1930,20 +1929,20 @@ function be(e) {
|
|
|
1930
1929
|
t[n] = e[n];
|
|
1931
1930
|
return t;
|
|
1932
1931
|
}
|
|
1933
|
-
function
|
|
1932
|
+
function It(e) {
|
|
1934
1933
|
return e.classList ? be(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
|
|
1935
1934
|
}
|
|
1936
|
-
function
|
|
1935
|
+
function qn(e) {
|
|
1937
1936
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1938
1937
|
}
|
|
1939
1938
|
function no(e) {
|
|
1940
|
-
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(
|
|
1939
|
+
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(qn(e[n]), '" '), "").trim();
|
|
1941
1940
|
}
|
|
1942
1941
|
function Xe(e) {
|
|
1943
1942
|
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, ": ").concat(e[n].trim(), ";"), "");
|
|
1944
1943
|
}
|
|
1945
|
-
function
|
|
1946
|
-
return e.size !==
|
|
1944
|
+
function Ft(e) {
|
|
1945
|
+
return e.size !== $.size || e.x !== $.x || e.y !== $.y || e.rotate !== $.rotate || e.flipX || e.flipY;
|
|
1947
1946
|
}
|
|
1948
1947
|
function ao(e) {
|
|
1949
1948
|
let {
|
|
@@ -1971,7 +1970,7 @@ function ro(e) {
|
|
|
1971
1970
|
height: a = dt,
|
|
1972
1971
|
startCentered: r = !1
|
|
1973
1972
|
} = e, i = "";
|
|
1974
|
-
return r && Rn ? i += "translate(".concat(t.x /
|
|
1973
|
+
return r && Rn ? i += "translate(".concat(t.x / ee - n / 2, "em, ").concat(t.y / ee - a / 2, "em) ") : r ? i += "translate(calc(-50% + ".concat(t.x / ee, "em), calc(-50% + ").concat(t.y / ee, "em)) ") : i += "translate(".concat(t.x / ee, "em, ").concat(t.y / ee, "em) "), i += "scale(".concat(t.size / ee * (t.flipX ? -1 : 1), ", ").concat(t.size / ee * (t.flipY ? -1 : 1), ") "), i += "rotate(".concat(t.rotate, "deg) "), i;
|
|
1975
1974
|
}
|
|
1976
1975
|
var io = `:root, :host {
|
|
1977
1976
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
@@ -2527,8 +2526,8 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2527
2526
|
.svg-inline--fa mask .fa-secondary {
|
|
2528
2527
|
fill: black;
|
|
2529
2528
|
}`;
|
|
2530
|
-
function
|
|
2531
|
-
const e = Yn, t = jn, n =
|
|
2529
|
+
function Kn() {
|
|
2530
|
+
const e = Yn, t = jn, n = p.cssPrefix, a = p.replacementClass;
|
|
2532
2531
|
let r = io;
|
|
2533
2532
|
if (n !== e || a !== t) {
|
|
2534
2533
|
const i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
@@ -2538,13 +2537,13 @@ function qn() {
|
|
|
2538
2537
|
}
|
|
2539
2538
|
let nn = !1;
|
|
2540
2539
|
function it() {
|
|
2541
|
-
|
|
2540
|
+
p.autoAddCss && !nn && (eo(Kn()), nn = !0);
|
|
2542
2541
|
}
|
|
2543
2542
|
var oo = {
|
|
2544
2543
|
mixout() {
|
|
2545
2544
|
return {
|
|
2546
2545
|
dom: {
|
|
2547
|
-
css:
|
|
2546
|
+
css: Kn,
|
|
2548
2547
|
insertCss: it
|
|
2549
2548
|
}
|
|
2550
2549
|
};
|
|
@@ -2560,19 +2559,19 @@ var oo = {
|
|
|
2560
2559
|
};
|
|
2561
2560
|
}
|
|
2562
2561
|
};
|
|
2563
|
-
const
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
var
|
|
2569
|
-
const
|
|
2570
|
-
|
|
2562
|
+
const X = ae || {};
|
|
2563
|
+
X[K] || (X[K] = {});
|
|
2564
|
+
X[K].styles || (X[K].styles = {});
|
|
2565
|
+
X[K].hooks || (X[K].hooks = {});
|
|
2566
|
+
X[K].shims || (X[K].shims = []);
|
|
2567
|
+
var B = X[K];
|
|
2568
|
+
const Xn = [], Qn = function() {
|
|
2569
|
+
S.removeEventListener("DOMContentLoaded", Qn), $e = 1, Xn.map((e) => e());
|
|
2571
2570
|
};
|
|
2572
|
-
let
|
|
2573
|
-
|
|
2571
|
+
let $e = !1;
|
|
2572
|
+
Q && ($e = (S.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(S.readyState), $e || S.addEventListener("DOMContentLoaded", Qn));
|
|
2574
2573
|
function so(e) {
|
|
2575
|
-
|
|
2574
|
+
Q && ($e ? setTimeout(e, 0) : Xn.push(e));
|
|
2576
2575
|
}
|
|
2577
2576
|
function Ee(e) {
|
|
2578
2577
|
const {
|
|
@@ -2580,7 +2579,7 @@ function Ee(e) {
|
|
|
2580
2579
|
attributes: n = {},
|
|
2581
2580
|
children: a = []
|
|
2582
2581
|
} = e;
|
|
2583
|
-
return typeof e == "string" ?
|
|
2582
|
+
return typeof e == "string" ? qn(e) : "<".concat(t, " ").concat(no(n), ">").concat(a.map(Ee).join(""), "</").concat(t, ">");
|
|
2584
2583
|
}
|
|
2585
2584
|
function an(e, t, n) {
|
|
2586
2585
|
if (e && e[t] && e[t][n])
|
|
@@ -2634,13 +2633,13 @@ function yt(e, t) {
|
|
|
2634
2633
|
const {
|
|
2635
2634
|
skipHooks: a = !1
|
|
2636
2635
|
} = n, r = rn(t);
|
|
2637
|
-
typeof
|
|
2636
|
+
typeof B.hooks.addPack == "function" && !a ? B.hooks.addPack(e, rn(t)) : B.styles[e] = u(u({}, B.styles[e] || {}), r), e === "fas" && yt("fa", t);
|
|
2638
2637
|
}
|
|
2639
2638
|
const {
|
|
2640
2639
|
styles: De,
|
|
2641
2640
|
shims: fo
|
|
2642
|
-
} =
|
|
2643
|
-
let
|
|
2641
|
+
} = B, Jn = Object.keys(Et), mo = Jn.reduce((e, t) => (e[t] = Object.keys(Et[t]), e), {});
|
|
2642
|
+
let Lt = null, Zn = {}, ea = {}, ta = {}, na = {}, aa = {};
|
|
2644
2643
|
function go(e) {
|
|
2645
2644
|
return ~Xi.indexOf(e);
|
|
2646
2645
|
}
|
|
@@ -2648,19 +2647,19 @@ function ho(e, t) {
|
|
|
2648
2647
|
const n = t.split("-"), a = n[0], r = n.slice(1).join("-");
|
|
2649
2648
|
return a === e && r !== "" && !go(r) ? r : null;
|
|
2650
2649
|
}
|
|
2651
|
-
const
|
|
2650
|
+
const ra = () => {
|
|
2652
2651
|
const e = (a) => ot(De, (r, i, o) => (r[o] = ot(i, a, {}), r), {});
|
|
2653
|
-
|
|
2652
|
+
Zn = e((a, r, i) => (r[3] && (a[r[3]] = i), r[2] && r[2].filter((s) => typeof s == "number").forEach((s) => {
|
|
2654
2653
|
a[s.toString(16)] = i;
|
|
2655
|
-
}), a)),
|
|
2654
|
+
}), a)), ea = e((a, r, i) => (a[i] = i, r[2] && r[2].filter((s) => typeof s == "string").forEach((s) => {
|
|
2656
2655
|
a[s] = i;
|
|
2657
|
-
}), a)),
|
|
2656
|
+
}), a)), aa = e((a, r, i) => {
|
|
2658
2657
|
const o = r[2];
|
|
2659
2658
|
return a[i] = i, o.forEach((s) => {
|
|
2660
2659
|
a[s] = i;
|
|
2661
2660
|
}), a;
|
|
2662
2661
|
});
|
|
2663
|
-
const t = "far" in De ||
|
|
2662
|
+
const t = "far" in De || p.autoFetchSvg, n = ot(fo, (a, r) => {
|
|
2664
2663
|
const i = r[0];
|
|
2665
2664
|
let o = r[1];
|
|
2666
2665
|
const s = r[2];
|
|
@@ -2675,33 +2674,33 @@ const aa = () => {
|
|
|
2675
2674
|
names: {},
|
|
2676
2675
|
unicodes: {}
|
|
2677
2676
|
});
|
|
2678
|
-
|
|
2679
|
-
family:
|
|
2677
|
+
ta = n.names, na = n.unicodes, Lt = Qe(p.styleDefault, {
|
|
2678
|
+
family: p.familyDefault
|
|
2680
2679
|
});
|
|
2681
2680
|
};
|
|
2682
2681
|
Zi((e) => {
|
|
2683
|
-
|
|
2684
|
-
family:
|
|
2682
|
+
Lt = Qe(e.styleDefault, {
|
|
2683
|
+
family: p.familyDefault
|
|
2685
2684
|
});
|
|
2686
2685
|
});
|
|
2687
|
-
|
|
2688
|
-
function
|
|
2689
|
-
return (
|
|
2686
|
+
ra();
|
|
2687
|
+
function Rt(e, t) {
|
|
2688
|
+
return (Zn[e] || {})[t];
|
|
2690
2689
|
}
|
|
2691
2690
|
function vo(e, t) {
|
|
2692
|
-
return (
|
|
2691
|
+
return (ea[e] || {})[t];
|
|
2693
2692
|
}
|
|
2694
2693
|
function le(e, t) {
|
|
2695
|
-
return (
|
|
2694
|
+
return (aa[e] || {})[t];
|
|
2696
2695
|
}
|
|
2697
|
-
function
|
|
2698
|
-
return
|
|
2696
|
+
function ia(e) {
|
|
2697
|
+
return ta[e] || {
|
|
2699
2698
|
prefix: null,
|
|
2700
2699
|
iconName: null
|
|
2701
2700
|
};
|
|
2702
2701
|
}
|
|
2703
2702
|
function po(e) {
|
|
2704
|
-
const t =
|
|
2703
|
+
const t = na[e], n = Rt("fas", e);
|
|
2705
2704
|
return t || (n ? {
|
|
2706
2705
|
prefix: "fas",
|
|
2707
2706
|
iconName: n
|
|
@@ -2711,16 +2710,16 @@ function po(e) {
|
|
|
2711
2710
|
};
|
|
2712
2711
|
}
|
|
2713
2712
|
function re() {
|
|
2714
|
-
return
|
|
2713
|
+
return Lt;
|
|
2715
2714
|
}
|
|
2716
|
-
const
|
|
2715
|
+
const oa = () => ({
|
|
2717
2716
|
prefix: null,
|
|
2718
2717
|
iconName: null,
|
|
2719
2718
|
rest: []
|
|
2720
2719
|
});
|
|
2721
2720
|
function yo(e) {
|
|
2722
2721
|
let t = D;
|
|
2723
|
-
const n =
|
|
2722
|
+
const n = Jn.reduce((a, r) => (a[r] = "".concat(p.cssPrefix, "-").concat(r), a), {});
|
|
2724
2723
|
return Wn.forEach((a) => {
|
|
2725
2724
|
(e.includes(n[a]) || e.some((r) => mo[a].includes(r))) && (t = a);
|
|
2726
2725
|
}), t;
|
|
@@ -2732,13 +2731,13 @@ function Qe(e) {
|
|
|
2732
2731
|
} = t, a = Bi[n][e];
|
|
2733
2732
|
if (n === Ke && !e)
|
|
2734
2733
|
return "fad";
|
|
2735
|
-
const r = tn[n][e] || tn[n][a], i = e in
|
|
2734
|
+
const r = tn[n][e] || tn[n][a], i = e in B.styles ? e : null;
|
|
2736
2735
|
return r || i || null;
|
|
2737
2736
|
}
|
|
2738
2737
|
function bo(e) {
|
|
2739
2738
|
let t = [], n = null;
|
|
2740
2739
|
return e.forEach((a) => {
|
|
2741
|
-
const r = ho(
|
|
2740
|
+
const r = ho(p.cssPrefix, a);
|
|
2742
2741
|
r ? n = r : a && t.push(a);
|
|
2743
2742
|
}), {
|
|
2744
2743
|
iconName: n,
|
|
@@ -2763,7 +2762,7 @@ function Je(e) {
|
|
|
2763
2762
|
values: e,
|
|
2764
2763
|
family: l,
|
|
2765
2764
|
styles: De,
|
|
2766
|
-
config:
|
|
2765
|
+
config: p,
|
|
2767
2766
|
canonical: f,
|
|
2768
2767
|
givenPrefix: a
|
|
2769
2768
|
})), wo(n, a, f));
|
|
@@ -2778,8 +2777,8 @@ function wo(e, t, n) {
|
|
|
2778
2777
|
prefix: a,
|
|
2779
2778
|
iconName: r
|
|
2780
2779
|
};
|
|
2781
|
-
const i = t === "fa" ?
|
|
2782
|
-
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !De.far && De.fas && !
|
|
2780
|
+
const i = t === "fa" ? ia(r) : {}, o = le(a, r);
|
|
2781
|
+
return r = i.iconName || o || r, a = i.prefix || a, a === "far" && !De.far && De.fas && !p.autoFetchSvg && (a = "fas"), {
|
|
2783
2782
|
prefix: a,
|
|
2784
2783
|
iconName: r
|
|
2785
2784
|
};
|
|
@@ -2795,7 +2794,7 @@ function Po(e) {
|
|
|
2795
2794
|
config: o = {}
|
|
2796
2795
|
} = e, s = n === Ke, c = t.includes("fa-duotone") || t.includes("fad"), l = o.familyDefault === "duotone", f = a.prefix === "fad" || a.prefix === "fa-duotone";
|
|
2797
2796
|
if (!s && (c || l || f) && (a.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (a.prefix = "fab"), !a.prefix && _o.includes(n) && (Object.keys(i).find((h) => xo.includes(h)) || o.autoFetchSvg)) {
|
|
2798
|
-
const h =
|
|
2797
|
+
const h = Ci.get(n).defaultShortPrefixId;
|
|
2799
2798
|
a.prefix = h, a.iconName = le(a.prefix, a.iconName) || a.iconName;
|
|
2800
2799
|
}
|
|
2801
2800
|
return (a.prefix === "fa" || r === "fa") && (a.prefix = re() || "fas"), a;
|
|
@@ -2811,7 +2810,7 @@ class ko {
|
|
|
2811
2810
|
Object.keys(r).forEach((i) => {
|
|
2812
2811
|
this.definitions[i] = u(u({}, this.definitions[i] || {}), r[i]), yt(i, r[i]);
|
|
2813
2812
|
const o = Et[D][i];
|
|
2814
|
-
o && yt(o, r[i]),
|
|
2813
|
+
o && yt(o, r[i]), ra();
|
|
2815
2814
|
});
|
|
2816
2815
|
}
|
|
2817
2816
|
reset() {
|
|
@@ -2834,13 +2833,13 @@ class ko {
|
|
|
2834
2833
|
}
|
|
2835
2834
|
}
|
|
2836
2835
|
let sn = [], ve = {};
|
|
2837
|
-
const pe = {},
|
|
2838
|
-
function
|
|
2836
|
+
const pe = {}, Co = Object.keys(pe);
|
|
2837
|
+
function So(e, t) {
|
|
2839
2838
|
let {
|
|
2840
2839
|
mixoutsTo: n
|
|
2841
2840
|
} = t;
|
|
2842
2841
|
return sn = e, ve = {}, Object.keys(pe).forEach((a) => {
|
|
2843
|
-
|
|
2842
|
+
Co.indexOf(a) === -1 && delete pe[a];
|
|
2844
2843
|
}), sn.forEach((a) => {
|
|
2845
2844
|
const r = a.mixout ? a.mixout() : {};
|
|
2846
2845
|
if (Object.keys(r).forEach((i) => {
|
|
@@ -2881,21 +2880,21 @@ function wt(e) {
|
|
|
2881
2880
|
} = e;
|
|
2882
2881
|
const n = e.prefix || re();
|
|
2883
2882
|
if (t)
|
|
2884
|
-
return t = le(n, t) || t, an(
|
|
2883
|
+
return t = le(n, t) || t, an(sa.definitions, n, t) || an(B.styles, n, t);
|
|
2885
2884
|
}
|
|
2886
|
-
const
|
|
2887
|
-
|
|
2885
|
+
const sa = new ko(), Oo = () => {
|
|
2886
|
+
p.autoReplaceSvg = !1, p.observeMutations = !1, de("noAuto");
|
|
2888
2887
|
}, Ao = {
|
|
2889
2888
|
i2svg: function() {
|
|
2890
2889
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2891
|
-
return
|
|
2890
|
+
return Q ? (de("beforeI2svg", e), ie("pseudoElements2svg", e), ie("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
2892
2891
|
},
|
|
2893
2892
|
watch: function() {
|
|
2894
2893
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2895
2894
|
const {
|
|
2896
2895
|
autoReplaceSvgRoot: t
|
|
2897
2896
|
} = e;
|
|
2898
|
-
|
|
2897
|
+
p.autoReplaceSvg === !1 && (p.autoReplaceSvg = !0), p.observeMutations = !0, so(() => {
|
|
2899
2898
|
Mo({
|
|
2900
2899
|
autoReplaceSvgRoot: t
|
|
2901
2900
|
}), de("watch", e);
|
|
@@ -2917,7 +2916,7 @@ const oa = new ko(), Oo = () => {
|
|
|
2917
2916
|
iconName: le(n, t) || t
|
|
2918
2917
|
};
|
|
2919
2918
|
}
|
|
2920
|
-
if (typeof e == "string" && (e.indexOf("".concat(
|
|
2919
|
+
if (typeof e == "string" && (e.indexOf("".concat(p.cssPrefix, "-")) > -1 || e.match(Gi))) {
|
|
2921
2920
|
const t = Je(e.split(" "), {
|
|
2922
2921
|
skipLookups: !0
|
|
2923
2922
|
});
|
|
@@ -2936,18 +2935,18 @@ const oa = new ko(), Oo = () => {
|
|
|
2936
2935
|
}
|
|
2937
2936
|
}, W = {
|
|
2938
2937
|
noAuto: Oo,
|
|
2939
|
-
config:
|
|
2938
|
+
config: p,
|
|
2940
2939
|
dom: Ao,
|
|
2941
2940
|
parse: To,
|
|
2942
|
-
library:
|
|
2941
|
+
library: sa,
|
|
2943
2942
|
findIconDefinition: wt,
|
|
2944
2943
|
toHtml: Ee
|
|
2945
2944
|
}, Mo = function() {
|
|
2946
2945
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2947
2946
|
const {
|
|
2948
|
-
autoReplaceSvgRoot: t =
|
|
2947
|
+
autoReplaceSvgRoot: t = S
|
|
2949
2948
|
} = e;
|
|
2950
|
-
(Object.keys(
|
|
2949
|
+
(Object.keys(B.styles).length > 0 || p.autoFetchSvg) && Q && p.autoReplaceSvg && W.dom.i2svg({
|
|
2951
2950
|
node: t
|
|
2952
2951
|
});
|
|
2953
2952
|
};
|
|
@@ -2960,9 +2959,9 @@ function Ze(e, t) {
|
|
|
2960
2959
|
}
|
|
2961
2960
|
}), Object.defineProperty(e, "node", {
|
|
2962
2961
|
get: function() {
|
|
2963
|
-
if (!
|
|
2962
|
+
if (!Q)
|
|
2964
2963
|
return;
|
|
2965
|
-
const n =
|
|
2964
|
+
const n = S.createElement("div");
|
|
2966
2965
|
return n.innerHTML = e.html, n.children;
|
|
2967
2966
|
}
|
|
2968
2967
|
}), e;
|
|
@@ -2976,7 +2975,7 @@ function Do(e) {
|
|
|
2976
2975
|
styles: i,
|
|
2977
2976
|
transform: o
|
|
2978
2977
|
} = e;
|
|
2979
|
-
if (
|
|
2978
|
+
if (Ft(o) && n.found && !a.found) {
|
|
2980
2979
|
const {
|
|
2981
2980
|
width: s,
|
|
2982
2981
|
height: c
|
|
@@ -3002,7 +3001,7 @@ function No(e) {
|
|
|
3002
3001
|
attributes: r,
|
|
3003
3002
|
symbol: i
|
|
3004
3003
|
} = e;
|
|
3005
|
-
const o = i === !0 ? "".concat(t, "-").concat(
|
|
3004
|
+
const o = i === !0 ? "".concat(t, "-").concat(p.cssPrefix, "-").concat(n) : i;
|
|
3006
3005
|
return [{
|
|
3007
3006
|
tag: "svg",
|
|
3008
3007
|
attributes: {
|
|
@@ -3017,7 +3016,7 @@ function No(e) {
|
|
|
3017
3016
|
}]
|
|
3018
3017
|
}];
|
|
3019
3018
|
}
|
|
3020
|
-
function
|
|
3019
|
+
function zt(e) {
|
|
3021
3020
|
const {
|
|
3022
3021
|
icons: {
|
|
3023
3022
|
main: t,
|
|
@@ -3035,13 +3034,13 @@ function Ut(e) {
|
|
|
3035
3034
|
} = e, {
|
|
3036
3035
|
width: h,
|
|
3037
3036
|
height: g
|
|
3038
|
-
} = n.found ? n : t, b = Mi.includes(a),
|
|
3039
|
-
let
|
|
3037
|
+
} = n.found ? n : t, b = Mi.includes(a), P = [p.replacementClass, r ? "".concat(p.cssPrefix, "-").concat(r) : ""].filter((M) => f.classes.indexOf(M) === -1).filter((M) => M !== "" || !!M).concat(f.classes).join(" ");
|
|
3038
|
+
let _ = {
|
|
3040
3039
|
children: [],
|
|
3041
3040
|
attributes: u(u({}, f.attributes), {}, {
|
|
3042
3041
|
"data-prefix": a,
|
|
3043
3042
|
"data-icon": r,
|
|
3044
|
-
class:
|
|
3043
|
+
class: P,
|
|
3045
3044
|
role: f.attributes.role || "img",
|
|
3046
3045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3047
3046
|
viewBox: "0 0 ".concat(h, " ").concat(g)
|
|
@@ -3050,14 +3049,14 @@ function Ut(e) {
|
|
|
3050
3049
|
const m = b && !~f.classes.indexOf("fa-fw") ? {
|
|
3051
3050
|
width: "".concat(h / g * 16 * 0.0625, "em")
|
|
3052
3051
|
} : {};
|
|
3053
|
-
d && (
|
|
3052
|
+
d && (_.attributes[fe] = ""), s && (_.children.push({
|
|
3054
3053
|
tag: "title",
|
|
3055
3054
|
attributes: {
|
|
3056
|
-
id:
|
|
3055
|
+
id: _.attributes["aria-labelledby"] || "title-".concat(l || Me())
|
|
3057
3056
|
},
|
|
3058
3057
|
children: [s]
|
|
3059
|
-
}), delete
|
|
3060
|
-
const
|
|
3058
|
+
}), delete _.attributes.title);
|
|
3059
|
+
const y = u(u({}, _), {}, {
|
|
3061
3060
|
prefix: a,
|
|
3062
3061
|
iconName: r,
|
|
3063
3062
|
main: t,
|
|
@@ -3067,16 +3066,16 @@ function Ut(e) {
|
|
|
3067
3066
|
symbol: o,
|
|
3068
3067
|
styles: u(u({}, m), f.styles)
|
|
3069
3068
|
}), {
|
|
3070
|
-
children:
|
|
3069
|
+
children: k,
|
|
3071
3070
|
attributes: O
|
|
3072
|
-
} = n.found && t.found ? ie("generateAbstractMask",
|
|
3071
|
+
} = n.found && t.found ? ie("generateAbstractMask", y) || {
|
|
3073
3072
|
children: [],
|
|
3074
3073
|
attributes: {}
|
|
3075
|
-
} : ie("generateAbstractIcon",
|
|
3074
|
+
} : ie("generateAbstractIcon", y) || {
|
|
3076
3075
|
children: [],
|
|
3077
3076
|
attributes: {}
|
|
3078
3077
|
};
|
|
3079
|
-
return
|
|
3078
|
+
return y.children = k, y.attributes = O, o ? No(y) : Do(y);
|
|
3080
3079
|
}
|
|
3081
3080
|
function ln(e) {
|
|
3082
3081
|
const {
|
|
@@ -3094,7 +3093,7 @@ function ln(e) {
|
|
|
3094
3093
|
});
|
|
3095
3094
|
s && (c[fe] = "");
|
|
3096
3095
|
const l = u({}, o.styles);
|
|
3097
|
-
|
|
3096
|
+
Ft(r) && (l.transform = ro({
|
|
3098
3097
|
transform: r,
|
|
3099
3098
|
startCentered: !0,
|
|
3100
3099
|
width: n,
|
|
@@ -3141,26 +3140,26 @@ function Eo(e) {
|
|
|
3141
3140
|
}
|
|
3142
3141
|
const {
|
|
3143
3142
|
styles: st
|
|
3144
|
-
} =
|
|
3143
|
+
} = B;
|
|
3145
3144
|
function _t(e) {
|
|
3146
3145
|
const t = e[0], n = e[1], [a] = e.slice(4);
|
|
3147
3146
|
let r = null;
|
|
3148
3147
|
return Array.isArray(a) ? r = {
|
|
3149
3148
|
tag: "g",
|
|
3150
3149
|
attributes: {
|
|
3151
|
-
class: "".concat(
|
|
3150
|
+
class: "".concat(p.cssPrefix, "-").concat(rt.GROUP)
|
|
3152
3151
|
},
|
|
3153
3152
|
children: [{
|
|
3154
3153
|
tag: "path",
|
|
3155
3154
|
attributes: {
|
|
3156
|
-
class: "".concat(
|
|
3155
|
+
class: "".concat(p.cssPrefix, "-").concat(rt.SECONDARY),
|
|
3157
3156
|
fill: "currentColor",
|
|
3158
3157
|
d: a[0]
|
|
3159
3158
|
}
|
|
3160
3159
|
}, {
|
|
3161
3160
|
tag: "path",
|
|
3162
3161
|
attributes: {
|
|
3163
|
-
class: "".concat(
|
|
3162
|
+
class: "".concat(p.cssPrefix, "-").concat(rt.PRIMARY),
|
|
3164
3163
|
fill: "currentColor",
|
|
3165
3164
|
d: a[1]
|
|
3166
3165
|
}
|
|
@@ -3178,101 +3177,101 @@ function _t(e) {
|
|
|
3178
3177
|
icon: r
|
|
3179
3178
|
};
|
|
3180
3179
|
}
|
|
3181
|
-
const
|
|
3180
|
+
const Io = {
|
|
3182
3181
|
found: !1,
|
|
3183
3182
|
width: 512,
|
|
3184
3183
|
height: 512
|
|
3185
3184
|
};
|
|
3186
|
-
function
|
|
3187
|
-
|
|
3185
|
+
function Fo(e, t) {
|
|
3186
|
+
!$n && !p.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
3188
3187
|
}
|
|
3189
3188
|
function xt(e, t) {
|
|
3190
3189
|
let n = t;
|
|
3191
|
-
return t === "fa" &&
|
|
3190
|
+
return t === "fa" && p.styleDefault !== null && (t = re()), new Promise((a, r) => {
|
|
3192
3191
|
if (n === "fa") {
|
|
3193
|
-
const i =
|
|
3192
|
+
const i = ia(e) || {};
|
|
3194
3193
|
e = i.iconName || e, t = i.prefix || t;
|
|
3195
3194
|
}
|
|
3196
3195
|
if (e && t && st[t] && st[t][e]) {
|
|
3197
3196
|
const i = st[t][e];
|
|
3198
3197
|
return a(_t(i));
|
|
3199
3198
|
}
|
|
3200
|
-
|
|
3201
|
-
icon:
|
|
3199
|
+
Fo(e, t), a(u(u({}, Io), {}, {
|
|
3200
|
+
icon: p.showMissingIcons && e ? ie("missingIconAbstract") || {} : {}
|
|
3202
3201
|
}));
|
|
3203
3202
|
});
|
|
3204
3203
|
}
|
|
3205
3204
|
const cn = () => {
|
|
3206
|
-
}, Pt =
|
|
3205
|
+
}, Pt = p.measurePerformance && Le && Le.mark && Le.measure ? Le : {
|
|
3207
3206
|
mark: cn,
|
|
3208
3207
|
measure: cn
|
|
3209
|
-
},
|
|
3210
|
-
Pt.mark("".concat(
|
|
3208
|
+
}, Se = 'FA "6.7.2"', Lo = (e) => (Pt.mark("".concat(Se, " ").concat(e, " begins")), () => la(e)), la = (e) => {
|
|
3209
|
+
Pt.mark("".concat(Se, " ").concat(e, " ends")), Pt.measure("".concat(Se, " ").concat(e), "".concat(Se, " ").concat(e, " begins"), "".concat(Se, " ").concat(e, " ends"));
|
|
3211
3210
|
};
|
|
3212
|
-
var
|
|
3213
|
-
begin:
|
|
3214
|
-
end:
|
|
3211
|
+
var Ut = {
|
|
3212
|
+
begin: Lo,
|
|
3213
|
+
end: la
|
|
3215
3214
|
};
|
|
3216
|
-
const
|
|
3215
|
+
const ze = () => {
|
|
3217
3216
|
};
|
|
3218
3217
|
function un(e) {
|
|
3219
3218
|
return typeof (e.getAttribute ? e.getAttribute(fe) : null) == "string";
|
|
3220
3219
|
}
|
|
3221
|
-
function
|
|
3220
|
+
function Ro(e) {
|
|
3222
3221
|
const t = e.getAttribute ? e.getAttribute(Dt) : null, n = e.getAttribute ? e.getAttribute(Nt) : null;
|
|
3223
3222
|
return t && n;
|
|
3224
3223
|
}
|
|
3225
|
-
function
|
|
3226
|
-
return e && e.classList && e.classList.contains && e.classList.contains(
|
|
3224
|
+
function zo(e) {
|
|
3225
|
+
return e && e.classList && e.classList.contains && e.classList.contains(p.replacementClass);
|
|
3227
3226
|
}
|
|
3228
|
-
function
|
|
3229
|
-
return
|
|
3227
|
+
function Uo() {
|
|
3228
|
+
return p.autoReplaceSvg === !0 ? Ue.replace : Ue[p.autoReplaceSvg] || Ue.replace;
|
|
3230
3229
|
}
|
|
3231
|
-
function
|
|
3232
|
-
return
|
|
3230
|
+
function Wo(e) {
|
|
3231
|
+
return S.createElementNS("http://www.w3.org/2000/svg", e);
|
|
3233
3232
|
}
|
|
3234
|
-
function
|
|
3235
|
-
return
|
|
3233
|
+
function Vo(e) {
|
|
3234
|
+
return S.createElement(e);
|
|
3236
3235
|
}
|
|
3237
|
-
function
|
|
3236
|
+
function ca(e) {
|
|
3238
3237
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3239
3238
|
const {
|
|
3240
|
-
ceFn: n = e.tag === "svg" ?
|
|
3239
|
+
ceFn: n = e.tag === "svg" ? Wo : Vo
|
|
3241
3240
|
} = t;
|
|
3242
3241
|
if (typeof e == "string")
|
|
3243
|
-
return
|
|
3242
|
+
return S.createTextNode(e);
|
|
3244
3243
|
const a = n(e.tag);
|
|
3245
3244
|
return Object.keys(e.attributes || []).forEach(function(i) {
|
|
3246
3245
|
a.setAttribute(i, e.attributes[i]);
|
|
3247
3246
|
}), (e.children || []).forEach(function(i) {
|
|
3248
|
-
a.appendChild(
|
|
3247
|
+
a.appendChild(ca(i, {
|
|
3249
3248
|
ceFn: n
|
|
3250
3249
|
}));
|
|
3251
3250
|
}), a;
|
|
3252
3251
|
}
|
|
3253
|
-
function
|
|
3252
|
+
function Yo(e) {
|
|
3254
3253
|
let t = " ".concat(e.outerHTML, " ");
|
|
3255
3254
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
3256
3255
|
}
|
|
3257
|
-
const
|
|
3256
|
+
const Ue = {
|
|
3258
3257
|
replace: function(e) {
|
|
3259
3258
|
const t = e[0];
|
|
3260
3259
|
if (t.parentNode)
|
|
3261
3260
|
if (e[1].forEach((n) => {
|
|
3262
|
-
t.parentNode.insertBefore(
|
|
3263
|
-
}), t.getAttribute(fe) === null &&
|
|
3264
|
-
let n =
|
|
3261
|
+
t.parentNode.insertBefore(ca(n), t);
|
|
3262
|
+
}), t.getAttribute(fe) === null && p.keepOriginalSource) {
|
|
3263
|
+
let n = S.createComment(Yo(t));
|
|
3265
3264
|
t.parentNode.replaceChild(n, t);
|
|
3266
3265
|
} else
|
|
3267
3266
|
t.remove();
|
|
3268
3267
|
},
|
|
3269
3268
|
nest: function(e) {
|
|
3270
3269
|
const t = e[0], n = e[1];
|
|
3271
|
-
if (~
|
|
3272
|
-
return
|
|
3273
|
-
const a = new RegExp("".concat(
|
|
3270
|
+
if (~It(t).indexOf(p.replacementClass))
|
|
3271
|
+
return Ue.replace(e);
|
|
3272
|
+
const a = new RegExp("".concat(p.cssPrefix, "-.*"));
|
|
3274
3273
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
3275
|
-
const i = n[0].attributes.class.split(" ").reduce((o, s) => (s ===
|
|
3274
|
+
const i = n[0].attributes.class.split(" ").reduce((o, s) => (s === p.replacementClass || s.match(a) ? o.toSvg.push(s) : o.toNode.push(s), o), {
|
|
3276
3275
|
toNode: [],
|
|
3277
3276
|
toSvg: []
|
|
3278
3277
|
});
|
|
@@ -3286,61 +3285,61 @@ const We = {
|
|
|
3286
3285
|
function fn(e) {
|
|
3287
3286
|
e();
|
|
3288
3287
|
}
|
|
3289
|
-
function
|
|
3290
|
-
const n = typeof t == "function" ? t :
|
|
3288
|
+
function ua(e, t) {
|
|
3289
|
+
const n = typeof t == "function" ? t : ze;
|
|
3291
3290
|
if (e.length === 0)
|
|
3292
3291
|
n();
|
|
3293
3292
|
else {
|
|
3294
3293
|
let a = fn;
|
|
3295
|
-
|
|
3296
|
-
const r =
|
|
3294
|
+
p.mutateApproach === ji && (a = ae.requestAnimationFrame || fn), a(() => {
|
|
3295
|
+
const r = Uo(), i = Ut.begin("mutate");
|
|
3297
3296
|
e.map(r), i(), n();
|
|
3298
3297
|
});
|
|
3299
3298
|
}
|
|
3300
3299
|
}
|
|
3301
|
-
let
|
|
3302
|
-
function
|
|
3303
|
-
|
|
3300
|
+
let Wt = !1;
|
|
3301
|
+
function fa() {
|
|
3302
|
+
Wt = !0;
|
|
3304
3303
|
}
|
|
3305
3304
|
function kt() {
|
|
3306
|
-
|
|
3305
|
+
Wt = !1;
|
|
3307
3306
|
}
|
|
3308
3307
|
let Be = null;
|
|
3309
3308
|
function dn(e) {
|
|
3310
|
-
if (!Qt || !
|
|
3309
|
+
if (!Qt || !p.observeMutations)
|
|
3311
3310
|
return;
|
|
3312
3311
|
const {
|
|
3313
|
-
treeCallback: t =
|
|
3314
|
-
nodeCallback: n =
|
|
3315
|
-
pseudoElementsCallback: a =
|
|
3316
|
-
observeMutationsRoot: r =
|
|
3312
|
+
treeCallback: t = ze,
|
|
3313
|
+
nodeCallback: n = ze,
|
|
3314
|
+
pseudoElementsCallback: a = ze,
|
|
3315
|
+
observeMutationsRoot: r = S
|
|
3317
3316
|
} = e;
|
|
3318
3317
|
Be = new Qt((i) => {
|
|
3319
|
-
if (
|
|
3318
|
+
if (Wt)
|
|
3320
3319
|
return;
|
|
3321
3320
|
const o = re();
|
|
3322
3321
|
be(i).forEach((s) => {
|
|
3323
|
-
if (s.type === "childList" && s.addedNodes.length > 0 && !un(s.addedNodes[0]) && (
|
|
3324
|
-
if (s.attributeName === "class" &&
|
|
3322
|
+
if (s.type === "childList" && s.addedNodes.length > 0 && !un(s.addedNodes[0]) && (p.searchPseudoElements && a(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && p.searchPseudoElements && a(s.target.parentNode), s.type === "attributes" && un(s.target) && ~Ki.indexOf(s.attributeName))
|
|
3323
|
+
if (s.attributeName === "class" && Ro(s.target)) {
|
|
3325
3324
|
const {
|
|
3326
3325
|
prefix: c,
|
|
3327
3326
|
iconName: l
|
|
3328
|
-
} = Je(
|
|
3327
|
+
} = Je(It(s.target));
|
|
3329
3328
|
s.target.setAttribute(Dt, c || o), l && s.target.setAttribute(Nt, l);
|
|
3330
3329
|
} else
|
|
3331
|
-
|
|
3330
|
+
zo(s.target) && n(s.target);
|
|
3332
3331
|
});
|
|
3333
|
-
}),
|
|
3332
|
+
}), Q && Be.observe(r, {
|
|
3334
3333
|
childList: !0,
|
|
3335
3334
|
attributes: !0,
|
|
3336
3335
|
characterData: !0,
|
|
3337
3336
|
subtree: !0
|
|
3338
3337
|
});
|
|
3339
3338
|
}
|
|
3340
|
-
function
|
|
3339
|
+
function jo() {
|
|
3341
3340
|
Be && Be.disconnect();
|
|
3342
3341
|
}
|
|
3343
|
-
function
|
|
3342
|
+
function $o(e) {
|
|
3344
3343
|
const t = e.getAttribute("style");
|
|
3345
3344
|
let n = [];
|
|
3346
3345
|
return t && (n = t.split(";").reduce((a, r) => {
|
|
@@ -3350,12 +3349,12 @@ function Go(e) {
|
|
|
3350
3349
|
}
|
|
3351
3350
|
function Bo(e) {
|
|
3352
3351
|
const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), a = e.innerText !== void 0 ? e.innerText.trim() : "";
|
|
3353
|
-
let r = Je(
|
|
3354
|
-
return r.prefix || (r.prefix = re()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = vo(r.prefix, e.innerText) ||
|
|
3352
|
+
let r = Je(It(e));
|
|
3353
|
+
return r.prefix || (r.prefix = re()), t && n && (r.prefix = t, r.iconName = n), r.iconName && r.prefix || (r.prefix && a.length > 0 && (r.iconName = vo(r.prefix, e.innerText) || Rt(r.prefix, pt(e.innerText))), !r.iconName && p.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
3355
3354
|
}
|
|
3356
|
-
function
|
|
3355
|
+
function Go(e) {
|
|
3357
3356
|
const t = be(e.attributes).reduce((r, i) => (r.name !== "class" && r.name !== "style" && (r[i.name] = i.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
|
|
3358
|
-
return
|
|
3357
|
+
return p.autoA11y && (n ? t["aria-labelledby"] = "".concat(p.replacementClass, "-title-").concat(a || Me()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
3359
3358
|
}
|
|
3360
3359
|
function Ho() {
|
|
3361
3360
|
return {
|
|
@@ -3363,7 +3362,7 @@ function Ho() {
|
|
|
3363
3362
|
title: null,
|
|
3364
3363
|
titleId: null,
|
|
3365
3364
|
prefix: null,
|
|
3366
|
-
transform:
|
|
3365
|
+
transform: $,
|
|
3367
3366
|
symbol: !1,
|
|
3368
3367
|
mask: {
|
|
3369
3368
|
iconName: null,
|
|
@@ -3386,14 +3385,14 @@ function mn(e) {
|
|
|
3386
3385
|
iconName: n,
|
|
3387
3386
|
prefix: a,
|
|
3388
3387
|
rest: r
|
|
3389
|
-
} = Bo(e), i =
|
|
3390
|
-
let s = t.styleParser ?
|
|
3388
|
+
} = Bo(e), i = Go(e), o = bt("parseNodeAttributes", {}, e);
|
|
3389
|
+
let s = t.styleParser ? $o(e) : [];
|
|
3391
3390
|
return u({
|
|
3392
3391
|
iconName: n,
|
|
3393
3392
|
title: e.getAttribute("title"),
|
|
3394
3393
|
titleId: e.getAttribute("data-fa-title-id"),
|
|
3395
3394
|
prefix: a,
|
|
3396
|
-
transform:
|
|
3395
|
+
transform: $,
|
|
3397
3396
|
mask: {
|
|
3398
3397
|
iconName: null,
|
|
3399
3398
|
prefix: null,
|
|
@@ -3410,23 +3409,23 @@ function mn(e) {
|
|
|
3410
3409
|
}
|
|
3411
3410
|
const {
|
|
3412
3411
|
styles: qo
|
|
3413
|
-
} =
|
|
3414
|
-
function
|
|
3415
|
-
const t =
|
|
3412
|
+
} = B;
|
|
3413
|
+
function da(e) {
|
|
3414
|
+
const t = p.autoReplaceSvg === "nest" ? mn(e, {
|
|
3416
3415
|
styleParser: !1
|
|
3417
3416
|
}) : mn(e);
|
|
3418
|
-
return ~t.extra.classes.indexOf(
|
|
3417
|
+
return ~t.extra.classes.indexOf(Gn) ? ie("generateLayersText", e, t) : ie("generateSvgReplacementMutation", e, t);
|
|
3419
3418
|
}
|
|
3420
3419
|
function Ko() {
|
|
3421
3420
|
return [...Oi, ...ft];
|
|
3422
3421
|
}
|
|
3423
3422
|
function gn(e) {
|
|
3424
3423
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3425
|
-
if (!
|
|
3424
|
+
if (!Q)
|
|
3426
3425
|
return Promise.resolve();
|
|
3427
|
-
const n =
|
|
3426
|
+
const n = S.documentElement.classList, a = (f) => n.add("".concat(en, "-").concat(f)), r = (f) => n.remove("".concat(en, "-").concat(f)), i = p.autoFetchSvg ? Ko() : Un.concat(Object.keys(qo));
|
|
3428
3427
|
i.includes("fa") || i.push("fa");
|
|
3429
|
-
const o = [".".concat(
|
|
3428
|
+
const o = [".".concat(Gn, ":not([").concat(fe, "])")].concat(i.map((f) => ".".concat(f, ":not([").concat(fe, "])"))).join(", ");
|
|
3430
3429
|
if (o.length === 0)
|
|
3431
3430
|
return Promise.resolve();
|
|
3432
3431
|
let s = [];
|
|
@@ -3438,18 +3437,18 @@ function gn(e) {
|
|
|
3438
3437
|
a("pending"), r("complete");
|
|
3439
3438
|
else
|
|
3440
3439
|
return Promise.resolve();
|
|
3441
|
-
const c =
|
|
3440
|
+
const c = Ut.begin("onTree"), l = s.reduce((f, d) => {
|
|
3442
3441
|
try {
|
|
3443
|
-
const h =
|
|
3442
|
+
const h = da(d);
|
|
3444
3443
|
h && f.push(h);
|
|
3445
3444
|
} catch (h) {
|
|
3446
|
-
|
|
3445
|
+
$n || h.name === "MissingIcon" && console.error(h);
|
|
3447
3446
|
}
|
|
3448
3447
|
return f;
|
|
3449
3448
|
}, []);
|
|
3450
3449
|
return new Promise((f, d) => {
|
|
3451
3450
|
Promise.all(l).then((h) => {
|
|
3452
|
-
|
|
3451
|
+
ua(h, () => {
|
|
3453
3452
|
a("active"), a("complete"), r("pending"), typeof t == "function" && t(), c(), f();
|
|
3454
3453
|
});
|
|
3455
3454
|
}).catch((h) => {
|
|
@@ -3459,8 +3458,8 @@ function gn(e) {
|
|
|
3459
3458
|
}
|
|
3460
3459
|
function Xo(e) {
|
|
3461
3460
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3462
|
-
|
|
3463
|
-
n &&
|
|
3461
|
+
da(e).then((n) => {
|
|
3462
|
+
n && ua([n], t);
|
|
3464
3463
|
});
|
|
3465
3464
|
}
|
|
3466
3465
|
function Qo(e) {
|
|
@@ -3478,7 +3477,7 @@ function Qo(e) {
|
|
|
3478
3477
|
const Jo = function(e) {
|
|
3479
3478
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3480
3479
|
const {
|
|
3481
|
-
transform: n =
|
|
3480
|
+
transform: n = $,
|
|
3482
3481
|
symbol: a = !1,
|
|
3483
3482
|
mask: r = null,
|
|
3484
3483
|
maskId: i = null,
|
|
@@ -3500,7 +3499,7 @@ const Jo = function(e) {
|
|
|
3500
3499
|
}, e), () => (de("beforeDOMElementCreation", {
|
|
3501
3500
|
iconDefinition: e,
|
|
3502
3501
|
params: t
|
|
3503
|
-
}),
|
|
3502
|
+
}), p.autoA11y && (o ? l["aria-labelledby"] = "".concat(p.replacementClass, "-title-").concat(s || Me()) : (l["aria-hidden"] = "true", l.focusable = "false")), zt({
|
|
3504
3503
|
icons: {
|
|
3505
3504
|
main: _t(g),
|
|
3506
3505
|
mask: r ? _t(r.icon) : {
|
|
@@ -3512,7 +3511,7 @@ const Jo = function(e) {
|
|
|
3512
3511
|
},
|
|
3513
3512
|
prefix: d,
|
|
3514
3513
|
iconName: h,
|
|
3515
|
-
transform: u(u({},
|
|
3514
|
+
transform: u(u({}, $), n),
|
|
3516
3515
|
symbol: a,
|
|
3517
3516
|
title: o,
|
|
3518
3517
|
maskId: i,
|
|
@@ -3540,7 +3539,7 @@ var Zo = {
|
|
|
3540
3539
|
provides(e) {
|
|
3541
3540
|
e.i2svg = function(t) {
|
|
3542
3541
|
const {
|
|
3543
|
-
node: n =
|
|
3542
|
+
node: n = S,
|
|
3544
3543
|
callback: a = () => {
|
|
3545
3544
|
}
|
|
3546
3545
|
} = t;
|
|
@@ -3564,11 +3563,11 @@ var Zo = {
|
|
|
3564
3563
|
height: 512,
|
|
3565
3564
|
icon: {}
|
|
3566
3565
|
})]).then((b) => {
|
|
3567
|
-
let [
|
|
3568
|
-
h([t,
|
|
3566
|
+
let [P, _] = b;
|
|
3567
|
+
h([t, zt({
|
|
3569
3568
|
icons: {
|
|
3570
|
-
main:
|
|
3571
|
-
mask:
|
|
3569
|
+
main: P,
|
|
3570
|
+
mask: _
|
|
3572
3571
|
},
|
|
3573
3572
|
prefix: o,
|
|
3574
3573
|
iconName: a,
|
|
@@ -3593,7 +3592,7 @@ var Zo = {
|
|
|
3593
3592
|
const s = Xe(o);
|
|
3594
3593
|
s.length > 0 && (a.style = s);
|
|
3595
3594
|
let c;
|
|
3596
|
-
return
|
|
3595
|
+
return Ft(i) && (c = ie("generateAbstractTransformGrouping", {
|
|
3597
3596
|
main: r,
|
|
3598
3597
|
transform: i,
|
|
3599
3598
|
containerWidth: r.width,
|
|
@@ -3627,7 +3626,7 @@ var Zo = {
|
|
|
3627
3626
|
}), [{
|
|
3628
3627
|
tag: "span",
|
|
3629
3628
|
attributes: {
|
|
3630
|
-
class: ["".concat(
|
|
3629
|
+
class: ["".concat(p.cssPrefix, "-layers"), ...n].join(" ")
|
|
3631
3630
|
},
|
|
3632
3631
|
children: a
|
|
3633
3632
|
}];
|
|
@@ -3658,7 +3657,7 @@ var Zo = {
|
|
|
3658
3657
|
extra: {
|
|
3659
3658
|
attributes: r,
|
|
3660
3659
|
styles: i,
|
|
3661
|
-
classes: ["".concat(
|
|
3660
|
+
classes: ["".concat(p.cssPrefix, "-layers-counter"), ...a]
|
|
3662
3661
|
}
|
|
3663
3662
|
})));
|
|
3664
3663
|
}
|
|
@@ -3670,7 +3669,7 @@ var Zo = {
|
|
|
3670
3669
|
text(e) {
|
|
3671
3670
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3672
3671
|
const {
|
|
3673
|
-
transform: n =
|
|
3672
|
+
transform: n = $,
|
|
3674
3673
|
title: a = null,
|
|
3675
3674
|
classes: r = [],
|
|
3676
3675
|
attributes: i = {},
|
|
@@ -3684,12 +3683,12 @@ var Zo = {
|
|
|
3684
3683
|
params: t
|
|
3685
3684
|
}), ln({
|
|
3686
3685
|
content: e,
|
|
3687
|
-
transform: u(u({},
|
|
3686
|
+
transform: u(u({}, $), n),
|
|
3688
3687
|
title: a,
|
|
3689
3688
|
extra: {
|
|
3690
3689
|
attributes: i,
|
|
3691
3690
|
styles: o,
|
|
3692
|
-
classes: ["".concat(
|
|
3691
|
+
classes: ["".concat(p.cssPrefix, "-layers-text"), ...r]
|
|
3693
3692
|
}
|
|
3694
3693
|
})));
|
|
3695
3694
|
}
|
|
@@ -3707,7 +3706,7 @@ var Zo = {
|
|
|
3707
3706
|
const c = parseInt(getComputedStyle(t).fontSize, 10), l = t.getBoundingClientRect();
|
|
3708
3707
|
o = l.width / c, s = l.height / c;
|
|
3709
3708
|
}
|
|
3710
|
-
return
|
|
3709
|
+
return p.autoA11y && !a && (i.attributes["aria-hidden"] = "true"), Promise.resolve([t, ln({
|
|
3711
3710
|
content: t.innerHTML,
|
|
3712
3711
|
width: o,
|
|
3713
3712
|
height: s,
|
|
@@ -3724,8 +3723,8 @@ const as = new RegExp('"', "ug"), hn = [1105920, 1112319], vn = u(u(u(u({}, {
|
|
|
3724
3723
|
normal: "fas",
|
|
3725
3724
|
400: "fas"
|
|
3726
3725
|
}
|
|
3727
|
-
}), ki),
|
|
3728
|
-
const n =
|
|
3726
|
+
}), ki), Vi), Ii), Ct = Object.keys(vn).reduce((e, t) => (e[t.toLowerCase()] = vn[t], e), {}), rs = Object.keys(Ct).reduce((e, t) => {
|
|
3727
|
+
const n = Ct[t];
|
|
3729
3728
|
return e[t] = n[900] || [...Object.entries(n)][0][1], e;
|
|
3730
3729
|
}, {});
|
|
3731
3730
|
function is(e) {
|
|
@@ -3737,10 +3736,10 @@ function is(e) {
|
|
|
3737
3736
|
}
|
|
3738
3737
|
function os(e, t) {
|
|
3739
3738
|
const n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), a = parseInt(t), r = isNaN(a) ? "normal" : a;
|
|
3740
|
-
return (
|
|
3739
|
+
return (Ct[n] || {})[r] || rs[n];
|
|
3741
3740
|
}
|
|
3742
3741
|
function pn(e, t) {
|
|
3743
|
-
const n = "".concat(
|
|
3742
|
+
const n = "".concat(Yi).concat(t.replace(":", "-"));
|
|
3744
3743
|
return new Promise((a, r) => {
|
|
3745
3744
|
if (e.getAttribute(n) !== null)
|
|
3746
3745
|
return a();
|
|
@@ -3752,29 +3751,29 @@ function pn(e, t) {
|
|
|
3752
3751
|
let g = os(c, f);
|
|
3753
3752
|
const {
|
|
3754
3753
|
value: b,
|
|
3755
|
-
isSecondary:
|
|
3756
|
-
} = is(h),
|
|
3757
|
-
let m =
|
|
3758
|
-
if (
|
|
3759
|
-
const
|
|
3760
|
-
|
|
3754
|
+
isSecondary: P
|
|
3755
|
+
} = is(h), _ = l[0].startsWith("FontAwesome");
|
|
3756
|
+
let m = Rt(g, b), y = m;
|
|
3757
|
+
if (_) {
|
|
3758
|
+
const k = po(b);
|
|
3759
|
+
k.iconName && k.prefix && (m = k.iconName, g = k.prefix);
|
|
3761
3760
|
}
|
|
3762
|
-
if (m && !
|
|
3763
|
-
e.setAttribute(n,
|
|
3764
|
-
const
|
|
3761
|
+
if (m && !P && (!o || o.getAttribute(Dt) !== g || o.getAttribute(Nt) !== y)) {
|
|
3762
|
+
e.setAttribute(n, y), o && e.removeChild(o);
|
|
3763
|
+
const k = Ho(), {
|
|
3765
3764
|
extra: O
|
|
3766
|
-
} =
|
|
3767
|
-
O.attributes[mt] = t, xt(m, g).then((
|
|
3768
|
-
const V =
|
|
3765
|
+
} = k;
|
|
3766
|
+
O.attributes[mt] = t, xt(m, g).then((M) => {
|
|
3767
|
+
const V = zt(u(u({}, k), {}, {
|
|
3769
3768
|
icons: {
|
|
3770
|
-
main:
|
|
3771
|
-
mask:
|
|
3769
|
+
main: M,
|
|
3770
|
+
mask: oa()
|
|
3772
3771
|
},
|
|
3773
3772
|
prefix: g,
|
|
3774
|
-
iconName:
|
|
3773
|
+
iconName: y,
|
|
3775
3774
|
extra: O,
|
|
3776
3775
|
watchable: !0
|
|
3777
|
-
})), E =
|
|
3776
|
+
})), E = S.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
3778
3777
|
t === "::before" ? e.insertBefore(E, e.firstChild) : e.appendChild(E), E.outerHTML = V.map((oe) => Ee(oe)).join(`
|
|
3779
3778
|
`), e.removeAttribute(n), a();
|
|
3780
3779
|
}).catch(r);
|
|
@@ -3788,13 +3787,13 @@ function ss(e) {
|
|
|
3788
3787
|
return Promise.all([pn(e, "::before"), pn(e, "::after")]);
|
|
3789
3788
|
}
|
|
3790
3789
|
function ls(e) {
|
|
3791
|
-
return e.parentNode !== document.head &&
|
|
3790
|
+
return e.parentNode !== document.head && !~$i.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(mt) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
3792
3791
|
}
|
|
3793
3792
|
function yn(e) {
|
|
3794
|
-
if (
|
|
3793
|
+
if (Q)
|
|
3795
3794
|
return new Promise((t, n) => {
|
|
3796
|
-
const a = be(e.querySelectorAll("*")).filter(ls).map(ss), r =
|
|
3797
|
-
|
|
3795
|
+
const a = be(e.querySelectorAll("*")).filter(ls).map(ss), r = Ut.begin("searchPseudoElements");
|
|
3796
|
+
fa(), Promise.all(a).then(() => {
|
|
3798
3797
|
r(), kt(), t();
|
|
3799
3798
|
}).catch(() => {
|
|
3800
3799
|
r(), kt(), n();
|
|
@@ -3812,9 +3811,9 @@ var cs = {
|
|
|
3812
3811
|
provides(e) {
|
|
3813
3812
|
e.pseudoElements2svg = function(t) {
|
|
3814
3813
|
const {
|
|
3815
|
-
node: n =
|
|
3814
|
+
node: n = S
|
|
3816
3815
|
} = t;
|
|
3817
|
-
|
|
3816
|
+
p.searchPseudoElements && yn(n);
|
|
3818
3817
|
};
|
|
3819
3818
|
}
|
|
3820
3819
|
};
|
|
@@ -3824,7 +3823,7 @@ var us = {
|
|
|
3824
3823
|
return {
|
|
3825
3824
|
dom: {
|
|
3826
3825
|
unwatch() {
|
|
3827
|
-
|
|
3826
|
+
fa(), bn = !0;
|
|
3828
3827
|
}
|
|
3829
3828
|
}
|
|
3830
3829
|
};
|
|
@@ -3835,7 +3834,7 @@ var us = {
|
|
|
3835
3834
|
dn(bt("mutationObserverCallbacks", {}));
|
|
3836
3835
|
},
|
|
3837
3836
|
noAuto() {
|
|
3838
|
-
|
|
3837
|
+
jo();
|
|
3839
3838
|
},
|
|
3840
3839
|
watch(e) {
|
|
3841
3840
|
const {
|
|
@@ -3960,7 +3959,7 @@ var ms = {
|
|
|
3960
3959
|
hooks() {
|
|
3961
3960
|
return {
|
|
3962
3961
|
parseNodeAttributes(e, t) {
|
|
3963
|
-
const n = t.getAttribute("data-fa-mask"), a = n ? Je(n.split(" ").map((r) => r.trim())) :
|
|
3962
|
+
const n = t.getAttribute("data-fa-mask"), a = n ? Je(n.split(" ").map((r) => r.trim())) : oa();
|
|
3964
3963
|
return a.prefix || (a.prefix = re()), e.mask = a, e.maskId = t.getAttribute("data-fa-mask-id"), e;
|
|
3965
3964
|
}
|
|
3966
3965
|
};
|
|
@@ -3992,40 +3991,40 @@ var ms = {
|
|
|
3992
3991
|
})
|
|
3993
3992
|
}, b = l.children ? {
|
|
3994
3993
|
children: l.children.map(_n)
|
|
3995
|
-
} : {},
|
|
3994
|
+
} : {}, P = {
|
|
3996
3995
|
tag: "g",
|
|
3997
3996
|
attributes: u({}, h.inner),
|
|
3998
3997
|
children: [_n(u({
|
|
3999
3998
|
tag: l.tag,
|
|
4000
3999
|
attributes: u(u({}, l.attributes), h.path)
|
|
4001
4000
|
}, b))]
|
|
4002
|
-
},
|
|
4001
|
+
}, _ = {
|
|
4003
4002
|
tag: "g",
|
|
4004
4003
|
attributes: u({}, h.outer),
|
|
4005
|
-
children: [
|
|
4006
|
-
}, m = "mask-".concat(o || Me()),
|
|
4004
|
+
children: [P]
|
|
4005
|
+
}, m = "mask-".concat(o || Me()), y = "clip-".concat(o || Me()), k = {
|
|
4007
4006
|
tag: "mask",
|
|
4008
4007
|
attributes: u(u({}, lt), {}, {
|
|
4009
4008
|
id: m,
|
|
4010
4009
|
maskUnits: "userSpaceOnUse",
|
|
4011
4010
|
maskContentUnits: "userSpaceOnUse"
|
|
4012
4011
|
}),
|
|
4013
|
-
children: [g,
|
|
4012
|
+
children: [g, _]
|
|
4014
4013
|
}, O = {
|
|
4015
4014
|
tag: "defs",
|
|
4016
4015
|
children: [{
|
|
4017
4016
|
tag: "clipPath",
|
|
4018
4017
|
attributes: {
|
|
4019
|
-
id:
|
|
4018
|
+
id: y
|
|
4020
4019
|
},
|
|
4021
4020
|
children: ds(d)
|
|
4022
|
-
},
|
|
4021
|
+
}, k]
|
|
4023
4022
|
};
|
|
4024
4023
|
return n.push(O, {
|
|
4025
4024
|
tag: "rect",
|
|
4026
4025
|
attributes: u({
|
|
4027
4026
|
fill: "currentColor",
|
|
4028
|
-
"clip-path": "url(#".concat(
|
|
4027
|
+
"clip-path": "url(#".concat(y, ")"),
|
|
4029
4028
|
mask: "url(#".concat(m, ")")
|
|
4030
4029
|
}, lt)
|
|
4031
4030
|
}), {
|
|
@@ -4116,13 +4115,13 @@ var ms = {
|
|
|
4116
4115
|
};
|
|
4117
4116
|
}
|
|
4118
4117
|
}, vs = [oo, Zo, es, ts, ns, cs, us, fs, ms, gs, hs];
|
|
4119
|
-
|
|
4118
|
+
So(vs, {
|
|
4120
4119
|
mixoutsTo: W
|
|
4121
4120
|
});
|
|
4122
4121
|
W.noAuto;
|
|
4123
|
-
const
|
|
4122
|
+
const ma = W.config, ga = W.library;
|
|
4124
4123
|
W.dom;
|
|
4125
|
-
const
|
|
4124
|
+
const Ge = W.parse;
|
|
4126
4125
|
W.findIconDefinition;
|
|
4127
4126
|
W.toHtml;
|
|
4128
4127
|
const ps = W.icon;
|
|
@@ -4139,11 +4138,11 @@ function xn(e, t) {
|
|
|
4139
4138
|
}
|
|
4140
4139
|
return n;
|
|
4141
4140
|
}
|
|
4142
|
-
function
|
|
4141
|
+
function j(e) {
|
|
4143
4142
|
for (var t = 1; t < arguments.length; t++) {
|
|
4144
4143
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
4145
4144
|
t % 2 ? xn(Object(n), !0).forEach(function(a) {
|
|
4146
|
-
|
|
4145
|
+
L(e, a, n[a]);
|
|
4147
4146
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xn(Object(n)).forEach(function(a) {
|
|
4148
4147
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
4149
4148
|
});
|
|
@@ -4174,7 +4173,7 @@ function He(e) {
|
|
|
4174
4173
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4175
4174
|
}, He(e);
|
|
4176
4175
|
}
|
|
4177
|
-
function
|
|
4176
|
+
function L(e, t, n) {
|
|
4178
4177
|
return t = ws(t), t in e ? Object.defineProperty(e, t, {
|
|
4179
4178
|
value: n,
|
|
4180
4179
|
enumerable: !0,
|
|
@@ -4205,8 +4204,8 @@ function xs(e, t) {
|
|
|
4205
4204
|
}
|
|
4206
4205
|
return n;
|
|
4207
4206
|
}
|
|
4208
|
-
function
|
|
4209
|
-
return Ps(e) || ks(e) ||
|
|
4207
|
+
function St(e) {
|
|
4208
|
+
return Ps(e) || ks(e) || Cs(e) || Ss();
|
|
4210
4209
|
}
|
|
4211
4210
|
function Ps(e) {
|
|
4212
4211
|
if (Array.isArray(e))
|
|
@@ -4216,7 +4215,7 @@ function ks(e) {
|
|
|
4216
4215
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
4217
4216
|
return Array.from(e);
|
|
4218
4217
|
}
|
|
4219
|
-
function
|
|
4218
|
+
function Cs(e, t) {
|
|
4220
4219
|
if (e) {
|
|
4221
4220
|
if (typeof e == "string")
|
|
4222
4221
|
return Ot(e, t);
|
|
@@ -4233,39 +4232,39 @@ function Ot(e, t) {
|
|
|
4233
4232
|
a[n] = e[n];
|
|
4234
4233
|
return a;
|
|
4235
4234
|
}
|
|
4236
|
-
function
|
|
4235
|
+
function Ss() {
|
|
4237
4236
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4238
4237
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4239
4238
|
}
|
|
4240
|
-
var Os = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
4239
|
+
var Os = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ha = { exports: {} };
|
|
4241
4240
|
(function(e) {
|
|
4242
4241
|
(function(t) {
|
|
4243
|
-
var n = function(m,
|
|
4244
|
-
if (!l(
|
|
4245
|
-
return
|
|
4246
|
-
var O,
|
|
4247
|
-
if (f(
|
|
4248
|
-
for (O = [], V =
|
|
4249
|
-
O.push(n(m,
|
|
4242
|
+
var n = function(m, y, k) {
|
|
4243
|
+
if (!l(y) || d(y) || h(y) || g(y) || c(y))
|
|
4244
|
+
return y;
|
|
4245
|
+
var O, M = 0, V = 0;
|
|
4246
|
+
if (f(y))
|
|
4247
|
+
for (O = [], V = y.length; M < V; M++)
|
|
4248
|
+
O.push(n(m, y[M], k));
|
|
4250
4249
|
else {
|
|
4251
4250
|
O = {};
|
|
4252
|
-
for (var E in
|
|
4253
|
-
Object.prototype.hasOwnProperty.call(
|
|
4251
|
+
for (var E in y)
|
|
4252
|
+
Object.prototype.hasOwnProperty.call(y, E) && (O[m(E, k)] = n(m, y[E], k));
|
|
4254
4253
|
}
|
|
4255
4254
|
return O;
|
|
4256
|
-
}, a = function(m,
|
|
4257
|
-
|
|
4258
|
-
var
|
|
4259
|
-
return m.split(O).join(
|
|
4255
|
+
}, a = function(m, y) {
|
|
4256
|
+
y = y || {};
|
|
4257
|
+
var k = y.separator || "_", O = y.split || /(?=[A-Z])/;
|
|
4258
|
+
return m.split(O).join(k);
|
|
4260
4259
|
}, r = function(m) {
|
|
4261
|
-
return b(m) ? m : (m = m.replace(/[\-_\s]+(.)?/g, function(
|
|
4262
|
-
return
|
|
4260
|
+
return b(m) ? m : (m = m.replace(/[\-_\s]+(.)?/g, function(y, k) {
|
|
4261
|
+
return k ? k.toUpperCase() : "";
|
|
4263
4262
|
}), m.substr(0, 1).toLowerCase() + m.substr(1));
|
|
4264
4263
|
}, i = function(m) {
|
|
4265
|
-
var
|
|
4266
|
-
return
|
|
4267
|
-
}, o = function(m,
|
|
4268
|
-
return a(m,
|
|
4264
|
+
var y = r(m);
|
|
4265
|
+
return y.substr(0, 1).toUpperCase() + y.substr(1);
|
|
4266
|
+
}, o = function(m, y) {
|
|
4267
|
+
return a(m, y).toLowerCase();
|
|
4269
4268
|
}, s = Object.prototype.toString, c = function(m) {
|
|
4270
4269
|
return typeof m == "function";
|
|
4271
4270
|
}, l = function(m) {
|
|
@@ -4280,33 +4279,33 @@ var Os = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4280
4279
|
return s.call(m) == "[object Boolean]";
|
|
4281
4280
|
}, b = function(m) {
|
|
4282
4281
|
return m = m - 0, m === m;
|
|
4283
|
-
},
|
|
4284
|
-
var
|
|
4285
|
-
return typeof
|
|
4286
|
-
return
|
|
4282
|
+
}, P = function(m, y) {
|
|
4283
|
+
var k = y && "process" in y ? y.process : y;
|
|
4284
|
+
return typeof k != "function" ? m : function(O, M) {
|
|
4285
|
+
return k(O, m, M);
|
|
4287
4286
|
};
|
|
4288
|
-
},
|
|
4287
|
+
}, _ = {
|
|
4289
4288
|
camelize: r,
|
|
4290
4289
|
decamelize: o,
|
|
4291
4290
|
pascalize: i,
|
|
4292
4291
|
depascalize: o,
|
|
4293
|
-
camelizeKeys: function(m,
|
|
4294
|
-
return n(
|
|
4292
|
+
camelizeKeys: function(m, y) {
|
|
4293
|
+
return n(P(r, y), m);
|
|
4295
4294
|
},
|
|
4296
|
-
decamelizeKeys: function(m,
|
|
4297
|
-
return n(
|
|
4295
|
+
decamelizeKeys: function(m, y) {
|
|
4296
|
+
return n(P(o, y), m, y);
|
|
4298
4297
|
},
|
|
4299
|
-
pascalizeKeys: function(m,
|
|
4300
|
-
return n(
|
|
4298
|
+
pascalizeKeys: function(m, y) {
|
|
4299
|
+
return n(P(i, y), m);
|
|
4301
4300
|
},
|
|
4302
4301
|
depascalizeKeys: function() {
|
|
4303
4302
|
return this.decamelizeKeys.apply(this, arguments);
|
|
4304
4303
|
}
|
|
4305
4304
|
};
|
|
4306
|
-
e.exports ? e.exports =
|
|
4305
|
+
e.exports ? e.exports = _ : t.humps = _;
|
|
4307
4306
|
})(Os);
|
|
4308
|
-
})(
|
|
4309
|
-
var As =
|
|
4307
|
+
})(ha);
|
|
4308
|
+
var As = ha.exports, Ts = ["class", "style"];
|
|
4310
4309
|
function Ms(e) {
|
|
4311
4310
|
return e.split(";").map(function(t) {
|
|
4312
4311
|
return t.trim();
|
|
@@ -4322,12 +4321,12 @@ function Ds(e) {
|
|
|
4322
4321
|
return t[n] = !0, t;
|
|
4323
4322
|
}, {});
|
|
4324
4323
|
}
|
|
4325
|
-
function
|
|
4324
|
+
function Vt(e) {
|
|
4326
4325
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4327
4326
|
if (typeof e == "string")
|
|
4328
4327
|
return e;
|
|
4329
4328
|
var a = (e.children || []).map(function(c) {
|
|
4330
|
-
return
|
|
4329
|
+
return Vt(c);
|
|
4331
4330
|
}), r = Object.keys(e.attributes || {}).reduce(function(c, l) {
|
|
4332
4331
|
var f = e.attributes[l];
|
|
4333
4332
|
switch (l) {
|
|
@@ -4348,24 +4347,24 @@ function Yt(e) {
|
|
|
4348
4347
|
});
|
|
4349
4348
|
n.class;
|
|
4350
4349
|
var i = n.style, o = i === void 0 ? {} : i, s = xs(n, Ts);
|
|
4351
|
-
return
|
|
4350
|
+
return Sn(e.tag, j(j(j({}, t), {}, {
|
|
4352
4351
|
class: r.class,
|
|
4353
|
-
style:
|
|
4352
|
+
style: j(j({}, r.style), o)
|
|
4354
4353
|
}, r.attrs), s), a);
|
|
4355
4354
|
}
|
|
4356
|
-
var
|
|
4355
|
+
var va = !1;
|
|
4357
4356
|
try {
|
|
4358
|
-
|
|
4357
|
+
va = process.env.NODE_ENV === "production";
|
|
4359
4358
|
} catch {
|
|
4360
4359
|
}
|
|
4361
4360
|
function Ns() {
|
|
4362
|
-
if (!
|
|
4361
|
+
if (!va && console && typeof console.error == "function") {
|
|
4363
4362
|
var e;
|
|
4364
4363
|
(e = console).error.apply(e, arguments);
|
|
4365
4364
|
}
|
|
4366
4365
|
}
|
|
4367
4366
|
function Te(e, t) {
|
|
4368
|
-
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ?
|
|
4367
|
+
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? L({}, e, t) : {};
|
|
4369
4368
|
}
|
|
4370
4369
|
function Es(e) {
|
|
4371
4370
|
var t, n = (t = {
|
|
@@ -4378,7 +4377,7 @@ function Es(e) {
|
|
|
4378
4377
|
"fa-flip": e.flip === !0,
|
|
4379
4378
|
"fa-flip-horizontal": e.flip === "horizontal" || e.flip === "both",
|
|
4380
4379
|
"fa-flip-vertical": e.flip === "vertical" || e.flip === "both"
|
|
4381
|
-
},
|
|
4380
|
+
}, L(L(L(L(L(L(L(L(L(L(t, "fa-".concat(e.size), e.size !== null), "fa-rotate-".concat(e.rotation), e.rotation !== null), "fa-pull-".concat(e.pull), e.pull !== null), "fa-swap-opacity", e.swapOpacity), "fa-bounce", e.bounce), "fa-shake", e.shake), "fa-beat", e.beat), "fa-fade", e.fade), "fa-beat-fade", e.beatFade), "fa-flash", e.flash), L(L(t, "fa-spin-pulse", e.spinPulse), "fa-spin-reverse", e.spinReverse));
|
|
4382
4381
|
return Object.keys(n).map(function(a) {
|
|
4383
4382
|
return n[a] ? a : null;
|
|
4384
4383
|
}).filter(function(a) {
|
|
@@ -4388,8 +4387,8 @@ function Es(e) {
|
|
|
4388
4387
|
function Pn(e) {
|
|
4389
4388
|
if (e && He(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
4390
4389
|
return e;
|
|
4391
|
-
if (
|
|
4392
|
-
return
|
|
4390
|
+
if (Ge.icon)
|
|
4391
|
+
return Ge.icon(e);
|
|
4393
4392
|
if (e === null)
|
|
4394
4393
|
return null;
|
|
4395
4394
|
if (He(e) === "object" && e.prefix && e.iconName)
|
|
@@ -4531,11 +4530,11 @@ var we = At({
|
|
|
4531
4530
|
}), i = A(function() {
|
|
4532
4531
|
return Te("classes", Es(t));
|
|
4533
4532
|
}), o = A(function() {
|
|
4534
|
-
return Te("transform", typeof t.transform == "string" ?
|
|
4533
|
+
return Te("transform", typeof t.transform == "string" ? Ge.transform(t.transform) : t.transform);
|
|
4535
4534
|
}), s = A(function() {
|
|
4536
4535
|
return Te("mask", Pn(t.mask));
|
|
4537
4536
|
}), c = A(function() {
|
|
4538
|
-
return ps(r.value,
|
|
4537
|
+
return ps(r.value, j(j(j(j({}, i.value), o.value), s.value), {}, {
|
|
4539
4538
|
symbol: t.symbol,
|
|
4540
4539
|
title: t.title,
|
|
4541
4540
|
titleId: t.titleId,
|
|
@@ -4549,7 +4548,7 @@ var we = At({
|
|
|
4549
4548
|
immediate: !0
|
|
4550
4549
|
});
|
|
4551
4550
|
var l = A(function() {
|
|
4552
|
-
return c.value ?
|
|
4551
|
+
return c.value ? Vt(c.value.abstract[0], {}, a) : null;
|
|
4553
4552
|
});
|
|
4554
4553
|
return function() {
|
|
4555
4554
|
return l.value;
|
|
@@ -4565,11 +4564,11 @@ At({
|
|
|
4565
4564
|
}
|
|
4566
4565
|
},
|
|
4567
4566
|
setup: function(t, n) {
|
|
4568
|
-
var a = n.slots, r =
|
|
4569
|
-
return ["".concat(r, "-layers")].concat(
|
|
4567
|
+
var a = n.slots, r = ma.familyPrefix, i = A(function() {
|
|
4568
|
+
return ["".concat(r, "-layers")].concat(St(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
4570
4569
|
});
|
|
4571
4570
|
return function() {
|
|
4572
|
-
return
|
|
4571
|
+
return Sn("div", {
|
|
4573
4572
|
class: i.value
|
|
4574
4573
|
}, a.default ? a.default() : []);
|
|
4575
4574
|
};
|
|
@@ -4599,22 +4598,22 @@ At({
|
|
|
4599
4598
|
}
|
|
4600
4599
|
},
|
|
4601
4600
|
setup: function(t, n) {
|
|
4602
|
-
var a = n.attrs, r =
|
|
4603
|
-
return Te("classes", [].concat(
|
|
4601
|
+
var a = n.attrs, r = ma.familyPrefix, i = A(function() {
|
|
4602
|
+
return Te("classes", [].concat(St(t.counter ? ["".concat(r, "-layers-counter")] : []), St(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
4604
4603
|
}), o = A(function() {
|
|
4605
|
-
return Te("transform", typeof t.transform == "string" ?
|
|
4604
|
+
return Te("transform", typeof t.transform == "string" ? Ge.transform(t.transform) : t.transform);
|
|
4606
4605
|
}), s = A(function() {
|
|
4607
|
-
var l = ys(t.value.toString(),
|
|
4606
|
+
var l = ys(t.value.toString(), j(j({}, o.value), i.value)), f = l.abstract;
|
|
4608
4607
|
return t.counter && (f[0].attributes.class = f[0].attributes.class.replace("fa-layers-text", "")), f[0];
|
|
4609
4608
|
}), c = A(function() {
|
|
4610
|
-
return
|
|
4609
|
+
return Vt(s.value, {}, a);
|
|
4611
4610
|
});
|
|
4612
4611
|
return function() {
|
|
4613
4612
|
return c.value;
|
|
4614
4613
|
};
|
|
4615
4614
|
}
|
|
4616
4615
|
});
|
|
4617
|
-
const
|
|
4616
|
+
const Is = {
|
|
4618
4617
|
name: "ViGridKebabMenu",
|
|
4619
4618
|
components: { FontAwesomeIcon: we },
|
|
4620
4619
|
props: {
|
|
@@ -4645,47 +4644,90 @@ const Fs = {
|
|
|
4645
4644
|
// // toggleMenu
|
|
4646
4645
|
// }
|
|
4647
4646
|
// }
|
|
4648
|
-
},
|
|
4647
|
+
}, Fs = {
|
|
4649
4648
|
key: 0,
|
|
4650
4649
|
class: "actions-menu"
|
|
4651
|
-
},
|
|
4652
|
-
function
|
|
4653
|
-
const o =
|
|
4654
|
-
return
|
|
4650
|
+
}, Ls = ["onClick"], Rs = { key: 0 }, zs = { key: 1 }, Us = { key: 2 };
|
|
4651
|
+
function Ws(e, t, n, a, r, i) {
|
|
4652
|
+
const o = Y("font-awesome-icon");
|
|
4653
|
+
return v(), w("div", {
|
|
4655
4654
|
class: "vi-grid-kebab-menu",
|
|
4656
4655
|
ref: "kebabMenu",
|
|
4657
4656
|
onClick: t[0] || (t[0] = Tt((s) => e.$emit("toggleMenu"), ["stop"]))
|
|
4658
4657
|
}, [
|
|
4659
|
-
|
|
4660
|
-
n.showMenu ? (
|
|
4661
|
-
(
|
|
4658
|
+
H(o, { icon: ["fas", "ellipsis"] }),
|
|
4659
|
+
n.showMenu ? (v(), w("div", Fs, [
|
|
4660
|
+
(v(!0), w(ce, null, ue(n.actions, (s) => (v(), w("div", {
|
|
4662
4661
|
key: s.action,
|
|
4663
4662
|
onClick: (c) => e.$emit("action-clicked", s.action),
|
|
4664
4663
|
class: "actions-menu-item"
|
|
4665
|
-
},
|
|
4666
|
-
|
|
4664
|
+
}, [
|
|
4665
|
+
s.action === "edit" ? (v(), w("span", Rs, t[1] || (t[1] = [
|
|
4666
|
+
x("svg", {
|
|
4667
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4668
|
+
viewBox: "0 0 512 512"
|
|
4669
|
+
}, [
|
|
4670
|
+
x("path", { d: "M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152L0 424c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 112c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-272c0-22.1 17.9-40 40-40l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 64z" })
|
|
4671
|
+
], -1)
|
|
4672
|
+
]))) : T("", !0),
|
|
4673
|
+
s.action === "remove" || s.action === "delete" ? (v(), w("span", zs, t[2] || (t[2] = [
|
|
4674
|
+
x("svg", {
|
|
4675
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4676
|
+
viewBox: "0 0 448 512"
|
|
4677
|
+
}, [
|
|
4678
|
+
x("path", { d: "M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z" })
|
|
4679
|
+
], -1)
|
|
4680
|
+
]))) : T("", !0),
|
|
4681
|
+
s.action === "view" ? (v(), w("span", Us, t[3] || (t[3] = [
|
|
4682
|
+
x("svg", {
|
|
4683
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4684
|
+
viewBox: "0 0 576 512"
|
|
4685
|
+
}, [
|
|
4686
|
+
x("path", { d: "M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z" })
|
|
4687
|
+
], -1)
|
|
4688
|
+
]))) : T("", !0),
|
|
4689
|
+
On(" " + I(s.name), 1)
|
|
4690
|
+
], 8, Ls))), 128))
|
|
4691
|
+
])) : T("", !0)
|
|
4667
4692
|
], 512);
|
|
4668
4693
|
}
|
|
4669
|
-
const
|
|
4670
|
-
const
|
|
4694
|
+
const Vs = /* @__PURE__ */ F(Is, [["render", Ws]]);
|
|
4695
|
+
const Ys = {
|
|
4671
4696
|
name: "ViGridSimpleActions",
|
|
4672
4697
|
props: {
|
|
4673
4698
|
actions: {
|
|
4674
4699
|
type: Array
|
|
4675
4700
|
}
|
|
4676
4701
|
}
|
|
4677
|
-
},
|
|
4678
|
-
function
|
|
4679
|
-
return
|
|
4680
|
-
(
|
|
4681
|
-
|
|
4702
|
+
}, js = { class: "vi-grid-builder-actions" }, $s = ["onClick"], Bs = { key: 0 }, Gs = { key: 1 };
|
|
4703
|
+
function Hs(e, t, n, a, r, i) {
|
|
4704
|
+
return v(), w("div", js, [
|
|
4705
|
+
(v(!0), w(ce, null, ue(n.actions, (o, s) => (v(), w("div", { key: s }, [
|
|
4706
|
+
x("button", {
|
|
4682
4707
|
onClick: Tt((c) => e.$emit("action-clicked", o.action), ["stop"])
|
|
4683
|
-
},
|
|
4708
|
+
}, [
|
|
4709
|
+
o.action === "edit" ? (v(), w("span", Bs, t[0] || (t[0] = [
|
|
4710
|
+
x("svg", {
|
|
4711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4712
|
+
viewBox: "0 0 512 512"
|
|
4713
|
+
}, [
|
|
4714
|
+
x("path", { d: "M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152L0 424c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 112c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-272c0-22.1 17.9-40 40-40l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 64z" })
|
|
4715
|
+
], -1)
|
|
4716
|
+
]))) : T("", !0),
|
|
4717
|
+
o.action === "remove" ? (v(), w("span", Gs, t[1] || (t[1] = [
|
|
4718
|
+
x("svg", {
|
|
4719
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4720
|
+
viewBox: "0 0 448 512"
|
|
4721
|
+
}, [
|
|
4722
|
+
x("path", { d: "M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z" })
|
|
4723
|
+
], -1)
|
|
4724
|
+
]))) : T("", !0)
|
|
4725
|
+
], 8, $s)
|
|
4684
4726
|
]))), 128))
|
|
4685
4727
|
]);
|
|
4686
4728
|
}
|
|
4687
|
-
const
|
|
4688
|
-
function
|
|
4729
|
+
const qs = /* @__PURE__ */ F(Ys, [["render", Hs]]);
|
|
4730
|
+
function Ks(e, t) {
|
|
4689
4731
|
return {
|
|
4690
4732
|
visibleActions: A(() => e.actions.filter((i) => i.isVisible === void 0 ? !0 : i.isVisible(e.row))),
|
|
4691
4733
|
onActionClicked: (i) => {
|
|
@@ -4696,9 +4738,9 @@ function Gs(e, t) {
|
|
|
4696
4738
|
}
|
|
4697
4739
|
};
|
|
4698
4740
|
}
|
|
4699
|
-
const
|
|
4741
|
+
const Xs = {
|
|
4700
4742
|
name: "ViGridActions",
|
|
4701
|
-
components: { ViGridSimpleActions:
|
|
4743
|
+
components: { ViGridSimpleActions: qs, ViGridKebabMenu: Vs },
|
|
4702
4744
|
props: {
|
|
4703
4745
|
kebab: {
|
|
4704
4746
|
type: Boolean,
|
|
@@ -4715,13 +4757,13 @@ const Bs = {
|
|
|
4715
4757
|
rowMenuOpened: {}
|
|
4716
4758
|
},
|
|
4717
4759
|
setup(e, { emit: t }) {
|
|
4718
|
-
const { visibleActions: n, onActionClicked: a, toggleRowMenu: r } =
|
|
4719
|
-
let i =
|
|
4720
|
-
return
|
|
4760
|
+
const { visibleActions: n, onActionClicked: a, toggleRowMenu: r } = Ks(e, t);
|
|
4761
|
+
let i = q(null);
|
|
4762
|
+
return ba(() => {
|
|
4721
4763
|
i.clickOutsideHandler = (o) => {
|
|
4722
4764
|
e.rowMenuOpened && i.value && !(i.value === o.target || i.value.contains(o.target)) && t("update:rowMenuOpened", null);
|
|
4723
4765
|
}, document.addEventListener("click", i.clickOutsideHandler);
|
|
4724
|
-
}),
|
|
4766
|
+
}), wa(() => {
|
|
4725
4767
|
document.removeEventListener("click", i.clickOutsideHandler);
|
|
4726
4768
|
}), {
|
|
4727
4769
|
visibleActions: n,
|
|
@@ -4730,14 +4772,14 @@ const Bs = {
|
|
|
4730
4772
|
gridActions: i
|
|
4731
4773
|
};
|
|
4732
4774
|
}
|
|
4733
|
-
},
|
|
4775
|
+
}, Qs = {
|
|
4734
4776
|
class: "vi-grid-actions",
|
|
4735
4777
|
ref: "gridActions"
|
|
4736
4778
|
};
|
|
4737
|
-
function
|
|
4738
|
-
const o =
|
|
4739
|
-
return
|
|
4740
|
-
n.kebab ? (
|
|
4779
|
+
function Js(e, t, n, a, r, i) {
|
|
4780
|
+
const o = Y("vi-grid-kebab-menu"), s = Y("vi-grid-simple-actions");
|
|
4781
|
+
return v(), w("div", Qs, [
|
|
4782
|
+
n.kebab ? (v(), R(o, {
|
|
4741
4783
|
key: 0,
|
|
4742
4784
|
actions: a.visibleActions,
|
|
4743
4785
|
"row-key": n.rowKey,
|
|
@@ -4745,7 +4787,7 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4745
4787
|
"show-menu": n.row[n.rowKey] === n.rowMenuOpened,
|
|
4746
4788
|
onActionClicked: a.onActionClicked,
|
|
4747
4789
|
onToggleMenu: t[0] || (t[0] = (c) => a.toggleRowMenu(n.row))
|
|
4748
|
-
}, null, 8, ["actions", "row-key", "row", "show-menu", "onActionClicked"])) : (
|
|
4790
|
+
}, null, 8, ["actions", "row-key", "row", "show-menu", "onActionClicked"])) : (v(), R(s, {
|
|
4749
4791
|
key: 1,
|
|
4750
4792
|
actions: a.visibleActions,
|
|
4751
4793
|
"row-key": n.rowKey,
|
|
@@ -4754,8 +4796,8 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4754
4796
|
}, null, 8, ["actions", "row-key", "row", "onActionClicked"]))
|
|
4755
4797
|
], 512);
|
|
4756
4798
|
}
|
|
4757
|
-
const
|
|
4758
|
-
const
|
|
4799
|
+
const Zs = /* @__PURE__ */ F(Xs, [["render", Js]]);
|
|
4800
|
+
const el = {
|
|
4759
4801
|
name: "ViGridLink",
|
|
4760
4802
|
props: {
|
|
4761
4803
|
link: {
|
|
@@ -4768,18 +4810,18 @@ const Ks = {
|
|
|
4768
4810
|
},
|
|
4769
4811
|
value: {}
|
|
4770
4812
|
}
|
|
4771
|
-
},
|
|
4772
|
-
function
|
|
4773
|
-
return
|
|
4774
|
-
n.link && n.row[n.link] || !n.link && n.value ? (
|
|
4813
|
+
}, tl = { class: "vi-grid-link" }, nl = ["href"], al = { key: 1 };
|
|
4814
|
+
function rl(e, t, n, a, r, i) {
|
|
4815
|
+
return v(), w("div", tl, [
|
|
4816
|
+
n.link && n.row[n.link] || !n.link && n.value ? (v(), w("a", {
|
|
4775
4817
|
key: 0,
|
|
4776
4818
|
href: n.row[n.link] ?? n.value,
|
|
4777
4819
|
target: "_blank"
|
|
4778
|
-
},
|
|
4820
|
+
}, I(n.value), 9, nl)) : (v(), w("div", al, I(n.value), 1))
|
|
4779
4821
|
]);
|
|
4780
4822
|
}
|
|
4781
|
-
const
|
|
4782
|
-
const
|
|
4823
|
+
const il = /* @__PURE__ */ F(el, [["render", rl]]);
|
|
4824
|
+
const ol = {
|
|
4783
4825
|
name: "ViGridNumber",
|
|
4784
4826
|
props: {
|
|
4785
4827
|
value: {},
|
|
@@ -4792,24 +4834,24 @@ const tl = {
|
|
|
4792
4834
|
return this.format ? new Intl.NumberFormat(void 0, this.format).format(Number(this.value)) : this.value;
|
|
4793
4835
|
}
|
|
4794
4836
|
}
|
|
4795
|
-
},
|
|
4796
|
-
function
|
|
4797
|
-
return
|
|
4837
|
+
}, sl = { class: "vi-grid-number" };
|
|
4838
|
+
function ll(e, t, n, a, r, i) {
|
|
4839
|
+
return v(), w("div", sl, I(i.formattedNumber), 1);
|
|
4798
4840
|
}
|
|
4799
|
-
const
|
|
4800
|
-
const
|
|
4841
|
+
const cl = /* @__PURE__ */ F(ol, [["render", ll]]);
|
|
4842
|
+
const ul = (e) => e.toLowerCase().replace(
|
|
4801
4843
|
/([-_][a-z])/g,
|
|
4802
4844
|
(t) => t.toUpperCase().replace("-", "").replace("_", "")
|
|
4803
|
-
),
|
|
4845
|
+
), fl = (e) => e.charAt(0).toUpperCase() + e.slice(1), dl = {
|
|
4804
4846
|
name: "ViGridField",
|
|
4805
4847
|
components: {
|
|
4806
4848
|
ViGridBadge: Pa,
|
|
4807
4849
|
ViGridImage: Aa,
|
|
4808
4850
|
ViGridText: Na,
|
|
4809
4851
|
ViGridDate: gi,
|
|
4810
|
-
ViGridActions:
|
|
4811
|
-
ViGridLink:
|
|
4812
|
-
ViGridNumber:
|
|
4852
|
+
ViGridActions: Zs,
|
|
4853
|
+
ViGridLink: il,
|
|
4854
|
+
ViGridNumber: cl
|
|
4813
4855
|
},
|
|
4814
4856
|
props: {
|
|
4815
4857
|
field: {
|
|
@@ -4830,14 +4872,14 @@ const il = (e) => e.toLowerCase().replace(
|
|
|
4830
4872
|
return this.fieldValue ?? this.noDataLabel;
|
|
4831
4873
|
},
|
|
4832
4874
|
fieldComponent() {
|
|
4833
|
-
let e = this.field.type ? `vi-grid-${this.field.type}` : "vi-grid-text", t =
|
|
4875
|
+
let e = this.field.type ? `vi-grid-${this.field.type}` : "vi-grid-text", t = fl(ul(e));
|
|
4834
4876
|
return this.$options.components[t] ? e : !1;
|
|
4835
4877
|
}
|
|
4836
4878
|
}
|
|
4837
|
-
},
|
|
4838
|
-
function
|
|
4839
|
-
return
|
|
4840
|
-
i.fieldComponent ? (
|
|
4879
|
+
}, ml = { class: "vi-grid-field" };
|
|
4880
|
+
function gl(e, t, n, a, r, i) {
|
|
4881
|
+
return v(), w("div", ml, [
|
|
4882
|
+
i.fieldComponent ? (v(), R(Ce(i.fieldComponent), We({ key: 0 }, n.field, {
|
|
4841
4883
|
value: i.filedValueFormatted,
|
|
4842
4884
|
"original-value": n.fieldValue,
|
|
4843
4885
|
row: n.rowValue,
|
|
@@ -4845,7 +4887,7 @@ function cl(e, t, n, a, r, i) {
|
|
|
4845
4887
|
"row-menu-opened": n.rowMenuOpened,
|
|
4846
4888
|
"onUpdate:rowMenuOpened": t[0] || (t[0] = (o) => e.$emit("update:rowMenuOpened", o)),
|
|
4847
4889
|
onActionClicked: t[1] || (t[1] = (o) => e.$emit("action-clicked", o))
|
|
4848
|
-
}), null, 16, ["value", "original-value", "row", "row-key", "row-menu-opened"])) :
|
|
4890
|
+
}), null, 16, ["value", "original-value", "row", "row-key", "row-menu-opened"])) : z(e.$slots, "custom-field", We({ key: 1 }, n.field, {
|
|
4849
4891
|
value: n.fieldValue,
|
|
4850
4892
|
originalValue: n.fieldValue,
|
|
4851
4893
|
row: n.rowValue,
|
|
@@ -4853,8 +4895,8 @@ function cl(e, t, n, a, r, i) {
|
|
|
4853
4895
|
}))
|
|
4854
4896
|
]);
|
|
4855
4897
|
}
|
|
4856
|
-
const
|
|
4857
|
-
const
|
|
4898
|
+
const hl = /* @__PURE__ */ F(dl, [["render", gl]]);
|
|
4899
|
+
const vl = {
|
|
4858
4900
|
name: "ViGridCheckbox",
|
|
4859
4901
|
props: {
|
|
4860
4902
|
value: {
|
|
@@ -4867,27 +4909,27 @@ const fl = {
|
|
|
4867
4909
|
type: Object
|
|
4868
4910
|
}
|
|
4869
4911
|
}
|
|
4870
|
-
},
|
|
4871
|
-
function
|
|
4872
|
-
return
|
|
4873
|
-
|
|
4912
|
+
}, pl = { class: "vi-grid-checkbox" }, yl = ["checked"];
|
|
4913
|
+
function bl(e, t, n, a, r, i) {
|
|
4914
|
+
return v(), w("div", pl, [
|
|
4915
|
+
x("input", {
|
|
4874
4916
|
type: "checkbox",
|
|
4875
4917
|
checked: n.value,
|
|
4876
4918
|
onChange: t[0] || (t[0] = (o) => e.$emit("checkbox-clicked", { row: this.row, field: this.name, value: o.target.checked })),
|
|
4877
4919
|
onClick: t[1] || (t[1] = Tt(() => {
|
|
4878
4920
|
}, ["stop"]))
|
|
4879
|
-
}, null, 40,
|
|
4921
|
+
}, null, 40, yl)
|
|
4880
4922
|
]);
|
|
4881
4923
|
}
|
|
4882
|
-
const
|
|
4883
|
-
function
|
|
4924
|
+
const wl = /* @__PURE__ */ F(vl, [["render", bl]]);
|
|
4925
|
+
function _l(e) {
|
|
4884
4926
|
const t = A(() => e.columns.filter((a) => a.isVisible === void 0 || a.isVisible)), n = A(() => e.selectable ? 1 + t.value.length : t.value.length);
|
|
4885
4927
|
return {
|
|
4886
4928
|
visibleColumns: t,
|
|
4887
4929
|
totalColumns: n
|
|
4888
4930
|
};
|
|
4889
4931
|
}
|
|
4890
|
-
const
|
|
4932
|
+
const xl = {
|
|
4891
4933
|
align: "center",
|
|
4892
4934
|
bordered: !1,
|
|
4893
4935
|
stripped: !0,
|
|
@@ -4910,21 +4952,21 @@ const pl = {
|
|
|
4910
4952
|
}],
|
|
4911
4953
|
rowsPerPage: 10,
|
|
4912
4954
|
defaultSlots: {}
|
|
4913
|
-
},
|
|
4914
|
-
function
|
|
4955
|
+
}, Yt = q({});
|
|
4956
|
+
function Pl(e) {
|
|
4915
4957
|
const t = ["align", "disablePagination", "defaultSlots", "noDataLabel", "noCellDataLabel", "stripped", "bordered", "compactPagination", "rowsPerPageOptions", "rowsPerPage"];
|
|
4916
4958
|
return {
|
|
4917
4959
|
settings: A(() => {
|
|
4918
4960
|
const a = t.reduce((r, i) => (e[i] !== void 0 && (r[i] = e[i]), r), {});
|
|
4919
4961
|
return {
|
|
4920
|
-
...
|
|
4921
|
-
...
|
|
4962
|
+
...xl,
|
|
4963
|
+
...Yt.value,
|
|
4922
4964
|
...a
|
|
4923
4965
|
};
|
|
4924
4966
|
})
|
|
4925
4967
|
};
|
|
4926
4968
|
}
|
|
4927
|
-
function
|
|
4969
|
+
function kl(e, t, n) {
|
|
4928
4970
|
const a = A(() => {
|
|
4929
4971
|
var o;
|
|
4930
4972
|
return e.serverMode ? (o = e.pagination) == null ? void 0 : o.rowsNumber : e.rows.length;
|
|
@@ -4932,7 +4974,7 @@ function bl(e, t, n) {
|
|
|
4932
4974
|
var l;
|
|
4933
4975
|
if (e.serverMode || e.disablePagination)
|
|
4934
4976
|
return n.value;
|
|
4935
|
-
let o = ((l = e.pagination) == null ? void 0 : l.rowsPerPage) ??
|
|
4977
|
+
let o = ((l = e.pagination) == null ? void 0 : l.rowsPerPage) ?? Yt.value.rowsPerPage;
|
|
4936
4978
|
if (o === 0)
|
|
4937
4979
|
return n.value;
|
|
4938
4980
|
const s = (e.pagination.page - 1) * o, c = s + o;
|
|
@@ -4946,16 +4988,16 @@ function bl(e, t, n) {
|
|
|
4946
4988
|
}
|
|
4947
4989
|
};
|
|
4948
4990
|
}
|
|
4949
|
-
function
|
|
4950
|
-
let t =
|
|
4991
|
+
function Cl(e) {
|
|
4992
|
+
let t = q(null), n = q(null), a = q(null);
|
|
4951
4993
|
const r = function(g) {
|
|
4952
4994
|
return a.value !== g ? "ascending" : t.value === "ascending" ? "descending" : null;
|
|
4953
|
-
}, i = function(g, b = "text",
|
|
4954
|
-
if (
|
|
4955
|
-
a.value = g, n.value = b, t.value =
|
|
4995
|
+
}, i = function(g, b = "text", P = "auto") {
|
|
4996
|
+
if (P !== "auto")
|
|
4997
|
+
a.value = g, n.value = b, t.value = P;
|
|
4956
4998
|
else {
|
|
4957
|
-
const
|
|
4958
|
-
a.value =
|
|
4999
|
+
const _ = r(g);
|
|
5000
|
+
a.value = _ === null ? null : g, n.value = _ === null ? null : b, t.value = _;
|
|
4959
5001
|
}
|
|
4960
5002
|
return {
|
|
4961
5003
|
field: a.value,
|
|
@@ -4964,15 +5006,15 @@ function wl(e) {
|
|
|
4964
5006
|
}, o = () => t.value === null ? null : [{
|
|
4965
5007
|
field: a.value,
|
|
4966
5008
|
descending: t.value === "descending"
|
|
4967
|
-
}], s = (g, b,
|
|
4968
|
-
return
|
|
5009
|
+
}], s = (g, b, P) => P === "ascending" ? g.sort((_, m) => Number(_[b]) - Number(m[b])) : P === "descending" ? g.sort((_, m) => Number(m[b]) - Number(_[b])) : g, c = (g, b, P) => P === "ascending" ? g.sort((_, m) => _[b].toString().localeCompare(m[b].toString())) : P === "descending" ? g.sort((_, m) => m[b].toString().localeCompare(_[b].toString())) : g, l = function(g, b, P, _) {
|
|
5010
|
+
return _ ? P === "number" ? s(g, b, _) : c(g, b, _) : g;
|
|
4969
5011
|
}, f = (g) => {
|
|
4970
|
-
const b = g.sortBy ? Array.isArray(g.sortBy) ? g.sortBy[0].field : g.sortBy : null,
|
|
5012
|
+
const b = g.sortBy ? Array.isArray(g.sortBy) ? g.sortBy[0].field : g.sortBy : null, P = b ? Array.isArray(g.sortBy) ? g.sortBy[0].descending : g.descending : null;
|
|
4971
5013
|
if (!b)
|
|
4972
5014
|
a.value = null, n.value = null, t.value = null;
|
|
4973
5015
|
else {
|
|
4974
|
-
let
|
|
4975
|
-
|
|
5016
|
+
let _ = e.columns.find((m) => m.name === b);
|
|
5017
|
+
_ ? i(_.name, _.type, P ? "descending" : "ascending") : i(b, "text", P ? "descending" : "ascending");
|
|
4976
5018
|
}
|
|
4977
5019
|
}, d = (g) => a.value !== g.name ? "unsorted" : t.value, h = A(() => e.serverMode ? e.rows ?? [] : l([...e.rows ?? []], a.value, n.value, t.value));
|
|
4978
5020
|
return {
|
|
@@ -4987,7 +5029,7 @@ function wl(e) {
|
|
|
4987
5029
|
sortFieldType: n
|
|
4988
5030
|
};
|
|
4989
5031
|
}
|
|
4990
|
-
function
|
|
5032
|
+
function Sl(e, t, n) {
|
|
4991
5033
|
const a = A({
|
|
4992
5034
|
get() {
|
|
4993
5035
|
var i, o;
|
|
@@ -5015,7 +5057,7 @@ function _l(e, t, n) {
|
|
|
5015
5057
|
}
|
|
5016
5058
|
};
|
|
5017
5059
|
}
|
|
5018
|
-
const
|
|
5060
|
+
const Ol = {
|
|
5019
5061
|
components: { FontAwesomeIcon: we },
|
|
5020
5062
|
props: {
|
|
5021
5063
|
align: {
|
|
@@ -5026,22 +5068,22 @@ const xl = {
|
|
|
5026
5068
|
type: Number
|
|
5027
5069
|
}
|
|
5028
5070
|
}
|
|
5029
|
-
},
|
|
5030
|
-
function
|
|
5031
|
-
return
|
|
5071
|
+
}, Al = ["colspan"];
|
|
5072
|
+
function Tl(e, t, n, a, r, i) {
|
|
5073
|
+
return v(), w("th", {
|
|
5032
5074
|
class: "vi-header-cell vi-cell",
|
|
5033
5075
|
colspan: n.colspan
|
|
5034
5076
|
}, [
|
|
5035
|
-
|
|
5036
|
-
class:
|
|
5077
|
+
x("div", {
|
|
5078
|
+
class: te(["vi-header-cell-content", n.align])
|
|
5037
5079
|
}, [
|
|
5038
|
-
|
|
5080
|
+
z(e.$slots, "default")
|
|
5039
5081
|
], 2)
|
|
5040
|
-
], 8,
|
|
5082
|
+
], 8, Al);
|
|
5041
5083
|
}
|
|
5042
|
-
const
|
|
5043
|
-
function
|
|
5044
|
-
let a =
|
|
5084
|
+
const pa = /* @__PURE__ */ F(Ol, [["render", Tl]]);
|
|
5085
|
+
function Ml(e, t, n) {
|
|
5086
|
+
let a = q([]);
|
|
5045
5087
|
const r = (c, l) => {
|
|
5046
5088
|
l ? a.value.push(c[e.rowKey]) : a.value = a.value.filter((f) => f !== c[e.rowKey]), t("selectedRowsUpdate", a.value);
|
|
5047
5089
|
}, i = (c) => {
|
|
@@ -5067,8 +5109,8 @@ function Sl(e, t, n) {
|
|
|
5067
5109
|
areAllRowsSelected: s
|
|
5068
5110
|
};
|
|
5069
5111
|
}
|
|
5070
|
-
const
|
|
5071
|
-
components: { ViGridHeadCell:
|
|
5112
|
+
const Dl = {
|
|
5113
|
+
components: { ViGridHeadCell: pa, FontAwesomeIcon: we },
|
|
5072
5114
|
props: {
|
|
5073
5115
|
column: {
|
|
5074
5116
|
type: Object,
|
|
@@ -5082,38 +5124,38 @@ const Cl = {
|
|
|
5082
5124
|
required: !0
|
|
5083
5125
|
}
|
|
5084
5126
|
}
|
|
5085
|
-
},
|
|
5127
|
+
}, Nl = {
|
|
5086
5128
|
key: 0,
|
|
5087
5129
|
class: "sort-button"
|
|
5088
5130
|
};
|
|
5089
|
-
function
|
|
5090
|
-
const o =
|
|
5091
|
-
return
|
|
5092
|
-
class:
|
|
5131
|
+
function El(e, t, n, a, r, i) {
|
|
5132
|
+
const o = Y("font-awesome-icon"), s = Y("vi-grid-head-cell");
|
|
5133
|
+
return v(), R(s, {
|
|
5134
|
+
class: te([n.sortableState, "vi-grid-header-column-cell"]),
|
|
5093
5135
|
align: n.column.align ?? n.align
|
|
5094
5136
|
}, {
|
|
5095
5137
|
default: he(() => [
|
|
5096
|
-
|
|
5097
|
-
n.
|
|
5138
|
+
z(e.$slots, "default", {}, () => [
|
|
5139
|
+
On(I(n.column.label), 1)
|
|
5140
|
+
], !0),
|
|
5141
|
+
n.column.sortable ? (v(), w("div", Nl, [
|
|
5142
|
+
n.sortableState === "descending" ? (v(), R(o, {
|
|
5098
5143
|
key: 0,
|
|
5099
5144
|
icon: ["fas", "chevron-down"],
|
|
5100
5145
|
onClick: t[0] || (t[0] = (c) => e.$emit("sort", n.column))
|
|
5101
|
-
})) : (
|
|
5146
|
+
})) : (v(), R(o, {
|
|
5102
5147
|
key: 1,
|
|
5103
5148
|
icon: ["fas", "chevron-up"],
|
|
5104
5149
|
onClick: t[1] || (t[1] = (c) => e.$emit("sort", n.column))
|
|
5105
5150
|
}))
|
|
5106
|
-
])) :
|
|
5107
|
-
L(e.$slots, "default", {}, () => [
|
|
5108
|
-
wa(M(n.column.label), 1)
|
|
5109
|
-
])
|
|
5151
|
+
])) : T("", !0)
|
|
5110
5152
|
]),
|
|
5111
5153
|
_: 3
|
|
5112
5154
|
}, 8, ["class", "align"]);
|
|
5113
5155
|
}
|
|
5114
|
-
const
|
|
5115
|
-
function
|
|
5116
|
-
let t =
|
|
5156
|
+
const Il = /* @__PURE__ */ F(Dl, [["render", El], ["__scopeId", "data-v-025d85ee"]]);
|
|
5157
|
+
function Fl(e) {
|
|
5158
|
+
let t = q(null), n = q(!1);
|
|
5117
5159
|
const a = ({ pagination: o, filter: s, search: c } = {}) => {
|
|
5118
5160
|
const l = o ?? e.pagination;
|
|
5119
5161
|
return n.value = !0, e.fetchServerData({
|
|
@@ -5133,9 +5175,9 @@ function Ml(e) {
|
|
|
5133
5175
|
search: t
|
|
5134
5176
|
};
|
|
5135
5177
|
}
|
|
5136
|
-
const
|
|
5178
|
+
const Ll = {
|
|
5137
5179
|
name: "ViGridBuilder",
|
|
5138
|
-
components: { ViGridHeadColumnCell:
|
|
5180
|
+
components: { ViGridHeadColumnCell: Il, ViGridHeadCell: pa, ViGridCheckbox: wl, ViGridField: hl },
|
|
5139
5181
|
props: {
|
|
5140
5182
|
rows: {
|
|
5141
5183
|
type: Array
|
|
@@ -5221,24 +5263,24 @@ const Dl = {
|
|
|
5221
5263
|
}
|
|
5222
5264
|
},
|
|
5223
5265
|
setup(e, { emit: t }) {
|
|
5224
|
-
let n =
|
|
5225
|
-
const { isFetchingData: a, fetchData: r, search: i, loadFirstPage: o, reloadData: s } =
|
|
5266
|
+
let n = q(null);
|
|
5267
|
+
const { isFetchingData: a, fetchData: r, search: i, loadFirstPage: o, reloadData: s } = Fl(e), { visibleColumns: c, totalColumns: l } = _l(e), {
|
|
5226
5268
|
setSortFieldsFromPagination: f,
|
|
5227
5269
|
getSortableState: d,
|
|
5228
5270
|
setSortFields: h,
|
|
5229
5271
|
sortField: g,
|
|
5230
5272
|
sortDirection: b,
|
|
5231
|
-
formatSortFields:
|
|
5232
|
-
sortedRows:
|
|
5233
|
-
} =
|
|
5273
|
+
formatSortFields: P,
|
|
5274
|
+
sortedRows: _
|
|
5275
|
+
} = Cl(e);
|
|
5234
5276
|
f(e.pagination);
|
|
5235
|
-
const { localPagination: m, onPaginationChange:
|
|
5236
|
-
ct([g, b], (...
|
|
5277
|
+
const { localPagination: m, onPaginationChange: y } = Sl(e, t, r);
|
|
5278
|
+
ct([g, b], (...jt) => {
|
|
5237
5279
|
e.serverMode ? r({
|
|
5238
5280
|
pagination: {
|
|
5239
5281
|
...e.pagination,
|
|
5240
5282
|
page: 1,
|
|
5241
|
-
sortBy:
|
|
5283
|
+
sortBy: P()
|
|
5242
5284
|
}
|
|
5243
5285
|
}) : m.value = {
|
|
5244
5286
|
...m.value,
|
|
@@ -5247,20 +5289,20 @@ const Dl = {
|
|
|
5247
5289
|
}), ct(() => e.filter, () => {
|
|
5248
5290
|
o();
|
|
5249
5291
|
});
|
|
5250
|
-
const { currentVisibleRows:
|
|
5292
|
+
const { currentVisibleRows: k, totalRows: O, onRowClicked: M } = kl(e, t, _), {
|
|
5251
5293
|
selectedRows: V,
|
|
5252
5294
|
toggleMasterSelect: E,
|
|
5253
5295
|
toggleRowSelect: oe,
|
|
5254
5296
|
areAllRowsSelected: _e,
|
|
5255
5297
|
isRowSelected: me
|
|
5256
|
-
} =
|
|
5298
|
+
} = Ml(e, t, k), et = A(() => e.loading || a.value);
|
|
5257
5299
|
e.serverMode && e.fetchOnInit && r();
|
|
5258
|
-
const { settings: tt } =
|
|
5300
|
+
const { settings: tt } = Pl(e);
|
|
5259
5301
|
return {
|
|
5260
5302
|
search: i,
|
|
5261
5303
|
isFetchingData: a,
|
|
5262
5304
|
totalRows: O,
|
|
5263
|
-
currentVisibleRows:
|
|
5305
|
+
currentVisibleRows: k,
|
|
5264
5306
|
visibleColumns: c,
|
|
5265
5307
|
totalColumns: l,
|
|
5266
5308
|
selectedRows: V,
|
|
@@ -5270,15 +5312,15 @@ const Dl = {
|
|
|
5270
5312
|
setSortFields: h,
|
|
5271
5313
|
fetchData: r,
|
|
5272
5314
|
isDataLoading: et,
|
|
5273
|
-
onRowClicked:
|
|
5315
|
+
onRowClicked: M,
|
|
5274
5316
|
isRowSelected: me,
|
|
5275
5317
|
getSortableState: d,
|
|
5276
5318
|
sortDirection: b,
|
|
5277
5319
|
localPagination: m,
|
|
5278
|
-
onPaginationChange:
|
|
5320
|
+
onPaginationChange: y,
|
|
5279
5321
|
rowMenuOpened: n,
|
|
5280
5322
|
settings: tt,
|
|
5281
|
-
sortedRows:
|
|
5323
|
+
sortedRows: _,
|
|
5282
5324
|
loadFirstPage: o,
|
|
5283
5325
|
reloadData: s
|
|
5284
5326
|
};
|
|
@@ -5306,72 +5348,72 @@ const Dl = {
|
|
|
5306
5348
|
// deep: true,
|
|
5307
5349
|
// }
|
|
5308
5350
|
// },
|
|
5309
|
-
},
|
|
5351
|
+
}, Rl = { class: "vi-grid-builder" }, zl = {
|
|
5310
5352
|
key: 0,
|
|
5311
5353
|
class: "top-container"
|
|
5312
|
-
},
|
|
5354
|
+
}, Ul = { class: "vi-table-head" }, Wl = {
|
|
5313
5355
|
key: 0,
|
|
5314
5356
|
class: "vi-header-row vi-table-row vi-title-row"
|
|
5315
|
-
},
|
|
5357
|
+
}, Vl = { class: "vi-header-row vi-table-row" }, Yl = {
|
|
5316
5358
|
key: 1,
|
|
5317
5359
|
class: "vi-body-row vi-table-row vi-loading-row"
|
|
5318
|
-
},
|
|
5360
|
+
}, jl = {
|
|
5319
5361
|
key: 1,
|
|
5320
5362
|
class: "loading-bar-container"
|
|
5321
|
-
},
|
|
5363
|
+
}, $l = {
|
|
5322
5364
|
key: 0,
|
|
5323
5365
|
class: "vi-table-body"
|
|
5324
|
-
},
|
|
5366
|
+
}, Bl = { class: "vi-body-row vi-table-row vi-no-data-row" }, Gl = ["colspan"], Hl = { key: 1 }, ql = {
|
|
5325
5367
|
key: 1,
|
|
5326
5368
|
class: "vi-table-body"
|
|
5327
|
-
},
|
|
5369
|
+
}, Kl = ["onClick"], Xl = {
|
|
5328
5370
|
key: 0,
|
|
5329
5371
|
class: "vi-cell vi-select-cell"
|
|
5330
|
-
},
|
|
5331
|
-
function
|
|
5332
|
-
const o =
|
|
5333
|
-
return
|
|
5334
|
-
e.$slots.top ? (
|
|
5335
|
-
|
|
5336
|
-
])) :
|
|
5337
|
-
|
|
5338
|
-
class:
|
|
5372
|
+
}, Ql = { class: "vi-body-row vi-table-row vi-footer-row" }, Jl = ["colspan"];
|
|
5373
|
+
function Zl(e, t, n, a, r, i) {
|
|
5374
|
+
const o = Y("vi-grid-head-cell"), s = Y("vi-grid-checkbox"), c = Y("vi-grid-head-column-cell"), l = Y("vi-grid-field"), f = Y("vi-pagination");
|
|
5375
|
+
return v(), w("div", Rl, [
|
|
5376
|
+
e.$slots.top ? (v(), w("div", zl, [
|
|
5377
|
+
z(e.$slots, "top")
|
|
5378
|
+
])) : T("", !0),
|
|
5379
|
+
x("div", {
|
|
5380
|
+
class: te(["vi-table-container", { loading: a.isDataLoading }])
|
|
5339
5381
|
}, [
|
|
5340
|
-
|
|
5341
|
-
class:
|
|
5382
|
+
x("table", {
|
|
5383
|
+
class: te(["vi-table", { stripped: a.settings.stripped, bordered: a.settings.bordered }])
|
|
5342
5384
|
}, [
|
|
5343
|
-
|
|
5344
|
-
n.title ? (
|
|
5345
|
-
n.title ? (
|
|
5385
|
+
x("thead", Ul, [
|
|
5386
|
+
n.title ? (v(), w("tr", Wl, [
|
|
5387
|
+
n.title ? (v(), R(o, {
|
|
5346
5388
|
key: 0,
|
|
5347
5389
|
colspan: a.visibleColumns.length,
|
|
5348
5390
|
align: "left",
|
|
5349
5391
|
class: "vi-title-cell"
|
|
5350
5392
|
}, {
|
|
5351
5393
|
default: he(() => [
|
|
5352
|
-
|
|
5353
|
-
|
|
5394
|
+
z(e.$slots, "title", { title: n.title }, () => [
|
|
5395
|
+
x("span", null, I(n.title), 1)
|
|
5354
5396
|
])
|
|
5355
5397
|
]),
|
|
5356
5398
|
_: 3
|
|
5357
|
-
}, 8, ["colspan"])) :
|
|
5358
|
-
])) :
|
|
5359
|
-
|
|
5360
|
-
n.selectable ? (
|
|
5399
|
+
}, 8, ["colspan"])) : T("", !0)
|
|
5400
|
+
])) : T("", !0),
|
|
5401
|
+
x("tr", Vl, [
|
|
5402
|
+
n.selectable ? (v(), R(o, {
|
|
5361
5403
|
key: 0,
|
|
5362
5404
|
class: "vi-select-cell",
|
|
5363
5405
|
align: a.settings.align
|
|
5364
5406
|
}, {
|
|
5365
5407
|
default: he(() => [
|
|
5366
|
-
|
|
5408
|
+
H(s, {
|
|
5367
5409
|
name: "masterSelect",
|
|
5368
5410
|
value: a.areAllRowsSelected,
|
|
5369
5411
|
onCheckboxClicked: t[0] || (t[0] = (d) => a.toggleMasterSelect(d.value))
|
|
5370
5412
|
}, null, 8, ["value"])
|
|
5371
5413
|
]),
|
|
5372
5414
|
_: 1
|
|
5373
|
-
}, 8, ["align"])) :
|
|
5374
|
-
(
|
|
5415
|
+
}, 8, ["align"])) : T("", !0),
|
|
5416
|
+
(v(!0), w(ce, null, ue(a.visibleColumns, (d) => (v(), R(c, {
|
|
5375
5417
|
key: d.name,
|
|
5376
5418
|
column: d,
|
|
5377
5419
|
align: a.settings.align,
|
|
@@ -5379,91 +5421,91 @@ function ql(e, t, n, a, r, i) {
|
|
|
5379
5421
|
onSort: a.setSortFields
|
|
5380
5422
|
}, {
|
|
5381
5423
|
default: he(() => [
|
|
5382
|
-
|
|
5424
|
+
z(e.$slots, `vi-header-cell-${d.name}`, { column: d })
|
|
5383
5425
|
]),
|
|
5384
5426
|
_: 2
|
|
5385
5427
|
}, 1032, ["column", "align", "sortable-state", "onSort"]))), 128))
|
|
5386
5428
|
]),
|
|
5387
|
-
a.isDataLoading ? (
|
|
5388
|
-
|
|
5429
|
+
a.isDataLoading ? (v(), w("tr", Yl, [
|
|
5430
|
+
H(o, {
|
|
5389
5431
|
colspan: a.totalColumns,
|
|
5390
5432
|
class: "vi-loading-cell"
|
|
5391
5433
|
}, {
|
|
5392
5434
|
default: he(() => [
|
|
5393
|
-
|
|
5394
|
-
a.settings.defaultSlots.loading ? (
|
|
5395
|
-
|
|
5435
|
+
z(e.$slots, "loading", {}, () => [
|
|
5436
|
+
a.settings.defaultSlots.loading ? (v(), R(Ce(a.settings.defaultSlots.loading), { key: 0 })) : (v(), w("div", jl, t[2] || (t[2] = [
|
|
5437
|
+
x("div", { class: "loading-bar" }, null, -1)
|
|
5396
5438
|
])))
|
|
5397
5439
|
])
|
|
5398
5440
|
]),
|
|
5399
5441
|
_: 3
|
|
5400
5442
|
}, 8, ["colspan"])
|
|
5401
|
-
])) :
|
|
5443
|
+
])) : T("", !0)
|
|
5402
5444
|
]),
|
|
5403
|
-
!a.currentVisibleRows.length && !a.isDataLoading ? (
|
|
5404
|
-
|
|
5405
|
-
|
|
5445
|
+
!a.currentVisibleRows.length && !a.isDataLoading ? (v(), w("tbody", $l, [
|
|
5446
|
+
x("tr", Bl, [
|
|
5447
|
+
x("td", {
|
|
5406
5448
|
class: "vi-body-cell vi-cell",
|
|
5407
5449
|
colspan: a.totalColumns
|
|
5408
5450
|
}, [
|
|
5409
|
-
|
|
5410
|
-
a.settings.defaultSlots.noRows ? (
|
|
5451
|
+
z(e.$slots, "empty-data", {}, () => [
|
|
5452
|
+
a.settings.defaultSlots.noRows ? (v(), R(Ce(a.settings.defaultSlots.noRows), { key: 0 })) : (v(), w("span", Hl, I(a.settings.noDataLabel), 1))
|
|
5411
5453
|
])
|
|
5412
|
-
], 8,
|
|
5454
|
+
], 8, Gl)
|
|
5413
5455
|
])
|
|
5414
|
-
])) : (
|
|
5415
|
-
(
|
|
5456
|
+
])) : (v(), w("tbody", ql, [
|
|
5457
|
+
(v(!0), w(ce, null, ue(a.currentVisibleRows, (d) => (v(), w("tr", {
|
|
5416
5458
|
key: d[n.rowKey],
|
|
5417
|
-
|
|
5418
|
-
|
|
5459
|
+
class: te([{ clickable: n.clickableRow, selected: a.isRowSelected(d) }, "vi-body-row vi-table-row"]),
|
|
5460
|
+
onClick: (h) => a.onRowClicked(d)
|
|
5419
5461
|
}, [
|
|
5420
|
-
n.selectable ? (
|
|
5421
|
-
|
|
5422
|
-
class:
|
|
5462
|
+
n.selectable ? (v(), w("td", Xl, [
|
|
5463
|
+
x("div", {
|
|
5464
|
+
class: te(["vi-grid-field", a.settings.align])
|
|
5423
5465
|
}, [
|
|
5424
|
-
|
|
5466
|
+
H(s, {
|
|
5425
5467
|
row: d,
|
|
5426
5468
|
name: n.rowKey,
|
|
5427
5469
|
value: a.selectedRows.includes(d[n.rowKey]),
|
|
5428
5470
|
onCheckboxClicked: (h) => a.toggleRowSelect(d, h.value)
|
|
5429
5471
|
}, null, 8, ["row", "name", "value", "onCheckboxClicked"])
|
|
5430
5472
|
], 2)
|
|
5431
|
-
])) :
|
|
5432
|
-
(
|
|
5473
|
+
])) : T("", !0),
|
|
5474
|
+
(v(!0), w(ce, null, ue(a.visibleColumns, (h) => (v(), w("td", {
|
|
5433
5475
|
key: h.name,
|
|
5434
5476
|
class: "vi-body-cell vi-cell"
|
|
5435
5477
|
}, [
|
|
5436
|
-
|
|
5437
|
-
|
|
5478
|
+
H(l, {
|
|
5479
|
+
"row-menu-opened": a.rowMenuOpened,
|
|
5480
|
+
"onUpdate:rowMenuOpened": t[1] || (t[1] = (g) => a.rowMenuOpened = g),
|
|
5481
|
+
class: te(h.align ?? a.settings.align),
|
|
5438
5482
|
field: h,
|
|
5439
5483
|
"field-value": h.transform ? h.transform(d) : d[h.name],
|
|
5440
5484
|
"row-value": d,
|
|
5441
5485
|
"row-key": n.rowKey,
|
|
5442
|
-
"row-menu-opened": a.rowMenuOpened,
|
|
5443
|
-
"onUpdate:rowMenuOpened": t[1] || (t[1] = (g) => a.rowMenuOpened = g),
|
|
5444
5486
|
onActionClicked: (g) => e.$emit(g.action, g.row),
|
|
5445
5487
|
onCheckboxClicked: (g) => a.toggleRowSelect(d, g.value)
|
|
5446
5488
|
}, {
|
|
5447
5489
|
"custom-field": he((g) => [
|
|
5448
|
-
(
|
|
5490
|
+
(v(), R(Ce(h.type), We({ ref_for: !0 }, g), null, 16))
|
|
5449
5491
|
]),
|
|
5450
5492
|
_: 2
|
|
5451
|
-
}, 1032, ["class", "field", "field-value", "row-value", "row-key", "
|
|
5493
|
+
}, 1032, ["row-menu-opened", "class", "field", "field-value", "row-value", "row-key", "onActionClicked", "onCheckboxClicked"])
|
|
5452
5494
|
]))), 128))
|
|
5453
|
-
], 10,
|
|
5454
|
-
|
|
5455
|
-
|
|
5495
|
+
], 10, Kl))), 128)),
|
|
5496
|
+
x("tr", Ql, [
|
|
5497
|
+
x("td", {
|
|
5456
5498
|
colspan: a.totalColumns,
|
|
5457
5499
|
class: "vi-body-cell vi-cell vi-footer-cell"
|
|
5458
5500
|
}, [
|
|
5459
|
-
|
|
5501
|
+
z(e.$slots, "footer", {
|
|
5460
5502
|
pagination: { ...n.pagination, totalRows: a.totalRows }
|
|
5461
5503
|
}, () => [
|
|
5462
|
-
a.settings.defaultSlots.footer ? (
|
|
5504
|
+
a.settings.defaultSlots.footer ? (v(), R(Ce(a.settings.defaultSlots.footer), {
|
|
5463
5505
|
key: 0,
|
|
5464
5506
|
pagination: { ...n.pagination, totalRows: a.totalRows }
|
|
5465
|
-
}, null, 8, ["pagination"])) :
|
|
5466
|
-
a.settings.disablePagination ?
|
|
5507
|
+
}, null, 8, ["pagination"])) : T("", !0),
|
|
5508
|
+
a.settings.disablePagination ? T("", !0) : (v(), R(f, {
|
|
5467
5509
|
key: 1,
|
|
5468
5510
|
"rows-per-page": a.localPagination.rowsPerPage ?? a.settings.rowsPerPage,
|
|
5469
5511
|
"current-page": a.localPagination.page,
|
|
@@ -5474,15 +5516,15 @@ function ql(e, t, n, a, r, i) {
|
|
|
5474
5516
|
onUpdate: a.onPaginationChange
|
|
5475
5517
|
}, null, 8, ["rows-per-page", "current-page", "total-rows", "compact", "rows-per-page-options", "onUpdate"]))
|
|
5476
5518
|
])
|
|
5477
|
-
], 8,
|
|
5519
|
+
], 8, Jl)
|
|
5478
5520
|
])
|
|
5479
5521
|
]))
|
|
5480
5522
|
], 2)
|
|
5481
5523
|
], 2),
|
|
5482
|
-
|
|
5524
|
+
z(e.$slots, "bottom")
|
|
5483
5525
|
]);
|
|
5484
5526
|
}
|
|
5485
|
-
const kn = /* @__PURE__ */ F(
|
|
5527
|
+
const kn = /* @__PURE__ */ F(Ll, [["render", Zl]]), Cn = {
|
|
5486
5528
|
format: {
|
|
5487
5529
|
date: "yyyy-MM-dd",
|
|
5488
5530
|
dateTime: "yyyy-MM-dd HH:mm:ss",
|
|
@@ -5490,7 +5532,7 @@ const kn = /* @__PURE__ */ F(Dl, [["render", ql]]), Sn = {
|
|
|
5490
5532
|
},
|
|
5491
5533
|
mode: "dateTime"
|
|
5492
5534
|
};
|
|
5493
|
-
const
|
|
5535
|
+
const ec = {
|
|
5494
5536
|
name: "ViPagination",
|
|
5495
5537
|
components: { FontAwesomeIcon: we },
|
|
5496
5538
|
// inject: ['ViPaginationSettings'],
|
|
@@ -5593,135 +5635,135 @@ const Kl = {
|
|
|
5593
5635
|
this.$emit("update:rowsPerPage", parseInt(t)), this.paginationChange({ rowsPerPage: t, currentPage: 1 });
|
|
5594
5636
|
}
|
|
5595
5637
|
}
|
|
5596
|
-
},
|
|
5638
|
+
}, tc = { class: "vi-pagination" }, nc = { class: "vi-rows-per-page" }, ac = ["value"], rc = ["value"], ic = { key: 0 }, oc = { class: "vi-pages-navigator" }, sc = { class: "page-actions" }, lc = {
|
|
5597
5639
|
key: 0,
|
|
5598
5640
|
class: "page-numbers-container"
|
|
5599
|
-
},
|
|
5600
|
-
function
|
|
5601
|
-
const o =
|
|
5602
|
-
return
|
|
5603
|
-
|
|
5604
|
-
|
|
5641
|
+
}, cc = ["onClick"], uc = { class: "page-actions" };
|
|
5642
|
+
function fc(e, t, n, a, r, i) {
|
|
5643
|
+
const o = Y("font-awesome-icon");
|
|
5644
|
+
return v(), w("div", tc, [
|
|
5645
|
+
x("div", nc, [
|
|
5646
|
+
z(e.$slots, "rows-per-page", {
|
|
5605
5647
|
rowsPerPage: i.rowsOnPage,
|
|
5606
5648
|
rowsPerPageUpdate: i.rowsPerPageChange
|
|
5607
5649
|
}, () => [
|
|
5608
|
-
t[5] || (t[5] =
|
|
5609
|
-
|
|
5650
|
+
t[5] || (t[5] = x("span", null, "Rows per page ", -1)),
|
|
5651
|
+
x("select", {
|
|
5610
5652
|
value: n.rowsPerPage,
|
|
5611
5653
|
onChange: t[0] || (t[0] = (...s) => i.rowsPerPageChange && i.rowsPerPageChange(...s))
|
|
5612
5654
|
}, [
|
|
5613
|
-
(
|
|
5655
|
+
(v(!0), w(ce, null, ue(n.rowsPerPageOptions, (s) => (v(), w("option", {
|
|
5614
5656
|
key: s.value,
|
|
5615
5657
|
value: s.value
|
|
5616
|
-
},
|
|
5617
|
-
], 40,
|
|
5658
|
+
}, I(s.label), 9, rc))), 128))
|
|
5659
|
+
], 40, ac)
|
|
5618
5660
|
])
|
|
5619
5661
|
]),
|
|
5620
|
-
|
|
5662
|
+
z(e.$slots, "visible-rows-info", {
|
|
5621
5663
|
totalRows: n.totalRows,
|
|
5622
5664
|
firstVisibleRow: i.firstVisibleRow,
|
|
5623
5665
|
lastVisibleRow: i.lastVisibleRow
|
|
5624
5666
|
}, () => [
|
|
5625
|
-
n.totalRows > 0 ? (
|
|
5667
|
+
n.totalRows > 0 ? (v(), w("div", ic, " Showing " + I(i.firstVisibleRow) + " - " + I(i.lastVisibleRow) + " of " + I(n.totalRows), 1)) : T("", !0)
|
|
5626
5668
|
]),
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5669
|
+
x("div", oc, [
|
|
5670
|
+
z(e.$slots, "navigation-prev", {}, () => [
|
|
5671
|
+
x("div", sc, [
|
|
5672
|
+
x("div", {
|
|
5631
5673
|
onClick: t[1] || (t[1] = (s) => i.pageChange(1)),
|
|
5632
|
-
class:
|
|
5674
|
+
class: "vi-page-nav vi-page-first"
|
|
5633
5675
|
}, [
|
|
5634
|
-
|
|
5676
|
+
H(o, {
|
|
5635
5677
|
icon: ["fas", "angles-left"],
|
|
5636
5678
|
size: "lg"
|
|
5637
5679
|
})
|
|
5638
|
-
]
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5680
|
+
]),
|
|
5681
|
+
x("div", {
|
|
5682
|
+
onClick: t[2] || (t[2] = (s) => i.pageChange(n.currentPage - 1)),
|
|
5683
|
+
class: "vi-page-nav vi-page-prev"
|
|
5642
5684
|
}, [
|
|
5643
|
-
|
|
5644
|
-
]
|
|
5685
|
+
H(o, { icon: ["fas", "angle-left"] })
|
|
5686
|
+
])
|
|
5645
5687
|
])
|
|
5646
5688
|
]),
|
|
5647
|
-
i.compactPagination ?
|
|
5648
|
-
(
|
|
5649
|
-
class:
|
|
5689
|
+
i.compactPagination ? T("", !0) : (v(), w("div", lc, [
|
|
5690
|
+
(v(!0), w(ce, null, ue(i.visiblePages, (s) => (v(), w("div", {
|
|
5691
|
+
class: te(["vi-page-number", { active: s === n.currentPage }]),
|
|
5650
5692
|
key: s,
|
|
5651
5693
|
onClick: (c) => i.pageChange(s)
|
|
5652
|
-
},
|
|
5694
|
+
}, I(s), 11, cc))), 128))
|
|
5653
5695
|
])),
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5696
|
+
z(e.$slots, "navigation-next", {}, () => [
|
|
5697
|
+
x("div", uc, [
|
|
5698
|
+
x("div", {
|
|
5699
|
+
onClick: t[3] || (t[3] = (s) => i.pageChange(n.currentPage + 1)),
|
|
5700
|
+
class: "vi-page-nav vi-page-next"
|
|
5659
5701
|
}, [
|
|
5660
|
-
|
|
5661
|
-
]
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5702
|
+
H(o, { icon: ["fas", "angle-right"] })
|
|
5703
|
+
]),
|
|
5704
|
+
x("div", {
|
|
5705
|
+
onClick: t[4] || (t[4] = (s) => i.pageChange(i.totalPages)),
|
|
5706
|
+
class: "vi-page-nav vi-page-last"
|
|
5665
5707
|
}, [
|
|
5666
|
-
|
|
5708
|
+
H(o, {
|
|
5667
5709
|
icon: ["fas", "angles-right"],
|
|
5668
5710
|
size: "lg"
|
|
5669
5711
|
})
|
|
5670
|
-
]
|
|
5712
|
+
])
|
|
5671
5713
|
])
|
|
5672
5714
|
])
|
|
5673
5715
|
])
|
|
5674
5716
|
]);
|
|
5675
5717
|
}
|
|
5676
|
-
const
|
|
5718
|
+
const dc = /* @__PURE__ */ F(ec, [["render", fc]]);
|
|
5677
5719
|
/*!
|
|
5678
|
-
* Font Awesome Free 6.7.
|
|
5720
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
5679
5721
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
5680
5722
|
* Copyright 2024 Fonticons, Inc.
|
|
5681
5723
|
*/
|
|
5682
|
-
const
|
|
5724
|
+
const mc = {
|
|
5683
5725
|
prefix: "fas",
|
|
5684
5726
|
iconName: "chevron-up",
|
|
5685
5727
|
icon: [512, 512, [], "f077", "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
|
|
5686
|
-
},
|
|
5728
|
+
}, gc = {
|
|
5687
5729
|
prefix: "fas",
|
|
5688
5730
|
iconName: "angle-right",
|
|
5689
5731
|
icon: [320, 512, [8250], "f105", "M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]
|
|
5690
|
-
},
|
|
5732
|
+
}, hc = {
|
|
5691
5733
|
prefix: "fas",
|
|
5692
5734
|
iconName: "angles-right",
|
|
5693
5735
|
icon: [512, 512, [187, "angle-double-right"], "f101", "M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]
|
|
5694
|
-
},
|
|
5736
|
+
}, vc = {
|
|
5695
5737
|
prefix: "fas",
|
|
5696
5738
|
iconName: "ellipsis",
|
|
5697
5739
|
icon: [448, 512, ["ellipsis-h"], "f141", "M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]
|
|
5698
|
-
},
|
|
5740
|
+
}, pc = vc, yc = {
|
|
5699
5741
|
prefix: "fas",
|
|
5700
5742
|
iconName: "chevron-down",
|
|
5701
5743
|
icon: [512, 512, [], "f078", "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
|
|
5702
|
-
},
|
|
5744
|
+
}, bc = {
|
|
5703
5745
|
prefix: "fas",
|
|
5704
5746
|
iconName: "angles-left",
|
|
5705
5747
|
icon: [512, 512, [171, "angle-double-left"], "f100", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
|
|
5706
|
-
},
|
|
5748
|
+
}, wc = {
|
|
5707
5749
|
prefix: "fas",
|
|
5708
5750
|
iconName: "angle-left",
|
|
5709
5751
|
icon: [320, 512, [8249], "f104", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
|
|
5710
|
-
},
|
|
5752
|
+
}, _c = {
|
|
5711
5753
|
install(e, t = {}, n = {}) {
|
|
5712
|
-
if (
|
|
5754
|
+
if (ga.add(gc, wc, hc, bc), n)
|
|
5713
5755
|
for (const [a, r] of Object.entries(n))
|
|
5714
5756
|
document.documentElement.style.setProperty(`--vi-pagination-${a}`, r);
|
|
5715
|
-
e.component("FontAwesomeIcon", we), e.component("ViPagination",
|
|
5757
|
+
e.component("FontAwesomeIcon", we), e.component("ViPagination", dc);
|
|
5716
5758
|
}
|
|
5717
|
-
},
|
|
5759
|
+
}, Pc = {
|
|
5718
5760
|
install(e, t = {}) {
|
|
5719
|
-
|
|
5761
|
+
ga.add(yc, mc, pc);
|
|
5720
5762
|
const { fieldComponents: n, dateFormats: a, dateMode: r, style: i, ...o } = t;
|
|
5721
5763
|
if (e.provide("ViGirdDateSettings", {
|
|
5722
|
-
...
|
|
5764
|
+
...Cn,
|
|
5723
5765
|
format: {
|
|
5724
|
-
...
|
|
5766
|
+
...Cn.format,
|
|
5725
5767
|
...a
|
|
5726
5768
|
},
|
|
5727
5769
|
...r && {
|
|
@@ -5730,7 +5772,7 @@ const lc = {
|
|
|
5730
5772
|
}), i)
|
|
5731
5773
|
for (const [c, l] of Object.entries(i))
|
|
5732
5774
|
document.documentElement.style.setProperty(`--vi-grid-${c}`, l);
|
|
5733
|
-
e.use(
|
|
5775
|
+
e.use(_c, {}, i), e.component("FontAwesomeIcon", we), Yt.value = o;
|
|
5734
5776
|
const s = {
|
|
5735
5777
|
...kn,
|
|
5736
5778
|
components: {
|
|
@@ -5742,5 +5784,5 @@ const lc = {
|
|
|
5742
5784
|
}
|
|
5743
5785
|
};
|
|
5744
5786
|
export {
|
|
5745
|
-
|
|
5787
|
+
Pc as default
|
|
5746
5788
|
};
|