@alfadocs/ui-kit 0.71.0 → 0.72.1
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-CPbFJ8e8.js → address-fields-COyjgqxA.js} +8 -8
- 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-V4DdOeqv.js → ai-prompt-input-TVI95hJD.js} +4 -4
- package/dist/_chunks/{alert-CHYZ96tR.js → alert-KJbsPYkI.js} +8 -8
- package/dist/_chunks/{alia-sidebar-DvIUzIX9.js → alia-sidebar-BV5lBSFR.js} +279 -223
- 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/{appointment-card-DVaeJNVB.js → appointment-card-Cy4FOkGP.js} +86 -69
- package/dist/_chunks/{appointment-timeline-PJgnrjFb.js → appointment-timeline-BWAPPk8F.js} +4 -4
- package/dist/_chunks/{appointment-tray-B16QPGbm.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-DNDsOLqO.js → audio-recorder-BbjG55dP.js} +9 -9
- package/dist/_chunks/{bishop-score-Cym_TeQY.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-C7do4vaR.js → booking-B62CMY5k.js} +205 -221
- package/dist/_chunks/{breadcrumb-CchdeG7d.js → breadcrumb-agut0PwN.js} +3 -3
- 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-DzPDYgtK.js → care-plan-card-DhXbfGzE.js} +6 -6
- package/dist/_chunks/{care-plan-entry-card-CEnQy7YP.js → care-plan-entry-card-D3YGD6rj.js} +6 -6
- package/dist/_chunks/{care-plan-header-DcXFXWit.js → care-plan-header-DtQxyfOb.js} +4 -4
- 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-DzpcJR-q.js → chat-message-DXjjM8z9.js} +7 -7
- 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-Dkgaak7I.js → city-input-towzBenY.js} +2 -2
- 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-DnqSF0IH.js → combobox-DiMLItyu.js} +3 -3
- package/dist/_chunks/{command-palette-CJzmc5pC.js → command-palette-DQl_SNEv.js} +2 -2
- package/dist/_chunks/{connection-status-CY1HV8Wg.js → connection-status-0HajXMXM.js} +2 -2
- 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-FAQZrGVL.js → control-room-rail-DaGcsdZ6.js} +3 -3
- 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-BwUZQvTa.js → country-select-DYHDLEjG.js} +2 -2
- 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-CGELrkIj.js → editable-currency-cell-renderer-z9fJFw6Z.js} +7 -7
- 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-card-DmrgYSEX.js → entity-card-9_62gY7l.js} +4 -4
- package/dist/_chunks/{entity-summary-CaM1Y-xE.js → entity-summary-DpGziDv5.js} +104 -118
- 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-DruX4mca.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-siUZzfYe.js → field-array-CDzc3hTM.js} +3 -3
- package/dist/_chunks/{field-value-3jMM0uDx.js → field-value-Dj3i52H2.js} +13 -13
- 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-DKzEV5Qi.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-B0TWzR1R.js → iban-input-DXIA8Ln_.js} +3 -3
- package/dist/_chunks/{icon-picker-0B7KhrF1.js → icon-picker-Di6uYDG-.js} +4 -4
- package/dist/_chunks/{image-C6RM5hfF.js → image-B_5MNK0x.js} +3 -3
- package/dist/_chunks/{image-cropper-D9jqJy19.js → image-cropper-CdmWFrMC.js} +2 -2
- 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-De_SLjSq.js → link-cell-renderer-BCppbMec.js} +19 -19
- 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-BGqkywsi.js → marketplace-app-shell-BCYiOvKZ.js} +9 -9
- 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-DsHFFiL1.js → message-card-BZnnffyB.js} +2 -2
- package/dist/_chunks/{message-circle-C23eicgb.js → message-circle-Bepl9JT5.js} +3 -3
- package/dist/_chunks/{message-tray-C0a6CL1_.js → message-tray-cUHOCdU0.js} +3 -3
- 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-WE4S9FIF.js → multi-select-D5QLBJM1.js} +3 -3
- package/dist/_chunks/{anatomy-scheme-CXSk11UJ.js → muscle-scheme-B9MIkuj0.js} +415 -1146
- package/dist/_chunks/{nav-grid-9xphY3FM.js → nav-grid-gRudLsPX.js} +2 -2
- 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-DXiMfuvp.js → notes-panel-CMyjUXD4.js} +68 -64
- package/dist/_chunks/{notification-card-BMqNzCIt.js → notification-card-BHJ07FkH.js} +2 -2
- package/dist/_chunks/{notification-tray-BmUlCx3g.js → notification-tray-Dzm1c3Wy.js} +4 -4
- package/dist/_chunks/{number-input-DxphVG_A.js → number-input-DjWzmlEY.js} +3 -3
- package/dist/_chunks/{operator-hero-BO8TqzX2.js → operator-hero-DVy0RGoD.js} +3 -3
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
- package/dist/_chunks/{pagination-D58kglCr.js → pagination-EkD5SiCK.js} +6 -6
- package/dist/_chunks/{patient-details-DgfTJimE.js → patient-details-pU_E5xM2.js} +106 -87
- package/dist/_chunks/{patient-search-CSWQKOSP.js → patient-search-X9SUZGpy.js} +10 -10
- package/dist/_chunks/{patient-shell-BMwsIKlW.js → patient-shell-oiIRqEAl.js} +7 -7
- package/dist/_chunks/{patient-summary-card-D4NdgYJB.js → patient-summary-card--t3BjTdU.js} +16 -16
- package/dist/_chunks/{patient-table-CERknpd8.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-Blf-MFNY.js → payment-request-card-2ts7ITxd.js} +15 -15
- 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-Bw5oexUt.js → permission-matrix-BIJrGEmz.js} +3 -3
- 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/{postal-code-input-UCOYuRY2.js → postal-code-input-BznBxVxf.js} +3 -3
- package/dist/_chunks/{practice-results-El5Z-oVp.js → practice-results-CSEHTH2V.js} +15 -15
- package/dist/_chunks/{pregnancy-dating-CunHrOpO.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-DtU7KXxm.js → product-hub-panel-CaZqttvm.js} +5 -5
- package/dist/_chunks/{province-select-D_TZvix3.js → province-select-BDywtmL-.js} +2 -2
- 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-TxmC_x1I.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-tWjN2nHX.js → radiograph-panel.agent-D1x33moc.js} +14 -14
- 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-DxkSrgMl.js → reviews-panel-liUj6OPX.js} +5 -5
- package/dist/_chunks/{rich-text-editor-C8tyGjfb.js → rich-text-editor-DUgznqOf.js} +53 -53
- 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/{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-KsyRr8WH.js → select-BmCbJMJS.js} +5 -5
- 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-umkfZjF6.js → sheet-B_X54aZo.js} +2 -2
- package/dist/_chunks/{shield-check-BjCGH_Sr.js → shield-check-DCJALLVh.js} +3 -3
- package/dist/_chunks/{sidebar-QCp9wHNP.js → sidebar-B0OBmJrC.js} +10 -10
- 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-CYZVKKDl.js → tabs-DVQ941Sj.js} +4 -4
- package/dist/_chunks/{tag-BQXwuJq1.js → tag-3wgkwwDB.js} +2 -2
- package/dist/_chunks/{task-card-DCdsI0ZT.js → task-card-BUgK6yZT.js} +9 -9
- package/dist/_chunks/{task-tray-DNVejijD.js → task-tray-DP5A3Qnc.js} +5 -5
- package/dist/_chunks/{tasks-panel-C9odmawT.js → tasks-panel-BuxaYtEF.js} +40 -40
- 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-CFQqTe_n.js → token-insert-menu-Pok4nExI.js} +2 -2
- package/dist/_chunks/{tooth-scheme-DJZtzfeY.js → tooth-scheme-D_rso4uu.js} +4 -4
- 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-CHGHHHdT.js → transcript-panel-BGkEhvHO.js} +3 -3
- 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-CwlZbfdn.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-M8MBBHQm.js → workflow-map-qWsgCldq.js} +146 -146
- 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 +1473 -317
- package/dist/agent-i18n/en.json +107 -15
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-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/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/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/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/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/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- 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/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/index.js +1 -1
- 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/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/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +3 -1
- 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-tray/index.js +1 -1
- 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.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.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/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.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-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/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/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/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/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/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-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +139 -98
- package/dist/i18n/locales/ar.js +141 -107
- package/dist/i18n/locales/de.d.ts +139 -98
- package/dist/i18n/locales/de.js +141 -107
- package/dist/i18n/locales/el.d.ts +139 -98
- package/dist/i18n/locales/el.js +141 -107
- package/dist/i18n/locales/en.d.ts +139 -98
- package/dist/i18n/locales/en.js +141 -107
- package/dist/i18n/locales/es.d.ts +139 -98
- package/dist/i18n/locales/es.js +141 -107
- package/dist/i18n/locales/fr.d.ts +139 -98
- package/dist/i18n/locales/fr.js +141 -107
- package/dist/i18n/locales/hi.d.ts +139 -98
- package/dist/i18n/locales/hi.js +141 -107
- package/dist/i18n/locales/it.d.ts +139 -98
- package/dist/i18n/locales/it.js +141 -107
- package/dist/i18n/locales/ja.d.ts +139 -98
- package/dist/i18n/locales/ja.js +141 -107
- package/dist/i18n/locales/nl.d.ts +139 -98
- package/dist/i18n/locales/nl.js +141 -107
- package/dist/i18n/locales/pl.d.ts +139 -98
- package/dist/i18n/locales/pl.js +141 -107
- package/dist/i18n/locales/pt.d.ts +139 -98
- package/dist/i18n/locales/pt.js +141 -107
- package/dist/i18n/locales/ro.d.ts +139 -98
- package/dist/i18n/locales/ro.js +141 -107
- package/dist/i18n/locales/ru.d.ts +139 -98
- package/dist/i18n/locales/ru.js +141 -107
- package/dist/i18n/locales/sq.d.ts +139 -98
- package/dist/i18n/locales/sq.js +141 -107
- package/dist/i18n/locales/sv.d.ts +139 -98
- package/dist/i18n/locales/sv.js +141 -107
- package/dist/i18n/locales/tr.d.ts +139 -98
- package/dist/i18n/locales/tr.js +141 -107
- package/dist/i18n/locales/zh.d.ts +139 -98
- package/dist/i18n/locales/zh.js +141 -107
- package/dist/index.js +710 -662
- package/dist/locales/ar.json +141 -100
- package/dist/locales/de.json +141 -100
- package/dist/locales/el.json +141 -100
- package/dist/locales/en.json +141 -100
- package/dist/locales/es.json +141 -100
- package/dist/locales/fr.json +141 -100
- package/dist/locales/hi.json +141 -100
- package/dist/locales/it.json +141 -100
- package/dist/locales/ja.json +141 -100
- package/dist/locales/nl.json +141 -100
- package/dist/locales/pl.json +141 -100
- package/dist/locales/pt.json +141 -100
- package/dist/locales/ro.json +141 -100
- package/dist/locales/ru.json +141 -100
- package/dist/locales/sq.json +141 -100
- package/dist/locales/sv.json +141 -100
- package/dist/locales/tr.json +141 -100
- package/dist/locales/zh.json +141 -100
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -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 +7 -1
- package/package.json +13 -5
- package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
- package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
- package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
- package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
- 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,653 @@
|
|
|
1
|
+
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as le, useId as de, useRef as j, useState as pe, useCallback as u, useMemo as Y, useImperativeHandle as me } from "react";
|
|
3
|
+
import { c as ue } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as fe } from "react-i18next";
|
|
5
|
+
import { u as be } from "./registry-DvAUVLHh.js";
|
|
6
|
+
import { N as U } from "./number-input-DjWzmlEY.js";
|
|
7
|
+
import { S as L } from "./select-BmCbJMJS.js";
|
|
8
|
+
import { T as ye } from "./text-area-Bt3p7Pt0.js";
|
|
9
|
+
import { D as p } from "./description-list-CmBVxIF5.js";
|
|
10
|
+
const V = {
|
|
11
|
+
enum: ["od", "os"],
|
|
12
|
+
description: "Eye — `od` (right eye) or `os` (left eye)."
|
|
13
|
+
}, D = {
|
|
14
|
+
enum: ["far", "intermediate", "near"],
|
|
15
|
+
description: "Distance band — `far` (per lontano), `intermediate`, `near` (per vicino)."
|
|
16
|
+
}, he = {
|
|
17
|
+
enum: ["sphere", "cylinder", "axis", "add", "prism", "base"],
|
|
18
|
+
description: "Refraction column — dioptric `sphere` / `cylinder` / `add` (0.25 steps), `axis` (0–180°), `prism`, or `base` (a direction enum)."
|
|
19
|
+
}, ge = {
|
|
20
|
+
type: "object",
|
|
21
|
+
properties: {
|
|
22
|
+
sphere: { type: "number" },
|
|
23
|
+
cylinder: { type: "number" },
|
|
24
|
+
axis: { type: "number", minimum: 0, maximum: 180 },
|
|
25
|
+
add: { type: "number" },
|
|
26
|
+
prism: { type: "number" },
|
|
27
|
+
base: { enum: ["up", "down", "in", "out"] }
|
|
28
|
+
}
|
|
29
|
+
}, ve = {
|
|
30
|
+
type: "object",
|
|
31
|
+
properties: {
|
|
32
|
+
bands: {
|
|
33
|
+
type: "object",
|
|
34
|
+
description: "Refraction rows keyed by band (`far` / `intermediate` / `near`) then eye (`od` / `os`)."
|
|
35
|
+
},
|
|
36
|
+
pd: { type: "number", description: "Interpupillary distance, mm." },
|
|
37
|
+
lensType: { enum: ["single-vision", "bifocal", "progressive"] },
|
|
38
|
+
axisSystem: { enum: ["tabo", "int"] },
|
|
39
|
+
notes: { type: "string", description: "Free-text note — PHI." }
|
|
40
|
+
},
|
|
41
|
+
required: ["bands"]
|
|
42
|
+
}, xe = {
|
|
43
|
+
id: "optical-prescription",
|
|
44
|
+
// pick — focus an eye row (`focus_eye`, transient, not persisted);
|
|
45
|
+
// edit_inline — `set_cell` edits one refraction cell; set_value — `set_value`
|
|
46
|
+
// replaces the whole prescription.
|
|
47
|
+
capabilities: ["pick", "edit_inline", "set_value"],
|
|
48
|
+
state: {
|
|
49
|
+
prescription: {
|
|
50
|
+
// A9: the always-on snapshot carries the refraction numbers + view
|
|
51
|
+
// metadata (PD, lens type, axis system) only — NEVER the free-text
|
|
52
|
+
// clinical note (PHI). The note is fetched deliberately via get_notes
|
|
53
|
+
// (safety: 'phi').
|
|
54
|
+
type: "object",
|
|
55
|
+
descriptionKey: "ui.agent.opticalPrescription.state.prescription",
|
|
56
|
+
description: "Current prescription — refraction rows per band/eye plus PD, lens type and axis system. The free-text note is PHI and omitted; read it via get_notes.",
|
|
57
|
+
read: (t) => {
|
|
58
|
+
const a = t.getValue();
|
|
59
|
+
return {
|
|
60
|
+
bands: a.bands,
|
|
61
|
+
pd: a.pd,
|
|
62
|
+
lensType: a.lensType,
|
|
63
|
+
axisSystem: a.axisSystem
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
bands: {
|
|
68
|
+
type: "string[]",
|
|
69
|
+
descriptionKey: "ui.agent.opticalPrescription.state.bands",
|
|
70
|
+
description: "Distance bands carrying at least one refraction value (far / intermediate / near).",
|
|
71
|
+
read: (t) => t.getBands()
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
actions: {
|
|
75
|
+
focus_eye: {
|
|
76
|
+
safety: "read",
|
|
77
|
+
argsType: "{ eye: Eye; band?: DistanceBand }",
|
|
78
|
+
argsSchema: {
|
|
79
|
+
type: "object",
|
|
80
|
+
properties: { eye: V, band: D },
|
|
81
|
+
required: ["eye"]
|
|
82
|
+
},
|
|
83
|
+
idempotent: !0,
|
|
84
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.focusEye",
|
|
85
|
+
description: "Move focus to an eye's row (first editable cell in interactive mode), optionally within a specific band.",
|
|
86
|
+
invoke: (t, a) => {
|
|
87
|
+
t.focusEye(a.eye, a.band);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
get_row: {
|
|
91
|
+
safety: "read",
|
|
92
|
+
argsType: "{ band: DistanceBand; eye: Eye }",
|
|
93
|
+
argsSchema: {
|
|
94
|
+
type: "object",
|
|
95
|
+
properties: { band: D, eye: V },
|
|
96
|
+
required: ["band", "eye"]
|
|
97
|
+
},
|
|
98
|
+
returns: "RefractionRow | undefined",
|
|
99
|
+
returnsSchema: ge,
|
|
100
|
+
idempotent: !0,
|
|
101
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.getRow",
|
|
102
|
+
description: "Read one eye's refraction row at a distance band.",
|
|
103
|
+
invoke: (t, a) => t.getRow(a.band, a.eye)
|
|
104
|
+
},
|
|
105
|
+
get_notes: {
|
|
106
|
+
// phi (not read): resolves the free-text clinical note, which is PHI.
|
|
107
|
+
// PRS §26 — phi outranks read so the host gates it behind stricter
|
|
108
|
+
// confirm + audit. The always-on state.prescription snapshot stays
|
|
109
|
+
// note-free.
|
|
110
|
+
safety: "phi",
|
|
111
|
+
returns: "string",
|
|
112
|
+
returnsSchema: { type: "string" },
|
|
113
|
+
idempotent: !0,
|
|
114
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.getNotes",
|
|
115
|
+
description: "Read the free-text clinical note on the prescription.",
|
|
116
|
+
invoke: (t) => t.getValue().notes ?? ""
|
|
117
|
+
},
|
|
118
|
+
set_cell: {
|
|
119
|
+
safety: "write",
|
|
120
|
+
argsType: "{ band: DistanceBand; eye: Eye; field: keyof RefractionRow; value: number | PrismBase | null }",
|
|
121
|
+
argsSchema: {
|
|
122
|
+
type: "object",
|
|
123
|
+
properties: {
|
|
124
|
+
band: D,
|
|
125
|
+
eye: V,
|
|
126
|
+
field: he,
|
|
127
|
+
value: {
|
|
128
|
+
description: "New cell value — a number for the dioptric/axis/prism columns, a base-direction string for `base`, or null to clear."
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
required: ["band", "eye", "field", "value"]
|
|
132
|
+
},
|
|
133
|
+
idempotent: !0,
|
|
134
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.setCell",
|
|
135
|
+
description: "Set (or clear, with null) a single refraction cell — sphere / cylinder / axis / add / prism / base.",
|
|
136
|
+
invoke: (t, a) => {
|
|
137
|
+
t.setCell(a.band, a.eye, a.field, a.value);
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
set_value: {
|
|
141
|
+
safety: "write",
|
|
142
|
+
argsType: "{ value: OpticalPrescriptionValue }",
|
|
143
|
+
argsSchema: {
|
|
144
|
+
type: "object",
|
|
145
|
+
properties: { value: ve },
|
|
146
|
+
required: ["value"]
|
|
147
|
+
},
|
|
148
|
+
idempotent: !0,
|
|
149
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.setValue",
|
|
150
|
+
description: "Replace the entire prescription value.",
|
|
151
|
+
invoke: (t, a) => {
|
|
152
|
+
t.setValue(a.value);
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
clear_band: {
|
|
156
|
+
safety: "destructive",
|
|
157
|
+
argsType: "{ band: DistanceBand }",
|
|
158
|
+
argsSchema: {
|
|
159
|
+
type: "object",
|
|
160
|
+
properties: { band: D },
|
|
161
|
+
required: ["band"]
|
|
162
|
+
},
|
|
163
|
+
idempotent: !0,
|
|
164
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.clearBand",
|
|
165
|
+
description: "Clear every refraction row in a distance band.",
|
|
166
|
+
invoke: (t, a) => {
|
|
167
|
+
t.clearBand(a.band);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
domHooks: {
|
|
172
|
+
root: { attr: "data-component", value: "optical-prescription" },
|
|
173
|
+
instanceId: {
|
|
174
|
+
attr: "data-component-id",
|
|
175
|
+
sourceProp: "id",
|
|
176
|
+
description: "Sourced from the id prop."
|
|
177
|
+
},
|
|
178
|
+
item: {
|
|
179
|
+
attr: "data-eye",
|
|
180
|
+
description: "Each refraction row carries its eye (`od` / `os`) as `data-eye` and its distance band as `data-band`; each editable cell carries the column key as `data-field`. The root `data-mode` attribute exposes interactive vs display."
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}, G = ["od", "os"], Pe = [
|
|
184
|
+
"far",
|
|
185
|
+
"intermediate",
|
|
186
|
+
"near"
|
|
187
|
+
], Se = ["up", "down", "in", "out"], Ne = [
|
|
188
|
+
"single-vision",
|
|
189
|
+
"bifocal",
|
|
190
|
+
"progressive"
|
|
191
|
+
], we = ["tabo", "int"], nt = [
|
|
192
|
+
"sphere",
|
|
193
|
+
"cylinder",
|
|
194
|
+
"axis",
|
|
195
|
+
"add",
|
|
196
|
+
"prism",
|
|
197
|
+
"base"
|
|
198
|
+
], C = 0.25, Re = -30, Ee = 30, _e = -12, Te = 12, Ae = 0, Ie = 6, J = 0, Q = 180, Me = 1, De = 40, Ce = 85, $e = 0, Be = 20;
|
|
199
|
+
function Z(t, a = 2) {
|
|
200
|
+
const o = Math.abs(t).toFixed(a);
|
|
201
|
+
return t > 0 ? `+${o}` : t < 0 ? `-${o}` : o;
|
|
202
|
+
}
|
|
203
|
+
function ke(t) {
|
|
204
|
+
return Z(t, 2);
|
|
205
|
+
}
|
|
206
|
+
function je(t) {
|
|
207
|
+
return Z(t, 2);
|
|
208
|
+
}
|
|
209
|
+
function Le(t) {
|
|
210
|
+
return `+${Math.abs(t).toFixed(2)}`;
|
|
211
|
+
}
|
|
212
|
+
function Ve(t) {
|
|
213
|
+
return `${Math.min(Q, Math.max(J, Math.round(t)))}°`;
|
|
214
|
+
}
|
|
215
|
+
function He(t) {
|
|
216
|
+
return t.toFixed(2);
|
|
217
|
+
}
|
|
218
|
+
function Oe(t, a) {
|
|
219
|
+
switch (t) {
|
|
220
|
+
case "sphere":
|
|
221
|
+
return ke(a);
|
|
222
|
+
case "cylinder":
|
|
223
|
+
return je(a);
|
|
224
|
+
case "add":
|
|
225
|
+
return Le(a);
|
|
226
|
+
case "axis":
|
|
227
|
+
return Ve(a);
|
|
228
|
+
case "prism":
|
|
229
|
+
return He(a);
|
|
230
|
+
default:
|
|
231
|
+
return String(a);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
function qe() {
|
|
235
|
+
return { bands: {} };
|
|
236
|
+
}
|
|
237
|
+
function H(t, a, o) {
|
|
238
|
+
var f;
|
|
239
|
+
return (f = t.bands[a]) == null ? void 0 : f[o];
|
|
240
|
+
}
|
|
241
|
+
function ze(t, a, o, f, m) {
|
|
242
|
+
const x = { ...t.bands }, h = { ...x[a] ?? {} }, g = { ...h[o] ?? {} };
|
|
243
|
+
return m == null ? delete g[f] : g[f] = m, Object.keys(g).length === 0 ? delete h[o] : h[o] = g, Object.keys(h).length === 0 ? delete x[a] : x[a] = h, { ...t, bands: x };
|
|
244
|
+
}
|
|
245
|
+
function Xe(t, a) {
|
|
246
|
+
if (!t.bands[a]) return t;
|
|
247
|
+
const o = { ...t.bands };
|
|
248
|
+
return delete o[a], { ...t, bands: o };
|
|
249
|
+
}
|
|
250
|
+
function Ke(t) {
|
|
251
|
+
return Pe.filter((a) => {
|
|
252
|
+
const o = t.bands[a];
|
|
253
|
+
return o ? G.some((f) => {
|
|
254
|
+
const m = o[f];
|
|
255
|
+
return m !== void 0 && Object.keys(m).length > 0;
|
|
256
|
+
}) : !1;
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
const Fe = ue("ds:flex ds:flex-col", {
|
|
260
|
+
variants: {
|
|
261
|
+
density: {
|
|
262
|
+
comfortable: "ds:gap-4",
|
|
263
|
+
compact: "ds:gap-2"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
defaultVariants: { density: "comfortable" }
|
|
267
|
+
}), W = {
|
|
268
|
+
4: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(4,minmax(0,1fr))]",
|
|
269
|
+
5: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(5,minmax(0,1fr))]",
|
|
270
|
+
6: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(6,minmax(0,1fr))]"
|
|
271
|
+
}, P = "ds:text-[length:var(--font-size-xs)] ds:font-[var(--font-weight-medium)] ds:text-[var(--muted-foreground)]", Ye = "ds:text-end ds:tabular-nums ds:text-[length:var(--font-size-sm)] ds:text-[var(--foreground)]", Ue = le(
|
|
272
|
+
({
|
|
273
|
+
id: t,
|
|
274
|
+
mode: a = "interactive",
|
|
275
|
+
value: o,
|
|
276
|
+
defaultValue: f,
|
|
277
|
+
onChange: m,
|
|
278
|
+
bands: x = ["far", "near"],
|
|
279
|
+
showPrism: h = !1,
|
|
280
|
+
metadata: g = !0,
|
|
281
|
+
density: ee = "comfortable",
|
|
282
|
+
ariaLabel: te,
|
|
283
|
+
className: ae
|
|
284
|
+
}, se) => {
|
|
285
|
+
const { t: s } = fe(), ie = de(), E = t ?? ie, O = j(null), _ = a === "interactive", $ = o !== void 0, [re, ne] = pe(
|
|
286
|
+
f ?? qe()
|
|
287
|
+
), T = $ ? o : re, b = j(T);
|
|
288
|
+
b.current = T;
|
|
289
|
+
const v = u(
|
|
290
|
+
(e) => {
|
|
291
|
+
$ || ne(e), m == null || m(e);
|
|
292
|
+
},
|
|
293
|
+
[$, m]
|
|
294
|
+
), S = u(
|
|
295
|
+
(e, l, i, n) => {
|
|
296
|
+
v(ze(b.current, e, l, i, n ?? void 0));
|
|
297
|
+
},
|
|
298
|
+
[v]
|
|
299
|
+
), N = u(
|
|
300
|
+
(e) => {
|
|
301
|
+
v({ ...b.current, ...e });
|
|
302
|
+
},
|
|
303
|
+
[v]
|
|
304
|
+
), B = x, q = j(B);
|
|
305
|
+
q.current = B;
|
|
306
|
+
const A = Y(
|
|
307
|
+
() => h ? ["sphere", "cylinder", "axis", "add", "prism", "base"] : ["sphere", "cylinder", "axis", "add"],
|
|
308
|
+
[h]
|
|
309
|
+
), z = u((e, l) => {
|
|
310
|
+
const i = O.current;
|
|
311
|
+
if (!i) return;
|
|
312
|
+
const n = l ?? q.current[0];
|
|
313
|
+
if (!n) return;
|
|
314
|
+
const c = i.querySelector(
|
|
315
|
+
`[data-band="${n}"][data-eye="${e}"]`
|
|
316
|
+
);
|
|
317
|
+
if (!c) return;
|
|
318
|
+
(c.querySelector(
|
|
319
|
+
'input, textarea, button:not([tabindex="-1"])'
|
|
320
|
+
) ?? c.querySelector("[tabindex]") ?? c).focus();
|
|
321
|
+
}, []), k = Y(
|
|
322
|
+
() => ({
|
|
323
|
+
focusEye: z,
|
|
324
|
+
getValue: () => b.current,
|
|
325
|
+
setValue: (e) => v(e),
|
|
326
|
+
getRow: (e, l) => H(b.current, e, l),
|
|
327
|
+
setCell: S,
|
|
328
|
+
clearBand: (e) => v(Xe(b.current, e)),
|
|
329
|
+
getBands: () => Ke(b.current)
|
|
330
|
+
}),
|
|
331
|
+
[z, v, S]
|
|
332
|
+
);
|
|
333
|
+
me(se, () => k, [k]), be(xe, k, E);
|
|
334
|
+
const I = u(
|
|
335
|
+
(e) => s(`opticalPrescription.eye.${e}Name`),
|
|
336
|
+
[s]
|
|
337
|
+
), M = u(
|
|
338
|
+
(e) => s(`opticalPrescription.column.${e}`),
|
|
339
|
+
[s]
|
|
340
|
+
), w = u(
|
|
341
|
+
(e) => s(`opticalPrescription.band.${e}`),
|
|
342
|
+
[s]
|
|
343
|
+
), X = u(
|
|
344
|
+
(e, l, i) => {
|
|
345
|
+
const n = H(b.current, e, l), c = n == null ? void 0 : n[i], y = s("opticalPrescription.cellLabel", {
|
|
346
|
+
eye: I(l),
|
|
347
|
+
column: M(i),
|
|
348
|
+
band: w(e)
|
|
349
|
+
});
|
|
350
|
+
return i === "base" ? /* @__PURE__ */ r("div", { role: "cell", "data-field": i, className: "ds:min-w-0", children: /* @__PURE__ */ r(
|
|
351
|
+
L,
|
|
352
|
+
{
|
|
353
|
+
size: "md",
|
|
354
|
+
clearable: !0,
|
|
355
|
+
"aria-label": y,
|
|
356
|
+
value: typeof c == "string" ? c : "",
|
|
357
|
+
options: Se.map((R) => ({
|
|
358
|
+
value: R,
|
|
359
|
+
label: s(`opticalPrescription.base.${R}`)
|
|
360
|
+
})),
|
|
361
|
+
onValueChange: (R) => S(e, l, "base", R === "" ? null : R)
|
|
362
|
+
}
|
|
363
|
+
) }) : /* @__PURE__ */ r("div", { role: "cell", "data-field": i, className: "ds:min-w-0", children: /* @__PURE__ */ r(
|
|
364
|
+
U,
|
|
365
|
+
{
|
|
366
|
+
size: "md",
|
|
367
|
+
"aria-label": y,
|
|
368
|
+
value: typeof c == "number" ? c : null,
|
|
369
|
+
...i === "axis" ? {
|
|
370
|
+
mode: "integer",
|
|
371
|
+
step: Me,
|
|
372
|
+
min: J,
|
|
373
|
+
max: Q
|
|
374
|
+
} : i === "add" ? {
|
|
375
|
+
mode: "decimal",
|
|
376
|
+
step: C,
|
|
377
|
+
min: Ae,
|
|
378
|
+
max: Ie
|
|
379
|
+
} : i === "prism" ? {
|
|
380
|
+
mode: "decimal",
|
|
381
|
+
step: C,
|
|
382
|
+
min: $e,
|
|
383
|
+
max: Be
|
|
384
|
+
} : i === "cylinder" ? {
|
|
385
|
+
mode: "decimal",
|
|
386
|
+
step: C,
|
|
387
|
+
min: _e,
|
|
388
|
+
max: Te
|
|
389
|
+
} : {
|
|
390
|
+
mode: "decimal",
|
|
391
|
+
step: C,
|
|
392
|
+
min: Re,
|
|
393
|
+
max: Ee
|
|
394
|
+
},
|
|
395
|
+
onChange: (F) => S(e, l, i, F)
|
|
396
|
+
}
|
|
397
|
+
) });
|
|
398
|
+
},
|
|
399
|
+
[s, I, M, w, S]
|
|
400
|
+
), K = u(
|
|
401
|
+
(e, l, i) => {
|
|
402
|
+
const n = H(b.current, e, l), c = n == null ? void 0 : n[i];
|
|
403
|
+
let y;
|
|
404
|
+
return c === void 0 ? y = s("opticalPrescription.empty") : i === "base" && typeof c == "string" ? y = s(`opticalPrescription.base.${c}`) : typeof c == "number" ? y = Oe(i, c) : y = s("opticalPrescription.empty"), /* @__PURE__ */ r("span", { role: "cell", "data-field": i, className: Ye, children: y });
|
|
405
|
+
},
|
|
406
|
+
[s]
|
|
407
|
+
), oe = u(
|
|
408
|
+
(e) => {
|
|
409
|
+
const l = `${E}-band-${e}`, i = W[A.length + 1] ?? W[4];
|
|
410
|
+
return /* @__PURE__ */ d(
|
|
411
|
+
"section",
|
|
412
|
+
{
|
|
413
|
+
className: "ds:flex ds:flex-col ds:gap-1",
|
|
414
|
+
"aria-labelledby": l,
|
|
415
|
+
children: [
|
|
416
|
+
/* @__PURE__ */ r(
|
|
417
|
+
"p",
|
|
418
|
+
{
|
|
419
|
+
id: l,
|
|
420
|
+
className: "ds:m-0 ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]",
|
|
421
|
+
children: w(e)
|
|
422
|
+
}
|
|
423
|
+
),
|
|
424
|
+
/* @__PURE__ */ d(
|
|
425
|
+
"div",
|
|
426
|
+
{
|
|
427
|
+
role: "table",
|
|
428
|
+
"aria-label": w(e),
|
|
429
|
+
className: `ds:grid ds:items-center ds:gap-x-2 ds:gap-y-1 ${i}`,
|
|
430
|
+
children: [
|
|
431
|
+
/* @__PURE__ */ d("div", { role: "row", className: "ds:contents", children: [
|
|
432
|
+
/* @__PURE__ */ r(
|
|
433
|
+
"span",
|
|
434
|
+
{
|
|
435
|
+
role: "columnheader",
|
|
436
|
+
className: `${P} ds:text-start`,
|
|
437
|
+
children: s("opticalPrescription.column.eye")
|
|
438
|
+
}
|
|
439
|
+
),
|
|
440
|
+
A.map((n) => /* @__PURE__ */ r(
|
|
441
|
+
"span",
|
|
442
|
+
{
|
|
443
|
+
role: "columnheader",
|
|
444
|
+
className: `${P} ds:text-end`,
|
|
445
|
+
children: M(n)
|
|
446
|
+
},
|
|
447
|
+
n
|
|
448
|
+
))
|
|
449
|
+
] }),
|
|
450
|
+
G.map((n) => /* @__PURE__ */ d(
|
|
451
|
+
"div",
|
|
452
|
+
{
|
|
453
|
+
role: "row",
|
|
454
|
+
"data-eye": n,
|
|
455
|
+
"data-band": e,
|
|
456
|
+
className: "ds:contents",
|
|
457
|
+
children: [
|
|
458
|
+
/* @__PURE__ */ r(
|
|
459
|
+
"span",
|
|
460
|
+
{
|
|
461
|
+
role: "rowheader",
|
|
462
|
+
tabIndex: -1,
|
|
463
|
+
"aria-label": I(n),
|
|
464
|
+
className: "ds:text-start ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:tabular-nums ds:text-[var(--foreground)] ds:outline-none ds:rounded-[var(--radius-sm)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
465
|
+
children: s(`opticalPrescription.eye.${n}`)
|
|
466
|
+
}
|
|
467
|
+
),
|
|
468
|
+
A.map(
|
|
469
|
+
(c) => _ ? X(e, n, c) : K(e, n, c)
|
|
470
|
+
)
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
n
|
|
474
|
+
))
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
)
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
e
|
|
481
|
+
);
|
|
482
|
+
},
|
|
483
|
+
[
|
|
484
|
+
E,
|
|
485
|
+
A,
|
|
486
|
+
_,
|
|
487
|
+
w,
|
|
488
|
+
M,
|
|
489
|
+
I,
|
|
490
|
+
X,
|
|
491
|
+
K,
|
|
492
|
+
s
|
|
493
|
+
]
|
|
494
|
+
), ce = u(() => {
|
|
495
|
+
if (!g) return null;
|
|
496
|
+
const e = T;
|
|
497
|
+
return _ ? /* @__PURE__ */ d(
|
|
498
|
+
"div",
|
|
499
|
+
{
|
|
500
|
+
role: "group",
|
|
501
|
+
"aria-label": s("opticalPrescription.metaLabel"),
|
|
502
|
+
className: "ds:grid ds:gap-3 ds:grid-cols-[repeat(auto-fit,minmax(8rem,1fr))]",
|
|
503
|
+
children: [
|
|
504
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
505
|
+
/* @__PURE__ */ r("span", { className: P, children: s("opticalPrescription.pd.label") }),
|
|
506
|
+
/* @__PURE__ */ r(
|
|
507
|
+
U,
|
|
508
|
+
{
|
|
509
|
+
size: "md",
|
|
510
|
+
mode: "decimal",
|
|
511
|
+
step: 0.5,
|
|
512
|
+
min: De,
|
|
513
|
+
max: Ce,
|
|
514
|
+
"aria-label": s("opticalPrescription.pd.full"),
|
|
515
|
+
value: e.pd ?? null,
|
|
516
|
+
onChange: (i) => N({ pd: i ?? void 0 })
|
|
517
|
+
}
|
|
518
|
+
)
|
|
519
|
+
] }),
|
|
520
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
521
|
+
/* @__PURE__ */ r("span", { className: P, children: s("opticalPrescription.lensType.label") }),
|
|
522
|
+
/* @__PURE__ */ r(
|
|
523
|
+
L,
|
|
524
|
+
{
|
|
525
|
+
size: "md",
|
|
526
|
+
clearable: !0,
|
|
527
|
+
"aria-label": s("opticalPrescription.lensType.label"),
|
|
528
|
+
value: e.lensType ?? "",
|
|
529
|
+
options: Ne.map((i) => ({
|
|
530
|
+
value: i,
|
|
531
|
+
label: s(`opticalPrescription.lensType.${i}`)
|
|
532
|
+
})),
|
|
533
|
+
onValueChange: (i) => N({ lensType: i === "" ? void 0 : i })
|
|
534
|
+
}
|
|
535
|
+
)
|
|
536
|
+
] }),
|
|
537
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
538
|
+
/* @__PURE__ */ r("span", { className: P, children: s("opticalPrescription.axisSystem.label") }),
|
|
539
|
+
/* @__PURE__ */ r(
|
|
540
|
+
L,
|
|
541
|
+
{
|
|
542
|
+
size: "md",
|
|
543
|
+
clearable: !0,
|
|
544
|
+
"aria-label": s("opticalPrescription.axisSystem.label"),
|
|
545
|
+
value: e.axisSystem ?? "",
|
|
546
|
+
options: we.map((i) => ({
|
|
547
|
+
value: i,
|
|
548
|
+
label: s(`opticalPrescription.axisSystem.${i}`)
|
|
549
|
+
})),
|
|
550
|
+
onValueChange: (i) => N({ axisSystem: i === "" ? void 0 : i })
|
|
551
|
+
}
|
|
552
|
+
)
|
|
553
|
+
] }),
|
|
554
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1 ds:[grid-column:1/-1]", children: [
|
|
555
|
+
/* @__PURE__ */ r("span", { className: P, children: s("opticalPrescription.notes.label") }),
|
|
556
|
+
/* @__PURE__ */ r(
|
|
557
|
+
ye,
|
|
558
|
+
{
|
|
559
|
+
size: "md",
|
|
560
|
+
minRows: 2,
|
|
561
|
+
"aria-label": s("opticalPrescription.notes.label"),
|
|
562
|
+
placeholder: s("opticalPrescription.notes.placeholder"),
|
|
563
|
+
value: e.notes ?? "",
|
|
564
|
+
onChange: (i) => N({ notes: i.target.value || void 0 })
|
|
565
|
+
}
|
|
566
|
+
)
|
|
567
|
+
] })
|
|
568
|
+
]
|
|
569
|
+
}
|
|
570
|
+
) : e.pd !== void 0 || e.lensType !== void 0 || e.axisSystem !== void 0 || e.notes !== void 0 && e.notes !== "" ? /* @__PURE__ */ d(
|
|
571
|
+
p,
|
|
572
|
+
{
|
|
573
|
+
layout: "inline",
|
|
574
|
+
labelWidth: "fixed",
|
|
575
|
+
density: "compact",
|
|
576
|
+
"aria-label": s("opticalPrescription.metaLabel"),
|
|
577
|
+
children: [
|
|
578
|
+
e.pd !== void 0 && /* @__PURE__ */ d(p.Row, { children: [
|
|
579
|
+
/* @__PURE__ */ r(p.Term, { children: s("opticalPrescription.pd.label") }),
|
|
580
|
+
/* @__PURE__ */ r(p.Detail, { numeric: !0, children: s("opticalPrescription.pd.value", { value: e.pd }) })
|
|
581
|
+
] }),
|
|
582
|
+
e.lensType !== void 0 && /* @__PURE__ */ d(p.Row, { children: [
|
|
583
|
+
/* @__PURE__ */ r(p.Term, { children: s("opticalPrescription.lensType.label") }),
|
|
584
|
+
/* @__PURE__ */ r(p.Detail, { children: s(`opticalPrescription.lensType.${e.lensType}`) })
|
|
585
|
+
] }),
|
|
586
|
+
e.axisSystem !== void 0 && /* @__PURE__ */ d(p.Row, { children: [
|
|
587
|
+
/* @__PURE__ */ r(p.Term, { children: s("opticalPrescription.axisSystem.label") }),
|
|
588
|
+
/* @__PURE__ */ r(p.Detail, { children: s(`opticalPrescription.axisSystem.${e.axisSystem}`) })
|
|
589
|
+
] }),
|
|
590
|
+
e.notes !== void 0 && e.notes !== "" && /* @__PURE__ */ d(p.Row, { children: [
|
|
591
|
+
/* @__PURE__ */ r(p.Term, { children: s("opticalPrescription.notes.label") }),
|
|
592
|
+
/* @__PURE__ */ r(p.Detail, { children: e.notes })
|
|
593
|
+
] })
|
|
594
|
+
]
|
|
595
|
+
}
|
|
596
|
+
) : null;
|
|
597
|
+
}, [g, T, _, s, N]);
|
|
598
|
+
return /* @__PURE__ */ d(
|
|
599
|
+
"div",
|
|
600
|
+
{
|
|
601
|
+
ref: O,
|
|
602
|
+
"data-component": "optical-prescription",
|
|
603
|
+
"data-component-id": E,
|
|
604
|
+
"data-mode": a,
|
|
605
|
+
role: "group",
|
|
606
|
+
"aria-label": te ?? s("opticalPrescription.ariaLabel"),
|
|
607
|
+
className: Fe({ density: ee, className: ae }),
|
|
608
|
+
children: [
|
|
609
|
+
B.map((e) => oe(e)),
|
|
610
|
+
ce()
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
);
|
|
614
|
+
}
|
|
615
|
+
);
|
|
616
|
+
Ue.displayName = "OpticalPrescription";
|
|
617
|
+
export {
|
|
618
|
+
Ie as A,
|
|
619
|
+
Te as C,
|
|
620
|
+
C as D,
|
|
621
|
+
G as E,
|
|
622
|
+
Ne as L,
|
|
623
|
+
Ue as O,
|
|
624
|
+
Ce as P,
|
|
625
|
+
nt as R,
|
|
626
|
+
Ee as S,
|
|
627
|
+
Ae as a,
|
|
628
|
+
Q as b,
|
|
629
|
+
J as c,
|
|
630
|
+
Me as d,
|
|
631
|
+
we as e,
|
|
632
|
+
_e as f,
|
|
633
|
+
Pe as g,
|
|
634
|
+
De as h,
|
|
635
|
+
Se as i,
|
|
636
|
+
Be as j,
|
|
637
|
+
$e as k,
|
|
638
|
+
Re as l,
|
|
639
|
+
Ke as m,
|
|
640
|
+
Xe as n,
|
|
641
|
+
qe as o,
|
|
642
|
+
Le as p,
|
|
643
|
+
Ve as q,
|
|
644
|
+
je as r,
|
|
645
|
+
He as s,
|
|
646
|
+
Oe as t,
|
|
647
|
+
Z as u,
|
|
648
|
+
ke as v,
|
|
649
|
+
H as w,
|
|
650
|
+
xe as x,
|
|
651
|
+
ze as y
|
|
652
|
+
};
|
|
653
|
+
//# sourceMappingURL=optical-prescription-Bmlbuopi.js.map
|
|
@@ -5,11 +5,11 @@ import { u as ee } from "./registry-DvAUVLHh.js";
|
|
|
5
5
|
import * as p from "@radix-ui/react-select";
|
|
6
6
|
import { c as ae } from "./index-D2ZczOXr.js";
|
|
7
7
|
import { useTranslation as b } from "react-i18next";
|
|
8
|
-
import { E as se } from "./ellipsis-
|
|
9
|
-
import { C as _ } from "./chevron-right-
|
|
10
|
-
import { C as ie } from "./chevron-left-
|
|
11
|
-
import { C as te, a as ne } from "./chevrons-right-
|
|
12
|
-
import { C as re } from "./check-
|
|
8
|
+
import { E as se } from "./ellipsis-dRo9ouSU.js";
|
|
9
|
+
import { C as _ } from "./chevron-right-I9AeSxH2.js";
|
|
10
|
+
import { C as ie } from "./chevron-left-B8cOyH-V.js";
|
|
11
|
+
import { C as te, a as ne } from "./chevrons-right-DIHg7Xqi.js";
|
|
12
|
+
import { C as re } from "./check-DrFSN__t.js";
|
|
13
13
|
const oe = {
|
|
14
14
|
id: "pagination",
|
|
15
15
|
capabilities: ["paginate", "range_navigate"],
|
|
@@ -483,4 +483,4 @@ export {
|
|
|
483
483
|
le as g,
|
|
484
484
|
oe as p
|
|
485
485
|
};
|
|
486
|
-
//# sourceMappingURL=pagination-
|
|
486
|
+
//# sourceMappingURL=pagination-EkD5SiCK.js.map
|