@alfadocs/ui-kit-debug 1.56.0 → 1.57.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 (357) hide show
  1. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
  5. package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
  6. package/dist/_chunks/alia-sidebar-BBKBJCv6.js.map +1 -0
  7. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-CCQ62mMN.js} +4 -4
  8. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js.map → anamnesis-summary-rows-CCQ62mMN.js.map} +1 -1
  9. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  10. package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
  11. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  12. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
  13. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CII3SDmR.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js.map → balance-badge-cell-CII3SDmR.js.map} +1 -1
  15. package/dist/_chunks/{booking-WyNGKPE2.js → booking-81WnKDsH.js} +3 -3
  16. package/dist/_chunks/{booking-WyNGKPE2.js.map → booking-81WnKDsH.js.map} +1 -1
  17. package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
  18. package/dist/_chunks/{calculator-dialog-pCPWta7h.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
  19. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-D5-k_9zE.js} +13 -13
  20. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js.map → calendar-workspace-D5-k_9zE.js.map} +1 -1
  21. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  22. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
  23. package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
  24. package/dist/_chunks/{care-plan-header-DUX_SVvF.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
  25. package/dist/_chunks/{chart-HsF1KHbx.js → chart-DQ5GxqgT.js} +347 -350
  26. package/dist/_chunks/chart-DQ5GxqgT.js.map +1 -0
  27. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  28. package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
  29. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  30. package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
  31. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  32. package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
  33. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
  34. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
  35. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  36. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
  37. package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-fAMTeAjM.js} +2 -2
  38. package/dist/_chunks/{data-table-D8fuhqO1.js.map → data-table-fAMTeAjM.js.map} +1 -1
  39. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  40. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
  41. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  42. package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
  43. package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
  44. package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
  45. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  46. package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
  47. package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
  48. package/dist/_chunks/{dialog-CUzbnKLw.js.map → dialog-Dn-iQ0Jp.js.map} +1 -1
  49. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  50. package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
  51. package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
  52. package/dist/_chunks/{due-date-calculator-CSjklbyw.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
  53. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  54. package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
  55. package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-CFsL1KVt.js} +3 -3
  56. package/dist/_chunks/{file-manager-Cc_uO8r2.js.map → file-manager-CFsL1KVt.js.map} +1 -1
  57. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
  58. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
  59. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  60. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
  61. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  62. package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
  63. package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-BEeOThkW.js} +2 -2
  64. package/dist/_chunks/{heatmap-Gf9r7Tn1.js.map → heatmap-BEeOThkW.js.map} +1 -1
  65. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-BUoYGo6f.js} +2 -2
  66. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js.map → help-me-write-templates-BUoYGo6f.js.map} +1 -1
  67. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  68. package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
  69. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
  70. package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-C86lQTIA.js.map} +1 -1
  71. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  72. package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
  73. package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
  74. package/dist/_chunks/{kit-extensions-Byfxy6sy.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
  75. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-CxW_oLa5.js} +2 -2
  76. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js.map → link-cell-renderer-CxW_oLa5.js.map} +1 -1
  77. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  78. package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
  79. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  80. package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
  81. package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
  82. package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js.map +1 -0
  83. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
  84. package/dist/_chunks/message-tray-QKQutwxj.js.map +1 -0
  85. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  86. package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
  87. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  88. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
  89. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  90. package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
  91. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  92. package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
  93. package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-Cm4pttpl.js} +4 -4
  94. package/dist/_chunks/{notes-panel-DceRhthG.js.map → notes-panel-Cm4pttpl.js.map} +1 -1
  95. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
  96. package/dist/_chunks/notification-tray-C5VtbGjd.js.map +1 -0
  97. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
  98. package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-99kEdtc5.js.map} +1 -1
  99. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
  100. package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-DkxY13T6.js.map} +1 -1
  101. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-opdyfeW2.js} +4 -4
  102. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js.map → patient-summary-card-opdyfeW2.js.map} +1 -1
  103. package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
  104. package/dist/_chunks/{payment-request-card-CwDpwXUC.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
  105. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  106. package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
  107. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  108. package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
  109. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  110. package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
  111. package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-CfRkjzsI.js} +2 -2
  112. package/dist/_chunks/{practice-results-Dhbo-fc_.js.map → practice-results-CfRkjzsI.js.map} +1 -1
  113. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
  114. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
  115. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
  116. package/dist/_chunks/product-hub-panel-DlVRK7Ue.js.map +1 -0
  117. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  118. package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
  119. package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-BctevbuY.js} +2 -2
  120. package/dist/_chunks/{public-header.agent-pr2hyiND.js.map → public-header.agent-BctevbuY.js.map} +1 -1
  121. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  122. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
  123. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
  124. package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-BlTzYywa.js.map} +1 -1
  125. package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
  126. package/dist/_chunks/rich-text-editor-DTnNZ4Ff.js.map +1 -0
  127. package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-8qsiMoUI.js} +2 -2
  128. package/dist/_chunks/{sheet-C7SwIxwB.js.map → sheet-8qsiMoUI.js.map} +1 -1
  129. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  130. package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
  131. package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-DRuYAG5I.js} +2 -2
  132. package/dist/_chunks/{signature-request-DhbpB9N9.js.map → signature-request-DRuYAG5I.js.map} +1 -1
  133. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
  134. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-AhMsNW1r.js.map} +1 -1
  135. package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-NkcopDna.js} +3 -3
  136. package/dist/_chunks/{task-editor-ByyRu29Y.js.map → task-editor-NkcopDna.js.map} +1 -1
  137. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
  138. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js.map → use-appointment-details-read-CfFQNOF_.js.map} +1 -1
  139. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
  140. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-BKbgb7FM.js.map} +1 -1
  141. package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-rBA7MR5P.js} +2 -2
  142. package/dist/_chunks/{widget-picker-DXYBMTfe.js.map → widget-picker-rBA7MR5P.js.map} +1 -1
  143. package/dist/agent-catalog.json +2 -2
  144. package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
  145. package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -1
  146. package/dist/components/ai-credits-notice/index.js +1 -1
  147. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  148. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
  149. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  150. package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
  151. package/dist/components/ai-permission-notice/index.js +1 -1
  152. package/dist/components/appointment-details-panel/index.js +1 -1
  153. package/dist/components/appointment-peek/index.js +1 -1
  154. package/dist/components/appointment-timeline/index.js +1 -1
  155. package/dist/components/booking/index.js +1 -1
  156. package/dist/components/calculator-dialog/index.js +1 -1
  157. package/dist/components/care-plan-card/index.js +1 -1
  158. package/dist/components/care-plan-header/index.js +1 -1
  159. package/dist/components/chart/chart.d.ts +5 -5
  160. package/dist/components/chart/chart.d.ts.map +1 -1
  161. package/dist/components/chart/index.js +1 -1
  162. package/dist/components/clinical-note-card/index.js +1 -1
  163. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  164. package/dist/components/color-picker/index.js +1 -1
  165. package/dist/components/contact-card/index.js +1 -1
  166. package/dist/components/contact-profile-card/index.js +1 -1
  167. package/dist/components/cycle-calculator/index.js +1 -1
  168. package/dist/components/data-table/index.js +2 -2
  169. package/dist/components/data-table-tabs/index.js +1 -1
  170. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  171. package/dist/components/date-picker/index.js +1 -1
  172. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  173. package/dist/components/date-range-picker/index.js +1 -1
  174. package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
  175. package/dist/components/date-time-picker/index.js +1 -1
  176. package/dist/components/dialog/index.js +1 -1
  177. package/dist/components/document-preview/index.js +1 -1
  178. package/dist/components/due-date-calculator/index.js +1 -1
  179. package/dist/components/entity-summary/index.js +1 -1
  180. package/dist/components/file-manager/index.js +1 -1
  181. package/dist/components/gestational-age-calculator/index.js +1 -1
  182. package/dist/components/hcg-doubling/index.js +1 -1
  183. package/dist/components/header-settings/index.js +1 -1
  184. package/dist/components/heatmap/index.js +1 -1
  185. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  186. package/dist/components/hover-card/index.js +1 -1
  187. package/dist/components/icon-picker/index.js +1 -1
  188. package/dist/components/info-tip/index.js +1 -1
  189. package/dist/components/link/index.js +1 -1
  190. package/dist/components/link/link.d.ts +5 -3
  191. package/dist/components/link/link.d.ts.map +1 -1
  192. package/dist/components/locale-picker/index.js +1 -1
  193. package/dist/components/message-tray/index.js +1 -1
  194. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  195. package/dist/components/nav-grid/index.js +1 -1
  196. package/dist/components/note-timeline/index.js +1 -1
  197. package/dist/components/notes-panel/index.js +1 -1
  198. package/dist/components/notification-tray/index.js +1 -1
  199. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  200. package/dist/components/patient-details/index.js +1 -1
  201. package/dist/components/patient-summary-card/index.js +1 -1
  202. package/dist/components/patient-table/index.js +1 -1
  203. package/dist/components/payment-card/index.js +1 -1
  204. package/dist/components/pdf-viewer/index.js +1 -1
  205. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  206. package/dist/components/phone-input/index.js +1 -1
  207. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  208. package/dist/components/popover/index.js +1 -1
  209. package/dist/components/popover/popover.d.ts +1 -1
  210. package/dist/components/popover/popover.d.ts.map +1 -1
  211. package/dist/components/practice-results/index.js +1 -1
  212. package/dist/components/pregnancy-dating/index.js +1 -1
  213. package/dist/components/product-hub-tray/index.js +1 -1
  214. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  215. package/dist/components/public-footer/index.js +1 -1
  216. package/dist/components/public-header/index.js +1 -1
  217. package/dist/components/radiograph-panel/index.js +1 -1
  218. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  219. package/dist/components/rich-text-editor/index.js +2 -2
  220. package/dist/components/sheet/index.js +1 -1
  221. package/dist/components/sign-document/index.js +1 -1
  222. package/dist/components/task-editor/index.js +1 -1
  223. package/dist/components/voice-control-panel/index.js +1 -1
  224. package/dist/components/widget-picker/index.js +1 -1
  225. package/dist/i18n/locales/ar.d.ts +14 -0
  226. package/dist/i18n/locales/ar.d.ts.map +1 -1
  227. package/dist/i18n/locales/ar.js +15 -1
  228. package/dist/i18n/locales/ar.js.map +1 -1
  229. package/dist/i18n/locales/de.d.ts +14 -0
  230. package/dist/i18n/locales/de.d.ts.map +1 -1
  231. package/dist/i18n/locales/de.js +15 -1
  232. package/dist/i18n/locales/de.js.map +1 -1
  233. package/dist/i18n/locales/el.d.ts +14 -0
  234. package/dist/i18n/locales/el.d.ts.map +1 -1
  235. package/dist/i18n/locales/el.js +15 -1
  236. package/dist/i18n/locales/el.js.map +1 -1
  237. package/dist/i18n/locales/en.d.ts +14 -0
  238. package/dist/i18n/locales/en.d.ts.map +1 -1
  239. package/dist/i18n/locales/en.js +15 -1
  240. package/dist/i18n/locales/en.js.map +1 -1
  241. package/dist/i18n/locales/es.d.ts +14 -0
  242. package/dist/i18n/locales/es.d.ts.map +1 -1
  243. package/dist/i18n/locales/es.js +15 -1
  244. package/dist/i18n/locales/es.js.map +1 -1
  245. package/dist/i18n/locales/fr.d.ts +14 -0
  246. package/dist/i18n/locales/fr.d.ts.map +1 -1
  247. package/dist/i18n/locales/fr.js +15 -1
  248. package/dist/i18n/locales/fr.js.map +1 -1
  249. package/dist/i18n/locales/hi.d.ts +14 -0
  250. package/dist/i18n/locales/hi.d.ts.map +1 -1
  251. package/dist/i18n/locales/hi.js +15 -1
  252. package/dist/i18n/locales/hi.js.map +1 -1
  253. package/dist/i18n/locales/it.d.ts +14 -0
  254. package/dist/i18n/locales/it.d.ts.map +1 -1
  255. package/dist/i18n/locales/it.js +15 -1
  256. package/dist/i18n/locales/it.js.map +1 -1
  257. package/dist/i18n/locales/ja.d.ts +14 -0
  258. package/dist/i18n/locales/ja.d.ts.map +1 -1
  259. package/dist/i18n/locales/ja.js +15 -1
  260. package/dist/i18n/locales/ja.js.map +1 -1
  261. package/dist/i18n/locales/nl.d.ts +14 -0
  262. package/dist/i18n/locales/nl.d.ts.map +1 -1
  263. package/dist/i18n/locales/nl.js +15 -1
  264. package/dist/i18n/locales/nl.js.map +1 -1
  265. package/dist/i18n/locales/pl.d.ts +14 -0
  266. package/dist/i18n/locales/pl.d.ts.map +1 -1
  267. package/dist/i18n/locales/pl.js +15 -1
  268. package/dist/i18n/locales/pl.js.map +1 -1
  269. package/dist/i18n/locales/pt.d.ts +14 -0
  270. package/dist/i18n/locales/pt.d.ts.map +1 -1
  271. package/dist/i18n/locales/pt.js +15 -1
  272. package/dist/i18n/locales/pt.js.map +1 -1
  273. package/dist/i18n/locales/ro.d.ts +14 -0
  274. package/dist/i18n/locales/ro.d.ts.map +1 -1
  275. package/dist/i18n/locales/ro.js +15 -1
  276. package/dist/i18n/locales/ro.js.map +1 -1
  277. package/dist/i18n/locales/ru.d.ts +14 -0
  278. package/dist/i18n/locales/ru.d.ts.map +1 -1
  279. package/dist/i18n/locales/ru.js +15 -1
  280. package/dist/i18n/locales/ru.js.map +1 -1
  281. package/dist/i18n/locales/sq.d.ts +14 -0
  282. package/dist/i18n/locales/sq.d.ts.map +1 -1
  283. package/dist/i18n/locales/sq.js +15 -1
  284. package/dist/i18n/locales/sq.js.map +1 -1
  285. package/dist/i18n/locales/sv.d.ts +14 -0
  286. package/dist/i18n/locales/sv.d.ts.map +1 -1
  287. package/dist/i18n/locales/sv.js +15 -1
  288. package/dist/i18n/locales/sv.js.map +1 -1
  289. package/dist/i18n/locales/tr.d.ts +14 -0
  290. package/dist/i18n/locales/tr.d.ts.map +1 -1
  291. package/dist/i18n/locales/tr.js +15 -1
  292. package/dist/i18n/locales/tr.js.map +1 -1
  293. package/dist/i18n/locales/zh.d.ts +14 -0
  294. package/dist/i18n/locales/zh.d.ts.map +1 -1
  295. package/dist/i18n/locales/zh.js +15 -1
  296. package/dist/i18n/locales/zh.js.map +1 -1
  297. package/dist/index.js +194 -193
  298. package/dist/locales/ar.json +15 -1
  299. package/dist/locales/de.json +15 -1
  300. package/dist/locales/el.json +15 -1
  301. package/dist/locales/en.json +15 -1
  302. package/dist/locales/es.json +15 -1
  303. package/dist/locales/fr.json +15 -1
  304. package/dist/locales/hi.json +15 -1
  305. package/dist/locales/it.json +15 -1
  306. package/dist/locales/ja.json +15 -1
  307. package/dist/locales/nl.json +15 -1
  308. package/dist/locales/pl.json +15 -1
  309. package/dist/locales/pt.json +15 -1
  310. package/dist/locales/ro.json +15 -1
  311. package/dist/locales/ru.json +15 -1
  312. package/dist/locales/sq.json +15 -1
  313. package/dist/locales/sv.json +15 -1
  314. package/dist/locales/tr.json +15 -1
  315. package/dist/locales/zh.json +15 -1
  316. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  317. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
  318. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  319. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  320. package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
  321. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  322. package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
  323. package/dist/patterns/alia-assistant/index.js +6 -5
  324. package/dist/patterns/anamnesis/index.js +1 -1
  325. package/dist/patterns/calendar/index.js +1 -1
  326. package/dist/patterns/help-me-write-templates/index.js +1 -1
  327. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  328. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
  329. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  330. package/dist/patterns/registration-form/index.js +1 -1
  331. package/dist/patterns/signature-request/index.js +1 -1
  332. package/dist/patterns/signed-out-frame/index.js +1 -1
  333. package/dist/tokens.css +1 -1
  334. package/package.json +1 -1
  335. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  336. package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
  337. package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
  338. package/dist/_chunks/alia-sidebar-DOei4Iyu.js.map +0 -1
  339. package/dist/_chunks/chart-HsF1KHbx.js.map +0 -1
  340. package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
  341. package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
  342. package/dist/_chunks/date-range-picker-CtUOI38x.js.map +0 -1
  343. package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
  344. package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
  345. package/dist/_chunks/link-2HokYuIi.js +0 -130
  346. package/dist/_chunks/link-2HokYuIi.js.map +0 -1
  347. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
  348. package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
  349. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
  350. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js.map +0 -1
  351. package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
  352. package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
  353. package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
  354. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  355. package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
  356. package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
  357. package/dist/_chunks/rich-text-editor-CkFfmA3v.js.map +0 -1
