@alfadocs/ui-kit 1.54.3 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{accordion-C11v9ouP.js → accordion-Ch3xp0mX.js} +9 -9
- package/dist/_chunks/{actions-cell-renderer-CjzSqMgn.js → actions-cell-renderer-Dj1ZkvJj.js} +4 -4
- package/dist/_chunks/{address-autocomplete-BBZ0u_U1.js → address-autocomplete-bPR2mNBt.js} +2 -2
- package/dist/_chunks/address-fields-BfjxS05Z.js +298 -0
- package/dist/_chunks/{agenda-card-CakEvwnM.js → agenda-card-DauvvKX6.js} +2 -2
- package/dist/_chunks/{agenda-tray-B8vuZKjH.js → agenda-tray-ZKhDxlfw.js} +24 -24
- package/dist/_chunks/{ai-credits-notice-D9_qP2xc.js → ai-credits-notice-BoNJtOuE.js} +4 -4
- package/dist/_chunks/ai-fab-pill-BOu96kCx.js +30 -0
- package/dist/_chunks/{ai-permission-notice-Cr6o1f0f.js → ai-permission-notice-5vpblPCx.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-DkL8W-nt.js → ai-prompt-input-Beh-O_rJ.js} +4 -4
- package/dist/_chunks/{alia-sidebar-DSUQ2RpK.js → alia-sidebar-DOei4Iyu.js} +12 -12
- package/dist/_chunks/{anamnesis-card-BT1tMt5O.js → anamnesis-card-BSlAhaoG.js} +4 -4
- package/dist/_chunks/{anamnesis-summary-card-Bv0CZ-mk.js → anamnesis-summary-card-2YfIYY2j.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-Brru7JrH.js → anamnesis-summary-rows-CQ-XGr0T.js} +427 -426
- package/dist/_chunks/{antenatal-schedule-timeline-BZzgjfyd.js → antenatal-schedule-timeline-Kf2Yg8uo.js} +4 -4
- package/dist/_chunks/{app-frame-Cos-GSfw.js → app-frame-B-0O9CrU.js} +40 -38
- package/dist/_chunks/{appointment-card-CA2ynsmN.js → appointment-card-Dh3fAcyf.js} +12 -12
- package/dist/_chunks/{appointment-peek-Cbrg36wj.js → appointment-peek-BIZaDeCi.js} +6 -6
- package/dist/_chunks/{appointment-timeline-CssAJLpL.js → appointment-timeline-DmqYEIT9.js} +32 -33
- package/dist/_chunks/{appointment-tray-EQUjllVy.js → appointment-tray-CyI_p3zU.js} +28 -28
- package/dist/_chunks/{appointment-workflow-status-DrWCNLbB.js → appointment-workflow-status-DMjuIK90.js} +2 -2
- package/dist/_chunks/{audio-recorder-BM68r6fe.js → audio-recorder-DWKKjGPt.js} +5 -6
- package/dist/_chunks/{auth-form-parts-Celi-TLV.js → auth-form-parts-CravOf0L.js} +6 -5
- package/dist/_chunks/{autocomplete-BXm1rnT0.js → autocomplete-DosDnGie.js} +3 -3
- package/dist/_chunks/{avatar-DYtwj1-R.js → avatar-WZY3eGE7.js} +10 -10
- package/dist/_chunks/{balance-badge-cell-C5hmahoB.js → balance-badge-cell-DmDcXw0c.js} +5 -5
- package/dist/_chunks/{benefit-card-DB1Kdrmc.js → benefit-card-BWBClvdF.js} +46 -45
- package/dist/_chunks/{bishop-score-BzvVol-u.js → bishop-score-BxA20j9T.js} +5 -5
- package/dist/_chunks/{bmi-calculator-CDmQk0b5.js → bmi-calculator-C0UTxB7R.js} +6 -6
- package/dist/_chunks/{booking-BGY3LUi8.js → booking-WyNGKPE2.js} +1553 -1458
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- package/dist/_chunks/{button-CYPx2xFq.js → button-Bn16lcFM.js} +10 -7
- package/dist/_chunks/{button-group-CpEycMps.js → button-group-CWlwR-A5.js} +3 -3
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-pCPWta7h.js} +2 -2
- package/dist/_chunks/{calendar-BwF5nQuW.js → calendar-6-24PQ1u.js} +4 -4
- package/dist/_chunks/{calendar-workspace-BJPhMb2c.js → calendar-workspace-Du2ryaI-.js} +870 -885
- package/dist/_chunks/{card-DPmk26CL.js → card-DMO2nkt4.js} +45 -42
- package/dist/_chunks/{care-plan-card-BqI-_B4T.js → care-plan-card-Ddjh5Doc.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-CbsZmfQM.js → care-plan-entry-card-0rpR-4Te.js} +5 -5
- package/dist/_chunks/{care-plan-header-BIS4CGcp.js → care-plan-header-DUX_SVvF.js} +3 -3
- package/dist/_chunks/{carousel.agent-DW9iPLdy.js → carousel.agent-D3xthzTf.js} +44 -45
- package/dist/_chunks/chart-HsF1KHbx.js +909 -0
- package/dist/_chunks/{chat-container-CAfyTxat.js → chat-container-baxzy8k8.js} +21 -22
- package/dist/_chunks/{chat-input-Bg99kcl3.js → chat-input-PtrSu1ZC.js} +27 -27
- package/dist/_chunks/{chat-message-D4rvLoIJ.js → chat-message-CmGUcajG.js} +4 -4
- package/dist/_chunks/city-input-BC_nYINn.js +185 -0
- package/dist/_chunks/{clinical-note-card-gmWXEwSu.js → clinical-note-card-14JIoUR0.js} +3 -3
- package/dist/_chunks/{code-block-CRVa-Thh.js → code-block-BQgK70mO.js} +2 -2
- package/dist/_chunks/{collapsible-CTjxzGuF.js → collapsible-DVPM46bq.js} +27 -27
- package/dist/_chunks/{color-picker-Bu0wM8xv.js → color-picker-BRQ4Y9SO.js} +3 -3
- package/dist/_chunks/{combobox-DppVSuUm.js → combobox-U5yfO6o0.js} +262 -218
- package/dist/_chunks/{connection-status-BwTnjnUj.js → connection-status-ncTjUPt6.js} +4 -4
- package/dist/_chunks/{contact-card-CIVCcicP.js → contact-card-CmK05vNb.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B-HzocbB.js → contact-profile-card-Ci8lBQ6a.js} +4 -4
- package/dist/_chunks/{control-room-rail-g4vNSPFi.js → control-room-rail-Tx2jW250.js} +3 -3
- package/dist/_chunks/{copy-field-CiIuVbKe.js → copy-field-CvTIuA_p.js} +3 -3
- package/dist/_chunks/{country-select-r3QC7cVA.js → country-select-DF5Bd_mn.js} +2 -2
- package/dist/_chunks/{cycle-calculator-LjsQd9Gl.js → cycle-calculator-Dgfqr4Q4.js} +7 -7
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
- package/dist/_chunks/{data-table-BErtJzaT.js → data-table-D8fuhqO1.js} +244 -240
- package/dist/_chunks/{data-table-tabs-D5nFZKxg.js → data-table-tabs-Xhg5G0gU.js} +4 -4
- package/dist/_chunks/{date-picker-variants-B3AFKDSu.js → date-picker-variants-BnF-sHzq.js} +19 -10
- package/dist/_chunks/{date-picker-BnhBmcH6.js → date-picker-wRAcq2lt.js} +49 -49
- package/dist/_chunks/{date-range-picker-Dg050N1d.js → date-range-picker-CtUOI38x.js} +189 -183
- package/dist/_chunks/{date-time-picker-Ckl6ezCL.js → date-time-picker-CLeLKuv9.js} +5 -5
- package/dist/_chunks/{dependent-selector-CPiolWiw.js → dependent-selector-DgaAQc-c.js} +91 -86
- package/dist/_chunks/{description-list-BKQMUiXv.js → description-list-DkLeHiew.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-Y1s7gPSD.js → dev-bypass-button-BhGn6evf.js} +2 -2
- package/dist/_chunks/{dialog-D52AI4nF.js → dialog-CUzbnKLw.js} +86 -69
- package/dist/_chunks/{document-preview-C_6R_VZK.js → document-preview-uoTekVR7.js} +5 -5
- package/dist/_chunks/{document-scanner-pADVX447.js → document-scanner-CQS9kv84.js} +17 -17
- package/dist/_chunks/{dropdown-menu-B5mgV1kV.js → dropdown-menu-BQSNVp4x.js} +2 -2
- package/dist/_chunks/{due-date-calculator-mDvGKmRV.js → due-date-calculator-CSjklbyw.js} +9 -9
- package/dist/_chunks/{editable-currency-cell-renderer-CfFp_1hI.js → editable-currency-cell-renderer-CmYcMuwi.js} +4 -4
- package/dist/_chunks/{editable-description-CCrAEJMq.js → editable-description-DuJlvltc.js} +3 -3
- package/dist/_chunks/editor-overlay-NMxzcO6J.js +90 -0
- package/dist/_chunks/{email-input-DQixfopu.js → email-input-C7THAwh2.js} +3 -3
- package/dist/_chunks/{empty-state-CgvmPPvW.js → empty-state-gNG3qYCX.js} +2 -2
- package/dist/_chunks/{entity-card-D1Yrh9wf.js → entity-card-fpm-KUKc.js} +26 -27
- package/dist/_chunks/{entity-summary-C3E4JKVr.js → entity-summary-DcB0fIiv.js} +5 -5
- package/dist/_chunks/{error-boundary-Bzjk9Q2l.js → error-boundary-ChowhO6w.js} +2 -2
- package/dist/_chunks/error-page-CpuYbpOB.js +344 -0
- package/dist/_chunks/{error-page-illustration-bFti0VEc.js → error-page-illustration-BdJLuMdV.js} +12 -12
- package/dist/_chunks/error-summary-BhM8FEkl.js +101 -0
- package/dist/_chunks/{face-scheme-Doodi6A6.js → face-scheme-BicuUA2K.js} +8 -8
- package/dist/_chunks/{fetal-weight-DBgEaMoJ.js → fetal-weight-BWaqqjea.js} +5 -5
- package/dist/_chunks/{field-array-DGiIHCdy.js → field-array-BO-kaKFK.js} +3 -3
- package/dist/_chunks/{file-manager-BDNSnr7f.js → file-manager-Cc_uO8r2.js} +54 -54
- package/dist/_chunks/{finished-terminal-BguGAUdg.js → finished-terminal-CPSDrIMB.js} +3 -3
- package/dist/_chunks/{fiscal-code-input-DNA_SbQx.js → fiscal-code-input-DesSQ6Fh.js} +168 -168
- package/dist/_chunks/floating-clearance-nIx9fFLy.js +20 -0
- package/dist/_chunks/forgot-password-form-DEx-M_QR.js +234 -0
- package/dist/_chunks/{form-field-Db0liyI8.js → form-field-Ani72sVY.js} +46 -44
- package/dist/_chunks/format-price-BKle6Xwt.js +52 -0
- package/dist/_chunks/{freemium-paywall-CtUCj-ND.js → freemium-paywall-DIKuhX8b.js} +88 -82
- package/dist/_chunks/{gestational-age-calculator-BVBz_5dm.js → gestational-age-calculator-DqVeJke2.js} +10 -10
- package/dist/_chunks/glass-surface-CPok0jEe.js +20 -0
- package/dist/_chunks/{hcg-doubling-BECrAUu3.js → hcg-doubling-BIYyI2Yo.js} +7 -7
- package/dist/_chunks/{header--a4ZTiM5.js → header-B9552pLh.js} +15 -14
- package/dist/_chunks/{header-settings-kkVm9VP3.js → header-settings-ge_3gYEq.js} +4 -4
- package/dist/_chunks/heatmap-Gf9r7Tn1.js +2865 -0
- package/dist/_chunks/{help-me-write-templates-B4Y8dBv1.js → help-me-write-templates-fV-Apf72.js} +29 -29
- package/dist/_chunks/{hover-card-CcRSI4gy.js → hover-card-BnTueNS2.js} +2 -2
- package/dist/_chunks/{iban-input-CpOUMMR-.js → iban-input-B9L2QDHh.js} +2 -2
- package/dist/_chunks/{icon-button-mKIvw90h.js → icon-button-COX76Jdj.js} +2 -2
- package/dist/_chunks/{icon-button-group-BsQkbCX4.js → icon-button-group-C5hhI-R5.js} +3 -3
- package/dist/_chunks/{icon-picker-JZzs1ol_.js → icon-picker-DWrqmI1c.js} +20 -20
- package/dist/_chunks/{image-cropper-CNBGkG7P.js → image-cropper-D0kkQ4lG.js} +2 -2
- package/dist/_chunks/{info-tip-Czh1izZ6.js → info-tip-B0jmIt6M.js} +2 -2
- package/dist/_chunks/{input-surface-xyERuLU_.js → input-surface-iBmxVBfr.js} +11 -12
- package/dist/_chunks/{insert-result-BuWQl11Z.js → insert-result-C1C2OCc3.js} +2 -2
- package/dist/_chunks/intl-locale-ySteXlDD.js +23 -0
- package/dist/_chunks/{kbd-BLovyx1R.js → kbd-Bx7eQv9f.js} +70 -66
- package/dist/_chunks/{key-value-pair-BkXjt88Z.js → key-value-pair-BNNITp6S.js} +26 -20
- package/dist/_chunks/{kit-extensions-GQHKTLWI.js → kit-extensions-Byfxy6sy.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-D-xv2HMS.js → link-cell-renderer-TeJNvymP.js} +9 -9
- package/dist/_chunks/{locale-picker-BhNIgeXA.js → locale-picker-DfNSdOpy.js} +4 -4
- package/dist/_chunks/login-dev-card-DmZ1B0lB.js +309 -0
- package/dist/_chunks/{logo-CuaqxTGK.js → logo-hIsyVE96.js} +19 -19
- package/dist/_chunks/{map-view-CQmqQJwK.js → map-view-CO2v0hfp.js} +9 -9
- package/dist/_chunks/{marketplace-app-shell-DbEfoNxe.js → marketplace-app-shell-Dcx-JEjg.js} +11 -11
- package/dist/_chunks/{message-card-C1buKlzM.js → message-card-DVo8-dOm.js} +36 -28
- package/dist/_chunks/{message-tray-DyBVqlGj.js → message-tray-BB95DA82.js} +5 -5
- package/dist/_chunks/{money-GypsuFk2.js → money-CeClE1nH.js} +2 -2
- package/dist/_chunks/multi-select-BT23EnSA.js +688 -0
- package/dist/_chunks/{muscle-scheme-DfYQ0Z3v.js → muscle-scheme-BDgIaGeW.js} +2 -2
- package/dist/_chunks/{nav-grid-BPbmzHY0.js → nav-grid-BqCPH8sm.js} +16 -17
- package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +65 -0
- package/dist/_chunks/{notes-panel-DWJY3WV8.js → notes-panel-DceRhthG.js} +54 -53
- package/dist/_chunks/{notification-card-DubeUbVJ.js → notification-card-BGCIL6Mu.js} +56 -48
- package/dist/_chunks/{notification-tray-DJ0gtfu6.js → notification-tray-__sJXnsz.js} +5 -5
- package/dist/_chunks/{number-input-DRDRYZJg.js → number-input-CVwI1ltI.js} +2 -2
- package/dist/_chunks/{operator-hero-BnBPxwOi.js → operator-hero-Dyd2IGbR.js} +4 -4
- package/dist/_chunks/{optical-prescription-DBvebioV.js → optical-prescription-Do6e3wfs.js} +5 -5
- package/dist/_chunks/option-row-Dc7BrbK8.js +37 -0
- package/dist/_chunks/{otp-input-BedEqmIV.js → otp-input-CGMu30_e.js} +2 -2
- package/dist/_chunks/{pagination-CzEkpfti.js → pagination-BR1_GfD_.js} +2 -2
- package/dist/_chunks/{panel-subview-D8HGXaUa.js → panel-subview-BT-Apwgb.js} +3 -3
- package/dist/_chunks/{parse-DeDYl04y.js → parse-jZ-i8Xgj.js} +2 -2
- package/dist/_chunks/{password-input-6Yl6x1IO.js → password-input-BokZ_rnT.js} +162 -140
- package/dist/_chunks/{patient-details-D7QlsGK1.js → patient-details-DsTtjpuX.js} +6 -6
- package/dist/_chunks/{patient-field-row-Dr-ndtG8.js → patient-field-row-BvZ9luz-.js} +212 -211
- package/dist/_chunks/{patient-search-Dm3w0jWw.js → patient-search-D5xlXmd2.js} +5 -5
- package/dist/_chunks/{patient-summary-card-A3WhxFwp.js → patient-summary-card-9nQWTQf6.js} +12 -8
- package/dist/_chunks/{payment-automation-upsell-DNiraNhF.js → payment-automation-upsell-DiHovmUL.js} +5 -5
- package/dist/_chunks/{payment-form-B08gHZIY.js → payment-form-v6zZuV1_.js} +60 -56
- package/dist/_chunks/{payment-request-card-CR7SjsRs.js → payment-request-card-CwDpwXUC.js} +5 -5
- package/dist/_chunks/{pdf-viewer-zv7pkUPA.js → pdf-viewer-C3minW5b.js} +5 -5
- package/dist/_chunks/periodontal-chart-DD5C0M3l.js +1413 -0
- package/dist/_chunks/{periodontal-chart-card-Djr3en8Q.js → periodontal-chart-card-CxdXvsPU.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-DmVIqXtC.js → periodontal-diagnosis-D-PJv7KS.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-C1Y5f-md.js → periodontal-risk-chart-D3DjIymT.js} +2 -2
- package/dist/_chunks/{phone-input-BzeUr49H.js → phone-input-DxkHMYmu.js} +139 -139
- package/dist/_chunks/{popover-9_v-7fJc.js → popover-BI3oV3eY.js} +2 -2
- package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- package/dist/_chunks/{postal-code-input-lCk8me6K.js → postal-code-input-CfZOnIkW.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Bc3AyBiM.js → practice-profile-hero-C8RPACCi.js} +3 -3
- package/dist/_chunks/{practice-results-D3liWOz1.js → practice-results-Dhbo-fc_.js} +9 -9
- package/dist/_chunks/{pregnancy-dating-BEmsMys4.js → pregnancy-dating-Bfu0Cq4H.js} +11 -11
- package/dist/_chunks/{pregnancy-weight-gain-DMVPvM3a.js → pregnancy-weight-gain-CUUrBTBo.js} +6 -6
- package/dist/_chunks/{privacy-lock-KDPKiTpH.js → privacy-lock-WkUgwIj_.js} +4 -4
- package/dist/_chunks/{privacy-mask-H8yYwgIb.js → privacy-mask-ChIjELJC.js} +3 -3
- package/dist/_chunks/{product-hub-panel-M5X3TYzq.js → product-hub-panel-BSSiGGG4.js} +49 -49
- package/dist/_chunks/{progress-TIAsNHQW.js → progress-D_g_Sl2g.js} +3 -5
- package/dist/_chunks/{province-select-DtF2ukoC.js → province-select-Bd20Z9Br.js} +2 -2
- package/dist/_chunks/{public-footer-Bfs81Qzp.js → public-footer-CxpG6J1M.js} +93 -90
- package/dist/_chunks/{public-header.agent-CrXkGtTF.js → public-header.agent-pr2hyiND.js} +3 -3
- package/dist/_chunks/{qr-code-Ofx7ryyu.js → qr-code-DHEma21c.js} +47 -48
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/{radiograph-panel.agent-rS3Tegx6.js → radiograph-panel.agent-DkUokbEa.js} +9 -9
- package/dist/_chunks/registration-form-D7iNqMBF.js +819 -0
- package/dist/_chunks/{reviews-panel-CyxZ0VmZ.js → reviews-panel-CDcK6W3b.js} +6 -6
- package/dist/_chunks/{rich-text-editor-DmnWavgl.js → rich-text-editor-CkFfmA3v.js} +791 -799
- package/dist/_chunks/{scroll-area-BZOvUhwQ.js → scroll-area-ZtFCv9K7.js} +56 -46
- package/dist/_chunks/{search-bar-ORcfuK9A.js → search-bar-DQJS0wJN.js} +209 -199
- package/dist/_chunks/search-input-BAlDd05M.js +246 -0
- package/dist/_chunks/{section-card-XR2bW1Ie.js → section-card-ChJdOlBU.js} +2 -2
- package/dist/_chunks/{select-DHPmASkG.js → select-Ce5RMk93.js} +274 -236
- package/dist/_chunks/{session-countdown-DWUVDDox.js → session-countdown-CBINYw8H.js} +3 -3
- package/dist/_chunks/{sheet-BTgxkDJS.js → sheet-C7SwIxwB.js} +95 -79
- package/dist/_chunks/{sidebar-2GBc0ZUa.js → sidebar-DLsG2AIk.js} +123 -124
- package/dist/_chunks/{sign-document-B_3U-S6g.js → sign-document-B6HlyCGV.js} +22 -22
- package/dist/_chunks/{sign-in-with-alfadocs-button-DFmgQuDo.js → sign-in-with-alfadocs-button-D91_x8DX.js} +4 -4
- package/dist/_chunks/{signature-capture-F6KViBF_.js → signature-capture-Chqh62Pc.js} +19 -20
- package/dist/_chunks/{signature-field-DLDznGnB.js → signature-field-Y01UB5DA.js} +2 -2
- package/dist/_chunks/{signature-request-BdolmJk4.js → signature-request-DhbpB9N9.js} +9 -9
- package/dist/_chunks/{signed-out-frame-dz1rLJ65.js → signed-out-frame-B2GTIeqA.js} +51 -51
- package/dist/_chunks/sliders-horizontal-D-F97cnE.js +22 -0
- package/dist/_chunks/{slot-grid-kCDoV3k4.js → slot-grid-sVZriOiQ.js} +4 -4
- package/dist/_chunks/{social-sign-in-button-BMGNlUWs.js → social-sign-in-button-yUqwhnPZ.js} +2 -2
- package/dist/_chunks/{spinner-a0FTYX9Q.js → spinner-CoflYlEx.js} +2 -2
- package/dist/_chunks/{stat-Ce9ymEKm.js → stat-DmjGfXND.js} +116 -108
- package/dist/_chunks/state-backed-text-input-DECQy5aA.js +12 -0
- package/dist/_chunks/{stepper-accordion-BPNS6J6B.js → stepper-accordion-DDTSOUHc.js} +63 -52
- package/dist/_chunks/{streaming-text-BAPn_sZs.js → streaming-text-BKZmbW1Q.js} +31 -32
- package/dist/_chunks/subDays-DlMw8Xng.js +8 -0
- package/dist/_chunks/{tab-bar-DRKiomgj.js → tab-bar-Bm-rJB7Y.js} +7 -8
- package/dist/_chunks/{tabs-yIY-RySP.js → tabs-I2wf_nC7.js} +3 -3
- package/dist/_chunks/{task-card-C02Km4Gb.js → task-card-BMXMh3uE.js} +9 -9
- package/dist/_chunks/{task-editor-i-juLk76.js → task-editor-ByyRu29Y.js} +157 -159
- package/dist/_chunks/{task-tray-By6DPwbT.js → task-tray-DsBO-AaP.js} +31 -31
- package/dist/_chunks/{tasks-panel-BkN9sROF.js → tasks-panel-CdgZQQgG.js} +130 -131
- package/dist/_chunks/{text-area-CDuItrvL.js → text-area-COMVJ1yE.js} +106 -96
- package/dist/_chunks/text-input-CaG9ApoE.js +333 -0
- package/dist/_chunks/{theme-toggle-BAHz3itd.js → theme-toggle-PpFcFoYK.js} +4 -4
- package/dist/_chunks/time-picker-DVfyAR81.js +871 -0
- package/dist/_chunks/{timeline-CVLjybJ3.js → timeline-DG8wAlAx.js} +3 -3
- package/dist/_chunks/{toast-UMUvXFsA.js → toast-CPqguP7G.js} +2 -2
- package/dist/_chunks/{token-insert-menu-DgtBIbNu.js → token-insert-menu-B-pWFDKX.js} +3 -3
- package/dist/_chunks/{tool-rail-CwXN-sDC.js → tool-rail-Bwyuw_Ot.js} +113 -110
- package/dist/_chunks/{tooth-scheme-BAMhwCZe.js → tooth-scheme-BAO_voUO.js} +97 -97
- package/dist/_chunks/{transcript-panel-jOCW4Ycl.js → transcript-panel-CjsiDB1K.js} +4 -4
- package/dist/_chunks/{treatment-receipt-DF2Slh-x.js → treatment-receipt-BSVOfStA.js} +2 -2
- package/dist/_chunks/{typing-indicator-BmwMQSxw.js → typing-indicator-B1RkE8jD.js} +16 -15
- package/dist/_chunks/{unit-converter-Bvhj9r3m.js → unit-converter-DS4UB_59.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-B6dBBgDa.js → use-appointment-details-read-JsDM48tf.js} +214 -214
- package/dist/_chunks/use-dom-value-DTxHhQAN.js +16 -0
- package/dist/_chunks/{use-prism-DaspP8w-.js → use-prism-DBOiELx7.js} +9 -9
- package/dist/_chunks/use-registration-submit-eWAECgUC.js +171 -0
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +59 -0
- package/dist/_chunks/voice-control-panel-Bg1eklL0.js +1009 -0
- package/dist/_chunks/{wallet-pay-button-Dew8Pmgq.js → wallet-pay-button-DFP5FW0D.js} +2 -2
- package/dist/_chunks/{warning-stack-B_v_qMBI.js → warning-stack-ubD0IZCy.js} +25 -25
- package/dist/_chunks/{widget-picker-Ck8HTsil.js → widget-picker-DXYBMTfe.js} +39 -39
- package/dist/_chunks/{workflow-map-PzamnfJK.js → workflow-map-Demlpy39.js} +8 -8
- package/dist/_chunks/{workflow-status-DDnsIrLt.js → workflow-status-BT27_fQp.js} +3 -3
- package/dist/agent-catalog.json +610 -23
- package/dist/agent-i18n/en.json +59 -17
- package/dist/components/_shared/ai-fab-pill.d.ts +18 -0
- package/dist/components/_shared/floating-clearance.d.ts +12 -0
- package/dist/components/_shared/glass-surface.d.ts +22 -0
- package/dist/components/_shared/input-surface.d.ts +1 -1
- package/dist/components/_shared/intl-locale.d.ts +7 -0
- package/dist/components/_shared/non-modal-tab-exit.d.ts +8 -0
- package/dist/components/_shared/option-row.d.ts +30 -0
- package/dist/components/_shared/option.d.ts +2 -0
- package/dist/components/_shared/state-backed-text-input.d.ts +16 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-dom-value.d.ts +20 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
- package/dist/components/_shared/use-state-backed-input.d.ts +31 -0
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/address-fields.d.ts +4 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +34 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +10 -5
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/payment.d.ts +19 -0
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/chart.d.ts +10 -5
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +6 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts +3 -3
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +3 -3
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/email-input.d.ts +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/error-summary/error-summary.d.ts +50 -0
- package/dist/components/error-summary/index.d.ts +2 -0
- package/dist/components/error-summary/index.js +5 -0
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +9 -0
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/heatmap-context.d.ts +21 -0
- package/dist/components/heatmap/heatmap-format.d.ts +59 -0
- package/dist/components/heatmap/heatmap-grid.d.ts +66 -0
- package/dist/components/heatmap/heatmap-legend.d.ts +36 -0
- package/dist/components/heatmap/heatmap-model.d.ts +152 -0
- package/dist/components/heatmap/heatmap-scale.d.ts +125 -0
- package/dist/components/heatmap/heatmap-table-view.d.ts +35 -0
- package/dist/components/heatmap/heatmap-tooltip.d.ts +40 -0
- package/dist/components/heatmap/heatmap-variants.d.ts +87 -0
- package/dist/components/heatmap/heatmap-window.d.ts +54 -0
- package/dist/components/heatmap/heatmap.agent.d.ts +4 -0
- package/dist/components/heatmap/heatmap.d.ts +186 -0
- package/dist/components/heatmap/index.d.ts +8 -0
- package/dist/components/heatmap/index.js +8 -0
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/money/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/multi-select.d.ts +6 -0
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.d.ts +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart/periodontal-chart.d.ts +44 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/position-grid/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +5 -20
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +17 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +41 -0
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts +26 -5
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.d.ts +5 -0
- package/dist/components/voice-control-panel/index.js +6 -0
- package/dist/components/voice-control-panel/voice-control-panel.agent.d.ts +4 -0
- package/dist/components/voice-control-panel/voice-control-panel.d.ts +179 -0
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +2 -2
- package/dist/error-pages/400.ar.html +1 -1
- package/dist/error-pages/400.de.html +1 -1
- package/dist/error-pages/400.el.html +1 -1
- package/dist/error-pages/400.en.html +1 -1
- package/dist/error-pages/400.es.html +1 -1
- package/dist/error-pages/400.fr.html +1 -1
- package/dist/error-pages/400.hi.html +1 -1
- package/dist/error-pages/400.html +1 -1
- package/dist/error-pages/400.it.html +1 -1
- package/dist/error-pages/400.ja.html +1 -1
- package/dist/error-pages/400.nl.html +1 -1
- package/dist/error-pages/400.pl.html +1 -1
- package/dist/error-pages/400.pt.html +1 -1
- package/dist/error-pages/400.ro.html +1 -1
- package/dist/error-pages/400.ru.html +1 -1
- package/dist/error-pages/400.sq.html +1 -1
- package/dist/error-pages/400.sv.html +1 -1
- package/dist/error-pages/400.tr.html +1 -1
- package/dist/error-pages/400.zh.html +1 -1
- package/dist/error-pages/410.ar.html +1 -1
- package/dist/error-pages/410.de.html +1 -1
- package/dist/error-pages/410.el.html +1 -1
- package/dist/error-pages/410.en.html +1 -1
- package/dist/error-pages/410.es.html +1 -1
- package/dist/error-pages/410.fr.html +1 -1
- package/dist/error-pages/410.hi.html +1 -1
- package/dist/error-pages/410.html +1 -1
- package/dist/error-pages/410.it.html +1 -1
- package/dist/error-pages/410.ja.html +1 -1
- package/dist/error-pages/410.nl.html +1 -1
- package/dist/error-pages/410.pl.html +1 -1
- package/dist/error-pages/410.pt.html +1 -1
- package/dist/error-pages/410.ro.html +1 -1
- package/dist/error-pages/410.ru.html +1 -1
- package/dist/error-pages/410.sq.html +1 -1
- package/dist/error-pages/410.sv.html +1 -1
- package/dist/error-pages/410.tr.html +1 -1
- package/dist/error-pages/410.zh.html +1 -1
- package/dist/error-pages/419.ar.html +1 -1
- package/dist/error-pages/419.de.html +1 -1
- package/dist/error-pages/419.el.html +1 -1
- package/dist/error-pages/419.en.html +1 -1
- package/dist/error-pages/419.es.html +1 -1
- package/dist/error-pages/419.fr.html +1 -1
- package/dist/error-pages/419.hi.html +1 -1
- package/dist/error-pages/419.html +1 -1
- package/dist/error-pages/419.it.html +1 -1
- package/dist/error-pages/419.ja.html +1 -1
- package/dist/error-pages/419.nl.html +1 -1
- package/dist/error-pages/419.pl.html +1 -1
- package/dist/error-pages/419.pt.html +1 -1
- package/dist/error-pages/419.ro.html +1 -1
- package/dist/error-pages/419.ru.html +1 -1
- package/dist/error-pages/419.sq.html +1 -1
- package/dist/error-pages/419.sv.html +1 -1
- package/dist/error-pages/419.tr.html +1 -1
- package/dist/error-pages/419.zh.html +1 -1
- package/dist/error-pages/429.ar.html +1 -1
- package/dist/error-pages/429.de.html +1 -1
- package/dist/error-pages/429.el.html +1 -1
- package/dist/error-pages/429.en.html +1 -1
- package/dist/error-pages/429.es.html +1 -1
- package/dist/error-pages/429.fr.html +1 -1
- package/dist/error-pages/429.hi.html +1 -1
- package/dist/error-pages/429.html +1 -1
- package/dist/error-pages/429.it.html +1 -1
- package/dist/error-pages/429.ja.html +1 -1
- package/dist/error-pages/429.nl.html +1 -1
- package/dist/error-pages/429.pl.html +1 -1
- package/dist/error-pages/429.pt.html +1 -1
- package/dist/error-pages/429.ro.html +1 -1
- package/dist/error-pages/429.ru.html +1 -1
- package/dist/error-pages/429.sq.html +1 -1
- package/dist/error-pages/429.sv.html +1 -1
- package/dist/error-pages/429.tr.html +1 -1
- package/dist/error-pages/429.zh.html +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/host-compat.css +9 -2
- package/dist/host-legacy.css +97 -0
- package/dist/i18n/locales/ar.d.ts +120 -3
- package/dist/i18n/locales/ar.js +123 -6
- package/dist/i18n/locales/de.d.ts +120 -3
- package/dist/i18n/locales/de.js +123 -6
- package/dist/i18n/locales/el.d.ts +120 -3
- package/dist/i18n/locales/el.js +123 -6
- package/dist/i18n/locales/en.d.ts +120 -3
- package/dist/i18n/locales/en.js +123 -6
- package/dist/i18n/locales/es.d.ts +120 -3
- package/dist/i18n/locales/es.js +123 -6
- package/dist/i18n/locales/fr.d.ts +120 -3
- package/dist/i18n/locales/fr.js +123 -6
- package/dist/i18n/locales/hi.d.ts +120 -3
- package/dist/i18n/locales/hi.js +123 -6
- package/dist/i18n/locales/it.d.ts +120 -3
- package/dist/i18n/locales/it.js +123 -6
- package/dist/i18n/locales/ja.d.ts +120 -3
- package/dist/i18n/locales/ja.js +123 -6
- package/dist/i18n/locales/nl.d.ts +120 -3
- package/dist/i18n/locales/nl.js +123 -6
- package/dist/i18n/locales/pl.d.ts +120 -3
- package/dist/i18n/locales/pl.js +123 -6
- package/dist/i18n/locales/pt.d.ts +120 -3
- package/dist/i18n/locales/pt.js +123 -6
- package/dist/i18n/locales/ro.d.ts +120 -3
- package/dist/i18n/locales/ro.js +123 -6
- package/dist/i18n/locales/ru.d.ts +120 -3
- package/dist/i18n/locales/ru.js +123 -6
- package/dist/i18n/locales/sq.d.ts +120 -3
- package/dist/i18n/locales/sq.js +123 -6
- package/dist/i18n/locales/sv.d.ts +120 -3
- package/dist/i18n/locales/sv.js +123 -6
- package/dist/i18n/locales/tr.d.ts +120 -3
- package/dist/i18n/locales/tr.js +123 -6
- package/dist/i18n/locales/zh.d.ts +120 -3
- package/dist/i18n/locales/zh.js +123 -6
- package/dist/index.js +766 -756
- package/dist/locales/ar.json +123 -6
- package/dist/locales/de.json +123 -6
- package/dist/locales/el.json +123 -6
- package/dist/locales/en.json +123 -6
- package/dist/locales/es.json +123 -6
- package/dist/locales/fr.json +123 -6
- package/dist/locales/hi.json +123 -6
- package/dist/locales/it.json +123 -6
- package/dist/locales/ja.json +123 -6
- package/dist/locales/nl.json +123 -6
- package/dist/locales/pl.json +123 -6
- package/dist/locales/pt.json +123 -6
- package/dist/locales/ro.json +123 -6
- package/dist/locales/ru.json +123 -6
- package/dist/locales/sq.json +123 -6
- package/dist/locales/sv.json +123 -6
- package/dist/locales/tr.json +123 -6
- package/dist/locales/zh.json +123 -6
- package/dist/patterns/_shared/auth-form-parts.d.ts +4 -0
- package/dist/patterns/_shared/use-error-summary.d.ts +34 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page.d.ts +29 -5
- package/dist/patterns/error-page/index.js +2 -2
- package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +3 -2
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/login-form/login-form.d.ts +5 -4
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/registration-form/registration-form.d.ts +3 -2
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +22 -14
- package/package.json +19 -2
- package/dist/_chunks/address-fields-BaClzQLM.js +0 -292
- package/dist/_chunks/chart-C134Ibwm.js +0 -705
- package/dist/_chunks/city-input-BL5WsGJ3.js +0 -170
- package/dist/_chunks/dashboard-grid--rkojX6m.js +0 -691
- package/dist/_chunks/editor-overlay-CWV0chPV.js +0 -93
- package/dist/_chunks/error-page-C15GfNEj.js +0 -312
- package/dist/_chunks/forgot-password-form-Duu3pZDU.js +0 -203
- package/dist/_chunks/format-price-DAbh61Lz.js +0 -51
- package/dist/_chunks/intl-locale-CXM-B8EP.js +0 -16
- package/dist/_chunks/login-dev-card-DletSsX3.js +0 -275
- package/dist/_chunks/multi-select-CVb6PJOK.js +0 -638
- package/dist/_chunks/periodontal-chart-5nLsSuRM.js +0 -1305
- package/dist/_chunks/registration-form-Lz9iKrKo.js +0 -759
- package/dist/_chunks/search-input-6SoR2Rf4.js +0 -237
- package/dist/_chunks/subDays-XBMBTVOO.js +0 -8
- package/dist/_chunks/text-input-rzLEKhRU.js +0 -331
- package/dist/_chunks/time-picker-DKKmpFh3.js +0 -425
- package/dist/_chunks/use-registration-submit-DxCWic5_.js +0 -141
|
@@ -1,691 +0,0 @@
|
|
|
1
|
-
import { jsxs as _, jsx as w } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Te, useRef as S, useMemo as L, useState as O, useCallback as D, useEffect as X, useImperativeHandle as We, useContext as $e, Children as Ie, isValidElement as Ae, Fragment as je, createContext as Fe } from "react";
|
|
3
|
-
import { c as Ge } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as ke } from "react-i18next";
|
|
5
|
-
import { I as re } from "./icon-button-mKIvw90h.js";
|
|
6
|
-
import { u as U } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
7
|
-
import { u as Ke } from "./registry-DvAUVLHh.js";
|
|
8
|
-
import { P as _e } from "./plus-DzMQ_c6b.js";
|
|
9
|
-
import { G as Ve } from "./grip-vertical-onSb1JXO.js";
|
|
10
|
-
import { X as Be } from "./x-B5YnXwCz.js";
|
|
11
|
-
import { c as He } from "./createLucideIcon-DhHxpK9K.js";
|
|
12
|
-
/**
|
|
13
|
-
* @license lucide-react v1.22.0 - ISC
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the ISC license.
|
|
16
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
18
|
-
const Ye = [
|
|
19
|
-
["path", { d: "M19 13v6h-6", key: "1hxl6d" }],
|
|
20
|
-
["path", { d: "M5 11V5h6", key: "12e2xe" }],
|
|
21
|
-
["path", { d: "m5 5 14 14", key: "11anup" }]
|
|
22
|
-
], qe = He("move-diagonal-2", Ye), Oe = {
|
|
23
|
-
id: "dashboard-grid",
|
|
24
|
-
// The board's whole purpose is in-place rearrangement of its widgets.
|
|
25
|
-
capabilities: ["edit_inline"],
|
|
26
|
-
state: {
|
|
27
|
-
layout: {
|
|
28
|
-
type: "{ id: string, x: number, y: number, w: number, h: number }[]",
|
|
29
|
-
descriptionKey: "ui.agent.dashboardGrid.state.layout",
|
|
30
|
-
description: "Current widget geometry in cell units — ids and rectangles only, no widget content.",
|
|
31
|
-
read: (t) => t.getGridState().layout
|
|
32
|
-
},
|
|
33
|
-
cols: {
|
|
34
|
-
type: "number",
|
|
35
|
-
descriptionKey: "ui.agent.dashboardGrid.state.cols",
|
|
36
|
-
description: "Logical column count of the board.",
|
|
37
|
-
read: (t) => t.getGridState().cols
|
|
38
|
-
},
|
|
39
|
-
editing: {
|
|
40
|
-
type: "boolean",
|
|
41
|
-
descriptionKey: "ui.agent.dashboardGrid.state.editing",
|
|
42
|
-
description: "Whether edit mode is on. Move/resize actions are refused while it is off — the host app owns the toggle.",
|
|
43
|
-
read: (t) => t.getGridState().editing
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
actions: {
|
|
47
|
-
move_widget: {
|
|
48
|
-
// Rearranging the board mutates user configuration — a write,
|
|
49
|
-
// reversible by moving back.
|
|
50
|
-
safety: "write",
|
|
51
|
-
argsType: "id, x, y",
|
|
52
|
-
argsSchema: {
|
|
53
|
-
type: "object",
|
|
54
|
-
properties: {
|
|
55
|
-
id: { type: "string", description: "Widget id (see layout state)." },
|
|
56
|
-
x: {
|
|
57
|
-
type: "integer",
|
|
58
|
-
minimum: 0,
|
|
59
|
-
description: "0-based logical column."
|
|
60
|
-
},
|
|
61
|
-
y: { type: "integer", minimum: 0, description: "0-based row." }
|
|
62
|
-
},
|
|
63
|
-
required: ["id", "x", "y"]
|
|
64
|
-
},
|
|
65
|
-
returns: "boolean (accepted)",
|
|
66
|
-
returnsSchema: {
|
|
67
|
-
type: "boolean",
|
|
68
|
-
description: "True when applied; false when edit mode is off or the id is unknown."
|
|
69
|
-
},
|
|
70
|
-
idempotent: !0,
|
|
71
|
-
descriptionKey: "ui.agent.dashboardGrid.actions.moveWidget",
|
|
72
|
-
description: "Move a widget to a cell. Out-of-bounds targets are clamped; colliding widgets are pushed down and the layout re-compacts. Refused while edit mode is off.",
|
|
73
|
-
invoke: (t, s) => t.moveWidgetTo(s.id, s.x, s.y)
|
|
74
|
-
},
|
|
75
|
-
resize_widget: {
|
|
76
|
-
safety: "write",
|
|
77
|
-
argsType: "id, w, h",
|
|
78
|
-
argsSchema: {
|
|
79
|
-
type: "object",
|
|
80
|
-
properties: {
|
|
81
|
-
id: { type: "string", description: "Widget id (see layout state)." },
|
|
82
|
-
w: {
|
|
83
|
-
type: "integer",
|
|
84
|
-
minimum: 1,
|
|
85
|
-
description: "Column span (≥ 1)."
|
|
86
|
-
},
|
|
87
|
-
h: { type: "integer", minimum: 1, description: "Row span (≥ 1)." }
|
|
88
|
-
},
|
|
89
|
-
required: ["id", "w", "h"]
|
|
90
|
-
},
|
|
91
|
-
returns: "boolean (accepted)",
|
|
92
|
-
returnsSchema: {
|
|
93
|
-
type: "boolean",
|
|
94
|
-
description: "True when applied; false when edit mode is off or the id is unknown."
|
|
95
|
-
},
|
|
96
|
-
idempotent: !0,
|
|
97
|
-
descriptionKey: "ui.agent.dashboardGrid.actions.resizeWidget",
|
|
98
|
-
description: "Resize a widget to a span. Clamped to the grid and the widget’s min/max; colliding widgets are pushed down. Refused while edit mode is off.",
|
|
99
|
-
invoke: (t, s) => t.resizeWidgetTo(s.id, s.w, s.h)
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
domHooks: {
|
|
103
|
-
root: { attr: "data-component", value: "dashboard-grid" },
|
|
104
|
-
instanceId: {
|
|
105
|
-
attr: "data-component-id",
|
|
106
|
-
sourceProp: "id",
|
|
107
|
-
description: "Sourced from the id prop."
|
|
108
|
-
},
|
|
109
|
-
item: {
|
|
110
|
-
attr: "data-widget-id",
|
|
111
|
-
description: "Each widget wrapper carries its layout id."
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
function A(t, s) {
|
|
116
|
-
return t.x < s.x + s.w && s.x < t.x + t.w && t.y < s.y + s.h && s.y < t.y + t.h;
|
|
117
|
-
}
|
|
118
|
-
function J(t, s) {
|
|
119
|
-
const n = Math.max(1, t.minW ?? 1), g = Math.max(1, t.minH ?? 1), f = Math.min(s, t.maxW ?? s), c = t.maxH ?? Number.POSITIVE_INFINITY, l = Math.min(Math.max(t.w, n), f), a = Math.min(Math.max(t.h, g), c), i = Math.min(Math.max(0, t.x), s - l), m = Math.max(0, t.y);
|
|
120
|
-
return { ...t, x: i, y: m, w: l, h: a };
|
|
121
|
-
}
|
|
122
|
-
function T(t, s, n) {
|
|
123
|
-
const g = t.map((i) => J(i, s)), f = [...g].sort((i, m) => i.id === n ? -1 : m.id === n ? 1 : i.y - m.y || i.x - m.x), c = [], l = n ? g.find((i) => i.id === n) : void 0;
|
|
124
|
-
for (const i of f) {
|
|
125
|
-
if (i.id !== n) {
|
|
126
|
-
if (l && A(l, i)) {
|
|
127
|
-
const m = { ...i, y: Math.max(0, l.y - i.h) };
|
|
128
|
-
!A(l, m) && !c.some((y) => y.id !== n && A(y, m)) && (i.y = m.y);
|
|
129
|
-
}
|
|
130
|
-
for (; c.some((m) => A(m, i)); )
|
|
131
|
-
i.y += 1;
|
|
132
|
-
for (; i.y > 0; ) {
|
|
133
|
-
const m = { ...i, y: i.y - 1 };
|
|
134
|
-
if (c.some((y) => A(y, m))) break;
|
|
135
|
-
i.y -= 1;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
c.push(i);
|
|
139
|
-
}
|
|
140
|
-
const a = new Map(c.map((i) => [i.id, i]));
|
|
141
|
-
return t.map((i) => a.get(i.id));
|
|
142
|
-
}
|
|
143
|
-
function te(t, s, n, g, f) {
|
|
144
|
-
const c = t.map(
|
|
145
|
-
(l) => l.id === s ? J({ ...l, x: n, y: g }, f) : l
|
|
146
|
-
);
|
|
147
|
-
return T(c, f, s);
|
|
148
|
-
}
|
|
149
|
-
function ne(t, s, n, g, f) {
|
|
150
|
-
const c = t.map(
|
|
151
|
-
(l) => l.id === s ? (
|
|
152
|
-
// Resizing never moves the widget: the width clamps to the space
|
|
153
|
-
// between its position and the grid edge (clampRect would slide it).
|
|
154
|
-
// minW wins over the edge clamp so clampRect cannot re-raise w and
|
|
155
|
-
// slide x as a side effect.
|
|
156
|
-
J(
|
|
157
|
-
{
|
|
158
|
-
...l,
|
|
159
|
-
w: Math.max(l.minW ?? 1, Math.min(n, f - l.x)),
|
|
160
|
-
h: g
|
|
161
|
-
},
|
|
162
|
-
f
|
|
163
|
-
)
|
|
164
|
-
) : l
|
|
165
|
-
);
|
|
166
|
-
return T(c, f, s);
|
|
167
|
-
}
|
|
168
|
-
function xe(t, s, n, g) {
|
|
169
|
-
const f = Math.min(Math.max(1, n), s), c = t.reduce((l, a) => Math.max(l, a.y + a.h), 0);
|
|
170
|
-
for (let l = 0; l <= c; l += 1)
|
|
171
|
-
for (let a = 0; a <= s - f; a += 1) {
|
|
172
|
-
const i = {
|
|
173
|
-
x: a,
|
|
174
|
-
y: l,
|
|
175
|
-
w: f,
|
|
176
|
-
h: g
|
|
177
|
-
};
|
|
178
|
-
if (!t.some((m) => A(m, i)))
|
|
179
|
-
return { x: a, y: l };
|
|
180
|
-
}
|
|
181
|
-
return { x: 0, y: c };
|
|
182
|
-
}
|
|
183
|
-
function Xe(t) {
|
|
184
|
-
return t.reduce((s, n) => Math.max(s, n.y + n.h), 0);
|
|
185
|
-
}
|
|
186
|
-
const Ue = Ge(
|
|
187
|
-
[
|
|
188
|
-
"ds:grid ds:w-full",
|
|
189
|
-
"ds:gap-[var(--spacing-md)]",
|
|
190
|
-
"ds:[grid-template-columns:repeat(var(--dg-cols),minmax(0,1fr))]",
|
|
191
|
-
"ds:[grid-auto-rows:var(--dg-row)]",
|
|
192
|
-
// Edit-mode surface: tint the whole plane, draw faint cell lines, and
|
|
193
|
-
// reserve spare rows (--dg-min-block) so the AVAILABLE space reads at
|
|
194
|
-
// a glance instead of the board ending at the last occupied row.
|
|
195
|
-
"ds:data-[editing=true]:rounded-[var(--radius-lg)] ds:data-[editing=true]:bg-muted/10",
|
|
196
|
-
"ds:data-[editing=true]:[background-image:var(--dg-grid-lines)]",
|
|
197
|
-
"ds:data-[editing=true]:min-h-[var(--dg-min-block)]"
|
|
198
|
-
].join(" "),
|
|
199
|
-
{ variants: {}, defaultVariants: {} }
|
|
200
|
-
), Je = Ge(
|
|
201
|
-
[
|
|
202
|
-
"ds:relative ds:flex ds:min-h-0 ds:min-w-0 ds:flex-col ds:overflow-hidden",
|
|
203
|
-
// Mirror of Card variant="elevated" so widgets read as kit cards.
|
|
204
|
-
"ds:rounded-[var(--radius-lg)] ds:bg-[var(--card)] ds:text-[var(--card-foreground)]",
|
|
205
|
-
"ds:border ds:border-[color:var(--card-border)] ds:shadow-[var(--shadow-card)] ds:[.theme-accessible_&]:border-2",
|
|
206
|
-
"ds:[grid-column-start:var(--dg-x)] ds:[grid-column-end:span_var(--dg-w)]",
|
|
207
|
-
"ds:[grid-row-start:var(--dg-y)] ds:[grid-row-end:span_var(--dg-h)]",
|
|
208
|
-
// Grabbed feedback (keyboard or pointer drag in flight).
|
|
209
|
-
"ds:data-[grabbed=true]:ring-[length:var(--focus-ring-width)] ds:data-[grabbed=true]:ring-ring ds:data-[grabbed=true]:z-10"
|
|
210
|
-
].join(" "),
|
|
211
|
-
{ variants: {}, defaultVariants: {} }
|
|
212
|
-
), Me = Fe(
|
|
213
|
-
null
|
|
214
|
-
);
|
|
215
|
-
function oe(t, s) {
|
|
216
|
-
Ie.forEach(t, (n) => {
|
|
217
|
-
if (Ae(n)) {
|
|
218
|
-
if (n.type === je) {
|
|
219
|
-
oe(
|
|
220
|
-
n.props.children,
|
|
221
|
-
s
|
|
222
|
-
);
|
|
223
|
-
return;
|
|
224
|
-
}
|
|
225
|
-
s(n);
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
function Se({
|
|
230
|
-
id: t,
|
|
231
|
-
title: s,
|
|
232
|
-
actionsSlot: n,
|
|
233
|
-
children: g
|
|
234
|
-
}) {
|
|
235
|
-
var y, V, B;
|
|
236
|
-
const { t: f } = ke("ui"), c = $e(Me), l = S(null), a = c == null ? void 0 : c.layoutById.get(t);
|
|
237
|
-
if (U(() => {
|
|
238
|
-
const p = l.current;
|
|
239
|
-
!p || !a || (p.style.setProperty("--dg-x", String(a.x + 1)), p.style.setProperty("--dg-y", String(a.y + 1)), p.style.setProperty("--dg-w", String(a.w)), p.style.setProperty("--dg-h", String(a.h)));
|
|
240
|
-
}, [a == null ? void 0 : a.x, a == null ? void 0 : a.y, a == null ? void 0 : a.w, a == null ? void 0 : a.h, a]), !c || !a) return null;
|
|
241
|
-
const i = ((y = c.grab) == null ? void 0 : y.id) === t, m = c.editing;
|
|
242
|
-
return /* @__PURE__ */ _(
|
|
243
|
-
"div",
|
|
244
|
-
{
|
|
245
|
-
ref: l,
|
|
246
|
-
role: "listitem",
|
|
247
|
-
"aria-label": s,
|
|
248
|
-
"data-component": "dashboard-grid-widget",
|
|
249
|
-
"data-widget-id": t,
|
|
250
|
-
"data-grabbed": i || void 0,
|
|
251
|
-
className: Je(),
|
|
252
|
-
children: [
|
|
253
|
-
/* @__PURE__ */ _("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)]", children: [
|
|
254
|
-
m ? /* @__PURE__ */ w(
|
|
255
|
-
re,
|
|
256
|
-
{
|
|
257
|
-
size: "sm",
|
|
258
|
-
intent: "outline",
|
|
259
|
-
type: "button",
|
|
260
|
-
icon: /* @__PURE__ */ w(Ve, {}),
|
|
261
|
-
"aria-label": f("dashboardGrid.move", { title: s }),
|
|
262
|
-
"aria-pressed": i && ((V = c.grab) == null ? void 0 : V.kind) === "move",
|
|
263
|
-
className: "ds:cursor-grab ds:touch-none ds:bg-[var(--card)]",
|
|
264
|
-
onPointerDown: (p) => c.startPointerGrab("move", t, p),
|
|
265
|
-
onKeyDown: (p) => c.keyboardStep(p, t),
|
|
266
|
-
onClick: () => c.startKeyboardGrab("move", t)
|
|
267
|
-
}
|
|
268
|
-
) : null,
|
|
269
|
-
/* @__PURE__ */ w("span", { className: "ds:min-w-0 ds:flex-1 ds:truncate ds:text-sm ds:font-medium", children: s }),
|
|
270
|
-
n,
|
|
271
|
-
m && c.canRemove ? /* @__PURE__ */ w(
|
|
272
|
-
re,
|
|
273
|
-
{
|
|
274
|
-
size: "sm",
|
|
275
|
-
intent: "outline",
|
|
276
|
-
type: "button",
|
|
277
|
-
icon: /* @__PURE__ */ w(Be, {}),
|
|
278
|
-
className: "ds:bg-[var(--card)]",
|
|
279
|
-
"aria-label": f("dashboardGrid.remove", { title: s }),
|
|
280
|
-
onClick: () => c.requestRemove(t)
|
|
281
|
-
}
|
|
282
|
-
) : null
|
|
283
|
-
] }),
|
|
284
|
-
/* @__PURE__ */ w("div", { className: "ds:min-h-0 ds:flex-1 ds:overflow-hidden ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)] ds:pt-[var(--spacing-xs)]", children: g }),
|
|
285
|
-
m ? /* @__PURE__ */ w("span", { className: "ds:absolute ds:bottom-[var(--spacing-sm)] ds:end-[var(--spacing-sm)]", children: /* @__PURE__ */ w(
|
|
286
|
-
re,
|
|
287
|
-
{
|
|
288
|
-
size: "sm",
|
|
289
|
-
intent: "outline",
|
|
290
|
-
type: "button",
|
|
291
|
-
icon: /* @__PURE__ */ w(qe, {}),
|
|
292
|
-
flipIconInRtl: !0,
|
|
293
|
-
"aria-label": f("dashboardGrid.resize", { title: s }),
|
|
294
|
-
"aria-pressed": i && ((B = c.grab) == null ? void 0 : B.kind) === "resize",
|
|
295
|
-
className: "ds:touch-none ds:bg-[var(--card)]",
|
|
296
|
-
onPointerDown: (p) => c.startPointerGrab("resize", t, p),
|
|
297
|
-
onKeyDown: (p) => c.keyboardStep(p, t),
|
|
298
|
-
onClick: () => c.startKeyboardGrab("resize", t)
|
|
299
|
-
}
|
|
300
|
-
) }) : null
|
|
301
|
-
]
|
|
302
|
-
}
|
|
303
|
-
);
|
|
304
|
-
}
|
|
305
|
-
Se.displayName = "DashboardGrid.Widget";
|
|
306
|
-
const Ne = Te(
|
|
307
|
-
({
|
|
308
|
-
"aria-label": t,
|
|
309
|
-
id: s,
|
|
310
|
-
cols: n = 12,
|
|
311
|
-
rowHeight: g = 96,
|
|
312
|
-
layout: f,
|
|
313
|
-
defaultLayout: c,
|
|
314
|
-
onLayoutChange: l,
|
|
315
|
-
editing: a = !1,
|
|
316
|
-
onRemoveWidget: i,
|
|
317
|
-
onRequestAdd: m,
|
|
318
|
-
children: y,
|
|
319
|
-
className: V
|
|
320
|
-
}, B) => {
|
|
321
|
-
const { t: p } = ke("ui"), N = S(null), ae = L(() => {
|
|
322
|
-
const e = [];
|
|
323
|
-
return oe(y, (r) => {
|
|
324
|
-
r.props.id && e.push(r.props.id);
|
|
325
|
-
}), e;
|
|
326
|
-
}, [y]), se = L(() => {
|
|
327
|
-
const e = /* @__PURE__ */ new Map();
|
|
328
|
-
return oe(y, (r) => {
|
|
329
|
-
r.props.id && e.set(r.props.id, {
|
|
330
|
-
defaultW: r.props.defaultW ?? 4,
|
|
331
|
-
defaultH: r.props.defaultH ?? 2
|
|
332
|
-
});
|
|
333
|
-
}), e;
|
|
334
|
-
}, [y]), [Pe, De] = O(() => c ?? []), ie = f ?? Pe, P = D(
|
|
335
|
-
(e) => {
|
|
336
|
-
f === void 0 && De(e), l == null || l(e);
|
|
337
|
-
},
|
|
338
|
-
[f, l]
|
|
339
|
-
), { resolved: v, autoPlaced: de } = L(() => {
|
|
340
|
-
const e = ie.map((u) => J(u, n)), r = ae.filter(
|
|
341
|
-
(u) => !e.some((d) => d.id === u)
|
|
342
|
-
);
|
|
343
|
-
if (r.length === 0)
|
|
344
|
-
return { resolved: e, autoPlaced: !1 };
|
|
345
|
-
const o = [...e];
|
|
346
|
-
for (const u of r) {
|
|
347
|
-
const d = se.get(u) ?? { defaultW: 4, defaultH: 2 }, b = Math.min(d.defaultW, n), h = xe(o, n, b, d.defaultH);
|
|
348
|
-
o.push({ id: u, x: h.x, y: h.y, w: b, h: d.defaultH });
|
|
349
|
-
}
|
|
350
|
-
return { resolved: T(o, n), autoPlaced: !0 };
|
|
351
|
-
}, [ie, ae, se, n]), ce = S("");
|
|
352
|
-
X(() => {
|
|
353
|
-
if (!de) return;
|
|
354
|
-
const e = v.map(
|
|
355
|
-
(r) => `${r.id}:${r.x},${r.y},${r.w},${r.h}`
|
|
356
|
-
).join("|");
|
|
357
|
-
ce.current !== e && (ce.current = e, P(v));
|
|
358
|
-
}, [de, v, P]);
|
|
359
|
-
const [Re, Ce] = O(null), [k, ue] = O(null), [Ee, W] = O(""), Q = S(null), C = S(null), j = S(null), H = S(!1), F = S(n);
|
|
360
|
-
F.current = n;
|
|
361
|
-
const $ = S(v);
|
|
362
|
-
$.current = v;
|
|
363
|
-
const R = D((e) => {
|
|
364
|
-
Q.current = e, Ce(e);
|
|
365
|
-
}, []), Y = D(
|
|
366
|
-
(e, r, o) => {
|
|
367
|
-
const u = { kind: e, id: r, via: o };
|
|
368
|
-
C.current = { ...u, baseLayout: $.current }, ue(u), R($.current);
|
|
369
|
-
},
|
|
370
|
-
[R]
|
|
371
|
-
), K = Re ?? v, le = L(
|
|
372
|
-
() => new Map(K.map((e) => [e.id, e])),
|
|
373
|
-
[K]
|
|
374
|
-
), pe = D(
|
|
375
|
-
(e, r) => {
|
|
376
|
-
W(
|
|
377
|
-
e === "move" ? p("dashboardGrid.movedTo", { col: r.x + 1, row: r.y + 1 }) : p("dashboardGrid.resizedTo", { cols: r.w, rows: r.h })
|
|
378
|
-
);
|
|
379
|
-
},
|
|
380
|
-
[p]
|
|
381
|
-
), x = D(
|
|
382
|
-
(e) => {
|
|
383
|
-
const r = Q.current, o = C.current;
|
|
384
|
-
if (C.current = null, j.current = null, ue(null), R(null), !e || !r || !o) {
|
|
385
|
-
W(p("dashboardGrid.cancelled"));
|
|
386
|
-
return;
|
|
387
|
-
}
|
|
388
|
-
const u = T(r, F.current), d = (h) => h.map((G) => `${G.id}:${G.x},${G.y},${G.w},${G.h}`).join("|");
|
|
389
|
-
if (d(u) === d($.current)) {
|
|
390
|
-
W(p("dashboardGrid.cancelled"));
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
P(u);
|
|
394
|
-
const b = u.find((h) => h.id === o.id);
|
|
395
|
-
W(
|
|
396
|
-
b ? p("dashboardGrid.droppedAt", {
|
|
397
|
-
col: b.x + 1,
|
|
398
|
-
row: b.y + 1
|
|
399
|
-
}) : p("dashboardGrid.cancelled")
|
|
400
|
-
);
|
|
401
|
-
},
|
|
402
|
-
[R, P, p]
|
|
403
|
-
), me = D(
|
|
404
|
-
(e, r) => {
|
|
405
|
-
if (!a) return;
|
|
406
|
-
if (H.current) {
|
|
407
|
-
H.current = !1;
|
|
408
|
-
return;
|
|
409
|
-
}
|
|
410
|
-
const o = C.current;
|
|
411
|
-
if ((o == null ? void 0 : o.via) !== "pointer") {
|
|
412
|
-
if (o && o.id === r && o.kind === e) {
|
|
413
|
-
x(!0);
|
|
414
|
-
return;
|
|
415
|
-
}
|
|
416
|
-
Y(e, r, "keyboard"), W(
|
|
417
|
-
p(e === "move" ? "dashboardGrid.grabbed" : "dashboardGrid.resizeGrabbed")
|
|
418
|
-
);
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
[a, Y, x, p]
|
|
422
|
-
), fe = D(
|
|
423
|
-
(e, r) => {
|
|
424
|
-
const o = C.current;
|
|
425
|
-
if (!o || o.id !== r || o.via !== "keyboard")
|
|
426
|
-
return;
|
|
427
|
-
if (e.key === "Escape") {
|
|
428
|
-
e.preventDefault(), x(!1);
|
|
429
|
-
return;
|
|
430
|
-
}
|
|
431
|
-
if (!["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(e.key)) return;
|
|
432
|
-
e.preventDefault();
|
|
433
|
-
const d = typeof window < "u" && N.current ? window.getComputedStyle(N.current).direction === "rtl" : !1, b = e.key === "ArrowRight" ? d ? -1 : 1 : e.key === "ArrowLeft" ? d ? 1 : -1 : 0, h = e.key === "ArrowDown" ? 1 : e.key === "ArrowUp" ? -1 : 0, M = (Q.current ?? o.baseLayout).find((I) => I.id === r);
|
|
434
|
-
if (!M) return;
|
|
435
|
-
const E = o.kind === "move" ? te(
|
|
436
|
-
o.baseLayout,
|
|
437
|
-
r,
|
|
438
|
-
M.x + b,
|
|
439
|
-
M.y + h,
|
|
440
|
-
n
|
|
441
|
-
) : ne(
|
|
442
|
-
o.baseLayout,
|
|
443
|
-
r,
|
|
444
|
-
M.w + b,
|
|
445
|
-
M.h + h,
|
|
446
|
-
n
|
|
447
|
-
);
|
|
448
|
-
R(E);
|
|
449
|
-
const z = E.find((I) => I.id === r);
|
|
450
|
-
z && pe(o.kind, z);
|
|
451
|
-
},
|
|
452
|
-
[n, x, R, pe]
|
|
453
|
-
), ge = D(
|
|
454
|
-
(e, r, o) => {
|
|
455
|
-
var z, I, we, ve;
|
|
456
|
-
if (!a || C.current) return;
|
|
457
|
-
const u = N.current, d = $.current.find((Le) => Le.id === r);
|
|
458
|
-
if (!u || !d) return;
|
|
459
|
-
o.preventDefault(), (I = (z = o.currentTarget).focus) == null || I.call(z);
|
|
460
|
-
const b = u.getBoundingClientRect();
|
|
461
|
-
if (b.width <= 0) return;
|
|
462
|
-
const h = window.getComputedStyle(u), G = Number.parseFloat(h.columnGap) || 0, M = Number.parseFloat(h.rowGap) || 0, E = (b.width - G * (n - 1)) / n;
|
|
463
|
-
j.current = {
|
|
464
|
-
kind: e,
|
|
465
|
-
id: r,
|
|
466
|
-
pointerId: o.pointerId,
|
|
467
|
-
startClientX: o.clientX,
|
|
468
|
-
startClientY: o.clientY,
|
|
469
|
-
origin: d,
|
|
470
|
-
colStride: E + G,
|
|
471
|
-
rowStride: g + M,
|
|
472
|
-
isRtl: h.direction === "rtl"
|
|
473
|
-
};
|
|
474
|
-
try {
|
|
475
|
-
(ve = (we = o.currentTarget).setPointerCapture) == null || ve.call(we, o.pointerId);
|
|
476
|
-
} catch {
|
|
477
|
-
}
|
|
478
|
-
Y(e, r, "pointer");
|
|
479
|
-
},
|
|
480
|
-
[a, n, g, Y]
|
|
481
|
-
);
|
|
482
|
-
X(() => {
|
|
483
|
-
if (!k || k.via !== "pointer") return;
|
|
484
|
-
const e = (u) => {
|
|
485
|
-
const d = j.current, b = C.current;
|
|
486
|
-
if (!d || !b || u.pointerId !== d.pointerId)
|
|
487
|
-
return;
|
|
488
|
-
const h = u.clientX - d.startClientX, G = u.clientY - d.startClientY, M = Math.round(h / d.colStride) * (d.isRtl ? -1 : 1), E = Math.round(G / d.rowStride), z = d.kind === "move" ? te(
|
|
489
|
-
b.baseLayout,
|
|
490
|
-
d.id,
|
|
491
|
-
d.origin.x + M,
|
|
492
|
-
d.origin.y + E,
|
|
493
|
-
F.current
|
|
494
|
-
) : ne(
|
|
495
|
-
b.baseLayout,
|
|
496
|
-
d.id,
|
|
497
|
-
d.origin.w + M,
|
|
498
|
-
d.origin.h + E,
|
|
499
|
-
F.current
|
|
500
|
-
);
|
|
501
|
-
R(z);
|
|
502
|
-
}, r = (u) => {
|
|
503
|
-
const d = j.current;
|
|
504
|
-
!d || u.pointerId !== d.pointerId || (H.current = !0, x(!0));
|
|
505
|
-
}, o = (u) => {
|
|
506
|
-
const d = j.current;
|
|
507
|
-
!d || u.pointerId !== d.pointerId || (H.current = !0, x(!1));
|
|
508
|
-
};
|
|
509
|
-
return window.addEventListener("pointermove", e), window.addEventListener("pointerup", r), window.addEventListener("pointercancel", o), () => {
|
|
510
|
-
window.removeEventListener("pointermove", e), window.removeEventListener("pointerup", r), window.removeEventListener("pointercancel", o);
|
|
511
|
-
};
|
|
512
|
-
}, [k, x, R]), X(() => {
|
|
513
|
-
if (!k) return;
|
|
514
|
-
const e = (r) => {
|
|
515
|
-
r.key === "Escape" && x(!1);
|
|
516
|
-
};
|
|
517
|
-
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
518
|
-
}, [k, x]), X(() => {
|
|
519
|
-
if (!k || k.via !== "keyboard") return;
|
|
520
|
-
const e = (o) => {
|
|
521
|
-
var d;
|
|
522
|
-
const u = o.relatedTarget;
|
|
523
|
-
(!u || !((d = N.current) != null && d.contains(u))) && x(!1);
|
|
524
|
-
}, r = N.current;
|
|
525
|
-
return r == null || r.addEventListener("focusout", e), () => r == null ? void 0 : r.removeEventListener("focusout", e);
|
|
526
|
-
}, [k, x]), U(() => {
|
|
527
|
-
const e = N.current;
|
|
528
|
-
e && (e.style.setProperty("--dg-cols", String(n)), e.style.setProperty("--dg-row", `${g}px`));
|
|
529
|
-
}, [n, g]);
|
|
530
|
-
const be = Xe(K);
|
|
531
|
-
U(() => {
|
|
532
|
-
const e = N.current;
|
|
533
|
-
e && (e.style.setProperty(
|
|
534
|
-
"--dg-grid-lines",
|
|
535
|
-
`repeating-linear-gradient(to right, color-mix(in srgb, var(--border) 50%, transparent) 0 1px, transparent 1px calc((100% + var(--spacing-md)) / ${n})), repeating-linear-gradient(to bottom, color-mix(in srgb, var(--border) 50%, transparent) 0 1px, transparent 1px calc(${g}px + var(--spacing-md)))`
|
|
536
|
-
), e.style.setProperty(
|
|
537
|
-
"--dg-min-block",
|
|
538
|
-
`calc(${be + 2} * (${g}px + var(--spacing-md)) - var(--spacing-md))`
|
|
539
|
-
));
|
|
540
|
-
}, [n, g, be]);
|
|
541
|
-
const he = S(null), Z = a && !!m, q = L(
|
|
542
|
-
() => Z ? xe(K, n, 2, 2) : null,
|
|
543
|
-
[Z, K, n]
|
|
544
|
-
);
|
|
545
|
-
U(() => {
|
|
546
|
-
const e = he.current;
|
|
547
|
-
!e || !q || (e.style.setProperty("--dg-x", String(q.x + 1)), e.style.setProperty("--dg-y", String(q.y + 1)), e.style.setProperty("--dg-w", "2"), e.style.setProperty("--dg-h", "2"));
|
|
548
|
-
}, [q]);
|
|
549
|
-
const ye = D(
|
|
550
|
-
(e) => {
|
|
551
|
-
P(
|
|
552
|
-
T(
|
|
553
|
-
$.current.filter((r) => r.id !== e),
|
|
554
|
-
F.current
|
|
555
|
-
)
|
|
556
|
-
), W(p("dashboardGrid.removed")), i == null || i(e), requestAnimationFrame(() => {
|
|
557
|
-
const r = N.current;
|
|
558
|
-
if (!r) return;
|
|
559
|
-
const o = r.querySelector("button");
|
|
560
|
-
o ? o.focus() : r.focus();
|
|
561
|
-
});
|
|
562
|
-
},
|
|
563
|
-
[P, i, p]
|
|
564
|
-
), ee = L(
|
|
565
|
-
() => ({
|
|
566
|
-
moveWidgetTo(e, r, o) {
|
|
567
|
-
return !a || !Number.isFinite(r) || !Number.isFinite(o) || !v.some((u) => u.id === e) ? !1 : (P(
|
|
568
|
-
T(
|
|
569
|
-
te(v, e, Math.round(r), Math.round(o), n),
|
|
570
|
-
n
|
|
571
|
-
)
|
|
572
|
-
), !0);
|
|
573
|
-
},
|
|
574
|
-
resizeWidgetTo(e, r, o) {
|
|
575
|
-
return !a || !Number.isFinite(r) || !Number.isFinite(o) || !v.some((u) => u.id === e) ? !1 : (P(
|
|
576
|
-
T(
|
|
577
|
-
ne(
|
|
578
|
-
v,
|
|
579
|
-
e,
|
|
580
|
-
Math.round(r),
|
|
581
|
-
Math.round(o),
|
|
582
|
-
n
|
|
583
|
-
),
|
|
584
|
-
n
|
|
585
|
-
)
|
|
586
|
-
), !0);
|
|
587
|
-
},
|
|
588
|
-
getGridState() {
|
|
589
|
-
return {
|
|
590
|
-
cols: n,
|
|
591
|
-
editing: a,
|
|
592
|
-
layout: v.map((e) => ({ ...e }))
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
}),
|
|
596
|
-
[a, v, n, P]
|
|
597
|
-
);
|
|
598
|
-
We(B, () => ee, [ee]), Ke(Oe, ee, s);
|
|
599
|
-
const ze = L(
|
|
600
|
-
() => ({
|
|
601
|
-
editing: a,
|
|
602
|
-
layoutById: le,
|
|
603
|
-
grab: k,
|
|
604
|
-
canRemove: !!i,
|
|
605
|
-
requestRemove: ye,
|
|
606
|
-
startKeyboardGrab: me,
|
|
607
|
-
keyboardStep: fe,
|
|
608
|
-
startPointerGrab: ge
|
|
609
|
-
}),
|
|
610
|
-
[
|
|
611
|
-
a,
|
|
612
|
-
le,
|
|
613
|
-
k,
|
|
614
|
-
i,
|
|
615
|
-
ye,
|
|
616
|
-
me,
|
|
617
|
-
fe,
|
|
618
|
-
ge
|
|
619
|
-
]
|
|
620
|
-
);
|
|
621
|
-
return /* @__PURE__ */ _(
|
|
622
|
-
"div",
|
|
623
|
-
{
|
|
624
|
-
"data-component": "dashboard-grid",
|
|
625
|
-
"data-component-id": s,
|
|
626
|
-
"data-editing": a || void 0,
|
|
627
|
-
className: `ds:block ds:w-full ${V ?? ""}`.trim(),
|
|
628
|
-
children: [
|
|
629
|
-
/* @__PURE__ */ w("div", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: Ee }),
|
|
630
|
-
/* @__PURE__ */ _(
|
|
631
|
-
"div",
|
|
632
|
-
{
|
|
633
|
-
ref: N,
|
|
634
|
-
role: "list",
|
|
635
|
-
"aria-label": t,
|
|
636
|
-
tabIndex: -1,
|
|
637
|
-
"data-editing": a || void 0,
|
|
638
|
-
className: Ue(),
|
|
639
|
-
children: [
|
|
640
|
-
/* @__PURE__ */ w(Me.Provider, { value: ze, children: y }),
|
|
641
|
-
Z ? (
|
|
642
|
-
// role="list" allows only listitem children — the tile wrapper
|
|
643
|
-
// carries the grid placement, the button fills it.
|
|
644
|
-
/* @__PURE__ */ w(
|
|
645
|
-
"div",
|
|
646
|
-
{
|
|
647
|
-
ref: he,
|
|
648
|
-
role: "listitem",
|
|
649
|
-
className: [
|
|
650
|
-
"ds:flex",
|
|
651
|
-
"ds:[grid-column-start:var(--dg-x)] ds:[grid-column-end:span_var(--dg-w)]",
|
|
652
|
-
"ds:[grid-row-start:var(--dg-y)] ds:[grid-row-end:span_var(--dg-h)]"
|
|
653
|
-
].join(" "),
|
|
654
|
-
children: /* @__PURE__ */ _(
|
|
655
|
-
"button",
|
|
656
|
-
{
|
|
657
|
-
type: "button",
|
|
658
|
-
onClick: m,
|
|
659
|
-
className: [
|
|
660
|
-
"ds:flex ds:flex-1 ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
|
|
661
|
-
"ds:rounded-[var(--radius-lg)] ds:border ds:border-dashed ds:border-border",
|
|
662
|
-
"ds:text-sm ds:text-muted-foreground ds:transition-colors",
|
|
663
|
-
"ds:hover:bg-muted/10 ds:hover:text-foreground",
|
|
664
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring"
|
|
665
|
-
].join(" "),
|
|
666
|
-
children: [
|
|
667
|
-
/* @__PURE__ */ w(_e, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
668
|
-
p("dashboardGrid.add")
|
|
669
|
-
]
|
|
670
|
-
}
|
|
671
|
-
)
|
|
672
|
-
}
|
|
673
|
-
)
|
|
674
|
-
) : null
|
|
675
|
-
]
|
|
676
|
-
}
|
|
677
|
-
)
|
|
678
|
-
]
|
|
679
|
-
}
|
|
680
|
-
);
|
|
681
|
-
}
|
|
682
|
-
);
|
|
683
|
-
Ne.displayName = "DashboardGrid";
|
|
684
|
-
const cr = Object.assign(Ne, {
|
|
685
|
-
Widget: Se
|
|
686
|
-
});
|
|
687
|
-
export {
|
|
688
|
-
cr as D,
|
|
689
|
-
Oe as d
|
|
690
|
-
};
|
|
691
|
-
//# sourceMappingURL=dashboard-grid--rkojX6m.js.map
|