@alfadocs/ui-kit-debug 1.50.0 → 1.51.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 (518) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DMittsR3.js → actions-cell-renderer-DBI33cMp.js} +4 -4
  2. package/dist/_chunks/{actions-cell-renderer-DMittsR3.js.map → actions-cell-renderer-DBI33cMp.js.map} +1 -1
  3. package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-CGhEEnFE.js} +3 -3
  4. package/dist/_chunks/{agenda-tray-BhZASyJm.js.map → agenda-tray-CGhEEnFE.js.map} +1 -1
  5. package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-C9K_ley1.js} +3 -3
  6. package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js.map → ai-credits-notice-C9K_ley1.js.map} +1 -1
  7. package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-DMG1o4Qa.js} +2 -2
  8. package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js.map → ai-permission-notice-DMG1o4Qa.js.map} +1 -1
  9. package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-ucwO-z8g.js} +2 -2
  10. package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js.map → ai-prompt-input-ucwO-z8g.js.map} +1 -1
  11. package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-K3gaNH94.js} +7 -7
  12. package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js.map → alia-sidebar-K3gaNH94.js.map} +1 -1
  13. package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-CPjry4ur.js} +2 -2
  14. package/dist/_chunks/{anamnesis-card-D8Si-2GV.js.map → anamnesis-card-CPjry4ur.js.map} +1 -1
  15. package/dist/_chunks/{anamnesis-summary-rows-CZirLRuv.js → anamnesis-summary-rows-D9LZZHLw.js} +9 -9
  16. package/dist/_chunks/{anamnesis-summary-rows-CZirLRuv.js.map → anamnesis-summary-rows-D9LZZHLw.js.map} +1 -1
  17. package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-DETaIfBb.js} +2 -2
  18. package/dist/_chunks/{appointment-card-BgLpE6T5.js.map → appointment-card-DETaIfBb.js.map} +1 -1
  19. package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-B79v56Zc.js} +4 -4
  20. package/dist/_chunks/{appointment-peek-Dk11UOVW.js.map → appointment-peek-B79v56Zc.js.map} +1 -1
  21. package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-tyJJPgVU.js} +5 -5
  22. package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js.map → appointment-timeline-tyJJPgVU.js.map} +1 -1
  23. package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-Dq4zto_L.js} +4 -4
  24. package/dist/_chunks/{appointment-tray-D7Gt6m8x.js.map → appointment-tray-Dq4zto_L.js.map} +1 -1
  25. package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-Ddlp5rVg.js} +3 -3
  26. package/dist/_chunks/{audio-recorder-DZBtAvLH.js.map → audio-recorder-Ddlp5rVg.js.map} +1 -1
  27. package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-BCEsdEOe.js} +4 -4
  28. package/dist/_chunks/{balance-badge-cell-klaxFNL_.js.map → balance-badge-cell-BCEsdEOe.js.map} +1 -1
  29. package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-1NAiZh0K.js} +2 -2
  30. package/dist/_chunks/{bishop-score-BMLRvXYF.js.map → bishop-score-1NAiZh0K.js.map} +1 -1
  31. package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-ZzzPZhhI.js} +2 -2
  32. package/dist/_chunks/{bmi-calculator-DUhRyyrA.js.map → bmi-calculator-ZzzPZhhI.js.map} +1 -1
  33. package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DmyX24Ls.js} +5 -5
  34. package/dist/_chunks/{booking-Cdzd8kyY.js.map → booking-DmyX24Ls.js.map} +1 -1
  35. package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
  36. package/dist/_chunks/button-CYPx2xFq.js.map +1 -0
  37. package/dist/_chunks/{button-group-BSDqso_C.js → button-group-t9RrsCS6.js} +3 -3
  38. package/dist/_chunks/{button-group-BSDqso_C.js.map → button-group-t9RrsCS6.js.map} +1 -1
  39. package/dist/_chunks/{calendar-zpE9qTM4.js → calendar-aqzmITxw.js} +543 -508
  40. package/dist/_chunks/calendar-aqzmITxw.js.map +1 -0
  41. package/dist/_chunks/{calendar-event-card-DplPh1wv.js → calendar-event-card-DyFSIehr.js} +148 -145
  42. package/dist/_chunks/{calendar-event-card-DplPh1wv.js.map → calendar-event-card-DyFSIehr.js.map} +1 -1
  43. package/dist/_chunks/calendar-workspace-BqoPkCUp.js +10597 -0
  44. package/dist/_chunks/calendar-workspace-BqoPkCUp.js.map +1 -0
  45. package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-amX33mMF.js} +2 -2
  46. package/dist/_chunks/{care-plan-card-ciBaaguw.js.map → care-plan-card-amX33mMF.js.map} +1 -1
  47. package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-DNkEucjN.js} +2 -2
  48. package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js.map → care-plan-entry-card-DNkEucjN.js.map} +1 -1
  49. package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-CJi853Rf.js} +2 -2
  50. package/dist/_chunks/{care-plan-header-DKV1gLqv.js.map → care-plan-header-CJi853Rf.js.map} +1 -1
  51. package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-2EhJsAtl.js} +2 -2
  52. package/dist/_chunks/{carousel.agent-DqDGR2yH.js.map → carousel.agent-2EhJsAtl.js.map} +1 -1
  53. package/dist/_chunks/{chart-VjuXDXOZ.js → chart-B2HnwMP5.js} +3 -3
  54. package/dist/_chunks/{chart-VjuXDXOZ.js.map → chart-B2HnwMP5.js.map} +1 -1
  55. package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-CHUsUFOD.js} +2 -2
  56. package/dist/_chunks/{chat-input-BVho_SqP.js.map → chat-input-CHUsUFOD.js.map} +1 -1
  57. package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DTcRGhNo.js} +3 -3
  58. package/dist/_chunks/{chat-message-B4ihjNy3.js.map → chat-message-DTcRGhNo.js.map} +1 -1
  59. package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-BrwcZNPq.js} +2 -2
  60. package/dist/_chunks/{code-block-C_eNHWaa.js.map → code-block-BrwcZNPq.js.map} +1 -1
  61. package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-DMheLE65.js} +3 -3
  62. package/dist/_chunks/{connection-status-Cfux3TvH.js.map → connection-status-DMheLE65.js.map} +1 -1
  63. package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-zQLGGFKG.js} +2 -2
  64. package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js.map → contact-profile-card-zQLGGFKG.js.map} +1 -1
  65. package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-5iuM3jcm.js} +3 -3
  66. package/dist/_chunks/{control-room-rail-DAO0qfOI.js.map → control-room-rail-5iuM3jcm.js.map} +1 -1
  67. package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-C-KvrgOG.js} +2 -2
  68. package/dist/_chunks/{copy-field-Cm4y5Bff.js.map → copy-field-C-KvrgOG.js.map} +1 -1
  69. package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-DQMCeEzn.js} +2 -2
  70. package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js.map → cycle-calculator-DQMCeEzn.js.map} +1 -1
  71. package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-H7uph3HO.js} +2 -2
  72. package/dist/_chunks/{dashboard-grid-uX7x1ePj.js.map → dashboard-grid-H7uph3HO.js.map} +1 -1
  73. package/dist/_chunks/{data-table-CrI3_bjH.js → data-table-C4yPR89K.js} +7 -7
  74. package/dist/_chunks/{data-table-CrI3_bjH.js.map → data-table-C4yPR89K.js.map} +1 -1
  75. package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dd_O1nPY.js} +3 -3
  76. package/dist/_chunks/{data-table-tabs-CzYYKp2_.js.map → data-table-tabs-Dd_O1nPY.js.map} +1 -1
  77. package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-DOPu69Jg.js} +2 -2
  78. package/dist/_chunks/{description-list-1A2DEbE6.js.map → description-list-DOPu69Jg.js.map} +1 -1
  79. package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-Dzh1YAz8.js} +3 -3
  80. package/dist/_chunks/{document-preview-Od2Hz4z5.js.map → document-preview-Dzh1YAz8.js.map} +1 -1
  81. package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-BSVwMR4V.js} +2 -2
  82. package/dist/_chunks/{document-scanner-p0aGlzCy.js.map → document-scanner-BSVwMR4V.js.map} +1 -1
  83. package/dist/_chunks/dropdown-menu-DIzxr_lp.js +594 -0
  84. package/dist/_chunks/dropdown-menu-DIzxr_lp.js.map +1 -0
  85. package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-DUjw4w5O.js} +2 -2
  86. package/dist/_chunks/{due-date-calculator-BVqJaxzd.js.map → due-date-calculator-DUjw4w5O.js.map} +1 -1
  87. package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-Cch3RIJL.js} +3 -3
  88. package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js.map → editable-currency-cell-renderer-Cch3RIJL.js.map} +1 -1
  89. package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-CRQib91p.js} +3 -3
  90. package/dist/_chunks/{editable-description-B4NVdjvd.js.map → editable-description-CRQib91p.js.map} +1 -1
  91. package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-DsA7vR5C.js} +2 -2
  92. package/dist/_chunks/{editor-overlay-BDiBvQmL.js.map → editor-overlay-DsA7vR5C.js.map} +1 -1
  93. package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-Ck1wVWdN.js} +2 -2
  94. package/dist/_chunks/{empty-state-DTBZ1ENT.js.map → empty-state-Ck1wVWdN.js.map} +1 -1
  95. package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-Cvs21xPr.js} +3 -3
  96. package/dist/_chunks/{entity-summary-CFJfBdVP.js.map → entity-summary-Cvs21xPr.js.map} +1 -1
  97. package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary-C_HAzVLO.js} +2 -2
  98. package/dist/_chunks/{error-boundary-BxTqEXqj.js.map → error-boundary-C_HAzVLO.js.map} +1 -1
  99. package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-DVZZTuXT.js} +5 -5
  100. package/dist/_chunks/{face-scheme-fku-RShg.js.map → face-scheme-DVZZTuXT.js.map} +1 -1
  101. package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-B-lO-948.js} +2 -2
  102. package/dist/_chunks/{fetal-weight-B69yOS9W.js.map → fetal-weight-B-lO-948.js.map} +1 -1
  103. package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-B3IDOct8.js} +3 -3
  104. package/dist/_chunks/{field-array-lIXrFWS0.js.map → field-array-B3IDOct8.js.map} +1 -1
  105. package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-COUb-w8j.js} +7 -7
  106. package/dist/_chunks/{file-manager-C6QQPQV5.js.map → file-manager-COUb-w8j.js.map} +1 -1
  107. package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BrAWwfOw.js} +2 -2
  108. package/dist/_chunks/{finished-terminal-B2oqXO0Y.js.map → finished-terminal-BrAWwfOw.js.map} +1 -1
  109. package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CwUwhUZy.js} +2 -2
  110. package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js.map → fiscal-code-input-CwUwhUZy.js.map} +1 -1
  111. package/dist/_chunks/floating-action-button-pojvb9gG.js.map +1 -1
  112. package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-DiPJrL18.js} +2 -2
  113. package/dist/_chunks/{freemium-paywall-B6JITu4l.js.map → freemium-paywall-DiPJrL18.js.map} +1 -1
  114. package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-BVPtrWKf.js} +2 -2
  115. package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js.map → gestational-age-calculator-BVPtrWKf.js.map} +1 -1
  116. package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-CPktiA3H.js} +2 -2
  117. package/dist/_chunks/{hcg-doubling-D2SH-e7t.js.map → hcg-doubling-CPktiA3H.js.map} +1 -1
  118. package/dist/_chunks/{header-CCjp5GvE.js → header-C8NbLgVq.js} +2 -2
  119. package/dist/_chunks/{header-CCjp5GvE.js.map → header-C8NbLgVq.js.map} +1 -1
  120. package/dist/_chunks/header-settings-D0M3WNTS.js +305 -0
  121. package/dist/_chunks/header-settings-D0M3WNTS.js.map +1 -0
  122. package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CYAKuXZ3.js} +5 -5
  123. package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js.map → help-me-write-templates-CYAKuXZ3.js.map} +1 -1
  124. package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-BM0vNmq4.js} +2 -2
  125. package/dist/_chunks/{hover-card-BplP5SzQ.js.map → hover-card-BM0vNmq4.js.map} +1 -1
  126. package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
  127. package/dist/_chunks/icon-button-JAXAkqWC.js.map +1 -0
  128. package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-ud2BLmxe.js} +3 -3
  129. package/dist/_chunks/{icon-button-group-B_426QN_.js.map → icon-button-group-ud2BLmxe.js.map} +1 -1
  130. package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-B1PwkUHy.js} +3 -3
  131. package/dist/_chunks/{icon-picker-ZLebyB0U.js.map → icon-picker-B1PwkUHy.js.map} +1 -1
  132. package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-DM6hpXUw.js} +2 -2
  133. package/dist/_chunks/{image-cropper-_HiNN79d.js.map → image-cropper-DM6hpXUw.js.map} +1 -1
  134. package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-CywkQ1NX.js} +2 -2
  135. package/dist/_chunks/{info-tip-laBxZhKu.js.map → info-tip-CywkQ1NX.js.map} +1 -1
  136. package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-Fu9AHxR6.js} +2 -2
  137. package/dist/_chunks/{insert-result-CSuPQyKL.js.map → insert-result-Fu9AHxR6.js.map} +1 -1
  138. package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-BL1J3_Km.js} +2 -2
  139. package/dist/_chunks/{key-value-pair-Dcdl3Gni.js.map → key-value-pair-BL1J3_Km.js.map} +1 -1
  140. package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-B9Qn6VIc.js} +6 -6
  141. package/dist/_chunks/{kit-extensions-BTJSnM_H.js.map → kit-extensions-B9Qn6VIc.js.map} +1 -1
  142. package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-BcW3F1j9.js} +2 -2
  143. package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js.map → link-cell-renderer-BcW3F1j9.js.map} +1 -1
  144. package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-Z42P8T-i.js} +218 -213
  145. package/dist/_chunks/locale-picker-Z42P8T-i.js.map +1 -0
  146. package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-DxYPJjM9.js} +2 -2
  147. package/dist/_chunks/{map-view-Bb7ClKSF.js.map → map-view-DxYPJjM9.js.map} +1 -1
  148. package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rTTvWRrE.js} +6 -6
  149. package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js.map → marketplace-app-shell-rTTvWRrE.js.map} +1 -1
  150. package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-CUBPPn4Z.js} +3 -3
  151. package/dist/_chunks/{message-card-C2zsvyj0.js.map → message-card-CUBPPn4Z.js.map} +1 -1
  152. package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-uy3DAIbn.js} +4 -4
  153. package/dist/_chunks/{message-tray-CMlmxdH2.js.map → message-tray-uy3DAIbn.js.map} +1 -1
  154. package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-CH-vQ7Ch.js} +2 -2
  155. package/dist/_chunks/{muscle-scheme-Co0NIgbU.js.map → muscle-scheme-CH-vQ7Ch.js.map} +1 -1
  156. package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-Dka4Z2M7.js} +4 -4
  157. package/dist/_chunks/{notes-panel-xxpFt-I1.js.map → notes-panel-Dka4Z2M7.js.map} +1 -1
  158. package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-Hy8w3UWx.js} +3 -3
  159. package/dist/_chunks/{notification-card-DDzBCi8l.js.map → notification-card-Hy8w3UWx.js.map} +1 -1
  160. package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-VuV3XXB8.js} +4 -4
  161. package/dist/_chunks/{notification-tray-PnH2PBlZ.js.map → notification-tray-VuV3XXB8.js.map} +1 -1
  162. package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-C2n6d0HO.js} +2 -2
  163. package/dist/_chunks/{optical-prescription-DUufWXfZ.js.map → optical-prescription-C2n6d0HO.js.map} +1 -1
  164. package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
  165. package/dist/_chunks/{panel-subview-CzHutkA8.js.map → panel-subview-DAY-ToM3.js.map} +1 -1
  166. package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-D9sAM3qh.js} +3 -3
  167. package/dist/_chunks/{patient-details-tTlvrJSU.js.map → patient-details-D9sAM3qh.js.map} +1 -1
  168. package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-CT04C_lZ.js} +277 -257
  169. package/dist/_chunks/patient-field-row-CT04C_lZ.js.map +1 -0
  170. package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-DkIukAMQ.js} +3 -3
  171. package/dist/_chunks/{patient-search-DgXdGkhK.js.map → patient-search-DkIukAMQ.js.map} +1 -1
  172. package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DI0BH-Fe.js} +5 -5
  173. package/dist/_chunks/{patient-summary-card-DQ__6DR-.js.map → patient-summary-card-DI0BH-Fe.js.map} +1 -1
  174. package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-vQBIyUky.js} +2 -2
  175. package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js.map → payment-automation-upsell-vQBIyUky.js.map} +1 -1
  176. package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BSaJzhxz.js} +3 -3
  177. package/dist/_chunks/{payment-request-card-DMJB57Tv.js.map → payment-request-card-BSaJzhxz.js.map} +1 -1
  178. package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-BcTcOc79.js} +2 -2
  179. package/dist/_chunks/{periodontal-chart-DbGzKDj7.js.map → periodontal-chart-BcTcOc79.js.map} +1 -1
  180. package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-NS_nToBf.js} +2 -2
  181. package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js.map → periodontal-chart-card-NS_nToBf.js.map} +1 -1
  182. package/dist/_chunks/{popover-Dvb40vPH.js → popover-SASSeAdY.js} +2 -2
  183. package/dist/_chunks/{popover-Dvb40vPH.js.map → popover-SASSeAdY.js.map} +1 -1
  184. package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-C3ifcObw.js} +6 -6
  185. package/dist/_chunks/{practice-results-EKRiqWtQ.js.map → practice-results-C3ifcObw.js.map} +1 -1
  186. package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CpJ3iYvD.js} +2 -2
  187. package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js.map → pregnancy-dating-CpJ3iYvD.js.map} +1 -1
  188. package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-kDOhA2vZ.js} +2 -2
  189. package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js.map → pregnancy-weight-gain-kDOhA2vZ.js.map} +1 -1
  190. package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-CEyvNpC8.js} +3 -3
  191. package/dist/_chunks/{privacy-lock-D6gq0GDg.js.map → privacy-lock-CEyvNpC8.js.map} +1 -1
  192. package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-TzMlEu3Q.js} +2 -2
  193. package/dist/_chunks/{privacy-mask-BC5lw2zB.js.map → privacy-mask-TzMlEu3Q.js.map} +1 -1
  194. package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-b70i9Hi1.js} +3 -3
  195. package/dist/_chunks/{product-hub-panel-CKeSCSeE.js.map → product-hub-panel-b70i9Hi1.js.map} +1 -1
  196. package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-D0ApOrmx.js} +3 -3
  197. package/dist/_chunks/{public-header.agent-B9wDmUeB.js.map → public-header.agent-D0ApOrmx.js.map} +1 -1
  198. package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-jhwaIW8U.js} +4 -4
  199. package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js.map → radiograph-panel.agent-jhwaIW8U.js.map} +1 -1
  200. package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
  201. package/dist/_chunks/resource-chip-DQeCJzJf.js.map +1 -0
  202. package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-B5QC4FIp.js} +4 -4
  203. package/dist/_chunks/{reviews-panel-BdwFp_0c.js.map → reviews-panel-B5QC4FIp.js.map} +1 -1
  204. package/dist/_chunks/{rich-text-editor-y6ML0KeV.js → rich-text-editor-DoBXdwmx.js} +930 -943
  205. package/dist/_chunks/rich-text-editor-DoBXdwmx.js.map +1 -0
  206. package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-26XB5u38.js} +2 -2
  207. package/dist/_chunks/{session-countdown-ACJyTXH2.js.map → session-countdown-26XB5u38.js.map} +1 -1
  208. package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-CwhNzxbr.js} +2 -2
  209. package/dist/_chunks/{sheet-D0Lh0KR2.js.map → sheet-CwhNzxbr.js.map} +1 -1
  210. package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-jxbze77L.js} +2 -2
  211. package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js.map → sign-in-with-alfadocs-button-jxbze77L.js.map} +1 -1
  212. package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-BorHf3CY.js} +4 -4
  213. package/dist/_chunks/{signature-request-BUGeG8oD.js.map → signature-request-BorHf3CY.js.map} +1 -1
  214. package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-xgf2UKLS.js} +4 -4
  215. package/dist/_chunks/{slot-grid-4fWH3Euk.js.map → slot-grid-xgf2UKLS.js.map} +1 -1
  216. package/dist/_chunks/social-sign-in-button-dlpPI5l7.js.map +1 -1
  217. package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-Cos2fVTw.js} +2 -2
  218. package/dist/_chunks/{streaming-text-eRiizArc.js.map → streaming-text-Cos2fVTw.js.map} +1 -1
  219. package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-BrkMUW0c.js} +2 -2
  220. package/dist/_chunks/{tab-bar-BHFf6knq.js.map → tab-bar-BrkMUW0c.js.map} +1 -1
  221. package/dist/_chunks/tabs-tK22Mz7r.js +413 -0
  222. package/dist/_chunks/tabs-tK22Mz7r.js.map +1 -0
  223. package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CLpHmqEY.js} +2 -2
  224. package/dist/_chunks/{task-card-jaOhnj_q.js.map → task-card-CLpHmqEY.js.map} +1 -1
  225. package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-B4UGsU7l.js} +6 -6
  226. package/dist/_chunks/{task-editor-DlvTwAfv.js.map → task-editor-B4UGsU7l.js.map} +1 -1
  227. package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-dsmYgjVb.js} +4 -4
  228. package/dist/_chunks/{task-tray-HHyxi9ga.js.map → task-tray-dsmYgjVb.js.map} +1 -1
  229. package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-CwwVw491.js} +6 -6
  230. package/dist/_chunks/{tasks-panel-DbSjq_mz.js.map → tasks-panel-CwwVw491.js.map} +1 -1
  231. package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-jyoyhbJL.js} +4 -4
  232. package/dist/_chunks/{theme-toggle-LUBxlNDm.js.map → theme-toggle-jyoyhbJL.js.map} +1 -1
  233. package/dist/_chunks/{toast-CT8hjr9r.js → toast-FijDyPnv.js} +2 -2
  234. package/dist/_chunks/{toast-CT8hjr9r.js.map → toast-FijDyPnv.js.map} +1 -1
  235. package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-Cjf99IdN.js} +3 -3
  236. package/dist/_chunks/{token-insert-menu-klwbxVKh.js.map → token-insert-menu-Cjf99IdN.js.map} +1 -1
  237. package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-DphMl1hX.js} +2 -2
  238. package/dist/_chunks/{tool-rail-DEeX4PdN.js.map → tool-rail-DphMl1hX.js.map} +1 -1
  239. package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BaCJnyg9.js} +663 -718
  240. package/dist/_chunks/tooth-scheme-BaCJnyg9.js.map +1 -0
  241. package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-CGpOgarU.js} +2 -2
  242. package/dist/_chunks/{unit-converter-Dp_KDxE6.js.map → unit-converter-CGpOgarU.js.map} +1 -1
  243. package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js → use-appointment-details-read-uEnJLVfA.js} +14 -14
  244. package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js.map → use-appointment-details-read-uEnJLVfA.js.map} +1 -1
  245. package/dist/_chunks/wallet-pay-button--dnR6NfJ.js.map +1 -1
  246. package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-7Hffm7K1.js} +3 -3
  247. package/dist/_chunks/{warning-stack-CEgYkI1z.js.map → warning-stack-7Hffm7K1.js.map} +1 -1
  248. package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-Jfe9L9Wt.js} +6 -6
  249. package/dist/_chunks/{workflow-map-qGkQTNvS.js.map → workflow-map-Jfe9L9Wt.js.map} +1 -1
  250. package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-jHfsIDzi.js} +2 -2
  251. package/dist/_chunks/{workflow-status-ClHfz4Kr.js.map → workflow-status-jHfsIDzi.js.map} +1 -1
  252. package/dist/agent-catalog.json +103 -38
  253. package/dist/agent-i18n/en.json +7 -4
  254. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  255. package/dist/components/_shared/field-visibility-cog.d.ts.map +1 -1
  256. package/dist/components/agenda-tray/index.js +1 -1
  257. package/dist/components/ai-credits-notice/index.js +1 -1
  258. package/dist/components/ai-permission-notice/index.js +1 -1
  259. package/dist/components/ai-prompt-input/index.js +1 -1
  260. package/dist/components/anamnesis-card/index.js +1 -1
  261. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
  262. package/dist/components/appointment-card/index.js +2 -2
  263. package/dist/components/appointment-details-panel/index.js +1 -1
  264. package/dist/components/appointment-peek/index.js +1 -1
  265. package/dist/components/appointment-timeline/index.js +1 -1
  266. package/dist/components/audio-recorder/index.js +1 -1
  267. package/dist/components/bishop-score/index.js +1 -1
  268. package/dist/components/bmi-calculator/index.js +1 -1
  269. package/dist/components/booking/index.js +1 -1
  270. package/dist/components/button/button.d.ts +11 -0
  271. package/dist/components/button/button.d.ts.map +1 -1
  272. package/dist/components/button/icon-button.d.ts +4 -0
  273. package/dist/components/button/icon-button.d.ts.map +1 -1
  274. package/dist/components/button/index.js +2 -2
  275. package/dist/components/button-group/index.js +1 -1
  276. package/dist/components/calendar/calendar.d.ts +11 -3
  277. package/dist/components/calendar/calendar.d.ts.map +1 -1
  278. package/dist/components/calendar/index.js +1 -1
  279. package/dist/components/calendar-event-card/calendar-event-card.d.ts +6 -0
  280. package/dist/components/calendar-event-card/calendar-event-card.d.ts.map +1 -1
  281. package/dist/components/calendar-event-card/index.js +1 -1
  282. package/dist/components/care-plan-card/index.js +1 -1
  283. package/dist/components/care-plan-entry-card/index.js +1 -1
  284. package/dist/components/care-plan-header/index.js +1 -1
  285. package/dist/components/carousel/index.js +1 -1
  286. package/dist/components/chart/chart.d.ts +1 -1
  287. package/dist/components/chart/index.js +1 -1
  288. package/dist/components/chat-input/index.js +1 -1
  289. package/dist/components/chat-message/index.js +1 -1
  290. package/dist/components/connection-status/index.js +1 -1
  291. package/dist/components/contact-profile-card/index.js +1 -1
  292. package/dist/components/control-room-rail/index.js +1 -1
  293. package/dist/components/copy-field/index.js +1 -1
  294. package/dist/components/cycle-calculator/index.js +1 -1
  295. package/dist/components/dashboard-grid/index.js +1 -1
  296. package/dist/components/data-table/index.js +4 -4
  297. package/dist/components/data-table-tabs/index.js +1 -1
  298. package/dist/components/description-list/index.js +1 -1
  299. package/dist/components/document-preview/index.js +1 -1
  300. package/dist/components/document-scanner/index.js +1 -1
  301. package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -1
  302. package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
  303. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  304. package/dist/components/dropdown-menu/index.d.ts +1 -1
  305. package/dist/components/dropdown-menu/index.d.ts.map +1 -1
  306. package/dist/components/dropdown-menu/index.js +1 -1
  307. package/dist/components/due-date-calculator/index.js +1 -1
  308. package/dist/components/editable-description/index.js +1 -1
  309. package/dist/components/editor-overlay/index.js +1 -1
  310. package/dist/components/empty-state/index.js +1 -1
  311. package/dist/components/entity-summary/index.js +1 -1
  312. package/dist/components/error-boundary/index.js +1 -1
  313. package/dist/components/face-scheme/index.js +1 -1
  314. package/dist/components/fetal-weight/index.js +1 -1
  315. package/dist/components/field-array/index.js +1 -1
  316. package/dist/components/file-manager/index.js +1 -1
  317. package/dist/components/finished-terminal/index.js +1 -1
  318. package/dist/components/fiscal-code-input/index.js +1 -1
  319. package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -1
  320. package/dist/components/freemium-paywall/index.js +1 -1
  321. package/dist/components/gestational-age-calculator/index.js +1 -1
  322. package/dist/components/hcg-doubling/index.js +1 -1
  323. package/dist/components/header/index.js +1 -1
  324. package/dist/components/header-settings/header-settings.d.ts +3 -3
  325. package/dist/components/header-settings/header-settings.d.ts.map +1 -1
  326. package/dist/components/header-settings/index.js +1 -1
  327. package/dist/components/hover-card/index.js +1 -1
  328. package/dist/components/icon-button/index.js +1 -1
  329. package/dist/components/icon-button-group/index.js +1 -1
  330. package/dist/components/icon-picker/index.js +1 -1
  331. package/dist/components/image-cropper/index.js +1 -1
  332. package/dist/components/info-tip/index.js +1 -1
  333. package/dist/components/key-value-pair/index.js +1 -1
  334. package/dist/components/locale-picker/index.js +1 -1
  335. package/dist/components/locale-picker/locale-picker.d.ts +7 -0
  336. package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
  337. package/dist/components/map-view/index.js +1 -1
  338. package/dist/components/message-card/index.js +1 -1
  339. package/dist/components/message-tray/index.js +1 -1
  340. package/dist/components/muscle-scheme/index.js +1 -1
  341. package/dist/components/notes-panel/index.js +1 -1
  342. package/dist/components/notification-card/index.js +1 -1
  343. package/dist/components/notification-tray/index.js +1 -1
  344. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  345. package/dist/components/optical-prescription/index.js +1 -1
  346. package/dist/components/panel-subview/index.js +1 -1
  347. package/dist/components/patient-details/index.js +1 -1
  348. package/dist/components/patient-details/patient-details.d.ts +1 -1
  349. package/dist/components/patient-search/index.js +1 -1
  350. package/dist/components/patient-summary-card/index.js +1 -1
  351. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  352. package/dist/components/patient-table/index.js +1 -1
  353. package/dist/components/payment-card/index.js +1 -1
  354. package/dist/components/periodontal-chart/index.js +1 -1
  355. package/dist/components/periodontal-chart-card/index.js +1 -1
  356. package/dist/components/popover/index.js +1 -1
  357. package/dist/components/practice-results/index.js +1 -1
  358. package/dist/components/pregnancy-dating/index.js +1 -1
  359. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  360. package/dist/components/privacy-lock/index.js +1 -1
  361. package/dist/components/product-hub-tray/index.js +1 -1
  362. package/dist/components/public-header/index.js +1 -1
  363. package/dist/components/radiograph-panel/index.js +1 -1
  364. package/dist/components/resource-chip/index.d.ts +1 -1
  365. package/dist/components/resource-chip/index.d.ts.map +1 -1
  366. package/dist/components/resource-chip/index.js +3 -2
  367. package/dist/components/resource-chip/resource-chip.d.ts +20 -0
  368. package/dist/components/resource-chip/resource-chip.d.ts.map +1 -1
  369. package/dist/components/reviews-panel/index.js +1 -1
  370. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  371. package/dist/components/rich-text-editor/index.js +2 -2
  372. package/dist/components/session-countdown/index.js +1 -1
  373. package/dist/components/sheet/index.js +1 -1
  374. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  375. package/dist/components/skeleton-scheme/index.js +1 -1
  376. package/dist/components/slot-grid/index.js +1 -1
  377. package/dist/components/social-sign-in-button/social-sign-in-button.d.ts.map +1 -1
  378. package/dist/components/streaming-text/index.js +1 -1
  379. package/dist/components/tab-bar/index.js +1 -1
  380. package/dist/components/tabs/index.js +1 -1
  381. package/dist/components/tabs/tabs.d.ts.map +1 -1
  382. package/dist/components/task-card/index.js +1 -1
  383. package/dist/components/task-editor/index.js +1 -1
  384. package/dist/components/task-tray/index.js +1 -1
  385. package/dist/components/tasks-panel/index.js +1 -1
  386. package/dist/components/theme-toggle/index.js +1 -1
  387. package/dist/components/toast/index.js +1 -1
  388. package/dist/components/token-insert-menu/index.js +1 -1
  389. package/dist/components/tool-rail/index.js +1 -1
  390. package/dist/components/tooth-scheme/index.js +1 -1
  391. package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
  392. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  393. package/dist/components/unit-converter/index.js +1 -1
  394. package/dist/components/wallet-pay-button/wallet-pay-button.d.ts.map +1 -1
  395. package/dist/components/warning-stack/index.js +1 -1
  396. package/dist/components/workflow/index.js +1 -1
  397. package/dist/components/workflow/workflow-card.d.ts +1 -1
  398. package/dist/components/workflow-status/index.js +1 -1
  399. package/dist/i18n/locales/ar.d.ts +5 -0
  400. package/dist/i18n/locales/ar.d.ts.map +1 -1
  401. package/dist/i18n/locales/ar.js +5 -0
  402. package/dist/i18n/locales/ar.js.map +1 -1
  403. package/dist/i18n/locales/de.d.ts +5 -0
  404. package/dist/i18n/locales/de.d.ts.map +1 -1
  405. package/dist/i18n/locales/de.js +5 -0
  406. package/dist/i18n/locales/de.js.map +1 -1
  407. package/dist/i18n/locales/el.d.ts +5 -0
  408. package/dist/i18n/locales/el.d.ts.map +1 -1
  409. package/dist/i18n/locales/el.js +5 -0
  410. package/dist/i18n/locales/el.js.map +1 -1
  411. package/dist/i18n/locales/en.d.ts +5 -0
  412. package/dist/i18n/locales/en.d.ts.map +1 -1
  413. package/dist/i18n/locales/en.js +5 -0
  414. package/dist/i18n/locales/en.js.map +1 -1
  415. package/dist/i18n/locales/es.d.ts +5 -0
  416. package/dist/i18n/locales/es.d.ts.map +1 -1
  417. package/dist/i18n/locales/es.js +5 -0
  418. package/dist/i18n/locales/es.js.map +1 -1
  419. package/dist/i18n/locales/fr.d.ts +5 -0
  420. package/dist/i18n/locales/fr.d.ts.map +1 -1
  421. package/dist/i18n/locales/fr.js +5 -0
  422. package/dist/i18n/locales/fr.js.map +1 -1
  423. package/dist/i18n/locales/hi.d.ts +5 -0
  424. package/dist/i18n/locales/hi.d.ts.map +1 -1
  425. package/dist/i18n/locales/hi.js +5 -0
  426. package/dist/i18n/locales/hi.js.map +1 -1
  427. package/dist/i18n/locales/it.d.ts +5 -0
  428. package/dist/i18n/locales/it.d.ts.map +1 -1
  429. package/dist/i18n/locales/it.js +5 -0
  430. package/dist/i18n/locales/it.js.map +1 -1
  431. package/dist/i18n/locales/ja.d.ts +5 -0
  432. package/dist/i18n/locales/ja.d.ts.map +1 -1
  433. package/dist/i18n/locales/ja.js +5 -0
  434. package/dist/i18n/locales/ja.js.map +1 -1
  435. package/dist/i18n/locales/nl.d.ts +5 -0
  436. package/dist/i18n/locales/nl.d.ts.map +1 -1
  437. package/dist/i18n/locales/nl.js +5 -0
  438. package/dist/i18n/locales/nl.js.map +1 -1
  439. package/dist/i18n/locales/pl.d.ts +5 -0
  440. package/dist/i18n/locales/pl.d.ts.map +1 -1
  441. package/dist/i18n/locales/pl.js +5 -0
  442. package/dist/i18n/locales/pl.js.map +1 -1
  443. package/dist/i18n/locales/pt.d.ts +5 -0
  444. package/dist/i18n/locales/pt.d.ts.map +1 -1
  445. package/dist/i18n/locales/pt.js +5 -0
  446. package/dist/i18n/locales/pt.js.map +1 -1
  447. package/dist/i18n/locales/ro.d.ts +5 -0
  448. package/dist/i18n/locales/ro.d.ts.map +1 -1
  449. package/dist/i18n/locales/ro.js +5 -0
  450. package/dist/i18n/locales/ro.js.map +1 -1
  451. package/dist/i18n/locales/ru.d.ts +5 -0
  452. package/dist/i18n/locales/ru.d.ts.map +1 -1
  453. package/dist/i18n/locales/ru.js +5 -0
  454. package/dist/i18n/locales/ru.js.map +1 -1
  455. package/dist/i18n/locales/sq.d.ts +5 -0
  456. package/dist/i18n/locales/sq.d.ts.map +1 -1
  457. package/dist/i18n/locales/sq.js +5 -0
  458. package/dist/i18n/locales/sq.js.map +1 -1
  459. package/dist/i18n/locales/sv.d.ts +5 -0
  460. package/dist/i18n/locales/sv.d.ts.map +1 -1
  461. package/dist/i18n/locales/sv.js +5 -0
  462. package/dist/i18n/locales/sv.js.map +1 -1
  463. package/dist/i18n/locales/tr.d.ts +5 -0
  464. package/dist/i18n/locales/tr.d.ts.map +1 -1
  465. package/dist/i18n/locales/tr.js +5 -0
  466. package/dist/i18n/locales/tr.js.map +1 -1
  467. package/dist/i18n/locales/zh.d.ts +5 -0
  468. package/dist/i18n/locales/zh.d.ts.map +1 -1
  469. package/dist/i18n/locales/zh.js +5 -0
  470. package/dist/i18n/locales/zh.js.map +1 -1
  471. package/dist/index.js +478 -477
  472. package/dist/locales/ar.json +5 -0
  473. package/dist/locales/de.json +5 -0
  474. package/dist/locales/el.json +5 -0
  475. package/dist/locales/en.json +5 -0
  476. package/dist/locales/es.json +5 -0
  477. package/dist/locales/fr.json +5 -0
  478. package/dist/locales/hi.json +5 -0
  479. package/dist/locales/it.json +5 -0
  480. package/dist/locales/ja.json +5 -0
  481. package/dist/locales/nl.json +5 -0
  482. package/dist/locales/pl.json +5 -0
  483. package/dist/locales/pt.json +5 -0
  484. package/dist/locales/ro.json +5 -0
  485. package/dist/locales/ru.json +5 -0
  486. package/dist/locales/sq.json +5 -0
  487. package/dist/locales/sv.json +5 -0
  488. package/dist/locales/tr.json +5 -0
  489. package/dist/locales/zh.json +5 -0
  490. package/dist/patterns/alia-assistant/index.js +1 -1
  491. package/dist/patterns/anamnesis/index.js +1 -1
  492. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  493. package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
  494. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  495. package/dist/patterns/calendar/index.js +1 -1
  496. package/dist/patterns/help-me-write-templates/index.js +1 -1
  497. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  498. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  499. package/dist/patterns/signature-request/index.js +1 -1
  500. package/dist/tokens.css +2 -1
  501. package/package.json +1 -1
  502. package/dist/_chunks/button-18oBsI3n.js.map +0 -1
  503. package/dist/_chunks/calendar-workspace-CWRH4x15.js +0 -10577
  504. package/dist/_chunks/calendar-workspace-CWRH4x15.js.map +0 -1
  505. package/dist/_chunks/calendar-zpE9qTM4.js.map +0 -1
  506. package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
  507. package/dist/_chunks/dropdown-menu-C8PaW3lR.js.map +0 -1
  508. package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
  509. package/dist/_chunks/header-settings-ZXa6hXuu.js.map +0 -1
  510. package/dist/_chunks/icon-button-CY7GU_Se.js.map +0 -1
  511. package/dist/_chunks/locale-picker-DGkQmhV9.js.map +0 -1
  512. package/dist/_chunks/patient-field-row-DElFbpKc.js.map +0 -1
  513. package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
  514. package/dist/_chunks/resource-chip-DYTG0IQQ.js.map +0 -1
  515. package/dist/_chunks/rich-text-editor-y6ML0KeV.js.map +0 -1
  516. package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
  517. package/dist/_chunks/tabs-CFsuMQ5H.js.map +0 -1
  518. package/dist/_chunks/tooth-scheme-BkjhkI8g.js.map +0 -1
