@everfur/sdk 0.21.0 → 1.0.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 +167 -3
- package/dist/{Chat.d-JDtlG_EW.d.cts → Chat.d-DDmNIlJn.d.cts} +1 -1
- package/dist/{Chat.d-CoGJrK3t.d.ts → Chat.d-DySDBc6L.d.ts} +1 -1
- package/dist/{DepthViews.d-XTv4s3ru.d.cts → DepthViews.d-BHb0Xb-C.d.cts} +1 -1
- package/dist/{DepthViews.d-CNQn-eEr.d.ts → DepthViews.d-BIfqdrvX.d.ts} +1 -1
- package/dist/{DepthViews.d-D31VlFKU.d.ts → DepthViews.d-BW3HrhnC.d.ts} +1 -1
- package/dist/{DepthViews.d-zxM_xbP9.d.cts → DepthViews.d-Dq8eWBvw.d.cts} +1 -1
- package/dist/{RecordsPage.d-D_y-ZB3S.d.ts → RecordsPage.d-Bs-dghTH.d.ts} +1 -1
- package/dist/{RecordsPage.d-CSZHrtWJ.d.cts → RecordsPage.d-CLrw-AvZ.d.cts} +1 -1
- package/dist/animations/index.cjs +2 -2
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/animations/index.js +2 -2
- package/dist/{attachments.d-D74wbmQU.d.cts → attachments.d-DTGYmW8Y.d.cts} +1 -1
- package/dist/{attachments.d-Dm6NUJTR.d.ts → attachments.d-DjxmIsNp.d.ts} +1 -1
- package/dist/{bookingCopy.d-DMmLKY5Q.d.ts → bookingCopy.d-CX-DMiwi.d.ts} +148 -148
- package/dist/{bookingCopy.d-iaYDPvPd.d.cts → bookingCopy.d-D952V8Tq.d.cts} +148 -148
- package/dist/{branding.d-DpNGEdDL.d.ts → branding.d-DC4imCYd.d.ts} +72 -4
- package/dist/{branding.d-BFauULV6.d.cts → branding.d-G7rpxDhI.d.cts} +72 -4
- package/dist/{casesRepository.d-CCJJQXnl.d.ts → casesRepository.d-CnJZlUZ4.d.ts} +1 -1
- package/dist/{casesRepository.d-G2dahIKO.d.cts → casesRepository.d-bWJHZD-_.d.cts} +1 -1
- package/dist/chat/index.cjs +59 -47
- package/dist/chat/index.d.cts +11 -11
- package/dist/chat/index.d.ts +11 -11
- package/dist/chat/index.js +59 -47
- package/dist/chat/lite/index.cjs +59 -47
- package/dist/chat/lite/index.d.cts +11 -11
- package/dist/chat/lite/index.d.ts +11 -11
- package/dist/chat/lite/index.js +59 -47
- package/dist/{chatHandoffToken.d-DVv9tl8h.d.ts → chatHandoffToken.d-BCEdhZpd.d.ts} +5 -5
- package/dist/{chatHandoffToken.d-xmnHrTA5.d.cts → chatHandoffToken.d-uKnSnIzN.d.cts} +5 -5
- package/dist/{chatTypes.d-CQC7GTdE.d.cts → chatTypes.d-CFyYBzps.d.cts} +4 -4
- package/dist/{chatTypes.d-hS1AilYl.d.ts → chatTypes.d-DbdF3ij5.d.ts} +4 -4
- package/dist/chunk-EMINPX6C.js +14 -0
- package/dist/{chunk-2NA7TPUA.js → chunk-NO7LYPKW.js} +1 -1
- package/dist/chunk-QG4ZH45Q.js +47 -0
- package/dist/chunk-VY5VTLFX.js +34 -0
- package/dist/client/index.cjs +9 -8
- package/dist/client/index.d.cts +18 -12
- package/dist/client/index.d.ts +18 -12
- package/dist/client/index.js +9 -8
- package/dist/{clinicBatch.d-BpP2NBb3.d.ts → clinicBatch.d-C_kZtYt-.d.ts} +2 -2
- package/dist/{clinicBatch.d-4PFwKJfw.d.cts → clinicBatch.d-e3Cn5HhA.d.cts} +2 -2
- package/dist/{config.d-D9igq-vT.d.ts → config.d--6siaeNg.d.ts} +14 -6
- package/dist/{config.d-cX5E6DAw.d.cts → config.d-Ba21AaZg.d.cts} +14 -6
- package/dist/consent/index.cjs +2 -2
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +2 -2
- package/dist/{context.d-BrRRNw9I.d.cts → context.d-DLHTf-fV.d.cts} +7 -7
- package/dist/{context.d-hPfsEsNf.d.ts → context.d-TArU_9lj.d.ts} +7 -7
- package/dist/{copy.d-CDlirTR4.d.ts → copy.d-GokMma80.d.ts} +2 -2
- package/dist/{copy.d-DWjSkbrZ.d.cts → copy.d-zWWCn3wB.d.cts} +2 -2
- package/dist/core/index.cjs +4 -4
- package/dist/core/index.d.cts +17 -17
- package/dist/core/index.d.ts +17 -17
- package/dist/core/index.js +4 -4
- package/dist/{depth.d-CfBorxcQ.d.ts → depth.d-C_HL8yAz.d.ts} +2 -2
- package/dist/{depth.d-KkrGx98U.d.cts → depth.d-De5pT7vA.d.cts} +2 -2
- package/dist/{entitlementRepository.d-DpQrIgW6.d.ts → entitlementRepository.d-CoKN-Ksa.d.ts} +3 -3
- package/dist/{entitlementRepository.d-BvnWpcQH.d.cts → entitlementRepository.d-Tj7lvs4e.d.cts} +3 -3
- package/dist/{focus.d-CYwVLDvR.d.ts → focus.d-7G0BBmA9.d.ts} +3 -128
- package/dist/{focus.d-9loikWy8.d.cts → focus.d-B0qweva0.d.cts} +3 -128
- package/dist/health-plan/index.cjs +133 -92
- package/dist/health-plan/index.d.cts +33 -18
- package/dist/health-plan/index.d.ts +33 -18
- package/dist/health-plan/index.js +141 -100
- package/dist/healthPlanRepository.d-CdCyUWph.d.ts +131 -0
- package/dist/healthPlanRepository.d-fPbLceBr.d.cts +131 -0
- package/dist/{idempotency.d-DGQ_xML5.d.ts → idempotency.d-CoUlC-Yd.d.ts} +1 -1
- package/dist/{idempotency.d-CVKkUhY4.d.cts → idempotency.d-IDta7Jjj.d.cts} +1 -1
- package/dist/{identity.d-DR5YwO6E.d.ts → identity.d-B7dPRGqm.d.ts} +1 -1
- package/dist/{identity.d-Bnl5Z0MM.d.cts → identity.d-_MK9Y7a4.d.cts} +1 -1
- package/dist/inbox.d-ChNXTovj.d.cts +103 -0
- package/dist/inbox.d-CuuPTWyW.d.ts +103 -0
- package/dist/index.cjs +69 -56
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +69 -56
- package/dist/{introEvents.d-D_yL7lnE.d.ts → introEvents.d-D6Ay0ORN.d.ts} +1 -1
- package/dist/{introEvents.d-JmPqEqMQ.d.cts → introEvents.d-JvAWRKYu.d.cts} +1 -1
- package/dist/{usePresentation.d-CrobH0d_.d.cts → layout.d-ByfOEhpG.d.cts} +2 -136
- package/dist/{usePresentation.d-CDNK4MDY.d.ts → layout.d-D3d4QMeO.d.ts} +2 -136
- package/dist/notifications/inbox/index.cjs +24 -12
- package/dist/notifications/inbox/index.d.cts +87 -6
- package/dist/notifications/inbox/index.d.ts +87 -6
- package/dist/notifications/inbox/index.js +24 -12
- package/dist/notifications/index.d.cts +7 -7
- package/dist/notifications/index.d.ts +7 -7
- package/dist/{optInView.d-CZvKlq-o.d.ts → optInView.d-BpFTJaaX.d.ts} +2 -2
- package/dist/{optInView.d-BizcW_QG.d.cts → optInView.d-Bxvg0WLJ.d.cts} +2 -2
- package/dist/{pets.d-uCzgFbGi.d.ts → pets.d-Br960ekh.d.ts} +1 -1
- package/dist/{pets.d-C4CWxQPh.d.cts → pets.d-BtbJcf8T.d.cts} +1 -1
- package/dist/{petsRepository.d-DOcVv9bd.d.cts → petsRepository.d-Bj9rPnCr.d.cts} +1 -1
- package/dist/{petsRepository.d-DRW7NkKm.d.ts → petsRepository.d-CSOth5XE.d.ts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +1 -1
- package/dist/{presentation.d-Bs8xQ4gD.d.cts → presentation.d-BvZs_jN-.d.cts} +6 -0
- package/dist/{presentation.d-Bs8xQ4gD.d.ts → presentation.d-BvZs_jN-.d.ts} +6 -0
- package/dist/records/depth/index.cjs +10 -6
- package/dist/records/depth/index.d.cts +9 -9
- package/dist/records/depth/index.d.ts +9 -9
- package/dist/records/depth/index.js +10 -6
- package/dist/records/index.cjs +302 -207
- package/dist/records/index.d.cts +144 -17
- package/dist/records/index.d.ts +144 -17
- package/dist/records/index.js +302 -207
- package/dist/{requestFunnel.d-CQ0O8fMG.d.cts → requestFunnel.d-BwO-jFLX.d.cts} +2 -2
- package/dist/{requestFunnel.d-BYLycQMI.d.ts → requestFunnel.d-LSnmCusf.d.ts} +2 -2
- package/dist/{route.d-DFJ0gXj8.d.ts → route.d-Bzyamuxa.d.ts} +2 -2
- package/dist/{route.d-q9yndhFy.d.cts → route.d-D70-OHBc.d.cts} +2 -2
- package/dist/{runtimeTypes.d-3LRuzxr7.d.cts → runtimeTypes.d-BHdN-9aB.d.cts} +7 -7
- package/dist/{runtimeTypes.d-BJHYj2MI.d.ts → runtimeTypes.d-L_CbeCKS.d.ts} +7 -7
- package/dist/{screenProps.d-DfAmuKkr.d.cts → screenProps.d-DB5IMaGZ.d.cts} +1 -1
- package/dist/{screenProps.d-tVzlXGaN.d.ts → screenProps.d-HGSPNGHt.d.ts} +1 -1
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/shop/index.cjs +26 -13
- package/dist/shop/index.d.cts +3 -3
- package/dist/shop/index.d.ts +3 -3
- package/dist/shop/index.js +26 -13
- package/dist/slots/index.cjs +299 -0
- package/dist/slots/index.d.cts +155 -0
- package/dist/slots/index.d.ts +155 -0
- package/dist/slots/index.js +299 -0
- package/dist/slots/weather-glyphs/index.cjs +2 -0
- package/dist/slots/weather-glyphs/index.d.cts +11 -0
- package/dist/slots/weather-glyphs/index.d.ts +11 -0
- package/dist/slots/weather-glyphs/index.js +2 -0
- package/dist/tabs/index.cjs +43 -12
- package/dist/tabs/index.d.cts +79 -8
- package/dist/tabs/index.d.ts +79 -8
- package/dist/tabs/index.js +43 -12
- package/dist/televet/booking/index.cjs +54 -10
- package/dist/televet/booking/index.d.cts +51 -10
- package/dist/televet/booking/index.d.ts +51 -10
- package/dist/televet/booking/index.js +55 -11
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.d.cts +2 -2
- package/dist/televet/index.d.ts +2 -2
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +13 -11
- package/dist/testing/rn/index.d.ts +13 -11
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +10 -10
- package/dist/testing/web/index.d.ts +10 -10
- package/dist/texting/index.cjs +2 -2
- package/dist/texting/index.d.cts +5 -5
- package/dist/texting/index.d.ts +5 -5
- package/dist/texting/index.js +2 -2
- package/dist/{threadOptions.d-I6G3BdlP.d.cts → threadOptions.d-CS-Qu_rR.d.cts} +6 -6
- package/dist/{threadOptions.d-DfH26dy7.d.ts → threadOptions.d-FzFN0zsK.d.ts} +6 -6
- package/dist/{timelineRows.d-uSfr2IP3.d.cts → timelineRows.d-BJRCgmdv.d.cts} +1 -1
- package/dist/{timelineRows.d-CugnCOfZ.d.ts → timelineRows.d-CPS4admm.d.ts} +1 -1
- package/dist/{tokens.d-BUVqme2D.d.cts → tokens.d-DH1mYjZl.d.cts} +43 -1
- package/dist/{tokens.d-BUVqme2D.d.ts → tokens.d-DH1mYjZl.d.ts} +43 -1
- package/dist/{typeStyle.d-Ckdh_S-t.d.cts → typeStyle.d-BIDpuYpg.d.cts} +29 -3
- package/dist/{typeStyle.d-B9Jo5mDX.d.ts → typeStyle.d-aRhFhBpG.d.ts} +29 -3
- package/dist/ui/index.cjs +26 -13
- package/dist/ui/index.js +26 -13
- package/dist/{useHealthPlanSubscription.d-CVVQIFpG.d.ts → useHealthPlanSubscription.d-SQfx-45x.d.ts} +3 -2
- package/dist/{useHealthPlanSubscription.d-DylPMm_m.d.cts → useHealthPlanSubscription.d-zjsvvlhz.d.cts} +3 -2
- package/dist/useInboxUnread.d-7p3IWs_A.d.cts +109 -0
- package/dist/useInboxUnread.d-BxFKFU4o.d.ts +109 -0
- package/dist/usePresentation.d-BHO_uZ31.d.cts +140 -0
- package/dist/usePresentation.d-Dr7iD-4Y.d.ts +140 -0
- package/dist/{useRecordsDepth.d-BvBYIPii.d.ts → useRecordsDepth.d-BinUa8W9.d.ts} +1 -1
- package/dist/{useRecordsDepth.d-Cd5Vyb7D.d.cts → useRecordsDepth.d-Bk8BSerZ.d.cts} +1 -1
- package/dist/{useUnread.d-ElAEfgl1.d.ts → useUnread.d-CAeYh82_.d.ts} +10 -7
- package/dist/{useUnread.d-B4Yqcteg.d.cts → useUnread.d-DXcRBQw8.d.cts} +10 -7
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view.d-2RWoY9kd.d.ts → view.d-CaH6dZPJ.d.ts} +3 -3
- package/dist/{view.d-utmOR2ee.d.cts → view.d-DV4b1cov.d.cts} +3 -3
- 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/health-plan/index.cjs +15 -13
- package/dist/web/health-plan/index.d.cts +20 -13
- package/dist/web/health-plan/index.d.ts +20 -13
- package/dist/web/health-plan/index.js +7 -7
- package/dist/web/health-plan/styles.css +6 -2
- package/dist/web/inbox/index.cjs +1 -1
- package/dist/web/inbox/index.d.cts +7 -5
- package/dist/web/inbox/index.d.ts +7 -5
- package/dist/web/inbox/index.js +1 -1
- package/dist/web/index.cjs +71 -70
- package/dist/web/index.d.cts +53 -31
- package/dist/web/index.d.ts +53 -31
- package/dist/web/index.js +28 -27
- package/dist/web/intro/index.cjs +1 -1
- package/dist/web/intro/index.d.cts +7 -6
- package/dist/web/intro/index.d.ts +7 -6
- package/dist/web/intro/index.js +1 -1
- package/dist/web/notifications/index.cjs +1 -1
- package/dist/web/notifications/index.d.cts +6 -6
- package/dist/web/notifications/index.d.ts +6 -6
- package/dist/web/notifications/index.js +1 -1
- package/dist/web/records/depth/index.cjs +1 -1
- package/dist/web/records/depth/index.d.cts +9 -9
- package/dist/web/records/depth/index.d.ts +9 -9
- package/dist/web/records/depth/index.js +1 -1
- 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 +3 -3
- package/dist/web/records-sheet/index.js +3 -3
- package/dist/web/shop/index.cjs +27 -8
- package/dist/web/shop/index.d.cts +4 -3
- package/dist/web/shop/index.d.ts +4 -3
- package/dist/web/shop/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +53 -53
- package/dist/web/televet/booking/index.d.cts +44 -44
- package/dist/web/televet/booking/index.d.ts +44 -44
- package/dist/web/televet/booking/index.js +53 -53
- package/dist/web/televet/call/index.cjs +3 -3
- package/dist/web/televet/call/index.d.cts +7 -6
- package/dist/web/televet/call/index.d.ts +7 -6
- package/dist/web/televet/call/index.js +3 -3
- package/dist/web/televet/index.cjs +1 -1
- package/dist/web/televet/index.js +1 -1
- package/dist/web/texting/index.cjs +1 -1
- package/dist/web/texting/index.d.cts +5 -5
- package/dist/web/texting/index.d.ts +5 -5
- package/dist/web/texting/index.js +1 -1
- package/dist/web/ui/index.cjs +29 -10
- package/dist/web/ui/index.d.cts +32 -32
- package/dist/web/ui/index.d.ts +32 -32
- package/dist/web/ui/index.js +2 -2
- package/dist/web/ui/styles.css +46 -3
- package/package.json +36 -5
- package/slots/package.json +8 -0
- package/slots/weather-glyphs/package.json +8 -0
- package/dist/chunk-IJU5TV5N.js +0 -12
- package/dist/chunk-TFX6WMDN.js +0 -30
- package/dist/chunk-WZNPR5TY.js +0 -34
- package/dist/useInboxUnread.d-DDoSII8D.d.ts +0 -206
- package/dist/useInboxUnread.d-Dq3CCAa3.d.cts +0 -206
- package/dist/{IntakeMedia.d-Dqc5V_YH.d.cts → IntakeMedia.d-CO8weVGO.d.cts} +35 -35
- package/dist/{IntakeMedia.d-DNUAks9E.d.ts → IntakeMedia.d-DnUZJsbj.d.ts} +35 -35
package/dist/tabs/index.d.cts
CHANGED
|
@@ -5,25 +5,67 @@ import { EverfurRecordsProps } from '@everfur/sdk/records';
|
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
7
7
|
import { P as PetRef } from '../ids.d-B2GAAifq.cjs';
|
|
8
|
+
import { b as EverfurInboxOpen } from '../inbox.d-ChNXTovj.cjs';
|
|
8
9
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.cjs';
|
|
9
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded, I as IntroText } from '../introEvents.d-
|
|
10
|
-
export { c as EVERFUR_INTRO_COPY, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../introEvents.d-
|
|
10
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded, I as IntroText } from '../introEvents.d-JvAWRKYu.cjs';
|
|
11
|
+
export { c as EVERFUR_INTRO_COPY, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../introEvents.d-JvAWRKYu.cjs';
|
|
11
12
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-DjzUdDFx.cjs';
|
|
12
13
|
import { g as EverfurChatOpeningCard } from '../threadOptions.d-bEAFkIsC.cjs';
|
|
13
14
|
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
14
15
|
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
15
|
-
import {
|
|
16
|
+
import { EverfurInboxSheetProps } from '@everfur/sdk/notifications/inbox';
|
|
17
|
+
import { H as HealthPlanPage } from '../focus.d-B0qweva0.cjs';
|
|
16
18
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../useIntroSeen.d-CTWFUthO.cjs';
|
|
17
19
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../useIntroSeen.d-CTWFUthO.cjs';
|
|
18
20
|
import '../EverfurResult.d-BFH-3s6E.cjs';
|
|
19
21
|
import '../EverfurError.d-8NHtlgzA.cjs';
|
|
22
|
+
import '../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
23
|
+
import '../identity.d-_MK9Y7a4.cjs';
|
|
24
|
+
import '../config.d-Ba21AaZg.cjs';
|
|
25
|
+
import '../parse.d-DYsx1Q2V.cjs';
|
|
26
|
+
import '../visitIntent.d-D7_yVp1I.cjs';
|
|
20
27
|
import '../clinicModels.d-BXgKZqDb.cjs';
|
|
21
28
|
import '../models.d-BN53M9sU.cjs';
|
|
22
29
|
import '../threadOptions.d-CW51PyVd.cjs';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
import '../healthPlanRepository.d-fPbLceBr.cjs';
|
|
31
|
+
import '../requestFunnel.d-BwO-jFLX.cjs';
|
|
32
|
+
|
|
33
|
+
/** The shell's words. `{petName}` and `{time}` are filled in. */
|
|
34
|
+
interface EverfurTabsShellCopy {
|
|
35
|
+
/** The ask bar under the Health Plan tab. */
|
|
36
|
+
readonly planPlaceholder: string;
|
|
37
|
+
/** The ask bar under the Records tab. */
|
|
38
|
+
readonly recordsPlaceholder: string;
|
|
39
|
+
/** The ask bar's field's accessible name (the chat composer's, `CHAT_COPY.composerLabel`). */
|
|
40
|
+
readonly field: string;
|
|
41
|
+
/** The ask bar's send button's accessible name. */
|
|
42
|
+
readonly send: string;
|
|
43
|
+
/** The header's back button (a pushed view). */
|
|
44
|
+
readonly back: string;
|
|
45
|
+
/** The small line over the everfur wordmark in the header. */
|
|
46
|
+
readonly poweredBy: string;
|
|
47
|
+
/** The header lockup's accessible name: your name, then this. */
|
|
48
|
+
readonly poweredByLabel: string;
|
|
49
|
+
/** The kicker of the card a notification opens Ask under. */
|
|
50
|
+
readonly notificationKicker: string;
|
|
51
|
+
}
|
|
52
|
+
declare const EVERFUR_TABS_SHELL_COPY: EverfurTabsShellCopy;
|
|
53
|
+
|
|
54
|
+
/** The shell header's options (`EverfurTabs header=`). Every one is optional. */
|
|
55
|
+
interface EverfurTabsHeader {
|
|
56
|
+
/** The pet's photo. Absent: the SDK's pet disc (its initial). */
|
|
57
|
+
readonly petPhotoUrl?: string | null;
|
|
58
|
+
/** The pet button was pressed (your pet switcher). Absent: the pet is not a button. */
|
|
59
|
+
readonly onPet?: () => void;
|
|
60
|
+
/** Your mark in the middle. Absent: the theme's logo (`theme.meta.logoUrl`). */
|
|
61
|
+
readonly mark?: ReactNode;
|
|
62
|
+
/** The bell on the end. Default true; false draws none. */
|
|
63
|
+
readonly bell?: boolean;
|
|
64
|
+
/** Your own action for the bell. Absent: the bell opens the inbox sheet. */
|
|
65
|
+
readonly onBell?: () => void;
|
|
66
|
+
/** Props for the inbox sheet the bell opens (its copy, row styles, `onOpen`). */
|
|
67
|
+
readonly inbox?: Omit<EverfurInboxSheetProps, 'visible' | 'onClose'>;
|
|
68
|
+
}
|
|
27
69
|
|
|
28
70
|
/**
|
|
29
71
|
* How the member got here, said by the host (explicit, owner decision (a)): a plain open from your app's own tab bar,
|
|
@@ -93,6 +135,21 @@ interface EverfurTabsProps {
|
|
|
93
135
|
readonly renderRecords?: (page: ReactNode) => ReactNode;
|
|
94
136
|
/** Your content under a pane (a composer), drawn inside the pane after the SDK's surface. */
|
|
95
137
|
readonly paneFooter?: Partial<Record<EverfurTabId, ReactNode>>;
|
|
138
|
+
/**
|
|
139
|
+
* The partner phone's header over the tabs: the pet, your mark (with "powered by everfur" on Ask), and the bell that
|
|
140
|
+
* opens the member's inbox; a pushed view shows a back button and its title. Default off (most apps draw their own
|
|
141
|
+
* header); `true` or the header's options turn it on.
|
|
142
|
+
*/
|
|
143
|
+
readonly header?: boolean | EverfurTabsHeader;
|
|
144
|
+
/**
|
|
145
|
+
* The ask bar under Health Plan and Records (the Ask tab has the chat's own composer): a question sent there opens
|
|
146
|
+
* Ask with it. Default true; a `paneFooter` for that tab replaces it; false draws none.
|
|
147
|
+
*/
|
|
148
|
+
readonly composer?: boolean;
|
|
149
|
+
/** A dot on a tab's label (the design's `.ph-new`), for news on that tab. */
|
|
150
|
+
readonly badges?: Partial<Record<EverfurTabId, boolean>>;
|
|
151
|
+
/** The shell's own words (the ask bar's placeholders, the header's back and lockup, the notification card's kicker). */
|
|
152
|
+
readonly shellCopy?: Partial<EverfurTabsShellCopy>;
|
|
96
153
|
/**
|
|
97
154
|
* The pet's results are not back yet: Ask draws no focus card and no pill and offers `pendingStarterPrompts`, and
|
|
98
155
|
* the intro uses its waiting lines. Absent: read from the pet's Health Plan page (its waiting card, `wait`); set it
|
|
@@ -126,6 +183,20 @@ interface EverfurTabsHandle {
|
|
|
126
183
|
ask(prompt: string, card?: EverfurChatOpeningCard): void;
|
|
127
184
|
/** The design's records request sheet (his 2a and 2b): her clinic, the consent, Sent. Backing out stays where you are. */
|
|
128
185
|
requestRecords(): void;
|
|
186
|
+
/**
|
|
187
|
+
* A view pushed over the tabs (a record's detail): the tab bar hides and the header (when on) shows a back button and
|
|
188
|
+
* `title`. Returns the pop; `onBack` runs on the header's back.
|
|
189
|
+
*/
|
|
190
|
+
push(view: {
|
|
191
|
+
readonly title: string;
|
|
192
|
+
readonly onBack: () => void;
|
|
193
|
+
}): () => void;
|
|
194
|
+
/**
|
|
195
|
+
* A tapped inbox item, routed as the partner phone does: Ask opens on a fresh chat with the item's title asked under
|
|
196
|
+
* a "Notification" card; an item about the plan or the records opens that tab. False when the shell does not take it
|
|
197
|
+
* (a visit), for your own route. Pass it as `EverfurInbox`'s `onOpen` to route your own inbox through the shell.
|
|
198
|
+
*/
|
|
199
|
+
openInboxItem(open: EverfurInboxOpen): boolean;
|
|
129
200
|
}
|
|
130
201
|
/** The shell around you, inside EverfurTabs (a pane footer, your records section); null outside it. */
|
|
131
202
|
declare function useEverfurTabs(): EverfurTabsHandle | null;
|
|
@@ -192,4 +263,4 @@ interface EverfurRecordsLandedBannerProps {
|
|
|
192
263
|
}
|
|
193
264
|
declare function EverfurRecordsLandedBanner({ text, icon, onLand, testID }: EverfurRecordsLandedBannerProps): ReactNode;
|
|
194
265
|
|
|
195
|
-
export { EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, IntroText, RECORDS_BANNER_MS, useEverfurTabs };
|
|
266
|
+
export { EVERFUR_TABS_SHELL_COPY, EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsHeader, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, type EverfurTabsShellCopy, IntroText, RECORDS_BANNER_MS, useEverfurTabs };
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -5,25 +5,67 @@ import { EverfurRecordsProps } from '@everfur/sdk/records';
|
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
7
7
|
import { P as PetRef } from '../ids.d-B2GAAifq.js';
|
|
8
|
+
import { b as EverfurInboxOpen } from '../inbox.d-CuuPTWyW.js';
|
|
8
9
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.js';
|
|
9
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded, I as IntroText } from '../introEvents.d-
|
|
10
|
-
export { c as EVERFUR_INTRO_COPY, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../introEvents.d-
|
|
10
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded, I as IntroText } from '../introEvents.d-D6Ay0ORN.js';
|
|
11
|
+
export { c as EVERFUR_INTRO_COPY, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../introEvents.d-D6Ay0ORN.js';
|
|
11
12
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-BuMuGoVZ.js';
|
|
12
13
|
import { g as EverfurChatOpeningCard } from '../threadOptions.d-U5YBUKM-.js';
|
|
13
14
|
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.js';
|
|
14
15
|
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.js';
|
|
15
|
-
import {
|
|
16
|
+
import { EverfurInboxSheetProps } from '@everfur/sdk/notifications/inbox';
|
|
17
|
+
import { H as HealthPlanPage } from '../focus.d-7G0BBmA9.js';
|
|
16
18
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../useIntroSeen.d-CTWFUthO.js';
|
|
17
19
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../useIntroSeen.d-CTWFUthO.js';
|
|
18
20
|
import '../EverfurResult.d-D_-254ZY.js';
|
|
19
21
|
import '../EverfurError.d-8NHtlgzA.js';
|
|
22
|
+
import '../ErrorPolicyPort.d-68yrE3BE.js';
|
|
23
|
+
import '../identity.d-B7dPRGqm.js';
|
|
24
|
+
import '../config.d--6siaeNg.js';
|
|
25
|
+
import '../parse.d-Do0sdAgm.js';
|
|
26
|
+
import '../visitIntent.d-D7_yVp1I.js';
|
|
20
27
|
import '../clinicModels.d-CaS64-P-.js';
|
|
21
28
|
import '../models.d-Bhq9p6Wa.js';
|
|
22
29
|
import '../threadOptions.d-CW51PyVd.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
import '../healthPlanRepository.d-CdCyUWph.js';
|
|
31
|
+
import '../requestFunnel.d-LSnmCusf.js';
|
|
32
|
+
|
|
33
|
+
/** The shell's words. `{petName}` and `{time}` are filled in. */
|
|
34
|
+
interface EverfurTabsShellCopy {
|
|
35
|
+
/** The ask bar under the Health Plan tab. */
|
|
36
|
+
readonly planPlaceholder: string;
|
|
37
|
+
/** The ask bar under the Records tab. */
|
|
38
|
+
readonly recordsPlaceholder: string;
|
|
39
|
+
/** The ask bar's field's accessible name (the chat composer's, `CHAT_COPY.composerLabel`). */
|
|
40
|
+
readonly field: string;
|
|
41
|
+
/** The ask bar's send button's accessible name. */
|
|
42
|
+
readonly send: string;
|
|
43
|
+
/** The header's back button (a pushed view). */
|
|
44
|
+
readonly back: string;
|
|
45
|
+
/** The small line over the everfur wordmark in the header. */
|
|
46
|
+
readonly poweredBy: string;
|
|
47
|
+
/** The header lockup's accessible name: your name, then this. */
|
|
48
|
+
readonly poweredByLabel: string;
|
|
49
|
+
/** The kicker of the card a notification opens Ask under. */
|
|
50
|
+
readonly notificationKicker: string;
|
|
51
|
+
}
|
|
52
|
+
declare const EVERFUR_TABS_SHELL_COPY: EverfurTabsShellCopy;
|
|
53
|
+
|
|
54
|
+
/** The shell header's options (`EverfurTabs header=`). Every one is optional. */
|
|
55
|
+
interface EverfurTabsHeader {
|
|
56
|
+
/** The pet's photo. Absent: the SDK's pet disc (its initial). */
|
|
57
|
+
readonly petPhotoUrl?: string | null;
|
|
58
|
+
/** The pet button was pressed (your pet switcher). Absent: the pet is not a button. */
|
|
59
|
+
readonly onPet?: () => void;
|
|
60
|
+
/** Your mark in the middle. Absent: the theme's logo (`theme.meta.logoUrl`). */
|
|
61
|
+
readonly mark?: ReactNode;
|
|
62
|
+
/** The bell on the end. Default true; false draws none. */
|
|
63
|
+
readonly bell?: boolean;
|
|
64
|
+
/** Your own action for the bell. Absent: the bell opens the inbox sheet. */
|
|
65
|
+
readonly onBell?: () => void;
|
|
66
|
+
/** Props for the inbox sheet the bell opens (its copy, row styles, `onOpen`). */
|
|
67
|
+
readonly inbox?: Omit<EverfurInboxSheetProps, 'visible' | 'onClose'>;
|
|
68
|
+
}
|
|
27
69
|
|
|
28
70
|
/**
|
|
29
71
|
* How the member got here, said by the host (explicit, owner decision (a)): a plain open from your app's own tab bar,
|
|
@@ -93,6 +135,21 @@ interface EverfurTabsProps {
|
|
|
93
135
|
readonly renderRecords?: (page: ReactNode) => ReactNode;
|
|
94
136
|
/** Your content under a pane (a composer), drawn inside the pane after the SDK's surface. */
|
|
95
137
|
readonly paneFooter?: Partial<Record<EverfurTabId, ReactNode>>;
|
|
138
|
+
/**
|
|
139
|
+
* The partner phone's header over the tabs: the pet, your mark (with "powered by everfur" on Ask), and the bell that
|
|
140
|
+
* opens the member's inbox; a pushed view shows a back button and its title. Default off (most apps draw their own
|
|
141
|
+
* header); `true` or the header's options turn it on.
|
|
142
|
+
*/
|
|
143
|
+
readonly header?: boolean | EverfurTabsHeader;
|
|
144
|
+
/**
|
|
145
|
+
* The ask bar under Health Plan and Records (the Ask tab has the chat's own composer): a question sent there opens
|
|
146
|
+
* Ask with it. Default true; a `paneFooter` for that tab replaces it; false draws none.
|
|
147
|
+
*/
|
|
148
|
+
readonly composer?: boolean;
|
|
149
|
+
/** A dot on a tab's label (the design's `.ph-new`), for news on that tab. */
|
|
150
|
+
readonly badges?: Partial<Record<EverfurTabId, boolean>>;
|
|
151
|
+
/** The shell's own words (the ask bar's placeholders, the header's back and lockup, the notification card's kicker). */
|
|
152
|
+
readonly shellCopy?: Partial<EverfurTabsShellCopy>;
|
|
96
153
|
/**
|
|
97
154
|
* The pet's results are not back yet: Ask draws no focus card and no pill and offers `pendingStarterPrompts`, and
|
|
98
155
|
* the intro uses its waiting lines. Absent: read from the pet's Health Plan page (its waiting card, `wait`); set it
|
|
@@ -126,6 +183,20 @@ interface EverfurTabsHandle {
|
|
|
126
183
|
ask(prompt: string, card?: EverfurChatOpeningCard): void;
|
|
127
184
|
/** The design's records request sheet (his 2a and 2b): her clinic, the consent, Sent. Backing out stays where you are. */
|
|
128
185
|
requestRecords(): void;
|
|
186
|
+
/**
|
|
187
|
+
* A view pushed over the tabs (a record's detail): the tab bar hides and the header (when on) shows a back button and
|
|
188
|
+
* `title`. Returns the pop; `onBack` runs on the header's back.
|
|
189
|
+
*/
|
|
190
|
+
push(view: {
|
|
191
|
+
readonly title: string;
|
|
192
|
+
readonly onBack: () => void;
|
|
193
|
+
}): () => void;
|
|
194
|
+
/**
|
|
195
|
+
* A tapped inbox item, routed as the partner phone does: Ask opens on a fresh chat with the item's title asked under
|
|
196
|
+
* a "Notification" card; an item about the plan or the records opens that tab. False when the shell does not take it
|
|
197
|
+
* (a visit), for your own route. Pass it as `EverfurInbox`'s `onOpen` to route your own inbox through the shell.
|
|
198
|
+
*/
|
|
199
|
+
openInboxItem(open: EverfurInboxOpen): boolean;
|
|
129
200
|
}
|
|
130
201
|
/** The shell around you, inside EverfurTabs (a pane footer, your records section); null outside it. */
|
|
131
202
|
declare function useEverfurTabs(): EverfurTabsHandle | null;
|
|
@@ -192,4 +263,4 @@ interface EverfurRecordsLandedBannerProps {
|
|
|
192
263
|
}
|
|
193
264
|
declare function EverfurRecordsLandedBanner({ text, icon, onLand, testID }: EverfurRecordsLandedBannerProps): ReactNode;
|
|
194
265
|
|
|
195
|
-
export { EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, IntroText, RECORDS_BANNER_MS, useEverfurTabs };
|
|
266
|
+
export { EVERFUR_TABS_SHELL_COPY, EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsHeader, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, type EverfurTabsShellCopy, IntroText, RECORDS_BANNER_MS, useEverfurTabs };
|