@alfadocs/ui-kit-debug 1.3.13 → 1.4.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 (348) hide show
  1. package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js +28 -0
  2. package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js.map +1 -0
  3. package/dist/_chunks/{alia-sidebar-DzNz1gDf.js → alia-sidebar-DSBZMick.js} +3 -3
  4. package/dist/_chunks/{alia-sidebar-DzNz1gDf.js.map → alia-sidebar-DSBZMick.js.map} +1 -1
  5. package/dist/_chunks/{anamnesis-i18n-CfC0qYzy.js → anamnesis-i18n-BA631X4t.js} +2209 -2144
  6. package/dist/_chunks/anamnesis-i18n-BA631X4t.js.map +1 -0
  7. package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js → antenatal-schedule-timeline-u8TsS2QJ.js} +27 -26
  8. package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js.map → antenatal-schedule-timeline-u8TsS2QJ.js.map} +1 -1
  9. package/dist/_chunks/{appointment-timeline-B630OT_J.js → appointment-timeline-Bqf1sTU5.js} +2 -2
  10. package/dist/_chunks/{appointment-timeline-B630OT_J.js.map → appointment-timeline-Bqf1sTU5.js.map} +1 -1
  11. package/dist/_chunks/{ar-THMLfSoN.js → ar-BR1FGFP2.js} +14 -14
  12. package/dist/_chunks/{ar-THMLfSoN.js.map → ar-BR1FGFP2.js.map} +1 -1
  13. package/dist/_chunks/{bmi-calculator-CM0-G2mg.js → bmi-calculator-CpyY13MV.js} +2 -2
  14. package/dist/_chunks/{bmi-calculator-CM0-G2mg.js.map → bmi-calculator-CpyY13MV.js.map} +1 -1
  15. package/dist/_chunks/{booking-DjNbd7C1.js → booking-BjsA7j1-.js} +699 -688
  16. package/dist/_chunks/booking-BjsA7j1-.js.map +1 -0
  17. package/dist/_chunks/calculator-dialog-12d3Sxaz.js +48 -0
  18. package/dist/_chunks/{calculator-dialog-DuXMQSdm.js.map → calculator-dialog-12d3Sxaz.js.map} +1 -1
  19. package/dist/_chunks/{care-plan-card-1G_f4I5s.js → care-plan-card-BvQy366X.js} +3 -3
  20. package/dist/_chunks/{care-plan-card-1G_f4I5s.js.map → care-plan-card-BvQy366X.js.map} +1 -1
  21. package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js → care-plan-entry-card-apk_5B3O.js} +2 -2
  22. package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js.map → care-plan-entry-card-apk_5B3O.js.map} +1 -1
  23. package/dist/_chunks/{chat-container-HlFnoEIl.js → chat-container-CYYego1W.js} +105 -81
  24. package/dist/_chunks/chat-container-CYYego1W.js.map +1 -0
  25. package/dist/_chunks/cycle-calculator-B7fyH-h4.js +425 -0
  26. package/dist/_chunks/cycle-calculator-B7fyH-h4.js.map +1 -0
  27. package/dist/_chunks/{date-picker-ZHejTVAJ.js → date-picker-Bp64zk2p.js} +19 -19
  28. package/dist/_chunks/{date-picker-ZHejTVAJ.js.map → date-picker-Bp64zk2p.js.map} +1 -1
  29. package/dist/_chunks/date-picker-variants-pKAJfnWr.js +2089 -0
  30. package/dist/_chunks/date-picker-variants-pKAJfnWr.js.map +1 -0
  31. package/dist/_chunks/{date-range-picker-pEG3Ln3i.js → date-range-picker-CDrZ8Zh0.js} +27 -27
  32. package/dist/_chunks/{date-range-picker-pEG3Ln3i.js.map → date-range-picker-CDrZ8Zh0.js.map} +1 -1
  33. package/dist/_chunks/{date-time-picker-695QvBGj.js → date-time-picker-DafkGDGO.js} +10 -10
  34. package/dist/_chunks/{date-time-picker-695QvBGj.js.map → date-time-picker-DafkGDGO.js.map} +1 -1
  35. package/dist/_chunks/{de-DmZ-8rTN.js → de-3iM4rGqo.js} +7 -7
  36. package/dist/_chunks/{de-DmZ-8rTN.js.map → de-3iM4rGqo.js.map} +1 -1
  37. package/dist/_chunks/{document-preview-D3gg4MXB.js → document-preview-DOrsqiN1.js} +2 -2
  38. package/dist/_chunks/{document-preview-D3gg4MXB.js.map → document-preview-DOrsqiN1.js.map} +1 -1
  39. package/dist/_chunks/due-date-calculator-CnkbbAej.js +571 -0
  40. package/dist/_chunks/due-date-calculator-CnkbbAej.js.map +1 -0
  41. package/dist/_chunks/{editor-overlay-DE3esyio.js → editor-overlay-B1tr2i7B.js} +22 -21
  42. package/dist/_chunks/editor-overlay-B1tr2i7B.js.map +1 -0
  43. package/dist/_chunks/{el-Bela9mxs.js → el-C96rGJvU.js} +2 -2
  44. package/dist/_chunks/{el-Bela9mxs.js.map → el-C96rGJvU.js.map} +1 -1
  45. package/dist/_chunks/{es-BNncHKex.js → es-Cxiqjx8r.js} +12 -12
  46. package/dist/_chunks/{es-BNncHKex.js.map → es-Cxiqjx8r.js.map} +1 -1
  47. package/dist/_chunks/fetal-weight-avlj-l-S.js +223 -0
  48. package/dist/_chunks/fetal-weight-avlj-l-S.js.map +1 -0
  49. package/dist/_chunks/format-4HNwNGrN.js +1315 -0
  50. package/dist/_chunks/format-4HNwNGrN.js.map +1 -0
  51. package/dist/_chunks/{fr-CH8ADfhN.js → fr-Bhr6SYKj.js} +21 -21
  52. package/dist/_chunks/{fr-CH8ADfhN.js.map → fr-Bhr6SYKj.js.map} +1 -1
  53. package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js → freemium-paywall-DRDdWuOg.js} +3 -3
  54. package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js.map → freemium-paywall-DRDdWuOg.js.map} +1 -1
  55. package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js +488 -0
  56. package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js.map +1 -0
  57. package/dist/_chunks/hcg-doubling-Cv_vH61p.js +312 -0
  58. package/dist/_chunks/hcg-doubling-Cv_vH61p.js.map +1 -0
  59. package/dist/_chunks/header-settings-Cn5fPXCE.js +335 -0
  60. package/dist/_chunks/header-settings-Cn5fPXCE.js.map +1 -0
  61. package/dist/_chunks/{hi-Bppfxp8l.js → hi-BxXX26d_.js} +12 -12
  62. package/dist/_chunks/{hi-Bppfxp8l.js.map → hi-BxXX26d_.js.map} +1 -1
  63. package/dist/_chunks/isSameWeek-B73MagWB.js +13 -0
  64. package/dist/_chunks/{isSameWeek-CK4HS9lH.js.map → isSameWeek-B73MagWB.js.map} +1 -1
  65. package/dist/_chunks/{it-B4ySaRyK.js → it-Xmjomvyj.js} +24 -24
  66. package/dist/_chunks/{it-B4ySaRyK.js.map → it-Xmjomvyj.js.map} +1 -1
  67. package/dist/_chunks/{ja-CGF6Io9P.js → ja-mfZvt1ZV.js} +16 -16
  68. package/dist/_chunks/{ja-CGF6Io9P.js.map → ja-mfZvt1ZV.js.map} +1 -1
  69. package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js → link-cell-renderer-CJ_gk7gl.js} +3 -3
  70. package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js.map → link-cell-renderer-CJ_gk7gl.js.map} +1 -1
  71. package/dist/_chunks/{locale-picker-BfBUdT1m.js → locale-picker-D9Kv2zrK.js} +153 -132
  72. package/dist/_chunks/locale-picker-D9Kv2zrK.js.map +1 -0
  73. package/dist/_chunks/map-view-2yZCQW2l.js +445 -0
  74. package/dist/_chunks/map-view-2yZCQW2l.js.map +1 -0
  75. package/dist/_chunks/{marketplace-app-shell-DwcFMxzp.js → marketplace-app-shell-BLRvg-M0.js} +49 -40
  76. package/dist/_chunks/marketplace-app-shell-BLRvg-M0.js.map +1 -0
  77. package/dist/_chunks/{nl-DuShqwuV.js → nl-DDs-KEnD.js} +15 -15
  78. package/dist/_chunks/{nl-DuShqwuV.js.map → nl-DDs-KEnD.js.map} +1 -1
  79. package/dist/_chunks/{notes-panel-DPsgB4Mv.js → notes-panel-CiFN3sLW.js} +2 -2
  80. package/dist/_chunks/{notes-panel-DPsgB4Mv.js.map → notes-panel-CiFN3sLW.js.map} +1 -1
  81. package/dist/_chunks/{number-input-DrozbZAU.js → number-input-DOe5VYei.js} +64 -64
  82. package/dist/_chunks/number-input-DOe5VYei.js.map +1 -0
  83. package/dist/_chunks/{optical-prescription-BDHJr8Zz.js → optical-prescription-CRemE8fL.js} +2 -2
  84. package/dist/_chunks/{optical-prescription-BDHJr8Zz.js.map → optical-prescription-CRemE8fL.js.map} +1 -1
  85. package/dist/_chunks/{parse-DvA97ro9.js → parse-JqixfsU0.js} +43 -43
  86. package/dist/_chunks/{parse-DvA97ro9.js.map → parse-JqixfsU0.js.map} +1 -1
  87. package/dist/_chunks/parseISO-fOGpHKXm.js +120 -0
  88. package/dist/_chunks/parseISO-fOGpHKXm.js.map +1 -0
  89. package/dist/_chunks/{patient-details-DqjjwPmt.js → patient-details-CpunD0qx.js} +3 -3
  90. package/dist/_chunks/{patient-details-DqjjwPmt.js.map → patient-details-CpunD0qx.js.map} +1 -1
  91. package/dist/_chunks/{patient-table-BmIDrLIS.js → patient-table-2eWx-Rrk.js} +2 -2
  92. package/dist/_chunks/{patient-table-BmIDrLIS.js.map → patient-table-2eWx-Rrk.js.map} +1 -1
  93. package/dist/_chunks/{payment-form-h-BZ8onk.js → payment-form-Ds1I9KqB.js} +308 -231
  94. package/dist/_chunks/payment-form-Ds1I9KqB.js.map +1 -0
  95. package/dist/_chunks/{pdf-viewer-Ddx-T053.js → pdf-viewer-DUIsV9s5.js} +429 -369
  96. package/dist/_chunks/pdf-viewer-DUIsV9s5.js.map +1 -0
  97. package/dist/_chunks/{pl-CKQwX9Fk.js → pl-BYYMnEWP.js} +18 -18
  98. package/dist/_chunks/{pl-CKQwX9Fk.js.map → pl-BYYMnEWP.js.map} +1 -1
  99. package/dist/_chunks/{practice-results-B-HPc13W.js → practice-results-SjCniMd2.js} +2 -2
  100. package/dist/_chunks/{practice-results-B-HPc13W.js.map → practice-results-SjCniMd2.js.map} +1 -1
  101. package/dist/_chunks/pregnancy-dating-BmpHScZ0.js +770 -0
  102. package/dist/_chunks/pregnancy-dating-BmpHScZ0.js.map +1 -0
  103. package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js +553 -0
  104. package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js.map +1 -0
  105. package/dist/_chunks/progress-CK8otcQ-.js +343 -0
  106. package/dist/_chunks/progress-CK8otcQ-.js.map +1 -0
  107. package/dist/_chunks/{pt-_njpXyOZ.js → pt-BSPnVrQ7.js} +20 -20
  108. package/dist/_chunks/{pt-_njpXyOZ.js.map → pt-BSPnVrQ7.js.map} +1 -1
  109. package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js → radiograph-panel.agent-CtFtNMzk.js} +3 -3
  110. package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js.map → radiograph-panel.agent-CtFtNMzk.js.map} +1 -1
  111. package/dist/_chunks/{rich-text-editor-CfeXPPWs.js → rich-text-editor-BedTpWzL.js} +2 -2
  112. package/dist/_chunks/{rich-text-editor-CfeXPPWs.js.map → rich-text-editor-BedTpWzL.js.map} +1 -1
  113. package/dist/_chunks/{ro-3X6_4FcN.js → ro-BbiylGmG.js} +14 -14
  114. package/dist/_chunks/{ro-3X6_4FcN.js.map → ro-BbiylGmG.js.map} +1 -1
  115. package/dist/_chunks/{ru-bAcgmnS-.js → ru-BX_qsV67.js} +14 -14
  116. package/dist/_chunks/{ru-bAcgmnS-.js.map → ru-BX_qsV67.js.map} +1 -1
  117. package/dist/_chunks/{session-countdown-Bc70VXN1.js → session-countdown-BL-Psg8u.js} +2 -2
  118. package/dist/_chunks/{session-countdown-Bc70VXN1.js.map → session-countdown-BL-Psg8u.js.map} +1 -1
  119. package/dist/_chunks/{sign-document-CW_ByDUh.js → sign-document-jF4fZDJ5.js} +2 -2
  120. package/dist/_chunks/{sign-document-CW_ByDUh.js.map → sign-document-jF4fZDJ5.js.map} +1 -1
  121. package/dist/_chunks/slot-grid-DNiUcXy2.js +640 -0
  122. package/dist/_chunks/slot-grid-DNiUcXy2.js.map +1 -0
  123. package/dist/_chunks/{sparkline-BTY4B5tv.js → sparkline-BmGcEyZO.js} +209 -164
  124. package/dist/_chunks/sparkline-BmGcEyZO.js.map +1 -0
  125. package/dist/_chunks/{sq-jYFqr4Ga.js → sq-i9UOk4P7.js} +10 -10
  126. package/dist/_chunks/{sq-jYFqr4Ga.js.map → sq-i9UOk4P7.js.map} +1 -1
  127. package/dist/_chunks/subDays-CAUv47M1.js +8 -0
  128. package/dist/_chunks/{subDays-BcNi04uf.js.map → subDays-CAUv47M1.js.map} +1 -1
  129. package/dist/_chunks/{sv-BSGEJ-8B.js → sv-CpTdtmDQ.js} +8 -8
  130. package/dist/_chunks/{sv-BSGEJ-8B.js.map → sv-CpTdtmDQ.js.map} +1 -1
  131. package/dist/_chunks/{tab-bar-Axhk6xzx.js → tab-bar-BYESZINM.js} +83 -77
  132. package/dist/_chunks/tab-bar-BYESZINM.js.map +1 -0
  133. package/dist/_chunks/task-card.agent-CF2N_uu4.js +29 -0
  134. package/dist/_chunks/task-card.agent-CF2N_uu4.js.map +1 -0
  135. package/dist/_chunks/{tr-CTpgUtw6.js → tr-DXG2QN1K.js} +17 -17
  136. package/dist/_chunks/{tr-CTpgUtw6.js.map → tr-DXG2QN1K.js.map} +1 -1
  137. package/dist/_chunks/{unit-converter-COgkN7YP.js → unit-converter-CHPDuV7W.js} +2 -2
  138. package/dist/_chunks/{unit-converter-COgkN7YP.js.map → unit-converter-CHPDuV7W.js.map} +1 -1
  139. package/dist/_chunks/{warning-stack-BtjmJChC.js → warning-stack-B7t_8jRE.js} +42 -37
  140. package/dist/_chunks/{warning-stack-BtjmJChC.js.map → warning-stack-B7t_8jRE.js.map} +1 -1
  141. package/dist/_chunks/{zh-CN-BgM0Io2O.js → zh-CN-vPkPEK6H.js} +18 -18
  142. package/dist/_chunks/{zh-CN-BgM0Io2O.js.map → zh-CN-vPkPEK6H.js.map} +1 -1
  143. package/dist/agent-catalog.json +6426 -3382
  144. package/dist/agent-i18n/en.json +234 -15
  145. package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -1
  146. package/dist/components/agenda-card/index.js +1 -1
  147. package/dist/components/appointment-timeline/index.js +1 -1
  148. package/dist/components/bmi-calculator/index.js +1 -1
  149. package/dist/components/booking/booking.d.ts.map +1 -1
  150. package/dist/components/booking/index.js +1 -1
  151. package/dist/components/calculator-dialog/calculator-dialog.d.ts.map +1 -1
  152. package/dist/components/calculator-dialog/index.js +1 -1
  153. package/dist/components/care-plan-card/index.js +1 -1
  154. package/dist/components/care-plan-entry-card/index.js +1 -1
  155. package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
  156. package/dist/components/chat-container/chat-container.d.ts +14 -0
  157. package/dist/components/chat-container/chat-container.d.ts.map +1 -1
  158. package/dist/components/chat-container/index.js +1 -1
  159. package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts +4 -0
  160. package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts.map +1 -0
  161. package/dist/components/cycle-calculator/cycle-calculator.d.ts +42 -0
  162. package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
  163. package/dist/components/cycle-calculator/index.d.ts +1 -1
  164. package/dist/components/cycle-calculator/index.d.ts.map +1 -1
  165. package/dist/components/cycle-calculator/index.js +1 -1
  166. package/dist/components/data-table/index.js +1 -1
  167. package/dist/components/date-picker/index.js +1 -1
  168. package/dist/components/date-range-picker/index.js +1 -1
  169. package/dist/components/date-time-picker/index.js +1 -1
  170. package/dist/components/document-preview/index.js +1 -1
  171. package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts +4 -0
  172. package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts.map +1 -0
  173. package/dist/components/due-date-calculator/due-date-calculator.d.ts +61 -1
  174. package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
  175. package/dist/components/due-date-calculator/index.d.ts +1 -1
  176. package/dist/components/due-date-calculator/index.d.ts.map +1 -1
  177. package/dist/components/due-date-calculator/index.js +2 -2
  178. package/dist/components/editor-overlay/editor-overlay.d.ts +7 -1
  179. package/dist/components/editor-overlay/editor-overlay.d.ts.map +1 -1
  180. package/dist/components/editor-overlay/index.js +1 -1
  181. package/dist/components/fetal-weight/fetal-weight.agent.d.ts +4 -0
  182. package/dist/components/fetal-weight/fetal-weight.agent.d.ts.map +1 -0
  183. package/dist/components/fetal-weight/fetal-weight.d.ts +26 -0
  184. package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -1
  185. package/dist/components/fetal-weight/index.d.ts +1 -1
  186. package/dist/components/fetal-weight/index.d.ts.map +1 -1
  187. package/dist/components/fetal-weight/index.js +1 -1
  188. package/dist/components/freemium-paywall/index.js +1 -1
  189. package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts +4 -0
  190. package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts.map +1 -0
  191. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +44 -2
  192. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
  193. package/dist/components/gestational-age-calculator/index.d.ts +1 -1
  194. package/dist/components/gestational-age-calculator/index.d.ts.map +1 -1
  195. package/dist/components/gestational-age-calculator/index.js +1 -1
  196. package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts +4 -0
  197. package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts.map +1 -0
  198. package/dist/components/hcg-doubling/hcg-doubling.d.ts +30 -0
  199. package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -1
  200. package/dist/components/hcg-doubling/index.d.ts +1 -1
  201. package/dist/components/hcg-doubling/index.d.ts.map +1 -1
  202. package/dist/components/hcg-doubling/index.js +1 -1
  203. package/dist/components/header-settings/header-settings.agent.d.ts.map +1 -1
  204. package/dist/components/header-settings/header-settings.d.ts +13 -1
  205. package/dist/components/header-settings/header-settings.d.ts.map +1 -1
  206. package/dist/components/header-settings/index.js +1 -1
  207. package/dist/components/locale-picker/index.js +1 -1
  208. package/dist/components/locale-picker/locale-picker.agent.d.ts.map +1 -1
  209. package/dist/components/locale-picker/locale-picker.d.ts +9 -0
  210. package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
  211. package/dist/components/map-view/index.js +1 -1
  212. package/dist/components/map-view/map-view.agent.d.ts.map +1 -1
  213. package/dist/components/map-view/map-view.d.ts +22 -0
  214. package/dist/components/map-view/map-view.d.ts.map +1 -1
  215. package/dist/components/notes-panel/index.js +1 -1
  216. package/dist/components/number-input/index.js +1 -1
  217. package/dist/components/number-input/number-input.d.ts +2 -1
  218. package/dist/components/number-input/number-input.d.ts.map +1 -1
  219. package/dist/components/optical-prescription/index.js +1 -1
  220. package/dist/components/patient-details/index.js +1 -1
  221. package/dist/components/patient-table/index.js +1 -1
  222. package/dist/components/payment-form/index.d.ts +1 -1
  223. package/dist/components/payment-form/index.d.ts.map +1 -1
  224. package/dist/components/payment-form/index.js +1 -1
  225. package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
  226. package/dist/components/payment-form/payment-form.d.ts +32 -1
  227. package/dist/components/payment-form/payment-form.d.ts.map +1 -1
  228. package/dist/components/pdf-viewer/index.js +1 -1
  229. package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
  230. package/dist/components/pdf-viewer/pdf-viewer.d.ts +13 -0
  231. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  232. package/dist/components/practice-results/index.js +1 -1
  233. package/dist/components/pregnancy-dating/index.d.ts +1 -1
  234. package/dist/components/pregnancy-dating/index.d.ts.map +1 -1
  235. package/dist/components/pregnancy-dating/index.js +1 -1
  236. package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts +4 -0
  237. package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts.map +1 -0
  238. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +65 -1
  239. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts.map +1 -1
  240. package/dist/components/pregnancy-weight-gain/index.d.ts +2 -1
  241. package/dist/components/pregnancy-weight-gain/index.d.ts.map +1 -1
  242. package/dist/components/pregnancy-weight-gain/index.js +6 -5
  243. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts +4 -0
  244. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts.map +1 -0
  245. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +35 -0
  246. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
  247. package/dist/components/progress/index.js +1 -1
  248. package/dist/components/progress/progress.agent.d.ts.map +1 -1
  249. package/dist/components/progress/progress.d.ts +13 -0
  250. package/dist/components/progress/progress.d.ts.map +1 -1
  251. package/dist/components/radiograph-panel/index.js +1 -1
  252. package/dist/components/rich-text-editor/index.js +1 -1
  253. package/dist/components/session-countdown/index.js +1 -1
  254. package/dist/components/sign-document/index.js +1 -1
  255. package/dist/components/slot-grid/index.d.ts +2 -1
  256. package/dist/components/slot-grid/index.d.ts.map +1 -1
  257. package/dist/components/slot-grid/index.js +5 -4
  258. package/dist/components/slot-grid/slot-grid.agent.d.ts +4 -0
  259. package/dist/components/slot-grid/slot-grid.agent.d.ts.map +1 -0
  260. package/dist/components/slot-grid/slot-grid.d.ts +34 -0
  261. package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
  262. package/dist/components/sparkline/index.js +1 -1
  263. package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
  264. package/dist/components/sparkline/sparkline.d.ts +10 -0
  265. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  266. package/dist/components/tab-bar/index.js +1 -1
  267. package/dist/components/tab-bar/tab-bar.d.ts +13 -0
  268. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  269. package/dist/components/task-card/index.js +1 -1
  270. package/dist/components/task-card/task-card.agent.d.ts.map +1 -1
  271. package/dist/components/unit-converter/index.js +1 -1
  272. package/dist/components/warning-stack/index.js +1 -1
  273. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  274. package/dist/index.js +630 -627
  275. package/dist/patterns/alia-assistant/index.js +1 -1
  276. package/dist/patterns/anamnesis/anamnesis-compare-panel.d.ts.map +1 -1
  277. package/dist/patterns/anamnesis/anamnesis-compile.d.ts.map +1 -1
  278. package/dist/patterns/anamnesis/anamnesis-derive.d.ts +27 -8
  279. package/dist/patterns/anamnesis/anamnesis-derive.d.ts.map +1 -1
  280. package/dist/patterns/anamnesis/anamnesis-evolution-grid.d.ts.map +1 -1
  281. package/dist/patterns/anamnesis/anamnesis-field.d.ts.map +1 -1
  282. package/dist/patterns/anamnesis/anamnesis-format.d.ts +11 -3
  283. package/dist/patterns/anamnesis/anamnesis-format.d.ts.map +1 -1
  284. package/dist/patterns/anamnesis/anamnesis-highlight.d.ts +6 -0
  285. package/dist/patterns/anamnesis/anamnesis-highlight.d.ts.map +1 -0
  286. package/dist/patterns/anamnesis/anamnesis-intake.d.ts.map +1 -1
  287. package/dist/patterns/anamnesis/anamnesis-matrix.d.ts.map +1 -1
  288. package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +23 -9
  289. package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts.map +1 -1
  290. package/dist/patterns/anamnesis/anamnesis-readonly.d.ts.map +1 -1
  291. package/dist/patterns/anamnesis/anamnesis-target-strip.d.ts.map +1 -1
  292. package/dist/patterns/anamnesis/anamnesis-types.d.ts +7 -0
  293. package/dist/patterns/anamnesis/anamnesis-types.d.ts.map +1 -1
  294. package/dist/patterns/anamnesis/anamnesis-visit-note.d.ts.map +1 -1
  295. package/dist/patterns/anamnesis/anamnesis.d.ts +16 -7
  296. package/dist/patterns/anamnesis/anamnesis.d.ts.map +1 -1
  297. package/dist/patterns/anamnesis/index.d.ts +3 -2
  298. package/dist/patterns/anamnesis/index.d.ts.map +1 -1
  299. package/dist/patterns/anamnesis/index.js +7 -6
  300. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  301. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +6 -0
  302. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  303. package/dist/tokens.css +1 -1
  304. package/package.json +1 -1
  305. package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js +0 -27
  306. package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js.map +0 -1
  307. package/dist/_chunks/anamnesis-i18n-CfC0qYzy.js.map +0 -1
  308. package/dist/_chunks/booking-DjNbd7C1.js.map +0 -1
  309. package/dist/_chunks/calculator-dialog-DuXMQSdm.js +0 -40
  310. package/dist/_chunks/chat-container-HlFnoEIl.js.map +0 -1
  311. package/dist/_chunks/cycle-calculator-BwqYVPB4.js +0 -252
  312. package/dist/_chunks/cycle-calculator-BwqYVPB4.js.map +0 -1
  313. package/dist/_chunks/date-picker-variants-eL6HjWvw.js +0 -3363
  314. package/dist/_chunks/date-picker-variants-eL6HjWvw.js.map +0 -1
  315. package/dist/_chunks/due-date-calculator-CwfsFd3T.js +0 -256
  316. package/dist/_chunks/due-date-calculator-CwfsFd3T.js.map +0 -1
  317. package/dist/_chunks/editor-overlay-DE3esyio.js.map +0 -1
  318. package/dist/_chunks/fetal-weight-ePlLjJPc.js +0 -122
  319. package/dist/_chunks/fetal-weight-ePlLjJPc.js.map +0 -1
  320. package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js +0 -311
  321. package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js.map +0 -1
  322. package/dist/_chunks/hcg-doubling-BBqD2wI2.js +0 -170
  323. package/dist/_chunks/hcg-doubling-BBqD2wI2.js.map +0 -1
  324. package/dist/_chunks/header-settings--pjYOe6g.js +0 -284
  325. package/dist/_chunks/header-settings--pjYOe6g.js.map +0 -1
  326. package/dist/_chunks/isSameDay-DUEiAT0G.js +0 -39
  327. package/dist/_chunks/isSameDay-DUEiAT0G.js.map +0 -1
  328. package/dist/_chunks/isSameWeek-CK4HS9lH.js +0 -14
  329. package/dist/_chunks/locale-picker-BfBUdT1m.js.map +0 -1
  330. package/dist/_chunks/map-view-CsaHfoo6.js +0 -378
  331. package/dist/_chunks/map-view-CsaHfoo6.js.map +0 -1
  332. package/dist/_chunks/marketplace-app-shell-DwcFMxzp.js.map +0 -1
  333. package/dist/_chunks/number-input-DrozbZAU.js.map +0 -1
  334. package/dist/_chunks/payment-form-h-BZ8onk.js.map +0 -1
  335. package/dist/_chunks/pdf-viewer-Ddx-T053.js.map +0 -1
  336. package/dist/_chunks/pregnancy-dating-DzYTlBkT.js +0 -421
  337. package/dist/_chunks/pregnancy-dating-DzYTlBkT.js.map +0 -1
  338. package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js +0 -322
  339. package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js.map +0 -1
  340. package/dist/_chunks/progress-DA413-zn.js +0 -299
  341. package/dist/_chunks/progress-DA413-zn.js.map +0 -1
  342. package/dist/_chunks/slot-grid-CQSULZjd.js +0 -502
  343. package/dist/_chunks/slot-grid-CQSULZjd.js.map +0 -1
  344. package/dist/_chunks/sparkline-BTY4B5tv.js.map +0 -1
  345. package/dist/_chunks/subDays-BcNi04uf.js +0 -8
  346. package/dist/_chunks/tab-bar-Axhk6xzx.js.map +0 -1
  347. package/dist/_chunks/task-card.agent-Bt14CzUd.js +0 -25
  348. package/dist/_chunks/task-card.agent-Bt14CzUd.js.map +0 -1
