@alfadocs/ui-kit 0.25.1 → 0.30.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-BmpaUG1h.js → agenda-card-CznB7K8e.js} +2 -2
- package/dist/_chunks/{agenda-tray-DiInnVqk.js → agenda-tray-C_bha7oK.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-B5MdixzR.js → ai-prompt-input-Bka3jX3i.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CUi2UCbY.js → alia-sidebar-CnvXq95r.js} +92 -109
- package/dist/_chunks/{audio-recorder-D4xM3H5i.js → audio-recorder-OB6IV9B1.js} +2 -2
- package/dist/_chunks/{autocomplete-C7xq06bP.js → autocomplete-CUh0f7Dj.js} +2 -2
- package/dist/_chunks/{avatar-BpFohgWG.js → avatar-D_H4emLo.js} +7 -7
- package/dist/_chunks/{benefit-card-DXmrAyfn.js → benefit-card-CjYM8vNr.js} +29 -29
- package/dist/_chunks/booking-BYuc_8HV.js +2250 -0
- package/dist/_chunks/{calendar-zy0tUUVG.js → calendar-WWNx448i.js} +114 -142
- package/dist/_chunks/{card-C353dU-H.js → card-DKTMLVrw.js} +11 -11
- package/dist/_chunks/{carousel.agent-DnPiqijR.js → carousel.agent-C9swH-Uf.js} +2 -2
- package/dist/_chunks/{chat-input-B3XmFGDw.js → chat-input-BfDcz1Yi.js} +2 -2
- package/dist/_chunks/{chat-message-W3k8rLOA.js → chat-message-fg221-yx.js} +2 -2
- package/dist/_chunks/{command-palette-DkL-aW4O.js → command-palette-11BieSNq.js} +2 -2
- package/dist/_chunks/{contact-card-CjG7c-1q.js → contact-card-DYbp--s-.js} +3 -3
- package/dist/_chunks/{date-picker-BIoSLRly.js → date-picker-D0Ry1dMz.js} +26 -27
- package/dist/_chunks/{date-range-picker-9gANFNG9.js → date-range-picker-DYgHzMOo.js} +19 -20
- package/dist/_chunks/{date-time-picker-DG7BiGdb.js → date-time-picker-CGmGtcyc.js} +10 -11
- package/dist/_chunks/{description-list-Bsga4IW8.js → description-list-yl3y3QKg.js} +34 -24
- package/dist/_chunks/{dialog-DUomPCRS.js → dialog-BBXqpZIt.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-DJB5MxAI.js → editable-currency-cell-renderer-DSReCae7.js} +7 -7
- package/dist/_chunks/{empty-state-3CLJIXSj.js → empty-state-BLy7tigq.js} +13 -33
- package/dist/_chunks/eye-LHlSU38h.js +21 -0
- package/dist/_chunks/{freemium-paywall-CM6V1zNf.js → freemium-paywall-B9c8Ylww.js} +11 -11
- package/dist/_chunks/{header-DqmKROIY.js → header-CkMb1TZS.js} +24 -24
- package/dist/_chunks/heart-pulse-CvuyFKHB.js +21 -0
- package/dist/_chunks/icon-button-BRHSSFmZ.js +70 -0
- package/dist/_chunks/{isSameDay-ecuM8PBB.js → isSameDay-DHG8Xade.js} +4 -4
- package/dist/_chunks/{key-value-pair-DBuOCtIc.js → key-value-pair-CqeKiP__.js} +2 -2
- package/dist/_chunks/{link-DmM5IevO.js → link-DrD_cRUg.js} +50 -45
- package/dist/_chunks/{locale-picker-BxEUUPW7.js → locale-picker-BHxbTNmR.js} +297 -208
- package/dist/_chunks/{map-view-CcwycFQX.js → map-view-DyB8tr6c.js} +9 -9
- package/dist/_chunks/{matrix-rain-CRPMXcVx.js → matrix-rain-sDOUUwZp.js} +35 -35
- package/dist/_chunks/{message-card-i61k1TGc.js → message-card-DjRtA8GG.js} +3 -3
- package/dist/_chunks/{message-tray-DrV7G-wR.js → message-tray-DfsAMncP.js} +3 -3
- package/dist/_chunks/monitor-D-SFdbrU.js +16 -0
- package/dist/_chunks/{notification-card-ejOw5g6g.js → notification-card-B_847w5g.js} +3 -3
- package/dist/_chunks/{notification-tray-D_69dXFY.js → notification-tray-6f7smmT1.js} +22 -19
- package/dist/_chunks/parseISO-Dk4xa7q6.js +120 -0
- package/dist/_chunks/patient-search-BhlxYAI3.js +1102 -0
- package/dist/_chunks/patient-shell-CAXYzbRw.js +173 -0
- package/dist/_chunks/{payment-form-F7uh0Rqr.js → payment-form-Ds3rxvad.js} +2 -2
- package/dist/_chunks/{pdf-viewer-CuYaVR1I.js → pdf-viewer-CIuaocnq.js} +2 -2
- package/dist/_chunks/{popover--derJ_wq.js → popover-D0slaBB9.js} +17 -13
- package/dist/_chunks/{privacy-lock-BKsI6ReN.js → privacy-lock-BI4vi9Ud.js} +2 -2
- package/dist/_chunks/public-footer.agent-CA29gxHJ.js +516 -0
- package/dist/_chunks/{public-header.agent-BQ3r6Hgq.js → public-header.agent-5U3S9QiC.js} +49 -41
- package/dist/_chunks/react-day-picker-D3yzgvDB.js +3127 -0
- package/dist/_chunks/{recaptcha-widget-Kp1XntuE.js → recaptcha-widget-BtBNb6tB.js} +2 -2
- package/dist/_chunks/reviews-panel-CFttsfuC.js +513 -0
- package/dist/_chunks/{search-bar-DORSAzNt.js → search-bar-BRMW1-WG.js} +2 -2
- package/dist/_chunks/{search-input-BtEJAJHa.js → search-input-CIA6pPfn.js} +2 -2
- package/dist/_chunks/{sheet-BT0izeoI.js → sheet-D8M8hf8B.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-4zZC-I6y.js → sign-in-with-alfadocs-button-BI0fVonM.js} +2 -2
- package/dist/_chunks/slot-grid-B2zprPcv.js +387 -0
- package/dist/_chunks/sparkles-CuYXqQLg.js +23 -0
- package/dist/_chunks/{spinner-DirtWZNG.js → spinner-CCByyvcb.js} +2 -2
- package/dist/_chunks/stepper-accordion-BfS6lUB9.js +257 -0
- package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js +71 -0
- package/dist/_chunks/stethoscope-DT5qCW8Y.js +18 -0
- package/dist/_chunks/{sun-Eweh5fvi.js → sun-BuXE0xUS.js} +3 -15
- package/dist/_chunks/{task-tray-B3A2fRGR.js → task-tray-Bcmrrs8m.js} +3 -3
- package/dist/_chunks/{theme-toggle-FrotC2VI.js → theme-toggle-nPzb378f.js} +37 -36
- package/dist/_chunks/{timeline-jmd7lfDf.js → timeline-CR7HjZCK.js} +3 -3
- package/dist/_chunks/{toast.agent-32WNQ-_x.js → toast.agent-CTF6nIj5.js} +2 -2
- package/dist/_chunks/{transcript-panel-DUrjx5sa.js → transcript-panel-QUQ9XJmf.js} +2 -2
- package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js} +38 -53
- package/dist/_chunks/use-theme-C2dHKUAN.js +145 -0
- package/dist/_chunks/{workflow-map-BR6txfFX.js → workflow-map-BKsKdYvZ.js} +5 -5
- package/dist/agent-catalog.json +151 -51
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +145 -0
- package/dist/components/booking/booking.agent.d.ts +4 -0
- package/dist/components/booking/booking.d.ts +6 -0
- package/dist/components/booking/cascade.d.ts +96 -0
- package/dist/components/booking/details-form.d.ts +32 -0
- package/dist/components/booking/index.d.ts +5 -0
- package/dist/components/booking/index.js +8 -0
- package/dist/components/button/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +6 -2
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +16 -15
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +7 -0
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-search/index.d.ts +4 -0
- package/dist/components/patient-search/index.js +6 -0
- package/dist/components/patient-search/patient-search.agent.d.ts +4 -0
- package/dist/components/patient-search/patient-search.d.ts +103 -0
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-footer/index.d.ts +6 -0
- package/dist/components/public-footer/index.js +10 -0
- package/dist/components/public-footer/legal-urls.d.ts +18 -0
- package/dist/components/public-footer/public-footer.agent.d.ts +4 -0
- package/dist/components/public-footer/public-footer.d.ts +51 -0
- package/dist/components/public-footer/socials.d.ts +9 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/reviews-panel/index.d.ts +4 -0
- package/dist/components/reviews-panel/index.js +6 -0
- package/dist/components/reviews-panel/reviews-panel.agent.d.ts +4 -0
- package/dist/components/reviews-panel/reviews-panel.d.ts +76 -0
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +4 -3
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/i18n/config.js +4923 -49
- package/dist/i18n/locales/ar.d.ts +272 -0
- package/dist/i18n/locales/de.d.ts +272 -0
- package/dist/i18n/locales/el.d.ts +272 -0
- package/dist/i18n/locales/es.d.ts +272 -0
- package/dist/i18n/locales/fr.d.ts +272 -0
- package/dist/i18n/locales/hi.d.ts +272 -0
- package/dist/i18n/locales/ja.d.ts +272 -0
- package/dist/i18n/locales/nl.d.ts +272 -0
- package/dist/i18n/locales/pl.d.ts +272 -0
- package/dist/i18n/locales/pt.d.ts +272 -0
- package/dist/i18n/locales/ro.d.ts +272 -0
- package/dist/i18n/locales/ru.d.ts +272 -0
- package/dist/i18n/locales/sq.d.ts +272 -0
- package/dist/i18n/locales/sv.d.ts +272 -0
- package/dist/i18n/locales/tr.d.ts +272 -0
- package/dist/i18n/locales/zh.d.ts +272 -0
- package/dist/i18n/resources.d.ts +544 -0
- package/dist/index.js +364 -348
- package/dist/locales/ar.json +273 -1
- package/dist/locales/de.json +273 -1
- package/dist/locales/el.json +273 -1
- package/dist/locales/en.json +273 -1
- package/dist/locales/es.json +273 -1
- package/dist/locales/fr.json +273 -1
- package/dist/locales/hi.json +273 -1
- package/dist/locales/it.json +273 -1
- package/dist/locales/ja.json +273 -1
- package/dist/locales/nl.json +273 -1
- package/dist/locales/pl.json +273 -1
- package/dist/locales/pt.json +273 -1
- package/dist/locales/ro.json +273 -1
- package/dist/locales/ru.json +273 -1
- package/dist/locales/sq.json +273 -1
- package/dist/locales/sv.json +273 -1
- package/dist/locales/tr.json +273 -1
- package/dist/locales/zh.json +273 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +17 -1
- package/dist/_chunks/icon-button-C4CGcYuz.js +0 -54
- package/dist/_chunks/isSameMonth-5wNF2f4I.js +0 -1307
- package/dist/_chunks/patient-shell-B164drIa.js +0 -173
- package/dist/_chunks/react-day-picker-C5F3-TTX.js +0 -1827
- package/dist/_chunks/slot-grid-CgpYgBkW.js +0 -502
- package/dist/_chunks/stepper-C-sIpRRU.js +0 -7
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +0 -322
- package/dist/_chunks/stepper-calendar-BLOJUE0-.js +0 -648
- package/dist/_chunks/use-theme-B1cwAXJR.js +0 -145
- package/dist/components/stepper-calendar/index.d.ts +0 -4
- package/dist/components/stepper-calendar/index.js +0 -6
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +0 -4
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +0 -62
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as w, useState as k } from "react";
|
|
3
|
+
import { useTranslation as m } from "react-i18next";
|
|
4
|
+
import { A } from "./app-frame-BYx1gcV7.js";
|
|
5
|
+
import { I as H } from "./icon-button-BRHSSFmZ.js";
|
|
6
|
+
import { D as i } from "./dropdown-menu-DZxwF23X.js";
|
|
7
|
+
import { H as x, g as C, f as B, e as M, a as N, c as T, d as O } from "./header-CkMb1TZS.js";
|
|
8
|
+
import { L as P } from "./logo-_Z-jLq80.js";
|
|
9
|
+
import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-DkyC6GvS.js";
|
|
10
|
+
import { T as E } from "./theme-root-BOO73p5t.js";
|
|
11
|
+
import { a as q } from "./tooltip-DHik5yRI.js";
|
|
12
|
+
import { u as F } from "./use-theme-C2dHKUAN.js";
|
|
13
|
+
import { S as U } from "./settings-ca2Yi9R8.js";
|
|
14
|
+
import { c as G } from "./createLucideIcon-CrFbzy84.js";
|
|
15
|
+
import { L as J } from "./log-out-616hnn2-.js";
|
|
16
|
+
/**
|
|
17
|
+
* @license lucide-react v1.8.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/
|
|
22
|
+
const K = [
|
|
23
|
+
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
24
|
+
["path", { d: "m21 3-7 7", key: "1l2asr" }],
|
|
25
|
+
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
26
|
+
["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
|
|
27
|
+
], Q = G("maximize-2", K);
|
|
28
|
+
function V(r) {
|
|
29
|
+
return r > 99 ? "99+" : String(r);
|
|
30
|
+
}
|
|
31
|
+
function X(r) {
|
|
32
|
+
if (r.startsWith("/") || r.startsWith("#") || r.startsWith("?"))
|
|
33
|
+
return !0;
|
|
34
|
+
try {
|
|
35
|
+
const t = new URL(r, window.location.origin);
|
|
36
|
+
return t.protocol === "http:" || t.protocol === "https:";
|
|
37
|
+
} catch {
|
|
38
|
+
return !1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function Y({
|
|
42
|
+
logoutHref: r,
|
|
43
|
+
onToggleFullscreen: t
|
|
44
|
+
}) {
|
|
45
|
+
const { t: a } = m();
|
|
46
|
+
return /* @__PURE__ */ n(i.Root, { children: [
|
|
47
|
+
/* @__PURE__ */ e(i.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
48
|
+
H,
|
|
49
|
+
{
|
|
50
|
+
icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
51
|
+
"aria-label": a("patientShell.settings.triggerAria"),
|
|
52
|
+
tooltip: a("patientShell.settings.triggerAria"),
|
|
53
|
+
"data-testid": "patient-shell-settings-trigger"
|
|
54
|
+
}
|
|
55
|
+
) }),
|
|
56
|
+
/* @__PURE__ */ n(i.Content, { align: "end", children: [
|
|
57
|
+
/* @__PURE__ */ e(
|
|
58
|
+
i.Item,
|
|
59
|
+
{
|
|
60
|
+
startIcon: /* @__PURE__ */ e(Q, { "aria-hidden": "true" }),
|
|
61
|
+
onSelect: t,
|
|
62
|
+
"data-testid": "patient-shell-fullscreen",
|
|
63
|
+
children: a("patientShell.settings.fullscreen")
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ e(i.Separator, {}),
|
|
67
|
+
/* @__PURE__ */ e(
|
|
68
|
+
i.Item,
|
|
69
|
+
{
|
|
70
|
+
startIcon: /* @__PURE__ */ e(J, { "aria-hidden": "true" }),
|
|
71
|
+
onSelect: () => {
|
|
72
|
+
typeof window > "u" || X(r) && window.location.assign(r);
|
|
73
|
+
},
|
|
74
|
+
"data-testid": "patient-shell-logout",
|
|
75
|
+
children: a("patientShell.settings.logout")
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
] })
|
|
79
|
+
] });
|
|
80
|
+
}
|
|
81
|
+
function Z({ menuItems: r }) {
|
|
82
|
+
return /* @__PURE__ */ e(j, { children: r.map((t) => {
|
|
83
|
+
const a = typeof t.badgeCount == "number" && t.badgeCount > 0 ? t.badgeCount : void 0;
|
|
84
|
+
return /* @__PURE__ */ n(
|
|
85
|
+
R,
|
|
86
|
+
{
|
|
87
|
+
href: t.href,
|
|
88
|
+
"aria-label": t.label,
|
|
89
|
+
isActive: t.isActive,
|
|
90
|
+
children: [
|
|
91
|
+
t.icon ? /* @__PURE__ */ e(_, { children: t.icon }) : null,
|
|
92
|
+
/* @__PURE__ */ e(z, { children: t.label }),
|
|
93
|
+
a !== void 0 ? /* @__PURE__ */ e(D, { children: V(a) }) : null
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
t.id
|
|
97
|
+
);
|
|
98
|
+
}) });
|
|
99
|
+
}
|
|
100
|
+
const $ = w(
|
|
101
|
+
({
|
|
102
|
+
menuItems: r,
|
|
103
|
+
logoutHref: t,
|
|
104
|
+
onToggleFullscreen: a,
|
|
105
|
+
brandLogo: p,
|
|
106
|
+
brandHref: u = "/",
|
|
107
|
+
mainAriaLabel: f,
|
|
108
|
+
sidebarState: o,
|
|
109
|
+
children: g,
|
|
110
|
+
// `userName` and `userAvatarSrc` are declared on the public API
|
|
111
|
+
// for forward-compatibility (future profile-pill work) — they are
|
|
112
|
+
// intentionally unused today because the legacy patient chrome
|
|
113
|
+
// carries no profile pill.
|
|
114
|
+
userName: ee,
|
|
115
|
+
userAvatarSrc: te
|
|
116
|
+
}, s) => {
|
|
117
|
+
const { t: d } = m(), { theme: S, accessibility: b, resolvedTheme: l } = F(), v = S !== "system" || b !== "system", y = l.startsWith("dark") ? "dark" : "light", I = l.endsWith("-accessible"), [L, c] = k(!1), h = /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(
|
|
118
|
+
A,
|
|
119
|
+
{
|
|
120
|
+
mainAriaLabel: f,
|
|
121
|
+
header: /* @__PURE__ */ n(x, { children: [
|
|
122
|
+
/* @__PURE__ */ n(C, { children: [
|
|
123
|
+
/* @__PURE__ */ e(B, { href: "#main-content" }),
|
|
124
|
+
/* @__PURE__ */ e(M, { onMenuOpen: () => c(!0) }),
|
|
125
|
+
/* @__PURE__ */ e(
|
|
126
|
+
N,
|
|
127
|
+
{
|
|
128
|
+
logo: p ?? /* @__PURE__ */ e(P, { variant: "monochrome", size: "md", decorative: !0 }),
|
|
129
|
+
href: u,
|
|
130
|
+
"aria-label": d("patientShell.brand.homeAria")
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
] }),
|
|
134
|
+
/* @__PURE__ */ e(T, {}),
|
|
135
|
+
/* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
|
|
136
|
+
Y,
|
|
137
|
+
{
|
|
138
|
+
logoutHref: t,
|
|
139
|
+
onToggleFullscreen: a
|
|
140
|
+
}
|
|
141
|
+
) })
|
|
142
|
+
] }),
|
|
143
|
+
sidebar: /* @__PURE__ */ e(
|
|
144
|
+
W,
|
|
145
|
+
{
|
|
146
|
+
...o !== void 0 ? { state: o } : { defaultState: "expanded" },
|
|
147
|
+
open: L,
|
|
148
|
+
onOpenChange: c,
|
|
149
|
+
"aria-label": d("patientShell.sidebar.panelLabel"),
|
|
150
|
+
"data-testid": "patient-shell-sidebar",
|
|
151
|
+
children: /* @__PURE__ */ e(Z, { menuItems: r })
|
|
152
|
+
}
|
|
153
|
+
),
|
|
154
|
+
children: g
|
|
155
|
+
}
|
|
156
|
+
) });
|
|
157
|
+
return v ? /* @__PURE__ */ e(
|
|
158
|
+
E,
|
|
159
|
+
{
|
|
160
|
+
ref: s,
|
|
161
|
+
theme: y,
|
|
162
|
+
accessible: I,
|
|
163
|
+
className: "ds:contents",
|
|
164
|
+
children: h
|
|
165
|
+
}
|
|
166
|
+
) : /* @__PURE__ */ e("div", { ref: s, className: "ds:contents", children: h });
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
$.displayName = "PatientShell";
|
|
170
|
+
export {
|
|
171
|
+
$ as P
|
|
172
|
+
};
|
|
173
|
+
//# sourceMappingURL=patient-shell-CAXYzbRw.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as m, Fragment as ne } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as se, useState as E, useEffect as R, useRef as V, useMemo as j, useImperativeHandle as ae, useId as oe, useCallback as ie } from "react";
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as q } from "react-i18next";
|
|
5
|
-
import { S as J } from "./spinner-
|
|
5
|
+
import { S as J } from "./spinner-CCByyvcb.js";
|
|
6
6
|
import { A as W } from "./alert-ywPR59NE.js";
|
|
7
7
|
import { loadStripe as de } from "@stripe/stripe-js";
|
|
8
8
|
import { Elements as ce, useStripe as le, useElements as me, PaymentElement as ue, AddressElement as pe } from "@stripe/react-stripe-js";
|
|
@@ -587,4 +587,4 @@ export {
|
|
|
587
587
|
ye as p,
|
|
588
588
|
ee as s
|
|
589
589
|
};
|
|
590
|
-
//# sourceMappingURL=payment-form-
|
|
590
|
+
//# sourceMappingURL=payment-form-Ds3rxvad.js.map
|
|
@@ -5,7 +5,7 @@ import { c as J } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as pe } from "react-i18next";
|
|
6
6
|
import * as ee from "@radix-ui/react-popover";
|
|
7
7
|
import Me from "pdfjs-dist/build/pdf.worker.min.mjs?url";
|
|
8
|
-
import { S as Le } from "./spinner-
|
|
8
|
+
import { S as Le } from "./spinner-CCByyvcb.js";
|
|
9
9
|
import { A as we } from "./alert-ywPR59NE.js";
|
|
10
10
|
import { u as Ze } from "./registry-C9nwlNyL.js";
|
|
11
11
|
import { X as Be } from "./x-CCcI3eJp.js";
|
|
@@ -917,4 +917,4 @@ export {
|
|
|
917
917
|
nt as P,
|
|
918
918
|
Xe as p
|
|
919
919
|
};
|
|
920
|
-
//# sourceMappingURL=pdf-viewer-
|
|
920
|
+
//# sourceMappingURL=pdf-viewer-CIuaocnq.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as C, useCallback as g, useRef as R, useEffect as h, useMemo a
|
|
|
3
3
|
import * as v from "@radix-ui/react-popover";
|
|
4
4
|
import { c as G } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as J } from "react-i18next";
|
|
6
|
-
import { I as K } from "./icon-button-
|
|
6
|
+
import { I as K } from "./icon-button-BRHSSFmZ.js";
|
|
7
7
|
import { u as Q } from "./registry-C9nwlNyL.js";
|
|
8
8
|
import { X as U } from "./x-CCcI3eJp.js";
|
|
9
9
|
const Y = {
|
|
@@ -61,11 +61,15 @@ function Z(e) {
|
|
|
61
61
|
}
|
|
62
62
|
const _ = G(
|
|
63
63
|
[
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
|
|
64
|
+
// `--card-border` 32% alpha provides a subtle edge that survives dark
|
|
65
|
+
// without becoming a heavy outline. The previous transparent border
|
|
66
|
+
// relied on the drop-shadow alone, which reads as a faint halo against
|
|
67
|
+
// dark surfaces and lets the popover float as an unbounded blob; the
|
|
68
|
+
// earlier heavy `--border` (grey-800 since WCAG 1.4.11 bump in 67fef8c)
|
|
69
|
+
// overcorrected the other way and made the popover read as a charcoal
|
|
70
|
+
// box. The forced-colors override below upgrades the border to
|
|
71
|
+
// `CanvasText` so HCM still repaints a fully visible edge.
|
|
72
|
+
"ds:relative ds:bg-[var(--popover)] ds:border ds:border-[color:var(--card-border)] ds:rounded-[var(--radius-md)]",
|
|
69
73
|
"ds:p-[var(--spacing-md)]",
|
|
70
74
|
"ds:shadow-[var(--shadow-lg)]",
|
|
71
75
|
"ds:z-[var(--z-popover)]",
|
|
@@ -102,9 +106,9 @@ function T({
|
|
|
102
106
|
defaultOpen: c,
|
|
103
107
|
modal: P
|
|
104
108
|
}) {
|
|
105
|
-
const [
|
|
109
|
+
const [b, I] = C(c ?? !1), m = i !== void 0, l = m ? i : b, n = g(
|
|
106
110
|
(z) => {
|
|
107
|
-
m ||
|
|
111
|
+
m || I(z), t == null || t(z);
|
|
108
112
|
},
|
|
109
113
|
[m, t]
|
|
110
114
|
), d = R(null), p = e === "hover" || e === "hover-or-click", a = g(() => {
|
|
@@ -176,8 +180,8 @@ const B = f(
|
|
|
176
180
|
className: t,
|
|
177
181
|
children: c,
|
|
178
182
|
...P
|
|
179
|
-
},
|
|
180
|
-
const { headingId:
|
|
183
|
+
}, b) => {
|
|
184
|
+
const { headingId: I, descriptionId: m } = u(y), l = u(M), {
|
|
181
185
|
isHoverMode: n,
|
|
182
186
|
clearHoverTimer: d,
|
|
183
187
|
closeWithDelay: p
|
|
@@ -190,12 +194,12 @@ const B = f(
|
|
|
190
194
|
return /* @__PURE__ */ s(v.Portal, { children: /* @__PURE__ */ $(
|
|
191
195
|
v.Content,
|
|
192
196
|
{
|
|
193
|
-
ref:
|
|
197
|
+
ref: b,
|
|
194
198
|
side: a,
|
|
195
199
|
align: o,
|
|
196
200
|
sideOffset: 8,
|
|
197
201
|
collisionPadding: 8,
|
|
198
|
-
"aria-labelledby":
|
|
202
|
+
"aria-labelledby": I,
|
|
199
203
|
"aria-describedby": m,
|
|
200
204
|
className: _({ size: r, className: t }),
|
|
201
205
|
"data-component": "popover",
|
|
@@ -290,4 +294,4 @@ export {
|
|
|
290
294
|
ae as P,
|
|
291
295
|
Y as p
|
|
292
296
|
};
|
|
293
|
-
//# sourceMappingURL=popover
|
|
297
|
+
//# sourceMappingURL=popover-D0slaBB9.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as q, useState as G, useCallback as g, useRef as L, useImper
|
|
|
3
3
|
import { useTranslation as V } from "react-i18next";
|
|
4
4
|
import * as i from "@radix-ui/react-dialog";
|
|
5
5
|
import { B as u } from "./button-DD_0Xdmr.js";
|
|
6
|
-
import { I as W } from "./icon-button-
|
|
6
|
+
import { I as W } from "./icon-button-BRHSSFmZ.js";
|
|
7
7
|
import { L as X } from "./logo-_Z-jLq80.js";
|
|
8
8
|
import { u as Y } from "./registry-C9nwlNyL.js";
|
|
9
9
|
import { E as h } from "./eye-off-xEXDAh5z.js";
|
|
@@ -190,4 +190,4 @@ export {
|
|
|
190
190
|
ee as P,
|
|
191
191
|
$ as p
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=privacy-lock-
|
|
193
|
+
//# sourceMappingURL=privacy-lock-BI4vi9Ud.js.map
|