@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
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { MarkerShape, MarkerTone } from '../annotation-marker';
|
|
2
|
+
/** Muscle figure variant. `child` is the adult-male map scaled down. */
|
|
3
|
+
export type FigureVariant = 'adult-male' | 'adult-female' | 'child';
|
|
4
|
+
export type MuscleViewId = string;
|
|
5
|
+
export type MuscleSchemeMode = 'interactive' | 'display';
|
|
6
|
+
export type RegionSide = 'left' | 'right' | 'midline';
|
|
7
|
+
/**
|
|
8
|
+
* Generic, specialty-agnostic finding type. Each maps to a distinct
|
|
9
|
+
* AnnotationMarker SHAPE so the chart never relies on colour alone; the tone is
|
|
10
|
+
* decorative reinforcement. Consumers label these per specialty (a "lesion" is
|
|
11
|
+
* a derm lesion, an ortho strain, a trigger point, …).
|
|
12
|
+
*/
|
|
13
|
+
export type FindingType = 'observation' | 'lesion' | 'pain' | 'treatment' | 'note';
|
|
14
|
+
export declare const FINDING_TYPES: FindingType[];
|
|
15
|
+
export declare const FINDING_MARKER: Record<FindingType, {
|
|
16
|
+
shape: MarkerShape;
|
|
17
|
+
tone: MarkerTone;
|
|
18
|
+
}>;
|
|
19
|
+
export interface MuscleFinding {
|
|
20
|
+
type: FindingType;
|
|
21
|
+
/** Optional free-text clinical note. PHI — never bundle real notes in stories. */
|
|
22
|
+
note?: string;
|
|
23
|
+
}
|
|
24
|
+
/** Findings keyed by region id. */
|
|
25
|
+
export type MuscleChart = Record<string, MuscleFinding[]>;
|
|
26
|
+
export type RegionShape = {
|
|
27
|
+
kind: 'ellipse';
|
|
28
|
+
cx: number;
|
|
29
|
+
cy: number;
|
|
30
|
+
rx: number;
|
|
31
|
+
ry: number;
|
|
32
|
+
} | {
|
|
33
|
+
kind: 'rect';
|
|
34
|
+
x: number;
|
|
35
|
+
y: number;
|
|
36
|
+
w: number;
|
|
37
|
+
h: number;
|
|
38
|
+
r?: number;
|
|
39
|
+
} | {
|
|
40
|
+
kind: 'polygon';
|
|
41
|
+
points: Array<[number, number]>;
|
|
42
|
+
} | {
|
|
43
|
+
kind: 'path';
|
|
44
|
+
d: string;
|
|
45
|
+
fillRule?: 'evenodd';
|
|
46
|
+
};
|
|
47
|
+
export interface MuscleRegion {
|
|
48
|
+
/** Stable id, unique within a view — the finding key + `data-region`. */
|
|
49
|
+
id: string;
|
|
50
|
+
/** i18n key suffix under `muscleScheme.region.*`. */
|
|
51
|
+
labelKey: string;
|
|
52
|
+
shape: RegionShape;
|
|
53
|
+
/** Bilateral side, where meaningful (drives "left/right" in the label). */
|
|
54
|
+
side?: RegionSide;
|
|
55
|
+
/** Optional grouping (e.g. 'upper-limb'). */
|
|
56
|
+
group?: string;
|
|
57
|
+
/** Marker anchor; defaults to the shape centroid. */
|
|
58
|
+
marker?: {
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export interface MuscleView {
|
|
64
|
+
id: MuscleViewId;
|
|
65
|
+
/** i18n key suffix under `muscleScheme.view.*`. */
|
|
66
|
+
labelKey: string;
|
|
67
|
+
/** Which muscle figure this view is drawn on. */
|
|
68
|
+
figure: FigureVariant;
|
|
69
|
+
viewBox: string;
|
|
70
|
+
/** Decorative head silhouette drawn behind the regions (`aria-hidden`). */
|
|
71
|
+
silhouette?: string;
|
|
72
|
+
/** Optional SVG transform applied to the regions group (and the silhouette,
|
|
73
|
+
* unless `silhouetteTransform` overrides it). */
|
|
74
|
+
transform?: string;
|
|
75
|
+
/** Optional separate transform for the silhouette (head) group — lets the
|
|
76
|
+
* child figure carry a proportionally larger head than its scaled-down body. */
|
|
77
|
+
silhouetteTransform?: string;
|
|
78
|
+
/** Stroke-only body contour drawn in the regions (body) group so it scales
|
|
79
|
+
* with the body `transform`, not the `silhouetteTransform` — this is what lets
|
|
80
|
+
* the child carry an enlarged head while its body stays scaled down. */
|
|
81
|
+
bodyDetail?: string;
|
|
82
|
+
/** When true, the view's regions render as transparent click hotspots (tinting
|
|
83
|
+
* only on hover / focus / finding) rather than filled shapes — implied when a
|
|
84
|
+
* realistic illustration is loaded over the figure. */
|
|
85
|
+
hotspotZones?: boolean;
|
|
86
|
+
regions: MuscleRegion[];
|
|
87
|
+
}
|
|
88
|
+
export declare function regionCentroid(region: MuscleRegion): {
|
|
89
|
+
x: number;
|
|
90
|
+
y: number;
|
|
91
|
+
};
|
|
92
|
+
export declare const MUSCLE_VIEWS: Record<MuscleViewId, MuscleView>;
|
|
93
|
+
export declare function getView(id: MuscleViewId): MuscleView | undefined;
|
|
94
|
+
/** All views for a figure, in front-then-back order. */
|
|
95
|
+
export declare function viewsForFigure(figure: FigureVariant): MuscleView[];
|
|
96
|
+
export declare function getRegion(viewId: MuscleViewId, regionId: string): MuscleRegion | undefined;
|
|
97
|
+
/** Default view shown when no explicit `views` are given. */
|
|
98
|
+
export declare const DEFAULT_MUSCLE_VIEW: MuscleViewId;
|
|
99
|
+
/**
|
|
100
|
+
* Pick a muscle figure from patient demographics — mirrors the platform's
|
|
101
|
+
* `getDefaultFigureVariant(gender, age)`. Pure heuristic; the host can override
|
|
102
|
+
* with the explicit `figure` prop. Patients under 12 resolve to the (scaled-down)
|
|
103
|
+
* `child` figure regardless of sex; otherwise the figure follows sex.
|
|
104
|
+
*/
|
|
105
|
+
export declare function figureFromPatient(sex: 'm' | 'f' | 'x' | undefined, ageYears: number | undefined): FigureVariant;
|
|
106
|
+
export declare function emptyChart(): MuscleChart;
|
|
107
|
+
//# sourceMappingURL=muscle-scheme-data.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentAdapter } from '../../agent/types';
|
|
2
|
+
import type { MuscleSchemeHandle } from './muscle-scheme';
|
|
3
|
+
import type { FindingType } from './muscle-scheme-data';
|
|
4
|
+
export declare const muscleSchemeAgent: AgentAdapter<MuscleSchemeHandle>;
|
|
5
|
+
export type { FindingType };
|
|
6
|
+
//# sourceMappingURL=muscle-scheme.agent.d.ts.map
|
package/dist/components/{anatomy-scheme/anatomy-scheme.d.ts → muscle-scheme/muscle-scheme.d.ts}
RENAMED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export interface
|
|
1
|
+
import { type MuscleChart, type MuscleFinding, type MuscleSchemeMode, type MuscleViewId, type FigureVariant, type FindingType } from './muscle-scheme-data';
|
|
2
|
+
export interface MuscleSchemeProps {
|
|
3
3
|
/** Opaque instance id — emitted as `data-component-id` for the agent registry. */
|
|
4
4
|
id?: string;
|
|
5
|
-
/**
|
|
6
|
-
system?: AnatomySystem;
|
|
7
|
-
/** Body silhouette variant (body/muscular/skeletal systems). */
|
|
5
|
+
/** Muscle figure variant. Default `'adult-male'`. */
|
|
8
6
|
figure?: FigureVariant;
|
|
9
7
|
/**
|
|
10
8
|
* Explicit view ids to expose. When more than one, they render as tabs.
|
|
11
|
-
* Defaults to
|
|
9
|
+
* Defaults to the front + back pair for `figure`.
|
|
12
10
|
*/
|
|
13
|
-
views?:
|
|
11
|
+
views?: MuscleViewId[];
|
|
14
12
|
/** `'interactive'` enables region selection + finding edits; `'display'` is read-only. */
|
|
15
|
-
mode?:
|
|
16
|
-
/** Controlled findings — `Record<regionId,
|
|
17
|
-
value?:
|
|
13
|
+
mode?: MuscleSchemeMode;
|
|
14
|
+
/** Controlled findings — `Record<regionId, MuscleFinding[]>`. */
|
|
15
|
+
value?: MuscleChart;
|
|
18
16
|
/** Uncontrolled initial findings. */
|
|
19
|
-
defaultValue?:
|
|
17
|
+
defaultValue?: MuscleChart;
|
|
20
18
|
/** Fired whenever the chart changes. */
|
|
21
|
-
onChange?: (next:
|
|
19
|
+
onChange?: (next: MuscleChart) => void;
|
|
22
20
|
/** Fired when a region is activated (click / Enter / Space / focus-select). */
|
|
23
|
-
onSelectRegion?: (regionId: string, viewId:
|
|
21
|
+
onSelectRegion?: (regionId: string, viewId: MuscleViewId) => void;
|
|
24
22
|
/**
|
|
25
23
|
* The finding type a region-click applies in interactive mode (the selected
|
|
26
24
|
* tool in a finding picker). Clicking a region toggles this finding.
|
|
@@ -29,15 +27,14 @@ export interface AnatomySchemeProps {
|
|
|
29
27
|
/** Show the finding-type legend below the figure. Default `false`. */
|
|
30
28
|
legend?: boolean;
|
|
31
29
|
/**
|
|
32
|
-
* Base URL for realistic
|
|
33
|
-
* `${illustrationBaseUrl}/${viewId}.svg` (e.g. `…/
|
|
30
|
+
* Base URL for realistic muscle illustrations, served per-view as
|
|
31
|
+
* `${illustrationBaseUrl}/${viewId}.svg` (e.g. `…/muscular-front.svg`).
|
|
34
32
|
* When set, each view renders that illustration as the figure and the regions
|
|
35
33
|
* become transparent CLICK HOTSPOTS layered over it; when unset, the kit's
|
|
36
|
-
* built-in
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* attribution live in `ANATOMY-ASSETS.md`.
|
|
34
|
+
* built-in muscle art is the fallback. The art is NOT bundled in the kit — host
|
|
35
|
+
* it (CDN) and pass the base here, mirroring `ToothScheme`'s `assetBaseUrl`.
|
|
36
|
+
* Trusted developer-controlled value, interpolated into an SVG `<image href>`
|
|
37
|
+
* (which cannot execute scripts). Sourcing + licensing live in `MUSCLE-ASSETS.md`.
|
|
41
38
|
*/
|
|
42
39
|
illustrationBaseUrl?: string;
|
|
43
40
|
/** Accessible label override for the chart region. */
|
|
@@ -45,13 +42,13 @@ export interface AnatomySchemeProps {
|
|
|
45
42
|
/** Extra class names on the wrapper. */
|
|
46
43
|
className?: string;
|
|
47
44
|
}
|
|
48
|
-
export interface
|
|
45
|
+
export interface MuscleSchemeHandle {
|
|
49
46
|
/** Programmatically focus a region by id (in the active view). */
|
|
50
47
|
focusRegion: (regionId: string) => void;
|
|
51
48
|
/** Read the current chart state. */
|
|
52
|
-
getChart: () =>
|
|
49
|
+
getChart: () => MuscleChart;
|
|
53
50
|
/** Read the findings recorded on one region (empty array if none). */
|
|
54
|
-
getRegion: (regionId: string) =>
|
|
51
|
+
getRegion: (regionId: string) => MuscleFinding[];
|
|
55
52
|
/** Read the region ids carrying a given finding type. */
|
|
56
53
|
regionsWith: (type: FindingType) => string[];
|
|
57
54
|
/** Add a finding to a region (no-op if already present). */
|
|
@@ -61,9 +58,9 @@ export interface AnatomySchemeHandle {
|
|
|
61
58
|
/** Clear every finding from a region. */
|
|
62
59
|
clearRegion: (regionId: string) => void;
|
|
63
60
|
/** Switch the active view. */
|
|
64
|
-
setView: (viewId:
|
|
61
|
+
setView: (viewId: MuscleViewId) => void;
|
|
65
62
|
/** Read the active view id. */
|
|
66
|
-
getView: () =>
|
|
63
|
+
getView: () => MuscleViewId;
|
|
67
64
|
}
|
|
68
|
-
export declare const
|
|
69
|
-
//# sourceMappingURL=
|
|
65
|
+
export declare const MuscleScheme: import("react").ForwardRefExoticComponent<MuscleSchemeProps & import("react").RefAttributes<MuscleSchemeHandle>>;
|
|
66
|
+
//# sourceMappingURL=muscle-scheme.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface NavGridItem {
|
|
3
|
+
/** Stable, opaque id. Emitted as `data-nav-item-id`; agents target it. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Localised tile label — supplied by the consumer (never bundled here). */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Optional localised supporting text shown under the label. */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Decorative leading glyph. Rendered `aria-hidden`. */
|
|
10
|
+
icon?: ReactNode;
|
|
11
|
+
/** When set, the tile is a navigating anchor (kit Link). */
|
|
12
|
+
href?: string;
|
|
13
|
+
/** When `href` is absent, the tile is a button firing this handler. */
|
|
14
|
+
onSelect?: () => void;
|
|
15
|
+
/** Render the tile non-interactive and visually muted. */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** Agent-readiness curated handle for NavGrid. */
|
|
19
|
+
export interface NavGridHandle {
|
|
20
|
+
getItemCount: () => number;
|
|
21
|
+
/** Activate the tile with the given id (navigate, or fire its onSelect). */
|
|
22
|
+
openItem: (id: string) => void;
|
|
23
|
+
}
|
|
24
|
+
export interface NavGridProps {
|
|
25
|
+
/** Tiles to render. label / description / icon are consumer-supplied props. */
|
|
26
|
+
items: NavGridItem[];
|
|
27
|
+
/** REQUIRED — the nav landmark's accessible name (e.g. "Settings sections"). */
|
|
28
|
+
ariaLabel: string;
|
|
29
|
+
/** Column count. Omit for the responsive default (1 → 2 → 3 at sm / lg). */
|
|
30
|
+
columns?: 1 | 2 | 3 | 4;
|
|
31
|
+
/** `label` sorts tiles by `label.localeCompare`; `none` (default) preserves order. */
|
|
32
|
+
sort?: 'label' | 'none';
|
|
33
|
+
id?: string;
|
|
34
|
+
className?: string;
|
|
35
|
+
}
|
|
36
|
+
declare const tileVariants: (props?: ({
|
|
37
|
+
disabled?: boolean | null | undefined;
|
|
38
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
39
|
+
export declare const NavGrid: import("react").ForwardRefExoticComponent<NavGridProps & import("react").RefAttributes<HTMLElement>>;
|
|
40
|
+
export { tileVariants as navGridTileVariants };
|
|
41
|
+
//# sourceMappingURL=nav-grid.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as i, a as t, b as e, c as o, d as g, e as s, f as u, g as v, n as M } from "../../_chunks/navigation-menu-
|
|
1
|
+
import { N as i, a as t, b as e, c as o, d as g, e as s, f as u, g as v, n as M } from "../../_chunks/navigation-menu-D3VndouD.js";
|
|
2
2
|
import { S as r } from "../../_chunks/skip-link-BaSMtPwB.js";
|
|
3
3
|
export {
|
|
4
4
|
i as NavigationMenu,
|
|
@@ -3,6 +3,31 @@ import type { ClinicalNoteCardProps } from '../clinical-note-card';
|
|
|
3
3
|
import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory } from '../rich-text-editor';
|
|
4
4
|
/** One note in the panel — the data subset of `ClinicalNoteCard`. */
|
|
5
5
|
export type NotesPanelNote = Pick<ClinicalNoteCardProps, 'id' | 'dateIso' | 'createdAtIso' | 'author' | 'clinical' | 'attachedTo' | 'content' | 'contentFormat' | 'pinned' | 'flagged'>;
|
|
6
|
+
/**
|
|
7
|
+
* Curated agent handle for NotesPanel. Reads the note timeline's STRUCTURE
|
|
8
|
+
* (ids + pinned / flagged / clinical flags — never the note body or author,
|
|
9
|
+
* both PHI) and drives the composer + per-note toggles. See
|
|
10
|
+
* `notes-panel.agent.ts`.
|
|
11
|
+
*/
|
|
12
|
+
export interface NotesPanelHandle {
|
|
13
|
+
/** Timeline snapshot — ids + flags only, never note content (PHI). */
|
|
14
|
+
getNotes: () => Array<{
|
|
15
|
+
id?: string;
|
|
16
|
+
pinned: boolean;
|
|
17
|
+
flagged: boolean;
|
|
18
|
+
clinical: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
/** Whether the composer is mounted (onAddNote is wired). */
|
|
21
|
+
canAddNote: () => boolean;
|
|
22
|
+
/** Whether clinical notes may be written (the permission gate). */
|
|
23
|
+
canAddClinical: () => boolean;
|
|
24
|
+
/** Commit a new note with explicit content (mirrors the composer's submit). */
|
|
25
|
+
addNote: (submission: NotesPanelSubmission) => void;
|
|
26
|
+
/** Toggle a note's pinned state (mirrors onTogglePin). */
|
|
27
|
+
togglePin: (id: string) => void;
|
|
28
|
+
/** Toggle a note's flagged state (mirrors onToggleFlag). */
|
|
29
|
+
toggleFlag: (id: string) => void;
|
|
30
|
+
}
|
|
6
31
|
/** Payload handed to `onAddNote` when the composer commits. */
|
|
7
32
|
export interface NotesPanelSubmission {
|
|
8
33
|
/** The note body — rich HTML (`composer='rich'`) or plain text. */
|
|
@@ -11,6 +36,11 @@ export interface NotesPanelSubmission {
|
|
|
11
36
|
clinical: boolean;
|
|
12
37
|
}
|
|
13
38
|
export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'children'> {
|
|
39
|
+
/**
|
|
40
|
+
* Stable instance id. Surfaced on the root as `data-component-id` so an
|
|
41
|
+
* agent / MCP UI bridge can address this specific notes panel.
|
|
42
|
+
*/
|
|
43
|
+
id?: string;
|
|
14
44
|
/** Notes to render, newest-first by convention. Pinned notes lead. */
|
|
15
45
|
notes: NotesPanelNote[];
|
|
16
46
|
/** Commit a new note. Omit to hide the composer (read-only timeline). */
|
|
@@ -27,10 +27,24 @@ export interface NotificationCardProps extends Omit<HTMLAttributes<HTMLDivElemen
|
|
|
27
27
|
* controls (used by dashboards / sidebars).
|
|
28
28
|
*/
|
|
29
29
|
variant?: 'compact' | 'dashboard';
|
|
30
|
+
/**
|
|
31
|
+
* Row chrome for the `compact` variant (ignored for `dashboard`, which
|
|
32
|
+
* always carries its own card border). `'flat'` (default) — chrome-less row
|
|
33
|
+
* for use inside a bordered tray. `'elevated'` — each row carries its own
|
|
34
|
+
* card chrome (border + `--shadow-sm`), matching `AppointmentCard` /
|
|
35
|
+
* `ClinicalNoteCard` for placing rows directly on a rail (e.g. the Inbox).
|
|
36
|
+
*/
|
|
37
|
+
surface?: 'flat' | 'elevated';
|
|
30
38
|
/** Visual density. */
|
|
31
39
|
size?: 'sm' | 'md';
|
|
32
40
|
/** Fires when the card title / body is activated. */
|
|
33
41
|
onActivate?: (item: NotificationItem) => void;
|
|
42
|
+
/**
|
|
43
|
+
* Fires when the read/unread status ball (the corner badge on the category
|
|
44
|
+
* icon) is activated. Supply to make the ball an interactive toggle; omit and
|
|
45
|
+
* it renders as a static read-state indicator.
|
|
46
|
+
*/
|
|
47
|
+
onToggleRead?: (item: NotificationItem) => void;
|
|
34
48
|
/** Fires when the dismiss control is activated. */
|
|
35
49
|
onDismiss?: (item: NotificationItem) => void;
|
|
36
50
|
/**
|
|
@@ -55,6 +69,7 @@ declare const cardVariants: (props?: ({
|
|
|
55
69
|
variant?: "compact" | "dashboard" | null | undefined;
|
|
56
70
|
size?: "sm" | "md" | null | undefined;
|
|
57
71
|
state?: "read" | "unread" | null | undefined;
|
|
72
|
+
surface?: "flat" | "elevated" | null | undefined;
|
|
58
73
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
59
74
|
export declare function isSafeNotificationUrl(url: string): boolean;
|
|
60
75
|
export declare const NotificationCard: import("react").ForwardRefExoticComponent<NotificationCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -18,6 +18,10 @@ export interface NotificationTrayHandle {
|
|
|
18
18
|
selectItem: (id: string) => void;
|
|
19
19
|
markRead: (id: string) => void;
|
|
20
20
|
dismiss: (id: string) => void;
|
|
21
|
+
/** Request the host to mark every notification as read (mirrors onMarkAllRead). */
|
|
22
|
+
markAllRead: () => void;
|
|
23
|
+
/** Navigate to the full notification list (mirrors onViewAll). */
|
|
24
|
+
viewAll: () => void;
|
|
21
25
|
}
|
|
22
26
|
export interface NotificationTrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick' | 'children' | 'role' | 'id'>, VariantProps<typeof notificationTrayVariants> {
|
|
23
27
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { OpticalPrescription } from './optical-prescription';
|
|
2
|
+
export type { OpticalPrescriptionProps, OpticalPrescriptionHandle, } from './optical-prescription';
|
|
3
|
+
export { EYES, DISTANCE_BANDS, PRISM_BASES, LENS_TYPES, AXIS_SYSTEMS, REFRACTION_COLUMNS, DIOPTRE_STEP, AXIS_STEP, AXIS_MIN, AXIS_MAX, SPHERE_MIN, SPHERE_MAX, CYLINDER_MIN, CYLINDER_MAX, ADD_MIN, ADD_MAX, PD_MIN, PD_MAX, PRISM_MIN, PRISM_MAX, formatSigned, formatSphere, formatCylinder, formatAdd, formatAxis, formatPrism, formatRefraction, emptyValue, getRow, setCell, clearBand, bandsInValue, } from './optical-prescription-data';
|
|
4
|
+
export type { Eye, DistanceBand, PrismBase, LensType, AxisSystem, OpticalPrescriptionMode, RefractionRow, OpticalPrescriptionValue, } from './optical-prescription-data';
|
|
5
|
+
export { opticalPrescriptionAgent } from './optical-prescription.agent';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { A as S, a as A, b as r, c as I, d as _, e as t, C as E, f as e, D as M, g as o, E as P, L as N, O as R, P as i, h as D, i as m, j as f, k as n, R as X, S as l, l as p, m as C, n as c, o as d, p as T, q as L, r as O, s as Y, t as g, u, v as x, w as y, x as B, y as b } from "../../_chunks/optical-prescription-Bmlbuopi.js";
|
|
2
|
+
export {
|
|
3
|
+
S as ADD_MAX,
|
|
4
|
+
A as ADD_MIN,
|
|
5
|
+
r as AXIS_MAX,
|
|
6
|
+
I as AXIS_MIN,
|
|
7
|
+
_ as AXIS_STEP,
|
|
8
|
+
t as AXIS_SYSTEMS,
|
|
9
|
+
E as CYLINDER_MAX,
|
|
10
|
+
e as CYLINDER_MIN,
|
|
11
|
+
M as DIOPTRE_STEP,
|
|
12
|
+
o as DISTANCE_BANDS,
|
|
13
|
+
P as EYES,
|
|
14
|
+
N as LENS_TYPES,
|
|
15
|
+
R as OpticalPrescription,
|
|
16
|
+
i as PD_MAX,
|
|
17
|
+
D as PD_MIN,
|
|
18
|
+
m as PRISM_BASES,
|
|
19
|
+
f as PRISM_MAX,
|
|
20
|
+
n as PRISM_MIN,
|
|
21
|
+
X as REFRACTION_COLUMNS,
|
|
22
|
+
l as SPHERE_MAX,
|
|
23
|
+
p as SPHERE_MIN,
|
|
24
|
+
C as bandsInValue,
|
|
25
|
+
c as clearBand,
|
|
26
|
+
d as emptyValue,
|
|
27
|
+
T as formatAdd,
|
|
28
|
+
L as formatAxis,
|
|
29
|
+
O as formatCylinder,
|
|
30
|
+
Y as formatPrism,
|
|
31
|
+
g as formatRefraction,
|
|
32
|
+
u as formatSigned,
|
|
33
|
+
x as formatSphere,
|
|
34
|
+
y as getRow,
|
|
35
|
+
B as opticalPrescriptionAgent,
|
|
36
|
+
b as setCell
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/** International Latin eye abbreviations — `od` = right eye, `os` = left eye. */
|
|
2
|
+
export type Eye = 'od' | 'os';
|
|
3
|
+
/** Distance band — `far` (per lontano), `intermediate`, `near` (per vicino). */
|
|
4
|
+
export type DistanceBand = 'far' | 'intermediate' | 'near';
|
|
5
|
+
/** Prism base direction. */
|
|
6
|
+
export type PrismBase = 'up' | 'down' | 'in' | 'out';
|
|
7
|
+
/** Lens construction. */
|
|
8
|
+
export type LensType = 'single-vision' | 'bifocal' | 'progressive';
|
|
9
|
+
/** Axis notation system — TABO (European) or INT (international). */
|
|
10
|
+
export type AxisSystem = 'tabo' | 'int';
|
|
11
|
+
/** `'interactive'` renders editable inputs; `'display'` is a read-only grid. */
|
|
12
|
+
export type OpticalPrescriptionMode = 'interactive' | 'display';
|
|
13
|
+
/** One eye's refraction at one distance band. All fields optional. */
|
|
14
|
+
export interface RefractionRow {
|
|
15
|
+
/** Spherical power, dioptres (±, 0.25 steps). */
|
|
16
|
+
sphere?: number;
|
|
17
|
+
/** Cylindrical power, dioptres (±, 0.25 steps). */
|
|
18
|
+
cylinder?: number;
|
|
19
|
+
/** Cylinder axis, 0–180°. */
|
|
20
|
+
axis?: number;
|
|
21
|
+
/** Reading addition, dioptres (+, 0.25 steps). */
|
|
22
|
+
add?: number;
|
|
23
|
+
/** Prismatic power, prism dioptres. */
|
|
24
|
+
prism?: number;
|
|
25
|
+
/** Prism base direction. */
|
|
26
|
+
base?: PrismBase;
|
|
27
|
+
}
|
|
28
|
+
/** A full glasses prescription. */
|
|
29
|
+
export interface OpticalPrescriptionValue {
|
|
30
|
+
/** Refraction rows, keyed by band then eye. */
|
|
31
|
+
bands: Partial<Record<DistanceBand, Partial<Record<Eye, RefractionRow>>>>;
|
|
32
|
+
/** Interpupillary distance (DIP / PD), millimetres. */
|
|
33
|
+
pd?: number;
|
|
34
|
+
/** Lens construction. */
|
|
35
|
+
lensType?: LensType;
|
|
36
|
+
/** Axis notation system. */
|
|
37
|
+
axisSystem?: AxisSystem;
|
|
38
|
+
/** Free-text clinical note. PHI — never bundle real notes in stories. */
|
|
39
|
+
notes?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const EYES: readonly Eye[];
|
|
42
|
+
export declare const DISTANCE_BANDS: readonly DistanceBand[];
|
|
43
|
+
export declare const PRISM_BASES: readonly PrismBase[];
|
|
44
|
+
export declare const LENS_TYPES: readonly LensType[];
|
|
45
|
+
export declare const AXIS_SYSTEMS: readonly AxisSystem[];
|
|
46
|
+
/** The dioptric columns, in display order. `base` pairs with `prism`. */
|
|
47
|
+
export declare const REFRACTION_COLUMNS: readonly (keyof RefractionRow)[];
|
|
48
|
+
/** Dioptric step for sphere / cylinder / add. */
|
|
49
|
+
export declare const DIOPTRE_STEP = 0.25;
|
|
50
|
+
/** Sphere range, dioptres. */
|
|
51
|
+
export declare const SPHERE_MIN = -30;
|
|
52
|
+
export declare const SPHERE_MAX = 30;
|
|
53
|
+
/** Cylinder range, dioptres. */
|
|
54
|
+
export declare const CYLINDER_MIN = -12;
|
|
55
|
+
export declare const CYLINDER_MAX = 12;
|
|
56
|
+
/** Reading addition range, dioptres. */
|
|
57
|
+
export declare const ADD_MIN = 0;
|
|
58
|
+
export declare const ADD_MAX = 6;
|
|
59
|
+
/** Axis range, degrees. */
|
|
60
|
+
export declare const AXIS_MIN = 0;
|
|
61
|
+
export declare const AXIS_MAX = 180;
|
|
62
|
+
export declare const AXIS_STEP = 1;
|
|
63
|
+
/** Interpupillary distance range, millimetres. */
|
|
64
|
+
export declare const PD_MIN = 40;
|
|
65
|
+
export declare const PD_MAX = 85;
|
|
66
|
+
/** Prism range, prism dioptres. */
|
|
67
|
+
export declare const PRISM_MIN = 0;
|
|
68
|
+
export declare const PRISM_MAX = 20;
|
|
69
|
+
/**
|
|
70
|
+
* Format a number with an explicit leading sign — `+1.50`, `-2.25`. Zero is
|
|
71
|
+
* rendered unsigned (`0.00`). Used for sphere and cylinder, where optometry
|
|
72
|
+
* convention always shows the sign.
|
|
73
|
+
*/
|
|
74
|
+
export declare function formatSigned(value: number, fractionDigits?: number): string;
|
|
75
|
+
/** Sphere power, explicit sign, 2 dp (`+2.00` / `-1.25`). */
|
|
76
|
+
export declare function formatSphere(value: number): string;
|
|
77
|
+
/** Cylinder power, explicit sign, 2 dp. */
|
|
78
|
+
export declare function formatCylinder(value: number): string;
|
|
79
|
+
/** Reading addition — always positive, 2 dp (`+2.00`). */
|
|
80
|
+
export declare function formatAdd(value: number): string;
|
|
81
|
+
/** Axis, integer degrees with the degree symbol (`90°`). */
|
|
82
|
+
export declare function formatAxis(value: number): string;
|
|
83
|
+
/** Prism, 2 dp (`2.00`). */
|
|
84
|
+
export declare function formatPrism(value: number): string;
|
|
85
|
+
/**
|
|
86
|
+
* Format the numeric value of one refraction column for the read-only grid.
|
|
87
|
+
* `base` is a string enum the component resolves through i18n separately, so it
|
|
88
|
+
* never reaches this numeric formatter; any unhandled field falls through the
|
|
89
|
+
* default branch and is coerced with `String(value)`.
|
|
90
|
+
*/
|
|
91
|
+
export declare function formatRefraction(field: keyof RefractionRow, value: number): string;
|
|
92
|
+
/** An empty prescription. */
|
|
93
|
+
export declare function emptyValue(): OpticalPrescriptionValue;
|
|
94
|
+
/** Read one eye's row at one band (undefined when absent). */
|
|
95
|
+
export declare function getRow(value: OpticalPrescriptionValue, band: DistanceBand, eye: Eye): RefractionRow | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Immutably set (or clear) a single cell. Passing `undefined` / `null` removes
|
|
98
|
+
* the field; emptying a row removes the row, and emptying a band removes the
|
|
99
|
+
* band — so `bandsInValue` and the agent state snapshot stay tight.
|
|
100
|
+
*/
|
|
101
|
+
export declare function setCell<K extends keyof RefractionRow>(value: OpticalPrescriptionValue, band: DistanceBand, eye: Eye, field: K, fieldValue: RefractionRow[K] | undefined): OpticalPrescriptionValue;
|
|
102
|
+
/** Immutably remove every row in a band. */
|
|
103
|
+
export declare function clearBand(value: OpticalPrescriptionValue, band: DistanceBand): OpticalPrescriptionValue;
|
|
104
|
+
/** The distance bands carrying at least one refraction value, in order. */
|
|
105
|
+
export declare function bandsInValue(value: OpticalPrescriptionValue): DistanceBand[];
|
|
106
|
+
//# sourceMappingURL=optical-prescription-data.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentAdapter } from '../../agent/types';
|
|
2
|
+
import type { OpticalPrescriptionHandle } from './optical-prescription';
|
|
3
|
+
import type { DistanceBand, Eye, OpticalPrescriptionValue, PrismBase, RefractionRow } from './optical-prescription-data';
|
|
4
|
+
export declare const opticalPrescriptionAgent: AgentAdapter<OpticalPrescriptionHandle>;
|
|
5
|
+
export type { DistanceBand, Eye, OpticalPrescriptionValue, PrismBase, RefractionRow, };
|
|
6
|
+
//# sourceMappingURL=optical-prescription.agent.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type DistanceBand, type Eye, type OpticalPrescriptionMode, type OpticalPrescriptionValue, type PrismBase, type RefractionRow } from './optical-prescription-data';
|
|
2
|
+
export interface OpticalPrescriptionProps {
|
|
3
|
+
/** Opaque instance id — emitted as `data-component-id` for the agent registry. */
|
|
4
|
+
id?: string;
|
|
5
|
+
/** `'interactive'` enables editing; `'display'` is a read-only grid. Default `'interactive'`. */
|
|
6
|
+
mode?: OpticalPrescriptionMode;
|
|
7
|
+
/** Controlled prescription value. */
|
|
8
|
+
value?: OpticalPrescriptionValue;
|
|
9
|
+
/** Uncontrolled initial value. */
|
|
10
|
+
defaultValue?: OpticalPrescriptionValue;
|
|
11
|
+
/** Fired whenever the prescription changes. */
|
|
12
|
+
onChange?: (next: OpticalPrescriptionValue) => void;
|
|
13
|
+
/** Distance bands to render, in order. Default `['far', 'near']`. */
|
|
14
|
+
bands?: DistanceBand[];
|
|
15
|
+
/** Render the prism + base columns. Default `false`. */
|
|
16
|
+
showPrism?: boolean;
|
|
17
|
+
/** Render the metadata strip (PD, lens type, axis system, note). Default `true`. */
|
|
18
|
+
metadata?: boolean;
|
|
19
|
+
/** Vertical rhythm. Default `'comfortable'`. */
|
|
20
|
+
density?: 'comfortable' | 'compact';
|
|
21
|
+
/** Accessible label override for the prescription region. */
|
|
22
|
+
ariaLabel?: string;
|
|
23
|
+
/** Extra class names on the wrapper. */
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface OpticalPrescriptionHandle {
|
|
27
|
+
/** Focus an eye's row (first editable cell in interactive mode), optionally within a band. */
|
|
28
|
+
focusEye: (eye: Eye, band?: DistanceBand) => void;
|
|
29
|
+
/** Read the current prescription value. */
|
|
30
|
+
getValue: () => OpticalPrescriptionValue;
|
|
31
|
+
/** Replace the prescription value. */
|
|
32
|
+
setValue: (next: OpticalPrescriptionValue) => void;
|
|
33
|
+
/** Read one eye's refraction row at a band (undefined when absent). */
|
|
34
|
+
getRow: (band: DistanceBand, eye: Eye) => RefractionRow | undefined;
|
|
35
|
+
/** Set (or clear, with null) a single refraction cell. */
|
|
36
|
+
setCell: (band: DistanceBand, eye: Eye, field: keyof RefractionRow, value: number | PrismBase | null) => void;
|
|
37
|
+
/** Clear every refraction row in a band. */
|
|
38
|
+
clearBand: (band: DistanceBand) => void;
|
|
39
|
+
/** The distance bands carrying at least one value. */
|
|
40
|
+
getBands: () => DistanceBand[];
|
|
41
|
+
}
|
|
42
|
+
export declare const OpticalPrescription: import("react").ForwardRefExoticComponent<OpticalPrescriptionProps & import("react").RefAttributes<OpticalPrescriptionHandle>>;
|
|
43
|
+
//# sourceMappingURL=optical-prescription.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as n, a as s, b as t, c as g, d as o, e as P, f as e, g as p, p as l } from "../../_chunks/pagination-
|
|
1
|
+
import { P as n, a as s, b as t, c as g, d as o, e as P, f as e, g as p, p as l } from "../../_chunks/pagination-EkD5SiCK.js";
|
|
2
2
|
export {
|
|
3
3
|
n as Pagination,
|
|
4
4
|
s as PaginationEllipsis,
|