@alfadocs/ui-kit-debug 0.47.0 → 0.48.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 (341) hide show
  1. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  2. package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
  3. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  4. package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
  5. package/dist/_chunks/ai-consent-banner-DO5ingMq.js +169 -0
  6. package/dist/_chunks/ai-consent-banner-DO5ingMq.js.map +1 -0
  7. package/dist/_chunks/ai-tools-rail-CxYG04cw.js +280 -0
  8. package/dist/_chunks/ai-tools-rail-CxYG04cw.js.map +1 -0
  9. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  10. package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
  11. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  12. package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
  13. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  14. package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
  15. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  17. package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
  18. package/dist/_chunks/booking-WV2GSru5.js.map +1 -0
  19. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  20. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  21. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  22. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  23. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  24. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  25. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  26. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  27. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  28. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  29. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  30. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  31. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  32. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  33. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  34. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  35. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
  36. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js.map → cycle-calculator-DYvGm_m1.js.map} +1 -1
  37. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  38. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  39. package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
  40. package/dist/_chunks/{due-date-calculator-mFxpHLml.js.map → due-date-calculator-BXd3ANj7.js.map} +1 -1
  41. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  42. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  43. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
  44. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js.map → gestational-age-calculator-Crj6FgZw.js.map} +1 -1
  45. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  46. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  47. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  48. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  49. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  50. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  51. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  52. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  53. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  54. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  55. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  56. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  57. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  58. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  59. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  60. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  61. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  62. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  63. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
  64. package/dist/_chunks/pdf-viewer-G8SU6Azw.js.map +1 -0
  65. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  66. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  67. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  68. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  69. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
  70. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-BFL_mcDW.js.map} +1 -1
  71. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
  72. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js.map → pregnancy-weight-gain-C7dK89jE.js.map} +1 -1
  73. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  74. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  75. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  76. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  77. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
  78. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-DPI2pY9V.js.map} +1 -1
  79. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  80. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  81. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  82. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  83. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  84. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  85. package/dist/_chunks/video-BAeICxCT.js +21 -0
  86. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  87. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-ZXw-zsZ8.js} +138 -156
  88. package/dist/_chunks/workflow-map-ZXw-zsZ8.js.map +1 -0
  89. package/dist/agent-catalog.json +324 -1
  90. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  91. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  92. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  93. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  94. package/dist/components/_shared/index.d.ts +2 -0
  95. package/dist/components/_shared/index.d.ts.map +1 -1
  96. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  97. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  98. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  99. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  100. package/dist/components/agenda-card/index.d.ts +2 -1
  101. package/dist/components/agenda-card/index.d.ts.map +1 -1
  102. package/dist/components/agenda-card/index.js +6 -5
  103. package/dist/components/agenda-card/index.js.map +1 -1
  104. package/dist/components/agenda-tray/index.js +1 -1
  105. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  106. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  107. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  108. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  109. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  110. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  111. package/dist/components/ai-consent-banner/index.js +6 -0
  112. package/dist/components/ai-consent-banner/index.js.map +1 -0
  113. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  114. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  115. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  116. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  117. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  118. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  119. package/dist/components/ai-tools-rail/index.js +6 -0
  120. package/dist/components/ai-tools-rail/index.js.map +1 -0
  121. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  122. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  123. package/dist/components/anamnesis-card/index.d.ts +3 -0
  124. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  125. package/dist/components/anamnesis-card/index.js +5 -0
  126. package/dist/components/anamnesis-card/index.js.map +1 -0
  127. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  128. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  129. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  130. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  131. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  132. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  133. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  134. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  135. package/dist/components/appointment-card/index.d.ts +8 -0
  136. package/dist/components/appointment-card/index.d.ts.map +1 -0
  137. package/dist/components/appointment-card/index.js +10 -0
  138. package/dist/components/appointment-card/index.js.map +1 -0
  139. package/dist/components/badge/badge.d.ts +1 -1
  140. package/dist/components/bmi-calculator/index.js +1 -1
  141. package/dist/components/booking/index.js +1 -1
  142. package/dist/components/calculator-dialog/index.js +1 -1
  143. package/dist/components/calendar/index.js +1 -1
  144. package/dist/components/card/card.d.ts +1 -1
  145. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  146. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  147. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  148. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  149. package/dist/components/care-plan-card/index.d.ts +4 -0
  150. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  151. package/dist/components/care-plan-card/index.js +6 -0
  152. package/dist/components/care-plan-card/index.js.map +1 -0
  153. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  154. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  155. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  156. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  157. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  158. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  159. package/dist/components/care-plan-entry-card/index.js +6 -0
  160. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  161. package/dist/components/chat-message/chat-message.d.ts +7 -0
  162. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  163. package/dist/components/chat-message/index.js +1 -1
  164. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  165. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  166. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  167. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  168. package/dist/components/clinical-note-card/index.d.ts +4 -0
  169. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  170. package/dist/components/clinical-note-card/index.js +6 -0
  171. package/dist/components/clinical-note-card/index.js.map +1 -0
  172. package/dist/components/contact-profile-card/index.js +1 -1
  173. package/dist/components/cycle-calculator/index.js +1 -1
  174. package/dist/components/dialog/dialog.d.ts +7 -0
  175. package/dist/components/dialog/dialog.d.ts.map +1 -1
  176. package/dist/components/dialog/index.js +1 -1
  177. package/dist/components/due-date-calculator/index.js +1 -1
  178. package/dist/components/gestational-age-calculator/index.js +1 -1
  179. package/dist/components/index.d.ts +10 -0
  180. package/dist/components/index.d.ts.map +1 -1
  181. package/dist/components/message-card/index.js +5 -4
  182. package/dist/components/message-card/index.js.map +1 -1
  183. package/dist/components/message-card/message-card.d.ts +1 -2
  184. package/dist/components/message-card/message-card.d.ts.map +1 -1
  185. package/dist/components/message-tray/index.js +1 -1
  186. package/dist/components/operator-hero/index.js +1 -1
  187. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  188. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  189. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  190. package/dist/components/patient-summary-card/index.d.ts +4 -0
  191. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  192. package/dist/components/patient-summary-card/index.js +6 -0
  193. package/dist/components/patient-summary-card/index.js.map +1 -0
  194. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  195. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  196. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  197. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  198. package/dist/components/payment-card/index.d.ts +7 -0
  199. package/dist/components/payment-card/index.d.ts.map +1 -0
  200. package/dist/components/payment-card/index.js +8 -0
  201. package/dist/components/payment-card/index.js.map +1 -0
  202. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  203. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  204. package/dist/components/payment-card/payment-card.d.ts +71 -0
  205. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  206. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  207. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  208. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  209. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  210. package/dist/components/pdf-viewer/index.js +1 -1
  211. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  212. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  213. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  214. package/dist/components/periodontal-chart-card/index.js +7 -0
  215. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  216. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  217. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  218. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  219. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  220. package/dist/components/practice-results/index.js +1 -1
  221. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  222. package/dist/components/public-header/public-header.d.ts +1 -1
  223. package/dist/components/sign-document/index.js +1 -1
  224. package/dist/components/stat/stat.d.ts +1 -1
  225. package/dist/components/transaction-chip/index.js +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/components/workflow/index.js +1 -1
  228. package/dist/i18n/locales/ar.d.ts +351 -0
  229. package/dist/i18n/locales/ar.d.ts.map +1 -1
  230. package/dist/i18n/locales/ar.js +351 -0
  231. package/dist/i18n/locales/ar.js.map +1 -1
  232. package/dist/i18n/locales/de.d.ts +351 -0
  233. package/dist/i18n/locales/de.d.ts.map +1 -1
  234. package/dist/i18n/locales/de.js +351 -0
  235. package/dist/i18n/locales/de.js.map +1 -1
  236. package/dist/i18n/locales/el.d.ts +351 -0
  237. package/dist/i18n/locales/el.d.ts.map +1 -1
  238. package/dist/i18n/locales/el.js +351 -0
  239. package/dist/i18n/locales/el.js.map +1 -1
  240. package/dist/i18n/locales/en.d.ts +351 -0
  241. package/dist/i18n/locales/en.d.ts.map +1 -1
  242. package/dist/i18n/locales/en.js +351 -0
  243. package/dist/i18n/locales/en.js.map +1 -1
  244. package/dist/i18n/locales/es.d.ts +351 -0
  245. package/dist/i18n/locales/es.d.ts.map +1 -1
  246. package/dist/i18n/locales/es.js +351 -0
  247. package/dist/i18n/locales/es.js.map +1 -1
  248. package/dist/i18n/locales/fr.d.ts +351 -0
  249. package/dist/i18n/locales/fr.d.ts.map +1 -1
  250. package/dist/i18n/locales/fr.js +351 -0
  251. package/dist/i18n/locales/fr.js.map +1 -1
  252. package/dist/i18n/locales/hi.d.ts +351 -0
  253. package/dist/i18n/locales/hi.d.ts.map +1 -1
  254. package/dist/i18n/locales/hi.js +351 -0
  255. package/dist/i18n/locales/hi.js.map +1 -1
  256. package/dist/i18n/locales/it.d.ts +351 -0
  257. package/dist/i18n/locales/it.d.ts.map +1 -1
  258. package/dist/i18n/locales/it.js +351 -0
  259. package/dist/i18n/locales/it.js.map +1 -1
  260. package/dist/i18n/locales/ja.d.ts +351 -0
  261. package/dist/i18n/locales/ja.d.ts.map +1 -1
  262. package/dist/i18n/locales/ja.js +351 -0
  263. package/dist/i18n/locales/ja.js.map +1 -1
  264. package/dist/i18n/locales/nl.d.ts +351 -0
  265. package/dist/i18n/locales/nl.d.ts.map +1 -1
  266. package/dist/i18n/locales/nl.js +351 -0
  267. package/dist/i18n/locales/nl.js.map +1 -1
  268. package/dist/i18n/locales/pl.d.ts +351 -0
  269. package/dist/i18n/locales/pl.d.ts.map +1 -1
  270. package/dist/i18n/locales/pl.js +351 -0
  271. package/dist/i18n/locales/pl.js.map +1 -1
  272. package/dist/i18n/locales/pt.d.ts +351 -0
  273. package/dist/i18n/locales/pt.d.ts.map +1 -1
  274. package/dist/i18n/locales/pt.js +351 -0
  275. package/dist/i18n/locales/pt.js.map +1 -1
  276. package/dist/i18n/locales/ro.d.ts +351 -0
  277. package/dist/i18n/locales/ro.d.ts.map +1 -1
  278. package/dist/i18n/locales/ro.js +351 -0
  279. package/dist/i18n/locales/ro.js.map +1 -1
  280. package/dist/i18n/locales/ru.d.ts +351 -0
  281. package/dist/i18n/locales/ru.d.ts.map +1 -1
  282. package/dist/i18n/locales/ru.js +351 -0
  283. package/dist/i18n/locales/ru.js.map +1 -1
  284. package/dist/i18n/locales/sq.d.ts +351 -0
  285. package/dist/i18n/locales/sq.d.ts.map +1 -1
  286. package/dist/i18n/locales/sq.js +351 -0
  287. package/dist/i18n/locales/sq.js.map +1 -1
  288. package/dist/i18n/locales/sv.d.ts +351 -0
  289. package/dist/i18n/locales/sv.d.ts.map +1 -1
  290. package/dist/i18n/locales/sv.js +351 -0
  291. package/dist/i18n/locales/sv.js.map +1 -1
  292. package/dist/i18n/locales/tr.d.ts +351 -0
  293. package/dist/i18n/locales/tr.d.ts.map +1 -1
  294. package/dist/i18n/locales/tr.js +351 -0
  295. package/dist/i18n/locales/tr.js.map +1 -1
  296. package/dist/i18n/locales/zh.d.ts +351 -0
  297. package/dist/i18n/locales/zh.d.ts.map +1 -1
  298. package/dist/i18n/locales/zh.js +351 -0
  299. package/dist/i18n/locales/zh.js.map +1 -1
  300. package/dist/index.js +527 -491
  301. package/dist/index.js.map +1 -1
  302. package/dist/locales/ar.json +351 -0
  303. package/dist/locales/de.json +351 -0
  304. package/dist/locales/el.json +351 -0
  305. package/dist/locales/en.json +351 -0
  306. package/dist/locales/es.json +351 -0
  307. package/dist/locales/fr.json +351 -0
  308. package/dist/locales/hi.json +351 -0
  309. package/dist/locales/it.json +351 -0
  310. package/dist/locales/ja.json +351 -0
  311. package/dist/locales/nl.json +351 -0
  312. package/dist/locales/pl.json +351 -0
  313. package/dist/locales/pt.json +351 -0
  314. package/dist/locales/ro.json +351 -0
  315. package/dist/locales/ru.json +351 -0
  316. package/dist/locales/sq.json +351 -0
  317. package/dist/locales/sv.json +351 -0
  318. package/dist/locales/tr.json +351 -0
  319. package/dist/locales/zh.json +351 -0
  320. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  321. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  322. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  323. package/dist/patterns/alia-assistant/index.js +1 -1
  324. package/dist/tokens.css +1 -1
  325. package/package.json +42 -1
  326. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  327. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  328. package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
  329. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  330. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  331. package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
  332. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  333. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  334. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  335. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  336. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  337. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  338. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  339. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  340. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  341. package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.47.0",
