@alfadocs/ui-kit-debug 1.3.13 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js +28 -0
  2. package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js.map +1 -0
  3. package/dist/_chunks/{alia-sidebar-DzNz1gDf.js → alia-sidebar-DSBZMick.js} +3 -3
  4. package/dist/_chunks/{alia-sidebar-DzNz1gDf.js.map → alia-sidebar-DSBZMick.js.map} +1 -1
  5. package/dist/_chunks/{anamnesis-i18n-CfC0qYzy.js → anamnesis-i18n-DZcrt8dP.js} +2141 -2069
  6. package/dist/_chunks/anamnesis-i18n-DZcrt8dP.js.map +1 -0
  7. package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js → antenatal-schedule-timeline-u8TsS2QJ.js} +27 -26
  8. package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js.map → antenatal-schedule-timeline-u8TsS2QJ.js.map} +1 -1
  9. package/dist/_chunks/{appointment-timeline-B630OT_J.js → appointment-timeline-Bqf1sTU5.js} +2 -2
  10. package/dist/_chunks/{appointment-timeline-B630OT_J.js.map → appointment-timeline-Bqf1sTU5.js.map} +1 -1
  11. package/dist/_chunks/{ar-THMLfSoN.js → ar-BR1FGFP2.js} +14 -14
  12. package/dist/_chunks/{ar-THMLfSoN.js.map → ar-BR1FGFP2.js.map} +1 -1
  13. package/dist/_chunks/{bmi-calculator-CM0-G2mg.js → bmi-calculator-CpyY13MV.js} +2 -2
  14. package/dist/_chunks/{bmi-calculator-CM0-G2mg.js.map → bmi-calculator-CpyY13MV.js.map} +1 -1
  15. package/dist/_chunks/{booking-DjNbd7C1.js → booking-BjsA7j1-.js} +699 -688
  16. package/dist/_chunks/booking-BjsA7j1-.js.map +1 -0
  17. package/dist/_chunks/calculator-dialog-12d3Sxaz.js +48 -0
  18. package/dist/_chunks/{calculator-dialog-DuXMQSdm.js.map → calculator-dialog-12d3Sxaz.js.map} +1 -1
  19. package/dist/_chunks/{care-plan-card-1G_f4I5s.js → care-plan-card-BvQy366X.js} +3 -3
  20. package/dist/_chunks/{care-plan-card-1G_f4I5s.js.map → care-plan-card-BvQy366X.js.map} +1 -1
  21. package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js → care-plan-entry-card-apk_5B3O.js} +2 -2
  22. package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js.map → care-plan-entry-card-apk_5B3O.js.map} +1 -1
  23. package/dist/_chunks/{chat-container-HlFnoEIl.js → chat-container-CYYego1W.js} +105 -81
  24. package/dist/_chunks/chat-container-CYYego1W.js.map +1 -0
  25. package/dist/_chunks/cycle-calculator-B7fyH-h4.js +425 -0
  26. package/dist/_chunks/cycle-calculator-B7fyH-h4.js.map +1 -0
  27. package/dist/_chunks/{date-picker-ZHejTVAJ.js → date-picker-Bp64zk2p.js} +19 -19
  28. package/dist/_chunks/{date-picker-ZHejTVAJ.js.map → date-picker-Bp64zk2p.js.map} +1 -1
  29. package/dist/_chunks/date-picker-variants-pKAJfnWr.js +2089 -0
  30. package/dist/_chunks/date-picker-variants-pKAJfnWr.js.map +1 -0
  31. package/dist/_chunks/{date-range-picker-pEG3Ln3i.js → date-range-picker-CDrZ8Zh0.js} +27 -27
  32. package/dist/_chunks/{date-range-picker-pEG3Ln3i.js.map → date-range-picker-CDrZ8Zh0.js.map} +1 -1
  33. package/dist/_chunks/{date-time-picker-695QvBGj.js → date-time-picker-DafkGDGO.js} +10 -10
  34. package/dist/_chunks/{date-time-picker-695QvBGj.js.map → date-time-picker-DafkGDGO.js.map} +1 -1
  35. package/dist/_chunks/{de-DmZ-8rTN.js → de-3iM4rGqo.js} +7 -7
  36. package/dist/_chunks/{de-DmZ-8rTN.js.map → de-3iM4rGqo.js.map} +1 -1
  37. package/dist/_chunks/{document-preview-D3gg4MXB.js → document-preview-DOrsqiN1.js} +2 -2
  38. package/dist/_chunks/{document-preview-D3gg4MXB.js.map → document-preview-DOrsqiN1.js.map} +1 -1
  39. package/dist/_chunks/due-date-calculator-CnkbbAej.js +571 -0
  40. package/dist/_chunks/due-date-calculator-CnkbbAej.js.map +1 -0
  41. package/dist/_chunks/{editor-overlay-DE3esyio.js → editor-overlay-B1tr2i7B.js} +22 -21
  42. package/dist/_chunks/editor-overlay-B1tr2i7B.js.map +1 -0
  43. package/dist/_chunks/{el-Bela9mxs.js → el-C96rGJvU.js} +2 -2
  44. package/dist/_chunks/{el-Bela9mxs.js.map → el-C96rGJvU.js.map} +1 -1
  45. package/dist/_chunks/{es-BNncHKex.js → es-Cxiqjx8r.js} +12 -12
  46. package/dist/_chunks/{es-BNncHKex.js.map → es-Cxiqjx8r.js.map} +1 -1
  47. package/dist/_chunks/fetal-weight-avlj-l-S.js +223 -0
  48. package/dist/_chunks/fetal-weight-avlj-l-S.js.map +1 -0
  49. package/dist/_chunks/format-4HNwNGrN.js +1315 -0
  50. package/dist/_chunks/format-4HNwNGrN.js.map +1 -0
  51. package/dist/_chunks/{fr-CH8ADfhN.js → fr-Bhr6SYKj.js} +21 -21
  52. package/dist/_chunks/{fr-CH8ADfhN.js.map → fr-Bhr6SYKj.js.map} +1 -1
  53. package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js → freemium-paywall-DRDdWuOg.js} +3 -3
  54. package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js.map → freemium-paywall-DRDdWuOg.js.map} +1 -1
  55. package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js +488 -0
  56. package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js.map +1 -0
  57. package/dist/_chunks/hcg-doubling-Cv_vH61p.js +312 -0
  58. package/dist/_chunks/hcg-doubling-Cv_vH61p.js.map +1 -0
  59. package/dist/_chunks/header-settings-Cn5fPXCE.js +335 -0
  60. package/dist/_chunks/header-settings-Cn5fPXCE.js.map +1 -0
  61. package/dist/_chunks/{hi-Bppfxp8l.js → hi-BxXX26d_.js} +12 -12
  62. package/dist/_chunks/{hi-Bppfxp8l.js.map → hi-BxXX26d_.js.map} +1 -1
  63. package/dist/_chunks/isSameWeek-B73MagWB.js +13 -0
  64. package/dist/_chunks/{isSameWeek-CK4HS9lH.js.map → isSameWeek-B73MagWB.js.map} +1 -1
  65. package/dist/_chunks/{it-B4ySaRyK.js → it-Xmjomvyj.js} +24 -24
  66. package/dist/_chunks/{it-B4ySaRyK.js.map → it-Xmjomvyj.js.map} +1 -1
  67. package/dist/_chunks/{ja-CGF6Io9P.js → ja-mfZvt1ZV.js} +16 -16
  68. package/dist/_chunks/{ja-CGF6Io9P.js.map → ja-mfZvt1ZV.js.map} +1 -1
  69. package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js → link-cell-renderer-CJ_gk7gl.js} +3 -3
  70. package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js.map → link-cell-renderer-CJ_gk7gl.js.map} +1 -1
  71. package/dist/_chunks/{locale-picker-BfBUdT1m.js → locale-picker-D9Kv2zrK.js} +153 -132
  72. package/dist/_chunks/locale-picker-D9Kv2zrK.js.map +1 -0
  73. package/dist/_chunks/map-view-2yZCQW2l.js +445 -0
  74. package/dist/_chunks/map-view-2yZCQW2l.js.map +1 -0
  75. package/dist/_chunks/{marketplace-app-shell-DwcFMxzp.js → marketplace-app-shell-BLRvg-M0.js} +49 -40
  76. package/dist/_chunks/marketplace-app-shell-BLRvg-M0.js.map +1 -0
  77. package/dist/_chunks/{nl-DuShqwuV.js → nl-DDs-KEnD.js} +15 -15
  78. package/dist/_chunks/{nl-DuShqwuV.js.map → nl-DDs-KEnD.js.map} +1 -1
  79. package/dist/_chunks/{notes-panel-DPsgB4Mv.js → notes-panel-CiFN3sLW.js} +2 -2
  80. package/dist/_chunks/{notes-panel-DPsgB4Mv.js.map → notes-panel-CiFN3sLW.js.map} +1 -1
  81. package/dist/_chunks/{number-input-DrozbZAU.js → number-input-DOe5VYei.js} +64 -64
  82. package/dist/_chunks/number-input-DOe5VYei.js.map +1 -0
  83. package/dist/_chunks/{optical-prescription-BDHJr8Zz.js → optical-prescription-CRemE8fL.js} +2 -2
  84. package/dist/_chunks/{optical-prescription-BDHJr8Zz.js.map → optical-prescription-CRemE8fL.js.map} +1 -1
  85. package/dist/_chunks/{parse-DvA97ro9.js → parse-JqixfsU0.js} +43 -43
  86. package/dist/_chunks/{parse-DvA97ro9.js.map → parse-JqixfsU0.js.map} +1 -1
  87. package/dist/_chunks/parseISO-fOGpHKXm.js +120 -0
  88. package/dist/_chunks/parseISO-fOGpHKXm.js.map +1 -0
  89. package/dist/_chunks/{patient-details-DqjjwPmt.js → patient-details-CpunD0qx.js} +3 -3
  90. package/dist/_chunks/{patient-details-DqjjwPmt.js.map → patient-details-CpunD0qx.js.map} +1 -1
  91. package/dist/_chunks/{patient-table-BmIDrLIS.js → patient-table-2eWx-Rrk.js} +2 -2
  92. package/dist/_chunks/{patient-table-BmIDrLIS.js.map → patient-table-2eWx-Rrk.js.map} +1 -1
  93. package/dist/_chunks/{payment-form-h-BZ8onk.js → payment-form-Ds1I9KqB.js} +308 -231
  94. package/dist/_chunks/payment-form-Ds1I9KqB.js.map +1 -0
  95. package/dist/_chunks/{pdf-viewer-Ddx-T053.js → pdf-viewer-DUIsV9s5.js} +429 -369
  96. package/dist/_chunks/pdf-viewer-DUIsV9s5.js.map +1 -0
  97. package/dist/_chunks/{pl-CKQwX9Fk.js → pl-BYYMnEWP.js} +18 -18
  98. package/dist/_chunks/{pl-CKQwX9Fk.js.map → pl-BYYMnEWP.js.map} +1 -1
  99. package/dist/_chunks/{practice-results-B-HPc13W.js → practice-results-SjCniMd2.js} +2 -2
  100. package/dist/_chunks/{practice-results-B-HPc13W.js.map → practice-results-SjCniMd2.js.map} +1 -1
  101. package/dist/_chunks/pregnancy-dating-BmpHScZ0.js +770 -0
  102. package/dist/_chunks/pregnancy-dating-BmpHScZ0.js.map +1 -0
  103. package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js +553 -0
  104. package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js.map +1 -0
  105. package/dist/_chunks/progress-CK8otcQ-.js +343 -0
  106. package/dist/_chunks/progress-CK8otcQ-.js.map +1 -0
  107. package/dist/_chunks/{pt-_njpXyOZ.js → pt-BSPnVrQ7.js} +20 -20
  108. package/dist/_chunks/{pt-_njpXyOZ.js.map → pt-BSPnVrQ7.js.map} +1 -1
  109. package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js → radiograph-panel.agent-CtFtNMzk.js} +3 -3
  110. package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js.map → radiograph-panel.agent-CtFtNMzk.js.map} +1 -1
  111. package/dist/_chunks/{rich-text-editor-CfeXPPWs.js → rich-text-editor-BedTpWzL.js} +2 -2
  112. package/dist/_chunks/{rich-text-editor-CfeXPPWs.js.map → rich-text-editor-BedTpWzL.js.map} +1 -1
  113. package/dist/_chunks/{ro-3X6_4FcN.js → ro-BbiylGmG.js} +14 -14
  114. package/dist/_chunks/{ro-3X6_4FcN.js.map → ro-BbiylGmG.js.map} +1 -1
  115. package/dist/_chunks/{ru-bAcgmnS-.js → ru-BX_qsV67.js} +14 -14
  116. package/dist/_chunks/{ru-bAcgmnS-.js.map → ru-BX_qsV67.js.map} +1 -1
  117. package/dist/_chunks/{session-countdown-Bc70VXN1.js → session-countdown-BL-Psg8u.js} +2 -2
  118. package/dist/_chunks/{session-countdown-Bc70VXN1.js.map → session-countdown-BL-Psg8u.js.map} +1 -1
  119. package/dist/_chunks/{sign-document-CW_ByDUh.js → sign-document-jF4fZDJ5.js} +2 -2
  120. package/dist/_chunks/{sign-document-CW_ByDUh.js.map → sign-document-jF4fZDJ5.js.map} +1 -1
  121. package/dist/_chunks/slot-grid-DNiUcXy2.js +640 -0
  122. package/dist/_chunks/slot-grid-DNiUcXy2.js.map +1 -0
  123. package/dist/_chunks/{sparkline-BTY4B5tv.js → sparkline-BmGcEyZO.js} +209 -164
  124. package/dist/_chunks/sparkline-BmGcEyZO.js.map +1 -0
  125. package/dist/_chunks/{sq-jYFqr4Ga.js → sq-i9UOk4P7.js} +10 -10
  126. package/dist/_chunks/{sq-jYFqr4Ga.js.map → sq-i9UOk4P7.js.map} +1 -1
  127. package/dist/_chunks/subDays-CAUv47M1.js +8 -0
  128. package/dist/_chunks/{subDays-BcNi04uf.js.map → subDays-CAUv47M1.js.map} +1 -1
  129. package/dist/_chunks/{sv-BSGEJ-8B.js → sv-CpTdtmDQ.js} +8 -8
  130. package/dist/_chunks/{sv-BSGEJ-8B.js.map → sv-CpTdtmDQ.js.map} +1 -1
  131. package/dist/_chunks/{tab-bar-Axhk6xzx.js → tab-bar-BYESZINM.js} +83 -77
  132. package/dist/_chunks/tab-bar-BYESZINM.js.map +1 -0
  133. package/dist/_chunks/task-card.agent-CF2N_uu4.js +29 -0
  134. package/dist/_chunks/task-card.agent-CF2N_uu4.js.map +1 -0
  135. package/dist/_chunks/{tr-CTpgUtw6.js → tr-DXG2QN1K.js} +17 -17
  136. package/dist/_chunks/{tr-CTpgUtw6.js.map → tr-DXG2QN1K.js.map} +1 -1
  137. package/dist/_chunks/{unit-converter-COgkN7YP.js → unit-converter-CHPDuV7W.js} +2 -2
  138. package/dist/_chunks/{unit-converter-COgkN7YP.js.map → unit-converter-CHPDuV7W.js.map} +1 -1
  139. package/dist/_chunks/{warning-stack-BtjmJChC.js → warning-stack-B7t_8jRE.js} +42 -37
  140. package/dist/_chunks/{warning-stack-BtjmJChC.js.map → warning-stack-B7t_8jRE.js.map} +1 -1
  141. package/dist/_chunks/{zh-CN-BgM0Io2O.js → zh-CN-vPkPEK6H.js} +18 -18
  142. package/dist/_chunks/{zh-CN-BgM0Io2O.js.map → zh-CN-vPkPEK6H.js.map} +1 -1
  143. package/dist/agent-catalog.json +6426 -3382
  144. package/dist/agent-i18n/en.json +234 -15
  145. package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -1
  146. package/dist/components/agenda-card/index.js +1 -1
  147. package/dist/components/appointment-timeline/index.js +1 -1
  148. package/dist/components/bmi-calculator/index.js +1 -1
  149. package/dist/components/booking/booking.d.ts.map +1 -1
  150. package/dist/components/booking/index.js +1 -1
  151. package/dist/components/calculator-dialog/calculator-dialog.d.ts.map +1 -1
  152. package/dist/components/calculator-dialog/index.js +1 -1
  153. package/dist/components/care-plan-card/index.js +1 -1
  154. package/dist/components/care-plan-entry-card/index.js +1 -1
  155. package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
  156. package/dist/components/chat-container/chat-container.d.ts +14 -0
  157. package/dist/components/chat-container/chat-container.d.ts.map +1 -1
  158. package/dist/components/chat-container/index.js +1 -1
  159. package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts +4 -0
  160. package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts.map +1 -0
  161. package/dist/components/cycle-calculator/cycle-calculator.d.ts +42 -0
  162. package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
  163. package/dist/components/cycle-calculator/index.d.ts +1 -1
  164. package/dist/components/cycle-calculator/index.d.ts.map +1 -1
  165. package/dist/components/cycle-calculator/index.js +1 -1
  166. package/dist/components/data-table/index.js +1 -1
  167. package/dist/components/date-picker/index.js +1 -1
  168. package/dist/components/date-range-picker/index.js +1 -1
  169. package/dist/components/date-time-picker/index.js +1 -1
  170. package/dist/components/document-preview/index.js +1 -1
  171. package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts +4 -0
  172. package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts.map +1 -0
  173. package/dist/components/due-date-calculator/due-date-calculator.d.ts +61 -1
  174. package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
  175. package/dist/components/due-date-calculator/index.d.ts +1 -1
  176. package/dist/components/due-date-calculator/index.d.ts.map +1 -1
  177. package/dist/components/due-date-calculator/index.js +2 -2
  178. package/dist/components/editor-overlay/editor-overlay.d.ts +7 -1
  179. package/dist/components/editor-overlay/editor-overlay.d.ts.map +1 -1
  180. package/dist/components/editor-overlay/index.js +1 -1
  181. package/dist/components/fetal-weight/fetal-weight.agent.d.ts +4 -0
  182. package/dist/components/fetal-weight/fetal-weight.agent.d.ts.map +1 -0
  183. package/dist/components/fetal-weight/fetal-weight.d.ts +26 -0
  184. package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -1
  185. package/dist/components/fetal-weight/index.d.ts +1 -1
  186. package/dist/components/fetal-weight/index.d.ts.map +1 -1
  187. package/dist/components/fetal-weight/index.js +1 -1
  188. package/dist/components/freemium-paywall/index.js +1 -1
  189. package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts +4 -0
  190. package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts.map +1 -0
  191. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +44 -2
  192. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
  193. package/dist/components/gestational-age-calculator/index.d.ts +1 -1
  194. package/dist/components/gestational-age-calculator/index.d.ts.map +1 -1
  195. package/dist/components/gestational-age-calculator/index.js +1 -1
  196. package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts +4 -0
  197. package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts.map +1 -0
  198. package/dist/components/hcg-doubling/hcg-doubling.d.ts +30 -0
  199. package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -1
  200. package/dist/components/hcg-doubling/index.d.ts +1 -1
  201. package/dist/components/hcg-doubling/index.d.ts.map +1 -1
  202. package/dist/components/hcg-doubling/index.js +1 -1
  203. package/dist/components/header-settings/header-settings.agent.d.ts.map +1 -1
  204. package/dist/components/header-settings/header-settings.d.ts +13 -1
  205. package/dist/components/header-settings/header-settings.d.ts.map +1 -1
  206. package/dist/components/header-settings/index.js +1 -1
  207. package/dist/components/locale-picker/index.js +1 -1
  208. package/dist/components/locale-picker/locale-picker.agent.d.ts.map +1 -1
  209. package/dist/components/locale-picker/locale-picker.d.ts +9 -0
  210. package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
  211. package/dist/components/map-view/index.js +1 -1
  212. package/dist/components/map-view/map-view.agent.d.ts.map +1 -1
  213. package/dist/components/map-view/map-view.d.ts +22 -0
  214. package/dist/components/map-view/map-view.d.ts.map +1 -1
  215. package/dist/components/notes-panel/index.js +1 -1
  216. package/dist/components/number-input/index.js +1 -1
  217. package/dist/components/number-input/number-input.d.ts +2 -1
  218. package/dist/components/number-input/number-input.d.ts.map +1 -1
  219. package/dist/components/optical-prescription/index.js +1 -1
  220. package/dist/components/patient-details/index.js +1 -1
  221. package/dist/components/patient-table/index.js +1 -1
  222. package/dist/components/payment-form/index.d.ts +1 -1
  223. package/dist/components/payment-form/index.d.ts.map +1 -1
  224. package/dist/components/payment-form/index.js +1 -1
  225. package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
  226. package/dist/components/payment-form/payment-form.d.ts +32 -1
  227. package/dist/components/payment-form/payment-form.d.ts.map +1 -1
  228. package/dist/components/pdf-viewer/index.js +1 -1
  229. package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
  230. package/dist/components/pdf-viewer/pdf-viewer.d.ts +13 -0
  231. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  232. package/dist/components/practice-results/index.js +1 -1
  233. package/dist/components/pregnancy-dating/index.d.ts +1 -1
  234. package/dist/components/pregnancy-dating/index.d.ts.map +1 -1
  235. package/dist/components/pregnancy-dating/index.js +1 -1
  236. package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts +4 -0
  237. package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts.map +1 -0
  238. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +65 -1
  239. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts.map +1 -1
  240. package/dist/components/pregnancy-weight-gain/index.d.ts +2 -1
  241. package/dist/components/pregnancy-weight-gain/index.d.ts.map +1 -1
  242. package/dist/components/pregnancy-weight-gain/index.js +6 -5
  243. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts +4 -0
  244. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts.map +1 -0
  245. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +35 -0
  246. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
  247. package/dist/components/progress/index.js +1 -1
  248. package/dist/components/progress/progress.agent.d.ts.map +1 -1
  249. package/dist/components/progress/progress.d.ts +13 -0
  250. package/dist/components/progress/progress.d.ts.map +1 -1
  251. package/dist/components/radiograph-panel/index.js +1 -1
  252. package/dist/components/rich-text-editor/index.js +1 -1
  253. package/dist/components/session-countdown/index.js +1 -1
  254. package/dist/components/sign-document/index.js +1 -1
  255. package/dist/components/slot-grid/index.d.ts +2 -1
  256. package/dist/components/slot-grid/index.d.ts.map +1 -1
  257. package/dist/components/slot-grid/index.js +5 -4
  258. package/dist/components/slot-grid/slot-grid.agent.d.ts +4 -0
  259. package/dist/components/slot-grid/slot-grid.agent.d.ts.map +1 -0
  260. package/dist/components/slot-grid/slot-grid.d.ts +34 -0
  261. package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
  262. package/dist/components/sparkline/index.js +1 -1
  263. package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
  264. package/dist/components/sparkline/sparkline.d.ts +10 -0
  265. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  266. package/dist/components/tab-bar/index.js +1 -1
  267. package/dist/components/tab-bar/tab-bar.d.ts +13 -0
  268. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  269. package/dist/components/task-card/index.js +1 -1
  270. package/dist/components/task-card/task-card.agent.d.ts.map +1 -1
  271. package/dist/components/unit-converter/index.js +1 -1
  272. package/dist/components/warning-stack/index.js +1 -1
  273. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  274. package/dist/index.js +630 -627
  275. package/dist/patterns/alia-assistant/index.js +1 -1
  276. package/dist/patterns/anamnesis/anamnesis-compare-panel.d.ts.map +1 -1
  277. package/dist/patterns/anamnesis/anamnesis-compile.d.ts.map +1 -1
  278. package/dist/patterns/anamnesis/anamnesis-derive.d.ts +27 -8
  279. package/dist/patterns/anamnesis/anamnesis-derive.d.ts.map +1 -1
  280. package/dist/patterns/anamnesis/anamnesis-events.d.ts.map +1 -1
  281. package/dist/patterns/anamnesis/anamnesis-evolution-grid.d.ts.map +1 -1
  282. package/dist/patterns/anamnesis/anamnesis-field.d.ts.map +1 -1
  283. package/dist/patterns/anamnesis/anamnesis-format.d.ts +11 -3
  284. package/dist/patterns/anamnesis/anamnesis-format.d.ts.map +1 -1
  285. package/dist/patterns/anamnesis/anamnesis-highlight.d.ts +6 -0
  286. package/dist/patterns/anamnesis/anamnesis-highlight.d.ts.map +1 -0
  287. package/dist/patterns/anamnesis/anamnesis-intake.d.ts.map +1 -1
  288. package/dist/patterns/anamnesis/anamnesis-matrix.d.ts.map +1 -1
  289. package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +23 -9
  290. package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts.map +1 -1
  291. package/dist/patterns/anamnesis/anamnesis-readonly.d.ts.map +1 -1
  292. package/dist/patterns/anamnesis/anamnesis-target-strip.d.ts.map +1 -1
  293. package/dist/patterns/anamnesis/anamnesis-types.d.ts +7 -0
  294. package/dist/patterns/anamnesis/anamnesis-types.d.ts.map +1 -1
  295. package/dist/patterns/anamnesis/anamnesis-visit-note.d.ts.map +1 -1
  296. package/dist/patterns/anamnesis/anamnesis.d.ts +16 -7
  297. package/dist/patterns/anamnesis/anamnesis.d.ts.map +1 -1
  298. package/dist/patterns/anamnesis/index.d.ts +3 -2
  299. package/dist/patterns/anamnesis/index.d.ts.map +1 -1
  300. package/dist/patterns/anamnesis/index.js +7 -6
  301. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  302. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +6 -0
  303. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  304. package/dist/tokens.css +1 -1
  305. package/package.json +1 -1
  306. package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js +0 -27
  307. package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js.map +0 -1
  308. package/dist/_chunks/anamnesis-i18n-CfC0qYzy.js.map +0 -1
  309. package/dist/_chunks/booking-DjNbd7C1.js.map +0 -1
  310. package/dist/_chunks/calculator-dialog-DuXMQSdm.js +0 -40
  311. package/dist/_chunks/chat-container-HlFnoEIl.js.map +0 -1
  312. package/dist/_chunks/cycle-calculator-BwqYVPB4.js +0 -252
  313. package/dist/_chunks/cycle-calculator-BwqYVPB4.js.map +0 -1
  314. package/dist/_chunks/date-picker-variants-eL6HjWvw.js +0 -3363
  315. package/dist/_chunks/date-picker-variants-eL6HjWvw.js.map +0 -1
  316. package/dist/_chunks/due-date-calculator-CwfsFd3T.js +0 -256
  317. package/dist/_chunks/due-date-calculator-CwfsFd3T.js.map +0 -1
  318. package/dist/_chunks/editor-overlay-DE3esyio.js.map +0 -1
  319. package/dist/_chunks/fetal-weight-ePlLjJPc.js +0 -122
  320. package/dist/_chunks/fetal-weight-ePlLjJPc.js.map +0 -1
  321. package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js +0 -311
  322. package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js.map +0 -1
  323. package/dist/_chunks/hcg-doubling-BBqD2wI2.js +0 -170
  324. package/dist/_chunks/hcg-doubling-BBqD2wI2.js.map +0 -1
  325. package/dist/_chunks/header-settings--pjYOe6g.js +0 -284
  326. package/dist/_chunks/header-settings--pjYOe6g.js.map +0 -1
  327. package/dist/_chunks/isSameDay-DUEiAT0G.js +0 -39
  328. package/dist/_chunks/isSameDay-DUEiAT0G.js.map +0 -1
  329. package/dist/_chunks/isSameWeek-CK4HS9lH.js +0 -14
  330. package/dist/_chunks/locale-picker-BfBUdT1m.js.map +0 -1
  331. package/dist/_chunks/map-view-CsaHfoo6.js +0 -378
  332. package/dist/_chunks/map-view-CsaHfoo6.js.map +0 -1
  333. package/dist/_chunks/marketplace-app-shell-DwcFMxzp.js.map +0 -1
  334. package/dist/_chunks/number-input-DrozbZAU.js.map +0 -1
  335. package/dist/_chunks/payment-form-h-BZ8onk.js.map +0 -1
  336. package/dist/_chunks/pdf-viewer-Ddx-T053.js.map +0 -1
  337. package/dist/_chunks/pregnancy-dating-DzYTlBkT.js +0 -421
  338. package/dist/_chunks/pregnancy-dating-DzYTlBkT.js.map +0 -1
  339. package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js +0 -322
  340. package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js.map +0 -1
  341. package/dist/_chunks/progress-DA413-zn.js +0 -299
  342. package/dist/_chunks/progress-DA413-zn.js.map +0 -1
  343. package/dist/_chunks/slot-grid-CQSULZjd.js +0 -502
  344. package/dist/_chunks/slot-grid-CQSULZjd.js.map +0 -1
  345. package/dist/_chunks/sparkline-BTY4B5tv.js.map +0 -1
  346. package/dist/_chunks/subDays-BcNi04uf.js +0 -8
  347. package/dist/_chunks/tab-bar-Axhk6xzx.js.map +0 -1
  348. package/dist/_chunks/task-card.agent-Bt14CzUd.js +0 -25
  349. package/dist/_chunks/task-card.agent-Bt14CzUd.js.map +0 -1
