@everfur/sdk 0.17.0 → 0.18.1
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 +167 -26
- package/care/package.json +8 -0
- package/dist/{Chat.d-uETscjrL.d.ts → Chat.d-Bz4iJ7d2.d.ts} +1 -1
- package/dist/{Chat.d-BYY1U61e.d.cts → Chat.d-C2ddC2u7.d.cts} +1 -1
- package/dist/{DepthViews.d-BsZ73mzL.d.ts → DepthViews.d-C6-Kzs6H.d.ts} +1 -1
- package/dist/{DepthViews.d-D_Qp4glO.d.cts → DepthViews.d-Chjs8H9V.d.cts} +1 -1
- package/dist/{DepthViews.d-DL8MP_kA.d.cts → DepthViews.d-pFL_ZBZT.d.cts} +1 -1
- package/dist/{DepthViews.d-B4SE5GUD.d.ts → DepthViews.d-qXt9OMgz.d.ts} +1 -1
- package/dist/{RecordsPage.d-CYotk2R9.d.cts → RecordsPage.d-Cmny6Q7g.d.cts} +2 -2
- package/dist/{RecordsPage.d-D4gP4leq.d.ts → RecordsPage.d-sNRolVdy.d.ts} +2 -2
- package/dist/animations/index.d.cts +5 -5
- package/dist/animations/index.d.ts +5 -5
- package/dist/{appStateLifecycle.d-DJXdDOJY.d.cts → appStateLifecycle.d-Bt70TQog.d.cts} +7 -7
- package/dist/{appStateLifecycle.d-CXJzBS3c.d.ts → appStateLifecycle.d-Jdg9_PFt.d.ts} +7 -7
- package/dist/{attachments.d-B8kOCb6q.d.cts → attachments.d-BVp3r6Ms.d.cts} +5 -5
- package/dist/{attachments.d-C61URT8r.d.cts → attachments.d-CF4_n-DZ.d.cts} +2 -2
- package/dist/{attachments.d-BTIGzXWD.d.ts → attachments.d-DnSCMjH0.d.ts} +5 -5
- package/dist/{attachments.d-BgatKf7d.d.ts → attachments.d-DsUZpMad.d.ts} +2 -2
- package/dist/{bookingCopy.d-B-bSYgqS.d.cts → bookingCopy.d-BHqE9Ozq.d.cts} +16 -16
- package/dist/{bookingCopy.d-JQW2SLM-.d.ts → bookingCopy.d-Ca4AQGZ7.d.ts} +16 -16
- package/dist/{branding.d-Bbc6p1XY.d.cts → branding.d-BFauULV6.d.cts} +1 -1
- package/dist/{branding.d-y6c0UwhE.d.ts → branding.d-DpNGEdDL.d.ts} +1 -1
- package/dist/care/index.cjs +3 -0
- package/dist/care/index.d.cts +434 -0
- package/dist/care/index.d.ts +434 -0
- package/dist/care/index.js +3 -0
- package/dist/{casesRepository.d-CVG2EXcg.d.cts → casesRepository.d-DFwD2kiS.d.cts} +1 -1
- package/dist/{casesRepository.d-CHEjzT4h.d.ts → casesRepository.d-VzxEyq2N.d.ts} +1 -1
- package/dist/chat/index.cjs +14 -13
- package/dist/chat/index.d.cts +13 -13
- package/dist/chat/index.d.ts +13 -13
- package/dist/chat/index.js +14 -13
- package/dist/chat/lite/index.cjs +14 -13
- package/dist/chat/lite/index.d.cts +13 -13
- package/dist/chat/lite/index.d.ts +13 -13
- package/dist/chat/lite/index.js +14 -13
- package/dist/chunk-Y3Q4GW47.js +31 -0
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +1 -1
- package/dist/{clinicBatch.d-DdlFy4pD.d.cts → clinicBatch.d-CLqaih2C.d.cts} +2 -2
- package/dist/{clinicBatch.d-oNwH_dbI.d.ts → clinicBatch.d-DXDIL1lC.d.ts} +2 -2
- package/dist/{config.d-Cy_hJBJG.d.cts → config.d-7bCXvOGn.d.cts} +1 -1
- package/dist/{config.d-DopRLD4f.d.ts → config.d-cqyvpzDb.d.ts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context.d-C42juGn6.d.cts → context.d-BeRanUXQ.d.cts} +7 -7
- package/dist/{context.d-Ban-Hhqu.d.ts → context.d-DAnmDYGr.d.ts} +7 -7
- package/dist/{copy.d-BTS5l6Ri.d.cts → copy.d-BPqs8swm.d.cts} +2 -2
- package/dist/{copy.d-qdbygul9.d.ts → copy.d-CxFzeuvo.d.ts} +2 -2
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +17 -17
- package/dist/core/index.d.ts +17 -17
- package/dist/core/index.js +1 -1
- package/dist/{depth.d-BGkHm2Se.d.ts → depth.d-C6XbnFig.d.ts} +2 -2
- package/dist/{depth.d-BfVrhq9o.d.cts → depth.d-qHdXHDd-.d.cts} +2 -2
- package/dist/{entitlementRepository.d-npT7L_7_.d.cts → entitlementRepository.d-C6uTDswj.d.cts} +4 -4
- package/dist/{entitlementRepository.d-CjwqCyhS.d.ts → entitlementRepository.d-D_cc7g4l.d.ts} +4 -4
- package/dist/{focus.d-S0nq_k1A.d.ts → focus.d-DiWvQR2j.d.ts} +193 -21
- package/dist/{focus.d-DS7Ze1Pp.d.cts → focus.d-HSkMHd-i.d.cts} +193 -21
- package/dist/health-plan/index.cjs +261 -176
- package/dist/health-plan/index.d.cts +627 -19
- package/dist/health-plan/index.d.ts +627 -19
- package/dist/health-plan/index.js +261 -176
- package/dist/{idempotency.d-COIrwuCb.d.ts → idempotency.d-CF5AvlYp.d.ts} +18 -639
- package/dist/{idempotency.d-gfiN4Qnp.d.cts → idempotency.d-DrO2zEZO.d.cts} +18 -639
- package/dist/{identity.d-D76vXtkJ.d.cts → identity.d-84x0dV7-.d.cts} +1 -1
- package/dist/{identity.d-B3mFvvRq.d.ts → identity.d-BXztMVYM.d.ts} +1 -1
- package/dist/index.cjs +12 -11
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +12 -11
- package/dist/{introEvents.d-3FLEemX3.d.cts → introEvents.d-Cwv72ER-.d.cts} +11 -11
- package/dist/{introEvents.d-BYnr37bd.d.ts → introEvents.d-DYU3znJs.d.ts} +11 -11
- package/dist/notifications/index.d.cts +4 -4
- package/dist/notifications/index.d.ts +4 -4
- package/dist/omsErrors.d-VF5tnr20.d.cts +633 -0
- package/dist/omsErrors.d-VF5tnr20.d.ts +633 -0
- package/dist/omsFields.d-BHntKIAH.d.cts +153 -0
- package/dist/omsFields.d-Cvfw8wWU.d.ts +153 -0
- package/dist/{optInView.d-DXRUGDiD.d.cts → optInView.d-4Hl4HbQh.d.cts} +3 -3
- package/dist/{optInView.d-BqFMcum4.d.ts → optInView.d-pq8tUTf6.d.ts} +3 -3
- package/dist/{parse.d-CY22hFxb.d.ts → parse.d-BJhhYfkv.d.ts} +1 -1
- package/dist/{parse.d-rvA_aRSO.d.cts → parse.d-D0v06qxx.d.cts} +1 -1
- package/dist/{pets.d-Cicz-aIO.d.ts → pets.d-1_CHpfgB.d.ts} +1 -1
- package/dist/{pets.d-RoHTZsaV.d.cts → pets.d-C4n-MDC4.d.cts} +1 -1
- package/dist/{petsRepository.d-DtAZf_Ja.d.ts → petsRepository.d-BuomdFjZ.d.ts} +1 -1
- package/dist/{petsRepository.d-BxMyt6Aj.d.cts → petsRepository.d-Dd95xh-M.d.cts} +1 -1
- package/dist/{ports.d-D7cjFUoL.d.cts → ports.d-Bf3tp7Pn.d.cts} +4 -4
- package/dist/{ports.d-DrgKa73F.d.ts → ports.d-ChZHFd-q.d.ts} +4 -4
- package/dist/{presentation.d-vy8kTGfR.d.cts → presentation.d-Bs8xQ4gD.d.cts} +4 -4
- package/dist/{presentation.d-vy8kTGfR.d.ts → presentation.d-Bs8xQ4gD.d.ts} +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 +11 -10
- package/dist/records/index.d.cts +24 -23
- package/dist/records/index.d.ts +24 -23
- package/dist/records/index.js +11 -10
- package/dist/{requestFunnel.d-BdQf53zs.d.cts → requestFunnel.d-CWI2pD3V.d.cts} +2 -2
- package/dist/{requestFunnel.d-B5y7Py8Z.d.ts → requestFunnel.d-DcQIAs45.d.ts} +2 -2
- package/dist/{resolve.d-CoQWUy1Y.d.cts → resolve.d-BTC3b6FW.d.cts} +1 -1
- package/dist/{resolve.d-CoQWUy1Y.d.ts → resolve.d-BTC3b6FW.d.ts} +1 -1
- package/dist/{runtimeTypes.d-r4Q5vASZ.d.cts → runtimeTypes.d-CIOVzjEK.d.cts} +6 -6
- package/dist/{runtimeTypes.d-D5EDgS3Y.d.ts → runtimeTypes.d-rbuONrIv.d.ts} +6 -6
- package/dist/{screenProps.d-v4a4kzxA.d.cts → screenProps.d-CFZe27oI.d.cts} +1 -1
- package/dist/{screenProps.d-KLCrP43b.d.ts → screenProps.d-yUA4k6yK.d.ts} +1 -1
- package/dist/server/events/index.cjs +2 -2
- package/dist/server/events/index.d.cts +49 -6
- package/dist/server/events/index.d.ts +49 -6
- package/dist/server/events/index.js +2 -2
- 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 +6 -6
- package/dist/shop/index.d.cts +9 -8
- package/dist/shop/index.d.ts +9 -8
- package/dist/shop/index.js +6 -6
- package/dist/shop/orders-v2/index.d.cts +2 -2
- package/dist/shop/orders-v2/index.d.ts +2 -2
- package/dist/tabs/index.cjs +4 -4
- package/dist/tabs/index.d.cts +14 -14
- package/dist/tabs/index.d.ts +14 -14
- package/dist/tabs/index.js +4 -4
- package/dist/{tabsModel.d-B7QMug1u.d.ts → tabsModel.d-D9GWPFrL.d.cts} +1 -1
- package/dist/{tabsModel.d-B7QMug1u.d.cts → tabsModel.d-D9GWPFrL.d.ts} +1 -1
- 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 +85 -2
- package/dist/testing/index.d.ts +85 -2
- package/dist/testing/index.js +1 -1
- package/dist/testing/rn/index.d.cts +10 -10
- package/dist/testing/rn/index.d.ts +10 -10
- package/dist/testing/web/index.d.cts +10 -10
- package/dist/testing/web/index.d.ts +10 -10
- package/dist/texting/index.d.cts +6 -6
- package/dist/texting/index.d.ts +6 -6
- package/dist/{threadOptions.d-EFJaNBP1.d.cts → threadOptions.d-CRbFXnlq.d.cts} +66 -11
- package/dist/{threadOptions.d-GPJPprkn.d.cts → threadOptions.d-CW51PyVd.d.cts} +28 -1
- package/dist/{threadOptions.d-GPJPprkn.d.ts → threadOptions.d-CW51PyVd.d.ts} +28 -1
- package/dist/{threadOptions.d-B0folrKm.d.cts → threadOptions.d-U5YBUKM-.d.ts} +2 -2
- package/dist/{threadOptions.d-Crh_LiDe.d.ts → threadOptions.d-aK8FkszA.d.ts} +66 -11
- package/dist/{threadOptions.d-DTsJFkL-.d.ts → threadOptions.d-bEAFkIsC.d.cts} +2 -2
- package/dist/{timelineRows.d-DpSis9HR.d.ts → timelineRows.d-BbCLvjy1.d.ts} +1 -1
- package/dist/{timelineRows.d-6-Cw8xGd.d.cts → timelineRows.d-BvA_BoOe.d.cts} +1 -1
- package/dist/{typeStyle.d-B3Kdtjie.d.ts → typeStyle.d-B9Jo5mDX.d.ts} +1 -1
- package/dist/{typeStyle.d-DmlwyJq-.d.cts → typeStyle.d-Ckdh_S-t.d.cts} +1 -1
- package/dist/types.d-d3RdaeAA.d.cts +317 -0
- package/dist/types.d-d3RdaeAA.d.ts +317 -0
- package/dist/ui/index.cjs +68 -0
- package/dist/ui/index.d.cts +73 -0
- package/dist/ui/index.d.ts +73 -0
- package/dist/ui/index.js +68 -0
- package/dist/useHealthPlanSubscription.d-BN40CVK6.d.cts +756 -0
- package/dist/useHealthPlanSubscription.d-BYehTI7R.d.ts +756 -0
- package/dist/{usePresentation.d-CRG3Gaaq.d.ts → usePresentation.d-BfcyAEFt.d.ts} +66 -7
- package/dist/{usePresentation.d-C8rqY56C.d.cts → usePresentation.d-C39kKhoO.d.cts} +66 -7
- package/dist/{useRecordsDepth.d-DlRda5jp.d.ts → useRecordsDepth.d-B2ewVbRm.d.ts} +1 -1
- package/dist/{useRecordsDepth.d-BYk7m7gF.d.cts → useRecordsDepth.d-CKXAAHXI.d.cts} +1 -1
- package/dist/{view.d-DuIXHr08.d.ts → view.d-BnUDSQXz.d.ts} +3 -3
- package/dist/{view.d-B31M8rCG.d.cts → view.d-CbcJKNJj.d.cts} +1 -1
- package/dist/{view.d-B31M8rCG.d.ts → view.d-CbcJKNJj.d.ts} +1 -1
- package/dist/{view.d-CLpEHKOp.d.cts → view.d-DTNPjiZ1.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 +335 -180
- package/dist/web/health-plan/index.d.cts +576 -19
- package/dist/web/health-plan/index.d.ts +576 -19
- package/dist/web/health-plan/index.js +297 -162
- package/dist/web/health-plan/styles.css +233 -0
- package/dist/web/health-plan/today/index.cjs +7 -0
- package/dist/web/health-plan/today/index.d.cts +15 -0
- package/dist/web/health-plan/today/index.d.ts +15 -0
- package/dist/web/health-plan/today/index.js +7 -0
- package/dist/web/index.cjs +36 -33
- package/dist/web/index.d.cts +60 -37
- package/dist/web/index.d.ts +60 -37
- package/dist/web/index.js +36 -33
- package/dist/web/intro/index.cjs +2 -2
- package/dist/web/intro/index.d.cts +8 -8
- package/dist/web/intro/index.d.ts +8 -8
- package/dist/web/intro/index.js +2 -2
- 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 +1 -1
- package/dist/web/records/index.d.cts +11 -11
- package/dist/web/records/index.d.ts +11 -11
- package/dist/web/records/index.js +1 -1
- package/dist/web/records-sheet/index.cjs +13 -12
- package/dist/web/records-sheet/index.d.cts +13 -10
- package/dist/web/records-sheet/index.d.ts +13 -10
- package/dist/web/records-sheet/index.js +13 -12
- package/dist/web/shop/index.cjs +6 -6
- package/dist/web/shop/index.d.cts +8 -7
- package/dist/web/shop/index.d.ts +8 -7
- package/dist/web/shop/index.js +6 -6
- package/dist/web/shop/orders-v2/index.d.cts +1 -1
- package/dist/web/shop/orders-v2/index.d.ts +1 -1
- package/dist/web/televet/booking/index.cjs +1 -1
- package/dist/web/televet/booking/index.d.cts +6 -6
- package/dist/web/televet/booking/index.d.ts +6 -6
- package/dist/web/televet/booking/index.js +1 -1
- package/dist/web/texting/index.cjs +1 -1
- package/dist/web/texting/index.d.cts +6 -6
- package/dist/web/texting/index.d.ts +6 -6
- package/dist/web/texting/index.js +1 -1
- package/dist/web/ui/index.cjs +70 -0
- package/dist/web/ui/index.d.cts +78 -0
- package/dist/web/ui/index.d.ts +78 -0
- package/dist/web/ui/index.js +48 -0
- package/dist/web/ui/styles.css +244 -0
- package/package.json +71 -5
- package/ui/package.json +8 -0
- package/web/health-plan/today/native-blocked.cjs +12 -0
- package/web/health-plan/today/package.json +8 -0
- package/web/ui/native-blocked.cjs +12 -0
- package/web/ui/package.json +8 -0
- package/dist/useHealthPlanSubscription.d-DD30EkUR.d.ts +0 -205
- package/dist/useHealthPlanSubscription.d-DWrzUXf4.d.cts +0 -205
package/dist/web/index.d.cts
CHANGED
|
@@ -1,60 +1,62 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { E as EverfurProviderProps } from '../context.d-
|
|
4
|
-
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-
|
|
5
|
-
import { C as CapabilityName, a as CapabilityDecision } from '../resolve.d-
|
|
6
|
-
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve.d-
|
|
7
|
-
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-
|
|
8
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-
|
|
3
|
+
import { E as EverfurProviderProps } from '../context.d-BeRanUXQ.cjs';
|
|
4
|
+
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-BeRanUXQ.cjs';
|
|
5
|
+
import { C as CapabilityName, a as CapabilityDecision } from '../resolve.d-BTC3b6FW.cjs';
|
|
6
|
+
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve.d-BTC3b6FW.cjs';
|
|
7
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-BVp3r6Ms.cjs';
|
|
8
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-BVp3r6Ms.cjs';
|
|
9
9
|
import { P as PetRef, C as ConversationId } from '../ids.d-B2GAAifq.cjs';
|
|
10
10
|
export { B as Brand, a as ClientId, b as ResponseId, U as UserRef, _ as __brand, c as conversationId, p as petRef, u as userRef } from '../ids.d-B2GAAifq.cjs';
|
|
11
|
-
import { a as ChatCheckinTarget } from '../ports.d-
|
|
12
|
-
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-
|
|
13
|
-
import { i as EverfurPresentationInput } from '../presentation.d-
|
|
14
|
-
export { D as DEFAULT_PRESENTATION, 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, l as EverfurPresentationField, j as EverfurSafetyDisclaimerPlacement, p as parsePresentation, r as resolvePresentation } from '../presentation.d-
|
|
15
|
-
import { P as PetProfileInput } from '../petsRepository.d-
|
|
16
|
-
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-
|
|
11
|
+
import { a as ChatCheckinTarget } from '../ports.d-Bf3tp7Pn.cjs';
|
|
12
|
+
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-Bf3tp7Pn.cjs';
|
|
13
|
+
import { i as EverfurPresentationInput } from '../presentation.d-Bs8xQ4gD.cjs';
|
|
14
|
+
export { D as DEFAULT_PRESENTATION, 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, l as EverfurPresentationField, j as EverfurSafetyDisclaimerPlacement, p as parsePresentation, r as resolvePresentation } from '../presentation.d-Bs8xQ4gD.cjs';
|
|
15
|
+
import { P as PetProfileInput } from '../petsRepository.d-Dd95xh-M.cjs';
|
|
16
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-Dd95xh-M.cjs';
|
|
17
17
|
import { L as LifecyclePort } from '../LifecyclePort.d-Cr1p33a7.cjs';
|
|
18
18
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.cjs';
|
|
19
|
-
import {
|
|
20
|
-
export {
|
|
21
|
-
import {
|
|
22
|
-
export {
|
|
23
|
-
|
|
19
|
+
import { E as EverfurChatEmptyState, a as EverfurChatHistoryBar, b as EverfurChatOpeningCard, c as EverfurChatAnswerCards, d as EverfurChatTopCard, e as EverfurChatHistorySheet, f as EverfurHealthPlanProps } from '../threadOptions.d-CRbFXnlq.cjs';
|
|
20
|
+
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-CRbFXnlq.cjs';
|
|
21
|
+
import { e as HealthPlanTopCardResults } from '../usePresentation.d-C39kKhoO.cjs';
|
|
22
|
+
export { u as useEverfurPresentation } from '../usePresentation.d-C39kKhoO.cjs';
|
|
23
|
+
import { E as EverfurChatEmptyHeaderContext } from '../threadOptions.d-CW51PyVd.cjs';
|
|
24
|
+
export { c as EverfurChatTopCardRow } from '../threadOptions.d-CW51PyVd.cjs';
|
|
25
|
+
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-7bCXvOGn.cjs';
|
|
26
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-DFwD2kiS.cjs';
|
|
24
27
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
25
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-
|
|
28
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-CF4_n-DZ.cjs';
|
|
26
29
|
import { U as UploadTransport, F as FileHandle } from '../ports.d-BX4f4UsB.cjs';
|
|
27
30
|
export { b as FilePort, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.cjs';
|
|
28
31
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-1dCtouGA.cjs';
|
|
29
|
-
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-
|
|
30
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-
|
|
31
|
-
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-
|
|
32
|
-
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-
|
|
32
|
+
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-Cmny6Q7g.cjs';
|
|
33
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-Cwv72ER-.cjs';
|
|
34
|
+
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
35
|
+
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
33
36
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../introEvents.d-dS3fJCH1.cjs';
|
|
34
|
-
export { L as useEverfurPresentation } from '../usePresentation.d-C8rqY56C.cjs';
|
|
35
37
|
import { K as KvPort } from '../cacheEpoch.d-DknKn3S0.cjs';
|
|
36
38
|
export { I as ImageCachePort } from '../cacheEpoch.d-DknKn3S0.cjs';
|
|
37
|
-
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-
|
|
39
|
+
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-CIOVzjEK.cjs';
|
|
38
40
|
export { T as TelemetryPort } from '../TelemetryPort.d-BDNr00hu.cjs';
|
|
39
41
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
40
42
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort.d-Cv31Pz7g.cjs';
|
|
41
43
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from '../EverfurResult.d-BFH-3s6E.cjs';
|
|
42
|
-
export { M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
43
|
-
export { E as EverfurFaceStyle, a as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, t as themeAdjustments } from '../typeStyle.d-
|
|
44
|
-
import { E as EverfurThemeInput } from '../branding.d-
|
|
45
|
-
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearanceFont, e as EverfurAppearancePreset, f as EverfurAppearanceRules, g as EverfurAppearanceVariables, h as EverfurThemeFontFaceKey, i as EverfurThemeFontUrlsInput, j as EverfurThemeFontsInput, k as EverfurThemeSlotInput, l as EverfurThemeSlotsInput, m as expandAppearance } from '../branding.d-
|
|
44
|
+
export { M as MintedToken, T as TokenProvider } from '../identity.d-84x0dV7-.cjs';
|
|
45
|
+
export { E as EverfurFaceStyle, a as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, t as themeAdjustments } from '../typeStyle.d-Ckdh_S-t.cjs';
|
|
46
|
+
import { E as EverfurThemeInput } from '../branding.d-BFauULV6.cjs';
|
|
47
|
+
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearanceFont, e as EverfurAppearancePreset, f as EverfurAppearanceRules, g as EverfurAppearanceVariables, h as EverfurThemeFontFaceKey, i as EverfurThemeFontUrlsInput, j as EverfurThemeFontsInput, k as EverfurThemeSlotInput, l as EverfurThemeSlotsInput, m as expandAppearance } from '../branding.d-BFauULV6.cjs';
|
|
46
48
|
import { d as EverfurFontWeight, m as EverfurTheme, a as EverfurFontFaceKey } from '../tokens.d-BUVqme2D.cjs';
|
|
47
49
|
export { E as EverfurColorTokens, b as EverfurFontFamilies, c as EverfurFontSource, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, n as EverfurThemeMeta, o as EverfurThemeSlot, p as EverfurThemeSlotKey, q as EverfurThemeSlotName, r as EverfurThemeSlots, s as EverfurTypeSizeTokens, t as EverfurTypeTokens, u as EverfurWeightTokens, T as THEME_SLOT_KEYS, v as THEME_SLOT_KEYS_BY_SLOT, w as THEME_SLOT_NAMES, x as themeSlotKeysFor } from '../tokens.d-BUVqme2D.cjs';
|
|
48
50
|
export { b as PetActivityLevel, c as PetAllergy, d as PetAllergySeverity, e as PetBirthDatePrecision, f as PetCondition, a as PetHealthProfile, P as PetHealthProfileInput, g as PetIndoorOutdoor, h as PetMedication, i as PetSex } from '../profile.d-CSs1wlXT.cjs';
|
|
49
51
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species.d-BXAIMh7I.cjs';
|
|
50
|
-
import '../requestFunnel.d-
|
|
51
|
-
import '../focus.d-
|
|
52
|
-
import '../clinicModels.d-BXgKZqDb.cjs';
|
|
52
|
+
import '../requestFunnel.d-CWI2pD3V.cjs';
|
|
53
|
+
import '../focus.d-HSkMHd-i.cjs';
|
|
53
54
|
import '../models.d-BSqvbTE1.cjs';
|
|
55
|
+
import '../clinicModels.d-BXgKZqDb.cjs';
|
|
54
56
|
import '../useRecords.d-BYNX01El.cjs';
|
|
55
57
|
import '../features.d-DrQxTw3-.cjs';
|
|
56
|
-
import '../screenProps.d-
|
|
57
|
-
import '../clinicBatch.d-
|
|
58
|
+
import '../screenProps.d-CFZe27oI.cjs';
|
|
59
|
+
import '../clinicBatch.d-CLqaih2C.cjs';
|
|
58
60
|
import '../recordsAsk.d-C5CGSi3j.cjs';
|
|
59
61
|
import '../sheetSeam.d-BBuEIVsa.cjs';
|
|
60
62
|
|
|
@@ -283,6 +285,12 @@ interface EverfurChatProps {
|
|
|
283
285
|
* the chat reads the pet's Health Plan page and draws its focus when there is one; yours always wins.
|
|
284
286
|
*/
|
|
285
287
|
readonly topCard?: EverfurChatTopCard;
|
|
288
|
+
/**
|
|
289
|
+
* Draw the Health Plan focus card as her results in short (design round 12, "Her results"), when the page's focus
|
|
290
|
+
* carries her report's words: the page's top risk first, then your `rows`. Off when absent; a `topCard` of yours
|
|
291
|
+
* still wins (it can carry `results` rows of its own).
|
|
292
|
+
*/
|
|
293
|
+
readonly resultsCard?: HealthPlanTopCardResults;
|
|
286
294
|
/** The history bottom sheet's words and classes (used while `chatHistoryStyle` resolves to `sheet`). */
|
|
287
295
|
readonly historySheet?: EverfurChatHistorySheet;
|
|
288
296
|
}
|
|
@@ -367,7 +375,7 @@ interface EverfurTabsIntro {
|
|
|
367
375
|
/** The records-landed banner's app tile (your app's mark). */
|
|
368
376
|
readonly bannerIcon?: ReactNode;
|
|
369
377
|
/**
|
|
370
|
-
* The intro plays only while the page is narrower than this (
|
|
378
|
+
* The intro plays only while the page is narrower than this (the design's intro is the phone's; his web view has none, and
|
|
371
379
|
* a shell in a desktop column can be phone-narrow). Default 600.
|
|
372
380
|
*/
|
|
373
381
|
readonly maxWidth?: number;
|
|
@@ -395,6 +403,21 @@ interface EverfurTabsProps {
|
|
|
395
403
|
* and may play the intro; a link opens where it points, and the intro waits for the next plain open.
|
|
396
404
|
*/
|
|
397
405
|
readonly opened: EverfurTabsOpened;
|
|
406
|
+
/**
|
|
407
|
+
* False drops the Health Plan sub-tab: the bar holds Ask and Records, a plain open lands on Ask, and every door to the
|
|
408
|
+
* plan inside the shell (the chat's focus card and answer cards, Records' plan line, the intro's exit, the records
|
|
409
|
+
* landing, a link to `plan`, `open('plan')`) calls `onOpenPlan` instead, for a host that draws the plan elsewhere
|
|
410
|
+
* (its own Today screen, `EverfurHealthPlan` with `focus.today`). Default true: the three tabs, as before.
|
|
411
|
+
*/
|
|
412
|
+
readonly planTab?: boolean;
|
|
413
|
+
/**
|
|
414
|
+
* With `planTab: false`: where the plan's doors go (your screen with the plan on it). Called only while the pet's
|
|
415
|
+
* plan holds something; an empty plan lands on Ask, as the three tabs do. Absent, those doors land on Ask. The
|
|
416
|
+
* shell's own doors pass `{}`; `more` is for your own callers (open the plan with See more open).
|
|
417
|
+
*/
|
|
418
|
+
readonly onOpenPlan?: (o: {
|
|
419
|
+
readonly more?: boolean;
|
|
420
|
+
}) => void;
|
|
398
421
|
/** Whether the shell is on screen (your app's own tab is this one). Default true. */
|
|
399
422
|
readonly visible?: boolean;
|
|
400
423
|
readonly copy?: Partial<EverfurTabsCopy>;
|
|
@@ -420,12 +443,12 @@ interface EverfurTabsProps {
|
|
|
420
443
|
* which is then positioned.
|
|
421
444
|
*/
|
|
422
445
|
readonly overlayContainer?: HTMLElement | null;
|
|
423
|
-
/** Names the page after the open tab while `visible` (
|
|
446
|
+
/** Names the page after the open tab while `visible` (the design's titles are the tab labels). Default false. */
|
|
424
447
|
readonly documentTitle?: boolean;
|
|
425
448
|
readonly onTabChange?: (tab: EverfurTabId) => void;
|
|
426
449
|
readonly onRecordsRequested?: (event: EverfurRecordsRequested) => void;
|
|
427
450
|
readonly onRecordsLanded?: (event: EverfurRecordsLanded) => void;
|
|
428
|
-
/** Your own toast. Absent:
|
|
451
|
+
/** Your own toast. Absent: The design's, drawn over the tab bar. */
|
|
429
452
|
readonly onToast?: (message: string) => void;
|
|
430
453
|
/**
|
|
431
454
|
* A ref the shell fills with its handle (open a tab, ask, request records), for your callbacks that live outside its
|
|
@@ -444,7 +467,7 @@ interface EverfurTabsHandle {
|
|
|
444
467
|
open(tab: EverfurTabId): void;
|
|
445
468
|
/** Opens Ask with a question in a fresh chat. An empty question only opens Ask. */
|
|
446
469
|
ask(prompt: string, card?: EverfurChatOpeningCard): void;
|
|
447
|
-
/**
|
|
470
|
+
/** The design's records request sheet (his 2a and 2b): her clinic, the consent, Sent. Backing out stays where you are. */
|
|
448
471
|
requestRecords(): void;
|
|
449
472
|
}
|
|
450
473
|
/** The shell around you, inside EverfurTabs (a pane footer, your records section); null outside it. */
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1,60 +1,62 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { E as EverfurProviderProps } from '../context.d-
|
|
4
|
-
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-
|
|
5
|
-
import { C as CapabilityName, a as CapabilityDecision } from '../resolve.d-
|
|
6
|
-
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve.d-
|
|
7
|
-
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-
|
|
8
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-
|
|
3
|
+
import { E as EverfurProviderProps } from '../context.d-DAnmDYGr.js';
|
|
4
|
+
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-DAnmDYGr.js';
|
|
5
|
+
import { C as CapabilityName, a as CapabilityDecision } from '../resolve.d-BTC3b6FW.js';
|
|
6
|
+
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve.d-BTC3b6FW.js';
|
|
7
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-DnSCMjH0.js';
|
|
8
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-DnSCMjH0.js';
|
|
9
9
|
import { P as PetRef, C as ConversationId } from '../ids.d-B2GAAifq.js';
|
|
10
10
|
export { B as Brand, a as ClientId, b as ResponseId, U as UserRef, _ as __brand, c as conversationId, p as petRef, u as userRef } from '../ids.d-B2GAAifq.js';
|
|
11
|
-
import { a as ChatCheckinTarget } from '../ports.d-
|
|
12
|
-
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-
|
|
13
|
-
import { i as EverfurPresentationInput } from '../presentation.d-
|
|
14
|
-
export { D as DEFAULT_PRESENTATION, 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, l as EverfurPresentationField, j as EverfurSafetyDisclaimerPlacement, p as parsePresentation, r as resolvePresentation } from '../presentation.d-
|
|
15
|
-
import { P as PetProfileInput } from '../petsRepository.d-
|
|
16
|
-
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-
|
|
11
|
+
import { a as ChatCheckinTarget } from '../ports.d-ChZHFd-q.js';
|
|
12
|
+
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-ChZHFd-q.js';
|
|
13
|
+
import { i as EverfurPresentationInput } from '../presentation.d-Bs8xQ4gD.js';
|
|
14
|
+
export { D as DEFAULT_PRESENTATION, 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, l as EverfurPresentationField, j as EverfurSafetyDisclaimerPlacement, p as parsePresentation, r as resolvePresentation } from '../presentation.d-Bs8xQ4gD.js';
|
|
15
|
+
import { P as PetProfileInput } from '../petsRepository.d-BuomdFjZ.js';
|
|
16
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-BuomdFjZ.js';
|
|
17
17
|
import { L as LifecyclePort } from '../LifecyclePort.d-Cr1p33a7.js';
|
|
18
18
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.js';
|
|
19
|
-
import {
|
|
20
|
-
export {
|
|
21
|
-
import {
|
|
22
|
-
export {
|
|
23
|
-
|
|
19
|
+
import { E as EverfurChatEmptyState, a as EverfurChatHistoryBar, b as EverfurChatOpeningCard, c as EverfurChatAnswerCards, d as EverfurChatTopCard, e as EverfurChatHistorySheet, f as EverfurHealthPlanProps } from '../threadOptions.d-aK8FkszA.js';
|
|
20
|
+
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-aK8FkszA.js';
|
|
21
|
+
import { e as HealthPlanTopCardResults } from '../usePresentation.d-BfcyAEFt.js';
|
|
22
|
+
export { u as useEverfurPresentation } from '../usePresentation.d-BfcyAEFt.js';
|
|
23
|
+
import { E as EverfurChatEmptyHeaderContext } from '../threadOptions.d-CW51PyVd.js';
|
|
24
|
+
export { c as EverfurChatTopCardRow } from '../threadOptions.d-CW51PyVd.js';
|
|
25
|
+
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-cqyvpzDb.js';
|
|
26
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-VzxEyq2N.js';
|
|
24
27
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from '../EverfurError.d-8NHtlgzA.js';
|
|
25
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-
|
|
28
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-DsUZpMad.js';
|
|
26
29
|
import { U as UploadTransport, F as FileHandle } from '../ports.d-BX4f4UsB.js';
|
|
27
30
|
export { b as FilePort, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.js';
|
|
28
31
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-CjsMg_OD.js';
|
|
29
|
-
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-
|
|
30
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-
|
|
31
|
-
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-
|
|
32
|
-
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-
|
|
32
|
+
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-sNRolVdy.js';
|
|
33
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-DYU3znJs.js';
|
|
34
|
+
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.js';
|
|
35
|
+
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.js';
|
|
33
36
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../introEvents.d-dS3fJCH1.js';
|
|
34
|
-
export { L as useEverfurPresentation } from '../usePresentation.d-CRG3Gaaq.js';
|
|
35
37
|
import { K as KvPort } from '../cacheEpoch.d-DknKn3S0.js';
|
|
36
38
|
export { I as ImageCachePort } from '../cacheEpoch.d-DknKn3S0.js';
|
|
37
|
-
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-
|
|
39
|
+
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-rbuONrIv.js';
|
|
38
40
|
export { T as TelemetryPort } from '../TelemetryPort.d-BDNr00hu.js';
|
|
39
41
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-68yrE3BE.js';
|
|
40
42
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort.d-Cv31Pz7g.js';
|
|
41
43
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from '../EverfurResult.d-D_-254ZY.js';
|
|
42
|
-
export { M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
43
|
-
export { E as EverfurFaceStyle, a as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, t as themeAdjustments } from '../typeStyle.d-
|
|
44
|
-
import { E as EverfurThemeInput } from '../branding.d-
|
|
45
|
-
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearanceFont, e as EverfurAppearancePreset, f as EverfurAppearanceRules, g as EverfurAppearanceVariables, h as EverfurThemeFontFaceKey, i as EverfurThemeFontUrlsInput, j as EverfurThemeFontsInput, k as EverfurThemeSlotInput, l as EverfurThemeSlotsInput, m as expandAppearance } from '../branding.d-
|
|
44
|
+
export { M as MintedToken, T as TokenProvider } from '../identity.d-BXztMVYM.js';
|
|
45
|
+
export { E as EverfurFaceStyle, a as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, t as themeAdjustments } from '../typeStyle.d-B9Jo5mDX.js';
|
|
46
|
+
import { E as EverfurThemeInput } from '../branding.d-DpNGEdDL.js';
|
|
47
|
+
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearanceFont, e as EverfurAppearancePreset, f as EverfurAppearanceRules, g as EverfurAppearanceVariables, h as EverfurThemeFontFaceKey, i as EverfurThemeFontUrlsInput, j as EverfurThemeFontsInput, k as EverfurThemeSlotInput, l as EverfurThemeSlotsInput, m as expandAppearance } from '../branding.d-DpNGEdDL.js';
|
|
46
48
|
import { d as EverfurFontWeight, m as EverfurTheme, a as EverfurFontFaceKey } from '../tokens.d-BUVqme2D.js';
|
|
47
49
|
export { E as EverfurColorTokens, b as EverfurFontFamilies, c as EverfurFontSource, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, n as EverfurThemeMeta, o as EverfurThemeSlot, p as EverfurThemeSlotKey, q as EverfurThemeSlotName, r as EverfurThemeSlots, s as EverfurTypeSizeTokens, t as EverfurTypeTokens, u as EverfurWeightTokens, T as THEME_SLOT_KEYS, v as THEME_SLOT_KEYS_BY_SLOT, w as THEME_SLOT_NAMES, x as themeSlotKeysFor } from '../tokens.d-BUVqme2D.js';
|
|
48
50
|
export { b as PetActivityLevel, c as PetAllergy, d as PetAllergySeverity, e as PetBirthDatePrecision, f as PetCondition, a as PetHealthProfile, P as PetHealthProfileInput, g as PetIndoorOutdoor, h as PetMedication, i as PetSex } from '../profile.d-CSs1wlXT.js';
|
|
49
51
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species.d-BXAIMh7I.js';
|
|
50
|
-
import '../requestFunnel.d-
|
|
51
|
-
import '../focus.d-
|
|
52
|
-
import '../clinicModels.d-CaS64-P-.js';
|
|
52
|
+
import '../requestFunnel.d-DcQIAs45.js';
|
|
53
|
+
import '../focus.d-DiWvQR2j.js';
|
|
53
54
|
import '../models.d-DOwnr8fi.js';
|
|
55
|
+
import '../clinicModels.d-CaS64-P-.js';
|
|
54
56
|
import '../useRecords.d-DWk61a4c.js';
|
|
55
57
|
import '../features.d-DrQxTw3-.js';
|
|
56
|
-
import '../screenProps.d-
|
|
57
|
-
import '../clinicBatch.d-
|
|
58
|
+
import '../screenProps.d-yUA4k6yK.js';
|
|
59
|
+
import '../clinicBatch.d-DXDIL1lC.js';
|
|
58
60
|
import '../recordsAsk.d-C5CGSi3j.js';
|
|
59
61
|
import '../sheetSeam.d-B09jf4YC.js';
|
|
60
62
|
|
|
@@ -283,6 +285,12 @@ interface EverfurChatProps {
|
|
|
283
285
|
* the chat reads the pet's Health Plan page and draws its focus when there is one; yours always wins.
|
|
284
286
|
*/
|
|
285
287
|
readonly topCard?: EverfurChatTopCard;
|
|
288
|
+
/**
|
|
289
|
+
* Draw the Health Plan focus card as her results in short (design round 12, "Her results"), when the page's focus
|
|
290
|
+
* carries her report's words: the page's top risk first, then your `rows`. Off when absent; a `topCard` of yours
|
|
291
|
+
* still wins (it can carry `results` rows of its own).
|
|
292
|
+
*/
|
|
293
|
+
readonly resultsCard?: HealthPlanTopCardResults;
|
|
286
294
|
/** The history bottom sheet's words and classes (used while `chatHistoryStyle` resolves to `sheet`). */
|
|
287
295
|
readonly historySheet?: EverfurChatHistorySheet;
|
|
288
296
|
}
|
|
@@ -367,7 +375,7 @@ interface EverfurTabsIntro {
|
|
|
367
375
|
/** The records-landed banner's app tile (your app's mark). */
|
|
368
376
|
readonly bannerIcon?: ReactNode;
|
|
369
377
|
/**
|
|
370
|
-
* The intro plays only while the page is narrower than this (
|
|
378
|
+
* The intro plays only while the page is narrower than this (the design's intro is the phone's; his web view has none, and
|
|
371
379
|
* a shell in a desktop column can be phone-narrow). Default 600.
|
|
372
380
|
*/
|
|
373
381
|
readonly maxWidth?: number;
|
|
@@ -395,6 +403,21 @@ interface EverfurTabsProps {
|
|
|
395
403
|
* and may play the intro; a link opens where it points, and the intro waits for the next plain open.
|
|
396
404
|
*/
|
|
397
405
|
readonly opened: EverfurTabsOpened;
|
|
406
|
+
/**
|
|
407
|
+
* False drops the Health Plan sub-tab: the bar holds Ask and Records, a plain open lands on Ask, and every door to the
|
|
408
|
+
* plan inside the shell (the chat's focus card and answer cards, Records' plan line, the intro's exit, the records
|
|
409
|
+
* landing, a link to `plan`, `open('plan')`) calls `onOpenPlan` instead, for a host that draws the plan elsewhere
|
|
410
|
+
* (its own Today screen, `EverfurHealthPlan` with `focus.today`). Default true: the three tabs, as before.
|
|
411
|
+
*/
|
|
412
|
+
readonly planTab?: boolean;
|
|
413
|
+
/**
|
|
414
|
+
* With `planTab: false`: where the plan's doors go (your screen with the plan on it). Called only while the pet's
|
|
415
|
+
* plan holds something; an empty plan lands on Ask, as the three tabs do. Absent, those doors land on Ask. The
|
|
416
|
+
* shell's own doors pass `{}`; `more` is for your own callers (open the plan with See more open).
|
|
417
|
+
*/
|
|
418
|
+
readonly onOpenPlan?: (o: {
|
|
419
|
+
readonly more?: boolean;
|
|
420
|
+
}) => void;
|
|
398
421
|
/** Whether the shell is on screen (your app's own tab is this one). Default true. */
|
|
399
422
|
readonly visible?: boolean;
|
|
400
423
|
readonly copy?: Partial<EverfurTabsCopy>;
|
|
@@ -420,12 +443,12 @@ interface EverfurTabsProps {
|
|
|
420
443
|
* which is then positioned.
|
|
421
444
|
*/
|
|
422
445
|
readonly overlayContainer?: HTMLElement | null;
|
|
423
|
-
/** Names the page after the open tab while `visible` (
|
|
446
|
+
/** Names the page after the open tab while `visible` (the design's titles are the tab labels). Default false. */
|
|
424
447
|
readonly documentTitle?: boolean;
|
|
425
448
|
readonly onTabChange?: (tab: EverfurTabId) => void;
|
|
426
449
|
readonly onRecordsRequested?: (event: EverfurRecordsRequested) => void;
|
|
427
450
|
readonly onRecordsLanded?: (event: EverfurRecordsLanded) => void;
|
|
428
|
-
/** Your own toast. Absent:
|
|
451
|
+
/** Your own toast. Absent: The design's, drawn over the tab bar. */
|
|
429
452
|
readonly onToast?: (message: string) => void;
|
|
430
453
|
/**
|
|
431
454
|
* A ref the shell fills with its handle (open a tab, ask, request records), for your callbacks that live outside its
|
|
@@ -444,7 +467,7 @@ interface EverfurTabsHandle {
|
|
|
444
467
|
open(tab: EverfurTabId): void;
|
|
445
468
|
/** Opens Ask with a question in a fresh chat. An empty question only opens Ask. */
|
|
446
469
|
ask(prompt: string, card?: EverfurChatOpeningCard): void;
|
|
447
|
-
/**
|
|
470
|
+
/** The design's records request sheet (his 2a and 2b): her clinic, the consent, Sent. Backing out stays where you are. */
|
|
448
471
|
requestRecords(): void;
|
|
449
472
|
}
|
|
450
473
|
/** The shell around you, inside EverfurTabs (a pane footer, your records section); null outside it. */
|