@everfur/sdk 0.14.0 → 0.15.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/CHANGELOG.md +80 -0
- package/dist/{Chat.d-aycmX1CA.d.cts → Chat.d-CtfANk3A.d.cts} +3 -3
- package/dist/{Chat.d-puminpyi.d.ts → Chat.d-a7Ksz7NZ.d.ts} +3 -3
- package/dist/{DepthViews.d-BdvFZgPs.d.cts → DepthViews.d-BqMnWSMu.d.cts} +1 -1
- package/dist/{DepthViews.d-Dy0Zl-s-.d.ts → DepthViews.d-CuBElgEc.d.ts} +1 -1
- package/dist/{DepthViews.d-DIvxzLDf.d.ts → DepthViews.d-DbJejGm3.d.ts} +1 -1
- package/dist/{DepthViews.d-wLNkzk9f.d.cts → DepthViews.d-dXWL6ToG.d.cts} +1 -1
- package/dist/{RecordsPage.d-9Ank15PT.d.ts → RecordsPage.d-DKrZ9rHX.d.ts} +1 -1
- package/dist/{RecordsPage.d-DMKU0IKc.d.cts → RecordsPage.d-DRPdUAo4.d.cts} +1 -1
- package/dist/animations/index.cjs +1 -1
- package/dist/animations/index.d.cts +5 -3
- package/dist/animations/index.d.ts +5 -3
- package/dist/animations/index.js +1 -1
- package/dist/{attachments.d-rp3xs-Q3.d.ts → attachments.d-BGn2_knv.d.ts} +5 -5
- package/dist/{attachments.d--sIsfk6e.d.ts → attachments.d-CoQhXrP9.d.ts} +2 -2
- package/dist/{attachments.d-DNUCiyy5.d.cts → attachments.d-CpaOfi2g.d.cts} +5 -5
- package/dist/{attachments.d-ZEpTUeWN.d.cts → attachments.d-CqHMGoER.d.cts} +2 -2
- package/dist/{bookingCopy.d-DUrmVcLs.d.cts → bookingCopy.d-Bnq2zk0F.d.cts} +2 -2
- package/dist/{bookingCopy.d-D0uIIFAJ.d.ts → bookingCopy.d-BwCOCZUj.d.ts} +2 -2
- package/dist/{branding.d-CTXTUg_8.d.cts → branding.d-Bbc6p1XY.d.cts} +1 -1
- package/dist/{branding.d-DxJSoFce.d.ts → branding.d-y6c0UwhE.d.ts} +1 -1
- package/dist/{casesRepository.d-DCnix2pT.d.cts → casesRepository.d-CsUJ2Oyb.d.cts} +1 -1
- package/dist/{casesRepository.d-DbirgbyH.d.ts → casesRepository.d-DG83Ggbq.d.ts} +1 -1
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.d.cts +9 -9
- package/dist/chat/index.d.ts +9 -9
- package/dist/chat/index.js +3 -3
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +3 -3
- package/dist/{clinicBatch.d-Ccmrngcu.d.cts → clinicBatch.d-BLpbpS51.d.cts} +2 -2
- package/dist/{clinicBatch.d-D9Ci7IpP.d.ts → clinicBatch.d-Byjx4y_W.d.ts} +2 -2
- package/dist/{config.d-DJ4mvf_w.d.cts → config.d-C0WgjutL.d.cts} +1 -1
- package/dist/{config.d-MX7IKP2f.d.ts → config.d-zd2eTb2L.d.ts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context.d-BdnBe8Oe.d.ts → context.d-BBjmV0rz.d.ts} +7 -7
- package/dist/{context.d-C6MJsMpN.d.cts → context.d-Du_UPxa1.d.cts} +7 -7
- package/dist/{copy.d-BIfQOoDB.d.ts → copy.d-D_VVj01o.d.ts} +2 -2
- package/dist/{copy.d-C_u7shha.d.cts → copy.d-Da_PP2K3.d.cts} +2 -2
- package/dist/core/index.cjs +2 -2
- package/dist/core/index.d.cts +16 -16
- package/dist/core/index.d.ts +16 -16
- package/dist/core/index.js +2 -2
- package/dist/{depth.d-COFxYWLU.d.ts → depth.d-BEedifOR.d.ts} +2 -2
- package/dist/{depth.d-D2e5WZuE.d.cts → depth.d-RTV61QNf.d.cts} +2 -2
- package/dist/{entitlementRepository.d-DLuxnGi5.d.ts → entitlementRepository.d-BwThmh3V.d.ts} +3 -3
- package/dist/{entitlementRepository.d-BP15dFbe.d.cts → entitlementRepository.d-C-stdRyA.d.cts} +3 -3
- package/dist/{focus.d-C0Tr0oVJ.d.ts → focus.d-CtotIyEt.d.ts} +20 -4
- package/dist/{focus.d-jQWp0hdK.d.cts → focus.d-Dsm39DjO.d.cts} +20 -4
- package/dist/health-plan/index.cjs +46 -41
- package/dist/health-plan/index.d.cts +8 -8
- package/dist/health-plan/index.d.ts +8 -8
- package/dist/health-plan/index.js +47 -42
- package/dist/{idempotency.d-DXb1BN2A.d.ts → idempotency.d-Bfm7oIxS.d.cts} +8 -1
- package/dist/{idempotency.d-HF6fyRt2.d.cts → idempotency.d-Cv-B7SfC.d.ts} +8 -1
- package/dist/{identity.d-BePPZ7Uv.d.ts → identity.d-BksOEa6m.d.ts} +1 -1
- package/dist/{identity.d-CJfnWOdH.d.cts → identity.d-CioQhZrq.d.cts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +6 -6
- package/dist/{introEvents.d-BkGDT_kG.d.cts → introEvents.d-fAZitxMA.d.cts} +1 -1
- package/dist/{introEvents.d-DHlMvmC7.d.ts → introEvents.d-tOi4o3F4.d.ts} +1 -1
- package/dist/notifications/index.d.cts +4 -4
- package/dist/notifications/index.d.ts +4 -4
- package/dist/{optInView.d-s-w4aGN3.d.ts → optInView.d-B8zTORO2.d.ts} +2 -2
- package/dist/{optInView.d-0iI5JoAf.d.cts → optInView.d-BkNSv4Gk.d.cts} +2 -2
- package/dist/{parse.d-COt1qVA6.d.ts → parse.d-B5JHS6Pr.d.ts} +1 -1
- package/dist/{parse.d-EmsgOUMQ.d.cts → parse.d-BgjO82mY.d.cts} +1 -1
- package/dist/{pets.d-nNAVnw7f.d.cts → pets.d-B_LoizOv.d.cts} +1 -1
- package/dist/{pets.d-BFT_b53y.d.ts → pets.d-OWxskXCP.d.ts} +1 -1
- package/dist/{petsRepository.d-B2TpRE7r.d.cts → petsRepository.d-B5DWzU7C.d.cts} +1 -1
- package/dist/{petsRepository.d-RGwSZcYl.d.ts → petsRepository.d-Ba3xhJcj.d.ts} +1 -1
- package/dist/{planSignals.d-BDbp2e-k.d.cts → planSignals.d-Cl6n5QpS.d.cts} +2 -2
- package/dist/{planSignals.d-DSnxKoWe.d.ts → planSignals.d-DtxZoWGM.d.ts} +2 -2
- package/dist/{ports.d-D2n4HRUy.d.ts → ports.d-BDtwHxmW.d.ts} +4 -4
- package/dist/{ports.d-DBA_gsq5.d.cts → ports.d-gZNTn8Qf.d.cts} +4 -4
- package/dist/records/depth/index.d.cts +9 -9
- package/dist/records/depth/index.d.ts +9 -9
- package/dist/records/index.cjs +62 -52
- package/dist/records/index.d.cts +21 -15
- package/dist/records/index.d.ts +21 -15
- package/dist/records/index.js +63 -53
- package/dist/{requestFunnel.d-RZex94XX.d.cts → requestFunnel.d-CR4akGCY.d.cts} +2 -2
- package/dist/{requestFunnel.d-D9edIEjZ.d.ts → requestFunnel.d-DFf9C__p.d.ts} +2 -2
- package/dist/{runtimeTypes.d-BYq38b17.d.ts → runtimeTypes.d-BqBOrZxa.d.ts} +5 -5
- package/dist/{runtimeTypes.d-LkwZaF7z.d.cts → runtimeTypes.d-CHdH-y2c.d.cts} +5 -5
- package/dist/{screenProps.d-CQ0qZJkr.d.cts → screenProps.d-B1dIANI0.d.cts} +1 -1
- package/dist/{screenProps.d-BVzRzowC.d.ts → screenProps.d-CVqFJw-J.d.ts} +1 -1
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/shop/index.cjs +5 -4
- package/dist/shop/index.d.cts +15 -3
- package/dist/shop/index.d.ts +15 -3
- package/dist/shop/index.js +5 -4
- package/dist/tabs/index.cjs +3 -3
- package/dist/tabs/index.d.cts +9 -8
- package/dist/tabs/index.d.ts +9 -8
- package/dist/tabs/index.js +3 -3
- package/dist/televet/booking/index.d.cts +6 -6
- package/dist/televet/booking/index.d.ts +6 -6
- package/dist/testing/index.cjs +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/rn/index.d.cts +9 -9
- package/dist/testing/rn/index.d.ts +9 -9
- package/dist/testing/web/index.d.cts +9 -9
- package/dist/testing/web/index.d.ts +9 -9
- package/dist/texting/index.d.cts +5 -5
- package/dist/texting/index.d.ts +5 -5
- package/dist/{threadOptions.d-9r4Csa7k.d.cts → threadOptions.d-CnSfFVMr.d.cts} +2 -2
- package/dist/{threadOptions.d-B6GA09aM.d.ts → threadOptions.d-DZ0AoQGk.d.ts} +2 -2
- package/dist/{timelineRows.d-BvM2A7_G.d.cts → timelineRows.d-CF1KvLcQ.d.cts} +1 -1
- package/dist/{timelineRows.d-Bes8ip2v.d.ts → timelineRows.d-CtL0y7y1.d.ts} +1 -1
- package/dist/{tokens.d-DarDaV39.d.cts → tokens.d-BUVqme2D.d.cts} +1 -1
- package/dist/{tokens.d-DarDaV39.d.ts → tokens.d-BUVqme2D.d.ts} +1 -1
- package/dist/{typeStyle.d-Co5KF0up.d.ts → typeStyle.d-B3Kdtjie.d.ts} +2 -2
- package/dist/{typeStyle.d-xIZj02Ru.d.cts → typeStyle.d-DmlwyJq-.d.cts} +2 -2
- package/dist/{usePresentation.d-BGz32Vlm.d.ts → usePresentation.d-BsR08Wxt.d.ts} +1 -1
- package/dist/{usePresentation.d-DYTF_ZGf.d.cts → usePresentation.d-CZS0qlLI.d.cts} +1 -1
- package/dist/{useRecordsDepth.d-BQRL0Hez.d.ts → useRecordsDepth.d-DTAxFf5s.d.ts} +1 -1
- package/dist/{useRecordsDepth.d--LLA_4ga.d.cts → useRecordsDepth.d-k-zYIHTe.d.cts} +1 -1
- package/dist/{view.d-DqbCADFa.d.ts → view.d-BE7VOlsB.d.ts} +3 -3
- package/dist/{view.d-0yBjLTV3.d.cts → view.d-CAWQjcY_.d.cts} +3 -3
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/health-plan/index.cjs +35 -30
- package/dist/web/health-plan/index.d.cts +10 -10
- package/dist/web/health-plan/index.d.ts +10 -10
- package/dist/web/health-plan/index.js +35 -30
- package/dist/web/index.cjs +9 -9
- package/dist/web/index.d.cts +30 -29
- package/dist/web/index.d.ts +30 -29
- package/dist/web/index.js +9 -9
- package/dist/web/intro/index.d.cts +6 -6
- package/dist/web/intro/index.d.ts +6 -6
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.d.cts +9 -9
- package/dist/web/records/depth/index.d.ts +9 -9
- package/dist/web/records/index.cjs +2 -2
- package/dist/web/records/index.d.cts +11 -11
- package/dist/web/records/index.d.ts +11 -11
- package/dist/web/records/index.js +2 -2
- package/dist/web/records-sheet/index.cjs +87 -62
- package/dist/web/records-sheet/index.d.cts +9 -2
- package/dist/web/records-sheet/index.d.ts +9 -2
- package/dist/web/records-sheet/index.js +87 -62
- package/dist/web/shop/index.cjs +7 -6
- package/dist/web/shop/index.d.cts +3 -3
- package/dist/web/shop/index.d.ts +3 -3
- package/dist/web/shop/index.js +7 -6
- package/dist/web/televet/booking/index.d.cts +7 -7
- package/dist/web/televet/booking/index.d.ts +7 -7
- package/dist/web/texting/index.d.cts +5 -5
- package/dist/web/texting/index.d.ts +5 -5
- package/package.json +2 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { H as HealthPlanPage } from '../../focus.d-
|
|
2
|
+
import { H as HealthPlanPage } from '../../focus.d-Dsm39DjO.cjs';
|
|
3
3
|
import { P as PetRef } from '../../ids.d-B2GAAifq.cjs';
|
|
4
4
|
import { C as CaptureRecordsSignature } from '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
5
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-
|
|
6
|
-
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-
|
|
5
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-fAZitxMA.cjs';
|
|
6
|
+
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-fAZitxMA.cjs';
|
|
7
7
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../../useIntroSeen.d-CTWFUthO.cjs';
|
|
8
8
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../../useIntroSeen.d-CTWFUthO.cjs';
|
|
9
9
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../../introEvents.d-dS3fJCH1.cjs';
|
|
10
10
|
import '../../EverfurError.d-8NHtlgzA.cjs';
|
|
11
11
|
import '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
12
|
-
import '../../requestFunnel.d-
|
|
12
|
+
import '../../requestFunnel.d-CR4akGCY.cjs';
|
|
13
13
|
import '../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
14
|
-
import '../../config.d-
|
|
15
|
-
import '../../identity.d-
|
|
14
|
+
import '../../config.d-C0WgjutL.cjs';
|
|
15
|
+
import '../../identity.d-CioQhZrq.cjs';
|
|
16
16
|
import '../../clinicModels.d-BXgKZqDb.cjs';
|
|
17
17
|
import '../../models.d-BSqvbTE1.cjs';
|
|
18
18
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { H as HealthPlanPage } from '../../focus.d-
|
|
2
|
+
import { H as HealthPlanPage } from '../../focus.d-CtotIyEt.js';
|
|
3
3
|
import { P as PetRef } from '../../ids.d-B2GAAifq.js';
|
|
4
4
|
import { C as CaptureRecordsSignature } from '../../clinicRequestProps.d-CjsMg_OD.js';
|
|
5
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-
|
|
6
|
-
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-
|
|
5
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-tOi4o3F4.js';
|
|
6
|
+
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-tOi4o3F4.js';
|
|
7
7
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../../useIntroSeen.d-CTWFUthO.js';
|
|
8
8
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../../useIntroSeen.d-CTWFUthO.js';
|
|
9
9
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../../introEvents.d-dS3fJCH1.js';
|
|
10
10
|
import '../../EverfurError.d-8NHtlgzA.js';
|
|
11
11
|
import '../../EverfurResult.d-D_-254ZY.js';
|
|
12
|
-
import '../../requestFunnel.d-
|
|
12
|
+
import '../../requestFunnel.d-DFf9C__p.js';
|
|
13
13
|
import '../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
14
|
-
import '../../config.d-
|
|
15
|
-
import '../../identity.d-
|
|
14
|
+
import '../../config.d-zd2eTb2L.js';
|
|
15
|
+
import '../../identity.d-BksOEa6m.js';
|
|
16
16
|
import '../../clinicModels.d-CaS64-P-.js';
|
|
17
17
|
import '../../models.d-DOwnr8fi.js';
|
|
18
18
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-
|
|
2
|
+
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-BgjO82mY.cjs';
|
|
3
3
|
export { V as VetVisitIntent } from '../../visitIntent.d-D7_yVp1I.cjs';
|
|
4
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-
|
|
5
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config.d-
|
|
4
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-CioQhZrq.cjs';
|
|
5
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config.d-C0WgjutL.cjs';
|
|
6
6
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
|
|
7
7
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
8
8
|
export { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-
|
|
2
|
+
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-B5JHS6Pr.js';
|
|
3
3
|
export { V as VetVisitIntent } from '../../visitIntent.d-D7_yVp1I.js';
|
|
4
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-
|
|
5
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config.d-
|
|
4
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-BksOEa6m.js';
|
|
5
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config.d-zd2eTb2L.js';
|
|
6
6
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.js';
|
|
7
7
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
|
|
8
8
|
export { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-
|
|
2
|
-
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d
|
|
3
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-
|
|
4
|
-
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-
|
|
5
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-
|
|
1
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-dXWL6ToG.cjs';
|
|
2
|
+
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-k-zYIHTe.cjs';
|
|
3
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-CF1KvLcQ.cjs';
|
|
4
|
+
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-RTV61QNf.cjs';
|
|
5
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-B1dIANI0.cjs';
|
|
6
6
|
export { R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../../recordsAsk.d-C5CGSi3j.cjs';
|
|
7
7
|
export { R as RecordsClinic } from '../../../clinicModels.d-BXgKZqDb.cjs';
|
|
8
8
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../../ids.d-B2GAAifq.cjs';
|
|
@@ -12,8 +12,8 @@ export { E as EverfurResult } from '../../../EverfurResult.d-BFH-3s6E.cjs';
|
|
|
12
12
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '../../../models.d-BSqvbTE1.cjs';
|
|
13
13
|
import 'react';
|
|
14
14
|
import '../../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
15
|
-
import '../../../requestFunnel.d-
|
|
16
|
-
import '../../../config.d-
|
|
17
|
-
import '../../../identity.d-
|
|
18
|
-
import '../../../clinicBatch.d-
|
|
15
|
+
import '../../../requestFunnel.d-CR4akGCY.cjs';
|
|
16
|
+
import '../../../config.d-C0WgjutL.cjs';
|
|
17
|
+
import '../../../identity.d-CioQhZrq.cjs';
|
|
18
|
+
import '../../../clinicBatch.d-BLpbpS51.cjs';
|
|
19
19
|
import '../../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-
|
|
2
|
-
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-
|
|
3
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-
|
|
4
|
-
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-
|
|
5
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-
|
|
1
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-DbJejGm3.js';
|
|
2
|
+
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-DTAxFf5s.js';
|
|
3
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-CtL0y7y1.js';
|
|
4
|
+
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-BEedifOR.js';
|
|
5
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-CVqFJw-J.js';
|
|
6
6
|
export { R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../../recordsAsk.d-C5CGSi3j.js';
|
|
7
7
|
export { R as RecordsClinic } from '../../../clinicModels.d-CaS64-P-.js';
|
|
8
8
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../../ids.d-B2GAAifq.js';
|
|
@@ -12,8 +12,8 @@ export { E as EverfurResult } from '../../../EverfurResult.d-D_-254ZY.js';
|
|
|
12
12
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '../../../models.d-DOwnr8fi.js';
|
|
13
13
|
import 'react';
|
|
14
14
|
import '../../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
15
|
-
import '../../../requestFunnel.d-
|
|
16
|
-
import '../../../config.d-
|
|
17
|
-
import '../../../identity.d-
|
|
18
|
-
import '../../../clinicBatch.d-
|
|
15
|
+
import '../../../requestFunnel.d-DFf9C__p.js';
|
|
16
|
+
import '../../../config.d-zd2eTb2L.js';
|
|
17
|
+
import '../../../identity.d-BksOEa6m.js';
|
|
18
|
+
import '../../../clinicBatch.d-Byjx4y_W.js';
|
|
19
19
|
import '../../../clinicRequestProps.d-CjsMg_OD.js';
|
|
@@ -644,10 +644,10 @@ return jsxRuntime.jsx("li",{style:index>0?styles.rowDivider:void 0,children:/* @
|
|
|
644
644
|
/* @__PURE__ */jsxRuntime.jsx("span",{style:styles.rowTitle,children:marker.name}),reading!==null?/* @__PURE__ */jsxRuntime.jsx("span",{style:{...styles.rowDetail,display:"block"},children:reading}):null]}),
|
|
645
645
|
/* @__PURE__ */jsxRuntime.jsx(Chip,{label:status.label,tone:markerStatusTone(marker.latest?.status??null)}),
|
|
646
646
|
/* @__PURE__ */jsxRuntime.jsx(Chevron,{})]})},marker.markerId)})}):null]})]}),
|
|
647
|
-
/* @__PURE__ */jsxRuntime.jsx(MarkerProvenanceDialog,{marker:provenance?.marker??null,point:provenance?.point??null,onClose:()=>setProvenance(null),onAsk:askReading})]})}var pending=null;function loadSheetModule(){if(pending!==null)return pending;let started=import("@everfur/sdk/web/records-sheet");return pending=started,started.then(void 0,()=>{pending===started&&(pending=null)}),started}var built=null;function useRecordsPageLook(sheet){let wantsDefault=sheet===void 0,[loaded,setLoaded]=react.useState(()=>built);if(react.useEffect(()=>{if(!wantsDefault||built!==null)return;let live=true;return loadSheetModule().then(module=>{built??=module.recordsSheet(),live&&setLoaded(built)},()=>{live&&setLoaded("failed")}),()=>{live=false}},[wantsDefault]),sheet===false)return{kind:"classic"};if(sheet!==void 0)return{kind:"sheet",sheet:sheet};let ready=loaded??built;return ready==="failed"?{kind:"classic"}:ready===null?{kind:"pending"}:{kind:"sheet",sheet:ready}}var PAGE_MAX_WIDTH=1248,PAGE_ROOT=/* @__PURE__ */Object.freeze({height:"auto"}),PAGE_BODY=/* @__PURE__ */Object.freeze({overflowY:"visible",flex:"0 0 auto"}),PAGE_FOOTNOTE=/* @__PURE__ */Object.freeze({margin:"48px 0 0",padding:"0 0 16px",lineHeight:1.6});function EverfurRecordsPage(props){let{style:style,className:className,renderPending:renderPending,...rest}=guardHostProps(props,["onNavigate","onBack","onAsk","onOpenScreenings","onOpenPlan"]),{userRef:userRef}=useEverfurContext(),{styles:styles}=useScreenStyles();/* @__PURE__ */
|
|
647
|
+
/* @__PURE__ */jsxRuntime.jsx(MarkerProvenanceDialog,{marker:provenance?.marker??null,point:provenance?.point??null,onClose:()=>setProvenance(null),onAsk:askReading})]})}var pending=null;function loadSheetModule(){if(pending!==null)return pending;let started=import("@everfur/sdk/web/records-sheet");return pending=started,started.then(void 0,()=>{pending===started&&(pending=null)}),started}var built=null;function useRecordsPageLook(sheet){let wantsDefault=sheet===void 0,[loaded,setLoaded]=react.useState(()=>built);if(react.useEffect(()=>{if(!wantsDefault||built!==null)return;let live=true;return loadSheetModule().then(module=>{built??=module.recordsSheet(),live&&setLoaded(built)},()=>{live&&setLoaded("failed")}),()=>{live=false}},[wantsDefault]),sheet===false)return{kind:"classic"};if(sheet!==void 0)return{kind:"sheet",sheet:sheet};let ready=loaded??built;return ready==="failed"?{kind:"classic"}:ready===null?{kind:"pending"}:{kind:"sheet",sheet:ready}}var PAGE_MAX_WIDTH=1248,PAGE_ROOT=/* @__PURE__ */Object.freeze({height:"auto"}),PAGE_BODY=/* @__PURE__ */Object.freeze({overflowY:"visible",flex:"0 0 auto"}),PAGE_FOOTNOTE=/* @__PURE__ */Object.freeze({margin:"48px 0 0",padding:"0 0 16px",lineHeight:1.6}),SHEET_FOOTNOTE=/* @__PURE__ */Object.freeze({margin:"32px 0 0",padding:0,fontFamily:'"Azeret", "Helvetica Neue", Arial, sans-serif',fontSize:13,lineHeight:1.6});function EverfurRecordsPage(props){let{style:style,className:className,renderPending:renderPending,...rest}=guardHostProps(props,["onNavigate","onBack","onAsk","onOpenScreenings","onOpenPlan"]),{userRef:userRef}=useEverfurContext(),{styles:styles}=useScreenStyles();/* @__PURE__ */
|
|
648
648
|
return jsxRuntime.jsx(CapabilityGate,{capability:"records",style:style,className:className,...renderPending?{renderPending:renderPending}:{},...recordsGateExit(rest.onBack,BACK_LABEL),children:/* @__PURE__ */jsxRuntime.jsxs("div",{className:className,style:{...styles.root,...PAGE_ROOT,...style},"data-testid":"everfur-records-page",children:[userRef===null?
|
|
649
649
|
/* @__PURE__ */jsxRuntime.jsx("div",{style:{...styles.body,...PAGE_BODY},children:/* @__PURE__ */jsxRuntime.jsx(AlertState,{label:RECORDS_COPY.sessionRequired,glyph:"empty"})}):/* @__PURE__ */jsxRuntime.jsx(RecordsPageBody,{...rest}),
|
|
650
|
-
/* @__PURE__ */jsxRuntime.jsx(RecordsFootnote,{style:PAGE_FOOTNOTE})]})})}function RecordsPageBody(props){let{petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,onNavigate:onNavigate,onOpenUrl:onOpenUrl,onCopy:onCopy,onAsk:onAsk,location:location2}=props;useConsentTextWarning2(consentVersion,consentText);let[nav,dispatch]=react.useReducer(recordsPageNavReducer,void 0,()=>initialRecordsNav()),navigate=react.useCallback(to=>{onNavigate?onNavigate(to):dispatch({type:"navigate",screen:to})},[onNavigate]),{body:body,overlay:overlay,overlayCanStepBack:overlayCanStepBack,bodyCanGoBack:bodyCanGoBack}=splitRecordsPageNav(nav),[labsOpen,setLabsOpen]=react.useState(false),[markerOpen,setMarkerOpen]=react.useState(null),look=useRecordsPageLook(props.sheet),sheet=look.kind==="sheet"?look.sheet:void 0,onOpenMarker=sheet?.onOpenMarker??setMarkerOpen,recordsOpts=react.useMemo(()=>controller?{petRef:petRef,controller:controller}:{petRef:petRef},[petRef,controller]),records=useEverfurRecords(recordsOpts),{refresh:refresh}=records,sheetWasOpen=react.useRef(false);react.useEffect(()=>{overlay!==null?sheetWasOpen.current=true:sheetWasOpen.current&&(sheetWasOpen.current=false,refresh())},[overlay,refresh]);let bodyRoot=useFocusScreenOnChange(body),ctx={petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,navigate:navigate,...onOpenUrl?{onOpenUrl:onOpenUrl}:{},...onCopy?{onCopy:onCopy}:{},...onAsk?{onAsk:onAsk}:{},...location2?{location:location2}:{}},pageShown=body.name==="dashboard"||body.name==="requests";/* @__PURE__ */
|
|
650
|
+
/* @__PURE__ */jsxRuntime.jsx(RecordsFootnote,{style:rest.sheet===false?PAGE_FOOTNOTE:SHEET_FOOTNOTE})]})})}function RecordsPageBody(props){let{petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,onNavigate:onNavigate,onOpenUrl:onOpenUrl,onCopy:onCopy,onAsk:onAsk,location:location2}=props;useConsentTextWarning2(consentVersion,consentText);let[nav,dispatch]=react.useReducer(recordsPageNavReducer,void 0,()=>initialRecordsNav()),navigate=react.useCallback(to=>{onNavigate?onNavigate(to):dispatch({type:"navigate",screen:to})},[onNavigate]),{body:body,overlay:overlay,overlayCanStepBack:overlayCanStepBack,bodyCanGoBack:bodyCanGoBack}=splitRecordsPageNav(nav),[labsOpen,setLabsOpen]=react.useState(false),[markerOpen,setMarkerOpen]=react.useState(null),look=useRecordsPageLook(props.sheet),sheet=look.kind==="sheet"?look.sheet:void 0,onOpenMarker=sheet?.onOpenMarker??setMarkerOpen,recordsOpts=react.useMemo(()=>controller?{petRef:petRef,controller:controller}:{petRef:petRef},[petRef,controller]),records=useEverfurRecords(recordsOpts),{refresh:refresh}=records,sheetWasOpen=react.useRef(false);react.useEffect(()=>{overlay!==null?sheetWasOpen.current=true:sheetWasOpen.current&&(sheetWasOpen.current=false,refresh())},[overlay,refresh]);let bodyRoot=useFocusScreenOnChange(body),ctx={petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,navigate:navigate,...onOpenUrl?{onOpenUrl:onOpenUrl}:{},...onCopy?{onCopy:onCopy}:{},...onAsk?{onAsk:onAsk}:{},...location2?{location:location2}:{}},pageShown=body.name==="dashboard"||body.name==="requests";/* @__PURE__ */
|
|
651
651
|
return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[
|
|
652
652
|
/* @__PURE__ */jsxRuntime.jsx("div",{ref:bodyRoot,tabIndex:-1,style:BODY_ROOT,children:pageShown&&sheet!==void 0&&markerOpen!==null?/* @__PURE__ */jsxRuntime.jsxs(RecordsFootnoteDrawnAbove.Provider,{value:true,children:[
|
|
653
653
|
/* @__PURE__ */jsxRuntime.jsx(ScreenHeader,{title:"",onBack:()=>setMarkerOpen(null),testID:"everfur-records-page-lab-header"}),sheet.renderLab({petRef:petRef,markerId:markerOpen,petName:petName,onAsk:onAsk})]}):pageShown&&labsOpen?/* @__PURE__ */jsxRuntime.jsx(RecordsFootnoteDrawnAbove.Provider,{value:true,children:/* @__PURE__ */jsxRuntime.jsx(RecordsPageLabs,{petRef:petRef,petName:petName,onAsk:onAsk,onBack:()=>setLabsOpen(false)})}):pageShown?/* @__PURE__ */jsxRuntime.jsx(RecordsPageContent,{...props,sheet:sheet,sheetPending:look.kind==="pending",records:records,navigate:navigate,onOpenLabs:()=>setLabsOpen(true),onOpenMarker:onOpenMarker}):
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { R as RecordsController } from '../../useRecords.d-BYNX01El.cjs';
|
|
2
2
|
export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../../useRecords.d-BYNX01El.cjs';
|
|
3
|
-
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-
|
|
3
|
+
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-DRPdUAo4.cjs';
|
|
4
4
|
export { E as EverfurRecordsSheet, a as EverfurRecordsSheetLabRenderArgs, b as EverfurRecordsSheetRenderArgs } from '../../sheetSeam.d-BBuEIVsa.cjs';
|
|
5
5
|
import { CSSProperties, ReactNode, PointerEvent } from 'react';
|
|
6
6
|
import { P as PetRef, R as RecordsRequestId } from '../../ids.d-B2GAAifq.cjs';
|
|
7
7
|
export { B as Brand, D as DocumentId, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
|
|
8
8
|
import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps, b as CapturedRecordsSignature } from '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
9
9
|
export { c as RecordsSignatureContext } from '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
10
|
-
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-
|
|
11
|
-
export { a as ClinicLocation, f as RecordsNavAction, g as RecordsNavState, d as RecordsUrlKind, h as RegisterSignaturePng, i as currentRecordsScreen, j as initialRecordsNav, p as popRecordsNav, k as pushRecordsNav, r as recordsNavReducer, l as replaceRecordsNav, m as resetRecordsNav, t as transitionRecordsNav } from '../../screenProps.d-
|
|
10
|
+
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-B1dIANI0.cjs';
|
|
11
|
+
export { a as ClinicLocation, f as RecordsNavAction, g as RecordsNavState, d as RecordsUrlKind, h as RegisterSignaturePng, i as currentRecordsScreen, j as initialRecordsNav, p as popRecordsNav, k as pushRecordsNav, r as recordsNavReducer, l as replaceRecordsNav, m as resetRecordsNav, t as transitionRecordsNav } from '../../screenProps.d-B1dIANI0.cjs';
|
|
12
12
|
import { d as RecordsRequestView } from '../../models.d-BSqvbTE1.cjs';
|
|
13
13
|
export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, c as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, h as RecordsDenialReason, e as RecordsRequestGroupView, i as RecordsRequestStatus, j as RecordsSimpleStatus, f as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models.d-BSqvbTE1.cjs';
|
|
14
14
|
import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
15
15
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
16
|
-
export { w as FactFieldValue, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, y as RecordFactEditInput, z as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, A as RecordMarker, B as RecordMarkerLatest, C as RecordMarkerPoint, D as RecordMarkerSummary, E as RecordMarkersView, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, G as RecordsSignatureSuggestion, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight } from '../../depth.d-
|
|
16
|
+
export { w as FactFieldValue, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, y as RecordFactEditInput, z as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, A as RecordMarker, B as RecordMarkerLatest, C as RecordMarkerPoint, D as RecordMarkerSummary, E as RecordMarkersView, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, G as RecordsSignatureSuggestion, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight } from '../../depth.d-RTV61QNf.cjs';
|
|
17
17
|
export { b as RecordsAsk, R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.cjs';
|
|
18
|
-
export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../../view.d-
|
|
19
|
-
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d
|
|
18
|
+
export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../../view.d-CAWQjcY_.cjs';
|
|
19
|
+
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-k-zYIHTe.cjs';
|
|
20
20
|
export { g as RecordPdfLink, f as RecordShare, R as RecordShareAudience, i as RecordShareAudienceScope, d as RecordShareEmailInput, e as RecordShareEmailReceipt, c as RecordShareLink, j as RecordShareRecipientKind, a as RecordsFeatures, q as RecordsPhotoContentType, b as RecordsUploadContentType, s as acceptsPhotos } from '../../features.d-DrQxTw3-.cjs';
|
|
21
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-
|
|
22
|
-
export { C as CreateClinicRequestBatchInput, b as RECORDS_CLINIC_BATCH_MAX, R as RecordsClinicBatch, a as RecordsClinicBatchClient, c as RecordsClinicBatchItem, d as RecordsClinicBatchResult } from '../../clinicBatch.d-
|
|
21
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-dXWL6ToG.cjs';
|
|
22
|
+
export { C as CreateClinicRequestBatchInput, b as RECORDS_CLINIC_BATCH_MAX, R as RecordsClinicBatch, a as RecordsClinicBatchClient, c as RecordsClinicBatchItem, d as RecordsClinicBatchResult } from '../../clinicBatch.d-BLpbpS51.cjs';
|
|
23
23
|
export { C as CreateClinicRequestInput, f as RecordsAuthorizationCopy, b as RecordsAuthorizationSignature, R as RecordsClinic, c as RecordsClinicSearchInput, d as RecordsClinicSearchPage, a as RecordsClinicTarget, e as RecordsRecentClinicsInput, g as RecordsSignatureUploadPolicy } from '../../clinicModels.d-BXgKZqDb.cjs';
|
|
24
24
|
export { WebRecordsUploadTransportOptions, createWebRecordsUploadTransport } from './upload/index.cjs';
|
|
25
25
|
import { F as FileHandle } from '../../ports.d-BX4f4UsB.cjs';
|
|
26
26
|
export { a as UploadPolicyWire, U as UploadTransport } from '../../ports.d-BX4f4UsB.cjs';
|
|
27
27
|
export { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
28
28
|
import '../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
29
|
-
import '../../requestFunnel.d-
|
|
30
|
-
import '../../config.d-
|
|
31
|
-
import '../../identity.d-
|
|
29
|
+
import '../../requestFunnel.d-CR4akGCY.cjs';
|
|
30
|
+
import '../../config.d-C0WgjutL.cjs';
|
|
31
|
+
import '../../identity.d-CioQhZrq.cjs';
|
|
32
32
|
|
|
33
33
|
type RecordsHistoryMode = 'memory' | 'browser';
|
|
34
34
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { R as RecordsController } from '../../useRecords.d-DWk61a4c.js';
|
|
2
2
|
export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../../useRecords.d-DWk61a4c.js';
|
|
3
|
-
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-
|
|
3
|
+
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-DKrZ9rHX.js';
|
|
4
4
|
export { E as EverfurRecordsSheet, a as EverfurRecordsSheetLabRenderArgs, b as EverfurRecordsSheetRenderArgs } from '../../sheetSeam.d-B09jf4YC.js';
|
|
5
5
|
import { CSSProperties, ReactNode, PointerEvent } from 'react';
|
|
6
6
|
import { P as PetRef, R as RecordsRequestId } from '../../ids.d-B2GAAifq.js';
|
|
7
7
|
export { B as Brand, D as DocumentId, _ as __brand } from '../../ids.d-B2GAAifq.js';
|
|
8
8
|
import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps, b as CapturedRecordsSignature } from '../../clinicRequestProps.d-CjsMg_OD.js';
|
|
9
9
|
export { c as RecordsSignatureContext } from '../../clinicRequestProps.d-CjsMg_OD.js';
|
|
10
|
-
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-
|
|
11
|
-
export { a as ClinicLocation, f as RecordsNavAction, g as RecordsNavState, d as RecordsUrlKind, h as RegisterSignaturePng, i as currentRecordsScreen, j as initialRecordsNav, p as popRecordsNav, k as pushRecordsNav, r as recordsNavReducer, l as replaceRecordsNav, m as resetRecordsNav, t as transitionRecordsNav } from '../../screenProps.d-
|
|
10
|
+
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-CVqFJw-J.js';
|
|
11
|
+
export { a as ClinicLocation, f as RecordsNavAction, g as RecordsNavState, d as RecordsUrlKind, h as RegisterSignaturePng, i as currentRecordsScreen, j as initialRecordsNav, p as popRecordsNav, k as pushRecordsNav, r as recordsNavReducer, l as replaceRecordsNav, m as resetRecordsNav, t as transitionRecordsNav } from '../../screenProps.d-CVqFJw-J.js';
|
|
12
12
|
import { d as RecordsRequestView } from '../../models.d-DOwnr8fi.js';
|
|
13
13
|
export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, c as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, h as RecordsDenialReason, e as RecordsRequestGroupView, i as RecordsRequestStatus, j as RecordsSimpleStatus, f as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models.d-DOwnr8fi.js';
|
|
14
14
|
import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.js';
|
|
15
15
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
|
|
16
|
-
export { w as FactFieldValue, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, y as RecordFactEditInput, z as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, A as RecordMarker, B as RecordMarkerLatest, C as RecordMarkerPoint, D as RecordMarkerSummary, E as RecordMarkersView, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, G as RecordsSignatureSuggestion, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight } from '../../depth.d-
|
|
16
|
+
export { w as FactFieldValue, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, y as RecordFactEditInput, z as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, A as RecordMarker, B as RecordMarkerLatest, C as RecordMarkerPoint, D as RecordMarkerSummary, E as RecordMarkersView, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, G as RecordsSignatureSuggestion, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight } from '../../depth.d-BEedifOR.js';
|
|
17
17
|
export { b as RecordsAsk, R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.js';
|
|
18
|
-
export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../../view.d-
|
|
19
|
-
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-
|
|
18
|
+
export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../../view.d-BE7VOlsB.js';
|
|
19
|
+
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-DTAxFf5s.js';
|
|
20
20
|
export { g as RecordPdfLink, f as RecordShare, R as RecordShareAudience, i as RecordShareAudienceScope, d as RecordShareEmailInput, e as RecordShareEmailReceipt, c as RecordShareLink, j as RecordShareRecipientKind, a as RecordsFeatures, q as RecordsPhotoContentType, b as RecordsUploadContentType, s as acceptsPhotos } from '../../features.d-DrQxTw3-.js';
|
|
21
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-
|
|
22
|
-
export { C as CreateClinicRequestBatchInput, b as RECORDS_CLINIC_BATCH_MAX, R as RecordsClinicBatch, a as RecordsClinicBatchClient, c as RecordsClinicBatchItem, d as RecordsClinicBatchResult } from '../../clinicBatch.d-
|
|
21
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-DbJejGm3.js';
|
|
22
|
+
export { C as CreateClinicRequestBatchInput, b as RECORDS_CLINIC_BATCH_MAX, R as RecordsClinicBatch, a as RecordsClinicBatchClient, c as RecordsClinicBatchItem, d as RecordsClinicBatchResult } from '../../clinicBatch.d-Byjx4y_W.js';
|
|
23
23
|
export { C as CreateClinicRequestInput, f as RecordsAuthorizationCopy, b as RecordsAuthorizationSignature, R as RecordsClinic, c as RecordsClinicSearchInput, d as RecordsClinicSearchPage, a as RecordsClinicTarget, e as RecordsRecentClinicsInput, g as RecordsSignatureUploadPolicy } from '../../clinicModels.d-CaS64-P-.js';
|
|
24
24
|
export { WebRecordsUploadTransportOptions, createWebRecordsUploadTransport } from './upload/index.js';
|
|
25
25
|
import { F as FileHandle } from '../../ports.d-BX4f4UsB.js';
|
|
26
26
|
export { a as UploadPolicyWire, U as UploadTransport } from '../../ports.d-BX4f4UsB.js';
|
|
27
27
|
export { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
|
|
28
28
|
import '../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
29
|
-
import '../../requestFunnel.d-
|
|
30
|
-
import '../../config.d-
|
|
31
|
-
import '../../identity.d-
|
|
29
|
+
import '../../requestFunnel.d-DFf9C__p.js';
|
|
30
|
+
import '../../config.d-zd2eTb2L.js';
|
|
31
|
+
import '../../identity.d-BksOEa6m.js';
|
|
32
32
|
|
|
33
33
|
type RecordsHistoryMode = 'memory' | 'browser';
|
|
34
34
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
@@ -644,10 +644,10 @@ return jsx("li",{style:index>0?styles.rowDivider:void 0,children:/* @__PURE__ */
|
|
|
644
644
|
/* @__PURE__ */jsx("span",{style:styles.rowTitle,children:marker.name}),reading!==null?/* @__PURE__ */jsx("span",{style:{...styles.rowDetail,display:"block"},children:reading}):null]}),
|
|
645
645
|
/* @__PURE__ */jsx(Chip,{label:status.label,tone:markerStatusTone(marker.latest?.status??null)}),
|
|
646
646
|
/* @__PURE__ */jsx(Chevron,{})]})},marker.markerId)})}):null]})]}),
|
|
647
|
-
/* @__PURE__ */jsx(MarkerProvenanceDialog,{marker:provenance?.marker??null,point:provenance?.point??null,onClose:()=>setProvenance(null),onAsk:askReading})]})}var pending=null;function loadSheetModule(){if(pending!==null)return pending;let started=import("@everfur/sdk/web/records-sheet");return pending=started,started.then(void 0,()=>{pending===started&&(pending=null)}),started}var built=null;function useRecordsPageLook(sheet){let wantsDefault=sheet===void 0,[loaded,setLoaded]=useState(()=>built);if(useEffect(()=>{if(!wantsDefault||built!==null)return;let live=true;return loadSheetModule().then(module=>{built??=module.recordsSheet(),live&&setLoaded(built)},()=>{live&&setLoaded("failed")}),()=>{live=false}},[wantsDefault]),sheet===false)return{kind:"classic"};if(sheet!==void 0)return{kind:"sheet",sheet:sheet};let ready=loaded??built;return ready==="failed"?{kind:"classic"}:ready===null?{kind:"pending"}:{kind:"sheet",sheet:ready}}var PAGE_MAX_WIDTH=1248,PAGE_ROOT=/* @__PURE__ */Object.freeze({height:"auto"}),PAGE_BODY=/* @__PURE__ */Object.freeze({overflowY:"visible",flex:"0 0 auto"}),PAGE_FOOTNOTE=/* @__PURE__ */Object.freeze({margin:"48px 0 0",padding:"0 0 16px",lineHeight:1.6});function EverfurRecordsPage(props){let{style:style,className:className,renderPending:renderPending,...rest}=guardHostProps(props,["onNavigate","onBack","onAsk","onOpenScreenings","onOpenPlan"]),{userRef:userRef}=useEverfurContext(),{styles:styles}=useScreenStyles();/* @__PURE__ */
|
|
647
|
+
/* @__PURE__ */jsx(MarkerProvenanceDialog,{marker:provenance?.marker??null,point:provenance?.point??null,onClose:()=>setProvenance(null),onAsk:askReading})]})}var pending=null;function loadSheetModule(){if(pending!==null)return pending;let started=import("@everfur/sdk/web/records-sheet");return pending=started,started.then(void 0,()=>{pending===started&&(pending=null)}),started}var built=null;function useRecordsPageLook(sheet){let wantsDefault=sheet===void 0,[loaded,setLoaded]=useState(()=>built);if(useEffect(()=>{if(!wantsDefault||built!==null)return;let live=true;return loadSheetModule().then(module=>{built??=module.recordsSheet(),live&&setLoaded(built)},()=>{live&&setLoaded("failed")}),()=>{live=false}},[wantsDefault]),sheet===false)return{kind:"classic"};if(sheet!==void 0)return{kind:"sheet",sheet:sheet};let ready=loaded??built;return ready==="failed"?{kind:"classic"}:ready===null?{kind:"pending"}:{kind:"sheet",sheet:ready}}var PAGE_MAX_WIDTH=1248,PAGE_ROOT=/* @__PURE__ */Object.freeze({height:"auto"}),PAGE_BODY=/* @__PURE__ */Object.freeze({overflowY:"visible",flex:"0 0 auto"}),PAGE_FOOTNOTE=/* @__PURE__ */Object.freeze({margin:"48px 0 0",padding:"0 0 16px",lineHeight:1.6}),SHEET_FOOTNOTE=/* @__PURE__ */Object.freeze({margin:"32px 0 0",padding:0,fontFamily:'"Azeret", "Helvetica Neue", Arial, sans-serif',fontSize:13,lineHeight:1.6});function EverfurRecordsPage(props){let{style:style,className:className,renderPending:renderPending,...rest}=guardHostProps(props,["onNavigate","onBack","onAsk","onOpenScreenings","onOpenPlan"]),{userRef:userRef}=useEverfurContext(),{styles:styles}=useScreenStyles();/* @__PURE__ */
|
|
648
648
|
return jsx(CapabilityGate,{capability:"records",style:style,className:className,...renderPending?{renderPending:renderPending}:{},...recordsGateExit(rest.onBack,BACK_LABEL),children:/* @__PURE__ */jsxs("div",{className:className,style:{...styles.root,...PAGE_ROOT,...style},"data-testid":"everfur-records-page",children:[userRef===null?
|
|
649
649
|
/* @__PURE__ */jsx("div",{style:{...styles.body,...PAGE_BODY},children:/* @__PURE__ */jsx(AlertState,{label:RECORDS_COPY.sessionRequired,glyph:"empty"})}):/* @__PURE__ */jsx(RecordsPageBody,{...rest}),
|
|
650
|
-
/* @__PURE__ */jsx(RecordsFootnote,{style:PAGE_FOOTNOTE})]})})}function RecordsPageBody(props){let{petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,onNavigate:onNavigate,onOpenUrl:onOpenUrl,onCopy:onCopy,onAsk:onAsk,location:location2}=props;useConsentTextWarning2(consentVersion,consentText);let[nav,dispatch]=useReducer(recordsPageNavReducer,void 0,()=>initialRecordsNav()),navigate=useCallback(to=>{onNavigate?onNavigate(to):dispatch({type:"navigate",screen:to})},[onNavigate]),{body:body,overlay:overlay,overlayCanStepBack:overlayCanStepBack,bodyCanGoBack:bodyCanGoBack}=splitRecordsPageNav(nav),[labsOpen,setLabsOpen]=useState(false),[markerOpen,setMarkerOpen]=useState(null),look=useRecordsPageLook(props.sheet),sheet=look.kind==="sheet"?look.sheet:void 0,onOpenMarker=sheet?.onOpenMarker??setMarkerOpen,recordsOpts=useMemo(()=>controller?{petRef:petRef,controller:controller}:{petRef:petRef},[petRef,controller]),records=useEverfurRecords(recordsOpts),{refresh:refresh}=records,sheetWasOpen=useRef(false);useEffect(()=>{overlay!==null?sheetWasOpen.current=true:sheetWasOpen.current&&(sheetWasOpen.current=false,refresh())},[overlay,refresh]);let bodyRoot=useFocusScreenOnChange(body),ctx={petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,navigate:navigate,...onOpenUrl?{onOpenUrl:onOpenUrl}:{},...onCopy?{onCopy:onCopy}:{},...onAsk?{onAsk:onAsk}:{},...location2?{location:location2}:{}},pageShown=body.name==="dashboard"||body.name==="requests";/* @__PURE__ */
|
|
650
|
+
/* @__PURE__ */jsx(RecordsFootnote,{style:rest.sheet===false?PAGE_FOOTNOTE:SHEET_FOOTNOTE})]})})}function RecordsPageBody(props){let{petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,onNavigate:onNavigate,onOpenUrl:onOpenUrl,onCopy:onCopy,onAsk:onAsk,location:location2}=props;useConsentTextWarning2(consentVersion,consentText);let[nav,dispatch]=useReducer(recordsPageNavReducer,void 0,()=>initialRecordsNav()),navigate=useCallback(to=>{onNavigate?onNavigate(to):dispatch({type:"navigate",screen:to})},[onNavigate]),{body:body,overlay:overlay,overlayCanStepBack:overlayCanStepBack,bodyCanGoBack:bodyCanGoBack}=splitRecordsPageNav(nav),[labsOpen,setLabsOpen]=useState(false),[markerOpen,setMarkerOpen]=useState(null),look=useRecordsPageLook(props.sheet),sheet=look.kind==="sheet"?look.sheet:void 0,onOpenMarker=sheet?.onOpenMarker??setMarkerOpen,recordsOpts=useMemo(()=>controller?{petRef:petRef,controller:controller}:{petRef:petRef},[petRef,controller]),records=useEverfurRecords(recordsOpts),{refresh:refresh}=records,sheetWasOpen=useRef(false);useEffect(()=>{overlay!==null?sheetWasOpen.current=true:sheetWasOpen.current&&(sheetWasOpen.current=false,refresh())},[overlay,refresh]);let bodyRoot=useFocusScreenOnChange(body),ctx={petRef:petRef,petName:petName,controller:controller,clinicController:clinicController,consentVersion:consentVersion,consentText:consentText,ownerName:ownerName,onCaptureSignature:onCaptureSignature,navigate:navigate,...onOpenUrl?{onOpenUrl:onOpenUrl}:{},...onCopy?{onCopy:onCopy}:{},...onAsk?{onAsk:onAsk}:{},...location2?{location:location2}:{}},pageShown=body.name==="dashboard"||body.name==="requests";/* @__PURE__ */
|
|
651
651
|
return jsxs(Fragment,{children:[
|
|
652
652
|
/* @__PURE__ */jsx("div",{ref:bodyRoot,tabIndex:-1,style:BODY_ROOT,children:pageShown&&sheet!==void 0&&markerOpen!==null?/* @__PURE__ */jsxs(RecordsFootnoteDrawnAbove.Provider,{value:true,children:[
|
|
653
653
|
/* @__PURE__ */jsx(ScreenHeader,{title:"",onBack:()=>setMarkerOpen(null),testID:"everfur-records-page-lab-header"}),sheet.renderLab({petRef:petRef,markerId:markerOpen,petName:petName,onAsk:onAsk})]}):pageShown&&labsOpen?/* @__PURE__ */jsx(RecordsFootnoteDrawnAbove.Provider,{value:true,children:/* @__PURE__ */jsx(RecordsPageLabs,{petRef:petRef,petName:petName,onAsk:onAsk,onBack:()=>setLabsOpen(false)})}):pageShown?/* @__PURE__ */jsx(RecordsPageContent,{...props,sheet:sheet,sheetPending:look.kind==="pending",records:records,navigate:navigate,onOpenLabs:()=>setLabsOpen(true),onOpenMarker:onOpenMarker}):
|