@alfadocs/ui-kit 1.54.2 → 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-BMjSBqhS.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-BDX1Krdv.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-CGAVpIWL.js → bishop-score-BxA20j9T.js} +5 -5
- package/dist/_chunks/{bmi-calculator-g_wjo4nq.js → bmi-calculator-DTZhRhXe.js} +5 -5
- package/dist/_chunks/{booking-BN7TXe27.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-BbZIx2PT.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-CwDEdmda.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-DeUoJzNn.js → data-table-C6T31E33.js} +244 -240
- package/dist/_chunks/{data-table-tabs-BfEmXvUk.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-_0Dz_d7n.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-Cmeo4zdT.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-pZgT26gB.js → face-scheme-BicuUA2K.js} +8 -8
- package/dist/_chunks/{fetal-weight-CbE61Uyk.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-DdsAd4TQ.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-D9WfDpYB.js → form-field-Ani72sVY.js} +72 -61
- 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-BMkoLJGR.js → gestational-age-calculator-BfGpt3du.js} +9 -9
- package/dist/_chunks/glass-surface-CPok0jEe.js +20 -0
- package/dist/_chunks/{hcg-doubling-BtW2pBJX.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-Cy-iO5AU.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-CSViTQL9.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-Kca1tkfP.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-BPb-2ZnJ.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-B7pQTk7l.js → password-input-BokZ_rnT.js} +162 -140
- package/dist/_chunks/{patient-details-BP9r_lNS.js → patient-details-DsTtjpuX.js} +6 -6
- package/dist/_chunks/{patient-field-row-BK9JjbzA.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-DGbRLzF1.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-BmbqjkfD.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-DV3o2PPl.js → pregnancy-dating-R3q5n1Wh.js} +10 -10
- package/dist/_chunks/{pregnancy-weight-gain-BLjWgtS9.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-C4j6eoQn.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-CCCSEPlG.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-D695TCDH.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-Dl27rI3J.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-CLgtyVbR.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-CXNr5P4J.js → unit-converter-DS4UB_59.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-BEbLseXW.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-BCbwD5Z1.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-context.d.ts +5 -0
- 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/text-input/text-input.d.ts +13 -0
- 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/hooks/use-field-match.d.ts +3 -2
- package/dist/host-compat.css +9 -2
- package/dist/host-legacy.css +86 -0
- package/dist/i18n/locales/ar.d.ts +121 -1
- package/dist/i18n/locales/ar.js +122 -2
- package/dist/i18n/locales/de.d.ts +121 -1
- package/dist/i18n/locales/de.js +122 -2
- package/dist/i18n/locales/el.d.ts +121 -1
- package/dist/i18n/locales/el.js +122 -2
- package/dist/i18n/locales/en.d.ts +121 -1
- package/dist/i18n/locales/en.js +122 -2
- package/dist/i18n/locales/es.d.ts +121 -1
- package/dist/i18n/locales/es.js +122 -2
- package/dist/i18n/locales/fr.d.ts +121 -1
- package/dist/i18n/locales/fr.js +122 -2
- package/dist/i18n/locales/hi.d.ts +121 -1
- package/dist/i18n/locales/hi.js +122 -2
- package/dist/i18n/locales/it.d.ts +121 -1
- package/dist/i18n/locales/it.js +122 -2
- package/dist/i18n/locales/ja.d.ts +121 -1
- package/dist/i18n/locales/ja.js +122 -2
- package/dist/i18n/locales/nl.d.ts +121 -1
- package/dist/i18n/locales/nl.js +122 -2
- package/dist/i18n/locales/pl.d.ts +121 -1
- package/dist/i18n/locales/pl.js +122 -2
- package/dist/i18n/locales/pt.d.ts +121 -1
- package/dist/i18n/locales/pt.js +122 -2
- package/dist/i18n/locales/ro.d.ts +121 -1
- package/dist/i18n/locales/ro.js +122 -2
- package/dist/i18n/locales/ru.d.ts +121 -1
- package/dist/i18n/locales/ru.js +122 -2
- package/dist/i18n/locales/sq.d.ts +121 -1
- package/dist/i18n/locales/sq.js +122 -2
- package/dist/i18n/locales/sv.d.ts +121 -1
- package/dist/i18n/locales/sv.js +122 -2
- package/dist/i18n/locales/tr.d.ts +121 -1
- package/dist/i18n/locales/tr.js +122 -2
- package/dist/i18n/locales/zh.d.ts +121 -1
- package/dist/i18n/locales/zh.js +122 -2
- package/dist/index.js +763 -753
- package/dist/locales/ar.json +122 -2
- package/dist/locales/de.json +122 -2
- package/dist/locales/el.json +122 -2
- package/dist/locales/en.json +122 -2
- package/dist/locales/es.json +122 -2
- package/dist/locales/fr.json +122 -2
- package/dist/locales/hi.json +122 -2
- package/dist/locales/it.json +122 -2
- package/dist/locales/ja.json +122 -2
- package/dist/locales/nl.json +122 -2
- package/dist/locales/pl.json +122 -2
- package/dist/locales/pt.json +122 -2
- package/dist/locales/ro.json +122 -2
- package/dist/locales/ru.json +122 -2
- package/dist/locales/sq.json +122 -2
- package/dist/locales/sv.json +122 -2
- package/dist/locales/tr.json +122 -2
- package/dist/locales/zh.json +122 -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.d.ts +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/registration-form/registration-form.d.ts +19 -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-1pD-8hML.js +0 -292
- package/dist/_chunks/city-input-DyxVWSRQ.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-DVVOBEGj.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-q7iTojvV.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-CBDeXzlk.js +0 -748
- package/dist/_chunks/search-input-Tl-RkS5x.js +0 -237
- package/dist/_chunks/subDays-XBMBTVOO.js +0 -8
- package/dist/_chunks/text-input-lZ2-t-p2.js +0 -283
- package/dist/_chunks/time-picker-DKKmpFh3.js +0 -425
- package/dist/_chunks/use-registration-submit-DxCWic5_.js +0 -141
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { useMemo as
|
|
1
|
+
import { useMemo as B, useCallback as V, useState as P, cloneElement as W, useId as Y } from "react";
|
|
2
2
|
import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
|
|
3
|
-
import { jsxs as
|
|
3
|
+
import { jsxs as N, jsx as t, Fragment as G } from "react/jsx-runtime";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
|
-
import { B as ee } from "./button-
|
|
6
|
-
import { I } from "./icon-button-
|
|
7
|
-
import { C as
|
|
8
|
-
import { P as O } from "./popover-
|
|
5
|
+
import { B as ee } from "./button-Bn16lcFM.js";
|
|
6
|
+
import { I } from "./icon-button-COX76Jdj.js";
|
|
7
|
+
import { C as R } from "./checkbox--ndmyokr.js";
|
|
8
|
+
import { P as O } from "./popover-BI3oV3eY.js";
|
|
9
9
|
import { S as te } from "./separator-CYU_bGFn.js";
|
|
10
10
|
import { S as ae } from "./settings-d25ju_6L.js";
|
|
11
11
|
import { G as se } from "./grip-vertical-onSb1JXO.js";
|
|
12
|
-
import { D as $ } from "./description-list-
|
|
12
|
+
import { D as $ } from "./description-list-DkLeHiew.js";
|
|
13
13
|
import { B as j } from "./badge-hnBt8o7n.js";
|
|
14
14
|
import { L as re } from "./link-2HokYuIi.js";
|
|
15
15
|
import { T as ne } from "./transaction-chip-CohY6sTA.js";
|
|
16
16
|
import { H as ie } from "./hash-CSQ9SChR.js";
|
|
17
17
|
import { C as oe } from "./calendar-days-BGWklvE-.js";
|
|
18
|
-
import { c as
|
|
18
|
+
import { c as q } from "./createLucideIcon-DhHxpK9K.js";
|
|
19
19
|
import { U as le } from "./user-B12p7bVF.js";
|
|
20
|
-
import { C as ce } from "./city-input-
|
|
21
|
-
import { C as de } from "./country-select-
|
|
22
|
-
import { D as ue } from "./date-picker-
|
|
23
|
-
import { E as me } from "./email-input-
|
|
24
|
-
import { F as pe } from "./fiscal-code-input-
|
|
25
|
-
import { N as fe } from "./number-input-
|
|
26
|
-
import { P as ge } from "./phone-input-
|
|
27
|
-
import { P as he } from "./postal-code-input-
|
|
28
|
-
import { P as ye } from "./province-select-
|
|
29
|
-
import { S as be } from "./select-
|
|
20
|
+
import { C as ce } from "./city-input-BC_nYINn.js";
|
|
21
|
+
import { C as de } from "./country-select-DF5Bd_mn.js";
|
|
22
|
+
import { D as ue } from "./date-picker-wRAcq2lt.js";
|
|
23
|
+
import { E as me } from "./email-input-C7THAwh2.js";
|
|
24
|
+
import { F as pe } from "./fiscal-code-input-DesSQ6Fh.js";
|
|
25
|
+
import { N as fe } from "./number-input-CVwI1ltI.js";
|
|
26
|
+
import { P as ge } from "./phone-input-DxkHMYmu.js";
|
|
27
|
+
import { P as he } from "./postal-code-input-CfZOnIkW.js";
|
|
28
|
+
import { P as ye } from "./province-select-Bd20Z9Br.js";
|
|
29
|
+
import { S as be } from "./select-Ce5RMk93.js";
|
|
30
30
|
import { S as ve } from "./switch-D--x7n6h.js";
|
|
31
|
-
import { T as xe } from "./text-area-
|
|
32
|
-
import { T as ke } from "./text-input-
|
|
31
|
+
import { T as xe } from "./text-area-COMVJ1yE.js";
|
|
32
|
+
import { T as ke } from "./text-input-CaG9ApoE.js";
|
|
33
|
+
import { u as Ce } from "./use-state-backed-input-C7ESmxKB.js";
|
|
33
34
|
import { C as K } from "./check-DrFSN__t.js";
|
|
34
|
-
import { X as
|
|
35
|
-
import { P as
|
|
36
|
-
import { L as
|
|
37
|
-
import { C as
|
|
35
|
+
import { X as Ve } from "./x-B5YnXwCz.js";
|
|
36
|
+
import { P as Ne } from "./pencil-B1sKKyuT.js";
|
|
37
|
+
import { L as we } from "./lock-ClAFG1gy.js";
|
|
38
|
+
import { C as De } from "./copy-vRpqqHtY.js";
|
|
38
39
|
/**
|
|
39
40
|
* @license lucide-react v1.22.0 - ISC
|
|
40
41
|
*
|
|
41
42
|
* This source code is licensed under the ISC license.
|
|
42
43
|
* See the LICENSE file in the root directory of this source tree.
|
|
43
44
|
*/
|
|
44
|
-
const
|
|
45
|
+
const Se = [
|
|
45
46
|
["path", { d: "M5 22h14", key: "ehvnwv" }],
|
|
46
47
|
["path", { d: "M5 2h14", key: "pdyrp9" }],
|
|
47
48
|
[
|
|
@@ -55,33 +56,33 @@ const De = [
|
|
|
55
56
|
"path",
|
|
56
57
|
{ d: "M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2", key: "1vvvr6" }
|
|
57
58
|
]
|
|
58
|
-
],
|
|
59
|
+
], Te = q("hourglass", Se);
|
|
59
60
|
/**
|
|
60
61
|
* @license lucide-react v1.22.0 - ISC
|
|
61
62
|
*
|
|
62
63
|
* This source code is licensed under the ISC license.
|
|
63
64
|
* See the LICENSE file in the root directory of this source tree.
|
|
64
65
|
*/
|
|
65
|
-
const
|
|
66
|
+
const ze = [
|
|
66
67
|
["path", { d: "M16 3h5v5", key: "1806ms" }],
|
|
67
68
|
["path", { d: "m21 3-6.75 6.75", key: "pv0uzu" }],
|
|
68
69
|
["circle", { cx: "10", cy: "14", r: "6", key: "1qwbdc" }]
|
|
69
|
-
],
|
|
70
|
+
], Pe = q("mars", ze);
|
|
70
71
|
/**
|
|
71
72
|
* @license lucide-react v1.22.0 - ISC
|
|
72
73
|
*
|
|
73
74
|
* This source code is licensed under the ISC license.
|
|
74
75
|
* See the LICENSE file in the root directory of this source tree.
|
|
75
76
|
*/
|
|
76
|
-
const
|
|
77
|
+
const Fe = [
|
|
77
78
|
["path", { d: "M12 15v7", key: "t2xh3l" }],
|
|
78
79
|
["path", { d: "M9 19h6", key: "456am0" }],
|
|
79
80
|
["circle", { cx: "12", cy: "9", r: "6", key: "1nw4tq" }]
|
|
80
|
-
], Ae =
|
|
81
|
+
], Ae = q("venus", Fe);
|
|
81
82
|
function X(e) {
|
|
82
83
|
return e.flatMap((s) => s.fields.map((a) => a.id));
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
+
function Dt(e, s) {
|
|
85
86
|
const a = s ?? X(e), r = new Map(a.map((n, h) => [n, h]));
|
|
86
87
|
return e.map((n) => ({
|
|
87
88
|
section: n,
|
|
@@ -90,63 +91,63 @@ function Nt(e, s) {
|
|
|
90
91
|
)
|
|
91
92
|
}));
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
-
const n =
|
|
94
|
+
function St(e, { value: s, defaultValue: a, onChange: r } = {}) {
|
|
95
|
+
const n = B(
|
|
95
96
|
() => X(e),
|
|
96
97
|
[e]
|
|
97
98
|
), [h, l] = Z({
|
|
98
99
|
value: s,
|
|
99
100
|
defaultValue: a ?? n,
|
|
100
101
|
onChange: r
|
|
101
|
-
}), c = h ?? a ?? n, m =
|
|
102
|
+
}), c = h ?? a ?? n, m = B(() => {
|
|
102
103
|
const g = /* @__PURE__ */ new Map();
|
|
103
|
-
for (const
|
|
104
|
-
for (const
|
|
105
|
-
g.set(
|
|
104
|
+
for (const b of e)
|
|
105
|
+
for (const k of b.fields)
|
|
106
|
+
g.set(k.id, { field: k, sectionId: b.id });
|
|
106
107
|
return g;
|
|
107
|
-
}, [e]), d =
|
|
108
|
+
}, [e]), d = V(
|
|
108
109
|
(g) => {
|
|
109
|
-
l(g.filter((
|
|
110
|
+
l(g.filter((b) => m.has(b)));
|
|
110
111
|
},
|
|
111
112
|
[l, m]
|
|
112
|
-
),
|
|
113
|
+
), y = V(
|
|
113
114
|
(g) => {
|
|
114
115
|
d(
|
|
115
|
-
c.includes(g) ? c.filter((
|
|
116
|
+
c.includes(g) ? c.filter((b) => b !== g) : [...c, g]
|
|
116
117
|
);
|
|
117
118
|
},
|
|
118
119
|
[c, d]
|
|
119
|
-
),
|
|
120
|
-
(g,
|
|
121
|
-
var
|
|
122
|
-
const
|
|
123
|
-
if (
|
|
124
|
-
const p =
|
|
120
|
+
), o = V(
|
|
121
|
+
(g, b) => {
|
|
122
|
+
var D;
|
|
123
|
+
const k = ((D = e.find((p) => p.id === g)) == null ? void 0 : D.fields.map((p) => p.id)) ?? [], F = new Set(k);
|
|
124
|
+
if (b) {
|
|
125
|
+
const p = k.filter((u) => !c.includes(u));
|
|
125
126
|
d([...c, ...p]);
|
|
126
127
|
} else
|
|
127
|
-
d(c.filter((p) => !
|
|
128
|
+
d(c.filter((p) => !F.has(p)));
|
|
128
129
|
},
|
|
129
130
|
[e, c, d]
|
|
130
|
-
),
|
|
131
|
-
(g,
|
|
132
|
-
var M,
|
|
133
|
-
if (g ===
|
|
134
|
-
const
|
|
135
|
-
if (!
|
|
136
|
-
const
|
|
137
|
-
((
|
|
138
|
-
), p = c.filter((
|
|
139
|
-
if (u < 0 ||
|
|
140
|
-
const [
|
|
141
|
-
p.splice(
|
|
142
|
-
let
|
|
131
|
+
), w = V(
|
|
132
|
+
(g, b) => {
|
|
133
|
+
var M, i, E;
|
|
134
|
+
if (g === b) return;
|
|
135
|
+
const k = (M = m.get(g)) == null ? void 0 : M.sectionId, F = (i = m.get(b)) == null ? void 0 : i.sectionId;
|
|
136
|
+
if (!k || k !== F) return;
|
|
137
|
+
const D = new Set(
|
|
138
|
+
((E = e.find((v) => v.id === k)) == null ? void 0 : E.fields.map((v) => v.id)) ?? []
|
|
139
|
+
), p = c.filter((v) => D.has(v)), u = p.indexOf(g), x = p.indexOf(b);
|
|
140
|
+
if (u < 0 || x < 0) return;
|
|
141
|
+
const [T] = p.splice(u, 1);
|
|
142
|
+
p.splice(x, 0, T);
|
|
143
|
+
let C = 0;
|
|
143
144
|
const H = c.map(
|
|
144
|
-
(
|
|
145
|
+
(v) => D.has(v) ? p[C++] : v
|
|
145
146
|
);
|
|
146
147
|
d(H);
|
|
147
148
|
},
|
|
148
149
|
[m, e, c, d]
|
|
149
|
-
),
|
|
150
|
+
), S = V(() => {
|
|
150
151
|
d(a ?? n);
|
|
151
152
|
}, [a, n, d]);
|
|
152
153
|
return {
|
|
@@ -154,13 +155,13 @@ function wt(e, { value: s, defaultValue: a, onChange: r } = {}) {
|
|
|
154
155
|
catalogueIds: n,
|
|
155
156
|
fieldById: m,
|
|
156
157
|
setOrder: d,
|
|
157
|
-
toggleField:
|
|
158
|
-
toggleSection:
|
|
159
|
-
moveFieldOnto:
|
|
160
|
-
reset:
|
|
158
|
+
toggleField: y,
|
|
159
|
+
toggleSection: o,
|
|
160
|
+
moveFieldOnto: w,
|
|
161
|
+
reset: S
|
|
161
162
|
};
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
+
function Tt({
|
|
164
165
|
sections: e,
|
|
165
166
|
visible: s,
|
|
166
167
|
onToggleField: a,
|
|
@@ -169,28 +170,28 @@ function Dt({
|
|
|
169
170
|
onReset: h,
|
|
170
171
|
label: l
|
|
171
172
|
}) {
|
|
172
|
-
const { t: c } = A("ui"), m =
|
|
173
|
-
const u = /* @__PURE__ */ new Map(),
|
|
174
|
-
for (const
|
|
175
|
-
for (const
|
|
176
|
-
u.set(
|
|
177
|
-
return { sectionOfField: u, labelOfField:
|
|
178
|
-
}, [e]),
|
|
179
|
-
|
|
180
|
-
}, []), p =
|
|
181
|
-
(u,
|
|
173
|
+
const { t: c } = A("ui"), m = B(() => new Set(s), [s]), [d, y] = P(null), [o, w] = P(null), [S, g] = P(""), { sectionOfField: b, labelOfField: k } = B(() => {
|
|
174
|
+
const u = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map();
|
|
175
|
+
for (const T of e)
|
|
176
|
+
for (const C of T.fields)
|
|
177
|
+
u.set(C.id, T.id), x.set(C.id, C.label);
|
|
178
|
+
return { sectionOfField: u, labelOfField: x };
|
|
179
|
+
}, [e]), F = d ? b.get(d) : void 0, D = V(() => {
|
|
180
|
+
y(null), w(null);
|
|
181
|
+
}, []), p = V(
|
|
182
|
+
(u, x, T) => {
|
|
182
183
|
g(
|
|
183
184
|
c("fieldPicker.moved", {
|
|
184
|
-
field:
|
|
185
|
-
position:
|
|
186
|
-
count:
|
|
185
|
+
field: k.get(u) ?? "",
|
|
186
|
+
position: x + 1,
|
|
187
|
+
count: T,
|
|
187
188
|
defaultValue: "Moved {{field}} to position {{position}} of {{count}}"
|
|
188
189
|
})
|
|
189
190
|
);
|
|
190
191
|
},
|
|
191
|
-
[c,
|
|
192
|
+
[c, k]
|
|
192
193
|
);
|
|
193
|
-
return /* @__PURE__ */
|
|
194
|
+
return /* @__PURE__ */ N(O.Root, { children: [
|
|
194
195
|
/* @__PURE__ */ t(O.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
|
|
195
196
|
I,
|
|
196
197
|
{
|
|
@@ -201,7 +202,7 @@ function Dt({
|
|
|
201
202
|
className: "ds:shrink-0"
|
|
202
203
|
}
|
|
203
204
|
) }),
|
|
204
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ N(
|
|
205
206
|
O.Content,
|
|
206
207
|
{
|
|
207
208
|
align: "end",
|
|
@@ -220,23 +221,23 @@ function Dt({
|
|
|
220
221
|
"ds:mt-[calc(var(--spacing-xs)-var(--focus-ring-width)-var(--focus-ring-offset))]"
|
|
221
222
|
].join(" "),
|
|
222
223
|
children: e.map((u) => {
|
|
223
|
-
const
|
|
224
|
-
(
|
|
225
|
-
).length,
|
|
226
|
-
(
|
|
227
|
-
), H =
|
|
228
|
-
return /* @__PURE__ */
|
|
224
|
+
const x = u.fields.map((i) => i.id), T = x.filter(
|
|
225
|
+
(i) => m.has(i)
|
|
226
|
+
).length, C = s.filter(
|
|
227
|
+
(i) => x.includes(i)
|
|
228
|
+
), H = T === 0 ? !1 : T === x.length ? !0 : "indeterminate", M = !!u.heading;
|
|
229
|
+
return /* @__PURE__ */ N(
|
|
229
230
|
"div",
|
|
230
231
|
{
|
|
231
232
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
232
233
|
children: [
|
|
233
234
|
M ? /* @__PURE__ */ t(
|
|
234
|
-
|
|
235
|
+
R,
|
|
235
236
|
{
|
|
236
237
|
size: "sm",
|
|
237
238
|
label: u.heading,
|
|
238
239
|
checked: H,
|
|
239
|
-
onCheckedChange: (
|
|
240
|
+
onCheckedChange: (i) => r(u.id, i === !0)
|
|
240
241
|
}
|
|
241
242
|
) : null,
|
|
242
243
|
/* @__PURE__ */ t(
|
|
@@ -246,28 +247,28 @@ function Dt({
|
|
|
246
247
|
"ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
247
248
|
M ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
|
|
248
249
|
].join(" "),
|
|
249
|
-
children: u.fields.map((
|
|
250
|
-
const
|
|
251
|
-
return /* @__PURE__ */
|
|
250
|
+
children: u.fields.map((i) => {
|
|
251
|
+
const E = m.has(i.id), v = C.indexOf(i.id), z = C.length, J = d === i.id, Q = o === i.id && d !== null && d !== i.id && F === u.id;
|
|
252
|
+
return /* @__PURE__ */ N(
|
|
252
253
|
"li",
|
|
253
254
|
{
|
|
254
|
-
...
|
|
255
|
+
...E ? {
|
|
255
256
|
draggable: !0,
|
|
256
257
|
onDragStart: (f) => {
|
|
257
|
-
i
|
|
258
|
+
y(i.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", i.id);
|
|
258
259
|
},
|
|
259
260
|
onDragOver: (f) => {
|
|
260
|
-
d === null ||
|
|
261
|
+
d === null || F !== u.id || (f.preventDefault(), f.dataTransfer.dropEffect = "move", w(i.id));
|
|
261
262
|
},
|
|
262
|
-
onDragLeave: () =>
|
|
263
|
-
(f) => f ===
|
|
263
|
+
onDragLeave: () => w(
|
|
264
|
+
(f) => f === i.id ? null : f
|
|
264
265
|
),
|
|
265
266
|
onDrop: (f) => {
|
|
266
267
|
f.preventDefault();
|
|
267
268
|
const L = f.dataTransfer.getData("text/plain");
|
|
268
|
-
L && L !==
|
|
269
|
+
L && L !== i.id && b.get(L) === u.id && (n(L, i.id), p(L, v, z)), D();
|
|
269
270
|
},
|
|
270
|
-
onDragEnd:
|
|
271
|
+
onDragEnd: D
|
|
271
272
|
} : {},
|
|
272
273
|
className: [
|
|
273
274
|
"ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)] ds:transition-colors ds:motion-reduce:transition-none",
|
|
@@ -276,22 +277,22 @@ function Dt({
|
|
|
276
277
|
].filter(Boolean).join(" "),
|
|
277
278
|
children: [
|
|
278
279
|
/* @__PURE__ */ t(
|
|
279
|
-
|
|
280
|
+
R,
|
|
280
281
|
{
|
|
281
282
|
size: "sm",
|
|
282
|
-
label:
|
|
283
|
-
checked:
|
|
284
|
-
onCheckedChange: () => a(
|
|
283
|
+
label: i.label,
|
|
284
|
+
checked: E,
|
|
285
|
+
onCheckedChange: () => a(i.id)
|
|
285
286
|
}
|
|
286
287
|
),
|
|
287
|
-
|
|
288
|
+
E ? /* @__PURE__ */ t(
|
|
288
289
|
I,
|
|
289
290
|
{
|
|
290
291
|
size: "sm",
|
|
291
292
|
intent: "ghost",
|
|
292
293
|
icon: /* @__PURE__ */ t(se, { "aria-hidden": "true" }),
|
|
293
294
|
"aria-label": c("fieldPicker.reorder", {
|
|
294
|
-
field:
|
|
295
|
+
field: i.label,
|
|
295
296
|
defaultValue: "Reorder {{field}}. Press Alt + Up or Alt + Down to move."
|
|
296
297
|
}),
|
|
297
298
|
"aria-keyshortcuts": "Alt+ArrowUp Alt+ArrowDown Alt+Home Alt+End",
|
|
@@ -299,26 +300,26 @@ function Dt({
|
|
|
299
300
|
onKeyDown: (f) => {
|
|
300
301
|
if (f.altKey) {
|
|
301
302
|
if (f.key === "ArrowUp") {
|
|
302
|
-
if (
|
|
303
|
+
if (v <= 0) return;
|
|
303
304
|
f.preventDefault(), n(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
), p(
|
|
305
|
+
i.id,
|
|
306
|
+
C[v - 1]
|
|
307
|
+
), p(i.id, v - 1, z);
|
|
307
308
|
} else if (f.key === "ArrowDown") {
|
|
308
|
-
if (
|
|
309
|
+
if (v >= z - 1) return;
|
|
309
310
|
f.preventDefault(), n(
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
), p(
|
|
311
|
+
i.id,
|
|
312
|
+
C[v + 1]
|
|
313
|
+
), p(i.id, v + 1, z);
|
|
313
314
|
} else if (f.key === "Home") {
|
|
314
|
-
if (
|
|
315
|
-
f.preventDefault(), n(
|
|
315
|
+
if (v <= 0) return;
|
|
316
|
+
f.preventDefault(), n(i.id, C[0]), p(i.id, 0, z);
|
|
316
317
|
} else if (f.key === "End") {
|
|
317
|
-
if (
|
|
318
|
+
if (v >= z - 1) return;
|
|
318
319
|
f.preventDefault(), n(
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
), p(
|
|
320
|
+
i.id,
|
|
321
|
+
C[z - 1]
|
|
322
|
+
), p(i.id, z - 1, z);
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
325
|
}
|
|
@@ -326,7 +327,7 @@ function Dt({
|
|
|
326
327
|
) : null
|
|
327
328
|
]
|
|
328
329
|
},
|
|
329
|
-
|
|
330
|
+
i.id
|
|
330
331
|
);
|
|
331
332
|
})
|
|
332
333
|
}
|
|
@@ -338,22 +339,22 @@ function Dt({
|
|
|
338
339
|
})
|
|
339
340
|
}
|
|
340
341
|
),
|
|
341
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ N("div", { className: "ds:flex ds:shrink-0 ds:flex-col ds:gap-[var(--spacing-sm)] ds:pt-[calc(var(--spacing-sm)-var(--focus-ring-width)-var(--focus-ring-offset))]", children: [
|
|
342
343
|
/* @__PURE__ */ t(te, { orientation: "horizontal" }),
|
|
343
344
|
/* @__PURE__ */ t(ee, { type: "button", size: "sm", intent: "ghost", onClick: h, children: c("fieldPicker.reset", { defaultValue: "Reset to defaults" }) })
|
|
344
345
|
] }),
|
|
345
|
-
/* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children:
|
|
346
|
+
/* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: S })
|
|
346
347
|
]
|
|
347
348
|
}
|
|
348
349
|
)
|
|
349
350
|
] });
|
|
350
351
|
}
|
|
351
|
-
const
|
|
352
|
+
const U = "ds:text-[color:var(--foreground)]", Ee = {
|
|
352
353
|
m: "Male",
|
|
353
354
|
f: "Female",
|
|
354
355
|
x: "Other"
|
|
355
356
|
};
|
|
356
|
-
function
|
|
357
|
+
function _({
|
|
357
358
|
icon: e,
|
|
358
359
|
mono: s,
|
|
359
360
|
children: a
|
|
@@ -364,26 +365,26 @@ function B({
|
|
|
364
365
|
variant: "neutral",
|
|
365
366
|
className: s ? "ds:font-mono" : void 0,
|
|
366
367
|
leading: e ? W(e, {
|
|
367
|
-
className:
|
|
368
|
+
className: U
|
|
368
369
|
}) : void 0,
|
|
369
|
-
children: /* @__PURE__ */ t("span", { className:
|
|
370
|
+
children: /* @__PURE__ */ t("span", { className: U, children: a })
|
|
370
371
|
}
|
|
371
372
|
);
|
|
372
373
|
}
|
|
373
|
-
function
|
|
374
|
+
function Ie({ code: e }) {
|
|
374
375
|
const { t: s } = A("ui"), a = e.toLowerCase(), r = s(`patientField.sex.${a}`, {
|
|
375
376
|
defaultValue: Ee[a] ?? e
|
|
376
377
|
});
|
|
377
|
-
return a === "f" ? /* @__PURE__ */ t(j, { variant: "accentSoft", leading: /* @__PURE__ */ t(Ae, {}), children: r }) : a === "m" ? /* @__PURE__ */ t(j, { variant: "info", leading: /* @__PURE__ */ t(
|
|
378
|
+
return a === "f" ? /* @__PURE__ */ t(j, { variant: "accentSoft", leading: /* @__PURE__ */ t(Ae, {}), children: r }) : a === "m" ? /* @__PURE__ */ t(j, { variant: "info", leading: /* @__PURE__ */ t(Pe, {}), children: r }) : /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(le, {}), children: r });
|
|
378
379
|
}
|
|
379
|
-
function
|
|
380
|
+
function Me({ years: e }) {
|
|
380
381
|
const { t: s } = A("ui");
|
|
381
|
-
return /* @__PURE__ */ t(
|
|
382
|
+
return /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(Te, {}), children: s("patientField.age", {
|
|
382
383
|
count: e,
|
|
383
384
|
defaultValue: "{{count}} years old"
|
|
384
385
|
}) });
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
+
function Le({ field: e }) {
|
|
387
388
|
const { i18n: s } = A("ui");
|
|
388
389
|
if (e.kind === "email" || e.kind === "phone") {
|
|
389
390
|
const a = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
|
|
@@ -393,15 +394,15 @@ function Me({ field: e }) {
|
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
if (e.value != null)
|
|
396
|
-
return /* @__PURE__ */ t(
|
|
397
|
+
return /* @__PURE__ */ t(G, { children: e.value });
|
|
397
398
|
if (!e.kind)
|
|
398
399
|
return null;
|
|
399
400
|
switch (e.kind) {
|
|
400
401
|
case "sex":
|
|
401
|
-
return /* @__PURE__ */ t(
|
|
402
|
+
return /* @__PURE__ */ t(Ie, { code: String(e.editValue ?? "") });
|
|
402
403
|
case "age": {
|
|
403
404
|
const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
|
|
404
|
-
return Number.isFinite(a) ? /* @__PURE__ */ t(
|
|
405
|
+
return Number.isFinite(a) ? /* @__PURE__ */ t(Me, { years: a }) : null;
|
|
405
406
|
}
|
|
406
407
|
case "dob": {
|
|
407
408
|
const a = e.editValue, r = a instanceof Date ? a : new Date(String(a ?? "")), n = Number.isNaN(r.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(s.language, {
|
|
@@ -409,11 +410,11 @@ function Me({ field: e }) {
|
|
|
409
410
|
month: "short",
|
|
410
411
|
year: "numeric"
|
|
411
412
|
}).format(r);
|
|
412
|
-
return n ? /* @__PURE__ */ t(
|
|
413
|
+
return n ? /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(oe, {}), children: n }) : null;
|
|
413
414
|
}
|
|
414
415
|
case "fiscalCode": {
|
|
415
416
|
const a = e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
|
|
416
|
-
return a ? /* @__PURE__ */ t(
|
|
417
|
+
return a ? /* @__PURE__ */ t(_, { icon: /* @__PURE__ */ t(ie, {}), mono: !0, children: a }) : null;
|
|
417
418
|
}
|
|
418
419
|
case "discount": {
|
|
419
420
|
const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
|
|
@@ -431,14 +432,14 @@ function Me({ field: e }) {
|
|
|
431
432
|
return null;
|
|
432
433
|
}
|
|
433
434
|
}
|
|
434
|
-
function
|
|
435
|
+
function Oe({
|
|
435
436
|
field: e
|
|
436
437
|
}) {
|
|
437
438
|
const { t: s } = A("ui");
|
|
438
|
-
return /* @__PURE__ */
|
|
439
|
+
return /* @__PURE__ */ N("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
439
440
|
e.label,
|
|
440
441
|
e.sensitive ? /* @__PURE__ */ t(
|
|
441
|
-
|
|
442
|
+
we,
|
|
442
443
|
{
|
|
443
444
|
"aria-label": s("patientDetails.sensitive", {
|
|
444
445
|
defaultValue: "Sensitive"
|
|
@@ -448,47 +449,47 @@ function Le({
|
|
|
448
449
|
) : null
|
|
449
450
|
] });
|
|
450
451
|
}
|
|
451
|
-
function
|
|
452
|
+
function Be({
|
|
452
453
|
field: e,
|
|
453
454
|
editable: s,
|
|
454
455
|
onFieldSave: a,
|
|
455
456
|
validate: r,
|
|
456
457
|
locale: n
|
|
457
458
|
}) {
|
|
458
|
-
const { t: h } = A("ui"), l = Y(), c = s && !!e.editable && !!a, [m, d] =
|
|
459
|
-
|
|
460
|
-
}, [e.editValue]),
|
|
461
|
-
d(!1),
|
|
462
|
-
}, []),
|
|
459
|
+
const { t: h } = A("ui"), l = Y(), c = s && !!e.editable && !!a, [m, d] = P(!1), [y, o] = P(e.editValue), [w, S] = P(null), [g, b] = P(!1), k = V(() => {
|
|
460
|
+
o(e.editValue), S(null), d(!0);
|
|
461
|
+
}, [e.editValue]), F = V(() => {
|
|
462
|
+
d(!1), S(null);
|
|
463
|
+
}, []), D = V(async () => {
|
|
463
464
|
if (!a) return;
|
|
464
|
-
const u = (r == null ? void 0 : r(e.id,
|
|
465
|
+
const u = (r == null ? void 0 : r(e.id, y)) ?? null;
|
|
465
466
|
if (u) {
|
|
466
|
-
|
|
467
|
+
S(u);
|
|
467
468
|
return;
|
|
468
469
|
}
|
|
469
|
-
|
|
470
|
+
b(!0), S(null);
|
|
470
471
|
try {
|
|
471
|
-
await a(e.id,
|
|
472
|
-
} catch (
|
|
473
|
-
|
|
474
|
-
|
|
472
|
+
await a(e.id, y), d(!1);
|
|
473
|
+
} catch (x) {
|
|
474
|
+
S(
|
|
475
|
+
x instanceof Error && x.message ? x.message : h("patientDetails.edit.saveFailed", {
|
|
475
476
|
defaultValue: "Could not save. Try again."
|
|
476
477
|
})
|
|
477
478
|
);
|
|
478
479
|
} finally {
|
|
479
|
-
|
|
480
|
+
b(!1);
|
|
480
481
|
}
|
|
481
|
-
}, [a, r, e.id,
|
|
482
|
-
return m ? /* @__PURE__ */
|
|
483
|
-
/* @__PURE__ */
|
|
482
|
+
}, [a, r, e.id, y, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
|
|
483
|
+
return m ? /* @__PURE__ */ N("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
484
|
+
/* @__PURE__ */ N("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
|
|
484
485
|
/* @__PURE__ */ t(
|
|
485
486
|
_e,
|
|
486
487
|
{
|
|
487
488
|
field: e,
|
|
488
|
-
value:
|
|
489
|
-
onChange:
|
|
490
|
-
invalid: !!
|
|
491
|
-
errorId:
|
|
489
|
+
value: y,
|
|
490
|
+
onChange: o,
|
|
491
|
+
invalid: !!w,
|
|
492
|
+
errorId: w ? l : void 0,
|
|
492
493
|
locale: n,
|
|
493
494
|
disabled: g
|
|
494
495
|
}
|
|
@@ -501,7 +502,7 @@ function Oe({
|
|
|
501
502
|
icon: /* @__PURE__ */ t(K, { "aria-hidden": "true" }),
|
|
502
503
|
"aria-label": h("patientDetails.edit.save", { defaultValue: "Save" }),
|
|
503
504
|
loading: g,
|
|
504
|
-
onClick:
|
|
505
|
+
onClick: D
|
|
505
506
|
}
|
|
506
507
|
),
|
|
507
508
|
/* @__PURE__ */ t(
|
|
@@ -509,64 +510,64 @@ function Oe({
|
|
|
509
510
|
{
|
|
510
511
|
size: "sm",
|
|
511
512
|
intent: "ghost",
|
|
512
|
-
icon: /* @__PURE__ */ t(
|
|
513
|
+
icon: /* @__PURE__ */ t(Ve, { "aria-hidden": "true" }),
|
|
513
514
|
"aria-label": h("patientDetails.edit.cancel", {
|
|
514
515
|
defaultValue: "Cancel"
|
|
515
516
|
}),
|
|
516
517
|
disabled: g,
|
|
517
|
-
onClick:
|
|
518
|
+
onClick: F
|
|
518
519
|
}
|
|
519
520
|
)
|
|
520
521
|
] }),
|
|
521
|
-
|
|
522
|
+
w ? /* @__PURE__ */ t(
|
|
522
523
|
"span",
|
|
523
524
|
{
|
|
524
525
|
id: l,
|
|
525
526
|
role: "alert",
|
|
526
527
|
className: "type-meta ds:text-[color:var(--destructive)]",
|
|
527
|
-
children:
|
|
528
|
+
children: w
|
|
528
529
|
}
|
|
529
530
|
) : null
|
|
530
|
-
] }) : /* @__PURE__ */
|
|
531
|
+
] }) : /* @__PURE__ */ N("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)] ds:min-w-0", children: [
|
|
531
532
|
/* @__PURE__ */ t(
|
|
532
533
|
"span",
|
|
533
534
|
{
|
|
534
535
|
className: `ds:min-w-0 ${e.editType === "textarea" ? "" : "ds:truncate"}${e.mono ? " ds:font-mono" : ""}`,
|
|
535
536
|
title: p,
|
|
536
|
-
children: /* @__PURE__ */ t(
|
|
537
|
+
children: /* @__PURE__ */ t(Le, { field: e })
|
|
537
538
|
}
|
|
538
539
|
),
|
|
539
|
-
e.copyable && e.copyText ? /* @__PURE__ */ t(
|
|
540
|
+
e.copyable && e.copyText ? /* @__PURE__ */ t(He, { text: e.copyText, label: e.label }) : null,
|
|
540
541
|
c ? /* @__PURE__ */ t(
|
|
541
542
|
I,
|
|
542
543
|
{
|
|
543
544
|
size: "sm",
|
|
544
545
|
intent: "ghost",
|
|
545
546
|
className: "ds:shrink-0 ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:focus-visible:opacity-100",
|
|
546
|
-
icon: /* @__PURE__ */ t(
|
|
547
|
+
icon: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
|
|
547
548
|
"aria-label": h("patientDetails.edit.editField", {
|
|
548
549
|
field: e.label,
|
|
549
550
|
defaultValue: "Edit {{field}}"
|
|
550
551
|
}),
|
|
551
|
-
onClick:
|
|
552
|
+
onClick: k
|
|
552
553
|
}
|
|
553
554
|
) : null
|
|
554
555
|
] });
|
|
555
556
|
}
|
|
556
|
-
function
|
|
557
|
+
function zt({
|
|
557
558
|
field: e,
|
|
558
559
|
icon: s,
|
|
559
560
|
...a
|
|
560
561
|
}) {
|
|
561
|
-
return /* @__PURE__ */
|
|
562
|
+
return /* @__PURE__ */ N(
|
|
562
563
|
$.Row,
|
|
563
564
|
{
|
|
564
565
|
icon: s ?? null,
|
|
565
566
|
"data-field-id": e.id,
|
|
566
567
|
className: "ds:group",
|
|
567
568
|
children: [
|
|
568
|
-
/* @__PURE__ */ t($.Term, { children: /* @__PURE__ */ t(
|
|
569
|
-
/* @__PURE__ */ t($.Detail, { children: /* @__PURE__ */ t(
|
|
569
|
+
/* @__PURE__ */ t($.Term, { children: /* @__PURE__ */ t(Oe, { field: e }) }),
|
|
570
|
+
/* @__PURE__ */ t($.Detail, { children: /* @__PURE__ */ t(Be, { field: e, ...a }) })
|
|
570
571
|
]
|
|
571
572
|
}
|
|
572
573
|
);
|
|
@@ -580,15 +581,15 @@ function _e({
|
|
|
580
581
|
locale: h,
|
|
581
582
|
disabled: l
|
|
582
583
|
}) {
|
|
583
|
-
const { t: c } = A("ui"), m = r ? "error" : "default";
|
|
584
|
-
switch (
|
|
584
|
+
const { t: c } = A("ui"), m = r ? "error" : "default", d = e.editType ?? "text", y = Ce(typeof s == "string" ? s : "");
|
|
585
|
+
switch (d) {
|
|
585
586
|
case "textarea":
|
|
586
587
|
return /* @__PURE__ */ t(
|
|
587
588
|
xe,
|
|
588
589
|
{
|
|
589
590
|
size: "sm",
|
|
590
591
|
value: typeof s == "string" ? s : "",
|
|
591
|
-
onChange: (
|
|
592
|
+
onChange: (o) => a(o.target.value),
|
|
592
593
|
tone: m,
|
|
593
594
|
"aria-label": e.label,
|
|
594
595
|
"aria-invalid": r || void 0,
|
|
@@ -604,7 +605,7 @@ function _e({
|
|
|
604
605
|
size: "sm",
|
|
605
606
|
options: e.options ?? [],
|
|
606
607
|
value: typeof s == "string" ? s : "",
|
|
607
|
-
onValueChange: (
|
|
608
|
+
onValueChange: (o) => a(o),
|
|
608
609
|
tone: m,
|
|
609
610
|
disabled: l,
|
|
610
611
|
"aria-label": e.label,
|
|
@@ -618,7 +619,7 @@ function _e({
|
|
|
618
619
|
{
|
|
619
620
|
label: e.label,
|
|
620
621
|
checked: s === !0,
|
|
621
|
-
onCheckedChange: (
|
|
622
|
+
onCheckedChange: (o) => a(o),
|
|
622
623
|
disabled: l
|
|
623
624
|
}
|
|
624
625
|
);
|
|
@@ -628,7 +629,7 @@ function _e({
|
|
|
628
629
|
{
|
|
629
630
|
size: "sm",
|
|
630
631
|
value: s instanceof Date ? s : void 0,
|
|
631
|
-
onChange: (
|
|
632
|
+
onChange: (o) => a(o ?? null),
|
|
632
633
|
disabled: l,
|
|
633
634
|
"aria-label": e.label
|
|
634
635
|
}
|
|
@@ -639,7 +640,7 @@ function _e({
|
|
|
639
640
|
{
|
|
640
641
|
size: "sm",
|
|
641
642
|
value: typeof s == "number" ? s : null,
|
|
642
|
-
onChange: (
|
|
643
|
+
onChange: (o) => a(o),
|
|
643
644
|
mode: e.currency ? "currency" : "decimal",
|
|
644
645
|
currency: e.currency,
|
|
645
646
|
locale: h,
|
|
@@ -655,8 +656,8 @@ function _e({
|
|
|
655
656
|
me,
|
|
656
657
|
{
|
|
657
658
|
size: "sm",
|
|
658
|
-
|
|
659
|
-
onChange: (
|
|
659
|
+
ref: y.ref,
|
|
660
|
+
onChange: y.quiet((o) => a(o.target.value)),
|
|
660
661
|
"aria-label": e.label,
|
|
661
662
|
"aria-invalid": r || void 0,
|
|
662
663
|
"aria-describedby": n,
|
|
@@ -670,7 +671,7 @@ function _e({
|
|
|
670
671
|
{
|
|
671
672
|
size: "sm",
|
|
672
673
|
value: typeof s == "string" ? s : "",
|
|
673
|
-
onChange: (
|
|
674
|
+
onChange: (o) => a(o),
|
|
674
675
|
tone: m,
|
|
675
676
|
"aria-label": e.label,
|
|
676
677
|
"aria-invalid": r || void 0,
|
|
@@ -685,7 +686,7 @@ function _e({
|
|
|
685
686
|
{
|
|
686
687
|
size: "sm",
|
|
687
688
|
value: typeof s == "string" ? s : "",
|
|
688
|
-
onChange: (
|
|
689
|
+
onChange: (o) => a(o),
|
|
689
690
|
tone: m,
|
|
690
691
|
"aria-label": e.label,
|
|
691
692
|
"aria-invalid": r || void 0,
|
|
@@ -705,7 +706,7 @@ function _e({
|
|
|
705
706
|
size: "sm",
|
|
706
707
|
country: "it",
|
|
707
708
|
value: typeof s == "string" ? s : "",
|
|
708
|
-
onValueChange: (
|
|
709
|
+
onValueChange: (o) => a(o),
|
|
709
710
|
tone: m,
|
|
710
711
|
disabled: l,
|
|
711
712
|
"aria-label": e.label,
|
|
@@ -720,7 +721,7 @@ function _e({
|
|
|
720
721
|
{
|
|
721
722
|
size: "sm",
|
|
722
723
|
value: typeof s == "string" ? s : "",
|
|
723
|
-
onValueChange: (
|
|
724
|
+
onValueChange: (o) => a(o),
|
|
724
725
|
tone: m,
|
|
725
726
|
disabled: l,
|
|
726
727
|
"aria-label": e.label,
|
|
@@ -735,8 +736,8 @@ function _e({
|
|
|
735
736
|
{
|
|
736
737
|
size: "sm",
|
|
737
738
|
country: "it",
|
|
738
|
-
|
|
739
|
-
onValueChange: (
|
|
739
|
+
ref: y.ref,
|
|
740
|
+
onValueChange: y.quiet((o) => a(o)),
|
|
740
741
|
"aria-label": e.label,
|
|
741
742
|
"aria-invalid": r || void 0,
|
|
742
743
|
"aria-describedby": n,
|
|
@@ -749,8 +750,8 @@ function _e({
|
|
|
749
750
|
ce,
|
|
750
751
|
{
|
|
751
752
|
size: "sm",
|
|
752
|
-
|
|
753
|
-
onValueChange: (
|
|
753
|
+
ref: y.ref,
|
|
754
|
+
onValueChange: y.quiet((o) => a(o)),
|
|
754
755
|
tone: m,
|
|
755
756
|
disabled: l,
|
|
756
757
|
"aria-label": e.label,
|
|
@@ -765,8 +766,8 @@ function _e({
|
|
|
765
766
|
ke,
|
|
766
767
|
{
|
|
767
768
|
size: "sm",
|
|
768
|
-
|
|
769
|
-
onChange: (
|
|
769
|
+
ref: y.ref,
|
|
770
|
+
onChange: y.quiet((o) => a(o.target.value)),
|
|
770
771
|
tone: m,
|
|
771
772
|
"aria-label": e.label,
|
|
772
773
|
"aria-invalid": r || void 0,
|
|
@@ -781,11 +782,11 @@ function _e({
|
|
|
781
782
|
);
|
|
782
783
|
}
|
|
783
784
|
}
|
|
784
|
-
function
|
|
785
|
+
function He({
|
|
785
786
|
text: e,
|
|
786
787
|
label: s
|
|
787
788
|
}) {
|
|
788
|
-
const { t: a } = A("ui"), [r, n] =
|
|
789
|
+
const { t: a } = A("ui"), [r, n] = P(!1), [h, l] = P(""), c = V(async () => {
|
|
789
790
|
try {
|
|
790
791
|
await navigator.clipboard.writeText(e), n(!0), l(a("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
|
|
791
792
|
n(!1), l("");
|
|
@@ -796,13 +797,13 @@ function Be({
|
|
|
796
797
|
), setTimeout(() => l(""), 3e3);
|
|
797
798
|
}
|
|
798
799
|
}, [e, a]);
|
|
799
|
-
return /* @__PURE__ */
|
|
800
|
+
return /* @__PURE__ */ N(G, { children: [
|
|
800
801
|
/* @__PURE__ */ t(
|
|
801
802
|
I,
|
|
802
803
|
{
|
|
803
804
|
size: "sm",
|
|
804
805
|
intent: "ghost",
|
|
805
|
-
icon: r ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(
|
|
806
|
+
icon: r ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(De, { "aria-hidden": "true" }),
|
|
806
807
|
"aria-label": a("keyValuePair.copy", {
|
|
807
808
|
label: s,
|
|
808
809
|
defaultValue: "Copy {{label}}"
|
|
@@ -814,15 +815,15 @@ function Be({
|
|
|
814
815
|
] });
|
|
815
816
|
}
|
|
816
817
|
export {
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
818
|
+
Me as A,
|
|
819
|
+
Tt as F,
|
|
820
|
+
Te as H,
|
|
821
|
+
_ as N,
|
|
822
|
+
zt as P,
|
|
823
|
+
Ie as S,
|
|
824
|
+
Be as a,
|
|
825
|
+
Oe as b,
|
|
826
|
+
Dt as r,
|
|
827
|
+
St as u
|
|
827
828
|
};
|
|
828
|
-
//# sourceMappingURL=patient-field-row-
|
|
829
|
+
//# sourceMappingURL=patient-field-row-BvZ9luz-.js.map
|