@alfadocs/ui-kit 1.142.0 → 1.143.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-permission-notice-C-xR2_iS.js → ai-permission-notice-CEDEWE2-.js} +19 -11
- package/dist/_chunks/{ai-summary-panel-BhCo2vZF.js → ai-summary-panel-CJVOjr2I.js} +3 -3
- package/dist/_chunks/{alia-sidebar-uxTsUbIt.js → alia-sidebar-AKz42_XE.js} +2 -2
- package/dist/_chunks/{anamnesis-card-sUFT0dpF.js → anamnesis-card-W8ZaDytS.js} +15 -14
- package/dist/_chunks/{anamnesis-summary-rows-C2Ca9_Qj.js → anamnesis-summary-rows-wUl7oXBO.js} +2 -2
- package/dist/_chunks/{appointment-card-C0UFYFLZ.js → appointment-card-HOZrABrQ.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BUXwhill.js → appointment-details-panel.history-B8R8XfGe.js} +36 -29
- package/dist/_chunks/appointment-timeline-CMc_3C74.js +776 -0
- package/dist/_chunks/{appointment-tray-dfgScPcC.js → appointment-tray-D8k5YKLU.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CXi6moSa.js → balance-badge-cell-10BdaOQ8.js} +4 -4
- package/dist/_chunks/{calendar-appointment-editor-dialog-BDc8Q4Ji.js → calendar-appointment-editor-dialog-9kVppi9f.js} +8 -8
- package/dist/_chunks/{calendar-waiting-list-panel-js-0KEh8.js → calendar-waiting-list-panel-CSFJw5np.js} +2 -2
- package/dist/_chunks/{calendar.sheets-sBWH7Jxn.js → calendar.sheets-DZh3p8HE.js} +4 -4
- package/dist/_chunks/{care-plan-card-TZH6C60K.js → care-plan-card-CkRqA58O.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CufvXAWa.js → care-plan-entry-card-DurPuYAP.js} +2 -2
- package/dist/_chunks/{care-plan-header-CeFXUDnL.js → care-plan-header-C4i93i8H.js} +2 -2
- package/dist/_chunks/{chat-message-B4TMeZ2m.js → chat-message-IG9uRq6y.js} +2 -2
- package/dist/_chunks/{clinical-note-card-D--IwbZa.js → clinical-note-card-D-9xmRpf.js} +68 -52
- package/dist/_chunks/{communications-panel-EP27FN7e.js → communications-panel-MgAuWYBy.js} +3 -3
- package/dist/_chunks/{control-room-rail-7SidoPJH.js → control-room-rail-DBmNpbDE.js} +2 -2
- package/dist/_chunks/{data-table-Bq1FRBGB.js → data-table-Huk4CNHs.js} +115 -115
- package/dist/_chunks/{entity-summary-CPUHzyil.js → entity-summary-DgZSdp6d.js} +2 -2
- package/dist/_chunks/{file-manager-ChQSjfU8.js → file-manager-kdPsJq_k.js} +2 -2
- package/dist/_chunks/{heatmap-D0OGx-70.js → heatmap-Cb4JSpv_.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-ByOAy2Sb.js → link-cell-renderer-Bt_sl4iP.js} +3 -3
- package/dist/_chunks/{message-card-Bw_q1qKx.js → message-card-DvBjcZgH.js} +10 -9
- package/dist/_chunks/{message-tray-g6dp_AAt.js → message-tray-BHaE254g.js} +2 -2
- package/dist/_chunks/{notes-panel-CtMLUJOe.js → notes-panel-DCKbuZqS.js} +399 -397
- package/dist/_chunks/{notification-card-DRMv2_pW.js → notification-card-CDuzAytQ.js} +11 -10
- package/dist/_chunks/{notification-tray-DqCYs9Bw.js → notification-tray-CnPV8jDA.js} +2 -2
- package/dist/_chunks/{patient-account-settings-e8Wp2g-F.js → patient-account-settings-BQ9bMsJS.js} +2 -2
- package/dist/_chunks/{patient-check-in-resume-_nwf9gpx.js → patient-check-in-resume-v5lYhMsh.js} +4 -4
- package/dist/_chunks/{portal-details-D9oF6FUV.js → portal-details-CwX3VNxh.js} +2 -2
- package/dist/_chunks/{portal-documents-DSiLSave.js → portal-documents-BWdXhWpZ.js} +2 -2
- package/dist/_chunks/{portal-parts-8qrUM-uK.js → portal-parts-DbCMuZVl.js} +2 -2
- package/dist/_chunks/{prescription-history-DFcPXYdF.js → prescription-history-DPjqflwJ.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BPpmVDm5.js → product-hub-panel-DiWjSIR2.js} +2 -2
- package/dist/_chunks/{recaptcha-widget-iglUBIF3.js → recaptcha-widget-D6RwGg8B.js} +35 -35
- package/dist/_chunks/{registration-form-DRGMzq9V.js → registration-form-BEsIjznv.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CQ54ybTB.js → rich-text-editor-DoCaj0qc.js} +2 -2
- package/dist/_chunks/{sync-tray-BTmveFGE.js → sync-tray-BgrO4QjH.js} +55 -53
- package/dist/_chunks/{tasks-panel-Dmp49cBo.js → tasks-panel-CDFHAHrN.js} +137 -137
- package/dist/_chunks/{timeline-DXko0M1t.js → timeline-BzGi_3GQ.js} +2 -2
- package/dist/_chunks/timestamp-UMF1llBs.js +113 -0
- package/dist/_chunks/{tool-rail-CKOuVHUQ.js → tool-rail-mWmYNRCV.js} +56 -56
- package/dist/_chunks/{use-appointment-details-read-DIRHedaM.js → use-appointment-details-read-xj0PyEhI.js} +591 -576
- package/dist/_chunks/use-resolved-theme-B0f1_oyq.js +32 -0
- package/dist/_chunks/{voice-control-panel-CfBUrzhJ.js → voice-control-panel-DqvvZN2A.js} +2 -2
- package/dist/_chunks/{workflow-map-CsfRHhlz.js → workflow-map-CwfLHuiD.js} +2 -2
- package/dist/agent-catalog.json +10 -7
- package/dist/agent-i18n/en.json +3 -3
- package/dist/appointment-editor-panel/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +5 -0
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +27 -0
- package/dist/components/appointment-timeline/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/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/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/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +5 -4
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timestamp/index.js +1 -1
- package/dist/components/timestamp/timestamp.d.ts +6 -0
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +58 -56
- package/dist/hooks/use-resolved-theme.d.ts +20 -0
- package/dist/i18n/locales/ar.d.ts +5 -0
- package/dist/i18n/locales/ar.js +5 -0
- package/dist/i18n/locales/de.d.ts +5 -0
- package/dist/i18n/locales/de.js +5 -0
- package/dist/i18n/locales/el.d.ts +5 -0
- package/dist/i18n/locales/el.js +5 -0
- package/dist/i18n/locales/en.d.ts +5 -0
- package/dist/i18n/locales/en.js +5 -0
- package/dist/i18n/locales/es.d.ts +5 -0
- package/dist/i18n/locales/es.js +5 -0
- package/dist/i18n/locales/fr.d.ts +5 -0
- package/dist/i18n/locales/fr.js +5 -0
- package/dist/i18n/locales/hi.d.ts +5 -0
- package/dist/i18n/locales/hi.js +5 -0
- package/dist/i18n/locales/it.d.ts +5 -0
- package/dist/i18n/locales/it.js +5 -0
- package/dist/i18n/locales/ja.d.ts +5 -0
- package/dist/i18n/locales/ja.js +5 -0
- package/dist/i18n/locales/nl.d.ts +5 -0
- package/dist/i18n/locales/nl.js +5 -0
- package/dist/i18n/locales/pl.d.ts +5 -0
- package/dist/i18n/locales/pl.js +5 -0
- package/dist/i18n/locales/pt.d.ts +5 -0
- package/dist/i18n/locales/pt.js +5 -0
- package/dist/i18n/locales/ro.d.ts +5 -0
- package/dist/i18n/locales/ro.js +5 -0
- package/dist/i18n/locales/ru.d.ts +5 -0
- package/dist/i18n/locales/ru.js +5 -0
- package/dist/i18n/locales/sq.d.ts +5 -0
- package/dist/i18n/locales/sq.js +5 -0
- package/dist/i18n/locales/sv.d.ts +5 -0
- package/dist/i18n/locales/sv.js +5 -0
- package/dist/i18n/locales/tr.d.ts +5 -0
- package/dist/i18n/locales/tr.js +5 -0
- package/dist/i18n/locales/zh.d.ts +5 -0
- package/dist/i18n/locales/zh.js +5 -0
- package/dist/index.js +44 -44
- package/dist/locales/ar.json +5 -0
- package/dist/locales/de.json +5 -0
- package/dist/locales/el.json +5 -0
- package/dist/locales/en.json +5 -0
- package/dist/locales/es.json +5 -0
- package/dist/locales/fr.json +5 -0
- package/dist/locales/hi.json +5 -0
- package/dist/locales/it.json +5 -0
- package/dist/locales/ja.json +5 -0
- package/dist/locales/nl.json +5 -0
- package/dist/locales/pl.json +5 -0
- package/dist/locales/pt.json +5 -0
- package/dist/locales/ro.json +5 -0
- package/dist/locales/ru.json +5 -0
- package/dist/locales/sq.json +5 -0
- package/dist/locales/sv.json +5 -0
- package/dist/locales/tr.json +5 -0
- package/dist/locales/zh.json +5 -0
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +2 -2
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-BK68CCBl.js +0 -689
- package/dist/_chunks/timestamp-DPLDWdxA.js +0 -109
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as _, useMemo as E, useState as H, useRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { I as
|
|
2
|
+
import { forwardRef as _, useMemo as E, useState as H, useRef as O, useCallback as X } from "react";
|
|
3
|
+
import { c as q } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as G } from "react-i18next";
|
|
5
|
+
import { I as J } from "./icon-button-S8_weU3g.js";
|
|
6
6
|
import { B as K } from "./button-DohK_Ak_.js";
|
|
7
|
-
import { T as Q } from "./timestamp-
|
|
7
|
+
import { T as Q } from "./timestamp-UMF1llBs.js";
|
|
8
8
|
import { X as Y } from "./x-B5YnXwCz.js";
|
|
9
|
-
const Z =
|
|
9
|
+
const Z = q(
|
|
10
10
|
[
|
|
11
11
|
// `group` so the hover/focus-revealed close button can react to the whole
|
|
12
12
|
// row, not just itself.
|
|
@@ -117,13 +117,13 @@ const ss = _(
|
|
|
117
117
|
className: M,
|
|
118
118
|
...V
|
|
119
119
|
}, B) => {
|
|
120
|
-
const { t: n, i18n: h } =
|
|
120
|
+
const { t: n, i18n: h } = G("ui"), I = E(() => {
|
|
121
121
|
const e = new Date(s.createdAt);
|
|
122
122
|
return Number.isNaN(e.getTime()) ? "" : new Intl.DateTimeFormat(h.language, {
|
|
123
123
|
dateStyle: "medium",
|
|
124
124
|
timeStyle: "short"
|
|
125
125
|
}).format(e);
|
|
126
|
-
}, [s.createdAt, h.language]), f = g !== void 0, [P, R] = H(!1), m =
|
|
126
|
+
}, [s.createdAt, h.language]), f = g !== void 0, [P, R] = H(!1), m = O(null), w = f ? g : P, x = typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, y = X(() => {
|
|
127
127
|
if (!o) return;
|
|
128
128
|
if (f || x) {
|
|
129
129
|
o(s);
|
|
@@ -232,6 +232,7 @@ const ss = _(
|
|
|
232
232
|
Q,
|
|
233
233
|
{
|
|
234
234
|
value: s.createdAt,
|
|
235
|
+
pastOnly: !0,
|
|
235
236
|
shape: "chip",
|
|
236
237
|
size: "sm",
|
|
237
238
|
relativeWindow: 720 * 60 * 1e3
|
|
@@ -274,7 +275,7 @@ const ss = _(
|
|
|
274
275
|
{
|
|
275
276
|
className: "ds:absolute ds:z-[2] ds:opacity-0 ds:pointer-events-none ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-hover:pointer-events-auto ds:group-focus-within:opacity-100 ds:group-focus-within:pointer-events-auto " + D,
|
|
276
277
|
children: /* @__PURE__ */ a(
|
|
277
|
-
|
|
278
|
+
J,
|
|
278
279
|
{
|
|
279
280
|
icon: /* @__PURE__ */ a(Y, {}),
|
|
280
281
|
intent: "ghost",
|
|
@@ -295,4 +296,4 @@ export {
|
|
|
295
296
|
ss as N,
|
|
296
297
|
A as i
|
|
297
298
|
};
|
|
298
|
-
//# sourceMappingURL=notification-card-
|
|
299
|
+
//# sourceMappingURL=notification-card-CDuzAytQ.js.map
|
|
@@ -12,7 +12,7 @@ import { S as F } from "./separator-Bdc9bqoJ.js";
|
|
|
12
12
|
import { S as T } from "./skeleton-tTWJpvAq.js";
|
|
13
13
|
import { C as ge } from "./counter-WsvRuum1.js";
|
|
14
14
|
import { S as ve } from "./scroll-area-CY5SLYNw.js";
|
|
15
|
-
import { N as he } from "./notification-card-
|
|
15
|
+
import { N as he } from "./notification-card-CDuzAytQ.js";
|
|
16
16
|
import { u as ye } from "./registry-DvAUVLHh.js";
|
|
17
17
|
import { c as xe } from "./createLucideIcon-DhHxpK9K.js";
|
|
18
18
|
/**
|
|
@@ -503,4 +503,4 @@ export {
|
|
|
503
503
|
ke as N,
|
|
504
504
|
Te as n
|
|
505
505
|
};
|
|
506
|
-
//# sourceMappingURL=notification-tray-
|
|
506
|
+
//# sourceMappingURL=notification-tray-CnPV8jDA.js.map
|
package/dist/_chunks/{patient-account-settings-e8Wp2g-F.js → patient-account-settings-BQ9bMsJS.js}
RENAMED
|
@@ -6,7 +6,7 @@ import { B as D } from "./button-DohK_Ak_.js";
|
|
|
6
6
|
import { r as at } from "./pin-indicator-Cb-n40UI.js";
|
|
7
7
|
import { a as st } from "./privacy-mask-C2ZLKrMh.js";
|
|
8
8
|
import { u as ct } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
|
-
import { P as lt, a as ot, b as W, e as dt, c as rt, d as ut } from "./portal-parts-
|
|
9
|
+
import { P as lt, a as ot, b as W, e as dt, c as rt, d as ut } from "./portal-parts-DbCMuZVl.js";
|
|
10
10
|
import { E as pt } from "./email-input-DxwbREpx.js";
|
|
11
11
|
import { F as Z } from "./form-field-CyHfOVKF.js";
|
|
12
12
|
import { P as mt } from "./phone-input-DHiYJZ9v.js";
|
|
@@ -543,4 +543,4 @@ function wt({
|
|
|
543
543
|
export {
|
|
544
544
|
wt as P
|
|
545
545
|
};
|
|
546
|
-
//# sourceMappingURL=patient-account-settings-
|
|
546
|
+
//# sourceMappingURL=patient-account-settings-BQ9bMsJS.js.map
|
package/dist/_chunks/{patient-check-in-resume-_nwf9gpx.js → patient-check-in-resume-v5lYhMsh.js}
RENAMED
|
@@ -5,9 +5,9 @@ import { B as C } from "./button-DohK_Ak_.js";
|
|
|
5
5
|
import { a as N, P as te, c as ae } from "./patient-card-Cpr8iD19.js";
|
|
6
6
|
import { useId as P, useRef as ne, useEffect as se } from "react";
|
|
7
7
|
import { A as k } from "./alert-C4WKViaS.js";
|
|
8
|
-
import { A as _ } from "./appointment-card-
|
|
8
|
+
import { A as _ } from "./appointment-card-HOZrABrQ.js";
|
|
9
9
|
import { B as E } from "./badge-BUk4RjTS.js";
|
|
10
|
-
import { u as B, j as G, d as ie } from "./portal-parts-
|
|
10
|
+
import { u as B, j as G, d as ie } from "./portal-parts-DbCMuZVl.js";
|
|
11
11
|
import { D as M } from "./description-list-BxzDN9o2.js";
|
|
12
12
|
import { E as le } from "./error-summary-DxNhwf_G.js";
|
|
13
13
|
import { F as oe } from "./form-field-CyHfOVKF.js";
|
|
@@ -15,7 +15,7 @@ import { S as re } from "./select-Bw5FvGJ7.js";
|
|
|
15
15
|
import { V as ce } from "./visually-hidden-BHxEUGyT.js";
|
|
16
16
|
import { a as de } from "./privacy-mask-C2ZLKrMh.js";
|
|
17
17
|
import { u as pe } from "./use-controllable-state-BiY4xTzM.js";
|
|
18
|
-
import { p as me, b as he, a as ue } from "./portal-details-
|
|
18
|
+
import { p as me, b as he, a as ue } from "./portal-details-CwX3VNxh.js";
|
|
19
19
|
import { p as fe } from "./privacy-mask-text-B8YfzB7L.js";
|
|
20
20
|
function Re({
|
|
21
21
|
session: t,
|
|
@@ -739,4 +739,4 @@ export {
|
|
|
739
739
|
Ge as g,
|
|
740
740
|
Re as h
|
|
741
741
|
};
|
|
742
|
-
//# sourceMappingURL=patient-check-in-resume-
|
|
742
|
+
//# sourceMappingURL=patient-check-in-resume-v5lYhMsh.js.map
|
|
@@ -13,7 +13,7 @@ import { T as S } from "./text-input-B6iAgCr3.js";
|
|
|
13
13
|
import { V as mt } from "./visually-hidden-BHxEUGyT.js";
|
|
14
14
|
import { a as pt } from "./privacy-mask-C2ZLKrMh.js";
|
|
15
15
|
import { u as W } from "./use-controllable-state-BiY4xTzM.js";
|
|
16
|
-
import { u as Y, P as dt, a as ut, b as ht, c as gt, d as Pt, f as bt } from "./portal-parts-
|
|
16
|
+
import { u as Y, P as dt, a as ut, b as ht, c as gt, d as Pt, f as bt } from "./portal-parts-DbCMuZVl.js";
|
|
17
17
|
import { p as V } from "./privacy-mask-text-B8YfzB7L.js";
|
|
18
18
|
const Z = (n, u) => `${n}-${u}`;
|
|
19
19
|
function Nt({
|
|
@@ -475,4 +475,4 @@ export {
|
|
|
475
475
|
Ct as b,
|
|
476
476
|
Z as p
|
|
477
477
|
};
|
|
478
|
-
//# sourceMappingURL=portal-details-
|
|
478
|
+
//# sourceMappingURL=portal-details-CwX3VNxh.js.map
|
|
@@ -5,7 +5,7 @@ import { B as C } from "./button-DohK_Ak_.js";
|
|
|
5
5
|
import { T as se } from "./tab-bar-C6tPDq9s.js";
|
|
6
6
|
import { p as ae } from "./privacy-mask-text-B8YfzB7L.js";
|
|
7
7
|
import { c as D, b as de } from "./patient-sign-in-steps-BKcxNkdY.js";
|
|
8
|
-
import { g as ce, a as W, S as pe, b as F, u as G, P as J, e as $, h as V, i as R, j as me, t as Z, c as E, d as ne, k as _ } from "./portal-parts-
|
|
8
|
+
import { g as ce, a as W, S as pe, b as F, u as G, P as J, e as $, h as V, i as R, j as me, t as Z, c as E, d as ne, k as _ } from "./portal-parts-DbCMuZVl.js";
|
|
9
9
|
import { H as ue } from "./house-DGCypGTo.js";
|
|
10
10
|
import { C as he } from "./calendar-days-BGWklvE-.js";
|
|
11
11
|
import { F as re } from "./file-text-5yv6r2ls.js";
|
|
@@ -899,4 +899,4 @@ export {
|
|
|
899
899
|
we as c,
|
|
900
900
|
_e as d
|
|
901
901
|
};
|
|
902
|
-
//# sourceMappingURL=portal-documents-
|
|
902
|
+
//# sourceMappingURL=portal-documents-BWdXhWpZ.js.map
|
|
@@ -7,7 +7,7 @@ import { E as d } from "./empty-state-DwJ5YNzz.js";
|
|
|
7
7
|
import { S as L } from "./skeleton-tTWJpvAq.js";
|
|
8
8
|
import { S as j } from "./step-up-dialog-C1O8ctoh.js";
|
|
9
9
|
import { i as k } from "./is-development-CLUAnsU7.js";
|
|
10
|
-
import { A as E } from "./appointment-card-
|
|
10
|
+
import { A as E } from "./appointment-card-HOZrABrQ.js";
|
|
11
11
|
import { c as B } from "./intl-locale-FWh-Y5_3.js";
|
|
12
12
|
function Y(e) {
|
|
13
13
|
const { i18n: t } = v("ui");
|
|
@@ -282,4 +282,4 @@ export {
|
|
|
282
282
|
te as t,
|
|
283
283
|
Y as u
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=portal-parts-
|
|
285
|
+
//# sourceMappingURL=portal-parts-DbCMuZVl.js.map
|
|
@@ -21,7 +21,7 @@ import { T as et } from "./text-input-B6iAgCr3.js";
|
|
|
21
21
|
import { M as Xt } from "./medication-search-DoEDakoM.js";
|
|
22
22
|
import { a as Jt, S as Zt } from "./suggestion-chip-BNRWZL51.js";
|
|
23
23
|
import { V as nt } from "./visually-hidden-BHxEUGyT.js";
|
|
24
|
-
import { T as er } from "./timestamp-
|
|
24
|
+
import { T as er } from "./timestamp-UMF1llBs.js";
|
|
25
25
|
import { I as tr } from "./icon-button-S8_weU3g.js";
|
|
26
26
|
import { B as rr } from "./button-group-DoKG16Fy.js";
|
|
27
27
|
import { D as Le } from "./dropdown-menu-Bm1KALnk.js";
|
|
@@ -1716,4 +1716,4 @@ export {
|
|
|
1716
1716
|
qr as n,
|
|
1717
1717
|
vt as v
|
|
1718
1718
|
};
|
|
1719
|
-
//# sourceMappingURL=prescription-history-
|
|
1719
|
+
//# sourceMappingURL=prescription-history-DPjqflwJ.js.map
|
|
@@ -13,7 +13,7 @@ import { u as ne } from "./use-controllable-state-BiY4xTzM.js";
|
|
|
13
13
|
import { I as Q } from "./icon-button-S8_weU3g.js";
|
|
14
14
|
import { S as oe } from "./scroll-area-CY5SLYNw.js";
|
|
15
15
|
import { S as R } from "./skeleton-tTWJpvAq.js";
|
|
16
|
-
import { T as ie } from "./timestamp-
|
|
16
|
+
import { T as ie } from "./timestamp-UMF1llBs.js";
|
|
17
17
|
import { s as ce } from "./safe-image-src-DstKgCo7.js";
|
|
18
18
|
import { c as le } from "./createLucideIcon-DhHxpK9K.js";
|
|
19
19
|
import { X as ue } from "./x-B5YnXwCz.js";
|
|
@@ -682,4 +682,4 @@ export {
|
|
|
682
682
|
me as b,
|
|
683
683
|
Ne as p
|
|
684
684
|
};
|
|
685
|
-
//# sourceMappingURL=product-hub-panel-
|
|
685
|
+
//# sourceMappingURL=product-hub-panel-DiWjSIR2.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as Q, jsx as O } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as X, useRef as d, useState as $, useEffect as Y, useMemo as Z, useImperativeHandle as z } from "react";
|
|
3
3
|
import { useTranslation as ee } from "react-i18next";
|
|
4
4
|
import { u as te, a as re } from "./form-field-context-DtiROUJV.js";
|
|
5
|
-
import { u as ae } from "./use-theme-
|
|
5
|
+
import { u as ae } from "./use-resolved-theme-B0f1_oyq.js";
|
|
6
6
|
import { u as ce } from "./registry-DvAUVLHh.js";
|
|
7
7
|
const ne = {
|
|
8
8
|
id: "recaptcha-widget",
|
|
@@ -56,20 +56,20 @@ const ne = {
|
|
|
56
56
|
let _ = null;
|
|
57
57
|
function se(t) {
|
|
58
58
|
return typeof window > "u" ? Promise.reject(new Error("recaptcha: window is not available")) : window.grecaptcha && typeof window.grecaptcha.render == "function" ? Promise.resolve(window.grecaptcha) : _ || (_ = new Promise((c, m) => {
|
|
59
|
-
const
|
|
59
|
+
const L = document.getElementById(
|
|
60
60
|
H
|
|
61
61
|
), u = () => {
|
|
62
62
|
window.grecaptcha && typeof window.grecaptcha.render == "function" ? c(window.grecaptcha) : m(new Error("recaptcha: grecaptcha global missing after load"));
|
|
63
63
|
};
|
|
64
|
-
if (window.___grecaptchaOnLoad___ = u,
|
|
64
|
+
if (window.___grecaptchaOnLoad___ = u, L) {
|
|
65
65
|
let p = null, i = null;
|
|
66
|
-
const
|
|
66
|
+
const k = () => {
|
|
67
67
|
p !== null && clearInterval(p), i !== null && clearTimeout(i), p = null, i = null;
|
|
68
68
|
};
|
|
69
69
|
p = setInterval(() => {
|
|
70
|
-
window.grecaptcha && typeof window.grecaptcha.render == "function" && (
|
|
70
|
+
window.grecaptcha && typeof window.grecaptcha.render == "function" && (k(), c(window.grecaptcha));
|
|
71
71
|
}, oe), i = setTimeout(() => {
|
|
72
|
-
if (
|
|
72
|
+
if (k(), window.grecaptcha && typeof window.grecaptcha.render == "function") {
|
|
73
73
|
c(window.grecaptcha);
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
@@ -79,13 +79,13 @@ function se(t) {
|
|
|
79
79
|
new Error("recaptcha: grecaptcha global missing after fallback")
|
|
80
80
|
);
|
|
81
81
|
};
|
|
82
|
-
const
|
|
82
|
+
const I = new URLSearchParams({
|
|
83
83
|
onload: w,
|
|
84
84
|
render: "explicit"
|
|
85
85
|
});
|
|
86
|
-
t &&
|
|
86
|
+
t && I.set("hl", t);
|
|
87
87
|
const o = document.createElement("script");
|
|
88
|
-
o.src = `${B}?${
|
|
88
|
+
o.src = `${B}?${I.toString()}`, o.async = !0, o.defer = !0, o.onerror = () => {
|
|
89
89
|
delete window[w], o.remove(), _ = null, m(new Error("recaptcha: fallback script failed to load"));
|
|
90
90
|
}, document.head.appendChild(o);
|
|
91
91
|
}, ie);
|
|
@@ -105,17 +105,17 @@ function se(t) {
|
|
|
105
105
|
const le = X(function({
|
|
106
106
|
siteKey: c,
|
|
107
107
|
theme: m,
|
|
108
|
-
locale:
|
|
108
|
+
locale: L,
|
|
109
109
|
size: u = "normal",
|
|
110
110
|
onChange: v,
|
|
111
111
|
onExpired: r,
|
|
112
112
|
onError: p,
|
|
113
113
|
error: i,
|
|
114
|
-
announceStatus:
|
|
114
|
+
announceStatus: k = !0,
|
|
115
115
|
id: w,
|
|
116
|
-
className:
|
|
116
|
+
className: I
|
|
117
117
|
}, o) {
|
|
118
|
-
const { t: A, i18n:
|
|
118
|
+
const { t: A, i18n: D } = ee("ui"), P = te(), b = d(null), { isDark: j } = ae(b), a = d(null), n = d(null), [V, y] = $(""), R = d(!1), T = d(!1), [G, U] = $(0), x = re(P, w), q = i ? `${x}-error` : void 0, C = [P.describedBy, q].filter(Boolean).join(" ") || void 0, F = m ?? (j ? "dark" : "light"), W = L ?? D.language, e = d(v), S = d(r), f = d(p);
|
|
119
119
|
e.current = v, S.current = r, f.current = p;
|
|
120
120
|
const N = A(
|
|
121
121
|
"inputs.recaptcha.expired",
|
|
@@ -125,30 +125,30 @@ const le = X(function({
|
|
|
125
125
|
"Verification failed — please retry."
|
|
126
126
|
);
|
|
127
127
|
Y(() => {
|
|
128
|
-
if (!c || !
|
|
128
|
+
if (!c || !b.current) return;
|
|
129
129
|
let s = !1;
|
|
130
|
-
return
|
|
131
|
-
s || !
|
|
130
|
+
return T.current = !1, se(W).then((g) => {
|
|
131
|
+
s || !b.current || (n.current = g, a.current = g.render(b.current, {
|
|
132
132
|
sitekey: c,
|
|
133
|
-
theme:
|
|
133
|
+
theme: F,
|
|
134
134
|
size: u,
|
|
135
|
-
hl:
|
|
135
|
+
hl: W,
|
|
136
136
|
callback: (h) => {
|
|
137
137
|
var l;
|
|
138
|
-
|
|
138
|
+
y(""), (l = e.current) == null || l.call(e, h);
|
|
139
139
|
},
|
|
140
140
|
"expired-callback": () => {
|
|
141
141
|
var h, l;
|
|
142
|
-
|
|
142
|
+
y(N), (h = e.current) == null || h.call(e, null), (l = S.current) == null || l.call(S);
|
|
143
143
|
},
|
|
144
144
|
"error-callback": () => {
|
|
145
145
|
var h, l;
|
|
146
|
-
|
|
146
|
+
y(E), (h = e.current) == null || h.call(e, null), (l = f.current) == null || l.call(f);
|
|
147
147
|
}
|
|
148
|
-
}),
|
|
148
|
+
}), R.current && (R.current = !1, g.execute(a.current)));
|
|
149
149
|
}).catch(() => {
|
|
150
150
|
var g;
|
|
151
|
-
s || (
|
|
151
|
+
s || (T.current = !0, R.current = !1, y(E), (g = f.current) == null || g.call(f));
|
|
152
152
|
}), () => {
|
|
153
153
|
if (s = !0, n.current && a.current !== null)
|
|
154
154
|
try {
|
|
@@ -158,8 +158,8 @@ const le = X(function({
|
|
|
158
158
|
};
|
|
159
159
|
}, [
|
|
160
160
|
c,
|
|
161
|
-
W,
|
|
162
161
|
F,
|
|
162
|
+
W,
|
|
163
163
|
u,
|
|
164
164
|
N,
|
|
165
165
|
E,
|
|
@@ -169,7 +169,7 @@ const le = X(function({
|
|
|
169
169
|
() => ({
|
|
170
170
|
reset: () => {
|
|
171
171
|
var s;
|
|
172
|
-
n.current && a.current !== null && (n.current.reset(a.current),
|
|
172
|
+
n.current && a.current !== null && (n.current.reset(a.current), y(""), (s = e.current) == null || s.call(e, null));
|
|
173
173
|
},
|
|
174
174
|
getResponse: () => n.current && a.current !== null ? n.current.getResponse(a.current) : "",
|
|
175
175
|
execute: () => {
|
|
@@ -177,13 +177,13 @@ const le = X(function({
|
|
|
177
177
|
n.current.execute(a.current);
|
|
178
178
|
return;
|
|
179
179
|
}
|
|
180
|
-
|
|
180
|
+
R.current = !0, T.current && U((s) => s + 1);
|
|
181
181
|
}
|
|
182
182
|
}),
|
|
183
183
|
[]
|
|
184
184
|
);
|
|
185
|
-
z(o, () => M, [M]), ce(ne, M,
|
|
186
|
-
const J = i || (
|
|
185
|
+
z(o, () => M, [M]), ce(ne, M, x);
|
|
186
|
+
const J = i || (k ? V : ""), K = u === "invisible" ? "presentation" : void 0;
|
|
187
187
|
return /* @__PURE__ */ Q(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
@@ -192,24 +192,24 @@ const le = X(function({
|
|
|
192
192
|
// Keep the iframe inside the wrapper's stacking context so
|
|
193
193
|
// popovers etc. above the form continue to overlay correctly.
|
|
194
194
|
"ds:relative ds:isolate",
|
|
195
|
-
|
|
195
|
+
I
|
|
196
196
|
].filter(Boolean).join(" "),
|
|
197
197
|
"data-component": "recaptcha-widget",
|
|
198
|
-
"data-component-id":
|
|
198
|
+
"data-component-id": x,
|
|
199
199
|
"data-size": u,
|
|
200
200
|
role: K,
|
|
201
201
|
children: [
|
|
202
202
|
/* @__PURE__ */ O(
|
|
203
203
|
"div",
|
|
204
204
|
{
|
|
205
|
-
ref:
|
|
206
|
-
id:
|
|
205
|
+
ref: b,
|
|
206
|
+
id: x,
|
|
207
207
|
className: "g-recaptcha",
|
|
208
208
|
"data-sitekey": c,
|
|
209
|
-
"data-theme":
|
|
209
|
+
"data-theme": F,
|
|
210
210
|
"data-size": u,
|
|
211
211
|
"aria-describedby": C,
|
|
212
|
-
"aria-invalid": i ||
|
|
212
|
+
"aria-invalid": i || P.invalid ? !0 : void 0
|
|
213
213
|
}
|
|
214
214
|
),
|
|
215
215
|
/* @__PURE__ */ O(
|
|
@@ -231,4 +231,4 @@ export {
|
|
|
231
231
|
le as R,
|
|
232
232
|
ne as r
|
|
233
233
|
};
|
|
234
|
-
//# sourceMappingURL=recaptcha-widget-
|
|
234
|
+
//# sourceMappingURL=recaptcha-widget-D6RwGg8B.js.map
|
|
@@ -16,7 +16,7 @@ import { L as qr } from "./list-CNnn7DOD.js";
|
|
|
16
16
|
import { P as Tr } from "./password-input-SJGHFdOO.js";
|
|
17
17
|
import { u as Rn } from "./use-password-requirements-C8DdwPEy.js";
|
|
18
18
|
import { P as Ln } from "./phone-input-DHiYJZ9v.js";
|
|
19
|
-
import { R as An } from "./recaptcha-widget-
|
|
19
|
+
import { R as An } from "./recaptcha-widget-D6RwGg8B.js";
|
|
20
20
|
import { S as Pn } from "./select-Bw5FvGJ7.js";
|
|
21
21
|
import { S as Dr } from "./state-backed-text-input-DVETOhSS.js";
|
|
22
22
|
import { i as Zr } from "./is-development-CLUAnsU7.js";
|
|
@@ -1351,4 +1351,4 @@ export {
|
|
|
1351
1351
|
Kr as R,
|
|
1352
1352
|
ls as a
|
|
1353
1353
|
};
|
|
1354
|
-
//# sourceMappingURL=registration-form-
|
|
1354
|
+
//# sourceMappingURL=registration-form-BEsIjznv.js.map
|
|
@@ -10,7 +10,7 @@ import { S as Kn } from "./spinner-CoflYlEx.js";
|
|
|
10
10
|
import { A as ui } from "./ai-sparkle-D23NT8Z_.js";
|
|
11
11
|
import { B as Ne } from "./button-DohK_Ak_.js";
|
|
12
12
|
import { I as W } from "./icon-button-S8_weU3g.js";
|
|
13
|
-
import { A as mi } from "./ai-permission-notice-
|
|
13
|
+
import { A as mi } from "./ai-permission-notice-CEDEWE2-.js";
|
|
14
14
|
import { T as fi } from "./text-area-COMVJ1yE.js";
|
|
15
15
|
import { E as Dn } from "./editor-overlay-Dc8uVxEp.js";
|
|
16
16
|
import { u as gi } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
@@ -4261,4 +4261,4 @@ export {
|
|
|
4261
4261
|
ja as r,
|
|
4262
4262
|
Ds as w
|
|
4263
4263
|
};
|
|
4264
|
-
//# sourceMappingURL=rich-text-editor-
|
|
4264
|
+
//# sourceMappingURL=rich-text-editor-DoCaj0qc.js.map
|