3
+ "packageVersion": "0.48.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -112,6 +112,36 @@
112
112
  }
113
113
  }
114
114
  },
115
+ {
116
+ "kind": "component",
117
+ "id": "ai-consent-banner",
118
+ "capabilities": [],
119
+ "state": [
120
+ {
121
+ "name": "consentState",
122
+ "type": "'granted' | 'required' | 'pending'",
123
+ "description": "Current consent state. Structural only — never the grantee identity."
124
+ },
125
+ {
126
+ "name": "armed",
127
+ "type": "boolean",
128
+ "description": "Whether the consent confirmation checkbox is ticked (required state only)."
129
+ }
130
+ ],
131
+ "actions": [],
132
+ "domHooks": {
133
+ "root": {
134
+ "attr": "data-component",
135
+ "value": "ai-consent-banner",
136
+ "description": "Marks the AiConsentBanner root region."
137
+ },
138
+ "instanceId": {
139
+ "attr": "data-component-id",
140
+ "sourceProp": "id",
141
+ "description": "Sourced from the id prop. Required to address a specific banner from the agent."
142
+ }
143
+ }
144
+ },
115
145
  {
116
146
  "kind": "component",
117
147
  "id": "ai-prompt-input",
@@ -172,6 +202,57 @@
172
202
  }
