@alfadocs/ui-kit-debug 0.69.0 → 0.71.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 (788) hide show
  1. package/dist/_chunks/address-fields-CPbFJ8e8.js +246 -0
  2. package/dist/_chunks/address-fields-CPbFJ8e8.js.map +1 -0
  3. package/dist/_chunks/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
  4. package/dist/_chunks/{agenda-card-BxSFkqgY.js.map → agenda-card-BQ-IKAru.js.map} +1 -1
  5. package/dist/_chunks/{agenda-tray-g0kg7HwB.js → agenda-tray-CGXRk58j.js} +2 -2
  6. package/dist/_chunks/{agenda-tray-g0kg7HwB.js.map → agenda-tray-CGXRk58j.js.map} +1 -1
  7. package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js → ai-consent-banner-Be-h9mRI.js} +3 -3
  8. package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js.map → ai-consent-banner-Be-h9mRI.js.map} +1 -1
  9. package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js → ai-prompt-input-V4DdOeqv.js} +2 -2
  10. package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js.map → ai-prompt-input-V4DdOeqv.js.map} +1 -1
  11. package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
  12. package/dist/_chunks/alert-CHYZ96tR.js.map +1 -0
  13. package/dist/_chunks/{alia-sidebar-B47qRQb5.js → alia-sidebar-DvIUzIX9.js} +107 -106
  14. package/dist/_chunks/alia-sidebar-DvIUzIX9.js.map +1 -0
  15. package/dist/_chunks/{anamnesis-card-DRmE24OQ.js → anamnesis-card-DvYCa16e.js} +2 -2
  16. package/dist/_chunks/{anamnesis-card-DRmE24OQ.js.map → anamnesis-card-DvYCa16e.js.map} +1 -1
  17. package/dist/_chunks/anatomy-scheme-CXSk11UJ.js +2445 -0
  18. package/dist/_chunks/anatomy-scheme-CXSk11UJ.js.map +1 -0
  19. package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
  20. package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -0
  21. package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
  22. package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js.map → antenatal-schedule-timeline-CwXrQRm1.js.map} +1 -1
  23. package/dist/_chunks/{app-frame-BYx1gcV7.js → app-frame-DIEMIC5V.js} +67 -56
  24. package/dist/_chunks/app-frame-DIEMIC5V.js.map +1 -0
  25. package/dist/_chunks/appointment-card-DVaeJNVB.js +294 -0
  26. package/dist/_chunks/appointment-card-DVaeJNVB.js.map +1 -0
  27. package/dist/_chunks/appointment-timeline-PJgnrjFb.js +388 -0
  28. package/dist/_chunks/appointment-timeline-PJgnrjFb.js.map +1 -0
  29. package/dist/_chunks/appointment-tray-B16QPGbm.js +193 -0
  30. package/dist/_chunks/appointment-tray-B16QPGbm.js.map +1 -0
  31. package/dist/_chunks/{audio-recorder-DYXXnGug.js → audio-recorder-DNDsOLqO.js} +3 -3
  32. package/dist/_chunks/{audio-recorder-DYXXnGug.js.map → audio-recorder-DNDsOLqO.js.map} +1 -1
  33. package/dist/_chunks/{autocomplete-DOeGouCL.js → autocomplete-BrONKN8l.js} +168 -146
  34. package/dist/_chunks/autocomplete-BrONKN8l.js.map +1 -0
  35. package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
  36. package/dist/_chunks/badge-DCOqV9mI.js.map +1 -0
  37. package/dist/_chunks/{bishop-score-PJI3AXzA.js → bishop-score-Cym_TeQY.js} +3 -3
  38. package/dist/_chunks/{bishop-score-PJI3AXzA.js.map → bishop-score-Cym_TeQY.js.map} +1 -1
  39. package/dist/_chunks/{bmi-calculator-BZtIJ53x.js → bmi-calculator-zjeY4E7J.js} +2 -2
  40. package/dist/_chunks/{bmi-calculator-BZtIJ53x.js.map → bmi-calculator-zjeY4E7J.js.map} +1 -1
  41. package/dist/_chunks/{booking-C3VqFReX.js → booking-C7do4vaR.js} +7 -7
  42. package/dist/_chunks/{booking-C3VqFReX.js.map → booking-C7do4vaR.js.map} +1 -1
  43. package/dist/_chunks/{button-group-Ciq6J4IW.js → button-group-CvEnVzY7.js} +32 -35
  44. package/dist/_chunks/{button-group-Ciq6J4IW.js.map → button-group-CvEnVzY7.js.map} +1 -1
  45. package/dist/_chunks/{care-plan-card-CvFGXa2z.js → care-plan-card-DzPDYgtK.js} +5 -5
  46. package/dist/_chunks/{care-plan-card-CvFGXa2z.js.map → care-plan-card-DzPDYgtK.js.map} +1 -1
  47. package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js → care-plan-entry-card-CEnQy7YP.js} +5 -5
  48. package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js.map → care-plan-entry-card-CEnQy7YP.js.map} +1 -1
  49. package/dist/_chunks/care-plan-header-DcXFXWit.js +198 -0
  50. package/dist/_chunks/care-plan-header-DcXFXWit.js.map +1 -0
  51. package/dist/_chunks/{chat-message-3V54YipB.js → chat-message-DzpcJR-q.js} +25 -23
  52. package/dist/_chunks/chat-message-DzpcJR-q.js.map +1 -0
  53. package/dist/_chunks/city-input-Dkgaak7I.js +169 -0
  54. package/dist/_chunks/city-input-Dkgaak7I.js.map +1 -0
  55. package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
  56. package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +1 -0
  57. package/dist/_chunks/clipboard-list-S7s-MXQq.js +25 -0
  58. package/dist/_chunks/clipboard-list-S7s-MXQq.js.map +1 -0
  59. package/dist/_chunks/{combobox-Clum7gJ1.js → combobox-DnqSF0IH.js} +131 -114
  60. package/dist/_chunks/combobox-DnqSF0IH.js.map +1 -0
  61. package/dist/_chunks/connection-status-CY1HV8Wg.js +108 -0
  62. package/dist/_chunks/connection-status-CY1HV8Wg.js.map +1 -0
  63. package/dist/_chunks/{contact-profile-card-Dramqa9C.js → contact-profile-card-DDPwRFiP.js} +2 -2
  64. package/dist/_chunks/{contact-profile-card-Dramqa9C.js.map → contact-profile-card-DDPwRFiP.js.map} +1 -1
  65. package/dist/_chunks/control-room-rail-FAQZrGVL.js +333 -0
  66. package/dist/_chunks/control-room-rail-FAQZrGVL.js.map +1 -0
  67. package/dist/_chunks/country-select-BwUZQvTa.js +709 -0
  68. package/dist/_chunks/country-select-BwUZQvTa.js.map +1 -0
  69. package/dist/_chunks/{cycle-calculator-DmRGJNaT.js → cycle-calculator-CCmPwcBl.js} +2 -2
  70. package/dist/_chunks/{cycle-calculator-DmRGJNaT.js.map → cycle-calculator-CCmPwcBl.js.map} +1 -1
  71. package/dist/_chunks/{dependent-selector-CG_FOHya.js → dependent-selector-DUV4thxX.js} +2 -2
  72. package/dist/_chunks/{dependent-selector-CG_FOHya.js.map → dependent-selector-DUV4thxX.js.map} +1 -1
  73. package/dist/_chunks/{document-scanner-CTubA0-N.js → document-scanner-C_AxLooF.js} +3 -3
  74. package/dist/_chunks/{document-scanner-CTubA0-N.js.map → document-scanner-C_AxLooF.js.map} +1 -1
  75. package/dist/_chunks/{due-date-calculator-BTmsIQqD.js → due-date-calculator-Brdj-euS.js} +3 -3
  76. package/dist/_chunks/{due-date-calculator-BTmsIQqD.js.map → due-date-calculator-Brdj-euS.js.map} +1 -1
  77. package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +410 -0
  78. package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js.map +1 -0
  79. package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
  80. package/dist/_chunks/{email-input-B_Y55f5G.js.map → email-input-DJ7EXklP.js.map} +1 -1
  81. package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-DmrgYSEX.js} +38 -20
  82. package/dist/_chunks/{entity-card-COhmqHly.js.map → entity-card-DmrgYSEX.js.map} +1 -1
  83. package/dist/_chunks/entity-summary-CaM1Y-xE.js +291 -0
  84. package/dist/_chunks/entity-summary-CaM1Y-xE.js.map +1 -0
  85. package/dist/_chunks/{fetal-weight-CRz7KE2D.js → fetal-weight-DNCkyeVo.js} +2 -2
  86. package/dist/_chunks/{fetal-weight-CRz7KE2D.js.map → fetal-weight-DNCkyeVo.js.map} +1 -1
  87. package/dist/_chunks/field-array-siUZzfYe.js +146 -0
  88. package/dist/_chunks/field-array-siUZzfYe.js.map +1 -0
  89. package/dist/_chunks/field-value-3jMM0uDx.js +415 -0
  90. package/dist/_chunks/field-value-3jMM0uDx.js.map +1 -0
  91. package/dist/_chunks/{file-upload-5ScQd4fE.js → file-upload-DwZcAK8D.js} +2 -1
  92. package/dist/_chunks/{file-upload-5ScQd4fE.js.map → file-upload-DwZcAK8D.js.map} +1 -1
  93. package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js → freemium-paywall-WYlNO7yT.js} +2 -2
  94. package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js.map → freemium-paywall-WYlNO7yT.js.map} +1 -1
  95. package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js → gestational-age-calculator-DKzEV5Qi.js} +4 -4
  96. package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js.map → gestational-age-calculator-DKzEV5Qi.js.map} +1 -1
  97. package/dist/_chunks/hash-CysBBS_N.js +17 -0
  98. package/dist/_chunks/hash-CysBBS_N.js.map +1 -0
  99. package/dist/_chunks/{hcg-doubling-CnjDXX6U.js → hcg-doubling-C7bmuaU3.js} +2 -2
  100. package/dist/_chunks/{hcg-doubling-CnjDXX6U.js.map → hcg-doubling-C7bmuaU3.js.map} +1 -1
  101. package/dist/_chunks/iban-input-B0TWzR1R.js +436 -0
  102. package/dist/_chunks/iban-input-B0TWzR1R.js.map +1 -0
  103. package/dist/_chunks/icon-picker-0B7KhrF1.js +272 -0
  104. package/dist/_chunks/icon-picker-0B7KhrF1.js.map +1 -0
  105. package/dist/_chunks/image-cropper-D9jqJy19.js +367 -0
  106. package/dist/_chunks/image-cropper-D9jqJy19.js.map +1 -0
  107. package/dist/_chunks/{actions-cell-renderer-DrcaxB0w.js → link-cell-renderer-De_SLjSq.js} +792 -668
  108. package/dist/_chunks/link-cell-renderer-De_SLjSq.js.map +1 -0
  109. package/dist/_chunks/list-checks-BUs75d_o.js +18 -0
  110. package/dist/_chunks/list-checks-BUs75d_o.js.map +1 -0
  111. package/dist/_chunks/lock-CKOIn0IK.js +15 -0
  112. package/dist/_chunks/lock-CKOIn0IK.js.map +1 -0
  113. package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js → marketplace-app-shell-BGqkywsi.js} +5 -5
  114. package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js.map → marketplace-app-shell-BGqkywsi.js.map} +1 -1
  115. package/dist/_chunks/message-card-DsHFFiL1.js +319 -0
  116. package/dist/_chunks/message-card-DsHFFiL1.js.map +1 -0
  117. package/dist/_chunks/{message-tray-DwrBLJlf.js → message-tray-C0a6CL1_.js} +172 -135
  118. package/dist/_chunks/message-tray-C0a6CL1_.js.map +1 -0
  119. package/dist/_chunks/{multi-select-BdHHDrRN.js → multi-select-WE4S9FIF.js} +75 -63
  120. package/dist/_chunks/{multi-select-BdHHDrRN.js.map → multi-select-WE4S9FIF.js.map} +1 -1
  121. package/dist/_chunks/nav-grid-9xphY3FM.js +169 -0
  122. package/dist/_chunks/nav-grid-9xphY3FM.js.map +1 -0
  123. package/dist/_chunks/notes-panel-DXiMfuvp.js +320 -0
  124. package/dist/_chunks/notes-panel-DXiMfuvp.js.map +1 -0
  125. package/dist/_chunks/notification-card-BMqNzCIt.js +290 -0
  126. package/dist/_chunks/notification-card-BMqNzCIt.js.map +1 -0
  127. package/dist/_chunks/{notification-tray-Btb9oQeZ.js → notification-tray-BmUlCx3g.js} +201 -166
  128. package/dist/_chunks/notification-tray-BmUlCx3g.js.map +1 -0
  129. package/dist/_chunks/{operator-hero-CP2Nhupm.js → operator-hero-BO8TqzX2.js} +3 -3
  130. package/dist/_chunks/{operator-hero-CP2Nhupm.js.map → operator-hero-BO8TqzX2.js.map} +1 -1
  131. package/dist/_chunks/panel-header-D313n_9-.js +105 -0
  132. package/dist/_chunks/panel-header-D313n_9-.js.map +1 -0
  133. package/dist/_chunks/patient-details-DgfTJimE.js +759 -0
  134. package/dist/_chunks/patient-details-DgfTJimE.js.map +1 -0
  135. package/dist/_chunks/{patient-search-CBC_ySF6.js → patient-search-CSWQKOSP.js} +3 -3
  136. package/dist/_chunks/{patient-search-CBC_ySF6.js.map → patient-search-CSWQKOSP.js.map} +1 -1
  137. package/dist/_chunks/{patient-shell-DV3XEtIB.js → patient-shell-BMwsIKlW.js} +3 -3
  138. package/dist/_chunks/{patient-shell-DV3XEtIB.js.map → patient-shell-BMwsIKlW.js.map} +1 -1
  139. package/dist/_chunks/patient-summary-card-D4NdgYJB.js +452 -0
  140. package/dist/_chunks/patient-summary-card-D4NdgYJB.js.map +1 -0
  141. package/dist/_chunks/patient-table-CERknpd8.js +1110 -0
  142. package/dist/_chunks/patient-table-CERknpd8.js.map +1 -0
  143. package/dist/_chunks/{payment-form-DvjwYVIT.js → payment-form-CxqIXqw7.js} +2 -2
  144. package/dist/_chunks/{payment-form-DvjwYVIT.js.map → payment-form-CxqIXqw7.js.map} +1 -1
  145. package/dist/_chunks/{payment-request-card-DioWKBUq.js → payment-request-card-Blf-MFNY.js} +125 -136
  146. package/dist/_chunks/payment-request-card-Blf-MFNY.js.map +1 -0
  147. package/dist/_chunks/{pdf-viewer-D6BPfW2D.js → pdf-viewer-QfebdLOd.js} +192 -214
  148. package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +1 -0
  149. package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js → periodontal-chart-card-hRRJY1NN.js} +2 -2
  150. package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js.map → periodontal-chart-card-hRRJY1NN.js.map} +1 -1
  151. package/dist/_chunks/permission-matrix-Bw5oexUt.js +174 -0
  152. package/dist/_chunks/permission-matrix-Bw5oexUt.js.map +1 -0
  153. package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
  154. package/dist/_chunks/position-grid-CcvqHaKN.js.map +1 -0
  155. package/dist/_chunks/postal-code-input-UCOYuRY2.js +192 -0
  156. package/dist/_chunks/postal-code-input-UCOYuRY2.js.map +1 -0
  157. package/dist/_chunks/{practice-results-KrTHqZua.js → practice-results-El5Z-oVp.js} +4 -4
  158. package/dist/_chunks/{practice-results-KrTHqZua.js.map → practice-results-El5Z-oVp.js.map} +1 -1
  159. package/dist/_chunks/{pregnancy-dating-DORUAOHB.js → pregnancy-dating-CunHrOpO.js} +4 -4
  160. package/dist/_chunks/{pregnancy-dating-DORUAOHB.js.map → pregnancy-dating-CunHrOpO.js.map} +1 -1
  161. package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js → pregnancy-weight-gain-BUNpTsH-.js} +2 -2
  162. package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js.map → pregnancy-weight-gain-BUNpTsH-.js.map} +1 -1
  163. package/dist/_chunks/{product-hub-panel-e6pW220e.js → product-hub-panel-DtU7KXxm.js} +257 -217
  164. package/dist/_chunks/product-hub-panel-DtU7KXxm.js.map +1 -0
  165. package/dist/_chunks/province-select-D_TZvix3.js +261 -0
  166. package/dist/_chunks/province-select-D_TZvix3.js.map +1 -0
  167. package/dist/_chunks/{public-header.agent-DqkqA-ca.js → public-header.agent-TxmC_x1I.js} +2 -2
  168. package/dist/_chunks/{public-header.agent-DqkqA-ca.js.map → public-header.agent-TxmC_x1I.js.map} +1 -1
  169. package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +553 -0
  170. package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js.map +1 -0
  171. package/dist/_chunks/reviews-panel-DxkSrgMl.js +559 -0
  172. package/dist/_chunks/reviews-panel-DxkSrgMl.js.map +1 -0
  173. package/dist/_chunks/rich-text-editor-C8tyGjfb.js +2621 -0
  174. package/dist/_chunks/rich-text-editor-C8tyGjfb.js.map +1 -0
  175. package/dist/_chunks/{scroll-area-5wNK0Cyz.js → scroll-area-BZOvUhwQ.js} +2 -2
  176. package/dist/_chunks/scroll-area-BZOvUhwQ.js.map +1 -0
  177. package/dist/_chunks/{select-DMLG44F5.js → select-KsyRr8WH.js} +114 -102
  178. package/dist/_chunks/select-KsyRr8WH.js.map +1 -0
  179. package/dist/_chunks/{sheet-BxsE7eQm.js → sheet-umkfZjF6.js} +53 -42
  180. package/dist/_chunks/sheet-umkfZjF6.js.map +1 -0
  181. package/dist/_chunks/{sidebar-DY9jGjgt.js → sidebar-QCp9wHNP.js} +125 -113
  182. package/dist/_chunks/sidebar-QCp9wHNP.js.map +1 -0
  183. package/dist/_chunks/{sign-document-B4DeRhTe.js → sign-document-By6hMOra.js} +2 -2
  184. package/dist/_chunks/{sign-document-B4DeRhTe.js.map → sign-document-By6hMOra.js.map} +1 -1
  185. package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
  186. package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +1 -0
  187. package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
  188. package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +1 -0
  189. package/dist/_chunks/{tabs-BxcOziCo.js → tabs-CYZVKKDl.js} +2 -2
  190. package/dist/_chunks/{tabs-BxcOziCo.js.map → tabs-CYZVKKDl.js.map} +1 -1
  191. package/dist/_chunks/task-card-DCdsI0ZT.js +189 -0
  192. package/dist/_chunks/task-card-DCdsI0ZT.js.map +1 -0
  193. package/dist/_chunks/{task-tray-qOEQflu4.js → task-tray-DNVejijD.js} +2 -2
  194. package/dist/_chunks/{task-tray-qOEQflu4.js.map → task-tray-DNVejijD.js.map} +1 -1
  195. package/dist/_chunks/tasks-panel-C9odmawT.js +757 -0
  196. package/dist/_chunks/tasks-panel-C9odmawT.js.map +1 -0
  197. package/dist/_chunks/token-insert-menu-CFQqTe_n.js +147 -0
  198. package/dist/_chunks/token-insert-menu-CFQqTe_n.js.map +1 -0
  199. package/dist/_chunks/tool-rail-BZx0-yIr.js +524 -0
  200. package/dist/_chunks/tool-rail-BZx0-yIr.js.map +1 -0
  201. package/dist/_chunks/tooth-scheme-DJZtzfeY.js +2133 -0
  202. package/dist/_chunks/tooth-scheme-DJZtzfeY.js.map +1 -0
  203. package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
  204. package/dist/_chunks/transaction-chip-CscoQbxF.js.map +1 -0
  205. package/dist/_chunks/{transcript-panel-3THQX6nJ.js → transcript-panel-CHGHHHdT.js} +95 -83
  206. package/dist/_chunks/transcript-panel-CHGHHHdT.js.map +1 -0
  207. package/dist/_chunks/{unit-converter-YEpD9evj.js → unit-converter-CwlZbfdn.js} +2 -2
  208. package/dist/_chunks/{unit-converter-YEpD9evj.js.map → unit-converter-CwlZbfdn.js.map} +1 -1
  209. package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
  210. package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js.map +1 -0
  211. package/dist/_chunks/use-edge-resize-ZnGG7gyO.js.map +1 -1
  212. package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
  213. package/dist/_chunks/use-overflow-collapse-BIOzKbni.js.map +1 -0
  214. package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
  215. package/dist/_chunks/use-persistent-state-nZwZAnE9.js.map +1 -0
  216. package/dist/_chunks/{warning-stack-BsgaEbL8.js → warning-stack--sTrrBDA.js} +86 -101
  217. package/dist/_chunks/warning-stack--sTrrBDA.js.map +1 -0
  218. package/dist/_chunks/{workflow-map-Bdam9pGp.js → workflow-map-M8MBBHQm.js} +107 -119
  219. package/dist/_chunks/workflow-map-M8MBBHQm.js.map +1 -0
  220. package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
  221. package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +1 -0
  222. package/dist/agent/index.js +5 -4
  223. package/dist/agent/index.js.map +1 -1
  224. package/dist/agent/types.d.ts +19 -2
  225. package/dist/agent/types.d.ts.map +1 -1
  226. package/dist/agent-catalog.json +3325 -322
  227. package/dist/agent-i18n/en.json +314 -14
  228. package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
  229. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -1
  230. package/dist/components/_shared/entity-card/index.d.ts +1 -1
  231. package/dist/components/_shared/entity-card/index.d.ts.map +1 -1
  232. package/dist/components/_shared/field-value.d.ts +21 -0
  233. package/dist/components/_shared/field-value.d.ts.map +1 -0
  234. package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
  235. package/dist/components/_shared/field-visibility-cog.d.ts.map +1 -0
  236. package/dist/components/_shared/field-visibility.d.ts +36 -0
  237. package/dist/components/_shared/field-visibility.d.ts.map +1 -0
  238. package/dist/components/_shared/option.d.ts +2 -0
  239. package/dist/components/_shared/option.d.ts.map +1 -1
  240. package/dist/components/_shared/patient-fields.d.ts +119 -0
  241. package/dist/components/_shared/patient-fields.d.ts.map +1 -0
  242. package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
  243. package/dist/components/address-fields/address-fields.agent.d.ts.map +1 -0
  244. package/dist/components/address-fields/address-fields.d.ts +29 -0
  245. package/dist/components/address-fields/address-fields.d.ts.map +1 -0
  246. package/dist/components/address-fields/index.d.ts +5 -0
  247. package/dist/components/address-fields/index.d.ts.map +1 -0
  248. package/dist/components/address-fields/index.js +6 -0
  249. package/dist/components/agenda-card/index.js +1 -1
  250. package/dist/components/agenda-tray/index.js +1 -1
  251. package/dist/components/ai-consent-banner/index.js +1 -1
  252. package/dist/components/ai-prompt-input/index.js +1 -1
  253. package/dist/components/alert/alert.d.ts +5 -0
  254. package/dist/components/alert/alert.d.ts.map +1 -1
  255. package/dist/components/alert/index.js +1 -1
  256. package/dist/components/anamnesis-card/index.js +1 -1
  257. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
  258. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts.map +1 -0
  259. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
  260. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +1 -0
  261. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
  262. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +1 -0
  263. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
  264. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +1 -0
  265. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
  266. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +1 -0
  267. package/dist/components/anatomy-scheme/index.d.ts +6 -0
  268. package/dist/components/anatomy-scheme/index.d.ts.map +1 -0
  269. package/dist/components/anatomy-scheme/index.js +17 -0
  270. package/dist/components/anatomy-scheme/index.js.map +1 -0
  271. package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
  272. package/dist/components/annotation-marker/annotation-marker.d.ts.map +1 -0
  273. package/dist/components/annotation-marker/index.d.ts +3 -0
  274. package/dist/components/annotation-marker/index.d.ts.map +1 -0
  275. package/dist/components/annotation-marker/index.js +7 -0
  276. package/dist/components/annotation-marker/index.js.map +1 -0
  277. package/dist/components/app-frame/app-frame.d.ts +2 -2
  278. package/dist/components/app-frame/app-frame.d.ts.map +1 -1
  279. package/dist/components/app-frame/index.js +1 -1
  280. package/dist/components/appointment-card/appointment-card.d.ts +25 -1
  281. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  282. package/dist/components/appointment-card/index.js +6 -5
  283. package/dist/components/appointment-card/index.js.map +1 -1
  284. package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
  285. package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts.map +1 -0
  286. package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
  287. package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -0
  288. package/dist/components/appointment-timeline/index.d.ts +4 -0
  289. package/dist/components/appointment-timeline/index.d.ts.map +1 -0
  290. package/dist/components/appointment-timeline/index.js +6 -0
  291. package/dist/components/appointment-timeline/index.js.map +1 -0
  292. package/dist/components/audio-recorder/index.js +1 -1
  293. package/dist/components/autocomplete/autocomplete.d.ts +10 -0
  294. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
  295. package/dist/components/autocomplete/index.js +1 -1
  296. package/dist/components/badge/badge.d.ts +6 -2
  297. package/dist/components/badge/badge.d.ts.map +1 -1
  298. package/dist/components/badge/index.js +1 -1
  299. package/dist/components/bishop-score/index.js +1 -1
  300. package/dist/components/bmi-calculator/index.js +1 -1
  301. package/dist/components/booking/index.js +1 -1
  302. package/dist/components/button-group/button-group.d.ts.map +1 -1
  303. package/dist/components/button-group/index.js +1 -1
  304. package/dist/components/care-plan-card/index.js +1 -1
  305. package/dist/components/care-plan-entry-card/index.js +1 -1
  306. package/dist/components/care-plan-header/care-plan-header.agent.d.ts +4 -0
  307. package/dist/components/care-plan-header/care-plan-header.agent.d.ts.map +1 -0
  308. package/dist/components/care-plan-header/care-plan-header.d.ts +111 -0
  309. package/dist/components/care-plan-header/care-plan-header.d.ts.map +1 -0
  310. package/dist/components/care-plan-header/index.d.ts +4 -0
  311. package/dist/components/care-plan-header/index.d.ts.map +1 -0
  312. package/dist/components/care-plan-header/index.js +6 -0
  313. package/dist/components/care-plan-header/index.js.map +1 -0
  314. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  315. package/dist/components/chat-message/index.js +1 -1
  316. package/dist/components/city-input/city-input.agent.d.ts +8 -0
  317. package/dist/components/city-input/city-input.agent.d.ts.map +1 -0
  318. package/dist/components/city-input/city-input.d.ts +57 -0
  319. package/dist/components/city-input/city-input.d.ts.map +1 -0
  320. package/dist/components/city-input/index.d.ts +5 -0
  321. package/dist/components/city-input/index.d.ts.map +1 -0
  322. package/dist/components/city-input/index.js +6 -0
  323. package/dist/components/city-input/index.js.map +1 -0
  324. package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
  325. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -1
  326. package/dist/components/clinical-note-card/index.js +1 -1
  327. package/dist/components/combobox/combobox.d.ts +17 -0
  328. package/dist/components/combobox/combobox.d.ts.map +1 -1
  329. package/dist/components/combobox/index.js +1 -1
  330. package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
  331. package/dist/components/connection-status/connection-status.agent.d.ts.map +1 -0
  332. package/dist/components/connection-status/connection-status.d.ts +36 -0
  333. package/dist/components/connection-status/connection-status.d.ts.map +1 -0
  334. package/dist/components/connection-status/index.d.ts +4 -0
  335. package/dist/components/connection-status/index.d.ts.map +1 -0
  336. package/dist/components/connection-status/index.js +6 -0
  337. package/dist/components/connection-status/index.js.map +1 -0
  338. package/dist/components/contact-profile-card/index.js +1 -1
  339. package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
  340. package/dist/components/control-room-rail/control-room-context.d.ts.map +1 -0
  341. package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
  342. package/dist/components/control-room-rail/control-room-rail.agent.d.ts.map +1 -0
  343. package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
  344. package/dist/components/control-room-rail/control-room-rail.d.ts.map +1 -0
  345. package/dist/components/control-room-rail/index.d.ts +6 -0
  346. package/dist/components/control-room-rail/index.d.ts.map +1 -0
  347. package/dist/components/control-room-rail/index.js +10 -0
  348. package/dist/components/control-room-rail/index.js.map +1 -0
  349. package/dist/components/counter/counter.d.ts +1 -1
  350. package/dist/components/country-select/country-select.agent.d.ts +8 -0
  351. package/dist/components/country-select/country-select.agent.d.ts.map +1 -0
  352. package/dist/components/country-select/country-select.d.ts +51 -0
  353. package/dist/components/country-select/country-select.d.ts.map +1 -0
  354. package/dist/components/country-select/index.d.ts +6 -0
  355. package/dist/components/country-select/index.d.ts.map +1 -0
  356. package/dist/components/country-select/index.js +9 -0
  357. package/dist/components/country-select/index.js.map +1 -0
  358. package/dist/components/country-select/iso-3166.d.ts +15 -0
  359. package/dist/components/country-select/iso-3166.d.ts.map +1 -0
  360. package/dist/components/cycle-calculator/index.js +1 -1
  361. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
  362. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -1
  363. package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
  364. package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts.map +1 -0
  365. package/dist/components/data-table/filters/select-filter.d.ts.map +1 -1
  366. package/dist/components/data-table/index.d.ts +3 -1
  367. package/dist/components/data-table/index.d.ts.map +1 -1
  368. package/dist/components/data-table/index.js +35 -32
  369. package/dist/components/dependent-selector/index.js +1 -1
  370. package/dist/components/document-scanner/index.js +1 -1
  371. package/dist/components/due-date-calculator/index.js +2 -2
  372. package/dist/components/email-input/email-input.d.ts.map +1 -1
  373. package/dist/components/email-input/index.js +1 -1
  374. package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
  375. package/dist/components/entity-summary/entity-summary.agent.d.ts.map +1 -0
  376. package/dist/components/entity-summary/entity-summary.d.ts +92 -0
  377. package/dist/components/entity-summary/entity-summary.d.ts.map +1 -0
  378. package/dist/components/entity-summary/index.d.ts +3 -0
  379. package/dist/components/entity-summary/index.d.ts.map +1 -0
  380. package/dist/components/entity-summary/index.js +5 -0
  381. package/dist/components/entity-summary/index.js.map +1 -0
  382. package/dist/components/fetal-weight/index.js +1 -1
  383. package/dist/components/field-array/field-array.agent.d.ts +4 -0
  384. package/dist/components/field-array/field-array.agent.d.ts.map +1 -0
  385. package/dist/components/field-array/field-array.d.ts +45 -0
  386. package/dist/components/field-array/field-array.d.ts.map +1 -0
  387. package/dist/components/field-array/index.d.ts +4 -0
  388. package/dist/components/field-array/index.d.ts.map +1 -0
  389. package/dist/components/field-array/index.js +6 -0
  390. package/dist/components/field-array/index.js.map +1 -0
  391. package/dist/components/file-upload/index.js +1 -1
  392. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  393. package/dist/components/freemium-paywall/index.js +1 -1
  394. package/dist/components/gestational-age-calculator/index.js +1 -1
  395. package/dist/components/hcg-doubling/index.js +1 -1
  396. package/dist/components/iban-input/iban-input.agent.d.ts +4 -0
  397. package/dist/components/iban-input/iban-input.agent.d.ts.map +1 -0
  398. package/dist/components/iban-input/iban-input.d.ts +51 -0
  399. package/dist/components/iban-input/iban-input.d.ts.map +1 -0
  400. package/dist/components/iban-input/index.d.ts +5 -0
  401. package/dist/components/iban-input/index.d.ts.map +1 -0
  402. package/dist/components/iban-input/index.js +13 -0
  403. package/dist/components/iban-input/index.js.map +1 -0
  404. package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
  405. package/dist/components/iban-input/is-valid-iban.d.ts.map +1 -0
  406. package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
  407. package/dist/components/icon-picker/icon-picker.agent.d.ts.map +1 -0
  408. package/dist/components/icon-picker/icon-picker.d.ts +41 -0
  409. package/dist/components/icon-picker/icon-picker.d.ts.map +1 -0
  410. package/dist/components/icon-picker/index.d.ts +4 -0
  411. package/dist/components/icon-picker/index.d.ts.map +1 -0
  412. package/dist/components/icon-picker/index.js +6 -0
  413. package/dist/components/icon-picker/index.js.map +1 -0
  414. package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
  415. package/dist/components/image-cropper/crop-geometry.d.ts.map +1 -0
  416. package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
  417. package/dist/components/image-cropper/image-cropper.agent.d.ts.map +1 -0
  418. package/dist/components/image-cropper/image-cropper.d.ts +32 -0
  419. package/dist/components/image-cropper/image-cropper.d.ts.map +1 -0
  420. package/dist/components/image-cropper/index.d.ts +5 -0
  421. package/dist/components/image-cropper/index.d.ts.map +1 -0
  422. package/dist/components/image-cropper/index.js +11 -0
  423. package/dist/components/image-cropper/index.js.map +1 -0
  424. package/dist/components/index.d.ts +25 -1
  425. package/dist/components/index.d.ts.map +1 -1
  426. package/dist/components/message-card/index.js +1 -1
  427. package/dist/components/message-card/message-card.d.ts +14 -0
  428. package/dist/components/message-card/message-card.d.ts.map +1 -1
  429. package/dist/components/message-tray/index.js +1 -1
  430. package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -1
  431. package/dist/components/message-tray/message-tray.d.ts +4 -0
  432. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  433. package/dist/components/multi-select/index.js +1 -1
  434. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  435. package/dist/components/nav-grid/index.d.ts +4 -0
  436. package/dist/components/nav-grid/index.d.ts.map +1 -0
  437. package/dist/components/nav-grid/index.js +7 -0
  438. package/dist/components/nav-grid/index.js.map +1 -0
  439. package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
  440. package/dist/components/nav-grid/nav-grid.agent.d.ts.map +1 -0
  441. package/dist/components/nav-grid/nav-grid.d.ts +41 -0
  442. package/dist/components/nav-grid/nav-grid.d.ts.map +1 -0
  443. package/dist/components/notes-panel/index.d.ts +3 -0
  444. package/dist/components/notes-panel/index.d.ts.map +1 -0
  445. package/dist/components/notes-panel/index.js +5 -0
  446. package/dist/components/notes-panel/index.js.map +1 -0
  447. package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
  448. package/dist/components/notes-panel/notes-panel.agent.d.ts.map +1 -0
  449. package/dist/components/notes-panel/notes-panel.d.ts +94 -0
  450. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -0
  451. package/dist/components/notification-card/index.js +1 -1
  452. package/dist/components/notification-card/notification-card.d.ts +15 -0
  453. package/dist/components/notification-card/notification-card.d.ts.map +1 -1
  454. package/dist/components/notification-tray/index.js +1 -1
  455. package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -1
  456. package/dist/components/notification-tray/notification-tray.d.ts +4 -0
  457. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  458. package/dist/components/operator-hero/index.js +1 -1
  459. package/dist/components/panel-header/index.d.ts +3 -0
  460. package/dist/components/panel-header/index.d.ts.map +1 -0
  461. package/dist/components/panel-header/index.js +7 -0
  462. package/dist/components/panel-header/index.js.map +1 -0
  463. package/dist/components/panel-header/panel-header.d.ts +41 -0
  464. package/dist/components/panel-header/panel-header.d.ts.map +1 -0
  465. package/dist/components/patient-details/index.d.ts +5 -0
  466. package/dist/components/patient-details/index.d.ts.map +1 -0
  467. package/dist/components/patient-details/index.js +6 -0
  468. package/dist/components/patient-details/index.js.map +1 -0
  469. package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
  470. package/dist/components/patient-details/patient-details.agent.d.ts.map +1 -0
  471. package/dist/components/patient-details/patient-details.d.ts +96 -0
  472. package/dist/components/patient-details/patient-details.d.ts.map +1 -0
  473. package/dist/components/patient-search/index.js +1 -1
  474. package/dist/components/patient-summary-card/index.js +1 -1
  475. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -1
  476. package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
  477. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  478. package/dist/components/patient-table/columns.d.ts +69 -40
  479. package/dist/components/patient-table/columns.d.ts.map +1 -1
  480. package/dist/components/patient-table/index.d.ts +2 -6
  481. package/dist/components/patient-table/index.d.ts.map +1 -1
  482. package/dist/components/patient-table/index.js +8 -9
  483. package/dist/components/patient-table/patient-table.d.ts +38 -4
  484. package/dist/components/patient-table/patient-table.d.ts.map +1 -1
  485. package/dist/components/patient-table/types.d.ts +52 -2
  486. package/dist/components/patient-table/types.d.ts.map +1 -1
  487. package/dist/components/patient-table/use-responsive-columns.d.ts +8 -6
  488. package/dist/components/patient-table/use-responsive-columns.d.ts.map +1 -1
  489. package/dist/components/payment-card/index.js +1 -1
  490. package/dist/components/payment-form/index.js +1 -1
  491. package/dist/components/pdf-viewer/index.js +1 -1
  492. package/dist/components/periodontal-chart-card/index.js +1 -1
  493. package/dist/components/permission-matrix/index.d.ts +4 -0
  494. package/dist/components/permission-matrix/index.d.ts.map +1 -0
  495. package/dist/components/permission-matrix/index.js +7 -0
  496. package/dist/components/permission-matrix/index.js.map +1 -0
  497. package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
  498. package/dist/components/permission-matrix/permission-matrix.agent.d.ts.map +1 -0
  499. package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
  500. package/dist/components/permission-matrix/permission-matrix.d.ts.map +1 -0
  501. package/dist/components/position-grid/index.d.ts +4 -0
  502. package/dist/components/position-grid/index.d.ts.map +1 -0
  503. package/dist/components/position-grid/index.js +7 -0
  504. package/dist/components/position-grid/index.js.map +1 -0
  505. package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
  506. package/dist/components/position-grid/position-grid.agent.d.ts.map +1 -0
  507. package/dist/components/position-grid/position-grid.d.ts +39 -0
  508. package/dist/components/position-grid/position-grid.d.ts.map +1 -0
  509. package/dist/components/postal-code-input/index.d.ts +5 -0
  510. package/dist/components/postal-code-input/index.d.ts.map +1 -0
  511. package/dist/components/postal-code-input/index.js +6 -0
  512. package/dist/components/postal-code-input/index.js.map +1 -0
  513. package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
  514. package/dist/components/postal-code-input/postal-code-input.agent.d.ts.map +1 -0
  515. package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
  516. package/dist/components/postal-code-input/postal-code-input.d.ts.map +1 -0
  517. package/dist/components/practice-results/index.js +1 -1
  518. package/dist/components/pregnancy-dating/index.js +1 -1
  519. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  520. package/dist/components/product-hub-tray/index.js +1 -1
  521. package/dist/components/product-hub-tray/product-hub-tray.d.ts +13 -1
  522. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  523. package/dist/components/province-select/index.d.ts +6 -0
  524. package/dist/components/province-select/index.d.ts.map +1 -0
  525. package/dist/components/province-select/index.js +7 -0
  526. package/dist/components/province-select/index.js.map +1 -0
  527. package/dist/components/province-select/it-provinces.d.ts +8 -0
  528. package/dist/components/province-select/it-provinces.d.ts.map +1 -0
  529. package/dist/components/province-select/province-select.agent.d.ts +8 -0
  530. package/dist/components/province-select/province-select.agent.d.ts.map +1 -0
  531. package/dist/components/province-select/province-select.d.ts +38 -0
  532. package/dist/components/province-select/province-select.d.ts.map +1 -0
  533. package/dist/components/public-footer/public-footer.d.ts +1 -1
  534. package/dist/components/public-header/index.js +1 -1
  535. package/dist/components/radiograph-panel/index.d.ts +4 -0
  536. package/dist/components/radiograph-panel/index.d.ts.map +1 -0
  537. package/dist/components/radiograph-panel/index.js +7 -0
  538. package/dist/components/radiograph-panel/index.js.map +1 -0
  539. package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
  540. package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts.map +1 -0
  541. package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
  542. package/dist/components/radiograph-panel/radiograph-panel.d.ts.map +1 -0
  543. package/dist/components/reviews-panel/index.js +1 -1
  544. package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
  545. package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
  546. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  547. package/dist/components/rich-text-editor/index.js +1 -1
  548. package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
  549. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  550. package/dist/components/scroll-area/index.js +1 -1
  551. package/dist/components/select/index.js +1 -1
  552. package/dist/components/select/select.d.ts +8 -2
  553. package/dist/components/select/select.d.ts.map +1 -1
  554. package/dist/components/sheet/index.js +1 -1
  555. package/dist/components/sheet/sheet.d.ts.map +1 -1
  556. package/dist/components/sidebar/index.js +2 -2
  557. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  558. package/dist/components/sign-document/index.js +1 -1
  559. package/dist/components/skeleton/skeleton.d.ts +1 -1
  560. package/dist/components/stepper-accordion/index.js +1 -1
  561. package/dist/components/tab-bar/index.js +1 -1
  562. package/dist/components/tab-bar/tab-bar.d.ts +18 -1
  563. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  564. package/dist/components/tabs/index.js +1 -1
  565. package/dist/components/task-card/index.js +1 -1
  566. package/dist/components/task-card/task-card.d.ts +14 -6
  567. package/dist/components/task-card/task-card.d.ts.map +1 -1
  568. package/dist/components/task-tray/index.js +1 -1
  569. package/dist/components/tasks-panel/index.d.ts +4 -0
  570. package/dist/components/tasks-panel/index.d.ts.map +1 -0
  571. package/dist/components/tasks-panel/index.js +6 -0
  572. package/dist/components/tasks-panel/index.js.map +1 -0
  573. package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
  574. package/dist/components/tasks-panel/tasks-panel.agent.d.ts.map +1 -0
  575. package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
  576. package/dist/components/tasks-panel/tasks-panel.d.ts.map +1 -0
  577. package/dist/components/token-insert-menu/index.d.ts +4 -0
  578. package/dist/components/token-insert-menu/index.d.ts.map +1 -0
  579. package/dist/components/token-insert-menu/index.js +6 -0
  580. package/dist/components/token-insert-menu/index.js.map +1 -0
  581. package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
  582. package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts.map +1 -0
  583. package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
  584. package/dist/components/token-insert-menu/token-insert-menu.d.ts.map +1 -0
  585. package/dist/components/tool-rail/index.d.ts +4 -0
  586. package/dist/components/tool-rail/index.d.ts.map +1 -0
  587. package/dist/components/tool-rail/index.js +6 -0
  588. package/dist/components/tool-rail/index.js.map +1 -0
  589. package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
  590. package/dist/components/tool-rail/tool-rail.agent.d.ts.map +1 -0
  591. package/dist/components/tool-rail/tool-rail.d.ts +160 -0
  592. package/dist/components/tool-rail/tool-rail.d.ts.map +1 -0
  593. package/dist/components/tooth-scheme/index.d.ts +2 -2
  594. package/dist/components/tooth-scheme/index.d.ts.map +1 -1
  595. package/dist/components/tooth-scheme/index.js +30 -23
  596. package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
  597. package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -1
  598. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
  599. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
  600. package/dist/components/tooth-scheme/tooth-scheme.d.ts +84 -11
  601. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  602. package/dist/components/transaction-chip/index.js +1 -1
  603. package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
  604. package/dist/components/transaction-chip/transaction-chip.d.ts.map +1 -1
  605. package/dist/components/transcript-panel/index.js +1 -1
  606. package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
  607. package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
  608. package/dist/components/unit-converter/index.js +1 -1
  609. package/dist/components/warning-stack/index.js +1 -1
  610. package/dist/components/warning-stack/warning-stack.d.ts +10 -7
  611. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  612. package/dist/components/workflow/index.js +1 -1
  613. package/dist/hooks/index.d.ts +1 -0
  614. package/dist/hooks/index.d.ts.map +1 -1
  615. package/dist/hooks/index.js +24 -22
  616. package/dist/hooks/index.js.map +1 -1
  617. package/dist/hooks/use-clamp-overflow.d.ts +19 -0
  618. package/dist/hooks/use-clamp-overflow.d.ts.map +1 -0
  619. package/dist/hooks/use-edge-resize.d.ts +2 -2
  620. package/dist/hooks/use-overflow-collapse.d.ts +46 -0
  621. package/dist/hooks/use-overflow-collapse.d.ts.map +1 -0
  622. package/dist/hooks/use-persistent-state.d.ts +7 -1
  623. package/dist/hooks/use-persistent-state.d.ts.map +1 -1
  624. package/dist/hooks/use-scroll-overflow.d.ts +36 -0
  625. package/dist/hooks/use-scroll-overflow.d.ts.map +1 -0
  626. package/dist/i18n/locales/ar.d.ts +475 -26
  627. package/dist/i18n/locales/ar.d.ts.map +1 -1
  628. package/dist/i18n/locales/ar.js +478 -31
  629. package/dist/i18n/locales/ar.js.map +1 -1
  630. package/dist/i18n/locales/de.d.ts +475 -26
  631. package/dist/i18n/locales/de.d.ts.map +1 -1
  632. package/dist/i18n/locales/de.js +480 -31
  633. package/dist/i18n/locales/de.js.map +1 -1
  634. package/dist/i18n/locales/el.d.ts +475 -26
  635. package/dist/i18n/locales/el.d.ts.map +1 -1
  636. package/dist/i18n/locales/el.js +485 -31
  637. package/dist/i18n/locales/el.js.map +1 -1
  638. package/dist/i18n/locales/en.d.ts +476 -34
  639. package/dist/i18n/locales/en.d.ts.map +1 -1
  640. package/dist/i18n/locales/en.js +492 -39
  641. package/dist/i18n/locales/en.js.map +1 -1
  642. package/dist/i18n/locales/es.d.ts +475 -26
  643. package/dist/i18n/locales/es.d.ts.map +1 -1
  644. package/dist/i18n/locales/es.js +477 -31
  645. package/dist/i18n/locales/es.js.map +1 -1
  646. package/dist/i18n/locales/fr.d.ts +475 -26
  647. package/dist/i18n/locales/fr.d.ts.map +1 -1
  648. package/dist/i18n/locales/fr.js +480 -31
  649. package/dist/i18n/locales/fr.js.map +1 -1
  650. package/dist/i18n/locales/hi.d.ts +475 -26
  651. package/dist/i18n/locales/hi.d.ts.map +1 -1
  652. package/dist/i18n/locales/hi.js +476 -31
  653. package/dist/i18n/locales/hi.js.map +1 -1
  654. package/dist/i18n/locales/it.d.ts +475 -26
  655. package/dist/i18n/locales/it.d.ts.map +1 -1
  656. package/dist/i18n/locales/it.js +480 -31
  657. package/dist/i18n/locales/it.js.map +1 -1
  658. package/dist/i18n/locales/ja.d.ts +475 -26
  659. package/dist/i18n/locales/ja.d.ts.map +1 -1
  660. package/dist/i18n/locales/ja.js +481 -31
  661. package/dist/i18n/locales/ja.js.map +1 -1
  662. package/dist/i18n/locales/nl.d.ts +475 -26
  663. package/dist/i18n/locales/nl.d.ts.map +1 -1
  664. package/dist/i18n/locales/nl.js +473 -31
  665. package/dist/i18n/locales/nl.js.map +1 -1
  666. package/dist/i18n/locales/pl.d.ts +475 -26
  667. package/dist/i18n/locales/pl.d.ts.map +1 -1
  668. package/dist/i18n/locales/pl.js +481 -31
  669. package/dist/i18n/locales/pl.js.map +1 -1
  670. package/dist/i18n/locales/pt.d.ts +475 -26
  671. package/dist/i18n/locales/pt.d.ts.map +1 -1
  672. package/dist/i18n/locales/pt.js +485 -31
  673. package/dist/i18n/locales/pt.js.map +1 -1
  674. package/dist/i18n/locales/ro.d.ts +475 -26
  675. package/dist/i18n/locales/ro.d.ts.map +1 -1
  676. package/dist/i18n/locales/ro.js +485 -31
  677. package/dist/i18n/locales/ro.js.map +1 -1
  678. package/dist/i18n/locales/ru.d.ts +475 -26
  679. package/dist/i18n/locales/ru.d.ts.map +1 -1
  680. package/dist/i18n/locales/ru.js +478 -31
  681. package/dist/i18n/locales/ru.js.map +1 -1
  682. package/dist/i18n/locales/sq.d.ts +475 -26
  683. package/dist/i18n/locales/sq.d.ts.map +1 -1
  684. package/dist/i18n/locales/sq.js +482 -31
  685. package/dist/i18n/locales/sq.js.map +1 -1
  686. package/dist/i18n/locales/sv.d.ts +475 -26
  687. package/dist/i18n/locales/sv.d.ts.map +1 -1
  688. package/dist/i18n/locales/sv.js +480 -31
  689. package/dist/i18n/locales/sv.js.map +1 -1
  690. package/dist/i18n/locales/tr.d.ts +475 -26
  691. package/dist/i18n/locales/tr.d.ts.map +1 -1
  692. package/dist/i18n/locales/tr.js +478 -31
  693. package/dist/i18n/locales/tr.js.map +1 -1
  694. package/dist/i18n/locales/zh.d.ts +475 -26
  695. package/dist/i18n/locales/zh.d.ts.map +1 -1
  696. package/dist/i18n/locales/zh.js +473 -31
  697. package/dist/i18n/locales/zh.js.map +1 -1
  698. package/dist/index.js +826 -709
  699. package/dist/index.js.map +1 -1
  700. package/dist/locales/ar.json +480 -31
  701. package/dist/locales/de.json +480 -31
  702. package/dist/locales/el.json +480 -31
  703. package/dist/locales/en.json +480 -31
  704. package/dist/locales/es.json +480 -31
  705. package/dist/locales/fr.json +480 -31
  706. package/dist/locales/hi.json +480 -31
  707. package/dist/locales/it.json +480 -31
  708. package/dist/locales/ja.json +480 -31
  709. package/dist/locales/nl.json +480 -31
  710. package/dist/locales/pl.json +480 -31
  711. package/dist/locales/pt.json +480 -31
  712. package/dist/locales/ro.json +480 -31
  713. package/dist/locales/ru.json +480 -31
  714. package/dist/locales/sq.json +480 -31
  715. package/dist/locales/sv.json +480 -31
  716. package/dist/locales/tr.json +480 -31
  717. package/dist/locales/zh.json +480 -31
  718. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  719. package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
  720. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  721. package/dist/patterns/alia-assistant/index.js +1 -1
  722. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  723. package/dist/patterns/patient-shell/index.js +1 -1
  724. package/dist/tokens.css +9 -1
  725. package/package.json +101 -5
  726. package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js.map +0 -1
  727. package/dist/_chunks/ai-tools-rail-BA_sqy1A.js +0 -373
  728. package/dist/_chunks/ai-tools-rail-BA_sqy1A.js.map +0 -1
  729. package/dist/_chunks/alert-_mUKLmwA.js.map +0 -1
  730. package/dist/_chunks/alia-sidebar-B47qRQb5.js.map +0 -1
  731. package/dist/_chunks/app-frame-BYx1gcV7.js.map +0 -1
  732. package/dist/_chunks/appointment-tray-CZtvtaH-.js +0 -431
  733. package/dist/_chunks/appointment-tray-CZtvtaH-.js.map +0 -1
  734. package/dist/_chunks/autocomplete-DOeGouCL.js.map +0 -1
  735. package/dist/_chunks/badge-CqGsX32l.js.map +0 -1
  736. package/dist/_chunks/chat-message-3V54YipB.js.map +0 -1
  737. package/dist/_chunks/clinical-note-card-DqQYf_D4.js +0 -333
  738. package/dist/_chunks/clinical-note-card-DqQYf_D4.js.map +0 -1
  739. package/dist/_chunks/combobox-Clum7gJ1.js.map +0 -1
  740. package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +0 -448
  741. package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js.map +0 -1
  742. package/dist/_chunks/email-input-B_Y55f5G.js +0 -396
  743. package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
  744. package/dist/_chunks/message-card-Bx4GmLvf.js.map +0 -1
  745. package/dist/_chunks/message-tray-DwrBLJlf.js.map +0 -1
  746. package/dist/_chunks/notification-card-BiESdm8q.js +0 -255
  747. package/dist/_chunks/notification-card-BiESdm8q.js.map +0 -1
  748. package/dist/_chunks/notification-tray-Btb9oQeZ.js.map +0 -1
  749. package/dist/_chunks/patient-summary-card-B836_fDB.js +0 -435
  750. package/dist/_chunks/patient-summary-card-B836_fDB.js.map +0 -1
  751. package/dist/_chunks/patient-table-CDuosVru.js +0 -889
  752. package/dist/_chunks/patient-table-CDuosVru.js.map +0 -1
  753. package/dist/_chunks/payment-request-card-DioWKBUq.js.map +0 -1
  754. package/dist/_chunks/pdf-viewer-D6BPfW2D.js.map +0 -1
  755. package/dist/_chunks/product-hub-panel-e6pW220e.js.map +0 -1
  756. package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
  757. package/dist/_chunks/reviews-panel-Dq7LMDcH.js.map +0 -1
  758. package/dist/_chunks/rich-text-editor-BsV7zUdg.js +0 -2142
  759. package/dist/_chunks/rich-text-editor-BsV7zUdg.js.map +0 -1
  760. package/dist/_chunks/scroll-area-5wNK0Cyz.js.map +0 -1
  761. package/dist/_chunks/select-DMLG44F5.js.map +0 -1
  762. package/dist/_chunks/sheet-BxsE7eQm.js.map +0 -1
  763. package/dist/_chunks/sidebar-DY9jGjgt.js.map +0 -1
  764. package/dist/_chunks/stepper-accordion-Dki6r9ZE.js.map +0 -1
  765. package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
  766. package/dist/_chunks/tab-bar-B1ovILzh.js.map +0 -1
  767. package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
  768. package/dist/_chunks/task-card-BwY9jaV1.js.map +0 -1
  769. package/dist/_chunks/tooth-scheme-yBr53cvv.js +0 -1330
  770. package/dist/_chunks/tooth-scheme-yBr53cvv.js.map +0 -1
  771. package/dist/_chunks/transaction-chip-DK84XCBU.js.map +0 -1
  772. package/dist/_chunks/transcript-panel-3THQX6nJ.js.map +0 -1
  773. package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
  774. package/dist/_chunks/use-persistent-state-i23OWy6G.js.map +0 -1
  775. package/dist/_chunks/warning-stack-BsgaEbL8.js.map +0 -1
  776. package/dist/_chunks/workflow-map-Bdam9pGp.js.map +0 -1
  777. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
  778. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +0 -1
  779. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +0 -68
  780. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +0 -1
  781. package/dist/components/ai-tools-rail/index.d.ts +0 -4
  782. package/dist/components/ai-tools-rail/index.d.ts.map +0 -1
  783. package/dist/components/ai-tools-rail/index.js +0 -6
  784. package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +0 -45
  785. package/dist/components/patient-table/cell-renderers/contact-cell.d.ts.map +0 -1
  786. package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +0 -26
  787. package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts.map +0 -1
  788. /package/dist/components/{ai-tools-rail → address-fields}/index.js.map +0 -0
