@alfadocs/ui-kit 1.90.2 → 1.91.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-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
- package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
- package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
- package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
- package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
- package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
- package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
- package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
- package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
- package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
- package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
- package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
- package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
- package/dist/_chunks/link-DtCfnLnF.js +332 -0
- package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
- package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
- package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
- package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
- package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
- package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
- package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
- package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
- package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
- package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-CQ_KvEXK.js} +517 -514
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
- package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
- package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
- package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
- package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
- package/dist/agent-catalog.json +2 -2
- package/dist/components/_shared/social-brand-icons.d.ts +29 -0
- 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 +14 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +26 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/slot-load-state.d.ts +11 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/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-card/index.js +1 -1
- 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/link/index.js +1 -1
- package/dist/components/link/link.d.ts +10 -1
- package/dist/components/link/social-url.d.ts +71 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/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/operator-hero/operator-hero.d.ts +6 -0
- 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/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -2
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +13 -1
- package/dist/components/public-footer/socials.d.ts +6 -5
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts +2 -0
- package/dist/components/timeline/index.js +1 -1
- package/dist/i18n/config.js +224 -96
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.js +4 -1
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.js +4 -1
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.js +4 -1
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.js +4 -1
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.js +4 -1
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.js +4 -1
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.js +4 -1
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.js +4 -1
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.js +4 -1
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.js +4 -1
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.js +4 -1
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.js +4 -1
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.js +4 -1
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.js +4 -1
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.js +4 -1
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.js +4 -1
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.js +4 -1
- package/dist/index.js +42 -42
- package/dist/locales/ar.json +4 -1
- package/dist/locales/de.json +4 -1
- package/dist/locales/el.json +4 -1
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +4 -1
- package/dist/locales/fr.json +4 -1
- package/dist/locales/hi.json +4 -1
- package/dist/locales/it.json +4 -1
- package/dist/locales/ja.json +4 -1
- package/dist/locales/nl.json +4 -1
- package/dist/locales/pl.json +4 -1
- package/dist/locales/pt.json +4 -1
- package/dist/locales/ro.json +4 -1
- package/dist/locales/ru.json +4 -1
- package/dist/locales/sq.json +4 -1
- package/dist/locales/sv.json +4 -1
- package/dist/locales/tr.json +4 -1
- package/dist/locales/zh.json +4 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-english.d.ts +71 -0
- package/dist/patterns/error-page/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/booking-CcE_oviI.js +0 -4373
- package/dist/_chunks/error-page-Bhai-spN.js +0 -344
- package/dist/_chunks/link-N5_YpLtm.js +0 -138
- package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
|
@@ -15,7 +15,7 @@ import br from "@fullcalendar/interaction";
|
|
|
15
15
|
import { u as Tr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
16
16
|
import { u as xr } from "./registry-DvAUVLHh.js";
|
|
17
17
|
import { w as wr, C as Dr } from "./calendar-event-card-DXAYWH6k.js";
|
|
18
|
-
import { A as Cr } from "./avatar-
|
|
18
|
+
import { A as Cr } from "./avatar-a6042Ox2.js";
|
|
19
19
|
import { B as kr } from "./button-DohK_Ak_.js";
|
|
20
20
|
import { a as je, R as Ar } from "./resource-chip-DB5jDwUO.js";
|
|
21
21
|
import { T as _e } from "./tooltip-uEBdD1-5.js";
|
|
@@ -1469,4 +1469,4 @@ export {
|
|
|
1469
1469
|
Er as c,
|
|
1470
1470
|
be as r
|
|
1471
1471
|
};
|
|
1472
|
-
//# sourceMappingURL=calendar-
|
|
1472
|
+
//# sourceMappingURL=calendar-CmiMS4FJ.js.map
|
|
@@ -2,9 +2,9 @@ import { jsxs as p, jsx as t, Fragment as Ue } from "react/jsx-runtime";
|
|
|
2
2
|
import { createElement as wo, useContext as ki, createContext as Ii, useState as A, useCallback as Z, useMemo as ee, useRef as F, useEffect as oe, useId as St, forwardRef as Fr, Fragment as To, useLayoutEffect as Ks } from "react";
|
|
3
3
|
import { useTranslation as $e } from "react-i18next";
|
|
4
4
|
import { u as Lo } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
5
|
-
import { A as Ao } from "./appointment-timeline-
|
|
5
|
+
import { A as Ao } from "./appointment-timeline-rbt9AwHO.js";
|
|
6
6
|
import { a as yi } from "./workflow-status-Dc_CyEz5.js";
|
|
7
|
-
import { A as dr, g as Eo } from "./avatar-
|
|
7
|
+
import { A as dr, g as Eo } from "./avatar-a6042Ox2.js";
|
|
8
8
|
import { B as ot } from "./badge-BUk4RjTS.js";
|
|
9
9
|
import { S as Hn, C as Ci } from "./skeleton-tTWJpvAq.js";
|
|
10
10
|
import { S as Sr } from "./stethoscope-sZXGC43m.js";
|
|
@@ -16,9 +16,9 @@ import { d as vt, c as qs, b as ra } from "./toast-BNoN8Qjh.js";
|
|
|
16
16
|
import { T as Ga, a as Si } from "./tooltip-uEBdD1-5.js";
|
|
17
17
|
import { A as he } from "./alert-9kEwDza3.js";
|
|
18
18
|
import { B as ge } from "./button-DohK_Ak_.js";
|
|
19
|
-
import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-
|
|
19
|
+
import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-D8vDg0sg.js";
|
|
20
20
|
import { V as va } from "./visually-hidden-BHxEUGyT.js";
|
|
21
|
-
import { C as Xo } from "./calendar-
|
|
21
|
+
import { C as Xo } from "./calendar-CmiMS4FJ.js";
|
|
22
22
|
import { C as lr } from "./card-BA4Ig_kn.js";
|
|
23
23
|
import { C as zn } from "./checkbox-a7Sh-dXb.js";
|
|
24
24
|
import { a as Ua } from "./key-value-pair-BoXOtBL1.js";
|
|
@@ -34,7 +34,7 @@ import { D as U } from "./dropdown-menu-D1we7oAY.js";
|
|
|
34
34
|
import { F as Ie } from "./form-field-CyHfOVKF.js";
|
|
35
35
|
import { P as On } from "./popover-Da1ekjV1.js";
|
|
36
36
|
import { S as Qo, a as ec, E as nc } from "./calendar-event-card-DXAYWH6k.js";
|
|
37
|
-
import { A as tc } from "./appointment-peek-
|
|
37
|
+
import { A as tc } from "./appointment-peek-C0kKqnFk.js";
|
|
38
38
|
import { H as er } from "./hover-card-CuRIA4wN.js";
|
|
39
39
|
import { R as xt } from "./radio-BZQs6_36.js";
|
|
40
40
|
import { R as Sa } from "./radio-group-ChIKyeSJ.js";
|
|
@@ -74,7 +74,7 @@ import { createPortal as lc } from "react-dom";
|
|
|
74
74
|
import { G as Ya, h as Js, c as uc, A as hc, C as _i } from "./color-picker-AcaWuKah.js";
|
|
75
75
|
import { s as mc, S as pc } from "./signature-status-chip-pIoQjvH8.js";
|
|
76
76
|
import { b as gc } from "./appointment-workflow-status-DMjuIK90.js";
|
|
77
|
-
import { N as vc } from "./notes-panel-
|
|
77
|
+
import { N as vc } from "./notes-panel-ib7I3aNf.js";
|
|
78
78
|
import { C as vs } from "./combobox-D-gpgEDy.js";
|
|
79
79
|
import { S as fc } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
80
80
|
import { N as ns } from "./number-input-CVwI1ltI.js";
|
|
@@ -10983,4 +10983,4 @@ export {
|
|
|
10983
10983
|
hp as r,
|
|
10984
10984
|
Vn as u
|
|
10985
10985
|
};
|
|
10986
|
-
//# sourceMappingURL=calendar-appointment-editor-dialog-
|
|
10986
|
+
//# sourceMappingURL=calendar-appointment-editor-dialog-sJKLoVJ2.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as H, useId as P } from "react";
|
|
3
3
|
import { useTranslation as M } from "react-i18next";
|
|
4
4
|
import { B as N } from "./badge-BUk4RjTS.js";
|
|
5
|
-
import { L as F } from "./link-
|
|
5
|
+
import { L as F } from "./link-DtCfnLnF.js";
|
|
6
6
|
import { P as A } from "./progress-D_g_Sl2g.js";
|
|
7
7
|
import { T as C } from "./timestamp-DPLDWdxA.js";
|
|
8
8
|
import { T as L } from "./transaction-chip-CohY6sTA.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
de as C,
|
|
254
254
|
Z as c
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=care-plan-card-
|
|
256
|
+
//# sourceMappingURL=care-plan-card-DD9rEWYN.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as F, useId as M } from "react";
|
|
|
3
3
|
import { useTranslation as U } from "react-i18next";
|
|
4
4
|
import { B as P } from "./badge-BUk4RjTS.js";
|
|
5
5
|
import { a as G } from "./key-value-pair-BoXOtBL1.js";
|
|
6
|
-
import { L as O } from "./link-
|
|
6
|
+
import { L as O } from "./link-DtCfnLnF.js";
|
|
7
7
|
import { S as $ } from "./separator-CYU_bGFn.js";
|
|
8
8
|
import { T as A } from "./timestamp-DPLDWdxA.js";
|
|
9
9
|
import { u as q } from "./registry-DvAUVLHh.js";
|
|
@@ -195,4 +195,4 @@ export {
|
|
|
195
195
|
ee as C,
|
|
196
196
|
X as c
|
|
197
197
|
};
|
|
198
|
-
//# sourceMappingURL=care-plan-header-
|
|
198
|
+
//# sourceMappingURL=care-plan-header-CXUJQt8Q.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as T, useMemo as z, Fragment as l } from "react";
|
|
|
3
3
|
import { c as h } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as B } from "react-i18next";
|
|
5
5
|
import { B as F } from "./button-DohK_Ak_.js";
|
|
6
|
-
import { A as I } from "./avatar-
|
|
6
|
+
import { A as I } from "./avatar-a6042Ox2.js";
|
|
7
7
|
import { T as A } from "./timestamp-DPLDWdxA.js";
|
|
8
8
|
import { s as M, C as S } from "./code-block-BTsCXVGI.js";
|
|
9
9
|
import { s as V } from "./safe-image-src-DstKgCo7.js";
|
|
@@ -236,4 +236,4 @@ J.displayName = "ChatMessage";
|
|
|
236
236
|
export {
|
|
237
237
|
J as C
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chat-message-
|
|
239
|
+
//# sourceMappingURL=chat-message-LRO_6Ee3.js.map
|
|
@@ -2,12 +2,12 @@ import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as T, useId as P, useState as k, useMemo as ee } from "react";
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as se } from "react-i18next";
|
|
5
|
-
import { A as ae } from "./avatar-
|
|
5
|
+
import { A as ae } from "./avatar-a6042Ox2.js";
|
|
6
6
|
import { B as b } from "./badge-BUk4RjTS.js";
|
|
7
7
|
import { C as S } from "./card-BA4Ig_kn.js";
|
|
8
8
|
import { T as B } from "./timestamp-DPLDWdxA.js";
|
|
9
9
|
import { SafeHtml as ie } from "../safe-html/index.js";
|
|
10
|
-
import { n as te, P as I, F as O, N as re } from "./note-attachment-
|
|
10
|
+
import { n as te, P as I, F as O, N as re } from "./note-attachment-cnj2JRrg.js";
|
|
11
11
|
import { u as de } from "./use-clamp-overflow-DQE2kwZ9.js";
|
|
12
12
|
import { u as ne } from "./registry-DvAUVLHh.js";
|
|
13
13
|
const oe = {
|
|
@@ -337,4 +337,4 @@ export {
|
|
|
337
337
|
ue as C,
|
|
338
338
|
oe as c
|
|
339
339
|
};
|
|
340
|
-
//# sourceMappingURL=clinical-note-card-
|
|
340
|
+
//# sourceMappingURL=clinical-note-card-Cut2lNmu.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as r, Fragment as b } from "react";
|
|
3
3
|
import { useTranslation as k } from "react-i18next";
|
|
4
4
|
import { C as o } from "./card-BA4Ig_kn.js";
|
|
5
|
-
import { L as p } from "./link-
|
|
5
|
+
import { L as p } from "./link-DtCfnLnF.js";
|
|
6
6
|
import { M as v } from "./map-pin-BaY37-Km.js";
|
|
7
7
|
function L(s) {
|
|
8
8
|
return `tel:${s.replace(/\(0\)/g, "").replace(/[^\d+]/g, "")}`;
|
|
@@ -118,4 +118,4 @@ const M = Object.assign(f, {
|
|
|
118
118
|
export {
|
|
119
119
|
M as C
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=contact-card-
|
|
121
|
+
//# sourceMappingURL=contact-card-ClvEDM9e.js.map
|
|
@@ -1,23 +1,34 @@
|
|
|
1
|
-
import { jsxs as u, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as u, jsx as e, Fragment as z } from "react/jsx-runtime";
|
|
2
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 T } from "./card-BA4Ig_kn.js";
|
|
7
7
|
import { K as fe, a as ue } from "./key-value-pair-BoXOtBL1.js";
|
|
8
|
-
import { L as d } from "./link-
|
|
8
|
+
import { L as d } from "./link-DtCfnLnF.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
|
|
12
|
-
import { H } from "./heart--qCA4ffe.js";
|
|
13
|
-
import {
|
|
14
|
-
import { S as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { M as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
11
|
+
import { S as _ } from "./stethoscope-sZXGC43m.js";
|
|
12
|
+
import { H as F } from "./heart--qCA4ffe.js";
|
|
13
|
+
import { c as ge } from "./createLucideIcon-DhHxpK9K.js";
|
|
14
|
+
import { S as H } from "./shield-check-DCJALLVh.js";
|
|
15
|
+
import { L as O } from "./languages-CGLX6Qpe.js";
|
|
16
|
+
import { G as V } from "./globe-sHBW1JN5.js";
|
|
17
|
+
import { M as L } from "./mail-BqXVF2zH.js";
|
|
18
|
+
import { M as U } from "./message-circle-Bepl9JT5.js";
|
|
19
|
+
import { P as E } from "./phone-FceYcIFQ.js";
|
|
20
|
+
import { M as K } from "./map-pin-BaY37-Km.js";
|
|
21
|
+
/**
|
|
22
|
+
* @license lucide-react v1.22.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/
|
|
27
|
+
const ve = [
|
|
28
|
+
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
|
|
29
|
+
["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
|
|
30
|
+
["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
|
|
31
|
+
], B = ge("banknote", ve), be = {
|
|
21
32
|
id: "contact-profile-card",
|
|
22
33
|
// Passive presentation surface — only exposes the rendered profession for
|
|
23
34
|
// introspection. No interactive capability is backed by the handle.
|
|
@@ -43,7 +54,7 @@ const ge = {
|
|
|
43
54
|
description: "Sourced from the id prop."
|
|
44
55
|
}
|
|
45
56
|
}
|
|
46
|
-
},
|
|
57
|
+
}, xe = de(
|
|
47
58
|
"ds:w-full ds:text-[color:var(--foreground)] ds:[--key-value-pair-icon-color:var(--accent)]",
|
|
48
59
|
{
|
|
49
60
|
variants: {
|
|
@@ -59,14 +70,14 @@ const ge = {
|
|
|
59
70
|
defaultVariants: { surface: "elevated" }
|
|
60
71
|
}
|
|
61
72
|
);
|
|
62
|
-
function
|
|
73
|
+
function Ce(i) {
|
|
63
74
|
return i.replace(/[^\d+]/g, "");
|
|
64
75
|
}
|
|
65
|
-
function
|
|
76
|
+
function Pe(i, t) {
|
|
66
77
|
const a = `https://wa.me/${i}`;
|
|
67
78
|
return t ? `${a}?text=${encodeURIComponent(t)}` : a;
|
|
68
79
|
}
|
|
69
|
-
function
|
|
80
|
+
function ye(i) {
|
|
70
81
|
const t = i.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
|
|
71
82
|
try {
|
|
72
83
|
const { protocol: l } = new URL(a);
|
|
@@ -75,16 +86,16 @@ function xe(i) {
|
|
|
75
86
|
return;
|
|
76
87
|
}
|
|
77
88
|
}
|
|
78
|
-
function
|
|
89
|
+
function ke(i) {
|
|
79
90
|
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(i.line)}`;
|
|
80
91
|
}
|
|
81
|
-
function
|
|
92
|
+
function we() {
|
|
82
93
|
if (typeof document > "u") return "4945a3";
|
|
83
94
|
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
|
|
84
95
|
return t ? t[1] : "4945a3";
|
|
85
96
|
}
|
|
86
|
-
function
|
|
87
|
-
const s =
|
|
97
|
+
function Me({ apiKey: i, center: t, zoom: a, altText: l }) {
|
|
98
|
+
const s = we(), 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)}`;
|
|
88
99
|
return /* @__PURE__ */ e(
|
|
89
100
|
"img",
|
|
90
101
|
{
|
|
@@ -98,7 +109,7 @@ function ke({ apiKey: i, center: t, zoom: a, altText: l }) {
|
|
|
98
109
|
}
|
|
99
110
|
);
|
|
100
111
|
}
|
|
101
|
-
const
|
|
112
|
+
const $e = le(
|
|
102
113
|
({
|
|
103
114
|
heading: i,
|
|
104
115
|
description: t,
|
|
@@ -113,7 +124,7 @@ const we = le(
|
|
|
113
124
|
insurances: v,
|
|
114
125
|
firstVisitPriceCents: b,
|
|
115
126
|
currencyCode: y = "EUR",
|
|
116
|
-
profession:
|
|
127
|
+
profession: x,
|
|
117
128
|
specializedInFearPatients: G,
|
|
118
129
|
googleMapsApiKey: k,
|
|
119
130
|
mapZoom: j = 14,
|
|
@@ -126,11 +137,11 @@ const we = le(
|
|
|
126
137
|
mapSlot: X,
|
|
127
138
|
surface: w = "elevated",
|
|
128
139
|
"aria-label": Z,
|
|
129
|
-
id:
|
|
140
|
+
id: C,
|
|
130
141
|
className: ee,
|
|
131
142
|
...ae
|
|
132
143
|
}, te) => {
|
|
133
|
-
const { t: r, i18n:
|
|
144
|
+
const { t: r, i18n: M } = pe("ui"), $ = ce(), A = M.language ?? "en", N = i ?? r("contactProfileCard.heading"), re = Z ?? N, R = se(() => {
|
|
134
145
|
if (b != null)
|
|
135
146
|
return me(
|
|
136
147
|
b,
|
|
@@ -138,17 +149,17 @@ const we = le(
|
|
|
138
149
|
A,
|
|
139
150
|
r("common.freeOfCharge")
|
|
140
151
|
);
|
|
141
|
-
}, [b, y, A, r]),
|
|
142
|
-
if (a &&
|
|
152
|
+
}, [b, y, A, r]), o = [];
|
|
153
|
+
if (a && o.push({
|
|
143
154
|
key: "address",
|
|
144
|
-
icon: /* @__PURE__ */ e(
|
|
155
|
+
icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
|
|
145
156
|
label: r("contactProfileCard.label.address"),
|
|
146
157
|
value: /* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
147
158
|
/* @__PURE__ */ e("span", { dir: "auto", children: a.line }),
|
|
148
159
|
a.lat != null && a.lng != null ? /* @__PURE__ */ e(
|
|
149
160
|
d,
|
|
150
161
|
{
|
|
151
|
-
href:
|
|
162
|
+
href: ke(a),
|
|
152
163
|
external: !0,
|
|
153
164
|
intent: "default",
|
|
154
165
|
onClick: D,
|
|
@@ -156,36 +167,36 @@ const we = le(
|
|
|
156
167
|
}
|
|
157
168
|
) : null
|
|
158
169
|
] })
|
|
159
|
-
}), l &&
|
|
170
|
+
}), l && o.push({
|
|
160
171
|
key: "phone",
|
|
161
|
-
icon: /* @__PURE__ */ e(
|
|
172
|
+
icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
|
|
162
173
|
label: r("contactProfileCard.label.phone"),
|
|
163
174
|
value: /* @__PURE__ */ e(
|
|
164
175
|
d,
|
|
165
176
|
{
|
|
166
|
-
href: `tel:${
|
|
177
|
+
href: `tel:${Ce(l)}`,
|
|
167
178
|
intent: "default",
|
|
168
179
|
onClick: q,
|
|
169
180
|
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: l })
|
|
170
181
|
}
|
|
171
182
|
)
|
|
172
|
-
}), s &&
|
|
183
|
+
}), s && o.push({
|
|
173
184
|
key: "whatsapp",
|
|
174
|
-
icon: /* @__PURE__ */ e(
|
|
185
|
+
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
175
186
|
label: r("contactProfileCard.label.whatsapp"),
|
|
176
187
|
value: /* @__PURE__ */ e(
|
|
177
188
|
d,
|
|
178
189
|
{
|
|
179
|
-
href:
|
|
190
|
+
href: Pe(s, m),
|
|
180
191
|
external: !0,
|
|
181
192
|
intent: "default",
|
|
182
193
|
onClick: W,
|
|
183
194
|
children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
|
|
184
195
|
}
|
|
185
196
|
)
|
|
186
|
-
}), h &&
|
|
197
|
+
}), h && o.push({
|
|
187
198
|
key: "email",
|
|
188
|
-
icon: /* @__PURE__ */ e(
|
|
199
|
+
icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
|
|
189
200
|
label: r("contactProfileCard.label.email"),
|
|
190
201
|
value: /* @__PURE__ */ e(
|
|
191
202
|
d,
|
|
@@ -197,54 +208,54 @@ const we = le(
|
|
|
197
208
|
}
|
|
198
209
|
)
|
|
199
210
|
}), p) {
|
|
200
|
-
const
|
|
201
|
-
|
|
211
|
+
const n = ye(p);
|
|
212
|
+
o.push({
|
|
202
213
|
key: "website",
|
|
203
|
-
icon: /* @__PURE__ */ e(
|
|
214
|
+
icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
|
|
204
215
|
label: r("contactProfileCard.label.website"),
|
|
205
|
-
value:
|
|
216
|
+
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 })
|
|
206
217
|
});
|
|
207
218
|
}
|
|
208
219
|
if (g && g.length > 0) {
|
|
209
|
-
const
|
|
220
|
+
const n = (c) => {
|
|
210
221
|
if (f != null && f[c]) return f[c];
|
|
211
222
|
const I = `languages.${c}`;
|
|
212
|
-
return
|
|
223
|
+
return M.exists(I) ? r(I) : c.toUpperCase();
|
|
213
224
|
};
|
|
214
|
-
|
|
225
|
+
o.push({
|
|
215
226
|
key: "languages",
|
|
216
|
-
icon: /* @__PURE__ */ e(
|
|
227
|
+
icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
|
|
217
228
|
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:
|
|
229
|
+
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: n(c) }, c)) })
|
|
219
230
|
});
|
|
220
231
|
}
|
|
221
|
-
v && v.length > 0 &&
|
|
232
|
+
v && v.length > 0 && o.push({
|
|
222
233
|
key: "insurances",
|
|
223
|
-
icon: /* @__PURE__ */ e(
|
|
234
|
+
icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
|
|
224
235
|
label: r("contactProfileCard.label.insurances"),
|
|
225
|
-
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((
|
|
226
|
-
}),
|
|
236
|
+
value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((n) => /* @__PURE__ */ e(P, { variant: "info", children: n }, n)) })
|
|
237
|
+
}), R && o.push({
|
|
227
238
|
key: "firstVisitPrice",
|
|
228
|
-
icon: /* @__PURE__ */ e(
|
|
239
|
+
icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
|
|
229
240
|
label: r("contactProfileCard.label.firstVisitPrice"),
|
|
230
|
-
value: /* @__PURE__ */ e(P, { variant: "accentSoft", size: "lg", children:
|
|
231
|
-
}), G &&
|
|
241
|
+
value: /* @__PURE__ */ e(P, { variant: "accentSoft", size: "lg", children: R })
|
|
242
|
+
}), G && o.push({
|
|
232
243
|
key: "expertForAnxiousPatients",
|
|
233
|
-
icon: /* @__PURE__ */ e(
|
|
244
|
+
icon: /* @__PURE__ */ e(F, { "aria-hidden": "true" }),
|
|
234
245
|
label: r("contactProfileCard.label.expertForAnxiousPatients"),
|
|
235
246
|
value: r("contactProfileCard.value.yesShort")
|
|
236
|
-
}),
|
|
247
|
+
}), x && o.push({
|
|
237
248
|
key: "profession",
|
|
238
|
-
icon: /* @__PURE__ */ e(
|
|
249
|
+
icon: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
|
|
239
250
|
label: r("contactProfileCard.label.profession"),
|
|
240
|
-
value:
|
|
251
|
+
value: x
|
|
241
252
|
}), he(
|
|
242
|
-
|
|
243
|
-
{ getProfession: () =>
|
|
244
|
-
|
|
253
|
+
be,
|
|
254
|
+
{ getProfession: () => x },
|
|
255
|
+
C
|
|
245
256
|
);
|
|
246
257
|
const ie = !!k && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
|
|
247
|
-
|
|
258
|
+
Me,
|
|
248
259
|
{
|
|
249
260
|
apiKey: k,
|
|
250
261
|
center: { lat: a.lat, lng: a.lng },
|
|
@@ -254,32 +265,32 @@ const we = le(
|
|
|
254
265
|
defaultValue: "Map showing {{address}}"
|
|
255
266
|
})
|
|
256
267
|
}
|
|
257
|
-
) : null,
|
|
268
|
+
) : null, oe = X ?? ie, ne = /* @__PURE__ */ u(z, { children: [
|
|
258
269
|
t ? /* @__PURE__ */ e("p", { dir: "auto", className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: t }) : null,
|
|
259
|
-
|
|
270
|
+
o.length > 0 ? /* @__PURE__ */ e(fe, { rowGap: "md", children: o.map((n) => /* @__PURE__ */ e(
|
|
260
271
|
ue,
|
|
261
272
|
{
|
|
262
|
-
icon:
|
|
263
|
-
label:
|
|
264
|
-
value:
|
|
273
|
+
icon: n.icon,
|
|
274
|
+
label: n.label,
|
|
275
|
+
value: n.value
|
|
265
276
|
},
|
|
266
|
-
|
|
277
|
+
n.key
|
|
267
278
|
)) }) : null,
|
|
268
|
-
|
|
279
|
+
oe,
|
|
269
280
|
Q
|
|
270
|
-
] }), S = /* @__PURE__ */ u(
|
|
281
|
+
] }), S = /* @__PURE__ */ u(z, { children: [
|
|
271
282
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
272
283
|
J,
|
|
273
284
|
/* @__PURE__ */ e(
|
|
274
285
|
"h2",
|
|
275
286
|
{
|
|
276
|
-
id:
|
|
287
|
+
id: $,
|
|
277
288
|
className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
|
|
278
|
-
children:
|
|
289
|
+
children: N
|
|
279
290
|
}
|
|
280
291
|
)
|
|
281
292
|
] }),
|
|
282
|
-
|
|
293
|
+
ne
|
|
283
294
|
] });
|
|
284
295
|
return /* @__PURE__ */ e(
|
|
285
296
|
"div",
|
|
@@ -287,19 +298,19 @@ const we = le(
|
|
|
287
298
|
ref: te,
|
|
288
299
|
role: "region",
|
|
289
300
|
"aria-label": re,
|
|
290
|
-
"aria-labelledby":
|
|
301
|
+
"aria-labelledby": $,
|
|
291
302
|
"data-component": "contact-profile-card",
|
|
292
|
-
"data-component-id":
|
|
293
|
-
id:
|
|
294
|
-
className:
|
|
303
|
+
"data-component-id": C,
|
|
304
|
+
id: C,
|
|
305
|
+
className: xe({ surface: w, className: ee }),
|
|
295
306
|
...ae,
|
|
296
|
-
children: w === "elevated" ? /* @__PURE__ */ e(
|
|
307
|
+
children: w === "elevated" ? /* @__PURE__ */ e(T, { variant: "elevated", children: /* @__PURE__ */ e(T.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 })
|
|
297
308
|
}
|
|
298
309
|
);
|
|
299
310
|
}
|
|
300
311
|
);
|
|
301
|
-
|
|
302
|
-
const
|
|
312
|
+
$e.displayName = "ContactProfileCard";
|
|
313
|
+
const De = [
|
|
303
314
|
"address",
|
|
304
315
|
"phone",
|
|
305
316
|
"whatsapp",
|
|
@@ -310,22 +321,22 @@ const je = [
|
|
|
310
321
|
"firstVisitPrice",
|
|
311
322
|
"expertForAnxiousPatients",
|
|
312
323
|
"profession"
|
|
313
|
-
],
|
|
314
|
-
address:
|
|
315
|
-
phone:
|
|
316
|
-
whatsapp:
|
|
317
|
-
email:
|
|
318
|
-
website:
|
|
319
|
-
languages:
|
|
320
|
-
insurances:
|
|
321
|
-
firstVisitPrice:
|
|
322
|
-
expertForAnxiousPatients:
|
|
323
|
-
profession:
|
|
324
|
+
], Ye = {
|
|
325
|
+
address: K,
|
|
326
|
+
phone: E,
|
|
327
|
+
whatsapp: U,
|
|
328
|
+
email: L,
|
|
329
|
+
website: V,
|
|
330
|
+
languages: O,
|
|
331
|
+
insurances: H,
|
|
332
|
+
firstVisitPrice: B,
|
|
333
|
+
expertForAnxiousPatients: F,
|
|
334
|
+
profession: _
|
|
324
335
|
};
|
|
325
336
|
export {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
337
|
+
Ye as C,
|
|
338
|
+
De as a,
|
|
339
|
+
$e as b,
|
|
340
|
+
be as c
|
|
330
341
|
};
|
|
331
|
-
//# sourceMappingURL=contact-profile-card-
|
|
342
|
+
//# sourceMappingURL=contact-profile-card-CX45mZA3.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-a6042Ox2.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-CyNi7M_f.js.map
|
|
@@ -2,11 +2,11 @@ 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-a6042Ox2.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-BA4Ig_kn.js";
|
|
9
|
-
import { L as F } from "./link-
|
|
9
|
+
import { L as F } from "./link-DtCfnLnF.js";
|
|
10
10
|
import { P as G } from "./panel-header-CbtlTe85.js";
|
|
11
11
|
import { T as W } from "./timestamp-DPLDWdxA.js";
|
|
12
12
|
import { u as X } from "./registry-DvAUVLHh.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-B_bOloqP.js.map
|