@alfadocs/ui-kit 1.141.0 → 1.142.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 (232) hide show
  1. package/dist/_chunks/{actions-cell-renderer-C-l_ppP6.js → actions-cell-renderer-CPNyF6ye.js} +3 -3
  2. package/dist/_chunks/{ai-credits-notice-BNFcQoXo.js → ai-credits-notice-D_Zm_N2A.js} +2 -2
  3. package/dist/_chunks/{ai-prompt-input-B2QFwuJ1.js → ai-prompt-input-y4-dtQIT.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CVBlKur9.js → alia-sidebar-uxTsUbIt.js} +2 -2
  5. package/dist/_chunks/{anamnesis-summary-rows-YJGs2uWD.js → anamnesis-summary-rows-C2Ca9_Qj.js} +8 -8
  6. package/dist/_chunks/{appointment-card-r0OZm77v.js → appointment-card-C0UFYFLZ.js} +2 -2
  7. package/dist/_chunks/{appointment-details-panel.history-DrIMDQYf.js → appointment-details-panel.history-BUXwhill.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-BP_ACFz5.js → appointment-peek-BCzekfWh.js} +3 -3
  9. package/dist/_chunks/{appointment-timeline-Bs-rTMzi.js → appointment-timeline-BK68CCBl.js} +4 -4
  10. package/dist/_chunks/{appointment-tray-t_ltp-Yi.js → appointment-tray-dfgScPcC.js} +2 -2
  11. package/dist/_chunks/{audio-recorder-6dUq8I38.js → audio-recorder-DxhCiLqG.js} +2 -2
  12. package/dist/_chunks/{balance-badge-cell-CRStPNDd.js → balance-badge-cell-CXi6moSa.js} +5 -5
  13. package/dist/_chunks/{bill-line-table-DTqXdBED.js → bill-line-table-qAdmV19W.js} +2 -2
  14. package/dist/_chunks/{bishop-score-M7Fi-ykx.js → bishop-score-DbvfBlBM.js} +2 -2
  15. package/dist/_chunks/{button-group-DuQuuulC.js → button-group-DoKG16Fy.js} +2 -2
  16. package/dist/_chunks/{calculator-dialog-Cg3GjaRf.js → calculator-dialog-BWizCwN5.js} +2 -2
  17. package/dist/_chunks/{calendar-appointment-editor-dialog-CuXpgLCw.js → calendar-appointment-editor-dialog-BDc8Q4Ji.js} +17 -17
  18. package/dist/_chunks/{calendar-editor-discard-host-BcMEgVEq.js → calendar-editor-discard-host-BblBxMqT.js} +5 -5
  19. package/dist/_chunks/{calendar-waiting-list-panel-BNQrUndD.js → calendar-waiting-list-panel-js-0KEh8.js} +6 -6
  20. package/dist/_chunks/{calendar.sheets-DcW8A3DI.js → calendar.sheets-sBWH7Jxn.js} +12 -12
  21. package/dist/_chunks/{calls-panel-CJNQm7r8.js → calls-panel-CnjAKFgA.js} +92 -90
  22. package/dist/_chunks/{care-plan-card-CjHq6PLo.js → care-plan-card-TZH6C60K.js} +2 -2
  23. package/dist/_chunks/{care-plan-entry-card-DY1toF6E.js → care-plan-entry-card-CufvXAWa.js} +2 -2
  24. package/dist/_chunks/{chart-D0EeFWst.js → chart-ChNsJf9_.js} +2 -2
  25. package/dist/_chunks/{color-picker-CC8ZfntU.js → color-picker-5FKOk_z1.js} +2 -2
  26. package/dist/_chunks/{communications-panel-DBWM9II9.js → communications-panel-EP27FN7e.js} +3 -3
  27. package/dist/_chunks/{control-room-rail-DcJpHbp4.js → control-room-rail-7SidoPJH.js} +2 -2
  28. package/dist/_chunks/{cycle-calculator-Cb66X2Pf.js → cycle-calculator-BUCGfEcy.js} +2 -2
  29. package/dist/_chunks/{dashboard-grid-2uVXEe9e.js → dashboard-grid-D2egA1Zu.js} +2 -2
  30. package/dist/_chunks/{data-grid-tabs-D9Y4DeeH.js → data-grid-tabs-Mbj6bSK2.js} +2 -2
  31. package/dist/_chunks/{data-grid-CRUSZcVT.js → data-grid-tyE2kGfx.js} +5 -5
  32. package/dist/_chunks/{data-table-CnLfOwxg.js → data-table-Bq1FRBGB.js} +4 -4
  33. package/dist/_chunks/{data-table-tabs-NYLhD8_Z.js → data-table-tabs-D5ujdK56.js} +2 -2
  34. package/dist/_chunks/{date-picker-BmVBVpVu.js → date-picker-CD-PBzXM.js} +2 -2
  35. package/dist/_chunks/{date-range-panel-CT9Pk-HF.js → date-range-panel-BOgfP_V3.js} +2 -2
  36. package/dist/_chunks/{date-range-picker-2Up_FRrM.js → date-range-picker-Z-hI5Vb7.js} +2 -2
  37. package/dist/_chunks/{date-time-picker-C6b_Vymc.js → date-time-picker-DHza1SEH.js} +2 -2
  38. package/dist/_chunks/{default-tabs-CRbVCDSU.js → default-tabs-ChkVzOL8.js} +7 -7
  39. package/dist/_chunks/dialog-239Geb7Z.js +431 -0
  40. package/dist/_chunks/dialog-container-DHR0byah.js +17 -0
  41. package/dist/_chunks/{document-preview-FTCHXYhk.js → document-preview-x_S8V7VC.js} +3 -3
  42. package/dist/_chunks/{dropdown-menu-DBWaW4pq.js → dropdown-menu-Bm1KALnk.js} +2 -2
  43. package/dist/_chunks/{due-date-calculator-Dlqegxx9.js → due-date-calculator-DpN0Z9p4.js} +2 -2
  44. package/dist/_chunks/{editable-currency-cell-renderer-CZMQ5xRT.js → editable-currency-cell-renderer-C6z6ABN_.js} +2 -2
  45. package/dist/_chunks/{face-scheme-Bxt7ZnJn.js → face-scheme-S88jbOzl.js} +3 -3
  46. package/dist/_chunks/{file-manager-Bsccb8Jj.js → file-manager-ChQSjfU8.js} +5 -5
  47. package/dist/_chunks/{gestational-age-calculator-DXSPWG8u.js → gestational-age-calculator-CCDIhSMV.js} +3 -3
  48. package/dist/_chunks/{hcg-doubling-Dqbj6PQj.js → hcg-doubling-BekuksBv.js} +2 -2
  49. package/dist/_chunks/{header-settings-Cu-MKOsO.js → header-settings-CvZ7Qii6.js} +3 -3
  50. package/dist/_chunks/{heatmap-CFPaEKD_.js → heatmap-D0OGx-70.js} +3 -3
  51. package/dist/_chunks/{help-me-write-templates-DO6vJeP4.js → help-me-write-templates-C84_4iwX.js} +2 -2
  52. package/dist/_chunks/{hover-card-CuRIA4wN.js → hover-card-CIiPOlyM.js} +2 -2
  53. package/dist/_chunks/{icon-button-group-SmkdVCNx.js → icon-button-group-CLhC7wjU.js} +2 -2
  54. package/dist/_chunks/{icon-picker-BmU6gpZT.js → icon-picker-Ct6n8GTa.js} +2 -2
  55. package/dist/_chunks/{info-tip-B3cn3fY2.js → info-tip-CkH2En-i.js} +2 -2
  56. package/dist/_chunks/{invoice-upload-list-BR6vycF7.js → invoice-upload-list-CZ1B9yWh.js} +4 -4
  57. package/dist/_chunks/{kit-extensions-QddOSnIq.js → kit-extensions-C_oZ7WOq.js} +4 -4
  58. package/dist/_chunks/{link-cell-renderer-hAJplRFF.js → link-cell-renderer-ByOAy2Sb.js} +4 -4
  59. package/dist/_chunks/{locale-picker-C86h8Yt1.js → locale-picker-OrojXX6E.js} +2 -2
  60. package/dist/_chunks/{marketplace-app-shell-dMmxI6MT.js → marketplace-app-shell-DnL187-U.js} +4 -4
  61. package/dist/_chunks/{message-tray-pLGgLmoG.js → message-tray-g6dp_AAt.js} +2 -2
  62. package/dist/_chunks/{muscle-scheme-BB2eBfww.js → muscle-scheme-vNd8wU7V.js} +2 -2
  63. package/dist/_chunks/{non-modal-tab-exit-j3CPOuE3.js → non-modal-tab-exit-DqJao_E-.js} +2 -1
  64. package/dist/_chunks/{notes-panel-C4HSUudf.js → notes-panel-CtMLUJOe.js} +5 -4
  65. package/dist/_chunks/{notification-tray-mlCfxNRH.js → notification-tray-DqCYs9Bw.js} +2 -2
  66. package/dist/_chunks/{optical-prescription-GzeK_2cf.js → optical-prescription-CWwrW4YQ.js} +2 -2
  67. package/dist/_chunks/{pagination-C7N_NiRN.js → pagination-BpXG5jVk.js} +2 -2
  68. package/dist/_chunks/{parts-BOnDDU3E.js → parts-IFiXO68Y.js} +3 -3
  69. package/dist/_chunks/{patient-account-settings-nSvNKKOL.js → patient-account-settings-e8Wp2g-F.js} +3 -3
  70. package/dist/_chunks/{patient-check-in-resume-Cj2wg_NQ.js → patient-check-in-resume-_nwf9gpx.js} +5 -5
  71. package/dist/_chunks/{patient-details-D0PjzALT.js → patient-details-6uJZ27ZL.js} +2 -2
  72. package/dist/_chunks/{patient-field-row-DlpIModg.js → patient-field-row-D8Cu_MQp.js} +5 -5
  73. package/dist/_chunks/{patient-search-aTFd7p9s.js → patient-search-C6-INPjs.js} +2 -2
  74. package/dist/_chunks/{patient-summary-card-BP_K7g_q.js → patient-summary-card-NYjO0IfN.js} +3 -3
  75. package/dist/_chunks/{pdf-viewer-TRC5jEm5.js → pdf-viewer-C8no312t.js} +2 -2
  76. package/dist/_chunks/{phone-input-DRKcJUi4.js → phone-input-DHiYJZ9v.js} +2 -2
  77. package/dist/_chunks/{popover-CN5IsOeS.js → popover-CkvP3rHZ.js} +2 -2
  78. package/dist/_chunks/{popup-region-qz_5_A0V.js → popup-region-BgZ8oeUB.js} +2 -2
  79. package/dist/_chunks/{portal-details-Cnyqf9kY.js → portal-details-D9oF6FUV.js} +2 -2
  80. package/dist/_chunks/{portal-documents-g109Dl0O.js → portal-documents-DSiLSave.js} +5 -5
  81. package/dist/_chunks/{portal-parts-DgDFuED8.js → portal-parts-8qrUM-uK.js} +3 -3
  82. package/dist/_chunks/{practice-results-DaxGw9_f.js → practice-results-BUEsl2Pj.js} +3 -3
  83. package/dist/_chunks/{pregnancy-dating-a6WIg4oy.js → pregnancy-dating-wc9iCN0f.js} +3 -3
  84. package/dist/_chunks/{prescription-history-Bp_JHhdF.js → prescription-history-DFcPXYdF.js} +8 -8
  85. package/dist/_chunks/{product-hub-panel-K4QbULG7.js → product-hub-panel-BPpmVDm5.js} +2 -2
  86. package/dist/_chunks/{public-header.agent-DaeDfLfy.js → public-header.agent-Dsl9zhA2.js} +2 -2
  87. package/dist/_chunks/{radiograph-panel.agent-88VjqlG7.js → radiograph-panel.agent-CSpr2paU.js} +4 -4
  88. package/dist/_chunks/{registration-form-Cs9o6e5q.js → registration-form-DRGMzq9V.js} +3 -3
  89. package/dist/_chunks/{reserved.agent-L2ElYPuj.js → reserved.agent-C_pr0bHy.js} +4 -4
  90. package/dist/_chunks/{rich-text-editor-orJ-hPgm.js → rich-text-editor-CQ54ybTB.js} +7 -7
  91. package/dist/_chunks/{row-actions-BF2-uizV.js → row-actions-C6d6vy5z.js} +3 -3
  92. package/dist/_chunks/{saved-view-tabs-DLWm88Eq.js → saved-view-tabs-CVUM3Nqz.js} +2 -2
  93. package/dist/_chunks/{select-Bm8s3q-X.js → select-Bw5FvGJ7.js} +2 -2
  94. package/dist/_chunks/{send-registration-link-form-C1vw6H1M.js → send-registration-link-form-D-NkS__p.js} +3 -3
  95. package/dist/_chunks/{sheet-BdhYeQQT.js → sheet-BIAhwdyS.js} +2 -2
  96. package/dist/_chunks/{sign-document-DDZbmYHu.js → sign-document-BUhWw-7S.js} +2 -2
  97. package/dist/_chunks/{signature-request-D3sLLOM6.js → signature-request-BfKo3vOz.js} +4 -4
  98. package/dist/_chunks/{signing-end-screen-BdhbkPKO.js → signing-end-screen-Pmda6tCH.js} +4 -4
  99. package/dist/_chunks/{step-up-dialog-C2JqJmCA.js → step-up-dialog-C1O8ctoh.js} +2 -2
  100. package/dist/_chunks/{sync-tray-BhnkgXKK.js → sync-tray-BTmveFGE.js} +2 -2
  101. package/dist/_chunks/{tab-bar-CeC2QOwB.js → tab-bar-C6tPDq9s.js} +2 -2
  102. package/dist/_chunks/{tabs-BXr5XeGq.js → tabs-BOf9OO--.js} +3 -3
  103. package/dist/_chunks/{task-editor-DDVDPKJf.js → task-editor-DNkrLbgK.js} +7 -6
  104. package/dist/_chunks/{tasks-panel-BHXaPNOZ.js → tasks-panel-Dmp49cBo.js} +3 -3
  105. package/dist/_chunks/{theme-toggle-BQDFxvVS.js → theme-toggle-C2LPw3xr.js} +3 -3
  106. package/dist/_chunks/{token-insert-menu-BLtfMTJd.js → token-insert-menu-sGtftx4Y.js} +2 -2
  107. package/dist/_chunks/{tool-rail-Kup1b7xI.js → tool-rail-CKOuVHUQ.js} +213 -209
  108. package/dist/_chunks/{toolbar-B7UHCMSr.js → toolbar-JTR20W-U.js} +3 -3
  109. package/dist/_chunks/{tooth-scheme-BtnFgugP.js → tooth-scheme-DpgciFU8.js} +2 -2
  110. package/dist/_chunks/{unit-converter-OBhSDXee.js → unit-converter-D1e1wZRE.js} +2 -2
  111. package/dist/_chunks/{use-appointment-details-read-DeQnmmZw.js → use-appointment-details-read-DIRHedaM.js} +7 -7
  112. package/dist/_chunks/{verify-identity-types-C6Bam8v6.js → verify-identity-types-CpeJIc9F.js} +2 -2
  113. package/dist/_chunks/{voice-control-panel-Dc_NFH2R.js → voice-control-panel-CfBUrzhJ.js} +3 -3
  114. package/dist/_chunks/{widget-picker-D3T7e8a4.js → widget-picker-Ddl0lDWV.js} +2 -2
  115. package/dist/_chunks/{workflow-map-DaZFP9SJ.js → workflow-map-CsfRHhlz.js} +2 -2
  116. package/dist/_chunks/{workflow-status-CO0mxXs2.js → workflow-status-Cg7yjnye.js} +2 -2
  117. package/dist/_chunks/{workflow-webhook-action-BsGSh3h9.js → workflow-webhook-action-BUWc2txJ.js} +2 -2
  118. package/dist/agent-catalog.json +1 -1
  119. package/dist/appointment-editor-panel/index.js +2 -2
  120. package/dist/browser-support.js +1 -1
  121. package/dist/calendar-action-buttons/index.js +1 -1
  122. package/dist/components/_shared/non-modal-tab-exit.d.ts +1 -0
  123. package/dist/components/ai-credits-notice/index.js +1 -1
  124. package/dist/components/ai-prompt-input/index.js +1 -1
  125. package/dist/components/appointment-card/index.js +2 -2
  126. package/dist/components/appointment-details-panel/index.js +1 -1
  127. package/dist/components/appointment-peek/index.js +1 -1
  128. package/dist/components/appointment-timeline/index.js +1 -1
  129. package/dist/components/audio-recorder/index.js +1 -1
  130. package/dist/components/bill-line-table/index.js +1 -1
  131. package/dist/components/bill-table/index.js +1 -1
  132. package/dist/components/bishop-score/index.js +1 -1
  133. package/dist/components/booking/index.js +1 -1
  134. package/dist/components/button-group/index.js +1 -1
  135. package/dist/components/calculator-dialog/index.js +1 -1
  136. package/dist/components/calls-panel/index.js +1 -1
  137. package/dist/components/care-plan-card/index.js +1 -1
  138. package/dist/components/care-plan-entry-card/index.js +1 -1
  139. package/dist/components/chart/index.js +1 -1
  140. package/dist/components/color-picker/index.js +1 -1
  141. package/dist/components/communications-panel/index.js +1 -1
  142. package/dist/components/control-room-rail/index.js +1 -1
  143. package/dist/components/cycle-calculator/index.js +1 -1
  144. package/dist/components/dashboard-grid/index.js +1 -1
  145. package/dist/components/data-grid/index.js +2 -2
  146. package/dist/components/data-grid-tabs/index.js +1 -1
  147. package/dist/components/data-table/index.js +4 -4
  148. package/dist/components/data-table-tabs/index.js +1 -1
  149. package/dist/components/date-picker/index.js +1 -1
  150. package/dist/components/date-range-picker/index.js +1 -1
  151. package/dist/components/date-time-picker/index.js +1 -1
  152. package/dist/components/dialog/dialog-container.d.ts +27 -0
  153. package/dist/components/dialog/dialog.d.ts +12 -2
  154. package/dist/components/dialog/index.d.ts +3 -1
  155. package/dist/components/dialog/index.js +5 -3
  156. package/dist/components/document-preview/index.js +1 -1
  157. package/dist/components/dropdown-menu/index.js +1 -1
  158. package/dist/components/due-date-calculator/index.js +1 -1
  159. package/dist/components/face-scheme/index.js +1 -1
  160. package/dist/components/file-manager/index.js +1 -1
  161. package/dist/components/gestational-age-calculator/index.js +1 -1
  162. package/dist/components/hcg-doubling/index.js +1 -1
  163. package/dist/components/header-settings/index.js +1 -1
  164. package/dist/components/heatmap/index.js +1 -1
  165. package/dist/components/hover-card/index.js +1 -1
  166. package/dist/components/icon-button-group/index.js +1 -1
  167. package/dist/components/icon-picker/index.js +1 -1
  168. package/dist/components/info-tip/index.js +1 -1
  169. package/dist/components/invoice-upload-list/index.js +1 -1
  170. package/dist/components/locale-picker/index.js +1 -1
  171. package/dist/components/message-tray/index.js +1 -1
  172. package/dist/components/muscle-scheme/index.js +1 -1
  173. package/dist/components/notes-panel/index.js +1 -1
  174. package/dist/components/notification-tray/index.js +1 -1
  175. package/dist/components/optical-prescription/index.js +1 -1
  176. package/dist/components/pagination/index.js +1 -1
  177. package/dist/components/patient-details/index.js +1 -1
  178. package/dist/components/patient-search/index.js +1 -1
  179. package/dist/components/patient-summary-card/index.js +1 -1
  180. package/dist/components/patient-table/index.js +1 -1
  181. package/dist/components/pdf-viewer/index.js +1 -1
  182. package/dist/components/phone-input/index.js +1 -1
  183. package/dist/components/popover/index.js +1 -1
  184. package/dist/components/practice-results/index.js +1 -1
  185. package/dist/components/pregnancy-dating/index.js +1 -1
  186. package/dist/components/product-hub-tray/index.js +1 -1
  187. package/dist/components/public-header/index.js +1 -1
  188. package/dist/components/radiograph-panel/index.js +1 -1
  189. package/dist/components/rich-text-editor/index.js +2 -2
  190. package/dist/components/row-actions/index.js +1 -1
  191. package/dist/components/select/index.js +1 -1
  192. package/dist/components/sheet/index.js +1 -1
  193. package/dist/components/sign-document/index.js +1 -1
  194. package/dist/components/skeleton-scheme/index.js +1 -1
  195. package/dist/components/step-up-dialog/index.js +1 -1
  196. package/dist/components/sync-tray/index.js +1 -1
  197. package/dist/components/tab-bar/index.js +1 -1
  198. package/dist/components/tabs/index.js +1 -1
  199. package/dist/components/task-editor/index.js +1 -1
  200. package/dist/components/tasks-panel/index.js +1 -1
  201. package/dist/components/theme-toggle/index.js +1 -1
  202. package/dist/components/token-insert-menu/index.js +1 -1
  203. package/dist/components/tool-rail/index.js +1 -1
  204. package/dist/components/tooth-scheme/index.js +1 -1
  205. package/dist/components/unit-converter/index.js +1 -1
  206. package/dist/components/voice-control-panel/index.js +1 -1
  207. package/dist/components/widget-picker/index.js +1 -1
  208. package/dist/components/workflow/index.js +1 -1
  209. package/dist/components/workflow-status/index.js +1 -1
  210. package/dist/core.css +1 -1
  211. package/dist/find-free-slots-panel/index.js +1 -1
  212. package/dist/index.js +945 -943
  213. package/dist/online-bookings-panel/index.js +1 -1
  214. package/dist/patterns/alia-assistant/index.js +1 -1
  215. package/dist/patterns/anamnesis/index.js +1 -1
  216. package/dist/patterns/calendar/index.js +3 -3
  217. package/dist/patterns/help-me-write-templates/index.js +1 -1
  218. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  219. package/dist/patterns/patient-account-settings/index.js +1 -1
  220. package/dist/patterns/patient-check-in/index.js +1 -1
  221. package/dist/patterns/patient-portal/index.js +2 -2
  222. package/dist/patterns/prescription/index.js +1 -1
  223. package/dist/patterns/registration-form/index.js +1 -1
  224. package/dist/patterns/send-registration-link-form/index.js +1 -1
  225. package/dist/patterns/signature-request/index.js +1 -1
  226. package/dist/patterns/signing/index.js +1 -1
  227. package/dist/patterns/verify-identity/index.js +1 -1
  228. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  229. package/dist/tokens.css +1 -1
  230. package/dist/waiting-list-panel/index.js +2 -2
  231. package/package.json +1 -1
  232. package/dist/_chunks/dialog-CVTxyR0v.js +0 -349