@@ -1,23 +1,23 @@
1
1
  import { jsx as a, jsxs as _ } from "react/jsx-runtime";
2
- import { forwardRef as I, createElement as Z, useId as ee, useState as B, useCallback as T, useMemo as D, useRef as U, useImperativeHandle as se, useEffect as ae } from "react";
2
+ import { forwardRef as I, createElement as Z, useId as ee, useState as B, useCallback as T, useMemo as z, useRef as U, useImperativeHandle as se, useEffect as ae } from "react";
3
3
  import { c as q } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
5
  import { _ as y, R as oe } from "./index-4xgbg-sn.js";
6
6
  import { I as te } from "./icon-button-C_kbcd7I.js";
7
- import { P as x } from "./popover-Cc0a69sw.js";
8
- import { F as ne, f as ie, s as J, _ as re, a as le, b as de, c as ce, d as ue, e as ge, g as me, h as _e, i as fe, j as ve, k as pe, l as he, m as ye, n as be, o as Ne, p as xe, q as Le, r as Ce, t as Se, u as ke, v as Pe, w as Ee, x as Re, y as we, z as Ie, A as Te, B as Ae, C as je, D as Fe, E as Oe, G as ze, H as De, I as Ue, J as Ge, K as Me, L as He } from "./flag-view-udarpAot.js";
7
+ import { P as L } from "./popover-Cc0a69sw.js";
8
+ import { F as ne, f as ie, s as J, _ as re, a as le, b as ce, c as de, d as ue, e as ge, g as me, h as _e, i as fe, j as ve, k as pe, l as he, m as ye, n as be, o as Ne, p as Le, q as xe, r as Ce, t as Se, u as ke, v as we, w as Ee, x as Pe, y as Re, z as Ie, A as Te, B as Ae, C as De, D as je, E as Fe, G as Oe, H as ze, I as Ue, J as Ge, K as Me, L as He } from "./flag-view-udarpAot.js";
9
9
  import { c as Be, a as qe, d as Je } from "./input-surface-xyERuLU_.js";
