@alfadocs/ui-kit 1.101.0 → 1.103.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/{agenda-card-bRQ4j6U6.js → agenda-card-B8hV3dZV.js} +2 -2
- package/dist/_chunks/{agenda-tray-CzE3E8GU.js → agenda-tray-Bu46s3dI.js} +2 -2
- package/dist/_chunks/{alia-sidebar-B5mu44g2.js → alia-sidebar-CKkg3gc8.js} +3 -3
- package/dist/_chunks/{appointment-card-zPr0brha.js → appointment-card-FKOnH1uJ.js} +2 -2
- package/dist/_chunks/{appointment-peek-xFTBany4.js → appointment-peek-DWfcpoGy.js} +2 -2
- package/dist/_chunks/{appointment-timeline-AKkVx9AN.js → appointment-timeline-eOi-y8m3.js} +2 -2
- package/dist/_chunks/{appointment-tray-B8qQBW65.js → appointment-tray-C6oBvsG5.js} +2 -2
- package/dist/_chunks/{avatar-BoqdWsNe.js → avatar-Dp5apm1d.js} +61 -47
- package/dist/_chunks/{balance-badge-cell-C-Rz616n.js → balance-badge-cell-DGFm2jfP.js} +2 -2
- package/dist/_chunks/{calendar-DVe5eArk.js → calendar-_sgjuH3L.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CUJMnFL7.js → calendar-appointment-editor-dialog-DL6V6xfj.js} +8 -8
- package/dist/_chunks/{care-plan-header-BBh0X7EO.js → care-plan-header-F4l0st2X.js} +2 -2
- package/dist/_chunks/{chat-message-CkBCAcwn.js → chat-message-CfIyXrxA.js} +2 -2
- package/dist/_chunks/{clinical-note-card--juv_ELr.js → clinical-note-card-BVkxGiGl.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CFAhByRk.js → contact-profile-card-LXbmhx48.js} +141 -141
- package/dist/_chunks/{dependent-selector-DRN0P0Kr.js → dependent-selector-D6y4Kjg5.js} +2 -2
- package/dist/_chunks/{entity-summary-B4p8zP1J.js → entity-summary-BKfR4Vws.js} +2 -2
- package/dist/_chunks/key-value-pair-Cg7gjL7J.js +287 -0
- package/dist/_chunks/{link-cell-renderer-DKMgD-2v.js → link-cell-renderer-BRek9kz7.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-D2qgIuXX.js → marketplace-app-shell-BsctSegT.js} +2 -2
- package/dist/_chunks/{message-card-BzJEITml.js → message-card-BG3_3nN1.js} +2 -2
- package/dist/_chunks/{message-tray-DiPgJbOb.js → message-tray-BjZv0Fsk.js} +2 -2
- package/dist/_chunks/{notes-panel-BbNLYcdv.js → notes-panel-BjTpaz8d.js} +2 -2
- package/dist/_chunks/{operator-hero-BcuPTzS_.js → operator-hero-BELhrv9o.js} +37 -35
- package/dist/_chunks/{patient-details-DoIOWP6j.js → patient-details-BXM3dRKb.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CL04aq8h.js → patient-summary-card-B4Ijw_ig.js} +3 -3
- package/dist/_chunks/{payment-request-card-BbpN8GQg.js → payment-request-card-CrXhB5H-.js} +2 -2
- package/dist/_chunks/{periodontal-chart-Cw-ZsIls.js → periodontal-chart-JmsaYYb7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CG8mxR62.js → periodontal-chart-card-TxZBO6kb.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-B8vykoci.js → practice-profile-hero-BAvGdQmt.js} +24 -20
- package/dist/_chunks/{practice-results-U-5kpnJa.js → practice-results-ChBP9x2r.js} +8 -4
- package/dist/_chunks/{public-footer-t6gx6sjn.js → public-footer-3Jy1zHSs.js} +248 -204
- package/dist/_chunks/{signature-request-CQ0torGq.js → signature-request-DB6kePIm.js} +2 -2
- package/dist/_chunks/{signed-out-frame-BcQE00H1.js → signed-out-frame-Bs_LSPWe.js} +2 -2
- package/dist/_chunks/{specialty-icon-KuovHTxh.js → specialty-icon-BkpExzMh.js} +2 -1
- package/dist/_chunks/specialty-list-BzalHR8_.js +100 -0
- package/dist/_chunks/{timeline-tn5QQJdS.js → timeline-CKUaBZOx.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BbIoPWO6.js → use-appointment-details-read-DawTb1SQ.js} +4 -4
- package/dist/_chunks/{workflow-map-k-dQkpe7.js → workflow-map-D_pyYK1B.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +10 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +9 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/key-value-pair/index.d.ts +1 -1
- package/dist/components/key-value-pair/index.js +3 -2
- package/dist/components/key-value-pair/key-value-pair.d.ts +20 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/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/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/public-footer/index.d.ts +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +29 -0
- package/dist/components/specialty-icon/index.js +1 -1
- package/dist/components/specialty-list/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/index.js +865 -864
- package/dist/patterns/alia-assistant/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/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/key-value-pair-BoXOtBL1.js +0 -195
- package/dist/_chunks/specialty-list-urUQJLk3.js +0 -67
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { jsxs as m, jsx as e, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
1
|
+
import { jsxs as m, jsx as e, Fragment as H } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as pe, useId as ue, useMemo as fe } from "react";
|
|
3
|
+
import { c as me } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as he } from "react-i18next";
|
|
5
5
|
import { B as k } from "./badge-BUk4RjTS.js";
|
|
6
|
-
import { C as
|
|
7
|
-
import { K as
|
|
6
|
+
import { C as O } from "./card-C85_Ndhb.js";
|
|
7
|
+
import { K as ge, a as V, S as ye } from "./key-value-pair-Cg7gjL7J.js";
|
|
8
8
|
import { L as d } from "./link-DtCfnLnF.js";
|
|
9
|
-
import { S as
|
|
10
|
-
import { b as
|
|
11
|
-
import { u as
|
|
9
|
+
import { S as ve } from "./specialty-list-BzalHR8_.js";
|
|
10
|
+
import { b as be } from "./format-price-BcFBa-WP.js";
|
|
11
|
+
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { S as w } from "./stethoscope-sZXGC43m.js";
|
|
13
13
|
import { H as z } from "./heart--qCA4ffe.js";
|
|
14
|
-
import { c as
|
|
15
|
-
import { S as
|
|
14
|
+
import { c as xe } from "./createLucideIcon-DhHxpK9K.js";
|
|
15
|
+
import { S as E } from "./shield-check-DCJALLVh.js";
|
|
16
16
|
import { L } from "./languages-CGLX6Qpe.js";
|
|
17
|
-
import { G as
|
|
18
|
-
import { M as
|
|
17
|
+
import { G as U } from "./globe-sHBW1JN5.js";
|
|
18
|
+
import { M as G } from "./mail-BqXVF2zH.js";
|
|
19
19
|
import { M as B } from "./message-circle-Bepl9JT5.js";
|
|
20
|
-
import { P as
|
|
21
|
-
import { M as
|
|
20
|
+
import { P as j } from "./phone-FceYcIFQ.js";
|
|
21
|
+
import { M as q } from "./map-pin-BaY37-Km.js";
|
|
22
22
|
/**
|
|
23
23
|
* @license lucide-react v1.22.0 - ISC
|
|
24
24
|
*
|
|
25
25
|
* This source code is licensed under the ISC license.
|
|
26
26
|
* See the LICENSE file in the root directory of this source tree.
|
|
27
27
|
*/
|
|
28
|
-
const
|
|
28
|
+
const Pe = [
|
|
29
29
|
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
|
|
30
30
|
["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
|
|
31
31
|
["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
|
|
32
|
-
],
|
|
32
|
+
], W = xe("banknote", Pe), ke = {
|
|
33
33
|
id: "contact-profile-card",
|
|
34
34
|
// Passive presentation surface — only exposes the rendered profession for
|
|
35
35
|
// introspection. No interactive capability is backed by the handle.
|
|
@@ -61,7 +61,7 @@ const Ce = [
|
|
|
61
61
|
description: "Sourced from the id prop."
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
},
|
|
64
|
+
}, we = me(
|
|
65
65
|
"ds:w-full ds:text-[color:var(--foreground)] ds:[--key-value-pair-icon-color:var(--accent)]",
|
|
66
66
|
{
|
|
67
67
|
variants: {
|
|
@@ -77,32 +77,32 @@ const Ce = [
|
|
|
77
77
|
defaultVariants: { surface: "elevated" }
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
|
-
function
|
|
80
|
+
function Se(i) {
|
|
81
81
|
return i.replace(/[^\d+]/g, "");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
const
|
|
85
|
-
return
|
|
83
|
+
function Me(i, t) {
|
|
84
|
+
const a = `https://wa.me/${i}`;
|
|
85
|
+
return t ? `${a}?text=${encodeURIComponent(t)}` : a;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const
|
|
87
|
+
function $e(i) {
|
|
88
|
+
const t = i.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
|
|
89
89
|
try {
|
|
90
|
-
const { protocol: l } = new URL(
|
|
91
|
-
return l === "http:" || l === "https:" ?
|
|
90
|
+
const { protocol: l } = new URL(a);
|
|
91
|
+
return l === "http:" || l === "https:" ? a : void 0;
|
|
92
92
|
} catch {
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Ne(i) {
|
|
97
97
|
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(i.line)}`;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Re() {
|
|
100
100
|
if (typeof document > "u") return "4945a3";
|
|
101
|
-
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(),
|
|
102
|
-
return
|
|
101
|
+
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
|
|
102
|
+
return t ? t[1] : "4945a3";
|
|
103
103
|
}
|
|
104
|
-
function Ae({ apiKey: i, center:
|
|
105
|
-
const s =
|
|
104
|
+
function Ae({ apiKey: i, center: t, zoom: a, altText: l }) {
|
|
105
|
+
const s = Re(), h = `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)}`;
|
|
106
106
|
return /* @__PURE__ */ e(
|
|
107
107
|
"img",
|
|
108
108
|
{
|
|
@@ -116,228 +116,228 @@ function Ae({ apiKey: i, center: a, zoom: t, altText: l }) {
|
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const Ie = pe(
|
|
120
120
|
({
|
|
121
121
|
heading: i,
|
|
122
|
-
description:
|
|
123
|
-
address:
|
|
122
|
+
description: t,
|
|
123
|
+
address: a,
|
|
124
124
|
phone: l,
|
|
125
125
|
whatsappNumber: s,
|
|
126
126
|
whatsappMessage: h,
|
|
127
127
|
email: g,
|
|
128
128
|
website: p,
|
|
129
129
|
languages: y,
|
|
130
|
-
languageLabels:
|
|
130
|
+
languageLabels: u,
|
|
131
131
|
insurances: v,
|
|
132
132
|
firstVisitPriceCents: b,
|
|
133
|
-
currencyCode:
|
|
133
|
+
currencyCode: S = "EUR",
|
|
134
134
|
profession: C,
|
|
135
135
|
specialties: x,
|
|
136
|
-
specializedInFearPatients:
|
|
137
|
-
googleMapsApiKey:
|
|
138
|
-
mapZoom:
|
|
139
|
-
onPhoneClick:
|
|
140
|
-
onWhatsAppClick:
|
|
141
|
-
onMapClick:
|
|
142
|
-
onEmailClick:
|
|
143
|
-
headerSlot:
|
|
144
|
-
footerSlot:
|
|
136
|
+
specializedInFearPatients: D,
|
|
137
|
+
googleMapsApiKey: M,
|
|
138
|
+
mapZoom: Y = 14,
|
|
139
|
+
onPhoneClick: J,
|
|
140
|
+
onWhatsAppClick: Q,
|
|
141
|
+
onMapClick: X,
|
|
142
|
+
onEmailClick: Z,
|
|
143
|
+
headerSlot: ee,
|
|
144
|
+
footerSlot: ae,
|
|
145
145
|
mapSlot: te,
|
|
146
|
-
|
|
147
|
-
"
|
|
146
|
+
factsAsDefinitionList: $ = !1,
|
|
147
|
+
surface: N = "elevated",
|
|
148
|
+
"aria-label": re,
|
|
148
149
|
id: P,
|
|
149
|
-
className:
|
|
150
|
-
...
|
|
150
|
+
className: ie,
|
|
151
|
+
...ne
|
|
151
152
|
}, oe) => {
|
|
152
|
-
const { t: r, i18n:
|
|
153
|
+
const { t: r, i18n: R } = he("ui"), A = ue(), I = R.language ?? "en", K = i ?? r("contactProfileCard.heading"), le = re ?? K, T = fe(() => {
|
|
153
154
|
if (b != null)
|
|
154
|
-
return
|
|
155
|
+
return be(
|
|
155
156
|
b,
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
S,
|
|
158
|
+
I,
|
|
158
159
|
r("common.freeOfCharge")
|
|
159
160
|
);
|
|
160
|
-
}, [b,
|
|
161
|
-
if (
|
|
161
|
+
}, [b, S, I, r]), o = [];
|
|
162
|
+
if (a && o.push({
|
|
162
163
|
key: "address",
|
|
163
|
-
icon: /* @__PURE__ */ e(
|
|
164
|
+
icon: /* @__PURE__ */ e(q, { "aria-hidden": "true" }),
|
|
164
165
|
label: r("contactProfileCard.label.address"),
|
|
165
166
|
value: /* @__PURE__ */ m("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
166
|
-
/* @__PURE__ */ e("span", { dir: "auto", children:
|
|
167
|
-
|
|
167
|
+
/* @__PURE__ */ e("span", { dir: "auto", children: a.line }),
|
|
168
|
+
a.lat != null && a.lng != null ? /* @__PURE__ */ e(
|
|
168
169
|
d,
|
|
169
170
|
{
|
|
170
|
-
href:
|
|
171
|
+
href: Ne(a),
|
|
171
172
|
external: !0,
|
|
172
173
|
intent: "default",
|
|
173
|
-
onClick:
|
|
174
|
+
onClick: X,
|
|
174
175
|
children: r("contactProfileCard.openInGoogleMaps")
|
|
175
176
|
}
|
|
176
177
|
) : null
|
|
177
178
|
] })
|
|
178
|
-
}), l &&
|
|
179
|
+
}), l && o.push({
|
|
179
180
|
key: "phone",
|
|
180
|
-
icon: /* @__PURE__ */ e(
|
|
181
|
+
icon: /* @__PURE__ */ e(j, { "aria-hidden": "true" }),
|
|
181
182
|
label: r("contactProfileCard.label.phone"),
|
|
182
183
|
value: /* @__PURE__ */ e(
|
|
183
184
|
d,
|
|
184
185
|
{
|
|
185
|
-
href: `tel:${
|
|
186
|
+
href: `tel:${Se(l)}`,
|
|
186
187
|
intent: "default",
|
|
187
|
-
onClick:
|
|
188
|
+
onClick: J,
|
|
188
189
|
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: l })
|
|
189
190
|
}
|
|
190
191
|
)
|
|
191
|
-
}), s &&
|
|
192
|
+
}), s && o.push({
|
|
192
193
|
key: "whatsapp",
|
|
193
194
|
icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
|
|
194
195
|
label: r("contactProfileCard.label.whatsapp"),
|
|
195
196
|
value: /* @__PURE__ */ e(
|
|
196
197
|
d,
|
|
197
198
|
{
|
|
198
|
-
href:
|
|
199
|
+
href: Me(s, h),
|
|
199
200
|
external: !0,
|
|
200
201
|
intent: "default",
|
|
201
|
-
onClick:
|
|
202
|
+
onClick: Q,
|
|
202
203
|
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
|
|
203
204
|
}
|
|
204
205
|
)
|
|
205
|
-
}), g &&
|
|
206
|
+
}), g && o.push({
|
|
206
207
|
key: "email",
|
|
207
|
-
icon: /* @__PURE__ */ e(
|
|
208
|
+
icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
|
|
208
209
|
label: r("contactProfileCard.label.email"),
|
|
209
210
|
value: /* @__PURE__ */ e(
|
|
210
211
|
d,
|
|
211
212
|
{
|
|
212
213
|
href: `mailto:${g}`,
|
|
213
214
|
intent: "default",
|
|
214
|
-
onClick:
|
|
215
|
+
onClick: Z,
|
|
215
216
|
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: g })
|
|
216
217
|
}
|
|
217
218
|
)
|
|
218
219
|
}), p) {
|
|
219
|
-
const
|
|
220
|
-
|
|
220
|
+
const n = $e(p);
|
|
221
|
+
o.push({
|
|
221
222
|
key: "website",
|
|
222
|
-
icon: /* @__PURE__ */ e(
|
|
223
|
+
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
223
224
|
label: r("contactProfileCard.label.website"),
|
|
224
|
-
value:
|
|
225
|
+
value: n ? /* @__PURE__ */ e(d, { href: n, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: p }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: p })
|
|
225
226
|
});
|
|
226
227
|
}
|
|
227
228
|
if (y && y.length > 0) {
|
|
228
|
-
const
|
|
229
|
-
if (
|
|
230
|
-
const
|
|
231
|
-
return
|
|
229
|
+
const n = (c) => {
|
|
230
|
+
if (u != null && u[c]) return u[c];
|
|
231
|
+
const F = `languages.${c}`;
|
|
232
|
+
return R.exists(F) ? r(F) : c.toUpperCase();
|
|
232
233
|
};
|
|
233
|
-
|
|
234
|
+
o.push({
|
|
234
235
|
key: "languages",
|
|
235
236
|
icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
|
|
236
237
|
label: r("contactProfileCard.label.languages"),
|
|
237
|
-
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: y.map((c) => /* @__PURE__ */ e(k, { variant: "neutral", children:
|
|
238
|
+
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: y.map((c) => /* @__PURE__ */ e(k, { variant: "neutral", children: n(c) }, c)) })
|
|
238
239
|
});
|
|
239
240
|
}
|
|
240
|
-
v && v.length > 0 &&
|
|
241
|
+
v && v.length > 0 && o.push({
|
|
241
242
|
key: "insurances",
|
|
242
|
-
icon: /* @__PURE__ */ e(
|
|
243
|
+
icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
|
|
243
244
|
label: r("contactProfileCard.label.insurances"),
|
|
244
|
-
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((
|
|
245
|
-
}),
|
|
245
|
+
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((n) => /* @__PURE__ */ e(k, { variant: "info", children: n }, n)) })
|
|
246
|
+
}), T && o.push({
|
|
246
247
|
key: "firstVisitPrice",
|
|
247
|
-
icon: /* @__PURE__ */ e(
|
|
248
|
+
icon: /* @__PURE__ */ e(W, { "aria-hidden": "true" }),
|
|
248
249
|
label: r("contactProfileCard.label.firstVisitPrice"),
|
|
249
|
-
value: /* @__PURE__ */ e(k, { variant: "accentSoft", size: "lg", children:
|
|
250
|
-
}),
|
|
250
|
+
value: /* @__PURE__ */ e(k, { variant: "accentSoft", size: "lg", children: T })
|
|
251
|
+
}), D && o.push({
|
|
251
252
|
key: "expertForAnxiousPatients",
|
|
252
253
|
icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
|
|
253
254
|
label: r("contactProfileCard.label.expertForAnxiousPatients"),
|
|
254
255
|
value: r("contactProfileCard.value.yesShort")
|
|
255
256
|
});
|
|
256
|
-
const
|
|
257
|
-
C && !
|
|
257
|
+
const f = x && x.length > 0 ? x : void 0;
|
|
258
|
+
C && !f && o.push({
|
|
258
259
|
key: "profession",
|
|
259
260
|
icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
|
|
260
261
|
label: r("contactProfileCard.label.profession"),
|
|
261
262
|
value: C
|
|
262
|
-
}),
|
|
263
|
-
|
|
263
|
+
}), Ce(
|
|
264
|
+
ke,
|
|
264
265
|
{
|
|
265
266
|
getProfession: () => C,
|
|
266
|
-
getSpecialtyKeys: () => (
|
|
267
|
+
getSpecialtyKeys: () => (f ?? []).map((n) => n.key)
|
|
267
268
|
},
|
|
268
269
|
P
|
|
269
270
|
);
|
|
270
|
-
const
|
|
271
|
+
const ce = !!M && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
|
|
271
272
|
Ae,
|
|
272
273
|
{
|
|
273
|
-
apiKey:
|
|
274
|
-
center: { lat:
|
|
275
|
-
zoom:
|
|
274
|
+
apiKey: M,
|
|
275
|
+
center: { lat: a.lat, lng: a.lng },
|
|
276
|
+
zoom: Y,
|
|
276
277
|
altText: r("contactProfileCard.map.alt", {
|
|
277
|
-
address:
|
|
278
|
+
address: a.line,
|
|
278
279
|
defaultValue: "Map showing {{address}}"
|
|
279
280
|
})
|
|
280
281
|
}
|
|
281
|
-
) : null,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
) : null, se = te ?? ce, de = /* @__PURE__ */ m(H, { children: [
|
|
283
|
+
t ? /* @__PURE__ */ e("p", { dir: "auto", className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: t }) : null,
|
|
284
|
+
o.length > 0 ? /* @__PURE__ */ e(ge, { rowGap: "md", semantic: $, children: o.map((n) => /* @__PURE__ */ e(
|
|
285
|
+
V,
|
|
285
286
|
{
|
|
286
|
-
icon:
|
|
287
|
-
label:
|
|
288
|
-
value:
|
|
287
|
+
icon: n.icon,
|
|
288
|
+
label: n.label,
|
|
289
|
+
value: n.value
|
|
289
290
|
},
|
|
290
|
-
|
|
291
|
+
n.key
|
|
291
292
|
)) }) : null,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
// not fit.
|
|
296
|
-
/* @__PURE__ */ e(
|
|
297
|
-
O,
|
|
293
|
+
f ? (() => {
|
|
294
|
+
const n = /* @__PURE__ */ e(
|
|
295
|
+
V,
|
|
298
296
|
{
|
|
299
297
|
layout: "vertical",
|
|
298
|
+
className: "ds:!gap-[var(--spacing-md)]",
|
|
300
299
|
icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
|
|
301
300
|
label: r("contactProfileCard.label.profession"),
|
|
302
|
-
value: /* @__PURE__ */ e(
|
|
301
|
+
value: /* @__PURE__ */ e(ve, { items: f })
|
|
303
302
|
}
|
|
304
|
-
)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
303
|
+
);
|
|
304
|
+
return $ ? /* @__PURE__ */ e(ye, { children: n }) : n;
|
|
305
|
+
})() : null,
|
|
306
|
+
se,
|
|
307
|
+
ae
|
|
308
|
+
] }), _ = /* @__PURE__ */ m(H, { children: [
|
|
309
309
|
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
310
|
-
|
|
310
|
+
ee,
|
|
311
311
|
/* @__PURE__ */ e(
|
|
312
312
|
"h2",
|
|
313
313
|
{
|
|
314
|
-
id:
|
|
314
|
+
id: A,
|
|
315
315
|
className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
|
|
316
|
-
children:
|
|
316
|
+
children: K
|
|
317
317
|
}
|
|
318
318
|
)
|
|
319
319
|
] }),
|
|
320
|
-
|
|
320
|
+
de
|
|
321
321
|
] });
|
|
322
322
|
return /* @__PURE__ */ e(
|
|
323
323
|
"div",
|
|
324
324
|
{
|
|
325
325
|
ref: oe,
|
|
326
326
|
role: "region",
|
|
327
|
-
"aria-label":
|
|
328
|
-
"aria-labelledby":
|
|
327
|
+
"aria-label": le,
|
|
328
|
+
"aria-labelledby": A,
|
|
329
329
|
"data-component": "contact-profile-card",
|
|
330
330
|
"data-component-id": P,
|
|
331
331
|
id: P,
|
|
332
|
-
className:
|
|
333
|
-
...
|
|
334
|
-
children:
|
|
332
|
+
className: we({ surface: N, className: ie }),
|
|
333
|
+
...ne,
|
|
334
|
+
children: N === "elevated" ? /* @__PURE__ */ e(O, { variant: "elevated", children: /* @__PURE__ */ e(O.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: _ }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: _ })
|
|
335
335
|
}
|
|
336
336
|
);
|
|
337
337
|
}
|
|
338
338
|
);
|
|
339
|
-
|
|
340
|
-
const
|
|
339
|
+
Ie.displayName = "ContactProfileCard";
|
|
340
|
+
const ea = [
|
|
341
341
|
"address",
|
|
342
342
|
"phone",
|
|
343
343
|
"whatsapp",
|
|
@@ -348,22 +348,22 @@ const Xe = [
|
|
|
348
348
|
"firstVisitPrice",
|
|
349
349
|
"expertForAnxiousPatients",
|
|
350
350
|
"profession"
|
|
351
|
-
],
|
|
352
|
-
address:
|
|
353
|
-
phone:
|
|
351
|
+
], aa = {
|
|
352
|
+
address: q,
|
|
353
|
+
phone: j,
|
|
354
354
|
whatsapp: B,
|
|
355
|
-
email:
|
|
356
|
-
website:
|
|
355
|
+
email: G,
|
|
356
|
+
website: U,
|
|
357
357
|
languages: L,
|
|
358
|
-
insurances:
|
|
359
|
-
firstVisitPrice:
|
|
358
|
+
insurances: E,
|
|
359
|
+
firstVisitPrice: W,
|
|
360
360
|
expertForAnxiousPatients: z,
|
|
361
361
|
profession: w
|
|
362
362
|
};
|
|
363
363
|
export {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
364
|
+
aa as C,
|
|
365
|
+
ea as a,
|
|
366
|
+
Ie as b,
|
|
367
|
+
ke as c
|
|
368
368
|
};
|
|
369
|
-
//# sourceMappingURL=contact-profile-card-
|
|
369
|
+
//# sourceMappingURL=contact-profile-card-LXbmhx48.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as me, useId as pe, useRef as f, useEffect as E, useMemo as
|
|
|
3
3
|
import * as O from "@radix-ui/react-radio-group";
|
|
4
4
|
import { c as F } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as fe } from "react-i18next";
|
|
6
|
-
import { A as ge } from "./avatar-
|
|
6
|
+
import { A as ge } from "./avatar-Dp5apm1d.js";
|
|
7
7
|
import { B as ve } from "./badge-BUk4RjTS.js";
|
|
8
8
|
import { T as be } from "./tooltip-uEBdD1-5.js";
|
|
9
9
|
import { c as he } from "./compose-refs-C0k0tdqF.js";
|
|
@@ -340,4 +340,4 @@ export {
|
|
|
340
340
|
Ie as D,
|
|
341
341
|
Ne as d
|
|
342
342
|
};
|
|
343
|
-
//# sourceMappingURL=dependent-selector-
|
|
343
|
+
//# sourceMappingURL=dependent-selector-D6y4Kjg5.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as e, Fragment as _ } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useId as w, useRef as f, useImperativeHandle as K, useMemo as P } from "react";
|
|
3
3
|
import { useTranslation as D } from "react-i18next";
|
|
4
4
|
import { A as I } from "./alert-9kEwDza3.js";
|
|
5
|
-
import { A as H } from "./avatar-
|
|
5
|
+
import { A as H } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B as $ } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { I as O } from "./icon-button-S8_weU3g.js";
|
|
8
8
|
import { C } from "./card-C85_Ndhb.js";
|
|
@@ -274,4 +274,4 @@ function ae({ section: t }) {
|
|
|
274
274
|
export {
|
|
275
275
|
be as E
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=entity-summary-
|
|
277
|
+
//# sourceMappingURL=entity-summary-BKfR4Vws.js.map
|