@alfadocs/ui-kit-debug 1.104.0 → 1.106.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 (330) hide show
  1. package/dist/_chunks/{ai-credits-exhausted-notice-CwZnSACy.js → ai-credits-exhausted-notice-Lws3113e.js} +2 -2
  2. package/dist/_chunks/{ai-credits-exhausted-notice-CwZnSACy.js.map → ai-credits-exhausted-notice-Lws3113e.js.map} +1 -1
  3. package/dist/_chunks/{ai-permission-notice-VNh3W57L.js → ai-permission-notice-BkgcGmu8.js} +2 -2
  4. package/dist/_chunks/{ai-permission-notice-VNh3W57L.js.map → ai-permission-notice-BkgcGmu8.js.map} +1 -1
  5. package/dist/_chunks/{alert-9kEwDza3.js → alert-C4WKViaS.js} +59 -50
  6. package/dist/_chunks/alert-C4WKViaS.js.map +1 -0
  7. package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js → anamnesis-summary-rows-QhbDdY7b.js} +4 -4
  8. package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js.map → anamnesis-summary-rows-QhbDdY7b.js.map} +1 -1
  9. package/dist/_chunks/{audio-recorder-BOm2FgEu.js → audio-recorder-BlDozxdU.js} +2 -2
  10. package/dist/_chunks/{audio-recorder-BOm2FgEu.js.map → audio-recorder-BlDozxdU.js.map} +1 -1
  11. package/dist/_chunks/{auth-form-parts-B3GWChvG.js → auth-form-parts-DVHfqnp6.js} +2 -2
  12. package/dist/_chunks/{auth-form-parts-B3GWChvG.js.map → auth-form-parts-DVHfqnp6.js.map} +1 -1
  13. package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js → balance-badge-cell-wJ6cTD_h.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js.map → balance-badge-cell-wJ6cTD_h.js.map} +1 -1
  15. package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js → calendar-appointment-editor-dialog-D8DblVjW.js} +8 -8
  16. package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js.map → calendar-appointment-editor-dialog-D8DblVjW.js.map} +1 -1
  17. package/dist/_chunks/{care-plan-card-YWKV8Kjq.js → care-plan-card-DMjlYlFc.js} +2 -2
  18. package/dist/_chunks/{care-plan-card-YWKV8Kjq.js.map → care-plan-card-DMjlYlFc.js.map} +1 -1
  19. package/dist/_chunks/{care-plan-entry-card-CApivtMW.js → care-plan-entry-card-3hguBW45.js} +2 -2
  20. package/dist/_chunks/{care-plan-entry-card-CApivtMW.js.map → care-plan-entry-card-3hguBW45.js.map} +1 -1
  21. package/dist/_chunks/{contact-profile-card-uExd3pKC.js → contact-profile-card-CAL66GaH.js} +120 -111
  22. package/dist/_chunks/contact-profile-card-CAL66GaH.js.map +1 -0
  23. package/dist/_chunks/{data-table-C5uN4ato.js → data-table-zXBxFYpJ.js} +761 -715
  24. package/dist/_chunks/data-table-zXBxFYpJ.js.map +1 -0
  25. package/dist/_chunks/{date-range-picker-B_j4VQlV.js → date-range-picker-DCADIR8o.js} +2 -2
  26. package/dist/_chunks/{date-range-picker-B_j4VQlV.js.map → date-range-picker-DCADIR8o.js.map} +1 -1
  27. package/dist/_chunks/{date-time-picker-cwsWiB4q.js → date-time-picker-CT2bC7-A.js} +2 -2
  28. package/dist/_chunks/{date-time-picker-cwsWiB4q.js.map → date-time-picker-CT2bC7-A.js.map} +1 -1
  29. package/dist/_chunks/{document-preview-U8H6tnDJ.js → document-preview-BalyZqnn.js} +2 -2
  30. package/dist/_chunks/{document-preview-U8H6tnDJ.js.map → document-preview-BalyZqnn.js.map} +1 -1
  31. package/dist/_chunks/{document-scanner-Bf3VUp00.js → document-scanner-5p-Uu8dy.js} +2 -2
  32. package/dist/_chunks/{document-scanner-Bf3VUp00.js.map → document-scanner-5p-Uu8dy.js.map} +1 -1
  33. package/dist/_chunks/{entity-summary-BKfR4Vws.js → entity-summary-BbqqYqF1.js} +2 -2
  34. package/dist/_chunks/{entity-summary-BKfR4Vws.js.map → entity-summary-BbqqYqF1.js.map} +1 -1
  35. package/dist/_chunks/{error-summary-mGxIyDAY.js → error-summary-DxNhwf_G.js} +2 -2
  36. package/dist/_chunks/{error-summary-mGxIyDAY.js.map → error-summary-DxNhwf_G.js.map} +1 -1
  37. package/dist/_chunks/{face-scheme-DdVLQ5dP.js → face-scheme-e2M2HJGz.js} +2 -2
  38. package/dist/_chunks/{face-scheme-DdVLQ5dP.js.map → face-scheme-e2M2HJGz.js.map} +1 -1
  39. package/dist/_chunks/{file-manager-CnGBVX_q.js → file-manager-BDKe59sg.js} +2 -2
  40. package/dist/_chunks/{file-manager-CnGBVX_q.js.map → file-manager-BDKe59sg.js.map} +1 -1
  41. package/dist/_chunks/{forgot-password-form-CeTb5p-x.js → forgot-password-form-vfCO2-Tt.js} +4 -4
  42. package/dist/_chunks/{forgot-password-form-CeTb5p-x.js.map → forgot-password-form-vfCO2-Tt.js.map} +1 -1
  43. package/dist/_chunks/{freemium-paywall-CM0zQSDE.js → freemium-paywall-BDeq9QWR.js} +2 -2
  44. package/dist/_chunks/{freemium-paywall-CM0zQSDE.js.map → freemium-paywall-BDeq9QWR.js.map} +1 -1
  45. package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js → gestational-age-calculator-AnaH00nk.js} +2 -2
  46. package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js.map → gestational-age-calculator-AnaH00nk.js.map} +1 -1
  47. package/dist/_chunks/{hcg-doubling-BJFR3onB.js → hcg-doubling-DdyUt4gz.js} +2 -2
  48. package/dist/_chunks/{hcg-doubling-BJFR3onB.js.map → hcg-doubling-DdyUt4gz.js.map} +1 -1
  49. package/dist/_chunks/{heatmap-Cz0Krieg.js → heatmap-D4qqpCEj.js} +1550 -1547
  50. package/dist/_chunks/{heatmap-Cz0Krieg.js.map → heatmap-D4qqpCEj.js.map} +1 -1
  51. package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js → help-me-write-templates-YmceSxf5.js} +3 -3
  52. package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js.map → help-me-write-templates-YmceSxf5.js.map} +1 -1
  53. package/dist/_chunks/info-tip-C-MPkShR.js +266 -0
  54. package/dist/_chunks/info-tip-C-MPkShR.js.map +1 -0
  55. package/dist/_chunks/{kit-extensions-C4o_tFN4.js → kit-extensions-BOnTM4Yf.js} +3 -3
  56. package/dist/_chunks/{kit-extensions-C4o_tFN4.js.map → kit-extensions-BOnTM4Yf.js.map} +1 -1
  57. package/dist/_chunks/{link-cell-renderer-BRek9kz7.js → link-cell-renderer-C8vfCOEp.js} +2 -2
  58. package/dist/_chunks/{link-cell-renderer-BRek9kz7.js.map → link-cell-renderer-C8vfCOEp.js.map} +1 -1
  59. package/dist/_chunks/{login-dev-card-D5BV5j1i.js → login-dev-card-Cz1Clugq.js} +3 -3
  60. package/dist/_chunks/{login-dev-card-D5BV5j1i.js.map → login-dev-card-Cz1Clugq.js.map} +1 -1
  61. package/dist/_chunks/{marketplace-app-shell-BsctSegT.js → marketplace-app-shell-C-4QF6mp.js} +2 -2
  62. package/dist/_chunks/{marketplace-app-shell-BsctSegT.js.map → marketplace-app-shell-C-4QF6mp.js.map} +1 -1
  63. package/dist/_chunks/{notes-panel-BjTpaz8d.js → notes-panel-SlzUL8in.js} +4 -4
  64. package/dist/_chunks/{notes-panel-BjTpaz8d.js.map → notes-panel-SlzUL8in.js.map} +1 -1
  65. package/dist/_chunks/{notice-group-DkYzKyAZ.js → notice-group-B-trhof8.js} +3 -3
  66. package/dist/_chunks/{notice-group-DkYzKyAZ.js.map → notice-group-B-trhof8.js.map} +1 -1
  67. package/dist/_chunks/{patient-details-BXM3dRKb.js → patient-details-wMgTFtpp.js} +2 -2
  68. package/dist/_chunks/{patient-details-BXM3dRKb.js.map → patient-details-wMgTFtpp.js.map} +1 -1
  69. package/dist/_chunks/{patient-field-row--dCDO5oB.js → patient-field-row-Bhm2Ig1P.js} +2 -2
  70. package/dist/_chunks/{patient-field-row--dCDO5oB.js.map → patient-field-row-Bhm2Ig1P.js.map} +1 -1
  71. package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js → patient-summary-card-DMdPPG3n.js} +2 -2
  72. package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js.map → patient-summary-card-DMdPPG3n.js.map} +1 -1
  73. package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js → payment-automation-upsell-u5EuFyCY.js} +2 -2
  74. package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js.map → payment-automation-upsell-u5EuFyCY.js.map} +1 -1
  75. package/dist/_chunks/{payment-form-PBuh8PIa.js → payment-form-C-s1x-bU.js} +2 -2
  76. package/dist/_chunks/{payment-form-PBuh8PIa.js.map → payment-form-C-s1x-bU.js.map} +1 -1
  77. package/dist/_chunks/{pdf-viewer-DlceXkfW.js → pdf-viewer-BnBKdx0y.js} +2 -2
  78. package/dist/_chunks/{pdf-viewer-DlceXkfW.js.map → pdf-viewer-BnBKdx0y.js.map} +1 -1
  79. package/dist/_chunks/{practice-profile-hero-BAvGdQmt.js → practice-profile-hero-Bb4YyxHA.js} +31 -29
  80. package/dist/_chunks/practice-profile-hero-Bb4YyxHA.js.map +1 -0
  81. package/dist/_chunks/{practice-results-ChBP9x2r.js → practice-results-BXz01sti.js} +485 -445
  82. package/dist/_chunks/practice-results-BXz01sti.js.map +1 -0
  83. package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js → pregnancy-dating-D6dLkMpl.js} +2 -2
  84. package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js.map → pregnancy-dating-D6dLkMpl.js.map} +1 -1
  85. package/dist/_chunks/{progress-notice-DiHWZ8Ms.js → progress-notice-F7ao70ZP.js} +2 -2
  86. package/dist/_chunks/{progress-notice-DiHWZ8Ms.js.map → progress-notice-F7ao70ZP.js.map} +1 -1
  87. package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js → radiograph-panel.agent-0ngF2sGS.js} +2 -2
  88. package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js.map → radiograph-panel.agent-0ngF2sGS.js.map} +1 -1
  89. package/dist/_chunks/{registration-form-JzzTomhd.js → registration-form-CEJRUS9G.js} +3 -3
  90. package/dist/_chunks/{registration-form-JzzTomhd.js.map → registration-form-CEJRUS9G.js.map} +1 -1
  91. package/dist/_chunks/{reserved.agent-BxD0gnbt.js → reserved.agent-C-C9cvO5.js} +2 -2
  92. package/dist/_chunks/{reserved.agent-BxD0gnbt.js.map → reserved.agent-C-C9cvO5.js.map} +1 -1
  93. package/dist/_chunks/{reset-password-form-DDdGEoIL.js → reset-password-form-B0acanDD.js} +4 -4
  94. package/dist/_chunks/{reset-password-form-DDdGEoIL.js.map → reset-password-form-B0acanDD.js.map} +1 -1
  95. package/dist/_chunks/{reviews-panel-jPYgYvxG.js → reviews-panel-CtrwZOUS.js} +215 -205
  96. package/dist/_chunks/reviews-panel-CtrwZOUS.js.map +1 -0
  97. package/dist/_chunks/{rich-text-editor-F04przIt.js → rich-text-editor-C3nANKZt.js} +2 -2
  98. package/dist/_chunks/{rich-text-editor-F04przIt.js.map → rich-text-editor-C3nANKZt.js.map} +1 -1
  99. package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js → send-registration-link-form-Nn0jf65G.js} +3 -3
  100. package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js.map → send-registration-link-form-Nn0jf65G.js.map} +1 -1
  101. package/dist/_chunks/{sign-document-B5qZhthO.js → sign-document-CQZVzfpk.js} +2 -2
  102. package/dist/_chunks/{sign-document-B5qZhthO.js.map → sign-document-CQZVzfpk.js.map} +1 -1
  103. package/dist/_chunks/{signature-request-DB6kePIm.js → signature-request-DtLph5Z4.js} +3 -3
  104. package/dist/_chunks/{signature-request-DB6kePIm.js.map → signature-request-DtLph5Z4.js.map} +1 -1
  105. package/dist/_chunks/{switch-D--x7n6h.js → switch-DO6uC4HJ.js} +40 -36
  106. package/dist/_chunks/switch-DO6uC4HJ.js.map +1 -0
  107. package/dist/_chunks/{task-editor-BiPGFXtB.js → task-editor-CmXcj6cC.js} +4 -4
  108. package/dist/_chunks/{task-editor-BiPGFXtB.js.map → task-editor-CmXcj6cC.js.map} +1 -1
  109. package/dist/_chunks/{tasks-panel-iVeuu9a8.js → tasks-panel-CFo5uIHx.js} +3 -3
  110. package/dist/_chunks/{tasks-panel-iVeuu9a8.js.map → tasks-panel-CFo5uIHx.js.map} +1 -1
  111. package/dist/_chunks/{theme-toggle-jZRbAidE.js → theme-toggle-Czq3K9jB.js} +2 -2
  112. package/dist/_chunks/{theme-toggle-jZRbAidE.js.map → theme-toggle-Czq3K9jB.js.map} +1 -1
  113. package/dist/_chunks/{time-picker-DSt-ns5F.js → time-picker-DDr5vhwQ.js} +344 -332
  114. package/dist/_chunks/time-picker-DDr5vhwQ.js.map +1 -0
  115. package/dist/_chunks/{tooth-scheme-Bd7xECuj.js → tooth-scheme-C-ALCHaV.js} +2 -2
  116. package/dist/_chunks/{tooth-scheme-Bd7xECuj.js.map → tooth-scheme-C-ALCHaV.js.map} +1 -1
  117. package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js → use-appointment-details-read-VI26Z-pc.js} +3 -3
  118. package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js.map → use-appointment-details-read-VI26Z-pc.js.map} +1 -1
  119. package/dist/_chunks/{voice-control-panel-BGJjUwnY.js → voice-control-panel-B0TUZAiP.js} +3 -3
  120. package/dist/_chunks/{voice-control-panel-BGJjUwnY.js.map → voice-control-panel-B0TUZAiP.js.map} +1 -1
  121. package/dist/_chunks/{warning-stack-3S7e2q07.js → warning-stack-Dx7cpj10.js} +2 -2
  122. package/dist/_chunks/{warning-stack-3S7e2q07.js.map → warning-stack-Dx7cpj10.js.map} +1 -1
  123. package/dist/_chunks/week-availability-CsTiwtYj.js +318 -0
  124. package/dist/_chunks/week-availability-CsTiwtYj.js.map +1 -0
  125. package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js +252 -0
  126. package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js.map +1 -0
  127. package/dist/_chunks/{workflow-map-B1jf6QaB.js → workflow-map-DWk-rZse.js} +2 -2
  128. package/dist/_chunks/{workflow-map-B1jf6QaB.js.map → workflow-map-DWk-rZse.js.map} +1 -1
  129. package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js → workflow-webhook-action-DILFqAVd.js} +2 -2
  130. package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js.map → workflow-webhook-action-DILFqAVd.js.map} +1 -1
  131. package/dist/ag-grid.css +5 -1
  132. package/dist/agent-catalog.json +1 -1
  133. package/dist/components/ai-credits-notice/index.js +1 -1
  134. package/dist/components/ai-permission-notice/index.js +1 -1
  135. package/dist/components/alert/alert.d.ts.map +1 -1
  136. package/dist/components/alert/index.js +1 -1
  137. package/dist/components/appointment-details-panel/index.js +1 -1
  138. package/dist/components/audio-recorder/index.js +1 -1
  139. package/dist/components/booking/index.js +1 -1
  140. package/dist/components/care-plan-card/index.js +1 -1
  141. package/dist/components/care-plan-entry-card/index.js +1 -1
  142. package/dist/components/contact-profile-card/contact-profile-card.d.ts +8 -0
  143. package/dist/components/contact-profile-card/contact-profile-card.d.ts.map +1 -1
  144. package/dist/components/contact-profile-card/index.js +1 -1
  145. package/dist/components/data-table/data-table.d.ts +6 -0
  146. package/dist/components/data-table/data-table.d.ts.map +1 -1
  147. package/dist/components/data-table/header-min-width.d.ts +21 -0
  148. package/dist/components/data-table/header-min-width.d.ts.map +1 -0
  149. package/dist/components/data-table/index.js +2 -2
  150. package/dist/components/date-range-picker/index.js +1 -1
  151. package/dist/components/date-time-picker/index.js +1 -1
  152. package/dist/components/document-preview/index.js +1 -1
  153. package/dist/components/document-scanner/index.js +1 -1
  154. package/dist/components/entity-summary/index.js +1 -1
  155. package/dist/components/error-summary/index.js +1 -1
  156. package/dist/components/face-scheme/index.js +1 -1
  157. package/dist/components/file-manager/index.js +1 -1
  158. package/dist/components/freemium-paywall/index.js +1 -1
  159. package/dist/components/gestational-age-calculator/index.js +1 -1
  160. package/dist/components/hcg-doubling/index.js +1 -1
  161. package/dist/components/heatmap/heatmap.d.ts +5 -0
  162. package/dist/components/heatmap/heatmap.d.ts.map +1 -1
  163. package/dist/components/heatmap/index.js +1 -1
  164. package/dist/components/index.d.ts +2 -0
  165. package/dist/components/index.d.ts.map +1 -1
  166. package/dist/components/info-tip/index.js +1 -1
  167. package/dist/components/info-tip/info-tip.d.ts +10 -0
  168. package/dist/components/info-tip/info-tip.d.ts.map +1 -1
  169. package/dist/components/notes-panel/index.js +1 -1
  170. package/dist/components/notice-group/index.js +1 -1
  171. package/dist/components/patient-details/index.js +1 -1
  172. package/dist/components/patient-summary-card/index.js +1 -1
  173. package/dist/components/patient-table/index.js +1 -1
  174. package/dist/components/payment-form/index.js +1 -1
  175. package/dist/components/pdf-viewer/index.js +1 -1
  176. package/dist/components/practice-profile-hero/index.js +1 -1
  177. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +7 -0
  178. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
  179. package/dist/components/practice-results/index.js +1 -1
  180. package/dist/components/practice-results/practice-results.d.ts +13 -0
  181. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  182. package/dist/components/pregnancy-dating/index.js +1 -1
  183. package/dist/components/progress-notice/index.js +1 -1
  184. package/dist/components/radiograph-panel/index.js +1 -1
  185. package/dist/components/reviews-panel/index.js +1 -1
  186. package/dist/components/reviews-panel/reviews-panel.d.ts +13 -0
  187. package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
  188. package/dist/components/rich-text-editor/index.js +2 -2
  189. package/dist/components/sign-document/index.js +1 -1
  190. package/dist/components/switch/index.js +1 -1
  191. package/dist/components/switch/switch.d.ts +2 -0
  192. package/dist/components/switch/switch.d.ts.map +1 -1
  193. package/dist/components/task-editor/index.js +1 -1
  194. package/dist/components/tasks-panel/index.js +1 -1
  195. package/dist/components/theme-toggle/index.js +1 -1
  196. package/dist/components/time-picker/index.js +1 -1
  197. package/dist/components/time-picker/time-picker.d.ts.map +1 -1
  198. package/dist/components/tooth-scheme/index.js +1 -1
  199. package/dist/components/voice-control-panel/index.js +1 -1
  200. package/dist/components/warning-stack/index.js +1 -1
  201. package/dist/components/week-availability/index.d.ts +3 -0
  202. package/dist/components/week-availability/index.d.ts.map +1 -0
  203. package/dist/components/week-availability/index.js +10 -0
  204. package/dist/components/week-availability/index.js.map +1 -0
  205. package/dist/components/week-availability/week-availability.d.ts +68 -0
  206. package/dist/components/week-availability/week-availability.d.ts.map +1 -0
  207. package/dist/components/weekly-hours-editor/index.d.ts +3 -0
  208. package/dist/components/weekly-hours-editor/index.d.ts.map +1 -0
  209. package/dist/components/weekly-hours-editor/index.js +9 -0
  210. package/dist/components/weekly-hours-editor/index.js.map +1 -0
  211. package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts +42 -0
  212. package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts.map +1 -0
  213. package/dist/components/workflow/index.js +1 -1
  214. package/dist/core.css +1 -1
  215. package/dist/i18n/locales/ar.d.ts +34 -0
  216. package/dist/i18n/locales/ar.d.ts.map +1 -1
  217. package/dist/i18n/locales/ar.js +34 -0
  218. package/dist/i18n/locales/ar.js.map +1 -1
  219. package/dist/i18n/locales/de.d.ts +34 -0
  220. package/dist/i18n/locales/de.d.ts.map +1 -1
  221. package/dist/i18n/locales/de.js +34 -0
  222. package/dist/i18n/locales/de.js.map +1 -1
  223. package/dist/i18n/locales/el.d.ts +34 -0
  224. package/dist/i18n/locales/el.d.ts.map +1 -1
  225. package/dist/i18n/locales/el.js +34 -0
  226. package/dist/i18n/locales/el.js.map +1 -1
  227. package/dist/i18n/locales/en.d.ts +34 -0
  228. package/dist/i18n/locales/en.d.ts.map +1 -1
  229. package/dist/i18n/locales/en.js +34 -0
  230. package/dist/i18n/locales/en.js.map +1 -1
  231. package/dist/i18n/locales/es.d.ts +34 -0
  232. package/dist/i18n/locales/es.d.ts.map +1 -1
  233. package/dist/i18n/locales/es.js +34 -0
  234. package/dist/i18n/locales/es.js.map +1 -1
  235. package/dist/i18n/locales/fr.d.ts +34 -0
  236. package/dist/i18n/locales/fr.d.ts.map +1 -1
  237. package/dist/i18n/locales/fr.js +34 -0
  238. package/dist/i18n/locales/fr.js.map +1 -1
  239. package/dist/i18n/locales/hi.d.ts +34 -0
  240. package/dist/i18n/locales/hi.d.ts.map +1 -1
  241. package/dist/i18n/locales/hi.js +34 -0
  242. package/dist/i18n/locales/hi.js.map +1 -1
  243. package/dist/i18n/locales/it.d.ts +34 -0
  244. package/dist/i18n/locales/it.d.ts.map +1 -1
  245. package/dist/i18n/locales/it.js +34 -0
  246. package/dist/i18n/locales/it.js.map +1 -1
  247. package/dist/i18n/locales/ja.d.ts +34 -0
  248. package/dist/i18n/locales/ja.d.ts.map +1 -1
  249. package/dist/i18n/locales/ja.js +34 -0
  250. package/dist/i18n/locales/ja.js.map +1 -1
  251. package/dist/i18n/locales/nl.d.ts +34 -0
  252. package/dist/i18n/locales/nl.d.ts.map +1 -1
  253. package/dist/i18n/locales/nl.js +34 -0
  254. package/dist/i18n/locales/nl.js.map +1 -1
  255. package/dist/i18n/locales/pl.d.ts +34 -0
  256. package/dist/i18n/locales/pl.d.ts.map +1 -1
  257. package/dist/i18n/locales/pl.js +34 -0
  258. package/dist/i18n/locales/pl.js.map +1 -1
  259. package/dist/i18n/locales/pt.d.ts +34 -0
  260. package/dist/i18n/locales/pt.d.ts.map +1 -1
  261. package/dist/i18n/locales/pt.js +34 -0
  262. package/dist/i18n/locales/pt.js.map +1 -1
  263. package/dist/i18n/locales/ro.d.ts +34 -0
  264. package/dist/i18n/locales/ro.d.ts.map +1 -1
  265. package/dist/i18n/locales/ro.js +34 -0
  266. package/dist/i18n/locales/ro.js.map +1 -1
  267. package/dist/i18n/locales/ru.d.ts +34 -0
  268. package/dist/i18n/locales/ru.d.ts.map +1 -1
  269. package/dist/i18n/locales/ru.js +34 -0
  270. package/dist/i18n/locales/ru.js.map +1 -1
  271. package/dist/i18n/locales/sq.d.ts +34 -0
  272. package/dist/i18n/locales/sq.d.ts.map +1 -1
  273. package/dist/i18n/locales/sq.js +34 -0
  274. package/dist/i18n/locales/sq.js.map +1 -1
  275. package/dist/i18n/locales/sv.d.ts +34 -0
  276. package/dist/i18n/locales/sv.d.ts.map +1 -1
  277. package/dist/i18n/locales/sv.js +34 -0
  278. package/dist/i18n/locales/sv.js.map +1 -1
  279. package/dist/i18n/locales/tr.d.ts +34 -0
  280. package/dist/i18n/locales/tr.d.ts.map +1 -1
  281. package/dist/i18n/locales/tr.js +34 -0
  282. package/dist/i18n/locales/tr.js.map +1 -1
  283. package/dist/i18n/locales/zh.d.ts +34 -0
  284. package/dist/i18n/locales/zh.d.ts.map +1 -1
  285. package/dist/i18n/locales/zh.js +34 -0
  286. package/dist/i18n/locales/zh.js.map +1 -1
  287. package/dist/index.js +879 -866
  288. package/dist/index.js.map +1 -1
  289. package/dist/locales/ar.json +34 -0
  290. package/dist/locales/de.json +34 -0
  291. package/dist/locales/el.json +34 -0
  292. package/dist/locales/en.json +34 -0
  293. package/dist/locales/es.json +34 -0
  294. package/dist/locales/fr.json +34 -0
  295. package/dist/locales/hi.json +34 -0
  296. package/dist/locales/it.json +34 -0
  297. package/dist/locales/ja.json +34 -0
  298. package/dist/locales/nl.json +34 -0
  299. package/dist/locales/pl.json +34 -0
  300. package/dist/locales/pt.json +34 -0
  301. package/dist/locales/ro.json +34 -0
  302. package/dist/locales/ru.json +34 -0
  303. package/dist/locales/sq.json +34 -0
  304. package/dist/locales/sv.json +34 -0
  305. package/dist/locales/tr.json +34 -0
  306. package/dist/locales/zh.json +34 -0
  307. package/dist/patterns/anamnesis/index.js +1 -1
  308. package/dist/patterns/calendar/index.js +1 -1
  309. package/dist/patterns/forgot-password-form/index.js +1 -1
  310. package/dist/patterns/help-me-write-templates/index.js +2 -2
  311. package/dist/patterns/login-form/index.js +1 -1
  312. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  313. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  314. package/dist/patterns/registration-form/index.js +1 -1
  315. package/dist/patterns/reset-password-form/index.js +1 -1
  316. package/dist/patterns/send-registration-link-form/index.js +1 -1
  317. package/dist/patterns/signature-request/index.js +1 -1
  318. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  319. package/dist/tokens.css +3 -1
  320. package/package.json +9 -1
  321. package/dist/_chunks/alert-9kEwDza3.js.map +0 -1
  322. package/dist/_chunks/contact-profile-card-uExd3pKC.js.map +0 -1
  323. package/dist/_chunks/data-table-C5uN4ato.js.map +0 -1
  324. package/dist/_chunks/info-tip-1Xsq9GLi.js +0 -230
  325. package/dist/_chunks/info-tip-1Xsq9GLi.js.map +0 -1
  326. package/dist/_chunks/practice-profile-hero-BAvGdQmt.js.map +0 -1
  327. package/dist/_chunks/practice-results-ChBP9x2r.js.map +0 -1
  328. package/dist/_chunks/reviews-panel-jPYgYvxG.js.map +0 -1
  329. package/dist/_chunks/switch-D--x7n6h.js.map +0 -1
  330. package/dist/_chunks/time-picker-DSt-ns5F.js.map +0 -1