173
203
  }
174
204
  },
205
+ {
206
+ "kind": "component",
207
+ "id": "ai-tools-rail",
208
+ "capabilities": [
209
+ "open",
210
+ "close",
211
+ "select_single"
212
+ ],
213
+ "state": [
214
+ {
215
+ "name": "activeToolId",
216
+ "type": "string | null",
217
+ "description": "Id of the tool whose panel is currently open, or null when the rail is collapsed to its strip. No panel content is ever exposed."
218
+ }
219
+ ],
220
+ "actions": [
221
+ {
222
+ "name": "open",
223
+ "safety": "read",
224
+ "argsType": "{ id: string }",
225
+ "description": "Open the given tool's panel."
226
+ },
227
+ {
228
+ "name": "close",
229
+ "safety": "read",
230
+ "description": "Collapse the rail to its strip (no active tool)."
231
+ },
232
+ {
233
+ "name": "select_tool",
234
+ "safety": "read",
235
+ "argsType": "{ id: string | null }",
236
+ "description": "Set the active tool by id (opens its panel), or pass null to collapse."
237
+ }
238
+ ],
239
+ "domHooks": {
240
+ "root": {
241
+ "attr": "data-component",
242
+ "value": "ai-tools-rail",
243
+ "description": "Marks the AiToolsRail wrapper."
244
+ },
245
+ "instanceId": {
246
+ "attr": "data-component-id",
247
+ "sourceProp": "id",
248
+ "description": "Sourced from the id prop. Required to address a specific rail from the agent."
249
+ },
250
+ "item": {
251
+ "attr": "data-tool-id",
252
+ "description": "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
253
+ }
254
+ }
255
+ },
175
256
  {
176
257
  "kind": "component",
177
258
  "id": "alert",
@@ -188,6 +269,25 @@
188
269
  }
