@choosemycompany/ui 0.13.0 → 0.14.0
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/assets/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +425 -418
- package/dist/index.umd.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,36 +1,39 @@
|
|
|
1
|
-
import { defineComponent as F, ref as Q, shallowRef as
|
|
2
|
-
import './assets/index.css';const
|
|
1
|
+
import { defineComponent as F, ref as Q, shallowRef as Ct, onMounted as Lt, watch as vt, onUnmounted as wt, h as X, nextTick as Ut, computed as x, createBlock as Y, openBlock as C, unref as O, normalizeClass as I, createElementBlock as L, createElementVNode as P, renderSlot as B, createCommentVNode as z, Fragment as D, toDisplayString as k, mergeModels as U, useModel as te, useSlots as Kt, withDirectives as we, vModelDynamic as Xt, createVNode as H, renderList as q, vModelSelect as Qt, useId as _e, vModelCheckbox as _t, createStaticVNode as Se, withModifiers as Ae, resolveDynamicComponent as Wt, withCtx as Ue, isRef as Yt, watchEffect as Jt, createTextVNode as en, withKeys as ae } from "vue";
|
|
2
|
+
import './assets/index.css';const tn = {
|
|
3
3
|
primary: "primary",
|
|
4
4
|
secondary: "secondary"
|
|
5
|
-
},
|
|
5
|
+
}, nn = {
|
|
6
6
|
default: "default",
|
|
7
7
|
danger: "danger"
|
|
8
|
-
},
|
|
8
|
+
}, on = {
|
|
9
9
|
small: "small",
|
|
10
10
|
medium: "medium"
|
|
11
|
-
},
|
|
11
|
+
}, St = "loading", tt = {
|
|
12
12
|
chevronDown: "mi:chevron-down",
|
|
13
13
|
delete: "qlementine-icons:trash-16",
|
|
14
14
|
check: "ic:baseline-check",
|
|
15
15
|
edit: "iconamoon:edit-light",
|
|
16
16
|
filter: "mdi:filter-outline",
|
|
17
|
-
[
|
|
17
|
+
[St]: "eos-icons:loading",
|
|
18
18
|
mail: "ci:mail-open",
|
|
19
19
|
people: "ic:outline-people",
|
|
20
20
|
plus: "ic:baseline-plus",
|
|
21
21
|
profile: "iconamoon:profile-light",
|
|
22
22
|
search: "material-symbols:search",
|
|
23
|
+
target: "qlementine-icons:target-16",
|
|
23
24
|
trophy: "material-symbols:trophy",
|
|
24
25
|
cog: "mdi:cog",
|
|
25
26
|
chartFill: "lets-icons:pie-chart-fill",
|
|
26
27
|
share: "material-symbols:share",
|
|
27
28
|
shareVariant: "mdi:chart-bar",
|
|
28
|
-
cross: "weui:close-filled"
|
|
29
|
+
cross: "weui:close-filled",
|
|
30
|
+
like: "solar:like-broken",
|
|
31
|
+
star: "iconamoon:star-thin"
|
|
29
32
|
}, Ol = {
|
|
30
33
|
primary: "primary",
|
|
31
34
|
secondary: "secondary",
|
|
32
35
|
light: "light"
|
|
33
|
-
},
|
|
36
|
+
}, yt = /^[a-z0-9]+(-[a-z0-9]+)*$/, ye = (e, n, t, o = "") => {
|
|
34
37
|
const r = e.split(":");
|
|
35
38
|
if (e.slice(0, 1) === "@") {
|
|
36
39
|
if (r.length < 2 || r.length > 3)
|
|
@@ -68,7 +71,7 @@ import './assets/index.css';const en = {
|
|
|
68
71
|
return null;
|
|
69
72
|
}, me = (e, n) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
70
73
|
// Check name: cannot be empty
|
|
71
|
-
((n && e.prefix === "" || e.prefix) && e.name) : !1,
|
|
74
|
+
((n && e.prefix === "" || e.prefix) && e.name) : !1, xt = Object.freeze(
|
|
72
75
|
{
|
|
73
76
|
left: 0,
|
|
74
77
|
top: 0,
|
|
@@ -80,26 +83,26 @@ import './assets/index.css';const en = {
|
|
|
80
83
|
vFlip: !1,
|
|
81
84
|
hFlip: !1
|
|
82
85
|
}), xe = Object.freeze({
|
|
83
|
-
...
|
|
86
|
+
...xt,
|
|
84
87
|
...ve
|
|
85
|
-
}),
|
|
88
|
+
}), He = Object.freeze({
|
|
86
89
|
...xe,
|
|
87
90
|
body: "",
|
|
88
91
|
hidden: !1
|
|
89
92
|
});
|
|
90
|
-
function
|
|
93
|
+
function rn(e, n) {
|
|
91
94
|
const t = {};
|
|
92
95
|
!e.hFlip != !n.hFlip && (t.hFlip = !0), !e.vFlip != !n.vFlip && (t.vFlip = !0);
|
|
93
96
|
const o = ((e.rotate || 0) + (n.rotate || 0)) % 4;
|
|
94
97
|
return o && (t.rotate = o), t;
|
|
95
98
|
}
|
|
96
|
-
function
|
|
97
|
-
const t =
|
|
98
|
-
for (const o in
|
|
99
|
+
function nt(e, n) {
|
|
100
|
+
const t = rn(e, n);
|
|
101
|
+
for (const o in He)
|
|
99
102
|
o in ve ? o in e && !(o in t) && (t[o] = ve[o]) : o in n ? t[o] = n[o] : o in e && (t[o] = e[o]);
|
|
100
103
|
return t;
|
|
101
104
|
}
|
|
102
|
-
function
|
|
105
|
+
function ln(e, n) {
|
|
103
106
|
const t = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
104
107
|
function l(i) {
|
|
105
108
|
if (t[i])
|
|
@@ -113,36 +116,36 @@ function rn(e, n) {
|
|
|
113
116
|
}
|
|
114
117
|
return Object.keys(t).concat(Object.keys(o)).forEach(l), r;
|
|
115
118
|
}
|
|
116
|
-
function
|
|
119
|
+
function sn(e, n, t) {
|
|
117
120
|
const o = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
118
121
|
let l = {};
|
|
119
122
|
function i(s) {
|
|
120
|
-
l =
|
|
123
|
+
l = nt(
|
|
121
124
|
o[s] || r[s],
|
|
122
125
|
l
|
|
123
126
|
);
|
|
124
127
|
}
|
|
125
|
-
return i(n), t.forEach(i),
|
|
128
|
+
return i(n), t.forEach(i), nt(e, l);
|
|
126
129
|
}
|
|
127
|
-
function
|
|
130
|
+
function Rt(e, n) {
|
|
128
131
|
const t = [];
|
|
129
132
|
if (typeof e != "object" || typeof e.icons != "object")
|
|
130
133
|
return t;
|
|
131
134
|
e.not_found instanceof Array && e.not_found.forEach((r) => {
|
|
132
135
|
n(r, null), t.push(r);
|
|
133
136
|
});
|
|
134
|
-
const o =
|
|
137
|
+
const o = ln(e);
|
|
135
138
|
for (const r in o) {
|
|
136
139
|
const l = o[r];
|
|
137
|
-
l && (n(r,
|
|
140
|
+
l && (n(r, sn(e, r, l)), t.push(r));
|
|
138
141
|
}
|
|
139
142
|
return t;
|
|
140
143
|
}
|
|
141
|
-
const
|
|
144
|
+
const an = {
|
|
142
145
|
provider: "",
|
|
143
146
|
aliases: {},
|
|
144
147
|
not_found: {},
|
|
145
|
-
...
|
|
148
|
+
...xt
|
|
146
149
|
};
|
|
147
150
|
function Me(e, n) {
|
|
148
151
|
for (const t in n)
|
|
@@ -150,11 +153,11 @@ function Me(e, n) {
|
|
|
150
153
|
return !1;
|
|
151
154
|
return !0;
|
|
152
155
|
}
|
|
153
|
-
function
|
|
156
|
+
function Mt(e) {
|
|
154
157
|
if (typeof e != "object" || e === null)
|
|
155
158
|
return null;
|
|
156
159
|
const n = e;
|
|
157
|
-
if (typeof n.prefix != "string" || !e.icons || typeof e.icons != "object" || !Me(e,
|
|
160
|
+
if (typeof n.prefix != "string" || !e.icons || typeof e.icons != "object" || !Me(e, an))
|
|
158
161
|
return null;
|
|
159
162
|
const t = n.icons;
|
|
160
163
|
for (const r in t) {
|
|
@@ -165,7 +168,7 @@ function Rt(e) {
|
|
|
165
168
|
typeof l.body != "string" || // Check other props
|
|
166
169
|
!Me(
|
|
167
170
|
l,
|
|
168
|
-
|
|
171
|
+
He
|
|
169
172
|
)
|
|
170
173
|
)
|
|
171
174
|
return null;
|
|
@@ -179,15 +182,15 @@ function Rt(e) {
|
|
|
179
182
|
typeof i != "string" || !t[i] && !o[i] || // Check other props
|
|
180
183
|
!Me(
|
|
181
184
|
l,
|
|
182
|
-
|
|
185
|
+
He
|
|
183
186
|
)
|
|
184
187
|
)
|
|
185
188
|
return null;
|
|
186
189
|
}
|
|
187
190
|
return n;
|
|
188
191
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
192
|
+
const ot = /* @__PURE__ */ Object.create(null);
|
|
193
|
+
function un(e, n) {
|
|
191
194
|
return {
|
|
192
195
|
provider: e,
|
|
193
196
|
prefix: n,
|
|
@@ -196,15 +199,15 @@ function an(e, n) {
|
|
|
196
199
|
};
|
|
197
200
|
}
|
|
198
201
|
function ee(e, n) {
|
|
199
|
-
const t =
|
|
200
|
-
return t[n] || (t[n] =
|
|
202
|
+
const t = ot[e] || (ot[e] = /* @__PURE__ */ Object.create(null));
|
|
203
|
+
return t[n] || (t[n] = un(e, n));
|
|
201
204
|
}
|
|
202
|
-
function
|
|
203
|
-
return
|
|
205
|
+
function $t(e, n) {
|
|
206
|
+
return Mt(n) ? Rt(n, (t, o) => {
|
|
204
207
|
o ? e.icons[t] = o : e.missing.add(t);
|
|
205
208
|
}) : [];
|
|
206
209
|
}
|
|
207
|
-
function
|
|
210
|
+
function cn(e, n, t) {
|
|
208
211
|
try {
|
|
209
212
|
if (typeof t.body == "string")
|
|
210
213
|
return e.icons[n] = { ...t }, !0;
|
|
@@ -213,30 +216,30 @@ function un(e, n, t) {
|
|
|
213
216
|
return !1;
|
|
214
217
|
}
|
|
215
218
|
let se = !1;
|
|
216
|
-
function
|
|
219
|
+
function It(e) {
|
|
217
220
|
return typeof e == "boolean" && (se = e), se;
|
|
218
221
|
}
|
|
219
|
-
function
|
|
222
|
+
function dn(e) {
|
|
220
223
|
const n = typeof e == "string" ? ye(e, !0, se) : e;
|
|
221
224
|
if (n) {
|
|
222
225
|
const t = ee(n.provider, n.prefix), o = n.name;
|
|
223
226
|
return t.icons[o] || (t.missing.has(o) ? null : void 0);
|
|
224
227
|
}
|
|
225
228
|
}
|
|
226
|
-
function
|
|
229
|
+
function gn(e, n) {
|
|
227
230
|
const t = ye(e, !0, se);
|
|
228
231
|
if (!t)
|
|
229
232
|
return !1;
|
|
230
233
|
const o = ee(t.provider, t.prefix);
|
|
231
|
-
return n ?
|
|
234
|
+
return n ? cn(o, t.name, n) : (o.missing.add(t.name), !0);
|
|
232
235
|
}
|
|
233
|
-
function
|
|
236
|
+
function fn(e, n) {
|
|
234
237
|
if (typeof e != "object")
|
|
235
238
|
return !1;
|
|
236
239
|
if (typeof n != "string" && (n = e.provider || ""), se && !n && !e.prefix) {
|
|
237
240
|
let r = !1;
|
|
238
|
-
return
|
|
239
|
-
|
|
241
|
+
return Mt(e) && (e.prefix = "", Rt(e, (l, i) => {
|
|
242
|
+
gn(l, i) && (r = !0);
|
|
240
243
|
})), r;
|
|
241
244
|
}
|
|
242
245
|
const t = e.prefix;
|
|
@@ -246,29 +249,29 @@ function gn(e, n) {
|
|
|
246
249
|
}))
|
|
247
250
|
return !1;
|
|
248
251
|
const o = ee(n, t);
|
|
249
|
-
return
|
|
252
|
+
return !!$t(o, e);
|
|
250
253
|
}
|
|
251
|
-
const
|
|
254
|
+
const Ft = Object.freeze({
|
|
252
255
|
width: null,
|
|
253
256
|
height: null
|
|
254
|
-
}),
|
|
257
|
+
}), Pt = Object.freeze({
|
|
255
258
|
// Dimensions
|
|
256
|
-
...
|
|
259
|
+
...Ft,
|
|
257
260
|
// Transformations
|
|
258
261
|
...ve
|
|
259
|
-
}),
|
|
260
|
-
function
|
|
262
|
+
}), pn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, mn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
263
|
+
function rt(e, n, t) {
|
|
261
264
|
if (n === 1)
|
|
262
265
|
return e;
|
|
263
266
|
if (t = t || 100, typeof e == "number")
|
|
264
267
|
return Math.ceil(e * n * t) / t;
|
|
265
268
|
if (typeof e != "string")
|
|
266
269
|
return e;
|
|
267
|
-
const o = e.split(
|
|
270
|
+
const o = e.split(pn);
|
|
268
271
|
if (o === null || !o.length)
|
|
269
272
|
return e;
|
|
270
273
|
const r = [];
|
|
271
|
-
let l = o.shift(), i =
|
|
274
|
+
let l = o.shift(), i = mn.test(l);
|
|
272
275
|
for (; ; ) {
|
|
273
276
|
if (i) {
|
|
274
277
|
const s = parseFloat(l);
|
|
@@ -280,7 +283,7 @@ function ot(e, n, t) {
|
|
|
280
283
|
i = !i;
|
|
281
284
|
}
|
|
282
285
|
}
|
|
283
|
-
function
|
|
286
|
+
function hn(e, n = "defs") {
|
|
284
287
|
let t = "";
|
|
285
288
|
const o = e.indexOf("<" + n);
|
|
286
289
|
for (; o >= 0; ) {
|
|
@@ -297,20 +300,20 @@ function mn(e, n = "defs") {
|
|
|
297
300
|
content: e
|
|
298
301
|
};
|
|
299
302
|
}
|
|
300
|
-
function
|
|
303
|
+
function Cn(e, n) {
|
|
301
304
|
return e ? "<defs>" + e + "</defs>" + n : n;
|
|
302
305
|
}
|
|
303
|
-
function
|
|
304
|
-
const o =
|
|
305
|
-
return
|
|
306
|
+
function Ln(e, n, t) {
|
|
307
|
+
const o = hn(e);
|
|
308
|
+
return Cn(o.defs, n + o.content + t);
|
|
306
309
|
}
|
|
307
|
-
const
|
|
308
|
-
function
|
|
310
|
+
const vn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
311
|
+
function wn(e, n) {
|
|
309
312
|
const t = {
|
|
310
313
|
...xe,
|
|
311
314
|
...e
|
|
312
315
|
}, o = {
|
|
313
|
-
...
|
|
316
|
+
...Pt,
|
|
314
317
|
...n
|
|
315
318
|
}, r = {
|
|
316
319
|
left: t.left,
|
|
@@ -345,7 +348,7 @@ function vn(e, n) {
|
|
|
345
348
|
);
|
|
346
349
|
break;
|
|
347
350
|
}
|
|
348
|
-
y % 2 === 1 && (r.left !== r.top && (M = r.left, r.left = r.top, r.top = M), r.width !== r.height && (M = r.width, r.width = r.height, r.height = M)), h.length && (l =
|
|
351
|
+
y % 2 === 1 && (r.left !== r.top && (M = r.left, r.left = r.top, r.top = M), r.width !== r.height && (M = r.width, r.width = r.height, r.height = M)), h.length && (l = Ln(
|
|
349
352
|
l,
|
|
350
353
|
'<g transform="' + h.join(" ") + '">',
|
|
351
354
|
"</g>"
|
|
@@ -353,9 +356,9 @@ function vn(e, n) {
|
|
|
353
356
|
});
|
|
354
357
|
const i = o.width, s = o.height, a = r.width, u = r.height;
|
|
355
358
|
let d, f;
|
|
356
|
-
i === null ? (f = s === null ? "1em" : s === "auto" ? u : s, d =
|
|
359
|
+
i === null ? (f = s === null ? "1em" : s === "auto" ? u : s, d = rt(f, a / u)) : (d = i === "auto" ? a : i, f = s === null ? rt(d, u / a) : s === "auto" ? u : s);
|
|
357
360
|
const g = {}, c = (m, h) => {
|
|
358
|
-
|
|
361
|
+
vn(h) || (g[m] = h.toString());
|
|
359
362
|
};
|
|
360
363
|
c("width", d), c("height", f);
|
|
361
364
|
const p = [r.left, r.top, a, u];
|
|
@@ -365,18 +368,18 @@ function vn(e, n) {
|
|
|
365
368
|
body: l
|
|
366
369
|
};
|
|
367
370
|
}
|
|
368
|
-
const
|
|
369
|
-
let
|
|
370
|
-
function
|
|
371
|
+
const _n = /\sid="(\S+)"/g, Sn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
372
|
+
let yn = 0;
|
|
373
|
+
function xn(e, n = Sn) {
|
|
371
374
|
const t = [];
|
|
372
375
|
let o;
|
|
373
|
-
for (; o =
|
|
376
|
+
for (; o = _n.exec(e); )
|
|
374
377
|
t.push(o[1]);
|
|
375
378
|
if (!t.length)
|
|
376
379
|
return e;
|
|
377
380
|
const r = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
378
381
|
return t.forEach((l) => {
|
|
379
|
-
const i = typeof n == "function" ? n(l) : n + (
|
|
382
|
+
const i = typeof n == "function" ? n(l) : n + (yn++).toString(), s = l.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
380
383
|
e = e.replace(
|
|
381
384
|
// Allowed characters before id: [#;"]
|
|
382
385
|
// Allowed characters after id: [)"], .[a-z]
|
|
@@ -385,14 +388,14 @@ function yn(e, n = _n) {
|
|
|
385
388
|
);
|
|
386
389
|
}), e = e.replace(new RegExp(r, "g"), ""), e;
|
|
387
390
|
}
|
|
388
|
-
const
|
|
389
|
-
function
|
|
390
|
-
|
|
391
|
+
const Ge = /* @__PURE__ */ Object.create(null);
|
|
392
|
+
function Rn(e, n) {
|
|
393
|
+
Ge[e] = n;
|
|
391
394
|
}
|
|
392
|
-
function
|
|
393
|
-
return
|
|
395
|
+
function Oe(e) {
|
|
396
|
+
return Ge[e] || Ge[""];
|
|
394
397
|
}
|
|
395
|
-
function
|
|
398
|
+
function Ke(e) {
|
|
396
399
|
let n;
|
|
397
400
|
if (typeof e.resources == "string")
|
|
398
401
|
n = [e.resources];
|
|
@@ -417,23 +420,23 @@ function Ue(e) {
|
|
|
417
420
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
418
421
|
};
|
|
419
422
|
}
|
|
420
|
-
const
|
|
423
|
+
const Xe = /* @__PURE__ */ Object.create(null), ne = [
|
|
421
424
|
"https://api.simplesvg.com",
|
|
422
425
|
"https://api.unisvg.com"
|
|
423
426
|
], he = [];
|
|
424
427
|
for (; ne.length > 0; )
|
|
425
428
|
ne.length === 1 || Math.random() > 0.5 ? he.push(ne.shift()) : he.push(ne.pop());
|
|
426
|
-
|
|
429
|
+
Xe[""] = Ke({
|
|
427
430
|
resources: ["https://api.iconify.design"].concat(he)
|
|
428
431
|
});
|
|
429
|
-
function
|
|
430
|
-
const t =
|
|
431
|
-
return t === null ? !1 : (
|
|
432
|
+
function Mn(e, n) {
|
|
433
|
+
const t = Ke(n);
|
|
434
|
+
return t === null ? !1 : (Xe[e] = t, !0);
|
|
432
435
|
}
|
|
433
|
-
function
|
|
434
|
-
return
|
|
436
|
+
function Qe(e) {
|
|
437
|
+
return Xe[e];
|
|
435
438
|
}
|
|
436
|
-
const
|
|
439
|
+
const $n = () => {
|
|
437
440
|
let e;
|
|
438
441
|
try {
|
|
439
442
|
if (e = fetch, typeof e == "function")
|
|
@@ -441,9 +444,9 @@ const Mn = () => {
|
|
|
441
444
|
} catch {
|
|
442
445
|
}
|
|
443
446
|
};
|
|
444
|
-
let
|
|
445
|
-
function
|
|
446
|
-
const t =
|
|
447
|
+
let lt = $n();
|
|
448
|
+
function In(e, n) {
|
|
449
|
+
const t = Qe(e);
|
|
447
450
|
if (!t)
|
|
448
451
|
return 0;
|
|
449
452
|
let o;
|
|
@@ -459,11 +462,11 @@ function $n(e, n) {
|
|
|
459
462
|
}
|
|
460
463
|
return o;
|
|
461
464
|
}
|
|
462
|
-
function
|
|
465
|
+
function Fn(e) {
|
|
463
466
|
return e === 404;
|
|
464
467
|
}
|
|
465
|
-
const
|
|
466
|
-
const o = [], r =
|
|
468
|
+
const Pn = (e, n, t) => {
|
|
469
|
+
const o = [], r = In(e, n), l = "icons";
|
|
467
470
|
let i = {
|
|
468
471
|
type: l,
|
|
469
472
|
provider: e,
|
|
@@ -479,20 +482,20 @@ const Fn = (e, n, t) => {
|
|
|
479
482
|
}, s = a.length), i.icons.push(a);
|
|
480
483
|
}), o.push(i), o;
|
|
481
484
|
};
|
|
482
|
-
function
|
|
485
|
+
function Vn(e) {
|
|
483
486
|
if (typeof e == "string") {
|
|
484
|
-
const n =
|
|
487
|
+
const n = Qe(e);
|
|
485
488
|
if (n)
|
|
486
489
|
return n.path;
|
|
487
490
|
}
|
|
488
491
|
return "/";
|
|
489
492
|
}
|
|
490
|
-
const
|
|
491
|
-
if (!
|
|
493
|
+
const zn = (e, n, t) => {
|
|
494
|
+
if (!lt) {
|
|
492
495
|
t("abort", 424);
|
|
493
496
|
return;
|
|
494
497
|
}
|
|
495
|
-
let o =
|
|
498
|
+
let o = Vn(n.provider);
|
|
496
499
|
switch (n.type) {
|
|
497
500
|
case "icons": {
|
|
498
501
|
const l = n.prefix, s = n.icons.join(","), a = new URLSearchParams({
|
|
@@ -511,11 +514,11 @@ const Vn = (e, n, t) => {
|
|
|
511
514
|
return;
|
|
512
515
|
}
|
|
513
516
|
let r = 503;
|
|
514
|
-
|
|
517
|
+
lt(e + o).then((l) => {
|
|
515
518
|
const i = l.status;
|
|
516
519
|
if (i !== 200) {
|
|
517
520
|
setTimeout(() => {
|
|
518
|
-
t(
|
|
521
|
+
t(Fn(i) ? "abort" : "next", i);
|
|
519
522
|
});
|
|
520
523
|
return;
|
|
521
524
|
}
|
|
@@ -533,11 +536,11 @@ const Vn = (e, n, t) => {
|
|
|
533
536
|
}).catch(() => {
|
|
534
537
|
t("next", r);
|
|
535
538
|
});
|
|
536
|
-
},
|
|
537
|
-
prepare:
|
|
538
|
-
send:
|
|
539
|
+
}, bn = {
|
|
540
|
+
prepare: Pn,
|
|
541
|
+
send: zn
|
|
539
542
|
};
|
|
540
|
-
function
|
|
543
|
+
function kn(e) {
|
|
541
544
|
const n = {
|
|
542
545
|
loaded: [],
|
|
543
546
|
missing: [],
|
|
@@ -564,7 +567,7 @@ function bn(e) {
|
|
|
564
567
|
d.push(f);
|
|
565
568
|
}), n;
|
|
566
569
|
}
|
|
567
|
-
function
|
|
570
|
+
function Vt(e, n) {
|
|
568
571
|
e.forEach((t) => {
|
|
569
572
|
const o = t.loaderCallbacks;
|
|
570
573
|
o && (t.loaderCallbacks = o.filter((r) => r.id !== n));
|
|
@@ -599,7 +602,7 @@ function En(e) {
|
|
|
599
602
|
else
|
|
600
603
|
return t = !0, !0;
|
|
601
604
|
return !1;
|
|
602
|
-
}), i.pending.length !== s && (t ||
|
|
605
|
+
}), i.pending.length !== s && (t || Vt([e], l.id), l.callback(
|
|
603
606
|
i.loaded.slice(0),
|
|
604
607
|
i.missing.slice(0),
|
|
605
608
|
i.pending.slice(0),
|
|
@@ -608,9 +611,9 @@ function En(e) {
|
|
|
608
611
|
});
|
|
609
612
|
}));
|
|
610
613
|
}
|
|
611
|
-
let
|
|
612
|
-
function
|
|
613
|
-
const o =
|
|
614
|
+
let Dn = 0;
|
|
615
|
+
function An(e, n, t) {
|
|
616
|
+
const o = Dn++, r = Vt.bind(null, t, o);
|
|
614
617
|
if (!n.pending.length)
|
|
615
618
|
return r;
|
|
616
619
|
const l = {
|
|
@@ -623,14 +626,14 @@ function Dn(e, n, t) {
|
|
|
623
626
|
(i.loaderCallbacks || (i.loaderCallbacks = [])).push(l);
|
|
624
627
|
}), r;
|
|
625
628
|
}
|
|
626
|
-
function
|
|
629
|
+
function Hn(e, n = !0, t = !1) {
|
|
627
630
|
const o = [];
|
|
628
631
|
return e.forEach((r) => {
|
|
629
632
|
const l = typeof r == "string" ? ye(r, n, t) : r;
|
|
630
633
|
l && o.push(l);
|
|
631
634
|
}), o;
|
|
632
635
|
}
|
|
633
|
-
var
|
|
636
|
+
var Gn = {
|
|
634
637
|
resources: [],
|
|
635
638
|
index: 0,
|
|
636
639
|
timeout: 2e3,
|
|
@@ -638,14 +641,14 @@ var Hn = {
|
|
|
638
641
|
random: !1,
|
|
639
642
|
dataAfterTimeout: !1
|
|
640
643
|
};
|
|
641
|
-
function
|
|
644
|
+
function On(e, n, t, o) {
|
|
642
645
|
const r = e.resources.length, l = e.random ? Math.floor(Math.random() * r) : e.index;
|
|
643
646
|
let i;
|
|
644
647
|
if (e.random) {
|
|
645
648
|
let R = e.resources.slice(0);
|
|
646
649
|
for (i = []; R.length > 1; ) {
|
|
647
|
-
const
|
|
648
|
-
i.push(R[
|
|
650
|
+
const E = Math.floor(Math.random() * R.length);
|
|
651
|
+
i.push(R[E]), R = R.slice(0, E).concat(R.slice(E + 1));
|
|
649
652
|
}
|
|
650
653
|
i = i.concat(R);
|
|
651
654
|
} else
|
|
@@ -661,8 +664,8 @@ function Gn(e, n, t, o) {
|
|
|
661
664
|
R.status === "pending" && (R.status = "aborted");
|
|
662
665
|
}), g = [];
|
|
663
666
|
}
|
|
664
|
-
function h(R,
|
|
665
|
-
|
|
667
|
+
function h(R, E) {
|
|
668
|
+
E && (c = []), typeof R == "function" && c.push(R);
|
|
666
669
|
}
|
|
667
670
|
function v() {
|
|
668
671
|
return {
|
|
@@ -685,9 +688,9 @@ function Gn(e, n, t, o) {
|
|
|
685
688
|
R.status === "pending" && (R.status = "aborted");
|
|
686
689
|
}), g = [];
|
|
687
690
|
}
|
|
688
|
-
function M(R,
|
|
689
|
-
const J =
|
|
690
|
-
switch (g = g.filter((
|
|
691
|
+
function M(R, E, N) {
|
|
692
|
+
const J = E !== "success";
|
|
693
|
+
switch (g = g.filter((T) => T !== R), a) {
|
|
691
694
|
case "pending":
|
|
692
695
|
break;
|
|
693
696
|
case "failed":
|
|
@@ -697,20 +700,20 @@ function Gn(e, n, t, o) {
|
|
|
697
700
|
default:
|
|
698
701
|
return;
|
|
699
702
|
}
|
|
700
|
-
if (
|
|
701
|
-
d =
|
|
703
|
+
if (E === "abort") {
|
|
704
|
+
d = N, S();
|
|
702
705
|
return;
|
|
703
706
|
}
|
|
704
707
|
if (J) {
|
|
705
|
-
d =
|
|
708
|
+
d = N, g.length || (i.length ? V() : S());
|
|
706
709
|
return;
|
|
707
710
|
}
|
|
708
711
|
if (p(), y(), !e.random) {
|
|
709
|
-
const
|
|
710
|
-
|
|
712
|
+
const T = e.resources.indexOf(R.resource);
|
|
713
|
+
T !== -1 && T !== e.index && (e.index = T);
|
|
711
714
|
}
|
|
712
|
-
a = "completed", c.forEach((
|
|
713
|
-
|
|
715
|
+
a = "completed", c.forEach((T) => {
|
|
716
|
+
T(N);
|
|
714
717
|
});
|
|
715
718
|
}
|
|
716
719
|
function V() {
|
|
@@ -728,20 +731,20 @@ function Gn(e, n, t, o) {
|
|
|
728
731
|
S();
|
|
729
732
|
return;
|
|
730
733
|
}
|
|
731
|
-
const
|
|
734
|
+
const E = {
|
|
732
735
|
status: "pending",
|
|
733
736
|
resource: R,
|
|
734
|
-
callback: (
|
|
735
|
-
M(
|
|
737
|
+
callback: (N, J) => {
|
|
738
|
+
M(E, N, J);
|
|
736
739
|
}
|
|
737
740
|
};
|
|
738
|
-
g.push(
|
|
741
|
+
g.push(E), u++, f = setTimeout(V, e.rotate), t(R, n, E.callback);
|
|
739
742
|
}
|
|
740
743
|
return setTimeout(V), v;
|
|
741
744
|
}
|
|
742
|
-
function
|
|
745
|
+
function zt(e) {
|
|
743
746
|
const n = {
|
|
744
|
-
...
|
|
747
|
+
...Gn,
|
|
745
748
|
...e
|
|
746
749
|
};
|
|
747
750
|
let t = [];
|
|
@@ -749,7 +752,7 @@ function Vt(e) {
|
|
|
749
752
|
t = t.filter((s) => s().status === "pending");
|
|
750
753
|
}
|
|
751
754
|
function r(s, a, u) {
|
|
752
|
-
const d =
|
|
755
|
+
const d = On(
|
|
753
756
|
n,
|
|
754
757
|
s,
|
|
755
758
|
a,
|
|
@@ -772,15 +775,15 @@ function Vt(e) {
|
|
|
772
775
|
cleanup: o
|
|
773
776
|
};
|
|
774
777
|
}
|
|
775
|
-
function
|
|
778
|
+
function it() {
|
|
776
779
|
}
|
|
777
780
|
const $e = /* @__PURE__ */ Object.create(null);
|
|
778
|
-
function
|
|
781
|
+
function Tn(e) {
|
|
779
782
|
if (!$e[e]) {
|
|
780
|
-
const n =
|
|
783
|
+
const n = Qe(e);
|
|
781
784
|
if (!n)
|
|
782
785
|
return;
|
|
783
|
-
const t =
|
|
786
|
+
const t = zt(n), o = {
|
|
784
787
|
config: n,
|
|
785
788
|
redundancy: t
|
|
786
789
|
};
|
|
@@ -788,36 +791,36 @@ function On(e) {
|
|
|
788
791
|
}
|
|
789
792
|
return $e[e];
|
|
790
793
|
}
|
|
791
|
-
function
|
|
794
|
+
function Zn(e, n, t) {
|
|
792
795
|
let o, r;
|
|
793
796
|
if (typeof e == "string") {
|
|
794
|
-
const l =
|
|
797
|
+
const l = Oe(e);
|
|
795
798
|
if (!l)
|
|
796
|
-
return t(void 0, 424),
|
|
799
|
+
return t(void 0, 424), it;
|
|
797
800
|
r = l.send;
|
|
798
|
-
const i =
|
|
801
|
+
const i = Tn(e);
|
|
799
802
|
i && (o = i.redundancy);
|
|
800
803
|
} else {
|
|
801
|
-
const l =
|
|
804
|
+
const l = Ke(e);
|
|
802
805
|
if (l) {
|
|
803
|
-
o =
|
|
804
|
-
const i = e.resources ? e.resources[0] : "", s =
|
|
806
|
+
o = zt(l);
|
|
807
|
+
const i = e.resources ? e.resources[0] : "", s = Oe(i);
|
|
805
808
|
s && (r = s.send);
|
|
806
809
|
}
|
|
807
810
|
}
|
|
808
|
-
return !o || !r ? (t(void 0, 424),
|
|
811
|
+
return !o || !r ? (t(void 0, 424), it) : o.query(n, r, t)().abort;
|
|
809
812
|
}
|
|
810
|
-
function
|
|
813
|
+
function st() {
|
|
811
814
|
}
|
|
812
|
-
function
|
|
815
|
+
function Bn(e) {
|
|
813
816
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
814
817
|
e.iconsLoaderFlag = !1, En(e);
|
|
815
818
|
}));
|
|
816
819
|
}
|
|
817
|
-
function
|
|
820
|
+
function qn(e) {
|
|
818
821
|
const n = [], t = [];
|
|
819
822
|
return e.forEach((o) => {
|
|
820
|
-
(o.match(
|
|
823
|
+
(o.match(yt) ? n : t).push(o);
|
|
821
824
|
}), {
|
|
822
825
|
valid: n,
|
|
823
826
|
invalid: t
|
|
@@ -832,23 +835,23 @@ function oe(e, n, t) {
|
|
|
832
835
|
}
|
|
833
836
|
if (t && typeof t == "object")
|
|
834
837
|
try {
|
|
835
|
-
if (
|
|
838
|
+
if (!$t(e, t).length) {
|
|
836
839
|
o();
|
|
837
840
|
return;
|
|
838
841
|
}
|
|
839
842
|
} catch (r) {
|
|
840
843
|
console.error(r);
|
|
841
844
|
}
|
|
842
|
-
o(),
|
|
845
|
+
o(), Bn(e);
|
|
843
846
|
}
|
|
844
|
-
function
|
|
847
|
+
function at(e, n) {
|
|
845
848
|
e instanceof Promise ? e.then((t) => {
|
|
846
849
|
n(t);
|
|
847
850
|
}).catch(() => {
|
|
848
851
|
n(null);
|
|
849
852
|
}) : n(e);
|
|
850
853
|
}
|
|
851
|
-
function
|
|
854
|
+
function Nn(e, n) {
|
|
852
855
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(n).sort() : e.iconsToLoad = n, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
853
856
|
e.iconsQueueFlag = !1;
|
|
854
857
|
const { provider: t, prefix: o } = e, r = e.iconsToLoad;
|
|
@@ -856,7 +859,7 @@ function qn(e, n) {
|
|
|
856
859
|
return;
|
|
857
860
|
const l = e.loadIcon;
|
|
858
861
|
if (e.loadIcons && (r.length > 1 || !l)) {
|
|
859
|
-
|
|
862
|
+
at(
|
|
860
863
|
e.loadIcons(r, o, t),
|
|
861
864
|
(d) => {
|
|
862
865
|
oe(e, r, d);
|
|
@@ -867,7 +870,7 @@ function qn(e, n) {
|
|
|
867
870
|
if (l) {
|
|
868
871
|
r.forEach((d) => {
|
|
869
872
|
const f = l(d, o, t);
|
|
870
|
-
|
|
873
|
+
at(f, (g) => {
|
|
871
874
|
const c = g ? {
|
|
872
875
|
prefix: o,
|
|
873
876
|
icons: {
|
|
@@ -879,23 +882,23 @@ function qn(e, n) {
|
|
|
879
882
|
});
|
|
880
883
|
return;
|
|
881
884
|
}
|
|
882
|
-
const { valid: i, invalid: s } =
|
|
885
|
+
const { valid: i, invalid: s } = qn(r);
|
|
883
886
|
if (s.length && oe(e, s, null), !i.length)
|
|
884
887
|
return;
|
|
885
|
-
const a = o.match(
|
|
888
|
+
const a = o.match(yt) ? Oe(t) : null;
|
|
886
889
|
if (!a) {
|
|
887
890
|
oe(e, i, null);
|
|
888
891
|
return;
|
|
889
892
|
}
|
|
890
893
|
a.prepare(t, o, i).forEach((d) => {
|
|
891
|
-
|
|
894
|
+
Zn(t, d, (f) => {
|
|
892
895
|
oe(e, d.icons, f);
|
|
893
896
|
});
|
|
894
897
|
});
|
|
895
898
|
}));
|
|
896
899
|
}
|
|
897
|
-
const
|
|
898
|
-
const t =
|
|
900
|
+
const jn = (e, n) => {
|
|
901
|
+
const t = Hn(e, !0, It()), o = kn(t);
|
|
899
902
|
if (!o.pending.length) {
|
|
900
903
|
let a = !0;
|
|
901
904
|
return n && setTimeout(() => {
|
|
@@ -903,7 +906,7 @@ const Nn = (e, n) => {
|
|
|
903
906
|
o.loaded,
|
|
904
907
|
o.missing,
|
|
905
908
|
o.pending,
|
|
906
|
-
|
|
909
|
+
st
|
|
907
910
|
);
|
|
908
911
|
}), () => {
|
|
909
912
|
a = !1;
|
|
@@ -923,22 +926,22 @@ const Nn = (e, n) => {
|
|
|
923
926
|
c.has(f) || (c.add(f), r[u][d].push(f));
|
|
924
927
|
}), l.forEach((a) => {
|
|
925
928
|
const u = r[a.provider][a.prefix];
|
|
926
|
-
u.length &&
|
|
927
|
-
}), n ?
|
|
929
|
+
u.length && Nn(a, u);
|
|
930
|
+
}), n ? An(n, o, l) : st;
|
|
928
931
|
};
|
|
929
|
-
function
|
|
932
|
+
function Un(e, n) {
|
|
930
933
|
const t = {
|
|
931
934
|
...e
|
|
932
935
|
};
|
|
933
936
|
for (const o in n) {
|
|
934
937
|
const r = n[o], l = typeof r;
|
|
935
|
-
o in
|
|
938
|
+
o in Ft ? (r === null || r && (l === "string" || l === "number")) && (t[o] = r) : l === typeof t[o] && (t[o] = o === "rotate" ? r % 4 : r);
|
|
936
939
|
}
|
|
937
940
|
return t;
|
|
938
941
|
}
|
|
939
|
-
const
|
|
940
|
-
function
|
|
941
|
-
n.split(
|
|
942
|
+
const Kn = /[\s,]+/;
|
|
943
|
+
function Xn(e, n) {
|
|
944
|
+
n.split(Kn).forEach((t) => {
|
|
942
945
|
switch (t.trim()) {
|
|
943
946
|
case "horizontal":
|
|
944
947
|
e.hFlip = !0;
|
|
@@ -949,7 +952,7 @@ function Kn(e, n) {
|
|
|
949
952
|
}
|
|
950
953
|
});
|
|
951
954
|
}
|
|
952
|
-
function
|
|
955
|
+
function Qn(e, n = 0) {
|
|
953
956
|
const t = e.replace(/^-?[0-9.]*/, "");
|
|
954
957
|
function o(r) {
|
|
955
958
|
for (; r < 0; )
|
|
@@ -975,59 +978,59 @@ function Xn(e, n = 0) {
|
|
|
975
978
|
}
|
|
976
979
|
return n;
|
|
977
980
|
}
|
|
978
|
-
function
|
|
981
|
+
function Wn(e, n) {
|
|
979
982
|
let t = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
980
983
|
for (const o in n)
|
|
981
984
|
t += " " + o + '="' + n[o] + '"';
|
|
982
985
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + t + ">" + e + "</svg>";
|
|
983
986
|
}
|
|
984
|
-
function Wn(e) {
|
|
985
|
-
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
986
|
-
}
|
|
987
987
|
function Yn(e) {
|
|
988
|
-
return "
|
|
988
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
989
989
|
}
|
|
990
990
|
function Jn(e) {
|
|
991
|
-
return
|
|
991
|
+
return "data:image/svg+xml," + Yn(e);
|
|
992
992
|
}
|
|
993
|
-
|
|
994
|
-
|
|
993
|
+
function eo(e) {
|
|
994
|
+
return 'url("' + Jn(e) + '")';
|
|
995
|
+
}
|
|
996
|
+
const ut = {
|
|
997
|
+
...Pt,
|
|
995
998
|
inline: !1
|
|
996
|
-
},
|
|
999
|
+
}, to = {
|
|
997
1000
|
xmlns: "http://www.w3.org/2000/svg",
|
|
998
1001
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
999
1002
|
"aria-hidden": !0,
|
|
1000
1003
|
role: "img"
|
|
1001
|
-
},
|
|
1004
|
+
}, no = {
|
|
1002
1005
|
display: "inline-block"
|
|
1003
|
-
},
|
|
1006
|
+
}, Te = {
|
|
1004
1007
|
backgroundColor: "currentColor"
|
|
1005
|
-
},
|
|
1008
|
+
}, bt = {
|
|
1006
1009
|
backgroundColor: "transparent"
|
|
1007
|
-
},
|
|
1010
|
+
}, ct = {
|
|
1008
1011
|
Image: "var(--svg)",
|
|
1009
1012
|
Repeat: "no-repeat",
|
|
1010
1013
|
Size: "100% 100%"
|
|
1011
|
-
},
|
|
1012
|
-
webkitMask:
|
|
1013
|
-
mask:
|
|
1014
|
-
background:
|
|
1014
|
+
}, dt = {
|
|
1015
|
+
webkitMask: Te,
|
|
1016
|
+
mask: Te,
|
|
1017
|
+
background: bt
|
|
1015
1018
|
};
|
|
1016
|
-
for (const e in
|
|
1017
|
-
const n =
|
|
1018
|
-
for (const t in
|
|
1019
|
-
n[e + t] =
|
|
1019
|
+
for (const e in dt) {
|
|
1020
|
+
const n = dt[e];
|
|
1021
|
+
for (const t in ct)
|
|
1022
|
+
n[e + t] = ct[t];
|
|
1020
1023
|
}
|
|
1021
1024
|
const Ce = {};
|
|
1022
1025
|
["horizontal", "vertical"].forEach((e) => {
|
|
1023
1026
|
const n = e.slice(0, 1) + "Flip";
|
|
1024
1027
|
Ce[e + "-flip"] = n, Ce[e.slice(0, 1) + "-flip"] = n, Ce[e + "Flip"] = n;
|
|
1025
1028
|
});
|
|
1026
|
-
function
|
|
1029
|
+
function gt(e) {
|
|
1027
1030
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1028
1031
|
}
|
|
1029
|
-
const
|
|
1030
|
-
const t =
|
|
1032
|
+
const ft = (e, n) => {
|
|
1033
|
+
const t = Un(ut, n), o = { ...to }, r = n.mode || "svg", l = {}, i = n.style, s = typeof i == "object" && !(i instanceof Array) ? i : {};
|
|
1031
1034
|
for (let m in n) {
|
|
1032
1035
|
const h = n[m];
|
|
1033
1036
|
if (h !== void 0)
|
|
@@ -1047,7 +1050,7 @@ const gt = (e, n) => {
|
|
|
1047
1050
|
break;
|
|
1048
1051
|
// Flip as string: 'horizontal,vertical'
|
|
1049
1052
|
case "flip":
|
|
1050
|
-
typeof h == "string" &&
|
|
1053
|
+
typeof h == "string" && Xn(t, h);
|
|
1051
1054
|
break;
|
|
1052
1055
|
// Color: override style
|
|
1053
1056
|
case "color":
|
|
@@ -1055,7 +1058,7 @@ const gt = (e, n) => {
|
|
|
1055
1058
|
break;
|
|
1056
1059
|
// Rotation as string
|
|
1057
1060
|
case "rotate":
|
|
1058
|
-
typeof h == "string" ? t[m] =
|
|
1061
|
+
typeof h == "string" ? t[m] = Qn(h) : typeof h == "number" && (t[m] = h);
|
|
1059
1062
|
break;
|
|
1060
1063
|
// Remove aria-hidden
|
|
1061
1064
|
case "ariaHidden":
|
|
@@ -1064,36 +1067,36 @@ const gt = (e, n) => {
|
|
|
1064
1067
|
break;
|
|
1065
1068
|
default: {
|
|
1066
1069
|
const v = Ce[m];
|
|
1067
|
-
v ? (h === !0 || h === "true" || h === 1) && (t[v] = !0) :
|
|
1070
|
+
v ? (h === !0 || h === "true" || h === 1) && (t[v] = !0) : ut[m] === void 0 && (o[m] = h);
|
|
1068
1071
|
}
|
|
1069
1072
|
}
|
|
1070
1073
|
}
|
|
1071
|
-
const a =
|
|
1074
|
+
const a = wn(e, t), u = a.attributes;
|
|
1072
1075
|
if (t.inline && (l.verticalAlign = "-0.125em"), r === "svg") {
|
|
1073
1076
|
o.style = {
|
|
1074
1077
|
...l,
|
|
1075
1078
|
...s
|
|
1076
1079
|
}, Object.assign(o, u);
|
|
1077
1080
|
let m = 0, h = n.id;
|
|
1078
|
-
return typeof h == "string" && (h = h.replace(/-/g, "_")), o.innerHTML =
|
|
1081
|
+
return typeof h == "string" && (h = h.replace(/-/g, "_")), o.innerHTML = xn(a.body, h ? () => h + "ID" + m++ : "iconifyVue"), X("svg", o);
|
|
1079
1082
|
}
|
|
1080
|
-
const { body: d, width: f, height: g } = e, c = r === "mask" || (r === "bg" ? !1 : d.indexOf("currentColor") !== -1), p =
|
|
1083
|
+
const { body: d, width: f, height: g } = e, c = r === "mask" || (r === "bg" ? !1 : d.indexOf("currentColor") !== -1), p = Wn(d, {
|
|
1081
1084
|
...u,
|
|
1082
1085
|
width: f + "",
|
|
1083
1086
|
height: g + ""
|
|
1084
1087
|
});
|
|
1085
1088
|
return o.style = {
|
|
1086
1089
|
...l,
|
|
1087
|
-
"--svg":
|
|
1088
|
-
width:
|
|
1089
|
-
height:
|
|
1090
|
-
...
|
|
1091
|
-
...c ?
|
|
1090
|
+
"--svg": eo(p),
|
|
1091
|
+
width: gt(u.width),
|
|
1092
|
+
height: gt(u.height),
|
|
1093
|
+
...no,
|
|
1094
|
+
...c ? Te : bt,
|
|
1092
1095
|
...s
|
|
1093
1096
|
}, X("span", o);
|
|
1094
1097
|
};
|
|
1095
|
-
|
|
1096
|
-
|
|
1098
|
+
It(!0);
|
|
1099
|
+
Rn("", bn);
|
|
1097
1100
|
if (typeof document < "u" && typeof window < "u") {
|
|
1098
1101
|
const e = window;
|
|
1099
1102
|
if (e.IconifyPreload !== void 0) {
|
|
@@ -1103,7 +1106,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1103
1106
|
// Check if item is an object and not null/array
|
|
1104
1107
|
(typeof o != "object" || o === null || o instanceof Array || // Check for 'icons' and 'prefix'
|
|
1105
1108
|
typeof o.icons != "object" || typeof o.prefix != "string" || // Add icon set
|
|
1106
|
-
!
|
|
1109
|
+
!fn(o)) && console.error(t);
|
|
1107
1110
|
} catch {
|
|
1108
1111
|
console.error(t);
|
|
1109
1112
|
}
|
|
@@ -1118,22 +1121,22 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1118
1121
|
const r = n[t];
|
|
1119
1122
|
if (typeof r != "object" || !r || r.resources === void 0)
|
|
1120
1123
|
continue;
|
|
1121
|
-
|
|
1124
|
+
Mn(t, r) || console.error(o);
|
|
1122
1125
|
} catch {
|
|
1123
1126
|
console.error(o);
|
|
1124
1127
|
}
|
|
1125
1128
|
}
|
|
1126
1129
|
}
|
|
1127
1130
|
}
|
|
1128
|
-
const
|
|
1131
|
+
const oo = {
|
|
1129
1132
|
...xe,
|
|
1130
1133
|
body: ""
|
|
1131
|
-
},
|
|
1134
|
+
}, ro = F((e, { emit: n }) => {
|
|
1132
1135
|
const t = Q(null);
|
|
1133
1136
|
function o() {
|
|
1134
1137
|
t.value && (t.value.abort?.(), t.value = null);
|
|
1135
1138
|
}
|
|
1136
|
-
const r = Q(!!e.ssr), l = Q(""), i =
|
|
1139
|
+
const r = Q(!!e.ssr), l = Q(""), i = Ct(null);
|
|
1137
1140
|
function s() {
|
|
1138
1141
|
const u = e.icon;
|
|
1139
1142
|
if (typeof u == "object" && u !== null && typeof u.body == "string")
|
|
@@ -1143,17 +1146,17 @@ const no = {
|
|
|
1143
1146
|
let d;
|
|
1144
1147
|
if (typeof u != "string" || (d = ye(u, !1, !0)) === null)
|
|
1145
1148
|
return null;
|
|
1146
|
-
let f =
|
|
1149
|
+
let f = dn(d);
|
|
1147
1150
|
if (!f) {
|
|
1148
1151
|
const p = t.value;
|
|
1149
1152
|
return (!p || p.name !== u) && (f === null ? t.value = {
|
|
1150
1153
|
name: u
|
|
1151
1154
|
} : t.value = {
|
|
1152
1155
|
name: u,
|
|
1153
|
-
abort:
|
|
1156
|
+
abort: jn([d], a)
|
|
1154
1157
|
}), null;
|
|
1155
1158
|
}
|
|
1156
|
-
o(), l.value !== u && (l.value = u,
|
|
1159
|
+
o(), l.value !== u && (l.value = u, Ut(() => {
|
|
1157
1160
|
n("load", u);
|
|
1158
1161
|
}));
|
|
1159
1162
|
const g = e.customise;
|
|
@@ -1169,17 +1172,17 @@ const no = {
|
|
|
1169
1172
|
const u = s();
|
|
1170
1173
|
u ? u.data !== i.value?.data && (i.value = u) : i.value = null;
|
|
1171
1174
|
}
|
|
1172
|
-
return r.value ? a() :
|
|
1175
|
+
return r.value ? a() : Lt(() => {
|
|
1173
1176
|
r.value = !0, a();
|
|
1174
|
-
}),
|
|
1177
|
+
}), vt(() => e.icon, a), wt(o), () => {
|
|
1175
1178
|
const u = i.value;
|
|
1176
1179
|
if (!u)
|
|
1177
|
-
return
|
|
1180
|
+
return ft(oo, e);
|
|
1178
1181
|
let d = e;
|
|
1179
1182
|
return u.classes && (d = {
|
|
1180
1183
|
...e,
|
|
1181
1184
|
class: u.classes.join(" ")
|
|
1182
|
-
}),
|
|
1185
|
+
}), ft({
|
|
1183
1186
|
...xe,
|
|
1184
1187
|
...u.data
|
|
1185
1188
|
}, d);
|
|
@@ -1210,19 +1213,19 @@ const no = {
|
|
|
1210
1213
|
"title"
|
|
1211
1214
|
],
|
|
1212
1215
|
emits: ["load"]
|
|
1213
|
-
}),
|
|
1216
|
+
}), lo = /* @__PURE__ */ F({
|
|
1214
1217
|
name: "CmcIcon",
|
|
1215
1218
|
__name: "CmcIcon",
|
|
1216
1219
|
props: {
|
|
1217
|
-
name: { default:
|
|
1220
|
+
name: { default: tt.profile },
|
|
1218
1221
|
color: {}
|
|
1219
1222
|
},
|
|
1220
1223
|
setup(e) {
|
|
1221
1224
|
const n = e, t = x(() => ({
|
|
1222
1225
|
"cmc-icon": !0,
|
|
1223
1226
|
[`cmc-icon--${n.color}`]: n.color
|
|
1224
|
-
})), o = x(() =>
|
|
1225
|
-
return (r, l) => (C(), Y(
|
|
1227
|
+
})), o = x(() => tt[n.name]);
|
|
1228
|
+
return (r, l) => (C(), Y(O(ro), {
|
|
1226
1229
|
class: I(t.value),
|
|
1227
1230
|
icon: o.value
|
|
1228
1231
|
}, null, 8, ["class", "icon"]));
|
|
@@ -1232,13 +1235,13 @@ const no = {
|
|
|
1232
1235
|
for (const [o, r] of n)
|
|
1233
1236
|
t[o] = r;
|
|
1234
1237
|
return t;
|
|
1235
|
-
}, W = /* @__PURE__ */ $(
|
|
1238
|
+
}, W = /* @__PURE__ */ $(lo, [["__scopeId", "data-v-3d2e1b1f"]]), io = ["disabled"], so = { class: "button__icon" }, ao = /* @__PURE__ */ F({
|
|
1236
1239
|
name: "CmcButton",
|
|
1237
1240
|
__name: "CmcButton",
|
|
1238
1241
|
props: {
|
|
1239
|
-
kind: { default:
|
|
1240
|
-
variant: { default:
|
|
1241
|
-
size: { default:
|
|
1242
|
+
kind: { default: tn.primary },
|
|
1243
|
+
variant: { default: nn.default },
|
|
1244
|
+
size: { default: on.medium },
|
|
1242
1245
|
icon: {},
|
|
1243
1246
|
disabled: { type: Boolean, default: !1 },
|
|
1244
1247
|
loading: { type: Boolean, default: !1 }
|
|
@@ -1251,7 +1254,7 @@ const no = {
|
|
|
1251
1254
|
[`button--${t.kind}`]: !0,
|
|
1252
1255
|
[`button--${t.size}`]: !0,
|
|
1253
1256
|
"button--disabled": t.disabled
|
|
1254
|
-
})), l = () => t.loading ?
|
|
1257
|
+
})), l = () => t.loading ? St : t.icon || "", i = () => {
|
|
1255
1258
|
t.disabled || o("click");
|
|
1256
1259
|
};
|
|
1257
1260
|
return (s, a) => (C(), L("button", {
|
|
@@ -1260,20 +1263,20 @@ const no = {
|
|
|
1260
1263
|
onClick: i,
|
|
1261
1264
|
disabled: t.disabled
|
|
1262
1265
|
}, [
|
|
1263
|
-
P("span",
|
|
1266
|
+
P("span", so, [
|
|
1264
1267
|
t.icon || t.loading ? (C(), Y(W, {
|
|
1265
1268
|
key: 0,
|
|
1266
1269
|
name: l()
|
|
1267
1270
|
}, null, 8, ["name"])) : z("", !0)
|
|
1268
1271
|
]),
|
|
1269
|
-
|
|
1270
|
-
], 10,
|
|
1272
|
+
B(s.$slots, "default", {}, void 0, !0)
|
|
1273
|
+
], 10, io));
|
|
1271
1274
|
}
|
|
1272
|
-
}), Tl = /* @__PURE__ */ $(
|
|
1275
|
+
}), Tl = /* @__PURE__ */ $(ao, [["__scopeId", "data-v-d1e66acd"]]), Le = {
|
|
1273
1276
|
h1: "h1",
|
|
1274
1277
|
h2: "h2",
|
|
1275
1278
|
h3: "h3"
|
|
1276
|
-
},
|
|
1279
|
+
}, uo = /* @__PURE__ */ F({
|
|
1277
1280
|
name: "CmcHeading",
|
|
1278
1281
|
__name: "CmcHeading",
|
|
1279
1282
|
props: {
|
|
@@ -1285,36 +1288,36 @@ const no = {
|
|
|
1285
1288
|
[`heading-${n.level}`]: !0
|
|
1286
1289
|
}));
|
|
1287
1290
|
return (o, r) => (C(), L(D, null, [
|
|
1288
|
-
|
|
1291
|
+
O(Le).h1 === n.level ? (C(), L("h1", {
|
|
1289
1292
|
key: 0,
|
|
1290
1293
|
class: I(t.value)
|
|
1291
1294
|
}, [
|
|
1292
|
-
|
|
1295
|
+
B(o.$slots, "default", {}, void 0, !0)
|
|
1293
1296
|
], 2)) : z("", !0),
|
|
1294
|
-
|
|
1297
|
+
O(Le).h2 === n.level ? (C(), L("h2", {
|
|
1295
1298
|
key: 1,
|
|
1296
1299
|
class: I(t.value)
|
|
1297
1300
|
}, [
|
|
1298
|
-
|
|
1301
|
+
B(o.$slots, "default", {}, void 0, !0)
|
|
1299
1302
|
], 2)) : z("", !0),
|
|
1300
|
-
|
|
1303
|
+
O(Le).h3 === n.level ? (C(), L("h3", {
|
|
1301
1304
|
key: 2,
|
|
1302
1305
|
class: I(t.value)
|
|
1303
1306
|
}, [
|
|
1304
|
-
|
|
1307
|
+
B(o.$slots, "default", {}, void 0, !0)
|
|
1305
1308
|
], 2)) : z("", !0)
|
|
1306
1309
|
], 64));
|
|
1307
1310
|
}
|
|
1308
|
-
}),
|
|
1311
|
+
}), co = /* @__PURE__ */ $(uo, [["__scopeId", "data-v-be07be05"]]), go = {
|
|
1309
1312
|
success: "success",
|
|
1310
1313
|
danger: "danger",
|
|
1311
1314
|
warning: "warning"
|
|
1312
|
-
},
|
|
1315
|
+
}, fo = { class: "status__label" }, po = /* @__PURE__ */ F({
|
|
1313
1316
|
name: "CmcStatus",
|
|
1314
1317
|
__name: "CmcStatus",
|
|
1315
1318
|
props: {
|
|
1316
1319
|
text: {},
|
|
1317
|
-
status: { default:
|
|
1320
|
+
status: { default: go.success }
|
|
1318
1321
|
},
|
|
1319
1322
|
setup(e) {
|
|
1320
1323
|
const n = e, t = x(() => ({
|
|
@@ -1325,13 +1328,13 @@ const no = {
|
|
|
1325
1328
|
class: I(t.value)
|
|
1326
1329
|
}, [
|
|
1327
1330
|
r[0] || (r[0] = P("span", { class: "status__dot" }, null, -1)),
|
|
1328
|
-
P("span",
|
|
1331
|
+
P("span", fo, k(n.text), 1)
|
|
1329
1332
|
], 2));
|
|
1330
1333
|
}
|
|
1331
|
-
}), Zl = /* @__PURE__ */ $(
|
|
1334
|
+
}), Zl = /* @__PURE__ */ $(po, [["__scopeId", "data-v-9ebfdda4"]]), kt = {
|
|
1332
1335
|
small: "small",
|
|
1333
1336
|
medium: "medium"
|
|
1334
|
-
},
|
|
1337
|
+
}, Ie = {
|
|
1335
1338
|
text: "text",
|
|
1336
1339
|
number: "number",
|
|
1337
1340
|
date: "date",
|
|
@@ -1343,7 +1346,7 @@ const no = {
|
|
|
1343
1346
|
}, mo = ["for"], ho = {
|
|
1344
1347
|
key: 1,
|
|
1345
1348
|
class: "input__description"
|
|
1346
|
-
}, Co = { class: "input__wrapper" }, Lo = ["id", "type", "placeholder", "required", "disabled", "aria-invalid"], vo = {
|
|
1349
|
+
}, Co = { class: "input__wrapper" }, Lo = ["id", "type", "placeholder", "required", "disabled", "aria-invalid", "min", "max"], vo = {
|
|
1347
1350
|
key: 2,
|
|
1348
1351
|
class: "input__error-message"
|
|
1349
1352
|
}, wo = /* @__PURE__ */ F({
|
|
@@ -1356,17 +1359,19 @@ const no = {
|
|
|
1356
1359
|
required: { type: Boolean, default: !1 },
|
|
1357
1360
|
disabled: { type: Boolean, default: !1 },
|
|
1358
1361
|
errorMessage: {},
|
|
1359
|
-
type: { default:
|
|
1362
|
+
type: { default: Ie.text },
|
|
1360
1363
|
variant: { default: ue.underline },
|
|
1361
|
-
size: { default:
|
|
1362
|
-
description: {}
|
|
1364
|
+
size: { default: kt.medium },
|
|
1365
|
+
description: {},
|
|
1366
|
+
min: {},
|
|
1367
|
+
max: {}
|
|
1363
1368
|
}, {
|
|
1364
1369
|
modelValue: { default: "" },
|
|
1365
1370
|
modelModifiers: {}
|
|
1366
1371
|
}),
|
|
1367
1372
|
emits: /* @__PURE__ */ U(["update:modelValue"], ["update:modelValue"]),
|
|
1368
1373
|
setup(e, { emit: n }) {
|
|
1369
|
-
const t = e, o = n, r = te(e, "modelValue"), l = x(() => !!t.errorMessage), i = x(() => l.value), s =
|
|
1374
|
+
const t = e, o = n, r = te(e, "modelValue"), l = x(() => !!t.errorMessage), i = x(() => l.value), s = Kt(), a = x(() => !!s.right), u = x(() => !!s.left), d = x(() => ({
|
|
1370
1375
|
input: !0,
|
|
1371
1376
|
[`input--${t.size}`]: !0,
|
|
1372
1377
|
"input--required": t.required,
|
|
@@ -1385,10 +1390,10 @@ const no = {
|
|
|
1385
1390
|
key: 0,
|
|
1386
1391
|
for: t.id,
|
|
1387
1392
|
class: "input__label"
|
|
1388
|
-
},
|
|
1389
|
-
t.description ? (C(), L("div", ho,
|
|
1393
|
+
}, k(t.label), 9, mo)) : z("", !0),
|
|
1394
|
+
t.description ? (C(), L("div", ho, k(t.description), 1)) : z("", !0),
|
|
1390
1395
|
P("div", Co, [
|
|
1391
|
-
|
|
1396
|
+
B(f.$slots, "left", {}, void 0, !0),
|
|
1392
1397
|
we(P("input", {
|
|
1393
1398
|
"onUpdate:modelValue": g[0] || (g[0] = (c) => r.value = c),
|
|
1394
1399
|
id: t.id,
|
|
@@ -1397,16 +1402,18 @@ const no = {
|
|
|
1397
1402
|
required: t.required,
|
|
1398
1403
|
disabled: t.disabled,
|
|
1399
1404
|
"aria-invalid": i.value,
|
|
1405
|
+
min: t.type === O(Ie).number ? t.min : void 0,
|
|
1406
|
+
max: t.type === O(Ie).number ? t.max : void 0,
|
|
1400
1407
|
onBlur: g[1] || (g[1] = (c) => o("update:modelValue", r.value))
|
|
1401
1408
|
}, null, 40, Lo), [
|
|
1402
|
-
[
|
|
1409
|
+
[Xt, r.value]
|
|
1403
1410
|
]),
|
|
1404
|
-
|
|
1411
|
+
B(f.$slots, "right", {}, void 0, !0)
|
|
1405
1412
|
]),
|
|
1406
|
-
l.value ? (C(), L("div", vo,
|
|
1413
|
+
l.value ? (C(), L("div", vo, k(t.errorMessage), 1)) : z("", !0)
|
|
1407
1414
|
], 2));
|
|
1408
1415
|
}
|
|
1409
|
-
}), Et = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-
|
|
1416
|
+
}), Et = /* @__PURE__ */ $(wo, [["__scopeId", "data-v-84c6d266"]]), ce = {
|
|
1410
1417
|
outlined: "outlined",
|
|
1411
1418
|
filled: "filled",
|
|
1412
1419
|
underline: "underline"
|
|
@@ -1454,8 +1461,8 @@ const no = {
|
|
|
1454
1461
|
key: 0,
|
|
1455
1462
|
for: e.id,
|
|
1456
1463
|
class: "select__label"
|
|
1457
|
-
},
|
|
1458
|
-
n.description ? (C(), L("div", So,
|
|
1464
|
+
}, k(e.label), 9, _o)) : z("", !0),
|
|
1465
|
+
n.description ? (C(), L("div", So, k(n.description), 1)) : z("", !0),
|
|
1459
1466
|
P("div", yo, [
|
|
1460
1467
|
we(P("select", {
|
|
1461
1468
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
|
|
@@ -1464,14 +1471,14 @@ const no = {
|
|
|
1464
1471
|
disabled: e.disabled,
|
|
1465
1472
|
"aria-invalid": o.value
|
|
1466
1473
|
}, [
|
|
1467
|
-
e.placeholder ? (C(), L("option", Ro,
|
|
1468
|
-
(C(!0), L(D, null,
|
|
1474
|
+
e.placeholder ? (C(), L("option", Ro, k(e.placeholder), 1)) : z("", !0),
|
|
1475
|
+
(C(!0), L(D, null, q(e.options, (s) => (C(), L("option", {
|
|
1469
1476
|
key: s.value,
|
|
1470
1477
|
value: s.value,
|
|
1471
1478
|
disabled: s.disabled
|
|
1472
|
-
},
|
|
1479
|
+
}, k(s.label), 9, Mo))), 128))
|
|
1473
1480
|
], 8, xo), [
|
|
1474
|
-
[
|
|
1481
|
+
[Qt, t.value]
|
|
1475
1482
|
]),
|
|
1476
1483
|
H(W, {
|
|
1477
1484
|
"aria-hidden": "true",
|
|
@@ -1480,7 +1487,7 @@ const no = {
|
|
|
1480
1487
|
name: "chevronDown"
|
|
1481
1488
|
})
|
|
1482
1489
|
]),
|
|
1483
|
-
o.value ? (C(), L("div", $o,
|
|
1490
|
+
o.value ? (C(), L("div", $o, k(e.errorMessage), 1)) : z("", !0)
|
|
1484
1491
|
], 2));
|
|
1485
1492
|
}
|
|
1486
1493
|
}), Bl = /* @__PURE__ */ $(Io, [["__scopeId", "data-v-c434b244"]]), Fo = {}, Po = {
|
|
@@ -1497,7 +1504,7 @@ function Vo(e, n) {
|
|
|
1497
1504
|
}, null, -1)
|
|
1498
1505
|
])]);
|
|
1499
1506
|
}
|
|
1500
|
-
const zo = /* @__PURE__ */ $(Fo, [["render", Vo]]), bo = ["id", "disabled", "required"],
|
|
1507
|
+
const zo = /* @__PURE__ */ $(Fo, [["render", Vo]]), bo = ["id", "disabled", "required"], ko = /* @__PURE__ */ F({
|
|
1501
1508
|
name: "CmcCheckbox",
|
|
1502
1509
|
__name: "CmcCheckbox",
|
|
1503
1510
|
props: /* @__PURE__ */ U({
|
|
@@ -1526,7 +1533,7 @@ const zo = /* @__PURE__ */ $(Fo, [["render", Vo]]), bo = ["id", "disabled", "req
|
|
|
1526
1533
|
required: n.required,
|
|
1527
1534
|
class: "checkbox__input"
|
|
1528
1535
|
}, null, 8, bo), [
|
|
1529
|
-
[
|
|
1536
|
+
[_t, t.value]
|
|
1530
1537
|
]),
|
|
1531
1538
|
t.value ? (C(), Y(zo, {
|
|
1532
1539
|
key: 0,
|
|
@@ -1534,7 +1541,7 @@ const zo = /* @__PURE__ */ $(Fo, [["render", Vo]]), bo = ["id", "disabled", "req
|
|
|
1534
1541
|
})) : z("", !0)
|
|
1535
1542
|
], 2));
|
|
1536
1543
|
}
|
|
1537
|
-
}), ql = /* @__PURE__ */ $(
|
|
1544
|
+
}), ql = /* @__PURE__ */ $(ko, [["__scopeId", "data-v-b4e66a74"]]), Eo = {}, Do = {
|
|
1538
1545
|
viewBox: "0 0 4498 1782",
|
|
1539
1546
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1540
1547
|
preserveAspectRatio: "xMidYMid meet"
|
|
@@ -1544,7 +1551,7 @@ function Ao(e, n) {
|
|
|
1544
1551
|
Se('<g transform="matrix(4.16667,0,0,4.16667,0,0)"><g transform="matrix(1,0,0,1,379.39,362.303)"><path d="M0,-28.881L-7.753,-7.642L7.755,-7.642L0,-28.881ZM8.935,-4.383L-8.933,-4.383L-12.362,4.945L-16.519,4.945L-2.191,-33.826L2.249,-33.826L16.521,4.945L12.362,4.945L8.935,-4.383Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,429.18,367.249)"><path d="M0,-39.278L4.157,-39.278L-10.734,0L-15.228,0L-30.119,-39.278L-25.849,-39.278L-12.981,-4.27L0,-39.278Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,0,267.67)"><rect x="439.243" y="60.301" width="3.933" height="39.278" style="fill:rgb(3, 2, 245);"></rect></g><g transform="matrix(1,0,0,1,464.023,327.52)"><path d="M0,40.121C-7.866,40.121 -13.036,35.625 -13.261,29.613L-9.103,29.613C-8.766,32.872 -6.349,36.805 0,36.805C5.451,36.805 8.654,33.602 8.654,29.557C8.654,17.981 -12.923,25.287 -12.923,10.508C-12.923,4.44 -7.923,0 -0.337,0C7.136,0 11.632,4.159 12.305,9.554L8.035,9.554C7.586,6.8 4.945,3.429 -0.506,3.373C-5.113,3.316 -8.933,5.845 -8.933,10.396C-8.933,21.747 12.644,14.779 12.644,29.389C12.644,34.727 8.316,40.121 0,40.121" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,517.072,367.585)"><path d="M0,-40.064C8.766,-40.064 15.284,-35.681 18.094,-28.15L13.485,-28.15C11.295,-33.376 6.686,-36.636 0,-36.636C-8.598,-36.636 -15.171,-30.286 -15.171,-20.004C-15.171,-9.776 -8.598,-3.427 0,-3.427C6.686,-3.427 11.295,-6.686 13.485,-11.799L18.094,-11.799C15.284,-4.383 8.766,0 0,0C-10.901,0 -19.217,-8.203 -19.217,-20.004C-19.217,-31.803 -10.901,-40.064 0,-40.064" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,563.49,363.989)"><path d="M0,-32.816L-16.575,-32.816L-16.575,-18.149L-1.686,-18.149L-1.686,-14.891L-16.575,-14.891L-16.575,-0.001L0,-0.001L0,3.259L-20.508,3.259L-20.508,-36.075L0,-36.075L0,-32.816Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,583.048,363.932)"><path d="M0,-32.646L-7.866,-32.646L-7.866,-16.295L0.056,-16.295C6.462,-16.295 9.328,-19.778 9.328,-24.554C9.328,-29.5 6.631,-32.646 0,-32.646M0,-35.962C9.103,-35.962 13.374,-31.016 13.374,-24.554C13.374,-19.161 10.339,-14.609 3.709,-13.372L13.824,3.316L9.103,3.316L-0.617,-13.092L-7.866,-13.092L-7.866,3.316L-11.799,3.316L-11.799,-35.962L0,-35.962Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,601.426,367.249)"><path d="M0,-39.278L25.791,-39.278L25.791,-36.019L14.891,-36.019L14.891,0L10.956,0L10.956,-36.019L0,-36.019L0,-39.278Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,0,267.67)"><rect x="633.458" y="60.301" width="3.933" height="39.278" style="fill:rgb(3, 2, 245);"></rect></g><g transform="matrix(1,0,0,1,646.326,367.249)"><path d="M0,-39.278L21.24,-39.278L21.24,-36.019L3.933,-36.019L3.933,-21.353L18.542,-21.353L18.542,-18.094L3.933,-18.094L3.933,0L0,0L0,-39.278Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,0,267.67)"><rect x="674.032" y="60.301" width="3.933" height="39.278" style="fill:rgb(3, 2, 245);"></rect></g><g transform="matrix(1,0,0,1,701.565,367.248)"><path d="M0,-51.357L0,-47.817L-11.519,-41.131L-11.519,-44.165L0,-51.357ZM5.843,-36.074L-10.732,-36.074L-10.732,-21.408L4.159,-21.408L4.159,-18.15L-10.732,-18.15L-10.732,-3.259L5.843,-3.259L5.843,0L-14.665,0L-14.665,-39.334L5.843,-39.334L5.843,-36.074Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,727.078,327.52)"><path d="M0,40.121C-7.866,40.121 -13.036,35.625 -13.261,29.613L-9.102,29.613C-8.766,32.872 -6.349,36.805 0,36.805C5.45,36.805 8.653,33.602 8.653,29.557C8.653,17.981 -12.924,25.287 -12.924,10.508C-12.924,4.44 -7.923,0 -0.337,0C7.136,0 11.632,4.159 12.305,9.554L8.035,9.554C7.586,6.8 4.945,3.429 -0.506,3.373C-5.113,3.316 -8.935,5.845 -8.935,10.396C-8.935,21.747 12.642,14.779 12.642,29.389C12.642,34.727 8.316,40.121 0,40.121" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,216.883,115.634)"><path d="M0,-0.001C0,31.768 24.932,55.725 57.995,55.725C73.171,55.725 84.443,51.041 91.421,46.922L91.421,29.636C81.798,36.681 69.485,40.82 57.862,40.82C34.363,40.82 17.307,23.652 17.307,-0.001C17.307,-23.654 34.363,-40.821 57.862,-40.821C69.363,-40.821 81.928,-36.549 91.421,-29.53L91.421,-46.805C86.471,-49.812 74.631,-55.726 58.13,-55.726C25.534,-55.726 0,-31.248 0,-0.001" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,308.304,145.164)"><path d="M0,-59.06C-9.494,-66.079 -22.058,-70.351 -33.559,-70.351C-57.059,-70.351 -74.114,-53.183 -74.114,-29.531C-74.114,-5.877 -57.059,11.29 -33.559,11.29C-21.937,11.29 -9.624,7.152 0,0.106L0,17.392C-6.978,21.512 -18.25,26.195 -33.427,26.195C-66.489,26.195 -91.421,2.238 -91.421,-29.531C-91.421,-60.778 -65.888,-85.255 -33.292,-85.255C-16.79,-85.255 -4.951,-79.341 0,-76.334L0,-59.06Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,345.149,169.156)"><path d="M0,-106.911L-16.642,-106.911L-16.642,0L0,0L0,-26.409L52.796,-42.308L52.796,0L69.303,0L69.303,-106.911L52.796,-106.911L52.796,-56.93L0,-41.495L0,-106.911Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,397.946,119.175)"><path d="M0,-6.949L0,-56.93L16.507,-56.93L16.507,49.981L0,49.981L0,7.674L-52.796,23.572L-52.796,49.981L-69.438,49.981L-69.438,-56.93L-52.796,-56.93L-52.796,8.486L0,-6.949Z" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,728.634,123.899)"><path d="M0,-16.662C-13.136,-20.759 -22.446,-24.502 -22.446,-35.372C-22.446,-43.831 -15.656,-49.086 -4.726,-49.086C4.876,-49.086 15.658,-46.076 25.894,-40.57L25.894,-57.956C15.725,-62.015 5.698,-63.99 -4.726,-63.99C-28.739,-63.99 -39.488,-49.55 -39.488,-35.239C-39.488,-14.715 -24.246,-7.194 -9.336,-2.544C4.32,1.881 13.26,5.6 13.26,16.573C13.26,26.2 5.938,32.422 -5.394,32.422C-18.874,32.422 -30.578,26.616 -39.62,21.012L-39.62,38.202C-27.942,44.341 -16.693,47.328 -5.261,47.328C11.979,47.328 30.302,36.502 30.302,16.439C30.302,-5.041 14.661,-11.909 0,-16.662" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,723.374,59.9083)"><path d="M0,111.318C-11.433,111.318 -22.681,108.332 -34.36,102.192L-34.36,85.002C-25.317,90.607 -13.613,96.412 -0.133,96.412C11.199,96.412 18.521,90.191 18.521,80.563C18.521,69.59 9.58,65.872 -4.075,61.446C-18.985,56.796 -34.227,49.275 -34.227,28.751C-34.227,14.441 -23.478,0 0.535,0C10.959,0 20.986,1.975 31.155,6.034L31.155,23.42C20.919,17.915 10.137,14.905 0.535,14.905C-10.395,14.905 -17.185,20.16 -17.185,28.619C-17.185,39.488 -7.875,43.231 5.261,47.328C19.922,52.081 35.562,58.949 35.562,80.43C35.562,100.492 17.24,111.318 0,111.318" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,831.834,171.494)"><path d="M0,-111.585C-31.096,-111.585 -56.394,-86.586 -56.394,-55.859C-56.394,-25.059 -31.096,0 0,0C24.682,0 46.609,-16.122 53.874,-39.395L37.511,-43.796C32.796,-26.446 17.914,-14.905 0,-14.905C-22.282,-14.905 -39.085,-32.512 -39.085,-55.859C-39.085,-79.131 -22.282,-96.68 0,-96.68C11.119,-96.68 21.245,-92.305 28.513,-84.361L29.571,-83.205L0.886,-57.158L-12.148,-70.192L-22.082,-60.259L0.418,-37.755L48.731,-81.63C49.214,-82.067 49.333,-82.777 49.021,-83.355L48.894,-83.591C38.726,-100.912 20.048,-111.585 0,-111.585" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,489.715,74.8138)"><path d="M0,81.774C-22.282,81.774 -39.085,64.167 -39.085,40.82C-39.085,17.548 -22.282,-0.001 0,-0.001C22.281,-0.001 39.083,17.548 39.083,40.82C39.083,64.167 22.281,81.774 0,81.774M0,-14.905C-31.095,-14.905 -56.393,10.093 -56.393,40.82C-56.393,71.62 -31.095,96.679 0,96.679C31.095,96.679 56.393,71.62 56.393,40.82C56.393,10.093 31.095,-14.905 0,-14.905" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,617.892,74.8138)"><path d="M0,81.774C-22.281,81.774 -39.082,64.167 -39.082,40.82C-39.082,17.548 -22.281,-0.001 0,-0.001C22.282,-0.001 39.085,17.548 39.085,40.82C39.085,64.167 22.282,81.774 0,81.774M0,-14.905C-31.094,-14.905 -56.392,10.093 -56.392,40.82C-56.392,71.62 -31.094,96.679 0,96.679C31.096,96.679 56.394,71.62 56.394,40.82C56.394,10.093 31.096,-14.905 0,-14.905" style="fill:rgb(3, 2, 245);fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,142.995,191.8)"><path d="M0,110.256L0.762,110.256L33.091,47.34L42.624,108.297L60.919,108.297L42.89,0L40.347,0L0.836,76.508L-38.804,0L-41.353,0L-59.768,108.297L-41.473,108.297L-31.803,47.321L0,110.256Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,570.119,192.126)"><path d="M0,110.256L0.762,110.256L33.091,47.34L42.624,108.297L60.919,108.297L42.89,0L40.347,0L0.836,76.508L-38.804,0L-41.353,0L-59.768,108.297L-41.473,108.297L-31.803,47.321L0,110.256Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,238.604,194.02)"><path d="M0,106.077L17.539,106.077L17.539,59.077L56.583,0L35.834,0L9.3,42.72L-17.897,0L-38.915,0L0,59.078L0,106.077Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,347.409,302.317)"><path d="M0,-110.517C-32.305,-110.517 -57.61,-86.245 -57.61,-55.259C-57.61,-23.756 -32.899,0 -0.131,0C15.155,0 26.443,-4.807 33.32,-8.938L33.32,-27.81C23.872,-20.456 11.442,-16.102 -0.262,-16.102C-22.799,-16.102 -39.156,-32.57 -39.156,-55.259C-39.156,-77.947 -22.799,-94.415 -0.262,-94.415C11.329,-94.415 24.04,-89.915 33.32,-82.594L33.32,-101.457C28.651,-104.355 16.747,-110.517 0,-110.517" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,664.209,248.494)"><path d="M0,-2.872L14.596,-2.872C28.699,-2.872 35.489,-10.969 35.489,-20.502C35.489,-30.165 28.829,-38.001 14.596,-38.001L0,-38.001L0,-2.872ZM-18.966,52.366L-18.966,-55.238L14.596,-55.238C40.19,-55.238 55.078,-39.698 55.078,-20.502C55.078,-1.305 39.929,14.365 14.596,14.365L0,14.365L0,52.366L-18.966,52.366Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,736.632,216.323)"><path d="M0,59.512L39.211,48.05L22.757,12.584L0,59.512ZM54.49,84.537L46.655,63.276L-7.109,79.045L-8.976,84.537L-30.392,84.537L21.191,-25.025L24.455,-25.025L76.038,84.537L54.49,84.537Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,821.145,193.648)"><path d="M0,107.212L0,-2.22L2.482,-2.22L72.998,68.297C72.868,58.503 72.738,49.623 72.738,39.045L72.738,-0.392L91.412,-0.392L91.412,109.432L88.8,109.432L18.544,38.915C18.674,48.84 18.936,58.373 18.936,68.297L18.936,107.212L0,107.212Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,960.6,193.452)"><path d="M0,107.604L0,60.071L-39.567,0L-16.715,0L10.055,42.049L36.172,0L58.765,0L19.066,60.071L19.066,107.604L0,107.604Z" style="fill-rule:nonzero;"></path></g><g transform="matrix(1,0,0,1,449.772,205.927)"><path d="M0,81.774C-22.282,81.774 -39.085,64.167 -39.085,40.82C-39.085,17.548 -22.282,-0.001 0,-0.001C22.281,-0.001 39.083,17.548 39.083,40.82C39.083,64.167 22.281,81.774 0,81.774M0,-14.905C-31.095,-14.905 -56.393,10.093 -56.393,40.82C-56.393,71.62 -31.095,96.679 0,96.679C31.095,96.679 56.393,71.62 56.393,40.82C56.393,10.093 31.095,-14.905 0,-14.905" style="fill-rule:nonzero;"></path></g></g>', 1)
|
|
1545
1552
|
])]);
|
|
1546
1553
|
}
|
|
1547
|
-
const Ho = /* @__PURE__ */ $(
|
|
1554
|
+
const Ho = /* @__PURE__ */ $(Eo, [["render", Ao]]), Go = {}, Oo = {
|
|
1548
1555
|
viewBox: "0 0 4498 1782",
|
|
1549
1556
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1550
1557
|
};
|
|
@@ -1602,9 +1609,9 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1602
1609
|
return (a, u) => (C(), L("a", {
|
|
1603
1610
|
href: t.href,
|
|
1604
1611
|
class: I(r.value),
|
|
1605
|
-
onClick:
|
|
1612
|
+
onClick: Ae(s, ["prevent"])
|
|
1606
1613
|
}, [
|
|
1607
|
-
(C(), Y(
|
|
1614
|
+
(C(), Y(Wt(i.value)))
|
|
1608
1615
|
], 10, tr));
|
|
1609
1616
|
}
|
|
1610
1617
|
}), Nl = /* @__PURE__ */ $(nr, [["__scopeId", "data-v-cc384ddd"]]), or = "https://cmc-ui-assets.s3.fr-par.scw.cloud/", rr = ["src"], lr = /* @__PURE__ */ F({
|
|
@@ -1654,7 +1661,7 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1654
1661
|
class: "toggle__input",
|
|
1655
1662
|
type: "checkbox"
|
|
1656
1663
|
}, null, 8, sr), [
|
|
1657
|
-
[
|
|
1664
|
+
[_t, t.value]
|
|
1658
1665
|
]),
|
|
1659
1666
|
P("label", {
|
|
1660
1667
|
for: o.value,
|
|
@@ -1710,12 +1717,12 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1710
1717
|
"aria-label": "Page précédente",
|
|
1711
1718
|
onClick: d
|
|
1712
1719
|
}, " ‹ ", 10, dr),
|
|
1713
|
-
(C(!0), L(D, null,
|
|
1720
|
+
(C(!0), L(D, null, q(s.value, (p, m) => (C(), L(D, { key: m }, [
|
|
1714
1721
|
typeof p == "number" ? (C(), L("button", {
|
|
1715
1722
|
key: 0,
|
|
1716
1723
|
class: I(["pagination__page-button", { "is-active": p === l() }]),
|
|
1717
1724
|
onClick: () => o("update:currentPage", p)
|
|
1718
|
-
},
|
|
1725
|
+
}, k(p), 11, gr)) : (C(), L("span", fr, "…"))
|
|
1719
1726
|
], 64))), 128)),
|
|
1720
1727
|
P("button", {
|
|
1721
1728
|
class: I(["pagination__page-button", { "is-invisible": !u.value }]),
|
|
@@ -1725,13 +1732,13 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1725
1732
|
}, " › ", 10, pr)
|
|
1726
1733
|
]));
|
|
1727
1734
|
}
|
|
1728
|
-
}), Cr = /* @__PURE__ */ $(hr, [["__scopeId", "data-v-8be37a19"]]),
|
|
1735
|
+
}), Cr = /* @__PURE__ */ $(hr, [["__scopeId", "data-v-8be37a19"]]), Dt = {
|
|
1729
1736
|
medium: "medium"
|
|
1730
1737
|
}, Lr = /* @__PURE__ */ F({
|
|
1731
1738
|
name: "CmcButtonGroup",
|
|
1732
1739
|
__name: "CmcButtonGroup",
|
|
1733
1740
|
props: {
|
|
1734
|
-
gap: { default:
|
|
1741
|
+
gap: { default: Dt.medium }
|
|
1735
1742
|
},
|
|
1736
1743
|
setup(e) {
|
|
1737
1744
|
const n = e, t = x(() => ({
|
|
@@ -1741,14 +1748,14 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1741
1748
|
return (o, r) => (C(), L("div", {
|
|
1742
1749
|
class: I(t.value)
|
|
1743
1750
|
}, [
|
|
1744
|
-
|
|
1751
|
+
B(o.$slots, "default", {}, void 0, !0)
|
|
1745
1752
|
], 2));
|
|
1746
1753
|
}
|
|
1747
1754
|
}), vr = /* @__PURE__ */ $(Lr, [["__scopeId", "data-v-e9a8f405"]]), wr = /* @__PURE__ */ F({
|
|
1748
1755
|
name: "CmcSearch",
|
|
1749
1756
|
__name: "CmcSearch",
|
|
1750
1757
|
props: /* @__PURE__ */ U({
|
|
1751
|
-
size: { default:
|
|
1758
|
+
size: { default: kt.medium },
|
|
1752
1759
|
variant: {},
|
|
1753
1760
|
placeholder: { default: "Rechercher..." }
|
|
1754
1761
|
}, {
|
|
@@ -1776,7 +1783,7 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1776
1783
|
class: "search-bar__input",
|
|
1777
1784
|
type: "search"
|
|
1778
1785
|
}, {
|
|
1779
|
-
left:
|
|
1786
|
+
left: Ue(() => [
|
|
1780
1787
|
H(W, {
|
|
1781
1788
|
color: "light",
|
|
1782
1789
|
"aria-hidden": "true",
|
|
@@ -1818,11 +1825,11 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1818
1825
|
isHighlighted: !1
|
|
1819
1826
|
}), l;
|
|
1820
1827
|
}
|
|
1821
|
-
return (o, r) => (C(!0), L(D, null,
|
|
1828
|
+
return (o, r) => (C(!0), L(D, null, q(t(n.text, n.searchTerm), (l, i) => (C(), L(D, { key: i }, [
|
|
1822
1829
|
l.isHighlighted ? (C(), L("span", {
|
|
1823
1830
|
key: 0,
|
|
1824
1831
|
class: I(["highlight__match", e.highlightClass])
|
|
1825
|
-
},
|
|
1832
|
+
}, k(l.text), 3)) : (C(), L("span", _r, k(l.text), 1))
|
|
1826
1833
|
], 64))), 128));
|
|
1827
1834
|
}
|
|
1828
1835
|
}), yr = /* @__PURE__ */ $(Sr, [["__scopeId", "data-v-914c4ca9"]]), xr = {
|
|
@@ -1866,9 +1873,9 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1866
1873
|
function p(v) {
|
|
1867
1874
|
i.value = !0, o("update:modelValue", v);
|
|
1868
1875
|
}
|
|
1869
|
-
|
|
1876
|
+
Lt(() => {
|
|
1870
1877
|
window.addEventListener("click", c);
|
|
1871
|
-
}),
|
|
1878
|
+
}), wt(() => {
|
|
1872
1879
|
window.removeEventListener("click", c);
|
|
1873
1880
|
});
|
|
1874
1881
|
const m = x(() => ({
|
|
@@ -1897,7 +1904,7 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1897
1904
|
type: "search",
|
|
1898
1905
|
variant: "outlined"
|
|
1899
1906
|
}, {
|
|
1900
|
-
right:
|
|
1907
|
+
right: Ue(() => [
|
|
1901
1908
|
H(W, {
|
|
1902
1909
|
class: I(h.value),
|
|
1903
1910
|
"aria-hidden": "true",
|
|
@@ -1917,7 +1924,7 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1917
1924
|
name: "loading"
|
|
1918
1925
|
})) : z("", !0),
|
|
1919
1926
|
u.value.length > 0 ? (C(), L("ul", Rr, [
|
|
1920
|
-
(C(!0), L(D, null,
|
|
1927
|
+
(C(!0), L(D, null, q(u.value, (y, M) => (C(), L("li", {
|
|
1921
1928
|
key: M,
|
|
1922
1929
|
onClick: (V) => d(y)
|
|
1923
1930
|
}, [
|
|
@@ -1926,7 +1933,7 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1926
1933
|
text: y
|
|
1927
1934
|
}, null, 8, ["search-term", "text"])
|
|
1928
1935
|
], 8, Mr))), 128))
|
|
1929
|
-
])) : i.value && !u.value.length ? (C(), L("div", $r,
|
|
1936
|
+
])) : i.value && !u.value.length ? (C(), L("div", $r, k(t.emptyValue), 1)) : z("", !0)
|
|
1930
1937
|
])) : z("", !0)
|
|
1931
1938
|
], 34));
|
|
1932
1939
|
}
|
|
@@ -1935,11 +1942,11 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1935
1942
|
__name: "CmcTitle",
|
|
1936
1943
|
setup(e) {
|
|
1937
1944
|
return (n, t) => (C(), L(D, null, [
|
|
1938
|
-
H(
|
|
1939
|
-
level:
|
|
1945
|
+
H(co, {
|
|
1946
|
+
level: O(Le).h1
|
|
1940
1947
|
}, {
|
|
1941
|
-
default:
|
|
1942
|
-
|
|
1948
|
+
default: Ue(() => [
|
|
1949
|
+
B(n.$slots, "default")
|
|
1943
1950
|
]),
|
|
1944
1951
|
_: 3
|
|
1945
1952
|
}, 8, ["level"]),
|
|
@@ -1957,14 +1964,14 @@ const Qo = /* @__PURE__ */ $(Uo, [["render", Xo]]), Wo = {
|
|
|
1957
1964
|
*
|
|
1958
1965
|
* @license MIT
|
|
1959
1966
|
*/
|
|
1960
|
-
function
|
|
1967
|
+
function j(e, n) {
|
|
1961
1968
|
return typeof e == "function" ? e(n) : e;
|
|
1962
1969
|
}
|
|
1963
1970
|
function A(e, n) {
|
|
1964
1971
|
return (t) => {
|
|
1965
1972
|
n.setState((o) => ({
|
|
1966
1973
|
...o,
|
|
1967
|
-
[e]:
|
|
1974
|
+
[e]: j(t, o[e])
|
|
1968
1975
|
}));
|
|
1969
1976
|
};
|
|
1970
1977
|
}
|
|
@@ -2082,7 +2089,7 @@ function zr(e, n, t, o) {
|
|
|
2082
2089
|
return f;
|
|
2083
2090
|
}
|
|
2084
2091
|
const b = "debugHeaders";
|
|
2085
|
-
function
|
|
2092
|
+
function pt(e, n, t) {
|
|
2086
2093
|
var o;
|
|
2087
2094
|
let l = {
|
|
2088
2095
|
id: (o = t.id) != null ? o : n.id,
|
|
@@ -2163,7 +2170,7 @@ function de(e, n, t, o) {
|
|
|
2163
2170
|
if (S && h.column.parent ? y = h.column.parent : (y = h.column, M = !0), v && v?.column === y)
|
|
2164
2171
|
v.subHeaders.push(h);
|
|
2165
2172
|
else {
|
|
2166
|
-
const V =
|
|
2173
|
+
const V = pt(t, y, {
|
|
2167
2174
|
id: [o, c, y.id, h?.id].filter(Boolean).join("_"),
|
|
2168
2175
|
isPlaceholder: M,
|
|
2169
2176
|
placeholderId: M ? `${m.filter((R) => R.column === y).length}` : void 0,
|
|
@@ -2174,7 +2181,7 @@ function de(e, n, t, o) {
|
|
|
2174
2181
|
}
|
|
2175
2182
|
p.headers.push(h), h.headerGroup = p;
|
|
2176
2183
|
}), a.push(p), c > 0 && u(m, c - 1);
|
|
2177
|
-
}, d = n.map((g, c) =>
|
|
2184
|
+
}, d = n.map((g, c) => pt(t, g, {
|
|
2178
2185
|
depth: i,
|
|
2179
2186
|
index: c
|
|
2180
2187
|
}));
|
|
@@ -2196,7 +2203,7 @@ function de(e, n, t, o) {
|
|
|
2196
2203
|
});
|
|
2197
2204
|
return f((r = (l = a[0]) == null ? void 0 : l.headers) != null ? r : []), a;
|
|
2198
2205
|
}
|
|
2199
|
-
const
|
|
2206
|
+
const kr = (e, n, t, o, r, l, i) => {
|
|
2200
2207
|
let s = {
|
|
2201
2208
|
id: n,
|
|
2202
2209
|
index: o,
|
|
@@ -2243,54 +2250,54 @@ const Er = (e, n, t, o, r, l, i) => {
|
|
|
2243
2250
|
u == null || u.createRow == null || u.createRow(s, e);
|
|
2244
2251
|
}
|
|
2245
2252
|
return s;
|
|
2246
|
-
},
|
|
2253
|
+
}, Er = {
|
|
2247
2254
|
createColumn: (e, n) => {
|
|
2248
2255
|
e._getFacetedRowModel = n.options.getFacetedRowModel && n.options.getFacetedRowModel(n, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : n.getPreFilteredRowModel(), e._getFacetedUniqueValues = n.options.getFacetedUniqueValues && n.options.getFacetedUniqueValues(n, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = n.options.getFacetedMinMaxValues && n.options.getFacetedMinMaxValues(n, e.id), e.getFacetedMinMaxValues = () => {
|
|
2249
2256
|
if (e._getFacetedMinMaxValues)
|
|
2250
2257
|
return e._getFacetedMinMaxValues();
|
|
2251
2258
|
};
|
|
2252
2259
|
}
|
|
2253
|
-
},
|
|
2260
|
+
}, At = (e, n, t) => {
|
|
2254
2261
|
var o, r;
|
|
2255
2262
|
const l = t == null || (o = t.toString()) == null ? void 0 : o.toLowerCase();
|
|
2256
2263
|
return !!(!((r = e.getValue(n)) == null || (r = r.toString()) == null || (r = r.toLowerCase()) == null) && r.includes(l));
|
|
2257
2264
|
};
|
|
2258
|
-
Dt.autoRemove = (e) => G(e);
|
|
2259
|
-
const At = (e, n, t) => {
|
|
2260
|
-
var o;
|
|
2261
|
-
return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null) && o.includes(t));
|
|
2262
|
-
};
|
|
2263
2265
|
At.autoRemove = (e) => G(e);
|
|
2264
2266
|
const Ht = (e, n, t) => {
|
|
2265
2267
|
var o;
|
|
2266
|
-
return ((o = e.getValue(n)) == null || (o = o.toString()) == null
|
|
2268
|
+
return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null) && o.includes(t));
|
|
2267
2269
|
};
|
|
2268
2270
|
Ht.autoRemove = (e) => G(e);
|
|
2269
2271
|
const Gt = (e, n, t) => {
|
|
2270
2272
|
var o;
|
|
2271
|
-
return (o = e.getValue(n)) == null ? void 0 : o.
|
|
2273
|
+
return ((o = e.getValue(n)) == null || (o = o.toString()) == null ? void 0 : o.toLowerCase()) === t?.toLowerCase();
|
|
2272
2274
|
};
|
|
2273
2275
|
Gt.autoRemove = (e) => G(e);
|
|
2274
|
-
const Ot = (e, n, t) =>
|
|
2276
|
+
const Ot = (e, n, t) => {
|
|
2277
|
+
var o;
|
|
2278
|
+
return (o = e.getValue(n)) == null ? void 0 : o.includes(t);
|
|
2279
|
+
};
|
|
2280
|
+
Ot.autoRemove = (e) => G(e);
|
|
2281
|
+
const Tt = (e, n, t) => !t.some((o) => {
|
|
2275
2282
|
var r;
|
|
2276
2283
|
return !((r = e.getValue(n)) != null && r.includes(o));
|
|
2277
2284
|
});
|
|
2278
|
-
|
|
2279
|
-
const
|
|
2285
|
+
Tt.autoRemove = (e) => G(e) || !(e != null && e.length);
|
|
2286
|
+
const Zt = (e, n, t) => t.some((o) => {
|
|
2280
2287
|
var r;
|
|
2281
2288
|
return (r = e.getValue(n)) == null ? void 0 : r.includes(o);
|
|
2282
2289
|
});
|
|
2283
|
-
|
|
2284
|
-
const
|
|
2285
|
-
Zt.autoRemove = (e) => G(e);
|
|
2286
|
-
const Bt = (e, n, t) => e.getValue(n) == t;
|
|
2290
|
+
Zt.autoRemove = (e) => G(e) || !(e != null && e.length);
|
|
2291
|
+
const Bt = (e, n, t) => e.getValue(n) === t;
|
|
2287
2292
|
Bt.autoRemove = (e) => G(e);
|
|
2288
|
-
const
|
|
2293
|
+
const qt = (e, n, t) => e.getValue(n) == t;
|
|
2294
|
+
qt.autoRemove = (e) => G(e);
|
|
2295
|
+
const We = (e, n, t) => {
|
|
2289
2296
|
let [o, r] = t;
|
|
2290
2297
|
const l = e.getValue(n);
|
|
2291
2298
|
return l >= o && l <= r;
|
|
2292
2299
|
};
|
|
2293
|
-
|
|
2300
|
+
We.resolveFilterValue = (e) => {
|
|
2294
2301
|
let [n, t] = e, o = typeof n != "number" ? parseFloat(n) : n, r = typeof t != "number" ? parseFloat(t) : t, l = n === null || Number.isNaN(o) ? -1 / 0 : o, i = t === null || Number.isNaN(r) ? 1 / 0 : r;
|
|
2295
2302
|
if (l > i) {
|
|
2296
2303
|
const s = l;
|
|
@@ -2298,17 +2305,17 @@ Qe.resolveFilterValue = (e) => {
|
|
|
2298
2305
|
}
|
|
2299
2306
|
return [l, i];
|
|
2300
2307
|
};
|
|
2301
|
-
|
|
2302
|
-
const
|
|
2303
|
-
includesString:
|
|
2304
|
-
includesStringSensitive:
|
|
2305
|
-
equalsString:
|
|
2306
|
-
arrIncludes:
|
|
2307
|
-
arrIncludesAll:
|
|
2308
|
-
arrIncludesSome:
|
|
2309
|
-
equals:
|
|
2310
|
-
weakEquals:
|
|
2311
|
-
inNumberRange:
|
|
2308
|
+
We.autoRemove = (e) => G(e) || G(e[0]) && G(e[1]);
|
|
2309
|
+
const Z = {
|
|
2310
|
+
includesString: At,
|
|
2311
|
+
includesStringSensitive: Ht,
|
|
2312
|
+
equalsString: Gt,
|
|
2313
|
+
arrIncludes: Ot,
|
|
2314
|
+
arrIncludesAll: Tt,
|
|
2315
|
+
arrIncludesSome: Zt,
|
|
2316
|
+
equals: Bt,
|
|
2317
|
+
weakEquals: qt,
|
|
2318
|
+
inNumberRange: We
|
|
2312
2319
|
};
|
|
2313
2320
|
function G(e) {
|
|
2314
2321
|
return e == null || e === "";
|
|
@@ -2329,12 +2336,12 @@ const Dr = {
|
|
|
2329
2336
|
createColumn: (e, n) => {
|
|
2330
2337
|
e.getAutoFilterFn = () => {
|
|
2331
2338
|
const t = n.getCoreRowModel().flatRows[0], o = t?.getValue(e.id);
|
|
2332
|
-
return typeof o == "string" ?
|
|
2339
|
+
return typeof o == "string" ? Z.includesString : typeof o == "number" ? Z.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? Z.equals : Array.isArray(o) ? Z.arrIncludes : Z.weakEquals;
|
|
2333
2340
|
}, e.getFilterFn = () => {
|
|
2334
2341
|
var t, o;
|
|
2335
2342
|
return Re(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
|
|
2336
2343
|
// @ts-ignore
|
|
2337
|
-
(t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t :
|
|
2344
|
+
(t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t : Z[e.columnDef.filterFn]
|
|
2338
2345
|
);
|
|
2339
2346
|
}, e.getCanFilter = () => {
|
|
2340
2347
|
var t, o, r;
|
|
@@ -2347,8 +2354,8 @@ const Dr = {
|
|
|
2347
2354
|
return (t = (o = n.getState().columnFilters) == null ? void 0 : o.findIndex((r) => r.id === e.id)) != null ? t : -1;
|
|
2348
2355
|
}, e.setFilterValue = (t) => {
|
|
2349
2356
|
n.setColumnFilters((o) => {
|
|
2350
|
-
const r = e.getFilterFn(), l = o?.find((d) => d.id === e.id), i =
|
|
2351
|
-
if (
|
|
2357
|
+
const r = e.getFilterFn(), l = o?.find((d) => d.id === e.id), i = j(t, l ? l.value : void 0);
|
|
2358
|
+
if (mt(r, i, e)) {
|
|
2352
2359
|
var s;
|
|
2353
2360
|
return (s = o?.filter((d) => d.id !== e.id)) != null ? s : [];
|
|
2354
2361
|
}
|
|
@@ -2371,11 +2378,11 @@ const Dr = {
|
|
|
2371
2378
|
e.setColumnFilters = (n) => {
|
|
2372
2379
|
const t = e.getAllLeafColumns(), o = (r) => {
|
|
2373
2380
|
var l;
|
|
2374
|
-
return (l =
|
|
2381
|
+
return (l = j(n, r)) == null ? void 0 : l.filter((i) => {
|
|
2375
2382
|
const s = t.find((a) => a.id === i.id);
|
|
2376
2383
|
if (s) {
|
|
2377
2384
|
const a = s.getFilterFn();
|
|
2378
|
-
if (
|
|
2385
|
+
if (mt(a, i.value, s))
|
|
2379
2386
|
return !1;
|
|
2380
2387
|
}
|
|
2381
2388
|
return !0;
|
|
@@ -2388,7 +2395,7 @@ const Dr = {
|
|
|
2388
2395
|
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
|
|
2389
2396
|
}
|
|
2390
2397
|
};
|
|
2391
|
-
function
|
|
2398
|
+
function mt(e, n, t) {
|
|
2392
2399
|
return (e && e.autoRemove ? e.autoRemove(n, t) : !1) || typeof n > "u" || typeof n == "string" && !n;
|
|
2393
2400
|
}
|
|
2394
2401
|
const Ar = (e, n, t) => t.reduce((o, r) => {
|
|
@@ -2428,7 +2435,7 @@ const Ar = (e, n, t) => t.reduce((o, r) => {
|
|
|
2428
2435
|
return t[0];
|
|
2429
2436
|
const o = Math.floor(t.length / 2), r = t.sort((l, i) => l - i);
|
|
2430
2437
|
return t.length % 2 !== 0 ? r[o] : (r[o - 1] + r[o]) / 2;
|
|
2431
|
-
}, Br = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), qr = (e, n) => new Set(n.map((t) => t.getValue(e))).size, Nr = (e, n) => n.length,
|
|
2438
|
+
}, Br = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), qr = (e, n) => new Set(n.map((t) => t.getValue(e))).size, Nr = (e, n) => n.length, Fe = {
|
|
2432
2439
|
sum: Ar,
|
|
2433
2440
|
min: Hr,
|
|
2434
2441
|
max: Gr,
|
|
@@ -2474,14 +2481,14 @@ const Ar = (e, n, t) => t.reduce((o, r) => {
|
|
|
2474
2481
|
}, e.getAutoAggregationFn = () => {
|
|
2475
2482
|
const t = n.getCoreRowModel().flatRows[0], o = t?.getValue(e.id);
|
|
2476
2483
|
if (typeof o == "number")
|
|
2477
|
-
return
|
|
2484
|
+
return Fe.sum;
|
|
2478
2485
|
if (Object.prototype.toString.call(o) === "[object Date]")
|
|
2479
|
-
return
|
|
2486
|
+
return Fe.extent;
|
|
2480
2487
|
}, e.getAggregationFn = () => {
|
|
2481
2488
|
var t, o;
|
|
2482
2489
|
if (!e)
|
|
2483
2490
|
throw new Error();
|
|
2484
|
-
return Re(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (o = n.options.aggregationFns) == null ? void 0 : o[e.columnDef.aggregationFn]) != null ? t :
|
|
2491
|
+
return Re(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (o = n.options.aggregationFns) == null ? void 0 : o[e.columnDef.aggregationFn]) != null ? t : Fe[e.columnDef.aggregationFn];
|
|
2485
2492
|
};
|
|
2486
2493
|
},
|
|
2487
2494
|
createTable: (e) => {
|
|
@@ -2548,12 +2555,12 @@ const Kr = {
|
|
|
2548
2555
|
return Ur(l, t, o);
|
|
2549
2556
|
}, _(e.options, "debugTable", "_getOrderColumnsFn"));
|
|
2550
2557
|
}
|
|
2551
|
-
},
|
|
2558
|
+
}, Pe = () => ({
|
|
2552
2559
|
left: [],
|
|
2553
2560
|
right: []
|
|
2554
2561
|
}), Xr = {
|
|
2555
2562
|
getInitialState: (e) => ({
|
|
2556
|
-
columnPinning:
|
|
2563
|
+
columnPinning: Pe(),
|
|
2557
2564
|
...e
|
|
2558
2565
|
}),
|
|
2559
2566
|
getDefaultOptions: (e) => ({
|
|
@@ -2613,7 +2620,7 @@ const Kr = {
|
|
|
2613
2620
|
createTable: (e) => {
|
|
2614
2621
|
e.setColumnPinning = (n) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(n), e.resetColumnPinning = (n) => {
|
|
2615
2622
|
var t, o;
|
|
2616
|
-
return e.setColumnPinning(n ?
|
|
2623
|
+
return e.setColumnPinning(n ? Pe() : (t = (o = e.initialState) == null ? void 0 : o.columnPinning) != null ? t : Pe());
|
|
2617
2624
|
}, e.getIsSomeColumnsPinned = (n) => {
|
|
2618
2625
|
var t;
|
|
2619
2626
|
const o = e.getState().columnPinning;
|
|
@@ -2635,7 +2642,7 @@ const ge = {
|
|
|
2635
2642
|
size: 150,
|
|
2636
2643
|
minSize: 20,
|
|
2637
2644
|
maxSize: Number.MAX_SAFE_INTEGER
|
|
2638
|
-
},
|
|
2645
|
+
}, Ve = () => ({
|
|
2639
2646
|
startOffset: null,
|
|
2640
2647
|
startSize: null,
|
|
2641
2648
|
deltaOffset: null,
|
|
@@ -2646,7 +2653,7 @@ const ge = {
|
|
|
2646
2653
|
getDefaultColumnDef: () => ge,
|
|
2647
2654
|
getInitialState: (e) => ({
|
|
2648
2655
|
columnSizing: {},
|
|
2649
|
-
columnSizingInfo:
|
|
2656
|
+
columnSizingInfo: Ve(),
|
|
2650
2657
|
...e
|
|
2651
2658
|
}),
|
|
2652
2659
|
getDefaultOptions: (e) => ({
|
|
@@ -2694,19 +2701,19 @@ const ge = {
|
|
|
2694
2701
|
}, e.getResizeHandler = (t) => {
|
|
2695
2702
|
const o = n.getColumn(e.column.id), r = o?.getCanResize();
|
|
2696
2703
|
return (l) => {
|
|
2697
|
-
if (!o || !r || (l.persist == null || l.persist(),
|
|
2704
|
+
if (!o || !r || (l.persist == null || l.persist(), ze(l) && l.touches && l.touches.length > 1))
|
|
2698
2705
|
return;
|
|
2699
|
-
const i = e.getSize(), s = e ? e.getLeafHeaders().map((v) => [v.column.id, v.column.getSize()]) : [[o.id, o.getSize()]], a =
|
|
2706
|
+
const i = e.getSize(), s = e ? e.getLeafHeaders().map((v) => [v.column.id, v.column.getSize()]) : [[o.id, o.getSize()]], a = ze(l) ? Math.round(l.touches[0].clientX) : l.clientX, u = {}, d = (v, S) => {
|
|
2700
2707
|
typeof S == "number" && (n.setColumnSizingInfo((y) => {
|
|
2701
2708
|
var M, V;
|
|
2702
|
-
const R = n.options.columnResizeDirection === "rtl" ? -1 : 1,
|
|
2709
|
+
const R = n.options.columnResizeDirection === "rtl" ? -1 : 1, E = (S - ((M = y?.startOffset) != null ? M : 0)) * R, N = Math.max(E / ((V = y?.startSize) != null ? V : 0), -0.999999);
|
|
2703
2710
|
return y.columnSizingStart.forEach((J) => {
|
|
2704
|
-
let [
|
|
2705
|
-
u[
|
|
2711
|
+
let [T, et] = J;
|
|
2712
|
+
u[T] = Math.round(Math.max(et + et * N, 0) * 100) / 100;
|
|
2706
2713
|
}), {
|
|
2707
2714
|
...y,
|
|
2708
|
-
deltaOffset:
|
|
2709
|
-
deltaPercentage:
|
|
2715
|
+
deltaOffset: E,
|
|
2716
|
+
deltaPercentage: N
|
|
2710
2717
|
};
|
|
2711
2718
|
}), (n.options.columnResizeMode === "onChange" || v === "end") && n.setColumnSizing((y) => ({
|
|
2712
2719
|
...y,
|
|
@@ -2736,7 +2743,7 @@ const ge = {
|
|
|
2736
2743
|
}, h = Yr() ? {
|
|
2737
2744
|
passive: !1
|
|
2738
2745
|
} : !1;
|
|
2739
|
-
|
|
2746
|
+
ze(l) ? (c?.addEventListener("touchmove", m.moveHandler, h), c?.addEventListener("touchend", m.upHandler, h)) : (c?.addEventListener("mousemove", p.moveHandler, h), c?.addEventListener("mouseup", p.upHandler, h)), n.setColumnSizingInfo((v) => ({
|
|
2740
2747
|
...v,
|
|
2741
2748
|
startOffset: a,
|
|
2742
2749
|
startSize: i,
|
|
@@ -2754,7 +2761,7 @@ const ge = {
|
|
|
2754
2761
|
e.setColumnSizing(n ? {} : (t = e.initialState.columnSizing) != null ? t : {});
|
|
2755
2762
|
}, e.resetHeaderSizeInfo = (n) => {
|
|
2756
2763
|
var t;
|
|
2757
|
-
e.setColumnSizingInfo(n ?
|
|
2764
|
+
e.setColumnSizingInfo(n ? Ve() : (t = e.initialState.columnSizingInfo) != null ? t : Ve());
|
|
2758
2765
|
}, e.getTotalSize = () => {
|
|
2759
2766
|
var n, t;
|
|
2760
2767
|
return (n = (t = e.getHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((o, r) => o + r.getSize(), 0)) != null ? n : 0;
|
|
@@ -2787,7 +2794,7 @@ function Yr() {
|
|
|
2787
2794
|
}
|
|
2788
2795
|
return fe = e, fe;
|
|
2789
2796
|
}
|
|
2790
|
-
function
|
|
2797
|
+
function ze(e) {
|
|
2791
2798
|
return e.type === "touchstart";
|
|
2792
2799
|
}
|
|
2793
2800
|
const Jr = {
|
|
@@ -2866,12 +2873,12 @@ const el = {
|
|
|
2866
2873
|
};
|
|
2867
2874
|
},
|
|
2868
2875
|
createTable: (e) => {
|
|
2869
|
-
e.getGlobalAutoFilterFn = () =>
|
|
2876
|
+
e.getGlobalAutoFilterFn = () => Z.includesString, e.getGlobalFilterFn = () => {
|
|
2870
2877
|
var n, t;
|
|
2871
2878
|
const {
|
|
2872
2879
|
globalFilterFn: o
|
|
2873
2880
|
} = e.options;
|
|
2874
|
-
return Re(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n :
|
|
2881
|
+
return Re(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n : Z[o];
|
|
2875
2882
|
}, e.setGlobalFilter = (n) => {
|
|
2876
2883
|
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(n);
|
|
2877
2884
|
}, e.resetGlobalFilter = (n) => {
|
|
@@ -2965,14 +2972,14 @@ const el = {
|
|
|
2965
2972
|
};
|
|
2966
2973
|
};
|
|
2967
2974
|
}
|
|
2968
|
-
},
|
|
2969
|
-
pageIndex:
|
|
2970
|
-
pageSize:
|
|
2975
|
+
}, Ze = 0, Be = 10, be = () => ({
|
|
2976
|
+
pageIndex: Ze,
|
|
2977
|
+
pageSize: Be
|
|
2971
2978
|
}), ol = {
|
|
2972
2979
|
getInitialState: (e) => ({
|
|
2973
2980
|
...e,
|
|
2974
2981
|
pagination: {
|
|
2975
|
-
...
|
|
2982
|
+
...be(),
|
|
2976
2983
|
...e?.pagination
|
|
2977
2984
|
}
|
|
2978
2985
|
}),
|
|
@@ -2996,14 +3003,14 @@ const el = {
|
|
|
2996
3003
|
});
|
|
2997
3004
|
}
|
|
2998
3005
|
}, e.setPagination = (o) => {
|
|
2999
|
-
const r = (l) =>
|
|
3006
|
+
const r = (l) => j(o, l);
|
|
3000
3007
|
return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(r);
|
|
3001
3008
|
}, e.resetPagination = (o) => {
|
|
3002
3009
|
var r;
|
|
3003
|
-
e.setPagination(o ?
|
|
3010
|
+
e.setPagination(o ? be() : (r = e.initialState.pagination) != null ? r : be());
|
|
3004
3011
|
}, e.setPageIndex = (o) => {
|
|
3005
3012
|
e.setPagination((r) => {
|
|
3006
|
-
let l =
|
|
3013
|
+
let l = j(o, r.pageIndex);
|
|
3007
3014
|
const i = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
|
|
3008
3015
|
return l = Math.max(0, Math.min(l, i)), {
|
|
3009
3016
|
...r,
|
|
@@ -3012,13 +3019,13 @@ const el = {
|
|
|
3012
3019
|
});
|
|
3013
3020
|
}, e.resetPageIndex = (o) => {
|
|
3014
3021
|
var r, l;
|
|
3015
|
-
e.setPageIndex(o ?
|
|
3022
|
+
e.setPageIndex(o ? Ze : (r = (l = e.initialState) == null || (l = l.pagination) == null ? void 0 : l.pageIndex) != null ? r : Ze);
|
|
3016
3023
|
}, e.resetPageSize = (o) => {
|
|
3017
3024
|
var r, l;
|
|
3018
|
-
e.setPageSize(o ?
|
|
3025
|
+
e.setPageSize(o ? Be : (r = (l = e.initialState) == null || (l = l.pagination) == null ? void 0 : l.pageSize) != null ? r : Be);
|
|
3019
3026
|
}, e.setPageSize = (o) => {
|
|
3020
3027
|
e.setPagination((r) => {
|
|
3021
|
-
const l = Math.max(1,
|
|
3028
|
+
const l = Math.max(1, j(o, r.pageSize)), i = r.pageSize * r.pageIndex, s = Math.floor(i / l);
|
|
3022
3029
|
return {
|
|
3023
3030
|
...r,
|
|
3024
3031
|
pageIndex: s,
|
|
@@ -3027,7 +3034,7 @@ const el = {
|
|
|
3027
3034
|
});
|
|
3028
3035
|
}, e.setPageCount = (o) => e.setPagination((r) => {
|
|
3029
3036
|
var l;
|
|
3030
|
-
let i =
|
|
3037
|
+
let i = j(o, (l = e.options.pageCount) != null ? l : -1);
|
|
3031
3038
|
return typeof i == "number" && (i = Math.max(-1, i)), {
|
|
3032
3039
|
...r,
|
|
3033
3040
|
pageCount: i
|
|
@@ -3048,12 +3055,12 @@ const el = {
|
|
|
3048
3055
|
return (o = e.options.rowCount) != null ? o : e.getPrePaginationRowModel().rows.length;
|
|
3049
3056
|
};
|
|
3050
3057
|
}
|
|
3051
|
-
},
|
|
3058
|
+
}, ke = () => ({
|
|
3052
3059
|
top: [],
|
|
3053
3060
|
bottom: []
|
|
3054
3061
|
}), rl = {
|
|
3055
3062
|
getInitialState: (e) => ({
|
|
3056
|
-
rowPinning:
|
|
3063
|
+
rowPinning: ke(),
|
|
3057
3064
|
...e
|
|
3058
3065
|
}),
|
|
3059
3066
|
getDefaultOptions: (e) => ({
|
|
@@ -3122,7 +3129,7 @@ const el = {
|
|
|
3122
3129
|
createTable: (e) => {
|
|
3123
3130
|
e.setRowPinning = (n) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(n), e.resetRowPinning = (n) => {
|
|
3124
3131
|
var t, o;
|
|
3125
|
-
return e.setRowPinning(n ?
|
|
3132
|
+
return e.setRowPinning(n ? ke() : (t = (o = e.initialState) == null ? void 0 : o.rowPinning) != null ? t : ke());
|
|
3126
3133
|
}, e.getIsSomeRowsPinned = (n) => {
|
|
3127
3134
|
var t;
|
|
3128
3135
|
const o = e.getState().rowPinning;
|
|
@@ -3187,7 +3194,7 @@ const el = {
|
|
|
3187
3194
|
...t
|
|
3188
3195
|
};
|
|
3189
3196
|
return e.getRowModel().rows.forEach((l) => {
|
|
3190
|
-
|
|
3197
|
+
qe(r, l.id, o, !0, e);
|
|
3191
3198
|
}), r;
|
|
3192
3199
|
}), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = w(() => [e.getState().rowSelection, e.getCoreRowModel()], (n, t) => Object.keys(n).length ? Ee(e, t) : {
|
|
3193
3200
|
rows: [],
|
|
@@ -3236,23 +3243,23 @@ const el = {
|
|
|
3236
3243
|
const s = {
|
|
3237
3244
|
...l
|
|
3238
3245
|
};
|
|
3239
|
-
return
|
|
3246
|
+
return qe(s, e.id, t, (i = o?.selectChildren) != null ? i : !0, n), s;
|
|
3240
3247
|
});
|
|
3241
3248
|
}, e.getIsSelected = () => {
|
|
3242
3249
|
const {
|
|
3243
3250
|
rowSelection: t
|
|
3244
3251
|
} = n.getState();
|
|
3245
|
-
return
|
|
3252
|
+
return Ye(e, t);
|
|
3246
3253
|
}, e.getIsSomeSelected = () => {
|
|
3247
3254
|
const {
|
|
3248
3255
|
rowSelection: t
|
|
3249
3256
|
} = n.getState();
|
|
3250
|
-
return
|
|
3257
|
+
return Ne(e, t) === "some";
|
|
3251
3258
|
}, e.getIsAllSubRowsSelected = () => {
|
|
3252
3259
|
const {
|
|
3253
3260
|
rowSelection: t
|
|
3254
3261
|
} = n.getState();
|
|
3255
|
-
return
|
|
3262
|
+
return Ne(e, t) === "all";
|
|
3256
3263
|
}, e.getCanSelect = () => {
|
|
3257
3264
|
var t;
|
|
3258
3265
|
return typeof n.options.enableRowSelection == "function" ? n.options.enableRowSelection(e) : (t = n.options.enableRowSelection) != null ? t : !0;
|
|
@@ -3270,16 +3277,16 @@ const el = {
|
|
|
3270
3277
|
};
|
|
3271
3278
|
};
|
|
3272
3279
|
}
|
|
3273
|
-
},
|
|
3280
|
+
}, qe = (e, n, t, o, r) => {
|
|
3274
3281
|
var l;
|
|
3275
3282
|
const i = r.getRow(n, !0);
|
|
3276
|
-
t ? (i.getCanMultiSelect() || Object.keys(e).forEach((s) => delete e[s]), i.getCanSelect() && (e[n] = !0)) : delete e[n], o && (l = i.subRows) != null && l.length && i.getCanSelectSubRows() && i.subRows.forEach((s) =>
|
|
3283
|
+
t ? (i.getCanMultiSelect() || Object.keys(e).forEach((s) => delete e[s]), i.getCanSelect() && (e[n] = !0)) : delete e[n], o && (l = i.subRows) != null && l.length && i.getCanSelectSubRows() && i.subRows.forEach((s) => qe(e, s.id, t, o, r));
|
|
3277
3284
|
};
|
|
3278
3285
|
function Ee(e, n) {
|
|
3279
3286
|
const t = e.getState().rowSelection, o = [], r = {}, l = function(i, s) {
|
|
3280
3287
|
return i.map((a) => {
|
|
3281
3288
|
var u;
|
|
3282
|
-
const d =
|
|
3289
|
+
const d = Ye(a, t);
|
|
3283
3290
|
if (d && (o.push(a), r[a.id] = a), (u = a.subRows) != null && u.length && (a = {
|
|
3284
3291
|
...a,
|
|
3285
3292
|
subRows: l(a.subRows)
|
|
@@ -3293,33 +3300,33 @@ function Ee(e, n) {
|
|
|
3293
3300
|
rowsById: r
|
|
3294
3301
|
};
|
|
3295
3302
|
}
|
|
3296
|
-
function
|
|
3303
|
+
function Ye(e, n) {
|
|
3297
3304
|
var t;
|
|
3298
3305
|
return (t = n[e.id]) != null ? t : !1;
|
|
3299
3306
|
}
|
|
3300
|
-
function
|
|
3307
|
+
function Ne(e, n, t) {
|
|
3301
3308
|
var o;
|
|
3302
3309
|
if (!((o = e.subRows) != null && o.length)) return !1;
|
|
3303
3310
|
let r = !0, l = !1;
|
|
3304
3311
|
return e.subRows.forEach((i) => {
|
|
3305
|
-
if (!(l && !r) && (i.getCanSelect() && (
|
|
3306
|
-
const s =
|
|
3312
|
+
if (!(l && !r) && (i.getCanSelect() && (Ye(i, n) ? l = !0 : r = !1), i.subRows && i.subRows.length)) {
|
|
3313
|
+
const s = Ne(i, n);
|
|
3307
3314
|
s === "all" ? l = !0 : (s === "some" && (l = !0), r = !1);
|
|
3308
3315
|
}
|
|
3309
3316
|
}), r ? "all" : l ? "some" : !1;
|
|
3310
3317
|
}
|
|
3311
|
-
const
|
|
3318
|
+
const je = /([0-9]+)/gm, il = (e, n, t) => Nt(K(e.getValue(t)).toLowerCase(), K(n.getValue(t)).toLowerCase()), sl = (e, n, t) => Nt(K(e.getValue(t)), K(n.getValue(t))), al = (e, n, t) => Je(K(e.getValue(t)).toLowerCase(), K(n.getValue(t)).toLowerCase()), ul = (e, n, t) => Je(K(e.getValue(t)), K(n.getValue(t))), cl = (e, n, t) => {
|
|
3312
3319
|
const o = e.getValue(t), r = n.getValue(t);
|
|
3313
3320
|
return o > r ? 1 : o < r ? -1 : 0;
|
|
3314
|
-
}, dl = (e, n, t) =>
|
|
3315
|
-
function
|
|
3321
|
+
}, dl = (e, n, t) => Je(e.getValue(t), n.getValue(t));
|
|
3322
|
+
function Je(e, n) {
|
|
3316
3323
|
return e === n ? 0 : e > n ? 1 : -1;
|
|
3317
3324
|
}
|
|
3318
3325
|
function K(e) {
|
|
3319
3326
|
return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
|
|
3320
3327
|
}
|
|
3321
|
-
function
|
|
3322
|
-
const t = e.split(
|
|
3328
|
+
function Nt(e, n) {
|
|
3329
|
+
const t = e.split(je).filter(Boolean), o = n.split(je).filter(Boolean);
|
|
3323
3330
|
for (; t.length && o.length; ) {
|
|
3324
3331
|
const r = t.shift(), l = o.shift(), i = parseInt(r, 10), s = parseInt(l, 10), a = [i, s].sort();
|
|
3325
3332
|
if (isNaN(a[0])) {
|
|
@@ -3366,7 +3373,7 @@ const re = {
|
|
|
3366
3373
|
const l = r?.getValue(e.id);
|
|
3367
3374
|
if (Object.prototype.toString.call(l) === "[object Date]")
|
|
3368
3375
|
return re.datetime;
|
|
3369
|
-
if (typeof l == "string" && (o = !0, l.split(
|
|
3376
|
+
if (typeof l == "string" && (o = !0, l.split(je).length > 1))
|
|
3370
3377
|
return re.alphanumeric;
|
|
3371
3378
|
}
|
|
3372
3379
|
return o ? re.text : re.basic;
|
|
@@ -3439,7 +3446,7 @@ const re = {
|
|
|
3439
3446
|
Jr,
|
|
3440
3447
|
Kr,
|
|
3441
3448
|
Xr,
|
|
3442
|
-
|
|
3449
|
+
Er,
|
|
3443
3450
|
Dr,
|
|
3444
3451
|
el,
|
|
3445
3452
|
//depends on ColumnFaceting
|
|
@@ -3495,7 +3502,7 @@ function pl(e) {
|
|
|
3495
3502
|
r.setState(r.initialState);
|
|
3496
3503
|
},
|
|
3497
3504
|
setOptions: (g) => {
|
|
3498
|
-
const c =
|
|
3505
|
+
const c = j(g, r.options);
|
|
3499
3506
|
r.options = i(c);
|
|
3500
3507
|
},
|
|
3501
3508
|
getState: () => r.options.state,
|
|
@@ -3571,7 +3578,7 @@ function ml() {
|
|
|
3571
3578
|
l === void 0 && (l = 0);
|
|
3572
3579
|
const s = [];
|
|
3573
3580
|
for (let u = 0; u < r.length; u++) {
|
|
3574
|
-
const d =
|
|
3581
|
+
const d = kr(e, e._getRowId(r[u], u, i), r[u], u, l, void 0, i?.id);
|
|
3575
3582
|
if (t.flatRows.push(d), t.rowsById[d.id] = d, s.push(d), e.options.getSubRows) {
|
|
3576
3583
|
var a;
|
|
3577
3584
|
d.originalSubRows = e.options.getSubRows(r[u], u), (a = d.originalSubRows) != null && a.length && (d.subRows = o(d.originalSubRows, l + 1, d));
|
|
@@ -3668,7 +3675,7 @@ const Cl = Symbol("merge-proxy"), Ll = {
|
|
|
3668
3675
|
return e.keys();
|
|
3669
3676
|
}
|
|
3670
3677
|
};
|
|
3671
|
-
function
|
|
3678
|
+
function De(e) {
|
|
3672
3679
|
return "value" in e ? e.value : e;
|
|
3673
3680
|
}
|
|
3674
3681
|
function le() {
|
|
@@ -3677,33 +3684,33 @@ function le() {
|
|
|
3677
3684
|
return new Proxy({
|
|
3678
3685
|
get(o) {
|
|
3679
3686
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
3680
|
-
const l =
|
|
3687
|
+
const l = De(n[r])[o];
|
|
3681
3688
|
if (l !== void 0) return l;
|
|
3682
3689
|
}
|
|
3683
3690
|
},
|
|
3684
3691
|
has(o) {
|
|
3685
3692
|
for (let r = n.length - 1; r >= 0; r--)
|
|
3686
|
-
if (o in
|
|
3693
|
+
if (o in De(n[r])) return !0;
|
|
3687
3694
|
return !1;
|
|
3688
3695
|
},
|
|
3689
3696
|
keys() {
|
|
3690
3697
|
const o = [];
|
|
3691
|
-
for (let r = 0; r < n.length; r++) o.push(...Object.keys(
|
|
3698
|
+
for (let r = 0; r < n.length; r++) o.push(...Object.keys(De(n[r])));
|
|
3692
3699
|
return [...Array.from(new Set(o))];
|
|
3693
3700
|
}
|
|
3694
3701
|
}, Ll);
|
|
3695
3702
|
}
|
|
3696
|
-
const
|
|
3703
|
+
const jt = F({
|
|
3697
3704
|
props: ["render", "props"],
|
|
3698
3705
|
setup: (e) => () => typeof e.render == "function" || typeof e.render == "object" ? X(e.render, e.props) : e.render
|
|
3699
3706
|
});
|
|
3700
|
-
function
|
|
3707
|
+
function ht(e) {
|
|
3701
3708
|
return le(e, {
|
|
3702
|
-
data:
|
|
3709
|
+
data: O(e.data)
|
|
3703
3710
|
});
|
|
3704
3711
|
}
|
|
3705
3712
|
function vl(e) {
|
|
3706
|
-
const n =
|
|
3713
|
+
const n = Yt(e.data), t = le({
|
|
3707
3714
|
state: {},
|
|
3708
3715
|
// Dummy state
|
|
3709
3716
|
onStateChange: () => {
|
|
@@ -3716,10 +3723,10 @@ function vl(e) {
|
|
|
3716
3723
|
...i
|
|
3717
3724
|
} : le(l, i);
|
|
3718
3725
|
}
|
|
3719
|
-
}, n ?
|
|
3726
|
+
}, n ? ht(e) : e), o = pl(t);
|
|
3720
3727
|
if (n) {
|
|
3721
|
-
const l =
|
|
3722
|
-
|
|
3728
|
+
const l = Ct(e.data);
|
|
3729
|
+
vt(l, () => {
|
|
3723
3730
|
o.setState((i) => ({
|
|
3724
3731
|
...i,
|
|
3725
3732
|
data: l.value
|
|
@@ -3729,13 +3736,13 @@ function vl(e) {
|
|
|
3729
3736
|
});
|
|
3730
3737
|
}
|
|
3731
3738
|
const r = Q(o.initialState);
|
|
3732
|
-
return
|
|
3739
|
+
return Jt(() => {
|
|
3733
3740
|
o.setOptions((l) => {
|
|
3734
3741
|
var i;
|
|
3735
3742
|
const s = new Proxy({}, {
|
|
3736
3743
|
get: (a, u) => r.value[u]
|
|
3737
3744
|
});
|
|
3738
|
-
return le(l, n ?
|
|
3745
|
+
return le(l, n ? ht(e) : e, {
|
|
3739
3746
|
// merge the initialState and `options.state`
|
|
3740
3747
|
// create a new proxy on each `setOptions` call
|
|
3741
3748
|
// and get the value from state on each property access
|
|
@@ -3760,15 +3767,15 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3760
3767
|
return o ? o === "asc" ? "ascending" : "descending" : "none";
|
|
3761
3768
|
};
|
|
3762
3769
|
return (t, o) => (C(), L("thead", null, [
|
|
3763
|
-
(C(!0), L(D, null,
|
|
3770
|
+
(C(!0), L(D, null, q(e.headerGroups, (r) => (C(), L("tr", {
|
|
3764
3771
|
key: r.id
|
|
3765
3772
|
}, [
|
|
3766
|
-
(C(!0), L(D, null,
|
|
3773
|
+
(C(!0), L(D, null, q(r.headers, (l) => (C(), L("th", {
|
|
3767
3774
|
key: l.id,
|
|
3768
3775
|
"aria-sort": n(l),
|
|
3769
3776
|
scope: "col"
|
|
3770
3777
|
}, [
|
|
3771
|
-
l.isPlaceholder ? z("", !0) : (C(), Y(
|
|
3778
|
+
l.isPlaceholder ? z("", !0) : (C(), Y(O(jt), {
|
|
3772
3779
|
key: 0,
|
|
3773
3780
|
props: l.getContext(),
|
|
3774
3781
|
render: l.column.columnDef.header
|
|
@@ -3786,13 +3793,13 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3786
3793
|
},
|
|
3787
3794
|
setup(e) {
|
|
3788
3795
|
return (n, t) => e.rows.length ? (C(), L("tbody", yl, [
|
|
3789
|
-
(C(!0), L(D, null,
|
|
3796
|
+
(C(!0), L(D, null, q(e.rows, (o) => (C(), L("tr", {
|
|
3790
3797
|
key: o.id
|
|
3791
3798
|
}, [
|
|
3792
|
-
(C(!0), L(D, null,
|
|
3799
|
+
(C(!0), L(D, null, q(o.getVisibleCells(), (r) => (C(), L("td", {
|
|
3793
3800
|
key: r.id
|
|
3794
3801
|
}, [
|
|
3795
|
-
H(
|
|
3802
|
+
H(O(jt), {
|
|
3796
3803
|
props: r.getContext(),
|
|
3797
3804
|
render: r.column.columnDef.cell
|
|
3798
3805
|
}, null, 8, ["props", "render"])
|
|
@@ -3804,8 +3811,8 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3804
3811
|
colspan: e.leafColCount,
|
|
3805
3812
|
class: "td__empty"
|
|
3806
3813
|
}, [
|
|
3807
|
-
|
|
3808
|
-
|
|
3814
|
+
B(n.$slots, "empty", {}, () => [
|
|
3815
|
+
en(k(e.emptyText), 1)
|
|
3809
3816
|
], !0)
|
|
3810
3817
|
], 8, Rl)
|
|
3811
3818
|
])
|
|
@@ -3838,7 +3845,7 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3838
3845
|
const h = p().map((v) => o(v));
|
|
3839
3846
|
return X(
|
|
3840
3847
|
vr,
|
|
3841
|
-
{ gap:
|
|
3848
|
+
{ gap: Dt.medium },
|
|
3842
3849
|
() => h
|
|
3843
3850
|
);
|
|
3844
3851
|
}), {
|
|
@@ -3868,10 +3875,10 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3868
3875
|
}), Fl = /* @__PURE__ */ $(Il, [["__scopeId", "data-v-b5d0ccaf"]]), Pl = ["aria-current", "aria-label", "onClick", "onKeydown"], Vl = {
|
|
3869
3876
|
key: 1,
|
|
3870
3877
|
class: "wizard__number"
|
|
3871
|
-
}, zl = { class: "wizard__label" }, bl = ["tabindex", "onClick", "onKeydown"],
|
|
3878
|
+
}, zl = { class: "wizard__label" }, bl = ["tabindex", "onClick", "onKeydown"], kl = {
|
|
3872
3879
|
key: 0,
|
|
3873
3880
|
class: "wizard__separator"
|
|
3874
|
-
},
|
|
3881
|
+
}, El = /* @__PURE__ */ F({
|
|
3875
3882
|
name: "CmcWizard",
|
|
3876
3883
|
__name: "CmcWizard",
|
|
3877
3884
|
props: {
|
|
@@ -3898,7 +3905,7 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3898
3905
|
class: I(["wizard", { "wizard--clickable": e.clickable }]),
|
|
3899
3906
|
role: "list"
|
|
3900
3907
|
}, [
|
|
3901
|
-
(C(!0), L(D, null,
|
|
3908
|
+
(C(!0), L(D, null, q(e.steps, (c, p) => (C(), L(D, { key: p }, [
|
|
3902
3909
|
P("div", {
|
|
3903
3910
|
class: I(["wizard__step", i(p)]),
|
|
3904
3911
|
"aria-current": u(p) ? "step" : void 0,
|
|
@@ -3906,14 +3913,14 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3906
3913
|
onClick: (m) => l(p),
|
|
3907
3914
|
onKeydown: [
|
|
3908
3915
|
ae((m) => l(p), ["enter"]),
|
|
3909
|
-
ae(
|
|
3916
|
+
ae(Ae((m) => l(p), ["prevent"]), ["space"])
|
|
3910
3917
|
]
|
|
3911
3918
|
}, [
|
|
3912
3919
|
a(p) ? (C(), Y(W, {
|
|
3913
3920
|
key: 0,
|
|
3914
3921
|
color: "secondary",
|
|
3915
3922
|
name: "check"
|
|
3916
|
-
})) : (C(), L("span", Vl,
|
|
3923
|
+
})) : (C(), L("span", Vl, k(p + 1), 1))
|
|
3917
3924
|
], 42, Pl),
|
|
3918
3925
|
P("div", zl, [
|
|
3919
3926
|
P("span", {
|
|
@@ -3922,15 +3929,15 @@ const wl = ["aria-sort"], _l = /* @__PURE__ */ F({
|
|
|
3922
3929
|
onClick: (m) => l(p),
|
|
3923
3930
|
onKeydown: [
|
|
3924
3931
|
ae((m) => l(p), ["enter"]),
|
|
3925
|
-
ae(
|
|
3932
|
+
ae(Ae((m) => l(p), ["prevent"]), ["space"])
|
|
3926
3933
|
]
|
|
3927
|
-
},
|
|
3934
|
+
}, k(c.label), 43, bl)
|
|
3928
3935
|
]),
|
|
3929
|
-
o.value !== p ? (C(), L("hr",
|
|
3936
|
+
o.value !== p ? (C(), L("hr", kl)) : z("", !0)
|
|
3930
3937
|
], 64))), 128))
|
|
3931
3938
|
], 2));
|
|
3932
3939
|
}
|
|
3933
|
-
}), Wl = /* @__PURE__ */ $(
|
|
3940
|
+
}), Wl = /* @__PURE__ */ $(El, [["__scopeId", "data-v-f6bee53d"]]), Dl = { class: "table__pagination" }, Al = 10, Hl = /* @__PURE__ */ F({
|
|
3934
3941
|
__name: "CmcTablePagination",
|
|
3935
3942
|
props: {
|
|
3936
3943
|
itemsPerPage: { default: Al },
|
|
@@ -3969,7 +3976,7 @@ export {
|
|
|
3969
3976
|
Tl as CmcButton,
|
|
3970
3977
|
vr as CmcButtonGroup,
|
|
3971
3978
|
ql as CmcCheckbox,
|
|
3972
|
-
|
|
3979
|
+
co as CmcHeading,
|
|
3973
3980
|
W as CmcIcon,
|
|
3974
3981
|
Et as CmcInput,
|
|
3975
3982
|
jl as CmcLoading,
|
|
@@ -3983,15 +3990,15 @@ export {
|
|
|
3983
3990
|
Ql as CmcTitle,
|
|
3984
3991
|
Ul as CmcToggle,
|
|
3985
3992
|
Wl as CmcWizard,
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3993
|
+
tn as buttonKindOptions,
|
|
3994
|
+
on as buttonSizeOptions,
|
|
3995
|
+
nn as buttonVariantOptions,
|
|
3989
3996
|
Le as headingLevelOptions,
|
|
3990
3997
|
Ol as iconColorOptions,
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3998
|
+
tt as iconNameOptions,
|
|
3999
|
+
kt as inputSizeOptions,
|
|
4000
|
+
Ie as inputTypeOptions,
|
|
3994
4001
|
ue as inputVariantOptions,
|
|
3995
4002
|
ce as selectVariantOptions,
|
|
3996
|
-
|
|
4003
|
+
go as statusOptions
|
|
3997
4004
|
};
|