@@ -11,15 +11,15 @@ import { A as X } from "./alert-C4WKViaS.js";
11
11
  import { B as D } from "./button-DohK_Ak_.js";
12
12
  import { I as nr } from "./icon-button-S8_weU3g.js";
13
13
  import { C as ut } from "./call-status-chip-pajxN5eZ.js";
14
- import { D as on } from "./date-range-picker-2Up_FRrM.js";
15
- import { D as sn } from "./date-time-picker-C6b_Vymc.js";
16
- import { D as L } from "./dialog-CVTxyR0v.js";
14
+ import { D as on } from "./date-range-picker-Z-hI5Vb7.js";
15
+ import { D as sn } from "./date-time-picker-DHza1SEH.js";
16
+ import { D as Y } from "./dialog-239Geb7Z.js";
17
17
  import { E as Oe } from "./empty-state-DwJ5YNzz.js";
18
- import { F as Ye } from "./form-field-CyHfOVKF.js";
18
+ import { F as Le } from "./form-field-CyHfOVKF.js";
19
19
  import { L as or } from "./link-CeV7FoI6.js";
20
20
  import { P as sr } from "./panel-header-CbtlTe85.js";
21
21
  import { P as lr } from "./panel-subview-DCyvn-49.js";
22
- import { S as me } from "./select-Bm8s3q-X.js";
22
+ import { S as me } from "./select-Bw5FvGJ7.js";
23
23
  import { S as pt } from "./skeleton-tTWJpvAq.js";