189
270
  }
190
271
  },
272
+ {
273
+ "kind": "component",
274
+ "id": "anamnesis-card",
275
+ "capabilities": [],
276
+ "state": [],
277
+ "actions": [],
278
+ "domHooks": {
279
+ "root": {
280
+ "attr": "data-component",
281
+ "value": "anamnesis-card",
282
+ "description": "Marks the element as a kit AnamnesisCard. The root also emits data-has-flags when at least one answer is a clinical red-flag — a structural boolean only, never the underlying answer."
283
+ },
284
+ "instanceId": {
285
+ "attr": "data-component-id",
286
+ "sourceProp": "id",
287
+ "description": "Sourced from the id prop — the stable questionnaire identifier."
288
+ }
289
+ }
290
+ },
191
291
  {
192
292
  "kind": "component",
193
293
  "id": "app-frame",
@@ -202,6 +302,27 @@
202
302
  }
203
303
  }
204
304
  },
305
+ {
306
+ "kind": "component",
307
+ "id": "appointment-card",
308
+ "capabilities": [
309
+ "pick"
310
+ ],
311
+ "state": [],
312
+ "actions": [],
313
+ "domHooks": {
314
+ "root": {
315
+ "attr": "data-component",
316
+ "value": "appointment-card",
317
+ "description": "Marks the element as a kit AppointmentCard. The root also emits data-component-id sourced from item.id, data-state with the appointment lifecycle, and data-type with the delivery channel."
318
+ },
319
+ "instanceId": {
320
+ "attr": "data-component-id",
321
+ "sourceProp": "item.id",
322
+ "description": "Sourced from item.id — the stable appointment identifier."
323
+ }
324
+ }
325
+ },
205
326
  {
206
327
  "kind": "component",
207
328
  "id": "aspect-ratio",
@@ -598,6 +719,71 @@
598
719
  }
599
720
  }
600
721
  },
722
+ {
723
+ "kind": "component",
724
+ "id": "care-plan-card",
725
+ "capabilities": [
726
+ "view_change",
727
+ "expand"
728
+ ],
729
+ "state": [
730
+ {
731
+ "name": "state",
732
+ "type": "'estimate' | 'accepted' | 'discarded' | 'closed'",
733
+ "description": "The plan lifecycle state. Enum value only — never the localised label or any PHI."
734
+ },
735
+ {
736
+ "name": "progress",
737
+ "type": "{ done: number; total: number }",
738
+ "description": "Line progress as done / total counts. Counts only — never treatment names or operator identity."
739
+ }
740
+ ],
741
+ "actions": [],
742
+ "domHooks": {
743
+ "root": {
744
+ "attr": "data-component",
745
+ "value": "care-plan-card",
746
+ "description": "Marks the CarePlanCard root region."
747
+ },
748
+ "instanceId": {
749
+ "attr": "data-component-id",
750
+ "sourceProp": "id",
751
+ "description": "Sourced from the id prop. Addresses a specific plan."
752
+ }
753
+ }
754
+ },
755
+ {
756
+ "kind": "component",
757
+ "id": "care-plan-entry-card",
758
+ "capabilities": [
759
+ "view_change"
760
+ ],
761
+ "state": [
762
+ {
763
+ "name": "done",
764
+ "type": "boolean",
765
+ "description": "Whether the treatment line is marked executed."
766
+ },
767
+ {
768
+ "name": "phaseProgress",
769
+ "type": "{ executed: number; total: number }",
770
+ "description": "Phase progress as executed / total counts. Counts only — never phase labels or operator identity."
771
+ }
772
+ ],
773
+ "actions": [],
774
+ "domHooks": {
775
+ "root": {
776
+ "attr": "data-component",
777
+ "value": "care-plan-entry-card",
778
+ "description": "Marks the CarePlanEntryCard root region."
779
+ },
780
+ "instanceId": {
781
+ "attr": "data-component-id",
782
+ "sourceProp": "id",
783
+ "description": "Sourced from the id prop. Addresses a specific line."
784
+ }
785
+ }
786
+ },
601
787
  {
602
788
  "kind": "component",
603
789
  "id": "carousel",
@@ -859,6 +1045,46 @@
859
1045
  }
