@choosemycompany/ui 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.css +1 -1
- package/dist/index.js +181 -181
- package/dist/index.umd.js +6 -6
- package/package.json +21 -20
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I, mergeModels as K, useModel as ne, computed as S, useSlots as Xt, createElementBlock as h, openBlock as L, normalizeClass as b, createCommentVNode as z, createElementVNode as F, toDisplayString as k, renderSlot as G, withDirectives as xe, unref as O, vModelDynamic as Qt, ref as W, shallowRef as yt, onMounted as vt, watch as wt, onUnmounted as xt, h as Q, nextTick as Wt, createBlock as J, Fragment as Z, renderList as U, useId as _e, createVNode as D, withCtx as Xe, vModelCheckbox as _t, createStaticVNode as Se, withModifiers as Oe, resolveDynamicComponent as Yt, vModelSelect as Jt, isRef as e0, watchEffect as t0, createTextVNode as n0, withKeys as ge } from "vue";
|
|
2
2
|
import './assets/index.css';const St = {
|
|
3
3
|
small: "small",
|
|
4
4
|
medium: "medium"
|
|
@@ -17,7 +17,7 @@ import './assets/index.css';const St = {
|
|
|
17
17
|
}, l0 = { class: "input__wrapper" }, i0 = ["id", "type", "placeholder", "required", "disabled", "aria-invalid", "min", "max"], s0 = {
|
|
18
18
|
key: 2,
|
|
19
19
|
class: "input__error-message"
|
|
20
|
-
}, a0 = /* @__PURE__ */
|
|
20
|
+
}, a0 = /* @__PURE__ */ I({
|
|
21
21
|
name: "CmcInput",
|
|
22
22
|
__name: "CmcInput",
|
|
23
23
|
props: /* @__PURE__ */ K({
|
|
@@ -60,9 +60,9 @@ import './assets/index.css';const St = {
|
|
|
60
60
|
class: "input__label"
|
|
61
61
|
}, k(t.label), 9, o0)) : z("", !0),
|
|
62
62
|
t.description ? (L(), h("div", r0, k(t.description), 1)) : z("", !0),
|
|
63
|
-
|
|
63
|
+
F("div", l0, [
|
|
64
64
|
G(f.$slots, "left", {}, void 0, !0),
|
|
65
|
-
xe(
|
|
65
|
+
xe(F("input", {
|
|
66
66
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => r.value = c),
|
|
67
67
|
id: t.id,
|
|
68
68
|
type: t.type,
|
|
@@ -70,8 +70,8 @@ import './assets/index.css';const St = {
|
|
|
70
70
|
required: t.required,
|
|
71
71
|
disabled: t.disabled,
|
|
72
72
|
"aria-invalid": i.value,
|
|
73
|
-
min: t.type ===
|
|
74
|
-
max: t.type ===
|
|
73
|
+
min: t.type === O(be).number ? t.min : void 0,
|
|
74
|
+
max: t.type === O(be).number ? t.max : void 0,
|
|
75
75
|
onBlur: d[1] || (d[1] = (c) => o("update:modelValue", r.value))
|
|
76
76
|
}, null, 40, i0), [
|
|
77
77
|
[Qt, r.value]
|
|
@@ -200,17 +200,17 @@ const d0 = {
|
|
|
200
200
|
not_found: {},
|
|
201
201
|
...$t
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function Ie(e, n) {
|
|
204
204
|
for (const t in n)
|
|
205
205
|
if (t in e && typeof e[t] != typeof n[t])
|
|
206
206
|
return !1;
|
|
207
207
|
return !0;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function It(e) {
|
|
210
210
|
if (typeof e != "object" || e === null)
|
|
211
211
|
return null;
|
|
212
212
|
const n = e;
|
|
213
|
-
if (typeof n.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
213
|
+
if (typeof n.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ie(e, d0))
|
|
214
214
|
return null;
|
|
215
215
|
const t = n.icons;
|
|
216
216
|
for (const r in t) {
|
|
@@ -219,7 +219,7 @@ function Ft(e) {
|
|
|
219
219
|
// Name cannot be empty
|
|
220
220
|
!r || // Must have body
|
|
221
221
|
typeof l.body != "string" || // Check other props
|
|
222
|
-
!
|
|
222
|
+
!Ie(
|
|
223
223
|
l,
|
|
224
224
|
Te
|
|
225
225
|
)
|
|
@@ -233,7 +233,7 @@ function Ft(e) {
|
|
|
233
233
|
// Name cannot be empty
|
|
234
234
|
!r || // Parent must be set and point to existing icon
|
|
235
235
|
typeof i != "string" || !t[i] && !o[i] || // Check other props
|
|
236
|
-
!
|
|
236
|
+
!Ie(
|
|
237
237
|
l,
|
|
238
238
|
Te
|
|
239
239
|
)
|
|
@@ -255,8 +255,8 @@ function te(e, n) {
|
|
|
255
255
|
const t = rt[e] || (rt[e] = /* @__PURE__ */ Object.create(null));
|
|
256
256
|
return t[n] || (t[n] = f0(e, n));
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
return
|
|
258
|
+
function Ft(e, n) {
|
|
259
|
+
return It(n) ? bt(n, (t, o) => {
|
|
260
260
|
o ? e.icons[t] = o : e.missing.add(t);
|
|
261
261
|
}) : [];
|
|
262
262
|
}
|
|
@@ -291,7 +291,7 @@ function L0(e, n) {
|
|
|
291
291
|
return !1;
|
|
292
292
|
if (typeof n != "string" && (n = e.provider || ""), ce && !n && !e.prefix) {
|
|
293
293
|
let r = !1;
|
|
294
|
-
return
|
|
294
|
+
return It(e) && (e.prefix = "", bt(e, (l, i) => {
|
|
295
295
|
m0(l, i) && (r = !0);
|
|
296
296
|
})), r;
|
|
297
297
|
}
|
|
@@ -302,7 +302,7 @@ function L0(e, n) {
|
|
|
302
302
|
}))
|
|
303
303
|
return !1;
|
|
304
304
|
const o = te(n, t);
|
|
305
|
-
return !!
|
|
305
|
+
return !!Ft(o, e);
|
|
306
306
|
}
|
|
307
307
|
const zt = Object.freeze({
|
|
308
308
|
width: null,
|
|
@@ -442,7 +442,7 @@ function b0(e, n = R0) {
|
|
|
442
442
|
}), e = e.replace(new RegExp(r, "g"), ""), e;
|
|
443
443
|
}
|
|
444
444
|
const Ge = /* @__PURE__ */ Object.create(null);
|
|
445
|
-
function
|
|
445
|
+
function I0(e, n) {
|
|
446
446
|
Ge[e] = n;
|
|
447
447
|
}
|
|
448
448
|
function He(e) {
|
|
@@ -482,7 +482,7 @@ for (; oe.length > 0; )
|
|
|
482
482
|
We[""] = Qe({
|
|
483
483
|
resources: ["https://api.iconify.design"].concat(ye)
|
|
484
484
|
});
|
|
485
|
-
function
|
|
485
|
+
function F0(e, n) {
|
|
486
486
|
const t = Qe(n);
|
|
487
487
|
return t === null ? !1 : (We[e] = t, !0);
|
|
488
488
|
}
|
|
@@ -589,11 +589,11 @@ const Z0 = (e, n, t) => {
|
|
|
589
589
|
}).catch(() => {
|
|
590
590
|
t("next", r);
|
|
591
591
|
});
|
|
592
|
-
},
|
|
592
|
+
}, A0 = {
|
|
593
593
|
prepare: k0,
|
|
594
594
|
send: Z0
|
|
595
595
|
};
|
|
596
|
-
function
|
|
596
|
+
function D0(e) {
|
|
597
597
|
const n = {
|
|
598
598
|
loaded: [],
|
|
599
599
|
missing: [],
|
|
@@ -626,7 +626,7 @@ function kt(e, n) {
|
|
|
626
626
|
o && (t.loaderCallbacks = o.filter((r) => r.id !== n));
|
|
627
627
|
});
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function O0(e) {
|
|
630
630
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
631
631
|
e.pendingCallbacksFlag = !1;
|
|
632
632
|
const n = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -686,7 +686,7 @@ function H0(e, n = !0, t = !1) {
|
|
|
686
686
|
l && o.push(l);
|
|
687
687
|
}), o;
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var N0 = {
|
|
690
690
|
resources: [],
|
|
691
691
|
index: 0,
|
|
692
692
|
timeout: 2e3,
|
|
@@ -694,7 +694,7 @@ var B0 = {
|
|
|
694
694
|
random: !1,
|
|
695
695
|
dataAfterTimeout: !1
|
|
696
696
|
};
|
|
697
|
-
function
|
|
697
|
+
function B0(e, n, t, o) {
|
|
698
698
|
const r = e.resources.length, l = e.random ? Math.floor(Math.random() * r) : e.index;
|
|
699
699
|
let i;
|
|
700
700
|
if (e.random) {
|
|
@@ -797,7 +797,7 @@ function N0(e, n, t, o) {
|
|
|
797
797
|
}
|
|
798
798
|
function Et(e) {
|
|
799
799
|
const n = {
|
|
800
|
-
...
|
|
800
|
+
...N0,
|
|
801
801
|
...e
|
|
802
802
|
};
|
|
803
803
|
let t = [];
|
|
@@ -805,7 +805,7 @@ function Et(e) {
|
|
|
805
805
|
t = t.filter((s) => s().status === "pending");
|
|
806
806
|
}
|
|
807
807
|
function r(s, a, u) {
|
|
808
|
-
const g =
|
|
808
|
+
const g = B0(
|
|
809
809
|
n,
|
|
810
810
|
s,
|
|
811
811
|
a,
|
|
@@ -830,9 +830,9 @@ function Et(e) {
|
|
|
830
830
|
}
|
|
831
831
|
function st() {
|
|
832
832
|
}
|
|
833
|
-
const
|
|
833
|
+
const Fe = /* @__PURE__ */ Object.create(null);
|
|
834
834
|
function U0(e) {
|
|
835
|
-
if (!
|
|
835
|
+
if (!Fe[e]) {
|
|
836
836
|
const n = Ye(e);
|
|
837
837
|
if (!n)
|
|
838
838
|
return;
|
|
@@ -840,9 +840,9 @@ function U0(e) {
|
|
|
840
840
|
config: n,
|
|
841
841
|
redundancy: t
|
|
842
842
|
};
|
|
843
|
-
|
|
843
|
+
Fe[e] = o;
|
|
844
844
|
}
|
|
845
|
-
return
|
|
845
|
+
return Fe[e];
|
|
846
846
|
}
|
|
847
847
|
function q0(e, n, t) {
|
|
848
848
|
let o, r;
|
|
@@ -867,7 +867,7 @@ function at() {
|
|
|
867
867
|
}
|
|
868
868
|
function j0(e) {
|
|
869
869
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
870
|
-
e.iconsLoaderFlag = !1,
|
|
870
|
+
e.iconsLoaderFlag = !1, O0(e);
|
|
871
871
|
}));
|
|
872
872
|
}
|
|
873
873
|
function K0(e) {
|
|
@@ -888,7 +888,7 @@ function re(e, n, t) {
|
|
|
888
888
|
}
|
|
889
889
|
if (t && typeof t == "object")
|
|
890
890
|
try {
|
|
891
|
-
if (!
|
|
891
|
+
if (!Ft(e, t).length) {
|
|
892
892
|
o();
|
|
893
893
|
return;
|
|
894
894
|
}
|
|
@@ -951,7 +951,7 @@ function X0(e, n) {
|
|
|
951
951
|
}));
|
|
952
952
|
}
|
|
953
953
|
const Q0 = (e, n) => {
|
|
954
|
-
const t = H0(e, !0, Pt()), o =
|
|
954
|
+
const t = H0(e, !0, Pt()), o = D0(t);
|
|
955
955
|
if (!o.pending.length) {
|
|
956
956
|
let a = !0;
|
|
957
957
|
return n && setTimeout(() => {
|
|
@@ -1056,7 +1056,7 @@ const ct = {
|
|
|
1056
1056
|
role: "img"
|
|
1057
1057
|
}, sn = {
|
|
1058
1058
|
display: "inline-block"
|
|
1059
|
-
},
|
|
1059
|
+
}, Ne = {
|
|
1060
1060
|
backgroundColor: "currentColor"
|
|
1061
1061
|
}, Zt = {
|
|
1062
1062
|
backgroundColor: "transparent"
|
|
@@ -1065,8 +1065,8 @@ const ct = {
|
|
|
1065
1065
|
Repeat: "no-repeat",
|
|
1066
1066
|
Size: "100% 100%"
|
|
1067
1067
|
}, dt = {
|
|
1068
|
-
webkitMask:
|
|
1069
|
-
mask:
|
|
1068
|
+
webkitMask: Ne,
|
|
1069
|
+
mask: Ne,
|
|
1070
1070
|
background: Zt
|
|
1071
1071
|
};
|
|
1072
1072
|
for (const e in dt) {
|
|
@@ -1144,12 +1144,12 @@ const pt = (e, n) => {
|
|
|
1144
1144
|
width: ft(u.width),
|
|
1145
1145
|
height: ft(u.height),
|
|
1146
1146
|
...sn,
|
|
1147
|
-
...c ?
|
|
1147
|
+
...c ? Ne : Zt,
|
|
1148
1148
|
...s
|
|
1149
1149
|
}, Q("span", o);
|
|
1150
1150
|
};
|
|
1151
1151
|
Pt(!0);
|
|
1152
|
-
|
|
1152
|
+
I0("", A0);
|
|
1153
1153
|
if (typeof document < "u" && typeof window < "u") {
|
|
1154
1154
|
const e = window;
|
|
1155
1155
|
if (e.IconifyPreload !== void 0) {
|
|
@@ -1174,7 +1174,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1174
1174
|
const r = n[t];
|
|
1175
1175
|
if (typeof r != "object" || !r || r.resources === void 0)
|
|
1176
1176
|
continue;
|
|
1177
|
-
|
|
1177
|
+
F0(t, r) || console.error(o);
|
|
1178
1178
|
} catch {
|
|
1179
1179
|
console.error(o);
|
|
1180
1180
|
}
|
|
@@ -1184,7 +1184,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1184
1184
|
const an = {
|
|
1185
1185
|
...Re,
|
|
1186
1186
|
body: ""
|
|
1187
|
-
}, un =
|
|
1187
|
+
}, un = I((e, { emit: n }) => {
|
|
1188
1188
|
const t = W(null);
|
|
1189
1189
|
function o() {
|
|
1190
1190
|
t.value && (t.value.abort?.(), t.value = null);
|
|
@@ -1266,13 +1266,13 @@ const an = {
|
|
|
1266
1266
|
"title"
|
|
1267
1267
|
],
|
|
1268
1268
|
emits: ["load"]
|
|
1269
|
-
}),
|
|
1269
|
+
}), At = "loading", Ct = {
|
|
1270
1270
|
chevronDown: "mi:chevron-down",
|
|
1271
1271
|
delete: "qlementine-icons:trash-16",
|
|
1272
1272
|
check: "ic:baseline-check",
|
|
1273
1273
|
edit: "iconamoon:edit-light",
|
|
1274
1274
|
filter: "mdi:filter-outline",
|
|
1275
|
-
[
|
|
1275
|
+
[At]: "eos-icons:loading",
|
|
1276
1276
|
mail: "ci:mail-open",
|
|
1277
1277
|
people: "ic:outline-people",
|
|
1278
1278
|
plus: "ic:baseline-plus",
|
|
@@ -1291,7 +1291,7 @@ const an = {
|
|
|
1291
1291
|
primary: "primary",
|
|
1292
1292
|
secondary: "secondary",
|
|
1293
1293
|
light: "light"
|
|
1294
|
-
}, cn = /* @__PURE__ */
|
|
1294
|
+
}, cn = /* @__PURE__ */ I({
|
|
1295
1295
|
name: "CmcIcon",
|
|
1296
1296
|
__name: "CmcIcon",
|
|
1297
1297
|
props: {
|
|
@@ -1303,12 +1303,12 @@ const an = {
|
|
|
1303
1303
|
"cmc-icon": !0,
|
|
1304
1304
|
[`cmc-icon--${n.color}`]: n.color
|
|
1305
1305
|
})), o = S(() => Ct[n.name]);
|
|
1306
|
-
return (r, l) => (L(), J(
|
|
1306
|
+
return (r, l) => (L(), J(O(un), {
|
|
1307
1307
|
class: b(t.value),
|
|
1308
1308
|
icon: o.value
|
|
1309
1309
|
}, null, 8, ["class", "icon"]));
|
|
1310
1310
|
}
|
|
1311
|
-
}), Y = /* @__PURE__ */ $(cn, [["__scopeId", "data-v-3d2e1b1f"]]), gn = { key: 1 }, dn = /* @__PURE__ */
|
|
1311
|
+
}), Y = /* @__PURE__ */ $(cn, [["__scopeId", "data-v-3d2e1b1f"]]), gn = { key: 1 }, dn = /* @__PURE__ */ I({
|
|
1312
1312
|
__name: "HighlightText",
|
|
1313
1313
|
props: {
|
|
1314
1314
|
text: {},
|
|
@@ -1352,7 +1352,7 @@ const an = {
|
|
|
1352
1352
|
}, Cn = { key: 1 }, mn = ["onClick"], Ln = {
|
|
1353
1353
|
key: 2,
|
|
1354
1354
|
class: "autocomplete__list--no-results"
|
|
1355
|
-
}, hn = /* @__PURE__ */
|
|
1355
|
+
}, hn = /* @__PURE__ */ I({
|
|
1356
1356
|
name: "CmcAutocomplete",
|
|
1357
1357
|
__name: "CmcAutocomplete",
|
|
1358
1358
|
props: /* @__PURE__ */ K({
|
|
@@ -1404,7 +1404,7 @@ const an = {
|
|
|
1404
1404
|
class: b(C.value),
|
|
1405
1405
|
onKeydown: d
|
|
1406
1406
|
}, [
|
|
1407
|
-
|
|
1407
|
+
D(Mt, {
|
|
1408
1408
|
id: a.value,
|
|
1409
1409
|
modelValue: r.value,
|
|
1410
1410
|
"onUpdate:modelValue": [
|
|
@@ -1418,7 +1418,7 @@ const an = {
|
|
|
1418
1418
|
variant: "outlined"
|
|
1419
1419
|
}, {
|
|
1420
1420
|
right: Xe(() => [
|
|
1421
|
-
|
|
1421
|
+
D(Y, {
|
|
1422
1422
|
class: b(m.value),
|
|
1423
1423
|
"aria-hidden": "true",
|
|
1424
1424
|
color: "light",
|
|
@@ -1441,7 +1441,7 @@ const an = {
|
|
|
1441
1441
|
key: R,
|
|
1442
1442
|
onClick: (P) => g(_)
|
|
1443
1443
|
}, [
|
|
1444
|
-
|
|
1444
|
+
D(fn, {
|
|
1445
1445
|
"search-term": r.value,
|
|
1446
1446
|
text: _
|
|
1447
1447
|
}, null, 8, ["search-term", "text"])
|
|
@@ -1459,7 +1459,7 @@ const an = {
|
|
|
1459
1459
|
}, wn = {
|
|
1460
1460
|
small: "small",
|
|
1461
1461
|
medium: "medium"
|
|
1462
|
-
}, xn = ["disabled"], _n = { class: "button__icon" }, Sn = /* @__PURE__ */
|
|
1462
|
+
}, xn = ["disabled"], _n = { class: "button__icon" }, Sn = /* @__PURE__ */ I({
|
|
1463
1463
|
name: "CmcButton",
|
|
1464
1464
|
__name: "CmcButton",
|
|
1465
1465
|
props: {
|
|
@@ -1478,7 +1478,7 @@ const an = {
|
|
|
1478
1478
|
[`button--${t.kind}`]: !0,
|
|
1479
1479
|
[`button--${t.size}`]: !0,
|
|
1480
1480
|
"button--disabled": t.disabled
|
|
1481
|
-
})), l = () => t.loading ?
|
|
1481
|
+
})), l = () => t.loading ? At : t.icon || "", i = () => {
|
|
1482
1482
|
t.disabled || o("click");
|
|
1483
1483
|
};
|
|
1484
1484
|
return (s, a) => (L(), h("button", {
|
|
@@ -1487,7 +1487,7 @@ const an = {
|
|
|
1487
1487
|
onClick: i,
|
|
1488
1488
|
disabled: t.disabled
|
|
1489
1489
|
}, [
|
|
1490
|
-
|
|
1490
|
+
F("span", _n, [
|
|
1491
1491
|
t.icon || t.loading ? (L(), J(Y, {
|
|
1492
1492
|
key: 0,
|
|
1493
1493
|
name: l()
|
|
@@ -1496,13 +1496,13 @@ const an = {
|
|
|
1496
1496
|
G(s.$slots, "default", {}, void 0, !0)
|
|
1497
1497
|
], 10, xn));
|
|
1498
1498
|
}
|
|
1499
|
-
}), Jo = /* @__PURE__ */ $(Sn, [["__scopeId", "data-v-d1e66acd"]]),
|
|
1499
|
+
}), Jo = /* @__PURE__ */ $(Sn, [["__scopeId", "data-v-d1e66acd"]]), Dt = {
|
|
1500
1500
|
medium: "medium"
|
|
1501
|
-
}, Mn = /* @__PURE__ */
|
|
1501
|
+
}, Mn = /* @__PURE__ */ I({
|
|
1502
1502
|
name: "CmcButtonGroup",
|
|
1503
1503
|
__name: "CmcButtonGroup",
|
|
1504
1504
|
props: {
|
|
1505
|
-
gap: { default:
|
|
1505
|
+
gap: { default: Dt.medium }
|
|
1506
1506
|
},
|
|
1507
1507
|
setup(e) {
|
|
1508
1508
|
const n = e, t = S(() => ({
|
|
@@ -1797,7 +1797,7 @@ const an = {
|
|
|
1797
1797
|
</g>
|
|
1798
1798
|
</g>
|
|
1799
1799
|
</svg>
|
|
1800
|
-
`,
|
|
1800
|
+
`, N = {
|
|
1801
1801
|
employees: "employees",
|
|
1802
1802
|
trainees: "trainees",
|
|
1803
1803
|
candidates: "candidates",
|
|
@@ -1810,11 +1810,11 @@ const an = {
|
|
|
1810
1810
|
silver: "silver",
|
|
1811
1811
|
gold: "gold",
|
|
1812
1812
|
platinum: "platinum"
|
|
1813
|
-
}, bn = "#0302F5",
|
|
1813
|
+
}, bn = "#0302F5", In = "#E6007E", Fn = "#FC435C", Pn = "#19BAA3", zn = "#009FE3", Vn = "#739099", kn = "#82368C", En = ["innerHTML"], er = /* @__PURE__ */ I({
|
|
1814
1814
|
name: "CmcCertificate",
|
|
1815
1815
|
__name: "CmcCertificate",
|
|
1816
1816
|
props: {
|
|
1817
|
-
primaryType: { default:
|
|
1817
|
+
primaryType: { default: N.employees },
|
|
1818
1818
|
rank: { default: le.bronze },
|
|
1819
1819
|
period: { default: 2026 },
|
|
1820
1820
|
country: { default: "France" },
|
|
@@ -1844,16 +1844,16 @@ const an = {
|
|
|
1844
1844
|
className: "rank-platinum"
|
|
1845
1845
|
}
|
|
1846
1846
|
}, o = {
|
|
1847
|
-
[
|
|
1848
|
-
[
|
|
1849
|
-
[
|
|
1850
|
-
[
|
|
1851
|
-
[
|
|
1852
|
-
[
|
|
1853
|
-
[
|
|
1847
|
+
[N.employees]: bn,
|
|
1848
|
+
[N.candidates]: Pn,
|
|
1849
|
+
[N.trainees]: Fn,
|
|
1850
|
+
[N.clients]: Vn,
|
|
1851
|
+
[N.shareholders]: kn,
|
|
1852
|
+
[N.students]: In,
|
|
1853
|
+
[N.suppliers]: zn
|
|
1854
1854
|
}, r = S(() => o[n.primaryType]), l = S(() => {
|
|
1855
1855
|
let i = $n;
|
|
1856
|
-
if (n.primaryType ===
|
|
1856
|
+
if (n.primaryType === N.employees) {
|
|
1857
1857
|
i = i.replace(/separator-2"/g, 'separator-2" style="opacity:0"').replace(
|
|
1858
1858
|
/class="background-circle-rank" opacity="0"/g,
|
|
1859
1859
|
'class="background-circle-rank"'
|
|
@@ -1877,21 +1877,21 @@ const an = {
|
|
|
1877
1877
|
});
|
|
1878
1878
|
return (i, s) => (L(), h("div", { innerHTML: l.value }, null, 8, En));
|
|
1879
1879
|
}
|
|
1880
|
-
}), Zn = {},
|
|
1880
|
+
}), Zn = {}, An = {
|
|
1881
1881
|
width: "12",
|
|
1882
1882
|
height: "12",
|
|
1883
1883
|
viewBox: "0 0 12 10",
|
|
1884
1884
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1885
1885
|
};
|
|
1886
|
-
function
|
|
1887
|
-
return L(), h("svg",
|
|
1888
|
-
|
|
1886
|
+
function Dn(e, n) {
|
|
1887
|
+
return L(), h("svg", An, [...n[0] || (n[0] = [
|
|
1888
|
+
F("path", {
|
|
1889
1889
|
d: "M4.1625 7.3625L10.5187 1.00625C10.6687 0.85625 10.8437 0.78125 11.0437 0.78125C11.2437 0.78125 11.4187 0.85625 11.5687 1.00625C11.7187 1.15625 11.7937 1.3345 11.7937 1.541C11.7937 1.7475 11.7187 1.9255 11.5687 2.075L4.6875 8.975C4.5375 9.125 4.3625 9.2 4.1625 9.2C3.9625 9.2 3.7875 9.125 3.6375 8.975L0.412498 5.75C0.262498 5.6 0.190498 5.422 0.196498 5.216C0.202498 5.01 0.280748 4.83175 0.431248 4.68125C0.581748 4.53075 0.759998 4.45575 0.965998 4.45625C1.172 4.45675 1.35 4.53175 1.5 4.68125L4.1625 7.3625Z",
|
|
1890
1890
|
fill: "var(--cmc-color-brand-blue-600)"
|
|
1891
1891
|
}, null, -1)
|
|
1892
1892
|
])]);
|
|
1893
1893
|
}
|
|
1894
|
-
const
|
|
1894
|
+
const On = /* @__PURE__ */ $(Zn, [["render", Dn]]), Tn = ["id", "disabled", "required"], Gn = /* @__PURE__ */ I({
|
|
1895
1895
|
name: "CmcCheckbox",
|
|
1896
1896
|
__name: "CmcCheckbox",
|
|
1897
1897
|
props: /* @__PURE__ */ K({
|
|
@@ -1912,7 +1912,7 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
|
|
|
1912
1912
|
return (l, i) => (L(), h("div", {
|
|
1913
1913
|
class: b(r.value)
|
|
1914
1914
|
}, [
|
|
1915
|
-
xe(
|
|
1915
|
+
xe(F("input", {
|
|
1916
1916
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
|
|
1917
1917
|
id: o.value,
|
|
1918
1918
|
type: "checkbox",
|
|
@@ -1922,7 +1922,7 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
|
|
|
1922
1922
|
}, null, 8, Tn), [
|
|
1923
1923
|
[_t, t.value]
|
|
1924
1924
|
]),
|
|
1925
|
-
t.value ? (L(), J(
|
|
1925
|
+
t.value ? (L(), J(On, {
|
|
1926
1926
|
key: 0,
|
|
1927
1927
|
class: "checkbox__icon"
|
|
1928
1928
|
})) : z("", !0)
|
|
@@ -1933,7 +1933,7 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
|
|
|
1933
1933
|
h2: "h2",
|
|
1934
1934
|
h3: "h3",
|
|
1935
1935
|
h4: "h4"
|
|
1936
|
-
}, Hn = /* @__PURE__ */
|
|
1936
|
+
}, Hn = /* @__PURE__ */ I({
|
|
1937
1937
|
name: "CmcHeading",
|
|
1938
1938
|
__name: "CmcHeading",
|
|
1939
1939
|
props: {
|
|
@@ -1945,25 +1945,25 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
|
|
|
1945
1945
|
[`heading-${n.level}`]: !0
|
|
1946
1946
|
}));
|
|
1947
1947
|
return (o, r) => (L(), h(Z, null, [
|
|
1948
|
-
|
|
1948
|
+
O(se).h1 === n.level ? (L(), h("h1", {
|
|
1949
1949
|
key: 0,
|
|
1950
1950
|
class: b(t.value)
|
|
1951
1951
|
}, [
|
|
1952
1952
|
G(o.$slots, "default", {}, void 0, !0)
|
|
1953
1953
|
], 2)) : z("", !0),
|
|
1954
|
-
|
|
1954
|
+
O(se).h2 === n.level ? (L(), h("h2", {
|
|
1955
1955
|
key: 1,
|
|
1956
1956
|
class: b(t.value)
|
|
1957
1957
|
}, [
|
|
1958
1958
|
G(o.$slots, "default", {}, void 0, !0)
|
|
1959
1959
|
], 2)) : z("", !0),
|
|
1960
|
-
|
|
1960
|
+
O(se).h3 === n.level ? (L(), h("h3", {
|
|
1961
1961
|
key: 2,
|
|
1962
1962
|
class: b(t.value)
|
|
1963
1963
|
}, [
|
|
1964
1964
|
G(o.$slots, "default", {}, void 0, !0)
|
|
1965
1965
|
], 2)) : z("", !0),
|
|
1966
|
-
|
|
1966
|
+
O(se).h4 === n.level ? (L(), h("h4", {
|
|
1967
1967
|
key: 3,
|
|
1968
1968
|
class: b(t.value)
|
|
1969
1969
|
}, [
|
|
@@ -1971,11 +1971,11 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
|
|
|
1971
1971
|
], 2)) : z("", !0)
|
|
1972
1972
|
], 64));
|
|
1973
1973
|
}
|
|
1974
|
-
}),
|
|
1974
|
+
}), Nn = /* @__PURE__ */ $(Hn, [["__scopeId", "data-v-13ea1463"]]), Bn = "https://cmc-ui-assets.s3.fr-par.scw.cloud/", Un = ["src"], qn = /* @__PURE__ */ I({
|
|
1975
1975
|
name: "CmcLoading",
|
|
1976
1976
|
__name: "CmcLoading",
|
|
1977
1977
|
setup(e) {
|
|
1978
|
-
const n = S(() =>
|
|
1978
|
+
const n = S(() => Bn + "img/loader-cmc.gif"), t = S(() => ({
|
|
1979
1979
|
loading: !0
|
|
1980
1980
|
}));
|
|
1981
1981
|
return (o, r) => (L(), h("img", {
|
|
@@ -2032,7 +2032,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2032
2032
|
fr_FR_white: e1,
|
|
2033
2033
|
en_US_color: r1,
|
|
2034
2034
|
en_US_white: a1
|
|
2035
|
-
}, f1 = ["href"], p1 = /* @__PURE__ */
|
|
2035
|
+
}, f1 = ["href"], p1 = /* @__PURE__ */ I({
|
|
2036
2036
|
name: "CmcLogo",
|
|
2037
2037
|
__name: "CmcLogo",
|
|
2038
2038
|
props: {
|
|
@@ -2052,7 +2052,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2052
2052
|
return (a, u) => (L(), h("a", {
|
|
2053
2053
|
href: t.href,
|
|
2054
2054
|
class: b(r.value),
|
|
2055
|
-
onClick:
|
|
2055
|
+
onClick: Oe(s, ["prevent"])
|
|
2056
2056
|
}, [
|
|
2057
2057
|
(L(), J(Yt(i.value)))
|
|
2058
2058
|
], 10, f1));
|
|
@@ -2060,7 +2060,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2060
2060
|
}), or = /* @__PURE__ */ $(p1, [["__scopeId", "data-v-cc384ddd"]]), C1 = { class: "pagination" }, m1 = ["disabled"], L1 = ["onClick"], h1 = {
|
|
2061
2061
|
key: 1,
|
|
2062
2062
|
class: "pagination__ellipsis"
|
|
2063
|
-
}, y1 = ["disabled"], v1 = 2, w1 = /* @__PURE__ */
|
|
2063
|
+
}, y1 = ["disabled"], v1 = 2, w1 = /* @__PURE__ */ I({
|
|
2064
2064
|
name: "CmcPagination",
|
|
2065
2065
|
__name: "CmcPagination",
|
|
2066
2066
|
props: {
|
|
@@ -2097,7 +2097,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2097
2097
|
u.value && o("update:currentPage", t.currentPage + 1);
|
|
2098
2098
|
};
|
|
2099
2099
|
return (d, c) => (L(), h("nav", C1, [
|
|
2100
|
-
|
|
2100
|
+
F("button", {
|
|
2101
2101
|
class: b(["pagination__page-button", { "is-invisible": !a.value }]),
|
|
2102
2102
|
disabled: !a.value,
|
|
2103
2103
|
"aria-label": "Page précédente",
|
|
@@ -2110,7 +2110,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2110
2110
|
onClick: () => o("update:currentPage", p)
|
|
2111
2111
|
}, k(p), 11, L1)) : (L(), h("span", h1, "…"))
|
|
2112
2112
|
], 64))), 128)),
|
|
2113
|
-
|
|
2113
|
+
F("button", {
|
|
2114
2114
|
class: b(["pagination__page-button", { "is-invisible": !u.value }]),
|
|
2115
2115
|
disabled: !u.value,
|
|
2116
2116
|
"aria-label": "Page suivante",
|
|
@@ -2118,7 +2118,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2118
2118
|
}, " › ", 10, y1)
|
|
2119
2119
|
]));
|
|
2120
2120
|
}
|
|
2121
|
-
}), x1 = /* @__PURE__ */ $(w1, [["__scopeId", "data-v-8be37a19"]]), _1 = /* @__PURE__ */
|
|
2121
|
+
}), x1 = /* @__PURE__ */ $(w1, [["__scopeId", "data-v-8be37a19"]]), _1 = /* @__PURE__ */ I({
|
|
2122
2122
|
name: "CmcSearch",
|
|
2123
2123
|
__name: "CmcSearch",
|
|
2124
2124
|
props: /* @__PURE__ */ K({
|
|
@@ -2140,7 +2140,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2140
2140
|
class: b(o.value),
|
|
2141
2141
|
role: "search"
|
|
2142
2142
|
}, [
|
|
2143
|
-
|
|
2143
|
+
D(Mt, {
|
|
2144
2144
|
id: l.value,
|
|
2145
2145
|
modelValue: t.value,
|
|
2146
2146
|
"onUpdate:modelValue": s[0] || (s[0] = (a) => t.value = a),
|
|
@@ -2151,7 +2151,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2151
2151
|
type: "search"
|
|
2152
2152
|
}, {
|
|
2153
2153
|
left: Xe(() => [
|
|
2154
|
-
|
|
2154
|
+
D(Y, {
|
|
2155
2155
|
color: "light",
|
|
2156
2156
|
"aria-hidden": "true",
|
|
2157
2157
|
class: "search-bar__icon",
|
|
@@ -2173,10 +2173,10 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2173
2173
|
key: 0,
|
|
2174
2174
|
value: "",
|
|
2175
2175
|
disabled: ""
|
|
2176
|
-
},
|
|
2176
|
+
}, I1 = ["value", "disabled"], F1 = {
|
|
2177
2177
|
key: 2,
|
|
2178
2178
|
class: "select__error-wrapper"
|
|
2179
|
-
}, P1 = /* @__PURE__ */
|
|
2179
|
+
}, P1 = /* @__PURE__ */ I({
|
|
2180
2180
|
name: "CmcSelect",
|
|
2181
2181
|
__name: "CmcSelect",
|
|
2182
2182
|
props: /* @__PURE__ */ K({
|
|
@@ -2212,8 +2212,8 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2212
2212
|
class: "select__label"
|
|
2213
2213
|
}, k(e.label), 9, S1)) : z("", !0),
|
|
2214
2214
|
n.description ? (L(), h("div", M1, k(n.description), 1)) : z("", !0),
|
|
2215
|
-
|
|
2216
|
-
xe(
|
|
2215
|
+
F("div", R1, [
|
|
2216
|
+
xe(F("select", {
|
|
2217
2217
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
|
|
2218
2218
|
id: e.id,
|
|
2219
2219
|
required: e.required,
|
|
@@ -2225,25 +2225,25 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2225
2225
|
key: s.value,
|
|
2226
2226
|
value: s.value,
|
|
2227
2227
|
disabled: s.disabled
|
|
2228
|
-
}, k(s.label), 9,
|
|
2228
|
+
}, k(s.label), 9, I1))), 128))
|
|
2229
2229
|
], 8, $1), [
|
|
2230
2230
|
[Jt, t.value]
|
|
2231
2231
|
]),
|
|
2232
|
-
|
|
2232
|
+
D(Y, {
|
|
2233
2233
|
"aria-hidden": "true",
|
|
2234
2234
|
class: "select__icon_chevron",
|
|
2235
2235
|
color: "light",
|
|
2236
2236
|
name: "chevronDown"
|
|
2237
2237
|
})
|
|
2238
2238
|
]),
|
|
2239
|
-
o.value ? (L(), h("div",
|
|
2239
|
+
o.value ? (L(), h("div", F1, k(e.errorMessage), 1)) : z("", !0)
|
|
2240
2240
|
], 2));
|
|
2241
2241
|
}
|
|
2242
2242
|
}), lr = /* @__PURE__ */ $(P1, [["__scopeId", "data-v-c434b244"]]), z1 = {
|
|
2243
2243
|
success: "success",
|
|
2244
2244
|
danger: "danger",
|
|
2245
2245
|
warning: "warning"
|
|
2246
|
-
}, V1 = { class: "status__label" }, k1 = /* @__PURE__ */
|
|
2246
|
+
}, V1 = { class: "status__label" }, k1 = /* @__PURE__ */ I({
|
|
2247
2247
|
name: "CmcStatus",
|
|
2248
2248
|
__name: "CmcStatus",
|
|
2249
2249
|
props: {
|
|
@@ -2258,8 +2258,8 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2258
2258
|
return (o, r) => (L(), h("div", {
|
|
2259
2259
|
class: b(t.value)
|
|
2260
2260
|
}, [
|
|
2261
|
-
r[0] || (r[0] =
|
|
2262
|
-
|
|
2261
|
+
r[0] || (r[0] = F("span", { class: "status__dot" }, null, -1)),
|
|
2262
|
+
F("span", V1, k(n.text), 1)
|
|
2263
2263
|
], 2));
|
|
2264
2264
|
}
|
|
2265
2265
|
}), ir = /* @__PURE__ */ $(k1, [["__scopeId", "data-v-9ebfdda4"]]);
|
|
@@ -2276,7 +2276,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
|
|
|
2276
2276
|
function j(e, n) {
|
|
2277
2277
|
return typeof e == "function" ? e(n) : e;
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2279
|
+
function A(e, n) {
|
|
2280
2280
|
return (t) => {
|
|
2281
2281
|
n.setState((o) => ({
|
|
2282
2282
|
...o,
|
|
@@ -2334,7 +2334,7 @@ function w(e, n, t, o) {
|
|
|
2334
2334
|
onChange: o
|
|
2335
2335
|
};
|
|
2336
2336
|
}
|
|
2337
|
-
function
|
|
2337
|
+
function A1(e, n, t, o) {
|
|
2338
2338
|
const r = () => {
|
|
2339
2339
|
var i;
|
|
2340
2340
|
return (i = l.getValue()) != null ? i : e.options.renderFallbackValue;
|
|
@@ -2357,7 +2357,7 @@ function D1(e, n, t, o) {
|
|
|
2357
2357
|
i.createCell == null || i.createCell(l, t, n, e);
|
|
2358
2358
|
}, {}), l;
|
|
2359
2359
|
}
|
|
2360
|
-
function
|
|
2360
|
+
function D1(e, n, t, o) {
|
|
2361
2361
|
var r, l;
|
|
2362
2362
|
const s = {
|
|
2363
2363
|
...e._getDefaultColumnDef(),
|
|
@@ -2427,7 +2427,7 @@ function mt(e, n, t) {
|
|
|
2427
2427
|
i.createHeader == null || i.createHeader(l, e);
|
|
2428
2428
|
}), l;
|
|
2429
2429
|
}
|
|
2430
|
-
const
|
|
2430
|
+
const O1 = {
|
|
2431
2431
|
createTable: (e) => {
|
|
2432
2432
|
e.getHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o, r) => {
|
|
2433
2433
|
var l, i;
|
|
@@ -2551,7 +2551,7 @@ const T1 = (e, n, t, o, r, l, i) => {
|
|
|
2551
2551
|
}
|
|
2552
2552
|
return a.reverse();
|
|
2553
2553
|
},
|
|
2554
|
-
getAllCells: v(() => [e.getAllLeafColumns()], (a) => a.map((u) =>
|
|
2554
|
+
getAllCells: v(() => [e.getAllLeafColumns()], (a) => a.map((u) => A1(e, s, u, u.id)), w(e.options, "debugRows", "getAllCells")),
|
|
2555
2555
|
_getAllCellsByColumnId: v(() => [s.getAllCells()], (a) => a.reduce((u, g) => (u[g.column.id] = g, u), {}), w(e.options, "debugRows", "getAllCellsByColumnId"))
|
|
2556
2556
|
};
|
|
2557
2557
|
for (let a = 0; a < e._features.length; a++) {
|
|
@@ -2566,12 +2566,12 @@ const T1 = (e, n, t, o, r, l, i) => {
|
|
|
2566
2566
|
return e._getFacetedMinMaxValues();
|
|
2567
2567
|
};
|
|
2568
2568
|
}
|
|
2569
|
-
},
|
|
2569
|
+
}, Ot = (e, n, t) => {
|
|
2570
2570
|
var o, r;
|
|
2571
2571
|
const l = t == null || (o = t.toString()) == null ? void 0 : o.toLowerCase();
|
|
2572
2572
|
return !!(!((r = e.getValue(n)) == null || (r = r.toString()) == null || (r = r.toLowerCase()) == null) && r.includes(l));
|
|
2573
2573
|
};
|
|
2574
|
-
|
|
2574
|
+
Ot.autoRemove = (e) => T(e);
|
|
2575
2575
|
const Tt = (e, n, t) => {
|
|
2576
2576
|
var o;
|
|
2577
2577
|
return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null) && o.includes(t));
|
|
@@ -2587,16 +2587,16 @@ const Ht = (e, n, t) => {
|
|
|
2587
2587
|
return (o = e.getValue(n)) == null ? void 0 : o.includes(t);
|
|
2588
2588
|
};
|
|
2589
2589
|
Ht.autoRemove = (e) => T(e);
|
|
2590
|
-
const
|
|
2590
|
+
const Nt = (e, n, t) => !t.some((o) => {
|
|
2591
2591
|
var r;
|
|
2592
2592
|
return !((r = e.getValue(n)) != null && r.includes(o));
|
|
2593
2593
|
});
|
|
2594
|
-
|
|
2595
|
-
const
|
|
2594
|
+
Nt.autoRemove = (e) => T(e) || !(e != null && e.length);
|
|
2595
|
+
const Bt = (e, n, t) => t.some((o) => {
|
|
2596
2596
|
var r;
|
|
2597
2597
|
return (r = e.getValue(n)) == null ? void 0 : r.includes(o);
|
|
2598
2598
|
});
|
|
2599
|
-
|
|
2599
|
+
Bt.autoRemove = (e) => T(e) || !(e != null && e.length);
|
|
2600
2600
|
const Ut = (e, n, t) => e.getValue(n) === t;
|
|
2601
2601
|
Ut.autoRemove = (e) => T(e);
|
|
2602
2602
|
const qt = (e, n, t) => e.getValue(n) == t;
|
|
@@ -2615,13 +2615,13 @@ Je.resolveFilterValue = (e) => {
|
|
|
2615
2615
|
return [l, i];
|
|
2616
2616
|
};
|
|
2617
2617
|
Je.autoRemove = (e) => T(e) || T(e[0]) && T(e[1]);
|
|
2618
|
-
const
|
|
2619
|
-
includesString:
|
|
2618
|
+
const B = {
|
|
2619
|
+
includesString: Ot,
|
|
2620
2620
|
includesStringSensitive: Tt,
|
|
2621
2621
|
equalsString: Gt,
|
|
2622
2622
|
arrIncludes: Ht,
|
|
2623
|
-
arrIncludesAll:
|
|
2624
|
-
arrIncludesSome:
|
|
2623
|
+
arrIncludesAll: Nt,
|
|
2624
|
+
arrIncludesSome: Bt,
|
|
2625
2625
|
equals: Ut,
|
|
2626
2626
|
weakEquals: qt,
|
|
2627
2627
|
inNumberRange: Je
|
|
@@ -2638,19 +2638,19 @@ const H1 = {
|
|
|
2638
2638
|
...e
|
|
2639
2639
|
}),
|
|
2640
2640
|
getDefaultOptions: (e) => ({
|
|
2641
|
-
onColumnFiltersChange:
|
|
2641
|
+
onColumnFiltersChange: A("columnFilters", e),
|
|
2642
2642
|
filterFromLeafRows: !1,
|
|
2643
2643
|
maxLeafRowFilterDepth: 100
|
|
2644
2644
|
}),
|
|
2645
2645
|
createColumn: (e, n) => {
|
|
2646
2646
|
e.getAutoFilterFn = () => {
|
|
2647
2647
|
const t = n.getCoreRowModel().flatRows[0], o = t?.getValue(e.id);
|
|
2648
|
-
return typeof o == "string" ?
|
|
2648
|
+
return typeof o == "string" ? B.includesString : typeof o == "number" ? B.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? B.equals : Array.isArray(o) ? B.arrIncludes : B.weakEquals;
|
|
2649
2649
|
}, e.getFilterFn = () => {
|
|
2650
2650
|
var t, o;
|
|
2651
2651
|
return $e(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
|
|
2652
2652
|
// @ts-ignore
|
|
2653
|
-
(t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t :
|
|
2653
|
+
(t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t : B[e.columnDef.filterFn]
|
|
2654
2654
|
);
|
|
2655
2655
|
}, e.getCanFilter = () => {
|
|
2656
2656
|
var t, o, r;
|
|
@@ -2707,10 +2707,10 @@ const H1 = {
|
|
|
2707
2707
|
function Lt(e, n, t) {
|
|
2708
2708
|
return (e && e.autoRemove ? e.autoRemove(n, t) : !1) || typeof n > "u" || typeof n == "string" && !n;
|
|
2709
2709
|
}
|
|
2710
|
-
const
|
|
2710
|
+
const N1 = (e, n, t) => t.reduce((o, r) => {
|
|
2711
2711
|
const l = r.getValue(e);
|
|
2712
2712
|
return o + (typeof l == "number" ? l : 0);
|
|
2713
|
-
}, 0),
|
|
2713
|
+
}, 0), B1 = (e, n, t) => {
|
|
2714
2714
|
let o;
|
|
2715
2715
|
return t.forEach((r) => {
|
|
2716
2716
|
const l = r.getValue(e);
|
|
@@ -2745,8 +2745,8 @@ const B1 = (e, n, t) => t.reduce((o, r) => {
|
|
|
2745
2745
|
const o = Math.floor(t.length / 2), r = t.sort((l, i) => l - i);
|
|
2746
2746
|
return t.length % 2 !== 0 ? r[o] : (r[o - 1] + r[o]) / 2;
|
|
2747
2747
|
}, X1 = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), Q1 = (e, n) => new Set(n.map((t) => t.getValue(e))).size, W1 = (e, n) => n.length, Pe = {
|
|
2748
|
-
sum:
|
|
2749
|
-
min:
|
|
2748
|
+
sum: N1,
|
|
2749
|
+
min: B1,
|
|
2750
2750
|
max: U1,
|
|
2751
2751
|
extent: q1,
|
|
2752
2752
|
mean: j1,
|
|
@@ -2767,7 +2767,7 @@ const B1 = (e, n, t) => t.reduce((o, r) => {
|
|
|
2767
2767
|
...e
|
|
2768
2768
|
}),
|
|
2769
2769
|
getDefaultOptions: (e) => ({
|
|
2770
|
-
onGroupingChange:
|
|
2770
|
+
onGroupingChange: A("grouping", e),
|
|
2771
2771
|
groupedColumnMode: "reorder"
|
|
2772
2772
|
}),
|
|
2773
2773
|
createColumn: (e, n) => {
|
|
@@ -2833,7 +2833,7 @@ const eo = {
|
|
|
2833
2833
|
...e
|
|
2834
2834
|
}),
|
|
2835
2835
|
getDefaultOptions: (e) => ({
|
|
2836
|
-
onColumnOrderChange:
|
|
2836
|
+
onColumnOrderChange: A("columnOrder", e)
|
|
2837
2837
|
}),
|
|
2838
2838
|
createColumn: (e, n) => {
|
|
2839
2839
|
e.getIndex = v((t) => [ue(n, t)], (t) => t.findIndex((o) => o.id === e.id), w(n.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
|
|
@@ -2873,7 +2873,7 @@ const eo = {
|
|
|
2873
2873
|
...e
|
|
2874
2874
|
}),
|
|
2875
2875
|
getDefaultOptions: (e) => ({
|
|
2876
|
-
onColumnPinningChange:
|
|
2876
|
+
onColumnPinningChange: A("columnPinning", e)
|
|
2877
2877
|
}),
|
|
2878
2878
|
createColumn: (e, n) => {
|
|
2879
2879
|
e.pin = (t) => {
|
|
@@ -2968,8 +2968,8 @@ const Ce = {
|
|
|
2968
2968
|
getDefaultOptions: (e) => ({
|
|
2969
2969
|
columnResizeMode: "onEnd",
|
|
2970
2970
|
columnResizeDirection: "ltr",
|
|
2971
|
-
onColumnSizingChange:
|
|
2972
|
-
onColumnSizingInfoChange:
|
|
2971
|
+
onColumnSizingChange: A("columnSizing", e),
|
|
2972
|
+
onColumnSizingInfoChange: A("columnSizingInfo", e)
|
|
2973
2973
|
}),
|
|
2974
2974
|
createColumn: (e, n) => {
|
|
2975
2975
|
e.getSize = () => {
|
|
@@ -3112,7 +3112,7 @@ const lo = {
|
|
|
3112
3112
|
...e
|
|
3113
3113
|
}),
|
|
3114
3114
|
getDefaultOptions: (e) => ({
|
|
3115
|
-
onColumnVisibilityChange:
|
|
3115
|
+
onColumnVisibilityChange: A("columnVisibility", e)
|
|
3116
3116
|
}),
|
|
3117
3117
|
createColumn: (e, n) => {
|
|
3118
3118
|
e.toggleVisibility = (t) => {
|
|
@@ -3167,7 +3167,7 @@ const io = {
|
|
|
3167
3167
|
...e
|
|
3168
3168
|
}),
|
|
3169
3169
|
getDefaultOptions: (e) => ({
|
|
3170
|
-
onGlobalFilterChange:
|
|
3170
|
+
onGlobalFilterChange: A("globalFilter", e),
|
|
3171
3171
|
globalFilterFn: "auto",
|
|
3172
3172
|
getColumnCanGlobalFilter: (n) => {
|
|
3173
3173
|
var t;
|
|
@@ -3182,12 +3182,12 @@ const io = {
|
|
|
3182
3182
|
};
|
|
3183
3183
|
},
|
|
3184
3184
|
createTable: (e) => {
|
|
3185
|
-
e.getGlobalAutoFilterFn = () =>
|
|
3185
|
+
e.getGlobalAutoFilterFn = () => B.includesString, e.getGlobalFilterFn = () => {
|
|
3186
3186
|
var n, t;
|
|
3187
3187
|
const {
|
|
3188
3188
|
globalFilterFn: o
|
|
3189
3189
|
} = e.options;
|
|
3190
|
-
return $e(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n :
|
|
3190
|
+
return $e(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n : B[o];
|
|
3191
3191
|
}, e.setGlobalFilter = (n) => {
|
|
3192
3192
|
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(n);
|
|
3193
3193
|
}, e.resetGlobalFilter = (n) => {
|
|
@@ -3200,7 +3200,7 @@ const io = {
|
|
|
3200
3200
|
...e
|
|
3201
3201
|
}),
|
|
3202
3202
|
getDefaultOptions: (e) => ({
|
|
3203
|
-
onExpandedChange:
|
|
3203
|
+
onExpandedChange: A("expanded", e),
|
|
3204
3204
|
paginateExpandedRows: !0
|
|
3205
3205
|
}),
|
|
3206
3206
|
createTable: (e) => {
|
|
@@ -3281,8 +3281,8 @@ const io = {
|
|
|
3281
3281
|
};
|
|
3282
3282
|
};
|
|
3283
3283
|
}
|
|
3284
|
-
},
|
|
3285
|
-
pageIndex:
|
|
3284
|
+
}, Be = 0, Ue = 10, Ee = () => ({
|
|
3285
|
+
pageIndex: Be,
|
|
3286
3286
|
pageSize: Ue
|
|
3287
3287
|
}), uo = {
|
|
3288
3288
|
getInitialState: (e) => ({
|
|
@@ -3293,7 +3293,7 @@ const io = {
|
|
|
3293
3293
|
}
|
|
3294
3294
|
}),
|
|
3295
3295
|
getDefaultOptions: (e) => ({
|
|
3296
|
-
onPaginationChange:
|
|
3296
|
+
onPaginationChange: A("pagination", e)
|
|
3297
3297
|
}),
|
|
3298
3298
|
createTable: (e) => {
|
|
3299
3299
|
let n = !1, t = !1;
|
|
@@ -3328,7 +3328,7 @@ const io = {
|
|
|
3328
3328
|
});
|
|
3329
3329
|
}, e.resetPageIndex = (o) => {
|
|
3330
3330
|
var r, l;
|
|
3331
|
-
e.setPageIndex(o ?
|
|
3331
|
+
e.setPageIndex(o ? Be : (r = (l = e.initialState) == null || (l = l.pagination) == null ? void 0 : l.pageIndex) != null ? r : Be);
|
|
3332
3332
|
}, e.resetPageSize = (o) => {
|
|
3333
3333
|
var r, l;
|
|
3334
3334
|
e.setPageSize(o ? Ue : (r = (l = e.initialState) == null || (l = l.pagination) == null ? void 0 : l.pageSize) != null ? r : Ue);
|
|
@@ -3373,7 +3373,7 @@ const io = {
|
|
|
3373
3373
|
...e
|
|
3374
3374
|
}),
|
|
3375
3375
|
getDefaultOptions: (e) => ({
|
|
3376
|
-
onRowPinningChange:
|
|
3376
|
+
onRowPinningChange: A("rowPinning", e)
|
|
3377
3377
|
}),
|
|
3378
3378
|
createRow: (e, n) => {
|
|
3379
3379
|
e.pin = (t, o, r) => {
|
|
@@ -3474,7 +3474,7 @@ const io = {
|
|
|
3474
3474
|
...e
|
|
3475
3475
|
}),
|
|
3476
3476
|
getDefaultOptions: (e) => ({
|
|
3477
|
-
onRowSelectionChange:
|
|
3477
|
+
onRowSelectionChange: A("rowSelection", e),
|
|
3478
3478
|
enableRowSelection: !0,
|
|
3479
3479
|
enableMultiRowSelection: !0,
|
|
3480
3480
|
enableSubRowSelection: !0
|
|
@@ -3505,15 +3505,15 @@ const io = {
|
|
|
3505
3505
|
return e.getRowModel().rows.forEach((l) => {
|
|
3506
3506
|
qe(r, l.id, o, !0, e);
|
|
3507
3507
|
}), r;
|
|
3508
|
-
}), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = v(() => [e.getState().rowSelection, e.getCoreRowModel()], (n, t) => Object.keys(n).length ?
|
|
3508
|
+
}), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = v(() => [e.getState().rowSelection, e.getCoreRowModel()], (n, t) => Object.keys(n).length ? Ae(e, t) : {
|
|
3509
3509
|
rows: [],
|
|
3510
3510
|
flatRows: [],
|
|
3511
3511
|
rowsById: {}
|
|
3512
|
-
}, w(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = v(() => [e.getState().rowSelection, e.getFilteredRowModel()], (n, t) => Object.keys(n).length ?
|
|
3512
|
+
}, w(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = v(() => [e.getState().rowSelection, e.getFilteredRowModel()], (n, t) => Object.keys(n).length ? Ae(e, t) : {
|
|
3513
3513
|
rows: [],
|
|
3514
3514
|
flatRows: [],
|
|
3515
3515
|
rowsById: {}
|
|
3516
|
-
}, w(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = v(() => [e.getState().rowSelection, e.getSortedRowModel()], (n, t) => Object.keys(n).length ?
|
|
3516
|
+
}, w(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = v(() => [e.getState().rowSelection, e.getSortedRowModel()], (n, t) => Object.keys(n).length ? Ae(e, t) : {
|
|
3517
3517
|
rows: [],
|
|
3518
3518
|
flatRows: [],
|
|
3519
3519
|
rowsById: {}
|
|
@@ -3591,7 +3591,7 @@ const io = {
|
|
|
3591
3591
|
const i = r.getRow(n, !0);
|
|
3592
3592
|
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));
|
|
3593
3593
|
};
|
|
3594
|
-
function
|
|
3594
|
+
function Ae(e, n) {
|
|
3595
3595
|
const t = e.getState().rowSelection, o = [], r = {}, l = function(i, s) {
|
|
3596
3596
|
return i.map((a) => {
|
|
3597
3597
|
var u;
|
|
@@ -3671,7 +3671,7 @@ const ie = {
|
|
|
3671
3671
|
sortUndefined: 1
|
|
3672
3672
|
}),
|
|
3673
3673
|
getDefaultOptions: (e) => ({
|
|
3674
|
-
onSortingChange:
|
|
3674
|
+
onSortingChange: A("sorting", e),
|
|
3675
3675
|
isMultiSortEvent: (n) => n.shiftKey
|
|
3676
3676
|
}),
|
|
3677
3677
|
createColumn: (e, n) => {
|
|
@@ -3751,7 +3751,7 @@ const ie = {
|
|
|
3751
3751
|
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
|
|
3752
3752
|
}
|
|
3753
3753
|
}, vo = [
|
|
3754
|
-
|
|
3754
|
+
O1,
|
|
3755
3755
|
lo,
|
|
3756
3756
|
eo,
|
|
3757
3757
|
to,
|
|
@@ -3853,7 +3853,7 @@ function wo(e) {
|
|
|
3853
3853
|
getAllColumns: v(() => [r._getColumnDefs()], (d) => {
|
|
3854
3854
|
const c = function(p, C, m) {
|
|
3855
3855
|
return m === void 0 && (m = 0), p.map((y) => {
|
|
3856
|
-
const x =
|
|
3856
|
+
const x = D1(r, y, m, C), _ = y;
|
|
3857
3857
|
return x.columns = _.columns ? c(_.columns, x, m + 1) : [], x;
|
|
3858
3858
|
});
|
|
3859
3859
|
};
|
|
@@ -3984,7 +3984,7 @@ const So = Symbol("merge-proxy"), Mo = {
|
|
|
3984
3984
|
return e.keys();
|
|
3985
3985
|
}
|
|
3986
3986
|
};
|
|
3987
|
-
function
|
|
3987
|
+
function De(e) {
|
|
3988
3988
|
return "value" in e ? e.value : e;
|
|
3989
3989
|
}
|
|
3990
3990
|
function ae() {
|
|
@@ -3993,29 +3993,29 @@ function ae() {
|
|
|
3993
3993
|
return new Proxy({
|
|
3994
3994
|
get(o) {
|
|
3995
3995
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
3996
|
-
const l =
|
|
3996
|
+
const l = De(n[r])[o];
|
|
3997
3997
|
if (l !== void 0) return l;
|
|
3998
3998
|
}
|
|
3999
3999
|
},
|
|
4000
4000
|
has(o) {
|
|
4001
4001
|
for (let r = n.length - 1; r >= 0; r--)
|
|
4002
|
-
if (o in
|
|
4002
|
+
if (o in De(n[r])) return !0;
|
|
4003
4003
|
return !1;
|
|
4004
4004
|
},
|
|
4005
4005
|
keys() {
|
|
4006
4006
|
const o = [];
|
|
4007
|
-
for (let r = 0; r < n.length; r++) o.push(...Object.keys(
|
|
4007
|
+
for (let r = 0; r < n.length; r++) o.push(...Object.keys(De(n[r])));
|
|
4008
4008
|
return [...Array.from(new Set(o))];
|
|
4009
4009
|
}
|
|
4010
4010
|
}, Mo);
|
|
4011
4011
|
}
|
|
4012
|
-
const Kt =
|
|
4012
|
+
const Kt = I({
|
|
4013
4013
|
props: ["render", "props"],
|
|
4014
4014
|
setup: (e) => () => typeof e.render == "function" || typeof e.render == "object" ? Q(e.render, e.props) : e.render
|
|
4015
4015
|
});
|
|
4016
4016
|
function ht(e) {
|
|
4017
4017
|
return ae(e, {
|
|
4018
|
-
data:
|
|
4018
|
+
data: O(e.data)
|
|
4019
4019
|
});
|
|
4020
4020
|
}
|
|
4021
4021
|
function Ro(e) {
|
|
@@ -4065,7 +4065,7 @@ function Ro(e) {
|
|
|
4065
4065
|
});
|
|
4066
4066
|
}), o;
|
|
4067
4067
|
}
|
|
4068
|
-
const $o = ["aria-sort"], bo = /* @__PURE__ */
|
|
4068
|
+
const $o = ["aria-sort"], bo = /* @__PURE__ */ I({
|
|
4069
4069
|
__name: "CmcTableHeader",
|
|
4070
4070
|
props: {
|
|
4071
4071
|
headerGroups: {}
|
|
@@ -4084,7 +4084,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4084
4084
|
"aria-sort": n(l),
|
|
4085
4085
|
scope: "col"
|
|
4086
4086
|
}, [
|
|
4087
|
-
l.isPlaceholder ? z("", !0) : (L(), J(
|
|
4087
|
+
l.isPlaceholder ? z("", !0) : (L(), J(O(Kt), {
|
|
4088
4088
|
key: 0,
|
|
4089
4089
|
props: l.getContext(),
|
|
4090
4090
|
render: l.column.columnDef.header
|
|
@@ -4093,7 +4093,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4093
4093
|
]))), 128))
|
|
4094
4094
|
]));
|
|
4095
4095
|
}
|
|
4096
|
-
}),
|
|
4096
|
+
}), Io = /* @__PURE__ */ $(bo, [["__scopeId", "data-v-9eba66c8"]]), Fo = { key: 0 }, Po = { key: 1 }, zo = ["colspan"], Vo = /* @__PURE__ */ I({
|
|
4097
4097
|
__name: "CmcTableBody",
|
|
4098
4098
|
props: {
|
|
4099
4099
|
rows: {},
|
|
@@ -4101,22 +4101,22 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4101
4101
|
leafColCount: {}
|
|
4102
4102
|
},
|
|
4103
4103
|
setup(e) {
|
|
4104
|
-
return (n, t) => e.rows.length ? (L(), h("tbody",
|
|
4104
|
+
return (n, t) => e.rows.length ? (L(), h("tbody", Fo, [
|
|
4105
4105
|
(L(!0), h(Z, null, U(e.rows, (o) => (L(), h("tr", {
|
|
4106
4106
|
key: o.id
|
|
4107
4107
|
}, [
|
|
4108
4108
|
(L(!0), h(Z, null, U(o.getVisibleCells(), (r) => (L(), h("td", {
|
|
4109
4109
|
key: r.id
|
|
4110
4110
|
}, [
|
|
4111
|
-
O(
|
|
4111
|
+
D(O(Kt), {
|
|
4112
4112
|
props: r.getContext(),
|
|
4113
4113
|
render: r.column.columnDef.cell
|
|
4114
4114
|
}, null, 8, ["props", "render"])
|
|
4115
4115
|
]))), 128))
|
|
4116
4116
|
]))), 128))
|
|
4117
4117
|
])) : (L(), h("tbody", Po, [
|
|
4118
|
-
|
|
4119
|
-
|
|
4118
|
+
F("tr", null, [
|
|
4119
|
+
F("td", {
|
|
4120
4120
|
colspan: e.leafColCount,
|
|
4121
4121
|
class: "td__empty"
|
|
4122
4122
|
}, [
|
|
@@ -4127,7 +4127,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4127
4127
|
])
|
|
4128
4128
|
]));
|
|
4129
4129
|
}
|
|
4130
|
-
}), ko = /* @__PURE__ */ $(Vo, [["__scopeId", "data-v-f962b8ac"]]), Eo = /* @__PURE__ */
|
|
4130
|
+
}), ko = /* @__PURE__ */ $(Vo, [["__scopeId", "data-v-f962b8ac"]]), Eo = /* @__PURE__ */ I({
|
|
4131
4131
|
__name: "CmcTable",
|
|
4132
4132
|
props: {
|
|
4133
4133
|
rows: { default: () => [] },
|
|
@@ -4154,7 +4154,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4154
4154
|
const m = p().map((y) => o(y));
|
|
4155
4155
|
return Q(
|
|
4156
4156
|
Rn,
|
|
4157
|
-
{ gap:
|
|
4157
|
+
{ gap: Dt.medium },
|
|
4158
4158
|
() => m
|
|
4159
4159
|
);
|
|
4160
4160
|
}), {
|
|
@@ -4173,18 +4173,18 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4173
4173
|
getSortedRowModel: _o()
|
|
4174
4174
|
}), u = S(() => a.getHeaderGroups()), g = S(() => a.getRowModel().rows), f = S(() => a.getAllLeafColumns().length);
|
|
4175
4175
|
return (d, c) => (L(), h("table", null, [
|
|
4176
|
-
|
|
4177
|
-
|
|
4176
|
+
D(Io, { headerGroups: u.value }, null, 8, ["headerGroups"]),
|
|
4177
|
+
D(ko, {
|
|
4178
4178
|
rows: g.value,
|
|
4179
4179
|
emptyText: e.emptyText,
|
|
4180
4180
|
leafColCount: f.value
|
|
4181
4181
|
}, null, 8, ["rows", "emptyText", "leafColCount"])
|
|
4182
4182
|
]));
|
|
4183
4183
|
}
|
|
4184
|
-
}), Zo = /* @__PURE__ */ $(Eo, [["__scopeId", "data-v-b5d0ccaf"]]),
|
|
4184
|
+
}), Zo = /* @__PURE__ */ $(Eo, [["__scopeId", "data-v-b5d0ccaf"]]), Ao = { class: "table__pagination" }, Do = 10, Oo = /* @__PURE__ */ I({
|
|
4185
4185
|
__name: "CmcTablePagination",
|
|
4186
4186
|
props: {
|
|
4187
|
-
itemsPerPage: { default:
|
|
4187
|
+
itemsPerPage: { default: Do },
|
|
4188
4188
|
currentPage: { default: 1 },
|
|
4189
4189
|
rows: { default: () => [] },
|
|
4190
4190
|
columns: { default: () => [] },
|
|
@@ -4199,14 +4199,14 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4199
4199
|
const i = (t.currentPage - 1) * t.itemsPerPage;
|
|
4200
4200
|
return t.rows.slice(i, i + t.itemsPerPage);
|
|
4201
4201
|
});
|
|
4202
|
-
return (i, s) => (L(), h("div",
|
|
4203
|
-
|
|
4202
|
+
return (i, s) => (L(), h("div", Ao, [
|
|
4203
|
+
D(Zo, {
|
|
4204
4204
|
columns: e.columns,
|
|
4205
4205
|
"empty-text": e.emptyText,
|
|
4206
4206
|
rows: l.value,
|
|
4207
4207
|
class: "table__pagination--table"
|
|
4208
4208
|
}, null, 8, ["columns", "empty-text", "rows"]),
|
|
4209
|
-
|
|
4209
|
+
D(x1, {
|
|
4210
4210
|
currentPage: e.currentPage,
|
|
4211
4211
|
itemsPerPage: e.itemsPerPage,
|
|
4212
4212
|
totalItems: e.totalItems ?? e.rows.length,
|
|
@@ -4214,25 +4214,25 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4214
4214
|
}, null, 8, ["currentPage", "itemsPerPage", "totalItems"])
|
|
4215
4215
|
]));
|
|
4216
4216
|
}
|
|
4217
|
-
}), sr = /* @__PURE__ */ $(
|
|
4217
|
+
}), sr = /* @__PURE__ */ $(Oo, [["__scopeId", "data-v-a2a0b05e"]]), ar = /* @__PURE__ */ I({
|
|
4218
4218
|
name: "CmcTitle",
|
|
4219
4219
|
__name: "CmcTitle",
|
|
4220
4220
|
setup(e) {
|
|
4221
4221
|
return (n, t) => (L(), h(Z, null, [
|
|
4222
|
-
|
|
4223
|
-
level:
|
|
4222
|
+
D(Nn, {
|
|
4223
|
+
level: O(se).h1
|
|
4224
4224
|
}, {
|
|
4225
4225
|
default: Xe(() => [
|
|
4226
4226
|
G(n.$slots, "default")
|
|
4227
4227
|
]),
|
|
4228
4228
|
_: 3
|
|
4229
4229
|
}, 8, ["level"]),
|
|
4230
|
-
t[0] || (t[0] =
|
|
4230
|
+
t[0] || (t[0] = F("hr", { class: "title__separator" }, null, -1))
|
|
4231
4231
|
], 64));
|
|
4232
4232
|
}
|
|
4233
4233
|
}), To = {
|
|
4234
4234
|
medium: "medium"
|
|
4235
|
-
}, Go = ["id", "disabled", "required"], Ho = ["for"],
|
|
4235
|
+
}, Go = ["id", "disabled", "required"], Ho = ["for"], No = /* @__PURE__ */ I({
|
|
4236
4236
|
name: "CmcToggle",
|
|
4237
4237
|
__name: "CmcToggle",
|
|
4238
4238
|
props: /* @__PURE__ */ K({
|
|
@@ -4256,7 +4256,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4256
4256
|
return (l, i) => (L(), h("div", {
|
|
4257
4257
|
class: b(r.value)
|
|
4258
4258
|
}, [
|
|
4259
|
-
xe(
|
|
4259
|
+
xe(F("input", {
|
|
4260
4260
|
id: o.value,
|
|
4261
4261
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
|
|
4262
4262
|
disabled: n.disabled,
|
|
@@ -4266,21 +4266,21 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4266
4266
|
}, null, 8, Go), [
|
|
4267
4267
|
[_t, t.value]
|
|
4268
4268
|
]),
|
|
4269
|
-
|
|
4269
|
+
F("label", {
|
|
4270
4270
|
for: o.value,
|
|
4271
4271
|
class: "toggle__switch"
|
|
4272
4272
|
}, [...i[1] || (i[1] = [
|
|
4273
|
-
|
|
4273
|
+
F("span", { class: "toggle__slider" }, null, -1)
|
|
4274
4274
|
])], 8, Ho)
|
|
4275
4275
|
], 2));
|
|
4276
4276
|
}
|
|
4277
|
-
}), ur = /* @__PURE__ */ $(
|
|
4277
|
+
}), ur = /* @__PURE__ */ $(No, [["__scopeId", "data-v-37a7880f"]]), Bo = ["aria-current", "aria-label", "onClick", "onKeydown"], Uo = {
|
|
4278
4278
|
key: 1,
|
|
4279
4279
|
class: "wizard__number"
|
|
4280
4280
|
}, qo = { class: "wizard__label" }, jo = ["tabindex", "onClick", "onKeydown"], Ko = {
|
|
4281
4281
|
key: 0,
|
|
4282
4282
|
class: "wizard__separator"
|
|
4283
|
-
}, Xo = /* @__PURE__ */
|
|
4283
|
+
}, Xo = /* @__PURE__ */ I({
|
|
4284
4284
|
name: "CmcWizard",
|
|
4285
4285
|
__name: "CmcWizard",
|
|
4286
4286
|
props: {
|
|
@@ -4308,14 +4308,14 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4308
4308
|
role: "list"
|
|
4309
4309
|
}, [
|
|
4310
4310
|
(L(!0), h(Z, null, U(e.steps, (c, p) => (L(), h(Z, { key: p }, [
|
|
4311
|
-
|
|
4311
|
+
F("div", {
|
|
4312
4312
|
class: b(["wizard__step", i(p)]),
|
|
4313
4313
|
"aria-current": u(p) ? "step" : void 0,
|
|
4314
4314
|
"aria-label": `step-${p + 1} : ${c.label}`,
|
|
4315
4315
|
onClick: (C) => l(p),
|
|
4316
4316
|
onKeydown: [
|
|
4317
4317
|
ge((C) => l(p), ["enter"]),
|
|
4318
|
-
ge(
|
|
4318
|
+
ge(Oe((C) => l(p), ["prevent"]), ["space"])
|
|
4319
4319
|
]
|
|
4320
4320
|
}, [
|
|
4321
4321
|
a(p) ? (L(), J(Y, {
|
|
@@ -4323,15 +4323,15 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
|
|
|
4323
4323
|
color: "secondary",
|
|
4324
4324
|
name: "check"
|
|
4325
4325
|
})) : (L(), h("span", Uo, k(p + 1), 1))
|
|
4326
|
-
], 42,
|
|
4327
|
-
|
|
4328
|
-
|
|
4326
|
+
], 42, Bo),
|
|
4327
|
+
F("div", qo, [
|
|
4328
|
+
F("span", {
|
|
4329
4329
|
class: b(["wizard__label-text", s(p)]),
|
|
4330
4330
|
tabindex: e.clickable ? 0 : -1,
|
|
4331
4331
|
onClick: (C) => l(p),
|
|
4332
4332
|
onKeydown: [
|
|
4333
4333
|
ge((C) => l(p), ["enter"]),
|
|
4334
|
-
ge(
|
|
4334
|
+
ge(Oe((C) => l(p), ["prevent"]), ["space"])
|
|
4335
4335
|
]
|
|
4336
4336
|
}, k(c.label), 43, jo)
|
|
4337
4337
|
]),
|
|
@@ -4346,7 +4346,7 @@ export {
|
|
|
4346
4346
|
Rn as CmcButtonGroup,
|
|
4347
4347
|
er as CmcCertificate,
|
|
4348
4348
|
tr as CmcCheckbox,
|
|
4349
|
-
|
|
4349
|
+
Nn as CmcHeading,
|
|
4350
4350
|
Y as CmcIcon,
|
|
4351
4351
|
Mt as CmcInput,
|
|
4352
4352
|
nr as CmcLoading,
|
|
@@ -4369,7 +4369,7 @@ export {
|
|
|
4369
4369
|
St as inputSizeOptions,
|
|
4370
4370
|
be as inputTypeOptions,
|
|
4371
4371
|
de as inputVariantOptions,
|
|
4372
|
-
|
|
4372
|
+
N as primaryTypeOptions,
|
|
4373
4373
|
le as rankOptions,
|
|
4374
4374
|
fe as selectVariantOptions,
|
|
4375
4375
|
z1 as statusOptions
|