@@ -1,42 +1,20 @@
1
- import { jsx as a, jsxs as _, Fragment as we } from "react/jsx-runtime";
2
- import { forwardRef as Le, useId as Ze, useMemo as ke, useState as y, useEffect as T, useRef as E, useCallback as H, useImperativeHandle as Ke } from "react";
1
+ import { jsx as a, jsxs as Z, Fragment as xe } from "react/jsx-runtime";
2
+ import { forwardRef as Ze, useId as Ke, useMemo as ze, useState as y, useEffect as T, useRef as E, useCallback as H, useImperativeHandle as Le } from "react";
3
3
  import * as pe from "pdfjs-dist/legacy/build/pdf.min.mjs";
4
- import { c as X } from "./index-D2ZczOXr.js";
4
+ import { c as $ } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as me } from "react-i18next";
6
6
  import * as re from "@radix-ui/react-popover";
7
7
  import De from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url";
8
- import { S as qe } from "./spinner-hbwuKwMf.js";
9
- import { A as ze } from "./alert-_mUKLmwA.js";
10
- import { u as Be } from "./registry-DvAUVLHh.js";
11
- import { X as He } from "./x-CCcI3eJp.js";
12
- import { C as Qe } from "./chevron-left-CX1jqD2M.js";
13
- import { C as We } from "./chevron-right-BrpYejk0.js";
14
- import { c as Te } from "./createLucideIcon-CrFbzy84.js";
15
- import { S as Ue } from "./search-BonnQsHv.js";
16
- import { P as Je } from "./printer-CeVEWfQq.js";
17
- /**
18
- * @license lucide-react v1.8.0 - ISC
19
- *
20
- * This source code is licensed under the ISC license.
21
- * See the LICENSE file in the root directory of this source tree.
22
- */
23
- const $e = [
24
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
25
- ["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
26
- ["line", { x1: "11", x2: "11", y1: "8", y2: "14", key: "1vmskp" }],
27
- ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
28
- ], Xe = Te("zoom-in", $e);
29
- /**
30
- * @license lucide-react v1.8.0 - ISC
31
- *
32
- * This source code is licensed under the ISC license.
33
- * See the LICENSE file in the root directory of this source tree.
34
- */
35
- const Ge = [
36
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
37
- ["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
38
- ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
39
- ], Ye = Te("zoom-out", Ge), et = {
8
+ import { S as _e } from "./spinner-hbwuKwMf.js";
9
+ import { A as ke } from "./alert-CHYZ96tR.js";
10
+ import { u as qe } from "./registry-DvAUVLHh.js";
11
+ import { X as Be } from "./x-CCcI3eJp.js";
12
+ import { C as He } from "./chevron-left-CX1jqD2M.js";
13
+ import { C as Qe } from "./chevron-right-BrpYejk0.js";
14
+ import { Z as We, a as Ue } from "./zoom-out-CgVtf2Wx.js";
15
+ import { S as Je } from "./search-BonnQsHv.js";
16
+ import { P as Xe } from "./printer-CeVEWfQq.js";
17
+ const $e = {
40
18
  id: "pdf-viewer",
41
19
  // `paginate` (go_to_page), `set_value` (zoom preset — ephemeral view state),
42
20
  // `filter` (in-document search/highlight). Zoom maps to `set_value` rather
@@ -131,7 +109,7 @@ const Ge = [
131
109
  }
132
110
  };
133
111
  pe.GlobalWorkerOptions.workerSrc = De;
134
- const Pe = X(
112
+ const Pe = $(
135
113
  [
136
114
  "ds:pdf-viewer-alfadocs ds:flex ds:flex-col",
137
115
  // Allow the viewer to shrink below its content's intrinsic width when it
@@ -148,7 +126,7 @@ const Pe = X(
148
126
  "ds:focus-visible:outline-[var(--ring)]",
149
127
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
150
128
  ].join(" ")
151
- ), tt = X(
129
+ ), Ge = $(
152
130
  [
153
131
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
154
132
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -156,7 +134,7 @@ const Pe = X(
156
134
  "ds:bg-[var(--background)]",
157
135
  "ds:border-b ds:border-[color:var(--border)]"
158
136
  ].join(" ")
159
- ), Se = X(
137
+ ), Se = $(
160
138
  [
161
139
  "ds:inline-flex ds:items-center ds:justify-center",
162
140
  "ds:[min-block-size:var(--min-target-size)]",
@@ -173,7 +151,7 @@ const Pe = X(
173
151
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
174
152
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
175
153
  ].join(" ")
176
- ), Me = X(
154
+ ), Me = $(
177
155
  [
178
156
  "ds:[min-block-size:var(--min-target-size)]",
179
157
  "ds:inline-size-[4rem] ds:text-center",
@@ -185,7 +163,7 @@ const Pe = X(
185
163
  "ds:focus-visible:outline-[var(--ring)]",
186
164
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
187
165
  ].join(" ")
188
- ), rt = X(
166
+ ), Ye = $(
189
167
  [
190
168
  "ds:[min-block-size:var(--min-target-size)]",
191
169
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -196,7 +174,7 @@ const Pe = X(
196
174
  "ds:focus-visible:outline-[var(--ring)]",
197
175
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
198
176
  ].join(" ")
199
- ), nt = X(
177
+ ), et = $(
200
178
  [
201
179
  "ds:relative ds:flex ds:flex-col ds:items-center",
202
180
  "ds:gap-[var(--spacing-md)]",
@@ -217,14 +195,14 @@ const Pe = X(
217
195
  "ds:min-h-[30rem]",
218
196
  "ds:max-h-[80vh]"
219
197
  ].join(" ")
220
- ), at = X(
198
+ ), tt = $(
221
199
  [
222
200
  "ds:relative ds:flex ds:items-center ds:justify-center",
223
201
  "ds:bg-[var(--background)]",
224
202
  "ds:shadow-[var(--shadow-md)]",
225
203
  "ds:rounded-[var(--radius-sm)]"
226
204
  ].join(" ")
227
- ), st = [
205
+ ), rt = [
228
206
  "fit-width",
229
207
  "fit-page",
230
208
  "actual-size",
@@ -238,13 +216,13 @@ const Pe = X(
238
216
  function Y(o) {
239
217
  return typeof o == "number";
240
218
  }
241
- function Ie(o, t, v) {
219
+ function Ce(o, t, v) {
242
220
  if (Y(o)) return o;
243
221
  if (o === "actual-size" || !v) return 1;
244
- const m = window.getComputedStyle(v), g = parseFloat(m.paddingInlineStart || "0") + parseFloat(m.paddingInlineEnd || "0"), h = parseFloat(m.paddingBlockStart || "0") + parseFloat(m.paddingBlockEnd || "0"), x = Math.max(v.clientWidth - g, 1), w = Math.max(v.clientHeight - h, 1), k = t.width, z = t.height;
245
- return o === "fit-width" ? x / k : Math.min(x / k, w / z);
222
+ const m = window.getComputedStyle(v), g = parseFloat(m.paddingInlineStart || "0") + parseFloat(m.paddingInlineEnd || "0"), h = parseFloat(m.paddingBlockStart || "0") + parseFloat(m.paddingBlockEnd || "0"), w = Math.max(v.clientWidth - g, 1), x = Math.max(v.clientHeight - h, 1), z = t.width, k = t.height;
223
+ return o === "fit-width" ? w / z : Math.min(w / z, x / k);
246
224
  }
247
- const ot = Le(
225
+ const nt = Ze(
248
226
  ({
249
227
  id: o,
250
228
  src: t,
@@ -252,34 +230,34 @@ const ot = Le(
252
230
  initialZoom: m = "fit-width",
253
231
  pageRotation: g,
254
232
  renderPageOverlay: h,
255
- onPageChange: x,
256
- onLoadComplete: w,
257
- onError: k,
258
- toolbar: z = !0,
259
- toolbarVariant: L = "full",
233
+ onPageChange: w,
234
+ onLoadComplete: x,
235
+ onError: z,
236
+ toolbar: k = !0,
237
+ toolbarVariant: K = "full",
260
238
  ariaLabel: P,
261
239
  className: S
262
240
  }, b) => {
263
- const { t: l } = me(), M = Ze(), I = ke(
241
+ const { t: l } = me(), M = Ke(), C = ze(
264
242
  () => `pdf-${M.replace(/[^a-zA-Z0-9-_]/g, "")}`,
265
243
  [M]
266
- ), [A, p] = y(!1), [K, Q] = y(!1);
244
+ ), [A, p] = y(!1), [_, Q] = y(!1);
267
245
  T(() => {
268
246
  if (typeof document > "u") return;
269
247
  p(document.documentElement.dir === "rtl");
270
248
  const e = window.matchMedia("(prefers-reduced-motion: reduce)"), r = () => Q(e.matches);
271
249
  return r(), e.addEventListener("change", r), () => e.removeEventListener("change", r);
272
250
  }, []);
273
- const [s, W] = y(null), [i, N] = y(null), [u, O] = y(v), [C, D] = y(m), [Z, q] = y({ start: Math.max(1, v - 1), end: v + 1 }), [U, R] = y(""), [n, f] = y(!1), [ee, ge] = y(""), [Oe, Re] = y({ current: 0, total: 0 }), ne = E(x), ae = E(w), se = E(k);
251
+ const [s, W] = y(null), [i, I] = y(null), [u, O] = y(v), [N, D] = y(m), [L, q] = y({ start: Math.max(1, v - 1), end: v + 1 }), [U, R] = y(""), [n, f] = y(!1), [ee, ge] = y(""), [Te, Oe] = y({ current: 0, total: 0 }), ne = E(w), ae = E(x), se = E(z);
274
252
  T(() => {
275
- ne.current = x, ae.current = w, se.current = k;
276
- }, [x, w, k]);
253
+ ne.current = w, ae.current = x, se.current = z;
254
+ }, [w, x, z]);
277
255
  const ce = E(null);
278
256
  T(() => {
279
257
  ce.current = s;
280
258
  }, [s]), T(() => {
281
259
  let e = !1;
282
- W(null), N(null);
260
+ W(null), I(null);
283
261
  const r = {
284
262
  disableJavaScript: !0,
285
263
  isEvalSupported: !1
@@ -290,12 +268,12 @@ const ot = Le(
290
268
  async (d) => {
291
269
  var J;
292
270
  if (e) return;
293
- let j;
271
+ let V;
294
272
  try {
295
- const $ = await d.getMetadata(), F = $ == null ? void 0 : $.info;
296
- j = F == null ? void 0 : F.Title;
273
+ const X = await d.getMetadata(), F = X == null ? void 0 : X.info;
274
+ V = F == null ? void 0 : F.Title;
297
275
  } catch {
298
- j = void 0;
276
+ V = void 0;
299
277
  }
300
278
  if (e) {
301
279
  try {
@@ -304,14 +282,14 @@ const ot = Le(
304
282
  }
305
283
  return;
306
284
  }
307
- const B = { doc: d, numPages: d.numPages, title: j };
308
- W(B), (J = ae.current) == null || J.call(ae, { numPages: d.numPages, title: j });
285
+ const B = { doc: d, numPages: d.numPages, title: V };
286
+ W(B), (J = ae.current) == null || J.call(ae, { numPages: d.numPages, title: V });
309
287
  },
310
288
  (d) => {
311
289
  var B;
312
290
  if (e) return;
313
- const j = d instanceof Error ? d : new Error(String(d));
314
- N(j), (B = se.current) == null || B.call(se, j);
291
+ const V = d instanceof Error ? d : new Error(String(d));
292
+ I(V), (B = se.current) == null || B.call(se, V);
315
293
  }
316
294
  ), () => {
317
295
  e = !0, c.destroy();
@@ -330,7 +308,7 @@ const ot = Le(
330
308
  l("pdf.pageOf", { current: u, total: s.numPages })
331
309
  ), (e = ne.current) == null || e.call(ne, u));
332
310
  }, [u, s, l]);
333
- const oe = E(null), le = E([]), V = H(
311
+ const oe = E(null), le = E([]), j = H(
334
312
  (e) => {
335
313
  if (!s) return;
336
314
  const r = Math.max(1, Math.min(e, s.numPages));
@@ -341,41 +319,41 @@ const ot = Le(
341
319
  block: "start"
342
320
  });
343
321
  },
344
- [s, K]
322
+ [s, _]
345
323
  ), he = H((e) => {
346
324
  D(e);
347
325
  }, []), te = H(() => {
348
326
  typeof window < "u" && window.print();
349
327
  }, []), ve = H((e) => {
350
328
  ge(e), f(e.length > 0);
351
- }, []), ue = ke(
329
+ }, []), ue = ze(
352
330
  () => ({
353
- goToPage: V,
331
+ goToPage: j,
354
332
  setZoom: he,
355
333
  search: ve,
356
334
  print: te
357
335
  }),
358
- [V, he, ve, te]
336
+ [j, he, ve, te]
359
337
  );
360
- Ke(b, () => ue, [ue]), Be(et, ue, o);
361
- const Ae = H(
338
+ Le(b, () => ue, [ue]), qe($e, ue, o);
339
+ const Re = H(
362
340
  (e) => {
363
341
  if (!s) return;
364
342
  const r = e.metaKey || e.ctrlKey;
365
343
  if (e.key === "PageDown") {
366
- e.preventDefault(), V(u + 1);
344
+ e.preventDefault(), j(u + 1);
367
345
  return;
368
346
  }
369
347
  if (e.key === "PageUp") {
370
- e.preventDefault(), V(u - 1);
348
+ e.preventDefault(), j(u - 1);
371
349
  return;
372
350
  }
373
351
  if (e.key === "Home") {
374
- e.preventDefault(), V(1);
352
+ e.preventDefault(), j(1);
375
353
  return;
376
354
  }
377
355
  if (e.key === "End") {
378
- e.preventDefault(), V(s.numPages);
356
+ e.preventDefault(), j(s.numPages);
379
357
  return;
380
358
  }
381
359
  if (r && e.key.toLowerCase() === "f") {
@@ -398,7 +376,7 @@ const ot = Le(
398
376
  }
399
377
  r && e.key.toLowerCase() === "p" && (e.preventDefault(), te());
400
378
  },
401
- [u, V, te, s]
379
+ [u, j, te, s]
402
380
  ), fe = E(u);
403
381
  T(() => {
404
382
  fe.current = u;
@@ -411,15 +389,15 @@ const ot = Le(
411
389
  for (const F of d) {
412
390
  const G = F.target.dataset.pageNumber;
413
391
  if (!G) continue;
414
- const _e = Number(G);
415
- r.set(_e, F.intersectionRatio);
392
+ const Ee = Number(G);
393
+ r.set(Ee, F.intersectionRatio);
416
394
  }
417
- let j = fe.current, B = 0, J = 1 / 0, $ = -1 / 0;
395
+ let V = fe.current, B = 0, J = 1 / 0, X = -1 / 0;
418
396
  for (const [F, G] of r.entries())
419
- G > B && (j = F, B = G), G > 0 && (J = Math.min(J, F), $ = Math.max($, F));
420
- B > 0 && j !== fe.current && O(j), J !== 1 / 0 && q({
397
+ G > B && (V = F, B = G), G > 0 && (J = Math.min(J, F), X = Math.max(X, F));
398
+ B > 0 && V !== fe.current && O(V), J !== 1 / 0 && q({
421
399
  start: Math.max(1, J - 1),
422
- end: Math.min(s.numPages, $ + 1)
400
+ end: Math.min(s.numPages, X + 1)
423
401
  });
424
402
  },
425
403
  { root: e, threshold: [0, 0.25, 0.5, 0.75, 1] }
@@ -428,37 +406,37 @@ const ot = Le(
428
406
  d && c.observe(d);
429
407
  }), () => c.disconnect();
430
408
  }, [s]);
431
- const [je, Ve] = y(0);
409
+ const [Ae, Ve] = y(0);
432
410
  T(() => {
433
411
  const e = oe.current;
434
412
  if (!e || typeof ResizeObserver > "u") return;
435
413
  const r = new ResizeObserver(() => {
436
- (C === "fit-width" || C === "fit-page") && Ve((c) => c + 1);
414
+ (N === "fit-width" || N === "fit-page") && Ve((c) => c + 1);
437
415
  });
438
416
  return r.observe(e), () => r.disconnect();
439
- }, [C]);
440
- const be = E([]), [ie, ye] = y(0), Fe = H(
417
+ }, [N]);
418
+ const be = E([]), [ie, ye] = y(0), je = H(
441
419
  (e) => (r) => {
442
420
  be.current[e] = r;
443
421
  },
444
422
  []
445
- ), xe = H((e) => {
423
+ ), we = H((e) => {
446
424
  const r = be.current[e];
447
425
  r && r.focus();
448
- }, []), de = L === "minimal" ? 2 : 8, Ee = H(
426
+ }, []), de = K === "minimal" ? 2 : 8, Fe = H(
449
427
  (e) => {
450
428
  const r = A ? "ArrowLeft" : "ArrowRight", c = A ? "ArrowRight" : "ArrowLeft";
451
429
  let d = null;
452
- e.key === r ? d = (ie + 1) % de : e.key === c ? d = (ie - 1 + de) % de : e.key === "Home" ? d = 0 : e.key === "End" && (d = de - 1), d !== null && (e.preventDefault(), ye(d), xe(d));
430
+ e.key === r ? d = (ie + 1) % de : e.key === c ? d = (ie - 1 + de) % de : e.key === "Home" ? d = 0 : e.key === "End" && (d = de - 1), d !== null && (e.preventDefault(), ye(d), we(d));
453
431
  },
454
- [xe, A, ie]
432
+ [we, A, ie]
455
433
  );
456
434
  return i ? /* @__PURE__ */ a(
457
435
  "div",
458
436
  {
459
437
  className: [Pe(), S].filter(Boolean).join(" "),
460
438
  "aria-label": P ?? l("pdf.error"),
461
- children: /* @__PURE__ */ a("div", { className: "ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ a(ze, { variant: "error", live: "polite", children: /* @__PURE__ */ _(ze.Description, { children: [
439
+ children: /* @__PURE__ */ a("div", { className: "ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ a(ke, { variant: "error", live: "polite", children: /* @__PURE__ */ Z(ke.Description, { children: [
462
440
  l("pdf.error"),
463
441
  ": ",
464
442
  i.message
@@ -466,30 +444,30 @@ const ot = Le(
466
444
  }
467
445
  ) : (
468
446
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions -- region-level keyboard shortcuts (search, zoom) intentionally captured at the wrapper for the entire PDF viewer
469
- /* @__PURE__ */ _(
447
+ /* @__PURE__ */ Z(
470
448
  "div",
471
449
  {
472
- id: I,
450
+ id: C,
473
451
  role: "region",
474
452
  "aria-label": P ?? l("pdf.toolbarLabel"),
475
453
  className: [Pe(), S].filter(Boolean).join(" "),
476
454
  dir: A ? "rtl" : void 0,
477
- onKeyDown: Ae,
455
+ onKeyDown: Re,
478
456
  tabIndex: -1,
479
457
  "data-component": "pdf-viewer",
480
458
  "data-component-id": o,
481
459
  "data-pdfjs-worker-src": De,
482
460
  children: [
483
- z ? /* @__PURE__ */ a(
484
- it,
461
+ k ? /* @__PURE__ */ a(
462
+ at,
485
463
  {
486
- variant: L,
464
+ variant: K,
487
465
  currentPage: u,
488
466
  numPages: (s == null ? void 0 : s.numPages) ?? 0,
489
- zoom: C,
490
- onPrev: () => V(u - 1),
491
- onNext: () => V(u + 1),
492
- onJump: (e) => V(e),
467
+ zoom: N,
468
+ onPrev: () => j(u - 1),
469
+ onNext: () => j(u + 1),
470
+ onJump: (e) => j(e),
493
471
  onZoomIn: () => {
494
472
  D(
495
473
  (e) => Y(e) ? Math.min(e * 1.25, 4) : 1.25
@@ -509,11 +487,11 @@ const ot = Le(
509
487
  onSearchQueryChange: (e) => {
510
488
  ge(e);
511
489
  },
512
- searchMatches: Oe,
513
- register: Fe,
490
+ searchMatches: Te,
491
+ register: je,
514
492
  focusIndex: ie,
515
493
  setFocusIndex: ye,
516
- onToolbarKeyDown: Ee,
494
+ onToolbarKeyDown: Fe,
517
495
  isRtl: A
518
496
  }
519
497
  ) : null,
@@ -522,29 +500,29 @@ const ot = Le(
522
500
  "div",
523
501
  {
524
502
  ref: oe,
525
- className: nt(),
503
+ className: et(),
526
504
  "data-testid": "pdf-pages-container",
527
505
  tabIndex: 0,
528
506
  "aria-label": l("pdf.pagesRegionLabel"),
529
507
  children: s ? Array.from({ length: s.numPages }, (e, r) => r + 1).map(
530
508
  (e) => /* @__PURE__ */ a(
531
- dt,
509
+ st,
532
510
  {
533
511
  pageNumber: e,
534
512
  totalPages: s.numPages,
535
513
  doc: s.doc,
536
- zoom: C,
514
+ zoom: N,
537
515
  pageRotation: g,
538
516
  renderPageOverlay: h,
539
517
  container: oe.current,
540
- resizeTick: je,
541
- shouldRender: e >= Z.start && e <= Z.end,
518
+ resizeTick: Ae,
519
+ shouldRender: e >= L.start && e <= L.end,
542
520
  registerRef: (r) => {
543
521
  le.current[e - 1] = r;
544
522
  },
545
523
  searchQuery: ee,
546
524
  onMatchCount: (r) => {
547
- Re((c) => r === 0 && c.total === 0 ? c : {
525
+ Oe((c) => r === 0 && c.total === 0 ? c : {
548
526
  current: Math.min(c.current || 1, r || 1),
549
527
  total: Math.max(c.total, r)
550
528
  });
@@ -552,8 +530,8 @@ const ot = Le(
552
530
  },
553
531
  e
554
532
  )
555
- ) : /* @__PURE__ */ _("div", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:text-[var(--muted-foreground)] ds:p-[var(--spacing-lg)]", children: [
556
- /* @__PURE__ */ a(qe, { variant: "pulse", size: "sm", label: l("pdf.loading") }),
533
+ ) : /* @__PURE__ */ Z("div", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:text-[var(--muted-foreground)] ds:p-[var(--spacing-lg)]", children: [
534
+ /* @__PURE__ */ a(_e, { variant: "pulse", size: "sm", label: l("pdf.loading") }),
557
535
  /* @__PURE__ */ a("span", { children: l("pdf.loading") })
558
536
  ] })
559
537
  }
@@ -564,45 +542,45 @@ const ot = Le(
564
542
  );
565
543
  }
566
544
  );
567
- ot.displayName = "PDFViewer";
568
- function it(o) {
545
+ nt.displayName = "PDFViewer";
546
+ function at(o) {
569
547
  const { t } = me(), {
570
548
  variant: v,
571
549
  currentPage: m,
572
550
  numPages: g,
573
551
  zoom: h,
574
- onPrev: x,
575
- onNext: w,
576
- onJump: k,
577
- onZoomIn: z,
578
- onZoomOut: L,
552
+ onPrev: w,
553
+ onNext: x,
554
+ onJump: z,
555
+ onZoomIn: k,
556
+ onZoomOut: K,
579
557
  onZoomPreset: P,
580
558
  onOpenSearch: S,
581
559
  onPrint: b,
582
560
  searchOpen: l,
583
561
  onSearchOpenChange: M,
584
- searchQuery: I,
562
+ searchQuery: C,
585
563
  onSearchQueryChange: A,
586
564
  searchMatches: p,
587
- register: K,
565
+ register: _,
588
566
  focusIndex: Q,
589
567
  setFocusIndex: s,
590
568
  onToolbarKeyDown: W
591
- } = o, i = v === "minimal", N = i ? 0 : 3, u = i ? 1 : 4, O = 5, [C, D] = y(String(m));
569
+ } = o, i = v === "minimal", I = i ? 0 : 3, u = i ? 1 : 4, O = 5, [N, D] = y(String(m));
592
570
  T(() => {
593
571
  D(String(m));
594
572
  }, [m]);
595
- const Z = m <= 1, q = m >= g;
573
+ const L = m <= 1, q = m >= g;
596
574
  function U() {
597
- const n = Number(C);
598
- Number.isFinite(n) && n >= 1 ? k(Math.min(n, g)) : D(String(m));
575
+ const n = Number(N);
576
+ Number.isFinite(n) && n >= 1 ? z(Math.min(n, g)) : D(String(m));
599
577
  }
600
578
  function R(n) {
601
579
  return /* @__PURE__ */ a(
602
580
  "button",
603
581
  {
604
582
  type: "button",
605
- ref: K(n.index),
583
+ ref: _(n.index),
606
584
  tabIndex: n.index === Q ? 0 : -1,
607
585
  onFocus: () => s(n.index),
608
586
  onKeyDown: W,
@@ -621,21 +599,21 @@ function it(o) {
621
599
  }
622
600
  );
623
601
  }
624
- return /* @__PURE__ */ _(
602
+ return /* @__PURE__ */ Z(
625
603
  "div",
626
604
  {
627
605
  role: "toolbar",
628
606
  "aria-label": t("pdf.toolbarLabel"),
629
- className: tt(),
607
+ className: Ge(),
630
608
  children: [
631
- !i && /* @__PURE__ */ _(we, { children: [
609
+ !i && /* @__PURE__ */ Z(xe, { children: [
632
610
  R({
633
611
  index: 0,
634
612
  label: t("pdf.previousPage"),
635
- disabled: Z,
636
- onActivate: x,
613
+ disabled: L,
614
+ onActivate: w,
637
615
  icon: /* @__PURE__ */ a(
638
- Qe,
616
+ He,
639
617
  {
640
618
  "aria-hidden": "true",
641
619
  className: "ds:block-size-4 ds:inline-size-4 ds:rtl:rotate-180"
@@ -646,9 +624,9 @@ function it(o) {
646
624
  index: 1,
647
625
  label: t("pdf.nextPage"),
648
626
  disabled: q,
649
- onActivate: w,
627
+ onActivate: x,
650
628
  icon: /* @__PURE__ */ a(
651
- We,
629
+ Qe,
652
630
  {
653
631
  "aria-hidden": "true",
654
632
  className: "ds:block-size-4 ds:inline-size-4 ds:rtl:rotate-180"
@@ -661,14 +639,14 @@ function it(o) {
661
639
  type: "number",
662
640
  min: 1,
663
641
  max: Math.max(g, 1),
664
- value: C,
642
+ value: N,
665
643
  onChange: (n) => D(n.target.value),
666
644
  onKeyDown: (n) => {
667
645
  n.key === "Enter" && (n.preventDefault(), U());
668
646
  },
669
647
  onBlur: U,
670
648
  onFocus: () => s(2),
671
- ref: K(2),
649
+ ref: _(2),
672
650
  tabIndex: Q === 2 ? 0 : -1,
673
651
  "aria-label": t("pdf.currentPageInput"),
674
652
  className: Me()
@@ -691,11 +669,11 @@ function it(o) {
691
669
  )
692
670
  ] }),
693
671
  R({
694
- index: N,
672
+ index: I,
695
673
  label: t("pdf.zoom.out"),
696
- onActivate: L,
674
+ onActivate: K,
697
675
  icon: /* @__PURE__ */ a(
698
- Ye,
676
+ We,
699
677
  {
700
678
  "aria-hidden": "true",
701
679
  className: "ds:block-size-4 ds:inline-size-4"
@@ -705,16 +683,16 @@ function it(o) {
705
683
  R({
706
684
  index: u,
707
685
  label: t("pdf.zoom.in"),
708
- onActivate: z,
686
+ onActivate: k,
709
687
  icon: /* @__PURE__ */ a(
710
- Xe,
688
+ Ue,
711
689
  {
712
690
  "aria-hidden": "true",
713
691
  className: "ds:block-size-4 ds:inline-size-4"
714
692
  }
715
693
  )
716
694
  }),
717
- !i && /* @__PURE__ */ _(
695
+ !i && /* @__PURE__ */ Z(
718
696
  "select",
719
697
  {
720
698
  "aria-label": t("pdf.zoom.preset"),
@@ -728,21 +706,21 @@ function it(o) {
728
706
  Number.isFinite(ee) && P(ee);
729
707
  }
730
708
  },
731
- ref: K(O),
709
+ ref: _(O),
732
710
  tabIndex: Q === O ? 0 : -1,
733
711
  onFocus: () => s(O),
734
712
  onKeyDown: W,
735
- className: rt(),
713
+ className: Ye(),
736
714
  children: [
737
715
  /* @__PURE__ */ a("option", { value: "fit-width", children: t("pdf.zoom.fitWidth") }),
738
716
  /* @__PURE__ */ a("option", { value: "fit-page", children: t("pdf.zoom.fitPage") }),
739
717
  /* @__PURE__ */ a("option", { value: "actual-size", children: t("pdf.zoom.actualSize") }),
740
- st.filter(Y).map((n) => /* @__PURE__ */ a("option", { value: String(n), children: `${Math.round(n * 100)}%` }, n))
718
+ rt.filter(Y).map((n) => /* @__PURE__ */ a("option", { value: String(n), children: `${Math.round(n * 100)}%` }, n))
741
719
  ]
742
720
  }
743
721
  ),
744
- !i && /* @__PURE__ */ _(we, { children: [
745
- /* @__PURE__ */ _(
722
+ !i && /* @__PURE__ */ Z(xe, { children: [
723
+ /* @__PURE__ */ Z(
746
724
  re.Root,
747
725
  {
748
726
  open: l,
@@ -753,14 +731,14 @@ function it(o) {
753
731
  label: t("pdf.search.open"),
754
732
  onActivate: S,
755
733
  icon: /* @__PURE__ */ a(
756
- Ue,
734
+ Je,
757
735
  {
758
736
  "aria-hidden": "true",
759
737
  className: "ds:block-size-4 ds:inline-size-4"
760
738
  }
761
739
  )
762
740
  }) }),
763
- /* @__PURE__ */ a(re.Portal, { children: /* @__PURE__ */ _(
741
+ /* @__PURE__ */ a(re.Portal, { children: /* @__PURE__ */ Z(
764
742
  re.Content,
765
743
  {
766
744
  sideOffset: 8,
@@ -778,7 +756,7 @@ function it(o) {
778
756
  {
779
757
  type: "search",
780
758
  autoFocus: !0,
781
- value: I,
759
+ value: C,
782
760
  onChange: (n) => A(n.target.value),
783
761
  placeholder: t("pdf.search.placeholder"),
784
762
  "aria-label": t("pdf.search.placeholder"),
@@ -795,7 +773,7 @@ function it(o) {
795
773
  children: p.total > 0 ? t("pdf.search.countOfTotal", {
796
774
  current: p.current,
797
775
  total: p.total
798
- }) : I ? t("pdf.search.noResults") : ""
776
+ }) : C ? t("pdf.search.noResults") : ""
799
777
  }
800
778
  ),
801
779
  /* @__PURE__ */ a(re.Close, { asChild: !0, children: /* @__PURE__ */ a(
@@ -805,7 +783,7 @@ function it(o) {
805
783
  "aria-label": t("pdf.search.close"),
806
784
  className: Se(),
807
785
  children: /* @__PURE__ */ a(
808
- He,
786
+ Be,
809
787
  {
810
788
  "aria-hidden": "true",
811
789
  className: "ds:block-size-4 ds:inline-size-4"
@@ -824,7 +802,7 @@ function it(o) {
824
802
  label: t("pdf.print"),
825
803
  onActivate: b,
826
804
  icon: /* @__PURE__ */ a(
827
- Je,
805
+ Xe,
828
806
  {
829
807
  "aria-hidden": "true",
830
808
  className: "ds:block-size-4 ds:inline-size-4"
@@ -836,67 +814,67 @@ function it(o) {
836
814
  }
837
815
  );
838
816
  }
839
- function dt(o) {
817
+ function st(o) {
840
818
  const {
841
819
  pageNumber: t,
842
820
  totalPages: v,
843
821
  doc: m,
844
822
  zoom: g,
845
823
  pageRotation: h,
846
- renderPageOverlay: x,
847
- container: w,
848
- resizeTick: k,
849
- shouldRender: z,
850
- registerRef: L,
824
+ renderPageOverlay: w,
825
+ container: x,
826
+ resizeTick: z,
827
+ shouldRender: k,
828
+ registerRef: K,
851
829
  searchQuery: P,
852
830
  onMatchCount: S
853
- } = o, { t: b } = me(), l = E(null), M = E(null), [I, A] = y({
831
+ } = o, { t: b } = me(), l = E(null), M = E(null), [C, A] = y({
854
832
  width: 612,
855
833
  height: 792
856
- }), [p, K] = y(null);
834
+ }), [p, _] = y(null);
857
835
  T(() => {
858
836
  let i = !1;
859
- return m.getPage(t).then((N) => {
860
- i || K(N);
837
+ return m.getPage(t).then((I) => {
838
+ i || _(I);
861
839
  }), () => {
862
840
  i = !0;
863
841
  };
864
842
  }, [m, t]), T(() => {
865
843
  if (!p) return;
866
- const i = (C) => h === void 0 ? { scale: C } : { scale: C, rotation: h }, N = p.getViewport(i(1)), u = Ie(g, N, w), O = p.getViewport(i(u));
844
+ const i = (N) => h === void 0 ? { scale: N } : { scale: N, rotation: h }, I = p.getViewport(i(1)), u = Ce(g, I, x), O = p.getViewport(i(u));
867
845
  A({
868
846
  width: Math.floor(O.width),
869
847
  height: Math.floor(O.height)
870
848
  });
871
- }, [p, g, w, k, h]);
849
+ }, [p, g, x, z, h]);
872
850
  const Q = h ?? (p == null ? void 0 : p.rotate) ?? 0;
873
851
  T(() => {
874
- if (!p || !z) {
852
+ if (!p || !k) {
875
853
  const f = l.current;
876
- f && !z && (f.width = 0);
854
+ f && !k && (f.width = 0);
877
855
  return;
878
856
  }
879
- const i = l.current, N = M.current;
857
+ const i = l.current, I = M.current;
880
858
  if (!i) return;
881
859
  const u = i.getContext("2d");
882
860
  if (!u) return;
883
- const O = (f) => h === void 0 ? { scale: f } : { scale: f, rotation: h }, C = p.getViewport(O(1)), D = Ie(g, C, w), Z = p.getViewport(O(D)), q = Math.max(1, window.devicePixelRatio || 1);
884
- i.width = Math.floor(Z.width * q), i.height = Math.floor(Z.height * q), u.setTransform(q, 0, 0, q, 0, 0);
861
+ const O = (f) => h === void 0 ? { scale: f } : { scale: f, rotation: h }, N = p.getViewport(O(1)), D = Ce(g, N, x), L = p.getViewport(O(D)), q = Math.max(1, window.devicePixelRatio || 1);
862
+ i.width = Math.floor(L.width * q), i.height = Math.floor(L.height * q), u.setTransform(q, 0, 0, q, 0, 0);
885
863
  const U = p.render({
886
864
  canvas: i,
887
865
  canvasContext: u,
888
- viewport: Z
866
+ viewport: L
889
867
  });
890
868
  let R = !1, n = null;
891
869
  return U.promise.then(async () => {
892
- if (R || !N) return;
893
- N.textContent = "";
870
+ if (R || !I) return;
871
+ I.textContent = "";
894
872
  const f = await p.getTextContent();
895
873
  R || (n = new pe.TextLayer({
896
874
  textContentSource: f,
897
- container: N,
898
- viewport: Z
899
- }), await n.render(), Ce(N, P, S));
875
+ container: I,
876
+ viewport: L
877
+ }), await n.render(), Ne(I, P, S));
900
878
  }).catch(() => {
901
879
  }), () => {
902
880
  R = !0;
@@ -912,34 +890,34 @@ function dt(o) {
912
890
  };
913
891
  }, [
914
892
  p,
915
- z,
916
- g,
917
- w,
918
893
  k,
894
+ g,
895
+ x,
896
+ z,
919
897
  P,
920
898
  S,
921
899
  h
922
900
  ]), T(() => {
923
- if (!z) return;
901
+ if (!k) return;
924
902
  const i = M.current;
925
- i && Ce(i, P, S);
926
- }, [P, z, S]);
903
+ i && Ne(i, P, S);
904
+ }, [P, k, S]);
927
905
  const s = {
928
- width: I.width,
929
- height: I.height
906
+ width: C.width,
907
+ height: C.height
930
908
  }, W = {
931
- width: I.width,
932
- height: I.height
909
+ width: C.width,
910
+ height: C.height
933
911
  };
934
- return /* @__PURE__ */ _(
912
+ return /* @__PURE__ */ Z(
935
913
  "article",
936
914
  {
937
915
  ref: (i) => {
938
- L(i);
916
+ K(i);
939
917
  },
940
918
  "data-page-number": t,
941
919
  "aria-label": b("pdf.pageOf", { current: t, total: v }),
942
- className: at(),
920
+ className: tt(),
943
921
  style: W,
944
922
  children: [
945
923
  /* @__PURE__ */ a("canvas", { ref: l, style: s }),
@@ -960,7 +938,7 @@ function dt(o) {
960
938
  ].join(" ")
961
939
  }
962
940
  ),
963
- z && x ? /* @__PURE__ */ a(
941
+ k && w ? /* @__PURE__ */ a(
964
942
  "div",
965
943
  {
966
944
  role: "group",
@@ -968,10 +946,10 @@ function dt(o) {
968
946
  className: "ds:absolute ds:inset-0 ds:pointer-events-auto",
969
947
  "data-pdf-page-overlay": "",
970
948
  "data-page-number": t,
971
- children: x({
949
+ children: w({
972
950
  pageNumber: t,
973
- pageWidthCss: I.width,
974
- pageHeightCss: I.height,
951
+ pageWidthCss: C.width,
952
+ pageHeightCss: C.height,
975
953
  rotation: Q
976
954
  })
977
955
  }
@@ -980,48 +958,48 @@ function dt(o) {
980
958
  }
981
959
  );
982
960
  }
983
- function Ne(o) {
961
+ function Ie(o) {
984
962
  return o.normalize("NFKD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
985
963
  }
986
- function Ce(o, t, v) {
964
+ function Ne(o, t, v) {
987
965
  if (o.querySelectorAll("[data-match]").forEach((b) => {
988
966
  b.removeAttribute("data-match");
989
967
  }), !t) {
990
968
  v(0);
991
969
  return;
992
970
  }
993
- const g = Ne(t);
971
+ const g = Ie(t);
994
972
  if (!g) {
995
973
  v(0);
996
974
  return;
997
975
  }
998
- const h = Array.from(o.querySelectorAll("span")), x = [], w = [];
999
- let k = 0;
976
+ const h = Array.from(o.querySelectorAll("span")), w = [], x = [];
977
+ let z = 0;
1000
978
  for (const b of h) {
1001
- const l = Ne(b.textContent ?? "");
1002
- x.push({ start: k, end: k + l.length }), w.push(l), k += l.length;
979
+ const l = Ie(b.textContent ?? "");
980
+ w.push({ start: z, end: z + l.length }), x.push(l), z += l.length;
1003
981
  }
1004
- const z = w.join("");
1005
- let L = 0;
982
+ const k = x.join("");
983
+ let K = 0;
1006
984
  const P = /* @__PURE__ */ new Set();
1007
985
  let S = 0;
1008
- for (; S <= z.length - g.length; ) {
1009
- const b = z.indexOf(g, S);
986
+ for (; S <= k.length - g.length; ) {
987
+ const b = k.indexOf(g, S);
1010
988
  if (b === -1) break;
1011
- L += 1;
989
+ K += 1;
1012
990
  const l = b + g.length;
1013
- for (let M = 0; M < x.length; M++) {
1014
- const { start: I, end: A } = x[M];
1015
- I < l && A > b && P.add(M);
991
+ for (let M = 0; M < w.length; M++) {
992
+ const { start: C, end: A } = w[M];
993
+ C < l && A > b && P.add(M);
1016
994
  }
1017
995
  S = l;
1018
996
  }
1019
997
  P.forEach((b) => {
1020
998
  h[b].setAttribute("data-match", "true");
1021
- }), v(L);
999
+ }), v(K);
1022
1000
  }
1023
1001
  export {
1024
- ot as P,
1025
- et as p
1002
+ nt as P,
1003
+ $e as p
1026
1004
  };
1027
- //# sourceMappingURL=pdf-viewer-D6BPfW2D.js.map
1005
+ //# sourceMappingURL=pdf-viewer-QfebdLOd.js.map