@alfadocs/ui-kit-debug 0.70.0 → 0.72.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 (1434) hide show
  1. package/dist/_chunks/accordion-C11v9ouP.js +250 -0
  2. package/dist/_chunks/accordion-C11v9ouP.js.map +1 -0
  3. package/dist/_chunks/address-autocomplete-Bq-1n1UX.js +496 -0
  4. package/dist/_chunks/address-autocomplete-Bq-1n1UX.js.map +1 -0
  5. package/dist/_chunks/address-fields-COyjgqxA.js +246 -0
  6. package/dist/_chunks/address-fields-COyjgqxA.js.map +1 -0
  7. package/dist/_chunks/agenda-card-BCGaQazD.js +147 -0
  8. package/dist/_chunks/agenda-card-BCGaQazD.js.map +1 -0
  9. package/dist/_chunks/agenda-tray-loL2A3Cx.js +215 -0
  10. package/dist/_chunks/agenda-tray-loL2A3Cx.js.map +1 -0
  11. package/dist/_chunks/ai-consent-banner-Bke9m8VS.js +170 -0
  12. package/dist/_chunks/ai-consent-banner-Bke9m8VS.js.map +1 -0
  13. package/dist/_chunks/ai-prompt-input-TVI95hJD.js +500 -0
  14. package/dist/_chunks/ai-prompt-input-TVI95hJD.js.map +1 -0
  15. package/dist/_chunks/alert-KJbsPYkI.js +314 -0
  16. package/dist/_chunks/alert-KJbsPYkI.js.map +1 -0
  17. package/dist/_chunks/alia-sidebar-BV5lBSFR.js +1183 -0
  18. package/dist/_chunks/alia-sidebar-BV5lBSFR.js.map +1 -0
  19. package/dist/_chunks/anamnesis-card-CWO4Ui9c.js +156 -0
  20. package/dist/_chunks/anamnesis-card-CWO4Ui9c.js.map +1 -0
  21. package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -1
  22. package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js +413 -0
  23. package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js.map +1 -0
  24. package/dist/_chunks/app-frame-DIEMIC5V.js +132 -0
  25. package/dist/_chunks/app-frame-DIEMIC5V.js.map +1 -0
  26. package/dist/_chunks/appointment-card-Cy4FOkGP.js +311 -0
  27. package/dist/_chunks/appointment-card-Cy4FOkGP.js.map +1 -0
  28. package/dist/_chunks/appointment-timeline-BWAPPk8F.js +388 -0
  29. package/dist/_chunks/appointment-timeline-BWAPPk8F.js.map +1 -0
  30. package/dist/_chunks/appointment-tray-D3mk04TT.js +193 -0
  31. package/dist/_chunks/appointment-tray-D3mk04TT.js.map +1 -0
  32. package/dist/_chunks/ar-BOqyIfoY.js +399 -0
  33. package/dist/_chunks/ar-BOqyIfoY.js.map +1 -0
  34. package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
  35. package/dist/_chunks/astroid-BN4f5VXU.js.map +1 -0
  36. package/dist/_chunks/audio-recorder-BbjG55dP.js +450 -0
  37. package/dist/_chunks/audio-recorder-BbjG55dP.js.map +1 -0
  38. package/dist/_chunks/autocomplete-BrONKN8l.js +516 -0
  39. package/dist/_chunks/autocomplete-BrONKN8l.js.map +1 -0
  40. package/dist/_chunks/bishop-score-C6eoak_j.js +304 -0
  41. package/dist/_chunks/bishop-score-C6eoak_j.js.map +1 -0
  42. package/dist/_chunks/bmi-calculator-BmQfoEGP.js +434 -0
  43. package/dist/_chunks/bmi-calculator-BmQfoEGP.js.map +1 -0
  44. package/dist/_chunks/booking-B62CMY5k.js +2695 -0
  45. package/dist/_chunks/booking-B62CMY5k.js.map +1 -0
  46. package/dist/_chunks/breadcrumb-agut0PwN.js +393 -0
  47. package/dist/_chunks/breadcrumb-agut0PwN.js.map +1 -0
  48. package/dist/_chunks/button-group-CvEnVzY7.js +119 -0
  49. package/dist/_chunks/button-group-CvEnVzY7.js.map +1 -0
  50. package/dist/_chunks/calculator-dialog-DuXMQSdm.js +40 -0
  51. package/dist/_chunks/calculator-dialog-DuXMQSdm.js.map +1 -0
  52. package/dist/_chunks/calendar-DeAlFPsF.js +1050 -0
  53. package/dist/_chunks/calendar-DeAlFPsF.js.map +1 -0
  54. package/dist/_chunks/calendar-clock-hbObjfGY.js +19 -0
  55. package/dist/_chunks/calendar-clock-hbObjfGY.js.map +1 -0
  56. package/dist/_chunks/calendar-days-BGWklvE-.js +23 -0
  57. package/dist/_chunks/calendar-days-BGWklvE-.js.map +1 -0
  58. package/dist/_chunks/care-plan-card-DhXbfGzE.js +256 -0
  59. package/dist/_chunks/care-plan-card-DhXbfGzE.js.map +1 -0
  60. package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js +322 -0
  61. package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js.map +1 -0
  62. package/dist/_chunks/care-plan-header-DtQxyfOb.js +198 -0
  63. package/dist/_chunks/care-plan-header-DtQxyfOb.js.map +1 -0
  64. package/dist/_chunks/carousel.agent-j7hWxJWr.js +1754 -0
  65. package/dist/_chunks/carousel.agent-j7hWxJWr.js.map +1 -0
  66. package/dist/_chunks/chat-container-BVCoN06N.js +234 -0
  67. package/dist/_chunks/chat-container-BVCoN06N.js.map +1 -0
  68. package/dist/_chunks/chat-input-Btq_uuMZ.js +368 -0
  69. package/dist/_chunks/chat-input-Btq_uuMZ.js.map +1 -0
  70. package/dist/_chunks/chat-message-DXjjM8z9.js +239 -0
  71. package/dist/_chunks/chat-message-DXjjM8z9.js.map +1 -0
  72. package/dist/_chunks/check-DrFSN__t.js +12 -0
  73. package/dist/_chunks/check-DrFSN__t.js.map +1 -0
  74. package/dist/_chunks/checkbox-group-CfqMv57d.js +213 -0
  75. package/dist/_chunks/checkbox-group-CfqMv57d.js.map +1 -0
  76. package/dist/_chunks/chevron-down-DWE7GSq9.js +12 -0
  77. package/dist/_chunks/chevron-down-DWE7GSq9.js.map +1 -0
  78. package/dist/_chunks/chevron-left-B8cOyH-V.js +12 -0
  79. package/dist/_chunks/chevron-left-B8cOyH-V.js.map +1 -0
  80. package/dist/_chunks/chevron-right-I9AeSxH2.js +12 -0
  81. package/dist/_chunks/chevron-right-I9AeSxH2.js.map +1 -0
  82. package/dist/_chunks/chevron-up-umRGgtJA.js +12 -0
  83. package/dist/_chunks/chevron-up-umRGgtJA.js.map +1 -0
  84. package/dist/_chunks/chevrons-right-DIHg7Xqi.js +26 -0
  85. package/dist/_chunks/chevrons-right-DIHg7Xqi.js.map +1 -0
  86. package/dist/_chunks/circle-alert-rGDZ73Wh.js +16 -0
  87. package/dist/_chunks/circle-alert-rGDZ73Wh.js.map +1 -0
  88. package/dist/_chunks/circle-check-BN6rz4NV.js +15 -0
  89. package/dist/_chunks/circle-check-BN6rz4NV.js.map +1 -0
  90. package/dist/_chunks/circle-j7oZoouK.js +12 -0
  91. package/dist/_chunks/circle-j7oZoouK.js.map +1 -0
  92. package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
  93. package/dist/_chunks/circle-x-W8Enq3i4.js.map +1 -0
  94. package/dist/_chunks/city-input-towzBenY.js +169 -0
  95. package/dist/_chunks/city-input-towzBenY.js.map +1 -0
  96. package/dist/_chunks/clinical-note-card-C7F_24IC.js +436 -0
  97. package/dist/_chunks/clinical-note-card-C7F_24IC.js.map +1 -0
  98. package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
  99. package/dist/_chunks/clipboard-check-BeAGxDVT.js.map +1 -0
  100. package/dist/_chunks/clock-Drd4Wtis.js +15 -0
  101. package/dist/_chunks/clock-Drd4Wtis.js.map +1 -0
  102. package/dist/_chunks/code-block-Cwi7e3HM.js +106 -0
  103. package/dist/_chunks/code-block-Cwi7e3HM.js.map +1 -0
  104. package/dist/_chunks/color-picker-D-tUwxxT.js +718 -0
  105. package/dist/_chunks/color-picker-D-tUwxxT.js.map +1 -0
  106. package/dist/_chunks/columns-2-8lq4-b8e.js +15 -0
  107. package/dist/_chunks/columns-2-8lq4-b8e.js.map +1 -0
  108. package/dist/_chunks/combobox-DiMLItyu.js +513 -0
  109. package/dist/_chunks/combobox-DiMLItyu.js.map +1 -0
  110. package/dist/_chunks/command-palette-DQl_SNEv.js +473 -0
  111. package/dist/_chunks/command-palette-DQl_SNEv.js.map +1 -0
  112. package/dist/_chunks/connection-status-0HajXMXM.js +108 -0
  113. package/dist/_chunks/connection-status-0HajXMXM.js.map +1 -0
  114. package/dist/_chunks/contact-card-0hnFJwrz.js +121 -0
  115. package/dist/_chunks/contact-card-0hnFJwrz.js.map +1 -0
  116. package/dist/_chunks/contact-profile-card-IggiUVpN.js +333 -0
  117. package/dist/_chunks/contact-profile-card-IggiUVpN.js.map +1 -0
  118. package/dist/_chunks/control-room-rail-DaGcsdZ6.js +333 -0
  119. package/dist/_chunks/control-room-rail-DaGcsdZ6.js.map +1 -0
  120. package/dist/_chunks/copy-field-PAp0-Wr5.js +268 -0
  121. package/dist/_chunks/copy-field-PAp0-Wr5.js.map +1 -0
  122. package/dist/_chunks/copy-vRpqqHtY.js +15 -0
  123. package/dist/_chunks/copy-vRpqqHtY.js.map +1 -0
  124. package/dist/_chunks/country-select-DYHDLEjG.js +709 -0
  125. package/dist/_chunks/country-select-DYHDLEjG.js.map +1 -0
  126. package/dist/_chunks/createLucideIcon-DhHxpK9K.js +117 -0
  127. package/dist/_chunks/createLucideIcon-DhHxpK9K.js.map +1 -0
  128. package/dist/_chunks/cycle-calculator-BNILyVas.js +252 -0
  129. package/dist/_chunks/cycle-calculator-BNILyVas.js.map +1 -0
  130. package/dist/_chunks/date-picker-CVkD_lOi.js +1845 -0
  131. package/dist/_chunks/date-picker-CVkD_lOi.js.map +1 -0
  132. package/dist/_chunks/date-picker-variants-DLg-ZrIo.js +3224 -0
  133. package/dist/_chunks/date-picker-variants-DLg-ZrIo.js.map +1 -0
  134. package/dist/_chunks/date-range-picker-Dw12DgV8.js +324 -0
  135. package/dist/_chunks/date-range-picker-Dw12DgV8.js.map +1 -0
  136. package/dist/_chunks/date-time-picker-Cd_OJtOy.js +336 -0
  137. package/dist/_chunks/date-time-picker-Cd_OJtOy.js.map +1 -0
  138. package/dist/_chunks/de-DFLsUxeV.js +477 -0
  139. package/dist/_chunks/de-DFLsUxeV.js.map +1 -0
  140. package/dist/_chunks/dependent-selector-DyFpdzZV.js +338 -0
  141. package/dist/_chunks/dependent-selector-DyFpdzZV.js.map +1 -0
  142. package/dist/_chunks/description-list-CmBVxIF5.js +319 -0
  143. package/dist/_chunks/description-list-CmBVxIF5.js.map +1 -0
  144. package/dist/_chunks/dialog-UbKJCi1X.js +230 -0
  145. package/dist/_chunks/dialog-UbKJCi1X.js.map +1 -0
  146. package/dist/_chunks/document-scanner-B23j4w7X.js +711 -0
  147. package/dist/_chunks/document-scanner-B23j4w7X.js.map +1 -0
  148. package/dist/_chunks/download-CfYKJO_j.js +16 -0
  149. package/dist/_chunks/download-CfYKJO_j.js.map +1 -0
  150. package/dist/_chunks/dropdown-menu-DU-Hrf33.js +355 -0
  151. package/dist/_chunks/dropdown-menu-DU-Hrf33.js.map +1 -0
  152. package/dist/_chunks/due-date-calculator-CmdAl_JO.js +256 -0
  153. package/dist/_chunks/due-date-calculator-CmdAl_JO.js.map +1 -0
  154. package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js +410 -0
  155. package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js.map +1 -0
  156. package/dist/_chunks/editor-overlay-BIOzr8v7.js +88 -0
  157. package/dist/_chunks/editor-overlay-BIOzr8v7.js.map +1 -0
  158. package/dist/_chunks/el-OVjBKytp.js +373 -0
  159. package/dist/_chunks/el-OVjBKytp.js.map +1 -0
  160. package/dist/_chunks/ellipsis-dRo9ouSU.js +16 -0
  161. package/dist/_chunks/ellipsis-dRo9ouSU.js.map +1 -0
  162. package/dist/_chunks/email-input-Dpe63k0K.js +397 -0
  163. package/dist/_chunks/email-input-Dpe63k0K.js.map +1 -0
  164. package/dist/_chunks/entity-summary-DpGziDv5.js +277 -0
  165. package/dist/_chunks/entity-summary-DpGziDv5.js.map +1 -0
  166. package/dist/_chunks/es-DKDNrHXG.js +373 -0
  167. package/dist/_chunks/es-DKDNrHXG.js.map +1 -0
  168. package/dist/_chunks/external-link-CY6zAXXU.js +16 -0
  169. package/dist/_chunks/external-link-CY6zAXXU.js.map +1 -0
  170. package/dist/_chunks/eye-BjhN2nYf.js +21 -0
  171. package/dist/_chunks/eye-BjhN2nYf.js.map +1 -0
  172. package/dist/_chunks/eye-off-C_4xkbRP.js +29 -0
  173. package/dist/_chunks/eye-off-C_4xkbRP.js.map +1 -0
  174. package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
  175. package/dist/_chunks/face-scheme-DOZO3M_c.js.map +1 -0
  176. package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
  177. package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js.map +1 -0
  178. package/dist/_chunks/fetal-weight-CVAH8sJ3.js +122 -0
  179. package/dist/_chunks/fetal-weight-CVAH8sJ3.js.map +1 -0
  180. package/dist/_chunks/field-array-CDzc3hTM.js +146 -0
  181. package/dist/_chunks/field-array-CDzc3hTM.js.map +1 -0
  182. package/dist/_chunks/field-value-Dj3i52H2.js +415 -0
  183. package/dist/_chunks/field-value-Dj3i52H2.js.map +1 -0
  184. package/dist/_chunks/file-spreadsheet-DmwyfV4O.js +25 -0
  185. package/dist/_chunks/file-spreadsheet-DmwyfV4O.js.map +1 -0
  186. package/dist/_chunks/file-text-5yv6r2ls.js +24 -0
  187. package/dist/_chunks/file-text-5yv6r2ls.js.map +1 -0
  188. package/dist/_chunks/file-upload-Kw1rdvFw.js +819 -0
  189. package/dist/_chunks/file-upload-Kw1rdvFw.js.map +1 -0
  190. package/dist/_chunks/finished-terminal-Di4gtZ50.js +122 -0
  191. package/dist/_chunks/finished-terminal-Di4gtZ50.js.map +1 -0
  192. package/dist/_chunks/fiscal-code-input-DKNXFXs3.js +553 -0
  193. package/dist/_chunks/fiscal-code-input-DKNXFXs3.js.map +1 -0
  194. package/dist/_chunks/form-field-M5UpX65Z.js +123 -0
  195. package/dist/_chunks/form-field-M5UpX65Z.js.map +1 -0
  196. package/dist/_chunks/fr-BfMvQh-v.js +338 -0
  197. package/dist/_chunks/fr-BfMvQh-v.js.map +1 -0
  198. package/dist/_chunks/freemium-paywall-DFoeedwh.js +275 -0
  199. package/dist/_chunks/freemium-paywall-DFoeedwh.js.map +1 -0
  200. package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js +311 -0
  201. package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js.map +1 -0
  202. package/dist/_chunks/globe-sHBW1JN5.js +16 -0
  203. package/dist/_chunks/globe-sHBW1JN5.js.map +1 -0
  204. package/dist/_chunks/grip-vertical-onSb1JXO.js +19 -0
  205. package/dist/_chunks/grip-vertical-onSb1JXO.js.map +1 -0
  206. package/dist/_chunks/hash-CSQ9SChR.js +17 -0
  207. package/dist/_chunks/hash-CSQ9SChR.js.map +1 -0
  208. package/dist/_chunks/hcg-doubling-CSsWxEJc.js +170 -0
  209. package/dist/_chunks/hcg-doubling-CSsWxEJc.js.map +1 -0
  210. package/dist/_chunks/header-DaXWDw0M.js +297 -0
  211. package/dist/_chunks/header-DaXWDw0M.js.map +1 -0
  212. package/dist/_chunks/header-settings-B0G_u-wV.js +284 -0
  213. package/dist/_chunks/header-settings-B0G_u-wV.js.map +1 -0
  214. package/dist/_chunks/heart--qCA4ffe.js +20 -0
  215. package/dist/_chunks/heart--qCA4ffe.js.map +1 -0
  216. package/dist/_chunks/heart-pulse-BCppJyN2.js +21 -0
  217. package/dist/_chunks/heart-pulse-BCppJyN2.js.map +1 -0
  218. package/dist/_chunks/hi-C0GEMwlD.js +433 -0
  219. package/dist/_chunks/hi-C0GEMwlD.js.map +1 -0
  220. package/dist/_chunks/iban-input-DXIA8Ln_.js +436 -0
  221. package/dist/_chunks/iban-input-DXIA8Ln_.js.map +1 -0
  222. package/dist/_chunks/icon-picker-Di6uYDG-.js +272 -0
  223. package/dist/_chunks/icon-picker-Di6uYDG-.js.map +1 -0
  224. package/dist/_chunks/image-B_5MNK0x.js +16 -0
  225. package/dist/_chunks/image-B_5MNK0x.js.map +1 -0
  226. package/dist/_chunks/image-cropper-CdmWFrMC.js +367 -0
  227. package/dist/_chunks/image-cropper-CdmWFrMC.js.map +1 -0
  228. package/dist/_chunks/info-CGn22peZ.js +16 -0
  229. package/dist/_chunks/info-CGn22peZ.js.map +1 -0
  230. package/dist/_chunks/insert-result-C7xSDb8q.js +742 -0
  231. package/dist/_chunks/insert-result-C7xSDb8q.js.map +1 -0
  232. package/dist/_chunks/isSameWeek-HddDAyJG.js +14 -0
  233. package/dist/_chunks/isSameWeek-HddDAyJG.js.map +1 -0
  234. package/dist/_chunks/it-5f4hiT2e.js +401 -0
  235. package/dist/_chunks/it-5f4hiT2e.js.map +1 -0
  236. package/dist/_chunks/ja-U0_2inl_.js +366 -0
  237. package/dist/_chunks/ja-U0_2inl_.js.map +1 -0
  238. package/dist/_chunks/key-value-pair-Byyyc_9J.js +144 -0
  239. package/dist/_chunks/key-value-pair-Byyyc_9J.js.map +1 -0
  240. package/dist/_chunks/languages-CGLX6Qpe.js +19 -0
  241. package/dist/_chunks/languages-CGLX6Qpe.js.map +1 -0
  242. package/dist/_chunks/layers-DcAENmsZ.js +34 -0
  243. package/dist/_chunks/layers-DcAENmsZ.js.map +1 -0
  244. package/dist/_chunks/link-CPb_pZPr.js +129 -0
  245. package/dist/_chunks/link-CPb_pZPr.js.map +1 -0
  246. package/dist/_chunks/link-cell-renderer-BCppbMec.js +2185 -0
  247. package/dist/_chunks/link-cell-renderer-BCppbMec.js.map +1 -0
  248. package/dist/_chunks/locale-picker-DzF7Q5Y8.js +739 -0
  249. package/dist/_chunks/locale-picker-DzF7Q5Y8.js.map +1 -0
  250. package/dist/_chunks/lock-ClAFG1gy.js +15 -0
  251. package/dist/_chunks/lock-ClAFG1gy.js.map +1 -0
  252. package/dist/_chunks/log-out-oDS6zO5d.js +16 -0
  253. package/dist/_chunks/log-out-oDS6zO5d.js.map +1 -0
  254. package/dist/_chunks/mail-BqXVF2zH.js +15 -0
  255. package/dist/_chunks/mail-BqXVF2zH.js.map +1 -0
  256. package/dist/_chunks/map-pin-BaY37-Km.js +21 -0
  257. package/dist/_chunks/map-pin-BaY37-Km.js.map +1 -0
  258. package/dist/_chunks/map-view-ByPvWG_9.js +378 -0
  259. package/dist/_chunks/map-view-ByPvWG_9.js.map +1 -0
  260. package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js +513 -0
  261. package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js.map +1 -0
  262. package/dist/_chunks/maximize-2-BYd2Kti7.js +17 -0
  263. package/dist/_chunks/maximize-2-BYd2Kti7.js.map +1 -0
  264. package/dist/_chunks/menu-Op71AWIC.js +16 -0
  265. package/dist/_chunks/menu-Op71AWIC.js.map +1 -0
  266. package/dist/_chunks/message-card-BZnnffyB.js +319 -0
  267. package/dist/_chunks/message-card-BZnnffyB.js.map +1 -0
  268. package/dist/_chunks/message-circle-Bepl9JT5.js +20 -0
  269. package/dist/_chunks/message-circle-Bepl9JT5.js.map +1 -0
  270. package/dist/_chunks/message-tray-cUHOCdU0.js +494 -0
  271. package/dist/_chunks/message-tray-cUHOCdU0.js.map +1 -0
  272. package/dist/_chunks/mic-CUklMZGF.js +16 -0
  273. package/dist/_chunks/mic-CUklMZGF.js.map +1 -0
  274. package/dist/_chunks/monitor-xXSrufmP.js +16 -0
  275. package/dist/_chunks/monitor-xXSrufmP.js.map +1 -0
  276. package/dist/_chunks/multi-select-D5QLBJM1.js +614 -0
  277. package/dist/_chunks/multi-select-D5QLBJM1.js.map +1 -0
  278. package/dist/_chunks/muscle-scheme-B9MIkuj0.js +1714 -0
  279. package/dist/_chunks/muscle-scheme-B9MIkuj0.js.map +1 -0
  280. package/dist/_chunks/nav-grid-gRudLsPX.js +169 -0
  281. package/dist/_chunks/nav-grid-gRudLsPX.js.map +1 -0
  282. package/dist/_chunks/navigation-menu-D3VndouD.js +310 -0
  283. package/dist/_chunks/navigation-menu-D3VndouD.js.map +1 -0
  284. package/dist/_chunks/nl-CDVnnx1U.js +326 -0
  285. package/dist/_chunks/nl-CDVnnx1U.js.map +1 -0
  286. package/dist/_chunks/notes-panel-CMyjUXD4.js +324 -0
  287. package/dist/_chunks/notes-panel-CMyjUXD4.js.map +1 -0
  288. package/dist/_chunks/notification-card-BHJ07FkH.js +290 -0
  289. package/dist/_chunks/notification-card-BHJ07FkH.js.map +1 -0
  290. package/dist/_chunks/notification-tray-Dzm1c3Wy.js +499 -0
  291. package/dist/_chunks/notification-tray-Dzm1c3Wy.js.map +1 -0
  292. package/dist/_chunks/number-input-DjWzmlEY.js +350 -0
  293. package/dist/_chunks/number-input-DjWzmlEY.js.map +1 -0
  294. package/dist/_chunks/operator-hero-DVy0RGoD.js +202 -0
  295. package/dist/_chunks/operator-hero-DVy0RGoD.js.map +1 -0
  296. package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
  297. package/dist/_chunks/optical-prescription-Bmlbuopi.js.map +1 -0
  298. package/dist/_chunks/pagination-EkD5SiCK.js +486 -0
  299. package/dist/_chunks/pagination-EkD5SiCK.js.map +1 -0
  300. package/dist/_chunks/panel-header-D313n_9-.js +105 -0
  301. package/dist/_chunks/panel-header-D313n_9-.js.map +1 -0
  302. package/dist/_chunks/patient-details-pU_E5xM2.js +778 -0
  303. package/dist/_chunks/patient-details-pU_E5xM2.js.map +1 -0
  304. package/dist/_chunks/patient-search-X9SUZGpy.js +1167 -0
  305. package/dist/_chunks/patient-search-X9SUZGpy.js.map +1 -0
  306. package/dist/_chunks/patient-shell-oiIRqEAl.js +162 -0
  307. package/dist/_chunks/patient-shell-oiIRqEAl.js.map +1 -0
  308. package/dist/_chunks/patient-summary-card--t3BjTdU.js +452 -0
  309. package/dist/_chunks/patient-summary-card--t3BjTdU.js.map +1 -0
  310. package/dist/_chunks/patient-table-BgWgNIMf.js +1110 -0
  311. package/dist/_chunks/patient-table-BgWgNIMf.js.map +1 -0
  312. package/dist/_chunks/payment-form-DL9xk9BA.js +690 -0
  313. package/dist/_chunks/payment-form-DL9xk9BA.js.map +1 -0
  314. package/dist/_chunks/payment-request-card-2ts7ITxd.js +467 -0
  315. package/dist/_chunks/payment-request-card-2ts7ITxd.js.map +1 -0
  316. package/dist/_chunks/pdf-viewer-DF3VMaPo.js +1005 -0
  317. package/dist/_chunks/pdf-viewer-DF3VMaPo.js.map +1 -0
  318. package/dist/_chunks/pencil-B1sKKyuT.js +21 -0
  319. package/dist/_chunks/pencil-B1sKKyuT.js.map +1 -0
  320. package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js +455 -0
  321. package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js.map +1 -0
  322. package/dist/_chunks/permission-matrix-BIJrGEmz.js +174 -0
  323. package/dist/_chunks/permission-matrix-BIJrGEmz.js.map +1 -0
  324. package/dist/_chunks/phone-FceYcIFQ.js +20 -0
  325. package/dist/_chunks/phone-FceYcIFQ.js.map +1 -0
  326. package/dist/_chunks/phone-input-dtnrvnZf.js +580 -0
  327. package/dist/_chunks/phone-input-dtnrvnZf.js.map +1 -0
  328. package/dist/_chunks/pl-BWNumNrg.js +514 -0
  329. package/dist/_chunks/pl-BWNumNrg.js.map +1 -0
  330. package/dist/_chunks/plus-DzMQ_c6b.js +15 -0
  331. package/dist/_chunks/plus-DzMQ_c6b.js.map +1 -0
  332. package/dist/_chunks/popover-uJ6BvEU3.js +302 -0
  333. package/dist/_chunks/popover-uJ6BvEU3.js.map +1 -0
  334. package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
  335. package/dist/_chunks/position-grid-CcvqHaKN.js.map +1 -0
  336. package/dist/_chunks/postal-code-input-BznBxVxf.js +192 -0
  337. package/dist/_chunks/postal-code-input-BznBxVxf.js.map +1 -0
  338. package/dist/_chunks/practice-results-CSEHTH2V.js +1609 -0
  339. package/dist/_chunks/practice-results-CSEHTH2V.js.map +1 -0
  340. package/dist/_chunks/pregnancy-dating-CxVAA6_4.js +421 -0
  341. package/dist/_chunks/pregnancy-dating-CxVAA6_4.js.map +1 -0
  342. package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js +322 -0
  343. package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js.map +1 -0
  344. package/dist/_chunks/printer-rkK0T1gi.js +22 -0
  345. package/dist/_chunks/printer-rkK0T1gi.js.map +1 -0
  346. package/dist/_chunks/privacy-lock-DrRmK8C7.js +197 -0
  347. package/dist/_chunks/privacy-lock-DrRmK8C7.js.map +1 -0
  348. package/dist/_chunks/product-hub-panel-CaZqttvm.js +678 -0
  349. package/dist/_chunks/product-hub-panel-CaZqttvm.js.map +1 -0
  350. package/dist/_chunks/province-select-BDywtmL-.js +261 -0
  351. package/dist/_chunks/province-select-BDywtmL-.js.map +1 -0
  352. package/dist/_chunks/pt-zqdQuryr.js +370 -0
  353. package/dist/_chunks/pt-zqdQuryr.js.map +1 -0
  354. package/dist/_chunks/public-footer.agent-BKkK3T3V.js +596 -0
  355. package/dist/_chunks/public-footer.agent-BKkK3T3V.js.map +1 -0
  356. package/dist/_chunks/public-header.agent-C-opZaOw.js +597 -0
  357. package/dist/_chunks/public-header.agent-C-opZaOw.js.map +1 -0
  358. package/dist/_chunks/radio-group-CI-6SmSw.js +167 -0
  359. package/dist/_chunks/radio-group-CI-6SmSw.js.map +1 -0
  360. package/dist/_chunks/radiograph-panel.agent-D1x33moc.js +553 -0
  361. package/dist/_chunks/radiograph-panel.agent-D1x33moc.js.map +1 -0
  362. package/dist/_chunks/rating-BYbUowdK.js +171 -0
  363. package/dist/_chunks/rating-BYbUowdK.js.map +1 -0
  364. package/dist/_chunks/refresh-cw-DnI0cLFC.js +17 -0
  365. package/dist/_chunks/refresh-cw-DnI0cLFC.js.map +1 -0
  366. package/dist/_chunks/reviews-panel-liUj6OPX.js +559 -0
  367. package/dist/_chunks/reviews-panel-liUj6OPX.js.map +1 -0
  368. package/dist/_chunks/rich-text-editor-DUgznqOf.js +2621 -0
  369. package/dist/_chunks/rich-text-editor-DUgznqOf.js.map +1 -0
  370. package/dist/_chunks/ro-CornQr64.js +361 -0
  371. package/dist/_chunks/ro-CornQr64.js.map +1 -0
  372. package/dist/_chunks/rotate-ccw-BBQnIVTr.js +15 -0
  373. package/dist/_chunks/rotate-ccw-BBQnIVTr.js.map +1 -0
  374. package/dist/_chunks/ru-CKAXNYVD.js +561 -0
  375. package/dist/_chunks/ru-CKAXNYVD.js.map +1 -0
  376. package/dist/_chunks/scan-line-CNseIHQ0.js +18 -0
  377. package/dist/_chunks/scan-line-CNseIHQ0.js.map +1 -0
  378. package/dist/_chunks/scroll-area-BZOvUhwQ.js +169 -0
  379. package/dist/_chunks/scroll-area-BZOvUhwQ.js.map +1 -0
  380. package/dist/_chunks/search-QbWPlY5f.js +15 -0
  381. package/dist/_chunks/search-QbWPlY5f.js.map +1 -0
  382. package/dist/_chunks/search-bar-CJj6sI9m.js +612 -0
  383. package/dist/_chunks/search-bar-CJj6sI9m.js.map +1 -0
  384. package/dist/_chunks/search-input-B7GmlPIE.js +237 -0
  385. package/dist/_chunks/search-input-B7GmlPIE.js.map +1 -0
  386. package/dist/_chunks/select-BmCbJMJS.js +442 -0
  387. package/dist/_chunks/select-BmCbJMJS.js.map +1 -0
  388. package/dist/_chunks/send-C5kDJ-Mz.js +21 -0
  389. package/dist/_chunks/send-C5kDJ-Mz.js.map +1 -0
  390. package/dist/_chunks/session-countdown-qr8EO5QY.js +214 -0
  391. package/dist/_chunks/session-countdown-qr8EO5QY.js.map +1 -0
  392. package/dist/_chunks/settings-d25ju_6L.js +21 -0
  393. package/dist/_chunks/settings-d25ju_6L.js.map +1 -0
  394. package/dist/_chunks/sheet-B_X54aZo.js +296 -0
  395. package/dist/_chunks/sheet-B_X54aZo.js.map +1 -0
  396. package/dist/_chunks/shield-check-DCJALLVh.js +21 -0
  397. package/dist/_chunks/shield-check-DCJALLVh.js.map +1 -0
  398. package/dist/_chunks/sidebar-B0OBmJrC.js +1311 -0
  399. package/dist/_chunks/sidebar-B0OBmJrC.js.map +1 -0
  400. package/dist/_chunks/sign-document-nK03S73h.js +370 -0
  401. package/dist/_chunks/sign-document-nK03S73h.js.map +1 -0
  402. package/dist/_chunks/signature-field-jgwYgUhO.js +197 -0
  403. package/dist/_chunks/signature-field-jgwYgUhO.js.map +1 -0
  404. package/dist/_chunks/smart-date-CsPlilQA.js +114 -0
  405. package/dist/_chunks/smart-date-CsPlilQA.js.map +1 -0
  406. package/dist/_chunks/sq-CIIvqXZv.js +355 -0
  407. package/dist/_chunks/sq-CIIvqXZv.js.map +1 -0
  408. package/dist/_chunks/square-DASBRZ0U.js +14 -0
  409. package/dist/_chunks/square-DASBRZ0U.js.map +1 -0
  410. package/dist/_chunks/square-check-big-dj0o8yA3.js +18 -0
  411. package/dist/_chunks/square-check-big-dj0o8yA3.js.map +1 -0
  412. package/dist/_chunks/star-Bf9L2Uot.js +20 -0
  413. package/dist/_chunks/star-Bf9L2Uot.js.map +1 -0
  414. package/dist/_chunks/stepper-accordion-BeVMZPuG.js +247 -0
  415. package/dist/_chunks/stepper-accordion-BeVMZPuG.js.map +1 -0
  416. package/dist/_chunks/stethoscope-sZXGC43m.js +18 -0
  417. package/dist/_chunks/stethoscope-sZXGC43m.js.map +1 -0
  418. package/dist/_chunks/streaming-text-Cedc05ya.js +131 -0
  419. package/dist/_chunks/streaming-text-Cedc05ya.js.map +1 -0
  420. package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
  421. package/dist/_chunks/subDays-DGSOp9d9.js.map +1 -0
  422. package/dist/_chunks/sun-Bj9Mr553.js +38 -0
  423. package/dist/_chunks/sun-Bj9Mr553.js.map +1 -0
  424. package/dist/_chunks/sv-Kpk1pzjz.js +376 -0
  425. package/dist/_chunks/sv-Kpk1pzjz.js.map +1 -0
  426. package/dist/_chunks/tab-bar-Axhk6xzx.js +262 -0
  427. package/dist/_chunks/tab-bar-Axhk6xzx.js.map +1 -0
  428. package/dist/_chunks/tabs-DVQ941Sj.js +408 -0
  429. package/dist/_chunks/tabs-DVQ941Sj.js.map +1 -0
  430. package/dist/_chunks/tag-3wgkwwDB.js +258 -0
  431. package/dist/_chunks/tag-3wgkwwDB.js.map +1 -0
  432. package/dist/_chunks/task-card-BUgK6yZT.js +189 -0
  433. package/dist/_chunks/task-card-BUgK6yZT.js.map +1 -0
  434. package/dist/_chunks/task-tray-DP5A3Qnc.js +251 -0
  435. package/dist/_chunks/task-tray-DP5A3Qnc.js.map +1 -0
  436. package/dist/_chunks/tasks-panel-BuxaYtEF.js +757 -0
  437. package/dist/_chunks/tasks-panel-BuxaYtEF.js.map +1 -0
  438. package/dist/_chunks/text-input-CUvCb6ST.js +283 -0
  439. package/dist/_chunks/text-input-CUvCb6ST.js.map +1 -0
  440. package/dist/_chunks/theme-toggle-dtdy5EaL.js +367 -0
  441. package/dist/_chunks/theme-toggle-dtdy5EaL.js.map +1 -0
  442. package/dist/_chunks/timeline-r-8IUoBS.js +294 -0
  443. package/dist/_chunks/timeline-r-8IUoBS.js.map +1 -0
  444. package/dist/_chunks/toast.agent-BSxl057x.js +1005 -0
  445. package/dist/_chunks/toast.agent-BSxl057x.js.map +1 -0
  446. package/dist/_chunks/token-insert-menu-Pok4nExI.js +147 -0
  447. package/dist/_chunks/token-insert-menu-Pok4nExI.js.map +1 -0
  448. package/dist/_chunks/tool-rail-BZx0-yIr.js +524 -0
  449. package/dist/_chunks/tool-rail-BZx0-yIr.js.map +1 -0
  450. package/dist/_chunks/tooth-scheme-D_rso4uu.js +2133 -0
  451. package/dist/_chunks/tooth-scheme-D_rso4uu.js.map +1 -0
  452. package/dist/_chunks/tr-DHaeLFxG.js +378 -0
  453. package/dist/_chunks/tr-DHaeLFxG.js.map +1 -0
  454. package/dist/_chunks/transaction-chip-B6iWoVmU.js +225 -0
  455. package/dist/_chunks/transaction-chip-B6iWoVmU.js.map +1 -0
  456. package/dist/_chunks/transcript-panel-BGkEhvHO.js +374 -0
  457. package/dist/_chunks/transcript-panel-BGkEhvHO.js.map +1 -0
  458. package/dist/_chunks/trash-2-uumy3fy1.js +18 -0
  459. package/dist/_chunks/trash-2-uumy3fy1.js.map +1 -0
  460. package/dist/_chunks/triangle-alert-CBnO6nq_.js +22 -0
  461. package/dist/_chunks/triangle-alert-CBnO6nq_.js.map +1 -0
  462. package/dist/_chunks/unit-converter-fEqluT8b.js +337 -0
  463. package/dist/_chunks/unit-converter-fEqluT8b.js.map +1 -0
  464. package/dist/_chunks/use-edge-resize-ZnGG7gyO.js.map +1 -1
  465. package/dist/_chunks/use-password-requirements-Bwtqx1qN.js +453 -0
  466. package/dist/_chunks/use-password-requirements-Bwtqx1qN.js.map +1 -0
  467. package/dist/_chunks/user-B12p7bVF.js +15 -0
  468. package/dist/_chunks/user-B12p7bVF.js.map +1 -0
  469. package/dist/_chunks/user-cog-BTn98Arm.js +24 -0
  470. package/dist/_chunks/user-cog-BTn98Arm.js.map +1 -0
  471. package/dist/_chunks/users-BjS_Gg1E.js +17 -0
  472. package/dist/_chunks/users-BjS_Gg1E.js.map +1 -0
  473. package/dist/_chunks/video-BheNGvsu.js +21 -0
  474. package/dist/_chunks/video-BheNGvsu.js.map +1 -0
  475. package/dist/_chunks/warning-stack-BaMI7-n7.js +268 -0
  476. package/dist/_chunks/warning-stack-BaMI7-n7.js.map +1 -0
  477. package/dist/_chunks/workflow-map-qWsgCldq.js +1356 -0
  478. package/dist/_chunks/workflow-map-qWsgCldq.js.map +1 -0
  479. package/dist/_chunks/x-B5YnXwCz.js +15 -0
  480. package/dist/_chunks/x-B5YnXwCz.js.map +1 -0
  481. package/dist/_chunks/zh-CN-BncsTBwM.js +388 -0
  482. package/dist/_chunks/zh-CN-BncsTBwM.js.map +1 -0
  483. package/dist/_chunks/zoom-out-Dnif4kJx.js +29 -0
  484. package/dist/_chunks/zoom-out-Dnif4kJx.js.map +1 -0
  485. package/dist/agent-catalog.json +6621 -3629
  486. package/dist/agent-i18n/en.json +313 -23
  487. package/dist/components/_shared/option.d.ts +2 -0
  488. package/dist/components/_shared/option.d.ts.map +1 -1
  489. package/dist/components/_shared/patient-fields.d.ts +1 -1
  490. package/dist/components/_shared/patient-fields.d.ts.map +1 -1
  491. package/dist/components/accordion/index.js +1 -1
  492. package/dist/components/address-autocomplete/index.js +1 -1
  493. package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
  494. package/dist/components/address-fields/address-fields.agent.d.ts.map +1 -0
  495. package/dist/components/address-fields/address-fields.d.ts +29 -0
  496. package/dist/components/address-fields/address-fields.d.ts.map +1 -0
  497. package/dist/components/address-fields/index.d.ts +5 -0
  498. package/dist/components/address-fields/index.d.ts.map +1 -0
  499. package/dist/components/address-fields/index.js +6 -0
  500. package/dist/components/agenda-card/index.js +1 -1
  501. package/dist/components/agenda-tray/index.js +1 -1
  502. package/dist/components/ai-consent-banner/index.js +1 -1
  503. package/dist/components/ai-prompt-input/index.js +1 -1
  504. package/dist/components/alert/index.js +1 -1
  505. package/dist/components/anamnesis-card/index.js +1 -1
  506. package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
  507. package/dist/components/app-frame/app-frame.d.ts +2 -2
  508. package/dist/components/app-frame/app-frame.d.ts.map +1 -1
  509. package/dist/components/app-frame/index.js +1 -1
  510. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  511. package/dist/components/appointment-card/index.js +2 -2
  512. package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -1
  513. package/dist/components/appointment-timeline/index.js +1 -1
  514. package/dist/components/audio-recorder/index.js +1 -1
  515. package/dist/components/autocomplete/autocomplete.d.ts +10 -0
  516. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
  517. package/dist/components/autocomplete/index.js +1 -1
  518. package/dist/components/bishop-score/index.js +1 -1
  519. package/dist/components/bmi-calculator/index.js +1 -1
  520. package/dist/components/booking/index.js +1 -1
  521. package/dist/components/breadcrumb/index.js +1 -1
  522. package/dist/components/button-group/button-group.d.ts.map +1 -1
  523. package/dist/components/button-group/index.js +1 -1
  524. package/dist/components/calculator-dialog/index.js +1 -1
  525. package/dist/components/calendar/index.js +1 -1
  526. package/dist/components/care-plan-card/index.js +1 -1
  527. package/dist/components/care-plan-entry-card/index.js +1 -1
  528. package/dist/components/care-plan-header/care-plan-header.d.ts +16 -5
  529. package/dist/components/care-plan-header/care-plan-header.d.ts.map +1 -1
  530. package/dist/components/care-plan-header/index.js +1 -1
  531. package/dist/components/carousel/index.js +1 -1
  532. package/dist/components/chat-container/index.js +1 -1
  533. package/dist/components/chat-input/index.js +1 -1
  534. package/dist/components/chat-message/chat-message.d.ts +1 -1
  535. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  536. package/dist/components/chat-message/index.js +1 -1
  537. package/dist/components/checkbox-group/index.js +1 -1
  538. package/dist/components/city-input/city-input.agent.d.ts +8 -0
  539. package/dist/components/city-input/city-input.agent.d.ts.map +1 -0
  540. package/dist/components/city-input/city-input.d.ts +57 -0
  541. package/dist/components/city-input/city-input.d.ts.map +1 -0
  542. package/dist/components/city-input/index.d.ts +5 -0
  543. package/dist/components/city-input/index.d.ts.map +1 -0
  544. package/dist/components/city-input/index.js +6 -0
  545. package/dist/components/clinical-note-card/index.js +1 -1
  546. package/dist/components/color-picker/index.js +1 -1
  547. package/dist/components/combobox/combobox.d.ts +17 -0
  548. package/dist/components/combobox/combobox.d.ts.map +1 -1
  549. package/dist/components/combobox/index.js +1 -1
  550. package/dist/components/command-palette/index.js +1 -1
  551. package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
  552. package/dist/components/connection-status/connection-status.agent.d.ts.map +1 -0
  553. package/dist/components/connection-status/connection-status.d.ts +36 -0
  554. package/dist/components/connection-status/connection-status.d.ts.map +1 -0
  555. package/dist/components/connection-status/index.d.ts +4 -0
  556. package/dist/components/connection-status/index.d.ts.map +1 -0
  557. package/dist/components/connection-status/index.js +6 -0
  558. package/dist/components/connection-status/index.js.map +1 -0
  559. package/dist/components/contact-card/index.js +1 -1
  560. package/dist/components/contact-profile-card/index.js +1 -1
  561. package/dist/components/control-room-rail/control-room-context.d.ts +5 -5
  562. package/dist/components/control-room-rail/control-room-context.d.ts.map +1 -1
  563. package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
  564. package/dist/components/control-room-rail/control-room-rail.agent.d.ts.map +1 -0
  565. package/dist/components/control-room-rail/control-room-rail.d.ts +5 -5
  566. package/dist/components/control-room-rail/control-room-rail.d.ts.map +1 -1
  567. package/dist/components/control-room-rail/index.d.ts +1 -0
  568. package/dist/components/control-room-rail/index.d.ts.map +1 -1
  569. package/dist/components/control-room-rail/index.js +4 -3
  570. package/dist/components/copy-field/index.js +1 -1
  571. package/dist/components/counter/counter.d.ts +1 -1
  572. package/dist/components/country-select/country-select.agent.d.ts +8 -0
  573. package/dist/components/country-select/country-select.agent.d.ts.map +1 -0
  574. package/dist/components/country-select/country-select.d.ts +51 -0
  575. package/dist/components/country-select/country-select.d.ts.map +1 -0
  576. package/dist/components/country-select/index.d.ts +6 -0
  577. package/dist/components/country-select/index.d.ts.map +1 -0
  578. package/dist/components/country-select/index.js +9 -0
  579. package/dist/components/country-select/index.js.map +1 -0
  580. package/dist/components/country-select/iso-3166.d.ts +15 -0
  581. package/dist/components/country-select/iso-3166.d.ts.map +1 -0
  582. package/dist/components/cycle-calculator/index.js +1 -1
  583. package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
  584. package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts.map +1 -0
  585. package/dist/components/data-table/filters/select-filter.d.ts.map +1 -1
  586. package/dist/components/data-table/index.d.ts +2 -0
  587. package/dist/components/data-table/index.d.ts.map +1 -1
  588. package/dist/components/data-table/index.js +13 -11
  589. package/dist/components/date-picker/index.js +1 -1
  590. package/dist/components/date-range-picker/index.js +1 -1
  591. package/dist/components/date-time-picker/index.js +1 -1
  592. package/dist/components/dependent-selector/index.js +1 -1
  593. package/dist/components/description-list/index.js +1 -1
  594. package/dist/components/dialog/index.js +1 -1
  595. package/dist/components/document-scanner/index.js +1 -1
  596. package/dist/components/dropdown-menu/index.js +1 -1
  597. package/dist/components/due-date-calculator/index.js +2 -2
  598. package/dist/components/editor-overlay/index.js +1 -1
  599. package/dist/components/email-input/index.js +1 -1
  600. package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
  601. package/dist/components/entity-summary/entity-summary.agent.d.ts.map +1 -0
  602. package/dist/components/entity-summary/entity-summary.d.ts +53 -4
  603. package/dist/components/entity-summary/entity-summary.d.ts.map +1 -1
  604. package/dist/components/entity-summary/index.js +1 -1
  605. package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
  606. package/dist/components/face-scheme/detect-face-landmarks.d.ts.map +1 -0
  607. package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
  608. package/dist/components/face-scheme/detect-face-yunet.d.ts.map +1 -0
  609. package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
  610. package/dist/components/face-scheme/face-scheme-data.d.ts.map +1 -0
  611. package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
  612. package/dist/components/face-scheme/face-scheme-zones.d.ts.map +1 -0
  613. package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
  614. package/dist/components/face-scheme/face-scheme.agent.d.ts.map +1 -0
  615. package/dist/components/face-scheme/face-scheme.d.ts +144 -0
  616. package/dist/components/face-scheme/face-scheme.d.ts.map +1 -0
  617. package/dist/components/face-scheme/index.d.ts +7 -0
  618. package/dist/components/face-scheme/index.d.ts.map +1 -0
  619. package/dist/components/face-scheme/index.js +17 -0
  620. package/dist/components/face-scheme/index.js.map +1 -0
  621. package/dist/components/fetal-weight/index.js +1 -1
  622. package/dist/components/field-array/field-array.agent.d.ts +4 -0
  623. package/dist/components/field-array/field-array.agent.d.ts.map +1 -0
  624. package/dist/components/field-array/field-array.d.ts +45 -0
  625. package/dist/components/field-array/field-array.d.ts.map +1 -0
  626. package/dist/components/field-array/index.d.ts +4 -0
  627. package/dist/components/field-array/index.d.ts.map +1 -0
  628. package/dist/components/field-array/index.js +6 -0
  629. package/dist/components/field-array/index.js.map +1 -0
  630. package/dist/components/file-upload/index.js +1 -1
  631. package/dist/components/finished-terminal/index.js +1 -1
  632. package/dist/components/fiscal-code-input/index.js +1 -1
  633. package/dist/components/form-field/index.js +1 -1
  634. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  635. package/dist/components/freemium-paywall/index.js +1 -1
  636. package/dist/components/gestational-age-calculator/index.js +1 -1
  637. package/dist/components/hcg-doubling/index.js +1 -1
  638. package/dist/components/header/index.js +1 -1
  639. package/dist/components/header-settings/index.js +1 -1
  640. package/dist/components/iban-input/iban-input.agent.d.ts +4 -0
  641. package/dist/components/iban-input/iban-input.agent.d.ts.map +1 -0
  642. package/dist/components/iban-input/iban-input.d.ts +51 -0
  643. package/dist/components/iban-input/iban-input.d.ts.map +1 -0
  644. package/dist/components/iban-input/index.d.ts +5 -0
  645. package/dist/components/iban-input/index.d.ts.map +1 -0
  646. package/dist/components/iban-input/index.js +13 -0
  647. package/dist/components/iban-input/index.js.map +1 -0
  648. package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
  649. package/dist/components/iban-input/is-valid-iban.d.ts.map +1 -0
  650. package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
  651. package/dist/components/icon-picker/icon-picker.agent.d.ts.map +1 -0
  652. package/dist/components/icon-picker/icon-picker.d.ts +41 -0
  653. package/dist/components/icon-picker/icon-picker.d.ts.map +1 -0
  654. package/dist/components/icon-picker/index.d.ts +4 -0
  655. package/dist/components/icon-picker/index.d.ts.map +1 -0
  656. package/dist/components/icon-picker/index.js +6 -0
  657. package/dist/components/icon-picker/index.js.map +1 -0
  658. package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
  659. package/dist/components/image-cropper/crop-geometry.d.ts.map +1 -0
  660. package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
  661. package/dist/components/image-cropper/image-cropper.agent.d.ts.map +1 -0
  662. package/dist/components/image-cropper/image-cropper.d.ts +32 -0
  663. package/dist/components/image-cropper/image-cropper.d.ts.map +1 -0
  664. package/dist/components/image-cropper/index.d.ts +5 -0
  665. package/dist/components/image-cropper/index.d.ts.map +1 -0
  666. package/dist/components/image-cropper/index.js +11 -0
  667. package/dist/components/image-cropper/index.js.map +1 -0
  668. package/dist/components/index.d.ts +19 -2
  669. package/dist/components/index.d.ts.map +1 -1
  670. package/dist/components/key-value-pair/index.js +1 -1
  671. package/dist/components/link/index.js +1 -1
  672. package/dist/components/locale-picker/index.js +1 -1
  673. package/dist/components/map-view/index.js +1 -1
  674. package/dist/components/message-card/index.js +1 -1
  675. package/dist/components/message-card/message-card.d.ts +14 -0
  676. package/dist/components/message-card/message-card.d.ts.map +1 -1
  677. package/dist/components/message-tray/index.js +1 -1
  678. package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -1
  679. package/dist/components/message-tray/message-tray.d.ts +4 -0
  680. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  681. package/dist/components/multi-select/index.js +1 -1
  682. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  683. package/dist/components/muscle-scheme/index.d.ts +6 -0
  684. package/dist/components/muscle-scheme/index.d.ts.map +1 -0
  685. package/dist/components/muscle-scheme/index.js +16 -0
  686. package/dist/components/muscle-scheme/index.js.map +1 -0
  687. package/dist/components/muscle-scheme/muscle-paths.d.ts +22 -0
  688. package/dist/components/muscle-scheme/muscle-paths.d.ts.map +1 -0
  689. package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
  690. package/dist/components/muscle-scheme/muscle-scheme-data.d.ts.map +1 -0
  691. package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
  692. package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts.map +1 -0
  693. package/dist/components/muscle-scheme/muscle-scheme.d.ts +66 -0
  694. package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -0
  695. package/dist/components/nav-grid/index.d.ts +4 -0
  696. package/dist/components/nav-grid/index.d.ts.map +1 -0
  697. package/dist/components/nav-grid/index.js +7 -0
  698. package/dist/components/nav-grid/index.js.map +1 -0
  699. package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
  700. package/dist/components/nav-grid/nav-grid.agent.d.ts.map +1 -0
  701. package/dist/components/nav-grid/nav-grid.d.ts +41 -0
  702. package/dist/components/nav-grid/nav-grid.d.ts.map +1 -0
  703. package/dist/components/navigation-menu/index.js +1 -1
  704. package/dist/components/notes-panel/index.js +1 -1
  705. package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
  706. package/dist/components/notes-panel/notes-panel.agent.d.ts.map +1 -0
  707. package/dist/components/notes-panel/notes-panel.d.ts +30 -0
  708. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -1
  709. package/dist/components/notification-card/index.js +1 -1
  710. package/dist/components/notification-card/notification-card.d.ts +15 -0
  711. package/dist/components/notification-card/notification-card.d.ts.map +1 -1
  712. package/dist/components/notification-tray/index.js +1 -1
  713. package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -1
  714. package/dist/components/notification-tray/notification-tray.d.ts +4 -0
  715. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  716. package/dist/components/number-input/index.js +1 -1
  717. package/dist/components/operator-hero/index.js +1 -1
  718. package/dist/components/optical-prescription/index.d.ts +6 -0
  719. package/dist/components/optical-prescription/index.d.ts.map +1 -0
  720. package/dist/components/optical-prescription/index.js +38 -0
  721. package/dist/components/optical-prescription/index.js.map +1 -0
  722. package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
  723. package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -0
  724. package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
  725. package/dist/components/optical-prescription/optical-prescription.agent.d.ts.map +1 -0
  726. package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
  727. package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -0
  728. package/dist/components/pagination/index.js +1 -1
  729. package/dist/components/panel-header/index.d.ts +3 -0
  730. package/dist/components/panel-header/index.d.ts.map +1 -0
  731. package/dist/components/panel-header/index.js +7 -0
  732. package/dist/components/panel-header/index.js.map +1 -0
  733. package/dist/components/panel-header/panel-header.d.ts +41 -0
  734. package/dist/components/panel-header/panel-header.d.ts.map +1 -0
  735. package/dist/components/password-input/index.js +1 -1
  736. package/dist/components/patient-details/index.js +1 -1
  737. package/dist/components/patient-details/patient-details.d.ts.map +1 -1
  738. package/dist/components/patient-search/index.js +1 -1
  739. package/dist/components/patient-summary-card/index.js +1 -1
  740. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  741. package/dist/components/patient-table/index.js +1 -1
  742. package/dist/components/payment-card/index.js +1 -1
  743. package/dist/components/payment-form/index.js +1 -1
  744. package/dist/components/pdf-viewer/index.js +1 -1
  745. package/dist/components/periodontal-chart-card/index.js +1 -1
  746. package/dist/components/permission-matrix/index.d.ts +4 -0
  747. package/dist/components/permission-matrix/index.d.ts.map +1 -0
  748. package/dist/components/permission-matrix/index.js +7 -0
  749. package/dist/components/permission-matrix/index.js.map +1 -0
  750. package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
  751. package/dist/components/permission-matrix/permission-matrix.agent.d.ts.map +1 -0
  752. package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
  753. package/dist/components/permission-matrix/permission-matrix.d.ts.map +1 -0
  754. package/dist/components/phone-input/index.js +1 -1
  755. package/dist/components/popover/index.js +1 -1
  756. package/dist/components/position-grid/index.d.ts +4 -0
  757. package/dist/components/position-grid/index.d.ts.map +1 -0
  758. package/dist/components/position-grid/index.js +7 -0
  759. package/dist/components/position-grid/index.js.map +1 -0
  760. package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
  761. package/dist/components/position-grid/position-grid.agent.d.ts.map +1 -0
  762. package/dist/components/position-grid/position-grid.d.ts +39 -0
  763. package/dist/components/position-grid/position-grid.d.ts.map +1 -0
  764. package/dist/components/postal-code-input/index.d.ts +5 -0
  765. package/dist/components/postal-code-input/index.d.ts.map +1 -0
  766. package/dist/components/postal-code-input/index.js +6 -0
  767. package/dist/components/postal-code-input/index.js.map +1 -0
  768. package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
  769. package/dist/components/postal-code-input/postal-code-input.agent.d.ts.map +1 -0
  770. package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
  771. package/dist/components/postal-code-input/postal-code-input.d.ts.map +1 -0
  772. package/dist/components/practice-results/index.js +1 -1
  773. package/dist/components/pregnancy-dating/index.js +1 -1
  774. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  775. package/dist/components/privacy-lock/index.js +1 -1
  776. package/dist/components/product-hub-tray/index.js +1 -1
  777. package/dist/components/product-hub-tray/product-hub-tray.d.ts +13 -1
  778. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  779. package/dist/components/province-select/index.d.ts +6 -0
  780. package/dist/components/province-select/index.d.ts.map +1 -0
  781. package/dist/components/province-select/index.js +7 -0
  782. package/dist/components/province-select/index.js.map +1 -0
  783. package/dist/components/province-select/it-provinces.d.ts +8 -0
  784. package/dist/components/province-select/it-provinces.d.ts.map +1 -0
  785. package/dist/components/province-select/province-select.agent.d.ts +8 -0
  786. package/dist/components/province-select/province-select.agent.d.ts.map +1 -0
  787. package/dist/components/province-select/province-select.d.ts +38 -0
  788. package/dist/components/province-select/province-select.d.ts.map +1 -0
  789. package/dist/components/public-footer/index.js +1 -1
  790. package/dist/components/public-footer/public-footer.d.ts +1 -1
  791. package/dist/components/public-header/index.js +1 -1
  792. package/dist/components/radio-group/index.js +1 -1
  793. package/dist/components/radiograph-panel/index.js +1 -1
  794. package/dist/components/radiograph-panel/radiograph-panel.d.ts.map +1 -1
  795. package/dist/components/rating/index.js +1 -1
  796. package/dist/components/reviews-panel/index.js +1 -1
  797. package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
  798. package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
  799. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  800. package/dist/components/rich-text-editor/index.js +1 -1
  801. package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
  802. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  803. package/dist/components/scroll-area/index.js +1 -1
  804. package/dist/components/search-bar/index.js +1 -1
  805. package/dist/components/search-input/index.js +1 -1
  806. package/dist/components/select/index.js +1 -1
  807. package/dist/components/select/select.d.ts +8 -2
  808. package/dist/components/select/select.d.ts.map +1 -1
  809. package/dist/components/session-countdown/index.js +1 -1
  810. package/dist/components/sheet/index.js +1 -1
  811. package/dist/components/sheet/sheet.d.ts.map +1 -1
  812. package/dist/components/sidebar/index.js +1 -1
  813. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  814. package/dist/components/sign-document/index.js +1 -1
  815. package/dist/components/signature-field/index.js +1 -1
  816. package/dist/components/skeleton/skeleton.d.ts +1 -1
  817. package/dist/components/smart-date/index.js +1 -1
  818. package/dist/components/stepper-accordion/index.js +1 -1
  819. package/dist/components/streaming-text/index.js +1 -1
  820. package/dist/components/tab-bar/index.js +1 -1
  821. package/dist/components/tabs/index.js +1 -1
  822. package/dist/components/tag/index.js +1 -1
  823. package/dist/components/task-card/index.js +1 -1
  824. package/dist/components/task-card/task-card.d.ts +14 -6
  825. package/dist/components/task-card/task-card.d.ts.map +1 -1
  826. package/dist/components/task-tray/index.js +1 -1
  827. package/dist/components/tasks-panel/index.d.ts +4 -0
  828. package/dist/components/tasks-panel/index.d.ts.map +1 -0
  829. package/dist/components/tasks-panel/index.js +6 -0
  830. package/dist/components/tasks-panel/index.js.map +1 -0
  831. package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
  832. package/dist/components/tasks-panel/tasks-panel.agent.d.ts.map +1 -0
  833. package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
  834. package/dist/components/tasks-panel/tasks-panel.d.ts.map +1 -0
  835. package/dist/components/text-input/index.js +1 -1
  836. package/dist/components/theme-toggle/index.js +1 -1
  837. package/dist/components/timeline/index.js +1 -1
  838. package/dist/components/toast/index.js +1 -1
  839. package/dist/components/token-insert-menu/index.d.ts +4 -0
  840. package/dist/components/token-insert-menu/index.d.ts.map +1 -0
  841. package/dist/components/token-insert-menu/index.js +6 -0
  842. package/dist/components/token-insert-menu/index.js.map +1 -0
  843. package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
  844. package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts.map +1 -0
  845. package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
  846. package/dist/components/token-insert-menu/token-insert-menu.d.ts.map +1 -0
  847. package/dist/components/tool-rail/index.d.ts +4 -0
  848. package/dist/components/tool-rail/index.d.ts.map +1 -0
  849. package/dist/components/tool-rail/index.js +6 -0
  850. package/dist/components/tool-rail/index.js.map +1 -0
  851. package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
  852. package/dist/components/tool-rail/tool-rail.agent.d.ts.map +1 -0
  853. package/dist/components/tool-rail/tool-rail.d.ts +160 -0
  854. package/dist/components/tool-rail/tool-rail.d.ts.map +1 -0
  855. package/dist/components/tooth-scheme/index.js +1 -1
  856. package/dist/components/tooth-scheme/tooth-scheme.d.ts +9 -0
  857. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  858. package/dist/components/transaction-chip/index.js +1 -1
  859. package/dist/components/transcript-panel/index.js +1 -1
  860. package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
  861. package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
  862. package/dist/components/unit-converter/index.js +1 -1
  863. package/dist/components/warning-stack/index.js +1 -1
  864. package/dist/components/workflow/index.js +1 -1
  865. package/dist/hooks/use-edge-resize.d.ts +2 -2
  866. package/dist/i18n/locales/ar.d.ts +306 -100
  867. package/dist/i18n/locales/ar.d.ts.map +1 -1
  868. package/dist/i18n/locales/ar.js +298 -112
  869. package/dist/i18n/locales/ar.js.map +1 -1
  870. package/dist/i18n/locales/de.d.ts +306 -100
  871. package/dist/i18n/locales/de.d.ts.map +1 -1
  872. package/dist/i18n/locales/de.js +300 -112
  873. package/dist/i18n/locales/de.js.map +1 -1
  874. package/dist/i18n/locales/el.d.ts +306 -100
  875. package/dist/i18n/locales/el.d.ts.map +1 -1
  876. package/dist/i18n/locales/el.js +305 -112
  877. package/dist/i18n/locales/el.js.map +1 -1
  878. package/dist/i18n/locales/en.d.ts +306 -100
  879. package/dist/i18n/locales/en.d.ts.map +1 -1
  880. package/dist/i18n/locales/en.js +311 -112
  881. package/dist/i18n/locales/en.js.map +1 -1
  882. package/dist/i18n/locales/es.d.ts +306 -100
  883. package/dist/i18n/locales/es.d.ts.map +1 -1
  884. package/dist/i18n/locales/es.js +297 -112
  885. package/dist/i18n/locales/es.js.map +1 -1
  886. package/dist/i18n/locales/fr.d.ts +306 -100
  887. package/dist/i18n/locales/fr.d.ts.map +1 -1
  888. package/dist/i18n/locales/fr.js +300 -112
  889. package/dist/i18n/locales/fr.js.map +1 -1
  890. package/dist/i18n/locales/hi.d.ts +306 -100
  891. package/dist/i18n/locales/hi.d.ts.map +1 -1
  892. package/dist/i18n/locales/hi.js +296 -112
  893. package/dist/i18n/locales/hi.js.map +1 -1
  894. package/dist/i18n/locales/it.d.ts +306 -100
  895. package/dist/i18n/locales/it.d.ts.map +1 -1
  896. package/dist/i18n/locales/it.js +300 -112
  897. package/dist/i18n/locales/it.js.map +1 -1
  898. package/dist/i18n/locales/ja.d.ts +306 -100
  899. package/dist/i18n/locales/ja.d.ts.map +1 -1
  900. package/dist/i18n/locales/ja.js +301 -112
  901. package/dist/i18n/locales/ja.js.map +1 -1
  902. package/dist/i18n/locales/nl.d.ts +306 -100
  903. package/dist/i18n/locales/nl.d.ts.map +1 -1
  904. package/dist/i18n/locales/nl.js +293 -112
  905. package/dist/i18n/locales/nl.js.map +1 -1
  906. package/dist/i18n/locales/pl.d.ts +306 -100
  907. package/dist/i18n/locales/pl.d.ts.map +1 -1
  908. package/dist/i18n/locales/pl.js +301 -112
  909. package/dist/i18n/locales/pl.js.map +1 -1
  910. package/dist/i18n/locales/pt.d.ts +306 -100
  911. package/dist/i18n/locales/pt.d.ts.map +1 -1
  912. package/dist/i18n/locales/pt.js +305 -112
  913. package/dist/i18n/locales/pt.js.map +1 -1
  914. package/dist/i18n/locales/ro.d.ts +306 -100
  915. package/dist/i18n/locales/ro.d.ts.map +1 -1
  916. package/dist/i18n/locales/ro.js +305 -112
  917. package/dist/i18n/locales/ro.js.map +1 -1
  918. package/dist/i18n/locales/ru.d.ts +306 -100
  919. package/dist/i18n/locales/ru.d.ts.map +1 -1
  920. package/dist/i18n/locales/ru.js +298 -112
  921. package/dist/i18n/locales/ru.js.map +1 -1
  922. package/dist/i18n/locales/sq.d.ts +306 -100
  923. package/dist/i18n/locales/sq.d.ts.map +1 -1
  924. package/dist/i18n/locales/sq.js +302 -112
  925. package/dist/i18n/locales/sq.js.map +1 -1
  926. package/dist/i18n/locales/sv.d.ts +306 -100
  927. package/dist/i18n/locales/sv.d.ts.map +1 -1
  928. package/dist/i18n/locales/sv.js +300 -112
  929. package/dist/i18n/locales/sv.js.map +1 -1
  930. package/dist/i18n/locales/tr.d.ts +306 -100
  931. package/dist/i18n/locales/tr.d.ts.map +1 -1
  932. package/dist/i18n/locales/tr.js +298 -112
  933. package/dist/i18n/locales/tr.js.map +1 -1
  934. package/dist/i18n/locales/zh.d.ts +306 -100
  935. package/dist/i18n/locales/zh.d.ts.map +1 -1
  936. package/dist/i18n/locales/zh.js +293 -112
  937. package/dist/i18n/locales/zh.js.map +1 -1
  938. package/dist/index.js +881 -765
  939. package/dist/index.js.map +1 -1
  940. package/dist/locales/ar.json +311 -105
  941. package/dist/locales/de.json +311 -105
  942. package/dist/locales/el.json +311 -105
  943. package/dist/locales/en.json +311 -105
  944. package/dist/locales/es.json +311 -105
  945. package/dist/locales/fr.json +311 -105
  946. package/dist/locales/hi.json +311 -105
  947. package/dist/locales/it.json +311 -105
  948. package/dist/locales/ja.json +311 -105
  949. package/dist/locales/nl.json +311 -105
  950. package/dist/locales/pl.json +311 -105
  951. package/dist/locales/pt.json +311 -105
  952. package/dist/locales/ro.json +311 -105
  953. package/dist/locales/ru.json +311 -105
  954. package/dist/locales/sq.json +311 -105
  955. package/dist/locales/sv.json +311 -105
  956. package/dist/locales/tr.json +311 -105
  957. package/dist/locales/zh.json +311 -105
  958. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
  959. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -0
  960. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  961. package/dist/patterns/alia-assistant/alia-sidebar.d.ts.map +1 -1
  962. package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
  963. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  964. package/dist/patterns/alia-assistant/index.js +1 -1
  965. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  966. package/dist/patterns/patient-shell/index.js +1 -1
  967. package/dist/tokens.css +15 -1
  968. package/package.json +77 -9
  969. package/dist/_chunks/accordion-DnIa7OHX.js +0 -250
  970. package/dist/_chunks/accordion-DnIa7OHX.js.map +0 -1
  971. package/dist/_chunks/address-autocomplete-BEX9PXty.js +0 -496
  972. package/dist/_chunks/address-autocomplete-BEX9PXty.js.map +0 -1
  973. package/dist/_chunks/agenda-card-BQ-IKAru.js +0 -147
  974. package/dist/_chunks/agenda-card-BQ-IKAru.js.map +0 -1
  975. package/dist/_chunks/agenda-tray-CGXRk58j.js +0 -215
  976. package/dist/_chunks/agenda-tray-CGXRk58j.js.map +0 -1
  977. package/dist/_chunks/ai-consent-banner-Be-h9mRI.js +0 -170
  978. package/dist/_chunks/ai-consent-banner-Be-h9mRI.js.map +0 -1
  979. package/dist/_chunks/ai-prompt-input-CuhTo9mh.js +0 -500
  980. package/dist/_chunks/ai-prompt-input-CuhTo9mh.js.map +0 -1
  981. package/dist/_chunks/ai-tools-rail-B5NEghsp.js +0 -511
  982. package/dist/_chunks/ai-tools-rail-B5NEghsp.js.map +0 -1
  983. package/dist/_chunks/alert-CHYZ96tR.js +0 -314
  984. package/dist/_chunks/alert-CHYZ96tR.js.map +0 -1
  985. package/dist/_chunks/alia-sidebar-B47qRQb5.js +0 -1126
  986. package/dist/_chunks/alia-sidebar-B47qRQb5.js.map +0 -1
  987. package/dist/_chunks/anamnesis-card-DvYCa16e.js +0 -156
  988. package/dist/_chunks/anamnesis-card-DvYCa16e.js.map +0 -1
  989. package/dist/_chunks/anatomy-scheme-CJB6dI6p.js +0 -2445
  990. package/dist/_chunks/anatomy-scheme-CJB6dI6p.js.map +0 -1
  991. package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js +0 -413
  992. package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js.map +0 -1
  993. package/dist/_chunks/app-frame-BYx1gcV7.js +0 -121
  994. package/dist/_chunks/app-frame-BYx1gcV7.js.map +0 -1
  995. package/dist/_chunks/appointment-card-C06aZqA7.js +0 -310
  996. package/dist/_chunks/appointment-card-C06aZqA7.js.map +0 -1
  997. package/dist/_chunks/appointment-timeline-BJM0S_Fg.js +0 -386
  998. package/dist/_chunks/appointment-timeline-BJM0S_Fg.js.map +0 -1
  999. package/dist/_chunks/appointment-tray-DRRw5ROi.js +0 -193
  1000. package/dist/_chunks/appointment-tray-DRRw5ROi.js.map +0 -1
  1001. package/dist/_chunks/ar-Cn5Fq48Z.js +0 -399
  1002. package/dist/_chunks/ar-Cn5Fq48Z.js.map +0 -1
  1003. package/dist/_chunks/audio-recorder-Cpdk5qpQ.js +0 -450
  1004. package/dist/_chunks/audio-recorder-Cpdk5qpQ.js.map +0 -1
  1005. package/dist/_chunks/autocomplete-DOeGouCL.js +0 -494
  1006. package/dist/_chunks/autocomplete-DOeGouCL.js.map +0 -1
  1007. package/dist/_chunks/bishop-score-DnYWtZa_.js +0 -304
  1008. package/dist/_chunks/bishop-score-DnYWtZa_.js.map +0 -1
  1009. package/dist/_chunks/bmi-calculator-zjeY4E7J.js +0 -434
  1010. package/dist/_chunks/bmi-calculator-zjeY4E7J.js.map +0 -1
  1011. package/dist/_chunks/booking-DUBI0oqt.js +0 -2711
  1012. package/dist/_chunks/booking-DUBI0oqt.js.map +0 -1
  1013. package/dist/_chunks/breadcrumb-CchdeG7d.js +0 -393
  1014. package/dist/_chunks/breadcrumb-CchdeG7d.js.map +0 -1
  1015. package/dist/_chunks/button-group-Ciq6J4IW.js +0 -122
  1016. package/dist/_chunks/button-group-Ciq6J4IW.js.map +0 -1
  1017. package/dist/_chunks/calculator-dialog-BR5iU0kf.js +0 -40
  1018. package/dist/_chunks/calculator-dialog-BR5iU0kf.js.map +0 -1
  1019. package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
  1020. package/dist/_chunks/calendar-B6soK1Yb.js.map +0 -1
  1021. package/dist/_chunks/calendar-CZUjL8SZ.js +0 -1050
  1022. package/dist/_chunks/calendar-CZUjL8SZ.js.map +0 -1
  1023. package/dist/_chunks/calendar-clock-CYkcqdwl.js +0 -19
  1024. package/dist/_chunks/calendar-clock-CYkcqdwl.js.map +0 -1
  1025. package/dist/_chunks/calendar-days-C4BmpCZg.js +0 -23
  1026. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +0 -1
  1027. package/dist/_chunks/care-plan-card-C5sTfY9G.js +0 -256
  1028. package/dist/_chunks/care-plan-card-C5sTfY9G.js.map +0 -1
  1029. package/dist/_chunks/care-plan-entry-card-CXnxGCWA.js +0 -322
  1030. package/dist/_chunks/care-plan-entry-card-CXnxGCWA.js.map +0 -1
  1031. package/dist/_chunks/care-plan-header-BUwqDTtz.js +0 -206
  1032. package/dist/_chunks/care-plan-header-BUwqDTtz.js.map +0 -1
  1033. package/dist/_chunks/carousel.agent-4v8Emr9E.js +0 -1754
  1034. package/dist/_chunks/carousel.agent-4v8Emr9E.js.map +0 -1
  1035. package/dist/_chunks/chat-container-DWho5hPR.js +0 -234
  1036. package/dist/_chunks/chat-container-DWho5hPR.js.map +0 -1
  1037. package/dist/_chunks/chat-input-BcXTetgM.js +0 -368
  1038. package/dist/_chunks/chat-input-BcXTetgM.js.map +0 -1
  1039. package/dist/_chunks/chat-message-3V54YipB.js +0 -237
  1040. package/dist/_chunks/chat-message-3V54YipB.js.map +0 -1
  1041. package/dist/_chunks/check-DPdL_Sm7.js +0 -12
  1042. package/dist/_chunks/check-DPdL_Sm7.js.map +0 -1
  1043. package/dist/_chunks/checkbox-group-PqNmQ-cE.js +0 -213
  1044. package/dist/_chunks/checkbox-group-PqNmQ-cE.js.map +0 -1
  1045. package/dist/_chunks/chevron-down-BX_NP2Yh.js +0 -12
  1046. package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +0 -1
  1047. package/dist/_chunks/chevron-left-CX1jqD2M.js +0 -12
  1048. package/dist/_chunks/chevron-left-CX1jqD2M.js.map +0 -1
  1049. package/dist/_chunks/chevron-right-BrpYejk0.js +0 -12
  1050. package/dist/_chunks/chevron-right-BrpYejk0.js.map +0 -1
  1051. package/dist/_chunks/chevron-up-zOEDrmBB.js +0 -12
  1052. package/dist/_chunks/chevron-up-zOEDrmBB.js.map +0 -1
  1053. package/dist/_chunks/chevrons-right-d9MwesPG.js +0 -26
  1054. package/dist/_chunks/chevrons-right-d9MwesPG.js.map +0 -1
  1055. package/dist/_chunks/circle-BkqTgYmt.js +0 -12
  1056. package/dist/_chunks/circle-BkqTgYmt.js.map +0 -1
  1057. package/dist/_chunks/circle-alert-ChA9opNA.js +0 -16
  1058. package/dist/_chunks/circle-alert-ChA9opNA.js.map +0 -1
  1059. package/dist/_chunks/circle-check-9AeSgJD_.js +0 -15
  1060. package/dist/_chunks/circle-check-9AeSgJD_.js.map +0 -1
  1061. package/dist/_chunks/circle-x-Du2CmjaU.js +0 -16
  1062. package/dist/_chunks/circle-x-Du2CmjaU.js.map +0 -1
  1063. package/dist/_chunks/clinical-note-card-BUvNMNGL.js +0 -436
  1064. package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +0 -1
  1065. package/dist/_chunks/clock-21AGPWJ5.js +0 -15
  1066. package/dist/_chunks/clock-21AGPWJ5.js.map +0 -1
  1067. package/dist/_chunks/code-block-BBWHhIc8.js +0 -106
  1068. package/dist/_chunks/code-block-BBWHhIc8.js.map +0 -1
  1069. package/dist/_chunks/color-picker-C_fZl6sA.js +0 -718
  1070. package/dist/_chunks/color-picker-C_fZl6sA.js.map +0 -1
  1071. package/dist/_chunks/columns-2-BTOBZbep.js +0 -15
  1072. package/dist/_chunks/columns-2-BTOBZbep.js.map +0 -1
  1073. package/dist/_chunks/combobox-Clum7gJ1.js +0 -496
  1074. package/dist/_chunks/combobox-Clum7gJ1.js.map +0 -1
  1075. package/dist/_chunks/command-palette-CJzmc5pC.js +0 -473
  1076. package/dist/_chunks/command-palette-CJzmc5pC.js.map +0 -1
  1077. package/dist/_chunks/contact-card-Cf8Ktyt3.js +0 -121
  1078. package/dist/_chunks/contact-card-Cf8Ktyt3.js.map +0 -1
  1079. package/dist/_chunks/contact-profile-card-DDPwRFiP.js +0 -333
  1080. package/dist/_chunks/contact-profile-card-DDPwRFiP.js.map +0 -1
  1081. package/dist/_chunks/control-room-rail-Y8ryLYsP.js +0 -229
  1082. package/dist/_chunks/control-room-rail-Y8ryLYsP.js.map +0 -1
  1083. package/dist/_chunks/copy-B00HK7tj.js +0 -15
  1084. package/dist/_chunks/copy-B00HK7tj.js.map +0 -1
  1085. package/dist/_chunks/copy-field-Bjw9u2cV.js +0 -268
  1086. package/dist/_chunks/copy-field-Bjw9u2cV.js.map +0 -1
  1087. package/dist/_chunks/createLucideIcon-CrFbzy84.js +0 -117
  1088. package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +0 -1
  1089. package/dist/_chunks/cycle-calculator-CCmPwcBl.js +0 -252
  1090. package/dist/_chunks/cycle-calculator-CCmPwcBl.js.map +0 -1
  1091. package/dist/_chunks/date-picker-Dl9RKxaV.js +0 -1845
  1092. package/dist/_chunks/date-picker-Dl9RKxaV.js.map +0 -1
  1093. package/dist/_chunks/date-picker-variants-DAcSLTua.js +0 -3224
  1094. package/dist/_chunks/date-picker-variants-DAcSLTua.js.map +0 -1
  1095. package/dist/_chunks/date-range-picker-CTUeR6Bj.js +0 -324
  1096. package/dist/_chunks/date-range-picker-CTUeR6Bj.js.map +0 -1
  1097. package/dist/_chunks/date-time-picker-BhoogS5Q.js +0 -336
  1098. package/dist/_chunks/date-time-picker-BhoogS5Q.js.map +0 -1
  1099. package/dist/_chunks/de-CrJs4ZsX.js +0 -477
  1100. package/dist/_chunks/de-CrJs4ZsX.js.map +0 -1
  1101. package/dist/_chunks/dependent-selector-DUV4thxX.js +0 -338
  1102. package/dist/_chunks/dependent-selector-DUV4thxX.js.map +0 -1
  1103. package/dist/_chunks/description-list-gkNGWk5G.js +0 -319
  1104. package/dist/_chunks/description-list-gkNGWk5G.js.map +0 -1
  1105. package/dist/_chunks/dialog-ZNuboNmy.js +0 -230
  1106. package/dist/_chunks/dialog-ZNuboNmy.js.map +0 -1
  1107. package/dist/_chunks/document-scanner-C_AxLooF.js +0 -711
  1108. package/dist/_chunks/document-scanner-C_AxLooF.js.map +0 -1
  1109. package/dist/_chunks/download-CDF1sbL9.js +0 -16
  1110. package/dist/_chunks/download-CDF1sbL9.js.map +0 -1
  1111. package/dist/_chunks/dropdown-menu-qrxjymfw.js +0 -355
  1112. package/dist/_chunks/dropdown-menu-qrxjymfw.js.map +0 -1
  1113. package/dist/_chunks/due-date-calculator-Brdj-euS.js +0 -256
  1114. package/dist/_chunks/due-date-calculator-Brdj-euS.js.map +0 -1
  1115. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +0 -328
  1116. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js.map +0 -1
  1117. package/dist/_chunks/editor-overlay-wYm22wZK.js +0 -88
  1118. package/dist/_chunks/editor-overlay-wYm22wZK.js.map +0 -1
  1119. package/dist/_chunks/el-DHdMOIhL.js +0 -373
  1120. package/dist/_chunks/el-DHdMOIhL.js.map +0 -1
  1121. package/dist/_chunks/ellipsis-rgGdiK_9.js +0 -16
  1122. package/dist/_chunks/ellipsis-rgGdiK_9.js.map +0 -1
  1123. package/dist/_chunks/email-input-DJ7EXklP.js +0 -397
  1124. package/dist/_chunks/email-input-DJ7EXklP.js.map +0 -1
  1125. package/dist/_chunks/entity-summary-BxRjFh_4.js +0 -138
  1126. package/dist/_chunks/entity-summary-BxRjFh_4.js.map +0 -1
  1127. package/dist/_chunks/es-DCATCfqo.js +0 -373
  1128. package/dist/_chunks/es-DCATCfqo.js.map +0 -1
  1129. package/dist/_chunks/external-link-C6F25E6k.js +0 -16
  1130. package/dist/_chunks/external-link-C6F25E6k.js.map +0 -1
  1131. package/dist/_chunks/eye-LHlSU38h.js +0 -21
  1132. package/dist/_chunks/eye-LHlSU38h.js.map +0 -1
  1133. package/dist/_chunks/eye-off-xEXDAh5z.js +0 -29
  1134. package/dist/_chunks/eye-off-xEXDAh5z.js.map +0 -1
  1135. package/dist/_chunks/fetal-weight-DNCkyeVo.js +0 -122
  1136. package/dist/_chunks/fetal-weight-DNCkyeVo.js.map +0 -1
  1137. package/dist/_chunks/field-value-NXYczdpO.js +0 -415
  1138. package/dist/_chunks/field-value-NXYczdpO.js.map +0 -1
  1139. package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js +0 -25
  1140. package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js.map +0 -1
  1141. package/dist/_chunks/file-text-DSNuv2B8.js +0 -24
  1142. package/dist/_chunks/file-text-DSNuv2B8.js.map +0 -1
  1143. package/dist/_chunks/file-upload-DwZcAK8D.js +0 -819
  1144. package/dist/_chunks/file-upload-DwZcAK8D.js.map +0 -1
  1145. package/dist/_chunks/finished-terminal-VjZ_-eDD.js +0 -122
  1146. package/dist/_chunks/finished-terminal-VjZ_-eDD.js.map +0 -1
  1147. package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js +0 -553
  1148. package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js.map +0 -1
  1149. package/dist/_chunks/form-field-BOm9hK35.js +0 -123
  1150. package/dist/_chunks/form-field-BOm9hK35.js.map +0 -1
  1151. package/dist/_chunks/fr-BfGEMshF.js +0 -338
  1152. package/dist/_chunks/fr-BfGEMshF.js.map +0 -1
  1153. package/dist/_chunks/freemium-paywall-WYlNO7yT.js +0 -275
  1154. package/dist/_chunks/freemium-paywall-WYlNO7yT.js.map +0 -1
  1155. package/dist/_chunks/gestational-age-calculator-CF2ISaYQ.js +0 -311
  1156. package/dist/_chunks/gestational-age-calculator-CF2ISaYQ.js.map +0 -1
  1157. package/dist/_chunks/globe-BkEFMNSg.js +0 -16
  1158. package/dist/_chunks/globe-BkEFMNSg.js.map +0 -1
  1159. package/dist/_chunks/grip-vertical-Dlg0_k5C.js +0 -19
  1160. package/dist/_chunks/grip-vertical-Dlg0_k5C.js.map +0 -1
  1161. package/dist/_chunks/hash-CysBBS_N.js +0 -17
  1162. package/dist/_chunks/hash-CysBBS_N.js.map +0 -1
  1163. package/dist/_chunks/hcg-doubling-C7bmuaU3.js +0 -170
  1164. package/dist/_chunks/hcg-doubling-C7bmuaU3.js.map +0 -1
  1165. package/dist/_chunks/header-CNszv2WQ.js +0 -297
  1166. package/dist/_chunks/header-CNszv2WQ.js.map +0 -1
  1167. package/dist/_chunks/header-settings-DJqoAl5m.js +0 -284
  1168. package/dist/_chunks/header-settings-DJqoAl5m.js.map +0 -1
  1169. package/dist/_chunks/heart-C0faivFf.js +0 -20
  1170. package/dist/_chunks/heart-C0faivFf.js.map +0 -1
  1171. package/dist/_chunks/heart-pulse-CvuyFKHB.js +0 -21
  1172. package/dist/_chunks/heart-pulse-CvuyFKHB.js.map +0 -1
  1173. package/dist/_chunks/hi-CBFRXEIm.js +0 -433
  1174. package/dist/_chunks/hi-CBFRXEIm.js.map +0 -1
  1175. package/dist/_chunks/image-C6RM5hfF.js +0 -16
  1176. package/dist/_chunks/image-C6RM5hfF.js.map +0 -1
  1177. package/dist/_chunks/info-B9XNKn05.js +0 -16
  1178. package/dist/_chunks/info-B9XNKn05.js.map +0 -1
  1179. package/dist/_chunks/insert-result-njqBthzT.js +0 -742
  1180. package/dist/_chunks/insert-result-njqBthzT.js.map +0 -1
  1181. package/dist/_chunks/isSameWeek-I3DfXUp1.js +0 -14
  1182. package/dist/_chunks/isSameWeek-I3DfXUp1.js.map +0 -1
  1183. package/dist/_chunks/it-nz6vAKwG.js +0 -401
  1184. package/dist/_chunks/it-nz6vAKwG.js.map +0 -1
  1185. package/dist/_chunks/ja-DQcqdAEJ.js +0 -366
  1186. package/dist/_chunks/ja-DQcqdAEJ.js.map +0 -1
  1187. package/dist/_chunks/key-value-pair-BrgbMfbF.js +0 -144
  1188. package/dist/_chunks/key-value-pair-BrgbMfbF.js.map +0 -1
  1189. package/dist/_chunks/languages-DsVf_WzT.js +0 -19
  1190. package/dist/_chunks/languages-DsVf_WzT.js.map +0 -1
  1191. package/dist/_chunks/layers-pzGcbLPj.js +0 -34
  1192. package/dist/_chunks/layers-pzGcbLPj.js.map +0 -1
  1193. package/dist/_chunks/link-DrD_cRUg.js +0 -129
  1194. package/dist/_chunks/link-DrD_cRUg.js.map +0 -1
  1195. package/dist/_chunks/link-cell-renderer-CTXqtXV-.js +0 -2184
  1196. package/dist/_chunks/link-cell-renderer-CTXqtXV-.js.map +0 -1
  1197. package/dist/_chunks/locale-picker-ChYYSX2N.js +0 -739
  1198. package/dist/_chunks/locale-picker-ChYYSX2N.js.map +0 -1
  1199. package/dist/_chunks/lock-CKOIn0IK.js +0 -15
  1200. package/dist/_chunks/lock-CKOIn0IK.js.map +0 -1
  1201. package/dist/_chunks/log-out-616hnn2-.js +0 -16
  1202. package/dist/_chunks/log-out-616hnn2-.js.map +0 -1
  1203. package/dist/_chunks/mail-C8irm52s.js +0 -15
  1204. package/dist/_chunks/mail-C8irm52s.js.map +0 -1
  1205. package/dist/_chunks/map-pin-B8STOPMJ.js +0 -21
  1206. package/dist/_chunks/map-pin-B8STOPMJ.js.map +0 -1
  1207. package/dist/_chunks/map-view-BkOoGoX2.js +0 -378
  1208. package/dist/_chunks/map-view-BkOoGoX2.js.map +0 -1
  1209. package/dist/_chunks/marketplace-app-shell-Skhfp6vK.js +0 -513
  1210. package/dist/_chunks/marketplace-app-shell-Skhfp6vK.js.map +0 -1
  1211. package/dist/_chunks/maximize-2-Cm9OUQ2m.js +0 -17
  1212. package/dist/_chunks/maximize-2-Cm9OUQ2m.js.map +0 -1
  1213. package/dist/_chunks/menu-XRhW3_99.js +0 -16
  1214. package/dist/_chunks/menu-XRhW3_99.js.map +0 -1
  1215. package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
  1216. package/dist/_chunks/message-card-Bx4GmLvf.js.map +0 -1
  1217. package/dist/_chunks/message-circle-C23eicgb.js +0 -20
  1218. package/dist/_chunks/message-circle-C23eicgb.js.map +0 -1
  1219. package/dist/_chunks/message-tray-DwrBLJlf.js +0 -457
  1220. package/dist/_chunks/message-tray-DwrBLJlf.js.map +0 -1
  1221. package/dist/_chunks/mic-B4Gog3Gi.js +0 -16
  1222. package/dist/_chunks/mic-B4Gog3Gi.js.map +0 -1
  1223. package/dist/_chunks/monitor-D-SFdbrU.js +0 -16
  1224. package/dist/_chunks/monitor-D-SFdbrU.js.map +0 -1
  1225. package/dist/_chunks/multi-select-BdHHDrRN.js +0 -602
  1226. package/dist/_chunks/multi-select-BdHHDrRN.js.map +0 -1
  1227. package/dist/_chunks/navigation-menu-DRUi6sSj.js +0 -310
  1228. package/dist/_chunks/navigation-menu-DRUi6sSj.js.map +0 -1
  1229. package/dist/_chunks/nl-L5SuDjyl.js +0 -326
  1230. package/dist/_chunks/nl-L5SuDjyl.js.map +0 -1
  1231. package/dist/_chunks/notes-panel-ay8_lPrA.js +0 -158
  1232. package/dist/_chunks/notes-panel-ay8_lPrA.js.map +0 -1
  1233. package/dist/_chunks/notification-card-D2jiKSJJ.js +0 -259
  1234. package/dist/_chunks/notification-card-D2jiKSJJ.js.map +0 -1
  1235. package/dist/_chunks/notification-tray-AEun6DN2.js +0 -464
  1236. package/dist/_chunks/notification-tray-AEun6DN2.js.map +0 -1
  1237. package/dist/_chunks/number-input-DxphVG_A.js +0 -350
  1238. package/dist/_chunks/number-input-DxphVG_A.js.map +0 -1
  1239. package/dist/_chunks/operator-hero-CR0Rqh4-.js +0 -202
  1240. package/dist/_chunks/operator-hero-CR0Rqh4-.js.map +0 -1
  1241. package/dist/_chunks/pagination-D58kglCr.js +0 -486
  1242. package/dist/_chunks/pagination-D58kglCr.js.map +0 -1
  1243. package/dist/_chunks/patient-details-Dlhqb5ig.js +0 -675
  1244. package/dist/_chunks/patient-details-Dlhqb5ig.js.map +0 -1
  1245. package/dist/_chunks/patient-search-Be6cLrHR.js +0 -1167
  1246. package/dist/_chunks/patient-search-Be6cLrHR.js.map +0 -1
  1247. package/dist/_chunks/patient-shell-DV3XEtIB.js +0 -162
  1248. package/dist/_chunks/patient-shell-DV3XEtIB.js.map +0 -1
  1249. package/dist/_chunks/patient-summary-card-WySCMwwA.js +0 -437
  1250. package/dist/_chunks/patient-summary-card-WySCMwwA.js.map +0 -1
  1251. package/dist/_chunks/patient-table-CHxf3Oqk.js +0 -1110
  1252. package/dist/_chunks/patient-table-CHxf3Oqk.js.map +0 -1
  1253. package/dist/_chunks/payment-form-CxqIXqw7.js +0 -690
  1254. package/dist/_chunks/payment-form-CxqIXqw7.js.map +0 -1
  1255. package/dist/_chunks/payment-request-card-BcZJwu9z.js +0 -467
  1256. package/dist/_chunks/payment-request-card-BcZJwu9z.js.map +0 -1
  1257. package/dist/_chunks/pdf-viewer-QfebdLOd.js +0 -1005
  1258. package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +0 -1
  1259. package/dist/_chunks/pencil-CfQX-0Qc.js +0 -21
  1260. package/dist/_chunks/pencil-CfQX-0Qc.js.map +0 -1
  1261. package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js +0 -455
  1262. package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js.map +0 -1
  1263. package/dist/_chunks/phone-Bi5yUm4I.js +0 -20
  1264. package/dist/_chunks/phone-Bi5yUm4I.js.map +0 -1
  1265. package/dist/_chunks/phone-input-DjU-XmO_.js +0 -580
  1266. package/dist/_chunks/phone-input-DjU-XmO_.js.map +0 -1
  1267. package/dist/_chunks/pl-YAn5z2wR.js +0 -514
  1268. package/dist/_chunks/pl-YAn5z2wR.js.map +0 -1
  1269. package/dist/_chunks/plus-CYKNmfuA.js +0 -15
  1270. package/dist/_chunks/plus-CYKNmfuA.js.map +0 -1
  1271. package/dist/_chunks/popover-B2qCDhJC.js +0 -302
  1272. package/dist/_chunks/popover-B2qCDhJC.js.map +0 -1
  1273. package/dist/_chunks/practice-results-C6qDfxos.js +0 -1609
  1274. package/dist/_chunks/practice-results-C6qDfxos.js.map +0 -1
  1275. package/dist/_chunks/pregnancy-dating-CRVWswD-.js +0 -421
  1276. package/dist/_chunks/pregnancy-dating-CRVWswD-.js.map +0 -1
  1277. package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js +0 -322
  1278. package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js.map +0 -1
  1279. package/dist/_chunks/printer-CeVEWfQq.js +0 -22
  1280. package/dist/_chunks/printer-CeVEWfQq.js.map +0 -1
  1281. package/dist/_chunks/privacy-lock-BzMLQu-j.js +0 -197
  1282. package/dist/_chunks/privacy-lock-BzMLQu-j.js.map +0 -1
  1283. package/dist/_chunks/product-hub-panel-e6pW220e.js +0 -638
  1284. package/dist/_chunks/product-hub-panel-e6pW220e.js.map +0 -1
  1285. package/dist/_chunks/pt-D9xdT5KQ.js +0 -370
  1286. package/dist/_chunks/pt-D9xdT5KQ.js.map +0 -1
  1287. package/dist/_chunks/public-footer.agent-D0cFbjWl.js +0 -596
  1288. package/dist/_chunks/public-footer.agent-D0cFbjWl.js.map +0 -1
  1289. package/dist/_chunks/public-header.agent-DqkqA-ca.js +0 -597
  1290. package/dist/_chunks/public-header.agent-DqkqA-ca.js.map +0 -1
  1291. package/dist/_chunks/radio-group-BPt7pKZW.js +0 -167
  1292. package/dist/_chunks/radio-group-BPt7pKZW.js.map +0 -1
  1293. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +0 -558
  1294. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js.map +0 -1
  1295. package/dist/_chunks/rating-BRD7O74e.js +0 -171
  1296. package/dist/_chunks/rating-BRD7O74e.js.map +0 -1
  1297. package/dist/_chunks/refresh-cw-CC8jSKMr.js +0 -17
  1298. package/dist/_chunks/refresh-cw-CC8jSKMr.js.map +0 -1
  1299. package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
  1300. package/dist/_chunks/reviews-panel-Dq7LMDcH.js.map +0 -1
  1301. package/dist/_chunks/rich-text-editor-DlCqPixb.js +0 -2158
  1302. package/dist/_chunks/rich-text-editor-DlCqPixb.js.map +0 -1
  1303. package/dist/_chunks/ro-Cp--52bT.js +0 -361
  1304. package/dist/_chunks/ro-Cp--52bT.js.map +0 -1
  1305. package/dist/_chunks/rotate-ccw-BWANpitO.js +0 -15
  1306. package/dist/_chunks/rotate-ccw-BWANpitO.js.map +0 -1
  1307. package/dist/_chunks/ru-BM8eX_Zz.js +0 -561
  1308. package/dist/_chunks/ru-BM8eX_Zz.js.map +0 -1
  1309. package/dist/_chunks/scan-line-lGioFwLC.js +0 -18
  1310. package/dist/_chunks/scan-line-lGioFwLC.js.map +0 -1
  1311. package/dist/_chunks/scroll-area-5wNK0Cyz.js +0 -169
  1312. package/dist/_chunks/scroll-area-5wNK0Cyz.js.map +0 -1
  1313. package/dist/_chunks/search-BonnQsHv.js +0 -15
  1314. package/dist/_chunks/search-BonnQsHv.js.map +0 -1
  1315. package/dist/_chunks/search-bar-C_T3pBJn.js +0 -612
  1316. package/dist/_chunks/search-bar-C_T3pBJn.js.map +0 -1
  1317. package/dist/_chunks/search-input-DQvGxR74.js +0 -237
  1318. package/dist/_chunks/search-input-DQvGxR74.js.map +0 -1
  1319. package/dist/_chunks/select-DMLG44F5.js +0 -430
  1320. package/dist/_chunks/select-DMLG44F5.js.map +0 -1
  1321. package/dist/_chunks/send-CySZIRPJ.js +0 -21
  1322. package/dist/_chunks/send-CySZIRPJ.js.map +0 -1
  1323. package/dist/_chunks/session-countdown-X1Ki6i0M.js +0 -214
  1324. package/dist/_chunks/session-countdown-X1Ki6i0M.js.map +0 -1
  1325. package/dist/_chunks/settings-ca2Yi9R8.js +0 -21
  1326. package/dist/_chunks/settings-ca2Yi9R8.js.map +0 -1
  1327. package/dist/_chunks/sheet-BxsE7eQm.js +0 -285
  1328. package/dist/_chunks/sheet-BxsE7eQm.js.map +0 -1
  1329. package/dist/_chunks/shield-check-BjCGH_Sr.js +0 -21
  1330. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +0 -1
  1331. package/dist/_chunks/sidebar-DY9jGjgt.js +0 -1299
  1332. package/dist/_chunks/sidebar-DY9jGjgt.js.map +0 -1
  1333. package/dist/_chunks/sign-document-By6hMOra.js +0 -370
  1334. package/dist/_chunks/sign-document-By6hMOra.js.map +0 -1
  1335. package/dist/_chunks/signature-field-Dy1JRjzE.js +0 -197
  1336. package/dist/_chunks/signature-field-Dy1JRjzE.js.map +0 -1
  1337. package/dist/_chunks/smart-date-CWikAqZx.js +0 -114
  1338. package/dist/_chunks/smart-date-CWikAqZx.js.map +0 -1
  1339. package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
  1340. package/dist/_chunks/sparkles-CuYXqQLg.js.map +0 -1
  1341. package/dist/_chunks/sq-XRpr0r49.js +0 -355
  1342. package/dist/_chunks/sq-XRpr0r49.js.map +0 -1
  1343. package/dist/_chunks/square-CZoGU14v.js +0 -14
  1344. package/dist/_chunks/square-CZoGU14v.js.map +0 -1
  1345. package/dist/_chunks/square-check-big-Jr-0202D.js +0 -18
  1346. package/dist/_chunks/square-check-big-Jr-0202D.js.map +0 -1
  1347. package/dist/_chunks/star-vav0SJ9e.js +0 -20
  1348. package/dist/_chunks/star-vav0SJ9e.js.map +0 -1
  1349. package/dist/_chunks/stepper-accordion-DC-H-8v4.js +0 -247
  1350. package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +0 -1
  1351. package/dist/_chunks/stethoscope-DT5qCW8Y.js +0 -18
  1352. package/dist/_chunks/stethoscope-DT5qCW8Y.js.map +0 -1
  1353. package/dist/_chunks/streaming-text-BB9mvK4m.js +0 -131
  1354. package/dist/_chunks/streaming-text-BB9mvK4m.js.map +0 -1
  1355. package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
  1356. package/dist/_chunks/subDays-BcYv1Lxi.js.map +0 -1
  1357. package/dist/_chunks/sun-BuXE0xUS.js +0 -38
  1358. package/dist/_chunks/sun-BuXE0xUS.js.map +0 -1
  1359. package/dist/_chunks/sv-Z3APomE8.js +0 -376
  1360. package/dist/_chunks/sv-Z3APomE8.js.map +0 -1
  1361. package/dist/_chunks/tab-bar-Bv9nGNdO.js +0 -262
  1362. package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +0 -1
  1363. package/dist/_chunks/tabs-BxcOziCo.js +0 -408
  1364. package/dist/_chunks/tabs-BxcOziCo.js.map +0 -1
  1365. package/dist/_chunks/tag-BQXwuJq1.js +0 -258
  1366. package/dist/_chunks/tag-BQXwuJq1.js.map +0 -1
  1367. package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
  1368. package/dist/_chunks/task-card-BwY9jaV1.js.map +0 -1
  1369. package/dist/_chunks/task-tray-qOEQflu4.js +0 -251
  1370. package/dist/_chunks/task-tray-qOEQflu4.js.map +0 -1
  1371. package/dist/_chunks/text-input-B-OWQ1Je.js +0 -283
  1372. package/dist/_chunks/text-input-B-OWQ1Je.js.map +0 -1
  1373. package/dist/_chunks/theme-toggle-XB6o_lgs.js +0 -367
  1374. package/dist/_chunks/theme-toggle-XB6o_lgs.js.map +0 -1
  1375. package/dist/_chunks/timeline-CqA4nKTI.js +0 -294
  1376. package/dist/_chunks/timeline-CqA4nKTI.js.map +0 -1
  1377. package/dist/_chunks/toast.agent-57UzyR9U.js +0 -1005
  1378. package/dist/_chunks/toast.agent-57UzyR9U.js.map +0 -1
  1379. package/dist/_chunks/tooth-scheme-BhQoPNBD.js +0 -2131
  1380. package/dist/_chunks/tooth-scheme-BhQoPNBD.js.map +0 -1
  1381. package/dist/_chunks/tr-e0-P4FON.js +0 -378
  1382. package/dist/_chunks/tr-e0-P4FON.js.map +0 -1
  1383. package/dist/_chunks/transaction-chip-CscoQbxF.js +0 -225
  1384. package/dist/_chunks/transaction-chip-CscoQbxF.js.map +0 -1
  1385. package/dist/_chunks/transcript-panel-3THQX6nJ.js +0 -362
  1386. package/dist/_chunks/transcript-panel-3THQX6nJ.js.map +0 -1
  1387. package/dist/_chunks/trash-2-rPAKaRgB.js +0 -18
  1388. package/dist/_chunks/trash-2-rPAKaRgB.js.map +0 -1
  1389. package/dist/_chunks/triangle-alert-CBPUIzQo.js +0 -22
  1390. package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +0 -1
  1391. package/dist/_chunks/unit-converter-YEpD9evj.js +0 -337
  1392. package/dist/_chunks/unit-converter-YEpD9evj.js.map +0 -1
  1393. package/dist/_chunks/use-password-requirements-BXvS2MBS.js +0 -453
  1394. package/dist/_chunks/use-password-requirements-BXvS2MBS.js.map +0 -1
  1395. package/dist/_chunks/user-CPxpqFjJ.js +0 -15
  1396. package/dist/_chunks/user-CPxpqFjJ.js.map +0 -1
  1397. package/dist/_chunks/user-cog-BS_qc8nA.js +0 -24
  1398. package/dist/_chunks/user-cog-BS_qc8nA.js.map +0 -1
  1399. package/dist/_chunks/users-MBVtUzwd.js +0 -17
  1400. package/dist/_chunks/users-MBVtUzwd.js.map +0 -1
  1401. package/dist/_chunks/video-BAeICxCT.js +0 -21
  1402. package/dist/_chunks/video-BAeICxCT.js.map +0 -1
  1403. package/dist/_chunks/warning-stack--sTrrBDA.js +0 -268
  1404. package/dist/_chunks/warning-stack--sTrrBDA.js.map +0 -1
  1405. package/dist/_chunks/workflow-map-Dy8mLCqF.js +0 -1368
  1406. package/dist/_chunks/workflow-map-Dy8mLCqF.js.map +0 -1
  1407. package/dist/_chunks/x-CCcI3eJp.js +0 -15
  1408. package/dist/_chunks/x-CCcI3eJp.js.map +0 -1
  1409. package/dist/_chunks/zh-CN-B-igM5gY.js +0 -388
  1410. package/dist/_chunks/zh-CN-B-igM5gY.js.map +0 -1
  1411. package/dist/_chunks/zoom-out-CgVtf2Wx.js +0 -29
  1412. package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +0 -1
  1413. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
  1414. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +0 -1
  1415. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +0 -143
  1416. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +0 -1
  1417. package/dist/components/ai-tools-rail/index.d.ts +0 -4
  1418. package/dist/components/ai-tools-rail/index.d.ts.map +0 -1
  1419. package/dist/components/ai-tools-rail/index.js +0 -6
  1420. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
  1421. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts.map +0 -1
  1422. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +0 -20
  1423. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +0 -1
  1424. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
  1425. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +0 -1
  1426. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
  1427. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +0 -1
  1428. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +0 -69
  1429. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +0 -1
  1430. package/dist/components/anatomy-scheme/index.d.ts +0 -6
  1431. package/dist/components/anatomy-scheme/index.d.ts.map +0 -1
  1432. package/dist/components/anatomy-scheme/index.js +0 -17
  1433. /package/dist/components/{ai-tools-rail → address-fields}/index.js.map +0 -0
  1434. /package/dist/components/{anatomy-scheme → city-input}/index.js.map +0 -0