@@ -1,17 +1,17 @@
1
- import { jsxs as k, jsx as s, Fragment as Bo } from "react/jsx-runtime";
2
- import { forwardRef as Go, useState as K, useRef as qe, useEffect as Ce, useMemo as Oe, useCallback as D, useImperativeHandle as Qo } from "react";
3
- import { createPortal as Zo } from "react-dom";
4
- import * as E from "@radix-ui/react-tooltip";
5
- import { c as ie } from "./index-D2ZczOXr.js";
6
- import { useTranslation as io } from "react-i18next";
7
- import { u as Xo } from "./registry-DvAUVLHh.js";
8
- import { I as Jo } from "./icon-button-CY7GU_Se.js";
9
- import { P as rt } from "./popover-Dvb40vPH.js";
10
- import { S as en } from "./select-upNAltly.js";
11
- import { S as at } from "./switch-OILsBLWo.js";
12
- import { o as zt, K as tn, a0 as on, J as Ke, R as Ue, u as ro, U as ao, G as nn, S as rn, w as Ve, X as F, f as de, $ as st, _ as Vt, E as ft, a1 as ce, H as Bt, z as ut, y as an, l as ct, A as so, L as sn, t as pt, W as dt, s as co, Y as lo, x as cn, V as dn, a2 as ln, a3 as $, a4 as U, a5 as hn, Z as un, C as ho, Q as pn, a6 as fn, k as Gt, T as mn, O as gn, q as vn, N as bn } from "./tooth-data-DR8Kdnup.js";
13
- import { S as yn } from "./settings-d25ju_6L.js";
14
- const ye = () => (t) => t, Sn = ye()([
1
+ import { jsxs as D, jsx as a, Fragment as Yo } from "react/jsx-runtime";
2
+ import { forwardRef as zo, useState as V, useCallback as A, useRef as Ke, useEffect as Oe, useMemo as $e, useImperativeHandle as Vo } from "react";
3
+ import { createPortal as Bo } from "react-dom";
4
+ import * as W from "@radix-ui/react-tooltip";
5
+ import { c as re } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as oo } from "react-i18next";
7
+ import { u as Go } from "./registry-DvAUVLHh.js";
8
+ import { I as Qo } from "./icon-button-JAXAkqWC.js";
9
+ import { D as H } from "./dropdown-menu-DIzxr_lp.js";
10
+ import { S as Zo } from "./switch-OILsBLWo.js";
11
+ import { o as Ut, K as Xo, a0 as Jo, J as Ue, R as Ye, u as no, U as io, G as en, S as tn, w as Be, X as F, f as le, $ as at, _ as Yt, E as ut, a1 as de, H as zt, z as lt, y as on, l as st, A as ro, L as nn, t as ht, W as ct, s as ao, Y as so, x as rn, V as an, a2 as sn, a3 as $, a4 as U, a5 as cn, Z as dn, C as co, Q as ln, a6 as hn, k as Vt, T as un, O as pn, q as fn, N as mn } from "./tooth-data-DR8Kdnup.js";
12
+ import { S as gn } from "./settings-d25ju_6L.js";
13
+ import { R as vn } from "./rotate-ccw-BBQnIVTr.js";
14
+ const be = () => (t) => t, Sn = be()([
15
15
  "caries",
16
16
  "filled",
17
17
  "crowned",
@@ -33,56 +33,56 @@ const ye = () => (t) => t, Sn = ye()([
33
33
  "curettage",
34
34
  "medication",
35
35
  "xray"
36
- ]), xn = ye()([
36
+ ]), yn = be()([
37
37
  "mesial",
38
38
  "distal",
39
39
  "occlusal",
40
40
  "buccal",
41
41
  "lingual"
42
- ]), wn = ye()([
42
+ ]), bn = be()([
43
43
  "mesial",
44
44
  "distal",
45
45
  "palatal",
46
46
  "buccal",
47
47
  "single"
48
- ]), kn = ye()(["element", "surface", "root"]), In = ye()(["planned", "executed"]), Tn = ye()([
48
+ ]), xn = be()(["element", "surface", "root"]), wn = be()(["planned", "executed"]), kn = be()([
49
49
  "periapical",
50
50
  "bitewing",
51
51
  "panoramic",
52
52
  "other"
53
- ]), W = {
53
+ ]), E = {
54
54
  type: "string",
55
55
  description: "FDI tooth id ('11'–'48' permanent, '51'–'85' primary) or a special-element id ('Q1'–'Q4' quadrants, 'S1'–'S6' sextants, 'AS'/'AI' arches, 'general'; primary mirrors with an 'm' prefix)."
56
- }, Ye = {
56
+ }, ze = {
57
57
  enum: [...Sn],
58
58
  description: "Built-in finding id. 'destroyed' is the retained root (*radice persistente*); 'xray' is the chartable radiograph SYMBOL, distinct from the image archive reached via get_radiographs."
59
- }, uo = {
59
+ }, lo = {
60
60
  type: "string",
61
61
  description: "Finding id — either a built-in (the enum on set_finding) or a practice-defined id from the host's `conditionRegistry`."
62
- }, po = {
63
- enum: [...xn],
62
+ }, ho = {
63
+ enum: [...yn],
64
64
  description: "Tooth surface, named anatomically."
65
- }, An = {
66
- enum: [...wn],
65
+ }, In = {
66
+ enum: [...bn],
67
67
  description: "Root, named ANATOMICALLY (not by screen side) — 'palatal' exists only on upper molars, 'single' covers every one-rooted tooth. On flank-mounted markers (anchorage, hook) 'mesial' / 'distal' select the side of the tooth instead."
68
- }, Dn = {
69
- enum: [...kn],
68
+ }, Tn = {
69
+ enum: [...xn],
70
70
  description: "Anatomical layer the finding marks. Omit to take the condition's natural part (caries and fillings are 'surface', root canals are 'root', crowns and implants are 'element')."
71
- }, _n = {
72
- enum: [...In],
71
+ }, An = {
72
+ enum: [...wn],
73
73
  description: "Execution status — 'planned' (proposed treatment) vs 'executed' (already done). Omit when the finding carries no plan/executed distinction."
74
- }, Qt = {
74
+ }, Bt = {
75
75
  type: "object",
76
76
  properties: {
77
77
  id: {
78
78
  type: "string",
79
79
  description: "Provenance id — the host's care-plan / finding entry this symbol came from. Present on symbols the host seeded; supply it to update that exact entry."
80
80
  },
81
- condition: uo,
82
- part: Dn,
83
- surfaces: { type: "array", items: po },
84
- roots: { type: "array", items: An },
85
- status: _n,
81
+ condition: lo,
82
+ part: Tn,
83
+ surfaces: { type: "array", items: ho },
84
+ roots: { type: "array", items: In },
85
+ status: An,
86
86
  color: {
87
87
  type: "string",
88
88
  description: "Per-practice colour override — a CSS colour or `var(--token)`. Omit to take the condition's own colour."
@@ -93,7 +93,7 @@ const ye = () => (t) => t, Sn = ye()([
93
93
  }
94
94
  },
95
95
  required: ["condition"]
96
- }, Cn = {
96
+ }, Dn = {
97
97
  type: "object",
98
98
  properties: {
99
99
  id: { type: "string" },
@@ -101,12 +101,12 @@ const ye = () => (t) => t, Sn = ye()([
101
101
  thumbnailUrl: { type: "string" },
102
102
  date: { type: "string", description: "ISO acquisition date (YYYY-MM-DD)." },
103
103
  note: { type: "string" },
104
- kind: { enum: [...Tn] },
104
+ kind: { enum: [...kn] },
105
105
  alt: { type: "string" }
106
106
  },
107
107
  required: ["id", "url"]
108
108
  };
109
- function On(t) {
109
+ function _n(t) {
110
110
  return {
111
111
  id: t.id,
112
112
  condition: t.condition,
@@ -117,7 +117,7 @@ function On(t) {
117
117
  color: t.color
118
118
  };
119
119
  }
120
- const $n = {
120
+ const Cn = {
121
121
  id: "tooth-scheme",
122
122
  // pick — focus/select a tooth (`focus_tooth`, transient, not persisted);
123
123
  // set_value / edit_inline — `set_finding` records a built-in finding and
@@ -140,15 +140,15 @@ const $n = {
140
140
  descriptionKey: "ui.agent.toothScheme.state.chart",
141
141
  description: "Current dental chart keyed by FDI id, or by a special-element id (quadrant / sextant / arch / general) for region-spanning findings. Each entry carries the flat `conditions` + `surfaces` pair AND the normalised per-symbol list, where every finding scopes its own surfaces, roots, planned/executed status and colour. Free-text clinical notes are PHI and omitted — read them per tooth via get_symbols / get_notes.",
142
142
  read: (t) => Object.fromEntries(
143
- Object.entries(t.getChart()).map(([n, a]) => [
143
+ Object.entries(t.getChart()).map(([n, s]) => [
144
144
  n,
145
145
  {
146
- conditions: a.conditions,
147
- surfaces: a.surfaces,
146
+ conditions: s.conditions,
147
+ surfaces: s.surfaces,
148
148
  // Read back through the handle so a tooth charted the legacy
149
149
  // way (flat conditions + surfaces) reports the same symbol
150
150
  // shape as one charted per-symbol.
151
- symbols: t.getSymbols(n).map(On)
151
+ symbols: t.getSymbols(n).map(_n)
152
152
  }
153
153
  ])
154
154
  )
@@ -170,7 +170,7 @@ const $n = {
170
170
  read: (t) => Object.fromEntries(
171
171
  t.teethWithRadiographs().map((n) => [
172
172
  n,
173
- t.getRadiographs(n).map((a) => ({ id: a.id, kind: a.kind ?? "periapical" }))
173
+ t.getRadiographs(n).map((s) => ({ id: s.id, kind: s.kind ?? "periapical" }))
174
174
  ])
175
175
  )
176
176
  },
@@ -187,7 +187,7 @@ const $n = {
187
187
  argsType: "{ id: FdiId }",
188
188
  argsSchema: {
189
189
  type: "object",
190
- properties: { id: W },
190
+ properties: { id: E },
191
191
  required: ["id"]
192
192
  },
193
193
  idempotent: !0,
@@ -205,11 +205,11 @@ const $n = {
205
205
  argsType: "{ id: FdiId }",
206
206
  argsSchema: {
207
207
  type: "object",
208
- properties: { id: W },
208
+ properties: { id: E },
209
209
  required: ["id"]
210
210
  },
211
211
  returns: "ToothCondition[]",
212
- returnsSchema: { type: "array", items: Ye },
212
+ returnsSchema: { type: "array", items: ze },
213
213
  idempotent: !0,
214
214
  descriptionKey: "ui.agent.toothScheme.actions.getTooth",
215
215
  description: "Read the BUILT-IN findings recorded on one tooth (FDI id), as a flat list of condition ids. Practice-defined findings, per-finding surfaces, roots and status are not included — use get_symbols for the tooth's full record.",
@@ -224,11 +224,11 @@ const $n = {
224
224
  argsType: "{ id: FdiId }",
225
225
  argsSchema: {
226
226
  type: "object",
227
- properties: { id: W },
227
+ properties: { id: E },
228
228
  required: ["id"]
229
229
  },
230
230
  returns: "ToothSymbol[]",
231
- returnsSchema: { type: "array", items: Qt },
231
+ returnsSchema: { type: "array", items: Bt },
232
232
  idempotent: !0,
233
233
  descriptionKey: "ui.agent.toothScheme.actions.getSymbols",
234
234
  description: "Read one tooth's full finding record (incl. notes) — one entry per symbol, each with its own surfaces, roots, planned/executed status, colour override, provenance id and free-text note. Normalised, so a tooth charted with the flat conditions/surfaces pair reports the same shape.",
@@ -242,7 +242,7 @@ const $n = {
242
242
  argsType: "{ id: FdiId }",
243
243
  argsSchema: {
244
244
  type: "object",
245
- properties: { id: W },
245
+ properties: { id: E },
246
246
  required: ["id"]
247
247
  },
248
248
  returns: "string | null",
@@ -251,8 +251,8 @@ const $n = {
251
251
  descriptionKey: "ui.agent.toothScheme.actions.getNotes",
252
252
  description: "Read the tooth-level free-text clinical note, or null when there is none. Per-finding notes are separate — they come back from get_symbols.",
253
253
  invoke: (t, n) => {
254
- var a;
255
- return ((a = t.getChart()[n.id]) == null ? void 0 : a.notes) ?? null;
254
+ var s;
255
+ return ((s = t.getChart()[n.id]) == null ? void 0 : s.notes) ?? null;
256
256
  }
257
257
  },
258
258
  teeth_with: {
@@ -260,11 +260,11 @@ const $n = {
260
260
  argsType: "{ condition: ToothCondition }",
261
261
  argsSchema: {
262
262
  type: "object",
263
- properties: { condition: Ye },
263
+ properties: { condition: ze },
264
264
  required: ["condition"]
265
265
  },
266
266
  returns: "FdiId[]",
267
- returnsSchema: { type: "array", items: W },
267
+ returnsSchema: { type: "array", items: E },
268
268
  idempotent: !0,
269
269
  descriptionKey: "ui.agent.toothScheme.actions.teethWith",
270
270
  description: "List the ids carrying a given built-in finding — FDI tooth ids and/or special-element ids (e.g. all teeth with caries). For a practice-defined finding use teeth_with_symbol.",
@@ -275,11 +275,11 @@ const $n = {
275
275
  argsType: "{ condition: ConditionId }",
276
276
  argsSchema: {
277
277
  type: "object",
278
- properties: { condition: uo },
278
+ properties: { condition: lo },
279
279
  required: ["condition"]
280
280
  },
281
281
  returns: "FdiId[]",
282
- returnsSchema: { type: "array", items: W },
282
+ returnsSchema: { type: "array", items: E },
283
283
  idempotent: !0,
284
284
  descriptionKey: "ui.agent.toothScheme.actions.teethWithSymbol",
285
285
  description: "As teeth_with, but open to the practice-defined ids in the host's `conditionRegistry` as well as the built-ins.",
@@ -295,11 +295,11 @@ const $n = {
295
295
  argsType: "{ id: FdiId }",
296
296
  argsSchema: {
297
297
  type: "object",
298
- properties: { id: W },
298
+ properties: { id: E },
299
299
  required: ["id"]
300
300
  },
301
301
  returns: "Radiograph[]",
302
- returnsSchema: { type: "array", items: Cn },
302
+ returnsSchema: { type: "array", items: Dn },
303
303
  idempotent: !0,
304
304
  descriptionKey: "ui.agent.toothScheme.actions.getRadiographs",
305
305
  description: "Read the radiographs (x-rays) attached to one tooth, including their notes, dates and image urls.",
@@ -310,7 +310,7 @@ const $n = {
310
310
  argsType: "{ id: FdiId }",
311
311
  argsSchema: {
312
312
  type: "object",
313
- properties: { id: W },
313
+ properties: { id: E },
314
314
  required: ["id"]
315
315
  },
316
316
  idempotent: !0,
@@ -329,9 +329,9 @@ const $n = {
329
329
  argsSchema: {
330
330
  type: "object",
331
331
  properties: {
332
- id: W,
333
- condition: Ye,
334
- surfaces: { type: "array", items: po }
332
+ id: E,
333
+ condition: ze,
334
+ surfaces: { type: "array", items: ho }
335
335
  },
336
336
  required: ["id", "condition"]
337
337
  },
@@ -350,7 +350,7 @@ const $n = {
350
350
  argsType: "{ id: FdiId; symbol: ToothSymbol }",
351
351
  argsSchema: {
352
352
  type: "object",
353
- properties: { id: W, symbol: Qt },
353
+ properties: { id: E, symbol: Bt },
354
354
  required: ["id", "symbol"]
355
355
  },
356
356
  idempotent: !0,
@@ -389,7 +389,7 @@ const $n = {
389
389
  argsType: "{ id: FdiId; condition: ToothCondition }",
390
390
  argsSchema: {
391
391
  type: "object",
392
- properties: { id: W, condition: Ye },
392
+ properties: { id: E, condition: ze },
393
393
  required: ["id", "condition"]
394
394
  },
395
395
  idempotent: !0,
@@ -404,7 +404,7 @@ const $n = {
404
404
  argsType: "{ id: FdiId }",
405
405
  argsSchema: {
406
406
  type: "object",
407
- properties: { id: W },
407
+ properties: { id: E },
408
408
  required: ["id"]
409
409
  },
410
410
  idempotent: !0,
@@ -427,7 +427,7 @@ const $n = {
427
427
  description: "Each rendered tooth `<g>` carries its FDI id as `data-fdi`, its first finding as `data-condition`, the full space-separated list as `data-conditions`, the finding count as `data-symbol-count` and the first finding's status as `data-status`; selectable special-element slots carry their id in `data-fdi` too (plus `data-special` naming the kind). Per-surface pick targets carry `data-zone`, per-root pick targets `data-root` (the anatomical root name). The `data-projection` / `data-view-mode` attributes on the root expose the side/plan/both view."
428
428
  }
429
429
  }
430
- }, Nn = ie(
430
+ }, On = re(
431
431
  [
432
432
  "ds:tooth-scheme-alfadocs",
433
433
  "ds:flex ds:flex-col",
@@ -447,28 +447,28 @@ const $n = {
447
447
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
448
448
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
449
449
  ].join(" ")
450
- ), jn = ie(["ds:flex ds:flex-col ds:gap-0"].join(" ")), Fn = ie(
450
+ ), $n = re(["ds:flex ds:flex-col ds:gap-0"].join(" ")), Mn = re(
451
451
  [
452
452
  "ds:block",
453
453
  "ds:w-full ds:min-w-fit ds:h-auto",
454
454
  "ds:text-[var(--foreground)]"
455
455
  ].join(" ")
456
- ), Zt = ie(
456
+ ), Gt = re(
457
457
  [
458
458
  "ds:group ds:cursor-pointer",
459
459
  "ds:focus:outline-none",
460
460
  "ds:transition-[fill,stroke,opacity] ds:duration-[var(--animation-duration)]",
461
461
  "ds:motion-reduce:transition-none"
462
462
  ].join(" ")
463
- ), Xt = ie(
463
+ ), Qt = re(
464
464
  [
465
465
  "ds:flex ds:flex-wrap ds:items-center",
466
466
  "ds:gap-[var(--spacing-sm)]",
467
467
  "type-meta ds:text-[var(--muted-foreground)]"
468
468
  ].join(" ")
469
- ), Jt = ie(
469
+ ), Zt = re(
470
470
  ["ds:inline-flex ds:items-center", "ds:gap-[var(--spacing-xs)]"].join(" ")
471
- ), Mn = ie(["ds:sr-only"].join(" ")), eo = ie(
471
+ ), jn = re(["ds:sr-only"].join(" ")), Xt = re(
472
472
  [
473
473
  "ds:cursor-pointer ds:outline-none",
474
474
  "ds:fill-transparent ds:stroke-transparent",
@@ -486,49 +486,49 @@ const $n = {
486
486
  "ds:forced-colors:focus-visible:stroke-[CanvasText]"
487
487
  ].join(" ")
488
488
  );
489
- function lt(t) {
489
+ function dt(t) {
490
490
  return t.value !== void 0;
491
491
  }
492
- function Ln() {
492
+ function Fn() {
493
493
  return { conditions: [], surfaces: [] };
494
494
  }
495
- function to(t, n, a) {
495
+ function Jt(t, n, s) {
496
496
  const d = n ?? "caries", h = {
497
497
  condition: d,
498
- part: Ve(d, a)
498
+ part: Be(d, s)
499
499
  };
500
500
  return n ? t.some((f) => f.condition === d) ? t.filter((f) => f.condition !== d) : [...t, h] : t.length === 0 ? [h] : [];
501
501
  }
502
- function En(t, n, a, d) {
503
- const h = (b) => a === "surface" ? (b.surfaces ?? []).includes(d) : (b.roots ?? []).includes(d), f = (b) => b.condition === n, x = t.findIndex(
504
- (b) => f(b) && h(b)
505
- ), P = t.findIndex(
506
- (b) => f(b) && b.id === void 0
502
+ function Nn(t, n, s, d) {
503
+ const h = (S) => s === "surface" ? (S.surfaces ?? []).includes(d) : (S.roots ?? []).includes(d), f = (S) => S.condition === n, x = t.findIndex(
504
+ (S) => f(S) && h(S)
505
+ ), q = t.findIndex(
506
+ (S) => f(S) && S.id === void 0
507
507
  );
508
- if (x < 0 && P >= 0)
509
- return oo(t, P, a, d);
508
+ if (x < 0 && q >= 0)
509
+ return eo(t, q, s, d);
510
510
  if (x < 0) {
511
- const b = a === "surface" ? { condition: n, part: a, surfaces: [d] } : { condition: n, part: a, roots: [d] };
512
- return [...t, b];
511
+ const S = s === "surface" ? { condition: n, part: s, surfaces: [d] } : { condition: n, part: s, roots: [d] };
512
+ return [...t, S];
513
513
  }
514
- return oo(t, x, a, d);
514
+ return eo(t, x, s, d);
515
515
  }
516
- function oo(t, n, a, d) {
517
- const h = t[n], f = a === "surface" ? h.surfaces ?? [] : h.roots ?? [], x = f.includes(d) ? f.filter((b) => b !== d) : [...f, d];
518
- if (x.length === 0) return t.filter((b, _) => _ !== n);
519
- const P = a === "surface" ? { ...h, part: a, surfaces: x } : { ...h, part: a, roots: x };
520
- return t.map((b, _) => _ === n ? P : b);
516
+ function eo(t, n, s, d) {
517
+ const h = t[n], f = s === "surface" ? h.surfaces ?? [] : h.roots ?? [], x = f.includes(d) ? f.filter((S) => S !== d) : [...f, d];
518
+ if (x.length === 0) return t.filter((S, _) => _ !== n);
519
+ const q = s === "surface" ? { ...h, part: s, surfaces: x } : { ...h, part: s, roots: x };
520
+ return t.map((S, _) => _ === n ? q : S);
521
521
  }
522
- function Wn(t, n) {
523
- const a = [], d = [];
522
+ function Ln(t, n) {
523
+ const s = [], d = [];
524
524
  for (const h of t) {
525
- ft(h.condition) && !a.includes(h.condition) && a.push(h.condition);
525
+ ut(h.condition) && !s.includes(h.condition) && s.push(h.condition);
526
526
  for (const f of h.surfaces ?? [])
527
527
  d.includes(f) || d.push(f);
528
528
  }
529
- return { ...n ?? Ln(), conditions: a, surfaces: d, symbols: t };
529
+ return { ...n ?? Fn(), conditions: s, surfaces: d, symbols: t };
530
530
  }
531
- function no(t, n) {
531
+ function to(t, n) {
532
532
  switch (t.labelKey) {
533
533
  case "quadrant":
534
534
  return n("toothScheme.special.quadrant", { n: t.labelIndex });
@@ -542,9 +542,9 @@ function no(t, n) {
542
542
  return n("toothScheme.special.general");
543
543
  }
544
544
  }
545
- function Rn(t, n, a) {
545
+ function Wn(t, n, s) {
546
546
  var h;
547
- return a ? ((h = {
547
+ return s ? ((h = {
548
548
  top: { ArrowDown: "center" },
549
549
  bottom: { ArrowUp: "center" },
550
550
  left: { ArrowRight: "center" },
@@ -557,40 +557,40 @@ function Rn(t, n, a) {
557
557
  }
558
558
  }[t]) == null ? void 0 : h[n]) ?? t : n === "ArrowUp" ? "top" : n === "ArrowDown" ? "bottom" : n === "ArrowLeft" ? "left" : n === "ArrowRight" ? "right" : t;
559
559
  }
560
- function Pn(t) {
561
- const n = (a) => a === "mesial" || a === "distal" ? bn(t, a) === "left" ? 0 : 2 : 1;
562
- return [...gn(t)].sort((a, d) => n(a) - n(d));
560
+ function En(t) {
561
+ const n = (s) => s === "mesial" || s === "distal" ? mn(t, s) === "left" ? 0 : 2 : 1;
562
+ return [...pn(t)].sort((s, d) => n(s) - n(d));
563
563
  }
564
- function ze(t) {
565
- const n = Pn(t);
564
+ function Ve(t) {
565
+ const n = En(t);
566
566
  return n.length > 1 ? n : [];
567
567
  }
568
- function Hn(t, n, a) {
569
- const d = a.indexOf(t);
570
- return d < 0 ? t : n === "ArrowRight" ? a[Math.min(a.length - 1, d + 1)] : n === "ArrowLeft" ? a[Math.max(0, d - 1)] : t;
568
+ function Rn(t, n, s) {
569
+ const d = s.indexOf(t);
570
+ return d < 0 ? t : n === "ArrowRight" ? s[Math.min(s.length - 1, d + 1)] : n === "ArrowLeft" ? s[Math.max(0, d - 1)] : t;
571
571
  }
572
- function qn(t, n, a) {
573
- const d = a.w / n;
574
- return { x: a.x + t * d, y: a.y, w: d, h: a.h };
572
+ function Hn(t, n, s) {
573
+ const d = s.w / n;
574
+ return { x: s.x + t * d, y: s.y, w: d, h: s.h };
575
575
  }
576
- function fo({
576
+ function uo({
577
577
  glyph: t,
578
578
  colour: n,
579
- cx: a,
579
+ cx: s,
580
580
  cy: d,
581
581
  opacity: h,
582
582
  testId: f
583
583
  }) {
584
584
  const x = 9 + t.length * 5;
585
- return /* @__PURE__ */ k(
585
+ return /* @__PURE__ */ D(
586
586
  "g",
587
587
  {
588
- transform: `translate(${a - x / 2}, ${d - 7})`,
588
+ transform: `translate(${s - x / 2}, ${d - 7})`,
589
589
  "data-testid": f,
590
590
  pointerEvents: "none",
591
591
  "aria-hidden": "true",
592
592
  children: [
593
- /* @__PURE__ */ s(
593
+ /* @__PURE__ */ a(
594
594
  "rect",
595
595
  {
596
596
  width: x,
@@ -602,7 +602,7 @@ function fo({
602
602
  opacity: h
603
603
  }
604
604
  ),
605
- /* @__PURE__ */ s(
605
+ /* @__PURE__ */ a(
606
606
  "text",
607
607
  {
608
608
  x: x / 2,
@@ -619,22 +619,22 @@ function fo({
619
619
  }
620
620
  );
621
621
  }
622
- function mo({
622
+ function po({
623
623
  status: t,
624
624
  cx: n,
625
- cy: a,
625
+ cy: s,
626
626
  r: d,
627
627
  strokeWidth: h,
628
628
  testId: f
629
629
  }) {
630
- return /* @__PURE__ */ s(
630
+ return /* @__PURE__ */ a(
631
631
  "circle",
632
632
  {
633
633
  cx: n,
634
- cy: a,
634
+ cy: s,
635
635
  r: d,
636
- fill: t === "executed" ? Gt.executed : "var(--card)",
637
- stroke: Gt[t],
636
+ fill: t === "executed" ? Vt.executed : "var(--card)",
637
+ stroke: Vt[t],
638
638
  strokeWidth: h,
639
639
  "data-testid": f,
640
640
  pointerEvents: "none",
@@ -642,14 +642,14 @@ function mo({
642
642
  }
643
643
  );
644
644
  }
645
- const go = ["planned", "executed"];
646
- function Kn({
645
+ const fo = ["planned", "executed"];
646
+ function qn({
647
647
  condition: t,
648
648
  assetBaseUrl: n,
649
- registry: a
649
+ registry: s
650
650
  }) {
651
- const d = de[16], h = ut(t, a), f = t === "missing", x = vn(t, a), P = !h && !f && pt(t, "side", a), b = 36 * 0.9, _ = 62 * 0.9, V = (36 - b) / 2, N = (62 - _) / 2;
652
- return /* @__PURE__ */ k(
651
+ const d = le[16], h = lt(t, s), f = t === "missing", x = fn(t, s), q = !h && !f && ht(t, "side", s), S = 36 * 0.9, _ = 62 * 0.9, B = (36 - S) / 2, M = (62 - _) / 2;
652
+ return /* @__PURE__ */ D(
653
653
  "svg",
654
654
  {
655
655
  width: "22",
@@ -658,30 +658,30 @@ function Kn({
658
658
  "aria-hidden": "true",
659
659
  className: "ds:block ds:shrink-0",
660
660
  children: [
661
- /* @__PURE__ */ s(
661
+ /* @__PURE__ */ a(
662
662
  "image",
663
663
  {
664
- href: lo(d, n),
665
- x: V,
666
- y: N,
667
- width: b,
664
+ href: so(d, n),
665
+ x: B,
666
+ y: M,
667
+ width: S,
668
668
  height: _,
669
669
  preserveAspectRatio: "xMidYMid meet",
670
670
  opacity: f ? 0.25 : 1
671
671
  }
672
672
  ),
673
- h ? /* @__PURE__ */ s(
673
+ h ? /* @__PURE__ */ a(
674
674
  "image",
675
675
  {
676
- href: so(d, n, h),
677
- x: V,
678
- y: N,
679
- width: b,
676
+ href: ro(d, n, h),
677
+ x: B,
678
+ y: M,
679
+ width: S,
680
680
  height: _,
681
681
  preserveAspectRatio: "xMidYMid meet"
682
682
  }
683
683
  ) : null,
684
- P ? /* @__PURE__ */ s(
684
+ q ? /* @__PURE__ */ a(
685
685
  "rect",
686
686
  {
687
687
  x: 3,
@@ -695,19 +695,19 @@ function Kn({
695
695
  rx: 6
696
696
  }
697
697
  ) : null,
698
- f ? /* @__PURE__ */ s(
698
+ f ? /* @__PURE__ */ a(
699
699
  "path",
700
700
  {
701
701
  d: "M7 9 L29 53 M29 9 L7 53",
702
- stroke: ho.missing,
702
+ stroke: co.missing,
703
703
  strokeWidth: 2,
704
704
  fill: "none"
705
705
  }
706
706
  ) : null,
707
- !h && !P && !f ? /* @__PURE__ */ s(
708
- fo,
707
+ !h && !q && !f ? /* @__PURE__ */ a(
708
+ uo,
709
709
  {
710
- glyph: co(t, a),
710
+ glyph: ao(t, s),
711
711
  colour: x,
712
712
  cx: 18,
713
713
  cy: 31
@@ -717,54 +717,54 @@ function Kn({
717
717
  }
718
718
  );
719
719
  }
720
- function Un({
720
+ function Pn({
721
721
  assetBaseUrl: t,
722
722
  registry: n
723
723
  }) {
724
- const { t: a } = io(), d = [
725
- ...mn,
726
- ...(n ?? []).map((h) => h.id).filter((h) => !ft(h))
724
+ const { t: s } = oo(), d = [
725
+ ...un,
726
+ ...(n ?? []).map((h) => h.id).filter((h) => !ut(h))
727
727
  ];
728
- return /* @__PURE__ */ k(
728
+ return /* @__PURE__ */ D(
729
729
  "section",
730
730
  {
731
- "aria-label": a("toothScheme.legendLabel"),
731
+ "aria-label": s("toothScheme.legendLabel"),
732
732
  "data-testid": "tooth-scheme-legend",
733
733
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-md)] ds:bg-[var(--card)] ds:border ds:border-[color:var(--card-border)] ds:p-[var(--spacing-sm)] ds:shadow-[var(--shadow-card)] ds:[.theme-accessible_&]:border-2",
734
734
  children: [
735
- /* @__PURE__ */ s("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: a("toothScheme.legendLabel") }),
736
- /* @__PURE__ */ s("ul", { className: Xt(), children: d.map((h) => {
737
- const f = ro(h, n);
738
- return /* @__PURE__ */ k(
735
+ /* @__PURE__ */ a("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("toothScheme.legendLabel") }),
736
+ /* @__PURE__ */ a("ul", { className: Qt(), children: d.map((h) => {
737
+ const f = no(h, n);
738
+ return /* @__PURE__ */ D(
739
739
  "li",
740
740
  {
741
- className: Jt(),
741
+ className: Zt(),
742
742
  "data-condition": h,
743
743
  "data-testid": `tooth-scheme-legend-item-${h}`,
744
744
  children: [
745
- /* @__PURE__ */ s(
746
- Kn,
745
+ /* @__PURE__ */ a(
746
+ qn,
747
747
  {
748
748
  condition: h,
749
749
  assetBaseUrl: t,
750
750
  registry: n
751
751
  }
752
752
  ),
753
- /* @__PURE__ */ s("span", { children: f.kind === "key" ? a(f.key) : f.text })
753
+ /* @__PURE__ */ a("span", { children: f.kind === "key" ? s(f.key) : f.text })
754
754
  ]
755
755
  },
756
756
  h
757
757
  );
758
758
  }) }),
759
- /* @__PURE__ */ s("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: a("toothScheme.legendStatusLabel") }),
760
- /* @__PURE__ */ s("ul", { className: Xt(), children: go.map((h) => /* @__PURE__ */ k(
759
+ /* @__PURE__ */ a("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("toothScheme.legendStatusLabel") }),
760
+ /* @__PURE__ */ a("ul", { className: Qt(), children: fo.map((h) => /* @__PURE__ */ D(
761
761
  "li",
762
762
  {
763
- className: Jt(),
763
+ className: Zt(),
764
764
  "data-status": h,
765
765
  "data-testid": `tooth-scheme-legend-status-${h}`,
766
766
  children: [
767
- /* @__PURE__ */ s(
767
+ /* @__PURE__ */ a(
768
768
  "svg",
769
769
  {
770
770
  width: "14",
@@ -772,8 +772,8 @@ function Un({
772
772
  viewBox: "0 0 14 14",
773
773
  "aria-hidden": "true",
774
774
  className: "ds:block ds:shrink-0",
775
- children: /* @__PURE__ */ s(
776
- mo,
775
+ children: /* @__PURE__ */ a(
776
+ po,
777
777
  {
778
778
  status: h,
779
779
  cx: 7,
@@ -784,7 +784,7 @@ function Un({
784
784
  )
785
785
  }
786
786
  ),
787
- /* @__PURE__ */ s("span", { children: a(ao(h)) })
787
+ /* @__PURE__ */ a("span", { children: s(io(h)) })
788
788
  ]
789
789
  },
790
790
  h
@@ -793,167 +793,139 @@ function Un({
793
793
  }
794
794
  );
795
795
  }
796
- function ht({
797
- label: t,
798
- value: n,
799
- options: a,
800
- onValueChange: d,
801
- container: h
802
- }) {
803
- return /* @__PURE__ */ k("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
804
- /* @__PURE__ */ s(
805
- "span",
806
- {
807
- "aria-hidden": "true",
808
- className: "type-label ds:text-[color:var(--muted-foreground)]",
809
- children: t
810
- }
811
- ),
812
- /* @__PURE__ */ s(
813
- en,
814
- {
815
- size: "md",
816
- "aria-label": t,
817
- value: n,
818
- options: a,
819
- onValueChange: d,
820
- container: h
821
- }
822
- )
823
- ] });
824
- }
825
- function Yn(t, n) {
796
+ function Kn(t, n) {
826
797
  return t.date === n.date ? 0 : t.date ? n.date && t.date < n.date ? 1 : -1 : 1;
827
798
  }
828
- const $e = Go(
799
+ const Me = zo(
829
800
  ({
830
801
  id: t,
831
802
  dentition: n = "permanent",
832
- numbering: a = "fdi",
803
+ numbering: s = "fdi",
833
804
  mode: d = "interactive",
834
805
  projection: h = "side",
835
806
  specialElements: f,
836
807
  value: x,
837
- defaultValue: P,
838
- onChange: b,
808
+ defaultValue: q,
809
+ onChange: S,
839
810
  onSelect: _,
840
- conditions: V,
841
- radiographs: N,
842
- radiographDisplay: mt = "badge",
843
- onOpenRadiographs: le,
811
+ conditions: B,
812
+ radiographs: M,
813
+ radiographDisplay: pt = "badge",
814
+ onOpenRadiographs: he,
844
815
  activeCondition: j,
845
816
  conditionRegistry: u,
846
- assetBaseUrl: re = "/toothscheme/teeth",
847
- legend: Ne = !1,
848
- controls: H = !1,
849
- controlsContainer: je,
850
- ariaLabel: vo,
851
- className: bo,
852
- _arch: he,
853
- _numbersPosition: Se = "between",
854
- _inner: Fe = !1,
855
- _contentWidth: yo
817
+ assetBaseUrl: ae = "/toothscheme/teeth",
818
+ legend: je = !1,
819
+ controls: P = !1,
820
+ controlsContainer: Fe,
821
+ ariaLabel: mo,
822
+ className: go,
823
+ _arch: ue,
824
+ _numbersPosition: xe = "between",
825
+ _inner: Ne = !1,
826
+ _contentWidth: vo
856
827
  }, So) => {
857
- const { t: l } = io(), [xo, gt] = K(n), [wo, vt] = K(a), [ko, bt] = K(h), [Io, yt] = K(Ne), [To, St] = K(
828
+ const { t: l } = oo(), [yo, ft] = V(n), [bo, mt] = V(s), [xo, gt] = V(h), [wo, vt] = V(je), [ko, St] = V(
858
829
  f
859
- ), [Be, Ao] = K(null), L = H ? xo : n, xe = H ? wo : a, xt = H ? Io : Ne, we = H ? ko : h, O = we === "plan" ? "plan" : "side", Me = we === "both" && !Fe, wt = we === "both", B = H ? To ?? wt : f ?? wt, kt = qe(H);
860
- Ce(() => {
861
- H && !kt.current && (gt(n), vt(a), bt(h), yt(Ne), St(f)), kt.current = H;
830
+ ), L = P ? yo : n, we = P ? bo : s, yt = P ? wo : je, ke = P ? xo : h, O = ke === "plan" ? "plan" : "side", Le = ke === "both" && !Ne, bt = ke === "both", G = P ? ko ?? bt : f ?? bt, Ge = A(() => {
831
+ ft(n), mt(s), gt(h), vt(je), St(f);
862
832
  }, [
863
- H,
864
833
  n,
865
- a,
834
+ s,
866
835
  h,
867
- Ne,
836
+ je,
868
837
  f
869
- ]);
870
- const [Do, It] = K(() => x !== void 0 ? x : P !== void 0 ? P : V ? zt(V) : {}), g = lt({ value: x }) ? x : Do;
871
- Ce(() => {
872
- lt({ value: x }) || V !== void 0 && It(zt(V));
873
- }, [V, x]);
874
- const w = O === "plan" ? 44 : on, M = Oe(
875
- () => tn(L, w, he ? { arch: he } : {}),
876
- [L, w, he]
877
- ), ke = Oe(() => {
878
- if (!B) return [];
879
- if (he)
880
- return Ke(
881
- Ue(L, he, O),
882
- M.width
838
+ ]), xt = Ke(P);
839
+ Oe(() => {
840
+ P && !xt.current && Ge(), xt.current = P;
841
+ }, [P, Ge]);
842
+ const [Io, wt] = V(() => x !== void 0 ? x : q !== void 0 ? q : B ? Ut(B) : {}), g = dt({ value: x }) ? x : Io;
843
+ Oe(() => {
844
+ dt({ value: x }) || B !== void 0 && wt(Ut(B));
845
+ }, [B, x]);
846
+ const w = O === "plan" ? 44 : Jo, N = $e(
847
+ () => Xo(L, w, ue ? { arch: ue } : {}),
848
+ [L, w, ue]
849
+ ), Ie = $e(() => {
850
+ if (!G) return [];
851
+ if (ue)
852
+ return Ue(
853
+ Ye(L, ue, O),
854
+ N.width
883
855
  ).specials;
884
- const e = Ke(
885
- Ue(L, "upper", O),
886
- M.width
887
- ).specials, o = w + fn, r = Ke(
888
- Ue(L, "lower", O),
889
- M.width
856
+ const e = Ue(
857
+ Ye(L, "upper", O),
858
+ N.width
859
+ ).specials, o = w + hn, r = Ue(
860
+ Ye(L, "lower", O),
861
+ N.width
890
862
  ).specials.map((c) => ({ ...c, y: o }));
891
863
  return [...e, ...r];
892
- }, [B, he, L, O, M.width, w]), _o = Oe(() => {
893
- if (!Me) return;
894
- if (!B) return M.width;
895
- let e = M.width;
864
+ }, [G, ue, L, O, N.width, w]), To = $e(() => {
865
+ if (!Le) return;
866
+ if (!G) return N.width;
867
+ let e = N.width;
896
868
  for (const o of ["upper", "lower"])
897
869
  for (const r of ["side", "plan"]) {
898
- const c = Ke(
899
- Ue(L, o, r),
900
- M.width
870
+ const c = Ue(
871
+ Ye(L, o, r),
872
+ N.width
901
873
  ).width;
902
874
  c > e && (e = c);
903
875
  }
904
876
  return e;
905
- }, [Me, B, L, M.width]), ae = Oe(
877
+ }, [Le, G, L, N.width]), se = $e(
906
878
  () => [
907
- ...M.teeth.map((e) => e.fdi),
879
+ ...N.teeth.map((e) => e.fdi),
908
880
  // Special slots join keyboard nav only when interactive — in display /
909
881
  // radiograph-open mode they are decorative (role="img"), so the
910
882
  // radiograph-open keyboard path never reaches a region id.
911
- ...d === "interactive" ? ke.map((e) => e.element.id) : []
883
+ ...d === "interactive" ? Ie.map((e) => e.element.id) : []
912
884
  ],
913
- [M, ke, d]
914
- ), Ge = ae[0], [Ie, Y] = K(Ge);
915
- Ce(() => {
916
- (!Ie || !ae.includes(Ie)) && Y(Ge);
917
- }, [Ge, Ie, ae]);
918
- const [Co, Oo] = K(""), Qe = qe(null), Te = D(
885
+ [N, Ie, d]
886
+ ), Qe = se[0], [Te, Y] = V(Qe);
887
+ Oe(() => {
888
+ (!Te || !se.includes(Te)) && Y(Qe);
889
+ }, [Qe, Te, se]);
890
+ const [Ao, Do] = V(""), Ze = Ke(null), Ae = A(
919
891
  (e) => {
920
- lt({ value: x }) || It(e), b == null || b(e);
892
+ dt({ value: x }) || wt(e), S == null || S(e);
921
893
  },
922
- [b, x]
923
- ), R = D((e) => {
924
- const o = Qe.current;
894
+ [S, x]
895
+ ), R = A((e) => {
896
+ const o = Ze.current;
925
897
  if (!o) return;
926
898
  const r = o.querySelector(`g[data-fdi="${e}"]`);
927
899
  r && (r.focus(), Y(e));
928
- }, []), Tt = D(
900
+ }, []), kt = A(
929
901
  (e) => {
930
- const o = ro(e, u);
902
+ const o = no(e, u);
931
903
  return o.kind === "key" ? l(o.key) : o.text;
932
904
  },
933
905
  [l, u]
934
- ), G = D(
906
+ ), Q = A(
935
907
  (e, o = !0) => {
936
908
  var v;
937
- const r = Tt(e.condition), c = o ? ((v = e.roots) != null && v.length ? e.roots.map((m) => l(`toothScheme.root.${m}`)) : (e.surfaces ?? []).map(
909
+ const r = kt(e.condition), c = o ? ((v = e.roots) != null && v.length ? e.roots.map((m) => l(`toothScheme.root.${m}`)) : (e.surfaces ?? []).map(
938
910
  (m) => l(`toothScheme.surface.${m}`)
939
- )).join(", ") : "", p = e.status ? l(ao(e.status)) : "";
911
+ )).join(", ") : "", p = e.status ? l(io(e.status)) : "";
940
912
  return c && p ? l("toothScheme.symbolWithScopeAndStatus", {
941
913
  condition: r,
942
914
  scope: c,
943
915
  status: p
944
916
  }) : c ? l("toothScheme.symbolWithScope", { condition: r, scope: c }) : p ? l("toothScheme.symbolWithStatus", { condition: r, status: p }) : r;
945
917
  },
946
- [Tt, l]
947
- ), At = D(
918
+ [kt, l]
919
+ ), It = A(
948
920
  (e, o, r) => e.filter(
949
921
  (c) => o === "surface" ? (c.surfaces ?? []).includes(r) : (c.roots ?? []).includes(r)
950
- ).map((c) => `, ${G(c, !1)}`).join(""),
951
- [G]
952
- ), Dt = D(
922
+ ).map((c) => `, ${Q(c, !1)}`).join(""),
923
+ [Q]
924
+ ), Tt = A(
953
925
  (e, o) => {
954
- const r = o.map((c) => G(c)).join(", ");
955
- if (nn(e)) {
956
- const c = no(rn[e], l);
926
+ const r = o.map((c) => Q(c)).join(", ");
927
+ if (en(e)) {
928
+ const c = to(tn[e], l);
957
929
  return o.length > 0 ? l("toothScheme.elementSelected", {
958
930
  name: c,
959
931
  conditions: r
@@ -961,73 +933,73 @@ const $e = Go(
961
933
  }
962
934
  return o.length > 0 ? l("toothScheme.selected", { id: e, conditions: r }) : l("toothScheme.deselected", { id: e });
963
935
  },
964
- [G, l]
965
- ), ue = D(
936
+ [Q, l]
937
+ ), pe = A(
966
938
  (e, o) => {
967
939
  const r = { ...g };
968
- o.length === 0 ? delete r[e] : r[e] = Wn(o, g[e]), Te(r);
940
+ o.length === 0 ? delete r[e] : r[e] = Ln(o, g[e]), Ae(r);
969
941
  },
970
- [g, Te]
971
- ), Q = D(
942
+ [g, Ae]
943
+ ), Z = A(
972
944
  (e, o) => {
973
- ue(e, o), Oo(Dt(e, o)), _ == null || _(e);
945
+ pe(e, o), Do(Tt(e, o)), _ == null || _(e);
974
946
  },
975
- [Dt, _, ue]
976
- ), _t = j ? Ve(j, u) : void 0, q = O === "plan" && d === "interactive" && _t === "surface", se = O === "side" && d === "interactive" && _t === "root", [y, z] = K(null);
977
- Ce(() => {
947
+ [Tt, _, pe]
948
+ ), At = j ? Be(j, u) : void 0, K = O === "plan" && d === "interactive" && At === "surface", ce = O === "side" && d === "interactive" && At === "root", [y, z] = V(null);
949
+ Oe(() => {
978
950
  if (!y) return;
979
- (!(y.part === "surface" ? q : se) || !ae.includes(y.fdi)) && z(null);
980
- }, [q, se, y, ae]);
981
- const Ct = D((e) => {
951
+ (!(y.part === "surface" ? K : ce) || !se.includes(y.fdi)) && z(null);
952
+ }, [K, ce, y, se]);
953
+ const Dt = A((e) => {
982
954
  var r, c;
983
955
  const o = e.part === "surface" ? `path[data-fdi="${e.fdi}"][data-zone="${e.zone}"]` : `rect[data-fdi="${e.fdi}"][data-root="${e.root}"]`;
984
- (c = (r = Qe.current) == null ? void 0 : r.querySelector(o)) == null || c.focus();
985
- }, []), Le = qe(null);
986
- Ce(() => {
956
+ (c = (r = Ze.current) == null ? void 0 : r.querySelector(o)) == null || c.focus();
957
+ }, []), We = Ke(null);
958
+ Oe(() => {
987
959
  if (y) {
988
- Ct(y);
960
+ Dt(y);
989
961
  return;
990
962
  }
991
- const e = Le.current;
992
- Le.current = null, e && R(e);
993
- }, [y, Ct, R]);
994
- const Ot = D(
963
+ const e = We.current;
964
+ We.current = null, e && R(e);
965
+ }, [y, Dt, R]);
966
+ const _t = A(
995
967
  (e, o, r) => j ? F(g[e], u).some(
996
968
  (c) => c.condition === j && (o === "surface" ? (c.surfaces ?? []).includes(r) : (c.roots ?? []).includes(r))
997
969
  ) : !1,
998
970
  [j, g, u]
999
- ), pe = D(
971
+ ), fe = A(
1000
972
  (e, o, r) => {
1001
- if (!j || (o === "surface" ? !q : !se)) return;
973
+ if (!j || (o === "surface" ? !K : !ce)) return;
1002
974
  const c = F(g[e], u);
1003
- Q(
975
+ Z(
1004
976
  e,
1005
- En(c, j, o, r)
977
+ Nn(c, j, o, r)
1006
978
  );
1007
979
  },
1008
980
  [
1009
981
  j,
1010
982
  g,
1011
- Q,
983
+ Z,
1012
984
  u,
1013
- se,
1014
- q
985
+ ce,
986
+ K
1015
987
  ]
1016
- ), Ze = D(
988
+ ), Xe = A(
1017
989
  (e) => {
1018
- const o = de[e];
990
+ const o = le[e];
1019
991
  if (!o) return;
1020
- if (Y(e), q) {
1021
- z({ fdi: e, part: "surface", zone: st(o)[0] });
992
+ if (Y(e), K) {
993
+ z({ fdi: e, part: "surface", zone: at(o)[0] });
1022
994
  return;
1023
995
  }
1024
- const r = ze(o);
996
+ const r = Ve(o);
1025
997
  r.length > 0 && z({ fdi: e, part: "root", root: r[0] });
1026
998
  },
1027
- [q]
1028
- ), $o = D(
999
+ [K]
1000
+ ), _o = A(
1029
1001
  (e, o, r) => {
1030
- const c = de[o];
1002
+ const c = le[o];
1031
1003
  if (c)
1032
1004
  switch (e.key) {
1033
1005
  case "ArrowUp":
@@ -1035,27 +1007,27 @@ const $e = Go(
1035
1007
  case "ArrowLeft":
1036
1008
  case "ArrowRight": {
1037
1009
  e.preventDefault(), e.stopPropagation();
1038
- const p = st(c).includes("center"), v = Rn(r, e.key, p);
1010
+ const p = at(c).includes("center"), v = Wn(r, e.key, p);
1039
1011
  v !== r && z({ fdi: o, part: "surface", zone: v });
1040
1012
  return;
1041
1013
  }
1042
1014
  case " ":
1043
1015
  case "Enter": {
1044
- e.preventDefault(), e.stopPropagation(), pe(o, "surface", Vt(c, r));
1016
+ e.preventDefault(), e.stopPropagation(), fe(o, "surface", Yt(c, r));
1045
1017
  return;
1046
1018
  }
1047
1019
  case "Escape": {
1048
- e.preventDefault(), e.stopPropagation(), Le.current = o, z(null);
1020
+ e.preventDefault(), e.stopPropagation(), We.current = o, z(null);
1049
1021
  return;
1050
1022
  }
1051
1023
  default:
1052
1024
  return;
1053
1025
  }
1054
1026
  },
1055
- [pe]
1056
- ), No = D(
1027
+ [fe]
1028
+ ), Co = A(
1057
1029
  (e, o, r) => {
1058
- const c = de[o];
1030
+ const c = le[o];
1059
1031
  if (c)
1060
1032
  switch (e.key) {
1061
1033
  case "ArrowUp":
@@ -1063,36 +1035,36 @@ const $e = Go(
1063
1035
  case "ArrowLeft":
1064
1036
  case "ArrowRight": {
1065
1037
  e.preventDefault(), e.stopPropagation();
1066
- const p = Hn(r, e.key, ze(c));
1038
+ const p = Rn(r, e.key, Ve(c));
1067
1039
  p !== r && z({ fdi: o, part: "root", root: p });
1068
1040
  return;
1069
1041
  }
1070
1042
  case " ":
1071
1043
  case "Enter": {
1072
- e.preventDefault(), e.stopPropagation(), pe(o, "root", r);
1044
+ e.preventDefault(), e.stopPropagation(), fe(o, "root", r);
1073
1045
  return;
1074
1046
  }
1075
1047
  case "Escape": {
1076
- e.preventDefault(), e.stopPropagation(), Le.current = o, z(null);
1048
+ e.preventDefault(), e.stopPropagation(), We.current = o, z(null);
1077
1049
  return;
1078
1050
  }
1079
1051
  default:
1080
1052
  return;
1081
1053
  }
1082
1054
  },
1083
- [pe]
1084
- ), jo = qe(null), Ee = d === "display" && typeof le == "function", fe = d === "interactive" || Ee, Ae = D(
1055
+ [fe]
1056
+ ), Oo = Ke(null), Ee = d === "display" && typeof he == "function", me = d === "interactive" || Ee, De = A(
1085
1057
  (e) => {
1086
- Y(e), _ == null || _(e), le == null || le(e);
1058
+ Y(e), _ == null || _(e), he == null || he(e);
1087
1059
  },
1088
- [_, le]
1089
- ), Xe = Oe(
1060
+ [_, he]
1061
+ ), Je = $e(
1090
1062
  () => ({
1091
1063
  focusTooth: (e) => {
1092
1064
  R(e);
1093
1065
  },
1094
1066
  getChart: () => g,
1095
- getTooth: (e) => F(g[e], u).map((o) => o.condition).filter(ft),
1067
+ getTooth: (e) => F(g[e], u).map((o) => o.condition).filter(ut),
1096
1068
  getSymbols: (e) => F(g[e], u),
1097
1069
  teethWith: (e) => Object.keys(g).filter(
1098
1070
  (o) => F(g[o], u).some(
@@ -1109,11 +1081,11 @@ const $e = Go(
1109
1081
  (m) => m.condition === o
1110
1082
  );
1111
1083
  if (p >= 0 && !r) return;
1112
- const v = Ve(o, u);
1113
- ue(
1084
+ const v = Be(o, u);
1085
+ pe(
1114
1086
  e,
1115
1087
  p >= 0 ? c.map(
1116
- (m, T) => T === p ? { ...m, surfaces: r } : m
1088
+ (m, I) => I === p ? { ...m, surfaces: r } : m
1117
1089
  ) : [...c, { condition: o, part: v, surfaces: r }]
1118
1090
  );
1119
1091
  },
@@ -1121,7 +1093,7 @@ const $e = Go(
1121
1093
  const r = F(g[e], u), c = o.id ? r.findIndex((p) => p.id === o.id) : r.findIndex(
1122
1094
  (p) => p.condition === o.condition
1123
1095
  );
1124
- ue(
1096
+ pe(
1125
1097
  e,
1126
1098
  c >= 0 ? r.map((p, v) => v === c ? o : p) : [...r, o]
1127
1099
  );
@@ -1130,43 +1102,43 @@ const $e = Go(
1130
1102
  const r = F(g[e], u), c = r.filter(
1131
1103
  (p) => p.condition !== o
1132
1104
  );
1133
- c.length !== r.length && ue(e, c);
1105
+ c.length !== r.length && pe(e, c);
1134
1106
  },
1135
1107
  clearTooth: (e) => {
1136
1108
  if (!g[e]) return;
1137
1109
  const o = { ...g };
1138
- delete o[e], Te(o);
1110
+ delete o[e], Ae(o);
1139
1111
  },
1140
- getRadiographs: (e) => (N == null ? void 0 : N[e]) ?? [],
1141
- teethWithRadiographs: () => Object.keys(N ?? {}).filter(
1112
+ getRadiographs: (e) => (M == null ? void 0 : M[e]) ?? [],
1113
+ teethWithRadiographs: () => Object.keys(M ?? {}).filter(
1142
1114
  (e) => {
1143
1115
  var o;
1144
- return (((o = N == null ? void 0 : N[e]) == null ? void 0 : o.length) ?? 0) > 0;
1116
+ return (((o = M == null ? void 0 : M[e]) == null ? void 0 : o.length) ?? 0) > 0;
1145
1117
  }
1146
1118
  ),
1147
1119
  openRadiographs: (e) => {
1148
- R(e), Ae(e);
1120
+ R(e), De(e);
1149
1121
  }
1150
1122
  }),
1151
1123
  [
1152
1124
  g,
1153
- Te,
1125
+ Ae,
1154
1126
  u,
1155
1127
  R,
1156
- N,
1157
- Ae,
1158
- ue
1128
+ M,
1129
+ De,
1130
+ pe
1159
1131
  ]
1160
1132
  );
1161
- Qo(So, () => Xe, [Xe]), Xo(
1162
- $n,
1163
- Xe,
1164
- Fe ? void 0 : t
1133
+ Vo(So, () => Je, [Je]), Go(
1134
+ Cn,
1135
+ Je,
1136
+ Ne ? void 0 : t
1165
1137
  );
1166
- const $t = D(
1138
+ const Ct = A(
1167
1139
  (e, o) => {
1168
- if (!fe) return;
1169
- const r = de[o], c = ae, p = c.indexOf(o);
1140
+ if (!me) return;
1141
+ const r = le[o], c = se, p = c.indexOf(o);
1170
1142
  switch (e.key) {
1171
1143
  case "ArrowRight": {
1172
1144
  e.preventDefault();
@@ -1194,16 +1166,16 @@ const $e = Go(
1194
1166
  7: 6
1195
1167
  }[r.quadrant];
1196
1168
  if (!m) return;
1197
- const T = `${m}${r.positionInQuadrant}`;
1198
- c.includes(T) && R(T);
1169
+ const I = `${m}${r.positionInQuadrant}`;
1170
+ c.includes(I) && R(I);
1199
1171
  return;
1200
1172
  }
1201
1173
  case "Home": {
1202
1174
  if (e.preventDefault(), !r) return;
1203
1175
  const v = c.filter(
1204
1176
  (m) => {
1205
- var T;
1206
- return ((T = de[m]) == null ? void 0 : T.quadrant) === r.quadrant;
1177
+ var I;
1178
+ return ((I = le[m]) == null ? void 0 : I.quadrant) === r.quadrant;
1207
1179
  }
1208
1180
  );
1209
1181
  v.length > 0 && R(v[0]);
@@ -1213,8 +1185,8 @@ const $e = Go(
1213
1185
  if (e.preventDefault(), !r) return;
1214
1186
  const v = c.filter(
1215
1187
  (m) => {
1216
- var T;
1217
- return ((T = de[m]) == null ? void 0 : T.quadrant) === r.quadrant;
1188
+ var I;
1189
+ return ((I = le[m]) == null ? void 0 : I.quadrant) === r.quadrant;
1218
1190
  }
1219
1191
  );
1220
1192
  v.length > 0 && R(v[v.length - 1]);
@@ -1223,16 +1195,16 @@ const $e = Go(
1223
1195
  case " ":
1224
1196
  case "Enter": {
1225
1197
  if (e.preventDefault(), Ee) {
1226
- Ae(o);
1198
+ De(o);
1227
1199
  return;
1228
1200
  }
1229
- if (r && (q || se && ze(r).length > 0)) {
1230
- Ze(o);
1201
+ if (r && (K || ce && Ve(r).length > 0)) {
1202
+ Xe(o);
1231
1203
  return;
1232
1204
  }
1233
- Q(
1205
+ Z(
1234
1206
  o,
1235
- to(
1207
+ Jt(
1236
1208
  F(g[o], u),
1237
1209
  j,
1238
1210
  u
@@ -1247,117 +1219,117 @@ const $e = Go(
1247
1219
  [
1248
1220
  j,
1249
1221
  g,
1250
- Q,
1222
+ Z,
1251
1223
  u,
1252
- Ze,
1224
+ Xe,
1253
1225
  R,
1254
- Ae,
1226
+ De,
1255
1227
  Ee,
1256
- se,
1257
- q,
1258
- fe,
1259
- ae
1228
+ ce,
1229
+ K,
1230
+ me,
1231
+ se
1260
1232
  ]
1261
- ), Nt = D(
1233
+ ), Ot = A(
1262
1234
  (e) => {
1263
- d === "interactive" && (Y(e), Q(
1235
+ d === "interactive" && (Y(e), Z(
1264
1236
  e,
1265
- to(
1237
+ Jt(
1266
1238
  F(g[e], u),
1267
1239
  j,
1268
1240
  u
1269
1241
  )
1270
1242
  ));
1271
1243
  },
1272
- [j, g, Q, u, d]
1273
- ), Je = L === "primary" ? "mGeneral" : "general", jt = F(g[Je], u).length > 0, Fo = D(
1244
+ [j, g, Z, u, d]
1245
+ ), et = L === "primary" ? "mGeneral" : "general", $t = F(g[et], u).length > 0, $o = A(
1274
1246
  (e) => {
1275
1247
  const o = j ?? "caries";
1276
- Q(
1277
- Je,
1278
- e ? [{ condition: o, part: Ve(o, u) }] : []
1248
+ Z(
1249
+ et,
1250
+ e ? [{ condition: o, part: Be(o, u) }] : []
1279
1251
  );
1280
1252
  },
1281
- [j, Q, u, Je]
1282
- ), Ft = Se === "above" ? 16 : 2, Mo = Se === "below" ? 16 : 2, Lo = ke.length > 0 ? Math.max(...ke.map((e) => e.x)) + ce : 0, Mt = Math.max(
1283
- yo ?? 0,
1284
- M.width,
1285
- Lo
1286
- ) + 4, Lt = M.height + Ft + Mo, et = vo ?? l("toothScheme.ariaLabel"), Eo = fe ? void 0 : 0, Et = Me ? null : /* @__PURE__ */ k(
1253
+ [j, Z, u, et]
1254
+ ), Mt = xe === "above" ? 16 : 2, Mo = xe === "below" ? 16 : 2, jo = Ie.length > 0 ? Math.max(...Ie.map((e) => e.x)) + de : 0, jt = Math.max(
1255
+ vo ?? 0,
1256
+ N.width,
1257
+ jo
1258
+ ) + 4, Ft = N.height + Mt + Mo, tt = mo ?? l("toothScheme.ariaLabel"), Fo = me ? void 0 : 0, Nt = Le ? null : /* @__PURE__ */ D(
1287
1259
  "svg",
1288
1260
  {
1289
- ref: Qe,
1290
- viewBox: `0 ${-Ft} ${Mt} ${Lt}`,
1291
- width: Mt,
1292
- height: Lt,
1293
- className: Fn(),
1261
+ ref: Ze,
1262
+ viewBox: `0 ${-Mt} ${jt} ${Ft}`,
1263
+ width: jt,
1264
+ height: Ft,
1265
+ className: Mn(),
1294
1266
  role: "group",
1295
- "aria-label": et,
1267
+ "aria-label": tt,
1296
1268
  focusable: "false",
1297
1269
  "data-testid": "tooth-scheme-svg",
1298
1270
  xmlns: "http://www.w3.org/2000/svg",
1299
1271
  children: [
1300
- M.teeth.map((e) => {
1301
- var Ut, Yt;
1302
- const o = F(g[e.fdi], u), r = (Ut = o[0]) == null ? void 0 : Ut.condition, c = l(`toothScheme.anatomy.${e.meta.anatomy}`), p = o.map((i) => `, ${G(i)}`).join(""), v = (N == null ? void 0 : N[e.fdi]) ?? [], m = v.length, T = m > 0, me = T ? [...v].sort(Yn)[0] : void 0, ge = mt === "thumbnail" && me !== void 0, tt = T ? `, ${l("toothScheme.radiographBadge", { count: m })}` : "", Pe = Fe ? `, ${l(O === "plan" ? "toothScheme.view.occlusal" : "toothScheme.view.side")}` : "", Z = l("toothScheme.toothLabel", {
1303
- id: Bt(e.fdi, xe),
1272
+ N.teeth.map((e) => {
1273
+ var Pt, Kt;
1274
+ const o = F(g[e.fdi], u), r = (Pt = o[0]) == null ? void 0 : Pt.condition, c = l(`toothScheme.anatomy.${e.meta.anatomy}`), p = o.map((i) => `, ${Q(i)}`).join(""), v = (M == null ? void 0 : M[e.fdi]) ?? [], m = v.length, I = m > 0, ge = I ? [...v].sort(Kn)[0] : void 0, ve = pt === "thumbnail" && ge !== void 0, ot = I ? `, ${l("toothScheme.radiographBadge", { count: m })}` : "", qe = Ne ? `, ${l(O === "plan" ? "toothScheme.view.occlusal" : "toothScheme.view.side")}` : "", X = l("toothScheme.toothLabel", {
1275
+ id: zt(e.fdi, we),
1304
1276
  anatomy: c,
1305
1277
  conditionSuffix: p
1306
- }) + tt + Pe, ot = fe ? y ? -1 : e.fdi === Ie ? 0 : -1 : void 0, X = o.some(
1278
+ }) + ot + qe, nt = me ? y ? -1 : e.fdi === Te ? 0 : -1 : void 0, J = o.some(
1307
1279
  (i) => i.condition === "missing"
1308
- ), Po = o.flatMap((i, S) => {
1280
+ ), Wo = o.flatMap((i, b) => {
1309
1281
  var C;
1310
- const A = O === "side" ? ut(i.condition, u) : an(i.condition, u);
1311
- return A ? ((C = i.roots) != null && C.length ? i.roots : [void 0]).map((ne) => ({
1312
- key: `${S}-${i.condition}-${ne ?? "whole"}`,
1313
- url: O === "side" ? so(e.meta, re, A, {
1314
- root: ne,
1282
+ const T = O === "side" ? lt(i.condition, u) : on(i.condition, u);
1283
+ return T ? ((C = i.roots) != null && C.length ? i.roots : [void 0]).map((ie) => ({
1284
+ key: `${b}-${i.condition}-${ie ?? "whole"}`,
1285
+ url: O === "side" ? ro(e.meta, ae, T, {
1286
+ root: ie,
1315
1287
  region: i.region
1316
- }) : sn(e.meta, re, A, {
1317
- root: ne,
1288
+ }) : nn(e.meta, ae, T, {
1289
+ root: ie,
1318
1290
  region: i.region
1319
1291
  }),
1320
- opacity: i.status ? ct[i.status] : 1
1292
+ opacity: i.status ? st[i.status] : 1
1321
1293
  })) : [];
1322
- }), Ho = o.filter(
1323
- (i) => !pt(
1294
+ }), Eo = o.filter(
1295
+ (i) => !ht(
1324
1296
  i.condition,
1325
1297
  O,
1326
1298
  u
1327
1299
  )
1328
- ).map((i, S) => ({
1329
- key: `${i.condition}-${S}`,
1300
+ ).map((i, b) => ({
1301
+ key: `${i.condition}-${b}`,
1330
1302
  condition: i.condition,
1331
- glyph: co(i.condition, u),
1332
- colour: dt(i, u),
1333
- opacity: i.status ? ct[i.status] : 1
1334
- })), De = o.find(
1335
- (i) => i.condition !== "missing" && !ut(i.condition, u) && pt(i.condition, "side", u)
1336
- ), Pt = De ? dt(De, u) : void 0, qo = go.filter(
1337
- (i) => o.some((S) => S.status === i)
1338
- ), Ko = (o.length > 0 ? `${c} · ${o.map((i) => G(i)).join(" · ")}` : c) + (T ? ` · ${l("toothScheme.radiographBadge", { count: m })}` : ""), nt = Bt(e.fdi, xe), Uo = lo(
1303
+ glyph: ao(i.condition, u),
1304
+ colour: ct(i, u),
1305
+ opacity: i.status ? st[i.status] : 1
1306
+ })), _e = o.find(
1307
+ (i) => i.condition !== "missing" && !lt(i.condition, u) && ht(i.condition, "side", u)
1308
+ ), Et = _e ? ct(_e, u) : void 0, Ro = fo.filter(
1309
+ (i) => o.some((b) => b.status === i)
1310
+ ), Ho = (o.length > 0 ? `${c} · ${o.map((i) => Q(i)).join(" · ")}` : c) + (I ? ` · ${l("toothScheme.radiographBadge", { count: m })}` : ""), it = zt(e.fdi, we), qo = so(
1339
1311
  e.meta,
1340
- re,
1312
+ ae,
1341
1313
  "default",
1342
1314
  O
1343
- ), Yo = ge && me ? me.thumbnailUrl ?? me.url : Uo, zo = O === "plan" ? o.flatMap((i, S) => {
1344
- const A = cn(
1315
+ ), Po = ve && ge ? ge.thumbnailUrl ?? ge.url : qo, Ko = O === "plan" ? o.flatMap((i, b) => {
1316
+ const T = rn(
1345
1317
  i.condition,
1346
1318
  u
1347
1319
  );
1348
- return A ? (i.surfaces ?? []).map((I) => ({
1349
- key: `${S}-${i.condition}-${I}`,
1350
- url: dn(
1320
+ return T ? (i.surfaces ?? []).map((k) => ({
1321
+ key: `${b}-${i.condition}-${k}`,
1322
+ url: an(
1351
1323
  e.meta,
1352
- re,
1353
- A,
1354
- I
1324
+ ae,
1325
+ T,
1326
+ k
1355
1327
  ),
1356
- opacity: i.status ? ct[i.status] : 1
1328
+ opacity: i.status ? st[i.status] : 1
1357
1329
  })) : [];
1358
- }) : [], Ht = (e.meta.dentition === "primary" ? ln : 1) * 0.9, J = U * Ht, ee = w * Ht, ve = (U - J) / 2, be = (w - ee) / 2, te = (y == null ? void 0 : y.part) === "surface" && y.fdi === e.fdi, oe = (y == null ? void 0 : y.part) === "root" && y.fdi === e.fdi, _e = te || oe, it = q ? st(e.meta) : [], Vo = it.includes("center"), He = se ? ze(e.meta) : [], qt = it.length > 0 || He.length > 0, Kt = Se === "above" ? -4 : Se === "below" ? w + 12 : Se === "none" ? null : e.meta.arch === "upper" ? w + 12 : -4;
1359
- return /* @__PURE__ */ k(E.Root, { children: [
1360
- /* @__PURE__ */ s(E.Trigger, { asChild: !0, children: /* @__PURE__ */ k(
1330
+ }) : [], Rt = (e.meta.dentition === "primary" ? sn : 1) * 0.9, ee = U * Rt, te = w * Rt, Se = (U - ee) / 2, ye = (w - te) / 2, oe = (y == null ? void 0 : y.part) === "surface" && y.fdi === e.fdi, ne = (y == null ? void 0 : y.part) === "root" && y.fdi === e.fdi, Ce = oe || ne, rt = K ? at(e.meta) : [], Uo = rt.includes("center"), Pe = ce ? Ve(e.meta) : [], Ht = rt.length > 0 || Pe.length > 0, qt = xe === "above" ? -4 : xe === "below" ? w + 12 : xe === "none" ? null : e.meta.arch === "upper" ? w + 12 : -4;
1331
+ return /* @__PURE__ */ D(W.Root, { children: [
1332
+ /* @__PURE__ */ a(W.Trigger, { asChild: !0, children: /* @__PURE__ */ D(
1361
1333
  "g",
1362
1334
  {
1363
1335
  "data-fdi": e.fdi,
@@ -1368,20 +1340,20 @@ const $e = Go(
1368
1340
  "data-condition": r ?? "none",
1369
1341
  "data-symbol-count": o.length,
1370
1342
  "data-conditions": o.length > 0 ? o.map((i) => i.condition).join(" ") : void 0,
1371
- "data-status": (Yt = o[0]) == null ? void 0 : Yt.status,
1343
+ "data-status": (Kt = o[0]) == null ? void 0 : Kt.status,
1372
1344
  "data-testid": `tooth-${e.fdi}`,
1373
1345
  transform: `translate(${e.x}, ${e.y})`,
1374
- tabIndex: ot,
1375
- role: _e ? "group" : fe ? "button" : "img",
1376
- "aria-label": Z,
1377
- "aria-pressed": _e || qt ? void 0 : d === "interactive" ? r !== void 0 : void 0,
1378
- "aria-expanded": !_e && qt && fe ? !1 : void 0,
1379
- className: Zt(),
1380
- onClick: _e ? void 0 : d === "interactive" ? q || He.length > 0 ? () => Ze(e.fdi) : () => Nt(e.fdi) : Ee ? () => Ae(e.fdi) : void 0,
1346
+ tabIndex: nt,
1347
+ role: Ce ? "group" : me ? "button" : "img",
1348
+ "aria-label": X,
1349
+ "aria-pressed": Ce || Ht ? void 0 : d === "interactive" ? r !== void 0 : void 0,
1350
+ "aria-expanded": !Ce && Ht && me ? !1 : void 0,
1351
+ className: Gt(),
1352
+ onClick: Ce ? void 0 : d === "interactive" ? K || Pe.length > 0 ? () => Xe(e.fdi) : () => Ot(e.fdi) : Ee ? () => De(e.fdi) : void 0,
1381
1353
  onFocus: () => Y(e.fdi),
1382
- onKeyDown: _e ? void 0 : (i) => $t(i, e.fdi),
1354
+ onKeyDown: Ce ? void 0 : (i) => Ct(i, e.fdi),
1383
1355
  children: [
1384
- /* @__PURE__ */ s(
1356
+ /* @__PURE__ */ a(
1385
1357
  "rect",
1386
1358
  {
1387
1359
  x: -$,
@@ -1391,153 +1363,153 @@ const $e = Go(
1391
1363
  fill: "transparent"
1392
1364
  }
1393
1365
  ),
1394
- /* @__PURE__ */ s(
1366
+ /* @__PURE__ */ a(
1395
1367
  "image",
1396
1368
  {
1397
- href: Yo,
1398
- x: ve,
1399
- y: be,
1400
- width: J,
1401
- height: ee,
1402
- preserveAspectRatio: ge ? "xMidYMid slice" : "xMidYMid meet",
1403
- opacity: X && !ge ? 0.25 : 1,
1369
+ href: Po,
1370
+ x: Se,
1371
+ y: ye,
1372
+ width: ee,
1373
+ height: te,
1374
+ preserveAspectRatio: ve ? "xMidYMid slice" : "xMidYMid meet",
1375
+ opacity: J && !ve ? 0.25 : 1,
1404
1376
  "aria-hidden": "true"
1405
1377
  }
1406
1378
  ),
1407
- Po.map(({ key: i, url: S, opacity: A }) => {
1408
- const I = O === "plan" ? hn(S) : 1, C = J * I, ne = ee * I;
1409
- return /* @__PURE__ */ s(
1379
+ Wo.map(({ key: i, url: b, opacity: T }) => {
1380
+ const k = O === "plan" ? cn(b) : 1, C = ee * k, ie = te * k;
1381
+ return /* @__PURE__ */ a(
1410
1382
  "image",
1411
1383
  {
1412
- href: S,
1413
- x: ve - (C - J) / 2,
1414
- y: be - (ne - ee) / 2,
1384
+ href: b,
1385
+ x: Se - (C - ee) / 2,
1386
+ y: ye - (ie - te) / 2,
1415
1387
  width: C,
1416
- height: ne,
1388
+ height: ie,
1417
1389
  preserveAspectRatio: "xMidYMid meet",
1418
- opacity: A,
1390
+ opacity: T,
1419
1391
  "aria-hidden": "true",
1420
1392
  pointerEvents: "none"
1421
1393
  },
1422
1394
  i
1423
1395
  );
1424
1396
  }),
1425
- zo.map(({ key: i, url: S, opacity: A }) => /* @__PURE__ */ s(
1397
+ Ko.map(({ key: i, url: b, opacity: T }) => /* @__PURE__ */ a(
1426
1398
  "image",
1427
1399
  {
1428
- href: S,
1429
- x: ve,
1430
- y: be,
1431
- width: J,
1432
- height: ee,
1400
+ href: b,
1401
+ x: Se,
1402
+ y: ye,
1403
+ width: ee,
1404
+ height: te,
1433
1405
  preserveAspectRatio: "xMidYMid meet",
1434
- opacity: A,
1406
+ opacity: T,
1435
1407
  "aria-hidden": "true",
1436
1408
  pointerEvents: "none"
1437
1409
  },
1438
1410
  i
1439
1411
  )),
1440
- Ho.map(
1441
- ({ key: i, condition: S, glyph: A, colour: I, opacity: C }, ne) => /* @__PURE__ */ s(
1442
- fo,
1412
+ Eo.map(
1413
+ ({ key: i, condition: b, glyph: T, colour: k, opacity: C }, ie) => /* @__PURE__ */ a(
1414
+ uo,
1443
1415
  {
1444
- glyph: A,
1445
- colour: I,
1416
+ glyph: T,
1417
+ colour: k,
1446
1418
  opacity: C,
1447
1419
  cx: U / 2,
1448
- cy: w / 2 + ne * 16,
1449
- testId: `tooth-${e.fdi}-glyph-${S}`
1420
+ cy: w / 2 + ie * 16,
1421
+ testId: `tooth-${e.fdi}-glyph-${b}`
1450
1422
  },
1451
1423
  i
1452
1424
  )
1453
1425
  ),
1454
- it.map((i) => {
1455
- const S = Vt(e.meta, i), A = Ot(
1426
+ rt.map((i) => {
1427
+ const b = Yt(e.meta, i), T = _t(
1456
1428
  e.fdi,
1457
1429
  "surface",
1458
- S
1430
+ b
1459
1431
  );
1460
- return /* @__PURE__ */ s(
1432
+ return /* @__PURE__ */ a(
1461
1433
  "path",
1462
1434
  {
1463
- d: un(
1435
+ d: dn(
1464
1436
  i,
1465
- { x: ve, y: be, w: J, h: ee },
1466
- Vo
1437
+ { x: Se, y: ye, w: ee, h: te },
1438
+ Uo
1467
1439
  ),
1468
1440
  "data-fdi": e.fdi,
1469
1441
  "data-zone": i,
1470
- "data-surface": S,
1442
+ "data-surface": b,
1471
1443
  "data-testid": `tooth-${e.fdi}-zone-${i}`,
1472
- role: te ? "button" : void 0,
1473
- tabIndex: te ? (y == null ? void 0 : y.part) === "surface" && y.zone === i ? 0 : -1 : void 0,
1474
- "aria-label": te ? l("toothScheme.toothLabel", {
1475
- id: nt,
1476
- anatomy: l(`toothScheme.surface.${S}`),
1477
- conditionSuffix: At(
1444
+ role: oe ? "button" : void 0,
1445
+ tabIndex: oe ? (y == null ? void 0 : y.part) === "surface" && y.zone === i ? 0 : -1 : void 0,
1446
+ "aria-label": oe ? l("toothScheme.toothLabel", {
1447
+ id: it,
1448
+ anatomy: l(`toothScheme.surface.${b}`),
1449
+ conditionSuffix: It(
1478
1450
  o,
1479
1451
  "surface",
1480
- S
1452
+ b
1481
1453
  )
1482
1454
  }) : void 0,
1483
- "aria-pressed": te ? A : void 0,
1455
+ "aria-pressed": oe ? T : void 0,
1484
1456
  strokeWidth: "var(--focus-ring-width)",
1485
- className: eo(),
1486
- onClick: (I) => {
1487
- I.stopPropagation(), te || Y(e.fdi), pe(e.fdi, "surface", S);
1457
+ className: Xt(),
1458
+ onClick: (k) => {
1459
+ k.stopPropagation(), oe || Y(e.fdi), fe(e.fdi, "surface", b);
1488
1460
  },
1489
- onKeyDown: te ? (I) => $o(I, e.fdi, i) : void 0,
1490
- onFocus: te ? () => z(
1491
- (I) => I && I.part === "surface" && I.fdi === e.fdi && I.zone === i ? I : { fdi: e.fdi, part: "surface", zone: i }
1461
+ onKeyDown: oe ? (k) => _o(k, e.fdi, i) : void 0,
1462
+ onFocus: oe ? () => z(
1463
+ (k) => k && k.part === "surface" && k.fdi === e.fdi && k.zone === i ? k : { fdi: e.fdi, part: "surface", zone: i }
1492
1464
  ) : void 0
1493
1465
  },
1494
1466
  i
1495
1467
  );
1496
1468
  }),
1497
- He.map((i, S) => {
1498
- const A = qn(S, He.length, {
1499
- x: ve,
1500
- y: be,
1501
- w: J,
1502
- h: ee
1503
- }), I = Ot(e.fdi, "root", i);
1504
- return /* @__PURE__ */ s(
1469
+ Pe.map((i, b) => {
1470
+ const T = Hn(b, Pe.length, {
1471
+ x: Se,
1472
+ y: ye,
1473
+ w: ee,
1474
+ h: te
1475
+ }), k = _t(e.fdi, "root", i);
1476
+ return /* @__PURE__ */ a(
1505
1477
  "rect",
1506
1478
  {
1507
- x: A.x,
1508
- y: A.y,
1509
- width: A.w,
1510
- height: A.h,
1479
+ x: T.x,
1480
+ y: T.y,
1481
+ width: T.w,
1482
+ height: T.h,
1511
1483
  rx: "2",
1512
1484
  "data-fdi": e.fdi,
1513
1485
  "data-root": i,
1514
1486
  "data-testid": `tooth-${e.fdi}-root-${i}`,
1515
- role: oe ? "button" : void 0,
1516
- tabIndex: oe ? (y == null ? void 0 : y.part) === "root" && y.root === i ? 0 : -1 : void 0,
1517
- "aria-label": oe ? l("toothScheme.toothLabel", {
1518
- id: nt,
1487
+ role: ne ? "button" : void 0,
1488
+ tabIndex: ne ? (y == null ? void 0 : y.part) === "root" && y.root === i ? 0 : -1 : void 0,
1489
+ "aria-label": ne ? l("toothScheme.toothLabel", {
1490
+ id: it,
1519
1491
  anatomy: l(`toothScheme.root.${i}`),
1520
- conditionSuffix: At(
1492
+ conditionSuffix: It(
1521
1493
  o,
1522
1494
  "root",
1523
1495
  i
1524
1496
  )
1525
1497
  }) : void 0,
1526
- "aria-pressed": oe ? I : void 0,
1498
+ "aria-pressed": ne ? k : void 0,
1527
1499
  strokeWidth: "var(--focus-ring-width)",
1528
- className: eo(),
1500
+ className: Xt(),
1529
1501
  onClick: (C) => {
1530
- C.stopPropagation(), oe || Y(e.fdi), pe(e.fdi, "root", i);
1502
+ C.stopPropagation(), ne || Y(e.fdi), fe(e.fdi, "root", i);
1531
1503
  },
1532
- onKeyDown: oe ? (C) => No(C, e.fdi, i) : void 0,
1533
- onFocus: oe ? () => z(
1504
+ onKeyDown: ne ? (C) => Co(C, e.fdi, i) : void 0,
1505
+ onFocus: ne ? () => z(
1534
1506
  (C) => C && C.part === "root" && C.fdi === e.fdi && C.root === i ? C : { fdi: e.fdi, part: "root", root: i }
1535
1507
  ) : void 0
1536
1508
  },
1537
1509
  i
1538
1510
  );
1539
1511
  }),
1540
- O === "side" && Pt ? /* @__PURE__ */ s(
1512
+ O === "side" && Et ? /* @__PURE__ */ a(
1541
1513
  "rect",
1542
1514
  {
1543
1515
  x: 3,
@@ -1545,18 +1517,18 @@ const $e = Go(
1545
1517
  width: U - 6,
1546
1518
  height: w - 4,
1547
1519
  fill: "none",
1548
- stroke: Pt,
1520
+ stroke: Et,
1549
1521
  strokeWidth: "2",
1550
- strokeDasharray: (De == null ? void 0 : De.condition) === "filled" ? "4 2" : void 0,
1522
+ strokeDasharray: (_e == null ? void 0 : _e.condition) === "filled" ? "4 2" : void 0,
1551
1523
  rx: "6",
1552
1524
  pointerEvents: "none"
1553
1525
  }
1554
1526
  ) : null,
1555
- qo.map((i, S) => /* @__PURE__ */ s(
1556
- mo,
1527
+ Ro.map((i, b) => /* @__PURE__ */ a(
1528
+ po,
1557
1529
  {
1558
1530
  status: i,
1559
- cx: 5 + S * 9,
1531
+ cx: 5 + b * 9,
1560
1532
  cy: 5,
1561
1533
  r: 3.25,
1562
1534
  strokeWidth: 1.25,
@@ -1564,23 +1536,23 @@ const $e = Go(
1564
1536
  },
1565
1537
  i
1566
1538
  )),
1567
- X ? /* @__PURE__ */ s(
1539
+ J ? /* @__PURE__ */ a(
1568
1540
  "path",
1569
1541
  {
1570
1542
  d: `M7 9 L${U - 7} ${w - 9} M${U - 7} 9 L7 ${w - 9}`,
1571
- stroke: ho.missing,
1543
+ stroke: co.missing,
1572
1544
  strokeWidth: "2",
1573
1545
  fill: "none",
1574
1546
  pointerEvents: "none"
1575
1547
  }
1576
1548
  ) : null,
1577
- ge ? /* @__PURE__ */ s(
1549
+ ve ? /* @__PURE__ */ a(
1578
1550
  "rect",
1579
1551
  {
1580
- x: ve,
1581
- y: be,
1582
- width: J,
1583
- height: ee,
1552
+ x: Se,
1553
+ y: ye,
1554
+ width: ee,
1555
+ height: te,
1584
1556
  fill: "none",
1585
1557
  stroke: "var(--border)",
1586
1558
  strokeWidth: "1",
@@ -1588,7 +1560,7 @@ const $e = Go(
1588
1560
  pointerEvents: "none"
1589
1561
  }
1590
1562
  ) : null,
1591
- T ? /* @__PURE__ */ k(
1563
+ I ? /* @__PURE__ */ D(
1592
1564
  "g",
1593
1565
  {
1594
1566
  "data-testid": `tooth-${e.fdi}-radiograph-badge`,
@@ -1597,7 +1569,7 @@ const $e = Go(
1597
1569
  pointerEvents: "none",
1598
1570
  "aria-hidden": "true",
1599
1571
  children: [
1600
- /* @__PURE__ */ s(
1572
+ /* @__PURE__ */ a(
1601
1573
  "rect",
1602
1574
  {
1603
1575
  width: m >= 10 ? 17 : 13,
@@ -1608,7 +1580,7 @@ const $e = Go(
1608
1580
  strokeWidth: "0.75"
1609
1581
  }
1610
1582
  ),
1611
- /* @__PURE__ */ s(
1583
+ /* @__PURE__ */ a(
1612
1584
  "text",
1613
1585
  {
1614
1586
  x: (m >= 10 ? 17 : 13) / 2,
@@ -1624,7 +1596,7 @@ const $e = Go(
1624
1596
  ]
1625
1597
  }
1626
1598
  ) : null,
1627
- /* @__PURE__ */ s(
1599
+ /* @__PURE__ */ a(
1628
1600
  "rect",
1629
1601
  {
1630
1602
  x: -$,
@@ -1644,46 +1616,46 @@ const $e = Go(
1644
1616
  rx: "4"
1645
1617
  }
1646
1618
  ),
1647
- Kt !== null ? /* @__PURE__ */ s(
1619
+ qt !== null ? /* @__PURE__ */ a(
1648
1620
  "text",
1649
1621
  {
1650
1622
  x: U / 2,
1651
- y: Kt,
1623
+ y: qt,
1652
1624
  textAnchor: "middle",
1653
1625
  fontSize: "10",
1654
1626
  fill: "var(--muted-foreground)",
1655
1627
  className: "ds:select-none",
1656
1628
  "aria-hidden": "true",
1657
- children: nt
1629
+ children: it
1658
1630
  }
1659
1631
  ) : null
1660
1632
  ]
1661
1633
  }
1662
1634
  ) }),
1663
- /* @__PURE__ */ s(E.Portal, { children: /* @__PURE__ */ k(
1664
- E.Content,
1635
+ /* @__PURE__ */ a(W.Portal, { children: /* @__PURE__ */ D(
1636
+ W.Content,
1665
1637
  {
1666
1638
  side: "top",
1667
1639
  sideOffset: 6,
1668
1640
  className: "ds:z-[var(--z-tooltip)] ds:rounded-[var(--radius-sm)] ds:bg-[var(--foreground)] ds:text-[var(--background)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:pt-[calc(var(--spacing-xs)/2)] ds:pb-[calc(var(--spacing-xs)/2)] ds:text-[length:var(--font-size-xs)]",
1669
1641
  children: [
1670
- Ko,
1671
- /* @__PURE__ */ s(E.Arrow, { className: "ds:fill-[var(--foreground)]" })
1642
+ Ho,
1643
+ /* @__PURE__ */ a(W.Arrow, { className: "ds:fill-[var(--foreground)]" })
1672
1644
  ]
1673
1645
  }
1674
1646
  ) })
1675
1647
  ] }, e.fdi);
1676
1648
  }),
1677
- ke.map(({ element: e, x: o, y: r }) => {
1649
+ Ie.map(({ element: e, x: o, y: r }) => {
1678
1650
  const c = F(
1679
1651
  g[e.id],
1680
1652
  u
1681
- ), p = c[0], v = p == null ? void 0 : p.condition, m = v !== void 0, T = no(e, l), me = c.map((X) => `, ${G(X)}`).join(""), ge = l("toothScheme.elementLabel", {
1682
- name: T,
1683
- conditionSuffix: me
1684
- }), tt = p ? dt(p, u) : void 0, Pe = pn(e, re), Z = d === "interactive", ot = Z ? e.id === Ie ? 0 : -1 : void 0;
1685
- return /* @__PURE__ */ k(E.Root, { children: [
1686
- /* @__PURE__ */ s(E.Trigger, { asChild: !0, children: /* @__PURE__ */ k(
1653
+ ), p = c[0], v = p == null ? void 0 : p.condition, m = v !== void 0, I = to(e, l), ge = c.map((J) => `, ${Q(J)}`).join(""), ve = l("toothScheme.elementLabel", {
1654
+ name: I,
1655
+ conditionSuffix: ge
1656
+ }), ot = p ? ct(p, u) : void 0, qe = ln(e, ae), X = d === "interactive", nt = X ? e.id === Te ? 0 : -1 : void 0;
1657
+ return /* @__PURE__ */ D(W.Root, { children: [
1658
+ /* @__PURE__ */ a(W.Trigger, { asChild: !0, children: /* @__PURE__ */ D(
1687
1659
  "g",
1688
1660
  {
1689
1661
  "data-fdi": e.id,
@@ -1692,57 +1664,57 @@ const $e = Go(
1692
1664
  "data-condition": v ?? "none",
1693
1665
  "data-testid": `element-${e.id}`,
1694
1666
  transform: `translate(${o}, ${r})`,
1695
- tabIndex: ot,
1696
- role: Z ? "button" : "img",
1697
- "aria-label": ge,
1698
- "aria-pressed": Z ? m : void 0,
1699
- className: Zt(),
1700
- onClick: Z ? () => Nt(e.id) : void 0,
1701
- onFocus: Z ? () => Y(e.id) : void 0,
1702
- onKeyDown: Z ? (X) => $t(X, e.id) : void 0,
1667
+ tabIndex: nt,
1668
+ role: X ? "button" : "img",
1669
+ "aria-label": ve,
1670
+ "aria-pressed": X ? m : void 0,
1671
+ className: Gt(),
1672
+ onClick: X ? () => Ot(e.id) : void 0,
1673
+ onFocus: X ? () => Y(e.id) : void 0,
1674
+ onKeyDown: X ? (J) => Ct(J, e.id) : void 0,
1703
1675
  children: [
1704
- /* @__PURE__ */ s(
1676
+ /* @__PURE__ */ a(
1705
1677
  "rect",
1706
1678
  {
1707
1679
  x: -$,
1708
1680
  y: -$,
1709
- width: ce + $ * 2,
1681
+ width: de + $ * 2,
1710
1682
  height: w + $ * 2,
1711
1683
  fill: "transparent"
1712
1684
  }
1713
1685
  ),
1714
- /* @__PURE__ */ s(
1686
+ /* @__PURE__ */ a(
1715
1687
  "rect",
1716
1688
  {
1717
1689
  x: 0,
1718
1690
  y: 0,
1719
- width: ce,
1691
+ width: de,
1720
1692
  height: w,
1721
1693
  rx: 6,
1722
1694
  fill: m ? "var(--accent)" : "var(--card)",
1723
1695
  fillOpacity: m ? 0.16 : 1,
1724
- stroke: tt ?? "var(--border)",
1696
+ stroke: ot ?? "var(--border)",
1725
1697
  strokeWidth: m ? 2 : 1
1726
1698
  }
1727
1699
  ),
1728
- Pe ? /* @__PURE__ */ k(Bo, { children: [
1729
- /* @__PURE__ */ s(
1700
+ qe ? /* @__PURE__ */ D(Yo, { children: [
1701
+ /* @__PURE__ */ a(
1730
1702
  "image",
1731
1703
  {
1732
- href: Pe,
1704
+ href: qe,
1733
1705
  x: 3,
1734
1706
  y: 3,
1735
- width: ce - 6,
1707
+ width: de - 6,
1736
1708
  height: w - 16,
1737
1709
  preserveAspectRatio: "xMidYMid meet",
1738
1710
  "aria-hidden": "true",
1739
1711
  pointerEvents: "none"
1740
1712
  }
1741
1713
  ),
1742
- /* @__PURE__ */ s(
1714
+ /* @__PURE__ */ a(
1743
1715
  "text",
1744
1716
  {
1745
- x: ce / 2,
1717
+ x: de / 2,
1746
1718
  y: w - 4,
1747
1719
  textAnchor: "middle",
1748
1720
  fontSize: "9",
@@ -1753,10 +1725,10 @@ const $e = Go(
1753
1725
  children: e.code
1754
1726
  }
1755
1727
  )
1756
- ] }) : /* @__PURE__ */ s(
1728
+ ] }) : /* @__PURE__ */ a(
1757
1729
  "text",
1758
1730
  {
1759
- x: ce / 2,
1731
+ x: de / 2,
1760
1732
  y: w / 2,
1761
1733
  textAnchor: "middle",
1762
1734
  dominantBaseline: "central",
@@ -1768,12 +1740,12 @@ const $e = Go(
1768
1740
  children: e.code
1769
1741
  }
1770
1742
  ),
1771
- /* @__PURE__ */ s(
1743
+ /* @__PURE__ */ a(
1772
1744
  "rect",
1773
1745
  {
1774
1746
  x: -$,
1775
1747
  y: -$,
1776
- width: ce + $ * 2,
1748
+ width: de + $ * 2,
1777
1749
  height: w + $ * 2,
1778
1750
  fill: "none",
1779
1751
  stroke: "var(--ring)",
@@ -1791,15 +1763,15 @@ const $e = Go(
1791
1763
  ]
1792
1764
  }
1793
1765
  ) }),
1794
- /* @__PURE__ */ s(E.Portal, { children: /* @__PURE__ */ k(
1795
- E.Content,
1766
+ /* @__PURE__ */ a(W.Portal, { children: /* @__PURE__ */ D(
1767
+ W.Content,
1796
1768
  {
1797
1769
  side: "top",
1798
1770
  sideOffset: 6,
1799
1771
  className: "ds:z-[var(--z-tooltip)] ds:rounded-[var(--radius-sm)] ds:bg-[var(--foreground)] ds:text-[var(--background)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:pt-[calc(var(--spacing-xs)/2)] ds:pb-[calc(var(--spacing-xs)/2)] ds:text-[length:var(--font-size-xs)]",
1800
1772
  children: [
1801
- c.length > 0 ? `${T} · ${c.map((X) => G(X)).join(" · ")}` : T,
1802
- /* @__PURE__ */ s(E.Arrow, { className: "ds:fill-[var(--foreground)]" })
1773
+ c.length > 0 ? `${I} · ${c.map((J) => Q(J)).join(" · ")}` : I,
1774
+ /* @__PURE__ */ a(W.Arrow, { className: "ds:fill-[var(--foreground)]" })
1803
1775
  ]
1804
1776
  }
1805
1777
  ) })
@@ -1807,245 +1779,218 @@ const $e = Go(
1807
1779
  })
1808
1780
  ]
1809
1781
  }
1810
- ), Wt = /* @__PURE__ */ s(
1782
+ ), Lt = /* @__PURE__ */ a(
1811
1783
  "div",
1812
1784
  {
1813
- className: Mn(),
1785
+ className: jn(),
1814
1786
  "aria-live": "polite",
1815
1787
  "aria-atomic": "true",
1816
1788
  "data-testid": "tooth-scheme-live",
1817
- children: Co
1789
+ children: Ao
1818
1790
  }
1819
1791
  );
1820
- if (Fe)
1821
- return /* @__PURE__ */ k(E.Provider, { delayDuration: 200, children: [
1822
- Et,
1823
- Wt
1792
+ if (Ne)
1793
+ return /* @__PURE__ */ D(W.Provider, { delayDuration: 200, children: [
1794
+ Nt,
1795
+ Lt
1824
1796
  ] });
1825
- const Wo = (e) => l(e === "upper" ? "toothScheme.arch.upper" : "toothScheme.arch.lower"), We = (e, o) => `${et} — ${Wo(e)}, ${l(o === "plan" ? "toothScheme.view.occlusal" : "toothScheme.view.side")}`, Re = {
1797
+ const No = (e) => l(e === "upper" ? "toothScheme.arch.upper" : "toothScheme.arch.lower"), Re = (e, o) => `${tt} — ${No(e)}, ${l(o === "plan" ? "toothScheme.view.occlusal" : "toothScheme.view.side")}`, He = {
1826
1798
  dentition: L,
1827
- numbering: xe,
1799
+ numbering: we,
1828
1800
  mode: d,
1829
1801
  value: g,
1830
- onChange: Te,
1802
+ onChange: Ae,
1831
1803
  onSelect: _,
1832
1804
  activeCondition: j,
1833
- assetBaseUrl: re,
1834
- radiographs: N,
1835
- radiographDisplay: mt,
1836
- onOpenRadiographs: le,
1805
+ assetBaseUrl: ae,
1806
+ radiographs: M,
1807
+ radiographDisplay: pt,
1808
+ onOpenRadiographs: he,
1837
1809
  conditionRegistry: u,
1838
- specialElements: B,
1810
+ specialElements: G,
1839
1811
  _inner: !0,
1840
- _contentWidth: _o
1841
- }, Ro = /* @__PURE__ */ k("div", { className: jn(), "data-testid": "tooth-scheme-both", children: [
1842
- /* @__PURE__ */ s(
1843
- $e,
1812
+ _contentWidth: To
1813
+ }, Lo = /* @__PURE__ */ D("div", { className: $n(), "data-testid": "tooth-scheme-both", children: [
1814
+ /* @__PURE__ */ a(
1815
+ Me,
1844
1816
  {
1845
- ...Re,
1817
+ ...He,
1846
1818
  projection: "side",
1847
1819
  _arch: "upper",
1848
1820
  _numbersPosition: "above",
1849
- ariaLabel: We("upper", "side")
1821
+ ariaLabel: Re("upper", "side")
1850
1822
  }
1851
1823
  ),
1852
- /* @__PURE__ */ s(
1853
- $e,
1824
+ /* @__PURE__ */ a(
1825
+ Me,
1854
1826
  {
1855
- ...Re,
1827
+ ...He,
1856
1828
  projection: "plan",
1857
1829
  _arch: "upper",
1858
1830
  _numbersPosition: "none",
1859
- ariaLabel: We("upper", "plan")
1831
+ ariaLabel: Re("upper", "plan")
1860
1832
  }
1861
1833
  ),
1862
- /* @__PURE__ */ s(
1863
- $e,
1834
+ /* @__PURE__ */ a(
1835
+ Me,
1864
1836
  {
1865
- ...Re,
1837
+ ...He,
1866
1838
  projection: "plan",
1867
1839
  _arch: "lower",
1868
1840
  _numbersPosition: "none",
1869
- ariaLabel: We("lower", "plan")
1841
+ ariaLabel: Re("lower", "plan")
1870
1842
  }
1871
1843
  ),
1872
- /* @__PURE__ */ s(
1873
- $e,
1844
+ /* @__PURE__ */ a(
1845
+ Me,
1874
1846
  {
1875
- ...Re,
1847
+ ...He,
1876
1848
  projection: "side",
1877
1849
  _arch: "lower",
1878
1850
  _numbersPosition: "below",
1879
- ariaLabel: We("lower", "side")
1851
+ ariaLabel: Re("lower", "side")
1880
1852
  }
1881
1853
  )
1882
- ] }), Rt = H ? /* @__PURE__ */ s(
1854
+ ] }), Wt = P ? /* @__PURE__ */ a(
1883
1855
  "div",
1884
1856
  {
1885
- className: je != null ? "ds:flex ds:justify-end" : "ds:flex ds:w-full ds:justify-end",
1857
+ className: Fe != null ? "ds:flex ds:justify-end" : "ds:flex ds:w-full ds:justify-end",
1886
1858
  "data-testid": "tooth-scheme-controls",
1887
- children: /* @__PURE__ */ k(rt.Root, { children: [
1888
- /* @__PURE__ */ s(rt.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
1889
- Jo,
1859
+ children: /* @__PURE__ */ D(H.Root, { children: [
1860
+ /* @__PURE__ */ a(H.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
1861
+ Qo,
1890
1862
  {
1891
1863
  size: "sm",
1892
1864
  intent: "outline",
1893
- icon: /* @__PURE__ */ s(yn, { "aria-hidden": "true" }),
1865
+ icon: /* @__PURE__ */ a(gn, { "aria-hidden": "true" }),
1894
1866
  "aria-label": l("toothScheme.options.label"),
1895
1867
  tooltip: l("toothScheme.options.label")
1896
1868
  }
1897
1869
  ) }),
1898
- /* @__PURE__ */ s(
1899
- rt.Content,
1900
- {
1901
- ref: Ao,
1902
- align: "end",
1903
- size: "md",
1904
- "aria-label": l("toothScheme.options.label"),
1905
- children: /* @__PURE__ */ k("div", { className: "ds:flex ds:w-[var(--popover-size-sm)] ds:max-w-full ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1906
- /* @__PURE__ */ k("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:border-b ds:border-[color:var(--border)] ds:pb-[var(--spacing-sm)] ds:[&>*]:w-full ds:[&>*]:justify-between", children: [
1907
- /* @__PURE__ */ s(
1908
- at,
1909
- {
1910
- label: l("toothScheme.options.legend"),
1911
- labelSide: "start",
1912
- checked: xt,
1913
- onCheckedChange: yt
1914
- }
1915
- ),
1916
- /* @__PURE__ */ s(
1917
- at,
1918
- {
1919
- label: l("toothScheme.options.specialElements"),
1920
- labelSide: "start",
1921
- checked: B,
1922
- onCheckedChange: St
1923
- }
1924
- )
1925
- ] }),
1926
- /* @__PURE__ */ s(
1927
- ht,
1870
+ /* @__PURE__ */ D(H.Content, { align: "end", children: [
1871
+ /* @__PURE__ */ a(
1872
+ H.ChoiceSub,
1873
+ {
1874
+ label: l("toothScheme.options.dentition"),
1875
+ value: L,
1876
+ onValueChange: ft,
1877
+ options: [
1928
1878
  {
1929
- container: Be,
1930
- label: l("toothScheme.options.dentition"),
1931
- value: L,
1932
- onValueChange: (e) => gt(e),
1933
- options: [
1934
- {
1935
- value: "permanent",
1936
- label: l("toothScheme.dentition.permanent")
1937
- },
1938
- {
1939
- value: "primary",
1940
- label: l("toothScheme.dentition.primary")
1941
- },
1942
- {
1943
- value: "mixed",
1944
- label: l("toothScheme.dentition.mixed")
1945
- }
1946
- ]
1947
- }
1948
- ),
1949
- /* @__PURE__ */ s(
1950
- ht,
1951
- {
1952
- container: Be,
1953
- label: l("toothScheme.options.numbering"),
1954
- value: xe,
1955
- onValueChange: (e) => vt(e),
1956
- options: [
1957
- {
1958
- value: "fdi",
1959
- label: l("toothScheme.numbering.fdi")
1960
- },
1961
- {
1962
- value: "universal",
1963
- label: l("toothScheme.numbering.universal")
1964
- },
1965
- {
1966
- value: "palmer",
1967
- label: l("toothScheme.numbering.palmer")
1968
- }
1969
- ]
1970
- }
1971
- ),
1972
- /* @__PURE__ */ s(
1973
- ht,
1879
+ value: "permanent",
1880
+ label: l("toothScheme.dentition.permanent")
1881
+ },
1882
+ { value: "primary", label: l("toothScheme.dentition.primary") },
1883
+ { value: "mixed", label: l("toothScheme.dentition.mixed") }
1884
+ ]
1885
+ }
1886
+ ),
1887
+ /* @__PURE__ */ a(
1888
+ H.ChoiceSub,
1889
+ {
1890
+ label: l("toothScheme.options.numbering"),
1891
+ value: we,
1892
+ onValueChange: mt,
1893
+ options: [
1894
+ { value: "fdi", label: l("toothScheme.numbering.fdi") },
1974
1895
  {
1975
- container: Be,
1976
- label: l("toothScheme.options.view"),
1977
- value: we,
1978
- onValueChange: (e) => bt(e),
1979
- options: [
1980
- {
1981
- value: "side",
1982
- label: l("toothScheme.view.side")
1983
- },
1984
- {
1985
- value: "plan",
1986
- label: l("toothScheme.view.occlusal")
1987
- },
1988
- {
1989
- value: "both",
1990
- label: l("toothScheme.view.both")
1991
- }
1992
- ]
1993
- }
1994
- )
1995
- ] })
1996
- }
1997
- )
1896
+ value: "universal",
1897
+ label: l("toothScheme.numbering.universal")
1898
+ },
1899
+ { value: "palmer", label: l("toothScheme.numbering.palmer") }
1900
+ ]
1901
+ }
1902
+ ),
1903
+ /* @__PURE__ */ a(
1904
+ H.ChoiceSub,
1905
+ {
1906
+ label: l("toothScheme.options.view"),
1907
+ value: ke,
1908
+ onValueChange: gt,
1909
+ options: [
1910
+ { value: "side", label: l("toothScheme.view.side") },
1911
+ { value: "plan", label: l("toothScheme.view.occlusal") },
1912
+ { value: "both", label: l("toothScheme.view.both") }
1913
+ ]
1914
+ }
1915
+ ),
1916
+ /* @__PURE__ */ a(H.Separator, {}),
1917
+ /* @__PURE__ */ a(
1918
+ H.SwitchItem,
1919
+ {
1920
+ checked: yt,
1921
+ onCheckedChange: vt,
1922
+ children: l("toothScheme.options.legend")
1923
+ }
1924
+ ),
1925
+ /* @__PURE__ */ a(
1926
+ H.SwitchItem,
1927
+ {
1928
+ checked: G,
1929
+ onCheckedChange: St,
1930
+ children: l("toothScheme.options.specialElements")
1931
+ }
1932
+ ),
1933
+ /* @__PURE__ */ a(H.Separator, {}),
1934
+ /* @__PURE__ */ a(
1935
+ H.Item,
1936
+ {
1937
+ startIcon: /* @__PURE__ */ a(vn, { "aria-hidden": "true" }),
1938
+ onSelect: Ge,
1939
+ children: l("common.resetToDefaults")
1940
+ }
1941
+ )
1942
+ ] })
1998
1943
  ] })
1999
1944
  }
2000
1945
  ) : null;
2001
- return /* @__PURE__ */ s(E.Provider, { delayDuration: 200, children: /* @__PURE__ */ k(
1946
+ return /* @__PURE__ */ a(W.Provider, { delayDuration: 200, children: /* @__PURE__ */ D(
2002
1947
  "div",
2003
1948
  {
2004
- ref: jo,
1949
+ ref: Oo,
2005
1950
  role: "region",
2006
- "aria-label": et,
2007
- tabIndex: Eo,
2008
- className: [Nn(), bo].filter(Boolean).join(" "),
1951
+ "aria-label": tt,
1952
+ tabIndex: Fo,
1953
+ className: [On(), go].filter(Boolean).join(" "),
2009
1954
  "data-component": "tooth-scheme",
2010
1955
  "data-component-id": t,
2011
1956
  "data-testid": "tooth-scheme-root",
2012
1957
  "data-dentition": L,
2013
- "data-numbering": xe,
1958
+ "data-numbering": we,
2014
1959
  "data-mode": d,
2015
1960
  "data-projection": O,
2016
- "data-view-mode": we,
2017
- "data-special-elements": B ? "true" : "false",
1961
+ "data-view-mode": ke,
1962
+ "data-special-elements": G ? "true" : "false",
2018
1963
  children: [
2019
- je === void 0 ? Rt : je ? Zo(Rt, je) : null,
2020
- Me ? Ro : Et,
2021
- B && (d === "interactive" || jt) ? /* @__PURE__ */ s(
1964
+ Fe === void 0 ? Wt : Fe ? Bo(Wt, Fe) : null,
1965
+ Le ? Lo : Nt,
1966
+ G && (d === "interactive" || $t) ? /* @__PURE__ */ a(
2022
1967
  "div",
2023
1968
  {
2024
1969
  className: "ds:flex ds:w-full ds:items-center ds:pt-[var(--spacing-2xs)]",
2025
1970
  "data-testid": "tooth-scheme-general",
2026
- children: /* @__PURE__ */ s(
2027
- at,
1971
+ children: /* @__PURE__ */ a(
1972
+ Zo,
2028
1973
  {
2029
1974
  label: l("toothScheme.special.general"),
2030
1975
  labelSide: "end",
2031
- checked: jt,
1976
+ checked: $t,
2032
1977
  disabled: d !== "interactive",
2033
- onCheckedChange: Fo
1978
+ onCheckedChange: $o
2034
1979
  }
2035
1980
  )
2036
1981
  }
2037
1982
  ) : null,
2038
- xt ? /* @__PURE__ */ s(Un, { assetBaseUrl: re, registry: u }) : null,
2039
- Wt
1983
+ yt ? /* @__PURE__ */ a(Pn, { assetBaseUrl: ae, registry: u }) : null,
1984
+ Lt
2040
1985
  ]
2041
1986
  }
2042
1987
  ) });
2043
1988
  }
2044
1989
  );
2045
- $e.displayName = "ToothScheme";
1990
+ Me.displayName = "ToothScheme";
2046
1991
  export {
2047
- $e as T,
2048
- Nn as r,
2049
- $n as t
1992
+ Me as T,
1993
+ On as r,
1994
+ Cn as t
2050
1995
  };
2051
- //# sourceMappingURL=tooth-scheme-BkjhkI8g.js.map
1996
+ //# sourceMappingURL=tooth-scheme-BaCJnyg9.js.map