@everfur/sdk 0.5.9 → 0.7.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 +279 -0
- package/dist/{BookedScreen-BJPbXLCG.d.ts → BookedScreen-DFJcgf1e.d.ts} +12 -2
- package/dist/{BookedScreen-Cnld-jB_.d.cts → BookedScreen-R5X_Zrlh.d.cts} +12 -2
- package/dist/{Chat-C9dVhnyt.d.ts → Chat-DZpYH8Uh.d.ts} +4 -4
- package/dist/{Chat-WmdRwC3b.d.cts → Chat-bATY4atj.d.cts} +4 -4
- package/dist/{DepthViews-CBoI9EYy.d.ts → DepthViews-BpHUbjSY.d.cts} +1 -1
- package/dist/{DepthViews-CmxhM8iP.d.ts → DepthViews-C4DC4Kom.d.cts} +1 -1
- package/dist/{DepthViews-NPFtO5Kz.d.cts → DepthViews-dLTizxjr.d.ts} +1 -1
- package/dist/{DepthViews-DoODlUnQ.d.cts → DepthViews-qBIoA48w.d.ts} +1 -1
- package/dist/animations/index.cjs +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/animations/index.js +1 -1
- package/dist/{attachments-R2oajKPT.d.ts → attachments-CPRFfoHT.d.ts} +2 -2
- package/dist/{attachments-c4mJcIWU.d.cts → attachments-CUOGILir.d.cts} +5 -5
- package/dist/{attachments-CuFT1o5q.d.ts → attachments-CXAnZcEg.d.ts} +5 -5
- package/dist/{attachments-OaW36D0H.d.cts → attachments-Ce06TWqe.d.cts} +2 -2
- package/dist/{bookingCopy-DGQPrisa.d.cts → bookingCopy-BwVopcoV.d.cts} +451 -50
- package/dist/{bookingCopy-EtPJ4nME.d.ts → bookingCopy-DFTv9w6J.d.ts} +451 -50
- package/dist/{bookingTypes-DCs8mmBb.d.cts → bookingTypes-D4pD3tHs.d.cts} +13 -1
- package/dist/{bookingTypes-DCs8mmBb.d.ts → bookingTypes-D4pD3tHs.d.ts} +13 -1
- package/dist/{branding-Ry0em51L.d.ts → branding-Bio5MM6g.d.cts} +135 -3
- package/dist/{branding-DiaCIJZL.d.cts → branding-ytH4jJq1.d.ts} +135 -3
- package/dist/{callCopy-CPe9mbwG.d.cts → callCopy-DHjem0R-.d.cts} +12 -1
- package/dist/{callCopy-CPe9mbwG.d.ts → callCopy-DHjem0R-.d.ts} +12 -1
- package/dist/{casesRepository-DB5c8AAo.d.cts → casesRepository-CJchNp3x.d.cts} +1 -1
- package/dist/{casesRepository-Cu8h8gQK.d.ts → casesRepository-DAVcY3jC.d.ts} +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +9 -9
- package/dist/chat/index.d.ts +9 -9
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +6 -6
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +6 -6
- package/dist/{config-DlR_I-0S.d.ts → config-ZxwCylac.d.ts} +1 -1
- package/dist/{config-DQFMkaTU.d.cts → config-h5h6TsHL.d.cts} +1 -1
- package/dist/consent/index.cjs +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +1 -1
- package/dist/{context-DZEieVJ5.d.cts → context-CtsAgJnc.d.cts} +7 -7
- package/dist/{context-CLuquPRB.d.ts → context-DtPIshVA.d.ts} +7 -7
- package/dist/{copy-B2DOzSSy.d.cts → copy-CaWaplQc.d.cts} +2 -2
- package/dist/{copy-ptTCT5-J.d.ts → copy-Cg89Qoal.d.ts} +2 -2
- package/dist/core/index.cjs +9 -9
- package/dist/core/index.d.cts +21 -21
- package/dist/core/index.d.ts +21 -21
- package/dist/core/index.js +9 -9
- package/dist/{depth-CtyC7HOF.d.ts → depth-Bo4bAwcn.d.ts} +132 -38
- package/dist/{depth-DuOyvthD.d.cts → depth-EXZYEO70.d.cts} +132 -38
- package/dist/{entitlementRepository-DlGwxZ1k.d.cts → entitlementRepository-BYtVb1oU.d.cts} +3 -3
- package/dist/{entitlementRepository-CAtyh8Xt.d.ts → entitlementRepository-DcbIx8yV.d.ts} +3 -3
- package/dist/{identity-D_NR9ucT.d.ts → identity-EC5-apbY.d.ts} +1 -1
- package/dist/{identity-BC9AF3y4.d.cts → identity-b5Vp32Vp.d.cts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +6 -6
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/{pets-DuuNvKTK.d.ts → pets-B_27_agU.d.ts} +1 -1
- package/dist/{pets-D7UjvR1A.d.cts → pets-DM8QvKLo.d.cts} +1 -1
- package/dist/{petsRepository-llMvpMkp.d.cts → petsRepository-BJsJ4cju.d.cts} +1 -1
- package/dist/{petsRepository-C28NKFwy.d.ts → petsRepository-CuYZZaI5.d.ts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +1 -1
- package/dist/{ports-Dbw2h_M1.d.cts → ports-ZmJYgd5I.d.cts} +10 -9
- package/dist/{ports-s45HNNyc.d.ts → ports-nXHf50_X.d.ts} +10 -9
- package/dist/records/depth/index.cjs +2 -2
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/depth/index.js +2 -2
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +19 -10
- package/dist/records/index.d.ts +19 -10
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-D_o7se38.d.cts → requestFunnel-C_cZXhIA.d.cts} +2 -2
- package/dist/{requestFunnel-CqwOiZNJ.d.ts → requestFunnel-Ve9BshTB.d.ts} +2 -2
- package/dist/{runtimeTypes-DS0RLoKN.d.ts → runtimeTypes-ByKsp8hm.d.ts} +5 -5
- package/dist/{runtimeTypes-BNBENMkz.d.cts → runtimeTypes-D155OlBW.d.cts} +5 -5
- 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/televet/booking/index.cjs +4 -1
- package/dist/televet/booking/index.d.cts +116 -29
- package/dist/televet/booking/index.d.ts +116 -29
- package/dist/televet/booking/index.js +4 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +1 -1
- package/dist/televet/call/index.d.ts +1 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.cjs +3 -3
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -3
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +14 -12
- package/dist/testing/rn/index.d.ts +14 -12
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +9 -9
- package/dist/testing/web/index.d.ts +9 -9
- package/dist/{timelineRows-B6nCq30k.d.cts → timelineRows-BNF43SXK.d.cts} +1 -1
- package/dist/{timelineRows-DacfDpDU.d.ts → timelineRows-DXpjECfA.d.ts} +1 -1
- package/dist/{tokens-DOTIxrws.d.cts → tokens-BYtbKwFh.d.cts} +12 -4
- package/dist/{tokens-DOTIxrws.d.ts → tokens-BYtbKwFh.d.ts} +12 -4
- package/dist/{typeStyle-achxqQ-h.d.cts → typeStyle-BqfwxZH4.d.cts} +2 -2
- package/dist/{typeStyle-DROhJNkh.d.ts → typeStyle-DKz02DGU.d.ts} +2 -2
- package/dist/{uploadTransport-C1p8FuG8.d.cts → uploadTransport-BM_pnEWj.d.cts} +5 -0
- package/dist/{uploadTransport-bZIKBTyK.d.ts → uploadTransport-C6kGP1Kd.d.ts} +5 -0
- package/dist/{useRecordsDepth-BLK8W646.d.cts → useRecordsDepth-CARTuHKh.d.cts} +1 -1
- package/dist/{useRecordsDepth-C7guUoLc.d.ts → useRecordsDepth-fPSv-GXU.d.ts} +1 -1
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view-BF9oW2GJ.d.cts → view-DGPaVno8.d.cts} +47 -5
- package/dist/{view-B6JsD22K.d.ts → view-Dc-JlFkf.d.ts} +47 -5
- package/dist/web/consent/index.cjs +1 -1
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/consent/index.js +1 -1
- package/dist/web/index.cjs +7 -7
- package/dist/web/index.d.cts +23 -22
- package/dist/web/index.d.ts +23 -22
- package/dist/web/index.js +7 -7
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +28 -17
- package/dist/web/records/index.d.ts +28 -17
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +4 -2
- package/dist/web/televet/booking/index.d.cts +228 -90
- package/dist/web/televet/booking/index.d.ts +228 -90
- package/dist/web/televet/booking/index.js +4 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +1 -1
- package/dist/web/televet/call/index.d.ts +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +2 -2
- package/dist/web/televet/index.d.cts +2 -2
- package/dist/web/televet/index.d.ts +2 -2
- package/dist/web/televet/index.js +2 -2
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { R as RecordsController } from '../../view-
|
|
2
|
-
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-
|
|
1
|
+
import { R as RecordsController } from '../../view-DGPaVno8.cjs';
|
|
2
|
+
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-DGPaVno8.cjs';
|
|
3
3
|
import { CSSProperties, ReactNode, PointerEvent } from 'react';
|
|
4
|
-
import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../../useRecordsDepth-
|
|
5
|
-
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-
|
|
4
|
+
import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../../useRecordsDepth-CARTuHKh.cjs';
|
|
5
|
+
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-CARTuHKh.cjs';
|
|
6
6
|
import { P as PetRef, R as RecordsRequestId } from '../../ids-B2GAAifq.cjs';
|
|
7
7
|
export { B as Brand, D as DocumentId, _ as __brand } from '../../ids-B2GAAifq.cjs';
|
|
8
8
|
import { d as RecordsRequestView } from '../../models-Bn2z0NNo.cjs';
|
|
9
9
|
export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models-Bn2z0NNo.cjs';
|
|
10
10
|
import { E as EverfurError } from '../../EverfurError-DmELDpXp.cjs';
|
|
11
11
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.cjs';
|
|
12
|
-
export { C as CreateClinicRequestBatchInput,
|
|
13
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-
|
|
12
|
+
export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, x as FactFieldValue, A as RECORDS_CLINIC_BATCH_MAX, 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, D as RecordFactEditInput, E as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, G as RecordMarker, I as RecordMarkerLatest, J as RecordMarkerPoint, K as RecordMarkerSummary, L as RecordMarkersView, M as RecordPdfLink, k as RecordPhysicalExam, N as RecordShare, O as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, l as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, m as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, n as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../../depth-EXZYEO70.cjs';
|
|
13
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-BpHUbjSY.cjs';
|
|
14
14
|
import { U as UploadTransport, F as FileHandle } from '../../ports-BN6RHF9W.cjs';
|
|
15
15
|
export { a as UploadPolicyWire } from '../../ports-BN6RHF9W.cjs';
|
|
16
16
|
export { E as EverfurResult } from '../../EverfurResult-ZtH-YV1h.cjs';
|
|
17
|
-
import '../../requestFunnel-
|
|
17
|
+
import '../../requestFunnel-C_cZXhIA.cjs';
|
|
18
18
|
import '../../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
19
|
-
import '../../config-
|
|
20
|
-
import '../../identity-
|
|
19
|
+
import '../../config-h5h6TsHL.cjs';
|
|
20
|
+
import '../../identity-b5Vp32Vp.cjs';
|
|
21
21
|
|
|
22
22
|
interface EverfurRecordsPageProps extends RecordsScreenBaseProps {
|
|
23
23
|
readonly controller?: RecordsController;
|
|
@@ -237,19 +237,27 @@ declare function createWebRecordsUploadTransport(options?: WebRecordsUploadTrans
|
|
|
237
237
|
|
|
238
238
|
/** The `accept` hint for the picker. A hint only: the signature check above is what decides. */
|
|
239
239
|
declare const RECORDS_DOCUMENT_ACCEPT = "application/pdf,.pdf";
|
|
240
|
+
/**
|
|
241
|
+
* The picker's `accept` hint for the upload types the features read allows: `RECORDS_DOCUMENT_ACCEPT` exactly
|
|
242
|
+
* when photo upload is dark (or `types` is absent), plus each armed photo type and its extensions otherwise.
|
|
243
|
+
*/
|
|
244
|
+
declare function recordsDocumentAccept(types?: readonly string[]): string;
|
|
240
245
|
/** True when the blob starts with the PDF signature. An unreadable blob is not a PDF. */
|
|
241
246
|
declare function isPdfBlob(blob: Blob): Promise<boolean>;
|
|
242
247
|
/**
|
|
243
248
|
* Build the records `FileHandle` for a browser `File` (or any Blob). `mimeType` is `application/pdf` only when
|
|
244
|
-
* the bytes carry the PDF signature
|
|
245
|
-
*
|
|
249
|
+
* the bytes carry the PDF signature, or one of the photo types in `types` (the features read's
|
|
250
|
+
* `uploadContentTypes`) only when the bytes carry that format's signature; anything else is
|
|
251
|
+
* `application/octet-stream`. `sizeBytes` is the real size, so an oversize file is refused by the controller
|
|
252
|
+
* before initiate as well.
|
|
246
253
|
*/
|
|
247
|
-
declare function fileToHandle(file: Blob): Promise<FileHandle>;
|
|
254
|
+
declare function fileToHandle(file: Blob, types?: readonly string[]): Promise<FileHandle>;
|
|
248
255
|
/**
|
|
249
|
-
* The same gate the controller applies before initiate (PDF
|
|
250
|
-
* decide BEFORE it creates a request: a refused file should not
|
|
256
|
+
* The same gate the controller applies before initiate (PDF or an armed photo type in `types`,
|
|
257
|
+
* 0 < size <= 25 MiB), for a surface that must decide BEFORE it creates a request: a refused file should not
|
|
258
|
+
* leave an empty request behind.
|
|
251
259
|
*/
|
|
252
|
-
declare function isUploadableHandle(handle: FileHandle): boolean;
|
|
260
|
+
declare function isUploadableHandle(handle: FileHandle, types?: readonly string[]): boolean;
|
|
253
261
|
/**
|
|
254
262
|
* Open the browser's file chooser for one document and resolve its handle, or null when the user picks
|
|
255
263
|
* nothing. For a host that builds its own records UI on `useEverfurRecords`; the prebuilt surface renders its
|
|
@@ -258,8 +266,11 @@ declare function isUploadableHandle(handle: FileHandle): boolean;
|
|
|
258
266
|
* The input is attached to the document while the chooser is open (Safari does not open a detached input)
|
|
259
267
|
* and removed once it settles. A browser that never fires `cancel` leaves the promise pending when the user
|
|
260
268
|
* dismisses the chooser; nothing is held but the closure.
|
|
269
|
+
*
|
|
270
|
+
* `types` is the features read's `uploadContentTypes` (`controller.readFeatures()`); pass it to let the chooser
|
|
271
|
+
* offer, and the handle name, a photo of a paper record while the server accepts one. Absent, PDF only.
|
|
261
272
|
*/
|
|
262
|
-
declare function pickDocument(doc?: Document): Promise<FileHandle | null>;
|
|
273
|
+
declare function pickDocument(doc?: Document, types?: readonly string[]): Promise<FileHandle | null>;
|
|
263
274
|
|
|
264
275
|
interface SignatureCanvasState {
|
|
265
276
|
readonly canvas: React.RefObject<HTMLCanvasElement>;
|
|
@@ -300,4 +311,4 @@ declare function SignatureCanvas({ pad, disabled }: {
|
|
|
300
311
|
readonly disabled: boolean;
|
|
301
312
|
}): ReactNode;
|
|
302
313
|
|
|
303
|
-
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, UploadTransport, type UseRequestDocumentsState, type WebRecordsUploadTransportOptions, createWebRecordsUploadTransport, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
|
|
314
|
+
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, UploadTransport, type UseRequestDocumentsState, type WebRecordsUploadTransportOptions, createWebRecordsUploadTransport, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, recordsDocumentAccept, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { R as RecordsController } from '../../view-
|
|
2
|
-
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-
|
|
1
|
+
import { R as RecordsController } from '../../view-Dc-JlFkf.js';
|
|
2
|
+
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-Dc-JlFkf.js';
|
|
3
3
|
import { CSSProperties, ReactNode, PointerEvent } from 'react';
|
|
4
|
-
import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../../useRecordsDepth-
|
|
5
|
-
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-
|
|
4
|
+
import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../../useRecordsDepth-fPSv-GXU.js';
|
|
5
|
+
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-fPSv-GXU.js';
|
|
6
6
|
import { P as PetRef, R as RecordsRequestId } from '../../ids-B2GAAifq.js';
|
|
7
7
|
export { B as Brand, D as DocumentId, _ as __brand } from '../../ids-B2GAAifq.js';
|
|
8
8
|
import { d as RecordsRequestView } from '../../models-DSqA5Ahs.js';
|
|
9
9
|
export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models-DSqA5Ahs.js';
|
|
10
10
|
import { E as EverfurError } from '../../EverfurError-DmELDpXp.js';
|
|
11
11
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.js';
|
|
12
|
-
export { C as CreateClinicRequestBatchInput,
|
|
13
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-
|
|
12
|
+
export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, x as FactFieldValue, A as RECORDS_CLINIC_BATCH_MAX, 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, D as RecordFactEditInput, E as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, G as RecordMarker, I as RecordMarkerLatest, J as RecordMarkerPoint, K as RecordMarkerSummary, L as RecordMarkersView, M as RecordPdfLink, k as RecordPhysicalExam, N as RecordShare, O as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, l as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, m as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, n as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../../depth-Bo4bAwcn.js';
|
|
13
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-qBIoA48w.js';
|
|
14
14
|
import { U as UploadTransport, F as FileHandle } from '../../ports-BN6RHF9W.js';
|
|
15
15
|
export { a as UploadPolicyWire } from '../../ports-BN6RHF9W.js';
|
|
16
16
|
export { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
|
|
17
|
-
import '../../requestFunnel-
|
|
17
|
+
import '../../requestFunnel-Ve9BshTB.js';
|
|
18
18
|
import '../../ErrorPolicyPort-D22LUVrK.js';
|
|
19
|
-
import '../../config-
|
|
20
|
-
import '../../identity-
|
|
19
|
+
import '../../config-ZxwCylac.js';
|
|
20
|
+
import '../../identity-EC5-apbY.js';
|
|
21
21
|
|
|
22
22
|
interface EverfurRecordsPageProps extends RecordsScreenBaseProps {
|
|
23
23
|
readonly controller?: RecordsController;
|
|
@@ -237,19 +237,27 @@ declare function createWebRecordsUploadTransport(options?: WebRecordsUploadTrans
|
|
|
237
237
|
|
|
238
238
|
/** The `accept` hint for the picker. A hint only: the signature check above is what decides. */
|
|
239
239
|
declare const RECORDS_DOCUMENT_ACCEPT = "application/pdf,.pdf";
|
|
240
|
+
/**
|
|
241
|
+
* The picker's `accept` hint for the upload types the features read allows: `RECORDS_DOCUMENT_ACCEPT` exactly
|
|
242
|
+
* when photo upload is dark (or `types` is absent), plus each armed photo type and its extensions otherwise.
|
|
243
|
+
*/
|
|
244
|
+
declare function recordsDocumentAccept(types?: readonly string[]): string;
|
|
240
245
|
/** True when the blob starts with the PDF signature. An unreadable blob is not a PDF. */
|
|
241
246
|
declare function isPdfBlob(blob: Blob): Promise<boolean>;
|
|
242
247
|
/**
|
|
243
248
|
* Build the records `FileHandle` for a browser `File` (or any Blob). `mimeType` is `application/pdf` only when
|
|
244
|
-
* the bytes carry the PDF signature
|
|
245
|
-
*
|
|
249
|
+
* the bytes carry the PDF signature, or one of the photo types in `types` (the features read's
|
|
250
|
+
* `uploadContentTypes`) only when the bytes carry that format's signature; anything else is
|
|
251
|
+
* `application/octet-stream`. `sizeBytes` is the real size, so an oversize file is refused by the controller
|
|
252
|
+
* before initiate as well.
|
|
246
253
|
*/
|
|
247
|
-
declare function fileToHandle(file: Blob): Promise<FileHandle>;
|
|
254
|
+
declare function fileToHandle(file: Blob, types?: readonly string[]): Promise<FileHandle>;
|
|
248
255
|
/**
|
|
249
|
-
* The same gate the controller applies before initiate (PDF
|
|
250
|
-
* decide BEFORE it creates a request: a refused file should not
|
|
256
|
+
* The same gate the controller applies before initiate (PDF or an armed photo type in `types`,
|
|
257
|
+
* 0 < size <= 25 MiB), for a surface that must decide BEFORE it creates a request: a refused file should not
|
|
258
|
+
* leave an empty request behind.
|
|
251
259
|
*/
|
|
252
|
-
declare function isUploadableHandle(handle: FileHandle): boolean;
|
|
260
|
+
declare function isUploadableHandle(handle: FileHandle, types?: readonly string[]): boolean;
|
|
253
261
|
/**
|
|
254
262
|
* Open the browser's file chooser for one document and resolve its handle, or null when the user picks
|
|
255
263
|
* nothing. For a host that builds its own records UI on `useEverfurRecords`; the prebuilt surface renders its
|
|
@@ -258,8 +266,11 @@ declare function isUploadableHandle(handle: FileHandle): boolean;
|
|
|
258
266
|
* The input is attached to the document while the chooser is open (Safari does not open a detached input)
|
|
259
267
|
* and removed once it settles. A browser that never fires `cancel` leaves the promise pending when the user
|
|
260
268
|
* dismisses the chooser; nothing is held but the closure.
|
|
269
|
+
*
|
|
270
|
+
* `types` is the features read's `uploadContentTypes` (`controller.readFeatures()`); pass it to let the chooser
|
|
271
|
+
* offer, and the handle name, a photo of a paper record while the server accepts one. Absent, PDF only.
|
|
261
272
|
*/
|
|
262
|
-
declare function pickDocument(doc?: Document): Promise<FileHandle | null>;
|
|
273
|
+
declare function pickDocument(doc?: Document, types?: readonly string[]): Promise<FileHandle | null>;
|
|
263
274
|
|
|
264
275
|
interface SignatureCanvasState {
|
|
265
276
|
readonly canvas: React.RefObject<HTMLCanvasElement>;
|
|
@@ -300,4 +311,4 @@ declare function SignatureCanvas({ pad, disabled }: {
|
|
|
300
311
|
readonly disabled: boolean;
|
|
301
312
|
}): ReactNode;
|
|
302
313
|
|
|
303
|
-
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, UploadTransport, type UseRequestDocumentsState, type WebRecordsUploadTransportOptions, createWebRecordsUploadTransport, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
|
|
314
|
+
export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, UploadTransport, type UseRequestDocumentsState, type WebRecordsUploadTransportOptions, createWebRecordsUploadTransport, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, recordsDocumentAccept, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
|