860
1046
  }
861
1047
  },
1048
+ {
1049
+ "kind": "component",
1050
+ "id": "clinical-note-card",
1051
+ "capabilities": [],
1052
+ "state": [
1053
+ {
1054
+ "name": "noteId",
1055
+ "type": "string | undefined",
1056
+ "description": "Stable identifier of the rendered note, when supplied."
1057
+ },
1058
+ {
1059
+ "name": "pinned",
1060
+ "type": "boolean",
1061
+ "description": "Whether the note is pinned to the top of the timeline."
1062
+ },
1063
+ {
1064
+ "name": "flagged",
1065
+ "type": "boolean",
1066
+ "description": "Whether the note is flagged for follow-up."
1067
+ },
1068
+ {
1069
+ "name": "attachmentKind",
1070
+ "type": "'patient' | 'carePlan' | 'carePlanEntry' | 'phase' | 'xray' | undefined",
1071
+ "description": "Structural kind the note is attached to. Never the attachment identity or content."
1072
+ }
1073
+ ],
1074
+ "actions": [],
1075
+ "domHooks": {
1076
+ "root": {
1077
+ "attr": "data-component",
1078
+ "value": "clinical-note-card",
1079
+ "description": "Marks the ClinicalNoteCard root. Also emits data-pinned / data-flagged / data-attached-to structural hooks."
1080
+ },
1081
+ "instanceId": {
1082
+ "attr": "data-component-id",
1083
+ "sourceProp": "id",
1084
+ "description": "Sourced from the id prop — addresses a specific note."
1085
+ }
1086
+ }
1087
+ },
862
1088
  {
863
1089
  "kind": "component",
864
1090
  "id": "collapsible",
@@ -2454,6 +2680,11 @@
2454
2680
  "name": "name",
2455
2681
  "type": "string",
2456
2682
  "description": "Operator display name currently rendered."
2683
+ },
2684
+ {
2685
+ "name": "hasColor",
2686
+ "type": "boolean",
2687
+ "description": "Whether a calendar-colour identity dot is rendered. Structural flag only — never the colour id or any PHI."
2457
2688
  }
2458
2689
  ],
2459
2690
  "actions": [],
@@ -2667,6 +2898,63 @@
2667
2898
  }
2668
2899
  }
2669
2900
  },
2901
+ {
2902
+ "kind": "component",
2903
+ "id": "patient-summary-card",
2904
+ "capabilities": [
2905
+ "view_change"
2906
+ ],
2907
+ "state": [
2908
+ {
2909
+ "name": "summary",
2910
+ "type": "{ id?: string; hasUnpaid: boolean; unsignedDocumentsCount: number; highlightedAnamnesisCount: number; aiConsentGranted: boolean }",
2911
+ "description": "Structural summary of the patient card — identifiers, counts, and consent flags only. Never patient identity or clinical content."
2912
+ }
2913
+ ],
2914
+ "actions": [],
2915
+ "domHooks": {
2916
+ "root": {
2917
+ "attr": "data-component",
2918
+ "value": "patient-summary-card",
2919
+ "description": "Marks the PatientSummaryCard root region."
2920
+ },
2921
+ "instanceId": {
2922
+ "attr": "data-component-id",
2923
+ "sourceProp": "id",
2924
+ "description": "Sourced from the id prop."
2925
+ }
2926
+ }
2927
+ },
2928
+ {
2929
+ "kind": "component",
2930
+ "id": "payment-card",
2931
+ "capabilities": [],
2932
+ "state": [
2933
+ {
2934
+ "name": "number",
2935
+ "type": "string",
2936
+ "description": "Payment number / reference currently rendered."
2937
+ },
2938
+ {
2939
+ "name": "state",
2940
+ "type": "'debt' | 'to-invoice' | 'settled'",
2941
+ "description": "Resolved headline financial state. Structural state only — never patient identity."
2942
+ }
2943
+ ],
2944
+ "actions": [],
2945
+ "domHooks": {
2946
+ "root": {
2947
+ "attr": "data-component",
2948
+ "value": "payment-card",
2949
+ "description": "Marks the PaymentCard root region."
2950
+ },
2951
+ "instanceId": {
2952
+ "attr": "data-component-id",
2953
+ "sourceProp": "id",
2954
+ "description": "Sourced from the id prop. Addresses a specific card."
2955
+ }
2956
+ }
2957
+ },
2670
2958
  {
2671
2959
  "kind": "component",
2672
2960
  "id": "payment-form",
@@ -2744,6 +3032,41 @@
2744
3032
  }