@@ -1,19 +1,19 @@
1
- import { jsx as t, jsxs as n, Fragment as K } from "react/jsx-runtime";
2
- import { forwardRef as J, useState as H, useCallback as L, useMemo as C, useRef as F, useImperativeHandle as Q, useId as B, useEffect as W } from "react";
3
- import { c as _ } from "./index-D2ZczOXr.js";
4
- import { useTranslation as E } from "react-i18next";
5
- import { u as X } from "./registry-DvAUVLHh.js";
6
- import { R as k } from "./rating-CGYpg5dj.js";
1
+ import { jsx as t, jsxs as r, Fragment as _ } from "react/jsx-runtime";
2
+ import { forwardRef as Q, useState as E, useCallback as B, useMemo as C, useRef as F, useImperativeHandle as W, useId as H, useEffect as X } from "react";
3
+ import { c as $ } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as M } from "react-i18next";
5
+ import { u as Y } from "./registry-DvAUVLHh.js";
6
+ import { R as P } from "./rating-CGYpg5dj.js";
7
7
  import { C as A } from "./card-C85_Ndhb.js";
8
- import { C as Y, b as Z, a as ee } from "./collapsible-DVPM46bq.js";
9
- import { D as l } from "./description-list-BxzDN9o2.js";
10
- import { E as te } from "./empty-state-DwJ5YNzz.js";
8
+ import { C as Z, b as ee, a as te } from "./collapsible-DVPM46bq.js";
9
+ import { D as o } from "./description-list-BxzDN9o2.js";
10
+ import { E as se } from "./empty-state-DwJ5YNzz.js";
11
11
  import { S as T } from "./skeleton-tTWJpvAq.js";