24
24
  import { T as ar } from "./text-area-COMVJ1yE.js";
25
25
  import { P as mt } from "./phone-FceYcIFQ.js";
@@ -288,7 +288,7 @@ function un(n, s) {
288
288
  N
289
289
  );
290
290
  }
291
- function Le(n) {
291
+ function Ye(n) {
292
292
  return !!n && !Number.isNaN(n.getTime());
293
293
  }
294
294
  const pn = {
@@ -454,29 +454,29 @@ const wn = Xr(
454
454
  () => [...f].sort((e, t) => mr(t.dateIso) - mr(e.dateIso)),
455
455
  [f]
456
456
  ), Tt = (e, t) => {
457
- var l;
458
- return t ? (l = e.find((a) => a.id === t)) == null ? void 0 : l.label : void 0;
459
- }, Y = vr === "server", j = {
460
- outcome: !Y || !!R || !!ge,
461
- purpose: !Y || !!R || !!ve,
462
- direction: !Y || !!R || !!ye,
463
- from: !Y || !!R || !!we,
464
- to: !Y || !!R || !!be
457
+ var a;
458
+ return t ? (a = e.find((l) => l.id === t)) == null ? void 0 : a.label : void 0;
459
+ }, L = vr === "server", j = {
460
+ outcome: !L || !!R || !!ge,
461
+ purpose: !L || !!R || !!ve,
462
+ direction: !L || !!R || !!ye,
463
+ from: !L || !!R || !!we,
464
+ to: !L || !!R || !!be
465
465
  }, C = wr ?? pn, [xr, Tr] = g(
466
466
  C.outcome
467
467
  ), [kr, Er] = g(
468
468
  C.purpose
469
469
  ), [Cr, Dr] = g(
470
470
  Pr ?? C.direction
471
- ), [Ar, Rr] = g(C.from), [Or, Yr] = g(C.to), v = {
471
+ ), [Ar, Rr] = g(C.from), [Or, Lr] = g(C.to), v = {
472
472
  outcome: (je !== void 0 ? je : xr) || null,
473
473
  purpose: (Fe !== void 0 ? Fe : kr) || null,
474
474
  direction: bt ?? Cr,
475
475
  from: (He !== void 0 ? He : Ar) || null,
476
476
  to: (ze !== void 0 ? ze : Or) || null
477
- }, F = gn(v, C), Lr = f.some(
477
+ }, F = gn(v, C), Yr = f.some(
478
478
  (e) => e.direction !== void 0 || e.missed === !0
479
- ), kt = O.length > 0 && j.outcome, Et = _.length > 0 && j.purpose, Ct = (br ?? (Lr || v.direction !== "all")) && j.direction, Dt = j.from && j.to, At = yr && (kt || Et || Ct || Dt) && (f.length > 0 || F > 0), [Mr, Kr] = g(!1), qe = d(v);
479
+ ), kt = O.length > 0 && j.outcome, Et = _.length > 0 && j.purpose, Ct = (br ?? (Yr || v.direction !== "all")) && j.direction, Dt = j.from && j.to, At = yr && (kt || Et || Ct || Dt) && (f.length > 0 || F > 0), [Mr, Kr] = g(!1), qe = d(v);
480
480
  qe.current = v;
481
481
  const H = (e) => {
482
482
  const t = Object.fromEntries(
@@ -485,15 +485,15 @@ const wn = Xr(
485
485
  )
486
486
  );
487
487
  if (Object.keys(t).length === 0) return;
488
- const l = qe.current, a = { ...l, ...t };
489
- qe.current = a, Kr(!0), S(null), je === void 0 && Tr(a.outcome), Fe === void 0 && Er(a.purpose), bt === void 0 && Dr(a.direction), He === void 0 && Rr(a.from), ze === void 0 && Yr(a.to), (l.outcome || null) !== (a.outcome || null) && (ge == null || ge(a.outcome)), (l.purpose || null) !== (a.purpose || null) && (ve == null || ve(a.purpose)), l.direction !== a.direction && (ye == null || ye(a.direction)), (l.from || null) !== (a.from || null) && (we == null || we(a.from)), (l.to || null) !== (a.to || null) && (be == null || be(a.to)), hn(l, a) || R == null || R(a);
488
+ const a = qe.current, l = { ...a, ...t };
489
+ qe.current = l, Kr(!0), S(null), je === void 0 && Tr(l.outcome), Fe === void 0 && Er(l.purpose), bt === void 0 && Dr(l.direction), He === void 0 && Rr(l.from), ze === void 0 && Lr(l.to), (a.outcome || null) !== (l.outcome || null) && (ge == null || ge(l.outcome)), (a.purpose || null) !== (l.purpose || null) && (ve == null || ve(l.purpose)), a.direction !== l.direction && (ye == null || ye(l.direction)), (a.from || null) !== (l.from || null) && (we == null || we(l.from)), (a.to || null) !== (l.to || null) && (be == null || be(l.to)), hn(a, l) || R == null || R(l);
490
490
  }, Rt = () => H({ ...C }), $e = d(H);
491
491
  $e.current = H;
492
492
  const Ue = ue(
493
- () => Y ? Se : Se.filter((e) => vn(e, v)),
493
+ () => L ? Se : Se.filter((e) => vn(e, v)),
494
494
  // eslint-disable-next-line react-hooks/exhaustive-deps -- `filters` is rebuilt every render; its fields are the inputs
495
495
  [
496
- Y,
496
+ L,
497
497
  Se,
498
498
  v.outcome,
499
499
  v.purpose,
@@ -509,12 +509,12 @@ const wn = Xr(
509
509
  }), [Ot, Te] = g(null), [_r, Je] = g(!1), Ge = pe(() => {
510
510
  const e = new Date(w ?? Date.now());
511
511
  J({
512
- date: Le(e) ? e : void 0,
512
+ date: Ye(e) ? e : void 0,
513
513
  purposeId: "",
514
514
  outcomeId: "",
515
515
  description: ""
516
516
  }), Te(null), Je(!1), S(null), B(!0);
517
- }, [w]), Yt = ue(
517
+ }, [w]), Lt = ue(
518
518
  () => ({
519
519
  get current() {
520
520
  var e;
@@ -526,7 +526,7 @@ const wn = Xr(
526
526
  []
527
527
  ), [y, V] = g(
528
528
  null
529
- ), [ne, oe] = g(null), [ke, Ee] = g(!1), se = d(null), Qe = d(null), [le, ae] = g(null), [Lt, ie] = g(null), Xe = d(null), Ce = le ? f.find((e) => e.id === le) : void 0, G = d({
529
+ ), [ne, oe] = g(null), [ke, Ee] = g(!1), se = d(null), Qe = d(null), [le, ae] = g(null), [Yt, ie] = g(null), Xe = d(null), Ce = le ? f.find((e) => e.id === le) : void 0, G = d({
530
530
  form: !1,
531
531
  editingId: null,
532
532
  deleteId: null
@@ -543,14 +543,14 @@ const wn = Xr(
543
543
  description: ""
544
544
  }), Te(null), V(null), oe(null), ae(null), ie(null), S(null));
545
545
  }, [p]), Q(() => {
546
- var l;
546
+ var a;
547
547
  const e = G.current, t = !q && e.form || !$ && e.editingId !== null || !K && e.deleteId !== null;
548
548
  if (q || B(!1), $ || V(null), K || ae(null), t && !p && Ne.current) {
549
- const a = document.activeElement;
550
- if (!a || a === document.body || !!a.closest(
549
+ const l = document.activeElement;
550
+ if (!l || l === document.body || !!l.closest(
551
551
  '[data-calls-form],[data-calls-editor],[role="alertdialog"]'
552
552
  )) {
553
- const i = (l = M.current) == null ? void 0 : l.querySelector("h2");
553
+ const i = (a = M.current) == null ? void 0 : a.querySelector("h2");
554
554
  i && (i.setAttribute("tabindex", "-1"), i.focus({
555
555
  preventScroll: !0,
556
556
  focusVisible: !1
@@ -560,13 +560,13 @@ const wn = Xr(
560
560
  }, [q, $, K]);
561
561
  const We = pe(
562
562
  async (e, t = "ui") => {
563
- var l, a;
563
+ var a, l;
564
564
  if (!h.current) {
565
565
  h.current = !0, z.current = "create", Z("create"), Te(null), S(null);
566
566
  try {
567
- await ((l = U.current) == null ? void 0 : l.call(U, e)), P.current && (t === "ui" && B(!1), S("saved"));
567
+ await ((a = U.current) == null ? void 0 : a.call(U, e)), P.current && (t === "ui" && B(!1), S("saved"));
568
568
  } catch (c) {
569
- throw P.current && Te(dt(c, o("callsPanel.saveFailed"))), (a = E.current) == null || a.call(E, {
569
+ throw P.current && Te(dt(c, o("callsPanel.saveFailed"))), (l = E.current) == null || l.call(E, {
570
570
  kind: "create",
571
571
  error: c,
572
572
  shown: P.current && (t === "ui" || G.current.form)
@@ -578,18 +578,18 @@ const wn = Xr(
578
578
  },
579
579
  [o]
580
580
  ), et = pe(
581
- async (e, t, l = "ui") => {
582
- var a, c;
581
+ async (e, t, a = "ui") => {
582
+ var l, c;
583
583
  if (!h.current) {
584
584
  h.current = !0, z.current = "update", Z("update"), oe(null), S(null);
585
585
  try {
586
- await ((a = ee.current) == null ? void 0 : a.call(ee, e, { description: t })), P.current && (l === "ui" && (se.current = e, V(null)), S("updated"));
586
+ await ((l = ee.current) == null ? void 0 : l.call(ee, e, { description: t })), P.current && (a === "ui" && (se.current = e, V(null)), S("updated"));
587
587
  } catch (i) {
588
588
  throw P.current && oe(dt(i, o("callsPanel.updateFailed"))), (c = E.current) == null || c.call(E, {
589
589
  kind: "update",
590
590
  id: e,
591
591
  error: i,
592
- shown: P.current && (l === "ui" || G.current.editingId === e)
592
+ shown: P.current && (a === "ui" || G.current.editingId === e)
593
593
  }), i;
594
594
  } finally {
595
595
  h.current = !1, z.current = null, P.current && Z(null);
@@ -599,18 +599,18 @@ const wn = Xr(
599
599
  [o]
600
600
  ), tt = pe(
601
601
  async (e, t = "ui") => {
602
- var l, a;
602
+ var a, l;
603
603
  if (!h.current) {
604
604
  h.current = !0, z.current = "delete", Z("delete"), ie(null), S(null), re.current = null;
605
605
  try {
606
- if (await ((l = te.current) == null ? void 0 : l.call(te, e)), P.current) {
606
+ if (await ((a = te.current) == null ? void 0 : a.call(te, e)), P.current) {
607
607
  const c = G.current.deleteId === e;
608
608
  ae((i) => i === e ? null : i), V((i) => (i == null ? void 0 : i.id) === e ? null : i), c ? re.current = "deleted" : S("deleted");
609
609
  }
610
610
  } catch (c) {
611
611
  throw P.current && ie(
612
612
  dt(c, o("callsPanel.deleteFailed"))
613
- ), (a = E.current) == null || a.call(E, {
613
+ ), (l = E.current) == null || l.call(E, {
614
614
  kind: "delete",
615
615
  id: e,
616
616
  error: c,
@@ -625,8 +625,8 @@ const wn = Xr(
625
625
  ), Mt = () => {
626
626
  var e;
627
627
  if (!h.current) {
628
- if (!Le(T.date)) {
629
- Je(!0), (e = Yt.current) == null || e.focus();
628
+ if (!Ye(T.date)) {
629
+ Je(!0), (e = Lt.current) == null || e.focus();
630
630
  return;
631
631
  }
632
632
  We({
@@ -660,8 +660,8 @@ const wn = Xr(
660
660
  se.current = null, e == null || e.focus();
661
661
  }, [y, f]);
662
662
  const jt = (e) => e.filter((t) => {
663
- var l;
664
- return ((l = t.source) == null ? void 0 : l.kind) === "integration";
663
+ var a;
664
+ return ((a = t.source) == null ? void 0 : a.kind) === "integration";
665
665
  }).length, Ft = (e) => e.filter((t) => t.missed === !0 && t.direction !== "outgoing").length, Ht = d({
666
666
  callCount: f.length,
667
667
  automaticCount: jt(f),
@@ -696,21 +696,21 @@ const wn = Xr(
696
696
  const Bt = d(Ge);
697
697
  Bt.current = Ge;
698
698
  const Fr = ue(() => {
699
- const e = async (t, l) => {
700
- const a = De.current;
701
- if (a.privacy) throw new Error("Calls are hidden by privacy mode.");
702
- if (a.readOnly) throw new Error("The panel is read-only.");
703
- if (!t) throw new Error(`The host gave the panel no way to ${l}.`);
699
+ const e = async (t, a) => {
700
+ const l = De.current;
701
+ if (l.privacy) throw new Error("Calls are hidden by privacy mode.");
702
+ if (l.readOnly) throw new Error("The panel is read-only.");
703
+ if (!t) throw new Error(`The host gave the panel no way to ${a}.`);
704
704
  };
705
705
  return {
706
706
  getState: () => ({ ...Ht.current }),
707
707
  setFilter: async (t) => {
708
708
  if (De.current.privacy)
709
709
  throw new Error("Calls are hidden by privacy mode.");
710
- const { purposes: l, outcomes: a } = nt.current;
711
- if (t.outcome && !a.some((i) => i.id === t.outcome))
710
+ const { purposes: a, outcomes: l } = nt.current;
711
+ if (t.outcome && !l.some((i) => i.id === t.outcome))
712
712
  throw new Error("That outcome is not offered.");
713
- if (t.purpose && !l.some((i) => i.id === t.purpose))
713
+ if (t.purpose && !a.some((i) => i.id === t.purpose))
714
714
  throw new Error("That purpose is not offered.");
715
715
  if (t.direction !== void 0 && !ft.includes(t.direction))
716
716
  throw new Error("That direction is not one of the four.");
@@ -735,17 +735,17 @@ const wn = Xr(
735
735
  },
736
736
  logCall: async (t) => {
737
737
  await e(!!U.current, "log a call");
738
- const l = new Date(t.dateIso);
739
- if (!Le(l)) throw new Error("The date is not a date.");
740
- const { purposes: a, outcomes: c } = nt.current;
741
- if (t.purposeId && !a.some((i) => i.id === t.purposeId))
738
+ const a = new Date(t.dateIso);
739
+ if (!Ye(a)) throw new Error("The date is not a date.");
740
+ const { purposes: l, outcomes: c } = nt.current;
741
+ if (t.purposeId && !l.some((i) => i.id === t.purposeId))
742
742
  throw new Error("That purpose is not offered.");
743
743
  if (t.outcomeId && !c.some((i) => i.id === t.outcomeId))
744
744
  throw new Error("That outcome is not offered.");
745
745
  if (h.current) throw new Error("A write is in progress.");
746
746
  await We(
747
747
  {
748
- dateIso: l.toISOString(),
748
+ dateIso: a.toISOString(),
749
749
  purposeId: t.purposeId ?? null,
750
750
  outcomeId: t.outcomeId ?? null,
751
751
  description: (t.description ?? "").trim()
@@ -753,16 +753,16 @@ const wn = Xr(
753
753
  "agent"
754
754
  );
755
755
  },
756
- updateCall: async (t, l) => {
757
- if (await e(!!ee.current, "edit a call"), !rt.current.some((a) => a.id === t))
756
+ updateCall: async (t, a) => {
757
+ if (await e(!!ee.current, "edit a call"), !rt.current.some((l) => l.id === t))
758
758
  throw new Error("No call has that id.");
759
- if (!l.description.trim())
759
+ if (!a.description.trim())
760
760
  throw new Error("The description is empty.");
761
761
  if (h.current) throw new Error("A write is in progress.");
762
- await et(t, l.description.trim(), "agent");
762
+ await et(t, a.description.trim(), "agent");
763
763
  },
764
764
  deleteCall: async (t) => {
765
- if (await e(!!te.current, "delete a call"), !rt.current.some((l) => l.id === t))
765
+ if (await e(!!te.current, "delete a call"), !rt.current.some((a) => a.id === t))
766
766
  throw new Error("No call has that id.");
767
767
  if (h.current) throw new Error("A write is in progress.");
768
768
  await tt(t, "agent");
@@ -777,13 +777,13 @@ const wn = Xr(
777
777
  const t = Ne.current && (!document.activeElement || document.activeElement === document.body);
778
778
  if (Vt.current && !t || !t && !p && N !== "ready") return;
779
779
  Vt.current = !0;
780
- const l = p || N !== "ready" ? null : Be.current;
781
- if (l) {
782
- l.focus({ preventScroll: !0 });
780
+ const a = p || N !== "ready" ? null : Be.current;
781
+ if (a) {
782
+ a.focus({ preventScroll: !0 });
783
783
  return;
784
784
  }
785
- const a = e.querySelector("h2");
786
- a && (a.setAttribute("tabindex", "-1"), a.focus({ preventScroll: !0, focusVisible: !1 }));
785
+ const l = e.querySelector("h2");
786
+ l && (l.setAttribute("tabindex", "-1"), l.focus({ preventScroll: !0, focusVisible: !1 }));
787
787
  }, [p, N]);
788
788
  const qt = {
789
789
  onFocusCapture: () => {
@@ -866,7 +866,7 @@ const wn = Xr(
866
866
  }
867
867
  );
868
868
  else if (Ue.length === 0) {
869
- const e = Y ? F > 0 : Se.length > 0, t = Object.values(j).some(Boolean);
869
+ const e = L ? F > 0 : Se.length > 0, t = Object.values(j).some(Boolean);
870
870
  ce = e ? /* @__PURE__ */ r(
871
871
  "div",
872
872
  {
@@ -919,7 +919,7 @@ const wn = Xr(
919
919
  className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0",
920
920
  children: Ue.map((e) => {
921
921
  var Qt, Xt, Wt, er, tr, rr;
922
- const t = Ve(e.dateIso), l = Tt(O, e.outcomeId), a = Tt(_, e.purposeId), c = ((Qt = O.find((I) => I.id === e.outcomeId)) == null ? void 0 : Qt.tone) ?? gr[e.outcomeId ?? ""] ?? "neutral", i = (y == null ? void 0 : y.id) === e.id, Zt = (e.description ?? "").trim(), Jr = e.missed === !0 && e.direction !== "outgoing", ot = typeof e.durationSeconds == "number" && Number.isFinite(e.durationSeconds) && e.durationSeconds >= 0 ? un(e.durationSeconds, Ie) : void 0, st = (Xt = e.phoneNumber) != null && Xt.trim() ? rn(e.phoneNumber.trim()) : void 0, lt = (Wt = e.handledBy) == null ? void 0 : Wt.trim(), Gr = ((er = e.source) == null ? void 0 : er.kind) === "integration", Jt = (rr = (tr = e.source) == null ? void 0 : tr.name) == null ? void 0 : rr.trim(), at = ur(e.recordingHref), it = ur(e.transcriptHref), Gt = `${Sr}-edit-${e.id}`, ct = `${Gt}-msg`;
922
+ const t = Ve(e.dateIso), a = Tt(O, e.outcomeId), l = Tt(_, e.purposeId), c = ((Qt = O.find((I) => I.id === e.outcomeId)) == null ? void 0 : Qt.tone) ?? gr[e.outcomeId ?? ""] ?? "neutral", i = (y == null ? void 0 : y.id) === e.id, Zt = (e.description ?? "").trim(), Jr = e.missed === !0 && e.direction !== "outgoing", ot = typeof e.durationSeconds == "number" && Number.isFinite(e.durationSeconds) && e.durationSeconds >= 0 ? un(e.durationSeconds, Ie) : void 0, st = (Xt = e.phoneNumber) != null && Xt.trim() ? rn(e.phoneNumber.trim()) : void 0, lt = (Wt = e.handledBy) == null ? void 0 : Wt.trim(), Gr = ((er = e.source) == null ? void 0 : er.kind) === "integration", Jt = (rr = (tr = e.source) == null ? void 0 : tr.name) == null ? void 0 : rr.trim(), at = ur(e.recordingHref), it = ur(e.transcriptHref), Gt = `${Sr}-edit-${e.id}`, ct = `${Gt}-msg`;
923
923
  return /* @__PURE__ */ m(
924
924
  "li",
925
925
  {
@@ -952,21 +952,21 @@ const wn = Xr(
952
952
  "data-calls-direction": e.direction
953
953
  }
954
954
  ) : null,
955
- l ? /* @__PURE__ */ r(
955
+ a ? /* @__PURE__ */ r(
956
956
  ut,
957
957
  {
958
958
  status: dn.has(e.outcomeId ?? "") ? e.outcomeId : "custom",
959
- label: l,
959
+ label: a,
960
960
  tone: c,
961
961
  "data-calls-outcome": ""
962
962
  }
963
963
  ) : null,
964
- a ? /* @__PURE__ */ r(
964
+ l ? /* @__PURE__ */ r(
965
965
  "span",
966
966
  {
967
967
  "data-calls-purpose": "",
968
968
  className: "type-meta ds:min-w-0 ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere]",
969
- children: a
969
+ children: l
970
970
  }
971
971
  ) : null
972
972
  ] }),
@@ -1146,7 +1146,7 @@ const wn = Xr(
1146
1146
  }).format(Ae.to)
1147
1147
  }) : o("callsPanel.dateRangePlaceholder"), Ut = (e, t) => [
1148
1148
  { value: fe, label: t },
1149
- ...e.map((l) => ({ value: l.id, label: l.label }))
1149
+ ...e.map((a) => ({ value: a.id, label: a.label }))
1150
1150
  ], qr = At ? /* @__PURE__ */ m(
1151
1151
  "div",
1152
1152
  {
@@ -1242,7 +1242,7 @@ const wn = Xr(
1242
1242
  ] }) : null
1243
1243
  ]
1244
1244
  }
1245
- ) : void 0, Re = x === "create", $r = _r && !Le(T.date) ? o("callsPanel.dateRequired") : void 0, Ur = /* @__PURE__ */ m(Qr, { children: [
1245
+ ) : void 0, Re = x === "create", $r = _r && !Ye(T.date) ? o("callsPanel.dateRequired") : void 0, Ur = /* @__PURE__ */ m(Qr, { children: [
1246
1246
  /* @__PURE__ */ r(
1247
1247
  D,
1248
1248
  {
@@ -1311,7 +1311,7 @@ const wn = Xr(
1311
1311
  icon: /* @__PURE__ */ r(mt, { "aria-hidden": "true" }),
1312
1312
  backLabel: o("callsPanel.back"),
1313
1313
  headingLevel: 2,
1314
- initialFocusRef: Yt,
1314
+ initialFocusRef: Lt,
1315
1315
  onBack: () => {
1316
1316
  h.current || B(!1);
1317
1317
  },
@@ -1320,7 +1320,7 @@ const wn = Xr(
1320
1320
  children: /* @__PURE__ */ m("div", { className: "ds:-m-[var(--panel-subview-inset)] ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:p-[var(--spacing-md)]", children: [
1321
1321
  Ot ? /* @__PURE__ */ r(X, { variant: "error", "data-calls-form-error": "", children: /* @__PURE__ */ r(X.Description, { children: Ot }) }) : null,
1322
1322
  /* @__PURE__ */ r("div", { "data-calls-date": "", children: /* @__PURE__ */ r(
1323
- Ye,
1323
+ Le,
1324
1324
  {
1325
1325
  label: o("callsPanel.dateLabel"),
1326
1326
  required: !0,
@@ -1336,7 +1336,7 @@ const wn = Xr(
1336
1336
  )
1337
1337
  }
1338
1338
  ) }),
1339
- _.length > 0 ? /* @__PURE__ */ r(Ye, { label: o("callsPanel.purposeLabel"), optional: !0, children: /* @__PURE__ */ r(
1339
+ _.length > 0 ? /* @__PURE__ */ r(Le, { label: o("callsPanel.purposeLabel"), optional: !0, children: /* @__PURE__ */ r(
1340
1340
  me,
1341
1341
  {
1342
1342
  options: _.map((e) => ({
@@ -1349,7 +1349,7 @@ const wn = Xr(
1349
1349
  onValueChange: (e) => J((t) => ({ ...t, purposeId: e }))
1350
1350
  }
1351
1351
  ) }) : null,
1352
- O.length > 0 ? /* @__PURE__ */ r(Ye, { label: o("callsPanel.outcomeLabel"), optional: !0, children: /* @__PURE__ */ r(
1352
+ O.length > 0 ? /* @__PURE__ */ r(Le, { label: o("callsPanel.outcomeLabel"), optional: !0, children: /* @__PURE__ */ r(
1353
1353
  me,
1354
1354
  {
1355
1355
  options: O.map((e) => ({
@@ -1362,7 +1362,7 @@ const wn = Xr(
1362
1362
  onValueChange: (e) => J((t) => ({ ...t, outcomeId: e }))
1363
1363
  }
1364
1364
  ) }) : null,
1365
- /* @__PURE__ */ r(Ye, { label: o("callsPanel.descriptionLabel"), optional: !0, children: /* @__PURE__ */ r(
1365
+ /* @__PURE__ */ r(Le, { label: o("callsPanel.descriptionLabel"), optional: !0, children: /* @__PURE__ */ r(
1366
1366
  ar,
1367
1367
  {
1368
1368
  value: T.description,
@@ -1380,32 +1380,34 @@ const wn = Xr(
1380
1380
  ) : null
1381
1381
  ] }),
1382
1382
  K ? /* @__PURE__ */ r(
1383
- L,
1383
+ Y,
1384
1384
  {
1385
+ scope: "container",
1385
1386
  open: !!Ce,
1386
1387
  onOpenChange: (e) => {
1387
1388
  de || e || (ae(null), ie(null));
1388
1389
  },
1389
1390
  children: /* @__PURE__ */ m(
1390
- L.Content,
1391
+ Y.Content,
1391
1392
  {
1392
1393
  size: "sm",
1393
1394
  variant: "alert",
1394
1395
  onCloseAutoFocus: (e) => {
1395
- e.preventDefault(), re.current && (S(re.current), re.current = null);
1396
- const t = M.current, l = (Xe.current ? t == null ? void 0 : t.querySelector(
1396
+ const t = e.defaultPrevented;
1397
+ if (e.preventDefault(), re.current && (S(re.current), re.current = null), t) return;
1398
+ const a = M.current, l = (Xe.current ? a == null ? void 0 : a.querySelector(
1397
1399
  `[data-call-id="${CSS.escape(Xe.current)}"] [data-calls-delete]`
1398
- ) : null) ?? Be.current ?? (t == null ? void 0 : t.querySelector("h2"));
1400
+ ) : null) ?? Be.current ?? (a == null ? void 0 : a.querySelector("h2"));
1399
1401
  l && (l.tagName === "H2" && l.setAttribute("tabindex", "-1"), l.focus({ preventScroll: !0 }));
1400
1402
  },
1401
1403
  children: [
1402
- /* @__PURE__ */ m(L.Header, { children: [
1403
- /* @__PURE__ */ r(L.Title, { children: o("callsPanel.deleteTitle") }),
1404
- /* @__PURE__ */ r(L.Description, { children: o("callsPanel.deleteBody", { date: Zr }) })
1404
+ /* @__PURE__ */ m(Y.Header, { children: [
1405
+ /* @__PURE__ */ r(Y.Title, { children: o("callsPanel.deleteTitle") }),
1406
+ /* @__PURE__ */ r(Y.Description, { children: o("callsPanel.deleteBody", { date: Zr }) })
1405
1407
  ] }),
1406
- Lt ? /* @__PURE__ */ r(L.Body, { children: /* @__PURE__ */ r(X, { variant: "error", "data-calls-delete-error": "", children: /* @__PURE__ */ r(X.Description, { children: Lt }) }) }) : null,
1407
- /* @__PURE__ */ m(L.Footer, { divider: !0, children: [
1408
- /* @__PURE__ */ r(L.Close, { asChild: !0, children: /* @__PURE__ */ r(
1408
+ Yt ? /* @__PURE__ */ r(Y.Body, { children: /* @__PURE__ */ r(X, { variant: "error", "data-calls-delete-error": "", children: /* @__PURE__ */ r(X.Description, { children: Yt }) }) }) : null,
1409
+ /* @__PURE__ */ m(Y.Footer, { divider: !0, children: [
1410
+ /* @__PURE__ */ r(Y.Close, { asChild: !0, children: /* @__PURE__ */ r(
1409
1411
  D,
1410
1412
  {
1411
1413
  intent: "outline",
@@ -1443,4 +1445,4 @@ export {
1443
1445
  wn as C,
1444
1446
  cn as c
1445
1447
  };
1446
- //# sourceMappingURL=calls-panel-CJNQm7r8.js.map
1448
+ //# sourceMappingURL=calls-panel-CnjAKFgA.js.map
@@ -7,7 +7,7 @@ import { P as A } from "./progress-D_g_Sl2g.js";
7
7
  import { T as C } from "./timestamp-DPLDWdxA.js";
8
8
  import { T as L } from "./transaction-chip-CkYd-3ky.js";
9
9
  import { A as O, b as G, c as Y, a as $ } from "./accordion-Ch3xp0mX.js";
10
- import { C as q } from "./care-plan-entry-card-DY1toF6E.js";
10
+ import { C as q } from "./care-plan-entry-card-CufvXAWa.js";
11
11
  import { u as J } from "./registry-DvAUVLHh.js";
12
12
  import { i as Q } from "./is-safe-url-CEy9CEml.js";
13
13
  import { C as W, e as X } from "./entity-card-p-LANpYt.js";
@@ -253,4 +253,4 @@ export {
253
253
  de as C,
254
254
  Z as c
255
255
  };
256
- //# sourceMappingURL=care-plan-card-CjHq6PLo.js.map
256
+ //# sourceMappingURL=care-plan-card-TZH6C60K.js.map
@@ -6,7 +6,7 @@ import { P as O } from "./progress-D_g_Sl2g.js";
6
6
  import { T as q } from "./tag-BNlcEJfE.js";
7
7
  import { T as b } from "./timestamp-DPLDWdxA.js";
8
8
  import { T as G } from "./transaction-chip-CkYd-3ky.js";
9
- import { T as J } from "./tooth-scheme-BtnFgugP.js";
9
+ import { T as J } from "./tooth-scheme-DpgciFU8.js";
10
10
  import { C as Q, b as X, a as Z } from "./collapsible-DVPM46bq.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { C as ae } from "./chevron-down-DWE7GSq9.js";
@@ -319,4 +319,4 @@ export {
319
319
  le as C,
320
320
  re as c
321
321
  };
322
- //# sourceMappingURL=care-plan-entry-card-DY1toF6E.js.map
322
+ //# sourceMappingURL=care-plan-entry-card-CufvXAWa.js.map
@@ -12,7 +12,7 @@ import { e as Lt } from "./escape-html-Cn9Fao6a.js";
12
12
  import { c as ze } from "./compose-refs-C0k0tdqF.js";
13
13
  import { u as Be } from "./registry-DvAUVLHh.js";
14
14
  import { I as $e } from "./icon-button-S8_weU3g.js";
15
- import { I as qe } from "./icon-button-group-SmkdVCNx.js";
15
+ import { I as qe } from "./icon-button-group-CLhC7wjU.js";
16
16
  import { c as It } from "./createLucideIcon-DhHxpK9K.js";
17
17
  /**
18
18
  * @license lucide-react v1.22.0 - ISC
@@ -1547,4 +1547,4 @@ export {
1547
1547
  Mr as a,
1548
1548
  xr as c
1549
1549
  };
1550
- //# sourceMappingURL=chart-D0EeFWst.js.map
1550
+ //# sourceMappingURL=chart-ChNsJf9_.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as n, Fragment as we } from "react/jsx-runtime";
2
2
  import { forwardRef as ke, useId as Ne, useState as z, useMemo as $, useCallback as Ce, useRef as D, useEffect as Q } from "react";
3
3
  import * as _ from "@radix-ui/react-popover";
4
- import { u as ye, f as Pe } from "./non-modal-tab-exit-j3CPOuE3.js";
4
+ import { u as ye, f as Pe } from "./non-modal-tab-exit-DqJao_E-.js";
5
5
  import { c as ee } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as Se } from "react-i18next";
7
7
  import { a as Ae } from "./format-number-DdzqwMs1.js";
@@ -579,4 +579,4 @@ function B({
579
579
  export {
580
580
  Ge as C
581
581
  };
582
- //# sourceMappingURL=color-picker-CC8ZfntU.js.map
582
+ //# sourceMappingURL=color-picker-5FKOk_z1.js.map
@@ -13,9 +13,9 @@ import { C as En } from "./chat-input-BmvnuZqj.js";
13
13
  import { C as An } from "./chat-message-B4TMeZ2m.js";
14
14
  import { E as fe } from "./empty-state-DwJ5YNzz.js";
15
15
  import { a as Dn } from "./file-upload-DQc0LsBM.js";
16
- import { I as Rn } from "./info-tip-B3cn3fY2.js";
16
+ import { I as Rn } from "./info-tip-CkH2En-i.js";
17
17
  import { P as qe } from "./panel-header-CbtlTe85.js";
18
- import { S as zn } from "./select-Bm8s3q-X.js";
18
+ import { S as zn } from "./select-Bw5FvGJ7.js";
19
19
  import { S as Ze } from "./skeleton-tTWJpvAq.js";
20
20
  import { T as en } from "./timestamp-DPLDWdxA.js";
21
21
  import { a as we } from "./whatsapp-button-XbozeDl_.js";
@@ -1076,4 +1076,4 @@ export {
1076
1076
  Zn as c,
1077
1077
  ge as s
1078
1078
  };
1079
- //# sourceMappingURL=communications-panel-DBWM9II9.js.map
1079
+ //# sourceMappingURL=communications-panel-EP27FN7e.js.map
@@ -3,7 +3,7 @@ import { useState as D, useCallback as R, useMemo as x, useRef as O, useEffect a
3
3
  import { useTranslation as Ao } from "react-i18next";
4
4
  import { I as F } from "./icon-button-S8_weU3g.js";
5
5
  import { a as Mo } from "./panel-header-CbtlTe85.js";
6
- import { T as xo } from "./tool-rail-Kup1b7xI.js";
6
+ import { T as xo } from "./tool-rail-CKOuVHUQ.js";
7
7
  import { u as W } from "./use-persistent-state-nZwZAnE9.js";
8
8
  import { S as ko } from "./star-Bf9L2Uot.js";
9
9
  import { X as So } from "./x-B5YnXwCz.js";
@@ -413,4 +413,4 @@ export {
413
413
  $o as d,
414
414
  Go as u
415
415
  };
416
- //# sourceMappingURL=control-room-rail-DcJpHbp4.js.map
416
+ //# sourceMappingURL=control-room-rail-7SidoPJH.js.map
@@ -4,7 +4,7 @@ import { c as q } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
5
  import { u as B } from "./registry-DvAUVLHh.js";
6
6
  import { F as S } from "./form-field-CyHfOVKF.js";
7
- import { D as Y } from "./date-picker-BmVBVpVu.js";
7
+ import { D as Y } from "./date-picker-CD-PBzXM.js";
8
8
  import { N as H } from "./number-input-Bi5Yk6PX.js";
9
9
  import { C as M } from "./card-n6W6LW-N.js";
10
10
  import { B as T } from "./badge-BUk4RjTS.js";
@@ -423,4 +423,4 @@ export {
423
423
  ie as L,
424
424
  se as p
425
425
  };
426
- //# sourceMappingURL=cycle-calculator-Cb66X2Pf.js.map
426
+ //# sourceMappingURL=cycle-calculator-BUCGfEcy.js.map
@@ -3,7 +3,7 @@ import { forwardRef as Wt, useRef as E, useState as q, useCallback as L, useMemo
3
3
  import { c as ce } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as St } from "react-i18next";
5
5
  import { I as $e } from "./icon-button-S8_weU3g.js";
6
- import { D as De } from "./dropdown-menu-DBWaW4pq.js";
6
+ import { D as De } from "./dropdown-menu-Bm1KALnk.js";
7
7
  import { T as Yt } from "./tooltip-uEBdD1-5.js";
8
8
  import { C as Vt } from "./skeleton-tTWJpvAq.js";
9
9
  import { u as ne } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
@@ -1484,4 +1484,4 @@ export {
1484
1484
  Cr as D,
1485
1485
  Zt as d
1486
1486
  };
1487
- //# sourceMappingURL=dashboard-grid-2uVXEe9e.js.map
1487
+ //# sourceMappingURL=dashboard-grid-D2egA1Zu.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsx as A } from "react/jsx-runtime";
2
2
  import { forwardRef as L, useRef as m, useCallback as U, useMemo as G } from "react";
3
- import { S as B } from "./saved-view-tabs-DLWm88Eq.js";
3
+ import { S as B } from "./saved-view-tabs-CVUM3Nqz.js";
4
4
  import { D as O, d as Q } from "./grid-context-jn9y8tNE.js";
5
5
  const H = { masked: !0 }, W = {
6
6
  oneOf: [
@@ -362,4 +362,4 @@ export {
362
362
  C as b,
363
363
  X as d
364
364
  };
365
- //# sourceMappingURL=data-grid-tabs-D9Y4DeeH.js.map
365
+ //# sourceMappingURL=data-grid-tabs-Mbj6bSK2.js.map