@everfur/sdk 0.12.1 → 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 +166 -0
  2. package/README.md +2 -1
  3. package/dist/{Chat-CbyZ1vAX.d.cts → Chat.d-DUNTfzqC.d.ts} +170 -8
  4. package/dist/{Chat-CgYQdfqi.d.ts → Chat.d-Dts8u_1a.d.cts} +170 -8
  5. package/dist/{DepthViews-CaQUyCHK.d.ts → DepthViews.d-BIp599lz.d.cts} +1 -1
  6. package/dist/{DepthViews-CCz4ig0u.d.ts → DepthViews.d-BMU2jFPw.d.cts} +1 -1
  7. package/dist/{DepthViews-D3OiIK_x.d.cts → DepthViews.d-Ce2Zhnrb.d.ts} +1 -1
  8. package/dist/{DepthViews-iGZi4_WK.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 +4 -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 +4 -1
  27. package/dist/{attachments-DkMrKCIU.d.ts → attachments.d-Bp2qbHxn.d.cts} +22 -26
  28. package/dist/{attachments-CTJK0jQ4.d.ts → attachments.d-D1yhJjcZ.d.ts} +4 -4
  29. package/dist/{attachments-DXBETOrV.d.cts → attachments.d-DisnvB9R.d.cts} +4 -4
  30. package/dist/{attachments-BOk3hEAM.d.cts → attachments.d-Djy9z_0Z.d.ts} +22 -26
  31. package/dist/{bookingCopy-C_a45T4-.d.ts → bookingCopy.d-BJF6gd1A.d.ts} +24 -9
  32. package/dist/{bookingCopy-CHYGYHe0.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-C8KJmlxE.d.cts → casesRepository.d-CT2LTicS.d.cts} +3 -3
  38. package/dist/{casesRepository-iAi5qWnx.d.ts → casesRepository.d-UsWOz9bv.d.ts} +3 -3
  39. package/dist/chat/index.cjs +131 -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 +132 -58
  43. package/dist/client/index.cjs +14 -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 +14 -10
  47. package/dist/{config-C9zhanL-.d.cts → config.d-BR3DT9ho.d.cts} +3 -3
  48. package/dist/{config-C5iPNKDj.d.ts → config.d-Dy6igYlH.d.ts} +3 -3
  49. package/dist/consent/index.cjs +4 -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 +4 -1
  53. package/dist/{context-BUIrC20Z.d.ts → context.d-Cwks0p3C.d.cts} +15 -15
  54. package/dist/{context-D_bcpHDA.d.cts → context.d-QcCgguzA.d.ts} +15 -15
  55. package/dist/{copy-KbCU9fen.d.ts → copy.d-CiMn2IIt.d.ts} +6 -6
  56. package/dist/{copy-BE31T2jR.d.cts → copy.d-DLJTyRfT.d.cts} +6 -6
  57. package/dist/core/index.cjs +16 -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 +16 -13
  61. package/dist/{depth-DNxDieoO.d.cts → depth.d-CjPGVPDL.d.cts} +9 -115
  62. package/dist/{depth-DDKGfFaB.d.ts → depth.d-OSALbYM7.d.ts} +9 -115
  63. package/dist/{entitlementRepository-C1_wXIE3.d.cts → entitlementRepository.d-CVQa1DA1.d.cts} +10 -5
  64. package/dist/{entitlementRepository-CYtdIGfH.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-BqeaN8An.d.ts → identity.d-60LeJt_s.d.cts} +3 -3
  76. package/dist/{identity-gjurBi7m.d.cts → identity.d-DzTijonw.d.ts} +3 -3
  77. package/dist/index.cjs +140 -66
  78. package/dist/index.d.cts +31 -29
  79. package/dist/index.d.ts +31 -29
  80. package/dist/index.js +141 -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 +4 -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 +4 -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-CfutxNs9.d.cts → pets.d-C_53_fzo.d.ts} +3 -3
  92. package/dist/{pets-LIGadUtr.d.ts → pets.d-NbJvP_kh.d.cts} +3 -3
  93. package/dist/{petsRepository-Cqpd3hLU.d.cts → petsRepository.d-BuGHymNx.d.ts} +4 -4
  94. package/dist/{petsRepository-CoRa3C_U.d.ts → petsRepository.d-lp1BHRqM.d.cts} +4 -4
  95. package/dist/photo/index.cjs +5 -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 +5 -2
  99. package/dist/{ports-BN6RHF9W.d.cts → ports.d-BX4f4UsB.d.cts} +14 -1
  100. package/dist/{ports-BN6RHF9W.d.ts → ports.d-BX4f4UsB.d.ts} +14 -1
  101. package/dist/{ports-gJ3faaWz.d.cts → ports.d-CEROoqnA.d.cts} +16 -10
  102. package/dist/{ports-CVi3n0re.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 +10 -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 +10 -7
  109. package/dist/records/index.cjs +224 -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 +224 -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-BYzlyaC0.d.ts → requestFunnel.d-CXUMPw1K.d.ts} +5 -5
  116. package/dist/{requestFunnel-DLZpiFD3.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-BxxCKMn8.d.cts → runtimeTypes.d-4yFNNuYR.d.ts} +20 -13
  120. package/dist/{runtimeTypes-Doa_xxSa.d.ts → runtimeTypes.d-D6N_fhxx.d.cts} +20 -13
  121. package/dist/server/events/index.cjs +6 -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 +6 -3
  125. package/dist/server/index.cjs +11 -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 +11 -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 +15 -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 +15 -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 +6 -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 +6 -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 +6 -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 +6 -3
  153. package/dist/testing/rn/index.cjs +4 -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 +4 -1
  157. package/dist/testing/web/index.cjs +4 -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 +4 -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-CGOlC_Q9.d.ts → timelineRows.d-BNxgzYRW.d.cts} +1 -1
  168. package/dist/{timelineRows-Beun96e2.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-C6kGP1Kd.d.ts → uploadTransport.d-CWL7CdWP.d.cts} +1 -1
  174. package/dist/{uploadTransport-BM_pnEWj.d.cts → 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-hR94debv.d.ts → useRecordsDepth.d-DFcCfiXm.d.ts} +8 -20
  180. package/dist/{useRecordsDepth-DRrJntjt.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 +5 -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 +5 -2
  187. package/dist/{view-C_B5U04g.d.ts → view.d-C-SNpDJX.d.ts} +10 -122
  188. package/dist/{view-VvLEdXP4.d.cts → view.d-Dps5C8-s.d.cts} +10 -122
  189. package/dist/web/consent/index.cjs +4 -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 +4 -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 +149 -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 +149 -82
  201. package/dist/web/notifications/index.cjs +15 -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 +15 -3
  205. package/dist/web/records/depth/index.cjs +10 -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 +10 -7
  209. package/dist/web/records/index.cjs +94 -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 +94 -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 +15 -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 +15 -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 +6 -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 +6 -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
@@ -0,0 +1,102 @@
1
+ import { E as EverfurRecordsSheet } from '../../sheetSeam.d-DCS3LW8g.cjs';
2
+ export { a as EverfurRecordsSheetLabRenderArgs, b as EverfurRecordsSheetRenderArgs } from '../../sheetSeam.d-DCS3LW8g.cjs';
3
+ import { CSSProperties, ReactNode } from 'react';
4
+ import { R as RecordsSheetPronoun } from '../../sheetCopy.d-CAhLOxjc.cjs';
5
+ import { P as PetRef } from '../../ids.d-B2GAAifq.cjs';
6
+ import { a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.cjs';
7
+ import '../../models.d-BnLm3VAA.cjs';
8
+ import '../../EverfurError.d-8NHtlgzA.cjs';
9
+ import '../../useRecords.d-Cb-36SF5.cjs';
10
+ import '../../EverfurResult.d-BFH-3s6E.cjs';
11
+ import '../../ports.d-BX4f4UsB.cjs';
12
+ import '../../features.d-fNsGcg0R.cjs';
13
+
14
+ /** The unit the sheet shows a weight in first: lb (the default, as Raph draws it) or kg. */
15
+ type SheetWeightUnit = 'lb' | 'kg';
16
+
17
+ /** Whose colours the sheet paints: the theme's (Q4, the default) or Raph's own, whatever the theme. */
18
+ type RecordsSheetPalette = 'theme' | 'raph';
19
+
20
+ /** The four font stacks the sheet uses: body, mono (labels, dates), hand (the no-records line), sans (the DNA slot). */
21
+ interface RecordsSheetFonts {
22
+ readonly font: string;
23
+ readonly mono: string;
24
+ readonly hand: string;
25
+ readonly sans: string;
26
+ }
27
+ /**
28
+ * Raph's row button (`.efh-btn .efh-btn--ink .efh-btn--row`, his "Speak to vet" on the overdue care row) with his
29
+ * fonts, for the host's own action in `renderUpcomingCareAction` (pass it as that control's `style`).
30
+ */
31
+ declare const RECORDS_SHEET_ROW_BUTTON_STYLE: CSSProperties;
32
+
33
+ /** The pet drawn on grass (Raph's .efh-stage), supplied by the host: the SDK ships no pet art. */
34
+ interface RecordsSheetStage {
35
+ /** The grass strip under the pet. */
36
+ readonly grassSrc: string;
37
+ /** The pet itself, standing (Raph's virtual pet). */
38
+ readonly petSrc: string;
39
+ }
40
+ /** Options for `EverfurRecordsPage`'s Raph v3 records sheet. */
41
+ interface EverfurRecordsSheetOptions {
42
+ /**
43
+ * How the sheet refers to the pet, over what it reads. Without it the sheet takes the pet's sex from its Health
44
+ * Plan page or its profile ("her" for a female, "his" for a male) and otherwise the pet's name.
45
+ */
46
+ readonly pronoun?: RecordsSheetPronoun;
47
+ /**
48
+ * Whose colours: `'theme'` (the default) keeps Raph's neutrals and status colours and paints his brand green and
49
+ * accents in your theme's primary and accent (dark mode included); `'raph'` keeps all of his colours.
50
+ */
51
+ readonly palette?: RecordsSheetPalette;
52
+ /** The unit a weight shows in first: `'lb'` (the default) or `'kg'`; the other unit follows it. */
53
+ readonly weightUnit?: SheetWeightUnit;
54
+ /**
55
+ * The top risk line over the records (the pet's Health Plan focus): on or off over the console's
56
+ * `records_top_risk_line`. It draws only with the Health Plan capability and a focus on the pet's plan page.
57
+ */
58
+ readonly topRiskLine?: boolean;
59
+ /** Opens the pet's Health Plan (your tab or screen): the top risk line's button. Without it the line has no button. */
60
+ readonly onOpenPlan?: () => void;
61
+ /** The pet on grass over the vitals and the no-records scene. Without it the vitals are a plain row. */
62
+ readonly stage?: RecordsSheetStage;
63
+ /** Font stacks over Raph's (Azeret, Azeret Mono, Caveat). The faces are yours to load. */
64
+ readonly fonts?: Partial<RecordsSheetFonts>;
65
+ /**
66
+ * A lab result tile or a flagged reading was opened. Route it to your own screen (render
67
+ * `EverfurRecordsLabDetail` there); without it the page opens the result in place.
68
+ */
69
+ readonly onOpenMarker?: (markerId: string) => void;
70
+ /** Style over the sheet's root (Raph's sheet pulls into its host's 16px gutter; pass `margin` to change that). */
71
+ readonly style?: CSSProperties;
72
+ }
73
+
74
+ interface EverfurRecordsLabDetailProps {
75
+ readonly petRef: PetRef;
76
+ readonly petName?: string;
77
+ /** The lab value to show (a `markerId` from the records sheet's `onOpenMarker`). */
78
+ readonly markerId: string;
79
+ /** Font stacks over Raph's; match the page's `sheet.fonts`. */
80
+ readonly fonts?: Partial<RecordsSheetFonts>;
81
+ /** Whose colours, as the sheet's `palette`: the theme's (the default) or Raph's own. Match the page's sheet. */
82
+ readonly palette?: RecordsSheetPalette;
83
+ /** Your content after the latest reading (Raph's place for a partner's own result about this value). */
84
+ readonly renderExtra?: (markerId: string) => ReactNode;
85
+ /** Ask about this value in your chat; without it there is no Ask button. */
86
+ readonly onAsk?: RecordsAskHandler;
87
+ /**
88
+ * Draw the Ask control yourself (Raph's shell floats his ask-pill over the screen): call `ask` on its press, and
89
+ * label it with `label` ("Ask about this"). Without it the SDK draws the button at the end of the screen.
90
+ */
91
+ readonly renderAskButton?: (ask: () => void, label: string) => ReactNode;
92
+ }
93
+ /** Raph's lab screen for one value. Renders nothing until the markers read lands, and nothing for an unknown id. */
94
+ declare function EverfurRecordsLabDetail({ petRef, petName, markerId, fonts, palette, renderExtra, onAsk, renderAskButton }: EverfurRecordsLabDetailProps): ReactNode;
95
+
96
+ /**
97
+ * Raph's v3 records sheet for `EverfurRecordsPage`'s `sheet` prop. Build it once (module scope or `useMemo`): a new
98
+ * object each render is a new sheet each render.
99
+ */
100
+ declare function recordsSheet(options?: EverfurRecordsSheetOptions): EverfurRecordsSheet;
101
+
102
+ export { EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, RECORDS_SHEET_ROW_BUTTON_STYLE, type RecordsSheetFonts, type RecordsSheetPalette, RecordsSheetPronoun, type RecordsSheetStage, type SheetWeightUnit as RecordsSheetWeightUnit, recordsSheet };
@@ -0,0 +1,102 @@
1
+ import { E as EverfurRecordsSheet } from '../../sheetSeam.d-Cviqk89n.js';
2
+ export { a as EverfurRecordsSheetLabRenderArgs, b as EverfurRecordsSheetRenderArgs } from '../../sheetSeam.d-Cviqk89n.js';
3
+ import { CSSProperties, ReactNode } from 'react';
4
+ import { R as RecordsSheetPronoun } from '../../sheetCopy.d-CAhLOxjc.js';
5
+ import { P as PetRef } from '../../ids.d-B2GAAifq.js';
6
+ import { a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.js';
7
+ import '../../models.d-BagXhafD.js';
8
+ import '../../EverfurError.d-8NHtlgzA.js';
9
+ import '../../useRecords.d-aQTzQZoV.js';
10
+ import '../../EverfurResult.d-D_-254ZY.js';
11
+ import '../../ports.d-BX4f4UsB.js';
12
+ import '../../features.d-fNsGcg0R.js';
13
+
14
+ /** The unit the sheet shows a weight in first: lb (the default, as Raph draws it) or kg. */
15
+ type SheetWeightUnit = 'lb' | 'kg';
16
+
17
+ /** Whose colours the sheet paints: the theme's (Q4, the default) or Raph's own, whatever the theme. */
18
+ type RecordsSheetPalette = 'theme' | 'raph';
19
+
20
+ /** The four font stacks the sheet uses: body, mono (labels, dates), hand (the no-records line), sans (the DNA slot). */
21
+ interface RecordsSheetFonts {
22
+ readonly font: string;
23
+ readonly mono: string;
24
+ readonly hand: string;
25
+ readonly sans: string;
26
+ }
27
+ /**
28
+ * Raph's row button (`.efh-btn .efh-btn--ink .efh-btn--row`, his "Speak to vet" on the overdue care row) with his
29
+ * fonts, for the host's own action in `renderUpcomingCareAction` (pass it as that control's `style`).
30
+ */
31
+ declare const RECORDS_SHEET_ROW_BUTTON_STYLE: CSSProperties;
32
+
33
+ /** The pet drawn on grass (Raph's .efh-stage), supplied by the host: the SDK ships no pet art. */
34
+ interface RecordsSheetStage {
35
+ /** The grass strip under the pet. */
36
+ readonly grassSrc: string;
37
+ /** The pet itself, standing (Raph's virtual pet). */
38
+ readonly petSrc: string;
39
+ }
40
+ /** Options for `EverfurRecordsPage`'s Raph v3 records sheet. */
41
+ interface EverfurRecordsSheetOptions {
42
+ /**
43
+ * How the sheet refers to the pet, over what it reads. Without it the sheet takes the pet's sex from its Health
44
+ * Plan page or its profile ("her" for a female, "his" for a male) and otherwise the pet's name.
45
+ */
46
+ readonly pronoun?: RecordsSheetPronoun;
47
+ /**
48
+ * Whose colours: `'theme'` (the default) keeps Raph's neutrals and status colours and paints his brand green and
49
+ * accents in your theme's primary and accent (dark mode included); `'raph'` keeps all of his colours.
50
+ */
51
+ readonly palette?: RecordsSheetPalette;
52
+ /** The unit a weight shows in first: `'lb'` (the default) or `'kg'`; the other unit follows it. */
53
+ readonly weightUnit?: SheetWeightUnit;
54
+ /**
55
+ * The top risk line over the records (the pet's Health Plan focus): on or off over the console's
56
+ * `records_top_risk_line`. It draws only with the Health Plan capability and a focus on the pet's plan page.
57
+ */
58
+ readonly topRiskLine?: boolean;
59
+ /** Opens the pet's Health Plan (your tab or screen): the top risk line's button. Without it the line has no button. */
60
+ readonly onOpenPlan?: () => void;
61
+ /** The pet on grass over the vitals and the no-records scene. Without it the vitals are a plain row. */
62
+ readonly stage?: RecordsSheetStage;
63
+ /** Font stacks over Raph's (Azeret, Azeret Mono, Caveat). The faces are yours to load. */
64
+ readonly fonts?: Partial<RecordsSheetFonts>;
65
+ /**
66
+ * A lab result tile or a flagged reading was opened. Route it to your own screen (render
67
+ * `EverfurRecordsLabDetail` there); without it the page opens the result in place.
68
+ */
69
+ readonly onOpenMarker?: (markerId: string) => void;
70
+ /** Style over the sheet's root (Raph's sheet pulls into its host's 16px gutter; pass `margin` to change that). */
71
+ readonly style?: CSSProperties;
72
+ }
73
+
74
+ interface EverfurRecordsLabDetailProps {
75
+ readonly petRef: PetRef;
76
+ readonly petName?: string;
77
+ /** The lab value to show (a `markerId` from the records sheet's `onOpenMarker`). */
78
+ readonly markerId: string;
79
+ /** Font stacks over Raph's; match the page's `sheet.fonts`. */
80
+ readonly fonts?: Partial<RecordsSheetFonts>;
81
+ /** Whose colours, as the sheet's `palette`: the theme's (the default) or Raph's own. Match the page's sheet. */
82
+ readonly palette?: RecordsSheetPalette;
83
+ /** Your content after the latest reading (Raph's place for a partner's own result about this value). */
84
+ readonly renderExtra?: (markerId: string) => ReactNode;
85
+ /** Ask about this value in your chat; without it there is no Ask button. */
86
+ readonly onAsk?: RecordsAskHandler;
87
+ /**
88
+ * Draw the Ask control yourself (Raph's shell floats his ask-pill over the screen): call `ask` on its press, and
89
+ * label it with `label` ("Ask about this"). Without it the SDK draws the button at the end of the screen.
90
+ */
91
+ readonly renderAskButton?: (ask: () => void, label: string) => ReactNode;
92
+ }
93
+ /** Raph's lab screen for one value. Renders nothing until the markers read lands, and nothing for an unknown id. */
94
+ declare function EverfurRecordsLabDetail({ petRef, petName, markerId, fonts, palette, renderExtra, onAsk, renderAskButton }: EverfurRecordsLabDetailProps): ReactNode;
95
+
96
+ /**
97
+ * Raph's v3 records sheet for `EverfurRecordsPage`'s `sheet` prop. Build it once (module scope or `useMemo`): a new
98
+ * object each render is a new sheet each render.
99
+ */
100
+ declare function recordsSheet(options?: EverfurRecordsSheetOptions): EverfurRecordsSheet;
101
+
102
+ export { EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, RECORDS_SHEET_ROW_BUTTON_STYLE, type RecordsSheetFonts, type RecordsSheetPalette, RecordsSheetPronoun, type RecordsSheetStage, type SheetWeightUnit as RecordsSheetWeightUnit, recordsSheet };