@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,638 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as w } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as He, useContext as Ge, useState as O, useRef as y, useMemo as q, useEffect as G, useCallback as le } from "react";
|
|
3
|
-
import * as L from "@radix-ui/react-popover";
|
|
4
|
-
import { _ as c } from "./index-4xgbg-sn.js";
|
|
5
|
-
import { c as pe } from "./index-D2ZczOXr.js";
|
|
6
|
-
import { useTranslation as Qe } from "react-i18next";
|
|
7
|
-
import { u as Ye, F as We, b as Xe } from "./form-field-context-DtiROUJV.js";
|
|
8
|
-
import { T as de } from "./tooltip-Cp-PLePW.js";
|
|
9
|
-
import { c as Je } from "./compose-refs-C0k0tdqF.js";
|
|
10
|
-
import { u as Ze } from "./use-controllable-state-BiY4xTzM.js";
|
|
11
|
-
import { u as Q } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
12
|
-
import { g as et } from "./group-options-BvKhQ3xb.js";
|
|
13
|
-
import { b as me } from "./menu-row-BAr8bx1I.js";
|
|
14
|
-
import { b as Y, c as tt } from "./input-surface-xyERuLU_.js";
|
|
15
|
-
import { u as st } from "./registry-DvAUVLHh.js";
|
|
16
|
-
import { X as rt } from "./x-B5YnXwCz.js";
|
|
17
|
-
import { C as nt } from "./check-DrFSN__t.js";
|
|
18
|
-
const it = {
|
|
19
|
-
id: "multi-select",
|
|
20
|
-
// Persisted multi-choice (selection state + set_selection) → select_multiple,
|
|
21
|
-
// plus type-to-filter and open/close of the option list.
|
|
22
|
-
capabilities: ["select_multiple", "filter", "open", "close"],
|
|
23
|
-
state: {
|
|
24
|
-
selection: {
|
|
25
|
-
type: "string[]",
|
|
26
|
-
descriptionKey: "ui.agent.multiSelect.state.selection",
|
|
27
|
-
description: "Values of currently-selected options.",
|
|
28
|
-
read: (a) => a.getSelection()
|
|
29
|
-
},
|
|
30
|
-
query: {
|
|
31
|
-
type: "string",
|
|
32
|
-
descriptionKey: "ui.agent.multiSelect.state.query",
|
|
33
|
-
description: "Current filter query.",
|
|
34
|
-
read: (a) => a.getQuery()
|
|
35
|
-
},
|
|
36
|
-
isOpen: {
|
|
37
|
-
type: "boolean",
|
|
38
|
-
descriptionKey: "ui.agent.multiSelect.state.isOpen",
|
|
39
|
-
description: "True when the option list is visible.",
|
|
40
|
-
read: (a) => a.getIsOpen()
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
actions: {
|
|
44
|
-
set_selection: {
|
|
45
|
-
// Persists the user's chosen options — reversible via the same UI.
|
|
46
|
-
safety: "write",
|
|
47
|
-
argsType: "{ values: string[] }",
|
|
48
|
-
argsSchema: {
|
|
49
|
-
type: "object",
|
|
50
|
-
properties: {
|
|
51
|
-
values: {
|
|
52
|
-
type: "array",
|
|
53
|
-
items: { type: "string" },
|
|
54
|
-
description: "Option values to select (replaces the current selection)."
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
required: ["values"]
|
|
58
|
-
},
|
|
59
|
-
idempotent: !0,
|
|
60
|
-
descriptionKey: "ui.agent.multiSelect.actions.setSelection",
|
|
61
|
-
description: "Replace the current selection with the given list of values.",
|
|
62
|
-
examples: [
|
|
63
|
-
{
|
|
64
|
-
args: { values: ["a", "b"] },
|
|
65
|
-
note: 'Select exactly options "a" and "b".'
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
invoke: (a, l) => {
|
|
69
|
-
a.setSelection(l.values);
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
clear_selection: {
|
|
73
|
-
// Discards the persisted selection — destructive (loses the choices).
|
|
74
|
-
safety: "destructive",
|
|
75
|
-
idempotent: !0,
|
|
76
|
-
descriptionKey: "ui.agent.multiSelect.actions.clearSelection",
|
|
77
|
-
description: "Clear the current selection.",
|
|
78
|
-
invoke: (a) => {
|
|
79
|
-
a.clearSelection();
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
apply_filter: {
|
|
83
|
-
// Pure ephemeral filter of the visible options — no persisted change.
|
|
84
|
-
safety: "read",
|
|
85
|
-
argsType: "{ query: string }",
|
|
86
|
-
argsSchema: {
|
|
87
|
-
type: "object",
|
|
88
|
-
properties: {
|
|
89
|
-
query: { type: "string", description: "Filter text for the list." }
|
|
90
|
-
},
|
|
91
|
-
required: ["query"]
|
|
92
|
-
},
|
|
93
|
-
idempotent: !0,
|
|
94
|
-
descriptionKey: "ui.agent.multiSelect.actions.applyFilter",
|
|
95
|
-
description: "Set the filter query for the option list.",
|
|
96
|
-
invoke: (a, l) => {
|
|
97
|
-
a.setQuery(l.query);
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
open: {
|
|
101
|
-
safety: "read",
|
|
102
|
-
idempotent: !0,
|
|
103
|
-
descriptionKey: "ui.agent.multiSelect.actions.open",
|
|
104
|
-
description: "Open the option list.",
|
|
105
|
-
invoke: (a) => {
|
|
106
|
-
a.open();
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
close: {
|
|
110
|
-
safety: "read",
|
|
111
|
-
idempotent: !0,
|
|
112
|
-
descriptionKey: "ui.agent.multiSelect.actions.close",
|
|
113
|
-
description: "Close the option list.",
|
|
114
|
-
invoke: (a) => {
|
|
115
|
-
a.close();
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
domHooks: {
|
|
120
|
-
root: { attr: "data-component", value: "multi-select" },
|
|
121
|
-
instanceId: {
|
|
122
|
-
attr: "data-component-id",
|
|
123
|
-
sourceProp: "id",
|
|
124
|
-
description: "Sourced from the id prop."
|
|
125
|
-
},
|
|
126
|
-
item: {
|
|
127
|
-
attr: "data-option-id",
|
|
128
|
-
description: "Each option emits its value as data-option-id."
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}, ot = pe(
|
|
132
|
-
[
|
|
133
|
-
"ds:inline-flex ds:flex-wrap ds:items-center ds:gap-1 ds:w-full",
|
|
134
|
-
tt,
|
|
135
|
-
"ds:aria-[invalid=true]:border-destructive",
|
|
136
|
-
"ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50"
|
|
137
|
-
],
|
|
138
|
-
{
|
|
139
|
-
variants: {
|
|
140
|
-
size: {
|
|
141
|
-
sm: `ds:min-h-8 ds:ps-2 ds:pe-2 ds:py-1 ${Y.sm}`,
|
|
142
|
-
md: `ds:min-h-[var(--min-target-size)] ds:ps-3 ds:pe-3 ds:py-1.5 ${Y.md}`,
|
|
143
|
-
lg: `ds:min-h-12 ds:ps-4 ds:pe-4 ds:py-2 ${Y.lg}`
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
defaultVariants: { size: "md" }
|
|
147
|
-
}
|
|
148
|
-
), ce = pe(
|
|
149
|
-
[
|
|
150
|
-
"ds:inline-flex ds:items-center ds:gap-1",
|
|
151
|
-
"ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-muted",
|
|
152
|
-
"ds:text-foreground ds:select-none",
|
|
153
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
154
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
155
|
-
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
156
|
-
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
157
|
-
],
|
|
158
|
-
{
|
|
159
|
-
variants: {
|
|
160
|
-
size: {
|
|
161
|
-
sm: "ds:ps-2 ds:pe-1 ds:py-0.5 ds:text-[length:var(--font-size-xs)]",
|
|
162
|
-
md: "ds:ps-2 ds:pe-1 ds:py-0.5 ds:text-[length:var(--font-size-sm)]",
|
|
163
|
-
lg: "ds:ps-3 ds:pe-1.5 ds:py-1 ds:text-[length:var(--font-size-base)]"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
defaultVariants: { size: "md" }
|
|
167
|
-
}
|
|
168
|
-
), at = [
|
|
169
|
-
"ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
|
|
170
|
-
"ds:rounded-[var(--radius-sm)]",
|
|
171
|
-
"ds:text-muted-foreground ds:hover:text-foreground",
|
|
172
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
173
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
174
|
-
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
175
|
-
"ds:size-4",
|
|
176
|
-
'ds:relative ds:before:absolute ds:before:inset-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""]'
|
|
177
|
-
].join(" "), lt = [
|
|
178
|
-
"ds:z-[var(--z-dropdown)] ds:overflow-hidden",
|
|
179
|
-
"ds:min-w-[var(--radix-popover-trigger-width)]",
|
|
180
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
|
|
181
|
-
"ds:shadow-[var(--shadow-lg)]",
|
|
182
|
-
"ds:animate-in ds:fade-in ds:zoom-in-95",
|
|
183
|
-
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out",
|
|
184
|
-
"ds:data-[state=closed]:zoom-out-95",
|
|
185
|
-
"ds:data-[side=bottom]:slide-in-from-top-2",
|
|
186
|
-
"ds:data-[side=top]:slide-in-from-bottom-2",
|
|
187
|
-
"ds:motion-reduce:animate-none"
|
|
188
|
-
].join(" "), dt = [
|
|
189
|
-
"ds:relative ds:flex ds:cursor-pointer ds:items-center",
|
|
190
|
-
"ds:rounded-[var(--radius-sm)] ds:ps-2 ds:pe-2 ds:py-1.5",
|
|
191
|
-
"ds:text-[var(--font-size-sm)] ds:text-foreground ds:outline-none ds:select-none",
|
|
192
|
-
me.selected,
|
|
193
|
-
"ds:aria-[disabled=true]:pointer-events-none ds:aria-[disabled=true]:opacity-50",
|
|
194
|
-
"ds:data-[disabled=true]:pointer-events-none ds:data-[disabled=true]:opacity-50"
|
|
195
|
-
].join(" "), ue = [
|
|
196
|
-
"ds:relative ds:flex ds:cursor-pointer ds:items-center",
|
|
197
|
-
"ds:rounded-[var(--radius-sm)] ds:ps-2 ds:pe-2 ds:py-1.5",
|
|
198
|
-
"ds:text-[var(--font-size-sm)] ds:font-medium ds:text-primary ds:outline-none ds:select-none",
|
|
199
|
-
me.selected
|
|
200
|
-
].join(" "), ct = "__ui-multiselect-select-all__", ut = "__ui-multiselect-clear-all__", fe = He(
|
|
201
|
-
function({
|
|
202
|
-
options: l,
|
|
203
|
-
value: he,
|
|
204
|
-
defaultValue: ge,
|
|
205
|
-
onChange: ve,
|
|
206
|
-
onComplete: D,
|
|
207
|
-
placeholder: be,
|
|
208
|
-
maxSelections: S,
|
|
209
|
-
allowSelectAll: W = !1,
|
|
210
|
-
allowClear: X = !1,
|
|
211
|
-
filter: M,
|
|
212
|
-
size: _ = "md",
|
|
213
|
-
disabled: ye,
|
|
214
|
-
className: Se,
|
|
215
|
-
id: z,
|
|
216
|
-
// Pull `aria-label` out of the div spread so it names the combobox
|
|
217
|
-
// INPUT (the interactive control) rather than the wrapper div. Lets a
|
|
218
|
-
// consumer give the trigger a meaningful name when there's no visible
|
|
219
|
-
// label or FormField (e.g. a data-table floating filter naming itself
|
|
220
|
-
// after its column). Untouched callers fall back to the placeholder.
|
|
221
|
-
// ONLY set this when the control has no visible / FormField label —
|
|
222
|
-
// `aria-label` wins over an associated `<label>`, so passing both would
|
|
223
|
-
// silently override the visible text (WCAG 2.5.3 Label in Name).
|
|
224
|
-
"aria-label": xe,
|
|
225
|
-
...Ie
|
|
226
|
-
}, we) {
|
|
227
|
-
const { t: u } = Qe("ui"), g = Ye(), x = Ge(We) !== null, [Ne, K] = Ze({
|
|
228
|
-
value: he,
|
|
229
|
-
defaultValue: ge ?? [],
|
|
230
|
-
onChange: ve
|
|
231
|
-
}), i = Ne ?? [], [N, p] = O(!1), [m, j] = O(""), v = y(null), I = y([]), P = y(null), Ce = Je(we, P), b = x && g.disabled || !!ye, ke = x && g.required, J = x && g.invalid, Ae = x && g.describedBy ? g.describedBy : void 0, Re = z ?? (x ? g.id : void 0);
|
|
232
|
-
Xe(g, v);
|
|
233
|
-
const _e = q(() => {
|
|
234
|
-
const e = /* @__PURE__ */ new Map();
|
|
235
|
-
for (const t of l) e.set(t.value, t.label);
|
|
236
|
-
return e;
|
|
237
|
-
}, [l]), Z = typeof S == "number" && i.length >= S, C = (e) => {
|
|
238
|
-
K(e);
|
|
239
|
-
}, Te = (e) => {
|
|
240
|
-
if (i.includes(e)) {
|
|
241
|
-
C(i.filter((t) => t !== e));
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
Z || C([...i, e]);
|
|
245
|
-
}, $ = (e) => {
|
|
246
|
-
const t = i.filter((r, o) => o !== e);
|
|
247
|
-
return C(t), t;
|
|
248
|
-
}, Fe = () => {
|
|
249
|
-
const e = l.filter((r) => !r.disabled).map((r) => r.value), t = typeof S == "number" ? S : e.length;
|
|
250
|
-
C(e.slice(0, t));
|
|
251
|
-
}, Ee = () => {
|
|
252
|
-
C([]);
|
|
253
|
-
}, ee = y(i);
|
|
254
|
-
G(() => {
|
|
255
|
-
ee.current = i;
|
|
256
|
-
}, [i]);
|
|
257
|
-
const te = y(m);
|
|
258
|
-
G(() => {
|
|
259
|
-
te.current = m;
|
|
260
|
-
}, [m]);
|
|
261
|
-
const se = y(N);
|
|
262
|
-
G(() => {
|
|
263
|
-
se.current = N;
|
|
264
|
-
}, [N]);
|
|
265
|
-
const B = le(
|
|
266
|
-
(e) => {
|
|
267
|
-
K(e);
|
|
268
|
-
},
|
|
269
|
-
[K]
|
|
270
|
-
), Ve = q(
|
|
271
|
-
() => ({
|
|
272
|
-
getSelection: () => [...ee.current],
|
|
273
|
-
getQuery: () => te.current,
|
|
274
|
-
getIsOpen: () => se.current,
|
|
275
|
-
setSelection: (e) => B(e),
|
|
276
|
-
clearSelection: () => B([]),
|
|
277
|
-
setQuery: (e) => j(e),
|
|
278
|
-
open: () => p(!0),
|
|
279
|
-
close: () => p(!1)
|
|
280
|
-
}),
|
|
281
|
-
[B]
|
|
282
|
-
);
|
|
283
|
-
st(it, Ve, z);
|
|
284
|
-
const re = be ?? u("inputs.multiSelect.placeholder", "Select…"), ne = q(() => {
|
|
285
|
-
if (!m) return l;
|
|
286
|
-
const e = m.toLowerCase();
|
|
287
|
-
return l.filter((t) => M ? M(m, t) : t.label.toLowerCase().includes(e));
|
|
288
|
-
}, [l, m, M]), Oe = q(
|
|
289
|
-
() => et(ne),
|
|
290
|
-
[ne]
|
|
291
|
-
), qe = (e) => {
|
|
292
|
-
var o;
|
|
293
|
-
const t = e.currentTarget;
|
|
294
|
-
if (e.key === "Backspace" && m === "" && i.length > 0) {
|
|
295
|
-
e.preventDefault();
|
|
296
|
-
const s = i.length - 1, d = $(s).length - 1;
|
|
297
|
-
d >= 0 && requestAnimationFrame(() => {
|
|
298
|
-
var h;
|
|
299
|
-
(h = I.current[d]) == null || h.focus();
|
|
300
|
-
});
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
const r = t.selectionStart === 0 && t.selectionEnd === 0;
|
|
304
|
-
if ((e.key === "ArrowLeft" || e.key === "ArrowRight") && r && i.length > 0) {
|
|
305
|
-
const s = document.dir === "rtl" || t.dir === "rtl";
|
|
306
|
-
if (s && e.key === "ArrowRight" || !s && e.key === "ArrowLeft") {
|
|
307
|
-
e.preventDefault();
|
|
308
|
-
const d = i.length - 1;
|
|
309
|
-
(o = I.current[d]) == null || o.focus();
|
|
310
|
-
}
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
if (e.key === "Escape") {
|
|
314
|
-
p(!1);
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
!N && (e.key === "ArrowDown" || e.key === "Enter") && p(!0);
|
|
318
|
-
}, Le = (e) => (t) => {
|
|
319
|
-
var f, d, h, A;
|
|
320
|
-
if (t.key === "Backspace" || t.key === "Delete" || t.key === "Enter" || t.key === " ") {
|
|
321
|
-
t.preventDefault(), t.stopPropagation();
|
|
322
|
-
const V = $(e);
|
|
323
|
-
if (V.length === 0) {
|
|
324
|
-
requestAnimationFrame(() => {
|
|
325
|
-
var R;
|
|
326
|
-
return (R = v.current) == null ? void 0 : R.focus();
|
|
327
|
-
});
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
const Ue = Math.min(e, V.length - 1);
|
|
331
|
-
requestAnimationFrame(() => {
|
|
332
|
-
var R;
|
|
333
|
-
(R = I.current[Ue]) == null || R.focus();
|
|
334
|
-
});
|
|
335
|
-
return;
|
|
336
|
-
}
|
|
337
|
-
const r = document.dir === "rtl", o = r ? "ArrowRight" : "ArrowLeft", s = r ? "ArrowLeft" : "ArrowRight";
|
|
338
|
-
if (t.key === o) {
|
|
339
|
-
t.preventDefault();
|
|
340
|
-
const V = Math.max(0, e - 1);
|
|
341
|
-
(f = I.current[V]) == null || f.focus();
|
|
342
|
-
return;
|
|
343
|
-
}
|
|
344
|
-
if (t.key === s) {
|
|
345
|
-
t.preventDefault(), e < i.length - 1 ? (d = I.current[e + 1]) == null || d.focus() : (h = v.current) == null || h.focus();
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
t.key === "Escape" && (p(!1), (A = v.current) == null || A.focus());
|
|
349
|
-
}, [T, U] = O(
|
|
350
|
-
Number.POSITIVE_INFINITY
|
|
351
|
-
), [De, Me] = O(0), ie = y(-1), F = le(() => {
|
|
352
|
-
U(Number.POSITIVE_INFINITY), Me((e) => e + 1);
|
|
353
|
-
}, []);
|
|
354
|
-
Q(() => {
|
|
355
|
-
const e = P.current;
|
|
356
|
-
if (!e) return;
|
|
357
|
-
const t = Array.from(
|
|
358
|
-
e.querySelectorAll('[data-ui-chip="true"]')
|
|
359
|
-
);
|
|
360
|
-
if (t.length === 0) {
|
|
361
|
-
U(Number.POSITIVE_INFINITY);
|
|
362
|
-
return;
|
|
363
|
-
}
|
|
364
|
-
const r = t[0].offsetTop;
|
|
365
|
-
let o = 0;
|
|
366
|
-
for (const s of t)
|
|
367
|
-
if (s.offsetTop === r) o++;
|
|
368
|
-
else break;
|
|
369
|
-
U(
|
|
370
|
-
o === t.length ? Number.POSITIVE_INFINITY : Math.max(1, o - 1)
|
|
371
|
-
);
|
|
372
|
-
}, [De]), Q(() => {
|
|
373
|
-
F();
|
|
374
|
-
}, [i.length, _, F]), Q(() => {
|
|
375
|
-
const e = P.current;
|
|
376
|
-
if (!e) return;
|
|
377
|
-
const t = new ResizeObserver((r) => {
|
|
378
|
-
var s;
|
|
379
|
-
const o = Math.round(
|
|
380
|
-
((s = r[0]) == null ? void 0 : s.contentRect.width) ?? e.clientWidth
|
|
381
|
-
);
|
|
382
|
-
o !== ie.current && (ie.current = o, F());
|
|
383
|
-
});
|
|
384
|
-
return t.observe(e), () => t.disconnect();
|
|
385
|
-
}, [F]);
|
|
386
|
-
const E = i.map((e) => ({
|
|
387
|
-
value: e,
|
|
388
|
-
label: _e.get(e) ?? e
|
|
389
|
-
})), oe = T === Number.POSITIVE_INFINITY || T >= E.length, ze = oe ? E : E.slice(0, T), ae = oe ? [] : E.slice(T), k = ae.length, Ke = (e) => {
|
|
390
|
-
var r;
|
|
391
|
-
if (b) return;
|
|
392
|
-
const t = e.target;
|
|
393
|
-
t.closest('[data-ui-chip="true"]') || t.closest('[data-ui-chip-dismiss="true"]') || (p(!0), (r = v.current) == null || r.focus());
|
|
394
|
-
}, je = (e) => {
|
|
395
|
-
if (b) {
|
|
396
|
-
p(!1);
|
|
397
|
-
return;
|
|
398
|
-
}
|
|
399
|
-
p(e), e || (j(""), D == null || D(i));
|
|
400
|
-
}, Pe = W || X, $e = u("inputs.multiSelect.selected", {
|
|
401
|
-
count: i.length,
|
|
402
|
-
defaultValue: `${i.length} selected`
|
|
403
|
-
}), { onClick: H, ...Be } = Ie;
|
|
404
|
-
return /* @__PURE__ */ n(c, { shouldFilter: !1, label: $e, children: /* @__PURE__ */ w(L.Root, { open: N, onOpenChange: je, children: [
|
|
405
|
-
/* @__PURE__ */ n(L.Anchor, { asChild: !0, children: /* @__PURE__ */ w(
|
|
406
|
-
"div",
|
|
407
|
-
{
|
|
408
|
-
ref: Ce,
|
|
409
|
-
className: ot({ size: _, className: Se }),
|
|
410
|
-
"aria-disabled": b || void 0,
|
|
411
|
-
"aria-invalid": J || void 0,
|
|
412
|
-
"data-component": "multi-select",
|
|
413
|
-
"data-component-id": z,
|
|
414
|
-
onClick: (e) => {
|
|
415
|
-
H == null || H(e), Ke(e);
|
|
416
|
-
},
|
|
417
|
-
...Be,
|
|
418
|
-
children: [
|
|
419
|
-
ze.map((e, t) => (
|
|
420
|
-
// eslint-disable-next-line jsx-a11y/no-static-element-interactions -- chip pill receives focus via roving tabindex; chip removal uses an inner button
|
|
421
|
-
/* @__PURE__ */ w(
|
|
422
|
-
"span",
|
|
423
|
-
{
|
|
424
|
-
ref: (r) => {
|
|
425
|
-
I.current[t] = r;
|
|
426
|
-
},
|
|
427
|
-
tabIndex: b ? -1 : 0,
|
|
428
|
-
"data-ui-chip": "true",
|
|
429
|
-
className: ce({ size: _ }),
|
|
430
|
-
onKeyDown: Le(t),
|
|
431
|
-
"aria-label": e.label,
|
|
432
|
-
children: [
|
|
433
|
-
/* @__PURE__ */ n("span", { children: e.label }),
|
|
434
|
-
/* @__PURE__ */ n(
|
|
435
|
-
"button",
|
|
436
|
-
{
|
|
437
|
-
type: "button",
|
|
438
|
-
tabIndex: -1,
|
|
439
|
-
"data-ui-chip-dismiss": "true",
|
|
440
|
-
"aria-label": u("inputs.multiSelect.remove", {
|
|
441
|
-
label: e.label,
|
|
442
|
-
defaultValue: `Remove ${e.label}`
|
|
443
|
-
}),
|
|
444
|
-
disabled: b,
|
|
445
|
-
onClick: (r) => {
|
|
446
|
-
r.stopPropagation(), $(t), requestAnimationFrame(() => {
|
|
447
|
-
var o;
|
|
448
|
-
return (o = v.current) == null ? void 0 : o.focus();
|
|
449
|
-
});
|
|
450
|
-
},
|
|
451
|
-
className: at,
|
|
452
|
-
children: /* @__PURE__ */ n(rt, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
453
|
-
}
|
|
454
|
-
)
|
|
455
|
-
]
|
|
456
|
-
},
|
|
457
|
-
e.value
|
|
458
|
-
)
|
|
459
|
-
)),
|
|
460
|
-
k > 0 ? /* @__PURE__ */ n(
|
|
461
|
-
de,
|
|
462
|
-
{
|
|
463
|
-
label: ae.map((e) => e.label).join(", "),
|
|
464
|
-
delayDuration: 200,
|
|
465
|
-
children: /* @__PURE__ */ n(
|
|
466
|
-
"span",
|
|
467
|
-
{
|
|
468
|
-
className: ce({ size: _ }),
|
|
469
|
-
tabIndex: 0,
|
|
470
|
-
role: "button",
|
|
471
|
-
"aria-label": u("inputs.multiSelect.overflow", {
|
|
472
|
-
count: k,
|
|
473
|
-
defaultValue: `+${k} more`
|
|
474
|
-
}),
|
|
475
|
-
children: /* @__PURE__ */ n("span", { children: u("inputs.multiSelect.overflow", {
|
|
476
|
-
count: k,
|
|
477
|
-
defaultValue: `+${k} more`
|
|
478
|
-
}) })
|
|
479
|
-
}
|
|
480
|
-
)
|
|
481
|
-
}
|
|
482
|
-
) : null,
|
|
483
|
-
/* @__PURE__ */ n(
|
|
484
|
-
c.Input,
|
|
485
|
-
{
|
|
486
|
-
ref: v,
|
|
487
|
-
value: m,
|
|
488
|
-
onValueChange: j,
|
|
489
|
-
onKeyDown: qe,
|
|
490
|
-
onFocus: () => {
|
|
491
|
-
b || p(!0);
|
|
492
|
-
},
|
|
493
|
-
placeholder: i.length === 0 ? re : "",
|
|
494
|
-
id: Re,
|
|
495
|
-
"aria-label": x ? void 0 : xe,
|
|
496
|
-
"aria-describedby": Ae,
|
|
497
|
-
"aria-invalid": J || void 0,
|
|
498
|
-
"aria-required": ke || void 0,
|
|
499
|
-
disabled: b,
|
|
500
|
-
className: [
|
|
501
|
-
"ds:flex-1 ds:min-w-[6rem] ds:bg-transparent ds:outline-none",
|
|
502
|
-
"ds:placeholder:text-muted-foreground ds:text-start",
|
|
503
|
-
"ds:disabled:cursor-not-allowed"
|
|
504
|
-
].join(" ")
|
|
505
|
-
}
|
|
506
|
-
)
|
|
507
|
-
]
|
|
508
|
-
}
|
|
509
|
-
) }),
|
|
510
|
-
/* @__PURE__ */ n(L.Portal, { children: /* @__PURE__ */ n(
|
|
511
|
-
L.Content,
|
|
512
|
-
{
|
|
513
|
-
"data-component": "multi-select-list",
|
|
514
|
-
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
515
|
-
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
516
|
-
align: "start",
|
|
517
|
-
sideOffset: 4,
|
|
518
|
-
className: lt,
|
|
519
|
-
children: /* @__PURE__ */ w(
|
|
520
|
-
c.List,
|
|
521
|
-
{
|
|
522
|
-
role: "listbox",
|
|
523
|
-
"aria-multiselectable": "true",
|
|
524
|
-
"aria-label": re,
|
|
525
|
-
className: "ds:max-h-[20rem] ds:overflow-y-auto ds:p-1",
|
|
526
|
-
children: [
|
|
527
|
-
Pe ? /* @__PURE__ */ w(c.Group, { children: [
|
|
528
|
-
W ? /* @__PURE__ */ n(
|
|
529
|
-
c.Item,
|
|
530
|
-
{
|
|
531
|
-
value: ct,
|
|
532
|
-
onSelect: Fe,
|
|
533
|
-
className: ue,
|
|
534
|
-
children: u("inputs.multiSelect.selectAll", "Select all")
|
|
535
|
-
}
|
|
536
|
-
) : null,
|
|
537
|
-
X ? /* @__PURE__ */ n(
|
|
538
|
-
c.Item,
|
|
539
|
-
{
|
|
540
|
-
value: ut,
|
|
541
|
-
onSelect: Ee,
|
|
542
|
-
className: ue,
|
|
543
|
-
children: u("inputs.multiSelect.clearAll", "Clear all")
|
|
544
|
-
}
|
|
545
|
-
) : null
|
|
546
|
-
] }) : null,
|
|
547
|
-
/* @__PURE__ */ n(c.Empty, { className: "ds:ps-2 ds:pe-2 ds:py-2 type-body-sm ds:text-muted-foreground", children: u("inputs.multiSelect.noOptions", "No options found") }),
|
|
548
|
-
Oe.map(({ group: e, items: t }, r) => {
|
|
549
|
-
const o = t.map((s) => {
|
|
550
|
-
const f = i.includes(s.value), d = !f && Z, h = !!s.disabled || d, A = /* @__PURE__ */ w(
|
|
551
|
-
c.Item,
|
|
552
|
-
{
|
|
553
|
-
value: s.value,
|
|
554
|
-
"data-option-id": s.value,
|
|
555
|
-
disabled: h,
|
|
556
|
-
onSelect: () => {
|
|
557
|
-
h || Te(s.value);
|
|
558
|
-
},
|
|
559
|
-
"aria-selected": f,
|
|
560
|
-
"aria-disabled": h || void 0,
|
|
561
|
-
className: dt,
|
|
562
|
-
children: [
|
|
563
|
-
/* @__PURE__ */ n(
|
|
564
|
-
"span",
|
|
565
|
-
{
|
|
566
|
-
className: [
|
|
567
|
-
"ds:inline-flex ds:items-center ds:justify-center ds:me-[var(--spacing-xs)] ds:shrink-0",
|
|
568
|
-
"ds:size-4 ds:rounded-[var(--radius-sm)] ds:border ds:border-border",
|
|
569
|
-
f ? "ds:bg-primary ds:border-primary ds:text-primary-foreground" : "ds:bg-background"
|
|
570
|
-
].join(" "),
|
|
571
|
-
"aria-hidden": "true",
|
|
572
|
-
children: f ? /* @__PURE__ */ n(nt, { className: "ds:size-3.5" }) : null
|
|
573
|
-
}
|
|
574
|
-
),
|
|
575
|
-
s.startAdornment ? (
|
|
576
|
-
// Decorative by contract — the accessible name comes
|
|
577
|
-
// from the option label.
|
|
578
|
-
/* @__PURE__ */ n(
|
|
579
|
-
"span",
|
|
580
|
-
{
|
|
581
|
-
"aria-hidden": "true",
|
|
582
|
-
className: "ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)]",
|
|
583
|
-
children: s.startAdornment
|
|
584
|
-
}
|
|
585
|
-
)
|
|
586
|
-
) : null,
|
|
587
|
-
/* @__PURE__ */ n("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate ds:text-start", children: s.label }),
|
|
588
|
-
s.endContent ? (
|
|
589
|
-
// Deliberately NOT aria-hidden — unlike
|
|
590
|
-
// `startAdornment`, this slot carries meaning
|
|
591
|
-
// (a price, a count) and must reach the
|
|
592
|
-
// option's accessible name. `ms-auto` pins it
|
|
593
|
-
// to the inline-end and flips under RTL.
|
|
594
|
-
/* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0 ds:ps-[var(--spacing-xs)]", children: s.endContent })
|
|
595
|
-
) : null
|
|
596
|
-
]
|
|
597
|
-
},
|
|
598
|
-
s.value
|
|
599
|
-
);
|
|
600
|
-
return d ? /* @__PURE__ */ n(
|
|
601
|
-
de,
|
|
602
|
-
{
|
|
603
|
-
label: u("inputs.multiSelect.maxReached", {
|
|
604
|
-
count: S,
|
|
605
|
-
defaultValue: `Maximum ${S} selections`
|
|
606
|
-
}),
|
|
607
|
-
delayDuration: 200,
|
|
608
|
-
children: A
|
|
609
|
-
},
|
|
610
|
-
s.value
|
|
611
|
-
) : A;
|
|
612
|
-
});
|
|
613
|
-
return e ? /* @__PURE__ */ n(
|
|
614
|
-
c.Group,
|
|
615
|
-
{
|
|
616
|
-
heading: e,
|
|
617
|
-
className: "ds:[&_[cmdk-group-heading]]:ps-2 ds:[&_[cmdk-group-heading]]:pe-2 ds:[&_[cmdk-group-heading]]:py-1 ds:[&_[cmdk-group-heading]]:type-eyebrow ds:[&_[cmdk-group-heading]]:text-muted-foreground",
|
|
618
|
-
children: o
|
|
619
|
-
},
|
|
620
|
-
`group-${e}`
|
|
621
|
-
) : /* @__PURE__ */ n(c.Group, { children: o }, `group-${r}`);
|
|
622
|
-
})
|
|
623
|
-
]
|
|
624
|
-
}
|
|
625
|
-
)
|
|
626
|
-
}
|
|
627
|
-
) })
|
|
628
|
-
] }) });
|
|
629
|
-
}
|
|
630
|
-
);
|
|
631
|
-
fe.displayName = "MultiSelect";
|
|
632
|
-
const Rt = fe;
|
|
633
|
-
export {
|
|
634
|
-
Rt as M,
|
|
635
|
-
ot as a,
|
|
636
|
-
it as m
|
|
637
|
-
};
|
|
638
|
-
//# sourceMappingURL=multi-select-CVb6PJOK.js.map
|