@alfadocs/ui-kit 1.104.0 → 1.106.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/{ai-credits-exhausted-notice-CwZnSACy.js → ai-credits-exhausted-notice-Lws3113e.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-VNh3W57L.js → ai-permission-notice-BkgcGmu8.js} +2 -2
- package/dist/_chunks/{alert-9kEwDza3.js → alert-C4WKViaS.js} +59 -50
- package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js → anamnesis-summary-rows-QhbDdY7b.js} +4 -4
- package/dist/_chunks/{audio-recorder-BOm2FgEu.js → audio-recorder-BlDozxdU.js} +2 -2
- package/dist/_chunks/{auth-form-parts-B3GWChvG.js → auth-form-parts-DVHfqnp6.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js → balance-badge-cell-wJ6cTD_h.js} +3 -3
- package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js → calendar-appointment-editor-dialog-D8DblVjW.js} +8 -8
- package/dist/_chunks/{care-plan-card-YWKV8Kjq.js → care-plan-card-DMjlYlFc.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-CApivtMW.js → care-plan-entry-card-3hguBW45.js} +2 -2
- package/dist/_chunks/{contact-profile-card-uExd3pKC.js → contact-profile-card-CAL66GaH.js} +120 -111
- package/dist/_chunks/{data-table-C5uN4ato.js → data-table-zXBxFYpJ.js} +761 -715
- package/dist/_chunks/{date-range-picker-B_j4VQlV.js → date-range-picker-DCADIR8o.js} +2 -2
- package/dist/_chunks/{date-time-picker-cwsWiB4q.js → date-time-picker-CT2bC7-A.js} +2 -2
- package/dist/_chunks/{document-preview-U8H6tnDJ.js → document-preview-BalyZqnn.js} +2 -2
- package/dist/_chunks/{document-scanner-Bf3VUp00.js → document-scanner-5p-Uu8dy.js} +2 -2
- package/dist/_chunks/{entity-summary-BKfR4Vws.js → entity-summary-BbqqYqF1.js} +2 -2
- package/dist/_chunks/{error-summary-mGxIyDAY.js → error-summary-DxNhwf_G.js} +2 -2
- package/dist/_chunks/{face-scheme-DdVLQ5dP.js → face-scheme-e2M2HJGz.js} +2 -2
- package/dist/_chunks/{file-manager-CnGBVX_q.js → file-manager-BDKe59sg.js} +2 -2
- package/dist/_chunks/{forgot-password-form-CeTb5p-x.js → forgot-password-form-vfCO2-Tt.js} +4 -4
- package/dist/_chunks/{freemium-paywall-CM0zQSDE.js → freemium-paywall-BDeq9QWR.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js → gestational-age-calculator-AnaH00nk.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BJFR3onB.js → hcg-doubling-DdyUt4gz.js} +2 -2
- package/dist/_chunks/{heatmap-Cz0Krieg.js → heatmap-D4qqpCEj.js} +1550 -1547
- package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js → help-me-write-templates-YmceSxf5.js} +3 -3
- package/dist/_chunks/info-tip-C-MPkShR.js +266 -0
- package/dist/_chunks/{kit-extensions-C4o_tFN4.js → kit-extensions-BOnTM4Yf.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-BRek9kz7.js → link-cell-renderer-C8vfCOEp.js} +2 -2
- package/dist/_chunks/{login-dev-card-D5BV5j1i.js → login-dev-card-Cz1Clugq.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-BsctSegT.js → marketplace-app-shell-C-4QF6mp.js} +2 -2
- package/dist/_chunks/{notes-panel-BjTpaz8d.js → notes-panel-SlzUL8in.js} +4 -4
- package/dist/_chunks/{notice-group-DkYzKyAZ.js → notice-group-B-trhof8.js} +3 -3
- package/dist/_chunks/{patient-details-BXM3dRKb.js → patient-details-wMgTFtpp.js} +2 -2
- package/dist/_chunks/{patient-field-row--dCDO5oB.js → patient-field-row-Bhm2Ig1P.js} +2 -2
- package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js → patient-summary-card-DMdPPG3n.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js → payment-automation-upsell-u5EuFyCY.js} +2 -2
- package/dist/_chunks/{payment-form-PBuh8PIa.js → payment-form-C-s1x-bU.js} +2 -2
- package/dist/_chunks/{pdf-viewer-DlceXkfW.js → pdf-viewer-BnBKdx0y.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-BAvGdQmt.js → practice-profile-hero-Bb4YyxHA.js} +31 -29
- package/dist/_chunks/{practice-results-ChBP9x2r.js → practice-results-BXz01sti.js} +485 -445
- package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js → pregnancy-dating-D6dLkMpl.js} +2 -2
- package/dist/_chunks/{progress-notice-DiHWZ8Ms.js → progress-notice-F7ao70ZP.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js → radiograph-panel.agent-0ngF2sGS.js} +2 -2
- package/dist/_chunks/{registration-form-JzzTomhd.js → registration-form-CEJRUS9G.js} +3 -3
- package/dist/_chunks/{reserved.agent-BxD0gnbt.js → reserved.agent-C-C9cvO5.js} +2 -2
- package/dist/_chunks/{reset-password-form-DDdGEoIL.js → reset-password-form-B0acanDD.js} +4 -4
- package/dist/_chunks/{reviews-panel-jPYgYvxG.js → reviews-panel-CtrwZOUS.js} +215 -205
- package/dist/_chunks/{rich-text-editor-F04przIt.js → rich-text-editor-C3nANKZt.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js → send-registration-link-form-Nn0jf65G.js} +3 -3
- package/dist/_chunks/{sign-document-B5qZhthO.js → sign-document-CQZVzfpk.js} +2 -2
- package/dist/_chunks/{signature-request-DB6kePIm.js → signature-request-DtLph5Z4.js} +3 -3
- package/dist/_chunks/{switch-D--x7n6h.js → switch-DO6uC4HJ.js} +40 -36
- package/dist/_chunks/{task-editor-BiPGFXtB.js → task-editor-CmXcj6cC.js} +4 -4
- package/dist/_chunks/{tasks-panel-iVeuu9a8.js → tasks-panel-CFo5uIHx.js} +3 -3
- package/dist/_chunks/{theme-toggle-jZRbAidE.js → theme-toggle-Czq3K9jB.js} +2 -2
- package/dist/_chunks/{time-picker-DSt-ns5F.js → time-picker-DDr5vhwQ.js} +344 -332
- package/dist/_chunks/{tooth-scheme-Bd7xECuj.js → tooth-scheme-C-ALCHaV.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js → use-appointment-details-read-VI26Z-pc.js} +3 -3
- package/dist/_chunks/{voice-control-panel-BGJjUwnY.js → voice-control-panel-B0TUZAiP.js} +3 -3
- package/dist/_chunks/{warning-stack-3S7e2q07.js → warning-stack-Dx7cpj10.js} +2 -2
- package/dist/_chunks/week-availability-CsTiwtYj.js +318 -0
- package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js +252 -0
- package/dist/_chunks/{workflow-map-B1jf6QaB.js → workflow-map-DWk-rZse.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js → workflow-webhook-action-DILFqAVd.js} +2 -2
- package/dist/ag-grid.css +5 -1
- package/dist/agent-catalog.json +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +8 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +6 -0
- package/dist/components/data-table/header-min-width.d.ts +21 -0
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/heatmap.d.ts +5 -0
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/info-tip/info-tip.d.ts +10 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/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-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +7 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +13 -0
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/progress-notice/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts +13 -0
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch.d.ts +2 -0
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/week-availability/index.d.ts +3 -0
- package/dist/components/week-availability/index.js +10 -0
- package/dist/components/week-availability/week-availability.d.ts +68 -0
- package/dist/components/weekly-hours-editor/index.d.ts +3 -0
- package/dist/components/weekly-hours-editor/index.js +9 -0
- package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts +42 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +34 -0
- package/dist/i18n/locales/ar.js +34 -0
- package/dist/i18n/locales/de.d.ts +34 -0
- package/dist/i18n/locales/de.js +34 -0
- package/dist/i18n/locales/el.d.ts +34 -0
- package/dist/i18n/locales/el.js +34 -0
- package/dist/i18n/locales/en.d.ts +34 -0
- package/dist/i18n/locales/en.js +34 -0
- package/dist/i18n/locales/es.d.ts +34 -0
- package/dist/i18n/locales/es.js +34 -0
- package/dist/i18n/locales/fr.d.ts +34 -0
- package/dist/i18n/locales/fr.js +34 -0
- package/dist/i18n/locales/hi.d.ts +34 -0
- package/dist/i18n/locales/hi.js +34 -0
- package/dist/i18n/locales/it.d.ts +34 -0
- package/dist/i18n/locales/it.js +34 -0
- package/dist/i18n/locales/ja.d.ts +34 -0
- package/dist/i18n/locales/ja.js +34 -0
- package/dist/i18n/locales/nl.d.ts +34 -0
- package/dist/i18n/locales/nl.js +34 -0
- package/dist/i18n/locales/pl.d.ts +34 -0
- package/dist/i18n/locales/pl.js +34 -0
- package/dist/i18n/locales/pt.d.ts +34 -0
- package/dist/i18n/locales/pt.js +34 -0
- package/dist/i18n/locales/ro.d.ts +34 -0
- package/dist/i18n/locales/ro.js +34 -0
- package/dist/i18n/locales/ru.d.ts +34 -0
- package/dist/i18n/locales/ru.js +34 -0
- package/dist/i18n/locales/sq.d.ts +34 -0
- package/dist/i18n/locales/sq.js +34 -0
- package/dist/i18n/locales/sv.d.ts +34 -0
- package/dist/i18n/locales/sv.js +34 -0
- package/dist/i18n/locales/tr.d.ts +34 -0
- package/dist/i18n/locales/tr.js +34 -0
- package/dist/i18n/locales/zh.d.ts +34 -0
- package/dist/i18n/locales/zh.js +34 -0
- package/dist/index.js +879 -866
- package/dist/locales/ar.json +34 -0
- package/dist/locales/de.json +34 -0
- package/dist/locales/el.json +34 -0
- package/dist/locales/en.json +34 -0
- package/dist/locales/es.json +34 -0
- package/dist/locales/fr.json +34 -0
- package/dist/locales/hi.json +34 -0
- package/dist/locales/it.json +34 -0
- package/dist/locales/ja.json +34 -0
- package/dist/locales/nl.json +34 -0
- package/dist/locales/pl.json +34 -0
- package/dist/locales/pt.json +34 -0
- package/dist/locales/ro.json +34 -0
- package/dist/locales/ru.json +34 -0
- package/dist/locales/sq.json +34 -0
- package/dist/locales/sv.json +34 -0
- package/dist/locales/tr.json +34 -0
- package/dist/locales/zh.json +34 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/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/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +3 -1
- package/package.json +9 -1
- package/dist/_chunks/info-tip-1Xsq9GLi.js +0 -230
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
1
|
+
import { jsxs as h, jsx as e, Fragment as H } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ue, useId as fe, useMemo as me } from "react";
|
|
3
|
+
import { c as he } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ge } from "react-i18next";
|
|
5
5
|
import { B as k } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as O } from "./card-C85_Ndhb.js";
|
|
7
|
-
import { K as
|
|
8
|
-
import { L as
|
|
9
|
-
import { S as
|
|
10
|
-
import { b as
|
|
11
|
-
import { u as
|
|
7
|
+
import { K as ye, a as V, S as ve } from "./key-value-pair-DOTl68_U.js";
|
|
8
|
+
import { L as p } from "./link-DtCfnLnF.js";
|
|
9
|
+
import { S as be } from "./specialty-list-BzalHR8_.js";
|
|
10
|
+
import { b as xe } 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
|
|
14
|
+
import { c as Pe } from "./createLucideIcon-DhHxpK9K.js";
|
|
15
15
|
import { S as E } from "./shield-check-DCJALLVh.js";
|
|
16
|
-
import { L } from "./languages-CGLX6Qpe.js";
|
|
17
|
-
import { G
|
|
18
|
-
import { M as
|
|
16
|
+
import { L as U } from "./languages-CGLX6Qpe.js";
|
|
17
|
+
import { G } from "./globe-sHBW1JN5.js";
|
|
18
|
+
import { M as L } from "./mail-BqXVF2zH.js";
|
|
19
19
|
import { M as B } from "./message-circle-Bepl9JT5.js";
|
|
20
20
|
import { P as j } from "./phone-FceYcIFQ.js";
|
|
21
21
|
import { M as q } from "./map-pin-BaY37-Km.js";
|
|
@@ -25,11 +25,11 @@ import { M as q } from "./map-pin-BaY37-Km.js";
|
|
|
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 ke = [
|
|
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
|
-
], W =
|
|
32
|
+
], W = Pe("banknote", ke), we = {
|
|
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 Pe = [
|
|
|
61
61
|
description: "Sourced from the id prop."
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
},
|
|
64
|
+
}, Se = he(
|
|
65
65
|
"ds:w-full ds:text-[color:var(--foreground)] ds:[--key-value-pair-icon-color:var(--accent)]",
|
|
66
66
|
{
|
|
67
67
|
variants: {
|
|
@@ -77,37 +77,37 @@ const Pe = [
|
|
|
77
77
|
defaultVariants: { surface: "elevated" }
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
|
-
function
|
|
80
|
+
function Me(i) {
|
|
81
81
|
return i.replace(/[^\d+]/g, "");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
const
|
|
85
|
-
return t ? `${
|
|
83
|
+
function $e(i, t) {
|
|
84
|
+
const l = `https://wa.me/${i}`;
|
|
85
|
+
return t ? `${l}?text=${encodeURIComponent(t)}` : l;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const t = i.trim(),
|
|
87
|
+
function Ne(i) {
|
|
88
|
+
const t = i.trim(), l = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
|
|
89
89
|
try {
|
|
90
|
-
const { protocol:
|
|
91
|
-
return
|
|
90
|
+
const { protocol: a } = new URL(l);
|
|
91
|
+
return a === "http:" || a === "https:" ? l : void 0;
|
|
92
92
|
} catch {
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Re(i) {
|
|
97
97
|
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(i.line)}`;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ae() {
|
|
100
100
|
if (typeof document > "u") return "4945a3";
|
|
101
101
|
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
|
|
102
102
|
return t ? t[1] : "4945a3";
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
const s =
|
|
104
|
+
function Ie({ apiKey: i, center: t, zoom: l, altText: a }) {
|
|
105
|
+
const s = Ae(), d = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${l}&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
|
{
|
|
109
|
-
src:
|
|
110
|
-
alt:
|
|
109
|
+
src: d,
|
|
110
|
+
alt: a,
|
|
111
111
|
loading: "lazy",
|
|
112
112
|
decoding: "async",
|
|
113
113
|
width: 640,
|
|
@@ -116,43 +116,44 @@ function Ae({ apiKey: i, center: t, zoom: a, altText: l }) {
|
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const Ke = ue(
|
|
120
120
|
({
|
|
121
121
|
heading: i,
|
|
122
122
|
description: t,
|
|
123
|
+
contentLang: l,
|
|
123
124
|
address: a,
|
|
124
|
-
phone:
|
|
125
|
-
whatsappNumber:
|
|
126
|
-
whatsappMessage:
|
|
125
|
+
phone: s,
|
|
126
|
+
whatsappNumber: d,
|
|
127
|
+
whatsappMessage: D,
|
|
127
128
|
email: g,
|
|
128
|
-
website:
|
|
129
|
+
website: u,
|
|
129
130
|
languages: y,
|
|
130
|
-
languageLabels:
|
|
131
|
+
languageLabels: f,
|
|
131
132
|
insurances: v,
|
|
132
133
|
firstVisitPriceCents: b,
|
|
133
134
|
currencyCode: S = "EUR",
|
|
134
135
|
profession: x,
|
|
135
136
|
specialties: C,
|
|
136
|
-
specializedInFearPatients:
|
|
137
|
+
specializedInFearPatients: Y,
|
|
137
138
|
googleMapsApiKey: M,
|
|
138
|
-
mapZoom:
|
|
139
|
-
onPhoneClick:
|
|
140
|
-
onWhatsAppClick:
|
|
141
|
-
onMapClick:
|
|
142
|
-
onEmailClick:
|
|
143
|
-
headerSlot:
|
|
144
|
-
footerSlot:
|
|
145
|
-
mapSlot:
|
|
139
|
+
mapZoom: J = 14,
|
|
140
|
+
onPhoneClick: Q,
|
|
141
|
+
onWhatsAppClick: X,
|
|
142
|
+
onMapClick: Z,
|
|
143
|
+
onEmailClick: ee,
|
|
144
|
+
headerSlot: ae,
|
|
145
|
+
footerSlot: te,
|
|
146
|
+
mapSlot: re,
|
|
146
147
|
factsAsDefinitionList: $ = !1,
|
|
147
148
|
surface: N = "elevated",
|
|
148
|
-
"aria-label":
|
|
149
|
+
"aria-label": ie,
|
|
149
150
|
id: P,
|
|
150
|
-
className:
|
|
151
|
-
...
|
|
152
|
-
},
|
|
153
|
-
const { t: r, i18n: R } =
|
|
151
|
+
className: ne,
|
|
152
|
+
...oe
|
|
153
|
+
}, le) => {
|
|
154
|
+
const { t: r, i18n: R } = ge("ui"), A = fe(), I = R.language ?? "en", K = i ?? r("contactProfileCard.heading"), ce = ie ?? K, T = me(() => {
|
|
154
155
|
if (b != null)
|
|
155
|
-
return
|
|
156
|
+
return xe(
|
|
156
157
|
b,
|
|
157
158
|
S,
|
|
158
159
|
I,
|
|
@@ -163,77 +164,77 @@ const Ie = pe(
|
|
|
163
164
|
key: "address",
|
|
164
165
|
icon: /* @__PURE__ */ e(q, { "aria-hidden": "true" }),
|
|
165
166
|
label: r("contactProfileCard.label.address"),
|
|
166
|
-
value: /* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */ e("span", { dir: "auto", children: a.line }),
|
|
167
|
+
value: /* @__PURE__ */ h("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
168
|
+
/* @__PURE__ */ e("span", { lang: l, dir: "auto", children: a.line }),
|
|
168
169
|
a.lat != null && a.lng != null ? /* @__PURE__ */ e(
|
|
169
|
-
|
|
170
|
+
p,
|
|
170
171
|
{
|
|
171
|
-
href:
|
|
172
|
+
href: Re(a),
|
|
172
173
|
external: !0,
|
|
173
174
|
intent: "default",
|
|
174
|
-
onClick:
|
|
175
|
+
onClick: Z,
|
|
175
176
|
children: r("contactProfileCard.openInGoogleMaps")
|
|
176
177
|
}
|
|
177
178
|
) : null
|
|
178
179
|
] })
|
|
179
|
-
}),
|
|
180
|
+
}), s && o.push({
|
|
180
181
|
key: "phone",
|
|
181
182
|
icon: /* @__PURE__ */ e(j, { "aria-hidden": "true" }),
|
|
182
183
|
label: r("contactProfileCard.label.phone"),
|
|
183
184
|
value: /* @__PURE__ */ e(
|
|
184
|
-
|
|
185
|
+
p,
|
|
185
186
|
{
|
|
186
|
-
href: `tel:${
|
|
187
|
+
href: `tel:${Me(s)}`,
|
|
187
188
|
intent: "default",
|
|
188
|
-
onClick:
|
|
189
|
-
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children:
|
|
189
|
+
onClick: Q,
|
|
190
|
+
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
|
|
190
191
|
}
|
|
191
192
|
)
|
|
192
|
-
}),
|
|
193
|
+
}), d && o.push({
|
|
193
194
|
key: "whatsapp",
|
|
194
195
|
icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
|
|
195
196
|
label: r("contactProfileCard.label.whatsapp"),
|
|
196
197
|
value: /* @__PURE__ */ e(
|
|
197
|
-
|
|
198
|
+
p,
|
|
198
199
|
{
|
|
199
|
-
href:
|
|
200
|
+
href: $e(d, D),
|
|
200
201
|
external: !0,
|
|
201
202
|
intent: "default",
|
|
202
|
-
onClick:
|
|
203
|
-
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children:
|
|
203
|
+
onClick: X,
|
|
204
|
+
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: d })
|
|
204
205
|
}
|
|
205
206
|
)
|
|
206
207
|
}), g && o.push({
|
|
207
208
|
key: "email",
|
|
208
|
-
icon: /* @__PURE__ */ e(
|
|
209
|
+
icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
|
|
209
210
|
label: r("contactProfileCard.label.email"),
|
|
210
211
|
value: /* @__PURE__ */ e(
|
|
211
|
-
|
|
212
|
+
p,
|
|
212
213
|
{
|
|
213
214
|
href: `mailto:${g}`,
|
|
214
215
|
intent: "default",
|
|
215
|
-
onClick:
|
|
216
|
+
onClick: ee,
|
|
216
217
|
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: g })
|
|
217
218
|
}
|
|
218
219
|
)
|
|
219
|
-
}),
|
|
220
|
-
const n =
|
|
220
|
+
}), u) {
|
|
221
|
+
const n = Ne(u);
|
|
221
222
|
o.push({
|
|
222
223
|
key: "website",
|
|
223
|
-
icon: /* @__PURE__ */ e(
|
|
224
|
+
icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
|
|
224
225
|
label: r("contactProfileCard.label.website"),
|
|
225
|
-
value: n ? /* @__PURE__ */ e(
|
|
226
|
+
value: n ? /* @__PURE__ */ e(p, { href: n, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: u }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: u })
|
|
226
227
|
});
|
|
227
228
|
}
|
|
228
229
|
if (y && y.length > 0) {
|
|
229
230
|
const n = (c) => {
|
|
230
|
-
if (
|
|
231
|
+
if (f != null && f[c]) return f[c];
|
|
231
232
|
const F = `languages.${c}`;
|
|
232
233
|
return R.exists(F) ? r(F) : c.toUpperCase();
|
|
233
234
|
};
|
|
234
235
|
o.push({
|
|
235
236
|
key: "languages",
|
|
236
|
-
icon: /* @__PURE__ */ e(
|
|
237
|
+
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
237
238
|
label: r("contactProfileCard.label.languages"),
|
|
238
239
|
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)) })
|
|
239
240
|
});
|
|
@@ -248,40 +249,48 @@ const Ie = pe(
|
|
|
248
249
|
icon: /* @__PURE__ */ e(W, { "aria-hidden": "true" }),
|
|
249
250
|
label: r("contactProfileCard.label.firstVisitPrice"),
|
|
250
251
|
value: /* @__PURE__ */ e(k, { variant: "accentSoft", size: "lg", children: T })
|
|
251
|
-
}),
|
|
252
|
+
}), Y && o.push({
|
|
252
253
|
key: "expertForAnxiousPatients",
|
|
253
254
|
icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
|
|
254
255
|
label: r("contactProfileCard.label.expertForAnxiousPatients"),
|
|
255
256
|
value: r("contactProfileCard.value.yesShort")
|
|
256
257
|
});
|
|
257
|
-
const
|
|
258
|
-
x && !
|
|
258
|
+
const m = C && C.length > 0 ? C : void 0;
|
|
259
|
+
x && !m && o.push({
|
|
259
260
|
key: "profession",
|
|
260
261
|
icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
|
|
261
262
|
label: r("contactProfileCard.label.profession"),
|
|
262
263
|
value: x
|
|
263
|
-
}),
|
|
264
|
-
|
|
264
|
+
}), Ce(
|
|
265
|
+
we,
|
|
265
266
|
{
|
|
266
267
|
getProfession: () => x,
|
|
267
|
-
getSpecialtyKeys: () => (
|
|
268
|
+
getSpecialtyKeys: () => (m ?? []).map((n) => n.key)
|
|
268
269
|
},
|
|
269
270
|
P
|
|
270
271
|
);
|
|
271
|
-
const
|
|
272
|
-
|
|
272
|
+
const se = !!M && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
|
|
273
|
+
Ie,
|
|
273
274
|
{
|
|
274
275
|
apiKey: M,
|
|
275
276
|
center: { lat: a.lat, lng: a.lng },
|
|
276
|
-
zoom:
|
|
277
|
+
zoom: J,
|
|
277
278
|
altText: r("contactProfileCard.map.alt", {
|
|
278
279
|
address: a.line,
|
|
279
280
|
defaultValue: "Map showing {{address}}"
|
|
280
281
|
})
|
|
281
282
|
}
|
|
282
|
-
) : null,
|
|
283
|
-
t ? /* @__PURE__ */ e(
|
|
284
|
-
|
|
283
|
+
) : null, de = re ?? se, pe = /* @__PURE__ */ h(H, { children: [
|
|
284
|
+
t ? /* @__PURE__ */ e(
|
|
285
|
+
"p",
|
|
286
|
+
{
|
|
287
|
+
lang: l,
|
|
288
|
+
dir: "auto",
|
|
289
|
+
className: "type-body-sm ds:m-0 ds:whitespace-pre-line",
|
|
290
|
+
children: t
|
|
291
|
+
}
|
|
292
|
+
) : null,
|
|
293
|
+
o.length > 0 ? /* @__PURE__ */ e(ye, { rowGap: "md", semantic: $, children: o.map((n) => /* @__PURE__ */ e(
|
|
285
294
|
V,
|
|
286
295
|
{
|
|
287
296
|
icon: n.icon,
|
|
@@ -290,7 +299,7 @@ const Ie = pe(
|
|
|
290
299
|
},
|
|
291
300
|
n.key
|
|
292
301
|
)) }) : null,
|
|
293
|
-
|
|
302
|
+
m ? (() => {
|
|
294
303
|
const n = /* @__PURE__ */ e(
|
|
295
304
|
V,
|
|
296
305
|
{
|
|
@@ -298,16 +307,16 @@ const Ie = pe(
|
|
|
298
307
|
className: "ds:!gap-x-[var(--spacing-md)]",
|
|
299
308
|
icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
|
|
300
309
|
label: r("contactProfileCard.label.profession"),
|
|
301
|
-
value: /* @__PURE__ */ e(
|
|
310
|
+
value: /* @__PURE__ */ e(be, { items: m })
|
|
302
311
|
}
|
|
303
312
|
);
|
|
304
|
-
return $ ? /* @__PURE__ */ e(
|
|
313
|
+
return $ ? /* @__PURE__ */ e(ve, { children: n }) : n;
|
|
305
314
|
})() : null,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
] }), _ = /* @__PURE__ */
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
-
|
|
315
|
+
de,
|
|
316
|
+
te
|
|
317
|
+
] }), _ = /* @__PURE__ */ h(H, { children: [
|
|
318
|
+
/* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
319
|
+
ae,
|
|
311
320
|
/* @__PURE__ */ e(
|
|
312
321
|
"h2",
|
|
313
322
|
{
|
|
@@ -317,27 +326,27 @@ const Ie = pe(
|
|
|
317
326
|
}
|
|
318
327
|
)
|
|
319
328
|
] }),
|
|
320
|
-
|
|
329
|
+
pe
|
|
321
330
|
] });
|
|
322
331
|
return /* @__PURE__ */ e(
|
|
323
332
|
"div",
|
|
324
333
|
{
|
|
325
|
-
ref:
|
|
334
|
+
ref: le,
|
|
326
335
|
role: "region",
|
|
327
|
-
"aria-label":
|
|
336
|
+
"aria-label": ce,
|
|
328
337
|
"aria-labelledby": A,
|
|
329
338
|
"data-component": "contact-profile-card",
|
|
330
339
|
"data-component-id": P,
|
|
331
340
|
id: P,
|
|
332
|
-
className:
|
|
333
|
-
...
|
|
341
|
+
className: Se({ surface: N, className: ne }),
|
|
342
|
+
...oe,
|
|
334
343
|
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
344
|
}
|
|
336
345
|
);
|
|
337
346
|
}
|
|
338
347
|
);
|
|
339
|
-
|
|
340
|
-
const
|
|
348
|
+
Ke.displayName = "ContactProfileCard";
|
|
349
|
+
const aa = [
|
|
341
350
|
"address",
|
|
342
351
|
"phone",
|
|
343
352
|
"whatsapp",
|
|
@@ -348,22 +357,22 @@ const ea = [
|
|
|
348
357
|
"firstVisitPrice",
|
|
349
358
|
"expertForAnxiousPatients",
|
|
350
359
|
"profession"
|
|
351
|
-
],
|
|
360
|
+
], ta = {
|
|
352
361
|
address: q,
|
|
353
362
|
phone: j,
|
|
354
363
|
whatsapp: B,
|
|
355
|
-
email:
|
|
356
|
-
website:
|
|
357
|
-
languages:
|
|
364
|
+
email: L,
|
|
365
|
+
website: G,
|
|
366
|
+
languages: U,
|
|
358
367
|
insurances: E,
|
|
359
368
|
firstVisitPrice: W,
|
|
360
369
|
expertForAnxiousPatients: z,
|
|
361
370
|
profession: w
|
|
362
371
|
};
|
|
363
372
|
export {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
373
|
+
ta as C,
|
|
374
|
+
aa as a,
|
|
375
|
+
Ke as b,
|
|
376
|
+
we as c
|
|
368
377
|
};
|
|
369
|
-
//# sourceMappingURL=contact-profile-card-
|
|
378
|
+
//# sourceMappingURL=contact-profile-card-CAL66GaH.js.map
|