2745
3033
  }
2746
3034
  },
3035
+ {
3036
+ "kind": "component",
3037
+ "id": "periodontal-chart-card",
3038
+ "capabilities": [],
3039
+ "state": [
3040
+ {
3041
+ "name": "toothIds",
3042
+ "type": "string[]",
3043
+ "description": "FDI ids of the teeth currently charted. Tooth identifiers only — no patient identity."
3044
+ },
3045
+ {
3046
+ "name": "siteCount",
3047
+ "type": "number",
3048
+ "description": "Total number of probing sites rendered."
3049
+ },
3050
+ {
3051
+ "name": "deepPocketCount",
3052
+ "type": "number",
3053
+ "description": "Number of sites with a probing depth at or above the 6mm severe threshold."
3054
+ }
3055
+ ],
3056
+ "actions": [],
3057
+ "domHooks": {
3058
+ "root": {
3059
+ "attr": "data-component",
3060
+ "value": "periodontal-chart-card",
3061
+ "description": "Marks the PeriodontalChartCard root region."
3062
+ },
3063
+ "instanceId": {
3064
+ "attr": "data-component-id",
3065
+ "sourceProp": "id",
3066
+ "description": "Sourced from the id prop."
3067
+ }
3068
+ }
3069
+ },
2747
3070
  {
2748
3071
  "kind": "component",
2749
3072
  "id": "phone-input",
@@ -0,0 +1,40 @@
1
+ import type { BadgeProps } from '../../badge/badge';
2
+ /** The closed set of Badge variants the entity cards may use. */
3
+ type BadgeVariant = NonNullable<BadgeProps['variant']>;
4
+ /**
5
+ * Shared card surface — `elevated` paints the kit card chrome (fill,
6
+ * hairline border, shadow); `flat` drops it for use inside an existing
7
+ * Card / Sheet. `density` tunes the internal padding.
8
+ */
9
+ export declare const entitySurfaceVariants: (props?: ({
10
+ surface?: "flat" | "elevated" | null | undefined;
11
+ density?: "compact" | "comfortable" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ /** Care-plan lifecycle state → Badge variant. */
14
+ export declare const CARE_PLAN_STATE_BADGE: {
15
+ readonly estimate: "info";
16
+ readonly accepted: "success";
17
+ readonly discarded: "error";
18
+ readonly closed: "neutral";
19
+ };
20
+ export type CarePlanState = keyof typeof CARE_PLAN_STATE_BADGE;
21
+ /** Appointment lifecycle state → Badge variant. */
22
+ export declare const APPOINTMENT_STATE_BADGE: {
23
+ readonly absent: "error";
24
+ readonly waiting: "warning";
25
+ readonly in_care: "info";
26
+ readonly done: "success";
27
+ readonly cancelled: "error";
28
+ readonly confirmed: "success";
29
+ };
30
+ export type AppointmentState = keyof typeof APPOINTMENT_STATE_BADGE;
31
+ /** Fallback variant for an unknown / out-of-vocabulary appointment state. */
32
+ export declare const APPOINTMENT_STATE_BADGE_DEFAULT: BadgeVariant;
33
+ /**
34
+ * Resolve an appointment state to its Badge variant, falling back to a
35
+ * neutral chip for any value outside the known vocabulary.
36
+ */
37
+ export declare function appointmentStateBadge(state: string): BadgeVariant;
38
+ export declare function colorIdToToken(colorId: number | string | null | undefined): string;
39
+ export { isSafeEntityUrl } from '../is-safe-url';
40
+ //# sourceMappingURL=entity-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-card.d.ts","sourceRoot":"","sources":["../../../../src/components/_shared/entity-card/entity-card.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAapD,iEAAiE;AACjE,KAAK,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;AAKvD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;8EA0BjC,CAAC;AAMF,iDAAiD;AACjD,eAAO,MAAM,qBAAqB;;;;;CAKe,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAE/D,mDAAmD;AACnD,eAAO,MAAM,uBAAuB;;;;;;;CAOa,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,uBAAuB,CAAC;AAEpE,6EAA6E;AAC7E,eAAO,MAAM,+BAA+B,EAAE,YAAwB,CAAC;AAEvE;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAKjE;AA2BD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,MAAM,CASR;AAMD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { entitySurfaceVariants, CARE_PLAN_STATE_BADGE, APPOINTMENT_STATE_BADGE, APPOINTMENT_STATE_BADGE_DEFAULT, appointmentStateBadge, colorIdToToken, isSafeEntityUrl, } from './entity-card';
2
+ export type { CarePlanState, AppointmentState } from './entity-card';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/_shared/entity-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export { composeRefs } from './compose-refs';
2
2
  export { isSafeImageSrc, safeImageSrc } from './safe-image-src';
3
+ export { isSafeEntityUrl } from './is-safe-url';
4
+ export { entitySurfaceVariants, CARE_PLAN_STATE_BADGE, APPOINTMENT_STATE_BADGE, APPOINTMENT_STATE_BADGE_DEFAULT, appointmentStateBadge, colorIdToToken, type CarePlanState, type AppointmentState, } from './entity-card';
3
5
  export { SafeHtml, sanitiseHtml, type SafeHtmlProfile, type SafeHtmlProps, } from './safe-html';
4
6
  export { groupOptions } from './group-options';
5
7
  export { InsertButton, buildResultText, buildResultHtml, buildResultCardSvg, svgCardToPngDataUri, svgCardToPng, type InsertButtonProps, type InsertVariant, type InsertPayload, type InsertPngResult, type InsertMode, type InsertCardData, type InsertCardField, type InsertCardGauge, type SvgCardToPngOptions, } from './insert-result';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,YAAY,EACZ,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Shared URL allow-list for the card family (AgendaCard, MessageCard,
3
+ * NotificationCard, TaskCard, …). Lifted from the per-card `isSafe*Url`
4
+ * duplicates so every entity card guards deep links the same way.
5
+ *
6
+ * Only http(s) absolute URLs, single-leading-slash same-origin paths, and
7
+ * in-page hash anchors pass. Protocol-relative (`//host`), `javascript:`,
8
+ * `data:`, and `mailto:` URLs are rejected — an unsafe URL makes the card
9
+ * fall back to a `<button>` so it stays interactive without becoming a
10
+ * phishing vector.
11
+ */
12
+ export declare function isSafeEntityUrl(url: string): boolean;
13
+ //# sourceMappingURL=is-safe-url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-safe-url.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/is-safe-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEpD"}
@@ -1,5 +1,6 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
+ export { isSafeEntityUrl as isSafeAgendaUrl } from '../_shared/is-safe-url';
3
4
  export type AppointmentStatus = 'confirmed' | 'pending' | 'cancelled';
4
5
  export interface AgendaItem {
5
6
  /** Unique identifier for the appointment. */
@@ -30,7 +31,5 @@ declare const agendaCardVariants: (props?: ({
30
31
  size?: "sm" | "md" | null | undefined;
31
32
  interactive?: boolean | null | undefined;
32
33
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
33
- export declare function isSafeAgendaUrl(url: string): boolean;
34
34
  export declare const AgendaCard: import("react").ForwardRefExoticComponent<AgendaCardProps & import("react").RefAttributes<HTMLDivElement>>;
35
- export {};
36
35
  //# sourceMappingURL=agenda-card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agenda-card.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/agenda-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAkB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUlE,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAAC;AAEtE,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,8DAA8D;IAC9D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,iCAAiC;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,uCAAuC;IACvC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAMD,QAAA,MAAM,kBAAkB;;;8EAyBvB,CAAC;AAaF,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEpD;AAaD,eAAO,MAAM,UAAU,4GA4GtB,CAAC"}
1
+ {"version":3,"file":"agenda-card.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/agenda-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAkB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AASlE,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAM5E,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAAC;AAEtE,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,8DAA8D;IAC9D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,iCAAiC;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,uCAAuC;IACvC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACzC;AAMD,QAAA,MAAM,kBAAkB;;;8EAyBvB,CAAC;AAwBF,eAAO,MAAM,UAAU,4GA4GtB,CAAC"}
@@ -1,4 +1,5 @@
1
- export { AgendaCard, isSafeAgendaUrl } from './agenda-card';
1
+ export { AgendaCard } from './agenda-card';
2
2
  export type { AgendaCardProps, AgendaItem, AppointmentStatus, } from './agenda-card';
3
3
  export { agendaCardAgent } from './agenda-card.agent';
4
+ export { isSafeEntityUrl as isSafeAgendaUrl } from '../_shared/is-safe-url';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,YAAY,EACV,eAAe,EACf,UAAU,EACV,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/agenda-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EACV,eAAe,EACf,UAAU,EACV,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,8 +1,9 @@
1
- import { A as r, i as d } from "../../_chunks/agenda-card-CFyWSX7Z.js";
2
- import { a as n } from "../../_chunks/agenda-card.agent-B_R47-c9.js";
1
+ import { A as e } from "../../_chunks/agenda-card-BaSfVfrL.js";
2
+ import { a as d } from "../../_chunks/agenda-card.agent-B_R47-c9.js";
3
+ import { i as g } from "../../_chunks/is-safe-url-DkETxeHz.js";
3
4
  export {
4
- r as AgendaCard,
5
- n as agendaCardAgent,
6
- d as isSafeAgendaUrl
5
+ e as AgendaCard,
6
+ d as agendaCardAgent,
7
+ g as isSafeAgendaUrl
7
8
  };
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1,4 +1,4 @@
1
- import { A as r, a as g } from "../../_chunks/agenda-tray-Dyj9ChHC.js";
1
+ import { A as r, a as g } from "../../_chunks/agenda-tray-DQayYmQ0.js";
2
2
  export {
3
3
  r as AgendaTray,
4
4
  g as agendaTrayAgent
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { AiConsentBannerHandle } from './ai-consent-banner';
3
+ export declare const aiConsentBannerAgent: AgentAdapter<AiConsentBannerHandle>;
4
+ //# sourceMappingURL=ai-consent-banner.agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-consent-banner.agent.d.ts","sourceRoot":"","sources":["../../../src/components/ai-consent-banner/ai-consent-banner.agent.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CAiCpE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const rootVariants: (props?: ({
4
+ state?: "required" | "pending" | "granted" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export type AiConsentState = NonNullable<VariantProps<typeof rootVariants>['state']>;
7
+ /** Agent-readiness curated handle. Exposes the structural consent state only. */
8
+ export interface AiConsentBannerHandle {
9
+ /** Current derived state: 'granted' | 'required' | 'pending'. */
10
+ getState: () => AiConsentState;
11
+ /** Whether the Grant affordance is currently armed (checkbox ticked). */
12
+ isArmed: () => boolean;
13
+ }
14
+ export interface AiConsentBannerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'aria-label' | 'children' | 'role'> {
15
+ /**
16
+ * Stable instance id. Surfaced on the root as `data-component-id` so an
17
+ * agent / MCP UI bridge can address this specific banner. Mirrored to the
18
+ * real DOM `id`.
19
+ */
20
+ id?: string;
21
+ /** Whether consent has already been granted. Server-sourced. */
22
+ granted: boolean;
23
+ /**
24
+ * When consent was granted — ISO-8601 string, ms-epoch, or Date. Rendered
25
+ * via `Timestamp` in the granted state.
26
+ */
27
+ grantedAt?: string | number | Date;
28
+ /** Who granted consent (operator display name / role). Granted state only. */
29
+ grantedBy?: string;
30
+ /**
31
+ * Whether the current user is allowed to grant consent. When `false`, the
32
+ * required-state Grant affordance is hidden and a not-allowed note shows.
33
+ * Default `true`.
34
+ */
35
+ canGrant?: boolean;
36
+ /** The grant is being persisted server-side — shows the busy Spinner state. */
37
+ pending?: boolean;
38
+ /** Fired when the operator confirms the consent grant. */
39
+ onGrantConsent?: () => void;
40
+ /** Override the region's accessible name. */
41
+ 'aria-label'?: string;
42
+ }
43
+ export declare const AiConsentBanner: import("react").ForwardRefExoticComponent<AiConsentBannerProps & import("react").RefAttributes<HTMLDivElement>>;
44
+ export {};
45
+ //# sourceMappingURL=ai-consent-banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-consent-banner.d.ts","sourceRoot":"","sources":["../../../src/components/ai-consent-banner/ai-consent-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,wBAAwB,EAC9B,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiClE,QAAA,MAAM,YAAY;;8EAWhB,CAAC;AAMH,MAAM,MAAM,cAAc,GAAG,WAAW,CACtC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAC3C,CAAC;AAYF,iFAAiF;AACjF,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,QAAQ,EAAE,MAAM,cAAc,CAAC;IAC/B,yEAAyE;IACzE,OAAO,EAAE,MAAM,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,wBAAwB,CAAC,KAAK,CAAC,EAC/B,YAAY,GAAG,UAAU,GAAG,MAAM,CACnC;IACC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gEAAgE;IAChE,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACnC,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,eAAO,MAAM,eAAe,iHAmJ3B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { AiConsentBanner } from './ai-consent-banner';
2
+ export type { AiConsentBannerProps, AiConsentBannerHandle, AiConsentState, } from './ai-consent-banner';
3
+ export { aiConsentBannerAgent } from './ai-consent-banner.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ai-consent-banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { A as e, a as o } from "../../_chunks/ai-consent-banner-DO5ingMq.js";
2
+ export {
3
+ e as AiConsentBanner,
4
+ o as aiConsentBannerAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { AiToolsRailHandle } from './ai-tools-rail';
3
+ export declare const aiToolsRailAgent: AgentAdapter<AiToolsRailHandle>;
4
+ //# sourceMappingURL=ai-tools-rail.agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-tools-rail.agent.d.ts","sourceRoot":"","sources":["../../../src/components/ai-tools-rail/ai-tools-rail.agent.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,iBAAiB,CA2D5D,CAAC"}