@everfur/sdk 0.12.0 → 0.13.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.
Files changed (268) hide show
  1. package/CHANGELOG.md +174 -0
  2. package/README.md +2 -1
  3. package/dist/{Chat-BOG0SXKV.d.cts → Chat.d-DUNTfzqC.d.ts} +170 -8
  4. package/dist/{Chat-CIolBgjJ.d.ts → Chat.d-Dts8u_1a.d.cts} +170 -8
  5. package/dist/{DepthViews-BR6VQ3Ta.d.cts → DepthViews.d-BIp599lz.d.cts} +1 -1
  6. package/dist/{DepthViews-280t3BcQ.d.ts → DepthViews.d-BMU2jFPw.d.cts} +1 -1
  7. package/dist/{DepthViews-DlBuFsgN.d.ts → DepthViews.d-Ce2Zhnrb.d.ts} +1 -1
  8. package/dist/{DepthViews-BTbF_DJY.d.cts → DepthViews.d-CubkMPbU.d.ts} +1 -1
  9. package/dist/{ErrorPolicyPort-10s3HJCt.d.cts → ErrorPolicyPort.d-68yrE3BE.d.ts} +1 -1
  10. package/dist/{ErrorPolicyPort-C3nNSS_j.d.ts → ErrorPolicyPort.d-DirW9hgO.d.cts} +1 -1
  11. package/dist/{EverfurError-DeBqRpQV.d.cts → EverfurError.d-8NHtlgzA.d.cts} +11 -1
  12. package/dist/{EverfurError-DeBqRpQV.d.ts → EverfurError.d-8NHtlgzA.d.ts} +11 -1
  13. package/dist/{EverfurResult-ClPTS0P2.d.ts → EverfurResult.d-BFH-3s6E.d.cts} +1 -1
  14. package/dist/{EverfurResult-COlXj1wq.d.cts → EverfurResult.d-D_-254ZY.d.ts} +1 -1
  15. package/dist/{IntakeMedia-BH0fYDT2.d.cts → IntakeMedia.d-4a89XrP7.d.ts} +1 -1
  16. package/dist/{IntakeMedia-B-_vA9ZB.d.cts → IntakeMedia.d-DGxrhgIW.d.ts} +1 -1
  17. package/dist/{IntakeMedia-CIoTXAWs.d.ts → IntakeMedia.d-DUPR4lVM.d.cts} +1 -1
  18. package/dist/{IntakeMedia-Bavl7E4Z.d.ts → IntakeMedia.d-JJCUvQu7.d.cts} +1 -1
  19. package/dist/LifecyclePort.d-Cr1p33a7.d.cts +23 -0
  20. package/dist/LifecyclePort.d-Cr1p33a7.d.ts +23 -0
  21. package/dist/{PhotoController-vzY5bfY_.d.ts → PhotoController.d-BzCJOE7e.d.cts} +2 -2
  22. package/dist/{PhotoController-3l7MT9jA.d.cts → PhotoController.d-D0XiUUOl.d.ts} +2 -2
  23. package/dist/animations/index.cjs +5 -1
  24. package/dist/animations/index.d.cts +24 -24
  25. package/dist/animations/index.d.ts +24 -24
  26. package/dist/animations/index.js +5 -1
  27. package/dist/{attachments-CGxvnYu4.d.ts → attachments.d-Bp2qbHxn.d.cts} +22 -26
  28. package/dist/{attachments-CWNj1ZkM.d.ts → attachments.d-D1yhJjcZ.d.ts} +4 -4
  29. package/dist/{attachments-waXcJWCp.d.cts → attachments.d-DisnvB9R.d.cts} +4 -4
  30. package/dist/{attachments-B6h4cJU-.d.cts → attachments.d-Djy9z_0Z.d.ts} +22 -26
  31. package/dist/{bookingCopy-CjPKeg75.d.ts → bookingCopy.d-BJF6gd1A.d.ts} +24 -9
  32. package/dist/{bookingCopy-8aEU6ZmR.d.cts → bookingCopy.d-BlBmhAJc.d.cts} +24 -9
  33. package/dist/{branding-DJf4h12Q.d.ts → branding.d-DI8S400y.d.cts} +9 -2
  34. package/dist/{branding-BCfwLj0h.d.cts → branding.d-OIGLbQeM.d.ts} +9 -2
  35. package/dist/{callRoom-BhIdadyV.d.cts → callRoom.d-B1DoYdJe.d.cts} +1 -1
  36. package/dist/{callRoom-B92eH_ij.d.ts → callRoom.d-Dqm1rUqT.d.ts} +1 -1
  37. package/dist/{casesRepository-CGdhvzTu.d.cts → casesRepository.d-CT2LTicS.d.cts} +3 -3
  38. package/dist/{casesRepository-ZG9Sg0e4.d.ts → casesRepository.d-UsWOz9bv.d.ts} +3 -3
  39. package/dist/chat/index.cjs +132 -57
  40. package/dist/chat/index.d.cts +18 -16
  41. package/dist/chat/index.d.ts +18 -16
  42. package/dist/chat/index.js +133 -58
  43. package/dist/client/index.cjs +15 -10
  44. package/dist/client/index.d.cts +19 -18
  45. package/dist/client/index.d.ts +19 -18
  46. package/dist/client/index.js +15 -10
  47. package/dist/{config-B0p6Lygh.d.cts → config.d-BR3DT9ho.d.cts} +3 -3
  48. package/dist/{config-DmFAZJOx.d.ts → config.d-Dy6igYlH.d.ts} +3 -3
  49. package/dist/consent/index.cjs +5 -1
  50. package/dist/consent/index.d.cts +10 -10
  51. package/dist/consent/index.d.ts +10 -10
  52. package/dist/consent/index.js +5 -1
  53. package/dist/{context-BNreNLtL.d.ts → context.d-Cwks0p3C.d.cts} +15 -15
  54. package/dist/{context-BgS2a57J.d.cts → context.d-QcCgguzA.d.ts} +15 -15
  55. package/dist/{copy-DLJriGQS.d.ts → copy.d-CiMn2IIt.d.ts} +6 -6
  56. package/dist/{copy-lWp-Lkv5.d.cts → copy.d-DLJTyRfT.d.cts} +6 -6
  57. package/dist/core/index.cjs +17 -13
  58. package/dist/core/index.d.cts +33 -29
  59. package/dist/core/index.d.ts +33 -29
  60. package/dist/core/index.js +17 -13
  61. package/dist/{depth-BYb3RXoA.d.cts → depth.d-CjPGVPDL.d.cts} +9 -115
  62. package/dist/{depth-COz-sSG5.d.ts → depth.d-OSALbYM7.d.ts} +9 -115
  63. package/dist/{entitlementRepository-D-Lse67w.d.cts → entitlementRepository.d-CVQa1DA1.d.cts} +10 -5
  64. package/dist/{entitlementRepository-CrTOP_-o.d.ts → entitlementRepository.d-Cf3LbTwD.d.ts} +10 -5
  65. package/dist/features.d-fNsGcg0R.d.cts +108 -0
  66. package/dist/features.d-fNsGcg0R.d.ts +108 -0
  67. package/dist/focus.d-DMg2ngHI.d.ts +1178 -0
  68. package/dist/focus.d-az9cqUz3.d.cts +1178 -0
  69. package/dist/health-plan/index.cjs +370 -0
  70. package/dist/health-plan/index.d.cts +251 -0
  71. package/dist/health-plan/index.d.ts +251 -0
  72. package/dist/health-plan/index.js +370 -0
  73. package/dist/idempotency.d-D461_DPD.d.cts +910 -0
  74. package/dist/idempotency.d-WpXx9zQo.d.ts +910 -0
  75. package/dist/{identity-Cw07BKZp.d.ts → identity.d-60LeJt_s.d.cts} +3 -3
  76. package/dist/{identity-DFVGYn1o.d.cts → identity.d-DzTijonw.d.ts} +3 -3
  77. package/dist/index.cjs +141 -66
  78. package/dist/index.d.cts +31 -29
  79. package/dist/index.d.ts +31 -29
  80. package/dist/index.js +142 -67
  81. package/dist/{models-A4A5S7AG.d.cts → models.d-BagXhafD.d.ts} +8 -3
  82. package/dist/{models-CnXY5LuO.d.ts → models.d-BnLm3VAA.d.cts} +8 -3
  83. package/dist/notifications/index.cjs +5 -1
  84. package/dist/notifications/index.d.cts +9 -9
  85. package/dist/notifications/index.d.ts +9 -9
  86. package/dist/notifications/index.js +5 -1
  87. package/dist/optInView.d-CEyHR6PK.d.cts +325 -0
  88. package/dist/optInView.d-acKpV8V2.d.ts +325 -0
  89. package/dist/parse.d-C8CXyS58.d.ts +210 -0
  90. package/dist/parse.d-tEzufgJX.d.cts +210 -0
  91. package/dist/{pets-BYALZTSu.d.ts → pets.d-C_53_fzo.d.ts} +3 -3
  92. package/dist/{pets-CcyPQS-H.d.cts → pets.d-NbJvP_kh.d.cts} +3 -3
  93. package/dist/{petsRepository-B_Q1gFkE.d.cts → petsRepository.d-BuGHymNx.d.ts} +4 -4
  94. package/dist/{petsRepository-518QkPxH.d.ts → petsRepository.d-lp1BHRqM.d.cts} +4 -4
  95. package/dist/photo/index.cjs +6 -2
  96. package/dist/photo/index.d.cts +9 -9
  97. package/dist/photo/index.d.ts +9 -9
  98. package/dist/photo/index.js +6 -2
  99. package/dist/{ports-BN6RHF9W.d.ts → ports.d-BX4f4UsB.d.cts} +14 -1
  100. package/dist/{ports-BN6RHF9W.d.cts → ports.d-BX4f4UsB.d.ts} +14 -1
  101. package/dist/{ports-RuNJmBA-.d.cts → ports.d-CEROoqnA.d.cts} +16 -10
  102. package/dist/{ports-DmQeMArX.d.ts → ports.d-COIyN624.d.ts} +16 -10
  103. package/dist/presentation.d-DMbdad7G.d.cts +90 -0
  104. package/dist/presentation.d-DMbdad7G.d.ts +90 -0
  105. package/dist/records/depth/index.cjs +11 -7
  106. package/dist/records/depth/index.d.cts +14 -12
  107. package/dist/records/depth/index.d.ts +14 -12
  108. package/dist/records/depth/index.js +11 -7
  109. package/dist/records/index.cjs +225 -62
  110. package/dist/records/index.d.cts +159 -20
  111. package/dist/records/index.d.ts +159 -20
  112. package/dist/records/index.js +225 -62
  113. package/dist/recordsAsk.d-C5CGSi3j.d.cts +14 -0
  114. package/dist/recordsAsk.d-C5CGSi3j.d.ts +14 -0
  115. package/dist/{requestFunnel-B9fdXMi5.d.ts → requestFunnel.d-CXUMPw1K.d.ts} +5 -5
  116. package/dist/{requestFunnel-BBjNNwc9.d.cts → requestFunnel.d-DWQQpjFR.d.cts} +5 -5
  117. package/dist/{resolve-D4Ywz5OS.d.ts → resolve.d-jI8FmBj3.d.cts} +3 -3
  118. package/dist/{resolve-D4Ywz5OS.d.cts → resolve.d-jI8FmBj3.d.ts} +3 -3
  119. package/dist/{runtimeTypes-CstDBX8w.d.cts → runtimeTypes.d-4yFNNuYR.d.ts} +20 -13
  120. package/dist/{runtimeTypes-N_K4BVZB.d.ts → runtimeTypes.d-D6N_fhxx.d.cts} +20 -13
  121. package/dist/server/events/index.cjs +7 -3
  122. package/dist/server/events/index.d.cts +51 -9
  123. package/dist/server/events/index.d.ts +51 -9
  124. package/dist/server/events/index.js +7 -3
  125. package/dist/server/index.cjs +12 -6
  126. package/dist/server/index.d.cts +152 -8
  127. package/dist/server/index.d.ts +152 -8
  128. package/dist/server/index.js +12 -6
  129. package/dist/sheetCopy.d-CAhLOxjc.d.cts +4 -0
  130. package/dist/sheetCopy.d-CAhLOxjc.d.ts +4 -0
  131. package/dist/sheetSeam.d-Cviqk89n.d.ts +45 -0
  132. package/dist/sheetSeam.d-DCS3LW8g.d.cts +45 -0
  133. package/dist/shop/index.cjs +262 -0
  134. package/dist/shop/index.d.cts +193 -0
  135. package/dist/shop/index.d.ts +193 -0
  136. package/dist/shop/index.js +262 -0
  137. package/dist/televet/booking/index.cjs +16 -12
  138. package/dist/televet/booking/index.d.cts +36 -22
  139. package/dist/televet/booking/index.d.ts +36 -22
  140. package/dist/televet/booking/index.js +16 -12
  141. package/dist/televet/call/index.d.cts +5 -5
  142. package/dist/televet/call/index.d.ts +5 -5
  143. package/dist/televet/index.cjs +7 -3
  144. package/dist/televet/index.d.cts +12 -12
  145. package/dist/televet/index.d.ts +12 -12
  146. package/dist/televet/index.js +7 -3
  147. package/dist/{televetGlobal-C5dTUACe.d.cts → televetGlobal.d-CC-DrqkQ.d.ts} +7 -2
  148. package/dist/{televetGlobal-CnjrfhT4.d.ts → televetGlobal.d-CKwDCbmN.d.cts} +7 -2
  149. package/dist/testing/index.cjs +7 -3
  150. package/dist/testing/index.d.cts +3 -3
  151. package/dist/testing/index.d.ts +3 -3
  152. package/dist/testing/index.js +7 -3
  153. package/dist/testing/rn/index.cjs +5 -1
  154. package/dist/testing/rn/index.d.cts +23 -22
  155. package/dist/testing/rn/index.d.ts +23 -22
  156. package/dist/testing/rn/index.js +5 -1
  157. package/dist/testing/web/index.cjs +5 -1
  158. package/dist/testing/web/index.d.cts +23 -22
  159. package/dist/testing/web/index.d.ts +23 -22
  160. package/dist/testing/web/index.js +5 -1
  161. package/dist/texting/index.cjs +158 -0
  162. package/dist/texting/index.d.cts +36 -0
  163. package/dist/texting/index.d.ts +36 -0
  164. package/dist/texting/index.js +158 -0
  165. package/dist/threadOptions.d-B1pTMmDF.d.cts +260 -0
  166. package/dist/threadOptions.d-B1pTMmDF.d.ts +260 -0
  167. package/dist/{timelineRows-7yjHyh8i.d.ts → timelineRows.d-BNxgzYRW.d.cts} +1 -1
  168. package/dist/{timelineRows-WvnL-Lds.d.cts → timelineRows.d-CU5GvvLk.d.ts} +1 -1
  169. package/dist/{tokens-DLj8OnLH.d.cts → tokens.d-DarDaV39.d.cts} +10 -2
  170. package/dist/{tokens-DLj8OnLH.d.ts → tokens.d-DarDaV39.d.ts} +10 -2
  171. package/dist/{typeStyle-BxVyF71R.d.ts → typeStyle.d-Bl8pzbBy.d.cts} +2 -2
  172. package/dist/{typeStyle-DJedEu14.d.cts → typeStyle.d-C1HBRAI3.d.ts} +2 -2
  173. package/dist/{uploadTransport-BM_pnEWj.d.cts → uploadTransport.d-CWL7CdWP.d.cts} +1 -1
  174. package/dist/{uploadTransport-C6kGP1Kd.d.ts → uploadTransport.d-EGoUl7gX.d.ts} +1 -1
  175. package/dist/usePresentation.d-D6qsFzBz.d.cts +9 -0
  176. package/dist/usePresentation.d-DuGQe_Do.d.ts +9 -0
  177. package/dist/useRecords.d-Cb-36SF5.d.cts +121 -0
  178. package/dist/useRecords.d-aQTzQZoV.d.ts +121 -0
  179. package/dist/{useRecordsDepth-Bp6L4M5P.d.ts → useRecordsDepth.d-DFcCfiXm.d.ts} +8 -20
  180. package/dist/{useRecordsDepth-DPdAK_81.d.cts → useRecordsDepth.d-sAq2Qkhr.d.cts} +8 -20
  181. package/dist/{useVetVisit-DmWa7lt1.d.ts → useVetVisit.d-BtdwhmgD.d.cts} +15 -4
  182. package/dist/{useVetVisit-PtBjNwZr.d.cts → useVetVisit.d-DoYQimyt.d.ts} +15 -4
  183. package/dist/video/index.cjs +6 -2
  184. package/dist/video/index.d.cts +7 -7
  185. package/dist/video/index.d.ts +7 -7
  186. package/dist/video/index.js +6 -2
  187. package/dist/{view-C6go2uUt.d.ts → view.d-C-SNpDJX.d.ts} +10 -122
  188. package/dist/{view-CiF_HVFQ.d.cts → view.d-Dps5C8-s.d.cts} +10 -122
  189. package/dist/web/consent/index.cjs +5 -1
  190. package/dist/web/consent/index.d.cts +10 -10
  191. package/dist/web/consent/index.d.ts +10 -10
  192. package/dist/web/consent/index.js +5 -1
  193. package/dist/web/health-plan/index.cjs +414 -0
  194. package/dist/web/health-plan/index.d.cts +335 -0
  195. package/dist/web/health-plan/index.d.ts +335 -0
  196. package/dist/web/health-plan/index.js +414 -0
  197. package/dist/web/index.cjs +150 -82
  198. package/dist/web/index.d.cts +152 -38
  199. package/dist/web/index.d.ts +152 -38
  200. package/dist/web/index.js +150 -82
  201. package/dist/web/notifications/index.cjs +16 -3
  202. package/dist/web/notifications/index.d.cts +39 -209
  203. package/dist/web/notifications/index.d.ts +39 -209
  204. package/dist/web/notifications/index.js +16 -3
  205. package/dist/web/records/depth/index.cjs +11 -7
  206. package/dist/web/records/depth/index.d.cts +14 -12
  207. package/dist/web/records/depth/index.d.ts +14 -12
  208. package/dist/web/records/depth/index.js +11 -7
  209. package/dist/web/records/index.cjs +95 -68
  210. package/dist/web/records/index.d.cts +66 -21
  211. package/dist/web/records/index.d.ts +66 -21
  212. package/dist/web/records/index.js +95 -68
  213. package/dist/web/records/upload/index.d.cts +2 -2
  214. package/dist/web/records/upload/index.d.ts +2 -2
  215. package/dist/web/records-sheet/index.cjs +278 -0
  216. package/dist/web/records-sheet/index.d.cts +102 -0
  217. package/dist/web/records-sheet/index.d.ts +102 -0
  218. package/dist/web/records-sheet/index.js +278 -0
  219. package/dist/web/shop/index.cjs +301 -0
  220. package/dist/web/shop/index.d.cts +42 -0
  221. package/dist/web/shop/index.d.ts +42 -0
  222. package/dist/web/shop/index.js +301 -0
  223. package/dist/web/televet/booking/index.cjs +16 -12
  224. package/dist/web/televet/booking/index.d.cts +37 -23
  225. package/dist/web/televet/booking/index.d.ts +37 -23
  226. package/dist/web/televet/booking/index.js +16 -12
  227. package/dist/web/televet/call/index.d.cts +4 -4
  228. package/dist/web/televet/call/index.d.ts +4 -4
  229. package/dist/web/televet/index.cjs +7 -3
  230. package/dist/web/televet/index.d.cts +12 -12
  231. package/dist/web/televet/index.d.ts +12 -12
  232. package/dist/web/televet/index.js +7 -3
  233. package/dist/web/texting/index.cjs +157 -0
  234. package/dist/web/texting/index.d.cts +36 -0
  235. package/dist/web/texting/index.d.ts +36 -0
  236. package/dist/web/texting/index.js +157 -0
  237. package/health-plan/package.json +8 -0
  238. package/package.json +106 -4
  239. package/shop/package.json +8 -0
  240. package/texting/package.json +8 -0
  241. package/web/health-plan/native-blocked.cjs +12 -0
  242. package/web/health-plan/package.json +8 -0
  243. package/web/records-sheet/native-blocked.cjs +12 -0
  244. package/web/records-sheet/package.json +8 -0
  245. package/web/shop/native-blocked.cjs +12 -0
  246. package/web/shop/package.json +8 -0
  247. package/web/texting/native-blocked.cjs +12 -0
  248. package/web/texting/package.json +8 -0
  249. /package/dist/{CameraPort-Cv31Pz7g.d.cts → CameraPort.d-Cv31Pz7g.d.cts} +0 -0
  250. /package/dist/{CameraPort-Cv31Pz7g.d.ts → CameraPort.d-Cv31Pz7g.d.ts} +0 -0
  251. /package/dist/{TelemetryPort-BDNr00hu.d.cts → TelemetryPort.d-BDNr00hu.d.cts} +0 -0
  252. /package/dist/{TelemetryPort-BDNr00hu.d.ts → TelemetryPort.d-BDNr00hu.d.ts} +0 -0
  253. /package/dist/{cacheEpoch-DknKn3S0.d.cts → cacheEpoch.d-DknKn3S0.d.cts} +0 -0
  254. /package/dist/{cacheEpoch-DknKn3S0.d.ts → cacheEpoch.d-DknKn3S0.d.ts} +0 -0
  255. /package/dist/{callCopy-Bw6oZT54.d.cts → callCopy.d-Bw6oZT54.d.cts} +0 -0
  256. /package/dist/{callCopy-Bw6oZT54.d.ts → callCopy.d-Bw6oZT54.d.ts} +0 -0
  257. /package/dist/{ids-B2GAAifq.d.cts → ids.d-B2GAAifq.d.cts} +0 -0
  258. /package/dist/{ids-B2GAAifq.d.ts → ids.d-B2GAAifq.d.ts} +0 -0
  259. /package/dist/{optionalModule-DbJmsq5f.d.cts → optionalModule.d-DbJmsq5f.d.cts} +0 -0
  260. /package/dist/{optionalModule-DbJmsq5f.d.ts → optionalModule.d-DbJmsq5f.d.ts} +0 -0
  261. /package/dist/{profile-CSs1wlXT.d.cts → profile.d-CSs1wlXT.d.cts} +0 -0
  262. /package/dist/{profile-CSs1wlXT.d.ts → profile.d-CSs1wlXT.d.ts} +0 -0
  263. /package/dist/{projection-CeIUsbSk.d.cts → projection.d-CeIUsbSk.d.cts} +0 -0
  264. /package/dist/{projection-CeIUsbSk.d.ts → projection.d-CeIUsbSk.d.ts} +0 -0
  265. /package/dist/{species-BXAIMh7I.d.cts → species.d-BXAIMh7I.d.cts} +0 -0
  266. /package/dist/{species-BXAIMh7I.d.ts → species.d-BXAIMh7I.d.ts} +0 -0
  267. /package/dist/{visitIntent-D7_yVp1I.d.cts → visitIntent.d-D7_yVp1I.d.cts} +0 -0
  268. /package/dist/{visitIntent-D7_yVp1I.d.ts → visitIntent.d-D7_yVp1I.d.ts} +0 -0
