@alfadocs/ui-kit 1.66.0 → 1.68.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 (305) hide show
  1. package/dist/_chunks/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
  4. package/dist/_chunks/ai-credits-exhausted-notice-Bg8NpW2K.js +287 -0
  5. package/dist/_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js +43 -0
  6. package/dist/_chunks/ai-credits-notice-DQ-r3iQU.js +191 -0
  7. package/dist/_chunks/{ai-permission-notice-DpRmZ9Q3.js → ai-permission-notice-C00i6VhY.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
  9. package/dist/_chunks/{alert-DdDpOi-P.js → alert-9kEwDza3.js} +122 -111
  10. package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
  11. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
  12. package/dist/_chunks/{anamnesis-summary-rows-BIfw890v.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
  13. package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
  14. package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
  15. package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
  16. package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
  17. package/dist/_chunks/{audio-recorder-DR-u1qbl.js → audio-recorder-4Ll0pwYK.js} +3 -3
  18. package/dist/_chunks/{auth-form-parts-Cmb41LSQ.js → auth-form-parts-B40zvD-a.js} +2 -2
  19. package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
  20. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
  21. package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
  22. package/dist/_chunks/{booking-DkjatiXc.js → booking-B1pDbERi.js} +377 -335
  23. package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-Cp8yTZ1g.js → calendar-workspace-CYK1M83j.js} +19 -19
  25. package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
  26. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
  27. package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
  28. package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
  29. package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
  30. package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
  31. package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
  32. package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
  33. package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
  34. package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
  35. package/dist/_chunks/{document-preview-B1dQm292.js → document-preview-513f3iPn.js} +4 -4
  36. package/dist/_chunks/{document-scanner-CVPVLK7z.js → document-scanner-Bd3wbzpI.js} +2 -2
  37. package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
  38. package/dist/_chunks/{entity-summary-BQ9_KA8S.js → entity-summary-C2B8yNmc.js} +4 -4
  39. package/dist/_chunks/{error-summary-DrUfuKu1.js → error-summary-mGxIyDAY.js} +2 -2
  40. package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
  41. package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
  42. package/dist/_chunks/{forgot-password-form-CgZkEvZy.js → forgot-password-form-Dqi7R-NL.js} +4 -4
  43. package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
  44. package/dist/_chunks/{freemium-paywall-DKJHRFpp.js → freemium-paywall-C73C8Rgd.js} +2 -2
  45. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
  46. package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
  47. package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
  48. package/dist/_chunks/help-me-write-templates-5WkUfvc_.js +687 -0
  49. package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
  50. package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
  51. package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
  52. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
  53. package/dist/_chunks/{login-dev-card-PnADNcI9.js → login-dev-card-vEL-o5wq.js} +3 -3
  54. package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
  55. package/dist/_chunks/{marketplace-app-shell-C-2e4eCD.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
  56. package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
  57. package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
  58. package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
  59. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
  60. package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
  61. package/dist/_chunks/{notes-panel-uEGIL7mi.js → notes-panel-BXN46XkF.js} +6 -6
  62. package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
  63. package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
  64. package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
  65. package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
  66. package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
  67. package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
  68. package/dist/_chunks/{patient-details-4P1vA9Ls.js → patient-details-C4Dyo7Ck.js} +4 -4
  69. package/dist/_chunks/{patient-field-row-CBXhlfGD.js → patient-field-row-DROvUkFu.js} +155 -176
  70. package/dist/_chunks/{patient-search-DOnDUVsl.js → patient-search-BADdx3M1.js} +2 -2
  71. package/dist/_chunks/{patient-summary-card-CuDLo8MP.js → patient-summary-card-CAimxbuI.js} +4 -4
  72. package/dist/_chunks/{payment-automation-upsell-C8MEu0t6.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
  73. package/dist/_chunks/{payment-form-C3dGY7v4.js → payment-form-PBuh8PIa.js} +2 -2
  74. package/dist/_chunks/{pdf-viewer-DJ9VN7cu.js → pdf-viewer-gAsNUsA8.js} +2 -2
  75. package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
  76. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
  77. package/dist/_chunks/{practice-results-8h2Utpt3.js → practice-results-BzThnpnm.js} +328 -298
  78. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
  79. package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
  80. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
  81. package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
  82. package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
  83. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
  84. package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
  85. package/dist/_chunks/{registration-form-BQyT_kBX.js → registration-form-1B0PTDal.js} +4 -4
  86. package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
  87. package/dist/_chunks/{rich-text-editor-M2gT_E7f.js → rich-text-editor-56dSsyZI.js} +1653 -1743
  88. package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
  89. package/dist/_chunks/{sign-document-CY7xTXbm.js → sign-document-BiOTs1P4.js} +2 -2
  90. package/dist/_chunks/{signature-request-BMCHy2ZO.js → signature-request-DAmNj_uq.js} +5 -5
  91. package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
  92. package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
  93. package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
  94. package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
  95. package/dist/_chunks/{task-editor-CifOznfq.js → task-editor-BomyxGoZ.js} +8 -8
  96. package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
  97. package/dist/_chunks/{tasks-panel-8nLwBw6P.js → tasks-panel-ATz9JDy8.js} +6 -6
  98. package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
  99. package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
  100. package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
  101. package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
  102. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
  103. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
  104. package/dist/_chunks/{use-appointment-details-read-B-FEWbQM.js → use-appointment-details-read-CUGfE0hV.js} +13 -13
  105. package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
  106. package/dist/_chunks/voice-control-panel-B8Lrk0C4.js +1148 -0
  107. package/dist/_chunks/{warning-stack-HYWAytZV.js → warning-stack-BhHUmRiD.js} +2 -2
  108. package/dist/_chunks/{workflow-map-C2B2qIr1.js → workflow-map-ln4_OG8A.js} +2 -2
  109. package/dist/agent-catalog.json +221 -6
  110. package/dist/agent-i18n/en.json +32 -5
  111. package/dist/components/_shared/format-number.d.ts +20 -0
  112. package/dist/components/_shared/length-token.d.ts +12 -0
  113. package/dist/components/_shared/option.d.ts +1 -0
  114. package/dist/components/address-fields/index.js +1 -1
  115. package/dist/components/agenda-card/index.js +1 -1
  116. package/dist/components/agenda-tray/index.js +1 -1
  117. package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.agent.d.ts +4 -0
  118. package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.d.ts +96 -0
  119. package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +30 -4
  120. package/dist/components/ai-credits-notice/index.d.ts +3 -0
  121. package/dist/components/ai-credits-notice/index.js +10 -4
  122. package/dist/components/ai-permission-notice/index.js +1 -1
  123. package/dist/components/ai-prompt-input/index.js +1 -1
  124. package/dist/components/alert/alert.d.ts +26 -0
  125. package/dist/components/alert/index.js +1 -1
  126. package/dist/components/anamnesis-summary-card/index.js +1 -1
  127. package/dist/components/appointment-card/index.js +2 -2
  128. package/dist/components/appointment-details-panel/index.js +1 -1
  129. package/dist/components/appointment-peek/index.js +1 -1
  130. package/dist/components/appointment-timeline/index.js +1 -1
  131. package/dist/components/audio-recorder/index.js +1 -1
  132. package/dist/components/avatar/avatar.d.ts +2 -0
  133. package/dist/components/avatar/index.js +1 -1
  134. package/dist/components/bishop-score/index.js +1 -1
  135. package/dist/components/booking/index.js +1 -1
  136. package/dist/components/calendar/index.js +1 -1
  137. package/dist/components/chat-message/index.js +1 -1
  138. package/dist/components/clinical-note-card/index.js +1 -1
  139. package/dist/components/color-picker/index.js +1 -1
  140. package/dist/components/combobox/index.js +1 -1
  141. package/dist/components/contact-profile-card/index.js +1 -1
  142. package/dist/components/control-room-rail/index.js +1 -1
  143. package/dist/components/country-select/index.js +1 -1
  144. package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
  145. package/dist/components/dashboard-grid/index.js +1 -1
  146. package/dist/components/data-table/index.js +2 -2
  147. package/dist/components/dependent-selector/index.js +1 -1
  148. package/dist/components/document-preview/index.js +1 -1
  149. package/dist/components/document-scanner/index.js +1 -1
  150. package/dist/components/editable-description/index.js +1 -1
  151. package/dist/components/entity-summary/index.js +1 -1
  152. package/dist/components/error-summary/index.js +1 -1
  153. package/dist/components/face-scheme/index.js +1 -1
  154. package/dist/components/file-manager/index.js +1 -1
  155. package/dist/components/freemium-paywall/index.js +1 -1
  156. package/dist/components/gestational-age-calculator/index.js +1 -1
  157. package/dist/components/header-settings/index.js +1 -1
  158. package/dist/components/heatmap/index.js +1 -1
  159. package/dist/components/index.d.ts +4 -2
  160. package/dist/components/map-view/index.d.ts +1 -1
  161. package/dist/components/map-view/index.js +1 -1
  162. package/dist/components/map-view/map-view.d.ts +51 -0
  163. package/dist/components/message-card/index.js +1 -1
  164. package/dist/components/message-tray/index.js +1 -1
  165. package/dist/components/multi-select/index.js +1 -1
  166. package/dist/components/muscle-scheme/index.js +1 -1
  167. package/dist/components/note-timeline/index.js +1 -1
  168. package/dist/components/notes-panel/index.js +1 -1
  169. package/dist/components/notice-group/index.d.ts +3 -0
  170. package/dist/components/notice-group/index.js +6 -0
  171. package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
  172. package/dist/components/notice-group/notice-group.d.ts +43 -0
  173. package/dist/components/notification-tray/index.js +1 -1
  174. package/dist/components/operator-hero/index.js +1 -1
  175. package/dist/components/optical-prescription/index.js +1 -1
  176. package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
  177. package/dist/components/panel-header/index.js +1 -1
  178. package/dist/components/panel-header/panel-header.d.ts +10 -0
  179. package/dist/components/panel-subview/index.js +1 -1
  180. package/dist/components/patient-details/index.js +1 -1
  181. package/dist/components/patient-search/index.js +1 -1
  182. package/dist/components/patient-summary-card/index.js +1 -1
  183. package/dist/components/patient-table/index.js +1 -1
  184. package/dist/components/payment-form/index.js +1 -1
  185. package/dist/components/pdf-viewer/index.js +1 -1
  186. package/dist/components/periodontal-risk-chart/index.js +1 -1
  187. package/dist/components/practice-profile-hero/index.js +1 -1
  188. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
  189. package/dist/components/practice-results/index.js +1 -1
  190. package/dist/components/practice-results/practice-results.d.ts +10 -2
  191. package/dist/components/pregnancy-dating/index.js +1 -1
  192. package/dist/components/product-hub-tray/index.js +1 -1
  193. package/dist/components/progress-notice/index.d.ts +3 -0
  194. package/dist/components/progress-notice/index.js +6 -0
  195. package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
  196. package/dist/components/progress-notice/progress-notice.d.ts +81 -0
  197. package/dist/components/province-select/index.js +1 -1
  198. package/dist/components/radiograph-panel/index.js +1 -1
  199. package/dist/components/rating/index.js +1 -1
  200. package/dist/components/reviews-panel/index.js +1 -1
  201. package/dist/components/rich-text-editor/index.js +2 -2
  202. package/dist/components/select/index.js +1 -1
  203. package/dist/components/select/select.d.ts +6 -0
  204. package/dist/components/sign-document/index.js +1 -1
  205. package/dist/components/skeleton/index.d.ts +1 -1
  206. package/dist/components/skeleton/index.js +1 -1
  207. package/dist/components/skeleton/skeleton.d.ts +41 -1
  208. package/dist/components/skeleton-scheme/index.js +1 -1
  209. package/dist/components/slot-grid/index.js +1 -1
  210. package/dist/components/tabs/index.js +1 -1
  211. package/dist/components/task-card/index.js +1 -1
  212. package/dist/components/task-editor/index.js +1 -1
  213. package/dist/components/task-tray/index.js +1 -1
  214. package/dist/components/tasks-panel/index.js +1 -1
  215. package/dist/components/theme-toggle/index.js +1 -1
  216. package/dist/components/timeline/index.js +1 -1
  217. package/dist/components/tool-rail/index.js +1 -1
  218. package/dist/components/transcript-panel/index.js +1 -1
  219. package/dist/components/treatment-receipt/index.js +1 -1
  220. package/dist/components/unit-converter/index.js +1 -1
  221. package/dist/components/voice-control-panel/index.d.ts +2 -1
  222. package/dist/components/voice-control-panel/index.js +1 -1
  223. package/dist/components/voice-control-panel/voice-control-panel.d.ts +43 -3
  224. package/dist/components/warning-stack/index.js +1 -1
  225. package/dist/components/workflow/index.js +1 -1
  226. package/dist/hooks/index.d.ts +1 -0
  227. package/dist/hooks/index.js +81 -76
  228. package/dist/hooks/use-dismissed.d.ts +58 -0
  229. package/dist/i18n/locales/ar.d.ts +49 -12
  230. package/dist/i18n/locales/ar.js +49 -12
  231. package/dist/i18n/locales/de.d.ts +49 -12
  232. package/dist/i18n/locales/de.js +49 -12
  233. package/dist/i18n/locales/el.d.ts +49 -12
  234. package/dist/i18n/locales/el.js +49 -12
  235. package/dist/i18n/locales/en.d.ts +49 -12
  236. package/dist/i18n/locales/en.js +49 -12
  237. package/dist/i18n/locales/es.d.ts +49 -12
  238. package/dist/i18n/locales/es.js +49 -12
  239. package/dist/i18n/locales/fr.d.ts +49 -12
  240. package/dist/i18n/locales/fr.js +49 -12
  241. package/dist/i18n/locales/hi.d.ts +49 -12
  242. package/dist/i18n/locales/hi.js +49 -12
  243. package/dist/i18n/locales/it.d.ts +49 -12
  244. package/dist/i18n/locales/it.js +49 -12
  245. package/dist/i18n/locales/ja.d.ts +49 -12
  246. package/dist/i18n/locales/ja.js +49 -12
  247. package/dist/i18n/locales/nl.d.ts +49 -12
  248. package/dist/i18n/locales/nl.js +49 -12
  249. package/dist/i18n/locales/pl.d.ts +49 -12
  250. package/dist/i18n/locales/pl.js +49 -12
  251. package/dist/i18n/locales/pt.d.ts +49 -12
  252. package/dist/i18n/locales/pt.js +49 -12
  253. package/dist/i18n/locales/ro.d.ts +49 -12
  254. package/dist/i18n/locales/ro.js +49 -12
  255. package/dist/i18n/locales/ru.d.ts +49 -12
  256. package/dist/i18n/locales/ru.js +49 -12
  257. package/dist/i18n/locales/sq.d.ts +49 -12
  258. package/dist/i18n/locales/sq.js +49 -12
  259. package/dist/i18n/locales/sv.d.ts +49 -12
  260. package/dist/i18n/locales/sv.js +49 -12
  261. package/dist/i18n/locales/tr.d.ts +49 -12
  262. package/dist/i18n/locales/tr.js +49 -12
  263. package/dist/i18n/locales/zh.d.ts +49 -12
  264. package/dist/i18n/locales/zh.js +49 -12
  265. package/dist/index.js +1193 -1177
  266. package/dist/locales/ar.json +49 -12
  267. package/dist/locales/de.json +49 -12
  268. package/dist/locales/el.json +49 -12
  269. package/dist/locales/en.json +49 -12
  270. package/dist/locales/es.json +49 -12
  271. package/dist/locales/fr.json +49 -12
  272. package/dist/locales/hi.json +49 -12
  273. package/dist/locales/it.json +49 -12
  274. package/dist/locales/ja.json +49 -12
  275. package/dist/locales/nl.json +49 -12
  276. package/dist/locales/pl.json +49 -12
  277. package/dist/locales/pt.json +49 -12
  278. package/dist/locales/ro.json +49 -12
  279. package/dist/locales/ru.json +49 -12
  280. package/dist/locales/sq.json +49 -12
  281. package/dist/locales/sv.json +49 -12
  282. package/dist/locales/tr.json +49 -12
  283. package/dist/locales/zh.json +49 -12
  284. package/dist/patterns/alia-assistant/index.js +1 -1
  285. package/dist/patterns/anamnesis/index.js +1 -1
  286. package/dist/patterns/calendar/index.js +1 -1
  287. package/dist/patterns/forgot-password-form/index.js +1 -1
  288. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +6 -23
  289. package/dist/patterns/help-me-write-templates/index.js +8 -7
  290. package/dist/patterns/login-form/index.js +1 -1
  291. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  292. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  293. package/dist/patterns/registration-form/index.js +1 -1
  294. package/dist/patterns/signature-request/index.js +1 -1
  295. package/dist/tokens.css +1 -1
  296. package/package.json +9 -1
  297. package/dist/_chunks/ai-credits-notice-pK9BOmEz.js +0 -90
  298. package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +0 -17
  299. package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
  300. package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
  301. package/dist/_chunks/help-me-write-templates-DFmqnsAa.js +0 -747
  302. package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
  303. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
  304. package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
  305. package/dist/_chunks/voice-control-panel-C0BfY23Y.js +0 -1009
@@ -1,109 +1,89 @@
1
1
  import { useMemo as B, useCallback as V, useState as P, cloneElement as W, useId as Y } from "react";
2
2
  import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
3
- import { jsxs as N, jsx as t, Fragment as G } from "react/jsx-runtime";
4
- import { useTranslation as A } from "react-i18next";
3
+ import { jsxs as N, jsx as t, Fragment as $ } from "react/jsx-runtime";
4
+ import { useTranslation as E } from "react-i18next";
5
5
  import { B as ee } from "./button-D-MQxsA_.js";
6
6
  import { I } from "./icon-button-C_1TgRiK.js";
7
7
  import { C as R } from "./checkbox-BjDv-r3o.js";
8
8
  import { P as O } from "./popover-4ZVtH_At.js";
9
9
  import { S as te } from "./separator-CYU_bGFn.js";
10
10
  import { S as ae } from "./settings-d25ju_6L.js";
11
- import { G as se } from "./grip-vertical-onSb1JXO.js";
12
- import { D as $ } from "./description-list-Q8640NHu.js";
13
- import { B as j } from "./badge-BUk4RjTS.js";
14
- import { L as re } from "./link-N5_YpLtm.js";
11
+ import { G as re } from "./grip-vertical-onSb1JXO.js";
12
+ import { D as j } from "./description-list-Q8640NHu.js";
13
+ import { B as q } from "./badge-BUk4RjTS.js";
14
+ import { L as se } from "./link-N5_YpLtm.js";
15
15
  import { T as ne } from "./transaction-chip-CohY6sTA.js";
16
16
  import { H as ie } from "./hash-CSQ9SChR.js";
17
17
  import { C as oe } from "./calendar-days-BGWklvE-.js";
18
- import { c as q } from "./createLucideIcon-DhHxpK9K.js";
19
- import { U as le } from "./user-B12p7bVF.js";
20
- import { C as ce } from "./city-input-3J3bz9EO.js";
21
- import { C as de } from "./country-select-DF5Bd_mn.js";
22
- import { D as ue } from "./date-picker-KcoNNsM0.js";
23
- import { E as me } from "./email-input-C7THAwh2.js";
24
- import { F as pe } from "./fiscal-code-input-DwHb2nVW.js";
25
- import { N as fe } from "./number-input-CVwI1ltI.js";
26
- import { P as ge } from "./phone-input-O9camxkq.js";
27
- import { P as he } from "./postal-code-input-CfZOnIkW.js";
28
- import { P as ye } from "./province-select-Bd20Z9Br.js";
29
- import { S as be } from "./select-k4gBdS8N.js";
30
- import { S as ve } from "./switch-D--x7n6h.js";
31
- import { T as xe } from "./text-area-COMVJ1yE.js";
18
+ import { H as le } from "./hourglass-BEAzW1wE.js";
19
+ import { c as G } from "./createLucideIcon-DhHxpK9K.js";
20
+ import { U as ce } from "./user-B12p7bVF.js";
21
+ import { C as de } from "./city-input-3J3bz9EO.js";
22
+ import { C as ue } from "./country-select-CSE2Zm_s.js";
23
+ import { D as me } from "./date-picker-KcoNNsM0.js";
24
+ import { E as pe } from "./email-input-C7THAwh2.js";
25
+ import { F as fe } from "./fiscal-code-input-DwHb2nVW.js";
26
+ import { N as ge } from "./number-input-CVwI1ltI.js";
27
+ import { P as he } from "./phone-input-O9camxkq.js";
28
+ import { P as ye } from "./postal-code-input-CfZOnIkW.js";
29
+ import { P as be } from "./province-select-CDjs5obD.js";
30
+ import { S as ve } from "./select-4S-eYZUf.js";
31
+ import { S as xe } from "./switch-D--x7n6h.js";
32
+ import { T as Ce } from "./text-area-COMVJ1yE.js";
32
33
  import { T as ke } from "./text-input-CaG9ApoE.js";
33
- import { u as Ce } from "./use-state-backed-input-DhRQo6gM.js";
34
+ import { u as Ve } from "./use-state-backed-input-DhRQo6gM.js";
34
35
  import { C as K } from "./check-DrFSN__t.js";
35
- import { X as Ve } from "./x-B5YnXwCz.js";
36
- import { P as Ne } from "./pencil-B1sKKyuT.js";
37
- import { L as we } from "./lock-ClAFG1gy.js";
38
- import { C as De } from "./copy-vRpqqHtY.js";
36
+ import { X as Ne } from "./x-B5YnXwCz.js";
37
+ import { P as we } from "./pencil-B1sKKyuT.js";
38
+ import { L as De } from "./lock-ClAFG1gy.js";
39
+ import { C as Se } from "./copy-vRpqqHtY.js";
39
40
  /**
40
41
  * @license lucide-react v1.22.0 - ISC
41
42
  *
42
43
  * This source code is licensed under the ISC license.
43
44
  * See the LICENSE file in the root directory of this source tree.
44
45
  */
45
- const Se = [
46
- ["path", { d: "M5 22h14", key: "ehvnwv" }],
47
- ["path", { d: "M5 2h14", key: "pdyrp9" }],
48
- [
49
- "path",
50
- {
51
- d: "M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",
52
- key: "1d314k"
53
- }
54
- ],
55
- [
56
- "path",
57
- { d: "M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2", key: "1vvvr6" }
58
- ]
59
- ], Te = q("hourglass", Se);
60
- /**
61
- * @license lucide-react v1.22.0 - ISC
62
- *
63
- * This source code is licensed under the ISC license.
64
- * See the LICENSE file in the root directory of this source tree.
65
- */
66
- const ze = [
46
+ const Te = [
67
47
  ["path", { d: "M16 3h5v5", key: "1806ms" }],
68
48
  ["path", { d: "m21 3-6.75 6.75", key: "pv0uzu" }],
69
49
  ["circle", { cx: "10", cy: "14", r: "6", key: "1qwbdc" }]
70
- ], Pe = q("mars", ze);
50
+ ], ze = G("mars", Te);
71
51
  /**
72
52
  * @license lucide-react v1.22.0 - ISC
73
53
  *
74
54
  * This source code is licensed under the ISC license.
75
55
  * See the LICENSE file in the root directory of this source tree.
76
56
  */
77
- const Fe = [
57
+ const Pe = [
78
58
  ["path", { d: "M12 15v7", key: "t2xh3l" }],
79
59
  ["path", { d: "M9 19h6", key: "456am0" }],
80
60
  ["circle", { cx: "12", cy: "9", r: "6", key: "1nw4tq" }]
81
- ], Ae = q("venus", Fe);
61
+ ], Fe = G("venus", Pe);
82
62
  function X(e) {
83
- return e.flatMap((s) => s.fields.map((a) => a.id));
63
+ return e.flatMap((r) => r.fields.map((a) => a.id));
84
64
  }
85
- function Dt(e, s) {
86
- const a = s ?? X(e), r = new Map(a.map((n, h) => [n, h]));
65
+ function Dt(e, r) {
66
+ const a = r ?? X(e), s = new Map(a.map((n, h) => [n, h]));
87
67
  return e.map((n) => ({
88
68
  section: n,
89
- fields: n.fields.filter((h) => r.has(h.id)).sort(
90
- (h, l) => r.get(h.id) - r.get(l.id)
69
+ fields: n.fields.filter((h) => s.has(h.id)).sort(
70
+ (h, l) => s.get(h.id) - s.get(l.id)
91
71
  )
92
72
  }));
93
73
  }
94
- function St(e, { value: s, defaultValue: a, onChange: r } = {}) {
74
+ function St(e, { value: r, defaultValue: a, onChange: s } = {}) {
95
75
  const n = B(
96
76
  () => X(e),
97
77
  [e]
98
78
  ), [h, l] = Z({
99
- value: s,
79
+ value: r,
100
80
  defaultValue: a ?? n,
101
- onChange: r
81
+ onChange: s
102
82
  }), c = h ?? a ?? n, m = B(() => {
103
83
  const g = /* @__PURE__ */ new Map();
104
84
  for (const b of e)
105
- for (const k of b.fields)
106
- g.set(k.id, { field: k, sectionId: b.id });
85
+ for (const C of b.fields)
86
+ g.set(C.id, { field: C, sectionId: b.id });
107
87
  return g;
108
88
  }, [e]), d = V(
109
89
  (g) => {
@@ -120,9 +100,9 @@ function St(e, { value: s, defaultValue: a, onChange: r } = {}) {
120
100
  ), o = V(
121
101
  (g, b) => {
122
102
  var D;
123
- const k = ((D = e.find((p) => p.id === g)) == null ? void 0 : D.fields.map((p) => p.id)) ?? [], F = new Set(k);
103
+ const C = ((D = e.find((p) => p.id === g)) == null ? void 0 : D.fields.map((p) => p.id)) ?? [], F = new Set(C);
124
104
  if (b) {
125
- const p = k.filter((u) => !c.includes(u));
105
+ const p = C.filter((u) => !c.includes(u));
126
106
  d([...c, ...p]);
127
107
  } else
128
108
  d(c.filter((p) => !F.has(p)));
@@ -130,19 +110,19 @@ function St(e, { value: s, defaultValue: a, onChange: r } = {}) {
130
110
  [e, c, d]
131
111
  ), w = V(
132
112
  (g, b) => {
133
- var M, i, E;
113
+ var L, i, A;
134
114
  if (g === b) return;
135
- const k = (M = m.get(g)) == null ? void 0 : M.sectionId, F = (i = m.get(b)) == null ? void 0 : i.sectionId;
136
- if (!k || k !== F) return;
115
+ const C = (L = m.get(g)) == null ? void 0 : L.sectionId, F = (i = m.get(b)) == null ? void 0 : i.sectionId;
116
+ if (!C || C !== F) return;
137
117
  const D = new Set(
138
- ((E = e.find((v) => v.id === k)) == null ? void 0 : E.fields.map((v) => v.id)) ?? []
118
+ ((A = e.find((v) => v.id === C)) == null ? void 0 : A.fields.map((v) => v.id)) ?? []
139
119
  ), p = c.filter((v) => D.has(v)), u = p.indexOf(g), x = p.indexOf(b);
140
120
  if (u < 0 || x < 0) return;
141
121
  const [T] = p.splice(u, 1);
142
122
  p.splice(x, 0, T);
143
- let C = 0;
123
+ let k = 0;
144
124
  const H = c.map(
145
- (v) => D.has(v) ? p[C++] : v
125
+ (v) => D.has(v) ? p[k++] : v
146
126
  );
147
127
  d(H);
148
128
  },
@@ -163,18 +143,18 @@ function St(e, { value: s, defaultValue: a, onChange: r } = {}) {
163
143
  }
164
144
  function Tt({
165
145
  sections: e,
166
- visible: s,
146
+ visible: r,
167
147
  onToggleField: a,
168
- onToggleSection: r,
148
+ onToggleSection: s,
169
149
  onMoveFieldOnto: n,
170
150
  onReset: h,
171
151
  label: l
172
152
  }) {
173
- const { t: c } = A("ui"), m = B(() => new Set(s), [s]), [d, y] = P(null), [o, w] = P(null), [S, g] = P(""), { sectionOfField: b, labelOfField: k } = B(() => {
153
+ const { t: c } = E("ui"), m = B(() => new Set(r), [r]), [d, y] = P(null), [o, w] = P(null), [S, g] = P(""), { sectionOfField: b, labelOfField: C } = B(() => {
174
154
  const u = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map();
175
155
  for (const T of e)
176
- for (const C of T.fields)
177
- u.set(C.id, T.id), x.set(C.id, C.label);
156
+ for (const k of T.fields)
157
+ u.set(k.id, T.id), x.set(k.id, k.label);
178
158
  return { sectionOfField: u, labelOfField: x };
179
159
  }, [e]), F = d ? b.get(d) : void 0, D = V(() => {
180
160
  y(null), w(null);
@@ -182,14 +162,14 @@ function Tt({
182
162
  (u, x, T) => {
183
163
  g(
184
164
  c("fieldPicker.moved", {
185
- field: k.get(u) ?? "",
165
+ field: C.get(u) ?? "",
186
166
  position: x + 1,
187
167
  count: T,
188
168
  defaultValue: "Moved {{field}} to position {{position}} of {{count}}"
189
169
  })
190
170
  );
191
171
  },
192
- [c, k]
172
+ [c, C]
193
173
  );
194
174
  return /* @__PURE__ */ N(O.Root, { children: [
195
175
  /* @__PURE__ */ t(O.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
@@ -223,21 +203,21 @@ function Tt({
223
203
  children: e.map((u) => {
224
204
  const x = u.fields.map((i) => i.id), T = x.filter(
225
205
  (i) => m.has(i)
226
- ).length, C = s.filter(
206
+ ).length, k = r.filter(
227
207
  (i) => x.includes(i)
228
- ), H = T === 0 ? !1 : T === x.length ? !0 : "indeterminate", M = !!u.heading;
208
+ ), H = T === 0 ? !1 : T === x.length ? !0 : "indeterminate", L = !!u.heading;
229
209
  return /* @__PURE__ */ N(
230
210
  "div",
231
211
  {
232
212
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
233
213
  children: [
234
- M ? /* @__PURE__ */ t(
214
+ L ? /* @__PURE__ */ t(
235
215
  R,
236
216
  {
237
217
  size: "sm",
238
218
  label: u.heading,
239
219
  checked: H,
240
- onCheckedChange: (i) => r(u.id, i === !0)
220
+ onCheckedChange: (i) => s(u.id, i === !0)
241
221
  }
242
222
  ) : null,
243
223
  /* @__PURE__ */ t(
@@ -245,14 +225,14 @@ function Tt({
245
225
  {
246
226
  className: [
247
227
  "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)]",
248
- M ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
228
+ L ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
249
229
  ].join(" "),
250
230
  children: u.fields.map((i) => {
251
- const E = m.has(i.id), v = C.indexOf(i.id), z = C.length, J = d === i.id, Q = o === i.id && d !== null && d !== i.id && F === u.id;
231
+ const A = m.has(i.id), v = k.indexOf(i.id), z = k.length, J = d === i.id, Q = o === i.id && d !== null && d !== i.id && F === u.id;
252
232
  return /* @__PURE__ */ N(
253
233
  "li",
254
234
  {
255
- ...E ? {
235
+ ...A ? {
256
236
  draggable: !0,
257
237
  onDragStart: (f) => {
258
238
  y(i.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", i.id);
@@ -265,8 +245,8 @@ function Tt({
265
245
  ),
266
246
  onDrop: (f) => {
267
247
  f.preventDefault();
268
- const L = f.dataTransfer.getData("text/plain");
269
- L && L !== i.id && b.get(L) === u.id && (n(L, i.id), p(L, v, z)), D();
248
+ const M = f.dataTransfer.getData("text/plain");
249
+ M && M !== i.id && b.get(M) === u.id && (n(M, i.id), p(M, v, z)), D();
270
250
  },
271
251
  onDragEnd: D
272
252
  } : {},
@@ -281,16 +261,16 @@ function Tt({
281
261
  {
282
262
  size: "sm",
283
263
  label: i.label,
284
- checked: E,
264
+ checked: A,
285
265
  onCheckedChange: () => a(i.id)
286
266
  }
287
267
  ),
288
- E ? /* @__PURE__ */ t(
268
+ A ? /* @__PURE__ */ t(
289
269
  I,
290
270
  {
291
271
  size: "sm",
292
272
  intent: "ghost",
293
- icon: /* @__PURE__ */ t(se, { "aria-hidden": "true" }),
273
+ icon: /* @__PURE__ */ t(re, { "aria-hidden": "true" }),
294
274
  "aria-label": c("fieldPicker.reorder", {
295
275
  field: i.label,
296
276
  defaultValue: "Reorder {{field}}. Press Alt + Up or Alt + Down to move."
@@ -303,22 +283,22 @@ function Tt({
303
283
  if (v <= 0) return;
304
284
  f.preventDefault(), n(
305
285
  i.id,
306
- C[v - 1]
286
+ k[v - 1]
307
287
  ), p(i.id, v - 1, z);
308
288
  } else if (f.key === "ArrowDown") {
309
289
  if (v >= z - 1) return;
310
290
  f.preventDefault(), n(
311
291
  i.id,
312
- C[v + 1]
292
+ k[v + 1]
313
293
  ), p(i.id, v + 1, z);
314
294
  } else if (f.key === "Home") {
315
295
  if (v <= 0) return;
316
- f.preventDefault(), n(i.id, C[0]), p(i.id, 0, z);
296
+ f.preventDefault(), n(i.id, k[0]), p(i.id, 0, z);
317
297
  } else if (f.key === "End") {
318
298
  if (v >= z - 1) return;
319
299
  f.preventDefault(), n(
320
300
  i.id,
321
- C[z - 1]
301
+ k[z - 1]
322
302
  ), p(i.id, z - 1, z);
323
303
  }
324
304
  }
@@ -356,14 +336,14 @@ const U = "ds:text-[color:var(--foreground)]", Ee = {
356
336
  };
357
337
  function _({
358
338
  icon: e,
359
- mono: s,
339
+ mono: r,
360
340
  children: a
361
341
  }) {
362
342
  return /* @__PURE__ */ t(
363
- j,
343
+ q,
364
344
  {
365
345
  variant: "neutral",
366
- className: s ? "ds:font-mono" : void 0,
346
+ className: r ? "ds:font-mono" : void 0,
367
347
  leading: e ? W(e, {
368
348
  className: U
369
349
  }) : void 0,
@@ -371,45 +351,45 @@ function _({
371
351
  }
372
352
  );
373
353
  }
374
- function Ie({ code: e }) {
375
- const { t: s } = A("ui"), a = e.toLowerCase(), r = s(`patientField.sex.${a}`, {
354
+ function Ae({ code: e }) {
355
+ const { t: r } = E("ui"), a = e.toLowerCase(), s = r(`patientField.sex.${a}`, {
376
356
  defaultValue: Ee[a] ?? e
377
357
  });
378
- return a === "f" ? /* @__PURE__ */ t(j, { variant: "accentSoft", leading: /* @__PURE__ */ t(Ae, {}), children: r }) : a === "m" ? /* @__PURE__ */ t(j, { variant: "info", leading: /* @__PURE__ */ t(Pe, {}), children: r }) : /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(le, {}), children: r });
358
+ return a === "f" ? /* @__PURE__ */ t(q, { variant: "accentSoft", leading: /* @__PURE__ */ t(Fe, {}), children: s }) : a === "m" ? /* @__PURE__ */ t(q, { variant: "info", leading: /* @__PURE__ */ t(ze, {}), children: s }) : /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(ce, {}), children: s });
379
359
  }
380
- function Me({ years: e }) {
381
- const { t: s } = A("ui");
382
- return /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(Te, {}), children: s("patientField.age", {
360
+ function Ie({ years: e }) {
361
+ const { t: r } = E("ui");
362
+ return /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(le, {}), children: r("patientField.age", {
383
363
  count: e,
384
364
  defaultValue: "{{count}} years old"
385
365
  }) });
386
366
  }
387
367
  function Le({ field: e }) {
388
- const { i18n: s } = A("ui");
368
+ const { i18n: r } = E("ui");
389
369
  if (e.kind === "email" || e.kind === "phone") {
390
370
  const a = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
391
371
  if (a) {
392
- const r = e.kind === "email" ? `mailto:${a.trim()}` : `tel:${a.replace(/[^+\d]/g, "")}`;
393
- return /* @__PURE__ */ t(re, { href: r, dir: "ltr", children: a });
372
+ const s = e.kind === "email" ? `mailto:${a.trim()}` : `tel:${a.replace(/[^+\d]/g, "")}`;
373
+ return /* @__PURE__ */ t(se, { href: s, dir: "ltr", children: a });
394
374
  }
395
375
  }
396
376
  if (e.value != null)
397
- return /* @__PURE__ */ t(G, { children: e.value });
377
+ return /* @__PURE__ */ t($, { children: e.value });
398
378
  if (!e.kind)
399
379
  return null;
400
380
  switch (e.kind) {
401
381
  case "sex":
402
- return /* @__PURE__ */ t(Ie, { code: String(e.editValue ?? "") });
382
+ return /* @__PURE__ */ t(Ae, { code: String(e.editValue ?? "") });
403
383
  case "age": {
404
384
  const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
405
- return Number.isFinite(a) ? /* @__PURE__ */ t(Me, { years: a }) : null;
385
+ return Number.isFinite(a) ? /* @__PURE__ */ t(Ie, { years: a }) : null;
406
386
  }
407
387
  case "dob": {
408
- const a = e.editValue, r = a instanceof Date ? a : new Date(String(a ?? "")), n = Number.isNaN(r.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(s.language, {
388
+ const a = e.editValue, s = a instanceof Date ? a : new Date(String(a ?? "")), n = Number.isNaN(s.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(r.language, {
409
389
  day: "numeric",
410
390
  month: "short",
411
391
  year: "numeric"
412
- }).format(r);
392
+ }).format(s);
413
393
  return n ? /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(oe, {}), children: n }) : null;
414
394
  }
415
395
  case "fiscalCode": {
@@ -432,16 +412,16 @@ function Le({ field: e }) {
432
412
  return null;
433
413
  }
434
414
  }
435
- function Oe({
415
+ function Me({
436
416
  field: e
437
417
  }) {
438
- const { t: s } = A("ui");
418
+ const { t: r } = E("ui");
439
419
  return /* @__PURE__ */ N("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
440
420
  e.label,
441
421
  e.sensitive ? /* @__PURE__ */ t(
442
- we,
422
+ De,
443
423
  {
444
- "aria-label": s("patientDetails.sensitive", {
424
+ "aria-label": r("patientDetails.sensitive", {
445
425
  defaultValue: "Sensitive"
446
426
  }),
447
427
  className: "ds:size-3 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
@@ -449,20 +429,20 @@ function Oe({
449
429
  ) : null
450
430
  ] });
451
431
  }
452
- function Be({
432
+ function Oe({
453
433
  field: e,
454
- editable: s,
434
+ editable: r,
455
435
  onFieldSave: a,
456
- validate: r,
436
+ validate: s,
457
437
  locale: n
458
438
  }) {
459
- const { t: h } = A("ui"), l = Y(), c = s && !!e.editable && !!a, [m, d] = P(!1), [y, o] = P(e.editValue), [w, S] = P(null), [g, b] = P(!1), k = V(() => {
439
+ const { t: h } = E("ui"), l = Y(), c = r && !!e.editable && !!a, [m, d] = P(!1), [y, o] = P(e.editValue), [w, S] = P(null), [g, b] = P(!1), C = V(() => {
460
440
  o(e.editValue), S(null), d(!0);
461
441
  }, [e.editValue]), F = V(() => {
462
442
  d(!1), S(null);
463
443
  }, []), D = V(async () => {
464
444
  if (!a) return;
465
- const u = (r == null ? void 0 : r(e.id, y)) ?? null;
445
+ const u = (s == null ? void 0 : s(e.id, y)) ?? null;
466
446
  if (u) {
467
447
  S(u);
468
448
  return;
@@ -479,11 +459,11 @@ function Be({
479
459
  } finally {
480
460
  b(!1);
481
461
  }
482
- }, [a, r, e.id, y, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
462
+ }, [a, s, e.id, y, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
483
463
  return m ? /* @__PURE__ */ N("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
484
464
  /* @__PURE__ */ N("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
485
465
  /* @__PURE__ */ t(
486
- _e,
466
+ Be,
487
467
  {
488
468
  field: e,
489
469
  value: y,
@@ -510,7 +490,7 @@ function Be({
510
490
  {
511
491
  size: "sm",
512
492
  intent: "ghost",
513
- icon: /* @__PURE__ */ t(Ve, { "aria-hidden": "true" }),
493
+ icon: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
514
494
  "aria-label": h("patientDetails.edit.cancel", {
515
495
  defaultValue: "Cancel"
516
496
  }),
@@ -537,62 +517,62 @@ function Be({
537
517
  children: /* @__PURE__ */ t(Le, { field: e })
538
518
  }
539
519
  ),
540
- e.copyable && e.copyText ? /* @__PURE__ */ t(He, { text: e.copyText, label: e.label }) : null,
520
+ e.copyable && e.copyText ? /* @__PURE__ */ t(_e, { text: e.copyText, label: e.label }) : null,
541
521
  c ? /* @__PURE__ */ t(
542
522
  I,
543
523
  {
544
524
  size: "sm",
545
525
  intent: "ghost",
546
526
  className: "ds:shrink-0 ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:focus-visible:opacity-100",
547
- icon: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
527
+ icon: /* @__PURE__ */ t(we, { "aria-hidden": "true" }),
548
528
  "aria-label": h("patientDetails.edit.editField", {
549
529
  field: e.label,
550
530
  defaultValue: "Edit {{field}}"
551
531
  }),
552
- onClick: k
532
+ onClick: C
553
533
  }
554
534
  ) : null
555
535
  ] });
556
536
  }
557
537
  function zt({
558
538
  field: e,
559
- icon: s,
539
+ icon: r,
560
540
  ...a
561
541
  }) {
562
542
  return /* @__PURE__ */ N(
563
- $.Row,
543
+ j.Row,
564
544
  {
565
- icon: s ?? null,
545
+ icon: r ?? null,
566
546
  "data-field-id": e.id,
567
547
  className: "ds:group",
568
548
  children: [
569
- /* @__PURE__ */ t($.Term, { children: /* @__PURE__ */ t(Oe, { field: e }) }),
570
- /* @__PURE__ */ t($.Detail, { children: /* @__PURE__ */ t(Be, { field: e, ...a }) })
549
+ /* @__PURE__ */ t(j.Term, { children: /* @__PURE__ */ t(Me, { field: e }) }),
550
+ /* @__PURE__ */ t(j.Detail, { children: /* @__PURE__ */ t(Oe, { field: e, ...a }) })
571
551
  ]
572
552
  }
573
553
  );
574
554
  }
575
- function _e({
555
+ function Be({
576
556
  field: e,
577
- value: s,
557
+ value: r,
578
558
  onChange: a,
579
- invalid: r,
559
+ invalid: s,
580
560
  errorId: n,
581
561
  locale: h,
582
562
  disabled: l
583
563
  }) {
584
- const { t: c } = A("ui"), m = r ? "error" : "default", d = e.editType ?? "text", y = Ce(typeof s == "string" ? s : "");
564
+ const { t: c } = E("ui"), m = s ? "error" : "default", d = e.editType ?? "text", y = Ve(typeof r == "string" ? r : "");
585
565
  switch (d) {
586
566
  case "textarea":
587
567
  return /* @__PURE__ */ t(
588
- xe,
568
+ Ce,
589
569
  {
590
570
  size: "sm",
591
- value: typeof s == "string" ? s : "",
571
+ value: typeof r == "string" ? r : "",
592
572
  onChange: (o) => a(o.target.value),
593
573
  tone: m,
594
574
  "aria-label": e.label,
595
- "aria-invalid": r || void 0,
575
+ "aria-invalid": s || void 0,
596
576
  "aria-describedby": n,
597
577
  disabled: l,
598
578
  className: "ds:flex-1"
@@ -600,35 +580,35 @@ function _e({
600
580
  );
601
581
  case "select":
602
582
  return /* @__PURE__ */ t(
603
- be,
583
+ ve,
604
584
  {
605
585
  size: "sm",
606
586
  options: e.options ?? [],
607
- value: typeof s == "string" ? s : "",
587
+ value: typeof r == "string" ? r : "",
608
588
  onValueChange: (o) => a(o),
609
589
  tone: m,
610
590
  disabled: l,
611
591
  "aria-label": e.label,
612
- "aria-invalid": r || void 0,
592
+ "aria-invalid": s || void 0,
613
593
  "aria-describedby": n
614
594
  }
615
595
  );
616
596
  case "boolean":
617
597
  return /* @__PURE__ */ t(
618
- ve,
598
+ xe,
619
599
  {
620
600
  label: e.label,
621
- checked: s === !0,
601
+ checked: r === !0,
622
602
  onCheckedChange: (o) => a(o),
623
603
  disabled: l
624
604
  }
625
605
  );
626
606
  case "date":
627
607
  return /* @__PURE__ */ t(
628
- ue,
608
+ me,
629
609
  {
630
610
  size: "sm",
631
- value: s instanceof Date ? s : void 0,
611
+ value: r instanceof Date ? r : void 0,
632
612
  onChange: (o) => a(o ?? null),
633
613
  disabled: l,
634
614
  "aria-label": e.label
@@ -636,10 +616,10 @@ function _e({
636
616
  );
637
617
  case "number":
638
618
  return /* @__PURE__ */ t(
639
- fe,
619
+ ge,
640
620
  {
641
621
  size: "sm",
642
- value: typeof s == "number" ? s : null,
622
+ value: typeof r == "number" ? r : null,
643
623
  onChange: (o) => a(o),
644
624
  mode: e.currency ? "currency" : "decimal",
645
625
  currency: e.currency,
@@ -647,19 +627,19 @@ function _e({
647
627
  tone: m,
648
628
  disabled: l,
649
629
  "aria-label": e.label,
650
- "aria-invalid": r || void 0,
630
+ "aria-invalid": s || void 0,
651
631
  "aria-describedby": n
652
632
  }
653
633
  );
654
634
  case "email":
655
635
  return /* @__PURE__ */ t(
656
- me,
636
+ pe,
657
637
  {
658
638
  size: "sm",
659
639
  ref: y.ref,
660
640
  onChange: y.quiet((o) => a(o.target.value)),
661
641
  "aria-label": e.label,
662
- "aria-invalid": r || void 0,
642
+ "aria-invalid": s || void 0,
663
643
  "aria-describedby": n,
664
644
  disabled: l,
665
645
  className: "ds:flex-1"
@@ -667,14 +647,14 @@ function _e({
667
647
  );
668
648
  case "phone":
669
649
  return /* @__PURE__ */ t(
670
- ge,
650
+ he,
671
651
  {
672
652
  size: "sm",
673
- value: typeof s == "string" ? s : "",
653
+ value: typeof r == "string" ? r : "",
674
654
  onChange: (o) => a(o),
675
655
  tone: m,
676
656
  "aria-label": e.label,
677
- "aria-invalid": r || void 0,
657
+ "aria-invalid": s || void 0,
678
658
  "aria-describedby": n,
679
659
  disabled: l,
680
660
  className: "ds:flex-1"
@@ -682,14 +662,14 @@ function _e({
682
662
  );
683
663
  case "fiscalCode":
684
664
  return /* @__PURE__ */ t(
685
- pe,
665
+ fe,
686
666
  {
687
667
  size: "sm",
688
- value: typeof s == "string" ? s : "",
668
+ value: typeof r == "string" ? r : "",
689
669
  onChange: (o) => a(o),
690
670
  tone: m,
691
671
  "aria-label": e.label,
692
- "aria-invalid": r || void 0,
672
+ "aria-invalid": s || void 0,
693
673
  "aria-describedby": n,
694
674
  disabled: l,
695
675
  className: "ds:flex-1"
@@ -701,45 +681,45 @@ function _e({
701
681
  // conveyed by colour alone.
702
682
  case "province":
703
683
  return /* @__PURE__ */ t(
704
- ye,
684
+ be,
705
685
  {
706
686
  size: "sm",
707
687
  country: "it",
708
- value: typeof s == "string" ? s : "",
688
+ value: typeof r == "string" ? r : "",
709
689
  onValueChange: (o) => a(o),
710
690
  tone: m,
711
691
  disabled: l,
712
692
  "aria-label": e.label,
713
- "aria-invalid": r || void 0,
693
+ "aria-invalid": s || void 0,
714
694
  "aria-describedby": n,
715
695
  className: "ds:flex-1"
716
696
  }
717
697
  );
718
698
  case "country":
719
699
  return /* @__PURE__ */ t(
720
- de,
700
+ ue,
721
701
  {
722
702
  size: "sm",
723
- value: typeof s == "string" ? s : "",
703
+ value: typeof r == "string" ? r : "",
724
704
  onValueChange: (o) => a(o),
725
705
  tone: m,
726
706
  disabled: l,
727
707
  "aria-label": e.label,
728
- "aria-invalid": r || void 0,
708
+ "aria-invalid": s || void 0,
729
709
  "aria-describedby": n,
730
710
  className: "ds:flex-1"
731
711
  }
732
712
  );
733
713
  case "postalCode":
734
714
  return /* @__PURE__ */ t(
735
- he,
715
+ ye,
736
716
  {
737
717
  size: "sm",
738
718
  country: "it",
739
719
  ref: y.ref,
740
720
  onValueChange: y.quiet((o) => a(o)),
741
721
  "aria-label": e.label,
742
- "aria-invalid": r || void 0,
722
+ "aria-invalid": s || void 0,
743
723
  "aria-describedby": n,
744
724
  disabled: l,
745
725
  className: "ds:flex-1"
@@ -747,7 +727,7 @@ function _e({
747
727
  );
748
728
  case "city":
749
729
  return /* @__PURE__ */ t(
750
- ce,
730
+ de,
751
731
  {
752
732
  size: "sm",
753
733
  ref: y.ref,
@@ -755,7 +735,7 @@ function _e({
755
735
  tone: m,
756
736
  disabled: l,
757
737
  "aria-label": e.label,
758
- "aria-invalid": r || void 0,
738
+ "aria-invalid": s || void 0,
759
739
  "aria-describedby": n,
760
740
  className: "ds:flex-1"
761
741
  }
@@ -770,7 +750,7 @@ function _e({
770
750
  onChange: y.quiet((o) => a(o.target.value)),
771
751
  tone: m,
772
752
  "aria-label": e.label,
773
- "aria-invalid": r || void 0,
753
+ "aria-invalid": s || void 0,
774
754
  "aria-describedby": n,
775
755
  disabled: l,
776
756
  clearable: !0,
@@ -782,11 +762,11 @@ function _e({
782
762
  );
783
763
  }
784
764
  }
785
- function He({
765
+ function _e({
786
766
  text: e,
787
- label: s
767
+ label: r
788
768
  }) {
789
- const { t: a } = A("ui"), [r, n] = P(!1), [h, l] = P(""), c = V(async () => {
769
+ const { t: a } = E("ui"), [s, n] = P(!1), [h, l] = P(""), c = V(async () => {
790
770
  try {
791
771
  await navigator.clipboard.writeText(e), n(!0), l(a("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
792
772
  n(!1), l("");
@@ -797,15 +777,15 @@ function He({
797
777
  ), setTimeout(() => l(""), 3e3);
798
778
  }
799
779
  }, [e, a]);
800
- return /* @__PURE__ */ N(G, { children: [
780
+ return /* @__PURE__ */ N($, { children: [
801
781
  /* @__PURE__ */ t(
802
782
  I,
803
783
  {
804
784
  size: "sm",
805
785
  intent: "ghost",
806
- icon: r ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(De, { "aria-hidden": "true" }),
786
+ icon: s ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(Se, { "aria-hidden": "true" }),
807
787
  "aria-label": a("keyValuePair.copy", {
808
- label: s,
788
+ label: r,
809
789
  defaultValue: "Copy {{label}}"
810
790
  }),
811
791
  onClick: c
@@ -815,15 +795,14 @@ function He({
815
795
  ] });
816
796
  }
817
797
  export {
818
- Me as A,
798
+ Ie as A,
819
799
  Tt as F,
820
- Te as H,
821
800
  _ as N,
822
801
  zt as P,
823
- Ie as S,
824
- Be as a,
825
- Oe as b,
802
+ Ae as S,
803
+ Oe as a,
804
+ Me as b,
826
805
  Dt as r,
827
806
  St as u
828
807
  };
829
- //# sourceMappingURL=patient-field-row-CBXhlfGD.js.map
808
+ //# sourceMappingURL=patient-field-row-DROvUkFu.js.map