@alfadocs/ui-kit-debug 1.30.0 → 1.32.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 (393) hide show
  1. package/dist/_chunks/{address-fields-CZ0pEdEI.js → address-fields-jFfjxOQR.js} +3 -3
  2. package/dist/_chunks/{address-fields-CZ0pEdEI.js.map → address-fields-jFfjxOQR.js.map} +1 -1
  3. package/dist/_chunks/{agenda-card-pdN49pMu.js → agenda-card-DVz3jwTf.js} +2 -2
  4. package/dist/_chunks/{agenda-card-pdN49pMu.js.map → agenda-card-DVz3jwTf.js.map} +1 -1
  5. package/dist/_chunks/{agenda-tray-BweO8pDo.js → agenda-tray-1oDWCJdB.js} +2 -2
  6. package/dist/_chunks/{agenda-tray-BweO8pDo.js.map → agenda-tray-1oDWCJdB.js.map} +1 -1
  7. package/dist/_chunks/{ai-prompt-input-CrHr-5H8.js → ai-prompt-input-Dt7tpCBh.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-CrHr-5H8.js.map → ai-prompt-input-Dt7tpCBh.js.map} +1 -1
  9. package/dist/_chunks/{alia-sidebar-BWcWZivN.js → alia-sidebar-D18kp3p9.js} +3 -3
  10. package/dist/_chunks/{alia-sidebar-BWcWZivN.js.map → alia-sidebar-D18kp3p9.js.map} +1 -1
  11. package/dist/_chunks/{anamnesis-summary-rows-DMO3MWSt.js → anamnesis-summary-rows-BYgyp_i2.js} +6 -6
  12. package/dist/_chunks/{anamnesis-summary-rows-DMO3MWSt.js.map → anamnesis-summary-rows-BYgyp_i2.js.map} +1 -1
  13. package/dist/_chunks/{appointment-card-Dzr3GeVz.js → appointment-card-D-oj_ugh.js} +9 -7
  14. package/dist/_chunks/appointment-card-D-oj_ugh.js.map +1 -0
  15. package/dist/_chunks/{appointment-timeline-DhHwmHo1.js → appointment-timeline-CymGHyIP.js} +2 -2
  16. package/dist/_chunks/{appointment-timeline-DhHwmHo1.js.map → appointment-timeline-CymGHyIP.js.map} +1 -1
  17. package/dist/_chunks/{appointment-tray-4FUu_5NX.js → appointment-tray-DCk8gHod.js} +2 -2
  18. package/dist/_chunks/{appointment-tray-4FUu_5NX.js.map → appointment-tray-DCk8gHod.js.map} +1 -1
  19. package/dist/_chunks/{audio-recorder-DXG6LTtO.js → audio-recorder-11wClczr.js} +2 -2
  20. package/dist/_chunks/{audio-recorder-DXG6LTtO.js.map → audio-recorder-11wClczr.js.map} +1 -1
  21. package/dist/_chunks/{avatar-BNQNhoyL.js → avatar-CkDeQOSI.js} +37 -37
  22. package/dist/_chunks/avatar-CkDeQOSI.js.map +1 -0
  23. package/dist/_chunks/{balance-badge-cell-CX6b0ML4.js → balance-badge-cell-DhBtFRoW.js} +4 -4
  24. package/dist/_chunks/{balance-badge-cell-CX6b0ML4.js.map → balance-badge-cell-DhBtFRoW.js.map} +1 -1
  25. package/dist/_chunks/{bishop-score-CJUVBfAu.js → bishop-score-CAl7C5hm.js} +2 -2
  26. package/dist/_chunks/{bishop-score-CJUVBfAu.js.map → bishop-score-CAl7C5hm.js.map} +1 -1
  27. package/dist/_chunks/{bmi-calculator-CcH6upht.js → bmi-calculator-Dwkih9a4.js} +3 -3
  28. package/dist/_chunks/{bmi-calculator-CcH6upht.js.map → bmi-calculator-Dwkih9a4.js.map} +1 -1
  29. package/dist/_chunks/{booking-AabCk7CI.js → booking-l6UGNiE1.js} +3 -3
  30. package/dist/_chunks/{booking-AabCk7CI.js.map → booking-l6UGNiE1.js.map} +1 -1
  31. package/dist/_chunks/{calculator-dialog-12d3Sxaz.js → calculator-dialog-C0ixc3SU.js} +2 -2
  32. package/dist/_chunks/{calculator-dialog-12d3Sxaz.js.map → calculator-dialog-C0ixc3SU.js.map} +1 -1
  33. package/dist/_chunks/{calendar-CI9MINcR.js → calendar-Dgvl5L4T.js} +494 -438
  34. package/dist/_chunks/calendar-Dgvl5L4T.js.map +1 -0
  35. package/dist/_chunks/{calendar-event-card-66CEEWU6.js → calendar-event-card-DSh-69HT.js} +130 -122
  36. package/dist/_chunks/calendar-event-card-DSh-69HT.js.map +1 -0
  37. package/dist/_chunks/calendar-workspace-BX-zDyVR.js +9392 -0
  38. package/dist/_chunks/calendar-workspace-BX-zDyVR.js.map +1 -0
  39. package/dist/_chunks/{care-plan-card-CQVboTn1.js → care-plan-card-CZW476Kg.js} +2 -2
  40. package/dist/_chunks/{care-plan-card-CQVboTn1.js.map → care-plan-card-CZW476Kg.js.map} +1 -1
  41. package/dist/_chunks/{care-plan-entry-card-jxHkzez5.js → care-plan-entry-card-BMUYagEw.js} +2 -2
  42. package/dist/_chunks/{care-plan-entry-card-jxHkzez5.js.map → care-plan-entry-card-BMUYagEw.js.map} +1 -1
  43. package/dist/_chunks/{chat-message-DBQu10rs.js → chat-message-C-8UU2av.js} +2 -2
  44. package/dist/_chunks/{chat-message-DBQu10rs.js.map → chat-message-C-8UU2av.js.map} +1 -1
  45. package/dist/_chunks/{clinical-note-card-BBgFd2nB.js → clinical-note-card-D2WTV2CO.js} +185 -188
  46. package/dist/_chunks/clinical-note-card-D2WTV2CO.js.map +1 -0
  47. package/dist/_chunks/{color-picker-CU303VjY.js → color-picker-Bl5f0iK1.js} +28 -25
  48. package/dist/_chunks/color-picker-Bl5f0iK1.js.map +1 -0
  49. package/dist/_chunks/{combobox-D7_NLE2Z.js → combobox-DnSdYssy.js} +216 -215
  50. package/dist/_chunks/combobox-DnSdYssy.js.map +1 -0
  51. package/dist/_chunks/{country-select-DzbPFktV.js → country-select-CfDNFG5c.js} +2 -2
  52. package/dist/_chunks/{country-select-DzbPFktV.js.map → country-select-CfDNFG5c.js.map} +1 -1
  53. package/dist/_chunks/{data-table-DB5BiVQ0.js → data-table-DC96JJIq.js} +2 -2
  54. package/dist/_chunks/{data-table-DB5BiVQ0.js.map → data-table-DC96JJIq.js.map} +1 -1
  55. package/dist/_chunks/{dependent-selector-cJlJFAKD.js → dependent-selector-yTKKsuc9.js} +2 -2
  56. package/dist/_chunks/{dependent-selector-cJlJFAKD.js.map → dependent-selector-yTKKsuc9.js.map} +1 -1
  57. package/dist/_chunks/{dialog-UbKJCi1X.js → dialog-BJiLqhx6.js} +54 -46
  58. package/dist/_chunks/dialog-BJiLqhx6.js.map +1 -0
  59. package/dist/_chunks/{document-preview-CDb-n_W7.js → document-preview-BrhMHNh8.js} +2 -2
  60. package/dist/_chunks/{document-preview-CDb-n_W7.js.map → document-preview-BrhMHNh8.js.map} +1 -1
  61. package/dist/_chunks/{due-date-calculator-BtgWeFqp.js → due-date-calculator-CxgK8vzt.js} +3 -3
  62. package/dist/_chunks/{due-date-calculator-BtgWeFqp.js.map → due-date-calculator-CxgK8vzt.js.map} +1 -1
  63. package/dist/_chunks/{entity-summary-B_vO5Ur4.js → entity-summary-5o768XLU.js} +2 -2
  64. package/dist/_chunks/{entity-summary-B_vO5Ur4.js.map → entity-summary-5o768XLU.js.map} +1 -1
  65. package/dist/_chunks/{face-scheme-DA2vjqaM.js → face-scheme-l-CQyLs-.js} +2 -2
  66. package/dist/_chunks/{face-scheme-DA2vjqaM.js.map → face-scheme-l-CQyLs-.js.map} +1 -1
  67. package/dist/_chunks/{file-manager-Cd8V9IcZ.js → file-manager-CI2Qn8qW.js} +3 -3
  68. package/dist/_chunks/{file-manager-Cd8V9IcZ.js.map → file-manager-CI2Qn8qW.js.map} +1 -1
  69. package/dist/_chunks/{gestational-age-calculator-KdMg9z9H.js → gestational-age-calculator-CZHVrERT.js} +4 -4
  70. package/dist/_chunks/{gestational-age-calculator-KdMg9z9H.js.map → gestational-age-calculator-CZHVrERT.js.map} +1 -1
  71. package/dist/_chunks/{link-cell-renderer-tWEOv3Sc.js → link-cell-renderer-BEpMNtAa.js} +3 -3
  72. package/dist/_chunks/{link-cell-renderer-tWEOv3Sc.js.map → link-cell-renderer-BEpMNtAa.js.map} +1 -1
  73. package/dist/_chunks/{marketplace-app-shell-C4AjQmvz.js → marketplace-app-shell-CK_ND8Tr.js} +2 -2
  74. package/dist/_chunks/{marketplace-app-shell-C4AjQmvz.js.map → marketplace-app-shell-CK_ND8Tr.js.map} +1 -1
  75. package/dist/_chunks/{message-card-D8GB4FdF.js → message-card-BUMv16un.js} +2 -2
  76. package/dist/_chunks/{message-card-D8GB4FdF.js.map → message-card-BUMv16un.js.map} +1 -1
  77. package/dist/_chunks/{message-tray-CGIRQjx5.js → message-tray-0zsv27xX.js} +2 -2
  78. package/dist/_chunks/{message-tray-CGIRQjx5.js.map → message-tray-0zsv27xX.js.map} +1 -1
  79. package/dist/_chunks/{muscle-scheme-BSJsI4-I.js → muscle-scheme-UVz_x4iE.js} +2 -2
  80. package/dist/_chunks/{muscle-scheme-BSJsI4-I.js.map → muscle-scheme-UVz_x4iE.js.map} +1 -1
  81. package/dist/_chunks/notes-panel-C4G-mhZ9.js +380 -0
  82. package/dist/_chunks/notes-panel-C4G-mhZ9.js.map +1 -0
  83. package/dist/_chunks/{operator-hero-BnFv-Uef.js → operator-hero-D7-iiFQ9.js} +2 -2
  84. package/dist/_chunks/{operator-hero-BnFv-Uef.js.map → operator-hero-D7-iiFQ9.js.map} +1 -1
  85. package/dist/_chunks/{optical-prescription-BvwuqTpl.js → optical-prescription-DUJOhKz_.js} +2 -2
  86. package/dist/_chunks/{optical-prescription-BvwuqTpl.js.map → optical-prescription-DUJOhKz_.js.map} +1 -1
  87. package/dist/_chunks/{patient-details-DYAmq76G.js → patient-details-BGiawUHd.js} +5 -5
  88. package/dist/_chunks/{patient-details-DYAmq76G.js.map → patient-details-BGiawUHd.js.map} +1 -1
  89. package/dist/_chunks/{patient-summary-card-C9WBwct-.js → patient-summary-card--CT_gbaQ.js} +2 -2
  90. package/dist/_chunks/{patient-summary-card-C9WBwct-.js.map → patient-summary-card--CT_gbaQ.js.map} +1 -1
  91. package/dist/_chunks/{periodontal-diagnosis-HrFsVi-C.js → periodontal-diagnosis-lEwA8wqX.js} +3 -3
  92. package/dist/_chunks/{periodontal-diagnosis-HrFsVi-C.js.map → periodontal-diagnosis-lEwA8wqX.js.map} +1 -1
  93. package/dist/_chunks/{practice-profile-hero-YQ7h2K4o.js → practice-profile-hero-DQyDvpJL.js} +2 -2
  94. package/dist/_chunks/{practice-profile-hero-YQ7h2K4o.js.map → practice-profile-hero-DQyDvpJL.js.map} +1 -1
  95. package/dist/_chunks/{practice-results-CxIsU2YO.js → practice-results-DjEzPgAK.js} +2 -2
  96. package/dist/_chunks/{practice-results-CxIsU2YO.js.map → practice-results-DjEzPgAK.js.map} +1 -1
  97. package/dist/_chunks/{pregnancy-dating-m-c05DOI.js → pregnancy-dating-n5j5dAKy.js} +4 -4
  98. package/dist/_chunks/{pregnancy-dating-m-c05DOI.js.map → pregnancy-dating-n5j5dAKy.js.map} +1 -1
  99. package/dist/_chunks/{pregnancy-weight-gain-CJwbs9W-.js → pregnancy-weight-gain-D5A8vPjj.js} +3 -3
  100. package/dist/_chunks/{pregnancy-weight-gain-CJwbs9W-.js.map → pregnancy-weight-gain-D5A8vPjj.js.map} +1 -1
  101. package/dist/_chunks/{province-select-BBc7s7vR.js → province-select-BaUnkg4S.js} +2 -2
  102. package/dist/_chunks/{province-select-BBc7s7vR.js.map → province-select-BaUnkg4S.js.map} +1 -1
  103. package/dist/_chunks/qr-code-DOJs4suh.js +750 -0
  104. package/dist/_chunks/qr-code-DOJs4suh.js.map +1 -0
  105. package/dist/_chunks/radio-DNRe6H_8.js +193 -0
  106. package/dist/_chunks/radio-DNRe6H_8.js.map +1 -0
  107. package/dist/_chunks/radio-group-DyVBgnA3.js +297 -0
  108. package/dist/_chunks/radio-group-DyVBgnA3.js.map +1 -0
  109. package/dist/_chunks/{radiograph-panel.agent-ByM9M3qm.js → radiograph-panel.agent-o4jwEJPC.js} +2 -2
  110. package/dist/_chunks/{radiograph-panel.agent-ByM9M3qm.js.map → radiograph-panel.agent-o4jwEJPC.js.map} +1 -1
  111. package/dist/_chunks/{rich-text-editor-lSCiE0Zz.js → rich-text-editor-CQ7yZdG3.js} +3 -3
  112. package/dist/_chunks/{rich-text-editor-lSCiE0Zz.js.map → rich-text-editor-CQ7yZdG3.js.map} +1 -1
  113. package/dist/_chunks/select-CLSUnKjF.js +520 -0
  114. package/dist/_chunks/select-CLSUnKjF.js.map +1 -0
  115. package/dist/_chunks/signature-request-vihDT8On.js +2232 -0
  116. package/dist/_chunks/signature-request-vihDT8On.js.map +1 -0
  117. package/dist/_chunks/{tabs-DqKtTIjZ.js → tabs-BnRaLT0y.js} +2 -2
  118. package/dist/_chunks/{tabs-DqKtTIjZ.js.map → tabs-BnRaLT0y.js.map} +1 -1
  119. package/dist/_chunks/{tasks-panel-DPCNaRko.js → tasks-panel-DQuaVvl5.js} +2 -2
  120. package/dist/_chunks/{tasks-panel-DPCNaRko.js.map → tasks-panel-DQuaVvl5.js.map} +1 -1
  121. package/dist/_chunks/{timeline-r-8IUoBS.js → timeline-Bs9Erxlo.js} +38 -36
  122. package/dist/_chunks/timeline-Bs9Erxlo.js.map +1 -0
  123. package/dist/_chunks/{tooth-scheme-C9jssOmy.js → tooth-scheme-Qe7LO5Di.js} +2 -2
  124. package/dist/_chunks/{tooth-scheme-C9jssOmy.js.map → tooth-scheme-Qe7LO5Di.js.map} +1 -1
  125. package/dist/_chunks/{unit-converter-C6jMjqL9.js → unit-converter-BTgU50gk.js} +2 -2
  126. package/dist/_chunks/{unit-converter-C6jMjqL9.js.map → unit-converter-BTgU50gk.js.map} +1 -1
  127. package/dist/_chunks/{widget-picker-em4xGgv0.js → widget-picker-DvUkBemi.js} +2 -2
  128. package/dist/_chunks/{widget-picker-em4xGgv0.js.map → widget-picker-DvUkBemi.js.map} +1 -1
  129. package/dist/agent-catalog.json +366 -29
  130. package/dist/agent-i18n/en.json +27 -15
  131. package/dist/components/_shared/get-error-message.d.ts +3 -0
  132. package/dist/components/_shared/get-error-message.d.ts.map +1 -0
  133. package/dist/components/address-fields/index.js +1 -1
  134. package/dist/components/agenda-card/index.js +1 -1
  135. package/dist/components/agenda-tray/index.js +1 -1
  136. package/dist/components/ai-prompt-input/index.js +1 -1
  137. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  138. package/dist/components/appointment-card/index.js +2 -2
  139. package/dist/components/appointment-timeline/index.js +1 -1
  140. package/dist/components/audio-recorder/index.js +1 -1
  141. package/dist/components/avatar/avatar.d.ts +2 -0
  142. package/dist/components/avatar/avatar.d.ts.map +1 -1
  143. package/dist/components/avatar/index.js +1 -1
  144. package/dist/components/bishop-score/index.js +1 -1
  145. package/dist/components/bmi-calculator/index.js +1 -1
  146. package/dist/components/booking/index.js +1 -1
  147. package/dist/components/calculator-dialog/index.js +1 -1
  148. package/dist/components/calendar/calendar.d.ts +26 -2
  149. package/dist/components/calendar/calendar.d.ts.map +1 -1
  150. package/dist/components/calendar/index.js +1 -1
  151. package/dist/components/calendar-event-card/calendar-event-card.d.ts +9 -0
  152. package/dist/components/calendar-event-card/calendar-event-card.d.ts.map +1 -1
  153. package/dist/components/calendar-event-card/index.js +1 -1
  154. package/dist/components/care-plan-card/index.js +1 -1
  155. package/dist/components/care-plan-entry-card/index.js +1 -1
  156. package/dist/components/chat-message/index.js +1 -1
  157. package/dist/components/clinical-note-card/clinical-note-card.d.ts +16 -1
  158. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -1
  159. package/dist/components/clinical-note-card/index.js +1 -1
  160. package/dist/components/color-picker/color-utils.d.ts.map +1 -1
  161. package/dist/components/color-picker/index.js +1 -1
  162. package/dist/components/combobox/combobox.d.ts +5 -0
  163. package/dist/components/combobox/combobox.d.ts.map +1 -1
  164. package/dist/components/combobox/index.js +1 -1
  165. package/dist/components/country-select/index.js +1 -1
  166. package/dist/components/data-table/index.js +2 -2
  167. package/dist/components/dependent-selector/index.js +1 -1
  168. package/dist/components/dialog/dialog.d.ts +9 -0
  169. package/dist/components/dialog/dialog.d.ts.map +1 -1
  170. package/dist/components/dialog/index.js +1 -1
  171. package/dist/components/document-preview/index.js +1 -1
  172. package/dist/components/due-date-calculator/index.js +1 -1
  173. package/dist/components/entity-summary/index.js +1 -1
  174. package/dist/components/face-scheme/index.js +1 -1
  175. package/dist/components/file-manager/index.js +1 -1
  176. package/dist/components/gestational-age-calculator/index.js +1 -1
  177. package/dist/components/message-card/index.js +1 -1
  178. package/dist/components/message-tray/index.js +1 -1
  179. package/dist/components/muscle-scheme/index.js +1 -1
  180. package/dist/components/notes-panel/index.d.ts +1 -1
  181. package/dist/components/notes-panel/index.d.ts.map +1 -1
  182. package/dist/components/notes-panel/index.js +1 -1
  183. package/dist/components/notes-panel/notes-panel.agent.d.ts.map +1 -1
  184. package/dist/components/notes-panel/notes-panel.d.ts +24 -5
  185. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -1
  186. package/dist/components/operator-hero/index.js +1 -1
  187. package/dist/components/optical-prescription/index.js +1 -1
  188. package/dist/components/patient-details/index.js +1 -1
  189. package/dist/components/patient-summary-card/index.js +1 -1
  190. package/dist/components/patient-table/index.js +1 -1
  191. package/dist/components/periodontal-diagnosis/index.js +1 -1
  192. package/dist/components/practice-profile-hero/index.js +1 -1
  193. package/dist/components/practice-results/index.js +1 -1
  194. package/dist/components/pregnancy-dating/index.js +1 -1
  195. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  196. package/dist/components/province-select/index.js +1 -1
  197. package/dist/components/qr-code/index.js +1 -1
  198. package/dist/components/qr-code/qr-encode.d.ts +14 -16
  199. package/dist/components/qr-code/qr-encode.d.ts.map +1 -1
  200. package/dist/components/radio/index.js +1 -1
  201. package/dist/components/radio-group/index.js +2 -2
  202. package/dist/components/radio-group/radio-group-context.d.ts +4 -1
  203. package/dist/components/radio-group/radio-group-context.d.ts.map +1 -1
  204. package/dist/components/radio-group/radio-group.agent.d.ts.map +1 -1
  205. package/dist/components/radio-group/radio-group.d.ts +13 -1
  206. package/dist/components/radio-group/radio-group.d.ts.map +1 -1
  207. package/dist/components/radio-group/radio.d.ts +24 -1
  208. package/dist/components/radio-group/radio.d.ts.map +1 -1
  209. package/dist/components/radiograph-panel/index.js +1 -1
  210. package/dist/components/rich-text-editor/index.js +1 -1
  211. package/dist/components/select/index.js +1 -1
  212. package/dist/components/select/select.agent.d.ts.map +1 -1
  213. package/dist/components/select/select.d.ts +33 -0
  214. package/dist/components/select/select.d.ts.map +1 -1
  215. package/dist/components/skeleton-scheme/index.js +1 -1
  216. package/dist/components/tabs/index.js +1 -1
  217. package/dist/components/tasks-panel/index.js +1 -1
  218. package/dist/components/timeline/index.js +1 -1
  219. package/dist/components/timeline/timeline.d.ts +2 -0
  220. package/dist/components/timeline/timeline.d.ts.map +1 -1
  221. package/dist/components/tooth-scheme/index.js +1 -1
  222. package/dist/components/unit-converter/index.js +1 -1
  223. package/dist/components/widget-picker/index.js +1 -1
  224. package/dist/host-compat.css +7 -1
  225. package/dist/i18n/locales/ar.d.ts +118 -0
  226. package/dist/i18n/locales/ar.d.ts.map +1 -1
  227. package/dist/i18n/locales/ar.js +123 -5
  228. package/dist/i18n/locales/ar.js.map +1 -1
  229. package/dist/i18n/locales/de.d.ts +128 -10
  230. package/dist/i18n/locales/de.d.ts.map +1 -1
  231. package/dist/i18n/locales/de.js +135 -15
  232. package/dist/i18n/locales/de.js.map +1 -1
  233. package/dist/i18n/locales/el.d.ts +118 -0
  234. package/dist/i18n/locales/el.d.ts.map +1 -1
  235. package/dist/i18n/locales/el.js +123 -5
  236. package/dist/i18n/locales/el.js.map +1 -1
  237. package/dist/i18n/locales/en.d.ts +118 -0
  238. package/dist/i18n/locales/en.d.ts.map +1 -1
  239. package/dist/i18n/locales/en.js +123 -5
  240. package/dist/i18n/locales/en.js.map +1 -1
  241. package/dist/i18n/locales/es.d.ts +118 -0
  242. package/dist/i18n/locales/es.d.ts.map +1 -1
  243. package/dist/i18n/locales/es.js +123 -5
  244. package/dist/i18n/locales/es.js.map +1 -1
  245. package/dist/i18n/locales/fr.d.ts +118 -0
  246. package/dist/i18n/locales/fr.d.ts.map +1 -1
  247. package/dist/i18n/locales/fr.js +122 -4
  248. package/dist/i18n/locales/fr.js.map +1 -1
  249. package/dist/i18n/locales/hi.d.ts +118 -0
  250. package/dist/i18n/locales/hi.d.ts.map +1 -1
  251. package/dist/i18n/locales/hi.js +123 -5
  252. package/dist/i18n/locales/hi.js.map +1 -1
  253. package/dist/i18n/locales/it.d.ts +128 -10
  254. package/dist/i18n/locales/it.d.ts.map +1 -1
  255. package/dist/i18n/locales/it.js +133 -15
  256. package/dist/i18n/locales/it.js.map +1 -1
  257. package/dist/i18n/locales/ja.d.ts +118 -0
  258. package/dist/i18n/locales/ja.d.ts.map +1 -1
  259. package/dist/i18n/locales/ja.js +123 -5
  260. package/dist/i18n/locales/ja.js.map +1 -1
  261. package/dist/i18n/locales/nl.d.ts +118 -0
  262. package/dist/i18n/locales/nl.d.ts.map +1 -1
  263. package/dist/i18n/locales/nl.js +123 -5
  264. package/dist/i18n/locales/nl.js.map +1 -1
  265. package/dist/i18n/locales/pl.d.ts +118 -0
  266. package/dist/i18n/locales/pl.d.ts.map +1 -1
  267. package/dist/i18n/locales/pl.js +123 -5
  268. package/dist/i18n/locales/pl.js.map +1 -1
  269. package/dist/i18n/locales/pt.d.ts +118 -0
  270. package/dist/i18n/locales/pt.d.ts.map +1 -1
  271. package/dist/i18n/locales/pt.js +123 -5
  272. package/dist/i18n/locales/pt.js.map +1 -1
  273. package/dist/i18n/locales/ro.d.ts +118 -0
  274. package/dist/i18n/locales/ro.d.ts.map +1 -1
  275. package/dist/i18n/locales/ro.js +122 -4
  276. package/dist/i18n/locales/ro.js.map +1 -1
  277. package/dist/i18n/locales/ru.d.ts +118 -0
  278. package/dist/i18n/locales/ru.d.ts.map +1 -1
  279. package/dist/i18n/locales/ru.js +123 -5
  280. package/dist/i18n/locales/ru.js.map +1 -1
  281. package/dist/i18n/locales/sq.d.ts +118 -0
  282. package/dist/i18n/locales/sq.d.ts.map +1 -1
  283. package/dist/i18n/locales/sq.js +123 -5
  284. package/dist/i18n/locales/sq.js.map +1 -1
  285. package/dist/i18n/locales/sv.d.ts +118 -0
  286. package/dist/i18n/locales/sv.d.ts.map +1 -1
  287. package/dist/i18n/locales/sv.js +123 -5
  288. package/dist/i18n/locales/sv.js.map +1 -1
  289. package/dist/i18n/locales/tr.d.ts +118 -0
  290. package/dist/i18n/locales/tr.d.ts.map +1 -1
  291. package/dist/i18n/locales/tr.js +123 -5
  292. package/dist/i18n/locales/tr.js.map +1 -1
  293. package/dist/i18n/locales/zh.d.ts +118 -0
  294. package/dist/i18n/locales/zh.d.ts.map +1 -1
  295. package/dist/i18n/locales/zh.js +123 -5
  296. package/dist/i18n/locales/zh.js.map +1 -1
  297. package/dist/index.js +131 -130
  298. package/dist/locales/ar.json +123 -5
  299. package/dist/locales/de.json +133 -15
  300. package/dist/locales/el.json +123 -5
  301. package/dist/locales/en.json +123 -5
  302. package/dist/locales/es.json +123 -5
  303. package/dist/locales/fr.json +122 -4
  304. package/dist/locales/hi.json +123 -5
  305. package/dist/locales/it.json +133 -15
  306. package/dist/locales/ja.json +123 -5
  307. package/dist/locales/nl.json +123 -5
  308. package/dist/locales/pl.json +123 -5
  309. package/dist/locales/pt.json +123 -5
  310. package/dist/locales/ro.json +122 -4
  311. package/dist/locales/ru.json +123 -5
  312. package/dist/locales/sq.json +123 -5
  313. package/dist/locales/sv.json +123 -5
  314. package/dist/locales/tr.json +123 -5
  315. package/dist/locales/zh.json +123 -5
  316. package/dist/patterns/alia-assistant/index.js +1 -1
  317. package/dist/patterns/anamnesis/index.js +1 -1
  318. package/dist/patterns/calendar/calendar-appointment-details.d.ts +145 -0
  319. package/dist/patterns/calendar/calendar-appointment-details.d.ts.map +1 -0
  320. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +32 -0
  321. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts.map +1 -0
  322. package/dist/patterns/calendar/calendar-editor-hydration.d.ts +59 -0
  323. package/dist/patterns/calendar/calendar-editor-hydration.d.ts.map +1 -0
  324. package/dist/patterns/calendar/calendar-notes-tool.d.ts +14 -0
  325. package/dist/patterns/calendar/calendar-notes-tool.d.ts.map +1 -0
  326. package/dist/patterns/calendar/calendar-patient-picker.d.ts +11 -0
  327. package/dist/patterns/calendar/calendar-patient-picker.d.ts.map +1 -0
  328. package/dist/patterns/calendar/calendar-series-scope-chooser.d.ts +18 -0
  329. package/dist/patterns/calendar/calendar-series-scope-chooser.d.ts.map +1 -0
  330. package/dist/patterns/calendar/calendar-workspace.d.ts +26 -1
  331. package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
  332. package/dist/patterns/calendar/calendar-workspace.model.d.ts +8 -5
  333. package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
  334. package/dist/patterns/calendar/calendar.data.d.ts +66 -1
  335. package/dist/patterns/calendar/calendar.data.d.ts.map +1 -1
  336. package/dist/patterns/calendar/calendar.host.d.ts +2 -0
  337. package/dist/patterns/calendar/calendar.host.d.ts.map +1 -1
  338. package/dist/patterns/calendar/calendar.journey.d.ts +42 -7
  339. package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
  340. package/dist/patterns/calendar/calendar.model.d.ts +54 -5
  341. package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
  342. package/dist/patterns/calendar/calendar.sheets.d.ts +68 -15
  343. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  344. package/dist/patterns/calendar/calendar.surface.d.ts +12 -2
  345. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  346. package/dist/patterns/calendar/calendar.types.d.ts +29 -1
  347. package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
  348. package/dist/patterns/calendar/index.d.ts +9 -6
  349. package/dist/patterns/calendar/index.d.ts.map +1 -1
  350. package/dist/patterns/calendar/index.js +15 -14
  351. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  352. package/dist/patterns/signature-request/channel-meta.d.ts +27 -0
  353. package/dist/patterns/signature-request/channel-meta.d.ts.map +1 -0
  354. package/dist/patterns/signature-request/index.d.ts +1 -1
  355. package/dist/patterns/signature-request/index.d.ts.map +1 -1
  356. package/dist/patterns/signature-request/index.js +1 -1
  357. package/dist/patterns/signature-request/load-status.d.ts +13 -0
  358. package/dist/patterns/signature-request/load-status.d.ts.map +1 -0
  359. package/dist/patterns/signature-request/person-grid.d.ts +32 -0
  360. package/dist/patterns/signature-request/person-grid.d.ts.map +1 -0
  361. package/dist/patterns/signature-request/required-documents.d.ts +127 -0
  362. package/dist/patterns/signature-request/required-documents.d.ts.map +1 -0
  363. package/dist/patterns/signature-request/signature-history.d.ts +57 -0
  364. package/dist/patterns/signature-request/signature-history.d.ts.map +1 -0
  365. package/dist/patterns/signature-request/signature-outcome.d.ts +29 -0
  366. package/dist/patterns/signature-request/signature-outcome.d.ts.map +1 -0
  367. package/dist/patterns/signature-request/signature-request.d.ts +390 -26
  368. package/dist/patterns/signature-request/signature-request.d.ts.map +1 -1
  369. package/dist/tokens.css +10 -2
  370. package/package.json +3 -1
  371. package/dist/_chunks/appointment-card-Dzr3GeVz.js.map +0 -1
  372. package/dist/_chunks/avatar-BNQNhoyL.js.map +0 -1
  373. package/dist/_chunks/calendar-CI9MINcR.js.map +0 -1
  374. package/dist/_chunks/calendar-event-card-66CEEWU6.js.map +0 -1
  375. package/dist/_chunks/calendar-workspace-a84AHQwj.js +0 -7506
  376. package/dist/_chunks/calendar-workspace-a84AHQwj.js.map +0 -1
  377. package/dist/_chunks/clinical-note-card-BBgFd2nB.js.map +0 -1
  378. package/dist/_chunks/color-picker-CU303VjY.js.map +0 -1
  379. package/dist/_chunks/combobox-D7_NLE2Z.js.map +0 -1
  380. package/dist/_chunks/dialog-UbKJCi1X.js.map +0 -1
  381. package/dist/_chunks/notes-panel-CTNpsByN.js +0 -353
  382. package/dist/_chunks/notes-panel-CTNpsByN.js.map +0 -1
  383. package/dist/_chunks/qr-code-CPkEs5mG.js +0 -574
  384. package/dist/_chunks/qr-code-CPkEs5mG.js.map +0 -1
  385. package/dist/_chunks/radio-TWf9Q-mp.js +0 -108
  386. package/dist/_chunks/radio-TWf9Q-mp.js.map +0 -1
  387. package/dist/_chunks/radio-group-rXDJADzW.js +0 -175
  388. package/dist/_chunks/radio-group-rXDJADzW.js.map +0 -1
  389. package/dist/_chunks/select-Bi8zril7.js +0 -471
  390. package/dist/_chunks/select-Bi8zril7.js.map +0 -1
  391. package/dist/_chunks/signature-request-C-IsbkPf.js +0 -417
  392. package/dist/_chunks/signature-request-C-IsbkPf.js.map +0 -1
  393. package/dist/_chunks/timeline-r-8IUoBS.js.map +0 -1
