@propelinc/citrus-ui 1.4.0 → 2.0.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/citrus-ui.cdn.css +1 -1
- package/dist/citrus-ui.css +1 -1
- package/dist/colors/colors.d.ts +12 -0
- package/dist/components/CBadge.vue.d.ts +0 -1
- package/dist/components/CCard.vue.d.ts +0 -5
- package/dist/components/CIconButton.vue.d.ts +0 -6
- package/dist/components/CMaskedTextField.vue.d.ts +23 -60
- package/dist/components/CPhoneField.vue.d.ts +40 -92
- package/dist/components/CProgressRing.vue.d.ts +0 -1
- package/dist/components/CSelect.vue.d.ts +0 -4
- package/dist/components/CSkeleton.vue.d.ts +5 -1
- package/dist/components/CSkeletonLoaderCard.vue.d.ts +3 -0
- package/dist/components/CSplitInput.vue.d.ts +1 -5
- package/dist/components/CSsnField.vue.d.ts +41 -95
- package/dist/components/CSwitchListItem.vue.d.ts +1 -4
- package/dist/components/CTextArea.vue.d.ts +3 -8
- package/dist/components/CTextField.vue.d.ts +6 -14
- package/dist/components/CTextLink.vue.d.ts +0 -3
- package/dist/components/CZipcodeField.vue.d.ts +42 -96
- package/dist/components/index.d.ts +0 -2
- package/dist/composables/colors.d.ts +3 -2
- package/dist/composables/input-mask.d.ts +2 -2
- package/dist/composables/toast.d.ts +1 -0
- package/dist/index.cdn.mjs +3162 -3178
- package/dist/index.cdn.mjs.map +1 -1
- package/dist/index.mjs +1166 -1182
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +11 -2
- package/package.json +3 -1
- package/src/colors/colors.ts +44 -0
- package/src/colors/util-classes.ts +4 -0
- package/src/components/CAppBar.vue +3 -3
- package/src/components/CBadge.vue +3 -4
- package/src/components/CBottomSheet.vue +2 -2
- package/src/components/CCard.vue +3 -8
- package/src/components/CIconButton.vue +0 -6
- package/src/components/CLoader.vue +3 -3
- package/src/components/CMaskedTextField.vue +4 -9
- package/src/components/CProgressRing.vue +3 -4
- package/src/components/CSelect.vue +0 -4
- package/src/components/CSkeleton.vue +12 -1
- package/src/components/CSkeletonLoaderCard.vue +4 -1
- package/src/components/CSplitInput.vue +1 -5
- package/src/components/CSquaredIcon.vue +2 -2
- package/src/components/CSsnField.vue +1 -3
- package/src/components/CSwitchListItem.vue +1 -4
- package/src/components/CTextArea.vue +3 -8
- package/src/components/CTextField.vue +3 -11
- package/src/components/CTextLink.vue +0 -3
- package/src/components/CToastsList.vue +1 -0
- package/src/components/CZipcodeField.vue +2 -4
- package/src/components/index.ts +0 -2
- package/src/composables/colors.ts +12 -4
- package/src/composables/input-mask.ts +4 -4
- package/src/composables/toast.ts +1 -0
- package/src/styles/_core.scss +1 -1
- package/src/styles/_typography.scss +4 -0
- package/src/styles/layer-order.css +1 -0
- package/src/styles/tailwind.css +3 -0
- package/dist/components/CCol.vue.d.ts +0 -30
- package/dist/components/CRow.vue.d.ts +0 -41
- package/src/components/CCol.vue +0 -54
- package/src/components/CRow.vue +0 -64
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { faChevronDown as
|
|
3
|
-
import { FontAwesomeIcon as
|
|
1
|
+
import { defineComponent as $, toRefs as te, provide as W, ref as I, nextTick as ct, createElementBlock as g, openBlock as f, renderSlot as b, onMounted as x, unref as d, isRef as ta, watch as G, inject as X, computed as c, withModifiers as ft, normalizeClass as V, createVNode as P, createElementVNode as S, createBlock as M, Transition as pt, withCtx as w, toValue as ne, normalizeStyle as ee, toDisplayString as O, createTextVNode as z, toRef as vt, resolveDynamicComponent as Ae, withDirectives as aa, onBeforeUnmount as be, useSlots as mt, Comment as sa, Fragment as ce, createCommentVNode as R, mergeProps as q, toHandlers as Se, useAttrs as De, getCurrentInstance as la, renderList as fe, createSlots as bt, watchEffect as gt, onUnmounted as oa } from "vue";
|
|
2
|
+
import { faChevronDown as Ue, faXmark as Be, faCheck as ht, faEye as na, faEyeSlash as ia, faChevronRight as ra, faLock as da, faCircleExclamation as ua, faCircleCheck as ca, faInfoCircle as fa } from "@fortawesome/pro-regular-svg-icons";
|
|
3
|
+
import { FontAwesomeIcon as U } from "@fortawesome/vue-fontawesome";
|
|
4
4
|
import "@shoelace-style/shoelace/dist/components/details/details";
|
|
5
|
-
import { getAnimation as pa, setAnimation as
|
|
5
|
+
import { getAnimation as pa, setAnimation as ze } from "@shoelace-style/shoelace/dist/utilities/animation-registry.js";
|
|
6
6
|
import "@shoelace-style/shoelace/dist/components/drawer/drawer.js";
|
|
7
7
|
import { debounce as va } from "lodash";
|
|
8
8
|
import "@shoelace-style/shoelace/dist/components/button/button.js";
|
|
@@ -21,97 +21,97 @@ import "@shoelace-style/shoelace/dist/components/switch/switch.js";
|
|
|
21
21
|
import "@shoelace-style/shoelace/dist/components/alert/alert.js";
|
|
22
22
|
import { faXmark as _a, faCircle as Ca, faSquare as ya } from "@fortawesome/pro-light-svg-icons";
|
|
23
23
|
import { faCircleDot as $a, faSquareCheck as ka } from "@fortawesome/pro-solid-svg-icons";
|
|
24
|
-
const
|
|
24
|
+
const _t = /* @__PURE__ */ Symbol("fluid"), Ct = /* @__PURE__ */ Symbol("on-toggle"), Ta = /* @__PURE__ */ $({
|
|
25
25
|
__name: "CAccordion",
|
|
26
26
|
props: {
|
|
27
27
|
fluid: { type: Boolean, default: !1 }
|
|
28
28
|
},
|
|
29
29
|
emits: ["change"],
|
|
30
|
-
setup(
|
|
31
|
-
const t =
|
|
32
|
-
W(
|
|
33
|
-
const
|
|
34
|
-
return W(
|
|
35
|
-
await
|
|
30
|
+
setup(s, { emit: e }) {
|
|
31
|
+
const t = s, a = e, { fluid: o } = te(t);
|
|
32
|
+
W(_t, o);
|
|
33
|
+
const l = I(null);
|
|
34
|
+
return W(Ct, async () => {
|
|
35
|
+
await ct();
|
|
36
36
|
const n = Array.from(
|
|
37
|
-
|
|
37
|
+
l.value.querySelectorAll("[data-accordion-item]")
|
|
38
38
|
).reduce((r, u, p) => u.hasAttribute("open") ? [...r, p] : r, []);
|
|
39
39
|
a("change", n);
|
|
40
|
-
}), (i, n) => (
|
|
40
|
+
}), (i, n) => (f(), g("div", {
|
|
41
41
|
ref_key: "accordion",
|
|
42
|
-
ref:
|
|
42
|
+
ref: l,
|
|
43
43
|
"data-test": "accordion"
|
|
44
44
|
}, [
|
|
45
45
|
b(i.$slots, "default")
|
|
46
46
|
], 512));
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
function ue(
|
|
49
|
+
function ue(s, e, t) {
|
|
50
50
|
let a = null;
|
|
51
|
-
|
|
52
|
-
if (
|
|
53
|
-
a = pa(
|
|
51
|
+
x(() => {
|
|
52
|
+
if (s.value) {
|
|
53
|
+
a = pa(s.value, e, { dir: "ltr" });
|
|
54
54
|
const o = d(t);
|
|
55
|
-
o !== "default" &&
|
|
55
|
+
o !== "default" && ze(s.value, e, o);
|
|
56
56
|
}
|
|
57
57
|
}), ta(t) && G(t, () => {
|
|
58
|
-
if (
|
|
58
|
+
if (s.value) {
|
|
59
59
|
const o = t.value === "default" ? a : t.value;
|
|
60
|
-
|
|
60
|
+
ze(s.value, e, o);
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
const
|
|
65
|
-
function
|
|
66
|
-
el:
|
|
64
|
+
const xe = 100;
|
|
65
|
+
function yt({
|
|
66
|
+
el: s,
|
|
67
67
|
keyframes: e
|
|
68
68
|
}) {
|
|
69
|
-
const t =
|
|
69
|
+
const t = I(null), a = I(null);
|
|
70
70
|
function o() {
|
|
71
|
-
|
|
72
|
-
duration:
|
|
71
|
+
s.value && (a.value?.cancel(), a.value = null, t.value?.cancel(), t.value = s.value.animate([e.default, e.pressed], {
|
|
72
|
+
duration: xe,
|
|
73
73
|
fill: "forwards"
|
|
74
74
|
}));
|
|
75
75
|
}
|
|
76
|
-
async function
|
|
77
|
-
!t.value || a.value || !
|
|
78
|
-
}),
|
|
79
|
-
duration:
|
|
76
|
+
async function l() {
|
|
77
|
+
!t.value || a.value || !s.value || (await t.value.finished.catch(() => {
|
|
78
|
+
}), s.value && (a.value = s.value.animate([e.pressed, e.default], {
|
|
79
|
+
duration: xe,
|
|
80
80
|
fill: "forwards"
|
|
81
81
|
}), await a.value.finished.catch(() => {
|
|
82
82
|
}), a.value = null, t.value = null));
|
|
83
83
|
}
|
|
84
84
|
return {
|
|
85
85
|
pointerdown: o,
|
|
86
|
-
pointerup:
|
|
87
|
-
pointerleave:
|
|
88
|
-
pointercancel:
|
|
86
|
+
pointerup: l,
|
|
87
|
+
pointerleave: l,
|
|
88
|
+
pointercancel: l
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
const t =
|
|
93
|
-
return G(
|
|
91
|
+
function se(s, e = {}) {
|
|
92
|
+
const t = I(s.value);
|
|
93
|
+
return G(s, (a) => {
|
|
94
94
|
t.value = a;
|
|
95
95
|
}), G(t, (a) => {
|
|
96
|
-
a !==
|
|
96
|
+
a !== s.value && e.onChange?.(a);
|
|
97
97
|
}), t;
|
|
98
98
|
}
|
|
99
|
-
const
|
|
99
|
+
const La = ["open"], Ia = {
|
|
100
100
|
slot: "summary",
|
|
101
101
|
class: "c-accordion-item__header",
|
|
102
102
|
"data-test": "accordion-item-header"
|
|
103
103
|
}, Ea = {
|
|
104
104
|
"data-test": "accordion-item-content",
|
|
105
105
|
class: "c-accordion-item__content"
|
|
106
|
-
}, Aa = /* @__PURE__ */
|
|
106
|
+
}, Aa = /* @__PURE__ */ $({
|
|
107
107
|
__name: "CAccordionItem",
|
|
108
108
|
props: {
|
|
109
109
|
value: { type: Boolean, default: !1 },
|
|
110
110
|
fluid: { type: [Boolean, null], default: null }
|
|
111
111
|
},
|
|
112
112
|
emits: ["input"],
|
|
113
|
-
setup(
|
|
114
|
-
const t =
|
|
113
|
+
setup(s, { emit: e }) {
|
|
114
|
+
const t = s, a = e, o = I(null);
|
|
115
115
|
ue(o, "details.show", {
|
|
116
116
|
keyframes: [{ height: "0" }, { height: "auto" }],
|
|
117
117
|
options: { duration: 200, easing: "ease" }
|
|
@@ -119,41 +119,41 @@ const Ia = ["open"], La = {
|
|
|
119
119
|
keyframes: [{ height: "auto" }, { height: "0" }],
|
|
120
120
|
options: { duration: 200, easing: "ease" }
|
|
121
121
|
});
|
|
122
|
-
const
|
|
122
|
+
const l = X(_t, I(!1)), i = c(() => t.fluid !== null ? t.fluid : l.value ?? !1), n = c(() => t.value), r = se(n, { onChange: (m) => a("input", m) }), u = X(Ct, void 0), p = (m) => {
|
|
123
123
|
r.value = m, u?.(), a("input", m);
|
|
124
124
|
};
|
|
125
|
-
return (m, h) => (
|
|
125
|
+
return (m, h) => (f(), g("sl-details", {
|
|
126
126
|
ref_key: "details",
|
|
127
127
|
ref: o,
|
|
128
128
|
"data-test": "accordion-item",
|
|
129
129
|
"data-accordion-item": "",
|
|
130
130
|
class: V(["c-accordion-item", { "c-accordion-item--fluid": i.value }]),
|
|
131
131
|
open: d(r) || void 0,
|
|
132
|
-
onSlShow: h[0] || (h[0] = (
|
|
133
|
-
onSlHide: h[1] || (h[1] =
|
|
132
|
+
onSlShow: h[0] || (h[0] = (y) => p(!0)),
|
|
133
|
+
onSlHide: h[1] || (h[1] = ft((y) => p(!1), ["stop"]))
|
|
134
134
|
}, [
|
|
135
|
-
P(d(
|
|
135
|
+
P(d(U), {
|
|
136
136
|
slot: "expand-icon",
|
|
137
|
-
icon: d(
|
|
137
|
+
icon: d(Ue)
|
|
138
138
|
}, null, 8, ["icon"]),
|
|
139
|
-
P(d(
|
|
139
|
+
P(d(U), {
|
|
140
140
|
slot: "collapse-icon",
|
|
141
|
-
icon: d(
|
|
141
|
+
icon: d(Ue)
|
|
142
142
|
}, null, 8, ["icon"]),
|
|
143
|
-
S("div",
|
|
143
|
+
S("div", Ia, [
|
|
144
144
|
b(m.$slots, "header", {}, void 0, !0)
|
|
145
145
|
]),
|
|
146
146
|
S("div", Ea, [
|
|
147
147
|
b(m.$slots, "default", {}, void 0, !0)
|
|
148
148
|
])
|
|
149
|
-
], 42,
|
|
149
|
+
], 42, La));
|
|
150
150
|
}
|
|
151
|
-
}),
|
|
152
|
-
const t =
|
|
151
|
+
}), E = (s, e) => {
|
|
152
|
+
const t = s.__vccOpts || s;
|
|
153
153
|
for (const [a, o] of e)
|
|
154
154
|
t[a] = o;
|
|
155
155
|
return t;
|
|
156
|
-
}, Sa = /* @__PURE__ */
|
|
156
|
+
}, Sa = /* @__PURE__ */ E(Aa, [["__scopeId", "data-v-0d90e6cc"]]), Te = "#000000", Le = "rgba(0, 0, 0, 0.04)", Ie = "rgba(0, 0, 0, 0.1)", Ve = "rgba(0, 0, 0, 0.31)", Oe = "rgba(0, 0, 0, 0.48)", He = "rgba(0, 0, 0, 0.69)", et = "#1f7400", tt = "#f47500", at = "#cd000c", J = {
|
|
157
157
|
ACCENT_BLUE: "#5560cb",
|
|
158
158
|
ACCENT_BLUE_SHADE_1: "#404898",
|
|
159
159
|
ACCENT_BLUE_SHADE_2: "#2f3570",
|
|
@@ -169,10 +169,10 @@ const Ia = ["open"], La = {
|
|
|
169
169
|
ACCENT_RED_SHADE_1: "#981d31",
|
|
170
170
|
ACCENT_RED_SHADE_2: "#701323",
|
|
171
171
|
ALERT_RED: "#c34459",
|
|
172
|
-
BACKGROUND:
|
|
172
|
+
BACKGROUND: Le,
|
|
173
173
|
BLACK: Te,
|
|
174
|
-
GRAY_100:
|
|
175
|
-
GRAY_200:
|
|
174
|
+
GRAY_100: Le,
|
|
175
|
+
GRAY_200: Ie,
|
|
176
176
|
GRAY_300: Ve,
|
|
177
177
|
GRAY_400: Oe,
|
|
178
178
|
GRAY_500: He,
|
|
@@ -188,10 +188,10 @@ const Ia = ["open"], La = {
|
|
|
188
188
|
NAVY_TINT_1: He,
|
|
189
189
|
NAVY_TINT_2: Oe,
|
|
190
190
|
NAVY_TINT_3: Ve,
|
|
191
|
-
NAVY_TINT_4:
|
|
192
|
-
NAVY_TINT_5:
|
|
193
|
-
NEUTRAL:
|
|
194
|
-
NEUTRAL_SHADE:
|
|
191
|
+
NAVY_TINT_4: Ie,
|
|
192
|
+
NAVY_TINT_5: Le,
|
|
193
|
+
NEUTRAL: Le,
|
|
194
|
+
NEUTRAL_SHADE: Ie,
|
|
195
195
|
NEUTRAL_SHADE_2: "#707070",
|
|
196
196
|
ORANGE: "#ffa895",
|
|
197
197
|
ORANGE_TINT_1: "#fdcab7",
|
|
@@ -214,19 +214,20 @@ const Ia = ["open"], La = {
|
|
|
214
214
|
YELLOW_100: "#ffdc6b",
|
|
215
215
|
YELLOW_TINT_1: "#ffdc6b",
|
|
216
216
|
YELLOW_TINT_2: "#fee69a",
|
|
217
|
+
BLUE_50: "#f0f6ff",
|
|
217
218
|
BLUE_100: "#e0edff",
|
|
218
219
|
BLUE_200: "#b2cffa",
|
|
219
220
|
BLUE_300: "#7a95f8",
|
|
220
221
|
BLUE_400: "#496ae0",
|
|
221
222
|
BLUE_500: "#1a43d7",
|
|
222
|
-
BORDER:
|
|
223
|
+
BORDER: Ie,
|
|
223
224
|
BUTTON_BACKGROUND: Te,
|
|
224
|
-
GOLD_500:
|
|
225
|
+
GOLD_500: tt,
|
|
225
226
|
GOLD_400: "#f99500",
|
|
226
227
|
GOLD_300: "#ffc120",
|
|
227
228
|
GOLD_200: "#fcde74",
|
|
228
229
|
GOLD_100: "#fff0ba",
|
|
229
|
-
GREEN_500:
|
|
230
|
+
GREEN_500: et,
|
|
230
231
|
GREEN_400: "#3fa41c",
|
|
231
232
|
GREEN_300: "#8bc95a",
|
|
232
233
|
GREEN_200: "#b8da96",
|
|
@@ -236,31 +237,42 @@ const Ia = ["open"], La = {
|
|
|
236
237
|
PURPLE_300: "#ac8eff",
|
|
237
238
|
PURPLE_200: "#cdbcff",
|
|
238
239
|
PURPLE_100: "#ebe4ff",
|
|
239
|
-
RED_500:
|
|
240
|
+
RED_500: at,
|
|
240
241
|
RED_400: "#f52323",
|
|
241
242
|
RED_300: "#ff6969",
|
|
242
243
|
RED_200: "#ffaaa5",
|
|
243
244
|
RED_100: "#ffe5dd",
|
|
244
|
-
STATUS_SUCCESS:
|
|
245
|
-
STATUS_WARNING:
|
|
246
|
-
STATUS_ERROR:
|
|
245
|
+
STATUS_SUCCESS: et,
|
|
246
|
+
STATUS_WARNING: tt,
|
|
247
|
+
STATUS_ERROR: at
|
|
247
248
|
};
|
|
248
|
-
function
|
|
249
|
-
return
|
|
249
|
+
function $t(s) {
|
|
250
|
+
return s ? /^#([0-9A-Fa-f]{3}){1,2}$/i.test(s) : !1;
|
|
250
251
|
}
|
|
251
|
-
function
|
|
252
|
-
return
|
|
252
|
+
function Ge(s) {
|
|
253
|
+
return s ? /^rgba\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*[\d.]+\s*\)$/i.test(s) : !1;
|
|
253
254
|
}
|
|
254
|
-
function Fe(
|
|
255
|
-
return
|
|
255
|
+
function Fe(s) {
|
|
256
|
+
return $t(s) || Ge(s);
|
|
256
257
|
}
|
|
257
|
-
function Da(
|
|
258
|
-
return
|
|
258
|
+
function Da(s) {
|
|
259
|
+
return s ? Object.keys(J).includes(s) : !1;
|
|
259
260
|
}
|
|
260
|
-
|
|
261
|
+
function Ba(s) {
|
|
262
|
+
if (!Ge(s))
|
|
263
|
+
return !1;
|
|
264
|
+
const e = s.match(
|
|
265
|
+
/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*[\d.]+\s*\)$/i
|
|
266
|
+
);
|
|
267
|
+
if (!e)
|
|
268
|
+
return !1;
|
|
269
|
+
const t = "#" + [e[1], e[2], e[3]].map((a) => parseInt(a).toString(16).padStart(2, "0")).join("");
|
|
270
|
+
return Object.values(J).includes(t);
|
|
271
|
+
}
|
|
272
|
+
const wa = /* @__PURE__ */ $({
|
|
261
273
|
__name: "CFadeTransition",
|
|
262
|
-
setup(
|
|
263
|
-
return (e, t) => (
|
|
274
|
+
setup(s) {
|
|
275
|
+
return (e, t) => (f(), M(pt, {
|
|
264
276
|
mode: "out-in",
|
|
265
277
|
name: "fade"
|
|
266
278
|
}, {
|
|
@@ -270,22 +282,24 @@ const Ba = /* @__PURE__ */ y({
|
|
|
270
282
|
_: 3
|
|
271
283
|
}));
|
|
272
284
|
}
|
|
273
|
-
}),
|
|
274
|
-
function
|
|
275
|
-
const e =
|
|
276
|
-
() => Fe(
|
|
277
|
-
), t =
|
|
278
|
-
if (
|
|
279
|
-
return
|
|
280
|
-
}), a =
|
|
285
|
+
}), je = /* @__PURE__ */ E(wa, [["__scopeId", "data-v-b3f4d795"]]);
|
|
286
|
+
function Q(s) {
|
|
287
|
+
const e = c(
|
|
288
|
+
() => Fe(ne(s)) ? ne(s)?.toLowerCase() : void 0
|
|
289
|
+
), t = c(() => {
|
|
290
|
+
if (ne(s) && !Fe(ne(s)))
|
|
291
|
+
return ne(s)?.replace(/-/g, "_").toUpperCase();
|
|
292
|
+
}), a = c(() => {
|
|
281
293
|
if (t.value && Da(t.value))
|
|
282
|
-
return
|
|
283
|
-
if (Fe(e.value) && Object.values(
|
|
294
|
+
return J[t.value];
|
|
295
|
+
if (Fe(e.value) && Object.values(J).includes(e.value))
|
|
284
296
|
return e.value;
|
|
285
|
-
|
|
286
|
-
|
|
297
|
+
if (Ba(ne(s)))
|
|
298
|
+
return ne(s);
|
|
299
|
+
}), o = c(() => a.value !== void 0);
|
|
300
|
+
return { cssColor: a, isPaletteColor: o };
|
|
287
301
|
}
|
|
288
|
-
const
|
|
302
|
+
const Ra = ["aria-label", "data-size"], Ma = /* @__PURE__ */ $({
|
|
289
303
|
__name: "CLoader",
|
|
290
304
|
props: {
|
|
291
305
|
accessibleText: { default: void 0 },
|
|
@@ -294,7 +308,7 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ y({
|
|
|
294
308
|
size: { default: "lg" },
|
|
295
309
|
trackColor: { default: "default" }
|
|
296
310
|
},
|
|
297
|
-
setup(
|
|
311
|
+
setup(s) {
|
|
298
312
|
const e = {
|
|
299
313
|
sm: "20px",
|
|
300
314
|
md: "26px",
|
|
@@ -303,14 +317,14 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ y({
|
|
|
303
317
|
sm: "2.5px",
|
|
304
318
|
md: "3px",
|
|
305
319
|
lg: "3px"
|
|
306
|
-
}, a =
|
|
307
|
-
return (u, p) => (
|
|
320
|
+
}, a = s, o = c(() => a.color === "default" ? "black" : a.color), l = c(() => a.trackColor !== "default" ? a.trackColor : a.color === "white" || a.color === J.WHITE ? "gray-500" : "gray-200"), i = c(() => a.small ? "sm" : a.size), { cssColor: n } = Q(o), { cssColor: r } = Q(l);
|
|
321
|
+
return (u, p) => (f(), g("span", {
|
|
308
322
|
"aria-label": u.accessibleText || u.$t("Loading..."),
|
|
309
323
|
class: "c-loader",
|
|
310
324
|
"data-size": i.value,
|
|
311
325
|
"data-test": "loader",
|
|
312
326
|
role: "progressbar",
|
|
313
|
-
style:
|
|
327
|
+
style: ee({
|
|
314
328
|
"--indicator-color": d(n),
|
|
315
329
|
"--loader-size": e[i.value],
|
|
316
330
|
"--track-color": d(r),
|
|
@@ -321,25 +335,25 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ y({
|
|
|
321
335
|
S("circle", { class: "c-loader__track" }),
|
|
322
336
|
S("circle", { class: "c-loader__indicator" })
|
|
323
337
|
], -1)
|
|
324
|
-
]), 12,
|
|
338
|
+
]), 12, Ra));
|
|
325
339
|
}
|
|
326
|
-
}), we = /* @__PURE__ */
|
|
340
|
+
}), we = /* @__PURE__ */ E(Ma, [["__scopeId", "data-v-5ef0476d"]]), Re = /* @__PURE__ */ Symbol("tertiary"), kt = /* @__PURE__ */ Symbol("inherit-color"), Na = ["data-background-color", "data-color"], Va = {
|
|
327
341
|
class: "c-app-bar__left",
|
|
328
342
|
"data-test": "app-bar-left"
|
|
329
|
-
},
|
|
343
|
+
}, Oa = {
|
|
330
344
|
"data-test": "app-bar-title",
|
|
331
345
|
class: "c-app-bar__title"
|
|
332
|
-
},
|
|
346
|
+
}, Ha = {
|
|
333
347
|
key: "title",
|
|
334
348
|
class: "c-app-bar__title-content",
|
|
335
349
|
"data-test": "app-bar-title-text"
|
|
336
|
-
},
|
|
350
|
+
}, Fa = {
|
|
337
351
|
key: "slot",
|
|
338
352
|
class: "c-app-bar__title-content"
|
|
339
|
-
},
|
|
353
|
+
}, Pa = {
|
|
340
354
|
class: "c-app-bar__right",
|
|
341
355
|
"data-test": "app-bar-right"
|
|
342
|
-
},
|
|
356
|
+
}, Ya = /* @__PURE__ */ $({
|
|
343
357
|
__name: "CAppBar",
|
|
344
358
|
props: {
|
|
345
359
|
backgroundColor: { default: "default" },
|
|
@@ -350,101 +364,101 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ y({
|
|
|
350
364
|
loading: { type: Boolean, default: !1 },
|
|
351
365
|
title: { default: "" }
|
|
352
366
|
},
|
|
353
|
-
setup(
|
|
354
|
-
const e =
|
|
355
|
-
W(Re,
|
|
356
|
-
const t =
|
|
367
|
+
setup(s) {
|
|
368
|
+
const e = s;
|
|
369
|
+
W(Re, I(!0)), W(kt, I(!0));
|
|
370
|
+
const t = c(() => e.backgroundColor === "default" ? J.WHITE : e.backgroundColor), { cssColor: a } = Q(t), o = c(() => {
|
|
357
371
|
const n = a.value;
|
|
358
372
|
if (!n)
|
|
359
|
-
return
|
|
373
|
+
return J.BLACK;
|
|
360
374
|
let r, u, p;
|
|
361
|
-
if (
|
|
362
|
-
const h = n.substring(1),
|
|
363
|
-
r = parseInt(
|
|
364
|
-
} else if (
|
|
375
|
+
if ($t(n)) {
|
|
376
|
+
const h = n.substring(1), y = h.length === 3 ? h.replace(/(.)/g, "$1$1") : h;
|
|
377
|
+
r = parseInt(y.substring(0, 2), 16) / 255, u = parseInt(y.substring(2, 4), 16) / 255, p = parseInt(y.substring(4, 6), 16) / 255;
|
|
378
|
+
} else if (Ge(n)) {
|
|
365
379
|
const h = n.match(
|
|
366
380
|
/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([\d.]+)\s*\)$/i
|
|
367
381
|
);
|
|
368
382
|
if (!h)
|
|
369
|
-
return
|
|
370
|
-
const
|
|
371
|
-
r =
|
|
383
|
+
return J.BLACK;
|
|
384
|
+
const y = Number(h[1]) / 255, C = Number(h[2]) / 255, N = Number(h[3]) / 255, A = Number(h[4]);
|
|
385
|
+
r = y * A + (1 - A), u = C * A + (1 - A), p = N * A + (1 - A);
|
|
372
386
|
} else
|
|
373
|
-
return
|
|
374
|
-
return 0.2126 * r + 0.7152 * u + 0.0722 * p < 0.5 ?
|
|
375
|
-
}), { cssColor:
|
|
376
|
-
return (n, r) => (
|
|
387
|
+
return J.BLACK;
|
|
388
|
+
return 0.2126 * r + 0.7152 * u + 0.0722 * p < 0.5 ? J.WHITE : J.BLACK;
|
|
389
|
+
}), { cssColor: l } = Q(() => e.color), i = c(() => l.value ? l.value : o.value);
|
|
390
|
+
return (n, r) => (f(), g("header", {
|
|
377
391
|
"data-test": "app-bar",
|
|
378
392
|
class: V(["c-app-bar", {
|
|
379
393
|
"c-app-bar--fixed": n.fixed,
|
|
380
394
|
"c-app-bar--border": n.border
|
|
381
395
|
}]),
|
|
382
|
-
style:
|
|
396
|
+
style: ee({
|
|
383
397
|
"--c-app-bar-background-color": d(a),
|
|
384
398
|
"--c-app-bar-color": i.value
|
|
385
399
|
}),
|
|
386
400
|
"data-background-color": d(a),
|
|
387
401
|
"data-color": i.value
|
|
388
402
|
}, [
|
|
389
|
-
S("div",
|
|
403
|
+
S("div", Va, [
|
|
390
404
|
b(n.$slots, "left", {}, void 0, !0)
|
|
391
405
|
]),
|
|
392
|
-
S("div",
|
|
393
|
-
P(
|
|
406
|
+
S("div", Oa, [
|
|
407
|
+
P(je, null, {
|
|
394
408
|
default: w(() => [
|
|
395
|
-
n.loading ? (
|
|
409
|
+
n.loading ? (f(), M(we, {
|
|
396
410
|
key: "loader",
|
|
397
411
|
"data-test": "app-bar-loader",
|
|
398
412
|
class: "c-app-bar__loader",
|
|
399
413
|
small: "",
|
|
400
414
|
color: i.value,
|
|
401
415
|
"accessible-text": n.loaderAccessibleText
|
|
402
|
-
}, null, 8, ["color", "accessible-text"])) : !n.loading && n.title ? (
|
|
416
|
+
}, null, 8, ["color", "accessible-text"])) : !n.loading && n.title ? (f(), g("h1", Ha, O(n.title), 1)) : (f(), g("div", Fa, [
|
|
403
417
|
b(n.$slots, "title", {}, void 0, !0)
|
|
404
418
|
]))
|
|
405
419
|
]),
|
|
406
420
|
_: 3
|
|
407
421
|
})
|
|
408
422
|
]),
|
|
409
|
-
S("div",
|
|
423
|
+
S("div", Pa, [
|
|
410
424
|
b(n.$slots, "right", {}, void 0, !0)
|
|
411
425
|
])
|
|
412
|
-
], 14,
|
|
426
|
+
], 14, Na));
|
|
413
427
|
}
|
|
414
|
-
}),
|
|
428
|
+
}), qa = /* @__PURE__ */ E(Ya, [["__scopeId", "data-v-77d87391"]]), Ua = ["data-test", "data-color", "data-text-color"], za = /* @__PURE__ */ $({
|
|
415
429
|
__name: "CBadge",
|
|
416
430
|
props: {
|
|
417
431
|
dataTest: { default: "badge" },
|
|
418
432
|
color: { default: "purple-200" },
|
|
419
|
-
text: {
|
|
433
|
+
text: {},
|
|
420
434
|
textColor: { default: "text-primary" }
|
|
421
435
|
},
|
|
422
|
-
setup(
|
|
423
|
-
const e =
|
|
424
|
-
const
|
|
425
|
-
return t.value && (
|
|
436
|
+
setup(s) {
|
|
437
|
+
const e = s, { cssColor: t } = Q(() => e.color), { cssColor: a } = Q(() => e.textColor), o = c(() => {
|
|
438
|
+
const l = {};
|
|
439
|
+
return t.value && (l["--c-badge-background-color"] = t.value), a.value && (l["--c-badge-text-color"] = a.value), l;
|
|
426
440
|
});
|
|
427
|
-
return (
|
|
441
|
+
return (l, i) => (f(), g("span", {
|
|
428
442
|
class: "c-badge",
|
|
429
|
-
"data-test":
|
|
430
|
-
"data-color":
|
|
431
|
-
"data-text-color":
|
|
432
|
-
style:
|
|
443
|
+
"data-test": l.dataTest,
|
|
444
|
+
"data-color": l.color,
|
|
445
|
+
"data-text-color": l.textColor,
|
|
446
|
+
style: ee(o.value)
|
|
433
447
|
}, [
|
|
434
|
-
b(
|
|
435
|
-
|
|
448
|
+
b(l.$slots, "default", {}, () => [
|
|
449
|
+
z(O(l.text), 1)
|
|
436
450
|
], !0)
|
|
437
451
|
], 12, Ua));
|
|
438
452
|
}
|
|
439
|
-
}),
|
|
453
|
+
}), Ga = /* @__PURE__ */ E(za, [["__scopeId", "data-v-47b066f2"]]), Tt = /* @__PURE__ */ Symbol("block"), Lt = /* @__PURE__ */ Symbol("large"), It = /* @__PURE__ */ Symbol("bounce-amount"), ja = /* @__PURE__ */ $({
|
|
440
454
|
__name: "CButtonStack",
|
|
441
455
|
props: {
|
|
442
456
|
tag: { default: "div" },
|
|
443
457
|
large: { type: [Boolean, null], default: null }
|
|
444
458
|
},
|
|
445
|
-
setup(
|
|
446
|
-
const t =
|
|
447
|
-
return W(Tt,
|
|
459
|
+
setup(s) {
|
|
460
|
+
const t = vt(s, "large");
|
|
461
|
+
return W(Tt, I(!0)), W(Lt, t), (a, o) => (f(), M(Ae(a.tag), {
|
|
448
462
|
class: "c-button-stack",
|
|
449
463
|
"data-test": "c-button-stack"
|
|
450
464
|
}, {
|
|
@@ -454,91 +468,91 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ y({
|
|
|
454
468
|
_: 3
|
|
455
469
|
}));
|
|
456
470
|
}
|
|
457
|
-
}), Me = /* @__PURE__ */
|
|
458
|
-
const e =
|
|
459
|
-
(r || u) &&
|
|
460
|
-
},
|
|
461
|
-
beforeMount(
|
|
462
|
-
const e =
|
|
463
|
-
e && (
|
|
471
|
+
}), Me = /* @__PURE__ */ E(ja, [["__scopeId", "data-v-8dcd3648"]]), Pe = () => window.visualViewport ?? window, Za = (s) => {
|
|
472
|
+
const e = s.getBoundingClientRect(), t = window.innerHeight || document.documentElement.clientHeight, a = document.getElementById("app")?.clientHeight, o = document.getElementsByClassName("app-bar c-app-bar")[0]?.clientHeight || 64, l = document.getElementsByClassName("c-fixed-page-footer")[0]?.clientHeight || document.getElementsByClassName("scrollable-footer")[0]?.clientHeight || 0, i = a ? t - (a - o) : o, n = t - l, r = e.top < i, u = e.bottom > n;
|
|
473
|
+
(r || u) && s.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
474
|
+
}, Wa = {
|
|
475
|
+
beforeMount(s) {
|
|
476
|
+
const e = s.querySelector("input,textarea");
|
|
477
|
+
e && (s.scrollDirective = {
|
|
464
478
|
focusable: e,
|
|
465
479
|
scrollIfNeeded: va(() => {
|
|
466
|
-
|
|
480
|
+
Za(s);
|
|
467
481
|
}, 300),
|
|
468
482
|
focusListener: () => {
|
|
469
|
-
|
|
483
|
+
s.scrollDirective && (s.scrollDirective.scrollIfNeeded(), Pe().addEventListener("resize", s.scrollDirective.scrollIfNeeded));
|
|
470
484
|
},
|
|
471
485
|
blurListener: () => {
|
|
472
|
-
|
|
486
|
+
s.scrollDirective && (s.scrollDirective.scrollIfNeeded.cancel(), Pe().removeEventListener("resize", s.scrollDirective.scrollIfNeeded));
|
|
473
487
|
}
|
|
474
|
-
}, e.addEventListener("focus",
|
|
488
|
+
}, e.addEventListener("focus", s.scrollDirective.focusListener), e.addEventListener("blur", s.scrollDirective.blurListener));
|
|
475
489
|
},
|
|
476
|
-
unmounted(
|
|
477
|
-
|
|
490
|
+
unmounted(s) {
|
|
491
|
+
s.scrollDirective && (s.scrollDirective.scrollIfNeeded.cancel(), s.scrollDirective.focusable.removeEventListener("focus", s.scrollDirective.focusListener), s.scrollDirective.focusable.removeEventListener("blur", s.scrollDirective.blurListener), Pe().removeEventListener("resize", s.scrollDirective.scrollIfNeeded));
|
|
478
492
|
}
|
|
479
|
-
},
|
|
480
|
-
function lt(
|
|
481
|
-
const t =
|
|
482
|
-
el:
|
|
493
|
+
}, st = 0.94;
|
|
494
|
+
function lt(s, e) {
|
|
495
|
+
const t = yt({
|
|
496
|
+
el: I(s),
|
|
483
497
|
keyframes: {
|
|
484
498
|
default: { transform: "scale(1)" },
|
|
485
499
|
pressed: { transform: `scale(${e})` }
|
|
486
500
|
}
|
|
487
501
|
});
|
|
488
502
|
Object.entries(t).forEach(([a, o]) => {
|
|
489
|
-
|
|
490
|
-
}),
|
|
503
|
+
s.addEventListener(a, o);
|
|
504
|
+
}), s.__tapAnimationCleanup = () => {
|
|
491
505
|
Object.entries(t).forEach(([a, o]) => {
|
|
492
|
-
|
|
506
|
+
s.removeEventListener(a, o);
|
|
493
507
|
});
|
|
494
508
|
};
|
|
495
509
|
}
|
|
496
510
|
const Et = {
|
|
497
|
-
beforeMount(
|
|
511
|
+
beforeMount(s, e) {
|
|
498
512
|
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches)
|
|
499
513
|
return;
|
|
500
|
-
const a = e.value?.bounceAmount ??
|
|
501
|
-
lt(
|
|
514
|
+
const a = e.value?.bounceAmount ?? st;
|
|
515
|
+
lt(s, a);
|
|
502
516
|
},
|
|
503
|
-
updated(
|
|
517
|
+
updated(s, e) {
|
|
504
518
|
if (!window.matchMedia("(prefers-reduced-motion: reduce)").matches && e.value?.bounceAmount !== e.oldValue?.bounceAmount) {
|
|
505
|
-
|
|
506
|
-
const a = e.value?.bounceAmount ??
|
|
507
|
-
lt(
|
|
519
|
+
s.__tapAnimationCleanup?.();
|
|
520
|
+
const a = e.value?.bounceAmount ?? st;
|
|
521
|
+
lt(s, a);
|
|
508
522
|
}
|
|
509
523
|
},
|
|
510
|
-
unmounted(
|
|
511
|
-
|
|
524
|
+
unmounted(s) {
|
|
525
|
+
s.__tapAnimationCleanup?.();
|
|
512
526
|
}
|
|
513
|
-
},
|
|
527
|
+
}, Xa = ["aria-label", "disabled"], Ka = /* @__PURE__ */ $({
|
|
514
528
|
__name: "CCloseButton",
|
|
515
529
|
props: {
|
|
516
530
|
disabled: { type: Boolean }
|
|
517
531
|
},
|
|
518
532
|
emits: ["click", "focus", "blur"],
|
|
519
|
-
setup(
|
|
533
|
+
setup(s, { emit: e }) {
|
|
520
534
|
const t = e, a = () => {
|
|
521
535
|
t("click");
|
|
522
536
|
};
|
|
523
|
-
return (o,
|
|
537
|
+
return (o, l) => aa((f(), g("button", {
|
|
524
538
|
class: "c-close-button",
|
|
525
539
|
"data-test": "c-close-button",
|
|
526
540
|
"aria-label": o.$t("Close"),
|
|
527
541
|
disabled: o.disabled,
|
|
528
542
|
onClick: a
|
|
529
543
|
}, [
|
|
530
|
-
P(d(
|
|
531
|
-
], 8,
|
|
544
|
+
P(d(U), { icon: d(Be) }, null, 8, ["icon"])
|
|
545
|
+
], 8, Xa)), [
|
|
532
546
|
[d(Et)]
|
|
533
547
|
]);
|
|
534
548
|
}
|
|
535
|
-
}),
|
|
536
|
-
function At(
|
|
549
|
+
}), Ja = /* @__PURE__ */ E(Ka, [["__scopeId", "data-v-9db7ba0f"]]);
|
|
550
|
+
function At(s, e) {
|
|
537
551
|
if (!("ResizeObserver" in window))
|
|
538
552
|
return;
|
|
539
553
|
let t = null;
|
|
540
554
|
G(
|
|
541
|
-
|
|
555
|
+
s,
|
|
542
556
|
(a) => {
|
|
543
557
|
a && (t = new ResizeObserver(e), t.observe(a));
|
|
544
558
|
},
|
|
@@ -547,47 +561,47 @@ function At(l, e) {
|
|
|
547
561
|
t && (t.disconnect(), t = null);
|
|
548
562
|
});
|
|
549
563
|
}
|
|
550
|
-
function St(
|
|
564
|
+
function St(s, e) {
|
|
551
565
|
const t = e.reduce(
|
|
552
|
-
(a, o) => ({ ...a, [o]:
|
|
566
|
+
(a, o) => ({ ...a, [o]: I(null) }),
|
|
553
567
|
{}
|
|
554
568
|
);
|
|
555
|
-
return
|
|
556
|
-
if (!
|
|
569
|
+
return x(async () => {
|
|
570
|
+
if (!s.value)
|
|
557
571
|
return;
|
|
558
572
|
try {
|
|
559
|
-
await customElements.whenDefined(
|
|
573
|
+
await customElements.whenDefined(s.value.tagName.toLowerCase());
|
|
560
574
|
} catch {
|
|
561
575
|
return;
|
|
562
576
|
}
|
|
563
|
-
const a =
|
|
577
|
+
const a = s.value?.shadowRoot;
|
|
564
578
|
if (a)
|
|
565
579
|
for (const o of e)
|
|
566
580
|
t[o].value = a.querySelector(`[part="${o}"]`);
|
|
567
581
|
}), t;
|
|
568
582
|
}
|
|
569
|
-
const Dt = (
|
|
570
|
-
const t =
|
|
583
|
+
const Dt = (s, e) => {
|
|
584
|
+
const t = I(null), a = I(null), o = I(null), l = c(() => !t.value || !a.value ? { x: 0, y: 0 } : {
|
|
571
585
|
x: a.value.position.x - t.value.position.x,
|
|
572
586
|
y: a.value.position.y - t.value.position.y
|
|
573
587
|
}), i = (h) => {
|
|
574
|
-
const { clientX:
|
|
575
|
-
return { position: { x:
|
|
588
|
+
const { clientX: y, clientY: C } = h.touches[0];
|
|
589
|
+
return { position: { x: y, y: C }, timestamp: h.timeStamp };
|
|
576
590
|
}, n = (h) => {
|
|
577
591
|
t.value = i(h), a.value = t.value;
|
|
578
592
|
}, r = (h) => {
|
|
579
|
-
const
|
|
593
|
+
const y = i(h);
|
|
580
594
|
if (a.value) {
|
|
581
|
-
const C =
|
|
595
|
+
const C = y.timestamp - a.value.timestamp;
|
|
582
596
|
o.value = {
|
|
583
|
-
x: (
|
|
584
|
-
y: (
|
|
597
|
+
x: (y.position.x - a.value.position.x) / C,
|
|
598
|
+
y: (y.position.y - a.value.position.y) / C
|
|
585
599
|
};
|
|
586
600
|
}
|
|
587
|
-
a.value =
|
|
601
|
+
a.value = y;
|
|
588
602
|
}, u = () => {
|
|
589
603
|
e?.onDragEnd?.({
|
|
590
|
-
distance:
|
|
604
|
+
distance: l.value,
|
|
591
605
|
velocity: o.value ?? { x: 0, y: 0 }
|
|
592
606
|
}), t.value = null, a.value = null, o.value = null;
|
|
593
607
|
}, p = (h) => {
|
|
@@ -595,39 +609,39 @@ const Dt = (l, e) => {
|
|
|
595
609
|
}, m = (h) => {
|
|
596
610
|
h && (h.removeEventListener("touchstart", n), h.removeEventListener("touchmove", r), h.removeEventListener("touchend", u));
|
|
597
611
|
};
|
|
598
|
-
return
|
|
599
|
-
p(
|
|
600
|
-
}), G(
|
|
601
|
-
m(
|
|
602
|
-
}), { dragDistance:
|
|
603
|
-
},
|
|
604
|
-
const e =
|
|
612
|
+
return x(async () => {
|
|
613
|
+
p(s.value);
|
|
614
|
+
}), G(s, (h, y) => {
|
|
615
|
+
m(y), p(h);
|
|
616
|
+
}), { dragDistance: l, dragVelocity: o };
|
|
617
|
+
}, Qa = (s) => {
|
|
618
|
+
const e = I(!1), t = () => {
|
|
605
619
|
e.value = !0;
|
|
606
620
|
}, a = (n) => {
|
|
607
621
|
e.value && n.stopPropagation();
|
|
608
622
|
}, o = (n) => {
|
|
609
623
|
a(n), e.value = !1;
|
|
610
|
-
},
|
|
624
|
+
}, l = (n) => {
|
|
611
625
|
n && (n.addEventListener("scroll", t), n.addEventListener("touchstart", a), n.addEventListener("touchmove", a), n.addEventListener("touchend", o));
|
|
612
626
|
}, i = (n) => {
|
|
613
627
|
n && (n.removeEventListener("scroll", t), n.removeEventListener("touchstart", a), n.removeEventListener("touchmove", a), n.removeEventListener("touchend", o));
|
|
614
628
|
};
|
|
615
|
-
|
|
616
|
-
s
|
|
617
|
-
}), G(
|
|
618
|
-
i(r),
|
|
629
|
+
x(() => {
|
|
630
|
+
l(s.value);
|
|
631
|
+
}), G(s, (n, r) => {
|
|
632
|
+
i(r), l(n);
|
|
619
633
|
});
|
|
620
|
-
},
|
|
621
|
-
if (
|
|
634
|
+
}, xa = (s, e) => c(() => {
|
|
635
|
+
if (s.value === null)
|
|
622
636
|
return 0;
|
|
623
|
-
const t = e?.value?.resistance ?? 7, { min: a, max: o } = e?.value ?? {},
|
|
624
|
-
return a &&
|
|
637
|
+
const t = e?.value?.resistance ?? 7, { min: a, max: o } = e?.value ?? {}, l = Math.abs(s.value);
|
|
638
|
+
return a && s.value < 0 ? a * l / (l - a * t) : o && s.value > 0 ? o * l / (l + o * t) : s.value;
|
|
625
639
|
});
|
|
626
|
-
function Bt(
|
|
627
|
-
if (
|
|
640
|
+
function Bt(s) {
|
|
641
|
+
if (s.type === sa)
|
|
628
642
|
return !1;
|
|
629
|
-
if (
|
|
630
|
-
const e =
|
|
643
|
+
if (s.type === ce || s.type === "template") {
|
|
644
|
+
const e = s.children;
|
|
631
645
|
if (!e || Array.isArray(e) && e.length === 0)
|
|
632
646
|
return !1;
|
|
633
647
|
if (Array.isArray(e))
|
|
@@ -635,95 +649,95 @@ function Bt(l) {
|
|
|
635
649
|
}
|
|
636
650
|
return !0;
|
|
637
651
|
}
|
|
638
|
-
function K(
|
|
639
|
-
const e =
|
|
640
|
-
return
|
|
641
|
-
const t = e[
|
|
652
|
+
function K(s) {
|
|
653
|
+
const e = mt();
|
|
654
|
+
return c(() => {
|
|
655
|
+
const t = e[s];
|
|
642
656
|
return t ? t().filter(Bt).length > 0 : !1;
|
|
643
657
|
});
|
|
644
658
|
}
|
|
645
659
|
const ge = 300, he = "ease";
|
|
646
|
-
function
|
|
647
|
-
start:
|
|
660
|
+
function ot({
|
|
661
|
+
start: s = 0,
|
|
648
662
|
duration: e = ge,
|
|
649
663
|
easing: t = he
|
|
650
664
|
} = {}) {
|
|
651
665
|
return {
|
|
652
666
|
keyframes: [
|
|
653
|
-
{ opacity:
|
|
667
|
+
{ opacity: s, offset: 0 },
|
|
654
668
|
{ opacity: 1, offset: 1 }
|
|
655
669
|
],
|
|
656
670
|
options: { duration: e, easing: t }
|
|
657
671
|
};
|
|
658
672
|
}
|
|
659
673
|
function Ye({
|
|
660
|
-
start:
|
|
674
|
+
start: s = 0,
|
|
661
675
|
duration: e = ge,
|
|
662
676
|
easing: t = he
|
|
663
677
|
} = {}) {
|
|
664
678
|
return {
|
|
665
679
|
keyframes: [
|
|
666
|
-
{ opacity: 1 -
|
|
680
|
+
{ opacity: 1 - s, offset: 0 },
|
|
667
681
|
{ opacity: 0, offset: 1 }
|
|
668
682
|
],
|
|
669
683
|
options: { duration: e, easing: t }
|
|
670
684
|
};
|
|
671
685
|
}
|
|
672
|
-
function
|
|
673
|
-
start:
|
|
686
|
+
function nt({
|
|
687
|
+
start: s = 0,
|
|
674
688
|
duration: e = ge,
|
|
675
689
|
easing: t = he
|
|
676
690
|
} = {}) {
|
|
677
691
|
return {
|
|
678
692
|
keyframes: [
|
|
679
|
-
{ translate: `0 ${(1 -
|
|
693
|
+
{ translate: `0 ${(1 - s) * 100}%`, offset: 0 },
|
|
680
694
|
{ translate: "0 0", offset: 1 }
|
|
681
695
|
],
|
|
682
696
|
options: { duration: e, easing: t }
|
|
683
697
|
};
|
|
684
698
|
}
|
|
685
|
-
function
|
|
686
|
-
start:
|
|
699
|
+
function qe({
|
|
700
|
+
start: s = 0,
|
|
687
701
|
duration: e = ge,
|
|
688
702
|
easing: t = he
|
|
689
703
|
} = {}) {
|
|
690
704
|
return {
|
|
691
705
|
keyframes: [
|
|
692
|
-
{ translate: `0 ${
|
|
706
|
+
{ translate: `0 ${s * 100}%`, offset: 0 },
|
|
693
707
|
{ translate: "0 100%", offset: 1 }
|
|
694
708
|
],
|
|
695
709
|
options: { duration: e, easing: t }
|
|
696
710
|
};
|
|
697
711
|
}
|
|
698
|
-
function
|
|
699
|
-
start:
|
|
712
|
+
function it({
|
|
713
|
+
start: s = 0,
|
|
700
714
|
duration: e = ge,
|
|
701
715
|
easing: t = he,
|
|
702
716
|
end: a = 1
|
|
703
717
|
} = {}) {
|
|
704
718
|
return {
|
|
705
719
|
keyframes: [
|
|
706
|
-
{ translate: `${
|
|
720
|
+
{ translate: `${s * 100}% 0`, offset: 0 },
|
|
707
721
|
{ translate: `${a * 100}% 0`, offset: 1 }
|
|
708
722
|
],
|
|
709
723
|
options: { duration: e, easing: t }
|
|
710
724
|
};
|
|
711
725
|
}
|
|
712
|
-
function
|
|
713
|
-
start:
|
|
726
|
+
function rt({
|
|
727
|
+
start: s = 0,
|
|
714
728
|
duration: e = ge,
|
|
715
729
|
easing: t = he,
|
|
716
730
|
end: a = 1
|
|
717
731
|
} = {}) {
|
|
718
732
|
return {
|
|
719
733
|
keyframes: [
|
|
720
|
-
{ translate: `${-
|
|
734
|
+
{ translate: `${-s * 100}% 0`, offset: 0 },
|
|
721
735
|
{ translate: `${-a * 100}% 0`, offset: 1 }
|
|
722
736
|
],
|
|
723
737
|
options: { duration: e, easing: t }
|
|
724
738
|
};
|
|
725
739
|
}
|
|
726
|
-
const
|
|
740
|
+
const es = ["data-test", "open", "no-header", "label", "contained", "divided"], ts = ["data-test"], as = ["data-test"], ss = ["slot"], ls = 100, os = 0.75, ns = 1.5, is = 100, dt = 240, rs = 300, ds = /* @__PURE__ */ $({
|
|
727
741
|
__name: "CBottomSheet",
|
|
728
742
|
props: {
|
|
729
743
|
ariaLabel: { default: "" },
|
|
@@ -742,63 +756,63 @@ const xa = ["data-test", "open", "no-header", "label", "contained", "divided"],
|
|
|
742
756
|
value: { type: Boolean, default: !1 }
|
|
743
757
|
},
|
|
744
758
|
emits: ["input", "opened", "closed"],
|
|
745
|
-
setup(
|
|
746
|
-
function t(_, F,
|
|
747
|
-
_.value &&
|
|
759
|
+
setup(s, { emit: e }) {
|
|
760
|
+
function t(_, F, re) {
|
|
761
|
+
_.value && ze(_.value, F, re);
|
|
748
762
|
}
|
|
749
|
-
const a =
|
|
750
|
-
|
|
751
|
-
await
|
|
763
|
+
const a = s, o = e, l = vt(a, "value"), i = se(l, { onChange: (_) => o("input", _) }), n = I(!1), r = c(() => !a.skipInitialAnimation && !n.value ? !1 : i.value), { cssColor: u } = Q(() => a.backgroundColor);
|
|
764
|
+
x(async () => {
|
|
765
|
+
await ct(), n.value = !0;
|
|
752
766
|
});
|
|
753
|
-
const p =
|
|
767
|
+
const p = I(null), {
|
|
754
768
|
panel: m,
|
|
755
769
|
overlay: h,
|
|
756
|
-
body:
|
|
770
|
+
body: y
|
|
757
771
|
} = St(p, ["panel", "overlay", "body"]);
|
|
758
|
-
|
|
772
|
+
Qa(y), t(p, "drawer.showBottom", nt()), t(p, "drawer.overlay.show", ot()), t(p, "drawer.hideBottom", qe()), t(p, "drawer.overlay.hide", Ye());
|
|
759
773
|
const C = () => {
|
|
760
774
|
i.value = !1;
|
|
761
775
|
}, N = (_) => {
|
|
762
776
|
a.persistent && _.preventDefault();
|
|
763
777
|
}, A = () => {
|
|
764
|
-
t(p, "drawer.hideBottom",
|
|
765
|
-
}, B = (_) => _ / (m.value?.clientHeight ??
|
|
778
|
+
t(p, "drawer.hideBottom", qe()), t(p, "drawer.overlay.hide", Ye()), o("closed");
|
|
779
|
+
}, B = (_) => _ / (m.value?.clientHeight ?? rs), { dragDistance: v } = Dt(m, {
|
|
766
780
|
onDragEnd: async ({ distance: _, velocity: F }) => {
|
|
767
|
-
if (!a.persistent && (_.y >
|
|
768
|
-
const
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
),
|
|
781
|
+
if (!a.persistent && (_.y > ls || F.y > os)) {
|
|
782
|
+
const ie = m.value.clientHeight - v.value.y, ae = Math.max(
|
|
783
|
+
ie / Math.max(F.y, ns),
|
|
784
|
+
is
|
|
785
|
+
), de = B(_.y);
|
|
772
786
|
t(
|
|
773
787
|
p,
|
|
774
788
|
"drawer.hideBottom",
|
|
775
|
-
|
|
789
|
+
qe({ start: de, duration: ae })
|
|
776
790
|
), t(
|
|
777
791
|
p,
|
|
778
792
|
"drawer.overlay.hide",
|
|
779
|
-
Ye({ start:
|
|
793
|
+
Ye({ start: de, duration: ae })
|
|
780
794
|
), C();
|
|
781
795
|
} else {
|
|
782
|
-
const
|
|
783
|
-
m.value?.animate(ae.keyframes, ae.options), h.value?.animate(
|
|
796
|
+
const ie = 1 - B(v.value.y), ae = nt({ start: ie }), de = ot({ start: ie });
|
|
797
|
+
m.value?.animate(ae.keyframes, ae.options), h.value?.animate(de.keyframes, de.options);
|
|
784
798
|
}
|
|
785
799
|
}
|
|
786
|
-
}),
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
min: -
|
|
790
|
-
max: a.persistent ?
|
|
800
|
+
}), T = xa(
|
|
801
|
+
c(() => v.value?.y ?? 0),
|
|
802
|
+
c(() => ({
|
|
803
|
+
min: -dt,
|
|
804
|
+
max: a.persistent ? dt : void 0
|
|
791
805
|
}))
|
|
792
|
-
), D =
|
|
806
|
+
), D = c(() => B(T.value)), Y = c(() => `translateY(${T.value}px)`), le = c(() => {
|
|
793
807
|
const _ = 1 - D.value;
|
|
794
808
|
return isNaN(_) ? 1 : _;
|
|
795
809
|
}), j = (_) => {
|
|
796
810
|
const F = _ ? `${a.dataTest}-${_}` : a.dataTest;
|
|
797
811
|
return i.value ? F : null;
|
|
798
|
-
}, H = K("footer"), k =
|
|
812
|
+
}, H = K("footer"), k = c(
|
|
799
813
|
() => !a.persistent && !a.hideDismiss || a.disableDismiss
|
|
800
814
|
);
|
|
801
|
-
return (_, F) => (
|
|
815
|
+
return (_, F) => (f(), g("sl-drawer", {
|
|
802
816
|
ref_key: "sheet",
|
|
803
817
|
ref: p,
|
|
804
818
|
class: V(["c-bottom-sheet", {
|
|
@@ -807,10 +821,10 @@ const xa = ["data-test", "open", "no-header", "label", "contained", "divided"],
|
|
|
807
821
|
"c-bottom-sheet--with-footer": d(H),
|
|
808
822
|
"c-bottom-sheet--with-dismiss": k.value
|
|
809
823
|
}]),
|
|
810
|
-
style:
|
|
824
|
+
style: ee({
|
|
811
825
|
"--panel-transform": Y.value,
|
|
812
826
|
"--background-color-hex-code": d(u),
|
|
813
|
-
"--overlay-opacity":
|
|
827
|
+
"--overlay-opacity": le.value,
|
|
814
828
|
"--size": _.fixedSize || void 0
|
|
815
829
|
}),
|
|
816
830
|
"data-test": j(),
|
|
@@ -823,35 +837,35 @@ const xa = ["data-test", "open", "no-header", "label", "contained", "divided"],
|
|
|
823
837
|
onSlRequestClose: N,
|
|
824
838
|
onSlHide: C,
|
|
825
839
|
onSlAfterHide: A,
|
|
826
|
-
onSlAfterShow: F[1] || (F[1] = (
|
|
840
|
+
onSlAfterShow: F[1] || (F[1] = (re) => _.$emit("opened"))
|
|
827
841
|
}, [
|
|
828
842
|
S("div", {
|
|
829
843
|
slot: "label",
|
|
830
844
|
"data-test": _.value ? `${_.dataTest}-title` : null
|
|
831
845
|
}, [
|
|
832
846
|
b(_.$slots, "header", {}, () => [
|
|
833
|
-
|
|
847
|
+
z(O(_.title), 1)
|
|
834
848
|
], !0)
|
|
835
|
-
], 8,
|
|
849
|
+
], 8, ts),
|
|
836
850
|
b(_.$slots, "image", {}, void 0, !0),
|
|
837
851
|
S("div", {
|
|
838
852
|
class: "c-bottom-sheet__body",
|
|
839
853
|
"data-test": j("body")
|
|
840
854
|
}, [
|
|
841
855
|
b(_.$slots, "body", {}, void 0, !0)
|
|
842
|
-
], 8,
|
|
843
|
-
k.value ? (
|
|
856
|
+
], 8, as),
|
|
857
|
+
k.value ? (f(), g("div", {
|
|
844
858
|
key: 0,
|
|
845
859
|
slot: _.hideTitle ? void 0 : "header-actions",
|
|
846
860
|
class: "c-bottom-sheet__actions"
|
|
847
861
|
}, [
|
|
848
|
-
P(
|
|
862
|
+
P(Ja, {
|
|
849
863
|
"data-test": j("dismiss"),
|
|
850
864
|
disabled: _.disableDismiss,
|
|
851
|
-
onClick: F[0] || (F[0] = (
|
|
865
|
+
onClick: F[0] || (F[0] = (re) => i.value = !1)
|
|
852
866
|
}, null, 8, ["data-test", "disabled"])
|
|
853
|
-
], 8,
|
|
854
|
-
d(H) ? (
|
|
867
|
+
], 8, ss)) : R("", !0),
|
|
868
|
+
d(H) ? (f(), M(Me, {
|
|
855
869
|
key: 1,
|
|
856
870
|
slot: "footer",
|
|
857
871
|
"data-test": j("footer")
|
|
@@ -861,16 +875,16 @@ const xa = ["data-test", "open", "no-header", "label", "contained", "divided"],
|
|
|
861
875
|
]),
|
|
862
876
|
_: 3
|
|
863
877
|
}, 8, ["data-test"])) : R("", !0)
|
|
864
|
-
], 46,
|
|
878
|
+
], 46, es));
|
|
865
879
|
}
|
|
866
|
-
}),
|
|
867
|
-
function
|
|
868
|
-
return
|
|
880
|
+
}), us = /* @__PURE__ */ E(ds, [["__scopeId", "data-v-dddc6467"]]);
|
|
881
|
+
function cs(s) {
|
|
882
|
+
return c(() => s.value ? { role: "link", tabindex: "0", href: s.value } : {});
|
|
869
883
|
}
|
|
870
|
-
function
|
|
871
|
-
const e =
|
|
872
|
-
return { linkAttrs:
|
|
873
|
-
if (
|
|
884
|
+
function Ze(s) {
|
|
885
|
+
const e = c(() => ne(s) ?? ""), t = ma({ to: e }), { navigate: a, href: o } = t, l = c(() => !!ne(s)), i = c(() => l.value ? o.value : void 0);
|
|
886
|
+
return { linkAttrs: cs(i), href: i, navigate: async (u) => {
|
|
887
|
+
if (l.value)
|
|
874
888
|
try {
|
|
875
889
|
await a(u);
|
|
876
890
|
} catch (p) {
|
|
@@ -878,7 +892,7 @@ function je(l) {
|
|
|
878
892
|
}
|
|
879
893
|
} };
|
|
880
894
|
}
|
|
881
|
-
const
|
|
895
|
+
const fs = ["data-block", "data-href", "data-level", "data-loading", "data-size", "data-variant", "disabled", "href", "loading", "size", "target", "variant"], ps = ["slot"], vs = 0.96, ms = 0.94, bs = /* @__PURE__ */ $({
|
|
882
896
|
__name: "CButton",
|
|
883
897
|
props: {
|
|
884
898
|
block: { type: Boolean, default: !1 },
|
|
@@ -897,30 +911,30 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
|
|
|
897
911
|
variant: { default: "primary" }
|
|
898
912
|
},
|
|
899
913
|
emits: ["click", "focus", "blur"],
|
|
900
|
-
setup(
|
|
914
|
+
setup(s, { emit: e }) {
|
|
901
915
|
const t = {
|
|
902
916
|
primary: "primary",
|
|
903
917
|
// Shoelace `default` is an outline style
|
|
904
918
|
secondary: "default",
|
|
905
919
|
tertiary: "text"
|
|
906
|
-
}, a =
|
|
907
|
-
function
|
|
920
|
+
}, a = s, o = e, { href: l, navigate: i } = Ze(() => a.to), n = c(() => l.value ?? a.href), r = c(() => a.loading || void 0), u = X(Tt, void 0), p = c(() => u?.value ?? a.block), m = c(() => p.value || void 0), h = K("icon"), y = c(() => h.value || !!a.icon), C = c(() => a.secondary ? "secondary" : a.tertiary ? "tertiary" : a.variant), N = c(() => t[C.value]), A = X(Lt, void 0), B = c(() => A?.value ?? a.large), v = c(() => B.value ? "large" : a.size);
|
|
921
|
+
function T(H) {
|
|
908
922
|
a.disabled || a.loading || (i(H), o("click", H));
|
|
909
923
|
}
|
|
910
|
-
const D =
|
|
924
|
+
const D = I(null), Y = X(It, null), le = c(() => a.disabled || a.loading ? 1 : Y || (a.block ? vs : ms)), j = yt({
|
|
911
925
|
el: D,
|
|
912
926
|
keyframes: {
|
|
913
927
|
default: { transform: "scale(1)" },
|
|
914
|
-
pressed: { transform: `scale(${
|
|
928
|
+
pressed: { transform: `scale(${le.value})` }
|
|
915
929
|
}
|
|
916
930
|
});
|
|
917
|
-
return (H, k) => (
|
|
931
|
+
return (H, k) => (f(), g("sl-button", q(H.$attrs, {
|
|
918
932
|
ref_key: "button",
|
|
919
933
|
ref: D,
|
|
920
934
|
class: ["c-button", {
|
|
921
935
|
"c-button--block": p.value,
|
|
922
|
-
"c-button--has-prefix-icon":
|
|
923
|
-
"c-button--has-suffix-icon":
|
|
936
|
+
"c-button--has-prefix-icon": y.value && H.iconPosition === "prefix",
|
|
937
|
+
"c-button--has-suffix-icon": y.value && H.iconPosition === "suffix",
|
|
924
938
|
[`c-button-level--${H.level}`]: H.level,
|
|
925
939
|
[`c-button-variant--${C.value}`]: C.value,
|
|
926
940
|
[`c-button-size--${v.value}`]: v.value
|
|
@@ -939,58 +953,58 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
|
|
|
939
953
|
target: H.target,
|
|
940
954
|
variant: N.value
|
|
941
955
|
}, Se(d(j), !0), {
|
|
942
|
-
onClick:
|
|
956
|
+
onClick: T,
|
|
943
957
|
onSlFocus: k[0] || (k[0] = (_) => H.$emit("focus", _)),
|
|
944
958
|
onSlBlur: k[1] || (k[1] = (_) => H.$emit("blur", _))
|
|
945
959
|
}), [
|
|
946
|
-
|
|
960
|
+
y.value ? (f(), g("span", {
|
|
947
961
|
key: 0,
|
|
948
962
|
slot: H.iconPosition,
|
|
949
963
|
"data-test": "button-icon-slot"
|
|
950
964
|
}, [
|
|
951
965
|
b(H.$slots, "icon", {}, () => [
|
|
952
|
-
H.icon ? (
|
|
966
|
+
H.icon ? (f(), M(d(U), {
|
|
953
967
|
key: 0,
|
|
954
968
|
icon: H.icon
|
|
955
969
|
}, null, 8, ["icon"])) : R("", !0)
|
|
956
970
|
], !0)
|
|
957
|
-
], 8,
|
|
971
|
+
], 8, ps)) : R("", !0),
|
|
958
972
|
b(H.$slots, "default", { dataTest: "button-default-slot" }, void 0, !0)
|
|
959
|
-
], 16,
|
|
973
|
+
], 16, fs));
|
|
960
974
|
}
|
|
961
|
-
}),
|
|
975
|
+
}), We = /* @__PURE__ */ E(bs, [["__scopeId", "data-v-6e289d19"]]), gs = {
|
|
962
976
|
"data-test": "card-title",
|
|
963
977
|
class: "c-card-header__title"
|
|
964
|
-
},
|
|
978
|
+
}, hs = { class: "c-card-header__append" }, _s = /* @__PURE__ */ $({
|
|
965
979
|
__name: "CCardHeader",
|
|
966
|
-
setup(
|
|
967
|
-
return W(Re,
|
|
980
|
+
setup(s) {
|
|
981
|
+
return W(Re, I(!0)), (e, t) => (f(), g("div", q(e.$attrs, {
|
|
968
982
|
class: "c-card-header",
|
|
969
983
|
"data-test": "card-header"
|
|
970
984
|
}), [
|
|
971
|
-
S("div",
|
|
985
|
+
S("div", gs, [
|
|
972
986
|
b(e.$slots, "default", {}, void 0, !0)
|
|
973
987
|
]),
|
|
974
|
-
S("div",
|
|
988
|
+
S("div", hs, [
|
|
975
989
|
b(e.$slots, "append", {}, void 0, !0)
|
|
976
990
|
])
|
|
977
991
|
], 16));
|
|
978
992
|
}
|
|
979
|
-
}), wt = /* @__PURE__ */
|
|
993
|
+
}), wt = /* @__PURE__ */ E(_s, [["__scopeId", "data-v-58c36d8e"]]), Cs = /* @__PURE__ */ $({
|
|
980
994
|
__name: "CCard",
|
|
981
995
|
props: {
|
|
982
|
-
borderColor: {
|
|
996
|
+
borderColor: {},
|
|
983
997
|
borderless: { type: Boolean, default: !1 },
|
|
984
|
-
color: {
|
|
985
|
-
href: {
|
|
998
|
+
color: {},
|
|
999
|
+
href: {},
|
|
986
1000
|
stretch: { type: Boolean, default: !1 },
|
|
987
1001
|
tile: { type: Boolean, default: !1 },
|
|
988
|
-
title: {
|
|
989
|
-
to: {
|
|
1002
|
+
title: {},
|
|
1003
|
+
to: {}
|
|
990
1004
|
},
|
|
991
|
-
setup(
|
|
992
|
-
const e =
|
|
993
|
-
switch (
|
|
1005
|
+
setup(s) {
|
|
1006
|
+
const e = s, t = De(), { cssColor: a } = Q(() => e.color), { cssColor: o } = Q(() => e.borderColor), l = c(() => e.to ? "internal" : e.href ? "external" : "none"), i = c(() => {
|
|
1007
|
+
switch (l.value) {
|
|
994
1008
|
case "internal":
|
|
995
1009
|
return {
|
|
996
1010
|
attrs: t,
|
|
@@ -1012,7 +1026,7 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
|
|
|
1012
1026
|
return { attrs: t, element: "div", isLink: !1 };
|
|
1013
1027
|
}
|
|
1014
1028
|
});
|
|
1015
|
-
return (n, r) => (
|
|
1029
|
+
return (n, r) => (f(), M(Ae(i.value.element), q(i.value.attrs, {
|
|
1016
1030
|
"data-test": "card",
|
|
1017
1031
|
class: ["c-card", {
|
|
1018
1032
|
"c-card--tile": n.tile,
|
|
@@ -1028,9 +1042,9 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
|
|
|
1028
1042
|
to: n.to
|
|
1029
1043
|
}), {
|
|
1030
1044
|
default: w(() => [
|
|
1031
|
-
n.title ? (
|
|
1045
|
+
n.title ? (f(), M(wt, { key: 0 }, {
|
|
1032
1046
|
default: w(() => [
|
|
1033
|
-
|
|
1047
|
+
z(O(n.title), 1)
|
|
1034
1048
|
]),
|
|
1035
1049
|
_: 1
|
|
1036
1050
|
})) : R("", !0),
|
|
@@ -1039,10 +1053,10 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
|
|
|
1039
1053
|
_: 3
|
|
1040
1054
|
}, 16, ["class", "href", "style", "to"]));
|
|
1041
1055
|
}
|
|
1042
|
-
}),
|
|
1056
|
+
}), ys = /* @__PURE__ */ E(Cs, [["__scopeId", "data-v-2506519f"]]), $s = /* @__PURE__ */ $({
|
|
1043
1057
|
__name: "CCardFooter",
|
|
1044
|
-
setup(
|
|
1045
|
-
return (e, t) => (
|
|
1058
|
+
setup(s) {
|
|
1059
|
+
return (e, t) => (f(), M(Me, q(e.$attrs, {
|
|
1046
1060
|
"data-test": "card-footer",
|
|
1047
1061
|
class: "c-card-footer"
|
|
1048
1062
|
}), {
|
|
@@ -1052,56 +1066,56 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
|
|
|
1052
1066
|
_: 3
|
|
1053
1067
|
}, 16));
|
|
1054
1068
|
}
|
|
1055
|
-
}),
|
|
1069
|
+
}), ks = /* @__PURE__ */ E($s, [["__scopeId", "data-v-8bb985e5"]]), Ts = /* @__PURE__ */ $({
|
|
1056
1070
|
__name: "CCardSection",
|
|
1057
1071
|
props: {
|
|
1058
1072
|
fluid: { type: Boolean, default: !1 }
|
|
1059
1073
|
},
|
|
1060
|
-
setup(
|
|
1061
|
-
return (e, t) => (
|
|
1074
|
+
setup(s) {
|
|
1075
|
+
return (e, t) => (f(), g("div", q(e.$attrs, {
|
|
1062
1076
|
"data-test": "card-section",
|
|
1063
1077
|
class: ["c-card-section", { "c-card-section--fluid": e.fluid }]
|
|
1064
1078
|
}), [
|
|
1065
1079
|
b(e.$slots, "default", {}, void 0, !0)
|
|
1066
1080
|
], 16));
|
|
1067
1081
|
}
|
|
1068
|
-
}),
|
|
1082
|
+
}), Ls = /* @__PURE__ */ E(Ts, [["__scopeId", "data-v-a5ccfb80"]]), Is = ["data-test"], Es = ["data-test"], As = { key: "empty" }, Ss = /* @__PURE__ */ $({
|
|
1069
1083
|
__name: "CValidationMessage",
|
|
1070
1084
|
props: {
|
|
1071
1085
|
dataTest: { default: "validation-message" },
|
|
1072
1086
|
hide: { type: [Boolean, String], default: !1 },
|
|
1073
1087
|
validationMessage: { default: null }
|
|
1074
1088
|
},
|
|
1075
|
-
setup(
|
|
1076
|
-
const e =
|
|
1077
|
-
return (o,
|
|
1089
|
+
setup(s) {
|
|
1090
|
+
const e = s, t = K("append"), a = c(() => e.hide === "auto" ? !e.validationMessage && !t.value : e.hide);
|
|
1091
|
+
return (o, l) => a.value ? R("", !0) : (f(), g("div", {
|
|
1078
1092
|
key: 0,
|
|
1079
1093
|
"data-test": o.dataTest,
|
|
1080
1094
|
class: V(["c-validation-message", { "c-validation-message--invalid": !!o.validationMessage }])
|
|
1081
1095
|
}, [
|
|
1082
|
-
P(
|
|
1096
|
+
P(je, { "aria-live": "polite" }, {
|
|
1083
1097
|
default: w(() => [
|
|
1084
|
-
o.validationMessage ? (
|
|
1098
|
+
o.validationMessage ? (f(), g("span", {
|
|
1085
1099
|
key: "message",
|
|
1086
1100
|
role: "alert",
|
|
1087
1101
|
"data-test": `${o.dataTest}-text`
|
|
1088
|
-
}, O(o.validationMessage), 9,
|
|
1102
|
+
}, O(o.validationMessage), 9, Es)) : (f(), g("span", As, [
|
|
1089
1103
|
b(o.$slots, "default", {}, void 0, !0)
|
|
1090
1104
|
]))
|
|
1091
1105
|
]),
|
|
1092
1106
|
_: 3
|
|
1093
1107
|
}),
|
|
1094
1108
|
b(o.$slots, "append", {}, void 0, !0)
|
|
1095
|
-
], 10,
|
|
1109
|
+
], 10, Is));
|
|
1096
1110
|
}
|
|
1097
|
-
}), _e = /* @__PURE__ */
|
|
1098
|
-
let
|
|
1099
|
-
function pe(
|
|
1100
|
-
return
|
|
1111
|
+
}), _e = /* @__PURE__ */ E(Ss, [["__scopeId", "data-v-83d75a24"]]);
|
|
1112
|
+
let Ds = 0;
|
|
1113
|
+
function pe(s) {
|
|
1114
|
+
return c(() => s.value ? s.value : `c-${Ds++}`);
|
|
1101
1115
|
}
|
|
1102
1116
|
const Rt = /* @__PURE__ */ Symbol("validations");
|
|
1103
|
-
function
|
|
1104
|
-
const { value: e, rules: t, required: a } =
|
|
1117
|
+
function Bs(s) {
|
|
1118
|
+
const { value: e, rules: t, required: a } = s, o = I(!1), l = I(null), i = I(!0), n = (C) => C == null || typeof C == "string" && C.trim() === "", r = (C) => a?.value ? !n(C) : !0, u = c(() => {
|
|
1105
1119
|
const C = [...t.value, r];
|
|
1106
1120
|
for (const N of C) {
|
|
1107
1121
|
const A = N(e.value);
|
|
@@ -1109,51 +1123,51 @@ function Dl(l) {
|
|
|
1109
1123
|
return A;
|
|
1110
1124
|
}
|
|
1111
1125
|
return !0;
|
|
1112
|
-
}), p =
|
|
1113
|
-
return G(e, () => m(), { immediate: !0 }), G(t, () => m()), a && G(a, () => m()), { message:
|
|
1114
|
-
|
|
1126
|
+
}), p = c(() => u.value === !0), m = () => (o.value && (i.value = p.value, l.value = typeof u.value == "string" ? u.value : null, s.onValidationResultChange?.({ message: l.value, valid: i.value })), i.value);
|
|
1127
|
+
return G(e, () => m(), { immediate: !0 }), G(t, () => m()), a && G(a, () => m()), { message: l, valid: i, startValidating: () => (o.value = !0, m()), clearValidations: () => {
|
|
1128
|
+
l.value = null, i.value = !0, o.value = !1;
|
|
1115
1129
|
}, passesRules: p };
|
|
1116
1130
|
}
|
|
1117
|
-
function Mt(
|
|
1131
|
+
function Mt(s) {
|
|
1118
1132
|
const e = X(Rt, null);
|
|
1119
1133
|
if (e) {
|
|
1120
|
-
if (!
|
|
1134
|
+
if (!s.id)
|
|
1121
1135
|
throw new Error("id is required to support form validations");
|
|
1122
|
-
e.register(
|
|
1136
|
+
e.register(s);
|
|
1123
1137
|
}
|
|
1124
1138
|
be(() => {
|
|
1125
|
-
e &&
|
|
1139
|
+
e && s.id && e.unregister(s.id);
|
|
1126
1140
|
});
|
|
1127
1141
|
}
|
|
1128
|
-
function ke(
|
|
1129
|
-
const e =
|
|
1130
|
-
|
|
1131
|
-
}, { message: a, valid: o, startValidating:
|
|
1142
|
+
function ke(s) {
|
|
1143
|
+
const e = c(() => d(s.validateOn) ?? "blur"), t = ({ valid: h }) => {
|
|
1144
|
+
s.field?.value && s.field.value.setAttribute("aria-invalid", h ? "false" : "true");
|
|
1145
|
+
}, { message: a, valid: o, startValidating: l, passesRules: i, clearValidations: n } = Bs(
|
|
1132
1146
|
{
|
|
1133
|
-
value:
|
|
1134
|
-
rules:
|
|
1135
|
-
required:
|
|
1147
|
+
value: s.value,
|
|
1148
|
+
rules: s.rules,
|
|
1149
|
+
required: s.required,
|
|
1136
1150
|
onValidationResultChange: t
|
|
1137
1151
|
}
|
|
1138
1152
|
);
|
|
1139
1153
|
Mt({
|
|
1140
|
-
id:
|
|
1154
|
+
id: s.id?.value,
|
|
1141
1155
|
valid: i,
|
|
1142
|
-
validate:
|
|
1143
|
-
field:
|
|
1156
|
+
validate: l,
|
|
1157
|
+
field: s.field
|
|
1144
1158
|
});
|
|
1145
1159
|
const r = () => {
|
|
1146
|
-
e.value === "input" &&
|
|
1160
|
+
e.value === "input" && l();
|
|
1147
1161
|
}, u = () => {
|
|
1148
|
-
|
|
1162
|
+
l();
|
|
1149
1163
|
}, p = () => {
|
|
1150
|
-
e.value === "change" &&
|
|
1164
|
+
e.value === "change" && l();
|
|
1151
1165
|
};
|
|
1152
|
-
return G(e, (h,
|
|
1153
|
-
["input", "change"].includes(h) && h !==
|
|
1154
|
-
}), { message: a, valid: o, listeners: { input: r, blur: u, change: p }, startValidating:
|
|
1166
|
+
return G(e, (h, y) => {
|
|
1167
|
+
["input", "change"].includes(h) && h !== y && l();
|
|
1168
|
+
}), { message: a, valid: o, listeners: { input: r, blur: u, change: p }, startValidating: l, clearValidations: n };
|
|
1155
1169
|
}
|
|
1156
|
-
const
|
|
1170
|
+
const ws = { class: "c-checkbox__container" }, Rs = ["data-test"], Ms = ["id", "data-test", "aria-checked", "aria-describedby", "aria-invalid", "checked"], Ns = ["data-test"], Vs = /* @__PURE__ */ $({
|
|
1157
1171
|
__name: "CCheckbox",
|
|
1158
1172
|
props: {
|
|
1159
1173
|
dataTest: { default: "checkbox" },
|
|
@@ -1165,24 +1179,24 @@ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "
|
|
|
1165
1179
|
variant: { default: "contained" }
|
|
1166
1180
|
},
|
|
1167
1181
|
emits: ["change", "focus", "blur"],
|
|
1168
|
-
setup(
|
|
1169
|
-
const t =
|
|
1182
|
+
setup(s, { emit: e }) {
|
|
1183
|
+
const t = s, a = e, { value: o, rules: l, id: i } = te(t), n = pe(i), r = se(o, {
|
|
1170
1184
|
onChange: (C) => a("change", C)
|
|
1171
|
-
}), u =
|
|
1185
|
+
}), u = I(null), {
|
|
1172
1186
|
message: p,
|
|
1173
1187
|
valid: m,
|
|
1174
1188
|
listeners: h
|
|
1175
1189
|
} = ke({
|
|
1176
1190
|
id: n,
|
|
1177
1191
|
value: r,
|
|
1178
|
-
rules:
|
|
1192
|
+
rules: l,
|
|
1179
1193
|
validateOn: "change",
|
|
1180
1194
|
field: u
|
|
1181
|
-
}),
|
|
1195
|
+
}), y = (C) => {
|
|
1182
1196
|
const N = C.target;
|
|
1183
1197
|
r.value = !!N.checked;
|
|
1184
1198
|
};
|
|
1185
|
-
return (C, N) => (
|
|
1199
|
+
return (C, N) => (f(), g("div", ws, [
|
|
1186
1200
|
S("label", {
|
|
1187
1201
|
class: V(["c-checkbox", {
|
|
1188
1202
|
"c-checkbox--checked": d(r),
|
|
@@ -1191,7 +1205,7 @@ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "
|
|
|
1191
1205
|
}]),
|
|
1192
1206
|
"data-test": C.dataTest
|
|
1193
1207
|
}, [
|
|
1194
|
-
S("input",
|
|
1208
|
+
S("input", q({
|
|
1195
1209
|
id: d(n),
|
|
1196
1210
|
type: "checkbox",
|
|
1197
1211
|
"data-test": `${C.dataTest}-input`,
|
|
@@ -1200,23 +1214,23 @@ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "
|
|
|
1200
1214
|
"aria-describedby": `${d(n)}-message`,
|
|
1201
1215
|
"aria-invalid": !d(m),
|
|
1202
1216
|
checked: d(r) || void 0,
|
|
1203
|
-
onChange:
|
|
1217
|
+
onChange: y,
|
|
1204
1218
|
onBlur: N[0] || (N[0] = (A) => C.$emit("blur")),
|
|
1205
1219
|
onFocus: N[1] || (N[1] = (A) => C.$emit("focus"))
|
|
1206
|
-
}, Se(d(h), !0)), null, 16,
|
|
1220
|
+
}, Se(d(h), !0)), null, 16, Ms),
|
|
1207
1221
|
S("span", {
|
|
1208
1222
|
class: "c-checkbox__control",
|
|
1209
1223
|
"data-test": `${C.dataTest}-control`
|
|
1210
1224
|
}, [
|
|
1211
|
-
d(r) ? (
|
|
1225
|
+
d(r) ? (f(), M(d(U), {
|
|
1212
1226
|
key: 0,
|
|
1213
|
-
icon: d(
|
|
1227
|
+
icon: d(ht)
|
|
1214
1228
|
}, null, 8, ["icon"])) : R("", !0)
|
|
1215
|
-
], 8,
|
|
1229
|
+
], 8, Ns),
|
|
1216
1230
|
b(C.$slots, "label", {}, () => [
|
|
1217
|
-
|
|
1231
|
+
z(O(C.label), 1)
|
|
1218
1232
|
], !0)
|
|
1219
|
-
], 10,
|
|
1233
|
+
], 10, Rs),
|
|
1220
1234
|
P(_e, {
|
|
1221
1235
|
class: "c-checkbox__message",
|
|
1222
1236
|
"data-test": `${C.dataTest}-message`,
|
|
@@ -1230,82 +1244,70 @@ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "
|
|
|
1230
1244
|
}, 8, ["data-test", "validation-message", "hide"])
|
|
1231
1245
|
]));
|
|
1232
1246
|
}
|
|
1233
|
-
}), Nt = /* @__PURE__ */
|
|
1234
|
-
__name: "CCol",
|
|
1235
|
-
props: {
|
|
1236
|
-
cols: { default: null }
|
|
1237
|
-
},
|
|
1238
|
-
setup(l) {
|
|
1239
|
-
return (e, t) => (c(), g("div", {
|
|
1240
|
-
class: V(["c-col", { [`c-col-${e.cols}`]: e.cols }])
|
|
1241
|
-
}, [
|
|
1242
|
-
b(e.$slots, "default", {}, void 0, !0)
|
|
1243
|
-
], 2));
|
|
1244
|
-
}
|
|
1245
|
-
}), Ol = /* @__PURE__ */ T(Vl, [["__scopeId", "data-v-6dd23f0c"]]), Hl = ["aria-orientation"], Fl = /* @__PURE__ */ y({
|
|
1247
|
+
}), Nt = /* @__PURE__ */ E(Vs, [["__scopeId", "data-v-df7b401d"]]), Os = ["aria-orientation"], Hs = /* @__PURE__ */ $({
|
|
1246
1248
|
__name: "CDivider",
|
|
1247
1249
|
props: {
|
|
1248
1250
|
vertical: { type: Boolean, default: !1 }
|
|
1249
1251
|
},
|
|
1250
|
-
setup(
|
|
1251
|
-
return (e, t) => (
|
|
1252
|
+
setup(s) {
|
|
1253
|
+
return (e, t) => (f(), g("hr", {
|
|
1252
1254
|
class: V(["c-divider", { "c-divider--vertical": e.vertical }]),
|
|
1253
1255
|
"aria-orientation": e.vertical ? "vertical" : "horizontal"
|
|
1254
|
-
}, null, 10,
|
|
1256
|
+
}, null, 10, Os));
|
|
1255
1257
|
}
|
|
1256
|
-
}),
|
|
1258
|
+
}), Fs = /* @__PURE__ */ E(Hs, [["__scopeId", "data-v-72e806c2"]]), Vt = /* @__PURE__ */ $({
|
|
1257
1259
|
__name: "CFormFieldCounter",
|
|
1258
1260
|
props: {
|
|
1259
1261
|
counter: { default: null },
|
|
1260
1262
|
counterValue: { type: [Number, Function, null], default: null },
|
|
1261
1263
|
value: { default: "" }
|
|
1262
1264
|
},
|
|
1263
|
-
setup(
|
|
1264
|
-
const e =
|
|
1265
|
-
return (o,
|
|
1265
|
+
setup(s) {
|
|
1266
|
+
const e = s, t = c(() => typeof e.counterValue == "function" ? e.counterValue() : typeof e.counterValue == "number" ? e.counterValue : e.value.length), a = c(() => `${t.value}/${e.counter}`);
|
|
1267
|
+
return (o, l) => (f(), g("div", null, O(a.value), 1));
|
|
1266
1268
|
}
|
|
1267
1269
|
});
|
|
1268
|
-
function Ot(
|
|
1269
|
-
De(),
|
|
1270
|
+
function Ot(s, e) {
|
|
1271
|
+
De(), x(() => {
|
|
1270
1272
|
});
|
|
1271
1273
|
}
|
|
1272
|
-
const
|
|
1274
|
+
const Ps = ["aria-label", "aria-labelledby"], Ys = /* @__PURE__ */ $({
|
|
1273
1275
|
__name: "CIconButton",
|
|
1274
1276
|
props: {
|
|
1275
|
-
ariaLabel: {
|
|
1276
|
-
ariaLabelledby: {
|
|
1277
|
+
ariaLabel: {},
|
|
1278
|
+
ariaLabelledby: {},
|
|
1277
1279
|
disabled: { type: Boolean, default: !1 },
|
|
1278
|
-
href: {
|
|
1279
|
-
icon: {
|
|
1280
|
+
href: {},
|
|
1281
|
+
icon: {},
|
|
1280
1282
|
large: { type: Boolean, default: !1 },
|
|
1281
1283
|
level: { default: "normal" },
|
|
1282
1284
|
loading: { type: Boolean, default: !1 },
|
|
1283
1285
|
secondary: { type: Boolean, default: !1 },
|
|
1284
1286
|
size: { default: "medium" },
|
|
1285
1287
|
spinIcon: { type: Boolean, default: !1 },
|
|
1286
|
-
target: {
|
|
1288
|
+
target: {},
|
|
1287
1289
|
tertiary: { type: Boolean, default: !1 },
|
|
1288
|
-
to: {
|
|
1290
|
+
to: {},
|
|
1289
1291
|
variant: { default: "primary" }
|
|
1290
1292
|
},
|
|
1291
1293
|
emits: ["blur", "click", "focus"],
|
|
1292
|
-
setup(
|
|
1293
|
-
const e =
|
|
1294
|
+
setup(s) {
|
|
1295
|
+
const e = s;
|
|
1294
1296
|
Ot();
|
|
1295
|
-
const t = X(Re, void 0), a =
|
|
1296
|
-
return W(
|
|
1297
|
+
const t = X(Re, void 0), a = c(() => t?.value ?? e.tertiary), o = c(() => e.secondary ? "secondary" : a.value ? "tertiary" : e.variant), l = c(() => e.large ? "large" : e.size), i = X(kt, void 0);
|
|
1298
|
+
return W(It, 0.9), (n, r) => (f(), M(We, q(n.$attrs, {
|
|
1297
1299
|
class: ["c-icon-button", {
|
|
1298
1300
|
"c-icon-button--inherit": d(i),
|
|
1299
|
-
[`c-icon-button-size--${
|
|
1301
|
+
[`c-icon-button-size--${l.value}`]: l.value
|
|
1300
1302
|
}],
|
|
1301
1303
|
"data-inherit-color": d(i),
|
|
1302
|
-
"data-size":
|
|
1304
|
+
"data-size": l.value,
|
|
1303
1305
|
"data-test": "icon-button",
|
|
1304
1306
|
disabled: n.disabled,
|
|
1305
1307
|
href: n.href,
|
|
1306
1308
|
level: n.level,
|
|
1307
1309
|
loading: n.loading,
|
|
1308
|
-
size:
|
|
1310
|
+
size: l.value,
|
|
1309
1311
|
target: n.target,
|
|
1310
1312
|
to: n.to,
|
|
1311
1313
|
variant: o.value,
|
|
@@ -1321,39 +1323,39 @@ const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ y({
|
|
|
1321
1323
|
"aria-labelledby": n.ariaLabelledby
|
|
1322
1324
|
}, [
|
|
1323
1325
|
b(n.$slots, "default", {}, () => [
|
|
1324
|
-
n.icon ? (
|
|
1326
|
+
n.icon ? (f(), M(d(U), {
|
|
1325
1327
|
key: 0,
|
|
1326
1328
|
class: V(["c-icon-button__icon", { "c-icon-button__icon--spin": n.spinIcon }]),
|
|
1327
1329
|
"data-test": "icon-button-icon",
|
|
1328
1330
|
icon: n.icon
|
|
1329
1331
|
}, null, 8, ["class", "icon"])) : R("", !0)
|
|
1330
1332
|
], !0)
|
|
1331
|
-
], 8,
|
|
1333
|
+
], 8, Ps)
|
|
1332
1334
|
]),
|
|
1333
1335
|
_: 3
|
|
1334
1336
|
}, 16, ["class", "data-inherit-color", "data-size", "disabled", "href", "level", "loading", "size", "target", "to", "variant"]));
|
|
1335
1337
|
}
|
|
1336
|
-
}), ye = /* @__PURE__ */
|
|
1338
|
+
}), ye = /* @__PURE__ */ E(Ys, [["__scopeId", "data-v-a8c1763e"]]);
|
|
1337
1339
|
function ve() {
|
|
1338
|
-
const
|
|
1339
|
-
if (!
|
|
1340
|
+
const s = la();
|
|
1341
|
+
if (!s || !s.proxy)
|
|
1340
1342
|
throw new Error("useTranslation must be called within a Vue component");
|
|
1341
|
-
return { t:
|
|
1343
|
+
return { t: s.proxy.$t };
|
|
1342
1344
|
}
|
|
1343
|
-
const
|
|
1345
|
+
const qs = ["data-test"], Us = ["for", "data-test"], zs = { class: "c-text-field__container" }, Gs = ["data-test"], js = ["id", "data-test", "aria-label", "aria-describedby", "aria-invalid", "type", "placeholder", "minlength", "maxlength", "disabled", "value", "inputmode", "required"], Zs = ["data-test"], Ws = ["id", "data-test"], Xs = /* @__PURE__ */ $({
|
|
1344
1346
|
inheritAttrs: !1,
|
|
1345
1347
|
__name: "CTextField",
|
|
1346
1348
|
props: {
|
|
1347
|
-
id: {
|
|
1348
|
-
label: {
|
|
1349
|
-
ariaLabel: {
|
|
1350
|
-
placeholder: {
|
|
1349
|
+
id: {},
|
|
1350
|
+
label: {},
|
|
1351
|
+
ariaLabel: {},
|
|
1352
|
+
placeholder: {},
|
|
1351
1353
|
type: { default: "text" },
|
|
1352
1354
|
clearable: { type: Boolean, default: !1 },
|
|
1353
1355
|
size: { default: "medium" },
|
|
1354
|
-
inputmode: {
|
|
1355
|
-
minlength: {
|
|
1356
|
-
maxlength: {
|
|
1356
|
+
inputmode: {},
|
|
1357
|
+
minlength: {},
|
|
1358
|
+
maxlength: {},
|
|
1357
1359
|
disabled: { type: Boolean, default: !1 },
|
|
1358
1360
|
hideable: { type: Boolean, default: !1 },
|
|
1359
1361
|
hideLabel: { type: Boolean, default: !1 },
|
|
@@ -1365,38 +1367,38 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1365
1367
|
rules: { default: () => [] },
|
|
1366
1368
|
validateOnBlur: { type: Boolean, default: !0 },
|
|
1367
1369
|
required: { type: Boolean, default: !1 },
|
|
1368
|
-
errorMessage: {
|
|
1370
|
+
errorMessage: {}
|
|
1369
1371
|
},
|
|
1370
1372
|
emits: ["keyup", "keydown", "keypress", "input", "focus", "blur", "change", "click", "click:hide"],
|
|
1371
|
-
setup(
|
|
1372
|
-
const a =
|
|
1373
|
+
setup(s, { expose: e, emit: t }) {
|
|
1374
|
+
const a = s, o = t, l = De(), i = mt(), { t: n } = ve(), r = I(!1), u = I(!0), p = c(() => a.hideable && u.value ? "password" : a.type), m = c(() => a.hideable && u.value ? n("Show input value") : n("Hide input value")), { id: h, value: y, rules: C, required: N } = te(a), A = pe(h), B = se(y, {
|
|
1373
1375
|
onChange: (L) => {
|
|
1374
1376
|
o("input", L);
|
|
1375
1377
|
}
|
|
1376
|
-
}), v =
|
|
1377
|
-
message:
|
|
1378
|
+
}), v = I(null), {
|
|
1379
|
+
message: T,
|
|
1378
1380
|
valid: D,
|
|
1379
1381
|
listeners: Y,
|
|
1380
|
-
startValidating:
|
|
1382
|
+
startValidating: le
|
|
1381
1383
|
} = ke({
|
|
1382
1384
|
id: A,
|
|
1383
1385
|
value: B,
|
|
1384
1386
|
rules: C,
|
|
1385
1387
|
required: N,
|
|
1386
|
-
validateOn:
|
|
1388
|
+
validateOn: c(() => a.validateOnBlur ? "blur" : "input"),
|
|
1387
1389
|
field: v
|
|
1388
|
-
}), j =
|
|
1390
|
+
}), j = c(() => !D.value || !!a.errorMessage), H = K("prepend-inner"), k = K("append"), _ = K("message"), F = () => {
|
|
1389
1391
|
u.value = !u.value, o("click:hide", u.value);
|
|
1390
|
-
},
|
|
1392
|
+
}, re = (L) => {
|
|
1391
1393
|
const Z = L.target;
|
|
1392
1394
|
Z.value !== B.value && (B.value = Z.value, Y.input(L));
|
|
1393
|
-
},
|
|
1395
|
+
}, ie = (L) => {
|
|
1394
1396
|
Y.change(L);
|
|
1395
1397
|
const Z = L.target;
|
|
1396
1398
|
o("change", Z.value);
|
|
1397
1399
|
}, ae = (L) => {
|
|
1398
1400
|
r.value = !0, o("focus", L);
|
|
1399
|
-
},
|
|
1401
|
+
}, de = (L) => {
|
|
1400
1402
|
r.value = !1, Y.blur(L), o("blur", L);
|
|
1401
1403
|
}, Kt = () => {
|
|
1402
1404
|
o("input", "");
|
|
@@ -1405,16 +1407,16 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1405
1407
|
}, Qt = () => {
|
|
1406
1408
|
v.value?.blur();
|
|
1407
1409
|
};
|
|
1408
|
-
|
|
1410
|
+
x(() => {
|
|
1409
1411
|
!a.label && !i.label && !a.ariaLabel && console.error(
|
|
1410
1412
|
"Missing CTextField label. Please provide a label prop, an ariaLabel prop or pass a label via the label slot."
|
|
1411
1413
|
);
|
|
1412
|
-
}), e({ input: v, focus: Jt, blur: Qt, startValidating:
|
|
1413
|
-
const xt =
|
|
1414
|
-
const { class: L, style: Z, ...oe } =
|
|
1414
|
+
}), e({ input: v, focus: Jt, blur: Qt, startValidating: le });
|
|
1415
|
+
const xt = c(() => {
|
|
1416
|
+
const { class: L, style: Z, ...oe } = l;
|
|
1415
1417
|
return oe;
|
|
1416
|
-
}), ea =
|
|
1417
|
-
return (L, Z) => (
|
|
1418
|
+
}), ea = c(() => l.style);
|
|
1419
|
+
return (L, Z) => (f(), g("div", {
|
|
1418
1420
|
class: V(["c-text-field", [
|
|
1419
1421
|
{
|
|
1420
1422
|
"c-text-field--disabled": L.disabled,
|
|
@@ -1427,7 +1429,7 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1427
1429
|
L.$attrs.class
|
|
1428
1430
|
]]),
|
|
1429
1431
|
"data-test": L.dataTest,
|
|
1430
|
-
style:
|
|
1432
|
+
style: ee(ea.value)
|
|
1431
1433
|
}, [
|
|
1432
1434
|
S("label", {
|
|
1433
1435
|
class: "c-text-field__label",
|
|
@@ -1435,25 +1437,25 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1435
1437
|
"data-test": `${L.dataTest}-label`
|
|
1436
1438
|
}, [
|
|
1437
1439
|
b(L.$slots, "label", {}, () => [
|
|
1438
|
-
|
|
1440
|
+
z(O(L.label), 1)
|
|
1439
1441
|
], !0)
|
|
1440
|
-
], 8,
|
|
1441
|
-
S("div",
|
|
1442
|
-
d(H) ? (
|
|
1442
|
+
], 8, Us),
|
|
1443
|
+
S("div", zs, [
|
|
1444
|
+
d(H) ? (f(), g("div", {
|
|
1443
1445
|
key: 0,
|
|
1444
1446
|
class: "c-text-field__prefix",
|
|
1445
1447
|
"data-test": `${L.dataTest}-prefix`
|
|
1446
1448
|
}, [
|
|
1447
1449
|
b(L.$slots, "prepend-inner", {}, void 0, !0)
|
|
1448
|
-
], 8,
|
|
1449
|
-
S("input",
|
|
1450
|
+
], 8, Gs)) : R("", !0),
|
|
1451
|
+
S("input", q(xt.value, {
|
|
1450
1452
|
id: d(A),
|
|
1451
1453
|
ref_key: "input",
|
|
1452
1454
|
ref: v,
|
|
1453
1455
|
class: ["c-text-field__input", {
|
|
1454
1456
|
"c-text-field__input--has-prefix": d(H),
|
|
1455
1457
|
"c-text-field__input--has-suffix": d(k),
|
|
1456
|
-
"c-text-field__input--clearable": L.clearable && d(
|
|
1458
|
+
"c-text-field__input--clearable": L.clearable && d(y),
|
|
1457
1459
|
"c-text-field__input--hideable": L.hideable
|
|
1458
1460
|
}],
|
|
1459
1461
|
"data-test": `${L.dataTest}-input`,
|
|
@@ -1472,12 +1474,12 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1472
1474
|
onKeydown: Z[1] || (Z[1] = (oe) => L.$emit("keydown", oe)),
|
|
1473
1475
|
onKeypress: Z[2] || (Z[2] = (oe) => L.$emit("keypress", oe)),
|
|
1474
1476
|
onClick: Z[3] || (Z[3] = (oe) => L.$emit("click", oe)),
|
|
1475
|
-
onInput:
|
|
1476
|
-
onChange:
|
|
1477
|
+
onInput: re,
|
|
1478
|
+
onChange: ie,
|
|
1477
1479
|
onFocus: ae,
|
|
1478
|
-
onBlur:
|
|
1479
|
-
}), null, 16,
|
|
1480
|
-
L.clearable && d(
|
|
1480
|
+
onBlur: de
|
|
1481
|
+
}), null, 16, js),
|
|
1482
|
+
L.clearable && d(y) ? (f(), M(ye, {
|
|
1481
1483
|
key: 1,
|
|
1482
1484
|
"aria-label": L.$t("Clear"),
|
|
1483
1485
|
"data-test": `${L.dataTest}-clear`,
|
|
@@ -1487,7 +1489,7 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1487
1489
|
icon: d(Be),
|
|
1488
1490
|
onClick: Kt
|
|
1489
1491
|
}, null, 8, ["aria-label", "data-test", "icon"])) : R("", !0),
|
|
1490
|
-
L.hideable ? (
|
|
1492
|
+
L.hideable ? (f(), M(ye, {
|
|
1491
1493
|
key: 2,
|
|
1492
1494
|
"aria-label": m.value,
|
|
1493
1495
|
"data-test": `${L.dataTest}-hide-toggle`,
|
|
@@ -1498,23 +1500,23 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1498
1500
|
icon: u.value ? d(na) : d(ia),
|
|
1499
1501
|
onClick: F
|
|
1500
1502
|
}, null, 8, ["aria-label", "data-test", "data-hidden", "icon"])) : R("", !0),
|
|
1501
|
-
d(k) ? (
|
|
1503
|
+
d(k) ? (f(), g("div", {
|
|
1502
1504
|
key: 3,
|
|
1503
1505
|
class: "c-text-field__suffix",
|
|
1504
1506
|
"data-test": `${L.dataTest}-suffix`
|
|
1505
1507
|
}, [
|
|
1506
1508
|
b(L.$slots, "append", {}, void 0, !0)
|
|
1507
|
-
], 8,
|
|
1509
|
+
], 8, Zs)) : R("", !0)
|
|
1508
1510
|
]),
|
|
1509
1511
|
P(_e, {
|
|
1510
1512
|
id: `${d(A)}-validation-message`,
|
|
1511
1513
|
class: "c-text-field__validation-message",
|
|
1512
1514
|
"data-test": `${L.dataTest}-validation-message`,
|
|
1513
|
-
"validation-message": L.errorMessage || d(
|
|
1515
|
+
"validation-message": L.errorMessage || d(T),
|
|
1514
1516
|
hide: L.hideDetails
|
|
1515
1517
|
}, {
|
|
1516
1518
|
append: w(() => [
|
|
1517
|
-
L.counter ? (
|
|
1519
|
+
L.counter ? (f(), M(Vt, {
|
|
1518
1520
|
key: 0,
|
|
1519
1521
|
"data-test": `${L.dataTest}-counter`,
|
|
1520
1522
|
counter: L.counter,
|
|
@@ -1524,28 +1526,28 @@ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field
|
|
|
1524
1526
|
]),
|
|
1525
1527
|
_: 1
|
|
1526
1528
|
}, 8, ["id", "data-test", "validation-message", "hide"]),
|
|
1527
|
-
d(_) ? (
|
|
1529
|
+
d(_) ? (f(), g("div", {
|
|
1528
1530
|
key: 0,
|
|
1529
1531
|
id: `${d(A)}-message`,
|
|
1530
1532
|
class: "c-text-field__message",
|
|
1531
1533
|
"data-test": `${L.dataTest}-message`
|
|
1532
1534
|
}, [
|
|
1533
1535
|
b(L.$slots, "message", {}, void 0, !0)
|
|
1534
|
-
], 8,
|
|
1535
|
-
], 14,
|
|
1536
|
+
], 8, Ws)) : R("", !0)
|
|
1537
|
+
], 14, qs));
|
|
1536
1538
|
}
|
|
1537
|
-
}),
|
|
1538
|
-
if (
|
|
1539
|
+
}), Xe = /* @__PURE__ */ E(Xs, [["__scopeId", "data-v-e94acf19"]]), Ht = (s) => {
|
|
1540
|
+
if (s == null || s === "")
|
|
1539
1541
|
return null;
|
|
1540
|
-
if (typeof
|
|
1541
|
-
return
|
|
1542
|
+
if (typeof s == "number")
|
|
1543
|
+
return s;
|
|
1542
1544
|
{
|
|
1543
|
-
const e = parseInt(
|
|
1545
|
+
const e = parseInt(s, 10);
|
|
1544
1546
|
return isNaN(e) ? null : e;
|
|
1545
1547
|
}
|
|
1546
1548
|
};
|
|
1547
|
-
function
|
|
1548
|
-
const a =
|
|
1549
|
+
function Ks(s, e, t) {
|
|
1550
|
+
const a = se(e), o = c(() => {
|
|
1549
1551
|
const r = t.value.onMaska, u = Array.isArray(r) ? r : r ? [r] : [];
|
|
1550
1552
|
return {
|
|
1551
1553
|
...t.value,
|
|
@@ -1557,52 +1559,52 @@ function Jl(l, e, t) {
|
|
|
1557
1559
|
]
|
|
1558
1560
|
};
|
|
1559
1561
|
});
|
|
1560
|
-
let
|
|
1561
|
-
G(
|
|
1562
|
-
r ?
|
|
1562
|
+
let l = null;
|
|
1563
|
+
G(s, (r) => {
|
|
1564
|
+
r ? l = new ba(r, o.value) : (l?.destroy(), l = null);
|
|
1563
1565
|
});
|
|
1564
|
-
const i =
|
|
1566
|
+
const i = c(() => new ga(o.value)), n = c(() => i.value ? i.value.masked(a.value) : e.value);
|
|
1565
1567
|
return {
|
|
1566
1568
|
mask: i,
|
|
1567
1569
|
maskedValue: n,
|
|
1568
1570
|
unmaskedValue: a
|
|
1569
1571
|
};
|
|
1570
1572
|
}
|
|
1571
|
-
function
|
|
1572
|
-
const a =
|
|
1573
|
-
const r = i.split(""), u = r.findIndex((p, m) => r.slice(0, m + 1).filter((
|
|
1573
|
+
function Js(s, e, t) {
|
|
1574
|
+
const a = c(() => ["#", "@", "*", ...Object.keys(t.value.tokens ?? {})]), o = (i, n) => {
|
|
1575
|
+
const r = i.split(""), u = r.findIndex((p, m) => r.slice(0, m + 1).filter((y) => a.value.includes(y)).length === n);
|
|
1574
1576
|
return u === -1 ? i.length : u + 1;
|
|
1575
1577
|
};
|
|
1576
|
-
return
|
|
1577
|
-
const i = t.value.mask, n = Ht(
|
|
1578
|
+
return c(() => {
|
|
1579
|
+
const i = t.value.mask, n = Ht(s.value);
|
|
1578
1580
|
return n ? i ? typeof i == "function" ? o(i(e.value), n) : typeof i == "string" ? o(i, n) : Array.isArray(i) ? Math.min(...i.map((r) => o(r, n))) : n : n : null;
|
|
1579
1581
|
});
|
|
1580
1582
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return
|
|
1583
|
-
const t = e.value.mask, a = Ht(
|
|
1583
|
+
function Qs(s, e) {
|
|
1584
|
+
return c(() => {
|
|
1585
|
+
const t = e.value.mask, a = Ht(s.value);
|
|
1584
1586
|
return a ? t ? Math.max(a, t.length) : a : null;
|
|
1585
1587
|
});
|
|
1586
1588
|
}
|
|
1587
|
-
const Ce = /* @__PURE__ */
|
|
1589
|
+
const Ce = /* @__PURE__ */ $({
|
|
1588
1590
|
__name: "CMaskedTextField",
|
|
1589
1591
|
props: {
|
|
1590
1592
|
counter: { default: null },
|
|
1591
1593
|
dataTest: { default: "masked-text-field" },
|
|
1592
|
-
id: {
|
|
1593
|
-
label: {
|
|
1594
|
+
id: {},
|
|
1595
|
+
label: {},
|
|
1594
1596
|
mask: {},
|
|
1595
|
-
minlength: {
|
|
1596
|
-
maxlength: {
|
|
1597
|
-
placeholder: {
|
|
1597
|
+
minlength: {},
|
|
1598
|
+
maxlength: {},
|
|
1599
|
+
placeholder: {},
|
|
1598
1600
|
rules: { default: () => [] },
|
|
1599
1601
|
tokens: { default: null },
|
|
1600
1602
|
unmaskRules: { type: Boolean, default: !0 },
|
|
1601
1603
|
value: { default: "" }
|
|
1602
1604
|
},
|
|
1603
1605
|
emits: ["keyup", "keydown", "keypress", "input", "focus", "blur", "change", "input:masked"],
|
|
1604
|
-
setup(
|
|
1605
|
-
const a =
|
|
1606
|
+
setup(s, { expose: e, emit: t }) {
|
|
1607
|
+
const a = s, o = t, { maxlength: l, minlength: i, value: n } = te(a), r = I(null), u = c(() => r.value?.input ?? null), p = c(() => ({
|
|
1606
1608
|
mask: a.mask,
|
|
1607
1609
|
tokens: {
|
|
1608
1610
|
// NOTE (ej): For the EBT Card Number we accept a mask 'N' from the server
|
|
@@ -1613,11 +1615,11 @@ const Ce = /* @__PURE__ */ y({
|
|
|
1613
1615
|
onMaska: (v) => {
|
|
1614
1616
|
o("input", v.unmasked), o("input:masked", v.masked);
|
|
1615
1617
|
}
|
|
1616
|
-
})), { maskedValue: m, mask: h, unmaskedValue:
|
|
1617
|
-
const D = h.value?.unmasked(
|
|
1618
|
+
})), { maskedValue: m, mask: h, unmaskedValue: y } = Ks(u, n, p), C = Js(i, n, p), N = Qs(l, p), A = c(() => y.value.length), B = c(() => a.rules.map((v) => (T) => {
|
|
1619
|
+
const D = h.value?.unmasked(T) ?? T;
|
|
1618
1620
|
return v(D);
|
|
1619
1621
|
}));
|
|
1620
|
-
return e({ input: u }), (v,
|
|
1622
|
+
return e({ input: u }), (v, T) => (f(), M(Xe, q(v.$attrs, {
|
|
1621
1623
|
id: v.id,
|
|
1622
1624
|
ref_key: "textField",
|
|
1623
1625
|
ref: r,
|
|
@@ -1631,12 +1633,12 @@ const Ce = /* @__PURE__ */ y({
|
|
|
1631
1633
|
rules: v.unmaskRules ? B.value : v.rules,
|
|
1632
1634
|
counter: v.counter,
|
|
1633
1635
|
"counter-value": A.value,
|
|
1634
|
-
onKeyup:
|
|
1635
|
-
onKeydown:
|
|
1636
|
-
onKeypress:
|
|
1637
|
-
onBlur:
|
|
1638
|
-
onFocus:
|
|
1639
|
-
onChange:
|
|
1636
|
+
onKeyup: T[0] || (T[0] = (D) => v.$emit("keyup", D)),
|
|
1637
|
+
onKeydown: T[1] || (T[1] = (D) => v.$emit("keydown", D)),
|
|
1638
|
+
onKeypress: T[2] || (T[2] = (D) => v.$emit("keypress", D)),
|
|
1639
|
+
onBlur: T[3] || (T[3] = (D) => v.$emit("blur", D)),
|
|
1640
|
+
onFocus: T[4] || (T[4] = (D) => v.$emit("focus", D)),
|
|
1641
|
+
onChange: T[5] || (T[5] = (D) => v.$emit("change", D))
|
|
1640
1642
|
}), {
|
|
1641
1643
|
label: w(() => [
|
|
1642
1644
|
b(v.$slots, "label")
|
|
@@ -1654,37 +1656,37 @@ const Ce = /* @__PURE__ */ y({
|
|
|
1654
1656
|
}, 16, ["id", "data-test", "data-mask", "value", "label", "placeholder", "minlength", "maxlength", "rules", "counter", "counter-value"]));
|
|
1655
1657
|
}
|
|
1656
1658
|
});
|
|
1657
|
-
function
|
|
1658
|
-
const e = new Date(
|
|
1659
|
+
function xs(s) {
|
|
1660
|
+
const e = new Date(s);
|
|
1659
1661
|
return isNaN(e.getTime()) ? null : e;
|
|
1660
1662
|
}
|
|
1661
|
-
function
|
|
1663
|
+
function el(s) {
|
|
1662
1664
|
const e = /* @__PURE__ */ new Date();
|
|
1663
|
-
let t = e.getFullYear() -
|
|
1664
|
-
const a = e.getMonth() -
|
|
1665
|
-
return (a < 0 || a === 0 && e.getDate() <
|
|
1665
|
+
let t = e.getFullYear() - s.getFullYear();
|
|
1666
|
+
const a = e.getMonth() - s.getMonth();
|
|
1667
|
+
return (a < 0 || a === 0 && e.getDate() < s.getDate()) && t--, t;
|
|
1666
1668
|
}
|
|
1667
|
-
function
|
|
1668
|
-
return (e) => e.length >=
|
|
1669
|
+
function tl(s) {
|
|
1670
|
+
return (e) => e.length >= s;
|
|
1669
1671
|
}
|
|
1670
|
-
function
|
|
1671
|
-
return (t) => t &&
|
|
1672
|
+
function al(s, e) {
|
|
1673
|
+
return (t) => t && s(t) ? !0 : e;
|
|
1672
1674
|
}
|
|
1673
|
-
function $e(
|
|
1674
|
-
return
|
|
1675
|
+
function $e(s, e) {
|
|
1676
|
+
return al(tl(s), e);
|
|
1675
1677
|
}
|
|
1676
|
-
function
|
|
1678
|
+
function sl(s, e) {
|
|
1677
1679
|
return (t) => {
|
|
1678
|
-
const a =
|
|
1679
|
-
return !(o === null || o > e || o <
|
|
1680
|
+
const a = xs(t), o = a ? el(a) : null;
|
|
1681
|
+
return !(o === null || o > e || o < s);
|
|
1680
1682
|
};
|
|
1681
1683
|
}
|
|
1682
|
-
function
|
|
1684
|
+
function ll(s) {
|
|
1683
1685
|
return /^[A-Z0-9]+([-.+_]+[A-Z0-9]+)*@([A-Z0-9]([A-Z0-9-]{0,61}[A-Z0-9])?\.)+([A-Z]{2,6}|[A-Z0-9-]{2,})$/i.test(
|
|
1684
|
-
|
|
1686
|
+
s
|
|
1685
1687
|
);
|
|
1686
1688
|
}
|
|
1687
|
-
const
|
|
1689
|
+
const ol = /* @__PURE__ */ $({
|
|
1688
1690
|
__name: "CDobField",
|
|
1689
1691
|
props: {
|
|
1690
1692
|
dataTest: { default: "dob-field" },
|
|
@@ -1696,45 +1698,45 @@ const ns = /* @__PURE__ */ y({
|
|
|
1696
1698
|
yearOnly: { type: Boolean, default: !1 }
|
|
1697
1699
|
},
|
|
1698
1700
|
emits: ["input", "blur", "focus", "change"],
|
|
1699
|
-
setup(
|
|
1700
|
-
const t =
|
|
1701
|
+
setup(s, { emit: e }) {
|
|
1702
|
+
const t = s, a = e, { t: o } = ve(), l = (v) => {
|
|
1701
1703
|
if (t.yearOnly)
|
|
1702
1704
|
return v;
|
|
1703
1705
|
if (!v)
|
|
1704
1706
|
return "";
|
|
1705
|
-
const [
|
|
1706
|
-
return !
|
|
1707
|
-
}, i =
|
|
1707
|
+
const [T, D, Y] = v.split("-");
|
|
1708
|
+
return !T || !D || !Y ? (console.warn(`Invalid date format. Expected YYYY-MM-DD, received: ${v}.`), "") : `${D}${Y}${T}`;
|
|
1709
|
+
}, i = I(l(t.value));
|
|
1708
1710
|
let n = t.value;
|
|
1709
1711
|
G(
|
|
1710
1712
|
() => t.value,
|
|
1711
1713
|
(v) => {
|
|
1712
|
-
v !== n && (i.value = t.yearOnly ? v :
|
|
1714
|
+
v !== n && (i.value = t.yearOnly ? v : l(v));
|
|
1713
1715
|
}
|
|
1714
1716
|
);
|
|
1715
1717
|
const r = (v) => {
|
|
1716
1718
|
if (t.yearOnly)
|
|
1717
1719
|
a("input", v);
|
|
1718
1720
|
else {
|
|
1719
|
-
const
|
|
1720
|
-
n = Y &&
|
|
1721
|
+
const T = v.substring(0, 2), D = v.substring(2, 4), Y = v.substring(4, 8);
|
|
1722
|
+
n = Y && T && D ? `${Y}-${T}-${D}` : "", a("input", n);
|
|
1721
1723
|
}
|
|
1722
|
-
}, u =
|
|
1724
|
+
}, u = c(() => t.yearOnly ? o("Year of birth") : o("Date of birth")), p = c(() => t.yearOnly ? o("YYYY") : o("MM/DD/YYYY")), m = c(() => {
|
|
1723
1725
|
const v = t.yearOnly ? o("year of birth") : o("date of birth");
|
|
1724
1726
|
return o("Please enter a valid {inputLabel}", { inputLabel: v });
|
|
1725
|
-
}), h =
|
|
1726
|
-
const v = $e(t.yearOnly ? 4 : 10, m.value),
|
|
1727
|
-
return [v,
|
|
1727
|
+
}), h = c(() => {
|
|
1728
|
+
const v = $e(t.yearOnly ? 4 : 10, m.value), T = (Y) => sl(0, 125)(Y) || m.value, D = (Y) => me(Y, "MM/DD/YYYY", !0).isValid() || m.value;
|
|
1729
|
+
return [v, T, t.yearOnly ? void 0 : D].filter(
|
|
1728
1730
|
Boolean
|
|
1729
1731
|
);
|
|
1730
|
-
}),
|
|
1731
|
-
return (v,
|
|
1732
|
+
}), y = c(() => t.label || u.value), C = c(() => t.placeholder || p.value), N = c(() => [...h.value, ...t.rules]), A = c(() => t.yearOnly ? 4 : 8), B = c(() => t.yearOnly ? "####" : "##/##/####");
|
|
1733
|
+
return (v, T) => (f(), M(Ce, q(v.$attrs, {
|
|
1732
1734
|
id: v.id,
|
|
1733
1735
|
"data-test": v.dataTest,
|
|
1734
1736
|
value: i.value,
|
|
1735
1737
|
inputmode: "numeric",
|
|
1736
1738
|
name: "dob",
|
|
1737
|
-
label:
|
|
1739
|
+
label: y.value,
|
|
1738
1740
|
placeholder: C.value,
|
|
1739
1741
|
mask: B.value,
|
|
1740
1742
|
minlength: A.value,
|
|
@@ -1743,9 +1745,9 @@ const ns = /* @__PURE__ */ y({
|
|
|
1743
1745
|
rules: N.value,
|
|
1744
1746
|
autocorrect: "off",
|
|
1745
1747
|
autocapitalize: "none",
|
|
1746
|
-
onBlur:
|
|
1747
|
-
onFocus:
|
|
1748
|
-
onInput:
|
|
1748
|
+
onBlur: T[0] || (T[0] = (D) => v.$emit("blur", D)),
|
|
1749
|
+
onFocus: T[1] || (T[1] = (D) => v.$emit("focus", D)),
|
|
1750
|
+
onInput: T[2] || (T[2] = (D) => r(D))
|
|
1749
1751
|
}), {
|
|
1750
1752
|
label: w(() => [
|
|
1751
1753
|
b(v.$slots, "label")
|
|
@@ -1756,35 +1758,35 @@ const ns = /* @__PURE__ */ y({
|
|
|
1756
1758
|
_: 3
|
|
1757
1759
|
}, 16, ["id", "data-test", "value", "label", "placeholder", "mask", "minlength", "maxlength", "rules"]));
|
|
1758
1760
|
}
|
|
1759
|
-
}),
|
|
1761
|
+
}), nl = ["data-test"], il = ["for", "data-test"], rl = { class: "c-select__input-container" }, dl = ["id", "aria-label", "data-test", "value", "disabled", "required"], ul = {
|
|
1760
1762
|
key: 0,
|
|
1761
1763
|
value: "",
|
|
1762
1764
|
disabled: "",
|
|
1763
1765
|
selected: ""
|
|
1764
|
-
},
|
|
1766
|
+
}, cl = ["value", "disabled"], fl = /* @__PURE__ */ $({
|
|
1765
1767
|
__name: "CSelect",
|
|
1766
1768
|
props: {
|
|
1767
|
-
ariaLabel: {
|
|
1769
|
+
ariaLabel: {},
|
|
1768
1770
|
dataTest: { default: "select" },
|
|
1769
1771
|
disabled: { type: Boolean, default: !1 },
|
|
1770
1772
|
hideDetails: { type: [Boolean, String], default: !1 },
|
|
1771
1773
|
hideLabel: { type: Boolean, default: !1 },
|
|
1772
|
-
id: {
|
|
1774
|
+
id: {},
|
|
1773
1775
|
items: { default: () => [] },
|
|
1774
|
-
label: {
|
|
1776
|
+
label: {},
|
|
1775
1777
|
loading: { type: Boolean, default: !1 },
|
|
1776
|
-
placeholder: {
|
|
1778
|
+
placeholder: {},
|
|
1777
1779
|
required: { type: Boolean, default: !1 },
|
|
1778
1780
|
rules: { default: () => [] },
|
|
1779
1781
|
value: { default: "" }
|
|
1780
1782
|
},
|
|
1781
1783
|
emits: ["input", "focus", "blur", "keydown"],
|
|
1782
|
-
setup(
|
|
1783
|
-
const a =
|
|
1784
|
+
setup(s, { expose: e, emit: t }) {
|
|
1785
|
+
const a = s, o = t, { id: l, value: i, rules: n, required: r } = te(a), u = pe(l), p = se(i, {
|
|
1784
1786
|
onChange: (v) => o("input", v)
|
|
1785
|
-
}), m =
|
|
1787
|
+
}), m = I(null), {
|
|
1786
1788
|
message: h,
|
|
1787
|
-
valid:
|
|
1789
|
+
valid: y,
|
|
1788
1790
|
listeners: C,
|
|
1789
1791
|
startValidating: N,
|
|
1790
1792
|
clearValidations: A
|
|
@@ -1797,33 +1799,33 @@ const ns = /* @__PURE__ */ y({
|
|
|
1797
1799
|
validateOn: "blur"
|
|
1798
1800
|
});
|
|
1799
1801
|
function B(v) {
|
|
1800
|
-
const
|
|
1801
|
-
p.value =
|
|
1802
|
+
const T = v.target;
|
|
1803
|
+
p.value = T.value;
|
|
1802
1804
|
}
|
|
1803
|
-
return e({ startValidating: N, clearValidations: A }), (v,
|
|
1805
|
+
return e({ startValidating: N, clearValidations: A }), (v, T) => (f(), g("div", {
|
|
1804
1806
|
class: V(["c-select", {
|
|
1805
1807
|
"c-select--disabled": v.disabled,
|
|
1806
|
-
"c-select--invalid": !d(
|
|
1808
|
+
"c-select--invalid": !d(y)
|
|
1807
1809
|
}]),
|
|
1808
1810
|
"data-test": v.dataTest
|
|
1809
1811
|
}, [
|
|
1810
1812
|
S("label", {
|
|
1811
|
-
for: d(
|
|
1813
|
+
for: d(l),
|
|
1812
1814
|
class: V(["c-select__label", { "c-select__label--hidden": v.hideLabel }]),
|
|
1813
1815
|
"data-test": `${v.dataTest}-label`
|
|
1814
1816
|
}, [
|
|
1815
1817
|
b(v.$slots, "label", {}, () => [
|
|
1816
|
-
|
|
1818
|
+
z(O(v.label), 1)
|
|
1817
1819
|
], !0)
|
|
1818
|
-
], 10,
|
|
1819
|
-
S("div",
|
|
1820
|
-
S("select",
|
|
1821
|
-
id: d(
|
|
1820
|
+
], 10, il),
|
|
1821
|
+
S("div", rl, [
|
|
1822
|
+
S("select", q({
|
|
1823
|
+
id: d(l),
|
|
1822
1824
|
ref_key: "select",
|
|
1823
1825
|
ref: m,
|
|
1824
1826
|
class: ["c-select__input", {
|
|
1825
1827
|
"c-select__input--has-value": d(p) && !v.disabled,
|
|
1826
|
-
"c-select__input--invalid": !d(
|
|
1828
|
+
"c-select__input--invalid": !d(y),
|
|
1827
1829
|
"c-select__input--loading": v.loading,
|
|
1828
1830
|
"c-select__input--disabled": v.disabled
|
|
1829
1831
|
}],
|
|
@@ -1833,27 +1835,27 @@ const ns = /* @__PURE__ */ y({
|
|
|
1833
1835
|
disabled: v.disabled,
|
|
1834
1836
|
required: d(r),
|
|
1835
1837
|
onInput: B,
|
|
1836
|
-
onFocus:
|
|
1837
|
-
onBlur:
|
|
1838
|
-
onKeydown:
|
|
1838
|
+
onFocus: T[0] || (T[0] = (D) => v.$emit("focus", D)),
|
|
1839
|
+
onBlur: T[1] || (T[1] = (D) => v.$emit("blur", D)),
|
|
1840
|
+
onKeydown: T[2] || (T[2] = (D) => v.$emit("keydown", D))
|
|
1839
1841
|
}, Se(d(C), !0)), [
|
|
1840
|
-
v.placeholder ? (
|
|
1841
|
-
(
|
|
1842
|
+
v.placeholder ? (f(), g("option", ul, O(v.placeholder), 1)) : R("", !0),
|
|
1843
|
+
(f(!0), g(ce, null, fe(v.items, (D) => (f(), g("option", {
|
|
1842
1844
|
key: D.value,
|
|
1843
1845
|
value: D.value,
|
|
1844
1846
|
disabled: D.disabled,
|
|
1845
1847
|
"data-test": "option"
|
|
1846
|
-
}, O(D.label), 9,
|
|
1847
|
-
], 16,
|
|
1848
|
-
v.loading ? (
|
|
1848
|
+
}, O(D.label), 9, cl))), 128))
|
|
1849
|
+
], 16, dl),
|
|
1850
|
+
v.loading ? (f(), M(we, {
|
|
1849
1851
|
key: 0,
|
|
1850
1852
|
small: "",
|
|
1851
1853
|
class: "c-select__icon",
|
|
1852
1854
|
"data-test": "select-icon-loading"
|
|
1853
|
-
})) : (
|
|
1855
|
+
})) : (f(), M(d(U), {
|
|
1854
1856
|
key: 1,
|
|
1855
1857
|
class: "c-select__icon",
|
|
1856
|
-
icon: d(
|
|
1858
|
+
icon: d(Ue)
|
|
1857
1859
|
}, null, 8, ["icon"]))
|
|
1858
1860
|
]),
|
|
1859
1861
|
P(_e, {
|
|
@@ -1867,9 +1869,9 @@ const ns = /* @__PURE__ */ y({
|
|
|
1867
1869
|
]),
|
|
1868
1870
|
_: 3
|
|
1869
1871
|
}, 8, ["data-test", "validation-message", "hide"])
|
|
1870
|
-
], 10,
|
|
1872
|
+
], 10, nl));
|
|
1871
1873
|
}
|
|
1872
|
-
}), Ee = /* @__PURE__ */
|
|
1874
|
+
}), Ee = /* @__PURE__ */ E(fl, [["__scopeId", "data-v-46028677"]]), pl = ["id", "data-test"], vl = ["for", "data-test"], ml = { class: "c-dob-select__container" }, bl = /* @__PURE__ */ $({
|
|
1873
1875
|
__name: "CDobSelect",
|
|
1874
1876
|
props: {
|
|
1875
1877
|
dataTest: { default: "dob-select" },
|
|
@@ -1883,22 +1885,22 @@ const ns = /* @__PURE__ */ y({
|
|
|
1883
1885
|
disabled: { type: Boolean, default: !1 }
|
|
1884
1886
|
},
|
|
1885
1887
|
emits: ["input", "focus", "blur"],
|
|
1886
|
-
setup(
|
|
1887
|
-
const t =
|
|
1888
|
+
setup(s, { emit: e }) {
|
|
1889
|
+
const t = s, a = e, { t: o } = ve(), l = c(() => t.label ?? o("Date of birth")), i = I(""), n = I(""), r = I(""), u = I(t.required && t.value === ""), p = I([]), m = c(() => n.value && i.value && r.value ? `${r.value}-${i.value}-${n.value}` : ""), h = c(() => !t.required && !i.value ? [] : [() => i.value !== ""]), y = c(() => !t.required && !n.value ? [] : [() => n.value !== ""]), C = c(() => !t.required && !r.value ? [] : [() => r.value !== ""]), N = c(() => p.value[0] ?? ""), A = Array.from({ length: 12 }, (k, _) => ({
|
|
1888
1890
|
value: (_ + 1).toString().padStart(2, "0"),
|
|
1889
1891
|
label: me().set("month", _).format("MMM")
|
|
1890
|
-
})), B =
|
|
1892
|
+
})), B = c(() => {
|
|
1891
1893
|
const k = Number(r.value) || 2e3, _ = Number(i.value) - 1 || 0, F = me().year(k).month(_).daysInMonth();
|
|
1892
|
-
return Array.from({ length: F }, (
|
|
1893
|
-
const ae = (
|
|
1894
|
+
return Array.from({ length: F }, (re, ie) => {
|
|
1895
|
+
const ae = (ie + 1).toString();
|
|
1894
1896
|
return { value: ae.padStart(2, "0"), label: ae };
|
|
1895
1897
|
});
|
|
1896
|
-
}), v = me().year(),
|
|
1898
|
+
}), v = me().year(), T = Array.from({ length: 120 }, (k, _) => {
|
|
1897
1899
|
const F = (v - _).toString();
|
|
1898
1900
|
return { value: F, label: F };
|
|
1899
1901
|
}), D = o("Please enter a valid {inputLabel}", {
|
|
1900
1902
|
inputLabel: o("date of birth")
|
|
1901
|
-
}), Y =
|
|
1903
|
+
}), Y = c(() => !t.required && !m.value ? [] : [(_) => me(_, "YYYY-MM-DD", !0).isValid() || D, ...t.rules]), le = c(() => !u.value), j = () => (p.value = Y.value.map((k) => {
|
|
1902
1904
|
const _ = k(m.value);
|
|
1903
1905
|
return typeof _ == "string" ? _ : "";
|
|
1904
1906
|
}).filter((k) => k !== ""), u.value = t.required && m.value === "" || p.value.length > 0, !u.value), H = () => {
|
|
@@ -1925,22 +1927,22 @@ const ns = /* @__PURE__ */ y({
|
|
|
1925
1927
|
{ immediate: !0 }
|
|
1926
1928
|
), Mt({
|
|
1927
1929
|
id: t.id,
|
|
1928
|
-
valid:
|
|
1930
|
+
valid: le,
|
|
1929
1931
|
validate: j
|
|
1930
|
-
}), (k, _) => (
|
|
1932
|
+
}), (k, _) => (f(), g("div", {
|
|
1931
1933
|
id: k.id,
|
|
1932
1934
|
class: "c-dob-select",
|
|
1933
1935
|
"data-test": k.dataTest
|
|
1934
1936
|
}, [
|
|
1935
1937
|
b(k.$slots, "label", {}, () => [
|
|
1936
|
-
k.hideLabel ? R("", !0) : (
|
|
1938
|
+
k.hideLabel ? R("", !0) : (f(), g("label", {
|
|
1937
1939
|
key: 0,
|
|
1938
1940
|
class: "c-dob-select__label",
|
|
1939
1941
|
for: `${k.id}-month`,
|
|
1940
1942
|
"data-test": `${k.dataTest}-label`
|
|
1941
|
-
}, O(
|
|
1943
|
+
}, O(l.value), 9, vl))
|
|
1942
1944
|
], !0),
|
|
1943
|
-
S("div",
|
|
1945
|
+
S("div", ml, [
|
|
1944
1946
|
P(Ee, {
|
|
1945
1947
|
id: `${k.id}-month`,
|
|
1946
1948
|
class: "c-dob-select__field",
|
|
@@ -1968,7 +1970,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
1968
1970
|
placeholder: k.$t("Day"),
|
|
1969
1971
|
"data-test": `${k.dataTest}-day`,
|
|
1970
1972
|
items: B.value,
|
|
1971
|
-
rules:
|
|
1973
|
+
rules: y.value,
|
|
1972
1974
|
required: k.required,
|
|
1973
1975
|
disabled: k.disabled,
|
|
1974
1976
|
onInput: _[3] || (_[3] = (F) => (n.value = F) && H()),
|
|
@@ -1984,7 +1986,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
1984
1986
|
"aria-label": k.$t("Year"),
|
|
1985
1987
|
placeholder: k.$t("Year"),
|
|
1986
1988
|
"data-test": `${k.dataTest}-year`,
|
|
1987
|
-
items: d(
|
|
1989
|
+
items: d(T),
|
|
1988
1990
|
rules: C.value,
|
|
1989
1991
|
required: k.required,
|
|
1990
1992
|
disabled: k.disabled,
|
|
@@ -1999,9 +2001,9 @@ const ns = /* @__PURE__ */ y({
|
|
|
1999
2001
|
"validation-message": N.value,
|
|
2000
2002
|
hide: k.hideDetails
|
|
2001
2003
|
}, null, 8, ["data-test", "validation-message", "hide"])
|
|
2002
|
-
], 8,
|
|
2004
|
+
], 8, pl));
|
|
2003
2005
|
}
|
|
2004
|
-
}),
|
|
2006
|
+
}), gl = /* @__PURE__ */ E(bl, [["__scopeId", "data-v-16260a2c"]]), hl = /* @__PURE__ */ $({
|
|
2005
2007
|
__name: "CEmailField",
|
|
2006
2008
|
props: {
|
|
2007
2009
|
dataTest: { default: "email-field" },
|
|
@@ -2012,11 +2014,11 @@ const ns = /* @__PURE__ */ y({
|
|
|
2012
2014
|
value: { default: "" }
|
|
2013
2015
|
},
|
|
2014
2016
|
emits: ["input", "focus", "blur", "change"],
|
|
2015
|
-
setup(
|
|
2017
|
+
setup(s) {
|
|
2016
2018
|
const { t: e } = ve(), t = [
|
|
2017
|
-
(a) => !a ||
|
|
2019
|
+
(a) => !a || ll(a) ? !0 : e("Please enter a valid {inputLabel}", { inputLabel: e("email") })
|
|
2018
2020
|
];
|
|
2019
|
-
return (a, o) => (
|
|
2021
|
+
return (a, o) => (f(), M(Xe, q(a.$attrs, {
|
|
2020
2022
|
id: a.id,
|
|
2021
2023
|
value: a.value,
|
|
2022
2024
|
"data-test": a.dataTest,
|
|
@@ -2025,10 +2027,10 @@ const ns = /* @__PURE__ */ y({
|
|
|
2025
2027
|
rules: [...t, ...a.rules],
|
|
2026
2028
|
label: a.label || a.$t("Email"),
|
|
2027
2029
|
placeholder: a.placeholder || a.$t("example@email.com"),
|
|
2028
|
-
onInput: o[0] || (o[0] = (
|
|
2029
|
-
onFocus: o[1] || (o[1] = (
|
|
2030
|
-
onBlur: o[2] || (o[2] = (
|
|
2031
|
-
onChange: o[3] || (o[3] = (
|
|
2030
|
+
onInput: o[0] || (o[0] = (l) => a.$emit("input", l)),
|
|
2031
|
+
onFocus: o[1] || (o[1] = (l) => a.$emit("focus", l)),
|
|
2032
|
+
onBlur: o[2] || (o[2] = (l) => a.$emit("blur", l)),
|
|
2033
|
+
onChange: o[3] || (o[3] = (l) => a.$emit("change", l))
|
|
2032
2034
|
}), {
|
|
2033
2035
|
label: w(() => [
|
|
2034
2036
|
b(a.$slots, "label")
|
|
@@ -2039,19 +2041,19 @@ const ns = /* @__PURE__ */ y({
|
|
|
2039
2041
|
_: 3
|
|
2040
2042
|
}, 16, ["id", "value", "data-test", "rules", "label", "placeholder"]));
|
|
2041
2043
|
}
|
|
2042
|
-
}),
|
|
2044
|
+
}), _l = /* @__PURE__ */ Symbol("animations-disabled"), Cl = /* @__PURE__ */ $({
|
|
2043
2045
|
__name: "CExpandTransition",
|
|
2044
2046
|
props: {
|
|
2045
2047
|
disabled: { type: Boolean, default: !1 }
|
|
2046
2048
|
},
|
|
2047
|
-
setup(
|
|
2048
|
-
const e =
|
|
2049
|
+
setup(s) {
|
|
2050
|
+
const e = s, t = X(_l, I(!1)), a = c(() => e.disabled || t.value), o = I(null), l = I("auto");
|
|
2049
2051
|
return At(o, ([i]) => {
|
|
2050
|
-
|
|
2051
|
-
}), (i, n) => (
|
|
2052
|
+
l.value = `${i.contentRect.height}px`;
|
|
2053
|
+
}), (i, n) => (f(), g("div", {
|
|
2052
2054
|
"data-test": "expand-transition",
|
|
2053
2055
|
class: V(["c-expand-transition", { "c-expand-transition--disabled": a.value }]),
|
|
2054
|
-
style:
|
|
2056
|
+
style: ee({ height: a.value ? void 0 : l.value })
|
|
2055
2057
|
}, [
|
|
2056
2058
|
S("div", {
|
|
2057
2059
|
ref_key: "content",
|
|
@@ -2062,10 +2064,10 @@ const ns = /* @__PURE__ */ y({
|
|
|
2062
2064
|
], 512)
|
|
2063
2065
|
], 6));
|
|
2064
2066
|
}
|
|
2065
|
-
}), Ft = /* @__PURE__ */
|
|
2067
|
+
}), Ft = /* @__PURE__ */ E(Cl, [["__scopeId", "data-v-9917a865"]]), yl = ["id", "data-test"], $l = ["for", "data-test"], kl = ["id", "data-test", "aria-describedby", "multiple", "disabled", "required"], Tl = ["id"], Ll = {
|
|
2066
2068
|
key: 0,
|
|
2067
2069
|
class: "c-file-input__file"
|
|
2068
|
-
},
|
|
2070
|
+
}, Il = /* @__PURE__ */ $({
|
|
2069
2071
|
__name: "CFileInput",
|
|
2070
2072
|
props: {
|
|
2071
2073
|
dataTest: { default: "file-input" },
|
|
@@ -2078,17 +2080,17 @@ const ns = /* @__PURE__ */ y({
|
|
|
2078
2080
|
value: { default: null }
|
|
2079
2081
|
},
|
|
2080
2082
|
emits: ["input"],
|
|
2081
|
-
setup(
|
|
2082
|
-
const t =
|
|
2083
|
+
setup(s, { emit: e }) {
|
|
2084
|
+
const t = s, a = e, { id: o, value: l } = te(t), i = pe(o), n = se(l, {
|
|
2083
2085
|
onChange: (p) => {
|
|
2084
2086
|
a("input", p);
|
|
2085
2087
|
}
|
|
2086
|
-
}), r =
|
|
2088
|
+
}), r = c(() => Array.isArray(n.value) ? n.value.length > 0 : !!n.value);
|
|
2087
2089
|
function u(p) {
|
|
2088
2090
|
const m = p.target.files;
|
|
2089
2091
|
m ? n.value = t.multiple ? Array.from(m) : m[0] : n.value = null;
|
|
2090
2092
|
}
|
|
2091
|
-
return (p, m) => (
|
|
2093
|
+
return (p, m) => (f(), g("label", {
|
|
2092
2094
|
class: V(["c-file-input", { "c-file-input--disabled": p.disabled }])
|
|
2093
2095
|
}, [
|
|
2094
2096
|
S("p", {
|
|
@@ -2097,18 +2099,18 @@ const ns = /* @__PURE__ */ y({
|
|
|
2097
2099
|
"data-test": `${p.dataTest}-label`
|
|
2098
2100
|
}, [
|
|
2099
2101
|
b(p.$slots, "label", {}, () => [
|
|
2100
|
-
|
|
2102
|
+
z(O(p.label), 1)
|
|
2101
2103
|
], !0)
|
|
2102
|
-
], 8,
|
|
2104
|
+
], 8, yl),
|
|
2103
2105
|
S("span", {
|
|
2104
2106
|
for: d(i),
|
|
2105
2107
|
class: "c-file-input__prompt",
|
|
2106
2108
|
"data-test": `${p.dataTest}-prompt`
|
|
2107
2109
|
}, [
|
|
2108
2110
|
b(p.$slots, "prompt", {}, () => [
|
|
2109
|
-
|
|
2111
|
+
z(O(p.prompt), 1)
|
|
2110
2112
|
], !0)
|
|
2111
|
-
], 8,
|
|
2113
|
+
], 8, $l),
|
|
2112
2114
|
S("input", {
|
|
2113
2115
|
id: d(i),
|
|
2114
2116
|
"data-test": `${p.dataTest}-input`,
|
|
@@ -2119,66 +2121,66 @@ const ns = /* @__PURE__ */ y({
|
|
|
2119
2121
|
disabled: p.disabled,
|
|
2120
2122
|
required: p.required,
|
|
2121
2123
|
onChange: u
|
|
2122
|
-
}, null, 40,
|
|
2123
|
-
r.value ? (
|
|
2124
|
+
}, null, 40, kl),
|
|
2125
|
+
r.value ? (f(), g("div", {
|
|
2124
2126
|
key: 0,
|
|
2125
2127
|
id: `${d(i)}-files`,
|
|
2126
2128
|
class: "c-file-input__files"
|
|
2127
2129
|
}, [
|
|
2128
|
-
!Array.isArray(d(n)) && d(n) ? (
|
|
2129
|
-
Array.isArray(d(n)) ? (
|
|
2130
|
+
!Array.isArray(d(n)) && d(n) ? (f(), g("span", Ll, O(d(n).name), 1)) : R("", !0),
|
|
2131
|
+
Array.isArray(d(n)) ? (f(!0), g(ce, { key: 1 }, fe(d(n), (h) => (f(), g("span", {
|
|
2130
2132
|
key: h.name,
|
|
2131
2133
|
class: "c-file-input__file"
|
|
2132
2134
|
}, O(h.name), 1))), 128)) : R("", !0)
|
|
2133
|
-
], 8,
|
|
2135
|
+
], 8, Tl)) : R("", !0)
|
|
2134
2136
|
], 2));
|
|
2135
2137
|
}
|
|
2136
|
-
}),
|
|
2138
|
+
}), El = /* @__PURE__ */ E(Il, [["__scopeId", "data-v-e5d85a35"]]), Al = { class: "c-fixed-page-footer__content" }, Sl = /* @__PURE__ */ $({
|
|
2137
2139
|
__name: "CFixedPageFooter",
|
|
2138
2140
|
props: {
|
|
2139
2141
|
tag: { default: "footer" }
|
|
2140
2142
|
},
|
|
2141
2143
|
emits: ["change:height"],
|
|
2142
|
-
setup(
|
|
2143
|
-
const t = e, a =
|
|
2144
|
-
return At(o, ([
|
|
2144
|
+
setup(s, { emit: e }) {
|
|
2145
|
+
const t = e, a = I(null), o = c(() => a.value?.$el ?? null);
|
|
2146
|
+
return At(o, ([l]) => t("change:height", l.contentRect.height)), be(() => t("change:height", 0)), (l, i) => (f(), M(Me, {
|
|
2145
2147
|
ref_key: "footer",
|
|
2146
2148
|
ref: a,
|
|
2147
2149
|
"data-test": "fixed-page-footer",
|
|
2148
|
-
tag:
|
|
2150
|
+
tag: l.tag,
|
|
2149
2151
|
large: "",
|
|
2150
2152
|
class: "c-fixed-page-footer"
|
|
2151
2153
|
}, {
|
|
2152
2154
|
default: w(() => [
|
|
2153
|
-
S("div",
|
|
2154
|
-
b(
|
|
2155
|
+
S("div", Al, [
|
|
2156
|
+
b(l.$slots, "default", {}, void 0, !0)
|
|
2155
2157
|
])
|
|
2156
2158
|
]),
|
|
2157
2159
|
_: 3
|
|
2158
2160
|
}, 8, ["tag"]));
|
|
2159
2161
|
}
|
|
2160
|
-
}),
|
|
2162
|
+
}), Dl = /* @__PURE__ */ E(Sl, [["__scopeId", "data-v-ecb09be1"]]), Bl = ["data-test"], wl = /* @__PURE__ */ $({
|
|
2161
2163
|
__name: "CForm",
|
|
2162
2164
|
props: {
|
|
2163
2165
|
dataTest: { default: "form" }
|
|
2164
2166
|
},
|
|
2165
2167
|
emits: ["submit", "input"],
|
|
2166
|
-
setup(
|
|
2167
|
-
const a = t, o =
|
|
2168
|
+
setup(s, { expose: e, emit: t }) {
|
|
2169
|
+
const a = t, o = I(null), l = I({});
|
|
2168
2170
|
W(Rt, {
|
|
2169
2171
|
register: (u) => {
|
|
2170
|
-
|
|
2172
|
+
l.value = { ...l.value, [u.id]: u };
|
|
2171
2173
|
},
|
|
2172
2174
|
unregister: (u) => {
|
|
2173
|
-
const p = { ...
|
|
2174
|
-
delete p[u],
|
|
2175
|
+
const p = { ...l.value };
|
|
2176
|
+
delete p[u], l.value = p;
|
|
2175
2177
|
}
|
|
2176
2178
|
});
|
|
2177
|
-
const i =
|
|
2179
|
+
const i = c(() => Object.values(l.value)), n = (u) => i.value.filter((p) => u ? !p.validate() : !p.valid);
|
|
2178
2180
|
return G(n, (u, p) => {
|
|
2179
2181
|
const m = u.length === 0, h = p?.length === 0;
|
|
2180
2182
|
m !== h && a("input", m);
|
|
2181
|
-
}),
|
|
2183
|
+
}), x(() => a("input", n().length === 0)), e({ validate: () => {
|
|
2182
2184
|
if (!o.value)
|
|
2183
2185
|
return !1;
|
|
2184
2186
|
const u = n(!0), p = u.find((m) => m.field)?.field;
|
|
@@ -2187,114 +2189,114 @@ const ns = /* @__PURE__ */ y({
|
|
|
2187
2189
|
block: "center",
|
|
2188
2190
|
scrollMode: "if-needed"
|
|
2189
2191
|
}), u.length === 0;
|
|
2190
|
-
}, inputs: i }), (u, p) => (
|
|
2192
|
+
}, inputs: i }), (u, p) => (f(), g("form", {
|
|
2191
2193
|
ref_key: "form",
|
|
2192
2194
|
ref: o,
|
|
2193
2195
|
"data-test": u.dataTest,
|
|
2194
2196
|
novalidate: "",
|
|
2195
|
-
onSubmit: p[0] || (p[0] =
|
|
2197
|
+
onSubmit: p[0] || (p[0] = ft((m) => u.$emit("submit", m), ["prevent"]))
|
|
2196
2198
|
}, [
|
|
2197
2199
|
b(u.$slots, "default")
|
|
2198
|
-
], 40,
|
|
2200
|
+
], 40, Bl));
|
|
2199
2201
|
}
|
|
2200
|
-
}),
|
|
2202
|
+
}), Rl = ["data-test"], Ml = {
|
|
2201
2203
|
class: "c-label__text",
|
|
2202
2204
|
"data-test": "label-text"
|
|
2203
|
-
},
|
|
2205
|
+
}, Nl = /* @__PURE__ */ $({
|
|
2204
2206
|
__name: "CLabel",
|
|
2205
2207
|
props: {
|
|
2206
2208
|
icon: { default: null },
|
|
2207
2209
|
dataTest: { default: "label" }
|
|
2208
2210
|
},
|
|
2209
|
-
setup(
|
|
2210
|
-
return (e, t) => (
|
|
2211
|
+
setup(s) {
|
|
2212
|
+
return (e, t) => (f(), g("div", {
|
|
2211
2213
|
class: "c-label",
|
|
2212
2214
|
"data-test": e.dataTest
|
|
2213
2215
|
}, [
|
|
2214
2216
|
b(e.$slots, "icon", {}, () => [
|
|
2215
|
-
e.icon ? (
|
|
2217
|
+
e.icon ? (f(), M(d(U), {
|
|
2216
2218
|
key: 0,
|
|
2217
2219
|
"data-test": "label-icon",
|
|
2218
2220
|
icon: e.icon,
|
|
2219
2221
|
size: "xs"
|
|
2220
2222
|
}, null, 8, ["icon"])) : R("", !0)
|
|
2221
2223
|
], !0),
|
|
2222
|
-
S("div",
|
|
2224
|
+
S("div", Ml, [
|
|
2223
2225
|
b(e.$slots, "default", {}, void 0, !0)
|
|
2224
2226
|
])
|
|
2225
|
-
], 8,
|
|
2227
|
+
], 8, Rl));
|
|
2226
2228
|
}
|
|
2227
|
-
}),
|
|
2229
|
+
}), Vl = /* @__PURE__ */ E(Nl, [["__scopeId", "data-v-4d7e42d8"]]), Ol = {
|
|
2228
2230
|
class: "c-list-item-content",
|
|
2229
2231
|
"data-test": "list-item-content"
|
|
2230
|
-
},
|
|
2232
|
+
}, Hl = {
|
|
2231
2233
|
key: 0,
|
|
2232
2234
|
class: "c-list-item-content__title",
|
|
2233
2235
|
"data-test": "list-item-title"
|
|
2234
|
-
},
|
|
2236
|
+
}, Fl = {
|
|
2235
2237
|
key: 1,
|
|
2236
2238
|
class: "c-list-item-content__label",
|
|
2237
2239
|
"data-test": "list-item-label"
|
|
2238
|
-
},
|
|
2240
|
+
}, Pl = /* @__PURE__ */ $({
|
|
2239
2241
|
__name: "CListItemContent",
|
|
2240
2242
|
props: {
|
|
2241
2243
|
title: { default: "" },
|
|
2242
2244
|
label: { default: "" }
|
|
2243
2245
|
},
|
|
2244
|
-
setup(
|
|
2246
|
+
setup(s) {
|
|
2245
2247
|
const e = K("title"), t = K("label");
|
|
2246
|
-
return (a, o) => (
|
|
2248
|
+
return (a, o) => (f(), g("div", Ol, [
|
|
2247
2249
|
b(a.$slots, "default", {}, () => [
|
|
2248
|
-
a.title || d(e) ? (
|
|
2250
|
+
a.title || d(e) ? (f(), g("div", Hl, [
|
|
2249
2251
|
b(a.$slots, "title", {}, () => [
|
|
2250
|
-
|
|
2252
|
+
z(O(a.title), 1)
|
|
2251
2253
|
], !0)
|
|
2252
2254
|
])) : R("", !0),
|
|
2253
|
-
a.label || d(t) ? (
|
|
2255
|
+
a.label || d(t) ? (f(), g("div", Fl, [
|
|
2254
2256
|
b(a.$slots, "label", {}, () => [
|
|
2255
|
-
|
|
2257
|
+
z(O(a.label), 1)
|
|
2256
2258
|
], !0)
|
|
2257
2259
|
])) : R("", !0)
|
|
2258
2260
|
], !0)
|
|
2259
2261
|
]));
|
|
2260
2262
|
}
|
|
2261
|
-
}), Pt = /* @__PURE__ */
|
|
2263
|
+
}), Pt = /* @__PURE__ */ E(Pl, [["__scopeId", "data-v-1855e2e2"]]), Yl = ["data-icon", "data-color"], ql = /* @__PURE__ */ $({
|
|
2262
2264
|
__name: "CSquaredIcon",
|
|
2263
2265
|
props: {
|
|
2264
2266
|
color: { default: "gray-100" },
|
|
2265
2267
|
icon: { default: null },
|
|
2266
2268
|
large: { type: Boolean, default: !1 }
|
|
2267
2269
|
},
|
|
2268
|
-
setup(
|
|
2269
|
-
const e =
|
|
2270
|
-
|
|
2270
|
+
setup(s) {
|
|
2271
|
+
const e = U, t = s;
|
|
2272
|
+
x(() => {
|
|
2271
2273
|
});
|
|
2272
|
-
const { cssColor: a } =
|
|
2273
|
-
return (
|
|
2274
|
+
const { cssColor: a } = Q(() => t.color), o = c(() => t.color === "black");
|
|
2275
|
+
return (l, i) => (f(), g("div", {
|
|
2274
2276
|
"data-test": "squared-icon",
|
|
2275
|
-
"data-icon":
|
|
2277
|
+
"data-icon": l.icon,
|
|
2276
2278
|
"data-color": d(a),
|
|
2277
|
-
class: V(["c-squared-icon", { "c-squared-icon--white-icon": o.value, "c-squared-icon--large":
|
|
2278
|
-
style:
|
|
2279
|
+
class: V(["c-squared-icon", { "c-squared-icon--white-icon": o.value, "c-squared-icon--large": l.large }]),
|
|
2280
|
+
style: ee({ backgroundColor: d(a) })
|
|
2279
2281
|
}, [
|
|
2280
|
-
b(
|
|
2281
|
-
|
|
2282
|
+
b(l.$slots, "default", {}, () => [
|
|
2283
|
+
l.icon ? (f(), M(d(e), {
|
|
2282
2284
|
key: 0,
|
|
2283
2285
|
"data-test": "squared-icon-icon",
|
|
2284
|
-
icon:
|
|
2286
|
+
icon: l.icon
|
|
2285
2287
|
}, null, 8, ["icon"])) : R("", !0)
|
|
2286
2288
|
], !0)
|
|
2287
|
-
], 14,
|
|
2289
|
+
], 14, Yl));
|
|
2288
2290
|
}
|
|
2289
|
-
}),
|
|
2291
|
+
}), Ke = /* @__PURE__ */ E(ql, [["__scopeId", "data-v-631d5510"]]), Ul = /* @__PURE__ */ $({
|
|
2290
2292
|
__name: "CListItemIcon",
|
|
2291
2293
|
props: {
|
|
2292
2294
|
icon: { default: null },
|
|
2293
2295
|
iconColor: { default: "gray-100" }
|
|
2294
2296
|
},
|
|
2295
|
-
setup(
|
|
2297
|
+
setup(s) {
|
|
2296
2298
|
const e = K("icon");
|
|
2297
|
-
return (t, a) => t.icon || d(e) ? (
|
|
2299
|
+
return (t, a) => t.icon || d(e) ? (f(), M(Ke, {
|
|
2298
2300
|
key: 0,
|
|
2299
2301
|
icon: t.icon,
|
|
2300
2302
|
color: t.iconColor,
|
|
@@ -2306,11 +2308,11 @@ const ns = /* @__PURE__ */ y({
|
|
|
2306
2308
|
_: 3
|
|
2307
2309
|
}, 8, ["icon", "color"])) : R("", !0);
|
|
2308
2310
|
}
|
|
2309
|
-
}),
|
|
2311
|
+
}), Je = /* @__PURE__ */ E(Ul, [["__scopeId", "data-v-a2993619"]]), zl = { class: "flex-1 d-flex flex-row gap-3 justify-between align-center" }, Gl = {
|
|
2310
2312
|
key: 0,
|
|
2311
2313
|
"data-test": "list-item-action",
|
|
2312
2314
|
class: "c-list-item__append__action flex-shrink-0"
|
|
2313
|
-
},
|
|
2315
|
+
}, jl = /* @__PURE__ */ $({
|
|
2314
2316
|
__name: "CListItem",
|
|
2315
2317
|
props: {
|
|
2316
2318
|
icon: { default: null },
|
|
@@ -2324,13 +2326,13 @@ const ns = /* @__PURE__ */ y({
|
|
|
2324
2326
|
align: { default: "center" },
|
|
2325
2327
|
hideAction: { type: Boolean, default: !1 }
|
|
2326
2328
|
},
|
|
2327
|
-
setup(
|
|
2328
|
-
const e =
|
|
2329
|
-
return (A, B) => (
|
|
2329
|
+
setup(s) {
|
|
2330
|
+
const e = s, t = De(), { to: a } = te(e), { href: o, navigate: l } = Ze(a), i = c(() => o.value ?? e.href), n = c(() => !!i.value), r = c(() => !!t.onClick), u = c(() => n.value || r.value), p = c(() => n.value ? "a" : r.value ? "button" : "div"), m = c(() => r.value ? { type: "button" } : {}), h = K("action"), y = c(() => e.hideAction ? !1 : u.value || h.value), C = K("icon"), N = c(() => q(t, m.value));
|
|
2331
|
+
return (A, B) => (f(), M(Ae(p.value), q(N.value, {
|
|
2330
2332
|
class: ["c-list-item d-flex flex-col justify-center w-full", { "c-list-item--is-tappable": u.value }],
|
|
2331
2333
|
href: i.value,
|
|
2332
2334
|
target: A.target,
|
|
2333
|
-
onClick: d(
|
|
2335
|
+
onClick: d(l)
|
|
2334
2336
|
}), {
|
|
2335
2337
|
default: w(() => [
|
|
2336
2338
|
S("div", {
|
|
@@ -2340,7 +2342,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
2340
2342
|
}])
|
|
2341
2343
|
}, [
|
|
2342
2344
|
b(A.$slots, "prepend", {}, () => [
|
|
2343
|
-
A.icon || d(C) ? (
|
|
2345
|
+
A.icon || d(C) ? (f(), M(Je, {
|
|
2344
2346
|
key: 0,
|
|
2345
2347
|
icon: A.icon,
|
|
2346
2348
|
"icon-color": A.iconColor
|
|
@@ -2351,11 +2353,11 @@ const ns = /* @__PURE__ */ y({
|
|
|
2351
2353
|
_: 3
|
|
2352
2354
|
}, 8, ["icon", "icon-color"])) : R("", !0)
|
|
2353
2355
|
], !0),
|
|
2354
|
-
S("div",
|
|
2356
|
+
S("div", zl, [
|
|
2355
2357
|
P(Pt, {
|
|
2356
2358
|
title: A.title,
|
|
2357
2359
|
label: A.label
|
|
2358
|
-
},
|
|
2360
|
+
}, bt({ _: 2 }, [
|
|
2359
2361
|
fe(["title", "label", "default"], (v) => ({
|
|
2360
2362
|
name: v,
|
|
2361
2363
|
fn: w(() => [
|
|
@@ -2364,9 +2366,9 @@ const ns = /* @__PURE__ */ y({
|
|
|
2364
2366
|
}))
|
|
2365
2367
|
]), 1032, ["title", "label"]),
|
|
2366
2368
|
b(A.$slots, "append", {}, () => [
|
|
2367
|
-
|
|
2369
|
+
y.value ? (f(), g("div", Gl, [
|
|
2368
2370
|
b(A.$slots, "action", {}, () => [
|
|
2369
|
-
P(d(
|
|
2371
|
+
P(d(U), {
|
|
2370
2372
|
"data-test": "list-item-action-icon",
|
|
2371
2373
|
class: "c-list-item__append__action-icon",
|
|
2372
2374
|
"fixed-width": "",
|
|
@@ -2381,33 +2383,33 @@ const ns = /* @__PURE__ */ y({
|
|
|
2381
2383
|
_: 3
|
|
2382
2384
|
}, 16, ["class", "href", "target", "onClick"]));
|
|
2383
2385
|
}
|
|
2384
|
-
}), Yt = /* @__PURE__ */ T(Zs, [["__scopeId", "data-v-c3185322"]]), Ws = "data:image/svg+xml,%3csvg%20width='30'%20height='37'%20viewBox='0%200%2030%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_911_9050)'%3e%3cpath%20d='M7.39438%200.692966C7.39438%200.692966%206.35052%201.4649%205.56982%202.23683C5.3242%202.44735%205.35052%202.66665%205.36806%202.98244C5.44701%204.04384%205.64876%206.40349%207.25403%208.14033C8.85052%209.87718%2010.9119%209.64033%2010.9119%209.64033L15.2979%208.67542L7.39438%200.692966Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.482422%2022.6316C0.482422%2029.6754%206.42979%2035.386%2013.7719%2035.386C21.114%2035.386%2027.0614%2029.6754%2027.0614%2022.6316C27.0614%2015.5877%2021.114%209.8772%2013.7719%209.8772C6.42979%209.8772%200.482422%2015.5877%200.482422%2022.6316ZM7.8947%2022.6316C7.8947%2025.9123%2010.6666%2028.5702%2014.0877%2028.5702C17.5087%2028.5702%2020.2807%2025.9123%2020.2807%2022.6316C20.2807%2019.3509%2017.5087%2016.693%2014.0877%2016.693C10.6666%2016.693%207.8947%2019.3509%207.8947%2022.6316Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.73633%2022.0965C2.73633%2029.4912%208.72755%2035.4824%2016.1223%2035.4824C23.517%2035.4824%2029.5083%2029.4912%2029.5083%2022.0965C29.5083%2014.7017%2023.517%208.71051%2016.1223%208.71051C8.72755%208.71051%202.73633%2014.7017%202.73633%2022.0965ZM9.88545%2022.0965C9.88545%2025.5438%2012.6749%2028.3333%2016.1223%2028.3333C19.5697%2028.3333%2022.3591%2025.5438%2022.3591%2022.0965C22.3591%2018.6491%2019.5697%2015.8596%2016.1223%2015.8596C12.6749%2015.8596%209.88545%2018.6491%209.88545%2022.0965Z'%20fill='%23FFC120'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.88672%2013.1491C7.41303%2010.9912%209.76391%209.74562%2013.3078%209.00001'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M9.53516%2034.7193C12.7808%2035.7193%2015.7281%2035.8597%2018.9211%2035.193'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M15.2988%208.67545C15.4742%208.64036%2015.6321%208.54387%2015.7286%208.38598C16.4567%207.21054%2016.1672%204.71054%2014.6146%203.28948C12.869%201.7544%2011.5707%202.0965%208.44792%200.614046C7.6409%200.228081%206.99178%200.736853%207.11459%201.71054C7.23739%202.68422%208.04441%206.3772%2010.3339%207.91229C11.9655%209.00001%2014.4655%208.85966%2015.2988%208.68422V8.67545Z'%20fill='%238BC95A'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_911_9050'%3e%3crect%20width='30'%20height='36.0877'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Xs = "data:image/svg+xml,%3csvg%20width='120'%20height='38'%20viewBox='0%200%20120%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M40.3101%2022.5039H36.5387C36.383%2022.5039%2036.2563%2022.6306%2036.2563%2022.7863V29.808C36.2563%2030.018%2036.0862%2030.1881%2035.8763%2030.1881H32.2206C32.0107%2030.1881%2031.8406%2030.018%2031.8406%2029.808V8.18892C31.8406%207.98261%2032.0107%207.8125%2032.2206%207.8125H40.3101C44.5847%207.8125%2048.0594%2010.5488%2048.0594%2015.1419C48.0594%2019.735%2044.5847%2022.5039%2040.3101%2022.5039ZM36.2563%2018.2764C36.2563%2018.432%2036.383%2018.5587%2036.5387%2018.5587H40.1364C42.4275%2018.5587%2043.6437%2017.1109%2043.6437%2015.1383C43.6437%2013.1657%2042.4275%2011.7505%2040.1364%2011.7505H36.5387C36.383%2011.7505%2036.2563%2011.8772%2036.2563%2012.0328V18.2728V18.2764Z'%20fill='black'/%3e%3cpath%20d='M53.7021%2014.5594V15.3919C53.7021%2015.533%2053.8723%2015.5945%2053.9664%2015.4932C54.7771%2014.6064%2056.2937%2014.0454%2057.9116%2014.0454H58.9214C59.1313%2014.0454%2059.3015%2014.2155%2059.3015%2014.4255V17.7119C59.3015%2017.9219%2059.1313%2018.092%2058.9214%2018.092H57.879C55.1499%2018.092%2053.7021%2019.8438%2053.7021%2022.4064V29.8118C53.7021%2030.0218%2053.532%2030.1919%2053.3221%2030.1919H49.8329C49.623%2030.1919%2049.4529%2030.0218%2049.4529%2029.8118V14.5594C49.4529%2014.3495%2049.623%2014.1793%2049.8329%2014.1793H53.3221C53.532%2014.1793%2053.7021%2014.3495%2053.7021%2014.5594Z'%20fill='black'/%3e%3cpath%20d='M76.9102%2022.1999C76.9102%2027.0174%2073.1713%2030.6224%2068.2162%2030.6224C63.2611%2030.6224%2059.5222%2027.0174%2059.5222%2022.1999C59.5222%2017.3824%2063.2611%2013.7412%2068.2162%2013.7412C73.1713%2013.7412%2076.9102%2017.3462%2076.9102%2022.1999ZM63.7715%2022.1999C63.7715%2024.8639%2065.6898%2026.7134%2068.2198%2026.7134C70.7498%2026.7134%2072.6681%2024.8602%2072.6681%2022.1999C72.6681%2019.5396%2070.7462%2017.6502%2068.2198%2017.6502C65.6934%2017.6502%2063.7715%2019.5034%2063.7715%2022.1999Z'%20fill='black'/%3e%3cpath%20d='M87.5261%2030.6224C85.9046%2030.6224%2084.2505%2030.1193%2083.1538%2029.2181C83.0307%2029.1167%2082.8425%2029.2%2082.8425%2029.3629V36.6814C82.8425%2036.8914%2082.6724%2037.0615%2082.4625%2037.0615H78.9733C78.7634%2037.0615%2078.5933%2036.8914%2078.5933%2036.6814V14.5556C78.5933%2014.3457%2078.7634%2014.1756%2078.9733%2014.1756H82.4625C82.6724%2014.1756%2082.8425%2014.3457%2082.8425%2014.5556V15.0478C82.8425%2015.1781%2082.9909%2015.2469%2083.0886%2015.1637C84.1853%2014.2335%2085.8684%2013.7412%2087.5261%2013.7412C92.6803%2013.7412%2095.7134%2017.7842%2095.7134%2022.1637C95.7134%2026.5433%2092.6803%2030.6224%2087.5261%2030.6224ZM87.1895%2017.6502C84.931%2017.6502%2082.676%2019.1342%2082.676%2022.1637C82.676%2025.1932%2084.9346%2026.7134%2087.1895%2026.7134C89.7159%2026.7134%2091.4677%2024.625%2091.4677%2022.1637C91.4677%2019.7025%2089.7159%2017.6502%2087.1895%2017.6502Z'%20fill='black'/%3e%3cpath%20d='M112.989%2025.3344C113.264%2025.3344%20113.449%2025.6167%20113.337%2025.8664C111.983%2028.791%20108.917%2030.6224%20105.674%2030.6224C100.686%2030.6224%2097.0127%2027.0174%2097.0127%2022.1637C97.0127%2017.31%20100.549%2013.7412%20105.504%2013.7412C110.459%2013.7412%20113.829%2017.3824%20113.829%2022.0986C113.829%2022.5184%20113.829%2022.855%20113.796%2023.2351C113.778%2023.4305%20113.615%2023.5826%20113.42%2023.5826H101.801C101.609%2023.5826%20101.468%2023.7708%20101.53%2023.9518C102.091%2025.6601%20103.72%2026.717%20105.674%2026.717C106.955%2026.717%20108.114%2026.3515%20108.863%2025.4755C108.939%2025.3887%20109.044%2025.3344%20109.156%2025.3344H112.989ZM108.968%2020.4119C109.149%2020.4119%20109.286%2020.2418%20109.243%2020.0644C108.838%2018.4103%20107.332%2017.3788%20105.504%2017.3788C103.676%2017.3788%20102.033%2018.4393%20101.602%2020.0608C101.555%2020.2382%20101.696%2020.4119%20101.877%2020.4119H108.968Z'%20fill='black'/%3e%3cpath%20d='M120%208.18912V29.8082C120%2030.0182%20119.83%2030.1883%20119.62%2030.1883H116.131C115.921%2030.1883%20115.751%2030.0182%20115.751%2029.8082V8.18912C115.751%207.97919%20115.921%207.80908%20116.131%207.80908H119.62C119.83%207.80908%20120%207.97919%20120%208.18912Z'%20fill='black'/%3e%3cpath%20d='M13.725%207.37832C14.1268%206.19475%2013.7757%204.37054%2012.556%203.25212C11.6909%202.49203%2010.9561%202.26762%2010.0259%201.98531C9.3672%201.78623%208.6252%201.56182%207.61899%201.08405C7.17018%200.8705%206.71774%200.892218%206.37751%201.14196C6.34132%201.1673%206.30512%201.19988%206.27255%201.22884C6.08795%201.37%205.40025%201.89481%204.85009%202.43412C4.50262%202.74539%204.52796%203.1001%204.54606%203.3607V3.3969C4.61483%204.24023%204.77046%206.22008%206.14224%207.7113C6.5802%208.18545%207.05435%208.49312%207.50317%208.69219C6.46438%209.15186%205.49436%209.73821%204.49539%2010.4947C4.29993%2010.6395%204.10448%2010.7915%203.91989%2010.9507C3.86922%2010.9905%203.81854%2011.0304%203.76787%2011.0738C3.74615%2011.0919%203.72806%2011.11%203.71358%2011.1281C1.43693%2013.1441%200%2016.0904%200%2019.3696C0%2024.3102%203.26476%2028.5016%207.74929%2029.8987C7.77463%2029.9095%207.79634%2029.9204%207.8253%2029.9276C9.39615%2030.3873%2010.8946%2030.6153%2012.3967%2030.6153C13.5332%2030.6153%2014.6697%2030.485%2015.8352%2030.2244C15.8388%2030.2244%2015.8461%2030.2208%2015.8497%2030.2208C21.0581%2029.1024%2024.9707%2024.4622%2024.9707%2018.9244C24.9707%2012.6555%2019.9505%207.53757%2013.7214%207.37469L13.725%207.37832ZM12.7333%2023.5827C11.738%2023.4379%2010.815%2022.9782%2010.0911%2022.2544C9.2007%2021.364%208.71207%2020.184%208.71207%2018.9244C8.71207%2017.2341%209.60608%2015.7502%2010.9489%2014.9213C11.0539%2014.9141%2011.1625%2014.9068%2011.271%2014.9068C13.7323%2014.9068%2015.7338%2016.9084%2015.7338%2019.3696C15.7338%2021.3169%2014.4779%2022.9746%2012.7369%2023.5827H12.7333Z'%20fill='black'/%3e%3cpath%20d='M11.9405%203.93626C11.2347%203.31371%2010.6447%203.13636%209.75796%202.86852C9.10284%202.66945%208.28846%202.42332%207.22433%201.91659C7.14832%201.8804%207.07231%201.8623%207.0144%201.8623C6.97459%201.8623%206.94201%201.86954%206.9203%201.88763C6.86238%201.93107%206.80447%202.06499%206.83705%202.30026C6.95649%203.20875%207.60438%205.79666%209.15713%206.83183C10.2502%207.56297%2012.0418%207.50506%2012.6897%207.36752C12.7151%207.36028%2012.7295%207.34942%2012.7368%207.33856C13.3449%206.34682%2012.6861%204.62034%2011.9405%203.93626Z'%20fill='%238BC95A'/%3e%3cpath%20d='M13.4209%208.29395C7.55737%208.29395%202.79053%2013.0644%202.79053%2018.9243C2.79053%2021.7656%203.89809%2024.4332%205.90327%2026.442C7.91208%2028.4508%2010.5796%2029.5547%2013.4209%2029.5547C19.2845%2029.5547%2024.0513%2024.7843%2024.0513%2018.9243C24.0513%2013.0644%2019.2808%208.29395%2013.4209%208.29395ZM17.4023%2022.9058C16.3382%2023.9699%2014.9266%2024.5526%2013.4209%2024.5526C11.9188%2024.5526%2010.5036%2023.9663%209.4395%2022.9058C8.37537%2021.8453%207.79264%2020.43%207.79264%2018.9243C7.79264%2015.8224%2010.319%2013.2961%2013.4209%2013.2961C16.5228%2013.2961%2019.0492%2015.8224%2019.0492%2018.9243C19.0492%2020.4264%2018.4628%2021.8416%2017.4023%2022.9058Z'%20fill='%23FFC120'/%3e%3c/svg%3e", Ks = ["src", "alt"], Js = /* @__PURE__ */ y({
|
|
2386
|
+
}), Yt = /* @__PURE__ */ E(jl, [["__scopeId", "data-v-c3185322"]]), Zl = "data:image/svg+xml,%3csvg%20width='30'%20height='37'%20viewBox='0%200%2030%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_911_9050)'%3e%3cpath%20d='M7.39438%200.692966C7.39438%200.692966%206.35052%201.4649%205.56982%202.23683C5.3242%202.44735%205.35052%202.66665%205.36806%202.98244C5.44701%204.04384%205.64876%206.40349%207.25403%208.14033C8.85052%209.87718%2010.9119%209.64033%2010.9119%209.64033L15.2979%208.67542L7.39438%200.692966Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.482422%2022.6316C0.482422%2029.6754%206.42979%2035.386%2013.7719%2035.386C21.114%2035.386%2027.0614%2029.6754%2027.0614%2022.6316C27.0614%2015.5877%2021.114%209.8772%2013.7719%209.8772C6.42979%209.8772%200.482422%2015.5877%200.482422%2022.6316ZM7.8947%2022.6316C7.8947%2025.9123%2010.6666%2028.5702%2014.0877%2028.5702C17.5087%2028.5702%2020.2807%2025.9123%2020.2807%2022.6316C20.2807%2019.3509%2017.5087%2016.693%2014.0877%2016.693C10.6666%2016.693%207.8947%2019.3509%207.8947%2022.6316Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.73633%2022.0965C2.73633%2029.4912%208.72755%2035.4824%2016.1223%2035.4824C23.517%2035.4824%2029.5083%2029.4912%2029.5083%2022.0965C29.5083%2014.7017%2023.517%208.71051%2016.1223%208.71051C8.72755%208.71051%202.73633%2014.7017%202.73633%2022.0965ZM9.88545%2022.0965C9.88545%2025.5438%2012.6749%2028.3333%2016.1223%2028.3333C19.5697%2028.3333%2022.3591%2025.5438%2022.3591%2022.0965C22.3591%2018.6491%2019.5697%2015.8596%2016.1223%2015.8596C12.6749%2015.8596%209.88545%2018.6491%209.88545%2022.0965Z'%20fill='%23FFC120'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.88672%2013.1491C7.41303%2010.9912%209.76391%209.74562%2013.3078%209.00001'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M9.53516%2034.7193C12.7808%2035.7193%2015.7281%2035.8597%2018.9211%2035.193'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M15.2988%208.67545C15.4742%208.64036%2015.6321%208.54387%2015.7286%208.38598C16.4567%207.21054%2016.1672%204.71054%2014.6146%203.28948C12.869%201.7544%2011.5707%202.0965%208.44792%200.614046C7.6409%200.228081%206.99178%200.736853%207.11459%201.71054C7.23739%202.68422%208.04441%206.3772%2010.3339%207.91229C11.9655%209.00001%2014.4655%208.85966%2015.2988%208.68422V8.67545Z'%20fill='%238BC95A'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_911_9050'%3e%3crect%20width='30'%20height='36.0877'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Wl = "data:image/svg+xml,%3csvg%20width='120'%20height='38'%20viewBox='0%200%20120%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M40.3101%2022.5039H36.5387C36.383%2022.5039%2036.2563%2022.6306%2036.2563%2022.7863V29.808C36.2563%2030.018%2036.0862%2030.1881%2035.8763%2030.1881H32.2206C32.0107%2030.1881%2031.8406%2030.018%2031.8406%2029.808V8.18892C31.8406%207.98261%2032.0107%207.8125%2032.2206%207.8125H40.3101C44.5847%207.8125%2048.0594%2010.5488%2048.0594%2015.1419C48.0594%2019.735%2044.5847%2022.5039%2040.3101%2022.5039ZM36.2563%2018.2764C36.2563%2018.432%2036.383%2018.5587%2036.5387%2018.5587H40.1364C42.4275%2018.5587%2043.6437%2017.1109%2043.6437%2015.1383C43.6437%2013.1657%2042.4275%2011.7505%2040.1364%2011.7505H36.5387C36.383%2011.7505%2036.2563%2011.8772%2036.2563%2012.0328V18.2728V18.2764Z'%20fill='black'/%3e%3cpath%20d='M53.7021%2014.5594V15.3919C53.7021%2015.533%2053.8723%2015.5945%2053.9664%2015.4932C54.7771%2014.6064%2056.2937%2014.0454%2057.9116%2014.0454H58.9214C59.1313%2014.0454%2059.3015%2014.2155%2059.3015%2014.4255V17.7119C59.3015%2017.9219%2059.1313%2018.092%2058.9214%2018.092H57.879C55.1499%2018.092%2053.7021%2019.8438%2053.7021%2022.4064V29.8118C53.7021%2030.0218%2053.532%2030.1919%2053.3221%2030.1919H49.8329C49.623%2030.1919%2049.4529%2030.0218%2049.4529%2029.8118V14.5594C49.4529%2014.3495%2049.623%2014.1793%2049.8329%2014.1793H53.3221C53.532%2014.1793%2053.7021%2014.3495%2053.7021%2014.5594Z'%20fill='black'/%3e%3cpath%20d='M76.9102%2022.1999C76.9102%2027.0174%2073.1713%2030.6224%2068.2162%2030.6224C63.2611%2030.6224%2059.5222%2027.0174%2059.5222%2022.1999C59.5222%2017.3824%2063.2611%2013.7412%2068.2162%2013.7412C73.1713%2013.7412%2076.9102%2017.3462%2076.9102%2022.1999ZM63.7715%2022.1999C63.7715%2024.8639%2065.6898%2026.7134%2068.2198%2026.7134C70.7498%2026.7134%2072.6681%2024.8602%2072.6681%2022.1999C72.6681%2019.5396%2070.7462%2017.6502%2068.2198%2017.6502C65.6934%2017.6502%2063.7715%2019.5034%2063.7715%2022.1999Z'%20fill='black'/%3e%3cpath%20d='M87.5261%2030.6224C85.9046%2030.6224%2084.2505%2030.1193%2083.1538%2029.2181C83.0307%2029.1167%2082.8425%2029.2%2082.8425%2029.3629V36.6814C82.8425%2036.8914%2082.6724%2037.0615%2082.4625%2037.0615H78.9733C78.7634%2037.0615%2078.5933%2036.8914%2078.5933%2036.6814V14.5556C78.5933%2014.3457%2078.7634%2014.1756%2078.9733%2014.1756H82.4625C82.6724%2014.1756%2082.8425%2014.3457%2082.8425%2014.5556V15.0478C82.8425%2015.1781%2082.9909%2015.2469%2083.0886%2015.1637C84.1853%2014.2335%2085.8684%2013.7412%2087.5261%2013.7412C92.6803%2013.7412%2095.7134%2017.7842%2095.7134%2022.1637C95.7134%2026.5433%2092.6803%2030.6224%2087.5261%2030.6224ZM87.1895%2017.6502C84.931%2017.6502%2082.676%2019.1342%2082.676%2022.1637C82.676%2025.1932%2084.9346%2026.7134%2087.1895%2026.7134C89.7159%2026.7134%2091.4677%2024.625%2091.4677%2022.1637C91.4677%2019.7025%2089.7159%2017.6502%2087.1895%2017.6502Z'%20fill='black'/%3e%3cpath%20d='M112.989%2025.3344C113.264%2025.3344%20113.449%2025.6167%20113.337%2025.8664C111.983%2028.791%20108.917%2030.6224%20105.674%2030.6224C100.686%2030.6224%2097.0127%2027.0174%2097.0127%2022.1637C97.0127%2017.31%20100.549%2013.7412%20105.504%2013.7412C110.459%2013.7412%20113.829%2017.3824%20113.829%2022.0986C113.829%2022.5184%20113.829%2022.855%20113.796%2023.2351C113.778%2023.4305%20113.615%2023.5826%20113.42%2023.5826H101.801C101.609%2023.5826%20101.468%2023.7708%20101.53%2023.9518C102.091%2025.6601%20103.72%2026.717%20105.674%2026.717C106.955%2026.717%20108.114%2026.3515%20108.863%2025.4755C108.939%2025.3887%20109.044%2025.3344%20109.156%2025.3344H112.989ZM108.968%2020.4119C109.149%2020.4119%20109.286%2020.2418%20109.243%2020.0644C108.838%2018.4103%20107.332%2017.3788%20105.504%2017.3788C103.676%2017.3788%20102.033%2018.4393%20101.602%2020.0608C101.555%2020.2382%20101.696%2020.4119%20101.877%2020.4119H108.968Z'%20fill='black'/%3e%3cpath%20d='M120%208.18912V29.8082C120%2030.0182%20119.83%2030.1883%20119.62%2030.1883H116.131C115.921%2030.1883%20115.751%2030.0182%20115.751%2029.8082V8.18912C115.751%207.97919%20115.921%207.80908%20116.131%207.80908H119.62C119.83%207.80908%20120%207.97919%20120%208.18912Z'%20fill='black'/%3e%3cpath%20d='M13.725%207.37832C14.1268%206.19475%2013.7757%204.37054%2012.556%203.25212C11.6909%202.49203%2010.9561%202.26762%2010.0259%201.98531C9.3672%201.78623%208.6252%201.56182%207.61899%201.08405C7.17018%200.8705%206.71774%200.892218%206.37751%201.14196C6.34132%201.1673%206.30512%201.19988%206.27255%201.22884C6.08795%201.37%205.40025%201.89481%204.85009%202.43412C4.50262%202.74539%204.52796%203.1001%204.54606%203.3607V3.3969C4.61483%204.24023%204.77046%206.22008%206.14224%207.7113C6.5802%208.18545%207.05435%208.49312%207.50317%208.69219C6.46438%209.15186%205.49436%209.73821%204.49539%2010.4947C4.29993%2010.6395%204.10448%2010.7915%203.91989%2010.9507C3.86922%2010.9905%203.81854%2011.0304%203.76787%2011.0738C3.74615%2011.0919%203.72806%2011.11%203.71358%2011.1281C1.43693%2013.1441%200%2016.0904%200%2019.3696C0%2024.3102%203.26476%2028.5016%207.74929%2029.8987C7.77463%2029.9095%207.79634%2029.9204%207.8253%2029.9276C9.39615%2030.3873%2010.8946%2030.6153%2012.3967%2030.6153C13.5332%2030.6153%2014.6697%2030.485%2015.8352%2030.2244C15.8388%2030.2244%2015.8461%2030.2208%2015.8497%2030.2208C21.0581%2029.1024%2024.9707%2024.4622%2024.9707%2018.9244C24.9707%2012.6555%2019.9505%207.53757%2013.7214%207.37469L13.725%207.37832ZM12.7333%2023.5827C11.738%2023.4379%2010.815%2022.9782%2010.0911%2022.2544C9.2007%2021.364%208.71207%2020.184%208.71207%2018.9244C8.71207%2017.2341%209.60608%2015.7502%2010.9489%2014.9213C11.0539%2014.9141%2011.1625%2014.9068%2011.271%2014.9068C13.7323%2014.9068%2015.7338%2016.9084%2015.7338%2019.3696C15.7338%2021.3169%2014.4779%2022.9746%2012.7369%2023.5827H12.7333Z'%20fill='black'/%3e%3cpath%20d='M11.9405%203.93626C11.2347%203.31371%2010.6447%203.13636%209.75796%202.86852C9.10284%202.66945%208.28846%202.42332%207.22433%201.91659C7.14832%201.8804%207.07231%201.8623%207.0144%201.8623C6.97459%201.8623%206.94201%201.86954%206.9203%201.88763C6.86238%201.93107%206.80447%202.06499%206.83705%202.30026C6.95649%203.20875%207.60438%205.79666%209.15713%206.83183C10.2502%207.56297%2012.0418%207.50506%2012.6897%207.36752C12.7151%207.36028%2012.7295%207.34942%2012.7368%207.33856C13.3449%206.34682%2012.6861%204.62034%2011.9405%203.93626Z'%20fill='%238BC95A'/%3e%3cpath%20d='M13.4209%208.29395C7.55737%208.29395%202.79053%2013.0644%202.79053%2018.9243C2.79053%2021.7656%203.89809%2024.4332%205.90327%2026.442C7.91208%2028.4508%2010.5796%2029.5547%2013.4209%2029.5547C19.2845%2029.5547%2024.0513%2024.7843%2024.0513%2018.9243C24.0513%2013.0644%2019.2808%208.29395%2013.4209%208.29395ZM17.4023%2022.9058C16.3382%2023.9699%2014.9266%2024.5526%2013.4209%2024.5526C11.9188%2024.5526%2010.5036%2023.9663%209.4395%2022.9058C8.37537%2021.8453%207.79264%2020.43%207.79264%2018.9243C7.79264%2015.8224%2010.319%2013.2961%2013.4209%2013.2961C16.5228%2013.2961%2019.0492%2015.8224%2019.0492%2018.9243C19.0492%2020.4264%2018.4628%2021.8416%2017.4023%2022.9058Z'%20fill='%23FFC120'/%3e%3c/svg%3e", Xl = ["src", "alt"], Kl = /* @__PURE__ */ $({
|
|
2385
2387
|
__name: "CLogo",
|
|
2386
2388
|
props: {
|
|
2387
2389
|
icon: { type: Boolean, default: !1 }
|
|
2388
2390
|
},
|
|
2389
|
-
setup(
|
|
2390
|
-
const e =
|
|
2391
|
-
return (a, o) => (
|
|
2391
|
+
setup(s) {
|
|
2392
|
+
const e = s, t = c(() => e.icon ? Zl : Wl);
|
|
2393
|
+
return (a, o) => (f(), g("img", {
|
|
2392
2394
|
src: t.value,
|
|
2393
2395
|
alt: a.$t("{appName}")
|
|
2394
|
-
}, null, 8,
|
|
2396
|
+
}, null, 8, Xl));
|
|
2395
2397
|
}
|
|
2396
|
-
}),
|
|
2398
|
+
}), Jl = /* @__PURE__ */ $({
|
|
2397
2399
|
__name: "CMenu",
|
|
2398
2400
|
emits: ["select"],
|
|
2399
|
-
setup(
|
|
2400
|
-
return (e, t) => (
|
|
2401
|
+
setup(s) {
|
|
2402
|
+
return (e, t) => (f(), g("sl-menu", {
|
|
2401
2403
|
class: "c-menu pa-0 elevation-4",
|
|
2402
2404
|
onSlSelect: t[0] || (t[0] = (a) => e.$emit("select", a.detail.item))
|
|
2403
2405
|
}, [
|
|
2404
2406
|
b(e.$slots, "default", {}, void 0, !0)
|
|
2405
2407
|
], 32));
|
|
2406
2408
|
}
|
|
2407
|
-
}),
|
|
2409
|
+
}), Ql = /* @__PURE__ */ E(Jl, [["__scopeId", "data-v-d8ec7807"]]), xl = ["type", "checked"], eo = { slot: "prefix" }, to = {
|
|
2408
2410
|
key: 1,
|
|
2409
2411
|
class: "check-icon mr-3"
|
|
2410
|
-
},
|
|
2412
|
+
}, ao = /* @__PURE__ */ $({
|
|
2411
2413
|
__name: "CMenuItem",
|
|
2412
2414
|
props: {
|
|
2413
2415
|
checkable: { type: Boolean, default: !1 },
|
|
@@ -2415,49 +2417,49 @@ const ns = /* @__PURE__ */ y({
|
|
|
2415
2417
|
checkType: { default: "checkbox" },
|
|
2416
2418
|
selectable: { type: Boolean, default: !0 }
|
|
2417
2419
|
},
|
|
2418
|
-
setup(
|
|
2419
|
-
const e =
|
|
2420
|
+
setup(s) {
|
|
2421
|
+
const e = s, t = (a) => {
|
|
2420
2422
|
e.selectable || (a.preventDefault(), a.stopPropagation());
|
|
2421
2423
|
};
|
|
2422
|
-
return (a, o) => (
|
|
2424
|
+
return (a, o) => (f(), g("sl-menu-item", {
|
|
2423
2425
|
type: a.checkable ? "checkbox" : "normal",
|
|
2424
2426
|
checked: a.checked,
|
|
2425
2427
|
class: V(["menu-item", { selectable: a.selectable }]),
|
|
2426
2428
|
onClick: t
|
|
2427
2429
|
}, [
|
|
2428
|
-
S("div",
|
|
2430
|
+
S("div", eo, [
|
|
2429
2431
|
b(a.$slots, "prepend-inner", {}, () => [
|
|
2430
|
-
a.checkable ? (
|
|
2431
|
-
a.checkType === "checkbox" ? (
|
|
2432
|
+
a.checkable ? (f(), g(ce, { key: 0 }, [
|
|
2433
|
+
a.checkType === "checkbox" ? (f(), M(Nt, {
|
|
2432
2434
|
key: 0,
|
|
2433
2435
|
value: a.checked,
|
|
2434
2436
|
variant: "minimal",
|
|
2435
2437
|
"hide-details": "",
|
|
2436
2438
|
"aria-hidden": "true",
|
|
2437
2439
|
class: "checkbox mr-3"
|
|
2438
|
-
}, null, 8, ["value"])) : (
|
|
2439
|
-
a.checked ? (
|
|
2440
|
+
}, null, 8, ["value"])) : (f(), g("div", to, [
|
|
2441
|
+
a.checked ? (f(), M(d(U), {
|
|
2440
2442
|
key: 0,
|
|
2441
|
-
icon: d(
|
|
2443
|
+
icon: d(ht)
|
|
2442
2444
|
}, null, 8, ["icon"])) : R("", !0)
|
|
2443
2445
|
]))
|
|
2444
2446
|
], 64)) : R("", !0)
|
|
2445
2447
|
], !0)
|
|
2446
2448
|
]),
|
|
2447
2449
|
b(a.$slots, "default", {}, void 0, !0)
|
|
2448
|
-
], 10,
|
|
2450
|
+
], 10, xl));
|
|
2449
2451
|
}
|
|
2450
|
-
}), so = /* @__PURE__ */
|
|
2452
|
+
}), so = /* @__PURE__ */ E(ao, [["__scopeId", "data-v-6fd3ba36"]]), lo = { class: "menu-label pt-3 px-4" }, oo = /* @__PURE__ */ $({
|
|
2451
2453
|
__name: "CMenuLabel",
|
|
2452
|
-
setup(
|
|
2453
|
-
return (e, t) => (
|
|
2454
|
+
setup(s) {
|
|
2455
|
+
return (e, t) => (f(), g("sl-menu-label", lo, [
|
|
2454
2456
|
b(e.$slots, "default", {}, void 0, !0)
|
|
2455
2457
|
]));
|
|
2456
2458
|
}
|
|
2457
|
-
}),
|
|
2459
|
+
}), no = /* @__PURE__ */ E(oo, [["__scopeId", "data-v-53bb607d"]]), io = ["label", "open", "data-loading", "data-state", "data-test"], ro = {
|
|
2458
2460
|
key: 0,
|
|
2459
2461
|
class: "c-modal__body"
|
|
2460
|
-
},
|
|
2462
|
+
}, uo = ["data-test"], co = ["data-test"], fo = ["data-test"], po = ["data-test"], vo = { class: "c-modal__loading__loader" }, mo = ["data-test"], bo = /* @__PURE__ */ $({
|
|
2461
2463
|
__name: "CModal",
|
|
2462
2464
|
props: {
|
|
2463
2465
|
ariaLabel: { default: "" },
|
|
@@ -2470,13 +2472,13 @@ const ns = /* @__PURE__ */ y({
|
|
|
2470
2472
|
value: { type: Boolean, default: !1 }
|
|
2471
2473
|
},
|
|
2472
2474
|
emits: ["input"],
|
|
2473
|
-
setup(
|
|
2474
|
-
const e =
|
|
2475
|
+
setup(s) {
|
|
2476
|
+
const e = s, t = (m) => {
|
|
2475
2477
|
e.dismissible || m.preventDefault();
|
|
2476
|
-
}, a =
|
|
2478
|
+
}, a = I(null), o = c(() => e.transition ? "default" : null);
|
|
2477
2479
|
ue(a, "dialog.show", o), ue(a, "dialog.hide", o), ue(a, "dialog.overlay.show", o), ue(a, "dialog.overlay.hide", o);
|
|
2478
|
-
const
|
|
2479
|
-
return (m, h) => (
|
|
2480
|
+
const l = I(!1), i = c(() => !e.fullscreen && l.value), n = (m) => m ? `${e.dataTest}-${m}` : e.dataTest, r = c(() => typeof e.loading == "string" ? e.loading : null), u = c(() => r.value ? r.value : e.title || e.ariaLabel), p = K("footer");
|
|
2481
|
+
return (m, h) => (f(), g("sl-dialog", {
|
|
2480
2482
|
ref_key: "modal",
|
|
2481
2483
|
ref: a,
|
|
2482
2484
|
label: u.value,
|
|
@@ -2486,49 +2488,49 @@ const ns = /* @__PURE__ */ y({
|
|
|
2486
2488
|
"data-loading": m.loading || void 0,
|
|
2487
2489
|
"data-state": m.value ? "open" : "closed",
|
|
2488
2490
|
"data-test": n(),
|
|
2489
|
-
onSlHide: h[1] || (h[1] = (
|
|
2491
|
+
onSlHide: h[1] || (h[1] = (y) => m.$emit("input", !1)),
|
|
2490
2492
|
onSlRequestClose: t,
|
|
2491
|
-
onSlAfterShow: h[2] || (h[2] = (
|
|
2492
|
-
onSlAfterHide: h[3] || (h[3] = (
|
|
2493
|
+
onSlAfterShow: h[2] || (h[2] = (y) => l.value = !0),
|
|
2494
|
+
onSlAfterHide: h[3] || (h[3] = (y) => l.value = !1)
|
|
2493
2495
|
}, [
|
|
2494
2496
|
P(Ft, {
|
|
2495
2497
|
class: "c-modal__wrapper",
|
|
2496
2498
|
disabled: !i.value
|
|
2497
2499
|
}, {
|
|
2498
2500
|
default: w(() => [
|
|
2499
|
-
m.loading ? (
|
|
2501
|
+
m.loading ? (f(), g("div", {
|
|
2500
2502
|
key: 1,
|
|
2501
2503
|
class: "c-modal__loading",
|
|
2502
2504
|
"data-test": m.value ? `${m.dataTest}-loading` : null
|
|
2503
2505
|
}, [
|
|
2504
|
-
S("div",
|
|
2506
|
+
S("div", vo, [
|
|
2505
2507
|
P(we)
|
|
2506
2508
|
]),
|
|
2507
2509
|
b(m.$slots, "loading", {}, () => [
|
|
2508
|
-
r.value ? (
|
|
2510
|
+
r.value ? (f(), g("div", {
|
|
2509
2511
|
key: 0,
|
|
2510
2512
|
"data-test": m.value ? `${m.dataTest}-loading-message` : null
|
|
2511
|
-
}, O(r.value), 9,
|
|
2513
|
+
}, O(r.value), 9, mo)) : R("", !0)
|
|
2512
2514
|
], !0)
|
|
2513
|
-
], 8,
|
|
2515
|
+
], 8, po)) : (f(), g("div", ro, [
|
|
2514
2516
|
S("div", {
|
|
2515
2517
|
"data-test": n("content"),
|
|
2516
2518
|
class: "c-modal__content"
|
|
2517
2519
|
}, [
|
|
2518
|
-
m.title ? (
|
|
2520
|
+
m.title ? (f(), g("h2", {
|
|
2519
2521
|
key: 0,
|
|
2520
2522
|
class: "c-modal__title",
|
|
2521
2523
|
"data-test": n("title")
|
|
2522
|
-
}, O(m.title), 9,
|
|
2523
|
-
m.dismissible ? (
|
|
2524
|
+
}, O(m.title), 9, co)) : R("", !0),
|
|
2525
|
+
m.dismissible ? (f(), g("button", {
|
|
2524
2526
|
key: 1,
|
|
2525
2527
|
class: "c-modal__dismiss",
|
|
2526
2528
|
"data-test": n("dismiss"),
|
|
2527
|
-
onClick: h[0] || (h[0] = (
|
|
2528
|
-
}, O(m.$t("Dismiss")), 9,
|
|
2529
|
+
onClick: h[0] || (h[0] = (y) => m.$emit("input", !1))
|
|
2530
|
+
}, O(m.$t("Dismiss")), 9, fo)) : R("", !0),
|
|
2529
2531
|
b(m.$slots, "default", {}, void 0, !0)
|
|
2530
|
-
], 8,
|
|
2531
|
-
d(p) ? (
|
|
2532
|
+
], 8, uo),
|
|
2533
|
+
d(p) ? (f(), M(Me, {
|
|
2532
2534
|
key: 0,
|
|
2533
2535
|
tag: "footer",
|
|
2534
2536
|
class: "c-modal__footer",
|
|
@@ -2544,9 +2546,9 @@ const ns = /* @__PURE__ */ y({
|
|
|
2544
2546
|
]),
|
|
2545
2547
|
_: 3
|
|
2546
2548
|
}, 8, ["disabled"])
|
|
2547
|
-
], 42,
|
|
2549
|
+
], 42, io));
|
|
2548
2550
|
}
|
|
2549
|
-
}),
|
|
2551
|
+
}), qt = /* @__PURE__ */ E(bo, [["__scopeId", "data-v-aec1f72d"]]), go = /* @__PURE__ */ $({
|
|
2550
2552
|
__name: "CModalLoading",
|
|
2551
2553
|
props: {
|
|
2552
2554
|
dataTest: { default: "loading-modal" },
|
|
@@ -2554,8 +2556,8 @@ const ns = /* @__PURE__ */ y({
|
|
|
2554
2556
|
value: { type: Boolean, default: !1 }
|
|
2555
2557
|
},
|
|
2556
2558
|
emits: ["input"],
|
|
2557
|
-
setup(
|
|
2558
|
-
return (e, t) => (
|
|
2559
|
+
setup(s) {
|
|
2560
|
+
return (e, t) => (f(), M(qt, {
|
|
2559
2561
|
value: e.value,
|
|
2560
2562
|
loading: e.message || !0,
|
|
2561
2563
|
"data-test": e.dataTest,
|
|
@@ -2568,17 +2570,17 @@ const ns = /* @__PURE__ */ y({
|
|
|
2568
2570
|
_: 3
|
|
2569
2571
|
}, 8, ["value", "loading", "data-test"]));
|
|
2570
2572
|
}
|
|
2571
|
-
}),
|
|
2573
|
+
}), ho = {
|
|
2572
2574
|
key: 0,
|
|
2573
2575
|
class: "c-notification__title",
|
|
2574
2576
|
"data-test": "notification-title"
|
|
2575
|
-
},
|
|
2577
|
+
}, _o = {
|
|
2576
2578
|
"data-test": "notification-title-text",
|
|
2577
2579
|
class: "c-notification__title-text"
|
|
2578
|
-
},
|
|
2580
|
+
}, Co = {
|
|
2579
2581
|
"data-test": "notification-body",
|
|
2580
2582
|
class: "c-notification__text"
|
|
2581
|
-
},
|
|
2583
|
+
}, yo = /* @__PURE__ */ $({
|
|
2582
2584
|
__name: "CNotification",
|
|
2583
2585
|
props: {
|
|
2584
2586
|
alert: { type: Boolean, default: !1 },
|
|
@@ -2594,64 +2596,64 @@ const ns = /* @__PURE__ */ y({
|
|
|
2594
2596
|
buttonLoading: { type: Boolean, default: !1 }
|
|
2595
2597
|
},
|
|
2596
2598
|
emits: ["click:button", "dismiss"],
|
|
2597
|
-
setup(
|
|
2598
|
-
const e =
|
|
2599
|
-
return (
|
|
2599
|
+
setup(s) {
|
|
2600
|
+
const e = U, t = s, a = c(() => !!t.buttonText), o = c(() => t.alert ? "alert" : t.warning ? "warning" : t.variant);
|
|
2601
|
+
return (l, i) => (f(), g("div", {
|
|
2600
2602
|
"data-test": "notification",
|
|
2601
2603
|
class: V(["c-notification", `c-notification--${o.value}`])
|
|
2602
2604
|
}, [
|
|
2603
|
-
|
|
2605
|
+
l.dismissible ? (f(), M(ye, {
|
|
2604
2606
|
key: 0,
|
|
2605
2607
|
"data-test": "notification-dismiss",
|
|
2606
2608
|
variant: "tertiary",
|
|
2607
2609
|
class: "c-notification__close-button",
|
|
2608
2610
|
icon: d(Be),
|
|
2609
|
-
"aria-label":
|
|
2610
|
-
onClick: i[0] || (i[0] = (n) =>
|
|
2611
|
+
"aria-label": l.$t("Dismiss"),
|
|
2612
|
+
onClick: i[0] || (i[0] = (n) => l.$emit("dismiss"))
|
|
2611
2613
|
}, null, 8, ["icon", "aria-label"])) : R("", !0),
|
|
2612
|
-
b(
|
|
2613
|
-
|
|
2614
|
-
|
|
2614
|
+
b(l.$slots, "title", {}, () => [
|
|
2615
|
+
l.title || l.titleIcon ? (f(), g("div", ho, [
|
|
2616
|
+
l.titleIcon ? (f(), M(d(e), {
|
|
2615
2617
|
key: 0,
|
|
2616
2618
|
class: "c-notification__title-icon",
|
|
2617
2619
|
"data-test": "notification-title-icon",
|
|
2618
|
-
icon:
|
|
2620
|
+
icon: l.titleIcon
|
|
2619
2621
|
}, null, 8, ["icon"])) : R("", !0),
|
|
2620
|
-
S("div",
|
|
2621
|
-
S("strong", null, O(
|
|
2622
|
+
S("div", _o, [
|
|
2623
|
+
S("strong", null, O(l.title), 1)
|
|
2622
2624
|
])
|
|
2623
2625
|
])) : R("", !0)
|
|
2624
2626
|
], !0),
|
|
2625
|
-
S("div",
|
|
2626
|
-
b(
|
|
2627
|
+
S("div", Co, [
|
|
2628
|
+
b(l.$slots, "default", {}, void 0, !0)
|
|
2627
2629
|
]),
|
|
2628
|
-
a.value ? (
|
|
2630
|
+
a.value ? (f(), M(We, {
|
|
2629
2631
|
key: 1,
|
|
2630
2632
|
block: "",
|
|
2631
2633
|
"data-test": "notification-button",
|
|
2632
2634
|
class: "c-notification__button",
|
|
2633
|
-
loading:
|
|
2634
|
-
to:
|
|
2635
|
-
href:
|
|
2636
|
-
target:
|
|
2637
|
-
onClick: i[1] || (i[1] = (n) =>
|
|
2635
|
+
loading: l.buttonLoading,
|
|
2636
|
+
to: l.buttonTo,
|
|
2637
|
+
href: l.buttonHref,
|
|
2638
|
+
target: l.buttonTarget,
|
|
2639
|
+
onClick: i[1] || (i[1] = (n) => l.$emit("click:button"))
|
|
2638
2640
|
}, {
|
|
2639
2641
|
default: w(() => [
|
|
2640
|
-
|
|
2642
|
+
z(O(l.buttonText), 1)
|
|
2641
2643
|
]),
|
|
2642
2644
|
_: 1
|
|
2643
2645
|
}, 8, ["loading", "to", "href", "target"])) : R("", !0)
|
|
2644
2646
|
], 2));
|
|
2645
2647
|
}
|
|
2646
|
-
}),
|
|
2647
|
-
function
|
|
2648
|
-
const
|
|
2648
|
+
}), $o = /* @__PURE__ */ E(yo, [["__scopeId", "data-v-660e102c"]]);
|
|
2649
|
+
function Qe() {
|
|
2650
|
+
const s = I(null), e = c(() => s.value?.input);
|
|
2649
2651
|
function t() {
|
|
2650
2652
|
e?.value.focus();
|
|
2651
2653
|
}
|
|
2652
|
-
return { field:
|
|
2654
|
+
return { field: s, focus: t };
|
|
2653
2655
|
}
|
|
2654
|
-
const
|
|
2656
|
+
const ko = /* @__PURE__ */ $({
|
|
2655
2657
|
__name: "CPhoneField",
|
|
2656
2658
|
props: {
|
|
2657
2659
|
dataTest: { default: "phone-field" },
|
|
@@ -2661,14 +2663,14 @@ const To = /* @__PURE__ */ y({
|
|
|
2661
2663
|
rules: { default: () => [] },
|
|
2662
2664
|
value: { default: "" }
|
|
2663
2665
|
},
|
|
2664
|
-
setup(
|
|
2665
|
-
const { t } = ve(), a =
|
|
2666
|
+
setup(s, { expose: e }) {
|
|
2667
|
+
const { t } = ve(), a = c(() => {
|
|
2666
2668
|
const i = t("Please enter a valid {inputLabel}", {
|
|
2667
2669
|
inputLabel: t("phone number")
|
|
2668
2670
|
});
|
|
2669
2671
|
return [$e(10, i)];
|
|
2670
|
-
}), { field: o, focus:
|
|
2671
|
-
return e({ focus:
|
|
2672
|
+
}), { field: o, focus: l } = Qe();
|
|
2673
|
+
return e({ focus: l }), (i, n) => (f(), M(Ce, q(i.$attrs, {
|
|
2672
2674
|
id: i.id,
|
|
2673
2675
|
ref_key: "field",
|
|
2674
2676
|
ref: o,
|
|
@@ -2693,41 +2695,41 @@ const To = /* @__PURE__ */ y({
|
|
|
2693
2695
|
_: 3
|
|
2694
2696
|
}, 16, ["id", "value", "label", "placeholder", "data-test", "rules"]));
|
|
2695
2697
|
}
|
|
2696
|
-
}),
|
|
2698
|
+
}), Ut = /* @__PURE__ */ Symbol("selected-value"), zt = /* @__PURE__ */ Symbol("toggle-value"), Gt = /* @__PURE__ */ Symbol("role"), To = ["aria-checked", "role"], Lo = {
|
|
2697
2699
|
class: "c-pill-body",
|
|
2698
2700
|
"data-test": "pill-body"
|
|
2699
|
-
},
|
|
2701
|
+
}, Io = {
|
|
2700
2702
|
key: 0,
|
|
2701
2703
|
class: "c-pill-icon"
|
|
2702
|
-
},
|
|
2704
|
+
}, Eo = { class: "c-pill-text" }, Ao = /* @__PURE__ */ $({
|
|
2703
2705
|
__name: "CPill",
|
|
2704
2706
|
props: {
|
|
2705
2707
|
icon: { default: void 0 },
|
|
2706
2708
|
value: { type: [Boolean, String], default: void 0 }
|
|
2707
2709
|
},
|
|
2708
2710
|
emits: ["click", "input"],
|
|
2709
|
-
setup(
|
|
2710
|
-
const t =
|
|
2711
|
+
setup(s, { emit: e }) {
|
|
2712
|
+
const t = U, a = s, o = e, l = X(Gt, void 0), i = X(Ut, void 0), n = X(zt, void 0), r = c(() => n ? "group" : a.value !== void 0 ? "standalone" : "none"), u = c(() => {
|
|
2711
2713
|
if (r.value === "standalone")
|
|
2712
2714
|
return a.value;
|
|
2713
2715
|
if (i?.value)
|
|
2714
2716
|
return i.value === a.value;
|
|
2715
|
-
}), p =
|
|
2717
|
+
}), p = c(() => {
|
|
2716
2718
|
if (u.value !== void 0)
|
|
2717
2719
|
return u.value ? "true" : "false";
|
|
2718
|
-
}), m =
|
|
2720
|
+
}), m = c(() => {
|
|
2719
2721
|
if (r.value === "standalone")
|
|
2720
2722
|
return "radio";
|
|
2721
2723
|
if (r.value === "group")
|
|
2722
|
-
return
|
|
2724
|
+
return l?.value ?? void 0;
|
|
2723
2725
|
}), h = () => {
|
|
2724
2726
|
if (r.value === "standalone" && o("input", !a.value), r.value === "group" && n) {
|
|
2725
|
-
const
|
|
2726
|
-
n(
|
|
2727
|
+
const y = u.value ? void 0 : a.value;
|
|
2728
|
+
n(y);
|
|
2727
2729
|
}
|
|
2728
2730
|
o("click");
|
|
2729
2731
|
};
|
|
2730
|
-
return (
|
|
2732
|
+
return (y, C) => (f(), g("span", q(y.$attrs, {
|
|
2731
2733
|
"aria-checked": p.value,
|
|
2732
2734
|
class: [{ "c-pill--active": u.value }, "c-pill"],
|
|
2733
2735
|
"data-test": "pill",
|
|
@@ -2735,49 +2737,49 @@ const To = /* @__PURE__ */ y({
|
|
|
2735
2737
|
onClick: h
|
|
2736
2738
|
}), [
|
|
2737
2739
|
S("span", Lo, [
|
|
2738
|
-
|
|
2739
|
-
b(
|
|
2740
|
-
|
|
2740
|
+
y.icon || y.$slots.icon ? (f(), g("span", Io, [
|
|
2741
|
+
b(y.$slots, "icon", {}, () => [
|
|
2742
|
+
y.icon ? (f(), M(d(t), {
|
|
2741
2743
|
key: 0,
|
|
2742
2744
|
"data-test": "pill-icon",
|
|
2743
2745
|
"fixed-width": "",
|
|
2744
|
-
icon:
|
|
2746
|
+
icon: y.icon
|
|
2745
2747
|
}, null, 8, ["icon"])) : R("", !0)
|
|
2746
2748
|
], !0)
|
|
2747
2749
|
])) : R("", !0),
|
|
2748
|
-
S("span",
|
|
2749
|
-
b(
|
|
2750
|
+
S("span", Eo, [
|
|
2751
|
+
b(y.$slots, "default", {}, void 0, !0)
|
|
2750
2752
|
])
|
|
2751
2753
|
])
|
|
2752
|
-
], 16,
|
|
2754
|
+
], 16, To));
|
|
2753
2755
|
}
|
|
2754
|
-
}), jt = /* @__PURE__ */
|
|
2756
|
+
}), jt = /* @__PURE__ */ E(Ao, [["__scopeId", "data-v-43172803"]]), So = {
|
|
2755
2757
|
class: "c-pill-group",
|
|
2756
2758
|
"data-test": "pill-group"
|
|
2757
|
-
},
|
|
2759
|
+
}, Do = { class: "c-pill-group__track" }, Bo = /* @__PURE__ */ $({
|
|
2758
2760
|
__name: "CPillGroup",
|
|
2759
2761
|
props: {
|
|
2760
2762
|
options: { default: () => [] },
|
|
2761
2763
|
value: { default: "" }
|
|
2762
2764
|
},
|
|
2763
2765
|
emits: ["input"],
|
|
2764
|
-
setup(
|
|
2765
|
-
const t =
|
|
2766
|
-
return W(Gt,
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
), W(
|
|
2766
|
+
setup(s, { emit: e }) {
|
|
2767
|
+
const t = s, a = e;
|
|
2768
|
+
return W(Gt, I("radio")), W(
|
|
2769
|
+
Ut,
|
|
2770
|
+
c(() => t.value)
|
|
2771
|
+
), W(zt, (o) => {
|
|
2770
2772
|
a("input", o);
|
|
2771
|
-
}), (o,
|
|
2772
|
-
S("fieldset",
|
|
2773
|
+
}), (o, l) => (f(), g("div", So, [
|
|
2774
|
+
S("fieldset", Do, [
|
|
2773
2775
|
b(o.$slots, "default", {}, () => [
|
|
2774
|
-
(
|
|
2776
|
+
(f(!0), g(ce, null, fe(o.options, (i) => (f(), M(jt, {
|
|
2775
2777
|
key: i.value,
|
|
2776
2778
|
value: i.value,
|
|
2777
2779
|
icon: i.icon
|
|
2778
2780
|
}, {
|
|
2779
2781
|
default: w(() => [
|
|
2780
|
-
|
|
2782
|
+
z(O(i.label), 1)
|
|
2781
2783
|
]),
|
|
2782
2784
|
_: 2
|
|
2783
2785
|
}, 1032, ["value", "icon"]))), 128))
|
|
@@ -2785,41 +2787,41 @@ const To = /* @__PURE__ */ y({
|
|
|
2785
2787
|
])
|
|
2786
2788
|
]));
|
|
2787
2789
|
}
|
|
2788
|
-
}),
|
|
2790
|
+
}), wo = /* @__PURE__ */ E(Bo, [["__scopeId", "data-v-370f74c6"]]), Ro = ["active"], Mo = {
|
|
2789
2791
|
slot: "anchor",
|
|
2790
2792
|
class: "anchor"
|
|
2791
|
-
},
|
|
2793
|
+
}, No = /* @__PURE__ */ $({
|
|
2792
2794
|
__name: "CPopup",
|
|
2793
2795
|
props: {
|
|
2794
2796
|
value: { type: Boolean, default: !1 }
|
|
2795
2797
|
},
|
|
2796
2798
|
emits: ["mouseleave", "outside-click"],
|
|
2797
|
-
setup(
|
|
2798
|
-
const t =
|
|
2799
|
+
setup(s, { emit: e }) {
|
|
2800
|
+
const t = s, a = e, o = I(null), l = () => {
|
|
2799
2801
|
t.value && a("mouseleave");
|
|
2800
2802
|
}, i = ({ target: n }) => {
|
|
2801
2803
|
n instanceof HTMLElement && !o.value?.contains(n) && a("outside-click");
|
|
2802
2804
|
};
|
|
2803
|
-
return
|
|
2805
|
+
return gt(async () => {
|
|
2804
2806
|
t.value ? document.addEventListener("click", i) : document.removeEventListener("click", i);
|
|
2805
|
-
}),
|
|
2806
|
-
o.value?.addEventListener("mouseleave",
|
|
2807
|
+
}), x(() => {
|
|
2808
|
+
o.value?.addEventListener("mouseleave", l);
|
|
2807
2809
|
}), oa(() => {
|
|
2808
|
-
document.removeEventListener("click", i), o.value?.removeEventListener("mouseleave",
|
|
2809
|
-
}), (n, r) => (
|
|
2810
|
+
document.removeEventListener("click", i), o.value?.removeEventListener("mouseleave", l);
|
|
2811
|
+
}), (n, r) => (f(), g("sl-popup", {
|
|
2810
2812
|
ref_key: "popup",
|
|
2811
2813
|
ref: o,
|
|
2812
2814
|
active: n.value,
|
|
2813
2815
|
distance: "8",
|
|
2814
2816
|
class: "c-popup"
|
|
2815
2817
|
}, [
|
|
2816
|
-
S("span",
|
|
2818
|
+
S("span", Mo, [
|
|
2817
2819
|
b(n.$slots, "default", {}, void 0, !0)
|
|
2818
2820
|
]),
|
|
2819
2821
|
b(n.$slots, "content", {}, void 0, !0)
|
|
2820
|
-
], 8,
|
|
2822
|
+
], 8, Ro));
|
|
2821
2823
|
}
|
|
2822
|
-
}),
|
|
2824
|
+
}), Vo = /* @__PURE__ */ E(No, [["__scopeId", "data-v-fcdb504f"]]), Oo = ["data-test", "value", "indeterminate", "label"], Ho = /* @__PURE__ */ $({
|
|
2823
2825
|
__name: "CProgressLinear",
|
|
2824
2826
|
props: {
|
|
2825
2827
|
accessibleText: { default: void 0 },
|
|
@@ -2828,19 +2830,19 @@ const To = /* @__PURE__ */ y({
|
|
|
2828
2830
|
rounded: { type: Boolean, default: !0 },
|
|
2829
2831
|
value: { default: 0 }
|
|
2830
2832
|
},
|
|
2831
|
-
setup(
|
|
2832
|
-
return (e, t) => (
|
|
2833
|
+
setup(s) {
|
|
2834
|
+
return (e, t) => (f(), g("sl-progress-bar", {
|
|
2833
2835
|
class: V(["c-progress-linear", { "c-progress-linear--rounded": e.rounded }]),
|
|
2834
2836
|
"data-test": e.dataTest,
|
|
2835
2837
|
value: e.value,
|
|
2836
2838
|
indeterminate: e.indeterminate || void 0,
|
|
2837
2839
|
label: e.accessibleText || e.$t("Loading...")
|
|
2838
|
-
}, null, 10,
|
|
2840
|
+
}, null, 10, Oo));
|
|
2839
2841
|
}
|
|
2840
|
-
}),
|
|
2842
|
+
}), Fo = /* @__PURE__ */ E(Ho, [["__scopeId", "data-v-46381206"]]), Po = ["data-test", "aria-label", "aria-valuemax", "aria-valuenow"], Yo = { class: "c-progress-ring__label" }, qo = /* @__PURE__ */ $({
|
|
2841
2843
|
__name: "CProgressRing",
|
|
2842
2844
|
props: {
|
|
2843
|
-
accessibleText: {
|
|
2845
|
+
accessibleText: {},
|
|
2844
2846
|
dataTest: { default: "c-progress-ring" },
|
|
2845
2847
|
value: { default: 0 },
|
|
2846
2848
|
valueMax: { default: 100 },
|
|
@@ -2849,21 +2851,21 @@ const To = /* @__PURE__ */ y({
|
|
|
2849
2851
|
color: { default: "blue-500" },
|
|
2850
2852
|
trackColor: { default: "gray-200" }
|
|
2851
2853
|
},
|
|
2852
|
-
setup(
|
|
2853
|
-
const e =
|
|
2854
|
-
return (
|
|
2854
|
+
setup(s) {
|
|
2855
|
+
const e = s, { cssColor: t } = Q(() => e.color), { cssColor: a } = Q(() => e.trackColor), o = c(() => 100 * Number(e.value) / Number(e.valueMax));
|
|
2856
|
+
return (l, i) => (f(), g("span", {
|
|
2855
2857
|
class: "c-progress-ring",
|
|
2856
|
-
"data-test":
|
|
2857
|
-
"aria-label":
|
|
2858
|
+
"data-test": l.dataTest,
|
|
2859
|
+
"aria-label": l.accessibleText || l.$t("Loading..."),
|
|
2858
2860
|
role: "progressbar",
|
|
2859
2861
|
"aria-valuemin": "0",
|
|
2860
|
-
"aria-valuemax": String(
|
|
2861
|
-
"aria-valuenow": String(
|
|
2862
|
-
style:
|
|
2863
|
-
"--size": `${
|
|
2862
|
+
"aria-valuemax": String(l.valueMax),
|
|
2863
|
+
"aria-valuenow": String(l.value),
|
|
2864
|
+
style: ee({
|
|
2865
|
+
"--size": `${l.size}px`,
|
|
2864
2866
|
"--indicator-color": d(t),
|
|
2865
2867
|
"--track-color": d(a),
|
|
2866
|
-
"--track-width": `${
|
|
2868
|
+
"--track-width": `${l.trackWidth}px`,
|
|
2867
2869
|
"--indicator-length": `${o.value}`
|
|
2868
2870
|
})
|
|
2869
2871
|
}, [
|
|
@@ -2874,12 +2876,12 @@ const To = /* @__PURE__ */ y({
|
|
|
2874
2876
|
pathLength: "100"
|
|
2875
2877
|
})
|
|
2876
2878
|
], -1)),
|
|
2877
|
-
S("span",
|
|
2878
|
-
b(
|
|
2879
|
+
S("span", Yo, [
|
|
2880
|
+
b(l.$slots, "default", {}, void 0, !0)
|
|
2879
2881
|
])
|
|
2880
|
-
], 12,
|
|
2882
|
+
], 12, Po));
|
|
2881
2883
|
}
|
|
2882
|
-
}),
|
|
2884
|
+
}), Uo = /* @__PURE__ */ E(qo, [["__scopeId", "data-v-25aa0fd1"]]), Zt = /* @__PURE__ */ Symbol("radio-state"), zo = ["id", "for", "data-test", "data-selected"], Go = ["id", "data-test", "name", "value", "checked"], jo = /* @__PURE__ */ $({
|
|
2883
2885
|
__name: "CRadio",
|
|
2884
2886
|
props: {
|
|
2885
2887
|
value: {},
|
|
@@ -2889,12 +2891,12 @@ const To = /* @__PURE__ */ y({
|
|
|
2889
2891
|
hideRadio: { type: Boolean, default: !1 }
|
|
2890
2892
|
},
|
|
2891
2893
|
emits: ["change", "blur", "focus"],
|
|
2892
|
-
setup(
|
|
2893
|
-
const t =
|
|
2894
|
+
setup(s, { emit: e }) {
|
|
2895
|
+
const t = s, a = e, { id: o } = te(t), l = pe(o), i = X(
|
|
2894
2896
|
Zt,
|
|
2895
|
-
|
|
2897
|
+
I({
|
|
2896
2898
|
value: null,
|
|
2897
|
-
name:
|
|
2899
|
+
name: l.value,
|
|
2898
2900
|
invalid: !1,
|
|
2899
2901
|
update: () => {
|
|
2900
2902
|
},
|
|
@@ -2907,13 +2909,13 @@ const To = /* @__PURE__ */ y({
|
|
|
2907
2909
|
const u = r.target;
|
|
2908
2910
|
i.value.update(u.checked ? t.value : null), a("change", r);
|
|
2909
2911
|
};
|
|
2910
|
-
return
|
|
2912
|
+
return x(() => {
|
|
2911
2913
|
i.value.register(t.value);
|
|
2912
2914
|
}), be(() => {
|
|
2913
2915
|
i.value.unregister(t.value);
|
|
2914
|
-
}), (r, u) => (
|
|
2915
|
-
id: d(
|
|
2916
|
-
for: `${d(
|
|
2916
|
+
}), (r, u) => (f(), g("label", {
|
|
2917
|
+
id: d(l),
|
|
2918
|
+
for: `${d(l)}-input`,
|
|
2917
2919
|
"data-test": r.dataTest,
|
|
2918
2920
|
"data-selected": d(i).value === r.value || void 0,
|
|
2919
2921
|
class: V(["c-radio", {
|
|
@@ -2922,7 +2924,7 @@ const To = /* @__PURE__ */ y({
|
|
|
2922
2924
|
}])
|
|
2923
2925
|
}, [
|
|
2924
2926
|
S("input", {
|
|
2925
|
-
id: `${d(
|
|
2927
|
+
id: `${d(l)}-input`,
|
|
2926
2928
|
type: "radio",
|
|
2927
2929
|
"data-test": `${r.dataTest}-input`,
|
|
2928
2930
|
class: V(["c-radio__input", { "sr-only": r.hideRadio }]),
|
|
@@ -2932,13 +2934,13 @@ const To = /* @__PURE__ */ y({
|
|
|
2932
2934
|
onChange: u[0] || (u[0] = (p) => n(p)),
|
|
2933
2935
|
onBlur: u[1] || (u[1] = (p) => r.$emit("blur")),
|
|
2934
2936
|
onFocus: u[2] || (u[2] = (p) => r.$emit("focus"))
|
|
2935
|
-
}, null, 42,
|
|
2937
|
+
}, null, 42, Go),
|
|
2936
2938
|
b(r.$slots, "label", {}, () => [
|
|
2937
|
-
|
|
2939
|
+
z(O(r.label), 1)
|
|
2938
2940
|
], !0)
|
|
2939
|
-
], 10,
|
|
2941
|
+
], 10, zo));
|
|
2940
2942
|
}
|
|
2941
|
-
}),
|
|
2943
|
+
}), Zo = /* @__PURE__ */ E(jo, [["__scopeId", "data-v-a18ed533"]]), Wo = ["id", "data-test", "aria-invalid", "aria-labelledby", "aria-errormessage"], Xo = ["id", "data-test"], Ko = /* @__PURE__ */ $({
|
|
2942
2944
|
__name: "CRadioGroup",
|
|
2943
2945
|
props: {
|
|
2944
2946
|
value: { default: null },
|
|
@@ -2951,26 +2953,26 @@ const To = /* @__PURE__ */ y({
|
|
|
2951
2953
|
hideDetails: { type: [Boolean, String], default: !1 }
|
|
2952
2954
|
},
|
|
2953
2955
|
emits: ["change", "input"],
|
|
2954
|
-
setup(
|
|
2955
|
-
const t =
|
|
2956
|
+
setup(s, { emit: e }) {
|
|
2957
|
+
const t = s, a = e, { value: o, rules: l, id: i, mandatory: n } = te(t), r = pe(i), u = I(null), p = se(o, {
|
|
2956
2958
|
onChange: (C) => {
|
|
2957
2959
|
a("change", C), a("input", C);
|
|
2958
2960
|
}
|
|
2959
2961
|
}), {
|
|
2960
2962
|
startValidating: m,
|
|
2961
2963
|
message: h,
|
|
2962
|
-
valid:
|
|
2964
|
+
valid: y
|
|
2963
2965
|
} = ke({
|
|
2964
2966
|
id: r,
|
|
2965
2967
|
value: p,
|
|
2966
|
-
rules:
|
|
2968
|
+
rules: l,
|
|
2967
2969
|
required: n,
|
|
2968
2970
|
validateOn: "change"
|
|
2969
2971
|
});
|
|
2970
2972
|
return W(
|
|
2971
2973
|
Zt,
|
|
2972
|
-
|
|
2973
|
-
invalid:
|
|
2974
|
+
c(() => ({
|
|
2975
|
+
invalid: !y.value,
|
|
2974
2976
|
value: p.value,
|
|
2975
2977
|
name: r.value,
|
|
2976
2978
|
update: (C) => {
|
|
@@ -2985,7 +2987,7 @@ const To = /* @__PURE__ */ y({
|
|
|
2985
2987
|
}))
|
|
2986
2988
|
), G(p, () => {
|
|
2987
2989
|
m();
|
|
2988
|
-
}), (C, N) => (
|
|
2990
|
+
}), (C, N) => (f(), g("fieldset", {
|
|
2989
2991
|
id: d(r),
|
|
2990
2992
|
ref_key: "radioGroup",
|
|
2991
2993
|
ref: u,
|
|
@@ -2994,9 +2996,9 @@ const To = /* @__PURE__ */ y({
|
|
|
2994
2996
|
class: V(["c-radio-group", {
|
|
2995
2997
|
"c-radio-group--column": C.column,
|
|
2996
2998
|
"c-radio-group--row": !C.column,
|
|
2997
|
-
"c-radio-group--invalid": !d(
|
|
2999
|
+
"c-radio-group--invalid": !d(y)
|
|
2998
3000
|
}]),
|
|
2999
|
-
"aria-invalid": d(
|
|
3001
|
+
"aria-invalid": d(y) ? "false" : "true",
|
|
3000
3002
|
"aria-labelledby": `${d(r)}-label`,
|
|
3001
3003
|
"aria-errormessage": `${d(r)}-message`
|
|
3002
3004
|
}, [
|
|
@@ -3005,9 +3007,9 @@ const To = /* @__PURE__ */ y({
|
|
|
3005
3007
|
"data-test": `${C.dataTest}-label`
|
|
3006
3008
|
}, [
|
|
3007
3009
|
b(C.$slots, "label", {}, () => [
|
|
3008
|
-
|
|
3010
|
+
z(O(C.label), 1)
|
|
3009
3011
|
], !0)
|
|
3010
|
-
], 8,
|
|
3012
|
+
], 8, Xo),
|
|
3011
3013
|
b(C.$slots, "default", {}, void 0, !0),
|
|
3012
3014
|
P(_e, {
|
|
3013
3015
|
id: `${d(r)}-message`,
|
|
@@ -3020,112 +3022,97 @@ const To = /* @__PURE__ */ y({
|
|
|
3020
3022
|
]),
|
|
3021
3023
|
_: 3
|
|
3022
3024
|
}, 8, ["id", "data-test", "validation-message", "hide"])
|
|
3023
|
-
], 10,
|
|
3025
|
+
], 10, Wo));
|
|
3024
3026
|
}
|
|
3025
|
-
}),
|
|
3027
|
+
}), Jo = /* @__PURE__ */ E(Ko, [["__scopeId", "data-v-d68efbf0"]]), Qo = /* @__PURE__ */ $({
|
|
3026
3028
|
__name: "CRebrand",
|
|
3027
3029
|
props: {
|
|
3028
3030
|
fullWidth: { type: Boolean, default: !1 }
|
|
3029
3031
|
},
|
|
3030
|
-
setup(
|
|
3031
|
-
return (e, t) => (
|
|
3032
|
+
setup(s) {
|
|
3033
|
+
return (e, t) => (f(), g("div", {
|
|
3032
3034
|
class: V({ "w-100": e.fullWidth })
|
|
3033
3035
|
}, [
|
|
3034
3036
|
b(e.$slots, "default", {}, void 0, !0)
|
|
3035
3037
|
], 2));
|
|
3036
3038
|
}
|
|
3037
|
-
}),
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
alignContent: { default: null },
|
|
3042
|
-
dense: { type: Boolean, default: !1 },
|
|
3043
|
-
noGutters: { type: Boolean, default: !1 },
|
|
3044
|
-
justify: { default: null }
|
|
3045
|
-
},
|
|
3046
|
-
setup(l) {
|
|
3047
|
-
return (e, t) => (c(), g("div", {
|
|
3048
|
-
class: V(["c-row", {
|
|
3049
|
-
"c-row--dense": e.dense,
|
|
3050
|
-
"c-row--no-gutters": e.noGutters,
|
|
3051
|
-
[`align-${e.align}`]: e.align,
|
|
3052
|
-
[`align-content-${e.alignContent}`]: e.alignContent,
|
|
3053
|
-
[`justify-${e.justify}`]: e.justify
|
|
3054
|
-
}])
|
|
3055
|
-
}, [
|
|
3056
|
-
b(e.$slots, "default", {}, void 0, !0)
|
|
3057
|
-
], 2));
|
|
3058
|
-
}
|
|
3059
|
-
}), an = /* @__PURE__ */ T(tn, [["__scopeId", "data-v-426af58c"]]), ln = {}, sn = { class: "c-safe-area" };
|
|
3060
|
-
function on(l, e) {
|
|
3061
|
-
return c(), g("div", sn, [
|
|
3062
|
-
b(l.$slots, "default", {}, void 0, !0)
|
|
3039
|
+
}), xo = /* @__PURE__ */ E(Qo, [["__scopeId", "data-v-011ad982"]]), en = {}, tn = { class: "c-safe-area" };
|
|
3040
|
+
function an(s, e) {
|
|
3041
|
+
return f(), g("div", tn, [
|
|
3042
|
+
b(s.$slots, "default", {}, void 0, !0)
|
|
3063
3043
|
]);
|
|
3064
3044
|
}
|
|
3065
|
-
const
|
|
3045
|
+
const sn = /* @__PURE__ */ E(en, [["render", an], ["__scopeId", "data-v-d4b412f9"]]), ln = {
|
|
3066
3046
|
class: "c-section-header",
|
|
3067
3047
|
"data-test": "section-header"
|
|
3068
|
-
},
|
|
3048
|
+
}, on = /* @__PURE__ */ $({
|
|
3069
3049
|
__name: "CSectionHeader",
|
|
3070
3050
|
props: {
|
|
3071
3051
|
tag: { default: "h2" },
|
|
3072
3052
|
title: { default: "" }
|
|
3073
3053
|
},
|
|
3074
|
-
setup(
|
|
3075
|
-
return W(Re,
|
|
3076
|
-
(
|
|
3054
|
+
setup(s) {
|
|
3055
|
+
return W(Re, I(!0)), (e, t) => (f(), g("div", ln, [
|
|
3056
|
+
(f(), M(Ae(e.tag), {
|
|
3077
3057
|
class: "c-section-header__title",
|
|
3078
3058
|
"data-test": "section-header-title"
|
|
3079
3059
|
}, {
|
|
3080
3060
|
default: w(() => [
|
|
3081
|
-
|
|
3061
|
+
z(O(e.title), 1)
|
|
3082
3062
|
]),
|
|
3083
3063
|
_: 1
|
|
3084
3064
|
})),
|
|
3085
3065
|
b(e.$slots, "append", {}, void 0, !0)
|
|
3086
3066
|
]));
|
|
3087
3067
|
}
|
|
3088
|
-
}),
|
|
3068
|
+
}), nn = /* @__PURE__ */ E(on, [["__scopeId", "data-v-f3be92b0"]]), rn = {
|
|
3089
3069
|
class: "c-skeleton",
|
|
3090
3070
|
"data-test": "skeleton"
|
|
3091
|
-
}
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3071
|
+
}, dn = /* @__PURE__ */ $({
|
|
3072
|
+
__name: "CSkeleton",
|
|
3073
|
+
props: {
|
|
3074
|
+
squared: { type: Boolean }
|
|
3075
|
+
},
|
|
3076
|
+
setup(s) {
|
|
3077
|
+
return (e, t) => (f(), g("div", rn, [
|
|
3078
|
+
S("div", {
|
|
3079
|
+
class: V(["c-skeleton__indicator", { "c-skeleton__indicator--squared": e.squared }])
|
|
3080
|
+
}, null, 2)
|
|
3081
|
+
]));
|
|
3082
|
+
}
|
|
3083
|
+
}), Ne = /* @__PURE__ */ E(dn, [["__scopeId", "data-v-f9e3b1e5"]]), un = /* @__PURE__ */ $({
|
|
3098
3084
|
__name: "CSkeletonLoaderCard",
|
|
3099
3085
|
props: {
|
|
3100
|
-
height: { default: 100 }
|
|
3086
|
+
height: { default: 100 },
|
|
3087
|
+
tile: { type: Boolean, default: !1 }
|
|
3101
3088
|
},
|
|
3102
|
-
setup(
|
|
3103
|
-
return (e, t) => (
|
|
3089
|
+
setup(s) {
|
|
3090
|
+
return (e, t) => (f(), g("div", {
|
|
3104
3091
|
class: "c-skeleton-loader-card",
|
|
3105
3092
|
"data-test": "skeleton-loader-card",
|
|
3106
|
-
style:
|
|
3093
|
+
style: ee({ height: `${e.height}px` })
|
|
3107
3094
|
}, [
|
|
3108
|
-
P(Ne)
|
|
3095
|
+
P(Ne, { squared: e.tile }, null, 8, ["squared"])
|
|
3109
3096
|
], 4));
|
|
3110
3097
|
}
|
|
3111
|
-
}),
|
|
3098
|
+
}), cn = {
|
|
3112
3099
|
class: "c-skeleton-loader-circle",
|
|
3113
3100
|
"data-test": "skeleton-loader-circle"
|
|
3114
|
-
},
|
|
3101
|
+
}, fn = /* @__PURE__ */ $({
|
|
3115
3102
|
__name: "CSkeletonLoaderCircle",
|
|
3116
|
-
setup(
|
|
3117
|
-
return (e, t) => (
|
|
3103
|
+
setup(s) {
|
|
3104
|
+
return (e, t) => (f(), g("div", cn, [
|
|
3118
3105
|
P(Ne)
|
|
3119
3106
|
]));
|
|
3120
3107
|
}
|
|
3121
|
-
}),
|
|
3108
|
+
}), pn = /* @__PURE__ */ E(fn, [["__scopeId", "data-v-bb292787"]]), vn = /* @__PURE__ */ $({
|
|
3122
3109
|
__name: "CSkeletonLoaderText",
|
|
3123
3110
|
props: {
|
|
3124
3111
|
align: { default: "start" },
|
|
3125
3112
|
rows: { default: 2 },
|
|
3126
3113
|
type: { default: "body" }
|
|
3127
3114
|
},
|
|
3128
|
-
setup(
|
|
3115
|
+
setup(s) {
|
|
3129
3116
|
const e = {
|
|
3130
3117
|
balance: "c-skeleton-loader-text__line--balance",
|
|
3131
3118
|
body: "c-skeleton-loader-text__line--body",
|
|
@@ -3140,33 +3127,33 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3140
3127
|
subheadline: "c-skeleton-loader-text__line--subheadline",
|
|
3141
3128
|
"wallet-caption": "c-skeleton-loader-text__line--wallet-caption",
|
|
3142
3129
|
"x-large-headline": "c-skeleton-loader-text__line--x-large-headline"
|
|
3143
|
-
}, t =
|
|
3144
|
-
return (o,
|
|
3130
|
+
}, t = s, a = c(() => e[t.type]);
|
|
3131
|
+
return (o, l) => (f(), g("div", {
|
|
3145
3132
|
"data-test": "skeleton-loader-text",
|
|
3146
3133
|
class: V(["c-skeleton-loader-text", { [`align-${o.align}`]: o.align }])
|
|
3147
3134
|
}, [
|
|
3148
|
-
(
|
|
3135
|
+
(f(!0), g(ce, null, fe(o.rows, (i) => (f(), g("div", {
|
|
3149
3136
|
key: i,
|
|
3150
3137
|
class: V([a.value, "c-skeleton-loader-text__line"]),
|
|
3151
3138
|
"data-test": "skeleton-loader-text-line"
|
|
3152
3139
|
}, [
|
|
3153
3140
|
P(Ne, { class: "c-skeleton-loader-text__line__skeleton" }),
|
|
3154
|
-
|
|
3141
|
+
l[0] || (l[0] = z(" ", -1))
|
|
3155
3142
|
], 2))), 128))
|
|
3156
3143
|
], 2));
|
|
3157
3144
|
}
|
|
3158
|
-
}),
|
|
3145
|
+
}), mn = /* @__PURE__ */ E(vn, [["__scopeId", "data-v-bfc4537c"]]), bn = /* @__PURE__ */ $({
|
|
3159
3146
|
__name: "CSlideFadeTransition",
|
|
3160
3147
|
props: {
|
|
3161
3148
|
amount: { default: 20 },
|
|
3162
3149
|
direction: { default: "to-left" }
|
|
3163
3150
|
},
|
|
3164
|
-
setup(
|
|
3165
|
-
return (e, t) => (
|
|
3151
|
+
setup(s) {
|
|
3152
|
+
return (e, t) => (f(), g("div", {
|
|
3166
3153
|
class: V(e.direction),
|
|
3167
|
-
style:
|
|
3154
|
+
style: ee({ "--slide-fade-amount": `${e.amount}px` })
|
|
3168
3155
|
}, [
|
|
3169
|
-
P(
|
|
3156
|
+
P(pt, {
|
|
3170
3157
|
name: "slide-fade",
|
|
3171
3158
|
mode: "out-in"
|
|
3172
3159
|
}, {
|
|
@@ -3177,67 +3164,67 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3177
3164
|
})
|
|
3178
3165
|
], 6));
|
|
3179
3166
|
}
|
|
3180
|
-
}),
|
|
3167
|
+
}), gn = /* @__PURE__ */ E(bn, [["__scopeId", "data-v-587b729f"]]), hn = /* @__PURE__ */ $({
|
|
3181
3168
|
__name: "CSplitInput",
|
|
3182
3169
|
props: {
|
|
3183
|
-
autocomplete: {
|
|
3170
|
+
autocomplete: {},
|
|
3184
3171
|
dataTest: { default: "split-input" },
|
|
3185
3172
|
disabled: { type: Boolean, default: !1 },
|
|
3186
3173
|
fields: {},
|
|
3187
|
-
inputmode: {
|
|
3188
|
-
label: {
|
|
3189
|
-
name: {
|
|
3174
|
+
inputmode: {},
|
|
3175
|
+
label: {},
|
|
3176
|
+
name: {},
|
|
3190
3177
|
rules: { default: () => [] },
|
|
3191
3178
|
type: { default: "text" },
|
|
3192
3179
|
value: { default: "" }
|
|
3193
3180
|
},
|
|
3194
|
-
setup(
|
|
3195
|
-
const e =
|
|
3196
|
-
return (
|
|
3197
|
-
"data-test":
|
|
3181
|
+
setup(s) {
|
|
3182
|
+
const e = s, t = I(""), a = c(() => e.fields.map((l) => `${l.placeholder ?? ""}${l.separator ?? ""}`).join("")), o = c(() => e.fields.map((l) => `${Array(l.characters).fill("*").join("")}${l.separator ?? ""}`).join(""));
|
|
3183
|
+
return (l, i) => (f(), M(Ce, q(l.$attrs, {
|
|
3184
|
+
"data-test": l.dataTest,
|
|
3198
3185
|
class: "c-split-input",
|
|
3199
|
-
type:
|
|
3200
|
-
label:
|
|
3201
|
-
name:
|
|
3202
|
-
inputmode:
|
|
3203
|
-
value:
|
|
3204
|
-
rules:
|
|
3186
|
+
type: l.type,
|
|
3187
|
+
label: l.label,
|
|
3188
|
+
name: l.name,
|
|
3189
|
+
inputmode: l.inputmode,
|
|
3190
|
+
value: l.value,
|
|
3191
|
+
rules: l.rules,
|
|
3205
3192
|
placeholder: a.value,
|
|
3206
|
-
disabled:
|
|
3207
|
-
autocomplete:
|
|
3193
|
+
disabled: l.disabled,
|
|
3194
|
+
autocomplete: l.autocomplete,
|
|
3208
3195
|
size: "large",
|
|
3209
3196
|
mask: o.value,
|
|
3210
3197
|
"onInput:masked": i[0] || (i[0] = (n) => t.value = n)
|
|
3211
3198
|
}), {
|
|
3212
3199
|
label: w(() => [
|
|
3213
|
-
b(
|
|
3200
|
+
b(l.$slots, "label", {}, void 0, !0)
|
|
3214
3201
|
]),
|
|
3215
3202
|
message: w(() => [
|
|
3216
|
-
b(
|
|
3203
|
+
b(l.$slots, "message", {}, void 0, !0)
|
|
3217
3204
|
]),
|
|
3218
3205
|
_: 3
|
|
3219
3206
|
}, 16, ["data-test", "type", "label", "name", "inputmode", "value", "rules", "placeholder", "disabled", "autocomplete", "mask"]));
|
|
3220
3207
|
}
|
|
3221
|
-
}),
|
|
3208
|
+
}), _n = /* @__PURE__ */ E(hn, [["__scopeId", "data-v-3cb71326"]]), Cn = /* @__PURE__ */ $({
|
|
3222
3209
|
__name: "CSsnField",
|
|
3223
3210
|
props: {
|
|
3224
3211
|
dataTest: { default: "ssn-field" },
|
|
3225
|
-
id: {
|
|
3226
|
-
label: {
|
|
3212
|
+
id: {},
|
|
3213
|
+
label: {},
|
|
3227
3214
|
rules: { default: () => [] },
|
|
3228
3215
|
value: { default: "" },
|
|
3229
3216
|
fourDigitSsn: { type: Boolean, default: !1 }
|
|
3230
3217
|
},
|
|
3231
3218
|
emits: ["input", "focus", "blur", "change"],
|
|
3232
|
-
setup(
|
|
3233
|
-
const t =
|
|
3219
|
+
setup(s, { expose: e }) {
|
|
3220
|
+
const t = s, { t: a } = ve(), o = c(() => t.fourDigitSsn ? a("Last 4 digits of SSN") : a("Social Security number")), l = c(() => {
|
|
3234
3221
|
const u = $e(4, a("Please enter the last four digits of your SSN")), p = $e(
|
|
3235
3222
|
9,
|
|
3236
3223
|
a("Please enter a valid {inputLabel}", { inputLabel: a("Social Security number") })
|
|
3237
3224
|
);
|
|
3238
3225
|
return [t.fourDigitSsn ? u : p];
|
|
3239
|
-
}), i =
|
|
3240
|
-
return e({ focus: r }), (u, p) => (
|
|
3226
|
+
}), i = c(() => [...l.value, ...t.rules]), { field: n, focus: r } = Qe();
|
|
3227
|
+
return e({ focus: r }), (u, p) => (f(), M(Ce, q(u.$attrs, {
|
|
3241
3228
|
id: u.id,
|
|
3242
3229
|
ref_key: "field",
|
|
3243
3230
|
ref: n,
|
|
@@ -3265,7 +3252,7 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3265
3252
|
b(u.$slots, "message")
|
|
3266
3253
|
]),
|
|
3267
3254
|
append: w(() => [
|
|
3268
|
-
u.fourDigitSsn ? (
|
|
3255
|
+
u.fourDigitSsn ? (f(), M(d(U), {
|
|
3269
3256
|
key: 0,
|
|
3270
3257
|
icon: d(da),
|
|
3271
3258
|
"fixed-width": ""
|
|
@@ -3274,17 +3261,17 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3274
3261
|
_: 3
|
|
3275
3262
|
}, 16, ["id", "data-test", "value", "label", "placeholder", "mask", "minlength", "maxlength", "hideable", "rules"]));
|
|
3276
3263
|
}
|
|
3277
|
-
}),
|
|
3264
|
+
}), yn = /* @__PURE__ */ $({
|
|
3278
3265
|
__name: "CStatusDot",
|
|
3279
3266
|
props: {
|
|
3280
3267
|
count: { default: null },
|
|
3281
3268
|
bordered: { type: Boolean, default: !1 }
|
|
3282
3269
|
},
|
|
3283
|
-
setup(
|
|
3284
|
-
const e =
|
|
3270
|
+
setup(s) {
|
|
3271
|
+
const e = s;
|
|
3285
3272
|
Ot();
|
|
3286
|
-
const t =
|
|
3287
|
-
return (o,
|
|
3273
|
+
const t = c(() => e.count !== null), a = c(() => e.count && e.count > 9 ? "9+" : e.count);
|
|
3274
|
+
return (o, l) => (f(), g("div", {
|
|
3288
3275
|
class: V(["c-status-dot", {
|
|
3289
3276
|
"c-status-dot--count": t.value,
|
|
3290
3277
|
"c-status-dot--bordered": o.bordered
|
|
@@ -3293,10 +3280,10 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3293
3280
|
role: "img"
|
|
3294
3281
|
}, O(a.value), 3));
|
|
3295
3282
|
}
|
|
3296
|
-
}),
|
|
3283
|
+
}), $n = /* @__PURE__ */ E(yn, [["__scopeId", "data-v-3f2f25d9"]]), kn = ["checked", "disabled"], Tn = {
|
|
3297
3284
|
key: 0,
|
|
3298
3285
|
class: "c-switch__sr-label"
|
|
3299
|
-
},
|
|
3286
|
+
}, Ln = /* @__PURE__ */ $({
|
|
3300
3287
|
__name: "CSwitch",
|
|
3301
3288
|
props: {
|
|
3302
3289
|
ariaLabel: { default: "" },
|
|
@@ -3305,40 +3292,40 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3305
3292
|
value: { type: Boolean, default: !1 }
|
|
3306
3293
|
},
|
|
3307
3294
|
emits: ["input"],
|
|
3308
|
-
setup(
|
|
3309
|
-
const t =
|
|
3295
|
+
setup(s, { emit: e }) {
|
|
3296
|
+
const t = s, a = e, { value: o } = te(t), l = se(o, {
|
|
3310
3297
|
onChange: (i) => a("input", i)
|
|
3311
3298
|
});
|
|
3312
|
-
return (i, n) => (
|
|
3299
|
+
return (i, n) => (f(), g("sl-switch", {
|
|
3313
3300
|
class: V(["c-switch", {
|
|
3314
3301
|
"c-switch--label-first": i.labelFirst,
|
|
3315
3302
|
"c-switch--disabled": i.disabled,
|
|
3316
|
-
"c-switch--checked": d(
|
|
3303
|
+
"c-switch--checked": d(l),
|
|
3317
3304
|
"c-switch--aria-labelled": i.ariaLabel
|
|
3318
3305
|
}]),
|
|
3319
|
-
checked: d(
|
|
3306
|
+
checked: d(l) || void 0,
|
|
3320
3307
|
disabled: i.disabled || void 0,
|
|
3321
|
-
onSlChange: n[0] || (n[0] = (r) =>
|
|
3308
|
+
onSlChange: n[0] || (n[0] = (r) => l.value = !d(l))
|
|
3322
3309
|
}, [
|
|
3323
3310
|
b(i.$slots, "default", {}, void 0, !0),
|
|
3324
|
-
i.ariaLabel ? (
|
|
3325
|
-
], 42,
|
|
3311
|
+
i.ariaLabel ? (f(), g("span", Tn, O(i.ariaLabel), 1)) : R("", !0)
|
|
3312
|
+
], 42, kn));
|
|
3326
3313
|
}
|
|
3327
|
-
}), Wt = /* @__PURE__ */
|
|
3314
|
+
}), Wt = /* @__PURE__ */ E(Ln, [["__scopeId", "data-v-ca938910"]]), In = /* @__PURE__ */ $({
|
|
3328
3315
|
__name: "CSwitchListItem",
|
|
3329
3316
|
props: {
|
|
3330
3317
|
align: { default: "center" },
|
|
3331
3318
|
disabled: { type: Boolean, default: !1 },
|
|
3332
|
-
icon: {
|
|
3319
|
+
icon: {},
|
|
3333
3320
|
iconColor: { default: "gray-100" },
|
|
3334
|
-
label: {
|
|
3335
|
-
title: {
|
|
3321
|
+
label: {},
|
|
3322
|
+
title: {},
|
|
3336
3323
|
value: { type: Boolean, default: !1 }
|
|
3337
3324
|
},
|
|
3338
3325
|
emits: ["input"],
|
|
3339
|
-
setup(
|
|
3326
|
+
setup(s) {
|
|
3340
3327
|
const e = K("icon");
|
|
3341
|
-
return (t, a) => (
|
|
3328
|
+
return (t, a) => (f(), M(Yt, null, {
|
|
3342
3329
|
default: w(() => [
|
|
3343
3330
|
P(Wt, {
|
|
3344
3331
|
"data-test": "list-item-switch",
|
|
@@ -3355,7 +3342,7 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3355
3342
|
}])
|
|
3356
3343
|
}, [
|
|
3357
3344
|
b(t.$slots, "prepend", {}, () => [
|
|
3358
|
-
t.icon || d(e) ? (
|
|
3345
|
+
t.icon || d(e) ? (f(), M(Je, {
|
|
3359
3346
|
key: 0,
|
|
3360
3347
|
icon: t.icon,
|
|
3361
3348
|
"icon-color": t.iconColor
|
|
@@ -3369,7 +3356,7 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3369
3356
|
P(Pt, {
|
|
3370
3357
|
title: t.title,
|
|
3371
3358
|
label: t.label
|
|
3372
|
-
},
|
|
3359
|
+
}, bt({ _: 2 }, [
|
|
3373
3360
|
fe(["title", "label", "default"], (o) => ({
|
|
3374
3361
|
name: o,
|
|
3375
3362
|
fn: w(() => [
|
|
@@ -3385,43 +3372,43 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3385
3372
|
_: 3
|
|
3386
3373
|
}));
|
|
3387
3374
|
}
|
|
3388
|
-
}),
|
|
3375
|
+
}), En = /* @__PURE__ */ E(In, [["__scopeId", "data-v-a9a9ce19"]]), An = ["data-test"], Sn = ["for", "data-test"], Dn = ["id", "aria-label", "aria-describedby", "aria-invalid", "data-test", "disabled", "placeholder", "maxlength", "required", "value"], Bn = ["id", "data-test"], wn = /* @__PURE__ */ $({
|
|
3389
3376
|
__name: "CTextArea",
|
|
3390
3377
|
props: {
|
|
3391
3378
|
counter: { default: null },
|
|
3392
3379
|
counterValue: { type: [Number, Function, null], default: null },
|
|
3393
3380
|
dataTest: { default: "text-area" },
|
|
3394
3381
|
disabled: { type: Boolean, default: !1 },
|
|
3395
|
-
errorMessage: {
|
|
3382
|
+
errorMessage: {},
|
|
3396
3383
|
hideLabel: { type: Boolean, default: !1 },
|
|
3397
3384
|
hideDetails: { type: [Boolean, String], default: !1 },
|
|
3398
|
-
id: {
|
|
3399
|
-
label: {
|
|
3400
|
-
maxlength: {
|
|
3401
|
-
placeholder: {
|
|
3385
|
+
id: {},
|
|
3386
|
+
label: {},
|
|
3387
|
+
maxlength: {},
|
|
3388
|
+
placeholder: {},
|
|
3402
3389
|
required: { type: Boolean, default: !1 },
|
|
3403
3390
|
rules: { default: () => [] },
|
|
3404
3391
|
value: { default: "" }
|
|
3405
3392
|
},
|
|
3406
3393
|
emits: ["input", "change", "blur", "focus"],
|
|
3407
|
-
setup(
|
|
3408
|
-
const t =
|
|
3394
|
+
setup(s, { emit: e }) {
|
|
3395
|
+
const t = s, a = e, { value: o, rules: l, required: i, id: n } = te(t), r = pe(n), u = se(o, {
|
|
3409
3396
|
onChange: (B) => a("input", B)
|
|
3410
|
-
}), p = K("message"), m =
|
|
3397
|
+
}), p = K("message"), m = I(null), {
|
|
3411
3398
|
message: h,
|
|
3412
|
-
valid:
|
|
3399
|
+
valid: y,
|
|
3413
3400
|
listeners: C
|
|
3414
3401
|
} = ke({
|
|
3415
3402
|
id: r,
|
|
3416
3403
|
value: u,
|
|
3417
|
-
rules:
|
|
3404
|
+
rules: l,
|
|
3418
3405
|
required: i,
|
|
3419
3406
|
field: m
|
|
3420
|
-
}), N =
|
|
3407
|
+
}), N = c(() => !y.value || !!t.errorMessage), A = (B) => {
|
|
3421
3408
|
const v = B.target;
|
|
3422
3409
|
u.value = v.value;
|
|
3423
3410
|
};
|
|
3424
|
-
return (B, v) => (
|
|
3411
|
+
return (B, v) => (f(), g("div", {
|
|
3425
3412
|
class: V(["d-flex flex-column gap-1", {
|
|
3426
3413
|
"c-text-area--disabled": B.disabled,
|
|
3427
3414
|
"c-text-area--invalid": N.value,
|
|
@@ -3435,10 +3422,10 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3435
3422
|
"data-test": `${B.dataTest}-label`
|
|
3436
3423
|
}, [
|
|
3437
3424
|
b(B.$slots, "label", {}, () => [
|
|
3438
|
-
|
|
3425
|
+
z(O(B.label), 1)
|
|
3439
3426
|
], !0)
|
|
3440
|
-
], 8,
|
|
3441
|
-
S("textarea",
|
|
3427
|
+
], 8, Sn),
|
|
3428
|
+
S("textarea", q({
|
|
3442
3429
|
id: d(r),
|
|
3443
3430
|
ref_key: "textarea",
|
|
3444
3431
|
ref: m,
|
|
@@ -3454,17 +3441,17 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3454
3441
|
required: d(i),
|
|
3455
3442
|
value: d(u),
|
|
3456
3443
|
onInput: A,
|
|
3457
|
-
onBlur: v[0] || (v[0] = (
|
|
3458
|
-
onFocus: v[1] || (v[1] = (
|
|
3459
|
-
onChange: v[2] || (v[2] = (
|
|
3460
|
-
}, Se(d(C), !0)), null, 16,
|
|
3444
|
+
onBlur: v[0] || (v[0] = (T) => B.$emit("blur")),
|
|
3445
|
+
onFocus: v[1] || (v[1] = (T) => B.$emit("focus")),
|
|
3446
|
+
onChange: v[2] || (v[2] = (T) => B.$emit("change", d(u)))
|
|
3447
|
+
}, Se(d(C), !0)), null, 16, Dn),
|
|
3461
3448
|
P(_e, {
|
|
3462
3449
|
"data-test": `${B.dataTest}-validation-message`,
|
|
3463
3450
|
"validation-message": B.errorMessage || d(h),
|
|
3464
3451
|
hide: B.hideDetails
|
|
3465
3452
|
}, {
|
|
3466
3453
|
append: w(() => [
|
|
3467
|
-
B.counter ? (
|
|
3454
|
+
B.counter ? (f(), M(Vt, {
|
|
3468
3455
|
key: 0,
|
|
3469
3456
|
"data-test": `${B.dataTest}-counter`,
|
|
3470
3457
|
counter: B.counter,
|
|
@@ -3474,29 +3461,29 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3474
3461
|
]),
|
|
3475
3462
|
_: 1
|
|
3476
3463
|
}, 8, ["data-test", "validation-message", "hide"]),
|
|
3477
|
-
d(p) ? (
|
|
3464
|
+
d(p) ? (f(), g("div", {
|
|
3478
3465
|
key: 0,
|
|
3479
3466
|
id: `${d(r)}-message`,
|
|
3480
3467
|
class: "c-text-area__message",
|
|
3481
3468
|
"data-test": `${B.dataTest}-message`
|
|
3482
3469
|
}, [
|
|
3483
3470
|
b(B.$slots, "message", {}, void 0, !0)
|
|
3484
|
-
], 8,
|
|
3485
|
-
], 10,
|
|
3471
|
+
], 8, Bn)) : R("", !0)
|
|
3472
|
+
], 10, An));
|
|
3486
3473
|
}
|
|
3487
|
-
}),
|
|
3474
|
+
}), Rn = /* @__PURE__ */ E(wn, [["__scopeId", "data-v-37197489"]]), Mn = ["target", "href", "tabindex", "role"], Nn = /* @__PURE__ */ $({
|
|
3488
3475
|
__name: "CTextLink",
|
|
3489
3476
|
props: {
|
|
3490
|
-
to: {
|
|
3491
|
-
href: {
|
|
3492
|
-
target: {
|
|
3477
|
+
to: {},
|
|
3478
|
+
href: {},
|
|
3479
|
+
target: {},
|
|
3493
3480
|
underline: { type: Boolean, default: !0 }
|
|
3494
3481
|
},
|
|
3495
|
-
setup(
|
|
3496
|
-
const e =
|
|
3497
|
-
return (n, r) => (
|
|
3482
|
+
setup(s) {
|
|
3483
|
+
const e = s, t = c(() => e.to), { href: a, navigate: o } = Ze(t), l = c(() => a.value ?? e.href), i = c(() => !e.to && !e.href);
|
|
3484
|
+
return (n, r) => (f(), g("a", q(n.$attrs, {
|
|
3498
3485
|
target: n.target,
|
|
3499
|
-
href:
|
|
3486
|
+
href: l.value,
|
|
3500
3487
|
tabindex: i.value ? 0 : void 0,
|
|
3501
3488
|
role: i.value ? "button" : void 0,
|
|
3502
3489
|
class: ["c-text-link", { "c-text-link--underline": n.underline }],
|
|
@@ -3504,9 +3491,9 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3504
3491
|
(...u) => d(o) && d(o)(...u))
|
|
3505
3492
|
}), [
|
|
3506
3493
|
b(n.$slots, "default", {}, void 0, !0)
|
|
3507
|
-
], 16,
|
|
3494
|
+
], 16, Mn));
|
|
3508
3495
|
}
|
|
3509
|
-
}),
|
|
3496
|
+
}), Vn = /* @__PURE__ */ E(Nn, [["__scopeId", "data-v-7131ff28"]]), On = ["src", "alt"], Hn = /* @__PURE__ */ $({
|
|
3510
3497
|
__name: "CThirdPartyLogo",
|
|
3511
3498
|
props: {
|
|
3512
3499
|
alt: {},
|
|
@@ -3515,36 +3502,36 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3515
3502
|
size: { default: "medium" },
|
|
3516
3503
|
src: { default: "" }
|
|
3517
3504
|
},
|
|
3518
|
-
setup(
|
|
3505
|
+
setup(s) {
|
|
3519
3506
|
const e = {
|
|
3520
3507
|
medium: "40px",
|
|
3521
3508
|
large: "56px"
|
|
3522
|
-
}, t =
|
|
3509
|
+
}, t = I("loading"), a = () => {
|
|
3523
3510
|
t.value = "failed";
|
|
3524
3511
|
}, o = () => {
|
|
3525
3512
|
t.value = "loaded";
|
|
3526
3513
|
};
|
|
3527
|
-
return (
|
|
3514
|
+
return (l, i) => (f(), g("div", {
|
|
3528
3515
|
class: "c-third-party-logo",
|
|
3529
|
-
style:
|
|
3516
|
+
style: ee({ "--size": e[l.size] })
|
|
3530
3517
|
}, [
|
|
3531
|
-
t.value === "loaded" || t.value === "loading" ? (
|
|
3518
|
+
t.value === "loaded" || t.value === "loading" ? (f(), g("img", {
|
|
3532
3519
|
key: 0,
|
|
3533
3520
|
class: V(["c-third-party-logo__img transition-opacity", { "opacity-0": t.value === "loading" }]),
|
|
3534
|
-
src:
|
|
3535
|
-
alt:
|
|
3521
|
+
src: l.src,
|
|
3522
|
+
alt: l.alt,
|
|
3536
3523
|
onError: a,
|
|
3537
3524
|
onLoad: o
|
|
3538
|
-
}, null, 42,
|
|
3539
|
-
P(
|
|
3525
|
+
}, null, 42, On)) : R("", !0),
|
|
3526
|
+
P(Ke, {
|
|
3540
3527
|
class: V(["transition-opacity", { "opacity-0": t.value === "loaded" }]),
|
|
3541
|
-
icon:
|
|
3542
|
-
color:
|
|
3543
|
-
large:
|
|
3528
|
+
icon: l.icon,
|
|
3529
|
+
color: l.color,
|
|
3530
|
+
large: l.size === "large"
|
|
3544
3531
|
}, null, 8, ["class", "icon", "color", "large"])
|
|
3545
3532
|
], 4));
|
|
3546
3533
|
}
|
|
3547
|
-
}),
|
|
3534
|
+
}), Fn = /* @__PURE__ */ E(Hn, [["__scopeId", "data-v-ccf3620c"]]), Pn = ["datetime"], Yn = /* @__PURE__ */ $({
|
|
3548
3535
|
__name: "CTimeago",
|
|
3549
3536
|
props: {
|
|
3550
3537
|
datetime: {},
|
|
@@ -3552,10 +3539,10 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3552
3539
|
locale: { default: "en" },
|
|
3553
3540
|
autoUpdate: { type: [Number, Boolean], default: 60 }
|
|
3554
3541
|
},
|
|
3555
|
-
setup(
|
|
3556
|
-
const e =
|
|
3542
|
+
setup(s) {
|
|
3543
|
+
const e = s, t = I(0);
|
|
3557
3544
|
let a = null;
|
|
3558
|
-
const o =
|
|
3545
|
+
const o = c(() => new Date(e.datetime).toISOString()), l = c(
|
|
3559
3546
|
() => e.converter(e.datetime, e.locale, t.value)
|
|
3560
3547
|
), i = () => {
|
|
3561
3548
|
e.autoUpdate && (a = setInterval(() => t.value++, e.autoUpdate * 1e3));
|
|
@@ -3567,16 +3554,16 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3567
3554
|
(r) => {
|
|
3568
3555
|
n(), r && i();
|
|
3569
3556
|
}
|
|
3570
|
-
),
|
|
3557
|
+
), x(() => {
|
|
3571
3558
|
i();
|
|
3572
3559
|
}), be(() => {
|
|
3573
3560
|
n();
|
|
3574
|
-
}), (r, u) => (
|
|
3561
|
+
}), (r, u) => (f(), g("time", q(r.$attrs, { datetime: o.value }), O(l.value), 17, Pn));
|
|
3575
3562
|
}
|
|
3576
|
-
}),
|
|
3563
|
+
}), qn = ["data-test", "data-open", "data-variant", "duration"], Un = { class: "flex-grow-1 d-flex flex-row align-center gap-4" }, zn = {
|
|
3577
3564
|
class: "c-toast__message flex-grow-1",
|
|
3578
3565
|
"data-test": "toast-message"
|
|
3579
|
-
},
|
|
3566
|
+
}, Gn = 5e3, jn = 150, ut = 0.75, Zn = /* @__PURE__ */ $({
|
|
3580
3567
|
__name: "CToast",
|
|
3581
3568
|
props: {
|
|
3582
3569
|
dataTest: { default: "toast" },
|
|
@@ -3589,59 +3576,59 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3589
3576
|
warning: { type: Boolean, default: !1 }
|
|
3590
3577
|
},
|
|
3591
3578
|
emits: ["hide", "input"],
|
|
3592
|
-
setup(
|
|
3593
|
-
const t =
|
|
3594
|
-
|
|
3579
|
+
setup(s, { emit: e }) {
|
|
3580
|
+
const t = s, a = e, o = I(null), l = I(t.value), i = c(() => t.error ? "error" : t.success ? "success" : t.warning ? "warning" : t.variant), n = async () => {
|
|
3581
|
+
l.value = !0, o.value?.toast();
|
|
3595
3582
|
}, r = () => {
|
|
3596
|
-
|
|
3583
|
+
l.value = !1, a("input", !1);
|
|
3597
3584
|
}, u = async () => {
|
|
3598
3585
|
o.value?.hide();
|
|
3599
3586
|
};
|
|
3600
|
-
|
|
3601
|
-
const p =
|
|
3602
|
-
ue(o, "alert.hide",
|
|
3587
|
+
gt(() => t.value ? n() : u()), be(() => u());
|
|
3588
|
+
const p = c(() => t.dismissible !== void 0 ? !t.dismissible : i.value === "success"), m = c(() => p.value ? Gn : 1 / 0), h = c(() => i.value === "error" ? ua : i.value === "success" ? ca : fa), y = I("default");
|
|
3589
|
+
ue(o, "alert.hide", y);
|
|
3603
3590
|
const C = () => {
|
|
3604
|
-
|
|
3591
|
+
y.value = "default", a("hide");
|
|
3605
3592
|
}, { base: N } = St(o, ["base"]), { dragDistance: A } = Dt(N, {
|
|
3606
|
-
onDragEnd: async ({ distance: v, velocity:
|
|
3607
|
-
const D = Math.abs(v.x), Y = Math.abs(
|
|
3608
|
-
if (
|
|
3609
|
-
const k = Math.max(N.value.clientWidth - D, 0) / Math.max(Y,
|
|
3610
|
-
|
|
3593
|
+
onDragEnd: async ({ distance: v, velocity: T }) => {
|
|
3594
|
+
const D = Math.abs(v.x), Y = Math.abs(T.x), le = D > jn || Y > ut, j = D / N.value.clientWidth;
|
|
3595
|
+
if (le) {
|
|
3596
|
+
const k = Math.max(N.value.clientWidth - D, 0) / Math.max(Y, ut), _ = T.x > 0 ? it : rt;
|
|
3597
|
+
y.value = _({
|
|
3611
3598
|
start: j,
|
|
3612
3599
|
duration: k,
|
|
3613
3600
|
end: 1.1
|
|
3614
3601
|
}), u();
|
|
3615
3602
|
} else {
|
|
3616
|
-
const k = (
|
|
3603
|
+
const k = (T.x > 0 ? it : rt)({ start: j, end: 0 });
|
|
3617
3604
|
N.value?.animate(k.keyframes, k.options);
|
|
3618
3605
|
}
|
|
3619
3606
|
}
|
|
3620
|
-
}), B =
|
|
3621
|
-
return (v,
|
|
3607
|
+
}), B = c(() => `translateX(${A.value?.x ?? 0}px)`);
|
|
3608
|
+
return (v, T) => (f(), g("sl-alert", {
|
|
3622
3609
|
ref_key: "alert",
|
|
3623
3610
|
ref: o,
|
|
3624
3611
|
class: V(["c-toast", `c-toast--${i.value}`]),
|
|
3625
3612
|
"data-test": v.dataTest,
|
|
3626
|
-
"data-open":
|
|
3613
|
+
"data-open": l.value || void 0,
|
|
3627
3614
|
"data-variant": i.value,
|
|
3628
3615
|
duration: m.value,
|
|
3629
|
-
style:
|
|
3616
|
+
style: ee({ "--toast-base-transform": B.value }),
|
|
3630
3617
|
onSlHide: r,
|
|
3631
3618
|
onSlAfterHide: C
|
|
3632
3619
|
}, [
|
|
3633
|
-
S("div",
|
|
3620
|
+
S("div", Un, [
|
|
3634
3621
|
b(v.$slots, "icon", {}, () => [
|
|
3635
|
-
P(d(
|
|
3622
|
+
P(d(U), {
|
|
3636
3623
|
"data-test": "toast-icon",
|
|
3637
3624
|
"fixed-width": "",
|
|
3638
3625
|
class: "c-toast__icon",
|
|
3639
3626
|
icon: h.value
|
|
3640
3627
|
}, null, 8, ["icon"])
|
|
3641
3628
|
], !0),
|
|
3642
|
-
S("div",
|
|
3629
|
+
S("div", zn, [
|
|
3643
3630
|
b(v.$slots, "default", {}, () => [
|
|
3644
|
-
|
|
3631
|
+
z(O(v.message), 1)
|
|
3645
3632
|
], !0)
|
|
3646
3633
|
])
|
|
3647
3634
|
]),
|
|
@@ -3652,47 +3639,48 @@ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
|
|
|
3652
3639
|
icon: d(Be),
|
|
3653
3640
|
onClick: u
|
|
3654
3641
|
}, null, 8, ["aria-label", "icon"])
|
|
3655
|
-
], 46,
|
|
3642
|
+
], 46, qn));
|
|
3656
3643
|
}
|
|
3657
|
-
}), Xt = /* @__PURE__ */
|
|
3658
|
-
function
|
|
3659
|
-
return X(
|
|
3644
|
+
}), Xt = /* @__PURE__ */ E(Zn, [["__scopeId", "data-v-c25dfff1"]]), Wn = "GLOBAL_TOAST";
|
|
3645
|
+
function Xn() {
|
|
3646
|
+
return X(Wn, {
|
|
3660
3647
|
dismissToast: () => {
|
|
3661
3648
|
},
|
|
3662
3649
|
showToast: () => {
|
|
3663
3650
|
},
|
|
3664
|
-
toasts:
|
|
3651
|
+
toasts: I([])
|
|
3665
3652
|
});
|
|
3666
3653
|
}
|
|
3667
|
-
const
|
|
3654
|
+
const Kn = /* @__PURE__ */ $({
|
|
3668
3655
|
__name: "CToastsList",
|
|
3669
|
-
setup(
|
|
3670
|
-
const { toasts: e, dismissToast: t } =
|
|
3671
|
-
return (a, o) => (
|
|
3672
|
-
key:
|
|
3656
|
+
setup(s) {
|
|
3657
|
+
const { toasts: e, dismissToast: t } = Xn();
|
|
3658
|
+
return (a, o) => (f(!0), g(ce, null, fe(d(e), (l) => (f(), M(Xt, {
|
|
3659
|
+
key: l.id,
|
|
3673
3660
|
value: !0,
|
|
3674
|
-
"data-test":
|
|
3675
|
-
message:
|
|
3676
|
-
variant:
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
}
|
|
3661
|
+
"data-test": l.dataTest || "c-toast",
|
|
3662
|
+
message: l.message,
|
|
3663
|
+
variant: l.variant,
|
|
3664
|
+
dismissible: l.dismissible,
|
|
3665
|
+
onHide: (i) => d(t)(l.id)
|
|
3666
|
+
}, null, 8, ["data-test", "message", "variant", "dismissible", "onHide"]))), 128));
|
|
3667
|
+
}
|
|
3668
|
+
}), Jn = /* @__PURE__ */ $({
|
|
3681
3669
|
__name: "CZipcodeField",
|
|
3682
3670
|
props: {
|
|
3683
3671
|
dataTest: { default: "zipcode-field" },
|
|
3684
3672
|
id: { default: void 0 },
|
|
3685
|
-
label: {
|
|
3686
|
-
placeholder: {
|
|
3673
|
+
label: {},
|
|
3674
|
+
placeholder: {},
|
|
3687
3675
|
rules: { default: () => [] },
|
|
3688
3676
|
value: { default: "" }
|
|
3689
3677
|
},
|
|
3690
3678
|
emits: ["input", "focus", "blur", "change"],
|
|
3691
|
-
setup(
|
|
3692
|
-
const t =
|
|
3679
|
+
setup(s, { expose: e }) {
|
|
3680
|
+
const t = s, { t: a } = ve(), o = [
|
|
3693
3681
|
$e(5, a("Please enter a valid {inputLabel}", { inputLabel: a("ZIP Code") }))
|
|
3694
|
-
],
|
|
3695
|
-
return e({ focus: n }), (r, u) => (
|
|
3682
|
+
], l = c(() => [...o, ...t.rules]), { field: i, focus: n } = Qe();
|
|
3683
|
+
return e({ focus: n }), (r, u) => (f(), M(Ce, q(r.$attrs, {
|
|
3696
3684
|
id: r.id,
|
|
3697
3685
|
ref_key: "field",
|
|
3698
3686
|
ref: i,
|
|
@@ -3707,7 +3695,7 @@ const ei = /* @__PURE__ */ y({
|
|
|
3707
3695
|
type: "tel",
|
|
3708
3696
|
autocorrect: "off",
|
|
3709
3697
|
autocapitalize: "none",
|
|
3710
|
-
rules:
|
|
3698
|
+
rules: l.value,
|
|
3711
3699
|
onInput: u[0] || (u[0] = (p) => r.$emit("input", p)),
|
|
3712
3700
|
onFocus: u[1] || (u[1] = (p) => r.$emit("focus", p)),
|
|
3713
3701
|
onBlur: u[2] || (u[2] = (p) => r.$emit("blur", p)),
|
|
@@ -3722,179 +3710,175 @@ const ei = /* @__PURE__ */ y({
|
|
|
3722
3710
|
_: 3
|
|
3723
3711
|
}, 16, ["id", "data-test", "value", "label", "placeholder", "rules"]));
|
|
3724
3712
|
}
|
|
3725
|
-
}),
|
|
3713
|
+
}), Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3726
3714
|
__proto__: null,
|
|
3727
3715
|
CAccordion: Ta,
|
|
3728
3716
|
CAccordionItem: Sa,
|
|
3729
|
-
CAppBar:
|
|
3730
|
-
CBadge:
|
|
3731
|
-
CBottomSheet:
|
|
3732
|
-
CButton:
|
|
3733
|
-
CCard:
|
|
3734
|
-
CCardFooter:
|
|
3717
|
+
CAppBar: qa,
|
|
3718
|
+
CBadge: Ga,
|
|
3719
|
+
CBottomSheet: us,
|
|
3720
|
+
CButton: We,
|
|
3721
|
+
CCard: ys,
|
|
3722
|
+
CCardFooter: ks,
|
|
3735
3723
|
CCardHeader: wt,
|
|
3736
|
-
CCardSection:
|
|
3724
|
+
CCardSection: Ls,
|
|
3737
3725
|
CCheckbox: Nt,
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
CEmailField: _s,
|
|
3726
|
+
CDivider: Fs,
|
|
3727
|
+
CDobField: ol,
|
|
3728
|
+
CDobSelect: gl,
|
|
3729
|
+
CEmailField: hl,
|
|
3743
3730
|
CExpandTransition: Ft,
|
|
3744
|
-
CFadeTransition:
|
|
3745
|
-
CFileInput:
|
|
3746
|
-
CFixedPageFooter:
|
|
3747
|
-
CForm:
|
|
3731
|
+
CFadeTransition: je,
|
|
3732
|
+
CFileInput: El,
|
|
3733
|
+
CFixedPageFooter: Dl,
|
|
3734
|
+
CForm: wl,
|
|
3748
3735
|
CIconButton: ye,
|
|
3749
|
-
CLabel:
|
|
3736
|
+
CLabel: Vl,
|
|
3750
3737
|
CListItem: Yt,
|
|
3751
|
-
CListItemIcon:
|
|
3738
|
+
CListItemIcon: Je,
|
|
3752
3739
|
CLoader: we,
|
|
3753
|
-
CLogo:
|
|
3740
|
+
CLogo: Kl,
|
|
3754
3741
|
CMaskedTextField: Ce,
|
|
3755
|
-
CMenu:
|
|
3742
|
+
CMenu: Ql,
|
|
3756
3743
|
CMenuItem: so,
|
|
3757
|
-
CMenuLabel:
|
|
3758
|
-
CModal:
|
|
3759
|
-
CModalLoading:
|
|
3760
|
-
CNotification:
|
|
3761
|
-
CPhoneField:
|
|
3744
|
+
CMenuLabel: no,
|
|
3745
|
+
CModal: qt,
|
|
3746
|
+
CModalLoading: go,
|
|
3747
|
+
CNotification: $o,
|
|
3748
|
+
CPhoneField: ko,
|
|
3762
3749
|
CPill: jt,
|
|
3763
|
-
CPillGroup:
|
|
3764
|
-
CPopup:
|
|
3765
|
-
CProgressLinear:
|
|
3766
|
-
CProgressRing:
|
|
3767
|
-
CRadio:
|
|
3768
|
-
CRadioGroup:
|
|
3769
|
-
CRebrand:
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
CSectionHeader: un,
|
|
3750
|
+
CPillGroup: wo,
|
|
3751
|
+
CPopup: Vo,
|
|
3752
|
+
CProgressLinear: Fo,
|
|
3753
|
+
CProgressRing: Uo,
|
|
3754
|
+
CRadio: Zo,
|
|
3755
|
+
CRadioGroup: Jo,
|
|
3756
|
+
CRebrand: xo,
|
|
3757
|
+
CSafeArea: sn,
|
|
3758
|
+
CSectionHeader: nn,
|
|
3773
3759
|
CSelect: Ee,
|
|
3774
3760
|
CSkeleton: Ne,
|
|
3775
|
-
CSkeletonLoaderCard:
|
|
3776
|
-
CSkeletonLoaderCircle:
|
|
3777
|
-
CSkeletonLoaderText:
|
|
3778
|
-
CSlideFadeTransition:
|
|
3779
|
-
CSplitInput:
|
|
3780
|
-
CSquaredIcon:
|
|
3781
|
-
CSsnField:
|
|
3782
|
-
CStatusDot:
|
|
3761
|
+
CSkeletonLoaderCard: un,
|
|
3762
|
+
CSkeletonLoaderCircle: pn,
|
|
3763
|
+
CSkeletonLoaderText: mn,
|
|
3764
|
+
CSlideFadeTransition: gn,
|
|
3765
|
+
CSplitInput: _n,
|
|
3766
|
+
CSquaredIcon: Ke,
|
|
3767
|
+
CSsnField: Cn,
|
|
3768
|
+
CStatusDot: $n,
|
|
3783
3769
|
CSwitch: Wt,
|
|
3784
|
-
CSwitchListItem:
|
|
3785
|
-
CTextArea:
|
|
3786
|
-
CTextField:
|
|
3787
|
-
CTextLink:
|
|
3788
|
-
CThirdPartyLogo:
|
|
3789
|
-
CTimeago:
|
|
3770
|
+
CSwitchListItem: En,
|
|
3771
|
+
CTextArea: Rn,
|
|
3772
|
+
CTextField: Xe,
|
|
3773
|
+
CTextLink: Vn,
|
|
3774
|
+
CThirdPartyLogo: Fn,
|
|
3775
|
+
CTimeago: Yn,
|
|
3790
3776
|
CToast: Xt,
|
|
3791
|
-
CToastsList:
|
|
3792
|
-
CZipcodeField:
|
|
3793
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3794
|
-
install(
|
|
3795
|
-
Object.entries(
|
|
3796
|
-
|
|
3797
|
-
}),
|
|
3798
|
-
}
|
|
3799
|
-
},
|
|
3777
|
+
CToastsList: Kn,
|
|
3778
|
+
CZipcodeField: Jn
|
|
3779
|
+
}, Symbol.toStringTag, { value: "Module" })), Ti = {
|
|
3780
|
+
install(s) {
|
|
3781
|
+
Object.entries(Qn).forEach(([e, t]) => {
|
|
3782
|
+
s.component(e, t);
|
|
3783
|
+
}), s.config.compilerOptions.isCustomElement = (e) => e.startsWith("sl-"), s.directive("scroll-into-view", Wa), s.directive("tap-animation", Et);
|
|
3784
|
+
}
|
|
3785
|
+
}, Li = Object.entries(J).reduce((s, [e, t]) => {
|
|
3800
3786
|
const a = e.toLowerCase().replace(/_/g, "-");
|
|
3801
|
-
return
|
|
3802
|
-
}, {}),
|
|
3787
|
+
return s[a] = t, s;
|
|
3788
|
+
}, {}), Ii = {
|
|
3803
3789
|
citrusCheckboxOn: {
|
|
3804
|
-
component:
|
|
3790
|
+
component: U,
|
|
3805
3791
|
props: { icon: ka }
|
|
3806
3792
|
},
|
|
3807
3793
|
citrusCheckboxOff: {
|
|
3808
|
-
component:
|
|
3794
|
+
component: U,
|
|
3809
3795
|
props: { icon: ya }
|
|
3810
3796
|
},
|
|
3811
3797
|
citrusRadioOn: {
|
|
3812
|
-
component:
|
|
3798
|
+
component: U,
|
|
3813
3799
|
props: { icon: $a }
|
|
3814
3800
|
},
|
|
3815
3801
|
citrusRadioOff: {
|
|
3816
|
-
component:
|
|
3802
|
+
component: U,
|
|
3817
3803
|
props: { icon: Ca }
|
|
3818
3804
|
},
|
|
3819
3805
|
citrusClear: {
|
|
3820
|
-
component:
|
|
3806
|
+
component: U,
|
|
3821
3807
|
props: { icon: _a }
|
|
3822
3808
|
}
|
|
3823
3809
|
};
|
|
3824
|
-
var
|
|
3810
|
+
var xn = /* @__PURE__ */ ((s) => (s.DEFAULT = "default", s.CONTAINED = "contained", s.SEGMENTED = "segmented", s))(xn || {});
|
|
3825
3811
|
export {
|
|
3826
3812
|
Ta as CAccordion,
|
|
3827
3813
|
Sa as CAccordionItem,
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3814
|
+
qa as CAppBar,
|
|
3815
|
+
Ga as CBadge,
|
|
3816
|
+
us as CBottomSheet,
|
|
3817
|
+
We as CButton,
|
|
3818
|
+
ys as CCard,
|
|
3819
|
+
ks as CCardFooter,
|
|
3834
3820
|
wt as CCardHeader,
|
|
3835
|
-
|
|
3821
|
+
Ls as CCardSection,
|
|
3836
3822
|
Nt as CCheckbox,
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
_s as CEmailField,
|
|
3823
|
+
Fs as CDivider,
|
|
3824
|
+
ol as CDobField,
|
|
3825
|
+
gl as CDobSelect,
|
|
3826
|
+
hl as CEmailField,
|
|
3842
3827
|
Ft as CExpandTransition,
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3828
|
+
je as CFadeTransition,
|
|
3829
|
+
El as CFileInput,
|
|
3830
|
+
Dl as CFixedPageFooter,
|
|
3831
|
+
wl as CForm,
|
|
3847
3832
|
ye as CIconButton,
|
|
3848
|
-
|
|
3833
|
+
Vl as CLabel,
|
|
3849
3834
|
Yt as CListItem,
|
|
3850
|
-
|
|
3835
|
+
Je as CListItemIcon,
|
|
3851
3836
|
we as CLoader,
|
|
3852
|
-
|
|
3837
|
+
Kl as CLogo,
|
|
3853
3838
|
Ce as CMaskedTextField,
|
|
3854
|
-
|
|
3839
|
+
Ql as CMenu,
|
|
3855
3840
|
so as CMenuItem,
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3841
|
+
no as CMenuLabel,
|
|
3842
|
+
qt as CModal,
|
|
3843
|
+
go as CModalLoading,
|
|
3844
|
+
$o as CNotification,
|
|
3845
|
+
ko as CPhoneField,
|
|
3861
3846
|
jt as CPill,
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
nn as
|
|
3871
|
-
un as CSectionHeader,
|
|
3847
|
+
wo as CPillGroup,
|
|
3848
|
+
Vo as CPopup,
|
|
3849
|
+
Fo as CProgressLinear,
|
|
3850
|
+
Uo as CProgressRing,
|
|
3851
|
+
Zo as CRadio,
|
|
3852
|
+
Jo as CRadioGroup,
|
|
3853
|
+
xo as CRebrand,
|
|
3854
|
+
sn as CSafeArea,
|
|
3855
|
+
nn as CSectionHeader,
|
|
3872
3856
|
Ee as CSelect,
|
|
3873
3857
|
Ne as CSkeleton,
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3858
|
+
un as CSkeletonLoaderCard,
|
|
3859
|
+
pn as CSkeletonLoaderCircle,
|
|
3860
|
+
mn as CSkeletonLoaderText,
|
|
3861
|
+
gn as CSlideFadeTransition,
|
|
3862
|
+
_n as CSplitInput,
|
|
3863
|
+
Ke as CSquaredIcon,
|
|
3864
|
+
Cn as CSsnField,
|
|
3865
|
+
$n as CStatusDot,
|
|
3882
3866
|
Wt as CSwitch,
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3867
|
+
En as CSwitchListItem,
|
|
3868
|
+
Rn as CTextArea,
|
|
3869
|
+
Xe as CTextField,
|
|
3870
|
+
Vn as CTextLink,
|
|
3871
|
+
Fn as CThirdPartyLogo,
|
|
3872
|
+
Yn as CTimeago,
|
|
3889
3873
|
Xt as CToast,
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3874
|
+
Kn as CToastsList,
|
|
3875
|
+
Jn as CZipcodeField,
|
|
3876
|
+
J as Colors,
|
|
3877
|
+
Ii as Icons,
|
|
3878
|
+
xn as InputVariants,
|
|
3879
|
+
Li as Theme,
|
|
3880
|
+
Ti as default,
|
|
3881
|
+
Wa as scrollIntoView,
|
|
3898
3882
|
Et as tapAnimation
|
|
3899
3883
|
};
|
|
3900
3884
|
//# sourceMappingURL=index.mjs.map
|