@@ -1,2184 +0,0 @@
1
- import { jsx as n, jsxs as I } from "react/jsx-runtime";
2
- import { useMemo as E, forwardRef as G, useState as R, useCallback as M, useEffect as z, useRef as xe, createContext as Se, useContext as we, isValidElement as Ne, cloneElement as Fe, useImperativeHandle as bt } from "react";
3
- import { S as ht } from "./skeleton-CZbwyJAA.js";
4
- import { E as vt } from "./empty-state-BLy7tigq.js";
5
- import { c as Tt } from "./index-D2ZczOXr.js";
6
- import { useTranslation as F } from "react-i18next";
7
- import { useGridFilter as X, AgGridReact as yt } from "ag-grid-react";
8
- import { ModuleRegistry as Ct, AllCommunityModule as xt } from "ag-grid-community";
9
- import { B as j } from "./button-DD_0Xdmr.js";
10
- import { I as V } from "./icon-button-LqoiKcUN.js";
11
- import { P as Z } from "./popover-B2qCDhJC.js";
12
- import { C as Re } from "./checkbox-BuZ1u__2.js";
13
- import { T as pe } from "./text-input-B-OWQ1Je.js";
14
- import { T as te } from "./tag-BQXwuJq1.js";
15
- import { D as _ } from "./dropdown-menu-qrxjymfw.js";
16
- import { X as De } from "./x-CCcI3eJp.js";
17
- import { R as St } from "./refresh-cw-CC8jSKMr.js";
18
- import { S as fe } from "./search-BonnQsHv.js";
19
- import { C as wt } from "./columns-2-BTOBZbep.js";
20
- import { G as Nt } from "./grip-vertical-Dlg0_k5C.js";
21
- import { P as Ft } from "./printer-CeVEWfQq.js";
22
- import { F as Ie } from "./file-text-DSNuv2B8.js";
23
- import { D as ae } from "./download-CDF1sbL9.js";
24
- import { F as Rt } from "./file-spreadsheet-zUkY8rJ2.js";
25
- import Dt from "i18next";
26
- import { S as ke } from "./select-DMLG44F5.js";
27
- import { u as It } from "./registry-DvAUVLHh.js";
28
- import { u as kt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
29
- import { u as Et } from "./use-theme-CAuo6EYT.js";
30
- import { D as Ee } from "./date-range-picker-CTUeR6Bj.js";
31
- import { M as At } from "./multi-select-BdHHDrRN.js";
32
- import { A as Ae } from "./autocomplete-DOeGouCL.js";
33
- import { N as Y } from "./number-input-DxphVG_A.js";
34
- import { B as Ot } from "./badge-DCOqV9mI.js";
35
- import { A as Oe } from "./avatar-BNQNhoyL.js";
36
- import { T as zt } from "./tooltip-DvmfrNvB.js";
37
- import { T as he } from "./timestamp-BV2lC-wV.js";
38
- import { I as Pt } from "./icon-button-group-C48khLE0.js";
39
- import { E as Mt } from "./ellipsis-rgGdiK_9.js";
40
- function qt(t) {
41
- if (!Ne(t)) return t;
42
- const e = t, a = e.props.className ?? "", r = /\bsize-|\bw-|\bh-/.test(a) ? a : `${a} ds:size-4`.trim();
43
- return Fe(e, { className: r, size: e.props.size ?? 16 });
44
- }
45
- const ze = Se(null);
46
- function B(t) {
47
- const e = we(ze);
48
- if (!e)
49
- throw new Error(
50
- `${t} must be rendered inside <DataTable.Toolbar> as a descendant of <DataTable>.`
51
- );
52
- return e;
53
- }
54
- function Lt({
55
- getApi: t,
56
- selectionCount: e,
57
- onPrint: a,
58
- children: r
59
- }) {
60
- const o = E(
61
- () => ({ getApi: t, selectionCount: e, onPrint: a }),
62
- [t, e, a]
63
- );
64
- return /* @__PURE__ */ n(ze.Provider, { value: o, children: r });
65
- }
66
- const jt = [
67
- "data-table-toolbar",
68
- // Mobile (<sm) keeps `flex-wrap` so a wide QuickSearch can flow above the
69
- // Actions cluster on narrow screens. From `sm` (≥640px) we switch to
70
- // `flex-nowrap` + `min-w-0` so the row stays single-line at every common
71
- // desktop width (1024 / 1280 / 1440) — the QuickSearch slot shrinks via
72
- // its own `min-w-0` instead of pushing the trailing Actions to a new row.
73
- "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
74
- "ds:sm:flex-nowrap ds:min-w-0",
75
- // Brand-polish: give the toolbar its own card surface so it doesn't
76
- // sit flush above the grid as a bare row. The `--card` token resolves to
77
- // `--background` on the default light theme (white), which makes a
78
- // shadow-only chrome invisible on the page — pair the card fill with the
79
- // standard `--card-border` outline (same recipe as `<Card>`) so the
80
- // toolbar reads as a discrete surface in both light and dark themes.
81
- "ds:bg-[var(--card)] ds:rounded-[var(--radius-md)]",
82
- "ds:border ds:border-[color:var(--card-border)]",
83
- "ds:shadow-[var(--shadow-sm)]",
84
- "ds:py-[var(--spacing-sm)] ds:px-[var(--spacing-md)]"
85
- ].join(" "), Pe = G(
86
- ({ className: t, children: e, ...a }, r) => /* @__PURE__ */ n(
87
- "div",
88
- {
89
- ref: r,
90
- role: "toolbar",
91
- className: [jt, t ?? ""].join(" ").trim(),
92
- ...a,
93
- children: e
94
- }
95
- )
96
- );
97
- Pe.displayName = "DataTable.Toolbar";
98
- const Me = G(
99
- ({ className: t, children: e, ...a }, r) => /* @__PURE__ */ n(
100
- "div",
101
- {
102
- ref: r,
103
- className: [
104
- "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
105
- // `grow` lets FilterBar absorb the free space; `min-w-0` lets the
106
- // QuickSearch slot inside shrink below its intrinsic width when the
107
- // toolbar runs `flex-nowrap` at `sm` and above, so the trailing
108
- // Actions cluster stays pinned on a single row.
109
- "ds:grow ds:min-w-0",
110
- t ?? ""
111
- ].join(" ").trim(),
112
- ...a,
113
- children: e
114
- }
115
- )
116
- );
117
- Me.displayName = "DataTable.Toolbar.FilterBar";
118
- const qe = G(
119
- ({ className: t, children: e, ...a }, r) => /* @__PURE__ */ n(
120
- "div",
121
- {
122
- ref: r,
123
- className: [
124
- "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
125
- "ds:ms-auto",
126
- t ?? ""
127
- ].join(" ").trim(),
128
- ...a,
129
- children: e
130
- }
131
- )
132
- );
133
- qe.displayName = "DataTable.Toolbar.Actions";
134
- const Le = G(
135
- ({ label: t, onExport: e, intent: a = "outline", ...r }, o) => {
136
- const { t: s } = F(), { getApi: l } = B("DataTable.Toolbar.ExportCsv"), p = M(() => {
137
- const i = l();
138
- i && (e ? e(i) : i.exportDataAsCsv());
139
- }, [l, e]);
140
- return /* @__PURE__ */ n(
141
- V,
142
- {
143
- ref: o,
144
- type: "button",
145
- intent: a,
146
- icon: /* @__PURE__ */ n(ae, { "aria-hidden": !0 }),
147
- tooltip: t ?? s("dataTable.exportCsv"),
148
- onClick: p,
149
- ...r
150
- }
151
- );
152
- }
153
- );
154
- Le.displayName = "DataTable.Toolbar.ExportCsv";
155
- function Q(t, e = [30, 30, 30]) {
156
- if (typeof document > "u") return e;
157
- const a = document.createElement("span");
158
- a.style.color = `hsl(var(${t}))`, a.style.position = "absolute", a.style.visibility = "hidden", document.body.appendChild(a);
159
- const r = getComputedStyle(a).color;
160
- document.body.removeChild(a);
161
- const o = r.match(/rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/i);
162
- return o ? [Number(o[1]), Number(o[2]), Number(o[3])] : e;
163
- }
164
- async function je(t, e) {
165
- if (!t) return;
166
- const [{ jsPDF: a }, { default: r }] = await Promise.all([
167
- import("./jspdf.es.min-DaapWjR1.js").then((g) => g.j),
168
- import("./jspdf.plugin.autotable-CSiDNyPn.js")
169
- ]), s = (t.getColumns() ?? []).filter((g) => g.isVisible()), l = [
170
- s.map((g) => t.getDisplayNameForColumn(g, null) ?? "")
171
- ], p = [];
172
- t.forEachNodeAfterFilterAndSort((g) => {
173
- if (!g.data) return;
174
- const T = s.map((C) => {
175
- const S = t.getCellValue({
176
- rowNode: g,
177
- colKey: C,
178
- useFormatter: !0
179
- });
180
- return S == null ? "" : String(S);
181
- });
182
- p.push(T);
183
- });
184
- const i = Q("--muted", [240, 240, 240]), d = Q("--foreground", [30, 30, 30]), c = Q("--card-foreground", [30, 30, 30]), u = Q("--card", [250, 250, 250]), y = new a({ orientation: "landscape" });
185
- r(y, {
186
- head: l,
187
- body: p,
188
- headStyles: { fillColor: i, textColor: d },
189
- bodyStyles: { textColor: c },
190
- alternateRowStyles: { fillColor: u },
191
- styles: {
192
- font: "helvetica",
193
- fontSize: 10,
194
- cellPadding: 4
195
- }
196
- }), y.save(e.fileName);
197
- }
198
- const Ge = G(
199
- ({ label: t, onClick: e, fileName: a, intent: r = "outline", ...o }, s) => {
200
- const { t: l } = F(), { getApi: p } = B("DataTable.Toolbar.ExportPdf"), i = M(() => {
201
- const d = p();
202
- if (e) {
203
- e(d);
204
- return;
205
- }
206
- je(d, {
207
- fileName: a ?? "data-table-export.pdf"
208
- });
209
- }, [p, e, a]);
210
- return /* @__PURE__ */ n(
211
- V,
212
- {
213
- ref: s,
214
- type: "button",
215
- intent: r,
216
- icon: /* @__PURE__ */ n(Ie, { "aria-hidden": !0 }),
217
- tooltip: t ?? l("dataTable.exportPdf"),
218
- onClick: i,
219
- ...o
220
- }
221
- );
222
- }
223
- );
224
- Ge.displayName = "DataTable.Toolbar.ExportPdf";
225
- const Be = G(
226
- ({ label: t, intent: e = "outline", ...a }, r) => {
227
- const { t: o } = F(), { onPrint: s } = B("DataTable.Toolbar.Print");
228
- return /* @__PURE__ */ n(
229
- V,
230
- {
231
- ref: r,
232
- type: "button",
233
- intent: e,
234
- icon: /* @__PURE__ */ n(Ft, { "aria-hidden": !0 }),
235
- tooltip: t ?? o("dataTable.print"),
236
- onClick: s,
237
- ...a
238
- }
239
- );
240
- }
241
- );
242
- Be.displayName = "DataTable.Toolbar.Print";
243
- const $e = ({ placeholder: t, debounceMs: e = 150 }) => {
244
- const { t: a } = F(), { getApi: r } = B("DataTable.Toolbar.QuickSearch"), [o, s] = R(""), l = xe(void 0);
245
- return z(() => (l.current && window.clearTimeout(l.current), l.current = window.setTimeout(() => {
246
- const p = r();
247
- p && p.setGridOption("quickFilterText", o);
248
- }, e), () => {
249
- l.current && window.clearTimeout(l.current);
250
- }), [o, e, r]), // Slot wrapper caps the search at a sensible legible width on desktop —
251
- // without this, TextInput's `w-full` lets the QuickSearch absorb the
252
- // entire FilterBar row and push trailing Actions onto a second line at
253
- // 1024 / 1280 / 1440. `min-w-0` lets the slot shrink below `24rem` when
254
- // the toolbar is squeezed on narrow viewports. There is no
255
- // `--toolbar-search-max` token in the kit yet — see this component's
256
- // summary for a follow-up note recommending we add one.
257
- /* @__PURE__ */ n("div", { className: "ds:w-full ds:max-w-[24rem] ds:min-w-0", children: /* @__PURE__ */ n(
258
- pe,
259
- {
260
- type: "search",
261
- size: "sm",
262
- value: o,
263
- onChange: (p) => s(p.target.value),
264
- placeholder: t ?? a("dataTable.quickSearch.placeholder", "Search…"),
265
- startAdornment: /* @__PURE__ */ n(fe, { "aria-hidden": !0, className: "ds:size-4" }),
266
- clearable: !0,
267
- onClear: () => s(""),
268
- "aria-label": a("dataTable.quickSearch.label", "Quick search")
269
- }
270
- ) });
271
- };
272
- $e.displayName = "DataTable.Toolbar.QuickSearch";
273
- const _e = G(
274
- ({ onRefresh: t, label: e, intent: a = "outline", ...r }, o) => {
275
- const { t: s } = F();
276
- return /* @__PURE__ */ n(
277
- V,
278
- {
279
- ref: o,
280
- type: "button",
281
- intent: a,
282
- icon: /* @__PURE__ */ n(St, { "aria-hidden": !0 }),
283
- tooltip: e ?? s("dataTable.refresh", "Refresh"),
284
- onClick: t,
285
- ...r
286
- }
287
- );
288
- }
289
- );
290
- _e.displayName = "DataTable.Toolbar.Refresh";
291
- function Gt(t) {
292
- if (!t || typeof t != "object") return "";
293
- const e = t;
294
- if (typeof e.filter == "string" || typeof e.filter == "number") {
295
- const a = typeof e.type == "string" ? e.type : "", r = typeof e.filterTo == "string" || typeof e.filterTo == "number" ? String(e.filterTo) : "";
296
- return a === "inRange" && r ? `${e.filter} – ${r}` : a ? `${a} ${e.filter}` : String(e.filter);
297
- }
298
- return typeof e.dateFrom == "string" ? typeof e.dateTo == "string" && e.dateTo ? `${e.dateFrom} – ${e.dateTo}` : String(e.dateFrom) : Array.isArray(e.values) ? e.values.map(String).join(", ") : "";
299
- }
300
- const Ve = () => {
301
- const { t } = F(), { getApi: e } = B("DataTable.Toolbar.FilterChips"), [a, r] = R([]), [o, s] = R(""), l = M(() => {
302
- const c = e();
303
- if (!c) {
304
- r([]), s("");
305
- return;
306
- }
307
- const u = c.getFilterModel() ?? {}, y = c.getColumns() ?? [], g = [];
308
- for (const C of Object.keys(u)) {
309
- const S = y.find((m) => m.getColId() === C), f = c.getDisplayNameForColumn(S, null) ?? C;
310
- g.push({
311
- colId: C,
312
- headerName: f,
313
- text: Gt(u[C])
314
- });
315
- }
316
- r(g);
317
- const T = c.getGridOption("quickFilterText");
318
- s(typeof T == "string" ? T : "");
319
- }, [e]);
320
- if (z(() => {
321
- let c;
322
- const u = (T) => l(), y = (T) => {
323
- T.addEventListener("filterChanged", u), l(), c = () => T.removeEventListener("filterChanged", u);
324
- }, g = e();
325
- if (g)
326
- y(g);
327
- else {
328
- const T = window.setInterval(() => {
329
- const C = e();
330
- C && (window.clearInterval(T), y(C));
331
- }, 50);
332
- c = () => window.clearInterval(T);
333
- }
334
- return () => c == null ? void 0 : c();
335
- }, [e, l]), a.length + (o ? 1 : 0) === 0) return null;
336
- function i(c) {
337
- const u = e();
338
- u && u.destroyFilter(c);
339
- }
340
- function d() {
341
- const c = e();
342
- c && (c.setFilterModel(null), c.setGridOption("quickFilterText", ""), s(""));
343
- }
344
- return /* @__PURE__ */ I(
345
- "div",
346
- {
347
- role: "group",
348
- "aria-label": t("dataTable.filterChips.label", "Active filters"),
349
- className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
350
- children: [
351
- o && /* @__PURE__ */ n(
352
- te,
353
- {
354
- label: `${t("dataTable.quickSearch.label", "Quick search")}: ${o}`,
355
- size: "sm",
356
- fill: "outline",
357
- onRemove: () => {
358
- const c = e();
359
- c == null || c.setGridOption("quickFilterText", ""), s("");
360
- }
361
- }
362
- ),
363
- a.map((c) => /* @__PURE__ */ n(
364
- te,
365
- {
366
- label: c.text ? `${c.headerName}: ${c.text}` : c.headerName,
367
- size: "sm",
368
- fill: "outline",
369
- onRemove: () => i(c.colId)
370
- },
371
- c.colId
372
- )),
373
- /* @__PURE__ */ n(
374
- j,
375
- {
376
- type: "button",
377
- intent: "ghost",
378
- size: "sm",
379
- onClick: d,
380
- startIcon: /* @__PURE__ */ n(De, { "aria-hidden": !0, className: "ds:size-4" }),
381
- children: t("dataTable.filterChips.clearAll", "Clear all")
382
- }
383
- )
384
- ]
385
- }
386
- );
387
- };
388
- Ve.displayName = "DataTable.Toolbar.FilterChips";
389
- const We = ({
390
- field: t,
391
- options: e,
392
- label: a
393
- }) => {
394
- const { t: r } = F(), { getApi: o } = B("DataTable.Toolbar.FacetFilter"), [s, l] = R(null);
395
- function p(i) {
396
- l(i);
397
- const d = o();
398
- if (d) {
399
- if (i === null) {
400
- d.destroyFilter(t);
401
- return;
402
- }
403
- d.setColumnFilterModel(t, {
404
- type: "equals",
405
- filter: i
406
- }), d.onFilterChanged();
407
- }
408
- }
409
- return /* @__PURE__ */ n(
410
- "div",
411
- {
412
- role: "group",
413
- "aria-label": a ?? r("dataTable.facetFilter.label", "Filter"),
414
- className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
415
- children: e.map((i) => {
416
- const d = s === i.value;
417
- return /* @__PURE__ */ n(
418
- j,
419
- {
420
- type: "button",
421
- size: "sm",
422
- intent: d ? "primary" : "secondary",
423
- "aria-pressed": d,
424
- onClick: () => p(i.value),
425
- children: i.label
426
- },
427
- String(i.value)
428
- );
429
- })
430
- }
431
- );
432
- };
433
- We.displayName = "DataTable.Toolbar.FacetFilter";
434
- const Bt = ["csv", "xlsx", "pdf"];
435
- async function $t(t, e) {
436
- if (!t) return;
437
- const a = await import("./exceljs.min-DUJ-5CGx.js").then((C) => C.e), r = new a.Workbook(), o = r.addWorksheet("Sheet1"), l = (t.getColumns() ?? []).filter((C) => C.isVisible());
438
- o.addRow(
439
- l.map(
440
- (C) => t.getDisplayNameForColumn(C, null) ?? C.getColId()
441
- )
442
- ), t.forEachNodeAfterFilterAndSort((C) => {
443
- C.data && o.addRow(
444
- l.map((S) => {
445
- const f = t.getCellValue({
446
- rowNode: C,
447
- colKey: S,
448
- useFormatter: !0
449
- });
450
- return f ?? "";
451
- })
452
- );
453
- });
454
- const p = Q("--muted", [240, 240, 240]), i = Q("--foreground", [30, 30, 30]), d = o.getRow(1), c = ([C, S, f]) => `${C.toString(16).padStart(2, "0")}${S.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}`.toUpperCase();
455
- d.eachCell((C) => {
456
- C.font = { bold: !0, color: { argb: `FF${c(i)}` } }, C.fill = {
457
- type: "pattern",
458
- pattern: "solid",
459
- fgColor: { argb: `FF${c(p)}` }
460
- };
461
- });
462
- const u = await r.xlsx.writeBuffer(), y = new Blob([u], {
463
- type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
464
- }), g = URL.createObjectURL(y), T = document.createElement("a");
465
- T.href = g, T.download = e.fileName, document.body.appendChild(T), T.click(), document.body.removeChild(T), URL.revokeObjectURL(g);
466
- }
467
- const Ke = Se(null);
468
- function _t() {
469
- const t = we(Ke);
470
- if (!t)
471
- throw new Error(
472
- "DataTable.Toolbar.ExportMenu.Item must be rendered inside DataTable.Toolbar.ExportMenu."
473
- );
474
- return t;
475
- }
476
- const Ue = ({ children: t, label: e }) => {
477
- const { t: a } = F(), { getApi: r } = B("DataTable.Toolbar.ExportMenu"), o = E(() => ({ getApi: r }), [r]), s = t ?? Bt.map((l) => /* @__PURE__ */ n(me, { format: l }, l));
478
- return /* @__PURE__ */ n(Ke.Provider, { value: o, children: /* @__PURE__ */ I(_.Root, { children: [
479
- /* @__PURE__ */ n(_.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
480
- V,
481
- {
482
- type: "button",
483
- intent: "outline",
484
- icon: /* @__PURE__ */ n(ae, { "aria-hidden": !0 }),
485
- tooltip: e ?? a("dataTable.export.menu", "Export"),
486
- "aria-label": e ?? a("dataTable.export.menu", "Export"),
487
- "aria-haspopup": "menu"
488
- }
489
- ) }),
490
- /* @__PURE__ */ n(_.Content, { align: "end", sideOffset: 4, children: s })
491
- ] }) });
492
- };
493
- Ue.displayName = "DataTable.Toolbar.ExportMenu";
494
- function Vt(t, e) {
495
- return e === "csv" ? t("dataTable.export.csv", "Export CSV") : e === "xlsx" ? t("dataTable.export.xlsx", "Export Excel") : e === "pdf" ? t("dataTable.export.pdf", "Export PDF") : t("dataTable.export.custom", "Export");
496
- }
497
- function Wt(t) {
498
- return t === "csv" ? /* @__PURE__ */ n(ae, { "aria-hidden": !0, className: "ds:size-4" }) : t === "xlsx" ? /* @__PURE__ */ n(Rt, { "aria-hidden": !0, className: "ds:size-4" }) : t === "pdf" ? /* @__PURE__ */ n(Ie, { "aria-hidden": !0, className: "ds:size-4" }) : /* @__PURE__ */ n(ae, { "aria-hidden": !0, className: "ds:size-4" });
499
- }
500
- const me = ({
501
- format: t,
502
- label: e,
503
- onClick: a,
504
- fileName: r
505
- }) => {
506
- const { t: o } = F(), { getApi: s } = _t(), l = M(() => {
507
- const p = s();
508
- if (t === "csv") {
509
- p == null || p.exportDataAsCsv();
510
- return;
511
- }
512
- if (t === "pdf") {
513
- je(p, {
514
- fileName: r ?? "data-table-export.pdf"
515
- });
516
- return;
517
- }
518
- if (t === "xlsx") {
519
- $t(p, {
520
- fileName: r ?? "data-table-export.xlsx"
521
- });
522
- return;
523
- }
524
- a == null || a(p);
525
- }, [t, r, a, s]);
526
- return /* @__PURE__ */ n(_.Item, { onSelect: l, children: /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
527
- Wt(t),
528
- /* @__PURE__ */ n("span", { children: e ?? Vt(o, t) })
529
- ] }) });
530
- };
531
- me.displayName = "DataTable.Toolbar.ExportMenu.Item";
532
- function Kt(t) {
533
- return t ? (t.getAllGridColumns() ?? []).map((a) => a.getColDef().hide === void 0 && a.getColId().startsWith("ag-Grid-") ? null : {
534
- colId: a.getColId(),
535
- displayName: t.getDisplayNameForColumn(a, null) || a.getColId(),
536
- visible: a.isVisible()
537
- }).filter((a) => a !== null) : [];
538
- }
539
- const He = ({ label: t, icon: e, footer: a, header: r }) => {
540
- const { t: o } = F(), { getApi: s } = B("DataTable.Toolbar.ColumnToggle"), [l, p] = R(!1), [i, d] = R([]), [c, u] = R(null), [y, g] = R(null);
541
- z(() => {
542
- l && d(Kt(s()));
543
- }, [l, s]);
544
- const T = M(
545
- (f, m) => {
546
- const b = s();
547
- b && (b.setColumnsVisible([f], m), d(
548
- (h) => h.map(
549
- (w) => w.colId === f ? { ...w, visible: m } : w
550
- )
551
- ));
552
- },
553
- [s]
554
- ), C = M(
555
- (f, m) => {
556
- if (f === m) return;
557
- const b = s();
558
- if (!b) return;
559
- d((w) => {
560
- const A = w.findIndex((W) => W.colId === f), k = w.findIndex((W) => W.colId === m);
561
- if (A < 0 || k < 0) return w;
562
- const $ = [...w], [D] = $.splice(A, 1);
563
- return $.splice(k, 0, D), $;
564
- });
565
- const h = i.findIndex((w) => w.colId === m);
566
- h >= 0 && b.moveColumns([f], h);
567
- },
568
- [s, i]
569
- ), S = t ?? o("dataTable.columnToggle");
570
- return /* @__PURE__ */ I(Z.Root, { open: l, onOpenChange: p, children: [
571
- /* @__PURE__ */ n(Z.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
572
- V,
573
- {
574
- type: "button",
575
- intent: "outline",
576
- icon: e ?? /* @__PURE__ */ n(wt, { "aria-hidden": !0 }),
577
- "aria-label": S,
578
- "aria-haspopup": "dialog"
579
- }
580
- ) }),
581
- /* @__PURE__ */ I(Z.Content, { size: "sm", align: "end", children: [
582
- /* @__PURE__ */ n(Z.Heading, { children: S }),
583
- r ? /* @__PURE__ */ n("div", { className: "ds:mb-[var(--spacing-xs)] ds:border-b ds:border-[color:var(--border)] ds:pb-[var(--spacing-sm)]", children: r }) : null,
584
- /* @__PURE__ */ n(
585
- "ul",
586
- {
587
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
588
- "aria-label": S,
589
- children: i.map((f) => {
590
- const m = c === f.colId, b = y === f.colId && c !== f.colId;
591
- return /* @__PURE__ */ I(
592
- "li",
593
- {
594
- draggable: !0,
595
- onDragStart: (h) => {
596
- u(f.colId), h.dataTransfer.effectAllowed = "move", h.dataTransfer.setData("text/plain", f.colId);
597
- },
598
- onDragOver: (h) => {
599
- h.preventDefault(), h.dataTransfer.dropEffect = "move", g(f.colId);
600
- },
601
- onDragLeave: () => {
602
- g((h) => h === f.colId ? null : h);
603
- },
604
- onDrop: (h) => {
605
- h.preventDefault();
606
- const w = h.dataTransfer.getData("text/plain");
607
- w && C(w, f.colId), u(null), g(null);
608
- },
609
- onDragEnd: () => {
610
- u(null), g(null);
611
- },
612
- className: [
613
- "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-xs)] ds:py-[var(--spacing-2xs,var(--spacing-xs))] ds:transition-colors",
614
- m ? "ds:opacity-50" : "",
615
- b ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
616
- ].filter(Boolean).join(" "),
617
- children: [
618
- /* @__PURE__ */ n(
619
- "span",
620
- {
621
- "aria-hidden": "true",
622
- className: "ds:cursor-grab ds:text-[color:var(--muted-foreground)] ds:active:cursor-grabbing",
623
- children: /* @__PURE__ */ n(Nt, { className: "ds:size-4" })
624
- }
625
- ),
626
- /* @__PURE__ */ n(
627
- Re,
628
- {
629
- label: f.displayName,
630
- checked: f.visible,
631
- onCheckedChange: (h) => T(f.colId, h === !0)
632
- }
633
- )
634
- ]
635
- },
636
- f.colId
637
- );
638
- })
639
- }
640
- ),
641
- a ? /* @__PURE__ */ n("div", { className: "ds:mt-[var(--spacing-xs)] ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-sm)]", children: a }) : null
642
- ] })
643
- ] });
644
- };
645
- He.displayName = "DataTable.Toolbar.ColumnToggle";
646
- const Qe = G(
647
- ({ label: t, icon: e, onClick: a, variant: r = "default", size: o = "sm", ...s }, l) => {
648
- const { t: p } = F(), { getApi: i, selectionCount: d } = B(
649
- "DataTable.Toolbar.BulkAction"
650
- );
651
- return d === 0 ? null : /* @__PURE__ */ I(
652
- j,
653
- {
654
- ref: l,
655
- type: "button",
656
- intent: r === "destructive" ? "destructive" : "secondary",
657
- size: o,
658
- startIcon: qt(e),
659
- onClick: () => a(i()),
660
- "aria-label": `${t} (${p("dataTable.bulkAction", { count: d })})`,
661
- ...s,
662
- children: [
663
- /* @__PURE__ */ n("span", { children: t }),
664
- /* @__PURE__ */ n(
665
- "span",
666
- {
667
- "aria-hidden": "true",
668
- className: "ds:ms-[var(--spacing-xs)] ds:opacity-80",
669
- children: p("dataTable.bulkAction", { count: d })
670
- }
671
- )
672
- ]
673
- }
674
- );
675
- }
676
- );
677
- Qe.displayName = "DataTable.Toolbar.BulkAction";
678
- const Ut = Object.assign(Ue, {
679
- Item: me
680
- }), ee = Object.assign(Pe, {
681
- FilterBar: Me,
682
- Actions: qe,
683
- /** @deprecated Use `Toolbar.ExportMenu` with a `csv` item. */
684
- ExportCsv: Le,
685
- /** @deprecated Use `Toolbar.ExportMenu` with a `pdf` item. */
686
- ExportPdf: Ge,
687
- Print: Be,
688
- ColumnToggle: He,
689
- BulkAction: Qe,
690
- QuickSearch: $e,
691
- Refresh: _e,
692
- FilterChips: Ve,
693
- FacetFilter: We,
694
- ExportMenu: Ut
695
- }), Ht = [
696
- "contains",
697
- "equals",
698
- "startsWith",
699
- "endsWith",
700
- "notContains"
701
- ];
702
- function Qt(t) {
703
- const e = new Intl.Collator(t, {
704
- sensitivity: "base",
705
- usage: "search"
706
- });
707
- function a(r, o) {
708
- if (o.length === 0) return 0;
709
- if (o.length > r.length) return -1;
710
- for (let s = 0; s <= r.length - o.length; s += 1)
711
- if (e.compare(r.slice(s, s + o.length), o) === 0)
712
- return s;
713
- return -1;
714
- }
715
- return {
716
- equals: (r, o) => e.compare(r, o) === 0,
717
- contains: (r, o) => a(r, o) !== -1,
718
- startsWith: (r, o) => o.length <= r.length && e.compare(r.slice(0, o.length), o) === 0,
719
- endsWith: (r, o) => o.length <= r.length && e.compare(
720
- r.slice(r.length - o.length),
721
- o
722
- ) === 0
723
- };
724
- }
725
- function Jt(t) {
726
- return t == null ? null : typeof t == "string" ? t : String(t);
727
- }
728
- function Xt(t) {
729
- const { model: e, onModelChange: a, getValue: r, placeholder: o, defaultOperator: s } = t, { t: l } = F("ui"), p = (e == null ? void 0 : e.type) ?? s ?? "contains", [i, d] = R(p), [c, u] = R((e == null ? void 0 : e.filter) ?? "");
730
- z(() => {
731
- d((e == null ? void 0 : e.type) ?? s ?? "contains"), u((e == null ? void 0 : e.filter) ?? "");
732
- }, [e, s]);
733
- const y = E(() => Qt(Dt.language), []);
734
- X({
735
- doesFilterPass: (f) => {
736
- const m = e;
737
- if (!m || m.filter === "") return !0;
738
- const b = Jt(r(f.node));
739
- if (b === null) return !1;
740
- switch (m.type) {
741
- case "equals":
742
- return y.equals(b, m.filter);
743
- case "contains":
744
- return y.contains(b, m.filter);
745
- case "startsWith":
746
- return y.startsWith(b, m.filter);
747
- case "endsWith":
748
- return y.endsWith(b, m.filter);
749
- case "notContains":
750
- return !y.contains(b, m.filter);
751
- default:
752
- return !0;
753
- }
754
- }
755
- });
756
- function g() {
757
- if (c.trim() === "") {
758
- a(null);
759
- return;
760
- }
761
- a({ type: i, filter: c });
762
- }
763
- function T() {
764
- u(""), d(s ?? "contains"), a(null);
765
- }
766
- const C = Ht.map(
767
- (f) => ({
768
- value: f,
769
- label: l(`dataTable.textFilter.operators.${f}`)
770
- })
771
- ), S = o ?? l("dataTable.textFilter.placeholder");
772
- return /* @__PURE__ */ I(
773
- "div",
774
- {
775
- "data-component": "text-filter",
776
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
777
- children: [
778
- /* @__PURE__ */ n(
779
- ke,
780
- {
781
- size: "sm",
782
- options: C,
783
- value: i,
784
- onValueChange: (f) => {
785
- f !== "" && d(f);
786
- },
787
- "aria-label": l("dataTable.textFilter.operators.contains")
788
- }
789
- ),
790
- /* @__PURE__ */ n(
791
- pe,
792
- {
793
- size: "sm",
794
- value: c,
795
- onChange: (f) => u(f.target.value),
796
- onKeyDown: (f) => {
797
- f.key === "Enter" && (f.preventDefault(), g());
798
- },
799
- placeholder: S,
800
- "aria-label": S,
801
- startAdornment: /* @__PURE__ */ n(fe, { "aria-hidden": "true", className: "ds:size-4" })
802
- }
803
- ),
804
- /* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
805
- /* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: T, type: "button", children: l("dataTable.textFilter.clear") }),
806
- /* @__PURE__ */ n(j, { intent: "primary", size: "sm", onClick: g, type: "button", children: l("dataTable.textFilter.apply") })
807
- ] })
808
- ]
809
- }
810
- );
811
- }
812
- function Zt(t) {
813
- var u, y;
814
- const { model: e, onModelChange: a, column: r } = t, { t: o } = F("ui"), s = ((y = (u = r == null ? void 0 : r.getColDef) == null ? void 0 : u.call(r)) == null ? void 0 : y.filterParams) ?? {}, l = s.defaultOperator ?? "contains", p = s.placeholder ?? o("dataTable.textFilter.placeholder"), [i, d] = R((e == null ? void 0 : e.filter) ?? "");
815
- z(() => {
816
- d((e == null ? void 0 : e.filter) ?? "");
817
- }, [e == null ? void 0 : e.filter]), z(() => {
818
- if (i === ((e == null ? void 0 : e.filter) ?? "")) return;
819
- const g = setTimeout(() => {
820
- if (i === "") {
821
- e && a(null);
822
- return;
823
- }
824
- a({ type: l, filter: i });
825
- }, 200);
826
- return () => clearTimeout(g);
827
- }, [i, l, e, a]);
828
- function c() {
829
- d(""), e && a(null);
830
- }
831
- return /* @__PURE__ */ n("div", { "data-component": "text-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
832
- pe,
833
- {
834
- size: "sm",
835
- value: i,
836
- onChange: (g) => d(g.target.value),
837
- placeholder: p,
838
- "aria-label": p,
839
- startAdornment: /* @__PURE__ */ n(fe, { "aria-hidden": "true", className: "ds:size-4" }),
840
- endAdornment: i.length > 0 ? /* @__PURE__ */ n(
841
- "button",
842
- {
843
- type: "button",
844
- "aria-label": o("dataTable.textFilter.clear"),
845
- onClick: c,
846
- className: "ds:pointer-events-auto ds:flex ds:items-center ds:text-[var(--muted-foreground)] ds:hover:text-[var(--foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
847
- children: /* @__PURE__ */ n(De, { "aria-hidden": "true", className: "ds:size-4" })
848
- }
849
- ) : void 0
850
- }
851
- ) });
852
- }
853
- const Yt = {
854
- id: "data-table",
855
- capabilities: [
856
- "select_single",
857
- "select_multiple",
858
- "range_pick",
859
- "filter",
860
- "sort",
861
- "paginate"
862
- ],
863
- state: {
864
- selection: {
865
- type: "string[]",
866
- descriptionKey: "ui.agent.dataTable.state.selection",
867
- description: "Row ids of currently-selected rows.",
868
- read: (t) => t.getSelection()
869
- },
870
- filter: {
871
- type: "object",
872
- descriptionKey: "ui.agent.dataTable.state.filter",
873
- description: "Current ag-grid filter model, keyed by column id.",
874
- read: (t) => t.getFilter()
875
- },
876
- sort: {
877
- type: "Array<{ colId, sort }>",
878
- descriptionKey: "ui.agent.dataTable.state.sort",
879
- description: "Active sort, in priority order.",
880
- read: (t) => t.getSort()
881
- },
882
- currentPage: {
883
- type: "number",
884
- descriptionKey: "ui.agent.dataTable.state.currentPage",
885
- description: "Zero-indexed page number.",
886
- read: (t) => t.getCurrentPage()
887
- }
888
- },
889
- actions: {
890
- select_rows: {
891
- // Transient grid selection (data-table convention) — stays read.
892
- safety: "read",
893
- argsType: "{ ids: string[] }",
894
- argsSchema: {
895
- type: "object",
896
- properties: {
897
- ids: {
898
- type: "array",
899
- items: { type: "string" },
900
- description: "Row ids to select (replaces the current selection)."
901
- }
902
- },
903
- required: ["ids"]
904
- },
905
- idempotent: !0,
906
- descriptionKey: "ui.agent.dataTable.actions.selectRows",
907
- description: "Replace the current selection with the given row ids.",
908
- examples: [
909
- { args: { ids: ["r-1", "r-2"] }, note: "Select the first two rows." }
910
- ],
911
- invoke: (t, e) => {
912
- t.setSelection(e.ids);
913
- }
914
- },
915
- select_range: {
916
- safety: "read",
917
- argsType: "{ fromId: string, toId: string }",
918
- argsSchema: {
919
- type: "object",
920
- properties: {
921
- fromId: { type: "string", description: "Start row id (inclusive)." },
922
- toId: { type: "string", description: "End row id (inclusive)." }
923
- },
924
- required: ["fromId", "toId"]
925
- },
926
- idempotent: !0,
927
- descriptionKey: "ui.agent.dataTable.actions.selectRange",
928
- description: "Select every row between fromId and toId, inclusive, in current sort order.",
929
- invoke: (t, e) => {
930
- t.selectRange(e.fromId, e.toId);
931
- }
932
- },
933
- clear_selection: {
934
- safety: "read",
935
- idempotent: !0,
936
- descriptionKey: "ui.agent.dataTable.actions.clearSelection",
937
- description: "Deselect all rows.",
938
- invoke: (t) => {
939
- t.clearSelection();
940
- }
941
- },
942
- get_selection: {
943
- safety: "read",
944
- returns: "string[]",
945
- returnsSchema: { type: "array", items: { type: "string" } },
946
- idempotent: !0,
947
- descriptionKey: "ui.agent.dataTable.actions.getSelection",
948
- description: "Return the row ids of the currently-selected rows.",
949
- invoke: (t) => t.getSelection()
950
- },
951
- apply_filter: {
952
- safety: "read",
953
- argsType: "{ model: Record<string, unknown> }",
954
- argsSchema: {
955
- type: "object",
956
- properties: {
957
- model: {
958
- type: "object",
959
- description: "ag-grid filter model keyed by column id. Opaque per-column filter shapes; replaces the current model.",
960
- additionalProperties: !0
961
- }
962
- },
963
- required: ["model"]
964
- },
965
- idempotent: !0,
966
- descriptionKey: "ui.agent.dataTable.actions.applyFilter",
967
- description: "Replace the filter model with the given object.",
968
- invoke: (t, e) => {
969
- t.setFilter(e.model);
970
- }
971
- },
972
- sort_by: {
973
- safety: "read",
974
- argsType: "{ model: DataTableSortEntry[] }",
975
- argsSchema: {
976
- type: "object",
977
- properties: {
978
- model: {
979
- type: "array",
980
- description: "Sort entries in priority order.",
981
- items: {
982
- type: "object",
983
- properties: {
984
- colId: { type: "string", description: "Column id to sort by." },
985
- sort: { enum: ["asc", "desc"], description: "Sort direction." }
986
- },
987
- required: ["colId", "sort"]
988
- }
989
- }
990
- },
991
- required: ["model"]
992
- },
993
- idempotent: !0,
994
- descriptionKey: "ui.agent.dataTable.actions.sortBy",
995
- description: "Replace the active sort with the given list (priority order).",
996
- examples: [
997
- {
998
- args: { model: [{ colId: "name", sort: "asc" }] },
999
- note: "Sort by name ascending."
1000
- }
1001
- ],
1002
- invoke: (t, e) => {
1003
- t.setSort(e.model);
1004
- }
1005
- },
1006
- go_to_page: {
1007
- safety: "read",
1008
- argsType: "{ page: number }",
1009
- argsSchema: {
1010
- type: "object",
1011
- properties: {
1012
- page: {
1013
- type: "integer",
1014
- minimum: 0,
1015
- description: "Zero-indexed page number."
1016
- }
1017
- },
1018
- required: ["page"]
1019
- },
1020
- idempotent: !0,
1021
- descriptionKey: "ui.agent.dataTable.actions.goToPage",
1022
- description: "Navigate to the given zero-indexed page.",
1023
- invoke: (t, e) => {
1024
- t.goToPage(e.page);
1025
- }
1026
- }
1027
- },
1028
- domHooks: {
1029
- root: {
1030
- attr: "data-component",
1031
- value: "data-table",
1032
- description: "Marks the DataTable wrapper."
1033
- },
1034
- instanceId: {
1035
- attr: "data-component-id",
1036
- sourceProp: "gridId",
1037
- description: "Sourced from the gridId prop. Required to address a specific table from the agent."
1038
- },
1039
- item: {
1040
- attr: "row-id",
1041
- description: "Native ag-grid row-id attribute on each rendered row. Selection is performed via the curated handle, not by DOM mutation."
1042
- }
1043
- }
1044
- };
1045
- Ct.registerModules([xt]);
1046
- const ea = Tt("ag-theme-alfadocs ds:w-full", {
1047
- variants: {
1048
- density: {
1049
- default: "",
1050
- compact: "data-table-compact",
1051
- expanded: "data-table-expanded"
1052
- },
1053
- bordered: {
1054
- true: "",
1055
- false: "ds:[--ag-borders:none]"
1056
- }
1057
- },
1058
- defaultVariants: {
1059
- density: "default",
1060
- bordered: !0
1061
- }
1062
- });
1063
- function ta() {
1064
- const { t } = F();
1065
- return E(
1066
- () => ({
1067
- // Filter strings
1068
- contains: t("dataTable.agGrid.contains"),
1069
- notContains: t("dataTable.agGrid.notContains"),
1070
- equals: t("dataTable.agGrid.equals"),
1071
- notEqual: t("dataTable.agGrid.notEqual"),
1072
- startsWith: t("dataTable.agGrid.startsWith"),
1073
- endsWith: t("dataTable.agGrid.endsWith"),
1074
- lessThan: t("dataTable.agGrid.lessThan"),
1075
- greaterThan: t("dataTable.agGrid.greaterThan"),
1076
- inRange: t("dataTable.agGrid.inRange"),
1077
- blank: t("dataTable.agGrid.blank"),
1078
- notBlank: t("dataTable.agGrid.notBlank"),
1079
- filterOoo: t("dataTable.agGrid.filterOoo"),
1080
- applyFilter: t("dataTable.agGrid.applyFilter"),
1081
- resetFilter: t("dataTable.agGrid.resetFilter"),
1082
- noRowsToShow: t("dataTable.agGrid.noRowsToShow"),
1083
- selectAll: t("dataTable.agGrid.selectAll"),
1084
- // Pagination
1085
- page: t("dataTable.page"),
1086
- of: t("dataTable.of"),
1087
- to: t("dataTable.to"),
1088
- nextPage: t("dataTable.nextPage"),
1089
- previousPage: t("dataTable.previousPage"),
1090
- firstPage: t("dataTable.firstPage"),
1091
- lastPage: t("dataTable.lastPage"),
1092
- pageSize: t("dataTable.pageSize")
1093
- }),
1094
- [t]
1095
- );
1096
- }
1097
- function aa() {
1098
- return /* @__PURE__ */ n(
1099
- "div",
1100
- {
1101
- role: "status",
1102
- "aria-live": "polite",
1103
- className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]",
1104
- children: Array.from({ length: 5 }).map((t, e) => /* @__PURE__ */ n(
1105
- ht,
1106
- {
1107
- variant: "rectangular",
1108
- className: "ds:h-[var(--min-target-size)] ds:w-full"
1109
- },
1110
- e
1111
- ))
1112
- }
1113
- );
1114
- }
1115
- function ra() {
1116
- const { t } = F();
1117
- return /* @__PURE__ */ n(
1118
- vt,
1119
- {
1120
- variant: "no-results",
1121
- size: "sm",
1122
- title: t("dataTable.noRows"),
1123
- description: t("dataTable.noRowsDescription")
1124
- }
1125
- );
1126
- }
1127
- function na(t) {
1128
- try {
1129
- const e = localStorage.getItem(`data-table-col-state:${t}`);
1130
- return e ? JSON.parse(e) : null;
1131
- } catch {
1132
- return null;
1133
- }
1134
- }
1135
- function oa(t, e) {
1136
- try {
1137
- localStorage.setItem(
1138
- `data-table-col-state:${t}`,
1139
- JSON.stringify(e.getColumnState())
1140
- );
1141
- } catch {
1142
- }
1143
- }
1144
- function sa(t, e) {
1145
- const {
1146
- columnDefs: a,
1147
- rowData: r,
1148
- rowSelection: o,
1149
- pagination: s = !1,
1150
- paginationPageSize: l = 25,
1151
- paginationPageSizeSelector: p = [10, 25, 50, 100],
1152
- gridId: i,
1153
- onSelectionChanged: d,
1154
- onSortChanged: c,
1155
- onFilterChanged: u,
1156
- noRowsOverlay: y,
1157
- loadingOverlay: g,
1158
- gridOptions: T,
1159
- density: C,
1160
- bordered: S,
1161
- heightClass: f = "ds:h-[500px]",
1162
- className: m,
1163
- getRowClass: b,
1164
- pinnedBottomRowData: h,
1165
- printMode: w = !1,
1166
- children: A
1167
- } = t, { t: k, i18n: $ } = F(), D = xe(null), [W, Xe] = R(0), [ne, oe] = R(""), Ze = ta(), se = E(
1168
- () => ({
1169
- getSelection: () => {
1170
- var N;
1171
- const v = (N = D.current) == null ? void 0 : N.api;
1172
- if (!v) return [];
1173
- const x = [];
1174
- for (const P of v.getSelectedNodes())
1175
- P.id != null && x.push(P.id);
1176
- return x;
1177
- },
1178
- setSelection: (v) => {
1179
- var P;
1180
- const x = (P = D.current) == null ? void 0 : P.api;
1181
- if (!x) return;
1182
- const N = new Set(v);
1183
- x.forEachNode((O) => {
1184
- O.id != null && O.setSelected(N.has(O.id));
1185
- });
1186
- },
1187
- selectRange: (v, x) => {
1188
- var be;
1189
- const N = (be = D.current) == null ? void 0 : be.api;
1190
- if (!N) return;
1191
- const P = [];
1192
- N.forEachNodeAfterFilterAndSort((U) => {
1193
- U.id != null && P.push(U.id);
1194
- });
1195
- const O = P.indexOf(v), q = P.indexOf(x);
1196
- if (O < 0 || q < 0) return;
1197
- const [K, ie] = O <= q ? [O, q] : [q, O], ce = new Set(P.slice(K, ie + 1));
1198
- N.forEachNode((U) => {
1199
- U.id != null && U.setSelected(ce.has(U.id));
1200
- });
1201
- },
1202
- clearSelection: () => {
1203
- var v, x;
1204
- (x = (v = D.current) == null ? void 0 : v.api) == null || x.deselectAll();
1205
- },
1206
- getFilter: () => {
1207
- var v, x;
1208
- return ((x = (v = D.current) == null ? void 0 : v.api) == null ? void 0 : x.getFilterModel()) ?? {};
1209
- },
1210
- setFilter: (v) => {
1211
- var x, N;
1212
- (N = (x = D.current) == null ? void 0 : x.api) == null || N.setFilterModel(v);
1213
- },
1214
- getSort: () => {
1215
- var x;
1216
- const v = (x = D.current) == null ? void 0 : x.api;
1217
- return v ? v.getColumnState().filter((N) => N.sort === "asc" || N.sort === "desc").map((N) => ({ colId: N.colId, sort: N.sort })) : [];
1218
- },
1219
- setSort: (v) => {
1220
- var P;
1221
- const x = (P = D.current) == null ? void 0 : P.api;
1222
- if (!x) return;
1223
- const N = x.getColumnState().map((O) => {
1224
- const q = v.find((K) => K.colId === O.colId);
1225
- return { ...O, sort: q ? q.sort : null };
1226
- });
1227
- x.applyColumnState({ state: N, defaultState: { sort: null } });
1228
- },
1229
- getCurrentPage: () => {
1230
- var v, x;
1231
- return ((x = (v = D.current) == null ? void 0 : v.api) == null ? void 0 : x.paginationGetCurrentPage()) ?? 0;
1232
- },
1233
- goToPage: (v) => {
1234
- var x, N;
1235
- (N = (x = D.current) == null ? void 0 : x.api) == null || N.paginationGoToPage(v);
1236
- },
1237
- getRawApi: () => {
1238
- var v;
1239
- return (v = D.current) == null ? void 0 : v.api;
1240
- }
1241
- }),
1242
- []
1243
- );
1244
- bt(e, () => se, [se]), It(Yt, se, i);
1245
- const Ye = $.dir() === "rtl", et = r === void 0, tt = kt(), { resolvedTheme: ge } = Et(), at = (ge === "light-accessible" || ge === "dark-accessible") && C === "compact" ? "default" : C, rt = E(() => {
1246
- if (o)
1247
- return o === "single" ? { mode: "singleRow" } : {
1248
- mode: "multiRow",
1249
- headerCheckbox: !0,
1250
- checkboxes: !0
1251
- };
1252
- }, [o]), nt = M(() => {
1253
- var x;
1254
- if (!i || !((x = D.current) != null && x.api)) return;
1255
- const v = na(i);
1256
- v && D.current.api.applyColumnState({
1257
- state: v,
1258
- applyOrder: !0
1259
- });
1260
- }, [i]), le = M(() => {
1261
- var v;
1262
- i && ((v = D.current) != null && v.api) && oa(i, D.current.api);
1263
- }, [i]), ot = E(() => {
1264
- if (!T) return;
1265
- const v = { ...T };
1266
- return delete v.defaultColDef, v;
1267
- }, [T]), st = M(() => {
1268
- var N;
1269
- const v = (N = D.current) == null ? void 0 : N.api;
1270
- if (!v) return;
1271
- const x = v.getSelectedRows();
1272
- Xe(x.length), d == null || d(x);
1273
- }, [d]), lt = M(
1274
- (v) => {
1275
- var N;
1276
- const x = (N = D.current) == null ? void 0 : N.api;
1277
- if (x) {
1278
- const O = x.getColumnState().find((q) => q.sort);
1279
- if (O) {
1280
- const q = O.colId, K = x.getColumnDef(q), ie = (K == null ? void 0 : K.headerName) ?? q, ce = O.sort === "asc" ? "dataTable.sortAscending" : "dataTable.sortDescending";
1281
- oe(
1282
- k("dataTable.sortAnnounce", {
1283
- column: ie,
1284
- direction: k(ce)
1285
- })
1286
- );
1287
- } else
1288
- oe("");
1289
- }
1290
- c == null || c(v);
1291
- },
1292
- [c, k]
1293
- ), it = M(
1294
- (v) => {
1295
- u == null || u(v);
1296
- },
1297
- [u]
1298
- );
1299
- z(() => {
1300
- if (!ne) return;
1301
- const v = setTimeout(() => oe(""), 3e3);
1302
- return () => clearTimeout(v);
1303
- }, [ne]);
1304
- const ct = y ?? ra, dt = g ?? aa, ut = M(
1305
- () => {
1306
- var v;
1307
- return (v = D.current) == null ? void 0 : v.api;
1308
- },
1309
- []
1310
- ), pt = M(() => {
1311
- typeof window < "u" && window.print();
1312
- }, []), ft = ea({
1313
- density: at,
1314
- bordered: S,
1315
- className: m
1316
- }), mt = A ?? /* @__PURE__ */ n(ee, { children: /* @__PURE__ */ n(ee.Actions, { children: /* @__PURE__ */ n(ee.ExportMenu, {}) }) }), gt = w ? !1 : s;
1317
- return /* @__PURE__ */ I(
1318
- "div",
1319
- {
1320
- className: "ds:flex ds:w-full ds:min-h-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]",
1321
- "aria-busy": et ? "true" : void 0,
1322
- "data-component": "data-table",
1323
- "data-component-id": i,
1324
- "data-print-mode": w ? "true" : void 0,
1325
- children: [
1326
- !w && /* @__PURE__ */ n(
1327
- Lt,
1328
- {
1329
- getApi: ut,
1330
- selectionCount: W,
1331
- onPrint: pt,
1332
- children: mt
1333
- }
1334
- ),
1335
- /* @__PURE__ */ n(
1336
- "div",
1337
- {
1338
- className: [ft, w ? "" : f].join(" ").trim(),
1339
- children: /* @__PURE__ */ n(
1340
- yt,
1341
- {
1342
- ref: D,
1343
- theme: "legacy",
1344
- columnDefs: a,
1345
- rowData: r,
1346
- defaultColDef: {
1347
- sortable: !0,
1348
- // Default filter = DS-styled text filter so untyped columns
1349
- // (no explicit `filter:` override) inherit the kit's form
1350
- // language instead of AG Grid's stock browser-skinned input.
1351
- // Number / date / select columns opt into their dedicated
1352
- // wrapper per-column.
1353
- filter: Xt,
1354
- floatingFilterComponent: Zt,
1355
- resizable: !0,
1356
- floatingFilter: !0,
1357
- // §13d — faint sort icon advertises which columns are
1358
- // sortable. v33+ moved this from grid-level to defaultColDef.
1359
- unSortIcon: !0,
1360
- ...T == null ? void 0 : T.defaultColDef
1361
- },
1362
- rowSelection: rt,
1363
- pagination: gt,
1364
- paginationPageSize: l,
1365
- paginationPageSizeSelector: p,
1366
- paginationNumberFormatter: (v) => new Intl.NumberFormat($.language).format(v.value),
1367
- animateRows: !tt,
1368
- enableRtl: Ye,
1369
- ensureDomOrder: !0,
1370
- enableCellSpan: !0,
1371
- enableCellTextSelection: !0,
1372
- copyHeadersToClipboard: !0,
1373
- accentedSort: !0,
1374
- multiSortKey: "ctrl",
1375
- suppressDragLeaveHidesColumns: !0,
1376
- suppressRowClickSelection: o ? !0 : void 0,
1377
- tooltipShowDelay: 500,
1378
- tooltipHideDelay: 5e3,
1379
- tooltipInteraction: !0,
1380
- stopEditingWhenCellsLoseFocus: !0,
1381
- maintainColumnOrder: !0,
1382
- undoRedoCellEditing: !0,
1383
- undoRedoCellEditingLimit: 20,
1384
- suppressCellFocus: !1,
1385
- rowBuffer: 10,
1386
- localeText: Ze,
1387
- noRowsOverlayComponent: ct,
1388
- loadingOverlayComponent: dt,
1389
- getRowClass: b,
1390
- pinnedBottomRowData: h,
1391
- domLayout: w ? "autoHeight" : void 0,
1392
- onGridReady: nt,
1393
- onColumnMoved: le,
1394
- onColumnResized: le,
1395
- onColumnPinned: le,
1396
- onSortChanged: lt,
1397
- onFilterChanged: it,
1398
- onSelectionChanged: st,
1399
- ...ot
1400
- }
1401
- )
1402
- }
1403
- ),
1404
- !w && /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:justify-between type-body-sm ds:text-[color:var(--muted-foreground)]", children: W > 0 ? /* @__PURE__ */ n("span", { children: k("dataTable.selected", { count: W }) }) : /* @__PURE__ */ n("span", {}) }),
1405
- /* @__PURE__ */ n("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: ne })
1406
- ]
1407
- }
1408
- );
1409
- }
1410
- const Je = G(sa);
1411
- Je.displayName = "DataTable";
1412
- const nr = Object.assign(Je, {
1413
- Toolbar: ee
1414
- });
1415
- function re(t) {
1416
- return t ? t.toISOString().slice(0, 10) : null;
1417
- }
1418
- function L(t) {
1419
- if (!t) return;
1420
- const e = new Date(t);
1421
- return Number.isNaN(e.getTime()) ? void 0 : e;
1422
- }
1423
- function or(t) {
1424
- const { model: e, onModelChange: a, getValue: r, doesRowPassOtherFilter: o } = t, [s, l] = R(() => ({
1425
- from: L(e == null ? void 0 : e.dateFrom),
1426
- to: L(e == null ? void 0 : e.dateTo)
1427
- }));
1428
- z(() => {
1429
- l({
1430
- from: L(e == null ? void 0 : e.dateFrom),
1431
- to: L(e == null ? void 0 : e.dateTo)
1432
- });
1433
- }, [e == null ? void 0 : e.dateFrom, e == null ? void 0 : e.dateTo]), X({
1434
- doesFilterPass: (i) => {
1435
- const d = L(e == null ? void 0 : e.dateFrom), c = L(e == null ? void 0 : e.dateTo);
1436
- if (!d && !c) return !0;
1437
- const u = r(i.node);
1438
- if (!u) return !1;
1439
- const y = u instanceof Date ? u : L(String(u));
1440
- return !(!y || d && y < d || c && y > c);
1441
- }
1442
- });
1443
- function p(i) {
1444
- if (l(i), !i.from && !i.to) {
1445
- a(null);
1446
- return;
1447
- }
1448
- a({
1449
- type: "inRange",
1450
- dateFrom: re(i.from),
1451
- dateTo: re(i.to)
1452
- });
1453
- }
1454
- return /* @__PURE__ */ n("div", { className: "ds:p-[var(--spacing-sm)] ds:min-w-[280px]", children: /* @__PURE__ */ n(Ee, { value: s, onChange: p, size: "sm" }) });
1455
- }
1456
- function sr(t) {
1457
- var i, d;
1458
- const { model: e, onModelChange: a, column: r } = t, o = ((d = (i = r == null ? void 0 : r.getColDef) == null ? void 0 : i.call(r)) == null ? void 0 : d.filterParams) ?? {}, [s, l] = R(() => ({
1459
- from: L(e == null ? void 0 : e.dateFrom),
1460
- to: L(e == null ? void 0 : e.dateTo)
1461
- }));
1462
- z(() => {
1463
- l({
1464
- from: L(e == null ? void 0 : e.dateFrom),
1465
- to: L(e == null ? void 0 : e.dateTo)
1466
- });
1467
- }, [e == null ? void 0 : e.dateFrom, e == null ? void 0 : e.dateTo]);
1468
- function p(c) {
1469
- if (l(c), !c.from && !c.to) {
1470
- a(null);
1471
- return;
1472
- }
1473
- a({
1474
- type: "inRange",
1475
- dateFrom: re(c.from),
1476
- dateTo: re(c.to)
1477
- });
1478
- }
1479
- return /* @__PURE__ */ n("div", { "data-component": "date-range-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
1480
- Ee,
1481
- {
1482
- value: s,
1483
- onChange: p,
1484
- size: "sm",
1485
- placeholder: o.placeholder
1486
- }
1487
- ) });
1488
- }
1489
- function H(t) {
1490
- return typeof t == "number" ? `n:${t}` : `s:${t}`;
1491
- }
1492
- function lr(t) {
1493
- const { model: e, onModelChange: a, getValue: r, api: o, column: s, options: l, placeholder: p } = t, { t: i } = F("ui"), d = E(() => {
1494
- if (l && l.length > 0) return l;
1495
- if (!o || !s) return [];
1496
- const f = /* @__PURE__ */ new Map();
1497
- return o.forEachNode((m) => {
1498
- const b = r(m);
1499
- if (b == null) return;
1500
- const h = typeof b == "string" || typeof b == "number" ? b : String(b), w = H(h);
1501
- f.has(w) || f.set(w, { value: h, label: String(h) });
1502
- }), Array.from(f.values()).sort(
1503
- (m, b) => String(m.label).localeCompare(String(b.label))
1504
- );
1505
- }, [l, o, s, r]), c = E(() => {
1506
- const f = /* @__PURE__ */ new Set(), m = (e == null ? void 0 : e.values) ?? [];
1507
- for (const b of m) f.add(H(b));
1508
- return f;
1509
- }, [e]), [u, y] = R(c);
1510
- z(() => {
1511
- y(c);
1512
- }, [c]), X({
1513
- doesFilterPass: (f) => {
1514
- const m = e == null ? void 0 : e.values;
1515
- if (!m || m.length === 0) return !0;
1516
- const b = r(f.node);
1517
- if (b == null) return !1;
1518
- const h = typeof b == "string" || typeof b == "number" ? b : String(b), w = H(h);
1519
- return m.some((A) => H(A) === w);
1520
- }
1521
- });
1522
- function g(f) {
1523
- y((m) => {
1524
- const b = new Set(m);
1525
- return b.has(f) ? b.delete(f) : b.add(f), b;
1526
- });
1527
- }
1528
- function T() {
1529
- if (u.size === 0) {
1530
- a(null);
1531
- return;
1532
- }
1533
- const f = [];
1534
- for (const m of d)
1535
- u.has(H(m.value)) && f.push(m.value);
1536
- a({ type: "set", values: f });
1537
- }
1538
- function C() {
1539
- y(/* @__PURE__ */ new Set()), a(null);
1540
- }
1541
- const S = p ?? i("dataTable.selectFilter.all");
1542
- return /* @__PURE__ */ I(
1543
- "div",
1544
- {
1545
- "data-component": "select-filter",
1546
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[200px] ds:max-w-[260px]",
1547
- children: [
1548
- /* @__PURE__ */ n(
1549
- "div",
1550
- {
1551
- role: "group",
1552
- "aria-label": S,
1553
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:max-h-[240px] ds:overflow-y-auto",
1554
- children: d.length === 0 ? /* @__PURE__ */ n("p", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:py-[var(--spacing-xs)]", children: i("dataTable.agGrid.noRowsToShow") }) : d.map((f) => {
1555
- const m = H(f.value);
1556
- return /* @__PURE__ */ n(
1557
- Re,
1558
- {
1559
- size: "sm",
1560
- label: f.label,
1561
- checked: u.has(m),
1562
- onCheckedChange: () => g(m)
1563
- },
1564
- m
1565
- );
1566
- })
1567
- }
1568
- ),
1569
- /* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
1570
- /* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: C, type: "button", children: i("dataTable.selectFilter.clear") }),
1571
- /* @__PURE__ */ n(j, { intent: "primary", size: "sm", onClick: T, type: "button", children: i("dataTable.selectFilter.apply") })
1572
- ] })
1573
- ]
1574
- }
1575
- );
1576
- }
1577
- function ir(t) {
1578
- var y;
1579
- const { model: e, onModelChange: a, column: r } = t, o = (y = r == null ? void 0 : r.getColDef) == null ? void 0 : y.call(r), s = (o == null ? void 0 : o.filterParams) ?? {}, l = s.options ?? [], p = s.placeholder ?? (typeof (o == null ? void 0 : o.headerName) == "string" ? o.headerName : void 0), i = E(() => {
1580
- const g = /* @__PURE__ */ new Map();
1581
- for (const T of l) g.set(String(T.value), T.value);
1582
- return g;
1583
- }, [l]), d = E(
1584
- () => l.map((g) => ({
1585
- value: String(g.value),
1586
- label: g.label
1587
- })),
1588
- [l]
1589
- ), c = E(
1590
- () => ((e == null ? void 0 : e.values) ?? []).map((g) => String(g)),
1591
- [e]
1592
- );
1593
- function u(g) {
1594
- if (g.length === 0) {
1595
- a(null);
1596
- return;
1597
- }
1598
- const T = [];
1599
- for (const C of g) {
1600
- const S = i.get(C);
1601
- S !== void 0 && T.push(S);
1602
- }
1603
- a({ type: "set", values: T });
1604
- }
1605
- return /* @__PURE__ */ n("div", { "data-component": "select-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
1606
- At,
1607
- {
1608
- size: "sm",
1609
- options: d,
1610
- value: c,
1611
- onChange: u,
1612
- placeholder: s.placeholder,
1613
- "aria-label": p,
1614
- allowClear: !0
1615
- }
1616
- ) });
1617
- }
1618
- function J(t) {
1619
- return t.trim().toLocaleLowerCase();
1620
- }
1621
- function cr(t) {
1622
- const {
1623
- model: e,
1624
- onModelChange: a,
1625
- getValue: r,
1626
- api: o,
1627
- column: s,
1628
- options: l,
1629
- loadOptions: p,
1630
- placeholder: i
1631
- } = t, { t: d } = F("ui"), c = E(() => {
1632
- if (l && l.length > 0) return l;
1633
- if (!o || !s) return [];
1634
- const m = /* @__PURE__ */ new Map();
1635
- return o.forEachNode((b) => {
1636
- const h = r(b);
1637
- if (h == null) return;
1638
- const w = typeof h == "string" ? h : String(h);
1639
- m.has(w) || m.set(w, { value: w, label: w });
1640
- }), Array.from(m.values()).sort(
1641
- (b, h) => b.label.localeCompare(h.label)
1642
- );
1643
- }, [l, o, s, r]), u = E(() => async (m, b) => {
1644
- if (p)
1645
- return (await p(m, b)).map((k) => ({ value: k.value, label: k.label }));
1646
- const h = J(m);
1647
- return (h ? c.filter((A) => J(A.label).includes(h)) : c).slice(0, 50).map((A) => ({ value: A.value, label: A.label }));
1648
- }, [p, c]), [y, g] = R((e == null ? void 0 : e.value) ?? "");
1649
- z(() => {
1650
- g((e == null ? void 0 : e.value) ?? "");
1651
- }, [e == null ? void 0 : e.value]), X({
1652
- doesFilterPass: (m) => {
1653
- const b = e == null ? void 0 : e.value;
1654
- if (!b) return !0;
1655
- const h = r(m.node);
1656
- if (h == null) return !1;
1657
- const w = typeof h == "string" ? h : String(h);
1658
- return J(w) === J(b);
1659
- }
1660
- });
1661
- function T(m) {
1662
- g(m.label), a({ type: "equals", value: m.value });
1663
- }
1664
- function C(m) {
1665
- g(m), m === "" && e && a(null);
1666
- }
1667
- function S() {
1668
- g(""), a(null);
1669
- }
1670
- const f = i ?? d("dataTable.typeaheadFilter.placeholder");
1671
- return /* @__PURE__ */ I(
1672
- "div",
1673
- {
1674
- "data-component": "typeahead-filter",
1675
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
1676
- children: [
1677
- /* @__PURE__ */ n(
1678
- Ae,
1679
- {
1680
- size: "sm",
1681
- value: y,
1682
- onChange: C,
1683
- onSelect: T,
1684
- loadOptions: u,
1685
- placeholder: f,
1686
- "aria-label": f
1687
- }
1688
- ),
1689
- /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:justify-end ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: /* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: S, type: "button", children: d("dataTable.typeaheadFilter.clear") }) })
1690
- ]
1691
- }
1692
- );
1693
- }
1694
- function dr(t) {
1695
- var T, C;
1696
- const { model: e, onModelChange: a, column: r } = t, { t: o } = F("ui"), s = ((C = (T = r == null ? void 0 : r.getColDef) == null ? void 0 : T.call(r)) == null ? void 0 : C.filterParams) ?? {}, l = s.options ?? [], p = s.loadOptions, i = s.placeholder ?? o("dataTable.typeaheadFilter.placeholder"), d = E(() => async (S, f) => {
1697
- if (p)
1698
- return (await p(S, f)).map((w) => ({ value: w.value, label: w.label }));
1699
- const m = J(S);
1700
- return (m ? l.filter((h) => J(h.label).includes(m)) : l).slice(0, 50).map((h) => ({ value: h.value, label: h.label }));
1701
- }, [p, l]), [c, u] = R((e == null ? void 0 : e.value) ?? "");
1702
- z(() => {
1703
- u((e == null ? void 0 : e.value) ?? "");
1704
- }, [e == null ? void 0 : e.value]);
1705
- function y(S) {
1706
- u(S.label), a({ type: "equals", value: S.value });
1707
- }
1708
- function g(S) {
1709
- u(S), S === "" && e && a(null);
1710
- }
1711
- return /* @__PURE__ */ n("div", { "data-component": "typeahead-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
1712
- Ae,
1713
- {
1714
- size: "sm",
1715
- value: c,
1716
- onChange: g,
1717
- onSelect: y,
1718
- loadOptions: d,
1719
- placeholder: i,
1720
- "aria-label": i
1721
- }
1722
- ) });
1723
- }
1724
- const la = [
1725
- "equals",
1726
- "notEqual",
1727
- "greaterThan",
1728
- "greaterThanOrEqual",
1729
- "lessThan",
1730
- "lessThanOrEqual",
1731
- "inRange",
1732
- "blank",
1733
- "notBlank"
1734
- ];
1735
- function ve(t) {
1736
- return t !== "blank" && t !== "notBlank";
1737
- }
1738
- function Te(t) {
1739
- return t === "inRange";
1740
- }
1741
- function ia(t, e, a, r) {
1742
- if (t === "blank") return e === null;
1743
- if (t === "notBlank") return e !== null;
1744
- if (e === null) return !1;
1745
- if (a === null) return !0;
1746
- switch (t) {
1747
- case "equals":
1748
- return e === a;
1749
- case "notEqual":
1750
- return e !== a;
1751
- case "greaterThan":
1752
- return e > a;
1753
- case "greaterThanOrEqual":
1754
- return e >= a;
1755
- case "lessThan":
1756
- return e < a;
1757
- case "lessThanOrEqual":
1758
- return e <= a;
1759
- case "inRange": {
1760
- if (r === null) return e >= a;
1761
- const o = Math.min(a, r), s = Math.max(a, r);
1762
- return e >= o && e <= s;
1763
- }
1764
- default:
1765
- return !0;
1766
- }
1767
- }
1768
- function ca(t) {
1769
- if (t == null || t === "") return null;
1770
- const e = typeof t == "number" ? t : Number(t);
1771
- return Number.isNaN(e) ? null : e;
1772
- }
1773
- function ur(t) {
1774
- const {
1775
- model: e,
1776
- onModelChange: a,
1777
- getValue: r,
1778
- defaultOperator: o,
1779
- min: s,
1780
- max: l,
1781
- step: p,
1782
- placeholder: i
1783
- } = t, { t: d } = F("ui"), c = (e == null ? void 0 : e.type) ?? o ?? "equals", [u, y] = R(c), [g, T] = R((e == null ? void 0 : e.filter) ?? null), [C, S] = R(
1784
- (e == null ? void 0 : e.filterTo) ?? null
1785
- );
1786
- z(() => {
1787
- if (e === null) {
1788
- y(o ?? "equals"), T(null), S(null);
1789
- return;
1790
- }
1791
- y(e.type), T(e.filter ?? null), S(e.filterTo ?? null);
1792
- }, [e, o]), X({
1793
- doesFilterPass: (k) => {
1794
- if (!e) return !0;
1795
- const $ = ca(r(k.node));
1796
- return ia(
1797
- e.type,
1798
- $,
1799
- e.filter ?? null,
1800
- e.filterTo ?? null
1801
- );
1802
- }
1803
- });
1804
- const f = E(
1805
- () => la.map((k) => ({
1806
- value: k,
1807
- label: d(`dataTable.numberFilter.operators.${k}`)
1808
- })),
1809
- [d]
1810
- ), m = i ?? d("dataTable.numberFilter.placeholder");
1811
- function b() {
1812
- if (!ve(u)) {
1813
- a({ type: u, filter: 0 });
1814
- return;
1815
- }
1816
- if (g === null) {
1817
- a(null);
1818
- return;
1819
- }
1820
- if (Te(u)) {
1821
- a({
1822
- type: u,
1823
- filter: g,
1824
- filterTo: C ?? void 0
1825
- });
1826
- return;
1827
- }
1828
- a({ type: u, filter: g });
1829
- }
1830
- function h() {
1831
- y(o ?? "equals"), T(null), S(null), a(null);
1832
- }
1833
- const w = ve(u), A = Te(u);
1834
- return /* @__PURE__ */ I(
1835
- "div",
1836
- {
1837
- "data-component": "number-filter",
1838
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
1839
- children: [
1840
- /* @__PURE__ */ n(
1841
- ke,
1842
- {
1843
- size: "sm",
1844
- options: f,
1845
- value: u,
1846
- onValueChange: (k) => {
1847
- k !== "" && y(k);
1848
- },
1849
- "aria-label": d("dataTable.numberFilter.operators.equals")
1850
- }
1851
- ),
1852
- w && !A && /* @__PURE__ */ n(
1853
- Y,
1854
- {
1855
- size: "sm",
1856
- value: g,
1857
- onChange: T,
1858
- min: s,
1859
- max: l,
1860
- step: p,
1861
- placeholder: m,
1862
- "aria-label": m
1863
- }
1864
- ),
1865
- A && /* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1866
- /* @__PURE__ */ n(
1867
- Y,
1868
- {
1869
- size: "sm",
1870
- value: g,
1871
- onChange: T,
1872
- min: s,
1873
- max: l,
1874
- step: p,
1875
- placeholder: d("dataTable.numberFilter.from"),
1876
- "aria-label": d("dataTable.numberFilter.from")
1877
- }
1878
- ),
1879
- /* @__PURE__ */ n(
1880
- Y,
1881
- {
1882
- size: "sm",
1883
- value: C,
1884
- onChange: S,
1885
- min: s,
1886
- max: l,
1887
- step: p,
1888
- placeholder: d("dataTable.numberFilter.to"),
1889
- "aria-label": d("dataTable.numberFilter.to")
1890
- }
1891
- )
1892
- ] }),
1893
- /* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
1894
- /* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: h, type: "button", children: d("dataTable.numberFilter.clear") }),
1895
- /* @__PURE__ */ n(j, { intent: "primary", size: "sm", onClick: b, type: "button", children: d("dataTable.numberFilter.apply") })
1896
- ] })
1897
- ]
1898
- }
1899
- );
1900
- }
1901
- function pr(t) {
1902
- var c, u;
1903
- const { model: e, onModelChange: a, column: r } = t, { t: o } = F("ui"), s = ((u = (c = r == null ? void 0 : r.getColDef) == null ? void 0 : c.call(r)) == null ? void 0 : u.filterParams) ?? {}, l = s.defaultOperator ?? "equals", p = s.placeholder ?? o("dataTable.numberFilter.placeholder"), [i, d] = R((e == null ? void 0 : e.filter) ?? null);
1904
- return z(() => {
1905
- d((e == null ? void 0 : e.filter) ?? null);
1906
- }, [e == null ? void 0 : e.filter]), z(() => {
1907
- if (i === ((e == null ? void 0 : e.filter) ?? null)) return;
1908
- const y = setTimeout(() => {
1909
- if (i === null || Number.isNaN(i)) {
1910
- a(null);
1911
- return;
1912
- }
1913
- a({ type: l, filter: i });
1914
- }, 200);
1915
- return () => clearTimeout(y);
1916
- }, [i, l]), /* @__PURE__ */ n("div", { "data-component": "number-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
1917
- Y,
1918
- {
1919
- size: "sm",
1920
- value: i,
1921
- onChange: d,
1922
- min: s.min,
1923
- max: s.max,
1924
- step: s.step,
1925
- placeholder: p,
1926
- "aria-label": p
1927
- }
1928
- ) });
1929
- }
1930
- function fr(t) {
1931
- const { value: e, variantMap: a } = t, r = (a == null ? void 0 : a[e]) ?? "neutral";
1932
- return /* @__PURE__ */ n(Ot, { variant: r, withDot: !0, size: "sm", children: String(e ?? "") });
1933
- }
1934
- function mr(t) {
1935
- const { value: e } = t;
1936
- return e ? /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
1937
- /* @__PURE__ */ n(Oe, { name: e.name, src: e.src, size: "sm" }),
1938
- /* @__PURE__ */ n("span", { children: e.name })
1939
- ] }) : null;
1940
- }
1941
- const da = {
1942
- sm: "ds:size-8",
1943
- md: "ds:size-10",
1944
- lg: "ds:size-12"
1945
- }, ua = {
1946
- square: "ds:rounded-none",
1947
- rounded: "ds:rounded-[var(--radius-md)]",
1948
- circle: "ds:rounded-[var(--radius-full)]"
1949
- };
1950
- function de(t, e) {
1951
- if (!t || typeof t != "object") return;
1952
- const a = t[e];
1953
- return typeof a == "string" ? a : void 0;
1954
- }
1955
- const pa = /^(?:https?:|data:image\/)/i;
1956
- function fa(t) {
1957
- if (!t) return;
1958
- const e = t.trim();
1959
- if (e.length !== 0)
1960
- return pa.test(e) ? e : void 0;
1961
- }
1962
- function gr(t) {
1963
- const {
1964
- data: e,
1965
- srcField: a,
1966
- altField: r,
1967
- fallbackField: o,
1968
- size: s = "md",
1969
- shape: l = "rounded"
1970
- } = t;
1971
- if (!e) return null;
1972
- const p = de(e, a), i = fa(p), d = r ? de(e, r) ?? "" : "", c = o ? de(e, o) : void 0;
1973
- return i ? /* @__PURE__ */ n(
1974
- "img",
1975
- {
1976
- src: i,
1977
- alt: d,
1978
- loading: "lazy",
1979
- decoding: "async",
1980
- className: ["ds:object-cover", da[s], ua[l]].join(
1981
- " "
1982
- )
1983
- }
1984
- ) : c ? /* @__PURE__ */ n(Oe, { name: c, size: s }) : null;
1985
- }
1986
- function br(t) {
1987
- const { value: e, maxVisible: a = 3 } = t, { t: r } = F();
1988
- if (!Array.isArray(e) || e.length === 0) return null;
1989
- const o = e.slice(0, a), s = e.length - a;
1990
- return /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1991
- o.map((l) => /* @__PURE__ */ n(te, { label: l, size: "sm" }, l)),
1992
- s > 0 && /* @__PURE__ */ n(zt, { label: e.slice(a).join(", "), children: /* @__PURE__ */ n(
1993
- te,
1994
- {
1995
- label: r("inputs.multiSelect.overflow", { count: s }),
1996
- size: "sm",
1997
- variant: "neutral",
1998
- fill: "outline"
1999
- }
2000
- ) })
2001
- ] });
2002
- }
2003
- const ma = {
2004
- date: { year: "numeric", month: "short", day: "numeric" },
2005
- time: { hour: "2-digit", minute: "2-digit" },
2006
- datetime: {
2007
- year: "numeric",
2008
- month: "short",
2009
- day: "numeric",
2010
- hour: "2-digit",
2011
- minute: "2-digit"
2012
- }
2013
- };
2014
- function hr(t) {
2015
- const { value: e, format: a = "date", options: r } = t;
2016
- return e == null || e === "" ? null : a === "relative" && !r ? /* @__PURE__ */ n(he, { value: e, shape: "bare" }) : /* @__PURE__ */ n(
2017
- he,
2018
- {
2019
- value: e,
2020
- format: "absolute",
2021
- shape: "bare",
2022
- absoluteFormat: r ?? ma[a === "relative" ? "date" : a]
2023
- }
2024
- );
2025
- }
2026
- function ga(t) {
2027
- if (t == null || t === "") return null;
2028
- const e = typeof t == "number" ? t : Number(t);
2029
- return Number.isFinite(e) ? e : null;
2030
- }
2031
- function vr(t) {
2032
- const {
2033
- value: e,
2034
- currency: a = "EUR",
2035
- colorNegative: r,
2036
- strikethrough: o,
2037
- options: s
2038
- } = t, { i18n: l } = F(), p = ga(e);
2039
- if (p === null) return null;
2040
- const i = l.language || "en", d = new Intl.NumberFormat(i, {
2041
- style: "currency",
2042
- currency: a,
2043
- ...s
2044
- }).format(p), c = ["ds:tabular-nums"];
2045
- return r && p < 0 && c.push("ds:text-[color:var(--destructive)]"), o && c.push("line-through"), /* @__PURE__ */ n("span", { className: c.join(" "), children: d });
2046
- }
2047
- function ye(t) {
2048
- if (!Ne(t)) return t;
2049
- const e = t, a = e.props.className ?? "", r = /\bsize-|\bw-|\bh-/.test(a) ? a : `${a} size-4`.trim();
2050
- return Fe(e, { className: r, size: e.props.size ?? 16 });
2051
- }
2052
- function Tr(t) {
2053
- return Math.max(1, t) * 32 + 26;
2054
- }
2055
- function ue(t, e) {
2056
- return typeof t == "function" ? t(e) : !!t;
2057
- }
2058
- const ba = "ds:text-[color:var(--destructive)] ds:hover:text-[color:var(--destructive-hover)]";
2059
- function yr(t) {
2060
- const { data: e, actions: a, intent: r = "ghost", group: o, label: s, collapsed: l } = t, { t: p } = F();
2061
- if (!e) return null;
2062
- const i = a.filter((u) => !ue(u.hidden, e));
2063
- if (typeof l == "function" ? l() : !!l)
2064
- return /* @__PURE__ */ I(_.Root, { children: [
2065
- /* @__PURE__ */ n(_.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
2066
- V,
2067
- {
2068
- size: "sm",
2069
- intent: r,
2070
- icon: /* @__PURE__ */ n(Mt, { "aria-hidden": !0 }),
2071
- "aria-label": s ?? p("dataTable.actions", "Actions")
2072
- }
2073
- ) }),
2074
- /* @__PURE__ */ n(_.Content, { align: "end", children: i.map((u, y) => /* @__PURE__ */ n(
2075
- _.Item,
2076
- {
2077
- startIcon: ye(u.icon),
2078
- disabled: ue(u.disabled, e),
2079
- onSelect: () => u.onClick(e),
2080
- className: u.variant === "destructive" ? "ds:text-[color:var(--destructive)]" : void 0,
2081
- children: u.label
2082
- },
2083
- y
2084
- )) })
2085
- ] });
2086
- const c = i.map((u, y) => {
2087
- const g = ue(u.disabled, e), T = g && u.disabledReason ? u.disabledReason : u.label;
2088
- return /* @__PURE__ */ n(
2089
- V,
2090
- {
2091
- size: "sm",
2092
- intent: r,
2093
- icon: ye(u.icon),
2094
- tooltip: T,
2095
- "aria-label": u.label,
2096
- disabled: g,
2097
- onClick: (C) => {
2098
- C.stopPropagation(), u.onClick(e);
2099
- },
2100
- className: u.variant === "destructive" ? ba : void 0
2101
- },
2102
- y
2103
- );
2104
- });
2105
- return o ? /* @__PURE__ */ n(
2106
- Pt,
2107
- {
2108
- "aria-label": s ?? p("dataTable.actions", "Actions"),
2109
- size: "sm",
2110
- children: c
2111
- }
2112
- ) : /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: c });
2113
- }
2114
- function Ce(t, e) {
2115
- return typeof t == "function" ? t(e) : t;
2116
- }
2117
- function ha(t) {
2118
- return /^(https?:\/\/|\/|#|mailto:|tel:)/i.test(t) ? t : "#";
2119
- }
2120
- function Cr(t) {
2121
- const { value: e, data: a, href: r, onClick: o, secondary: s } = t;
2122
- if (!a) return null;
2123
- const l = Ce(r, a), p = Ce(s, a), i = e == null || e === "" ? "" : String(e), d = [
2124
- "ds:text-[color:var(--primary)]",
2125
- "ds:hover:underline",
2126
- "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
2127
- "ds:focus-visible:outline-solid",
2128
- "ds:focus-visible:outline-[color:var(--ring)]",
2129
- "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
2130
- "ds:rounded-[var(--radius-sm)]"
2131
- ].join(" "), c = (u) => {
2132
- o && (l || u.preventDefault(), u.stopPropagation(), o(a));
2133
- };
2134
- return /* @__PURE__ */ I("span", { className: "ds:flex ds:flex-col ds:leading-tight", children: [
2135
- l ? /* @__PURE__ */ n(
2136
- "a",
2137
- {
2138
- href: ha(l),
2139
- onClick: c,
2140
- className: d,
2141
- children: i
2142
- }
2143
- ) : /* @__PURE__ */ n(
2144
- "button",
2145
- {
2146
- type: "button",
2147
- onClick: c,
2148
- className: [
2149
- "ds:appearance-none ds:bg-transparent ds:p-0 ds:text-start",
2150
- d
2151
- ].join(" "),
2152
- children: i
2153
- }
2154
- ),
2155
- p ? /* @__PURE__ */ n("span", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: p }) : null
2156
- ] });
2157
- }
2158
- export {
2159
- yr as A,
2160
- vr as C,
2161
- nr as D,
2162
- gr as I,
2163
- Cr as L,
2164
- ur as N,
2165
- lr as S,
2166
- br as T,
2167
- mr as U,
2168
- hr as a,
2169
- or as b,
2170
- sr as c,
2171
- pr as d,
2172
- ir as e,
2173
- fr as f,
2174
- Xt as g,
2175
- Zt as h,
2176
- ee as i,
2177
- Lt as j,
2178
- cr as k,
2179
- dr as l,
2180
- Tr as m,
2181
- Yt as n,
2182
- je as o
2183
- };
2184
- //# sourceMappingURL=link-cell-renderer-CTXqtXV-.js.map