@@ -1,28 +1,59 @@
1
- import { jsx as c, jsxs as D } from "react/jsx-runtime";
2
- import { forwardRef as le, useId as ue, useMemo as A, useRef as P, useState as F, useEffect as U, useImperativeHandle as pe } from "react";
3
- import { c as E } from "./index-D2ZczOXr.js";
1
+ import { jsx as c, jsxs as V } from "react/jsx-runtime";
2
+ import { forwardRef as pe, useId as ue, useMemo as A, useRef as z, useState as W, useEffect as S, useImperativeHandle as he } from "react";
3
+ import { c as K } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as me } from "react-i18next";
5
- import he from "react-apexcharts";
6
- import V from "apexcharts";
7
- import { g as J, u as fe } from "./apexcharts-theme-B_AxGC_h.js";
8
- import { m as ge } from "./annotation-marker-CsUJGZjQ.js";
9
- import { u as ve } from "./registry-DvAUVLHh.js";
10
- function ye(n) {
11
- if (n.length < 2)
5
+ import ge from "react-apexcharts";
6
+ import E from "apexcharts";
7
+ import { g as Q, u as fe } from "./apexcharts-theme-B_AxGC_h.js";
8
+ import { m as ye } from "./annotation-marker-CsUJGZjQ.js";
9
+ import { u as be } from "./registry-DvAUVLHh.js";
10
+ function ve(t) {
11
+ if (t.length < 2)
12
12
  return { slope: 0, direction: "steady" };
13
- const r = n.length, h = (r - 1) / 2, l = n.reduce((a, i) => a + i, 0) / r;
14
- let s = 0, u = 0;
15
- for (let a = 0; a < r; a++) {
16
- const i = a - h;
17
- s += i * (n[a] - l), u += i * i;
13
+ const a = t.length, m = (a - 1) / 2, l = t.reduce((r, i) => r + i, 0) / a;
14
+ let s = 0, p = 0;
15
+ for (let r = 0; r < a; r++) {
16
+ const i = r - m;
17
+ s += i * (t[r] - l), p += i * i;
18
18
  }
19
- const m = u === 0 ? 0 : s / u, k = 0.01 * (Math.max(...n) - Math.min(...n) || 1), f = Math.abs(m) < k ? "steady" : m > 0 ? "increasing" : "decreasing";
20
- return { slope: m, direction: f };
19
+ const h = p === 0 ? 0 : s / p, k = 0.01 * (Math.max(...t) - Math.min(...t) || 1), g = Math.abs(h) < k ? "steady" : h > 0 ? "increasing" : "decreasing";
20
+ return { slope: h, direction: g };
21
21
  }
22
- const be = {
22
+ const we = {
23
23
  id: "sparkline",
24
24
  capabilities: [],
25
- state: {},
25
+ // `select_annotation` enforces two preconditions silently and
26
+ // `update_series` writes straight into ApexCharts, bypassing React —
27
+ // so nothing in the React tree reflects what is actually rendered.
28
+ // These slots are the checkable form of both.
29
+ //
30
+ // A9 boundary: an annotation `id` is the host's opaque key, so it is
31
+ // exposed; `SparklineAnnotation.label` is human-readable and could
32
+ // name a clinical event, so it is not. The plotted values are
33
+ // measurements in a clinical sparkline and are never exposed — only
34
+ // their count. `trend` from `useLinearTrend` is deliberately left out
35
+ // for the same reason (still derived from the plotted values); adding
36
+ // it needs a DS-maintainer sign-off.
37
+ state: {
38
+ annotationIds: {
39
+ type: "string[]",
40
+ descriptionKey: "ui.agent.sparkline.state.annotationIds",
41
+ description: "Ids of the annotations currently drawn, in declaration order. The only ids `select_annotation` will accept — check against this before calling. Ids only, never annotation labels.",
42
+ read: (t) => t.getAnnotationIds()
43
+ },
44
+ selectable: {
45
+ type: "boolean",
46
+ descriptionKey: "ui.agent.sparkline.state.selectable",
47
+ description: "True when the host wired an annotation-select handler. False means every `select_annotation` call is a no-op, whatever id is passed.",
48
+ read: (t) => t.isSelectable()
49
+ },
50
+ pointCount: {
51
+ type: "number",
52
+ descriptionKey: "ui.agent.sparkline.state.pointCount",
53
+ description: "Number of positions in the currently rendered series, unmeasured gaps included — reflecting whichever applied last, the `data` prop or an `update_series` call. A count only; the plotted values are never exposed.",
54
+ read: (t) => t.getPointCount()
55
+ }
56
+ },
26
57
  actions: {
27
58
  update_series: {
28
59
  // Replacing the rendered series mutates what the chart displays — write,
@@ -42,9 +73,9 @@ const be = {
42
73
  },
43
74
  idempotent: !0,
44
75
  descriptionKey: "ui.agent.sparkline.actions.updateSeries",
45
- description: "Replace the sparkline data without remounting.",
46
- invoke: (n, r) => {
47
- n.updateSeries(r.data);
76
+ description: "Replace the sparkline data without remounting. Writes straight into ApexCharts, bypassing React — read the `pointCount` slot back rather than expecting the host tree to reflect it.",
77
+ invoke: (t, a) => {
78
+ t.updateSeries(a.data);
48
79
  }
49
80
  },
50
81
  export_png: {
@@ -57,7 +88,7 @@ const be = {
57
88
  },
58
89
  descriptionKey: "ui.agent.sparkline.actions.exportPng",
59
90
  description: "Return a PNG data URI of the sparkline.",
60
- invoke: (n) => n.dataURI()
91
+ invoke: (t) => t.dataURI()
61
92
  },
62
93
  select_annotation: {
63
94
  // Routes the host somewhere — the same thing a pointer press on the
@@ -77,9 +108,13 @@ const be = {
77
108
  },
78
109
  idempotent: !0,
79
110
  descriptionKey: "ui.agent.sparkline.actions.selectAnnotation",
80
- description: "Select a drawn annotation, as pressing its band would. No-op unless the host wired onAnnotationSelect and the id names an annotation that is currently drawn.",
81
- invoke: (n, r) => {
82
- n.selectAnnotation(r.annotationId);
111
+ description: "Select a drawn annotation, as pressing its band would. No-op unless the host wired onAnnotationSelect and the id names an annotation that is currently drawn — check the `selectable` and `annotationIds` slots first, since neither failure produces a signal.",
112
+ errors: [
113
+ "Silently ignored when `selectable` is false — the host wired no annotation-select handler.",
114
+ "Silently ignored when the id is not in `annotationIds` — that annotation is not currently drawn."
115
+ ],
116
+ invoke: (t, a) => {
117
+ t.selectAnnotation(a.annotationId);
83
118
  }
84
119
  }
85
120
  },
@@ -91,7 +126,7 @@ const be = {
91
126
  description: "Sourced from the id prop."
92
127
  }
93
128
  }
94
- }, Q = E("ds:relative ds:inline-block ds:w-full", {
129
+ }, X = K("ds:relative ds:inline-block ds:w-full", {
95
130
  variants: {
96
131
  size: {
97
132
  xs: "ds:h-6",
@@ -103,7 +138,7 @@ const be = {
103
138
  }
104
139
  },
105
140
  defaultVariants: { size: "md" }
106
- }), X = E("", {
141
+ }), Y = K("", {
107
142
  variants: {
108
143
  tone: {
109
144
  neutral: "ds:[--annotation-color:var(--muted-foreground)]",
@@ -118,7 +153,7 @@ const be = {
118
153
  }
119
154
  },
120
155
  defaultVariants: { tone: "neutral" }
121
- }), we = E(
156
+ }), ke = K(
122
157
  "ds:pointer-events-none ds:absolute ds:inset-x-[2px]",
123
158
  {
124
159
  variants: {
@@ -134,162 +169,172 @@ const be = {
134
169
  },
135
170
  defaultVariants: { size: "md" }
136
171
  }
137
- ), ke = {
172
+ ), xe = {
138
173
  increasing: "↑",
139
174
  decreasing: "↓",
140
175
  steady: "→"
141
- }, xe = {
176
+ }, Ie = {
142
177
  xs: 24,
143
178
  sm: 32,
144
179
  md: 40
145
- }, I = 2, Y = 2.5, ee = 44;
146
- function Ie(n, r, h = ee) {
147
- const l = n.map((s) => ({
180
+ }, N = 2, ee = 2.5, te = 44;
181
+ function Ne(t, a, m = te) {
182
+ const l = t.map((s) => ({
148
183
  annotation: s,
149
- centre: te(s.position) * r
150
- })).sort((s, u) => s.centre - u.centre);
151
- return l.map((s, u) => {
152
- const m = l[u - 1], w = l[u + 1], k = m ? (m.centre + s.centre) / 2 : 0, f = w ? (s.centre + w.centre) / 2 : r, a = Math.max(0, k), i = Math.min(r, f), y = Math.min(h, Math.max(0, i - a)), N = Math.min(
153
- Math.max(s.centre - y / 2, a),
154
- i - y
184
+ centre: ne(s.position) * a
185
+ })).sort((s, p) => s.centre - p.centre);
186
+ return l.map((s, p) => {
187
+ const h = l[p - 1], w = l[p + 1], k = h ? (h.centre + s.centre) / 2 : 0, g = w ? (s.centre + w.centre) / 2 : a, r = Math.max(0, k), i = Math.min(a, g), b = Math.min(m, Math.max(0, i - r)), T = Math.min(
188
+ Math.max(s.centre - b / 2, r),
189
+ i - b
155
190
  );
156
- return { annotation: s.annotation, x: N, width: y };
191
+ return { annotation: s.annotation, x: T, width: b };
157
192
  });
158
193
  }
159
- function te(n) {
160
- return Number.isFinite(n) ? Math.min(1, Math.max(0, n)) : 0;
194
+ function ne(t) {
195
+ return Number.isFinite(t) ? Math.min(1, Math.max(0, t)) : 0;
161
196
  }
162
- function Ne(n) {
163
- return n.filter((r) => r != null);
197
+ function Te(t) {
198
+ return t.filter((a) => a != null);
164
199
  }
165
200
  function Me() {
166
201
  return typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
167
202
  }
168
- const Te = le(
203
+ const Ce = pe(
169
204
  ({
170
- id: n,
171
- data: r,
172
- variant: h = "line",
205
+ id: t,
206
+ data: a,
207
+ variant: m = "line",
173
208
  size: l = "md",
174
209
  label: s,
175
- color: u,
176
- showEndpoint: m = !1,
210
+ color: p,
211
+ showEndpoint: h = !1,
177
212
  showTooltip: w = !1,
178
213
  width: k,
179
- height: f,
180
- annotations: a,
214
+ height: g,
215
+ annotations: r,
181
216
  onAnnotationSelect: i,
182
- className: y,
183
- ...N
184
- }, ne) => {
185
- var Z;
186
- const { t: v, i18n: W } = me(), $ = ue(), x = A(
187
- () => `sparkline-${$.replace(/[^a-zA-Z0-9-_]/g, "")}`,
188
- [$]
189
- ), M = P(null), [C, ae] = F(0), [re, se] = F(ee), p = A(() => Ne(r), [r]), { direction: O } = ye(p), j = A(() => {
190
- const e = a && a.length > 0 ? v("sparkline.annotations", {
191
- list: a.map((b) => b.label).join(", ")
192
- }) : "", t = (b) => e ? `${b}. ${e}` : b;
193
- if (p.length === 0)
194
- return t(v("sparkline.noData", "No data"));
195
- const o = (b) => new Intl.NumberFormat(W.language).format(b), g = v(`sparkline.direction.${O}`), d = {
196
- min: o(Math.min(...p)),
197
- max: o(Math.max(...p)),
198
- current: o(p[p.length - 1]),
199
- direction: g
217
+ className: b,
218
+ ...T
219
+ }, ae) => {
220
+ var J;
221
+ const { t: y, i18n: $ } = me(), j = ue(), x = A(
222
+ () => `sparkline-${j.replace(/[^a-zA-Z0-9-_]/g, "")}`,
223
+ [j]
224
+ ), M = z(null), [_, re] = W(0), [se, ie] = W(te), u = A(() => Te(a), [a]), { direction: O } = ve(u), B = A(() => {
225
+ const e = r && r.length > 0 ? y("sparkline.annotations", {
226
+ list: r.map((v) => v.label).join(", ")
227
+ }) : "", n = (v) => e ? `${v}. ${e}` : v;
228
+ if (u.length === 0)
229
+ return n(y("sparkline.noData", "No data"));
230
+ const o = (v) => new Intl.NumberFormat($.language).format(v), f = y(`sparkline.direction.${O}`), d = {
231
+ min: o(Math.min(...u)),
232
+ max: o(Math.max(...u)),
233
+ current: o(u[u.length - 1]),
234
+ direction: f
200
235
  };
201
- return t(s ? v("sparkline.summary", { label: s, ...d }) : v("sparkline.summaryNoLabel", d));
202
- }, [p, a, s, O, W.language, v]), [T, ie] = F(
236
+ return n(s ? y("sparkline.summary", { label: s, ...d }) : y("sparkline.summaryNoLabel", d));
237
+ }, [u, r, s, O, $.language, y]), [C, oe] = W(
203
238
  () => {
204
239
  try {
205
- return J();
240
+ return Q();
206
241
  } catch {
207
242
  return {};
208
243
  }
209
244
  }
210
245
  );
211
- U(() => {
246
+ S(() => {
212
247
  let e;
213
- const t = new MutationObserver(() => {
248
+ const n = new MutationObserver(() => {
214
249
  clearTimeout(e), e = setTimeout(() => {
215
250
  try {
216
- ie(J());
251
+ oe(Q());
217
252
  } catch {
218
253
  }
219
254
  }, 50);
220
255
  });
221
- return t.observe(document.documentElement, {
256
+ return n.observe(document.documentElement, {
222
257
  attributes: !0,
223
258
  attributeFilter: ["class"]
224
259
  }), () => {
225
- clearTimeout(e), t.disconnect();
260
+ clearTimeout(e), n.disconnect();
226
261
  };
227
- }, []), U(() => {
262
+ }, []), S(() => {
228
263
  const e = M.current;
229
264
  if (!e) return;
230
- const t = () => {
231
- const g = getComputedStyle(e).getPropertyValue("--min-target-size"), d = Number.parseFloat(g);
232
- Number.isFinite(d) && d > 0 && se(d);
265
+ const n = () => {
266
+ const f = getComputedStyle(e).getPropertyValue("--min-target-size"), d = Number.parseFloat(f);
267
+ Number.isFinite(d) && d > 0 && ie(d);
233
268
  };
234
- t();
235
- const o = new ResizeObserver((g) => {
236
- const d = g[0];
237
- d && ae(Math.floor(d.contentRect.width)), t();
269
+ n();
270
+ const o = new ResizeObserver((f) => {
271
+ const d = f[0];
272
+ d && re(Math.floor(d.contentRect.width)), n();
238
273
  });
239
274
  return o.observe(e), () => o.disconnect();
240
275
  }, []), fe(M);
241
- const R = P(i);
242
- U(() => {
243
- R.current = i;
276
+ const I = z(i);
277
+ S(() => {
278
+ I.current = i;
244
279
  }, [i]);
245
- const B = P(a);
246
- B.current = a;
247
- const H = A(
280
+ const H = z(r);
281
+ H.current = r;
282
+ const P = z(a.length);
283
+ S(() => {
284
+ P.current = a.length;
285
+ }, [a]);
286
+ const D = A(
248
287
  () => ({
249
288
  updateSeries(e) {
250
- var t;
251
- (t = V.getChartByID(x)) == null || t.updateSeries([{ data: e }]);
289
+ var n;
290
+ (n = E.getChartByID(x)) == null || n.updateSeries([{ data: e }]), P.current = e.length;
252
291
  },
253
292
  updateOptions(e) {
254
- var t;
255
- (t = V.getChartByID(x)) == null || t.updateOptions(e);
293
+ var n;
294
+ (n = E.getChartByID(x)) == null || n.updateOptions(e);
256
295
  },
257
296
  async dataURI() {
258
- const e = V.getChartByID(x);
297
+ const e = E.getChartByID(x);
259
298
  return e ? (await e.dataURI()).imgURI : "";
260
299
  },
261
300
  selectAnnotation(e) {
262
- var o, g;
263
- (o = B.current) != null && o.some((d) => d.id === e) && ((g = R.current) == null || g.call(R, e));
264
- }
301
+ var o, f;
302
+ (o = H.current) != null && o.some((d) => d.id === e) && ((f = I.current) == null || f.call(I, e));
303
+ },
304
+ // Read-back for the two preconditions `selectAnnotation` enforces
305
+ // silently — without these an agent can check neither and gets no
306
+ // signal from either failure.
307
+ getAnnotationIds: () => (H.current ?? []).map((e) => e.id),
308
+ isSelectable: () => I.current != null,
309
+ getPointCount: () => P.current
265
310
  }),
266
311
  [x]
267
312
  );
268
- pe(ne, () => H, [H]), ve(be, H, n);
269
- const _ = u ?? ((Z = T.colors) == null ? void 0 : Z[0]) ?? "currentColor";
270
- if (p.length === 0)
313
+ he(ae, () => D, [D]), be(we, D, t);
314
+ const F = p ?? ((J = C.colors) == null ? void 0 : J[0]) ?? "currentColor";
315
+ if (u.length === 0)
271
316
  return /* @__PURE__ */ c(
272
317
  "div",
273
318
  {
274
319
  ref: M,
275
320
  role: "img",
276
- "aria-label": j,
321
+ "aria-label": B,
277
322
  dir: "ltr",
278
- className: Q({
279
- size: f !== void 0 ? "auto" : l,
280
- className: y
323
+ className: X({
324
+ size: g !== void 0 ? "auto" : l,
325
+ className: b
281
326
  }),
282
327
  "data-component": "sparkline",
283
- "data-component-id": n,
284
- ...N
328
+ "data-component-id": t,
329
+ ...T
285
330
  }
286
331
  );
287
- const G = Me(), S = r.length > p.length, L = S ? r.flatMap((e, t) => e == null ? [] : [{ x: t, y: e }]) : p, oe = {
288
- ...T,
332
+ const G = Me(), U = a.length > u.length, L = U ? a.flatMap((e, n) => e == null ? [] : [{ x: n, y: e }]) : u, de = {
333
+ ...C,
289
334
  chart: {
290
- ...T.chart,
335
+ ...C.chart,
291
336
  id: x,
292
- type: h,
337
+ type: m,
293
338
  sparkline: { enabled: !0 },
294
339
  toolbar: { show: !1 },
295
340
  animations: {
@@ -300,28 +345,28 @@ const Te = le(
300
345
  // the tween emits `d="… NaN …"` for a few frames. The finished
301
346
  // render is correct either way; switching the tween off keeps the
302
347
  // console clean.
303
- dynamicAnimation: { enabled: !G && !S }
348
+ dynamicAnimation: { enabled: !G && !U }
304
349
  },
305
350
  zoom: { enabled: !1 },
306
351
  parentHeightOffset: 0
307
352
  },
308
- colors: [_],
353
+ colors: [F],
309
354
  stroke: {
310
355
  curve: "smooth",
311
- width: h === "bar" ? 0 : 2
356
+ width: m === "bar" ? 0 : 2
312
357
  },
313
358
  fill: {
314
- opacity: h === "area" ? 0.15 : 1
359
+ opacity: m === "area" ? 0.15 : 1
315
360
  },
316
361
  xaxis: {
317
362
  crosshairs: { show: !1 },
318
363
  // Pin the extent to the slot count so a gap at either end still holds
319
364
  // its place — otherwise the plot would rescale to the measurements
320
365
  // and the annotation fractions would no longer mean the same thing.
321
- ...S ? { type: "numeric", min: 0, max: r.length - 1 } : {}
366
+ ...U ? { type: "numeric", min: 0, max: a.length - 1 } : {}
322
367
  },
323
368
  tooltip: { enabled: w },
324
- markers: m ? {
369
+ markers: h ? {
325
370
  size: [0],
326
371
  discrete: [
327
372
  {
@@ -330,52 +375,52 @@ const Te = le(
330
375
  // the parameter was not measured at.
331
376
  seriesIndex: 0,
332
377
  dataPointIndex: L.length - 1,
333
- fillColor: _,
334
- strokeColor: _,
378
+ fillColor: F,
379
+ strokeColor: F,
335
380
  size: 4
336
381
  }
337
382
  ]
338
383
  } : { size: 0 },
339
384
  grid: {
340
- ...T.grid,
385
+ ...C.grid,
341
386
  show: !1,
342
387
  // ApexCharts grid.padding uses physical keys (not CSS logical properties).
343
388
  // The chart wrapper enforces dir="ltr" so these always resolve correctly.
344
389
  padding: {
345
- top: I,
346
- right: I,
347
- bottom: I,
348
- left: I
390
+ top: N,
391
+ right: N,
392
+ bottom: N,
393
+ left: N
349
394
  }
350
395
  }
351
- }, de = k ?? (C > 0 ? C : "100%"), ce = f ?? xe[l ?? "md"], z = a != null && a.length ? a : void 0, K = C - I * 2, q = i && z && K > 0 ? Ie(z, K, re) : void 0;
352
- return /* @__PURE__ */ D(
396
+ }, ce = k ?? (_ > 0 ? _ : "100%"), le = g ?? Ie[l ?? "md"], R = r != null && r.length ? r : void 0, q = _ - N * 2, Z = i && R && q > 0 ? Ne(R, q, se) : void 0;
397
+ return /* @__PURE__ */ V(
353
398
  "div",
354
399
  {
355
400
  ref: M,
356
401
  role: "img",
357
- "aria-label": j,
402
+ "aria-label": B,
358
403
  dir: "ltr",
359
- className: Q({
360
- size: f !== void 0 ? "auto" : l,
361
- className: y
404
+ className: X({
405
+ size: g !== void 0 ? "auto" : l,
406
+ className: b
362
407
  }),
363
408
  "data-component": "sparkline",
364
- "data-component-id": n,
365
- ...N,
409
+ "data-component-id": t,
410
+ ...T,
366
411
  children: [
367
412
  /* @__PURE__ */ c(
368
- he,
413
+ ge,
369
414
  {
370
- type: h,
415
+ type: m,
371
416
  series: [{ data: L }],
372
- options: oe,
373
- width: de,
374
- height: ce,
417
+ options: de,
418
+ width: ce,
419
+ height: le,
375
420
  "aria-hidden": "true"
376
421
  }
377
422
  ),
378
- z && /* Drawn over the plot rather than through ApexCharts' own xaxis
423
+ R && /* Drawn over the plot rather than through ApexCharts' own xaxis
379
424
  annotations: a fraction of the measured extent is the one
380
425
  positioning rule that survives series of different lengths, which
381
426
  is what makes a column of sparklines share an x. */
@@ -392,23 +437,23 @@ const Te = le(
392
437
  focusable: "false",
393
438
  "data-testid": "sparkline-annotations",
394
439
  className: "ds:size-full",
395
- children: z.map((e) => {
396
- const t = te(e.position);
440
+ children: R.map((e) => {
441
+ const n = ne(e.position);
397
442
  return (
398
443
  /* A nested viewport placed at a percentage of the plot: the
399
444
  one positioning rule that needs no measurement, so a column
400
445
  of sparklines shares an x whatever their widths. */
401
- /* @__PURE__ */ D(
446
+ /* @__PURE__ */ V(
402
447
  "svg",
403
448
  {
404
- x: `${t * 100}%`,
449
+ x: `${n * 100}%`,
405
450
  y: "0",
406
451
  width: "1",
407
452
  height: "100%",
408
453
  overflow: "visible",
409
454
  "data-annotation-id": e.id,
410
- "data-annotation-position": t,
411
- className: X({ tone: e.tone }),
455
+ "data-annotation-position": n,
456
+ className: Y({ tone: e.tone }),
412
457
  children: [
413
458
  /* @__PURE__ */ c(
414
459
  "line",
@@ -423,11 +468,11 @@ const Te = le(
423
468
  /* @__PURE__ */ c(
424
469
  "path",
425
470
  {
426
- d: ge(
471
+ d: ye(
427
472
  e.shape ?? "diamond",
428
473
  0,
429
- Y,
430
- Y
474
+ ee,
475
+ ee
431
476
  ),
432
477
  className: "ds:[fill:var(--annotation-color)]"
433
478
  }
@@ -440,15 +485,15 @@ const Te = le(
440
485
  })
441
486
  }
442
487
  ) }),
443
- q && i && /* Sized in px, not percentages: the target size is a measurement,
488
+ Z && i && /* Sized in px, not percentages: the target size is a measurement,
444
489
  not a fraction of a box the reader can resize.
445
490
  `pointer-events-none` holds all the way down to the bands, so the
446
491
  only live pixels are the token-width each annotation owns. */
447
492
  /* @__PURE__ */ c(
448
493
  "div",
449
494
  {
450
- className: we({
451
- size: f !== void 0 ? "auto" : l
495
+ className: ke({
496
+ size: g !== void 0 ? "auto" : l
452
497
  }),
453
498
  children: /* @__PURE__ */ c(
454
499
  "svg",
@@ -457,22 +502,22 @@ const Te = le(
457
502
  focusable: "false",
458
503
  "data-testid": "sparkline-annotation-hits",
459
504
  className: "ds:size-full",
460
- children: q.map(({ annotation: e, x: t, width: o }) => /* @__PURE__ */ D(
505
+ children: Z.map(({ annotation: e, x: n, width: o }) => /* @__PURE__ */ V(
461
506
  "g",
462
507
  {
463
508
  "data-annotation-hit-id": e.id,
464
509
  onClick: () => i(e.id),
465
- className: `ds:group ds:pointer-events-auto ds:cursor-pointer ${X(
510
+ className: `ds:group ds:pointer-events-auto ds:cursor-pointer ${Y(
466
511
  { tone: e.tone }
467
512
  )}`,
468
513
  children: [
469
- /* @__PURE__ */ c("title", { children: v("sparkline.annotationAction", {
514
+ /* @__PURE__ */ c("title", { children: y("sparkline.annotationAction", {
470
515
  label: e.label
471
516
  }) }),
472
517
  /* @__PURE__ */ c(
473
518
  "rect",
474
519
  {
475
- x: t,
520
+ x: n,
476
521
  y: 0,
477
522
  width: o,
478
523
  height: "100%",
@@ -487,12 +532,12 @@ const Te = le(
487
532
  )
488
533
  }
489
534
  ),
490
- m && /* @__PURE__ */ c(
535
+ h && /* @__PURE__ */ c(
491
536
  "span",
492
537
  {
493
538
  "aria-hidden": "true",
494
539
  className: "ds:pointer-events-none ds:absolute ds:end-0 ds:top-0 ds:text-[length:var(--font-size-xs)] ds:leading-none",
495
- children: ke[O]
540
+ children: xe[O]
496
541
  }
497
542
  )
498
543
  ]
@@ -500,10 +545,10 @@ const Te = le(
500
545
  );
501
546
  }
502
547
  );
503
- Te.displayName = "Sparkline";
548
+ Ce.displayName = "Sparkline";
504
549
  export {
505
- Te as S,
506
- be as s,
507
- ye as u
550
+ Ce as S,
551
+ we as s,
552
+ ve as u
508
553
  };
509
- //# sourceMappingURL=sparkline-BTY4B5tv.js.map
554
+ //# sourceMappingURL=sparkline-BmGcEyZO.js.map