@alfadocs/ui-kit 1.80.0 → 1.82.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/{address-fields-GnoSkvh6.js → address-fields-CfnXK8RT.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-M6u29f87.js → ai-prompt-input-DH_rnV-F.js} +33 -26
- package/dist/_chunks/{anamnesis-summary-rows-lONg-zja.js → anamnesis-summary-rows-6gMuu0ZK.js} +2 -2
- package/dist/_chunks/{autocomplete-DosDnGie.js → autocomplete-CnB1mHGc.js} +65 -64
- package/dist/_chunks/{balance-badge-cell-Dzd-Z_5W.js → balance-badge-cell-BHXJS8Ga.js} +2 -2
- package/dist/_chunks/{benefit-card-BWBClvdF.js → benefit-card-BcPtRHgM.js} +37 -36
- package/dist/_chunks/booking-dsgiuhKg.js +4304 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-DhTTWgXw.js → calendar-appointment-editor-dialog-BuumJbcv.js} +4 -4
- package/dist/_chunks/{city-input-3J3bz9EO.js → city-input-CJVGswxp.js} +2 -2
- package/dist/_chunks/{combobox-vF9O-QoG.js → combobox-CDPm_n0p.js} +93 -92
- package/dist/_chunks/{command-palette-D9TBzmOG.js → command-palette-B3dVqm9D.js} +68 -68
- package/dist/_chunks/{contact-profile-card-DKk94l-d.js → contact-profile-card-Da1vmJQI.js} +115 -102
- package/dist/_chunks/{country-select-CSE2Zm_s.js → country-select-DQ8q7ypA.js} +2 -2
- package/dist/_chunks/{face-scheme-BIPJqw9f.js → face-scheme-BgJGFDTa.js} +2 -2
- package/dist/_chunks/{header-settings-BYpVmLip.js → header-settings-CifwJEKB.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-B0riA_h_.js → link-cell-renderer-C0ynDik7.js} +3 -3
- package/dist/_chunks/{locale-picker-DzdGDSBI.js → locale-picker-QbT1p60X.js} +39 -38
- package/dist/_chunks/{map-view-C6MIVaqn.js → map-view-Bvi06RVh.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-mS7Q2-81.js → marketplace-app-shell-vON3WhD0.js} +2 -2
- package/dist/_chunks/{multi-select-BOad3za9.js → multi-select-i5MFRpXg.js} +194 -187
- package/dist/_chunks/{otp-input-BgEZi0py.js → otp-input-gV1446Dw.js} +70 -70
- package/dist/_chunks/{patient-details-B-I9Xkh9.js → patient-details-D0P5eog5.js} +2 -2
- package/dist/_chunks/{patient-field-row-Bn0z6lAZ.js → patient-field-row-R73dZJY6.js} +5 -5
- package/dist/_chunks/{patient-search-CxqNcth4.js → patient-search-Dy0sxcwv.js} +2 -2
- package/dist/_chunks/{patient-summary-card-bhDo0gVX.js → patient-summary-card-6U74-ivO.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-AQpHOS1X.js → payment-automation-upsell-D1YdO1xY.js} +2 -2
- package/dist/_chunks/{phone-input-C3NrD-nl.js → phone-input-DJ4BN8tG.js} +70 -63
- package/dist/_chunks/{practice-results-CtOanuzZ.js → practice-results-B61krlwu.js} +2 -2
- package/dist/_chunks/{province-select-CDjs5obD.js → province-select-CPdTwEob.js} +2 -2
- package/dist/_chunks/{registration-form-CNBfUduG.js → registration-form-DmP3YUfp.js} +3 -3
- package/dist/_chunks/{send-registration-link-form-vTn1HxjA.js → send-registration-link-form-CZYOO7NO.js} +2 -2
- package/dist/_chunks/{task-editor-Cpw-NmND.js → task-editor-BOETWbjU.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-lFUL4kkd.js → use-appointment-details-read-CWN-nJCZ.js} +2 -2
- package/dist/agent-catalog.json +4 -4
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/benefit-card/benefit-card.d.ts +7 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +35 -2
- package/dist/components/booking/code-step.d.ts +4 -2
- package/dist/components/booking/details-form.d.ts +2 -0
- package/dist/components/booking/handover.d.ts +12 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/reserved.d.ts +24 -0
- package/dist/components/booking/use-booking-payment.d.ts +3 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +4 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/multi-select/index.js +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/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +8 -0
- package/dist/i18n/locales/ar.js +8 -0
- package/dist/i18n/locales/de.d.ts +8 -0
- package/dist/i18n/locales/de.js +8 -0
- package/dist/i18n/locales/el.d.ts +8 -0
- package/dist/i18n/locales/el.js +8 -0
- package/dist/i18n/locales/en.d.ts +8 -0
- package/dist/i18n/locales/en.js +8 -0
- package/dist/i18n/locales/es.d.ts +8 -0
- package/dist/i18n/locales/es.js +8 -0
- package/dist/i18n/locales/fr.d.ts +8 -0
- package/dist/i18n/locales/fr.js +8 -0
- package/dist/i18n/locales/hi.d.ts +8 -0
- package/dist/i18n/locales/hi.js +8 -0
- package/dist/i18n/locales/it.d.ts +8 -0
- package/dist/i18n/locales/it.js +8 -0
- package/dist/i18n/locales/ja.d.ts +8 -0
- package/dist/i18n/locales/ja.js +8 -0
- package/dist/i18n/locales/nl.d.ts +8 -0
- package/dist/i18n/locales/nl.js +8 -0
- package/dist/i18n/locales/pl.d.ts +8 -0
- package/dist/i18n/locales/pl.js +8 -0
- package/dist/i18n/locales/pt.d.ts +8 -0
- package/dist/i18n/locales/pt.js +8 -0
- package/dist/i18n/locales/ro.d.ts +8 -0
- package/dist/i18n/locales/ro.js +8 -0
- package/dist/i18n/locales/ru.d.ts +8 -0
- package/dist/i18n/locales/ru.js +8 -0
- package/dist/i18n/locales/sq.d.ts +8 -0
- package/dist/i18n/locales/sq.js +8 -0
- package/dist/i18n/locales/sv.d.ts +8 -0
- package/dist/i18n/locales/sv.js +8 -0
- package/dist/i18n/locales/tr.d.ts +8 -0
- package/dist/i18n/locales/tr.js +8 -0
- package/dist/i18n/locales/zh.d.ts +8 -0
- package/dist/i18n/locales/zh.js +8 -0
- package/dist/index.js +30 -30
- package/dist/locales/ar.json +8 -0
- package/dist/locales/de.json +8 -0
- package/dist/locales/el.json +8 -0
- package/dist/locales/en.json +8 -0
- package/dist/locales/es.json +8 -0
- package/dist/locales/fr.json +8 -0
- package/dist/locales/hi.json +8 -0
- package/dist/locales/it.json +8 -0
- package/dist/locales/ja.json +8 -0
- package/dist/locales/nl.json +8 -0
- package/dist/locales/pl.json +8 -0
- package/dist/locales/pt.json +8 -0
- package/dist/locales/ro.json +8 -0
- package/dist/locales/ru.json +8 -0
- package/dist/locales/sq.json +8 -0
- package/dist/locales/sv.json +8 -0
- package/dist/locales/tr.json +8 -0
- package/dist/locales/zh.json +8 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/booking-By4I_1A-.js +0 -4068
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as le, useId as
|
|
1
|
+
import { jsxs as u, jsx as e, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as le, useId as ce, useMemo as se } from "react";
|
|
3
3
|
import { c as de } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as pe } from "react-i18next";
|
|
5
5
|
import { B as P } from "./badge-BUk4RjTS.js";
|
|
6
|
-
import { C as
|
|
6
|
+
import { C as z } from "./card-BA4Ig_kn.js";
|
|
7
7
|
import { K as fe, a as ue } from "./key-value-pair-BoXOtBL1.js";
|
|
8
8
|
import { L as d } from "./link-N5_YpLtm.js";
|
|
9
9
|
import { b as me } from "./format-price-BcFBa-WP.js";
|
|
10
10
|
import { u as he } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import { S as
|
|
11
|
+
import { S as F } from "./stethoscope-sZXGC43m.js";
|
|
12
12
|
import { H } from "./heart--qCA4ffe.js";
|
|
13
|
-
import { B as
|
|
14
|
-
import { S as
|
|
15
|
-
import { G as
|
|
16
|
-
import { M as
|
|
17
|
-
import { M as
|
|
18
|
-
import { P as
|
|
19
|
-
import { M as
|
|
13
|
+
import { B as O, L as V } from "./languages-CZqBaPwI.js";
|
|
14
|
+
import { S as _ } from "./shield-check-DCJALLVh.js";
|
|
15
|
+
import { G as U } from "./globe-sHBW1JN5.js";
|
|
16
|
+
import { M as B } from "./mail-BqXVF2zH.js";
|
|
17
|
+
import { M as E } from "./message-circle-Bepl9JT5.js";
|
|
18
|
+
import { P as K } from "./phone-FceYcIFQ.js";
|
|
19
|
+
import { M as L } from "./map-pin-BaY37-Km.js";
|
|
20
20
|
const ge = {
|
|
21
21
|
id: "contact-profile-card",
|
|
22
22
|
// Passive presentation surface — only exposes the rendered profession for
|
|
@@ -62,25 +62,34 @@ const ge = {
|
|
|
62
62
|
function be(i) {
|
|
63
63
|
return i.replace(/[^\d+]/g, "");
|
|
64
64
|
}
|
|
65
|
-
function Ce(i,
|
|
65
|
+
function Ce(i, t) {
|
|
66
66
|
const a = `https://wa.me/${i}`;
|
|
67
|
-
return
|
|
67
|
+
return t ? `${a}?text=${encodeURIComponent(t)}` : a;
|
|
68
68
|
}
|
|
69
69
|
function xe(i) {
|
|
70
|
+
const t = i.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
|
|
71
|
+
try {
|
|
72
|
+
const { protocol: l } = new URL(a);
|
|
73
|
+
return l === "http:" || l === "https:" ? a : void 0;
|
|
74
|
+
} catch {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function Pe(i) {
|
|
70
79
|
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(i.line)}`;
|
|
71
80
|
}
|
|
72
|
-
function
|
|
81
|
+
function ye() {
|
|
73
82
|
if (typeof document > "u") return "4945a3";
|
|
74
|
-
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(),
|
|
75
|
-
return
|
|
83
|
+
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
|
|
84
|
+
return t ? t[1] : "4945a3";
|
|
76
85
|
}
|
|
77
|
-
function
|
|
78
|
-
const
|
|
86
|
+
function ke({ apiKey: i, center: t, zoom: a, altText: l }) {
|
|
87
|
+
const s = ye(), m = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${t.lat},${t.lng}&key=${encodeURIComponent(i)}`;
|
|
79
88
|
return /* @__PURE__ */ e(
|
|
80
89
|
"img",
|
|
81
90
|
{
|
|
82
|
-
src:
|
|
83
|
-
alt:
|
|
91
|
+
src: m,
|
|
92
|
+
alt: l,
|
|
84
93
|
loading: "lazy",
|
|
85
94
|
decoding: "async",
|
|
86
95
|
width: 640,
|
|
@@ -89,23 +98,23 @@ function ye({ apiKey: i, center: r, zoom: a, altText: s }) {
|
|
|
89
98
|
}
|
|
90
99
|
);
|
|
91
100
|
}
|
|
92
|
-
const
|
|
101
|
+
const we = le(
|
|
93
102
|
({
|
|
94
103
|
heading: i,
|
|
95
|
-
description:
|
|
104
|
+
description: t,
|
|
96
105
|
address: a,
|
|
97
|
-
phone:
|
|
98
|
-
whatsappNumber:
|
|
99
|
-
whatsappMessage:
|
|
100
|
-
email:
|
|
101
|
-
website:
|
|
106
|
+
phone: l,
|
|
107
|
+
whatsappNumber: s,
|
|
108
|
+
whatsappMessage: m,
|
|
109
|
+
email: h,
|
|
110
|
+
website: p,
|
|
102
111
|
languages: g,
|
|
103
|
-
languageLabels:
|
|
112
|
+
languageLabels: f,
|
|
104
113
|
insurances: v,
|
|
105
114
|
firstVisitPriceCents: b,
|
|
106
115
|
currencyCode: y = "EUR",
|
|
107
116
|
profession: C,
|
|
108
|
-
specializedInFearPatients:
|
|
117
|
+
specializedInFearPatients: G,
|
|
109
118
|
googleMapsApiKey: k,
|
|
110
119
|
mapZoom: j = 14,
|
|
111
120
|
onPhoneClick: q,
|
|
@@ -121,109 +130,113 @@ const ke = le(
|
|
|
121
130
|
className: ee,
|
|
122
131
|
...ae
|
|
123
132
|
}, te) => {
|
|
124
|
-
const { t, i18n:
|
|
133
|
+
const { t: r, i18n: $ } = pe("ui"), M = ce(), A = $.language ?? "en", R = i ?? r("contactProfileCard.heading"), re = Z ?? R, N = se(() => {
|
|
125
134
|
if (b != null)
|
|
126
135
|
return me(
|
|
127
136
|
b,
|
|
128
137
|
y,
|
|
129
138
|
A,
|
|
130
|
-
|
|
139
|
+
r("common.freeOfCharge")
|
|
131
140
|
);
|
|
132
|
-
}, [b, y, A,
|
|
141
|
+
}, [b, y, A, r]), n = [];
|
|
133
142
|
if (a && n.push({
|
|
134
143
|
key: "address",
|
|
135
|
-
icon: /* @__PURE__ */ e(
|
|
136
|
-
label:
|
|
137
|
-
value: /* @__PURE__ */
|
|
144
|
+
icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
|
|
145
|
+
label: r("contactProfileCard.label.address"),
|
|
146
|
+
value: /* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
138
147
|
/* @__PURE__ */ e("span", { dir: "auto", children: a.line }),
|
|
139
148
|
a.lat != null && a.lng != null ? /* @__PURE__ */ e(
|
|
140
149
|
d,
|
|
141
150
|
{
|
|
142
|
-
href:
|
|
151
|
+
href: Pe(a),
|
|
143
152
|
external: !0,
|
|
144
153
|
intent: "default",
|
|
145
154
|
onClick: D,
|
|
146
|
-
children:
|
|
155
|
+
children: r("contactProfileCard.openInGoogleMaps")
|
|
147
156
|
}
|
|
148
157
|
) : null
|
|
149
158
|
] })
|
|
150
|
-
}),
|
|
159
|
+
}), l && n.push({
|
|
151
160
|
key: "phone",
|
|
152
|
-
icon: /* @__PURE__ */ e(
|
|
153
|
-
label:
|
|
161
|
+
icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
|
|
162
|
+
label: r("contactProfileCard.label.phone"),
|
|
154
163
|
value: /* @__PURE__ */ e(
|
|
155
164
|
d,
|
|
156
165
|
{
|
|
157
|
-
href: `tel:${be(
|
|
166
|
+
href: `tel:${be(l)}`,
|
|
158
167
|
intent: "default",
|
|
159
168
|
onClick: q,
|
|
160
|
-
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children:
|
|
169
|
+
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: l })
|
|
161
170
|
}
|
|
162
171
|
)
|
|
163
|
-
}),
|
|
172
|
+
}), s && n.push({
|
|
164
173
|
key: "whatsapp",
|
|
165
|
-
icon: /* @__PURE__ */ e(
|
|
166
|
-
label:
|
|
174
|
+
icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
|
|
175
|
+
label: r("contactProfileCard.label.whatsapp"),
|
|
167
176
|
value: /* @__PURE__ */ e(
|
|
168
177
|
d,
|
|
169
178
|
{
|
|
170
|
-
href: Ce(
|
|
179
|
+
href: Ce(s, m),
|
|
171
180
|
external: !0,
|
|
172
181
|
intent: "default",
|
|
173
182
|
onClick: W,
|
|
174
|
-
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children:
|
|
183
|
+
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
|
|
175
184
|
}
|
|
176
185
|
)
|
|
177
|
-
}),
|
|
186
|
+
}), h && n.push({
|
|
178
187
|
key: "email",
|
|
179
|
-
icon: /* @__PURE__ */ e(
|
|
180
|
-
label:
|
|
188
|
+
icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
|
|
189
|
+
label: r("contactProfileCard.label.email"),
|
|
181
190
|
value: /* @__PURE__ */ e(
|
|
182
191
|
d,
|
|
183
192
|
{
|
|
184
|
-
href: `mailto:${
|
|
193
|
+
href: `mailto:${h}`,
|
|
185
194
|
intent: "default",
|
|
186
195
|
onClick: Y,
|
|
187
|
-
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children:
|
|
196
|
+
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: h })
|
|
188
197
|
}
|
|
189
198
|
)
|
|
190
|
-
}),
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
}), p) {
|
|
200
|
+
const o = xe(p);
|
|
201
|
+
n.push({
|
|
202
|
+
key: "website",
|
|
203
|
+
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
204
|
+
label: r("contactProfileCard.label.website"),
|
|
205
|
+
value: o ? /* @__PURE__ */ e(d, { href: o, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: p }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: p })
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
if (g && g.length > 0) {
|
|
209
|
+
const o = (c) => {
|
|
210
|
+
if (f != null && f[c]) return f[c];
|
|
211
|
+
const I = `languages.${c}`;
|
|
212
|
+
return $.exists(I) ? r(I) : c.toUpperCase();
|
|
200
213
|
};
|
|
201
214
|
n.push({
|
|
202
215
|
key: "languages",
|
|
203
|
-
icon: /* @__PURE__ */ e(
|
|
204
|
-
label:
|
|
205
|
-
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((
|
|
216
|
+
icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
|
|
217
|
+
label: r("contactProfileCard.label.languages"),
|
|
218
|
+
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((c) => /* @__PURE__ */ e(P, { variant: "neutral", children: o(c) }, c)) })
|
|
206
219
|
});
|
|
207
220
|
}
|
|
208
221
|
v && v.length > 0 && n.push({
|
|
209
222
|
key: "insurances",
|
|
210
|
-
icon: /* @__PURE__ */ e(
|
|
211
|
-
label:
|
|
223
|
+
icon: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
|
|
224
|
+
label: r("contactProfileCard.label.insurances"),
|
|
212
225
|
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((o) => /* @__PURE__ */ e(P, { variant: "info", children: o }, o)) })
|
|
213
|
-
}),
|
|
226
|
+
}), N && n.push({
|
|
214
227
|
key: "firstVisitPrice",
|
|
215
|
-
icon: /* @__PURE__ */ e(
|
|
216
|
-
label:
|
|
217
|
-
value: /* @__PURE__ */ e(P, { variant: "accentSoft", size: "lg", children:
|
|
218
|
-
}),
|
|
228
|
+
icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
|
|
229
|
+
label: r("contactProfileCard.label.firstVisitPrice"),
|
|
230
|
+
value: /* @__PURE__ */ e(P, { variant: "accentSoft", size: "lg", children: N })
|
|
231
|
+
}), G && n.push({
|
|
219
232
|
key: "expertForAnxiousPatients",
|
|
220
233
|
icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
|
|
221
|
-
label:
|
|
222
|
-
value:
|
|
234
|
+
label: r("contactProfileCard.label.expertForAnxiousPatients"),
|
|
235
|
+
value: r("contactProfileCard.value.yesShort")
|
|
223
236
|
}), C && n.push({
|
|
224
237
|
key: "profession",
|
|
225
|
-
icon: /* @__PURE__ */ e(
|
|
226
|
-
label:
|
|
238
|
+
icon: /* @__PURE__ */ e(F, { "aria-hidden": "true" }),
|
|
239
|
+
label: r("contactProfileCard.label.profession"),
|
|
227
240
|
value: C
|
|
228
241
|
}), he(
|
|
229
242
|
ge,
|
|
@@ -231,18 +244,18 @@ const ke = le(
|
|
|
231
244
|
x
|
|
232
245
|
);
|
|
233
246
|
const ie = !!k && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
|
|
234
|
-
|
|
247
|
+
ke,
|
|
235
248
|
{
|
|
236
249
|
apiKey: k,
|
|
237
250
|
center: { lat: a.lat, lng: a.lng },
|
|
238
251
|
zoom: j,
|
|
239
|
-
altText:
|
|
252
|
+
altText: r("contactProfileCard.map.alt", {
|
|
240
253
|
address: a.line,
|
|
241
254
|
defaultValue: "Map showing {{address}}"
|
|
242
255
|
})
|
|
243
256
|
}
|
|
244
|
-
) : null, ne = X ?? ie, oe = /* @__PURE__ */
|
|
245
|
-
|
|
257
|
+
) : null, ne = X ?? ie, oe = /* @__PURE__ */ u(T, { children: [
|
|
258
|
+
t ? /* @__PURE__ */ e("p", { dir: "auto", className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: t }) : null,
|
|
246
259
|
n.length > 0 ? /* @__PURE__ */ e(fe, { rowGap: "md", children: n.map((o) => /* @__PURE__ */ e(
|
|
247
260
|
ue,
|
|
248
261
|
{
|
|
@@ -254,15 +267,15 @@ const ke = le(
|
|
|
254
267
|
)) }) : null,
|
|
255
268
|
ne,
|
|
256
269
|
Q
|
|
257
|
-
] }), S = /* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */
|
|
270
|
+
] }), S = /* @__PURE__ */ u(T, { children: [
|
|
271
|
+
/* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
259
272
|
J,
|
|
260
273
|
/* @__PURE__ */ e(
|
|
261
274
|
"h2",
|
|
262
275
|
{
|
|
263
|
-
id:
|
|
276
|
+
id: M,
|
|
264
277
|
className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
|
|
265
|
-
children:
|
|
278
|
+
children: R
|
|
266
279
|
}
|
|
267
280
|
)
|
|
268
281
|
] }),
|
|
@@ -274,19 +287,19 @@ const ke = le(
|
|
|
274
287
|
ref: te,
|
|
275
288
|
role: "region",
|
|
276
289
|
"aria-label": re,
|
|
277
|
-
"aria-labelledby":
|
|
290
|
+
"aria-labelledby": M,
|
|
278
291
|
"data-component": "contact-profile-card",
|
|
279
292
|
"data-component-id": x,
|
|
280
293
|
id: x,
|
|
281
294
|
className: ve({ surface: w, className: ee }),
|
|
282
295
|
...ae,
|
|
283
|
-
children: w === "elevated" ? /* @__PURE__ */ e(
|
|
296
|
+
children: w === "elevated" ? /* @__PURE__ */ e(z, { variant: "elevated", children: /* @__PURE__ */ e(z.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S })
|
|
284
297
|
}
|
|
285
298
|
);
|
|
286
299
|
}
|
|
287
300
|
);
|
|
288
|
-
|
|
289
|
-
const
|
|
301
|
+
we.displayName = "ContactProfileCard";
|
|
302
|
+
const je = [
|
|
290
303
|
"address",
|
|
291
304
|
"phone",
|
|
292
305
|
"whatsapp",
|
|
@@ -297,22 +310,22 @@ const Le = [
|
|
|
297
310
|
"firstVisitPrice",
|
|
298
311
|
"expertForAnxiousPatients",
|
|
299
312
|
"profession"
|
|
300
|
-
],
|
|
301
|
-
address:
|
|
302
|
-
phone:
|
|
303
|
-
whatsapp:
|
|
304
|
-
email:
|
|
305
|
-
website:
|
|
306
|
-
languages:
|
|
307
|
-
insurances:
|
|
308
|
-
firstVisitPrice:
|
|
313
|
+
], qe = {
|
|
314
|
+
address: L,
|
|
315
|
+
phone: K,
|
|
316
|
+
whatsapp: E,
|
|
317
|
+
email: B,
|
|
318
|
+
website: U,
|
|
319
|
+
languages: V,
|
|
320
|
+
insurances: _,
|
|
321
|
+
firstVisitPrice: O,
|
|
309
322
|
expertForAnxiousPatients: H,
|
|
310
|
-
profession:
|
|
323
|
+
profession: F
|
|
311
324
|
};
|
|
312
325
|
export {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
326
|
+
qe as C,
|
|
327
|
+
je as a,
|
|
328
|
+
we as b,
|
|
316
329
|
ge as c
|
|
317
330
|
};
|
|
318
|
-
//# sourceMappingURL=contact-profile-card-
|
|
331
|
+
//# sourceMappingURL=contact-profile-card-Da1vmJQI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ea, useMemo as g, useCallback as z, useRef as ra, useEffect as ia } from "react";
|
|
3
3
|
import { useTranslation as ca } from "react-i18next";
|
|
4
|
-
import { C as ta } from "./combobox-
|
|
4
|
+
import { C as ta } from "./combobox-CDPm_n0p.js";
|
|
5
5
|
import { h as sa, a as oa } from "./flag-DVBE6DnB.js";
|
|
6
6
|
import { n as L } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
7
7
|
import { u as na } from "./use-controllable-state-BiY4xTzM.js";
|
|
@@ -732,4 +732,4 @@ export {
|
|
|
732
732
|
la as c,
|
|
733
733
|
pa as r
|
|
734
734
|
};
|
|
735
|
-
//# sourceMappingURL=country-select-
|
|
735
|
+
//# sourceMappingURL=country-select-DQ8q7ypA.js.map
|
|
@@ -8,7 +8,7 @@ import { m as tt, M as Qi, A as es } from "./annotation-marker-D-M7y4R1.js";
|
|
|
8
8
|
import { B as P } from "./button-DohK_Ak_.js";
|
|
9
9
|
import { I as Ke } from "./icon-button-S8_weU3g.js";
|
|
10
10
|
import { B as ts } from "./button-group-ZVb1Q-w4.js";
|
|
11
|
-
import { C as ns } from "./combobox-
|
|
11
|
+
import { C as ns } from "./combobox-CDPm_n0p.js";
|
|
12
12
|
import { I as vn } from "./icon-button-group-CRKFR48b.js";
|
|
13
13
|
import { S as Ar } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
14
14
|
import { C as Ze } from "./card-BA4Ig_kn.js";
|
|
@@ -3131,4 +3131,4 @@ export {
|
|
|
3131
3131
|
Nn as t,
|
|
3132
3132
|
Kr as u
|
|
3133
3133
|
};
|
|
3134
|
-
//# sourceMappingURL=face-scheme-
|
|
3134
|
+
//# sourceMappingURL=face-scheme-BgJGFDTa.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as Y } from "react-i18next";
|
|
|
5
5
|
import { B as ue } from "./button-DohK_Ak_.js";
|
|
6
6
|
import { I as pe } from "./icon-button-S8_weU3g.js";
|
|
7
7
|
import { D as n } from "./dropdown-menu-D1we7oAY.js";
|
|
8
|
-
import { u as me, p as ge, c as w, a as Z } from "./locale-picker-
|
|
8
|
+
import { u as me, p as ge, c as w, a as Z } from "./locale-picker-QbT1p60X.js";
|
|
9
9
|
import { u as he } from "./use-media-query-CcAx5SMM.js";
|
|
10
10
|
import { u as fe } from "./use-locale-BExNy9Dl.js";
|
|
11
11
|
import { u as ye } from "./use-theme-CYGyzFgZ.js";
|
|
@@ -507,4 +507,4 @@ Ke.displayName = "HeaderSettings";
|
|
|
507
507
|
export {
|
|
508
508
|
Ke as H
|
|
509
509
|
};
|
|
510
|
-
//# sourceMappingURL=header-settings-
|
|
510
|
+
//# sourceMappingURL=header-settings-CifwJEKB.js.map
|
|
@@ -5,9 +5,9 @@ import { D as te } from "./date-range-picker-B_j4VQlV.js";
|
|
|
5
5
|
import { useTranslation as M } from "react-i18next";
|
|
6
6
|
import { C as le } from "./checkbox-BjDv-r3o.js";
|
|
7
7
|
import { B as j } from "./button-DohK_Ak_.js";
|
|
8
|
-
import { M as se } from "./multi-select-
|
|
8
|
+
import { M as se } from "./multi-select-i5MFRpXg.js";
|
|
9
9
|
import { S as ie } from "./scroll-area-CY5SLYNw.js";
|
|
10
|
-
import { A as ne } from "./autocomplete-
|
|
10
|
+
import { A as ne } from "./autocomplete-CnB1mHGc.js";
|
|
11
11
|
import { N as D } from "./number-input-CVwI1ltI.js";
|
|
12
12
|
import { S as oe } from "./select-4S-eYZUf.js";
|
|
13
13
|
import { B as ue } from "./badge-BUk4RjTS.js";
|
|
@@ -864,4 +864,4 @@ export {
|
|
|
864
864
|
Ke as g,
|
|
865
865
|
k as h
|
|
866
866
|
};
|
|
867
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
867
|
+
//# sourceMappingURL=link-cell-renderer-C0ynDik7.js.map
|