@@ -1,20 +1,21 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as Qe, useContext as Xe, useMemo as v, useState as q, useRef as y, useEffect as de, useCallback as G } from "react";
3
- import { u as et } from "./registry-DvAUVLHh.js";
4
- import { u as tt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
5
- import { u as nt } from "./use-dom-value-DTxHhQAN.js";
2
+ import { forwardRef as Xe, useContext as et, useMemo as v, useState as G, useRef as y, useEffect as de, useCallback as O } from "react";
3
+ import { u as tt } from "./registry-DvAUVLHh.js";
4
+ import { u as nt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
5
+ import { u as st } from "./use-dom-value-DTxHhQAN.js";
6
6
  import * as U from "@radix-ui/react-popover";
7
- import { R as st, _ as I } from "./index-4xgbg-sn.js";
7
+ import { u as ot, f as rt } from "./non-modal-tab-exit-j3CPOuE3.js";
8
+ import { R as at, _ as w } from "./index-4xgbg-sn.js";
8
9
  import { c as pe } from "./index-D2ZczOXr.js";
9
- import { useTranslation as ot } from "react-i18next";
10
- import { getCountries as rt, parsePhoneNumberFromString as V, AsYouType as O, getCountryCallingCode as at } from "libphonenumber-js/min";
11
- import { u as it, F as dt, a as lt } from "./form-field-context-DtiROUJV.js";
12
- import { c as ct } from "./compose-refs-C0k0tdqF.js";
10
+ import { useTranslation as it } from "react-i18next";
11
+ import { getCountries as dt, parsePhoneNumberFromString as T, AsYouType as W, getCountryCallingCode as lt } from "libphonenumber-js/min";
12
+ import { u as ut, F as ct, a as pt } from "./form-field-context-DtiROUJV.js";
13
+ import { c as ft } from "./compose-refs-C0k0tdqF.js";
13
14
  import { n as le } from "./normalize-diacritics-BNGbFNlJ.js";
14
- import { b as ut } from "./menu-row-BAr8bx1I.js";
15
- import { a as ce } from "./flag-DVBE6DnB.js";
16
- import { C as pt } from "./chevron-down-DWE7GSq9.js";
17
- const ft = {
15
+ import { b as mt } from "./menu-row-BAr8bx1I.js";
16
+ import { a as ue } from "./flag-DVBE6DnB.js";
17
+ import { C as ht } from "./chevron-down-DWE7GSq9.js";
18
+ const gt = {
18
19
  id: "phone-input",
19
20
  // A phone number is a single form value, not free-form rich text — `set_value`
20
21
  // (not `edit_inline`, which is reserved for in-place rich/cell editing).
@@ -87,7 +88,7 @@ const ft = {
87
88
  description: "Sourced from the id prop."
88
89
  }
89
90
  }
90
- }, mt = pe(
91
+ }, vt = pe(
91
92
  [
92
93
  "ds:group ds:relative ds:inline-flex ds:items-stretch ds:w-full",
93
94
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-input",
@@ -118,7 +119,7 @@ const ft = {
118
119
  tone: "default"
119
120
  }
120
121
  }
121
- ), we = pe(
122
+ ), Ie = pe(
122
123
  [
123
124
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
124
125
  "ds:bg-transparent ds:text-foreground",
@@ -142,7 +143,7 @@ const ft = {
142
143
  },
143
144
  defaultVariants: { size: "md" }
144
145
  }
145
- ), ht = pe(
146
+ ), yt = pe(
146
147
  [
147
148
  "ds:flex-1 ds:min-w-0 ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
148
149
  "ds:border-0 ds:outline-none",
@@ -159,7 +160,7 @@ const ft = {
159
160
  },
160
161
  defaultVariants: { size: "md" }
161
162
  }
162
- ), gt = [
163
+ ), bt = [
163
164
  "ds:z-[var(--z-popover)] ds:overflow-hidden ds:w-72",
164
165
  "ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
165
166
  "ds:shadow-[var(--shadow-lg)]",
@@ -169,46 +170,46 @@ const ft = {
169
170
  "ds:data-[side=bottom]:slide-in-from-top-2",
170
171
  "ds:data-[side=top]:slide-in-from-bottom-2",
171
172
  "ds:motion-reduce:animate-none"
172
- ].join(" "), vt = [
173
+ ].join(" "), Ct = [
173
174
  "ds:w-full ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
174
175
  "ds:border-0 ds:border-b ds:border-b-border ds:outline-none",
175
176
  "ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
176
177
  "ds:focus:outline-none"
177
- ].join(" "), yt = "ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]", bt = [
178
+ ].join(" "), xt = "ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]", Nt = [
178
179
  "ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-[var(--spacing-sm)]",
179
180
  "ds:rounded-[var(--radius-sm)] ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
180
181
  "ds:text-foreground ds:outline-none ds:select-none",
181
- ut.selected
182
+ mt.selected
182
183
  ].join(" "), ze = [
183
184
  "ds:ps-3 ds:pe-3 ds:py-1.5",
184
185
  "type-eyebrow ds:text-muted-foreground"
185
- ].join(" "), Ct = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", xt = {
186
+ ].join(" "), wt = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", It = {
186
187
  sm: "ds:size-3.5",
187
188
  md: "ds:size-4",
188
189
  lg: "ds:size-5"
189
- }, ue = {
190
+ }, ce = {
190
191
  sm: "sm",
191
192
  md: "md",
192
193
  lg: "lg"
193
194
  };
194
- function Nt(s, a) {
195
- let u = 0;
195
+ function zt(s, a) {
196
+ let c = 0;
196
197
  for (let o = 0; o < a && o < s.length; o++)
197
- s[o] >= "0" && s[o] <= "9" && u++;
198
- return u;
198
+ s[o] >= "0" && s[o] <= "9" && c++;
199
+ return c;
199
200
  }
200
- function It(s, a) {
201
+ function Rt(s, a) {
201
202
  if (a === 0) return 0;
202
- let u = 0;
203
+ let c = 0;
203
204
  for (let o = 0; o < s.length; o++)
204
- if (s[o] >= "0" && s[o] <= "9" && (u++, u === a))
205
+ if (s[o] >= "0" && s[o] <= "9" && (c++, c === a))
205
206
  return o + 1;
206
207
  return s.length;
207
208
  }
208
- function Re(s, a, u, o, f) {
209
+ function Re(s, a, c, o, f) {
209
210
  const i = f && f.length ? new Set(f) : null, d = (C) => a.has(C) && (!i || i.has(C));
210
211
  if (s && d(s)) return s;
211
- if (u) {
212
+ if (c) {
212
213
  const C = typeof navigator < "u" ? navigator.language : void 0;
213
214
  if (C) {
214
215
  const b = C.match(/-([A-Za-z]{2})/);
@@ -226,24 +227,24 @@ function Re(s, a, u, o, f) {
226
227
  }
227
228
  return i ? f[0] : "IT";
228
229
  }
229
- function wt(s, a) {
230
- let u;
230
+ function St(s, a) {
231
+ let c;
231
232
  try {
232
- u = new Intl.DisplayNames([s], { type: "region" });
233
+ c = new Intl.DisplayNames([s], { type: "region" });
233
234
  } catch {
234
- u = new Intl.DisplayNames(["en"], { type: "region" });
235
+ c = new Intl.DisplayNames(["en"], { type: "region" });
235
236
  }
236
237
  const o = a.map((i) => ({
237
238
  code: i,
238
- name: u.of(i) ?? i,
239
- dialCode: at(i)
239
+ name: c.of(i) ?? i,
240
+ dialCode: lt(i)
240
241
  })), f = new Intl.Collator(s);
241
242
  return o.sort((i, d) => f.compare(i.name, d.name));
242
243
  }
243
- const zt = Qe(
244
+ const Et = Xe(
244
245
  function({
245
246
  value: a,
246
- defaultValue: u,
247
+ defaultValue: c,
247
248
  defaultCountry: o,
248
249
  detectBrowserCountry: f = !1,
249
250
  onChange: i,
@@ -252,52 +253,52 @@ const zt = Qe(
252
253
  disabled: b,
253
254
  readOnly: S,
254
255
  placeholder: Se,
255
- popularCountries: T,
256
+ popularCountries: V,
256
257
  allowedCountries: D,
257
258
  className: Ee,
258
259
  id: L,
259
- name: W,
260
+ name: Y,
260
261
  nameFormat: ke = "national",
261
- required: Fe,
262
- onBlur: Y,
263
- "aria-label": Pe
264
- }, Ve) {
262
+ required: Pe,
263
+ onBlur: Z,
264
+ "aria-label": Fe
265
+ }, Te) {
265
266
  var Ne;
266
- const { t: w, i18n: E } = ot("ui"), z = it(), k = Xe(dt) !== null, h = v(
267
- () => new Set(rt()),
267
+ const { t: I, i18n: E } = it("ui"), z = ut(), k = et(ct) !== null, h = v(
268
+ () => new Set(dt()),
268
269
  []
269
270
  ), p = v(() => {
270
271
  if (!D || D.length === 0) return null;
271
272
  const e = /* @__PURE__ */ new Set(), t = D.filter((n) => !h.has(n) || e.has(n) ? !1 : (e.add(n), !0));
272
273
  return t.length > 0 ? t : null;
273
- }, [D, h]), Te = p !== null && p.length === 1, Z = v(() => {
274
+ }, [D, h]), Ve = p !== null && p.length === 1, J = v(() => {
274
275
  const e = Re(
275
276
  o,
276
277
  h,
277
278
  f,
278
279
  E.language,
279
280
  p
280
- ), t = a ?? u;
281
+ ), t = a ?? c;
281
282
  if (t) {
282
- const n = V(t);
283
+ const n = T(t);
283
284
  return n != null && n.country ? !p || p.includes(n.country) ? {
284
285
  country: n.country,
285
286
  display: n.formatNational(),
286
287
  pinned: !0
287
288
  } : {
288
289
  country: e,
289
- display: new O(e).input(
290
+ display: new W(e).input(
290
291
  n.nationalNumber
291
292
  ),
292
293
  pinned: !0
293
294
  } : { country: e, display: t, pinned: !1 };
294
295
  }
295
296
  return { country: e, display: "", pinned: !1 };
296
- }, []), [l, j] = q(Z.country), [J, g] = q(
297
- Z.display
298
- ), [Q, X] = q(!1), [De, fe] = q(""), me = a !== void 0, ee = y(""), A = y(null), B = y(Z.pinned), F = y(null), Le = ct(Ve, F), je = nt(F, J), he = y(null), ge = y(null);
297
+ }, []), [l, j] = G(J.country), [Q, g] = G(
298
+ J.display
299
+ ), [X, A] = G(!1), [De, fe] = G(""), me = a !== void 0, ee = y(""), B = y(null), $ = y(J.pinned), P = y(null), Le = ft(Te, P), je = st(P, Q), he = y(null), ge = y(null);
299
300
  de(() => {
300
- if (B.current) return;
301
+ if ($.current) return;
301
302
  const e = Re(
302
303
  o,
303
304
  h,
@@ -320,19 +321,19 @@ const zt = Qe(
320
321
  g("");
321
322
  return;
322
323
  }
323
- const t = V(e);
324
- t != null && t.country && (!p || p.includes(t.country)) ? (B.current = !0, j(t.country), g(t.formatNational())) : g(t ? t.formatNational() : e);
325
- }, [a, me, p]), tt(() => {
326
- if (A.current == null) return;
327
- const e = A.current;
328
- A.current = null;
329
- const t = F.current;
324
+ const t = T(e);
325
+ t != null && t.country && (!p || p.includes(t.country)) ? ($.current = !0, j(t.country), g(t.formatNational())) : g(t ? t.formatNational() : e);
326
+ }, [a, me, p]), nt(() => {
327
+ if (B.current == null) return;
328
+ const e = B.current;
329
+ B.current = null;
330
+ const t = P.current;
330
331
  t && document.activeElement === t && t.setSelectionRange(e, e);
331
332
  });
332
- const x = G(
333
+ const x = O(
333
334
  (e, t) => {
334
- const n = V(e, t), c = (n == null ? void 0 : n.number) ?? "";
335
- ee.current = c, i == null || i(c, {
335
+ const n = T(e, t), u = (n == null ? void 0 : n.number) ?? "";
336
+ ee.current = u, i == null || i(u, {
336
337
  country: t,
337
338
  isValid: (n == null ? void 0 : n.isValid()) ?? !1,
338
339
  isPossible: (n == null ? void 0 : n.isPossible()) ?? !1,
@@ -340,42 +341,42 @@ const zt = Qe(
340
341
  });
341
342
  },
342
343
  [i]
343
- ), Ae = lt(z, L), Be = L ?? (k ? Ae : void 0), te = (k ? z.disabled : !1) || !!b, $e = (k ? z.required : !1) || !!Fe, ve = k ? z.invalid : !1, He = ve ? "error" : C, Ke = k && z.describedBy ? z.describedBy : void 0, Me = Se ?? w("inputs.phone.placeholder", "Phone number"), $ = y(Y);
344
- $.current = Y;
345
- const ne = y(!1), H = y(!1), K = G(
344
+ ), Ae = pt(z, L), Be = L ?? (k ? Ae : void 0), te = (k ? z.disabled : !1) || !!b, $e = (k ? z.required : !1) || !!Pe, ve = k ? z.invalid : !1, He = ve ? "error" : C, Ke = k && z.describedBy ? z.describedBy : void 0, Me = Se ?? I("inputs.phone.placeholder", "Phone number"), H = y(Z);
345
+ H.current = Z;
346
+ const ne = y(!1), K = y(!1), M = O(
346
347
  (e) => {
347
348
  var t, n;
348
349
  return e instanceof Node && !!((t = he.current) != null && t.contains(e) || (n = ge.current) != null && n.contains(e));
349
350
  },
350
351
  []
351
- ), se = G(() => {
352
+ ), se = O(() => {
352
353
  var e;
353
- ne.current && (ne.current = !1, (e = $.current) == null || e.call($));
354
+ ne.current && (ne.current = !1, (e = H.current) == null || e.call(H));
354
355
  }, []), _e = () => {
355
356
  ne.current = !0;
356
357
  }, qe = (e) => {
357
358
  const t = e.relatedTarget;
358
- K(t) || t === null && H.current || se();
359
- }, ye = Y !== void 0;
359
+ M(t) || t === null && K.current || se();
360
+ }, ye = Z !== void 0;
360
361
  de(() => {
361
362
  if (!ye) return;
362
363
  let e;
363
- const t = (c) => {
364
- H.current = K(c.target), !H.current && (e = window.setTimeout(() => {
365
- K(document.activeElement) || se();
364
+ const t = (u) => {
365
+ K.current = M(u.target), !K.current && (e = window.setTimeout(() => {
366
+ M(document.activeElement) || se();
366
367
  }, 0));
367
368
  }, n = () => {
368
- H.current = !1;
369
+ K.current = !1;
369
370
  };
370
371
  return document.addEventListener("pointerdown", t, !0), document.addEventListener("pointerup", n, !0), document.addEventListener("pointercancel", n, !0), () => {
371
372
  window.clearTimeout(e), document.removeEventListener("pointerdown", t, !0), document.removeEventListener("pointerup", n, !0), document.removeEventListener("pointercancel", n, !0);
372
373
  };
373
- }, [ye, K, se]);
374
- const oe = ke === "e164" && W !== void 0, Ge = oe ? ((Ne = V(J, l)) == null ? void 0 : Ne.number) ?? "" : "", Ue = (e) => {
374
+ }, [ye, M, se]);
375
+ const oe = ke === "e164" && Y !== void 0, Ge = oe ? ((Ne = T(Q, l)) == null ? void 0 : Ne.number) ?? "" : "", Oe = (e) => {
375
376
  if (je(), S) return;
376
- const t = e.target, n = t.value, c = t.selectionStart ?? n.length, R = Nt(n, c), ie = new O(l).input(n);
377
- A.current = It(ie, R), g(ie), x(ie, l);
378
- }, be = ee, Oe = v(
377
+ const t = e.target, n = t.value, u = t.selectionStart ?? n.length, R = zt(n, u), ie = new W(l).input(n);
378
+ B.current = Rt(ie, R), g(ie), x(ie, l);
379
+ }, be = ee, Ue = v(
379
380
  () => ({
380
381
  getValue: () => be.current,
381
382
  setValue: (e) => {
@@ -383,12 +384,12 @@ const zt = Qe(
383
384
  g(""), x("", l);
384
385
  return;
385
386
  }
386
- const t = V(e);
387
+ const t = T(e);
387
388
  if (t != null && t.country)
388
- B.current = !0, j(t.country), g(t.formatNational()), x(t.formatNational(), t.country);
389
+ $.current = !0, j(t.country), g(t.formatNational()), x(t.formatNational(), t.country);
389
390
  else {
390
- const c = new O(l).input(e);
391
- g(c), x(c, l);
391
+ const u = new W(l).input(e);
392
+ g(u), x(u, l);
392
393
  }
393
394
  },
394
395
  clear: () => {
@@ -396,63 +397,66 @@ const zt = Qe(
396
397
  },
397
398
  focus: () => {
398
399
  var e;
399
- return (e = F.current) == null ? void 0 : e.focus();
400
+ return (e = P.current) == null ? void 0 : e.focus();
400
401
  }
401
402
  }),
402
403
  [l, x, be]
403
404
  );
404
- et(ft, Oe, L);
405
- const We = (e) => {
405
+ tt(gt, Ue, L);
406
+ const We = ot(!0, {
407
+ getAnchor: rt,
408
+ onReturnToTrigger: () => A(!1)
409
+ }), Ye = (e) => {
406
410
  if (e === l) {
407
- X(!1);
411
+ A(!1);
408
412
  return;
409
413
  }
410
- const t = J.replace(/\D/g, ""), n = new O(e), c = t ? n.input(t) : "";
411
- B.current = !0, j(e), g(c), X(!1), fe(""), x(c, e), requestAnimationFrame(() => {
414
+ const t = Q.replace(/\D/g, ""), n = new W(e), u = t ? n.input(t) : "";
415
+ $.current = !0, j(e), g(u), A(!1), fe(""), x(u, e), requestAnimationFrame(() => {
412
416
  var R;
413
- (R = F.current) == null || R.focus();
417
+ (R = P.current) == null || R.focus();
414
418
  });
415
419
  }, N = v(
416
- () => wt(
420
+ () => St(
417
421
  E.language,
418
422
  p ?? Array.from(h)
419
423
  ),
420
424
  [E.language, h, p]
421
- ), P = v(() => {
422
- if (!T || T.length === 0) return [];
425
+ ), F = v(() => {
426
+ if (!V || V.length === 0) return [];
423
427
  const e = new Map(N.map((t) => [t.code, t]));
424
- return T.filter((t) => h.has(t)).map((t) => e.get(t)).filter((t) => !!t);
425
- }, [T, N, h]), re = v(
426
- () => new Set(P.map((e) => e.code)),
427
- [P]
428
- ), Ye = v(
428
+ return V.filter((t) => h.has(t)).map((t) => e.get(t)).filter((t) => !!t);
429
+ }, [V, N, h]), re = v(
430
+ () => new Set(F.map((e) => e.code)),
431
+ [F]
432
+ ), Ze = v(
429
433
  () => re.size > 0 ? N.filter((e) => !re.has(e.code)) : N,
430
434
  [N, re]
431
- ), M = v(
435
+ ), _ = v(
432
436
  () => N.find((e) => e.code === l),
433
437
  [N, l]
434
- ), ae = M ? M.dialCode : "", Ce = M ? M.name : l, _ = w("inputs.phone.countryPickerLabel", "Country"), Ze = `${_}: ${Ce}, +${ae}`, Je = G(
438
+ ), ae = _ ? _.dialCode : "", Ce = _ ? _.name : l, q = I("inputs.phone.countryPickerLabel", "Country"), Je = `${q}: ${Ce}, +${ae}`, Qe = O(
435
439
  (e, t, n) => {
436
- const c = le(e), R = le(t), Ie = n == null ? void 0 : n.map(le);
437
- return st(
438
- c,
440
+ const u = le(e), R = le(t), we = n == null ? void 0 : n.map(le);
441
+ return at(
442
+ u,
439
443
  R,
440
- Ie
444
+ we
441
445
  );
442
446
  },
443
447
  []
444
448
  ), xe = (e) => {
445
449
  const t = `${e.name}, +${e.dialCode}`;
446
450
  return /* @__PURE__ */ m(
447
- I.Item,
451
+ w.Item,
448
452
  {
449
453
  value: e.code,
450
454
  keywords: [e.name, e.dialCode, `+${e.dialCode}`],
451
- onSelect: () => We(e.code),
452
- className: bt,
455
+ onSelect: () => Ye(e.code),
456
+ className: Nt,
453
457
  "aria-label": t,
454
458
  children: [
455
- /* @__PURE__ */ r(ce, { country: e.code, size: ue[d] }),
459
+ /* @__PURE__ */ r(ue, { country: e.code, size: ce[d] }),
456
460
  /* @__PURE__ */ r("span", { className: "ds:flex-1 ds:truncate", children: e.name }),
457
461
  /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:text-muted-foreground ds:tabular-nums", children: [
458
462
  "+",
@@ -472,51 +476,51 @@ const zt = Qe(
472
476
  "data-component": "phone-input",
473
477
  "data-component-id": L,
474
478
  "data-slot": "phone-input",
475
- className: mt({
479
+ className: vt({
476
480
  size: d,
477
481
  tone: He,
478
482
  className: Ee
479
483
  }),
480
484
  children: [
481
- Te ? /* @__PURE__ */ m(
485
+ Ve ? /* @__PURE__ */ m(
482
486
  "span",
483
487
  {
484
488
  "data-slot": "phone-country-fixed",
485
- className: `${we({ size: d })} ds:cursor-default ds:hover:bg-transparent`,
489
+ className: `${Ie({ size: d })} ds:cursor-default ds:hover:bg-transparent`,
486
490
  children: [
487
- /* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${_}: ${Ce}` }),
488
- /* @__PURE__ */ r(ce, { country: l, size: ue[d] }),
491
+ /* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${q}: ${Ce}` }),
492
+ /* @__PURE__ */ r(ue, { country: l, size: ce[d] }),
489
493
  /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
490
494
  "+",
491
495
  ae
492
496
  ] })
493
497
  ]
494
498
  }
495
- ) : /* @__PURE__ */ m(U.Root, { open: Q, onOpenChange: X, children: [
499
+ ) : /* @__PURE__ */ m(U.Root, { open: X, onOpenChange: A, children: [
496
500
  /* @__PURE__ */ r(U.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
497
501
  "button",
498
502
  {
499
503
  type: "button",
500
504
  disabled: te,
501
505
  "aria-haspopup": "dialog",
502
- "aria-expanded": Q,
503
- "aria-label": Ze,
504
- className: we({ size: d }),
506
+ "aria-expanded": X,
507
+ "aria-label": Je,
508
+ className: Ie({ size: d }),
505
509
  children: [
506
- /* @__PURE__ */ r(ce, { country: l, size: ue[d] }),
510
+ /* @__PURE__ */ r(ue, { country: l, size: ce[d] }),
507
511
  /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
508
512
  "+",
509
513
  ae
510
514
  ] }),
511
515
  /* @__PURE__ */ r(
512
- pt,
516
+ ht,
513
517
  {
514
518
  "aria-hidden": "true",
515
519
  className: [
516
- xt[d],
520
+ It[d],
517
521
  "ds:shrink-0 ds:text-muted-foreground",
518
522
  "ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
519
- Q ? "ds:rotate-180" : ""
523
+ X ? "ds:rotate-180" : ""
520
524
  ].join(" ")
521
525
  }
522
526
  )
@@ -527,20 +531,21 @@ const zt = Qe(
527
531
  U.Content,
528
532
  {
529
533
  ref: ge,
534
+ onKeyDown: We,
530
535
  sideOffset: 6,
531
536
  align: "start",
532
- "aria-label": _,
533
- className: gt,
537
+ "aria-label": q,
538
+ className: bt,
534
539
  children: /* @__PURE__ */ m(
535
- I,
540
+ w,
536
541
  {
537
- filter: Je,
542
+ filter: Qe,
538
543
  shouldFilter: !0,
539
544
  loop: !0,
540
- label: _,
545
+ label: q,
541
546
  children: [
542
547
  /* @__PURE__ */ r(
543
- I.Input,
548
+ w.Input,
544
549
  {
545
550
  asChild: !0,
546
551
  value: De,
@@ -553,29 +558,29 @@ const zt = Qe(
553
558
  autoComplete: "off",
554
559
  autoCorrect: "off",
555
560
  spellCheck: !1,
556
- placeholder: w(
561
+ placeholder: I(
557
562
  "inputs.phone.searchCountry",
558
563
  "Search countries…"
559
564
  ),
560
- className: vt
565
+ className: Ct
561
566
  }
562
567
  )
563
568
  }
564
569
  ),
565
- /* @__PURE__ */ m(I.List, { className: yt, children: [
566
- /* @__PURE__ */ r(I.Empty, { className: Ct, children: w("inputs.phone.noCountryFound", "No country found") }),
567
- P.length > 0 ? /* @__PURE__ */ r(
568
- I.Group,
570
+ /* @__PURE__ */ m(w.List, { className: xt, children: [
571
+ /* @__PURE__ */ r(w.Empty, { className: wt, children: I("inputs.phone.noCountryFound", "No country found") }),
572
+ F.length > 0 ? /* @__PURE__ */ r(
573
+ w.Group,
569
574
  {
570
- heading: /* @__PURE__ */ r("span", { className: ze, children: w("inputs.phone.popularCountries", "Popular") }),
571
- children: P.map(xe)
575
+ heading: /* @__PURE__ */ r("span", { className: ze, children: I("inputs.phone.popularCountries", "Popular") }),
576
+ children: F.map(xe)
572
577
  }
573
578
  ) : null,
574
579
  /* @__PURE__ */ r(
575
- I.Group,
580
+ w.Group,
576
581
  {
577
- heading: P.length > 0 ? /* @__PURE__ */ r("span", { className: ze, children: w("inputs.phone.allCountries", "All countries") }) : void 0,
578
- children: Ye.map(xe)
582
+ heading: F.length > 0 ? /* @__PURE__ */ r("span", { className: ze, children: I("inputs.phone.allCountries", "All countries") }) : void 0,
583
+ children: Ze.map(xe)
579
584
  }
580
585
  )
581
586
  ] })
@@ -590,7 +595,7 @@ const zt = Qe(
590
595
  {
591
596
  ref: Le,
592
597
  id: Be,
593
- name: oe ? void 0 : W,
598
+ name: oe ? void 0 : Y,
594
599
  type: "tel",
595
600
  inputMode: "tel",
596
601
  autoComplete: "tel-national",
@@ -598,18 +603,18 @@ const zt = Qe(
598
603
  disabled: te,
599
604
  readOnly: S,
600
605
  required: $e,
601
- "aria-label": Pe,
606
+ "aria-label": Fe,
602
607
  "aria-describedby": Ke,
603
608
  "aria-invalid": ve || void 0,
604
- onChange: Ue,
605
- className: ht({ size: d })
609
+ onChange: Oe,
610
+ className: yt({ size: d })
606
611
  }
607
612
  ),
608
613
  oe ? /* @__PURE__ */ r(
609
614
  "input",
610
615
  {
611
616
  type: "hidden",
612
- name: W,
617
+ name: Y,
613
618
  value: Ge,
614
619
  disabled: te
615
620
  }
@@ -619,11 +624,11 @@ const zt = Qe(
619
624
  );
620
625
  }
621
626
  );
622
- zt.displayName = "PhoneInput";
627
+ Et.displayName = "PhoneInput";
623
628
  export {
624
- zt as P,
625
- ht as a,
626
- we as c,
627
- mt as p
629
+ Et as P,
630
+ yt as a,
631
+ Ie as c,
632
+ vt as p
628
633
  };
629
- //# sourceMappingURL=phone-input-DxkHMYmu.js.map
634
+ //# sourceMappingURL=phone-input-O9camxkq.js.map