@alfadocs/ui-kit 0.67.1 → 0.69.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-9lJSMMsZ.js → accordion-DnIa7OHX.js} +69 -47
- package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js +2061 -0
- package/dist/_chunks/address-autocomplete-BEX9PXty.js +496 -0
- package/dist/_chunks/{agenda-card.agent-B_R47-c9.js → agenda-card.agent-mTCrkKSZ.js} +6 -1
- package/dist/_chunks/{agenda-tray-T-BumlGZ.js → agenda-tray-g0kg7HwB.js} +36 -24
- package/dist/_chunks/{ai-consent-banner-Dxtx_WAh.js → ai-consent-banner-CXlsNX1c.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-BwEACCPm.js → ai-prompt-input-CuhTo9mh.js} +80 -61
- package/dist/_chunks/{ai-tools-rail-CInA_1-E.js → ai-tools-rail-BA_sqy1A.js} +87 -70
- package/dist/_chunks/{alia-sidebar-Ckv0yCKi.js → alia-sidebar-B47qRQb5.js} +5 -5
- package/dist/_chunks/{anamnesis-card-N8pIKWuS.js → anamnesis-card-DRmE24OQ.js} +2 -2
- package/dist/_chunks/{appointment-tray-BMl89NPW.js → appointment-tray-CZtvtaH-.js} +32 -20
- package/dist/_chunks/{audio-recorder-DjXLP4aF.js → audio-recorder-DYXXnGug.js} +59 -56
- package/dist/_chunks/{autocomplete-CcCFlVf-.js → autocomplete-DOeGouCL.js} +157 -132
- package/dist/_chunks/bishop-score-PJI3AXzA.js +304 -0
- package/dist/_chunks/bmi-calculator-BZtIJ53x.js +434 -0
- package/dist/_chunks/{booking-L8-YP8BJ.js → booking-C3VqFReX.js} +420 -397
- package/dist/_chunks/{breadcrumb-OTbaY70e.js → breadcrumb-CchdeG7d.js} +42 -28
- package/dist/_chunks/{calculator-dialog-CFk4I91b.js → calculator-dialog-BR5iU0kf.js} +2 -2
- package/dist/_chunks/{calendar-oYWOCrnf.js → calendar-CZUjL8SZ.js} +258 -201
- package/dist/_chunks/{care-plan-card-BwVUyUBb.js → care-plan-card-CvFGXa2z.js} +10 -6
- package/dist/_chunks/{care-plan-entry-card-VzdQHcOL.js → care-plan-entry-card-C3E_gClk.js} +17 -13
- package/dist/_chunks/{carousel.agent-vt21A_el.js → carousel.agent-4v8Emr9E.js} +219 -198
- package/dist/_chunks/{chart-Cg3e9EH9.js → chart-CMr3eW62.js} +150 -109
- package/dist/_chunks/{chat-container-ogB4OskO.js → chat-container-DWho5hPR.js} +47 -34
- package/dist/_chunks/{chat-input-B5zjNEUN.js → chat-input-BcXTetgM.js} +57 -41
- package/dist/_chunks/{checkbox-DRcOdmXv.js → checkbox-BuZ1u__2.js} +41 -27
- package/dist/_chunks/{checkbox-group-CpUwlHug.js → checkbox-group-PqNmQ-cE.js} +3 -3
- package/dist/_chunks/{clinical-note-card-gtrxv6zn.js → clinical-note-card-DqQYf_D4.js} +2 -2
- package/dist/_chunks/{collapsible-X3oaLPU3.js → collapsible-BrnRiCC6.js} +26 -23
- package/dist/_chunks/{color-picker-FXpItIaF.js → color-picker-C_fZl6sA.js} +124 -112
- package/dist/_chunks/{combobox-BC-DFx8G.js → combobox-Clum7gJ1.js} +165 -128
- package/dist/_chunks/{command-palette-BiPAAno-.js → command-palette-CJzmc5pC.js} +87 -64
- package/dist/_chunks/{contact-profile-card-7BMB85T6.js → contact-profile-card-Dramqa9C.js} +13 -11
- package/dist/_chunks/{copy-field-CCq7j6Zc.js → copy-field-Bjw9u2cV.js} +42 -35
- package/dist/_chunks/counter-dRlTNC_y.js +55 -0
- package/dist/_chunks/{cycle-calculator-BF0ointe.js → cycle-calculator-DmRGJNaT.js} +3 -3
- package/dist/_chunks/{date-picker-oGg5BnXL.js → date-picker-Dl9RKxaV.js} +76 -57
- package/dist/_chunks/{date-range-picker-C5BWfH_T.js → date-range-picker-CTUeR6Bj.js} +73 -46
- package/dist/_chunks/{date-time-picker-Ze1My59T.js → date-time-picker-BhoogS5Q.js} +64 -40
- package/dist/_chunks/{dependent-selector-DpzGtr_J.js → dependent-selector-CG_FOHya.js} +44 -30
- package/dist/_chunks/{dialog-DMGnSelc.js → dialog-ZNuboNmy.js} +35 -28
- package/dist/_chunks/{document-scanner-D2qehl3-.js → document-scanner-CTubA0-N.js} +12 -4
- package/dist/_chunks/{dropdown-menu-DwwPovMZ.js → dropdown-menu-qrxjymfw.js} +94 -93
- package/dist/_chunks/{due-date-calculator-DU9AEWNy.js → due-date-calculator-BTmsIQqD.js} +4 -4
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +448 -0
- package/dist/_chunks/{email-input-lQivsFrw.js → email-input-B_Y55f5G.js} +3 -3
- package/dist/_chunks/{fetal-weight-BVSzOhuR.js → fetal-weight-CRz7KE2D.js} +2 -2
- package/dist/_chunks/{file-upload-BosbPDb1.js → file-upload-5ScQd4fE.js} +118 -100
- package/dist/_chunks/{fiscal-code-input-DPtqluVb.js → fiscal-code-input-Cf-8O4Fj.js} +76 -63
- package/dist/_chunks/{freemium-paywall-CkWjv3o6.js → freemium-paywall-DZ2mBS3w.js} +78 -71
- package/dist/_chunks/{gestational-age-calculator-DBlFdoiP.js → gestational-age-calculator-BleUdhbI.js} +5 -5
- package/dist/_chunks/{hcg-doubling-if4Q8aSX.js → hcg-doubling-CnjDXX6U.js} +3 -3
- package/dist/_chunks/{header-settings-CNOqIhoW.js → header-settings-DJqoAl5m.js} +86 -46
- package/dist/_chunks/{index.modern-D2LGACWg.js → index.modern-Zta-A4Jm.js} +3 -3
- package/dist/_chunks/{list-BOwqwy03.js → list-DgE1xWBM.js} +99 -84
- package/dist/_chunks/{locale-picker-C9JmBht3.js → locale-picker-ChYYSX2N.js} +47 -35
- package/dist/_chunks/{map-view-Tb5VfK9Y.js → map-view-BkOoGoX2.js} +160 -115
- package/dist/_chunks/{marketplace-app-shell-D4-T9Qzz.js → marketplace-app-shell-6T9W4Knl.js} +4 -4
- package/dist/_chunks/{message-card.agent-4IeIgrnJ.js → message-card.agent-ZLhx3Bs5.js} +6 -1
- package/dist/_chunks/{message-tray-CVyJajVJ.js → message-tray-DwrBLJlf.js} +90 -48
- package/dist/_chunks/{multi-select-BcPylvHR.js → multi-select-BdHHDrRN.js} +196 -153
- package/dist/_chunks/{navigation-menu-C6lBYVv9.js → navigation-menu-DRUi6sSj.js} +75 -42
- package/dist/_chunks/{notification-card.agent-Rqt3ofk9.js → notification-card.agent-DxGBZb8T.js} +5 -1
- package/dist/_chunks/{notification-tray-DlgenTEe.js → notification-tray-Btb9oQeZ.js} +112 -97
- package/dist/_chunks/{number-input-Dj5L3pXK.js → number-input-DxphVG_A.js} +36 -27
- package/dist/_chunks/{operator-hero-f_KaRhw5.js → operator-hero-CP2Nhupm.js} +12 -8
- package/dist/_chunks/{otp-input-xQ4Ps5VY.js → otp-input-DzBQ-CpE.js} +52 -33
- package/dist/_chunks/{pagination-DQOgnxxw.js → pagination-D58kglCr.js} +181 -162
- package/dist/_chunks/{patient-search-DR9XUYRQ.js → patient-search-CBC_ySF6.js} +69 -60
- package/dist/_chunks/{patient-shell-BfgufL_q.js → patient-shell-DV3XEtIB.js} +3 -3
- package/dist/_chunks/{patient-summary-card-hEmr4eTW.js → patient-summary-card-B836_fDB.js} +95 -103
- package/dist/_chunks/patient-table-CDuosVru.js +889 -0
- package/dist/_chunks/{payment-form-nXocS_MX.js → payment-form-DvjwYVIT.js} +56 -44
- package/dist/_chunks/{payment-request-card-CYE5vhZ0.js → payment-request-card-DioWKBUq.js} +2 -2
- package/dist/_chunks/{pdf-viewer-GsfNqeeT.js → pdf-viewer-D6BPfW2D.js} +205 -157
- package/dist/_chunks/{periodontal-chart-card-Dh3KgvYG.js → periodontal-chart-card-BuDEMbHE.js} +2 -2
- package/dist/_chunks/{phone-input-DVXhNlIl.js → phone-input-DjU-XmO_.js} +64 -47
- package/dist/_chunks/{popover-DTbfAuR0.js → popover-B2qCDhJC.js} +37 -32
- package/dist/_chunks/{practice-results-DND2SAt7.js → practice-results-KrTHqZua.js} +278 -242
- package/dist/_chunks/{pregnancy-dating-QY-sqpvj.js → pregnancy-dating-DORUAOHB.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-DOJXXNYP.js → pregnancy-weight-gain-DVz4rr7-.js} +3 -3
- package/dist/_chunks/{privacy-lock-C7JyMf0y.js → privacy-lock-BzMLQu-j.js} +32 -28
- package/dist/_chunks/{product-hub-panel-CAXDFeGP.js → product-hub-panel-e6pW220e.js} +45 -27
- package/dist/_chunks/{progress-kzIRcdaq.js → progress-DA413-zn.js} +2 -2
- package/dist/_chunks/{public-footer.agent-CfXuW1x6.js → public-footer.agent-D0cFbjWl.js} +151 -146
- package/dist/_chunks/{public-header.agent-BOhJgZEU.js → public-header.agent-DqkqA-ca.js} +107 -102
- package/dist/_chunks/{qr-code-DNXhi6se.js → qr-code-CPkEs5mG.js} +52 -46
- package/dist/_chunks/{radio-group-CLjK-SlK.js → radio-group-BPt7pKZW.js} +5 -5
- package/dist/_chunks/{recaptcha-widget-BCNHsgqt.js → recaptcha-widget-BC-4To9b.js} +9 -2
- package/dist/_chunks/registry-DvAUVLHh.js +51 -0
- package/dist/_chunks/{resizable-3vzqDlg6.js → resizable-DVGcfOrk.js} +193 -173
- package/dist/_chunks/{reviews-panel-DBktKm7i.js → reviews-panel-Dq7LMDcH.js} +87 -68
- package/dist/_chunks/rich-text-editor-BsV7zUdg.js +2142 -0
- package/dist/_chunks/{search-bar-SY2BcV2N.js → search-bar-C_T3pBJn.js} +105 -78
- package/dist/_chunks/{search-input-DbxrnHkW.js → search-input-DQvGxR74.js} +2 -2
- package/dist/_chunks/{search-input.agent-CfZvViOd.js → search-input.agent-DRH54coT.js} +19 -4
- package/dist/_chunks/{select-CEtRcon5.js → select-DMLG44F5.js} +72 -56
- package/dist/_chunks/{session-countdown-LPnhTHjn.js → session-countdown-X1Ki6i0M.js} +3 -3
- package/dist/_chunks/{sheet-taJer-Ha.js → sheet-BxsE7eQm.js} +59 -45
- package/dist/_chunks/{sidebar-DaB4ulxH.js → sidebar-DY9jGjgt.js} +254 -248
- package/dist/_chunks/{sign-document-CdAiHiCh.js → sign-document-B4DeRhTe.js} +75 -49
- package/dist/_chunks/{signature-capture-COi0Uiqu.js → signature-capture-Ct_4Md4e.js} +138 -104
- package/dist/_chunks/{slider-BHWzXdjt.js → slider-DN1CWkKB.js} +85 -65
- package/dist/_chunks/{sparkline-DGhCSw8M.js → sparkline-iOXYgvJe.js} +75 -53
- package/dist/_chunks/{stepper-accordion.agent-C4quJ-MD.js → stepper-accordion.agent-cmEguIdx.js} +7 -1
- package/dist/_chunks/{stepper-progress-DDjq5nei.js → stepper-progress-Bv0njx4g.js} +30 -24
- package/dist/_chunks/{suggestion-chip.agent-6sNWFj7m.js → suggestion-chip.agent-Brn3CiFE.js} +9 -8
- package/dist/_chunks/{switch-BJ6HD3Mn.js → switch-OILsBLWo.js} +25 -19
- package/dist/_chunks/{tabs-BIQ0ew1T.js → tabs-BxcOziCo.js} +67 -58
- package/dist/_chunks/{task-card.agent-CUPKYd7w.js → task-card.agent-Bt14CzUd.js} +4 -1
- package/dist/_chunks/{task-tray-CAncV-QQ.js → task-tray-qOEQflu4.js} +74 -57
- package/dist/_chunks/{text-area-BIx0tZ05.js → text-area-Bt3p7Pt0.js} +41 -34
- package/dist/_chunks/{text-input-BaClJL8Y.js → text-input-B-OWQ1Je.js} +15 -8
- package/dist/_chunks/{theme-toggle-DETmSu_h.js → theme-toggle-XB6o_lgs.js} +38 -26
- package/dist/_chunks/{time-picker-B5umYwfv.js → time-picker-BPlJWm8w.js} +41 -31
- package/dist/_chunks/{timeline-DQa5Tyz4.js → timeline-CqA4nKTI.js} +33 -25
- package/dist/_chunks/{toast.agent-vuLRRn2a.js → toast.agent-57UzyR9U.js} +62 -45
- package/dist/_chunks/{tooth-scheme-BIx1O2aJ.js → tooth-scheme-yBr53cvv.js} +421 -348
- package/dist/_chunks/{transcript-panel-CLHmv83g.js → transcript-panel-3THQX6nJ.js} +47 -33
- package/dist/_chunks/unit-converter-YEpD9evj.js +337 -0
- package/dist/_chunks/{use-password-requirements-DsgduV1x.js → use-password-requirements-BXvS2MBS.js} +131 -117
- package/dist/_chunks/users-MBVtUzwd.js +17 -0
- package/dist/_chunks/warning-stack-BsgaEbL8.js +283 -0
- package/dist/_chunks/{whatsapp-button-DUjlWGKf.js → whatsapp-button-BIy6NaJK.js} +6 -3
- package/dist/_chunks/{workflow-map-JAZryZJr.js → workflow-map-Bdam9pGp.js} +99 -88
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +36 -0
- package/dist/agent/registry.d.ts +33 -0
- package/dist/agent/types.d.ts +78 -2
- package/dist/agent-catalog.json +6905 -509
- package/dist/agent-i18n/en.json +1175 -0
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/address-autocomplete.agent.d.ts +4 -0
- package/dist/components/address-autocomplete/address-autocomplete.d.ts +18 -0
- package/dist/components/address-autocomplete/index.d.ts +2 -1
- package/dist/components/address-autocomplete/index.js +3 -2
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/bishop-score.agent.d.ts +4 -0
- package/dist/components/bishop-score/bishop-score.d.ts +17 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/bmi-calculator.agent.d.ts +4 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +26 -0
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/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/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/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/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/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/counter/counter.d.ts +22 -0
- package/dist/components/counter/index.d.ts +3 -0
- package/dist/components/counter/index.js +5 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +1 -1
- package/dist/components/data-table/filters/date-range-filter.d.ts +1 -1
- package/dist/components/data-table/index.js +31 -30
- package/dist/components/data-table/toolbar.d.ts +4 -1
- package/dist/components/date-picker/index.js +1 -1
- 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/dialog/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 +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +6 -0
- 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-settings/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/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/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/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/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/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/cell-renderers/balance-badge-cell.d.ts +13 -0
- package/dist/components/patient-table/cell-renderers/care-plan-status-cell.d.ts +43 -0
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +45 -0
- package/dist/components/patient-table/cell-renderers/next-appointment-cell.d.ts +24 -0
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +26 -0
- package/dist/components/patient-table/columns.d.ts +102 -0
- package/dist/components/patient-table/index.d.ts +24 -0
- package/dist/components/patient-table/index.js +13 -0
- package/dist/components/patient-table/patient-table.d.ts +138 -0
- package/dist/components/patient-table/types.d.ts +172 -0
- package/dist/components/patient-table/use-responsive-columns.d.ts +109 -0
- 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-card/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/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/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/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +15 -0
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +2 -2
- package/dist/components/select/index.js +1 -1
- 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/sidebar/sidebar.d.ts +7 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/stepper-progress/index.js +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/switch/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-tray/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/timeline/index.js +1 -1
- package/dist/components/toast/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/unit-converter/index.js +1 -1
- package/dist/components/unit-converter/unit-converter.agent.d.ts +4 -0
- package/dist/components/unit-converter/unit-converter.d.ts +27 -0
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts +9 -0
- package/dist/components/whatsapp-button/index.d.ts +1 -1
- package/dist/components/whatsapp-button/index.js +3 -2
- package/dist/components/whatsapp-button/whatsapp-button.d.ts +3 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +74 -0
- package/dist/i18n/locales/ar.js +76 -2
- package/dist/i18n/locales/de.d.ts +74 -0
- package/dist/i18n/locales/de.js +76 -2
- package/dist/i18n/locales/el.d.ts +74 -0
- package/dist/i18n/locales/el.js +76 -2
- package/dist/i18n/locales/en.d.ts +92 -0
- package/dist/i18n/locales/en.js +94 -2
- package/dist/i18n/locales/es.d.ts +74 -0
- package/dist/i18n/locales/es.js +76 -2
- package/dist/i18n/locales/fr.d.ts +74 -0
- package/dist/i18n/locales/fr.js +76 -2
- package/dist/i18n/locales/hi.d.ts +74 -0
- package/dist/i18n/locales/hi.js +76 -2
- package/dist/i18n/locales/it.d.ts +74 -0
- package/dist/i18n/locales/it.js +76 -2
- package/dist/i18n/locales/ja.d.ts +74 -0
- package/dist/i18n/locales/ja.js +76 -2
- package/dist/i18n/locales/nl.d.ts +74 -0
- package/dist/i18n/locales/nl.js +76 -2
- package/dist/i18n/locales/pl.d.ts +74 -0
- package/dist/i18n/locales/pl.js +76 -2
- package/dist/i18n/locales/pt.d.ts +74 -0
- package/dist/i18n/locales/pt.js +76 -2
- package/dist/i18n/locales/ro.d.ts +74 -0
- package/dist/i18n/locales/ro.js +76 -2
- package/dist/i18n/locales/ru.d.ts +74 -0
- package/dist/i18n/locales/ru.js +76 -2
- package/dist/i18n/locales/sq.d.ts +74 -0
- package/dist/i18n/locales/sq.js +76 -2
- package/dist/i18n/locales/sv.d.ts +74 -0
- package/dist/i18n/locales/sv.js +76 -2
- package/dist/i18n/locales/tr.d.ts +74 -0
- package/dist/i18n/locales/tr.js +76 -2
- package/dist/i18n/locales/zh.d.ts +74 -0
- package/dist/i18n/locales/zh.js +76 -2
- package/dist/index.js +688 -673
- package/dist/locales/ar.json +76 -2
- package/dist/locales/de.json +76 -2
- package/dist/locales/el.json +76 -2
- package/dist/locales/en.json +76 -2
- package/dist/locales/es.json +76 -2
- package/dist/locales/fr.json +76 -2
- package/dist/locales/hi.json +76 -2
- package/dist/locales/it.json +76 -2
- package/dist/locales/ja.json +76 -2
- package/dist/locales/nl.json +76 -2
- package/dist/locales/pl.json +76 -2
- package/dist/locales/pt.json +76 -2
- package/dist/locales/ro.json +76 -2
- package/dist/locales/ru.json +76 -2
- package/dist/locales/sq.json +76 -2
- package/dist/locales/sv.json +76 -2
- package/dist/locales/tr.json +76 -2
- package/dist/locales/zh.json +76 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +3 -2
- package/package.json +14 -1
- package/dist/_chunks/address-autocomplete-CT-9AOli.js +0 -358
- package/dist/_chunks/bishop-score-CjsB9bM-.js +0 -185
- package/dist/_chunks/bmi-calculator-n-823_1V.js +0 -258
- package/dist/_chunks/editable-currency-cell-renderer-D1ewvJKO.js +0 -2391
- package/dist/_chunks/registry-nPAVE19X.js +0 -21
- package/dist/_chunks/rich-text-editor-DAeCXiQG.js +0 -1973
- package/dist/_chunks/unit-converter-C1V3ACM9.js +0 -196
- package/dist/_chunks/warning-stack-Cv4fr5zo.js +0 -220
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
1
|
+
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as de, useRef as N, useEffect as V, useMemo as X, useImperativeHandle as ce, useState as W, useCallback as z, useId as le } from "react";
|
|
3
3
|
import { c as T } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as j } from "react-i18next";
|
|
5
|
-
import { A as se } from "./autocomplete-
|
|
5
|
+
import { A as se } from "./autocomplete-DOeGouCL.js";
|
|
6
6
|
import { B as ue } from "./button-DD_0Xdmr.js";
|
|
7
7
|
import { C as M } from "./card-DPmk26CL.js";
|
|
8
|
-
import { S as fe } from "./slider-
|
|
8
|
+
import { S as fe } from "./slider-DN1CWkKB.js";
|
|
9
9
|
import { A as Z } from "./alert-_mUKLmwA.js";
|
|
10
|
-
import { D as F } from "./dropdown-menu-
|
|
11
|
-
import { u as pe } from "./registry-
|
|
10
|
+
import { D as F } from "./dropdown-menu-qrxjymfw.js";
|
|
11
|
+
import { u as pe } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { S as re } from "./search-BonnQsHv.js";
|
|
13
13
|
import { X as ne } from "./x-CCcI3eJp.js";
|
|
14
14
|
import { c as me } from "./createLucideIcon-CrFbzy84.js";
|
|
@@ -28,9 +28,16 @@ const be = [
|
|
|
28
28
|
["line", { x1: "12", x2: "12", y1: "19", y2: "22", key: "x3vr5v" }],
|
|
29
29
|
["circle", { cx: "12", cy: "12", r: "7", key: "fim9np" }],
|
|
30
30
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
31
|
-
],
|
|
31
|
+
], ye = me("locate-fixed", be), xe = {
|
|
32
32
|
id: "patient-search",
|
|
33
|
-
|
|
33
|
+
// `filter` is the conceptual capability of this search widget. Building the
|
|
34
|
+
// actual query (WHO/WHERE/WHEN/facets/geo) is host-delegated: selection is
|
|
35
|
+
// owned by the consumer via the `value` / `onChange` contract, so the agent
|
|
36
|
+
// surface here is limited to clearing the query (`reset`) and focusing the
|
|
37
|
+
// primary field. The previous `navigate` / `view_change` capabilities were
|
|
38
|
+
// spurious — the variant is fixed by props (not agent-settable) and no
|
|
39
|
+
// action navigates.
|
|
40
|
+
capabilities: ["filter"],
|
|
34
41
|
state: {
|
|
35
42
|
variant: {
|
|
36
43
|
type: "string",
|
|
@@ -42,16 +49,18 @@ const be = [
|
|
|
42
49
|
actions: {
|
|
43
50
|
reset: {
|
|
44
51
|
safety: "write",
|
|
52
|
+
idempotent: !0,
|
|
45
53
|
descriptionKey: "ui.agent.patientSearch.actions.reset",
|
|
46
|
-
description: "Clear the current
|
|
54
|
+
description: "Clear the current search query (WHO, WHERE, WHEN, facets, geo) via the consumer-owned onChange.",
|
|
47
55
|
invoke: (e) => {
|
|
48
56
|
e.reset();
|
|
49
57
|
}
|
|
50
58
|
},
|
|
51
59
|
focus_primary: {
|
|
52
60
|
safety: "read",
|
|
61
|
+
idempotent: !0,
|
|
53
62
|
descriptionKey: "ui.agent.patientSearch.actions.focusPrimary",
|
|
54
|
-
description: "Move keyboard focus to the most-relevant field for the current variant.",
|
|
63
|
+
description: "Move keyboard focus to the most-relevant search field for the current variant.",
|
|
55
64
|
invoke: (e) => {
|
|
56
65
|
e.focusPrimary();
|
|
57
66
|
}
|
|
@@ -175,7 +184,7 @@ const ee = [
|
|
|
175
184
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
176
185
|
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
177
186
|
].join(" ");
|
|
178
|
-
function
|
|
187
|
+
function q({
|
|
179
188
|
value: e,
|
|
180
189
|
onChange: s,
|
|
181
190
|
loadPlaces: t,
|
|
@@ -187,18 +196,18 @@ function $({
|
|
|
187
196
|
var P, B, C, E;
|
|
188
197
|
const { t: u } = j(), [c, r] = W(((P = e.place) == null ? void 0 : P.label) ?? ""), l = N((B = e.place) == null ? void 0 : B.value), n = e.geo ? "granted" : "pristine", [d, f] = W(n);
|
|
189
198
|
V(() => {
|
|
190
|
-
var
|
|
191
|
-
((
|
|
199
|
+
var y, w, k;
|
|
200
|
+
((y = e.place) == null ? void 0 : y.value) !== l.current && (l.current = (w = e.place) == null ? void 0 : w.value, r(((k = e.place) == null ? void 0 : k.label) ?? ""));
|
|
192
201
|
}, [(C = e.place) == null ? void 0 : C.value, (E = e.place) == null ? void 0 : E.label]);
|
|
193
202
|
const m = z(
|
|
194
|
-
async (
|
|
203
|
+
async (y, { signal: w }) => await t(y, { signal: w }),
|
|
195
204
|
[t]
|
|
196
|
-
), b = (
|
|
205
|
+
), b = (y) => {
|
|
197
206
|
const w = {
|
|
198
|
-
value:
|
|
199
|
-
label:
|
|
200
|
-
lat:
|
|
201
|
-
lng:
|
|
207
|
+
value: y.value,
|
|
208
|
+
label: y.label,
|
|
209
|
+
lat: y.lat,
|
|
210
|
+
lng: y.lng
|
|
202
211
|
};
|
|
203
212
|
r(w.label), l.current = w.value, s({ ...e, place: w, geo: void 0 }), d === "granted" && f("pristine"), _("patient_search_place_selected", { value: w.value }), i == null || i(w);
|
|
204
213
|
}, h = () => {
|
|
@@ -207,8 +216,8 @@ function $({
|
|
|
207
216
|
return;
|
|
208
217
|
}
|
|
209
218
|
f("requesting"), _("patient_search_place_focused"), navigator.geolocation.getCurrentPosition(
|
|
210
|
-
async (
|
|
211
|
-
const { latitude: w, longitude: k } =
|
|
219
|
+
async (y) => {
|
|
220
|
+
const { latitude: w, longitude: k } = y.coords;
|
|
212
221
|
let R;
|
|
213
222
|
try {
|
|
214
223
|
R = await (g == null ? void 0 : g(w, k));
|
|
@@ -239,7 +248,7 @@ function $({
|
|
|
239
248
|
);
|
|
240
249
|
}, o = () => {
|
|
241
250
|
s({ ...e, geo: void 0, place: void 0 }), r(""), l.current = void 0, f("pristine");
|
|
242
|
-
}, S = d === "granted" && !!e.geo, G = d === "requesting", L = d === "denied", D = N(!1), Q = L || !!!g ? null : /* @__PURE__ */
|
|
251
|
+
}, S = d === "granted" && !!e.geo, G = d === "requesting", L = d === "denied", D = N(!1), Q = L || !!!g ? null : /* @__PURE__ */ x("span", { className: "ds:absolute ds:end-[var(--spacing-xs)] ds:top-1/2 ds:-translate-y-1/2 ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
243
252
|
S ? /* @__PURE__ */ a(
|
|
244
253
|
"button",
|
|
245
254
|
{
|
|
@@ -259,11 +268,11 @@ function $({
|
|
|
259
268
|
disabled: G,
|
|
260
269
|
onClick: S ? o : h,
|
|
261
270
|
className: ee,
|
|
262
|
-
children: /* @__PURE__ */ a(
|
|
271
|
+
children: /* @__PURE__ */ a(ye, { "aria-hidden": "true", className: "ds:size-4" })
|
|
263
272
|
}
|
|
264
273
|
)
|
|
265
274
|
] });
|
|
266
|
-
return /* @__PURE__ */
|
|
275
|
+
return /* @__PURE__ */ x(
|
|
267
276
|
"div",
|
|
268
277
|
{
|
|
269
278
|
"data-component": "patient-search-field",
|
|
@@ -271,19 +280,19 @@ function $({
|
|
|
271
280
|
onFocus: () => {
|
|
272
281
|
D.current || (D.current = !0, _("patient_search_place_focused"));
|
|
273
282
|
},
|
|
274
|
-
onBlur: (
|
|
275
|
-
|
|
283
|
+
onBlur: (y) => {
|
|
284
|
+
y.currentTarget && !y.currentTarget.contains(y.relatedTarget) && (D.current = !1);
|
|
276
285
|
},
|
|
277
286
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
278
287
|
children: [
|
|
279
|
-
/* @__PURE__ */
|
|
288
|
+
/* @__PURE__ */ x("div", { className: "ds:relative", children: [
|
|
280
289
|
/* @__PURE__ */ a(
|
|
281
290
|
se,
|
|
282
291
|
{
|
|
283
292
|
ref: p,
|
|
284
293
|
value: c,
|
|
285
|
-
onChange: (
|
|
286
|
-
r(
|
|
294
|
+
onChange: (y) => {
|
|
295
|
+
r(y), e.place && y !== e.place.label && (l.current = void 0, s({ ...e, place: void 0, geo: void 0 }), d === "granted" && f("pristine"));
|
|
287
296
|
},
|
|
288
297
|
onSelect: b,
|
|
289
298
|
loadOptions: m,
|
|
@@ -319,7 +328,7 @@ function $({
|
|
|
319
328
|
}
|
|
320
329
|
);
|
|
321
330
|
}
|
|
322
|
-
function
|
|
331
|
+
function $({
|
|
323
332
|
value: e,
|
|
324
333
|
onChange: s,
|
|
325
334
|
defaultRadiusKm: t = Y
|
|
@@ -338,7 +347,7 @@ function q({
|
|
|
338
347
|
const r = O[Math.round(c)] ?? t;
|
|
339
348
|
return i("patientSearch.geo.radiusFormat", { km: r });
|
|
340
349
|
};
|
|
341
|
-
return /* @__PURE__ */
|
|
350
|
+
return /* @__PURE__ */ x(
|
|
342
351
|
"div",
|
|
343
352
|
{
|
|
344
353
|
"data-component": "patient-search-geo-radius-bar",
|
|
@@ -521,7 +530,7 @@ function ke({ facets: e, value: s, onChange: t }) {
|
|
|
521
530
|
let f;
|
|
522
531
|
r.multi ? f = d ? n.filter((m) => m !== l) : [...n, l] : f = d ? [] : [l], g(r.key, f);
|
|
523
532
|
};
|
|
524
|
-
return /* @__PURE__ */
|
|
533
|
+
return /* @__PURE__ */ x(
|
|
525
534
|
"div",
|
|
526
535
|
{
|
|
527
536
|
role: "group",
|
|
@@ -546,8 +555,8 @@ function ke({ facets: e, value: s, onChange: t }) {
|
|
|
546
555
|
r.key
|
|
547
556
|
);
|
|
548
557
|
const f = d ? ` (${n.length})` : "";
|
|
549
|
-
return /* @__PURE__ */
|
|
550
|
-
/* @__PURE__ */ a(F.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
558
|
+
return /* @__PURE__ */ x(F.Root, { children: [
|
|
559
|
+
/* @__PURE__ */ a(F.Trigger, { asChild: !0, children: /* @__PURE__ */ x(
|
|
551
560
|
"button",
|
|
552
561
|
{
|
|
553
562
|
type: "button",
|
|
@@ -556,7 +565,7 @@ function ke({ facets: e, value: s, onChange: t }) {
|
|
|
556
565
|
state: d ? "active" : "idle"
|
|
557
566
|
}),
|
|
558
567
|
children: [
|
|
559
|
-
/* @__PURE__ */
|
|
568
|
+
/* @__PURE__ */ x("span", { children: [
|
|
560
569
|
r.label,
|
|
561
570
|
f
|
|
562
571
|
] }),
|
|
@@ -583,7 +592,7 @@ function ke({ facets: e, value: s, onChange: t }) {
|
|
|
583
592
|
)) })
|
|
584
593
|
] }, r.key);
|
|
585
594
|
}),
|
|
586
|
-
v ? /* @__PURE__ */
|
|
595
|
+
v ? /* @__PURE__ */ x(
|
|
587
596
|
"button",
|
|
588
597
|
{
|
|
589
598
|
type: "button",
|
|
@@ -657,7 +666,7 @@ function Ce(e, s) {
|
|
|
657
666
|
}
|
|
658
667
|
function Ee({ cards: e }) {
|
|
659
668
|
const { t: s } = j();
|
|
660
|
-
return e.length === 0 ? /* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:m-0", children: s("patientSearch.discovery.empty") }) : /* @__PURE__ */
|
|
669
|
+
return e.length === 0 ? /* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:m-0", children: s("patientSearch.discovery.empty") }) : /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
661
670
|
/* @__PURE__ */ a("h3", { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: s("patientSearch.discovery.heading") }),
|
|
662
671
|
/* @__PURE__ */ a(
|
|
663
672
|
"ul",
|
|
@@ -669,7 +678,7 @@ function Ee({ cards: e }) {
|
|
|
669
678
|
].join(" "),
|
|
670
679
|
children: e.map((t, i) => {
|
|
671
680
|
const p = Ce(t.accent, i);
|
|
672
|
-
return /* @__PURE__ */ a("li", { children: /* @__PURE__ */
|
|
681
|
+
return /* @__PURE__ */ a("li", { children: /* @__PURE__ */ x(
|
|
673
682
|
"a",
|
|
674
683
|
{
|
|
675
684
|
href: t.href,
|
|
@@ -688,7 +697,7 @@ function Ee({ cards: e }) {
|
|
|
688
697
|
className: je({ accent: p })
|
|
689
698
|
}
|
|
690
699
|
),
|
|
691
|
-
/* @__PURE__ */
|
|
700
|
+
/* @__PURE__ */ x("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
692
701
|
/* @__PURE__ */ a(
|
|
693
702
|
"span",
|
|
694
703
|
{
|
|
@@ -777,8 +786,8 @@ function Le(e) {
|
|
|
777
786
|
reverseGeocode: b,
|
|
778
787
|
cardLabel: h
|
|
779
788
|
} = e;
|
|
780
|
-
return /* @__PURE__ */ a(M, { variant: "elevated", "aria-label": h, children: /* @__PURE__ */
|
|
781
|
-
/* @__PURE__ */
|
|
789
|
+
return /* @__PURE__ */ a(M, { variant: "elevated", "aria-label": h, children: /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]", children: [
|
|
790
|
+
/* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:md:flex-row ds:md:items-start", children: [
|
|
782
791
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
783
792
|
H,
|
|
784
793
|
{
|
|
@@ -790,7 +799,7 @@ function Le(e) {
|
|
|
790
799
|
}
|
|
791
800
|
) }),
|
|
792
801
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
793
|
-
|
|
802
|
+
q,
|
|
794
803
|
{
|
|
795
804
|
value: t,
|
|
796
805
|
onChange: i,
|
|
@@ -814,7 +823,7 @@ function Le(e) {
|
|
|
814
823
|
)
|
|
815
824
|
] }),
|
|
816
825
|
/* @__PURE__ */ a(
|
|
817
|
-
|
|
826
|
+
$,
|
|
818
827
|
{
|
|
819
828
|
value: t,
|
|
820
829
|
onChange: i,
|
|
@@ -842,8 +851,8 @@ function De(e) {
|
|
|
842
851
|
reverseGeocode: b,
|
|
843
852
|
cardLabel: h
|
|
844
853
|
} = e;
|
|
845
|
-
return /* @__PURE__ */ a(M, { variant: "elevated", "aria-label": h, children: /* @__PURE__ */
|
|
846
|
-
/* @__PURE__ */
|
|
854
|
+
return /* @__PURE__ */ a(M, { variant: "elevated", "aria-label": h, children: /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:p-[var(--spacing-md)]", children: [
|
|
855
|
+
/* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:md:flex-row ds:md:items-start", children: [
|
|
847
856
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
848
857
|
H,
|
|
849
858
|
{
|
|
@@ -855,7 +864,7 @@ function De(e) {
|
|
|
855
864
|
}
|
|
856
865
|
) }),
|
|
857
866
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
858
|
-
|
|
867
|
+
q,
|
|
859
868
|
{
|
|
860
869
|
value: t,
|
|
861
870
|
onChange: i,
|
|
@@ -879,7 +888,7 @@ function De(e) {
|
|
|
879
888
|
)
|
|
880
889
|
] }),
|
|
881
890
|
/* @__PURE__ */ a(
|
|
882
|
-
|
|
891
|
+
$,
|
|
883
892
|
{
|
|
884
893
|
value: t,
|
|
885
894
|
onChange: i,
|
|
@@ -915,8 +924,8 @@ function Pe(e) {
|
|
|
915
924
|
reverseGeocode: h,
|
|
916
925
|
cardLabel: o
|
|
917
926
|
} = e;
|
|
918
|
-
return /* @__PURE__ */ a(M, { variant: "elevated", "aria-label": o, children: /* @__PURE__ */
|
|
919
|
-
/* @__PURE__ */
|
|
927
|
+
return /* @__PURE__ */ a(M, { variant: "elevated", "aria-label": o, children: /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:p-[var(--spacing-md)]", children: [
|
|
928
|
+
/* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:md:flex-row ds:md:items-start", children: [
|
|
920
929
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
921
930
|
H,
|
|
922
931
|
{
|
|
@@ -928,7 +937,7 @@ function Pe(e) {
|
|
|
928
937
|
}
|
|
929
938
|
) }),
|
|
930
939
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
931
|
-
|
|
940
|
+
q,
|
|
932
941
|
{
|
|
933
942
|
value: t,
|
|
934
943
|
onChange: i,
|
|
@@ -952,7 +961,7 @@ function Pe(e) {
|
|
|
952
961
|
)
|
|
953
962
|
] }),
|
|
954
963
|
/* @__PURE__ */ a(
|
|
955
|
-
|
|
964
|
+
$,
|
|
956
965
|
{
|
|
957
966
|
value: t,
|
|
958
967
|
onChange: i,
|
|
@@ -989,9 +998,9 @@ function Ie(e) {
|
|
|
989
998
|
reverseGeocode: h,
|
|
990
999
|
cardLabel: o
|
|
991
1000
|
} = e;
|
|
992
|
-
return /* @__PURE__ */
|
|
993
|
-
/* @__PURE__ */
|
|
994
|
-
/* @__PURE__ */
|
|
1001
|
+
return /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
|
|
1002
|
+
/* @__PURE__ */ x(M, { variant: "elevated", "aria-label": o, children: [
|
|
1003
|
+
/* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)] ds:md:flex-row ds:md:items-stretch", children: [
|
|
995
1004
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
996
1005
|
H,
|
|
997
1006
|
{
|
|
@@ -1003,7 +1012,7 @@ function Ie(e) {
|
|
|
1003
1012
|
}
|
|
1004
1013
|
) }),
|
|
1005
1014
|
/* @__PURE__ */ a("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ a(
|
|
1006
|
-
|
|
1015
|
+
q,
|
|
1007
1016
|
{
|
|
1008
1017
|
value: t,
|
|
1009
1018
|
onChange: i,
|
|
@@ -1027,7 +1036,7 @@ function Ie(e) {
|
|
|
1027
1036
|
)
|
|
1028
1037
|
] }),
|
|
1029
1038
|
/* @__PURE__ */ a(
|
|
1030
|
-
|
|
1039
|
+
$,
|
|
1031
1040
|
{
|
|
1032
1041
|
value: t,
|
|
1033
1042
|
onChange: i,
|
|
@@ -1080,9 +1089,9 @@ const Oe = de(function({
|
|
|
1080
1089
|
E.current = !0, d({ ...n, facets: {} });
|
|
1081
1090
|
}
|
|
1082
1091
|
}, [s]);
|
|
1083
|
-
const
|
|
1092
|
+
const y = N(null);
|
|
1084
1093
|
V(() => {
|
|
1085
|
-
|
|
1094
|
+
y.current !== s && (y.current = s, _("patient_search_variant_exposed", { variant: s, country: l }));
|
|
1086
1095
|
}, [s, l]);
|
|
1087
1096
|
const w = X(
|
|
1088
1097
|
() => ({
|
|
@@ -1099,7 +1108,7 @@ const Oe = de(function({
|
|
|
1099
1108
|
}),
|
|
1100
1109
|
[s, d]
|
|
1101
1110
|
);
|
|
1102
|
-
ce(D, () => w, [w]), pe(
|
|
1111
|
+
ce(D, () => w, [w]), pe(xe, w, S);
|
|
1103
1112
|
const k = o ?? J("patientSearch.regionLabel"), R = {
|
|
1104
1113
|
variant: s,
|
|
1105
1114
|
value: n,
|
|
@@ -1153,6 +1162,6 @@ const Oe = de(function({
|
|
|
1153
1162
|
Oe.displayName = "PatientSearch";
|
|
1154
1163
|
export {
|
|
1155
1164
|
Oe as P,
|
|
1156
|
-
|
|
1165
|
+
xe as p
|
|
1157
1166
|
};
|
|
1158
|
-
//# sourceMappingURL=patient-search-
|
|
1167
|
+
//# sourceMappingURL=patient-search-CBC_ySF6.js.map
|
|
@@ -3,10 +3,10 @@ import { forwardRef as w, useState as C } from "react";
|
|
|
3
3
|
import { useTranslation as m } from "react-i18next";
|
|
4
4
|
import { A as y } from "./app-frame-BYx1gcV7.js";
|
|
5
5
|
import { I as H } from "./icon-button-LqoiKcUN.js";
|
|
6
|
-
import { D as n } from "./dropdown-menu-
|
|
6
|
+
import { D as n } from "./dropdown-menu-qrxjymfw.js";
|
|
7
7
|
import { H as B, g as N, f as T, e as k, a as x, c as M, d as O } from "./header-CNszv2WQ.js";
|
|
8
8
|
import { L as P } from "./logo-1FuSGx0n.js";
|
|
9
|
-
import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-
|
|
9
|
+
import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-DY9jGjgt.js";
|
|
10
10
|
import { T as _ } from "./theme-root-BOO73p5t.js";
|
|
11
11
|
import { a as F } from "./tooltip-DvmfrNvB.js";
|
|
12
12
|
import { u as U } from "./use-theme-CAuo6EYT.js";
|
|
@@ -159,4 +159,4 @@ Y.displayName = "PatientShell";
|
|
|
159
159
|
export {
|
|
160
160
|
Y as P
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=patient-shell-
|
|
162
|
+
//# sourceMappingURL=patient-shell-DV3XEtIB.js.map
|