@alfadocs/ui-kit 0.38.0 → 0.40.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/_chunks/{accordion-bSU21uTV.js → accordion-9lJSMMsZ.js} +6 -6
- package/dist/_chunks/{agenda-tray-By_asPN9.js → agenda-tray-Dyj9ChHC.js} +22 -21
- package/dist/_chunks/{bmi-calculator-BRUru9QX.js → bmi-calculator-DnEr513I.js} +2 -2
- package/dist/_chunks/{booking-DK_BPHnQ.js → booking-4mCw3Mpl.js} +2 -2
- package/dist/_chunks/{chart-DnHvmiDX.js → chart-Cbt0_sKv.js} +46 -37
- package/dist/_chunks/{collapsible-CERONory.js → collapsible-X3oaLPU3.js} +5 -5
- package/dist/_chunks/{document-scanner-CdHQ6lTN.js → document-scanner-CqS_klIr.js} +56 -55
- package/dist/_chunks/{editable-currency-cell-renderer-DGKuRNVG.js → editable-currency-cell-renderer-DgkCIIcO.js} +2 -2
- package/dist/_chunks/{file-upload-CnzRcErt.js → file-upload-BosbPDb1.js} +2 -2
- package/dist/_chunks/{freemium-paywall-D1N02Oam.js → freemium-paywall-BAk3a6er.js} +7 -7
- package/dist/_chunks/header-settings-CBLwUK6t.js +244 -0
- package/dist/_chunks/{map-view-vD5pvWs9.js → map-view-qJLybrmN.js} +2 -2
- package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +296 -0
- package/dist/_chunks/{message-card-BbRhZkDI.js → message-card-DSPw5ghw.js} +20 -19
- package/dist/_chunks/{message-tray-B762TKuv.js → message-tray-hSQff9u4.js} +3 -3
- package/dist/_chunks/{notification-card-DMdO4g54.js → notification-card-CObnGdJu.js} +22 -21
- package/dist/_chunks/{notification-tray-Dl3FTleW.js → notification-tray-BWHDIjgd.js} +2 -2
- package/dist/_chunks/{otp-input-CDTWT5EK.js → otp-input-CMphfBxZ.js} +70 -71
- package/dist/_chunks/{patient-shell-Bz3CdO84.js → patient-shell-DF81lALv.js} +36 -35
- package/dist/_chunks/{payment-form-D5rgnZu7.js → payment-form-Dy3WIIsC.js} +18 -18
- package/dist/_chunks/{pdf-viewer-DvtEHcEP.js → pdf-viewer-Cy6Ul3hZ.js} +2 -2
- package/dist/_chunks/{practice-results-C8ciLQap.js → practice-results-C0d4IL5E.js} +2 -2
- package/dist/_chunks/{public-footer.agent-zw1vFin_.js → public-footer.agent-okt8ZRc5.js} +2 -2
- package/dist/_chunks/{reviews-panel-Dow8Dzoa.js → reviews-panel-CPrXu5TX.js} +2 -2
- package/dist/_chunks/{sidebar-BbR8f6oe.js → sidebar-_vJXI9rB.js} +2 -2
- package/dist/_chunks/sign-document-CpLDZ6Db.js +316 -0
- package/dist/_chunks/{signature-capture-C-fF71xI.js → signature-capture-DoiBd6i3.js} +138 -143
- package/dist/_chunks/{sparkline-DEROcSl0.js → sparkline-DGhCSw8M.js} +55 -46
- package/dist/_chunks/{stepper-accordion-BfS6lUB9.js → stepper-accordion-Dki6r9ZE.js} +2 -2
- package/dist/_chunks/{tag-CyoaEmf_.js → tag-CdA0s_VV.js} +16 -16
- package/dist/_chunks/{task-card-BUVMh6HN.js → task-card-CPyQ5AXC.js} +6 -5
- package/dist/_chunks/{task-tray-DRK0b0Qb.js → task-tray-B8jFv5FV.js} +36 -35
- package/dist/_chunks/{transcript-panel-DyhTpAP7.js → transcript-panel-CR7VY1uw.js} +8 -7
- package/dist/_chunks/{warning-stack-bDicCvxs.js → warning-stack-DNR3-IbP.js} +17 -16
- package/dist/_chunks/{workflow-map-uSiHbOWQ.js → workflow-map-C3gB0FvB.js} +3 -2
- package/dist/agent-catalog.json +39 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/chart/chart.d.ts +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header-settings/header-settings.agent.d.ts +4 -0
- package/dist/components/header-settings/header-settings.d.ts +36 -0
- package/dist/components/header-settings/index.d.ts +2 -0
- package/dist/components/header-settings/index.js +2 -241
- package/dist/components/index.d.ts +1 -0
- package/dist/components/locale-picker/locale-picker.agent.d.ts +4 -0
- package/dist/components/locale-picker/locale-picker.d.ts +80 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/otp-input/index.d.ts +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.d.ts +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.d.ts +4 -0
- package/dist/components/sign-document/index.js +6 -0
- package/dist/components/sign-document/sign-document.agent.d.ts +4 -0
- package/dist/components/sign-document/sign-document.d.ts +47 -0
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.d.ts +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locale-meta.d.ts +56 -0
- package/dist/i18n/locales/ar.d.ts +22 -0
- package/dist/i18n/locales/ar.js +22 -0
- package/dist/i18n/locales/de.d.ts +22 -0
- package/dist/i18n/locales/de.js +22 -0
- package/dist/i18n/locales/el.d.ts +22 -0
- package/dist/i18n/locales/el.js +22 -0
- package/dist/i18n/locales/en.d.ts +22 -0
- package/dist/i18n/locales/en.js +22 -0
- package/dist/i18n/locales/es.d.ts +22 -0
- package/dist/i18n/locales/es.js +22 -0
- package/dist/i18n/locales/fr.d.ts +22 -0
- package/dist/i18n/locales/fr.js +22 -0
- package/dist/i18n/locales/hi.d.ts +22 -0
- package/dist/i18n/locales/hi.js +22 -0
- package/dist/i18n/locales/it.d.ts +22 -0
- package/dist/i18n/locales/it.js +22 -0
- package/dist/i18n/locales/ja.d.ts +22 -0
- package/dist/i18n/locales/ja.js +22 -0
- package/dist/i18n/locales/nl.d.ts +22 -0
- package/dist/i18n/locales/nl.js +22 -0
- package/dist/i18n/locales/pl.d.ts +22 -0
- package/dist/i18n/locales/pl.js +22 -0
- package/dist/i18n/locales/pt.d.ts +22 -0
- package/dist/i18n/locales/pt.js +22 -0
- package/dist/i18n/locales/ro.d.ts +22 -0
- package/dist/i18n/locales/ro.js +22 -0
- package/dist/i18n/locales/ru.d.ts +22 -0
- package/dist/i18n/locales/ru.js +22 -0
- package/dist/i18n/locales/sq.d.ts +22 -0
- package/dist/i18n/locales/sq.js +22 -0
- package/dist/i18n/locales/sv.d.ts +22 -0
- package/dist/i18n/locales/sv.js +22 -0
- package/dist/i18n/locales/tr.d.ts +22 -0
- package/dist/i18n/locales/tr.js +22 -0
- package/dist/i18n/locales/zh.d.ts +22 -0
- package/dist/i18n/locales/zh.js +22 -0
- package/dist/index.js +110 -107
- package/dist/locales/ar.json +22 -0
- package/dist/locales/de.json +22 -0
- package/dist/locales/el.json +22 -0
- package/dist/locales/en.json +22 -0
- package/dist/locales/es.json +22 -0
- package/dist/locales/fr.json +22 -0
- package/dist/locales/hi.json +22 -0
- package/dist/locales/it.json +22 -0
- package/dist/locales/ja.json +22 -0
- package/dist/locales/nl.json +22 -0
- package/dist/locales/pl.json +22 -0
- package/dist/locales/pt.json +22 -0
- package/dist/locales/ro.json +22 -0
- package/dist/locales/ru.json +22 -0
- package/dist/locales/sq.json +22 -0
- package/dist/locales/sv.json +22 -0
- package/dist/locales/tr.json +22 -0
- package/dist/locales/zh.json +22 -0
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +12 -8
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/marketplace-app-shell-BnClrL2B.js +0 -295
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as k, useState as w } from "react";
|
|
3
3
|
import { useTranslation as m } from "react-i18next";
|
|
4
4
|
import { A } from "./app-frame-BYx1gcV7.js";
|
|
5
|
-
import { I as
|
|
5
|
+
import { I as C } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { D as i } from "./dropdown-menu-BC5ZdOMo.js";
|
|
7
|
-
import { H
|
|
7
|
+
import { H, g as x, f as N, e as B, a as M, c as T, d as O } from "./header-CTZWX-tm.js";
|
|
8
8
|
import { L as P } from "./logo-yituK7sE.js";
|
|
9
|
-
import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-
|
|
9
|
+
import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-_vJXI9rB.js";
|
|
10
10
|
import { T as E } from "./theme-root-BOO73p5t.js";
|
|
11
11
|
import { a as q } from "./tooltip-DvmfrNvB.js";
|
|
12
12
|
import { u as F } from "./use-theme-C2dHKUAN.js";
|
|
@@ -25,31 +25,31 @@ const K = [
|
|
|
25
25
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
26
26
|
["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
|
|
27
27
|
], Q = G("maximize-2", K);
|
|
28
|
-
function V(
|
|
29
|
-
return
|
|
28
|
+
function V(a) {
|
|
29
|
+
return a > 99 ? "99+" : String(a);
|
|
30
30
|
}
|
|
31
|
-
function X(
|
|
32
|
-
if (
|
|
31
|
+
function X(a) {
|
|
32
|
+
if (a.startsWith("/") || a.startsWith("#") || a.startsWith("?"))
|
|
33
33
|
return !0;
|
|
34
34
|
try {
|
|
35
|
-
const t = new URL(
|
|
35
|
+
const t = new URL(a, window.location.origin);
|
|
36
36
|
return t.protocol === "http:" || t.protocol === "https:";
|
|
37
37
|
} catch {
|
|
38
38
|
return !1;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
function Y({
|
|
42
|
-
logoutHref:
|
|
42
|
+
logoutHref: a,
|
|
43
43
|
onToggleFullscreen: t
|
|
44
44
|
}) {
|
|
45
|
-
const { t:
|
|
45
|
+
const { t: r } = m();
|
|
46
46
|
return /* @__PURE__ */ n(i.Root, { children: [
|
|
47
47
|
/* @__PURE__ */ e(i.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
48
|
-
|
|
48
|
+
C,
|
|
49
49
|
{
|
|
50
50
|
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
51
|
-
"aria-label":
|
|
52
|
-
tooltip:
|
|
51
|
+
"aria-label": r("patientShell.settings.triggerAria"),
|
|
52
|
+
tooltip: r("patientShell.settings.triggerAria"),
|
|
53
53
|
"data-testid": "patient-shell-settings-trigger"
|
|
54
54
|
}
|
|
55
55
|
) }),
|
|
@@ -60,7 +60,7 @@ function Y({
|
|
|
60
60
|
startIcon: /* @__PURE__ */ e(Q, { "aria-hidden": "true" }),
|
|
61
61
|
onSelect: t,
|
|
62
62
|
"data-testid": "patient-shell-fullscreen",
|
|
63
|
-
children:
|
|
63
|
+
children: r("patientShell.settings.fullscreen")
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
66
|
/* @__PURE__ */ e(i.Separator, {}),
|
|
@@ -69,18 +69,18 @@ function Y({
|
|
|
69
69
|
{
|
|
70
70
|
startIcon: /* @__PURE__ */ e(J, { "aria-hidden": "true" }),
|
|
71
71
|
onSelect: () => {
|
|
72
|
-
typeof window > "u" || X(
|
|
72
|
+
typeof window > "u" || X(a) && window.location.assign(a);
|
|
73
73
|
},
|
|
74
74
|
"data-testid": "patient-shell-logout",
|
|
75
|
-
children:
|
|
75
|
+
children: r("patientShell.settings.logout")
|
|
76
76
|
}
|
|
77
77
|
)
|
|
78
78
|
] })
|
|
79
79
|
] });
|
|
80
80
|
}
|
|
81
|
-
function Z({ menuItems:
|
|
82
|
-
return /* @__PURE__ */ e(j, { children:
|
|
83
|
-
const
|
|
81
|
+
function Z({ menuItems: a }) {
|
|
82
|
+
return /* @__PURE__ */ e(j, { children: a.map((t) => {
|
|
83
|
+
const r = typeof t.badgeCount == "number" && t.badgeCount > 0 ? t.badgeCount : void 0;
|
|
84
84
|
return /* @__PURE__ */ n(
|
|
85
85
|
R,
|
|
86
86
|
{
|
|
@@ -90,18 +90,18 @@ function Z({ menuItems: r }) {
|
|
|
90
90
|
children: [
|
|
91
91
|
t.icon ? /* @__PURE__ */ e(_, { children: t.icon }) : null,
|
|
92
92
|
/* @__PURE__ */ e(z, { children: t.label }),
|
|
93
|
-
|
|
93
|
+
r !== void 0 ? /* @__PURE__ */ e(D, { children: V(r) }) : null
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
96
|
t.id
|
|
97
97
|
);
|
|
98
98
|
}) });
|
|
99
99
|
}
|
|
100
|
-
const $ =
|
|
100
|
+
const $ = k(
|
|
101
101
|
({
|
|
102
|
-
menuItems:
|
|
102
|
+
menuItems: a,
|
|
103
103
|
logoutHref: t,
|
|
104
|
-
onToggleFullscreen:
|
|
104
|
+
onToggleFullscreen: r,
|
|
105
105
|
brandLogo: p,
|
|
106
106
|
brandHref: u = "/",
|
|
107
107
|
mainAriaLabel: f,
|
|
@@ -114,20 +114,21 @@ const $ = w(
|
|
|
114
114
|
userName: ee,
|
|
115
115
|
userAvatarSrc: te
|
|
116
116
|
}, s) => {
|
|
117
|
-
const { t:
|
|
117
|
+
const { t: l } = m(), { theme: b, accessibility: S, resolvedTheme: d } = F(), v = b !== "system" || S !== "system", y = d.startsWith("dark") ? "dark" : "light", I = d.endsWith("-accessible"), [L, c] = w(!1), h = /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(
|
|
118
118
|
A,
|
|
119
119
|
{
|
|
120
120
|
mainAriaLabel: f,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
/* @__PURE__ */ e(
|
|
121
|
+
mainClassName: "ds:bg-[color:var(--app-shell-background)]",
|
|
122
|
+
header: /* @__PURE__ */ n(H, { children: [
|
|
123
|
+
/* @__PURE__ */ n(x, { children: [
|
|
124
|
+
/* @__PURE__ */ e(N, { href: "#main-content" }),
|
|
125
|
+
/* @__PURE__ */ e(B, { onMenuOpen: () => c(!0) }),
|
|
125
126
|
/* @__PURE__ */ e(
|
|
126
|
-
|
|
127
|
+
M,
|
|
127
128
|
{
|
|
128
129
|
logo: p ?? /* @__PURE__ */ e(P, { variant: "monochrome", size: "md", decorative: !0 }),
|
|
129
130
|
href: u,
|
|
130
|
-
"aria-label":
|
|
131
|
+
"aria-label": l("patientShell.brand.homeAria")
|
|
131
132
|
}
|
|
132
133
|
)
|
|
133
134
|
] }),
|
|
@@ -136,7 +137,7 @@ const $ = w(
|
|
|
136
137
|
Y,
|
|
137
138
|
{
|
|
138
139
|
logoutHref: t,
|
|
139
|
-
onToggleFullscreen:
|
|
140
|
+
onToggleFullscreen: r
|
|
140
141
|
}
|
|
141
142
|
) })
|
|
142
143
|
] }),
|
|
@@ -146,9 +147,9 @@ const $ = w(
|
|
|
146
147
|
...o !== void 0 ? { state: o } : { defaultState: "expanded" },
|
|
147
148
|
open: L,
|
|
148
149
|
onOpenChange: c,
|
|
149
|
-
"aria-label":
|
|
150
|
+
"aria-label": l("patientShell.sidebar.panelLabel"),
|
|
150
151
|
"data-testid": "patient-shell-sidebar",
|
|
151
|
-
children: /* @__PURE__ */ e(Z, { menuItems:
|
|
152
|
+
children: /* @__PURE__ */ e(Z, { menuItems: a })
|
|
152
153
|
}
|
|
153
154
|
),
|
|
154
155
|
children: g
|
|
@@ -170,4 +171,4 @@ $.displayName = "PatientShell";
|
|
|
170
171
|
export {
|
|
171
172
|
$ as P
|
|
172
173
|
};
|
|
173
|
-
//# sourceMappingURL=patient-shell-
|
|
174
|
+
//# sourceMappingURL=patient-shell-DF81lALv.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as se, useState as
|
|
2
|
+
import { forwardRef as se, useState as C, useEffect as R, useRef as V, useMemo as j, useImperativeHandle as ae, useId as oe, useCallback as ie } from "react";
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as q } from "react-i18next";
|
|
5
5
|
import { S as J } from "./spinner-CCByyvcb.js";
|
|
@@ -186,13 +186,13 @@ const we = z(
|
|
|
186
186
|
"ds:payment-form-alfadocs ds:flex ds:flex-col",
|
|
187
187
|
"ds:gap-[var(--spacing-md)]",
|
|
188
188
|
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
189
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
189
|
+
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--card-border)] ds:shadow-[var(--shadow-card)] ds:[.theme-accessible_&]:border-2",
|
|
190
190
|
"ds:p-[var(--spacing-md)]",
|
|
191
191
|
"ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
|
|
192
192
|
].join(" ")
|
|
193
193
|
), T = z(
|
|
194
194
|
["ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]"].join(" ")
|
|
195
|
-
),
|
|
195
|
+
), E = z(
|
|
196
196
|
["type-label", "ds:text-[var(--foreground)]"].join(" ")
|
|
197
197
|
), Q = z(
|
|
198
198
|
[
|
|
@@ -236,7 +236,7 @@ function xe(r) {
|
|
|
236
236
|
} = r, { t: o } = q(), k = le(), S = me(), g = oe(), b = j(
|
|
237
237
|
() => `pay-${g.replace(/[^a-zA-Z0-9-_]/g, "")}`,
|
|
238
238
|
[g]
|
|
239
|
-
), F = `${b}-payment`, L = `${b}-address`, v = `${b}-error`, [u, h] =
|
|
239
|
+
), F = `${b}-payment`, L = `${b}-address`, v = `${b}-error`, [u, h] = C(!1), [A, P] = C(!1), [w, x] = C(null), [U, d] = C(""), c = V(f), l = V(N);
|
|
240
240
|
R(() => {
|
|
241
241
|
c.current = f, l.current = N;
|
|
242
242
|
}, [f, N]);
|
|
@@ -245,8 +245,8 @@ function xe(r) {
|
|
|
245
245
|
var G, H, O, K;
|
|
246
246
|
if (p && p.preventDefault(), !k || !S || u) return;
|
|
247
247
|
h(!0), x(null), d("");
|
|
248
|
-
const
|
|
249
|
-
if (a !== void 0 &&
|
|
248
|
+
const _ = ve(a);
|
|
249
|
+
if (a !== void 0 && _ === null) {
|
|
250
250
|
x("payment.error.invalidReturnUrl"), d(o("payment.error.invalidReturnUrl")), (G = l.current) == null || G.call(l, {
|
|
251
251
|
code: "invalid_return_url",
|
|
252
252
|
translatedMessage: o("payment.error.invalidReturnUrl")
|
|
@@ -256,7 +256,7 @@ function xe(r) {
|
|
|
256
256
|
try {
|
|
257
257
|
const y = await k.confirmPayment({
|
|
258
258
|
elements: S,
|
|
259
|
-
confirmParams:
|
|
259
|
+
confirmParams: _ ? { return_url: _ } : {},
|
|
260
260
|
redirect: "if_required"
|
|
261
261
|
});
|
|
262
262
|
if (y.error) {
|
|
@@ -283,10 +283,10 @@ function xe(r) {
|
|
|
283
283
|
R(() => {
|
|
284
284
|
const p = document.getElementById(b);
|
|
285
285
|
if (!p) return;
|
|
286
|
-
const
|
|
286
|
+
const _ = () => {
|
|
287
287
|
D();
|
|
288
288
|
};
|
|
289
|
-
return p.addEventListener("payment-form:submit",
|
|
289
|
+
return p.addEventListener("payment-form:submit", _), () => p.removeEventListener("payment-form:submit", _);
|
|
290
290
|
}, [b, D]);
|
|
291
291
|
const re = !k || !S || !A || u;
|
|
292
292
|
return /* @__PURE__ */ t(
|
|
@@ -299,7 +299,7 @@ function xe(r) {
|
|
|
299
299
|
noValidate: !0,
|
|
300
300
|
children: /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
301
301
|
/* @__PURE__ */ m("div", { className: Q(), children: [
|
|
302
|
-
/* @__PURE__ */ t("span", { className:
|
|
302
|
+
/* @__PURE__ */ t("span", { className: E(), children: o("payment.amountLabel") }),
|
|
303
303
|
/* @__PURE__ */ t("span", { className: "type-title-card", "data-testid": "payment-amount", children: $(n, s, e) })
|
|
304
304
|
] }),
|
|
305
305
|
/* @__PURE__ */ m(
|
|
@@ -309,7 +309,7 @@ function xe(r) {
|
|
|
309
309
|
className: T(),
|
|
310
310
|
"data-testid": "payment-field",
|
|
311
311
|
children: [
|
|
312
|
-
/* @__PURE__ */ t("span", { className:
|
|
312
|
+
/* @__PURE__ */ t("span", { className: E(), children: o("payment.fields.card") }),
|
|
313
313
|
/* @__PURE__ */ t(
|
|
314
314
|
ue,
|
|
315
315
|
{
|
|
@@ -332,7 +332,7 @@ function xe(r) {
|
|
|
332
332
|
className: T(),
|
|
333
333
|
"data-testid": "payment-address",
|
|
334
334
|
children: [
|
|
335
|
-
/* @__PURE__ */ t("span", { className:
|
|
335
|
+
/* @__PURE__ */ t("span", { className: E(), children: o("payment.billingAddress") }),
|
|
336
336
|
/* @__PURE__ */ t(pe, { id: L, options: { mode: "billing" } })
|
|
337
337
|
]
|
|
338
338
|
}
|
|
@@ -444,7 +444,7 @@ const ke = se(
|
|
|
444
444
|
stripePromise: g,
|
|
445
445
|
className: b
|
|
446
446
|
}, F) => {
|
|
447
|
-
const { i18n: L } = q(), v = Ne(o ?? L.language ?? "en"), [u, h] =
|
|
447
|
+
const { i18n: L } = q(), v = Ne(o ?? L.language ?? "en"), [u, h] = C(g ?? null);
|
|
448
448
|
R(() => {
|
|
449
449
|
if (g !== void 0) {
|
|
450
450
|
h(g);
|
|
@@ -456,7 +456,7 @@ const ke = se(
|
|
|
456
456
|
}
|
|
457
457
|
h(de(s));
|
|
458
458
|
}, [g, s]);
|
|
459
|
-
const [A, P] =
|
|
459
|
+
const [A, P] = C(
|
|
460
460
|
() => B()
|
|
461
461
|
);
|
|
462
462
|
R(() => (P(B()), be(P)), []);
|
|
@@ -538,11 +538,11 @@ function Se(r) {
|
|
|
538
538
|
"aria-busy": "true",
|
|
539
539
|
children: [
|
|
540
540
|
/* @__PURE__ */ m("div", { className: Q(), children: [
|
|
541
|
-
/* @__PURE__ */ t("span", { className:
|
|
541
|
+
/* @__PURE__ */ t("span", { className: E(), children: a("payment.amountLabel") }),
|
|
542
542
|
/* @__PURE__ */ t("span", { className: "type-title-card", children: $(n, s, e) })
|
|
543
543
|
] }),
|
|
544
544
|
/* @__PURE__ */ m("div", { className: T(), children: [
|
|
545
|
-
/* @__PURE__ */ t("span", { className:
|
|
545
|
+
/* @__PURE__ */ t("span", { className: E(), children: a("payment.fields.card") }),
|
|
546
546
|
/* @__PURE__ */ t(
|
|
547
547
|
"div",
|
|
548
548
|
{
|
|
@@ -552,7 +552,7 @@ function Se(r) {
|
|
|
552
552
|
)
|
|
553
553
|
] }),
|
|
554
554
|
i ? /* @__PURE__ */ m("div", { className: T(), "data-testid": "payment-address", children: [
|
|
555
|
-
/* @__PURE__ */ t("span", { className:
|
|
555
|
+
/* @__PURE__ */ t("span", { className: E(), children: a("payment.billingAddress") }),
|
|
556
556
|
/* @__PURE__ */ t(
|
|
557
557
|
"div",
|
|
558
558
|
{
|
|
@@ -587,4 +587,4 @@ export {
|
|
|
587
587
|
ye as p,
|
|
588
588
|
ee as s
|
|
589
589
|
};
|
|
590
|
-
//# sourceMappingURL=payment-form-
|
|
590
|
+
//# sourceMappingURL=payment-form-Dy3WIIsC.js.map
|
|
@@ -88,7 +88,7 @@ const ke = J(
|
|
|
88
88
|
"ds:pdf-viewer-alfadocs ds:flex ds:flex-col",
|
|
89
89
|
"ds:gap-[var(--spacing-sm)]",
|
|
90
90
|
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
91
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
91
|
+
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2",
|
|
92
92
|
"ds:overflow-hidden",
|
|
93
93
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
94
94
|
"ds:focus-visible:outline-solid",
|
|
@@ -944,4 +944,4 @@ export {
|
|
|
944
944
|
at as P,
|
|
945
945
|
Ge as p
|
|
946
946
|
};
|
|
947
|
-
//# sourceMappingURL=pdf-viewer-
|
|
947
|
+
//# sourceMappingURL=pdf-viewer-Cy6Ul3hZ.js.map
|
|
@@ -7,7 +7,7 @@ import { A as ke } from "./avatar-BNQNhoyL.js";
|
|
|
7
7
|
import { B as G } from "./button-DD_0Xdmr.js";
|
|
8
8
|
import { D as H } from "./dropdown-menu-BC5ZdOMo.js";
|
|
9
9
|
import { E as Je } from "./empty-state-BLy7tigq.js";
|
|
10
|
-
import { M as We } from "./map-view-
|
|
10
|
+
import { M as We } from "./map-view-qJLybrmN.js";
|
|
11
11
|
import { R as Ce } from "./rating-BRD7O74e.js";
|
|
12
12
|
import { S as z } from "./sheet-BV-yuLE2.js";
|
|
13
13
|
import { S as Xe } from "./skeleton-CZbwyJAA.js";
|
|
@@ -1569,4 +1569,4 @@ export {
|
|
|
1569
1569
|
Ct as P,
|
|
1570
1570
|
rt as p
|
|
1571
1571
|
};
|
|
1572
|
-
//# sourceMappingURL=practice-results-
|
|
1572
|
+
//# sourceMappingURL=practice-results-C0d4IL5E.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as S } from "react-i18next";
|
|
|
5
5
|
import { L as f } from "./link-DrD_cRUg.js";
|
|
6
6
|
import { S as m } from "./separator-CYU_bGFn.js";
|
|
7
7
|
import { L as T } from "./logo-yituK7sE.js";
|
|
8
|
-
import { A as D, b as G, c as U, a as O } from "./accordion-
|
|
8
|
+
import { A as D, b as G, c as U, a as O } from "./accordion-9lJSMMsZ.js";
|
|
9
9
|
const L = "https://www.alfadocs.com", F = {
|
|
10
10
|
privacy: "/privacy-prenotazione-online",
|
|
11
11
|
terms: "/it/condizioni-di-utilizzo",
|
|
@@ -588,4 +588,4 @@ export {
|
|
|
588
588
|
W as c,
|
|
589
589
|
ye as p
|
|
590
590
|
};
|
|
591
|
-
//# sourceMappingURL=public-footer.agent-
|
|
591
|
+
//# sourceMappingURL=public-footer.agent-okt8ZRc5.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as H } from "react-i18next";
|
|
|
5
5
|
import { u as W } from "./registry-nPAVE19X.js";
|
|
6
6
|
import { R as N } from "./rating-BRD7O74e.js";
|
|
7
7
|
import { C as A } from "./card-DPmk26CL.js";
|
|
8
|
-
import { C as X, b as Y, a as Z } from "./collapsible-
|
|
8
|
+
import { C as X, b as Y, a as Z } from "./collapsible-X3oaLPU3.js";
|
|
9
9
|
import { D as l } from "./description-list-BEbK2g93.js";
|
|
10
10
|
import { E as ee } from "./empty-state-BLy7tigq.js";
|
|
11
11
|
import { S as T } from "./skeleton-CZbwyJAA.js";
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
oe as R,
|
|
534
534
|
re as r
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=reviews-panel-
|
|
536
|
+
//# sourceMappingURL=reviews-panel-CPrXu5TX.js.map
|
|
@@ -4,7 +4,7 @@ import * as I from "@radix-ui/react-dialog";
|
|
|
4
4
|
import * as H from "@radix-ui/react-collapsible";
|
|
5
5
|
import * as A from "@radix-ui/react-accordion";
|
|
6
6
|
import * as S from "@radix-ui/react-tooltip";
|
|
7
|
-
import { a as is } from "./accordion-
|
|
7
|
+
import { a as is } from "./accordion-9lJSMMsZ.js";
|
|
8
8
|
import { Slot as ns } from "@radix-ui/react-slot";
|
|
9
9
|
import { c as B } from "./index-D2ZczOXr.js";
|
|
10
10
|
import { useTranslation as D } from "react-i18next";
|
|
@@ -1119,4 +1119,4 @@ export {
|
|
|
1119
1119
|
gs as s,
|
|
1120
1120
|
y as u
|
|
1121
1121
|
};
|
|
1122
|
-
//# sourceMappingURL=sidebar-
|
|
1122
|
+
//# sourceMappingURL=sidebar-_vJXI9rB.js.map
|