12
- import { B as se } from "./button-DohK_Ak_.js";
12
+ import { B as ae } from "./button-DohK_Ak_.js";
13
13
  import { P as re } from "./panel-header-CbtlTe85.js";
14
- import { S as ae } from "./star-Bf9L2Uot.js";
15
- import { C as ne } from "./chevron-down-DWE7GSq9.js";
16
- const ie = {
14
+ import { S as ne } from "./star-Bf9L2Uot.js";
15
+ import { C as ie } from "./chevron-down-DWE7GSq9.js";
16
+ const le = {
17
17
  id: "reviews-panel",
18
18
  capabilities: ["filter"],
19
19
  state: {
@@ -55,8 +55,8 @@ const ie = {
55
55
  { args: { filter: 5 }, note: "Show only 5-star reviews." },
56
56
  { args: { filter: "all" }, note: "Clear the star filter." }
57
57
  ],
58
- invoke: (e, i) => {
59
- e.setFilter(i.filter);
58
+ invoke: (e, l) => {
59
+ e.setFilter(l.filter);
60
60
  }
61
61
  }
62
62
  },
@@ -73,21 +73,21 @@ const ie = {
73
73
  }
74
74
  }
75
75
  }, w = ["all", 5, 4, 3, 2, 1];
76
- function $(e) {
76
+ function U(e) {
77
77
  return Math.min(5, Math.max(1, Math.floor(e)));
78
78
  }
79
- function le(e) {
80
- const i = {
79
+ function oe(e) {
80
+ const l = {
81
81
  1: 0,
82
82
  2: 0,
83
83
  3: 0,
84
84
  4: 0,
85
85
  5: 0
86
86
  };
87
- for (const a of e) i[$(a.overallScore)] += 1;
88
- return i;
87
+ for (const p of e) l[U(p.overallScore)] += 1;
88
+ return l;
89
89
  }
90
- const oe = _(
90
+ const de = $(
91
91
  [
92
92
  "ds:relative ds:inline-flex ds:items-center ds:justify-center",
93
93
  "ds:gap-[var(--spacing-xs)]",
@@ -120,59 +120,59 @@ const oe = _(
120
120
  defaultVariants: { state: "idle" }
121
121
  }
122
122
  );
123
- function de({
123
+ function ce({
124
124
  filter: e,
125
- histogram: i,
126
- totalCount: a,
127
- onChange: c
125
+ histogram: l,
126
+ totalCount: p,
127
+ onChange: s
128
128
  }) {
129
- const { t: f } = E("ui"), y = B(), [N, o] = H(
129
+ const { t: f } = M("ui"), y = H(), [k, v] = E(
130
130
  () => Math.max(0, w.indexOf(e))
131
131
  );
132
- W(() => {
133
- const r = w.indexOf(e);
134
- r >= 0 && o(r);
132
+ X(() => {
133
+ const a = w.indexOf(e);
134
+ a >= 0 && v(a);
135
135
  }, [e]);
136
- const u = F(/* @__PURE__ */ new Map()), v = L((r) => {
137
- var d;
138
- (d = u.current.get(r)) == null || d.focus();
139
- }, []), p = w.length, P = L(
140
- (r, d) => {
141
- switch (r.key) {
136
+ const u = F(/* @__PURE__ */ new Map()), m = B((a) => {
137
+ var i;
138
+ (i = u.current.get(a)) == null || i.focus();
139
+ }, []), g = w.length, N = B(
140
+ (a, i) => {
141
+ switch (a.key) {
142
142
  case "ArrowDown":
143
143
  case "ArrowRight": {
144
- r.preventDefault();
145
- const s = (d + 1) % p;
146
- o(s), v(s), c(w[s]);
144
+ a.preventDefault();
145
+ const n = (i + 1) % g;
146
+ v(n), m(n), s(w[n]);
147
147
  break;
148
148
  }
149
149
  case "ArrowUp":
150
150
  case "ArrowLeft": {
151
- r.preventDefault();
152
- const s = (d - 1 + p) % p;
153
- o(s), v(s), c(w[s]);
151
+ a.preventDefault();
152
+ const n = (i - 1 + g) % g;
153
+ v(n), m(n), s(w[n]);
154
154
  break;
155
155
  }
156
156
  case "Home": {
157
- r.preventDefault(), o(0), v(0), c(w[0]);
157
+ a.preventDefault(), v(0), m(0), s(w[0]);
158
158
  break;
159
159
  }
160
160
  case "End": {
161
- r.preventDefault();
162
- const s = p - 1;
163
- o(s), v(s), c(w[s]);
161
+ a.preventDefault();
162
+ const n = g - 1;
163
+ v(n), m(n), s(w[n]);
164
164
  break;
165
165
  }
166
166
  case "Enter":
167
167
  case " ": {
168
- r.preventDefault(), c(w[d]);
168
+ a.preventDefault(), s(w[i]);
169
169
  break;
170
170
  }
171
171
  }
172
172
  },
173
- [p, v, c]
173
+ [g, m, s]
174
174
  );
175
- return /* @__PURE__ */ n(K, { children: [
175
+ return /* @__PURE__ */ r(_, { children: [
176
176
  /* @__PURE__ */ t(
177
177
  "h3",
178
178
  {
@@ -187,27 +187,27 @@ function de({
187
187
  role: "radiogroup",
188
188
  "aria-labelledby": y,
189
189
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]",
190
- children: w.map((r, d) => {
191
- const s = r === "all", x = s ? 0 : r, h = s ? a : i[x], S = r === e, V = N === d, m = s ? f("reviewsPanel.filter.allLabel", { count: h }) : f("reviewsPanel.filter.starsLabel", { stars: x, count: h });
192
- return /* @__PURE__ */ n(
190
+ children: w.map((a, i) => {
191
+ const n = a === "all", d = n ? 0 : a, x = n ? p : l[d], b = a === e, V = k === i, z = n ? f("reviewsPanel.filter.allLabel", { count: x }) : f("reviewsPanel.filter.starsLabel", { stars: d, count: x });
192
+ return /* @__PURE__ */ r(
193
193
  "button",
194
194
  {
195
- ref: (b) => {
196
- b ? u.current.set(d, b) : u.current.delete(d);
195
+ ref: (c) => {
196
+ c ? u.current.set(i, c) : u.current.delete(i);
197
197
  },
198
198
  type: "button",
199
199
  role: "radio",
200
- "aria-checked": S,
201
- "aria-label": m,
200
+ "aria-checked": b,
201
+ "aria-label": z,
202
202
  tabIndex: V ? 0 : -1,
203
203
  onClick: () => {
204
- o(d), c(r);
204
+ v(i), s(a);
205
205
  },
206
- onFocus: () => o(d),
207
- onKeyDown: (b) => P(b, d),
208
- "data-filter-bucket": String(r),
209
- className: oe({
210
- state: S ? "selected" : "idle"
206
+ onFocus: () => v(i),
207
+ onKeyDown: (c) => N(c, i),
208
+ "data-filter-bucket": String(a),
209
+ className: de({
210
+ state: b ? "selected" : "idle"
211
211
  }),
212
212
  children: [
213
213
  /* @__PURE__ */ t(
@@ -215,7 +215,7 @@ function de({
215
215
  {
216
216
  "aria-hidden": "true",
217
217
  className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
218
- children: s ? /* @__PURE__ */ t("span", { className: "type-label", children: f("reviewsPanel.filter.allShort") }) : /* @__PURE__ */ t(k, { value: x, size: "sm", decorative: !0 })
218
+ children: n ? /* @__PURE__ */ t("span", { className: "type-label", children: f("reviewsPanel.filter.allShort") }) : /* @__PURE__ */ t(P, { value: d, size: "sm", decorative: !0 })
219
219
  }
220
220
  ),
221
221
  /* @__PURE__ */ t(
@@ -232,57 +232,57 @@ function de({
232
232
  // text on the violet pill (~3:1, AA-fail). Match the
233
233
  // row's foreground when selected; slight opacity
234
234
  // keeps the count secondary to the label.
235
- S ? "ds:text-[color:var(--primary-foreground)]" : "ds:text-[var(--muted-foreground)]"
235
+ b ? "ds:text-[color:var(--primary-foreground)]" : "ds:text-[var(--muted-foreground)]"
236
236
  ].join(" "),
237
- children: h
237
+ children: x
238
238
  }
239
239
  )
240
240
  ]
241
241
  },
242
- String(r)
242
+ String(a)
243
243
  );
244
244
  })
245
245
  }
246
246
  )
247
247
  ] });
248
248
  }
249
- function ce({ review: e, locale: i }) {
250
- var r, d, s, x;
251
- const { t: a } = E("ui"), c = B(), f = B(), [y, N] = H(!1), o = !!(e.breakdown && Object.values(e.breakdown).some((h) => h != null)), u = !!e.reply || o || !!e.futureVisit || !!e.recommendation, v = C(() => {
249
+ function ue({ review: e, locale: l, textLang: p }) {
250
+ var i, n, d, x;
251
+ const { t: s } = M("ui"), f = H(), y = H(), [k, v] = E(!1), u = !!(e.breakdown && Object.values(e.breakdown).some((b) => b != null)), m = !!e.reply || u || !!e.futureVisit || !!e.recommendation, g = C(() => {
252
252
  if (!e.authoredAt) return "";
253
253
  try {
254
- const h = new Date(e.authoredAt);
255
- return Number.isNaN(h.getTime()) ? e.authoredAt : new Intl.DateTimeFormat(i, { dateStyle: "medium" }).format(
256
- h
254
+ const b = new Date(e.authoredAt);
255
+ return Number.isNaN(b.getTime()) ? e.authoredAt : new Intl.DateTimeFormat(l, { dateStyle: "medium" }).format(
256
+ b
257
257
  );
258
258
  } catch {
259
259
  return e.authoredAt;
260
260
  }
261
- }, [e.authoredAt, i]), p = e.pseudonym ?? a("reviewsPanel.anonymous"), P = /* @__PURE__ */ n(
262
- Y,
261
+ }, [e.authoredAt, l]), N = e.pseudonym ?? s("reviewsPanel.anonymous"), a = /* @__PURE__ */ r(
262
+ Z,
263
263
  {
264
- open: u ? y : !1,
265
- onOpenChange: u ? N : void 0,
264
+ open: m ? k : !1,
265
+ onOpenChange: m ? v : void 0,
266
266
  children: [
267
- /* @__PURE__ */ n(A.Footer, { children: [
268
- /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: v }),
269
- u ? /* @__PURE__ */ t(Z, { asChild: !0, children: /* @__PURE__ */ n(
267
+ /* @__PURE__ */ r(A.Footer, { children: [
268
+ /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: g }),
269
+ m ? /* @__PURE__ */ t(ee, { asChild: !0, children: /* @__PURE__ */ r(
270
270
  "button",
271
271
  {
272
- id: c,
272
+ id: f,
273
273
  type: "button",
274
274
  "data-review-trigger": !0,
275
- "aria-controls": f,
275
+ "aria-controls": y,
276
276
  className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:ps-[var(--spacing-2xs)] ds:pe-[var(--spacing-2xs)] ds:pt-[var(--spacing-2xs)] ds:pb-[var(--spacing-2xs)] ds:bg-transparent ds:border-0 ds:text-[length:var(--font-size-sm)] ds:text-[var(--review-details-foreground)] ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:hover:underline ds:cursor-pointer ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
277
277
  children: [
278
- a(y ? "reviewsPanel.card.collapse" : "reviewsPanel.card.expand"),
278
+ s(k ? "reviewsPanel.card.collapse" : "reviewsPanel.card.expand"),
279
279
  /* @__PURE__ */ t(
280
- ne,
280
+ ie,
281
281
  {
282
282
  "aria-hidden": "true",
283
283
  className: [
284
284
  "ds:size-4 ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
285
- y ? "ds:rotate-180" : ""
285
+ k ? "ds:rotate-180" : ""
286
286
  ].filter(Boolean).join(" ")
287
287
  }
288
288
  )
@@ -290,50 +290,51 @@ function ce({ review: e, locale: i }) {
290
290
  }
291
291
  ) }) : null
292
292
  ] }),
293
- u ? /* @__PURE__ */ t(ee, { id: f, "aria-labelledby": c, children: /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: [
294
- o || e.futureVisit || e.recommendation ? /* @__PURE__ */ n(l, { layout: "inline", density: "compact", children: [
295
- ((r = e.breakdown) == null ? void 0 : r.appointmentScore) != null ? /* @__PURE__ */ n(l.Row, { children: [
296
- /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.appointment") }),
297
- /* @__PURE__ */ t(l.Detail, { children: /* @__PURE__ */ t(
298
- k,
293
+ m ? /* @__PURE__ */ t(te, { id: y, "aria-labelledby": f, children: /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: [
294
+ u || e.futureVisit || e.recommendation ? /* @__PURE__ */ r(o, { layout: "inline", density: "compact", children: [
295
+ ((i = e.breakdown) == null ? void 0 : i.appointmentScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
296
+ /* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.appointment") }),
297
+ /* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(
298
+ P,
299
299
  {
300
300
  value: e.breakdown.appointmentScore,
301
301
  size: "sm"
302
302
  }
303
303
  ) })
304
304
  ] }) : null,
305
- ((d = e.breakdown) == null ? void 0 : d.communicationScore) != null ? /* @__PURE__ */ n(l.Row, { children: [
306
- /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.communication") }),
307
- /* @__PURE__ */ t(l.Detail, { children: /* @__PURE__ */ t(
308
- k,
305
+ ((n = e.breakdown) == null ? void 0 : n.communicationScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
306
+ /* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.communication") }),
307
+ /* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(
308
+ P,
309
309
  {
310
310
  value: e.breakdown.communicationScore,
311
311
  size: "sm"
312
312
  }
313
313
  ) })
314
314
  ] }) : null,
315
- ((s = e.breakdown) == null ? void 0 : s.staffScore) != null ? /* @__PURE__ */ n(l.Row, { children: [
316
- /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.staff") }),
317
- /* @__PURE__ */ t(l.Detail, { children: /* @__PURE__ */ t(k, { value: e.breakdown.staffScore, size: "sm" }) })
315
+ ((d = e.breakdown) == null ? void 0 : d.staffScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
316
+ /* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.staff") }),
317
+ /* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(P, { value: e.breakdown.staffScore, size: "sm" }) })
318
318
  ] }) : null,
319
- ((x = e.breakdown) == null ? void 0 : x.overallScore) != null ? /* @__PURE__ */ n(l.Row, { children: [
320
- /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.overall") }),
321
- /* @__PURE__ */ t(l.Detail, { children: /* @__PURE__ */ t(k, { value: e.breakdown.overallScore, size: "sm" }) })
319
+ ((x = e.breakdown) == null ? void 0 : x.overallScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
320
+ /* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.overall") }),
321
+ /* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(P, { value: e.breakdown.overallScore, size: "sm" }) })
322
322
  ] }) : null,
323
- e.futureVisit ? /* @__PURE__ */ n(l.Row, { children: [
324
- /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.futureVisit") }),
325
- /* @__PURE__ */ t(l.Detail, { children: a(`reviewsPanel.answer.${e.futureVisit}`) })
323
+ e.futureVisit ? /* @__PURE__ */ r(o.Row, { children: [
324
+ /* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.futureVisit") }),
325
+ /* @__PURE__ */ t(o.Detail, { children: s(`reviewsPanel.answer.${e.futureVisit}`) })
326
326
  ] }) : null,
327
- e.recommendation ? /* @__PURE__ */ n(l.Row, { children: [
328
- /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.recommendation") }),
329
- /* @__PURE__ */ t(l.Detail, { children: a(`reviewsPanel.answer.${e.recommendation}`) })
327
+ e.recommendation ? /* @__PURE__ */ r(o.Row, { children: [
328
+ /* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.recommendation") }),
329
+ /* @__PURE__ */ t(o.Detail, { children: s(`reviewsPanel.answer.${e.recommendation}`) })
330
330
  ] }) : null
331
331
  ] }) : null,
332
- e.reply ? /* @__PURE__ */ n("div", { className: "ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]/40 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: [
333
- /* @__PURE__ */ t("p", { className: "type-label ds:m-0 ds:mb-[var(--spacing-2xs)] ds:text-[var(--muted-foreground)] ds:font-[var(--font-weight-semibold)]", children: a("reviewsPanel.replyTitle") }),
332
+ e.reply ? /* @__PURE__ */ r("div", { className: "ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]/40 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: [
333
+ /* @__PURE__ */ t("p", { className: "type-label ds:m-0 ds:mb-[var(--spacing-2xs)] ds:text-[var(--muted-foreground)] ds:font-[var(--font-weight-semibold)]", children: s("reviewsPanel.replyTitle") }),
334
334
  /* @__PURE__ */ t(
335
335
  "p",
336
336
  {
337
+ lang: p,
337
338
  dir: "auto",
338
339
  className: "type-body-sm ds:m-0 ds:text-[var(--foreground)] ds:[white-space:pre-line]",
339
340
  children: e.reply
@@ -344,48 +345,49 @@ function ce({ review: e, locale: i }) {
344
345
  ]
345
346
  }
346
347
  );
347
- return /* @__PURE__ */ n(A, { variant: "default", className: "ds:shadow-[var(--shadow-sm)]", children: [
348
- /* @__PURE__ */ t(A.Header, { children: /* @__PURE__ */ n("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
348
+ return /* @__PURE__ */ r(A, { variant: "default", className: "ds:shadow-[var(--shadow-sm)]", children: [
349
+ /* @__PURE__ */ t(A.Header, { children: /* @__PURE__ */ r("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
349
350
  /* @__PURE__ */ t(
350
351
  "h4",
351
352
  {
352
353
  dir: e.pseudonym ? "auto" : void 0,
353
354
  className: "type-title-item ds:m-0 ds:text-[var(--foreground)]",
354
- children: p
355
+ children: N
355
356
  }
356
357
  ),
357
- /* @__PURE__ */ t(k, { value: e.overallScore, size: "sm" })
358
+ /* @__PURE__ */ t(P, { value: e.overallScore, size: "sm" })
358
359
  ] }) }),
359
360
  e.comment ? /* @__PURE__ */ t(A.Body, { children: /* @__PURE__ */ t(
360
361
  "p",
361
362
  {
363
+ lang: p,
362
364
  dir: "auto",
363
365
  className: "type-body ds:m-0 ds:text-[var(--foreground)] ds:line-clamp-2",
364
366
  children: e.comment
365
367
  }
366
368
  ) }) : null,
367
- P
369
+ a
368
370
  ] });
369
371
  }
370
- function ue({ hideFilter: e }) {
371
- return /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
372
- /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
372
+ function me({ hideFilter: e }) {
373
+ return /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
374
+ /* @__PURE__ */ r("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
373
375
  /* @__PURE__ */ t(T, { variant: "text", width: "40%" }),
374
376
  /* @__PURE__ */ t(T, { variant: "text", width: "20%" })
375
377
  ] }),
376
- e ? null : /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-xs)]", children: Array.from({ length: 6 }, (i, a) => /* @__PURE__ */ t(
378
+ e ? null : /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-xs)]", children: Array.from({ length: 6 }, (l, p) => /* @__PURE__ */ t(
377
379
  T,
378
380
  {
379
381
  variant: "rounded",
380
382
  width: "4rem",
381
383
  height: "2.5rem"
382
384
  },
383
- `rp-fs-${a}`
385
+ `rp-fs-${p}`
384
386
  )) }),
385
- /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: Array.from({ length: 3 }, (i, a) => /* @__PURE__ */ t(T, { variant: "rounded", height: "6rem" }, `rp-rs-${a}`)) })
387
+ /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: Array.from({ length: 3 }, (l, p) => /* @__PURE__ */ t(T, { variant: "rounded", height: "6rem" }, `rp-rs-${p}`)) })
386
388
  ] });
387
389
  }
388
- const I = _(
390
+ const L = $(
389
391
  // No root padding: the shared `PanelHeader` owns the header's edge
390
392
  // padding (px/pt/pb) and the body wrapper below owns the content
391
393
  // padding, so the header divider can span flush to the panel edge.
@@ -410,151 +412,152 @@ const I = _(
410
412
  },
411
413
  defaultVariants: { surface: "flat" }
412
414
  }
413
- ), me = J(
415
+ ), pe = Q(
414
416
  ({
415
417
  reviews: e,
416
- aggregate: i,
417
- filter: a,
418
- onFilterChange: c,
419
- introSlot: f,
420
- headerActionSlot: y,
421
- "aria-label": N,
422
- id: o,
423
- className: u,
424
- hideFilter: v = !1,
425
- surface: p = "flat",
426
- loading: P = !1,
427
- ...r
428
- }, d) => {
429
- const { t: s, i18n: x } = E("ui"), h = x.language ?? "en", [S, V] = H("all"), m = a ?? S, b = L(
430
- (g) => {
431
- a === void 0 && V(g), c == null || c(g);
418
+ aggregate: l,
419
+ contentLang: p,
420
+ filter: s,
421
+ onFilterChange: f,
422
+ introSlot: y,
423
+ headerActionSlot: k,
424
+ "aria-label": v,
425
+ id: u,
426
+ className: m,
427
+ hideFilter: g = !1,
428
+ surface: N = "flat",
429
+ loading: a = !1,
430
+ ...i
431
+ }, n) => {
432
+ const { t: d, i18n: x } = M("ui"), b = x.language ?? "en", [V, z] = E("all"), c = s ?? V, S = B(
433
+ (h) => {
434
+ s === void 0 && z(h), f == null || f(h);
432
435
  },
433
- [a, c]
434
- ), U = C(
435
- () => i.histogram ?? le(e),
436
- [i.histogram, e]
437
- ), R = C(() => m === "all" ? e : e.filter((g) => $(g.overallScore) === m), [e, m]), M = F(m);
438
- M.current = m;
439
- const O = F(R.length);
440
- O.current = R.length;
441
- const q = C(
436
+ [s, f]
437
+ ), q = C(
438
+ () => l.histogram ?? oe(e),
439
+ [l.histogram, e]
440
+ ), R = C(() => c === "all" ? e : e.filter((h) => U(h.overallScore) === c), [e, c]), O = F(c);
441
+ O.current = c;
442
+ const K = F(R.length);
443
+ K.current = R.length;
444
+ const G = C(
442
445
  () => ({
443
- getFilter: () => M.current,
444
- setFilter: (g) => b(g),
445
- getVisibleCount: () => O.current
446
+ getFilter: () => O.current,
447
+ setFilter: (h) => S(h),
448
+ getVisibleCount: () => K.current
446
449
  }),
447
- [b]
450
+ [S]
448
451
  ), D = F(null);
449
- Q(d, () => D.current, []), X(ie, q, o);
450
- const z = N ?? s("reviewsPanel.regionLabel"), j = String(m);
451
- if (P)
452
+ W(n, () => D.current, []), Y(le, G, u);
453
+ const j = v ?? d("reviewsPanel.regionLabel"), I = String(c);
454
+ if (a)
452
455
  return /* @__PURE__ */ t(
453
456
  "section",
454
457
  {
455
458
  ref: D,
456
- "aria-label": z,
459
+ "aria-label": j,
457
460
  "aria-busy": "true",
458
- id: o,
461
+ id: u,
459
462
  "data-component": "reviews-panel",
460
- "data-component-id": o,
461
- "data-filter": j,
463
+ "data-component-id": u,
464
+ "data-filter": I,
462
465
  "data-state": "loading",
463
- className: I({ surface: p, className: u }),
464
- ...r,
465
- children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(ue, { hideFilter: v }) })
466
+ className: L({ surface: N, className: m }),
467
+ ...i,
468
+ children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(me, { hideFilter: g }) })
466
469
  }
467
470
  );
468
- if (i.count === 0 && e.length === 0)
471
+ if (l.count === 0 && e.length === 0)
469
472
  return /* @__PURE__ */ t(
470
473
  "section",
471
474
  {
472
475
  ref: D,
473
- "aria-label": z,
474
- id: o,
476
+ "aria-label": j,
477
+ id: u,
475
478
  "data-component": "reviews-panel",
476
- "data-component-id": o,
477
- "data-filter": j,
479
+ "data-component-id": u,
480
+ "data-filter": I,
478
481
  "data-state": "empty",
479
- className: I({ surface: p, className: u }),
480
- ...r,
482
+ className: L({ surface: N, className: m }),
483
+ ...i,
481
484
  children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(
482
- te,
485
+ se,
483
486
  {
484
487
  variant: "no-results",
485
- title: s("reviewsPanel.empty.title"),
486
- description: s("reviewsPanel.empty.description")
488
+ title: d("reviewsPanel.empty.title"),
489
+ description: d("reviewsPanel.empty.description")
487
490
  }
488
491
  ) })
489
492
  }
490
493
  );
491
- const G = !v;
492
- return /* @__PURE__ */ n(
494
+ const J = !g;
495
+ return /* @__PURE__ */ r(
493
496
  "section",
494
497
  {
495
498
  ref: D,
496
- "aria-label": z,
497
- id: o,
499
+ "aria-label": j,
500
+ id: u,
498
501
  "data-component": "reviews-panel",
499
- "data-component-id": o,
500
- "data-filter": j,
501
- className: I({ surface: p, className: u }),
502
- ...r,
502
+ "data-component-id": u,
503
+ "data-filter": I,
504
+ className: L({ surface: N, className: m }),
505
+ ...i,
503
506
  children: [
504
507
  /* @__PURE__ */ t(
505
508
  re,
506
509
  {
507
- title: s("reviewsPanel.title"),
508
- icon: /* @__PURE__ */ t(ae, { "aria-hidden": "true" }),
510
+ title: d("reviewsPanel.title"),
511
+ icon: /* @__PURE__ */ t(ne, { "aria-hidden": "true" }),
509
512
  titleScale: "section",
510
513
  sticky: !0,
511
514
  wrapActions: !0,
512
- actions: /* @__PURE__ */ n(K, { children: [
513
- y,
515
+ actions: /* @__PURE__ */ r(_, { children: [
516
+ k,
514
517
  /* @__PURE__ */ t(
515
- k,
518
+ P,
516
519
  {
517
- value: i.averageScore,
518
- reviews: { count: i.count },
520
+ value: l.averageScore,
521
+ reviews: { count: l.count },
519
522
  size: "md"
520
523
  }
521
524
  )
522
525
  ] }),
523
- filters: G ? /* @__PURE__ */ t(
524
- de,
526
+ filters: J ? /* @__PURE__ */ t(
527
+ ce,
525
528
  {
526
- filter: m,
527
- histogram: U,
528
- totalCount: i.count,
529
- onChange: b
529
+ filter: c,
530
+ histogram: q,
531
+ totalCount: l.count,
532
+ onChange: S
530
533
  }
531
534
  ) : void 0
532
535
  }
533
536
  ),
534
- /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:min-w-0 ds:p-[var(--spacing-md)]", children: [
535
- f || null,
537
+ /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:min-w-0 ds:p-[var(--spacing-md)]", children: [
538
+ y || null,
536
539
  R.length === 0 ? (
537
540
  // `role="status"` already implies `aria-live="polite"` —
538
541
  // declaring both would queue two announcements when the
539
542
  // filter changes (the radio's aria-checked flip + this
540
543
  // container's text). Keeping `role` only.
541
- /* @__PURE__ */ n(
544
+ /* @__PURE__ */ r(
542
545
  "div",
543
546
  {
544
547
  role: "status",
545
548
  "data-state": "no-match",
546
549
  className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)] ds:rounded-[var(--radius-md)] ds:border ds:border-dashed ds:border-[var(--border)] ds:p-[var(--spacing-lg)] ds:text-center",
547
550
  children: [
548
- /* @__PURE__ */ t("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children: m === "all" ? s("reviewsPanel.empty.title") : s("reviewsPanel.empty.filterDescription", {
549
- stars: m
551
+ /* @__PURE__ */ t("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children: c === "all" ? d("reviewsPanel.empty.title") : d("reviewsPanel.empty.filterDescription", {
552
+ stars: c
550
553
  }) }),
551
- m !== "all" ? /* @__PURE__ */ t(
552
- se,
554
+ c !== "all" ? /* @__PURE__ */ t(
555
+ ae,
553
556
  {
554
557
  intent: "secondary",
555
558
  size: "sm",
556
- onClick: () => b("all"),
557
- children: s("reviewsPanel.empty.resetFilter")
559
+ onClick: () => S("all"),
560
+ children: d("reviewsPanel.empty.resetFilter")
558
561
  }
559
562
  ) : null
560
563
  ]
@@ -563,9 +566,16 @@ const I = _(
563
566
  ) : /* @__PURE__ */ t(
564
567
  "ol",
565
568
  {
566
- "aria-label": s("reviewsPanel.listLabel"),
569
+ "aria-label": d("reviewsPanel.listLabel"),
567
570
  className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
568
- children: R.map((g) => /* @__PURE__ */ t("li", { "data-review-id": g.id, children: /* @__PURE__ */ t(ce, { review: g, locale: h }) }, g.id))
571
+ children: R.map((h) => /* @__PURE__ */ t("li", { "data-review-id": h.id, children: /* @__PURE__ */ t(
572
+ ue,
573
+ {
574
+ review: h,
575
+ locale: b,
576
+ textLang: h.contentLang ?? p
577
+ }
578
+ ) }, h.id))
569
579
  }
570
580
  )
571
581
  ] })
@@ -574,9 +584,9 @@ const I = _(
574
584
  );
575
585
  }
576
586
  );
577
- me.displayName = "ReviewsPanel";
587
+ pe.displayName = "ReviewsPanel";
578
588
  export {
579
- me as R,
580
- ie as r
589
+ pe as R,
590
+ le as r
581
591
  };
582
- //# sourceMappingURL=reviews-panel-jPYgYvxG.js.map
592
+ //# sourceMappingURL=reviews-panel-CtrwZOUS.js.map