@everfur/sdk 0.13.0 → 0.14.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 +126 -0
- package/README.md +11 -10
- package/dist/{Chat.d-Dts8u_1a.d.cts → Chat.d-aycmX1CA.d.cts} +12 -4
- package/dist/{Chat.d-DUNTfzqC.d.ts → Chat.d-puminpyi.d.ts} +12 -4
- package/dist/{DepthViews.d-CubkMPbU.d.ts → DepthViews.d-BdvFZgPs.d.cts} +1 -1
- package/dist/{DepthViews.d-Ce2Zhnrb.d.ts → DepthViews.d-DIvxzLDf.d.ts} +1 -1
- package/dist/{DepthViews.d-BMU2jFPw.d.cts → DepthViews.d-Dy0Zl-s-.d.ts} +1 -1
- package/dist/{DepthViews.d-BIp599lz.d.cts → DepthViews.d-wLNkzk9f.d.cts} +1 -1
- package/dist/RecordsPage.d-9Ank15PT.d.ts +93 -0
- package/dist/RecordsPage.d-DMKU0IKc.d.cts +93 -0
- package/dist/animations/index.d.cts +5 -5
- package/dist/animations/index.d.ts +5 -5
- package/dist/{attachments.d-D1yhJjcZ.d.ts → attachments.d--sIsfk6e.d.ts} +2 -2
- package/dist/{attachments.d-Bp2qbHxn.d.cts → attachments.d-DNUCiyy5.d.cts} +6 -24
- package/dist/{attachments.d-DisnvB9R.d.cts → attachments.d-ZEpTUeWN.d.cts} +2 -2
- package/dist/{attachments.d-Djy9z_0Z.d.ts → attachments.d-rp3xs-Q3.d.ts} +6 -24
- package/dist/{bookingCopy.d-BJF6gd1A.d.ts → bookingCopy.d-D0uIIFAJ.d.ts} +2 -2
- package/dist/{bookingCopy.d-BlBmhAJc.d.cts → bookingCopy.d-DUrmVcLs.d.cts} +2 -2
- package/dist/{branding.d-DI8S400y.d.cts → branding.d-CTXTUg_8.d.cts} +1 -1
- package/dist/{branding.d-OIGLbQeM.d.ts → branding.d-DxJSoFce.d.ts} +1 -1
- package/dist/{casesRepository.d-CT2LTicS.d.cts → casesRepository.d-DCnix2pT.d.cts} +1 -1
- package/dist/{casesRepository.d-UsWOz9bv.d.ts → casesRepository.d-DbirgbyH.d.ts} +1 -1
- package/dist/chat/index.cjs +43 -41
- package/dist/chat/index.d.cts +26 -13
- package/dist/chat/index.d.ts +26 -13
- package/dist/chat/index.js +43 -41
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +2 -2
- package/dist/clinicBatch.d-Ccmrngcu.d.cts +71 -0
- package/dist/clinicBatch.d-D9Ci7IpP.d.ts +71 -0
- package/dist/clinicModels.d-BXgKZqDb.d.cts +68 -0
- package/dist/clinicModels.d-CaS64-P-.d.ts +68 -0
- package/dist/clinicRequestProps.d-1dCtouGA.d.cts +65 -0
- package/dist/clinicRequestProps.d-CjsMg_OD.d.ts +65 -0
- package/dist/{config.d-BR3DT9ho.d.cts → config.d-DJ4mvf_w.d.cts} +1 -1
- package/dist/{config.d-Dy6igYlH.d.ts → config.d-MX7IKP2f.d.ts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context.d-QcCgguzA.d.ts → context.d-BdnBe8Oe.d.ts} +7 -7
- package/dist/{context.d-Cwks0p3C.d.cts → context.d-C6MJsMpN.d.cts} +7 -7
- package/dist/{copy.d-CiMn2IIt.d.ts → copy.d-BIfQOoDB.d.ts} +2 -2
- package/dist/{copy.d-DLJTyRfT.d.cts → copy.d-C_u7shha.d.cts} +2 -2
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.d.cts +20 -18
- package/dist/core/index.d.ts +20 -18
- package/dist/core/index.js +3 -3
- package/dist/{depth.d-OSALbYM7.d.ts → depth.d-COFxYWLU.d.ts} +6 -133
- package/dist/{depth.d-CjPGVPDL.d.cts → depth.d-D2e5WZuE.d.cts} +6 -133
- package/dist/{entitlementRepository.d-CVQa1DA1.d.cts → entitlementRepository.d-BP15dFbe.d.cts} +4 -4
- package/dist/{entitlementRepository.d-Cf3LbTwD.d.ts → entitlementRepository.d-DLuxnGi5.d.ts} +4 -4
- package/dist/{features.d-fNsGcg0R.d.ts → features.d-DrQxTw3-.d.cts} +1 -1
- package/dist/{features.d-fNsGcg0R.d.cts → features.d-DrQxTw3-.d.ts} +1 -1
- package/dist/{focus.d-DMg2ngHI.d.ts → focus.d-C0Tr0oVJ.d.ts} +109 -348
- package/dist/{focus.d-az9cqUz3.d.cts → focus.d-jQWp0hdK.d.cts} +109 -348
- package/dist/health-plan/index.cjs +165 -151
- package/dist/health-plan/index.d.cts +53 -11
- package/dist/health-plan/index.d.ts +53 -11
- package/dist/health-plan/index.js +169 -155
- package/dist/{idempotency.d-D461_DPD.d.cts → idempotency.d-DXb1BN2A.d.ts} +151 -6
- package/dist/{idempotency.d-WpXx9zQo.d.ts → idempotency.d-HF6fyRt2.d.cts} +151 -6
- package/dist/{identity.d-DzTijonw.d.ts → identity.d-BePPZ7Uv.d.ts} +1 -1
- package/dist/{identity.d-60LeJt_s.d.cts → identity.d-CJfnWOdH.d.cts} +1 -1
- package/dist/index.cjs +46 -44
- package/dist/index.d.cts +19 -18
- package/dist/index.d.ts +19 -18
- package/dist/index.js +46 -44
- package/dist/introEvents.d-BkGDT_kG.d.cts +175 -0
- package/dist/introEvents.d-DHlMvmC7.d.ts +175 -0
- package/dist/introEvents.d-dS3fJCH1.d.cts +5 -0
- package/dist/introEvents.d-dS3fJCH1.d.ts +5 -0
- package/dist/{models.d-BnLm3VAA.d.cts → models.d-BSqvbTE1.d.cts} +8 -1
- package/dist/{models.d-BagXhafD.d.ts → models.d-DOwnr8fi.d.ts} +8 -1
- package/dist/notifications/index.d.cts +4 -4
- package/dist/notifications/index.d.ts +4 -4
- package/dist/{optInView.d-CEyHR6PK.d.cts → optInView.d-0iI5JoAf.d.cts} +119 -3
- package/dist/{optInView.d-acKpV8V2.d.ts → optInView.d-s-w4aGN3.d.ts} +119 -3
- package/dist/{parse.d-C8CXyS58.d.ts → parse.d-COt1qVA6.d.ts} +1 -1
- package/dist/{parse.d-tEzufgJX.d.cts → parse.d-EmsgOUMQ.d.cts} +1 -1
- package/dist/{pets.d-C_53_fzo.d.ts → pets.d-BFT_b53y.d.ts} +1 -1
- package/dist/{pets.d-NbJvP_kh.d.cts → pets.d-nNAVnw7f.d.cts} +1 -1
- package/dist/{petsRepository.d-lp1BHRqM.d.cts → petsRepository.d-B2TpRE7r.d.cts} +1 -1
- package/dist/{petsRepository.d-BuGHymNx.d.ts → petsRepository.d-RGwSZcYl.d.ts} +1 -1
- package/dist/planSignals.d-BDbp2e-k.d.cts +126 -0
- package/dist/planSignals.d-DSnxKoWe.d.ts +126 -0
- package/dist/{ports.d-COIyN624.d.ts → ports.d-D2n4HRUy.d.ts} +4 -4
- package/dist/{ports.d-CEROoqnA.d.cts → ports.d-DBA_gsq5.d.cts} +4 -4
- package/dist/{presentation.d-DMbdad7G.d.cts → presentation.d-vy8kTGfR.d.cts} +6 -0
- package/dist/{presentation.d-DMbdad7G.d.ts → presentation.d-vy8kTGfR.d.ts} +6 -0
- package/dist/quickPrompts.d-NM_81Jc1.d.cts +19 -0
- package/dist/quickPrompts.d-NM_81Jc1.d.ts +19 -0
- package/dist/records/depth/index.d.cts +13 -9
- package/dist/records/depth/index.d.ts +13 -9
- package/dist/records/index.cjs +252 -138
- package/dist/records/index.d.cts +88 -23
- package/dist/records/index.d.ts +88 -23
- package/dist/records/index.js +253 -139
- package/dist/{requestFunnel.d-CXUMPw1K.d.ts → requestFunnel.d-D9edIEjZ.d.ts} +2 -2
- package/dist/{requestFunnel.d-DWQQpjFR.d.cts → requestFunnel.d-RZex94XX.d.cts} +2 -2
- package/dist/{resolve.d-jI8FmBj3.d.cts → resolve.d-CoQWUy1Y.d.cts} +1 -1
- package/dist/{resolve.d-jI8FmBj3.d.ts → resolve.d-CoQWUy1Y.d.ts} +1 -1
- package/dist/{runtimeTypes.d-4yFNNuYR.d.ts → runtimeTypes.d-BYq38b17.d.ts} +6 -6
- package/dist/{runtimeTypes.d-D6N_fhxx.d.cts → runtimeTypes.d-LkwZaF7z.d.cts} +6 -6
- package/dist/{useRecordsDepth.d-DFcCfiXm.d.ts → screenProps.d-BVzRzowC.d.ts} +5 -91
- package/dist/{useRecordsDepth.d-sAq2Qkhr.d.cts → screenProps.d-CQ0qZJkr.d.cts} +5 -91
- 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/{sheetSeam.d-Cviqk89n.d.ts → sheetSeam.d-B09jf4YC.d.ts} +8 -4
- package/dist/{sheetSeam.d-DCS3LW8g.d.cts → sheetSeam.d-BBuEIVsa.d.cts} +8 -4
- package/dist/shop/index.cjs +224 -58
- package/dist/shop/index.d.cts +23 -5
- package/dist/shop/index.d.ts +23 -5
- package/dist/shop/index.js +225 -59
- package/dist/tabs/index.cjs +195 -0
- package/dist/tabs/index.d.cts +174 -0
- package/dist/tabs/index.d.ts +174 -0
- package/dist/tabs/index.js +195 -0
- package/dist/tabsModel.d-BfIQg6yS.d.cts +31 -0
- package/dist/tabsModel.d-BfIQg6yS.d.ts +31 -0
- 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.cjs +1 -1
- package/dist/testing/rn/index.d.cts +11 -11
- package/dist/testing/rn/index.d.ts +11 -11
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +12 -12
- package/dist/testing/web/index.d.ts +12 -12
- package/dist/texting/index.cjs +40 -5
- package/dist/texting/index.d.cts +40 -7
- package/dist/texting/index.d.ts +40 -7
- package/dist/texting/index.js +40 -5
- package/dist/threadOptions.d-9r4Csa7k.d.cts +458 -0
- package/dist/threadOptions.d-B6GA09aM.d.ts +458 -0
- package/dist/{timelineRows.d-CU5GvvLk.d.ts → timelineRows.d-Bes8ip2v.d.ts} +1 -1
- package/dist/{timelineRows.d-BNxgzYRW.d.cts → timelineRows.d-BvM2A7_G.d.cts} +1 -1
- package/dist/{typeStyle.d-C1HBRAI3.d.ts → typeStyle.d-Co5KF0up.d.ts} +1 -1
- package/dist/{typeStyle.d-Bl8pzbBy.d.cts → typeStyle.d-xIZj02Ru.d.cts} +1 -1
- package/dist/useIntroSeen.d-CTWFUthO.d.cts +35 -0
- package/dist/useIntroSeen.d-CTWFUthO.d.ts +35 -0
- package/dist/usePresentation.d-BGz32Vlm.d.ts +285 -0
- package/dist/usePresentation.d-DYTF_ZGf.d.cts +285 -0
- package/dist/{useRecords.d-Cb-36SF5.d.cts → useRecords.d-BYNX01El.d.cts} +2 -2
- package/dist/{useRecords.d-aQTzQZoV.d.ts → useRecords.d-DWk61a4c.d.ts} +2 -2
- package/dist/useRecordsDepth.d--LLA_4ga.d.cts +32 -0
- package/dist/useRecordsDepth.d-BQRL0Hez.d.ts +32 -0
- package/dist/{view.d-Dps5C8-s.d.cts → view.d-0yBjLTV3.d.cts} +6 -4
- package/dist/{view.d-C-SNpDJX.d.ts → view.d-DqbCADFa.d.ts} +6 -4
- 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 +50 -43
- package/dist/web/health-plan/index.d.cts +46 -192
- package/dist/web/health-plan/index.d.ts +46 -192
- package/dist/web/health-plan/index.js +65 -58
- package/dist/web/index.cjs +61 -45
- package/dist/web/index.d.cts +165 -25
- package/dist/web/index.d.ts +165 -25
- package/dist/web/index.js +62 -46
- package/dist/web/intro/index.cjs +167 -0
- package/dist/web/intro/index.d.cts +79 -0
- package/dist/web/intro/index.d.ts +79 -0
- package/dist/web/intro/index.js +167 -0
- 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 +13 -9
- package/dist/web/records/depth/index.d.ts +13 -9
- package/dist/web/records/index.cjs +7 -7
- package/dist/web/records/index.d.cts +21 -82
- package/dist/web/records/index.d.ts +21 -82
- package/dist/web/records/index.js +7 -7
- package/dist/web/records-sheet/index.cjs +181 -127
- package/dist/web/records-sheet/index.d.cts +18 -16
- package/dist/web/records-sheet/index.d.ts +18 -16
- package/dist/web/records-sheet/index.js +181 -127
- package/dist/web/shop/index.cjs +191 -76
- package/dist/web/shop/index.d.cts +21 -4
- package/dist/web/shop/index.d.ts +21 -4
- package/dist/web/shop/index.js +191 -76
- package/dist/web/televet/booking/index.d.cts +6 -6
- package/dist/web/televet/booking/index.d.ts +6 -6
- package/dist/web/texting/index.cjs +36 -5
- package/dist/web/texting/index.d.cts +40 -7
- package/dist/web/texting/index.d.ts +40 -7
- package/dist/web/texting/index.js +36 -5
- package/package.json +35 -4
- package/tabs/package.json +8 -0
- package/web/intro/native-blocked.cjs +12 -0
- package/web/intro/package.json +8 -0
- package/dist/threadOptions.d-B1pTMmDF.d.cts +0 -260
- package/dist/threadOptions.d-B1pTMmDF.d.ts +0 -260
- package/dist/usePresentation.d-D6qsFzBz.d.cts +0 -9
- package/dist/usePresentation.d-DuGQe_Do.d.ts +0 -9
package/dist/records/index.d.cts
CHANGED
|
@@ -1,32 +1,55 @@
|
|
|
1
|
-
import { R as RecordsController } from '../useRecords.d-
|
|
2
|
-
export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../useRecords.d-
|
|
1
|
+
import { R as RecordsController } from '../useRecords.d-BYNX01El.cjs';
|
|
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
3
|
import { ReactNode } from 'react';
|
|
4
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
import { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
|
|
5
5
|
import { P as PetRef, R as RecordsRequestId } from '../ids.d-B2GAAifq.cjs';
|
|
6
6
|
export { B as Brand, D as DocumentId, _ as __brand } from '../ids.d-B2GAAifq.cjs';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps } from '../clinicRequestProps.d-1dCtouGA.cjs';
|
|
8
|
+
export { b as CapturedRecordsSignature, c as RecordsSignatureContext } from '../clinicRequestProps.d-1dCtouGA.cjs';
|
|
9
9
|
import { U as UploadTransport } from '../ports.d-BX4f4UsB.cjs';
|
|
10
10
|
export { F as FileHandle, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.cjs';
|
|
11
|
+
import { c as RecordsScreenBaseProps, R as RecordsHostSeams, b as RecordsScreen, C as ClinicDraft, e as ClinicBatchBaseProps } from '../screenProps.d-CQ0qZJkr.cjs';
|
|
12
|
+
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-CQ0qZJkr.cjs';
|
|
11
13
|
import { R as RecordsDocumentPicker } from '../uploadTransport.d-CWL7CdWP.cjs';
|
|
12
|
-
import { i as EverfurPresentationInput } from '../presentation.d-
|
|
13
|
-
export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-
|
|
14
|
-
import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-
|
|
15
|
-
export {
|
|
14
|
+
import { i as EverfurPresentationInput } from '../presentation.d-vy8kTGfR.cjs';
|
|
15
|
+
export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-vy8kTGfR.cjs';
|
|
16
|
+
import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-BSqvbTE1.cjs';
|
|
17
|
+
export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, 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';
|
|
16
18
|
import { R as RecordsSheetPronoun } from '../sheetCopy.d-CAhLOxjc.cjs';
|
|
17
19
|
import { a as RecordsAskHandler } from '../recordsAsk.d-C5CGSi3j.cjs';
|
|
18
20
|
export { b as RecordsAsk, R as RecordsAskEntityRef } from '../recordsAsk.d-C5CGSi3j.cjs';
|
|
19
|
-
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-
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
21
|
+
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-0yBjLTV3.cjs';
|
|
22
|
+
export { R as RecordsDepthStatus } from '../useRecordsDepth.d--LLA_4ga.cjs';
|
|
23
|
+
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-D2e5WZuE.cjs';
|
|
24
|
+
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';
|
|
25
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews.d-BdvFZgPs.cjs';
|
|
26
|
+
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-Ccmrngcu.cjs';
|
|
27
|
+
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';
|
|
23
28
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
24
29
|
export { E as EverfurResult } from '../EverfurResult.d-BFH-3s6E.cjs';
|
|
25
30
|
import { m as EverfurTheme } from '../tokens.d-DarDaV39.cjs';
|
|
26
|
-
import '../requestFunnel.d-DWQQpjFR.cjs';
|
|
27
31
|
import '../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
28
|
-
import '../
|
|
29
|
-
import '../
|
|
32
|
+
import '../requestFunnel.d-RZex94XX.cjs';
|
|
33
|
+
import '../config.d-DJ4mvf_w.cjs';
|
|
34
|
+
import '../identity.d-CJfnWOdH.cjs';
|
|
35
|
+
|
|
36
|
+
/** Your art for the no-records scene: the grass the pet stands on and your drawing of this pet. */
|
|
37
|
+
interface RecordsSheetStage {
|
|
38
|
+
/** The grass band (his art is 1520 x 479), drawn across the card and cropped from its top, as his `.efh-none__grass`. */
|
|
39
|
+
readonly grassSource: ImageSourcePropType;
|
|
40
|
+
/** Your drawing of this pet, contained in his 307 x 420 pet box (`.efh-none__pet`). */
|
|
41
|
+
readonly petSource: ImageSourcePropType;
|
|
42
|
+
/**
|
|
43
|
+
* Where the pet's head is in the drawing, as fractions of the box across and down (his `--head-x` and `--head-top`,
|
|
44
|
+
* set per drawing): the line is centred over it. Default his 0.34 and 0.
|
|
45
|
+
*/
|
|
46
|
+
readonly head?: {
|
|
47
|
+
readonly x: number;
|
|
48
|
+
readonly top: number;
|
|
49
|
+
};
|
|
50
|
+
/** The font family your app registered for the handwritten line (his Caveat). */
|
|
51
|
+
readonly handFontFamily?: string;
|
|
52
|
+
}
|
|
30
53
|
|
|
31
54
|
/** The pet's sex as the plan page and the profile carry it. */
|
|
32
55
|
type RecordsSheetSex = 'female' | 'male' | 'unknown' | null | undefined;
|
|
@@ -49,6 +72,11 @@ interface RecordsSheetTopSlotContext {
|
|
|
49
72
|
/** The tenant's `recordsClearResultsFilter`: your own results card's "other results clear" link is on. */
|
|
50
73
|
readonly clearResultsFilter: boolean;
|
|
51
74
|
}
|
|
75
|
+
/** What `onRequestFromClinic` is told. */
|
|
76
|
+
interface RecordsSheetRequestContext {
|
|
77
|
+
/** The pet the request is for (its `PetRef`). */
|
|
78
|
+
readonly petRef: string;
|
|
79
|
+
}
|
|
52
80
|
/** Options for the React Native records sheet (`EverfurRecords`' `sheet`). */
|
|
53
81
|
interface EverfurRecordsSheetOptions {
|
|
54
82
|
/** How the sheet refers to the pet. Wins over `sex`. */
|
|
@@ -59,25 +87,53 @@ interface EverfurRecordsSheetOptions {
|
|
|
59
87
|
readonly species?: string | null;
|
|
60
88
|
/** The weight unit: lb by default. */
|
|
61
89
|
readonly weightUnit?: RecordsSheetWeightUnit;
|
|
62
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Your own node over the vitals, when you draw the pet yourself. `stage` wins over it. Without either the vitals are
|
|
92
|
+
* a plain row.
|
|
93
|
+
*/
|
|
63
94
|
readonly renderStage?: () => ReactNode;
|
|
64
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Your part above the sheet, on its paper, in every state (Raph's place for a partner's own results card, or a DNA
|
|
97
|
+
* kit still at the lab): ours starts below it.
|
|
98
|
+
*/
|
|
65
99
|
readonly renderTopSlot?: (context: RecordsSheetTopSlotContext) => ReactNode;
|
|
100
|
+
/**
|
|
101
|
+
* Your art for the pet on grass, as our app's Health tab draws it: the grass and your drawing of this pet, under the
|
|
102
|
+
* name, with the vitals over it (a record) or the line it says over its head (no record yet, in `handFontFamily`).
|
|
103
|
+
* The SDK ships no pet art: without it the vitals are a plain list under the name.
|
|
104
|
+
*/
|
|
105
|
+
readonly stage?: RecordsSheetStage;
|
|
106
|
+
/** The pet has no vet yet (your data; the records wire does not say): the no-records title reads "When {name} has a vet, start here." */
|
|
107
|
+
readonly noVet?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* "Request from a clinic" (and "Another clinic") was tapped: start your own request flow. A promise it returns is
|
|
110
|
+
* yours (a rejection is not reported by the sheet). Without it the sheet opens the records flow's clinic picker
|
|
111
|
+
* (`onNavigate({ name: 'clinicPicker' })`).
|
|
112
|
+
*/
|
|
113
|
+
readonly onRequestFromClinic?: (context: RecordsSheetRequestContext) => void | Promise<unknown>;
|
|
66
114
|
/** A lab value was opened. Route it to your own screen (render `EverfurRecordsLabDetail`); without it the sheet opens it in place. */
|
|
67
115
|
readonly onOpenMarker?: (markerId: string) => void;
|
|
68
116
|
/** Opens your Health Plan. Without it the top risk line draws no "See her Health Plan" button. */
|
|
69
117
|
readonly onOpenPlan?: () => void;
|
|
70
|
-
/** Opens your screenings screen. Without it
|
|
118
|
+
/** Opens your screenings screen. Without it the Screenings tile does not open. */
|
|
71
119
|
readonly onOpenScreenings?: () => void;
|
|
72
120
|
/** Your control on an overdue care row (book, remind). */
|
|
73
121
|
readonly renderUpcomingCareAction?: (item: RecordForwardItem) => ReactNode;
|
|
74
122
|
/** The presentation fields over the console's. */
|
|
75
123
|
readonly presentation?: RecordsSheetPresentation;
|
|
76
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated The sheet now draws our app's own words for every element (owner 2026-10-22); kept so existing calls
|
|
126
|
+
* still type-check, and ignored.
|
|
127
|
+
*/
|
|
77
128
|
readonly copy?: Partial<RecordsSheetRnCopy>;
|
|
78
129
|
readonly style?: StyleProp<ViewStyle>;
|
|
79
|
-
/** The sheet's clock (tests). */
|
|
130
|
+
/** The sheet's clock (tests). Absent: now, caught up when the sheet is shown again and hourly. */
|
|
80
131
|
readonly nowMs?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the sheet is on screen, for a host that keeps it mounted while hidden (a tab of its own). While false it
|
|
134
|
+
* takes no Android back, and its clock catches up when it turns true. Default true.
|
|
135
|
+
*/
|
|
136
|
+
readonly active?: boolean;
|
|
81
137
|
}
|
|
82
138
|
interface EverfurRecordsSheetProps extends RecordsScreenBaseProps {
|
|
83
139
|
readonly controller?: RecordsController;
|
|
@@ -87,7 +143,7 @@ interface EverfurRecordsSheetProps extends RecordsScreenBaseProps {
|
|
|
87
143
|
readonly style?: StyleProp<ViewStyle>;
|
|
88
144
|
readonly renderPending?: () => ReactNode;
|
|
89
145
|
}
|
|
90
|
-
/**
|
|
146
|
+
/** The records sheet (our app's Health tab) as a screen of the records flow. */
|
|
91
147
|
declare function EverfurRecordsSheet(props: EverfurRecordsSheetProps): ReactNode;
|
|
92
148
|
|
|
93
149
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
@@ -277,6 +333,11 @@ declare function EverfurRecordsLabDetail({ petRef, petName, markerId, renderExtr
|
|
|
277
333
|
/** The sheet's resolved colours for one theme. */
|
|
278
334
|
interface RecordsSheetLook {
|
|
279
335
|
readonly dark: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* The ground behind the sheet, where the host's own part sits above it (his `--emb-paper` around `.efh-sheet`):
|
|
338
|
+
* Raph's paper neutral in light (the v3 palette's), the theme's background in dark.
|
|
339
|
+
*/
|
|
340
|
+
readonly paper: string;
|
|
280
341
|
/** The sheet's ground (`.efh-sheet` background). */
|
|
281
342
|
readonly ground: string;
|
|
282
343
|
/** A card (`.efh-card`). */
|
|
@@ -303,6 +364,8 @@ interface RecordsSheetLook {
|
|
|
303
364
|
readonly alertTint: string;
|
|
304
365
|
/** The watch pill. */
|
|
305
366
|
readonly watch: string;
|
|
367
|
+
/** The breathing vital's icon (`.efh-ico--wind`, his sky blue). */
|
|
368
|
+
readonly wind: string;
|
|
306
369
|
readonly tintSage: string;
|
|
307
370
|
readonly tintBlue: string;
|
|
308
371
|
readonly tintYellow: string;
|
|
@@ -311,6 +374,8 @@ interface RecordsSheetLook {
|
|
|
311
374
|
readonly chevron: string;
|
|
312
375
|
readonly rowGround: string;
|
|
313
376
|
readonly barTrack: string;
|
|
377
|
+
/** `.efh-pill--plain` edge: his ink at 20%, so the partner's ink at 20% (Q4). */
|
|
378
|
+
readonly plainEdge: string;
|
|
314
379
|
/**
|
|
315
380
|
* The top risk card (V3 `.rec-top`, filled with his brand accent): the partner's accent when it set one, else his
|
|
316
381
|
* sage tile in the partner's primary; the kicker and the sentence on it always read at 4.5:1 or better.
|
|
@@ -322,4 +387,4 @@ interface RecordsSheetLook {
|
|
|
322
387
|
/** Raph's palette under Q4 for the resolved theme. */
|
|
323
388
|
declare function recordsSheetLook(theme: EverfurTheme): RecordsSheetLook;
|
|
324
389
|
|
|
325
|
-
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };
|
|
390
|
+
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRequestContext, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetStage, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };
|
package/dist/records/index.d.ts
CHANGED
|
@@ -1,32 +1,55 @@
|
|
|
1
|
-
import { R as RecordsController } from '../useRecords.d-
|
|
2
|
-
export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../useRecords.d-
|
|
1
|
+
import { R as RecordsController } from '../useRecords.d-DWk61a4c.js';
|
|
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
3
|
import { ReactNode } from 'react';
|
|
4
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
+
import { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
|
|
5
5
|
import { P as PetRef, R as RecordsRequestId } from '../ids.d-B2GAAifq.js';
|
|
6
6
|
export { B as Brand, D as DocumentId, _ as __brand } from '../ids.d-B2GAAifq.js';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps } from '../clinicRequestProps.d-CjsMg_OD.js';
|
|
8
|
+
export { b as CapturedRecordsSignature, c as RecordsSignatureContext } from '../clinicRequestProps.d-CjsMg_OD.js';
|
|
9
9
|
import { U as UploadTransport } from '../ports.d-BX4f4UsB.js';
|
|
10
10
|
export { F as FileHandle, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.js';
|
|
11
|
+
import { c as RecordsScreenBaseProps, R as RecordsHostSeams, b as RecordsScreen, C as ClinicDraft, e as ClinicBatchBaseProps } from '../screenProps.d-BVzRzowC.js';
|
|
12
|
+
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-BVzRzowC.js';
|
|
11
13
|
import { R as RecordsDocumentPicker } from '../uploadTransport.d-EGoUl7gX.js';
|
|
12
|
-
import { i as EverfurPresentationInput } from '../presentation.d-
|
|
13
|
-
export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-
|
|
14
|
-
import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-
|
|
15
|
-
export {
|
|
14
|
+
import { i as EverfurPresentationInput } from '../presentation.d-vy8kTGfR.js';
|
|
15
|
+
export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-vy8kTGfR.js';
|
|
16
|
+
import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-DOwnr8fi.js';
|
|
17
|
+
export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, 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';
|
|
16
18
|
import { R as RecordsSheetPronoun } from '../sheetCopy.d-CAhLOxjc.js';
|
|
17
19
|
import { a as RecordsAskHandler } from '../recordsAsk.d-C5CGSi3j.js';
|
|
18
20
|
export { b as RecordsAsk, R as RecordsAskEntityRef } from '../recordsAsk.d-C5CGSi3j.js';
|
|
19
|
-
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-
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
21
|
+
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-DqbCADFa.js';
|
|
22
|
+
export { R as RecordsDepthStatus } from '../useRecordsDepth.d-BQRL0Hez.js';
|
|
23
|
+
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-COFxYWLU.js';
|
|
24
|
+
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';
|
|
25
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews.d-Dy0Zl-s-.js';
|
|
26
|
+
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-D9Ci7IpP.js';
|
|
27
|
+
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';
|
|
23
28
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.js';
|
|
24
29
|
export { E as EverfurResult } from '../EverfurResult.d-D_-254ZY.js';
|
|
25
30
|
import { m as EverfurTheme } from '../tokens.d-DarDaV39.js';
|
|
26
|
-
import '../requestFunnel.d-CXUMPw1K.js';
|
|
27
31
|
import '../ErrorPolicyPort.d-68yrE3BE.js';
|
|
28
|
-
import '../
|
|
29
|
-
import '../
|
|
32
|
+
import '../requestFunnel.d-D9edIEjZ.js';
|
|
33
|
+
import '../config.d-MX7IKP2f.js';
|
|
34
|
+
import '../identity.d-BePPZ7Uv.js';
|
|
35
|
+
|
|
36
|
+
/** Your art for the no-records scene: the grass the pet stands on and your drawing of this pet. */
|
|
37
|
+
interface RecordsSheetStage {
|
|
38
|
+
/** The grass band (his art is 1520 x 479), drawn across the card and cropped from its top, as his `.efh-none__grass`. */
|
|
39
|
+
readonly grassSource: ImageSourcePropType;
|
|
40
|
+
/** Your drawing of this pet, contained in his 307 x 420 pet box (`.efh-none__pet`). */
|
|
41
|
+
readonly petSource: ImageSourcePropType;
|
|
42
|
+
/**
|
|
43
|
+
* Where the pet's head is in the drawing, as fractions of the box across and down (his `--head-x` and `--head-top`,
|
|
44
|
+
* set per drawing): the line is centred over it. Default his 0.34 and 0.
|
|
45
|
+
*/
|
|
46
|
+
readonly head?: {
|
|
47
|
+
readonly x: number;
|
|
48
|
+
readonly top: number;
|
|
49
|
+
};
|
|
50
|
+
/** The font family your app registered for the handwritten line (his Caveat). */
|
|
51
|
+
readonly handFontFamily?: string;
|
|
52
|
+
}
|
|
30
53
|
|
|
31
54
|
/** The pet's sex as the plan page and the profile carry it. */
|
|
32
55
|
type RecordsSheetSex = 'female' | 'male' | 'unknown' | null | undefined;
|
|
@@ -49,6 +72,11 @@ interface RecordsSheetTopSlotContext {
|
|
|
49
72
|
/** The tenant's `recordsClearResultsFilter`: your own results card's "other results clear" link is on. */
|
|
50
73
|
readonly clearResultsFilter: boolean;
|
|
51
74
|
}
|
|
75
|
+
/** What `onRequestFromClinic` is told. */
|
|
76
|
+
interface RecordsSheetRequestContext {
|
|
77
|
+
/** The pet the request is for (its `PetRef`). */
|
|
78
|
+
readonly petRef: string;
|
|
79
|
+
}
|
|
52
80
|
/** Options for the React Native records sheet (`EverfurRecords`' `sheet`). */
|
|
53
81
|
interface EverfurRecordsSheetOptions {
|
|
54
82
|
/** How the sheet refers to the pet. Wins over `sex`. */
|
|
@@ -59,25 +87,53 @@ interface EverfurRecordsSheetOptions {
|
|
|
59
87
|
readonly species?: string | null;
|
|
60
88
|
/** The weight unit: lb by default. */
|
|
61
89
|
readonly weightUnit?: RecordsSheetWeightUnit;
|
|
62
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Your own node over the vitals, when you draw the pet yourself. `stage` wins over it. Without either the vitals are
|
|
92
|
+
* a plain row.
|
|
93
|
+
*/
|
|
63
94
|
readonly renderStage?: () => ReactNode;
|
|
64
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Your part above the sheet, on its paper, in every state (Raph's place for a partner's own results card, or a DNA
|
|
97
|
+
* kit still at the lab): ours starts below it.
|
|
98
|
+
*/
|
|
65
99
|
readonly renderTopSlot?: (context: RecordsSheetTopSlotContext) => ReactNode;
|
|
100
|
+
/**
|
|
101
|
+
* Your art for the pet on grass, as our app's Health tab draws it: the grass and your drawing of this pet, under the
|
|
102
|
+
* name, with the vitals over it (a record) or the line it says over its head (no record yet, in `handFontFamily`).
|
|
103
|
+
* The SDK ships no pet art: without it the vitals are a plain list under the name.
|
|
104
|
+
*/
|
|
105
|
+
readonly stage?: RecordsSheetStage;
|
|
106
|
+
/** The pet has no vet yet (your data; the records wire does not say): the no-records title reads "When {name} has a vet, start here." */
|
|
107
|
+
readonly noVet?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* "Request from a clinic" (and "Another clinic") was tapped: start your own request flow. A promise it returns is
|
|
110
|
+
* yours (a rejection is not reported by the sheet). Without it the sheet opens the records flow's clinic picker
|
|
111
|
+
* (`onNavigate({ name: 'clinicPicker' })`).
|
|
112
|
+
*/
|
|
113
|
+
readonly onRequestFromClinic?: (context: RecordsSheetRequestContext) => void | Promise<unknown>;
|
|
66
114
|
/** A lab value was opened. Route it to your own screen (render `EverfurRecordsLabDetail`); without it the sheet opens it in place. */
|
|
67
115
|
readonly onOpenMarker?: (markerId: string) => void;
|
|
68
116
|
/** Opens your Health Plan. Without it the top risk line draws no "See her Health Plan" button. */
|
|
69
117
|
readonly onOpenPlan?: () => void;
|
|
70
|
-
/** Opens your screenings screen. Without it
|
|
118
|
+
/** Opens your screenings screen. Without it the Screenings tile does not open. */
|
|
71
119
|
readonly onOpenScreenings?: () => void;
|
|
72
120
|
/** Your control on an overdue care row (book, remind). */
|
|
73
121
|
readonly renderUpcomingCareAction?: (item: RecordForwardItem) => ReactNode;
|
|
74
122
|
/** The presentation fields over the console's. */
|
|
75
123
|
readonly presentation?: RecordsSheetPresentation;
|
|
76
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated The sheet now draws our app's own words for every element (owner 2026-10-22); kept so existing calls
|
|
126
|
+
* still type-check, and ignored.
|
|
127
|
+
*/
|
|
77
128
|
readonly copy?: Partial<RecordsSheetRnCopy>;
|
|
78
129
|
readonly style?: StyleProp<ViewStyle>;
|
|
79
|
-
/** The sheet's clock (tests). */
|
|
130
|
+
/** The sheet's clock (tests). Absent: now, caught up when the sheet is shown again and hourly. */
|
|
80
131
|
readonly nowMs?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the sheet is on screen, for a host that keeps it mounted while hidden (a tab of its own). While false it
|
|
134
|
+
* takes no Android back, and its clock catches up when it turns true. Default true.
|
|
135
|
+
*/
|
|
136
|
+
readonly active?: boolean;
|
|
81
137
|
}
|
|
82
138
|
interface EverfurRecordsSheetProps extends RecordsScreenBaseProps {
|
|
83
139
|
readonly controller?: RecordsController;
|
|
@@ -87,7 +143,7 @@ interface EverfurRecordsSheetProps extends RecordsScreenBaseProps {
|
|
|
87
143
|
readonly style?: StyleProp<ViewStyle>;
|
|
88
144
|
readonly renderPending?: () => ReactNode;
|
|
89
145
|
}
|
|
90
|
-
/**
|
|
146
|
+
/** The records sheet (our app's Health tab) as a screen of the records flow. */
|
|
91
147
|
declare function EverfurRecordsSheet(props: EverfurRecordsSheetProps): ReactNode;
|
|
92
148
|
|
|
93
149
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
@@ -277,6 +333,11 @@ declare function EverfurRecordsLabDetail({ petRef, petName, markerId, renderExtr
|
|
|
277
333
|
/** The sheet's resolved colours for one theme. */
|
|
278
334
|
interface RecordsSheetLook {
|
|
279
335
|
readonly dark: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* The ground behind the sheet, where the host's own part sits above it (his `--emb-paper` around `.efh-sheet`):
|
|
338
|
+
* Raph's paper neutral in light (the v3 palette's), the theme's background in dark.
|
|
339
|
+
*/
|
|
340
|
+
readonly paper: string;
|
|
280
341
|
/** The sheet's ground (`.efh-sheet` background). */
|
|
281
342
|
readonly ground: string;
|
|
282
343
|
/** A card (`.efh-card`). */
|
|
@@ -303,6 +364,8 @@ interface RecordsSheetLook {
|
|
|
303
364
|
readonly alertTint: string;
|
|
304
365
|
/** The watch pill. */
|
|
305
366
|
readonly watch: string;
|
|
367
|
+
/** The breathing vital's icon (`.efh-ico--wind`, his sky blue). */
|
|
368
|
+
readonly wind: string;
|
|
306
369
|
readonly tintSage: string;
|
|
307
370
|
readonly tintBlue: string;
|
|
308
371
|
readonly tintYellow: string;
|
|
@@ -311,6 +374,8 @@ interface RecordsSheetLook {
|
|
|
311
374
|
readonly chevron: string;
|
|
312
375
|
readonly rowGround: string;
|
|
313
376
|
readonly barTrack: string;
|
|
377
|
+
/** `.efh-pill--plain` edge: his ink at 20%, so the partner's ink at 20% (Q4). */
|
|
378
|
+
readonly plainEdge: string;
|
|
314
379
|
/**
|
|
315
380
|
* The top risk card (V3 `.rec-top`, filled with his brand accent): the partner's accent when it set one, else his
|
|
316
381
|
* sage tile in the partner's primary; the kicker and the sentence on it always read at 4.5:1 or better.
|
|
@@ -322,4 +387,4 @@ interface RecordsSheetLook {
|
|
|
322
387
|
/** Raph's palette under Q4 for the resolved theme. */
|
|
323
388
|
declare function recordsSheetLook(theme: EverfurTheme): RecordsSheetLook;
|
|
324
389
|
|
|
325
|
-
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };
|
|
390
|
+
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRequestContext, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetStage, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };
|