@alfadocs/ui-kit 0.47.0 → 0.49.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 (280) hide show
  1. package/dist/_chunks/{address-autocomplete-CSjMrBvu.js → address-autocomplete-CT-9AOli.js} +2 -2
  2. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  3. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  4. package/dist/_chunks/ai-consent-banner-F2md5JD3.js +169 -0
  5. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +280 -0
  6. package/dist/_chunks/{alert-ywPR59NE.js → alert-CUTxnym2.js} +56 -35
  7. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  8. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  9. package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js +412 -0
  10. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  11. package/dist/_chunks/{ar-DEz65ZJW.js → ar-C68WKG5a.js} +2 -2
  12. package/dist/_chunks/{audio-recorder-DC-v9YFW.js → audio-recorder-DVJXV7_k.js} +2 -2
  13. package/dist/_chunks/bishop-score-2MzAz8NE.js +185 -0
  14. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  15. package/dist/_chunks/{booking-DlDVuWMd.js → booking-DljH0JkS.js} +294 -306
  16. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  17. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  18. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  19. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  20. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  21. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  22. package/dist/_chunks/circle-arrow-up-CC_85SuH.js +16 -0
  23. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  24. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  25. package/dist/_chunks/cycle-calculator-oOkj5wlB.js +252 -0
  26. package/dist/_chunks/{date-picker-Bq7xhMA-.js → date-picker-BfHblqwA.js} +2 -2
  27. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js → date-picker-variants-CXEAx3O_.js} +22 -22
  28. package/dist/_chunks/{date-range-picker-DcXuI9y7.js → date-range-picker-hcAMs1wO.js} +3 -3
  29. package/dist/_chunks/{date-time-picker-RimumeLR.js → date-time-picker-H-3Pwqlb.js} +9 -9
  30. package/dist/_chunks/{de-bTBGdjPS.js → de-DK4A9_a8.js} +2 -2
  31. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  32. package/dist/_chunks/{document-scanner-BqLsGs4Y.js → document-scanner-Cxqvq7GR.js} +2 -2
  33. package/dist/_chunks/due-date-calculator-tDqZXPWO.js +256 -0
  34. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js → editable-currency-cell-renderer-Bh48OHRv.js} +2 -2
  35. package/dist/_chunks/{el-BWG5RXxa.js → el-B29HXhG5.js} +2 -2
  36. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  37. package/dist/_chunks/{es-DfO_G435.js → es-BOwPVwWn.js} +2 -2
  38. package/dist/_chunks/fetal-weight-Da-B4P4k.js +122 -0
  39. package/dist/_chunks/{fr-BTn24bs8.js → fr-DoDBtn0T.js} +2 -2
  40. package/dist/_chunks/{freemium-paywall-DzpD63WY.js → freemium-paywall-BWaLWje-.js} +2 -2
  41. package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js +311 -0
  42. package/dist/_chunks/hcg-doubling-DAnpbale.js +170 -0
  43. package/dist/_chunks/{hi-Dj3oYd84.js → hi-DGByrKby.js} +2 -2
  44. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  45. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  46. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js → isSameWeek-B1odL2vR.js} +2 -2
  47. package/dist/_chunks/{it-Y85ofIQQ.js → it-B16rEecm.js} +3 -3
  48. package/dist/_chunks/{ja-CQ7J6YoA.js → ja-B0viOgft.js} +2 -2
  49. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  50. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  51. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js → marketplace-app-shell-UKSLx9K_.js} +3 -3
  52. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  53. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  54. package/dist/_chunks/{nl-D9kHCmp3.js → nl-cBxEX2QU.js} +2 -2
  55. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  56. package/dist/_chunks/{patient-search-CocVcGJ3.js → patient-search-BJOmTmDA.js} +2 -2
  57. package/dist/_chunks/{patient-shell-CnT4L8gn.js → patient-shell-DUmhXnFq.js} +2 -2
  58. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  59. package/dist/_chunks/{payment-form-BNTx4876.js → payment-form-xmeCkxas.js} +2 -2
  60. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  61. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-q1D3Uion.js} +4 -4
  62. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  63. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  64. package/dist/_chunks/{pl-B3Smqpkr.js → pl-DtS08ioY.js} +3 -3
  65. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-Cq1y8JFD.js} +4 -3
  66. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js +322 -0
  67. package/dist/_chunks/product-hub-panel-CkfZBA3t.js +620 -0
  68. package/dist/_chunks/{pt-D3J-1c_7.js → pt-yFXs1VvH.js} +2 -2
  69. package/dist/_chunks/{ro-BKAbbEA3.js → ro-DsCzSrzR.js} +2 -2
  70. package/dist/_chunks/{ru-BeG8f0Ep.js → ru-DgDxL0pc.js} +3 -3
  71. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  72. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  73. package/dist/_chunks/{sidebar-_vJXI9rB.js → sidebar-h78cTNLh.js} +440 -338
  74. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-CZkAf28g.js} +2 -2
  75. package/dist/_chunks/{sq-_hRPaeUy.js → sq-DHlCYN67.js} +2 -2
  76. package/dist/_chunks/subDays-Bs00akhK.js +8 -0
  77. package/dist/_chunks/{sv-g009fSpe.js → sv-O0QaQs_s.js} +2 -2
  78. package/dist/_chunks/{tr-OKUOuhMW.js → tr-BmNDRuio.js} +2 -2
  79. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  80. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  81. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  82. package/dist/_chunks/video-BAeICxCT.js +21 -0
  83. package/dist/_chunks/warning-stack-CXfoAT-_.js +220 -0
  84. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-DzX_LI4y.js} +139 -157
  85. package/dist/_chunks/{zh-CN-De4zwEhx.js → zh-CN-CgVJZEzz.js} +3 -3
  86. package/dist/agent-catalog.json +367 -1
  87. package/dist/components/_shared/antenatal-schedule-timeline.d.ts +18 -0
  88. package/dist/components/_shared/antenatal-schedule.d.ts +68 -0
  89. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  90. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  91. package/dist/components/_shared/index.d.ts +5 -0
  92. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  93. package/dist/components/_shared/obstetrics.d.ts +138 -0
  94. package/dist/components/address-autocomplete/index.js +1 -1
  95. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  96. package/dist/components/agenda-card/index.d.ts +2 -1
  97. package/dist/components/agenda-card/index.js +6 -5
  98. package/dist/components/agenda-tray/index.js +1 -1
  99. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  100. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  101. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  102. package/dist/components/ai-consent-banner/index.js +6 -0
  103. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  104. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  105. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  106. package/dist/components/ai-tools-rail/index.js +6 -0
  107. package/dist/components/alert/alert.d.ts +2 -2
  108. package/dist/components/alert/index.js +1 -1
  109. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  110. package/dist/components/anamnesis-card/index.d.ts +3 -0
  111. package/dist/components/anamnesis-card/index.js +5 -0
  112. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  113. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  114. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  115. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  116. package/dist/components/appointment-card/index.d.ts +8 -0
  117. package/dist/components/appointment-card/index.js +10 -0
  118. package/dist/components/audio-recorder/index.js +1 -1
  119. package/dist/components/badge/badge.d.ts +1 -1
  120. package/dist/components/bishop-score/bishop-score.d.ts +27 -0
  121. package/dist/components/bishop-score/bishop.d.ts +30 -0
  122. package/dist/components/bishop-score/index.d.ts +4 -0
  123. package/dist/components/bishop-score/index.js +10 -0
  124. package/dist/components/bmi-calculator/index.js +1 -1
  125. package/dist/components/booking/index.js +1 -1
  126. package/dist/components/calculator-dialog/index.js +1 -1
  127. package/dist/components/calendar/index.js +1 -1
  128. package/dist/components/card/card.d.ts +1 -1
  129. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  130. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  131. package/dist/components/care-plan-card/index.d.ts +4 -0
  132. package/dist/components/care-plan-card/index.js +6 -0
  133. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  134. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  135. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  136. package/dist/components/care-plan-entry-card/index.js +6 -0
  137. package/dist/components/chat-message/chat-message.d.ts +7 -0
  138. package/dist/components/chat-message/index.js +1 -1
  139. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  140. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  141. package/dist/components/clinical-note-card/index.d.ts +4 -0
  142. package/dist/components/clinical-note-card/index.js +6 -0
  143. package/dist/components/contact-profile-card/index.js +1 -1
  144. package/dist/components/cycle-calculator/cycle.d.ts +5 -0
  145. package/dist/components/cycle-calculator/index.js +1 -1
  146. package/dist/components/data-table/index.js +1 -1
  147. package/dist/components/date-picker/index.js +1 -1
  148. package/dist/components/date-range-picker/index.js +1 -1
  149. package/dist/components/date-time-picker/index.js +1 -1
  150. package/dist/components/dialog/dialog.d.ts +7 -0
  151. package/dist/components/dialog/index.js +1 -1
  152. package/dist/components/document-scanner/index.js +1 -1
  153. package/dist/components/due-date-calculator/due-date-calculator.d.ts +13 -1
  154. package/dist/components/due-date-calculator/gestation.d.ts +1 -59
  155. package/dist/components/due-date-calculator/index.d.ts +1 -1
  156. package/dist/components/due-date-calculator/index.js +16 -10
  157. package/dist/components/fetal-weight/efw.d.ts +25 -0
  158. package/dist/components/fetal-weight/fetal-weight.d.ts +27 -0
  159. package/dist/components/fetal-weight/index.d.ts +4 -0
  160. package/dist/components/fetal-weight/index.js +6 -0
  161. package/dist/components/freemium-paywall/index.js +1 -1
  162. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +25 -1
  163. package/dist/components/gestational-age-calculator/index.js +1 -1
  164. package/dist/components/hcg-doubling/hcg-doubling.d.ts +31 -0
  165. package/dist/components/hcg-doubling/hcg.d.ts +33 -0
  166. package/dist/components/hcg-doubling/index.d.ts +4 -0
  167. package/dist/components/hcg-doubling/index.js +7 -0
  168. package/dist/components/index.d.ts +14 -0
  169. package/dist/components/message-card/index.js +5 -4
  170. package/dist/components/message-card/message-card.d.ts +1 -2
  171. package/dist/components/message-tray/index.js +1 -1
  172. package/dist/components/operator-hero/index.js +1 -1
  173. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  174. package/dist/components/patient-search/index.js +1 -1
  175. package/dist/components/patient-summary-card/index.d.ts +4 -0
  176. package/dist/components/patient-summary-card/index.js +6 -0
  177. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  178. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  179. package/dist/components/payment-card/index.d.ts +7 -0
  180. package/dist/components/payment-card/index.js +8 -0
  181. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  182. package/dist/components/payment-card/payment-card.d.ts +71 -0
  183. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  184. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  185. package/dist/components/payment-form/index.js +1 -1
  186. package/dist/components/pdf-viewer/index.js +1 -1
  187. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  188. package/dist/components/periodontal-chart-card/index.js +7 -0
  189. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  190. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  191. package/dist/components/practice-results/index.js +1 -1
  192. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  193. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +7 -0
  194. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +33 -8
  195. package/dist/components/product-hub-tray/index.d.ts +8 -0
  196. package/dist/components/product-hub-tray/index.js +10 -0
  197. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts +4 -0
  198. package/dist/components/product-hub-tray/product-hub-panel.d.ts +54 -0
  199. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts +4 -0
  200. package/dist/components/product-hub-tray/product-hub-tray.d.ts +115 -0
  201. package/dist/components/public-header/public-header.d.ts +1 -1
  202. package/dist/components/sidebar/index.d.ts +2 -2
  203. package/dist/components/sidebar/index.js +12 -11
  204. package/dist/components/sidebar/sidebar.d.ts +14 -1
  205. package/dist/components/sign-document/index.js +1 -1
  206. package/dist/components/stat/stat.d.ts +1 -1
  207. package/dist/components/transaction-chip/index.js +1 -1
  208. package/dist/components/unit-converter/index.js +1 -1
  209. package/dist/components/warning-stack/index.js +1 -1
  210. package/dist/components/workflow/index.js +1 -1
  211. package/dist/i18n/locales/ar.d.ts +561 -1
  212. package/dist/i18n/locales/ar.js +560 -2
  213. package/dist/i18n/locales/de.d.ts +561 -1
  214. package/dist/i18n/locales/de.js +560 -2
  215. package/dist/i18n/locales/el.d.ts +561 -1
  216. package/dist/i18n/locales/el.js +560 -2
  217. package/dist/i18n/locales/en.d.ts +561 -1
  218. package/dist/i18n/locales/en.js +560 -2
  219. package/dist/i18n/locales/es.d.ts +561 -1
  220. package/dist/i18n/locales/es.js +560 -2
  221. package/dist/i18n/locales/fr.d.ts +561 -1
  222. package/dist/i18n/locales/fr.js +560 -2
  223. package/dist/i18n/locales/hi.d.ts +561 -1
  224. package/dist/i18n/locales/hi.js +560 -2
  225. package/dist/i18n/locales/it.d.ts +561 -1
  226. package/dist/i18n/locales/it.js +560 -2
  227. package/dist/i18n/locales/ja.d.ts +561 -1
  228. package/dist/i18n/locales/ja.js +560 -2
  229. package/dist/i18n/locales/nl.d.ts +561 -1
  230. package/dist/i18n/locales/nl.js +560 -2
  231. package/dist/i18n/locales/pl.d.ts +561 -1
  232. package/dist/i18n/locales/pl.js +560 -2
  233. package/dist/i18n/locales/pt.d.ts +561 -1
  234. package/dist/i18n/locales/pt.js +560 -2
  235. package/dist/i18n/locales/ro.d.ts +561 -1
  236. package/dist/i18n/locales/ro.js +560 -2
  237. package/dist/i18n/locales/ru.d.ts +561 -1
  238. package/dist/i18n/locales/ru.js +560 -2
  239. package/dist/i18n/locales/sq.d.ts +561 -1
  240. package/dist/i18n/locales/sq.js +560 -2
  241. package/dist/i18n/locales/sv.d.ts +561 -1
  242. package/dist/i18n/locales/sv.js +560 -2
  243. package/dist/i18n/locales/tr.d.ts +561 -1
  244. package/dist/i18n/locales/tr.js +560 -2
  245. package/dist/i18n/locales/zh.d.ts +561 -1
  246. package/dist/i18n/locales/zh.js +560 -2
  247. package/dist/index.js +663 -600
  248. package/dist/locales/ar.json +562 -2
  249. package/dist/locales/de.json +562 -2
  250. package/dist/locales/el.json +562 -2
  251. package/dist/locales/en.json +562 -2
  252. package/dist/locales/es.json +562 -2
  253. package/dist/locales/fr.json +562 -2
  254. package/dist/locales/hi.json +562 -2
  255. package/dist/locales/it.json +562 -2
  256. package/dist/locales/ja.json +562 -2
  257. package/dist/locales/nl.json +562 -2
  258. package/dist/locales/pl.json +562 -2
  259. package/dist/locales/pt.json +562 -2
  260. package/dist/locales/ro.json +562 -2
  261. package/dist/locales/ru.json +562 -2
  262. package/dist/locales/sq.json +562 -2
  263. package/dist/locales/sv.json +562 -2
  264. package/dist/locales/tr.json +562 -2
  265. package/dist/locales/zh.json +562 -2
  266. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  267. package/dist/patterns/alia-assistant/index.js +1 -1
  268. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  269. package/dist/patterns/patient-shell/index.js +1 -1
  270. package/dist/tokens.css +1 -1
  271. package/package.json +58 -1
  272. package/dist/_chunks/cycle-calculator-KxA8dqDf.js +0 -211
  273. package/dist/_chunks/due-date-calculator-mFxpHLml.js +0 -216
  274. package/dist/_chunks/gestation-mWF4AXea.js +0 -50
  275. package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js +0 -203
  276. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  277. package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js +0 -246
  278. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  279. package/dist/_chunks/subDays-Dv7q9S7u.js +0 -8
  280. package/dist/_chunks/warning-stack-DNR3-IbP.js +0 -180