@@ -1,24 +1,94 @@
1
- import { R as RecordsController } from '../view-CiF_HVFQ.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-CiF_HVFQ.cjs';
1
+ import { R as RecordsController } from '../useRecords.d-Cb-36SF5.cjs';
2
+ export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../useRecords.d-Cb-36SF5.cjs';
3
3
  import { ReactNode } from 'react';
4
4
  import { StyleProp, ViewStyle } from 'react-native';
5
- import { P as PetRef, R as RecordsRequestId } from '../ids-B2GAAifq.cjs';
6
- export { B as Brand, D as DocumentId, _ as __brand } from '../ids-B2GAAifq.cjs';
7
- import { d as RecordsHostSeams, i as RecordsClinicController, j as CaptureRecordsSignature, e as RecordsScreen, f as RecordsScreenBaseProps, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../useRecordsDepth-DPdAK_81.cjs';
8
- 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-DPdAK_81.cjs';
9
- import { U as UploadTransport } from '../ports-BN6RHF9W.cjs';
10
- export { F as FileHandle, a as UploadPolicyWire } from '../ports-BN6RHF9W.cjs';
11
- import { R as RecordsDocumentPicker } from '../uploadTransport-BM_pnEWj.cjs';
12
- import { d as RecordsRequestView } from '../models-A4A5S7AG.cjs';
13
- 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-A4A5S7AG.cjs';
14
- export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, y as FactFieldValue, B 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, E as RecordFactEditInput, G as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, I as RecordMarker, J as RecordMarkerLatest, K as RecordMarkerPoint, L as RecordMarkerSummary, M as RecordMarkersView, N as RecordPdfLink, k as RecordPhysicalExam, O as RecordShare, l as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, m as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, n as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, o as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, p as RecordsTimelineMedication, q as RecordsTimelineVaccine, r as RecordsTimelineView, s as RecordsTimelineVisit, t as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../depth-BYb3RXoA.cjs';
15
- export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews-BTbF_DJY.cjs';
16
- export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError-DeBqRpQV.cjs';
17
- export { E as EverfurResult } from '../EverfurResult-COlXj1wq.cjs';
18
- import '../requestFunnel-BBjNNwc9.cjs';
19
- import '../ErrorPolicyPort-10s3HJCt.cjs';
20
- import '../config-B0p6Lygh.cjs';
21
- import '../identity-DFVGYn1o.cjs';
5
+ import { P as PetRef, R as RecordsRequestId } from '../ids.d-B2GAAifq.cjs';
6
+ export { B as Brand, D as DocumentId, _ as __brand } from '../ids.d-B2GAAifq.cjs';
7
+ import { d as RecordsScreenBaseProps, b as RecordsHostSeams, g as RecordsClinicController, h as CaptureRecordsSignature, c as RecordsScreen, C as ClinicDraft, i as ClinicRequestBaseProps, j as ClinicBatchBaseProps } from '../useRecordsDepth.d-sAq2Qkhr.cjs';
8
+ export { k as CapturedRecordsSignature, a as ClinicLocation, R as RecordsDepthStatus, l as RecordsNavAction, m as RecordsNavState, n as RecordsSignatureContext, e as RecordsUrlKind, o as RegisterSignaturePng, p as currentRecordsScreen, q as initialRecordsNav, r as popRecordsNav, s as pushRecordsNav, t as recordsNavReducer, v as replaceRecordsNav, w as resetRecordsNav, x as transitionRecordsNav } from '../useRecordsDepth.d-sAq2Qkhr.cjs';
9
+ import { U as UploadTransport } from '../ports.d-BX4f4UsB.cjs';
10
+ export { F as FileHandle, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.cjs';
11
+ import { R as RecordsDocumentPicker } from '../uploadTransport.d-CWL7CdWP.cjs';
12
+ import { i as EverfurPresentationInput } from '../presentation.d-DMbdad7G.cjs';
13
+ export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-DMbdad7G.cjs';
14
+ import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-BnLm3VAA.cjs';
15
+ export { f as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, g as RecordsDenialReason, j as RecordsRequestGroupView, h as RecordsRequestStatus, i as RecordsSimpleStatus, e as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../models.d-BnLm3VAA.cjs';
16
+ import { R as RecordsSheetPronoun } from '../sheetCopy.d-CAhLOxjc.cjs';
17
+ import { a as RecordsAskHandler } from '../recordsAsk.d-C5CGSi3j.cjs';
18
+ export { b as RecordsAsk, R as RecordsAskEntityRef } from '../recordsAsk.d-C5CGSi3j.cjs';
19
+ export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../view.d-Dps5C8-s.cjs';
20
+ export { C as CreateClinicRequestBatchInput, a3 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, B as RecordFactEditInput, D as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, E as RecordMarker, G as RecordMarkerLatest, I as RecordMarkerPoint, J as RecordMarkerSummary, K as RecordMarkersView, k as RecordPhysicalExam, a2 as RecordsAuthorizationCopy, L as RecordsAuthorizationSignature, l as RecordsClinic, M as RecordsClinicBatch, N as RecordsClinicBatchClient, O as RecordsClinicBatchItem, P as RecordsClinicBatchResult, $ as RecordsClinicSearchInput, a0 as RecordsClinicSearchPage, Q as RecordsClinicTarget, m as RecordsDepthClient, a1 as RecordsRecentClinicsInput, n as RecordsRequestDocument, S as RecordsSignatureSuggestion, a4 as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight } from '../depth.d-CjPGVPDL.cjs';
21
+ export { d as RecordPdfLink, e as RecordShare, R as RecordShareAudience, f as RecordShareAudienceScope, g as RecordShareEmailInput, h as RecordShareEmailReceipt, i as RecordShareLink, j as RecordShareRecipientKind, a as RecordsFeatures, q as RecordsPhotoContentType, b as RecordsUploadContentType, s as acceptsPhotos } from '../features.d-fNsGcg0R.cjs';
22
+ export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews.d-BMU2jFPw.cjs';
23
+ export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.cjs';
24
+ export { E as EverfurResult } from '../EverfurResult.d-BFH-3s6E.cjs';
25
+ import { m as EverfurTheme } from '../tokens.d-DarDaV39.cjs';
26
+ import '../requestFunnel.d-DWQQpjFR.cjs';
27
+ import '../ErrorPolicyPort.d-DirW9hgO.cjs';
28
+ import '../config.d-BR3DT9ho.cjs';
29
+ import '../identity.d-60LeJt_s.cjs';
30
+
31
+ /** The pet's sex as the plan page and the profile carry it. */
32
+ type RecordsSheetSex = 'female' | 'male' | 'unknown' | null | undefined;
33
+ /** The weight unit the sheet draws (lb by default; mobile honors an lb/kg setting, P22/R34). */
34
+ type RecordsSheetWeightUnit = 'lb' | 'kg';
35
+ /**
36
+ * Copy keys for words no source has yet. Each defaults to '' and an empty key HIDES its element: the SDK never
37
+ * renders a placeholder. Listed in the builder report as asks for Raph.
38
+ */
39
+ interface RecordsSheetRnCopy {
40
+ /** The pill beside an undated care item (R19; the line under it already reads "No due date on file"). */
41
+ readonly undatedPill: string;
42
+ }
43
+ declare const RECORDS_SHEET_RN_COPY: RecordsSheetRnCopy;
44
+
45
+ /** The two presentation fields the sheet reads (console values unless you set them; `useEverfurPresentation`). */
46
+ type RecordsSheetPresentation = Pick<EverfurPresentationInput, 'recordsTopRiskLine' | 'recordsClearResultsFilter'>;
47
+ /** What `renderTopSlot` is told. */
48
+ interface RecordsSheetTopSlotContext {
49
+ /** The tenant's `recordsClearResultsFilter`: your own results card's "other results clear" link is on. */
50
+ readonly clearResultsFilter: boolean;
51
+ }
52
+ /** Options for the React Native records sheet (`EverfurRecords`' `sheet`). */
53
+ interface EverfurRecordsSheetOptions {
54
+ /** How the sheet refers to the pet. Wins over `sex`. */
55
+ readonly pronoun?: RecordsSheetPronoun;
56
+ /** The pet's sex: her for female, his for male, else the pet's name. Without it the Health Plan page's is used. */
57
+ readonly sex?: RecordsSheetSex;
58
+ /** The pet's species (the sample peek leaves out dog-only tests for any other). Without it, your pet list's. */
59
+ readonly species?: string | null;
60
+ /** The weight unit: lb by default. */
61
+ readonly weightUnit?: RecordsSheetWeightUnit;
62
+ /** Your pet art over the vitals (Raph's pet on grass). The SDK ships no pet art: without it the vitals are a plain row. */
63
+ readonly renderStage?: () => ReactNode;
64
+ /** Your content at the top of a full sheet (Raph's place for a partner's own results card). */
65
+ readonly renderTopSlot?: (context: RecordsSheetTopSlotContext) => ReactNode;
66
+ /** A lab value was opened. Route it to your own screen (render `EverfurRecordsLabDetail`); without it the sheet opens it in place. */
67
+ readonly onOpenMarker?: (markerId: string) => void;
68
+ /** Opens your Health Plan. Without it the top risk line draws no "See her Health Plan" button. */
69
+ readonly onOpenPlan?: () => void;
70
+ /** Opens your screenings screen. Without it there is no Screenings tile. */
71
+ readonly onOpenScreenings?: () => void;
72
+ /** Your control on an overdue care row (book, remind). */
73
+ readonly renderUpcomingCareAction?: (item: RecordForwardItem) => ReactNode;
74
+ /** The presentation fields over the console's. */
75
+ readonly presentation?: RecordsSheetPresentation;
76
+ /** Words no source carries yet; each empty one hides its element. */
77
+ readonly copy?: Partial<RecordsSheetRnCopy>;
78
+ readonly style?: StyleProp<ViewStyle>;
79
+ /** The sheet's clock (tests). */
80
+ readonly nowMs?: number;
81
+ }
82
+ interface EverfurRecordsSheetProps extends RecordsScreenBaseProps {
83
+ readonly controller?: RecordsController;
84
+ readonly consentVersion?: string;
85
+ readonly consentText?: string;
86
+ readonly options?: EverfurRecordsSheetOptions;
87
+ readonly style?: StyleProp<ViewStyle>;
88
+ readonly renderPending?: () => ReactNode;
89
+ }
90
+ /** Raph's v3 records sheet as a screen of the records flow. */
91
+ declare function EverfurRecordsSheet(props: EverfurRecordsSheetProps): ReactNode;
22
92
 
23
93
  interface EverfurRecordsProps extends RecordsHostSeams {
24
94
  readonly petRef: PetRef;
@@ -49,6 +119,11 @@ interface EverfurRecordsProps extends RecordsHostSeams {
49
119
  readonly style?: StyleProp<ViewStyle>;
50
120
  /** Your own placeholder while the entitlement verdict is pending on a cold mount. */
51
121
  readonly renderPending?: () => ReactNode;
122
+ /**
123
+ * The first screen's look. On by default: Raph's v3 records sheet (`EverfurRecordsSheet`); pass its options to
124
+ * tune it. `false` keeps the previous records dashboard (`EverfurRecordsDashboard`).
125
+ */
126
+ readonly sheet?: boolean | EverfurRecordsSheetOptions;
52
127
  }
53
128
  declare function EverfurRecordsFlow(props: EverfurRecordsProps): ReactNode;
54
129
  /** The public prebuilt records surface: the flow, starting at the dashboard. */
@@ -183,4 +258,68 @@ declare function registerRnSignature(signaturePngBase64: string, controller: Rec
183
258
  readonly signatureId: string;
184
259
  }>;
185
260
 
186
- export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, registerRnSignature };
261
+ interface EverfurRecordsLabDetailProps {
262
+ readonly petRef: PetRef;
263
+ readonly petName?: string;
264
+ /** The lab value to show (a `markerId` from the records sheet's `onOpenMarker`). */
265
+ readonly markerId: string;
266
+ /** Your content after the latest reading (Raph's place for a partner's own result about this value). */
267
+ readonly renderExtra?: (markerId: string) => ReactNode;
268
+ /** Ask about this value in your chat; without it there is no Ask button. */
269
+ readonly onAsk?: RecordsAskHandler;
270
+ /** Draw the Ask control yourself: call `ask` on its press and label it with `label` ("Ask about this"). */
271
+ readonly renderAskButton?: (ask: () => void, label: string) => ReactNode;
272
+ readonly style?: StyleProp<ViewStyle>;
273
+ }
274
+ /** Raph's lab screen for one value. Renders nothing until the markers read lands, and nothing for an unknown id. */
275
+ declare function EverfurRecordsLabDetail({ petRef, petName, markerId, renderExtra, onAsk, renderAskButton, style }: EverfurRecordsLabDetailProps): ReactNode;
276
+
277
+ /** The sheet's resolved colours for one theme. */
278
+ interface RecordsSheetLook {
279
+ readonly dark: boolean;
280
+ /** The sheet's ground (`.efh-sheet` background). */
281
+ readonly ground: string;
282
+ /** A card (`.efh-card`). */
283
+ readonly card: string;
284
+ /** Body text. */
285
+ readonly text: string;
286
+ readonly muted: string;
287
+ readonly line: string;
288
+ /** Headings and ink text (his ink, the partner's brand ink). */
289
+ readonly ink: string;
290
+ /** The ink button and ink way fill (his ink, the partner's primary) and the text on it. */
291
+ readonly fill: string;
292
+ readonly onFill: string;
293
+ /** His accent green on a brand fill (the ink way's chevron), the partner's accent. */
294
+ readonly accentOnFill: string;
295
+ /** His accent green as a progress bar on a light ground, the partner's accent. */
296
+ readonly accent: string;
297
+ /** Status: in range / clear. */
298
+ readonly go: string;
299
+ readonly goTint: string;
300
+ /** Status: above range / overdue. */
301
+ readonly alert: string;
302
+ readonly alertDeep: string;
303
+ readonly alertTint: string;
304
+ /** The watch pill. */
305
+ readonly watch: string;
306
+ readonly tintSage: string;
307
+ readonly tintBlue: string;
308
+ readonly tintYellow: string;
309
+ /** His Embark cyan tile, which is a partner accent: the partner's accent at his strength (his cyan with none set). */
310
+ readonly tintPartner: string;
311
+ readonly chevron: string;
312
+ readonly rowGround: string;
313
+ readonly barTrack: string;
314
+ /**
315
+ * The top risk card (V3 `.rec-top`, filled with his brand accent): the partner's accent when it set one, else his
316
+ * sage tile in the partner's primary; the kicker and the sentence on it always read at 4.5:1 or better.
317
+ */
318
+ readonly topFill: string;
319
+ readonly topKicker: string;
320
+ readonly topInk: string;
321
+ }
322
+ /** Raph's palette under Q4 for the resolved theme. */
323
+ declare function recordsSheetLook(theme: EverfurTheme): RecordsSheetLook;
324
+
325
+ export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };
@@ -1,24 +1,94 @@
1
- import { R as RecordsController } from '../view-C6go2uUt.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-C6go2uUt.js';
1
+ import { R as RecordsController } from '../useRecords.d-aQTzQZoV.js';
2
+ export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../useRecords.d-aQTzQZoV.js';
3
3
  import { ReactNode } from 'react';
4
4
  import { StyleProp, ViewStyle } from 'react-native';
5
- import { P as PetRef, R as RecordsRequestId } from '../ids-B2GAAifq.js';
6
- export { B as Brand, D as DocumentId, _ as __brand } from '../ids-B2GAAifq.js';
7
- import { d as RecordsHostSeams, i as RecordsClinicController, j as CaptureRecordsSignature, e as RecordsScreen, f as RecordsScreenBaseProps, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../useRecordsDepth-Bp6L4M5P.js';
8
- 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-Bp6L4M5P.js';
9
- import { U as UploadTransport } from '../ports-BN6RHF9W.js';
10
- export { F as FileHandle, a as UploadPolicyWire } from '../ports-BN6RHF9W.js';
11
- import { R as RecordsDocumentPicker } from '../uploadTransport-C6kGP1Kd.js';
12
- import { d as RecordsRequestView } from '../models-CnXY5LuO.js';
13
- 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-CnXY5LuO.js';
14
- export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, y as FactFieldValue, B 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, E as RecordFactEditInput, G as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, I as RecordMarker, J as RecordMarkerLatest, K as RecordMarkerPoint, L as RecordMarkerSummary, M as RecordMarkersView, N as RecordPdfLink, k as RecordPhysicalExam, O as RecordShare, l as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, m as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, n as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, o as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, p as RecordsTimelineMedication, q as RecordsTimelineVaccine, r as RecordsTimelineView, s as RecordsTimelineVisit, t as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../depth-COz-sSG5.js';
15
- export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews-280t3BcQ.js';
16
- export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError-DeBqRpQV.js';
17
- export { E as EverfurResult } from '../EverfurResult-ClPTS0P2.js';
18
- import '../requestFunnel-B9fdXMi5.js';
19
- import '../ErrorPolicyPort-C3nNSS_j.js';
20
- import '../config-DmFAZJOx.js';
21
- import '../identity-Cw07BKZp.js';
5
+ import { P as PetRef, R as RecordsRequestId } from '../ids.d-B2GAAifq.js';
6
+ export { B as Brand, D as DocumentId, _ as __brand } from '../ids.d-B2GAAifq.js';
7
+ import { d as RecordsScreenBaseProps, b as RecordsHostSeams, g as RecordsClinicController, h as CaptureRecordsSignature, c as RecordsScreen, C as ClinicDraft, i as ClinicRequestBaseProps, j as ClinicBatchBaseProps } from '../useRecordsDepth.d-DFcCfiXm.js';
8
+ export { k as CapturedRecordsSignature, a as ClinicLocation, R as RecordsDepthStatus, l as RecordsNavAction, m as RecordsNavState, n as RecordsSignatureContext, e as RecordsUrlKind, o as RegisterSignaturePng, p as currentRecordsScreen, q as initialRecordsNav, r as popRecordsNav, s as pushRecordsNav, t as recordsNavReducer, v as replaceRecordsNav, w as resetRecordsNav, x as transitionRecordsNav } from '../useRecordsDepth.d-DFcCfiXm.js';
9
+ import { U as UploadTransport } from '../ports.d-BX4f4UsB.js';
10
+ export { F as FileHandle, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.js';
11
+ import { R as RecordsDocumentPicker } from '../uploadTransport.d-EGoUl7gX.js';
12
+ import { i as EverfurPresentationInput } from '../presentation.d-DMbdad7G.js';
13
+ export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-DMbdad7G.js';
14
+ import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-BagXhafD.js';
15
+ export { f as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, g as RecordsDenialReason, j as RecordsRequestGroupView, h as RecordsRequestStatus, i as RecordsSimpleStatus, e as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../models.d-BagXhafD.js';
16
+ import { R as RecordsSheetPronoun } from '../sheetCopy.d-CAhLOxjc.js';
17
+ import { a as RecordsAskHandler } from '../recordsAsk.d-C5CGSi3j.js';
18
+ export { b as RecordsAsk, R as RecordsAskEntityRef } from '../recordsAsk.d-C5CGSi3j.js';
19
+ export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../view.d-C-SNpDJX.js';
20
+ export { C as CreateClinicRequestBatchInput, a3 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, B as RecordFactEditInput, D as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, E as RecordMarker, G as RecordMarkerLatest, I as RecordMarkerPoint, J as RecordMarkerSummary, K as RecordMarkersView, k as RecordPhysicalExam, a2 as RecordsAuthorizationCopy, L as RecordsAuthorizationSignature, l as RecordsClinic, M as RecordsClinicBatch, N as RecordsClinicBatchClient, O as RecordsClinicBatchItem, P as RecordsClinicBatchResult, $ as RecordsClinicSearchInput, a0 as RecordsClinicSearchPage, Q as RecordsClinicTarget, m as RecordsDepthClient, a1 as RecordsRecentClinicsInput, n as RecordsRequestDocument, S as RecordsSignatureSuggestion, a4 as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight } from '../depth.d-OSALbYM7.js';
21
+ export { d as RecordPdfLink, e as RecordShare, R as RecordShareAudience, f as RecordShareAudienceScope, g as RecordShareEmailInput, h as RecordShareEmailReceipt, i as RecordShareLink, j as RecordShareRecipientKind, a as RecordsFeatures, q as RecordsPhotoContentType, b as RecordsUploadContentType, s as acceptsPhotos } from '../features.d-fNsGcg0R.js';
22
+ export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews.d-CubkMPbU.js';
23
+ export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.js';
24
+ export { E as EverfurResult } from '../EverfurResult.d-D_-254ZY.js';
25
+ import { m as EverfurTheme } from '../tokens.d-DarDaV39.js';
26
+ import '../requestFunnel.d-CXUMPw1K.js';
27
+ import '../ErrorPolicyPort.d-68yrE3BE.js';
28
+ import '../config.d-Dy6igYlH.js';
29
+ import '../identity.d-DzTijonw.js';
30
+
31
+ /** The pet's sex as the plan page and the profile carry it. */
32
+ type RecordsSheetSex = 'female' | 'male' | 'unknown' | null | undefined;
33
+ /** The weight unit the sheet draws (lb by default; mobile honors an lb/kg setting, P22/R34). */
34
+ type RecordsSheetWeightUnit = 'lb' | 'kg';
35
+ /**
36
+ * Copy keys for words no source has yet. Each defaults to '' and an empty key HIDES its element: the SDK never
37
+ * renders a placeholder. Listed in the builder report as asks for Raph.
38
+ */
39
+ interface RecordsSheetRnCopy {
40
+ /** The pill beside an undated care item (R19; the line under it already reads "No due date on file"). */
41
+ readonly undatedPill: string;
42
+ }
43
+ declare const RECORDS_SHEET_RN_COPY: RecordsSheetRnCopy;
44
+
45
+ /** The two presentation fields the sheet reads (console values unless you set them; `useEverfurPresentation`). */
46
+ type RecordsSheetPresentation = Pick<EverfurPresentationInput, 'recordsTopRiskLine' | 'recordsClearResultsFilter'>;
47
+ /** What `renderTopSlot` is told. */
48
+ interface RecordsSheetTopSlotContext {
49
+ /** The tenant's `recordsClearResultsFilter`: your own results card's "other results clear" link is on. */
50
+ readonly clearResultsFilter: boolean;
51
+ }
52
+ /** Options for the React Native records sheet (`EverfurRecords`' `sheet`). */
53
+ interface EverfurRecordsSheetOptions {
54
+ /** How the sheet refers to the pet. Wins over `sex`. */
55
+ readonly pronoun?: RecordsSheetPronoun;
56
+ /** The pet's sex: her for female, his for male, else the pet's name. Without it the Health Plan page's is used. */
57
+ readonly sex?: RecordsSheetSex;
58
+ /** The pet's species (the sample peek leaves out dog-only tests for any other). Without it, your pet list's. */
59
+ readonly species?: string | null;
60
+ /** The weight unit: lb by default. */
61
+ readonly weightUnit?: RecordsSheetWeightUnit;
62
+ /** Your pet art over the vitals (Raph's pet on grass). The SDK ships no pet art: without it the vitals are a plain row. */
63
+ readonly renderStage?: () => ReactNode;
64
+ /** Your content at the top of a full sheet (Raph's place for a partner's own results card). */
65
+ readonly renderTopSlot?: (context: RecordsSheetTopSlotContext) => ReactNode;
66
+ /** A lab value was opened. Route it to your own screen (render `EverfurRecordsLabDetail`); without it the sheet opens it in place. */
67
+ readonly onOpenMarker?: (markerId: string) => void;
68
+ /** Opens your Health Plan. Without it the top risk line draws no "See her Health Plan" button. */
69
+ readonly onOpenPlan?: () => void;
70
+ /** Opens your screenings screen. Without it there is no Screenings tile. */
71
+ readonly onOpenScreenings?: () => void;
72
+ /** Your control on an overdue care row (book, remind). */
73
+ readonly renderUpcomingCareAction?: (item: RecordForwardItem) => ReactNode;
74
+ /** The presentation fields over the console's. */
75
+ readonly presentation?: RecordsSheetPresentation;
76
+ /** Words no source carries yet; each empty one hides its element. */
77
+ readonly copy?: Partial<RecordsSheetRnCopy>;
78
+ readonly style?: StyleProp<ViewStyle>;
79
+ /** The sheet's clock (tests). */
80
+ readonly nowMs?: number;
81
+ }
82
+ interface EverfurRecordsSheetProps extends RecordsScreenBaseProps {
83
+ readonly controller?: RecordsController;
84
+ readonly consentVersion?: string;
85
+ readonly consentText?: string;
86
+ readonly options?: EverfurRecordsSheetOptions;
87
+ readonly style?: StyleProp<ViewStyle>;
88
+ readonly renderPending?: () => ReactNode;
89
+ }
90
+ /** Raph's v3 records sheet as a screen of the records flow. */
91
+ declare function EverfurRecordsSheet(props: EverfurRecordsSheetProps): ReactNode;
22
92
 
23
93
  interface EverfurRecordsProps extends RecordsHostSeams {
24
94
  readonly petRef: PetRef;
@@ -49,6 +119,11 @@ interface EverfurRecordsProps extends RecordsHostSeams {
49
119
  readonly style?: StyleProp<ViewStyle>;
50
120
  /** Your own placeholder while the entitlement verdict is pending on a cold mount. */
51
121
  readonly renderPending?: () => ReactNode;
122
+ /**
123
+ * The first screen's look. On by default: Raph's v3 records sheet (`EverfurRecordsSheet`); pass its options to
124
+ * tune it. `false` keeps the previous records dashboard (`EverfurRecordsDashboard`).
125
+ */
126
+ readonly sheet?: boolean | EverfurRecordsSheetOptions;
52
127
  }
53
128
  declare function EverfurRecordsFlow(props: EverfurRecordsProps): ReactNode;
54
129
  /** The public prebuilt records surface: the flow, starting at the dashboard. */
@@ -183,4 +258,68 @@ declare function registerRnSignature(signaturePngBase64: string, controller: Rec
183
258
  readonly signatureId: string;
184
259
  }>;
185
260
 
186
- export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, registerRnSignature };
261
+ interface EverfurRecordsLabDetailProps {
262
+ readonly petRef: PetRef;
263
+ readonly petName?: string;
264
+ /** The lab value to show (a `markerId` from the records sheet's `onOpenMarker`). */
265
+ readonly markerId: string;
266
+ /** Your content after the latest reading (Raph's place for a partner's own result about this value). */
267
+ readonly renderExtra?: (markerId: string) => ReactNode;
268
+ /** Ask about this value in your chat; without it there is no Ask button. */
269
+ readonly onAsk?: RecordsAskHandler;
270
+ /** Draw the Ask control yourself: call `ask` on its press and label it with `label` ("Ask about this"). */
271
+ readonly renderAskButton?: (ask: () => void, label: string) => ReactNode;
272
+ readonly style?: StyleProp<ViewStyle>;
273
+ }
274
+ /** Raph's lab screen for one value. Renders nothing until the markers read lands, and nothing for an unknown id. */
275
+ declare function EverfurRecordsLabDetail({ petRef, petName, markerId, renderExtra, onAsk, renderAskButton, style }: EverfurRecordsLabDetailProps): ReactNode;
276
+
277
+ /** The sheet's resolved colours for one theme. */
278
+ interface RecordsSheetLook {
279
+ readonly dark: boolean;
280
+ /** The sheet's ground (`.efh-sheet` background). */
281
+ readonly ground: string;
282
+ /** A card (`.efh-card`). */
283
+ readonly card: string;
284
+ /** Body text. */
285
+ readonly text: string;
286
+ readonly muted: string;
287
+ readonly line: string;
288
+ /** Headings and ink text (his ink, the partner's brand ink). */
289
+ readonly ink: string;
290
+ /** The ink button and ink way fill (his ink, the partner's primary) and the text on it. */
291
+ readonly fill: string;
292
+ readonly onFill: string;
293
+ /** His accent green on a brand fill (the ink way's chevron), the partner's accent. */
294
+ readonly accentOnFill: string;
295
+ /** His accent green as a progress bar on a light ground, the partner's accent. */
296
+ readonly accent: string;
297
+ /** Status: in range / clear. */
298
+ readonly go: string;
299
+ readonly goTint: string;
300
+ /** Status: above range / overdue. */
301
+ readonly alert: string;
302
+ readonly alertDeep: string;
303
+ readonly alertTint: string;
304
+ /** The watch pill. */
305
+ readonly watch: string;
306
+ readonly tintSage: string;
307
+ readonly tintBlue: string;
308
+ readonly tintYellow: string;
309
+ /** His Embark cyan tile, which is a partner accent: the partner's accent at his strength (his cyan with none set). */
310
+ readonly tintPartner: string;
311
+ readonly chevron: string;
312
+ readonly rowGround: string;
313
+ readonly barTrack: string;
314
+ /**
315
+ * The top risk card (V3 `.rec-top`, filled with his brand accent): the partner's accent when it set one, else his
316
+ * sage tile in the partner's primary; the kicker and the sentence on it always read at 4.5:1 or better.
317
+ */
318
+ readonly topFill: string;
319
+ readonly topKicker: string;
320
+ readonly topInk: string;
321
+ }
322
+ /** Raph's palette under Q4 for the resolved theme. */
323
+ declare function recordsSheetLook(theme: EverfurTheme): RecordsSheetLook;
324
+
325
+ export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };