@alfadocs/ui-kit 1.54.3 → 1.56.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-DOei4Iyu.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-CQ-XGr0T.js} +427 -426
- 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-DmDcXw0c.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-C0UTxB7R.js} +6 -6
- package/dist/_chunks/{booking-BGY3LUi8.js → booking-WyNGKPE2.js} +1553 -1458
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- 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/{calculator-dialog-BRjZMWuE.js → calculator-dialog-pCPWta7h.js} +2 -2
- package/dist/_chunks/{calendar-BwF5nQuW.js → calendar-6-24PQ1u.js} +4 -4
- package/dist/_chunks/{calendar-workspace-BJPhMb2c.js → calendar-workspace-Du2ryaI-.js} +870 -885
- 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-DUX_SVvF.js} +3 -3
- package/dist/_chunks/{carousel.agent-DW9iPLdy.js → carousel.agent-D3xthzTf.js} +44 -45
- package/dist/_chunks/chart-HsF1KHbx.js +909 -0
- 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-Ci8lBQ6a.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-DfEY2qci.js +844 -0
- package/dist/_chunks/{data-table-BErtJzaT.js → data-table-D8fuhqO1.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-CtUOI38x.js} +189 -183
- package/dist/_chunks/{date-time-picker-Ckl6ezCL.js → date-time-picker-CLeLKuv9.js} +5 -5
- package/dist/_chunks/{dependent-selector-CPiolWiw.js → dependent-selector-DgaAQc-c.js} +91 -86
- 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/{dialog-D52AI4nF.js → dialog-CUzbnKLw.js} +86 -69
- 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-CSjklbyw.js} +9 -9
- 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-Cc_uO8r2.js} +54 -54
- 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-DIKuhX8b.js} +88 -82
- package/dist/_chunks/{gestational-age-calculator-BVBz_5dm.js → gestational-age-calculator-DqVeJke2.js} +10 -10
- 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-Gf9r7Tn1.js +2865 -0
- package/dist/_chunks/{help-me-write-templates-B4Y8dBv1.js → help-me-write-templates-fV-Apf72.js} +29 -29
- 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-BNNITp6S.js} +26 -20
- package/dist/_chunks/{kit-extensions-GQHKTLWI.js → kit-extensions-Byfxy6sy.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-D-xv2HMS.js → link-cell-renderer-TeJNvymP.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/non-modal-tab-exit-D2Bd93Bq.js +65 -0
- package/dist/_chunks/{notes-panel-DWJY3WV8.js → notes-panel-DceRhthG.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-9nQWTQf6.js} +12 -8
- package/dist/_chunks/{payment-automation-upsell-DNiraNhF.js → payment-automation-upsell-DiHovmUL.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-CwDpwXUC.js} +5 -5
- package/dist/_chunks/{pdf-viewer-zv7pkUPA.js → pdf-viewer-C3minW5b.js} +5 -5
- package/dist/_chunks/periodontal-chart-DD5C0M3l.js +1413 -0
- package/dist/_chunks/{periodontal-chart-card-Djr3en8Q.js → periodontal-chart-card-CxdXvsPU.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-DmVIqXtC.js → periodontal-diagnosis-D-PJv7KS.js} +3 -3
- 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/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- 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-Dhbo-fc_.js} +9 -9
- package/dist/_chunks/{pregnancy-dating-BEmsMys4.js → pregnancy-dating-Bfu0Cq4H.js} +11 -11
- package/dist/_chunks/{pregnancy-weight-gain-DMVPvM3a.js → pregnancy-weight-gain-CUUrBTBo.js} +6 -6
- 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-pr2hyiND.js} +3 -3
- package/dist/_chunks/{qr-code-Ofx7ryyu.js → qr-code-DHEma21c.js} +47 -48
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/{radiograph-panel.agent-rS3Tegx6.js → radiograph-panel.agent-DkUokbEa.js} +9 -9
- 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-CkFfmA3v.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-C7SwIxwB.js} +95 -79
- 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-DhbpB9N9.js} +9 -9
- 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-DmjGfXND.js} +116 -108
- package/dist/_chunks/state-backed-text-input-DECQy5aA.js +12 -0
- package/dist/_chunks/{stepper-accordion-BPNS6J6B.js → stepper-accordion-DDTSOUHc.js} +63 -52
- 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-ByyRu29Y.js} +157 -159
- 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-JsDM48tf.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-select-on-arrow-Cr4iBuW5.js +26 -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-DXYBMTfe.js} +39 -39
- package/dist/_chunks/{workflow-map-PzamnfJK.js → workflow-map-Demlpy39.js} +8 -8
- package/dist/_chunks/{workflow-status-DDnsIrLt.js → workflow-status-BT27_fQp.js} +3 -3
- package/dist/agent-catalog.json +610 -23
- package/dist/agent-i18n/en.json +59 -17
- 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/non-modal-tab-exit.d.ts +8 -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-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-dom-value.d.ts +20 -0
- package/dist/components/_shared/use-select-on-arrow.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/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/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/chart.d.ts +10 -5
- 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/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- 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/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/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/position-grid/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/radio-group/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/sheet/sheet.d.ts +2 -2
- 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.d.ts +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- 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 +97 -0
- package/dist/i18n/locales/ar.d.ts +120 -3
- package/dist/i18n/locales/ar.js +123 -6
- package/dist/i18n/locales/de.d.ts +120 -3
- package/dist/i18n/locales/de.js +123 -6
- package/dist/i18n/locales/el.d.ts +120 -3
- package/dist/i18n/locales/el.js +123 -6
- package/dist/i18n/locales/en.d.ts +120 -3
- package/dist/i18n/locales/en.js +123 -6
- package/dist/i18n/locales/es.d.ts +120 -3
- package/dist/i18n/locales/es.js +123 -6
- package/dist/i18n/locales/fr.d.ts +120 -3
- package/dist/i18n/locales/fr.js +123 -6
- package/dist/i18n/locales/hi.d.ts +120 -3
- package/dist/i18n/locales/hi.js +123 -6
- package/dist/i18n/locales/it.d.ts +120 -3
- package/dist/i18n/locales/it.js +123 -6
- package/dist/i18n/locales/ja.d.ts +120 -3
- package/dist/i18n/locales/ja.js +123 -6
- package/dist/i18n/locales/nl.d.ts +120 -3
- package/dist/i18n/locales/nl.js +123 -6
- package/dist/i18n/locales/pl.d.ts +120 -3
- package/dist/i18n/locales/pl.js +123 -6
- package/dist/i18n/locales/pt.d.ts +120 -3
- package/dist/i18n/locales/pt.js +123 -6
- package/dist/i18n/locales/ro.d.ts +120 -3
- package/dist/i18n/locales/ro.js +123 -6
- package/dist/i18n/locales/ru.d.ts +120 -3
- package/dist/i18n/locales/ru.js +123 -6
- package/dist/i18n/locales/sq.d.ts +120 -3
- package/dist/i18n/locales/sq.js +123 -6
- package/dist/i18n/locales/sv.d.ts +120 -3
- package/dist/i18n/locales/sv.js +123 -6
- package/dist/i18n/locales/tr.d.ts +120 -3
- package/dist/i18n/locales/tr.js +123 -6
- package/dist/i18n/locales/zh.d.ts +120 -3
- package/dist/i18n/locales/zh.js +123 -6
- package/dist/index.js +766 -756
- package/dist/locales/ar.json +123 -6
- package/dist/locales/de.json +123 -6
- package/dist/locales/el.json +123 -6
- package/dist/locales/en.json +123 -6
- package/dist/locales/es.json +123 -6
- package/dist/locales/fr.json +123 -6
- package/dist/locales/hi.json +123 -6
- package/dist/locales/it.json +123 -6
- package/dist/locales/ja.json +123 -6
- package/dist/locales/nl.json +123 -6
- package/dist/locales/pl.json +123 -6
- package/dist/locales/pt.json +123 -6
- package/dist/locales/ro.json +123 -6
- package/dist/locales/ru.json +123 -6
- package/dist/locales/sq.json +123 -6
- package/dist/locales/sv.json +123 -6
- package/dist/locales/tr.json +123 -6
- package/dist/locales/zh.json +123 -6
- 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/help-me-write-templates.d.ts +2 -2
- 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 +22 -14
- package/package.json +19 -2
- package/dist/_chunks/address-fields-BaClzQLM.js +0 -292
- package/dist/_chunks/chart-C134Ibwm.js +0 -705
- package/dist/_chunks/city-input-BL5WsGJ3.js +0 -170
- package/dist/_chunks/dashboard-grid--rkojX6m.js +0 -691
- 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,31 +1,31 @@
|
|
|
1
1
|
import { jsx as o, jsxs as k, Fragment as De } from "react/jsx-runtime";
|
|
2
|
-
import { useState as $, useRef as
|
|
3
|
-
import { c as
|
|
2
|
+
import { useState as $, useRef as x, useEffect as $e, forwardRef as At, useId as _t, useMemo as Fe } from "react";
|
|
3
|
+
import { c as ht } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as gt } from "react-i18next";
|
|
5
5
|
import { A as M } from "./alert-BhCstf2h.js";
|
|
6
|
-
import { B as Me } from "./button-
|
|
7
|
-
import { I as We } from "./icon-button-
|
|
8
|
-
import { C as Qe } from "./combobox-
|
|
9
|
-
import { D as ce } from "./dialog-
|
|
10
|
-
import { D as Bt } from "./date-picker-
|
|
11
|
-
import { F as H } from "./form-field-
|
|
12
|
-
import { I as Ft } from "./icon-button-group-
|
|
6
|
+
import { B as Me } from "./button-Bn16lcFM.js";
|
|
7
|
+
import { I as We } from "./icon-button-COX76Jdj.js";
|
|
8
|
+
import { C as Qe } from "./combobox-U5yfO6o0.js";
|
|
9
|
+
import { D as ce } from "./dialog-CUzbnKLw.js";
|
|
10
|
+
import { D as Bt } from "./date-picker-wRAcq2lt.js";
|
|
11
|
+
import { F as H } from "./form-field-Ani72sVY.js";
|
|
12
|
+
import { I as Ft } from "./icon-button-group-C5hhI-R5.js";
|
|
13
13
|
import { P as Pt } from "./panel-header-D_mTdhUp.js";
|
|
14
|
-
import { P as Ot } from "./panel-subview-
|
|
14
|
+
import { P as Ot } from "./panel-subview-BT-Apwgb.js";
|
|
15
15
|
import { R as Pe } from "./radio-BBbMdbE_.js";
|
|
16
|
-
import { R as jt } from "./radio-group-
|
|
17
|
-
import { S as Mt } from "./scroll-area-
|
|
18
|
-
import { S as Ke } from "./select-
|
|
16
|
+
import { R as jt } from "./radio-group-DicxWJXP.js";
|
|
17
|
+
import { S as Mt } from "./scroll-area-ZtFCv9K7.js";
|
|
18
|
+
import { S as Ke } from "./select-Ce5RMk93.js";
|
|
19
19
|
import { S as He } from "./skeleton-B1KTdJ4N.js";
|
|
20
20
|
import { S as $t } from "./switch-D--x7n6h.js";
|
|
21
|
-
import { T as zt } from "./text-area-
|
|
22
|
-
import { T as Oe } from "./text-input-
|
|
23
|
-
import { T as qt } from "./time-picker-
|
|
21
|
+
import { T as zt } from "./text-area-COMVJ1yE.js";
|
|
22
|
+
import { T as Oe } from "./text-input-CaG9ApoE.js";
|
|
23
|
+
import { T as qt } from "./time-picker-DVfyAR81.js";
|
|
24
24
|
import { u as Vt } from "./registry-DvAUVLHh.js";
|
|
25
25
|
import { u as Lt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
26
26
|
import { c as Ut } from "./compose-refs-C0k0tdqF.js";
|
|
27
27
|
import { n as Wt } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
28
|
-
import { p as Kt, P as Ht } from "./privacy-mask-
|
|
28
|
+
import { p as Kt, P as Ht } from "./privacy-mask-ChIjELJC.js";
|
|
29
29
|
import { g as je, h as Gt } from "./handled-rejection-6gqCf5vt.js";
|
|
30
30
|
import { L as Qt } from "./lock-ClAFG1gy.js";
|
|
31
31
|
import { X as Yt } from "./x-B5YnXwCz.js";
|
|
@@ -66,19 +66,17 @@ const no = [
|
|
|
66
66
|
], ao = vt("save", no), ro = [
|
|
67
67
|
"ds:[&_:is([data-component=select][role=combobox],[data-component=text-input],[data-component=text-input]_input,[data-component=date-picker]_input,[data-component=combobox],[data-component=time-picker])]:h-8",
|
|
68
68
|
"ds:[&_:is([data-component=select][role=combobox],[data-component=text-input],[data-component=text-input]_input,[data-component=date-picker]_input,[data-component=combobox],[data-component=time-picker])]:rounded-[var(--radius-md)]",
|
|
69
|
-
"ds:[
|
|
69
|
+
"ds:[&_:is([data-component=select][role=combobox],[data-component=text-input],[data-component=text-input]_input,[data-component=date-picker]_input,[data-component=combobox],[data-component=time-picker])]:[min-block-size:var(--accessible-target-floor,auto)]",
|
|
70
70
|
"ds:max-sm:[&_:is([data-component=select][role=combobox],[data-component=text-input],[data-component=text-input]_input,[data-component=date-picker]_input,[data-component=combobox],[data-component=time-picker])]:[min-block-size:var(--min-target-size)]",
|
|
71
71
|
/* Multi-line notes keep their height but share the corners. */
|
|
72
72
|
"ds:[&_[data-component=text-area]_textarea]:rounded-[var(--radius-md)]",
|
|
73
73
|
/* The time field's hour and minute segments are 32px at the kit default;
|
|
74
74
|
inside a 32px box they take the kit's `sm` segment height instead,
|
|
75
75
|
and get the default back wherever the field is raised. */
|
|
76
|
-
"ds:[&_[data-component=time-picker]_[role=spinbutton]]:h-6",
|
|
77
|
-
"ds:[.theme-accessible_&_[data-component=time-picker]_[role=spinbutton]]:h-8",
|
|
76
|
+
"ds:[&_[data-component=time-picker]_[role=spinbutton]]:h-[calc(var(--ds-spacing)*(6+2*var(--accessible-on,0)))]",
|
|
78
77
|
"ds:max-sm:[&_[data-component=time-picker]_[role=spinbutton]]:h-8"
|
|
79
78
|
].join(" "), io = [
|
|
80
|
-
"ds:h-8 ds:[&_[role=radio]]:min-
|
|
81
|
-
"ds:[.theme-accessible_&]:h-auto ds:[.theme-accessible_&_[role=radio]]:min-h-[var(--min-target-size)]",
|
|
79
|
+
"ds:h-[var(--accessible-auto,calc(var(--ds-spacing)*8))] ds:[&_[role=radio]]:[min-block-size:var(--accessible-target-floor,0px)]",
|
|
82
80
|
"ds:max-sm:h-auto ds:max-sm:[&_[role=radio]]:min-h-[var(--min-target-size)]"
|
|
83
81
|
].join(" ");
|
|
84
82
|
function so({
|
|
@@ -88,18 +86,18 @@ function so({
|
|
|
88
86
|
}) {
|
|
89
87
|
if (c)
|
|
90
88
|
return /* @__PURE__ */ o(co, { ...I, searchPatients: c });
|
|
91
|
-
const { value: y, onValueChange: B, selectedLabel:
|
|
89
|
+
const { value: y, onValueChange: B, selectedLabel: A, placeholder: Y, size: C, disabled: X } = I;
|
|
92
90
|
return /* @__PURE__ */ o(
|
|
93
91
|
Qe,
|
|
94
92
|
{
|
|
95
93
|
value: y,
|
|
96
94
|
onValueChange: B,
|
|
97
95
|
options: [
|
|
98
|
-
...y && !n.some((D) => D.id === y) ? [{ value: y, label:
|
|
96
|
+
...y && !n.some((D) => D.id === y) ? [{ value: y, label: A ?? "" }] : [],
|
|
99
97
|
...n.map((D) => ({ value: D.id, label: D.name }))
|
|
100
98
|
],
|
|
101
99
|
placeholder: Y,
|
|
102
|
-
size:
|
|
100
|
+
size: C,
|
|
103
101
|
disabled: X,
|
|
104
102
|
clearable: !0
|
|
105
103
|
}
|
|
@@ -111,10 +109,10 @@ function co({
|
|
|
111
109
|
selectedLabel: I,
|
|
112
110
|
placeholder: y,
|
|
113
111
|
size: B,
|
|
114
|
-
disabled:
|
|
112
|
+
disabled: A,
|
|
115
113
|
searchPatients: Y
|
|
116
114
|
}) {
|
|
117
|
-
const { t:
|
|
115
|
+
const { t: C } = gt("ui"), [X, D] = $(""), [J, Z] = $(0), [F, se] = $(), [N, ee] = $(), q = x(null), P = X.trim();
|
|
118
116
|
$e(() => {
|
|
119
117
|
if (!P) return;
|
|
120
118
|
const m = new AbortController(), S = { query: P, source: Y };
|
|
@@ -133,7 +131,7 @@ function co({
|
|
|
133
131
|
clearTimeout(le), m.abort();
|
|
134
132
|
};
|
|
135
133
|
}, [P, Y, J]);
|
|
136
|
-
const V = (
|
|
134
|
+
const V = (N == null ? void 0 : N.query) === P && N.source === Y, L = P ? V ? N.status : "loading" : "idle", te = V && L === "ready" ? N.patients : [], oe = L === "loading" ? C("inputs.search.loading") : L === "error" ? C("emptyState.error.description") : L === "idle" ? y : te.length === 0 ? C("inputs.combobox.empty") : "", O = te.map((m) => ({
|
|
137
135
|
value: m.id,
|
|
138
136
|
label: m.name
|
|
139
137
|
}));
|
|
@@ -164,7 +162,7 @@ function co({
|
|
|
164
162
|
},
|
|
165
163
|
filter: (m) => !P || te.some((S) => Wt(S.id) === m) ? 1 : 0,
|
|
166
164
|
size: B,
|
|
167
|
-
disabled:
|
|
165
|
+
disabled: A,
|
|
168
166
|
placeholder: y,
|
|
169
167
|
emptyMessage: oe || void 0,
|
|
170
168
|
clearable: !0
|
|
@@ -180,7 +178,7 @@ function co({
|
|
|
180
178
|
var m;
|
|
181
179
|
Z((S) => S + 1), (m = q.current) == null || m.focus();
|
|
182
180
|
},
|
|
183
|
-
children:
|
|
181
|
+
children: C("emptyState.error.cta")
|
|
184
182
|
}
|
|
185
183
|
) : null
|
|
186
184
|
]
|
|
@@ -355,22 +353,22 @@ const mo = [
|
|
|
355
353
|
["companyId", "company"],
|
|
356
354
|
["operatorId", "operator"]
|
|
357
355
|
];
|
|
358
|
-
function
|
|
356
|
+
function fo({
|
|
359
357
|
mode: n,
|
|
360
358
|
taskId: c,
|
|
361
359
|
initialDate: I,
|
|
362
360
|
active: y,
|
|
363
361
|
taskTypes: B,
|
|
364
|
-
assignees:
|
|
362
|
+
assignees: A,
|
|
365
363
|
companies: Y,
|
|
366
|
-
operators:
|
|
364
|
+
operators: C,
|
|
367
365
|
patients: X,
|
|
368
366
|
searchedPatients: D,
|
|
369
367
|
resolvePatientLabel: J,
|
|
370
368
|
loadTask: Z,
|
|
371
369
|
onCreateTask: F,
|
|
372
370
|
onUpdateTask: se,
|
|
373
|
-
onDeleteTask:
|
|
371
|
+
onDeleteTask: N,
|
|
374
372
|
onSetTaskDone: ee,
|
|
375
373
|
onSaved: q,
|
|
376
374
|
onDeleted: P,
|
|
@@ -379,41 +377,41 @@ function ho({
|
|
|
379
377
|
maskPatient: te,
|
|
380
378
|
fallbackError: oe
|
|
381
379
|
}) {
|
|
382
|
-
var
|
|
380
|
+
var xe;
|
|
383
381
|
const O = n === "edit", [m, S] = $(0), [le, ne] = $(y);
|
|
384
382
|
le !== y && (ne(y), y && S((e) => e + 1));
|
|
385
|
-
const U = `${n}|${c ?? ""}|${m}`, [p,
|
|
383
|
+
const U = `${n}|${c ?? ""}|${m}`, [p, fe] = $(
|
|
386
384
|
() => ut(I)
|
|
387
|
-
), [G, Ee] = $(lt), [b, a] = $(), w = (e) => Ee((i) => ({ ...i, ...e })),
|
|
388
|
-
ge !== U && (ae(U),
|
|
389
|
-
const
|
|
385
|
+
), [G, Ee] = $(lt), [b, a] = $(), w = (e) => Ee((i) => ({ ...i, ...e })), he = (e) => fe((i) => ({ ...i, ...e })), [ge, ae] = $(U);
|
|
386
|
+
ge !== U && (ae(U), fe(ut(I)), Ee(lt), a(void 0));
|
|
387
|
+
const _ = x({
|
|
390
388
|
subject: U,
|
|
391
389
|
saving: !1,
|
|
392
390
|
deleting: !1,
|
|
393
391
|
donePending: !1,
|
|
394
392
|
accepted: !1
|
|
395
393
|
});
|
|
396
|
-
|
|
394
|
+
_.current.subject !== U && (_.current = {
|
|
397
395
|
subject: U,
|
|
398
396
|
saving: !1,
|
|
399
397
|
deleting: !1,
|
|
400
398
|
donePending: !1,
|
|
401
399
|
accepted: !1
|
|
402
400
|
});
|
|
403
|
-
const ve =
|
|
401
|
+
const ve = x(!0);
|
|
404
402
|
$e(() => (ve.current = !0, () => {
|
|
405
403
|
ve.current = !1;
|
|
406
404
|
}), []);
|
|
407
|
-
const
|
|
405
|
+
const T = (e) => ve.current && _.current === e, ue = x(Z);
|
|
408
406
|
ue.current = Z;
|
|
409
|
-
const d = !!Z, [
|
|
407
|
+
const d = !!Z, [R, l] = $(0), [s, f] = $(null), ke = x(s);
|
|
410
408
|
ke.current = s;
|
|
411
409
|
const ye = y && O && !!c && d && !L;
|
|
412
410
|
$e(() => {
|
|
413
411
|
const e = ue.current;
|
|
414
412
|
if (!ye || !c || !e) return;
|
|
415
|
-
const i =
|
|
416
|
-
if ((
|
|
413
|
+
const i = _.current, h = ke.current;
|
|
414
|
+
if ((h == null ? void 0 : h.subject) === i.subject && h.status === "ready")
|
|
417
415
|
return;
|
|
418
416
|
const u = new AbortController();
|
|
419
417
|
return Promise.resolve().then(
|
|
@@ -424,20 +422,20 @@ function ho({
|
|
|
424
422
|
)
|
|
425
423
|
).then(
|
|
426
424
|
(g) => {
|
|
427
|
-
u.signal.aborted || !
|
|
425
|
+
u.signal.aborted || !T(i) || (fe(po(g)), w({ done: g.done, confirmedDone: g.done }), a(g), f({ subject: i.subject, status: "ready" }));
|
|
428
426
|
},
|
|
429
427
|
(g) => {
|
|
430
|
-
u.signal.aborted || !
|
|
428
|
+
u.signal.aborted || !T(i) || f({
|
|
431
429
|
subject: i.subject,
|
|
432
430
|
status: "error",
|
|
433
431
|
message: je(g, oe)
|
|
434
432
|
});
|
|
435
433
|
}
|
|
436
434
|
), () => u.abort();
|
|
437
|
-
}, [ye, U,
|
|
435
|
+
}, [ye, U, R]);
|
|
438
436
|
const j = O ? !c || !d ? "locked" : L ? "withheld" : (s == null ? void 0 : s.subject) === U ? s.status : "loading" : "ready", Q = () => {
|
|
439
|
-
j === "error" && (
|
|
440
|
-
}, pe = p.typeId || (((
|
|
437
|
+
j === "error" && (f(null), l((e) => e + 1));
|
|
438
|
+
}, pe = p.typeId || (((xe = B[0]) == null ? void 0 : xe.id) ?? ""), ze = p.about === "nobody" || p.about === "patient" && p.patientId !== "" || p.about === "company" && p.companyId !== "" || p.about === "operator" && p.operatorId !== z, me = !V && p.note.trim() !== "" && p.date !== void 0 && ze && /* Required whenever the host offers a list. */
|
|
441
439
|
(B.length === 0 || pe !== "") && !G.saving && !G.donePending, be = O ? se : F, Se = () => {
|
|
442
440
|
const { date: e, time: i } = p;
|
|
443
441
|
return e ? {
|
|
@@ -466,8 +464,8 @@ function ho({
|
|
|
466
464
|
toggle. */
|
|
467
465
|
done: G.confirmedDone
|
|
468
466
|
} : void 0;
|
|
469
|
-
}, E = (e) => Gt(new Error(`TaskEditor: ${e}`)),
|
|
470
|
-
const e =
|
|
467
|
+
}, E = (e) => Gt(new Error(`TaskEditor: ${e}`)), Te = () => {
|
|
468
|
+
const e = _.current;
|
|
471
469
|
if (j !== "ready") return E(`cannot save while ${j}.`);
|
|
472
470
|
if (!be) return E("the host gave no save seam.");
|
|
473
471
|
if (e.accepted) return E("this task was already saved.");
|
|
@@ -476,30 +474,30 @@ function ho({
|
|
|
476
474
|
const i = Se();
|
|
477
475
|
if (!i)
|
|
478
476
|
return w({ showError: !0 }), E("the task has no date.");
|
|
479
|
-
const
|
|
477
|
+
const h = c;
|
|
480
478
|
e.saving = !0, w({ saving: !0, saveError: void 0 });
|
|
481
479
|
const u = (async () => {
|
|
482
480
|
try {
|
|
483
481
|
if (O)
|
|
484
|
-
await (se == null ? void 0 : se(
|
|
482
|
+
await (se == null ? void 0 : se(h, i)), e.accepted = !0, T(e) && (w({ accepted: !0 }), q == null || q({
|
|
485
483
|
...i,
|
|
486
|
-
id:
|
|
484
|
+
id: h,
|
|
487
485
|
done: i.done ?? !1
|
|
488
486
|
}));
|
|
489
487
|
else {
|
|
490
488
|
const g = await (F == null ? void 0 : F(i));
|
|
491
|
-
e.accepted = !0,
|
|
489
|
+
e.accepted = !0, T(e) && (w({ accepted: !0 }), g && (q == null || q(g)));
|
|
492
490
|
}
|
|
493
491
|
} catch (g) {
|
|
494
|
-
throw
|
|
492
|
+
throw T(e) && w({ saveError: je(g, oe) }), g;
|
|
495
493
|
} finally {
|
|
496
|
-
e.saving = !1,
|
|
494
|
+
e.saving = !1, T(e) && w({ saving: !1 });
|
|
497
495
|
}
|
|
498
496
|
})();
|
|
499
497
|
return u.catch(() => {
|
|
500
498
|
}), u;
|
|
501
|
-
},
|
|
502
|
-
const i =
|
|
499
|
+
}, Re = (e) => {
|
|
500
|
+
const i = _.current;
|
|
503
501
|
if (j !== "ready")
|
|
504
502
|
return E(`cannot change Done while ${j}.`);
|
|
505
503
|
if (!O || !c || !ee || V)
|
|
@@ -510,45 +508,45 @@ function ho({
|
|
|
510
508
|
if (i.accepted)
|
|
511
509
|
return E("this task was already saved or deleted.");
|
|
512
510
|
if (e === G.done) return Promise.resolve();
|
|
513
|
-
const
|
|
511
|
+
const h = G.confirmedDone, u = c;
|
|
514
512
|
i.donePending = !0, w({ done: e, donePending: !0, doneError: void 0 });
|
|
515
513
|
const g = (async () => {
|
|
516
514
|
try {
|
|
517
|
-
await ee(u, e),
|
|
515
|
+
await ee(u, e), T(i) && w({ confirmedDone: e });
|
|
518
516
|
} catch (W) {
|
|
519
|
-
throw
|
|
520
|
-
done:
|
|
517
|
+
throw T(i) && w({
|
|
518
|
+
done: h,
|
|
521
519
|
doneError: je(W, oe)
|
|
522
520
|
}), W;
|
|
523
521
|
} finally {
|
|
524
|
-
i.donePending = !1,
|
|
522
|
+
i.donePending = !1, T(i) && w({ donePending: !1 });
|
|
525
523
|
}
|
|
526
524
|
})();
|
|
527
525
|
return g.catch(() => {
|
|
528
526
|
}), g;
|
|
529
|
-
},
|
|
530
|
-
const e =
|
|
527
|
+
}, Ae = () => {
|
|
528
|
+
const e = _.current;
|
|
531
529
|
if (j !== "ready") return E(`cannot delete while ${j}.`);
|
|
532
|
-
if (!O || !c || !
|
|
530
|
+
if (!O || !c || !N || V)
|
|
533
531
|
return E("the host gave no delete seam.");
|
|
534
532
|
if (e.saving || e.accepted || e.deleting)
|
|
535
533
|
return E("the task cannot be deleted now.");
|
|
536
534
|
const i = c;
|
|
537
535
|
e.deleting = !0, w({ deleting: !0, deleteError: void 0 });
|
|
538
|
-
const
|
|
536
|
+
const h = (async () => {
|
|
539
537
|
try {
|
|
540
|
-
await
|
|
538
|
+
await N(i), e.accepted = !0, T(e) && (w({ accepted: !0, confirmDeleteOpen: !1 }), P == null || P(i));
|
|
541
539
|
} catch (u) {
|
|
542
|
-
throw
|
|
540
|
+
throw T(e) && w({ deleteError: je(u, oe) }), u;
|
|
543
541
|
} finally {
|
|
544
|
-
e.deleting = !1,
|
|
542
|
+
e.deleting = !1, T(e) && w({ deleting: !1 });
|
|
545
543
|
}
|
|
546
544
|
})();
|
|
547
|
-
return
|
|
548
|
-
}),
|
|
549
|
-
}, de = (e, i,
|
|
545
|
+
return h.catch(() => {
|
|
546
|
+
}), h;
|
|
547
|
+
}, de = (e, i, h) => (
|
|
550
548
|
/* '' is never an id, even when the stored record holds one. */
|
|
551
|
-
i !== "" && (i ===
|
|
549
|
+
i !== "" && (i === h || e.some((u) => u.id === i))
|
|
552
550
|
), Ie = (e) => {
|
|
553
551
|
var g;
|
|
554
552
|
if (j !== "ready")
|
|
@@ -559,18 +557,18 @@ function ho({
|
|
|
559
557
|
throw new Error(
|
|
560
558
|
"TaskEditor: set at most one of patientId, companyId and operatorId."
|
|
561
559
|
);
|
|
562
|
-
const
|
|
563
|
-
if (e.about !== void 0 &&
|
|
560
|
+
const h = (g = i[0]) == null ? void 0 : g[1];
|
|
561
|
+
if (e.about !== void 0 && h && e.about !== h)
|
|
564
562
|
throw new Error(
|
|
565
|
-
`TaskEditor: about "${e.about}" does not match the ${
|
|
563
|
+
`TaskEditor: about "${e.about}" does not match the ${h} id.`
|
|
566
564
|
);
|
|
567
565
|
if (e.typeId !== void 0 && !de(B, e.typeId, b == null ? void 0 : b.typeId))
|
|
568
566
|
throw new Error(`TaskEditor: unknown typeId "${e.typeId}".`);
|
|
569
|
-
if (e.assigneeId !== void 0 && e.assigneeId !== null && !de(
|
|
567
|
+
if (e.assigneeId !== void 0 && e.assigneeId !== null && !de(A, e.assigneeId, b == null ? void 0 : b.assigneeId))
|
|
570
568
|
throw new Error(`TaskEditor: unknown assigneeId "${e.assigneeId}".`);
|
|
571
569
|
if (e.companyId !== void 0 && !de(Y, e.companyId, b == null ? void 0 : b.companyId))
|
|
572
570
|
throw new Error(`TaskEditor: unknown companyId "${e.companyId}".`);
|
|
573
|
-
if (e.operatorId !== void 0 && !de(
|
|
571
|
+
if (e.operatorId !== void 0 && !de(C, e.operatorId, b == null ? void 0 : b.operatorId))
|
|
574
572
|
throw new Error(`TaskEditor: unknown operatorId "${e.operatorId}".`);
|
|
575
573
|
if (e.patientId !== void 0) {
|
|
576
574
|
if (te)
|
|
@@ -585,8 +583,8 @@ function ho({
|
|
|
585
583
|
throw new Error(`TaskEditor: "${e.dateIso}" is not a date.`);
|
|
586
584
|
u.date = W, u.time = Ye(W);
|
|
587
585
|
}
|
|
588
|
-
e.note !== void 0 && (u.note = e.note), e.typeId !== void 0 && (u.typeId = e.typeId), e.assigneeId !== void 0 && (u.assigneeId = e.assigneeId ?? z), e.about !== void 0 && (u.about = e.about), e.patientId !== void 0 && (u.patientId = e.patientId, u.about = "patient"), e.companyId !== void 0 && (u.companyId = e.companyId, u.about = "company"), e.operatorId !== void 0 && (u.operatorId = e.operatorId, u.about = "operator"),
|
|
589
|
-
},
|
|
586
|
+
e.note !== void 0 && (u.note = e.note), e.typeId !== void 0 && (u.typeId = e.typeId), e.assigneeId !== void 0 && (u.assigneeId = e.assigneeId ?? z), e.about !== void 0 && (u.about = e.about), e.patientId !== void 0 && (u.patientId = e.patientId, u.about = "patient"), e.companyId !== void 0 && (u.companyId = e.companyId, u.about = "company"), e.operatorId !== void 0 && (u.operatorId = e.operatorId, u.about = "operator"), he(u);
|
|
587
|
+
}, _e = () => {
|
|
590
588
|
const e = Se();
|
|
591
589
|
return {
|
|
592
590
|
mode: n,
|
|
@@ -607,7 +605,7 @@ function ho({
|
|
|
607
605
|
loadError: (s == null ? void 0 : s.subject) === U ? s.message : void 0,
|
|
608
606
|
retry: Q,
|
|
609
607
|
fields: p,
|
|
610
|
-
patchFields:
|
|
608
|
+
patchFields: he,
|
|
611
609
|
stored: b,
|
|
612
610
|
chosenTypeId: pe,
|
|
613
611
|
canSave: me,
|
|
@@ -615,22 +613,22 @@ function ho({
|
|
|
615
613
|
* status, the seam and a save that has not landed yet. */
|
|
616
614
|
agentCanSave: j === "ready" && !!be && me && !G.accepted,
|
|
617
615
|
showSave: !V && !!be,
|
|
618
|
-
showDelete: O && !V && !!
|
|
616
|
+
showDelete: O && !V && !!N && !!c,
|
|
619
617
|
showDone: O && !V && !!ee,
|
|
620
618
|
ui: G,
|
|
621
619
|
patchUi: w,
|
|
622
620
|
/** True once a save or delete landed in this session. */
|
|
623
|
-
isAccepted: () =>
|
|
621
|
+
isAccepted: () => _.current.accepted,
|
|
624
622
|
/** A save or delete is in flight: closing now would lose its outcome. */
|
|
625
|
-
isBusy: () =>
|
|
626
|
-
submit:
|
|
627
|
-
setDone:
|
|
628
|
-
remove:
|
|
623
|
+
isBusy: () => _.current.saving || _.current.deleting,
|
|
624
|
+
submit: Te,
|
|
625
|
+
setDone: Re,
|
|
626
|
+
remove: Ae,
|
|
629
627
|
applyPatch: Ie,
|
|
630
|
-
draftState:
|
|
628
|
+
draftState: _e
|
|
631
629
|
};
|
|
632
630
|
}
|
|
633
|
-
const pt =
|
|
631
|
+
const pt = ht("ds:flex ds:min-h-0 ds:flex-col", {
|
|
634
632
|
variants: {
|
|
635
633
|
/** The panel fills its box; the subview body sits in its scroll area. */
|
|
636
634
|
variant: {
|
|
@@ -641,7 +639,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
641
639
|
}
|
|
642
640
|
},
|
|
643
641
|
defaultVariants: { variant: "panel" }
|
|
644
|
-
}), mt =
|
|
642
|
+
}), mt = ht(
|
|
645
643
|
`ds:m-0 ds:min-w-0 ds:border-0 ds:p-[var(--spacing-md)] ${ro}`,
|
|
646
644
|
{
|
|
647
645
|
variants: {
|
|
@@ -653,9 +651,9 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
653
651
|
},
|
|
654
652
|
defaultVariants: { layout: "form" }
|
|
655
653
|
}
|
|
656
|
-
), r = (n) => `calendarWorkspace.taskEditor.${n}`,
|
|
654
|
+
), r = (n) => `calendarWorkspace.taskEditor.${n}`, ho = (n, c, I) => I.includes(c) ? 1 : 0, Ne = [], Ge = (n, c) => Array.from(n.querySelectorAll("[data-task-id]")).filter(
|
|
657
655
|
(I) => !c.contains(I)
|
|
658
|
-
), go = 'button:not([disabled]), a[href], input:not([disabled]), [tabindex]:not([tabindex="-1"])',
|
|
656
|
+
), go = 'button:not([disabled]), a[href], input:not([disabled]), [tabindex]:not([tabindex="-1"])', ft = (n, c) => {
|
|
659
657
|
if (!n) return [];
|
|
660
658
|
const I = Array.from(
|
|
661
659
|
n.querySelectorAll("[data-action]")
|
|
@@ -665,23 +663,23 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
665
663
|
...I.filter((y) => y.dataset.action === "open-task"),
|
|
666
664
|
...Array.from(n.querySelectorAll(go))
|
|
667
665
|
];
|
|
668
|
-
}, vo =
|
|
666
|
+
}, vo = At(
|
|
669
667
|
({
|
|
670
668
|
id: n,
|
|
671
669
|
mode: c,
|
|
672
670
|
taskId: I,
|
|
673
671
|
initialDate: y,
|
|
674
672
|
variant: B = "panel",
|
|
675
|
-
open:
|
|
673
|
+
open: A = !0,
|
|
676
674
|
onExited: Y,
|
|
677
|
-
taskTypes:
|
|
678
|
-
assignees: X =
|
|
679
|
-
companies: D =
|
|
680
|
-
operators: J =
|
|
681
|
-
patients: Z =
|
|
675
|
+
taskTypes: C = Ne,
|
|
676
|
+
assignees: X = Ne,
|
|
677
|
+
companies: D = Ne,
|
|
678
|
+
operators: J = Ne,
|
|
679
|
+
patients: Z = Ne,
|
|
682
680
|
searchPatients: F,
|
|
683
681
|
patientLabel: se,
|
|
684
|
-
resolvePatientLabel:
|
|
682
|
+
resolvePatientLabel: N,
|
|
685
683
|
companyLabel: ee,
|
|
686
684
|
operatorLabel: q,
|
|
687
685
|
backLabel: P,
|
|
@@ -696,22 +694,22 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
696
694
|
readOnly: ne = !1,
|
|
697
695
|
privacy: U = !1,
|
|
698
696
|
privacyMode: p = "notice",
|
|
699
|
-
onPrivacyOff:
|
|
697
|
+
onPrivacyOff: fe,
|
|
700
698
|
className: G,
|
|
701
699
|
...Ee
|
|
702
700
|
}, b) => {
|
|
703
|
-
const { t: a } = gt("ui"), w =
|
|
701
|
+
const { t: a } = gt("ui"), w = _t(), he = n ?? w, ge = c === "edit", ae = B === "subview", _ = !ae || A, ve = U && ge && p === "notice", T = U && !ve, [ue] = $(() => /* @__PURE__ */ new Map()), d = fo({
|
|
704
702
|
mode: c,
|
|
705
703
|
taskId: I,
|
|
706
704
|
initialDate: y,
|
|
707
|
-
active:
|
|
708
|
-
taskTypes:
|
|
705
|
+
active: _,
|
|
706
|
+
taskTypes: C,
|
|
709
707
|
assignees: X,
|
|
710
708
|
companies: D,
|
|
711
709
|
operators: J,
|
|
712
710
|
patients: Z,
|
|
713
711
|
searchedPatients: ue,
|
|
714
|
-
resolvePatientLabel:
|
|
712
|
+
resolvePatientLabel: N,
|
|
715
713
|
loadTask: V,
|
|
716
714
|
onCreateTask: L,
|
|
717
715
|
onUpdateTask: te,
|
|
@@ -721,9 +719,9 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
721
719
|
onDeleted: le,
|
|
722
720
|
readOnly: ne,
|
|
723
721
|
withheld: ve,
|
|
724
|
-
maskPatient:
|
|
722
|
+
maskPatient: T,
|
|
725
723
|
fallbackError: a("emptyState.error.title")
|
|
726
|
-
}), { status:
|
|
724
|
+
}), { status: R, fields: l, ui: s, stored: f } = d, ke = x(F);
|
|
727
725
|
ke.current = F;
|
|
728
726
|
const ye = !!F, j = Fe(
|
|
729
727
|
() => ye ? async (t, v) => {
|
|
@@ -733,9 +731,9 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
733
731
|
return K;
|
|
734
732
|
} : void 0,
|
|
735
733
|
[ye, ue]
|
|
736
|
-
), Q =
|
|
734
|
+
), Q = x(d);
|
|
737
735
|
Q.current = d;
|
|
738
|
-
const pe =
|
|
736
|
+
const pe = x(m);
|
|
739
737
|
pe.current = m;
|
|
740
738
|
const ze = Fe(
|
|
741
739
|
() => ({
|
|
@@ -754,40 +752,40 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
754
752
|
}),
|
|
755
753
|
[]
|
|
756
754
|
);
|
|
757
|
-
Vt(lo,
|
|
758
|
-
const me =
|
|
755
|
+
Vt(lo, _ ? ze : null, he);
|
|
756
|
+
const me = x(null), be = Fe(
|
|
759
757
|
() => Ut(b, me),
|
|
760
758
|
[b]
|
|
761
|
-
), Se =
|
|
762
|
-
ae &&
|
|
763
|
-
const
|
|
764
|
-
|
|
765
|
-
const
|
|
766
|
-
|
|
759
|
+
), Se = x(null), E = x(null), Te = x(!1);
|
|
760
|
+
ae && A && !Te.current && (E.current = typeof document < "u" && document.activeElement instanceof HTMLElement ? document.activeElement : null), Te.current = ae && A;
|
|
761
|
+
const Re = x(A);
|
|
762
|
+
Re.current = A;
|
|
763
|
+
const Ae = x(I);
|
|
764
|
+
Ae.current = ge ? I : void 0, $e(() => {
|
|
767
765
|
var st;
|
|
768
766
|
const t = me.current, v = t == null ? void 0 : t.parentElement;
|
|
769
|
-
if (!ae || !
|
|
770
|
-
const K = E.current, ie = K && v.contains(K) && !t.contains(K) ? K : null,
|
|
767
|
+
if (!ae || !A || !t || !v) return;
|
|
768
|
+
const K = E.current, ie = K && v.contains(K) && !t.contains(K) ? K : null, Tt = Ae.current, Ce = (ie == null ? void 0 : ie.closest("[data-task-id]")) ?? Ge(v, t).find((Be) => Be.dataset.taskId === Tt), at = Ce == null ? void 0 : Ce.dataset.taskId, rt = (st = ie == null ? void 0 : ie.closest("[data-action]")) == null ? void 0 : st.dataset.action, it = Ce ? Ge(v, t).indexOf(Ce) : -1;
|
|
771
769
|
return () => {
|
|
772
|
-
if (
|
|
770
|
+
if (Re.current && t.isConnected) return;
|
|
773
771
|
const Be = document.activeElement;
|
|
774
772
|
if (!v.isConnected || Be && Be !== document.body) return;
|
|
775
|
-
const Ue = Ge(v, t),
|
|
776
|
-
...
|
|
773
|
+
const Ue = Ge(v, t), Rt = [
|
|
774
|
+
...ft(
|
|
777
775
|
Ue.find((we) => at !== void 0 && we.dataset.taskId === at),
|
|
778
776
|
rt
|
|
779
777
|
),
|
|
780
778
|
/* The row that took its place, or the last row when it was last. */
|
|
781
|
-
...it >= 0 ?
|
|
779
|
+
...it >= 0 ? ft(Ue[Math.min(it, Ue.length - 1)], rt) : [],
|
|
782
780
|
v.querySelector('[data-action="add-task"]'),
|
|
783
781
|
v.querySelector("[data-tasks-panel-region]")
|
|
784
782
|
];
|
|
785
|
-
for (const we of
|
|
783
|
+
for (const we of Rt)
|
|
786
784
|
if (!(!we || t.contains(we)) && (we.focus(), document.activeElement === we))
|
|
787
785
|
return;
|
|
788
786
|
};
|
|
789
|
-
}, [
|
|
790
|
-
const de =
|
|
787
|
+
}, [A, ae]);
|
|
788
|
+
const de = x(null), Ie = x(!1), _e = (t) => () => {
|
|
791
789
|
Ie.current = !0, t();
|
|
792
790
|
};
|
|
793
791
|
Lt(() => {
|
|
@@ -798,17 +796,17 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
798
796
|
Ie.current = !1;
|
|
799
797
|
return;
|
|
800
798
|
}
|
|
801
|
-
|
|
799
|
+
R !== "loading" && (Ie.current = !1), (K = R === "error" ? de.current : t) == null || K.focus({
|
|
802
800
|
preventScroll: !0
|
|
803
801
|
});
|
|
804
|
-
}, [
|
|
805
|
-
const
|
|
802
|
+
}, [R]);
|
|
803
|
+
const xe = a(r(ge ? "editTitle" : "title")), e = D.length > 0, i = J.length > 0, h = ye || Z.length > 0, u = Fe(
|
|
806
804
|
() => D.map((t) => ({ value: t.id, label: t.label })),
|
|
807
805
|
[D]
|
|
808
806
|
), g = (t) => {
|
|
809
807
|
var v;
|
|
810
|
-
return (
|
|
811
|
-
}, W = (t) => t === (
|
|
808
|
+
return (N == null ? void 0 : N(t)) ?? ((v = Z.find((K) => K.id === t)) == null ? void 0 : v.name) ?? ue.get(t) ?? (t === (f == null ? void 0 : f.patientId) ? se : void 0) ?? a("calendarWorkspace.details.patientNotLoaded");
|
|
809
|
+
}, W = (t) => t === (f == null ? void 0 : f.operatorId) && q ? q : a(r("operatorUnresolved"), { id: t }), yt = [
|
|
812
810
|
{ value: z, label: a(r("operatorNone")) },
|
|
813
811
|
...J.map((t) => ({ value: t.id, label: t.label })),
|
|
814
812
|
/* An operator the roster no longer lists is still a real link, so it
|
|
@@ -819,15 +817,15 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
819
817
|
label: W(l.operatorId)
|
|
820
818
|
}
|
|
821
819
|
] : []
|
|
822
|
-
], bt =
|
|
823
|
-
...
|
|
820
|
+
], bt = C.some((t) => t.custom) && C.some((t) => !t.custom), It = [
|
|
821
|
+
...C.map((t) => ({
|
|
824
822
|
value: t.id,
|
|
825
823
|
label: t.label,
|
|
826
824
|
group: bt ? a(r(t.custom ? "typeGroupCustom" : "typeGroupStandard")) : void 0
|
|
827
825
|
})),
|
|
828
826
|
/* An id the list no longer resolves is still a real link: offered as
|
|
829
827
|
its own option so Save re-sends it. */
|
|
830
|
-
...d.chosenTypeId && !
|
|
828
|
+
...d.chosenTypeId && !C.some((t) => t.id === d.chosenTypeId) ? [
|
|
831
829
|
{
|
|
832
830
|
value: d.chosenTypeId,
|
|
833
831
|
label: a(r("typeUnresolved"), { id: d.chosenTypeId })
|
|
@@ -842,7 +840,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
842
840
|
label: a(r("assigneeUnresolved"), { id: l.assigneeId })
|
|
843
841
|
}
|
|
844
842
|
] : []
|
|
845
|
-
], re = l.about === "company" && l.companyId && !D.some((t) => t.id === l.companyId) ? l.companyId : void 0, Et = re && re === (
|
|
843
|
+
], re = l.about === "company" && l.companyId && !D.some((t) => t.id === l.companyId) ? l.companyId : void 0, Et = re && re === (f == null ? void 0 : f.companyId) && ee ? ee : a(r("companyUnresolved"), { id: re }), Xe = /* @__PURE__ */ k(M, { variant: "info", announce: "off", icon: /* @__PURE__ */ o(Qt, { "aria-hidden": "true" }), children: [
|
|
846
844
|
/* @__PURE__ */ o(M.Title, { as: "p", children: a("calendarWorkspace.details.readOnlyTitle") }),
|
|
847
845
|
/* @__PURE__ */ o(M.Description, { children: a(r("readOnlyBody")) })
|
|
848
846
|
] }), qe = s.saving || s.deleting, Je = () => {
|
|
@@ -946,7 +944,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
946
944
|
]
|
|
947
945
|
}
|
|
948
946
|
)
|
|
949
|
-
] }),
|
|
947
|
+
] }), xt = /* @__PURE__ */ k("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]", children: [
|
|
950
948
|
/* @__PURE__ */ o(M, { variant: "error", children: /* @__PURE__ */ o(M.Description, { children: d.loadError }) }),
|
|
951
949
|
/* @__PURE__ */ o(
|
|
952
950
|
Me,
|
|
@@ -954,11 +952,11 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
954
952
|
ref: de,
|
|
955
953
|
intent: "outline",
|
|
956
954
|
"data-action": "retry-load",
|
|
957
|
-
onClick:
|
|
955
|
+
onClick: _e(d.retry),
|
|
958
956
|
children: a("emptyState.error.cta")
|
|
959
957
|
}
|
|
960
958
|
)
|
|
961
|
-
] }),
|
|
959
|
+
] }), Ct = /* @__PURE__ */ o("fieldset", { disabled: !0, className: mt({ layout: "notice" }), children: Xe }), Dt = () => l.about !== "patient" ? null : T ? /* @__PURE__ */ o(H, { label: a(r("aboutPatient")), children: /* @__PURE__ */ o(Oe, { value: Kt(), disabled: !0, readOnly: !0 }) }) : h ? /* @__PURE__ */ o(H, { label: a(r("aboutPatient")), children: /* @__PURE__ */ o(
|
|
962
960
|
so,
|
|
963
961
|
{
|
|
964
962
|
value: l.patientId,
|
|
@@ -1004,7 +1002,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1004
1002
|
)
|
|
1005
1003
|
}
|
|
1006
1004
|
),
|
|
1007
|
-
|
|
1005
|
+
C.length > 0 ? /* @__PURE__ */ o(H, { label: a(r("type")), required: !0, children: /* @__PURE__ */ o(
|
|
1008
1006
|
Ke,
|
|
1009
1007
|
{
|
|
1010
1008
|
options: It,
|
|
@@ -1037,7 +1035,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1037
1035
|
icon: /* @__PURE__ */ o(oo, { "aria-hidden": "true" })
|
|
1038
1036
|
}
|
|
1039
1037
|
),
|
|
1040
|
-
|
|
1038
|
+
h || l.about === "patient" || f != null && f.patientId ? /* @__PURE__ */ o(
|
|
1041
1039
|
Pe,
|
|
1042
1040
|
{
|
|
1043
1041
|
value: "patient",
|
|
@@ -1045,7 +1043,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1045
1043
|
icon: /* @__PURE__ */ o(Xt, { "aria-hidden": "true" })
|
|
1046
1044
|
}
|
|
1047
1045
|
) : null,
|
|
1048
|
-
e || l.about === "company" ||
|
|
1046
|
+
e || l.about === "company" || f != null && f.companyId ? /* @__PURE__ */ o(
|
|
1049
1047
|
Pe,
|
|
1050
1048
|
{
|
|
1051
1049
|
value: "company",
|
|
@@ -1053,7 +1051,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1053
1051
|
icon: /* @__PURE__ */ o(Jt, { "aria-hidden": "true" })
|
|
1054
1052
|
}
|
|
1055
1053
|
) : null,
|
|
1056
|
-
i || l.about === "operator" ||
|
|
1054
|
+
i || l.about === "operator" || f != null && f.operatorId ? /* @__PURE__ */ o(
|
|
1057
1055
|
Pe,
|
|
1058
1056
|
{
|
|
1059
1057
|
value: "operator",
|
|
@@ -1080,7 +1078,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1080
1078
|
value: re ? "" : l.companyId,
|
|
1081
1079
|
onValueChange: (t) => re ? t && d.patchFields({ companyId: t }) : d.patchFields({ companyId: t }),
|
|
1082
1080
|
clearable: !re && !ne,
|
|
1083
|
-
filter:
|
|
1081
|
+
filter: ho,
|
|
1084
1082
|
placeholder: a(r("companySearch")),
|
|
1085
1083
|
"aria-label": a(
|
|
1086
1084
|
r(re ? "companyReplace" : "companyName")
|
|
@@ -1127,15 +1125,15 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1127
1125
|
] }) : null,
|
|
1128
1126
|
s.saveError ? /* @__PURE__ */ o(M, { variant: "error", children: /* @__PURE__ */ o(M.Description, { children: s.saveError }) }) : null,
|
|
1129
1127
|
s.deleteError && !s.confirmDeleteOpen ? /* @__PURE__ */ o(M, { variant: "error", children: /* @__PURE__ */ o(M.Description, { children: s.deleteError }) }) : null
|
|
1130
|
-
] }), tt =
|
|
1128
|
+
] }), tt = R === "loading" ? St : R === "error" ? xt : R === "locked" ? Ct : R === "withheld" ? /* @__PURE__ */ o(
|
|
1131
1129
|
Ht,
|
|
1132
1130
|
{
|
|
1133
|
-
onTurnOff:
|
|
1131
|
+
onTurnOff: fe ? _e(fe) : void 0
|
|
1134
1132
|
}
|
|
1135
|
-
) : ae ? et : /* @__PURE__ */ o(Mt, { orientation: "vertical", className: "ds:min-h-0 ds:flex-1", children: et }), Le =
|
|
1133
|
+
) : ae ? et : /* @__PURE__ */ o(Mt, { orientation: "vertical", className: "ds:min-h-0 ds:flex-1", children: et }), Le = R === "ready" ? Ze(!0) : R === "locked" || R === "withheld" ? Ze(!1) : null, Nt = R === "ready" && d.showDelete, ot = ge ? /* @__PURE__ */ o(
|
|
1136
1134
|
ce,
|
|
1137
1135
|
{
|
|
1138
|
-
open: s.confirmDeleteOpen &&
|
|
1136
|
+
open: s.confirmDeleteOpen && _,
|
|
1139
1137
|
onOpenChange: (t) => {
|
|
1140
1138
|
s.deleting || d.patchUi(
|
|
1141
1139
|
t ? { confirmDeleteOpen: !0 } : { confirmDeleteOpen: !1, deleteError: void 0 }
|
|
@@ -1178,27 +1176,27 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1178
1176
|
}
|
|
1179
1177
|
) : null, nt = {
|
|
1180
1178
|
"data-component": "task-editor",
|
|
1181
|
-
"data-component-id":
|
|
1179
|
+
"data-component-id": he,
|
|
1182
1180
|
"data-variant": B,
|
|
1183
|
-
"data-status":
|
|
1181
|
+
"data-status": R
|
|
1184
1182
|
};
|
|
1185
1183
|
return ae ? /* @__PURE__ */ k(De, { children: [
|
|
1186
1184
|
/* @__PURE__ */ o(
|
|
1187
1185
|
Ot,
|
|
1188
1186
|
{
|
|
1189
1187
|
...Ee,
|
|
1190
|
-
"data-component-id":
|
|
1188
|
+
"data-component-id": he,
|
|
1191
1189
|
"data-variant": B,
|
|
1192
|
-
"data-status":
|
|
1190
|
+
"data-status": R,
|
|
1193
1191
|
ref: be,
|
|
1194
|
-
open:
|
|
1192
|
+
open: A,
|
|
1195
1193
|
onBack: Je,
|
|
1196
1194
|
onExited: Y,
|
|
1197
|
-
title:
|
|
1195
|
+
title: xe,
|
|
1198
1196
|
icon: /* @__PURE__ */ o(ct, { "aria-hidden": "true" }),
|
|
1199
1197
|
backLabel: P ?? a(r("back")),
|
|
1200
1198
|
footer: Le,
|
|
1201
|
-
footerAlign:
|
|
1199
|
+
footerAlign: Nt ? "between" : "end",
|
|
1202
1200
|
className: G,
|
|
1203
1201
|
children: /* @__PURE__ */ o("div", { ...nt, className: pt({ variant: B }), children: tt })
|
|
1204
1202
|
}
|
|
@@ -1217,7 +1215,7 @@ const pt = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
1217
1215
|
/* @__PURE__ */ o(
|
|
1218
1216
|
Pt,
|
|
1219
1217
|
{
|
|
1220
|
-
title:
|
|
1218
|
+
title: xe,
|
|
1221
1219
|
icon: /* @__PURE__ */ o(ct, { "aria-hidden": "true" }),
|
|
1222
1220
|
sticky: !0,
|
|
1223
1221
|
divider: !0
|
|
@@ -1240,4 +1238,4 @@ export {
|
|
|
1240
1238
|
vo as T,
|
|
1241
1239
|
lo as t
|
|
1242
1240
|
};
|
|
1243
|
-
//# sourceMappingURL=task-editor-
|
|
1241
|
+
//# sourceMappingURL=task-editor-ByyRu29Y.js.map
|