@alfadocs/ui-kit 1.54.3 → 1.55.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.
- package/dist/_chunks/{accordion-C11v9ouP.js → accordion-Ch3xp0mX.js} +9 -9
- package/dist/_chunks/{actions-cell-renderer-CjzSqMgn.js → actions-cell-renderer-Dj1ZkvJj.js} +4 -4
- package/dist/_chunks/{address-autocomplete-BBZ0u_U1.js → address-autocomplete-bPR2mNBt.js} +2 -2
- package/dist/_chunks/address-fields-BfjxS05Z.js +298 -0
- package/dist/_chunks/{agenda-card-CakEvwnM.js → agenda-card-DauvvKX6.js} +2 -2
- package/dist/_chunks/{agenda-tray-B8vuZKjH.js → agenda-tray-ZKhDxlfw.js} +24 -24
- package/dist/_chunks/{ai-credits-notice-D9_qP2xc.js → ai-credits-notice-BoNJtOuE.js} +4 -4
- package/dist/_chunks/ai-fab-pill-BOu96kCx.js +30 -0
- package/dist/_chunks/{ai-permission-notice-Cr6o1f0f.js → ai-permission-notice-5vpblPCx.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-DkL8W-nt.js → ai-prompt-input-Beh-O_rJ.js} +4 -4
- package/dist/_chunks/{alia-sidebar-DSUQ2RpK.js → alia-sidebar-DS0b54Mv.js} +12 -12
- package/dist/_chunks/{anamnesis-card-BT1tMt5O.js → anamnesis-card-BSlAhaoG.js} +4 -4
- package/dist/_chunks/{anamnesis-summary-card-Bv0CZ-mk.js → anamnesis-summary-card-2YfIYY2j.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-Brru7JrH.js → anamnesis-summary-rows-Dtw5Hpg4.js} +425 -424
- package/dist/_chunks/{antenatal-schedule-timeline-BZzgjfyd.js → antenatal-schedule-timeline-Kf2Yg8uo.js} +4 -4
- package/dist/_chunks/{app-frame-Cos-GSfw.js → app-frame-B-0O9CrU.js} +40 -38
- package/dist/_chunks/{appointment-card-CA2ynsmN.js → appointment-card-Dh3fAcyf.js} +12 -12
- package/dist/_chunks/{appointment-peek-Cbrg36wj.js → appointment-peek-BIZaDeCi.js} +6 -6
- package/dist/_chunks/{appointment-timeline-CssAJLpL.js → appointment-timeline-DmqYEIT9.js} +32 -33
- package/dist/_chunks/{appointment-tray-EQUjllVy.js → appointment-tray-CyI_p3zU.js} +28 -28
- package/dist/_chunks/{appointment-workflow-status-DrWCNLbB.js → appointment-workflow-status-DMjuIK90.js} +2 -2
- package/dist/_chunks/{audio-recorder-BM68r6fe.js → audio-recorder-DWKKjGPt.js} +5 -6
- package/dist/_chunks/{auth-form-parts-Celi-TLV.js → auth-form-parts-CravOf0L.js} +6 -5
- package/dist/_chunks/{autocomplete-BXm1rnT0.js → autocomplete-DosDnGie.js} +3 -3
- package/dist/_chunks/{avatar-DYtwj1-R.js → avatar-WZY3eGE7.js} +10 -10
- package/dist/_chunks/{balance-badge-cell-C5hmahoB.js → balance-badge-cell-zP-iN-Pd.js} +5 -5
- package/dist/_chunks/{benefit-card-DB1Kdrmc.js → benefit-card-BWBClvdF.js} +46 -45
- package/dist/_chunks/{bishop-score-BzvVol-u.js → bishop-score-BxA20j9T.js} +5 -5
- package/dist/_chunks/{bmi-calculator-CDmQk0b5.js → bmi-calculator-DTZhRhXe.js} +5 -5
- package/dist/_chunks/{booking-BGY3LUi8.js → booking-uZO10TLK.js} +1553 -1458
- package/dist/_chunks/{button-CYPx2xFq.js → button-Bn16lcFM.js} +10 -7
- package/dist/_chunks/{button-group-CpEycMps.js → button-group-CWlwR-A5.js} +3 -3
- package/dist/_chunks/{calendar-BwF5nQuW.js → calendar-6-24PQ1u.js} +4 -4
- package/dist/_chunks/{calendar-workspace-BJPhMb2c.js → calendar-workspace-DVajSkKA.js} +868 -883
- package/dist/_chunks/{card-DPmk26CL.js → card-DMO2nkt4.js} +45 -42
- package/dist/_chunks/{care-plan-card-BqI-_B4T.js → care-plan-card-Ddjh5Doc.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-CbsZmfQM.js → care-plan-entry-card-0rpR-4Te.js} +5 -5
- package/dist/_chunks/{care-plan-header-BIS4CGcp.js → care-plan-header-BeMYMiI7.js} +3 -3
- package/dist/_chunks/{carousel.agent-DW9iPLdy.js → carousel.agent-D3xthzTf.js} +44 -45
- package/dist/_chunks/{chart-C134Ibwm.js → chart-C2RBJERE.js} +3 -3
- package/dist/_chunks/{chat-container-CAfyTxat.js → chat-container-baxzy8k8.js} +21 -22
- package/dist/_chunks/{chat-input-Bg99kcl3.js → chat-input-PtrSu1ZC.js} +27 -27
- package/dist/_chunks/{chat-message-D4rvLoIJ.js → chat-message-CmGUcajG.js} +4 -4
- package/dist/_chunks/city-input-BC_nYINn.js +185 -0
- package/dist/_chunks/{clinical-note-card-gmWXEwSu.js → clinical-note-card-14JIoUR0.js} +3 -3
- package/dist/_chunks/{code-block-CRVa-Thh.js → code-block-BQgK70mO.js} +2 -2
- package/dist/_chunks/{collapsible-CTjxzGuF.js → collapsible-DVPM46bq.js} +27 -27
- package/dist/_chunks/{color-picker-Bu0wM8xv.js → color-picker-BRQ4Y9SO.js} +3 -3
- package/dist/_chunks/{combobox-DppVSuUm.js → combobox-U5yfO6o0.js} +262 -218
- package/dist/_chunks/{connection-status-BwTnjnUj.js → connection-status-ncTjUPt6.js} +4 -4
- package/dist/_chunks/{contact-card-CIVCcicP.js → contact-card-CmK05vNb.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B-HzocbB.js → contact-profile-card-C5DbP_X3.js} +4 -4
- package/dist/_chunks/{control-room-rail-g4vNSPFi.js → control-room-rail-Tx2jW250.js} +3 -3
- package/dist/_chunks/{copy-field-CiIuVbKe.js → copy-field-CvTIuA_p.js} +3 -3
- package/dist/_chunks/{country-select-r3QC7cVA.js → country-select-DF5Bd_mn.js} +2 -2
- package/dist/_chunks/{cycle-calculator-LjsQd9Gl.js → cycle-calculator-Dgfqr4Q4.js} +7 -7
- package/dist/_chunks/{dashboard-grid--rkojX6m.js → dashboard-grid-SAGoyCtL.js} +71 -71
- package/dist/_chunks/{data-table-BErtJzaT.js → data-table-C6T31E33.js} +244 -240
- package/dist/_chunks/{data-table-tabs-D5nFZKxg.js → data-table-tabs-Xhg5G0gU.js} +4 -4
- package/dist/_chunks/{date-picker-variants-B3AFKDSu.js → date-picker-variants-BnF-sHzq.js} +19 -10
- package/dist/_chunks/{date-picker-BnhBmcH6.js → date-picker-wRAcq2lt.js} +49 -49
- package/dist/_chunks/{date-range-picker-Dg050N1d.js → date-range-picker-BOvHwWO5.js} +5 -5
- package/dist/_chunks/{date-time-picker-Ckl6ezCL.js → date-time-picker-CLeLKuv9.js} +5 -5
- package/dist/_chunks/{dependent-selector-CPiolWiw.js → dependent-selector-Bet3XAFj.js} +2 -2
- package/dist/_chunks/{description-list-BKQMUiXv.js → description-list-DkLeHiew.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-Y1s7gPSD.js → dev-bypass-button-BhGn6evf.js} +2 -2
- package/dist/_chunks/{document-preview-C_6R_VZK.js → document-preview-uoTekVR7.js} +5 -5
- package/dist/_chunks/{document-scanner-pADVX447.js → document-scanner-CQS9kv84.js} +17 -17
- package/dist/_chunks/{dropdown-menu-B5mgV1kV.js → dropdown-menu-BQSNVp4x.js} +2 -2
- package/dist/_chunks/{due-date-calculator-mDvGKmRV.js → due-date-calculator-DXDJbUzo.js} +8 -8
- package/dist/_chunks/{editable-currency-cell-renderer-CfFp_1hI.js → editable-currency-cell-renderer-CmYcMuwi.js} +4 -4
- package/dist/_chunks/{editable-description-CCrAEJMq.js → editable-description-DuJlvltc.js} +3 -3
- package/dist/_chunks/editor-overlay-NMxzcO6J.js +90 -0
- package/dist/_chunks/{email-input-DQixfopu.js → email-input-C7THAwh2.js} +3 -3
- package/dist/_chunks/{empty-state-CgvmPPvW.js → empty-state-gNG3qYCX.js} +2 -2
- package/dist/_chunks/{entity-card-D1Yrh9wf.js → entity-card-fpm-KUKc.js} +26 -27
- package/dist/_chunks/{entity-summary-C3E4JKVr.js → entity-summary-DcB0fIiv.js} +5 -5
- package/dist/_chunks/{error-boundary-Bzjk9Q2l.js → error-boundary-ChowhO6w.js} +2 -2
- package/dist/_chunks/error-page-CpuYbpOB.js +344 -0
- package/dist/_chunks/{error-page-illustration-bFti0VEc.js → error-page-illustration-BdJLuMdV.js} +12 -12
- package/dist/_chunks/error-summary-BhM8FEkl.js +101 -0
- package/dist/_chunks/{face-scheme-Doodi6A6.js → face-scheme-BicuUA2K.js} +8 -8
- package/dist/_chunks/{fetal-weight-DBgEaMoJ.js → fetal-weight-BWaqqjea.js} +5 -5
- package/dist/_chunks/{field-array-DGiIHCdy.js → field-array-BO-kaKFK.js} +3 -3
- package/dist/_chunks/{file-manager-BDNSnr7f.js → file-manager-dIJQUZvq.js} +52 -52
- package/dist/_chunks/{finished-terminal-BguGAUdg.js → finished-terminal-CPSDrIMB.js} +3 -3
- package/dist/_chunks/{fiscal-code-input-DNA_SbQx.js → fiscal-code-input-DesSQ6Fh.js} +168 -168
- package/dist/_chunks/floating-clearance-nIx9fFLy.js +20 -0
- package/dist/_chunks/forgot-password-form-DEx-M_QR.js +234 -0
- package/dist/_chunks/{form-field-Db0liyI8.js → form-field-Ani72sVY.js} +46 -44
- package/dist/_chunks/format-price-BKle6Xwt.js +52 -0
- package/dist/_chunks/{freemium-paywall-CtUCj-ND.js → freemium-paywall-B6ojVXq7.js} +44 -42
- package/dist/_chunks/{gestational-age-calculator-BVBz_5dm.js → gestational-age-calculator-BfGpt3du.js} +9 -9
- package/dist/_chunks/glass-surface-CPok0jEe.js +20 -0
- package/dist/_chunks/{hcg-doubling-BECrAUu3.js → hcg-doubling-BIYyI2Yo.js} +7 -7
- package/dist/_chunks/{header--a4ZTiM5.js → header-B9552pLh.js} +15 -14
- package/dist/_chunks/{header-settings-kkVm9VP3.js → header-settings-ge_3gYEq.js} +4 -4
- package/dist/_chunks/heatmap-BARGZZt2.js +2865 -0
- package/dist/_chunks/{help-me-write-templates-B4Y8dBv1.js → help-me-write-templates-B7L3zGsE.js} +28 -28
- package/dist/_chunks/{hover-card-CcRSI4gy.js → hover-card-BnTueNS2.js} +2 -2
- package/dist/_chunks/{iban-input-CpOUMMR-.js → iban-input-B9L2QDHh.js} +2 -2
- package/dist/_chunks/{icon-button-mKIvw90h.js → icon-button-COX76Jdj.js} +2 -2
- package/dist/_chunks/{icon-button-group-BsQkbCX4.js → icon-button-group-C5hhI-R5.js} +3 -3
- package/dist/_chunks/{icon-picker-JZzs1ol_.js → icon-picker-DWrqmI1c.js} +20 -20
- package/dist/_chunks/{image-cropper-CNBGkG7P.js → image-cropper-D0kkQ4lG.js} +2 -2
- package/dist/_chunks/{info-tip-Czh1izZ6.js → info-tip-B0jmIt6M.js} +2 -2
- package/dist/_chunks/{input-surface-xyERuLU_.js → input-surface-iBmxVBfr.js} +11 -12
- package/dist/_chunks/{insert-result-BuWQl11Z.js → insert-result-C1C2OCc3.js} +2 -2
- package/dist/_chunks/intl-locale-ySteXlDD.js +23 -0
- package/dist/_chunks/{kbd-BLovyx1R.js → kbd-Bx7eQv9f.js} +70 -66
- package/dist/_chunks/{key-value-pair-BkXjt88Z.js → key-value-pair-Ax8IJr1M.js} +2 -2
- package/dist/_chunks/{kit-extensions-GQHKTLWI.js → kit-extensions-C9-v8Dih.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-D-xv2HMS.js → link-cell-renderer-DlBVPMTi.js} +9 -9
- package/dist/_chunks/{locale-picker-BhNIgeXA.js → locale-picker-DfNSdOpy.js} +4 -4
- package/dist/_chunks/login-dev-card-DmZ1B0lB.js +309 -0
- package/dist/_chunks/{logo-CuaqxTGK.js → logo-hIsyVE96.js} +19 -19
- package/dist/_chunks/{map-view-CQmqQJwK.js → map-view-CO2v0hfp.js} +9 -9
- package/dist/_chunks/{marketplace-app-shell-DbEfoNxe.js → marketplace-app-shell-Dcx-JEjg.js} +11 -11
- package/dist/_chunks/{message-card-C1buKlzM.js → message-card-DVo8-dOm.js} +36 -28
- package/dist/_chunks/{message-tray-DyBVqlGj.js → message-tray-BB95DA82.js} +5 -5
- package/dist/_chunks/{money-GypsuFk2.js → money-CeClE1nH.js} +2 -2
- package/dist/_chunks/multi-select-BT23EnSA.js +688 -0
- package/dist/_chunks/{muscle-scheme-DfYQ0Z3v.js → muscle-scheme-BDgIaGeW.js} +2 -2
- package/dist/_chunks/{nav-grid-BPbmzHY0.js → nav-grid-BqCPH8sm.js} +16 -17
- package/dist/_chunks/{notes-panel-DWJY3WV8.js → notes-panel-I8ntrrUW.js} +54 -53
- package/dist/_chunks/{notification-card-DubeUbVJ.js → notification-card-BGCIL6Mu.js} +56 -48
- package/dist/_chunks/{notification-tray-DJ0gtfu6.js → notification-tray-__sJXnsz.js} +5 -5
- package/dist/_chunks/{number-input-DRDRYZJg.js → number-input-CVwI1ltI.js} +2 -2
- package/dist/_chunks/{operator-hero-BnBPxwOi.js → operator-hero-Dyd2IGbR.js} +4 -4
- package/dist/_chunks/{optical-prescription-DBvebioV.js → optical-prescription-Do6e3wfs.js} +5 -5
- package/dist/_chunks/option-row-Dc7BrbK8.js +37 -0
- package/dist/_chunks/{otp-input-BedEqmIV.js → otp-input-CGMu30_e.js} +2 -2
- package/dist/_chunks/{pagination-CzEkpfti.js → pagination-BR1_GfD_.js} +2 -2
- package/dist/_chunks/{panel-subview-D8HGXaUa.js → panel-subview-BT-Apwgb.js} +3 -3
- package/dist/_chunks/{parse-DeDYl04y.js → parse-jZ-i8Xgj.js} +2 -2
- package/dist/_chunks/{password-input-6Yl6x1IO.js → password-input-BokZ_rnT.js} +162 -140
- package/dist/_chunks/{patient-details-D7QlsGK1.js → patient-details-DsTtjpuX.js} +6 -6
- package/dist/_chunks/{patient-field-row-Dr-ndtG8.js → patient-field-row-BvZ9luz-.js} +212 -211
- package/dist/_chunks/{patient-search-Dm3w0jWw.js → patient-search-D5xlXmd2.js} +5 -5
- package/dist/_chunks/{patient-summary-card-A3WhxFwp.js → patient-summary-card-3dspc2tR.js} +7 -7
- package/dist/_chunks/{payment-automation-upsell-DNiraNhF.js → payment-automation-upsell-DEUfM7EU.js} +5 -5
- package/dist/_chunks/{payment-form-B08gHZIY.js → payment-form-v6zZuV1_.js} +60 -56
- package/dist/_chunks/{payment-request-card-CR7SjsRs.js → payment-request-card-DAGqh9Yx.js} +5 -5
- package/dist/_chunks/{pdf-viewer-zv7pkUPA.js → pdf-viewer-C3minW5b.js} +5 -5
- package/dist/_chunks/periodontal-chart-BqwLxy2m.js +1413 -0
- package/dist/_chunks/{periodontal-chart-card-Djr3en8Q.js → periodontal-chart-card-CWZ1YM1h.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-DmVIqXtC.js → periodontal-diagnosis-C9IuvLId.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-C1Y5f-md.js → periodontal-risk-chart-D3DjIymT.js} +2 -2
- package/dist/_chunks/{phone-input-BzeUr49H.js → phone-input-DxkHMYmu.js} +139 -139
- package/dist/_chunks/{popover-9_v-7fJc.js → popover-BI3oV3eY.js} +2 -2
- package/dist/_chunks/{postal-code-input-lCk8me6K.js → postal-code-input-CfZOnIkW.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Bc3AyBiM.js → practice-profile-hero-C8RPACCi.js} +3 -3
- package/dist/_chunks/{practice-results-D3liWOz1.js → practice-results-DxOgbPDy.js} +9 -9
- package/dist/_chunks/{pregnancy-dating-BEmsMys4.js → pregnancy-dating-R3q5n1Wh.js} +10 -10
- package/dist/_chunks/{pregnancy-weight-gain-DMVPvM3a.js → pregnancy-weight-gain-DwmNklDU.js} +5 -5
- package/dist/_chunks/{privacy-lock-KDPKiTpH.js → privacy-lock-WkUgwIj_.js} +4 -4
- package/dist/_chunks/{privacy-mask-H8yYwgIb.js → privacy-mask-ChIjELJC.js} +3 -3
- package/dist/_chunks/{product-hub-panel-M5X3TYzq.js → product-hub-panel-BSSiGGG4.js} +49 -49
- package/dist/_chunks/{progress-TIAsNHQW.js → progress-D_g_Sl2g.js} +3 -5
- package/dist/_chunks/{province-select-DtF2ukoC.js → province-select-Bd20Z9Br.js} +2 -2
- package/dist/_chunks/{public-footer-Bfs81Qzp.js → public-footer-CxpG6J1M.js} +93 -90
- package/dist/_chunks/{public-header.agent-CrXkGtTF.js → public-header.agent-BWusjxY8.js} +3 -3
- package/dist/_chunks/{qr-code-Ofx7ryyu.js → qr-code-DHEma21c.js} +47 -48
- package/dist/_chunks/{radiograph-panel.agent-rS3Tegx6.js → radiograph-panel.agent-BA90I3Mu.js} +8 -8
- package/dist/_chunks/registration-form-D7iNqMBF.js +819 -0
- package/dist/_chunks/{reviews-panel-CyxZ0VmZ.js → reviews-panel-CDcK6W3b.js} +6 -6
- package/dist/_chunks/{rich-text-editor-DmnWavgl.js → rich-text-editor-Blp4smUr.js} +791 -799
- package/dist/_chunks/{scroll-area-BZOvUhwQ.js → scroll-area-ZtFCv9K7.js} +56 -46
- package/dist/_chunks/{search-bar-ORcfuK9A.js → search-bar-DQJS0wJN.js} +209 -199
- package/dist/_chunks/search-input-BAlDd05M.js +246 -0
- package/dist/_chunks/{section-card-XR2bW1Ie.js → section-card-ChJdOlBU.js} +2 -2
- package/dist/_chunks/{select-DHPmASkG.js → select-Ce5RMk93.js} +274 -236
- package/dist/_chunks/{session-countdown-DWUVDDox.js → session-countdown-CBINYw8H.js} +3 -3
- package/dist/_chunks/{sheet-BTgxkDJS.js → sheet-CNFW8mYZ.js} +3 -3
- package/dist/_chunks/{sidebar-2GBc0ZUa.js → sidebar-DLsG2AIk.js} +123 -124
- package/dist/_chunks/{sign-document-B_3U-S6g.js → sign-document-B6HlyCGV.js} +22 -22
- package/dist/_chunks/{sign-in-with-alfadocs-button-DFmgQuDo.js → sign-in-with-alfadocs-button-D91_x8DX.js} +4 -4
- package/dist/_chunks/{signature-capture-F6KViBF_.js → signature-capture-Chqh62Pc.js} +19 -20
- package/dist/_chunks/{signature-field-DLDznGnB.js → signature-field-Y01UB5DA.js} +2 -2
- package/dist/_chunks/{signature-request-BdolmJk4.js → signature-request-rgMsgo-C.js} +8 -8
- package/dist/_chunks/{signed-out-frame-dz1rLJ65.js → signed-out-frame-B2GTIeqA.js} +51 -51
- package/dist/_chunks/sliders-horizontal-D-F97cnE.js +22 -0
- package/dist/_chunks/{slot-grid-kCDoV3k4.js → slot-grid-sVZriOiQ.js} +4 -4
- package/dist/_chunks/{social-sign-in-button-BMGNlUWs.js → social-sign-in-button-yUqwhnPZ.js} +2 -2
- package/dist/_chunks/{spinner-a0FTYX9Q.js → spinner-CoflYlEx.js} +2 -2
- package/dist/_chunks/{stat-Ce9ymEKm.js → stat-51CDL4au.js} +25 -26
- package/dist/_chunks/state-backed-text-input-DECQy5aA.js +12 -0
- package/dist/_chunks/{stepper-accordion-BPNS6J6B.js → stepper-accordion-D7lnBGh2.js} +49 -49
- package/dist/_chunks/{streaming-text-BAPn_sZs.js → streaming-text-BKZmbW1Q.js} +31 -32
- package/dist/_chunks/subDays-DlMw8Xng.js +8 -0
- package/dist/_chunks/{tab-bar-DRKiomgj.js → tab-bar-Bm-rJB7Y.js} +7 -8
- package/dist/_chunks/{tabs-yIY-RySP.js → tabs-I2wf_nC7.js} +3 -3
- package/dist/_chunks/{task-card-C02Km4Gb.js → task-card-BMXMh3uE.js} +9 -9
- package/dist/_chunks/{task-editor-i-juLk76.js → task-editor-Ctxsa1BY.js} +155 -157
- package/dist/_chunks/{task-tray-By6DPwbT.js → task-tray-DsBO-AaP.js} +31 -31
- package/dist/_chunks/{tasks-panel-BkN9sROF.js → tasks-panel-CdgZQQgG.js} +130 -131
- package/dist/_chunks/{text-area-CDuItrvL.js → text-area-COMVJ1yE.js} +106 -96
- package/dist/_chunks/text-input-CaG9ApoE.js +333 -0
- package/dist/_chunks/{theme-toggle-BAHz3itd.js → theme-toggle-PpFcFoYK.js} +4 -4
- package/dist/_chunks/time-picker-DVfyAR81.js +871 -0
- package/dist/_chunks/{timeline-CVLjybJ3.js → timeline-DG8wAlAx.js} +3 -3
- package/dist/_chunks/{toast-UMUvXFsA.js → toast-CPqguP7G.js} +2 -2
- package/dist/_chunks/{token-insert-menu-DgtBIbNu.js → token-insert-menu-B-pWFDKX.js} +3 -3
- package/dist/_chunks/{tool-rail-CwXN-sDC.js → tool-rail-Bwyuw_Ot.js} +113 -110
- package/dist/_chunks/{tooth-scheme-BAMhwCZe.js → tooth-scheme-BAO_voUO.js} +97 -97
- package/dist/_chunks/{transcript-panel-jOCW4Ycl.js → transcript-panel-CjsiDB1K.js} +4 -4
- package/dist/_chunks/{treatment-receipt-DF2Slh-x.js → treatment-receipt-BSVOfStA.js} +2 -2
- package/dist/_chunks/{typing-indicator-BmwMQSxw.js → typing-indicator-B1RkE8jD.js} +16 -15
- package/dist/_chunks/{unit-converter-Bvhj9r3m.js → unit-converter-DS4UB_59.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-B6dBBgDa.js → use-appointment-details-read-DinTrRIW.js} +214 -214
- package/dist/_chunks/use-dom-value-DTxHhQAN.js +16 -0
- package/dist/_chunks/{use-prism-DaspP8w-.js → use-prism-DBOiELx7.js} +9 -9
- package/dist/_chunks/use-registration-submit-eWAECgUC.js +171 -0
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +59 -0
- package/dist/_chunks/voice-control-panel-Bg1eklL0.js +1009 -0
- package/dist/_chunks/{wallet-pay-button-Dew8Pmgq.js → wallet-pay-button-DFP5FW0D.js} +2 -2
- package/dist/_chunks/{warning-stack-B_v_qMBI.js → warning-stack-ubD0IZCy.js} +25 -25
- package/dist/_chunks/{widget-picker-Ck8HTsil.js → widget-picker-D8RiWrJd.js} +38 -38
- package/dist/_chunks/{workflow-map-PzamnfJK.js → workflow-map-D3mezmGB.js} +8 -8
- package/dist/_chunks/{workflow-status-DDnsIrLt.js → workflow-status-BT27_fQp.js} +3 -3
- package/dist/agent-catalog.json +584 -14
- package/dist/agent-i18n/en.json +51 -10
- package/dist/components/_shared/ai-fab-pill.d.ts +18 -0
- package/dist/components/_shared/floating-clearance.d.ts +12 -0
- package/dist/components/_shared/glass-surface.d.ts +22 -0
- package/dist/components/_shared/input-surface.d.ts +1 -1
- package/dist/components/_shared/intl-locale.d.ts +7 -0
- package/dist/components/_shared/option-row.d.ts +30 -0
- package/dist/components/_shared/option.d.ts +2 -0
- package/dist/components/_shared/state-backed-text-input.d.ts +16 -0
- package/dist/components/_shared/use-dom-value.d.ts +20 -0
- package/dist/components/_shared/use-state-backed-input.d.ts +31 -0
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/address-fields.d.ts +4 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +34 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +10 -5
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/payment.d.ts +19 -0
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +6 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts +3 -3
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +3 -3
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/email-input.d.ts +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/error-summary/error-summary.d.ts +50 -0
- package/dist/components/error-summary/index.d.ts +2 -0
- package/dist/components/error-summary/index.js +5 -0
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +9 -0
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/heatmap-context.d.ts +21 -0
- package/dist/components/heatmap/heatmap-format.d.ts +59 -0
- package/dist/components/heatmap/heatmap-grid.d.ts +66 -0
- package/dist/components/heatmap/heatmap-legend.d.ts +36 -0
- package/dist/components/heatmap/heatmap-model.d.ts +152 -0
- package/dist/components/heatmap/heatmap-scale.d.ts +125 -0
- package/dist/components/heatmap/heatmap-table-view.d.ts +35 -0
- package/dist/components/heatmap/heatmap-tooltip.d.ts +40 -0
- package/dist/components/heatmap/heatmap-variants.d.ts +87 -0
- package/dist/components/heatmap/heatmap-window.d.ts +54 -0
- package/dist/components/heatmap/heatmap.agent.d.ts +4 -0
- package/dist/components/heatmap/heatmap.d.ts +186 -0
- package/dist/components/heatmap/index.d.ts +8 -0
- package/dist/components/heatmap/index.js +8 -0
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/money/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/multi-select.d.ts +6 -0
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.d.ts +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart/periodontal-chart.d.ts +44 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +5 -20
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +17 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +41 -0
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts +26 -5
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.d.ts +5 -0
- package/dist/components/voice-control-panel/index.js +6 -0
- package/dist/components/voice-control-panel/voice-control-panel.agent.d.ts +4 -0
- package/dist/components/voice-control-panel/voice-control-panel.d.ts +179 -0
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +2 -2
- package/dist/error-pages/400.ar.html +1 -1
- package/dist/error-pages/400.de.html +1 -1
- package/dist/error-pages/400.el.html +1 -1
- package/dist/error-pages/400.en.html +1 -1
- package/dist/error-pages/400.es.html +1 -1
- package/dist/error-pages/400.fr.html +1 -1
- package/dist/error-pages/400.hi.html +1 -1
- package/dist/error-pages/400.html +1 -1
- package/dist/error-pages/400.it.html +1 -1
- package/dist/error-pages/400.ja.html +1 -1
- package/dist/error-pages/400.nl.html +1 -1
- package/dist/error-pages/400.pl.html +1 -1
- package/dist/error-pages/400.pt.html +1 -1
- package/dist/error-pages/400.ro.html +1 -1
- package/dist/error-pages/400.ru.html +1 -1
- package/dist/error-pages/400.sq.html +1 -1
- package/dist/error-pages/400.sv.html +1 -1
- package/dist/error-pages/400.tr.html +1 -1
- package/dist/error-pages/400.zh.html +1 -1
- package/dist/error-pages/410.ar.html +1 -1
- package/dist/error-pages/410.de.html +1 -1
- package/dist/error-pages/410.el.html +1 -1
- package/dist/error-pages/410.en.html +1 -1
- package/dist/error-pages/410.es.html +1 -1
- package/dist/error-pages/410.fr.html +1 -1
- package/dist/error-pages/410.hi.html +1 -1
- package/dist/error-pages/410.html +1 -1
- package/dist/error-pages/410.it.html +1 -1
- package/dist/error-pages/410.ja.html +1 -1
- package/dist/error-pages/410.nl.html +1 -1
- package/dist/error-pages/410.pl.html +1 -1
- package/dist/error-pages/410.pt.html +1 -1
- package/dist/error-pages/410.ro.html +1 -1
- package/dist/error-pages/410.ru.html +1 -1
- package/dist/error-pages/410.sq.html +1 -1
- package/dist/error-pages/410.sv.html +1 -1
- package/dist/error-pages/410.tr.html +1 -1
- package/dist/error-pages/410.zh.html +1 -1
- package/dist/error-pages/419.ar.html +1 -1
- package/dist/error-pages/419.de.html +1 -1
- package/dist/error-pages/419.el.html +1 -1
- package/dist/error-pages/419.en.html +1 -1
- package/dist/error-pages/419.es.html +1 -1
- package/dist/error-pages/419.fr.html +1 -1
- package/dist/error-pages/419.hi.html +1 -1
- package/dist/error-pages/419.html +1 -1
- package/dist/error-pages/419.it.html +1 -1
- package/dist/error-pages/419.ja.html +1 -1
- package/dist/error-pages/419.nl.html +1 -1
- package/dist/error-pages/419.pl.html +1 -1
- package/dist/error-pages/419.pt.html +1 -1
- package/dist/error-pages/419.ro.html +1 -1
- package/dist/error-pages/419.ru.html +1 -1
- package/dist/error-pages/419.sq.html +1 -1
- package/dist/error-pages/419.sv.html +1 -1
- package/dist/error-pages/419.tr.html +1 -1
- package/dist/error-pages/419.zh.html +1 -1
- package/dist/error-pages/429.ar.html +1 -1
- package/dist/error-pages/429.de.html +1 -1
- package/dist/error-pages/429.el.html +1 -1
- package/dist/error-pages/429.en.html +1 -1
- package/dist/error-pages/429.es.html +1 -1
- package/dist/error-pages/429.fr.html +1 -1
- package/dist/error-pages/429.hi.html +1 -1
- package/dist/error-pages/429.html +1 -1
- package/dist/error-pages/429.it.html +1 -1
- package/dist/error-pages/429.ja.html +1 -1
- package/dist/error-pages/429.nl.html +1 -1
- package/dist/error-pages/429.pl.html +1 -1
- package/dist/error-pages/429.pt.html +1 -1
- package/dist/error-pages/429.ro.html +1 -1
- package/dist/error-pages/429.ru.html +1 -1
- package/dist/error-pages/429.sq.html +1 -1
- package/dist/error-pages/429.sv.html +1 -1
- package/dist/error-pages/429.tr.html +1 -1
- package/dist/error-pages/429.zh.html +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/host-compat.css +9 -2
- package/dist/host-legacy.css +86 -0
- package/dist/i18n/locales/ar.d.ts +117 -1
- package/dist/i18n/locales/ar.js +118 -2
- package/dist/i18n/locales/de.d.ts +117 -1
- package/dist/i18n/locales/de.js +118 -2
- package/dist/i18n/locales/el.d.ts +117 -1
- package/dist/i18n/locales/el.js +118 -2
- package/dist/i18n/locales/en.d.ts +117 -1
- package/dist/i18n/locales/en.js +118 -2
- package/dist/i18n/locales/es.d.ts +117 -1
- package/dist/i18n/locales/es.js +118 -2
- package/dist/i18n/locales/fr.d.ts +117 -1
- package/dist/i18n/locales/fr.js +118 -2
- package/dist/i18n/locales/hi.d.ts +117 -1
- package/dist/i18n/locales/hi.js +118 -2
- package/dist/i18n/locales/it.d.ts +117 -1
- package/dist/i18n/locales/it.js +118 -2
- package/dist/i18n/locales/ja.d.ts +117 -1
- package/dist/i18n/locales/ja.js +118 -2
- package/dist/i18n/locales/nl.d.ts +117 -1
- package/dist/i18n/locales/nl.js +118 -2
- package/dist/i18n/locales/pl.d.ts +117 -1
- package/dist/i18n/locales/pl.js +118 -2
- package/dist/i18n/locales/pt.d.ts +117 -1
- package/dist/i18n/locales/pt.js +118 -2
- package/dist/i18n/locales/ro.d.ts +117 -1
- package/dist/i18n/locales/ro.js +118 -2
- package/dist/i18n/locales/ru.d.ts +117 -1
- package/dist/i18n/locales/ru.js +118 -2
- package/dist/i18n/locales/sq.d.ts +117 -1
- package/dist/i18n/locales/sq.js +118 -2
- package/dist/i18n/locales/sv.d.ts +117 -1
- package/dist/i18n/locales/sv.js +118 -2
- package/dist/i18n/locales/tr.d.ts +117 -1
- package/dist/i18n/locales/tr.js +118 -2
- package/dist/i18n/locales/zh.d.ts +117 -1
- package/dist/i18n/locales/zh.js +118 -2
- package/dist/index.js +763 -753
- package/dist/locales/ar.json +118 -2
- package/dist/locales/de.json +118 -2
- package/dist/locales/el.json +118 -2
- package/dist/locales/en.json +118 -2
- package/dist/locales/es.json +118 -2
- package/dist/locales/fr.json +118 -2
- package/dist/locales/hi.json +118 -2
- package/dist/locales/it.json +118 -2
- package/dist/locales/ja.json +118 -2
- package/dist/locales/nl.json +118 -2
- package/dist/locales/pl.json +118 -2
- package/dist/locales/pt.json +118 -2
- package/dist/locales/ro.json +118 -2
- package/dist/locales/ru.json +118 -2
- package/dist/locales/sq.json +118 -2
- package/dist/locales/sv.json +118 -2
- package/dist/locales/tr.json +118 -2
- package/dist/locales/zh.json +118 -2
- package/dist/patterns/_shared/auth-form-parts.d.ts +4 -0
- package/dist/patterns/_shared/use-error-summary.d.ts +34 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page.d.ts +29 -5
- package/dist/patterns/error-page/index.js +2 -2
- package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +3 -2
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/login-form/login-form.d.ts +5 -4
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/registration-form/registration-form.d.ts +3 -2
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +10 -13
- package/package.json +19 -2
- package/dist/_chunks/address-fields-BaClzQLM.js +0 -292
- package/dist/_chunks/city-input-BL5WsGJ3.js +0 -170
- package/dist/_chunks/editor-overlay-CWV0chPV.js +0 -93
- package/dist/_chunks/error-page-C15GfNEj.js +0 -312
- package/dist/_chunks/forgot-password-form-Duu3pZDU.js +0 -203
- package/dist/_chunks/format-price-DAbh61Lz.js +0 -51
- package/dist/_chunks/intl-locale-CXM-B8EP.js +0 -16
- package/dist/_chunks/login-dev-card-DletSsX3.js +0 -275
- package/dist/_chunks/multi-select-CVb6PJOK.js +0 -638
- package/dist/_chunks/periodontal-chart-5nLsSuRM.js +0 -1305
- package/dist/_chunks/registration-form-Lz9iKrKo.js +0 -759
- package/dist/_chunks/search-input-6SoR2Rf4.js +0 -237
- package/dist/_chunks/subDays-XBMBTVOO.js +0 -8
- package/dist/_chunks/text-input-rzLEKhRU.js +0 -331
- package/dist/_chunks/time-picker-DKKmpFh3.js +0 -425
- package/dist/_chunks/use-registration-submit-DxCWic5_.js +0 -141
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { jsx as e, jsxs as p, Fragment as Q } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as it } from "./index-D2ZczOXr.js";
|
|
3
3
|
import { useId as Ye, useRef as M, forwardRef as Qt, useEffect as pe, useMemo as wt, useState as B, useCallback as Xt } from "react";
|
|
4
4
|
import { useTranslation as $ } from "react-i18next";
|
|
5
5
|
import { u as Jt } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { u as te } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
7
7
|
import { c as Zt } from "./compose-refs-C0k0tdqF.js";
|
|
8
8
|
import { h as Ue, g as Qe } from "./handled-rejection-6gqCf5vt.js";
|
|
9
|
-
import { a as en, b as xt } from "./privacy-mask-
|
|
9
|
+
import { a as en, b as xt } from "./privacy-mask-ChIjELJC.js";
|
|
10
10
|
import { A as F } from "./alert-BhCstf2h.js";
|
|
11
|
-
import { B as
|
|
12
|
-
import { I as Lt } from "./icon-button-
|
|
13
|
-
import { B as tn } from "./button-group-
|
|
14
|
-
import { D as
|
|
15
|
-
import { E as zt } from "./editable-description-
|
|
11
|
+
import { B as O } from "./button-Bn16lcFM.js";
|
|
12
|
+
import { I as Lt } from "./icon-button-COX76Jdj.js";
|
|
13
|
+
import { B as tn } from "./button-group-CWlwR-A5.js";
|
|
14
|
+
import { D as Oe } from "./dropdown-menu-BQSNVp4x.js";
|
|
15
|
+
import { E as zt } from "./editable-description-DuJlvltc.js";
|
|
16
16
|
import { N as Xe } from "./note-timeline-CsY8YOE7.js";
|
|
17
|
-
import { P as
|
|
18
|
-
import { P as Ge } from "./panel-subview-
|
|
19
|
-
import { P as
|
|
20
|
-
import { S as ne } from "./section-card-
|
|
17
|
+
import { P as Ot } from "./panel-header-D_mTdhUp.js";
|
|
18
|
+
import { P as Ge } from "./panel-subview-BT-Apwgb.js";
|
|
19
|
+
import { P as _t } from "./patient-summary-card-3dspc2tR.js";
|
|
20
|
+
import { S as ne } from "./section-card-ChJdOlBU.js";
|
|
21
21
|
import { C as nn, S as ue } from "./skeleton-B1KTdJ4N.js";
|
|
22
|
-
import { T as an } from "./text-area-
|
|
22
|
+
import { T as an } from "./text-area-COMVJ1yE.js";
|
|
23
23
|
import { T as sn } from "./tooltip-Cp-PLePW.js";
|
|
24
|
-
import { T as Bt } from "./treatment-receipt-
|
|
24
|
+
import { T as Bt } from "./treatment-receipt-BSVOfStA.js";
|
|
25
25
|
import { a as Nt } from "./whatsapp-button-DV9JFmtq.js";
|
|
26
|
-
import { a as Ft, W as on } from "./workflow-status-
|
|
27
|
-
import { u as ot, a as At, i as rn } from "./appointment-workflow-status-
|
|
28
|
-
import { E as dn } from "./empty-state-
|
|
29
|
-
import { T as Ae } from "./timeline-
|
|
26
|
+
import { a as Ft, W as on } from "./workflow-status-BT27_fQp.js";
|
|
27
|
+
import { u as ot, a as At, i as rn } from "./appointment-workflow-status-DMjuIK90.js";
|
|
28
|
+
import { E as dn } from "./empty-state-gNG3qYCX.js";
|
|
29
|
+
import { T as Ae } from "./timeline-DG8wAlAx.js";
|
|
30
30
|
import { C as rt } from "./calendar-clock-hbObjfGY.js";
|
|
31
31
|
import { T as $t } from "./trash-2-uumy3fy1.js";
|
|
32
|
-
import { A as Ve } from "./entity-card-
|
|
32
|
+
import { A as Ve } from "./entity-card-fpm-KUKc.js";
|
|
33
33
|
import { C as ln } from "./calendar-plus-BFrIRE4r.js";
|
|
34
34
|
import { P as me } from "./pencil-B1sKKyuT.js";
|
|
35
35
|
import { C as Je } from "./clock-Drd4Wtis.js";
|
|
36
36
|
import { c as Fe } from "./createLucideIcon-DhHxpK9K.js";
|
|
37
37
|
import { A as cn } from "./arrow-right-KsIrLdt0.js";
|
|
38
|
-
import { A as Ze } from "./avatar-
|
|
38
|
+
import { A as Ze } from "./avatar-WZY3eGE7.js";
|
|
39
39
|
import { B as $e } from "./badge-hnBt8o7n.js";
|
|
40
40
|
import { H as dt } from "./heart-pulse-BCppJyN2.js";
|
|
41
41
|
import { G as un } from "./globe-sHBW1JN5.js";
|
|
@@ -44,16 +44,16 @@ import { E as pn } from "./euro-Dsuz4ixO.js";
|
|
|
44
44
|
import { V as lt } from "./video-BheNGvsu.js";
|
|
45
45
|
import { R as Ht } from "./repeat-CvQa5rZt.js";
|
|
46
46
|
import { C as hn } from "./counter-WsvRuum1.js";
|
|
47
|
-
import { D as
|
|
47
|
+
import { D as _e } from "./description-list-DkLeHiew.js";
|
|
48
48
|
import { T as St } from "./timestamp-DPLDWdxA.js";
|
|
49
49
|
import { T as fn } from "./transaction-chip-CohY6sTA.js";
|
|
50
|
-
import { H as he } from "./hover-card-
|
|
50
|
+
import { H as he } from "./hover-card-BnTueNS2.js";
|
|
51
51
|
import { S as gn } from "./smartphone-C0rFF2if.js";
|
|
52
52
|
import { P as vn } from "./phone-FceYcIFQ.js";
|
|
53
53
|
import { M as yn } from "./mail-BqXVF2zH.js";
|
|
54
54
|
import { M as bn } from "./map-pin-BaY37-Km.js";
|
|
55
55
|
import { C as kn } from "./calendar-days-BGWklvE-.js";
|
|
56
|
-
import { H as wn } from "./patient-field-row-
|
|
56
|
+
import { H as wn } from "./patient-field-row-BvZ9luz-.js";
|
|
57
57
|
import { A as It } from "./armchair-BaLDW6Hz.js";
|
|
58
58
|
import { B as xn } from "./building-2-D33bLCWL.js";
|
|
59
59
|
import { N as Nn } from "./notebook-pen-CO7HoM-W.js";
|
|
@@ -104,13 +104,13 @@ const zn = [
|
|
|
104
104
|
* This source code is licensed under the ISC license.
|
|
105
105
|
* See the LICENSE file in the root directory of this source tree.
|
|
106
106
|
*/
|
|
107
|
-
const
|
|
107
|
+
const On = [
|
|
108
108
|
["path", { d: "M16 10h2", key: "8sgtl7" }],
|
|
109
109
|
["path", { d: "M16 14h2", key: "epxaof" }],
|
|
110
110
|
["path", { d: "M6.17 15a3 3 0 0 1 5.66 0", key: "n6f512" }],
|
|
111
111
|
["circle", { cx: "9", cy: "11", r: "2", key: "yxgjnd" }],
|
|
112
112
|
["rect", { x: "2", y: "5", width: "20", height: "14", rx: "2", key: "qneu4z" }]
|
|
113
|
-
],
|
|
113
|
+
], _n = Fe("id-card", On);
|
|
114
114
|
/**
|
|
115
115
|
* @license lucide-react v1.22.0 - ISC
|
|
116
116
|
*
|
|
@@ -273,14 +273,14 @@ function Be(t, n) {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
function Hn(t, n, o) {
|
|
276
|
-
const r = new Date(n),
|
|
276
|
+
const r = new Date(n), s = o ? new Date(o) : r;
|
|
277
277
|
try {
|
|
278
|
-
const
|
|
278
|
+
const i = new Intl.DateTimeFormat(t, {
|
|
279
279
|
hour: "2-digit",
|
|
280
280
|
minute: "2-digit",
|
|
281
281
|
hour12: !1
|
|
282
282
|
});
|
|
283
|
-
return typeof
|
|
283
|
+
return typeof i.formatRange == "function" ? i.formatRange(r, s) : `${i.format(r)} – ${i.format(s)}`;
|
|
284
284
|
} catch {
|
|
285
285
|
return "";
|
|
286
286
|
}
|
|
@@ -294,19 +294,19 @@ const at = {
|
|
|
294
294
|
};
|
|
295
295
|
function Wn(t, n) {
|
|
296
296
|
const o = nt(t), r = nt(n);
|
|
297
|
-
let
|
|
298
|
-
const
|
|
299
|
-
return (
|
|
297
|
+
let s = r.getFullYear() - o.getFullYear();
|
|
298
|
+
const i = r.getMonth() - o.getMonth();
|
|
299
|
+
return (i < 0 || i === 0 && r.getDate() < o.getDate()) && (s -= 1), Math.max(0, s);
|
|
300
300
|
}
|
|
301
301
|
const jn = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})$/;
|
|
302
302
|
function qn(t) {
|
|
303
303
|
const n = typeof t == "string" ? jn.exec(t) : null;
|
|
304
304
|
if (!n) return;
|
|
305
|
-
const [o, r,
|
|
306
|
-
if (d.setFullYear(o, r, 0), r < 1 || r > 12 ||
|
|
305
|
+
const [o, r, s, i, l, b] = n.slice(1).map(Number), d = /* @__PURE__ */ new Date(0);
|
|
306
|
+
if (d.setFullYear(o, r, 0), r < 1 || r > 12 || s < 1 || s > d.getDate() || i > 23 || l > 59 || b > 59)
|
|
307
307
|
return;
|
|
308
308
|
const f = /* @__PURE__ */ new Date(0);
|
|
309
|
-
return f.setFullYear(o, r - 1,
|
|
309
|
+
return f.setFullYear(o, r - 1, s), f.setHours(i, l, b, 0), f;
|
|
310
310
|
}
|
|
311
311
|
function Kn(t) {
|
|
312
312
|
return t.map((n) => {
|
|
@@ -348,10 +348,10 @@ const R = (t) => `calendarWorkspace.details.${t}`, Qn = /* @__PURE__ */ new Set(
|
|
|
348
348
|
function Jn(t) {
|
|
349
349
|
const n = t.kind === "moved" ? [{ field: "time", fromIso: t.fromIso, toIso: t.toIso }] : t.kind === "resized" ? [{ field: "duration", fromMin: t.fromMin, toMin: t.toMin }] : t.kind === "status" ? [{ field: "status", from: t.from, to: t.to }] : [], o = ("changes" in t ? t.changes ?? [] : []).filter(
|
|
350
350
|
Xn
|
|
351
|
-
), r = new Set(n.map((
|
|
351
|
+
), r = new Set(n.map((s) => s.field));
|
|
352
352
|
return [
|
|
353
353
|
...n,
|
|
354
|
-
...o.filter((
|
|
354
|
+
...o.filter((s) => r.has(s.field) ? !1 : (r.add(s.field), !0))
|
|
355
355
|
];
|
|
356
356
|
}
|
|
357
357
|
const Zn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
@@ -361,7 +361,7 @@ function ea({
|
|
|
361
361
|
noteUnrecordedEdits: o = !1,
|
|
362
362
|
privacy: r = !1
|
|
363
363
|
}) {
|
|
364
|
-
const { t:
|
|
364
|
+
const { t: s, i18n: i } = $("ui"), { optionFor: l } = ot(null), b = n ?? i.language, d = (a, u) => {
|
|
365
365
|
try {
|
|
366
366
|
return new Intl.DateTimeFormat(b, u).format(
|
|
367
367
|
new Date(a)
|
|
@@ -369,7 +369,7 @@ function ea({
|
|
|
369
369
|
} catch {
|
|
370
370
|
return a;
|
|
371
371
|
}
|
|
372
|
-
}, f = (a) => d(a, at), c =
|
|
372
|
+
}, f = (a) => d(a, at), c = s(R("history.notSet")), C = (a) => {
|
|
373
373
|
switch (a.field) {
|
|
374
374
|
case "status":
|
|
375
375
|
return {
|
|
@@ -388,15 +388,15 @@ function ea({
|
|
|
388
388
|
}
|
|
389
389
|
case "duration":
|
|
390
390
|
return {
|
|
391
|
-
from: a.fromMin === void 0 ? void 0 :
|
|
392
|
-
to: a.toMin === void 0 ? void 0 :
|
|
391
|
+
from: a.fromMin === void 0 ? void 0 : s(R("history.minutes"), { n: a.fromMin }),
|
|
392
|
+
to: a.toMin === void 0 ? void 0 : s(R("history.minutes"), { n: a.toMin })
|
|
393
393
|
};
|
|
394
394
|
default:
|
|
395
395
|
return { from: a.from || void 0, to: a.to || void 0 };
|
|
396
396
|
}
|
|
397
397
|
}, E = (a) => {
|
|
398
|
-
const u =
|
|
399
|
-
return a.field === "colour" && [k, h].some((N) => N && Ct.test(N)) ?
|
|
398
|
+
const u = s(R(`history.fields.${a.field}`)), { from: k, to: h } = C(a);
|
|
399
|
+
return a.field === "colour" && [k, h].some((N) => N && Ct.test(N)) ? s(R("history.changed.colour")) : k && !h ? s(R("history.changeCleared"), { field: u, from: k }) : !k && h ? s(R("history.changeSet"), { field: u, to: h }) : s(R("history.changeFromTo"), {
|
|
400
400
|
field: u,
|
|
401
401
|
from: k ?? c,
|
|
402
402
|
to: h ?? c
|
|
@@ -449,21 +449,21 @@ function ea({
|
|
|
449
449
|
switch (a.kind) {
|
|
450
450
|
case "created":
|
|
451
451
|
return {
|
|
452
|
-
title:
|
|
452
|
+
title: s(R("history.created")),
|
|
453
453
|
type: "success",
|
|
454
454
|
icon: /* @__PURE__ */ e(ln, { size: 16, "aria-hidden": "true" })
|
|
455
455
|
};
|
|
456
456
|
case "confirmedByPatient": {
|
|
457
457
|
const y = Ve.confirmed.Icon;
|
|
458
458
|
return {
|
|
459
|
-
title:
|
|
459
|
+
title: s(R("history.confirmedByPatient")),
|
|
460
460
|
type: "success",
|
|
461
461
|
icon: /* @__PURE__ */ e(y, { size: 16, "aria-hidden": "true" })
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
case "deleted":
|
|
465
465
|
return {
|
|
466
|
-
title:
|
|
466
|
+
title: s(R("history.deleted")),
|
|
467
467
|
type: "error",
|
|
468
468
|
icon: /* @__PURE__ */ e($t, { size: 16, "aria-hidden": "true" })
|
|
469
469
|
};
|
|
@@ -473,15 +473,15 @@ function ea({
|
|
|
473
473
|
...u.filter((y) => !h.has(y.field)).map((y) => y.field)
|
|
474
474
|
].filter(
|
|
475
475
|
(y, v, L) => y !== "status" && !h.has(y) && L.indexOf(y) === v
|
|
476
|
-
), A = N.length > 0 ?
|
|
477
|
-
fields: N.map((y) =>
|
|
476
|
+
), A = N.length > 0 ? s(R("history.editedDetail"), {
|
|
477
|
+
fields: N.map((y) => s(R(`history.fields.${y}`))).join(", ")
|
|
478
478
|
}) : void 0, [S] = k;
|
|
479
479
|
if (k.length === 1 && S && !A)
|
|
480
480
|
switch (S.field) {
|
|
481
481
|
case "status": {
|
|
482
482
|
const { to: y } = S, v = y ? Ve[y].Icon : me;
|
|
483
483
|
return {
|
|
484
|
-
title:
|
|
484
|
+
title: s(R("history.status")),
|
|
485
485
|
type: y === "cancelled" || y === "absent" ? "warning" : "neutral",
|
|
486
486
|
icon: /* @__PURE__ */ e(v, { size: 16, "aria-hidden": "true" }),
|
|
487
487
|
detail: g(S)
|
|
@@ -489,21 +489,21 @@ function ea({
|
|
|
489
489
|
}
|
|
490
490
|
case "time":
|
|
491
491
|
return {
|
|
492
|
-
title:
|
|
492
|
+
title: s(R("history.moved")),
|
|
493
493
|
type: "info",
|
|
494
494
|
icon: /* @__PURE__ */ e(et, { size: 16, "aria-hidden": "true" }),
|
|
495
495
|
detail: g(S)
|
|
496
496
|
};
|
|
497
497
|
case "duration":
|
|
498
498
|
return {
|
|
499
|
-
title:
|
|
499
|
+
title: s(R("history.resized")),
|
|
500
500
|
type: "info",
|
|
501
501
|
icon: /* @__PURE__ */ e(Je, { size: 16, "aria-hidden": "true" }),
|
|
502
502
|
detail: g(S)
|
|
503
503
|
};
|
|
504
504
|
default:
|
|
505
505
|
return {
|
|
506
|
-
title:
|
|
506
|
+
title: s(R(`history.changed.${S.field}`)),
|
|
507
507
|
type: "neutral",
|
|
508
508
|
icon: /* @__PURE__ */ e(me, { size: 16, "aria-hidden": "true" }),
|
|
509
509
|
detail: g(S)
|
|
@@ -527,17 +527,17 @@ function ea({
|
|
|
527
527
|
icon: /* @__PURE__ */ e(me, { size: 16, "aria-hidden": "true" })
|
|
528
528
|
};
|
|
529
529
|
return {
|
|
530
|
-
title:
|
|
530
|
+
title: s(R(y.title)),
|
|
531
531
|
type: a.kind === "moved" || a.kind === "resized" ? "info" : a.kind === "status" && (a.to === "cancelled" || a.to === "absent") ? "warning" : "neutral",
|
|
532
532
|
icon: y.icon,
|
|
533
533
|
detail: /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
534
534
|
/* @__PURE__ */ e(
|
|
535
535
|
"dl",
|
|
536
536
|
{
|
|
537
|
-
"aria-label":
|
|
537
|
+
"aria-label": s(R("history.changesLabel")),
|
|
538
538
|
className: "ds:m-0 ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:items-baseline ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)]",
|
|
539
539
|
children: k.map((v) => /* @__PURE__ */ p("div", { className: "ds:contents", children: [
|
|
540
|
-
/* @__PURE__ */ e("dt", { className: "type-label ds:text-[color:var(--muted-foreground)]", children:
|
|
540
|
+
/* @__PURE__ */ e("dt", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: s(R(`history.fields.${v.field}`)) }),
|
|
541
541
|
/* @__PURE__ */ e("dd", { className: "ds:m-0 ds:min-w-0", children: g(v) })
|
|
542
542
|
] }, v.field))
|
|
543
543
|
}
|
|
@@ -547,10 +547,10 @@ function ea({
|
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
549
|
return {
|
|
550
|
-
title:
|
|
550
|
+
title: s(R("history.edited")),
|
|
551
551
|
type: "neutral",
|
|
552
552
|
icon: /* @__PURE__ */ e(me, { size: 16, "aria-hidden": "true" }),
|
|
553
|
-
detail: A || (o ? /* @__PURE__ */ e("span", { className: "ds:text-[color:var(--muted-foreground)]", children:
|
|
553
|
+
detail: A || (o ? /* @__PURE__ */ e("span", { className: "ds:text-[color:var(--muted-foreground)]", children: s(R("history.notRecorded")) }) : void 0)
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
return t.length === 0 ? /* @__PURE__ */ e(
|
|
@@ -558,9 +558,9 @@ function ea({
|
|
|
558
558
|
{
|
|
559
559
|
variant: "first-use",
|
|
560
560
|
size: "sm",
|
|
561
|
-
title:
|
|
561
|
+
title: s(R("historyEmpty"))
|
|
562
562
|
}
|
|
563
|
-
) : /* @__PURE__ */ e(Ae, { order: "newest-first", "aria-label":
|
|
563
|
+
) : /* @__PURE__ */ e(Ae, { order: "newest-first", "aria-label": s(R("historyTitle")), children: Kn(t).map((a) => {
|
|
564
564
|
const u = P(a);
|
|
565
565
|
return /* @__PURE__ */ p(
|
|
566
566
|
Ae.Event,
|
|
@@ -611,7 +611,7 @@ const ta = {
|
|
|
611
611
|
absent: "warning"
|
|
612
612
|
};
|
|
613
613
|
function na({ event: t }) {
|
|
614
|
-
const { t: n } = $("ui"), o = (
|
|
614
|
+
const { t: n } = $("ui"), o = (s) => `calendarWorkspace.details.indicators.${s}`, r = [];
|
|
615
615
|
return t.isBookedOnline && r.push({
|
|
616
616
|
id: "online",
|
|
617
617
|
icon: /* @__PURE__ */ e(un, { "aria-hidden": "true" }),
|
|
@@ -642,15 +642,15 @@ function na({ event: t }) {
|
|
|
642
642
|
icon: /* @__PURE__ */ e(Ht, { "aria-hidden": "true" }),
|
|
643
643
|
label: n(o("recurring")),
|
|
644
644
|
variant: "info"
|
|
645
|
-
}), r.length === 0 ? null : /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: r.map((
|
|
645
|
+
}), r.length === 0 ? null : /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: r.map((s) => /* @__PURE__ */ e(
|
|
646
646
|
$e,
|
|
647
647
|
{
|
|
648
|
-
variant:
|
|
648
|
+
variant: s.variant,
|
|
649
649
|
size: "sm",
|
|
650
|
-
leading:
|
|
651
|
-
children:
|
|
650
|
+
leading: s.icon,
|
|
651
|
+
children: s.label
|
|
652
652
|
},
|
|
653
|
-
|
|
653
|
+
s.id
|
|
654
654
|
)) });
|
|
655
655
|
}
|
|
656
656
|
function aa({
|
|
@@ -658,8 +658,8 @@ function aa({
|
|
|
658
658
|
avatarSrc: n,
|
|
659
659
|
unresolved: o = !1,
|
|
660
660
|
status: r,
|
|
661
|
-
flags:
|
|
662
|
-
age:
|
|
661
|
+
flags: s,
|
|
662
|
+
age: i,
|
|
663
663
|
onOpenPatient: l,
|
|
664
664
|
highlightedAnamnesisCount: b = 0,
|
|
665
665
|
expiredAnamnesisCount: d = 0,
|
|
@@ -672,8 +672,8 @@ function aa({
|
|
|
672
672
|
/* @__PURE__ */ e(Ze, { name: t, src: n }),
|
|
673
673
|
/* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:[min-inline-size:0]", children: [
|
|
674
674
|
/* @__PURE__ */ p("span", { className: "ds:flex ds:flex-wrap ds:items-baseline ds:gap-[var(--spacing-2xs)] ds:text-start", children: [
|
|
675
|
-
l ? /* @__PURE__ */ e(
|
|
676
|
-
|
|
675
|
+
l ? /* @__PURE__ */ e(O, { size: "sm", intent: "link", onClick: () => l(), children: t }) : /* @__PURE__ */ e("span", { className: "ds:font-[var(--font-weight-semibold)] ds:truncate", children: t }),
|
|
676
|
+
i !== void 0 ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: C(g("patientAge"), { n: i }) }) : null
|
|
677
677
|
] }),
|
|
678
678
|
o ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-start ds:text-[color:var(--muted-foreground)]", children: C(g("patientNotLoaded")) }) : null,
|
|
679
679
|
r && a ? /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
@@ -685,7 +685,7 @@ function aa({
|
|
|
685
685
|
children: a.label
|
|
686
686
|
}
|
|
687
687
|
) }) : null,
|
|
688
|
-
/* @__PURE__ */ e(na, { event:
|
|
688
|
+
/* @__PURE__ */ e(na, { event: s })
|
|
689
689
|
] })
|
|
690
690
|
] }),
|
|
691
691
|
u + k > 0 ? /* @__PURE__ */ p(
|
|
@@ -716,7 +716,7 @@ function aa({
|
|
|
716
716
|
) : null
|
|
717
717
|
] });
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function st({
|
|
720
720
|
eyebrow: t,
|
|
721
721
|
heading: n,
|
|
722
722
|
facts: o
|
|
@@ -724,40 +724,40 @@ function it({
|
|
|
724
724
|
return /* @__PURE__ */ p(Q, { children: [
|
|
725
725
|
/* @__PURE__ */ e(he.Eyebrow, { children: t }),
|
|
726
726
|
/* @__PURE__ */ e(he.Heading, { children: n }),
|
|
727
|
-
o && o.length > 0 ? /* @__PURE__ */ e(he.Body, { children: /* @__PURE__ */ e("ul", { className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)] ds:p-0 type-body-sm", children: o.map((r,
|
|
727
|
+
o && o.length > 0 ? /* @__PURE__ */ e(he.Body, { children: /* @__PURE__ */ e("ul", { className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)] ds:p-0 type-body-sm", children: o.map((r, s) => /* @__PURE__ */ e(
|
|
728
728
|
"li",
|
|
729
729
|
{
|
|
730
730
|
className: r.muted ? "ds:text-[color:var(--muted-foreground)]" : void 0,
|
|
731
731
|
children: r.text
|
|
732
732
|
},
|
|
733
|
-
|
|
733
|
+
s
|
|
734
734
|
)) }) }) : null
|
|
735
735
|
] });
|
|
736
736
|
}
|
|
737
|
-
const
|
|
737
|
+
const sa = "ds:inline-flex ds:cursor-pointer ds:rounded-[var(--radius-full)] ds:p-0 ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]";
|
|
738
738
|
function Et({
|
|
739
739
|
id: t,
|
|
740
740
|
eyebrow: n,
|
|
741
741
|
heading: o,
|
|
742
742
|
facts: r,
|
|
743
|
-
children:
|
|
743
|
+
children: s
|
|
744
744
|
}) {
|
|
745
745
|
return /* @__PURE__ */ p(he, { children: [
|
|
746
|
-
/* @__PURE__ */ e(he.Trigger, { asChild: !0, children: /* @__PURE__ */ e("button", { type: "button", "data-chip-hover": t, className:
|
|
747
|
-
/* @__PURE__ */ e(he.Content, { side: "bottom", align: "start", size: "sm", children: /* @__PURE__ */ e(
|
|
746
|
+
/* @__PURE__ */ e(he.Trigger, { asChild: !0, children: /* @__PURE__ */ e("button", { type: "button", "data-chip-hover": t, className: sa, children: s }) }),
|
|
747
|
+
/* @__PURE__ */ e(he.Content, { side: "bottom", align: "start", size: "sm", children: /* @__PURE__ */ e(st, { eyebrow: n, heading: o, facts: r }) })
|
|
748
748
|
] });
|
|
749
749
|
}
|
|
750
|
-
const m = (t) => `calendarWorkspace.details.${t}`,
|
|
750
|
+
const m = (t) => `calendarWorkspace.details.${t}`, ia = "type-body-sm ds:text-[color:var(--muted-foreground)]", qt = (t) => /* @__PURE__ */ e("a", { href: `tel:${t.replace(/\s/g, "")}`, dir: "ltr", children: t }), Kt = (t) => /* @__PURE__ */ e("a", { href: `mailto:${t}`, dir: "ltr", children: t }), Ut = (t, n, o) => new Intl.NumberFormat(t, { style: "currency", currency: o }).format(n);
|
|
751
751
|
function Rt({ rows: t }) {
|
|
752
752
|
const n = t.filter((o) => !!o);
|
|
753
|
-
return n.length === 0 ? null : /* @__PURE__ */ e(
|
|
754
|
-
|
|
753
|
+
return n.length === 0 ? null : /* @__PURE__ */ e(_e, { layout: "inline", density: "compact", children: n.map((o) => /* @__PURE__ */ p(
|
|
754
|
+
_e.Row,
|
|
755
755
|
{
|
|
756
756
|
"data-row": o.id,
|
|
757
757
|
icon: o.icon,
|
|
758
758
|
children: [
|
|
759
|
-
/* @__PURE__ */ e(
|
|
760
|
-
/* @__PURE__ */ e(
|
|
759
|
+
/* @__PURE__ */ e(_e.Term, { children: o.label }),
|
|
760
|
+
/* @__PURE__ */ e(_e.Detail, { children: o.value })
|
|
761
761
|
]
|
|
762
762
|
},
|
|
763
763
|
o.id
|
|
@@ -768,19 +768,19 @@ function oa({
|
|
|
768
768
|
locale: n,
|
|
769
769
|
currency: o,
|
|
770
770
|
now: r,
|
|
771
|
-
mapsLink:
|
|
771
|
+
mapsLink: s = !1
|
|
772
772
|
}) {
|
|
773
|
-
const { t:
|
|
773
|
+
const { t: i } = $("ui"), { patient: l, signing: b, money: d, booking: f } = t;
|
|
774
774
|
if (!l) return null;
|
|
775
775
|
const c = b && b.required > 0 ? b : void 0, C = ((c == null ? void 0 : c.toComplete) ?? 0) > 0, E = c ? [
|
|
776
776
|
{
|
|
777
|
-
text: C ? c.requestedVia === "sms" ?
|
|
777
|
+
text: C ? c.requestedVia === "sms" ? i(m("signingRequestedSms")) : c.requestedVia === "email" ? i(m("signingRequestedEmail")) : i(m("signingNotRequested")) : i(m("signingAllSigned"))
|
|
778
778
|
},
|
|
779
|
-
...c.aesSetUp ? [] : [{ text:
|
|
779
|
+
...c.aesSetUp ? [] : [{ text: i(m("aesMissing")), muted: !0 }]
|
|
780
780
|
] : [], g = l.highlightedAnamnesisCount ?? 0, P = l.expiredAnamnesisCount ?? 0, a = (l.highlightedAnamnesisAnswers ?? []).map((v) => ({
|
|
781
781
|
text: [
|
|
782
782
|
v.question,
|
|
783
|
-
|
|
783
|
+
i(m(v.yes ? "anamnesisYes" : "anamnesisNo")),
|
|
784
784
|
v.answer,
|
|
785
785
|
Be(n, v.interviewIso)
|
|
786
786
|
].filter(Boolean).join(" · ")
|
|
@@ -788,9 +788,9 @@ function oa({
|
|
|
788
788
|
...l.dobIso ? [
|
|
789
789
|
{
|
|
790
790
|
id: "dob",
|
|
791
|
-
label:
|
|
791
|
+
label: i(m("dob")),
|
|
792
792
|
icon: /* @__PURE__ */ e(Ln, {}),
|
|
793
|
-
value: `${Be(n, l.dobIso)} ${
|
|
793
|
+
value: `${Be(n, l.dobIso)} ${i(
|
|
794
794
|
m("patientAge"),
|
|
795
795
|
{
|
|
796
796
|
n: Wn(l.dobIso, r)
|
|
@@ -802,7 +802,7 @@ function oa({
|
|
|
802
802
|
const K = v.label === "mobile" || v.label === "home" || v.label === "work";
|
|
803
803
|
return {
|
|
804
804
|
id: `phone-${L}`,
|
|
805
|
-
label:
|
|
805
|
+
label: i(K ? `calendarWorkspace.print.phoneLabels.${v.label}` : m("phone")),
|
|
806
806
|
icon: v.label === "mobile" ? /* @__PURE__ */ e(gn, {}) : /* @__PURE__ */ e(vn, {}),
|
|
807
807
|
value: qt(v.number)
|
|
808
808
|
};
|
|
@@ -810,15 +810,15 @@ function oa({
|
|
|
810
810
|
...l.email ? [
|
|
811
811
|
{
|
|
812
812
|
id: "email",
|
|
813
|
-
label:
|
|
813
|
+
label: i(m("email")),
|
|
814
814
|
icon: /* @__PURE__ */ e(yn, {}),
|
|
815
815
|
value: Kt(l.email)
|
|
816
816
|
}
|
|
817
817
|
] : [],
|
|
818
|
-
...
|
|
818
|
+
...s ? [
|
|
819
819
|
{
|
|
820
820
|
id: "address",
|
|
821
|
-
label:
|
|
821
|
+
label: i(m("address")),
|
|
822
822
|
icon: /* @__PURE__ */ e(bn, {}),
|
|
823
823
|
value: u ? /* @__PURE__ */ e(
|
|
824
824
|
"a",
|
|
@@ -826,21 +826,21 @@ function oa({
|
|
|
826
826
|
href: Yn(l),
|
|
827
827
|
target: "_blank",
|
|
828
828
|
rel: "noopener noreferrer",
|
|
829
|
-
"aria-label": `${
|
|
829
|
+
"aria-label": `${i(m("mapsLink"))}: ${k}`,
|
|
830
830
|
children: k
|
|
831
831
|
}
|
|
832
|
-
) : /* @__PURE__ */ e("span", { className:
|
|
832
|
+
) : /* @__PURE__ */ e("span", { className: ia, children: i(m("noAddress")) })
|
|
833
833
|
}
|
|
834
834
|
] : []
|
|
835
|
-
], N = (d == null ? void 0 : d.unpaidAmount) ?? 0, A = (d == null ? void 0 : d.billableAmount) ?? 0, S = (f == null ? void 0 : f.paidOnlineAmount) ?? 0, y = (v, L, K, ae, V,
|
|
835
|
+
], N = (d == null ? void 0 : d.unpaidAmount) ?? 0, A = (d == null ? void 0 : d.billableAmount) ?? 0, S = (f == null ? void 0 : f.paidOnlineAmount) ?? 0, y = (v, L, K, ae, V, se) => /* @__PURE__ */ e(
|
|
836
836
|
Et,
|
|
837
837
|
{
|
|
838
838
|
id: K,
|
|
839
|
-
eyebrow:
|
|
840
|
-
heading:
|
|
839
|
+
eyebrow: i(m("hoverBilling")),
|
|
840
|
+
heading: i(m(ae), {
|
|
841
841
|
amount: Ut(n, L, o)
|
|
842
842
|
}),
|
|
843
|
-
facts: [{ text:
|
|
843
|
+
facts: [{ text: i(m(V)) }],
|
|
844
844
|
children: /* @__PURE__ */ e(
|
|
845
845
|
fn,
|
|
846
846
|
{
|
|
@@ -851,14 +851,14 @@ function oa({
|
|
|
851
851
|
locale: n,
|
|
852
852
|
size: "md",
|
|
853
853
|
showLabel: !0,
|
|
854
|
-
label:
|
|
854
|
+
label: se,
|
|
855
855
|
showIcon: !1
|
|
856
856
|
}
|
|
857
857
|
)
|
|
858
858
|
}
|
|
859
859
|
);
|
|
860
860
|
return /* @__PURE__ */ e(
|
|
861
|
-
|
|
861
|
+
_t,
|
|
862
862
|
{
|
|
863
863
|
"data-card": "patient",
|
|
864
864
|
name: l.name,
|
|
@@ -873,10 +873,10 @@ function oa({
|
|
|
873
873
|
flagHover: {
|
|
874
874
|
...c ? {
|
|
875
875
|
unsignedDocuments: /* @__PURE__ */ e(
|
|
876
|
-
|
|
876
|
+
st,
|
|
877
877
|
{
|
|
878
|
-
eyebrow:
|
|
879
|
-
heading: c.toComplete === 1 ?
|
|
878
|
+
eyebrow: i(m("sectionSigning")),
|
|
879
|
+
heading: c.toComplete === 1 ? i(m("signingToSignOne")) : i(m("signingToSignMany"), {
|
|
880
880
|
n: c.toComplete
|
|
881
881
|
}),
|
|
882
882
|
facts: E
|
|
@@ -884,10 +884,10 @@ function oa({
|
|
|
884
884
|
)
|
|
885
885
|
} : {},
|
|
886
886
|
highlightedAnamnesis: /* @__PURE__ */ e(
|
|
887
|
-
|
|
887
|
+
st,
|
|
888
888
|
{
|
|
889
|
-
eyebrow:
|
|
890
|
-
heading:
|
|
889
|
+
eyebrow: i(m("anamnesisTitle")),
|
|
890
|
+
heading: i(m("anamnesisHighlighted"), { n: g }),
|
|
891
891
|
facts: a
|
|
892
892
|
}
|
|
893
893
|
)
|
|
@@ -916,16 +916,16 @@ function oa({
|
|
|
916
916
|
"hoverPaidOnlineFact",
|
|
917
917
|
/* A deposit is settled money, but "Settled" hides where
|
|
918
918
|
it came from: the chip says what its hover card says. */
|
|
919
|
-
|
|
919
|
+
i(m("paidOnline"))
|
|
920
920
|
) : null
|
|
921
921
|
] }),
|
|
922
922
|
P > 0 ? /* @__PURE__ */ e(
|
|
923
923
|
Et,
|
|
924
924
|
{
|
|
925
925
|
id: "anamnesisExpired",
|
|
926
|
-
eyebrow:
|
|
927
|
-
heading:
|
|
928
|
-
facts: [{ text:
|
|
926
|
+
eyebrow: i(m("anamnesisTitle")),
|
|
927
|
+
heading: i(m("anamnesisExpired"), { n: P }),
|
|
928
|
+
facts: [{ text: i(m("hoverAnamnesisExpiredFact")) }],
|
|
929
929
|
children: /* @__PURE__ */ e(
|
|
930
930
|
$e,
|
|
931
931
|
{
|
|
@@ -933,14 +933,14 @@ function oa({
|
|
|
933
933
|
variant: "warning",
|
|
934
934
|
size: "md",
|
|
935
935
|
leading: /* @__PURE__ */ e(dt, {}),
|
|
936
|
-
children:
|
|
936
|
+
children: i(m("anamnesisExpired"), { n: P })
|
|
937
937
|
}
|
|
938
938
|
)
|
|
939
939
|
}
|
|
940
940
|
) : null
|
|
941
941
|
] }) : void 0,
|
|
942
942
|
visibleFieldOrder: h.map((v) => v.id),
|
|
943
|
-
sections: h.length > 0 ? [{ id: "contact", heading:
|
|
943
|
+
sections: h.length > 0 ? [{ id: "contact", heading: i(m("sectionPatient")), fields: h }] : void 0
|
|
944
944
|
}
|
|
945
945
|
);
|
|
946
946
|
}
|
|
@@ -949,8 +949,8 @@ function ra({
|
|
|
949
949
|
locale: n,
|
|
950
950
|
currency: o,
|
|
951
951
|
operator: r,
|
|
952
|
-
chair:
|
|
953
|
-
description:
|
|
952
|
+
chair: s,
|
|
953
|
+
description: i,
|
|
954
954
|
privacy: l = !1,
|
|
955
955
|
history: b
|
|
956
956
|
}) {
|
|
@@ -1005,7 +1005,7 @@ function ra({
|
|
|
1005
1005
|
title: d(m("sectionAppointment")),
|
|
1006
1006
|
headingLevel: 3,
|
|
1007
1007
|
children: [
|
|
1008
|
-
|
|
1008
|
+
i,
|
|
1009
1009
|
/* @__PURE__ */ e(
|
|
1010
1010
|
Rt,
|
|
1011
1011
|
{
|
|
@@ -1041,11 +1041,11 @@ function ra({
|
|
|
1041
1041
|
icon: /* @__PURE__ */ e(Ze, { name: r.name, src: r.avatarSrc, size: "xs" }),
|
|
1042
1042
|
value: r.name
|
|
1043
1043
|
},
|
|
1044
|
-
|
|
1044
|
+
s && {
|
|
1045
1045
|
id: "chair",
|
|
1046
1046
|
label: d(m("chair")),
|
|
1047
1047
|
icon: /* @__PURE__ */ e(It, {}),
|
|
1048
|
-
value: /* @__PURE__ */ e($e, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(It, {}), children:
|
|
1048
|
+
value: /* @__PURE__ */ e($e, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(It, {}), children: s.name })
|
|
1049
1049
|
},
|
|
1050
1050
|
f.branchLabel && {
|
|
1051
1051
|
id: "branch",
|
|
@@ -1105,12 +1105,12 @@ function da({
|
|
|
1105
1105
|
currency: o,
|
|
1106
1106
|
privacy: r = !1
|
|
1107
1107
|
}) {
|
|
1108
|
-
const { t:
|
|
1109
|
-
return !
|
|
1108
|
+
const { t: s } = $("ui"), { care: i } = t, l = r || i == null ? void 0 : i.plan;
|
|
1109
|
+
return !i || !l && i.lines.length === 0 ? null : /* @__PURE__ */ p(
|
|
1110
1110
|
ne,
|
|
1111
1111
|
{
|
|
1112
1112
|
"data-card": "treatments",
|
|
1113
|
-
title:
|
|
1113
|
+
title: s(m("sectionTreatments")),
|
|
1114
1114
|
headingLevel: 3,
|
|
1115
1115
|
children: [
|
|
1116
1116
|
l ? /* @__PURE__ */ p("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-title-item", children: [
|
|
@@ -1121,12 +1121,12 @@ function da({
|
|
|
1121
1121
|
className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
|
|
1122
1122
|
}
|
|
1123
1123
|
),
|
|
1124
|
-
l.number ?
|
|
1124
|
+
l.number ? s(m("planLine"), { number: l.number, name: l.name }) : l.name
|
|
1125
1125
|
] }) : null,
|
|
1126
|
-
|
|
1126
|
+
i.lines.length > 0 ? /* @__PURE__ */ e(
|
|
1127
1127
|
Bt,
|
|
1128
1128
|
{
|
|
1129
|
-
lines:
|
|
1129
|
+
lines: i.lines.map(({ entryId: b, careId: d, ...f }) => ({
|
|
1130
1130
|
id: b,
|
|
1131
1131
|
...f
|
|
1132
1132
|
})),
|
|
@@ -1144,16 +1144,16 @@ function la({
|
|
|
1144
1144
|
onOpenNotes: n,
|
|
1145
1145
|
locale: o
|
|
1146
1146
|
}) {
|
|
1147
|
-
const { t: r } = $("ui"),
|
|
1147
|
+
const { t: r } = $("ui"), s = Ye(), i = t.status ?? "ready", l = M(!1);
|
|
1148
1148
|
te(() => {
|
|
1149
|
-
l.current && (
|
|
1150
|
-
}, [
|
|
1151
|
-
const b = t.total ?? (
|
|
1149
|
+
l.current && (i !== "loading" && (l.current = !1), Se(s));
|
|
1150
|
+
}, [i, s]);
|
|
1151
|
+
const b = t.total ?? (i === "ready" ? t.notes.length : null), d = Math.max(0, (b ?? 0) - Pt), f = d > 0 ? r(m("notesMore"), { n: d }) : r(m("notesPreviewOpen"));
|
|
1152
1152
|
return /* @__PURE__ */ p(
|
|
1153
1153
|
ne,
|
|
1154
1154
|
{
|
|
1155
1155
|
"data-card": "notes",
|
|
1156
|
-
headingId:
|
|
1156
|
+
headingId: s,
|
|
1157
1157
|
headingLevel: 3,
|
|
1158
1158
|
title: b === null ? r("notesPanel.title") : r(m("notesPreviewTitle"), { count: b }),
|
|
1159
1159
|
headerAction: n && (b ?? 0) > 0 ? /* @__PURE__ */ p("span", { className: "ds:relative ds:inline-flex", children: [
|
|
@@ -1185,10 +1185,10 @@ function la({
|
|
|
1185
1185
|
) : null
|
|
1186
1186
|
] }) : void 0,
|
|
1187
1187
|
children: [
|
|
1188
|
-
|
|
1188
|
+
i === "error" ? /* @__PURE__ */ p(F, { variant: "error", children: [
|
|
1189
1189
|
/* @__PURE__ */ e(F.Description, { children: r("notesPanel.loadError") }),
|
|
1190
1190
|
t.onRetry ? /* @__PURE__ */ e(F.Action, { children: /* @__PURE__ */ e(
|
|
1191
|
-
|
|
1191
|
+
O,
|
|
1192
1192
|
{
|
|
1193
1193
|
intent: "secondary",
|
|
1194
1194
|
size: "sm",
|
|
@@ -1200,10 +1200,10 @@ function la({
|
|
|
1200
1200
|
}
|
|
1201
1201
|
) }) : null
|
|
1202
1202
|
] }) : null,
|
|
1203
|
-
t.notes.length === 0 &&
|
|
1203
|
+
t.notes.length === 0 && i === "loading" ? /* @__PURE__ */ p(Q, { children: [
|
|
1204
1204
|
/* @__PURE__ */ e("span", { role: "status", className: "ds:sr-only", children: r("notesPanel.loading") }),
|
|
1205
1205
|
/* @__PURE__ */ e(Xe, { notes: [], loading: !0, loadingRows: 2 })
|
|
1206
|
-
] }) :
|
|
1206
|
+
] }) : i !== "error" || t.notes.length > 0 ? (
|
|
1207
1207
|
/* A note click, or Enter or Space on it, goes straight to that note
|
|
1208
1208
|
in the Notes tool; the header button opens the tool at the top. */
|
|
1209
1209
|
/* @__PURE__ */ e(
|
|
@@ -1212,7 +1212,7 @@ function la({
|
|
|
1212
1212
|
notes: t.notes,
|
|
1213
1213
|
maxItems: Pt,
|
|
1214
1214
|
locale: o,
|
|
1215
|
-
"aria-labelledby":
|
|
1215
|
+
"aria-labelledby": s,
|
|
1216
1216
|
onNoteActivate: n,
|
|
1217
1217
|
emptyState: /* @__PURE__ */ e("p", { className: "ds:m-0 type-body-sm ds:text-[color:var(--muted-foreground)]", children: r(m("notesPreviewEmpty")) })
|
|
1218
1218
|
}
|
|
@@ -1222,13 +1222,13 @@ function la({
|
|
|
1222
1222
|
}
|
|
1223
1223
|
);
|
|
1224
1224
|
}
|
|
1225
|
-
const ca =
|
|
1225
|
+
const ca = it("ds:flex ds:h-full ds:min-h-0 ds:flex-col"), ua = it(
|
|
1226
1226
|
"ds:flex ds:shrink-0 ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:border-t ds:border-[color:var(--border)] ds:p-[var(--spacing-sm)]"
|
|
1227
|
-
), ma =
|
|
1227
|
+
), ma = it(
|
|
1228
1228
|
"ds:shrink-0 ds:rounded-[var(--radius-md)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
1229
|
-
), G = "ds:
|
|
1230
|
-
"ds:[
|
|
1231
|
-
"ds:[
|
|
1229
|
+
), G = "ds:sm:[min-block-size:var(--accessible-target-floor,0px)]", pa = "ds:sm:[&>button]:[min-block-size:var(--accessible-target-floor,0px)]", ha = [
|
|
1230
|
+
"ds:sm:[&_button:has(svg.lucide-ellipsis)]:[min-block-size:var(--accessible-target-floor,0px)]",
|
|
1231
|
+
"ds:[&_button:has(svg.lucide-ellipsis)]:[min-inline-size:var(--accessible-target-floor,auto)]"
|
|
1232
1232
|
].join(" "), Gt = ["40%", "33%", "50%", "25%"], fa = [
|
|
1233
1233
|
"bill",
|
|
1234
1234
|
"folder",
|
|
@@ -1241,7 +1241,7 @@ const ca = st("ds:flex ds:h-full ds:min-h-0 ds:flex-col"), ua = st(
|
|
|
1241
1241
|
folder: /* @__PURE__ */ e(Rn, { "aria-hidden": "true" }),
|
|
1242
1242
|
template: /* @__PURE__ */ e(En, { "aria-hidden": "true" }),
|
|
1243
1243
|
empty: /* @__PURE__ */ e(Cn, { "aria-hidden": "true" }),
|
|
1244
|
-
identification: /* @__PURE__ */ e(
|
|
1244
|
+
identification: /* @__PURE__ */ e(_n, { "aria-hidden": "true" }),
|
|
1245
1245
|
webcam: /* @__PURE__ */ e(Dn, { "aria-hidden": "true" })
|
|
1246
1246
|
}, D = (t) => `calendarWorkspace.details.${t}`;
|
|
1247
1247
|
function Mt({
|
|
@@ -1249,17 +1249,17 @@ function Mt({
|
|
|
1249
1249
|
startIcon: n,
|
|
1250
1250
|
overflowItems: o,
|
|
1251
1251
|
"data-action": r,
|
|
1252
|
-
intent:
|
|
1253
|
-
background:
|
|
1252
|
+
intent: s,
|
|
1253
|
+
background: i,
|
|
1254
1254
|
size: l,
|
|
1255
1255
|
hideLabel: b
|
|
1256
1256
|
}) {
|
|
1257
|
-
return /* @__PURE__ */ p(
|
|
1258
|
-
/* @__PURE__ */ e(sn, { label: t, side: "top", children: /* @__PURE__ */ e(
|
|
1259
|
-
|
|
1257
|
+
return /* @__PURE__ */ p(Oe.Root, { children: [
|
|
1258
|
+
/* @__PURE__ */ e(sn, { label: t, side: "top", children: /* @__PURE__ */ e(Oe.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1259
|
+
O,
|
|
1260
1260
|
{
|
|
1261
|
-
intent:
|
|
1262
|
-
background:
|
|
1261
|
+
intent: s,
|
|
1262
|
+
background: i,
|
|
1263
1263
|
size: l,
|
|
1264
1264
|
"data-action": r,
|
|
1265
1265
|
className: G,
|
|
@@ -1269,8 +1269,8 @@ function Mt({
|
|
|
1269
1269
|
children: b ? /* @__PURE__ */ e("span", { className: "ds:sr-only", children: t }) : t
|
|
1270
1270
|
}
|
|
1271
1271
|
) }) }),
|
|
1272
|
-
/* @__PURE__ */ e(
|
|
1273
|
-
|
|
1272
|
+
/* @__PURE__ */ e(Oe.Content, { align: "end", children: o.map((d) => /* @__PURE__ */ e(
|
|
1273
|
+
Oe.Item,
|
|
1274
1274
|
{
|
|
1275
1275
|
"data-action": d.action,
|
|
1276
1276
|
startIcon: d.icon,
|
|
@@ -1292,7 +1292,7 @@ function va() {
|
|
|
1292
1292
|
className: "ds:flex ds:min-h-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)] ds:overflow-hidden ds:p-[var(--spacing-md)] ds:[&>*]:shrink-0",
|
|
1293
1293
|
children: [
|
|
1294
1294
|
/* @__PURE__ */ e(
|
|
1295
|
-
|
|
1295
|
+
_t,
|
|
1296
1296
|
{
|
|
1297
1297
|
name: "",
|
|
1298
1298
|
loading: !0,
|
|
@@ -1362,23 +1362,23 @@ function ya({
|
|
|
1362
1362
|
locale: n,
|
|
1363
1363
|
onRetry: o,
|
|
1364
1364
|
noteUnrecordedEdits: r,
|
|
1365
|
-
privacy:
|
|
1365
|
+
privacy: s
|
|
1366
1366
|
}) {
|
|
1367
1367
|
var g;
|
|
1368
|
-
const { t:
|
|
1368
|
+
const { t: i } = $("ui"), l = t.status ?? (t.entries ? "ready" : "loading"), b = l === "error" ? void 0 : t.entries, d = l === "loading" || l !== "error" && !b, [f, c] = B(!1);
|
|
1369
1369
|
pe(() => c(!0), []);
|
|
1370
1370
|
let C = "";
|
|
1371
|
-
d ? C =
|
|
1371
|
+
d ? C = i("common.loading") : b && (C = b.length === 0 ? i(D("historyEmpty")) : i(D("historyLoaded"), { n: b.length }));
|
|
1372
1372
|
let E;
|
|
1373
1373
|
return l === "error" ? E = /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1374
|
-
/* @__PURE__ */ e(F, { variant: "error", children: /* @__PURE__ */ e(F.Description, { children: ((g = t.message) == null ? void 0 : g.trim()) ||
|
|
1374
|
+
/* @__PURE__ */ e(F, { variant: "error", children: /* @__PURE__ */ e(F.Description, { children: ((g = t.message) == null ? void 0 : g.trim()) || i("emptyState.error.description") }) }),
|
|
1375
1375
|
o ? /* @__PURE__ */ e(
|
|
1376
|
-
|
|
1376
|
+
O,
|
|
1377
1377
|
{
|
|
1378
1378
|
intent: "outline",
|
|
1379
1379
|
"data-action": "retry-history",
|
|
1380
1380
|
onClick: () => o(),
|
|
1381
|
-
children:
|
|
1381
|
+
children: i("emptyState.error.cta")
|
|
1382
1382
|
}
|
|
1383
1383
|
) : null
|
|
1384
1384
|
] }) : d || !b ? E = /* @__PURE__ */ e(
|
|
@@ -1421,7 +1421,7 @@ function ya({
|
|
|
1421
1421
|
history: b,
|
|
1422
1422
|
locale: n,
|
|
1423
1423
|
noteUnrecordedEdits: r,
|
|
1424
|
-
privacy:
|
|
1424
|
+
privacy: s
|
|
1425
1425
|
}
|
|
1426
1426
|
), /* @__PURE__ */ p(Q, { children: [
|
|
1427
1427
|
/* @__PURE__ */ e("span", { role: "status", className: "ds:sr-only", children: f ? C : "" }),
|
|
@@ -1433,8 +1433,8 @@ function ba({
|
|
|
1433
1433
|
refreshing: n,
|
|
1434
1434
|
currency: o,
|
|
1435
1435
|
now: r,
|
|
1436
|
-
locale:
|
|
1437
|
-
shownTitle:
|
|
1436
|
+
locale: s,
|
|
1437
|
+
shownTitle: i,
|
|
1438
1438
|
headingId: l,
|
|
1439
1439
|
enter: b,
|
|
1440
1440
|
live: d,
|
|
@@ -1457,7 +1457,7 @@ function ba({
|
|
|
1457
1457
|
onEdit: K,
|
|
1458
1458
|
onMove: ae,
|
|
1459
1459
|
onCopy: V,
|
|
1460
|
-
onDelete:
|
|
1460
|
+
onDelete: se,
|
|
1461
1461
|
onJoinTelehealth: Ie,
|
|
1462
1462
|
onWhatsApp: Te,
|
|
1463
1463
|
whatsappUrl: De,
|
|
@@ -1465,7 +1465,7 @@ function ba({
|
|
|
1465
1465
|
documents: X
|
|
1466
1466
|
}) {
|
|
1467
1467
|
var yt, bt;
|
|
1468
|
-
const { t: w } = $("ui"), { eventId: z } = t, [He] = B(b),
|
|
1468
|
+
const { t: w } = $("ui"), { eventId: z } = t, [He] = B(b), ie = { details: t, locale: s, currency: o }, I = h ? h.eventId !== void 0 && h.eventId !== z ? { status: "loading" } : h : t.history ? { entries: t.history } : void 0, Re = (u == null ? void 0 : u.patientId) === void 0 || u.patientId === c, oe = u ? Re ? u : c ? { notes: [], status: "loading", total: null } : void 0 : void 0, J = !!L && !S && !g, [fe, Y] = B(!1), [ge, U] = B(!1), Z = fe && I !== void 0, Pe = ge && J, ve = () => {
|
|
1469
1469
|
Z || !I || (Y(!0), N == null || N(z));
|
|
1470
1470
|
}, Me = M({ history: !1, editor: !1 });
|
|
1471
1471
|
te(() => {
|
|
@@ -1474,9 +1474,9 @@ function ba({
|
|
|
1474
1474
|
const ce = x.history && I === void 0, kt = x.editor && !J;
|
|
1475
1475
|
ce && Y(!1), kt && U(!1), (ce || kt) && Se(l);
|
|
1476
1476
|
});
|
|
1477
|
-
const re = M(null),
|
|
1477
|
+
const re = M(null), _ = M(!1), ye = (I == null ? void 0 : I.status) ?? (I != null && I.entries ? "ready" : "loading");
|
|
1478
1478
|
te(() => {
|
|
1479
|
-
|
|
1479
|
+
_.current && (ye !== "loading" && (_.current = !1), tt(re.current));
|
|
1480
1480
|
}, [ye]);
|
|
1481
1481
|
const [q, be] = B(t.appointment.name ?? "");
|
|
1482
1482
|
pe(() => {
|
|
@@ -1569,7 +1569,7 @@ function ba({
|
|
|
1569
1569
|
Ie && j.push([
|
|
1570
1570
|
"join-telehealth",
|
|
1571
1571
|
/* @__PURE__ */ e(
|
|
1572
|
-
|
|
1572
|
+
O,
|
|
1573
1573
|
{
|
|
1574
1574
|
intent: "primary",
|
|
1575
1575
|
"data-action": "join-telehealth",
|
|
@@ -1583,7 +1583,7 @@ function ba({
|
|
|
1583
1583
|
]), !S && K && j.push([
|
|
1584
1584
|
"edit-appointment",
|
|
1585
1585
|
/* @__PURE__ */ e(
|
|
1586
|
-
|
|
1586
|
+
O,
|
|
1587
1587
|
{
|
|
1588
1588
|
"data-action": "edit-appointment",
|
|
1589
1589
|
className: G,
|
|
@@ -1596,7 +1596,7 @@ function ba({
|
|
|
1596
1596
|
]), !S && ae && j.push([
|
|
1597
1597
|
"move-appointment",
|
|
1598
1598
|
/* @__PURE__ */ e(
|
|
1599
|
-
|
|
1599
|
+
O,
|
|
1600
1600
|
{
|
|
1601
1601
|
"data-action": "move-appointment",
|
|
1602
1602
|
className: G,
|
|
@@ -1632,7 +1632,7 @@ function ba({
|
|
|
1632
1632
|
},
|
|
1633
1633
|
"copy"
|
|
1634
1634
|
) : /* @__PURE__ */ e(
|
|
1635
|
-
|
|
1635
|
+
O,
|
|
1636
1636
|
{
|
|
1637
1637
|
"data-action": "copy-appointment",
|
|
1638
1638
|
className: G,
|
|
@@ -1663,7 +1663,7 @@ function ba({
|
|
|
1663
1663
|
]), Te ? j.push([
|
|
1664
1664
|
"open-whatsapp",
|
|
1665
1665
|
/* @__PURE__ */ e(
|
|
1666
|
-
|
|
1666
|
+
O,
|
|
1667
1667
|
{
|
|
1668
1668
|
"data-action": "open-whatsapp",
|
|
1669
1669
|
className: G,
|
|
@@ -1676,7 +1676,7 @@ function ba({
|
|
|
1676
1676
|
]) : ut && j.push([
|
|
1677
1677
|
"open-whatsapp",
|
|
1678
1678
|
/* @__PURE__ */ e(
|
|
1679
|
-
|
|
1679
|
+
O,
|
|
1680
1680
|
{
|
|
1681
1681
|
asChild: !0,
|
|
1682
1682
|
"data-action": "open-whatsapp",
|
|
@@ -1689,7 +1689,7 @@ function ba({
|
|
|
1689
1689
|
]), Ce && j.push([
|
|
1690
1690
|
"create-task",
|
|
1691
1691
|
/* @__PURE__ */ e(
|
|
1692
|
-
|
|
1692
|
+
O,
|
|
1693
1693
|
{
|
|
1694
1694
|
asChild: !0,
|
|
1695
1695
|
"data-action": "create-task",
|
|
@@ -1699,16 +1699,16 @@ function ba({
|
|
|
1699
1699
|
},
|
|
1700
1700
|
"task"
|
|
1701
1701
|
)
|
|
1702
|
-
]), !S &&
|
|
1702
|
+
]), !S && se && j.push([
|
|
1703
1703
|
"delete-appointment",
|
|
1704
1704
|
/* @__PURE__ */ e(
|
|
1705
|
-
|
|
1705
|
+
O,
|
|
1706
1706
|
{
|
|
1707
1707
|
intent: "destructiveOutline",
|
|
1708
1708
|
"data-action": "delete-appointment",
|
|
1709
1709
|
className: G,
|
|
1710
1710
|
startIcon: /* @__PURE__ */ e($t, { "aria-hidden": "true" }),
|
|
1711
|
-
onClick: () =>
|
|
1711
|
+
onClick: () => se(z),
|
|
1712
1712
|
children: w("calendarWorkspace.editor.delete")
|
|
1713
1713
|
},
|
|
1714
1714
|
"delete"
|
|
@@ -1731,9 +1731,9 @@ function ba({
|
|
|
1731
1731
|
className: `ds:flex ds:min-h-0 ds:flex-1 ds:flex-col ${He ? nn : ""}`,
|
|
1732
1732
|
children: /* @__PURE__ */ p(Ge.Host, { children: [
|
|
1733
1733
|
/* @__PURE__ */ e(
|
|
1734
|
-
|
|
1734
|
+
Ot,
|
|
1735
1735
|
{
|
|
1736
|
-
title:
|
|
1736
|
+
title: i,
|
|
1737
1737
|
headingId: l,
|
|
1738
1738
|
icon: /* @__PURE__ */ e(rt, { "aria-hidden": "true" }),
|
|
1739
1739
|
sticky: !0,
|
|
@@ -1759,7 +1759,7 @@ function ba({
|
|
|
1759
1759
|
"aria-busy": n || void 0,
|
|
1760
1760
|
className: "ds:[min-block-size:0] ds:flex-1 ds:overflow-y-auto",
|
|
1761
1761
|
children: /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]", children: [
|
|
1762
|
-
g ? /* @__PURE__ */ e(en, { mask: P }) : t.patient ? /* @__PURE__ */ e(oa, { ...
|
|
1762
|
+
g ? /* @__PURE__ */ e(en, { mask: P }) : t.patient ? /* @__PURE__ */ e(oa, { ...ie, now: r, mapsLink: a }) : (
|
|
1763
1763
|
/* No patient card to carry the identity: a patient-less, an
|
|
1764
1764
|
unassigned or an unresolved booking keeps the strip. */
|
|
1765
1765
|
/* @__PURE__ */ e(
|
|
@@ -1776,14 +1776,14 @@ function ba({
|
|
|
1776
1776
|
hasHighlightedAnamnesis: !1,
|
|
1777
1777
|
hasBillableAmount: (((bt = t.money) == null ? void 0 : bt.billableAmount) ?? 0) > 0
|
|
1778
1778
|
},
|
|
1779
|
-
locale:
|
|
1779
|
+
locale: s
|
|
1780
1780
|
}
|
|
1781
1781
|
)
|
|
1782
1782
|
),
|
|
1783
1783
|
/* @__PURE__ */ e(
|
|
1784
1784
|
ra,
|
|
1785
1785
|
{
|
|
1786
|
-
...
|
|
1786
|
+
...ie,
|
|
1787
1787
|
operator: C,
|
|
1788
1788
|
chair: E,
|
|
1789
1789
|
privacy: g,
|
|
@@ -1820,10 +1820,10 @@ function ba({
|
|
|
1820
1820
|
{
|
|
1821
1821
|
preview: oe,
|
|
1822
1822
|
onOpenNotes: Re ? k : void 0,
|
|
1823
|
-
locale:
|
|
1823
|
+
locale: s
|
|
1824
1824
|
}
|
|
1825
1825
|
) : null,
|
|
1826
|
-
/* @__PURE__ */ e(da, { ...
|
|
1826
|
+
/* @__PURE__ */ e(da, { ...ie, privacy: g })
|
|
1827
1827
|
] })
|
|
1828
1828
|
}
|
|
1829
1829
|
),
|
|
@@ -1862,12 +1862,12 @@ function ba({
|
|
|
1862
1862
|
ya,
|
|
1863
1863
|
{
|
|
1864
1864
|
history: I,
|
|
1865
|
-
locale:
|
|
1865
|
+
locale: s,
|
|
1866
1866
|
noteUnrecordedEdits: A,
|
|
1867
1867
|
privacy: g,
|
|
1868
1868
|
onRetry: I.onRetry ? () => {
|
|
1869
1869
|
var x;
|
|
1870
|
-
|
|
1870
|
+
_.current = !0, (x = I.onRetry) == null || x.call(I);
|
|
1871
1871
|
} : void 0
|
|
1872
1872
|
}
|
|
1873
1873
|
) })
|
|
@@ -1888,7 +1888,7 @@ function ba({
|
|
|
1888
1888
|
"data-details-subview": "description",
|
|
1889
1889
|
footer: /* @__PURE__ */ p(Q, { children: [
|
|
1890
1890
|
/* @__PURE__ */ e(
|
|
1891
|
-
|
|
1891
|
+
O,
|
|
1892
1892
|
{
|
|
1893
1893
|
intent: "secondary",
|
|
1894
1894
|
disabled: de,
|
|
@@ -1897,7 +1897,7 @@ function ba({
|
|
|
1897
1897
|
}
|
|
1898
1898
|
),
|
|
1899
1899
|
/* @__PURE__ */ e(
|
|
1900
|
-
|
|
1900
|
+
O,
|
|
1901
1901
|
{
|
|
1902
1902
|
intent: "primary",
|
|
1903
1903
|
"data-action": "save-description",
|
|
@@ -1931,8 +1931,8 @@ const ka = Qt(function({
|
|
|
1931
1931
|
state: n,
|
|
1932
1932
|
onRetry: o,
|
|
1933
1933
|
patientId: r,
|
|
1934
|
-
operator:
|
|
1935
|
-
chair:
|
|
1934
|
+
operator: s,
|
|
1935
|
+
chair: i,
|
|
1936
1936
|
currency: l = "EUR",
|
|
1937
1937
|
now: b,
|
|
1938
1938
|
locale: d,
|
|
@@ -1955,7 +1955,7 @@ const ka = Qt(function({
|
|
|
1955
1955
|
onDelete: K,
|
|
1956
1956
|
onJoinTelehealth: ae,
|
|
1957
1957
|
onWhatsApp: V,
|
|
1958
|
-
whatsappUrl:
|
|
1958
|
+
whatsappUrl: se,
|
|
1959
1959
|
createTaskUrl: Ie,
|
|
1960
1960
|
documents: Te,
|
|
1961
1961
|
id: De,
|
|
@@ -1963,7 +1963,7 @@ const ka = Qt(function({
|
|
|
1963
1963
|
...X
|
|
1964
1964
|
}, Ee) {
|
|
1965
1965
|
var de, we;
|
|
1966
|
-
const { t: w, i18n: z } = $("ui"), He = Ye(),
|
|
1966
|
+
const { t: w, i18n: z } = $("ui"), He = Ye(), ie = De ?? He, I = Ye(), Re = d ?? z.language, oe = !c && (f != null && f.trim()) ? f : w(D("region")), J = n.status === "ready" ? n.read : void 0, fe = n.status === "ready" ? n.read.eventId : n.eventId, Y = M(
|
|
1967
1967
|
void 0
|
|
1968
1968
|
), ge = Y.current !== void 0 && Y.current !== "ready";
|
|
1969
1969
|
pe(() => {
|
|
@@ -1975,8 +1975,8 @@ const ka = Qt(function({
|
|
|
1975
1975
|
te(() => {
|
|
1976
1976
|
re.current ? (n.status !== "loading" && (re.current = !1), Se(I)) : ve.current && Se(I);
|
|
1977
1977
|
}, [Me, I]);
|
|
1978
|
-
const
|
|
1979
|
-
J || (
|
|
1978
|
+
const _ = M(null);
|
|
1979
|
+
J || (_.current = null);
|
|
1980
1980
|
const ye = M(null), q = M({ state: n, eventId: fe, privacy: c, retryOffered: U, onRetry: o });
|
|
1981
1981
|
q.current = { state: n, eventId: fe, privacy: c, retryOffered: U, onRetry: o };
|
|
1982
1982
|
const be = wt(
|
|
@@ -1985,33 +1985,33 @@ const ka = Qt(function({
|
|
|
1985
1985
|
getLoadStatus: () => q.current.state.status,
|
|
1986
1986
|
getAppointmentStatus: () => {
|
|
1987
1987
|
var T;
|
|
1988
|
-
return ((T =
|
|
1988
|
+
return ((T = _.current) == null ? void 0 : T.status) ?? null;
|
|
1989
1989
|
},
|
|
1990
1990
|
getAllowedStatuses: () => {
|
|
1991
1991
|
var T;
|
|
1992
|
-
return [...((T =
|
|
1992
|
+
return [...((T = _.current) == null ? void 0 : T.allowed) ?? []];
|
|
1993
1993
|
},
|
|
1994
1994
|
getOfferedActions: () => {
|
|
1995
1995
|
var T;
|
|
1996
|
-
return [...((T =
|
|
1996
|
+
return [...((T = _.current) == null ? void 0 : T.offered) ?? []];
|
|
1997
1997
|
},
|
|
1998
1998
|
isHistoryOpen: () => {
|
|
1999
1999
|
var T;
|
|
2000
|
-
return ((T =
|
|
2000
|
+
return ((T = _.current) == null ? void 0 : T.historyOpen) ?? !1;
|
|
2001
2001
|
},
|
|
2002
2002
|
isPrivacy: () => q.current.privacy,
|
|
2003
2003
|
openHistory: () => {
|
|
2004
2004
|
var T;
|
|
2005
|
-
if (!((T =
|
|
2005
|
+
if (!((T = _.current) != null && T.historyAvailable))
|
|
2006
2006
|
throw new Error("AppointmentDetailsPanel: History is not offered.");
|
|
2007
|
-
|
|
2007
|
+
_.current.openHistory();
|
|
2008
2008
|
},
|
|
2009
2009
|
closeHistory: () => {
|
|
2010
2010
|
var T;
|
|
2011
|
-
(T =
|
|
2011
|
+
(T = _.current) == null || T.closeHistory();
|
|
2012
2012
|
},
|
|
2013
2013
|
setAppointmentStatus: (T) => {
|
|
2014
|
-
const H =
|
|
2014
|
+
const H = _.current, le = ye.current;
|
|
2015
2015
|
if (!H || !le || H.allowed.length === 0)
|
|
2016
2016
|
return Ue(
|
|
2017
2017
|
new Error("AppointmentDetailsPanel: the status is read-only.")
|
|
@@ -2037,9 +2037,9 @@ const ka = Qt(function({
|
|
|
2037
2037
|
}),
|
|
2038
2038
|
[]
|
|
2039
2039
|
);
|
|
2040
|
-
Jt($n, be,
|
|
2040
|
+
Jt($n, be, ie);
|
|
2041
2041
|
const ke = /* @__PURE__ */ e(
|
|
2042
|
-
|
|
2042
|
+
Ot,
|
|
2043
2043
|
{
|
|
2044
2044
|
title: oe,
|
|
2045
2045
|
headingId: I,
|
|
@@ -2060,11 +2060,11 @@ const ka = Qt(function({
|
|
|
2060
2060
|
shownTitle: oe,
|
|
2061
2061
|
headingId: I,
|
|
2062
2062
|
enter: ge,
|
|
2063
|
-
live:
|
|
2063
|
+
live: _,
|
|
2064
2064
|
statusControl: ye,
|
|
2065
2065
|
patientId: r,
|
|
2066
|
-
operator:
|
|
2067
|
-
chair:
|
|
2066
|
+
operator: s,
|
|
2067
|
+
chair: i,
|
|
2068
2068
|
privacy: c,
|
|
2069
2069
|
privacyTitle: C,
|
|
2070
2070
|
mapsLink: E,
|
|
@@ -2083,7 +2083,7 @@ const ka = Qt(function({
|
|
|
2083
2083
|
onDelete: K,
|
|
2084
2084
|
onJoinTelehealth: ae,
|
|
2085
2085
|
onWhatsApp: V,
|
|
2086
|
-
whatsappUrl:
|
|
2086
|
+
whatsappUrl: se,
|
|
2087
2087
|
createTaskUrl: Ie,
|
|
2088
2088
|
documents: Te
|
|
2089
2089
|
},
|
|
@@ -2096,7 +2096,7 @@ const ka = Qt(function({
|
|
|
2096
2096
|
/* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]", children: [
|
|
2097
2097
|
/* @__PURE__ */ e(F, { variant: n.status === "error" ? "error" : "warning", children: /* @__PURE__ */ e(F.Description, { children: n.status === "error" ? ((we = n.message) == null ? void 0 : we.trim()) || w("emptyState.error.description") : n.reason }) }),
|
|
2098
2098
|
U ? /* @__PURE__ */ e(
|
|
2099
|
-
|
|
2099
|
+
O,
|
|
2100
2100
|
{
|
|
2101
2101
|
intent: "outline",
|
|
2102
2102
|
"data-action": "retry-load",
|
|
@@ -2113,7 +2113,7 @@ const ka = Qt(function({
|
|
|
2113
2113
|
ref: Pe,
|
|
2114
2114
|
id: De,
|
|
2115
2115
|
"data-component": "appointment-details-panel",
|
|
2116
|
-
"data-component-id":
|
|
2116
|
+
"data-component-id": ie,
|
|
2117
2117
|
"data-event-id": fe,
|
|
2118
2118
|
"data-status": n.status,
|
|
2119
2119
|
"aria-busy": n.status === "loading" || void 0,
|
|
@@ -2124,16 +2124,16 @@ const ka = Qt(function({
|
|
|
2124
2124
|
);
|
|
2125
2125
|
});
|
|
2126
2126
|
ka.displayName = "AppointmentDetailsPanel";
|
|
2127
|
-
function
|
|
2127
|
+
function _s({
|
|
2128
2128
|
eventId: t,
|
|
2129
2129
|
load: n,
|
|
2130
2130
|
reloadKey: o
|
|
2131
2131
|
}) {
|
|
2132
|
-
const { t: r } = $("ui"),
|
|
2133
|
-
|
|
2134
|
-
const
|
|
2132
|
+
const { t: r } = $("ui"), s = M("");
|
|
2133
|
+
s.current = r("emptyState.error.description");
|
|
2134
|
+
const i = M(n);
|
|
2135
2135
|
te(() => {
|
|
2136
|
-
|
|
2136
|
+
i.current = n;
|
|
2137
2137
|
});
|
|
2138
2138
|
const [l, b] = B(0), [d, f] = B(), c = JSON.stringify([o ?? null, l]), [C, E] = B({ eventId: t, count: 0 }), g = C.eventId === t ? C.count : C.count + 1;
|
|
2139
2139
|
C.eventId !== t && E({ eventId: t, count: g }), pe(() => {
|
|
@@ -2144,7 +2144,7 @@ function Oi({
|
|
|
2144
2144
|
const k = new AbortController(), h = (N) => {
|
|
2145
2145
|
k.signal.aborted || f({ eventId: t, selection: g, request: c, value: N });
|
|
2146
2146
|
};
|
|
2147
|
-
return Promise.resolve().then(() =>
|
|
2147
|
+
return Promise.resolve().then(() => i.current(t, { signal: k.signal })).then((N) => {
|
|
2148
2148
|
var A, S;
|
|
2149
2149
|
if (N.status !== "ready") {
|
|
2150
2150
|
h({
|
|
@@ -2156,13 +2156,13 @@ function Oi({
|
|
|
2156
2156
|
return;
|
|
2157
2157
|
}
|
|
2158
2158
|
if (((A = N.details) == null ? void 0 : A.eventId) !== t || !qn((S = N.details.appointment) == null ? void 0 : S.startIso))
|
|
2159
|
-
throw new Error(
|
|
2159
|
+
throw new Error(s.current);
|
|
2160
2160
|
h({ status: "ready", read: N.details });
|
|
2161
2161
|
}).catch((N) => {
|
|
2162
2162
|
h({
|
|
2163
2163
|
status: "error",
|
|
2164
2164
|
eventId: t,
|
|
2165
|
-
message: Qe(N,
|
|
2165
|
+
message: Qe(N, s.current)
|
|
2166
2166
|
});
|
|
2167
2167
|
}), () => k.abort();
|
|
2168
2168
|
}, [t, g, c]);
|
|
@@ -2193,6 +2193,6 @@ export {
|
|
|
2193
2193
|
Hn as l,
|
|
2194
2194
|
qn as p,
|
|
2195
2195
|
Kn as s,
|
|
2196
|
-
|
|
2196
|
+
_s as u
|
|
2197
2197
|
};
|
|
2198
|
-
//# sourceMappingURL=use-appointment-details-read-
|
|
2198
|
+
//# sourceMappingURL=use-appointment-details-read-DinTrRIW.js.map
|