@@ -1,20 +1,20 @@
1
- import { jsx as t, jsxs as S } from "react/jsx-runtime";
2
- import { forwardRef as ke, useContext as Ke, useMemo as B, useState as oe, useRef as g, useEffect as I, useCallback as Oe } from "react";
3
- import * as _ from "@radix-ui/react-popover";
4
- import { R as Te, _ as c, P as $e } from "./index-4xgbg-sn.js";
5
- import { c as F } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Be } from "react-i18next";
7
- import { u as Ue, F as He } from "./form-field-context-B3APVHKx.js";
8
- import { c as Ge } from "./compose-refs-C0k0tdqF.js";
9
- import { n as U } from "./normalize-diacritics-BNGbFNlJ.js";
10
- import { g as Me } from "./group-options-BvKhQ3xb.js";
11
- import { u as Le } from "./use-controllable-state-BiY4xTzM.js";
12
- import { u as Qe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
13
- import { I as Xe, a as H, d as G, c as We } from "./input-surface-xyERuLU_.js";
14
- import { u as Je } from "./registry-DvAUVLHh.js";
15
- import { X as Ye } from "./x-B5YnXwCz.js";
16
- import { C as Ze } from "./check-DrFSN__t.js";
17
- const et = {
1
+ import { jsx as t, jsxs as R } from "react/jsx-runtime";
2
+ import { forwardRef as Ke, useContext as Oe, useMemo as U, useState as re, useRef as g, useEffect as F, useCallback as Te } from "react";
3
+ import * as E from "@radix-ui/react-popover";
4
+ import { R as $e, _ as u, P as Be } from "./index-4xgbg-sn.js";
5
+ import { c as V } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as Ue } from "react-i18next";
7
+ import { u as He, F as Ge } from "./form-field-context-B3APVHKx.js";
8
+ import { c as Me } from "./compose-refs-C0k0tdqF.js";
9
+ import { n as H } from "./normalize-diacritics-BNGbFNlJ.js";
10
+ import { g as Le } from "./group-options-BvKhQ3xb.js";
11
+ import { u as Xe } from "./use-controllable-state-BiY4xTzM.js";
12
+ import { u as We } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
13
+ import { I as Je, a as G, d as M, c as Ye } from "./input-surface-xyERuLU_.js";
14
+ import { u as Ze } from "./registry-DvAUVLHh.js";
15
+ import { X as Qe } from "./x-B5YnXwCz.js";
16
+ import { C as et } from "./check-DrFSN__t.js";
17
+ const tt = {
18
18
  id: "combobox",
19
19
  // Persisted single choice (value state + set_value) → select_single + set_value,
20
20
  // plus type-to-filter and open/close of the option list.
@@ -58,8 +58,8 @@ const et = {
58
58
  descriptionKey: "ui.agent.combobox.actions.setValue",
59
59
  description: "Set the selected value programmatically.",
60
60
  examples: [{ args: { value: "it" }, note: 'Select the "it" option.' }],
61
- invoke: (s, a) => {
62
- s.setValue(a.value);
61
+ invoke: (s, n) => {
62
+ s.setValue(n.value);
63
63
  }
64
64
  },
65
65
  apply_filter: {
@@ -76,8 +76,8 @@ const et = {
76
76
  idempotent: !0,
77
77
  descriptionKey: "ui.agent.combobox.actions.applyFilter",
78
78
  description: "Set the filter query for the option list.",
79
- invoke: (s, a) => {
80
- s.setQuery(a.query);
79
+ invoke: (s, n) => {
80
+ s.setQuery(n.query);
81
81
  }
82
82
  },
83
83
  clear_selection: {
@@ -121,7 +121,7 @@ const et = {
121
121
  description: "Each option emits its value as data-option-id."
122
122
  }
123
123
  }
124
- }, tt = F(
124
+ }, st = V(
125
125
  [
126
126
  "ds:peer ds:w-full ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
127
127
  "ds:outline-none ds:border-0",
@@ -139,26 +139,26 @@ const et = {
139
139
  size: "md"
140
140
  }
141
141
  }
142
- ), st = F(
142
+ ), ot = V(
143
143
  [
144
144
  "ds:group ds:relative ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:w-full",
145
- We
145
+ Ye
146
146
  ].join(" "),
147
147
  {
148
148
  variants: {
149
149
  size: {
150
- sm: `${H.sm} ${G.sm}`,
151
- md: `${H.md} ${G.md}`,
152
- lg: `${H.lg} ${G.lg}`
150
+ sm: `${G.sm} ${M.sm}`,
151
+ md: `${G.md} ${M.md}`,
152
+ lg: `${G.lg} ${M.lg}`
153
153
  },
154
- tone: Xe
154
+ tone: Je
155
155
  },
156
156
  defaultVariants: {
157
157
  size: "md",
158
158
  tone: "default"
159
159
  }
160
160
  }
161
- ), ot = F(
161
+ ), rt = V(
162
162
  [
163
163
  "ds:z-[var(--z-popover)] ds:overflow-hidden ds:w-[var(--radix-popover-trigger-width)]",
164
164
  "ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
@@ -170,7 +170,7 @@ const et = {
170
170
  "ds:data-[side=top]:slide-in-from-bottom-2",
171
171
  "ds:motion-reduce:animate-none"
172
172
  ].join(" ")
173
- ), ne = F(
173
+ ), ie = V(
174
174
  [
175
175
  "ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-[var(--spacing-sm)]",
176
176
  "ds:rounded-[var(--radius-sm)]",
@@ -192,211 +192,212 @@ const et = {
192
192
  size: "md"
193
193
  }
194
194
  }
195
- ), nt = [
195
+ ), it = [
196
196
  "ds:ps-3 ds:pe-3 ds:py-1.5",
197
197
  "type-eyebrow ds:text-muted-foreground"
198
- ].join(" "), rt = "ds:max-h-[18rem] ds:overflow-y-auto ds:p-[var(--spacing-xs)]", at = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", it = {
198
+ ].join(" "), at = "ds:max-h-[18rem] ds:overflow-y-auto ds:p-[var(--spacing-xs)]", nt = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", dt = {
199
199
  sm: "ds:size-3.5",
200
200
  md: "ds:size-4",
201
201
  lg: "ds:size-5"
202
202
  };
203
- function dt({
203
+ function lt({
204
204
  search: s,
205
- label: a,
206
- iconClass: E,
207
- size: V,
208
- onSelect: j
205
+ label: n,
206
+ iconClass: C,
207
+ size: j,
208
+ onSelect: A
209
209
  }) {
210
- return $e((q) => q.filtered.count) > 0 ? null : /* @__PURE__ */ S(
211
- c.Item,
210
+ return Be((q) => q.filtered.count) > 0 ? null : /* @__PURE__ */ R(
211
+ u.Item,
212
212
  {
213
213
  value: `__combobox-create__${s}`,
214
214
  keywords: [],
215
215
  forceMount: !0,
216
- onSelect: () => j(s),
217
- className: ne({ size: V }),
216
+ onSelect: () => A(s),
217
+ className: ie({ size: j }),
218
218
  children: [
219
219
  /* @__PURE__ */ t(
220
220
  "span",
221
221
  {
222
222
  "aria-hidden": "true",
223
- className: `ds:inline-flex ds:items-center ds:justify-center ${E}`
223
+ className: `ds:inline-flex ds:items-center ds:justify-center ${C}`
224
224
  }
225
225
  ),
226
- /* @__PURE__ */ t("span", { className: "ds:flex-1 ds:truncate", children: a })
226
+ /* @__PURE__ */ t("span", { className: "ds:flex-1 ds:truncate", children: n })
227
227
  ]
228
228
  }
229
229
  );
230
230
  }
231
- const re = ke(
231
+ const ae = Ke(
232
232
  function({
233
- options: a,
234
- value: E,
235
- defaultValue: V,
236
- onValueChange: j,
237
- placeholder: M,
233
+ options: n,
234
+ value: C,
235
+ defaultValue: j,
236
+ onValueChange: A,
237
+ placeholder: L,
238
238
  clearable: q = !1,
239
- disabled: ae,
240
- readOnly: ie,
241
- required: de,
242
- name: le,
243
- id: A,
244
- size: v = "md",
245
- tone: ce = "default",
246
- filter: D,
247
- allowCreate: ue = !1,
248
- onCreate: P,
249
- open: L,
250
- onOpenChange: u,
251
- emptyMessage: me,
252
- className: pe,
253
- "aria-label": Q,
254
- "aria-invalid": fe,
255
- "aria-describedby": be,
239
+ disabled: ne,
240
+ readOnly: de,
241
+ required: le,
242
+ name: ce,
243
+ id: D,
244
+ size: x = "md",
245
+ tone: ue = "default",
246
+ filter: P,
247
+ allowCreate: me = !1,
248
+ onCreate: k,
249
+ open: X,
250
+ onOpenChange: m,
251
+ onQueryChange: r,
252
+ emptyMessage: pe,
253
+ className: fe,
254
+ "aria-label": W,
255
+ "aria-invalid": be,
256
+ "aria-describedby": ve,
256
257
  autoComplete: he
257
258
  }, ge) {
258
- const { t: y } = Be(), b = Ue(), x = Ke(He) !== null, [ve, N] = Le({
259
- value: E,
260
- defaultValue: V ?? "",
261
- onChange: j
262
- }), m = ve ?? "", k = B(
263
- () => a.find((e) => e.value === m),
264
- [a, m]
265
- ), C = (k == null ? void 0 : k.label) ?? "", [p, i] = oe(C), [ye, X] = oe(!1), z = L !== void 0, d = z ? L : ye, R = g(!1), w = g(null), W = g(null);
266
- Qe(() => {
259
+ const { t: y } = Ue(), v = He(), S = Oe(Ge) !== null, [xe, w] = Xe({
260
+ value: C,
261
+ defaultValue: j ?? "",
262
+ onChange: A
263
+ }), p = xe ?? "", K = U(
264
+ () => n.find((e) => e.value === p),
265
+ [n, p]
266
+ ), N = (K == null ? void 0 : K.label) ?? "", [f, d] = re(N), [ye, J] = re(!1), I = X !== void 0, l = I ? X : ye, z = g(!1), _ = g(null), Y = g(null);
267
+ We(() => {
267
268
  var e;
268
- (e = w.current) == null || e.setAttribute("aria-expanded", String(d));
269
- }), I(() => {
270
- d || i(C);
271
- }, [C, d]);
272
- const xe = A ?? (x ? b.id : void 0), K = (x ? b.disabled : !1) || !!ae, h = !!ie, Ce = (x ? b.required : !1) || !!de, J = x ? b.invalid : !!fe, Se = J ? "error" : ce, Ne = x && b.describedBy ? b.describedBy : be, Y = M ?? y("inputs.combobox.placeholder", "Search…"), ze = B(
273
- () => (e, o, r) => {
274
- if (R.current) return 1;
275
- const f = U(e), n = U(o), $ = r == null ? void 0 : r.map(U);
276
- return D ? D(f, n) : Te(
277
- f,
278
- n,
279
- $
269
+ (e = _.current) == null || e.setAttribute("aria-expanded", String(l));
270
+ }), F(() => {
271
+ l || d(N);
272
+ }, [N, l]);
273
+ const Se = D ?? (S ? v.id : void 0), O = (S ? v.disabled : !1) || !!ne, h = !!de, Ne = (S ? v.required : !1) || !!le, Z = S ? v.invalid : !!be, ze = Z ? "error" : ue, Re = S && v.describedBy ? v.describedBy : ve, Q = L ?? y("inputs.combobox.placeholder", "Search…"), we = U(
274
+ () => (e, o, a) => {
275
+ if (z.current) return 1;
276
+ const b = H(e), i = H(o), B = a == null ? void 0 : a.map(H);
277
+ return P ? P(b, i) : $e(
278
+ b,
279
+ i,
280
+ B
280
281
  );
281
282
  },
282
- [D]
283
- ), Z = (e) => {
284
- N(e);
285
- }, l = (e) => {
286
- z || X(e), u == null || u(e);
287
- }, Re = (e) => {
288
- const o = a.find((r) => r.value === e);
289
- Z(e), i((o == null ? void 0 : o.label) ?? ""), l(!1);
290
- }, we = (e) => {
291
- P == null || P(e), l(!1);
283
+ [P]
284
+ ), ee = (e) => {
285
+ w(e);
286
+ }, c = (e) => {
287
+ I || J(e), m == null || m(e);
292
288
  }, Ie = (e) => {
293
- h || (i(e), !d && e.length > 0 && !R.current && l(!0));
294
- }, _e = () => {
295
- !K && !h && l(!0);
296
- }, Fe = () => {
297
- R.current = !0;
289
+ const o = n.find((a) => a.value === e);
290
+ ee(e), d((o == null ? void 0 : o.label) ?? ""), c(!1);
291
+ }, _e = (e) => {
292
+ k == null || k(e), c(!1);
293
+ }, Fe = (e) => {
294
+ h || (d(e), z.current || r == null || r(e), !l && e.length > 0 && !z.current && c(!0));
298
295
  }, Ee = () => {
296
+ !O && !h && c(!0);
297
+ }, Ve = () => {
298
+ z.current = !0;
299
+ }, Ce = () => {
299
300
  var o;
300
- if (R.current = !1, h) return;
301
- const e = ((o = w.current) == null ? void 0 : o.value) ?? "";
302
- i(e), e.length > 0 && l(!0);
303
- }, Ve = (e) => {
304
- e.nativeEvent.isComposing || e.key === "Escape" && d && (e.preventDefault(), l(!1), i(C));
301
+ if (z.current = !1, h) return;
302
+ const e = ((o = _.current) == null ? void 0 : o.value) ?? "";
303
+ d(e), r == null || r(e), e.length > 0 && c(!0);
305
304
  }, je = (e) => {
305
+ e.nativeEvent.isComposing || e.key === "Escape" && l && (e.preventDefault(), c(!1), d(N));
306
+ }, Ae = (e) => {
306
307
  var o;
307
- e.preventDefault(), e.stopPropagation(), Z(""), i(""), l(!0), (o = w.current) == null || o.focus();
308
+ e.preventDefault(), e.stopPropagation(), ee(""), d(""), r == null || r(""), c(!0), (o = _.current) == null || o.focus();
308
309
  }, qe = (e) => {
309
- h && e || (l(e), e || i(C));
310
- }, ee = g(m);
311
- I(() => {
312
- ee.current = m;
313
- }, [m]);
314
- const te = g(p);
315
- I(() => {
310
+ h && e || (c(e), e || d(N));
311
+ }, te = g(p);
312
+ F(() => {
316
313
  te.current = p;
317
314
  }, [p]);
318
- const se = g(d);
319
- I(() => {
320
- se.current = d;
321
- }, [d]);
322
- const O = Oe(
315
+ const se = g(f);
316
+ F(() => {
317
+ se.current = f;
318
+ }, [f]);
319
+ const oe = g(l);
320
+ F(() => {
321
+ oe.current = l;
322
+ }, [l]);
323
+ const T = Te(
323
324
  (e) => {
324
- z || X(e), u == null || u(e);
325
+ I || J(e), m == null || m(e);
325
326
  },
326
- [z, u]
327
- ), Ae = B(
327
+ [I, m]
328
+ ), De = U(
328
329
  () => ({
329
- getValue: () => ee.current || null,
330
- getQuery: () => te.current,
331
- getIsOpen: () => se.current,
330
+ getValue: () => te.current || null,
331
+ getQuery: () => se.current,
332
+ getIsOpen: () => oe.current,
332
333
  setValue: (e) => {
333
334
  const o = e ?? "";
334
- N(o);
335
- const r = a.find((f) => f.value === o);
336
- i((r == null ? void 0 : r.label) ?? "");
335
+ w(o);
336
+ const a = n.find((b) => b.value === o);
337
+ d((a == null ? void 0 : a.label) ?? "");
337
338
  },
338
339
  setQuery: (e) => {
339
- i(e);
340
+ d(e), r == null || r(e);
340
341
  },
341
342
  clear: () => {
342
- N(""), i("");
343
+ w(""), d(""), r == null || r("");
343
344
  },
344
- open: () => O(!0),
345
- close: () => O(!1)
345
+ open: () => T(!0),
346
+ close: () => T(!1)
346
347
  }),
347
- [N, a, O]
348
+ [w, n, T, r]
348
349
  );
349
- Je(et, Ae, A);
350
- const De = q && !!m && !K && !h, Pe = Me(a), T = it[v];
351
- return /* @__PURE__ */ t(_.Root, { open: d, onOpenChange: qe, children: /* @__PURE__ */ S(
352
- c,
350
+ Ze(tt, De, D);
351
+ const Pe = q && !!p && !O && !h, ke = Le(n), $ = dt[x];
352
+ return /* @__PURE__ */ t(E.Root, { open: l, onOpenChange: qe, children: /* @__PURE__ */ R(
353
+ u,
353
354
  {
354
- filter: ze,
355
+ filter: we,
355
356
  shouldFilter: !0,
356
357
  loop: !0,
357
- label: Q ?? Y,
358
+ label: W ?? Q,
358
359
  className: "ds:w-full",
359
360
  children: [
360
- /* @__PURE__ */ t(_.Anchor, { asChild: !0, children: /* @__PURE__ */ S(
361
+ /* @__PURE__ */ t(E.Anchor, { asChild: !0, children: /* @__PURE__ */ R(
361
362
  "div",
362
363
  {
363
- ref: W,
364
- className: st({
365
- size: v,
366
- tone: Se,
367
- className: pe
364
+ ref: Y,
365
+ className: ot({
366
+ size: x,
367
+ tone: ze,
368
+ className: fe
368
369
  }),
369
370
  "data-component": "combobox",
370
- "data-component-id": A,
371
+ "data-component-id": D,
371
372
  children: [
372
373
  /* @__PURE__ */ t(
373
- c.Input,
374
+ u.Input,
374
375
  {
375
- ref: Ge(ge, w),
376
- value: p,
377
- onValueChange: Ie,
378
- id: xe,
379
- name: le,
380
- placeholder: Y,
381
- disabled: K,
376
+ ref: Me(ge, _),
377
+ value: f,
378
+ onValueChange: Fe,
379
+ id: Se,
380
+ name: ce,
381
+ placeholder: Q,
382
+ disabled: O,
382
383
  readOnly: h,
383
- required: Ce,
384
+ required: Ne,
384
385
  autoComplete: he,
385
- "aria-describedby": Ne,
386
- "aria-invalid": J || void 0,
387
- onFocus: _e,
388
- onKeyDown: Ve,
389
- onCompositionStart: Fe,
390
- onCompositionEnd: Ee,
391
- className: tt({ size: v })
386
+ "aria-describedby": Re,
387
+ "aria-invalid": Z || void 0,
388
+ onFocus: Ee,
389
+ onKeyDown: je,
390
+ onCompositionStart: Ve,
391
+ onCompositionEnd: Ce,
392
+ className: st({ size: x })
392
393
  }
393
394
  ),
394
- De ? /* @__PURE__ */ t(
395
+ Pe ? /* @__PURE__ */ t(
395
396
  "button",
396
397
  {
397
398
  type: "button",
398
399
  "aria-label": y("inputs.combobox.clear", "Clear selection"),
399
- onClick: je,
400
+ onClick: Ae,
400
401
  onPointerDown: (e) => e.stopPropagation(),
401
402
  className: [
402
403
  "ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)]",
@@ -406,52 +407,52 @@ const re = ke(
406
407
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
407
408
  "ds:size-4"
408
409
  ].join(" "),
409
- children: /* @__PURE__ */ t(Ye, { "aria-hidden": "true", className: "ds:size-3.5" })
410
+ children: /* @__PURE__ */ t(Qe, { "aria-hidden": "true", className: "ds:size-3.5" })
410
411
  }
411
412
  ) : null
412
413
  ]
413
414
  }
414
415
  ) }),
415
- /* @__PURE__ */ t(_.Portal, { forceMount: !0, children: /* @__PURE__ */ t(
416
- _.Content,
416
+ /* @__PURE__ */ t(E.Portal, { forceMount: !0, children: /* @__PURE__ */ t(
417
+ E.Content,
417
418
  {
418
419
  forceMount: !0,
419
- hidden: !d,
420
- "aria-label": Q ?? y("inputs.combobox.popupLabel", "Options"),
420
+ hidden: !l,
421
+ "aria-label": W ?? y("inputs.combobox.popupLabel", "Options"),
421
422
  onOpenAutoFocus: (e) => e.preventDefault(),
422
423
  onCloseAutoFocus: (e) => e.preventDefault(),
423
424
  onInteractOutside: (e) => {
424
- var r;
425
+ var a;
425
426
  const o = e.target;
426
- o && ((r = W.current) != null && r.contains(o)) && e.preventDefault();
427
+ o && ((a = Y.current) != null && a.contains(o)) && e.preventDefault();
427
428
  },
428
429
  sideOffset: 4,
429
430
  align: "start",
430
- className: ot(),
431
- children: /* @__PURE__ */ S(c.List, { className: rt, children: [
432
- /* @__PURE__ */ t(c.Empty, { className: at, children: me ?? y("inputs.combobox.empty", "No results found") }),
433
- Pe.map(({ group: e, items: o }, r) => {
434
- const f = o.map((n) => {
435
- const $ = n.value === m;
436
- return /* @__PURE__ */ S(
437
- c.Item,
431
+ className: rt(),
432
+ children: /* @__PURE__ */ R(u.List, { className: at, children: [
433
+ /* @__PURE__ */ t(u.Empty, { className: nt, children: /* @__PURE__ */ t("div", { role: "option", "aria-selected": !1, "aria-disabled": "true", children: pe ?? y("inputs.combobox.empty", "No results found") }) }),
434
+ ke.map(({ group: e, items: o }, a) => {
435
+ const b = o.map((i) => {
436
+ const B = i.value === p;
437
+ return /* @__PURE__ */ R(
438
+ u.Item,
438
439
  {
439
- value: n.value,
440
- "data-option-id": n.value,
441
- keywords: [n.label],
442
- disabled: n.disabled,
443
- onSelect: Re,
444
- className: ne({ size: v }),
440
+ value: i.value,
441
+ "data-option-id": i.value,
442
+ keywords: [i.label],
443
+ disabled: i.disabled,
444
+ onSelect: Ie,
445
+ className: ie({ size: x }),
445
446
  children: [
446
447
  /* @__PURE__ */ t(
447
448
  "span",
448
449
  {
449
450
  "aria-hidden": "true",
450
- className: `ds:inline-flex ds:items-center ds:justify-center ${T}`,
451
- children: $ ? /* @__PURE__ */ t(Ze, { className: T }) : null
451
+ className: `ds:inline-flex ds:items-center ds:justify-center ${$}`,
452
+ children: B ? /* @__PURE__ */ t(et, { className: $ }) : null
452
453
  }
453
454
  ),
454
- n.startAdornment ? (
455
+ i.startAdornment ? (
455
456
  // Decorative by contract — the option's accessible
456
457
  // name comes from its label. Hide so a text-bearing
457
458
  // adornment can't leak into the computed name.
@@ -460,44 +461,44 @@ const re = ke(
460
461
  {
461
462
  "aria-hidden": "true",
462
463
  className: "ds:inline-flex ds:items-center ds:shrink-0",
463
- children: n.startAdornment
464
+ children: i.startAdornment
464
465
  }
465
466
  )
466
467
  ) : null,
467
- /* @__PURE__ */ t("span", { className: "ds:flex-1 ds:truncate", children: n.label }),
468
- n.description ? /* @__PURE__ */ t("span", { className: "type-meta ds:text-muted-foreground", children: n.description }) : null,
469
- n.endContent ? (
468
+ /* @__PURE__ */ t("span", { className: "ds:flex-1 ds:truncate", children: i.label }),
469
+ i.description ? /* @__PURE__ */ t("span", { className: "type-meta ds:text-muted-foreground", children: i.description }) : null,
470
+ i.endContent ? (
470
471
  // Deliberately NOT aria-hidden — unlike
471
472
  // `startAdornment`, this slot carries meaning
472
473
  // (a price, a count) and must reach the
473
474
  // option's accessible name. `ms-auto` pins it
474
475
  // to the inline-end and flips under RTL.
475
- /* @__PURE__ */ t("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: n.endContent })
476
+ /* @__PURE__ */ t("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: i.endContent })
476
477
  ) : null
477
478
  ]
478
479
  },
479
- n.value
480
+ i.value
480
481
  );
481
482
  });
482
483
  return e ? /* @__PURE__ */ t(
483
- c.Group,
484
+ u.Group,
484
485
  {
485
- heading: /* @__PURE__ */ t("span", { className: nt, children: e }),
486
- children: f
486
+ heading: /* @__PURE__ */ t("span", { className: it, children: e }),
487
+ children: b
487
488
  },
488
489
  `group-${e}`
489
- ) : /* @__PURE__ */ t(c.Group, { children: f }, `group-${r}`);
490
+ ) : /* @__PURE__ */ t(u.Group, { children: b }, `group-${a}`);
490
491
  }),
491
- ue && p.length > 0 ? /* @__PURE__ */ t(
492
- dt,
492
+ me && f.length > 0 ? /* @__PURE__ */ t(
493
+ lt,
493
494
  {
494
- search: p,
495
+ search: f,
495
496
  label: y("inputs.combobox.create", 'Create "{{value}}"', {
496
- value: p
497
+ value: f
497
498
  }),
498
- iconClass: T,
499
- size: v,
500
- onSelect: we
499
+ iconClass: $,
500
+ size: x,
501
+ onSelect: _e
501
502
  }
502
503
  ) : null
503
504
  ] })
@@ -508,14 +509,14 @@ const re = ke(
508
509
  ) });
509
510
  }
510
511
  );
511
- re.displayName = "Combobox";
512
- const zt = re;
512
+ ae.displayName = "Combobox";
513
+ const wt = ae;
513
514
  export {
514
- zt as C,
515
- ot as a,
516
- tt as b,
517
- et as c,
518
- ne as d,
519
- st as e
515
+ wt as C,
516
+ rt as a,
517
+ st as b,
518
+ tt as c,
519
+ ie as d,
520
+ ot as e
520
521
  };
521
- //# sourceMappingURL=combobox-D7_NLE2Z.js.map
522
+ //# sourceMappingURL=combobox-DnSdYssy.js.map