@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
|
@@ -0,0 +1,871 @@
|
|
|
1
|
+
import { jsxs as je, jsx as g, Fragment as bt } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as yt, useContext as kt, useState as oe, useRef as d, useCallback as G, useEffect as be, useMemo as ye, useImperativeHandle as wt } from "react";
|
|
3
|
+
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as xt } from "react-i18next";
|
|
5
|
+
import * as W from "@radix-ui/react-popover";
|
|
6
|
+
import { u as Dt, F as Tt, a as Mt } from "./form-field-context-DtiROUJV.js";
|
|
7
|
+
import { u as Pt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
+
import { u as Ct } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { C as At } from "./clock-Drd4Wtis.js";
|
|
10
|
+
const zt = {
|
|
11
|
+
id: "time-picker",
|
|
12
|
+
capabilities: ["select_single", "set_value", "open", "close"],
|
|
13
|
+
state: {
|
|
14
|
+
value: {
|
|
15
|
+
type: "HH:MM",
|
|
16
|
+
descriptionKey: "ui.agent.timePicker.state.value",
|
|
17
|
+
description: "Currently-selected time as 24h HH:MM (always present — defaults to 00:00 when unset).",
|
|
18
|
+
read: (r) => {
|
|
19
|
+
const o = r.getValue();
|
|
20
|
+
if (!o) return null;
|
|
21
|
+
const u = String(o.hours).padStart(2, "0"), b = String(o.minutes).padStart(2, "0");
|
|
22
|
+
return `${u}:${b}`;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
isOpen: {
|
|
26
|
+
type: "boolean",
|
|
27
|
+
descriptionKey: "ui.agent.timePicker.state.isOpen",
|
|
28
|
+
description: "Whether the time dropdown is open. Always false unless the picker has the dropdown prop.",
|
|
29
|
+
read: (r) => r.isOpen()
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
actions: {
|
|
33
|
+
set_time: {
|
|
34
|
+
safety: "write",
|
|
35
|
+
argsType: "{ time: string }",
|
|
36
|
+
argsSchema: {
|
|
37
|
+
type: "object",
|
|
38
|
+
properties: {
|
|
39
|
+
time: { type: "string", pattern: "^([01][0-9]|2[0-3]):[0-5][0-9]$" }
|
|
40
|
+
},
|
|
41
|
+
required: ["time"]
|
|
42
|
+
},
|
|
43
|
+
idempotent: !0,
|
|
44
|
+
descriptionKey: "ui.agent.timePicker.actions.setTime",
|
|
45
|
+
description: "Set the time using a 24h HH:MM string.",
|
|
46
|
+
examples: [{ args: { time: "14:30" }, note: "2:30 PM in 24h form." }],
|
|
47
|
+
invoke: (r, o) => {
|
|
48
|
+
const [u, b] = o.time.split(":");
|
|
49
|
+
r.setValue({
|
|
50
|
+
hours: Number.parseInt(u ?? "0", 10),
|
|
51
|
+
minutes: Number.parseInt(b ?? "0", 10)
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
clear: {
|
|
56
|
+
safety: "destructive",
|
|
57
|
+
idempotent: !0,
|
|
58
|
+
descriptionKey: "ui.agent.timePicker.actions.clear",
|
|
59
|
+
description: "Clear the time (resets to 00:00).",
|
|
60
|
+
invoke: (r) => {
|
|
61
|
+
r.clear();
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
open: {
|
|
65
|
+
safety: "read",
|
|
66
|
+
descriptionKey: "ui.agent.timePicker.actions.open",
|
|
67
|
+
description: "Open the time dropdown without moving focus. A no-op unless the picker has the dropdown prop and is enabled.",
|
|
68
|
+
invoke: (r) => {
|
|
69
|
+
r.open();
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
close: {
|
|
73
|
+
safety: "read",
|
|
74
|
+
descriptionKey: "ui.agent.timePicker.actions.close",
|
|
75
|
+
description: "Close the time dropdown. A no-op unless the picker has the dropdown prop.",
|
|
76
|
+
invoke: (r) => {
|
|
77
|
+
r.close();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
domHooks: {
|
|
82
|
+
root: {
|
|
83
|
+
attr: "data-component",
|
|
84
|
+
value: "time-picker",
|
|
85
|
+
description: "Marks the TimePicker wrapper."
|
|
86
|
+
},
|
|
87
|
+
instanceId: {
|
|
88
|
+
attr: "data-component-id",
|
|
89
|
+
sourceProp: "id",
|
|
90
|
+
description: "Sourced from the id prop."
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
function Ht(r) {
|
|
95
|
+
try {
|
|
96
|
+
const o = new Intl.DateTimeFormat(r, {
|
|
97
|
+
hour: "numeric"
|
|
98
|
+
}).resolvedOptions();
|
|
99
|
+
return o.hourCycle === "h12" || o.hourCycle === "h11";
|
|
100
|
+
} catch {
|
|
101
|
+
return !1;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function It(r) {
|
|
105
|
+
var o, u;
|
|
106
|
+
try {
|
|
107
|
+
const b = ((o = new Intl.DateTimeFormat(r, {
|
|
108
|
+
hour: "numeric",
|
|
109
|
+
hour12: !0
|
|
110
|
+
}).formatToParts(new Date(2e3, 0, 1, 9)).find((w) => w.type === "dayPeriod")) == null ? void 0 : o.value) ?? "AM", k = ((u = new Intl.DateTimeFormat(r, {
|
|
111
|
+
hour: "numeric",
|
|
112
|
+
hour12: !0
|
|
113
|
+
}).formatToParts(new Date(2e3, 0, 1, 15)).find((w) => w.type === "dayPeriod")) == null ? void 0 : u.value) ?? "PM";
|
|
114
|
+
return { am: b, pm: k };
|
|
115
|
+
} catch {
|
|
116
|
+
return { am: "AM", pm: "PM" };
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function H(r, o, u) {
|
|
120
|
+
return Math.min(u, Math.max(o, r));
|
|
121
|
+
}
|
|
122
|
+
function Be(r) {
|
|
123
|
+
return Math.floor(59 / r) * r;
|
|
124
|
+
}
|
|
125
|
+
function Ft(r, o) {
|
|
126
|
+
const u = Math.round(H(r, 0, 59) / o) * o;
|
|
127
|
+
return H(u, 0, Be(o));
|
|
128
|
+
}
|
|
129
|
+
function Ot(r, o, u) {
|
|
130
|
+
const b = Be(o);
|
|
131
|
+
if (u === 1) {
|
|
132
|
+
const w = Math.floor(r / o) * o + o;
|
|
133
|
+
return w > b ? 0 : w;
|
|
134
|
+
}
|
|
135
|
+
const k = Math.ceil(r / o) * o - o;
|
|
136
|
+
return k < 0 ? b : k;
|
|
137
|
+
}
|
|
138
|
+
function Rt(r) {
|
|
139
|
+
const o = (u) => Number.isFinite(u) ? Math.trunc(u) : 0;
|
|
140
|
+
return {
|
|
141
|
+
hours: H(o(r.hours), 0, 23),
|
|
142
|
+
minutes: H(o(r.minutes), 0, 59)
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function ke(r) {
|
|
146
|
+
return r === 0 ? 12 : r > 12 ? r - 12 : r;
|
|
147
|
+
}
|
|
148
|
+
function Ee(r, o) {
|
|
149
|
+
return o ? r === 12 ? 12 : r + 12 : r === 12 ? 0 : r;
|
|
150
|
+
}
|
|
151
|
+
const J = (r) => String(r).padStart(2, "0");
|
|
152
|
+
function Lt(r) {
|
|
153
|
+
r.stopPropagation();
|
|
154
|
+
}
|
|
155
|
+
const Kt = C(
|
|
156
|
+
[
|
|
157
|
+
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
158
|
+
"ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-background",
|
|
159
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
160
|
+
"ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid",
|
|
161
|
+
"ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]",
|
|
162
|
+
"ds:forced-colors:focus-within:outline-[CanvasText]"
|
|
163
|
+
].join(" "),
|
|
164
|
+
{
|
|
165
|
+
variants: {
|
|
166
|
+
size: {
|
|
167
|
+
sm: "ds:h-8 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:text-[length:var(--font-size-sm)]",
|
|
168
|
+
md: "ds:h-[var(--min-target-size)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:text-[length:var(--font-size-base)]",
|
|
169
|
+
lg: "ds:h-12 ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:text-[length:var(--font-size-lg)]"
|
|
170
|
+
},
|
|
171
|
+
tone: {
|
|
172
|
+
default: "ds:border-[color:var(--control-border)]",
|
|
173
|
+
error: "ds:border-destructive"
|
|
174
|
+
},
|
|
175
|
+
isDisabled: {
|
|
176
|
+
true: "ds:cursor-not-allowed ds:opacity-50",
|
|
177
|
+
false: ""
|
|
178
|
+
},
|
|
179
|
+
/** `dropdown` on and enabled: a click anywhere on the field opens the list. */
|
|
180
|
+
opensOnClick: {
|
|
181
|
+
true: "ds:cursor-pointer",
|
|
182
|
+
false: ""
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
defaultVariants: {
|
|
186
|
+
size: "md",
|
|
187
|
+
tone: "default",
|
|
188
|
+
isDisabled: !1,
|
|
189
|
+
opensOnClick: !1
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
), Ne = C(
|
|
193
|
+
[
|
|
194
|
+
"ds:inline-flex ds:items-center ds:justify-center",
|
|
195
|
+
"ds:rounded-[var(--radius-sm)] ds:text-center ds:tabular-nums",
|
|
196
|
+
"ds:bg-transparent ds:text-foreground",
|
|
197
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
198
|
+
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
199
|
+
"ds:select-none"
|
|
200
|
+
].join(" "),
|
|
201
|
+
{
|
|
202
|
+
variants: {
|
|
203
|
+
size: {
|
|
204
|
+
sm: "ds:min-w-6 ds:h-6 ds:text-[length:var(--font-size-sm)]",
|
|
205
|
+
md: "ds:min-w-8 ds:h-8 ds:text-[length:var(--font-size-base)]",
|
|
206
|
+
lg: "ds:min-w-10 ds:h-10 ds:text-[length:var(--font-size-lg)]"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
defaultVariants: { size: "md" }
|
|
210
|
+
}
|
|
211
|
+
), St = C(
|
|
212
|
+
[
|
|
213
|
+
"ds:inline-flex ds:items-center ds:justify-center",
|
|
214
|
+
"ds:rounded-[var(--radius-sm)] ds:text-center",
|
|
215
|
+
"ds:bg-transparent ds:text-foreground ds:cursor-pointer",
|
|
216
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
217
|
+
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
218
|
+
"ds:select-none",
|
|
219
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
220
|
+
"ds:hover:bg-muted"
|
|
221
|
+
].join(" "),
|
|
222
|
+
{
|
|
223
|
+
variants: {
|
|
224
|
+
size: {
|
|
225
|
+
sm: "ds:min-w-8 ds:h-6 ds:text-[length:var(--font-size-sm)] ds:ps-1 ds:pe-1",
|
|
226
|
+
md: "ds:min-w-10 ds:h-8 ds:text-[length:var(--font-size-base)] ds:ps-1.5 ds:pe-1.5",
|
|
227
|
+
lg: "ds:min-w-12 ds:h-10 ds:text-[length:var(--font-size-lg)] ds:ps-2 ds:pe-2"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
defaultVariants: { size: "md" }
|
|
231
|
+
}
|
|
232
|
+
), Vt = C("ds:text-muted-foreground ds:select-none", {
|
|
233
|
+
variants: {
|
|
234
|
+
size: {
|
|
235
|
+
sm: "ds:text-[length:var(--font-size-sm)]",
|
|
236
|
+
md: "ds:text-[length:var(--font-size-base)]",
|
|
237
|
+
lg: "ds:text-[length:var(--font-size-lg)]"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
defaultVariants: { size: "md" }
|
|
241
|
+
}), jt = C(
|
|
242
|
+
[
|
|
243
|
+
"ds:relative ds:inline-flex ds:shrink-0 ds:self-stretch ds:items-center ds:justify-center",
|
|
244
|
+
"ds:before:absolute ds:before:inset-x-0 ds:before:-inset-y-px",
|
|
245
|
+
"ds:rounded-e-[var(--radius-sm)] ds:bg-transparent ds:text-muted-foreground ds:cursor-pointer",
|
|
246
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
247
|
+
"ds:hover:bg-muted ds:hover:text-foreground",
|
|
248
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring",
|
|
249
|
+
"ds:focus-visible:[outline-offset:calc(var(--focus-ring-width)*-1)]",
|
|
250
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
251
|
+
"ds:disabled:cursor-not-allowed ds:disabled:hover:bg-transparent"
|
|
252
|
+
].join(" "),
|
|
253
|
+
{
|
|
254
|
+
variants: {
|
|
255
|
+
size: {
|
|
256
|
+
sm: "ds:min-w-8 ds:-me-[var(--spacing-sm)] ds:[&_svg]:size-4",
|
|
257
|
+
md: "ds:min-w-[var(--min-target-size)] ds:-me-[var(--spacing-md)] ds:[&_svg]:size-4",
|
|
258
|
+
lg: "ds:min-w-12 ds:-me-[var(--spacing-md)] ds:[&_svg]:size-5"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
defaultVariants: { size: "md" }
|
|
262
|
+
}
|
|
263
|
+
), Et = C(
|
|
264
|
+
[
|
|
265
|
+
"ds:z-[var(--z-popover)] ds:flex ds:rounded-[var(--radius-md)]",
|
|
266
|
+
"ds:border ds:border-border ds:bg-background ds:text-foreground ds:shadow-[var(--shadow-lg)]",
|
|
267
|
+
"ds:p-[var(--spacing-xs)]"
|
|
268
|
+
].join(" "),
|
|
269
|
+
{
|
|
270
|
+
variants: {
|
|
271
|
+
size: {
|
|
272
|
+
sm: "ds:[--time-picker-option-size:var(--spacing-xl)] ds:text-[length:var(--font-size-sm)]",
|
|
273
|
+
md: "ds:[--time-picker-option-size:var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
|
|
274
|
+
lg: "ds:[--time-picker-option-size:var(--spacing-2xl)] ds:text-[length:var(--font-size-lg)]"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
defaultVariants: { size: "md" }
|
|
278
|
+
}
|
|
279
|
+
), Nt = C(
|
|
280
|
+
[
|
|
281
|
+
"ds:relative ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
282
|
+
"ds:max-h-[calc(var(--time-picker-option-size)*6.5)] ds:overflow-y-auto ds:overscroll-contain",
|
|
283
|
+
"ds:p-[var(--spacing-2xs)]"
|
|
284
|
+
].join(" "),
|
|
285
|
+
{
|
|
286
|
+
variants: {
|
|
287
|
+
separated: {
|
|
288
|
+
true: "ds:border-s ds:border-border",
|
|
289
|
+
false: ""
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
defaultVariants: { separated: !1 }
|
|
293
|
+
}
|
|
294
|
+
), Bt = C(
|
|
295
|
+
[
|
|
296
|
+
"ds:flex ds:shrink-0 ds:items-center ds:justify-center",
|
|
297
|
+
"ds:h-[var(--time-picker-option-size)] ds:min-w-[var(--time-picker-option-size)]",
|
|
298
|
+
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
299
|
+
"ds:rounded-[var(--radius-sm)] ds:tabular-nums ds:whitespace-nowrap",
|
|
300
|
+
"ds:cursor-pointer ds:select-none",
|
|
301
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
302
|
+
// Inset ring: the column scrolls, so an outset ring would be clipped.
|
|
303
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
304
|
+
"ds:focus-visible:[outline-offset:calc(var(--focus-ring-width)*-1)]"
|
|
305
|
+
].join(" "),
|
|
306
|
+
{
|
|
307
|
+
variants: {
|
|
308
|
+
// The kit's selected treatment (the calendar's selected day): solid
|
|
309
|
+
// primary. Paired with aria-selected, so not colour alone.
|
|
310
|
+
selected: {
|
|
311
|
+
true: [
|
|
312
|
+
"ds:bg-primary ds:text-primary-foreground ds:font-semibold ds:hover:bg-primary-hover",
|
|
313
|
+
"ds:focus-visible:outline-primary-foreground",
|
|
314
|
+
"ds:forced-colors:bg-[Highlight] ds:forced-colors:text-[HighlightText]",
|
|
315
|
+
// CanvasText can sit close to Highlight in some contrast themes.
|
|
316
|
+
"ds:forced-colors:focus-visible:outline-[HighlightText]"
|
|
317
|
+
].join(" "),
|
|
318
|
+
false: [
|
|
319
|
+
"ds:text-foreground ds:hover:bg-muted ds:focus-visible:outline-ring",
|
|
320
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
321
|
+
].join(" ")
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
defaultVariants: { selected: !1 }
|
|
325
|
+
}
|
|
326
|
+
);
|
|
327
|
+
function Ut({
|
|
328
|
+
columns: r,
|
|
329
|
+
columnRefs: o,
|
|
330
|
+
onPick: u,
|
|
331
|
+
onOptionKeyDown: b
|
|
332
|
+
}) {
|
|
333
|
+
const k = r.map((h) => h.selectedIndex).join(":"), w = d(!1);
|
|
334
|
+
return Pt(() => {
|
|
335
|
+
const h = !w.current;
|
|
336
|
+
w.current = !0;
|
|
337
|
+
for (const l of Object.values(o.current)) {
|
|
338
|
+
if (!l) continue;
|
|
339
|
+
const i = l.querySelector('[aria-selected="true"]') ?? l.querySelector('[role="option"][tabindex="0"]');
|
|
340
|
+
if (!i) continue;
|
|
341
|
+
const D = i.offsetTop, I = D + i.offsetHeight, V = D >= l.scrollTop && I <= l.scrollTop + l.clientHeight;
|
|
342
|
+
(h || !V) && (l.scrollTop = D - (l.clientHeight - i.offsetHeight) / 2);
|
|
343
|
+
}
|
|
344
|
+
}, [k, o]), /* @__PURE__ */ g(bt, { children: r.map((h, l) => /* @__PURE__ */ g(
|
|
345
|
+
"div",
|
|
346
|
+
{
|
|
347
|
+
ref: (i) => {
|
|
348
|
+
o.current[h.key] = i;
|
|
349
|
+
},
|
|
350
|
+
role: "listbox",
|
|
351
|
+
"aria-label": h.label,
|
|
352
|
+
"data-column": h.key,
|
|
353
|
+
className: Nt({ separated: l > 0 }),
|
|
354
|
+
children: h.options.map((i, D) => {
|
|
355
|
+
const I = D === h.selectedIndex;
|
|
356
|
+
return /* @__PURE__ */ g(
|
|
357
|
+
"div",
|
|
358
|
+
{
|
|
359
|
+
role: "option",
|
|
360
|
+
"aria-selected": I,
|
|
361
|
+
tabIndex: D === h.anchorIndex ? 0 : -1,
|
|
362
|
+
"data-value": i.value,
|
|
363
|
+
className: Bt({ selected: I }),
|
|
364
|
+
onClick: () => u(h.key, i.value),
|
|
365
|
+
onKeyDown: (V) => b(V, l, D),
|
|
366
|
+
children: i.label
|
|
367
|
+
},
|
|
368
|
+
i.value
|
|
369
|
+
);
|
|
370
|
+
})
|
|
371
|
+
},
|
|
372
|
+
h.key
|
|
373
|
+
)) });
|
|
374
|
+
}
|
|
375
|
+
const _t = yt(
|
|
376
|
+
({
|
|
377
|
+
value: r,
|
|
378
|
+
defaultValue: o,
|
|
379
|
+
onChange: u,
|
|
380
|
+
hour12: b,
|
|
381
|
+
minuteStep: k = 1,
|
|
382
|
+
fullWidthSeparator: w = !1,
|
|
383
|
+
periodLabels: h,
|
|
384
|
+
size: l = "md",
|
|
385
|
+
dropdown: i = !1,
|
|
386
|
+
disabled: D,
|
|
387
|
+
className: I,
|
|
388
|
+
id: V,
|
|
389
|
+
"aria-label": we,
|
|
390
|
+
"aria-labelledby": Ue
|
|
391
|
+
}, _e) => {
|
|
392
|
+
const { t: j, i18n: xe } = xt("ui"), A = Dt(), qe = kt(Tt) !== null, F = Mt(A, V), c = !!(A.disabled || D), $e = A.invalid ? "error" : "default", m = b !== void 0 ? b : Ht(xe.language), Ge = It(xe.language), O = h ?? Ge, ie = r !== void 0, [We, Je] = oe(
|
|
393
|
+
r ?? o ?? { hours: 0, minutes: 0 }
|
|
394
|
+
), p = ie ? r : We, T = d(p);
|
|
395
|
+
T.current = p;
|
|
396
|
+
const y = G(
|
|
397
|
+
(e) => {
|
|
398
|
+
T.current = e, ie || Je(e), u == null || u(e);
|
|
399
|
+
},
|
|
400
|
+
[ie, u]
|
|
401
|
+
), E = d(null), R = d(null), L = d(null), Q = d(null), X = d(""), Y = d(""), M = d(null), P = d(null), Z = () => {
|
|
402
|
+
X.current = "", M.current && (clearTimeout(M.current), M.current = null);
|
|
403
|
+
}, ee = () => {
|
|
404
|
+
Y.current = "", P.current && (clearTimeout(P.current), P.current = null);
|
|
405
|
+
}, De = (e) => {
|
|
406
|
+
const t = T.current, n = H(
|
|
407
|
+
parseInt(e, 10),
|
|
408
|
+
m ? 1 : 0,
|
|
409
|
+
m ? 12 : 23
|
|
410
|
+
);
|
|
411
|
+
y({
|
|
412
|
+
...t,
|
|
413
|
+
hours: m ? Ee(n, t.hours >= 12) : n
|
|
414
|
+
});
|
|
415
|
+
}, Te = (e) => {
|
|
416
|
+
y({
|
|
417
|
+
...T.current,
|
|
418
|
+
minutes: Ft(parseInt(e, 10), k)
|
|
419
|
+
});
|
|
420
|
+
}, te = () => {
|
|
421
|
+
const e = X.current;
|
|
422
|
+
Z(), e && De(e);
|
|
423
|
+
}, re = () => {
|
|
424
|
+
const e = Y.current;
|
|
425
|
+
ee(), e && Te(e);
|
|
426
|
+
}, ae = d({
|
|
427
|
+
hour: te,
|
|
428
|
+
minute: re
|
|
429
|
+
});
|
|
430
|
+
ae.current = { hour: te, minute: re }, be(() => () => {
|
|
431
|
+
M.current && clearTimeout(M.current), P.current && clearTimeout(P.current);
|
|
432
|
+
}, []);
|
|
433
|
+
const Qe = w ? ":" : ":", Me = J(m ? ke(p.hours) : p.hours), Pe = J(p.minutes), N = p.hours >= 12, [z, Xe] = oe(!1), Ye = i && z, ce = d(z);
|
|
434
|
+
ce.current = z;
|
|
435
|
+
const x = G((e) => {
|
|
436
|
+
ce.current = e, Xe(e);
|
|
437
|
+
}, []), [Ce, Ze] = oe("ltr"), ne = d("pointer"), ue = d("hour"), B = d(null), U = d(!1), _ = d(null), le = d(null), de = d(
|
|
438
|
+
{}
|
|
439
|
+
), fe = G((e) => {
|
|
440
|
+
var t, n;
|
|
441
|
+
(n = (t = de.current[e]) == null ? void 0 : t.querySelector('[role="option"][tabindex="0"]')) == null || n.focus({ preventScroll: !0 });
|
|
442
|
+
}, []), se = G(
|
|
443
|
+
(e) => {
|
|
444
|
+
if (e) {
|
|
445
|
+
if (c) return;
|
|
446
|
+
const t = E.current;
|
|
447
|
+
Ze(
|
|
448
|
+
t && window.getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr"
|
|
449
|
+
), U.current = !1;
|
|
450
|
+
}
|
|
451
|
+
x(e);
|
|
452
|
+
},
|
|
453
|
+
[c, x]
|
|
454
|
+
), Ae = (e, t, n) => {
|
|
455
|
+
if (!(!i || c)) {
|
|
456
|
+
if (ne.current = e, ue.current = t, B.current = n, z) {
|
|
457
|
+
e === "keyboard" && fe(t);
|
|
458
|
+
return;
|
|
459
|
+
}
|
|
460
|
+
se(!0);
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
be(() => {
|
|
464
|
+
z && (!i || c) && x(!1);
|
|
465
|
+
}, [z, i, c, x]);
|
|
466
|
+
const me = (e, t) => !i || !e.altKey ? !1 : e.key === "ArrowUp" && z ? (e.preventDefault(), x(!1), !0) : e.key !== "ArrowDown" ? !1 : (e.preventDefault(), te(), re(), Ae("keyboard", t, e.currentTarget), !0), et = (e) => {
|
|
467
|
+
var t, n;
|
|
468
|
+
if (!c && !me(e, "hour")) {
|
|
469
|
+
if (e.key === "ArrowUp" || e.key === "ArrowDown") {
|
|
470
|
+
e.preventDefault(), Z();
|
|
471
|
+
const s = T.current, a = e.key === "ArrowUp" ? 1 : -1, v = 23;
|
|
472
|
+
let f = s.hours + a;
|
|
473
|
+
f < 0 && (f = v), f > v && (f = 0), y({ ...s, hours: f });
|
|
474
|
+
return;
|
|
475
|
+
}
|
|
476
|
+
if (e.key === "Tab" && !e.shiftKey) {
|
|
477
|
+
e.preventDefault(), (t = L.current) == null || t.focus();
|
|
478
|
+
return;
|
|
479
|
+
}
|
|
480
|
+
if (e.key.length === 1 && e.key >= "0" && e.key <= "9") {
|
|
481
|
+
e.preventDefault(), M.current && clearTimeout(M.current);
|
|
482
|
+
const s = X.current + e.key;
|
|
483
|
+
s.length >= 2 || parseInt(s, 10) > (m ? 1 : 2) ? (Z(), De(s), (n = L.current) == null || n.focus()) : (X.current = s, M.current = setTimeout(
|
|
484
|
+
() => ae.current.hour(),
|
|
485
|
+
1e3
|
|
486
|
+
));
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}, tt = (e) => {
|
|
490
|
+
var t, n, s;
|
|
491
|
+
if (!c && !me(e, "minute")) {
|
|
492
|
+
if (e.key === "ArrowUp" || e.key === "ArrowDown") {
|
|
493
|
+
e.preventDefault(), ee();
|
|
494
|
+
const a = T.current;
|
|
495
|
+
y({
|
|
496
|
+
...a,
|
|
497
|
+
minutes: Ot(
|
|
498
|
+
a.minutes,
|
|
499
|
+
k,
|
|
500
|
+
e.key === "ArrowUp" ? 1 : -1
|
|
501
|
+
)
|
|
502
|
+
});
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
if (e.key === "Tab" && !e.shiftKey && m) {
|
|
506
|
+
e.preventDefault(), (t = Q.current) == null || t.focus();
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
if (e.key === "Tab" && e.shiftKey) {
|
|
510
|
+
e.preventDefault(), (n = R.current) == null || n.focus();
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
if (e.key.length === 1 && e.key >= "0" && e.key <= "9") {
|
|
514
|
+
e.preventDefault(), P.current && clearTimeout(P.current);
|
|
515
|
+
const a = Y.current + e.key;
|
|
516
|
+
a.length >= 2 || parseInt(a, 10) > 5 ? (ee(), Te(a), m && ((s = Q.current) == null || s.focus())) : (Y.current = a, P.current = setTimeout(
|
|
517
|
+
() => ae.current.minute(),
|
|
518
|
+
1e3
|
|
519
|
+
));
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}, rt = (e) => {
|
|
523
|
+
var s;
|
|
524
|
+
if (c || me(e, "period")) return;
|
|
525
|
+
const t = T.current, n = t.hours >= 12;
|
|
526
|
+
if (e.key === "ArrowUp" || e.key === "ArrowDown") {
|
|
527
|
+
e.preventDefault();
|
|
528
|
+
const a = n ? t.hours - 12 : t.hours + 12;
|
|
529
|
+
y({ ...t, hours: H(a, 0, 23) });
|
|
530
|
+
return;
|
|
531
|
+
}
|
|
532
|
+
if (e.key === "Tab" && e.shiftKey) {
|
|
533
|
+
e.preventDefault(), (s = L.current) == null || s.focus();
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
(e.key === "a" || e.key === "A") && (e.preventDefault(), n && y({ ...t, hours: t.hours - 12 })), (e.key === "p" || e.key === "P") && (e.preventDefault(), n || y({ ...t, hours: t.hours + 12 }));
|
|
537
|
+
}, nt = () => {
|
|
538
|
+
te();
|
|
539
|
+
}, st = () => {
|
|
540
|
+
re();
|
|
541
|
+
}, ze = j("inputs.timePicker.hour", "Hour"), He = j("inputs.timePicker.minute", "Minute"), Ie = j("inputs.timePicker.period", "Period"), ot = j("inputs.timePicker.groupLabel", "Time"), it = j(
|
|
542
|
+
"inputs.timePicker.openDropdown",
|
|
543
|
+
"Choose time"
|
|
544
|
+
), pe = `${A.id}-label`, he = qe && !!A.label, [at, Fe] = oe(!0), ve = Ue ?? (!we && he && at ? pe : void 0), Oe = ve ? void 0 : we ?? ot;
|
|
545
|
+
be(() => {
|
|
546
|
+
var v;
|
|
547
|
+
if (!he) return;
|
|
548
|
+
const e = (v = E.current) == null ? void 0 : v.getRootNode(), t = e instanceof Document || e instanceof ShadowRoot ? e.getElementById(pe) : null;
|
|
549
|
+
if (!(t instanceof HTMLLabelElement)) {
|
|
550
|
+
Fe(!1);
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
const n = () => Fe(t.htmlFor === F);
|
|
554
|
+
n();
|
|
555
|
+
const s = new MutationObserver(n);
|
|
556
|
+
s.observe(t, { attributes: !0, attributeFilter: ["for"] });
|
|
557
|
+
const a = () => {
|
|
558
|
+
var f;
|
|
559
|
+
t.htmlFor !== F || c || (f = R.current) == null || f.focus();
|
|
560
|
+
};
|
|
561
|
+
return t.addEventListener("click", a), () => {
|
|
562
|
+
s.disconnect(), t.removeEventListener("click", a);
|
|
563
|
+
};
|
|
564
|
+
}, [he, pe, F, c]);
|
|
565
|
+
const Re = ye(
|
|
566
|
+
() => Array.from(
|
|
567
|
+
{ length: m ? 12 : 24 },
|
|
568
|
+
(e, t) => m ? t + 1 : t
|
|
569
|
+
).map((e) => ({ value: e, label: J(e) })),
|
|
570
|
+
[m]
|
|
571
|
+
), ge = ye(() => {
|
|
572
|
+
const e = [];
|
|
573
|
+
for (let t = 0; t <= 59; t += k)
|
|
574
|
+
e.push({ value: t, label: J(t) });
|
|
575
|
+
return e;
|
|
576
|
+
}, [k]), K = [];
|
|
577
|
+
if (i) {
|
|
578
|
+
const e = Re.findIndex(
|
|
579
|
+
(n) => n.value === (m ? ke(p.hours) : p.hours)
|
|
580
|
+
);
|
|
581
|
+
K.push({
|
|
582
|
+
key: "hour",
|
|
583
|
+
label: ze,
|
|
584
|
+
options: Re,
|
|
585
|
+
selectedIndex: e,
|
|
586
|
+
anchorIndex: Math.max(e, 0)
|
|
587
|
+
});
|
|
588
|
+
const t = ge.findIndex(
|
|
589
|
+
(n) => n.value === p.minutes
|
|
590
|
+
);
|
|
591
|
+
K.push({
|
|
592
|
+
key: "minute",
|
|
593
|
+
label: He,
|
|
594
|
+
options: ge,
|
|
595
|
+
selectedIndex: t,
|
|
596
|
+
anchorIndex: t >= 0 ? t : H(
|
|
597
|
+
Math.floor(p.minutes / k),
|
|
598
|
+
0,
|
|
599
|
+
ge.length - 1
|
|
600
|
+
)
|
|
601
|
+
}), m && K.push({
|
|
602
|
+
key: "period",
|
|
603
|
+
label: Ie,
|
|
604
|
+
options: [
|
|
605
|
+
{ value: 0, label: O.am },
|
|
606
|
+
{ value: 1, label: O.pm }
|
|
607
|
+
],
|
|
608
|
+
selectedIndex: N ? 1 : 0,
|
|
609
|
+
anchorIndex: N ? 1 : 0
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
const Le = (e, t) => {
|
|
613
|
+
var s;
|
|
614
|
+
Z(), ee();
|
|
615
|
+
const n = T.current;
|
|
616
|
+
if (e === "hour") {
|
|
617
|
+
const a = m ? Ee(t, n.hours >= 12) : t;
|
|
618
|
+
a !== n.hours && y({ ...n, hours: a });
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
621
|
+
if (e === "period") {
|
|
622
|
+
const a = t === 1;
|
|
623
|
+
a !== n.hours >= 12 && y({ ...n, hours: a ? n.hours + 12 : n.hours - 12 });
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
t !== n.minutes && y({ ...n, minutes: t }), (s = L.current) == null || s.focus(), x(!1);
|
|
627
|
+
}, ct = (e, t, n) => {
|
|
628
|
+
var f, q, Se;
|
|
629
|
+
const s = K[t];
|
|
630
|
+
if (!s) return;
|
|
631
|
+
const a = s.options.length - 1, v = (S) => {
|
|
632
|
+
var $, Ve;
|
|
633
|
+
(Ve = ($ = de.current[s.key]) == null ? void 0 : $.querySelectorAll('[role="option"]')[S]) == null || Ve.focus();
|
|
634
|
+
};
|
|
635
|
+
if (e.altKey && e.key === "ArrowUp") {
|
|
636
|
+
e.preventDefault(), (f = B.current) == null || f.focus(), x(!1);
|
|
637
|
+
return;
|
|
638
|
+
}
|
|
639
|
+
switch (e.key) {
|
|
640
|
+
case "ArrowDown":
|
|
641
|
+
e.preventDefault(), v(Math.min(n + 1, a));
|
|
642
|
+
break;
|
|
643
|
+
case "ArrowUp":
|
|
644
|
+
e.preventDefault(), v(Math.max(n - 1, 0));
|
|
645
|
+
break;
|
|
646
|
+
case "Home":
|
|
647
|
+
e.preventDefault(), v(0);
|
|
648
|
+
break;
|
|
649
|
+
case "End":
|
|
650
|
+
e.preventDefault(), v(a);
|
|
651
|
+
break;
|
|
652
|
+
case "ArrowLeft":
|
|
653
|
+
case "ArrowRight": {
|
|
654
|
+
e.preventDefault();
|
|
655
|
+
const S = e.key === "ArrowRight" == (Ce === "ltr"), $ = K[t + (S ? 1 : -1)];
|
|
656
|
+
$ && fe($.key);
|
|
657
|
+
break;
|
|
658
|
+
}
|
|
659
|
+
case "Enter":
|
|
660
|
+
case " ": {
|
|
661
|
+
e.preventDefault();
|
|
662
|
+
const S = s.options[n];
|
|
663
|
+
S && Le(s.key, S.value);
|
|
664
|
+
break;
|
|
665
|
+
}
|
|
666
|
+
case "Tab":
|
|
667
|
+
U.current = !0, e.shiftKey ? (q = R.current) == null || q.focus() : (Se = le.current) == null || Se.focus(), x(!1);
|
|
668
|
+
break;
|
|
669
|
+
}
|
|
670
|
+
}, ut = (e) => {
|
|
671
|
+
var a, v;
|
|
672
|
+
if (!i || c) return;
|
|
673
|
+
const t = e.target;
|
|
674
|
+
if (!(t instanceof Node) || (a = le.current) != null && a.contains(t)) return;
|
|
675
|
+
const n = [R.current, L.current, Q.current];
|
|
676
|
+
let s = n.find((f) => f == null ? void 0 : f.contains(t)) ?? null;
|
|
677
|
+
if (!s) {
|
|
678
|
+
const f = (v = t.ownerDocument) == null ? void 0 : v.activeElement;
|
|
679
|
+
s = n.find((q) => q && q === f) ?? R.current, s && s !== f && s.focus();
|
|
680
|
+
}
|
|
681
|
+
Ae("pointer", "hour", s);
|
|
682
|
+
}, lt = (e) => {
|
|
683
|
+
ne.current = e.detail === 0 ? "keyboard" : "pointer", ue.current = "hour", B.current = e.currentTarget;
|
|
684
|
+
}, dt = (e) => {
|
|
685
|
+
e.preventDefault(), ne.current === "keyboard" && fe(ue.current);
|
|
686
|
+
}, ft = (e) => {
|
|
687
|
+
var s;
|
|
688
|
+
e.preventDefault();
|
|
689
|
+
const t = U.current;
|
|
690
|
+
if (U.current = !1, t) return;
|
|
691
|
+
const n = document.activeElement;
|
|
692
|
+
(!n || n === document.body) && ((s = B.current) == null || s.focus());
|
|
693
|
+
}, mt = (e) => {
|
|
694
|
+
var n;
|
|
695
|
+
const t = e.target;
|
|
696
|
+
if (t instanceof Node && ((n = E.current) != null && n.contains(t))) {
|
|
697
|
+
e.preventDefault();
|
|
698
|
+
return;
|
|
699
|
+
}
|
|
700
|
+
U.current = !0;
|
|
701
|
+
}, pt = () => {
|
|
702
|
+
var e, t;
|
|
703
|
+
(e = _.current) != null && e.contains(document.activeElement) && ((t = B.current) == null || t.focus());
|
|
704
|
+
}, ht = G((e) => {
|
|
705
|
+
var n, s;
|
|
706
|
+
const t = Lt;
|
|
707
|
+
(n = _.current) == null || n.removeEventListener("wheel", t), (s = _.current) == null || s.removeEventListener("touchmove", t), _.current = e, e == null || e.addEventListener("wheel", t, { passive: !0 }), e == null || e.addEventListener("touchmove", t, { passive: !0 });
|
|
708
|
+
}, []), vt = (e) => {
|
|
709
|
+
var t;
|
|
710
|
+
(t = _.current) != null && t.contains(document.activeElement) || e.preventDefault();
|
|
711
|
+
}, gt = ye(
|
|
712
|
+
() => ({
|
|
713
|
+
getValue: () => p,
|
|
714
|
+
setValue: (e) => y(Rt(e)),
|
|
715
|
+
clear: () => y({ hours: 0, minutes: 0 }),
|
|
716
|
+
isOpen: () => i && ce.current,
|
|
717
|
+
open: () => {
|
|
718
|
+
!i || c || (ne.current = "pointer", se(!0));
|
|
719
|
+
},
|
|
720
|
+
close: () => {
|
|
721
|
+
i && x(!1);
|
|
722
|
+
}
|
|
723
|
+
}),
|
|
724
|
+
[
|
|
725
|
+
p,
|
|
726
|
+
y,
|
|
727
|
+
i,
|
|
728
|
+
c,
|
|
729
|
+
se,
|
|
730
|
+
x
|
|
731
|
+
]
|
|
732
|
+
);
|
|
733
|
+
wt(_e, () => E.current, []), Ct(zt, gt, F);
|
|
734
|
+
const Ke = (
|
|
735
|
+
// eslint-disable-next-line jsx-a11y/role-supports-aria-props, jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions -- aria-invalid is a global ARIA state conveying group-level validation; the click is a pointer shortcut to the list, which the keyboard opens with Alt+ArrowDown or the clock button
|
|
736
|
+
/* @__PURE__ */ je(
|
|
737
|
+
"div",
|
|
738
|
+
{
|
|
739
|
+
ref: E,
|
|
740
|
+
id: F,
|
|
741
|
+
role: "group",
|
|
742
|
+
"aria-label": Oe,
|
|
743
|
+
"aria-labelledby": ve,
|
|
744
|
+
"aria-describedby": A.describedBy || void 0,
|
|
745
|
+
"aria-invalid": A.invalid || void 0,
|
|
746
|
+
"aria-disabled": c || void 0,
|
|
747
|
+
"data-component": "time-picker",
|
|
748
|
+
"data-component-id": F,
|
|
749
|
+
className: Kt({
|
|
750
|
+
size: l,
|
|
751
|
+
tone: $e,
|
|
752
|
+
isDisabled: c,
|
|
753
|
+
opensOnClick: i && !c,
|
|
754
|
+
className: I
|
|
755
|
+
}),
|
|
756
|
+
onClick: i ? ut : void 0,
|
|
757
|
+
children: [
|
|
758
|
+
/* @__PURE__ */ g(
|
|
759
|
+
"span",
|
|
760
|
+
{
|
|
761
|
+
ref: R,
|
|
762
|
+
role: "spinbutton",
|
|
763
|
+
"aria-disabled": c || void 0,
|
|
764
|
+
"aria-label": ze,
|
|
765
|
+
"aria-valuemin": m ? 1 : 0,
|
|
766
|
+
"aria-valuemax": m ? 12 : 23,
|
|
767
|
+
"aria-valuenow": m ? ke(p.hours) : p.hours,
|
|
768
|
+
"aria-valuetext": Me,
|
|
769
|
+
"aria-keyshortcuts": i ? "Alt+ArrowDown" : void 0,
|
|
770
|
+
tabIndex: c ? -1 : 0,
|
|
771
|
+
inputMode: "numeric",
|
|
772
|
+
onKeyDown: et,
|
|
773
|
+
onBlur: nt,
|
|
774
|
+
className: Ne({ size: l }),
|
|
775
|
+
children: Me
|
|
776
|
+
}
|
|
777
|
+
),
|
|
778
|
+
/* @__PURE__ */ g("span", { "aria-hidden": "true", className: Vt({ size: l }), children: Qe }),
|
|
779
|
+
/* @__PURE__ */ g(
|
|
780
|
+
"span",
|
|
781
|
+
{
|
|
782
|
+
ref: L,
|
|
783
|
+
role: "spinbutton",
|
|
784
|
+
"aria-disabled": c || void 0,
|
|
785
|
+
"aria-label": He,
|
|
786
|
+
"aria-valuemin": 0,
|
|
787
|
+
"aria-valuemax": 59,
|
|
788
|
+
"aria-valuenow": p.minutes,
|
|
789
|
+
"aria-valuetext": Pe,
|
|
790
|
+
"aria-keyshortcuts": i ? "Alt+ArrowDown" : void 0,
|
|
791
|
+
tabIndex: c ? -1 : 0,
|
|
792
|
+
inputMode: "numeric",
|
|
793
|
+
onKeyDown: tt,
|
|
794
|
+
onBlur: st,
|
|
795
|
+
className: Ne({ size: l }),
|
|
796
|
+
children: Pe
|
|
797
|
+
}
|
|
798
|
+
),
|
|
799
|
+
m ? /* @__PURE__ */ g(
|
|
800
|
+
"span",
|
|
801
|
+
{
|
|
802
|
+
ref: Q,
|
|
803
|
+
role: "spinbutton",
|
|
804
|
+
"aria-disabled": c || void 0,
|
|
805
|
+
"aria-label": Ie,
|
|
806
|
+
"aria-valuemin": 0,
|
|
807
|
+
"aria-valuemax": 1,
|
|
808
|
+
"aria-valuenow": N ? 1 : 0,
|
|
809
|
+
"aria-valuetext": N ? O.pm : O.am,
|
|
810
|
+
"aria-keyshortcuts": i ? "Alt+ArrowDown" : void 0,
|
|
811
|
+
tabIndex: c ? -1 : 0,
|
|
812
|
+
onKeyDown: rt,
|
|
813
|
+
className: St({ size: l }),
|
|
814
|
+
children: N ? O.pm : O.am
|
|
815
|
+
}
|
|
816
|
+
) : null,
|
|
817
|
+
i ? /* @__PURE__ */ g(W.Trigger, { asChild: !0, children: /* @__PURE__ */ g(
|
|
818
|
+
"button",
|
|
819
|
+
{
|
|
820
|
+
ref: le,
|
|
821
|
+
type: "button",
|
|
822
|
+
"aria-label": it,
|
|
823
|
+
disabled: c,
|
|
824
|
+
onClick: lt,
|
|
825
|
+
className: jt({ size: l }),
|
|
826
|
+
children: /* @__PURE__ */ g(At, { "aria-hidden": "true" })
|
|
827
|
+
}
|
|
828
|
+
) }) : null
|
|
829
|
+
]
|
|
830
|
+
}
|
|
831
|
+
)
|
|
832
|
+
);
|
|
833
|
+
return i ? /* @__PURE__ */ je(W.Root, { open: Ye, onOpenChange: se, children: [
|
|
834
|
+
/* @__PURE__ */ g(W.Anchor, { asChild: !0, children: Ke }),
|
|
835
|
+
/* @__PURE__ */ g(W.Portal, { children: /* @__PURE__ */ g(
|
|
836
|
+
W.Content,
|
|
837
|
+
{
|
|
838
|
+
ref: ht,
|
|
839
|
+
side: "bottom",
|
|
840
|
+
align: "start",
|
|
841
|
+
sideOffset: 4,
|
|
842
|
+
dir: Ce,
|
|
843
|
+
"data-component": "time-picker-dropdown",
|
|
844
|
+
"aria-label": Oe,
|
|
845
|
+
"aria-labelledby": ve,
|
|
846
|
+
className: Et({ size: l }),
|
|
847
|
+
onOpenAutoFocus: dt,
|
|
848
|
+
onCloseAutoFocus: ft,
|
|
849
|
+
onInteractOutside: mt,
|
|
850
|
+
onEscapeKeyDown: pt,
|
|
851
|
+
onMouseDown: vt,
|
|
852
|
+
children: /* @__PURE__ */ g(
|
|
853
|
+
Ut,
|
|
854
|
+
{
|
|
855
|
+
columns: K,
|
|
856
|
+
columnRefs: de,
|
|
857
|
+
onPick: Le,
|
|
858
|
+
onOptionKeyDown: ct
|
|
859
|
+
}
|
|
860
|
+
)
|
|
861
|
+
}
|
|
862
|
+
) })
|
|
863
|
+
] }) : Ke;
|
|
864
|
+
}
|
|
865
|
+
);
|
|
866
|
+
_t.displayName = "TimePicker";
|
|
867
|
+
export {
|
|
868
|
+
_t as T,
|
|
869
|
+
zt as t
|
|
870
|
+
};
|
|
871
|
+
//# sourceMappingURL=time-picker-DVfyAR81.js.map
|