10
- import { LOCALES_WITH_BUNDLES as j } from "../i18n/config.js";
11
- import { u as Ve } from "./use-locale-BkCIHujH.js";
12
- import { u as Ke } from "./registry-DvAUVLHh.js";
13
- import { G as F } from "./globe-sHBW1JN5.js";
10
+ import { LOCALES_WITH_BUNDLES as D } from "../i18n/config.js";
11
+ import { u as Ke } from "./use-locale-BkCIHujH.js";
12
+ import { u as Ve } from "./registry-DvAUVLHh.js";
13
+ import { G as j } from "./globe-sHBW1JN5.js";
14
14
  import { M as We } from "./monitor-xXSrufmP.js";
15
15
  import { C as G } from "./check-DrFSN__t.js";
16
- const O = J(
16
+ const F = J(
17
17
  () => /* @__PURE__ */ Object.assign({
18
18
  "/node_modules/country-flag-icons/3x2/AL.svg": Ce,
19
- "/node_modules/country-flag-icons/3x2/CN.svg": Le,
20
- "/node_modules/country-flag-icons/3x2/DE.svg": xe,
19
+ "/node_modules/country-flag-icons/3x2/CN.svg": xe,
20
+ "/node_modules/country-flag-icons/3x2/DE.svg": Le,
21
21
  "/node_modules/country-flag-icons/3x2/ES.svg": Ne,
22
22
  "/node_modules/country-flag-icons/3x2/FR.svg": be,
23
23
  "/node_modules/country-flag-icons/3x2/GB.svg": ye,
@@ -29,8 +29,8 @@ const O = J(
29
29
  "/node_modules/country-flag-icons/3x2/PL.svg": me,
30
30
  "/node_modules/country-flag-icons/3x2/PT.svg": ge,
31
31
  "/node_modules/country-flag-icons/3x2/RO.svg": ue,
32
- "/node_modules/country-flag-icons/3x2/RU.svg": ce,
33
- "/node_modules/country-flag-icons/3x2/SA.svg": de,
32
+ "/node_modules/country-flag-icons/3x2/RU.svg": de,
33
+ "/node_modules/country-flag-icons/3x2/SA.svg": ce,
34
34
  "/node_modules/country-flag-icons/3x2/SE.svg": le,
35
35
  "/node_modules/country-flag-icons/3x2/TR.svg": re
36
36
  })
@@ -40,51 +40,51 @@ const O = J(
40
40
  "/node_modules/country-flag-icons/1x1/CN.svg": Me,
41
41
  "/node_modules/country-flag-icons/1x1/DE.svg": Ge,
42
42
  "/node_modules/country-flag-icons/1x1/ES.svg": Ue,
43
- "/node_modules/country-flag-icons/1x1/FR.svg": De,
44
- "/node_modules/country-flag-icons/1x1/GB.svg": ze,
45
- "/node_modules/country-flag-icons/1x1/GR.svg": Oe,
46
- "/node_modules/country-flag-icons/1x1/IN.svg": Fe,
47
- "/node_modules/country-flag-icons/1x1/IT.svg": je,
43
+ "/node_modules/country-flag-icons/1x1/FR.svg": ze,
44
+ "/node_modules/country-flag-icons/1x1/GB.svg": Oe,
45
+ "/node_modules/country-flag-icons/1x1/GR.svg": Fe,
46
+ "/node_modules/country-flag-icons/1x1/IN.svg": je,
47
+ "/node_modules/country-flag-icons/1x1/IT.svg": De,
48
48
  "/node_modules/country-flag-icons/1x1/JP.svg": Ae,
49
49
  "/node_modules/country-flag-icons/1x1/NL.svg": Te,
50
50
  "/node_modules/country-flag-icons/1x1/PL.svg": Ie,
51
- "/node_modules/country-flag-icons/1x1/PT.svg": we,
52
- "/node_modules/country-flag-icons/1x1/RO.svg": Re,
51
+ "/node_modules/country-flag-icons/1x1/PT.svg": Re,
52
+ "/node_modules/country-flag-icons/1x1/RO.svg": Pe,
53
53
  "/node_modules/country-flag-icons/1x1/RU.svg": Ee,
54
- "/node_modules/country-flag-icons/1x1/SA.svg": Pe,
54
+ "/node_modules/country-flag-icons/1x1/SA.svg": we,
55
55
  "/node_modules/country-flag-icons/1x1/SE.svg": ke,
56
56
  "/node_modules/country-flag-icons/1x1/TR.svg": Se
57
57
  })
58
58
  );
59
59
  Object.freeze(
60
- Object.keys(O).sort()
60
+ Object.keys(F).sort()
61
61
  );
62
- function z(e) {
63
- return e.toUpperCase() in O;
62
+ function O(e) {
63
+ return e.toUpperCase() in F;
64
64
  }
65
65
  const E = I(
66
66
  ({
67
67
  country: e,
68
68
  label: s,
69
- shape: c = "rectangle",
69
+ shape: d = "rectangle",
70
70
  size: l = "sm",
71
71
  rounded: r = "sm",
72
- className: d,
72
+ className: c,
73
73
  ...i
74
- }, o) => {
74
+ }, t) => {
75
75
  const n = e.toUpperCase();
76
76
  return Z(ne, {
77
- ref: o,
77
+ ref: t,
78
78
  code: n,
79
- src: (c === "square" ? Ye : O)[n],
79
+ src: (d === "square" ? Ye : F)[n],
80
80
  label: s,
81
- className: ie({ shape: c, size: l, rounded: r }, d),
81
+ className: ie({ shape: d, size: l, rounded: r }, c),
82
82
  ...i
83
83
  });
84
84
  }
85
85
  );
86
86
  E.displayName = "CoreFlag";
87
- const L = {
87
+ const x = {
88
88
  en: {
89
89
  code: "en",
90
90
  nativeName: "English",
@@ -230,14 +230,27 @@ const L = {
230
230
  dir: "ltr"
231
231
  }
232
232
  };
233
- j.map((e) => L[e]);
233
+ D.map((e) => x[e]);
234
234
  const Qe = [
235
- ...j.map((e) => L[e])
235
+ ...D.map((e) => x[e])
236
236
  ].sort((e, s) => e.englishName.localeCompare(s.englishName, "en")), Xe = {
237
237
  id: "locale-picker",
238
238
  // Persists a single locale choice via the handle's `setLocale` → set_value.
239
239
  capabilities: ["set_value"],
240
- state: {},
240
+ state: {
241
+ locale: {
242
+ type: "string",
243
+ descriptionKey: "ui.agent.localePicker.state.locale",
244
+ description: "Resolved IETF tag of the locale currently applied to the page. Read this after `set_locale` — the setter silently drops tags the kit ships no bundle for, so this is the only confirmation the switch landed.",
245
+ read: (e) => e.getLocale()
246
+ },
247
+ isSystemDefault: {
248
+ type: "boolean",
249
+ descriptionKey: "ui.agent.localePicker.state.isSystemDefault",
250
+ description: 'True when the resolved locale came from `navigator.language` rather than an explicit user choice. Distinguishes "the user chose English" from "we are following the browser, which happens to be English" — a distinction the resolved tag alone destroys.',
251
+ read: (e) => e.getIsSystemDefault()
252
+ }
253
+ },
241
254
  actions: {
242
255
  set_locale: {
243
256
  safety: "write",
@@ -254,7 +267,10 @@ const Qe = [
254
267
  },
255
268
  idempotent: !0,
256
269
  descriptionKey: "ui.agent.localePicker.actions.setLocale",
257
- description: "Switch the active locale to the given IETF tag.",
270
+ description: "Switch the active locale to the given IETF tag. Unsupported tags are a silent no-op — read the `locale` state slot afterwards to confirm the switch landed.",
271
+ errors: [
272
+ "Silently ignored when the tag names a locale the kit ships no bundle for — `locale` is unchanged."
273
+ ],
258
274
  invoke: (e, s) => {
259
275
  e.setLocale(s.locale);
260
276
  }
@@ -270,7 +286,7 @@ const Qe = [
270
286
  }, b = "alfadocs-ui.locale", m = "system";
271
287
  let M = !1;
272
288
  function v(e) {
273
- return typeof e == "string" && j.includes(e);
289
+ return typeof e == "string" && D.includes(e);
274
290
  }
275
291
  function H(e) {
276
292
  if (typeof window > "u") return null;
@@ -280,14 +296,14 @@ function H(e) {
280
296
  return null;
281
297
  }
282
298
  }
283
- function V(e, s) {
299
+ function K(e, s) {
284
300
  if (!(typeof window > "u"))
285
301
  try {
286
302
  window.localStorage.setItem(e, s);
287
303
  } catch {
288
304
  }
289
305
  }
290
- function w() {
306
+ function R() {
291
307
  if (typeof navigator > "u") return "en";
292
308
  const e = navigator.language;
293
309
  if (!e) return "en";
@@ -297,9 +313,9 @@ function w() {
297
313
  function N(e) {
298
314
  if (typeof document > "u") return;
299
315
  const s = document.documentElement;
300
- s.lang = e, s.dir = L[e].dir;
316
+ s.lang = e, s.dir = x[e].dir;
301
317
  }
302
- function K(e) {
318
+ function V(e) {
303
319
  if (!(typeof window > "u"))
304
320
  try {
305
321
  window.localStorage.removeItem(e);
@@ -307,17 +323,17 @@ function K(e) {
307
323
  }
308
324
  }
309
325
  function W() {
310
- const { locale: e, setLocale: s } = Ve(), [c, l] = B(
326
+ const { locale: e, setLocale: s } = Ke(), [d, l] = B(
311
327
  () => H(b) === null
312
- ), r = v(e) ? e : "en", d = T(
328
+ ), r = v(e) ? e : "en", c = T(
313
329
  (i) => {
314
330
  if (i === m) {
315
- K(b);
316
- const o = w();
317
- s(o), N(o), l(!0);
331
+ V(b);
332
+ const t = R();
333
+ s(t), N(t), l(!0);
318
334
  return;
319
335
  }
320
- v(i) && (s(i), N(i), V(b, i), l(!1));
336
+ v(i) && (s(i), N(i), K(b, i), l(!1));
321
337
  },
322
338
  [s]
323
339
  );
@@ -329,9 +345,9 @@ function W() {
329
345
  i !== e && s(i), N(i);
330
346
  return;
331
347
  }
332
- const o = w();
333
- s(o), N(o);
334
- }, []), { locale: r, isSystemDefault: c, setLocale: d };
348
+ const t = R();
349
+ s(t), N(t);
350
+ }, []), { locale: r, isSystemDefault: d, setLocale: c };
335
351
  }
336
352
  const Y = q("ds:inline-flex ds:items-center", {
337
353
  variants: {
@@ -365,23 +381,23 @@ const Y = q("ds:inline-flex ds:items-center", {
365
381
  }
366
382
  },
367
383
  defaultVariants: { loading: !1 }
368
- }), R = I(
384
+ }), P = I(
369
385
  ({
370
386
  value: e,
371
387
  onValueChange: s,
372
- inputId: c,
388
+ inputId: d,
373
389
  disabled: l = !1,
374
390
  loading: r = !1,
375
- className: d
391
+ className: c
376
392
  }, i) => {
377
- const { t: o } = A(), n = W(), S = n.locale, C = e ?? (n.isSystemDefault ? m : n.locale), f = ee(), k = c ?? `${f}-search`, [P, p] = B(""), h = T(
378
- (t) => {
393
+ const { t } = A(), n = W(), S = n.locale, C = e ?? (n.isSystemDefault ? m : n.locale), f = ee(), k = d ?? `${f}-search`, [w, p] = B(""), h = T(
394
+ (o) => {
379
395
  if (!(l || r)) {
380
- if (t === m) {
396
+ if (o === m) {
381
397
  s ? s(m) : n.setLocale(m);
382
398
  return;
383
399
  }
384
- v(t) && (s ? s(t) : n.setLocale(t));
400
+ v(o) && (s ? s(o) : n.setLocale(o));
385
401
  }
386
402
  },
387
403
  [l, r, s, n]
@@ -390,12 +406,12 @@ const Y = q("ds:inline-flex ds:items-center", {
390
406
  "div",
391
407
  {
392
408
  ref: i,
393
- className: [Ze({ loading: r }), d].filter(Boolean).join(" "),
409
+ className: [Ze({ loading: r }), c].filter(Boolean).join(" "),
394
410
  "data-component": "locale-picker-search-list",
395
411
  children: /* @__PURE__ */ _(
396
412
  y,
397
413
  {
398
- label: o("navigation.localePicker.commandLabel"),
414
+ label: t("navigation.localePicker.commandLabel"),
399
415
  filter: oe,
400
416
  shouldFilter: !0,
401
417
  children: [
@@ -411,7 +427,7 @@ const Y = q("ds:inline-flex ds:items-center", {
411
427
  ].join(" "),
412
428
  children: [
413
429
  /* @__PURE__ */ a(
414
- F,
430
+ j,
415
431
  {
416
432
  "aria-hidden": "true",
417
433
  className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
@@ -421,10 +437,10 @@ const Y = q("ds:inline-flex ds:items-center", {
421
437
  y.Input,
422
438
  {
423
439
  id: k,
424
- value: P,
440
+ value: w,
425
441
  onValueChange: p,
426
- placeholder: o("navigation.localePicker.searchPlaceholder"),
427
- "aria-label": o("navigation.localePicker.searchLabel"),
442
+ placeholder: t("navigation.localePicker.searchPlaceholder"),
443
+ "aria-label": t("navigation.localePicker.searchLabel"),
428
444
  disabled: l || r,
429
445
  className: [
430
446
  "ds:peer ds:flex-1 ds:bg-transparent ds:border-0 ds:outline-none",
@@ -451,11 +467,11 @@ const Y = q("ds:inline-flex ds:items-center", {
451
467
  "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
452
468
  "type-body-sm ds:text-muted-foreground"
453
469
  ].join(" "),
454
- children: o("navigation.localePicker.empty")
470
+ children: t("navigation.localePicker.empty")
455
471
  }
456
472
  ),
457
473
  (() => {
458
- const t = C === m, u = L[S];
474
+ const o = C === m, u = x[S];
459
475
  return /* @__PURE__ */ _(
460
476
  y.Item,
461
477
  {
@@ -481,8 +497,8 @@ const Y = q("ds:inline-flex ds:items-center", {
481
497
  "ds:aria-selected:bg-muted",
482
498
  "ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-not-allowed"
483
499
  ].join(" "),
484
- "aria-selected": t || void 0,
485
- "data-current": t ? "true" : void 0,
500
+ "aria-selected": o || void 0,
501
+ "data-current": o ? "true" : void 0,
486
502
  children: [
487
503
  /* @__PURE__ */ a(
488
504
  We,
@@ -491,29 +507,29 @@ const Y = q("ds:inline-flex ds:items-center", {
491
507
  className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
492
508
  }
493
509
  ),
494
- /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: o("navigation.localePicker.systemDefault", {
510
+ /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: t("navigation.localePicker.systemDefault", {
495
511
  locale: u.nativeName
496
512
  }) }),
497
- t ? /* @__PURE__ */ a(
513
+ o ? /* @__PURE__ */ a(
498
514
  G,
499
515
  {
500
516
  "aria-hidden": "true",
501
517
  className: "ds:size-4 ds:text-primary ds:shrink-0"
502
518
  }
503
519
  ) : null,
504
- t ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children: o("navigation.localePicker.currentSelection") }) : null
520
+ o ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children: t("navigation.localePicker.currentSelection") }) : null
505
521
  ]
506
522
  },
507
523
  m
508
524
  );
509
525
  })(),
510
- Qe.map((t) => {
511
- const u = C === t.code;
526
+ Qe.map((o) => {
527
+ const u = C === o.code;
512
528
  return /* @__PURE__ */ _(
513
529
  y.Item,
514
530
  {
515
- value: t.code,
516
- keywords: [t.nativeName, t.englishName],
531
+ value: o.code,
532
+ keywords: [o.nativeName, o.englishName],
517
533
  disabled: l || r,
518
534
  onSelect: h,
519
535
  className: [
@@ -529,12 +545,12 @@ const Y = q("ds:inline-flex ds:items-center", {
529
545
  ].join(" "),
530
546
  "aria-selected": u || void 0,
531
547
  "data-current": u ? "true" : void 0,
532
- lang: t.code,
548
+ lang: o.code,
533
549
  children: [
534
- z(t.countryCode) ? /* @__PURE__ */ a(
550
+ O(o.countryCode) ? /* @__PURE__ */ a(
535
551
  E,
536
552
  {
537
- country: t.countryCode,
553
+ country: o.countryCode,
538
554
  size: "sm",
539
555
  shape: "rectangle",
540
556
  rounded: "sm",
@@ -552,11 +568,11 @@ const Y = q("ds:inline-flex ds:items-center", {
552
568
  {
553
569
  "aria-hidden": "true",
554
570
  className: "ds:text-base ds:shrink-0",
555
- children: t.flag
571
+ children: o.flag
556
572
  }
557
573
  )
558
574
  ),
559
- /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: t.nativeName }),
575
+ /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: o.nativeName }),
560
576
  u ? /* @__PURE__ */ a(
561
577
  G,
562
578
  {
@@ -564,10 +580,10 @@ const Y = q("ds:inline-flex ds:items-center", {
564
580
  className: "ds:size-4 ds:text-primary ds:shrink-0"
565
581
  }
566
582
  ) : null,
567
- u ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children: o("navigation.localePicker.currentSelection") }) : null
583
+ u ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children: t("navigation.localePicker.currentSelection") }) : null
568
584
  ]
569
585
  },
570
- t.code
586
+ o.code
571
587
  );
572
588
  })
573
589
  ]
@@ -580,33 +596,33 @@ const Y = q("ds:inline-flex ds:items-center", {
580
596
  );
581
597
  }
582
598
  );
583
- R.displayName = "LocalePicker.SearchList";
599
+ P.displayName = "LocalePicker.SearchList";
584
600
  function es({
585
601
  state: e,
586
602
  rest: s,
587
- forwardedRef: c,
603
+ forwardedRef: d,
588
604
  className: l,
589
605
  disabled: r,
590
- loading: d,
606
+ loading: c,
591
607
  popoverSide: i
592
608
  }) {
593
- const { t: o } = A(), n = L[e.locale];
609
+ const { t } = A(), n = x[e.locale];
594
610
  return /* @__PURE__ */ a(
595
611
  "div",
596
612
  {
597
- ref: c,
613
+ ref: d,
598
614
  "data-component": "locale-picker",
599
615
  "data-component-id": s.id,
600
616
  className: Y({ variant: "icon", className: l }),
601
617
  ...s,
602
- children: /* @__PURE__ */ _(x.Root, { children: [
603
- /* @__PURE__ */ a(x.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
618
+ children: /* @__PURE__ */ _(L.Root, { children: [
619
+ /* @__PURE__ */ a(L.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
604
620
  te,
605
621
  {
606
- disabled: r || d,
622
+ disabled: r || c,
607
623
  icon: /* @__PURE__ */ _("span", { className: "ds:relative ds:inline-flex ds:items-center ds:justify-center", children: [
608
- /* @__PURE__ */ a(F, { "aria-hidden": !0, className: "ds:size-5" }),
609
- z(n.countryCode) ? /* @__PURE__ */ a(
624
+ /* @__PURE__ */ a(j, { "aria-hidden": !0, className: "ds:size-5" }),
625
+ O(n.countryCode) ? /* @__PURE__ */ a(
610
626
  E,
611
627
  {
612
628
  country: n.countryCode,
@@ -627,26 +643,26 @@ function es({
627
643
  }
628
644
  ) : null
629
645
  ] }),
630
- "aria-label": o("navigation.localePicker.trigger", {
646
+ "aria-label": t("navigation.localePicker.trigger", {
631
647
  locale: n.nativeName
632
648
  })
633
649
  }
634
650
  ) }),
635
651
  /* @__PURE__ */ a(
636
- x.Content,
652
+ L.Content,
637
653
  {
638
654
  side: i,
639
655
  align: "start",
640
656
  sideOffset: 8,
641
657
  className: Q,
642
- "aria-label": o("navigation.localePicker.popupLabel"),
658
+ "aria-label": t("navigation.localePicker.popupLabel"),
643
659
  children: /* @__PURE__ */ a(
644
- R,
660
+ P,
645
661
  {
646
662
  value: e.locale,
647
663
  onValueChange: e.setLocale,
648
664
  disabled: r,
649
- loading: d
665
+ loading: c
650
666
  }
651
667
  )
652
668
  }
@@ -658,33 +674,33 @@ function es({
658
674
  function ss({
659
675
  state: e,
660
676
  rest: s,
661
- forwardedRef: c,
677
+ forwardedRef: d,
662
678
  className: l,
663
679
  disabled: r,
664
- loading: d,
680
+ loading: c,
665
681
  popoverSide: i
666
682
  }) {
667
- const { t: o } = A(), n = L[e.locale];
683
+ const { t } = A(), n = x[e.locale];
668
684
  return /* @__PURE__ */ a(
669
685
  "div",
670
686
  {
671
- ref: c,
687
+ ref: d,
672
688
  "data-component": "locale-picker",
673
689
  "data-component-id": s.id,
674
690
  className: Y({ variant: "compact", className: l }),
675
691
  ...s,
676
- children: /* @__PURE__ */ _(x.Root, { children: [
677
- /* @__PURE__ */ a(x.Trigger, { asChild: !0, children: /* @__PURE__ */ _(
692
+ children: /* @__PURE__ */ _(L.Root, { children: [
693
+ /* @__PURE__ */ a(L.Trigger, { asChild: !0, children: /* @__PURE__ */ _(
678
694
  "button",
679
695
  {
680
696
  type: "button",
681
- disabled: r || d,
697
+ disabled: r || c,
682
698
  className: $e,
683
- "aria-label": o("navigation.localePicker.trigger", {
699
+ "aria-label": t("navigation.localePicker.trigger", {
684
700
  locale: n.nativeName
685
701
  }),
686
702
  children: [
687
- z(n.countryCode) ? /* @__PURE__ */ a(
703
+ O(n.countryCode) ? /* @__PURE__ */ a(
688
704
  E,
689
705
  {
690
706
  country: n.countryCode,
@@ -693,7 +709,7 @@ function ss({
693
709
  rounded: "sm",
694
710
  className: "ds:shrink-0"
695
711
  }
696
- ) : /* @__PURE__ */ a(F, { "aria-hidden": !0, className: "ds:size-4 ds:shrink-0" }),
712
+ ) : /* @__PURE__ */ a(j, { "aria-hidden": !0, className: "ds:size-4 ds:shrink-0" }),
697
713
  /* @__PURE__ */ a(
698
714
  "span",
699
715
  {
@@ -706,20 +722,20 @@ function ss({
706
722
  }
707
723
  ) }),
708
724
  /* @__PURE__ */ a(
709
- x.Content,
725
+ L.Content,
710
726
  {
711
727
  side: i,
712
728
  align: "start",
713
729
  sideOffset: 8,
714
730
  className: Q,
715
- "aria-label": o("navigation.localePicker.popupLabel"),
731
+ "aria-label": t("navigation.localePicker.popupLabel"),
716
732
  children: /* @__PURE__ */ a(
717
- R,
733
+ P,
718
734
  {
719
735
  value: e.locale,
720
736
  onValueChange: e.setLocale,
721
737
  disabled: r,
722
- loading: d
738
+ loading: c
723
739
  }
724
740
  )
725
741
  }
@@ -731,57 +747,62 @@ function ss({
731
747
  const X = I(
732
748
  (e, s) => {
733
749
  const {
734
- variant: c = "icon",
750
+ variant: d = "icon",
735
751
  value: l,
736
752
  onValueChange: r,
737
- disabled: d = !1,
753
+ disabled: c = !1,
738
754
  loading: i = !1,
739
- popoverSide: o = "bottom",
755
+ popoverSide: t = "bottom",
740
756
  className: n,
741
757
  id: S,
742
758
  ...C
743
- } = e, f = W(), k = l ?? f.locale, P = T(
759
+ } = e, f = W(), k = l ?? f.locale, w = T(
744
760
  (g) => {
745
761
  if (r) {
746
762
  if (r(g), g === m) {
747
- K(b);
748
- const $ = w();
763
+ V(b);
764
+ const $ = R();
749
765
  N($);
750
- } else v(g) && (N(g), V(b, g));
766
+ } else v(g) && (N(g), K(b, g));
751
767
  return;
752
768
  }
753
769
  f.setLocale(g);
754
770
  },
755
771
  [r, f]
756
- ), p = D(
772
+ ), p = z(
757
773
  () => ({
758
774
  locale: k,
759
775
  isSystemDefault: f.isSystemDefault,
760
- setLocale: P
776
+ setLocale: w
761
777
  }),
762
- [k, f.isSystemDefault, P]
778
+ [k, f.isSystemDefault, w]
763
779
  ), h = U(null);
764
780
  se(s, () => h.current, []);
765
- const t = U(p);
766
- t.current = p;
767
- const u = D(
781
+ const o = U(p);
782
+ o.current = p;
783
+ const u = z(
768
784
  () => ({
769
785
  setLocale: (g) => {
770
- v(g) && t.current.setLocale(g);
771
- }
786
+ v(g) && o.current.setLocale(g);
787
+ },
788
+ // Read-back for `set_locale` — the setter swallows unsupported
789
+ // tags, so these are the only way an agent can tell a switch
790
+ // landed from one that was dropped.
791
+ getLocale: () => o.current.locale,
792
+ getIsSystemDefault: () => o.current.isSystemDefault
772
793
  }),
773
794
  []
774
795
  );
775
- return Ke(Xe, u, S), c === "compact" ? /* @__PURE__ */ a(
796
+ return Ve(Xe, u, S), d === "compact" ? /* @__PURE__ */ a(
776
797
  ss,
777
798
  {
778
799
  state: p,
779
800
  rest: C,
780
801
  forwardedRef: h,
781
802
  className: n,
782
- disabled: d,
803
+ disabled: c,
783
804
  loading: i,
784
- popoverSide: o
805
+ popoverSide: t
785
806
  }
786
807
  ) : /* @__PURE__ */ a(
787
808
  es,
@@ -790,21 +811,21 @@ const X = I(
790
811
  rest: C,
791
812
  forwardedRef: h,
792
813
  className: n,
793
- disabled: d,
814
+ disabled: c,
794
815
  loading: i,
795
- popoverSide: o
816
+ popoverSide: t
796
817
  }
797
818
  );
798
819
  }
799
820
  );
800
821
  X.displayName = "LocalePicker";
801
822
  const ps = Object.assign(X, {
802
- SearchList: R
823
+ SearchList: P
803
824
  });
804
825
  export {
805
826
  b as L,
806
827
  ps as a,
807
- R as b,
808
- L as c
828
+ P as b,
829
+ x as c
809
830
  };
810
- //# sourceMappingURL=locale-picker-BfBUdT1m.js.map
831
+ //# sourceMappingURL=locale-picker-D9Kv2zrK.js.map