@@ -0,0 +1,27 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
+ import { type BishopResult } from './bishop';
4
+ declare const rootVariants: (props?: ({
5
+ width?: "auto" | "full" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface BishopScoreProps extends VariantProps<typeof rootVariants> {
8
+ /** Fires whenever all five findings are set (and `null` when not). */
9
+ onResultChange?: (result: BishopResult | null) => void;
10
+ /** When provided, shows the result-action buttons that emit / copy the result. */
11
+ onInsert?: (payload: InsertPayload) => void;
12
+ /** Which verb the result button performs. Defaults to `'insert'`. */
13
+ insertVariant?: InsertVariant;
14
+ /** `copy` variant only — fired after a successful clipboard write. */
15
+ onCopy?: (mode: InsertMode) => void;
16
+ /** `copy` variant only — fired if the clipboard write can't proceed. */
17
+ onError?: (error: unknown) => void;
18
+ /** Brand wordmark printed in the inserted/copied result-card footer. */
19
+ insertBrand?: string | false;
20
+ /** Opaque instance id, emitted as `data-component-id`. */
21
+ id?: string;
22
+ /** Extra class names on the wrapper. */
23
+ className?: string;
24
+ }
25
+ export declare const BishopScore: import("react").ForwardRefExoticComponent<BishopScoreProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ export {};
27
+ //# sourceMappingURL=bishop-score.d.ts.map
@@ -0,0 +1,30 @@
1
+ export type BishopComponent = 'dilation' | 'effacement' | 'station' | 'consistency' | 'position';
2
+ /** The component fields in the order they are scored / displayed. */
3
+ export declare const BISHOP_COMPONENTS: readonly BishopComponent[];
4
+ export interface BishopOption {
5
+ /** Stable value key → i18n lookup `bishopScore.<component>.<value>`. */
6
+ value: string;
7
+ /** Points this option contributes. */
8
+ score: number;
9
+ }
10
+ /**
11
+ * Scored options per component. Dilation / effacement / station run 0–3;
12
+ * consistency / position run 0–2 (the classic Bishop weighting).
13
+ */
14
+ export declare const BISHOP_OPTIONS: Record<BishopComponent, BishopOption[]>;
15
+ export type BishopBand = 'unfavourable' | 'intermediate' | 'favourable';
16
+ /** Highest attainable total (3 + 3 + 3 + 2 + 2). */
17
+ export declare const BISHOP_MAX_SCORE = 13;
18
+ /** Classify a total into a favourability band (ACOG thresholds). */
19
+ export declare function bishopBand(total: number): BishopBand;
20
+ export type BishopSelection = Partial<Record<BishopComponent, string>>;
21
+ export interface BishopResult {
22
+ total: number;
23
+ band: BishopBand;
24
+ }
25
+ /**
26
+ * Sum the Bishop score. Returns `null` until every one of the five components
27
+ * has a valid selection (a partial exam doesn't yield a meaningful total).
28
+ */
29
+ export declare function bishopScore(selection: BishopSelection): BishopResult | null;
30
+ //# sourceMappingURL=bishop.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { BishopScore } from './bishop-score';
2
+ export type { BishopScoreProps } from './bishop-score';
3
+ export { bishopScore, bishopBand, BISHOP_COMPONENTS, BISHOP_OPTIONS, BISHOP_MAX_SCORE, type BishopComponent, type BishopOption, type BishopSelection, type BishopResult, type BishopBand, } from './bishop';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { B as O, a as S, b as o, c as B, d as P, e } from "../../_chunks/bishop-score-2MzAz8NE.js";
2
+ export {
3
+ O as BISHOP_COMPONENTS,
4
+ S as BISHOP_MAX_SCORE,
5
+ o as BISHOP_OPTIONS,
6
+ B as BishopScore,
7
+ P as bishopBand,
8
+ e as bishopScore
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { B as m } from "../../_chunks/bmi-calculator-CQqXTVNL.js";
1
+ import { B as m } from "../../_chunks/bmi-calculator-DdylQzT6.js";
2
2
  import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
3
3
  export {
4
4
  m as BmiCalculator,
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-DlDVuWMd.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-DljH0JkS.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -1,4 +1,4 @@
1
- import { C as l } from "../../_chunks/calculator-dialog-D-nfvteH.js";
1
+ import { C as l } from "../../_chunks/calculator-dialog-CFk4I91b.js";
2
2
  export {
3
3
  l as CalculatorDialog
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as r, c as l, r as n } from "../../_chunks/calendar-YHFknAGv.js";
1
+ import { C as r, c as l, r as n } from "../../_chunks/calendar-oYWOCrnf.js";
2
2
  export {
3
3
  r as Calendar,
4
4
  l as calendarAgent,
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const cardVariants: (props?: ({
4
- variant?: "default" | "outlined" | "elevated" | null | undefined;
4
+ variant?: "default" | "elevated" | "outlined" | null | undefined;
5
5
  interactive?: boolean | null | undefined;
6
6
  stretch?: boolean | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { CarePlanCardHandle } from './care-plan-card';
3
+ export declare const carePlanCardAgent: AgentAdapter<CarePlanCardHandle>;
4
+ //# sourceMappingURL=care-plan-card.agent.d.ts.map
@@ -0,0 +1,102 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import { type CarePlanEntryCardProps } from '../care-plan-entry-card';
4
+ import { entitySurfaceVariants, type CarePlanState } from '../_shared/entity-card';
5
+ /**
6
+ * A single treatment line within the plan. Each ref is forwarded straight
7
+ * to a `<CarePlanEntryCard>` rendered inside the Accordion. `entryId` keys
8
+ * the row and surfaces as the line's `data-component-id`.
9
+ */
10
+ export interface CarePlanEntryRef extends Omit<CarePlanEntryCardProps, 'id' | 'surface'> {
11
+ /** Stable line id — identifier only, never PHI. */
12
+ entryId: string;
13
+ }
14
+ /** Financial figures for the plan, all amounts in integer cents. */
15
+ export interface CarePlanAmounts {
16
+ /** Full list price in cents (non-negative). */
17
+ priceCents?: number;
18
+ /** Discounted / agreed price in cents (non-negative). */
19
+ discountedPriceCents?: number;
20
+ /** Amount already invoiced in cents (non-negative). */
21
+ billedAmountCents?: number;
22
+ /** Outstanding amount still due in cents (non-negative). */
23
+ dueCents?: number;
24
+ /** How many days the due amount is overdue (non-negative). */
25
+ overdueDays?: number;
26
+ }
27
+ /** Phase / line progress for the plan. */
28
+ export interface CarePlanProgress {
29
+ /** Number of executed / completed lines. */
30
+ done: number;
31
+ /** Total number of lines. */
32
+ total: number;
33
+ }
34
+ /** Lifecycle dates for the plan, all ISO-8601 strings. */
35
+ export interface CarePlanDates {
36
+ /** When the plan was accepted. */
37
+ acceptedIso?: string;
38
+ /** When the plan was closed. */
39
+ closedIso?: string;
40
+ /** When the plan was discarded / rejected. */
41
+ discardedIso?: string;
42
+ }
43
+ /** Curated read-only handle exposed to the agent registry. */
44
+ export interface CarePlanCardHandle {
45
+ /** The plan's lifecycle state. */
46
+ getState: () => CarePlanState;
47
+ /** Line progress as `{ done, total }` — counts only, no PHI. */
48
+ getProgress: () => {
49
+ done: number;
50
+ total: number;
51
+ };
52
+ }
53
+ export interface CarePlanCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'title' | 'children'> {
54
+ /**
55
+ * Stable instance id — surfaced as `data-component-id` for the agent
56
+ * registry and mirrored to the DOM `id`; also wires the heading ↔ region
57
+ * relationship.
58
+ */
59
+ id?: string;
60
+ /** Plan number (e.g. estimate number). Rendered beside the name. */
61
+ number: string | number;
62
+ /** Plan name / title. Rendered as the card heading. */
63
+ name?: string;
64
+ /** Lifecycle state — drives a localised Badge label. */
65
+ state: CarePlanState;
66
+ /** Optional deep link to the full plan. Guarded by `isSafeEntityUrl`. */
67
+ url?: string;
68
+ /** Financial figures (billed / due / overdue …). */
69
+ amounts?: CarePlanAmounts;
70
+ /** Line progress (done / total). */
71
+ progress?: CarePlanProgress;
72
+ /** Lifecycle dates (accepted / closed / discarded). */
73
+ dates?: CarePlanDates;
74
+ /** Reason the plan was discarded — shown only when `state === 'discarded'`. */
75
+ discardReason?: string;
76
+ /**
77
+ * Dentition the plan applies to — forwarded to each entry card's tooth
78
+ * display where relevant. Structural only.
79
+ */
80
+ dentitionMode?: 'permanent' | 'deciduous';
81
+ /** Treatment lines — rendered as `<CarePlanEntryCard>` rows in an Accordion. */
82
+ entries?: CarePlanEntryRef[];
83
+ /** BCP 47 locale override for dates / currency. Defaults to i18n.language. */
84
+ locale?: string;
85
+ /** ISO 4217 currency code for the money chips. Defaults to `EUR`. */
86
+ currency?: string;
87
+ /**
88
+ * `elevated` (default) paints the kit card chrome; `flat` drops it for use
89
+ * inside an existing Card / Sheet.
90
+ */
91
+ surface?: 'flat' | 'elevated';
92
+ /** Fires when the plan deep link / heading is activated. */
93
+ onActivate?: () => void;
94
+ /** Accessible label override for the plan region. */
95
+ 'aria-label'?: string;
96
+ }
97
+ export declare const CarePlanCard: import("react").ForwardRefExoticComponent<CarePlanCardProps & import("react").RefAttributes<HTMLDivElement>>;
98
+ export type CarePlanCardSurface = NonNullable<VariantProps<typeof entitySurfaceVariants>['surface']>;
99
+ /** The dentition the plan applies to. */
100
+ export type CarePlanCardDentition = NonNullable<CarePlanCardProps['dentitionMode']>;
101
+ export type { CarePlanState } from '../_shared/entity-card';
102
+ //# sourceMappingURL=care-plan-card.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { CarePlanCard } from './care-plan-card';
2
+ export type { CarePlanCardProps, CarePlanCardHandle, CarePlanCardSurface, CarePlanCardDentition, CarePlanEntryRef, CarePlanAmounts, CarePlanProgress, CarePlanDates, } from './care-plan-card';
3
+ export { carePlanCardAgent } from './care-plan-card.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { C as e, c as C } from "../../_chunks/care-plan-card-QmNpGggC.js";
2
+ export {
3
+ e as CarePlanCard,
4
+ C as carePlanCardAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { CarePlanEntryCardHandle } from './care-plan-entry-card';
3
+ export declare const carePlanEntryCardAgent: AgentAdapter<CarePlanEntryCardHandle>;
4
+ //# sourceMappingURL=care-plan-entry-card.agent.d.ts.map
@@ -0,0 +1,110 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import { entitySurfaceVariants } from '../_shared/entity-card';
4
+ /** A planned (not-yet-executed) appointment the line is scheduled into. */
5
+ export interface CarePlanEntryPlannedAppointment {
6
+ /** ISO-8601 date / datetime string. */
7
+ dateIso: string;
8
+ /** Stable appointment id (identifier only — never PHI). */
9
+ appointmentId: string;
10
+ /** Optional deep link to the appointment. */
11
+ url?: string;
12
+ }
13
+ /** Price breakdown for the line, all amounts in integer cents. */
14
+ export interface CarePlanEntryPrice {
15
+ /** List price in cents (non-negative). */
16
+ priceCents?: number;
17
+ /** Discounted price in cents (non-negative), when a discount applies. */
18
+ discountedPriceCents?: number;
19
+ /** Discount percentage (0–100), for the discount label. */
20
+ discountPercentage?: number;
21
+ }
22
+ /** One row of the per-phase execution breakdown. */
23
+ export interface CarePlanEntryPhaseDetail {
24
+ /** Short localised phase label (consumer-localised). */
25
+ label: string;
26
+ /** Whether this phase has been executed. */
27
+ executed: boolean;
28
+ /** ISO-8601 execution date, when executed. */
29
+ executionDateIso?: string;
30
+ /** Operator display name for the phase. */
31
+ operator?: string;
32
+ /** Unique Device Identifier / lot string for traceable materials. */
33
+ udi?: string;
34
+ }
35
+ /** Phase progress summary + optional drill-down detail. */
36
+ export interface CarePlanEntryPhases {
37
+ /** Number of executed phases. */
38
+ executed: number;
39
+ /** Total number of phases. */
40
+ total: number;
41
+ /** Optional per-phase breakdown rendered inside the Collapsible. */
42
+ detail?: CarePlanEntryPhaseDetail[];
43
+ }
44
+ /** Operator the line is assigned to. */
45
+ export interface CarePlanEntryOperator {
46
+ /** Operator display name (consumer-localised). */
47
+ name: string;
48
+ }
49
+ /** Curated read-only handle exposed to the agent registry. */
50
+ export interface CarePlanEntryCardHandle {
51
+ /** Whether the line is marked executed. */
52
+ isDone: () => boolean;
53
+ /** Phase progress as `{ executed, total }` — counts only, no PHI. */
54
+ getPhaseProgress: () => {
55
+ executed: number;
56
+ total: number;
57
+ };
58
+ }
59
+ export interface CarePlanEntryCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'title' | 'children'> {
60
+ /**
61
+ * Stable instance id — surfaced as `data-component-id` for the agent
62
+ * registry and used to wire up the heading ↔ region relationship.
63
+ */
64
+ id?: string;
65
+ /** Treatment / service name. Rendered as the line heading. */
66
+ careName: string;
67
+ /** Optional treatment code (e.g. tariff code) shown beside the name. */
68
+ code?: string;
69
+ /** Optional secondary label (e.g. category) under the name. */
70
+ label?: string;
71
+ /** FDI tooth codes the line applies to (e.g. `['16', '36']`). */
72
+ elements?: string[];
73
+ /** Whether the line has been executed / completed. */
74
+ done?: boolean;
75
+ /** ISO-8601 execution date — rendered next to the "done" badge. */
76
+ executionDateIso?: string;
77
+ /** A planned appointment the line is scheduled into, when not yet done. */
78
+ plannedAppointment?: CarePlanEntryPlannedAppointment;
79
+ /** Operator the line is assigned to. */
80
+ operator?: CarePlanEntryOperator;
81
+ /** Price breakdown (list / discounted). */
82
+ price?: CarePlanEntryPrice;
83
+ /** Phase progress + optional drill-down detail. */
84
+ phases?: CarePlanEntryPhases;
85
+ /** Whether the line has been billed / invoiced. */
86
+ billed?: boolean;
87
+ /** Whether the line falls outside the accepted estimate. */
88
+ outsideOfEstimate?: boolean;
89
+ /** Count of attached notes — rendered as a neutral count badge when > 0. */
90
+ notesCount?: number;
91
+ /**
92
+ * How to render `elements`: `'chips'` (default) lists each FDI code as a
93
+ * Tag; `'scheme'` renders a read-only `ToothScheme` highlighting them.
94
+ */
95
+ toothDisplay?: 'scheme' | 'chips';
96
+ /** BCP 47 locale override for dates / currency. Defaults to i18n.language. */
97
+ locale?: string;
98
+ /** ISO 4217 currency code for the price chip. Defaults to `EUR`. */
99
+ currency?: string;
100
+ /**
101
+ * `elevated` (default) paints the kit card chrome; `flat` drops it for use
102
+ * inside an existing Card / Sheet.
103
+ */
104
+ surface?: 'flat' | 'elevated';
105
+ /** Accessible label override for the line region. */
106
+ 'aria-label'?: string;
107
+ }
108
+ export declare const CarePlanEntryCard: import("react").ForwardRefExoticComponent<CarePlanEntryCardProps & import("react").RefAttributes<HTMLDivElement>>;
109
+ export type CarePlanEntryCardSurface = NonNullable<VariantProps<typeof entitySurfaceVariants>['surface']>;
110
+ //# sourceMappingURL=care-plan-entry-card.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { CarePlanEntryCard } from './care-plan-entry-card';
2
+ export type { CarePlanEntryCardProps, CarePlanEntryCardHandle, CarePlanEntryCardSurface, CarePlanEntryPrice, CarePlanEntryPhases, CarePlanEntryPhaseDetail, CarePlanEntryPlannedAppointment, CarePlanEntryOperator, } from './care-plan-entry-card';
3
+ export { carePlanEntryCardAgent } from './care-plan-entry-card.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { C as n, c as e } from "../../_chunks/care-plan-entry-card-Cnra7vUc.js";
2
+ export {
3
+ n as CarePlanEntryCard,
4
+ e as carePlanEntryCardAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -36,6 +36,13 @@ export interface ChatMessageProps extends NativeProps, VariantProps<typeof bubbl
36
36
  * buttons on assistant messages). Default off → renders nothing.
37
37
  */
38
38
  actions?: ReactNode;
39
+ /**
40
+ * Custom body node rendered verbatim INSTEAD of `content`. When set, the
41
+ * markdown tokenizer (`renderBody`) is skipped and the node is rendered
42
+ * directly inside the bubble. `content` is still required (used for the
43
+ * aria-label context and consumer copy / download). Default off.
44
+ */
45
+ body?: ReactNode;
39
46
  }
40
47
  export declare const ChatMessage: import("react").ForwardRefExoticComponent<ChatMessageProps & import("react").RefAttributes<HTMLElement>>;
41
48
  export {};
@@ -1,4 +1,4 @@
1
- import { C as s } from "../../_chunks/chat-message-B5JpFj0F.js";
1
+ import { C as s } from "../../_chunks/chat-message-Dm8U2RY1.js";
2
2
  export {
3
3
  s as ChatMessage
4
4
  };
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { ClinicalNoteCardHandle } from './clinical-note-card';
3
+ export declare const clinicalNoteCardAgent: AgentAdapter<ClinicalNoteCardHandle>;
4
+ //# sourceMappingURL=clinical-note-card.agent.d.ts.map
@@ -0,0 +1,98 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ /** Author identity — drives the avatar + visible byline. */
4
+ export interface ClinicalNoteAuthor {
5
+ /** Display name. */
6
+ name: string;
7
+ /** Optional avatar image URL. */
8
+ avatarUrl?: string;
9
+ }
10
+ /**
11
+ * What the note is attached to. Discriminated by `kind`:
12
+ * - `patient` — a free-standing note on the patient record.
13
+ * - `carePlan` — attached to a care plan (estimate / treatment plan),
14
+ * identified by its number, with an optional deep link.
15
+ * - `carePlanEntry` — attached to one entry inside a care plan, naming the
16
+ * care and (optionally) the listed elements.
17
+ * - `phase` — attached to a treatment phase, labelled.
18
+ * - `xray` — attached to an x-ray / radiograph, optionally labelled.
19
+ */
20
+ export type NoteAttachment = {
21
+ kind: 'patient';
22
+ } | {
23
+ kind: 'carePlan';
24
+ number: string;
25
+ url?: string;
26
+ } | {
27
+ kind: 'carePlanEntry';
28
+ careName: string;
29
+ elements?: string[];
30
+ } | {
31
+ kind: 'phase';
32
+ label: string;
33
+ } | {
34
+ kind: 'xray';
35
+ label?: string;
36
+ };
37
+ /** Imperative handle exposed to the agent runtime — identifiers / flags only. */
38
+ export interface ClinicalNoteCardHandle {
39
+ /** The note's stable id, when supplied. */
40
+ getNoteId: () => string | undefined;
41
+ /** Whether the note is currently pinned. */
42
+ isPinned: () => boolean;
43
+ /** Whether the note is currently flagged. */
44
+ isFlagged: () => boolean;
45
+ /** The attachment kind the note is bound to. */
46
+ getAttachmentKind: () => NoteAttachment['kind'] | undefined;
47
+ }
48
+ export interface ClinicalNoteCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'content' | 'title'> {
49
+ /** Agent-readiness consumer id, surfaced as `data-component-id`. */
50
+ id?: string;
51
+ /**
52
+ * ISO-8601 timestamp the note refers to (the clinical date). Drives the
53
+ * primary `<Timestamp>`.
54
+ */
55
+ dateIso: string;
56
+ /**
57
+ * ISO-8601 timestamp the note was authored, when it differs from
58
+ * `dateIso`. Rendered as a secondary "added" line.
59
+ */
60
+ createdAtIso?: string;
61
+ /** Author identity — avatar + byline. Optional for system notes. */
62
+ author?: ClinicalNoteAuthor;
63
+ /**
64
+ * Whether this is a clinical note (vs. an administrative one). When true a
65
+ * "Clinical" badge is shown so the note's nature is unambiguous at a glance.
66
+ */
67
+ clinical?: boolean;
68
+ /** What the note is attached to — drives a contextual chip + optional link. */
69
+ attachedTo?: NoteAttachment;
70
+ /**
71
+ * The note body, authored in a small, safe subset of Markdown (bold,
72
+ * italic, inline code, links, line breaks, simple lists). Rendered through
73
+ * the shared `SafeHtml` helper with the `markdown` sanitiser profile —
74
+ * raw HTML and unsafe link schemes are stripped.
75
+ */
76
+ content: string;
77
+ /** Pin the note to the top of a timeline — shows a "Pinned" chip. */
78
+ pinned?: boolean;
79
+ /** Flag the note for follow-up / attention — shows a "Flagged" chip. */
80
+ flagged?: boolean;
81
+ /** Clamp the rendered body to a few lines. */
82
+ truncate?: boolean;
83
+ /**
84
+ * `'elevated'` (default) wraps the note in `<Card variant="elevated">`.
85
+ * `'flat'` drops the chrome for use inside an existing Card / timeline rail.
86
+ */
87
+ surface?: 'flat' | 'elevated';
88
+ /** Override the default region aria-label. */
89
+ 'aria-label'?: string;
90
+ }
91
+ declare const rootVariants: (props?: ({
92
+ surface?: "flat" | "elevated" | null | undefined;
93
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
94
+ export declare const ClinicalNoteCard: import("react").ForwardRefExoticComponent<ClinicalNoteCardProps & import("react").RefAttributes<HTMLDivElement>>;
95
+ /** Re-export of the surface variant union for downstream typing. */
96
+ export type ClinicalNoteCardSurface = NonNullable<VariantProps<typeof rootVariants>['surface']>;
97
+ export {};
98
+ //# sourceMappingURL=clinical-note-card.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { ClinicalNoteCard } from './clinical-note-card';
2
+ export type { ClinicalNoteCardProps, ClinicalNoteCardHandle, ClinicalNoteCardSurface, ClinicalNoteAuthor, NoteAttachment, } from './clinical-note-card';
3
+ export { clinicalNoteCardAgent } from './clinical-note-card.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { C as e, c as i } from "../../_chunks/clinical-note-card-BYo437dU.js";
2
+ export {
3
+ e as ClinicalNoteCard,
4
+ i as clinicalNoteCardAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DHyuAPXM.js";
1
+ import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DvvVfAA2.js";
2
2
  export {
3
3
  _ as CONTACT_PROFILE_CARD_ROW_ICONS,
4
4
  O as CONTACT_PROFILE_CARD_ROW_KEYS,
@@ -27,6 +27,11 @@ export interface CyclePrediction {
27
27
  fertileWindow: DateRange;
28
28
  /** Start dates of the next few periods (length = `occurrences`). */
29
29
  upcomingPeriods: Date[];
30
+ /**
31
+ * The current period's bleed range (first day → last day), or `null` when no
32
+ * `periodLength` was given.
33
+ */
34
+ periodRange: DateRange | null;
30
35
  }
31
36
  /**
32
37
  * Predict ovulation, the fertile window and upcoming periods from the last
@@ -1,4 +1,4 @@
1
- import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-KxA8dqDf.js";
1
+ import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-oOkj5wlB.js";
2
2
  export {
3
3
  e as CycleCalculator,
4
4
  l as LUTEAL_PHASE_DAYS,
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-CLil9B29.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-Bh48OHRv.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-Bq7xhMA-.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-BfHblqwA.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-DcXuI9y7.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-hcAMs1wO.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-RimumeLR.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-H-3Pwqlb.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -16,6 +16,13 @@ export interface DialogRootProps extends ComponentPropsWithoutRef<typeof RadixDi
16
16
  export interface DialogContentProps extends Omit<ComponentPropsWithoutRef<typeof RadixDialog.Content>, 'role'>, VariantProps<typeof contentVariants> {
17
17
  size?: 'sm' | 'md' | 'lg' | 'fullscreen';
18
18
  variant?: 'default' | 'alert' | 'confirmation';
19
+ /**
20
+ * Hide the top-right dismiss "X". The default is **variant-aware**: the X is
21
+ * shown for `variant="default"` and hidden for `variant="alert"` /
22
+ * `"confirmation"` (forced-choice surfaces, where the decision is made via
23
+ * the explicit footer actions). An explicit value always wins — pass `false`
24
+ * to force the X onto an alert, or `true` to suppress it on a default dialog.
25
+ */
19
26
  hideCloseButton?: boolean;
20
27
  className?: string;
21
28
  children: ReactNode;
@@ -1,4 +1,4 @@
1
- import { D as g, d } from "../../_chunks/dialog-BTpZV6It.js";
1
+ import { D as g, d } from "../../_chunks/dialog-DMGnSelc.js";
2
2
  export {
3
3
  g as Dialog,
4
4
  d as dialogAgent
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-BqLsGs4Y.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-Cxqvq7GR.js";
2
2
  export {
3
3
  a as DocumentScanner,
4
4
  c as documentScannerAgent
@@ -1,6 +1,7 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
- import { type DueDateMethod, type DueDateResult } from './gestation';
3
+ import { type DueDateMethod, type DueDateResult } from '../_shared/obstetrics';
4
+ import { type AntenatalScheduleOptions } from '../_shared/antenatal-schedule';
4
5
  declare const rootVariants: (props?: ({
5
6
  width?: "auto" | "full" | null | undefined;
6
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -27,6 +28,17 @@ export interface DueDateCalculatorProps extends VariantProps<typeof rootVariants
27
28
  * brand; `false` → no brand line. Brand is opt-in.
28
29
  */
29
30
  insertBrand?: string | false;
31
+ /**
32
+ * Append the antenatal exam schedule (the time-sensitive screening windows)
33
+ * below the result, dated from the computed gestational start.
34
+ */
35
+ showSchedule?: boolean;
36
+ /**
37
+ * Passthrough options for the appended schedule (national `schedule`,
38
+ * `plurality`, `chorionicity`, `rhNegative`, `gdmRisk`, …). `today` is
39
+ * supplied by the component. Ignored unless `showSchedule` is set.
40
+ */
41
+ scheduleOptions?: Omit<AntenatalScheduleOptions, 'today'>;
30
42
  /** Opaque instance id, emitted as `data-component-id`. */
31
43
  id?: string;
32
44
  /** Extra class names on the wrapper. */