@alfadocs/ui-kit 0.70.0 → 0.72.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-DnIa7OHX.js → accordion-C11v9ouP.js} +2 -2
- package/dist/_chunks/{address-autocomplete-BEX9PXty.js → address-autocomplete-Bq-1n1UX.js} +2 -2
- package/dist/_chunks/address-fields-COyjgqxA.js +246 -0
- package/dist/_chunks/{agenda-card-BQ-IKAru.js → agenda-card-BCGaQazD.js} +2 -2
- package/dist/_chunks/{agenda-tray-CGXRk58j.js → agenda-tray-loL2A3Cx.js} +4 -4
- package/dist/_chunks/{ai-consent-banner-Be-h9mRI.js → ai-consent-banner-Bke9m8VS.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js → ai-prompt-input-TVI95hJD.js} +4 -4
- package/dist/_chunks/{alert-CHYZ96tR.js → alert-KJbsPYkI.js} +8 -8
- package/dist/_chunks/{alia-sidebar-B47qRQb5.js → alia-sidebar-BV5lBSFR.js} +299 -242
- package/dist/_chunks/{anamnesis-card-DvYCa16e.js → anamnesis-card-CWO4Ui9c.js} +4 -4
- package/dist/_chunks/{antenatal-schedule-timeline-CwXrQRm1.js → antenatal-schedule-timeline-CY-VsLok.js} +3 -3
- package/dist/_chunks/{app-frame-BYx1gcV7.js → app-frame-DIEMIC5V.js} +67 -56
- package/dist/_chunks/{appointment-card-C06aZqA7.js → appointment-card-Cy4FOkGP.js} +40 -39
- package/dist/_chunks/{appointment-timeline-BJM0S_Fg.js → appointment-timeline-BWAPPk8F.js} +159 -157
- package/dist/_chunks/{appointment-tray-DRRw5ROi.js → appointment-tray-D3mk04TT.js} +4 -4
- package/dist/_chunks/{ar-Cn5Fq48Z.js → ar-BOqyIfoY.js} +2 -2
- package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
- package/dist/_chunks/{audio-recorder-Cpdk5qpQ.js → audio-recorder-BbjG55dP.js} +9 -9
- package/dist/_chunks/{autocomplete-DOeGouCL.js → autocomplete-BrONKN8l.js} +168 -146
- package/dist/_chunks/{bishop-score-DnYWtZa_.js → bishop-score-C6eoak_j.js} +4 -4
- package/dist/_chunks/{bmi-calculator-zjeY4E7J.js → bmi-calculator-BmQfoEGP.js} +5 -5
- package/dist/_chunks/{booking-DUBI0oqt.js → booking-B62CMY5k.js} +205 -221
- package/dist/_chunks/{breadcrumb-CchdeG7d.js → breadcrumb-agut0PwN.js} +3 -3
- package/dist/_chunks/{button-group-Ciq6J4IW.js → button-group-CvEnVzY7.js} +32 -35
- package/dist/_chunks/{calculator-dialog-BR5iU0kf.js → calculator-dialog-DuXMQSdm.js} +2 -2
- package/dist/_chunks/{calendar-CZUjL8SZ.js → calendar-DeAlFPsF.js} +15 -15
- package/dist/_chunks/{calendar-clock-CYkcqdwl.js → calendar-clock-hbObjfGY.js} +3 -3
- package/dist/_chunks/{calendar-days-C4BmpCZg.js → calendar-days-BGWklvE-.js} +3 -3
- package/dist/_chunks/{care-plan-card-C5sTfY9G.js → care-plan-card-DhXbfGzE.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-CXnxGCWA.js → care-plan-entry-card-D3YGD6rj.js} +5 -5
- package/dist/_chunks/care-plan-header-DtQxyfOb.js +198 -0
- package/dist/_chunks/{carousel.agent-4v8Emr9E.js → carousel.agent-j7hWxJWr.js} +3 -3
- package/dist/_chunks/{chat-container-DWho5hPR.js → chat-container-BVCoN06N.js} +2 -2
- package/dist/_chunks/{chat-input-BcXTetgM.js → chat-input-Btq_uuMZ.js} +5 -5
- package/dist/_chunks/{chat-message-3V54YipB.js → chat-message-DXjjM8z9.js} +31 -29
- package/dist/_chunks/{check-DPdL_Sm7.js → check-DrFSN__t.js} +3 -3
- package/dist/_chunks/{checkbox-group-PqNmQ-cE.js → checkbox-group-CfqMv57d.js} +2 -2
- package/dist/_chunks/{chevron-down-BX_NP2Yh.js → chevron-down-DWE7GSq9.js} +3 -3
- package/dist/_chunks/{chevron-left-CX1jqD2M.js → chevron-left-B8cOyH-V.js} +3 -3
- package/dist/_chunks/{chevron-right-BrpYejk0.js → chevron-right-I9AeSxH2.js} +3 -3
- package/dist/_chunks/{chevron-up-zOEDrmBB.js → chevron-up-umRGgtJA.js} +3 -3
- package/dist/_chunks/{chevrons-right-d9MwesPG.js → chevrons-right-DIHg7Xqi.js} +4 -4
- package/dist/_chunks/{circle-alert-ChA9opNA.js → circle-alert-rGDZ73Wh.js} +3 -3
- package/dist/_chunks/{circle-check-9AeSgJD_.js → circle-check-BN6rz4NV.js} +3 -3
- package/dist/_chunks/{circle-BkqTgYmt.js → circle-j7oZoouK.js} +3 -3
- package/dist/_chunks/{circle-x-Du2CmjaU.js → circle-x-W8Enq3i4.js} +3 -3
- package/dist/_chunks/city-input-towzBenY.js +169 -0
- package/dist/_chunks/{clinical-note-card-BUvNMNGL.js → clinical-note-card-C7F_24IC.js} +9 -9
- package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
- package/dist/_chunks/{clock-21AGPWJ5.js → clock-Drd4Wtis.js} +3 -3
- package/dist/_chunks/{code-block-BBWHhIc8.js → code-block-Cwi7e3HM.js} +3 -3
- package/dist/_chunks/{color-picker-C_fZl6sA.js → color-picker-D-tUwxxT.js} +3 -3
- package/dist/_chunks/{columns-2-BTOBZbep.js → columns-2-8lq4-b8e.js} +3 -3
- package/dist/_chunks/{combobox-Clum7gJ1.js → combobox-DiMLItyu.js} +131 -114
- package/dist/_chunks/{command-palette-CJzmc5pC.js → command-palette-DQl_SNEv.js} +2 -2
- package/dist/_chunks/connection-status-0HajXMXM.js +108 -0
- package/dist/_chunks/{contact-card-Cf8Ktyt3.js → contact-card-0hnFJwrz.js} +3 -3
- package/dist/_chunks/{contact-profile-card-DDPwRFiP.js → contact-profile-card-IggiUVpN.js} +14 -14
- package/dist/_chunks/control-room-rail-DaGcsdZ6.js +333 -0
- package/dist/_chunks/{copy-field-Bjw9u2cV.js → copy-field-PAp0-Wr5.js} +3 -3
- package/dist/_chunks/{copy-B00HK7tj.js → copy-vRpqqHtY.js} +3 -3
- package/dist/_chunks/country-select-DYHDLEjG.js +709 -0
- package/dist/_chunks/{createLucideIcon-CrFbzy84.js → createLucideIcon-DhHxpK9K.js} +8 -8
- package/dist/_chunks/{cycle-calculator-CCmPwcBl.js → cycle-calculator-BNILyVas.js} +10 -10
- package/dist/_chunks/{date-picker-Dl9RKxaV.js → date-picker-CVkD_lOi.js} +3 -3
- package/dist/_chunks/{date-picker-variants-DAcSLTua.js → date-picker-variants-DLg-ZrIo.js} +20 -20
- package/dist/_chunks/{date-range-picker-CTUeR6Bj.js → date-range-picker-Dw12DgV8.js} +4 -4
- package/dist/_chunks/{date-time-picker-BhoogS5Q.js → date-time-picker-Cd_OJtOy.js} +3 -3
- package/dist/_chunks/{de-CrJs4ZsX.js → de-DFLsUxeV.js} +2 -2
- package/dist/_chunks/{dependent-selector-DUV4thxX.js → dependent-selector-DyFpdzZV.js} +2 -2
- package/dist/_chunks/{description-list-gkNGWk5G.js → description-list-CmBVxIF5.js} +3 -3
- package/dist/_chunks/{dialog-ZNuboNmy.js → dialog-UbKJCi1X.js} +2 -2
- package/dist/_chunks/{document-scanner-C_AxLooF.js → document-scanner-B23j4w7X.js} +8 -8
- package/dist/_chunks/{download-CDF1sbL9.js → download-CfYKJO_j.js} +3 -3
- package/dist/_chunks/{dropdown-menu-qrxjymfw.js → dropdown-menu-DU-Hrf33.js} +3 -3
- package/dist/_chunks/{due-date-calculator-Brdj-euS.js → due-date-calculator-CmdAl_JO.js} +7 -7
- package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js +410 -0
- package/dist/_chunks/{editor-overlay-wYm22wZK.js → editor-overlay-BIOzr8v7.js} +2 -2
- package/dist/_chunks/{el-DHdMOIhL.js → el-OVjBKytp.js} +2 -2
- package/dist/_chunks/{ellipsis-rgGdiK_9.js → ellipsis-dRo9ouSU.js} +3 -3
- package/dist/_chunks/{email-input-DJ7EXklP.js → email-input-Dpe63k0K.js} +3 -3
- package/dist/_chunks/entity-summary-DpGziDv5.js +277 -0
- package/dist/_chunks/{es-DCATCfqo.js → es-DKDNrHXG.js} +2 -2
- package/dist/_chunks/{external-link-C6F25E6k.js → external-link-CY6zAXXU.js} +3 -3
- package/dist/_chunks/{eye-LHlSU38h.js → eye-BjhN2nYf.js} +3 -3
- package/dist/_chunks/{eye-off-xEXDAh5z.js → eye-off-C_4xkbRP.js} +3 -3
- package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
- package/dist/_chunks/{fetal-weight-DNCkyeVo.js → fetal-weight-CVAH8sJ3.js} +4 -4
- package/dist/_chunks/field-array-CDzc3hTM.js +146 -0
- package/dist/_chunks/{field-value-NXYczdpO.js → field-value-Dj3i52H2.js} +14 -14
- package/dist/_chunks/{file-spreadsheet-zUkY8rJ2.js → file-spreadsheet-DmwyfV4O.js} +3 -3
- package/dist/_chunks/{file-text-DSNuv2B8.js → file-text-5yv6r2ls.js} +3 -3
- package/dist/_chunks/{file-upload-DwZcAK8D.js → file-upload-Kw1rdvFw.js} +13 -13
- package/dist/_chunks/{finished-terminal-VjZ_-eDD.js → finished-terminal-Di4gtZ50.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-Cf-8O4Fj.js → fiscal-code-input-DKNXFXs3.js} +5 -5
- package/dist/_chunks/{form-field-BOm9hK35.js → form-field-M5UpX65Z.js} +2 -2
- package/dist/_chunks/{fr-BfGEMshF.js → fr-BfMvQh-v.js} +2 -2
- package/dist/_chunks/{freemium-paywall-WYlNO7yT.js → freemium-paywall-DFoeedwh.js} +4 -4
- package/dist/_chunks/{gestational-age-calculator-CF2ISaYQ.js → gestational-age-calculator-BwCBPAGX.js} +9 -9
- package/dist/_chunks/{globe-BkEFMNSg.js → globe-sHBW1JN5.js} +3 -3
- package/dist/_chunks/{grip-vertical-Dlg0_k5C.js → grip-vertical-onSb1JXO.js} +3 -3
- package/dist/_chunks/{hash-CysBBS_N.js → hash-CSQ9SChR.js} +3 -3
- package/dist/_chunks/{hcg-doubling-C7bmuaU3.js → hcg-doubling-CSsWxEJc.js} +5 -5
- package/dist/_chunks/{header-CNszv2WQ.js → header-DaXWDw0M.js} +2 -2
- package/dist/_chunks/{header-settings-DJqoAl5m.js → header-settings-B0G_u-wV.js} +6 -6
- package/dist/_chunks/{heart-C0faivFf.js → heart--qCA4ffe.js} +3 -3
- package/dist/_chunks/{heart-pulse-CvuyFKHB.js → heart-pulse-BCppJyN2.js} +3 -3
- package/dist/_chunks/{hi-CBFRXEIm.js → hi-C0GEMwlD.js} +2 -2
- package/dist/_chunks/iban-input-DXIA8Ln_.js +436 -0
- package/dist/_chunks/icon-picker-Di6uYDG-.js +272 -0
- package/dist/_chunks/{image-C6RM5hfF.js → image-B_5MNK0x.js} +3 -3
- package/dist/_chunks/image-cropper-CdmWFrMC.js +367 -0
- package/dist/_chunks/{info-B9XNKn05.js → info-CGn22peZ.js} +3 -3
- package/dist/_chunks/{insert-result-njqBthzT.js → insert-result-C7xSDb8q.js} +5 -5
- package/dist/_chunks/{isSameWeek-I3DfXUp1.js → isSameWeek-HddDAyJG.js} +2 -2
- package/dist/_chunks/{it-nz6vAKwG.js → it-5f4hiT2e.js} +3 -3
- package/dist/_chunks/{ja-DQcqdAEJ.js → ja-U0_2inl_.js} +2 -2
- package/dist/_chunks/{key-value-pair-BrgbMfbF.js → key-value-pair-Byyyc_9J.js} +3 -3
- package/dist/_chunks/{languages-DsVf_WzT.js → languages-CGLX6Qpe.js} +3 -3
- package/dist/_chunks/{layers-pzGcbLPj.js → layers-DcAENmsZ.js} +3 -3
- package/dist/_chunks/{link-DrD_cRUg.js → link-CPb_pZPr.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-CTXqtXV-.js → link-cell-renderer-BCppbMec.js} +277 -276
- package/dist/_chunks/{locale-picker-ChYYSX2N.js → locale-picker-DzF7Q5Y8.js} +5 -5
- package/dist/_chunks/{lock-CKOIn0IK.js → lock-ClAFG1gy.js} +3 -3
- package/dist/_chunks/{log-out-616hnn2-.js → log-out-oDS6zO5d.js} +3 -3
- package/dist/_chunks/{mail-C8irm52s.js → mail-BqXVF2zH.js} +3 -3
- package/dist/_chunks/{map-pin-B8STOPMJ.js → map-pin-BaY37-Km.js} +3 -3
- package/dist/_chunks/{map-view-BkOoGoX2.js → map-view-ByPvWG_9.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-Skhfp6vK.js → marketplace-app-shell-BCYiOvKZ.js} +10 -10
- package/dist/_chunks/{maximize-2-Cm9OUQ2m.js → maximize-2-BYd2Kti7.js} +3 -3
- package/dist/_chunks/{menu-XRhW3_99.js → menu-Op71AWIC.js} +3 -3
- package/dist/_chunks/message-card-BZnnffyB.js +319 -0
- package/dist/_chunks/{message-circle-C23eicgb.js → message-circle-Bepl9JT5.js} +3 -3
- package/dist/_chunks/{message-tray-DwrBLJlf.js → message-tray-cUHOCdU0.js} +172 -135
- package/dist/_chunks/{mic-B4Gog3Gi.js → mic-CUklMZGF.js} +3 -3
- package/dist/_chunks/{monitor-D-SFdbrU.js → monitor-xXSrufmP.js} +3 -3
- package/dist/_chunks/{multi-select-BdHHDrRN.js → multi-select-D5QLBJM1.js} +77 -65
- package/dist/_chunks/{anatomy-scheme-CJB6dI6p.js → muscle-scheme-B9MIkuj0.js} +415 -1146
- package/dist/_chunks/nav-grid-gRudLsPX.js +169 -0
- package/dist/_chunks/{navigation-menu-DRUi6sSj.js → navigation-menu-D3VndouD.js} +2 -2
- package/dist/_chunks/{nl-L5SuDjyl.js → nl-CDVnnx1U.js} +2 -2
- package/dist/_chunks/notes-panel-CMyjUXD4.js +324 -0
- package/dist/_chunks/notification-card-BHJ07FkH.js +290 -0
- package/dist/_chunks/{notification-tray-AEun6DN2.js → notification-tray-Dzm1c3Wy.js} +202 -167
- package/dist/_chunks/{number-input-DxphVG_A.js → number-input-DjWzmlEY.js} +3 -3
- package/dist/_chunks/{operator-hero-CR0Rqh4-.js → operator-hero-DVy0RGoD.js} +2 -2
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
- package/dist/_chunks/{pagination-D58kglCr.js → pagination-EkD5SiCK.js} +6 -6
- package/dist/_chunks/panel-header-D313n_9-.js +105 -0
- package/dist/_chunks/{patient-details-Dlhqb5ig.js → patient-details-pU_E5xM2.js} +309 -206
- package/dist/_chunks/{patient-search-Be6cLrHR.js → patient-search-X9SUZGpy.js} +11 -11
- package/dist/_chunks/{patient-shell-DV3XEtIB.js → patient-shell-oiIRqEAl.js} +8 -8
- package/dist/_chunks/{patient-summary-card-WySCMwwA.js → patient-summary-card--t3BjTdU.js} +41 -26
- package/dist/_chunks/{patient-table-CHxf3Oqk.js → patient-table-BgWgNIMf.js} +11 -11
- package/dist/_chunks/{payment-form-CxqIXqw7.js → payment-form-DL9xk9BA.js} +2 -2
- package/dist/_chunks/{payment-request-card-BcZJwu9z.js → payment-request-card-2ts7ITxd.js} +14 -14
- package/dist/_chunks/{pdf-viewer-QfebdLOd.js → pdf-viewer-DF3VMaPo.js} +8 -8
- package/dist/_chunks/{pencil-CfQX-0Qc.js → pencil-B1sKKyuT.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-hRRJY1NN.js → periodontal-chart-card-6c6Lt4ws.js} +2 -2
- package/dist/_chunks/permission-matrix-BIJrGEmz.js +174 -0
- package/dist/_chunks/{phone-Bi5yUm4I.js → phone-FceYcIFQ.js} +3 -3
- package/dist/_chunks/{phone-input-DjU-XmO_.js → phone-input-dtnrvnZf.js} +2 -2
- package/dist/_chunks/{pl-YAn5z2wR.js → pl-BWNumNrg.js} +3 -3
- package/dist/_chunks/{plus-CYKNmfuA.js → plus-DzMQ_c6b.js} +3 -3
- package/dist/_chunks/{popover-B2qCDhJC.js → popover-uJ6BvEU3.js} +2 -2
- package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
- package/dist/_chunks/postal-code-input-BznBxVxf.js +192 -0
- package/dist/_chunks/{practice-results-C6qDfxos.js → practice-results-CSEHTH2V.js} +15 -15
- package/dist/_chunks/{pregnancy-dating-CRVWswD-.js → pregnancy-dating-CxVAA6_4.js} +10 -10
- package/dist/_chunks/{pregnancy-weight-gain-BUNpTsH-.js → pregnancy-weight-gain-C7zyrwow.js} +5 -5
- package/dist/_chunks/{printer-CeVEWfQq.js → printer-rkK0T1gi.js} +3 -3
- package/dist/_chunks/{privacy-lock-BzMLQu-j.js → privacy-lock-DrRmK8C7.js} +4 -4
- package/dist/_chunks/{product-hub-panel-e6pW220e.js → product-hub-panel-CaZqttvm.js} +258 -218
- package/dist/_chunks/province-select-BDywtmL-.js +261 -0
- package/dist/_chunks/{pt-D9xdT5KQ.js → pt-zqdQuryr.js} +2 -2
- package/dist/_chunks/{public-footer.agent-D0cFbjWl.js → public-footer.agent-BKkK3T3V.js} +3 -3
- package/dist/_chunks/{public-header.agent-DqkqA-ca.js → public-header.agent-C-opZaOw.js} +5 -5
- package/dist/_chunks/{radio-group-BPt7pKZW.js → radio-group-CI-6SmSw.js} +2 -2
- package/dist/_chunks/radiograph-panel.agent-D1x33moc.js +553 -0
- package/dist/_chunks/{rating-BRD7O74e.js → rating-BYbUowdK.js} +2 -2
- package/dist/_chunks/{refresh-cw-CC8jSKMr.js → refresh-cw-DnI0cLFC.js} +3 -3
- package/dist/_chunks/reviews-panel-liUj6OPX.js +559 -0
- package/dist/_chunks/rich-text-editor-DUgznqOf.js +2621 -0
- package/dist/_chunks/{ro-Cp--52bT.js → ro-CornQr64.js} +2 -2
- package/dist/_chunks/{rotate-ccw-BWANpitO.js → rotate-ccw-BBQnIVTr.js} +3 -3
- package/dist/_chunks/{ru-BM8eX_Zz.js → ru-CKAXNYVD.js} +3 -3
- package/dist/_chunks/{scan-line-lGioFwLC.js → scan-line-CNseIHQ0.js} +3 -3
- package/dist/_chunks/{scroll-area-5wNK0Cyz.js → scroll-area-BZOvUhwQ.js} +2 -2
- package/dist/_chunks/{search-BonnQsHv.js → search-QbWPlY5f.js} +3 -3
- package/dist/_chunks/{search-bar-C_T3pBJn.js → search-bar-CJj6sI9m.js} +3 -3
- package/dist/_chunks/{search-input-DQvGxR74.js → search-input-B7GmlPIE.js} +4 -4
- package/dist/_chunks/{select-DMLG44F5.js → select-BmCbJMJS.js} +117 -105
- package/dist/_chunks/{send-CySZIRPJ.js → send-C5kDJ-Mz.js} +3 -3
- package/dist/_chunks/{session-countdown-X1Ki6i0M.js → session-countdown-qr8EO5QY.js} +5 -5
- package/dist/_chunks/{settings-ca2Yi9R8.js → settings-d25ju_6L.js} +3 -3
- package/dist/_chunks/{sheet-BxsE7eQm.js → sheet-B_X54aZo.js} +53 -42
- package/dist/_chunks/{shield-check-BjCGH_Sr.js → shield-check-DCJALLVh.js} +3 -3
- package/dist/_chunks/{sidebar-DY9jGjgt.js → sidebar-B0OBmJrC.js} +131 -119
- package/dist/_chunks/{sign-document-By6hMOra.js → sign-document-nK03S73h.js} +3 -3
- package/dist/_chunks/{signature-field-Dy1JRjzE.js → signature-field-jgwYgUhO.js} +4 -4
- package/dist/_chunks/{smart-date-CWikAqZx.js → smart-date-CsPlilQA.js} +7 -7
- package/dist/_chunks/{sq-XRpr0r49.js → sq-CIIvqXZv.js} +2 -2
- package/dist/_chunks/{square-CZoGU14v.js → square-DASBRZ0U.js} +3 -3
- package/dist/_chunks/{square-check-big-Jr-0202D.js → square-check-big-dj0o8yA3.js} +3 -3
- package/dist/_chunks/{star-vav0SJ9e.js → star-Bf9L2Uot.js} +3 -3
- package/dist/_chunks/{stepper-accordion-DC-H-8v4.js → stepper-accordion-BeVMZPuG.js} +3 -3
- package/dist/_chunks/{stethoscope-DT5qCW8Y.js → stethoscope-sZXGC43m.js} +3 -3
- package/dist/_chunks/{streaming-text-BB9mvK4m.js → streaming-text-Cedc05ya.js} +2 -2
- package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
- package/dist/_chunks/{sun-BuXE0xUS.js → sun-Bj9Mr553.js} +4 -4
- package/dist/_chunks/{sv-Z3APomE8.js → sv-Kpk1pzjz.js} +2 -2
- package/dist/_chunks/{tab-bar-Bv9nGNdO.js → tab-bar-Axhk6xzx.js} +6 -6
- package/dist/_chunks/{tabs-BxcOziCo.js → tabs-DVQ941Sj.js} +4 -4
- package/dist/_chunks/{tag-BQXwuJq1.js → tag-3wgkwwDB.js} +2 -2
- package/dist/_chunks/task-card-BUgK6yZT.js +189 -0
- package/dist/_chunks/{task-tray-qOEQflu4.js → task-tray-DP5A3Qnc.js} +5 -5
- package/dist/_chunks/tasks-panel-BuxaYtEF.js +757 -0
- package/dist/_chunks/{text-input-B-OWQ1Je.js → text-input-CUvCb6ST.js} +2 -2
- package/dist/_chunks/{theme-toggle-XB6o_lgs.js → theme-toggle-dtdy5EaL.js} +4 -4
- package/dist/_chunks/{timeline-CqA4nKTI.js → timeline-r-8IUoBS.js} +6 -6
- package/dist/_chunks/{toast.agent-57UzyR9U.js → toast.agent-BSxl057x.js} +6 -6
- package/dist/_chunks/token-insert-menu-Pok4nExI.js +147 -0
- package/dist/_chunks/{ai-tools-rail-B5NEghsp.js → tool-rail-BZx0-yIr.js} +152 -139
- package/dist/_chunks/{tooth-scheme-BhQoPNBD.js → tooth-scheme-D_rso4uu.js} +470 -468
- package/dist/_chunks/{tr-e0-P4FON.js → tr-DHaeLFxG.js} +2 -2
- package/dist/_chunks/{transaction-chip-CscoQbxF.js → transaction-chip-B6iWoVmU.js} +8 -8
- package/dist/_chunks/{transcript-panel-3THQX6nJ.js → transcript-panel-BGkEhvHO.js} +95 -83
- package/dist/_chunks/{trash-2-rPAKaRgB.js → trash-2-uumy3fy1.js} +3 -3
- package/dist/_chunks/{triangle-alert-CBPUIzQo.js → triangle-alert-CBnO6nq_.js} +3 -3
- package/dist/_chunks/{unit-converter-YEpD9evj.js → unit-converter-fEqluT8b.js} +5 -5
- package/dist/_chunks/{use-password-requirements-BXvS2MBS.js → use-password-requirements-Bwtqx1qN.js} +7 -7
- package/dist/_chunks/{user-CPxpqFjJ.js → user-B12p7bVF.js} +3 -3
- package/dist/_chunks/{user-cog-BS_qc8nA.js → user-cog-BTn98Arm.js} +3 -3
- package/dist/_chunks/{users-MBVtUzwd.js → users-BjS_Gg1E.js} +3 -3
- package/dist/_chunks/{video-BAeICxCT.js → video-BheNGvsu.js} +3 -3
- package/dist/_chunks/{warning-stack--sTrrBDA.js → warning-stack-BaMI7-n7.js} +4 -4
- package/dist/_chunks/{workflow-map-Dy8mLCqF.js → workflow-map-qWsgCldq.js} +213 -225
- package/dist/_chunks/{x-CCcI3eJp.js → x-B5YnXwCz.js} +3 -3
- package/dist/_chunks/{zh-CN-B-igM5gY.js → zh-CN-BncsTBwM.js} +3 -3
- package/dist/_chunks/{zoom-out-CgVtf2Wx.js → zoom-out-Dnif4kJx.js} +4 -4
- package/dist/agent-catalog.json +6621 -3629
- package/dist/agent-i18n/en.json +313 -23
- package/dist/components/_shared/option.d.ts +2 -0
- package/dist/components/_shared/patient-fields.d.ts +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
- package/dist/components/address-fields/address-fields.d.ts +29 -0
- package/dist/components/address-fields/index.d.ts +5 -0
- package/dist/components/address-fields/index.js +6 -0
- 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/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
- package/dist/components/app-frame/app-frame.d.ts +2 -2
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/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/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/care-plan-header.d.ts +16 -5
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/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/chat-message.d.ts +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/city-input.agent.d.ts +8 -0
- package/dist/components/city-input/city-input.d.ts +57 -0
- package/dist/components/city-input/index.d.ts +5 -0
- package/dist/components/city-input/index.js +6 -0
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +17 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
- package/dist/components/connection-status/connection-status.d.ts +36 -0
- package/dist/components/connection-status/index.d.ts +4 -0
- package/dist/components/connection-status/index.js +6 -0
- 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/control-room-context.d.ts +5 -5
- package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +5 -5
- package/dist/components/control-room-rail/index.d.ts +1 -0
- package/dist/components/control-room-rail/index.js +4 -3
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/counter/counter.d.ts +1 -1
- package/dist/components/country-select/country-select.agent.d.ts +8 -0
- package/dist/components/country-select/country-select.d.ts +51 -0
- package/dist/components/country-select/index.d.ts +6 -0
- package/dist/components/country-select/index.js +9 -0
- package/dist/components/country-select/iso-3166.d.ts +15 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +13 -11
- 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/description-list/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 +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
- package/dist/components/entity-summary/entity-summary.d.ts +53 -4
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
- package/dist/components/face-scheme/face-scheme.d.ts +144 -0
- package/dist/components/face-scheme/index.d.ts +7 -0
- package/dist/components/face-scheme/index.js +17 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/field-array.agent.d.ts +4 -0
- package/dist/components/field-array/field-array.d.ts +45 -0
- package/dist/components/field-array/index.d.ts +4 -0
- package/dist/components/field-array/index.js +6 -0
- package/dist/components/file-upload/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/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +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/iban-input/iban-input.agent.d.ts +4 -0
- package/dist/components/iban-input/iban-input.d.ts +51 -0
- package/dist/components/iban-input/index.d.ts +5 -0
- package/dist/components/iban-input/index.js +13 -0
- package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
- package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
- package/dist/components/icon-picker/icon-picker.d.ts +41 -0
- package/dist/components/icon-picker/index.d.ts +4 -0
- package/dist/components/icon-picker/index.js +6 -0
- package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
- package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
- package/dist/components/image-cropper/image-cropper.d.ts +32 -0
- package/dist/components/image-cropper/index.d.ts +5 -0
- package/dist/components/image-cropper/index.js +11 -0
- package/dist/components/index.d.ts +19 -2
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/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-card/message-card.d.ts +14 -0
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts +4 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.d.ts +6 -0
- package/dist/components/muscle-scheme/index.js +16 -0
- package/dist/components/{anatomy-scheme/anatomy-muscle-paths.d.ts → muscle-scheme/muscle-paths.d.ts} +3 -1
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
- package/dist/components/{anatomy-scheme/anatomy-scheme.d.ts → muscle-scheme/muscle-scheme.d.ts} +24 -27
- package/dist/components/nav-grid/index.d.ts +4 -0
- package/dist/components/nav-grid/index.js +7 -0
- package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
- package/dist/components/nav-grid/nav-grid.d.ts +41 -0
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
- package/dist/components/notes-panel/notes-panel.d.ts +30 -0
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +15 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts +4 -0
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.d.ts +6 -0
- package/dist/components/optical-prescription/index.js +38 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/panel-header/index.d.ts +3 -0
- package/dist/components/panel-header/index.js +7 -0
- package/dist/components/panel-header/panel-header.d.ts +41 -0
- 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-card/index.js +1 -1
- package/dist/components/permission-matrix/index.d.ts +4 -0
- package/dist/components/permission-matrix/index.js +7 -0
- package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
- package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/position-grid/index.d.ts +4 -0
- package/dist/components/position-grid/index.js +7 -0
- package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
- package/dist/components/position-grid/position-grid.d.ts +39 -0
- package/dist/components/postal-code-input/index.d.ts +5 -0
- package/dist/components/postal-code-input/index.js +6 -0
- package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
- package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
- 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/product-hub-tray/product-hub-tray.d.ts +13 -1
- package/dist/components/province-select/index.d.ts +6 -0
- package/dist/components/province-select/index.js +7 -0
- package/dist/components/province-select/it-provinces.d.ts +8 -0
- package/dist/components/province-select/province-select.agent.d.ts +8 -0
- package/dist/components/province-select/province-select.d.ts +38 -0
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +8 -2
- 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/signature-field/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/smart-date/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/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +14 -6
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.d.ts +4 -0
- package/dist/components/tasks-panel/index.js +6 -0
- package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
- package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.d.ts +4 -0
- package/dist/components/token-insert-menu/index.js +6 -0
- package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
- package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
- package/dist/components/tool-rail/index.d.ts +4 -0
- package/dist/components/tool-rail/index.js +6 -0
- package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
- package/dist/components/{ai-tools-rail/ai-tools-rail.d.ts → tool-rail/tool-rail.d.ts} +29 -12
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +9 -0
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/use-edge-resize.d.ts +2 -2
- package/dist/i18n/locales/ar.d.ts +306 -100
- package/dist/i18n/locales/ar.js +298 -112
- package/dist/i18n/locales/de.d.ts +306 -100
- package/dist/i18n/locales/de.js +300 -112
- package/dist/i18n/locales/el.d.ts +306 -100
- package/dist/i18n/locales/el.js +305 -112
- package/dist/i18n/locales/en.d.ts +306 -100
- package/dist/i18n/locales/en.js +311 -112
- package/dist/i18n/locales/es.d.ts +306 -100
- package/dist/i18n/locales/es.js +297 -112
- package/dist/i18n/locales/fr.d.ts +306 -100
- package/dist/i18n/locales/fr.js +300 -112
- package/dist/i18n/locales/hi.d.ts +306 -100
- package/dist/i18n/locales/hi.js +296 -112
- package/dist/i18n/locales/it.d.ts +306 -100
- package/dist/i18n/locales/it.js +300 -112
- package/dist/i18n/locales/ja.d.ts +306 -100
- package/dist/i18n/locales/ja.js +301 -112
- package/dist/i18n/locales/nl.d.ts +306 -100
- package/dist/i18n/locales/nl.js +293 -112
- package/dist/i18n/locales/pl.d.ts +306 -100
- package/dist/i18n/locales/pl.js +301 -112
- package/dist/i18n/locales/pt.d.ts +306 -100
- package/dist/i18n/locales/pt.js +305 -112
- package/dist/i18n/locales/ro.d.ts +306 -100
- package/dist/i18n/locales/ro.js +305 -112
- package/dist/i18n/locales/ru.d.ts +306 -100
- package/dist/i18n/locales/ru.js +298 -112
- package/dist/i18n/locales/sq.d.ts +306 -100
- package/dist/i18n/locales/sq.js +302 -112
- package/dist/i18n/locales/sv.d.ts +306 -100
- package/dist/i18n/locales/sv.js +300 -112
- package/dist/i18n/locales/tr.d.ts +306 -100
- package/dist/i18n/locales/tr.js +298 -112
- package/dist/i18n/locales/zh.d.ts +306 -100
- package/dist/i18n/locales/zh.js +293 -112
- package/dist/index.js +881 -765
- package/dist/locales/ar.json +311 -105
- package/dist/locales/de.json +311 -105
- package/dist/locales/el.json +311 -105
- package/dist/locales/en.json +311 -105
- package/dist/locales/es.json +311 -105
- package/dist/locales/fr.json +311 -105
- package/dist/locales/hi.json +311 -105
- package/dist/locales/it.json +311 -105
- package/dist/locales/ja.json +311 -105
- package/dist/locales/nl.json +311 -105
- package/dist/locales/pl.json +311 -105
- package/dist/locales/pt.json +311 -105
- package/dist/locales/ro.json +311 -105
- package/dist/locales/ru.json +311 -105
- package/dist/locales/sq.json +311 -105
- package/dist/locales/sv.json +311 -105
- package/dist/locales/tr.json +311 -105
- package/dist/locales/zh.json +311 -105
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
- package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
- 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 +15 -1
- package/package.json +77 -9
- package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
- package/dist/_chunks/care-plan-header-BUwqDTtz.js +0 -206
- package/dist/_chunks/control-room-rail-Y8ryLYsP.js +0 -229
- package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +0 -328
- package/dist/_chunks/entity-summary-BxRjFh_4.js +0 -138
- package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
- package/dist/_chunks/notes-panel-ay8_lPrA.js +0 -158
- package/dist/_chunks/notification-card-D2jiKSJJ.js +0 -259
- package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +0 -558
- package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
- package/dist/_chunks/rich-text-editor-DlCqPixb.js +0 -2158
- package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
- package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
- package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
- package/dist/components/ai-tools-rail/index.d.ts +0 -4
- package/dist/components/ai-tools-rail/index.js +0 -6
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.js +0 -17
|
@@ -1,30 +1,54 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsx as t, jsxs as c, Fragment as te } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ae, useId as A, useMemo as se, Fragment as ie, useState as v, useCallback as I } from "react";
|
|
3
|
+
import { c as q } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as V } from "react-i18next";
|
|
5
|
-
import { A as
|
|
5
|
+
import { A as re } from "./avatar-BNQNhoyL.js";
|
|
6
6
|
import { I as z } from "./icon-button-LqoiKcUN.js";
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
9
|
-
import { D as
|
|
10
|
-
import { D as S } from "./description-list-
|
|
11
|
-
import { E as
|
|
12
|
-
import { F as
|
|
13
|
-
import { N as
|
|
14
|
-
import { P as
|
|
15
|
-
import {
|
|
16
|
-
import { S as
|
|
17
|
-
import { S as
|
|
18
|
-
import { T as
|
|
19
|
-
import { T as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { C as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
|
|
7
|
+
import { C as F } from "./card-DPmk26CL.js";
|
|
8
|
+
import { C as ne, b as le, a as oe } from "./collapsible-BrnRiCC6.js";
|
|
9
|
+
import { D as de } from "./date-picker-CVkD_lOi.js";
|
|
10
|
+
import { D as S } from "./description-list-CmBVxIF5.js";
|
|
11
|
+
import { E as ce } from "./email-input-Dpe63k0K.js";
|
|
12
|
+
import { F as pe } from "./fiscal-code-input-DKNXFXs3.js";
|
|
13
|
+
import { N as ue } from "./number-input-DjWzmlEY.js";
|
|
14
|
+
import { P as me } from "./panel-header-D313n_9-.js";
|
|
15
|
+
import { P as fe } from "./phone-input-dtnrvnZf.js";
|
|
16
|
+
import { S as ge } from "./select-BmCbJMJS.js";
|
|
17
|
+
import { S as ye } from "./switch-OILsBLWo.js";
|
|
18
|
+
import { T as be } from "./text-area-Bt3p7Pt0.js";
|
|
19
|
+
import { T as he } from "./text-input-CUvCb6ST.js";
|
|
20
|
+
import { C as ve } from "./country-select-DYHDLEjG.js";
|
|
21
|
+
import { P as xe } from "./province-select-BDywtmL-.js";
|
|
22
|
+
import { P as Ne } from "./postal-code-input-BznBxVxf.js";
|
|
23
|
+
import { C as Ve } from "./city-input-towzBenY.js";
|
|
24
|
+
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
25
|
+
import { u as ke, F as we, r as De, a as Pe } from "./field-value-Dj3i52H2.js";
|
|
26
|
+
import { c as Te } from "./createLucideIcon-DhHxpK9K.js";
|
|
27
|
+
import { L as Fe } from "./lock-ClAFG1gy.js";
|
|
28
|
+
import { C as H } from "./check-DrFSN__t.js";
|
|
29
|
+
import { X as Ie } from "./x-B5YnXwCz.js";
|
|
30
|
+
import { P as ze } from "./pencil-B1sKKyuT.js";
|
|
31
|
+
import { C as Se } from "./copy-vRpqqHtY.js";
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v1.22.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
const Ee = [
|
|
39
|
+
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
40
|
+
[
|
|
41
|
+
"path",
|
|
42
|
+
{
|
|
43
|
+
d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
|
|
44
|
+
key: "116196"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
["path", { d: "M12 11h4", key: "1jrz19" }],
|
|
48
|
+
["path", { d: "M12 16h4", key: "n85exb" }],
|
|
49
|
+
["path", { d: "M8 11h.01", key: "1dfujw" }],
|
|
50
|
+
["path", { d: "M8 16h.01", key: "18s6g9" }]
|
|
51
|
+
], Oe = Te("clipboard-list", Ee), je = {
|
|
28
52
|
id: "patient-details",
|
|
29
53
|
// `view_change` backs the view-config actions (show/hide + reorder are both
|
|
30
54
|
// view reconfigurations); `set_value` backs the single-value `update_field`
|
|
@@ -128,166 +152,180 @@ const De = {
|
|
|
128
152
|
description: "Stable field KEY on each row. Never the field value (no PHI in the DOM hook)."
|
|
129
153
|
}
|
|
130
154
|
}
|
|
131
|
-
}, R =
|
|
132
|
-
"ds:flex ds:flex-col ds:
|
|
155
|
+
}, R = q(
|
|
156
|
+
"ds:flex ds:flex-col ds:text-[color:var(--foreground)]",
|
|
133
157
|
{
|
|
134
158
|
variants: {
|
|
135
159
|
// `compact` (default) suits the narrow rail panel; `comfortable`
|
|
136
160
|
// relaxes spacing for a wider host (a full-width profile page).
|
|
137
161
|
density: {
|
|
138
|
-
comfortable: "
|
|
139
|
-
compact: "
|
|
162
|
+
comfortable: "",
|
|
163
|
+
compact: ""
|
|
140
164
|
}
|
|
141
165
|
},
|
|
142
166
|
defaultVariants: {
|
|
143
167
|
density: "compact"
|
|
144
168
|
}
|
|
145
169
|
}
|
|
146
|
-
),
|
|
170
|
+
), L = q("ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", {
|
|
171
|
+
variants: {
|
|
172
|
+
density: {
|
|
173
|
+
comfortable: "ds:p-[var(--spacing-md)]",
|
|
174
|
+
compact: "ds:p-[var(--spacing-sm)]"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
defaultVariants: {
|
|
178
|
+
density: "compact"
|
|
179
|
+
}
|
|
180
|
+
}), Ae = ae(
|
|
147
181
|
function({
|
|
148
182
|
title: a,
|
|
149
183
|
sections: n,
|
|
150
|
-
avatar:
|
|
184
|
+
avatar: i,
|
|
151
185
|
headerChips: l,
|
|
152
186
|
framed: u = !1,
|
|
153
187
|
editable: r = !1,
|
|
154
188
|
onFieldSave: o,
|
|
155
|
-
validate:
|
|
189
|
+
validate: d,
|
|
156
190
|
visibleFieldOrder: g,
|
|
157
|
-
defaultVisibleFieldOrder:
|
|
158
|
-
onVisibleFieldsChange:
|
|
159
|
-
loading:
|
|
160
|
-
emptyState:
|
|
191
|
+
defaultVisibleFieldOrder: s,
|
|
192
|
+
onVisibleFieldsChange: b,
|
|
193
|
+
loading: C = !1,
|
|
194
|
+
emptyState: h,
|
|
161
195
|
patientId: m,
|
|
162
|
-
id:
|
|
163
|
-
locale:
|
|
196
|
+
id: y,
|
|
197
|
+
locale: k,
|
|
164
198
|
cogLabel: E,
|
|
165
199
|
"aria-label": x,
|
|
166
|
-
className:
|
|
200
|
+
className: w,
|
|
167
201
|
...D
|
|
168
|
-
},
|
|
169
|
-
const { t: T } = V(), N =
|
|
202
|
+
}, P) {
|
|
203
|
+
const { t: T } = V(), N = A(), {
|
|
170
204
|
visible: f,
|
|
171
|
-
catalogueIds:
|
|
205
|
+
catalogueIds: $,
|
|
172
206
|
setOrder: O,
|
|
173
|
-
toggleField:
|
|
174
|
-
toggleSection:
|
|
175
|
-
moveFieldOnto:
|
|
176
|
-
reset:
|
|
177
|
-
} =
|
|
207
|
+
toggleField: U,
|
|
208
|
+
toggleSection: W,
|
|
209
|
+
moveFieldOnto: Y,
|
|
210
|
+
reset: X
|
|
211
|
+
} = ke(n, {
|
|
178
212
|
value: g,
|
|
179
|
-
defaultValue:
|
|
180
|
-
onChange:
|
|
181
|
-
}),
|
|
213
|
+
defaultValue: s,
|
|
214
|
+
onChange: b
|
|
215
|
+
}), G = se(
|
|
182
216
|
() => ({
|
|
183
217
|
getVisibleFieldOrder: () => f,
|
|
184
218
|
getPatientId: () => m,
|
|
185
219
|
setVisibleFields: (p) => O(p),
|
|
186
220
|
setFieldOrder: (p) => O(p),
|
|
187
|
-
updateField: (p,
|
|
221
|
+
updateField: (p, j) => o ? o(p, j) : Promise.reject(
|
|
188
222
|
new Error("PatientDetails: no onFieldSave handler is wired.")
|
|
189
223
|
)
|
|
190
224
|
}),
|
|
191
225
|
[f, m, O, o]
|
|
192
226
|
);
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
|
|
227
|
+
Ce(je, G, y);
|
|
228
|
+
const M = T("patientDetails.regionLabel", {
|
|
229
|
+
defaultValue: "Patient details"
|
|
230
|
+
}), J = x ?? M, _ = (i == null ? void 0 : i.name) ?? (typeof a == "string" ? a : void 0), Q = !!(i != null && i.src || _), Z = $.some((p) => f.includes(p));
|
|
231
|
+
if (C)
|
|
196
232
|
return /* @__PURE__ */ t(
|
|
197
233
|
"section",
|
|
198
234
|
{
|
|
199
|
-
ref:
|
|
235
|
+
ref: P,
|
|
200
236
|
"data-component": "patient-details",
|
|
201
|
-
"data-component-id":
|
|
237
|
+
"data-component-id": y,
|
|
202
238
|
"data-patient-id": m,
|
|
203
|
-
"aria-label":
|
|
239
|
+
"aria-label": J,
|
|
204
240
|
"aria-busy": "true",
|
|
205
|
-
className: R({ className:
|
|
241
|
+
className: R({ className: w }),
|
|
206
242
|
...D,
|
|
207
|
-
children: /* @__PURE__ */ t(
|
|
243
|
+
children: /* @__PURE__ */ t("div", { className: L(), children: /* @__PURE__ */ t(Re, {}) })
|
|
208
244
|
}
|
|
209
245
|
);
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
246
|
+
const ee = n.length === 0 || !Z, B = /* @__PURE__ */ c("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
|
|
247
|
+
Q ? /* @__PURE__ */ t(
|
|
248
|
+
re,
|
|
213
249
|
{
|
|
214
250
|
size: "md",
|
|
215
|
-
name:
|
|
216
|
-
src:
|
|
251
|
+
name: _,
|
|
252
|
+
src: i == null ? void 0 : i.src,
|
|
217
253
|
className: "ds:shrink-0"
|
|
218
254
|
}
|
|
219
255
|
) : null,
|
|
220
|
-
/* @__PURE__ */
|
|
221
|
-
/* @__PURE__ */ t(
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
id: N,
|
|
225
|
-
className: "ds:m-0 type-title-item ds:text-[color:var(--foreground)]",
|
|
226
|
-
children: a
|
|
227
|
-
}
|
|
228
|
-
),
|
|
229
|
-
l ? /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]", children: l }) : null
|
|
230
|
-
] }),
|
|
231
|
-
/* @__PURE__ */ t(
|
|
232
|
-
ve,
|
|
233
|
-
{
|
|
234
|
-
sections: n,
|
|
235
|
-
visible: f,
|
|
236
|
-
onToggleField: $,
|
|
237
|
-
onToggleSection: H,
|
|
238
|
-
onMoveFieldOnto: U,
|
|
239
|
-
onReset: W,
|
|
240
|
-
label: E
|
|
241
|
-
}
|
|
242
|
-
)
|
|
256
|
+
/* @__PURE__ */ c("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
257
|
+
/* @__PURE__ */ t("h3", { className: "ds:m-0 type-title-item ds:text-[color:var(--foreground)]", children: a }),
|
|
258
|
+
l ? /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: l }) : null
|
|
259
|
+
] })
|
|
243
260
|
] });
|
|
244
|
-
return /* @__PURE__ */
|
|
261
|
+
return /* @__PURE__ */ c(
|
|
245
262
|
"section",
|
|
246
263
|
{
|
|
247
|
-
ref:
|
|
264
|
+
ref: P,
|
|
248
265
|
"data-component": "patient-details",
|
|
249
|
-
"data-component-id":
|
|
266
|
+
"data-component-id": y,
|
|
250
267
|
"data-patient-id": m,
|
|
251
268
|
"aria-labelledby": x ? void 0 : N,
|
|
252
269
|
"aria-label": x ?? void 0,
|
|
253
|
-
className: R({ className:
|
|
270
|
+
className: R({ className: w }),
|
|
254
271
|
...D,
|
|
255
272
|
children: [
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
273
|
+
/* @__PURE__ */ t(
|
|
274
|
+
me,
|
|
275
|
+
{
|
|
276
|
+
title: M,
|
|
277
|
+
icon: /* @__PURE__ */ t(Oe, { "aria-hidden": "true" }),
|
|
278
|
+
headingId: N,
|
|
279
|
+
sticky: !0,
|
|
280
|
+
divider: !0,
|
|
281
|
+
actions: /* @__PURE__ */ t(
|
|
282
|
+
we,
|
|
283
|
+
{
|
|
284
|
+
sections: n,
|
|
285
|
+
visible: f,
|
|
286
|
+
onToggleField: U,
|
|
287
|
+
onToggleSection: W,
|
|
288
|
+
onMoveFieldOnto: Y,
|
|
289
|
+
onReset: X,
|
|
290
|
+
label: E
|
|
291
|
+
}
|
|
292
|
+
)
|
|
293
|
+
}
|
|
294
|
+
),
|
|
295
|
+
/* @__PURE__ */ c("div", { className: L(), children: [
|
|
296
|
+
u ? /* @__PURE__ */ t(F, { variant: "elevated", children: /* @__PURE__ */ t(F.Body, { children: B }) }) : B,
|
|
297
|
+
ee ? /* @__PURE__ */ t("p", { className: "ds:m-0 type-body-sm ds:text-[color:var(--muted-foreground)]", children: h ?? T("patientDetails.empty", {
|
|
298
|
+
defaultValue: "No patient selected."
|
|
299
|
+
}) }) : De(n, f).filter(({ fields: p }) => p.length > 0).map(({ section: p, fields: j }) => {
|
|
300
|
+
const K = /* @__PURE__ */ t(
|
|
301
|
+
Me,
|
|
302
|
+
{
|
|
303
|
+
section: p,
|
|
304
|
+
fields: j,
|
|
305
|
+
editable: r,
|
|
306
|
+
onFieldSave: o,
|
|
307
|
+
validate: d,
|
|
308
|
+
locale: k
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
return u ? /* @__PURE__ */ t(F, { variant: "elevated", children: /* @__PURE__ */ t(F.Body, { children: K }) }, p.id) : /* @__PURE__ */ t(ie, { children: K }, p.id);
|
|
312
|
+
})
|
|
313
|
+
] })
|
|
276
314
|
]
|
|
277
315
|
}
|
|
278
316
|
);
|
|
279
317
|
}
|
|
280
318
|
);
|
|
281
|
-
|
|
282
|
-
function
|
|
319
|
+
Ae.displayName = "PatientDetails";
|
|
320
|
+
function Me({
|
|
283
321
|
section: e,
|
|
284
322
|
fields: a,
|
|
285
323
|
editable: n,
|
|
286
|
-
onFieldSave:
|
|
324
|
+
onFieldSave: i,
|
|
287
325
|
validate: l,
|
|
288
326
|
locale: u
|
|
289
327
|
}) {
|
|
290
|
-
const { t: r } = V(), o =
|
|
328
|
+
const { t: r } = V(), o = A(), d = e.collapsible ?? !0, g = a.length === 0 ? /* @__PURE__ */ t("p", { className: "ds:m-0 type-body-sm ds:text-[color:var(--muted-foreground)]", children: r("patientDetails.section.empty", {
|
|
291
329
|
defaultValue: "No fields shown."
|
|
292
330
|
}) }) : /* @__PURE__ */ t(
|
|
293
331
|
S,
|
|
@@ -296,28 +334,28 @@ function Te({
|
|
|
296
334
|
density: "compact",
|
|
297
335
|
divider: "none",
|
|
298
336
|
className: "ds:[--description-list-icon-color:var(--accent)]",
|
|
299
|
-
children: a.map((
|
|
300
|
-
|
|
337
|
+
children: a.map((s) => /* @__PURE__ */ t(
|
|
338
|
+
_e,
|
|
301
339
|
{
|
|
302
|
-
field:
|
|
303
|
-
icon:
|
|
340
|
+
field: s,
|
|
341
|
+
icon: s.icon ?? null,
|
|
304
342
|
editable: n,
|
|
305
|
-
onFieldSave:
|
|
343
|
+
onFieldSave: i,
|
|
306
344
|
validate: l,
|
|
307
345
|
locale: u
|
|
308
346
|
},
|
|
309
|
-
|
|
347
|
+
s.id
|
|
310
348
|
))
|
|
311
349
|
}
|
|
312
350
|
);
|
|
313
|
-
return
|
|
314
|
-
|
|
351
|
+
return d ? /* @__PURE__ */ c(
|
|
352
|
+
ne,
|
|
315
353
|
{
|
|
316
354
|
defaultOpen: e.defaultOpen ?? !0,
|
|
317
355
|
variant: "minimal",
|
|
318
356
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
319
357
|
children: [
|
|
320
|
-
/* @__PURE__ */ t("h3", { className: "ds:m-0", children: /* @__PURE__ */ t(
|
|
358
|
+
/* @__PURE__ */ t("h3", { className: "ds:m-0", children: /* @__PURE__ */ t(le, { asChild: !0, children: /* @__PURE__ */ t(
|
|
321
359
|
"button",
|
|
322
360
|
{
|
|
323
361
|
type: "button",
|
|
@@ -326,10 +364,10 @@ function Te({
|
|
|
326
364
|
children: e.heading
|
|
327
365
|
}
|
|
328
366
|
) }) }),
|
|
329
|
-
/* @__PURE__ */ t(
|
|
367
|
+
/* @__PURE__ */ t(oe, { "aria-labelledby": o, children: g })
|
|
330
368
|
]
|
|
331
369
|
}
|
|
332
|
-
) : /* @__PURE__ */
|
|
370
|
+
) : /* @__PURE__ */ c(
|
|
333
371
|
"section",
|
|
334
372
|
{
|
|
335
373
|
"aria-labelledby": o,
|
|
@@ -348,28 +386,28 @@ function Te({
|
|
|
348
386
|
}
|
|
349
387
|
);
|
|
350
388
|
}
|
|
351
|
-
function
|
|
389
|
+
function _e({
|
|
352
390
|
field: e,
|
|
353
391
|
icon: a,
|
|
354
392
|
editable: n,
|
|
355
|
-
onFieldSave:
|
|
393
|
+
onFieldSave: i,
|
|
356
394
|
validate: l,
|
|
357
395
|
locale: u
|
|
358
396
|
}) {
|
|
359
|
-
const { t: r } = V(), o =
|
|
360
|
-
|
|
361
|
-
}, [e.editValue]), x =
|
|
362
|
-
|
|
363
|
-
}, []),
|
|
364
|
-
if (!
|
|
365
|
-
const N = (l == null ? void 0 : l(e.id,
|
|
397
|
+
const { t: r } = V(), o = A(), d = n && !!e.editable && !!i, [g, s] = v(!1), [b, C] = v(e.editValue), [h, m] = v(null), [y, k] = v(!1), E = I(() => {
|
|
398
|
+
C(e.editValue), m(null), s(!0);
|
|
399
|
+
}, [e.editValue]), x = I(() => {
|
|
400
|
+
s(!1), m(null);
|
|
401
|
+
}, []), w = I(async () => {
|
|
402
|
+
if (!i) return;
|
|
403
|
+
const N = (l == null ? void 0 : l(e.id, b)) ?? null;
|
|
366
404
|
if (N) {
|
|
367
405
|
m(N);
|
|
368
406
|
return;
|
|
369
407
|
}
|
|
370
|
-
|
|
408
|
+
k(!0), m(null);
|
|
371
409
|
try {
|
|
372
|
-
await
|
|
410
|
+
await i(e.id, b), s(!1);
|
|
373
411
|
} catch (f) {
|
|
374
412
|
m(
|
|
375
413
|
f instanceof Error && f.message ? f.message : r("patientDetails.edit.saveFailed", {
|
|
@@ -377,12 +415,12 @@ function Ie({
|
|
|
377
415
|
})
|
|
378
416
|
);
|
|
379
417
|
} finally {
|
|
380
|
-
|
|
418
|
+
k(!1);
|
|
381
419
|
}
|
|
382
|
-
}, [
|
|
420
|
+
}, [i, l, e.id, b, r]), D = /* @__PURE__ */ c("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
383
421
|
e.label,
|
|
384
422
|
e.sensitive ? /* @__PURE__ */ t(
|
|
385
|
-
|
|
423
|
+
Fe,
|
|
386
424
|
{
|
|
387
425
|
"aria-label": r("patientDetails.sensitive", {
|
|
388
426
|
defaultValue: "Sensitive"
|
|
@@ -390,18 +428,18 @@ function Ie({
|
|
|
390
428
|
className: "ds:size-3 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
|
|
391
429
|
}
|
|
392
430
|
) : null
|
|
393
|
-
] }),
|
|
394
|
-
/* @__PURE__ */
|
|
431
|
+
] }), P = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0), T = g ? /* @__PURE__ */ c("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
432
|
+
/* @__PURE__ */ c("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
|
|
395
433
|
/* @__PURE__ */ t(
|
|
396
|
-
|
|
434
|
+
Be,
|
|
397
435
|
{
|
|
398
436
|
field: e,
|
|
399
|
-
value:
|
|
400
|
-
onChange:
|
|
401
|
-
invalid: !!
|
|
402
|
-
errorId:
|
|
437
|
+
value: b,
|
|
438
|
+
onChange: C,
|
|
439
|
+
invalid: !!h,
|
|
440
|
+
errorId: h ? o : void 0,
|
|
403
441
|
locale: u,
|
|
404
|
-
disabled:
|
|
442
|
+
disabled: y
|
|
405
443
|
}
|
|
406
444
|
),
|
|
407
445
|
/* @__PURE__ */ t(
|
|
@@ -409,10 +447,10 @@ function Ie({
|
|
|
409
447
|
{
|
|
410
448
|
size: "sm",
|
|
411
449
|
intent: "primary",
|
|
412
|
-
icon: /* @__PURE__ */ t(
|
|
450
|
+
icon: /* @__PURE__ */ t(H, { "aria-hidden": "true" }),
|
|
413
451
|
"aria-label": r("patientDetails.edit.save", { defaultValue: "Save" }),
|
|
414
|
-
loading:
|
|
415
|
-
onClick:
|
|
452
|
+
loading: y,
|
|
453
|
+
onClick: w
|
|
416
454
|
}
|
|
417
455
|
),
|
|
418
456
|
/* @__PURE__ */ t(
|
|
@@ -420,41 +458,41 @@ function Ie({
|
|
|
420
458
|
{
|
|
421
459
|
size: "sm",
|
|
422
460
|
intent: "ghost",
|
|
423
|
-
icon: /* @__PURE__ */ t(
|
|
461
|
+
icon: /* @__PURE__ */ t(Ie, { "aria-hidden": "true" }),
|
|
424
462
|
"aria-label": r("patientDetails.edit.cancel", {
|
|
425
463
|
defaultValue: "Cancel"
|
|
426
464
|
}),
|
|
427
|
-
disabled:
|
|
465
|
+
disabled: y,
|
|
428
466
|
onClick: x
|
|
429
467
|
}
|
|
430
468
|
)
|
|
431
469
|
] }),
|
|
432
|
-
|
|
470
|
+
h ? /* @__PURE__ */ t(
|
|
433
471
|
"span",
|
|
434
472
|
{
|
|
435
473
|
id: o,
|
|
436
474
|
role: "alert",
|
|
437
475
|
className: "type-meta ds:text-[color:var(--destructive)]",
|
|
438
|
-
children:
|
|
476
|
+
children: h
|
|
439
477
|
}
|
|
440
478
|
) : null
|
|
441
|
-
] }) : /* @__PURE__ */
|
|
479
|
+
] }) : /* @__PURE__ */ c("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)] ds:min-w-0", children: [
|
|
442
480
|
/* @__PURE__ */ t(
|
|
443
481
|
"span",
|
|
444
482
|
{
|
|
445
483
|
className: `ds:min-w-0 ${e.editType === "textarea" ? "" : "ds:truncate"}${e.mono ? " ds:font-mono" : ""}`,
|
|
446
|
-
title:
|
|
447
|
-
children: /* @__PURE__ */ t(
|
|
484
|
+
title: P,
|
|
485
|
+
children: /* @__PURE__ */ t(Pe, { field: e })
|
|
448
486
|
}
|
|
449
487
|
),
|
|
450
|
-
e.copyable && e.copyText ? /* @__PURE__ */ t(
|
|
451
|
-
|
|
488
|
+
e.copyable && e.copyText ? /* @__PURE__ */ t(Ke, { text: e.copyText, label: e.label }) : null,
|
|
489
|
+
d ? /* @__PURE__ */ t(
|
|
452
490
|
z,
|
|
453
491
|
{
|
|
454
492
|
size: "sm",
|
|
455
493
|
intent: "ghost",
|
|
456
494
|
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",
|
|
457
|
-
icon: /* @__PURE__ */ t(
|
|
495
|
+
icon: /* @__PURE__ */ t(ze, { "aria-hidden": "true" }),
|
|
458
496
|
"aria-label": r("patientDetails.edit.editField", {
|
|
459
497
|
field: e.label,
|
|
460
498
|
defaultValue: "Edit {{field}}"
|
|
@@ -463,7 +501,7 @@ function Ie({
|
|
|
463
501
|
}
|
|
464
502
|
) : null
|
|
465
503
|
] });
|
|
466
|
-
return /* @__PURE__ */
|
|
504
|
+
return /* @__PURE__ */ c(
|
|
467
505
|
S.Row,
|
|
468
506
|
{
|
|
469
507
|
icon: a ?? null,
|
|
@@ -476,27 +514,27 @@ function Ie({
|
|
|
476
514
|
}
|
|
477
515
|
);
|
|
478
516
|
}
|
|
479
|
-
function
|
|
517
|
+
function Be({
|
|
480
518
|
field: e,
|
|
481
519
|
value: a,
|
|
482
520
|
onChange: n,
|
|
483
|
-
invalid:
|
|
521
|
+
invalid: i,
|
|
484
522
|
errorId: l,
|
|
485
523
|
locale: u,
|
|
486
524
|
disabled: r
|
|
487
525
|
}) {
|
|
488
|
-
const { t: o } = V(),
|
|
526
|
+
const { t: o } = V(), d = i ? "error" : "default";
|
|
489
527
|
switch (e.editType ?? "text") {
|
|
490
528
|
case "textarea":
|
|
491
529
|
return /* @__PURE__ */ t(
|
|
492
|
-
|
|
530
|
+
be,
|
|
493
531
|
{
|
|
494
532
|
size: "sm",
|
|
495
533
|
value: typeof a == "string" ? a : "",
|
|
496
|
-
onChange: (
|
|
497
|
-
tone:
|
|
534
|
+
onChange: (s) => n(s.target.value),
|
|
535
|
+
tone: d,
|
|
498
536
|
"aria-label": e.label,
|
|
499
|
-
"aria-invalid":
|
|
537
|
+
"aria-invalid": i || void 0,
|
|
500
538
|
"aria-describedby": l,
|
|
501
539
|
disabled: r,
|
|
502
540
|
className: "ds:flex-1"
|
|
@@ -504,66 +542,66 @@ function Pe({
|
|
|
504
542
|
);
|
|
505
543
|
case "select":
|
|
506
544
|
return /* @__PURE__ */ t(
|
|
507
|
-
|
|
545
|
+
ge,
|
|
508
546
|
{
|
|
509
547
|
size: "sm",
|
|
510
548
|
options: e.options ?? [],
|
|
511
549
|
value: typeof a == "string" ? a : "",
|
|
512
|
-
onValueChange: (
|
|
513
|
-
tone:
|
|
550
|
+
onValueChange: (s) => n(s),
|
|
551
|
+
tone: d,
|
|
514
552
|
disabled: r,
|
|
515
553
|
"aria-label": e.label,
|
|
516
|
-
"aria-invalid":
|
|
554
|
+
"aria-invalid": i || void 0,
|
|
517
555
|
"aria-describedby": l
|
|
518
556
|
}
|
|
519
557
|
);
|
|
520
558
|
case "boolean":
|
|
521
559
|
return /* @__PURE__ */ t(
|
|
522
|
-
|
|
560
|
+
ye,
|
|
523
561
|
{
|
|
524
562
|
label: e.label,
|
|
525
563
|
checked: a === !0,
|
|
526
|
-
onCheckedChange: (
|
|
564
|
+
onCheckedChange: (s) => n(s),
|
|
527
565
|
disabled: r
|
|
528
566
|
}
|
|
529
567
|
);
|
|
530
568
|
case "date":
|
|
531
569
|
return /* @__PURE__ */ t(
|
|
532
|
-
|
|
570
|
+
de,
|
|
533
571
|
{
|
|
534
572
|
size: "sm",
|
|
535
573
|
value: a instanceof Date ? a : void 0,
|
|
536
|
-
onChange: (
|
|
574
|
+
onChange: (s) => n(s ?? null),
|
|
537
575
|
disabled: r,
|
|
538
576
|
"aria-label": e.label
|
|
539
577
|
}
|
|
540
578
|
);
|
|
541
579
|
case "number":
|
|
542
580
|
return /* @__PURE__ */ t(
|
|
543
|
-
|
|
581
|
+
ue,
|
|
544
582
|
{
|
|
545
583
|
size: "sm",
|
|
546
584
|
value: typeof a == "number" ? a : null,
|
|
547
|
-
onChange: (
|
|
585
|
+
onChange: (s) => n(s),
|
|
548
586
|
mode: e.currency ? "currency" : "decimal",
|
|
549
587
|
currency: e.currency,
|
|
550
588
|
locale: u,
|
|
551
|
-
tone:
|
|
589
|
+
tone: d,
|
|
552
590
|
disabled: r,
|
|
553
591
|
"aria-label": e.label,
|
|
554
|
-
"aria-invalid":
|
|
592
|
+
"aria-invalid": i || void 0,
|
|
555
593
|
"aria-describedby": l
|
|
556
594
|
}
|
|
557
595
|
);
|
|
558
596
|
case "email":
|
|
559
597
|
return /* @__PURE__ */ t(
|
|
560
|
-
|
|
598
|
+
ce,
|
|
561
599
|
{
|
|
562
600
|
size: "sm",
|
|
563
601
|
value: typeof a == "string" ? a : "",
|
|
564
|
-
onChange: (
|
|
602
|
+
onChange: (s) => n(s.target.value),
|
|
565
603
|
"aria-label": e.label,
|
|
566
|
-
"aria-invalid":
|
|
604
|
+
"aria-invalid": i || void 0,
|
|
567
605
|
"aria-describedby": l,
|
|
568
606
|
disabled: r,
|
|
569
607
|
className: "ds:flex-1"
|
|
@@ -571,14 +609,14 @@ function Pe({
|
|
|
571
609
|
);
|
|
572
610
|
case "phone":
|
|
573
611
|
return /* @__PURE__ */ t(
|
|
574
|
-
|
|
612
|
+
fe,
|
|
575
613
|
{
|
|
576
614
|
size: "sm",
|
|
577
615
|
value: typeof a == "string" ? a : "",
|
|
578
|
-
onChange: (
|
|
579
|
-
tone:
|
|
616
|
+
onChange: (s) => n(s),
|
|
617
|
+
tone: d,
|
|
580
618
|
"aria-label": e.label,
|
|
581
|
-
"aria-invalid":
|
|
619
|
+
"aria-invalid": i || void 0,
|
|
582
620
|
"aria-describedby": l,
|
|
583
621
|
disabled: r,
|
|
584
622
|
className: "ds:flex-1"
|
|
@@ -586,30 +624,95 @@ function Pe({
|
|
|
586
624
|
);
|
|
587
625
|
case "fiscalCode":
|
|
588
626
|
return /* @__PURE__ */ t(
|
|
589
|
-
|
|
627
|
+
pe,
|
|
590
628
|
{
|
|
591
629
|
size: "sm",
|
|
592
630
|
value: typeof a == "string" ? a : "",
|
|
593
|
-
onChange: (
|
|
594
|
-
tone:
|
|
631
|
+
onChange: (s) => n(s),
|
|
632
|
+
tone: d,
|
|
595
633
|
"aria-label": e.label,
|
|
596
|
-
"aria-invalid":
|
|
634
|
+
"aria-invalid": i || void 0,
|
|
597
635
|
"aria-describedby": l,
|
|
598
636
|
disabled: r,
|
|
599
637
|
className: "ds:flex-1"
|
|
600
638
|
}
|
|
601
639
|
);
|
|
640
|
+
// Address / location pickers. Inline edit has no FormField, so we pass
|
|
641
|
+
// aria-invalid / aria-describedby explicitly (the components fall back to
|
|
642
|
+
// these props outside a FormFieldContext) so the invalid state isn't
|
|
643
|
+
// conveyed by colour alone.
|
|
644
|
+
case "province":
|
|
645
|
+
return /* @__PURE__ */ t(
|
|
646
|
+
xe,
|
|
647
|
+
{
|
|
648
|
+
size: "sm",
|
|
649
|
+
country: "it",
|
|
650
|
+
value: typeof a == "string" ? a : "",
|
|
651
|
+
onValueChange: (s) => n(s),
|
|
652
|
+
tone: d,
|
|
653
|
+
disabled: r,
|
|
654
|
+
"aria-label": e.label,
|
|
655
|
+
"aria-invalid": i || void 0,
|
|
656
|
+
"aria-describedby": l,
|
|
657
|
+
className: "ds:flex-1"
|
|
658
|
+
}
|
|
659
|
+
);
|
|
660
|
+
case "country":
|
|
661
|
+
return /* @__PURE__ */ t(
|
|
662
|
+
ve,
|
|
663
|
+
{
|
|
664
|
+
size: "sm",
|
|
665
|
+
value: typeof a == "string" ? a : "",
|
|
666
|
+
onValueChange: (s) => n(s),
|
|
667
|
+
tone: d,
|
|
668
|
+
disabled: r,
|
|
669
|
+
"aria-label": e.label,
|
|
670
|
+
"aria-invalid": i || void 0,
|
|
671
|
+
"aria-describedby": l,
|
|
672
|
+
className: "ds:flex-1"
|
|
673
|
+
}
|
|
674
|
+
);
|
|
675
|
+
case "postalCode":
|
|
676
|
+
return /* @__PURE__ */ t(
|
|
677
|
+
Ne,
|
|
678
|
+
{
|
|
679
|
+
size: "sm",
|
|
680
|
+
country: "it",
|
|
681
|
+
value: typeof a == "string" ? a : "",
|
|
682
|
+
onValueChange: (s) => n(s),
|
|
683
|
+
"aria-label": e.label,
|
|
684
|
+
"aria-invalid": i || void 0,
|
|
685
|
+
"aria-describedby": l,
|
|
686
|
+
disabled: r,
|
|
687
|
+
className: "ds:flex-1"
|
|
688
|
+
}
|
|
689
|
+
);
|
|
690
|
+
case "city":
|
|
691
|
+
return /* @__PURE__ */ t(
|
|
692
|
+
Ve,
|
|
693
|
+
{
|
|
694
|
+
size: "sm",
|
|
695
|
+
value: typeof a == "string" ? a : "",
|
|
696
|
+
onValueChange: (s) => n(s),
|
|
697
|
+
tone: d,
|
|
698
|
+
disabled: r,
|
|
699
|
+
"aria-label": e.label,
|
|
700
|
+
"aria-invalid": i || void 0,
|
|
701
|
+
"aria-describedby": l,
|
|
702
|
+
className: "ds:flex-1"
|
|
703
|
+
}
|
|
704
|
+
);
|
|
602
705
|
case "text":
|
|
603
706
|
default:
|
|
604
707
|
return /* @__PURE__ */ t(
|
|
605
|
-
|
|
708
|
+
he,
|
|
606
709
|
{
|
|
607
710
|
size: "sm",
|
|
608
711
|
value: typeof a == "string" ? a : "",
|
|
609
|
-
onChange: (
|
|
610
|
-
tone:
|
|
712
|
+
onChange: (s) => n(s.target.value),
|
|
713
|
+
tone: d,
|
|
611
714
|
"aria-label": e.label,
|
|
612
|
-
"aria-invalid":
|
|
715
|
+
"aria-invalid": i || void 0,
|
|
613
716
|
"aria-describedby": l,
|
|
614
717
|
disabled: r,
|
|
615
718
|
clearable: !0,
|
|
@@ -621,11 +724,11 @@ function Pe({
|
|
|
621
724
|
);
|
|
622
725
|
}
|
|
623
726
|
}
|
|
624
|
-
function
|
|
727
|
+
function Ke({
|
|
625
728
|
text: e,
|
|
626
729
|
label: a
|
|
627
730
|
}) {
|
|
628
|
-
const { t: n } = V(), [
|
|
731
|
+
const { t: n } = V(), [i, l] = v(!1), [u, r] = v(""), o = I(async () => {
|
|
629
732
|
try {
|
|
630
733
|
await navigator.clipboard.writeText(e), l(!0), r(n("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
|
|
631
734
|
l(!1), r("");
|
|
@@ -636,13 +739,13 @@ function ze({
|
|
|
636
739
|
), setTimeout(() => r(""), 3e3);
|
|
637
740
|
}
|
|
638
741
|
}, [e, n]);
|
|
639
|
-
return /* @__PURE__ */
|
|
742
|
+
return /* @__PURE__ */ c(te, { children: [
|
|
640
743
|
/* @__PURE__ */ t(
|
|
641
744
|
z,
|
|
642
745
|
{
|
|
643
746
|
size: "sm",
|
|
644
747
|
intent: "ghost",
|
|
645
|
-
icon:
|
|
748
|
+
icon: i ? /* @__PURE__ */ t(H, { "aria-hidden": "true" }) : /* @__PURE__ */ t(Se, { "aria-hidden": "true" }),
|
|
646
749
|
"aria-label": n("keyValuePair.copy", {
|
|
647
750
|
label: a,
|
|
648
751
|
defaultValue: "Copy {{label}}"
|
|
@@ -653,9 +756,9 @@ function ze({
|
|
|
653
756
|
/* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: u })
|
|
654
757
|
] });
|
|
655
758
|
}
|
|
656
|
-
function
|
|
657
|
-
return /* @__PURE__ */
|
|
658
|
-
/* @__PURE__ */
|
|
759
|
+
function Re() {
|
|
760
|
+
return /* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
761
|
+
/* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
659
762
|
/* @__PURE__ */ t("span", { className: "ds:size-10 ds:shrink-0 ds:rounded-full ds:bg-[color:var(--muted)]" }),
|
|
660
763
|
/* @__PURE__ */ t("span", { className: "ds:h-4 ds:w-1/2 ds:rounded-[var(--radius-sm)] ds:bg-[color:var(--muted)]" })
|
|
661
764
|
] }),
|
|
@@ -669,7 +772,7 @@ function Se() {
|
|
|
669
772
|
] });
|
|
670
773
|
}
|
|
671
774
|
export {
|
|
672
|
-
|
|
673
|
-
|
|
775
|
+
Ae as P,
|
|
776
|
+
je as p
|
|
674
777
|
};
|
|
675
|
-
//# sourceMappingURL=patient-details-
|
|
778
|
+
//# sourceMappingURL=patient-details-pU_E5xM2.js.map
|